@univerjs-pro/collaboration-client-ui 1.0.1 → 1.0.2

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 +18 -18
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x861d(_0x176772,_0x3f1c77){_0x176772=_0x176772-0x88;const _0x1b2345=_0x1b23();let _0x861d83=_0x1b2345[_0x176772];return _0x861d83;}function _0x1b23(){const _0x48a3de=['univer-border-none\x20univer-bg-transparent','mutations','_blockProgressWatches','canRenderSelection','_bindAdapter','collaboration-client-ui.collaboration.closeRoom','strokeOpacity','history','amd','RefRangeService','on-line-icon_clip0_910_349','getCoordByCell','pipe','bold\x2013px\x20Arial,\x20sans-serif','HEADER_MENU','_timeoutState$','i18nKey','memberID','currentColor','Workbook','off-line-icon_clip0_910_343','_handleHover','_render','CollaborationEvent','_config','polite','toString','WebBrowserSingleActiveUnitService','CONFLICT_CACHE_CLEAR_FAILED','getSheetObject','green.600','onCommandExecuted','_isVisibleUnit','highlight','RegularPolygon','_onRefRangeChange','toFixed','_retryConflictCacheClear','filename','getTypeOfUnitAdded$','UniverDocsPlugin','/run/','registerRenderModule','string','getPropertyPriority','_docTransformIMECacheService','getViewport','UNIVER_SHEET','Rectangle','current','_init','DEFAULT_WS_SESSION_TICKET_URL','black','ErrorCode','JOIN_ROOM_FAILED','columnGroupId','_highlightSecond','find','selection','disposeUnit','div','NodePositionConvertToCursor','font','with','timeoutState$','status','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','timer','_drawAnchor','@univerjs-pro/collaboration','@univerjs/engine-render','[LogService\x20Error]:\x20','_revisionService','storage','bind','set','LoadingMultiIcon','max','_disabled','subUnitId','backupOfflineData','generateRandomId','_scheduleClearOtherTimer','CollaborationSessionService','_handleLeaveEvent','function','react/jsx-runtime','_docStateChangeManagerService','mergeOverrideWithDependencies','pointer','_isBlinkVisible','params','_cursorInfo$','_selfUnitIDs','deepClone','isFinite','dispose','_transformHistoryAndStateStack','CollaborationUIEventService','_transformPreviousActiveRange','...','call','imageSourceType','tag','_labelHorizontalPosition','defineProperty','pluginName','white','size','ERROR','_showText','Subject','_docClipboardService','univer-flex\x20univer-items-center\x20univer-justify-center','_id','886390BYXIzI','SetSelectionsOperation','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','handleIRemoveCol','loadedBlocks','_uiPartsService','content','startRow','runId','_docSelectionManagerService','_send','getAllUnitsForType','_assignedColors','_replaceConflictNotification','decorate','getCurrentSkeleton','univer-inline-flex\x20univer-items-center\x20univer-justify-center','getRenderUnitById','vectorEffect','registerRefRange','87834MdLUqq','_collaborationController','subscribeEvent','_startSheetCollabCursor','use','_notificationService','debounce','_messageService','add','getCurrentUnitOfType','subunit','UniverCore','fromEventSubject','_scene','_initWindowErrorListener','_disposeEntity','focused$','popstate','Vector2','EffectRefRangId','_initEvent','@univerjs/sheets-ui','collaboration-client-ui.conflict.processing','mapTo','#FFF','SessionStatus','_startBlinking','CommandType','_getScale','debug','originalStrokeWidth','getCoordRelativeToViewport','searchParams','DeleteRangeMoveUpCommandId','push','transformIMECache','transformMutation','_showConflictProcessingNotification','viewBox','SetTextSelectionsOperation','getUnitId','_createSocketURL','key','_conflictNotification','m2Prime','getUndoRedoMutationParamsCache','rgb','syncEditingCollabCursor','sheetId','clipPath','_imageIoService','_adapter','combineLatest','BehaviorSubject','collaboration-client-ui.conflict.title','dark:focus:!univer-ring-offset-gray-800','DocSelectionManagerService','_memberID','_removeClearOtherTimer','PENDING','_initResize','_adapterRegistry','measureText','red.300','unsubscribe','M0\x200H16V16H0z','transformStateCache','url(#$1','UniverProCollaborationClient','getColorFromTheme','getCurrentTypeOfUnit$','367292txWjMz','univer-size-4\x20univer-shrink-0\x20univer-text-amber-500','_updateLocalCursor','6RDYGCn','_updateCollabCursors','pushState','OTHER_CLIENTS_EDITING','_startDocCollabCursor','then','snapshot-loading-timeout','univer-m-0\x20univer-p-0','_startEntity','_heartbeatTimer','0\x200\x2016\x2016','_draw','ILogService','UniverProtocol','jiqing.500','static','_themeService','addObjects','min','engine','RemoveRowCommandId','resize','split','purple.300','loadOfflineData','collaboration-client-ui.permission.content','ranges','ITransformService','_httpService','getUnit','0\x200\x2017\x2016','labelPosition','_clearBlockProgressWatch','highlightSecond','CollaborationStatus','setTimeout','_clearTimeoutState','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_entities','useCallback','editingUnit','asObservable','right','UniverProCollaboration','collaboration-client-ui.snapshotLoading.refresh','collab-text-range-','CONFLICT','constructor','icon','_unitOnClients','result','26rDcDVT','handleMoveRange','reconnect','[Unhandled\x20Rejection]:\x20','idSuffix','executeCommand','_clearRemotePresences','_collabCursorController','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_cursors','ticket','OPERATION','some','onRendered','handleDeleteRangeMoveLeft','collaboration-client-ui.collabStatus.fetchMiss','isInternalEditorID','onStarting','unitId','isActive','_docSkeletonManagerService','UniverDesign','FETCH_MISS','state$','getConfig','_lastPointer','DocIMEInputManagerService','defs','attrs','collaboration-client-ui.collabStatus.syncing','non-scaling-stroke','UniverSheetsUi','_toggleOnline','finally','totalBlocks','cursorInfo$','executionId','_stopBlinking','tableId','values','sessionTicket','removeRemotePresence','replaceSelectionInfoWithoutRefresh','Warning','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','disposeWithMe','_uploadLog','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','textRanges','_docSyncEditingCollabCursorService','_document','cursorInfo','runRefRangeMutations','update','loading-multi-icon','offsetY','collab-rect-range-','parse','showText','removeEventListener','_initCommandExecutedListener','blue.400','fillRule','DisposableCollection','Error','Disposable','getSheetId','Failed','throttle','React','RECT','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_initEntityListener','NOT_COLLAB','makeDirty','univer-text-blue-500','_handleCursorUpdate','throttleTime','entries','_colorIndex','AWAITING_WITH_PENDING','evenodd','round','registerDependencies','_setupBeforeClosingHandler','location','_getSessionTicket','updateOfflineData','roomMembers$','removeAttribute','includes','_renderManagerService','@univerjs/protocol','socket$','clearTimeout','hasAttribute','_cursorShapes','clsx','_syncAdapters','enableDocumentCollaborationUI','saveImage','on-line-icon','_sheetSkeletonManagerService','_localStorageService','_sendLocalPresence','code','_monkeyPatchLogService','DocumentSkeletonPageType','undoState','UniverDocs','useObservable','next','selections','localName','setItem','_pointerMoveDisposable','getMergeData','_ensureSubject','useRef','reload','addObject','isTransformMutationsWithChangesetSuccess','_getSheetObject','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','_messageIds','_initPresenceStatusComponents','SetDocZoomRatioOperation','@univerjs/design','operators','rxjs','_getSaveTimeout','dispose$','Unknown\x20user','canRenderAnchor','UPDATE_CURSOR','tooltipKey','translate(.97)','_commandService','setAlpha','collaboration-client-ui.collabStatus.offline','timedOut','type','_scheduleHeartbeat','saveTaskMap','IUIPartsService','getBoundingClientRect','_cachedData','uni.network.url-service','HEADER','name','_snapshotLoadingService','catch','range','USERS_LEAVE',':backup:','handleInsertCol','_eventUnsubscribe','merge','getLocalCacheKey','kind','getValue','ILocalStorageService','appliedStrokeWidth','getDocRanges','touchDependencies','_urlService','takeUntil','replaceState','getActiveRange','_collabCursorState$','univer-h-8\x20univer-w-8\x20univer-rounded-lg','IConfigService','getCollabCursors$','getCollabEntity$','_presenceStatusRegistrations','get','useId','CLOSE_ROOM','override','strokeWidth','_anchorDot','getDocumentSkeletonColumnPagePathInfo','handleInsertRangeMoveDown','assignAColorForMemberID','_session','IMessageService','collabCursorState$','_initDependencies','CollaborationUIEventId','pageType','SheetsSelectionsService','1122877BXtjup','CONFLICT_PROCESSING','trim','UniverNetworkPlugin','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','packageName','_adapterDisposables','_hover','createElement','WebSocketService','isEditing','[Window\x20Error]:\x20','_presenceAdapterRegistry','UnitStatus','warning-icon','[CollaborationDataLoaderController]','getScrollXYInfoByViewport','DesktopCollaborationStatusDisplayController','INotificationService','segmentPage','_drawRectRange','getOwnPropertyDescriptor','NodePositionConvertToRectRange','_context','jsx','SOCKET_FAILED','_collaborationUIEventService','CollaborationController','clear','collaboration-client-ui.collaboration.single-unit.warning','setStateCache','off-line-icon','filter','enableFrontendLog','unload','eventID','Loading','url(#off-line-icon_clip0_910_343)','react','mask','serializeRangeWithSheet','_injector','\x20-\x20','_status$','SnapshotLoadingService','_highlight','statusUIPart','MemberService','stroke-width','transformByState','body','forEach','_initialized','stringify','_syncPresenceStatusComponents','BuiltInUIPart','endRow','_entityInit$','DataLoaderService','1em','AWAITING','_textBubble','getStateCache','_unitStatus','memberId','Inject','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','IUnitPresenceUIAdapterRegistry','data','_retryingConflictCacheUnitIDs','_handleJoinEvent','roomMembers','redoState','addClipboardHook','unitType','startsWith','_updateMessage','_updateURLWithCurrentState','_collabSessionService','FromArray','init','MessageType','InsertRangeMoveRightCommandId','none','labelHorizontalPosition','true','delete','ISnapshotServerService','_pendingEntities','switchMap','yellow.400','complete','disableLocalCache','invokeId','collaboration-client-ui.snapshotLoading.timeout','handleDeleteRangeMoveUp','_getMergeRange','activeSheet$','stage','unitID','colorChannel1','Tools','slice','jsxs','collaboration-client-ui.conflict.clearFailed','_univerInstanceService','WarningIcon','column','join','useLayoutEffect','setConfig','unshift','_localCacheService','_watchBlockProgress','displayName','colorClass','GLOBAL','fill','RemoteUniscriptService','fillText','_transformService','url(#on-line-icon_clip0_910_349)','pulse','VIEW_MAIN','univer-text-orange-500','registerComponent','_initUnhandledRejectionListener','indicator','fromEvent','_colorAssignService','assign',',\x200.2)','_scheduleSaving','DOC_RANGE_TYPE','TEXT','UniverProCollaborationClientUi','triggerDblclick','length','279kWSPlt','48856WzLloL','_docTransformSelectionsService','rgba','unit','_latestStates','univerjs-icon\x20univerjs-icon-','priority','toPrimitive','height','startOffset','SnapshotLoadStage','onMouseMove','MoveRangeCommandId','replace','_shapes','UniverCollaborationClientUIPlugin','element','subscribe','lineno','_range','univer-transition-all\x20univer-duration-200','UniverProLicense','_blinkTimer','_disposed','4146560yQadtL','9334iNNgrs','getMemberID','fillStyle','requireSession','row','refreshLabel','_collaborationSessionService','_setupSubUnitSync','presenceKind','getSkeleton','shareReplay','_updateSubUnitFromURLParams','snapshot-loading-','application/json','sheetID','clearOfflineData','parseInt','IImageIoService','_dataLoaderService','onPointerEnter$','href','FOOTER','_toggleOffline','prototype','TEXT_RANGE_LAYER_INDEX','@univerjs-pro/collaboration-client','collaboration-client-ui.collabStatus.conflict','UNIVER_DOC','UniverSheets','symbol','setProperty','getSheetBySheetId','_handleEvent','_initStatusListener','_memberService','debounceTime','text','@univerjs/docs-ui','UniverEngineFormula','_hideTimer','enableLocalCache','getLocalPresence','defIds','event$','arc','ThemeService','_name','getColor','PERMISSION_DENIED','svg','top','_instanceService','small','_removeRemotePresence','createInstance','_initStatusComponent','_configService','createSocket','Shape','hadStyleAttribute','_registerRenderDependencies','univer-appearance-none','_docTransformStateCacheService','map','setParam','getCurrentRevOfUnit','transformMutationsWithChangeset','preventDefault','isReleased','focusedId','InsertColCommandId','sessionStatus$','getCellIndexByOffset','onPointerLeave$','IUniverInstanceService','rxjs/operators','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','loadUnit','useDependency','getParam','_refreshCollabCursors','from','collaboration-client-ui.collabStatus.notCollab','pageIndex','collaboration-client-ui.permission.title','univer-text-gray-400','toRgbString','_trackActiveSaveTask','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','RevisionService','saveOfflineData','color','_activeSaveTaskMap','rgba(255,\x20255,\x20255,\x200.01)','querySelectorAll','ILocalCacheService','IBeforeCloseService','getPropertyValue','ACTIVE_UNIT_EVENT_CHANNEL','shareInterval','connectInjector','_isDisposed','SYNCED','show','setInterval','http://www.w3.org/2000/svg','distinctUntilChanged','stack','clickable','drawWith','getAncestorScale','registerBeforeClose','_getLighterColor','Injector','Rect','lineTo','has','/universer-api/frontend/logs','@univerjs/core','LOCAL_CACHE_INTERVAL_KEY','_syncEditingCollabCursorService','_onCursorDelete','_showConflictCacheClearFailedNotification','version','_saveTaskMap','clearInterval','currentSkeleton$','collaboration-client-ui.collaboration.offline-data-not-saved','Plugin','COLORS','options','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-gray-0\x20univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-text-gray-900\x20univer-shadow-lg\x20dark:!univer-bg-gray-700\x20dark:!univer-text-gray-0','_registerPresenceStatusComponent','_docSkeleton','collaboration-client-ui.operation.update-remote-unit-presence','UniverInstanceType','_drawTextRange','_disposeEntitiesForType','error','DependentOn','newValue','setShapeProps','OTHER_CLIENT_EDITING','findNodePositionByCharIndex','alert','isArray','_transformUndoRedoStack','_cursor','number','getActiveSheet','onTransformChange$','currentTheme$','getFocusedUnit','_color','SheetSkeletonManagerService','_removeCollabCursors','bottom','_getAnchorBounding','doc.mutation.rich-text-editing','addHandlerCallback','beginPath','_labelPosition','RxDisposable','parseFloat','_hovered','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','search','_blinkIntervalTimer','children','button','style','UniverDocsUIPlugin','ONLINE','isTransformMutationFailure','DeleteRangeMoveLeftCommandId','setUndoRedoMutationParamsCache','_onCursorUpdate','univer-text-green-500','unhandledrejection','spin','restore','path','LOADING_BLOCKS','_offsetY','collaboration-client-ui.collabClient.tooltip.reconnect','DocCollaborationEntity','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','remove','m1Prime','ColorKit','exports','UniverCollaborationPlugin','Tooltip','timeoutId','LocaleService','collaboration-client-ui.session.will-retry','object','_roomMembers$','selectedIds','toDisposable','clearRemotePresences','onPointerMove$','@univerjs/ui','send','xlink:href','forwardRef','@univerjs/docs','IRenderManagerService','width','OFFLINE','_refRangeService','endColumn','registerCommand','transformRemoteChangeset','_backgroundColor','transform','_localeService','_saveCache','ICommandService','stroke','SetWorksheetActivateCommand','localPresence$','_registerDependencies','HTTPService','_beforeCloseService','span','addEventListener','getMember','save','_logService','getRangePointData','NO_OTHER_CLIENTS_EDITING','getUnitStatus$','prepareTransformSelections','_initUserListener','@univerjs/network','source','_anchor','contains','collaboration-client-ui.config','disconnect','_online','getItem','post','urlChange$','_clearOtherTimers'];_0x1b23=function(){return _0x48a3de;};return _0x1b23();}(function(_0x1d663f,_0x3b8b49){const _0x55e493=_0x861d,_0x442873=_0x1d663f();while(!![]){try{const _0x1587ae=-parseInt(_0x55e493(0x11e))/0x1*(parseInt(_0x55e493(0x318))/0x2)+parseInt(_0x55e493(0x29b))/0x3+parseInt(_0x55e493(0x2e2))/0x4+parseInt(_0x55e493(0x287))/0x5+-parseInt(_0x55e493(0x2e5))/0x6*(-parseInt(_0x55e493(0x3d7))/0x7)+-parseInt(_0x55e493(0x105))/0x8*(-parseInt(_0x55e493(0x104))/0x9)+-parseInt(_0x55e493(0x11d))/0xa;if(_0x1587ae===_0x3b8b49)break;else _0x442873['push'](_0x442873['shift']());}catch(_0x588089){_0x442873['push'](_0x442873['shift']());}}}(_0x1b23,0x1b5ed),function(_0x26b389,_0x2efdbf){const _0xff2168=_0x861d;typeof exports==_0xff2168(0x1e2)&&typeof module<'u'?_0x2efdbf(exports,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-pro/collaboration'),require('@univerjs-pro/license'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('@univerjs/sheets-ui'),require('@univerjs/protocol')):typeof define==_0xff2168(0x269)&&define[_0xff2168(0x21c)]?define([_0xff2168(0x1dc),_0xff2168(0x137),_0xff2168(0x194),_0xff2168(0x1e8),_0xff2168(0x399),_0xff2168(0x169),_0xff2168(0x397),_0xff2168(0xa0),_0xff2168(0x26a),_0xff2168(0x259),'@univerjs-pro/license',_0xff2168(0x1ec),_0xff2168(0x143),_0xff2168(0x25a),_0xff2168(0x209),'@univerjs/engine-formula','@univerjs/sheets',_0xff2168(0x2b0),_0xff2168(0x374)],_0x2efdbf):(_0x26b389=typeof globalThis<'u'?globalThis:_0x26b389||self,_0x2efdbf(_0x26b389[_0xff2168(0x101)]={},_0x26b389[_0xff2168(0x2df)],_0x26b389[_0xff2168(0x2a6)],_0x26b389['UniverUi'],_0x26b389['rxjs'],_0x26b389['rxjs'][_0xff2168(0x398)],_0x26b389[_0xff2168(0x32d)],_0x26b389[_0xff2168(0x35d)],_0x26b389[_0xff2168(0x35d)],_0x26b389[_0xff2168(0x310)],_0x26b389[_0xff2168(0x11a)],_0x26b389[_0xff2168(0x385)],_0x26b389['UniverDocsUi'],_0x26b389['UniverEngineRender'],_0x26b389['UniverNetwork'],_0x26b389[_0xff2168(0x144)],_0x26b389[_0xff2168(0x13a)],_0x26b389[_0xff2168(0x337)],_0x26b389[_0xff2168(0x2f2)]));}(this,function(_0x19246e,_0x5c5525,_0x379e5f,_0x191907,_0x29b66c,_0x4f408e,_0x51bea6,_0x3fb6bf,_0x49e2bf,_0x180ca7,_0x4473e0,_0x24609f,_0x12bff4,_0x2a6e7e,_0x1c13d8,_0x5b6fce,_0x1f89be,_0x1bf872,_0x30e7ac){const _0x4a9a20=_0x861d;Object[_0x4a9a20(0x27d)](_0x19246e,Symbol['toStringTag'],{'value':'Module'});function _0x54c884({ref:_0x187a12,..._0xb3059b}){const _0x50fcf3=_0x4a9a20;let {preserveStrokeWidth:_0x4c50d6,icon:_0x1726ba,id:_0x52e916,className:_0x39be28,extend:_0x3a7473,..._0x5b4495}=_0xb3059b,_0x455a00=(_0x50fcf3(0x10a)+_0x52e916+'\x20'+(_0x39be28||''))[_0x50fcf3(0x3d9)](),_0x3832f6='_'+(0x0,_0x3fb6bf[_0x50fcf3(0x3c8)])(),_0x2fe232=(0x0,_0x3fb6bf[_0x50fcf3(0x38e)])(null);return(0x0,_0x3fb6bf['useImperativeHandle'])(_0x187a12,()=>_0x2fe232[_0x50fcf3(0x245)]),(0x0,_0x3fb6bf[_0x50fcf3(0xe7)])(()=>{const _0x1a3628=_0x50fcf3;if(_0x4c50d6&&_0x2fe232[_0x1a3628(0x245)]&&_0x2fe232[_0x1a3628(0x245)][_0x1a3628(0x389)]===_0x1726ba[_0x1a3628(0x27b)])return _0x38c87c(_0x2fe232[_0x1a3628(0x245)]);},[_0x4c50d6,_0x1726ba]),_0x5d732c(_0x1726ba,''+_0x52e916,{'defIds':_0x1726ba[_0x50fcf3(0x148)],'idSuffix':_0x3832f6},{'ref':_0x2fe232,'className':_0x455a00,..._0x5b4495},_0x3a7473);}function _0x5d732c(_0x4aea5b,_0x2be8b6,_0x384d02,_0x47578d,_0x37c977){const _0x244cf0=_0x4a9a20;return(0x0,_0x3fb6bf[_0x244cf0(0x3df)])(_0x4aea5b['tag'],{'key':_0x2be8b6,..._0x291a2a(_0x4aea5b,_0x384d02,_0x37c977),..._0x47578d},(_0x3c039a(_0x4aea5b,_0x384d02)['children']||[])[_0x244cf0(0x15d)]((_0x469d13,_0x1b107e)=>_0x5d732c(_0x469d13,_0x2be8b6+'-'+_0x4aea5b[_0x244cf0(0x27b)]+'-'+_0x1b107e,_0x384d02,void 0x0,_0x37c977)));}function _0x291a2a(_0x29fbc5,_0x28a3de,_0x1e9b37){const _0x944f38=_0x4a9a20;let _0x1cd8fc={..._0x29fbc5[_0x944f38(0x334)]};_0x1e9b37!=null&&_0x1e9b37[_0x944f38(0xde)]&&_0x1cd8fc['fill']===_0x944f38(0xde)&&(_0x1cd8fc['fill']=_0x1e9b37[_0x944f38(0xde)]),_0x1e9b37!=null&&_0x1e9b37['colorChannel1']&&_0x1cd8fc['stroke']==='colorChannel1'&&(_0x1cd8fc[_0x944f38(0x1f9)]=_0x1e9b37['colorChannel1']),_0x29fbc5[_0x944f38(0x27b)]==='mask'&&_0x1cd8fc['id']&&(_0x1cd8fc['id']+=_0x28a3de[_0x944f38(0x31c)]),Object[_0x944f38(0x366)](_0x1cd8fc)[_0x944f38(0xad)](([_0xb2092b,_0x2f3172])=>{const _0x12e229=_0x944f38;_0xb2092b===_0x12e229(0xa1)&&typeof _0x2f3172==_0x12e229(0x23f)&&(_0x1cd8fc[_0xb2092b]=_0x2f3172['replace'](/url\(#(.*)\)/,_0x12e229(0x2de)+_0x28a3de['idSuffix']+')'));});let {defIds:_0x30db79}=_0x28a3de;return!_0x30db79||_0x30db79[_0x944f38(0x103)]===0x0?_0x1cd8fc:(_0x29fbc5[_0x944f38(0x27b)]===_0x944f38(0x29f)&&_0x1cd8fc[_0x944f38(0x1ea)]&&(_0x1cd8fc['xlink:href']+=_0x28a3de[_0x944f38(0x31c)]),Object['entries'](_0x1cd8fc)[_0x944f38(0xad)](([_0x2857cc,_0x5a553d])=>{const _0x5e3628=_0x944f38;typeof _0x5a553d=='string'&&(_0x1cd8fc[_0x2857cc]=_0x5a553d[_0x5e3628(0x112)](/url\(#(.*)\)/,'url(#$1'+_0x28a3de[_0x5e3628(0x31c)]+')'));}),_0x1cd8fc);}function _0x3c039a(_0x9d5e92,_0xe12a73){const _0x42d802=_0x4a9a20;var _0x2df975;let {defIds:_0x5b48fe}=_0xe12a73;return!_0x5b48fe||_0x5b48fe[_0x42d802(0x103)]===0x0?_0x9d5e92:_0x9d5e92['tag']===_0x42d802(0x333)&&(_0x2df975=_0x9d5e92['children'])!=null&&_0x2df975[_0x42d802(0x103)]?{..._0x9d5e92,'children':_0x9d5e92[_0x42d802(0x1c6)][_0x42d802(0x15d)](_0x54c9c4=>typeof _0x54c9c4[_0x42d802(0x334)]['id']=='string'&&_0x5b48fe&&_0x5b48fe[_0x42d802(0x372)](_0x54c9c4[_0x42d802(0x334)]['id'])?{..._0x54c9c4,'attrs':{..._0x54c9c4[_0x42d802(0x334)],'id':_0x54c9c4[_0x42d802(0x334)]['id']+_0xe12a73['idSuffix']}}:_0x54c9c4)}:_0x9d5e92;}function _0x38c87c(_0x198164){const _0x4e0c33=_0x4a9a20;let _0x47f372=_0x198164[_0x4e0c33(0x2c1)]['baseVal'],_0x1ca99f=Math['max'](_0x47f372[_0x4e0c33(0x1ee)],_0x47f372[_0x4e0c33(0x10d)]);if(!Number[_0x4e0c33(0x273)](_0x1ca99f)||_0x1ca99f<=0x0||_0x47f372[_0x4e0c33(0x1ee)]<=0x0||_0x47f372['height']<=0x0)return()=>void 0x0;let _0x38c526=0x10/_0x1ca99f,_0x29d775=Array[_0x4e0c33(0x16f)](_0x198164[_0x4e0c33(0x17c)](_0x4e0c33(0x1d8)))['flatMap'](_0x3b21dd=>{const _0x4f9386=_0x4e0c33;let _0x459adf=getComputedStyle(_0x3b21dd),_0x39bcc3=Number[_0x4f9386(0x1c1)](_0x459adf[_0x4f9386(0x3cb)]);return _0x459adf[_0x4f9386(0x1f9)]===_0x4f9386(0xcd)||Number[_0x4f9386(0x1c1)](_0x459adf[_0x4f9386(0x21a)])===0x0||_0x459adf[_0x4f9386(0x299)]===_0x4f9386(0x336)||!Number['isFinite'](_0x39bcc3)||_0x39bcc3<=0x0?[]:[{'element':_0x3b21dd,'hadStyleAttribute':_0x3b21dd[_0x4f9386(0x377)]('style'),'originalStrokeWidth':_0x39bcc3,'strokeWidth':_0x1c6e5b(_0x3b21dd[_0x4f9386(0x1c8)],_0x4f9386(0xaa))}];})[_0x4e0c33(0x15d)](_0x422e17=>({'appliedStrokeWidth':null,'element':_0x422e17[_0x4e0c33(0x115)],'hadStyleAttribute':_0x422e17[_0x4e0c33(0x159)],'isReleased':!0x1,'originalStrokeWidth':_0x422e17[_0x4e0c33(0x2b9)],'strokeWidth':_0x422e17[_0x4e0c33(0x3cb)]}));if(_0x29d775[_0x4e0c33(0x103)]===0x0)return()=>void 0x0;let _0x29573e=(_0x3ae58c,_0x39be0c)=>{const _0x3efcd4=_0x4e0c33;if(_0x47f372['width']<=0x0||_0x47f372['height']<=0x0||_0x3ae58c<=0x0||_0x39be0c<=0x0)return;let _0x313f52=Math['min'](_0x3ae58c/_0x47f372['width'],_0x39be0c/_0x47f372[_0x3efcd4(0x10d)]);!Number['isFinite'](_0x313f52)||_0x313f52<=0x0||_0x29d775[_0x3efcd4(0xad)](_0x4d963e=>{const _0x555b3c=_0x3efcd4;if(_0x4d963e['isReleased'])return;if(_0x4d963e[_0x555b3c(0x3ba)]!==null&&(_0x4d963e[_0x555b3c(0x115)][_0x555b3c(0x1c8)][_0x555b3c(0x17f)](_0x555b3c(0xaa))!==_0x4d963e[_0x555b3c(0x3ba)]||_0x4d963e[_0x555b3c(0x115)][_0x555b3c(0x1c8)][_0x555b3c(0x240)]('stroke-width')!==_0x4d963e[_0x555b3c(0x3cb)][_0x555b3c(0x10b)])){_0x4d963e[_0x555b3c(0x3ba)]=null,_0x4d963e[_0x555b3c(0x162)]=!0x0;return;}let _0xac1c9e=_0x4d963e['originalStrokeWidth']*_0x38c526/_0x313f52,_0x48845d=Number(_0xac1c9e[_0x555b3c(0x238)](0xc))+'px';_0x4d963e[_0x555b3c(0x115)]['style'][_0x555b3c(0x13c)](_0x555b3c(0xaa),_0x48845d,_0x4d963e[_0x555b3c(0x3cb)][_0x555b3c(0x10b)]),_0x4d963e[_0x555b3c(0x3ba)]=_0x48845d;});},_0x4852a3=_0x198164[_0x4e0c33(0x3a9)]();_0x29573e(_0x4852a3[_0x4e0c33(0x1ee)],_0x4852a3[_0x4e0c33(0x10d)]);let _0x32adda=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x34bbfb=>{const _0x53a039=_0x4e0c33;if(_0x34bbfb[_0x53a039(0x324)](_0x2fe304=>_0x2fe304['target']===_0x198164)){let _0x3326da=_0x198164[_0x53a039(0x3a9)]();_0x29573e(_0x3326da[_0x53a039(0x1ee)],_0x3326da[_0x53a039(0x10d)]);}});return _0x32adda==null||_0x32adda['observe'](_0x198164),()=>{const _0x499ecb=_0x4e0c33;_0x32adda==null||_0x32adda[_0x499ecb(0x20e)](),_0x29d775[_0x499ecb(0xad)](_0xbfcc5d=>{const _0x54b231=_0x499ecb;_0xbfcc5d['appliedStrokeWidth']!==null&&(_0x52a9e6(_0xbfcc5d['element'][_0x54b231(0x1c8)],_0x54b231(0xaa),_0xbfcc5d[_0x54b231(0x3ba)],_0xbfcc5d[_0x54b231(0x3cb)][_0x54b231(0x10b)],_0xbfcc5d[_0x54b231(0x3cb)]),!_0xbfcc5d[_0x54b231(0x159)]&&_0xbfcc5d[_0x54b231(0x115)][_0x54b231(0x1c8)][_0x54b231(0x103)]===0x0&&_0xbfcc5d['element'][_0x54b231(0x371)](_0x54b231(0x1c8)));});};}function _0x1c6e5b(_0x278ec8,_0x52e722){const _0xd1b67e=_0x4a9a20;return{'priority':_0x278ec8[_0xd1b67e(0x240)](_0x52e722),'value':_0x278ec8[_0xd1b67e(0x17f)](_0x52e722)};}function _0x52a9e6(_0x39d920,_0x7add19,_0x4bd399,_0x2d0b55,_0x43e091){const _0x5ceeb8=_0x4a9a20;_0x39d920[_0x5ceeb8(0x17f)](_0x7add19)===_0x4bd399&&_0x39d920['getPropertyPriority'](_0x7add19)===_0x2d0b55&&(_0x43e091['value']?_0x39d920[_0x5ceeb8(0x13c)](_0x7add19,_0x43e091['value'],_0x43e091['priority']):_0x39d920['removeProperty'](_0x7add19));}_0x54c884['displayName']='UniverIcon';let _0x4a445e={'tag':_0x4a9a20(0x14f),'attrs':{'xmlns':_0x4a9a20(0x187),'fill':_0x4a9a20(0xcd),'viewBox':_0x4a9a20(0x2ef),'width':_0x4a9a20(0xb5),'height':_0x4a9a20(0xb5)},'children':[{'tag':'g','attrs':{'clipPath':_0x4a9a20(0x9f)},'children':[{'tag':_0x4a9a20(0x1d3),'attrs':{'stroke':'currentColor','d':_0x4a9a20(0x16a),'strokeLinecap':_0x4a9a20(0x36a),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4a9a20(0x2cc),'attrs':{'id':_0x4a9a20(0x228)},'children':[{'tag':_0x4a9a20(0x1d3),'attrs':{'fill':_0x4a9a20(0x27f),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x4a9a20(0x228)]},_0x2f22d4=(0x0,_0x3fb6bf[_0x4a9a20(0x1eb)])(function(_0x7100fd,_0x3eceb0){const _0x3f4612=_0x4a9a20;return(0x0,_0x3fb6bf['createElement'])(_0x54c884,Object['assign']({},_0x7100fd,{'id':_0x3f4612(0x99),'ref':_0x3eceb0,'icon':_0x4a445e}));});_0x2f22d4[_0x4a9a20(0xec)]='OffLineIcon';let _0x14711d={'tag':_0x4a9a20(0x14f),'attrs':{'xmlns':_0x4a9a20(0x187),'fill':'none','viewBox':_0x4a9a20(0x303),'width':_0x4a9a20(0xb5),'height':_0x4a9a20(0xb5)},'children':[{'tag':'g','attrs':{'clipPath':_0x4a9a20(0xf3)},'children':[{'tag':_0x4a9a20(0x1d3),'attrs':{'stroke':_0x4a9a20(0x226),'d':_0x4a9a20(0x347),'strokeLinecap':_0x4a9a20(0x36a),'strokeLinejoin':_0x4a9a20(0x36a),'strokeWidth':1.2}}]},{'tag':_0x4a9a20(0x333),'attrs':{},'children':[{'tag':_0x4a9a20(0x2cc),'attrs':{'id':_0x4a9a20(0x21e)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x4a9a20(0x2dc),'transform':_0x4a9a20(0x3a0)}}]}]}],'defIds':[_0x4a9a20(0x21e)]},_0x46e0db=(0x0,_0x3fb6bf['forwardRef'])(function(_0x387ecf,_0x1d6c9d){const _0x55284f=_0x4a9a20;return(0x0,_0x3fb6bf['createElement'])(_0x54c884,Object[_0x55284f(0xfc)]({},_0x387ecf,{'id':_0x55284f(0x37d),'ref':_0x1d6c9d,'icon':_0x14711d}));});_0x46e0db[_0x4a9a20(0xec)]='OnLineIcon';let _0xcd3741={'tag':_0x4a9a20(0x14f),'attrs':{'xmlns':_0x4a9a20(0x187),'fill':_0x4a9a20(0xcd),'viewBox':'0\x200\x2016\x2016','width':_0x4a9a20(0xb5),'height':_0x4a9a20(0xb5)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':'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','fillRule':_0x4a9a20(0x369),'clipRule':_0x4a9a20(0x369)}}]},_0x2431b5=(0x0,_0x3fb6bf[_0x4a9a20(0x1eb)])(function(_0x320d47,_0x2284ba){const _0x2420d9=_0x4a9a20;return(0x0,_0x3fb6bf[_0x2420d9(0x3df)])(_0x54c884,Object[_0x2420d9(0xfc)]({},_0x320d47,{'id':_0x2420d9(0x88),'ref':_0x2284ba,'icon':_0xcd3741}));});_0x2431b5[_0x4a9a20(0xec)]=_0x4a9a20(0xe4);let _0x51e901={'tag':_0x4a9a20(0x14f),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4a9a20(0xcd),'viewBox':_0x4a9a20(0x2ef),'width':'1em','height':'1em'},'children':[{'tag':_0x4a9a20(0x1d3),'attrs':{'fill':'#0B9EFB','d':_0x4a9a20(0x344),'fillOpacity':0.2,'fillRule':'evenodd','clipRule':_0x4a9a20(0x369)}},{'tag':_0x4a9a20(0x1d3),'attrs':{'fill':'#0B9EFB','d':_0x4a9a20(0x3db),'fillRule':_0x4a9a20(0x369),'clipRule':_0x4a9a20(0x369)}}]},_0x182816=(0x0,_0x3fb6bf[_0x4a9a20(0x1eb)])(function(_0x462240,_0x2cb869){const _0x442554=_0x4a9a20;return(0x0,_0x3fb6bf[_0x442554(0x3df)])(_0x54c884,Object['assign']({},_0x462240,{'id':_0x442554(0x34e),'ref':_0x2cb869,'icon':_0x51e901}));});_0x182816[_0x4a9a20(0xec)]=_0x4a9a20(0x260);function _0x572f13(_0x5c2963){const _0x2f17c7=_0x4a9a20;switch(_0x5c2963){case _0x5c5525[_0x2f17c7(0x307)][_0x2f17c7(0x1ef)]:return{'icon':(0x0,_0x49e2bf[_0x2f17c7(0x92)])(_0x2f22d4,{}),'colorClass':'univer-text-red-500','i18nKey':_0x2f17c7(0x3a3),'tooltipKey':_0x2f17c7(0x1d6),'clickable':!0x0,'indicator':_0x2f17c7(0x2f4)};case _0x5c5525[_0x2f17c7(0x307)][_0x2f17c7(0x313)]:return{'icon':(0x0,_0x49e2bf[_0x2f17c7(0x92)])(_0x2f22d4,{}),'colorClass':_0x2f17c7(0xf6),'i18nKey':_0x2f17c7(0x138),'clickable':!0x1,'indicator':_0x2f17c7(0x2f4)};case _0x5c5525['CollaborationStatus'][_0x2f17c7(0x32e)]:return{'icon':(0x0,_0x49e2bf['jsx'])(_0x182816,{}),'colorClass':_0x2f17c7(0x363),'i18nKey':'collaboration-client-ui.collabStatus.fetchMiss','clickable':!0x1,'indicator':'spin'};case _0x5c5525[_0x2f17c7(0x307)][_0x2f17c7(0x361)]:return{'icon':(0x0,_0x49e2bf[_0x2f17c7(0x92)])(_0x46e0db,{}),'colorClass':_0x2f17c7(0x173),'i18nKey':_0x2f17c7(0x170),'clickable':!0x1,'indicator':_0x2f17c7(0x2f4)};case _0x5c5525[_0x2f17c7(0x307)][_0x2f17c7(0xb6)]:case _0x5c5525[_0x2f17c7(0x307)][_0x2f17c7(0x368)]:return{'icon':(0x0,_0x49e2bf[_0x2f17c7(0x92)])(_0x182816,{}),'colorClass':'univer-text-blue-500','i18nKey':_0x2f17c7(0x335),'clickable':!0x1,'indicator':_0x2f17c7(0x1d1)};case _0x5c5525['CollaborationStatus'][_0x2f17c7(0x2d6)]:return{'icon':(0x0,_0x49e2bf['jsx'])(_0x182816,{}),'colorClass':_0x2f17c7(0x363),'i18nKey':_0x2f17c7(0x335),'clickable':!0x1,'indicator':_0x2f17c7(0x1d1)};case _0x5c5525[_0x2f17c7(0x307)][_0x2f17c7(0x184)]:return{'icon':(0x0,_0x49e2bf[_0x2f17c7(0x92)])(_0x46e0db,{}),'colorClass':_0x2f17c7(0x1cf),'i18nKey':'collaboration-client-ui.collabStatus.synced','clickable':!0x1,'indicator':_0x2f17c7(0x2f4)};}}function _0x1cbb00(_0x18e2fc){const _0xdc59e7=_0x4a9a20;let {status$:_0x403c84}=_0x18e2fc,_0x5806a9=(0x0,_0x191907[_0xdc59e7(0x386)])(_0x403c84,_0x5c5525['CollaborationStatus'][_0xdc59e7(0x361)]),_0x5406c0=(0x0,_0x191907[_0xdc59e7(0x16c)])(_0x379e5f['LocaleService']),_0x42e5a9=(0x0,_0x191907['useDependency'])(_0x5c5525[_0xdc59e7(0x267)]),_0x557f54=(0x0,_0x3fb6bf['useMemo'])(()=>_0x572f13(_0x5806a9),[_0x5806a9]),_0x3c0f1f=_0x5806a9!==_0x5c5525[_0xdc59e7(0x307)][_0xdc59e7(0x1ef)],_0x2ae659=_0x5406c0['t'](_0x557f54[_0xdc59e7(0x224)]),_0x1203e1=_0x557f54[_0xdc59e7(0x39f)]?_0x5406c0['t'](_0x557f54[_0xdc59e7(0x39f)]):_0x2ae659,_0x50dca6=(0x0,_0x3fb6bf[_0xdc59e7(0x30c)])(()=>{const _0x3c86fc=_0xdc59e7;_0x3c0f1f||_0x42e5a9[_0x3c86fc(0x31a)]();},[_0x3c0f1f,_0x42e5a9]),_0x55c4c4=(0x0,_0x3fb6bf[_0xdc59e7(0x30c)])(_0x52a28f=>{const _0x56de72=_0xdc59e7;!_0x3c0f1f&&(_0x52a28f['key']==='Enter'||_0x52a28f[_0x56de72(0x2c5)]==='\x20')&&(_0x52a28f[_0x56de72(0x161)](),_0x42e5a9[_0x56de72(0x31a)]());},[_0x3c0f1f,_0x42e5a9]),_0x2e16ba=(0x0,_0x49e2bf['jsx'])(_0xdc59e7(0x1ff),{'className':(0x0,_0x51bea6[_0xdc59e7(0x379)])(_0xdc59e7(0x285),_0xdc59e7(0x289),_0x557f54[_0xdc59e7(0xed)],{'univer-animate-spin':_0x557f54['indicator']===_0xdc59e7(0x1d1),'univer-animate-pulse':_0x557f54[_0xdc59e7(0xf9)]===_0xdc59e7(0xf4)}),'aria-hidden':_0xdc59e7(0xcf),'children':_0x557f54[_0xdc59e7(0x315)]}),_0x3a76db=(0x0,_0x49e2bf[_0xdc59e7(0x92)])(_0xdc59e7(0x1ff),{'className':(0x0,_0x51bea6[_0xdc59e7(0x379)])(_0xdc59e7(0x285),_0xdc59e7(0x3c2),_0xdc59e7(0x119),_0xdc59e7(0x393),_0xdc59e7(0x2d2),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x557f54[_0xdc59e7(0x18a)],'univer-cursor-default':!_0x557f54['clickable']}),'children':_0x2e16ba});return _0x557f54['clickable']?(0x0,_0x49e2bf['jsx'])(_0x51bea6[_0xdc59e7(0x1de)],{'title':_0x1203e1,'placement':'bottom','children':(0x0,_0x49e2bf[_0xdc59e7(0x92)])(_0xdc59e7(0x1c7),{'type':_0xdc59e7(0x1c7),'onClick':_0x50dca6,'onKeyDown':_0x55c4c4,'className':(0x0,_0x51bea6[_0xdc59e7(0x379)])(_0xdc59e7(0x297),_0xdc59e7(0x214),_0xdc59e7(0x2ec),_0xdc59e7(0x15b)),'aria-label':_0x2ae659+_0xdc59e7(0xa4)+_0x1203e1,'role':'status','aria-live':_0xdc59e7(0x22d),'aria-atomic':_0xdc59e7(0xcf),'children':_0x3a76db})}):(0x0,_0x49e2bf[_0xdc59e7(0x92)])(_0x51bea6[_0xdc59e7(0x1de)],{'title':_0x1203e1,'placement':_0xdc59e7(0x1ba),'children':(0x0,_0x49e2bf[_0xdc59e7(0x92)])(_0xdc59e7(0x250),{'className':(0x0,_0x51bea6[_0xdc59e7(0x379)])(_0xdc59e7(0x297),_0xdc59e7(0x214),_0xdc59e7(0x2ec)),'aria-label':_0x2ae659,'role':_0xdc59e7(0x255),'aria-live':'polite','aria-atomic':_0xdc59e7(0xcf),'children':_0x3a76db})});}function _0x46eea9(_0x1a733f){'@babel/helpers - typeof';const _0x39d424=_0x4a9a20;return _0x46eea9=typeof Symbol==_0x39d424(0x269)&&typeof Symbol['iterator']==_0x39d424(0x13b)?function(_0x45c3ea){return typeof _0x45c3ea;}:function(_0xa1e8ad){const _0x32fa43=_0x39d424;return _0xa1e8ad&&typeof Symbol=='function'&&_0xa1e8ad[_0x32fa43(0x314)]===Symbol&&_0xa1e8ad!==Symbol[_0x32fa43(0x135)]?_0x32fa43(0x13b):typeof _0xa1e8ad;},_0x46eea9(_0x1a733f);}function _0x2fc155(_0x5ace1d,_0xf2200c){const _0x344d1b=_0x4a9a20;if(_0x46eea9(_0x5ace1d)!=_0x344d1b(0x1e2)||!_0x5ace1d)return _0x5ace1d;var _0x3993cf=_0x5ace1d[Symbol[_0x344d1b(0x10c)]];if(_0x3993cf!==void 0x0){var _0x2fb635=_0x3993cf[_0x344d1b(0x279)](_0x5ace1d,_0xf2200c||'default');if(_0x46eea9(_0x2fb635)!=_0x344d1b(0x1e2))return _0x2fb635;throw TypeError(_0x344d1b(0x320));}return(_0xf2200c===_0x344d1b(0x23f)?String:Number)(_0x5ace1d);}function _0x2d8946(_0x14b336){const _0xbe7ef7=_0x4a9a20;var _0x17cc98=_0x2fc155(_0x14b336,'string');return _0x46eea9(_0x17cc98)==_0xbe7ef7(0x13b)?_0x17cc98:_0x17cc98+'';}function _0x477ff4(_0x55be4d,_0x598ab1,_0x2e20e0){const _0x2a3901=_0x4a9a20;return(_0x598ab1=_0x2d8946(_0x598ab1))in _0x55be4d?Object[_0x2a3901(0x27d)](_0x55be4d,_0x598ab1,{'value':_0x2e20e0,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x55be4d[_0x598ab1]=_0x2e20e0,_0x55be4d;}function _0x235e3a(_0xd4d07e,_0xcb3d21){return function(_0x499872,_0xd31df6){_0xcb3d21(_0x499872,_0xd31df6,_0xd4d07e);};}function _0x56d489(_0x5720d1,_0x1f3487,_0x22533a,_0x4f3185){const _0x235e53=_0x4a9a20;var _0x53f05d=arguments[_0x235e53(0x103)],_0x431e53=_0x53f05d<0x3?_0x1f3487:_0x4f3185===null?_0x4f3185=Object[_0x235e53(0x8f)](_0x1f3487,_0x22533a):_0x4f3185,_0x4277b4;if(typeof Reflect==_0x235e53(0x1e2)&&typeof Reflect[_0x235e53(0x295)]==_0x235e53(0x269))_0x431e53=Reflect['decorate'](_0x5720d1,_0x1f3487,_0x22533a,_0x4f3185);else{for(var _0x2f639d=_0x5720d1[_0x235e53(0x103)]-0x1;_0x2f639d>=0x0;_0x2f639d--)(_0x4277b4=_0x5720d1[_0x2f639d])&&(_0x431e53=(_0x53f05d<0x3?_0x4277b4(_0x431e53):_0x53f05d>0x3?_0x4277b4(_0x1f3487,_0x22533a,_0x431e53):_0x4277b4(_0x1f3487,_0x22533a))||_0x431e53);}return _0x53f05d>0x3&&_0x431e53&&Object[_0x235e53(0x27d)](_0x1f3487,_0x22533a,_0x431e53),_0x431e53;}let _0xfe667e=class extends _0x379e5f[_0x4a9a20(0x359)]{constructor(_0x3f9052,_0x45e3c7,_0x397a68,_0x65a9e6,_0xadf346){const _0x52b9b1=_0x4a9a20;super(),this['_univerInstanceService']=_0x3f9052,this['_injector']=_0x45e3c7,this[_0x52b9b1(0x29c)]=_0x397a68,this[_0x52b9b1(0x28c)]=_0x65a9e6,this[_0x52b9b1(0x3e3)]=_0xadf346,_0x477ff4(this,_0x52b9b1(0xa5),new _0x29b66c[(_0x52b9b1(0x2d0))](_0x5c5525[_0x52b9b1(0x307)]['NOT_COLLAB'])),_0x477ff4(this,_0x52b9b1(0x3c6),new Map()),this[_0x52b9b1(0x155)](),this['_initStatusListener'](),this[_0x52b9b1(0x395)]();}[_0x4a9a20(0x274)](){const _0x5d419f=_0x4a9a20;this['_presenceStatusRegistrations'][_0x5d419f(0xad)](_0x1d8754=>_0x1d8754[_0x5d419f(0x274)]()),this[_0x5d419f(0x3c6)][_0x5d419f(0x96)](),this[_0x5d419f(0xa5)][_0x5d419f(0xd5)](),super[_0x5d419f(0x274)]();}[_0x4a9a20(0x13f)](){const _0x51bf08=_0x4a9a20;this[_0x51bf08(0x345)]((0x0,_0x29b66c[_0x51bf08(0x3b5)])(this[_0x51bf08(0xe3)][_0x51bf08(0x2ab)],this[_0x51bf08(0xe3)][_0x51bf08(0x2e1)](_0x379e5f[_0x51bf08(0x1a5)]['UNIVER_DOC']),this[_0x51bf08(0xe3)]['getCurrentTypeOfUnit$'](_0x379e5f[_0x51bf08(0x1a5)]['UNIVER_SHEET']))[_0x51bf08(0x220)]((0x0,_0x4f408e[_0x51bf08(0x15d)])(()=>_0x512dbd(this[_0x51bf08(0xe3)])),(0x0,_0x4f408e[_0x51bf08(0x188)])(),(0x0,_0x29b66c[_0x51bf08(0xd3)])(_0x29cf81=>_0x29cf81?this[_0x51bf08(0x29c)][_0x51bf08(0x3c5)](_0x29cf81):(0x0,_0x29b66c['of'])(null)),(0x0,_0x29b66c['switchMap'])(_0x1c3934=>_0x1c3934?_0x1c3934['status$']:(0x0,_0x29b66c['of'])(_0x5c5525['CollaborationStatus'][_0x51bf08(0x361)])))[_0x51bf08(0x116)](_0x253e7b=>{const _0x59a71f=_0x51bf08;this[_0x59a71f(0xa5)][_0x59a71f(0x387)](_0x253e7b);}));}[_0x4a9a20(0x155)](){const _0x3b2a22=_0x4a9a20;this[_0x3b2a22(0x345)](this[_0x3b2a22(0x28c)][_0x3b2a22(0xf7)](_0x191907['BuiltInUIPart'][_0x3b2a22(0x222)],()=>(0x0,_0x191907['connectInjector'])(_0x447fc5({'status$':this[_0x3b2a22(0xa5)][_0x3b2a22(0x30e)]()}),this[_0x3b2a22(0xa3)])));}[_0x4a9a20(0x395)](){const _0xd54d84=_0x4a9a20;let _0x55f2cd=this[_0xd54d84(0x3e3)]['adapters$'][_0xd54d84(0x116)](_0x2a8ade=>{const _0xe2ca10=_0xd54d84;this[_0xe2ca10(0xb0)](_0x2a8ade);});this['disposeWithMe']((0x0,_0x379e5f[_0xd54d84(0x1e5)])(()=>_0x55f2cd[_0xd54d84(0x2db)]()));}[_0x4a9a20(0xb0)](_0x4851dc){const _0xf0372c=_0x4a9a20;let _0x5e7eab=new Map(_0x4851dc['filter'](_0x23d74a=>_0x23d74a['statusUIPart']!=null)[_0xf0372c(0x15d)](_0x3b18e2=>[_0x3b18e2[_0xf0372c(0xc4)],_0x3b18e2]));this[_0xf0372c(0x3c6)]['forEach']((_0x4d9c04,_0x360402)=>{const _0x86b744=_0xf0372c;_0x5e7eab[_0x86b744(0x192)](_0x360402)||(_0x4d9c04[_0x86b744(0x274)](),this[_0x86b744(0x3c6)][_0x86b744(0xd0)](_0x360402));}),_0x5e7eab['forEach']((_0x40ca56,_0x375a00)=>{const _0x862414=_0xf0372c;this['_presenceStatusRegistrations'][_0x862414(0x192)](_0x375a00)||this[_0x862414(0x1a2)](_0x40ca56);});}['_registerPresenceStatusComponent'](_0x31807d){const _0x38ec9f=_0x4a9a20;let _0x3322f8=_0x31807d[_0x38ec9f(0xa8)];if(!_0x3322f8)return;let _0x557eca=new _0x379e5f[(_0x38ec9f(0x357))](),_0x12e779=new _0x29b66c[(_0x38ec9f(0x2d0))](_0x5c5525[_0x38ec9f(0x307)][_0x38ec9f(0x361)]);_0x557eca['add']((0x0,_0x379e5f[_0x38ec9f(0x1e5)])(()=>_0x12e779[_0x38ec9f(0xd5)]())),_0x557eca[_0x38ec9f(0x2a3)](this['_uiPartsService']['registerComponent'](_0x3322f8,()=>(0x0,_0x191907[_0x38ec9f(0x182)])(_0x447fc5({'status$':_0x12e779[_0x38ec9f(0x30e)]()}),this['_injector'])));let _0x44cf7d=this['_univerInstanceService'][_0x38ec9f(0x2e1)](_0x31807d[_0x38ec9f(0xc4)])[_0x38ec9f(0x220)]((0x0,_0x4f408e[_0x38ec9f(0x15d)])(_0x4b430c=>(_0x4b430c==null?void 0x0:_0x4b430c['getUnitId']())??null),(0x0,_0x4f408e[_0x38ec9f(0x188)])(),(0x0,_0x29b66c[_0x38ec9f(0xd3)])(_0x3cdc2c=>_0x3cdc2c?this[_0x38ec9f(0x29c)]['getCollabEntity$'](_0x3cdc2c):(0x0,_0x29b66c['of'])(null)),(0x0,_0x29b66c[_0x38ec9f(0xd3)])(_0x4dd9fa=>(_0x4dd9fa==null?void 0x0:_0x4dd9fa['status$'])??(0x0,_0x29b66c['of'])(_0x5c5525['CollaborationStatus'][_0x38ec9f(0x361)])))[_0x38ec9f(0x116)](_0x38e313=>_0x12e779[_0x38ec9f(0x387)](_0x38e313));_0x557eca[_0x38ec9f(0x2a3)]((0x0,_0x379e5f[_0x38ec9f(0x1e5)])(()=>_0x44cf7d['unsubscribe']())),this[_0x38ec9f(0x3c6)][_0x38ec9f(0x25f)](_0x31807d['unitType'],_0x557eca);}};_0xfe667e=_0x56d489([_0x235e3a(0x0,_0x379e5f['IUniverInstanceService']),_0x235e3a(0x1,(0x0,_0x379e5f['Inject'])(_0x379e5f[_0x4a9a20(0x18f)])),_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x5c5525[_0x4a9a20(0x95)])),_0x235e3a(0x3,_0x191907[_0x4a9a20(0x3a8)]),_0x235e3a(0x4,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x191907['IUnitPresenceUIAdapterRegistry']))],_0xfe667e);function _0x512dbd(_0xd418a9){const _0x17b844=_0x4a9a20;let _0x33090b=_0xd418a9[_0x17b844(0x1b6)](),_0x1fa9e4=_0x33090b==null?void 0x0:_0x33090b[_0x17b844(0x2c3)]();if(_0x1fa9e4&&!(0x0,_0x379e5f[_0x17b844(0x328)])(_0x1fa9e4))return _0x1fa9e4;let _0x2120fd=_0xd418a9[_0x17b844(0x2a4)](_0x379e5f['UniverInstanceType'][_0x17b844(0x139)]),_0x5ed979=_0x2120fd==null?void 0x0:_0x2120fd[_0x17b844(0x2c3)]();if(_0x5ed979&&!(0x0,_0x379e5f[_0x17b844(0x328)])(_0x5ed979))return _0x5ed979;let _0x46c713=_0xd418a9[_0x17b844(0x2a4)](_0x379e5f[_0x17b844(0x1a5)][_0x17b844(0x243)]);if(_0x46c713)return _0x46c713[_0x17b844(0x2c3)]();let _0x47756a=_0xd418a9[_0x17b844(0x292)](_0x379e5f[_0x17b844(0x1a5)]['UNIVER_DOC'])[_0x17b844(0x24d)](_0x2e7e54=>!(0x0,_0x379e5f[_0x17b844(0x328)])(_0x2e7e54[_0x17b844(0x2c3)]()));return _0x47756a?_0x47756a['getUnitId']():null;}function _0x447fc5(_0x2242d2){let {status$:_0x545015}=_0x2242d2;return function(){const _0x1ef45a=_0x861d;return(0x0,_0x49e2bf[_0x1ef45a(0x92)])(_0x1cbb00,{'status$':_0x545015});};}var _0x176194='@univerjs-pro/collaboration-client-ui',_0x5c9d38='1.0.1';let _0x9de98b={'id':_0x4a9a20(0x1a4),'type':_0x379e5f[_0x4a9a20(0x2b6)][_0x4a9a20(0x323)],'handler':(_0x270304,_0x5a7c07)=>{const _0x2225e8=_0x4a9a20;let _0x5bc650=_0x270304['get'](_0x191907[_0x2225e8(0xbd)])['get'](_0x5a7c07[_0x2225e8(0xc4)]);if(!_0x5bc650)return!0x1;switch(_0x5a7c07[_0x2225e8(0x34d)][_0x2225e8(0x3a5)]){case _0x2225e8(0x25f):return _0x5bc650['setRemotePresence'](_0x5a7c07[_0x2225e8(0x34d)]['state']),!0x0;case _0x2225e8(0x1d9):return _0x5bc650[_0x2225e8(0x341)](_0x5a7c07['update'][_0x2225e8(0x32a)],_0x5a7c07[_0x2225e8(0x34d)][_0x2225e8(0xba)]),!0x0;case _0x2225e8(0x96):return _0x5bc650[_0x2225e8(0x1e6)](_0x5a7c07[_0x2225e8(0x34d)][_0x2225e8(0x32a)]),!0x0;default:return!0x1;}}},_0x4905e4={},_0x302b8d=class extends _0x379e5f[_0x4a9a20(0x1c0)]{constructor(_0x5a40ba,_0x5f1908){const _0x2ec31f=_0x4a9a20;super(),this['_docClipboardService']=_0x5a40ba,this[_0x2ec31f(0x2cd)]=_0x5f1908,this[_0x2ec31f(0x246)]();}[_0x4a9a20(0x246)](){const _0x2a8a63=_0x4a9a20;let _0x35747f=this;this[_0x2a8a63(0x345)](this[_0x2a8a63(0x284)][_0x2a8a63(0xc3)]({'onBeforePasteImage':async _0x5d1e99=>{const _0x5a025f=_0x2a8a63;let _0x469727=await _0x35747f[_0x5a025f(0x2cd)][_0x5a025f(0x37c)](_0x5d1e99);return _0x469727?{'source':_0x469727[_0x5a025f(0x20a)],'imageSourceType':_0x469727[_0x5a025f(0x27a)]}:null;}}));}};_0x302b8d=_0x56d489([_0x235e3a(0x0,_0x12bff4['IDocClipboardService']),_0x235e3a(0x1,_0x379e5f[_0x4a9a20(0x12f)])],_0x302b8d);let _0x3f895e=[_0x4a9a20(0x2fc),_0x4a9a20(0x2f3),_0x4a9a20(0x232),_0x4a9a20(0x2da),_0x4a9a20(0x355),_0x4a9a20(0xd4)];var _0x47ec3a=class extends _0x379e5f['Disposable']{constructor(..._0x3030d3){const _0x5e4354=_0x4a9a20;super(..._0x3030d3),_0x477ff4(this,_0x5e4354(0x293),new Map()),_0x477ff4(this,_0x5e4354(0x367),0x0);}['assignAColorForMemberID'](_0xb17555){const _0x1d18ba=_0x4a9a20;if(this[_0x1d18ba(0x293)]['has'](_0xb17555))return this['_assignedColors'][_0x1d18ba(0x3c7)](_0xb17555);let _0x2f5b30=_0x3f895e[this['_colorIndex']];return this[_0x1d18ba(0x367)]=(this[_0x1d18ba(0x367)]+0x1)%_0x3f895e[_0x1d18ba(0x103)],this[_0x1d18ba(0x293)][_0x1d18ba(0x25f)](_0xb17555,_0x2f5b30),_0x2f5b30;}};function _0x33f5b1(_0x255259){let _0x3be904='';for(let _0x4508b5 of _0x255259){let {startOffset:_0x79efd5,endOffset:_0x25405d,isActive:_0x239873,rangeType:_0x1b3013,segmentId:_0x137046,segmentPage:_0x4007b8}=_0x4508b5;_0x3be904['length']&&(_0x3be904+=','),_0x3be904+=_0x79efd5+':'+_0x25405d+':'+(_0x239873?'1':'0')+':'+_0x1b3013+':'+_0x137046+':'+_0x4007b8;}return _0x3be904;}function _0x4aeb03(_0x28ab00){const _0x10d637=_0x4a9a20;let _0x3372eb=_0x28ab00[_0x10d637(0x2fb)](','),_0x235641=[];for(let _0x51963e of _0x3372eb){let [_0x5f161c,_0x3c4d8c,_0x3ea1d8,_0x2c8970,_0x4af60e,_0x1eca0c]=_0x51963e['split'](':');_0x235641[_0x10d637(0x2bd)]({'startOffset':Number(_0x5f161c),'endOffset':Number(_0x3c4d8c),'collapsed':_0x5f161c===_0x3c4d8c,'isActive':_0x3ea1d8==='1','rangeType':_0x2c8970===_0x379e5f[_0x10d637(0xff)]['TEXT']?_0x379e5f[_0x10d637(0xff)][_0x10d637(0x100)]:_0x379e5f[_0x10d637(0xff)][_0x10d637(0x35e)],'segmentId':typeof _0x4af60e==_0x10d637(0x23f)?String(_0x4af60e):'','segmentPage':Number(_0x1eca0c??-0x1)});}return _0x235641['some'](_0x58516c=>_0x58516c[_0x10d637(0x32b)])||(_0x235641[0x0][_0x10d637(0x32b)]=!0x0),_0x235641;}var _0x2430ce=class extends _0x379e5f[_0x4a9a20(0x1c0)]{constructor(..._0x3dd447){const _0x29f3f7=_0x4a9a20;super(..._0x3dd447),_0x477ff4(this,_0x29f3f7(0x3c1),new _0x29b66c[(_0x29f3f7(0x2d0))](null)),_0x477ff4(this,_0x29f3f7(0x3d2),this[_0x29f3f7(0x3c1)][_0x29f3f7(0x30e)]());}[_0x4a9a20(0x2ca)](_0x111421){const _0x371f63=_0x4a9a20;let {unitID:_0x5d87dd,memberID:_0x3635ab,textRanges:_0x49ec07}=_0x111421,_0x124fdd=_0x33f5b1(_0x49ec07);if(_0x124fdd==='')return;let _0x4d1897={'unitID':_0x5d87dd,'memberID':_0x3635ab,'selection':_0x124fdd};this[_0x371f63(0x3c1)][_0x371f63(0x387)](_0x4d1897);}};let _0x22ea1f=class extends _0x379e5f['RxDisposable']{get[_0x4a9a20(0x34b)](){const _0x4e4d4d=_0x4a9a20;return this[_0x4e4d4d(0x270)]['getValue']();}get['roomMembers'](){const _0x28bb1f=_0x4a9a20;return this[_0x28bb1f(0x1e3)][_0x28bb1f(0x3b8)]();}constructor(_0x834e1b,_0xd6da57,_0x1296c0,_0x1edaa6,_0x830152,_0x3cf4a3,_0x4a2472,_0x5abe53,_0x36b499){const _0x18a8fa=_0x4a9a20;super(),this['unitID']=_0x834e1b,this[_0x18a8fa(0x3d0)]=_0xd6da57,this[_0x18a8fa(0xa3)]=_0x1296c0,this['_colorAssignService']=_0x1edaa6,this[_0x18a8fa(0x140)]=_0x830152,this[_0x18a8fa(0x196)]=_0x3cf4a3,this[_0x18a8fa(0xf2)]=_0x4a2472,this[_0x18a8fa(0xe3)]=_0x5abe53,this[_0x18a8fa(0x3a1)]=_0x36b499,_0x477ff4(this,_0x18a8fa(0x20f),!0x1),_0x477ff4(this,'_init',!0x1),_0x477ff4(this,_0x18a8fa(0x270),new _0x29b66c[(_0x18a8fa(0x2d0))](new Map())),_0x477ff4(this,'cursorInfo$',this[_0x18a8fa(0x270)][_0x18a8fa(0x30e)]()),_0x477ff4(this,'_roomMembers$',new _0x29b66c['BehaviorSubject']([])),_0x477ff4(this,_0x18a8fa(0x370),this['_roomMembers$']['pipe']((0x0,_0x29b66c[_0x18a8fa(0x141)])(0x12c))),_0x477ff4(this,_0x18a8fa(0x2e4),(0x0,_0x379e5f[_0x18a8fa(0x2a1)])(_0x11b17f=>{const _0x486634=_0x18a8fa;let _0x43893b={'eventID':_0x180ca7[_0x486634(0x22b)][_0x486634(0x39e)],'data':{'unitID':this[_0x486634(0xdd)],'memberID':this[_0x486634(0x3d0)][_0x486634(0x11f)](),'selection':_0x33f5b1(_0x11b17f)}};this[_0x486634(0x3d0)][_0x486634(0x1e9)](_0x43893b,this[_0x486634(0xdd)]);},0x64));}[_0x4a9a20(0x274)](){const _0x323449=_0x4a9a20;super['dispose'](),this[_0x323449(0x270)]['next'](new Map()),this[_0x323449(0x270)][_0x323449(0xd5)](),this['_roomMembers$'][_0x323449(0x387)]([]),this[_0x323449(0x1e3)][_0x323449(0xd5)]();}[_0x4a9a20(0xca)](){const _0x19e04b=_0x4a9a20;this[_0x19e04b(0x246)]||(this[_0x19e04b(0x246)]=!0x0,this[_0x19e04b(0x3d0)][_0x19e04b(0x165)][_0x19e04b(0x220)]((0x0,_0x29b66c['takeUntil'])(this[_0x19e04b(0x39b)]))[_0x19e04b(0x116)](_0x4c1cc4=>{const _0x49a68b=_0x19e04b;_0x4c1cc4===_0x5c5525['SessionStatus'][_0x49a68b(0x1ca)]?this[_0x49a68b(0x338)]():this['_toggleOffline']();}),this['_session']['event$']['pipe']((0x0,_0x29b66c[_0x19e04b(0x3be)])(this[_0x19e04b(0x39b)]))[_0x19e04b(0x116)](_0x8d4999=>{const _0x500cba=_0x19e04b;let _0x3d1501=_0x8d4999[_0x500cba(0x9d)];_0x3d1501===_0x180ca7['CollaborationEvent'][_0x500cba(0x39e)]&&this[_0x500cba(0x1ce)](_0x8d4999),_0x3d1501===_0x180ca7[_0x500cba(0x22b)]['USERS_LEAVE']&&this[_0x500cba(0x197)](_0x8d4999);}),this[_0x19e04b(0x345)](this[_0x19e04b(0x3a1)][_0x19e04b(0x233)](_0x1accff=>{const _0x312e86=_0x19e04b;let _0x590896=_0x1accff[_0x312e86(0x26f)];_0x590896!=null&&this[_0x312e86(0x20f)]&&_0x1accff['id']===_0x24609f[_0x312e86(0x2c2)]['id']&&_0x590896[_0x312e86(0x32a)]===this[_0x312e86(0xdd)]&&_0x590896[_0x312e86(0x3e1)]===!0x1&&_0x590896['ranges'][_0x312e86(0x103)]>0x0&&this['_updateLocalCursor'](_0x590896[_0x312e86(0x2ff)]);})),this[_0x19e04b(0x196)][_0x19e04b(0x3d2)][_0x19e04b(0x220)]((0x0,_0x29b66c['takeUntil'])(this[_0x19e04b(0x39b)]))['subscribe'](_0x50ef4b=>{const _0x5a0189=_0x19e04b;if((_0x50ef4b==null?void 0x0:_0x50ef4b[_0x5a0189(0xdd)])!==this[_0x5a0189(0xdd)])return;let _0x555bd4={'eventID':_0x180ca7[_0x5a0189(0x22b)][_0x5a0189(0x39e)],'data':_0x50ef4b};this[_0x5a0189(0x1ce)](_0x555bd4);}),this[_0x19e04b(0x345)](this['_commandService'][_0x19e04b(0x233)](_0x5d7973=>{const _0x4c01b1=_0x19e04b;if(_0x5d7973[_0x4c01b1(0x26f)]==null)return;let _0x290d25=_0x5d7973[_0x4c01b1(0x26f)];if(_0x5d7973['id']!==_0x24609f['RichTextEditingMutation']['id']||_0x290d25[_0x4c01b1(0x32a)]!==this[_0x4c01b1(0xdd)])return;let _0x5333b7={'id':'doc.mutation.rich-text-editing','params':_0x290d25},_0x1792b5=this[_0x4c01b1(0x34b)];for(let [_0x46dbee,_0x529fcb]of _0x1792b5){let _0x3c8777={'id':_0x4c01b1(0x1bc),'params':{'unitId':this[_0x4c01b1(0xdd)],'actions':null,'textRanges':_0x529fcb[_0x4c01b1(0x2ff)]}},_0x35d475=this[_0x4c01b1(0xf2)]['transformMutation'](_0x5333b7,_0x3c8777,!0x1);if((0x0,_0x180ca7[_0x4c01b1(0x1cb)])(_0x35d475))throw _0x35d475[_0x4c01b1(0x1a8)];_0x1792b5[_0x4c01b1(0x25f)](_0x46dbee,{..._0x529fcb,'ranges':_0x35d475['m2Prime'][_0x4c01b1(0x26f)][_0x4c01b1(0x348)]});}queueMicrotask(()=>{const _0x2a2ac1=_0x4c01b1;this[_0x2a2ac1(0x270)][_0x2a2ac1(0x387)](_0x1792b5);});})));}[_0x4a9a20(0x1ce)](_0x3b3fb8){const _0x468507=_0x4a9a20;var _0x486015;let {memberID:_0x37e6d9,selection:_0x16b98f}=_0x3b3fb8[_0x468507(0xbe)],_0x209a05=_0x4aeb03(_0x16b98f),_0x254ff9=((_0x486015=this[_0x468507(0x140)][_0x468507(0x201)](this['unitID'],_0x37e6d9))==null?void 0x0:_0x486015[_0x468507(0x3ad)])??'Unknown\x20user',_0x59a41b={'color':this[_0x468507(0xfb)][_0x468507(0x3cf)](_0x37e6d9),'name':_0x254ff9,'ranges':_0x209a05},_0x15168b=this['cursorInfo'];_0x15168b[_0x468507(0x25f)](_0x37e6d9,_0x59a41b),this['_cursorInfo$'][_0x468507(0x387)](_0x15168b);}[_0x4a9a20(0x197)](_0x31e854){const _0x3866a1=_0x4a9a20;let {memberID:_0x319a66}=_0x31e854[_0x3866a1(0xbe)],_0x223f7e=this[_0x3866a1(0x34b)];_0x223f7e[_0x3866a1(0xd0)](_0x319a66),this['_cursorInfo$'][_0x3866a1(0x387)](_0x223f7e);}[_0x4a9a20(0x338)](){const _0x4a420c=_0x4a9a20;var _0x97aaa;if(this['_online']=!0x0,((_0x97aaa=this[_0x4a420c(0xe3)][_0x4a420c(0x1b6)]())==null?void 0x0:_0x97aaa[_0x4a420c(0x2c3)]())!==this[_0x4a420c(0xdd)])return;let _0x12eed6=this[_0x4a420c(0xa3)][_0x4a420c(0x3c7)](_0x24609f[_0x4a420c(0x2d3)])['getDocRanges']();Array['isArray'](_0x12eed6)&&_0x12eed6['length']>0x0&&this[_0x4a420c(0x2e4)](_0x12eed6);}['_toggleOffline'](){const _0x478744=_0x4a9a20;this[_0x478744(0x20f)]=!0x1;}};_0x22ea1f=_0x56d489([_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f[_0x4a9a20(0x18f)])),_0x235e3a(0x3,(0x0,_0x379e5f['Inject'])(_0x47ec3a)),_0x235e3a(0x4,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x5c5525[_0x4a9a20(0xa9)])),_0x235e3a(0x5,(0x0,_0x379e5f['Inject'])(_0x2430ce)),_0x235e3a(0x6,_0x180ca7[_0x4a9a20(0x300)]),_0x235e3a(0x7,_0x379e5f[_0x4a9a20(0x168)]),_0x235e3a(0x8,_0x379e5f[_0x4a9a20(0x1f8)])],_0x22ea1f);let _0x1dc74b=()=>{let _0x1e4a9a=[],_0x308dca=!0x1;return _0x59ddd1=>{const _0x5b21f5=_0x861d;_0x1e4a9a[_0x5b21f5(0x2bd)](_0x59ddd1),_0x308dca||(_0x308dca=!0x0,setTimeout(()=>{const _0x372981=_0x5b21f5;_0x1e4a9a[_0x372981(0xad)](_0x45b595=>_0x45b595()),_0x1e4a9a=[],_0x308dca=!0x1;}));};},_0x23861d=class extends _0x379e5f['RxDisposable']{get['cursorInfo'](){const _0x230241=_0x4a9a20;return this[_0x230241(0x270)][_0x230241(0x3b8)]();}get[_0x4a9a20(0xc1)](){const _0x4b16ab=_0x4a9a20;return this[_0x4b16ab(0x1e3)][_0x4b16ab(0x3b8)]();}constructor(_0x39c24a,_0x390e86,_0x5b3283,_0x3eee95,_0x2641c1,_0x509cde,_0x323c3c,_0xdf5775){const _0xb5cdbb=_0x4a9a20;super(),this[_0xb5cdbb(0xdd)]=_0x39c24a,this[_0xb5cdbb(0x3d0)]=_0x390e86,this['_injector']=_0x5b3283,this[_0xb5cdbb(0xfb)]=_0x3eee95,this['_memberService']=_0x2641c1,this[_0xb5cdbb(0xe3)]=_0x509cde,this[_0xb5cdbb(0x3a1)]=_0x323c3c,this[_0xb5cdbb(0x1f0)]=_0xdf5775,_0x477ff4(this,_0xb5cdbb(0x20f),!0x1),_0x477ff4(this,_0xb5cdbb(0x246),!0x1),_0x477ff4(this,_0xb5cdbb(0x270),new _0x29b66c[(_0xb5cdbb(0x2d0))](new Map())),_0x477ff4(this,_0xb5cdbb(0x33b),this[_0xb5cdbb(0x270)]['asObservable']()),_0x477ff4(this,_0xb5cdbb(0x1e3),new _0x29b66c[(_0xb5cdbb(0x2d0))]([])),_0x477ff4(this,_0xb5cdbb(0x370),this[_0xb5cdbb(0x1e3)][_0xb5cdbb(0x220)]((0x0,_0x29b66c[_0xb5cdbb(0x141)])(0x12c))),_0x477ff4(this,_0xb5cdbb(0x2e4),(0x0,_0x379e5f[_0xb5cdbb(0x2a1)])((_0x340601,_0x1a7766)=>{const _0x30a566=_0xb5cdbb;let _0xc5659={'eventID':_0x180ca7[_0x30a566(0x22b)][_0x30a566(0x39e)],'data':{'unitID':this['unitID'],'memberID':this[_0x30a566(0x3d0)][_0x30a566(0x11f)](),'selection':(0x0,_0x5b6fce[_0x30a566(0xa2)])(_0x340601,_0x1a7766[_0x30a566(0x3b0)])}};this[_0x30a566(0x3d0)]['send'](_0xc5659,this[_0x30a566(0xdd)]);},0x64));}[_0x4a9a20(0x274)](){const _0x119161=_0x4a9a20;super[_0x119161(0x274)](),this[_0x119161(0x270)][_0x119161(0x387)](new Map()),this[_0x119161(0x270)][_0x119161(0xd5)](),this[_0x119161(0x1e3)][_0x119161(0x387)]([]),this['_roomMembers$'][_0x119161(0xd5)]();}[_0x4a9a20(0xca)](){const _0x14c16a=_0x4a9a20;this[_0x14c16a(0x246)]||(this['_init']=!0x0,this[_0x14c16a(0x3d0)][_0x14c16a(0x165)][_0x14c16a(0x220)]((0x0,_0x29b66c[_0x14c16a(0x3be)])(this[_0x14c16a(0x39b)]))['subscribe'](_0x22099a=>{const _0x606cfa=_0x14c16a;_0x22099a===_0x5c5525[_0x606cfa(0x2b4)][_0x606cfa(0x1ca)]?this['_toggleOnline']():this[_0x606cfa(0x134)]();}),this['_session'][_0x14c16a(0x149)]['pipe']((0x0,_0x29b66c[_0x14c16a(0x3be)])(this[_0x14c16a(0x39b)]))[_0x14c16a(0x116)](_0x3ad64d=>{const _0x43dca1=_0x14c16a;let _0x23a788=_0x3ad64d[_0x43dca1(0x9d)];_0x23a788===_0x180ca7['CollaborationEvent'][_0x43dca1(0x39e)]&&this['_onCursorUpdate'](_0x3ad64d),_0x23a788===_0x180ca7['CollaborationEvent'][_0x43dca1(0x3b1)]&&this[_0x43dca1(0x197)](_0x3ad64d);}),this[_0x14c16a(0x237)](),this[_0x14c16a(0x345)](this['_commandService'][_0x14c16a(0x233)](_0x1e76d2=>{const _0x647627=_0x14c16a;if(this['_online']&&_0x1e76d2['id']===_0x1f89be[_0x647627(0x288)]['id']&&_0x1e76d2['params'][_0x647627(0x32a)]===this['unitID']){let _0x2c12e0=_0x1e76d2['params'];this[_0x647627(0x2e4)](_0x2c12e0[_0x647627(0x263)],_0x2c12e0[_0x647627(0x388)][0x0]);}})));}['_onCursorUpdate'](_0x45735d){const _0x5c375a=_0x4a9a20;var _0x203e6a;let {memberID:_0x4740b8,selection:_0x3398ee}=_0x45735d[_0x5c375a(0xbe)],{sheetName:_0x505d2f,range:_0x5931b8}=(0x0,_0x5b6fce['deserializeRangeWithSheet'])(_0x3398ee),_0x5970c4={'name':((_0x203e6a=this[_0x5c375a(0x140)][_0x5c375a(0x201)](this[_0x5c375a(0xdd)],_0x4740b8))==null?void 0x0:_0x203e6a[_0x5c375a(0x3ad)])??_0x5c375a(0x39c),'range':this[_0x5c375a(0xda)](_0x505d2f,_0x5931b8),'sheetID':_0x505d2f,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x4740b8),'selection':_0x3398ee},_0x50740a=this[_0x5c375a(0x34b)];_0x50740a[_0x5c375a(0x25f)](_0x4740b8,_0x5970c4),this[_0x5c375a(0x270)][_0x5c375a(0x387)](_0x50740a);}[_0x4a9a20(0x197)](_0x4c40f1){const _0x2ea6d3=_0x4a9a20;let {memberID:_0xe19b35}=_0x4c40f1[_0x2ea6d3(0xbe)],_0xfdcd87=this[_0x2ea6d3(0x34b)];_0xfdcd87[_0x2ea6d3(0xd0)](_0xe19b35),this[_0x2ea6d3(0x270)][_0x2ea6d3(0x387)](_0xfdcd87);}['_getMergeRange'](_0x377616,_0xcc9dd1){const _0x51ecec=_0x4a9a20;var _0x31c3d6;let _0x5971dc=(_0x31c3d6=this[_0x51ecec(0xe3)][_0x51ecec(0x302)](this[_0x51ecec(0xdd)],_0x379e5f['UniverInstanceType'][_0x51ecec(0x243)]))==null||(_0x31c3d6=_0x31c3d6['getSheetBySheetId'](_0x377616))==null?void 0x0:_0x31c3d6[_0x51ecec(0x38c)]();return(_0x5971dc==null?void 0x0:_0x5971dc[_0x51ecec(0x24d)](_0x4d0e57=>_0x379e5f[_0x51ecec(0x244)][_0x51ecec(0x20c)](_0x4d0e57,_0xcc9dd1)))||_0xcc9dd1;}[_0x4a9a20(0x237)](){const _0x5bb988=_0x4a9a20;let _0x2900f1=new _0x379e5f[(_0x5bb988(0x357))](),_0x22f32b=_0x1dc74b(),_0x200ab0=()=>{const _0x6b5ae4=_0x5bb988;_0x2900f1[_0x6b5ae4(0x274)]();let _0x4857c9=(_0x225e70,_0x9259c3,_0x479ee0,_0xc75e47)=>{const _0x270c59=_0x6b5ae4;let _0xac5294=[];switch(_0x225e70['id']){case _0x1f89be[_0x270c59(0x2ae)][_0x270c59(0x1cc)]:_0xac5294=(0x0,_0x1f89be[_0x270c59(0x326)])(_0x225e70,_0xc75e47);break;case _0x1f89be[_0x270c59(0x2ae)][_0x270c59(0x2bc)]:_0xac5294=(0x0,_0x1f89be[_0x270c59(0xd9)])(_0x225e70,_0xc75e47);break;case _0x1f89be[_0x270c59(0x2ae)][_0x270c59(0x164)]:_0xac5294=(0x0,_0x1f89be[_0x270c59(0x3b3)])(_0x225e70,_0xc75e47);break;case _0x1f89be[_0x270c59(0x2ae)]['InsertRangeMoveDownCommandId']:_0xac5294=(0x0,_0x1f89be[_0x270c59(0x3ce)])(_0x225e70,_0xc75e47);break;case _0x1f89be[_0x270c59(0x2ae)][_0x270c59(0xcc)]:_0xac5294=(0x0,_0x1f89be['handleInsertRangeMoveRight'])(_0x225e70,_0xc75e47);break;case _0x1f89be[_0x270c59(0x2ae)]['InsertRowCommandId']:_0xac5294=(0x0,_0x1f89be['handleInsertRow'])(_0x225e70,_0xc75e47);break;case _0x1f89be[_0x270c59(0x2ae)][_0x270c59(0x111)]:_0xac5294=(0x0,_0x1f89be[_0x270c59(0x319)])(_0x225e70,_0xc75e47);break;case _0x1f89be[_0x270c59(0x2ae)]['RemoveColCommandId']:_0xac5294=(0x0,_0x1f89be[_0x270c59(0x28a)])(_0x225e70,_0xc75e47);break;case _0x1f89be[_0x270c59(0x2ae)][_0x270c59(0x2f9)]:_0xac5294=(0x0,_0x1f89be['handleIRemoveRow'])(_0x225e70,_0xc75e47);}let _0x26e070=(0x0,_0x1f89be[_0x270c59(0x34c)])(_0xac5294,_0xc75e47),_0x3c828d=this[_0x270c59(0x34b)][_0x270c59(0x3c7)](_0x9259c3);if(_0x3c828d&&_0x26e070){let _0x421dab={..._0x3c828d,'range':_0x26e070};this[_0x270c59(0x34b)][_0x270c59(0x25f)](_0x9259c3,_0x421dab),_0x22f32b(()=>{const _0x291302=_0x270c59;let _0x2e8a5b=this[_0x291302(0x1f0)][_0x291302(0x29a)](_0x26e070,_0x14cd45=>(_0x2e8a5b['dispose'](),_0x4857c9(_0x14cd45,_0x9259c3,_0x479ee0,_0x26e070)));_0x2900f1['add'](_0x2e8a5b);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x6b5ae4(0xad)]((_0x5209f6,_0x3fb05f)=>{const _0x41a168=_0x6b5ae4;let {range:_0x4955cf,sheetID:_0x10fb3d}=_0x5209f6,_0xb03ef=this[_0x41a168(0x1f0)]['registerRefRange'](_0x4955cf,_0x73564a=>(_0xb03ef[_0x41a168(0x274)](),_0x4857c9(_0x73564a,_0x3fb05f,_0x10fb3d,_0x4955cf)));_0x2900f1['add'](_0xb03ef);});};this['disposeWithMe']((0x0,_0x379e5f[_0x5bb988(0x1e5)])(this['_cursorInfo$'][_0x5bb988(0x116)](()=>{_0x200ab0();})));}[_0x4a9a20(0x338)](){const _0x579edc=_0x4a9a20;var _0x4e44b0,_0x270d01;if(this[_0x579edc(0x20f)]=!0x0,((_0x4e44b0=this[_0x579edc(0xe3)]['getFocusedUnit']())==null?void 0x0:_0x4e44b0[_0x579edc(0x2c3)]())!==this[_0x579edc(0xdd)])return;let _0x531063=(_0x270d01=this[_0x579edc(0xa3)]['get'](_0x1f89be[_0x579edc(0x3d6)])['getCurrentSelections']())==null?void 0x0:_0x270d01[0x0],_0x484805=this[_0x579edc(0xe3)][_0x579edc(0x2a4)](_0x379e5f[_0x579edc(0x1a5)]['UNIVER_SHEET'])[_0x579edc(0x1b3)]();_0x531063&&_0x484805&&this[_0x579edc(0x2e4)](_0x484805['getSheetId'](),_0x531063);}[_0x4a9a20(0x134)](){const _0x6cfdf3=_0x4a9a20;this[_0x6cfdf3(0x20f)]=!0x1;}};_0x23861d=_0x56d489([_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f['Injector'])),_0x235e3a(0x3,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x47ec3a)),_0x235e3a(0x4,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x5c5525[_0x4a9a20(0xa9)])),_0x235e3a(0x5,_0x379e5f[_0x4a9a20(0x168)]),_0x235e3a(0x6,_0x379e5f[_0x4a9a20(0x1f8)]),_0x235e3a(0x7,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x1f89be[_0x4a9a20(0x21d)]))],_0x23861d);let _0x5e94f1=class extends _0x379e5f[_0x4a9a20(0x1c0)]{constructor(_0x4d1a56,_0x3282e7,_0x4eb789){const _0x4dca70=_0x4a9a20;super(),this[_0x4dca70(0xe3)]=_0x4d1a56,this[_0x4dca70(0xa3)]=_0x3282e7,this[_0x4dca70(0xc8)]=_0x4eb789,_0x477ff4(this,_0x4dca70(0x30b),new Map()),_0x477ff4(this,'_entityInit$',new _0x29b66c[(_0x4dca70(0x283))]()),this[_0x4dca70(0x246)]();}[_0x4a9a20(0x274)](){const _0x32db12=_0x4a9a20;super['dispose'](),this[_0x32db12(0xb3)][_0x32db12(0xd5)](),this[_0x32db12(0x30b)][_0x32db12(0xad)](_0x4fdcfa=>_0x4fdcfa[_0x32db12(0x274)]());}[_0x4a9a20(0x3c4)](_0x3f4574){const _0x537ca6=_0x4a9a20;let _0x467684=this[_0x537ca6(0x30b)]['get'](_0x3f4574);return _0x467684?_0x467684[_0x537ca6(0x33b)]:this[_0x537ca6(0xb3)][_0x537ca6(0x220)]((0x0,_0x29b66c['filter'])(_0x49d813=>_0x49d813['unitID']===_0x3f4574),(0x0,_0x29b66c[_0x537ca6(0xd3)])(_0x3e0660=>_0x3e0660[_0x537ca6(0x33b)]));}[_0x4a9a20(0x246)](){const _0x432a73=_0x4a9a20;this[_0x432a73(0xe3)]['getTypeOfUnitAdded$'](_0x379e5f[_0x432a73(0x1a5)][_0x432a73(0x243)])[_0x432a73(0x220)]((0x0,_0x29b66c[_0x432a73(0x3be)])(this[_0x432a73(0x39b)]))['subscribe'](async _0x3970a3=>{const _0x19bcd2=_0x432a73;let _0x56f7c0=_0x3970a3[_0x19bcd2(0x108)][_0x19bcd2(0x2c3)](),_0x19f9fe=await this['_startSheetCollabCursor'](_0x56f7c0);this[_0x19bcd2(0xb3)][_0x19bcd2(0x387)](_0x19f9fe),this[_0x19bcd2(0x30b)]['set'](_0x56f7c0,_0x19f9fe);}),this[_0x432a73(0xe3)]['getTypeOfUnitAdded$'](_0x379e5f['UniverInstanceType'][_0x432a73(0x139)])[_0x432a73(0x220)]((0x0,_0x29b66c['takeUntil'])(this[_0x432a73(0x39b)]))[_0x432a73(0x220)]((0x0,_0x29b66c['filter'])(_0x476713=>!_0x476713[_0x432a73(0x108)][_0x432a73(0x2c3)]()[_0x432a73(0xc5)]('__')))[_0x432a73(0x116)](async _0x147632=>{const _0x11d166=_0x432a73;let {unit:_0x15c74c}=_0x147632,_0x3c4c0b=_0x15c74c[_0x11d166(0x2c3)](),_0x40e4cb=await this['_startDocCollabCursor'](_0x3c4c0b);this['_entityInit$'][_0x11d166(0x387)](_0x40e4cb),this['_entities']['set'](_0x3c4c0b,_0x40e4cb);}),(0x0,_0x29b66c[_0x432a73(0x3b5)])(this[_0x432a73(0xe3)]['getTypeOfUnitDisposed$'](_0x379e5f[_0x432a73(0x1a5)][_0x432a73(0x139)]),this[_0x432a73(0xe3)]['getTypeOfUnitDisposed$'](_0x379e5f[_0x432a73(0x1a5)][_0x432a73(0x243)]))[_0x432a73(0x220)]((0x0,_0x29b66c[_0x432a73(0x3be)])(this['dispose$']))['subscribe'](_0x30dcb9=>{const _0x2cd173=_0x432a73;let _0x2371d2=_0x30dcb9['getUnitId'](),_0x212c69=this[_0x2cd173(0x30b)][_0x2cd173(0x3c7)](_0x2371d2);_0x212c69&&(_0x212c69[_0x2cd173(0x274)](),this[_0x2cd173(0x30b)][_0x2cd173(0xd0)](_0x2371d2));});}async[_0x4a9a20(0x29e)](_0x584681){const _0x379702=_0x4a9a20;let _0x5a64d4=await this[_0x379702(0xc8)][_0x379702(0x121)](_0x584681),_0x3ae35a=this[_0x379702(0xa3)][_0x379702(0x154)](_0x23861d,_0x584681,_0x5a64d4);return _0x3ae35a[_0x379702(0xca)](),_0x3ae35a;}async[_0x4a9a20(0x2e9)](_0x3f4e){const _0x5477b3=_0x4a9a20;let _0x4fb0ae=await this[_0x5477b3(0xc8)][_0x5477b3(0x121)](_0x3f4e),_0x262015=this[_0x5477b3(0xa3)][_0x5477b3(0x154)](_0x22ea1f,_0x3f4e,_0x4fb0ae);return _0x262015['init'](),_0x262015;}};_0x5e94f1=_0x56d489([_0x235e3a(0x0,_0x379e5f[_0x4a9a20(0x168)]),_0x235e3a(0x1,(0x0,_0x379e5f['Inject'])(_0x379e5f[_0x4a9a20(0x18f)])),_0x235e3a(0x2,(0x0,_0x379e5f['Inject'])(_0x5c5525[_0x4a9a20(0x267)]))],_0x5e94f1);function _0x52f56f(_0x14b3d3,_0x39f441){const _0x2a8b0e=_0x4a9a20;_0x14b3d3['save'](),_0x14b3d3[_0x2a8b0e(0x252)]=_0x2a8b0e(0x221);let _0x3afb7f=_0x14b3d3[_0x2a8b0e(0x2d9)](_0x39f441)[_0x2a8b0e(0x1ee)];return _0x14b3d3[_0x2a8b0e(0x1d2)](),Math[_0x2a8b0e(0x2f7)](_0x3afb7f+0x8,0xc8);}function _0x5e4ca1(_0x14005b,_0x13d21c){const _0x312bfc=_0x4a9a20;let {radius:_0x464589,width:_0x17e223,height:_0x3d7655}=_0x13d21c;_0x464589??=0x0,_0x17e223??=0x1e,_0x3d7655??=0x1e;let _0xacd71c=0x0,_0x40058e=0x0,_0x426151=0x0;_0xacd71c=_0x40058e=_0x426151=Math[_0x312bfc(0x2f7)](_0x464589,_0x17e223/0x2,_0x3d7655/0x2),_0x14005b[_0x312bfc(0x1be)](),_0x14005b['moveTo'](_0xacd71c,0x0),_0x14005b[_0x312bfc(0x191)](_0x17e223-_0x40058e,0x0),_0x14005b[_0x312bfc(0x14a)](_0x17e223-_0x40058e,_0x40058e,_0x40058e,Math['PI']*0x3/0x2,0x0,!0x1),_0x14005b[_0x312bfc(0x191)](_0x17e223,_0x3d7655-_0x426151),_0x14005b[_0x312bfc(0x14a)](_0x17e223-_0x426151,_0x3d7655-_0x426151,_0x426151,0x0,Math['PI']/0x2,!0x1),_0x14005b['lineTo'](0x0,_0x3d7655),_0x14005b[_0x312bfc(0x191)](0x0,_0xacd71c),_0x14005b['arc'](_0xacd71c,_0xacd71c,_0xacd71c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x14005b['closePath'](),_0x13d21c['fill']&&(_0x14005b[_0x312bfc(0x202)](),_0x14005b[_0x312bfc(0x120)]=_0x13d21c[_0x312bfc(0xef)],_0x13d21c[_0x312bfc(0x356)]===_0x312bfc(0x369)?_0x14005b[_0x312bfc(0xef)](_0x312bfc(0x369)):_0x14005b['fill'](),_0x14005b[_0x312bfc(0x1d2)]());}var _0x4b2645=class _0x3cd0a3 extends _0x2a6e7e[_0x4a9a20(0x158)]{constructor(_0x2b00ad,_0xaa3fae){const _0x993bf6=_0x4a9a20;super(_0x2b00ad,_0xaa3fae),_0x477ff4(this,_0x993bf6(0x179),void 0x0),_0x477ff4(this,'text',void 0x0),this[_0x993bf6(0x179)]=_0xaa3fae==null?void 0x0:_0xaa3fae[_0x993bf6(0x179)],this[_0x993bf6(0x142)]=_0xaa3fae==null?void 0x0:_0xaa3fae['text'];}static[_0x4a9a20(0x18b)](_0x412779,_0x2090a3){const _0x30f4a7=_0x4a9a20;let {text:_0x44c88c,color:_0x47cbed}=_0x2090a3;_0x412779[_0x30f4a7(0x202)](),_0x412779[_0x30f4a7(0x252)]=_0x30f4a7(0x256);let _0xc0b15e=_0x412779[_0x30f4a7(0x2d9)](_0x44c88c)[_0x30f4a7(0x1ee)];if(_0x5e4ca1(_0x412779,{'height':0x14,'radius':0x4,'width':_0x52f56f(_0x412779,_0x44c88c),'fill':_0x47cbed,'evented':!0x1}),_0x412779[_0x30f4a7(0x120)]=_0x30f4a7(0x2b3),_0xc0b15e>0xc0){let _0x4aaa62='',_0x116286=0x0;for(let _0x550108 of _0x44c88c){let _0x2ba2a2=_0x412779[_0x30f4a7(0x2d9)](_0x550108)[_0x30f4a7(0x1ee)];if(_0x116286+_0x2ba2a2<=0xc0-_0x412779[_0x30f4a7(0x2d9)]('...')['width'])_0x4aaa62+=_0x550108,_0x116286+=_0x2ba2a2;else{_0x4aaa62+=_0x30f4a7(0x278);break;}}_0x412779[_0x30f4a7(0xf1)](_0x4aaa62,0x4,0xf);}else _0x412779[_0x30f4a7(0xf1)](_0x44c88c,0x4,0xf);_0x412779[_0x30f4a7(0x1d2)]();}[_0x4a9a20(0x2f0)](_0x21eae0){const _0x37e678=_0x4a9a20;_0x3cd0a3[_0x37e678(0x18b)](_0x21eae0,this);}};let _0x5a648a='collab-text-anchor-';var _0x1b6e53=class{constructor(_0x46ad29,_0x195ea5,_0x3ccad3,_0x155555){const _0x5c66dc=_0x4a9a20;this[_0x5c66dc(0x1b1)]=_0x46ad29,this[_0x5c66dc(0x2a8)]=_0x195ea5,this[_0x5c66dc(0x1a3)]=_0x3ccad3,this[_0x5c66dc(0x34a)]=_0x155555,_0x477ff4(this,_0x5c66dc(0x113),[]),_0x477ff4(this,_0x5c66dc(0x20b),null),_0x477ff4(this,'_textBubble',null),_0x477ff4(this,_0x5c66dc(0x3cc),null),_0x477ff4(this,'_hideTimer',null),_0x477ff4(this,_0x5c66dc(0x3b4),null),this[_0x5c66dc(0x22a)]();}set['_hover'](_0x4095ff){const _0x107bb1=_0x4a9a20;_0x4095ff?(this[_0x107bb1(0x3cc)]&&this[_0x107bb1(0x3cc)]['hide'](),this[_0x107bb1(0xb7)]&&this[_0x107bb1(0xb7)][_0x107bb1(0x185)]()):(this['_anchorDot']&&this[_0x107bb1(0x3cc)][_0x107bb1(0x185)](),this['_textBubble']&&this[_0x107bb1(0xb7)]['hide']());}['dispose'](){const _0x3e6bdf=_0x4a9a20;for(let _0x417d40 of this[_0x3e6bdf(0x113)])_0x417d40['dispose']();this[_0x3e6bdf(0xb7)]&&this[_0x3e6bdf(0xb7)]['dispose'](),this[_0x3e6bdf(0x3cc)]&&this[_0x3e6bdf(0x3cc)]['dispose'](),this[_0x3e6bdf(0x20b)]&&this[_0x3e6bdf(0x20b)][_0x3e6bdf(0x274)](),this[_0x3e6bdf(0x3b4)]&&this[_0x3e6bdf(0x3b4)]();}[_0x4a9a20(0x22a)](){const _0x46ace5=_0x4a9a20;let {_docSkeleton:_0x1185e5,_document:_0x1c402b}=this,{color:_0x213b2a,name:_0xe1596f,ranges:_0x2b780a}=this[_0x46ace5(0x1b1)],_0x1b63a9=_0x1c402b['getOffsetConfig'](),{docsLeft:_0x4b314d,docsTop:_0x111e42}=_0x1b63a9,_0x1f074b=new _0x12bff4[(_0x46ace5(0x251))](_0x1b63a9,_0x1185e5);for(let {startOffset:_0x26198a,endOffset:_0x511e0a,rangeType:_0x4e1696,segmentId:_0x393066,segmentPage:_0x61fa6,collapsed:_0x361e9d,isActive:_0x7af244}of _0x2b780a){let _0x54c57e=_0x1185e5[_0x46ace5(0x1ad)](_0x26198a,!0x0,_0x393066,_0x61fa6),_0x51a538=_0x1185e5[_0x46ace5(0x1ad)](_0x511e0a,!0x0,_0x393066,_0x61fa6);_0x51a538??=_0x1185e5[_0x46ace5(0x1ad)](_0x511e0a-0x1,!0x1,_0x393066,_0x61fa6);let _0x14de57=_0x318bda(_0x54c57e,_0x51a538);if(_0x7af244&&_0x14de57[_0x46ace5(0x39d)]){let {contentBoxPointGroup:_0xa89fae}=_0x1f074b[_0x46ace5(0x204)](_0x51a538,_0x51a538);if(_0xa89fae[_0x46ace5(0x103)]===0x0)continue;this['_drawAnchor'](_0x213b2a,_0xa89fae,_0x4b314d,_0x111e42,_0xe1596f),this[_0x46ace5(0x3b4)]=this[_0x46ace5(0x229)]();}if(_0x54c57e&&_0x51a538){if(_0x4e1696===_0x379e5f[_0x46ace5(0xff)][_0x46ace5(0x35e)]){let {pointGroup:_0x507d67}=new _0x12bff4[(_0x46ace5(0x90))](_0x1b63a9,_0x1185e5)[_0x46ace5(0x204)](_0x54c57e,_0x51a538)??{};if(_0x507d67==null||_0x507d67[_0x46ace5(0x103)]===0x0)continue;this['_drawRectRange'](_0x213b2a,_0x507d67,_0x4b314d,_0x111e42);}else{if(!_0x361e9d&&_0x14de57[_0x46ace5(0x217)]){let {borderBoxPointGroup:_0x17d6f2}=_0x1f074b[_0x46ace5(0x204)](_0x54c57e,_0x51a538);if(_0x17d6f2['length']===0x0)continue;this[_0x46ace5(0x1a6)](_0x213b2a,_0x17d6f2,_0x4b314d,_0x111e42);}}}}}[_0x4a9a20(0x258)](_0x5cee41,_0x3cb4aa,_0x45f9b8,_0x30e9a4,_0x52c2d2){const _0x17df10=_0x4a9a20;let {left:_0x2747ca,top:_0x1b5515,height:_0x53715c}=this['_getAnchorBounding'](_0x3cb4aa),_0x3762fc=1.5/this[_0x17df10(0x2b7)](),_0x920485=new _0x2a6e7e[(_0x17df10(0x190))](_0x5a648a+(0x0,_0x379e5f['generateRandomId'])(0x6),{'left':_0x2747ca+_0x45f9b8-_0x3762fc,'top':_0x1b5515+_0x30e9a4,'height':_0x53715c,'width':1.5,'fill':_0x5cee41||(0x0,_0x2a6e7e[_0x17df10(0x14d)])(_0x379e5f[_0x17df10(0x19f)][_0x17df10(0x248)],0x0),'strokeWidth':_0x3762fc,'stroke':_0x17df10(0x17b),'evented':!0x0});this[_0x17df10(0x20b)]=_0x920485,this[_0x17df10(0x2a8)][_0x17df10(0x390)](_0x920485,_0x12bff4[_0x17df10(0x136)]);let _0x55ce96=new _0x2a6e7e[(_0x17df10(0x190))](_0x5a648a+(0x0,_0x379e5f[_0x17df10(0x265)])(0x6),{'left':_0x2747ca+_0x45f9b8-_0x3762fc,'top':_0x1b5515+_0x30e9a4-0x2,'height':0x4,'width':0x4,'fill':_0x5cee41||(0x0,_0x2a6e7e['getColor'])(_0x379e5f[_0x17df10(0x19f)][_0x17df10(0x248)],0x0),'strokeWidth':0x0,'stroke':_0x5cee41||(0x0,_0x2a6e7e[_0x17df10(0x14d)])(_0x379e5f[_0x17df10(0x19f)][_0x17df10(0x248)],0x0),'evented':!0x1});this['_anchorDot']=_0x55ce96,this[_0x17df10(0x2a8)][_0x17df10(0x390)](_0x55ce96,_0x12bff4[_0x17df10(0x136)]);let _0x54d72b=new _0x4b2645(_0x5a648a+(0x0,_0x379e5f[_0x17df10(0x265)])(0x6),{'left':_0x2747ca+_0x45f9b8-_0x3762fc,'top':_0x1b5515+_0x30e9a4-0x14,'text':_0x52c2d2,'color':_0x5cee41});this[_0x17df10(0xb7)]=_0x54d72b,this[_0x17df10(0x2a8)][_0x17df10(0x390)](_0x54d72b,_0x12bff4['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0x4a9a20(0x229)](){const _0x351965=_0x4a9a20;let _0x500ad5=this[_0x351965(0x20b)][_0x351965(0x131)][_0x351965(0x29d)](()=>{this['_hover']=!0x0;}),_0x5b4549=this['_anchor'][_0x351965(0x167)][_0x351965(0x29d)](()=>{const _0xbee58f=_0x351965;this[_0xbee58f(0x145)]&&clearTimeout(this['_hideTimer']),this[_0xbee58f(0x145)]=setTimeout(()=>{const _0x2a2b6c=_0xbee58f;this[_0x2a2b6c(0x3de)]=!0x1;},0x7d0);});return()=>{const _0x5de920=_0x351965;_0x500ad5['unsubscribe'](),_0x5b4549[_0x5de920(0x2db)]();};}[_0x4a9a20(0x1a6)](_0x261b95,_0x1311cf,_0x46de5f,_0x1e5b13){const _0x4b6b0f=_0x4a9a20;let _0x6efbdf=0.2,_0x303ca4=new _0x379e5f['ColorKit'](_0x261b95)['setAlpha'](_0x6efbdf)['toRgbString'](),_0x184da8=new _0x2a6e7e[(_0x4b6b0f(0x236))](_0x4b6b0f(0x312)+(0x0,_0x379e5f[_0x4b6b0f(0x265)])(0x6),{'pointsGroup':_0x1311cf,'fill':_0x303ca4||(0x0,_0x2a6e7e['getColor'])(_0x379e5f[_0x4b6b0f(0x19f)][_0x4b6b0f(0x248)],_0x6efbdf),'left':_0x46de5f,'top':_0x1e5b13,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4b6b0f(0x113)][_0x4b6b0f(0x2bd)](_0x184da8),this['_scene'][_0x4b6b0f(0x390)](_0x184da8,_0x12bff4['TEXT_RANGE_LAYER_INDEX']);}[_0x4a9a20(0x8e)](_0x29735f,_0x515e7e,_0x4c35ab,_0x98144f){const _0x52cdb5=_0x4a9a20;let _0x3e1e5b=0.2,_0x4b9d71=new _0x379e5f[(_0x52cdb5(0x1db))](_0x29735f)[_0x52cdb5(0x3a2)](_0x3e1e5b)[_0x52cdb5(0x174)](),_0x221a3f=new _0x2a6e7e[(_0x52cdb5(0x236))](_0x52cdb5(0x350)+(0x0,_0x379e5f[_0x52cdb5(0x265)])(0x6),{'pointsGroup':_0x515e7e,'fill':_0x4b9d71||(0x0,_0x2a6e7e[_0x52cdb5(0x14d)])(_0x379e5f[_0x52cdb5(0x19f)][_0x52cdb5(0x248)],_0x3e1e5b),'left':_0x4c35ab,'top':_0x98144f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x52cdb5(0x113)][_0x52cdb5(0x2bd)](_0x221a3f),this[_0x52cdb5(0x2a8)][_0x52cdb5(0x390)](_0x221a3f,_0x12bff4['TEXT_RANGE_LAYER_INDEX']);}[_0x4a9a20(0x1bb)](_0x427cf6){let _0xbf2baf=_0x427cf6[0x0],_0x38210a=_0xbf2baf[0x0],_0x13b629=_0xbf2baf[0x2],{x:_0x44940d,y:_0x3e338a}=_0x38210a,{x:_0x4e83e5,y:_0x5dc1cb}=_0x13b629;return{'left':_0x44940d,'top':_0x3e338a,'width':_0x4e83e5-_0x44940d,'height':_0x5dc1cb-_0x3e338a};}[_0x4a9a20(0x2b7)](){const _0x451deb=_0x4a9a20;let {scaleX:_0x4ccca6,scaleY:_0x3c577c}=this[_0x451deb(0x2a8)][_0x451deb(0x18c)]();return Math[_0x451deb(0x261)](_0x4ccca6,_0x3c577c);}};function _0x318bda(_0x218f3e,_0x144245){const _0x3d383d=_0x4a9a20;if(!_0x144245)return{'canRenderAnchor':!0x1,'canRenderSelection':!0x1};if(!_0x218f3e||_0x218f3e[_0x3d383d(0x3d5)]!==_0x144245[_0x3d383d(0x3d5)]||(_0x218f3e['pageType']===_0x2a6e7e[_0x3d383d(0x383)][_0x3d383d(0x3ac)]||_0x218f3e[_0x3d383d(0x3d5)]===_0x2a6e7e[_0x3d383d(0x383)][_0x3d383d(0x133)])&&_0x218f3e[_0x3d383d(0x8d)]!==_0x144245[_0x3d383d(0x8d)])return{'canRenderAnchor':!0x0,'canRenderSelection':!0x1};let _0x2913b7=(0x0,_0x2a6e7e['getDocumentSkeletonColumnPagePathInfo'])(_0x218f3e),_0xc0a984=(0x0,_0x2a6e7e[_0x3d383d(0x3cd)])(_0x144245);return{'canRenderAnchor':!0x0,'canRenderSelection':_0x2913b7==null||_0xc0a984==null?_0x2913b7==null&&_0xc0a984==null:_0x2913b7['pageIndex']===_0xc0a984[_0x3d383d(0x171)]&&_0x2913b7[_0x3d383d(0x24b)]===_0xc0a984['columnGroupId']&&_0x2913b7['columnIndex']===_0xc0a984['columnIndex']};}let _0x5f4219=class extends _0x379e5f['RxDisposable']{constructor(_0x1f8916,_0x2d17dc,_0x298bfc,_0x45c3e6,_0x410e13){const _0x54c6a9=_0x4a9a20;super(),this['_context']=_0x1f8916,this['_docSkeletonManagerService']=_0x2d17dc,this[_0x54c6a9(0x31f)]=_0x298bfc,this[_0x54c6a9(0x3a1)]=_0x45c3e6,this['_themeService']=_0x410e13,_0x477ff4(this,_0x54c6a9(0x378),[]),_0x477ff4(this,_0x54c6a9(0x321),[]),this[_0x54c6a9(0x246)]();}[_0x4a9a20(0x246)](){const _0x49f534=_0x4a9a20;let _0x29b838=this[_0x49f534(0x91)]['unitId'],_0x3cfa51=this[_0x49f534(0x32c)];this[_0x49f534(0x345)]((0x0,_0x29b66c[_0x49f534(0x2cf)])([this['_collabCursorController'][_0x49f534(0x3c4)](_0x29b838),this['_themeService'][_0x49f534(0x1b5)]])[_0x49f534(0x220)]((0x0,_0x4f408e[_0x49f534(0x15d)])(([_0x44dc57,_0xb343f9])=>({'skeleton':_0x3cfa51[_0x49f534(0x127)](),'cursors':[..._0x44dc57[_0x49f534(0x33f)]()]['flatMap'](_0x5a739f=>({..._0x5a739f,'color':this[_0x49f534(0x2f5)]['getColorFromTheme'](_0x5a739f[_0x49f534(0x179)])}))})))['subscribe'](_0x35a25d=>{const _0x544f28=_0x49f534;if(this[_0x544f28(0x1b9)](),_0x35a25d){let {skeleton:_0x1cbae7,cursors:_0x3c33d0}=_0x35a25d;this[_0x544f28(0x2e6)](_0x1cbae7,_0x3c33d0);}})),this[_0x49f534(0x2d7)](),this[_0x49f534(0x354)]();}['_updateCollabCursors'](_0x5a6270,_0x50c3ad){const _0x2d40ed=_0x4a9a20;let {scene:_0x5605ca,mainComponent:_0x30de2f}=this[_0x2d40ed(0x91)],_0x436ad6=_0x50c3ad[_0x2d40ed(0x15d)](_0xa87c63=>new _0x1b6e53(_0xa87c63,_0x5605ca,_0x5a6270,_0x30de2f));this['_cursorShapes']=_0x436ad6,this['_cursors']=_0x50c3ad;}[_0x4a9a20(0x16e)](){const _0x2b8b7a=_0x4a9a20;this[_0x2b8b7a(0x1b9)]();let {scene:_0x4dd066,mainComponent:_0x4ab485}=this['_context'],_0x8609eb=this[_0x2b8b7a(0x32c)][_0x2b8b7a(0x127)](),_0x322ed8=this[_0x2b8b7a(0x321)]['map'](_0x100c4b=>new _0x1b6e53(_0x100c4b,_0x4dd066,_0x8609eb,_0x4ab485));this[_0x2b8b7a(0x378)]=_0x322ed8;}['_removeCollabCursors'](){const _0xf74873=_0x4a9a20;this[_0xf74873(0x378)][_0xf74873(0xad)](_0x499675=>_0x499675[_0xf74873(0x274)]()),this['_cursorShapes']=[];}[_0x4a9a20(0x354)](){const _0x1fcfba=_0x4a9a20;let _0x43cd3c=[_0x12bff4[_0x1fcfba(0x396)]['id']];this['disposeWithMe'](this[_0x1fcfba(0x3a1)][_0x1fcfba(0x233)](_0x5a01a5=>{const _0x3a1a64=_0x1fcfba;_0x43cd3c[_0x3a1a64(0x372)](_0x5a01a5['id'])&&_0x5a01a5[_0x3a1a64(0x26f)]['unitId']===this[_0x3a1a64(0x91)][_0x3a1a64(0x32a)]&&this[_0x3a1a64(0x16e)]();}));}[_0x4a9a20(0x2d7)](){const _0x6cfbd2=_0x4a9a20;this[_0x6cfbd2(0x345)]((0x0,_0x379e5f[_0x6cfbd2(0x2a7)])(this['_context'][_0x6cfbd2(0x2f8)][_0x6cfbd2(0x1b4)])[_0x6cfbd2(0x220)]((0x0,_0x4f408e['filter'])(_0x3c14e4=>_0x3c14e4['type']===_0x2a6e7e[_0x6cfbd2(0x30a)][_0x6cfbd2(0x2fa)]),(0x0,_0x4f408e[_0x6cfbd2(0x365)])(0x10))[_0x6cfbd2(0x116)](()=>{const _0xf1c1f8=_0x6cfbd2;this[_0xf1c1f8(0x16e)]();}));}};_0x5f4219=_0x56d489([_0x235e3a(0x1,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x24609f['DocSkeletonManagerService'])),_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x5e94f1)),_0x235e3a(0x3,_0x379e5f[_0x4a9a20(0x1f8)]),_0x235e3a(0x4,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f[_0x4a9a20(0x14b)]))],_0x5f4219);var _0x1e3c7b=class extends _0x2a6e7e['Shape']{constructor(_0x1328bd,_0x4da89f){const _0x5bfae6=_0x4a9a20;super(_0x1328bd,_0x4da89f),_0x477ff4(this,_0x5bfae6(0x1b7),void 0x0),_0x477ff4(this,'_hovered',!0x1),_0x477ff4(this,'_range',void 0x0),_0x477ff4(this,_0x5bfae6(0x14c),''),_0x477ff4(this,_0x5bfae6(0x1bf),_0x5bfae6(0x150)),_0x477ff4(this,_0x5bfae6(0x1f4),void 0x0),_0x477ff4(this,'_showText',void 0x0),_0x477ff4(this,'_highlight',void 0x0),_0x477ff4(this,_0x5bfae6(0x24c),0x4),_0x477ff4(this,'_blinkTimer',void 0x0),_0x477ff4(this,_0x5bfae6(0x1c5),void 0x0),_0x477ff4(this,_0x5bfae6(0x26e),!0x0),_0x477ff4(this,_0x5bfae6(0x1d5),0x0),_0x477ff4(this,_0x5bfae6(0x27c),_0x5bfae6(0x30f)),_0x4da89f&&(this['setShapeProps'](_0x4da89f),_0x4da89f[_0x5bfae6(0x235)]&&(_0x4da89f[_0x5bfae6(0x306)]??this[_0x5bfae6(0x24c)])&&this[_0x5bfae6(0x2b5)](_0x4da89f[_0x5bfae6(0x306)]??this['_highlightSecond'])),this[_0x5bfae6(0x131)][_0x5bfae6(0x29d)](()=>this[_0x5bfae6(0x1ab)]({'hovered':!0x0})),this[_0x5bfae6(0x167)][_0x5bfae6(0x29d)](()=>this[_0x5bfae6(0x1ab)]({'hovered':!0x1}));}['setOffsetY'](_0x1e7aa7){const _0x2a0d=_0x4a9a20;this[_0x2a0d(0x1d5)]=_0x1e7aa7;}['setShapeProps'](_0x42e308){const _0xef97cc=_0x4a9a20;this[_0xef97cc(0x1b7)]=_0x42e308[_0xef97cc(0x179)]??this['_color'],this[_0xef97cc(0x1c2)]=_0x42e308['hovered']??this[_0xef97cc(0x1c2)],this[_0xef97cc(0x118)]=_0x42e308[_0xef97cc(0x3b0)]??this['_range'],this[_0xef97cc(0x14c)]=_0x42e308['name']??this[_0xef97cc(0x14c)],this[_0xef97cc(0x1bf)]=_0x42e308[_0xef97cc(0x304)]??this[_0xef97cc(0x1bf)],this['_backgroundColor']=_0x42e308['backgroundColor']??this['_backgroundColor'],this[_0xef97cc(0x282)]=_0x42e308[_0xef97cc(0x352)]??this[_0xef97cc(0x282)],this['_labelHorizontalPosition']=_0x42e308[_0xef97cc(0xce)]??this[_0xef97cc(0x27c)],_0x42e308['highlightSecond']!==void 0x0&&(this[_0xef97cc(0x24c)]=_0x42e308[_0xef97cc(0x306)]),_0x42e308[_0xef97cc(0x235)]!==void 0x0&&(this[_0xef97cc(0xa7)]=_0x42e308['highlight']),_0x42e308[_0xef97cc(0x34f)]!==void 0x0&&(this[_0xef97cc(0x1d5)]=_0x42e308[_0xef97cc(0x34f)]),this[_0xef97cc(0xab)]({'width':_0x42e308[_0xef97cc(0x1ee)],'height':_0x42e308['height']});}['onMouseMove'](_0x405480){const _0x12e5dc=_0x4a9a20;let {row:_0x2ce238,column:_0x1c242e}=_0x405480;if(_0x2ce238>=this[_0x12e5dc(0x118)][_0x12e5dc(0x28e)]&&_0x2ce238<=this[_0x12e5dc(0x118)][_0x12e5dc(0xb2)]&&_0x1c242e>=this[_0x12e5dc(0x118)]['startColumn']&&_0x1c242e<=this[_0x12e5dc(0x118)][_0x12e5dc(0x1f1)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x12e5dc(0x1ab)]({'hovered':!0x1});}[_0x4a9a20(0x2b5)](_0x1c0705){const _0x139fb8=_0x4a9a20;this['_stopBlinking'](),this[_0x139fb8(0x26e)]=!0x0,this[_0x139fb8(0x1c5)]=window[_0x139fb8(0x186)](()=>{const _0x45e3a9=_0x139fb8;this[_0x45e3a9(0x26e)]=!this[_0x45e3a9(0x26e)],this[_0x45e3a9(0x362)](!0x0);},0x1f4),this['_blinkTimer']=window['setTimeout'](()=>{const _0x138e8e=_0x139fb8;this[_0x138e8e(0x33d)](),this[_0x138e8e(0x26e)]=!0x0,this[_0x138e8e(0x362)](!0x0);},_0x1c0705*0x3e8);}[_0x4a9a20(0x33d)](){const _0x2bd95c=_0x4a9a20;this[_0x2bd95c(0x1c5)]&&=(window[_0x2bd95c(0x19b)](this[_0x2bd95c(0x1c5)]),void 0x0),this[_0x2bd95c(0x11b)]&&=(window[_0x2bd95c(0x376)](this[_0x2bd95c(0x11b)]),void 0x0);}[_0x4a9a20(0x102)](_0x2339d3){return!0x1;}['dispose'](){const _0x1504fa=_0x4a9a20;this[_0x1504fa(0x33d)](),super[_0x1504fa(0x274)]();}[_0x4a9a20(0x2f0)](_0x15943e){const _0x216118=_0x4a9a20;let _0x98d5a6=this[_0x216118(0x1b7)],_0x30474c=this['_backgroundColor'];if(this[_0x216118(0xa7)]&&!this[_0x216118(0x26e)]&&(_0x98d5a6=this['_getLighterColor'](this[_0x216118(0x1b7)]),_0x30474c=this[_0x216118(0x1f4)]?this[_0x216118(0x18e)](this[_0x216118(0x1f4)]):void 0x0),_0x2a6e7e[_0x216118(0x190)][_0x216118(0x18b)](_0x15943e,{'width':this[_0x216118(0x1ee)],'height':this[_0x216118(0x10d)],'strokeWidth':this[_0x216118(0x3cb)]||1.5,'stroke':_0x98d5a6,'evented':!0x1,'fill':_0x30474c}),this[_0x216118(0x1c2)]||this['_showText']){_0x15943e['save']();let _0x302971=this[_0x216118(0x27c)]==='left'?-_0x52f56f(_0x15943e,this[_0x216118(0x14c)]):this['width'];_0x15943e[_0x216118(0x1f5)](0x1,0x0,0x0,0x1,_0x302971,(this[_0x216118(0x1bf)]===_0x216118(0x1ba)?0x0:-0x14)+(this[_0x216118(0x1d5)]??0x0)),_0x4b2645['drawWith'](_0x15943e,{'text':this[_0x216118(0x14c)],'color':_0x98d5a6}),_0x15943e[_0x216118(0x1d2)]();}}[_0x4a9a20(0x18e)](_0x328f4d){const _0x3e53a9=_0x4a9a20;return _0x328f4d[_0x3e53a9(0xc5)]('#')?'rgba('+Number[_0x3e53a9(0x12e)](_0x328f4d[_0x3e53a9(0xe0)](0x1,0x3),0x10)+',\x20'+Number['parseInt'](_0x328f4d['slice'](0x3,0x5),0x10)+',\x20'+Number[_0x3e53a9(0x12e)](_0x328f4d[_0x3e53a9(0xe0)](0x5,0x7),0x10)+_0x3e53a9(0xfd):_0x328f4d[_0x3e53a9(0xc5)](_0x3e53a9(0x107))?_0x328f4d[_0x3e53a9(0x112)](/[\d.]+\)$/g,'0.2)'):_0x328f4d[_0x3e53a9(0xc5)](_0x3e53a9(0x2c9))?_0x328f4d[_0x3e53a9(0x112)](_0x3e53a9(0x2c9),_0x3e53a9(0x107))['replace'](')',_0x3e53a9(0xfd)):_0x328f4d;}};let _0x146b13=class extends _0x379e5f['RxDisposable']{constructor(_0x569f7b,_0x1b4e9c,_0x206e6f,_0x309bf9){const _0x22f3d9=_0x4a9a20;super(),this[_0x22f3d9(0x91)]=_0x569f7b,this[_0x22f3d9(0x37e)]=_0x1b4e9c,this['_collabCursorController']=_0x206e6f,this[_0x22f3d9(0x2f5)]=_0x309bf9,_0x477ff4(this,_0x22f3d9(0x321),new Set()),_0x477ff4(this,_0x22f3d9(0x331),null),_0x477ff4(this,_0x22f3d9(0x38b),null),this[_0x22f3d9(0x246)]();}[_0x4a9a20(0x246)](){const _0x2b2b63=_0x4a9a20;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x2b2b63(0x220)]((0x0,_0x4f408e[_0x2b2b63(0x3be)])(this[_0x2b2b63(0x39b)]),(0x0,_0x4f408e[_0x2b2b63(0xd3)])(_0x2cbadc=>{const _0x42cd77=_0x2b2b63;if(_0x2cbadc){let _0x59e09a=_0x2cbadc[_0x42cd77(0x2cb)];return(0x0,_0x29b66c[_0x42cd77(0x2cf)])(this[_0x42cd77(0x31f)][_0x42cd77(0x3c4)](this[_0x42cd77(0x91)][_0x42cd77(0x32a)]),this['_themeService'][_0x42cd77(0x1b5)])[_0x42cd77(0x220)]((0x0,_0x4f408e[_0x42cd77(0x15d)])(([_0x491e99,_0x397481])=>{const _0x18d8ca=_0x42cd77;let _0x104f3a=new Map();return _0x491e99[_0x18d8ca(0xad)]((_0x9af8d5,_0x257d7b)=>{const _0x45f661=_0x18d8ca;if(_0x9af8d5[_0x45f661(0x12c)]===_0x59e09a){let _0x1688ef={..._0x9af8d5};_0x1688ef[_0x45f661(0x179)]=this[_0x45f661(0x2f5)][_0x45f661(0x2e0)](_0x9af8d5[_0x45f661(0x179)]),_0x104f3a[_0x45f661(0x25f)](_0x257d7b,_0x1688ef);}}),{'skeleton':_0x2cbadc,'cursors':_0x104f3a};}));}return(0x0,_0x29b66c['of'])({'skeleton':null,'cursors':new Map()});}))[_0x2b2b63(0x116)](({skeleton:_0x2ae637,cursors:_0x2ae6fc})=>{const _0x3ec4df=_0x2b2b63;this[_0x3ec4df(0x1b9)](),_0x2ae637&&this[_0x3ec4df(0x2e6)](_0x2ae637,_0x2ae6fc);}),this['disposeWithMe'](this[_0x2b2b63(0x37e)][_0x2b2b63(0x19c)]['pipe']((0x0,_0x4f408e[_0x2b2b63(0x3be)])(this[_0x2b2b63(0x39b)]))['subscribe'](_0x31ecb5=>{const _0x4b719b=_0x2b2b63;var _0xd6e136;if(_0x31ecb5==null)return;(_0xd6e136=this[_0x4b719b(0x38b)])==null||_0xd6e136['unsubscribe'](),this[_0x4b719b(0x38b)]=null;let {skeleton:_0x2bfc6d}=_0x31ecb5,{scene:_0x1fcd48}=this['_context'];this['_pointerMoveDisposable']=_0x1fcd48[_0x4b719b(0x1e7)][_0x4b719b(0x29d)]((0x0,_0x379e5f['debounce'])(_0x2d57c6=>{const _0x2f7c3d=_0x4b719b;var _0x47b93d,_0x3d9a8c;let {offsetX:_0x5d989d,offsetY:_0x457090}=_0x2d57c6,{x:_0x41d8a0,y:_0x2b66f9}=_0x1fcd48[_0x2f7c3d(0x2ba)](_0x2a6e7e['Vector2'][_0x2f7c3d(0xc9)]([_0x5d989d,_0x457090])),{scaleX:_0x2b0061,scaleY:_0x111e17}=_0x1fcd48['getAncestorScale'](),_0x2dcb50=_0x1fcd48[_0x2f7c3d(0x242)](_0x2a6e7e['SHEET_VIEWPORT_KEY'][_0x2f7c3d(0xf5)]),_0x510c10=_0x1fcd48[_0x2f7c3d(0x8a)](_0x2a6e7e[_0x2f7c3d(0x2ad)][_0x2f7c3d(0xc9)]([_0x41d8a0,_0x2b66f9]),_0x2dcb50),_0x37c086=_0x2bfc6d[_0x2f7c3d(0x166)](_0x5d989d,_0x457090,_0x2b0061,_0x111e17,_0x510c10);(((_0x47b93d=this[_0x2f7c3d(0x331)])==null?void 0x0:_0x47b93d[_0x2f7c3d(0xe5)])!==_0x37c086[_0x2f7c3d(0xe5)]||((_0x3d9a8c=this['_lastPointer'])==null?void 0x0:_0x3d9a8c[_0x2f7c3d(0x122)])!==_0x37c086[_0x2f7c3d(0x122)])&&this[_0x2f7c3d(0x321)][_0x2f7c3d(0xad)](_0x540ac1=>{const _0x37a3dc=_0x2f7c3d;_0x540ac1[_0x37a3dc(0x110)](_0x37c086);});},0x64));})),this[_0x2b2b63(0x345)]((0x0,_0x379e5f[_0x2b2b63(0x1e5)])(()=>{const _0x477810=_0x2b2b63;var _0x292e9c;(_0x292e9c=this['_pointerMoveDisposable'])==null||_0x292e9c[_0x477810(0x2db)](),this['_pointerMoveDisposable']=null;}));}[_0x4a9a20(0x2e6)](_0xfbbecd,_0x4685c3){const _0x341ee2=_0x4a9a20;let _0x66c75d=this[_0x341ee2(0x37e)][_0x341ee2(0x296)]();if(!_0x66c75d)return;let _0x35d3d8=this['_getSheetObject']();if(!_0x35d3d8)return;this[_0x341ee2(0x321)]['forEach'](_0x59263e=>{_0x59263e['makeDirty']();});let {scene:_0x293f40}=_0x35d3d8,_0x4a3561=_0x2209ab(Array['from'](_0x4685c3[_0x341ee2(0x33f)]()))['map'](_0x163fca=>{const _0x57bd59=_0x341ee2;let {color:_0xa0748a,range:_0x2f4a9d,name:_0x4ad3ec,selection:_0x3143e5,sheetID:_0x346644}=_0x163fca,{startColumn:_0x2b5c13,startRow:_0x3d19cc,endColumn:_0x1ae958,endRow:_0x5836da}=_0x2f4a9d,_0x34391d=(0x0,_0x1bf872[_0x57bd59(0x21f)])(_0x3d19cc,_0x2b5c13,_0x293f40,_0x66c75d),_0xf817ff=(0x0,_0x1bf872[_0x57bd59(0x21f)])(_0x5836da,_0x1ae958,_0x293f40,_0x66c75d),{columnHeaderHeightAndMarginTop:_0x49eea3}=_0x66c75d,{startX:_0x38e6a1,startY:_0xce6819}=_0x34391d,{endX:_0xae95ae,endY:_0x5c0375}=_0xf817ff,_0x38ddfb=_0xae95ae-_0x38e6a1,_0x424186=_0x5c0375-_0xce6819;return new _0x1e3c7b(_0x4ad3ec,{'labelPosition':_0xce6819-_0x49eea3>=0x14?'top':_0x57bd59(0x1ba),'sheetID':_0x346644,'range':_0x2f4a9d,'color':_0xa0748a,'name':_0x4ad3ec,'selection':_0x3143e5,'left':_0x38e6a1,'top':_0xce6819,'width':_0x38ddfb,'height':_0x424186,'evented':!0x1,'zIndex':0x1389});});_0x293f40[_0x341ee2(0x2f6)](_0x4a3561,0x1),this['_cursors']=new Set(_0x4a3561);}[_0x4a9a20(0x1b9)](){const _0xf58b3a=_0x4a9a20;var _0x4db9a9;(_0x4db9a9=this[_0xf58b3a(0x321)])==null||_0x4db9a9['forEach'](_0x1f3b3a=>_0x1f3b3a['dispose']());}[_0x4a9a20(0x392)](){const _0x37e200=_0x4a9a20;return(0x0,_0x1bf872[_0x37e200(0x231)])(this['_context'][_0x37e200(0x108)],this[_0x37e200(0x91)]);}};_0x146b13=_0x56d489([_0x235e3a(0x1,(0x0,_0x379e5f['Inject'])(_0x1bf872[_0x4a9a20(0x1b8)])),_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x5e94f1)),_0x235e3a(0x3,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f['ThemeService']))],_0x146b13);function _0x2209ab(_0x29604e){const _0x21d31c=_0x4a9a20;let _0x5e0abf=new Map();return _0x29604e[_0x21d31c(0xad)](_0x5d01fe=>{const _0x53ffe2=_0x21d31c;if(_0x5e0abf[_0x53ffe2(0x192)](_0x5d01fe['selection'])){let _0x3fc373=_0x5e0abf[_0x53ffe2(0x3c7)](_0x5d01fe[_0x53ffe2(0x24e)]);_0x3fc373[_0x53ffe2(0x3ad)]+=',\x20'+_0x5d01fe[_0x53ffe2(0x3ad)];}else _0x5e0abf[_0x53ffe2(0x25f)](_0x5d01fe[_0x53ffe2(0x24e)],_0x5d01fe);}),Array[_0x21d31c(0x16f)](_0x5e0abf[_0x21d31c(0x33f)]());}function _0x4004fb(_0x39f377){return typeof _0x39f377=='object'&&!!_0x39f377;}function _0x57136b(_0x3ba0e1){const _0x2b32b3=_0x4a9a20;return _0x3ba0e1[_0x2b32b3(0x9d)]===_0x180ca7['CollaborationEvent'][_0x2b32b3(0x39e)]&&_0x2b32b3(0xbe)in _0x3ba0e1&&_0x4004fb(_0x3ba0e1[_0x2b32b3(0xbe)])&&typeof _0x3ba0e1[_0x2b32b3(0xbe)][_0x2b32b3(0x225)]==_0x2b32b3(0x23f)&&typeof _0x3ba0e1[_0x2b32b3(0xbe)][_0x2b32b3(0x24e)]=='string';}function _0x4f648a(_0x1c50f1){const _0xf79819=_0x4a9a20;return _0x1c50f1[_0xf79819(0x9d)]===_0x180ca7[_0xf79819(0x22b)][_0xf79819(0x3b1)]&&_0xf79819(0xbe)in _0x1c50f1&&_0x4004fb(_0x1c50f1[_0xf79819(0xbe)])&&typeof _0x1c50f1['data'][_0xf79819(0x225)]=='string';}function _0x1d0e09(_0x3b0bcb,_0x1aad54){const _0x1e5965=_0x4a9a20;let _0x1bb613;try{_0x1bb613=JSON[_0x1e5965(0x351)](_0x3b0bcb);}catch{return null;}if(!_0x4004fb(_0x1bb613)||typeof _0x1bb613['kind']!='string'||typeof _0x1bb613[_0x1e5965(0x32a)]!=_0x1e5965(0x23f)||typeof _0x1bb613[_0x1e5965(0x263)]!=_0x1e5965(0x23f))return null;let _0x464e90=typeof _0x1bb613[_0x1e5965(0xc4)]==_0x1e5965(0x1b2)?_0x1bb613[_0x1e5965(0xc4)]:_0x1aad54;if(_0x464e90==null)return null;let _0x187413=_0x4004fb(_0x1bb613[_0x1e5965(0x26d)])&&typeof _0x1bb613[_0x1e5965(0x26d)]['x']==_0x1e5965(0x1b2)&&Number['isFinite'](_0x1bb613[_0x1e5965(0x26d)]['x'])&&typeof _0x1bb613[_0x1e5965(0x26d)]['y']==_0x1e5965(0x1b2)&&Number[_0x1e5965(0x273)](_0x1bb613[_0x1e5965(0x26d)]['y'])?{'x':_0x1bb613[_0x1e5965(0x26d)]['x'],'y':_0x1bb613['pointer']['y']}:null;return{'kind':_0x1bb613[_0x1e5965(0x3b7)],'unitType':_0x464e90,'unitId':_0x1bb613[_0x1e5965(0x32a)],'subUnitId':_0x1bb613['subUnitId'],'selectedIds':Array[_0x1e5965(0x1af)](_0x1bb613[_0x1e5965(0x1e4)])?_0x1bb613[_0x1e5965(0x1e4)][_0x1e5965(0x9a)](_0x3e3cd3=>typeof _0x3e3cd3==_0x1e5965(0x23f)):[],'focusedId':typeof _0x1bb613[_0x1e5965(0x163)]==_0x1e5965(0x23f)?_0x1bb613[_0x1e5965(0x163)]:null,'pointer':_0x187413};}function _0x133d59(_0x3a6194,_0x1299a1,_0x5f10ed){const _0x1645fd=_0x4a9a20;return{'kind':_0x1299a1,'unitType':_0x3a6194,'unitId':_0x5f10ed[_0x1645fd(0x32a)],'subUnitId':_0x5f10ed[_0x1645fd(0x263)],'selectedIds':Array[_0x1645fd(0x16f)](_0x5f10ed[_0x1645fd(0x1e4)]),'focusedId':_0x5f10ed[_0x1645fd(0x163)],'pointer':_0x5f10ed[_0x1645fd(0x26d)]?{..._0x5f10ed[_0x1645fd(0x26d)]}:null};}let _0x38fe33=class extends _0x379e5f['RxDisposable']{constructor(_0x2cf8f3,_0x542227,_0x2ddf1a,_0x556448,_0x1f3a25,_0x159471){const _0x18c286=_0x4a9a20;super(),this['unitId']=_0x2cf8f3,this['_session']=_0x542227,this[_0x18c286(0x2ce)]=_0x2ddf1a,this[_0x18c286(0xfb)]=_0x556448,this[_0x18c286(0x140)]=_0x1f3a25,this[_0x18c286(0x3a1)]=_0x159471,_0x477ff4(this,_0x18c286(0x20f),!0x1),_0x477ff4(this,'_initialized',!0x1);}get[_0x4a9a20(0xc4)](){const _0x536f4a=_0x4a9a20;return this[_0x536f4a(0x2ce)][_0x536f4a(0xc4)];}[_0x4a9a20(0x274)](){this['_clearRemotePresences'](),super['dispose']();}[_0x4a9a20(0xca)](){const _0x9c4f25=_0x4a9a20;this['_initialized']||(this[_0x9c4f25(0xae)]=!0x0,this[_0x9c4f25(0x3d0)][_0x9c4f25(0x165)][_0x9c4f25(0x220)]((0x0,_0x29b66c['takeUntil'])(this['dispose$']))[_0x9c4f25(0x116)](_0x2d0e38=>{const _0x549f28=_0x9c4f25;if(_0x2d0e38===_0x5c5525['SessionStatus'][_0x549f28(0x1ca)]){this[_0x549f28(0x20f)]=!0x0;let _0x1648be=this[_0x549f28(0x2ce)][_0x549f28(0x147)](this[_0x549f28(0x32a)]);_0x1648be&&this[_0x549f28(0x380)](_0x1648be);return;}this[_0x549f28(0x20f)]=!0x1,this[_0x549f28(0x31e)]();}),this[_0x9c4f25(0x3d0)][_0x9c4f25(0x149)][_0x9c4f25(0x220)]((0x0,_0x29b66c[_0x9c4f25(0x3be)])(this[_0x9c4f25(0x39b)]))['subscribe'](_0xed9286=>{const _0x18c0b0=_0x9c4f25;_0x57136b(_0xed9286)?this[_0x18c0b0(0x364)](_0xed9286):_0x4f648a(_0xed9286)&&this[_0x18c0b0(0x153)](_0xed9286[_0x18c0b0(0xbe)][_0x18c0b0(0x225)]);}),this[_0x9c4f25(0x2ce)][_0x9c4f25(0x1fb)][_0x9c4f25(0x220)]((0x0,_0x29b66c[_0x9c4f25(0x9a)])(_0x441c4d=>this[_0x9c4f25(0x20f)]&&_0x441c4d[_0x9c4f25(0x32a)]===this['unitId']),(0x0,_0x29b66c[_0x9c4f25(0x35c)])(_0x585f40=>(0x0,_0x29b66c[_0x9c4f25(0x257)])(_0x585f40[_0x9c4f25(0x181)]),{'leading':!0x0,'trailing':!0x0}),(0x0,_0x29b66c['takeUntil'])(this[_0x9c4f25(0x39b)]))['subscribe'](_0x31e779=>this[_0x9c4f25(0x380)](_0x31e779)));}[_0x4a9a20(0x380)](_0x775879){const _0x1ddb28=_0x4a9a20;let _0x30ef4d=this[_0x1ddb28(0x3d0)][_0x1ddb28(0x11f)]();if(!_0x30ef4d||!this[_0x1ddb28(0x20f)])return;let _0x2ae5d6={'eventID':_0x180ca7[_0x1ddb28(0x22b)][_0x1ddb28(0x39e)],'data':{'unitID':this[_0x1ddb28(0x32a)],'memberID':_0x30ef4d,'selection':JSON[_0x1ddb28(0xaf)](_0x133d59(this[_0x1ddb28(0xc4)],this[_0x1ddb28(0x2ce)]['presenceKind'],_0x775879))}};this[_0x1ddb28(0x3d0)]['send'](_0x2ae5d6,this[_0x1ddb28(0x32a)])[_0x1ddb28(0x3af)](()=>void 0x0);}[_0x4a9a20(0x364)](_0x5cfd71){const _0x5ac2f0=_0x4a9a20;let {memberID:_0x37be3c,selection:_0x5a73b9}=_0x5cfd71[_0x5ac2f0(0xbe)];if(_0x37be3c===this[_0x5ac2f0(0x3d0)][_0x5ac2f0(0x11f)]())return;let _0x87cfe=_0x1d0e09(_0x5a73b9,this['unitType']);if(!_0x87cfe||_0x87cfe['kind']!==this[_0x5ac2f0(0x2ce)][_0x5ac2f0(0x126)]||_0x87cfe['unitType']!==this[_0x5ac2f0(0xc4)]||_0x87cfe[_0x5ac2f0(0x32a)]!==this[_0x5ac2f0(0x32a)])return;let _0x2c0d95=this['_memberService']['getMember'](this[_0x5ac2f0(0x32a)],_0x37be3c),_0x51c97f={'unitId':_0x87cfe[_0x5ac2f0(0x32a)],'subUnitId':_0x87cfe[_0x5ac2f0(0x263)],'selectedIds':_0x87cfe[_0x5ac2f0(0x1e4)],'focusedId':_0x87cfe['focusedId'],'pointer':_0x87cfe[_0x5ac2f0(0x26d)],'memberId':_0x37be3c,'color':this[_0x5ac2f0(0xfb)][_0x5ac2f0(0x3cf)](_0x37be3c),'name':(_0x2c0d95==null?void 0x0:_0x2c0d95['name'])??_0x37be3c};this[_0x5ac2f0(0x3a1)]['executeCommand'](_0x9de98b['id'],{'unitType':this[_0x5ac2f0(0xc4)],'update':{'type':'set','state':_0x51c97f}})[_0x5ac2f0(0x3af)](()=>void 0x0);}['_removeRemotePresence'](_0x4537f2){const _0xfe0c07=_0x4a9a20;this['_commandService']['executeCommand'](_0x9de98b['id'],{'unitType':this['unitType'],'update':{'type':_0xfe0c07(0x1d9),'unitId':this[_0xfe0c07(0x32a)],'memberId':_0x4537f2}})[_0xfe0c07(0x3af)](()=>void 0x0);}['_clearRemotePresences'](){const _0x1fb507=_0x4a9a20;this[_0x1fb507(0x3a1)][_0x1fb507(0x31d)](_0x9de98b['id'],{'unitType':this['unitType'],'update':{'type':_0x1fb507(0x96),'unitId':this[_0x1fb507(0x32a)]}})[_0x1fb507(0x3af)](()=>void 0x0);}};_0x38fe33=_0x56d489([_0x235e3a(0x3,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x47ec3a)),_0x235e3a(0x4,(0x0,_0x379e5f['Inject'])(_0x5c5525['MemberService'])),_0x235e3a(0x5,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f['ICommandService']))],_0x38fe33);let _0x458d18=class extends _0x379e5f[_0x4a9a20(0x1c0)]{constructor(_0x1f6e90,_0x54df9a,_0x1c054f,_0x265954){const _0x100b53=_0x4a9a20;super(),this[_0x100b53(0xe3)]=_0x1f6e90,this[_0x100b53(0xa3)]=_0x54df9a,this['_collabSessionService']=_0x1c054f,this['_adapterRegistry']=_0x265954,_0x477ff4(this,_0x100b53(0x183),!0x1),_0x477ff4(this,_0x100b53(0x30b),new Map()),_0x477ff4(this,'_pendingEntities',new Map()),_0x477ff4(this,_0x100b53(0x3dd),new Map()),this[_0x100b53(0x246)]();}[_0x4a9a20(0x274)](){const _0x2f1d53=_0x4a9a20;this[_0x2f1d53(0x183)]=!0x0,this[_0x2f1d53(0x3dd)][_0x2f1d53(0xad)](_0x5377e0=>_0x5377e0[_0x2f1d53(0x274)]()),this[_0x2f1d53(0x3dd)][_0x2f1d53(0x96)](),this[_0x2f1d53(0x30b)]['forEach'](_0x41a2a7=>_0x41a2a7['dispose']()),this[_0x2f1d53(0x30b)][_0x2f1d53(0x96)](),this['_pendingEntities'][_0x2f1d53(0x96)](),super[_0x2f1d53(0x274)]();}[_0x4a9a20(0x246)](){const _0x3b74b0=_0x4a9a20;this['_adapterRegistry']['adapters$'][_0x3b74b0(0x220)]((0x0,_0x29b66c[_0x3b74b0(0x3be)])(this['dispose$']))[_0x3b74b0(0x116)](_0x420032=>this['_syncAdapters'](_0x420032));}[_0x4a9a20(0x37a)](_0x392851){const _0x18819f=_0x4a9a20;let _0x63ad34=new Set(_0x392851[_0x18819f(0x15d)](_0x1192f1=>_0x1192f1['unitType']));this[_0x18819f(0x3dd)][_0x18819f(0xad)]((_0x359124,_0x522467)=>{const _0x3f3ce9=_0x18819f;_0x63ad34[_0x3f3ce9(0x192)](_0x522467)||(_0x359124['dispose'](),this[_0x3f3ce9(0x3dd)][_0x3f3ce9(0xd0)](_0x522467),this['_disposeEntitiesForType'](_0x522467));}),_0x392851[_0x18819f(0xad)](_0x1438c1=>{const _0x1f5f8d=_0x18819f;this[_0x1f5f8d(0x3dd)][_0x1f5f8d(0x192)](_0x1438c1[_0x1f5f8d(0xc4)])||this['_bindAdapter'](_0x1438c1);});}[_0x4a9a20(0x218)](_0x5e3e06){const _0x4623f9=_0x4a9a20;let _0x425ecc=new _0x379e5f[(_0x4623f9(0x357))]();this['_adapterDisposables'][_0x4623f9(0x25f)](_0x5e3e06[_0x4623f9(0xc4)],_0x425ecc),_0x425ecc[_0x4623f9(0x2a3)](_0x5e3e06['activate']()),this[_0x4623f9(0xe3)][_0x4623f9(0x292)](_0x5e3e06[_0x4623f9(0xc4)])[_0x4623f9(0xad)](_0x427058=>this['_startEntity'](_0x427058[_0x4623f9(0x2c3)](),_0x5e3e06)[_0x4623f9(0x3af)](()=>void 0x0));let _0xc032be=this[_0x4623f9(0xe3)][_0x4623f9(0x23b)](_0x5e3e06[_0x4623f9(0xc4)])[_0x4623f9(0x116)](({unit:_0x2124a2})=>this[_0x4623f9(0x2ed)](_0x2124a2[_0x4623f9(0x2c3)](),_0x5e3e06)['catch'](()=>void 0x0));_0x425ecc[_0x4623f9(0x2a3)]((0x0,_0x379e5f[_0x4623f9(0x1e5)])(()=>_0xc032be[_0x4623f9(0x2db)]()));let _0x5f3e85=this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5e3e06[_0x4623f9(0xc4)])[_0x4623f9(0x116)](_0x54254f=>this[_0x4623f9(0x2aa)](_0x54254f[_0x4623f9(0x2c3)]()));_0x425ecc[_0x4623f9(0x2a3)]((0x0,_0x379e5f['toDisposable'])(()=>_0x5f3e85[_0x4623f9(0x2db)]()));}async[_0x4a9a20(0x2ed)](_0x19447d,_0x51d870){const _0xaaf9f0=_0x4a9a20;if(this[_0xaaf9f0(0x30b)]['has'](_0x19447d)||this[_0xaaf9f0(0xd2)][_0xaaf9f0(0x192)](_0x19447d))return;let _0x3a1a51={};this[_0xaaf9f0(0xd2)][_0xaaf9f0(0x25f)](_0x19447d,_0x3a1a51);let _0x5356c2=await this[_0xaaf9f0(0xc8)][_0xaaf9f0(0x121)](_0x19447d)['catch'](_0x348807=>{const _0x1e02f0=_0xaaf9f0;throw this['_pendingEntities'][_0x1e02f0(0x3c7)](_0x19447d)===_0x3a1a51&&this[_0x1e02f0(0xd2)]['delete'](_0x19447d),_0x348807;});if(this[_0xaaf9f0(0x183)]||this[_0xaaf9f0(0xd2)][_0xaaf9f0(0x3c7)](_0x19447d)!==_0x3a1a51||this[_0xaaf9f0(0x2d8)]['get'](_0x51d870['unitType'])!==_0x51d870){this['_pendingEntities'][_0xaaf9f0(0x3c7)](_0x19447d)===_0x3a1a51&&this[_0xaaf9f0(0xd2)][_0xaaf9f0(0xd0)](_0x19447d);return;}let _0xb3e68b=this[_0xaaf9f0(0xa3)][_0xaaf9f0(0x154)](_0x38fe33,_0x19447d,_0x5356c2,_0x51d870);_0xb3e68b['init'](),this['_pendingEntities'][_0xaaf9f0(0xd0)](_0x19447d),this[_0xaaf9f0(0x30b)][_0xaaf9f0(0x25f)](_0x19447d,_0xb3e68b);}['_disposeEntity'](_0x41ef50){const _0x309cd8=_0x4a9a20;this[_0x309cd8(0xd2)]['delete'](_0x41ef50);let _0x5b79e9=this[_0x309cd8(0x30b)][_0x309cd8(0x3c7)](_0x41ef50);_0x5b79e9&&(_0x5b79e9[_0x309cd8(0x274)](),this['_entities'][_0x309cd8(0xd0)](_0x41ef50));}[_0x4a9a20(0x1a7)](_0x20e2b8){const _0x47ccc9=_0x4a9a20;this[_0x47ccc9(0xe3)]['getAllUnitsForType'](_0x20e2b8)['forEach'](_0x207806=>this['_pendingEntities']['delete'](_0x207806['getUnitId']())),Array[_0x47ccc9(0x16f)](this[_0x47ccc9(0x30b)][_0x47ccc9(0x366)]())[_0x47ccc9(0xad)](([_0x2ec790,_0x533566])=>{const _0x3e8e63=_0x47ccc9;_0x533566['unitType']===_0x20e2b8&&this[_0x3e8e63(0x2aa)](_0x2ec790);});}};_0x458d18=_0x56d489([_0x235e3a(0x0,_0x379e5f['IUniverInstanceService']),_0x235e3a(0x1,(0x0,_0x379e5f['Inject'])(_0x379e5f[_0x4a9a20(0x18f)])),_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x5c5525[_0x4a9a20(0x267)])),_0x235e3a(0x3,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x191907[_0x4a9a20(0xbd)]))],_0x458d18);let _0x4add48=class extends _0x379e5f['Disposable']{constructor(_0x9bff48,_0x3931f6,_0x224fc6,_0x2c7229,_0x151875,_0x53f8d2){const _0x1d4663=_0x4a9a20;super(),this[_0x1d4663(0x1fe)]=_0x9bff48,this['_localCacheService']=_0x3931f6,this[_0x1d4663(0x94)]=_0x224fc6,this['_messageService']=_0x2c7229,this[_0x1d4663(0x2a0)]=_0x151875,this[_0x1d4663(0x1f6)]=_0x53f8d2,_0x477ff4(this,_0x1d4663(0x2c6),null),_0x477ff4(this,_0x1d4663(0xbf),new Set()),this[_0x1d4663(0x36c)](),this['_initEvent']();}[_0x4a9a20(0x274)](){const _0x6754d=_0x4a9a20;var _0x3a517e;(_0x3a517e=this[_0x6754d(0x2c6)])==null||_0x3a517e[_0x6754d(0x274)](),this[_0x6754d(0x2c6)]=null,super[_0x6754d(0x274)]();}['_setupBeforeClosingHandler'](){const _0x4ea5bb=_0x4a9a20;this[_0x4ea5bb(0x345)](this[_0x4ea5bb(0x1fe)][_0x4ea5bb(0x18d)](()=>{const _0x438e8e=_0x4ea5bb;if(this[_0x438e8e(0xea)][_0x438e8e(0x3a7)]['size'])return this[_0x438e8e(0x1f6)]['t'](_0x438e8e(0x19d));}));}[_0x4a9a20(0x2af)](){const _0x420322=_0x4a9a20;this[_0x420322(0x345)](this['_collaborationUIEventService'][_0x420322(0x149)]['subscribe'](_0x205b55=>{const _0x258b41=_0x420322;_0x205b55['id']===_0x5c5525['CollaborationUIEventId'][_0x258b41(0x1ac)]&&this['_messageService']['show']({'type':_0x51bea6[_0x258b41(0xcb)][_0x258b41(0x343)],'content':this[_0x258b41(0x1f6)]['t'](_0x258b41(0x97))}),_0x205b55['id']===_0x5c5525[_0x258b41(0x3d4)][_0x258b41(0x3c9)]&&this['_messageService'][_0x258b41(0x185)]({'type':_0x51bea6['MessageType'][_0x258b41(0x343)],'content':this[_0x258b41(0x1f6)]['t'](_0x258b41(0x219))}),_0x205b55['id']===_0x5c5525[_0x258b41(0x3d4)][_0x258b41(0x14e)]&&this[_0x258b41(0x294)]({'title':this[_0x258b41(0x1f6)]['t'](_0x258b41(0x172)),'content':this[_0x258b41(0x1f6)]['t'](_0x258b41(0x2fe)),'type':_0x258b41(0x1a8),'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'action':{'label':this[_0x258b41(0x1f6)]['t'](_0x258b41(0x311)),'onClick':_0xccecc0=>{const _0x4c8a58=_0x258b41;_0xccecc0[_0x4c8a58(0x161)](),window['location']['reload']();}}}),_0x205b55['id']===_0x5c5525['CollaborationUIEventId'][_0x258b41(0x3d8)]&&this[_0x258b41(0x2c0)](),_0x205b55['id']===_0x5c5525[_0x258b41(0x3d4)][_0x258b41(0x230)]&&_0x205b55['unitID']&&this[_0x258b41(0x198)](_0x205b55[_0x258b41(0xdd)]),_0x205b55['id']===_0x5c5525[_0x258b41(0x3d4)][_0x258b41(0x313)]&&this[_0x258b41(0x294)]({'title':this['_localeService']['t']('collaboration-client-ui.conflict.title'),'content':this['_localeService']['t']('collaboration-client-ui.conflict.content'),'type':'error','duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'action':{'label':this[_0x258b41(0x1f6)]['t']('collaboration-client-ui.snapshotLoading.refresh'),'onClick':_0x5e1741=>{const _0x390869=_0x258b41;_0x5e1741[_0x390869(0x161)](),window[_0x390869(0x36d)][_0x390869(0x38f)]();}}}),_0x205b55['id']===_0x5c5525[_0x258b41(0x3d4)][_0x258b41(0x24a)]&&this['_messageService']['show']({'type':_0x51bea6[_0x258b41(0xcb)][_0x258b41(0x343)],'content':this[_0x258b41(0x1f6)]['t'](_0x205b55['data']||'')}),_0x205b55['id']===_0x5c5525[_0x258b41(0x3d4)]['SOCKET_FAILED_RETRY']&&this[_0x258b41(0x2a2)][_0x258b41(0x185)]({'type':_0x51bea6[_0x258b41(0xcb)][_0x258b41(0x343)],'content':this['_localeService']['t'](_0x258b41(0x1e1))}),_0x205b55['id']===_0x5c5525[_0x258b41(0x3d4)][_0x258b41(0x93)]&&this['_messageService'][_0x258b41(0x185)]({'type':_0x51bea6[_0x258b41(0xcb)][_0x258b41(0x358)],'content':this[_0x258b41(0x1f6)]['t']('collaboration-client-ui.session.connection-failed')}),_0x205b55['id']===_0x5c5525['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x258b41(0x2a2)][_0x258b41(0x185)]({'type':_0x51bea6[_0x258b41(0xcb)][_0x258b41(0x358)],'content':this[_0x258b41(0x1f6)]['t']('collaboration-client-ui.session.collaboration-timeout')});}));}[_0x4a9a20(0x2c0)](){const _0xf5ec86=_0x4a9a20;this[_0xf5ec86(0x294)]({'title':this[_0xf5ec86(0x1f6)]['t'](_0xf5ec86(0x2d1)),'content':this['_localeService']['t'](_0xf5ec86(0x2b1)),'type':'loading','duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1});}['_showConflictCacheClearFailedNotification'](_0x19efe7){const _0x53f2cf=_0x4a9a20;this['_replaceConflictNotification']({'title':this[_0x53f2cf(0x1f6)]['t'](_0x53f2cf(0x2d1)),'content':this['_localeService']['t'](_0x53f2cf(0xe2)),'type':'error','duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'action':{'label':this[_0x53f2cf(0x1f6)]['t']('collaboration-client-ui.conflict.retry'),'onClick':_0x116e20=>{const _0x3f618b=_0x53f2cf;_0x116e20[_0x3f618b(0x161)](),this[_0x3f618b(0x239)](_0x19efe7);}}});}[_0x4a9a20(0x239)](_0x5c482){const _0x4fd3c0=_0x4a9a20;this[_0x4fd3c0(0xbf)][_0x4fd3c0(0x192)](_0x5c482)||(this[_0x4fd3c0(0xbf)][_0x4fd3c0(0x2a3)](_0x5c482),this[_0x4fd3c0(0x2c0)](),this[_0x4fd3c0(0xea)][_0x4fd3c0(0x12d)](_0x5c482)[_0x4fd3c0(0x2ea)](()=>window[_0x4fd3c0(0x36d)][_0x4fd3c0(0x38f)]())[_0x4fd3c0(0x3af)](()=>this[_0x4fd3c0(0x198)](_0x5c482))[_0x4fd3c0(0x339)](()=>this[_0x4fd3c0(0xbf)][_0x4fd3c0(0xd0)](_0x5c482)));}[_0x4a9a20(0x294)](_0x5d0a72){const _0x1b80b0=_0x4a9a20;var _0x1acbcf;(_0x1acbcf=this[_0x1b80b0(0x2c6)])==null||_0x1acbcf[_0x1b80b0(0x274)](),this[_0x1b80b0(0x2c6)]=this['_notificationService'][_0x1b80b0(0x185)](_0x5d0a72);}};_0x4add48=_0x56d489([_0x235e3a(0x0,_0x191907[_0x4a9a20(0x17e)]),_0x235e3a(0x1,_0x5c5525[_0x4a9a20(0x17d)]),_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x5c5525[_0x4a9a20(0x276)])),_0x235e3a(0x3,_0x191907[_0x4a9a20(0x3d1)]),_0x235e3a(0x4,_0x191907[_0x4a9a20(0x8c)]),_0x235e3a(0x5,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f[_0x4a9a20(0x1e0)]))],_0x4add48);let _0x585290=(0x0,_0x379e5f['createIdentifier'])(_0x4a9a20(0x3ab)),_0x10a8c2=class extends _0x379e5f[_0x4a9a20(0x1c0)]{constructor(_0x26211a,_0x425e4d,_0xd94030,_0x57e581){const _0x214cf0=_0x4a9a20;super(),this[_0x214cf0(0x3bd)]=_0x26211a,this[_0x214cf0(0x203)]=_0x425e4d,this['_commandService']=_0xd94030,this['_dataLoaderService']=_0x57e581,this[_0x214cf0(0x246)]()['catch'](_0xcf3b00=>this[_0x214cf0(0x203)][_0x214cf0(0x1a8)](_0x214cf0(0x89),_0xcf3b00));}async[_0x4a9a20(0x246)](){const _0x599f73=_0x4a9a20;let _0x23b5b8=this[_0x599f73(0x3bd)]['getParam'](_0x599f73(0x108)),_0x4f92a0=this[_0x599f73(0x3bd)][_0x599f73(0x16d)]('type'),_0x4a6dda=this[_0x599f73(0x3bd)][_0x599f73(0x16d)](_0x599f73(0x2a5));if(!_0x23b5b8||!_0x4f92a0){this[_0x599f73(0x203)][_0x599f73(0x2b8)](_0x599f73(0x89),_0x599f73(0x176));return;}let _0x1291bc=await this[_0x599f73(0x130)][_0x599f73(0x16b)](_0x23b5b8,Number(_0x4f92a0),_0x4a6dda);this['_disposed']||_0x1291bc&&_0x1291bc instanceof _0x379e5f[_0x599f73(0x227)]&&await this[_0x599f73(0x125)](_0x1291bc);}async['_setupSubUnitSync'](_0x51bf95){const _0x198a23=_0x4a9a20;await this['_updateSubUnitFromURLParams'](_0x51bf95,!0x0),!this[_0x198a23(0x11c)]&&(_0x51bf95[_0x198a23(0xdb)][_0x198a23(0x220)]((0x0,_0x29b66c[_0x198a23(0x3be)])(this[_0x198a23(0x39b)]))[_0x198a23(0x116)](_0x1bb3f9=>{_0x1bb3f9&&this['_updateURLWithCurrentState'](_0x1bb3f9);}),this['_urlService'][_0x198a23(0x212)][_0x198a23(0x220)]((0x0,_0x29b66c[_0x198a23(0x3be)])(this[_0x198a23(0x39b)]))[_0x198a23(0x116)](()=>{const _0x5b76fd=_0x198a23;this[_0x5b76fd(0x129)](_0x51bf95)[_0x5b76fd(0x3af)](_0x174299=>this['_logService'][_0x5b76fd(0x1a8)](_0x5b76fd(0x89),_0x174299));}));}[_0x4a9a20(0xc7)](_0x11300b,_0x63c6d7=!0x1){const _0x3ee816=_0x4a9a20;let _0x38229e=this['_urlService']['getParam'](_0x3ee816(0x2a5));_0x11300b[_0x3ee816(0x35a)]()!==_0x38229e&&this[_0x3ee816(0x3bd)][_0x3ee816(0x15e)]('subunit',_0x11300b[_0x3ee816(0x35a)](),_0x63c6d7);}async['_updateSubUnitFromURLParams'](_0x3d30a9,_0x56a547=!0x1){const _0x46a1fc=_0x4a9a20;var _0x5c0414;let _0x294e64=this[_0x46a1fc(0x3bd)][_0x46a1fc(0x16d)](_0x46a1fc(0x2a5));if(!_0x294e64||!_0x3d30a9[_0x46a1fc(0x13d)](_0x294e64)){let _0x56bfd6=_0x3d30a9['getUnhiddenWorksheets']()[0x0],_0x36abef=_0x3d30a9[_0x46a1fc(0x13d)](_0x56bfd6);if(!_0x36abef||(this['_updateURLWithCurrentState'](_0x36abef,!0x0),this[_0x46a1fc(0x11c)]))return;await this[_0x46a1fc(0x3a1)][_0x46a1fc(0x31d)](_0x1f89be[_0x46a1fc(0x1fa)]['id'],{'unitId':_0x3d30a9[_0x46a1fc(0x2c3)](),'subUnitId':_0x56bfd6});return;}(_0x56a547||((_0x5c0414=_0x3d30a9[_0x46a1fc(0x1b3)]())==null?void 0x0:_0x5c0414[_0x46a1fc(0x35a)]())!==_0x294e64)&&await this[_0x46a1fc(0x3a1)][_0x46a1fc(0x31d)](_0x1f89be[_0x46a1fc(0x1fa)]['id'],{'unitId':_0x3d30a9[_0x46a1fc(0x2c3)](),'subUnitId':_0x294e64});}};_0x10a8c2=_0x56d489([_0x235e3a(0x0,_0x585290),_0x235e3a(0x1,_0x379e5f[_0x4a9a20(0x2f1)]),_0x235e3a(0x2,_0x379e5f['ICommandService']),_0x235e3a(0x3,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x5c5525[_0x4a9a20(0xb4)]))],_0x10a8c2);let _0x39070c=class{constructor(_0x459f6c,_0x2cbc3d){const _0x49b7c4=_0x4a9a20;this[_0x49b7c4(0xf2)]=_0x459f6c,this[_0x49b7c4(0x373)]=_0x2cbc3d;}[_0x4a9a20(0x2be)](_0xacdaad){const _0x1e52ec=_0x4a9a20;this[_0x1e52ec(0x1b0)](_0xacdaad),this[_0x1e52ec(0x277)](_0xacdaad);}[_0x4a9a20(0x1f3)](_0x2565fa){const _0x369eb2=_0x4a9a20;let {unitID:_0x41f638}=_0x2565fa,{redoCache:_0x53153e}=this[_0x369eb2(0x373)][_0x369eb2(0x298)](_0x41f638)[_0x369eb2(0x253)](_0x12bff4[_0x369eb2(0x332)])[_0x369eb2(0x2c8)]();if(_0x53153e[_0x369eb2(0x103)]===0x0)return _0x2565fa;let _0x476c54=_0x379e5f['Tools'][_0x369eb2(0x272)](_0x2565fa[_0x369eb2(0x215)][0x0]);for(let _0xec7952=0x0;_0xec7952<_0x53153e[_0x369eb2(0x103)];_0xec7952++){let _0xc04602={'id':'doc.mutation.rich-text-editing','params':{..._0x53153e[_0xec7952]}},_0x46a785=this['_transformService'][_0x369eb2(0x2bf)](_0x476c54,_0xc04602,!0x1);if((0x0,_0x180ca7[_0x369eb2(0x1cb)])(_0x46a785))throw _0x46a785['error'];_0x476c54=_0x46a785[_0x369eb2(0x1da)];}return{..._0x379e5f['Tools']['deepClone'](_0x2565fa),'mutations':[_0x476c54]};}[_0x4a9a20(0x1b0)](_0x4ec098){const _0x273ed3=_0x4a9a20;let {unitID:_0x45739d}=_0x4ec098,_0xea86fd=this[_0x273ed3(0x373)][_0x273ed3(0x298)](_0x45739d)[_0x273ed3(0x253)](_0x12bff4[_0x273ed3(0x332)]),{undoCache:_0x413951,redoCache:_0x218506}=_0xea86fd[_0x273ed3(0x2c8)]();if(_0x413951['length']===0x0||_0x218506[_0x273ed3(0x103)]===0x0)return;let _0x34f37b=[],_0x45aa01=[],_0x14e2c8=_0x379e5f['Tools'][_0x273ed3(0x272)](_0x4ec098[_0x273ed3(0x215)][0x0]),_0x477a39=_0x379e5f['Tools'][_0x273ed3(0x272)](_0x4ec098['mutations'][0x0]);for(let _0x3702d2=_0x413951[_0x273ed3(0x103)]-0x1;_0x3702d2>=0x0;_0x3702d2--){let _0x24e50c={'id':_0x273ed3(0x1bc),'params':{..._0x413951[_0x3702d2]}},_0x52ef4c={'id':_0x273ed3(0x1bc),'params':{..._0x218506[_0x3702d2]}},_0x466f7e=this['_transformService'][_0x273ed3(0x2bf)](_0x14e2c8,_0x24e50c,!0x1),_0x5c8d08=this[_0x273ed3(0xf2)][_0x273ed3(0x2bf)](_0x477a39,_0x52ef4c,!0x1);if((0x0,_0x180ca7[_0x273ed3(0x1cb)])(_0x466f7e))throw _0x466f7e[_0x273ed3(0x1a8)];if((0x0,_0x180ca7[_0x273ed3(0x1cb)])(_0x5c8d08))throw _0x5c8d08[_0x273ed3(0x1a8)];_0x34f37b[_0x273ed3(0xe9)](_0x466f7e[_0x273ed3(0x2c7)]['params']),_0x45aa01[_0x273ed3(0xe9)](_0x5c8d08[_0x273ed3(0x2c7)]['params']),_0x14e2c8=_0x466f7e[_0x273ed3(0x1da)],_0x477a39=_0x5c8d08[_0x273ed3(0x1da)];}_0xea86fd[_0x273ed3(0x1cd)]({'undoCache':_0x34f37b,'redoCache':_0x45aa01});}[_0x4a9a20(0x277)](_0x2ed245){const _0x15b054=_0x4a9a20;let {unitID:_0x461ad2}=_0x2ed245,_0x4ba0fb=this[_0x15b054(0x373)]['getRenderUnitById'](_0x461ad2)[_0x15b054(0x253)](_0x12bff4[_0x15b054(0x332)]),_0x2f59f7=_0x4ba0fb[_0x15b054(0x3c0)]();if(_0x2f59f7==null)return;let _0x6e0ea8=[{'id':_0x15b054(0x1bc),'params':{'unitId':_0x2ed245['unitID'],'actions':null,'textRanges':[_0x2f59f7]}}],_0x48e5ef=this[_0x15b054(0xf2)][_0x15b054(0x160)](_0x2ed245,_0x6e0ea8);if(!(0x0,_0x180ca7[_0x15b054(0x391)])(_0x48e5ef))throw _0x48e5ef[_0x15b054(0x1a8)];let _0x174896=_0x48e5ef[_0x15b054(0x2c7)][0x0]['params'][_0x15b054(0x348)];Array[_0x15b054(0x1af)](_0x174896)&&_0x174896[_0x15b054(0x103)]&&_0x4ba0fb['setActiveRange'](_0x174896[0x0]);}};_0x39070c=_0x56d489([_0x235e3a(0x0,_0x180ca7[_0x4a9a20(0x300)]),_0x235e3a(0x1,_0x2a6e7e[_0x4a9a20(0x1ed)])],_0x39070c);let _0x22af92=class{constructor(_0xf8fadb,_0x16b1ee,_0xff91f){const _0x21f501=_0x4a9a20;this[_0x21f501(0xa3)]=_0xf8fadb,this[_0x21f501(0xf2)]=_0x16b1ee,this[_0x21f501(0x26b)]=_0xff91f;}[_0x4a9a20(0x2dd)](_0x48dcef){this['_transformHistoryAndStateStack'](_0x48dcef);}['transformRemoteChangeset'](_0x1751ae){const _0x5c8081=_0x4a9a20;let {unitID:_0x2e06e6}=_0x1751ae,{collaboration:_0x2184a5}=this[_0x5c8081(0x26b)][_0x5c8081(0xb8)](_0x2e06e6);if(_0x2184a5[_0x5c8081(0x103)]===0x0)return _0x1751ae;let _0x3eef59=_0x379e5f[_0x5c8081(0xdf)][_0x5c8081(0x272)](_0x1751ae['mutations'][0x0]);for(let _0x1c0850=0x0;_0x1c0850<_0x2184a5[_0x5c8081(0x103)];_0x1c0850++){let _0x36d6d5={'id':_0x5c8081(0x1bc),'params':{'unitId':_0x2184a5[_0x1c0850]['unitId'],..._0x2184a5[_0x1c0850][_0x5c8081(0xc2)]}},_0xe9288c=this[_0x5c8081(0xf2)][_0x5c8081(0x2bf)](_0x3eef59,_0x36d6d5,!0x1);if((0x0,_0x180ca7['isTransformMutationFailure'])(_0xe9288c))throw _0xe9288c['error'];_0x3eef59=_0xe9288c[_0x5c8081(0x1da)];}return{..._0x379e5f[_0x5c8081(0xdf)][_0x5c8081(0x272)](_0x1751ae),'mutations':[_0x3eef59]};}[_0x4a9a20(0x275)](_0x63e366){const _0x215d77=_0x4a9a20;let {unitID:_0x29d676}=_0x63e366,{history:_0x4a4db3,collaboration:_0x2d994f}=this[_0x215d77(0x26b)]['getStateCache'](_0x29d676);if(_0x4a4db3['length']===0x0&&_0x2d994f[_0x215d77(0x103)]===0x0)return;let _0x5c0ce1=[],_0x30883b=[],_0x3d2bf6=_0x379e5f[_0x215d77(0xdf)]['deepClone'](_0x63e366[_0x215d77(0x215)][0x0]),_0x1a32d5=_0x379e5f['Tools'][_0x215d77(0x272)](_0x63e366['mutations'][0x0]);for(let _0x3b632e=_0x4a4db3[_0x215d77(0x103)]-0x1;_0x3b632e>=0x0;_0x3b632e--){let _0x2b8201={'id':_0x215d77(0x1bc),'params':{'unitId':_0x4a4db3[_0x3b632e][_0x215d77(0x32a)],..._0x4a4db3[_0x3b632e]['undoState']}},_0x300a48={'id':_0x215d77(0x1bc),'params':{'unitId':_0x4a4db3[_0x3b632e]['unitId'],..._0x4a4db3[_0x3b632e][_0x215d77(0xc2)]}},_0x49ac1d=this[_0x215d77(0xf2)][_0x215d77(0x2bf)](_0x3d2bf6,_0x2b8201,!0x1),_0x578c0d=this[_0x215d77(0xf2)]['transformMutation'](_0x1a32d5,_0x300a48,!0x1);if((0x0,_0x180ca7[_0x215d77(0x1cb)])(_0x49ac1d))throw _0x49ac1d[_0x215d77(0x1a8)];if((0x0,_0x180ca7[_0x215d77(0x1cb)])(_0x578c0d))throw _0x578c0d[_0x215d77(0x1a8)];_0x5c0ce1[_0x215d77(0xe9)]({..._0x4a4db3[_0x3b632e],'undoState':_0x49ac1d[_0x215d77(0x2c7)][_0x215d77(0x26f)],'redoState':_0x578c0d[_0x215d77(0x2c7)][_0x215d77(0x26f)]}),_0x3d2bf6=_0x49ac1d[_0x215d77(0x1da)],_0x1a32d5=_0x578c0d[_0x215d77(0x1da)];}_0x3d2bf6=_0x379e5f[_0x215d77(0xdf)]['deepClone'](_0x63e366[_0x215d77(0x215)][0x0]),_0x1a32d5=_0x379e5f[_0x215d77(0xdf)]['deepClone'](_0x63e366[_0x215d77(0x215)][0x0]);for(let _0x7bc7e7=_0x2d994f[_0x215d77(0x103)]-0x1;_0x7bc7e7>=0x0;_0x7bc7e7--){let _0x62a794={'id':_0x215d77(0x1bc),'params':{'unitId':_0x2d994f[_0x7bc7e7][_0x215d77(0x32a)],..._0x2d994f[_0x7bc7e7][_0x215d77(0x384)]}},_0x3a18e7={'id':_0x215d77(0x1bc),'params':{'unitId':_0x2d994f[_0x7bc7e7][_0x215d77(0x32a)],..._0x2d994f[_0x7bc7e7][_0x215d77(0xc2)]}},_0x36947d=this[_0x215d77(0xf2)][_0x215d77(0x2bf)](_0x3d2bf6,_0x62a794,!0x1),_0x49a928=this[_0x215d77(0xf2)]['transformMutation'](_0x1a32d5,_0x3a18e7,!0x1);if((0x0,_0x180ca7[_0x215d77(0x1cb)])(_0x36947d))throw _0x36947d[_0x215d77(0x1a8)];if((0x0,_0x180ca7[_0x215d77(0x1cb)])(_0x49a928))throw _0x49a928[_0x215d77(0x1a8)];_0x30883b[_0x215d77(0xe9)]({..._0x2d994f[_0x7bc7e7],'undoState':_0x36947d[_0x215d77(0x2c7)]['params'],'redoState':_0x49a928[_0x215d77(0x2c7)]['params']}),_0x3d2bf6=_0x36947d[_0x215d77(0x1da)],_0x1a32d5=_0x49a928[_0x215d77(0x1da)];}this['_docStateChangeManagerService'][_0x215d77(0x98)](_0x29d676,{'history':_0x5c0ce1,'collaboration':_0x30883b});}};_0x22af92=_0x56d489([_0x235e3a(0x0,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f[_0x4a9a20(0x18f)])),_0x235e3a(0x1,_0x180ca7[_0x4a9a20(0x300)]),_0x235e3a(0x2,(0x0,_0x379e5f['Inject'])(_0x24609f['DocStateChangeManagerService']))],_0x22af92);let _0x5c5c58=class{constructor(_0x3a39fd,_0x4f7247){const _0x4e9a0e=_0x4a9a20;this[_0x4e9a0e(0x290)]=_0x3a39fd,this[_0x4e9a0e(0xf2)]=_0x4f7247;}['prepareTransformSelections'](_0xef4f53){const _0x411880=_0x4a9a20;var _0x46e765;let _0x1290dd=this['_docSelectionManagerService'][_0x411880(0x3bb)]()??[],_0x504650=this[_0x411880(0x290)]['getSelectionInfo']();if(_0x1290dd[_0x411880(0x103)]===0x0||_0x504650==null)return null;let _0x4b342d=_0xef4f53[_0x411880(0xdd)],_0x577e48=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4b342d,'actions':null,'textRanges':_0x1290dd}}],_0x18da9f=this[_0x411880(0xf2)][_0x411880(0x160)](_0xef4f53,_0x577e48);if(!(0x0,_0x180ca7[_0x411880(0x391)])(_0x18da9f))throw _0x18da9f[_0x411880(0x1a8)];let _0x24441e=(_0x46e765=_0x18da9f[_0x411880(0x2c7)][0x0])==null?void 0x0:_0x46e765[_0x411880(0x26f)],_0xc920f1=_0x24441e&&typeof _0x24441e=='object'&&_0x411880(0x348)in _0x24441e?_0x24441e[_0x411880(0x348)]:null;if(!_0x37100c(_0xc920f1))return null;let _0x2a27f9=_0x50c217(_0xef4f53[_0x411880(0x215)][_0x411880(0x324)](_0x48bf41=>_0x4ee44f(_0x48bf41[_0x411880(0x26f)]))?_0xc920f1[_0x411880(0x9a)](_0x23430f=>!('tableId'in _0x23430f)):_0xc920f1,{..._0x504650,'options':_0x504650[_0x411880(0x1a0)]?{..._0x504650['options'],'wholeDocument':!0x1}:void 0x0}),_0x30e049={'unitId':_0x4b342d,'subUnitId':_0x4b342d};this[_0x411880(0x290)][_0x411880(0x342)](_0x2a27f9,_0x30e049);let _0x54ab4b=!0x0;return{'commit':()=>{_0x54ab4b=!0x1;},'rollback':()=>{const _0x73ac4=_0x411880;_0x54ab4b&&(_0x54ab4b=!0x1,this[_0x73ac4(0x290)][_0x73ac4(0x342)](_0x504650,_0x30e049));}};}};_0x5c5c58=_0x56d489([_0x235e3a(0x0,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x24609f[_0x4a9a20(0x2d3)])),_0x235e3a(0x1,_0x180ca7[_0x4a9a20(0x300)])],_0x5c5c58);function _0x50c217(_0x2a8d8d,_0x5aeee2){const _0x93fee0=_0x4a9a20;let _0x180294=[],_0x476008=[];for(let _0x6ff5e7 of _0x2a8d8d)_0x586c07(_0x6ff5e7)?_0x476008[_0x93fee0(0x2bd)](_0x6ff5e7):_0x180294[_0x93fee0(0x2bd)](_0x6ff5e7);return{..._0x5aeee2,'textRanges':_0x180294,'rectRanges':_0x476008};}function _0x586c07(_0x53e801){const _0x3963ef=_0x4a9a20;return _0x3963ef(0x33e)in _0x53e801;}function _0x37100c(_0x27f668){const _0x16bbd9=_0x4a9a20;return Array[_0x16bbd9(0x1af)](_0x27f668)&&_0x27f668['every'](_0x4d1a77=>typeof _0x4d1a77=='object'&&!!_0x4d1a77&&_0x16bbd9(0x10e)in _0x4d1a77&&'endOffset'in _0x4d1a77);}function _0x4ee44f(_0x48acf4){const _0x3549a5=_0x4a9a20;return _0x48acf4==='tableSource'?!0x0:Array['isArray'](_0x48acf4)?_0x48acf4[_0x3549a5(0x324)](_0x421469=>_0x4ee44f(_0x421469)):!_0x48acf4||typeof _0x48acf4!=_0x3549a5(0x1e2)?!0x1:Object[_0x3549a5(0x33f)](_0x48acf4)[_0x3549a5(0x324)](_0x5554fa=>_0x4ee44f(_0x5554fa));}let _0x187992=class extends _0x379e5f[_0x4a9a20(0x359)]{constructor(_0x4d9a6c,_0x1e61cc,_0x527893,_0x10c4ea,_0x81ea63,_0x2e2e18,_0x48d1d9){const _0x5683be=_0x4a9a20;super(),this[_0x5683be(0x29c)]=_0x4d9a6c,this[_0x5683be(0x241)]=_0x1e61cc,this['_docTransformStateCacheService']=_0x527893,this['_docTransformSelectionsService']=_0x10c4ea,this[_0x5683be(0x349)]=_0x81ea63,this[_0x5683be(0x2a2)]=_0x2e2e18,this[_0x5683be(0x1f6)]=_0x48d1d9,_0x477ff4(this,_0x5683be(0xa5),new _0x29b66c['BehaviorSubject'](_0x5c5525[_0x5683be(0x307)][_0x5683be(0x361)])),this['_initEntityListener']();}[_0x4a9a20(0x360)](){const _0x2ed21f=_0x4a9a20;this[_0x2ed21f(0x345)](this[_0x2ed21f(0x29c)]['entityInit$'][_0x2ed21f(0x116)](_0x324453=>{const _0x4bbb2f=_0x2ed21f;_0x324453 instanceof _0x5c5525[_0x4bbb2f(0x1d7)]&&_0x324453[_0x4bbb2f(0x1bd)]({'onTransformIME':_0x447d08=>this[_0x4bbb2f(0x241)]['transformIMECache'](_0x447d08),'onTransformState':_0xf04b1e=>this[_0x4bbb2f(0x15c)][_0x4bbb2f(0x2dd)](_0xf04b1e),'onPrepareTransformSelections':_0x346b67=>this[_0x4bbb2f(0x106)][_0x4bbb2f(0x207)](_0x346b67),'onSyncEditingCollabCursor':_0x1e585f=>this[_0x4bbb2f(0x349)][_0x4bbb2f(0x2ca)](_0x1e585f),'onTransformRemoteChangesetByIMECache':_0x1eeae4=>this[_0x4bbb2f(0x241)]['transformRemoteChangeset'](_0x1eeae4),'onTransformRemoteChangesetByStateCache':_0x12b823=>this[_0x4bbb2f(0x15c)][_0x4bbb2f(0x1f3)](_0x12b823)});}));}};_0x187992=_0x56d489([_0x235e3a(0x0,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x5c5525['CollaborationController'])),_0x235e3a(0x1,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x39070c)),_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x22af92)),_0x235e3a(0x3,(0x0,_0x379e5f['Inject'])(_0x5c5c58)),_0x235e3a(0x4,(0x0,_0x379e5f['Inject'])(_0x2430ce)),_0x235e3a(0x5,_0x191907[_0x4a9a20(0x3d1)]),_0x235e3a(0x6,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f['LocaleService']))],_0x187992);let _0x289860=class extends _0x379e5f[_0x4a9a20(0x359)]{constructor(_0x23ba89,_0x6e62ee,_0x52808d,_0x21fd5d){const _0x23417f=_0x4a9a20;super(),this[_0x23417f(0xa3)]=_0x23ba89,this[_0x23417f(0x301)]=_0x6e62ee,this[_0x23417f(0x203)]=_0x52808d,this[_0x23417f(0x124)]=_0x21fd5d,_0x477ff4(this,_0x23417f(0x2d4),void 0x0),this['_init']();}[_0x4a9a20(0x246)](){const _0x435018=_0x4a9a20;this[_0x435018(0x2a9)](),this[_0x435018(0xf8)](),this[_0x435018(0x382)](),this['_initUserListener']();}[_0x4a9a20(0x208)](){const _0xa932f4=_0x4a9a20;this[_0xa932f4(0x345)](this['_collaborationSessionService'][_0xa932f4(0x375)]['subscribe'](_0x44d1f8=>{const _0x33eb19=_0xa932f4;this['_memberID']=_0x44d1f8==null?void 0x0:_0x44d1f8[_0x33eb19(0x225)];}));}['_initWindowErrorListener'](){const _0xbbe37d=_0x4a9a20;let _0x12cdb4=_0x32d64a=>{const _0x41a579=_0x861d;var _0x50ffc2;this['_uploadLog'](_0x41a579(0x1a8),_0x41a579(0x3e2)+_0x32d64a['message']+'\x20at\x20'+_0x32d64a[_0x41a579(0x23a)]+':'+_0x32d64a[_0x41a579(0x117)]+':'+_0x32d64a['colno']+'\x0a'+(((_0x50ffc2=_0x32d64a[_0x41a579(0x1a8)])==null?void 0x0:_0x50ffc2[_0x41a579(0x189)])||''));};window[_0xbbe37d(0x200)](_0xbbe37d(0x1a8),_0x12cdb4),this[_0xbbe37d(0x345)](()=>{const _0x7a5845=_0xbbe37d;window['removeEventListener'](_0x7a5845(0x1a8),_0x12cdb4);});}[_0x4a9a20(0xf8)](){const _0x511439=_0x4a9a20;let _0x39a179=_0x2153db=>{const _0x54b58f=_0x861d;this[_0x54b58f(0x346)](_0x54b58f(0x1a8),_0x54b58f(0x31b)+_0x2153db['reason']);};window[_0x511439(0x200)](_0x511439(0x1d0),_0x39a179),this[_0x511439(0x345)](()=>{const _0x1d700d=_0x511439;window[_0x1d700d(0x353)](_0x1d700d(0x1d0),_0x39a179);});}['_monkeyPatchLogService'](){const _0x3bdaaf=_0x4a9a20;let _0x267834=this[_0x3bdaaf(0x203)]['error'][_0x3bdaaf(0x25e)](this[_0x3bdaaf(0x203)]);this[_0x3bdaaf(0x203)][_0x3bdaaf(0x1a8)]=(..._0x244ecd)=>{const _0x1268a6=_0x3bdaaf;let _0x30aafe=_0x244ecd[_0x1268a6(0x15d)](_0x2b4697=>_0x2b4697 instanceof Error?_0x2b4697['message']+'\x0a'+_0x2b4697['stack']:String(_0x2b4697))[_0x1268a6(0xe6)]('\x20');this['_uploadLog']('error',_0x1268a6(0x25b)+_0x30aafe),_0x267834(..._0x244ecd);},this[_0x3bdaaf(0x345)](()=>{const _0x4738db=_0x3bdaaf;this[_0x4738db(0x203)][_0x4738db(0x1a8)]=_0x267834;});}[_0x4a9a20(0x346)](_0x3d80aa,_0x49d787){const _0x5d8c21=_0x4a9a20;try{let _0x53dbaa={'userId':this[_0x5d8c21(0x2d4)],'logLabel':_0x3d80aa,'content':_0x49d787};this['_httpService'][_0x5d8c21(0x211)](_0x5d8c21(0x193),{'body':_0x53dbaa})[_0x5d8c21(0x3af)](()=>{});}catch{}}};_0x289860=_0x56d489([_0x235e3a(0x0,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f[_0x4a9a20(0x18f)])),_0x235e3a(0x1,(0x0,_0x379e5f['Inject'])(_0x1c13d8[_0x4a9a20(0x1fd)])),_0x235e3a(0x2,_0x379e5f['ILogService']),_0x235e3a(0x3,(0x0,_0x379e5f['Inject'])(_0x5c5525[_0x4a9a20(0x267)]))],_0x289860);function _0x277644({state$:_0x5733dd}){const _0x11fd24=_0x4a9a20;let _0x758b6=(0x0,_0x191907['useObservable'])(_0x5733dd,null,!0x0);return _0x758b6?(0x0,_0x49e2bf[_0x11fd24(0xe1)])(_0x11fd24(0x250),{'data-u-comp':_0x11fd24(0x2eb),'role':_0x11fd24(0x1ae),'className':_0x11fd24(0x1a1),'children':[(0x0,_0x49e2bf['jsx'])(_0x2431b5,{'className':_0x11fd24(0x2e3)}),(0x0,_0x49e2bf[_0x11fd24(0x92)])('span',{'children':_0x758b6[_0x11fd24(0x28d)]}),(0x0,_0x49e2bf[_0x11fd24(0x92)])(_0x51bea6['Button'],{'size':_0x11fd24(0x152),'variant':'primary','onClick':()=>window[_0x11fd24(0x36d)]['reload'](),'children':_0x758b6[_0x11fd24(0x123)]})]}):null;}let _0x3c2f0f=_0x4a9a20(0x12a),_0x1183a2=class extends _0x379e5f['Disposable']{constructor(_0x429d24,_0x3dc68c,_0x5a4017,_0x548525,_0x2cd10b,_0x5bdaa6){const _0x1fe6ed=_0x4a9a20;super(),this[_0x1fe6ed(0x3ae)]=_0x429d24,this[_0x1fe6ed(0x2a2)]=_0x3dc68c,this[_0x1fe6ed(0x1f6)]=_0x5a4017,this[_0x1fe6ed(0xa3)]=_0x548525,this['_urlService']=_0x5bdaa6,_0x477ff4(this,_0x1fe6ed(0x223),new _0x29b66c[(_0x1fe6ed(0x2d0))](null)),_0x477ff4(this,'_messageIds',new Set()),_0x477ff4(this,_0x1fe6ed(0x216),new Map()),_0x477ff4(this,_0x1fe6ed(0x109),new Map()),_0x477ff4(this,_0x1fe6ed(0x254),this[_0x1fe6ed(0x223)][_0x1fe6ed(0x30e)]());let _0x14158b=()=>(0x0,_0x3fb6bf[_0x1fe6ed(0x3df)])(_0x277644,{'state$':this[_0x1fe6ed(0x254)]});this[_0x1fe6ed(0x345)](_0x2cd10b['registerComponent'](_0x191907[_0x1fe6ed(0xb1)][_0x1fe6ed(0xee)],()=>(0x0,_0x191907[_0x1fe6ed(0x182)])(_0x14158b,this['_injector']))),this[_0x1fe6ed(0x345)](this['_snapshotLoadingService'][_0x1fe6ed(0x32f)][_0x1fe6ed(0x116)](_0x39aa3a=>{const _0x49e55b=_0x1fe6ed;this[_0x49e55b(0x109)]=_0x39aa3a,_0x39aa3a[_0x49e55b(0xad)](_0x29aba6=>this['_updateMessage'](_0x29aba6));})),this[_0x1fe6ed(0x345)](this['_urlService'][_0x1fe6ed(0x212)]['subscribe'](()=>{const _0x50760c=_0x1fe6ed;this[_0x50760c(0x109)][_0x50760c(0xad)](_0x2cb6d5=>this['_updateMessage'](_0x2cb6d5));}));}[_0x4a9a20(0x274)](){const _0x5cc3f4=_0x4a9a20;this[_0x5cc3f4(0x394)][_0x5cc3f4(0xad)](_0x51f69b=>this['_messageService'][_0x5cc3f4(0x1d9)](_0x51f69b)),this[_0x5cc3f4(0x394)]['clear'](),this[_0x5cc3f4(0x216)][_0x5cc3f4(0xad)](({timeoutId:_0x12405c})=>clearTimeout(_0x12405c)),this[_0x5cc3f4(0x216)][_0x5cc3f4(0x96)](),this['_timeoutState$'][_0x5cc3f4(0xd5)](),super[_0x5cc3f4(0x274)]();}[_0x4a9a20(0xc6)](_0x43cc45){const _0x1d781b=_0x4a9a20;let _0x30f968=''+_0x3c2f0f+_0x43cc45['unitId'];if(_0x43cc45['stage']===_0x180ca7[_0x1d781b(0x10f)]['COMPLETE']){this['_clearBlockProgressWatch'](_0x43cc45[_0x1d781b(0x32a)]),this[_0x1d781b(0x309)](_0x43cc45['unitId']),this[_0x1d781b(0x2a2)]['remove'](_0x30f968),this[_0x1d781b(0x394)][_0x1d781b(0xd0)](_0x30f968);return;}if(!this[_0x1d781b(0x234)](_0x43cc45['unitId'])){this[_0x1d781b(0x305)](_0x43cc45[_0x1d781b(0x32a)]),this[_0x1d781b(0x309)](_0x43cc45[_0x1d781b(0x32a)]),this[_0x1d781b(0x2a2)]['remove'](_0x30f968),this[_0x1d781b(0x394)][_0x1d781b(0xd0)](_0x30f968);return;}if(_0x43cc45[_0x1d781b(0xdc)]===_0x180ca7[_0x1d781b(0x10f)][_0x1d781b(0x281)]){this[_0x1d781b(0x305)](_0x43cc45[_0x1d781b(0x32a)]),this[_0x1d781b(0x309)](_0x43cc45[_0x1d781b(0x32a)]),this['_messageService'][_0x1d781b(0x185)]({'id':_0x30f968,'type':_0x51bea6[_0x1d781b(0xcb)][_0x1d781b(0x358)],'content':this['_localeService']['t']('collaboration-client-ui.session.connection-failed')}),this[_0x1d781b(0x394)][_0x1d781b(0xd0)](_0x30f968);return;}if(_0x43cc45[_0x1d781b(0xdc)]!==_0x180ca7['SnapshotLoadStage'][_0x1d781b(0x1d4)]||_0x43cc45[_0x1d781b(0x33a)]<=0xa){this[_0x1d781b(0x305)](_0x43cc45[_0x1d781b(0x32a)]),this[_0x1d781b(0x2a2)][_0x1d781b(0x1d9)](_0x30f968),this['_messageIds']['delete'](_0x30f968);return;}this['_watchBlockProgress'](_0x43cc45)||(this['_messageService'][_0x1d781b(0x185)]({'id':_0x30f968,'type':_0x51bea6[_0x1d781b(0xcb)][_0x1d781b(0x9e)],'duration':0x1/0x0,'content':this[_0x1d781b(0x1f6)]['t'](_0x1d781b(0x327))+'\x20'+_0x43cc45['loadedBlocks']+'/'+_0x43cc45[_0x1d781b(0x33a)]}),this[_0x1d781b(0x394)][_0x1d781b(0x2a3)](_0x30f968));}[_0x4a9a20(0xeb)](_0x10b495){const _0x4e6523=_0x4a9a20;let _0x351fe9=this[_0x4e6523(0x216)]['get'](_0x10b495['unitId']);if((_0x351fe9==null?void 0x0:_0x351fe9[_0x4e6523(0x28b)])===_0x10b495[_0x4e6523(0x28b)])return _0x351fe9[_0x4e6523(0x3a4)];this[_0x4e6523(0x305)](_0x10b495[_0x4e6523(0x32a)]);let _0x562a05=setTimeout(()=>{const _0x17db5a=_0x4e6523;let _0x1a1a26=this[_0x17db5a(0x216)][_0x17db5a(0x3c7)](_0x10b495['unitId']);if(!_0x1a1a26||_0x1a1a26[_0x17db5a(0x1df)]!==_0x562a05)return;_0x1a1a26[_0x17db5a(0x3a4)]=!0x0;let _0x4a872c=''+_0x3c2f0f+_0x10b495[_0x17db5a(0x32a)];this['_messageService'][_0x17db5a(0x1d9)](_0x4a872c),this[_0x17db5a(0x394)][_0x17db5a(0xd0)](_0x4a872c),this[_0x17db5a(0x223)]['next']({'unitId':_0x10b495[_0x17db5a(0x32a)],'content':this['_localeService']['t'](_0x17db5a(0xd8),String(_0x10b495['loadedBlocks']),String(_0x10b495[_0x17db5a(0x33a)])),'refreshLabel':this['_localeService']['t'](_0x17db5a(0x311))});},0xea60);return this[_0x4e6523(0x216)][_0x4e6523(0x25f)](_0x10b495['unitId'],{'loadedBlocks':_0x10b495[_0x4e6523(0x28b)],'timedOut':!0x1,'timeoutId':_0x562a05}),!0x1;}[_0x4a9a20(0x305)](_0x5c9055){const _0x2883e4=_0x4a9a20;let _0xcd4547=this['_blockProgressWatches'][_0x2883e4(0x3c7)](_0x5c9055);_0xcd4547&&(clearTimeout(_0xcd4547[_0x2883e4(0x1df)]),this[_0x2883e4(0x216)][_0x2883e4(0xd0)](_0x5c9055),this[_0x2883e4(0x309)](_0x5c9055));}[_0x4a9a20(0x309)](_0x2b1646){const _0x1af286=_0x4a9a20;var _0x27baed;((_0x27baed=this[_0x1af286(0x223)]['value'])==null?void 0x0:_0x27baed[_0x1af286(0x32a)])===_0x2b1646&&this['_timeoutState$']['next'](null);}['_isVisibleUnit'](_0x341b13){const _0x3213db=_0x4a9a20;let _0x1a18bf=this['_urlService'][_0x3213db(0x16d)](_0x3213db(0x108));return!_0x1a18bf||_0x1a18bf===_0x341b13;}};_0x1183a2=_0x56d489([_0x235e3a(0x0,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x180ca7[_0x4a9a20(0xa6)])),_0x235e3a(0x1,_0x191907[_0x4a9a20(0x3d1)]),_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f[_0x4a9a20(0x1e0)])),_0x235e3a(0x3,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f[_0x4a9a20(0x18f)])),_0x235e3a(0x4,_0x191907[_0x4a9a20(0x3a8)]),_0x235e3a(0x5,_0x585290)],_0x1183a2);let _0x18ef7d=class extends _0x379e5f['Disposable']{constructor(_0x1e831a,_0x453fbe,_0x3a0083){const _0x5a2aa8=_0x4a9a20;super(),this['_configService']=_0x1e831a,this['_localStorageService']=_0x453fbe,this[_0x5a2aa8(0x25c)]=_0x3a0083,_0x477ff4(this,_0x5a2aa8(0x3aa),new Map()),_0x477ff4(this,'_saveTaskMap',new Map()),_0x477ff4(this,_0x5a2aa8(0x17a),new Map()),_0x477ff4(this,_0x5a2aa8(0x262),!0x1);}[_0x4a9a20(0xd6)](){this['_disabled']=!0x0;}[_0x4a9a20(0x146)](){const _0x5e69d6=_0x4a9a20;this[_0x5e69d6(0x262)]=!0x1;}get[_0x4a9a20(0x3a7)](){const _0x47131d=_0x4a9a20;return this[_0x47131d(0x19a)];}[_0x4a9a20(0x274)](){const _0x40d5be=_0x4a9a20;this['exhaustSavingTask']()[_0x40d5be(0x2ea)](()=>super['dispose']());}async[_0x4a9a20(0x2fd)](_0x10c06d){const _0x461f17=_0x4a9a20;return this['_disabled']?null:this[_0x461f17(0x37f)][_0x461f17(0x210)]((0x0,_0x5c5525[_0x461f17(0x3b6)])(_0x10c06d));}async[_0x4a9a20(0x178)](_0x3fb2ec,_0x21b004){const _0x30942b=_0x4a9a20;let _0x2420c6=this[_0x30942b(0x37f)][_0x30942b(0x38a)]((0x0,_0x5c5525['getLocalCacheKey'])(_0x3fb2ec),_0x21b004);return this[_0x30942b(0x175)](_0x3fb2ec,_0x2420c6),!!await _0x2420c6;}async[_0x4a9a20(0x264)](_0xa1c126,_0x1d00ca){const _0x29b76f=_0x4a9a20;let _0x471e99=this['_cachedData']['get'](_0xa1c126)??await this[_0x29b76f(0x37f)]['getItem']((0x0,_0x5c5525[_0x29b76f(0x3b6)])(_0xa1c126));if(!_0x471e99)return;let _0x408ff7=Date['now'](),_0x4cf7de=new Date(_0x408ff7)['toISOString']();await this[_0x29b76f(0x37f)][_0x29b76f(0x38a)]((0x0,_0x5c5525[_0x29b76f(0x3b6)])(_0xa1c126)+_0x29b76f(0x3b2)+_0x408ff7,{'reason':_0x1d00ca,'createdAt':_0x4cf7de,'data':_0x471e99});}async[_0x4a9a20(0x12d)](_0x1e77e5){const _0x3cccbf=_0x4a9a20;let _0x2cce4f=this[_0x3cccbf(0x19a)][_0x3cccbf(0x3c7)](_0x1e77e5);_0x2cce4f!==void 0x0&&(window[_0x3cccbf(0x376)](_0x2cce4f),this[_0x3cccbf(0x19a)][_0x3cccbf(0xd0)](_0x1e77e5));let _0xb627db=this[_0x3cccbf(0x17a)]['get'](_0x1e77e5);_0xb627db&&await Promise['allSettled'](_0xb627db),this[_0x3cccbf(0x3aa)]['delete'](_0x1e77e5),await this[_0x3cccbf(0x37f)]['removeItem']((0x0,_0x5c5525[_0x3cccbf(0x3b6)])(_0x1e77e5));}[_0x4a9a20(0x36f)](_0x3698c8,_0x5b3c53,_0x1535c4,_0xde887c){const _0x36c4e6=_0x4a9a20;let _0x2443a2=this[_0x36c4e6(0x25c)][_0x36c4e6(0x15f)](_0x3698c8);this[_0x36c4e6(0x3aa)][_0x36c4e6(0x25f)](_0x3698c8,{'unitID':_0x3698c8,'type':_0x5b3c53,'awaitingChangeset':_0x1535c4,'mutations':_0xde887c,'rev':_0x2443a2}),this['_saveTaskMap'][_0x36c4e6(0x192)](_0x3698c8)||this[_0x36c4e6(0xfe)](_0x3698c8);}[_0x4a9a20(0xfe)](_0x131234){const _0x55fb64=_0x4a9a20;let _0xfb72e=this[_0x55fb64(0x39a)]();_0xfb72e===0x0?this['_saveCache'](_0x131234):this[_0x55fb64(0x19a)][_0x55fb64(0x25f)](_0x131234,window[_0x55fb64(0x308)](()=>this[_0x55fb64(0x1f7)](_0x131234),_0xfb72e));}[_0x4a9a20(0x39a)](){const _0x4113e3=_0x4a9a20;return this['_configService'][_0x4113e3(0x330)](_0x5c5525[_0x4113e3(0x195)])??_0x5c5525['LOCAL_CACHE_INTERVAL'];}[_0x4a9a20(0x1f7)](_0x456161){const _0x17d198=_0x4a9a20;let _0x39698b=this[_0x17d198(0x19a)]['get'](_0x456161);_0x39698b!==void 0x0&&window['clearTimeout'](_0x39698b);let _0x288d79=this['_localStorageService'][_0x17d198(0x38a)]((0x0,_0x5c5525[_0x17d198(0x3b6)])(_0x456161),this[_0x17d198(0x3aa)][_0x17d198(0x3c7)](_0x456161))[_0x17d198(0x2ea)](()=>this['_saveTaskMap']['delete'](_0x456161));return this['_trackActiveSaveTask'](_0x456161,_0x288d79),_0x288d79;}[_0x4a9a20(0x175)](_0x5ef4be,_0x24690b){const _0x371795=_0x4a9a20;let _0x33704d=this[_0x371795(0x17a)]['get'](_0x5ef4be);_0x33704d||(_0x33704d=new Set(),this[_0x371795(0x17a)][_0x371795(0x25f)](_0x5ef4be,_0x33704d)),_0x33704d[_0x371795(0x2a3)](_0x24690b);let _0x1486af=()=>{const _0x151bed=_0x371795;_0x33704d[_0x151bed(0xd0)](_0x24690b),_0x33704d[_0x151bed(0x280)]===0x0&&this[_0x151bed(0x17a)][_0x151bed(0xd0)](_0x5ef4be);};_0x24690b['then'](_0x1486af,_0x1486af);}async['exhaustSavingTask'](){const _0x24b155=_0x4a9a20;let _0x44b31a=[];this[_0x24b155(0x19a)][_0x24b155(0xad)]((_0x2a8efb,_0x29f6f7)=>{const _0x58ec23=_0x24b155;window[_0x58ec23(0x376)](_0x2a8efb),_0x44b31a[_0x58ec23(0x2bd)](this[_0x58ec23(0x1f7)](_0x29f6f7)[_0x58ec23(0x2ea)](()=>{const _0x72112d=_0x58ec23;this[_0x72112d(0x19a)][_0x72112d(0xd0)](_0x29f6f7);}));}),await Promise['all'](_0x44b31a);}};_0x18ef7d=_0x56d489([_0x235e3a(0x0,_0x379e5f[_0x4a9a20(0x3c3)]),_0x235e3a(0x1,_0x379e5f[_0x4a9a20(0x3b9)]),_0x235e3a(0x2,(0x0,_0x379e5f['Inject'])(_0x180ca7[_0x4a9a20(0x177)]))],_0x18ef7d);var _0x380f56=class extends _0x379e5f[_0x4a9a20(0x1c0)]{constructor(){const _0x17ee51=_0x4a9a20;super(),_0x477ff4(this,'urlChange$',void 0x0),this['urlChange$']=(0x0,_0x29b66c[_0x17ee51(0xfa)])(window,_0x17ee51(0x2ac))[_0x17ee51(0x220)]((0x0,_0x29b66c[_0x17ee51(0x3be)])(this['dispose$']),(0x0,_0x29b66c[_0x17ee51(0x128)])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x29b66c[_0x17ee51(0x2b2)])(void 0x0));}[_0x4a9a20(0x15e)](_0x4f8888,_0x13f082,_0xfc6af3=!0x1){const _0x292b8d=_0x4a9a20;let _0x342a26=new URL(window[_0x292b8d(0x36d)]['href']);_0x342a26[_0x292b8d(0x2bb)]['set'](_0x4f8888,_0x13f082),_0xfc6af3?window[_0x292b8d(0x21b)]['replaceState']('','',_0x342a26[_0x292b8d(0x22e)]()):window[_0x292b8d(0x21b)][_0x292b8d(0x2e7)]('','',_0x342a26[_0x292b8d(0x22e)]());}['removeParam'](_0x4ed63a,_0x5414ac=!0x1){const _0x58baa5=_0x4a9a20;let _0xaee588=new URL(window['location'][_0x58baa5(0x132)]);_0xaee588[_0x58baa5(0x2bb)]['delete'](_0x4ed63a),_0x5414ac?window[_0x58baa5(0x21b)][_0x58baa5(0x3bf)]('','',_0xaee588[_0x58baa5(0x22e)]()):window[_0x58baa5(0x21b)]['pushState']('','',_0xaee588[_0x58baa5(0x22e)]());}[_0x4a9a20(0x16d)](_0x1343cf){const _0x4d6bd7=_0x4a9a20;return new URL(window[_0x4d6bd7(0x36d)][_0x4d6bd7(0x132)])['searchParams'][_0x4d6bd7(0x3c7)](_0x1343cf)??void 0x0;}};let _0x2ce7d1=class extends _0x379e5f[_0x4a9a20(0x19e)]{constructor(_0x1745ea=_0x4905e4,_0x3f8c57,_0xca1ab,_0x5bccff,_0x5d8151){const _0x24c89e=_0x4a9a20;super(),this[_0x24c89e(0x22c)]=_0x1745ea,this[_0x24c89e(0x373)]=_0x3f8c57,this[_0x24c89e(0xa3)]=_0xca1ab,this['_configService']=_0x5bccff,this[_0x24c89e(0x3a1)]=_0x5d8151;let {..._0x430725}=(0x0,_0x379e5f[_0x24c89e(0x3b5)])({},_0x4905e4,this[_0x24c89e(0x22c)]);this[_0x24c89e(0x156)][_0x24c89e(0xe8)](_0x24c89e(0x20d),_0x430725);}[_0x4a9a20(0x329)](){const _0x94f01e=_0x4a9a20;this[_0x94f01e(0x1fc)](),this[_0x94f01e(0x345)](this['_commandService'][_0x94f01e(0x1f2)](_0x9de98b)),this[_0x94f01e(0x3d3)]();}[_0x4a9a20(0x325)](){const _0x57330d=_0x4a9a20;this[_0x57330d(0x15a)]();}['_registerDependencies'](){const _0x1139c0=_0x4a9a20;var _0x1d975e;let _0x40639f=[[_0x47ec3a],[_0x585290,{'useClass':_0x380f56}],[_0x1c13d8['ISocketService'],{'useClass':_0x1c13d8[_0x1139c0(0x3e0)]}],[_0x5c5525['ILocalCacheService'],{'useClass':_0x18ef7d}],[_0xfe667e],[_0x4add48],[_0x5e94f1],[_0x458d18],[_0x10a8c2],[_0x1183a2]];this['_config'][_0x1139c0(0x37b)]!==!0x1&&_0x40639f[_0x1139c0(0x2bd)]([_0x5c5c58],[_0x39070c],[_0x22af92],[_0x2430ce],[_0x187992],[_0x302b8d]),this[_0x1139c0(0x22c)][_0x1139c0(0x9b)]&&_0x40639f[_0x1139c0(0x2bd)]([_0x289860]),(0x0,_0x379e5f[_0x1139c0(0x36b)])(this['_injector'],(0x0,_0x379e5f[_0x1139c0(0x26c)])(_0x40639f,(_0x1d975e=this['_config'])==null?void 0x0:_0x1d975e[_0x1139c0(0x3ca)]));}['_registerRenderDependencies'](){const _0xeb0c07=_0x4a9a20;this['_config'][_0xeb0c07(0x37b)]!==!0x1&&this['disposeWithMe'](this[_0xeb0c07(0x373)][_0xeb0c07(0x23e)](_0x379e5f[_0xeb0c07(0x1a5)][_0xeb0c07(0x139)],[_0x5f4219])),this[_0xeb0c07(0x345)](this['_renderManagerService']['registerRenderModule'](_0x379e5f[_0xeb0c07(0x1a5)][_0xeb0c07(0x243)],[_0x146b13]));}[_0x4a9a20(0x3d3)](){const _0x4836e4=_0x4a9a20;(0x0,_0x379e5f[_0x4836e4(0x3bc)])(this[_0x4836e4(0xa3)],[[_0x5e94f1],[_0x458d18],[_0xfe667e],[_0x4add48],[_0x10a8c2],[_0x1183a2]]),this[_0x4836e4(0x22c)][_0x4836e4(0x37b)]!==!0x1&&(0x0,_0x379e5f[_0x4836e4(0x3bc)])(this[_0x4836e4(0xa3)],[[_0x187992],[_0x302b8d]]),this[_0x4836e4(0x22c)][_0x4836e4(0x9b)]&&(0x0,_0x379e5f[_0x4836e4(0x3bc)])(this[_0x4836e4(0xa3)],[[_0x289860]]);}};_0x477ff4(_0x2ce7d1,_0x4a9a20(0x27e),_0x4a9a20(0x1c3)),_0x477ff4(_0x2ce7d1,_0x4a9a20(0x3dc),_0x176194),_0x477ff4(_0x2ce7d1,_0x4a9a20(0x199),_0x5c9d38),_0x2ce7d1=_0x56d489([(0x0,_0x379e5f[_0x4a9a20(0x1a9)])(_0x4473e0['UniverLicensePlugin'],_0x24609f[_0x4a9a20(0x23c)],_0x2a6e7e['UniverRenderEnginePlugin'],_0x1c13d8[_0x4a9a20(0x3da)],_0x180ca7[_0x4a9a20(0x1dd)],_0x12bff4[_0x4a9a20(0x1c9)],_0x5c5525['UniverCollaborationClientPlugin']),_0x235e3a(0x1,_0x2a6e7e[_0x4a9a20(0x1ed)]),_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f[_0x4a9a20(0x18f)])),_0x235e3a(0x3,_0x379e5f[_0x4a9a20(0x3c3)]),_0x235e3a(0x4,_0x379e5f['ICommandService'])],_0x2ce7d1);let _0x1062f8=class extends _0x5c5525['CollaborationSocketService']{constructor(_0x1a0f55,_0x7c5f2a,_0x4f4628,_0x2d6a11,_0x8d2c39){super(_0x1a0f55,_0x7c5f2a,_0x4f4628,_0x2d6a11,_0x8d2c39);}async[_0x4a9a20(0x157)](_0x132ee1){const _0x2a2689=_0x4a9a20;let _0x54ea45=await this[_0x2a2689(0x36e)](),_0x409656=this[_0x2a2689(0x2c4)](_0x132ee1,_0x54ea45);return this['_doCreateSocket'](_0x409656);}[_0x4a9a20(0x2c4)](_0x3d51a7,_0x168340){const _0x2e8a9d=_0x4a9a20;let _0xfd15ad=typeof window>'u'?new URL(_0x3d51a7):new URL(_0x3d51a7,window[_0x2e8a9d(0x36d)]['origin']);_0xfd15ad['searchParams'][_0x2e8a9d(0x25f)](_0x2e8a9d(0x340),_0x168340);let _0x37daa2=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2e8a9d(0x36d)][_0x2e8a9d(0x1c4)]);return _0x37daa2[_0x2e8a9d(0x3c7)]('runId')&&_0xfd15ad['searchParams'][_0x2e8a9d(0x25f)](_0x2e8a9d(0x28f),_0x37daa2[_0x2e8a9d(0x3c7)]('runId')),_0xfd15ad[_0x2e8a9d(0x22e)]();}async[_0x4a9a20(0x36e)](){const _0x1f78ea=_0x4a9a20;var _0x4c8723;let _0x83b1d0=this['_configService'][_0x1f78ea(0x330)](_0x5c5525['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x41f4e1=(_0x83b1d0==null?void 0x0:_0x83b1d0['wsSessionTicketUrl'])??_0x5c5525[_0x1f78ea(0x247)];return((_0x4c8723=(await this['_httpService'][_0x1f78ea(0x3c7)](_0x41f4e1,{'headers':{'Content-Type':_0x1f78ea(0x12b)}}))[_0x1f78ea(0xac)])==null?void 0x0:_0x4c8723[_0x1f78ea(0x322)])??'';}};_0x1062f8=_0x56d489([_0x235e3a(0x0,(0x0,_0x379e5f['Inject'])(_0x379e5f[_0x4a9a20(0x18f)])),_0x235e3a(0x1,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x1c13d8['HTTPService'])),_0x235e3a(0x2,_0x379e5f[_0x4a9a20(0x3c3)]),_0x235e3a(0x3,_0x379e5f[_0x4a9a20(0x2f1)]),_0x235e3a(0x4,_0x180ca7[_0x4a9a20(0xd1)])],_0x1062f8);let _0x5d74ac=class extends _0x379e5f[_0x4a9a20(0x359)]{constructor(_0x4aba13,_0x2ab872,_0x2678b8){const _0x1140d6=_0x4a9a20;super(),this[_0x1140d6(0x151)]=_0x4aba13,this[_0x1140d6(0x301)]=_0x2ab872,this[_0x1140d6(0x156)]=_0x2678b8;}async['runOnServer'](_0x565393,_0x2e846e,_0x3b863e,..._0x3740ca){const _0x2bc61b=_0x4a9a20;let _0x35da84=this[_0x2bc61b(0x151)][_0x2bc61b(0x1b6)]();if(!_0x35da84)throw Error(_0x2bc61b(0x35f));let _0x2dcd7c=(this['_configService'][_0x2bc61b(0x330)](_0x5c5525[_0x2bc61b(0xbc)])??_0x5c5525['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x565393+_0x2bc61b(0x23d)+_0x2e846e,_0x591e64={'scriptId':_0x565393,'runId':new URL(window[_0x2bc61b(0x36d)][_0x2bc61b(0x132)])[_0x2bc61b(0x2bb)][_0x2bc61b(0x3c7)](_0x2bc61b(0x28f))??'','function':_0x2e846e,'unitId':_0x35da84[_0x2bc61b(0x2c3)](),'argsOfFunction':JSON['stringify'](_0x3740ca),'invokeId':_0x3b863e[_0x2bc61b(0xd7)]??'','executionId':_0x3b863e[_0x2bc61b(0x33c)]??''};try{let _0x2c0be5=await this[_0x2bc61b(0x301)][_0x2bc61b(0x211)](_0x2dcd7c,{'body':_0x591e64});return _0x2c0be5[_0x2bc61b(0xac)][_0x2bc61b(0x1a8)]&&_0x2c0be5[_0x2bc61b(0xac)][_0x2bc61b(0x1a8)][_0x2bc61b(0x381)]!==_0x30e7ac[_0x2bc61b(0x249)]['OK']?_0x2bc61b(0x35b):_0x2c0be5[_0x2bc61b(0xac)][_0x2bc61b(0x317)];}catch{return'Failed';}}};_0x5d74ac=_0x56d489([_0x235e3a(0x0,_0x379e5f[_0x4a9a20(0x168)]),_0x235e3a(0x1,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x1c13d8[_0x4a9a20(0x1fd)])),_0x235e3a(0x2,_0x379e5f[_0x4a9a20(0x3c3)])],_0x5d74ac);let _0x5ad565=0x7530,_0x5bb3de=_0x4a9a20(0x180);var _0x193a85=class extends _0x379e5f['Disposable']{constructor(){const _0xc60457=_0x4a9a20;super(),_0x477ff4(this,'_id',(0x0,_0x379e5f['generateRandomId'])()),_0x477ff4(this,_0xc60457(0x271),new Set()),_0x477ff4(this,'_unitOnClients',new Map()),_0x477ff4(this,_0xc60457(0x2ee),null),_0x477ff4(this,_0xc60457(0x213),new Map()),_0x477ff4(this,_0xc60457(0xb9),new Map()),this['_init']();}[_0x4a9a20(0x274)](){const _0x44638e=_0x4a9a20;super[_0x44638e(0x274)](),this['_clearOtherTimers'][_0x44638e(0xad)]((_0x108f06,_0x1e92fa)=>this['_removeClearOtherTimer'](_0x1e92fa)),this[_0x44638e(0x2ee)]&&window[_0x44638e(0x19b)](this['_heartbeatTimer']);}[_0x4a9a20(0x206)](_0x3f4b8c){const _0x1cd8c4=_0x4a9a20;return this['_ensureSubject'](_0x3f4b8c)[_0x1cd8c4(0x220)]((0x0,_0x29b66c[_0x1cd8c4(0x188)])());}[_0x4a9a20(0x30d)](_0x485a1a){const _0x1409c9=_0x4a9a20;this[_0x1409c9(0x271)][_0x1409c9(0x280)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x1409c9(0x2a3)](_0x485a1a),this['_send']({'type':0x0,'memberID':this[_0x1409c9(0x286)],'unitIDs':[_0x485a1a],'isForwarded':!0x1});}[_0x4a9a20(0x24f)](_0x4443e6){const _0x4eaa38=_0x4a9a20;this[_0x4eaa38(0x271)]['delete'](_0x4443e6),this[_0x4eaa38(0x271)][_0x4eaa38(0x280)]===0x0&&this[_0x4eaa38(0x2ee)]&&window['clearInterval'](this[_0x4eaa38(0x2ee)]);}[_0x4a9a20(0x246)](){const _0x5d4b03=_0x4a9a20;this[_0x5d4b03(0x345)]((0x0,_0x379e5f[_0x5d4b03(0x1e5)])((0x0,_0x29b66c[_0x5d4b03(0xfa)])(window,_0x5d4b03(0x25d))[_0x5d4b03(0x116)](_0x512b54=>{const _0x284bd8=_0x5d4b03;if(_0x512b54[_0x284bd8(0x2c5)]!==_0x5bb3de||!_0x512b54[_0x284bd8(0x1aa)])return;let _0x4e49f8=JSON[_0x284bd8(0x351)](_0x512b54['newValue']);this['_handleEvent'](_0x4e49f8);}))),window[_0x5d4b03(0x200)](_0x5d4b03(0x9c),()=>this[_0x5d4b03(0x291)]({'type':0x1,'memberID':this[_0x5d4b03(0x286)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x4a9a20(0x13e)](_0x3c9e9e){const _0x27d409=_0x4a9a20;switch(_0x3c9e9e['type']){case 0x0:this['_handleJoinEvent'](_0x3c9e9e);break;case 0x1:this[_0x27d409(0x268)](_0x3c9e9e);break;case 0x2:this['_handleHeartbeatEvent'](_0x3c9e9e);}}[_0x4a9a20(0xc0)](_0x111e4d){const _0x2d6ab0=_0x4a9a20;let {unitIDs:_0x5a1409,memberID:_0x264887,isForwarded:_0x8a338}=_0x111e4d;_0x5a1409['forEach'](_0x6e9a9e=>{const _0x5addd6=_0x861d;if(!_0x8a338&&this[_0x5addd6(0x316)][_0x5addd6(0x192)](_0x6e9a9e)&&this[_0x5addd6(0x38d)](_0x6e9a9e)[_0x5addd6(0x387)](_0x5c5525[_0x5addd6(0x3e4)][_0x5addd6(0x2e8)]),!this[_0x5addd6(0x316)][_0x5addd6(0x192)](_0x6e9a9e)||!this[_0x5addd6(0x316)][_0x5addd6(0x3c7)](_0x6e9a9e)[_0x5addd6(0x192)](_0x264887)){let _0x6b44d0=this[_0x5addd6(0x316)][_0x5addd6(0x3c7)](_0x6e9a9e)||new Set();_0x6b44d0[_0x5addd6(0x2a3)](_0x264887),this[_0x5addd6(0x316)][_0x5addd6(0x25f)](_0x6e9a9e,_0x6b44d0),this[_0x5addd6(0x266)](_0x264887);}}),_0x8a338||this[_0x2d6ab0(0x291)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x2d6ab0(0x271)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2d5b80){const _0x505749=_0x4a9a20;this[_0x505749(0x2d5)](_0x2d5b80);let _0x356640=window[_0x505749(0x308)](()=>{const _0x1c9ff4=_0x505749;this[_0x1c9ff4(0x316)][_0x1c9ff4(0xad)](_0xc137b5=>{const _0x181853=_0x1c9ff4;_0xc137b5[_0x181853(0xd0)](_0x2d5b80);});},_0x5ad565*0x2);this[_0x505749(0x213)][_0x505749(0x25f)](_0x2d5b80,_0x356640);}[_0x4a9a20(0x2d5)](_0x46ba53){const _0x495a5f=_0x4a9a20;if(this[_0x495a5f(0x213)][_0x495a5f(0x192)](_0x46ba53)){let _0x30c524=this[_0x495a5f(0x213)]['get'](_0x46ba53);_0x30c524&&window[_0x495a5f(0x376)](_0x30c524),this['_clearOtherTimers'][_0x495a5f(0x25f)](_0x46ba53,null);}}[_0x4a9a20(0x268)](_0x21fae0){const _0x28f658=_0x4a9a20;let {memberID:_0x3a02da,unitIDs:_0x17bf8f}=_0x21fae0;_0x17bf8f[_0x28f658(0xad)](_0x2846fe=>{const _0x4d4188=_0x28f658;var _0x44cb2e;let _0x59e0e6=this[_0x4d4188(0x316)][_0x4d4188(0x3c7)](_0x2846fe);_0x59e0e6&&(_0x59e0e6[_0x4d4188(0xd0)](_0x3a02da),(_0x44cb2e=this[_0x4d4188(0x38d)](_0x2846fe))==null||_0x44cb2e[_0x4d4188(0x387)](_0x59e0e6[_0x4d4188(0x280)]===0x0?_0x5c5525[_0x4d4188(0x3e4)][_0x4d4188(0x205)]:_0x5c5525[_0x4d4188(0x3e4)]['OTHER_CLIENTS_EDITING']));}),this[_0x28f658(0x2d5)](_0x3a02da);}['_handleHeartbeatEvent'](_0x2f00e5){const _0x12bd78=_0x4a9a20;this[_0x12bd78(0x266)](_0x2f00e5[_0x12bd78(0x225)]);}[_0x4a9a20(0x291)](_0xa0f713){const _0x351406=_0x4a9a20;localStorage['setItem'](_0x5bb3de,JSON[_0x351406(0xaf)](_0xa0f713));}[_0x4a9a20(0x3a6)](){const _0xd755ec=_0x4a9a20;this[_0xd755ec(0x2ee)]=window[_0xd755ec(0x186)](()=>{const _0x2e5865=_0xd755ec;this['_send']({'type':0x2,'memberID':this[_0x2e5865(0x286)]});},_0x5ad565);}[_0x4a9a20(0x38d)](_0x94d68){const _0x48ccfa=_0x4a9a20;return this['_unitStatus'][_0x48ccfa(0x192)](_0x94d68)||this[_0x48ccfa(0xb9)][_0x48ccfa(0x25f)](_0x94d68,new _0x29b66c[(_0x48ccfa(0x2d0))](_0x5c5525[_0x48ccfa(0x3e4)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x48ccfa(0xb9)]['get'](_0x94d68);}};Object['defineProperty'](_0x19246e,'BrowserCollaborationSocketService',{'enumerable':!0x0,'get':function(){return _0x1062f8;}}),Object['defineProperty'](_0x19246e,_0x4a9a20(0x8b),{'enumerable':!0x0,'get':function(){return _0xfe667e;}}),_0x19246e['IURLService']=_0x585290,Object[_0x4a9a20(0x27d)](_0x19246e,_0x4a9a20(0xf0),{'enumerable':!0x0,'get':function(){return _0x5d74ac;}}),_0x19246e['SheetCollabCursorShape']=_0x1e3c7b,Object['defineProperty'](_0x19246e,_0x4a9a20(0x114),{'enumerable':!0x0,'get':function(){return _0x2ce7d1;}}),_0x19246e[_0x4a9a20(0x22f)]=_0x193a85;}));
1
+ function _0x240c(){const _0x59cf71=['height','ITransformService','getUnitId','activeSheet$','enableDocumentCollaborationUI','_updateURLWithCurrentState','isReleased','@univerjs/docs-ui','primary','idSuffix','http://www.w3.org/2000/svg','init','slice','runId','_unitOnClients','_context','_selfUnitIDs','[Unhandled\x20Rejection]:\x20','updateOfflineData','_presenceAdapterRegistry','\x20at\x20','IConfigService','TEXT','showText','UniverInstanceType','_init','\x20-\x20','url(#on-line-icon_clip0_910_349)','restore','origin','toRgbString','_renderManagerService','SHEET_VIEWPORT_KEY','NO_OTHER_CLIENTS_EDITING','function','UniverCore','_onCursorUpdate','clipPath','assign','getUndoRedoMutationParamsCache','_roomMembers$','complete','collaboration-client-ui.collabStatus.synced','DataLoaderService','split','M0\x200H16V16H0z','/universer-api/frontend/logs','NOT_COLLAB','_backgroundColor','attrs','_uploadLog','CollaborationUIEventId','onStarting','fill','onPointerEnter$','DocSkeletonManagerService','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','timedOut','handleIRemoveCol','RemoveColCommandId','_ensureSubject','target','hovered','range','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','_refreshCollabCursors','_getSaveTimeout','_cursor','_getMergeRange','undoState','FromArray','min','getMergeData','_createSocketURL','_timeoutState$','_initDependencies','_assignedColors','deepClone','hadStyleAttribute','DEFAULT_WS_SESSION_TICKET_URL','refreshLabel','OPERATION','ILocalStorageService','on-line-icon','_snapshotLoadingService','endRow','newValue','getSelectionInfo','black','engine','closePath','_docSelectionManagerService','_configService','SnapshotLoadStage','pointer','ILocalCacheService','selections','collaboration-client-ui.conflict.processing','querySelectorAll','SOCKET_FAILED_RETRY','isArray','_localCacheService','getCoordByCell','_shapes','params','SetWorksheetActivateCommand','timeoutState$','_initUnhandledRejectionListener','width','ThemeService','getFocusedUnit','join','UniverDocsUIPlugin','_drawAnchor','generateRandomId','kind','_labelPosition','exhaustSavingTask','_conflictNotification','_docTransformIMECacheService','uni.network.url-service','_isVisibleUnit','createElement','_initEvent','finally','reload','_handleJoinEvent','current','77936EwWXOy','dispose','getParam','onTransformChange$','useLayoutEffect','highlight','DocStateChangeManagerService','throttleTime','_beforeCloseService','ILogService','now','CommandType','75356Ojawbj','TRANSFORM_CHANGE_OBSERVABLE_TYPE','collabCursorState$','getSheetBySheetId','invokeId','replaceState','_docSkeletonManagerService','ICommandService','has','ranges','UniverUi','pipe','getPropertyPriority','clearRemotePresences','indicator','span','_cursorInfo$','operators','getRenderUnitById','UnitStatus','_initEntityListener','labelPosition','urlChange$','_collabSessionService','symbol','0\x200\x2017\x2016','toPrimitive','loading-multi-icon','getTypeOfUnitAdded$','_drawTextRange','columnIndex','collaboration-client-ui.permission.title','BrowserCollaborationSocketService','MessageType','SnapshotLoadingService','code','univer-appearance-none','evenodd','column','_refRangeService','IBeforeCloseService','getMemberID','bind','collaboration-client-ui.session.will-retry','[CollaborationDataLoaderController]','ACTIVE_UNIT_EVENT_CHANNEL','amd','_logService','transformMutationsWithChangeset','getColor','registerComponent','getUnitStatus$','startOffset','right','subunit','isInternalEditorID','10PBTMMF','RemoveRowCommandId','_messageService','wsSessionTicketUrl','number','_offsetY','_setupBeforeClosingHandler','@univerjs/ui','filename','push','ErrorCode','UniverCollaborationClientPlugin','search','_disposeEntity','priority','getViewport','find','setProperty','collaboration-client-ui.collaboration.closeRoom','remove','_adapterRegistry','51419bkZzQj','transformIMECache','setConfig','loading','_scheduleSaving','_session','toISOString','DocSelectionManagerService','OTHER_CLIENT_EDITING','div','fromEvent','_revisionService','backgroundColor','defineProperty','subscribe','button','state$','value','add','getColorFromTheme','_removeCollabCursors','ColorKit','_initResize','connectInjector','unitId','appliedStrokeWidth','UniverIcon','vectorEffect','handleInsertRangeMoveRight','_initPresenceStatusComponents','svg','_toggleOffline','_collabCursorController','_bindAdapter','_clearRemotePresences','toFixed','_unitStatus','font','isTransformMutationsWithChangesetSuccess','getItem','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','spin','_handleHeartbeatEvent','_handleHover','getRangePointData','_registerRenderDependencies','_collaborationController','update','transformStateCache','_updateCollabCursors','onRendered','_syncPresenceStatusComponents','_colorIndex','unsubscribe','onCommandExecuted','SUBMIT_CHANGESET_TIMEOUT','univer-m-0\x20univer-p-0','_blockProgressWatches','state','_removeRemotePresence','@univerjs/protocol','_onRefRangeChange','RxDisposable','_cachedData','_localStorageService','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','enableFrontendLog','parseInt','unitType','getSheetObject','collaboration-client-ui.collabStatus.syncing','CollaborationUIEventService','transformRemoteChangeset','non-scaling-stroke','get','_docTransformSelectionsService','static','Button','RevisionService','catch','UPDATE_CURSOR','send','debounce','_startSheetCollabCursor','Rectangle','isTransformMutationFailure','setStateCache','_initCommandExecutedListener','allSettled','_registerDependencies','preventDefault','onPointerMove$','none','_startEntity','getOffsetConfig','dark:focus:!univer-ring-offset-gray-800','VIEW_MAIN','SYNCED','UniverProCollaborationClientUi','values','map','collaboration-client-ui.conflict.title','RECT','univer-border-none\x20univer-bg-transparent','presenceKind','_watchBlockProgress','_getSheetObject','name','roomMembers','tableSource','_highlight','touchDependencies','application/json','string','_collaborationUIEventService','merge','_imageIoService','tag','currentColor','currentTheme$','setAlpha','icon','toString','GLOBAL','flatMap','OffLineIcon','throttle','univerjs-icon\x20univerjs-icon-','BehaviorSubject','COMPLETE','_lastPointer','_transformService','getDocRanges','collaboration-client-ui.collabStatus.conflict','_isDisposed','CollaborationEvent','0.2)','collaboration-client-ui.session.connection-failed','moveTo','toDisposable','focusedId','tableId','@univerjs-pro/collaboration-client-ui','isActive','_send','UniverDocs','UniverEngineRender','small','pageType','max','onPointerLeave$','_onCursorDelete','cursorInfo$','_hover','CollaborationStatus','_adapterDisposables','_transformHistoryAndStateStack','Rect','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-gray-0\x20univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-text-gray-900\x20univer-shadow-lg\x20dark:!univer-bg-gray-700\x20dark:!univer-text-gray-0','triggerDblclick','20607576NWkLPn','debounceTime','_collaborationSessionService','_disposed','unload','collab-text-anchor-','[RemoteUniscriptService]:\x20no\x20focused\x20unit','@univerjs-pro/collaboration-client','UniverProtocol','_anchor','packageName','[Window\x20Error]:\x20','6898752YaNnxF','Plugin','IUniverInstanceService','saveOfflineData','_hideTimer','_showConflictCacheClearFailedNotification','mask','measureText','_heartbeatTimer','then','SetDocZoomRatioOperation','DocCollaborationEntity','memberID','WarningIcon','rgba(','isEditing','SessionStatus','getSheetId','transformMutation','next','_monkeyPatchLogService','getAllUnitsForType','LocaleService','clickable','textRanges','error','statusUIPart','redoState','SetTextSelectionsOperation','disposeWithMe','xlink:href','1em','_online','_docStateChangeManagerService','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','searchParams','requireSession','addObject','RefRangeService','i18nKey','lineTo','sheetId','_getScale','subscribeEvent','deserializeRangeWithSheet','prototype','UniverCollaborationClientUIPlugin','defs','[LogService\x20Error]:\x20','44zMjtbp','location','off-line-icon_clip0_910_343','univer-inline-flex\x20univer-items-center\x20univer-justify-center','_saveTaskMap','_render','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','FETCH_MISS','clearInterval','unit','_cursors','_handleLeaveEvent','getCurrentRevOfUnit','some','adapters$','removeProperty','_name','debug','_labelHorizontalPosition','_startBlinking','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','ticket','_pointerMoveDisposable','displayName','status$','_initWindowErrorListener','_disabled','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','RegularPolygon','entityInit$','href','sessionStatus$','_entityInit$','IUnitPresenceUIAdapterRegistry','resize','options','React','useImperativeHandle','_document','purple.300','univer-text-green-500','addClipboardHook','UniverSheets','collaboration-client-ui.conflict.clearFailed','UniverDesign','_scheduleClearOtherTimer','registerRefRange','0\x200\x2016\x2016','filter','event$','handleInsertRangeMoveDown','Enter','_config','ONLINE','_initStatusComponent','transformByState','setUndoRedoMutationParamsCache','delete','canRenderSelection','_retryConflictCacheClear','getValue','shareInterval','exports','_transformPreviousActiveRange','getLocalCacheKey','content','dispose$','univer-text-gray-400','Disposable','replace','OTHER_CLIENTS_EDITING','shareReplay','colno','setShapeProps','univer-h-8\x20univer-w-8\x20univer-rounded-lg','_instanceService','LOCAL_CACHE_INTERVAL','COLORS','UniverEngineFormula','7KlVNdG','loadUnit','fillText','_disposeEntitiesForType','collaboration-client-ui.snapshotLoading.timeout','_drawRectRange','@univerjs-pro/collaboration','trim','localName','makeDirty','_adapter','rgba','replaceSelectionInfoWithoutRefresh','HTTPService','_clearOtherTimers','getDocumentSkeletonColumnPagePathInfo','loadedBlocks','_showConflictProcessingNotification','clearOfflineData','_uiPartsService','mutations','UNIVER_SHEET','stroke-width','@univerjs/core','mapTo',',\x200.2)','CONFLICT','Error','getCurrentSkeleton','_isBlinkVisible','_messageIds','parseFloat','unitID','Unknown\x20user','@univerjs/engine-render','MemberService','true','takeUntil','_setupSubUnitSync','rgba(255,\x20255,\x20255,\x200.01)','observe','Injector','doc.mutation.rich-text-editing','pageIndex','arc','message','path','clsx','11378772Drszbt','Workbook','parse','USERS_LEAVE','collaboration-client-ui.operation.update-remote-unit-presence','_id','colorClass','_scheduleHeartbeat','getMember','isFinite','removeAttribute','OFFLINE','ERROR','_colorAssignService','IURLService','setItem','stage','socket$','Subject','translate(.97)','_localeService','NodePositionConvertToCursor','red.300','1.0.2','tooltipKey','runOnServer','switchMap','UNIVER_DOC','Warning','off-line-icon','IDocClipboardService','getUnhiddenWorksheets','asObservable','editingUnit','useRef','CollaborationSessionService','selection','Shape','history','rxjs','_transformUndoRedoStack','_sendLocalPresence','@univerjs/engine-formula','DeleteRangeMoveUpCommandId','storage','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getBoundingClientRect','useObservable','_updateSubUnitFromURLParams','localPresence$','alert','fillStyle','_anchorDot','getActiveRange','bottom','useCallback','serializeRangeWithSheet','IMessageService','_startDocCollabCursor','totalBlocks','_commandService','univer-text-red-500','_univerInstanceService','entries','roomMembers$','univer-size-4\x20univer-shrink-0\x20univer-text-amber-500','unhandledrejection','registerCommand','setParam','style','Tools','collaboration-client-ui.snapshotLoading.refresh','timer','selectedIds','setTimeout','_range','clear','startRow','_activeSaveTaskMap','getTypeOfUnitDisposed$','_entities','_cursorShapes','with','BuiltInUIPart','_latestStates','stroke','element','DocumentSkeletonPageType','SetSelectionsOperation','UniverRenderEnginePlugin','handleDeleteRangeMoveLeft','assignAColorForMemberID','body','_presenceStatusRegistrations','getCollabCursors$','disposeUnit','forEach','show','stringify','_textBubble','_updateLocalCursor','_memberService','rgb','_clearTimeoutState','_stopBlinking','getCurrentUnitOfType','univer-text-blue-500','imageSourceType','columnGroupId','status','_initStatusListener','PENDING','top','children','_doCreateSocket','_scene','backupOfflineData','blue.400','addObjects','colorChannel1','LOCAL_CACHE_INTERVAL_KEY','_getAnchorBounding','445UWvXVk','object','...','color','handleInsertRow','iterator','warning-icon','_initialized','_syncAdapters','source','Failed','unshift','getAncestorScale','strokeWidth','constructor','registerDependencies','CONFLICT_CACHE_CLEAR_FAILED','@univerjs/network','collab-rect-range-','2767932TZCGZq','set','subUnitId','FOOTER','every','univer-transition-all\x20univer-duration-200','JOIN_ROOM_FAILED','_handleCursorUpdate','mergeOverrideWithDependencies','cursorInfo','InsertRangeMoveDownCommandId','_blinkTimer','collaboration-client-ui.collabStatus.offline','includes','polite','saveImage','_collabCursorState$','_clearBlockProgressWatch','_blinkIntervalTimer','popstate','offsetY','MoveRangeCommandId','type','url(#$1','lineno','InsertRangeMoveRightCommandId','useDependency','removeItem','_docTransformStateCacheService','TEXT_RANGE_LAYER_INDEX','white','_sheetSkeletonManagerService','_urlService','handleDeleteRangeMoveUp','DependentOn','use','_retryingConflictCacheUnitIDs','univer-flex\x20univer-items-center\x20univer-justify-center','InsertColCommandId','AWAITING_WITH_PENDING','disconnect','originalStrokeWidth','text','_registerPresenceStatusComponent','call','OnLineIcon','_memberID','executeCommand','UniverDocsUi','_handleEvent','getCollabEntity$','size','IImageIoService','_toggleOnline','@univerjs-pro/license','getCellIndexByOffset','_updateMessage','eventID','_status$','_pendingEntities','startsWith','NodePositionConvertToRectRange','AWAITING','saveTaskMap','currentSkeleton$','Tooltip','collaboration-client-ui.conflict.retry','prepareTransformSelections','length','focused$','@univerjs/sheets-ui','m2Prime','handleInsertCol','CollaborationSocketService','IRenderManagerService','DOC_RANGE_TYPE','RichTextEditingMutation','_httpService','syncEditingCollabCursor','Inject','from','_color','key','_docClipboardService','handleMoveRange','timeoutId','m1Prime','stack','UniverProLicense','addEventListener','UniverLicensePlugin','clearTimeout','_injector','createInstance','IUIPartsService','Vector2','combineLatest','EffectRefRangId','snapshot-loading-','getCurrentSelections','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','removeRemotePresence','registerRenderModule','_trackActiveSaveTask','decorate','@univerjs/design','highlightSecond','_hovered','_highlightSecond','_removeClearOtherTimer','_docSkeleton','collaboration-client-ui.session.collaboration-timeout','_themeService','getStateCache','findNodePositionByCharIndex','_syncEditingCollabCursorService','data',':backup:','#0B9EFB','useId','_dataLoaderService','_docSyncEditingCollabCursorService','enableLocalCache','distinctUntilChanged','reconnect','forwardRef','RemoteUniscriptService','hide','drawWith','UniverCollaborationPlugin','round','LoadingMultiIcon','endOffset','SheetsSelectionsService','_initUserListener','jsx','row','onMouseMove','collaboration-client-ui.collabStatus.fetchMiss','save','_showText','getPropertyValue','_notificationService','CONFLICT_PROCESSING','getConfig','_saveCache','_eventUnsubscribe','_replaceConflictNotification'];_0x240c=function(){return _0x59cf71;};return _0x240c();}function _0x47f4(_0x3283c,_0x230001){_0x3283c=_0x3283c-0x136;const _0x240ce7=_0x240c();let _0x47f412=_0x240ce7[_0x3283c];return _0x47f412;}(function(_0x3ab4fc,_0x4363d1){const _0xfe5827=_0x47f4,_0x2a9389=_0x3ab4fc();while(!![]){try{const _0x47c393=parseInt(_0xfe5827(0x40f))/0x1*(parseInt(_0xfe5827(0x196))/0x2)+parseInt(_0xfe5827(0x2a2))/0x3+parseInt(_0xfe5827(0x3c2))/0x4*(-parseInt(_0xfe5827(0x28f))/0x5)+parseInt(_0xfe5827(0x165))/0x6+parseInt(_0xfe5827(0x1e5))/0x7*(-parseInt(_0xfe5827(0x3b6))/0x8)+parseInt(_0xfe5827(0x215))/0x9+parseInt(_0xfe5827(0x3fa))/0xa*(-parseInt(_0xfe5827(0x159))/0xb);if(_0x47c393===_0x4363d1)break;else _0x2a9389['push'](_0x2a9389['shift']());}catch(_0x697c0e){_0x2a9389['push'](_0x2a9389['shift']());}}}(_0x240c,0xddb65),function(_0x22047b,_0x541f0c){const _0x1ee664=_0x47f4;typeof exports=='object'&&typeof module<'u'?_0x541f0c(exports,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-pro/collaboration'),require('@univerjs-pro/license'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('@univerjs/sheets-ui'),require('@univerjs/protocol')):typeof define==_0x1ee664(0x358)&&define[_0x1ee664(0x3f0)]?define([_0x1ee664(0x1d4),_0x1ee664(0x160),_0x1ee664(0x1fc),_0x1ee664(0x401),_0x1ee664(0x23c),'rxjs/operators',_0x1ee664(0x30b),'react','react/jsx-runtime',_0x1ee664(0x1eb),_0x1ee664(0x2d8),'@univerjs/docs',_0x1ee664(0x33d),_0x1ee664(0x207),_0x1ee664(0x2a0),_0x1ee664(0x23f),'@univerjs/sheets',_0x1ee664(0x2e8),_0x1ee664(0x44b)],_0x541f0c):(_0x22047b=typeof globalThis<'u'?globalThis:_0x22047b||self,_0x541f0c(_0x22047b[_0x1ee664(0x471)]={},_0x22047b['UniverProCollaborationClient'],_0x22047b[_0x1ee664(0x359)],_0x22047b[_0x1ee664(0x3cc)],_0x22047b['rxjs'],_0x22047b['rxjs'][_0x1ee664(0x3d3)],_0x22047b[_0x1ee664(0x1c2)],_0x22047b['React'],_0x22047b[_0x1ee664(0x1ba)],_0x22047b['UniverProCollaboration'],_0x22047b[_0x1ee664(0x2fa)],_0x22047b[_0x1ee664(0x14a)],_0x22047b[_0x1ee664(0x2d2)],_0x22047b[_0x1ee664(0x14b)],_0x22047b['UniverNetwork'],_0x22047b[_0x1ee664(0x1e4)],_0x22047b[_0x1ee664(0x1c0)],_0x22047b['UniverSheetsUi'],_0x22047b[_0x1ee664(0x161)]));}(this,function(_0x19a2c1,_0x168f92,_0xe297f1,_0x3fe2b4,_0x418606,_0x123019,_0x1a1a9a,_0xe740c2,_0x2a2749,_0x2bfd29,_0x329393,_0x4c375f,_0x3a6120,_0x2b1f96,_0x259981,_0x283741,_0x3d5523,_0x58a607,_0x22afb6){const _0x1ef132=_0x47f4;Object[_0x1ef132(0x41c)](_0x19a2c1,Symbol['toStringTag'],{'value':'Module'});function _0x4e4b70({ref:_0x210e08,..._0x2440c0}){const _0x45a85e=_0x1ef132;let {preserveStrokeWidth:_0x34b232,icon:_0x4bd95f,id:_0x24e613,className:_0x5cca45,extend:_0x36d51c,..._0x24d631}=_0x2440c0,_0x55fc6d=(_0x45a85e(0x138)+_0x24e613+'\x20'+(_0x5cca45||''))[_0x45a85e(0x1ec)](),_0x1b99af='_'+(0x0,_0xe740c2[_0x45a85e(0x319)])(),_0x3bf8aa=(0x0,_0xe740c2[_0x45a85e(0x237)])(null);return(0x0,_0xe740c2[_0x45a85e(0x1bb)])(_0x210e08,()=>_0x3bf8aa[_0x45a85e(0x3b5)]),(0x0,_0xe740c2[_0x45a85e(0x3ba)])(()=>{const _0x278327=_0x45a85e;if(_0x34b232&&_0x3bf8aa[_0x278327(0x3b5)]&&_0x3bf8aa[_0x278327(0x3b5)][_0x278327(0x1ed)]===_0x4bd95f[_0x278327(0x484)])return _0x102066(_0x3bf8aa[_0x278327(0x3b5)]);},[_0x34b232,_0x4bd95f]),_0x590562(_0x4bd95f,''+_0x24e613,{'defIds':_0x4bd95f['defIds'],'idSuffix':_0x1b99af},{'ref':_0x3bf8aa,'className':_0x55fc6d,..._0x24d631},_0x36d51c);}function _0x590562(_0x12b59d,_0x26e1c8,_0x5d4af3,_0x4103c9,_0x9a6309){const _0x5e9817=_0x1ef132;return(0x0,_0xe740c2[_0x5e9817(0x3b0)])(_0x12b59d[_0x5e9817(0x484)],{'key':_0x26e1c8,..._0x515244(_0x12b59d,_0x5d4af3,_0x9a6309),..._0x4103c9},(_0x57d2c7(_0x12b59d,_0x5d4af3)[_0x5e9817(0x286)]||[])[_0x5e9817(0x473)]((_0x5c4d1c,_0x10260d)=>_0x590562(_0x5c4d1c,_0x26e1c8+'-'+_0x12b59d[_0x5e9817(0x484)]+'-'+_0x10260d,_0x5d4af3,void 0x0,_0x9a6309)));}function _0x515244(_0x37b515,_0x1deb38,_0x1990da){const _0x52f28d=_0x1ef132;let _0x3493c2={..._0x37b515[_0x52f28d(0x367)]};_0x1990da!=null&&_0x1990da[_0x52f28d(0x28c)]&&_0x3493c2[_0x52f28d(0x36b)]===_0x52f28d(0x28c)&&(_0x3493c2[_0x52f28d(0x36b)]=_0x1990da[_0x52f28d(0x28c)]),_0x1990da!=null&&_0x1990da[_0x52f28d(0x28c)]&&_0x3493c2[_0x52f28d(0x26a)]===_0x52f28d(0x28c)&&(_0x3493c2[_0x52f28d(0x26a)]=_0x1990da[_0x52f28d(0x28c)]),_0x37b515['tag']===_0x52f28d(0x16b)&&_0x3493c2['id']&&(_0x3493c2['id']+=_0x1deb38[_0x52f28d(0x33f)]),Object['entries'](_0x3493c2)[_0x52f28d(0x275)](([_0x183b6f,_0x4599dd])=>{const _0x443a1c=_0x52f28d;_0x183b6f===_0x443a1c(0x16b)&&typeof _0x4599dd==_0x443a1c(0x480)&&(_0x3493c2[_0x183b6f]=_0x4599dd[_0x443a1c(0x1db)](/url\(#(.*)\)/,_0x443a1c(0x2b9)+_0x1deb38[_0x443a1c(0x33f)]+')'));});let {defIds:_0x44e92d}=_0x1deb38;return!_0x44e92d||_0x44e92d['length']===0x0?_0x3493c2:(_0x37b515[_0x52f28d(0x484)]===_0x52f28d(0x2c5)&&_0x3493c2[_0x52f28d(0x183)]&&(_0x3493c2[_0x52f28d(0x183)]+=_0x1deb38[_0x52f28d(0x33f)]),Object[_0x52f28d(0x254)](_0x3493c2)[_0x52f28d(0x275)](([_0xe9c2a4,_0x20deed])=>{const _0x2de76a=_0x52f28d;typeof _0x20deed==_0x2de76a(0x480)&&(_0x3493c2[_0xe9c2a4]=_0x20deed[_0x2de76a(0x1db)](/url\(#(.*)\)/,_0x2de76a(0x2b9)+_0x1deb38['idSuffix']+')'));}),_0x3493c2);}function _0x57d2c7(_0x1e831f,_0x2773f0){const _0x2c9f66=_0x1ef132;var _0x15b074;let {defIds:_0x152215}=_0x2773f0;return!_0x152215||_0x152215['length']===0x0?_0x1e831f:_0x1e831f[_0x2c9f66(0x484)]===_0x2c9f66(0x194)&&(_0x15b074=_0x1e831f[_0x2c9f66(0x286)])!=null&&_0x15b074[_0x2c9f66(0x2e6)]?{..._0x1e831f,'children':_0x1e831f[_0x2c9f66(0x286)][_0x2c9f66(0x473)](_0x1665f6=>typeof _0x1665f6[_0x2c9f66(0x367)]['id']==_0x2c9f66(0x480)&&_0x152215&&_0x152215['includes'](_0x1665f6[_0x2c9f66(0x367)]['id'])?{..._0x1665f6,'attrs':{..._0x1665f6[_0x2c9f66(0x367)],'id':_0x1665f6[_0x2c9f66(0x367)]['id']+_0x2773f0[_0x2c9f66(0x33f)]}}:_0x1665f6)}:_0x1e831f;}function _0x102066(_0x130e6d){const _0x5d8308=_0x1ef132;let _0x38a355=_0x130e6d['viewBox']['baseVal'],_0x1d03f3=Math[_0x5d8308(0x14e)](_0x38a355['width'],_0x38a355[_0x5d8308(0x336)]);if(!Number['isFinite'](_0x1d03f3)||_0x1d03f3<=0x0||_0x38a355[_0x5d8308(0x3a2)]<=0x0||_0x38a355[_0x5d8308(0x336)]<=0x0)return()=>void 0x0;let _0x2a78f8=0x10/_0x1d03f3,_0x42712c=Array['from'](_0x130e6d[_0x5d8308(0x398)]('circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use'))[_0x5d8308(0x48b)](_0x1c3e47=>{const _0x344691=_0x5d8308;let _0x53489b=getComputedStyle(_0x1c3e47),_0x2ddc3a=Number['parseFloat'](_0x53489b[_0x344691(0x29c)]);return _0x53489b[_0x344691(0x26a)]===_0x344691(0x46b)||Number[_0x344691(0x204)](_0x53489b['strokeOpacity'])===0x0||_0x53489b[_0x344691(0x42a)]===_0x344691(0x458)||!Number[_0x344691(0x21e)](_0x2ddc3a)||_0x2ddc3a<=0x0?[]:[{'element':_0x1c3e47,'hadStyleAttribute':_0x1c3e47['hasAttribute']('style'),'originalStrokeWidth':_0x2ddc3a,'strokeWidth':_0x52f1ce(_0x1c3e47[_0x344691(0x25a)],_0x344691(0x1fb))}];})[_0x5d8308(0x473)](_0xb973b5=>({'appliedStrokeWidth':null,'element':_0xb973b5[_0x5d8308(0x26b)],'hadStyleAttribute':_0xb973b5[_0x5d8308(0x384)],'isReleased':!0x1,'originalStrokeWidth':_0xb973b5[_0x5d8308(0x2cb)],'strokeWidth':_0xb973b5['strokeWidth']}));if(_0x42712c[_0x5d8308(0x2e6)]===0x0)return()=>void 0x0;let _0x3cf455=(_0x2488d7,_0xc78a88)=>{const _0x2124ba=_0x5d8308;if(_0x38a355[_0x2124ba(0x3a2)]<=0x0||_0x38a355[_0x2124ba(0x336)]<=0x0||_0x2488d7<=0x0||_0xc78a88<=0x0)return;let _0x1b1ac9=Math[_0x2124ba(0x37d)](_0x2488d7/_0x38a355[_0x2124ba(0x3a2)],_0xc78a88/_0x38a355[_0x2124ba(0x336)]);!Number[_0x2124ba(0x21e)](_0x1b1ac9)||_0x1b1ac9<=0x0||_0x42712c[_0x2124ba(0x275)](_0x46990d=>{const _0x7483d0=_0x2124ba;if(_0x46990d[_0x7483d0(0x33c)])return;if(_0x46990d[_0x7483d0(0x428)]!==null&&(_0x46990d[_0x7483d0(0x26b)]['style'][_0x7483d0(0x32f)](_0x7483d0(0x1fb))!==_0x46990d[_0x7483d0(0x428)]||_0x46990d[_0x7483d0(0x26b)][_0x7483d0(0x25a)][_0x7483d0(0x3ce)](_0x7483d0(0x1fb))!==_0x46990d[_0x7483d0(0x29c)][_0x7483d0(0x408)])){_0x46990d['appliedStrokeWidth']=null,_0x46990d[_0x7483d0(0x33c)]=!0x0;return;}let _0x29192f=_0x46990d['originalStrokeWidth']*_0x2a78f8/_0x1b1ac9,_0x42bd15=Number(_0x29192f[_0x7483d0(0x432)](0xc))+'px';_0x46990d['element'][_0x7483d0(0x25a)][_0x7483d0(0x40b)]('stroke-width',_0x42bd15,_0x46990d['strokeWidth'][_0x7483d0(0x408)]),_0x46990d['appliedStrokeWidth']=_0x42bd15;});},_0x22878b=_0x130e6d[_0x5d8308(0x243)]();_0x3cf455(_0x22878b[_0x5d8308(0x3a2)],_0x22878b['height']);let _0x93ba4=typeof ResizeObserver>'u'?null:new ResizeObserver(_0xd5e95b=>{const _0x1ea194=_0x5d8308;if(_0xd5e95b[_0x1ea194(0x1a3)](_0x470fb2=>_0x470fb2[_0x1ea194(0x373)]===_0x130e6d)){let _0x524ed5=_0x130e6d['getBoundingClientRect']();_0x3cf455(_0x524ed5[_0x1ea194(0x3a2)],_0x524ed5[_0x1ea194(0x336)]);}});return _0x93ba4==null||_0x93ba4[_0x5d8308(0x20d)](_0x130e6d),()=>{const _0x4a42d5=_0x5d8308;_0x93ba4==null||_0x93ba4[_0x4a42d5(0x2ca)](),_0x42712c[_0x4a42d5(0x275)](_0x1668a9=>{const _0x54bdf8=_0x4a42d5;_0x1668a9[_0x54bdf8(0x428)]!==null&&(_0x26cf75(_0x1668a9[_0x54bdf8(0x26b)][_0x54bdf8(0x25a)],_0x54bdf8(0x1fb),_0x1668a9[_0x54bdf8(0x428)],_0x1668a9[_0x54bdf8(0x29c)]['priority'],_0x1668a9[_0x54bdf8(0x29c)]),!_0x1668a9['hadStyleAttribute']&&_0x1668a9[_0x54bdf8(0x26b)][_0x54bdf8(0x25a)][_0x54bdf8(0x2e6)]===0x0&&_0x1668a9[_0x54bdf8(0x26b)][_0x54bdf8(0x21f)]('style'));});};}function _0x52f1ce(_0x5c86cc,_0x765918){const _0x12d291=_0x1ef132;return{'priority':_0x5c86cc[_0x12d291(0x3ce)](_0x765918),'value':_0x5c86cc[_0x12d291(0x32f)](_0x765918)};}function _0x26cf75(_0x460946,_0x4df1cc,_0x80930f,_0x53df3a,_0x2e6e85){const _0x29b975=_0x1ef132;_0x460946[_0x29b975(0x32f)](_0x4df1cc)===_0x80930f&&_0x460946[_0x29b975(0x3ce)](_0x4df1cc)===_0x53df3a&&(_0x2e6e85[_0x29b975(0x420)]?_0x460946[_0x29b975(0x40b)](_0x4df1cc,_0x2e6e85[_0x29b975(0x420)],_0x2e6e85[_0x29b975(0x408)]):_0x460946[_0x29b975(0x1a5)](_0x4df1cc));}_0x4e4b70[_0x1ef132(0x1ad)]=_0x1ef132(0x429);let _0x3166ed={'tag':_0x1ef132(0x42d),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1ef132(0x46b),'viewBox':_0x1ef132(0x1c5),'width':_0x1ef132(0x184),'height':_0x1ef132(0x184)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x1ef132(0x213),'attrs':{'stroke':_0x1ef132(0x485),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x1ef132(0x324),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1ef132(0x35b),'attrs':{'id':_0x1ef132(0x198)},'children':[{'tag':_0x1ef132(0x213),'attrs':{'fill':_0x1ef132(0x2c0),'d':_0x1ef132(0x363)}}]}]}],'defIds':[_0x1ef132(0x198)]},_0x58b4ab=(0x0,_0xe740c2[_0x1ef132(0x31f)])(function(_0x29ec60,_0x1dcdd8){const _0x3b05d5=_0x1ef132;return(0x0,_0xe740c2[_0x3b05d5(0x3b0)])(_0x4e4b70,Object[_0x3b05d5(0x35c)]({},_0x29ec60,{'id':_0x3b05d5(0x232),'ref':_0x1dcdd8,'icon':_0x3166ed}));});_0x58b4ab[_0x1ef132(0x1ad)]=_0x1ef132(0x136);let _0x1ed1ca={'tag':_0x1ef132(0x42d),'attrs':{'xmlns':_0x1ef132(0x340),'fill':_0x1ef132(0x46b),'viewBox':_0x1ef132(0x3db),'width':_0x1ef132(0x184),'height':_0x1ef132(0x184)},'children':[{'tag':'g','attrs':{'clipPath':_0x1ef132(0x351)},'children':[{'tag':_0x1ef132(0x213),'attrs':{'stroke':_0x1ef132(0x485),'d':_0x1ef132(0x376),'strokeLinecap':_0x1ef132(0x324),'strokeLinejoin':_0x1ef132(0x324),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1ef132(0x35b),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x1ef132(0x213),'attrs':{'fill':_0x1ef132(0x2c0),'d':_0x1ef132(0x363),'transform':_0x1ef132(0x228)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x412814=(0x0,_0xe740c2['forwardRef'])(function(_0x57532f,_0x262efd){const _0x16016e=_0x1ef132;return(0x0,_0xe740c2['createElement'])(_0x4e4b70,Object[_0x16016e(0x35c)]({},_0x57532f,{'id':_0x16016e(0x389),'ref':_0x262efd,'icon':_0x1ed1ca}));});_0x412814['displayName']=_0x1ef132(0x2cf);let _0x71942e={'tag':'svg','attrs':{'xmlns':_0x1ef132(0x340),'fill':_0x1ef132(0x46b),'viewBox':_0x1ef132(0x1c5),'width':_0x1ef132(0x184),'height':'1em'},'children':[{'tag':_0x1ef132(0x213),'attrs':{'fill':'currentColor','d':_0x1ef132(0x19c),'fillRule':_0x1ef132(0x3e7),'clipRule':_0x1ef132(0x3e7)}}]},_0x53b4c9=(0x0,_0xe740c2[_0x1ef132(0x31f)])(function(_0xc29b81,_0x459708){const _0x450f6d=_0x1ef132;return(0x0,_0xe740c2[_0x450f6d(0x3b0)])(_0x4e4b70,Object[_0x450f6d(0x35c)]({},_0xc29b81,{'id':_0x450f6d(0x295),'ref':_0x459708,'icon':_0x71942e}));});_0x53b4c9['displayName']=_0x1ef132(0x172);let _0x3664a7={'tag':_0x1ef132(0x42d),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1ef132(0x46b),'viewBox':_0x1ef132(0x1c5),'width':_0x1ef132(0x184),'height':_0x1ef132(0x184)},'children':[{'tag':_0x1ef132(0x213),'attrs':{'fill':_0x1ef132(0x318),'d':_0x1ef132(0x36e),'fillOpacity':0.2,'fillRule':_0x1ef132(0x3e7),'clipRule':_0x1ef132(0x3e7)}},{'tag':_0x1ef132(0x213),'attrs':{'fill':_0x1ef132(0x318),'d':_0x1ef132(0x437),'fillRule':_0x1ef132(0x3e7),'clipRule':_0x1ef132(0x3e7)}}]},_0x393d88=(0x0,_0xe740c2[_0x1ef132(0x31f)])(function(_0x45ec99,_0x4c3136){const _0x2973fd=_0x1ef132;return(0x0,_0xe740c2[_0x2973fd(0x3b0)])(_0x4e4b70,Object[_0x2973fd(0x35c)]({},_0x45ec99,{'id':_0x2973fd(0x3dd),'ref':_0x4c3136,'icon':_0x3664a7}));});_0x393d88[_0x1ef132(0x1ad)]=_0x1ef132(0x325);function _0x2d6649(_0x44a1f9){const _0x28424b=_0x1ef132;switch(_0x44a1f9){case _0x168f92[_0x28424b(0x153)]['OFFLINE']:return{'icon':(0x0,_0x2a2749[_0x28424b(0x329)])(_0x58b4ab,{}),'colorClass':_0x28424b(0x252),'i18nKey':_0x28424b(0x2ae),'tooltipKey':'collaboration-client-ui.collabClient.tooltip.reconnect','clickable':!0x0,'indicator':'static'};case _0x168f92[_0x28424b(0x153)]['CONFLICT']:return{'icon':(0x0,_0x2a2749['jsx'])(_0x58b4ab,{}),'colorClass':'univer-text-orange-500','i18nKey':_0x28424b(0x13e),'clickable':!0x1,'indicator':_0x28424b(0x45b)};case _0x168f92[_0x28424b(0x153)][_0x28424b(0x19d)]:return{'icon':(0x0,_0x2a2749[_0x28424b(0x329)])(_0x393d88,{}),'colorClass':'univer-text-blue-500','i18nKey':_0x28424b(0x32c),'clickable':!0x1,'indicator':'spin'};case _0x168f92['CollaborationStatus'][_0x28424b(0x365)]:return{'icon':(0x0,_0x2a2749[_0x28424b(0x329)])(_0x412814,{}),'colorClass':_0x28424b(0x1d9),'i18nKey':'collaboration-client-ui.collabStatus.notCollab','clickable':!0x1,'indicator':_0x28424b(0x45b)};case _0x168f92[_0x28424b(0x153)][_0x28424b(0x2e0)]:case _0x168f92['CollaborationStatus'][_0x28424b(0x2c9)]:return{'icon':(0x0,_0x2a2749[_0x28424b(0x329)])(_0x393d88,{}),'colorClass':'univer-text-blue-500','i18nKey':'collaboration-client-ui.collabStatus.syncing','clickable':!0x1,'indicator':_0x28424b(0x438)};case _0x168f92[_0x28424b(0x153)][_0x28424b(0x284)]:return{'icon':(0x0,_0x2a2749['jsx'])(_0x393d88,{}),'colorClass':_0x28424b(0x27f),'i18nKey':_0x28424b(0x455),'clickable':!0x1,'indicator':_0x28424b(0x438)};case _0x168f92[_0x28424b(0x153)][_0x28424b(0x470)]:return{'icon':(0x0,_0x2a2749[_0x28424b(0x329)])(_0x412814,{}),'colorClass':_0x28424b(0x1be),'i18nKey':_0x28424b(0x360),'clickable':!0x1,'indicator':_0x28424b(0x45b)};}}function _0x4ca288(_0x1bb32a){const _0x25d557=_0x1ef132;let {status$:_0x28177f}=_0x1bb32a,_0x573965=(0x0,_0x3fe2b4[_0x25d557(0x244)])(_0x28177f,_0x168f92['CollaborationStatus'][_0x25d557(0x365)]),_0x5616aa=(0x0,_0x3fe2b4[_0x25d557(0x2bc)])(_0xe297f1[_0x25d557(0x17b)]),_0x3860fa=(0x0,_0x3fe2b4['useDependency'])(_0x168f92[_0x25d557(0x238)]),_0x3e8b90=(0x0,_0xe740c2['useMemo'])(()=>_0x2d6649(_0x573965),[_0x573965]),_0x42ed56=_0x573965!==_0x168f92[_0x25d557(0x153)][_0x25d557(0x220)],_0x2130f1=_0x5616aa['t'](_0x3e8b90[_0x25d557(0x18c)]),_0x24b8aa=_0x3e8b90[_0x25d557(0x22d)]?_0x5616aa['t'](_0x3e8b90[_0x25d557(0x22d)]):_0x2130f1,_0x357d37=(0x0,_0xe740c2[_0x25d557(0x24c)])(()=>{const _0x296b86=_0x25d557;_0x42ed56||_0x3860fa[_0x296b86(0x31e)]();},[_0x42ed56,_0x3860fa]),_0x140773=(0x0,_0xe740c2[_0x25d557(0x24c)])(_0x5d14b1=>{const _0x19b195=_0x25d557;!_0x42ed56&&(_0x5d14b1['key']===_0x19b195(0x1c9)||_0x5d14b1[_0x19b195(0x2f4)]==='\x20')&&(_0x5d14b1[_0x19b195(0x469)](),_0x3860fa['reconnect']());},[_0x42ed56,_0x3860fa]),_0x2c725b=(0x0,_0x2a2749[_0x25d557(0x329)])(_0x25d557(0x3d1),{'className':(0x0,_0x1a1a9a[_0x25d557(0x214)])('univer-flex\x20univer-items-center\x20univer-justify-center','univer-text-xl\x20univer-transition-colors\x20univer-duration-200',_0x3e8b90[_0x25d557(0x21b)],{'univer-animate-spin':_0x3e8b90[_0x25d557(0x3d0)]===_0x25d557(0x438),'univer-animate-pulse':_0x3e8b90[_0x25d557(0x3d0)]==='pulse'}),'aria-hidden':_0x25d557(0x209),'children':_0x3e8b90[_0x25d557(0x488)]}),_0x3995a4=(0x0,_0x2a2749['jsx'])(_0x25d557(0x3d1),{'className':(0x0,_0x1a1a9a[_0x25d557(0x214)])(_0x25d557(0x2c7),_0x25d557(0x1e0),_0x25d557(0x2a7),_0x25d557(0x187),_0x25d557(0x46e),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x3e8b90[_0x25d557(0x17c)],'univer-cursor-default':!_0x3e8b90[_0x25d557(0x17c)]}),'children':_0x2c725b});return _0x3e8b90[_0x25d557(0x17c)]?(0x0,_0x2a2749[_0x25d557(0x329)])(_0x1a1a9a[_0x25d557(0x2e3)],{'title':_0x24b8aa,'placement':_0x25d557(0x24b),'children':(0x0,_0x2a2749[_0x25d557(0x329)])(_0x25d557(0x41e),{'type':_0x25d557(0x41e),'onClick':_0x357d37,'onKeyDown':_0x140773,'className':(0x0,_0x1a1a9a[_0x25d557(0x214)])(_0x25d557(0x199),_0x25d557(0x476),_0x25d557(0x447),_0x25d557(0x3e6)),'aria-label':_0x2130f1+_0x25d557(0x350)+_0x24b8aa,'role':_0x25d557(0x282),'aria-live':_0x25d557(0x2b0),'aria-atomic':_0x25d557(0x209),'children':_0x3995a4})}):(0x0,_0x2a2749[_0x25d557(0x329)])(_0x1a1a9a[_0x25d557(0x2e3)],{'title':_0x24b8aa,'placement':_0x25d557(0x24b),'children':(0x0,_0x2a2749[_0x25d557(0x329)])(_0x25d557(0x418),{'className':(0x0,_0x1a1a9a[_0x25d557(0x214)])(_0x25d557(0x199),_0x25d557(0x476),_0x25d557(0x447)),'aria-label':_0x2130f1,'role':_0x25d557(0x282),'aria-live':_0x25d557(0x2b0),'aria-atomic':_0x25d557(0x209),'children':_0x3995a4})});}function _0x2e9963(_0x1dc5d3){'@babel/helpers - typeof';const _0x4727df=_0x1ef132;return _0x2e9963=typeof Symbol==_0x4727df(0x358)&&typeof Symbol[_0x4727df(0x294)]=='symbol'?function(_0x46a800){return typeof _0x46a800;}:function(_0x3c1ee1){const _0x191a4a=_0x4727df;return _0x3c1ee1&&typeof Symbol==_0x191a4a(0x358)&&_0x3c1ee1[_0x191a4a(0x29d)]===Symbol&&_0x3c1ee1!==Symbol[_0x191a4a(0x192)]?_0x191a4a(0x3da):typeof _0x3c1ee1;},_0x2e9963(_0x1dc5d3);}function _0x16336e(_0x4d5ac9,_0x468630){const _0x3ad519=_0x1ef132;if(_0x2e9963(_0x4d5ac9)!=_0x3ad519(0x290)||!_0x4d5ac9)return _0x4d5ac9;var _0x2ed6fc=_0x4d5ac9[Symbol[_0x3ad519(0x3dc)]];if(_0x2ed6fc!==void 0x0){var _0x58d2f8=_0x2ed6fc[_0x3ad519(0x2ce)](_0x4d5ac9,_0x468630||'default');if(_0x2e9963(_0x58d2f8)!=_0x3ad519(0x290))return _0x58d2f8;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x468630==='string'?String:Number)(_0x4d5ac9);}function _0x2c837a(_0x2e1762){const _0x4fb26b=_0x1ef132;var _0x4b991b=_0x16336e(_0x2e1762,_0x4fb26b(0x480));return _0x2e9963(_0x4b991b)==_0x4fb26b(0x3da)?_0x4b991b:_0x4b991b+'';}function _0x16f5f(_0xe96417,_0x5cd9a0,_0x1adcca){const _0x19118f=_0x1ef132;return(_0x5cd9a0=_0x2c837a(_0x5cd9a0))in _0xe96417?Object[_0x19118f(0x41c)](_0xe96417,_0x5cd9a0,{'value':_0x1adcca,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0xe96417[_0x5cd9a0]=_0x1adcca,_0xe96417;}function _0x3956b3(_0x197243,_0x5c5dcf){return function(_0x156bcd,_0x5b921a){_0x5c5dcf(_0x156bcd,_0x5b921a,_0x197243);};}function _0x233913(_0x48dc1c,_0x4448ef,_0x919b6d,_0x4be902){const _0x1fc79e=_0x1ef132;var _0x31037d=arguments[_0x1fc79e(0x2e6)],_0x5a265f=_0x31037d<0x3?_0x4448ef:_0x4be902===null?_0x4be902=Object['getOwnPropertyDescriptor'](_0x4448ef,_0x919b6d):_0x4be902,_0x209b98;if(typeof Reflect==_0x1fc79e(0x290)&&typeof Reflect[_0x1fc79e(0x30a)]==_0x1fc79e(0x358))_0x5a265f=Reflect[_0x1fc79e(0x30a)](_0x48dc1c,_0x4448ef,_0x919b6d,_0x4be902);else{for(var _0x47b552=_0x48dc1c['length']-0x1;_0x47b552>=0x0;_0x47b552--)(_0x209b98=_0x48dc1c[_0x47b552])&&(_0x5a265f=(_0x31037d<0x3?_0x209b98(_0x5a265f):_0x31037d>0x3?_0x209b98(_0x4448ef,_0x919b6d,_0x5a265f):_0x209b98(_0x4448ef,_0x919b6d))||_0x5a265f);}return _0x31037d>0x3&&_0x5a265f&&Object[_0x1fc79e(0x41c)](_0x4448ef,_0x919b6d,_0x5a265f),_0x5a265f;}let _0x10e141=class extends _0xe297f1[_0x1ef132(0x1da)]{constructor(_0x6f2a87,_0x2a6afd,_0x4ce062,_0x4ff3fa,_0x1e1993){const _0x343089=_0x1ef132;super(),this[_0x343089(0x253)]=_0x6f2a87,this['_injector']=_0x2a6afd,this[_0x343089(0x43d)]=_0x4ce062,this['_uiPartsService']=_0x4ff3fa,this[_0x343089(0x349)]=_0x1e1993,_0x16f5f(this,_0x343089(0x2dc),new _0x418606[(_0x343089(0x139))](_0x168f92[_0x343089(0x153)]['NOT_COLLAB'])),_0x16f5f(this,_0x343089(0x272),new Map()),this[_0x343089(0x1cc)](),this[_0x343089(0x283)](),this[_0x343089(0x42c)]();}['dispose'](){const _0x124bff=_0x1ef132;this[_0x124bff(0x272)]['forEach'](_0x591e4a=>_0x591e4a[_0x124bff(0x3b7)]()),this[_0x124bff(0x272)]['clear'](),this[_0x124bff(0x2dc)][_0x124bff(0x35f)](),super[_0x124bff(0x3b7)]();}[_0x1ef132(0x283)](){const _0x4b1e9c=_0x1ef132;this[_0x4b1e9c(0x182)]((0x0,_0x418606[_0x4b1e9c(0x482)])(this[_0x4b1e9c(0x253)][_0x4b1e9c(0x2e7)],this['_univerInstanceService']['getCurrentTypeOfUnit$'](_0xe297f1[_0x4b1e9c(0x34e)][_0x4b1e9c(0x230)]),this[_0x4b1e9c(0x253)]['getCurrentTypeOfUnit$'](_0xe297f1[_0x4b1e9c(0x34e)][_0x4b1e9c(0x1fa)]))['pipe']((0x0,_0x123019[_0x4b1e9c(0x473)])(()=>_0x1c5119(this[_0x4b1e9c(0x253)])),(0x0,_0x123019[_0x4b1e9c(0x31d)])(),(0x0,_0x418606[_0x4b1e9c(0x22f)])(_0x36a4f4=>_0x36a4f4?this['_collaborationController']['getCollabEntity$'](_0x36a4f4):(0x0,_0x418606['of'])(null)),(0x0,_0x418606[_0x4b1e9c(0x22f)])(_0x477ab8=>_0x477ab8?_0x477ab8[_0x4b1e9c(0x1ae)]:(0x0,_0x418606['of'])(_0x168f92['CollaborationStatus'][_0x4b1e9c(0x365)])))[_0x4b1e9c(0x41d)](_0x8f78ac=>{const _0x3b85ee=_0x4b1e9c;this[_0x3b85ee(0x2dc)][_0x3b85ee(0x178)](_0x8f78ac);}));}[_0x1ef132(0x1cc)](){const _0x59d8cb=_0x1ef132;this[_0x59d8cb(0x182)](this[_0x59d8cb(0x1f8)][_0x59d8cb(0x3f4)](_0x3fe2b4['BuiltInUIPart']['HEADER_MENU'],()=>(0x0,_0x3fe2b4['connectInjector'])(_0x24106c({'status$':this[_0x59d8cb(0x2dc)][_0x59d8cb(0x235)]()}),this[_0x59d8cb(0x2fe)])));}[_0x1ef132(0x42c)](){const _0x194843=_0x1ef132;let _0x981495=this['_presenceAdapterRegistry'][_0x194843(0x1a4)][_0x194843(0x41d)](_0x580d88=>{this['_syncPresenceStatusComponents'](_0x580d88);});this[_0x194843(0x182)]((0x0,_0xe297f1['toDisposable'])(()=>_0x981495[_0x194843(0x444)]()));}[_0x1ef132(0x442)](_0x5cd8f2){const _0x2a34b3=_0x1ef132;let _0xd397d7=new Map(_0x5cd8f2[_0x2a34b3(0x1c6)](_0x565200=>_0x565200[_0x2a34b3(0x17f)]!=null)[_0x2a34b3(0x473)](_0x40a329=>[_0x40a329[_0x2a34b3(0x453)],_0x40a329]));this[_0x2a34b3(0x272)][_0x2a34b3(0x275)]((_0x35f5f6,_0x30689b)=>{const _0x1a7016=_0x2a34b3;_0xd397d7['has'](_0x30689b)||(_0x35f5f6[_0x1a7016(0x3b7)](),this[_0x1a7016(0x272)]['delete'](_0x30689b));}),_0xd397d7[_0x2a34b3(0x275)]((_0x43bd05,_0x57591a)=>{const _0x187b7d=_0x2a34b3;this['_presenceStatusRegistrations'][_0x187b7d(0x3ca)](_0x57591a)||this[_0x187b7d(0x2cd)](_0x43bd05);});}[_0x1ef132(0x2cd)](_0x28b173){const _0x20b14d=_0x1ef132;let _0x5b4e1e=_0x28b173[_0x20b14d(0x17f)];if(!_0x5b4e1e)return;let _0x111f6b=new _0xe297f1['DisposableCollection'](),_0x3ba50c=new _0x418606[(_0x20b14d(0x139))](_0x168f92['CollaborationStatus'][_0x20b14d(0x365)]);_0x111f6b[_0x20b14d(0x421)]((0x0,_0xe297f1[_0x20b14d(0x144)])(()=>_0x3ba50c[_0x20b14d(0x35f)]())),_0x111f6b['add'](this[_0x20b14d(0x1f8)][_0x20b14d(0x3f4)](_0x5b4e1e,()=>(0x0,_0x3fe2b4[_0x20b14d(0x426)])(_0x24106c({'status$':_0x3ba50c['asObservable']()}),this[_0x20b14d(0x2fe)])));let _0x113bf0=this[_0x20b14d(0x253)]['getCurrentTypeOfUnit$'](_0x28b173['unitType'])[_0x20b14d(0x3cd)]((0x0,_0x123019[_0x20b14d(0x473)])(_0x385676=>(_0x385676==null?void 0x0:_0x385676[_0x20b14d(0x338)]())??null),(0x0,_0x123019[_0x20b14d(0x31d)])(),(0x0,_0x418606[_0x20b14d(0x22f)])(_0x1bc796=>_0x1bc796?this[_0x20b14d(0x43d)][_0x20b14d(0x2d4)](_0x1bc796):(0x0,_0x418606['of'])(null)),(0x0,_0x418606[_0x20b14d(0x22f)])(_0x2e9745=>(_0x2e9745==null?void 0x0:_0x2e9745[_0x20b14d(0x1ae)])??(0x0,_0x418606['of'])(_0x168f92[_0x20b14d(0x153)]['NOT_COLLAB'])))[_0x20b14d(0x41d)](_0x507d1c=>_0x3ba50c[_0x20b14d(0x178)](_0x507d1c));_0x111f6b[_0x20b14d(0x421)]((0x0,_0xe297f1['toDisposable'])(()=>_0x113bf0[_0x20b14d(0x444)]())),this[_0x20b14d(0x272)][_0x20b14d(0x2a3)](_0x28b173['unitType'],_0x111f6b);}};_0x10e141=_0x233913([_0x3956b3(0x0,_0xe297f1['IUniverInstanceService']),_0x3956b3(0x1,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0xe297f1['Injector'])),_0x3956b3(0x2,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0x168f92['CollaborationController'])),_0x3956b3(0x3,_0x3fe2b4[_0x1ef132(0x300)]),_0x3956b3(0x4,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0x3fe2b4[_0x1ef132(0x1b7)]))],_0x10e141);function _0x1c5119(_0x5741a9){const _0x34715c=_0x1ef132;let _0x2ef3ae=_0x5741a9['getFocusedUnit'](),_0x14f4a2=_0x2ef3ae==null?void 0x0:_0x2ef3ae[_0x34715c(0x338)]();if(_0x14f4a2&&!(0x0,_0xe297f1[_0x34715c(0x3f9)])(_0x14f4a2))return _0x14f4a2;let _0x405791=_0x5741a9[_0x34715c(0x27e)](_0xe297f1[_0x34715c(0x34e)]['UNIVER_DOC']),_0x3bb75f=_0x405791==null?void 0x0:_0x405791['getUnitId']();if(_0x3bb75f&&!(0x0,_0xe297f1[_0x34715c(0x3f9)])(_0x3bb75f))return _0x3bb75f;let _0x183e51=_0x5741a9[_0x34715c(0x27e)](_0xe297f1['UniverInstanceType'][_0x34715c(0x1fa)]);if(_0x183e51)return _0x183e51[_0x34715c(0x338)]();let _0x3e78a1=_0x5741a9[_0x34715c(0x17a)](_0xe297f1[_0x34715c(0x34e)]['UNIVER_DOC'])[_0x34715c(0x40a)](_0x6aeee3=>!(0x0,_0xe297f1[_0x34715c(0x3f9)])(_0x6aeee3[_0x34715c(0x338)]()));return _0x3e78a1?_0x3e78a1[_0x34715c(0x338)]():null;}function _0x24106c(_0x150823){let {status$:_0x1a748f}=_0x150823;return function(){const _0x4e659e=_0x47f4;return(0x0,_0x2a2749[_0x4e659e(0x329)])(_0x4ca288,{'status$':_0x1a748f});};}var _0xb0dfab=_0x1ef132(0x147),_0x4b1d13=_0x1ef132(0x22c);let _0x15e50e={'id':_0x1ef132(0x219),'type':_0xe297f1[_0x1ef132(0x3c1)][_0x1ef132(0x387)],'handler':(_0x1fbe06,_0x350ed7)=>{const _0x3a99b7=_0x1ef132;let _0x7a1147=_0x1fbe06[_0x3a99b7(0x459)](_0x3fe2b4[_0x3a99b7(0x1b7)])[_0x3a99b7(0x459)](_0x350ed7['unitType']);if(!_0x7a1147)return!0x1;switch(_0x350ed7[_0x3a99b7(0x43e)][_0x3a99b7(0x2b8)]){case _0x3a99b7(0x2a3):return _0x7a1147['setRemotePresence'](_0x350ed7[_0x3a99b7(0x43e)][_0x3a99b7(0x449)]),!0x0;case _0x3a99b7(0x40d):return _0x7a1147[_0x3a99b7(0x307)](_0x350ed7['update']['unitId'],_0x350ed7[_0x3a99b7(0x43e)]['memberId']),!0x0;case _0x3a99b7(0x261):return _0x7a1147[_0x3a99b7(0x3cf)](_0x350ed7[_0x3a99b7(0x43e)]['unitId']),!0x0;default:return!0x1;}}},_0x4a2283={},_0x7f9c4b=class extends _0xe297f1['RxDisposable']{constructor(_0x122605,_0x19bb60){const _0x462d19=_0x1ef132;super(),this[_0x462d19(0x2f5)]=_0x122605,this['_imageIoService']=_0x19bb60,this[_0x462d19(0x34f)]();}['_init'](){const _0x4066c7=_0x1ef132;let _0xede84f=this;this[_0x4066c7(0x182)](this[_0x4066c7(0x2f5)][_0x4066c7(0x1bf)]({'onBeforePasteImage':async _0x4ce829=>{const _0x4b6a19=_0x4066c7;let _0x305bf4=await _0xede84f[_0x4b6a19(0x483)][_0x4b6a19(0x2b1)](_0x4ce829);return _0x305bf4?{'source':_0x305bf4[_0x4b6a19(0x298)],'imageSourceType':_0x305bf4[_0x4b6a19(0x280)]}:null;}}));}};_0x7f9c4b=_0x233913([_0x3956b3(0x0,_0x3a6120[_0x1ef132(0x233)]),_0x3956b3(0x1,_0xe297f1[_0x1ef132(0x2d6)])],_0x7f9c4b);let _0x50a855=[_0x1ef132(0x1bd),'jiqing.500','green.600',_0x1ef132(0x22b),_0x1ef132(0x28a),'yellow.400'];var _0x33787d=class extends _0xe297f1[_0x1ef132(0x1da)]{constructor(..._0x3395bd){const _0x2f8e7b=_0x1ef132;super(..._0x3395bd),_0x16f5f(this,_0x2f8e7b(0x382),new Map()),_0x16f5f(this,_0x2f8e7b(0x443),0x0);}['assignAColorForMemberID'](_0x4a1014){const _0x4f0986=_0x1ef132;if(this[_0x4f0986(0x382)][_0x4f0986(0x3ca)](_0x4a1014))return this[_0x4f0986(0x382)][_0x4f0986(0x459)](_0x4a1014);let _0x3b0d4a=_0x50a855[this[_0x4f0986(0x443)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x50a855[_0x4f0986(0x2e6)],this[_0x4f0986(0x382)][_0x4f0986(0x2a3)](_0x4a1014,_0x3b0d4a),_0x3b0d4a;}};function _0x20f81e(_0x4c7f90){const _0x4a9703=_0x1ef132;let _0x1f14a0='';for(let _0x3cf3a3 of _0x4c7f90){let {startOffset:_0x5b04ef,endOffset:_0x3d315b,isActive:_0x1b03be,rangeType:_0x5a49db,segmentId:_0x63f250,segmentPage:_0x3c4860}=_0x3cf3a3;_0x1f14a0[_0x4a9703(0x2e6)]&&(_0x1f14a0+=','),_0x1f14a0+=_0x5b04ef+':'+_0x3d315b+':'+(_0x1b03be?'1':'0')+':'+_0x5a49db+':'+_0x63f250+':'+_0x3c4860;}return _0x1f14a0;}function _0x424946(_0x3840ad){const _0x46e9c2=_0x1ef132;let _0x364e76=_0x3840ad[_0x46e9c2(0x362)](','),_0x2b590a=[];for(let _0xd6e070 of _0x364e76){let [_0x5ac398,_0x2a7e59,_0x295114,_0x2ef2d4,_0x3c5222,_0x1e65de]=_0xd6e070[_0x46e9c2(0x362)](':');_0x2b590a['push']({'startOffset':Number(_0x5ac398),'endOffset':Number(_0x2a7e59),'collapsed':_0x5ac398===_0x2a7e59,'isActive':_0x295114==='1','rangeType':_0x2ef2d4===_0xe297f1[_0x46e9c2(0x2ed)]['TEXT']?_0xe297f1['DOC_RANGE_TYPE'][_0x46e9c2(0x34c)]:_0xe297f1[_0x46e9c2(0x2ed)][_0x46e9c2(0x475)],'segmentId':typeof _0x3c5222==_0x46e9c2(0x480)?String(_0x3c5222):'','segmentPage':Number(_0x1e65de??-0x1)});}return _0x2b590a['some'](_0x15ab2c=>_0x15ab2c[_0x46e9c2(0x148)])||(_0x2b590a[0x0][_0x46e9c2(0x148)]=!0x0),_0x2b590a;}var _0x132c0b=class extends _0xe297f1['RxDisposable']{constructor(..._0x12af39){const _0x11017c=_0x1ef132;super(..._0x12af39),_0x16f5f(this,_0x11017c(0x2b2),new _0x418606[(_0x11017c(0x139))](null)),_0x16f5f(this,_0x11017c(0x3c4),this[_0x11017c(0x2b2)][_0x11017c(0x235)]());}[_0x1ef132(0x2f0)](_0x2b4223){const _0x546ca3=_0x1ef132;let {unitID:_0x49b60d,memberID:_0x2760cb,textRanges:_0xbb0642}=_0x2b4223,_0x112418=_0x20f81e(_0xbb0642);if(_0x112418==='')return;let _0x11f387={'unitID':_0x49b60d,'memberID':_0x2760cb,'selection':_0x112418};this[_0x546ca3(0x2b2)][_0x546ca3(0x178)](_0x11f387);}};let _0xc74892=class extends _0xe297f1[_0x1ef132(0x44d)]{get[_0x1ef132(0x2ab)](){const _0x43e26c=_0x1ef132;return this[_0x43e26c(0x3d2)][_0x43e26c(0x1d2)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}constructor(_0xc09ff,_0x45f467,_0x2c1cbf,_0x3a534d,_0x917653,_0x12d7c8,_0x2c4efc,_0x4d50c5,_0x297f5a){const _0x5f1266=_0x1ef132;super(),this[_0x5f1266(0x205)]=_0xc09ff,this['_session']=_0x45f467,this['_injector']=_0x2c1cbf,this[_0x5f1266(0x222)]=_0x3a534d,this['_memberService']=_0x917653,this[_0x5f1266(0x315)]=_0x12d7c8,this[_0x5f1266(0x13c)]=_0x2c4efc,this[_0x5f1266(0x253)]=_0x4d50c5,this[_0x5f1266(0x251)]=_0x297f5a,_0x16f5f(this,_0x5f1266(0x185),!0x1),_0x16f5f(this,_0x5f1266(0x34f),!0x1),_0x16f5f(this,_0x5f1266(0x3d2),new _0x418606[(_0x5f1266(0x139))](new Map())),_0x16f5f(this,_0x5f1266(0x151),this[_0x5f1266(0x3d2)][_0x5f1266(0x235)]()),_0x16f5f(this,_0x5f1266(0x35e),new _0x418606[(_0x5f1266(0x139))]([])),_0x16f5f(this,_0x5f1266(0x255),this[_0x5f1266(0x35e)]['pipe']((0x0,_0x418606[_0x5f1266(0x15a)])(0x12c))),_0x16f5f(this,_0x5f1266(0x279),(0x0,_0xe297f1[_0x5f1266(0x461)])(_0x4f00d3=>{const _0x52f6cf=_0x5f1266;let _0x2a856c={'eventID':_0x2bfd29[_0x52f6cf(0x140)][_0x52f6cf(0x45f)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x52f6cf(0x3eb)](),'selection':_0x20f81e(_0x4f00d3)}};this[_0x52f6cf(0x414)][_0x52f6cf(0x460)](_0x2a856c,this['unitID']);},0x64));}[_0x1ef132(0x3b7)](){const _0x463964=_0x1ef132;super[_0x463964(0x3b7)](),this[_0x463964(0x3d2)]['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x463964(0x35e)][_0x463964(0x178)]([]),this[_0x463964(0x35e)][_0x463964(0x35f)]();}['init'](){const _0x146c52=_0x1ef132;this[_0x146c52(0x34f)]||(this['_init']=!0x0,this[_0x146c52(0x414)][_0x146c52(0x1b5)][_0x146c52(0x3cd)]((0x0,_0x418606['takeUntil'])(this['dispose$']))[_0x146c52(0x41d)](_0x293891=>{const _0x33e5b3=_0x146c52;_0x293891===_0x168f92[_0x33e5b3(0x175)][_0x33e5b3(0x1cb)]?this['_toggleOnline']():this[_0x33e5b3(0x42e)]();}),this[_0x146c52(0x414)][_0x146c52(0x1c7)][_0x146c52(0x3cd)]((0x0,_0x418606[_0x146c52(0x20a)])(this[_0x146c52(0x1d8)]))[_0x146c52(0x41d)](_0x258059=>{const _0x5ebc7b=_0x146c52;let _0x580843=_0x258059['eventID'];_0x580843===_0x2bfd29[_0x5ebc7b(0x140)][_0x5ebc7b(0x45f)]&&this[_0x5ebc7b(0x35a)](_0x258059),_0x580843===_0x2bfd29[_0x5ebc7b(0x140)][_0x5ebc7b(0x218)]&&this[_0x5ebc7b(0x150)](_0x258059);}),this[_0x146c52(0x182)](this[_0x146c52(0x251)]['onCommandExecuted'](_0x13b8c9=>{const _0x4b77e1=_0x146c52;let _0x142a59=_0x13b8c9[_0x4b77e1(0x39e)];_0x142a59!=null&&this[_0x4b77e1(0x185)]&&_0x13b8c9['id']===_0x4c375f[_0x4b77e1(0x181)]['id']&&_0x142a59[_0x4b77e1(0x427)]===this['unitID']&&_0x142a59[_0x4b77e1(0x174)]===!0x1&&_0x142a59[_0x4b77e1(0x3cb)][_0x4b77e1(0x2e6)]>0x0&&this[_0x4b77e1(0x279)](_0x142a59[_0x4b77e1(0x3cb)]);})),this[_0x146c52(0x315)]['collabCursorState$'][_0x146c52(0x3cd)]((0x0,_0x418606[_0x146c52(0x20a)])(this['dispose$']))[_0x146c52(0x41d)](_0x99bd1b=>{const _0x393a59=_0x146c52;if((_0x99bd1b==null?void 0x0:_0x99bd1b[_0x393a59(0x205)])!==this['unitID'])return;let _0x1490af={'eventID':_0x2bfd29[_0x393a59(0x140)][_0x393a59(0x45f)],'data':_0x99bd1b};this['_onCursorUpdate'](_0x1490af);}),this[_0x146c52(0x182)](this[_0x146c52(0x251)][_0x146c52(0x445)](_0x415405=>{const _0x485415=_0x146c52;if(_0x415405[_0x485415(0x39e)]==null)return;let _0x5557de=_0x415405[_0x485415(0x39e)];if(_0x415405['id']!==_0x4c375f[_0x485415(0x2ee)]['id']||_0x5557de['unitId']!==this['unitID'])return;let _0x9822dd={'id':_0x485415(0x20f),'params':_0x5557de},_0x5e1c18=this['cursorInfo'];for(let [_0xb68edb,_0x351060]of _0x5e1c18){let _0x488aab={'id':_0x485415(0x20f),'params':{'unitId':this[_0x485415(0x205)],'actions':null,'textRanges':_0x351060['ranges']}},_0xf4bb0f=this['_transformService'][_0x485415(0x177)](_0x9822dd,_0x488aab,!0x1);if((0x0,_0x2bfd29[_0x485415(0x464)])(_0xf4bb0f))throw _0xf4bb0f[_0x485415(0x17e)];_0x5e1c18[_0x485415(0x2a3)](_0xb68edb,{..._0x351060,'ranges':_0xf4bb0f[_0x485415(0x2e9)][_0x485415(0x39e)][_0x485415(0x17d)]});}queueMicrotask(()=>{const _0x51bc6a=_0x485415;this[_0x51bc6a(0x3d2)][_0x51bc6a(0x178)](_0x5e1c18);});})));}[_0x1ef132(0x35a)](_0x195616){const _0x2b3d12=_0x1ef132;var _0x405cb3;let {memberID:_0x10d739,selection:_0x3df19a}=_0x195616[_0x2b3d12(0x316)],_0x3c107b=_0x424946(_0x3df19a),_0x5393ea=((_0x405cb3=this[_0x2b3d12(0x27a)][_0x2b3d12(0x21d)](this['unitID'],_0x10d739))==null?void 0x0:_0x405cb3[_0x2b3d12(0x47a)])??_0x2b3d12(0x206),_0x26eab5={'color':this[_0x2b3d12(0x222)][_0x2b3d12(0x270)](_0x10d739),'name':_0x5393ea,'ranges':_0x3c107b},_0x32d200=this[_0x2b3d12(0x2ab)];_0x32d200[_0x2b3d12(0x2a3)](_0x10d739,_0x26eab5),this['_cursorInfo$'][_0x2b3d12(0x178)](_0x32d200);}[_0x1ef132(0x150)](_0xe9de2b){const _0x4f84bd=_0x1ef132;let {memberID:_0xa78c27}=_0xe9de2b[_0x4f84bd(0x316)],_0x5c9244=this[_0x4f84bd(0x2ab)];_0x5c9244[_0x4f84bd(0x1cf)](_0xa78c27),this['_cursorInfo$'][_0x4f84bd(0x178)](_0x5c9244);}[_0x1ef132(0x2d7)](){const _0x434f84=_0x1ef132;var _0x189ab;if(this['_online']=!0x0,((_0x189ab=this['_univerInstanceService'][_0x434f84(0x3a4)]())==null?void 0x0:_0x189ab[_0x434f84(0x338)]())!==this['unitID'])return;let _0x3fc3d5=this[_0x434f84(0x2fe)][_0x434f84(0x459)](_0x4c375f[_0x434f84(0x416)])[_0x434f84(0x13d)]();Array['isArray'](_0x3fc3d5)&&_0x3fc3d5[_0x434f84(0x2e6)]>0x0&&this['_updateLocalCursor'](_0x3fc3d5);}['_toggleOffline'](){this['_online']=!0x1;}};_0xc74892=_0x233913([_0x3956b3(0x2,(0x0,_0xe297f1['Inject'])(_0xe297f1[_0x1ef132(0x20e)])),_0x3956b3(0x3,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0x33787d)),_0x3956b3(0x4,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0x168f92[_0x1ef132(0x208)])),_0x3956b3(0x5,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0x132c0b)),_0x3956b3(0x6,_0x2bfd29['ITransformService']),_0x3956b3(0x7,_0xe297f1[_0x1ef132(0x167)]),_0x3956b3(0x8,_0xe297f1[_0x1ef132(0x3c9)])],_0xc74892);let _0x422f34=()=>{let _0x21e1de=[],_0x516bcc=!0x1;return _0x5ce24d=>{_0x21e1de['push'](_0x5ce24d),_0x516bcc||(_0x516bcc=!0x0,setTimeout(()=>{const _0x19a868=_0x47f4;_0x21e1de[_0x19a868(0x275)](_0x57b7af=>_0x57b7af()),_0x21e1de=[],_0x516bcc=!0x1;}));};},_0x31a41b=class extends _0xe297f1[_0x1ef132(0x44d)]{get[_0x1ef132(0x2ab)](){const _0x337bf5=_0x1ef132;return this[_0x337bf5(0x3d2)][_0x337bf5(0x1d2)]();}get[_0x1ef132(0x47b)](){const _0x37d1b7=_0x1ef132;return this[_0x37d1b7(0x35e)][_0x37d1b7(0x1d2)]();}constructor(_0x38739b,_0x49e4dc,_0x9df91b,_0x1db16c,_0x449473,_0x4d29a1,_0x59c9c5,_0x574135){const _0x227c1e=_0x1ef132;super(),this[_0x227c1e(0x205)]=_0x38739b,this[_0x227c1e(0x414)]=_0x49e4dc,this[_0x227c1e(0x2fe)]=_0x9df91b,this[_0x227c1e(0x222)]=_0x1db16c,this[_0x227c1e(0x27a)]=_0x449473,this[_0x227c1e(0x253)]=_0x4d29a1,this[_0x227c1e(0x251)]=_0x59c9c5,this[_0x227c1e(0x3e9)]=_0x574135,_0x16f5f(this,_0x227c1e(0x185),!0x1),_0x16f5f(this,'_init',!0x1),_0x16f5f(this,_0x227c1e(0x3d2),new _0x418606['BehaviorSubject'](new Map())),_0x16f5f(this,'cursorInfo$',this[_0x227c1e(0x3d2)][_0x227c1e(0x235)]()),_0x16f5f(this,_0x227c1e(0x35e),new _0x418606['BehaviorSubject']([])),_0x16f5f(this,'roomMembers$',this[_0x227c1e(0x35e)]['pipe']((0x0,_0x418606[_0x227c1e(0x15a)])(0x12c))),_0x16f5f(this,_0x227c1e(0x279),(0x0,_0xe297f1[_0x227c1e(0x461)])((_0x658c7c,_0x267441)=>{const _0x2cfc39=_0x227c1e;let _0x3b7348={'eventID':_0x2bfd29[_0x2cfc39(0x140)][_0x2cfc39(0x45f)],'data':{'unitID':this[_0x2cfc39(0x205)],'memberID':this[_0x2cfc39(0x414)]['getMemberID'](),'selection':(0x0,_0x283741[_0x2cfc39(0x24d)])(_0x658c7c,_0x267441[_0x2cfc39(0x375)])}};this[_0x2cfc39(0x414)][_0x2cfc39(0x460)](_0x3b7348,this[_0x2cfc39(0x205)]);},0x64));}['dispose'](){const _0x44931c=_0x1ef132;super[_0x44931c(0x3b7)](),this[_0x44931c(0x3d2)][_0x44931c(0x178)](new Map()),this[_0x44931c(0x3d2)]['complete'](),this[_0x44931c(0x35e)][_0x44931c(0x178)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x258d45=_0x1ef132;this[_0x258d45(0x34f)]||(this[_0x258d45(0x34f)]=!0x0,this['_session'][_0x258d45(0x1b5)][_0x258d45(0x3cd)]((0x0,_0x418606['takeUntil'])(this[_0x258d45(0x1d8)]))[_0x258d45(0x41d)](_0x403735=>{const _0x43ea78=_0x258d45;_0x403735===_0x168f92['SessionStatus'][_0x43ea78(0x1cb)]?this[_0x43ea78(0x2d7)]():this[_0x43ea78(0x42e)]();}),this['_session']['event$'][_0x258d45(0x3cd)]((0x0,_0x418606[_0x258d45(0x20a)])(this[_0x258d45(0x1d8)]))['subscribe'](_0x55d52d=>{const _0x551fdc=_0x258d45;let _0x8b5525=_0x55d52d[_0x551fdc(0x2db)];_0x8b5525===_0x2bfd29['CollaborationEvent'][_0x551fdc(0x45f)]&&this[_0x551fdc(0x35a)](_0x55d52d),_0x8b5525===_0x2bfd29['CollaborationEvent']['USERS_LEAVE']&&this[_0x551fdc(0x150)](_0x55d52d);}),this['_onRefRangeChange'](),this[_0x258d45(0x182)](this[_0x258d45(0x251)][_0x258d45(0x445)](_0x1250bb=>{const _0xf265f6=_0x258d45;if(this['_online']&&_0x1250bb['id']===_0x3d5523[_0xf265f6(0x26d)]['id']&&_0x1250bb[_0xf265f6(0x39e)][_0xf265f6(0x427)]===this[_0xf265f6(0x205)]){let _0x1644f3=_0x1250bb['params'];this['_updateLocalCursor'](_0x1644f3[_0xf265f6(0x2a4)],_0x1644f3[_0xf265f6(0x396)][0x0]);}})));}[_0x1ef132(0x35a)](_0x12da34){const _0x4a99d3=_0x1ef132;var _0x4510af;let {memberID:_0x236e5e,selection:_0x242459}=_0x12da34[_0x4a99d3(0x316)],{sheetName:_0x3ca721,range:_0x58e4e8}=(0x0,_0x283741[_0x4a99d3(0x191)])(_0x242459),_0x231cb9={'name':((_0x4510af=this['_memberService'][_0x4a99d3(0x21d)](this[_0x4a99d3(0x205)],_0x236e5e))==null?void 0x0:_0x4510af['name'])??_0x4a99d3(0x206),'range':this[_0x4a99d3(0x37a)](_0x3ca721,_0x58e4e8),'sheetID':_0x3ca721,'color':this[_0x4a99d3(0x222)][_0x4a99d3(0x270)](_0x236e5e),'selection':_0x242459},_0x42e92e=this['cursorInfo'];_0x42e92e[_0x4a99d3(0x2a3)](_0x236e5e,_0x231cb9),this['_cursorInfo$'][_0x4a99d3(0x178)](_0x42e92e);}[_0x1ef132(0x150)](_0xe3dc70){const _0x2ecbe0=_0x1ef132;let {memberID:_0x250d43}=_0xe3dc70[_0x2ecbe0(0x316)],_0x37d248=this[_0x2ecbe0(0x2ab)];_0x37d248[_0x2ecbe0(0x1cf)](_0x250d43),this[_0x2ecbe0(0x3d2)][_0x2ecbe0(0x178)](_0x37d248);}['_getMergeRange'](_0x3ce892,_0x3fe2ca){const _0x55eda6=_0x1ef132;var _0x2a6289;let _0x5455b9=(_0x2a6289=this[_0x55eda6(0x253)]['getUnit'](this[_0x55eda6(0x205)],_0xe297f1['UniverInstanceType'][_0x55eda6(0x1fa)]))==null||(_0x2a6289=_0x2a6289[_0x55eda6(0x3c5)](_0x3ce892))==null?void 0x0:_0x2a6289[_0x55eda6(0x37e)]();return(_0x5455b9==null?void 0x0:_0x5455b9[_0x55eda6(0x40a)](_0x1d87c8=>_0xe297f1[_0x55eda6(0x463)]['contains'](_0x1d87c8,_0x3fe2ca)))||_0x3fe2ca;}[_0x1ef132(0x44c)](){const _0x2f04f4=_0x1ef132;let _0x2a21b6=new _0xe297f1['DisposableCollection'](),_0x460e2e=_0x422f34(),_0xdb2891=()=>{const _0x55f71d=_0x47f4;_0x2a21b6['dispose']();let _0x358354=(_0x1a4a9e,_0xee2c13,_0x10f931,_0x3cf486)=>{const _0x5c0b5f=_0x47f4;let _0x2197fb=[];switch(_0x1a4a9e['id']){case _0x3d5523['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:_0x2197fb=(0x0,_0x3d5523[_0x5c0b5f(0x26f)])(_0x1a4a9e,_0x3cf486);break;case _0x3d5523[_0x5c0b5f(0x303)][_0x5c0b5f(0x240)]:_0x2197fb=(0x0,_0x3d5523[_0x5c0b5f(0x2c3)])(_0x1a4a9e,_0x3cf486);break;case _0x3d5523[_0x5c0b5f(0x303)][_0x5c0b5f(0x2c8)]:_0x2197fb=(0x0,_0x3d5523[_0x5c0b5f(0x2ea)])(_0x1a4a9e,_0x3cf486);break;case _0x3d5523[_0x5c0b5f(0x303)][_0x5c0b5f(0x2ac)]:_0x2197fb=(0x0,_0x3d5523[_0x5c0b5f(0x1c8)])(_0x1a4a9e,_0x3cf486);break;case _0x3d5523[_0x5c0b5f(0x303)][_0x5c0b5f(0x2bb)]:_0x2197fb=(0x0,_0x3d5523[_0x5c0b5f(0x42b)])(_0x1a4a9e,_0x3cf486);break;case _0x3d5523[_0x5c0b5f(0x303)]['InsertRowCommandId']:_0x2197fb=(0x0,_0x3d5523[_0x5c0b5f(0x293)])(_0x1a4a9e,_0x3cf486);break;case _0x3d5523[_0x5c0b5f(0x303)][_0x5c0b5f(0x2b7)]:_0x2197fb=(0x0,_0x3d5523[_0x5c0b5f(0x2f6)])(_0x1a4a9e,_0x3cf486);break;case _0x3d5523[_0x5c0b5f(0x303)][_0x5c0b5f(0x371)]:_0x2197fb=(0x0,_0x3d5523[_0x5c0b5f(0x370)])(_0x1a4a9e,_0x3cf486);break;case _0x3d5523[_0x5c0b5f(0x303)][_0x5c0b5f(0x3fb)]:_0x2197fb=(0x0,_0x3d5523['handleIRemoveRow'])(_0x1a4a9e,_0x3cf486);}let _0x2fe31b=(0x0,_0x3d5523['runRefRangeMutations'])(_0x2197fb,_0x3cf486),_0x4b2975=this[_0x5c0b5f(0x2ab)][_0x5c0b5f(0x459)](_0xee2c13);if(_0x4b2975&&_0x2fe31b){let _0x39861f={..._0x4b2975,'range':_0x2fe31b};this[_0x5c0b5f(0x2ab)][_0x5c0b5f(0x2a3)](_0xee2c13,_0x39861f),_0x460e2e(()=>{const _0x472722=_0x5c0b5f;let _0x748e08=this['_refRangeService'][_0x472722(0x1c4)](_0x2fe31b,_0x504b8e=>(_0x748e08['dispose'](),_0x358354(_0x504b8e,_0xee2c13,_0x10f931,_0x2fe31b)));_0x2a21b6[_0x472722(0x421)](_0x748e08);});}return{'redos':[],'undos':[]};};this[_0x55f71d(0x2ab)][_0x55f71d(0x275)]((_0x4608b4,_0xd7f78b)=>{const _0x5c59d5=_0x55f71d;let {range:_0x93b8e,sheetID:_0x575b1f}=_0x4608b4,_0x44d289=this[_0x5c59d5(0x3e9)]['registerRefRange'](_0x93b8e,_0x3b0765=>(_0x44d289[_0x5c59d5(0x3b7)](),_0x358354(_0x3b0765,_0xd7f78b,_0x575b1f,_0x93b8e)));_0x2a21b6['add'](_0x44d289);});};this[_0x2f04f4(0x182)]((0x0,_0xe297f1[_0x2f04f4(0x144)])(this[_0x2f04f4(0x3d2)][_0x2f04f4(0x41d)](()=>{_0xdb2891();})));}['_toggleOnline'](){const _0x4b6b18=_0x1ef132;var _0x57219b,_0x249957;if(this[_0x4b6b18(0x185)]=!0x0,((_0x57219b=this[_0x4b6b18(0x253)][_0x4b6b18(0x3a4)]())==null?void 0x0:_0x57219b[_0x4b6b18(0x338)]())!==this[_0x4b6b18(0x205)])return;let _0x1604a0=(_0x249957=this['_injector'][_0x4b6b18(0x459)](_0x3d5523[_0x4b6b18(0x327)])[_0x4b6b18(0x305)]())==null?void 0x0:_0x249957[0x0],_0x5c7564=this['_univerInstanceService'][_0x4b6b18(0x27e)](_0xe297f1[_0x4b6b18(0x34e)][_0x4b6b18(0x1fa)])['getActiveSheet']();_0x1604a0&&_0x5c7564&&this['_updateLocalCursor'](_0x5c7564['getSheetId'](),_0x1604a0);}[_0x1ef132(0x42e)](){const _0x5d6872=_0x1ef132;this[_0x5d6872(0x185)]=!0x1;}};_0x31a41b=_0x233913([_0x3956b3(0x2,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0xe297f1[_0x1ef132(0x20e)])),_0x3956b3(0x3,(0x0,_0xe297f1['Inject'])(_0x33787d)),_0x3956b3(0x4,(0x0,_0xe297f1['Inject'])(_0x168f92[_0x1ef132(0x208)])),_0x3956b3(0x5,_0xe297f1['IUniverInstanceService']),_0x3956b3(0x6,_0xe297f1[_0x1ef132(0x3c9)]),_0x3956b3(0x7,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0x3d5523[_0x1ef132(0x18b)]))],_0x31a41b);let _0x4cdea1=class extends _0xe297f1['RxDisposable']{constructor(_0x19de76,_0x70ecd2,_0x460d23){const _0x57b6b9=_0x1ef132;super(),this[_0x57b6b9(0x253)]=_0x19de76,this[_0x57b6b9(0x2fe)]=_0x70ecd2,this[_0x57b6b9(0x3d9)]=_0x460d23,_0x16f5f(this,_0x57b6b9(0x265),new Map()),_0x16f5f(this,'_entityInit$',new _0x418606[(_0x57b6b9(0x227))]()),this[_0x57b6b9(0x34f)]();}[_0x1ef132(0x3b7)](){const _0x3ca867=_0x1ef132;super[_0x3ca867(0x3b7)](),this[_0x3ca867(0x1b6)][_0x3ca867(0x35f)](),this[_0x3ca867(0x265)]['forEach'](_0x11ac42=>_0x11ac42[_0x3ca867(0x3b7)]());}[_0x1ef132(0x273)](_0x39230d){const _0x3170e6=_0x1ef132;let _0x594ccf=this['_entities'][_0x3170e6(0x459)](_0x39230d);return _0x594ccf?_0x594ccf[_0x3170e6(0x151)]:this[_0x3170e6(0x1b6)][_0x3170e6(0x3cd)]((0x0,_0x418606['filter'])(_0x5e6d38=>_0x5e6d38[_0x3170e6(0x205)]===_0x39230d),(0x0,_0x418606[_0x3170e6(0x22f)])(_0x118f42=>_0x118f42['cursorInfo$']));}[_0x1ef132(0x34f)](){const _0x1fadc5=_0x1ef132;this[_0x1fadc5(0x253)][_0x1fadc5(0x3de)](_0xe297f1[_0x1fadc5(0x34e)][_0x1fadc5(0x1fa)])[_0x1fadc5(0x3cd)]((0x0,_0x418606[_0x1fadc5(0x20a)])(this[_0x1fadc5(0x1d8)]))[_0x1fadc5(0x41d)](async _0x317bfb=>{const _0x12624f=_0x1fadc5;let _0xcfa89c=_0x317bfb['unit'][_0x12624f(0x338)](),_0xfaa433=await this[_0x12624f(0x462)](_0xcfa89c);this['_entityInit$'][_0x12624f(0x178)](_0xfaa433),this['_entities'][_0x12624f(0x2a3)](_0xcfa89c,_0xfaa433);}),this[_0x1fadc5(0x253)][_0x1fadc5(0x3de)](_0xe297f1[_0x1fadc5(0x34e)][_0x1fadc5(0x230)])[_0x1fadc5(0x3cd)]((0x0,_0x418606[_0x1fadc5(0x20a)])(this[_0x1fadc5(0x1d8)]))[_0x1fadc5(0x3cd)]((0x0,_0x418606['filter'])(_0x44c856=>!_0x44c856[_0x1fadc5(0x19f)][_0x1fadc5(0x338)]()[_0x1fadc5(0x2de)]('__')))[_0x1fadc5(0x41d)](async _0x2f46bc=>{const _0x5e7ca8=_0x1fadc5;let {unit:_0x12cebd}=_0x2f46bc,_0x4f84e8=_0x12cebd[_0x5e7ca8(0x338)](),_0xc9af2c=await this[_0x5e7ca8(0x24f)](_0x4f84e8);this[_0x5e7ca8(0x1b6)]['next'](_0xc9af2c),this[_0x5e7ca8(0x265)]['set'](_0x4f84e8,_0xc9af2c);}),(0x0,_0x418606[_0x1fadc5(0x482)])(this[_0x1fadc5(0x253)][_0x1fadc5(0x264)](_0xe297f1[_0x1fadc5(0x34e)][_0x1fadc5(0x230)]),this['_univerInstanceService'][_0x1fadc5(0x264)](_0xe297f1[_0x1fadc5(0x34e)][_0x1fadc5(0x1fa)]))['pipe']((0x0,_0x418606[_0x1fadc5(0x20a)])(this[_0x1fadc5(0x1d8)]))[_0x1fadc5(0x41d)](_0x1113f6=>{const _0xf4539a=_0x1fadc5;let _0x1ddb54=_0x1113f6['getUnitId'](),_0x2c459a=this['_entities']['get'](_0x1ddb54);_0x2c459a&&(_0x2c459a[_0xf4539a(0x3b7)](),this[_0xf4539a(0x265)][_0xf4539a(0x1cf)](_0x1ddb54));});}async['_startSheetCollabCursor'](_0x391e74){const _0x320b6a=_0x1ef132;let _0x5b2c57=await this[_0x320b6a(0x3d9)][_0x320b6a(0x189)](_0x391e74),_0x2114b9=this[_0x320b6a(0x2fe)][_0x320b6a(0x2ff)](_0x31a41b,_0x391e74,_0x5b2c57);return _0x2114b9[_0x320b6a(0x341)](),_0x2114b9;}async[_0x1ef132(0x24f)](_0x8556aa){const _0x52c341=_0x1ef132;let _0x46c65a=await this[_0x52c341(0x3d9)][_0x52c341(0x189)](_0x8556aa),_0x671a3f=this[_0x52c341(0x2fe)][_0x52c341(0x2ff)](_0xc74892,_0x8556aa,_0x46c65a);return _0x671a3f['init'](),_0x671a3f;}};_0x4cdea1=_0x233913([_0x3956b3(0x0,_0xe297f1[_0x1ef132(0x167)]),_0x3956b3(0x1,(0x0,_0xe297f1['Inject'])(_0xe297f1[_0x1ef132(0x20e)])),_0x3956b3(0x2,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0x168f92[_0x1ef132(0x238)]))],_0x4cdea1);function _0x1b0358(_0xde33b7,_0x500a0b){const _0x172db4=_0x1ef132;_0xde33b7['save'](),_0xde33b7['font']='bold\x2013px\x20Arial,\x20sans-serif';let _0x30dbef=_0xde33b7[_0x172db4(0x16c)](_0x500a0b)['width'];return _0xde33b7['restore'](),Math[_0x172db4(0x37d)](_0x30dbef+0x8,0xc8);}function _0x3574bd(_0x1e6985,_0x46d220){const _0x121c0f=_0x1ef132;let {radius:_0x477ace,width:_0x1c463a,height:_0x1bda94}=_0x46d220;_0x477ace??=0x0,_0x1c463a??=0x1e,_0x1bda94??=0x1e;let _0x156b4d=0x0,_0x226588=0x0,_0x405434=0x0;_0x156b4d=_0x226588=_0x405434=Math[_0x121c0f(0x37d)](_0x477ace,_0x1c463a/0x2,_0x1bda94/0x2),_0x1e6985['beginPath'](),_0x1e6985[_0x121c0f(0x143)](_0x156b4d,0x0),_0x1e6985['lineTo'](_0x1c463a-_0x226588,0x0),_0x1e6985[_0x121c0f(0x211)](_0x1c463a-_0x226588,_0x226588,_0x226588,Math['PI']*0x3/0x2,0x0,!0x1),_0x1e6985[_0x121c0f(0x18d)](_0x1c463a,_0x1bda94-_0x405434),_0x1e6985['arc'](_0x1c463a-_0x405434,_0x1bda94-_0x405434,_0x405434,0x0,Math['PI']/0x2,!0x1),_0x1e6985[_0x121c0f(0x18d)](0x0,_0x1bda94),_0x1e6985['lineTo'](0x0,_0x156b4d),_0x1e6985[_0x121c0f(0x211)](_0x156b4d,_0x156b4d,_0x156b4d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1e6985[_0x121c0f(0x390)](),_0x46d220[_0x121c0f(0x36b)]&&(_0x1e6985[_0x121c0f(0x32d)](),_0x1e6985['fillStyle']=_0x46d220[_0x121c0f(0x36b)],_0x46d220['fillRule']==='evenodd'?_0x1e6985['fill'](_0x121c0f(0x3e7)):_0x1e6985['fill'](),_0x1e6985[_0x121c0f(0x352)]());}var _0x30c3e3=class _0x1f9a36 extends _0x2b1f96[_0x1ef132(0x23a)]{constructor(_0x546c06,_0x5d7439){const _0x36f264=_0x1ef132;super(_0x546c06,_0x5d7439),_0x16f5f(this,_0x36f264(0x292),void 0x0),_0x16f5f(this,'text',void 0x0),this[_0x36f264(0x292)]=_0x5d7439==null?void 0x0:_0x5d7439[_0x36f264(0x292)],this[_0x36f264(0x2cc)]=_0x5d7439==null?void 0x0:_0x5d7439[_0x36f264(0x2cc)];}static[_0x1ef132(0x322)](_0xb2f04d,_0x539c38){const _0x1d5e52=_0x1ef132;let {text:_0x1850be,color:_0x2ed9e5}=_0x539c38;_0xb2f04d[_0x1d5e52(0x32d)](),_0xb2f04d[_0x1d5e52(0x434)]=_0x1d5e52(0x242);let _0x4faa59=_0xb2f04d[_0x1d5e52(0x16c)](_0x1850be)[_0x1d5e52(0x3a2)];if(_0x3574bd(_0xb2f04d,{'height':0x14,'radius':0x4,'width':_0x1b0358(_0xb2f04d,_0x1850be),'fill':_0x2ed9e5,'evented':!0x1}),_0xb2f04d[_0x1d5e52(0x248)]='#FFF',_0x4faa59>0xc0){let _0x723c50='',_0x12c9e3=0x0;for(let _0x36ac08 of _0x1850be){let _0x53e75b=_0xb2f04d[_0x1d5e52(0x16c)](_0x36ac08)['width'];if(_0x12c9e3+_0x53e75b<=0xc0-_0xb2f04d['measureText'](_0x1d5e52(0x291))[_0x1d5e52(0x3a2)])_0x723c50+=_0x36ac08,_0x12c9e3+=_0x53e75b;else{_0x723c50+=_0x1d5e52(0x291);break;}}_0xb2f04d[_0x1d5e52(0x1e7)](_0x723c50,0x4,0xf);}else _0xb2f04d['fillText'](_0x1850be,0x4,0xf);_0xb2f04d['restore']();}['_draw'](_0x32f089){const _0x230d0c=_0x1ef132;_0x1f9a36[_0x230d0c(0x322)](_0x32f089,this);}};let _0x52ca1f=_0x1ef132(0x15e);var _0x5f2feb=class{constructor(_0x111e13,_0xf2410b,_0xa73aa9,_0x42702e){const _0xd8793=_0x1ef132;this[_0xd8793(0x379)]=_0x111e13,this['_scene']=_0xf2410b,this[_0xd8793(0x310)]=_0xa73aa9,this[_0xd8793(0x1bc)]=_0x42702e,_0x16f5f(this,_0xd8793(0x39d),[]),_0x16f5f(this,'_anchor',null),_0x16f5f(this,_0xd8793(0x278),null),_0x16f5f(this,'_anchorDot',null),_0x16f5f(this,_0xd8793(0x169),null),_0x16f5f(this,_0xd8793(0x334),null),this[_0xd8793(0x19b)]();}set[_0x1ef132(0x152)](_0x88032c){const _0x4d3966=_0x1ef132;_0x88032c?(this[_0x4d3966(0x249)]&&this[_0x4d3966(0x249)][_0x4d3966(0x321)](),this['_textBubble']&&this['_textBubble']['show']()):(this[_0x4d3966(0x249)]&&this['_anchorDot']['show'](),this['_textBubble']&&this['_textBubble'][_0x4d3966(0x321)]());}[_0x1ef132(0x3b7)](){const _0x3a950c=_0x1ef132;for(let _0x481e0f of this[_0x3a950c(0x39d)])_0x481e0f['dispose']();this['_textBubble']&&this[_0x3a950c(0x278)][_0x3a950c(0x3b7)](),this[_0x3a950c(0x249)]&&this[_0x3a950c(0x249)][_0x3a950c(0x3b7)](),this[_0x3a950c(0x162)]&&this[_0x3a950c(0x162)][_0x3a950c(0x3b7)](),this[_0x3a950c(0x334)]&&this[_0x3a950c(0x334)]();}['_render'](){const _0x2d052a=_0x1ef132;let {_docSkeleton:_0x213996,_document:_0x3f14cb}=this,{color:_0x50dff8,name:_0x42e79f,ranges:_0xcf2e74}=this[_0x2d052a(0x379)],_0x52ba55=_0x3f14cb[_0x2d052a(0x46d)](),{docsLeft:_0x34471d,docsTop:_0x30d6ac}=_0x52ba55,_0x692b12=new _0x3a6120[(_0x2d052a(0x22a))](_0x52ba55,_0x213996);for(let {startOffset:_0x3e3f4e,endOffset:_0x561e5d,rangeType:_0x49763f,segmentId:_0x31feda,segmentPage:_0x40c3fb,collapsed:_0x5ca6f1,isActive:_0x2b75d5}of _0xcf2e74){let _0x108ec5=_0x213996[_0x2d052a(0x314)](_0x3e3f4e,!0x0,_0x31feda,_0x40c3fb),_0x26737f=_0x213996[_0x2d052a(0x314)](_0x561e5d,!0x0,_0x31feda,_0x40c3fb);_0x26737f??=_0x213996['findNodePositionByCharIndex'](_0x561e5d-0x1,!0x1,_0x31feda,_0x40c3fb);let _0x5ab095=_0x241ba6(_0x108ec5,_0x26737f);if(_0x2b75d5&&_0x5ab095['canRenderAnchor']){let {contentBoxPointGroup:_0x4ac090}=_0x692b12[_0x2d052a(0x43b)](_0x26737f,_0x26737f);if(_0x4ac090[_0x2d052a(0x2e6)]===0x0)continue;this['_drawAnchor'](_0x50dff8,_0x4ac090,_0x34471d,_0x30d6ac,_0x42e79f),this[_0x2d052a(0x334)]=this[_0x2d052a(0x43a)]();}if(_0x108ec5&&_0x26737f){if(_0x49763f===_0xe297f1['DOC_RANGE_TYPE'][_0x2d052a(0x475)]){let {pointGroup:_0x4a59b2}=new _0x3a6120[(_0x2d052a(0x2df))](_0x52ba55,_0x213996)[_0x2d052a(0x43b)](_0x108ec5,_0x26737f)??{};if(_0x4a59b2==null||_0x4a59b2['length']===0x0)continue;this[_0x2d052a(0x1ea)](_0x50dff8,_0x4a59b2,_0x34471d,_0x30d6ac);}else{if(!_0x5ca6f1&&_0x5ab095[_0x2d052a(0x1d0)]){let {borderBoxPointGroup:_0x3451f3}=_0x692b12[_0x2d052a(0x43b)](_0x108ec5,_0x26737f);if(_0x3451f3['length']===0x0)continue;this[_0x2d052a(0x3df)](_0x50dff8,_0x3451f3,_0x34471d,_0x30d6ac);}}}}}[_0x1ef132(0x3a7)](_0x175bc5,_0x598ab9,_0x2d7d73,_0x351410,_0x560923){const _0x395d39=_0x1ef132;let {left:_0x7544fd,top:_0x1a4fd7,height:_0x1db6e9}=this[_0x395d39(0x28e)](_0x598ab9),_0x2c1f52=1.5/this[_0x395d39(0x18f)](),_0x26c687=new _0x2b1f96['Rect'](_0x52ca1f+(0x0,_0xe297f1[_0x395d39(0x3a8)])(0x6),{'left':_0x7544fd+_0x2d7d73-_0x2c1f52,'top':_0x1a4fd7+_0x351410,'height':_0x1db6e9,'width':1.5,'fill':_0x175bc5||(0x0,_0x2b1f96[_0x395d39(0x3f3)])(_0xe297f1[_0x395d39(0x1e3)][_0x395d39(0x38e)],0x0),'strokeWidth':_0x2c1f52,'stroke':_0x395d39(0x20c),'evented':!0x0});this[_0x395d39(0x162)]=_0x26c687,this[_0x395d39(0x288)][_0x395d39(0x18a)](_0x26c687,_0x3a6120[_0x395d39(0x2bf)]);let _0xbb82b2=new _0x2b1f96[(_0x395d39(0x156))](_0x52ca1f+(0x0,_0xe297f1[_0x395d39(0x3a8)])(0x6),{'left':_0x7544fd+_0x2d7d73-_0x2c1f52,'top':_0x1a4fd7+_0x351410-0x2,'height':0x4,'width':0x4,'fill':_0x175bc5||(0x0,_0x2b1f96['getColor'])(_0xe297f1[_0x395d39(0x1e3)][_0x395d39(0x38e)],0x0),'strokeWidth':0x0,'stroke':_0x175bc5||(0x0,_0x2b1f96[_0x395d39(0x3f3)])(_0xe297f1[_0x395d39(0x1e3)][_0x395d39(0x38e)],0x0),'evented':!0x1});this[_0x395d39(0x249)]=_0xbb82b2,this[_0x395d39(0x288)][_0x395d39(0x18a)](_0xbb82b2,_0x3a6120[_0x395d39(0x2bf)]);let _0x4bd33e=new _0x30c3e3(_0x52ca1f+(0x0,_0xe297f1[_0x395d39(0x3a8)])(0x6),{'left':_0x7544fd+_0x2d7d73-_0x2c1f52,'top':_0x1a4fd7+_0x351410-0x14,'text':_0x560923,'color':_0x175bc5});this[_0x395d39(0x278)]=_0x4bd33e,this[_0x395d39(0x288)]['addObject'](_0x4bd33e,_0x3a6120[_0x395d39(0x2bf)]),this['_hover']=!0x1;}[_0x1ef132(0x43a)](){const _0x54a7de=_0x1ef132;let _0x273c12=this[_0x54a7de(0x162)][_0x54a7de(0x36c)][_0x54a7de(0x190)](()=>{const _0x2fcc97=_0x54a7de;this[_0x2fcc97(0x152)]=!0x0;}),_0x5b1c2b=this[_0x54a7de(0x162)][_0x54a7de(0x14f)][_0x54a7de(0x190)](()=>{const _0x39955a=_0x54a7de;this[_0x39955a(0x169)]&&clearTimeout(this['_hideTimer']),this[_0x39955a(0x169)]=setTimeout(()=>{const _0x2b26b4=_0x39955a;this[_0x2b26b4(0x152)]=!0x1;},0x7d0);});return()=>{const _0x3ce871=_0x54a7de;_0x273c12[_0x3ce871(0x444)](),_0x5b1c2b[_0x3ce871(0x444)]();};}[_0x1ef132(0x3df)](_0x105405,_0x503e24,_0x4d0632,_0x263113){const _0x449aec=_0x1ef132;let _0x56a5fd=0.2,_0x38aabc=new _0xe297f1[(_0x449aec(0x424))](_0x105405)[_0x449aec(0x487)](_0x56a5fd)['toRgbString'](),_0xfe9c2c=new _0x2b1f96[(_0x449aec(0x1b2))]('collab-text-range-'+(0x0,_0xe297f1[_0x449aec(0x3a8)])(0x6),{'pointsGroup':_0x503e24,'fill':_0x38aabc||(0x0,_0x2b1f96[_0x449aec(0x3f3)])(_0xe297f1[_0x449aec(0x1e3)][_0x449aec(0x38e)],_0x56a5fd),'left':_0x4d0632,'top':_0x263113,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x449aec(0x39d)][_0x449aec(0x403)](_0xfe9c2c),this[_0x449aec(0x288)][_0x449aec(0x18a)](_0xfe9c2c,_0x3a6120['TEXT_RANGE_LAYER_INDEX']);}[_0x1ef132(0x1ea)](_0x2f56d1,_0x57e79e,_0x4aa20b,_0x13a09d){const _0x5ddd65=_0x1ef132;let _0x388929=0.2,_0x595061=new _0xe297f1[(_0x5ddd65(0x424))](_0x2f56d1)[_0x5ddd65(0x487)](_0x388929)[_0x5ddd65(0x354)](),_0x13541d=new _0x2b1f96[(_0x5ddd65(0x1b2))](_0x5ddd65(0x2a1)+(0x0,_0xe297f1[_0x5ddd65(0x3a8)])(0x6),{'pointsGroup':_0x57e79e,'fill':_0x595061||(0x0,_0x2b1f96[_0x5ddd65(0x3f3)])(_0xe297f1[_0x5ddd65(0x1e3)][_0x5ddd65(0x38e)],_0x388929),'left':_0x4aa20b,'top':_0x13a09d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5ddd65(0x403)](_0x13541d),this['_scene'][_0x5ddd65(0x18a)](_0x13541d,_0x3a6120['TEXT_RANGE_LAYER_INDEX']);}[_0x1ef132(0x28e)](_0x1fbef1){let _0x4dfbf1=_0x1fbef1[0x0],_0x19b1a7=_0x4dfbf1[0x0],_0x448502=_0x4dfbf1[0x2],{x:_0x24d1e6,y:_0x57fc03}=_0x19b1a7,{x:_0x262d74,y:_0x4cb128}=_0x448502;return{'left':_0x24d1e6,'top':_0x57fc03,'width':_0x262d74-_0x24d1e6,'height':_0x4cb128-_0x57fc03};}[_0x1ef132(0x18f)](){const _0x32ca16=_0x1ef132;let {scaleX:_0x5cfb98,scaleY:_0x4adfb5}=this[_0x32ca16(0x288)]['getAncestorScale']();return Math[_0x32ca16(0x14e)](_0x5cfb98,_0x4adfb5);}};function _0x241ba6(_0xbff3b4,_0x67e826){const _0x140d50=_0x1ef132;if(!_0x67e826)return{'canRenderAnchor':!0x1,'canRenderSelection':!0x1};if(!_0xbff3b4||_0xbff3b4['pageType']!==_0x67e826[_0x140d50(0x14d)]||(_0xbff3b4[_0x140d50(0x14d)]===_0x2b1f96[_0x140d50(0x26c)]['HEADER']||_0xbff3b4[_0x140d50(0x14d)]===_0x2b1f96[_0x140d50(0x26c)][_0x140d50(0x2a5)])&&_0xbff3b4['segmentPage']!==_0x67e826['segmentPage'])return{'canRenderAnchor':!0x0,'canRenderSelection':!0x1};let _0x464c06=(0x0,_0x2b1f96[_0x140d50(0x1f4)])(_0xbff3b4),_0x5f0cff=(0x0,_0x2b1f96[_0x140d50(0x1f4)])(_0x67e826);return{'canRenderAnchor':!0x0,'canRenderSelection':_0x464c06==null||_0x5f0cff==null?_0x464c06==null&&_0x5f0cff==null:_0x464c06['pageIndex']===_0x5f0cff[_0x140d50(0x210)]&&_0x464c06[_0x140d50(0x281)]===_0x5f0cff['columnGroupId']&&_0x464c06[_0x140d50(0x3e0)]===_0x5f0cff[_0x140d50(0x3e0)]};}let _0x4d6132=class extends _0xe297f1[_0x1ef132(0x44d)]{constructor(_0x3fabe7,_0x299812,_0x5881cb,_0x17913b,_0x1f629a){const _0x2a0f51=_0x1ef132;super(),this[_0x2a0f51(0x345)]=_0x3fabe7,this[_0x2a0f51(0x3c8)]=_0x299812,this[_0x2a0f51(0x42f)]=_0x5881cb,this[_0x2a0f51(0x251)]=_0x17913b,this[_0x2a0f51(0x312)]=_0x1f629a,_0x16f5f(this,'_cursorShapes',[]),_0x16f5f(this,'_cursors',[]),this[_0x2a0f51(0x34f)]();}['_init'](){const _0x5ab1ec=_0x1ef132;let _0x5849ca=this[_0x5ab1ec(0x345)][_0x5ab1ec(0x427)],_0x41e354=this[_0x5ab1ec(0x3c8)];this[_0x5ab1ec(0x182)]((0x0,_0x418606[_0x5ab1ec(0x302)])([this[_0x5ab1ec(0x42f)][_0x5ab1ec(0x273)](_0x5849ca),this[_0x5ab1ec(0x312)][_0x5ab1ec(0x486)]])[_0x5ab1ec(0x3cd)]((0x0,_0x123019[_0x5ab1ec(0x473)])(([_0x30ec2c,_0x2bb221])=>({'skeleton':_0x41e354['getSkeleton'](),'cursors':[..._0x30ec2c['values']()]['flatMap'](_0x486c88=>({..._0x486c88,'color':this[_0x5ab1ec(0x312)][_0x5ab1ec(0x422)](_0x486c88['color'])}))})))[_0x5ab1ec(0x41d)](_0x1c883b=>{const _0x3870b3=_0x5ab1ec;if(this[_0x3870b3(0x423)](),_0x1c883b){let {skeleton:_0x1985f9,cursors:_0x1c0bb4}=_0x1c883b;this[_0x3870b3(0x440)](_0x1985f9,_0x1c0bb4);}})),this[_0x5ab1ec(0x425)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x2588c7,_0x563b1f){const _0x5eea94=_0x1ef132;let {scene:_0x324d04,mainComponent:_0xc3973}=this[_0x5eea94(0x345)],_0x19cc2c=_0x563b1f[_0x5eea94(0x473)](_0x12cfa2=>new _0x5f2feb(_0x12cfa2,_0x324d04,_0x2588c7,_0xc3973));this[_0x5eea94(0x266)]=_0x19cc2c,this[_0x5eea94(0x1a0)]=_0x563b1f;}[_0x1ef132(0x377)](){const _0xf6e04=_0x1ef132;this[_0xf6e04(0x423)]();let {scene:_0xd23db7,mainComponent:_0x50e6ca}=this[_0xf6e04(0x345)],_0x865fb8=this['_docSkeletonManagerService']['getSkeleton'](),_0x3c8381=this[_0xf6e04(0x1a0)]['map'](_0x3fff98=>new _0x5f2feb(_0x3fff98,_0xd23db7,_0x865fb8,_0x50e6ca));this[_0xf6e04(0x266)]=_0x3c8381;}[_0x1ef132(0x423)](){const _0x16eaf3=_0x1ef132;this['_cursorShapes']['forEach'](_0x189cca=>_0x189cca[_0x16eaf3(0x3b7)]()),this[_0x16eaf3(0x266)]=[];}[_0x1ef132(0x466)](){const _0x12bb12=_0x1ef132;let _0x31f950=[_0x3a6120[_0x12bb12(0x16f)]['id']];this['disposeWithMe'](this[_0x12bb12(0x251)]['onCommandExecuted'](_0x49e725=>{const _0x2d5893=_0x12bb12;_0x31f950[_0x2d5893(0x2af)](_0x49e725['id'])&&_0x49e725[_0x2d5893(0x39e)]['unitId']===this[_0x2d5893(0x345)][_0x2d5893(0x427)]&&this[_0x2d5893(0x377)]();}));}[_0x1ef132(0x425)](){const _0x6a9211=_0x1ef132;this[_0x6a9211(0x182)]((0x0,_0xe297f1['fromEventSubject'])(this['_context'][_0x6a9211(0x38f)][_0x6a9211(0x3b9)])[_0x6a9211(0x3cd)]((0x0,_0x123019['filter'])(_0x52c2b6=>_0x52c2b6['type']===_0x2b1f96[_0x6a9211(0x3c3)][_0x6a9211(0x1b8)]),(0x0,_0x123019[_0x6a9211(0x3bd)])(0x10))[_0x6a9211(0x41d)](()=>{this['_refreshCollabCursors']();}));}};_0x4d6132=_0x233913([_0x3956b3(0x1,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0x4c375f[_0x1ef132(0x36d)])),_0x3956b3(0x2,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0x4cdea1)),_0x3956b3(0x3,_0xe297f1[_0x1ef132(0x3c9)]),_0x3956b3(0x4,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0xe297f1[_0x1ef132(0x3a3)]))],_0x4d6132);var _0x346b20=class extends _0x2b1f96['Shape']{constructor(_0x2932f9,_0x3fa04b){const _0x23ed29=_0x1ef132;super(_0x2932f9,_0x3fa04b),_0x16f5f(this,'_color',void 0x0),_0x16f5f(this,_0x23ed29(0x30d),!0x1),_0x16f5f(this,'_range',void 0x0),_0x16f5f(this,_0x23ed29(0x1a6),''),_0x16f5f(this,_0x23ed29(0x3aa),_0x23ed29(0x285)),_0x16f5f(this,'_backgroundColor',void 0x0),_0x16f5f(this,_0x23ed29(0x32e),void 0x0),_0x16f5f(this,_0x23ed29(0x47d),void 0x0),_0x16f5f(this,'_highlightSecond',0x4),_0x16f5f(this,_0x23ed29(0x2ad),void 0x0),_0x16f5f(this,_0x23ed29(0x2b4),void 0x0),_0x16f5f(this,'_isBlinkVisible',!0x0),_0x16f5f(this,'_offsetY',0x0),_0x16f5f(this,_0x23ed29(0x1a8),_0x23ed29(0x3f7)),_0x3fa04b&&(this[_0x23ed29(0x1df)](_0x3fa04b),_0x3fa04b[_0x23ed29(0x3bb)]&&(_0x3fa04b[_0x23ed29(0x30c)]??this[_0x23ed29(0x30e)])&&this[_0x23ed29(0x1a9)](_0x3fa04b[_0x23ed29(0x30c)]??this[_0x23ed29(0x30e)])),this[_0x23ed29(0x36c)][_0x23ed29(0x190)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x23ed29(0x14f)][_0x23ed29(0x190)](()=>this[_0x23ed29(0x1df)]({'hovered':!0x1}));}['setOffsetY'](_0x34aea3){const _0x7e03c9=_0x1ef132;this[_0x7e03c9(0x3ff)]=_0x34aea3;}[_0x1ef132(0x1df)](_0x4b6219){const _0x31c08d=_0x1ef132;this[_0x31c08d(0x2f3)]=_0x4b6219['color']??this[_0x31c08d(0x2f3)],this['_hovered']=_0x4b6219[_0x31c08d(0x374)]??this['_hovered'],this[_0x31c08d(0x260)]=_0x4b6219[_0x31c08d(0x375)]??this[_0x31c08d(0x260)],this['_name']=_0x4b6219[_0x31c08d(0x47a)]??this['_name'],this[_0x31c08d(0x3aa)]=_0x4b6219[_0x31c08d(0x3d7)]??this[_0x31c08d(0x3aa)],this['_backgroundColor']=_0x4b6219[_0x31c08d(0x41b)]??this[_0x31c08d(0x366)],this['_showText']=_0x4b6219[_0x31c08d(0x34d)]??this[_0x31c08d(0x32e)],this[_0x31c08d(0x1a8)]=_0x4b6219['labelHorizontalPosition']??this[_0x31c08d(0x1a8)],_0x4b6219[_0x31c08d(0x30c)]!==void 0x0&&(this['_highlightSecond']=_0x4b6219['highlightSecond']),_0x4b6219[_0x31c08d(0x3bb)]!==void 0x0&&(this[_0x31c08d(0x47d)]=_0x4b6219[_0x31c08d(0x3bb)]),_0x4b6219[_0x31c08d(0x2b6)]!==void 0x0&&(this[_0x31c08d(0x3ff)]=_0x4b6219[_0x31c08d(0x2b6)]),this[_0x31c08d(0x1cd)]({'width':_0x4b6219['width'],'height':_0x4b6219[_0x31c08d(0x336)]});}[_0x1ef132(0x32b)](_0x3777e1){const _0x63e01f=_0x1ef132;let {row:_0x2b78e0,column:_0x3bee53}=_0x3777e1;if(_0x2b78e0>=this['_range'][_0x63e01f(0x262)]&&_0x2b78e0<=this[_0x63e01f(0x260)][_0x63e01f(0x38b)]&&_0x3bee53>=this[_0x63e01f(0x260)]['startColumn']&&_0x3bee53<=this[_0x63e01f(0x260)]['endColumn']){this[_0x63e01f(0x1df)]({'hovered':!0x0});return;}this[_0x63e01f(0x1df)]({'hovered':!0x1});}['_startBlinking'](_0x3388f9){const _0x5cc57a=_0x1ef132;this[_0x5cc57a(0x27d)](),this[_0x5cc57a(0x202)]=!0x0,this[_0x5cc57a(0x2b4)]=window['setInterval'](()=>{const _0x28085c=_0x5cc57a;this[_0x28085c(0x202)]=!this[_0x28085c(0x202)],this['makeDirty'](!0x0);},0x1f4),this['_blinkTimer']=window[_0x5cc57a(0x25f)](()=>{const _0x2db5e6=_0x5cc57a;this[_0x2db5e6(0x27d)](),this[_0x2db5e6(0x202)]=!0x0,this['makeDirty'](!0x0);},_0x3388f9*0x3e8);}[_0x1ef132(0x27d)](){const _0x5c03ae=_0x1ef132;this[_0x5c03ae(0x2b4)]&&=(window[_0x5c03ae(0x19e)](this[_0x5c03ae(0x2b4)]),void 0x0),this[_0x5c03ae(0x2ad)]&&=(window[_0x5c03ae(0x2fd)](this[_0x5c03ae(0x2ad)]),void 0x0);}[_0x1ef132(0x158)](_0x1fd109){return!0x1;}[_0x1ef132(0x3b7)](){const _0x391123=_0x1ef132;this[_0x391123(0x27d)](),super[_0x391123(0x3b7)]();}['_draw'](_0x488f0e){const _0x3ccb80=_0x1ef132;let _0x468e58=this['_color'],_0x3f64e4=this['_backgroundColor'];if(this[_0x3ccb80(0x47d)]&&!this[_0x3ccb80(0x202)]&&(_0x468e58=this['_getLighterColor'](this[_0x3ccb80(0x2f3)]),_0x3f64e4=this[_0x3ccb80(0x366)]?this['_getLighterColor'](this[_0x3ccb80(0x366)]):void 0x0),_0x2b1f96[_0x3ccb80(0x156)][_0x3ccb80(0x322)](_0x488f0e,{'width':this[_0x3ccb80(0x3a2)],'height':this['height'],'strokeWidth':this['strokeWidth']||1.5,'stroke':_0x468e58,'evented':!0x1,'fill':_0x3f64e4}),this[_0x3ccb80(0x30d)]||this[_0x3ccb80(0x32e)]){_0x488f0e[_0x3ccb80(0x32d)]();let _0x171c10=this[_0x3ccb80(0x1a8)]==='left'?-_0x1b0358(_0x488f0e,this[_0x3ccb80(0x1a6)]):this['width'];_0x488f0e['transform'](0x1,0x0,0x0,0x1,_0x171c10,(this[_0x3ccb80(0x3aa)]===_0x3ccb80(0x24b)?0x0:-0x14)+(this['_offsetY']??0x0)),_0x30c3e3[_0x3ccb80(0x322)](_0x488f0e,{'text':this[_0x3ccb80(0x1a6)],'color':_0x468e58}),_0x488f0e[_0x3ccb80(0x352)]();}}['_getLighterColor'](_0x2f7209){const _0x5e8571=_0x1ef132;return _0x2f7209[_0x5e8571(0x2de)]('#')?_0x5e8571(0x173)+Number[_0x5e8571(0x452)](_0x2f7209[_0x5e8571(0x342)](0x1,0x3),0x10)+',\x20'+Number[_0x5e8571(0x452)](_0x2f7209[_0x5e8571(0x342)](0x3,0x5),0x10)+',\x20'+Number[_0x5e8571(0x452)](_0x2f7209[_0x5e8571(0x342)](0x5,0x7),0x10)+_0x5e8571(0x1fe):_0x2f7209[_0x5e8571(0x2de)](_0x5e8571(0x1f0))?_0x2f7209[_0x5e8571(0x1db)](/[\d.]+\)$/g,_0x5e8571(0x141)):_0x2f7209[_0x5e8571(0x2de)](_0x5e8571(0x27b))?_0x2f7209['replace'](_0x5e8571(0x27b),_0x5e8571(0x1f0))['replace'](')',_0x5e8571(0x1fe)):_0x2f7209;}};let _0x157cb2=class extends _0xe297f1[_0x1ef132(0x44d)]{constructor(_0x2ad83c,_0x1bdcad,_0x345ba2,_0x75a3ef){const _0x42f64f=_0x1ef132;super(),this[_0x42f64f(0x345)]=_0x2ad83c,this[_0x42f64f(0x2c1)]=_0x1bdcad,this[_0x42f64f(0x42f)]=_0x345ba2,this[_0x42f64f(0x312)]=_0x75a3ef,_0x16f5f(this,_0x42f64f(0x1a0),new Set()),_0x16f5f(this,_0x42f64f(0x13b),null),_0x16f5f(this,_0x42f64f(0x1ac),null),this[_0x42f64f(0x34f)]();}[_0x1ef132(0x34f)](){const _0x7b6c1b=_0x1ef132;this[_0x7b6c1b(0x2c1)][_0x7b6c1b(0x2e2)][_0x7b6c1b(0x3cd)]((0x0,_0x123019[_0x7b6c1b(0x20a)])(this[_0x7b6c1b(0x1d8)]),(0x0,_0x123019['switchMap'])(_0x57db9f=>{const _0x323da4=_0x7b6c1b;if(_0x57db9f){let _0x1c510f=_0x57db9f[_0x323da4(0x18e)];return(0x0,_0x418606['combineLatest'])(this[_0x323da4(0x42f)][_0x323da4(0x273)](this[_0x323da4(0x345)]['unitId']),this[_0x323da4(0x312)]['currentTheme$'])[_0x323da4(0x3cd)]((0x0,_0x123019[_0x323da4(0x473)])(([_0x4728c0,_0x5a85c8])=>{const _0x2ca3ad=_0x323da4;let _0x54249a=new Map();return _0x4728c0[_0x2ca3ad(0x275)]((_0x377a14,_0x577ee8)=>{const _0x5cbfb8=_0x2ca3ad;if(_0x377a14['sheetID']===_0x1c510f){let _0x52363c={..._0x377a14};_0x52363c[_0x5cbfb8(0x292)]=this[_0x5cbfb8(0x312)][_0x5cbfb8(0x422)](_0x377a14['color']),_0x54249a['set'](_0x577ee8,_0x52363c);}}),{'skeleton':_0x57db9f,'cursors':_0x54249a};}));}return(0x0,_0x418606['of'])({'skeleton':null,'cursors':new Map()});}))[_0x7b6c1b(0x41d)](({skeleton:_0x4a16dd,cursors:_0x1fa702})=>{this['_removeCollabCursors'](),_0x4a16dd&&this['_updateCollabCursors'](_0x4a16dd,_0x1fa702);}),this[_0x7b6c1b(0x182)](this[_0x7b6c1b(0x2c1)]['currentSkeleton$'][_0x7b6c1b(0x3cd)]((0x0,_0x123019[_0x7b6c1b(0x20a)])(this['dispose$']))[_0x7b6c1b(0x41d)](_0x5af663=>{const _0x5417fb=_0x7b6c1b;var _0x23e341;if(_0x5af663==null)return;(_0x23e341=this['_pointerMoveDisposable'])==null||_0x23e341['unsubscribe'](),this[_0x5417fb(0x1ac)]=null;let {skeleton:_0x1e113a}=_0x5af663,{scene:_0x15f64f}=this[_0x5417fb(0x345)];this[_0x5417fb(0x1ac)]=_0x15f64f[_0x5417fb(0x46a)]['subscribeEvent']((0x0,_0xe297f1[_0x5417fb(0x461)])(_0x4ac96d=>{const _0x209a1f=_0x5417fb;var _0x1bc9d0,_0x19cbd8;let {offsetX:_0x1c7a1a,offsetY:_0x19b0f4}=_0x4ac96d,{x:_0x582cae,y:_0x2364da}=_0x15f64f['getCoordRelativeToViewport'](_0x2b1f96[_0x209a1f(0x301)][_0x209a1f(0x37c)]([_0x1c7a1a,_0x19b0f4])),{scaleX:_0x2cff51,scaleY:_0x4886ef}=_0x15f64f[_0x209a1f(0x29b)](),_0x55c844=_0x15f64f[_0x209a1f(0x409)](_0x2b1f96[_0x209a1f(0x356)][_0x209a1f(0x46f)]),_0x4235d3=_0x15f64f['getScrollXYInfoByViewport'](_0x2b1f96[_0x209a1f(0x301)][_0x209a1f(0x37c)]([_0x582cae,_0x2364da]),_0x55c844),_0x35019b=_0x1e113a[_0x209a1f(0x2d9)](_0x1c7a1a,_0x19b0f4,_0x2cff51,_0x4886ef,_0x4235d3);(((_0x1bc9d0=this[_0x209a1f(0x13b)])==null?void 0x0:_0x1bc9d0[_0x209a1f(0x3e8)])!==_0x35019b[_0x209a1f(0x3e8)]||((_0x19cbd8=this['_lastPointer'])==null?void 0x0:_0x19cbd8[_0x209a1f(0x32a)])!==_0x35019b[_0x209a1f(0x32a)])&&this[_0x209a1f(0x1a0)][_0x209a1f(0x275)](_0x166a57=>{const _0x3486cd=_0x209a1f;_0x166a57[_0x3486cd(0x32b)](_0x35019b);});},0x64));})),this['disposeWithMe']((0x0,_0xe297f1[_0x7b6c1b(0x144)])(()=>{const _0x4ba5ff=_0x7b6c1b;var _0x129ec8;(_0x129ec8=this['_pointerMoveDisposable'])==null||_0x129ec8[_0x4ba5ff(0x444)](),this[_0x4ba5ff(0x1ac)]=null;}));}[_0x1ef132(0x440)](_0x3c4988,_0x301b8c){const _0x1671c7=_0x1ef132;let _0x51749d=this[_0x1671c7(0x2c1)][_0x1671c7(0x201)]();if(!_0x51749d)return;let _0x42ff7d=this[_0x1671c7(0x479)]();if(!_0x42ff7d)return;this[_0x1671c7(0x1a0)][_0x1671c7(0x275)](_0x1e4ebf=>{const _0x5a478f=_0x1671c7;_0x1e4ebf[_0x5a478f(0x1ee)]();});let {scene:_0x295e54}=_0x42ff7d,_0x50c98a=_0x270e49(Array['from'](_0x301b8c[_0x1671c7(0x472)]()))['map'](_0x3ef6f3=>{const _0x3a0b22=_0x1671c7;let {color:_0x20c3a6,range:_0xecf46,name:_0x966b60,selection:_0x2aabb8,sheetID:_0x399627}=_0x3ef6f3,{startColumn:_0x42b59f,startRow:_0x33f688,endColumn:_0x15855f,endRow:_0x43ef0a}=_0xecf46,_0x1a3a2a=(0x0,_0x58a607['getCoordByCell'])(_0x33f688,_0x42b59f,_0x295e54,_0x51749d),_0x290df9=(0x0,_0x58a607[_0x3a0b22(0x39c)])(_0x43ef0a,_0x15855f,_0x295e54,_0x51749d),{columnHeaderHeightAndMarginTop:_0x39b407}=_0x51749d,{startX:_0x40af78,startY:_0x2fb48d}=_0x1a3a2a,{endX:_0x528020,endY:_0x361c4c}=_0x290df9,_0x19581d=_0x528020-_0x40af78,_0x15b866=_0x361c4c-_0x2fb48d;return new _0x346b20(_0x966b60,{'labelPosition':_0x2fb48d-_0x39b407>=0x14?_0x3a0b22(0x285):'bottom','sheetID':_0x399627,'range':_0xecf46,'color':_0x20c3a6,'name':_0x966b60,'selection':_0x2aabb8,'left':_0x40af78,'top':_0x2fb48d,'width':_0x19581d,'height':_0x15b866,'evented':!0x1,'zIndex':0x1389});});_0x295e54[_0x1671c7(0x28b)](_0x50c98a,0x1),this['_cursors']=new Set(_0x50c98a);}[_0x1ef132(0x423)](){const _0x4f56d3=_0x1ef132;var _0x37d373;(_0x37d373=this[_0x4f56d3(0x1a0)])==null||_0x37d373[_0x4f56d3(0x275)](_0x2e9de2=>_0x2e9de2[_0x4f56d3(0x3b7)]());}['_getSheetObject'](){const _0x1fed53=_0x1ef132;return(0x0,_0x58a607[_0x1fed53(0x454)])(this[_0x1fed53(0x345)][_0x1fed53(0x19f)],this[_0x1fed53(0x345)]);}};_0x157cb2=_0x233913([_0x3956b3(0x1,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0x58a607['SheetSkeletonManagerService'])),_0x3956b3(0x2,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0x4cdea1)),_0x3956b3(0x3,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0xe297f1[_0x1ef132(0x3a3)]))],_0x157cb2);function _0x270e49(_0x242ddc){const _0x106fe7=_0x1ef132;let _0x224005=new Map();return _0x242ddc[_0x106fe7(0x275)](_0x1bb668=>{const _0x2ffbec=_0x106fe7;if(_0x224005[_0x2ffbec(0x3ca)](_0x1bb668[_0x2ffbec(0x239)])){let _0x2c54ba=_0x224005[_0x2ffbec(0x459)](_0x1bb668['selection']);_0x2c54ba['name']+=',\x20'+_0x1bb668[_0x2ffbec(0x47a)];}else _0x224005[_0x2ffbec(0x2a3)](_0x1bb668['selection'],_0x1bb668);}),Array[_0x106fe7(0x2f2)](_0x224005[_0x106fe7(0x472)]());}function _0x62227b(_0x478f33){const _0x92a00e=_0x1ef132;return typeof _0x478f33==_0x92a00e(0x290)&&!!_0x478f33;}function _0xa01a20(_0x279765){const _0x416d34=_0x1ef132;return _0x279765[_0x416d34(0x2db)]===_0x2bfd29[_0x416d34(0x140)]['UPDATE_CURSOR']&&_0x416d34(0x316)in _0x279765&&_0x62227b(_0x279765[_0x416d34(0x316)])&&typeof _0x279765[_0x416d34(0x316)][_0x416d34(0x171)]==_0x416d34(0x480)&&typeof _0x279765[_0x416d34(0x316)][_0x416d34(0x239)]==_0x416d34(0x480);}function _0x1f5e41(_0x2a4c79){const _0x2bacf3=_0x1ef132;return _0x2a4c79[_0x2bacf3(0x2db)]===_0x2bfd29[_0x2bacf3(0x140)][_0x2bacf3(0x218)]&&'data'in _0x2a4c79&&_0x62227b(_0x2a4c79[_0x2bacf3(0x316)])&&typeof _0x2a4c79[_0x2bacf3(0x316)][_0x2bacf3(0x171)]==_0x2bacf3(0x480);}function _0x5cbf81(_0x597592,_0x3d6b29){const _0x571840=_0x1ef132;let _0x42e849;try{_0x42e849=JSON['parse'](_0x597592);}catch{return null;}if(!_0x62227b(_0x42e849)||typeof _0x42e849[_0x571840(0x3a9)]!=_0x571840(0x480)||typeof _0x42e849[_0x571840(0x427)]!=_0x571840(0x480)||typeof _0x42e849[_0x571840(0x2a4)]!='string')return null;let _0x2b0a0d=typeof _0x42e849[_0x571840(0x453)]==_0x571840(0x3fe)?_0x42e849[_0x571840(0x453)]:_0x3d6b29;if(_0x2b0a0d==null)return null;let _0x43a54a=_0x62227b(_0x42e849['pointer'])&&typeof _0x42e849['pointer']['x']==_0x571840(0x3fe)&&Number[_0x571840(0x21e)](_0x42e849[_0x571840(0x394)]['x'])&&typeof _0x42e849['pointer']['y']==_0x571840(0x3fe)&&Number[_0x571840(0x21e)](_0x42e849[_0x571840(0x394)]['y'])?{'x':_0x42e849[_0x571840(0x394)]['x'],'y':_0x42e849[_0x571840(0x394)]['y']}:null;return{'kind':_0x42e849[_0x571840(0x3a9)],'unitType':_0x2b0a0d,'unitId':_0x42e849[_0x571840(0x427)],'subUnitId':_0x42e849['subUnitId'],'selectedIds':Array[_0x571840(0x39a)](_0x42e849[_0x571840(0x25e)])?_0x42e849['selectedIds'][_0x571840(0x1c6)](_0x197508=>typeof _0x197508==_0x571840(0x480)):[],'focusedId':typeof _0x42e849[_0x571840(0x145)]==_0x571840(0x480)?_0x42e849[_0x571840(0x145)]:null,'pointer':_0x43a54a};}function _0x4a3fab(_0x8e6ba9,_0x18a912,_0x577886){const _0x439382=_0x1ef132;return{'kind':_0x18a912,'unitType':_0x8e6ba9,'unitId':_0x577886[_0x439382(0x427)],'subUnitId':_0x577886[_0x439382(0x2a4)],'selectedIds':Array[_0x439382(0x2f2)](_0x577886[_0x439382(0x25e)]),'focusedId':_0x577886[_0x439382(0x145)],'pointer':_0x577886[_0x439382(0x394)]?{..._0x577886[_0x439382(0x394)]}:null};}let _0x3a1f6e=class extends _0xe297f1['RxDisposable']{constructor(_0x31ccc7,_0x43fa49,_0xe6271e,_0x2df15a,_0x2fa5bc,_0x299d9d){const _0x3606f2=_0x1ef132;super(),this[_0x3606f2(0x427)]=_0x31ccc7,this[_0x3606f2(0x414)]=_0x43fa49,this['_adapter']=_0xe6271e,this['_colorAssignService']=_0x2df15a,this[_0x3606f2(0x27a)]=_0x2fa5bc,this[_0x3606f2(0x251)]=_0x299d9d,_0x16f5f(this,'_online',!0x1),_0x16f5f(this,_0x3606f2(0x296),!0x1);}get[_0x1ef132(0x453)](){const _0xb63dbb=_0x1ef132;return this['_adapter'][_0xb63dbb(0x453)];}[_0x1ef132(0x3b7)](){const _0x1aec71=_0x1ef132;this[_0x1aec71(0x431)](),super[_0x1aec71(0x3b7)]();}[_0x1ef132(0x341)](){const _0x1a9334=_0x1ef132;this[_0x1a9334(0x296)]||(this['_initialized']=!0x0,this[_0x1a9334(0x414)]['sessionStatus$'][_0x1a9334(0x3cd)]((0x0,_0x418606[_0x1a9334(0x20a)])(this['dispose$']))[_0x1a9334(0x41d)](_0xddddf5=>{const _0x4f3167=_0x1a9334;if(_0xddddf5===_0x168f92[_0x4f3167(0x175)][_0x4f3167(0x1cb)]){this[_0x4f3167(0x185)]=!0x0;let _0x44b4ab=this[_0x4f3167(0x1ef)]['getLocalPresence'](this[_0x4f3167(0x427)]);_0x44b4ab&&this[_0x4f3167(0x23e)](_0x44b4ab);return;}this[_0x4f3167(0x185)]=!0x1,this[_0x4f3167(0x431)]();}),this[_0x1a9334(0x414)][_0x1a9334(0x1c7)][_0x1a9334(0x3cd)]((0x0,_0x418606[_0x1a9334(0x20a)])(this[_0x1a9334(0x1d8)]))[_0x1a9334(0x41d)](_0x55ff20=>{const _0x30703a=_0x1a9334;_0xa01a20(_0x55ff20)?this[_0x30703a(0x2a9)](_0x55ff20):_0x1f5e41(_0x55ff20)&&this['_removeRemotePresence'](_0x55ff20[_0x30703a(0x316)]['memberID']);}),this[_0x1a9334(0x1ef)][_0x1a9334(0x246)][_0x1a9334(0x3cd)]((0x0,_0x418606['filter'])(_0x11b52b=>this[_0x1a9334(0x185)]&&_0x11b52b[_0x1a9334(0x427)]===this[_0x1a9334(0x427)]),(0x0,_0x418606[_0x1a9334(0x137)])(_0x342cff=>(0x0,_0x418606[_0x1a9334(0x25d)])(_0x342cff[_0x1a9334(0x1d3)]),{'leading':!0x0,'trailing':!0x0}),(0x0,_0x418606['takeUntil'])(this['dispose$']))[_0x1a9334(0x41d)](_0x57c4b0=>this[_0x1a9334(0x23e)](_0x57c4b0)));}[_0x1ef132(0x23e)](_0xbc897e){const _0x574c15=_0x1ef132;let _0x315fe5=this[_0x574c15(0x414)]['getMemberID']();if(!_0x315fe5||!this['_online'])return;let _0x2a8d8c={'eventID':_0x2bfd29[_0x574c15(0x140)][_0x574c15(0x45f)],'data':{'unitID':this['unitId'],'memberID':_0x315fe5,'selection':JSON[_0x574c15(0x277)](_0x4a3fab(this[_0x574c15(0x453)],this['_adapter'][_0x574c15(0x477)],_0xbc897e))}};this[_0x574c15(0x414)]['send'](_0x2a8d8c,this[_0x574c15(0x427)])[_0x574c15(0x45e)](()=>void 0x0);}[_0x1ef132(0x2a9)](_0x1f4211){const _0x5bd64e=_0x1ef132;let {memberID:_0x397d4a,selection:_0x379f57}=_0x1f4211[_0x5bd64e(0x316)];if(_0x397d4a===this[_0x5bd64e(0x414)]['getMemberID']())return;let _0x8d2c18=_0x5cbf81(_0x379f57,this[_0x5bd64e(0x453)]);if(!_0x8d2c18||_0x8d2c18[_0x5bd64e(0x3a9)]!==this['_adapter'][_0x5bd64e(0x477)]||_0x8d2c18['unitType']!==this[_0x5bd64e(0x453)]||_0x8d2c18[_0x5bd64e(0x427)]!==this[_0x5bd64e(0x427)])return;let _0x363c8c=this['_memberService'][_0x5bd64e(0x21d)](this[_0x5bd64e(0x427)],_0x397d4a),_0x1f9292={'unitId':_0x8d2c18['unitId'],'subUnitId':_0x8d2c18['subUnitId'],'selectedIds':_0x8d2c18[_0x5bd64e(0x25e)],'focusedId':_0x8d2c18[_0x5bd64e(0x145)],'pointer':_0x8d2c18['pointer'],'memberId':_0x397d4a,'color':this[_0x5bd64e(0x222)]['assignAColorForMemberID'](_0x397d4a),'name':(_0x363c8c==null?void 0x0:_0x363c8c[_0x5bd64e(0x47a)])??_0x397d4a};this[_0x5bd64e(0x251)][_0x5bd64e(0x2d1)](_0x15e50e['id'],{'unitType':this[_0x5bd64e(0x453)],'update':{'type':_0x5bd64e(0x2a3),'state':_0x1f9292}})[_0x5bd64e(0x45e)](()=>void 0x0);}[_0x1ef132(0x44a)](_0x14717a){const _0x225859=_0x1ef132;this['_commandService']['executeCommand'](_0x15e50e['id'],{'unitType':this[_0x225859(0x453)],'update':{'type':_0x225859(0x40d),'unitId':this[_0x225859(0x427)],'memberId':_0x14717a}})[_0x225859(0x45e)](()=>void 0x0);}[_0x1ef132(0x431)](){const _0x3f4e93=_0x1ef132;this['_commandService']['executeCommand'](_0x15e50e['id'],{'unitType':this[_0x3f4e93(0x453)],'update':{'type':_0x3f4e93(0x261),'unitId':this[_0x3f4e93(0x427)]}})['catch'](()=>void 0x0);}};_0x3a1f6e=_0x233913([_0x3956b3(0x3,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0x33787d)),_0x3956b3(0x4,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0x168f92['MemberService'])),_0x3956b3(0x5,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0xe297f1['ICommandService']))],_0x3a1f6e);let _0x3159f3=class extends _0xe297f1[_0x1ef132(0x44d)]{constructor(_0x4f07cc,_0x55b374,_0x3e2f53,_0x227f81){const _0x29098e=_0x1ef132;super(),this[_0x29098e(0x253)]=_0x4f07cc,this['_injector']=_0x55b374,this['_collabSessionService']=_0x3e2f53,this['_adapterRegistry']=_0x227f81,_0x16f5f(this,_0x29098e(0x13f),!0x1),_0x16f5f(this,_0x29098e(0x265),new Map()),_0x16f5f(this,_0x29098e(0x2dd),new Map()),_0x16f5f(this,_0x29098e(0x154),new Map()),this[_0x29098e(0x34f)]();}[_0x1ef132(0x3b7)](){const _0x45438f=_0x1ef132;this[_0x45438f(0x13f)]=!0x0,this['_adapterDisposables'][_0x45438f(0x275)](_0x4f9aa8=>_0x4f9aa8[_0x45438f(0x3b7)]()),this[_0x45438f(0x154)][_0x45438f(0x261)](),this[_0x45438f(0x265)][_0x45438f(0x275)](_0x49a82f=>_0x49a82f[_0x45438f(0x3b7)]()),this[_0x45438f(0x265)][_0x45438f(0x261)](),this[_0x45438f(0x2dd)][_0x45438f(0x261)](),super['dispose']();}['_init'](){const _0x2e91db=_0x1ef132;this[_0x2e91db(0x40e)][_0x2e91db(0x1a4)][_0x2e91db(0x3cd)]((0x0,_0x418606['takeUntil'])(this['dispose$']))[_0x2e91db(0x41d)](_0x319a6b=>this[_0x2e91db(0x297)](_0x319a6b));}[_0x1ef132(0x297)](_0x3a32b3){const _0x1d3d6f=_0x1ef132;let _0x2e225b=new Set(_0x3a32b3[_0x1d3d6f(0x473)](_0x28dd3e=>_0x28dd3e[_0x1d3d6f(0x453)]));this[_0x1d3d6f(0x154)]['forEach']((_0x29346d,_0x4c3940)=>{const _0x3b2bc1=_0x1d3d6f;_0x2e225b[_0x3b2bc1(0x3ca)](_0x4c3940)||(_0x29346d[_0x3b2bc1(0x3b7)](),this[_0x3b2bc1(0x154)][_0x3b2bc1(0x1cf)](_0x4c3940),this[_0x3b2bc1(0x1e8)](_0x4c3940));}),_0x3a32b3[_0x1d3d6f(0x275)](_0x583983=>{const _0x496bce=_0x1d3d6f;this[_0x496bce(0x154)]['has'](_0x583983[_0x496bce(0x453)])||this[_0x496bce(0x430)](_0x583983);});}['_bindAdapter'](_0x3d8145){const _0xef567c=_0x1ef132;let _0x4161c0=new _0xe297f1['DisposableCollection']();this[_0xef567c(0x154)]['set'](_0x3d8145[_0xef567c(0x453)],_0x4161c0),_0x4161c0[_0xef567c(0x421)](_0x3d8145['activate']()),this[_0xef567c(0x253)][_0xef567c(0x17a)](_0x3d8145[_0xef567c(0x453)])[_0xef567c(0x275)](_0x31ba3c=>this[_0xef567c(0x46c)](_0x31ba3c[_0xef567c(0x338)](),_0x3d8145)['catch'](()=>void 0x0));let _0x2b2037=this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x3d8145[_0xef567c(0x453)])[_0xef567c(0x41d)](({unit:_0xd9c729})=>this[_0xef567c(0x46c)](_0xd9c729[_0xef567c(0x338)](),_0x3d8145)['catch'](()=>void 0x0));_0x4161c0[_0xef567c(0x421)]((0x0,_0xe297f1[_0xef567c(0x144)])(()=>_0x2b2037['unsubscribe']()));let _0x196a70=this['_univerInstanceService'][_0xef567c(0x264)](_0x3d8145[_0xef567c(0x453)])[_0xef567c(0x41d)](_0x307c13=>this[_0xef567c(0x407)](_0x307c13[_0xef567c(0x338)]()));_0x4161c0[_0xef567c(0x421)]((0x0,_0xe297f1[_0xef567c(0x144)])(()=>_0x196a70[_0xef567c(0x444)]()));}async[_0x1ef132(0x46c)](_0x3dd006,_0x26b348){const _0x947f2b=_0x1ef132;if(this[_0x947f2b(0x265)][_0x947f2b(0x3ca)](_0x3dd006)||this[_0x947f2b(0x2dd)][_0x947f2b(0x3ca)](_0x3dd006))return;let _0xe7e28f={};this[_0x947f2b(0x2dd)][_0x947f2b(0x2a3)](_0x3dd006,_0xe7e28f);let _0x4df101=await this[_0x947f2b(0x3d9)][_0x947f2b(0x189)](_0x3dd006)[_0x947f2b(0x45e)](_0x53f05e=>{const _0x1a72b1=_0x947f2b;throw this['_pendingEntities'][_0x1a72b1(0x459)](_0x3dd006)===_0xe7e28f&&this[_0x1a72b1(0x2dd)]['delete'](_0x3dd006),_0x53f05e;});if(this[_0x947f2b(0x13f)]||this[_0x947f2b(0x2dd)][_0x947f2b(0x459)](_0x3dd006)!==_0xe7e28f||this['_adapterRegistry'][_0x947f2b(0x459)](_0x26b348[_0x947f2b(0x453)])!==_0x26b348){this[_0x947f2b(0x2dd)][_0x947f2b(0x459)](_0x3dd006)===_0xe7e28f&&this[_0x947f2b(0x2dd)][_0x947f2b(0x1cf)](_0x3dd006);return;}let _0xa98e8b=this['_injector'][_0x947f2b(0x2ff)](_0x3a1f6e,_0x3dd006,_0x4df101,_0x26b348);_0xa98e8b[_0x947f2b(0x341)](),this[_0x947f2b(0x2dd)][_0x947f2b(0x1cf)](_0x3dd006),this['_entities'][_0x947f2b(0x2a3)](_0x3dd006,_0xa98e8b);}[_0x1ef132(0x407)](_0x110b30){const _0x5c13a7=_0x1ef132;this[_0x5c13a7(0x2dd)][_0x5c13a7(0x1cf)](_0x110b30);let _0x54e64d=this[_0x5c13a7(0x265)][_0x5c13a7(0x459)](_0x110b30);_0x54e64d&&(_0x54e64d[_0x5c13a7(0x3b7)](),this[_0x5c13a7(0x265)][_0x5c13a7(0x1cf)](_0x110b30));}['_disposeEntitiesForType'](_0x1c4027){const _0x534320=_0x1ef132;this[_0x534320(0x253)][_0x534320(0x17a)](_0x1c4027)[_0x534320(0x275)](_0x11776e=>this[_0x534320(0x2dd)][_0x534320(0x1cf)](_0x11776e[_0x534320(0x338)]())),Array['from'](this[_0x534320(0x265)][_0x534320(0x254)]())['forEach'](([_0x3f3463,_0x57c9b8])=>{const _0x1f03ff=_0x534320;_0x57c9b8[_0x1f03ff(0x453)]===_0x1c4027&&this[_0x1f03ff(0x407)](_0x3f3463);});}};_0x3159f3=_0x233913([_0x3956b3(0x0,_0xe297f1[_0x1ef132(0x167)]),_0x3956b3(0x1,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0xe297f1[_0x1ef132(0x20e)])),_0x3956b3(0x2,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0x168f92[_0x1ef132(0x238)])),_0x3956b3(0x3,(0x0,_0xe297f1['Inject'])(_0x3fe2b4[_0x1ef132(0x1b7)]))],_0x3159f3);let _0xa72c=class extends _0xe297f1[_0x1ef132(0x1da)]{constructor(_0x30c596,_0x3e04c4,_0x3069f0,_0x39d472,_0x316c66,_0x3c04eb){const _0x41609d=_0x1ef132;super(),this[_0x41609d(0x3be)]=_0x30c596,this['_localCacheService']=_0x3e04c4,this[_0x41609d(0x481)]=_0x3069f0,this[_0x41609d(0x3fc)]=_0x39d472,this[_0x41609d(0x330)]=_0x316c66,this[_0x41609d(0x229)]=_0x3c04eb,_0x16f5f(this,_0x41609d(0x3ac),null),_0x16f5f(this,'_retryingConflictCacheUnitIDs',new Set()),this[_0x41609d(0x400)](),this[_0x41609d(0x3b1)]();}['dispose'](){const _0x10b53a=_0x1ef132;var _0x23ea88;(_0x23ea88=this[_0x10b53a(0x3ac)])==null||_0x23ea88['dispose'](),this[_0x10b53a(0x3ac)]=null,super['dispose']();}[_0x1ef132(0x400)](){const _0x17eb70=_0x1ef132;this[_0x17eb70(0x182)](this[_0x17eb70(0x3be)]['registerBeforeClose'](()=>{const _0x496989=_0x17eb70;if(this[_0x496989(0x39b)][_0x496989(0x2e1)]['size'])return this['_localeService']['t']('collaboration-client-ui.collaboration.offline-data-not-saved');}));}[_0x1ef132(0x3b1)](){const _0x11a564=_0x1ef132;this[_0x11a564(0x182)](this['_collaborationUIEventService'][_0x11a564(0x1c7)][_0x11a564(0x41d)](_0x5e6dab=>{const _0x2869dd=_0x11a564;_0x5e6dab['id']===_0x168f92['CollaborationUIEventId'][_0x2869dd(0x417)]&&this[_0x2869dd(0x3fc)]['show']({'type':_0x1a1a9a['MessageType'][_0x2869dd(0x231)],'content':this[_0x2869dd(0x229)]['t']('collaboration-client-ui.collaboration.single-unit.warning')}),_0x5e6dab['id']===_0x168f92['CollaborationUIEventId']['CLOSE_ROOM']&&this[_0x2869dd(0x3fc)][_0x2869dd(0x276)]({'type':_0x1a1a9a[_0x2869dd(0x3e3)][_0x2869dd(0x231)],'content':this[_0x2869dd(0x229)]['t'](_0x2869dd(0x40c))}),_0x5e6dab['id']===_0x168f92[_0x2869dd(0x369)]['PERMISSION_DENIED']&&this['_replaceConflictNotification']({'title':this[_0x2869dd(0x229)]['t'](_0x2869dd(0x3e1)),'content':this['_localeService']['t']('collaboration-client-ui.permission.content'),'type':_0x2869dd(0x17e),'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'action':{'label':this[_0x2869dd(0x229)]['t']('collaboration-client-ui.snapshotLoading.refresh'),'onClick':_0x5c2a2b=>{const _0x12a14a=_0x2869dd;_0x5c2a2b['preventDefault'](),window[_0x12a14a(0x197)][_0x12a14a(0x3b3)]();}}}),_0x5e6dab['id']===_0x168f92[_0x2869dd(0x369)][_0x2869dd(0x331)]&&this['_showConflictProcessingNotification'](),_0x5e6dab['id']===_0x168f92[_0x2869dd(0x369)][_0x2869dd(0x29f)]&&_0x5e6dab[_0x2869dd(0x205)]&&this['_showConflictCacheClearFailedNotification'](_0x5e6dab['unitID']),_0x5e6dab['id']===_0x168f92[_0x2869dd(0x369)][_0x2869dd(0x1ff)]&&this[_0x2869dd(0x335)]({'title':this[_0x2869dd(0x229)]['t'](_0x2869dd(0x474)),'content':this['_localeService']['t']('collaboration-client-ui.conflict.content'),'type':_0x2869dd(0x17e),'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'action':{'label':this[_0x2869dd(0x229)]['t'](_0x2869dd(0x25c)),'onClick':_0x19742e=>{const _0x2529b7=_0x2869dd;_0x19742e[_0x2529b7(0x469)](),window[_0x2529b7(0x197)]['reload']();}}}),_0x5e6dab['id']===_0x168f92[_0x2869dd(0x369)][_0x2869dd(0x2a8)]&&this[_0x2869dd(0x3fc)][_0x2869dd(0x276)]({'type':_0x1a1a9a['MessageType']['Warning'],'content':this['_localeService']['t'](_0x5e6dab[_0x2869dd(0x316)]||'')}),_0x5e6dab['id']===_0x168f92[_0x2869dd(0x369)][_0x2869dd(0x399)]&&this['_messageService'][_0x2869dd(0x276)]({'type':_0x1a1a9a['MessageType'][_0x2869dd(0x231)],'content':this[_0x2869dd(0x229)]['t'](_0x2869dd(0x3ed))}),_0x5e6dab['id']===_0x168f92['CollaborationUIEventId']['SOCKET_FAILED']&&this['_messageService'][_0x2869dd(0x276)]({'type':_0x1a1a9a[_0x2869dd(0x3e3)][_0x2869dd(0x200)],'content':this[_0x2869dd(0x229)]['t'](_0x2869dd(0x142))}),_0x5e6dab['id']===_0x168f92[_0x2869dd(0x369)][_0x2869dd(0x446)]&&this[_0x2869dd(0x3fc)]['show']({'type':_0x1a1a9a[_0x2869dd(0x3e3)][_0x2869dd(0x200)],'content':this[_0x2869dd(0x229)]['t'](_0x2869dd(0x311))});}));}['_showConflictProcessingNotification'](){const _0x2a5abc=_0x1ef132;this['_replaceConflictNotification']({'title':this[_0x2a5abc(0x229)]['t'](_0x2a5abc(0x474)),'content':this[_0x2a5abc(0x229)]['t'](_0x2a5abc(0x397)),'type':_0x2a5abc(0x412),'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1});}[_0x1ef132(0x16a)](_0x229369){const _0x182063=_0x1ef132;this['_replaceConflictNotification']({'title':this[_0x182063(0x229)]['t'](_0x182063(0x474)),'content':this['_localeService']['t'](_0x182063(0x1c1)),'type':_0x182063(0x17e),'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'action':{'label':this[_0x182063(0x229)]['t'](_0x182063(0x2e4)),'onClick':_0x36ede2=>{const _0x1d05bb=_0x182063;_0x36ede2[_0x1d05bb(0x469)](),this['_retryConflictCacheClear'](_0x229369);}}});}[_0x1ef132(0x1d1)](_0x44a987){const _0x3c3007=_0x1ef132;this['_retryingConflictCacheUnitIDs']['has'](_0x44a987)||(this[_0x3c3007(0x2c6)][_0x3c3007(0x421)](_0x44a987),this[_0x3c3007(0x1f6)](),this[_0x3c3007(0x39b)]['clearOfflineData'](_0x44a987)[_0x3c3007(0x16e)](()=>window[_0x3c3007(0x197)]['reload']())[_0x3c3007(0x45e)](()=>this['_showConflictCacheClearFailedNotification'](_0x44a987))[_0x3c3007(0x3b2)](()=>this[_0x3c3007(0x2c6)][_0x3c3007(0x1cf)](_0x44a987)));}[_0x1ef132(0x335)](_0xe772b3){const _0x1fddba=_0x1ef132;var _0xe29ba;(_0xe29ba=this[_0x1fddba(0x3ac)])==null||_0xe29ba[_0x1fddba(0x3b7)](),this[_0x1fddba(0x3ac)]=this[_0x1fddba(0x330)]['show'](_0xe772b3);}};_0xa72c=_0x233913([_0x3956b3(0x0,_0x3fe2b4[_0x1ef132(0x3ea)]),_0x3956b3(0x1,_0x168f92['ILocalCacheService']),_0x3956b3(0x2,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0x168f92[_0x1ef132(0x456)])),_0x3956b3(0x3,_0x3fe2b4['IMessageService']),_0x3956b3(0x4,_0x3fe2b4['INotificationService']),_0x3956b3(0x5,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0xe297f1['LocaleService']))],_0xa72c);let _0x1fca1e=(0x0,_0xe297f1['createIdentifier'])(_0x1ef132(0x3ae)),_0x1d8ef9=class extends _0xe297f1['RxDisposable']{constructor(_0x8de47,_0x3039e9,_0x2ad033,_0x468272){const _0x2922c2=_0x1ef132;super(),this[_0x2922c2(0x2c2)]=_0x8de47,this[_0x2922c2(0x3f1)]=_0x3039e9,this[_0x2922c2(0x251)]=_0x2ad033,this[_0x2922c2(0x31a)]=_0x468272,this['_init']()['catch'](_0x3e4f1a=>this[_0x2922c2(0x3f1)][_0x2922c2(0x17e)](_0x2922c2(0x3ee),_0x3e4f1a));}async[_0x1ef132(0x34f)](){const _0x455b1e=_0x1ef132;let _0x2d4cee=this[_0x455b1e(0x2c2)][_0x455b1e(0x3b8)](_0x455b1e(0x19f)),_0x3e7caf=this[_0x455b1e(0x2c2)][_0x455b1e(0x3b8)](_0x455b1e(0x2b8)),_0xd8b291=this[_0x455b1e(0x2c2)][_0x455b1e(0x3b8)]('subunit');if(!_0x2d4cee||!_0x3e7caf){this[_0x455b1e(0x3f1)][_0x455b1e(0x1a7)](_0x455b1e(0x3ee),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}let _0x525f53=await this['_dataLoaderService'][_0x455b1e(0x1e6)](_0x2d4cee,Number(_0x3e7caf),_0xd8b291);this[_0x455b1e(0x15c)]||_0x525f53&&_0x525f53 instanceof _0xe297f1[_0x455b1e(0x216)]&&await this[_0x455b1e(0x20b)](_0x525f53);}async[_0x1ef132(0x20b)](_0x140d4a){const _0x2066f8=_0x1ef132;await this['_updateSubUnitFromURLParams'](_0x140d4a,!0x0),!this['_disposed']&&(_0x140d4a[_0x2066f8(0x339)]['pipe']((0x0,_0x418606[_0x2066f8(0x20a)])(this['dispose$']))[_0x2066f8(0x41d)](_0x2f4bf1=>{const _0x3cedf7=_0x2066f8;_0x2f4bf1&&this[_0x3cedf7(0x33b)](_0x2f4bf1);}),this['_urlService'][_0x2066f8(0x3d8)][_0x2066f8(0x3cd)]((0x0,_0x418606['takeUntil'])(this[_0x2066f8(0x1d8)]))['subscribe'](()=>{const _0x5d804d=_0x2066f8;this['_updateSubUnitFromURLParams'](_0x140d4a)[_0x5d804d(0x45e)](_0x35147d=>this[_0x5d804d(0x3f1)]['error']('[CollaborationDataLoaderController]',_0x35147d));}));}['_updateURLWithCurrentState'](_0x26c480,_0x13d517=!0x1){const _0x21c7fd=_0x1ef132;let _0x137ed6=this[_0x21c7fd(0x2c2)][_0x21c7fd(0x3b8)](_0x21c7fd(0x3f8));_0x26c480[_0x21c7fd(0x176)]()!==_0x137ed6&&this['_urlService'][_0x21c7fd(0x259)]('subunit',_0x26c480[_0x21c7fd(0x176)](),_0x13d517);}async[_0x1ef132(0x245)](_0x1601a1,_0x3363d0=!0x1){const _0x226980=_0x1ef132;var _0x24984c;let _0x3317db=this[_0x226980(0x2c2)][_0x226980(0x3b8)](_0x226980(0x3f8));if(!_0x3317db||!_0x1601a1[_0x226980(0x3c5)](_0x3317db)){let _0x38e10b=_0x1601a1[_0x226980(0x234)]()[0x0],_0x87e441=_0x1601a1[_0x226980(0x3c5)](_0x38e10b);if(!_0x87e441||(this[_0x226980(0x33b)](_0x87e441,!0x0),this[_0x226980(0x15c)]))return;await this['_commandService'][_0x226980(0x2d1)](_0x3d5523[_0x226980(0x39f)]['id'],{'unitId':_0x1601a1[_0x226980(0x338)](),'subUnitId':_0x38e10b});return;}(_0x3363d0||((_0x24984c=_0x1601a1['getActiveSheet']())==null?void 0x0:_0x24984c[_0x226980(0x176)]())!==_0x3317db)&&await this[_0x226980(0x251)][_0x226980(0x2d1)](_0x3d5523['SetWorksheetActivateCommand']['id'],{'unitId':_0x1601a1['getUnitId'](),'subUnitId':_0x3317db});}};_0x1d8ef9=_0x233913([_0x3956b3(0x0,_0x1fca1e),_0x3956b3(0x1,_0xe297f1['ILogService']),_0x3956b3(0x2,_0xe297f1[_0x1ef132(0x3c9)]),_0x3956b3(0x3,(0x0,_0xe297f1['Inject'])(_0x168f92[_0x1ef132(0x361)]))],_0x1d8ef9);let _0x4e3649=class{constructor(_0x44b623,_0x67aa8){const _0x46eb83=_0x1ef132;this[_0x46eb83(0x13c)]=_0x44b623,this['_renderManagerService']=_0x67aa8;}[_0x1ef132(0x410)](_0x45c5b1){const _0x470d1c=_0x1ef132;this[_0x470d1c(0x23d)](_0x45c5b1),this[_0x470d1c(0x1d5)](_0x45c5b1);}[_0x1ef132(0x457)](_0x271c33){const _0x16123c=_0x1ef132;let {unitID:_0x2b0039}=_0x271c33,{redoCache:_0x450930}=this['_renderManagerService']['getRenderUnitById'](_0x2b0039)[_0x16123c(0x267)](_0x3a6120['DocIMEInputManagerService'])[_0x16123c(0x35d)]();if(_0x450930[_0x16123c(0x2e6)]===0x0)return _0x271c33;let _0x13f4e8=_0xe297f1[_0x16123c(0x25b)][_0x16123c(0x383)](_0x271c33[_0x16123c(0x1f9)][0x0]);for(let _0x26901c=0x0;_0x26901c<_0x450930[_0x16123c(0x2e6)];_0x26901c++){let _0x168ed6={'id':_0x16123c(0x20f),'params':{..._0x450930[_0x26901c]}},_0x1f48f5=this[_0x16123c(0x13c)][_0x16123c(0x177)](_0x13f4e8,_0x168ed6,!0x1);if((0x0,_0x2bfd29[_0x16123c(0x464)])(_0x1f48f5))throw _0x1f48f5[_0x16123c(0x17e)];_0x13f4e8=_0x1f48f5[_0x16123c(0x2f8)];}return{..._0xe297f1[_0x16123c(0x25b)][_0x16123c(0x383)](_0x271c33),'mutations':[_0x13f4e8]};}[_0x1ef132(0x23d)](_0x1fa116){const _0x5830a9=_0x1ef132;let {unitID:_0x2a3aaa}=_0x1fa116,_0x5c6f4c=this[_0x5830a9(0x355)][_0x5830a9(0x3d4)](_0x2a3aaa)[_0x5830a9(0x267)](_0x3a6120['DocIMEInputManagerService']),{undoCache:_0xc3bf5f,redoCache:_0x1122b2}=_0x5c6f4c[_0x5830a9(0x35d)]();if(_0xc3bf5f[_0x5830a9(0x2e6)]===0x0||_0x1122b2[_0x5830a9(0x2e6)]===0x0)return;let _0x5270b8=[],_0xf37dca=[],_0x30ec61=_0xe297f1[_0x5830a9(0x25b)]['deepClone'](_0x1fa116[_0x5830a9(0x1f9)][0x0]),_0x24d6b7=_0xe297f1[_0x5830a9(0x25b)][_0x5830a9(0x383)](_0x1fa116[_0x5830a9(0x1f9)][0x0]);for(let _0x1d3d7a=_0xc3bf5f['length']-0x1;_0x1d3d7a>=0x0;_0x1d3d7a--){let _0x264f9d={'id':_0x5830a9(0x20f),'params':{..._0xc3bf5f[_0x1d3d7a]}},_0x58d698={'id':_0x5830a9(0x20f),'params':{..._0x1122b2[_0x1d3d7a]}},_0x37dee6=this[_0x5830a9(0x13c)][_0x5830a9(0x177)](_0x30ec61,_0x264f9d,!0x1),_0x25aa24=this[_0x5830a9(0x13c)][_0x5830a9(0x177)](_0x24d6b7,_0x58d698,!0x1);if((0x0,_0x2bfd29[_0x5830a9(0x464)])(_0x37dee6))throw _0x37dee6[_0x5830a9(0x17e)];if((0x0,_0x2bfd29[_0x5830a9(0x464)])(_0x25aa24))throw _0x25aa24['error'];_0x5270b8[_0x5830a9(0x29a)](_0x37dee6[_0x5830a9(0x2e9)][_0x5830a9(0x39e)]),_0xf37dca[_0x5830a9(0x29a)](_0x25aa24[_0x5830a9(0x2e9)]['params']),_0x30ec61=_0x37dee6[_0x5830a9(0x2f8)],_0x24d6b7=_0x25aa24['m1Prime'];}_0x5c6f4c[_0x5830a9(0x1ce)]({'undoCache':_0x5270b8,'redoCache':_0xf37dca});}[_0x1ef132(0x1d5)](_0x583f60){const _0x3ad057=_0x1ef132;let {unitID:_0x458a3e}=_0x583f60,_0x252a12=this[_0x3ad057(0x355)][_0x3ad057(0x3d4)](_0x458a3e)[_0x3ad057(0x267)](_0x3a6120['DocIMEInputManagerService']),_0x399493=_0x252a12[_0x3ad057(0x24a)]();if(_0x399493==null)return;let _0x2152b0=[{'id':_0x3ad057(0x20f),'params':{'unitId':_0x583f60['unitID'],'actions':null,'textRanges':[_0x399493]}}],_0x26bd32=this[_0x3ad057(0x13c)][_0x3ad057(0x3f2)](_0x583f60,_0x2152b0);if(!(0x0,_0x2bfd29[_0x3ad057(0x435)])(_0x26bd32))throw _0x26bd32['error'];let _0x1fe17c=_0x26bd32[_0x3ad057(0x2e9)][0x0][_0x3ad057(0x39e)][_0x3ad057(0x17d)];Array['isArray'](_0x1fe17c)&&_0x1fe17c[_0x3ad057(0x2e6)]&&_0x252a12['setActiveRange'](_0x1fe17c[0x0]);}};_0x4e3649=_0x233913([_0x3956b3(0x0,_0x2bfd29[_0x1ef132(0x337)]),_0x3956b3(0x1,_0x2b1f96[_0x1ef132(0x2ec)])],_0x4e3649);let _0x301c10=class{constructor(_0x42fa09,_0x3c542f,_0x1cac37){const _0x24e252=_0x1ef132;this[_0x24e252(0x2fe)]=_0x42fa09,this[_0x24e252(0x13c)]=_0x3c542f,this[_0x24e252(0x186)]=_0x1cac37;}[_0x1ef132(0x43f)](_0x2319b1){const _0xccfd05=_0x1ef132;this[_0xccfd05(0x155)](_0x2319b1);}[_0x1ef132(0x457)](_0x20e10e){const _0x3fe3d4=_0x1ef132;let {unitID:_0x127559}=_0x20e10e,{collaboration:_0x2da83a}=this[_0x3fe3d4(0x186)][_0x3fe3d4(0x313)](_0x127559);if(_0x2da83a[_0x3fe3d4(0x2e6)]===0x0)return _0x20e10e;let _0x1bf175=_0xe297f1[_0x3fe3d4(0x25b)][_0x3fe3d4(0x383)](_0x20e10e[_0x3fe3d4(0x1f9)][0x0]);for(let _0x355bf8=0x0;_0x355bf8<_0x2da83a[_0x3fe3d4(0x2e6)];_0x355bf8++){let _0x1abf3e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2da83a[_0x355bf8][_0x3fe3d4(0x427)],..._0x2da83a[_0x355bf8][_0x3fe3d4(0x180)]}},_0x3170cb=this[_0x3fe3d4(0x13c)][_0x3fe3d4(0x177)](_0x1bf175,_0x1abf3e,!0x1);if((0x0,_0x2bfd29[_0x3fe3d4(0x464)])(_0x3170cb))throw _0x3170cb[_0x3fe3d4(0x17e)];_0x1bf175=_0x3170cb[_0x3fe3d4(0x2f8)];}return{..._0xe297f1[_0x3fe3d4(0x25b)][_0x3fe3d4(0x383)](_0x20e10e),'mutations':[_0x1bf175]};}['_transformHistoryAndStateStack'](_0x879a68){const _0x3b138f=_0x1ef132;let {unitID:_0x310ba0}=_0x879a68,{history:_0x1a3f50,collaboration:_0x352e9b}=this[_0x3b138f(0x186)][_0x3b138f(0x313)](_0x310ba0);if(_0x1a3f50[_0x3b138f(0x2e6)]===0x0&&_0x352e9b[_0x3b138f(0x2e6)]===0x0)return;let _0x3cbdae=[],_0x214d5b=[],_0x2bfa6e=_0xe297f1[_0x3b138f(0x25b)][_0x3b138f(0x383)](_0x879a68[_0x3b138f(0x1f9)][0x0]),_0xd236c8=_0xe297f1['Tools'][_0x3b138f(0x383)](_0x879a68[_0x3b138f(0x1f9)][0x0]);for(let _0x4f668b=_0x1a3f50['length']-0x1;_0x4f668b>=0x0;_0x4f668b--){let _0x5b1002={'id':_0x3b138f(0x20f),'params':{'unitId':_0x1a3f50[_0x4f668b][_0x3b138f(0x427)],..._0x1a3f50[_0x4f668b][_0x3b138f(0x37b)]}},_0x18e656={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1a3f50[_0x4f668b][_0x3b138f(0x427)],..._0x1a3f50[_0x4f668b][_0x3b138f(0x180)]}},_0x4c03e5=this[_0x3b138f(0x13c)][_0x3b138f(0x177)](_0x2bfa6e,_0x5b1002,!0x1),_0x1140dc=this[_0x3b138f(0x13c)][_0x3b138f(0x177)](_0xd236c8,_0x18e656,!0x1);if((0x0,_0x2bfd29[_0x3b138f(0x464)])(_0x4c03e5))throw _0x4c03e5['error'];if((0x0,_0x2bfd29['isTransformMutationFailure'])(_0x1140dc))throw _0x1140dc['error'];_0x3cbdae[_0x3b138f(0x29a)]({..._0x1a3f50[_0x4f668b],'undoState':_0x4c03e5[_0x3b138f(0x2e9)]['params'],'redoState':_0x1140dc['m2Prime'][_0x3b138f(0x39e)]}),_0x2bfa6e=_0x4c03e5[_0x3b138f(0x2f8)],_0xd236c8=_0x1140dc[_0x3b138f(0x2f8)];}_0x2bfa6e=_0xe297f1[_0x3b138f(0x25b)][_0x3b138f(0x383)](_0x879a68[_0x3b138f(0x1f9)][0x0]),_0xd236c8=_0xe297f1[_0x3b138f(0x25b)][_0x3b138f(0x383)](_0x879a68[_0x3b138f(0x1f9)][0x0]);for(let _0x6c4c61=_0x352e9b[_0x3b138f(0x2e6)]-0x1;_0x6c4c61>=0x0;_0x6c4c61--){let _0x37a766={'id':_0x3b138f(0x20f),'params':{'unitId':_0x352e9b[_0x6c4c61]['unitId'],..._0x352e9b[_0x6c4c61]['undoState']}},_0x3beb98={'id':_0x3b138f(0x20f),'params':{'unitId':_0x352e9b[_0x6c4c61][_0x3b138f(0x427)],..._0x352e9b[_0x6c4c61]['redoState']}},_0x74c8eb=this[_0x3b138f(0x13c)][_0x3b138f(0x177)](_0x2bfa6e,_0x37a766,!0x1),_0x2cc9e5=this[_0x3b138f(0x13c)][_0x3b138f(0x177)](_0xd236c8,_0x3beb98,!0x1);if((0x0,_0x2bfd29[_0x3b138f(0x464)])(_0x74c8eb))throw _0x74c8eb['error'];if((0x0,_0x2bfd29[_0x3b138f(0x464)])(_0x2cc9e5))throw _0x2cc9e5[_0x3b138f(0x17e)];_0x214d5b[_0x3b138f(0x29a)]({..._0x352e9b[_0x6c4c61],'undoState':_0x74c8eb[_0x3b138f(0x2e9)][_0x3b138f(0x39e)],'redoState':_0x2cc9e5['m2Prime'][_0x3b138f(0x39e)]}),_0x2bfa6e=_0x74c8eb[_0x3b138f(0x2f8)],_0xd236c8=_0x2cc9e5[_0x3b138f(0x2f8)];}this[_0x3b138f(0x186)][_0x3b138f(0x465)](_0x310ba0,{'history':_0x3cbdae,'collaboration':_0x214d5b});}};_0x301c10=_0x233913([_0x3956b3(0x0,(0x0,_0xe297f1['Inject'])(_0xe297f1[_0x1ef132(0x20e)])),_0x3956b3(0x1,_0x2bfd29[_0x1ef132(0x337)]),_0x3956b3(0x2,(0x0,_0xe297f1['Inject'])(_0x4c375f[_0x1ef132(0x3bc)]))],_0x301c10);let _0x27d9f2=class{constructor(_0x21de3e,_0x4cca46){const _0x1bba7a=_0x1ef132;this[_0x1bba7a(0x391)]=_0x21de3e,this[_0x1bba7a(0x13c)]=_0x4cca46;}[_0x1ef132(0x2e5)](_0x21feb4){const _0x413c64=_0x1ef132;var _0x4be93a;let _0x565424=this['_docSelectionManagerService'][_0x413c64(0x13d)]()??[],_0x2b8b05=this[_0x413c64(0x391)][_0x413c64(0x38d)]();if(_0x565424[_0x413c64(0x2e6)]===0x0||_0x2b8b05==null)return null;let _0x439fa4=_0x21feb4['unitID'],_0x3072a6=[{'id':_0x413c64(0x20f),'params':{'unitId':_0x439fa4,'actions':null,'textRanges':_0x565424}}],_0x181eec=this[_0x413c64(0x13c)][_0x413c64(0x3f2)](_0x21feb4,_0x3072a6);if(!(0x0,_0x2bfd29[_0x413c64(0x435)])(_0x181eec))throw _0x181eec[_0x413c64(0x17e)];let _0x24fdb5=(_0x4be93a=_0x181eec[_0x413c64(0x2e9)][0x0])==null?void 0x0:_0x4be93a[_0x413c64(0x39e)],_0x25847d=_0x24fdb5&&typeof _0x24fdb5==_0x413c64(0x290)&&_0x413c64(0x17d)in _0x24fdb5?_0x24fdb5[_0x413c64(0x17d)]:null;if(!_0x4951d6(_0x25847d))return null;let _0x4ec2fe=_0x5c658e(_0x21feb4[_0x413c64(0x1f9)][_0x413c64(0x1a3)](_0x427bfc=>_0x4b5f64(_0x427bfc[_0x413c64(0x39e)]))?_0x25847d[_0x413c64(0x1c6)](_0x5d8735=>!(_0x413c64(0x146)in _0x5d8735)):_0x25847d,{..._0x2b8b05,'options':_0x2b8b05[_0x413c64(0x1b9)]?{..._0x2b8b05[_0x413c64(0x1b9)],'wholeDocument':!0x1}:void 0x0}),_0x4a119a={'unitId':_0x439fa4,'subUnitId':_0x439fa4};this['_docSelectionManagerService'][_0x413c64(0x1f1)](_0x4ec2fe,_0x4a119a);let _0xb069fb=!0x0;return{'commit':()=>{_0xb069fb=!0x1;},'rollback':()=>{const _0x5a5848=_0x413c64;_0xb069fb&&(_0xb069fb=!0x1,this[_0x5a5848(0x391)][_0x5a5848(0x1f1)](_0x2b8b05,_0x4a119a));}};}};_0x27d9f2=_0x233913([_0x3956b3(0x0,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0x4c375f['DocSelectionManagerService'])),_0x3956b3(0x1,_0x2bfd29[_0x1ef132(0x337)])],_0x27d9f2);function _0x5c658e(_0x1c98b8,_0x562c08){const _0x167a2e=_0x1ef132;let _0xb1412a=[],_0x3a5eec=[];for(let _0x1faa68 of _0x1c98b8)_0x22511d(_0x1faa68)?_0x3a5eec[_0x167a2e(0x403)](_0x1faa68):_0xb1412a[_0x167a2e(0x403)](_0x1faa68);return{..._0x562c08,'textRanges':_0xb1412a,'rectRanges':_0x3a5eec};}function _0x22511d(_0x4ba4eb){const _0xdb7420=_0x1ef132;return _0xdb7420(0x146)in _0x4ba4eb;}function _0x4951d6(_0x2fbdaf){const _0x545b36=_0x1ef132;return Array[_0x545b36(0x39a)](_0x2fbdaf)&&_0x2fbdaf[_0x545b36(0x2a6)](_0x1b521d=>typeof _0x1b521d==_0x545b36(0x290)&&!!_0x1b521d&&_0x545b36(0x3f6)in _0x1b521d&&_0x545b36(0x326)in _0x1b521d);}function _0x4b5f64(_0x47404e){const _0x10d3bb=_0x1ef132;return _0x47404e===_0x10d3bb(0x47c)?!0x0:Array[_0x10d3bb(0x39a)](_0x47404e)?_0x47404e[_0x10d3bb(0x1a3)](_0x374c33=>_0x4b5f64(_0x374c33)):!_0x47404e||typeof _0x47404e!='object'?!0x1:Object['values'](_0x47404e)[_0x10d3bb(0x1a3)](_0x3cc968=>_0x4b5f64(_0x3cc968));}let _0x2c8a33=class extends _0xe297f1['Disposable']{constructor(_0x1f744c,_0x4dea6d,_0x4d83f5,_0x52a657,_0x2b1ff4,_0x5a5eef,_0x10e3d9){const _0x1e892e=_0x1ef132;super(),this['_collaborationController']=_0x1f744c,this[_0x1e892e(0x3ad)]=_0x4dea6d,this['_docTransformStateCacheService']=_0x4d83f5,this[_0x1e892e(0x45a)]=_0x52a657,this['_docSyncEditingCollabCursorService']=_0x2b1ff4,this[_0x1e892e(0x3fc)]=_0x5a5eef,this[_0x1e892e(0x229)]=_0x10e3d9,_0x16f5f(this,_0x1e892e(0x2dc),new _0x418606[(_0x1e892e(0x139))](_0x168f92[_0x1e892e(0x153)][_0x1e892e(0x365)])),this['_initEntityListener']();}[_0x1ef132(0x3d6)](){const _0x306471=_0x1ef132;this[_0x306471(0x182)](this[_0x306471(0x43d)][_0x306471(0x1b3)][_0x306471(0x41d)](_0x305e00=>{const _0x27155c=_0x306471;_0x305e00 instanceof _0x168f92[_0x27155c(0x170)]&&_0x305e00['addHandlerCallback']({'onTransformIME':_0x190700=>this[_0x27155c(0x3ad)]['transformIMECache'](_0x190700),'onTransformState':_0x366d96=>this[_0x27155c(0x2be)][_0x27155c(0x43f)](_0x366d96),'onPrepareTransformSelections':_0x1434e3=>this['_docTransformSelectionsService']['prepareTransformSelections'](_0x1434e3),'onSyncEditingCollabCursor':_0x332adc=>this[_0x27155c(0x31b)][_0x27155c(0x2f0)](_0x332adc),'onTransformRemoteChangesetByIMECache':_0x83a15d=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x83a15d),'onTransformRemoteChangesetByStateCache':_0x269c76=>this[_0x27155c(0x2be)]['transformRemoteChangeset'](_0x269c76)});}));}};_0x2c8a33=_0x233913([_0x3956b3(0x0,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0x168f92['CollaborationController'])),_0x3956b3(0x1,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0x4e3649)),_0x3956b3(0x2,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0x301c10)),_0x3956b3(0x3,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0x27d9f2)),_0x3956b3(0x4,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0x132c0b)),_0x3956b3(0x5,_0x3fe2b4[_0x1ef132(0x24e)]),_0x3956b3(0x6,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0xe297f1[_0x1ef132(0x17b)]))],_0x2c8a33);let _0x1c4126=class extends _0xe297f1[_0x1ef132(0x1da)]{constructor(_0x44bcd7,_0x2b01bf,_0x2424c4,_0xb42a23){const _0xeb8a46=_0x1ef132;super(),this[_0xeb8a46(0x2fe)]=_0x44bcd7,this[_0xeb8a46(0x2ef)]=_0x2b01bf,this['_logService']=_0x2424c4,this['_collaborationSessionService']=_0xb42a23,_0x16f5f(this,_0xeb8a46(0x2d0),void 0x0),this[_0xeb8a46(0x34f)]();}[_0x1ef132(0x34f)](){const _0x1d4d22=_0x1ef132;this[_0x1d4d22(0x1af)](),this[_0x1d4d22(0x3a1)](),this['_monkeyPatchLogService'](),this[_0x1d4d22(0x328)]();}['_initUserListener'](){const _0x2a859b=_0x1ef132;this[_0x2a859b(0x182)](this[_0x2a859b(0x15b)][_0x2a859b(0x226)][_0x2a859b(0x41d)](_0x5da9bd=>{const _0x3a31be=_0x2a859b;this[_0x3a31be(0x2d0)]=_0x5da9bd==null?void 0x0:_0x5da9bd[_0x3a31be(0x171)];}));}[_0x1ef132(0x1af)](){const _0x527a53=_0x1ef132;let _0xc77c78=_0x39bfdc=>{const _0x2f6c16=_0x47f4;var _0x1ad7a5;this[_0x2f6c16(0x368)](_0x2f6c16(0x17e),_0x2f6c16(0x164)+_0x39bfdc['message']+_0x2f6c16(0x34a)+_0x39bfdc[_0x2f6c16(0x402)]+':'+_0x39bfdc[_0x2f6c16(0x2ba)]+':'+_0x39bfdc[_0x2f6c16(0x1de)]+'\x0a'+(((_0x1ad7a5=_0x39bfdc['error'])==null?void 0x0:_0x1ad7a5['stack'])||''));};window[_0x527a53(0x2fb)](_0x527a53(0x17e),_0xc77c78),this[_0x527a53(0x182)](()=>{window['removeEventListener']('error',_0xc77c78);});}[_0x1ef132(0x3a1)](){const _0x3d385d=_0x1ef132;let _0x5f2e36=_0x39dc74=>{const _0x11afe3=_0x47f4;this[_0x11afe3(0x368)](_0x11afe3(0x17e),_0x11afe3(0x347)+_0x39dc74['reason']);};window[_0x3d385d(0x2fb)](_0x3d385d(0x257),_0x5f2e36),this[_0x3d385d(0x182)](()=>{const _0xae6a5=_0x3d385d;window['removeEventListener'](_0xae6a5(0x257),_0x5f2e36);});}[_0x1ef132(0x179)](){const _0x1572cd=_0x1ef132;let _0x3ee462=this['_logService'][_0x1572cd(0x17e)][_0x1572cd(0x3ec)](this[_0x1572cd(0x3f1)]);this['_logService'][_0x1572cd(0x17e)]=(..._0x1944e1)=>{const _0x150ddc=_0x1572cd;let _0x79047=_0x1944e1[_0x150ddc(0x473)](_0x6d8717=>_0x6d8717 instanceof Error?_0x6d8717[_0x150ddc(0x212)]+'\x0a'+_0x6d8717[_0x150ddc(0x2f9)]:String(_0x6d8717))[_0x150ddc(0x3a5)]('\x20');this[_0x150ddc(0x368)]('error',_0x150ddc(0x195)+_0x79047),_0x3ee462(..._0x1944e1);},this[_0x1572cd(0x182)](()=>{const _0x3c1bb3=_0x1572cd;this['_logService'][_0x3c1bb3(0x17e)]=_0x3ee462;});}[_0x1ef132(0x368)](_0x2533e7,_0xda2cce){const _0x5ec994=_0x1ef132;try{let _0x1c3fdf={'userId':this[_0x5ec994(0x2d0)],'logLabel':_0x2533e7,'content':_0xda2cce};this['_httpService']['post'](_0x5ec994(0x364),{'body':_0x1c3fdf})[_0x5ec994(0x45e)](()=>{});}catch{}}};_0x1c4126=_0x233913([_0x3956b3(0x0,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0xe297f1[_0x1ef132(0x20e)])),_0x3956b3(0x1,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0x259981[_0x1ef132(0x1f2)])),_0x3956b3(0x2,_0xe297f1[_0x1ef132(0x3bf)]),_0x3956b3(0x3,(0x0,_0xe297f1['Inject'])(_0x168f92[_0x1ef132(0x238)]))],_0x1c4126);function _0x59118f({state$:_0x23ca8d}){const _0x3e3228=_0x1ef132;let _0x2fabf1=(0x0,_0x3fe2b4['useObservable'])(_0x23ca8d,null,!0x0);return _0x2fabf1?(0x0,_0x2a2749['jsxs'])(_0x3e3228(0x418),{'data-u-comp':'snapshot-loading-timeout','role':_0x3e3228(0x247),'className':_0x3e3228(0x157),'children':[(0x0,_0x2a2749['jsx'])(_0x53b4c9,{'className':_0x3e3228(0x256)}),(0x0,_0x2a2749['jsx'])('span',{'children':_0x2fabf1[_0x3e3228(0x1d7)]}),(0x0,_0x2a2749[_0x3e3228(0x329)])(_0x1a1a9a[_0x3e3228(0x45c)],{'size':_0x3e3228(0x14c),'variant':_0x3e3228(0x33e),'onClick':()=>window[_0x3e3228(0x197)]['reload'](),'children':_0x2fabf1[_0x3e3228(0x386)]})]}):null;}let _0x2b5f32=_0x1ef132(0x304),_0x2f4a09=class extends _0xe297f1['Disposable']{constructor(_0x11a7a7,_0x2dd378,_0x2104ea,_0xd9b3eb,_0x47ce03,_0x23f459){const _0x11b157=_0x1ef132;super(),this[_0x11b157(0x38a)]=_0x11a7a7,this[_0x11b157(0x3fc)]=_0x2dd378,this['_localeService']=_0x2104ea,this[_0x11b157(0x2fe)]=_0xd9b3eb,this[_0x11b157(0x2c2)]=_0x23f459,_0x16f5f(this,_0x11b157(0x380),new _0x418606[(_0x11b157(0x139))](null)),_0x16f5f(this,_0x11b157(0x203),new Set()),_0x16f5f(this,'_blockProgressWatches',new Map()),_0x16f5f(this,_0x11b157(0x269),new Map()),_0x16f5f(this,_0x11b157(0x3a0),this['_timeoutState$']['asObservable']());let _0x3b4c08=()=>(0x0,_0xe740c2[_0x11b157(0x3b0)])(_0x59118f,{'state$':this['timeoutState$']});this['disposeWithMe'](_0x47ce03[_0x11b157(0x3f4)](_0x3fe2b4[_0x11b157(0x268)][_0x11b157(0x48a)],()=>(0x0,_0x3fe2b4['connectInjector'])(_0x3b4c08,this[_0x11b157(0x2fe)]))),this['disposeWithMe'](this[_0x11b157(0x38a)][_0x11b157(0x41f)][_0x11b157(0x41d)](_0x17165a=>{const _0x317cf3=_0x11b157;this[_0x317cf3(0x269)]=_0x17165a,_0x17165a[_0x317cf3(0x275)](_0x4922a8=>this[_0x317cf3(0x2da)](_0x4922a8));})),this[_0x11b157(0x182)](this[_0x11b157(0x2c2)]['urlChange$']['subscribe'](()=>{const _0x14b976=_0x11b157;this[_0x14b976(0x269)]['forEach'](_0x3e803d=>this[_0x14b976(0x2da)](_0x3e803d));}));}[_0x1ef132(0x3b7)](){const _0xb3bc42=_0x1ef132;this[_0xb3bc42(0x203)][_0xb3bc42(0x275)](_0xa8e2d6=>this[_0xb3bc42(0x3fc)][_0xb3bc42(0x40d)](_0xa8e2d6)),this['_messageIds'][_0xb3bc42(0x261)](),this[_0xb3bc42(0x448)][_0xb3bc42(0x275)](({timeoutId:_0x26c3df})=>clearTimeout(_0x26c3df)),this['_blockProgressWatches'][_0xb3bc42(0x261)](),this['_timeoutState$'][_0xb3bc42(0x35f)](),super['dispose']();}[_0x1ef132(0x2da)](_0x458396){const _0xd1163c=_0x1ef132;let _0x4fad63=''+_0x2b5f32+_0x458396[_0xd1163c(0x427)];if(_0x458396[_0xd1163c(0x225)]===_0x2bfd29[_0xd1163c(0x393)][_0xd1163c(0x13a)]){this['_clearBlockProgressWatch'](_0x458396[_0xd1163c(0x427)]),this[_0xd1163c(0x27c)](_0x458396[_0xd1163c(0x427)]),this[_0xd1163c(0x3fc)][_0xd1163c(0x40d)](_0x4fad63),this[_0xd1163c(0x203)][_0xd1163c(0x1cf)](_0x4fad63);return;}if(!this['_isVisibleUnit'](_0x458396[_0xd1163c(0x427)])){this[_0xd1163c(0x2b3)](_0x458396['unitId']),this['_clearTimeoutState'](_0x458396[_0xd1163c(0x427)]),this[_0xd1163c(0x3fc)][_0xd1163c(0x40d)](_0x4fad63),this[_0xd1163c(0x203)]['delete'](_0x4fad63);return;}if(_0x458396['stage']===_0x2bfd29[_0xd1163c(0x393)][_0xd1163c(0x221)]){this[_0xd1163c(0x2b3)](_0x458396[_0xd1163c(0x427)]),this[_0xd1163c(0x27c)](_0x458396[_0xd1163c(0x427)]),this['_messageService'][_0xd1163c(0x276)]({'id':_0x4fad63,'type':_0x1a1a9a['MessageType'][_0xd1163c(0x200)],'content':this[_0xd1163c(0x229)]['t'](_0xd1163c(0x142))}),this[_0xd1163c(0x203)][_0xd1163c(0x1cf)](_0x4fad63);return;}if(_0x458396[_0xd1163c(0x225)]!==_0x2bfd29[_0xd1163c(0x393)]['LOADING_BLOCKS']||_0x458396[_0xd1163c(0x250)]<=0xa){this[_0xd1163c(0x2b3)](_0x458396[_0xd1163c(0x427)]),this[_0xd1163c(0x3fc)]['remove'](_0x4fad63),this[_0xd1163c(0x203)]['delete'](_0x4fad63);return;}this[_0xd1163c(0x478)](_0x458396)||(this['_messageService'][_0xd1163c(0x276)]({'id':_0x4fad63,'type':_0x1a1a9a[_0xd1163c(0x3e3)]['Loading'],'duration':0x1/0x0,'content':this[_0xd1163c(0x229)]['t']('collaboration-client-ui.collabStatus.fetchMiss')+'\x20'+_0x458396['loadedBlocks']+'/'+_0x458396['totalBlocks']}),this[_0xd1163c(0x203)][_0xd1163c(0x421)](_0x4fad63));}[_0x1ef132(0x478)](_0x4f8bca){const _0x50d453=_0x1ef132;let _0x1b13cb=this[_0x50d453(0x448)]['get'](_0x4f8bca[_0x50d453(0x427)]);if((_0x1b13cb==null?void 0x0:_0x1b13cb['loadedBlocks'])===_0x4f8bca[_0x50d453(0x1f5)])return _0x1b13cb[_0x50d453(0x36f)];this[_0x50d453(0x2b3)](_0x4f8bca[_0x50d453(0x427)]);let _0x3a9aa8=setTimeout(()=>{const _0x2cb0f1=_0x50d453;let _0x447549=this[_0x2cb0f1(0x448)][_0x2cb0f1(0x459)](_0x4f8bca['unitId']);if(!_0x447549||_0x447549[_0x2cb0f1(0x2f7)]!==_0x3a9aa8)return;_0x447549[_0x2cb0f1(0x36f)]=!0x0;let _0x37a9c9=''+_0x2b5f32+_0x4f8bca[_0x2cb0f1(0x427)];this[_0x2cb0f1(0x3fc)][_0x2cb0f1(0x40d)](_0x37a9c9),this[_0x2cb0f1(0x203)]['delete'](_0x37a9c9),this[_0x2cb0f1(0x380)][_0x2cb0f1(0x178)]({'unitId':_0x4f8bca['unitId'],'content':this[_0x2cb0f1(0x229)]['t'](_0x2cb0f1(0x1e9),String(_0x4f8bca[_0x2cb0f1(0x1f5)]),String(_0x4f8bca['totalBlocks'])),'refreshLabel':this[_0x2cb0f1(0x229)]['t'](_0x2cb0f1(0x25c))});},0xea60);return this['_blockProgressWatches'][_0x50d453(0x2a3)](_0x4f8bca[_0x50d453(0x427)],{'loadedBlocks':_0x4f8bca['loadedBlocks'],'timedOut':!0x1,'timeoutId':_0x3a9aa8}),!0x1;}[_0x1ef132(0x2b3)](_0x2c96a7){const _0x6e890f=_0x1ef132;let _0x51243f=this[_0x6e890f(0x448)][_0x6e890f(0x459)](_0x2c96a7);_0x51243f&&(clearTimeout(_0x51243f['timeoutId']),this[_0x6e890f(0x448)][_0x6e890f(0x1cf)](_0x2c96a7),this['_clearTimeoutState'](_0x2c96a7));}[_0x1ef132(0x27c)](_0x101953){const _0x544f78=_0x1ef132;var _0x349e83;((_0x349e83=this['_timeoutState$'][_0x544f78(0x420)])==null?void 0x0:_0x349e83['unitId'])===_0x101953&&this['_timeoutState$'][_0x544f78(0x178)](null);}[_0x1ef132(0x3af)](_0x22b447){const _0x3ab1ad=_0x1ef132;let _0x2a9a97=this[_0x3ab1ad(0x2c2)]['getParam'](_0x3ab1ad(0x19f));return!_0x2a9a97||_0x2a9a97===_0x22b447;}};_0x2f4a09=_0x233913([_0x3956b3(0x0,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0x2bfd29[_0x1ef132(0x3e4)])),_0x3956b3(0x1,_0x3fe2b4['IMessageService']),_0x3956b3(0x2,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0xe297f1[_0x1ef132(0x17b)])),_0x3956b3(0x3,(0x0,_0xe297f1['Inject'])(_0xe297f1['Injector'])),_0x3956b3(0x4,_0x3fe2b4['IUIPartsService']),_0x3956b3(0x5,_0x1fca1e)],_0x2f4a09);let _0x6a0e8d=class extends _0xe297f1[_0x1ef132(0x1da)]{constructor(_0x1b8595,_0x5e70ac,_0x50f6db){const _0x2704d7=_0x1ef132;super(),this['_configService']=_0x1b8595,this[_0x2704d7(0x44f)]=_0x5e70ac,this[_0x2704d7(0x41a)]=_0x50f6db,_0x16f5f(this,'_cachedData',new Map()),_0x16f5f(this,'_saveTaskMap',new Map()),_0x16f5f(this,_0x2704d7(0x263),new Map()),_0x16f5f(this,'_disabled',!0x1);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x1ef132(0x31c)](){const _0x4152b4=_0x1ef132;this[_0x4152b4(0x1b0)]=!0x1;}get['saveTaskMap'](){const _0x64ce58=_0x1ef132;return this[_0x64ce58(0x19a)];}[_0x1ef132(0x3b7)](){const _0x2a49fe=_0x1ef132;this[_0x2a49fe(0x3ab)]()[_0x2a49fe(0x16e)](()=>super['dispose']());}async['loadOfflineData'](_0xa4cfbb){const _0x3ac4ae=_0x1ef132;return this[_0x3ac4ae(0x1b0)]?null:this[_0x3ac4ae(0x44f)][_0x3ac4ae(0x436)]((0x0,_0x168f92['getLocalCacheKey'])(_0xa4cfbb));}async[_0x1ef132(0x168)](_0xac1770,_0x3732ac){const _0x372606=_0x1ef132;let _0x7f2586=this[_0x372606(0x44f)][_0x372606(0x224)]((0x0,_0x168f92['getLocalCacheKey'])(_0xac1770),_0x3732ac);return this[_0x372606(0x309)](_0xac1770,_0x7f2586),!!await _0x7f2586;}async[_0x1ef132(0x289)](_0x28c65c,_0x4b1e62){const _0x1554c9=_0x1ef132;let _0x313a87=this[_0x1554c9(0x44e)][_0x1554c9(0x459)](_0x28c65c)??await this[_0x1554c9(0x44f)][_0x1554c9(0x436)]((0x0,_0x168f92[_0x1554c9(0x1d6)])(_0x28c65c));if(!_0x313a87)return;let _0x26efb2=Date[_0x1554c9(0x3c0)](),_0x450d72=new Date(_0x26efb2)[_0x1554c9(0x415)]();await this[_0x1554c9(0x44f)]['setItem']((0x0,_0x168f92[_0x1554c9(0x1d6)])(_0x28c65c)+_0x1554c9(0x317)+_0x26efb2,{'reason':_0x4b1e62,'createdAt':_0x450d72,'data':_0x313a87});}async[_0x1ef132(0x1f7)](_0x36482f){const _0x578a2d=_0x1ef132;let _0x4fd720=this[_0x578a2d(0x19a)][_0x578a2d(0x459)](_0x36482f);_0x4fd720!==void 0x0&&(window[_0x578a2d(0x2fd)](_0x4fd720),this[_0x578a2d(0x19a)][_0x578a2d(0x1cf)](_0x36482f));let _0x2ef712=this['_activeSaveTaskMap'][_0x578a2d(0x459)](_0x36482f);_0x2ef712&&await Promise[_0x578a2d(0x467)](_0x2ef712),this[_0x578a2d(0x44e)][_0x578a2d(0x1cf)](_0x36482f),await this[_0x578a2d(0x44f)][_0x578a2d(0x2bd)]((0x0,_0x168f92[_0x578a2d(0x1d6)])(_0x36482f));}[_0x1ef132(0x348)](_0x7c7e0f,_0x2f732a,_0x261095,_0x44a82e){const _0x24c019=_0x1ef132;let _0x19c34b=this[_0x24c019(0x41a)][_0x24c019(0x1a2)](_0x7c7e0f);this[_0x24c019(0x44e)][_0x24c019(0x2a3)](_0x7c7e0f,{'unitID':_0x7c7e0f,'type':_0x2f732a,'awaitingChangeset':_0x261095,'mutations':_0x44a82e,'rev':_0x19c34b}),this[_0x24c019(0x19a)]['has'](_0x7c7e0f)||this[_0x24c019(0x413)](_0x7c7e0f);}['_scheduleSaving'](_0x5f4ecf){const _0x12ec3d=_0x1ef132;let _0x49fc82=this['_getSaveTimeout']();_0x49fc82===0x0?this[_0x12ec3d(0x333)](_0x5f4ecf):this[_0x12ec3d(0x19a)][_0x12ec3d(0x2a3)](_0x5f4ecf,window['setTimeout'](()=>this[_0x12ec3d(0x333)](_0x5f4ecf),_0x49fc82));}[_0x1ef132(0x378)](){const _0x232661=_0x1ef132;return this[_0x232661(0x392)][_0x232661(0x332)](_0x168f92[_0x232661(0x28d)])??_0x168f92[_0x232661(0x1e2)];}[_0x1ef132(0x333)](_0x3524e7){const _0x1d505c=_0x1ef132;let _0x4c3188=this['_saveTaskMap']['get'](_0x3524e7);_0x4c3188!==void 0x0&&window[_0x1d505c(0x2fd)](_0x4c3188);let _0x472287=this['_localStorageService']['setItem']((0x0,_0x168f92[_0x1d505c(0x1d6)])(_0x3524e7),this['_cachedData'][_0x1d505c(0x459)](_0x3524e7))[_0x1d505c(0x16e)](()=>this[_0x1d505c(0x19a)][_0x1d505c(0x1cf)](_0x3524e7));return this[_0x1d505c(0x309)](_0x3524e7,_0x472287),_0x472287;}[_0x1ef132(0x309)](_0x12ac2a,_0x27dd73){const _0x50adcd=_0x1ef132;let _0x3f38dc=this[_0x50adcd(0x263)][_0x50adcd(0x459)](_0x12ac2a);_0x3f38dc||(_0x3f38dc=new Set(),this[_0x50adcd(0x263)][_0x50adcd(0x2a3)](_0x12ac2a,_0x3f38dc)),_0x3f38dc[_0x50adcd(0x421)](_0x27dd73);let _0x1bb160=()=>{const _0x519349=_0x50adcd;_0x3f38dc[_0x519349(0x1cf)](_0x27dd73),_0x3f38dc['size']===0x0&&this[_0x519349(0x263)][_0x519349(0x1cf)](_0x12ac2a);};_0x27dd73[_0x50adcd(0x16e)](_0x1bb160,_0x1bb160);}async[_0x1ef132(0x3ab)](){const _0x3853ef=_0x1ef132;let _0xf59078=[];this[_0x3853ef(0x19a)][_0x3853ef(0x275)]((_0x32738b,_0x3d2a3b)=>{const _0x5451b0=_0x3853ef;window[_0x5451b0(0x2fd)](_0x32738b),_0xf59078['push'](this[_0x5451b0(0x333)](_0x3d2a3b)[_0x5451b0(0x16e)](()=>{const _0x30dbd1=_0x5451b0;this[_0x30dbd1(0x19a)][_0x30dbd1(0x1cf)](_0x3d2a3b);}));}),await Promise['all'](_0xf59078);}};_0x6a0e8d=_0x233913([_0x3956b3(0x0,_0xe297f1[_0x1ef132(0x34b)]),_0x3956b3(0x1,_0xe297f1[_0x1ef132(0x388)]),_0x3956b3(0x2,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0x2bfd29[_0x1ef132(0x45d)]))],_0x6a0e8d);var _0x127035=class extends _0xe297f1['RxDisposable']{constructor(){const _0x3609b3=_0x1ef132;super(),_0x16f5f(this,_0x3609b3(0x3d8),void 0x0),this[_0x3609b3(0x3d8)]=(0x0,_0x418606[_0x3609b3(0x419)])(window,_0x3609b3(0x2b5))[_0x3609b3(0x3cd)]((0x0,_0x418606[_0x3609b3(0x20a)])(this[_0x3609b3(0x1d8)]),(0x0,_0x418606[_0x3609b3(0x1dd)])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x418606[_0x3609b3(0x1fd)])(void 0x0));}[_0x1ef132(0x259)](_0x372651,_0x524f7f,_0x3daebb=!0x1){const _0x35567c=_0x1ef132;let _0x3279e1=new URL(window[_0x35567c(0x197)][_0x35567c(0x1b4)]);_0x3279e1[_0x35567c(0x188)]['set'](_0x372651,_0x524f7f),_0x3daebb?window[_0x35567c(0x23b)][_0x35567c(0x3c7)]('','',_0x3279e1['toString']()):window['history']['pushState']('','',_0x3279e1[_0x35567c(0x489)]());}['removeParam'](_0x5dc5b9,_0x1df021=!0x1){const _0x5541e3=_0x1ef132;let _0xf5f477=new URL(window['location'][_0x5541e3(0x1b4)]);_0xf5f477['searchParams'][_0x5541e3(0x1cf)](_0x5dc5b9),_0x1df021?window[_0x5541e3(0x23b)][_0x5541e3(0x3c7)]('','',_0xf5f477[_0x5541e3(0x489)]()):window[_0x5541e3(0x23b)]['pushState']('','',_0xf5f477['toString']());}[_0x1ef132(0x3b8)](_0x48fb2f){const _0x213250=_0x1ef132;return new URL(window[_0x213250(0x197)][_0x213250(0x1b4)])[_0x213250(0x188)][_0x213250(0x459)](_0x48fb2f)??void 0x0;}};let _0x498300=class extends _0xe297f1[_0x1ef132(0x166)]{constructor(_0x2a6e0e=_0x4a2283,_0x27553e,_0x462b78,_0x3501a6,_0x4c9e88){const _0x1cb3e1=_0x1ef132;super(),this[_0x1cb3e1(0x1ca)]=_0x2a6e0e,this['_renderManagerService']=_0x27553e,this['_injector']=_0x462b78,this[_0x1cb3e1(0x392)]=_0x3501a6,this[_0x1cb3e1(0x251)]=_0x4c9e88;let {..._0x107dd7}=(0x0,_0xe297f1[_0x1cb3e1(0x482)])({},_0x4a2283,this[_0x1cb3e1(0x1ca)]);this[_0x1cb3e1(0x392)][_0x1cb3e1(0x411)]('collaboration-client-ui.config',_0x107dd7);}[_0x1ef132(0x36a)](){const _0x325866=_0x1ef132;this[_0x325866(0x468)](),this[_0x325866(0x182)](this[_0x325866(0x251)][_0x325866(0x258)](_0x15e50e)),this[_0x325866(0x381)]();}[_0x1ef132(0x441)](){this['_registerRenderDependencies']();}[_0x1ef132(0x468)](){const _0xfab410=_0x1ef132;var _0x4a9347;let _0x45682b=[[_0x33787d],[_0x1fca1e,{'useClass':_0x127035}],[_0x259981['ISocketService'],{'useClass':_0x259981['WebSocketService']}],[_0x168f92[_0xfab410(0x395)],{'useClass':_0x6a0e8d}],[_0x10e141],[_0xa72c],[_0x4cdea1],[_0x3159f3],[_0x1d8ef9],[_0x2f4a09]];this[_0xfab410(0x1ca)][_0xfab410(0x33a)]!==!0x1&&_0x45682b[_0xfab410(0x403)]([_0x27d9f2],[_0x4e3649],[_0x301c10],[_0x132c0b],[_0x2c8a33],[_0x7f9c4b]),this[_0xfab410(0x1ca)][_0xfab410(0x451)]&&_0x45682b['push']([_0x1c4126]),(0x0,_0xe297f1[_0xfab410(0x29e)])(this[_0xfab410(0x2fe)],(0x0,_0xe297f1[_0xfab410(0x2aa)])(_0x45682b,(_0x4a9347=this[_0xfab410(0x1ca)])==null?void 0x0:_0x4a9347['override']));}[_0x1ef132(0x43c)](){const _0x307359=_0x1ef132;this[_0x307359(0x1ca)][_0x307359(0x33a)]!==!0x1&&this['disposeWithMe'](this[_0x307359(0x355)][_0x307359(0x308)](_0xe297f1[_0x307359(0x34e)][_0x307359(0x230)],[_0x4d6132])),this[_0x307359(0x182)](this['_renderManagerService'][_0x307359(0x308)](_0xe297f1[_0x307359(0x34e)][_0x307359(0x1fa)],[_0x157cb2]));}['_initDependencies'](){const _0x1c57d2=_0x1ef132;(0x0,_0xe297f1[_0x1c57d2(0x47e)])(this['_injector'],[[_0x4cdea1],[_0x3159f3],[_0x10e141],[_0xa72c],[_0x1d8ef9],[_0x2f4a09]]),this[_0x1c57d2(0x1ca)][_0x1c57d2(0x33a)]!==!0x1&&(0x0,_0xe297f1[_0x1c57d2(0x47e)])(this[_0x1c57d2(0x2fe)],[[_0x2c8a33],[_0x7f9c4b]]),this[_0x1c57d2(0x1ca)][_0x1c57d2(0x451)]&&(0x0,_0xe297f1['touchDependencies'])(this[_0x1c57d2(0x2fe)],[[_0x1c4126]]);}};_0x16f5f(_0x498300,'pluginName',_0x1ef132(0x306)),_0x16f5f(_0x498300,_0x1ef132(0x163),_0xb0dfab),_0x16f5f(_0x498300,'version',_0x4b1d13),_0x498300=_0x233913([(0x0,_0xe297f1[_0x1ef132(0x2c4)])(_0x329393[_0x1ef132(0x2fc)],_0x4c375f['UniverDocsPlugin'],_0x2b1f96[_0x1ef132(0x26e)],_0x259981['UniverNetworkPlugin'],_0x2bfd29[_0x1ef132(0x323)],_0x3a6120[_0x1ef132(0x3a6)],_0x168f92[_0x1ef132(0x405)]),_0x3956b3(0x1,_0x2b1f96[_0x1ef132(0x2ec)]),_0x3956b3(0x2,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0xe297f1[_0x1ef132(0x20e)])),_0x3956b3(0x3,_0xe297f1['IConfigService']),_0x3956b3(0x4,_0xe297f1[_0x1ef132(0x3c9)])],_0x498300);let _0x29e4a2=class extends _0x168f92[_0x1ef132(0x2eb)]{constructor(_0x51dcf9,_0x354d2b,_0x11efdb,_0x2992b8,_0x1acd6c){super(_0x51dcf9,_0x354d2b,_0x11efdb,_0x2992b8,_0x1acd6c);}async['createSocket'](_0x1aa7e2){const _0x565978=_0x1ef132;let _0x4bff6a=await this['_getSessionTicket'](),_0x1f1de8=this[_0x565978(0x37f)](_0x1aa7e2,_0x4bff6a);return this[_0x565978(0x287)](_0x1f1de8);}[_0x1ef132(0x37f)](_0x2c5735,_0x493a32){const _0x589da4=_0x1ef132;let _0xcf13a3=typeof window>'u'?new URL(_0x2c5735):new URL(_0x2c5735,window[_0x589da4(0x197)][_0x589da4(0x353)]);_0xcf13a3[_0x589da4(0x188)][_0x589da4(0x2a3)]('sessionTicket',_0x493a32);let _0x56f4ed=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x589da4(0x197)][_0x589da4(0x406)]);return _0x56f4ed[_0x589da4(0x459)](_0x589da4(0x343))&&_0xcf13a3[_0x589da4(0x188)][_0x589da4(0x2a3)](_0x589da4(0x343),_0x56f4ed[_0x589da4(0x459)](_0x589da4(0x343))),_0xcf13a3['toString']();}async['_getSessionTicket'](){const _0x1daa5c=_0x1ef132;var _0x4afae6;let _0x4db34d=this[_0x1daa5c(0x392)][_0x1daa5c(0x332)](_0x168f92[_0x1daa5c(0x1b1)]),_0x222b7c=(_0x4db34d==null?void 0x0:_0x4db34d[_0x1daa5c(0x3fd)])??_0x168f92[_0x1daa5c(0x385)];return((_0x4afae6=(await this['_httpService']['get'](_0x222b7c,{'headers':{'Content-Type':_0x1daa5c(0x47f)}}))[_0x1daa5c(0x271)])==null?void 0x0:_0x4afae6[_0x1daa5c(0x1ab)])??'';}};_0x29e4a2=_0x233913([_0x3956b3(0x0,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0xe297f1[_0x1ef132(0x20e)])),_0x3956b3(0x1,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0x259981[_0x1ef132(0x1f2)])),_0x3956b3(0x2,_0xe297f1[_0x1ef132(0x34b)]),_0x3956b3(0x3,_0xe297f1[_0x1ef132(0x3bf)]),_0x3956b3(0x4,_0x2bfd29['ISnapshotServerService'])],_0x29e4a2);let _0x36cf8b=class extends _0xe297f1[_0x1ef132(0x1da)]{constructor(_0x2a82d2,_0x3e6546,_0x1d8eeb){const _0xc56673=_0x1ef132;super(),this[_0xc56673(0x1e1)]=_0x2a82d2,this['_httpService']=_0x3e6546,this[_0xc56673(0x392)]=_0x1d8eeb;}async[_0x1ef132(0x22e)](_0x2f14f8,_0x422535,_0x5f5812,..._0x506758){const _0x1d1f7a=_0x1ef132;let _0x2386b0=this[_0x1d1f7a(0x1e1)][_0x1d1f7a(0x3a4)]();if(!_0x2386b0)throw Error(_0x1d1f7a(0x15f));let _0x269690=(this[_0x1d1f7a(0x392)][_0x1d1f7a(0x332)](_0x168f92[_0x1d1f7a(0x1aa)])??_0x168f92[_0x1d1f7a(0x450)])+'/'+_0x2f14f8+'/run/'+_0x422535,_0x4ad0c4={'scriptId':_0x2f14f8,'runId':new URL(window[_0x1d1f7a(0x197)][_0x1d1f7a(0x1b4)])[_0x1d1f7a(0x188)][_0x1d1f7a(0x459)](_0x1d1f7a(0x343))??'','function':_0x422535,'unitId':_0x2386b0['getUnitId'](),'argsOfFunction':JSON[_0x1d1f7a(0x277)](_0x506758),'invokeId':_0x5f5812[_0x1d1f7a(0x3c6)]??'','executionId':_0x5f5812['executionId']??''};try{let _0x13a5b4=await this[_0x1d1f7a(0x2ef)]['post'](_0x269690,{'body':_0x4ad0c4});return _0x13a5b4[_0x1d1f7a(0x271)][_0x1d1f7a(0x17e)]&&_0x13a5b4['body']['error'][_0x1d1f7a(0x3e5)]!==_0x22afb6[_0x1d1f7a(0x404)]['OK']?_0x1d1f7a(0x299):_0x13a5b4[_0x1d1f7a(0x271)]['result'];}catch{return _0x1d1f7a(0x299);}}};_0x36cf8b=_0x233913([_0x3956b3(0x0,_0xe297f1[_0x1ef132(0x167)]),_0x3956b3(0x1,(0x0,_0xe297f1[_0x1ef132(0x2f1)])(_0x259981[_0x1ef132(0x1f2)])),_0x3956b3(0x2,_0xe297f1['IConfigService'])],_0x36cf8b);let _0x102149=0x7530,_0x2b8222=_0x1ef132(0x3ef);var _0x3542b1=class extends _0xe297f1['Disposable']{constructor(){const _0x2ed76d=_0x1ef132;super(),_0x16f5f(this,_0x2ed76d(0x21a),(0x0,_0xe297f1[_0x2ed76d(0x3a8)])()),_0x16f5f(this,_0x2ed76d(0x346),new Set()),_0x16f5f(this,_0x2ed76d(0x344),new Map()),_0x16f5f(this,_0x2ed76d(0x16d),null),_0x16f5f(this,_0x2ed76d(0x1f3),new Map()),_0x16f5f(this,_0x2ed76d(0x433),new Map()),this[_0x2ed76d(0x34f)]();}[_0x1ef132(0x3b7)](){const _0x5d7eff=_0x1ef132;super[_0x5d7eff(0x3b7)](),this[_0x5d7eff(0x1f3)][_0x5d7eff(0x275)]((_0x480b5d,_0x311d3e)=>this[_0x5d7eff(0x30f)](_0x311d3e)),this['_heartbeatTimer']&&window[_0x5d7eff(0x19e)](this[_0x5d7eff(0x16d)]);}[_0x1ef132(0x3f5)](_0x33e935){const _0x4a6281=_0x1ef132;return this['_ensureSubject'](_0x33e935)[_0x4a6281(0x3cd)]((0x0,_0x418606[_0x4a6281(0x31d)])());}[_0x1ef132(0x236)](_0x243578){const _0x3ca49b=_0x1ef132;this['_selfUnitIDs']['size']===0x0&&this[_0x3ca49b(0x21c)](),this[_0x3ca49b(0x346)][_0x3ca49b(0x421)](_0x243578),this[_0x3ca49b(0x149)]({'type':0x0,'memberID':this[_0x3ca49b(0x21a)],'unitIDs':[_0x243578],'isForwarded':!0x1});}[_0x1ef132(0x274)](_0x1146f3){const _0x2adf22=_0x1ef132;this[_0x2adf22(0x346)][_0x2adf22(0x1cf)](_0x1146f3),this[_0x2adf22(0x346)][_0x2adf22(0x2d5)]===0x0&&this[_0x2adf22(0x16d)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x1ef132(0x34f)](){const _0x365a14=_0x1ef132;this['disposeWithMe']((0x0,_0xe297f1['toDisposable'])((0x0,_0x418606['fromEvent'])(window,_0x365a14(0x241))[_0x365a14(0x41d)](_0x35144e=>{const _0x3771c9=_0x365a14;if(_0x35144e['key']!==_0x2b8222||!_0x35144e[_0x3771c9(0x38c)])return;let _0x10578e=JSON[_0x3771c9(0x217)](_0x35144e[_0x3771c9(0x38c)]);this[_0x3771c9(0x2d3)](_0x10578e);}))),window['addEventListener'](_0x365a14(0x15d),()=>this[_0x365a14(0x149)]({'type':0x1,'memberID':this[_0x365a14(0x21a)],'unitIDs':Array[_0x365a14(0x2f2)](this[_0x365a14(0x346)])}));}['_handleEvent'](_0x19e874){const _0xd5ed74=_0x1ef132;switch(_0x19e874[_0xd5ed74(0x2b8)]){case 0x0:this['_handleJoinEvent'](_0x19e874);break;case 0x1:this[_0xd5ed74(0x1a1)](_0x19e874);break;case 0x2:this['_handleHeartbeatEvent'](_0x19e874);}}[_0x1ef132(0x3b4)](_0x23490b){const _0x243337=_0x1ef132;let {unitIDs:_0x2c084c,memberID:_0x36fdfa,isForwarded:_0x96d0fa}=_0x23490b;_0x2c084c[_0x243337(0x275)](_0xfb4e24=>{const _0x46331c=_0x243337;if(!_0x96d0fa&&this[_0x46331c(0x344)][_0x46331c(0x3ca)](_0xfb4e24)&&this[_0x46331c(0x372)](_0xfb4e24)[_0x46331c(0x178)](_0x168f92[_0x46331c(0x3d5)][_0x46331c(0x1dc)]),!this[_0x46331c(0x344)][_0x46331c(0x3ca)](_0xfb4e24)||!this[_0x46331c(0x344)]['get'](_0xfb4e24)[_0x46331c(0x3ca)](_0x36fdfa)){let _0x4ccb85=this[_0x46331c(0x344)][_0x46331c(0x459)](_0xfb4e24)||new Set();_0x4ccb85[_0x46331c(0x421)](_0x36fdfa),this['_unitOnClients'][_0x46331c(0x2a3)](_0xfb4e24,_0x4ccb85),this[_0x46331c(0x1c3)](_0x36fdfa);}}),_0x96d0fa||this[_0x243337(0x149)]({'type':0x0,'memberID':this[_0x243337(0x21a)],'unitIDs':[...this[_0x243337(0x346)]],'isForwarded':!0x0});}[_0x1ef132(0x1c3)](_0x4c7513){const _0x2e810b=_0x1ef132;this['_removeClearOtherTimer'](_0x4c7513);let _0x16b8d8=window[_0x2e810b(0x25f)](()=>{const _0x7cb7e=_0x2e810b;this['_unitOnClients'][_0x7cb7e(0x275)](_0x1e1ac6=>{const _0x3a9736=_0x7cb7e;_0x1e1ac6[_0x3a9736(0x1cf)](_0x4c7513);});},_0x102149*0x2);this[_0x2e810b(0x1f3)][_0x2e810b(0x2a3)](_0x4c7513,_0x16b8d8);}['_removeClearOtherTimer'](_0x2eb210){const _0x4d34e9=_0x1ef132;if(this['_clearOtherTimers'][_0x4d34e9(0x3ca)](_0x2eb210)){let _0x2e51c3=this['_clearOtherTimers'][_0x4d34e9(0x459)](_0x2eb210);_0x2e51c3&&window[_0x4d34e9(0x2fd)](_0x2e51c3),this[_0x4d34e9(0x1f3)][_0x4d34e9(0x2a3)](_0x2eb210,null);}}[_0x1ef132(0x1a1)](_0xac292){const _0x29f7d2=_0x1ef132;let {memberID:_0x15d7ed,unitIDs:_0x55b951}=_0xac292;_0x55b951['forEach'](_0x2acff7=>{const _0x87389a=_0x47f4;var _0x382ee5;let _0x29c093=this['_unitOnClients'][_0x87389a(0x459)](_0x2acff7);_0x29c093&&(_0x29c093[_0x87389a(0x1cf)](_0x15d7ed),(_0x382ee5=this[_0x87389a(0x372)](_0x2acff7))==null||_0x382ee5[_0x87389a(0x178)](_0x29c093[_0x87389a(0x2d5)]===0x0?_0x168f92['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x168f92[_0x87389a(0x3d5)][_0x87389a(0x1dc)]));}),this[_0x29f7d2(0x30f)](_0x15d7ed);}[_0x1ef132(0x439)](_0x29922e){const _0x248dcf=_0x1ef132;this['_scheduleClearOtherTimer'](_0x29922e[_0x248dcf(0x171)]);}[_0x1ef132(0x149)](_0x96305){const _0x100f46=_0x1ef132;localStorage['setItem'](_0x2b8222,JSON[_0x100f46(0x277)](_0x96305));}[_0x1ef132(0x21c)](){const _0x145666=_0x1ef132;this[_0x145666(0x16d)]=window['setInterval'](()=>{const _0x5dbe46=_0x145666;this[_0x5dbe46(0x149)]({'type':0x2,'memberID':this['_id']});},_0x102149);}[_0x1ef132(0x372)](_0xa997de){const _0x43dc5b=_0x1ef132;return this[_0x43dc5b(0x433)][_0x43dc5b(0x3ca)](_0xa997de)||this[_0x43dc5b(0x433)]['set'](_0xa997de,new _0x418606[(_0x43dc5b(0x139))](_0x168f92[_0x43dc5b(0x3d5)][_0x43dc5b(0x357)])),this[_0x43dc5b(0x433)][_0x43dc5b(0x459)](_0xa997de);}};Object['defineProperty'](_0x19a2c1,_0x1ef132(0x3e2),{'enumerable':!0x0,'get':function(){return _0x29e4a2;}}),Object[_0x1ef132(0x41c)](_0x19a2c1,'DesktopCollaborationStatusDisplayController',{'enumerable':!0x0,'get':function(){return _0x10e141;}}),_0x19a2c1[_0x1ef132(0x223)]=_0x1fca1e,Object[_0x1ef132(0x41c)](_0x19a2c1,_0x1ef132(0x320),{'enumerable':!0x0,'get':function(){return _0x36cf8b;}}),_0x19a2c1['SheetCollabCursorShape']=_0x346b20,Object[_0x1ef132(0x41c)](_0x19a2c1,_0x1ef132(0x193),{'enumerable':!0x0,'get':function(){return _0x498300;}}),_0x19a2c1['WebBrowserSingleActiveUnitService']=_0x3542b1;}));