@univerjs-pro/collaboration-client-ui 1.4.0 → 1.5.0

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 (86) hide show
  1. package/README.md +7 -7
  2. package/lib/cjs/facade.js +1 -1
  3. package/lib/cjs/index.js +1 -1
  4. package/lib/cjs/locale/ar-SA.js +1 -1
  5. package/lib/cjs/locale/ca-ES.js +1 -1
  6. package/lib/cjs/locale/de-DE.js +1 -1
  7. package/lib/cjs/locale/en-US.js +1 -1
  8. package/lib/cjs/locale/es-ES.js +1 -1
  9. package/lib/cjs/locale/fa-IR.js +1 -1
  10. package/lib/cjs/locale/fr-FR.js +1 -1
  11. package/lib/cjs/locale/id-ID.js +1 -1
  12. package/lib/cjs/locale/it-IT.js +1 -1
  13. package/lib/cjs/locale/ja-JP.js +1 -1
  14. package/lib/cjs/locale/ko-KR.js +1 -1
  15. package/lib/cjs/locale/pl-PL.js +1 -1
  16. package/lib/cjs/locale/pt-BR.js +1 -1
  17. package/lib/cjs/locale/ru-RU.js +1 -1
  18. package/lib/cjs/locale/sk-SK.js +1 -1
  19. package/lib/cjs/locale/vi-VN.js +1 -1
  20. package/lib/cjs/locale/zh-CN.js +1 -1
  21. package/lib/cjs/locale/zh-HK.js +1 -1
  22. package/lib/cjs/locale/zh-TW.js +1 -1
  23. package/lib/es/facade.js +1 -1
  24. package/lib/es/index.js +1 -1
  25. package/lib/es/locale/ar-SA.js +1 -1
  26. package/lib/es/locale/ca-ES.js +1 -1
  27. package/lib/es/locale/de-DE.js +1 -1
  28. package/lib/es/locale/en-US.js +1 -1
  29. package/lib/es/locale/es-ES.js +1 -1
  30. package/lib/es/locale/fa-IR.js +1 -1
  31. package/lib/es/locale/fr-FR.js +1 -1
  32. package/lib/es/locale/id-ID.js +1 -1
  33. package/lib/es/locale/it-IT.js +1 -1
  34. package/lib/es/locale/ja-JP.js +1 -1
  35. package/lib/es/locale/ko-KR.js +1 -1
  36. package/lib/es/locale/pl-PL.js +1 -1
  37. package/lib/es/locale/pt-BR.js +1 -1
  38. package/lib/es/locale/ru-RU.js +1 -1
  39. package/lib/es/locale/sk-SK.js +1 -1
  40. package/lib/es/locale/vi-VN.js +1 -1
  41. package/lib/es/locale/zh-CN.js +1 -1
  42. package/lib/es/locale/zh-HK.js +1 -1
  43. package/lib/es/locale/zh-TW.js +1 -1
  44. package/lib/facade.js +1 -1
  45. package/lib/index.js +1 -1
  46. package/lib/locale/ar-SA.js +1 -1
  47. package/lib/locale/ca-ES.js +1 -1
  48. package/lib/locale/de-DE.js +1 -1
  49. package/lib/locale/en-US.js +1 -1
  50. package/lib/locale/es-ES.js +1 -1
  51. package/lib/locale/fa-IR.js +1 -1
  52. package/lib/locale/fr-FR.js +1 -1
  53. package/lib/locale/id-ID.js +1 -1
  54. package/lib/locale/it-IT.js +1 -1
  55. package/lib/locale/ja-JP.js +1 -1
  56. package/lib/locale/ko-KR.js +1 -1
  57. package/lib/locale/pl-PL.js +1 -1
  58. package/lib/locale/pt-BR.js +1 -1
  59. package/lib/locale/ru-RU.js +1 -1
  60. package/lib/locale/sk-SK.js +1 -1
  61. package/lib/locale/vi-VN.js +1 -1
  62. package/lib/locale/zh-CN.js +1 -1
  63. package/lib/locale/zh-HK.js +1 -1
  64. package/lib/locale/zh-TW.js +1 -1
  65. package/lib/umd/facade.js +1 -1
  66. package/lib/umd/index.js +1 -1
  67. package/lib/umd/locale/ar-SA.js +1 -1
  68. package/lib/umd/locale/ca-ES.js +1 -1
  69. package/lib/umd/locale/de-DE.js +1 -1
  70. package/lib/umd/locale/en-US.js +1 -1
  71. package/lib/umd/locale/es-ES.js +1 -1
  72. package/lib/umd/locale/fa-IR.js +1 -1
  73. package/lib/umd/locale/fr-FR.js +1 -1
  74. package/lib/umd/locale/id-ID.js +1 -1
  75. package/lib/umd/locale/it-IT.js +1 -1
  76. package/lib/umd/locale/ja-JP.js +1 -1
  77. package/lib/umd/locale/ko-KR.js +1 -1
  78. package/lib/umd/locale/pl-PL.js +1 -1
  79. package/lib/umd/locale/pt-BR.js +1 -1
  80. package/lib/umd/locale/ru-RU.js +1 -1
  81. package/lib/umd/locale/sk-SK.js +1 -1
  82. package/lib/umd/locale/vi-VN.js +1 -1
  83. package/lib/umd/locale/zh-CN.js +1 -1
  84. package/lib/umd/locale/zh-HK.js +1 -1
  85. package/lib/umd/locale/zh-TW.js +1 -1
  86. package/package.json +18 -18
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x3a70(){const _0x4d42c7=['assignAColorForMemberID','_bindAdapter','options','tooltipKey','_labelPosition','entries','result','_messageIds','subUnitId','init','getCurrentUnitOfType','snapshot-loading-','setProperty','_uploadLog','_disposed','from','content','OTHER_CLIENT_EDITING','_initialized','show','_transformUndoRedoStack','_range','remove','_cursors','UniverDocsPlugin','Warning','executeCommand','UniverProCollaborationClientUi','getCurrentSkeleton','unitId','univer-inline-flex\x20univer-items-center\x20univer-justify-center','presenceKind','distinctUntilChanged','entityInit$','IBeforeCloseService','_blockProgressWatches','_docSelectionManagerService','currentTheme$','univer-text-blue-500','push','_getSheetObject','getTypeOfUnitDisposed$','LICENSE_DOMAIN_REJECTED','collaboration-client-ui.remoteRevert.content','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','UniverRenderEnginePlugin','SetSelectionsOperation','getCurrentUser','resize','_saveTaskMap','_adapter','_configService','getActiveSheet','handleInsertRow','HTTPService','collaboration-client-ui.conflict.title','url(#off-line-icon_clip0_910_343)','reload','Loading','_handleHeartbeatEvent','collaboration-client-ui.remoteRevert.title','filename','_snapshotLoadingService','_clearRemotePresences','SnapshotLoadStage','spin','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_id','enableDefaultConflictUI','unshift','_presenceAdapterRegistry','add','UniverNetworkPlugin','useObservable','React','focusedId','collaboration-client-ui.collabClient.tooltip.reconnect','_initDependencies','debounce','toDisposable','columnIndex','next','symbol','collaboration-client-ui.conflict.content','warning','UniverProLicense','_logService','Injector','_toggleOffline','getPropertyValue','element','unhandledrejection','_registerPresenceStatusComponent','undoState','collaboration-client-ui.collabStatus.fetchMiss','EffectRefRangId','_init','parse','Inject','TEXT','IUIPartsService','moveTo','ILocalStorageService','getTypeOfUnitAdded$','addHandlerCallback','requireSession','Disposable','green.600','handleInsertRangeMoveRight','getOffsetConfig','1962921TmJjTW','prepareTransformSelections','UniverDocsUIPlugin','onPointerEnter$','save','InsertRangeMoveDownCommandId','focused$','11593096jiuMfK','with','debounceTime','_shapes','width','clsx','message','getCoordRelativeToViewport','_onConflict','loadedBlocks','status','_notificationService','getUnitStatus$','observe','unitID','on-line-icon','0\x200\x2017\x2016','highlightSecond','subscribeEvent','OTHER_CLIENTS_EDITING','cursorInfo$','viewBox','stream','transformRemoteChangeset','6324NtvHlN','_status$','parseInt','pointer','socket$','params','startsWith','_collabCursorController','_sheetSkeletonManagerService','SYNCED','1.4.0','transformMutation','_docClipboardService','_messageService','RichTextEditingMutation','code','PENDING','triggerDblclick','ThemeService','collaboration-client-ui.session.connection-failed','refreshLabel','getLocalCacheKey','IUniverInstanceService','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','NOT_COLLAB','memberID','_getLighterColor','defs','\x20at\x20','_initEvent','assign','_cachedData','forEach','_showConflictProcessingNotification','_docTransformStateCacheService','getAncestorScale','originalStrokeWidth','generateRandomId','_backgroundColor','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','hovered','MoveRangeCommandId','react/jsx-runtime','statusUIPart','selection','_config','removeEventListener','LOCAL_CACHE_INTERVAL','subscribe','_name','then','enableDocumentCollaborationUI','bottom','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','_onCursorDelete','snapshot-loading-timeout','CommandType','InsertColCommandId','currentColor','_normalizeUserId','registerBeforeClose','_assignedColors','_initStatusListener','DesktopCollaborationStatusDisplayController','_roomMembers$','_lastPointer','LOADING_BLOCKS','Failed','_isDisposed','UniverProCollaboration','clearInterval','height','getCoordByCell','fromEvent','JOIN_ROOM_FAILED','dark:focus:!univer-ring-offset-gray-800','hide','red.300','getOwnPropertyDescriptor','_syncEditingCollabCursorService','/universer-api/frontend/logs','0.2)','_docSyncEditingCollabCursorService','small','amd','collaboration-client-ui.collabStatus.syncing','onStarting','span','endColumn','_clearOtherTimers','_presenceStatusRegistrations','useId','engine','useLayoutEffect','iterator','WarningIcon','MemberService','pulse','_updateLocalCursor','values','resume','getRenderUnitById','_onCursorUpdate','range','tableSource','0\x200\x2016\x2016','i18nKey','syncEditingCollabCursor','_adapterRegistry','runId','strokeWidth','colorChannel1','startColumn','get','_cursor','registerComponent','decorate','_unitOnClients','UniverSheetsUi','parseFloat','source','transformMutationsWithChangeset','imageSourceType','getUnit','none','top','complete','_scheduleHeartbeat','SheetSkeletonManagerService','_eventUnsubscribe',',\x200.2)','getDocumentSkeletonColumnPagePathInfo','rxjs','canRenderAnchor','getSheetObject','timeoutId','search','replaceSelectionInfoWithoutRefresh','_getAnchorBounding','USERS_LEAVE','_handleJoinEvent','@univerjs/design','displayName','SHEET_VIEWPORT_KEY','_toggleOnline','selectedIds','SnapshotLoadingService','CollaborationController','_setupBeforeClosingHandler','SOCKET_FAILED_RETRY','UNIVER_SHEET','collaboration-client-ui.permission.content','indicator','version','online','_startDocCollabCursor','makeDirty','white','UniverNetwork','_docTransformIMECacheService','collabCursorState$','segmentPage','mutations','getConfig','_httpService','getLocalPresence','isInternalEditorID','Tooltip','@univerjs/ui','FETCH_MISS','name','_initCommandExecutedListener','allSettled','offline','DocStateChangeManagerService','ICommandService','body','adapters$','sessionStatus$','updateOfflineData','_monkeyPatchLogService','disableLocalCache','getColorFromTheme','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_cursorShapes','UniverDesign','_listenToOfflineEvent','RECT','@univerjs-pro/license','CONFLICT_CACHE_CLEAR_FAILED','priority','right','onMouseMove','defineProperty','_scene','clickable','now','current','includes','collaboration-client-ui.license.editing-connections-exceeded','endOffset','HEADER_MENU','_clearTimeoutState','_blinkTimer','registerRenderModule','_trackActiveSaveTask','_commandService','_initUnhandledRejectionListener','onPointerLeave$','getScrollXYInfoByViewport','ISnapshotServerService','1701138ysQUmI','deepClone','jsxs','labelHorizontalPosition','editingUnit','appliedStrokeWidth','memberId','IConfigService','_color','68656jiFoqH','_drawAnchor','_collaborationController','pageType','_transformPreviousActiveRange','_initConflictHandling','getCollabEntities','getCollabCursors$','round','_initAwaitingNotices','isFinite','CollaborationStatus','_uiPartsService','find','clipPath','/run/','UniverEngineRender','_hideTimer','arc','addEventListener','SetTextSelectionsOperation','asObservable','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','polite','_draw','Rectangle','unsubscribe','_startBlinking','toStringTag','_ensureSubject','offsetY','mask','black','ILocalCacheService','RemoteUniscriptService','defIds','beginPath','fillText','value','string','elapsedMs','univer-text-green-500','#0B9EFB','LOCAL_CACHE_INTERVAL_KEY','roomMembers$','redoState','_instanceService','InsertRowCommandId','_handleHover','@univerjs/engine-render','_registerRenderDependencies','setShapeProps','Response','LoadingMultiIcon','_hovered','collaboration-client-ui.config','_send','unit','fillRule','UniverSheets','handleDeleteRangeMoveLeft','switchMap','isArray','COMPLETE','univer-border-none\x20univer-bg-transparent','CollaborationSessionService','on-line-icon_clip0_910_349','_doCreateSocket','stringify','non-scaling-stroke','_removeAwaitingNotices','searchParams','object','_getSaveTimeout','_beforeCloseService','removeItem','ACTIVE_UNIT_EVENT_CHANNEL','tag','loading-multi-icon','_render','size','3875186yWZBKY','getMergeData','_drawTextRange','handleInsertCol','clear','AWAITING_WITH_PENDING','enableFrontendLog','DocumentSkeletonPageType','ILogService','_univerInstanceService','_docSkeletonManagerService','tableId','static','onRendered','[RemoteUniscriptService]:\x20no\x20focused\x20unit','[Unhandled\x20Rejection]:\x20','restore','deserializeRangeWithSheet','eventID','runRefRangeMutations','getCellIndexByOffset','_scheduleClearOtherTimer','combineLatest','wsSessionTicketUrl','text','UNIVER_DOC','_adapterDisposables','_startSheetCollabCursor','getCurrentRevOfUnit','kind','_initUserListener','operators','transformByState','rgba(255,\x20255,\x20255,\x200.01)','clearRemotePresences','_localStorageService','toISOString','_disabled','setRemotePresence','collaboration-client-ui.license.title','RemoveColCommandId','FOOTER','_localeService','columnGroupId','BrowserCollaborationSocketService','UniverInstanceType','getPropertyPriority','collaboration-client-ui.collabStatus.synced','addObject','send','getItem','_anchorDot','idSuffix','serializeRangeWithSheet','_getScale','number','invokeId','_editingConnectionsExceededNotices','colno','saveOfflineData','DeleteRangeMoveUpCommandId','join','setItem','colorClass','DocSelectionManagerService','handleIRemoveCol','toPrimitive','ERROR','collab-text-anchor-','Tools','setInterval','true','evenodd','_textBubble','Error','BuiltInUIPart','_memberID','storage','merge','update','use','visible','translate(.97)','roomMembers','Plugin','data','registerCommand','_showAwaitingNotice','reconnect','!univer-m-0\x20univer-col-start-2\x20univer-row-start-2\x20univer-justify-self-end','_refRangeService','yellow.400','_heartbeatTimer','highlight','error','rgba','children','univer-m-0\x20univer-p-0','_sendLocalPresence','_pointerMoveDisposable','_registerDependencies','ISocketService','1em','warning-icon','DocCollaborationEntity','120TIWHJh','createElement','bold\x2013px\x20Arial,\x20sans-serif','max','replace','_userManagerService','_syncPresenceStatusComponents','SetDocZoomRatioOperation','doc.mutation.rich-text-editing','selections','getRangePointData','INetworkConditionService','@univerjs-pro/collaboration','_context','_initStatusComponent','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','_collabCursorState$','_scheduleSaving','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','application/json','_retryingConflictCacheUnitIDs','_pendingEntities','preventDefault','stroke-width','measureText','UniverCollaborationPlugin','DocIMEInputManagerService','WebBrowserSingleActiveUnitService','collaboration-client-ui.conflict.clearFailed','onPointerMove$','_online','FromArray','isTransformMutationFailure','row','ranges','_collabSessionService','@univerjs-pro/collaboration-client','strokeOpacity','IMessageService','localName','ticket','onCommandExecuted','@univerjs/sheets','timer','ColorKit','disposeWithMe','1320VkqgIs','slice','_entities','collaboration-client-ui.session.collaboration-timeout','stack','jsx','dispose$','_onRefRangeChange','lineno','split','_transformHistoryAndStateStack','forwardRef','CollaborationEvent','setActiveRange','url(#$1','_colorIndex','_dispose$','exhaustSavingTask','toRgbString','UniverIcon','OnLineIcon','INotificationService','@univerjs/sheets-ui','_handleLeaveEvent','stroke','Vector2','_activeSaveTaskMap','NO_OTHER_CLIENTS_EDITING','onLine','map','style','AWAITING','connectInjector','_initResize','_offsetY','_drawRectRange','setTimeout','HEADER','alert','onTransformChange$','rgb','collab-text-range-','_removeClearOtherTimer','handleDeleteRangeMoveUp','backgroundColor','CollaborationUIEventId','SheetCollabCursorShape','currentSkeleton$','_cursorInfo$','m2Prime','_selfUnitIDs','UniverLicensePlugin','getAllUnitsForType','contains','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','firstValueFrom','29AzpzTr','_collaborationUIEventService','_online$','getFocusedUnit','_injector','collaboration-client-ui.conflict.processing','fill','COLORS','_unitStatus','catch','totalBlocks','cacheCleared','[LogService\x20Error]:\x20','pageIndex','cursorInfo','_session','_imageIoService','left','disconnect','newValue','_highlight','_initWindowErrorListener','_docTransformSelectionsService','_stopBlinking','focus','isReleased','univerjs-icon\x20univerjs-icon-','DocSkeletonManagerService','_watchBlockProgress','UPDATE_CURSOR','http://www.w3.org/2000/svg','disposeUnit','loadOfflineData','@univerjs-pro/collaboration-client-ui','_hover','resolve','m1Prime','handleInsertRangeMoveDown','getCurrentTypeOfUnit$','_getUserId','timeout','collaboration-client-ui.collaboration.closeRoom','transformIMECache','_renderManagerService','function','_refreshCollabCursors','IImageIoService','_anchor','Shape','removeProperty','filter','_initPresenceStatusComponents','_handleEvent','transform','toString','univer-text-red-500','isEditing','collaboration-client-ui.license.unit-type-rejected','OFFLINE','off-line-icon_clip0_910_343','userId','hadStyleAttribute','collaboration-client-ui.snapshotLoading.refresh','UniverProCollaborationClient','collaboration-client-ui.operation.update-remote-unit-presence','DOC_RANGE_TYPE','touchDependencies','transformStateCache','handleIRemoveRow','_updateCollabCursors','getActiveRange','has','userID','...','href','WebSocketService','DeleteRangeMoveLeftCommandId','IUnitPresenceUIAdapterRegistry','UniverDocs','clearTimeout','key','baseVal','_getSessionTicket','@univerjs/docs-ui','div','CollaborationSocketService','getSelectionInfo','location','LocaleService','getViewport','getMemberID','_removeRemotePresence','_saveCache','getSheetId','@univerjs/network','_startEntity','drawWith','off-line-icon','RemoveRowCommandId','TEXT_RANGE_LAYER_INDEX','collaboration-client-ui.snapshotLoading.timeout','setAlpha','@univerjs/docs','Rect','textRanges','getSkeleton','getValue','_showText','collaboration-client-ui.collaboration.single-unit.warning','font','IRenderManagerService','getBoundingClientRect','_conflictNotification','clearOfflineData','_replaceConflictNotification','handleMoveRange','UniverDocsUi','\x20-\x20','UniverUi','_colorAssignService','UniverCollaborationClientPlugin','takeUntil','primary','dispose','pipe','rxjs/operators','status$','_removeCollabCursors','type','trim','event$','reason','toFixed','_listenToOnlineEvent','GLOBAL','prototype','icon','UnitStatus','RevisionService','getCurrentSelections','getStateCache','_getMergeRange','_localCacheService','InsertRangeMoveRightCommandId','SessionStatus','useDependency','activate','post','createInstance','_reloadPage','DisposableCollection','_labelHorizontalPosition','_showConflictCacheClearFailedNotification','NodePositionConvertToRectRange','some','set','_handleCursorUpdate','MessageType','column','RegularPolygon','RxDisposable','_timeoutState$','collaboration-client-ui.collabStatus.conflict','enableOfflineEditing','timeoutState$','_memberService','fillStyle','exports','length','_docStateChangeManagerService','_entityInit$','_isBlinkVisible','changesetResend$','Subject','unitType','addObjects','timedOut','IDocClipboardService','getMember','_transformService','registerDependencies','getUnitId','lineTo','ONLINE','BehaviorSubject','stage','_syncAdapters','collaboration-client-ui.conflict.retry','_disposeEntity','@univerjs/engine-formula',':backup:','min','245619GALtcW','CONFLICT_PROCESSING','delete','path','blue.400','getCollabEntity$','_highlightSecond','_collaborationSessionService','_clearBlockProgressWatch','fromEventSubject','getUndoRedoMutationParamsCache','throttle','closePath','_disposeEntitiesForType','registerRefRange','svg','collaboration-client-ui.collaboration.offline-data-not-saved','setOffsetY','isActive','target','jiqing.500','_blinkIntervalTimer','_themeService','backupOfflineData','attrs','getColor','setStateCache','color','SheetsSelectionsService','_createSocketURL','_saveTimedOutNotices','visibilitychange'];_0x3a70=function(){return _0x4d42c7;};return _0x3a70();}function _0x424e(_0x41a518,_0x22bf1c){_0x41a518=_0x41a518-0xa2;const _0x3a70ac=_0x3a70();let _0x424e1a=_0x3a70ac[_0x41a518];return _0x424e1a;}(function(_0x4ab09e,_0x3ed128){const _0x5e5c20=_0x424e,_0x5ee256=_0x4ab09e();while(!![]){try{const _0x48de97=parseInt(_0x5e5c20(0x2bc))/0x1*(-parseInt(_0x5e5c20(0x19c))/0x2)+parseInt(_0x5e5c20(0x40a))/0x3+parseInt(_0x5e5c20(0xbf))/0x4*(-parseInt(_0x5e5c20(0x256))/0x5)+-parseInt(_0x5e5c20(0x193))/0x6+-parseInt(_0x5e5c20(0x1ed))/0x7+-parseInt(_0x5e5c20(0xa7))/0x8+-parseInt(_0x5e5c20(0x37c))/0x9*(-parseInt(_0x5e5c20(0x284))/0xa);if(_0x48de97===_0x3ed128)break;else _0x5ee256['push'](_0x5ee256['shift']());}catch(_0xc02a16){_0x5ee256['push'](_0x5ee256['shift']());}}}(_0x3a70,0xe4c2d),function(_0x12ed71,_0x8dc01f){const _0x4bc3f3=_0x424e;typeof exports=='object'&&typeof module<'u'?_0x8dc01f(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==_0x4bc3f3(0x2e8)&&define[_0x4bc3f3(0x114)]?define([_0x4bc3f3(0x363),_0x4bc3f3(0x27a),'@univerjs/core',_0x4bc3f3(0x168),_0x4bc3f3(0x144),_0x4bc3f3(0x339),_0x4bc3f3(0x14d),'react',_0x4bc3f3(0xea),_0x4bc3f3(0x262),_0x4bc3f3(0x17c),_0x4bc3f3(0x322),_0x4bc3f3(0x30f),_0x4bc3f3(0x1cd),_0x4bc3f3(0x31a),_0x4bc3f3(0x379),_0x4bc3f3(0x280),_0x4bc3f3(0x29a),'@univerjs/protocol'],_0x8dc01f):(_0x12ed71=typeof globalThis<'u'?globalThis:_0x12ed71||self,_0x8dc01f(_0x12ed71[_0x4bc3f3(0x3b7)]={},_0x12ed71[_0x4bc3f3(0x2fb)],_0x12ed71['UniverCore'],_0x12ed71[_0x4bc3f3(0x332)],_0x12ed71[_0x4bc3f3(0x144)],_0x12ed71[_0x4bc3f3(0x144)][_0x4bc3f3(0x20c)],_0x12ed71[_0x4bc3f3(0x179)],_0x12ed71[_0x4bc3f3(0x3e6)],_0x12ed71[_0x4bc3f3(0x3e6)],_0x12ed71[_0x4bc3f3(0x105)],_0x12ed71[_0x4bc3f3(0x3f1)],_0x12ed71[_0x4bc3f3(0x30a)],_0x12ed71[_0x4bc3f3(0x330)],_0x12ed71[_0x4bc3f3(0x1ac)],_0x12ed71[_0x4bc3f3(0x15e)],_0x12ed71['UniverEngineFormula'],_0x12ed71[_0x4bc3f3(0x1d7)],_0x12ed71[_0x4bc3f3(0x136)],_0x12ed71['UniverProtocol']));}(this,function(_0x37f8f9,_0x256aaf,_0x4943b0,_0x498f79,_0x6726f3,_0x2ce8db,_0x222a52,_0x219576,_0x362e33,_0x2be976,_0x18fddf,_0x5b2323,_0x431c6f,_0x55d5e4,_0x18dc58,_0x46967a,_0x23e2ae,_0x12ee9e,_0x3d4589){const _0x5b54aa=_0x424e;Object[_0x5b54aa(0x181)](_0x37f8f9,Symbol[_0x5b54aa(0x1b8)],{'value':'Module'});function _0x1927e4({ref:_0x254983,..._0x1a84cc}){const _0x33234e=_0x5b54aa;let {preserveStrokeWidth:_0x27de4a,icon:_0xcc1334,id:_0x19bf23,className:_0x15e924,extend:_0x56869d,..._0x69d707}=_0x1a84cc,_0xb5a43=(_0x33234e(0x2d6)+_0x19bf23+'\x20'+(_0x15e924||''))[_0x33234e(0x33d)](),_0x1add6b='_'+(0x0,_0x219576[_0x33234e(0x11b)])(),_0x47859f=(0x0,_0x219576['useRef'])(null);return(0x0,_0x219576['useImperativeHandle'])(_0x254983,()=>_0x47859f[_0x33234e(0x185)]),(0x0,_0x219576[_0x33234e(0x11d)])(()=>{const _0x547f52=_0x33234e;if(_0x27de4a&&_0x47859f['current']&&_0x47859f[_0x547f52(0x185)][_0x547f52(0x27d)]===_0xcc1334[_0x547f52(0x1e9)])return _0x3bc7de(_0x47859f[_0x547f52(0x185)]);},[_0x27de4a,_0xcc1334]),_0x57dfc3(_0xcc1334,''+_0x19bf23,{'defIds':_0xcc1334[_0x33234e(0x1bf)],'idSuffix':_0x1add6b},{'ref':_0x47859f,'className':_0xb5a43,..._0x69d707},_0x56869d);}function _0x57dfc3(_0xb7c13e,_0x32b870,_0x29669e,_0x7ef07,_0x19d746){const _0x37cdd3=_0x5b54aa;return(0x0,_0x219576[_0x37cdd3(0x257)])(_0xb7c13e[_0x37cdd3(0x1e9)],{'key':_0x32b870,..._0x1b9019(_0xb7c13e,_0x29669e,_0x19d746),..._0x7ef07},(_0x38eca0(_0xb7c13e,_0x29669e)[_0x37cdd3(0x24d)]||[])['map']((_0x325659,_0x3115a1)=>_0x57dfc3(_0x325659,_0x32b870+'-'+_0xb7c13e['tag']+'-'+_0x3115a1,_0x29669e,void 0x0,_0x19d746)));}function _0x1b9019(_0x216fee,_0x243e85,_0x1d4356){const _0x3f1320=_0x5b54aa;let _0x3b6f69={..._0x216fee['attrs']};_0x1d4356!=null&&_0x1d4356[_0x3f1320(0x12f)]&&_0x3b6f69[_0x3f1320(0x2c2)]==='colorChannel1'&&(_0x3b6f69['fill']=_0x1d4356[_0x3f1320(0x12f)]),_0x1d4356!=null&&_0x1d4356[_0x3f1320(0x12f)]&&_0x3b6f69['stroke']===_0x3f1320(0x12f)&&(_0x3b6f69[_0x3f1320(0x29c)]=_0x1d4356['colorChannel1']),_0x216fee[_0x3f1320(0x1e9)]===_0x3f1320(0x1bb)&&_0x3b6f69['id']&&(_0x3b6f69['id']+=_0x243e85[_0x3f1320(0x221)]),Object[_0x3f1320(0x3a1)](_0x3b6f69)[_0x3f1320(0xe0)](([_0x5582e0,_0x56d5b2])=>{const _0x4d4993=_0x3f1320;_0x5582e0===_0x4d4993(0x1bb)&&typeof _0x56d5b2=='string'&&(_0x3b6f69[_0x5582e0]=_0x56d5b2[_0x4d4993(0x25a)](/url\(#(.*)\)/,_0x4d4993(0x292)+_0x243e85[_0x4d4993(0x221)]+')'));});let {defIds:_0x4cb159}=_0x243e85;return!_0x4cb159||_0x4cb159[_0x3f1320(0x364)]===0x0||(_0x216fee['tag']===_0x3f1320(0x23d)&&_0x3b6f69['xlink:href']&&(_0x3b6f69['xlink:href']+=_0x243e85[_0x3f1320(0x221)]),Object['entries'](_0x3b6f69)[_0x3f1320(0xe0)](([_0x4873aa,_0x4bbdb3])=>{const _0x2b886d=_0x3f1320;typeof _0x4bbdb3==_0x2b886d(0x1c3)&&(_0x3b6f69[_0x4873aa]=_0x4bbdb3[_0x2b886d(0x25a)](/url\(#(.*)\)/,_0x2b886d(0x292)+_0x243e85['idSuffix']+')'));})),_0x3b6f69;}function _0x38eca0(_0x5edc50,_0x212ea3){const _0x3bf0ad=_0x5b54aa;var _0x2986ed;let {defIds:_0x2c5ac6}=_0x212ea3;return!_0x2c5ac6||_0x2c5ac6[_0x3bf0ad(0x364)]===0x0?_0x5edc50:_0x5edc50[_0x3bf0ad(0x1e9)]===_0x3bf0ad(0xdb)&&(_0x2986ed=_0x5edc50[_0x3bf0ad(0x24d)])!=null&&_0x2986ed[_0x3bf0ad(0x364)]?{..._0x5edc50,'children':_0x5edc50[_0x3bf0ad(0x24d)]['map'](_0x33786c=>typeof _0x33786c[_0x3bf0ad(0x394)]['id']==_0x3bf0ad(0x1c3)&&_0x2c5ac6&&_0x2c5ac6['includes'](_0x33786c['attrs']['id'])?{..._0x33786c,'attrs':{..._0x33786c[_0x3bf0ad(0x394)],'id':_0x33786c['attrs']['id']+_0x212ea3[_0x3bf0ad(0x221)]}}:_0x33786c)}:_0x5edc50;}function _0x3bc7de(_0x4ebd61){const _0xd90891=_0x5b54aa;let _0x1387f9=_0x4ebd61[_0xd90891(0xbc)][_0xd90891(0x30d)],_0xff2fae=Math[_0xd90891(0x259)](_0x1387f9[_0xd90891(0xab)],_0x1387f9[_0xd90891(0x107)]);if(!Number[_0xd90891(0x1a6)](_0xff2fae)||_0xff2fae<=0x0||_0x1387f9[_0xd90891(0xab)]<=0x0||_0x1387f9['height']<=0x0)return()=>void 0x0;let _0x1e6fa8=0x10/_0xff2fae,_0x38453e=Array['from'](_0x4ebd61['querySelectorAll'](_0xd90891(0xd6)))['flatMap'](_0x51a197=>{const _0x5f55e5=_0xd90891;let _0x443728=getComputedStyle(_0x51a197),_0xec8adf=Number[_0x5f55e5(0x137)](_0x443728[_0x5f55e5(0x12e)]);return _0x443728['stroke']===_0x5f55e5(0x13c)||Number[_0x5f55e5(0x137)](_0x443728[_0x5f55e5(0x27b)])===0x0||_0x443728['vectorEffect']===_0x5f55e5(0x1e1)||!Number[_0x5f55e5(0x1a6)](_0xec8adf)||_0xec8adf<=0x0?[]:[{'element':_0x51a197,'hadStyleAttribute':_0x51a197['hasAttribute'](_0x5f55e5(0x2a2)),'originalStrokeWidth':_0xec8adf,'strokeWidth':_0xbad17d(_0x51a197[_0x5f55e5(0x2a2)],_0x5f55e5(0x26d))}];})[_0xd90891(0x2a1)](_0x221d8f=>({'appliedStrokeWidth':null,'element':_0x221d8f[_0xd90891(0x3f6)],'hadStyleAttribute':_0x221d8f[_0xd90891(0x2f9)],'isReleased':!0x1,'originalStrokeWidth':_0x221d8f[_0xd90891(0xe4)],'strokeWidth':_0x221d8f['strokeWidth']}));if(_0x38453e[_0xd90891(0x364)]===0x0)return()=>void 0x0;let _0x4b432b=(_0x364135,_0x41eedd)=>{const _0x408d4b=_0xd90891;if(_0x1387f9[_0x408d4b(0xab)]<=0x0||_0x1387f9[_0x408d4b(0x107)]<=0x0||_0x364135<=0x0||_0x41eedd<=0x0)return;let _0x1a99b6=Math['min'](_0x364135/_0x1387f9[_0x408d4b(0xab)],_0x41eedd/_0x1387f9[_0x408d4b(0x107)]);!Number[_0x408d4b(0x1a6)](_0x1a99b6)||_0x1a99b6<=0x0||_0x38453e[_0x408d4b(0xe0)](_0x361784=>{const _0x2aa1f7=_0x408d4b;if(_0x361784[_0x2aa1f7(0x2d5)])return;if(_0x361784[_0x2aa1f7(0x198)]!==null&&(_0x361784[_0x2aa1f7(0x3f6)][_0x2aa1f7(0x2a2)][_0x2aa1f7(0x3f5)](_0x2aa1f7(0x26d))!==_0x361784['appliedStrokeWidth']||_0x361784[_0x2aa1f7(0x3f6)][_0x2aa1f7(0x2a2)][_0x2aa1f7(0x21b)]('stroke-width')!==_0x361784[_0x2aa1f7(0x12e)][_0x2aa1f7(0x17e)])){_0x361784[_0x2aa1f7(0x198)]=null,_0x361784[_0x2aa1f7(0x2d5)]=!0x0;return;}let _0x471f11=_0x361784[_0x2aa1f7(0xe4)]*_0x1e6fa8/_0x1a99b6,_0x2f7c36=Number(_0x471f11[_0x2aa1f7(0x340)](0xc))+'px';_0x361784[_0x2aa1f7(0x3f6)][_0x2aa1f7(0x2a2)][_0x2aa1f7(0x3a8)](_0x2aa1f7(0x26d),_0x2f7c36,_0x361784[_0x2aa1f7(0x12e)][_0x2aa1f7(0x17e)]),_0x361784[_0x2aa1f7(0x198)]=_0x2f7c36;});},_0x4ef80f=_0x4ebd61['getBoundingClientRect']();_0x4b432b(_0x4ef80f[_0xd90891(0xab)],_0x4ef80f[_0xd90891(0x107)]);let _0x221830=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x25cecc=>{const _0x2fb06f=_0xd90891;if(_0x25cecc[_0x2fb06f(0x356)](_0x3a6b53=>_0x3a6b53[_0x2fb06f(0x38f)]===_0x4ebd61)){let _0x2163e6=_0x4ebd61[_0x2fb06f(0x32b)]();_0x4b432b(_0x2163e6[_0x2fb06f(0xab)],_0x2163e6[_0x2fb06f(0x107)]);}});return _0x221830==null||_0x221830[_0xd90891(0xb4)](_0x4ebd61),()=>{const _0xf6d815=_0xd90891;_0x221830==null||_0x221830[_0xf6d815(0x2ce)](),_0x38453e['forEach'](_0x2e00e9=>{const _0x1721e7=_0xf6d815;_0x2e00e9[_0x1721e7(0x198)]!==null&&(_0x219d4e(_0x2e00e9['element']['style'],_0x1721e7(0x26d),_0x2e00e9[_0x1721e7(0x198)],_0x2e00e9[_0x1721e7(0x12e)][_0x1721e7(0x17e)],_0x2e00e9[_0x1721e7(0x12e)]),!_0x2e00e9[_0x1721e7(0x2f9)]&&_0x2e00e9[_0x1721e7(0x3f6)][_0x1721e7(0x2a2)][_0x1721e7(0x364)]===0x0&&_0x2e00e9[_0x1721e7(0x3f6)]['removeAttribute']('style'));});};}function _0xbad17d(_0x56aafa,_0x1613e1){const _0x58c0a4=_0x5b54aa;return{'priority':_0x56aafa['getPropertyPriority'](_0x1613e1),'value':_0x56aafa[_0x58c0a4(0x3f5)](_0x1613e1)};}function _0x219d4e(_0x3f2978,_0x444025,_0xf6ce75,_0x4af65e,_0x303e32){const _0x764f4=_0x5b54aa;_0x3f2978[_0x764f4(0x3f5)](_0x444025)===_0xf6ce75&&_0x3f2978['getPropertyPriority'](_0x444025)===_0x4af65e&&(_0x303e32[_0x764f4(0x1c2)]?_0x3f2978[_0x764f4(0x3a8)](_0x444025,_0x303e32[_0x764f4(0x1c2)],_0x303e32[_0x764f4(0x17e)]):_0x3f2978[_0x764f4(0x2ed)](_0x444025));}_0x1927e4[_0x5b54aa(0x14e)]=_0x5b54aa(0x297);let _0x43607a={'tag':_0x5b54aa(0x38b),'attrs':{'xmlns':_0x5b54aa(0x2da),'fill':'none','viewBox':_0x5b54aa(0x129),'width':_0x5b54aa(0x253),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x5b54aa(0x3d4)},'children':[{'tag':'path','attrs':{'stroke':_0x5b54aa(0xfa),'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':_0x5b54aa(0x1a4),'strokeLinejoin':_0x5b54aa(0x1a4),'strokeWidth':1.2}}]},{'tag':_0x5b54aa(0xdb),'attrs':{},'children':[{'tag':_0x5b54aa(0x1aa),'attrs':{'id':_0x5b54aa(0x2f7)},'children':[{'tag':'path','attrs':{'fill':_0x5b54aa(0x15d),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x5b54aa(0x2f7)]},_0x2bd046=(0x0,_0x219576[_0x5b54aa(0x28f)])(function(_0x169ab2,_0x1df2b5){const _0x8e1d01=_0x5b54aa;return(0x0,_0x219576[_0x8e1d01(0x257)])(_0x1927e4,Object['assign']({},_0x169ab2,{'id':_0x8e1d01(0x31d),'ref':_0x1df2b5,'icon':_0x43607a}));});_0x2bd046[_0x5b54aa(0x14e)]='OffLineIcon';let _0x58decc={'tag':_0x5b54aa(0x38b),'attrs':{'xmlns':_0x5b54aa(0x2da),'fill':_0x5b54aa(0x13c),'viewBox':_0x5b54aa(0xb7),'width':_0x5b54aa(0x253),'height':_0x5b54aa(0x253)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x5b54aa(0x37f),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x5b54aa(0x1a4),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5b54aa(0xdb),'attrs':{},'children':[{'tag':_0x5b54aa(0x1aa),'attrs':{'id':_0x5b54aa(0x1de)},'children':[{'tag':_0x5b54aa(0x37f),'attrs':{'fill':'white','d':'M0\x200H16V16H0z','transform':_0x5b54aa(0x23f)}}]}]}],'defIds':[_0x5b54aa(0x1de)]},_0x1234a3=(0x0,_0x219576['forwardRef'])(function(_0x3d3f6b,_0x529ca4){const _0x4b5697=_0x5b54aa;return(0x0,_0x219576['createElement'])(_0x1927e4,Object[_0x4b5697(0xde)]({},_0x3d3f6b,{'id':_0x4b5697(0xb6),'ref':_0x529ca4,'icon':_0x58decc}));});_0x1234a3[_0x5b54aa(0x14e)]=_0x5b54aa(0x298);let _0x38264b={'tag':'svg','attrs':{'xmlns':_0x5b54aa(0x2da),'fill':_0x5b54aa(0x13c),'viewBox':_0x5b54aa(0x129),'width':'1em','height':_0x5b54aa(0x253)},'children':[{'tag':_0x5b54aa(0x37f),'attrs':{'fill':'currentColor','d':_0x5b54aa(0x1b2),'fillRule':_0x5b54aa(0x235),'clipRule':_0x5b54aa(0x235)}}]},_0x56700c=(0x0,_0x219576['forwardRef'])(function(_0x294132,_0x59cbf2){const _0xbe4d11=_0x5b54aa;return(0x0,_0x219576[_0xbe4d11(0x257)])(_0x1927e4,Object[_0xbe4d11(0xde)]({},_0x294132,{'id':_0xbe4d11(0x254),'ref':_0x59cbf2,'icon':_0x38264b}));});_0x56700c[_0x5b54aa(0x14e)]=_0x5b54aa(0x11f);let _0x4e22f8={'tag':_0x5b54aa(0x38b),'attrs':{'xmlns':_0x5b54aa(0x2da),'fill':_0x5b54aa(0x13c),'viewBox':_0x5b54aa(0x129),'width':_0x5b54aa(0x253),'height':_0x5b54aa(0x253)},'children':[{'tag':_0x5b54aa(0x37f),'attrs':{'fill':'#0B9EFB','d':_0x5b54aa(0x265),'fillOpacity':0.2,'fillRule':'evenodd','clipRule':_0x5b54aa(0x235)}},{'tag':_0x5b54aa(0x37f),'attrs':{'fill':_0x5b54aa(0x1c6),'d':_0x5b54aa(0xf5),'fillRule':_0x5b54aa(0x235),'clipRule':_0x5b54aa(0x235)}}]},_0x3f3fad=(0x0,_0x219576[_0x5b54aa(0x28f)])(function(_0x24d23b,_0x3b7ce4){const _0x1c1344=_0x5b54aa;return(0x0,_0x219576[_0x1c1344(0x257)])(_0x1927e4,Object[_0x1c1344(0xde)]({},_0x24d23b,{'id':_0x1c1344(0x1ea),'ref':_0x3b7ce4,'icon':_0x4e22f8}));});_0x3f3fad[_0x5b54aa(0x14e)]=_0x5b54aa(0x1d1);function _0x33afbf(_0x303390){const _0x4bb7eb=_0x5b54aa;switch(_0x303390){case _0x256aaf[_0x4bb7eb(0x1a7)][_0x4bb7eb(0x2f6)]:return{'icon':(0x0,_0x362e33[_0x4bb7eb(0x289)])(_0x2bd046,{}),'colorClass':_0x4bb7eb(0x2f3),'i18nKey':'collaboration-client-ui.collabStatus.offline','tooltipKey':_0x4bb7eb(0x3e8),'clickable':!0x0,'indicator':_0x4bb7eb(0x1f9)};case _0x256aaf[_0x4bb7eb(0x1a7)]['CONFLICT']:return{'icon':(0x0,_0x362e33['jsx'])(_0x2bd046,{}),'colorClass':'univer-text-orange-500','i18nKey':_0x4bb7eb(0x35e),'clickable':!0x1,'indicator':_0x4bb7eb(0x1f9)};case _0x256aaf['CollaborationStatus'][_0x4bb7eb(0x169)]:return{'icon':(0x0,_0x362e33['jsx'])(_0x3f3fad,{}),'colorClass':_0x4bb7eb(0x3c2),'i18nKey':_0x4bb7eb(0x3fa),'clickable':!0x1,'indicator':_0x4bb7eb(0x3dd)};case _0x256aaf[_0x4bb7eb(0x1a7)]['NOT_COLLAB']:return{'icon':(0x0,_0x362e33['jsx'])(_0x1234a3,{}),'colorClass':'univer-text-gray-400','i18nKey':'collaboration-client-ui.collabStatus.notCollab','clickable':!0x1,'indicator':_0x4bb7eb(0x1f9)};case _0x256aaf['CollaborationStatus']['AWAITING']:case _0x256aaf[_0x4bb7eb(0x1a7)][_0x4bb7eb(0x1f2)]:return{'icon':(0x0,_0x362e33[_0x4bb7eb(0x289)])(_0x3f3fad,{}),'colorClass':'univer-text-blue-500','i18nKey':_0x4bb7eb(0x115),'clickable':!0x1,'indicator':_0x4bb7eb(0x3dd)};case _0x256aaf[_0x4bb7eb(0x1a7)][_0x4bb7eb(0xcf)]:return{'icon':(0x0,_0x362e33[_0x4bb7eb(0x289)])(_0x3f3fad,{}),'colorClass':'univer-text-blue-500','i18nKey':'collaboration-client-ui.collabStatus.syncing','clickable':!0x1,'indicator':'spin'};case _0x256aaf[_0x4bb7eb(0x1a7)][_0x4bb7eb(0xc8)]:return{'icon':(0x0,_0x362e33[_0x4bb7eb(0x289)])(_0x1234a3,{}),'colorClass':_0x4bb7eb(0x1c5),'i18nKey':_0x4bb7eb(0x21c),'clickable':!0x1,'indicator':_0x4bb7eb(0x1f9)};}}function _0x2c812b(_0x1f9e4f){const _0x2c6ddb=_0x5b54aa;let {status$:_0x2082c2}=_0x1f9e4f,_0x2160b9=(0x0,_0x498f79[_0x2c6ddb(0x3e5)])(_0x2082c2,_0x256aaf[_0x2c6ddb(0x1a7)][_0x2c6ddb(0xd8)]),_0x488fab=(0x0,_0x498f79[_0x2c6ddb(0x34d)])(_0x4943b0[_0x2c6ddb(0x314)]),_0x165864=(0x0,_0x498f79[_0x2c6ddb(0x34d)])(_0x256aaf[_0x2c6ddb(0x1dd)]),_0x130d3a=(0x0,_0x219576['useMemo'])(()=>_0x33afbf(_0x2160b9),[_0x2160b9]),_0x3aa8a9=_0x2160b9!==_0x256aaf[_0x2c6ddb(0x1a7)]['OFFLINE'],_0x4bcf54=_0x488fab['t'](_0x130d3a[_0x2c6ddb(0x12a)]),_0x4267fc=_0x130d3a[_0x2c6ddb(0x39f)]?_0x488fab['t'](_0x130d3a[_0x2c6ddb(0x39f)]):_0x4bcf54,_0x29e110=(0x0,_0x219576['useCallback'])(()=>{const _0x32e93c=_0x2c6ddb;_0x3aa8a9||_0x165864[_0x32e93c(0x245)]();},[_0x3aa8a9,_0x165864]),_0x51a4f4=(0x0,_0x219576['useCallback'])(_0x3ecd3c=>{const _0x35d18f=_0x2c6ddb;_0x3aa8a9||_0x3ecd3c[_0x35d18f(0x30c)]!=='Enter'&&_0x3ecd3c[_0x35d18f(0x30c)]!=='\x20'||(_0x3ecd3c['preventDefault'](),_0x165864['reconnect']());},[_0x3aa8a9,_0x165864]),_0x28e495=(0x0,_0x362e33[_0x2c6ddb(0x289)])(_0x2c6ddb(0x117),{'className':(0x0,_0x222a52[_0x2c6ddb(0xac)])('univer-flex\x20univer-items-center\x20univer-justify-center',_0x2c6ddb(0x268),_0x130d3a[_0x2c6ddb(0x22c)],{'univer-animate-spin':_0x130d3a[_0x2c6ddb(0x158)]===_0x2c6ddb(0x3dd),'univer-animate-pulse':_0x130d3a[_0x2c6ddb(0x158)]===_0x2c6ddb(0x121)}),'aria-hidden':_0x2c6ddb(0x234),'children':_0x130d3a[_0x2c6ddb(0x344)]}),_0x146678=(0x0,_0x362e33[_0x2c6ddb(0x289)])('span',{'className':(0x0,_0x222a52[_0x2c6ddb(0xac)])('univer-flex\x20univer-items-center\x20univer-justify-center','univer-h-8\x20univer-w-8\x20univer-rounded-lg','univer-transition-all\x20univer-duration-200',_0x2c6ddb(0x3c8),_0x2c6ddb(0x10b),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x130d3a[_0x2c6ddb(0x183)],'univer-cursor-default':!_0x130d3a[_0x2c6ddb(0x183)]}),'children':_0x28e495});return _0x130d3a['clickable']?(0x0,_0x362e33[_0x2c6ddb(0x289)])(_0x222a52[_0x2c6ddb(0x167)],{'title':_0x4267fc,'placement':'bottom','children':(0x0,_0x362e33['jsx'])('button',{'type':'button','onClick':_0x29e110,'onKeyDown':_0x51a4f4,'className':(0x0,_0x222a52['clsx'])('univer-inline-flex\x20univer-items-center\x20univer-justify-center',_0x2c6ddb(0x1dc),_0x2c6ddb(0x24e),'univer-appearance-none'),'aria-label':_0x4bcf54+_0x2c6ddb(0x331)+_0x4267fc,'role':_0x2c6ddb(0xb1),'aria-live':_0x2c6ddb(0x1b3),'aria-atomic':_0x2c6ddb(0x234),'children':_0x146678})}):(0x0,_0x362e33[_0x2c6ddb(0x289)])(_0x222a52[_0x2c6ddb(0x167)],{'title':_0x4267fc,'placement':_0x2c6ddb(0xf4),'children':(0x0,_0x362e33[_0x2c6ddb(0x289)])(_0x2c6ddb(0x310),{'className':(0x0,_0x222a52[_0x2c6ddb(0xac)])(_0x2c6ddb(0x3ba),'univer-border-none\x20univer-bg-transparent',_0x2c6ddb(0x24e)),'aria-label':_0x4bcf54,'role':_0x2c6ddb(0xb1),'aria-live':_0x2c6ddb(0x1b3),'aria-atomic':_0x2c6ddb(0x234),'children':_0x146678})});}function _0x2ed2d8(_0x513946){'@babel/helpers - typeof';const _0xa09481=_0x5b54aa;return _0x2ed2d8=typeof Symbol==_0xa09481(0x2e8)&&typeof Symbol[_0xa09481(0x11e)]==_0xa09481(0x3ee)?function(_0x5c8ceb){return typeof _0x5c8ceb;}:function(_0x30f7a0){const _0x412b2f=_0xa09481;return _0x30f7a0&&typeof Symbol=='function'&&_0x30f7a0['constructor']===Symbol&&_0x30f7a0!==Symbol[_0x412b2f(0x343)]?'symbol':typeof _0x30f7a0;},_0x2ed2d8(_0x513946);}function _0xa01981(_0x21f0ba,_0x57c6f5){const _0x7a1b24=_0x5b54aa;if(_0x2ed2d8(_0x21f0ba)!=_0x7a1b24(0x1e4)||!_0x21f0ba)return _0x21f0ba;var _0x2ba570=_0x21f0ba[Symbol[_0x7a1b24(0x22f)]];if(_0x2ba570!==void 0x0){var _0x56d6a1=_0x2ba570['call'](_0x21f0ba,_0x57c6f5||'default');if(_0x2ed2d8(_0x56d6a1)!='object')return _0x56d6a1;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x57c6f5===_0x7a1b24(0x1c3)?String:Number)(_0x21f0ba);}function _0x285863(_0x4ecbe3){const _0x4519bd=_0x5b54aa;var _0x38ede9=_0xa01981(_0x4ecbe3,_0x4519bd(0x1c3));return _0x2ed2d8(_0x38ede9)==_0x4519bd(0x3ee)?_0x38ede9:_0x38ede9+'';}function _0x594b82(_0x4042b1,_0x1ace1a,_0xdf649e){return(_0x1ace1a=_0x285863(_0x1ace1a))in _0x4042b1?Object['defineProperty'](_0x4042b1,_0x1ace1a,{'value':_0xdf649e,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x4042b1[_0x1ace1a]=_0xdf649e,_0x4042b1;}function _0x5036f2(_0x3a1876,_0x1cb0dc){return function(_0x317d5b,_0x42f818){_0x1cb0dc(_0x317d5b,_0x42f818,_0x3a1876);};}function _0x52e036(_0x6911b8,_0x3cbddc,_0xadfe2c,_0x572a6e){const _0x5caf5f=_0x5b54aa;var _0x214074=arguments['length'],_0x173d9=_0x214074<0x3?_0x3cbddc:_0x572a6e===null?_0x572a6e=Object[_0x5caf5f(0x10e)](_0x3cbddc,_0xadfe2c):_0x572a6e,_0x3b14fe;if(typeof Reflect==_0x5caf5f(0x1e4)&&typeof Reflect[_0x5caf5f(0x134)]==_0x5caf5f(0x2e8))_0x173d9=Reflect[_0x5caf5f(0x134)](_0x6911b8,_0x3cbddc,_0xadfe2c,_0x572a6e);else{for(var _0x231c06=_0x6911b8[_0x5caf5f(0x364)]-0x1;_0x231c06>=0x0;_0x231c06--)(_0x3b14fe=_0x6911b8[_0x231c06])&&(_0x173d9=(_0x214074<0x3?_0x3b14fe(_0x173d9):_0x214074>0x3?_0x3b14fe(_0x3cbddc,_0xadfe2c,_0x173d9):_0x3b14fe(_0x3cbddc,_0xadfe2c))||_0x173d9);}return _0x214074>0x3&&_0x173d9&&Object[_0x5caf5f(0x181)](_0x3cbddc,_0xadfe2c,_0x173d9),_0x173d9;}let _0x188158=class extends _0x4943b0['Disposable']{constructor(_0x239074,_0x29b0ec,_0x5ae778,_0x5bceea,_0x5c22f0){const _0x4b6093=_0x5b54aa;super(),this[_0x4b6093(0x1f6)]=_0x239074,this[_0x4b6093(0x2c0)]=_0x29b0ec,this[_0x4b6093(0x19e)]=_0x5ae778,this[_0x4b6093(0x1a8)]=_0x5bceea,this[_0x4b6093(0x3e2)]=_0x5c22f0,_0x594b82(this,'_status$',new _0x6726f3[(_0x4b6093(0x374))](_0x256aaf[_0x4b6093(0x1a7)][_0x4b6093(0xd8)])),_0x594b82(this,_0x4b6093(0x11a),new Map()),this[_0x4b6093(0x264)](),this[_0x4b6093(0xfe)](),this[_0x4b6093(0x2ef)]();}[_0x5b54aa(0x337)](){const _0x3697be=_0x5b54aa;this['_presenceStatusRegistrations'][_0x3697be(0xe0)](_0x4c1446=>_0x4c1446[_0x3697be(0x337)]()),this[_0x3697be(0x11a)][_0x3697be(0x1f1)](),this['_status$']['complete'](),super['dispose']();}['_initStatusListener'](){const _0x58a59c=_0x5b54aa;this['disposeWithMe']((0x0,_0x6726f3[_0x58a59c(0x23b)])(this[_0x58a59c(0x1f6)][_0x58a59c(0xa6)],this[_0x58a59c(0x1f6)][_0x58a59c(0x2e2)](_0x4943b0[_0x58a59c(0x21a)][_0x58a59c(0x206)]),this[_0x58a59c(0x1f6)]['getCurrentTypeOfUnit$'](_0x4943b0[_0x58a59c(0x21a)][_0x58a59c(0x156)]))[_0x58a59c(0x338)]((0x0,_0x2ce8db[_0x58a59c(0x2a1)])(()=>_0x4fac9b(this['_univerInstanceService'])),(0x0,_0x2ce8db[_0x58a59c(0x3bc)])(),(0x0,_0x6726f3[_0x58a59c(0x1d9)])(_0x54f313=>_0x54f313?this[_0x58a59c(0x19e)][_0x58a59c(0x381)](_0x54f313):(0x0,_0x6726f3['of'])(null)),(0x0,_0x6726f3['switchMap'])(_0x32ea2c=>_0x32ea2c?_0x32ea2c['status$']:(0x0,_0x6726f3['of'])(_0x256aaf[_0x58a59c(0x1a7)][_0x58a59c(0xd8)])))[_0x58a59c(0xf0)](_0x418045=>{this['_status$']['next'](_0x418045);}));}['_initStatusComponent'](){const _0x472dc0=_0x5b54aa;this[_0x472dc0(0x283)](this[_0x472dc0(0x1a8)]['registerComponent'](_0x498f79['BuiltInUIPart'][_0x472dc0(0x189)],()=>(0x0,_0x498f79[_0x472dc0(0x2a4)])(_0xd72ce4({'status$':this[_0x472dc0(0xc0)]['asObservable']()}),this[_0x472dc0(0x2c0)])));}[_0x5b54aa(0x2ef)](){const _0x231d11=_0x5b54aa;let _0x4336c4=this[_0x231d11(0x3e2)][_0x231d11(0x171)][_0x231d11(0xf0)](_0xd14148=>{const _0x75110c=_0x231d11;this[_0x75110c(0x25c)](_0xd14148);});this['disposeWithMe']((0x0,_0x4943b0[_0x231d11(0x3eb)])(()=>_0x4336c4[_0x231d11(0x1b6)]()));}[_0x5b54aa(0x25c)](_0x15bde9){const _0x4de9a0=_0x5b54aa;let _0x3c9b12=new Map(_0x15bde9[_0x4de9a0(0x2ee)](_0x275f90=>_0x275f90[_0x4de9a0(0xeb)]!=null)['map'](_0x4a87e1=>[_0x4a87e1['unitType'],_0x4a87e1]));this[_0x4de9a0(0x11a)][_0x4de9a0(0xe0)]((_0xa86e54,_0x3f7a99)=>{const _0x261560=_0x4de9a0;_0x3c9b12[_0x261560(0x303)](_0x3f7a99)||(_0xa86e54['dispose'](),this[_0x261560(0x11a)][_0x261560(0x37e)](_0x3f7a99));}),_0x3c9b12['forEach']((_0xbeb002,_0x20e119)=>{const _0x381425=_0x4de9a0;this[_0x381425(0x11a)][_0x381425(0x303)](_0x20e119)||this[_0x381425(0x3f8)](_0xbeb002);});}[_0x5b54aa(0x3f8)](_0x3a11e0){const _0x3a701b=_0x5b54aa;let _0x58a67f=_0x3a11e0['statusUIPart'];if(!_0x58a67f)return;let _0xbc696d=new _0x4943b0[(_0x3a701b(0x352))](),_0x3fd910=new _0x6726f3[(_0x3a701b(0x374))](_0x256aaf[_0x3a701b(0x1a7)][_0x3a701b(0xd8)]);_0xbc696d[_0x3a701b(0x3e3)]((0x0,_0x4943b0[_0x3a701b(0x3eb)])(()=>_0x3fd910[_0x3a701b(0x13e)]())),_0xbc696d[_0x3a701b(0x3e3)](this[_0x3a701b(0x1a8)][_0x3a701b(0x133)](_0x58a67f,()=>(0x0,_0x498f79[_0x3a701b(0x2a4)])(_0xd72ce4({'status$':_0x3fd910['asObservable']()}),this[_0x3a701b(0x2c0)])));let _0x489cc2=this[_0x3a701b(0x1f6)][_0x3a701b(0x2e2)](_0x3a11e0[_0x3a701b(0x36a)])['pipe']((0x0,_0x2ce8db[_0x3a701b(0x2a1)])(_0x5608cd=>(_0x5608cd==null?void 0x0:_0x5608cd['getUnitId']())??null),(0x0,_0x2ce8db[_0x3a701b(0x3bc)])(),(0x0,_0x6726f3[_0x3a701b(0x1d9)])(_0x247d4a=>_0x247d4a?this['_collaborationController'][_0x3a701b(0x381)](_0x247d4a):(0x0,_0x6726f3['of'])(null)),(0x0,_0x6726f3[_0x3a701b(0x1d9)])(_0x36e219=>(_0x36e219==null?void 0x0:_0x36e219['status$'])??(0x0,_0x6726f3['of'])(_0x256aaf[_0x3a701b(0x1a7)][_0x3a701b(0xd8)])))['subscribe'](_0x1e4eb3=>_0x3fd910[_0x3a701b(0x3ed)](_0x1e4eb3));_0xbc696d[_0x3a701b(0x3e3)]((0x0,_0x4943b0[_0x3a701b(0x3eb)])(()=>_0x489cc2[_0x3a701b(0x1b6)]())),this[_0x3a701b(0x11a)][_0x3a701b(0x357)](_0x3a11e0[_0x3a701b(0x36a)],_0xbc696d);}};_0x188158=_0x52e036([_0x5036f2(0x0,_0x4943b0[_0x5b54aa(0xd5)]),_0x5036f2(0x1,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x4943b0[_0x5b54aa(0x3f3)])),_0x5036f2(0x2,(0x0,_0x4943b0['Inject'])(_0x256aaf[_0x5b54aa(0x153)])),_0x5036f2(0x3,_0x498f79[_0x5b54aa(0x400)]),_0x5036f2(0x4,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x498f79[_0x5b54aa(0x309)]))],_0x188158);function _0x4fac9b(_0x4dec9f){const _0x38ff60=_0x5b54aa;let _0x47ce1f=_0x4dec9f['getFocusedUnit'](),_0x2830a9=_0x47ce1f==null?void 0x0:_0x47ce1f[_0x38ff60(0x371)]();if(_0x2830a9&&!(0x0,_0x4943b0[_0x38ff60(0x166)])(_0x2830a9))return _0x2830a9;let _0x11d2d5=_0x4dec9f[_0x38ff60(0x3a6)](_0x4943b0['UniverInstanceType'][_0x38ff60(0x206)]),_0x28cd52=_0x11d2d5==null?void 0x0:_0x11d2d5['getUnitId']();if(_0x28cd52&&!(0x0,_0x4943b0[_0x38ff60(0x166)])(_0x28cd52))return _0x28cd52;let _0x48b369=_0x4dec9f[_0x38ff60(0x3a6)](_0x4943b0['UniverInstanceType'][_0x38ff60(0x156)]);if(_0x48b369)return _0x48b369[_0x38ff60(0x371)]();let _0x2d0019=_0x4dec9f['getAllUnitsForType'](_0x4943b0[_0x38ff60(0x21a)][_0x38ff60(0x206)])[_0x38ff60(0x1a9)](_0x1a7edd=>!(0x0,_0x4943b0[_0x38ff60(0x166)])(_0x1a7edd[_0x38ff60(0x371)]()));return _0x2d0019?_0x2d0019[_0x38ff60(0x371)]():null;}function _0xd72ce4(_0x558379){let {status$:_0x421ea7}=_0x558379;return function(){return(0x0,_0x362e33['jsx'])(_0x2c812b,{'status$':_0x421ea7});};}var _0x4d4ba3=_0x5b54aa(0x2dd),_0x4c5614=_0x5b54aa(0xc9);let _0x2f316f={'id':_0x5b54aa(0x2fc),'type':_0x4943b0[_0x5b54aa(0xf8)]['OPERATION'],'handler':(_0x2325a1,_0x3f0eb3)=>{const _0x47ca65=_0x5b54aa;let _0x5407be=_0x2325a1['get'](_0x498f79[_0x47ca65(0x309)])['get'](_0x3f0eb3['unitType']);if(!_0x5407be)return!0x1;switch(_0x3f0eb3[_0x47ca65(0x23c)][_0x47ca65(0x33c)]){case _0x47ca65(0x357):return _0x5407be[_0x47ca65(0x213)](_0x3f0eb3[_0x47ca65(0x23c)]['state']),!0x0;case'remove':return _0x5407be['removeRemotePresence'](_0x3f0eb3[_0x47ca65(0x23c)][_0x47ca65(0x3b9)],_0x3f0eb3[_0x47ca65(0x23c)][_0x47ca65(0x199)]),!0x0;case _0x47ca65(0x1f1):return _0x5407be[_0x47ca65(0x20f)](_0x3f0eb3[_0x47ca65(0x23c)][_0x47ca65(0x3b9)]),!0x0;default:return!0x1;}}},_0x4101f5={},_0x427159=class extends _0x4943b0[_0x5b54aa(0x35c)]{constructor(_0x41eac3,_0x5761da){const _0x4f1ac7=_0x5b54aa;super(),this[_0x4f1ac7(0xcb)]=_0x41eac3,this['_imageIoService']=_0x5761da,this[_0x4f1ac7(0x3fc)]();}[_0x5b54aa(0x3fc)](){const _0x4b5e05=_0x5b54aa;let _0x5024f0=this;this[_0x4b5e05(0x283)](this[_0x4b5e05(0xcb)]['addClipboardHook']({'onBeforePasteImage':async _0xcb255a=>{const _0x2172d1=_0x4b5e05;let _0x29dec0=await _0x5024f0[_0x2172d1(0x2cc)]['saveImage'](_0xcb255a);return _0x29dec0?{'source':_0x29dec0[_0x2172d1(0x138)],'imageSourceType':_0x29dec0[_0x2172d1(0x13a)]}:null;}}));}};_0x427159=_0x52e036([_0x5036f2(0x0,_0x431c6f[_0x5b54aa(0x36d)]),_0x5036f2(0x1,_0x4943b0[_0x5b54aa(0x2ea)])],_0x427159);let _0x17f9e1=['purple.300',_0x5b54aa(0x390),_0x5b54aa(0x407),_0x5b54aa(0x10d),_0x5b54aa(0x380),_0x5b54aa(0x248)];var _0x486605=class extends _0x4943b0['Disposable']{constructor(..._0x246082){const _0x3d5956=_0x5b54aa;super(..._0x246082),_0x594b82(this,_0x3d5956(0xfd),new Map()),_0x594b82(this,'_colorIndex',0x0);}[_0x5b54aa(0x39c)](_0x58cecb){const _0x4fbe91=_0x5b54aa;if(this['_assignedColors'][_0x4fbe91(0x303)](_0x58cecb))return this[_0x4fbe91(0xfd)][_0x4fbe91(0x131)](_0x58cecb);let _0x46aa2a=_0x17f9e1[this[_0x4fbe91(0x293)]];return this[_0x4fbe91(0x293)]=(this[_0x4fbe91(0x293)]+0x1)%_0x17f9e1['length'],this[_0x4fbe91(0xfd)][_0x4fbe91(0x357)](_0x58cecb,_0x46aa2a),_0x46aa2a;}};function _0x15a662(_0x4e3722){const _0x22c51e=_0x5b54aa;let _0x523c81='';for(let _0x9078d of _0x4e3722){let {startOffset:_0xb4d861,endOffset:_0x229e64,isActive:_0x4c573f,rangeType:_0x1d01fc,segmentId:_0x24e02b,segmentPage:_0x46511a}=_0x9078d;_0x523c81[_0x22c51e(0x364)]&&(_0x523c81+=','),_0x523c81+=_0xb4d861+':'+_0x229e64+':'+(_0x4c573f?'1':'0')+':'+_0x1d01fc+':'+_0x24e02b+':'+_0x46511a;}return _0x523c81;}function _0x866cb2(_0x47c364){const _0x4f6da3=_0x5b54aa;let _0x1ec45f=_0x47c364['split'](','),_0x3583a2=[];for(let _0x270292 of _0x1ec45f){let [_0x114125,_0xdedfa7,_0x5748c6,_0x5066a7,_0x3dcf25,_0x28591f]=_0x270292[_0x4f6da3(0x28d)](':');_0x3583a2[_0x4f6da3(0x3c3)]({'startOffset':Number(_0x114125),'endOffset':Number(_0xdedfa7),'collapsed':_0x114125===_0xdedfa7,'isActive':_0x5748c6==='1','rangeType':_0x5066a7===_0x4943b0['DOC_RANGE_TYPE'][_0x4f6da3(0x3ff)]?_0x4943b0[_0x4f6da3(0x2fd)][_0x4f6da3(0x3ff)]:_0x4943b0[_0x4f6da3(0x2fd)][_0x4f6da3(0x17b)],'segmentId':typeof _0x3dcf25==_0x4f6da3(0x1c3)?String(_0x3dcf25):'','segmentPage':Number(_0x28591f??-0x1)});}return _0x3583a2[_0x4f6da3(0x356)](_0x49f2ed=>_0x49f2ed[_0x4f6da3(0x38e)])||(_0x3583a2[0x0][_0x4f6da3(0x38e)]=!0x0),_0x3583a2;}var _0x409bf7=class extends _0x4943b0[_0x5b54aa(0x35c)]{constructor(..._0x1744e8){const _0x50f0f3=_0x5b54aa;super(..._0x1744e8),_0x594b82(this,_0x50f0f3(0x266),new _0x6726f3[(_0x50f0f3(0x374))](null)),_0x594b82(this,'collabCursorState$',this['_collabCursorState$'][_0x50f0f3(0x1b1)]());}[_0x5b54aa(0x12b)](_0x265ca9){const _0x37ad76=_0x5b54aa;let {unitID:_0xa0da71,memberID:_0x44f0fe,textRanges:_0x5487b7}=_0x265ca9,_0x535497=_0x15a662(_0x5487b7);if(_0x535497==='')return;let _0x308bf2={'unitID':_0xa0da71,'memberID':_0x44f0fe,'selection':_0x535497};this[_0x37ad76(0x266)]['next'](_0x308bf2);}};let _0x32328c=class extends _0x4943b0[_0x5b54aa(0x35c)]{get[_0x5b54aa(0x2ca)](){const _0x2f2d91=_0x5b54aa;return this['_cursorInfo$'][_0x2f2d91(0x326)]();}get[_0x5b54aa(0x240)](){const _0xfc5306=_0x5b54aa;return this[_0xfc5306(0x100)][_0xfc5306(0x326)]();}constructor(_0x5dd657,_0x36526c,_0x36c242,_0x17149f,_0x5f4681,_0x2cc843,_0x53dd34,_0x2991b,_0x4abe84){const _0x15d4ec=_0x5b54aa;super(),this[_0x15d4ec(0xb5)]=_0x5dd657,this[_0x15d4ec(0x2cb)]=_0x36526c,this[_0x15d4ec(0x2c0)]=_0x36c242,this[_0x15d4ec(0x333)]=_0x17149f,this['_memberService']=_0x5f4681,this[_0x15d4ec(0x10f)]=_0x2cc843,this[_0x15d4ec(0x36f)]=_0x53dd34,this[_0x15d4ec(0x1f6)]=_0x2991b,this[_0x15d4ec(0x18e)]=_0x4abe84,_0x594b82(this,_0x15d4ec(0x274),!0x1),_0x594b82(this,_0x15d4ec(0x3fc),!0x1),_0x594b82(this,_0x15d4ec(0x2b4),new _0x6726f3[(_0x15d4ec(0x374))](new Map())),_0x594b82(this,_0x15d4ec(0xbb),this[_0x15d4ec(0x2b4)][_0x15d4ec(0x1b1)]()),_0x594b82(this,_0x15d4ec(0x100),new _0x6726f3[(_0x15d4ec(0x374))]([])),_0x594b82(this,_0x15d4ec(0x1c8),this[_0x15d4ec(0x100)][_0x15d4ec(0x338)]((0x0,_0x6726f3[_0x15d4ec(0xa9)])(0x12c))),_0x594b82(this,_0x15d4ec(0x122),(0x0,_0x4943b0[_0x15d4ec(0x3ea)])(_0xc6e0b0=>{const _0x194839=_0x15d4ec;let _0x1bf44e={'eventID':_0x2be976[_0x194839(0x290)][_0x194839(0x2d9)],'data':{'unitID':this[_0x194839(0xb5)],'memberID':this['_session']['getMemberID'](),'selection':_0x15a662(_0xc6e0b0)}};this[_0x194839(0x2cb)][_0x194839(0x21e)](_0x1bf44e,this['unitID']);},0x64));}[_0x5b54aa(0x337)](){const _0x5c7e5b=_0x5b54aa;super['dispose'](),this[_0x5c7e5b(0x2b4)][_0x5c7e5b(0x3ed)](new Map()),this[_0x5c7e5b(0x2b4)][_0x5c7e5b(0x13e)](),this[_0x5c7e5b(0x100)]['next']([]),this[_0x5c7e5b(0x100)]['complete']();}[_0x5b54aa(0x3a5)](){const _0x360431=_0x5b54aa;this[_0x360431(0x3fc)]||(this['_init']=!0x0,this[_0x360431(0x2cb)]['sessionStatus$'][_0x360431(0x338)]((0x0,_0x6726f3[_0x360431(0x335)])(this['dispose$']))[_0x360431(0xf0)](_0x52df2e=>{const _0xe44dc5=_0x360431;_0x52df2e===_0x256aaf[_0xe44dc5(0x34c)][_0xe44dc5(0x373)]?this[_0xe44dc5(0x150)]():this[_0xe44dc5(0x3f4)]();}),this[_0x360431(0x2cb)]['event$']['pipe']((0x0,_0x6726f3[_0x360431(0x335)])(this['dispose$']))[_0x360431(0xf0)](_0x5dbe03=>{const _0x40326c=_0x360431;let _0x386e46=_0x5dbe03[_0x40326c(0x1ff)];_0x386e46===_0x2be976[_0x40326c(0x290)][_0x40326c(0x2d9)]&&this[_0x40326c(0x126)](_0x5dbe03),_0x386e46===_0x2be976[_0x40326c(0x290)]['USERS_LEAVE']&&this[_0x40326c(0xf6)](_0x5dbe03);}),this[_0x360431(0x283)](this[_0x360431(0x18e)][_0x360431(0x27f)](_0x5ca24f=>{const _0x4d3b43=_0x360431;let _0x54fc6f=_0x5ca24f[_0x4d3b43(0xc4)];_0x54fc6f!=null&&this[_0x4d3b43(0x274)]&&_0x5ca24f['id']===_0x5b2323[_0x4d3b43(0x1b0)]['id']&&_0x54fc6f[_0x4d3b43(0x3b9)]===this[_0x4d3b43(0xb5)]&&_0x54fc6f[_0x4d3b43(0x2f4)]===!0x1&&_0x54fc6f[_0x4d3b43(0x278)][_0x4d3b43(0x364)]>0x0&&this[_0x4d3b43(0x122)](_0x54fc6f['ranges']);})),this[_0x360431(0x10f)][_0x360431(0x160)][_0x360431(0x338)]((0x0,_0x6726f3[_0x360431(0x335)])(this[_0x360431(0x28a)]))[_0x360431(0xf0)](_0x40d554=>{const _0x1a54ff=_0x360431;if((_0x40d554==null?void 0x0:_0x40d554[_0x1a54ff(0xb5)])!==this[_0x1a54ff(0xb5)])return;let _0x472208={'eventID':_0x2be976['CollaborationEvent'][_0x1a54ff(0x2d9)],'data':_0x40d554};this['_onCursorUpdate'](_0x472208);}),this[_0x360431(0x283)](this[_0x360431(0x18e)][_0x360431(0x27f)](_0x2f1594=>{const _0x26ba8d=_0x360431;if(_0x2f1594[_0x26ba8d(0xc4)]==null)return;let _0x310850=_0x2f1594[_0x26ba8d(0xc4)];if(_0x2f1594['id']!==_0x5b2323[_0x26ba8d(0xcd)]['id']||_0x310850[_0x26ba8d(0x3b9)]!==this[_0x26ba8d(0xb5)])return;let _0x35abff={'id':_0x26ba8d(0x25e),'params':_0x310850},_0x3707c9=this[_0x26ba8d(0x2ca)];for(let [_0x3e8f31,_0x541755]of _0x3707c9){let _0x467525={'id':_0x26ba8d(0x25e),'params':{'unitId':this[_0x26ba8d(0xb5)],'actions':null,'textRanges':_0x541755[_0x26ba8d(0x278)]}},_0x24d8b3=this[_0x26ba8d(0x36f)][_0x26ba8d(0xca)](_0x35abff,_0x467525,!0x1);if((0x0,_0x2be976[_0x26ba8d(0x276)])(_0x24d8b3))throw _0x24d8b3[_0x26ba8d(0x24b)];_0x3707c9[_0x26ba8d(0x357)](_0x3e8f31,{..._0x541755,'ranges':_0x24d8b3[_0x26ba8d(0x2b5)][_0x26ba8d(0xc4)][_0x26ba8d(0x324)]});}queueMicrotask(()=>{const _0xd85fe9=_0x26ba8d;this[_0xd85fe9(0x2b4)][_0xd85fe9(0x3ed)](_0x3707c9);});})));}['_onCursorUpdate'](_0x4b731b){const _0x3b455e=_0x5b54aa;var _0x8a7dd2;let {memberID:_0x509123,selection:_0x4e10e0}=_0x4b731b[_0x3b455e(0x242)],_0x1e1fd3=_0x866cb2(_0x4e10e0),_0x2b7be8=((_0x8a7dd2=this[_0x3b455e(0x361)][_0x3b455e(0x36e)](this[_0x3b455e(0xb5)],_0x509123))==null?void 0x0:_0x8a7dd2[_0x3b455e(0x16a)])??'Unknown\x20user',_0x3f0318={'color':this[_0x3b455e(0x333)][_0x3b455e(0x39c)](_0x509123),'name':_0x2b7be8,'ranges':_0x1e1fd3},_0x2ed3f1=this[_0x3b455e(0x2ca)];_0x2ed3f1[_0x3b455e(0x357)](_0x509123,_0x3f0318),this['_cursorInfo$']['next'](_0x2ed3f1);}[_0x5b54aa(0xf6)](_0x2ee14c){const _0x418dfc=_0x5b54aa;let {memberID:_0x1c7b96}=_0x2ee14c[_0x418dfc(0x242)],_0x149f2e=this[_0x418dfc(0x2ca)];_0x149f2e[_0x418dfc(0x37e)](_0x1c7b96),this[_0x418dfc(0x2b4)][_0x418dfc(0x3ed)](_0x149f2e);}[_0x5b54aa(0x150)](){const _0x7dbe95=_0x5b54aa;var _0x36650c;if(this[_0x7dbe95(0x274)]=!0x0,((_0x36650c=this[_0x7dbe95(0x1f6)][_0x7dbe95(0x2bf)]())==null?void 0x0:_0x36650c['getUnitId']())!==this[_0x7dbe95(0xb5)])return;let _0x52caf6=this[_0x7dbe95(0x2c0)][_0x7dbe95(0x131)](_0x5b2323['DocSelectionManagerService'])['getDocRanges']();Array['isArray'](_0x52caf6)&&_0x52caf6[_0x7dbe95(0x364)]>0x0&&this['_updateLocalCursor'](_0x52caf6);}[_0x5b54aa(0x3f4)](){const _0x596cf5=_0x5b54aa;this[_0x596cf5(0x274)]=!0x1;}};_0x32328c=_0x52e036([_0x5036f2(0x2,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x4943b0[_0x5b54aa(0x3f3)])),_0x5036f2(0x3,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x486605)),_0x5036f2(0x4,(0x0,_0x4943b0['Inject'])(_0x256aaf[_0x5b54aa(0x120)])),_0x5036f2(0x5,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x409bf7)),_0x5036f2(0x6,_0x2be976['ITransformService']),_0x5036f2(0x7,_0x4943b0['IUniverInstanceService']),_0x5036f2(0x8,_0x4943b0['ICommandService'])],_0x32328c);let _0x1f2883=()=>{let _0x3562d3=[],_0x4533b2=!0x1;return _0x3d74ed=>{const _0x3b713d=_0x424e;_0x3562d3[_0x3b713d(0x3c3)](_0x3d74ed),_0x4533b2||(_0x4533b2=!0x0,setTimeout(()=>{const _0x16cfae=_0x3b713d;_0x3562d3[_0x16cfae(0xe0)](_0x15f301=>_0x15f301()),_0x3562d3=[],_0x4533b2=!0x1;}));};},_0x1c958a=class extends _0x4943b0[_0x5b54aa(0x35c)]{get[_0x5b54aa(0x2ca)](){const _0x185ecb=_0x5b54aa;return this[_0x185ecb(0x2b4)][_0x185ecb(0x326)]();}get[_0x5b54aa(0x240)](){const _0x24da78=_0x5b54aa;return this[_0x24da78(0x100)][_0x24da78(0x326)]();}constructor(_0x2bd3fc,_0x56c928,_0x4edfe4,_0x181a27,_0x499169,_0x59ab38,_0x17780d,_0x2b9cb){const _0x346bb8=_0x5b54aa;super(),this[_0x346bb8(0xb5)]=_0x2bd3fc,this['_session']=_0x56c928,this[_0x346bb8(0x2c0)]=_0x4edfe4,this[_0x346bb8(0x333)]=_0x181a27,this[_0x346bb8(0x361)]=_0x499169,this[_0x346bb8(0x1f6)]=_0x59ab38,this[_0x346bb8(0x18e)]=_0x17780d,this['_refRangeService']=_0x2b9cb,_0x594b82(this,_0x346bb8(0x274),!0x1),_0x594b82(this,_0x346bb8(0x3fc),!0x1),_0x594b82(this,_0x346bb8(0x2b4),new _0x6726f3[(_0x346bb8(0x374))](new Map())),_0x594b82(this,_0x346bb8(0xbb),this[_0x346bb8(0x2b4)][_0x346bb8(0x1b1)]()),_0x594b82(this,_0x346bb8(0x100),new _0x6726f3[(_0x346bb8(0x374))]([])),_0x594b82(this,_0x346bb8(0x1c8),this['_roomMembers$'][_0x346bb8(0x338)]((0x0,_0x6726f3[_0x346bb8(0xa9)])(0x12c))),_0x594b82(this,'_updateLocalCursor',(0x0,_0x4943b0['debounce'])((_0x55d0b5,_0x2ef10e)=>{const _0x35f8a3=_0x346bb8;let _0x11837f={'eventID':_0x2be976[_0x35f8a3(0x290)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x35f8a3(0xb5)],'memberID':this[_0x35f8a3(0x2cb)][_0x35f8a3(0x316)](),'selection':(0x0,_0x46967a[_0x35f8a3(0x222)])(_0x55d0b5,_0x2ef10e['range'])}};this[_0x35f8a3(0x2cb)][_0x35f8a3(0x21e)](_0x11837f,this[_0x35f8a3(0xb5)]);},0x64));}['dispose'](){const _0x45d2ad=_0x5b54aa;super[_0x45d2ad(0x337)](),this[_0x45d2ad(0x2b4)]['next'](new Map()),this[_0x45d2ad(0x2b4)][_0x45d2ad(0x13e)](),this[_0x45d2ad(0x100)][_0x45d2ad(0x3ed)]([]),this['_roomMembers$'][_0x45d2ad(0x13e)]();}[_0x5b54aa(0x3a5)](){const _0xcff5ca=_0x5b54aa;this['_init']||(this['_init']=!0x0,this[_0xcff5ca(0x2cb)][_0xcff5ca(0x172)][_0xcff5ca(0x338)]((0x0,_0x6726f3[_0xcff5ca(0x335)])(this[_0xcff5ca(0x28a)]))[_0xcff5ca(0xf0)](_0x1549df=>{const _0x1a05a2=_0xcff5ca;_0x1549df===_0x256aaf[_0x1a05a2(0x34c)][_0x1a05a2(0x373)]?this[_0x1a05a2(0x150)]():this[_0x1a05a2(0x3f4)]();}),this[_0xcff5ca(0x2cb)][_0xcff5ca(0x33e)][_0xcff5ca(0x338)]((0x0,_0x6726f3['takeUntil'])(this[_0xcff5ca(0x28a)]))[_0xcff5ca(0xf0)](_0x53db31=>{const _0x4478fa=_0xcff5ca;let _0x53df72=_0x53db31[_0x4478fa(0x1ff)];_0x53df72===_0x2be976['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x4478fa(0x126)](_0x53db31),_0x53df72===_0x2be976[_0x4478fa(0x290)][_0x4478fa(0x14b)]&&this[_0x4478fa(0xf6)](_0x53db31);}),this[_0xcff5ca(0x28b)](),this[_0xcff5ca(0x283)](this[_0xcff5ca(0x18e)]['onCommandExecuted'](_0x239e15=>{const _0x3f2ef5=_0xcff5ca;if(this[_0x3f2ef5(0x274)]&&_0x239e15['id']===_0x23e2ae[_0x3f2ef5(0x3ca)]['id']&&_0x239e15[_0x3f2ef5(0xc4)][_0x3f2ef5(0x3b9)]===this['unitID']){let _0x1d9931=_0x239e15[_0x3f2ef5(0xc4)];this[_0x3f2ef5(0x122)](_0x1d9931[_0x3f2ef5(0x3a4)],_0x1d9931[_0x3f2ef5(0x25f)][0x0]);}})));}['_onCursorUpdate'](_0xcb4a02){const _0x49ae0d=_0x5b54aa;var _0x5d3a3c;let {memberID:_0x400b31,selection:_0x236e05}=_0xcb4a02[_0x49ae0d(0x242)],{sheetName:_0x2eadd5,range:_0x3af135}=(0x0,_0x46967a[_0x49ae0d(0x1fe)])(_0x236e05),_0x4a568e={'name':((_0x5d3a3c=this[_0x49ae0d(0x361)]['getMember'](this[_0x49ae0d(0xb5)],_0x400b31))==null?void 0x0:_0x5d3a3c[_0x49ae0d(0x16a)])??'Unknown\x20user','range':this[_0x49ae0d(0x349)](_0x2eadd5,_0x3af135),'sheetID':_0x2eadd5,'color':this[_0x49ae0d(0x333)][_0x49ae0d(0x39c)](_0x400b31),'selection':_0x236e05},_0x5b04c1=this[_0x49ae0d(0x2ca)];_0x5b04c1[_0x49ae0d(0x357)](_0x400b31,_0x4a568e),this['_cursorInfo$'][_0x49ae0d(0x3ed)](_0x5b04c1);}[_0x5b54aa(0xf6)](_0x459726){const _0x21ee2e=_0x5b54aa;let {memberID:_0x168350}=_0x459726[_0x21ee2e(0x242)],_0x454aa6=this[_0x21ee2e(0x2ca)];_0x454aa6[_0x21ee2e(0x37e)](_0x168350),this[_0x21ee2e(0x2b4)]['next'](_0x454aa6);}[_0x5b54aa(0x349)](_0x47a32b,_0x16078d){const _0x227178=_0x5b54aa;var _0x5d6dc8;let _0x5c7a6a=(_0x5d6dc8=this[_0x227178(0x1f6)][_0x227178(0x13b)](this['unitID'],_0x4943b0[_0x227178(0x21a)]['UNIVER_SHEET']))==null||(_0x5d6dc8=_0x5d6dc8['getSheetBySheetId'](_0x47a32b))==null?void 0x0:_0x5d6dc8[_0x227178(0x1ee)]();return(_0x5c7a6a==null?void 0x0:_0x5c7a6a[_0x227178(0x1a9)](_0x321d79=>_0x4943b0[_0x227178(0x1b5)][_0x227178(0x2b9)](_0x321d79,_0x16078d)))||_0x16078d;}[_0x5b54aa(0x28b)](){const _0x16e5c4=_0x5b54aa;let _0x13ba09=new _0x4943b0[(_0x16e5c4(0x352))](),_0x5162ef=_0x1f2883(),_0x2e778c=()=>{const _0x5bf58a=_0x16e5c4;_0x13ba09[_0x5bf58a(0x337)]();let _0x421117=(_0x2a9bf4,_0x2f7d00,_0x1562ab,_0x42aea1)=>{const _0x181b48=_0x5bf58a;let _0x3b8421=[];switch(_0x2a9bf4['id']){case _0x23e2ae[_0x181b48(0x3fb)][_0x181b48(0x308)]:_0x3b8421=(0x0,_0x23e2ae[_0x181b48(0x1d8)])(_0x2a9bf4,_0x42aea1);break;case _0x23e2ae['EffectRefRangId'][_0x181b48(0x229)]:_0x3b8421=(0x0,_0x23e2ae[_0x181b48(0x2af)])(_0x2a9bf4,_0x42aea1);break;case _0x23e2ae[_0x181b48(0x3fb)][_0x181b48(0xf9)]:_0x3b8421=(0x0,_0x23e2ae[_0x181b48(0x1f0)])(_0x2a9bf4,_0x42aea1);break;case _0x23e2ae[_0x181b48(0x3fb)][_0x181b48(0xa5)]:_0x3b8421=(0x0,_0x23e2ae[_0x181b48(0x2e1)])(_0x2a9bf4,_0x42aea1);break;case _0x23e2ae[_0x181b48(0x3fb)][_0x181b48(0x34b)]:_0x3b8421=(0x0,_0x23e2ae[_0x181b48(0x408)])(_0x2a9bf4,_0x42aea1);break;case _0x23e2ae[_0x181b48(0x3fb)][_0x181b48(0x1cb)]:_0x3b8421=(0x0,_0x23e2ae[_0x181b48(0x3d1)])(_0x2a9bf4,_0x42aea1);break;case _0x23e2ae[_0x181b48(0x3fb)][_0x181b48(0xe9)]:_0x3b8421=(0x0,_0x23e2ae[_0x181b48(0x32f)])(_0x2a9bf4,_0x42aea1);break;case _0x23e2ae['EffectRefRangId'][_0x181b48(0x215)]:_0x3b8421=(0x0,_0x23e2ae[_0x181b48(0x22e)])(_0x2a9bf4,_0x42aea1);break;case _0x23e2ae[_0x181b48(0x3fb)][_0x181b48(0x31e)]:_0x3b8421=(0x0,_0x23e2ae[_0x181b48(0x300)])(_0x2a9bf4,_0x42aea1);}let _0x1cf5ca=(0x0,_0x23e2ae[_0x181b48(0x200)])(_0x3b8421,_0x42aea1),_0x5803bd=this['cursorInfo'][_0x181b48(0x131)](_0x2f7d00);if(_0x5803bd&&_0x1cf5ca){let _0x2a8d18={..._0x5803bd,'range':_0x1cf5ca};this[_0x181b48(0x2ca)][_0x181b48(0x357)](_0x2f7d00,_0x2a8d18),_0x5162ef(()=>{const _0x1b825e=_0x181b48;let _0x586c0=this[_0x1b825e(0x247)][_0x1b825e(0x38a)](_0x1cf5ca,_0x38a7e3=>(_0x586c0[_0x1b825e(0x337)](),_0x421117(_0x38a7e3,_0x2f7d00,_0x1562ab,_0x1cf5ca)));_0x13ba09[_0x1b825e(0x3e3)](_0x586c0);});}return{'redos':[],'undos':[]};};this[_0x5bf58a(0x2ca)][_0x5bf58a(0xe0)]((_0x34db74,_0x1a640a)=>{const _0x33378f=_0x5bf58a;let {range:_0x23da93,sheetID:_0x1bd76f}=_0x34db74,_0x37cf46=this[_0x33378f(0x247)][_0x33378f(0x38a)](_0x23da93,_0x512551=>(_0x37cf46[_0x33378f(0x337)](),_0x421117(_0x512551,_0x1a640a,_0x1bd76f,_0x23da93)));_0x13ba09['add'](_0x37cf46);});};this['disposeWithMe']((0x0,_0x4943b0['toDisposable'])(this[_0x16e5c4(0x2b4)][_0x16e5c4(0xf0)](()=>{_0x2e778c();})));}[_0x5b54aa(0x150)](){const _0x22e0a2=_0x5b54aa;var _0x4166a3,_0x395441;if(this['_online']=!0x0,((_0x4166a3=this[_0x22e0a2(0x1f6)][_0x22e0a2(0x2bf)]())==null?void 0x0:_0x4166a3[_0x22e0a2(0x371)]())!==this['unitID'])return;let _0x2332e6=(_0x395441=this['_injector']['get'](_0x23e2ae[_0x22e0a2(0x398)])[_0x22e0a2(0x347)]())==null?void 0x0:_0x395441[0x0],_0x1d0d64=this[_0x22e0a2(0x1f6)][_0x22e0a2(0x3a6)](_0x4943b0[_0x22e0a2(0x21a)]['UNIVER_SHEET'])[_0x22e0a2(0x3d0)]();_0x2332e6&&_0x1d0d64&&this['_updateLocalCursor'](_0x1d0d64[_0x22e0a2(0x319)](),_0x2332e6);}[_0x5b54aa(0x3f4)](){const _0x428ffb=_0x5b54aa;this[_0x428ffb(0x274)]=!0x1;}};_0x1c958a=_0x52e036([_0x5036f2(0x2,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x4943b0[_0x5b54aa(0x3f3)])),_0x5036f2(0x3,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x486605)),_0x5036f2(0x4,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x256aaf[_0x5b54aa(0x120)])),_0x5036f2(0x5,_0x4943b0[_0x5b54aa(0xd5)]),_0x5036f2(0x6,_0x4943b0[_0x5b54aa(0x16f)]),_0x5036f2(0x7,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x23e2ae['RefRangeService']))],_0x1c958a);let _0x2b5738=class extends _0x4943b0[_0x5b54aa(0x35c)]{constructor(_0x373da8,_0xf6996f,_0x5c22d2){const _0x3cea90=_0x5b54aa;super(),this['_univerInstanceService']=_0x373da8,this[_0x3cea90(0x2c0)]=_0xf6996f,this[_0x3cea90(0x279)]=_0x5c22d2,_0x594b82(this,'_entities',new Map()),_0x594b82(this,_0x3cea90(0x366),new _0x6726f3[(_0x3cea90(0x369))]()),this[_0x3cea90(0x3fc)]();}[_0x5b54aa(0x337)](){const _0x58e63f=_0x5b54aa;super[_0x58e63f(0x337)](),this[_0x58e63f(0x366)][_0x58e63f(0x13e)](),this[_0x58e63f(0x286)][_0x58e63f(0xe0)](_0x6791a=>_0x6791a['dispose']());}[_0x5b54aa(0x1a3)](_0x4b42c0){const _0x5beaf3=_0x5b54aa;let _0x2333f4=this['_entities'][_0x5beaf3(0x131)](_0x4b42c0);return _0x2333f4?_0x2333f4[_0x5beaf3(0xbb)]:this[_0x5beaf3(0x366)]['pipe']((0x0,_0x6726f3[_0x5beaf3(0x2ee)])(_0x217e88=>_0x217e88['unitID']===_0x4b42c0),(0x0,_0x6726f3[_0x5beaf3(0x1d9)])(_0x16e11a=>_0x16e11a[_0x5beaf3(0xbb)]));}[_0x5b54aa(0x3fc)](){const _0x5e1827=_0x5b54aa;this['_univerInstanceService'][_0x5e1827(0x403)](_0x4943b0[_0x5e1827(0x21a)]['UNIVER_SHEET'])[_0x5e1827(0x338)]((0x0,_0x6726f3[_0x5e1827(0x335)])(this[_0x5e1827(0x28a)]))[_0x5e1827(0xf0)](async _0x39c8bc=>{const _0x215c5d=_0x5e1827;let _0x10ecfe=_0x39c8bc[_0x215c5d(0x1d5)][_0x215c5d(0x371)](),_0x2df8dd=await this[_0x215c5d(0x208)](_0x10ecfe);this[_0x215c5d(0x366)]['next'](_0x2df8dd),this['_entities'][_0x215c5d(0x357)](_0x10ecfe,_0x2df8dd);}),this['_univerInstanceService'][_0x5e1827(0x403)](_0x4943b0[_0x5e1827(0x21a)]['UNIVER_DOC'])['pipe']((0x0,_0x6726f3[_0x5e1827(0x335)])(this[_0x5e1827(0x28a)]))[_0x5e1827(0x338)]((0x0,_0x6726f3['filter'])(_0x5a8ee7=>!_0x5a8ee7['unit']['getUnitId']()[_0x5e1827(0xc5)]('__')))[_0x5e1827(0xf0)](async _0x1a0cc0=>{const _0x43d7de=_0x5e1827;let {unit:_0x4cc063}=_0x1a0cc0,_0x2dbeeb=_0x4cc063['getUnitId'](),_0x5342db=await this[_0x43d7de(0x15b)](_0x2dbeeb);this[_0x43d7de(0x366)][_0x43d7de(0x3ed)](_0x5342db),this['_entities'][_0x43d7de(0x357)](_0x2dbeeb,_0x5342db);}),(0x0,_0x6726f3[_0x5e1827(0x23b)])(this['_univerInstanceService'][_0x5e1827(0x3c5)](_0x4943b0[_0x5e1827(0x21a)][_0x5e1827(0x206)]),this[_0x5e1827(0x1f6)]['getTypeOfUnitDisposed$'](_0x4943b0[_0x5e1827(0x21a)]['UNIVER_SHEET']))[_0x5e1827(0x338)]((0x0,_0x6726f3[_0x5e1827(0x335)])(this[_0x5e1827(0x28a)]))[_0x5e1827(0xf0)](_0x1cfd02=>{const _0x44299e=_0x5e1827;let _0xb1eef0=_0x1cfd02[_0x44299e(0x371)](),_0x409304=this['_entities'][_0x44299e(0x131)](_0xb1eef0);_0x409304&&(_0x409304[_0x44299e(0x337)](),this[_0x44299e(0x286)][_0x44299e(0x37e)](_0xb1eef0));});}async[_0x5b54aa(0x208)](_0x4a18c6){const _0x22a180=_0x5b54aa;let _0x452355=await this[_0x22a180(0x279)][_0x22a180(0x405)](_0x4a18c6),_0x18d199=this[_0x22a180(0x2c0)]['createInstance'](_0x1c958a,_0x4a18c6,_0x452355);return _0x18d199[_0x22a180(0x3a5)](),_0x18d199;}async[_0x5b54aa(0x15b)](_0xb9c9e2){const _0x3a7c71=_0x5b54aa;let _0x44f46f=await this[_0x3a7c71(0x279)][_0x3a7c71(0x405)](_0xb9c9e2),_0x4308ac=this[_0x3a7c71(0x2c0)]['createInstance'](_0x32328c,_0xb9c9e2,_0x44f46f);return _0x4308ac[_0x3a7c71(0x3a5)](),_0x4308ac;}};_0x2b5738=_0x52e036([_0x5036f2(0x0,_0x4943b0['IUniverInstanceService']),_0x5036f2(0x1,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x4943b0[_0x5b54aa(0x3f3)])),_0x5036f2(0x2,(0x0,_0x4943b0['Inject'])(_0x256aaf[_0x5b54aa(0x1dd)]))],_0x2b5738);function _0x426944(_0x5ad7dd,_0x43fcc5){const _0x3b9b3a=_0x5b54aa;_0x5ad7dd[_0x3b9b3a(0xa4)](),_0x5ad7dd[_0x3b9b3a(0x329)]=_0x3b9b3a(0x258);let _0x341bc7=_0x5ad7dd[_0x3b9b3a(0x26e)](_0x43fcc5)[_0x3b9b3a(0xab)];return _0x5ad7dd[_0x3b9b3a(0x1fd)](),Math[_0x3b9b3a(0x37b)](_0x341bc7+0x8,0xc8);}function _0x4b9482(_0x19f9ef,_0x3ed1aa){const _0x499039=_0x5b54aa;let {radius:_0xb4c099,width:_0x19238f,height:_0xdae9f8}=_0x3ed1aa;_0xb4c099??=0x0,_0x19238f??=0x1e,_0xdae9f8??=0x1e;let _0x9131f=0x0,_0x44b3d6=0x0,_0x26585f=0x0;_0x9131f=_0x44b3d6=_0x26585f=Math[_0x499039(0x37b)](_0xb4c099,_0x19238f/0x2,_0xdae9f8/0x2),_0x19f9ef[_0x499039(0x1c0)](),_0x19f9ef[_0x499039(0x401)](_0x9131f,0x0),_0x19f9ef['lineTo'](_0x19238f-_0x44b3d6,0x0),_0x19f9ef[_0x499039(0x1ae)](_0x19238f-_0x44b3d6,_0x44b3d6,_0x44b3d6,Math['PI']*0x3/0x2,0x0,!0x1),_0x19f9ef['lineTo'](_0x19238f,_0xdae9f8-_0x26585f),_0x19f9ef[_0x499039(0x1ae)](_0x19238f-_0x26585f,_0xdae9f8-_0x26585f,_0x26585f,0x0,Math['PI']/0x2,!0x1),_0x19f9ef[_0x499039(0x372)](0x0,_0xdae9f8),_0x19f9ef[_0x499039(0x372)](0x0,_0x9131f),_0x19f9ef[_0x499039(0x1ae)](_0x9131f,_0x9131f,_0x9131f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x19f9ef[_0x499039(0x388)](),_0x3ed1aa[_0x499039(0x2c2)]&&(_0x19f9ef[_0x499039(0xa4)](),_0x19f9ef['fillStyle']=_0x3ed1aa['fill'],_0x3ed1aa[_0x499039(0x1d6)]===_0x499039(0x235)?_0x19f9ef[_0x499039(0x2c2)](_0x499039(0x235)):_0x19f9ef['fill'](),_0x19f9ef[_0x499039(0x1fd)]());}var _0x8a909d=class _0x574b48 extends _0x55d5e4[_0x5b54aa(0x2ec)]{constructor(_0x4ca63e,_0x58dcc0){const _0x27d582=_0x5b54aa;super(_0x4ca63e,_0x58dcc0),_0x594b82(this,_0x27d582(0x397),void 0x0),_0x594b82(this,_0x27d582(0x205),void 0x0),this[_0x27d582(0x397)]=_0x58dcc0==null?void 0x0:_0x58dcc0[_0x27d582(0x397)],this[_0x27d582(0x205)]=_0x58dcc0==null?void 0x0:_0x58dcc0['text'];}static[_0x5b54aa(0x31c)](_0x2b43c8,_0x48963f){const _0x278054=_0x5b54aa;let {text:_0x50d902,color:_0x56ab41}=_0x48963f;_0x2b43c8[_0x278054(0xa4)](),_0x2b43c8[_0x278054(0x329)]=_0x278054(0xe7);let _0x172f93=_0x2b43c8[_0x278054(0x26e)](_0x50d902)[_0x278054(0xab)];if(_0x4b9482(_0x2b43c8,{'height':0x14,'radius':0x4,'width':_0x426944(_0x2b43c8,_0x50d902),'fill':_0x56ab41,'evented':!0x1}),_0x2b43c8[_0x278054(0x362)]='#FFF',_0x172f93>0xc0){let _0x43a222='',_0x338450=0x0;for(let _0x81c404 of _0x50d902){let _0x2ba3e5=_0x2b43c8[_0x278054(0x26e)](_0x81c404)[_0x278054(0xab)];if(_0x338450+_0x2ba3e5<=0xc0-_0x2b43c8[_0x278054(0x26e)](_0x278054(0x305))[_0x278054(0xab)])_0x43a222+=_0x81c404,_0x338450+=_0x2ba3e5;else{_0x43a222+=_0x278054(0x305);break;}}_0x2b43c8[_0x278054(0x1c1)](_0x43a222,0x4,0xf);}else _0x2b43c8[_0x278054(0x1c1)](_0x50d902,0x4,0xf);_0x2b43c8[_0x278054(0x1fd)]();}['_draw'](_0x604409){_0x574b48['drawWith'](_0x604409,this);}};let _0x1dcdb1=_0x5b54aa(0x231);var _0x29e8ef=class{constructor(_0x47b504,_0x2decc9,_0x5ad2e0,_0x38ba05){const _0x453784=_0x5b54aa;this[_0x453784(0x132)]=_0x47b504,this[_0x453784(0x182)]=_0x2decc9,this['_docSkeleton']=_0x5ad2e0,this['_document']=_0x38ba05,_0x594b82(this,'_shapes',[]),_0x594b82(this,'_anchor',null),_0x594b82(this,'_textBubble',null),_0x594b82(this,_0x453784(0x220),null),_0x594b82(this,'_hideTimer',null),_0x594b82(this,_0x453784(0x141),null),this['_render']();}set['_hover'](_0x333640){const _0x2c569d=_0x5b54aa;_0x333640?(this[_0x2c569d(0x220)]&&this[_0x2c569d(0x220)][_0x2c569d(0x10c)](),this[_0x2c569d(0x236)]&&this[_0x2c569d(0x236)][_0x2c569d(0x3af)]()):(this[_0x2c569d(0x220)]&&this[_0x2c569d(0x220)][_0x2c569d(0x3af)](),this['_textBubble']&&this[_0x2c569d(0x236)][_0x2c569d(0x10c)]());}[_0x5b54aa(0x337)](){const _0x2dced3=_0x5b54aa;for(let _0x49ba09 of this[_0x2dced3(0xaa)])_0x49ba09[_0x2dced3(0x337)]();this[_0x2dced3(0x236)]&&this['_textBubble'][_0x2dced3(0x337)](),this[_0x2dced3(0x220)]&&this[_0x2dced3(0x220)]['dispose'](),this[_0x2dced3(0x2eb)]&&this['_anchor'][_0x2dced3(0x337)](),this['_eventUnsubscribe']&&this[_0x2dced3(0x141)]();}[_0x5b54aa(0x1eb)](){const _0x1b015a=_0x5b54aa;let {_docSkeleton:_0x233004,_document:_0x181db0}=this,{color:_0x5229bf,name:_0x751ee5,ranges:_0x216c75}=this[_0x1b015a(0x132)],_0xa4b12d=_0x181db0[_0x1b015a(0x409)](),{docsLeft:_0x3fdb59,docsTop:_0x3f5c25}=_0xa4b12d,_0x5e9b4c=new _0x431c6f['NodePositionConvertToCursor'](_0xa4b12d,_0x233004);for(let {startOffset:_0xf6f6e0,endOffset:_0x335918,rangeType:_0x4d2d2e,segmentId:_0x337ae1,segmentPage:_0x32a0a9,collapsed:_0x42696d,isActive:_0x26d7b3}of _0x216c75){let _0x3b5423=_0x233004['findNodePositionByCharIndex'](_0xf6f6e0,!0x0,_0x337ae1,_0x32a0a9),_0x473cd2=_0x233004['findNodePositionByCharIndex'](_0x335918,!0x0,_0x337ae1,_0x32a0a9);_0x473cd2??=_0x233004['findNodePositionByCharIndex'](_0x335918-0x1,!0x1,_0x337ae1,_0x32a0a9);let _0x5f4878=_0x237924(_0x3b5423,_0x473cd2);if(_0x26d7b3&&_0x5f4878[_0x1b015a(0x145)]){let {contentBoxPointGroup:_0x1736c7}=_0x5e9b4c[_0x1b015a(0x260)](_0x473cd2,_0x473cd2);if(_0x1736c7[_0x1b015a(0x364)]===0x0)continue;this[_0x1b015a(0x19d)](_0x5229bf,_0x1736c7,_0x3fdb59,_0x3f5c25,_0x751ee5),this[_0x1b015a(0x141)]=this['_handleHover']();}if(_0x3b5423&&_0x473cd2){if(_0x4d2d2e===_0x4943b0[_0x1b015a(0x2fd)][_0x1b015a(0x17b)]){let {pointGroup:_0x4212b7}=new _0x431c6f[(_0x1b015a(0x355))](_0xa4b12d,_0x233004)[_0x1b015a(0x260)](_0x3b5423,_0x473cd2)??{};if(_0x4212b7==null||_0x4212b7[_0x1b015a(0x364)]===0x0)continue;this[_0x1b015a(0x2a7)](_0x5229bf,_0x4212b7,_0x3fdb59,_0x3f5c25);}else{if(!_0x42696d&&_0x5f4878['canRenderSelection']){let {borderBoxPointGroup:_0x2fd329}=_0x5e9b4c[_0x1b015a(0x260)](_0x3b5423,_0x473cd2);if(_0x2fd329[_0x1b015a(0x364)]===0x0)continue;this[_0x1b015a(0x1ef)](_0x5229bf,_0x2fd329,_0x3fdb59,_0x3f5c25);}}}}}[_0x5b54aa(0x19d)](_0x244cd8,_0x3ed0bf,_0x192572,_0x34a03d,_0x20ccda){const _0x1d8be7=_0x5b54aa;let {left:_0x599129,top:_0xaae4f4,height:_0x1a191e}=this[_0x1d8be7(0x14a)](_0x3ed0bf),_0x354be6=1.5/this[_0x1d8be7(0x223)](),_0x4ac78c=new _0x55d5e4[(_0x1d8be7(0x323))](_0x1dcdb1+(0x0,_0x4943b0[_0x1d8be7(0xe5)])(0x6),{'left':_0x599129+_0x192572-_0x354be6,'top':_0xaae4f4+_0x34a03d,'height':_0x1a191e,'width':1.5,'fill':_0x244cd8||(0x0,_0x55d5e4[_0x1d8be7(0x395)])(_0x4943b0[_0x1d8be7(0x2c3)][_0x1d8be7(0x1bc)],0x0),'strokeWidth':_0x354be6,'stroke':_0x1d8be7(0x20e),'evented':!0x0});this['_anchor']=_0x4ac78c,this[_0x1d8be7(0x182)][_0x1d8be7(0x21d)](_0x4ac78c,_0x431c6f[_0x1d8be7(0x31f)]);let _0x12646d=new _0x55d5e4[(_0x1d8be7(0x323))](_0x1dcdb1+(0x0,_0x4943b0[_0x1d8be7(0xe5)])(0x6),{'left':_0x599129+_0x192572-_0x354be6,'top':_0xaae4f4+_0x34a03d-0x2,'height':0x4,'width':0x4,'fill':_0x244cd8||(0x0,_0x55d5e4[_0x1d8be7(0x395)])(_0x4943b0[_0x1d8be7(0x2c3)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x244cd8||(0x0,_0x55d5e4['getColor'])(_0x4943b0['COLORS'][_0x1d8be7(0x1bc)],0x0),'evented':!0x1});this[_0x1d8be7(0x220)]=_0x12646d,this[_0x1d8be7(0x182)][_0x1d8be7(0x21d)](_0x12646d,_0x431c6f[_0x1d8be7(0x31f)]);let _0xa4f160=new _0x8a909d(_0x1dcdb1+(0x0,_0x4943b0['generateRandomId'])(0x6),{'left':_0x599129+_0x192572-_0x354be6,'top':_0xaae4f4+_0x34a03d-0x14,'text':_0x20ccda,'color':_0x244cd8});this[_0x1d8be7(0x236)]=_0xa4f160,this[_0x1d8be7(0x182)][_0x1d8be7(0x21d)](_0xa4f160,_0x431c6f[_0x1d8be7(0x31f)]),this['_hover']=!0x1;}[_0x5b54aa(0x1cc)](){const _0x37a1f9=_0x5b54aa;let _0x5d88a4=this[_0x37a1f9(0x2eb)]['onPointerEnter$'][_0x37a1f9(0xb9)](()=>{const _0x3e19db=_0x37a1f9;this[_0x3e19db(0x2de)]=!0x0;}),_0x111ac4=this[_0x37a1f9(0x2eb)][_0x37a1f9(0x190)][_0x37a1f9(0xb9)](()=>{const _0x94bf88=_0x37a1f9;this[_0x94bf88(0x1ad)]&&clearTimeout(this[_0x94bf88(0x1ad)]),this[_0x94bf88(0x1ad)]=setTimeout(()=>{const _0x3c7fa4=_0x94bf88;this[_0x3c7fa4(0x2de)]=!0x1;},0x7d0);});return()=>{const _0x90e1ec=_0x37a1f9;_0x5d88a4[_0x90e1ec(0x1b6)](),_0x111ac4[_0x90e1ec(0x1b6)]();};}[_0x5b54aa(0x1ef)](_0x4a8fab,_0x270482,_0x52ef72,_0x2f92d8){const _0x1f7e78=_0x5b54aa;let _0x13f394=0.2,_0x2fc321=new _0x4943b0[(_0x1f7e78(0x282))](_0x4a8fab)[_0x1f7e78(0x321)](_0x13f394)[_0x1f7e78(0x296)](),_0x17d9d2=new _0x55d5e4[(_0x1f7e78(0x35b))](_0x1f7e78(0x2ad)+(0x0,_0x4943b0[_0x1f7e78(0xe5)])(0x6),{'pointsGroup':_0x270482,'fill':_0x2fc321||(0x0,_0x55d5e4[_0x1f7e78(0x395)])(_0x4943b0['COLORS']['black'],_0x13f394),'left':_0x52ef72,'top':_0x2f92d8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1f7e78(0xaa)][_0x1f7e78(0x3c3)](_0x17d9d2),this[_0x1f7e78(0x182)][_0x1f7e78(0x21d)](_0x17d9d2,_0x431c6f[_0x1f7e78(0x31f)]);}[_0x5b54aa(0x2a7)](_0x48550a,_0x30d965,_0x543d5a,_0x569f34){const _0x3e168f=_0x5b54aa;let _0x41d34=0.2,_0x54e8af=new _0x4943b0[(_0x3e168f(0x282))](_0x48550a)[_0x3e168f(0x321)](_0x41d34)[_0x3e168f(0x296)](),_0x5d0997=new _0x55d5e4[(_0x3e168f(0x35b))]('collab-rect-range-'+(0x0,_0x4943b0[_0x3e168f(0xe5)])(0x6),{'pointsGroup':_0x30d965,'fill':_0x54e8af||(0x0,_0x55d5e4[_0x3e168f(0x395)])(_0x4943b0[_0x3e168f(0x2c3)][_0x3e168f(0x1bc)],_0x41d34),'left':_0x543d5a,'top':_0x569f34,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3e168f(0xaa)]['push'](_0x5d0997),this[_0x3e168f(0x182)][_0x3e168f(0x21d)](_0x5d0997,_0x431c6f[_0x3e168f(0x31f)]);}[_0x5b54aa(0x14a)](_0x2b56aa){let _0x31c7e7=_0x2b56aa[0x0],_0x6522b2=_0x31c7e7[0x0],_0x4887d5=_0x31c7e7[0x2],{x:_0x32a227,y:_0x1481d1}=_0x6522b2,{x:_0x4e98ed,y:_0x4b2ba8}=_0x4887d5;return{'left':_0x32a227,'top':_0x1481d1,'width':_0x4e98ed-_0x32a227,'height':_0x4b2ba8-_0x1481d1};}[_0x5b54aa(0x223)](){const _0x161bf9=_0x5b54aa;let {scaleX:_0x2bac11,scaleY:_0x2bcd77}=this[_0x161bf9(0x182)]['getAncestorScale']();return Math[_0x161bf9(0x259)](_0x2bac11,_0x2bcd77);}};function _0x237924(_0x25bfde,_0x2bcb29){const _0x8793d=_0x5b54aa;if(!_0x2bcb29)return{'canRenderAnchor':!0x1,'canRenderSelection':!0x1};if(!_0x25bfde||_0x25bfde[_0x8793d(0x19f)]!==_0x2bcb29['pageType']||(_0x25bfde[_0x8793d(0x19f)]===_0x55d5e4[_0x8793d(0x1f4)][_0x8793d(0x2a9)]||_0x25bfde['pageType']===_0x55d5e4[_0x8793d(0x1f4)][_0x8793d(0x216)])&&_0x25bfde[_0x8793d(0x161)]!==_0x2bcb29['segmentPage'])return{'canRenderAnchor':!0x0,'canRenderSelection':!0x1};let _0x17a11f=(0x0,_0x55d5e4[_0x8793d(0x143)])(_0x25bfde),_0x497d84=(0x0,_0x55d5e4[_0x8793d(0x143)])(_0x2bcb29);return{'canRenderAnchor':!0x0,'canRenderSelection':_0x17a11f==null||_0x497d84==null?_0x17a11f==null&&_0x497d84==null:_0x17a11f[_0x8793d(0x2c9)]===_0x497d84['pageIndex']&&_0x17a11f['columnGroupId']===_0x497d84[_0x8793d(0x218)]&&_0x17a11f[_0x8793d(0x3ec)]===_0x497d84[_0x8793d(0x3ec)]};}let _0x21c178=class extends _0x4943b0[_0x5b54aa(0x35c)]{constructor(_0x5d1544,_0x1b9a15,_0x3f3050,_0x543f69,_0x54d76c){const _0x3929f2=_0x5b54aa;super(),this[_0x3929f2(0x263)]=_0x5d1544,this[_0x3929f2(0x1f7)]=_0x1b9a15,this[_0x3929f2(0xc6)]=_0x3f3050,this[_0x3929f2(0x18e)]=_0x543f69,this[_0x3929f2(0x392)]=_0x54d76c,_0x594b82(this,_0x3929f2(0x178),[]),_0x594b82(this,_0x3929f2(0x3b3),[]),this[_0x3929f2(0x3fc)]();}[_0x5b54aa(0x3fc)](){const _0x27d9a2=_0x5b54aa;let _0x1afbfe=this['_context'][_0x27d9a2(0x3b9)],_0x89ca3d=this[_0x27d9a2(0x1f7)];this[_0x27d9a2(0x283)]((0x0,_0x6726f3[_0x27d9a2(0x203)])([this[_0x27d9a2(0xc6)][_0x27d9a2(0x1a3)](_0x1afbfe),this[_0x27d9a2(0x392)][_0x27d9a2(0x3c1)]])['pipe']((0x0,_0x2ce8db[_0x27d9a2(0x2a1)])(([_0x103de3,_0x4c4088])=>({'skeleton':_0x89ca3d[_0x27d9a2(0x325)](),'cursors':[..._0x103de3[_0x27d9a2(0x123)]()]['flatMap'](_0x1a0ed8=>({..._0x1a0ed8,'color':this[_0x27d9a2(0x392)]['getColorFromTheme'](_0x1a0ed8[_0x27d9a2(0x397)])}))})))['subscribe'](_0x31255a=>{const _0x5bd153=_0x27d9a2;if(this[_0x5bd153(0x33b)](),_0x31255a){let {skeleton:_0x245ac1,cursors:_0x3bc73b}=_0x31255a;this[_0x5bd153(0x301)](_0x245ac1,_0x3bc73b);}})),this[_0x27d9a2(0x2a5)](),this[_0x27d9a2(0x16b)]();}['_updateCollabCursors'](_0x3f30d8,_0x363065){const _0x57b150=_0x5b54aa;let {scene:_0xa2995f,mainComponent:_0x3a63f3}=this[_0x57b150(0x263)],_0x11c923=_0x363065[_0x57b150(0x2a1)](_0x560d0c=>new _0x29e8ef(_0x560d0c,_0xa2995f,_0x3f30d8,_0x3a63f3));this[_0x57b150(0x178)]=_0x11c923,this['_cursors']=_0x363065;}[_0x5b54aa(0x2e9)](){const _0x272977=_0x5b54aa;this[_0x272977(0x33b)]();let {scene:_0x2c2edd,mainComponent:_0x8c0602}=this[_0x272977(0x263)],_0x20deee=this[_0x272977(0x1f7)][_0x272977(0x325)](),_0x399150=this[_0x272977(0x3b3)][_0x272977(0x2a1)](_0x53945e=>new _0x29e8ef(_0x53945e,_0x2c2edd,_0x20deee,_0x8c0602));this[_0x272977(0x178)]=_0x399150;}[_0x5b54aa(0x33b)](){const _0x7af8c2=_0x5b54aa;this[_0x7af8c2(0x178)][_0x7af8c2(0xe0)](_0x2e9a9e=>_0x2e9a9e[_0x7af8c2(0x337)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x2ee612=_0x5b54aa;let _0x37c0f6=[_0x431c6f[_0x2ee612(0x25d)]['id']];this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x375ebe=>{const _0x22c0b0=_0x2ee612;_0x37c0f6[_0x22c0b0(0x186)](_0x375ebe['id'])&&_0x375ebe['params'][_0x22c0b0(0x3b9)]===this[_0x22c0b0(0x263)][_0x22c0b0(0x3b9)]&&this[_0x22c0b0(0x2e9)]();}));}[_0x5b54aa(0x2a5)](){const _0x3f4e9a=_0x5b54aa;this[_0x3f4e9a(0x283)]((0x0,_0x4943b0[_0x3f4e9a(0x385)])(this[_0x3f4e9a(0x263)][_0x3f4e9a(0x11c)][_0x3f4e9a(0x2ab)])[_0x3f4e9a(0x338)]((0x0,_0x2ce8db[_0x3f4e9a(0x2ee)])(_0x378efe=>_0x378efe['type']===_0x55d5e4[_0x3f4e9a(0x3de)][_0x3f4e9a(0x3cc)]),(0x0,_0x2ce8db['throttleTime'])(0x10))[_0x3f4e9a(0xf0)](()=>{this['_refreshCollabCursors']();}));}};_0x21c178=_0x52e036([_0x5036f2(0x1,(0x0,_0x4943b0['Inject'])(_0x5b2323[_0x5b54aa(0x2d7)])),_0x5036f2(0x2,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x2b5738)),_0x5036f2(0x3,_0x4943b0[_0x5b54aa(0x16f)]),_0x5036f2(0x4,(0x0,_0x4943b0['Inject'])(_0x4943b0[_0x5b54aa(0xd1)]))],_0x21c178);var _0x39290c=class extends _0x55d5e4[_0x5b54aa(0x2ec)]{constructor(_0x18e908,_0x3ce66a){const _0x3323a1=_0x5b54aa;super(_0x18e908,_0x3ce66a),_0x594b82(this,_0x3323a1(0x19b),void 0x0),_0x594b82(this,_0x3323a1(0x1d2),!0x1),_0x594b82(this,_0x3323a1(0x3b1),void 0x0),_0x594b82(this,_0x3323a1(0xf1),''),_0x594b82(this,_0x3323a1(0x3a0),_0x3323a1(0x13d)),_0x594b82(this,_0x3323a1(0xe6),void 0x0),_0x594b82(this,_0x3323a1(0x327),void 0x0),_0x594b82(this,'_highlight',void 0x0),_0x594b82(this,_0x3323a1(0x382),0x4),_0x594b82(this,'_blinkTimer',void 0x0),_0x594b82(this,_0x3323a1(0x391),void 0x0),_0x594b82(this,_0x3323a1(0x367),!0x0),_0x594b82(this,_0x3323a1(0x2a6),0x0),_0x594b82(this,_0x3323a1(0x353),_0x3323a1(0x17f)),_0x3ce66a&&(this[_0x3323a1(0x1cf)](_0x3ce66a),_0x3ce66a[_0x3323a1(0x24a)]&&(_0x3ce66a[_0x3323a1(0xb8)]??this[_0x3323a1(0x382)])&&this[_0x3323a1(0x1b7)](_0x3ce66a['highlightSecond']??this[_0x3323a1(0x382)])),this[_0x3323a1(0xa3)][_0x3323a1(0xb9)](()=>this[_0x3323a1(0x1cf)]({'hovered':!0x0})),this[_0x3323a1(0x190)][_0x3323a1(0xb9)](()=>this[_0x3323a1(0x1cf)]({'hovered':!0x1}));}[_0x5b54aa(0x38d)](_0x2933d9){const _0x572935=_0x5b54aa;this[_0x572935(0x2a6)]=_0x2933d9;}[_0x5b54aa(0x1cf)](_0x462e99){const _0x1c3f13=_0x5b54aa;this[_0x1c3f13(0x19b)]=_0x462e99[_0x1c3f13(0x397)]??this['_color'],this['_hovered']=_0x462e99[_0x1c3f13(0xe8)]??this[_0x1c3f13(0x1d2)],this[_0x1c3f13(0x3b1)]=_0x462e99[_0x1c3f13(0x127)]??this[_0x1c3f13(0x3b1)],this[_0x1c3f13(0xf1)]=_0x462e99['name']??this[_0x1c3f13(0xf1)],this[_0x1c3f13(0x3a0)]=_0x462e99['labelPosition']??this[_0x1c3f13(0x3a0)],this[_0x1c3f13(0xe6)]=_0x462e99[_0x1c3f13(0x2b0)]??this[_0x1c3f13(0xe6)],this[_0x1c3f13(0x327)]=_0x462e99['showText']??this[_0x1c3f13(0x327)],this['_labelHorizontalPosition']=_0x462e99[_0x1c3f13(0x196)]??this['_labelHorizontalPosition'],_0x462e99['highlightSecond']!==void 0x0&&(this[_0x1c3f13(0x382)]=_0x462e99[_0x1c3f13(0xb8)]),_0x462e99['highlight']!==void 0x0&&(this[_0x1c3f13(0x2d0)]=_0x462e99[_0x1c3f13(0x24a)]),_0x462e99[_0x1c3f13(0x1ba)]!==void 0x0&&(this[_0x1c3f13(0x2a6)]=_0x462e99[_0x1c3f13(0x1ba)]),this[_0x1c3f13(0x20d)]({'width':_0x462e99[_0x1c3f13(0xab)],'height':_0x462e99[_0x1c3f13(0x107)]});}[_0x5b54aa(0x180)](_0x4ad988){const _0x425433=_0x5b54aa;let {row:_0x325e0a,column:_0x2c6ac9}=_0x4ad988;_0x325e0a>=this[_0x425433(0x3b1)]['startRow']&&_0x325e0a<=this[_0x425433(0x3b1)]['endRow']&&_0x2c6ac9>=this[_0x425433(0x3b1)][_0x425433(0x130)]&&_0x2c6ac9<=this[_0x425433(0x3b1)][_0x425433(0x118)]?this['setShapeProps']({'hovered':!0x0}):this['setShapeProps']({'hovered':!0x1});}[_0x5b54aa(0x1b7)](_0x1c70e1){const _0x33ba87=_0x5b54aa;this[_0x33ba87(0x2d3)](),this[_0x33ba87(0x367)]=!0x0,this[_0x33ba87(0x391)]=window['setInterval'](()=>{const _0x5622b1=_0x33ba87;this[_0x5622b1(0x367)]=!this[_0x5622b1(0x367)],this['makeDirty'](!0x0);},0x1f4),this[_0x33ba87(0x18b)]=window[_0x33ba87(0x2a8)](()=>{const _0x190ac5=_0x33ba87;this['_stopBlinking'](),this[_0x190ac5(0x367)]=!0x0,this[_0x190ac5(0x15c)](!0x0);},_0x1c70e1*0x3e8);}[_0x5b54aa(0x2d3)](){const _0x21faa1=_0x5b54aa;this[_0x21faa1(0x391)]&&=(window[_0x21faa1(0x106)](this[_0x21faa1(0x391)]),void 0x0),this[_0x21faa1(0x18b)]&&=(window['clearTimeout'](this[_0x21faa1(0x18b)]),void 0x0);}[_0x5b54aa(0xd0)](_0x2fd4fa){return!0x1;}['dispose'](){const _0x3ced2f=_0x5b54aa;this[_0x3ced2f(0x2d3)](),super[_0x3ced2f(0x337)]();}[_0x5b54aa(0x1b4)](_0x55c395){const _0x545035=_0x5b54aa;let _0x1875f2=this[_0x545035(0x19b)],_0x393602=this[_0x545035(0xe6)];if(this[_0x545035(0x2d0)]&&!this[_0x545035(0x367)]&&(_0x1875f2=this[_0x545035(0xda)](this[_0x545035(0x19b)]),_0x393602=this[_0x545035(0xe6)]?this[_0x545035(0xda)](this[_0x545035(0xe6)]):void 0x0),_0x55d5e4[_0x545035(0x323)][_0x545035(0x31c)](_0x55c395,{'width':this[_0x545035(0xab)],'height':this[_0x545035(0x107)],'strokeWidth':this[_0x545035(0x12e)]||1.5,'stroke':_0x1875f2,'evented':!0x1,'fill':_0x393602}),this[_0x545035(0x1d2)]||this[_0x545035(0x327)]){_0x55c395[_0x545035(0xa4)]();let _0xb88130=this[_0x545035(0x353)]===_0x545035(0x2cd)?-_0x426944(_0x55c395,this[_0x545035(0xf1)]):this[_0x545035(0xab)];_0x55c395[_0x545035(0x2f1)](0x1,0x0,0x0,0x1,_0xb88130,(this[_0x545035(0x3a0)]===_0x545035(0xf4)?0x0:-0x14)+(this['_offsetY']??0x0)),_0x8a909d[_0x545035(0x31c)](_0x55c395,{'text':this['_name'],'color':_0x1875f2}),_0x55c395[_0x545035(0x1fd)]();}}[_0x5b54aa(0xda)](_0x4d7b93){const _0x3e7bf0=_0x5b54aa;return _0x4d7b93['startsWith']('#')?'rgba('+Number[_0x3e7bf0(0xc1)](_0x4d7b93[_0x3e7bf0(0x285)](0x1,0x3),0x10)+',\x20'+Number[_0x3e7bf0(0xc1)](_0x4d7b93[_0x3e7bf0(0x285)](0x3,0x5),0x10)+',\x20'+Number['parseInt'](_0x4d7b93['slice'](0x5,0x7),0x10)+_0x3e7bf0(0x142):_0x4d7b93[_0x3e7bf0(0xc5)](_0x3e7bf0(0x24c))?_0x4d7b93[_0x3e7bf0(0x25a)](/[\d.]+\)$/g,_0x3e7bf0(0x111)):_0x4d7b93[_0x3e7bf0(0xc5)](_0x3e7bf0(0x2ac))?_0x4d7b93[_0x3e7bf0(0x25a)](_0x3e7bf0(0x2ac),'rgba')[_0x3e7bf0(0x25a)](')',_0x3e7bf0(0x142)):_0x4d7b93;}};let _0xee7229=class extends _0x4943b0[_0x5b54aa(0x35c)]{constructor(_0x38fbf9,_0xa63e1b,_0x3dd403,_0x49ef11){const _0x470638=_0x5b54aa;super(),this['_context']=_0x38fbf9,this[_0x470638(0xc7)]=_0xa63e1b,this[_0x470638(0xc6)]=_0x3dd403,this[_0x470638(0x392)]=_0x49ef11,_0x594b82(this,_0x470638(0x3b3),new Set()),_0x594b82(this,_0x470638(0x101),null),_0x594b82(this,_0x470638(0x250),null),this[_0x470638(0x3fc)]();}[_0x5b54aa(0x3fc)](){const _0x19f5cc=_0x5b54aa;this[_0x19f5cc(0xc7)][_0x19f5cc(0x2b3)]['pipe']((0x0,_0x2ce8db[_0x19f5cc(0x335)])(this[_0x19f5cc(0x28a)]),(0x0,_0x2ce8db['switchMap'])(_0x2c39b7=>{const _0x1c7486=_0x19f5cc;if(_0x2c39b7){let _0x5cc801=_0x2c39b7['sheetId'];return(0x0,_0x6726f3[_0x1c7486(0x203)])(this['_collabCursorController'][_0x1c7486(0x1a3)](this[_0x1c7486(0x263)][_0x1c7486(0x3b9)]),this[_0x1c7486(0x392)]['currentTheme$'])[_0x1c7486(0x338)]((0x0,_0x2ce8db[_0x1c7486(0x2a1)])(([_0x3f0a6c,_0xd725cf])=>{const _0x25c8f7=_0x1c7486;let _0x14ad48=new Map();return _0x3f0a6c[_0x25c8f7(0xe0)]((_0xb05188,_0x470d86)=>{const _0x2b4014=_0x25c8f7;if(_0xb05188['sheetID']===_0x5cc801){let _0xfd4dbb={..._0xb05188};_0xfd4dbb['color']=this[_0x2b4014(0x392)][_0x2b4014(0x176)](_0xb05188[_0x2b4014(0x397)]),_0x14ad48[_0x2b4014(0x357)](_0x470d86,_0xfd4dbb);}}),{'skeleton':_0x2c39b7,'cursors':_0x14ad48};}));}return(0x0,_0x6726f3['of'])({'skeleton':null,'cursors':new Map()});}))[_0x19f5cc(0xf0)](({skeleton:_0x4ac4e2,cursors:_0x343f69})=>{const _0xe66ec7=_0x19f5cc;this['_removeCollabCursors'](),_0x4ac4e2&&this[_0xe66ec7(0x301)](_0x4ac4e2,_0x343f69);}),this[_0x19f5cc(0x283)](this[_0x19f5cc(0xc7)][_0x19f5cc(0x2b3)][_0x19f5cc(0x338)]((0x0,_0x2ce8db['takeUntil'])(this['dispose$']))[_0x19f5cc(0xf0)](_0x5f1aab=>{const _0x2dadf0=_0x19f5cc;var _0x11f0ec;if(_0x5f1aab==null)return;(_0x11f0ec=this['_pointerMoveDisposable'])==null||_0x11f0ec['unsubscribe'](),this['_pointerMoveDisposable']=null;let {skeleton:_0x29fdaa}=_0x5f1aab,{scene:_0x416ede}=this['_context'];this[_0x2dadf0(0x250)]=_0x416ede[_0x2dadf0(0x273)]['subscribeEvent']((0x0,_0x4943b0[_0x2dadf0(0x3ea)])(_0x593d15=>{const _0x1a959d=_0x2dadf0;var _0x130d78,_0x105e24;let {offsetX:_0x44a2bd,offsetY:_0x1427b8}=_0x593d15,{x:_0x4d6bcd,y:_0x41b47a}=_0x416ede[_0x1a959d(0xae)](_0x55d5e4['Vector2'][_0x1a959d(0x275)]([_0x44a2bd,_0x1427b8])),{scaleX:_0x2eaac4,scaleY:_0x5e7807}=_0x416ede[_0x1a959d(0xe3)](),_0x4d81b3=_0x416ede[_0x1a959d(0x315)](_0x55d5e4[_0x1a959d(0x14f)]['VIEW_MAIN']),_0x33c188=_0x416ede[_0x1a959d(0x191)](_0x55d5e4[_0x1a959d(0x29d)][_0x1a959d(0x275)]([_0x4d6bcd,_0x41b47a]),_0x4d81b3),_0x21ace1=_0x29fdaa[_0x1a959d(0x201)](_0x44a2bd,_0x1427b8,_0x2eaac4,_0x5e7807,_0x33c188);(((_0x130d78=this[_0x1a959d(0x101)])==null?void 0x0:_0x130d78[_0x1a959d(0x35a)])!==_0x21ace1[_0x1a959d(0x35a)]||((_0x105e24=this[_0x1a959d(0x101)])==null?void 0x0:_0x105e24[_0x1a959d(0x277)])!==_0x21ace1['row'])&&this[_0x1a959d(0x3b3)][_0x1a959d(0xe0)](_0x30135e=>{const _0x2e88d8=_0x1a959d;_0x30135e[_0x2e88d8(0x180)](_0x21ace1);});},0x64));})),this[_0x19f5cc(0x283)]((0x0,_0x4943b0[_0x19f5cc(0x3eb)])(()=>{const _0x31bea7=_0x19f5cc;var _0x2e4a01;(_0x2e4a01=this[_0x31bea7(0x250)])==null||_0x2e4a01['unsubscribe'](),this['_pointerMoveDisposable']=null;}));}[_0x5b54aa(0x301)](_0x3215c7,_0x3bcffe){const _0x55b652=_0x5b54aa;let _0x1d6b75=this[_0x55b652(0xc7)][_0x55b652(0x3b8)]();if(!_0x1d6b75)return;let _0x521951=this[_0x55b652(0x3c4)]();if(!_0x521951)return;this['_cursors'][_0x55b652(0xe0)](_0xb80d95=>{const _0x562b63=_0x55b652;_0xb80d95[_0x562b63(0x15c)]();});let {scene:_0x27b20e}=_0x521951,_0xcb5164=_0x285f1c(Array[_0x55b652(0x3ab)](_0x3bcffe[_0x55b652(0x123)]()))[_0x55b652(0x2a1)](_0x7de355=>{const _0x29c5af=_0x55b652;let {color:_0x5e14a2,range:_0x3b7281,name:_0x59691f,selection:_0x2626c9,sheetID:_0x350585}=_0x7de355,{startColumn:_0x5af22f,startRow:_0x46be3f,endColumn:_0x187c4,endRow:_0x45d61e}=_0x3b7281,_0x7c927e=(0x0,_0x12ee9e[_0x29c5af(0x108)])(_0x46be3f,_0x5af22f,_0x27b20e,_0x1d6b75),_0x4ff8d5=(0x0,_0x12ee9e['getCoordByCell'])(_0x45d61e,_0x187c4,_0x27b20e,_0x1d6b75),{columnHeaderHeightAndMarginTop:_0x47d702}=_0x1d6b75,{startX:_0x5f4e4f,startY:_0x5455f9}=_0x7c927e,{endX:_0x5d8526,endY:_0x39b0f5}=_0x4ff8d5,_0x154cc8=_0x5d8526-_0x5f4e4f,_0x5d728a=_0x39b0f5-_0x5455f9;return new _0x39290c(_0x59691f,{'labelPosition':_0x5455f9-_0x47d702>=0x14?_0x29c5af(0x13d):_0x29c5af(0xf4),'sheetID':_0x350585,'range':_0x3b7281,'color':_0x5e14a2,'name':_0x59691f,'selection':_0x2626c9,'left':_0x5f4e4f,'top':_0x5455f9,'width':_0x154cc8,'height':_0x5d728a,'evented':!0x1,'zIndex':0x1389});});_0x27b20e[_0x55b652(0x36b)](_0xcb5164,0x1),this['_cursors']=new Set(_0xcb5164);}['_removeCollabCursors'](){const _0x42045b=_0x5b54aa;var _0x45248f;(_0x45248f=this[_0x42045b(0x3b3)])==null||_0x45248f[_0x42045b(0xe0)](_0x3ad0ab=>_0x3ad0ab[_0x42045b(0x337)]());}[_0x5b54aa(0x3c4)](){const _0x3938c7=_0x5b54aa;return(0x0,_0x12ee9e[_0x3938c7(0x146)])(this[_0x3938c7(0x263)][_0x3938c7(0x1d5)],this[_0x3938c7(0x263)]);}};_0xee7229=_0x52e036([_0x5036f2(0x1,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x12ee9e[_0x5b54aa(0x140)])),_0x5036f2(0x2,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x2b5738)),_0x5036f2(0x3,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x4943b0[_0x5b54aa(0xd1)]))],_0xee7229);function _0x285f1c(_0x260b79){const _0x3343c4=_0x5b54aa;let _0x2957f5=new Map();return _0x260b79['forEach'](_0x41b1a6=>{const _0x1ac95c=_0x424e;if(_0x2957f5['has'](_0x41b1a6[_0x1ac95c(0xec)])){let _0x58b81a=_0x2957f5['get'](_0x41b1a6['selection']);_0x58b81a[_0x1ac95c(0x16a)]+=',\x20'+_0x41b1a6[_0x1ac95c(0x16a)];}else _0x2957f5['set'](_0x41b1a6[_0x1ac95c(0xec)],_0x41b1a6);}),Array[_0x3343c4(0x3ab)](_0x2957f5[_0x3343c4(0x123)]());}function _0x426b46(_0x3b1848){const _0x200276=_0x5b54aa;return typeof _0x3b1848==_0x200276(0x1e4)&&!!_0x3b1848;}function _0x39cfe8(_0x2d5b6c){const _0x2d755a=_0x5b54aa;return _0x2d5b6c[_0x2d755a(0x1ff)]===_0x2be976[_0x2d755a(0x290)]['UPDATE_CURSOR']&&'data'in _0x2d5b6c&&_0x426b46(_0x2d5b6c['data'])&&typeof _0x2d5b6c['data'][_0x2d755a(0xd9)]==_0x2d755a(0x1c3)&&typeof _0x2d5b6c[_0x2d755a(0x242)][_0x2d755a(0xec)]==_0x2d755a(0x1c3);}function _0x32a04a(_0x550928){const _0x52929c=_0x5b54aa;return _0x550928['eventID']===_0x2be976[_0x52929c(0x290)][_0x52929c(0x14b)]&&'data'in _0x550928&&_0x426b46(_0x550928['data'])&&typeof _0x550928['data'][_0x52929c(0xd9)]==_0x52929c(0x1c3);}function _0x451289(_0xf22deb,_0x5839d8){const _0x3a9983=_0x5b54aa;let _0x5c79cd;try{_0x5c79cd=JSON[_0x3a9983(0x3fd)](_0xf22deb);}catch{return null;}if(!_0x426b46(_0x5c79cd)||typeof _0x5c79cd[_0x3a9983(0x20a)]!=_0x3a9983(0x1c3)||typeof _0x5c79cd[_0x3a9983(0x3b9)]!=_0x3a9983(0x1c3)||typeof _0x5c79cd[_0x3a9983(0x3a4)]!=_0x3a9983(0x1c3))return null;let _0x566948=typeof _0x5c79cd[_0x3a9983(0x36a)]==_0x3a9983(0x224)?_0x5c79cd[_0x3a9983(0x36a)]:_0x5839d8;if(_0x566948==null)return null;let _0x572741=_0x426b46(_0x5c79cd[_0x3a9983(0xc2)])&&typeof _0x5c79cd[_0x3a9983(0xc2)]['x']==_0x3a9983(0x224)&&Number[_0x3a9983(0x1a6)](_0x5c79cd['pointer']['x'])&&typeof _0x5c79cd[_0x3a9983(0xc2)]['y']==_0x3a9983(0x224)&&Number[_0x3a9983(0x1a6)](_0x5c79cd[_0x3a9983(0xc2)]['y'])?{'x':_0x5c79cd['pointer']['x'],'y':_0x5c79cd['pointer']['y']}:null;return{'kind':_0x5c79cd[_0x3a9983(0x20a)],'unitType':_0x566948,'unitId':_0x5c79cd[_0x3a9983(0x3b9)],'subUnitId':_0x5c79cd[_0x3a9983(0x3a4)],'selectedIds':Array[_0x3a9983(0x1da)](_0x5c79cd[_0x3a9983(0x151)])?_0x5c79cd['selectedIds']['filter'](_0x39f247=>typeof _0x39f247==_0x3a9983(0x1c3)):[],'focusedId':typeof _0x5c79cd['focusedId']==_0x3a9983(0x1c3)?_0x5c79cd[_0x3a9983(0x3e7)]:null,'pointer':_0x572741};}function _0x39ee35(_0x431c75,_0x565857,_0x27382f){const _0x9885ae=_0x5b54aa;return{'kind':_0x565857,'unitType':_0x431c75,'unitId':_0x27382f[_0x9885ae(0x3b9)],'subUnitId':_0x27382f['subUnitId'],'selectedIds':Array[_0x9885ae(0x3ab)](_0x27382f[_0x9885ae(0x151)]),'focusedId':_0x27382f['focusedId'],'pointer':_0x27382f[_0x9885ae(0xc2)]?{..._0x27382f[_0x9885ae(0xc2)]}:null};}let _0x403c86=class extends _0x4943b0[_0x5b54aa(0x35c)]{constructor(_0x4de426,_0x3ce0dd,_0x2b1312,_0x2b9881,_0x2a9e99,_0x5e99af){const _0x287b14=_0x5b54aa;super(),this['unitId']=_0x4de426,this['_session']=_0x3ce0dd,this[_0x287b14(0x3ce)]=_0x2b1312,this[_0x287b14(0x333)]=_0x2b9881,this[_0x287b14(0x361)]=_0x2a9e99,this[_0x287b14(0x18e)]=_0x5e99af,_0x594b82(this,'_online',!0x1),_0x594b82(this,_0x287b14(0x3ae),!0x1);}get[_0x5b54aa(0x36a)](){return this['_adapter']['unitType'];}[_0x5b54aa(0x337)](){const _0x51aaf2=_0x5b54aa;this[_0x51aaf2(0x3db)](),super['dispose']();}[_0x5b54aa(0x3a5)](){const _0x49091d=_0x5b54aa;this['_initialized']||(this[_0x49091d(0x3ae)]=!0x0,this[_0x49091d(0x2cb)][_0x49091d(0x172)][_0x49091d(0x338)]((0x0,_0x6726f3[_0x49091d(0x335)])(this[_0x49091d(0x28a)]))['subscribe'](_0x5183d3=>{const _0x39c138=_0x49091d;if(_0x5183d3===_0x256aaf[_0x39c138(0x34c)][_0x39c138(0x373)]){this['_online']=!0x0;let _0x6b2b17=this[_0x39c138(0x3ce)][_0x39c138(0x165)](this['unitId']);_0x6b2b17&&this[_0x39c138(0x24f)](_0x6b2b17);}else this['_online']=!0x1,this[_0x39c138(0x3db)]();}),this[_0x49091d(0x2cb)][_0x49091d(0x33e)]['pipe']((0x0,_0x6726f3[_0x49091d(0x335)])(this['dispose$']))[_0x49091d(0xf0)](_0x278704=>{const _0x2cc6b9=_0x49091d;_0x39cfe8(_0x278704)?this[_0x2cc6b9(0x358)](_0x278704):_0x32a04a(_0x278704)&&this[_0x2cc6b9(0x317)](_0x278704[_0x2cc6b9(0x242)][_0x2cc6b9(0xd9)]);}),this['_adapter']['localPresence$']['pipe']((0x0,_0x6726f3['filter'])(_0x26232b=>this[_0x49091d(0x274)]&&_0x26232b[_0x49091d(0x3b9)]===this[_0x49091d(0x3b9)]),(0x0,_0x6726f3[_0x49091d(0x387)])(_0x31dc94=>(0x0,_0x6726f3[_0x49091d(0x281)])(_0x31dc94['shareInterval']),{'leading':!0x0,'trailing':!0x0}),(0x0,_0x6726f3[_0x49091d(0x335)])(this[_0x49091d(0x28a)]))['subscribe'](_0x7f2fcd=>this[_0x49091d(0x24f)](_0x7f2fcd)));}['_sendLocalPresence'](_0x23bfee){const _0x4662a7=_0x5b54aa;let _0x581a80=this['_session'][_0x4662a7(0x316)]();if(!_0x581a80||!this['_online'])return;let _0x2acae9={'eventID':_0x2be976['CollaborationEvent'][_0x4662a7(0x2d9)],'data':{'unitID':this[_0x4662a7(0x3b9)],'memberID':_0x581a80,'selection':JSON['stringify'](_0x39ee35(this[_0x4662a7(0x36a)],this[_0x4662a7(0x3ce)][_0x4662a7(0x3bb)],_0x23bfee))}};this[_0x4662a7(0x2cb)][_0x4662a7(0x21e)](_0x2acae9,this['unitId'])[_0x4662a7(0x2c5)](()=>void 0x0);}[_0x5b54aa(0x358)](_0x1f3736){const _0x2cef3f=_0x5b54aa;let {memberID:_0x2ab64,selection:_0x197f22}=_0x1f3736[_0x2cef3f(0x242)];if(_0x2ab64===this['_session']['getMemberID']())return;let _0x538ed2=_0x451289(_0x197f22,this['unitType']);if(!_0x538ed2||_0x538ed2[_0x2cef3f(0x20a)]!==this[_0x2cef3f(0x3ce)]['presenceKind']||_0x538ed2[_0x2cef3f(0x36a)]!==this[_0x2cef3f(0x36a)]||_0x538ed2[_0x2cef3f(0x3b9)]!==this['unitId'])return;let _0x5c8a1f=this['_memberService']['getMember'](this[_0x2cef3f(0x3b9)],_0x2ab64),_0x4dc7a0={'unitId':_0x538ed2['unitId'],'subUnitId':_0x538ed2[_0x2cef3f(0x3a4)],'selectedIds':_0x538ed2[_0x2cef3f(0x151)],'focusedId':_0x538ed2[_0x2cef3f(0x3e7)],'pointer':_0x538ed2[_0x2cef3f(0xc2)],'memberId':_0x2ab64,'color':this[_0x2cef3f(0x333)][_0x2cef3f(0x39c)](_0x2ab64),'name':(_0x5c8a1f==null?void 0x0:_0x5c8a1f[_0x2cef3f(0x16a)])??_0x2ab64};this[_0x2cef3f(0x18e)]['executeCommand'](_0x2f316f['id'],{'unitType':this[_0x2cef3f(0x36a)],'update':{'type':_0x2cef3f(0x357),'state':_0x4dc7a0}})['catch'](()=>void 0x0);}[_0x5b54aa(0x317)](_0x3e82a2){const _0x2363c2=_0x5b54aa;this[_0x2363c2(0x18e)][_0x2363c2(0x3b6)](_0x2f316f['id'],{'unitType':this[_0x2363c2(0x36a)],'update':{'type':_0x2363c2(0x3b2),'unitId':this[_0x2363c2(0x3b9)],'memberId':_0x3e82a2}})[_0x2363c2(0x2c5)](()=>void 0x0);}['_clearRemotePresences'](){const _0xe4c552=_0x5b54aa;this[_0xe4c552(0x18e)]['executeCommand'](_0x2f316f['id'],{'unitType':this[_0xe4c552(0x36a)],'update':{'type':_0xe4c552(0x1f1),'unitId':this[_0xe4c552(0x3b9)]}})[_0xe4c552(0x2c5)](()=>void 0x0);}};_0x403c86=_0x52e036([_0x5036f2(0x3,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x486605)),_0x5036f2(0x4,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x256aaf['MemberService'])),_0x5036f2(0x5,(0x0,_0x4943b0['Inject'])(_0x4943b0['ICommandService']))],_0x403c86);let _0x3024b8=class extends _0x4943b0[_0x5b54aa(0x35c)]{constructor(_0xdb092a,_0x30d171,_0xc6affd,_0xf3cc42){const _0x24fbdc=_0x5b54aa;super(),this['_univerInstanceService']=_0xdb092a,this[_0x24fbdc(0x2c0)]=_0x30d171,this[_0x24fbdc(0x279)]=_0xc6affd,this[_0x24fbdc(0x12c)]=_0xf3cc42,_0x594b82(this,_0x24fbdc(0x104),!0x1),_0x594b82(this,_0x24fbdc(0x286),new Map()),_0x594b82(this,'_pendingEntities',new Map()),_0x594b82(this,_0x24fbdc(0x207),new Map()),this['_init']();}[_0x5b54aa(0x337)](){const _0x1d1589=_0x5b54aa;this['_isDisposed']=!0x0,this[_0x1d1589(0x207)]['forEach'](_0x372419=>_0x372419[_0x1d1589(0x337)]()),this[_0x1d1589(0x207)][_0x1d1589(0x1f1)](),this[_0x1d1589(0x286)][_0x1d1589(0xe0)](_0x599e8c=>_0x599e8c['dispose']()),this['_entities']['clear'](),this[_0x1d1589(0x26b)][_0x1d1589(0x1f1)](),super[_0x1d1589(0x337)]();}[_0x5b54aa(0x3fc)](){const _0x4667ba=_0x5b54aa;this[_0x4667ba(0x12c)][_0x4667ba(0x171)][_0x4667ba(0x338)]((0x0,_0x6726f3['takeUntil'])(this['dispose$']))[_0x4667ba(0xf0)](_0x293497=>this[_0x4667ba(0x376)](_0x293497));}[_0x5b54aa(0x376)](_0x173740){const _0x267063=_0x5b54aa;let _0x4c98ab=new Set(_0x173740[_0x267063(0x2a1)](_0x511618=>_0x511618[_0x267063(0x36a)]));this[_0x267063(0x207)]['forEach']((_0x2695ce,_0x264973)=>{const _0x2a549b=_0x267063;_0x4c98ab[_0x2a549b(0x303)](_0x264973)||(_0x2695ce[_0x2a549b(0x337)](),this['_adapterDisposables']['delete'](_0x264973),this[_0x2a549b(0x389)](_0x264973));}),_0x173740[_0x267063(0xe0)](_0x3fbf3c=>{const _0x185983=_0x267063;this['_adapterDisposables'][_0x185983(0x303)](_0x3fbf3c['unitType'])||this[_0x185983(0x39d)](_0x3fbf3c);});}[_0x5b54aa(0x39d)](_0x43f7af){const _0x16b427=_0x5b54aa;let _0x36b304=new _0x4943b0[(_0x16b427(0x352))]();this['_adapterDisposables']['set'](_0x43f7af[_0x16b427(0x36a)],_0x36b304),_0x36b304[_0x16b427(0x3e3)](_0x43f7af[_0x16b427(0x34e)]()),this['_univerInstanceService']['getAllUnitsForType'](_0x43f7af[_0x16b427(0x36a)])[_0x16b427(0xe0)](_0x5553a6=>this[_0x16b427(0x31b)](_0x5553a6[_0x16b427(0x371)](),_0x43f7af)[_0x16b427(0x2c5)](()=>void 0x0));let _0x2a4790=this[_0x16b427(0x1f6)]['getTypeOfUnitAdded$'](_0x43f7af[_0x16b427(0x36a)])[_0x16b427(0xf0)](({unit:_0x25db44})=>this[_0x16b427(0x31b)](_0x25db44[_0x16b427(0x371)](),_0x43f7af)['catch'](()=>void 0x0));_0x36b304[_0x16b427(0x3e3)]((0x0,_0x4943b0['toDisposable'])(()=>_0x2a4790[_0x16b427(0x1b6)]()));let _0x38290e=this[_0x16b427(0x1f6)]['getTypeOfUnitDisposed$'](_0x43f7af[_0x16b427(0x36a)])[_0x16b427(0xf0)](_0x36fdc6=>this[_0x16b427(0x378)](_0x36fdc6[_0x16b427(0x371)]()));_0x36b304[_0x16b427(0x3e3)]((0x0,_0x4943b0[_0x16b427(0x3eb)])(()=>_0x38290e[_0x16b427(0x1b6)]()));}async[_0x5b54aa(0x31b)](_0x4beda4,_0xa0d239){const _0x267f9e=_0x5b54aa;if(this['_entities']['has'](_0x4beda4)||this[_0x267f9e(0x26b)]['has'](_0x4beda4))return;let _0x54c222={};this[_0x267f9e(0x26b)]['set'](_0x4beda4,_0x54c222);let _0x21d318=await this[_0x267f9e(0x279)][_0x267f9e(0x405)](_0x4beda4)[_0x267f9e(0x2c5)](_0x32b578=>{const _0x156ce9=_0x267f9e;throw this[_0x156ce9(0x26b)]['get'](_0x4beda4)===_0x54c222&&this['_pendingEntities'][_0x156ce9(0x37e)](_0x4beda4),_0x32b578;});if(this['_isDisposed']||this[_0x267f9e(0x26b)][_0x267f9e(0x131)](_0x4beda4)!==_0x54c222||this[_0x267f9e(0x12c)][_0x267f9e(0x131)](_0xa0d239[_0x267f9e(0x36a)])!==_0xa0d239){this['_pendingEntities'][_0x267f9e(0x131)](_0x4beda4)===_0x54c222&&this[_0x267f9e(0x26b)]['delete'](_0x4beda4);return;}let _0x46cc60=this[_0x267f9e(0x2c0)][_0x267f9e(0x350)](_0x403c86,_0x4beda4,_0x21d318,_0xa0d239);_0x46cc60['init'](),this[_0x267f9e(0x26b)][_0x267f9e(0x37e)](_0x4beda4),this[_0x267f9e(0x286)][_0x267f9e(0x357)](_0x4beda4,_0x46cc60);}[_0x5b54aa(0x378)](_0x5dfd71){const _0x57edf6=_0x5b54aa;this[_0x57edf6(0x26b)][_0x57edf6(0x37e)](_0x5dfd71);let _0x3f003b=this[_0x57edf6(0x286)][_0x57edf6(0x131)](_0x5dfd71);_0x3f003b&&(_0x3f003b['dispose'](),this[_0x57edf6(0x286)][_0x57edf6(0x37e)](_0x5dfd71));}[_0x5b54aa(0x389)](_0x477b99){const _0x225dd4=_0x5b54aa;this[_0x225dd4(0x1f6)][_0x225dd4(0x2b8)](_0x477b99)[_0x225dd4(0xe0)](_0x1b65d4=>this[_0x225dd4(0x26b)][_0x225dd4(0x37e)](_0x1b65d4[_0x225dd4(0x371)]())),Array[_0x225dd4(0x3ab)](this['_entities'][_0x225dd4(0x3a1)]())['forEach'](([_0x3804a5,_0x4d44d8])=>{const _0xe3dad1=_0x225dd4;_0x4d44d8[_0xe3dad1(0x36a)]===_0x477b99&&this['_disposeEntity'](_0x3804a5);});}};_0x3024b8=_0x52e036([_0x5036f2(0x0,_0x4943b0[_0x5b54aa(0xd5)]),_0x5036f2(0x1,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x4943b0['Injector'])),_0x5036f2(0x2,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x256aaf[_0x5b54aa(0x1dd)])),_0x5036f2(0x3,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x498f79[_0x5b54aa(0x309)]))],_0x3024b8);let _0x4ff37e={'toast':'!univer-grid\x20univer-grid-cols-[16px_minmax(0,1fr)]\x20univer-items-start\x20univer-gap-x-1.5\x20univer-gap-y-2','actionButton':_0x5b54aa(0x246)},_0x22091f={'title':_0x5b54aa(0x3d3),'content':_0x5b54aa(0x3ef),'type':_0x5b54aa(0x24b)},_0x5b4053={'permission_rejected':{'title':'collaboration-client-ui.permission.title','content':_0x5b54aa(0x157),'type':_0x5b54aa(0x24b)},'license_unit_type_rejected':{'title':_0x5b54aa(0x214),'content':_0x5b54aa(0x2f5),'type':_0x5b54aa(0x24b)},'remote_revert':{'title':_0x5b54aa(0x3d8),'content':_0x5b54aa(0x3c7),'type':_0x5b54aa(0x3f0)}},_0x53a9cc=class extends _0x4943b0[_0x5b54aa(0x406)]{constructor(_0x281715,_0x1d49e7,_0x5afe6a,_0x50804b,_0x2515cc,_0x2bac33,_0x49e53b,_0x458347){const _0x4f5e0d=_0x5b54aa;var _0x41aaed;super(),this[_0x4f5e0d(0x1e6)]=_0x281715,this[_0x4f5e0d(0x34a)]=_0x1d49e7,this[_0x4f5e0d(0x2bd)]=_0x5afe6a,this[_0x4f5e0d(0xcc)]=_0x50804b,this[_0x4f5e0d(0xb2)]=_0x2515cc,this[_0x4f5e0d(0x217)]=_0x2bac33,this[_0x4f5e0d(0x19e)]=_0x49e53b,this['_configService']=_0x458347,_0x594b82(this,'_conflictNotification',null),_0x594b82(this,_0x4f5e0d(0x26a),new Set()),_0x594b82(this,'_saveTimedOutNotices',new Map()),_0x594b82(this,_0x4f5e0d(0x226),new Map()),this[_0x4f5e0d(0x154)](),this[_0x4f5e0d(0xdd)](),this[_0x4f5e0d(0x1a5)](),((_0x41aaed=this[_0x4f5e0d(0x3cf)][_0x4f5e0d(0x163)](_0x4f5e0d(0x1d3)))==null?void 0x0:_0x41aaed[_0x4f5e0d(0x3e0)])!==!0x1&&this[_0x4f5e0d(0x1a1)]();}[_0x5b54aa(0x337)](){const _0x500828=_0x5b54aa;var _0x3c3edf;(_0x3c3edf=this['_conflictNotification'])==null||_0x3c3edf[_0x500828(0x337)](),this[_0x500828(0x32c)]=null;for(let _0x418412 of[this[_0x500828(0x39a)],this[_0x500828(0x226)]])_0x418412[_0x500828(0xe0)](_0x4351b9=>_0x4351b9[_0x500828(0x337)]()),_0x418412[_0x500828(0x1f1)]();super['dispose']();}['_initAwaitingNotices'](){const _0x19a828=_0x5b54aa;let _0xb3cced=_0x4d74df=>{const _0x1f2752=_0x424e;let _0x3699b5=new _0x4943b0[(_0x1f2752(0x352))]();_0x3699b5['add']((0x0,_0x4943b0[_0x1f2752(0x3eb)])(_0x4d74df[_0x1f2752(0x368)][_0x1f2752(0xf0)]({'next':_0x1ee770=>{const _0x31cf03=_0x1f2752;_0x1ee770[_0x31cf03(0x1c4)]>=0x4e20&&this[_0x31cf03(0x244)](this[_0x31cf03(0x39a)],_0x4d74df[_0x31cf03(0xb5)],_0x31cf03(0x287)),_0x1ee770[_0x31cf03(0x33f)]==='license_editing_connections_exceeded'&&this['_showAwaitingNotice'](this[_0x31cf03(0x226)],_0x4d74df['unitID'],_0x31cf03(0x187));},'complete':()=>{const _0x367b74=_0x1f2752;this[_0x367b74(0x1e2)](_0x4d74df[_0x367b74(0xb5)]),_0x3699b5[_0x367b74(0x337)]();}}))),_0x3699b5[_0x1f2752(0x3e3)]((0x0,_0x4943b0[_0x1f2752(0x3eb)])(_0x4d74df[_0x1f2752(0x33a)][_0x1f2752(0xf0)](_0xa9cae9=>{const _0x55d7d1=_0x1f2752;_0xa9cae9!==_0x256aaf[_0x55d7d1(0x1a7)][_0x55d7d1(0x2a3)]&&_0xa9cae9!==_0x256aaf[_0x55d7d1(0x1a7)][_0x55d7d1(0x1f2)]&&this[_0x55d7d1(0x1e2)](_0x4d74df[_0x55d7d1(0xb5)]);}))),this[_0x1f2752(0x283)](_0x3699b5);};this[_0x19a828(0x19e)][_0x19a828(0x1a2)]()['forEach'](_0xb3cced),this[_0x19a828(0x283)]((0x0,_0x4943b0[_0x19a828(0x3eb)])(this[_0x19a828(0x19e)][_0x19a828(0x3bd)][_0x19a828(0xf0)](_0xb3cced)));}[_0x5b54aa(0x244)](_0x27db4c,_0xe3d5a9,_0x4935f1){const _0x1df888=_0x5b54aa;_0x27db4c['has'](_0xe3d5a9)||_0x27db4c[_0x1df888(0x357)](_0xe3d5a9,this[_0x1df888(0xb2)][_0x1df888(0x3af)]({'title':this[_0x1df888(0x217)]['t'](_0x4935f1),'type':_0x1df888(0x3f0),'duration':0x1/0x0,'closable':!0x0,'dismissible':!0x0}));}[_0x5b54aa(0x1e2)](_0x47767b){const _0x4cd42c=_0x5b54aa;for(let _0x20b261 of[this[_0x4cd42c(0x39a)],this[_0x4cd42c(0x226)]]){var _0x31b3a5;(_0x31b3a5=_0x20b261['get'](_0x47767b))==null||_0x31b3a5[_0x4cd42c(0x337)](),_0x20b261['delete'](_0x47767b);}}['_setupBeforeClosingHandler'](){const _0x35d957=_0x5b54aa;this[_0x35d957(0x283)](this[_0x35d957(0x1e6)][_0x35d957(0xfc)](()=>{const _0x357214=_0x35d957;if(this[_0x357214(0x34a)]['saveTaskMap'][_0x357214(0x1ec)])return this[_0x357214(0x217)]['t'](_0x357214(0x38c));}));}[_0x5b54aa(0x1a1)](){const _0x5000a4=_0x5b54aa;let _0x1254b0=_0x1dea44=>{const _0x3cb7b2=_0x424e;this[_0x3cb7b2(0x283)]((0x0,_0x4943b0[_0x3cb7b2(0x3eb)])(_0x1dea44['conflict$'][_0x3cb7b2(0xf0)](_0x2b2e6c=>this[_0x3cb7b2(0xaf)](_0x2b2e6c))));};this[_0x5000a4(0x19e)][_0x5000a4(0x1a2)]()['forEach'](_0x1254b0),this[_0x5000a4(0x283)]((0x0,_0x4943b0[_0x5000a4(0x3eb)])(this[_0x5000a4(0x19e)]['entityInit$'][_0x5000a4(0xf0)](_0x1254b0)));}[_0x5b54aa(0xaf)](_0x95770f){const _0x111362=_0x5b54aa;if(!_0x95770f[_0x111362(0x2c7)])return;let _0x143a70=_0x5b4053[_0x95770f[_0x111362(0x33f)]]??_0x22091f;this['_replaceConflictNotification']({'title':this[_0x111362(0x217)]['t'](_0x143a70['title']),'content':this[_0x111362(0x217)]['t'](_0x143a70[_0x111362(0x3ac)]),'type':_0x143a70['type'],'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'classNames':_0x4ff37e,'action':{'label':this[_0x111362(0x217)]['t'](_0x111362(0x2fa)),'onClick':_0x2ae19a=>{const _0x42a231=_0x111362;_0x2ae19a[_0x42a231(0x26c)](),this[_0x42a231(0x351)]();}}});}[_0x5b54aa(0x351)](){const _0x306229=_0x5b54aa;window[_0x306229(0x313)][_0x306229(0x3d5)]();}[_0x5b54aa(0xdd)](){const _0x3e2f2c=_0x5b54aa;this[_0x3e2f2c(0x283)](this[_0x3e2f2c(0x2bd)]['event$'][_0x3e2f2c(0xf0)](_0x531518=>{const _0x2057d6=_0x3e2f2c;_0x531518['id']===_0x256aaf[_0x2057d6(0x2b1)][_0x2057d6(0x3ad)]&&this['_messageService'][_0x2057d6(0x3af)]({'type':_0x222a52[_0x2057d6(0x359)][_0x2057d6(0x3b5)],'content':this[_0x2057d6(0x217)]['t'](_0x2057d6(0x328))}),_0x531518['id']===_0x256aaf[_0x2057d6(0x2b1)]['CLOSE_ROOM']&&this[_0x2057d6(0xcc)][_0x2057d6(0x3af)]({'type':_0x222a52['MessageType'][_0x2057d6(0x3b5)],'content':this[_0x2057d6(0x217)]['t'](_0x2057d6(0x2e5))}),_0x531518['id']===_0x256aaf[_0x2057d6(0x2b1)][_0x2057d6(0x37d)]&&this[_0x2057d6(0xe1)](),_0x531518['id']===_0x256aaf[_0x2057d6(0x2b1)][_0x2057d6(0x17d)]&&_0x531518[_0x2057d6(0xb5)]&&this[_0x2057d6(0x354)](_0x531518[_0x2057d6(0xb5)],_0x531518[_0x2057d6(0x2f8)]??''),_0x531518['id']===_0x256aaf[_0x2057d6(0x2b1)][_0x2057d6(0x10a)]&&this[_0x2057d6(0xcc)][_0x2057d6(0x3af)]({'type':_0x222a52[_0x2057d6(0x359)][_0x2057d6(0x3b5)],'content':this[_0x2057d6(0x217)]['t'](_0x531518[_0x2057d6(0x242)]||'')}),_0x531518['id']===_0x256aaf[_0x2057d6(0x2b1)][_0x2057d6(0x155)]&&this[_0x2057d6(0xcc)][_0x2057d6(0x3af)]({'type':_0x222a52['MessageType'][_0x2057d6(0x3b5)],'content':this[_0x2057d6(0x217)]['t']('collaboration-client-ui.session.will-retry')}),_0x531518['id']===_0x256aaf[_0x2057d6(0x2b1)]['SOCKET_FAILED']&&this['_messageService'][_0x2057d6(0x3af)]({'type':_0x222a52[_0x2057d6(0x359)]['Error'],'content':this[_0x2057d6(0x217)]['t'](_0x2057d6(0xd2))}),_0x531518['id']===_0x256aaf[_0x2057d6(0x2b1)][_0x2057d6(0x3c6)]&&this[_0x2057d6(0xcc)][_0x2057d6(0x3af)]({'type':_0x222a52[_0x2057d6(0x359)][_0x2057d6(0x237)],'content':this[_0x2057d6(0x217)]['t']('collaboration-client-ui.license.domain-rejected')});}));}[_0x5b54aa(0xe1)](){const _0x46364e=_0x5b54aa;this[_0x46364e(0x32e)]({'title':this['_localeService']['t'](_0x46364e(0x3d3)),'content':this[_0x46364e(0x217)]['t'](_0x46364e(0x2c1)),'type':'loading','duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1});}[_0x5b54aa(0x354)](_0x4671bb,_0x3d0fce){const _0x1bdfcb=_0x5b54aa;this['_replaceConflictNotification']({'title':this['_localeService']['t'](_0x1bdfcb(0x3d3)),'content':this[_0x1bdfcb(0x217)]['t'](_0x1bdfcb(0x272)),'type':_0x1bdfcb(0x24b),'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'classNames':_0x4ff37e,'action':{'label':this[_0x1bdfcb(0x217)]['t'](_0x1bdfcb(0x377)),'onClick':_0x5a1ec6=>{const _0x828942=_0x1bdfcb;_0x5a1ec6[_0x828942(0x26c)](),this['_retryConflictCacheClear'](_0x4671bb,_0x3d0fce);}}});}['_retryConflictCacheClear'](_0x5821ca,_0x5af8a9){const _0x5c37da=_0x5b54aa;let _0x48d3bf=_0x5821ca+':'+(_0x5af8a9??'');this[_0x5c37da(0x26a)][_0x5c37da(0x303)](_0x48d3bf)||(this[_0x5c37da(0x26a)][_0x5c37da(0x3e3)](_0x48d3bf),this[_0x5c37da(0xe1)](),this[_0x5c37da(0x34a)][_0x5c37da(0x32d)](_0x5821ca,_0x5af8a9)[_0x5c37da(0xf2)](()=>this[_0x5c37da(0x351)]())[_0x5c37da(0x2c5)](()=>this[_0x5c37da(0x354)](_0x5821ca,_0x5af8a9))['finally'](()=>this['_retryingConflictCacheUnitIDs'][_0x5c37da(0x37e)](_0x48d3bf)));}[_0x5b54aa(0x32e)](_0x11316f){const _0x9217a7=_0x5b54aa;var _0x5d3eb9;(_0x5d3eb9=this[_0x9217a7(0x32c)])==null||_0x5d3eb9[_0x9217a7(0x337)](),this['_conflictNotification']=this[_0x9217a7(0xb2)][_0x9217a7(0x3af)](_0x11316f);}};_0x53a9cc=_0x52e036([_0x5036f2(0x0,_0x498f79[_0x5b54aa(0x3be)]),_0x5036f2(0x1,_0x256aaf[_0x5b54aa(0x1bd)]),_0x5036f2(0x2,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x256aaf['CollaborationUIEventService'])),_0x5036f2(0x3,_0x498f79[_0x5b54aa(0x27c)]),_0x5036f2(0x4,_0x498f79[_0x5b54aa(0x299)]),_0x5036f2(0x5,(0x0,_0x4943b0['Inject'])(_0x4943b0[_0x5b54aa(0x314)])),_0x5036f2(0x6,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x256aaf[_0x5b54aa(0x153)])),_0x5036f2(0x7,_0x4943b0[_0x5b54aa(0x19a)])],_0x53a9cc);let _0x2abd49=class{constructor(_0x4853cb,_0x4a87b6){const _0x1b6a78=_0x5b54aa;this[_0x1b6a78(0x36f)]=_0x4853cb,this[_0x1b6a78(0x2e7)]=_0x4a87b6;}['transformIMECache'](_0x1bde70){this['_transformUndoRedoStack'](_0x1bde70),this['_transformPreviousActiveRange'](_0x1bde70);}[_0x5b54aa(0xbe)](_0x413851){const _0x4f0790=_0x5b54aa;let {unitID:_0x1c5249}=_0x413851,{redoCache:_0x514bd9}=this[_0x4f0790(0x2e7)][_0x4f0790(0x125)](_0x1c5249)[_0x4f0790(0xa8)](_0x431c6f['DocIMEInputManagerService'])['getUndoRedoMutationParamsCache']();if(_0x514bd9[_0x4f0790(0x364)]===0x0)return _0x413851;let _0x43665f=_0x4943b0[_0x4f0790(0x232)]['deepClone'](_0x413851[_0x4f0790(0x162)][0x0]);for(let _0x1a9679=0x0;_0x1a9679<_0x514bd9[_0x4f0790(0x364)];_0x1a9679++){let _0x5d0d11={'id':_0x4f0790(0x25e),'params':{..._0x514bd9[_0x1a9679]}},_0x222e27=this[_0x4f0790(0x36f)][_0x4f0790(0xca)](_0x43665f,_0x5d0d11,!0x1);if((0x0,_0x2be976[_0x4f0790(0x276)])(_0x222e27))throw _0x222e27[_0x4f0790(0x24b)];_0x43665f=_0x222e27[_0x4f0790(0x2e0)];}return{..._0x4943b0[_0x4f0790(0x232)][_0x4f0790(0x194)](_0x413851),'mutations':[_0x43665f]};}[_0x5b54aa(0x3b0)](_0x5f0a6a){const _0x419f2f=_0x5b54aa;let {unitID:_0x577f42}=_0x5f0a6a,_0x10c35b=this[_0x419f2f(0x2e7)]['getRenderUnitById'](_0x577f42)[_0x419f2f(0xa8)](_0x431c6f[_0x419f2f(0x270)]),{undoCache:_0x930d4c,redoCache:_0x435030}=_0x10c35b[_0x419f2f(0x386)]();if(_0x930d4c[_0x419f2f(0x364)]===0x0||_0x435030[_0x419f2f(0x364)]===0x0)return;let _0x373399=[],_0x3018e4=[],_0x75ac7f=_0x4943b0[_0x419f2f(0x232)][_0x419f2f(0x194)](_0x5f0a6a[_0x419f2f(0x162)][0x0]),_0x268514=_0x4943b0[_0x419f2f(0x232)][_0x419f2f(0x194)](_0x5f0a6a[_0x419f2f(0x162)][0x0]);for(let _0x811fa=_0x930d4c[_0x419f2f(0x364)]-0x1;_0x811fa>=0x0;_0x811fa--){let _0x11ca75={'id':_0x419f2f(0x25e),'params':{..._0x930d4c[_0x811fa]}},_0x321852={'id':_0x419f2f(0x25e),'params':{..._0x435030[_0x811fa]}},_0x157ca0=this[_0x419f2f(0x36f)][_0x419f2f(0xca)](_0x75ac7f,_0x11ca75,!0x1),_0x15b1b2=this['_transformService']['transformMutation'](_0x268514,_0x321852,!0x1);if((0x0,_0x2be976[_0x419f2f(0x276)])(_0x157ca0))throw _0x157ca0[_0x419f2f(0x24b)];if((0x0,_0x2be976[_0x419f2f(0x276)])(_0x15b1b2))throw _0x15b1b2[_0x419f2f(0x24b)];_0x373399[_0x419f2f(0x3e1)](_0x157ca0[_0x419f2f(0x2b5)][_0x419f2f(0xc4)]),_0x3018e4[_0x419f2f(0x3e1)](_0x15b1b2[_0x419f2f(0x2b5)][_0x419f2f(0xc4)]),_0x75ac7f=_0x157ca0[_0x419f2f(0x2e0)],_0x268514=_0x15b1b2[_0x419f2f(0x2e0)];}_0x10c35b['setUndoRedoMutationParamsCache']({'undoCache':_0x373399,'redoCache':_0x3018e4});}[_0x5b54aa(0x1a0)](_0x23dc6a){const _0x1cf132=_0x5b54aa;let {unitID:_0x3007af}=_0x23dc6a,_0x1cd773=this[_0x1cf132(0x2e7)][_0x1cf132(0x125)](_0x3007af)[_0x1cf132(0xa8)](_0x431c6f[_0x1cf132(0x270)]),_0x51447c=_0x1cd773[_0x1cf132(0x302)]();if(_0x51447c==null)return;let _0x2a2c28=[{'id':_0x1cf132(0x25e),'params':{'unitId':_0x23dc6a[_0x1cf132(0xb5)],'actions':null,'textRanges':[_0x51447c]}}],_0x442539=this[_0x1cf132(0x36f)][_0x1cf132(0x139)](_0x23dc6a,_0x2a2c28);if(!(0x0,_0x2be976['isTransformMutationsWithChangesetSuccess'])(_0x442539))throw _0x442539[_0x1cf132(0x24b)];let _0x47a42a=_0x442539['m2Prime'][0x0][_0x1cf132(0xc4)][_0x1cf132(0x324)];Array['isArray'](_0x47a42a)&&_0x47a42a[_0x1cf132(0x364)]&&_0x1cd773[_0x1cf132(0x291)](_0x47a42a[0x0]);}};_0x2abd49=_0x52e036([_0x5036f2(0x0,_0x2be976['ITransformService']),_0x5036f2(0x1,_0x55d5e4['IRenderManagerService'])],_0x2abd49);let _0x4af4af=class{constructor(_0x33157a,_0x202231,_0x466c67){const _0x4e6c85=_0x5b54aa;this[_0x4e6c85(0x2c0)]=_0x33157a,this[_0x4e6c85(0x36f)]=_0x202231,this['_docStateChangeManagerService']=_0x466c67;}[_0x5b54aa(0x2ff)](_0x16bfcf){this['_transformHistoryAndStateStack'](_0x16bfcf);}[_0x5b54aa(0xbe)](_0x25d41f){const _0x17f080=_0x5b54aa;let {unitID:_0x498a36}=_0x25d41f,{collaboration:_0x54d909}=this['_docStateChangeManagerService'][_0x17f080(0x348)](_0x498a36);if(_0x54d909[_0x17f080(0x364)]===0x0)return _0x25d41f;let _0x290be1=_0x4943b0['Tools'][_0x17f080(0x194)](_0x25d41f[_0x17f080(0x162)][0x0]);for(let _0x76a69b=0x0;_0x76a69b<_0x54d909[_0x17f080(0x364)];_0x76a69b++){let _0x53df4c={'id':_0x17f080(0x25e),'params':{'unitId':_0x54d909[_0x76a69b][_0x17f080(0x3b9)],..._0x54d909[_0x76a69b]['redoState']}},_0x5f28e2=this[_0x17f080(0x36f)][_0x17f080(0xca)](_0x290be1,_0x53df4c,!0x1);if((0x0,_0x2be976['isTransformMutationFailure'])(_0x5f28e2))throw _0x5f28e2[_0x17f080(0x24b)];_0x290be1=_0x5f28e2[_0x17f080(0x2e0)];}return{..._0x4943b0['Tools'][_0x17f080(0x194)](_0x25d41f),'mutations':[_0x290be1]};}[_0x5b54aa(0x28e)](_0x8c8820){const _0x2b5893=_0x5b54aa;let {unitID:_0x196f5d}=_0x8c8820,{history:_0x4d2840,collaboration:_0x4cb9f6}=this[_0x2b5893(0x365)][_0x2b5893(0x348)](_0x196f5d);if(_0x4d2840['length']===0x0&&_0x4cb9f6[_0x2b5893(0x364)]===0x0)return;let _0x5fefbd=[],_0x8cf49d=[],_0x18b5e7=_0x4943b0[_0x2b5893(0x232)][_0x2b5893(0x194)](_0x8c8820[_0x2b5893(0x162)][0x0]),_0x171550=_0x4943b0[_0x2b5893(0x232)][_0x2b5893(0x194)](_0x8c8820[_0x2b5893(0x162)][0x0]);for(let _0x29d38d=_0x4d2840['length']-0x1;_0x29d38d>=0x0;_0x29d38d--){let _0xc39099={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4d2840[_0x29d38d][_0x2b5893(0x3b9)],..._0x4d2840[_0x29d38d][_0x2b5893(0x3f9)]}},_0x1c39c1={'id':_0x2b5893(0x25e),'params':{'unitId':_0x4d2840[_0x29d38d][_0x2b5893(0x3b9)],..._0x4d2840[_0x29d38d]['redoState']}},_0x5a25f5=this[_0x2b5893(0x36f)][_0x2b5893(0xca)](_0x18b5e7,_0xc39099,!0x1),_0x5ce14f=this[_0x2b5893(0x36f)][_0x2b5893(0xca)](_0x171550,_0x1c39c1,!0x1);if((0x0,_0x2be976[_0x2b5893(0x276)])(_0x5a25f5))throw _0x5a25f5[_0x2b5893(0x24b)];if((0x0,_0x2be976[_0x2b5893(0x276)])(_0x5ce14f))throw _0x5ce14f[_0x2b5893(0x24b)];_0x5fefbd['unshift']({..._0x4d2840[_0x29d38d],'undoState':_0x5a25f5[_0x2b5893(0x2b5)][_0x2b5893(0xc4)],'redoState':_0x5ce14f[_0x2b5893(0x2b5)][_0x2b5893(0xc4)]}),_0x18b5e7=_0x5a25f5[_0x2b5893(0x2e0)],_0x171550=_0x5ce14f[_0x2b5893(0x2e0)];}_0x18b5e7=_0x4943b0['Tools'][_0x2b5893(0x194)](_0x8c8820[_0x2b5893(0x162)][0x0]),_0x171550=_0x4943b0[_0x2b5893(0x232)][_0x2b5893(0x194)](_0x8c8820[_0x2b5893(0x162)][0x0]);for(let _0x2c9f66=_0x4cb9f6[_0x2b5893(0x364)]-0x1;_0x2c9f66>=0x0;_0x2c9f66--){let _0x1635d6={'id':_0x2b5893(0x25e),'params':{'unitId':_0x4cb9f6[_0x2c9f66][_0x2b5893(0x3b9)],..._0x4cb9f6[_0x2c9f66][_0x2b5893(0x3f9)]}},_0x11d748={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4cb9f6[_0x2c9f66][_0x2b5893(0x3b9)],..._0x4cb9f6[_0x2c9f66][_0x2b5893(0x1c9)]}},_0x217fef=this['_transformService']['transformMutation'](_0x18b5e7,_0x1635d6,!0x1),_0xe020f9=this[_0x2b5893(0x36f)][_0x2b5893(0xca)](_0x171550,_0x11d748,!0x1);if((0x0,_0x2be976[_0x2b5893(0x276)])(_0x217fef))throw _0x217fef[_0x2b5893(0x24b)];if((0x0,_0x2be976[_0x2b5893(0x276)])(_0xe020f9))throw _0xe020f9[_0x2b5893(0x24b)];_0x8cf49d[_0x2b5893(0x3e1)]({..._0x4cb9f6[_0x2c9f66],'undoState':_0x217fef[_0x2b5893(0x2b5)]['params'],'redoState':_0xe020f9[_0x2b5893(0x2b5)][_0x2b5893(0xc4)]}),_0x18b5e7=_0x217fef[_0x2b5893(0x2e0)],_0x171550=_0xe020f9[_0x2b5893(0x2e0)];}this[_0x2b5893(0x365)][_0x2b5893(0x396)](_0x196f5d,{'history':_0x5fefbd,'collaboration':_0x8cf49d});}};_0x4af4af=_0x52e036([_0x5036f2(0x0,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x4943b0[_0x5b54aa(0x3f3)])),_0x5036f2(0x1,_0x2be976['ITransformService']),_0x5036f2(0x2,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x5b2323[_0x5b54aa(0x16e)]))],_0x4af4af);let _0x3d2d52=class{constructor(_0x5c1f0a,_0x2f7413){this['_docSelectionManagerService']=_0x5c1f0a,this['_transformService']=_0x2f7413;}[_0x5b54aa(0x40b)](_0x4ae6de){const _0x9897bd=_0x5b54aa;var _0x54569f;let _0x574ed4=this[_0x9897bd(0x3c0)]['getDocRanges']()??[],_0x2b0c7b=this[_0x9897bd(0x3c0)][_0x9897bd(0x312)]();if(_0x574ed4['length']===0x0||_0x2b0c7b==null)return null;let _0x31e5dd=_0x4ae6de[_0x9897bd(0xb5)],_0x2bc4bd=[{'id':_0x9897bd(0x25e),'params':{'unitId':_0x31e5dd,'actions':null,'textRanges':_0x574ed4}}],_0x463e16=this[_0x9897bd(0x36f)][_0x9897bd(0x139)](_0x4ae6de,_0x2bc4bd);if(!(0x0,_0x2be976['isTransformMutationsWithChangesetSuccess'])(_0x463e16))throw _0x463e16['error'];let _0x3f73b8=(_0x54569f=_0x463e16[_0x9897bd(0x2b5)][0x0])==null?void 0x0:_0x54569f[_0x9897bd(0xc4)],_0x5cc709=_0x3f73b8&&typeof _0x3f73b8==_0x9897bd(0x1e4)&&_0x9897bd(0x324)in _0x3f73b8?_0x3f73b8[_0x9897bd(0x324)]:null;if(!_0x1d45aa(_0x5cc709))return null;let _0x5e64c7=_0x46aa69(_0x4ae6de[_0x9897bd(0x162)][_0x9897bd(0x356)](_0x170550=>_0x5764e4(_0x170550[_0x9897bd(0xc4)]))?_0x5cc709['filter'](_0x64f7f3=>!(_0x9897bd(0x1f8)in _0x64f7f3)):_0x5cc709,{..._0x2b0c7b,'options':_0x2b0c7b[_0x9897bd(0x39e)]?{..._0x2b0c7b[_0x9897bd(0x39e)],'wholeDocument':!0x1}:void 0x0}),_0x3db1f0={'unitId':_0x31e5dd,'subUnitId':_0x31e5dd};this['_docSelectionManagerService']['replaceSelectionInfoWithoutRefresh'](_0x5e64c7,_0x3db1f0);let _0x1ee431=!0x0;return{'commit':()=>{_0x1ee431=!0x1;},'rollback':()=>{const _0xef4e33=_0x9897bd;_0x1ee431&&(_0x1ee431=!0x1,this['_docSelectionManagerService'][_0xef4e33(0x149)](_0x2b0c7b,_0x3db1f0));}};}};_0x3d2d52=_0x52e036([_0x5036f2(0x0,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x5b2323[_0x5b54aa(0x22d)])),_0x5036f2(0x1,_0x2be976['ITransformService'])],_0x3d2d52);function _0x46aa69(_0x58bc07,_0x404bdf){const _0xbf91e1=_0x5b54aa;let _0x140995=[],_0x31f52b=[];for(let _0x28de0c of _0x58bc07)_0x27c6c2(_0x28de0c)?_0x31f52b[_0xbf91e1(0x3c3)](_0x28de0c):_0x140995['push'](_0x28de0c);return{..._0x404bdf,'textRanges':_0x140995,'rectRanges':_0x31f52b};}function _0x27c6c2(_0x5d2975){const _0x31911f=_0x5b54aa;return _0x31911f(0x1f8)in _0x5d2975;}function _0x1d45aa(_0x3eeb17){const _0x217f4f=_0x5b54aa;return Array[_0x217f4f(0x1da)](_0x3eeb17)&&_0x3eeb17['every'](_0x5964a1=>typeof _0x5964a1=='object'&&!!_0x5964a1&&'startOffset'in _0x5964a1&&_0x217f4f(0x188)in _0x5964a1);}function _0x5764e4(_0x15d0bb){const _0x2b4a98=_0x5b54aa;return _0x15d0bb===_0x2b4a98(0x128)?!0x0:Array[_0x2b4a98(0x1da)](_0x15d0bb)?_0x15d0bb[_0x2b4a98(0x356)](_0x21a007=>_0x5764e4(_0x21a007)):!_0x15d0bb||typeof _0x15d0bb!='object'?!0x1:Object[_0x2b4a98(0x123)](_0x15d0bb)[_0x2b4a98(0x356)](_0x5bf21d=>_0x5764e4(_0x5bf21d));}let _0x295776=class extends _0x4943b0[_0x5b54aa(0x406)]{constructor(_0x4dd61b,_0x2bc34e,_0x3095b7,_0x23040d,_0x10fd96,_0x356452,_0x139e29){const _0x58d88e=_0x5b54aa;super(),this[_0x58d88e(0x19e)]=_0x4dd61b,this[_0x58d88e(0x15f)]=_0x2bc34e,this[_0x58d88e(0xe2)]=_0x3095b7,this[_0x58d88e(0x2d2)]=_0x23040d,this[_0x58d88e(0x112)]=_0x10fd96,this[_0x58d88e(0xcc)]=_0x356452,this[_0x58d88e(0x217)]=_0x139e29,_0x594b82(this,'_status$',new _0x6726f3[(_0x58d88e(0x374))](_0x256aaf[_0x58d88e(0x1a7)][_0x58d88e(0xd8)])),this['_initEntityListener']();}['_initEntityListener'](){const _0x59a60e=_0x5b54aa;this[_0x59a60e(0x283)](this['_collaborationController'][_0x59a60e(0x3bd)][_0x59a60e(0xf0)](_0x1d72ec=>{const _0x1d714a=_0x59a60e;_0x1d72ec instanceof _0x256aaf[_0x1d714a(0x255)]&&_0x1d72ec[_0x1d714a(0x404)]({'onTransformIME':_0x2c552c=>this['_docTransformIMECacheService'][_0x1d714a(0x2e6)](_0x2c552c),'onTransformState':_0x555e88=>this[_0x1d714a(0xe2)][_0x1d714a(0x2ff)](_0x555e88),'onPrepareTransformSelections':_0x32a29f=>this[_0x1d714a(0x2d2)][_0x1d714a(0x40b)](_0x32a29f),'onSyncEditingCollabCursor':_0x4a27e9=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x4a27e9),'onTransformRemoteChangesetByIMECache':_0x537aec=>this[_0x1d714a(0x15f)][_0x1d714a(0xbe)](_0x537aec),'onTransformRemoteChangesetByStateCache':_0x1de46a=>this[_0x1d714a(0xe2)]['transformRemoteChangeset'](_0x1de46a)});}));}};_0x295776=_0x52e036([_0x5036f2(0x0,(0x0,_0x4943b0['Inject'])(_0x256aaf[_0x5b54aa(0x153)])),_0x5036f2(0x1,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x2abd49)),_0x5036f2(0x2,(0x0,_0x4943b0['Inject'])(_0x4af4af)),_0x5036f2(0x3,(0x0,_0x4943b0['Inject'])(_0x3d2d52)),_0x5036f2(0x4,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x409bf7)),_0x5036f2(0x5,_0x498f79[_0x5b54aa(0x27c)]),_0x5036f2(0x6,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x4943b0[_0x5b54aa(0x314)]))],_0x295776);let _0x528f2d=class extends _0x4943b0['Disposable']{constructor(_0x53e99a,_0x3f4b85,_0x3c95bc,_0x49860f){const _0x45cce2=_0x5b54aa;super(),this[_0x45cce2(0x2c0)]=_0x53e99a,this[_0x45cce2(0x164)]=_0x3f4b85,this[_0x45cce2(0x3f2)]=_0x3c95bc,this[_0x45cce2(0x383)]=_0x49860f,_0x594b82(this,_0x45cce2(0x239),void 0x0),this['_init']();}[_0x5b54aa(0x3fc)](){const _0x399573=_0x5b54aa;this[_0x399573(0x2d1)](),this[_0x399573(0x18f)](),this[_0x399573(0x174)](),this[_0x399573(0x20b)]();}[_0x5b54aa(0x20b)](){const _0x2392d3=_0x5b54aa;this['disposeWithMe'](this['_collaborationSessionService'][_0x2392d3(0xc3)]['subscribe'](_0x140eb4=>{const _0x463080=_0x2392d3;this[_0x463080(0x239)]=_0x140eb4==null?void 0x0:_0x140eb4[_0x463080(0xd9)];}));}[_0x5b54aa(0x2d1)](){const _0x2022f1=_0x5b54aa;let _0x24b62b=_0x544ea9=>{const _0x11157a=_0x424e;var _0xbcd382;this['_uploadLog'](_0x11157a(0x24b),'[Window\x20Error]:\x20'+_0x544ea9[_0x11157a(0xad)]+_0x11157a(0xdc)+_0x544ea9[_0x11157a(0x3d9)]+':'+_0x544ea9[_0x11157a(0x28c)]+':'+_0x544ea9[_0x11157a(0x227)]+'\x0a'+(((_0xbcd382=_0x544ea9[_0x11157a(0x24b)])==null?void 0x0:_0xbcd382[_0x11157a(0x288)])||''));};window[_0x2022f1(0x1af)](_0x2022f1(0x24b),_0x24b62b),this[_0x2022f1(0x283)](()=>{const _0x4b6811=_0x2022f1;window[_0x4b6811(0xee)](_0x4b6811(0x24b),_0x24b62b);});}[_0x5b54aa(0x18f)](){const _0x3a7342=_0x5b54aa;let _0x3f0736=_0x47dc24=>{const _0x807b63=_0x424e;this[_0x807b63(0x3a9)](_0x807b63(0x24b),_0x807b63(0x1fc)+_0x47dc24['reason']);};window[_0x3a7342(0x1af)](_0x3a7342(0x3f7),_0x3f0736),this[_0x3a7342(0x283)](()=>{const _0x204327=_0x3a7342;window['removeEventListener'](_0x204327(0x3f7),_0x3f0736);});}[_0x5b54aa(0x174)](){const _0x50074f=_0x5b54aa;let _0x17395c=this['_logService'][_0x50074f(0x24b)]['bind'](this[_0x50074f(0x3f2)]);this['_logService'][_0x50074f(0x24b)]=(..._0x185efd)=>{const _0x1d31ed=_0x50074f;let _0x1d06c3=_0x185efd[_0x1d31ed(0x2a1)](_0x2f2269=>_0x2f2269 instanceof Error?_0x2f2269['message']+'\x0a'+_0x2f2269[_0x1d31ed(0x288)]:String(_0x2f2269))[_0x1d31ed(0x22a)]('\x20');this['_uploadLog'](_0x1d31ed(0x24b),_0x1d31ed(0x2c8)+_0x1d06c3),_0x17395c(..._0x185efd);},this[_0x50074f(0x283)](()=>{const _0x83d29f=_0x50074f;this[_0x83d29f(0x3f2)][_0x83d29f(0x24b)]=_0x17395c;});}[_0x5b54aa(0x3a9)](_0x4da285,_0x1931a1){const _0x22e19e=_0x5b54aa;try{let _0x4c206c={'userId':this[_0x22e19e(0x239)],'logLabel':_0x4da285,'content':_0x1931a1};this[_0x22e19e(0x164)]['post'](_0x22e19e(0x110),{'body':_0x4c206c})[_0x22e19e(0x2c5)](()=>{});}catch{}}};_0x528f2d=_0x52e036([_0x5036f2(0x0,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x4943b0[_0x5b54aa(0x3f3)])),_0x5036f2(0x1,(0x0,_0x4943b0['Inject'])(_0x18dc58['HTTPService'])),_0x5036f2(0x2,_0x4943b0[_0x5b54aa(0x1f5)]),_0x5036f2(0x3,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x256aaf[_0x5b54aa(0x1dd)]))],_0x528f2d);function _0x13903d({state$:_0x31cf20}){const _0x3652de=_0x5b54aa;let _0x4a5de2=(0x0,_0x498f79[_0x3652de(0x3e5)])(_0x31cf20,null,!0x0);return _0x4a5de2?(0x0,_0x362e33[_0x3652de(0x195)])(_0x3652de(0x310),{'data-u-comp':_0x3652de(0xf7),'role':_0x3652de(0x2aa),'className':_0x3652de(0x2ba),'children':[(0x0,_0x362e33[_0x3652de(0x289)])(_0x56700c,{'className':'univer-size-4\x20univer-shrink-0\x20univer-text-amber-500'}),(0x0,_0x362e33['jsx'])('span',{'children':_0x4a5de2['content']}),(0x0,_0x362e33['jsx'])(_0x222a52['Button'],{'size':_0x3652de(0x113),'variant':_0x3652de(0x336),'onClick':()=>window[_0x3652de(0x313)][_0x3652de(0x3d5)](),'children':_0x4a5de2[_0x3652de(0xd3)]})]}):null;}let _0x3c9ad0=_0x5b54aa(0x3a7),_0x5761ee=class extends _0x4943b0['Disposable']{constructor(_0x491c5f,_0x31001b,_0x2fa213,_0x5c3a7b,_0x66a44e){const _0x1aff5b=_0x5b54aa;super(),this[_0x1aff5b(0x3da)]=_0x491c5f,this[_0x1aff5b(0xcc)]=_0x31001b,this[_0x1aff5b(0x217)]=_0x2fa213,this['_injector']=_0x5c3a7b,_0x594b82(this,_0x1aff5b(0x35d),new _0x6726f3[(_0x1aff5b(0x374))](null)),_0x594b82(this,_0x1aff5b(0x3a3),new Set()),_0x594b82(this,'_blockProgressWatches',new Map()),_0x594b82(this,_0x1aff5b(0x360),this[_0x1aff5b(0x35d)][_0x1aff5b(0x1b1)]());let _0xb8e772=()=>(0x0,_0x219576[_0x1aff5b(0x257)])(_0x13903d,{'state$':this['timeoutState$']});this[_0x1aff5b(0x283)](_0x66a44e[_0x1aff5b(0x133)](_0x498f79[_0x1aff5b(0x238)][_0x1aff5b(0x342)],()=>(0x0,_0x498f79[_0x1aff5b(0x2a4)])(_0xb8e772,this[_0x1aff5b(0x2c0)]))),this[_0x1aff5b(0x283)](this[_0x1aff5b(0x3da)]['state$'][_0x1aff5b(0xf0)](_0x5431b4=>{_0x5431b4['forEach'](_0x18a485=>this['_updateMessage'](_0x18a485));}));}[_0x5b54aa(0x337)](){const _0x56cd98=_0x5b54aa;this[_0x56cd98(0x3a3)][_0x56cd98(0xe0)](_0x497f6d=>this[_0x56cd98(0xcc)][_0x56cd98(0x3b2)](_0x497f6d)),this[_0x56cd98(0x3a3)][_0x56cd98(0x1f1)](),this[_0x56cd98(0x3bf)][_0x56cd98(0xe0)](({timeoutId:_0x626e5d})=>clearTimeout(_0x626e5d)),this[_0x56cd98(0x3bf)]['clear'](),this[_0x56cd98(0x35d)]['complete'](),super[_0x56cd98(0x337)]();}['_updateMessage'](_0x2f9d84){const _0x18b99c=_0x5b54aa;let _0x1ad411=''+_0x3c9ad0+_0x2f9d84[_0x18b99c(0x3b9)];_0x2f9d84[_0x18b99c(0x375)]===_0x2be976['SnapshotLoadStage'][_0x18b99c(0x1db)]?(this[_0x18b99c(0x384)](_0x2f9d84[_0x18b99c(0x3b9)]),this[_0x18b99c(0x18a)](_0x2f9d84[_0x18b99c(0x3b9)]),this[_0x18b99c(0xcc)][_0x18b99c(0x3b2)](_0x1ad411),this[_0x18b99c(0x3a3)][_0x18b99c(0x37e)](_0x1ad411)):_0x2f9d84['stage']===_0x2be976['SnapshotLoadStage'][_0x18b99c(0x230)]?(this['_clearBlockProgressWatch'](_0x2f9d84[_0x18b99c(0x3b9)]),this[_0x18b99c(0x18a)](_0x2f9d84['unitId']),this[_0x18b99c(0xcc)][_0x18b99c(0x3af)]({'id':_0x1ad411,'type':_0x222a52[_0x18b99c(0x359)][_0x18b99c(0x237)],'content':this[_0x18b99c(0x217)]['t'](_0x18b99c(0xd2))}),this[_0x18b99c(0x3a3)][_0x18b99c(0x37e)](_0x1ad411)):_0x2f9d84[_0x18b99c(0x375)]!==_0x2be976[_0x18b99c(0x3dc)][_0x18b99c(0x102)]||_0x2f9d84[_0x18b99c(0x2c6)]<=0xa?(this[_0x18b99c(0x384)](_0x2f9d84[_0x18b99c(0x3b9)]),this[_0x18b99c(0xcc)][_0x18b99c(0x3b2)](_0x1ad411),this['_messageIds'][_0x18b99c(0x37e)](_0x1ad411)):this[_0x18b99c(0x2d8)](_0x2f9d84)||(this[_0x18b99c(0xcc)]['show']({'id':_0x1ad411,'type':_0x222a52[_0x18b99c(0x359)][_0x18b99c(0x3d6)],'duration':0x1/0x0,'content':this['_localeService']['t'](_0x18b99c(0x3fa))+'\x20'+_0x2f9d84[_0x18b99c(0xb0)]+'/'+_0x2f9d84[_0x18b99c(0x2c6)]}),this[_0x18b99c(0x3a3)]['add'](_0x1ad411));}[_0x5b54aa(0x2d8)](_0x14a0f0){const _0x30c04a=_0x5b54aa;let _0x52bfb5=this[_0x30c04a(0x3bf)]['get'](_0x14a0f0[_0x30c04a(0x3b9)]);if((_0x52bfb5==null?void 0x0:_0x52bfb5[_0x30c04a(0xb0)])===_0x14a0f0[_0x30c04a(0xb0)])return _0x52bfb5['timedOut'];this[_0x30c04a(0x384)](_0x14a0f0[_0x30c04a(0x3b9)]);let _0x2efff4=setTimeout(()=>{const _0x276009=_0x30c04a;let _0x52dec0=this['_blockProgressWatches']['get'](_0x14a0f0['unitId']);if(!_0x52dec0||_0x52dec0['timeoutId']!==_0x2efff4)return;_0x52dec0[_0x276009(0x36c)]=!0x0;let _0x508e24=''+_0x3c9ad0+_0x14a0f0['unitId'];this[_0x276009(0xcc)]['remove'](_0x508e24),this[_0x276009(0x3a3)]['delete'](_0x508e24),this[_0x276009(0x35d)][_0x276009(0x3ed)]({'unitId':_0x14a0f0['unitId'],'content':this[_0x276009(0x217)]['t'](_0x276009(0x320),String(_0x14a0f0[_0x276009(0xb0)]),String(_0x14a0f0[_0x276009(0x2c6)])),'refreshLabel':this['_localeService']['t'](_0x276009(0x2fa))});},0xea60);return this[_0x30c04a(0x3bf)][_0x30c04a(0x357)](_0x14a0f0[_0x30c04a(0x3b9)],{'loadedBlocks':_0x14a0f0[_0x30c04a(0xb0)],'timedOut':!0x1,'timeoutId':_0x2efff4}),!0x1;}[_0x5b54aa(0x384)](_0xb13c41){const _0x30208c=_0x5b54aa;let _0x49a440=this[_0x30208c(0x3bf)][_0x30208c(0x131)](_0xb13c41);_0x49a440&&(clearTimeout(_0x49a440[_0x30208c(0x147)]),this[_0x30208c(0x3bf)][_0x30208c(0x37e)](_0xb13c41),this['_clearTimeoutState'](_0xb13c41));}['_clearTimeoutState'](_0x584e4b){const _0x58aab0=_0x5b54aa;var _0x426f16;((_0x426f16=this[_0x58aab0(0x35d)][_0x58aab0(0x1c2)])==null?void 0x0:_0x426f16['unitId'])===_0x584e4b&&this[_0x58aab0(0x35d)][_0x58aab0(0x3ed)](null);}};_0x5761ee=_0x52e036([_0x5036f2(0x0,(0x0,_0x4943b0['Inject'])(_0x2be976[_0x5b54aa(0x152)])),_0x5036f2(0x1,_0x498f79[_0x5b54aa(0x27c)]),_0x5036f2(0x2,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x4943b0[_0x5b54aa(0x314)])),_0x5036f2(0x3,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x4943b0['Injector'])),_0x5036f2(0x4,_0x498f79[_0x5b54aa(0x400)])],_0x5761ee);let _0x433de9=class extends _0x4943b0[_0x5b54aa(0x406)]{constructor(_0x346d68,_0x24dbe9,_0x21019e,_0x44013d,_0x1760ab){const _0x21ce5e=_0x5b54aa;var _0x5da90f;super(),this['_configService']=_0x346d68,this[_0x21ce5e(0x210)]=_0x24dbe9,this['_revisionService']=_0x21019e,this[_0x21ce5e(0x3f2)]=_0x44013d,this[_0x21ce5e(0x25b)]=_0x1760ab,_0x594b82(this,'_cachedData',new Map()),_0x594b82(this,_0x21ce5e(0x3cd),new Map()),_0x594b82(this,'_activeSaveTaskMap',new Map()),_0x594b82(this,'_disabled',!0x1),this[_0x21ce5e(0x212)]=!((_0x5da90f=this[_0x21ce5e(0x3cf)][_0x21ce5e(0x163)](_0x256aaf[_0x21ce5e(0xd7)]))!=null&&_0x5da90f[_0x21ce5e(0x35f)]);}[_0x5b54aa(0x175)](){const _0x4c794d=_0x5b54aa;this[_0x4c794d(0x212)]=!0x0;}['enableLocalCache'](){const _0x31b6cc=_0x5b54aa;this[_0x31b6cc(0x212)]=!0x1;}get['saveTaskMap'](){const _0x152505=_0x5b54aa;let _0x579877=new Map(this['_saveTaskMap']);return this['_activeSaveTaskMap'][_0x152505(0xe0)]((_0x1e6aad,_0x279c89)=>{const _0x3af965=_0x152505;_0x579877[_0x3af965(0x303)](_0x279c89)||_0x579877[_0x3af965(0x357)](_0x279c89,0x0);}),_0x579877;}['dispose'](){const _0x12d980=_0x5b54aa;this[_0x12d980(0x3aa)]||(super['dispose'](),this['_disabled']=!0x0,this[_0x12d980(0x295)]()['catch'](_0x5cff9a=>this[_0x12d980(0x3f2)][_0x12d980(0x24b)](_0x5cff9a)));}async[_0x5b54aa(0x2dc)](_0x44c25b,_0x56dbbe){const _0x2711d9=_0x5b54aa;if(this[_0x2711d9(0x212)])return null;let _0xdb2a2=this[_0x2711d9(0x2e3)](_0x56dbbe),_0x1e41da=await this[_0x2711d9(0x210)]['getItem']((0x0,_0x256aaf[_0x2711d9(0xd4)])(_0x44c25b,_0xdb2a2));return(_0x1e41da==null?void 0x0:_0x1e41da['unitID'])===_0x44c25b&&this[_0x2711d9(0xfb)](_0x1e41da[_0x2711d9(0x2f8)])===_0xdb2a2?_0x1e41da:null;}async[_0x5b54aa(0x228)](_0x182b5d,_0x13eb05,_0x5692d7){const _0x2646dc=_0x5b54aa;let _0x4e053b=this[_0x2646dc(0x2e3)](_0x5692d7),_0x45465c=(0x0,_0x256aaf['getLocalCacheKey'])(_0x182b5d,_0x4e053b),_0x3f7098=this[_0x2646dc(0x210)][_0x2646dc(0x22b)](_0x45465c,{..._0x13eb05,'unitID':_0x182b5d,'userId':_0x4e053b});return this[_0x2646dc(0x18d)](_0x45465c,_0x3f7098),!!await _0x3f7098;}async[_0x5b54aa(0x393)](_0x2e0017,_0x578bf0,_0x5a4f47){const _0x6ef0fd=_0x5b54aa;let _0x10828e=this[_0x6ef0fd(0x2e3)](_0x5a4f47),_0x1f9ed6=(0x0,_0x256aaf[_0x6ef0fd(0xd4)])(_0x2e0017,_0x10828e),_0x3c88ec=this['_cachedData'][_0x6ef0fd(0x131)](_0x1f9ed6)??await this[_0x6ef0fd(0x210)][_0x6ef0fd(0x21f)](_0x1f9ed6);if(!_0x3c88ec||this[_0x6ef0fd(0xfb)](_0x3c88ec[_0x6ef0fd(0x2f8)])!==_0x10828e||_0x3c88ec[_0x6ef0fd(0xb5)]!==_0x2e0017)return;let _0x5445ff=Date[_0x6ef0fd(0x184)](),_0x52c36a=new Date(_0x5445ff)[_0x6ef0fd(0x211)]();await this[_0x6ef0fd(0x210)][_0x6ef0fd(0x22b)](_0x1f9ed6+_0x6ef0fd(0x37a)+_0x5445ff,{'reason':_0x578bf0,'createdAt':_0x52c36a,'data':_0x3c88ec});}async[_0x5b54aa(0x32d)](_0x536172,_0x1e4612){const _0x57cb75=_0x5b54aa;let _0x5b4b86=this[_0x57cb75(0x2e3)](_0x1e4612),_0x4369f0=(0x0,_0x256aaf[_0x57cb75(0xd4)])(_0x536172,_0x5b4b86),_0x263ef7=this[_0x57cb75(0x3cd)][_0x57cb75(0x131)](_0x4369f0);_0x263ef7!==void 0x0&&(window[_0x57cb75(0x30b)](_0x263ef7),this[_0x57cb75(0x3cd)][_0x57cb75(0x37e)](_0x4369f0));let _0x401313=this['_activeSaveTaskMap'][_0x57cb75(0x131)](_0x4369f0);_0x401313&&await Promise[_0x57cb75(0x16c)](_0x401313),this[_0x57cb75(0xdf)][_0x57cb75(0x37e)](_0x4369f0),await this['_localStorageService'][_0x57cb75(0x1e7)](_0x4369f0);}[_0x5b54aa(0x173)](_0x3288bc,_0x4dbf14,_0x529ca9,_0x1a2728,_0x5958bc){const _0x32898c=_0x5b54aa;if(this['_disposed'])return;let _0x55e0e7=this[_0x32898c(0x2e3)](_0x5958bc),_0x1264de=(0x0,_0x256aaf[_0x32898c(0xd4)])(_0x3288bc,_0x55e0e7),_0x4f44fd=this['_revisionService'][_0x32898c(0x209)](_0x3288bc);this[_0x32898c(0xdf)][_0x32898c(0x357)](_0x1264de,{'unitID':_0x3288bc,'userId':_0x55e0e7,'type':_0x4dbf14,'awaitingChangeset':_0x529ca9,'mutations':_0x1a2728,'rev':_0x4f44fd}),this[_0x32898c(0x3cd)][_0x32898c(0x303)](_0x1264de)||this['_scheduleSaving'](_0x1264de);}['_getUserId'](_0x4a7234=((()=>{const _0x422004=_0x5b54aa;var _0x6cc503;return(_0x6cc503=this[_0x422004(0x25b)][_0x422004(0x3cb)]())==null?void 0x0:_0x6cc503[_0x422004(0x304)];})())){const _0x403d1c=_0x5b54aa;return this[_0x403d1c(0xfb)](_0x4a7234);}['_normalizeUserId'](_0x438115){return _0x438115===''||_0x438115==null?void 0x0:_0x438115;}[_0x5b54aa(0x267)](_0x101ce7){const _0x2bf24d=_0x5b54aa;let _0x13d64e=this[_0x2bf24d(0x1e5)]();_0x13d64e===0x0?this[_0x2bf24d(0x318)](_0x101ce7)[_0x2bf24d(0x2c5)](_0x3aff47=>this[_0x2bf24d(0x3f2)]['error'](_0x3aff47)):this['_saveTaskMap'][_0x2bf24d(0x357)](_0x101ce7,window['setTimeout'](()=>{const _0x38e7e5=_0x2bf24d;this[_0x38e7e5(0x318)](_0x101ce7)[_0x38e7e5(0x2c5)](_0x569b8d=>this[_0x38e7e5(0x3f2)]['error'](_0x569b8d));},_0x13d64e));}['_getSaveTimeout'](){const _0x576b1f=_0x5b54aa;return this[_0x576b1f(0x3cf)][_0x576b1f(0x163)](_0x256aaf[_0x576b1f(0x1c7)])??_0x256aaf[_0x576b1f(0xef)];}[_0x5b54aa(0x318)](_0x91ab0){const _0x2dc413=_0x5b54aa;let _0x45b23a=this['_saveTaskMap'][_0x2dc413(0x131)](_0x91ab0);_0x45b23a!==void 0x0&&window[_0x2dc413(0x30b)](_0x45b23a);let _0xf9002a=this['_cachedData'][_0x2dc413(0x131)](_0x91ab0);if(!_0xf9002a)return Promise[_0x2dc413(0x2df)]();let _0x406ddf=this['_activeSaveTaskMap'][_0x2dc413(0x131)](_0x91ab0),_0x418ae4=Promise[_0x2dc413(0x16c)](_0x406ddf?[..._0x406ddf]:[])['then'](()=>this[_0x2dc413(0x210)][_0x2dc413(0x22b)](_0x91ab0,_0xf9002a))[_0x2dc413(0xf2)](()=>{const _0x4afb6a=_0x2dc413;_0x45b23a!==void 0x0&&this[_0x4afb6a(0x3cd)][_0x4afb6a(0x131)](_0x91ab0)===_0x45b23a&&(this[_0x4afb6a(0x3cd)][_0x4afb6a(0x37e)](_0x91ab0),!this[_0x4afb6a(0x3aa)]&&this[_0x4afb6a(0xdf)]['get'](_0x91ab0)!==_0xf9002a&&this[_0x4afb6a(0x267)](_0x91ab0));});return this[_0x2dc413(0x18d)](_0x91ab0,_0x418ae4),_0x418ae4;}['_trackActiveSaveTask'](_0xcd4b22,_0x1d0ad1){const _0x43c7b3=_0x5b54aa;let _0x1b9588=this[_0x43c7b3(0x29e)][_0x43c7b3(0x131)](_0xcd4b22);_0x1b9588||(_0x1b9588=new Set(),this['_activeSaveTaskMap'][_0x43c7b3(0x357)](_0xcd4b22,_0x1b9588)),_0x1b9588[_0x43c7b3(0x3e3)](_0x1d0ad1);let _0x59bc13=()=>{const _0x552f3b=_0x43c7b3;_0x1b9588['delete'](_0x1d0ad1),_0x1b9588[_0x552f3b(0x1ec)]===0x0&&this[_0x552f3b(0x29e)]['delete'](_0xcd4b22);};_0x1d0ad1[_0x43c7b3(0xf2)](_0x59bc13,_0x59bc13);}async[_0x5b54aa(0x295)](){const _0x13e490=_0x5b54aa;let _0x281276=[...this['_saveTaskMap']['keys']()]['map'](_0x42faaa=>this[_0x13e490(0x318)](_0x42faaa));for(let _0x4a52d7 of this[_0x13e490(0x29e)][_0x13e490(0x123)]())_0x281276[_0x13e490(0x3c3)](...[..._0x4a52d7]['map'](_0x2d0672=>_0x2d0672[_0x13e490(0xf2)](()=>void 0x0)));await Promise['all'](_0x281276);}};_0x433de9=_0x52e036([_0x5036f2(0x0,_0x4943b0[_0x5b54aa(0x19a)]),_0x5036f2(0x1,_0x4943b0[_0x5b54aa(0x402)]),_0x5036f2(0x2,(0x0,_0x4943b0['Inject'])(_0x2be976[_0x5b54aa(0x346)])),_0x5036f2(0x3,_0x4943b0[_0x5b54aa(0x1f5)]),_0x5036f2(0x4,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x4943b0['UserManagerService']))],_0x433de9);var _0x151b59=class extends _0x4943b0[_0x5b54aa(0x406)]{get[_0x5b54aa(0x15a)](){const _0x4d9a56=_0x5b54aa;return this['_online$'][_0x4d9a56(0x326)]();}constructor(){const _0x298fb7=_0x5b54aa;super(),_0x594b82(this,_0x298fb7(0x2be),new _0x6726f3[(_0x298fb7(0x374))](navigator[_0x298fb7(0x2a0)])),_0x594b82(this,'online$',this[_0x298fb7(0x2be)]['asObservable']()),this[_0x298fb7(0x17a)](),this[_0x298fb7(0x341)]();}[_0x5b54aa(0x337)](){const _0x2d720f=_0x5b54aa;super[_0x2d720f(0x337)](),this[_0x2d720f(0x2be)][_0x2d720f(0x13e)]();}[_0x5b54aa(0x341)](){const _0x30c338=_0x5b54aa;this[_0x30c338(0x283)]((0x0,_0x6726f3[_0x30c338(0x23b)])((0x0,_0x6726f3[_0x30c338(0x109)])(window,_0x30c338(0x15a)),(0x0,_0x6726f3[_0x30c338(0x109)])(document,_0x30c338(0x124)),(0x0,_0x6726f3[_0x30c338(0x109)])(window,_0x30c338(0x2d4)),(0x0,_0x6726f3[_0x30c338(0x109)])(document,_0x30c338(0x39b))[_0x30c338(0x338)]((0x0,_0x6726f3[_0x30c338(0x2a1)])(()=>document['visibilityState']===_0x30c338(0x23e)),(0x0,_0x6726f3[_0x30c338(0x2ee)])(_0x4f8366=>_0x4f8366)))[_0x30c338(0x338)]((0x0,_0x6726f3[_0x30c338(0x2ee)])(()=>navigator[_0x30c338(0x2a0)]))[_0x30c338(0xf0)](()=>this[_0x30c338(0x2be)][_0x30c338(0x3ed)](!0x0)));}[_0x5b54aa(0x17a)](){const _0x512239=_0x5b54aa;this[_0x512239(0x283)]((0x0,_0x6726f3['merge'])((0x0,_0x6726f3[_0x512239(0x109)])(window,_0x512239(0x16d)),(0x0,_0x6726f3['fromEvent'])(document,'freeze'))[_0x512239(0xf0)](()=>this['_online$'][_0x512239(0x3ed)](!0x1)));}};let _0x1fa603=class extends _0x4943b0[_0x5b54aa(0x241)]{constructor(_0x5b4f39=_0x4101f5,_0x1b9c25,_0x3ca577,_0x5db7e6,_0x57fcdd){const _0x5b6d32=_0x5b54aa;super(),this[_0x5b6d32(0xed)]=_0x5b4f39,this['_renderManagerService']=_0x1b9c25,this[_0x5b6d32(0x2c0)]=_0x3ca577,this[_0x5b6d32(0x3cf)]=_0x5db7e6,this['_commandService']=_0x57fcdd;let {..._0x97f1a0}=(0x0,_0x4943b0[_0x5b6d32(0x23b)])({},_0x4101f5,this[_0x5b6d32(0xed)]);this[_0x5b6d32(0x3cf)]['setConfig'](_0x5b6d32(0x1d3),_0x97f1a0);}[_0x5b54aa(0x116)](){const _0x3ec41f=_0x5b54aa;this[_0x3ec41f(0x251)](),this['disposeWithMe'](this[_0x3ec41f(0x18e)][_0x3ec41f(0x243)](_0x2f316f)),this['_initDependencies']();}[_0x5b54aa(0x1fa)](){const _0x4433fe=_0x5b54aa;this[_0x4433fe(0x1ce)]();}['_registerDependencies'](){const _0x237160=_0x5b54aa;var _0x26bc6c;let _0x164c79=[[_0x486605],[_0x18dc58[_0x237160(0x252)],{'useClass':_0x18dc58[_0x237160(0x307)]}],[_0x256aaf[_0x237160(0x1bd)],{'useClass':_0x433de9}],[_0x256aaf[_0x237160(0x261)],{'useClass':_0x151b59}],[_0x188158],[_0x53a9cc],[_0x2b5738],[_0x3024b8],[_0x5761ee]];this[_0x237160(0xed)][_0x237160(0xf3)]!==!0x1&&_0x164c79[_0x237160(0x3c3)]([_0x3d2d52],[_0x2abd49],[_0x4af4af],[_0x409bf7],[_0x295776],[_0x427159]),this[_0x237160(0xed)][_0x237160(0x1f3)]&&_0x164c79['push']([_0x528f2d]),(0x0,_0x4943b0[_0x237160(0x370)])(this['_injector'],(0x0,_0x4943b0['mergeOverrideWithDependencies'])(_0x164c79,(_0x26bc6c=this['_config'])==null?void 0x0:_0x26bc6c['override']));}[_0x5b54aa(0x1ce)](){const _0x518f67=_0x5b54aa;this['_config'][_0x518f67(0xf3)]!==!0x1&&this['disposeWithMe'](this['_renderManagerService'][_0x518f67(0x18c)](_0x4943b0[_0x518f67(0x21a)][_0x518f67(0x206)],[_0x21c178])),this['disposeWithMe'](this[_0x518f67(0x2e7)][_0x518f67(0x18c)](_0x4943b0[_0x518f67(0x21a)][_0x518f67(0x156)],[_0xee7229]));}[_0x5b54aa(0x3e9)](){const _0x4a0b16=_0x5b54aa;(0x0,_0x4943b0[_0x4a0b16(0x2fe)])(this['_injector'],[[_0x2b5738],[_0x3024b8],[_0x188158],[_0x53a9cc],[_0x5761ee]]),this['_config'][_0x4a0b16(0xf3)]!==!0x1&&(0x0,_0x4943b0[_0x4a0b16(0x2fe)])(this[_0x4a0b16(0x2c0)],[[_0x295776],[_0x427159]]),this[_0x4a0b16(0xed)][_0x4a0b16(0x1f3)]&&(0x0,_0x4943b0[_0x4a0b16(0x2fe)])(this['_injector'],[[_0x528f2d]]);}};_0x594b82(_0x1fa603,'pluginName','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN'),_0x594b82(_0x1fa603,'packageName',_0x4d4ba3),_0x594b82(_0x1fa603,_0x5b54aa(0x159),_0x4c5614),_0x1fa603=_0x52e036([(0x0,_0x4943b0['DependentOn'])(_0x18fddf[_0x5b54aa(0x2b7)],_0x5b2323[_0x5b54aa(0x3b4)],_0x55d5e4[_0x5b54aa(0x3c9)],_0x18dc58[_0x5b54aa(0x3e4)],_0x2be976[_0x5b54aa(0x26f)],_0x431c6f[_0x5b54aa(0xa2)],_0x256aaf[_0x5b54aa(0x334)]),_0x5036f2(0x1,_0x55d5e4[_0x5b54aa(0x32a)]),_0x5036f2(0x2,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x4943b0[_0x5b54aa(0x3f3)])),_0x5036f2(0x3,_0x4943b0[_0x5b54aa(0x19a)]),_0x5036f2(0x4,_0x4943b0[_0x5b54aa(0x16f)])],_0x1fa603);let _0x1d59cd=class extends _0x256aaf[_0x5b54aa(0x311)]{constructor(_0x4e8a36,_0x27d6f1,_0x53039a,_0x1e2826,_0x17e2ec){const _0x4fa54d=_0x5b54aa;super(_0x4e8a36,_0x27d6f1,_0x53039a,_0x1e2826,_0x17e2ec),_0x594b82(this,_0x4fa54d(0x294),new _0x6726f3[(_0x4fa54d(0x369))]()),this[_0x4fa54d(0x283)](()=>{const _0x53c3b0=_0x4fa54d;this[_0x53c3b0(0x294)]['next'](),this['_dispose$'][_0x53c3b0(0x13e)]();});}async['createSocket'](_0x229e52){const _0x4c7321=_0x5b54aa;let _0x3c9cd9=await this[_0x4c7321(0x30e)](),_0x18eef7=this[_0x4c7321(0x399)](_0x229e52,_0x3c9cd9);return this[_0x4c7321(0x1df)](_0x18eef7);}[_0x5b54aa(0x399)](_0x1d2e3a,_0x30cde4){const _0x2d65e2=_0x5b54aa;let _0x9edcbb=typeof window>'u'?new URL(_0x1d2e3a):new URL(_0x1d2e3a,window[_0x2d65e2(0x313)]['origin']);_0x9edcbb[_0x2d65e2(0x1e3)]['set']('sessionTicket',_0x30cde4);let _0x426380=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2d65e2(0x313)][_0x2d65e2(0x148)]);return _0x426380[_0x2d65e2(0x131)](_0x2d65e2(0x12d))&&_0x9edcbb[_0x2d65e2(0x1e3)][_0x2d65e2(0x357)](_0x2d65e2(0x12d),_0x426380['get']('runId')),_0x9edcbb[_0x2d65e2(0x2f2)]();}async[_0x5b54aa(0x30e)](){const _0x3a2215=_0x5b54aa;var _0x11b3ee;let _0x3e9c81=this[_0x3a2215(0x3cf)][_0x3a2215(0x163)](_0x256aaf[_0x3a2215(0xd7)]),_0x4a90ff=(_0x3e9c81==null?void 0x0:_0x3e9c81[_0x3a2215(0x204)])??_0x256aaf['DEFAULT_WS_SESSION_TICKET_URL'];return((_0x11b3ee=(await(0x0,_0x6726f3[_0x3a2215(0x2bb)])(this['_httpService'][_0x3a2215(0xbd)]('GET',_0x4a90ff,{'headers':{'Content-Type':_0x3a2215(0x269)}})[_0x3a2215(0x338)]((0x0,_0x6726f3[_0x3a2215(0x2ee)])(_0x4b16d3=>_0x4b16d3[_0x3a2215(0x33c)]===_0x18dc58['HTTPEventType'][_0x3a2215(0x1d0)]),(0x0,_0x6726f3[_0x3a2215(0x2e4)])(0x4e20),(0x0,_0x6726f3['takeUntil'])(this['_dispose$']))))[_0x3a2215(0x170)])==null?void 0x0:_0x11b3ee[_0x3a2215(0x27e)])??'';}};_0x1d59cd=_0x52e036([_0x5036f2(0x0,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x4943b0[_0x5b54aa(0x3f3)])),_0x5036f2(0x1,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x18dc58[_0x5b54aa(0x3d2)])),_0x5036f2(0x2,_0x4943b0[_0x5b54aa(0x19a)]),_0x5036f2(0x3,_0x4943b0[_0x5b54aa(0x1f5)]),_0x5036f2(0x4,_0x2be976[_0x5b54aa(0x192)])],_0x1d59cd);let _0x1c978d=class extends _0x4943b0[_0x5b54aa(0x406)]{constructor(_0x8207b4,_0x5b789c,_0x3b1d7d){const _0x8ca1ed=_0x5b54aa;super(),this[_0x8ca1ed(0x1ca)]=_0x8207b4,this['_httpService']=_0x5b789c,this[_0x8ca1ed(0x3cf)]=_0x3b1d7d;}async['runOnServer'](_0x19a5d5,_0x43a0dd,_0x28b32b,..._0x1e7425){const _0x19b0ce=_0x5b54aa;let _0x2fbcdc=this[_0x19b0ce(0x1ca)]['getFocusedUnit']();if(!_0x2fbcdc)throw Error(_0x19b0ce(0x1fb));let _0x204014=(this[_0x19b0ce(0x3cf)][_0x19b0ce(0x163)](_0x256aaf[_0x19b0ce(0x177)])??_0x256aaf['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x19a5d5+_0x19b0ce(0x1ab)+_0x43a0dd,_0xbb6a49={'scriptId':_0x19a5d5,'runId':new URL(window[_0x19b0ce(0x313)][_0x19b0ce(0x306)])[_0x19b0ce(0x1e3)][_0x19b0ce(0x131)](_0x19b0ce(0x12d))??'','function':_0x43a0dd,'unitId':_0x2fbcdc[_0x19b0ce(0x371)](),'argsOfFunction':JSON[_0x19b0ce(0x1e0)](_0x1e7425),'invokeId':_0x28b32b[_0x19b0ce(0x225)]??'','executionId':_0x28b32b['executionId']??''};try{let _0x5285d5=await this[_0x19b0ce(0x164)][_0x19b0ce(0x34f)](_0x204014,{'body':_0xbb6a49});return _0x5285d5[_0x19b0ce(0x170)][_0x19b0ce(0x24b)]&&_0x5285d5['body'][_0x19b0ce(0x24b)][_0x19b0ce(0xce)]!==_0x3d4589['ErrorCode']['OK']?_0x19b0ce(0x103):_0x5285d5[_0x19b0ce(0x170)][_0x19b0ce(0x3a2)];}catch{return _0x19b0ce(0x103);}}};_0x1c978d=_0x52e036([_0x5036f2(0x0,_0x4943b0['IUniverInstanceService']),_0x5036f2(0x1,(0x0,_0x4943b0[_0x5b54aa(0x3fe)])(_0x18dc58[_0x5b54aa(0x3d2)])),_0x5036f2(0x2,_0x4943b0[_0x5b54aa(0x19a)])],_0x1c978d);let _0x3b14ef=0x7530,_0x1804f6=_0x5b54aa(0x1e8);var _0x3c9b97=class extends _0x4943b0[_0x5b54aa(0x406)]{constructor(){const _0x57a77a=_0x5b54aa;super(),_0x594b82(this,_0x57a77a(0x3df),(0x0,_0x4943b0['generateRandomId'])()),_0x594b82(this,_0x57a77a(0x2b6),new Set()),_0x594b82(this,'_unitOnClients',new Map()),_0x594b82(this,'_heartbeatTimer',null),_0x594b82(this,'_clearOtherTimers',new Map()),_0x594b82(this,_0x57a77a(0x2c4),new Map()),this[_0x57a77a(0x3fc)]();}[_0x5b54aa(0x337)](){const _0x4e92da=_0x5b54aa;super[_0x4e92da(0x337)](),this[_0x4e92da(0x119)]['forEach']((_0x4b1ce1,_0xaf5d9b)=>this[_0x4e92da(0x2ae)](_0xaf5d9b)),this[_0x4e92da(0x249)]&&window[_0x4e92da(0x106)](this[_0x4e92da(0x249)]);}[_0x5b54aa(0xb3)](_0x1eb021){const _0x206ff6=_0x5b54aa;return this[_0x206ff6(0x1b9)](_0x1eb021)[_0x206ff6(0x338)]((0x0,_0x6726f3['distinctUntilChanged'])());}[_0x5b54aa(0x197)](_0x315405){const _0x3e8239=_0x5b54aa;this[_0x3e8239(0x2b6)][_0x3e8239(0x1ec)]===0x0&&this[_0x3e8239(0x13f)](),this[_0x3e8239(0x2b6)][_0x3e8239(0x3e3)](_0x315405),this[_0x3e8239(0x1d4)]({'type':0x0,'memberID':this[_0x3e8239(0x3df)],'unitIDs':[_0x315405],'isForwarded':!0x1});}[_0x5b54aa(0x2db)](_0x5c65a8){const _0xaad0fb=_0x5b54aa;this[_0xaad0fb(0x2b6)][_0xaad0fb(0x37e)](_0x5c65a8),this[_0xaad0fb(0x2b6)][_0xaad0fb(0x1ec)]===0x0&&this[_0xaad0fb(0x249)]&&window['clearInterval'](this[_0xaad0fb(0x249)]);}[_0x5b54aa(0x3fc)](){const _0x373033=_0x5b54aa;this[_0x373033(0x283)]((0x0,_0x4943b0[_0x373033(0x3eb)])((0x0,_0x6726f3[_0x373033(0x109)])(window,_0x373033(0x23a))['subscribe'](_0x3c0a0b=>{const _0x126141=_0x373033;if(_0x3c0a0b['key']!==_0x1804f6||!_0x3c0a0b[_0x126141(0x2cf)])return;let _0x7b4bfc=JSON[_0x126141(0x3fd)](_0x3c0a0b['newValue']);this[_0x126141(0x2f0)](_0x7b4bfc);}))),window[_0x373033(0x1af)]('unload',()=>this[_0x373033(0x1d4)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x373033(0x3ab)](this[_0x373033(0x2b6)])}));}[_0x5b54aa(0x2f0)](_0x1833ca){const _0x380d92=_0x5b54aa;switch(_0x1833ca[_0x380d92(0x33c)]){case 0x0:this['_handleJoinEvent'](_0x1833ca);break;case 0x1:this[_0x380d92(0x29b)](_0x1833ca);break;case 0x2:this[_0x380d92(0x3d7)](_0x1833ca);}}[_0x5b54aa(0x14c)](_0x221942){const _0x59588d=_0x5b54aa;let {unitIDs:_0x104e4a,memberID:_0xd0548e,isForwarded:_0x12d00d}=_0x221942;_0x104e4a[_0x59588d(0xe0)](_0x5a7adf=>{const _0x3a7173=_0x59588d;if(!_0x12d00d&&this[_0x3a7173(0x135)][_0x3a7173(0x303)](_0x5a7adf)&&this[_0x3a7173(0x1b9)](_0x5a7adf)[_0x3a7173(0x3ed)](_0x256aaf['UnitStatus']['OTHER_CLIENTS_EDITING']),!this['_unitOnClients']['has'](_0x5a7adf)||!this[_0x3a7173(0x135)]['get'](_0x5a7adf)[_0x3a7173(0x303)](_0xd0548e)){let _0x5a3213=this[_0x3a7173(0x135)][_0x3a7173(0x131)](_0x5a7adf)||new Set();_0x5a3213[_0x3a7173(0x3e3)](_0xd0548e),this[_0x3a7173(0x135)]['set'](_0x5a7adf,_0x5a3213),this[_0x3a7173(0x202)](_0xd0548e);}}),_0x12d00d||this['_send']({'type':0x0,'memberID':this[_0x59588d(0x3df)],'unitIDs':[...this[_0x59588d(0x2b6)]],'isForwarded':!0x0});}[_0x5b54aa(0x202)](_0x374a21){const _0x8a6eb6=_0x5b54aa;this[_0x8a6eb6(0x2ae)](_0x374a21);let _0x1e9d1d=window['setTimeout'](()=>{const _0x2bf759=_0x8a6eb6;this[_0x2bf759(0x135)][_0x2bf759(0xe0)](_0x3e313c=>{const _0x4a0dd8=_0x2bf759;_0x3e313c[_0x4a0dd8(0x37e)](_0x374a21);});},_0x3b14ef*0x2);this['_clearOtherTimers'][_0x8a6eb6(0x357)](_0x374a21,_0x1e9d1d);}[_0x5b54aa(0x2ae)](_0xca8ce3){const _0x29bb12=_0x5b54aa;if(this[_0x29bb12(0x119)][_0x29bb12(0x303)](_0xca8ce3)){let _0x3a6a7e=this[_0x29bb12(0x119)][_0x29bb12(0x131)](_0xca8ce3);_0x3a6a7e&&window[_0x29bb12(0x30b)](_0x3a6a7e),this[_0x29bb12(0x119)][_0x29bb12(0x357)](_0xca8ce3,null);}}[_0x5b54aa(0x29b)](_0x3dff35){const _0x374cf2=_0x5b54aa;let {memberID:_0x51a28c,unitIDs:_0x2a4822}=_0x3dff35;_0x2a4822['forEach'](_0x5e684f=>{const _0x3ee4ca=_0x424e;var _0x12fada;let _0x4e2654=this[_0x3ee4ca(0x135)][_0x3ee4ca(0x131)](_0x5e684f);_0x4e2654&&(_0x4e2654[_0x3ee4ca(0x37e)](_0x51a28c),(_0x12fada=this['_ensureSubject'](_0x5e684f))==null||_0x12fada[_0x3ee4ca(0x3ed)](_0x4e2654['size']===0x0?_0x256aaf[_0x3ee4ca(0x345)][_0x3ee4ca(0x29f)]:_0x256aaf[_0x3ee4ca(0x345)][_0x3ee4ca(0xba)]));}),this[_0x374cf2(0x2ae)](_0x51a28c);}[_0x5b54aa(0x3d7)](_0x4126ba){const _0x2d25b3=_0x5b54aa;this['_scheduleClearOtherTimer'](_0x4126ba[_0x2d25b3(0xd9)]);}['_send'](_0x764aa8){const _0x20026f=_0x5b54aa;localStorage[_0x20026f(0x22b)](_0x1804f6,JSON[_0x20026f(0x1e0)](_0x764aa8));}['_scheduleHeartbeat'](){const _0x3f0248=_0x5b54aa;this[_0x3f0248(0x249)]=window[_0x3f0248(0x233)](()=>{const _0x401a86=_0x3f0248;this[_0x401a86(0x1d4)]({'type':0x2,'memberID':this[_0x401a86(0x3df)]});},_0x3b14ef);}['_ensureSubject'](_0x5cf99c){const _0x32e713=_0x5b54aa;return this[_0x32e713(0x2c4)][_0x32e713(0x303)](_0x5cf99c)||this['_unitStatus'][_0x32e713(0x357)](_0x5cf99c,new _0x6726f3[(_0x32e713(0x374))](_0x256aaf[_0x32e713(0x345)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x32e713(0x2c4)][_0x32e713(0x131)](_0x5cf99c);}};Object['defineProperty'](_0x37f8f9,_0x5b54aa(0x219),{'enumerable':!0x0,'get':function(){return _0x1d59cd;}}),Object[_0x5b54aa(0x181)](_0x37f8f9,_0x5b54aa(0xff),{'enumerable':!0x0,'get':function(){return _0x188158;}}),Object['defineProperty'](_0x37f8f9,_0x5b54aa(0x1be),{'enumerable':!0x0,'get':function(){return _0x1c978d;}}),_0x37f8f9[_0x5b54aa(0x2b2)]=_0x39290c,Object['defineProperty'](_0x37f8f9,'UniverCollaborationClientUIPlugin',{'enumerable':!0x0,'get':function(){return _0x1fa603;}}),_0x37f8f9[_0x5b54aa(0x271)]=_0x3c9b97;}));
1
+ function _0x4a82(){const _0x2a57f9=['cursorInfo$','enableLocalCache','triggerDblclick','useId','IRenderManagerService','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','handleMoveRange','currentColor','_status$','_instanceService','_colorAssignService','_scheduleHeartbeat','Subject','_initEntityListener','selections','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_normalizeUserId','amd','origin','runId','IDocClipboardService','primary','pageType','InsertRangeMoveDownCommandId','_collaborationController','timeout','handleInsertRow','reload','Tools','USERS_LEAVE','visible','_online','font','UniverLicensePlugin','UniverCollaborationPlugin','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_listenToOfflineEvent','startRow','UnitStatus','cursorInfo','stream','_commandService','reason','_docSkeleton','CONFLICT_PROCESSING','univerjs-icon\x20univerjs-icon-','UniverCollaborationClientUIPlugin','_initPresenceStatusComponents','_handleJoinEvent','registerBeforeClose','AWAITING','requireSession','value','Loading','_selfUnitIDs','height','range','element','selectedIds','trim','style','_removeClearOtherTimer','snapshot-loading-timeout','_localCacheService','SessionStatus','stroke-width','focus','_sheetSkeletonManagerService','column','isArray','onRendered','_docClipboardService','left','univer-text-blue-500','_getSessionTicket','_document','collaboration-client-ui.snapshotLoading.refresh','SOCKET_FAILED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','keys','ERROR','Module','_assignedColors','socket$','alert','_labelPosition','setItem','NodePositionConvertToCursor','_registerDependencies','react/jsx-runtime','_listenToOnlineEvent','LOCAL_CACHE_INTERVAL','DeleteRangeMoveLeftCommandId','_hover',':backup:','_init','GLOBAL','get','getCurrentUser','SheetSkeletonManagerService','getCurrentRevOfUnit','setActiveRange','timeoutId','bind','CollaborationStatus','setRemotePresence','_uiPartsService','/run/','params','search','univer-h-8\x20univer-w-8\x20univer-rounded-lg','handleDeleteRangeMoveUp','getTypeOfUnitDisposed$','FromArray','call','UniverSheets','_draw','Unknown\x20user','_configService','enableOfflineEditing','collaboration-client-ui.collabStatus.conflict','replaceSelectionInfoWithoutRefresh','clearRemotePresences','localName','_showAwaitingNotice','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','send','PENDING','getAllUnitsForType','collaboration-client-ui.permission.title','@univerjs/sheets-ui','parseFloat','forwardRef','UniverProLicense','defIds','children','collaboration-client-ui.collaboration.closeRoom','_collabCursorController','slice','length','path','_hovered','restore','fromEvent','timedOut','25430589jTcMFJ','_offsetY','_startDocCollabCursor','univer-appearance-none','\x20-\x20','isReleased','getColorFromTheme','_colorIndex','univer-flex\x20univer-items-center\x20univer-justify-center','replace','getCollabEntity$','includes','react','_ensureSubject','closePath','collaboration-client-ui.session.connection-failed','saveImage','IBeforeCloseService','@univerjs-pro/license','NodePositionConvertToRectRange','collaboration-client-ui.config','state$','_drawRectRange','RxDisposable','_initCommandExecutedListener','allSettled','UniverProCollaboration','SOCKET_FAILED_RETRY','handleInsertRangeMoveRight','strokeOpacity','ITransformService','entityInit$','clear','collaboration-client-ui.license.unit-type-rejected','getFocusedUnit','collaboration-client-ui.collabStatus.synced','unitId','onPointerEnter$','univer-size-4\x20univer-shrink-0\x20univer-text-amber-500','IUnitPresenceUIAdapterRegistry','removeEventListener','_disposed','message','LOCAL_CACHE_INTERVAL_KEY','parse','_session','getLocalCacheKey','onMouseMove','UniverProtocol','_stopBlinking','getSheetId','columnGroupId','getMemberID','SnapshotLoadingService','button','_docTransformSelectionsService','UniverDocsUi','enableDocumentCollaborationUI','loadOfflineData','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','resolve','name','getStateCache','span','_adapter','size','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','collaboration-client-ui.license.title','_retryingConflictCacheUnitIDs','onTransformChange$','isTransformMutationsWithChangesetSuccess','createInstance','_getSheetObject','contains','transformMutationsWithChangeset','collaboration-client-ui.conflict.title','unsubscribe','true','NOT_COLLAB','segmentPage','update','_refRangeService','updateOfflineData','tableId','UniverProCollaborationClient','defineProperty','@univerjs/engine-render','collaboration-client-ui.collaboration.offline-data-not-saved','_collaborationSessionService','object','getSheetObject','title','iterator','_cursor','handleIRemoveRow','_initialized','clearTimeout','_unitStatus','1em','univer-border-none\x20univer-bg-transparent','_clearOtherTimers','_doCreateSocket','IConfigService','_disposeEntitiesForType','hide','univer-text-green-500','collaboration-client-ui.collabStatus.notCollab','_editingConnectionsExceededNotices','ACTIVE_UNIT_EVENT_CHANNEL','drawWith','entries','_scheduleClearOtherTimer','off-line-icon_clip0_910_343','_removeRemotePresence','options','RemoveRowCommandId','isTransformMutationFailure','wsSessionTicketUrl','delete','CONFLICT','resume','createElement','show','RevisionService','getUnitStatus$','number','isInternalEditorID','_context','stage','status$','collaboration-client-ui.remoteRevert.title','useCallback','getItem','_pointerMoveDisposable','_handleLeaveEvent','10pJeyPV','dispose$','CLOSE_ROOM','collaboration-client-ui.conflict.content','collaboration-client-ui.collaboration.single-unit.warning','_roomMembers$','makeDirty','1.5.0','_conflictNotification','url(#off-line-icon_clip0_910_343)','@univerjs/engine-formula','UniverDocsUIPlugin','sheetID','debounceTime','HEADER','add','_blinkIntervalTimer','_toggleOnline','has','_initUserListener','collaboration-client-ui.session.will-retry','SnapshotLoadStage','collaboration-client-ui.permission.content','unhandledrejection','setInterval','syncEditingCollabCursor','use','256170OlVZUk','strokeWidth','3401121bCTTQO','UniverInstanceType','CONFLICT_CACHE_CLEAR_FAILED','TEXT_RANGE_LAYER_INDEX','getActiveSheet','canRenderAnchor','_updateLocalCursor','LocaleService','throttle','CollaborationSessionService','_onConflict','_textBubble','originalStrokeWidth','conflict$','handleIRemoveCol','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','OffLineIcon','6026088KqUOSr','pipe','changesetResend$','complete','IUniverInstanceService','_cachedData','push','_getSaveTimeout','Failed','_toggleOffline','error','getValue','createSocket','UniverProCollaborationClientUi','pageIndex','focusedId','_render','RichTextEditingMutation','on-line-icon_clip0_910_349','toString','resize','key','_registerPresenceStatusComponent','@univerjs/sheets','UniverUi','svg','_refreshCollabCursors','_initUnhandledRejectionListener','_sendLocalPresence','getCurrentSkeleton','arc','runOnServer','idSuffix','onLine','from','m2Prime','_shapes','_cursorInfo$','editingUnit','_reloadPage','map','_snapshotLoadingService','IImageIoService','getColor','_range','measureText','_startEntity','AWAITING_WITH_PENDING','_saveTaskMap','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','indicator','memberID','non-scaling-stroke','18kNsQJB','isEditing','totalBlocks','_activeSaveTaskMap','Error','enableDefaultConflictUI','_unitOnClients','IMessageService','transformMutation','div','setShapeProps','_isDisposed','getRangePointData','!univer-grid\x20univer-grid-cols-[16px_minmax(0,1fr)]\x20univer-items-start\x20univer-gap-x-1.5\x20univer-gap-y-2','SetDocZoomRatioOperation','engine','getPropertyValue','getCurrentUnitOfType','body','_clearTimeoutState','924587EkueXx','bold\x2013px\x20Arial,\x20sans-serif','transformStateCache','useRef','redoState','on-line-icon','labelHorizontalPosition','collaboration-client-ui.collabStatus.offline','prepareTransformSelections','executeCommand','_injector','_scene','_messageIds','0\x200\x2016\x2016','useImperativeHandle','shareInterval','addObject','_setupBeforeClosingHandler','_updateMessage','parseInt','getCellIndexByOffset','InsertRowCommandId','HTTPService','EffectRefRangId','Rect','NO_OTHER_CLIENTS_EDITING','_blockProgressWatches','baseVal','debounce','getDocRanges','toISOString','stack','row','yellow.400','CollaborationUIEventId','_getAnchorBounding','_config','_memberService','http://www.w3.org/2000/svg','_showConflictCacheClearFailedNotification','dark:focus:!univer-ring-offset-gray-800','RemoveColCommandId','toRgbString','hadStyleAttribute','Injector','DOC_RANGE_TYPE','exports','getOffsetConfig','_imageIoService','getMergeData','registerDependencies','_saveCache','_univerInstanceService','univer-m-0\x20univer-p-0','onCommandExecuted','_notificationService','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','hovered','univer-text-orange-500','_beforeCloseService','_messageService','UniverCore','columnIndex','univer-transition-all\x20univer-duration-200','collaboration-client-ui.collabStatus.fetchMiss','_docSyncEditingCollabCursorService','@univerjs-pro/collaboration-client','displayName','endColumn','_hideTimer','observe','every','_uploadLog','TEXT','offsetY','catch','_presenceStatusRegistrations','collab-text-range-','round','_name','_anchor','GET','loadedBlocks','_adapterRegistry','rxjs/operators','_eventUnsubscribe','values','evenodd','addEventListener','registerComponent','startOffset','location','searchParams','_handleCursorUpdate','pluginName','_drawTextRange','0.2)','getViewport','online','_adapterDisposables','generateRandomId','forEach','collaboration-client-ui.collabClient.tooltip.reconnect','visibilityState','off-line-icon','disposeWithMe','beginPath','useObservable','MessageType','saveOfflineData','_initAwaitingNotices','_getMergeRange','_lastPointer','defs','deserializeRangeWithSheet','textRanges','online$','collaboration-client-ui.conflict.clearFailed','loading','translate(.97)','sessionStatus$','_initEvent','polite','text','SheetsSelectionsService','IUIPartsService','colno','_userManagerService','getSelectionInfo','url(#on-line-icon_clip0_910_349)','WebBrowserSingleActiveUnitService','_monkeyPatchLogService','OTHER_CLIENTS_EDITING','mergeOverrideWithDependencies','stringify','moveTo','default','statusUIPart','undoState','dispose','startsWith','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','_entities','transformByState','_startBlinking','presenceKind','_onRefRangeChange','mutations','getRenderUnitById','application/json','url(#$1','transform','getLocalPresence','VIEW_MAIN','UNIVER_DOC','collab-text-anchor-','disposeUnit','UniverIcon','_isBlinkVisible','LOADING_BLOCKS','INetworkConditionService','RefRangeService','_transformService','WarningIcon','_createSocketURL','enableFrontendLog','static','_watchBlockProgress','attrs','_trackActiveSaveTask','@univerjs/docs-ui','UniverEngineRender','deepClone','ranges','_replaceConflictNotification','getCollabCursors$','tag','_initStatusComponent','_getLighterColor','reconnect','top','ICommandService','getBoundingClientRect','Warning','_online$','merge','_localeService','\x20at\x20','getCollabEntities','userId','@univerjs/docs','useLayoutEffect','post','_clearBlockProgressWatch','RegularPolygon','then','_handleHover','rgba','fillText','showText','_collaborationUIEventService','DependentOn','#0B9EFB','viewBox','_handleEvent','0\x200\x2017\x2016','unload','CollaborationEvent','_removeCollabCursors','ILogService','icon','adapters$','type','subscribe','_syncEditingCollabCursorService','getUnit','BuiltInUIPart','_themeService','_docStateChangeManagerService','collabCursorState$','constructor','M0\x200H16V16H0z','state','_initWindowErrorListener','_docSelectionManagerService','_initConflictHandling','collaboration-client-ui.license.domain-rejected','OnLineIcon','_heartbeatTimer','_removeAwaitingNotices','_disposeEntity','disconnect','_revisionService','_collabSessionService','newValue','white','assignAColorForMemberID','focused$','event$','UniverDocs','hasAttribute','current','_httpService','useDependency','_showConflictProcessingNotification','_backgroundColor','filter','RECT','React','toDisposable','_anchorDot','JOIN_ROOM_FAILED','highlightSecond','i18nKey','_docSkeletonManagerService','collaboration-client-ui.license.editing-connections-exceeded','_initDependencies','remove','filename','_retryConflictCacheClear','fillStyle','fill','lineTo','COLORS','transformIMECache','5BhMwJP','collaboration-client-ui.operation.update-remote-unit-presence','_cursors','useMemo','doc.mutation.rich-text-editing','unshift','Enter','status','removeRemotePresence','executionId','getConfig','colorChannel1','serializeRangeWithSheet','_clearRemotePresences','Shape','Button','WebSocketService','_collabCursorState$','collab-rect-range-','clsx','handleInsertCol','min','lineno','_saveTimedOutNotices','function','setUndoRedoMutationParamsCache','HEADER_MENU','_onCursorUpdate','_disabled','invokeId','spin','warning','getMember','xlink:href','subUnitId','small','next','clipPath','sheetId','CommandType','selection','_handleHeartbeatEvent','ErrorCode','none','storage','connectInjector','activate','kind','3216196suXqbX','bottom','addClipboardHook','assign','CollaborationController','_registerRenderDependencies','BehaviorSubject','toStringTag','INotificationService','SetTextSelectionsOperation','HTTPEventType','with','removeProperty','onStarting','clearInterval','sessionTicket','OFFLINE','exhaustSavingTask','_cursorShapes','blue.400','setAlpha','currentSkeleton$','getSheetBySheetId','_timeoutState$','_labelHorizontalPosition','switchMap','endOffset','RemoteUniscriptService','_scheduleSaving','querySelectorAll','SYNCED','isActive','jsxs','_onCursorDelete','_highlight','throttleTime','@univerjs/design','LICENSE_DOMAIN_REJECTED','setTimeout','tooltipKey','_showText','_send','stroke','transformRemoteChangeset','Vector2','_docTransformStateCacheService','getUndoRedoMutationParamsCache','UNIVER_SHEET','appliedStrokeWidth','clickable','decorate','getTypeOfUnitAdded$','init','refreshLabel','snapshot-loading-','setStateCache','_logService','COMPLETE','handleInsertRangeMoveDown','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','jsx','split','width','eventID','content','string','...','labelPosition','_pendingEntities','save','black','disableLocalCache','cacheCleared','univer-inline-flex\x20univer-items-center\x20univer-justify-center','SHEET_VIEWPORT_KEY','getCurrentSelections','_color','_docTransformIMECacheService','@univerjs/protocol','roomMembers','DocSelectionManagerService','collaboration-client-ui.session.collaboration-timeout','jiqing.500','offline','color','UniverEngineFormula','_localStorageService','/universer-api/frontend/logs','preventDefault','_getScale','_blinkTimer','roomMembers$','setOffsetY','DocIMEInputManagerService','Disposable','firstValueFrom','packageName','clearOfflineData','unitType','getSkeleton','ONLINE','unitID','Tooltip','_memberID','@univerjs/core','DisposableCollection','priority','rgba(255,\x20255,\x20255,\x200.01)','toFixed','mask','memberId','DesktopCollaborationStatusDisplayController','timeoutState$','distinctUntilChanged','touchDependencies','set','142079svbSLj','runRefRangeMutations','rxjs','canRenderSelection','_renderManagerService','_presenceAdapterRegistry','collaboration-client-ui.conflict.retry','@univerjs/network','_startSheetCollabCursor','getActiveRange','m1Prime','elapsedMs','SetSelectionsOperation','data','backgroundColor','ILocalCacheService','_dispose$','_transformPreviousActiveRange','OTHER_CLIENT_EDITING','find','flatMap','target','asObservable','rgb','_highlightSecond','ThemeService','Response','some','subscribeEvent','DocumentSkeletonPageType','#FFF','isFinite','_updateCollabCursors','saveTaskMap','right','_getUserId','getPropertyPriority','highlight','fromEventSubject','_id','vectorEffect','_entityInit$','getCurrentTypeOfUnit$','Inject','UPDATE_CURSOR','toPrimitive','takeUntil','getUnitId','BrowserCollaborationSocketService','getOwnPropertyDescriptor','pointer','_bindAdapter','endRow','_transformUndoRedoStack','collaboration-client-ui.collabStatus.syncing','findNodePositionByCharIndex','currentTheme$','_drawAnchor','collaboration-client-ui.remoteRevert.content','MemberService'];_0x4a82=function(){return _0x2a57f9;};return _0x4a82();}function _0x2f4a(_0x3192ce,_0x315f77){_0x3192ce=_0x3192ce-0x1b6;const _0x4a8299=_0x4a82();let _0x2f4ac7=_0x4a8299[_0x3192ce];return _0x2f4ac7;}(function(_0x489fb4,_0x135b37){const _0x261faf=_0x2f4a,_0x64816a=_0x489fb4();while(!![]){try{const _0x51d835=parseInt(_0x261faf(0x511))/0x1+-parseInt(_0x261faf(0x4b5))/0x2+parseInt(_0x261faf(0x4b7))/0x3+-parseInt(_0x261faf(0x2d2))/0x4*(-parseInt(_0x261faf(0x2a2))/0x5)+parseInt(_0x261faf(0x4fd))/0x6*(parseInt(_0x261faf(0x346))/0x7)+parseInt(_0x261faf(0x4c8))/0x8+-parseInt(_0x261faf(0x413))/0x9*(parseInt(_0x261faf(0x49a))/0xa);if(_0x51d835===_0x135b37)break;else _0x64816a['push'](_0x64816a['shift']());}catch(_0xc0ead6){_0x64816a['push'](_0x64816a['shift']());}}}(_0x4a82,0xb0765),function(_0x5d4eaf,_0x41bc7e){const _0x580833=_0x2f4a;typeof exports==_0x580833(0x46c)&&typeof module<'u'?_0x41bc7e(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==_0x580833(0x2ba)&&define[_0x580833(0x393)]?define([_0x580833(0x1c7),_0x580833(0x1db),_0x580833(0x33a),'@univerjs/ui','rxjs',_0x580833(0x1ed),_0x580833(0x2f6),_0x580833(0x41f),_0x580833(0x3db),'@univerjs-pro/collaboration',_0x580833(0x425),_0x580833(0x257),_0x580833(0x243),_0x580833(0x469),_0x580833(0x34d),_0x580833(0x4a4),_0x580833(0x4df),_0x580833(0x404),_0x580833(0x320)],_0x41bc7e):(_0x5d4eaf=typeof globalThis<'u'?globalThis:_0x5d4eaf||self,_0x41bc7e(_0x5d4eaf[_0x580833(0x4d5)]={},_0x5d4eaf[_0x580833(0x467)],_0x5d4eaf[_0x580833(0x1d6)],_0x5d4eaf[_0x580833(0x4e0)],_0x5d4eaf[_0x580833(0x348)],_0x5d4eaf['rxjs']['operators'],_0x5d4eaf['UniverDesign'],_0x5d4eaf[_0x580833(0x291)],_0x5d4eaf[_0x580833(0x291)],_0x5d4eaf[_0x580833(0x42d)],_0x5d4eaf[_0x580833(0x407)],_0x5d4eaf[_0x580833(0x288)],_0x5d4eaf[_0x580833(0x44b)],_0x5d4eaf[_0x580833(0x244)],_0x5d4eaf['UniverNetwork'],_0x5d4eaf[_0x580833(0x327)],_0x5d4eaf[_0x580833(0x3f5)],_0x5d4eaf['UniverSheetsUi'],_0x5d4eaf[_0x580833(0x443)]));}(this,function(_0x47ea75,_0x1134b1,_0x583c0b,_0x132a23,_0x40bd7a,_0x6228ab,_0x309bf7,_0x419824,_0x4a8b3a,_0x3569c2,_0x356232,_0x574cdb,_0x594380,_0x1f114e,_0x55fd99,_0x2afa04,_0x44985e,_0x163f80,_0x52ba28){const _0x49e248=_0x2f4a;Object['defineProperty'](_0x47ea75,Symbol[_0x49e248(0x2d9)],{'value':_0x49e248(0x3d3)});function _0x9c619c({ref:_0x18411e,..._0x3a1e51}){const _0x3b88d1=_0x49e248;let {preserveStrokeWidth:_0x43812b,icon:_0x219c86,id:_0x443ff4,className:_0x1577f2,extend:_0x42e4ba,..._0x3bc0a3}=_0x3a1e51,_0x1be664=(_0x3b88d1(0x3af)+_0x443ff4+'\x20'+(_0x1577f2||''))[_0x3b88d1(0x3bd)](),_0x178e8b='_'+(0x0,_0x419824[_0x3b88d1(0x385)])(),_0x20d9cd=(0x0,_0x419824[_0x3b88d1(0x514)])(null);return(0x0,_0x419824[_0x3b88d1(0x51f)])(_0x18411e,()=>_0x20d9cd[_0x3b88d1(0x28a)]),(0x0,_0x419824[_0x3b88d1(0x258)])(()=>{const _0x9544a4=_0x3b88d1;if(_0x43812b&&_0x20d9cd[_0x9544a4(0x28a)]&&_0x20d9cd[_0x9544a4(0x28a)][_0x9544a4(0x3fd)]===_0x219c86[_0x9544a4(0x249)])return _0x2fe0b8(_0x20d9cd[_0x9544a4(0x28a)]);},[_0x43812b,_0x219c86]),_0x359c8a(_0x219c86,''+_0x443ff4,{'defIds':_0x219c86[_0x3b88d1(0x408)],'idSuffix':_0x178e8b},{'ref':_0x20d9cd,'className':_0x1be664,..._0x3bc0a3},_0x42e4ba);}function _0x359c8a(_0x37a42,_0x542fa2,_0x185e75,_0x31d67a,_0x3a6293){const _0xef475e=_0x49e248;return(0x0,_0x419824['createElement'])(_0x37a42[_0xef475e(0x249)],{'key':_0x542fa2,..._0x556bb7(_0x37a42,_0x185e75,_0x3a6293),..._0x31d67a},(_0x590634(_0x37a42,_0x185e75)['children']||[])[_0xef475e(0x4f0)]((_0x38dbb1,_0x1de391)=>_0x359c8a(_0x38dbb1,_0x542fa2+'-'+_0x37a42[_0xef475e(0x249)]+'-'+_0x1de391,_0x185e75,void 0x0,_0x3a6293)));}function _0x556bb7(_0x123ebb,_0x3b5e2f,_0x2c679f){const _0x35e6f6=_0x49e248;let _0xcf9c06={..._0x123ebb[_0x35e6f6(0x241)]};_0x2c679f!=null&&_0x2c679f[_0x35e6f6(0x2ad)]&&_0xcf9c06[_0x35e6f6(0x29e)]===_0x35e6f6(0x2ad)&&(_0xcf9c06[_0x35e6f6(0x29e)]=_0x2c679f[_0x35e6f6(0x2ad)]),_0x2c679f!=null&&_0x2c679f[_0x35e6f6(0x2ad)]&&_0xcf9c06[_0x35e6f6(0x2fc)]===_0x35e6f6(0x2ad)&&(_0xcf9c06['stroke']=_0x2c679f[_0x35e6f6(0x2ad)]),_0x123ebb[_0x35e6f6(0x249)]===_0x35e6f6(0x33f)&&_0xcf9c06['id']&&(_0xcf9c06['id']+=_0x3b5e2f[_0x35e6f6(0x4e8)]),Object[_0x35e6f6(0x481)](_0xcf9c06)[_0x35e6f6(0x1fe)](([_0x5a9d1e,_0x347603])=>{const _0xb89596=_0x35e6f6;_0x5a9d1e==='mask'&&typeof _0x347603==_0xb89596(0x313)&&(_0xcf9c06[_0x5a9d1e]=_0x347603['replace'](/url\(#(.*)\)/,_0xb89596(0x22f)+_0x3b5e2f[_0xb89596(0x4e8)]+')'));});let {defIds:_0x146b6f}=_0x3b5e2f;return!_0x146b6f||_0x146b6f[_0x35e6f6(0x40d)]===0x0||(_0x123ebb[_0x35e6f6(0x249)]===_0x35e6f6(0x4b4)&&_0xcf9c06['xlink:href']&&(_0xcf9c06[_0x35e6f6(0x2c3)]+=_0x3b5e2f[_0x35e6f6(0x4e8)]),Object[_0x35e6f6(0x481)](_0xcf9c06)[_0x35e6f6(0x1fe)](([_0x4382cd,_0x5db5a3])=>{const _0x3c555d=_0x35e6f6;typeof _0x5db5a3==_0x3c555d(0x313)&&(_0xcf9c06[_0x4382cd]=_0x5db5a3[_0x3c555d(0x41c)](/url\(#(.*)\)/,_0x3c555d(0x22f)+_0x3b5e2f[_0x3c555d(0x4e8)]+')'));})),_0xcf9c06;}function _0x590634(_0x4cefbe,_0x3e250b){const _0x771b36=_0x49e248;var _0x5f519f;let {defIds:_0x417af0}=_0x3e250b;return!_0x417af0||_0x417af0[_0x771b36(0x40d)]===0x0?_0x4cefbe:_0x4cefbe[_0x771b36(0x249)]===_0x771b36(0x20a)&&(_0x5f519f=_0x4cefbe[_0x771b36(0x409)])!=null&&_0x5f519f[_0x771b36(0x40d)]?{..._0x4cefbe,'children':_0x4cefbe[_0x771b36(0x409)][_0x771b36(0x4f0)](_0x52c065=>typeof _0x52c065['attrs']['id']==_0x771b36(0x313)&&_0x417af0&&_0x417af0[_0x771b36(0x41e)](_0x52c065[_0x771b36(0x241)]['id'])?{..._0x52c065,'attrs':{..._0x52c065['attrs'],'id':_0x52c065[_0x771b36(0x241)]['id']+_0x3e250b[_0x771b36(0x4e8)]}}:_0x52c065)}:_0x4cefbe;}function _0x2fe0b8(_0x1e50b9){const _0x4dc538=_0x49e248;let _0x429548=_0x1e50b9[_0x4dc538(0x264)][_0x4dc538(0x52c)],_0x41f2b1=Math['max'](_0x429548['width'],_0x429548[_0x4dc538(0x3b9)]);if(!Number[_0x4dc538(0x365)](_0x41f2b1)||_0x41f2b1<=0x0||_0x429548[_0x4dc538(0x310)]<=0x0||_0x429548['height']<=0x0)return()=>void 0x0;let _0x426aee=0x10/_0x41f2b1,_0x3774aa=Array[_0x4dc538(0x4ea)](_0x1e50b9[_0x4dc538(0x2ef)]('circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use'))[_0x4dc538(0x35a)](_0xcf20b7=>{const _0x1e3c50=_0x4dc538;let _0x368b4a=getComputedStyle(_0xcf20b7),_0xcad843=Number[_0x1e3c50(0x405)](_0x368b4a[_0x1e3c50(0x4b6)]);return _0x368b4a['stroke']===_0x1e3c50(0x2cd)||Number[_0x1e3c50(0x405)](_0x368b4a[_0x1e3c50(0x430)])===0x0||_0x368b4a[_0x1e3c50(0x36e)]===_0x1e3c50(0x4fc)||!Number[_0x1e3c50(0x365)](_0xcad843)||_0xcad843<=0x0?[]:[{'element':_0xcf20b7,'hadStyleAttribute':_0xcf20b7[_0x1e3c50(0x289)]('style'),'originalStrokeWidth':_0xcad843,'strokeWidth':_0x3f6aaa(_0xcf20b7[_0x1e3c50(0x3be)],_0x1e3c50(0x3c3))}];})[_0x4dc538(0x4f0)](_0x3882e7=>({'appliedStrokeWidth':null,'element':_0x3882e7[_0x4dc538(0x3bb)],'hadStyleAttribute':_0x3882e7['hadStyleAttribute'],'isReleased':!0x1,'originalStrokeWidth':_0x3882e7[_0x4dc538(0x4c3)],'strokeWidth':_0x3882e7[_0x4dc538(0x4b6)]}));if(_0x3774aa['length']===0x0)return()=>void 0x0;let _0xa70382=(_0x18c497,_0x457c12)=>{const _0x834cb6=_0x4dc538;if(_0x429548[_0x834cb6(0x310)]<=0x0||_0x429548[_0x834cb6(0x3b9)]<=0x0||_0x18c497<=0x0||_0x457c12<=0x0)return;let _0x546d45=Math[_0x834cb6(0x2b7)](_0x18c497/_0x429548[_0x834cb6(0x310)],_0x457c12/_0x429548[_0x834cb6(0x3b9)]);!Number['isFinite'](_0x546d45)||_0x546d45<=0x0||_0x3774aa[_0x834cb6(0x1fe)](_0x160f0c=>{const _0x49af84=_0x834cb6;if(_0x160f0c[_0x49af84(0x418)])return;if(_0x160f0c[_0x49af84(0x302)]!==null&&(_0x160f0c[_0x49af84(0x3bb)][_0x49af84(0x3be)][_0x49af84(0x50d)](_0x49af84(0x3c3))!==_0x160f0c[_0x49af84(0x302)]||_0x160f0c[_0x49af84(0x3bb)][_0x49af84(0x3be)][_0x49af84(0x36a)](_0x49af84(0x3c3))!==_0x160f0c[_0x49af84(0x4b6)][_0x49af84(0x33c)])){_0x160f0c[_0x49af84(0x302)]=null,_0x160f0c[_0x49af84(0x418)]=!0x0;return;}let _0x17dfef=_0x160f0c[_0x49af84(0x4c3)]*_0x426aee/_0x546d45,_0xdebeb1=Number(_0x17dfef[_0x49af84(0x33e)](0xc))+'px';_0x160f0c[_0x49af84(0x3bb)][_0x49af84(0x3be)]['setProperty'](_0x49af84(0x3c3),_0xdebeb1,_0x160f0c[_0x49af84(0x4b6)][_0x49af84(0x33c)]),_0x160f0c['appliedStrokeWidth']=_0xdebeb1;});},_0x215f0b=_0x1e50b9[_0x4dc538(0x24f)]();_0xa70382(_0x215f0b[_0x4dc538(0x310)],_0x215f0b[_0x4dc538(0x3b9)]);let _0x8cf836=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x196419=>{const _0x1378cc=_0x4dc538;if(_0x196419['some'](_0xf90833=>_0xf90833[_0x1378cc(0x35b)]===_0x1e50b9)){let _0x45d560=_0x1e50b9[_0x1378cc(0x24f)]();_0xa70382(_0x45d560[_0x1378cc(0x310)],_0x45d560['height']);}});return _0x8cf836==null||_0x8cf836[_0x4dc538(0x1df)](_0x1e50b9),()=>{const _0x199dc0=_0x4dc538;_0x8cf836==null||_0x8cf836[_0x199dc0(0x280)](),_0x3774aa[_0x199dc0(0x1fe)](_0x3b48ed=>{const _0x46a54a=_0x199dc0;_0x3b48ed['appliedStrokeWidth']!==null&&(_0x59c863(_0x3b48ed[_0x46a54a(0x3bb)][_0x46a54a(0x3be)],'stroke-width',_0x3b48ed[_0x46a54a(0x302)],_0x3b48ed['strokeWidth'][_0x46a54a(0x33c)],_0x3b48ed[_0x46a54a(0x4b6)]),!_0x3b48ed[_0x46a54a(0x1c4)]&&_0x3b48ed['element'][_0x46a54a(0x3be)]['length']===0x0&&_0x3b48ed[_0x46a54a(0x3bb)]['removeAttribute'](_0x46a54a(0x3be)));});};}function _0x3f6aaa(_0x20af01,_0x5310b7){const _0x28425b=_0x49e248;return{'priority':_0x20af01[_0x28425b(0x36a)](_0x5310b7),'value':_0x20af01[_0x28425b(0x50d)](_0x5310b7)};}function _0x59c863(_0x535161,_0x2def0a,_0x1bf2e4,_0x307306,_0x11b32a){const _0x209667=_0x49e248;_0x535161[_0x209667(0x50d)](_0x2def0a)===_0x1bf2e4&&_0x535161['getPropertyPriority'](_0x2def0a)===_0x307306&&(_0x11b32a[_0x209667(0x3b6)]?_0x535161['setProperty'](_0x2def0a,_0x11b32a[_0x209667(0x3b6)],_0x11b32a[_0x209667(0x33c)]):_0x535161[_0x209667(0x2de)](_0x2def0a));}_0x9c619c[_0x49e248(0x1dc)]=_0x49e248(0x236);let _0x44667e={'tag':_0x49e248(0x4e1),'attrs':{'xmlns':_0x49e248(0x1bf),'fill':_0x49e248(0x2cd),'viewBox':_0x49e248(0x51e),'width':_0x49e248(0x475),'height':_0x49e248(0x475)},'children':[{'tag':'g','attrs':{'clipPath':_0x49e248(0x4a3)},'children':[{'tag':_0x49e248(0x40e),'attrs':{'stroke':_0x49e248(0x389),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x49e248(0x1e7),'strokeWidth':1.2}}]},{'tag':_0x49e248(0x20a),'attrs':{},'children':[{'tag':_0x49e248(0x2c7),'attrs':{'id':_0x49e248(0x483)},'children':[{'tag':_0x49e248(0x40e),'attrs':{'fill':_0x49e248(0x284),'d':_0x49e248(0x276)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x49148c=(0x0,_0x419824[_0x49e248(0x406)])(function(_0x5e61eb,_0x5b2928){const _0x320cf3=_0x49e248;return(0x0,_0x419824[_0x320cf3(0x48c)])(_0x9c619c,Object[_0x320cf3(0x2d5)]({},_0x5e61eb,{'id':_0x320cf3(0x201),'ref':_0x5b2928,'icon':_0x44667e}));});_0x49148c[_0x49e248(0x1dc)]=_0x49e248(0x4c7);let _0x32baa1={'tag':_0x49e248(0x4e1),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x49e248(0x2cd),'viewBox':_0x49e248(0x266),'width':_0x49e248(0x475),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x49e248(0x21a)},'children':[{'tag':_0x49e248(0x40e),'attrs':{'stroke':_0x49e248(0x389),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':_0x49e248(0x1e7),'strokeWidth':1.2}}]},{'tag':_0x49e248(0x20a),'attrs':{},'children':[{'tag':_0x49e248(0x2c7),'attrs':{'id':_0x49e248(0x4da)},'children':[{'tag':'path','attrs':{'fill':_0x49e248(0x284),'d':_0x49e248(0x276),'transform':_0x49e248(0x210)}}]}]}],'defIds':[_0x49e248(0x4da)]},_0x345f57=(0x0,_0x419824[_0x49e248(0x406)])(function(_0x355148,_0x97237){const _0x1962d0=_0x49e248;return(0x0,_0x419824[_0x1962d0(0x48c)])(_0x9c619c,Object[_0x1962d0(0x2d5)]({},_0x355148,{'id':_0x1962d0(0x516),'ref':_0x97237,'icon':_0x32baa1}));});_0x345f57[_0x49e248(0x1dc)]=_0x49e248(0x27c);let _0x3ad491={'tag':_0x49e248(0x4e1),'attrs':{'xmlns':_0x49e248(0x1bf),'fill':_0x49e248(0x2cd),'viewBox':_0x49e248(0x51e),'width':_0x49e248(0x475),'height':_0x49e248(0x475)},'children':[{'tag':_0x49e248(0x40e),'attrs':{'fill':_0x49e248(0x389),'d':_0x49e248(0x387),'fillRule':'evenodd','clipRule':_0x49e248(0x1f0)}}]},_0x2e2313=(0x0,_0x419824[_0x49e248(0x406)])(function(_0x264170,_0x13220b){return(0x0,_0x419824['createElement'])(_0x9c619c,Object['assign']({},_0x264170,{'id':'warning-icon','ref':_0x13220b,'icon':_0x3ad491}));});_0x2e2313[_0x49e248(0x1dc)]=_0x49e248(0x23c);let _0x264fd3={'tag':_0x49e248(0x4e1),'attrs':{'xmlns':_0x49e248(0x1bf),'fill':_0x49e248(0x2cd),'viewBox':_0x49e248(0x51e),'width':_0x49e248(0x475),'height':_0x49e248(0x475)},'children':[{'tag':'path','attrs':{'fill':_0x49e248(0x263),'d':_0x49e248(0x455),'fillOpacity':0.2,'fillRule':_0x49e248(0x1f0),'clipRule':_0x49e248(0x1f0)}},{'tag':_0x49e248(0x40e),'attrs':{'fill':_0x49e248(0x263),'d':_0x49e248(0x44e),'fillRule':'evenodd','clipRule':_0x49e248(0x1f0)}}]},_0x1f236c=(0x0,_0x419824['forwardRef'])(function(_0x175371,_0x37890d){const _0x4b6f18=_0x49e248;return(0x0,_0x419824['createElement'])(_0x9c619c,Object[_0x4b6f18(0x2d5)]({},_0x175371,{'id':'loading-multi-icon','ref':_0x37890d,'icon':_0x264fd3}));});_0x1f236c[_0x49e248(0x1dc)]='LoadingMultiIcon';function _0x7a2dc2(_0x2a6660){const _0x1de5f8=_0x49e248;switch(_0x2a6660){case _0x1134b1[_0x1de5f8(0x3ea)][_0x1de5f8(0x2e2)]:return{'icon':(0x0,_0x4a8b3a['jsx'])(_0x49148c,{}),'colorClass':'univer-text-red-500','i18nKey':_0x1de5f8(0x518),'tooltipKey':_0x1de5f8(0x1ff),'clickable':!0x0,'indicator':_0x1de5f8(0x23f)};case _0x1134b1[_0x1de5f8(0x3ea)][_0x1de5f8(0x48a)]:return{'icon':(0x0,_0x4a8b3a[_0x1de5f8(0x30e)])(_0x49148c,{}),'colorClass':_0x1de5f8(0x1d3),'i18nKey':_0x1de5f8(0x3fa),'clickable':!0x1,'indicator':_0x1de5f8(0x23f)};case _0x1134b1[_0x1de5f8(0x3ea)]['FETCH_MISS']:return{'icon':(0x0,_0x4a8b3a['jsx'])(_0x1f236c,{}),'colorClass':_0x1de5f8(0x3cb),'i18nKey':_0x1de5f8(0x1d9),'clickable':!0x1,'indicator':_0x1de5f8(0x2c0)};case _0x1134b1[_0x1de5f8(0x3ea)][_0x1de5f8(0x461)]:return{'icon':(0x0,_0x4a8b3a[_0x1de5f8(0x30e)])(_0x345f57,{}),'colorClass':'univer-text-gray-400','i18nKey':_0x1de5f8(0x47d),'clickable':!0x1,'indicator':_0x1de5f8(0x23f)};case _0x1134b1[_0x1de5f8(0x3ea)]['AWAITING']:case _0x1134b1[_0x1de5f8(0x3ea)]['AWAITING_WITH_PENDING']:return{'icon':(0x0,_0x4a8b3a[_0x1de5f8(0x30e)])(_0x1f236c,{}),'colorClass':_0x1de5f8(0x3cb),'i18nKey':_0x1de5f8(0x37c),'clickable':!0x1,'indicator':_0x1de5f8(0x2c0)};case _0x1134b1['CollaborationStatus'][_0x1de5f8(0x401)]:return{'icon':(0x0,_0x4a8b3a[_0x1de5f8(0x30e)])(_0x1f236c,{}),'colorClass':_0x1de5f8(0x3cb),'i18nKey':'collaboration-client-ui.collabStatus.syncing','clickable':!0x1,'indicator':_0x1de5f8(0x2c0)};case _0x1134b1['CollaborationStatus'][_0x1de5f8(0x2f0)]:return{'icon':(0x0,_0x4a8b3a[_0x1de5f8(0x30e)])(_0x345f57,{}),'colorClass':_0x1de5f8(0x47c),'i18nKey':_0x1de5f8(0x436),'clickable':!0x1,'indicator':_0x1de5f8(0x23f)};}}function _0x2564f2(_0x4704a7){const _0x1f064a=_0x49e248;let {status$:_0x29907f}=_0x4704a7,_0x281dcf=(0x0,_0x132a23[_0x1f064a(0x204)])(_0x29907f,_0x1134b1[_0x1f064a(0x3ea)][_0x1f064a(0x461)]),_0x2ff5fb=(0x0,_0x132a23[_0x1f064a(0x28c)])(_0x583c0b[_0x1f064a(0x4be)]),_0x31ff77=(0x0,_0x132a23['useDependency'])(_0x1134b1['CollaborationSessionService']),_0x2d8353=(0x0,_0x419824[_0x1f064a(0x2a5)])(()=>_0x7a2dc2(_0x281dcf),[_0x281dcf]),_0x21ccc9=_0x281dcf!==_0x1134b1[_0x1f064a(0x3ea)][_0x1f064a(0x2e2)],_0x56bef4=_0x2ff5fb['t'](_0x2d8353[_0x1f064a(0x296)]),_0x528af3=_0x2d8353['tooltipKey']?_0x2ff5fb['t'](_0x2d8353[_0x1f064a(0x2f9)]):_0x56bef4,_0x4b1298=(0x0,_0x419824[_0x1f064a(0x496)])(()=>{const _0x2cb1c7=_0x1f064a;_0x21ccc9||_0x31ff77[_0x2cb1c7(0x24c)]();},[_0x21ccc9,_0x31ff77]),_0x2d8233=(0x0,_0x419824['useCallback'])(_0x7b9cb1=>{const _0x1f8255=_0x1f064a;_0x21ccc9||_0x7b9cb1[_0x1f8255(0x4dd)]!==_0x1f8255(0x2a8)&&_0x7b9cb1[_0x1f8255(0x4dd)]!=='\x20'||(_0x7b9cb1[_0x1f8255(0x32a)](),_0x31ff77[_0x1f8255(0x24c)]());},[_0x21ccc9,_0x31ff77]),_0x367219=(0x0,_0x4a8b3a[_0x1f064a(0x30e)])(_0x1f064a(0x452),{'className':(0x0,_0x309bf7[_0x1f064a(0x2b5)])(_0x1f064a(0x41b),_0x1f064a(0x226),_0x2d8353['colorClass'],{'univer-animate-spin':_0x2d8353['indicator']===_0x1f064a(0x2c0),'univer-animate-pulse':_0x2d8353[_0x1f064a(0x4fa)]==='pulse'}),'aria-hidden':_0x1f064a(0x460),'children':_0x2d8353[_0x1f064a(0x26b)]}),_0x4f557e=(0x0,_0x4a8b3a[_0x1f064a(0x30e)])(_0x1f064a(0x452),{'className':(0x0,_0x309bf7[_0x1f064a(0x2b5)])(_0x1f064a(0x41b),_0x1f064a(0x3f0),_0x1f064a(0x1d8),_0x1f064a(0x1d1),_0x1f064a(0x1c1),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x2d8353['clickable'],'univer-cursor-default':!_0x2d8353[_0x1f064a(0x303)]}),'children':_0x367219});return _0x2d8353[_0x1f064a(0x303)]?(0x0,_0x4a8b3a[_0x1f064a(0x30e)])(_0x309bf7[_0x1f064a(0x338)],{'title':_0x528af3,'placement':_0x1f064a(0x2d3),'children':(0x0,_0x4a8b3a[_0x1f064a(0x30e)])('button',{'type':_0x1f064a(0x449),'onClick':_0x4b1298,'onKeyDown':_0x2d8233,'className':(0x0,_0x309bf7[_0x1f064a(0x2b5)])(_0x1f064a(0x31b),_0x1f064a(0x476),_0x1f064a(0x1ce),_0x1f064a(0x416)),'aria-label':_0x56bef4+_0x1f064a(0x417)+_0x528af3,'role':_0x1f064a(0x2a9),'aria-live':_0x1f064a(0x213),'aria-atomic':_0x1f064a(0x460),'children':_0x4f557e})}):(0x0,_0x4a8b3a['jsx'])(_0x309bf7[_0x1f064a(0x338)],{'title':_0x528af3,'placement':_0x1f064a(0x2d3),'children':(0x0,_0x4a8b3a['jsx'])(_0x1f064a(0x506),{'className':(0x0,_0x309bf7[_0x1f064a(0x2b5)])(_0x1f064a(0x31b),_0x1f064a(0x476),_0x1f064a(0x1ce)),'aria-label':_0x56bef4,'role':_0x1f064a(0x2a9),'aria-live':'polite','aria-atomic':'true','children':_0x4f557e})});}function _0x3609e7(_0x1501b7){'@babel/helpers - typeof';const _0x1a89eb=_0x49e248;return _0x3609e7=typeof Symbol==_0x1a89eb(0x2ba)&&typeof Symbol[_0x1a89eb(0x46f)]=='symbol'?function(_0x31d363){return typeof _0x31d363;}:function(_0x587a3e){const _0x31a812=_0x1a89eb;return _0x587a3e&&typeof Symbol=='function'&&_0x587a3e[_0x31a812(0x275)]===Symbol&&_0x587a3e!==Symbol['prototype']?'symbol':typeof _0x587a3e;},_0x3609e7(_0x1501b7);}function _0x2697ef(_0x548ba6,_0x3c86cf){const _0x30b871=_0x49e248;if(_0x3609e7(_0x548ba6)!='object'||!_0x548ba6)return _0x548ba6;var _0x5aa9ba;if(typeof Symbol<'u'&&(_0x5aa9ba=_0x548ba6[Symbol[_0x30b871(0x373)]])!==void 0x0){var _0xe46cb9=_0x5aa9ba[_0x30b871(0x3f4)](_0x548ba6,_0x3c86cf||_0x30b871(0x221));if(_0x3609e7(_0xe46cb9)!='object')return _0xe46cb9;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0x3c86cf===_0x30b871(0x313)?String:Number)(_0x548ba6);}function _0x4ddaf2(_0x3dd2b4){const _0x520e9f=_0x49e248;var _0x5d98af=_0x2697ef(_0x3dd2b4,_0x520e9f(0x313));return _0x3609e7(_0x5d98af)=='symbol'?_0x5d98af:_0x5d98af+'';}function _0x30e4d4(_0x1a3f27,_0x21cb79,_0x35fe50){const _0x1249d8=_0x49e248;return(_0x21cb79=_0x4ddaf2(_0x21cb79))in _0x1a3f27?Object[_0x1249d8(0x468)](_0x1a3f27,_0x21cb79,{'value':_0x35fe50,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x1a3f27[_0x21cb79]=_0x35fe50,_0x1a3f27;}function _0x37fe1c(_0x1406a5,_0x5785df){return function(_0x566b7e,_0x211eb4){_0x5785df(_0x566b7e,_0x211eb4,_0x1406a5);};}function _0x1403f0(_0x13f20f,_0x1b9f58,_0x9f1c07,_0x58bf12){const _0x56d992=_0x49e248;var _0x57f95c=arguments[_0x56d992(0x40d)],_0x57c7ef=_0x57f95c<0x3?_0x1b9f58:_0x58bf12===null?_0x58bf12=Object[_0x56d992(0x377)](_0x1b9f58,_0x9f1c07):_0x58bf12,_0x2fd1bd;if(typeof Reflect==_0x56d992(0x46c)&&typeof Reflect[_0x56d992(0x304)]=='function')_0x57c7ef=Reflect[_0x56d992(0x304)](_0x13f20f,_0x1b9f58,_0x9f1c07,_0x58bf12);else{for(var _0x3f4ee7=_0x13f20f[_0x56d992(0x40d)]-0x1;_0x3f4ee7>=0x0;_0x3f4ee7--)(_0x2fd1bd=_0x13f20f[_0x3f4ee7])&&(_0x57c7ef=(_0x57f95c<0x3?_0x2fd1bd(_0x57c7ef):_0x57f95c>0x3?_0x2fd1bd(_0x1b9f58,_0x9f1c07,_0x57c7ef):_0x2fd1bd(_0x1b9f58,_0x9f1c07))||_0x57c7ef);}return _0x57f95c>0x3&&_0x57c7ef&&Object[_0x56d992(0x468)](_0x1b9f58,_0x9f1c07,_0x57c7ef),_0x57c7ef;}let _0x1559f7=class extends _0x583c0b[_0x49e248(0x330)]{constructor(_0x6fb222,_0x46b912,_0x7ea719,_0x852e3e,_0x249d1f){const _0x74bb35=_0x49e248;super(),this['_univerInstanceService']=_0x6fb222,this[_0x74bb35(0x51b)]=_0x46b912,this[_0x74bb35(0x39a)]=_0x7ea719,this['_uiPartsService']=_0x852e3e,this[_0x74bb35(0x34b)]=_0x249d1f,_0x30e4d4(this,_0x74bb35(0x38a),new _0x40bd7a[(_0x74bb35(0x2d8))](_0x1134b1[_0x74bb35(0x3ea)][_0x74bb35(0x461)])),_0x30e4d4(this,_0x74bb35(0x1e5),new Map()),this['_initStatusComponent'](),this['_initStatusListener'](),this['_initPresenceStatusComponents']();}['dispose'](){const _0x35cdc3=_0x49e248;this[_0x35cdc3(0x1e5)]['forEach'](_0xb83b8d=>_0xb83b8d[_0x35cdc3(0x224)]()),this[_0x35cdc3(0x1e5)][_0x35cdc3(0x433)](),this[_0x35cdc3(0x38a)]['complete'](),super['dispose']();}['_initStatusListener'](){const _0x3693d3=_0x49e248;this[_0x3693d3(0x202)]((0x0,_0x40bd7a[_0x3693d3(0x252)])(this['_univerInstanceService'][_0x3693d3(0x286)],this[_0x3693d3(0x1cd)][_0x3693d3(0x370)](_0x583c0b[_0x3693d3(0x4b8)][_0x3693d3(0x233)]),this[_0x3693d3(0x1cd)]['getCurrentTypeOfUnit$'](_0x583c0b['UniverInstanceType']['UNIVER_SHEET']))[_0x3693d3(0x4c9)]((0x0,_0x6228ab[_0x3693d3(0x4f0)])(()=>_0x420fb8(this['_univerInstanceService'])),(0x0,_0x6228ab[_0x3693d3(0x343)])(),(0x0,_0x40bd7a['switchMap'])(_0xe4cceb=>_0xe4cceb?this[_0x3693d3(0x39a)][_0x3693d3(0x41d)](_0xe4cceb):(0x0,_0x40bd7a['of'])(null)),(0x0,_0x40bd7a[_0x3693d3(0x2eb)])(_0x1e7bcf=>_0x1e7bcf?_0x1e7bcf['status$']:(0x0,_0x40bd7a['of'])(_0x1134b1[_0x3693d3(0x3ea)]['NOT_COLLAB'])))[_0x3693d3(0x26e)](_0x28e57d=>{const _0x1c5959=_0x3693d3;this['_status$'][_0x1c5959(0x2c6)](_0x28e57d);}));}[_0x49e248(0x24a)](){const _0x57a291=_0x49e248;this[_0x57a291(0x202)](this[_0x57a291(0x3ec)]['registerComponent'](_0x132a23[_0x57a291(0x271)][_0x57a291(0x2bc)],()=>(0x0,_0x132a23[_0x57a291(0x2cf)])(_0x57371b({'status$':this[_0x57a291(0x38a)][_0x57a291(0x35c)]()}),this[_0x57a291(0x51b)])));}[_0x49e248(0x3b1)](){const _0x3f7a42=_0x49e248;let _0x1f2ff3=this[_0x3f7a42(0x34b)][_0x3f7a42(0x26c)][_0x3f7a42(0x26e)](_0x6733eb=>{this['_syncPresenceStatusComponents'](_0x6733eb);});this['disposeWithMe']((0x0,_0x583c0b[_0x3f7a42(0x292)])(()=>_0x1f2ff3['unsubscribe']()));}['_syncPresenceStatusComponents'](_0x4ab1c4){const _0x508c56=_0x49e248;let _0x4c665d=new Map(_0x4ab1c4[_0x508c56(0x28f)](_0x5c5d9a=>_0x5c5d9a[_0x508c56(0x222)]!=null)[_0x508c56(0x4f0)](_0x2a5483=>[_0x2a5483[_0x508c56(0x334)],_0x2a5483]));this[_0x508c56(0x1e5)]['forEach']((_0x3abf9d,_0x40b1e2)=>{const _0x297dd9=_0x508c56;_0x4c665d['has'](_0x40b1e2)||(_0x3abf9d[_0x297dd9(0x224)](),this[_0x297dd9(0x1e5)][_0x297dd9(0x489)](_0x40b1e2));}),_0x4c665d[_0x508c56(0x1fe)]((_0x45391a,_0x36937d)=>{const _0x4d66a7=_0x508c56;this['_presenceStatusRegistrations'][_0x4d66a7(0x4ac)](_0x36937d)||this[_0x4d66a7(0x4de)](_0x45391a);});}[_0x49e248(0x4de)](_0x21cd3d){const _0x442a6e=_0x49e248;let _0x58e37=_0x21cd3d['statusUIPart'];if(!_0x58e37)return;let _0x114e46=new _0x583c0b[(_0x442a6e(0x33b))](),_0x1518af=new _0x40bd7a[(_0x442a6e(0x2d8))](_0x1134b1[_0x442a6e(0x3ea)][_0x442a6e(0x461)]);_0x114e46[_0x442a6e(0x4a9)]((0x0,_0x583c0b[_0x442a6e(0x292)])(()=>_0x1518af['complete']())),_0x114e46[_0x442a6e(0x4a9)](this['_uiPartsService'][_0x442a6e(0x1f2)](_0x58e37,()=>(0x0,_0x132a23[_0x442a6e(0x2cf)])(_0x57371b({'status$':_0x1518af[_0x442a6e(0x35c)]()}),this[_0x442a6e(0x51b)])));let _0x3ea546=this[_0x442a6e(0x1cd)][_0x442a6e(0x370)](_0x21cd3d[_0x442a6e(0x334)])['pipe']((0x0,_0x6228ab[_0x442a6e(0x4f0)])(_0x2704b6=>(_0x2704b6==null?void 0x0:_0x2704b6['getUnitId']())??null),(0x0,_0x6228ab['distinctUntilChanged'])(),(0x0,_0x40bd7a[_0x442a6e(0x2eb)])(_0x4899a3=>_0x4899a3?this[_0x442a6e(0x39a)][_0x442a6e(0x41d)](_0x4899a3):(0x0,_0x40bd7a['of'])(null)),(0x0,_0x40bd7a[_0x442a6e(0x2eb)])(_0x437dd6=>(_0x437dd6==null?void 0x0:_0x437dd6[_0x442a6e(0x494)])??(0x0,_0x40bd7a['of'])(_0x1134b1[_0x442a6e(0x3ea)][_0x442a6e(0x461)])))[_0x442a6e(0x26e)](_0x3f75af=>_0x1518af[_0x442a6e(0x2c6)](_0x3f75af));_0x114e46[_0x442a6e(0x4a9)]((0x0,_0x583c0b[_0x442a6e(0x292)])(()=>_0x3ea546[_0x442a6e(0x45f)]())),this['_presenceStatusRegistrations'][_0x442a6e(0x345)](_0x21cd3d['unitType'],_0x114e46);}};_0x1559f7=_0x1403f0([_0x37fe1c(0x0,_0x583c0b[_0x49e248(0x4cc)]),_0x37fe1c(0x1,(0x0,_0x583c0b['Inject'])(_0x583c0b[_0x49e248(0x1c5)])),_0x37fe1c(0x2,(0x0,_0x583c0b['Inject'])(_0x1134b1['CollaborationController'])),_0x37fe1c(0x3,_0x132a23['IUIPartsService']),_0x37fe1c(0x4,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x132a23[_0x49e248(0x43a)]))],_0x1559f7);function _0x420fb8(_0x441ad5){const _0x11f2be=_0x49e248;let _0x3c989e=_0x441ad5[_0x11f2be(0x435)](),_0x5b5573=_0x3c989e==null?void 0x0:_0x3c989e['getUnitId']();if(_0x5b5573&&!(0x0,_0x583c0b[_0x11f2be(0x491)])(_0x5b5573))return _0x5b5573;let _0x53c108=_0x441ad5[_0x11f2be(0x50e)](_0x583c0b[_0x11f2be(0x4b8)]['UNIVER_DOC']),_0x4c3fab=_0x53c108==null?void 0x0:_0x53c108[_0x11f2be(0x375)]();if(_0x4c3fab&&!(0x0,_0x583c0b[_0x11f2be(0x491)])(_0x4c3fab))return _0x4c3fab;let _0x197720=_0x441ad5[_0x11f2be(0x50e)](_0x583c0b[_0x11f2be(0x4b8)]['UNIVER_SHEET']);if(_0x197720)return _0x197720[_0x11f2be(0x375)]();let _0x2c41ef=_0x441ad5[_0x11f2be(0x402)](_0x583c0b[_0x11f2be(0x4b8)][_0x11f2be(0x233)])[_0x11f2be(0x359)](_0x590314=>!(0x0,_0x583c0b[_0x11f2be(0x491)])(_0x590314[_0x11f2be(0x375)]()));return _0x2c41ef?_0x2c41ef[_0x11f2be(0x375)]():null;}function _0x57371b(_0x274070){let {status$:_0x37dafe}=_0x274070;return function(){const _0x444bd4=_0x2f4a;return(0x0,_0x4a8b3a[_0x444bd4(0x30e)])(_0x2564f2,{'status$':_0x37dafe});};}var _0x2f9eb8='@univerjs-pro/collaboration-client-ui',_0x4c1ee6=_0x49e248(0x4a1);let _0x4605c2={'id':_0x49e248(0x2a3),'type':_0x583c0b[_0x49e248(0x2c9)]['OPERATION'],'handler':(_0x20019f,_0x375506)=>{const _0x4ed410=_0x49e248;let _0x223532=_0x20019f[_0x4ed410(0x3e3)](_0x132a23[_0x4ed410(0x43a)])[_0x4ed410(0x3e3)](_0x375506[_0x4ed410(0x334)]);if(!_0x223532)return!0x1;switch(_0x375506[_0x4ed410(0x463)][_0x4ed410(0x26d)]){case'set':return _0x223532[_0x4ed410(0x3eb)](_0x375506[_0x4ed410(0x463)][_0x4ed410(0x277)]),!0x0;case'remove':return _0x223532[_0x4ed410(0x2aa)](_0x375506[_0x4ed410(0x463)][_0x4ed410(0x437)],_0x375506['update'][_0x4ed410(0x340)]),!0x0;case _0x4ed410(0x433):return _0x223532[_0x4ed410(0x3fc)](_0x375506[_0x4ed410(0x463)]['unitId']),!0x0;default:return!0x1;}}},_0x1c5d34={},_0x32e9dd=class extends _0x583c0b[_0x49e248(0x42a)]{constructor(_0x3b33b8,_0x532a11){const _0x433eda=_0x49e248;super(),this[_0x433eda(0x3c9)]=_0x3b33b8,this[_0x433eda(0x1c9)]=_0x532a11,this[_0x433eda(0x3e1)]();}[_0x49e248(0x3e1)](){const _0x450e11=_0x49e248;let _0x2a12ec=this;this[_0x450e11(0x202)](this[_0x450e11(0x3c9)][_0x450e11(0x2d4)]({'onBeforePasteImage':async _0x402ab0=>{const _0x249707=_0x450e11;let _0x40097a=await _0x2a12ec[_0x249707(0x1c9)][_0x249707(0x423)](_0x402ab0);return _0x40097a?{'source':_0x40097a['source'],'imageSourceType':_0x40097a['imageSourceType']}:null;}}));}};_0x32e9dd=_0x1403f0([_0x37fe1c(0x0,_0x594380[_0x49e248(0x396)]),_0x37fe1c(0x1,_0x583c0b[_0x49e248(0x4f2)])],_0x32e9dd);let _0x49f5f9=['purple.300',_0x49e248(0x324),'green.600','red.300',_0x49e248(0x2e5),_0x49e248(0x1ba)];var _0x5dac64=class extends _0x583c0b[_0x49e248(0x330)]{constructor(..._0x130ae3){const _0x1c3342=_0x49e248;super(..._0x130ae3),_0x30e4d4(this,_0x1c3342(0x3d4),new Map()),_0x30e4d4(this,'_colorIndex',0x0);}[_0x49e248(0x285)](_0xb4b255){const _0x2d0b2e=_0x49e248;if(this[_0x2d0b2e(0x3d4)][_0x2d0b2e(0x4ac)](_0xb4b255))return this[_0x2d0b2e(0x3d4)]['get'](_0xb4b255);let _0x4e2172=_0x49f5f9[this['_colorIndex']];return this[_0x2d0b2e(0x41a)]=(this[_0x2d0b2e(0x41a)]+0x1)%_0x49f5f9['length'],this[_0x2d0b2e(0x3d4)][_0x2d0b2e(0x345)](_0xb4b255,_0x4e2172),_0x4e2172;}};function _0x1afeec(_0x42ea0c){const _0x4fe367=_0x49e248;let _0x3ea21f='';for(let _0x3030f9 of _0x42ea0c){let {startOffset:_0x995620,endOffset:_0x380587,isActive:_0x1a7e39,rangeType:_0x47a750,segmentId:_0x4be5a8,segmentPage:_0x192b0e}=_0x3030f9;_0x3ea21f[_0x4fe367(0x40d)]&&(_0x3ea21f+=','),_0x3ea21f+=_0x995620+':'+_0x380587+':'+(_0x1a7e39?'1':'0')+':'+_0x47a750+':'+_0x4be5a8+':'+_0x192b0e;}return _0x3ea21f;}function _0x2b2aa1(_0x1d4b0c){const _0x2c93dc=_0x49e248;let _0x482c84=_0x1d4b0c['split'](','),_0x272fab=[];for(let _0x17b103 of _0x482c84){let [_0x491ee1,_0x14f8cf,_0x4d62c8,_0x19f298,_0x11ccde,_0x211e68]=_0x17b103[_0x2c93dc(0x30f)](':');_0x272fab['push']({'startOffset':Number(_0x491ee1),'endOffset':Number(_0x14f8cf),'collapsed':_0x491ee1===_0x14f8cf,'isActive':_0x4d62c8==='1','rangeType':_0x19f298===_0x583c0b[_0x2c93dc(0x1c6)][_0x2c93dc(0x1e2)]?_0x583c0b[_0x2c93dc(0x1c6)]['TEXT']:_0x583c0b[_0x2c93dc(0x1c6)][_0x2c93dc(0x290)],'segmentId':typeof _0x11ccde==_0x2c93dc(0x313)?String(_0x11ccde):'','segmentPage':Number(_0x211e68??-0x1)});}return _0x272fab[_0x2c93dc(0x361)](_0xa0a3d8=>_0xa0a3d8[_0x2c93dc(0x2f1)])||(_0x272fab[0x0][_0x2c93dc(0x2f1)]=!0x0),_0x272fab;}var _0x24bfb8=class extends _0x583c0b['RxDisposable']{constructor(..._0x5eed94){const _0x31aba1=_0x49e248;super(..._0x5eed94),_0x30e4d4(this,_0x31aba1(0x2b3),new _0x40bd7a[(_0x31aba1(0x2d8))](null)),_0x30e4d4(this,_0x31aba1(0x274),this[_0x31aba1(0x2b3)][_0x31aba1(0x35c)]());}[_0x49e248(0x4b3)](_0x5f1928){const _0x139e33=_0x49e248;let {unitID:_0x4eb0ed,memberID:_0xe345c2,textRanges:_0x423fd1}=_0x5f1928,_0x5c50e9=_0x1afeec(_0x423fd1);if(_0x5c50e9==='')return;let _0xf65551={'unitID':_0x4eb0ed,'memberID':_0xe345c2,'selection':_0x5c50e9};this[_0x139e33(0x2b3)][_0x139e33(0x2c6)](_0xf65551);}};let _0x3a49ea=class extends _0x583c0b['RxDisposable']{get[_0x49e248(0x3a9)](){const _0x737d66=_0x49e248;return this['_cursorInfo$'][_0x737d66(0x4d3)]();}get['roomMembers'](){const _0x1f9efe=_0x49e248;return this[_0x1f9efe(0x49f)][_0x1f9efe(0x4d3)]();}constructor(_0x47873e,_0x2bf412,_0x36145f,_0x30dbe9,_0x20ed1f,_0x3c92c4,_0x42895d,_0x20f7aa,_0x5aba37){const _0x13c7c8=_0x49e248;super(),this['unitID']=_0x47873e,this[_0x13c7c8(0x440)]=_0x2bf412,this['_injector']=_0x36145f,this['_colorAssignService']=_0x30dbe9,this[_0x13c7c8(0x1be)]=_0x20ed1f,this[_0x13c7c8(0x26f)]=_0x3c92c4,this['_transformService']=_0x42895d,this[_0x13c7c8(0x1cd)]=_0x20f7aa,this[_0x13c7c8(0x3ab)]=_0x5aba37,_0x30e4d4(this,'_online',!0x1),_0x30e4d4(this,_0x13c7c8(0x3e1),!0x1),_0x30e4d4(this,_0x13c7c8(0x4ed),new _0x40bd7a[(_0x13c7c8(0x2d8))](new Map())),_0x30e4d4(this,_0x13c7c8(0x382),this[_0x13c7c8(0x4ed)]['asObservable']()),_0x30e4d4(this,'_roomMembers$',new _0x40bd7a[(_0x13c7c8(0x2d8))]([])),_0x30e4d4(this,_0x13c7c8(0x32d),this[_0x13c7c8(0x49f)][_0x13c7c8(0x4c9)]((0x0,_0x40bd7a[_0x13c7c8(0x4a7)])(0x12c))),_0x30e4d4(this,_0x13c7c8(0x4bd),(0x0,_0x583c0b[_0x13c7c8(0x52d)])(_0x3cde22=>{const _0x4c856f=_0x13c7c8;let _0x27f5ee={'eventID':_0x3569c2[_0x4c856f(0x268)][_0x4c856f(0x372)],'data':{'unitID':this[_0x4c856f(0x337)],'memberID':this['_session'][_0x4c856f(0x447)](),'selection':_0x1afeec(_0x3cde22)}};this[_0x4c856f(0x440)][_0x4c856f(0x400)](_0x27f5ee,this[_0x4c856f(0x337)]);},0x64));}[_0x49e248(0x224)](){const _0xbc88d8=_0x49e248;super['dispose'](),this[_0xbc88d8(0x4ed)]['next'](new Map()),this['_cursorInfo$'][_0xbc88d8(0x4cb)](),this[_0xbc88d8(0x49f)]['next']([]),this[_0xbc88d8(0x49f)][_0xbc88d8(0x4cb)]();}['init'](){const _0xa185e0=_0x49e248;this[_0xa185e0(0x3e1)]||(this[_0xa185e0(0x3e1)]=!0x0,this[_0xa185e0(0x440)][_0xa185e0(0x211)][_0xa185e0(0x4c9)]((0x0,_0x40bd7a[_0xa185e0(0x374)])(this[_0xa185e0(0x49b)]))['subscribe'](_0xcff909=>{const _0x258d7e=_0xa185e0;_0xcff909===_0x1134b1[_0x258d7e(0x3c2)]['ONLINE']?this[_0x258d7e(0x4ab)]():this[_0x258d7e(0x4d1)]();}),this[_0xa185e0(0x440)][_0xa185e0(0x287)][_0xa185e0(0x4c9)]((0x0,_0x40bd7a[_0xa185e0(0x374)])(this[_0xa185e0(0x49b)]))[_0xa185e0(0x26e)](_0x365d9c=>{const _0x1d2bda=_0xa185e0;let _0x26f968=_0x365d9c[_0x1d2bda(0x311)];_0x26f968===_0x3569c2[_0x1d2bda(0x268)][_0x1d2bda(0x372)]&&this[_0x1d2bda(0x2bd)](_0x365d9c),_0x26f968===_0x3569c2['CollaborationEvent']['USERS_LEAVE']&&this[_0x1d2bda(0x2f3)](_0x365d9c);}),this[_0xa185e0(0x202)](this[_0xa185e0(0x3ab)]['onCommandExecuted'](_0x39b527=>{const _0x173ca1=_0xa185e0;let _0x48670d=_0x39b527[_0x173ca1(0x3ee)];_0x48670d!=null&&this[_0x173ca1(0x3a1)]&&_0x39b527['id']===_0x574cdb[_0x173ca1(0x2db)]['id']&&_0x48670d['unitId']===this[_0x173ca1(0x337)]&&_0x48670d[_0x173ca1(0x4fe)]===!0x1&&_0x48670d[_0x173ca1(0x246)][_0x173ca1(0x40d)]>0x0&&this[_0x173ca1(0x4bd)](_0x48670d[_0x173ca1(0x246)]);})),this['_syncEditingCollabCursorService'][_0xa185e0(0x274)]['pipe']((0x0,_0x40bd7a[_0xa185e0(0x374)])(this[_0xa185e0(0x49b)]))[_0xa185e0(0x26e)](_0x29a8fc=>{const _0x4ccb9e=_0xa185e0;if((_0x29a8fc==null?void 0x0:_0x29a8fc[_0x4ccb9e(0x337)])!==this[_0x4ccb9e(0x337)])return;let _0x3b0049={'eventID':_0x3569c2[_0x4ccb9e(0x268)][_0x4ccb9e(0x372)],'data':_0x29a8fc};this[_0x4ccb9e(0x2bd)](_0x3b0049);}),this[_0xa185e0(0x202)](this['_commandService']['onCommandExecuted'](_0x52cf38=>{const _0x5921f0=_0xa185e0;if(_0x52cf38[_0x5921f0(0x3ee)]==null)return;let _0xa1859b=_0x52cf38[_0x5921f0(0x3ee)];if(_0x52cf38['id']!==_0x574cdb[_0x5921f0(0x4d9)]['id']||_0xa1859b[_0x5921f0(0x437)]!==this[_0x5921f0(0x337)])return;let _0x3b9de8={'id':'doc.mutation.rich-text-editing','params':_0xa1859b},_0x5bd878=this[_0x5921f0(0x3a9)];for(let [_0x49fe3a,_0x5837c0]of _0x5bd878){let _0x596bb6={'id':_0x5921f0(0x2a6),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5837c0[_0x5921f0(0x246)]}},_0xdde372=this[_0x5921f0(0x23b)][_0x5921f0(0x505)](_0x3b9de8,_0x596bb6,!0x1);if((0x0,_0x3569c2[_0x5921f0(0x487)])(_0xdde372))throw _0xdde372[_0x5921f0(0x4d2)];_0x5bd878['set'](_0x49fe3a,{..._0x5837c0,'ranges':_0xdde372['m2Prime'][_0x5921f0(0x3ee)][_0x5921f0(0x20c)]});}queueMicrotask(()=>{const _0xa83ffb=_0x5921f0;this[_0xa83ffb(0x4ed)][_0xa83ffb(0x2c6)](_0x5bd878);});})));}[_0x49e248(0x2bd)](_0x56daf1){const _0x4d6736=_0x49e248;var _0x417520;let {memberID:_0x4f0ce8,selection:_0x589fa7}=_0x56daf1[_0x4d6736(0x353)],_0x1c32c8=_0x2b2aa1(_0x589fa7),_0x159fef=((_0x417520=this[_0x4d6736(0x1be)]['getMember'](this['unitID'],_0x4f0ce8))==null?void 0x0:_0x417520[_0x4d6736(0x450)])??_0x4d6736(0x3f7),_0x4a1e9e={'color':this[_0x4d6736(0x38c)][_0x4d6736(0x285)](_0x4f0ce8),'name':_0x159fef,'ranges':_0x1c32c8},_0x3be99a=this[_0x4d6736(0x3a9)];_0x3be99a['set'](_0x4f0ce8,_0x4a1e9e),this['_cursorInfo$'][_0x4d6736(0x2c6)](_0x3be99a);}['_onCursorDelete'](_0x5b3b59){const _0x4f7865=_0x49e248;let {memberID:_0x57041e}=_0x5b3b59[_0x4f7865(0x353)],_0x37d931=this[_0x4f7865(0x3a9)];_0x37d931[_0x4f7865(0x489)](_0x57041e),this[_0x4f7865(0x4ed)][_0x4f7865(0x2c6)](_0x37d931);}[_0x49e248(0x4ab)](){const _0x3f8cc0=_0x49e248;var _0x2c86cc;if(this[_0x3f8cc0(0x3a1)]=!0x0,((_0x2c86cc=this['_univerInstanceService'][_0x3f8cc0(0x435)]())==null?void 0x0:_0x2c86cc[_0x3f8cc0(0x375)]())!==this['unitID'])return;let _0x28eee1=this[_0x3f8cc0(0x51b)][_0x3f8cc0(0x3e3)](_0x574cdb[_0x3f8cc0(0x322)])['getDocRanges']();Array[_0x3f8cc0(0x3c7)](_0x28eee1)&&_0x28eee1[_0x3f8cc0(0x40d)]>0x0&&this[_0x3f8cc0(0x4bd)](_0x28eee1);}[_0x49e248(0x4d1)](){const _0x341a09=_0x49e248;this[_0x341a09(0x3a1)]=!0x1;}};_0x3a49ea=_0x1403f0([_0x37fe1c(0x2,(0x0,_0x583c0b['Inject'])(_0x583c0b[_0x49e248(0x1c5)])),_0x37fe1c(0x3,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x5dac64)),_0x37fe1c(0x4,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x1134b1[_0x49e248(0x381)])),_0x37fe1c(0x5,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x24bfb8)),_0x37fe1c(0x6,_0x3569c2['ITransformService']),_0x37fe1c(0x7,_0x583c0b['IUniverInstanceService']),_0x37fe1c(0x8,_0x583c0b['ICommandService'])],_0x3a49ea);let _0x2e0337=()=>{let _0x33e9cb=[],_0x425943=!0x1;return _0x2e0977=>{const _0x32b3c0=_0x2f4a;_0x33e9cb[_0x32b3c0(0x4ce)](_0x2e0977),_0x425943||(_0x425943=!0x0,setTimeout(()=>{_0x33e9cb['forEach'](_0x4ba63c=>_0x4ba63c()),_0x33e9cb=[],_0x425943=!0x1;}));};},_0x56fbe1=class extends _0x583c0b[_0x49e248(0x42a)]{get[_0x49e248(0x3a9)](){const _0x855382=_0x49e248;return this['_cursorInfo$'][_0x855382(0x4d3)]();}get[_0x49e248(0x321)](){const _0x427ce5=_0x49e248;return this['_roomMembers$'][_0x427ce5(0x4d3)]();}constructor(_0x3ae6c2,_0x5d845a,_0x472ccc,_0x43e8d4,_0x3f85a7,_0x42e7d2,_0x25ad27,_0x2ea232){const _0x366cba=_0x49e248;super(),this[_0x366cba(0x337)]=_0x3ae6c2,this[_0x366cba(0x440)]=_0x5d845a,this['_injector']=_0x472ccc,this['_colorAssignService']=_0x43e8d4,this['_memberService']=_0x3f85a7,this['_univerInstanceService']=_0x42e7d2,this[_0x366cba(0x3ab)]=_0x25ad27,this[_0x366cba(0x464)]=_0x2ea232,_0x30e4d4(this,_0x366cba(0x3a1),!0x1),_0x30e4d4(this,_0x366cba(0x3e1),!0x1),_0x30e4d4(this,_0x366cba(0x4ed),new _0x40bd7a['BehaviorSubject'](new Map())),_0x30e4d4(this,_0x366cba(0x382),this[_0x366cba(0x4ed)]['asObservable']()),_0x30e4d4(this,_0x366cba(0x49f),new _0x40bd7a[(_0x366cba(0x2d8))]([])),_0x30e4d4(this,'roomMembers$',this[_0x366cba(0x49f)][_0x366cba(0x4c9)]((0x0,_0x40bd7a[_0x366cba(0x4a7)])(0x12c))),_0x30e4d4(this,_0x366cba(0x4bd),(0x0,_0x583c0b[_0x366cba(0x52d)])((_0x3dd6d1,_0x4697a1)=>{const _0x4796ca=_0x366cba;let _0x60cd11={'eventID':_0x3569c2['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x4796ca(0x447)](),'selection':(0x0,_0x2afa04[_0x4796ca(0x2ae)])(_0x3dd6d1,_0x4697a1[_0x4796ca(0x3ba)])}};this[_0x4796ca(0x440)][_0x4796ca(0x400)](_0x60cd11,this[_0x4796ca(0x337)]);},0x64));}[_0x49e248(0x224)](){const _0xe3a4cd=_0x49e248;super[_0xe3a4cd(0x224)](),this['_cursorInfo$'][_0xe3a4cd(0x2c6)](new Map()),this[_0xe3a4cd(0x4ed)][_0xe3a4cd(0x4cb)](),this[_0xe3a4cd(0x49f)][_0xe3a4cd(0x2c6)]([]),this[_0xe3a4cd(0x49f)][_0xe3a4cd(0x4cb)]();}[_0x49e248(0x306)](){const _0x3a2bc8=_0x49e248;this[_0x3a2bc8(0x3e1)]||(this['_init']=!0x0,this[_0x3a2bc8(0x440)][_0x3a2bc8(0x211)][_0x3a2bc8(0x4c9)]((0x0,_0x40bd7a[_0x3a2bc8(0x374)])(this[_0x3a2bc8(0x49b)]))[_0x3a2bc8(0x26e)](_0x71dc4e=>{const _0x556452=_0x3a2bc8;_0x71dc4e===_0x1134b1[_0x556452(0x3c2)]['ONLINE']?this[_0x556452(0x4ab)]():this[_0x556452(0x4d1)]();}),this[_0x3a2bc8(0x440)][_0x3a2bc8(0x287)]['pipe']((0x0,_0x40bd7a[_0x3a2bc8(0x374)])(this[_0x3a2bc8(0x49b)]))[_0x3a2bc8(0x26e)](_0x12ad46=>{const _0x4f25ee=_0x3a2bc8;let _0x88f2c1=_0x12ad46[_0x4f25ee(0x311)];_0x88f2c1===_0x3569c2[_0x4f25ee(0x268)][_0x4f25ee(0x372)]&&this['_onCursorUpdate'](_0x12ad46),_0x88f2c1===_0x3569c2[_0x4f25ee(0x268)][_0x4f25ee(0x39f)]&&this[_0x4f25ee(0x2f3)](_0x12ad46);}),this[_0x3a2bc8(0x22b)](),this['disposeWithMe'](this[_0x3a2bc8(0x3ab)][_0x3a2bc8(0x1cf)](_0x4f3c64=>{const _0x5ba2ea=_0x3a2bc8;if(this[_0x5ba2ea(0x3a1)]&&_0x4f3c64['id']===_0x44985e[_0x5ba2ea(0x352)]['id']&&_0x4f3c64['params'][_0x5ba2ea(0x437)]===this[_0x5ba2ea(0x337)]){let _0x37429f=_0x4f3c64[_0x5ba2ea(0x3ee)];this[_0x5ba2ea(0x4bd)](_0x37429f[_0x5ba2ea(0x2c4)],_0x37429f[_0x5ba2ea(0x390)][0x0]);}})));}[_0x49e248(0x2bd)](_0x9382ff){const _0x54994d=_0x49e248;var _0x13e123;let {memberID:_0x3a3532,selection:_0x2ed51c}=_0x9382ff[_0x54994d(0x353)],{sheetName:_0x9ecc62,range:_0x3fbeaa}=(0x0,_0x2afa04[_0x54994d(0x20b)])(_0x2ed51c),_0x1c0d86={'name':((_0x13e123=this[_0x54994d(0x1be)][_0x54994d(0x2c2)](this[_0x54994d(0x337)],_0x3a3532))==null?void 0x0:_0x13e123[_0x54994d(0x450)])??_0x54994d(0x3f7),'range':this[_0x54994d(0x208)](_0x9ecc62,_0x3fbeaa),'sheetID':_0x9ecc62,'color':this[_0x54994d(0x38c)][_0x54994d(0x285)](_0x3a3532),'selection':_0x2ed51c},_0x5c5688=this[_0x54994d(0x3a9)];_0x5c5688[_0x54994d(0x345)](_0x3a3532,_0x1c0d86),this['_cursorInfo$'][_0x54994d(0x2c6)](_0x5c5688);}[_0x49e248(0x2f3)](_0x5ec0a8){const _0x2484fb=_0x49e248;let {memberID:_0x387e3e}=_0x5ec0a8[_0x2484fb(0x353)],_0x43ecb9=this[_0x2484fb(0x3a9)];_0x43ecb9[_0x2484fb(0x489)](_0x387e3e),this[_0x2484fb(0x4ed)][_0x2484fb(0x2c6)](_0x43ecb9);}['_getMergeRange'](_0x23b000,_0x135bbe){const _0xd9d969=_0x49e248;var _0x598a34;let _0x3e6630=(_0x598a34=this[_0xd9d969(0x1cd)][_0xd9d969(0x270)](this[_0xd9d969(0x337)],_0x583c0b[_0xd9d969(0x4b8)][_0xd9d969(0x301)]))==null||(_0x598a34=_0x598a34[_0xd9d969(0x2e8)](_0x23b000))==null?void 0x0:_0x598a34[_0xd9d969(0x1ca)]();return(_0x3e6630==null?void 0x0:_0x3e6630[_0xd9d969(0x359)](_0x3583ad=>_0x583c0b['Rectangle'][_0xd9d969(0x45c)](_0x3583ad,_0x135bbe)))||_0x135bbe;}[_0x49e248(0x22b)](){const _0x79d6c6=_0x49e248;let _0x40688a=new _0x583c0b[(_0x79d6c6(0x33b))](),_0x4a10c9=_0x2e0337(),_0x17cdd7=()=>{const _0x3302f4=_0x79d6c6;_0x40688a['dispose']();let _0x4beb69=(_0x16a248,_0x3322b9,_0x2b0271,_0x5700fb)=>{const _0x3912e4=_0x2f4a;let _0x1ec68e=[];switch(_0x16a248['id']){case _0x44985e[_0x3912e4(0x528)][_0x3912e4(0x3de)]:_0x1ec68e=(0x0,_0x44985e['handleDeleteRangeMoveLeft'])(_0x16a248,_0x5700fb);break;case _0x44985e[_0x3912e4(0x528)]['DeleteRangeMoveUpCommandId']:_0x1ec68e=(0x0,_0x44985e[_0x3912e4(0x3f1)])(_0x16a248,_0x5700fb);break;case _0x44985e[_0x3912e4(0x528)]['InsertColCommandId']:_0x1ec68e=(0x0,_0x44985e[_0x3912e4(0x2b6)])(_0x16a248,_0x5700fb);break;case _0x44985e[_0x3912e4(0x528)][_0x3912e4(0x399)]:_0x1ec68e=(0x0,_0x44985e[_0x3912e4(0x30c)])(_0x16a248,_0x5700fb);break;case _0x44985e[_0x3912e4(0x528)]['InsertRangeMoveRightCommandId']:_0x1ec68e=(0x0,_0x44985e[_0x3912e4(0x42f)])(_0x16a248,_0x5700fb);break;case _0x44985e[_0x3912e4(0x528)][_0x3912e4(0x526)]:_0x1ec68e=(0x0,_0x44985e[_0x3912e4(0x39c)])(_0x16a248,_0x5700fb);break;case _0x44985e[_0x3912e4(0x528)]['MoveRangeCommandId']:_0x1ec68e=(0x0,_0x44985e[_0x3912e4(0x388)])(_0x16a248,_0x5700fb);break;case _0x44985e['EffectRefRangId'][_0x3912e4(0x1c2)]:_0x1ec68e=(0x0,_0x44985e[_0x3912e4(0x4c5)])(_0x16a248,_0x5700fb);break;case _0x44985e[_0x3912e4(0x528)][_0x3912e4(0x486)]:_0x1ec68e=(0x0,_0x44985e[_0x3912e4(0x471)])(_0x16a248,_0x5700fb);}let _0x361e80=(0x0,_0x44985e[_0x3912e4(0x347)])(_0x1ec68e,_0x5700fb),_0x2f21ec=this['cursorInfo'][_0x3912e4(0x3e3)](_0x3322b9);if(_0x2f21ec&&_0x361e80){let _0x52bccc={..._0x2f21ec,'range':_0x361e80};this[_0x3912e4(0x3a9)][_0x3912e4(0x345)](_0x3322b9,_0x52bccc),_0x4a10c9(()=>{const _0x44560f=_0x3912e4;let _0x46c645=this[_0x44560f(0x464)]['registerRefRange'](_0x361e80,_0x1e9382=>(_0x46c645['dispose'](),_0x4beb69(_0x1e9382,_0x3322b9,_0x2b0271,_0x361e80)));_0x40688a[_0x44560f(0x4a9)](_0x46c645);});}return{'redos':[],'undos':[]};};this[_0x3302f4(0x3a9)][_0x3302f4(0x1fe)]((_0x1ca8c2,_0x891a22)=>{const _0x4f50a3=_0x3302f4;let {range:_0xff4a33,sheetID:_0x4eebad}=_0x1ca8c2,_0x1e8f49=this[_0x4f50a3(0x464)]['registerRefRange'](_0xff4a33,_0x130a06=>(_0x1e8f49[_0x4f50a3(0x224)](),_0x4beb69(_0x130a06,_0x891a22,_0x4eebad,_0xff4a33)));_0x40688a[_0x4f50a3(0x4a9)](_0x1e8f49);});};this[_0x79d6c6(0x202)]((0x0,_0x583c0b[_0x79d6c6(0x292)])(this[_0x79d6c6(0x4ed)][_0x79d6c6(0x26e)](()=>{_0x17cdd7();})));}['_toggleOnline'](){const _0x324a38=_0x49e248;var _0x2bc431,_0x5ae10c;if(this[_0x324a38(0x3a1)]=!0x0,((_0x2bc431=this[_0x324a38(0x1cd)]['getFocusedUnit']())==null?void 0x0:_0x2bc431[_0x324a38(0x375)]())!==this[_0x324a38(0x337)])return;let _0x5bfe7c=(_0x5ae10c=this['_injector'][_0x324a38(0x3e3)](_0x44985e[_0x324a38(0x215)])[_0x324a38(0x31d)]())==null?void 0x0:_0x5ae10c[0x0],_0xd5c90=this[_0x324a38(0x1cd)][_0x324a38(0x50e)](_0x583c0b[_0x324a38(0x4b8)][_0x324a38(0x301)])[_0x324a38(0x4bb)]();_0x5bfe7c&&_0xd5c90&&this[_0x324a38(0x4bd)](_0xd5c90[_0x324a38(0x445)](),_0x5bfe7c);}[_0x49e248(0x4d1)](){const _0x75ca6e=_0x49e248;this[_0x75ca6e(0x3a1)]=!0x1;}};_0x56fbe1=_0x1403f0([_0x37fe1c(0x2,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x583c0b[_0x49e248(0x1c5)])),_0x37fe1c(0x3,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x5dac64)),_0x37fe1c(0x4,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x1134b1[_0x49e248(0x381)])),_0x37fe1c(0x5,_0x583c0b['IUniverInstanceService']),_0x37fe1c(0x6,_0x583c0b[_0x49e248(0x24e)]),_0x37fe1c(0x7,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x44985e[_0x49e248(0x23a)]))],_0x56fbe1);let _0x5c57cd=class extends _0x583c0b[_0x49e248(0x42a)]{constructor(_0x141c07,_0x23ec3e,_0x1dc317){const _0x28292e=_0x49e248;super(),this['_univerInstanceService']=_0x141c07,this[_0x28292e(0x51b)]=_0x23ec3e,this['_collabSessionService']=_0x1dc317,_0x30e4d4(this,_0x28292e(0x227),new Map()),_0x30e4d4(this,'_entityInit$',new _0x40bd7a['Subject']()),this['_init']();}[_0x49e248(0x224)](){const _0x45a2ff=_0x49e248;super[_0x45a2ff(0x224)](),this['_entityInit$'][_0x45a2ff(0x4cb)](),this[_0x45a2ff(0x227)][_0x45a2ff(0x1fe)](_0x3ca0e7=>_0x3ca0e7[_0x45a2ff(0x224)]());}[_0x49e248(0x248)](_0x98613b){const _0x3c71f1=_0x49e248;let _0x530fb6=this[_0x3c71f1(0x227)][_0x3c71f1(0x3e3)](_0x98613b);return _0x530fb6?_0x530fb6['cursorInfo$']:this['_entityInit$'][_0x3c71f1(0x4c9)]((0x0,_0x40bd7a['filter'])(_0x4c678d=>_0x4c678d[_0x3c71f1(0x337)]===_0x98613b),(0x0,_0x40bd7a['switchMap'])(_0x19242d=>_0x19242d[_0x3c71f1(0x382)]));}[_0x49e248(0x3e1)](){const _0x2bd37a=_0x49e248;this['_univerInstanceService'][_0x2bd37a(0x305)](_0x583c0b['UniverInstanceType'][_0x2bd37a(0x301)])[_0x2bd37a(0x4c9)]((0x0,_0x40bd7a['takeUntil'])(this[_0x2bd37a(0x49b)]))[_0x2bd37a(0x26e)](async _0x1080a8=>{const _0x4dfc9e=_0x2bd37a;let _0x15639d=_0x1080a8['unit'][_0x4dfc9e(0x375)](),_0xd0394f=await this[_0x4dfc9e(0x34e)](_0x15639d);this[_0x4dfc9e(0x36f)][_0x4dfc9e(0x2c6)](_0xd0394f),this[_0x4dfc9e(0x227)][_0x4dfc9e(0x345)](_0x15639d,_0xd0394f);}),this[_0x2bd37a(0x1cd)][_0x2bd37a(0x305)](_0x583c0b['UniverInstanceType'][_0x2bd37a(0x233)])[_0x2bd37a(0x4c9)]((0x0,_0x40bd7a[_0x2bd37a(0x374)])(this[_0x2bd37a(0x49b)]))['pipe']((0x0,_0x40bd7a['filter'])(_0x557eab=>!_0x557eab['unit'][_0x2bd37a(0x375)]()[_0x2bd37a(0x225)]('__')))[_0x2bd37a(0x26e)](async _0x3fca38=>{const _0x1a0171=_0x2bd37a;let {unit:_0x36b297}=_0x3fca38,_0x32471=_0x36b297[_0x1a0171(0x375)](),_0x283afb=await this[_0x1a0171(0x415)](_0x32471);this[_0x1a0171(0x36f)][_0x1a0171(0x2c6)](_0x283afb),this[_0x1a0171(0x227)][_0x1a0171(0x345)](_0x32471,_0x283afb);}),(0x0,_0x40bd7a[_0x2bd37a(0x252)])(this[_0x2bd37a(0x1cd)]['getTypeOfUnitDisposed$'](_0x583c0b[_0x2bd37a(0x4b8)][_0x2bd37a(0x233)]),this[_0x2bd37a(0x1cd)]['getTypeOfUnitDisposed$'](_0x583c0b[_0x2bd37a(0x4b8)][_0x2bd37a(0x301)]))[_0x2bd37a(0x4c9)]((0x0,_0x40bd7a['takeUntil'])(this[_0x2bd37a(0x49b)]))[_0x2bd37a(0x26e)](_0x281e97=>{const _0x14d638=_0x2bd37a;let _0x4fc540=_0x281e97['getUnitId'](),_0xff8bd=this['_entities']['get'](_0x4fc540);_0xff8bd&&(_0xff8bd[_0x14d638(0x224)](),this[_0x14d638(0x227)][_0x14d638(0x489)](_0x4fc540));});}async[_0x49e248(0x34e)](_0x5d7bef){const _0x1b202d=_0x49e248;let _0x2b850d=await this[_0x1b202d(0x282)]['requireSession'](_0x5d7bef),_0x259f0b=this[_0x1b202d(0x51b)][_0x1b202d(0x45a)](_0x56fbe1,_0x5d7bef,_0x2b850d);return _0x259f0b[_0x1b202d(0x306)](),_0x259f0b;}async[_0x49e248(0x415)](_0x3fcb07){const _0x3f3df5=_0x49e248;let _0x17e432=await this[_0x3f3df5(0x282)][_0x3f3df5(0x3b5)](_0x3fcb07),_0x5ccf51=this['_injector']['createInstance'](_0x3a49ea,_0x3fcb07,_0x17e432);return _0x5ccf51['init'](),_0x5ccf51;}};_0x5c57cd=_0x1403f0([_0x37fe1c(0x0,_0x583c0b[_0x49e248(0x4cc)]),_0x37fe1c(0x1,(0x0,_0x583c0b['Inject'])(_0x583c0b[_0x49e248(0x1c5)])),_0x37fe1c(0x2,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x1134b1['CollaborationSessionService']))],_0x5c57cd);function _0xdd004d(_0x2a9e12,_0x42e03d){const _0x24e16e=_0x49e248;_0x2a9e12[_0x24e16e(0x317)](),_0x2a9e12[_0x24e16e(0x3a2)]=_0x24e16e(0x512);let _0x3e8187=_0x2a9e12[_0x24e16e(0x4f5)](_0x42e03d)[_0x24e16e(0x310)];return _0x2a9e12['restore'](),Math['min'](_0x3e8187+0x8,0xc8);}function _0x2390e6(_0x14377c,_0x2d6ecd){const _0xf9c656=_0x49e248;let {radius:_0x146377,width:_0x115e73,height:_0x3e3386}=_0x2d6ecd;_0x146377??=0x0,_0x115e73??=0x1e,_0x3e3386??=0x1e;let _0x3f45eb=0x0,_0x4adb67=0x0,_0x17f3b4=0x0;_0x3f45eb=_0x4adb67=_0x17f3b4=Math['min'](_0x146377,_0x115e73/0x2,_0x3e3386/0x2),_0x14377c[_0xf9c656(0x203)](),_0x14377c[_0xf9c656(0x220)](_0x3f45eb,0x0),_0x14377c[_0xf9c656(0x29f)](_0x115e73-_0x4adb67,0x0),_0x14377c[_0xf9c656(0x4e6)](_0x115e73-_0x4adb67,_0x4adb67,_0x4adb67,Math['PI']*0x3/0x2,0x0,!0x1),_0x14377c[_0xf9c656(0x29f)](_0x115e73,_0x3e3386-_0x17f3b4),_0x14377c['arc'](_0x115e73-_0x17f3b4,_0x3e3386-_0x17f3b4,_0x17f3b4,0x0,Math['PI']/0x2,!0x1),_0x14377c[_0xf9c656(0x29f)](0x0,_0x3e3386),_0x14377c[_0xf9c656(0x29f)](0x0,_0x3f45eb),_0x14377c[_0xf9c656(0x4e6)](_0x3f45eb,_0x3f45eb,_0x3f45eb,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x14377c[_0xf9c656(0x421)](),_0x2d6ecd['fill']&&(_0x14377c[_0xf9c656(0x317)](),_0x14377c[_0xf9c656(0x29d)]=_0x2d6ecd[_0xf9c656(0x29e)],_0x2d6ecd['fillRule']===_0xf9c656(0x1f0)?_0x14377c['fill'](_0xf9c656(0x1f0)):_0x14377c[_0xf9c656(0x29e)](),_0x14377c[_0xf9c656(0x410)]());}var _0x15883f=class _0x6a0626 extends _0x1f114e['Shape']{constructor(_0x9762a6,_0x5f1bcc){const _0x30947a=_0x49e248;super(_0x9762a6,_0x5f1bcc),_0x30e4d4(this,_0x30947a(0x326),void 0x0),_0x30e4d4(this,_0x30947a(0x214),void 0x0),this['color']=_0x5f1bcc==null?void 0x0:_0x5f1bcc['color'],this[_0x30947a(0x214)]=_0x5f1bcc==null?void 0x0:_0x5f1bcc[_0x30947a(0x214)];}static['drawWith'](_0xb808b9,_0x2e7fb4){const _0x36b130=_0x49e248;let {text:_0x2c13ee,color:_0x243591}=_0x2e7fb4;_0xb808b9['save'](),_0xb808b9[_0x36b130(0x3a2)]=_0x36b130(0x3a5);let _0x477de6=_0xb808b9[_0x36b130(0x4f5)](_0x2c13ee)[_0x36b130(0x310)];if(_0x2390e6(_0xb808b9,{'height':0x14,'radius':0x4,'width':_0xdd004d(_0xb808b9,_0x2c13ee),'fill':_0x243591,'evented':!0x1}),_0xb808b9['fillStyle']=_0x36b130(0x364),_0x477de6>0xc0){let _0xbe867d='',_0xc491af=0x0;for(let _0x3939e0 of _0x2c13ee){let _0x266298=_0xb808b9['measureText'](_0x3939e0)[_0x36b130(0x310)];if(_0xc491af+_0x266298<=0xc0-_0xb808b9['measureText'](_0x36b130(0x314))[_0x36b130(0x310)])_0xbe867d+=_0x3939e0,_0xc491af+=_0x266298;else{_0xbe867d+=_0x36b130(0x314);break;}}_0xb808b9[_0x36b130(0x25f)](_0xbe867d,0x4,0xf);}else _0xb808b9[_0x36b130(0x25f)](_0x2c13ee,0x4,0xf);_0xb808b9[_0x36b130(0x410)]();}['_draw'](_0x53513b){const _0x4a0371=_0x49e248;_0x6a0626[_0x4a0371(0x480)](_0x53513b,this);}};let _0x30f3f9=_0x49e248(0x234);var _0x824388=class{constructor(_0x1316b3,_0x4b29ee,_0x525325,_0x33edc6){const _0x267fe7=_0x49e248;this[_0x267fe7(0x470)]=_0x1316b3,this[_0x267fe7(0x51c)]=_0x4b29ee,this[_0x267fe7(0x3ad)]=_0x525325,this[_0x267fe7(0x3cd)]=_0x33edc6,_0x30e4d4(this,_0x267fe7(0x4ec),[]),_0x30e4d4(this,_0x267fe7(0x1e9),null),_0x30e4d4(this,_0x267fe7(0x4c2),null),_0x30e4d4(this,_0x267fe7(0x293),null),_0x30e4d4(this,_0x267fe7(0x1de),null),_0x30e4d4(this,_0x267fe7(0x1ee),null),this[_0x267fe7(0x4d8)]();}set[_0x49e248(0x3df)](_0x7a4358){const _0x56d0a1=_0x49e248;_0x7a4358?(this[_0x56d0a1(0x293)]&&this[_0x56d0a1(0x293)][_0x56d0a1(0x47b)](),this[_0x56d0a1(0x4c2)]&&this[_0x56d0a1(0x4c2)][_0x56d0a1(0x48d)]()):(this['_anchorDot']&&this[_0x56d0a1(0x293)]['show'](),this[_0x56d0a1(0x4c2)]&&this[_0x56d0a1(0x4c2)][_0x56d0a1(0x47b)]());}[_0x49e248(0x224)](){const _0x2b6de7=_0x49e248;for(let _0x34b9f2 of this['_shapes'])_0x34b9f2[_0x2b6de7(0x224)]();this[_0x2b6de7(0x4c2)]&&this[_0x2b6de7(0x4c2)][_0x2b6de7(0x224)](),this[_0x2b6de7(0x293)]&&this['_anchorDot']['dispose'](),this[_0x2b6de7(0x1e9)]&&this['_anchor'][_0x2b6de7(0x224)](),this[_0x2b6de7(0x1ee)]&&this['_eventUnsubscribe']();}['_render'](){const _0x2245d2=_0x49e248;let {_docSkeleton:_0x3a1340,_document:_0x2320fc}=this,{color:_0x51d108,name:_0x4e575e,ranges:_0x48f43b}=this['_cursor'],_0x2663bb=_0x2320fc[_0x2245d2(0x1c8)](),{docsLeft:_0x388fe6,docsTop:_0x35ca03}=_0x2663bb,_0x5d7431=new _0x594380[(_0x2245d2(0x3d9))](_0x2663bb,_0x3a1340);for(let {startOffset:_0xd8fb1f,endOffset:_0x60d502,rangeType:_0x257e5d,segmentId:_0x3ec384,segmentPage:_0x33a724,collapsed:_0x3f5667,isActive:_0x37f484}of _0x48f43b){let _0x3fcc3c=_0x3a1340[_0x2245d2(0x37d)](_0xd8fb1f,!0x0,_0x3ec384,_0x33a724),_0x497e33=_0x3a1340[_0x2245d2(0x37d)](_0x60d502,!0x0,_0x3ec384,_0x33a724);_0x497e33??=_0x3a1340[_0x2245d2(0x37d)](_0x60d502-0x1,!0x1,_0x3ec384,_0x33a724);let _0x14dca4=_0x3e06bc(_0x3fcc3c,_0x497e33);if(_0x37f484&&_0x14dca4[_0x2245d2(0x4bc)]){let {contentBoxPointGroup:_0x5a3259}=_0x5d7431[_0x2245d2(0x509)](_0x497e33,_0x497e33);if(_0x5a3259[_0x2245d2(0x40d)]===0x0)continue;this[_0x2245d2(0x37f)](_0x51d108,_0x5a3259,_0x388fe6,_0x35ca03,_0x4e575e),this[_0x2245d2(0x1ee)]=this['_handleHover']();}if(_0x3fcc3c&&_0x497e33){if(_0x257e5d===_0x583c0b['DOC_RANGE_TYPE'][_0x2245d2(0x290)]){let {pointGroup:_0x33a837}=new _0x594380[(_0x2245d2(0x426))](_0x2663bb,_0x3a1340)[_0x2245d2(0x509)](_0x3fcc3c,_0x497e33)??{};if(_0x33a837==null||_0x33a837[_0x2245d2(0x40d)]===0x0)continue;this['_drawRectRange'](_0x51d108,_0x33a837,_0x388fe6,_0x35ca03);}else{if(!_0x3f5667&&_0x14dca4[_0x2245d2(0x349)]){let {borderBoxPointGroup:_0x3c0b1c}=_0x5d7431[_0x2245d2(0x509)](_0x3fcc3c,_0x497e33);if(_0x3c0b1c[_0x2245d2(0x40d)]===0x0)continue;this[_0x2245d2(0x1f8)](_0x51d108,_0x3c0b1c,_0x388fe6,_0x35ca03);}}}}}['_drawAnchor'](_0x56a723,_0x223f88,_0x10556c,_0x1eda24,_0x4cedb0){const _0x3a23c0=_0x49e248;let {left:_0x146a80,top:_0x466212,height:_0x427ede}=this[_0x3a23c0(0x1bc)](_0x223f88),_0x8ef6ce=1.5/this[_0x3a23c0(0x32b)](),_0x3bc13e=new _0x1f114e[(_0x3a23c0(0x529))](_0x30f3f9+(0x0,_0x583c0b[_0x3a23c0(0x1fd)])(0x6),{'left':_0x146a80+_0x10556c-_0x8ef6ce,'top':_0x466212+_0x1eda24,'height':_0x427ede,'width':1.5,'fill':_0x56a723||(0x0,_0x1f114e[_0x3a23c0(0x4f3)])(_0x583c0b[_0x3a23c0(0x2a0)][_0x3a23c0(0x318)],0x0),'strokeWidth':_0x8ef6ce,'stroke':_0x3a23c0(0x33d),'evented':!0x0});this[_0x3a23c0(0x1e9)]=_0x3bc13e,this[_0x3a23c0(0x51c)][_0x3a23c0(0x521)](_0x3bc13e,_0x594380[_0x3a23c0(0x4ba)]);let _0x2af7c6=new _0x1f114e[(_0x3a23c0(0x529))](_0x30f3f9+(0x0,_0x583c0b['generateRandomId'])(0x6),{'left':_0x146a80+_0x10556c-_0x8ef6ce,'top':_0x466212+_0x1eda24-0x2,'height':0x4,'width':0x4,'fill':_0x56a723||(0x0,_0x1f114e[_0x3a23c0(0x4f3)])(_0x583c0b[_0x3a23c0(0x2a0)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x56a723||(0x0,_0x1f114e[_0x3a23c0(0x4f3)])(_0x583c0b[_0x3a23c0(0x2a0)][_0x3a23c0(0x318)],0x0),'evented':!0x1});this[_0x3a23c0(0x293)]=_0x2af7c6,this[_0x3a23c0(0x51c)][_0x3a23c0(0x521)](_0x2af7c6,_0x594380[_0x3a23c0(0x4ba)]);let _0x7627f1=new _0x15883f(_0x30f3f9+(0x0,_0x583c0b[_0x3a23c0(0x1fd)])(0x6),{'left':_0x146a80+_0x10556c-_0x8ef6ce,'top':_0x466212+_0x1eda24-0x14,'text':_0x4cedb0,'color':_0x56a723});this[_0x3a23c0(0x4c2)]=_0x7627f1,this[_0x3a23c0(0x51c)][_0x3a23c0(0x521)](_0x7627f1,_0x594380[_0x3a23c0(0x4ba)]),this[_0x3a23c0(0x3df)]=!0x1;}[_0x49e248(0x25d)](){const _0x5d49f6=_0x49e248;let _0x1042c3=this['_anchor'][_0x5d49f6(0x438)][_0x5d49f6(0x362)](()=>{const _0x2d7d29=_0x5d49f6;this[_0x2d7d29(0x3df)]=!0x0;}),_0x2782c3=this['_anchor']['onPointerLeave$'][_0x5d49f6(0x362)](()=>{const _0x57a3fa=_0x5d49f6;this['_hideTimer']&&clearTimeout(this[_0x57a3fa(0x1de)]),this[_0x57a3fa(0x1de)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x51264c=_0x5d49f6;_0x1042c3[_0x51264c(0x45f)](),_0x2782c3[_0x51264c(0x45f)]();};}[_0x49e248(0x1f8)](_0x364954,_0x1a6879,_0x511d12,_0x3de27f){const _0x5ea201=_0x49e248;let _0x4997c1=0.2,_0x13e918=new _0x583c0b['ColorKit'](_0x364954)[_0x5ea201(0x2e6)](_0x4997c1)[_0x5ea201(0x1c3)](),_0xd1c3a6=new _0x1f114e[(_0x5ea201(0x25b))](_0x5ea201(0x1e6)+(0x0,_0x583c0b['generateRandomId'])(0x6),{'pointsGroup':_0x1a6879,'fill':_0x13e918||(0x0,_0x1f114e['getColor'])(_0x583c0b[_0x5ea201(0x2a0)]['black'],_0x4997c1),'left':_0x511d12,'top':_0x3de27f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5ea201(0x4ec)][_0x5ea201(0x4ce)](_0xd1c3a6),this[_0x5ea201(0x51c)][_0x5ea201(0x521)](_0xd1c3a6,_0x594380[_0x5ea201(0x4ba)]);}[_0x49e248(0x429)](_0x42da18,_0x143018,_0x3d5552,_0x36e734){const _0x783c72=_0x49e248;let _0xe61cb4=0.2,_0xb93d5e=new _0x583c0b['ColorKit'](_0x42da18)['setAlpha'](_0xe61cb4)[_0x783c72(0x1c3)](),_0x5ed5bf=new _0x1f114e[(_0x783c72(0x25b))](_0x783c72(0x2b4)+(0x0,_0x583c0b[_0x783c72(0x1fd)])(0x6),{'pointsGroup':_0x143018,'fill':_0xb93d5e||(0x0,_0x1f114e[_0x783c72(0x4f3)])(_0x583c0b[_0x783c72(0x2a0)][_0x783c72(0x318)],_0xe61cb4),'left':_0x3d5552,'top':_0x36e734,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x783c72(0x4ce)](_0x5ed5bf),this['_scene'][_0x783c72(0x521)](_0x5ed5bf,_0x594380[_0x783c72(0x4ba)]);}[_0x49e248(0x1bc)](_0x3c3ff1){let _0x722e73=_0x3c3ff1[0x0],_0x515044=_0x722e73[0x0],_0x4a0156=_0x722e73[0x2],{x:_0x524435,y:_0x4a4e84}=_0x515044,{x:_0x5bfee1,y:_0x16f96a}=_0x4a0156;return{'left':_0x524435,'top':_0x4a4e84,'width':_0x5bfee1-_0x524435,'height':_0x16f96a-_0x4a4e84};}[_0x49e248(0x32b)](){const _0x4a2226=_0x49e248;let {scaleX:_0x106c46,scaleY:_0x2910a5}=this[_0x4a2226(0x51c)]['getAncestorScale']();return Math['max'](_0x106c46,_0x2910a5);}};function _0x3e06bc(_0x34f7c5,_0x1e9e08){const _0x43b091=_0x49e248;if(!_0x1e9e08)return{'canRenderAnchor':!0x1,'canRenderSelection':!0x1};if(!_0x34f7c5||_0x34f7c5[_0x43b091(0x398)]!==_0x1e9e08[_0x43b091(0x398)]||(_0x34f7c5[_0x43b091(0x398)]===_0x1f114e[_0x43b091(0x363)][_0x43b091(0x4a8)]||_0x34f7c5[_0x43b091(0x398)]===_0x1f114e[_0x43b091(0x363)]['FOOTER'])&&_0x34f7c5[_0x43b091(0x462)]!==_0x1e9e08['segmentPage'])return{'canRenderAnchor':!0x0,'canRenderSelection':!0x1};let _0x403609=(0x0,_0x1f114e['getDocumentSkeletonColumnPagePathInfo'])(_0x34f7c5),_0x27d03e=(0x0,_0x1f114e['getDocumentSkeletonColumnPagePathInfo'])(_0x1e9e08);return{'canRenderAnchor':!0x0,'canRenderSelection':_0x403609==null||_0x27d03e==null?_0x403609==null&&_0x27d03e==null:_0x403609[_0x43b091(0x4d6)]===_0x27d03e[_0x43b091(0x4d6)]&&_0x403609[_0x43b091(0x446)]===_0x27d03e['columnGroupId']&&_0x403609[_0x43b091(0x1d7)]===_0x27d03e['columnIndex']};}let _0x35125b=class extends _0x583c0b[_0x49e248(0x42a)]{constructor(_0x53fae7,_0x588f84,_0x45b0cb,_0x1a2f6b,_0x11f1e7){const _0x32e319=_0x49e248;super(),this[_0x32e319(0x492)]=_0x53fae7,this['_docSkeletonManagerService']=_0x588f84,this['_collabCursorController']=_0x45b0cb,this['_commandService']=_0x1a2f6b,this[_0x32e319(0x272)]=_0x11f1e7,_0x30e4d4(this,_0x32e319(0x2e4),[]),_0x30e4d4(this,_0x32e319(0x2a4),[]),this['_init']();}[_0x49e248(0x3e1)](){const _0xe0312c=_0x49e248;let _0x41409a=this[_0xe0312c(0x492)][_0xe0312c(0x437)],_0x2f8b97=this[_0xe0312c(0x297)];this[_0xe0312c(0x202)]((0x0,_0x40bd7a['combineLatest'])([this[_0xe0312c(0x40b)][_0xe0312c(0x248)](_0x41409a),this[_0xe0312c(0x272)][_0xe0312c(0x37e)]])[_0xe0312c(0x4c9)]((0x0,_0x6228ab[_0xe0312c(0x4f0)])(([_0x1d05a9,_0x8059e8])=>({'skeleton':_0x2f8b97[_0xe0312c(0x335)](),'cursors':[..._0x1d05a9['values']()]['flatMap'](_0x4cab26=>({..._0x4cab26,'color':this[_0xe0312c(0x272)][_0xe0312c(0x419)](_0x4cab26[_0xe0312c(0x326)])}))})))[_0xe0312c(0x26e)](_0x5eb1e9=>{const _0x56c421=_0xe0312c;if(this[_0x56c421(0x269)](),_0x5eb1e9){let {skeleton:_0x203fb3,cursors:_0x5e2628}=_0x5eb1e9;this['_updateCollabCursors'](_0x203fb3,_0x5e2628);}})),this['_initResize'](),this[_0xe0312c(0x42b)]();}[_0x49e248(0x366)](_0xe4eed5,_0x36c4d8){const _0x4d8f9d=_0x49e248;let {scene:_0x5ddbc3,mainComponent:_0x10b580}=this['_context'],_0x3ff83b=_0x36c4d8[_0x4d8f9d(0x4f0)](_0x49ff64=>new _0x824388(_0x49ff64,_0x5ddbc3,_0xe4eed5,_0x10b580));this['_cursorShapes']=_0x3ff83b,this['_cursors']=_0x36c4d8;}[_0x49e248(0x4e2)](){const _0x24c320=_0x49e248;this['_removeCollabCursors']();let {scene:_0x142840,mainComponent:_0x2cf1d9}=this[_0x24c320(0x492)],_0x1db81d=this['_docSkeletonManagerService'][_0x24c320(0x335)](),_0x58d325=this['_cursors'][_0x24c320(0x4f0)](_0x1f7923=>new _0x824388(_0x1f7923,_0x142840,_0x1db81d,_0x2cf1d9));this['_cursorShapes']=_0x58d325;}[_0x49e248(0x269)](){const _0x7a932b=_0x49e248;this[_0x7a932b(0x2e4)]['forEach'](_0xb92a74=>_0xb92a74[_0x7a932b(0x224)]()),this[_0x7a932b(0x2e4)]=[];}[_0x49e248(0x42b)](){const _0x121a53=_0x49e248;let _0x34c584=[_0x594380[_0x121a53(0x50b)]['id']];this[_0x121a53(0x202)](this[_0x121a53(0x3ab)][_0x121a53(0x1cf)](_0x4b3f6d=>{const _0x3d55f9=_0x121a53;_0x34c584['includes'](_0x4b3f6d['id'])&&_0x4b3f6d['params'][_0x3d55f9(0x437)]===this[_0x3d55f9(0x492)][_0x3d55f9(0x437)]&&this[_0x3d55f9(0x4e2)]();}));}['_initResize'](){const _0x2b8ad3=_0x49e248;this[_0x2b8ad3(0x202)]((0x0,_0x583c0b[_0x2b8ad3(0x36c)])(this['_context'][_0x2b8ad3(0x50c)][_0x2b8ad3(0x458)])[_0x2b8ad3(0x4c9)]((0x0,_0x6228ab[_0x2b8ad3(0x28f)])(_0x18de6a=>_0x18de6a[_0x2b8ad3(0x26d)]===_0x1f114e['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x2b8ad3(0x4dc)]),(0x0,_0x6228ab[_0x2b8ad3(0x2f5)])(0x10))[_0x2b8ad3(0x26e)](()=>{const _0xe5098b=_0x2b8ad3;this[_0xe5098b(0x4e2)]();}));}};_0x35125b=_0x1403f0([_0x37fe1c(0x1,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x574cdb['DocSkeletonManagerService'])),_0x37fe1c(0x2,(0x0,_0x583c0b['Inject'])(_0x5c57cd)),_0x37fe1c(0x3,_0x583c0b[_0x49e248(0x24e)]),_0x37fe1c(0x4,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x583c0b[_0x49e248(0x35f)]))],_0x35125b);var _0x4f7e7d=class extends _0x1f114e[_0x49e248(0x2b0)]{constructor(_0x149936,_0x1c0d31){const _0x412a5f=_0x49e248;super(_0x149936,_0x1c0d31),_0x30e4d4(this,'_color',void 0x0),_0x30e4d4(this,'_hovered',!0x1),_0x30e4d4(this,_0x412a5f(0x4f4),void 0x0),_0x30e4d4(this,_0x412a5f(0x1e8),''),_0x30e4d4(this,_0x412a5f(0x3d7),_0x412a5f(0x24d)),_0x30e4d4(this,_0x412a5f(0x28e),void 0x0),_0x30e4d4(this,_0x412a5f(0x2fa),void 0x0),_0x30e4d4(this,_0x412a5f(0x2f4),void 0x0),_0x30e4d4(this,'_highlightSecond',0x4),_0x30e4d4(this,'_blinkTimer',void 0x0),_0x30e4d4(this,_0x412a5f(0x4aa),void 0x0),_0x30e4d4(this,_0x412a5f(0x237),!0x0),_0x30e4d4(this,'_offsetY',0x0),_0x30e4d4(this,_0x412a5f(0x2ea),_0x412a5f(0x368)),_0x1c0d31&&(this[_0x412a5f(0x507)](_0x1c0d31),_0x1c0d31[_0x412a5f(0x36b)]&&(_0x1c0d31['highlightSecond']??this[_0x412a5f(0x35e)])&&this[_0x412a5f(0x229)](_0x1c0d31['highlightSecond']??this[_0x412a5f(0x35e)])),this[_0x412a5f(0x438)][_0x412a5f(0x362)](()=>this[_0x412a5f(0x507)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1}));}[_0x49e248(0x32e)](_0x2bd43d){const _0x57f125=_0x49e248;this[_0x57f125(0x414)]=_0x2bd43d;}[_0x49e248(0x507)](_0x5766ab){const _0x3828f1=_0x49e248;this[_0x3828f1(0x31e)]=_0x5766ab[_0x3828f1(0x326)]??this[_0x3828f1(0x31e)],this[_0x3828f1(0x40f)]=_0x5766ab[_0x3828f1(0x1d2)]??this[_0x3828f1(0x40f)],this['_range']=_0x5766ab[_0x3828f1(0x3ba)]??this[_0x3828f1(0x4f4)],this[_0x3828f1(0x1e8)]=_0x5766ab[_0x3828f1(0x450)]??this[_0x3828f1(0x1e8)],this[_0x3828f1(0x3d7)]=_0x5766ab[_0x3828f1(0x315)]??this[_0x3828f1(0x3d7)],this[_0x3828f1(0x28e)]=_0x5766ab[_0x3828f1(0x354)]??this[_0x3828f1(0x28e)],this[_0x3828f1(0x2fa)]=_0x5766ab[_0x3828f1(0x260)]??this[_0x3828f1(0x2fa)],this[_0x3828f1(0x2ea)]=_0x5766ab[_0x3828f1(0x517)]??this[_0x3828f1(0x2ea)],_0x5766ab[_0x3828f1(0x295)]!==void 0x0&&(this[_0x3828f1(0x35e)]=_0x5766ab[_0x3828f1(0x295)]),_0x5766ab[_0x3828f1(0x36b)]!==void 0x0&&(this[_0x3828f1(0x2f4)]=_0x5766ab[_0x3828f1(0x36b)]),_0x5766ab['offsetY']!==void 0x0&&(this[_0x3828f1(0x414)]=_0x5766ab[_0x3828f1(0x1e3)]),this[_0x3828f1(0x228)]({'width':_0x5766ab[_0x3828f1(0x310)],'height':_0x5766ab[_0x3828f1(0x3b9)]});}[_0x49e248(0x442)](_0x1ccda3){const _0x5b9318=_0x49e248;let {row:_0x353953,column:_0x2c15d4}=_0x1ccda3;_0x353953>=this[_0x5b9318(0x4f4)][_0x5b9318(0x3a7)]&&_0x353953<=this[_0x5b9318(0x4f4)][_0x5b9318(0x37a)]&&_0x2c15d4>=this[_0x5b9318(0x4f4)]['startColumn']&&_0x2c15d4<=this[_0x5b9318(0x4f4)][_0x5b9318(0x1dd)]?this['setShapeProps']({'hovered':!0x0}):this[_0x5b9318(0x507)]({'hovered':!0x1});}[_0x49e248(0x229)](_0x3a58aa){const _0x5c47cb=_0x49e248;this[_0x5c47cb(0x444)](),this[_0x5c47cb(0x237)]=!0x0,this['_blinkIntervalTimer']=window[_0x5c47cb(0x4b2)](()=>{const _0x26148c=_0x5c47cb;this[_0x26148c(0x237)]=!this[_0x26148c(0x237)],this[_0x26148c(0x4a0)](!0x0);},0x1f4),this[_0x5c47cb(0x32c)]=window['setTimeout'](()=>{const _0x532b96=_0x5c47cb;this[_0x532b96(0x444)](),this[_0x532b96(0x237)]=!0x0,this['makeDirty'](!0x0);},_0x3a58aa*0x3e8);}['_stopBlinking'](){const _0x32bdaa=_0x49e248;this[_0x32bdaa(0x4aa)]&&=(window['clearInterval'](this[_0x32bdaa(0x4aa)]),void 0x0),this[_0x32bdaa(0x32c)]&&=(window[_0x32bdaa(0x473)](this[_0x32bdaa(0x32c)]),void 0x0);}[_0x49e248(0x384)](_0x47584c){return!0x1;}[_0x49e248(0x224)](){const _0x5eb19f=_0x49e248;this['_stopBlinking'](),super[_0x5eb19f(0x224)]();}[_0x49e248(0x3f6)](_0x1771a3){const _0x4547d1=_0x49e248;let _0x318144=this[_0x4547d1(0x31e)],_0x149063=this[_0x4547d1(0x28e)];if(this[_0x4547d1(0x2f4)]&&!this[_0x4547d1(0x237)]&&(_0x318144=this['_getLighterColor'](this[_0x4547d1(0x31e)]),_0x149063=this[_0x4547d1(0x28e)]?this[_0x4547d1(0x24b)](this['_backgroundColor']):void 0x0),_0x1f114e[_0x4547d1(0x529)]['drawWith'](_0x1771a3,{'width':this[_0x4547d1(0x310)],'height':this[_0x4547d1(0x3b9)],'strokeWidth':this[_0x4547d1(0x4b6)]||1.5,'stroke':_0x318144,'evented':!0x1,'fill':_0x149063}),this[_0x4547d1(0x40f)]||this[_0x4547d1(0x2fa)]){_0x1771a3[_0x4547d1(0x317)]();let _0xdc7d8c=this['_labelHorizontalPosition']===_0x4547d1(0x3ca)?-_0xdd004d(_0x1771a3,this[_0x4547d1(0x1e8)]):this[_0x4547d1(0x310)];_0x1771a3[_0x4547d1(0x230)](0x1,0x0,0x0,0x1,_0xdc7d8c,(this[_0x4547d1(0x3d7)]===_0x4547d1(0x2d3)?0x0:-0x14)+(this['_offsetY']??0x0)),_0x15883f[_0x4547d1(0x480)](_0x1771a3,{'text':this[_0x4547d1(0x1e8)],'color':_0x318144}),_0x1771a3[_0x4547d1(0x410)]();}}[_0x49e248(0x24b)](_0x3d74a6){const _0x463e97=_0x49e248;return _0x3d74a6[_0x463e97(0x225)]('#')?'rgba('+Number[_0x463e97(0x524)](_0x3d74a6['slice'](0x1,0x3),0x10)+',\x20'+Number['parseInt'](_0x3d74a6[_0x463e97(0x40c)](0x3,0x5),0x10)+',\x20'+Number[_0x463e97(0x524)](_0x3d74a6['slice'](0x5,0x7),0x10)+',\x200.2)':_0x3d74a6[_0x463e97(0x225)](_0x463e97(0x25e))?_0x3d74a6[_0x463e97(0x41c)](/[\d.]+\)$/g,_0x463e97(0x1f9)):_0x3d74a6['startsWith'](_0x463e97(0x35d))?_0x3d74a6[_0x463e97(0x41c)](_0x463e97(0x35d),_0x463e97(0x25e))['replace'](')',',\x200.2)'):_0x3d74a6;}};let _0x413740=class extends _0x583c0b[_0x49e248(0x42a)]{constructor(_0x4ee26b,_0x1294c7,_0x5e2b58,_0x155b2c){const _0x2c86f4=_0x49e248;super(),this[_0x2c86f4(0x492)]=_0x4ee26b,this[_0x2c86f4(0x3c5)]=_0x1294c7,this[_0x2c86f4(0x40b)]=_0x5e2b58,this['_themeService']=_0x155b2c,_0x30e4d4(this,'_cursors',new Set()),_0x30e4d4(this,_0x2c86f4(0x209),null),_0x30e4d4(this,_0x2c86f4(0x498),null),this[_0x2c86f4(0x3e1)]();}['_init'](){const _0x577d6d=_0x49e248;this[_0x577d6d(0x3c5)][_0x577d6d(0x2e7)]['pipe']((0x0,_0x6228ab[_0x577d6d(0x374)])(this['dispose$']),(0x0,_0x6228ab[_0x577d6d(0x2eb)])(_0x2d903f=>{const _0x4b243e=_0x577d6d;if(_0x2d903f){let _0x10b4cc=_0x2d903f[_0x4b243e(0x2c8)];return(0x0,_0x40bd7a['combineLatest'])(this[_0x4b243e(0x40b)][_0x4b243e(0x248)](this[_0x4b243e(0x492)]['unitId']),this[_0x4b243e(0x272)]['currentTheme$'])[_0x4b243e(0x4c9)]((0x0,_0x6228ab['map'])(([_0x14f31f,_0x5d2406])=>{const _0x308628=_0x4b243e;let _0x3a343a=new Map();return _0x14f31f[_0x308628(0x1fe)]((_0x354afe,_0x2bb543)=>{const _0x1ad806=_0x308628;if(_0x354afe[_0x1ad806(0x4a6)]===_0x10b4cc){let _0x51c116={..._0x354afe};_0x51c116[_0x1ad806(0x326)]=this[_0x1ad806(0x272)][_0x1ad806(0x419)](_0x354afe['color']),_0x3a343a[_0x1ad806(0x345)](_0x2bb543,_0x51c116);}}),{'skeleton':_0x2d903f,'cursors':_0x3a343a};}));}return(0x0,_0x40bd7a['of'])({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0xf14f9d,cursors:_0x3c1d0b})=>{const _0x2c3ae0=_0x577d6d;this['_removeCollabCursors'](),_0xf14f9d&&this[_0x2c3ae0(0x366)](_0xf14f9d,_0x3c1d0b);}),this[_0x577d6d(0x202)](this[_0x577d6d(0x3c5)]['currentSkeleton$'][_0x577d6d(0x4c9)]((0x0,_0x6228ab['takeUntil'])(this[_0x577d6d(0x49b)]))[_0x577d6d(0x26e)](_0x115646=>{const _0x258471=_0x577d6d;var _0x373fd3;if(_0x115646==null)return;(_0x373fd3=this[_0x258471(0x498)])==null||_0x373fd3[_0x258471(0x45f)](),this[_0x258471(0x498)]=null;let {skeleton:_0x29cb40}=_0x115646,{scene:_0x465369}=this[_0x258471(0x492)];this[_0x258471(0x498)]=_0x465369['onPointerMove$'][_0x258471(0x362)]((0x0,_0x583c0b[_0x258471(0x52d)])(_0xd8c8ad=>{const _0xd5f5a8=_0x258471;var _0xa13927,_0x57972c;let {offsetX:_0x44c1f8,offsetY:_0x16eb5a}=_0xd8c8ad,{x:_0xcd9423,y:_0x215326}=_0x465369['getCoordRelativeToViewport'](_0x1f114e[_0xd5f5a8(0x2fe)][_0xd5f5a8(0x3f3)]([_0x44c1f8,_0x16eb5a])),{scaleX:_0x4f4f61,scaleY:_0x452bb5}=_0x465369['getAncestorScale'](),_0x1196f8=_0x465369[_0xd5f5a8(0x1fa)](_0x1f114e[_0xd5f5a8(0x31c)][_0xd5f5a8(0x232)]),_0x5ce8e0=_0x465369['getScrollXYInfoByViewport'](_0x1f114e[_0xd5f5a8(0x2fe)]['FromArray']([_0xcd9423,_0x215326]),_0x1196f8),_0x1b6441=_0x29cb40[_0xd5f5a8(0x525)](_0x44c1f8,_0x16eb5a,_0x4f4f61,_0x452bb5,_0x5ce8e0);(((_0xa13927=this['_lastPointer'])==null?void 0x0:_0xa13927['column'])!==_0x1b6441[_0xd5f5a8(0x3c6)]||((_0x57972c=this[_0xd5f5a8(0x209)])==null?void 0x0:_0x57972c[_0xd5f5a8(0x1b9)])!==_0x1b6441[_0xd5f5a8(0x1b9)])&&this['_cursors'][_0xd5f5a8(0x1fe)](_0x2475d3=>{const _0x43a5a8=_0xd5f5a8;_0x2475d3[_0x43a5a8(0x442)](_0x1b6441);});},0x64));})),this[_0x577d6d(0x202)]((0x0,_0x583c0b['toDisposable'])(()=>{const _0x336802=_0x577d6d;var _0x4fec48;(_0x4fec48=this[_0x336802(0x498)])==null||_0x4fec48[_0x336802(0x45f)](),this[_0x336802(0x498)]=null;}));}[_0x49e248(0x366)](_0x49d142,_0x2c2b9d){const _0x161a84=_0x49e248;let _0x5e7100=this['_sheetSkeletonManagerService'][_0x161a84(0x4e5)]();if(!_0x5e7100)return;let _0x2ecf32=this[_0x161a84(0x45b)]();if(!_0x2ecf32)return;this['_cursors'][_0x161a84(0x1fe)](_0x4e0081=>{const _0x639dd8=_0x161a84;_0x4e0081[_0x639dd8(0x4a0)]();});let {scene:_0x4b8af9}=_0x2ecf32,_0x449da9=_0x54db66(Array['from'](_0x2c2b9d['values']()))[_0x161a84(0x4f0)](_0x105b85=>{const _0x5022e6=_0x161a84;let {color:_0xbeb9f6,range:_0x1055e1,name:_0x178d10,selection:_0x2a9e9b,sheetID:_0x432c99}=_0x105b85,{startColumn:_0x1f2b8d,startRow:_0x48290d,endColumn:_0x1673a9,endRow:_0x23c28c}=_0x1055e1,_0x2f11bf=(0x0,_0x163f80['getCoordByCell'])(_0x48290d,_0x1f2b8d,_0x4b8af9,_0x5e7100),_0x2876a4=(0x0,_0x163f80['getCoordByCell'])(_0x23c28c,_0x1673a9,_0x4b8af9,_0x5e7100),{columnHeaderHeightAndMarginTop:_0x343b82}=_0x5e7100,{startX:_0x449a73,startY:_0xc74f63}=_0x2f11bf,{endX:_0x17d2cb,endY:_0x711ffd}=_0x2876a4,_0xfee35e=_0x17d2cb-_0x449a73,_0x5581d1=_0x711ffd-_0xc74f63;return new _0x4f7e7d(_0x178d10,{'labelPosition':_0xc74f63-_0x343b82>=0x14?_0x5022e6(0x24d):'bottom','sheetID':_0x432c99,'range':_0x1055e1,'color':_0xbeb9f6,'name':_0x178d10,'selection':_0x2a9e9b,'left':_0x449a73,'top':_0xc74f63,'width':_0xfee35e,'height':_0x5581d1,'evented':!0x1,'zIndex':0x1389});});_0x4b8af9['addObjects'](_0x449da9,0x1),this[_0x161a84(0x2a4)]=new Set(_0x449da9);}['_removeCollabCursors'](){const _0x1cfecd=_0x49e248;var _0x112baa;(_0x112baa=this['_cursors'])==null||_0x112baa['forEach'](_0x1ac5b4=>_0x1ac5b4[_0x1cfecd(0x224)]());}[_0x49e248(0x45b)](){const _0x37e12a=_0x49e248;return(0x0,_0x163f80[_0x37e12a(0x46d)])(this[_0x37e12a(0x492)]['unit'],this['_context']);}};_0x413740=_0x1403f0([_0x37fe1c(0x1,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x163f80[_0x49e248(0x3e5)])),_0x37fe1c(0x2,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x5c57cd)),_0x37fe1c(0x3,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x583c0b[_0x49e248(0x35f)]))],_0x413740);function _0x54db66(_0x4b8947){const _0x5056ae=_0x49e248;let _0x186968=new Map();return _0x4b8947[_0x5056ae(0x1fe)](_0x11ffba=>{const _0x5dbe33=_0x5056ae;if(_0x186968['has'](_0x11ffba[_0x5dbe33(0x2ca)])){let _0x37da40=_0x186968['get'](_0x11ffba[_0x5dbe33(0x2ca)]);_0x37da40[_0x5dbe33(0x450)]+=',\x20'+_0x11ffba['name'];}else _0x186968[_0x5dbe33(0x345)](_0x11ffba[_0x5dbe33(0x2ca)],_0x11ffba);}),Array[_0x5056ae(0x4ea)](_0x186968['values']());}function _0x511454(_0x3e1896){const _0x5f0012=_0x49e248;return typeof _0x3e1896==_0x5f0012(0x46c)&&!!_0x3e1896;}function _0x42743f(_0x4b8216){const _0x42faa2=_0x49e248;return _0x4b8216[_0x42faa2(0x311)]===_0x3569c2['CollaborationEvent'][_0x42faa2(0x372)]&&_0x42faa2(0x353)in _0x4b8216&&_0x511454(_0x4b8216[_0x42faa2(0x353)])&&typeof _0x4b8216[_0x42faa2(0x353)][_0x42faa2(0x4fb)]==_0x42faa2(0x313)&&typeof _0x4b8216[_0x42faa2(0x353)]['selection']==_0x42faa2(0x313);}function _0x9d67f2(_0x45c5c0){const _0x108acf=_0x49e248;return _0x45c5c0['eventID']===_0x3569c2[_0x108acf(0x268)]['USERS_LEAVE']&&_0x108acf(0x353)in _0x45c5c0&&_0x511454(_0x45c5c0[_0x108acf(0x353)])&&typeof _0x45c5c0[_0x108acf(0x353)][_0x108acf(0x4fb)]==_0x108acf(0x313);}function _0x471bf8(_0x120f8f,_0x1caf8a){const _0xde9054=_0x49e248;let _0x254e87;try{_0x254e87=JSON[_0xde9054(0x43f)](_0x120f8f);}catch{return null;}if(!_0x511454(_0x254e87)||typeof _0x254e87['kind']!=_0xde9054(0x313)||typeof _0x254e87['unitId']!=_0xde9054(0x313)||typeof _0x254e87[_0xde9054(0x2c4)]!=_0xde9054(0x313))return null;let _0x415e19=typeof _0x254e87['unitType']==_0xde9054(0x490)?_0x254e87[_0xde9054(0x334)]:_0x1caf8a;if(_0x415e19==null)return null;let _0x44886a=_0x511454(_0x254e87['pointer'])&&typeof _0x254e87[_0xde9054(0x378)]['x']==_0xde9054(0x490)&&Number[_0xde9054(0x365)](_0x254e87[_0xde9054(0x378)]['x'])&&typeof _0x254e87[_0xde9054(0x378)]['y']==_0xde9054(0x490)&&Number[_0xde9054(0x365)](_0x254e87[_0xde9054(0x378)]['y'])?{'x':_0x254e87[_0xde9054(0x378)]['x'],'y':_0x254e87[_0xde9054(0x378)]['y']}:null;return{'kind':_0x254e87[_0xde9054(0x2d1)],'unitType':_0x415e19,'unitId':_0x254e87[_0xde9054(0x437)],'subUnitId':_0x254e87[_0xde9054(0x2c4)],'selectedIds':Array['isArray'](_0x254e87[_0xde9054(0x3bc)])?_0x254e87[_0xde9054(0x3bc)]['filter'](_0x433c33=>typeof _0x433c33=='string'):[],'focusedId':typeof _0x254e87[_0xde9054(0x4d7)]=='string'?_0x254e87['focusedId']:null,'pointer':_0x44886a};}function _0x17e573(_0x5a6df4,_0x5bc01e,_0x6228ad){const _0x56346a=_0x49e248;return{'kind':_0x5bc01e,'unitType':_0x5a6df4,'unitId':_0x6228ad[_0x56346a(0x437)],'subUnitId':_0x6228ad['subUnitId'],'selectedIds':Array[_0x56346a(0x4ea)](_0x6228ad[_0x56346a(0x3bc)]),'focusedId':_0x6228ad[_0x56346a(0x4d7)],'pointer':_0x6228ad[_0x56346a(0x378)]?{..._0x6228ad['pointer']}:null};}let _0x5ca068=class extends _0x583c0b[_0x49e248(0x42a)]{constructor(_0x447b68,_0x12c6a9,_0x283a53,_0x33e083,_0x3cfe8e,_0x4f391a){const _0x3ac690=_0x49e248;super(),this[_0x3ac690(0x437)]=_0x447b68,this[_0x3ac690(0x440)]=_0x12c6a9,this[_0x3ac690(0x453)]=_0x283a53,this[_0x3ac690(0x38c)]=_0x33e083,this['_memberService']=_0x3cfe8e,this[_0x3ac690(0x3ab)]=_0x4f391a,_0x30e4d4(this,_0x3ac690(0x3a1),!0x1),_0x30e4d4(this,_0x3ac690(0x472),!0x1);}get[_0x49e248(0x334)](){const _0x541d9a=_0x49e248;return this[_0x541d9a(0x453)][_0x541d9a(0x334)];}[_0x49e248(0x224)](){const _0x595269=_0x49e248;this[_0x595269(0x2af)](),super[_0x595269(0x224)]();}[_0x49e248(0x306)](){const _0x293b49=_0x49e248;this['_initialized']||(this['_initialized']=!0x0,this['_session'][_0x293b49(0x211)][_0x293b49(0x4c9)]((0x0,_0x40bd7a[_0x293b49(0x374)])(this[_0x293b49(0x49b)]))[_0x293b49(0x26e)](_0x5779f2=>{const _0x38885d=_0x293b49;if(_0x5779f2===_0x1134b1['SessionStatus'][_0x38885d(0x336)]){this[_0x38885d(0x3a1)]=!0x0;let _0xc35e79=this[_0x38885d(0x453)][_0x38885d(0x231)](this[_0x38885d(0x437)]);_0xc35e79&&this[_0x38885d(0x4e4)](_0xc35e79);}else this[_0x38885d(0x3a1)]=!0x1,this[_0x38885d(0x2af)]();}),this[_0x293b49(0x440)][_0x293b49(0x287)]['pipe']((0x0,_0x40bd7a[_0x293b49(0x374)])(this[_0x293b49(0x49b)]))[_0x293b49(0x26e)](_0x12596f=>{const _0x2e9358=_0x293b49;_0x42743f(_0x12596f)?this['_handleCursorUpdate'](_0x12596f):_0x9d67f2(_0x12596f)&&this[_0x2e9358(0x484)](_0x12596f[_0x2e9358(0x353)][_0x2e9358(0x4fb)]);}),this['_adapter']['localPresence$'][_0x293b49(0x4c9)]((0x0,_0x40bd7a[_0x293b49(0x28f)])(_0x148531=>this[_0x293b49(0x3a1)]&&_0x148531[_0x293b49(0x437)]===this[_0x293b49(0x437)]),(0x0,_0x40bd7a[_0x293b49(0x4bf)])(_0x42274a=>(0x0,_0x40bd7a['timer'])(_0x42274a[_0x293b49(0x520)]),{'leading':!0x0,'trailing':!0x0}),(0x0,_0x40bd7a[_0x293b49(0x374)])(this[_0x293b49(0x49b)]))[_0x293b49(0x26e)](_0x3fe69f=>this['_sendLocalPresence'](_0x3fe69f)));}[_0x49e248(0x4e4)](_0x4ec70b){const _0xb20fef=_0x49e248;let _0xe3ef=this[_0xb20fef(0x440)][_0xb20fef(0x447)]();if(!_0xe3ef||!this[_0xb20fef(0x3a1)])return;let _0x190455={'eventID':_0x3569c2['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this['unitId'],'memberID':_0xe3ef,'selection':JSON[_0xb20fef(0x21f)](_0x17e573(this['unitType'],this[_0xb20fef(0x453)]['presenceKind'],_0x4ec70b))}};this[_0xb20fef(0x440)]['send'](_0x190455,this[_0xb20fef(0x437)])['catch'](()=>void 0x0);}[_0x49e248(0x1f6)](_0x1d35c2){const _0x55ac13=_0x49e248;let {memberID:_0xf582b5,selection:_0x111f97}=_0x1d35c2[_0x55ac13(0x353)];if(_0xf582b5===this[_0x55ac13(0x440)][_0x55ac13(0x447)]())return;let _0x3d0aa4=_0x471bf8(_0x111f97,this[_0x55ac13(0x334)]);if(!_0x3d0aa4||_0x3d0aa4[_0x55ac13(0x2d1)]!==this['_adapter'][_0x55ac13(0x22a)]||_0x3d0aa4[_0x55ac13(0x334)]!==this[_0x55ac13(0x334)]||_0x3d0aa4[_0x55ac13(0x437)]!==this['unitId'])return;let _0x3825c4=this['_memberService'][_0x55ac13(0x2c2)](this[_0x55ac13(0x437)],_0xf582b5),_0x24f333={'unitId':_0x3d0aa4[_0x55ac13(0x437)],'subUnitId':_0x3d0aa4[_0x55ac13(0x2c4)],'selectedIds':_0x3d0aa4['selectedIds'],'focusedId':_0x3d0aa4[_0x55ac13(0x4d7)],'pointer':_0x3d0aa4['pointer'],'memberId':_0xf582b5,'color':this[_0x55ac13(0x38c)][_0x55ac13(0x285)](_0xf582b5),'name':(_0x3825c4==null?void 0x0:_0x3825c4['name'])??_0xf582b5};this[_0x55ac13(0x3ab)][_0x55ac13(0x51a)](_0x4605c2['id'],{'unitType':this[_0x55ac13(0x334)],'update':{'type':'set','state':_0x24f333}})['catch'](()=>void 0x0);}['_removeRemotePresence'](_0x42ec63){const _0x5dd77a=_0x49e248;this[_0x5dd77a(0x3ab)]['executeCommand'](_0x4605c2['id'],{'unitType':this[_0x5dd77a(0x334)],'update':{'type':_0x5dd77a(0x29a),'unitId':this[_0x5dd77a(0x437)],'memberId':_0x42ec63}})['catch'](()=>void 0x0);}['_clearRemotePresences'](){const _0x3caa12=_0x49e248;this['_commandService'][_0x3caa12(0x51a)](_0x4605c2['id'],{'unitType':this[_0x3caa12(0x334)],'update':{'type':_0x3caa12(0x433),'unitId':this[_0x3caa12(0x437)]}})[_0x3caa12(0x1e4)](()=>void 0x0);}};_0x5ca068=_0x1403f0([_0x37fe1c(0x3,(0x0,_0x583c0b['Inject'])(_0x5dac64)),_0x37fe1c(0x4,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x1134b1['MemberService'])),_0x37fe1c(0x5,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x583c0b[_0x49e248(0x24e)]))],_0x5ca068);let _0x4698fb=class extends _0x583c0b['RxDisposable']{constructor(_0x99dd9f,_0x537308,_0x40c862,_0x2a3ea3){const _0x42cd82=_0x49e248;super(),this[_0x42cd82(0x1cd)]=_0x99dd9f,this[_0x42cd82(0x51b)]=_0x537308,this[_0x42cd82(0x282)]=_0x40c862,this[_0x42cd82(0x1ec)]=_0x2a3ea3,_0x30e4d4(this,_0x42cd82(0x508),!0x1),_0x30e4d4(this,'_entities',new Map()),_0x30e4d4(this,'_pendingEntities',new Map()),_0x30e4d4(this,_0x42cd82(0x1fc),new Map()),this[_0x42cd82(0x3e1)]();}[_0x49e248(0x224)](){const _0x74e65d=_0x49e248;this[_0x74e65d(0x508)]=!0x0,this[_0x74e65d(0x1fc)][_0x74e65d(0x1fe)](_0x4ee22a=>_0x4ee22a['dispose']()),this[_0x74e65d(0x1fc)][_0x74e65d(0x433)](),this[_0x74e65d(0x227)][_0x74e65d(0x1fe)](_0x3cb8c9=>_0x3cb8c9[_0x74e65d(0x224)]()),this[_0x74e65d(0x227)]['clear'](),this[_0x74e65d(0x316)][_0x74e65d(0x433)](),super[_0x74e65d(0x224)]();}['_init'](){const _0x29b279=_0x49e248;this[_0x29b279(0x1ec)][_0x29b279(0x26c)]['pipe']((0x0,_0x40bd7a['takeUntil'])(this[_0x29b279(0x49b)]))[_0x29b279(0x26e)](_0x5b4c99=>this['_syncAdapters'](_0x5b4c99));}['_syncAdapters'](_0x47a2eb){const _0x5c75f1=_0x49e248;let _0x4df667=new Set(_0x47a2eb['map'](_0x100e00=>_0x100e00[_0x5c75f1(0x334)]));this[_0x5c75f1(0x1fc)][_0x5c75f1(0x1fe)]((_0x1749d7,_0x101a09)=>{const _0x15ccc9=_0x5c75f1;_0x4df667[_0x15ccc9(0x4ac)](_0x101a09)||(_0x1749d7[_0x15ccc9(0x224)](),this[_0x15ccc9(0x1fc)]['delete'](_0x101a09),this['_disposeEntitiesForType'](_0x101a09));}),_0x47a2eb[_0x5c75f1(0x1fe)](_0x182cea=>{const _0x29d089=_0x5c75f1;this[_0x29d089(0x1fc)][_0x29d089(0x4ac)](_0x182cea[_0x29d089(0x334)])||this['_bindAdapter'](_0x182cea);});}[_0x49e248(0x379)](_0xc7adee){const _0x1b9b09=_0x49e248;let _0x5267a9=new _0x583c0b[(_0x1b9b09(0x33b))]();this[_0x1b9b09(0x1fc)][_0x1b9b09(0x345)](_0xc7adee['unitType'],_0x5267a9),_0x5267a9[_0x1b9b09(0x4a9)](_0xc7adee[_0x1b9b09(0x2d0)]()),this[_0x1b9b09(0x1cd)][_0x1b9b09(0x402)](_0xc7adee[_0x1b9b09(0x334)])['forEach'](_0x51b18a=>this[_0x1b9b09(0x4f6)](_0x51b18a['getUnitId'](),_0xc7adee)[_0x1b9b09(0x1e4)](()=>void 0x0));let _0x254f96=this[_0x1b9b09(0x1cd)][_0x1b9b09(0x305)](_0xc7adee[_0x1b9b09(0x334)])[_0x1b9b09(0x26e)](({unit:_0x5c7a14})=>this[_0x1b9b09(0x4f6)](_0x5c7a14[_0x1b9b09(0x375)](),_0xc7adee)['catch'](()=>void 0x0));_0x5267a9[_0x1b9b09(0x4a9)]((0x0,_0x583c0b[_0x1b9b09(0x292)])(()=>_0x254f96[_0x1b9b09(0x45f)]()));let _0x160689=this[_0x1b9b09(0x1cd)][_0x1b9b09(0x3f2)](_0xc7adee[_0x1b9b09(0x334)])['subscribe'](_0x5791bb=>this[_0x1b9b09(0x27f)](_0x5791bb['getUnitId']()));_0x5267a9[_0x1b9b09(0x4a9)]((0x0,_0x583c0b[_0x1b9b09(0x292)])(()=>_0x160689[_0x1b9b09(0x45f)]()));}async[_0x49e248(0x4f6)](_0xd5bcbf,_0x37df1a){const _0x3c83f3=_0x49e248;if(this['_entities'][_0x3c83f3(0x4ac)](_0xd5bcbf)||this[_0x3c83f3(0x316)][_0x3c83f3(0x4ac)](_0xd5bcbf))return;let _0x30d20b={};this['_pendingEntities'][_0x3c83f3(0x345)](_0xd5bcbf,_0x30d20b);let _0x35f902=await this[_0x3c83f3(0x282)][_0x3c83f3(0x3b5)](_0xd5bcbf)[_0x3c83f3(0x1e4)](_0x9dbb6b=>{const _0xa8d585=_0x3c83f3;throw this['_pendingEntities'][_0xa8d585(0x3e3)](_0xd5bcbf)===_0x30d20b&&this[_0xa8d585(0x316)][_0xa8d585(0x489)](_0xd5bcbf),_0x9dbb6b;});if(this[_0x3c83f3(0x508)]||this[_0x3c83f3(0x316)][_0x3c83f3(0x3e3)](_0xd5bcbf)!==_0x30d20b||this[_0x3c83f3(0x1ec)][_0x3c83f3(0x3e3)](_0x37df1a[_0x3c83f3(0x334)])!==_0x37df1a){this['_pendingEntities']['get'](_0xd5bcbf)===_0x30d20b&&this[_0x3c83f3(0x316)][_0x3c83f3(0x489)](_0xd5bcbf);return;}let _0x22bda7=this[_0x3c83f3(0x51b)]['createInstance'](_0x5ca068,_0xd5bcbf,_0x35f902,_0x37df1a);_0x22bda7[_0x3c83f3(0x306)](),this['_pendingEntities'][_0x3c83f3(0x489)](_0xd5bcbf),this[_0x3c83f3(0x227)]['set'](_0xd5bcbf,_0x22bda7);}[_0x49e248(0x27f)](_0x442251){const _0x2d1d79=_0x49e248;this[_0x2d1d79(0x316)][_0x2d1d79(0x489)](_0x442251);let _0x523eb5=this[_0x2d1d79(0x227)][_0x2d1d79(0x3e3)](_0x442251);_0x523eb5&&(_0x523eb5[_0x2d1d79(0x224)](),this[_0x2d1d79(0x227)]['delete'](_0x442251));}[_0x49e248(0x47a)](_0x41977a){const _0x177073=_0x49e248;this['_univerInstanceService'][_0x177073(0x402)](_0x41977a)[_0x177073(0x1fe)](_0x1d21f7=>this[_0x177073(0x316)][_0x177073(0x489)](_0x1d21f7[_0x177073(0x375)]())),Array[_0x177073(0x4ea)](this['_entities'][_0x177073(0x481)]())[_0x177073(0x1fe)](([_0x16d4f2,_0x5c39bd])=>{const _0x4a3d20=_0x177073;_0x5c39bd['unitType']===_0x41977a&&this[_0x4a3d20(0x27f)](_0x16d4f2);});}};_0x4698fb=_0x1403f0([_0x37fe1c(0x0,_0x583c0b['IUniverInstanceService']),_0x37fe1c(0x1,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x583c0b['Injector'])),_0x37fe1c(0x2,(0x0,_0x583c0b['Inject'])(_0x1134b1[_0x49e248(0x4c0)])),_0x37fe1c(0x3,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x132a23[_0x49e248(0x43a)]))],_0x4698fb);let _0x28564c={'toast':_0x49e248(0x50a),'actionButton':'!univer-m-0\x20univer-col-start-2\x20univer-row-start-2\x20univer-justify-self-end'},_0x4b3379={'title':_0x49e248(0x45e),'content':_0x49e248(0x49d),'type':_0x49e248(0x4d2)},_0xcb4c73={'permission_rejected':{'title':_0x49e248(0x403),'content':_0x49e248(0x4b0),'type':'error'},'license_unit_type_rejected':{'title':_0x49e248(0x456),'content':_0x49e248(0x434),'type':_0x49e248(0x4d2)},'remote_revert':{'title':_0x49e248(0x495),'content':_0x49e248(0x380),'type':'warning'}},_0xb0932f=class extends _0x583c0b[_0x49e248(0x330)]{constructor(_0x42e262,_0xbb74ed,_0x3d83b8,_0x11d1ee,_0x2b7235,_0x2de84c,_0x574a86,_0x211d99){const _0x32c892=_0x49e248;var _0x46f8ab;super(),this[_0x32c892(0x1d4)]=_0x42e262,this['_localCacheService']=_0xbb74ed,this['_collaborationUIEventService']=_0x3d83b8,this[_0x32c892(0x1d5)]=_0x11d1ee,this['_notificationService']=_0x2b7235,this[_0x32c892(0x253)]=_0x2de84c,this[_0x32c892(0x39a)]=_0x574a86,this['_configService']=_0x211d99,_0x30e4d4(this,_0x32c892(0x4a2),null),_0x30e4d4(this,'_retryingConflictCacheUnitIDs',new Set()),_0x30e4d4(this,_0x32c892(0x2b9),new Map()),_0x30e4d4(this,'_editingConnectionsExceededNotices',new Map()),this[_0x32c892(0x522)](),this[_0x32c892(0x212)](),this[_0x32c892(0x207)](),((_0x46f8ab=this[_0x32c892(0x3f8)][_0x32c892(0x2ac)](_0x32c892(0x427)))==null?void 0x0:_0x46f8ab[_0x32c892(0x502)])!==!0x1&&this[_0x32c892(0x27a)]();}[_0x49e248(0x224)](){const _0x1be56c=_0x49e248;var _0x3ea820;(_0x3ea820=this[_0x1be56c(0x4a2)])==null||_0x3ea820[_0x1be56c(0x224)](),this[_0x1be56c(0x4a2)]=null;for(let _0xd0e6c7 of[this['_saveTimedOutNotices'],this['_editingConnectionsExceededNotices']])_0xd0e6c7[_0x1be56c(0x1fe)](_0x2bf003=>_0x2bf003[_0x1be56c(0x224)]()),_0xd0e6c7[_0x1be56c(0x433)]();super[_0x1be56c(0x224)]();}[_0x49e248(0x207)](){const _0x295b6f=_0x49e248;let _0x2357ae=_0x27e089=>{const _0x41dae9=_0x2f4a;let _0x3b7b22=new _0x583c0b['DisposableCollection']();_0x3b7b22[_0x41dae9(0x4a9)]((0x0,_0x583c0b[_0x41dae9(0x292)])(_0x27e089[_0x41dae9(0x4ca)][_0x41dae9(0x26e)]({'next':_0x5d8351=>{const _0x3d3bb4=_0x41dae9;_0x5d8351[_0x3d3bb4(0x351)]>=0x4e20&&this[_0x3d3bb4(0x3fe)](this[_0x3d3bb4(0x2b9)],_0x27e089[_0x3d3bb4(0x337)],_0x3d3bb4(0x323)),_0x5d8351[_0x3d3bb4(0x3ac)]==='license_editing_connections_exceeded'&&this[_0x3d3bb4(0x3fe)](this[_0x3d3bb4(0x47e)],_0x27e089[_0x3d3bb4(0x337)],_0x3d3bb4(0x298));},'complete':()=>{const _0x66f907=_0x41dae9;this[_0x66f907(0x27e)](_0x27e089[_0x66f907(0x337)]),_0x3b7b22[_0x66f907(0x224)]();}}))),_0x3b7b22[_0x41dae9(0x4a9)]((0x0,_0x583c0b['toDisposable'])(_0x27e089[_0x41dae9(0x494)][_0x41dae9(0x26e)](_0x2aa1a5=>{const _0x471262=_0x41dae9;_0x2aa1a5!==_0x1134b1[_0x471262(0x3ea)][_0x471262(0x3b4)]&&_0x2aa1a5!==_0x1134b1[_0x471262(0x3ea)][_0x471262(0x4f7)]&&this[_0x471262(0x27e)](_0x27e089[_0x471262(0x337)]);}))),this[_0x41dae9(0x202)](_0x3b7b22);};this[_0x295b6f(0x39a)][_0x295b6f(0x255)]()[_0x295b6f(0x1fe)](_0x2357ae),this[_0x295b6f(0x202)]((0x0,_0x583c0b[_0x295b6f(0x292)])(this[_0x295b6f(0x39a)][_0x295b6f(0x432)][_0x295b6f(0x26e)](_0x2357ae)));}[_0x49e248(0x3fe)](_0x1f6f93,_0x1c52f5,_0x2bad45){const _0x399355=_0x49e248;_0x1f6f93[_0x399355(0x4ac)](_0x1c52f5)||_0x1f6f93['set'](_0x1c52f5,this[_0x399355(0x1d0)][_0x399355(0x48d)]({'title':this[_0x399355(0x253)]['t'](_0x2bad45),'type':_0x399355(0x2c1),'duration':0x1/0x0,'closable':!0x0,'dismissible':!0x0}));}['_removeAwaitingNotices'](_0x40553e){const _0x54800d=_0x49e248;for(let _0x18de35 of[this[_0x54800d(0x2b9)],this[_0x54800d(0x47e)]]){var _0x467fb3;(_0x467fb3=_0x18de35['get'](_0x40553e))==null||_0x467fb3['dispose'](),_0x18de35[_0x54800d(0x489)](_0x40553e);}}['_setupBeforeClosingHandler'](){const _0x2852b3=_0x49e248;this[_0x2852b3(0x202)](this[_0x2852b3(0x1d4)][_0x2852b3(0x3b3)](()=>{const _0x62b0e8=_0x2852b3;if(this[_0x62b0e8(0x3c1)]['saveTaskMap'][_0x62b0e8(0x454)])return this[_0x62b0e8(0x253)]['t'](_0x62b0e8(0x46a));}));}[_0x49e248(0x27a)](){const _0x47e189=_0x49e248;let _0x3ce7a6=_0xab3aca=>{const _0x38eb34=_0x2f4a;this[_0x38eb34(0x202)]((0x0,_0x583c0b[_0x38eb34(0x292)])(_0xab3aca[_0x38eb34(0x4c4)][_0x38eb34(0x26e)](_0x1c89c6=>this[_0x38eb34(0x4c1)](_0x1c89c6))));};this['_collaborationController'][_0x47e189(0x255)]()[_0x47e189(0x1fe)](_0x3ce7a6),this['disposeWithMe']((0x0,_0x583c0b[_0x47e189(0x292)])(this[_0x47e189(0x39a)][_0x47e189(0x432)][_0x47e189(0x26e)](_0x3ce7a6)));}[_0x49e248(0x4c1)](_0xb58513){const _0x3d656a=_0x49e248;if(!_0xb58513[_0x3d656a(0x31a)])return;let _0x1cb3f3=_0xcb4c73[_0xb58513[_0x3d656a(0x3ac)]]??_0x4b3379;this['_replaceConflictNotification']({'title':this[_0x3d656a(0x253)]['t'](_0x1cb3f3[_0x3d656a(0x46e)]),'content':this[_0x3d656a(0x253)]['t'](_0x1cb3f3[_0x3d656a(0x312)]),'type':_0x1cb3f3[_0x3d656a(0x26d)],'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'classNames':_0x28564c,'action':{'label':this[_0x3d656a(0x253)]['t']('collaboration-client-ui.snapshotLoading.refresh'),'onClick':_0x103b9d=>{const _0x33c664=_0x3d656a;_0x103b9d[_0x33c664(0x32a)](),this[_0x33c664(0x4ef)]();}}});}[_0x49e248(0x4ef)](){const _0x33e73d=_0x49e248;window['location'][_0x33e73d(0x39d)]();}['_initEvent'](){const _0x4aa850=_0x49e248;this[_0x4aa850(0x202)](this[_0x4aa850(0x261)][_0x4aa850(0x287)]['subscribe'](_0x2b80eb=>{const _0x3b0657=_0x4aa850;_0x2b80eb['id']===_0x1134b1['CollaborationUIEventId'][_0x3b0657(0x358)]&&this[_0x3b0657(0x1d5)][_0x3b0657(0x48d)]({'type':_0x309bf7[_0x3b0657(0x205)][_0x3b0657(0x250)],'content':this['_localeService']['t'](_0x3b0657(0x49e))}),_0x2b80eb['id']===_0x1134b1['CollaborationUIEventId'][_0x3b0657(0x49c)]&&this[_0x3b0657(0x1d5)][_0x3b0657(0x48d)]({'type':_0x309bf7[_0x3b0657(0x205)][_0x3b0657(0x250)],'content':this[_0x3b0657(0x253)]['t'](_0x3b0657(0x40a))}),_0x2b80eb['id']===_0x1134b1['CollaborationUIEventId'][_0x3b0657(0x3ae)]&&this['_showConflictProcessingNotification'](),_0x2b80eb['id']===_0x1134b1[_0x3b0657(0x1bb)][_0x3b0657(0x4b9)]&&_0x2b80eb[_0x3b0657(0x337)]&&this[_0x3b0657(0x1c0)](_0x2b80eb['unitID'],_0x2b80eb[_0x3b0657(0x256)]??''),_0x2b80eb['id']===_0x1134b1['CollaborationUIEventId'][_0x3b0657(0x294)]&&this['_messageService']['show']({'type':_0x309bf7[_0x3b0657(0x205)]['Warning'],'content':this['_localeService']['t'](_0x2b80eb[_0x3b0657(0x353)]||'')}),_0x2b80eb['id']===_0x1134b1[_0x3b0657(0x1bb)][_0x3b0657(0x42e)]&&this[_0x3b0657(0x1d5)][_0x3b0657(0x48d)]({'type':_0x309bf7[_0x3b0657(0x205)][_0x3b0657(0x250)],'content':this['_localeService']['t'](_0x3b0657(0x4ae))}),_0x2b80eb['id']===_0x1134b1[_0x3b0657(0x1bb)][_0x3b0657(0x3cf)]&&this[_0x3b0657(0x1d5)][_0x3b0657(0x48d)]({'type':_0x309bf7[_0x3b0657(0x205)][_0x3b0657(0x501)],'content':this[_0x3b0657(0x253)]['t']('collaboration-client-ui.session.connection-failed')}),_0x2b80eb['id']===_0x1134b1[_0x3b0657(0x1bb)][_0x3b0657(0x2f7)]&&this[_0x3b0657(0x1d5)]['show']({'type':_0x309bf7['MessageType'][_0x3b0657(0x501)],'content':this[_0x3b0657(0x253)]['t'](_0x3b0657(0x27b))});}));}[_0x49e248(0x28d)](){const _0x59ee28=_0x49e248;this[_0x59ee28(0x247)]({'title':this[_0x59ee28(0x253)]['t'](_0x59ee28(0x45e)),'content':this[_0x59ee28(0x253)]['t']('collaboration-client-ui.conflict.processing'),'type':_0x59ee28(0x20f),'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1});}[_0x49e248(0x1c0)](_0x144561,_0x3cc0a9){const _0x405b72=_0x49e248;this[_0x405b72(0x247)]({'title':this[_0x405b72(0x253)]['t'](_0x405b72(0x45e)),'content':this[_0x405b72(0x253)]['t'](_0x405b72(0x20e)),'type':_0x405b72(0x4d2),'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'classNames':_0x28564c,'action':{'label':this[_0x405b72(0x253)]['t'](_0x405b72(0x34c)),'onClick':_0x3ba9f8=>{const _0x28135e=_0x405b72;_0x3ba9f8[_0x28135e(0x32a)](),this['_retryConflictCacheClear'](_0x144561,_0x3cc0a9);}}});}[_0x49e248(0x29c)](_0x1cf03d,_0x4d1431){const _0x52b1da=_0x49e248;let _0x831d77=_0x1cf03d+':'+(_0x4d1431??'');this['_retryingConflictCacheUnitIDs']['has'](_0x831d77)||(this[_0x52b1da(0x457)][_0x52b1da(0x4a9)](_0x831d77),this[_0x52b1da(0x28d)](),this[_0x52b1da(0x3c1)]['clearOfflineData'](_0x1cf03d,_0x4d1431)[_0x52b1da(0x25c)](()=>this[_0x52b1da(0x4ef)]())['catch'](()=>this[_0x52b1da(0x1c0)](_0x1cf03d,_0x4d1431))['finally'](()=>this[_0x52b1da(0x457)][_0x52b1da(0x489)](_0x831d77)));}[_0x49e248(0x247)](_0x187781){const _0x39c510=_0x49e248;var _0x35ad9c;(_0x35ad9c=this['_conflictNotification'])==null||_0x35ad9c[_0x39c510(0x224)](),this['_conflictNotification']=this['_notificationService']['show'](_0x187781);}};_0xb0932f=_0x1403f0([_0x37fe1c(0x0,_0x132a23[_0x49e248(0x424)]),_0x37fe1c(0x1,_0x1134b1[_0x49e248(0x355)]),_0x37fe1c(0x2,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x1134b1['CollaborationUIEventService'])),_0x37fe1c(0x3,_0x132a23[_0x49e248(0x504)]),_0x37fe1c(0x4,_0x132a23[_0x49e248(0x2da)]),_0x37fe1c(0x5,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x583c0b[_0x49e248(0x4be)])),_0x37fe1c(0x6,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x1134b1[_0x49e248(0x2d6)])),_0x37fe1c(0x7,_0x583c0b[_0x49e248(0x479)])],_0xb0932f);let _0x5caac0=class{constructor(_0x2be435,_0x4f66c6){const _0x498f86=_0x49e248;this[_0x498f86(0x23b)]=_0x2be435,this[_0x498f86(0x34a)]=_0x4f66c6;}[_0x49e248(0x2a1)](_0x86e8e0){const _0x5c040f=_0x49e248;this[_0x5c040f(0x37b)](_0x86e8e0),this[_0x5c040f(0x357)](_0x86e8e0);}[_0x49e248(0x2fd)](_0x33a74e){const _0x428d59=_0x49e248;let {unitID:_0x3b1a90}=_0x33a74e,{redoCache:_0x568a9f}=this[_0x428d59(0x34a)][_0x428d59(0x22d)](_0x3b1a90)[_0x428d59(0x2dd)](_0x594380[_0x428d59(0x32f)])[_0x428d59(0x300)]();if(_0x568a9f['length']===0x0)return _0x33a74e;let _0x149f3f=_0x583c0b[_0x428d59(0x39e)][_0x428d59(0x245)](_0x33a74e[_0x428d59(0x22c)][0x0]);for(let _0x46e728=0x0;_0x46e728<_0x568a9f[_0x428d59(0x40d)];_0x46e728++){let _0x32f119={'id':_0x428d59(0x2a6),'params':{..._0x568a9f[_0x46e728]}},_0xaff14a=this[_0x428d59(0x23b)][_0x428d59(0x505)](_0x149f3f,_0x32f119,!0x1);if((0x0,_0x3569c2[_0x428d59(0x487)])(_0xaff14a))throw _0xaff14a[_0x428d59(0x4d2)];_0x149f3f=_0xaff14a[_0x428d59(0x350)];}return{..._0x583c0b[_0x428d59(0x39e)][_0x428d59(0x245)](_0x33a74e),'mutations':[_0x149f3f]};}[_0x49e248(0x37b)](_0x5d6333){const _0xa10006=_0x49e248;let {unitID:_0x2157f3}=_0x5d6333,_0x12fd56=this[_0xa10006(0x34a)][_0xa10006(0x22d)](_0x2157f3)[_0xa10006(0x2dd)](_0x594380[_0xa10006(0x32f)]),{undoCache:_0x3dfb5d,redoCache:_0x110045}=_0x12fd56[_0xa10006(0x300)]();if(_0x3dfb5d[_0xa10006(0x40d)]===0x0||_0x110045[_0xa10006(0x40d)]===0x0)return;let _0x580fb8=[],_0x1c49fd=[],_0x2f2382=_0x583c0b[_0xa10006(0x39e)][_0xa10006(0x245)](_0x5d6333[_0xa10006(0x22c)][0x0]),_0x10df00=_0x583c0b[_0xa10006(0x39e)]['deepClone'](_0x5d6333['mutations'][0x0]);for(let _0x4668e7=_0x3dfb5d['length']-0x1;_0x4668e7>=0x0;_0x4668e7--){let _0x5359df={'id':'doc.mutation.rich-text-editing','params':{..._0x3dfb5d[_0x4668e7]}},_0xba22eb={'id':'doc.mutation.rich-text-editing','params':{..._0x110045[_0x4668e7]}},_0x2c903c=this[_0xa10006(0x23b)][_0xa10006(0x505)](_0x2f2382,_0x5359df,!0x1),_0x6f1d35=this['_transformService'][_0xa10006(0x505)](_0x10df00,_0xba22eb,!0x1);if((0x0,_0x3569c2[_0xa10006(0x487)])(_0x2c903c))throw _0x2c903c['error'];if((0x0,_0x3569c2['isTransformMutationFailure'])(_0x6f1d35))throw _0x6f1d35[_0xa10006(0x4d2)];_0x580fb8[_0xa10006(0x2a7)](_0x2c903c[_0xa10006(0x4eb)][_0xa10006(0x3ee)]),_0x1c49fd[_0xa10006(0x2a7)](_0x6f1d35[_0xa10006(0x4eb)][_0xa10006(0x3ee)]),_0x2f2382=_0x2c903c['m1Prime'],_0x10df00=_0x6f1d35['m1Prime'];}_0x12fd56[_0xa10006(0x2bb)]({'undoCache':_0x580fb8,'redoCache':_0x1c49fd});}['_transformPreviousActiveRange'](_0x2b5d2f){const _0x3046d1=_0x49e248;let {unitID:_0x32162c}=_0x2b5d2f,_0x237057=this[_0x3046d1(0x34a)][_0x3046d1(0x22d)](_0x32162c)[_0x3046d1(0x2dd)](_0x594380[_0x3046d1(0x32f)]),_0x471bc7=_0x237057[_0x3046d1(0x34f)]();if(_0x471bc7==null)return;let _0xe38742=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2b5d2f[_0x3046d1(0x337)],'actions':null,'textRanges':[_0x471bc7]}}],_0x15f86a=this[_0x3046d1(0x23b)][_0x3046d1(0x45d)](_0x2b5d2f,_0xe38742);if(!(0x0,_0x3569c2['isTransformMutationsWithChangesetSuccess'])(_0x15f86a))throw _0x15f86a[_0x3046d1(0x4d2)];let _0x3117ef=_0x15f86a[_0x3046d1(0x4eb)][0x0][_0x3046d1(0x3ee)]['textRanges'];Array['isArray'](_0x3117ef)&&_0x3117ef['length']&&_0x237057[_0x3046d1(0x3e7)](_0x3117ef[0x0]);}};_0x5caac0=_0x1403f0([_0x37fe1c(0x0,_0x3569c2[_0x49e248(0x431)]),_0x37fe1c(0x1,_0x1f114e[_0x49e248(0x386)])],_0x5caac0);let _0x25f5e8=class{constructor(_0x4d77cc,_0x1a5f78,_0x57b7fd){const _0x1c172b=_0x49e248;this['_injector']=_0x4d77cc,this[_0x1c172b(0x23b)]=_0x1a5f78,this[_0x1c172b(0x273)]=_0x57b7fd;}[_0x49e248(0x513)](_0x5e63eb){this['_transformHistoryAndStateStack'](_0x5e63eb);}['transformRemoteChangeset'](_0x50ba75){const _0x2e8432=_0x49e248;let {unitID:_0x19dc85}=_0x50ba75,{collaboration:_0x13f6bd}=this[_0x2e8432(0x273)][_0x2e8432(0x451)](_0x19dc85);if(_0x13f6bd[_0x2e8432(0x40d)]===0x0)return _0x50ba75;let _0x4b7bd1=_0x583c0b[_0x2e8432(0x39e)][_0x2e8432(0x245)](_0x50ba75[_0x2e8432(0x22c)][0x0]);for(let _0x3ed4c8=0x0;_0x3ed4c8<_0x13f6bd[_0x2e8432(0x40d)];_0x3ed4c8++){let _0x57473a={'id':_0x2e8432(0x2a6),'params':{'unitId':_0x13f6bd[_0x3ed4c8]['unitId'],..._0x13f6bd[_0x3ed4c8][_0x2e8432(0x515)]}},_0xd966b5=this[_0x2e8432(0x23b)][_0x2e8432(0x505)](_0x4b7bd1,_0x57473a,!0x1);if((0x0,_0x3569c2[_0x2e8432(0x487)])(_0xd966b5))throw _0xd966b5['error'];_0x4b7bd1=_0xd966b5[_0x2e8432(0x350)];}return{..._0x583c0b[_0x2e8432(0x39e)][_0x2e8432(0x245)](_0x50ba75),'mutations':[_0x4b7bd1]};}['_transformHistoryAndStateStack'](_0x280b3a){const _0x4ac47a=_0x49e248;let {unitID:_0x5307f4}=_0x280b3a,{history:_0x8eb39b,collaboration:_0x1ef107}=this[_0x4ac47a(0x273)][_0x4ac47a(0x451)](_0x5307f4);if(_0x8eb39b['length']===0x0&&_0x1ef107[_0x4ac47a(0x40d)]===0x0)return;let _0x1d64e2=[],_0x33646d=[],_0x39ee1b=_0x583c0b[_0x4ac47a(0x39e)][_0x4ac47a(0x245)](_0x280b3a['mutations'][0x0]),_0x1935e1=_0x583c0b['Tools'][_0x4ac47a(0x245)](_0x280b3a[_0x4ac47a(0x22c)][0x0]);for(let _0x4b899f=_0x8eb39b[_0x4ac47a(0x40d)]-0x1;_0x4b899f>=0x0;_0x4b899f--){let _0x369361={'id':_0x4ac47a(0x2a6),'params':{'unitId':_0x8eb39b[_0x4b899f]['unitId'],..._0x8eb39b[_0x4b899f][_0x4ac47a(0x223)]}},_0x119f44={'id':_0x4ac47a(0x2a6),'params':{'unitId':_0x8eb39b[_0x4b899f][_0x4ac47a(0x437)],..._0x8eb39b[_0x4b899f][_0x4ac47a(0x515)]}},_0x303bad=this[_0x4ac47a(0x23b)][_0x4ac47a(0x505)](_0x39ee1b,_0x369361,!0x1),_0x1a3f40=this[_0x4ac47a(0x23b)][_0x4ac47a(0x505)](_0x1935e1,_0x119f44,!0x1);if((0x0,_0x3569c2[_0x4ac47a(0x487)])(_0x303bad))throw _0x303bad[_0x4ac47a(0x4d2)];if((0x0,_0x3569c2[_0x4ac47a(0x487)])(_0x1a3f40))throw _0x1a3f40[_0x4ac47a(0x4d2)];_0x1d64e2[_0x4ac47a(0x2a7)]({..._0x8eb39b[_0x4b899f],'undoState':_0x303bad[_0x4ac47a(0x4eb)][_0x4ac47a(0x3ee)],'redoState':_0x1a3f40[_0x4ac47a(0x4eb)][_0x4ac47a(0x3ee)]}),_0x39ee1b=_0x303bad[_0x4ac47a(0x350)],_0x1935e1=_0x1a3f40[_0x4ac47a(0x350)];}_0x39ee1b=_0x583c0b[_0x4ac47a(0x39e)]['deepClone'](_0x280b3a[_0x4ac47a(0x22c)][0x0]),_0x1935e1=_0x583c0b[_0x4ac47a(0x39e)][_0x4ac47a(0x245)](_0x280b3a[_0x4ac47a(0x22c)][0x0]);for(let _0x5d3468=_0x1ef107[_0x4ac47a(0x40d)]-0x1;_0x5d3468>=0x0;_0x5d3468--){let _0x317cf0={'id':_0x4ac47a(0x2a6),'params':{'unitId':_0x1ef107[_0x5d3468]['unitId'],..._0x1ef107[_0x5d3468][_0x4ac47a(0x223)]}},_0x410a63={'id':_0x4ac47a(0x2a6),'params':{'unitId':_0x1ef107[_0x5d3468]['unitId'],..._0x1ef107[_0x5d3468][_0x4ac47a(0x515)]}},_0xaee6c4=this[_0x4ac47a(0x23b)][_0x4ac47a(0x505)](_0x39ee1b,_0x317cf0,!0x1),_0x13d577=this[_0x4ac47a(0x23b)]['transformMutation'](_0x1935e1,_0x410a63,!0x1);if((0x0,_0x3569c2[_0x4ac47a(0x487)])(_0xaee6c4))throw _0xaee6c4[_0x4ac47a(0x4d2)];if((0x0,_0x3569c2[_0x4ac47a(0x487)])(_0x13d577))throw _0x13d577[_0x4ac47a(0x4d2)];_0x33646d[_0x4ac47a(0x2a7)]({..._0x1ef107[_0x5d3468],'undoState':_0xaee6c4['m2Prime'][_0x4ac47a(0x3ee)],'redoState':_0x13d577[_0x4ac47a(0x4eb)][_0x4ac47a(0x3ee)]}),_0x39ee1b=_0xaee6c4[_0x4ac47a(0x350)],_0x1935e1=_0x13d577[_0x4ac47a(0x350)];}this[_0x4ac47a(0x273)][_0x4ac47a(0x309)](_0x5307f4,{'history':_0x1d64e2,'collaboration':_0x33646d});}};_0x25f5e8=_0x1403f0([_0x37fe1c(0x0,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x583c0b['Injector'])),_0x37fe1c(0x1,_0x3569c2[_0x49e248(0x431)]),_0x37fe1c(0x2,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x574cdb['DocStateChangeManagerService']))],_0x25f5e8);let _0x16800c=class{constructor(_0x4bdd8c,_0x1a6173){const _0x81e680=_0x49e248;this[_0x81e680(0x279)]=_0x4bdd8c,this[_0x81e680(0x23b)]=_0x1a6173;}[_0x49e248(0x519)](_0x518a0a){const _0x2fd69d=_0x49e248;var _0x191fce;let _0x2babca=this[_0x2fd69d(0x279)][_0x2fd69d(0x1b6)]()??[],_0x1a494e=this[_0x2fd69d(0x279)][_0x2fd69d(0x219)]();if(_0x2babca[_0x2fd69d(0x40d)]===0x0||_0x1a494e==null)return null;let _0x732a40=_0x518a0a['unitID'],_0x5d6dec=[{'id':_0x2fd69d(0x2a6),'params':{'unitId':_0x732a40,'actions':null,'textRanges':_0x2babca}}],_0x3340a1=this['_transformService']['transformMutationsWithChangeset'](_0x518a0a,_0x5d6dec);if(!(0x0,_0x3569c2[_0x2fd69d(0x459)])(_0x3340a1))throw _0x3340a1[_0x2fd69d(0x4d2)];let _0x551aa6=(_0x191fce=_0x3340a1[_0x2fd69d(0x4eb)][0x0])==null?void 0x0:_0x191fce[_0x2fd69d(0x3ee)],_0x3459da=_0x551aa6&&typeof _0x551aa6==_0x2fd69d(0x46c)&&'textRanges'in _0x551aa6?_0x551aa6[_0x2fd69d(0x20c)]:null;if(!_0x1b27b6(_0x3459da))return null;let _0xc376da=_0x4d9c4c(_0x518a0a['mutations'][_0x2fd69d(0x361)](_0x5d1c1a=>_0x28c54c(_0x5d1c1a[_0x2fd69d(0x3ee)]))?_0x3459da[_0x2fd69d(0x28f)](_0x1d4dac=>!(_0x2fd69d(0x466)in _0x1d4dac)):_0x3459da,{..._0x1a494e,'options':_0x1a494e[_0x2fd69d(0x485)]?{..._0x1a494e[_0x2fd69d(0x485)],'wholeDocument':!0x1}:void 0x0}),_0x41ad46={'unitId':_0x732a40,'subUnitId':_0x732a40};this[_0x2fd69d(0x279)][_0x2fd69d(0x3fb)](_0xc376da,_0x41ad46);let _0x2581d1=!0x0;return{'commit':()=>{_0x2581d1=!0x1;},'rollback':()=>{const _0x95b851=_0x2fd69d;_0x2581d1&&(_0x2581d1=!0x1,this[_0x95b851(0x279)][_0x95b851(0x3fb)](_0x1a494e,_0x41ad46));}};}};_0x16800c=_0x1403f0([_0x37fe1c(0x0,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x574cdb[_0x49e248(0x322)])),_0x37fe1c(0x1,_0x3569c2['ITransformService'])],_0x16800c);function _0x4d9c4c(_0x30f677,_0x1092a7){const _0x4135f2=_0x49e248;let _0x5707c2=[],_0xf592fc=[];for(let _0x4c94e4 of _0x30f677)_0xd09db6(_0x4c94e4)?_0xf592fc[_0x4135f2(0x4ce)](_0x4c94e4):_0x5707c2['push'](_0x4c94e4);return{..._0x1092a7,'textRanges':_0x5707c2,'rectRanges':_0xf592fc};}function _0xd09db6(_0x1f59ed){const _0x40b971=_0x49e248;return _0x40b971(0x466)in _0x1f59ed;}function _0x1b27b6(_0x18f2ea){const _0x5308c5=_0x49e248;return Array[_0x5308c5(0x3c7)](_0x18f2ea)&&_0x18f2ea[_0x5308c5(0x1e0)](_0x1071aa=>typeof _0x1071aa==_0x5308c5(0x46c)&&!!_0x1071aa&&_0x5308c5(0x1f3)in _0x1071aa&&_0x5308c5(0x2ec)in _0x1071aa);}function _0x28c54c(_0xd53229){const _0x4be0f1=_0x49e248;return _0xd53229==='tableSource'?!0x0:Array[_0x4be0f1(0x3c7)](_0xd53229)?_0xd53229[_0x4be0f1(0x361)](_0x4ed54b=>_0x28c54c(_0x4ed54b)):!_0xd53229||typeof _0xd53229!=_0x4be0f1(0x46c)?!0x1:Object['values'](_0xd53229)[_0x4be0f1(0x361)](_0x5006ca=>_0x28c54c(_0x5006ca));}let _0x38b01a=class extends _0x583c0b[_0x49e248(0x330)]{constructor(_0x53573e,_0x57a123,_0x2ad988,_0x5d27b0,_0x11a18d,_0x50debf,_0x46f7d4){const _0x2a412a=_0x49e248;super(),this[_0x2a412a(0x39a)]=_0x53573e,this[_0x2a412a(0x31f)]=_0x57a123,this[_0x2a412a(0x2ff)]=_0x2ad988,this[_0x2a412a(0x44a)]=_0x5d27b0,this[_0x2a412a(0x1da)]=_0x11a18d,this[_0x2a412a(0x1d5)]=_0x50debf,this[_0x2a412a(0x253)]=_0x46f7d4,_0x30e4d4(this,_0x2a412a(0x38a),new _0x40bd7a['BehaviorSubject'](_0x1134b1[_0x2a412a(0x3ea)][_0x2a412a(0x461)])),this[_0x2a412a(0x38f)]();}['_initEntityListener'](){const _0x4b7e62=_0x49e248;this[_0x4b7e62(0x202)](this[_0x4b7e62(0x39a)][_0x4b7e62(0x432)][_0x4b7e62(0x26e)](_0x2c0d1e=>{const _0x1ceb87=_0x4b7e62;_0x2c0d1e instanceof _0x1134b1['DocCollaborationEntity']&&_0x2c0d1e['addHandlerCallback']({'onTransformIME':_0x22eff1=>this[_0x1ceb87(0x31f)][_0x1ceb87(0x2a1)](_0x22eff1),'onTransformState':_0x4c8890=>this[_0x1ceb87(0x2ff)][_0x1ceb87(0x513)](_0x4c8890),'onPrepareTransformSelections':_0x28def6=>this[_0x1ceb87(0x44a)][_0x1ceb87(0x519)](_0x28def6),'onSyncEditingCollabCursor':_0x370a60=>this[_0x1ceb87(0x1da)][_0x1ceb87(0x4b3)](_0x370a60),'onTransformRemoteChangesetByIMECache':_0x89f5a3=>this['_docTransformIMECacheService'][_0x1ceb87(0x2fd)](_0x89f5a3),'onTransformRemoteChangesetByStateCache':_0x580412=>this[_0x1ceb87(0x2ff)][_0x1ceb87(0x2fd)](_0x580412)});}));}};_0x38b01a=_0x1403f0([_0x37fe1c(0x0,(0x0,_0x583c0b['Inject'])(_0x1134b1[_0x49e248(0x2d6)])),_0x37fe1c(0x1,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x5caac0)),_0x37fe1c(0x2,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x25f5e8)),_0x37fe1c(0x3,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x16800c)),_0x37fe1c(0x4,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x24bfb8)),_0x37fe1c(0x5,_0x132a23['IMessageService']),_0x37fe1c(0x6,(0x0,_0x583c0b['Inject'])(_0x583c0b[_0x49e248(0x4be)]))],_0x38b01a);let _0x2e0e89=class extends _0x583c0b['Disposable']{constructor(_0x27ad8d,_0x4eb450,_0x36391f,_0x463d19){const _0x266688=_0x49e248;super(),this[_0x266688(0x51b)]=_0x27ad8d,this[_0x266688(0x28b)]=_0x4eb450,this[_0x266688(0x30a)]=_0x36391f,this[_0x266688(0x46b)]=_0x463d19,_0x30e4d4(this,_0x266688(0x339),void 0x0),this['_init']();}[_0x49e248(0x3e1)](){const _0x461876=_0x49e248;this[_0x461876(0x278)](),this[_0x461876(0x4e3)](),this[_0x461876(0x21c)](),this[_0x461876(0x4ad)]();}['_initUserListener'](){const _0x1de3b4=_0x49e248;this['disposeWithMe'](this[_0x1de3b4(0x46b)][_0x1de3b4(0x3d5)][_0x1de3b4(0x26e)](_0x381128=>{const _0x1e0631=_0x1de3b4;this['_memberID']=_0x381128==null?void 0x0:_0x381128[_0x1e0631(0x4fb)];}));}['_initWindowErrorListener'](){const _0x48dbad=_0x49e248;let _0x2ee28c=_0x27f087=>{const _0x33887b=_0x2f4a;var _0x10e927;this[_0x33887b(0x1e1)]('error','[Window\x20Error]:\x20'+_0x27f087[_0x33887b(0x43d)]+_0x33887b(0x254)+_0x27f087[_0x33887b(0x29b)]+':'+_0x27f087[_0x33887b(0x2b8)]+':'+_0x27f087[_0x33887b(0x217)]+'\x0a'+(((_0x10e927=_0x27f087[_0x33887b(0x4d2)])==null?void 0x0:_0x10e927[_0x33887b(0x1b8)])||''));};window[_0x48dbad(0x1f1)](_0x48dbad(0x4d2),_0x2ee28c),this[_0x48dbad(0x202)](()=>{const _0x56d48=_0x48dbad;window[_0x56d48(0x43b)]('error',_0x2ee28c);});}[_0x49e248(0x4e3)](){const _0x99726e=_0x49e248;let _0x335c1b=_0x12f3a2=>{const _0x21b6a4=_0x2f4a;this[_0x21b6a4(0x1e1)](_0x21b6a4(0x4d2),'[Unhandled\x20Rejection]:\x20'+_0x12f3a2[_0x21b6a4(0x3ac)]);};window[_0x99726e(0x1f1)](_0x99726e(0x4b1),_0x335c1b),this[_0x99726e(0x202)](()=>{const _0x33d08a=_0x99726e;window[_0x33d08a(0x43b)](_0x33d08a(0x4b1),_0x335c1b);});}[_0x49e248(0x21c)](){const _0x5c1e2c=_0x49e248;let _0x2e6553=this['_logService'][_0x5c1e2c(0x4d2)][_0x5c1e2c(0x3e9)](this['_logService']);this[_0x5c1e2c(0x30a)]['error']=(..._0x18b7ba)=>{const _0x18dd56=_0x5c1e2c;let _0x4a19dc=_0x18b7ba['map'](_0x478268=>_0x478268 instanceof Error?_0x478268[_0x18dd56(0x43d)]+'\x0a'+_0x478268[_0x18dd56(0x1b8)]:String(_0x478268))['join']('\x20');this[_0x18dd56(0x1e1)](_0x18dd56(0x4d2),'[LogService\x20Error]:\x20'+_0x4a19dc),_0x2e6553(..._0x18b7ba);},this[_0x5c1e2c(0x202)](()=>{const _0x3b4641=_0x5c1e2c;this[_0x3b4641(0x30a)]['error']=_0x2e6553;});}[_0x49e248(0x1e1)](_0x145594,_0x110ae6){const _0x336109=_0x49e248;try{let _0x48e856={'userId':this['_memberID'],'logLabel':_0x145594,'content':_0x110ae6};this['_httpService'][_0x336109(0x259)](_0x336109(0x329),{'body':_0x48e856})[_0x336109(0x1e4)](()=>{});}catch{}}};_0x2e0e89=_0x1403f0([_0x37fe1c(0x0,(0x0,_0x583c0b['Inject'])(_0x583c0b[_0x49e248(0x1c5)])),_0x37fe1c(0x1,(0x0,_0x583c0b['Inject'])(_0x55fd99[_0x49e248(0x527)])),_0x37fe1c(0x2,_0x583c0b['ILogService']),_0x37fe1c(0x3,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x1134b1[_0x49e248(0x4c0)]))],_0x2e0e89);function _0x2efb61({state$:_0x2777af}){const _0x490656=_0x49e248;let _0x8dd3e5=(0x0,_0x132a23[_0x490656(0x204)])(_0x2777af,null,!0x0);return _0x8dd3e5?(0x0,_0x4a8b3a[_0x490656(0x2f2)])('div',{'data-u-comp':_0x490656(0x3c0),'role':_0x490656(0x3d6),'className':_0x490656(0x3ff),'children':[(0x0,_0x4a8b3a['jsx'])(_0x2e2313,{'className':_0x490656(0x439)}),(0x0,_0x4a8b3a['jsx'])(_0x490656(0x452),{'children':_0x8dd3e5[_0x490656(0x312)]}),(0x0,_0x4a8b3a[_0x490656(0x30e)])(_0x309bf7[_0x490656(0x2b1)],{'size':_0x490656(0x2c5),'variant':_0x490656(0x397),'onClick':()=>window[_0x490656(0x1f4)][_0x490656(0x39d)](),'children':_0x8dd3e5[_0x490656(0x307)]})]}):null;}let _0x50fbce=_0x49e248(0x308),_0x70594e=class extends _0x583c0b[_0x49e248(0x330)]{constructor(_0x5af17e,_0x2f6b67,_0x56088f,_0x1fc0cc,_0x5d08e2){const _0x2669c9=_0x49e248;super(),this['_snapshotLoadingService']=_0x5af17e,this[_0x2669c9(0x1d5)]=_0x2f6b67,this[_0x2669c9(0x253)]=_0x56088f,this[_0x2669c9(0x51b)]=_0x1fc0cc,_0x30e4d4(this,_0x2669c9(0x2e9),new _0x40bd7a[(_0x2669c9(0x2d8))](null)),_0x30e4d4(this,_0x2669c9(0x51d),new Set()),_0x30e4d4(this,_0x2669c9(0x52b),new Map()),_0x30e4d4(this,_0x2669c9(0x342),this[_0x2669c9(0x2e9)][_0x2669c9(0x35c)]());let _0x37c73f=()=>(0x0,_0x419824[_0x2669c9(0x48c)])(_0x2efb61,{'state$':this[_0x2669c9(0x342)]});this[_0x2669c9(0x202)](_0x5d08e2[_0x2669c9(0x1f2)](_0x132a23[_0x2669c9(0x271)][_0x2669c9(0x3e2)],()=>(0x0,_0x132a23[_0x2669c9(0x2cf)])(_0x37c73f,this[_0x2669c9(0x51b)]))),this[_0x2669c9(0x202)](this[_0x2669c9(0x4f1)][_0x2669c9(0x428)][_0x2669c9(0x26e)](_0x1c1945=>{const _0x561592=_0x2669c9;_0x1c1945[_0x561592(0x1fe)](_0x15ef02=>this[_0x561592(0x523)](_0x15ef02));}));}['dispose'](){const _0x178810=_0x49e248;this[_0x178810(0x51d)][_0x178810(0x1fe)](_0x36f041=>this['_messageService'][_0x178810(0x29a)](_0x36f041)),this[_0x178810(0x51d)][_0x178810(0x433)](),this['_blockProgressWatches'][_0x178810(0x1fe)](({timeoutId:_0x297318})=>clearTimeout(_0x297318)),this[_0x178810(0x52b)][_0x178810(0x433)](),this[_0x178810(0x2e9)][_0x178810(0x4cb)](),super[_0x178810(0x224)]();}[_0x49e248(0x523)](_0x4b6781){const _0x385467=_0x49e248;let _0x3bb3b7=''+_0x50fbce+_0x4b6781[_0x385467(0x437)];_0x4b6781[_0x385467(0x493)]===_0x3569c2['SnapshotLoadStage'][_0x385467(0x30b)]?(this[_0x385467(0x25a)](_0x4b6781[_0x385467(0x437)]),this[_0x385467(0x510)](_0x4b6781[_0x385467(0x437)]),this[_0x385467(0x1d5)][_0x385467(0x29a)](_0x3bb3b7),this['_messageIds'][_0x385467(0x489)](_0x3bb3b7)):_0x4b6781[_0x385467(0x493)]===_0x3569c2[_0x385467(0x4af)][_0x385467(0x3d2)]?(this[_0x385467(0x25a)](_0x4b6781['unitId']),this[_0x385467(0x510)](_0x4b6781[_0x385467(0x437)]),this[_0x385467(0x1d5)][_0x385467(0x48d)]({'id':_0x3bb3b7,'type':_0x309bf7['MessageType']['Error'],'content':this[_0x385467(0x253)]['t'](_0x385467(0x422))}),this[_0x385467(0x51d)][_0x385467(0x489)](_0x3bb3b7)):_0x4b6781[_0x385467(0x493)]!==_0x3569c2[_0x385467(0x4af)][_0x385467(0x238)]||_0x4b6781[_0x385467(0x4ff)]<=0xa?(this[_0x385467(0x25a)](_0x4b6781[_0x385467(0x437)]),this[_0x385467(0x1d5)]['remove'](_0x3bb3b7),this['_messageIds'][_0x385467(0x489)](_0x3bb3b7)):this['_watchBlockProgress'](_0x4b6781)||(this[_0x385467(0x1d5)][_0x385467(0x48d)]({'id':_0x3bb3b7,'type':_0x309bf7[_0x385467(0x205)][_0x385467(0x3b7)],'duration':0x1/0x0,'content':this[_0x385467(0x253)]['t']('collaboration-client-ui.collabStatus.fetchMiss')+'\x20'+_0x4b6781[_0x385467(0x1eb)]+'/'+_0x4b6781[_0x385467(0x4ff)]}),this[_0x385467(0x51d)][_0x385467(0x4a9)](_0x3bb3b7));}[_0x49e248(0x240)](_0x4a48ad){const _0x10df69=_0x49e248;let _0x1ad7a4=this[_0x10df69(0x52b)][_0x10df69(0x3e3)](_0x4a48ad[_0x10df69(0x437)]);if((_0x1ad7a4==null?void 0x0:_0x1ad7a4['loadedBlocks'])===_0x4a48ad['loadedBlocks'])return _0x1ad7a4[_0x10df69(0x412)];this['_clearBlockProgressWatch'](_0x4a48ad[_0x10df69(0x437)]);let _0x1aa7fc=setTimeout(()=>{const _0x517850=_0x10df69;let _0x55e485=this[_0x517850(0x52b)][_0x517850(0x3e3)](_0x4a48ad[_0x517850(0x437)]);if(!_0x55e485||_0x55e485['timeoutId']!==_0x1aa7fc)return;_0x55e485[_0x517850(0x412)]=!0x0;let _0x38b97a=''+_0x50fbce+_0x4a48ad['unitId'];this[_0x517850(0x1d5)][_0x517850(0x29a)](_0x38b97a),this['_messageIds']['delete'](_0x38b97a),this[_0x517850(0x2e9)]['next']({'unitId':_0x4a48ad[_0x517850(0x437)],'content':this[_0x517850(0x253)]['t']('collaboration-client-ui.snapshotLoading.timeout',String(_0x4a48ad[_0x517850(0x1eb)]),String(_0x4a48ad[_0x517850(0x4ff)])),'refreshLabel':this[_0x517850(0x253)]['t'](_0x517850(0x3ce))});},0xea60);return this[_0x10df69(0x52b)][_0x10df69(0x345)](_0x4a48ad[_0x10df69(0x437)],{'loadedBlocks':_0x4a48ad[_0x10df69(0x1eb)],'timedOut':!0x1,'timeoutId':_0x1aa7fc}),!0x1;}[_0x49e248(0x25a)](_0x26eb6d){const _0x4315bb=_0x49e248;let _0x434c0a=this['_blockProgressWatches'][_0x4315bb(0x3e3)](_0x26eb6d);_0x434c0a&&(clearTimeout(_0x434c0a[_0x4315bb(0x3e8)]),this['_blockProgressWatches'][_0x4315bb(0x489)](_0x26eb6d),this[_0x4315bb(0x510)](_0x26eb6d));}[_0x49e248(0x510)](_0x354276){const _0x7cf0bd=_0x49e248;var _0x11123d;((_0x11123d=this[_0x7cf0bd(0x2e9)][_0x7cf0bd(0x3b6)])==null?void 0x0:_0x11123d[_0x7cf0bd(0x437)])===_0x354276&&this['_timeoutState$'][_0x7cf0bd(0x2c6)](null);}};_0x70594e=_0x1403f0([_0x37fe1c(0x0,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x3569c2[_0x49e248(0x448)])),_0x37fe1c(0x1,_0x132a23[_0x49e248(0x504)]),_0x37fe1c(0x2,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x583c0b[_0x49e248(0x4be)])),_0x37fe1c(0x3,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x583c0b[_0x49e248(0x1c5)])),_0x37fe1c(0x4,_0x132a23[_0x49e248(0x216)])],_0x70594e);let _0x2306d0=class extends _0x583c0b['Disposable']{constructor(_0x363ee9,_0x2a3eb8,_0x491f64,_0x197f68,_0x213e13){const _0x5085ec=_0x49e248;var _0x2c33ab;super(),this[_0x5085ec(0x3f8)]=_0x363ee9,this[_0x5085ec(0x328)]=_0x2a3eb8,this[_0x5085ec(0x281)]=_0x491f64,this[_0x5085ec(0x30a)]=_0x197f68,this[_0x5085ec(0x218)]=_0x213e13,_0x30e4d4(this,_0x5085ec(0x4cd),new Map()),_0x30e4d4(this,_0x5085ec(0x4f8),new Map()),_0x30e4d4(this,_0x5085ec(0x500),new Map()),_0x30e4d4(this,_0x5085ec(0x2be),!0x1),this[_0x5085ec(0x2be)]=!((_0x2c33ab=this[_0x5085ec(0x3f8)][_0x5085ec(0x2ac)](_0x1134b1[_0x5085ec(0x391)]))!=null&&_0x2c33ab[_0x5085ec(0x3f9)]);}[_0x49e248(0x319)](){const _0x4f6b3f=_0x49e248;this[_0x4f6b3f(0x2be)]=!0x0;}[_0x49e248(0x383)](){this['_disabled']=!0x1;}get[_0x49e248(0x367)](){const _0x982ae3=_0x49e248;let _0x2f4d13=new Map(this[_0x982ae3(0x4f8)]);return this['_activeSaveTaskMap'][_0x982ae3(0x1fe)]((_0x3f5f5c,_0x6e1939)=>{const _0x4ba129=_0x982ae3;_0x2f4d13[_0x4ba129(0x4ac)](_0x6e1939)||_0x2f4d13['set'](_0x6e1939,0x0);}),_0x2f4d13;}[_0x49e248(0x224)](){const _0x30cd36=_0x49e248;this[_0x30cd36(0x43c)]||(super[_0x30cd36(0x224)](),this['_disabled']=!0x0,this[_0x30cd36(0x2e3)]()[_0x30cd36(0x1e4)](_0x29e83b=>this['_logService']['error'](_0x29e83b)));}async[_0x49e248(0x44d)](_0x57e4e7,_0x4e3504){const _0x48bfb7=_0x49e248;if(this[_0x48bfb7(0x2be)])return null;let _0x3bf827=this[_0x48bfb7(0x369)](_0x4e3504),_0x54eecd=await this[_0x48bfb7(0x328)][_0x48bfb7(0x497)]((0x0,_0x1134b1['getLocalCacheKey'])(_0x57e4e7,_0x3bf827));return(_0x54eecd==null?void 0x0:_0x54eecd[_0x48bfb7(0x337)])===_0x57e4e7&&this[_0x48bfb7(0x392)](_0x54eecd[_0x48bfb7(0x256)])===_0x3bf827?_0x54eecd:null;}async[_0x49e248(0x206)](_0x4a1ef7,_0x13c36d,_0x49c342){const _0x49abb6=_0x49e248;let _0x30d0e4=this[_0x49abb6(0x369)](_0x49c342),_0x53433b=(0x0,_0x1134b1['getLocalCacheKey'])(_0x4a1ef7,_0x30d0e4),_0x5904a7=this[_0x49abb6(0x328)][_0x49abb6(0x3d8)](_0x53433b,{..._0x13c36d,'unitID':_0x4a1ef7,'userId':_0x30d0e4});return this[_0x49abb6(0x242)](_0x53433b,_0x5904a7),!!await _0x5904a7;}async['backupOfflineData'](_0xa78489,_0x1d1793,_0x4fcd3c){const _0x3b2a44=_0x49e248;let _0x4b4d34=this['_getUserId'](_0x4fcd3c),_0x3db54b=(0x0,_0x1134b1[_0x3b2a44(0x441)])(_0xa78489,_0x4b4d34),_0x3d4d33=this[_0x3b2a44(0x4cd)][_0x3b2a44(0x3e3)](_0x3db54b)??await this['_localStorageService'][_0x3b2a44(0x497)](_0x3db54b);if(!_0x3d4d33||this[_0x3b2a44(0x392)](_0x3d4d33[_0x3b2a44(0x256)])!==_0x4b4d34||_0x3d4d33['unitID']!==_0xa78489)return;let _0x246d96=Date['now'](),_0x2d4178=new Date(_0x246d96)[_0x3b2a44(0x1b7)]();await this[_0x3b2a44(0x328)]['setItem'](_0x3db54b+_0x3b2a44(0x3e0)+_0x246d96,{'reason':_0x1d1793,'createdAt':_0x2d4178,'data':_0x3d4d33});}async[_0x49e248(0x333)](_0x2be8eb,_0x30a19b){const _0x16e789=_0x49e248;let _0x564d9c=this[_0x16e789(0x369)](_0x30a19b),_0x1cb1a5=(0x0,_0x1134b1[_0x16e789(0x441)])(_0x2be8eb,_0x564d9c),_0x19244e=this[_0x16e789(0x4f8)][_0x16e789(0x3e3)](_0x1cb1a5);_0x19244e!==void 0x0&&(window[_0x16e789(0x473)](_0x19244e),this[_0x16e789(0x4f8)]['delete'](_0x1cb1a5));let _0x20be0e=this[_0x16e789(0x500)][_0x16e789(0x3e3)](_0x1cb1a5);_0x20be0e&&await Promise[_0x16e789(0x42c)](_0x20be0e),this[_0x16e789(0x4cd)][_0x16e789(0x489)](_0x1cb1a5),await this[_0x16e789(0x328)]['removeItem'](_0x1cb1a5);}[_0x49e248(0x465)](_0x554f05,_0x5d76df,_0xabbfbb,_0x1097c6,_0x11cc04){const _0x260d02=_0x49e248;if(this['_disposed'])return;let _0x15c91b=this[_0x260d02(0x369)](_0x11cc04),_0x13964b=(0x0,_0x1134b1[_0x260d02(0x441)])(_0x554f05,_0x15c91b),_0x5c680d=this[_0x260d02(0x281)][_0x260d02(0x3e6)](_0x554f05);this[_0x260d02(0x4cd)]['set'](_0x13964b,{'unitID':_0x554f05,'userId':_0x15c91b,'type':_0x5d76df,'awaitingChangeset':_0xabbfbb,'mutations':_0x1097c6,'rev':_0x5c680d}),this[_0x260d02(0x4f8)]['has'](_0x13964b)||this[_0x260d02(0x2ee)](_0x13964b);}[_0x49e248(0x369)](_0xea8d9d=((()=>{const _0x332b52=_0x49e248;var _0x355a34;return(_0x355a34=this[_0x332b52(0x218)][_0x332b52(0x3e4)]())==null?void 0x0:_0x355a34['userID'];})())){return this['_normalizeUserId'](_0xea8d9d);}[_0x49e248(0x392)](_0x2823c1){return _0x2823c1===''||_0x2823c1==null?void 0x0:_0x2823c1;}[_0x49e248(0x2ee)](_0x4ca023){const _0x3bb0d6=_0x49e248;let _0x310f10=this[_0x3bb0d6(0x4cf)]();_0x310f10===0x0?this[_0x3bb0d6(0x1cc)](_0x4ca023)[_0x3bb0d6(0x1e4)](_0xb5cd11=>this['_logService'][_0x3bb0d6(0x4d2)](_0xb5cd11)):this[_0x3bb0d6(0x4f8)][_0x3bb0d6(0x345)](_0x4ca023,window[_0x3bb0d6(0x2f8)](()=>{const _0x4bd393=_0x3bb0d6;this[_0x4bd393(0x1cc)](_0x4ca023)[_0x4bd393(0x1e4)](_0x119436=>this[_0x4bd393(0x30a)][_0x4bd393(0x4d2)](_0x119436));},_0x310f10));}[_0x49e248(0x4cf)](){const _0x1fc85b=_0x49e248;return this['_configService'][_0x1fc85b(0x2ac)](_0x1134b1[_0x1fc85b(0x43e)])??_0x1134b1[_0x1fc85b(0x3dd)];}[_0x49e248(0x1cc)](_0x22414f){const _0xb674e6=_0x49e248;let _0x12eb09=this[_0xb674e6(0x4f8)][_0xb674e6(0x3e3)](_0x22414f);_0x12eb09!==void 0x0&&window['clearTimeout'](_0x12eb09);let _0x5d2755=this[_0xb674e6(0x4cd)]['get'](_0x22414f);if(!_0x5d2755)return Promise[_0xb674e6(0x44f)]();let _0x4df50e=this[_0xb674e6(0x500)][_0xb674e6(0x3e3)](_0x22414f),_0x4f0e48=Promise['allSettled'](_0x4df50e?[..._0x4df50e]:[])[_0xb674e6(0x25c)](()=>this['_localStorageService']['setItem'](_0x22414f,_0x5d2755))[_0xb674e6(0x25c)](()=>{const _0x345a7c=_0xb674e6;_0x12eb09!==void 0x0&&this['_saveTaskMap'][_0x345a7c(0x3e3)](_0x22414f)===_0x12eb09&&(this[_0x345a7c(0x4f8)][_0x345a7c(0x489)](_0x22414f),!this['_disposed']&&this[_0x345a7c(0x4cd)][_0x345a7c(0x3e3)](_0x22414f)!==_0x5d2755&&this[_0x345a7c(0x2ee)](_0x22414f));});return this[_0xb674e6(0x242)](_0x22414f,_0x4f0e48),_0x4f0e48;}[_0x49e248(0x242)](_0x5c9385,_0x2674d5){const _0x3d617a=_0x49e248;let _0x52ee2e=this[_0x3d617a(0x500)][_0x3d617a(0x3e3)](_0x5c9385);_0x52ee2e||(_0x52ee2e=new Set(),this[_0x3d617a(0x500)][_0x3d617a(0x345)](_0x5c9385,_0x52ee2e)),_0x52ee2e[_0x3d617a(0x4a9)](_0x2674d5);let _0x33ffba=()=>{const _0x1d1bf3=_0x3d617a;_0x52ee2e['delete'](_0x2674d5),_0x52ee2e[_0x1d1bf3(0x454)]===0x0&&this[_0x1d1bf3(0x500)][_0x1d1bf3(0x489)](_0x5c9385);};_0x2674d5[_0x3d617a(0x25c)](_0x33ffba,_0x33ffba);}async[_0x49e248(0x2e3)](){const _0x5651f3=_0x49e248;let _0x344486=[...this[_0x5651f3(0x4f8)][_0x5651f3(0x3d1)]()]['map'](_0x1d4c19=>this[_0x5651f3(0x1cc)](_0x1d4c19));for(let _0x46f584 of this['_activeSaveTaskMap'][_0x5651f3(0x1ef)]())_0x344486['push'](...[..._0x46f584][_0x5651f3(0x4f0)](_0x38c9ab=>_0x38c9ab['then'](()=>void 0x0)));await Promise['all'](_0x344486);}};_0x2306d0=_0x1403f0([_0x37fe1c(0x0,_0x583c0b[_0x49e248(0x479)]),_0x37fe1c(0x1,_0x583c0b['ILocalStorageService']),_0x37fe1c(0x2,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x3569c2[_0x49e248(0x48e)])),_0x37fe1c(0x3,_0x583c0b[_0x49e248(0x26a)]),_0x37fe1c(0x4,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x583c0b['UserManagerService']))],_0x2306d0);var _0x47ee93=class extends _0x583c0b[_0x49e248(0x330)]{get['online'](){const _0x59f0c1=_0x49e248;return this['_online$'][_0x59f0c1(0x4d3)]();}constructor(){const _0x572bbb=_0x49e248;super(),_0x30e4d4(this,'_online$',new _0x40bd7a[(_0x572bbb(0x2d8))](navigator['onLine'])),_0x30e4d4(this,_0x572bbb(0x20d),this[_0x572bbb(0x251)]['asObservable']()),this[_0x572bbb(0x3a6)](),this[_0x572bbb(0x3dc)]();}[_0x49e248(0x224)](){super['dispose'](),this['_online$']['complete']();}[_0x49e248(0x3dc)](){const _0x199a97=_0x49e248;this[_0x199a97(0x202)]((0x0,_0x40bd7a[_0x199a97(0x252)])((0x0,_0x40bd7a[_0x199a97(0x411)])(window,_0x199a97(0x1fb)),(0x0,_0x40bd7a[_0x199a97(0x411)])(document,_0x199a97(0x48b)),(0x0,_0x40bd7a['fromEvent'])(window,_0x199a97(0x3c4)),(0x0,_0x40bd7a[_0x199a97(0x411)])(document,'visibilitychange')[_0x199a97(0x4c9)]((0x0,_0x40bd7a['map'])(()=>document[_0x199a97(0x200)]===_0x199a97(0x3a0)),(0x0,_0x40bd7a[_0x199a97(0x28f)])(_0x5c9a06=>_0x5c9a06)))[_0x199a97(0x4c9)]((0x0,_0x40bd7a[_0x199a97(0x28f)])(()=>navigator[_0x199a97(0x4e9)]))[_0x199a97(0x26e)](()=>this[_0x199a97(0x251)][_0x199a97(0x2c6)](!0x0)));}[_0x49e248(0x3a6)](){const _0x156038=_0x49e248;this['disposeWithMe']((0x0,_0x40bd7a['merge'])((0x0,_0x40bd7a[_0x156038(0x411)])(window,_0x156038(0x325)),(0x0,_0x40bd7a[_0x156038(0x411)])(document,'freeze'))['subscribe'](()=>this['_online$'][_0x156038(0x2c6)](!0x1)));}};let _0xff6bc0=class extends _0x583c0b['Plugin']{constructor(_0x9e51dd=_0x1c5d34,_0x5f3894,_0x1bb5e1,_0x58bb60,_0x136fd4){const _0x41c198=_0x49e248;super(),this[_0x41c198(0x1bd)]=_0x9e51dd,this['_renderManagerService']=_0x5f3894,this[_0x41c198(0x51b)]=_0x1bb5e1,this[_0x41c198(0x3f8)]=_0x58bb60,this['_commandService']=_0x136fd4;let {..._0x32eb06}=(0x0,_0x583c0b['merge'])({},_0x1c5d34,this[_0x41c198(0x1bd)]);this[_0x41c198(0x3f8)]['setConfig'](_0x41c198(0x427),_0x32eb06);}[_0x49e248(0x2df)](){const _0x2eedf8=_0x49e248;this['_registerDependencies'](),this[_0x2eedf8(0x202)](this['_commandService']['registerCommand'](_0x4605c2)),this[_0x2eedf8(0x299)]();}[_0x49e248(0x3c8)](){const _0x2b8d1c=_0x49e248;this[_0x2b8d1c(0x2d7)]();}[_0x49e248(0x3da)](){const _0x1d0fe1=_0x49e248;var _0x592447;let _0x43c11e=[[_0x5dac64],[_0x55fd99['ISocketService'],{'useClass':_0x55fd99[_0x1d0fe1(0x2b2)]}],[_0x1134b1[_0x1d0fe1(0x355)],{'useClass':_0x2306d0}],[_0x1134b1[_0x1d0fe1(0x239)],{'useClass':_0x47ee93}],[_0x1559f7],[_0xb0932f],[_0x5c57cd],[_0x4698fb],[_0x70594e]];this['_config']['enableDocumentCollaborationUI']!==!0x1&&_0x43c11e[_0x1d0fe1(0x4ce)]([_0x16800c],[_0x5caac0],[_0x25f5e8],[_0x24bfb8],[_0x38b01a],[_0x32e9dd]),this[_0x1d0fe1(0x1bd)][_0x1d0fe1(0x23e)]&&_0x43c11e[_0x1d0fe1(0x4ce)]([_0x2e0e89]),(0x0,_0x583c0b[_0x1d0fe1(0x1cb)])(this[_0x1d0fe1(0x51b)],(0x0,_0x583c0b[_0x1d0fe1(0x21e)])(_0x43c11e,(_0x592447=this[_0x1d0fe1(0x1bd)])==null?void 0x0:_0x592447['override']));}[_0x49e248(0x2d7)](){const _0x5263f5=_0x49e248;this[_0x5263f5(0x1bd)][_0x5263f5(0x44c)]!==!0x1&&this[_0x5263f5(0x202)](this[_0x5263f5(0x34a)]['registerRenderModule'](_0x583c0b[_0x5263f5(0x4b8)][_0x5263f5(0x233)],[_0x35125b])),this[_0x5263f5(0x202)](this[_0x5263f5(0x34a)]['registerRenderModule'](_0x583c0b['UniverInstanceType']['UNIVER_SHEET'],[_0x413740]));}[_0x49e248(0x299)](){const _0x28017b=_0x49e248;(0x0,_0x583c0b[_0x28017b(0x344)])(this[_0x28017b(0x51b)],[[_0x5c57cd],[_0x4698fb],[_0x1559f7],[_0xb0932f],[_0x70594e]]),this[_0x28017b(0x1bd)]['enableDocumentCollaborationUI']!==!0x1&&(0x0,_0x583c0b[_0x28017b(0x344)])(this[_0x28017b(0x51b)],[[_0x38b01a],[_0x32e9dd]]),this['_config'][_0x28017b(0x23e)]&&(0x0,_0x583c0b[_0x28017b(0x344)])(this['_injector'],[[_0x2e0e89]]);}};_0x30e4d4(_0xff6bc0,_0x49e248(0x1f7),_0x49e248(0x4f9)),_0x30e4d4(_0xff6bc0,_0x49e248(0x332),_0x2f9eb8),_0x30e4d4(_0xff6bc0,'version',_0x4c1ee6),_0xff6bc0=_0x1403f0([(0x0,_0x583c0b[_0x49e248(0x262)])(_0x356232[_0x49e248(0x3a3)],_0x574cdb['UniverDocsPlugin'],_0x1f114e['UniverRenderEnginePlugin'],_0x55fd99['UniverNetworkPlugin'],_0x3569c2[_0x49e248(0x3a4)],_0x594380[_0x49e248(0x4a5)],_0x1134b1['UniverCollaborationClientPlugin']),_0x37fe1c(0x1,_0x1f114e[_0x49e248(0x386)]),_0x37fe1c(0x2,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x583c0b[_0x49e248(0x1c5)])),_0x37fe1c(0x3,_0x583c0b[_0x49e248(0x479)]),_0x37fe1c(0x4,_0x583c0b[_0x49e248(0x24e)])],_0xff6bc0);let _0xecb884=class extends _0x1134b1['CollaborationSocketService']{constructor(_0x4b037f,_0x2f849c,_0x1a7819,_0xd6385,_0x1886a9){const _0x10709c=_0x49e248;super(_0x4b037f,_0x2f849c,_0x1a7819,_0xd6385,_0x1886a9),_0x30e4d4(this,_0x10709c(0x356),new _0x40bd7a[(_0x10709c(0x38e))]()),this[_0x10709c(0x202)](()=>{const _0x1602fd=_0x10709c;this[_0x1602fd(0x356)][_0x1602fd(0x2c6)](),this[_0x1602fd(0x356)]['complete']();});}async[_0x49e248(0x4d4)](_0x34a8f1){const _0xd2a802=_0x49e248;let _0x2d0e1c=await this[_0xd2a802(0x3cc)](),_0x46ca58=this[_0xd2a802(0x23d)](_0x34a8f1,_0x2d0e1c);return this[_0xd2a802(0x478)](_0x46ca58);}[_0x49e248(0x23d)](_0x129c8e,_0x95d393){const _0x53a427=_0x49e248;let _0x85f1fa=typeof window>'u'?new URL(_0x129c8e):new URL(_0x129c8e,window[_0x53a427(0x1f4)][_0x53a427(0x394)]);_0x85f1fa['searchParams'][_0x53a427(0x345)](_0x53a427(0x2e1),_0x95d393);let _0x25fdfd=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x53a427(0x1f4)][_0x53a427(0x3ef)]);return _0x25fdfd[_0x53a427(0x3e3)](_0x53a427(0x395))&&_0x85f1fa[_0x53a427(0x1f5)]['set'](_0x53a427(0x395),_0x25fdfd[_0x53a427(0x3e3)](_0x53a427(0x395))),_0x85f1fa[_0x53a427(0x4db)]();}async[_0x49e248(0x3cc)](){const _0x2138c3=_0x49e248;var _0x5ac87d;let _0x3fe28c=this[_0x2138c3(0x3f8)]['getConfig'](_0x1134b1[_0x2138c3(0x391)]),_0x3f357a=(_0x3fe28c==null?void 0x0:_0x3fe28c[_0x2138c3(0x488)])??_0x1134b1['DEFAULT_WS_SESSION_TICKET_URL'];return((_0x5ac87d=(await(0x0,_0x40bd7a[_0x2138c3(0x331)])(this[_0x2138c3(0x28b)][_0x2138c3(0x3aa)](_0x2138c3(0x1ea),_0x3f357a,{'headers':{'Content-Type':_0x2138c3(0x22e)}})[_0x2138c3(0x4c9)]((0x0,_0x40bd7a[_0x2138c3(0x28f)])(_0x1ddedc=>_0x1ddedc[_0x2138c3(0x26d)]===_0x55fd99[_0x2138c3(0x2dc)][_0x2138c3(0x360)]),(0x0,_0x40bd7a[_0x2138c3(0x39b)])(0x4e20),(0x0,_0x40bd7a[_0x2138c3(0x374)])(this[_0x2138c3(0x356)]))))[_0x2138c3(0x50f)])==null?void 0x0:_0x5ac87d['ticket'])??'';}};_0xecb884=_0x1403f0([_0x37fe1c(0x0,(0x0,_0x583c0b['Inject'])(_0x583c0b[_0x49e248(0x1c5)])),_0x37fe1c(0x1,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x55fd99['HTTPService'])),_0x37fe1c(0x2,_0x583c0b[_0x49e248(0x479)]),_0x37fe1c(0x3,_0x583c0b[_0x49e248(0x26a)]),_0x37fe1c(0x4,_0x3569c2['ISnapshotServerService'])],_0xecb884);let _0x279a22=class extends _0x583c0b[_0x49e248(0x330)]{constructor(_0x2a945a,_0x63beec,_0x47fac5){const _0x2adf44=_0x49e248;super(),this[_0x2adf44(0x38b)]=_0x2a945a,this[_0x2adf44(0x28b)]=_0x63beec,this['_configService']=_0x47fac5;}async[_0x49e248(0x4e7)](_0x534459,_0x8b3c0b,_0x34e657,..._0x547644){const _0x3de567=_0x49e248;let _0x5e4dd4=this[_0x3de567(0x38b)]['getFocusedUnit']();if(!_0x5e4dd4)throw Error(_0x3de567(0x3d0));let _0x261bd9=(this[_0x3de567(0x3f8)]['getConfig'](_0x1134b1[_0x3de567(0x4c6)])??_0x1134b1[_0x3de567(0x30d)])+'/'+_0x534459+_0x3de567(0x3ed)+_0x8b3c0b,_0x3c486a={'scriptId':_0x534459,'runId':new URL(window[_0x3de567(0x1f4)]['href'])[_0x3de567(0x1f5)][_0x3de567(0x3e3)]('runId')??'','function':_0x8b3c0b,'unitId':_0x5e4dd4[_0x3de567(0x375)](),'argsOfFunction':JSON[_0x3de567(0x21f)](_0x547644),'invokeId':_0x34e657[_0x3de567(0x2bf)]??'','executionId':_0x34e657[_0x3de567(0x2ab)]??''};try{let _0x3ff352=await this[_0x3de567(0x28b)]['post'](_0x261bd9,{'body':_0x3c486a});return _0x3ff352[_0x3de567(0x50f)][_0x3de567(0x4d2)]&&_0x3ff352[_0x3de567(0x50f)][_0x3de567(0x4d2)]['code']!==_0x52ba28[_0x3de567(0x2cc)]['OK']?_0x3de567(0x4d0):_0x3ff352[_0x3de567(0x50f)]['result'];}catch{return _0x3de567(0x4d0);}}};_0x279a22=_0x1403f0([_0x37fe1c(0x0,_0x583c0b[_0x49e248(0x4cc)]),_0x37fe1c(0x1,(0x0,_0x583c0b[_0x49e248(0x371)])(_0x55fd99['HTTPService'])),_0x37fe1c(0x2,_0x583c0b[_0x49e248(0x479)])],_0x279a22);let _0x441902=0x7530,_0x3f17da=_0x49e248(0x47f);var _0x284721=class extends _0x583c0b[_0x49e248(0x330)]{constructor(){const _0x1c367c=_0x49e248;super(),_0x30e4d4(this,'_id',(0x0,_0x583c0b['generateRandomId'])()),_0x30e4d4(this,_0x1c367c(0x3b8),new Set()),_0x30e4d4(this,_0x1c367c(0x503),new Map()),_0x30e4d4(this,_0x1c367c(0x27d),null),_0x30e4d4(this,_0x1c367c(0x477),new Map()),_0x30e4d4(this,'_unitStatus',new Map()),this[_0x1c367c(0x3e1)]();}[_0x49e248(0x224)](){const _0x4f0ba2=_0x49e248;super['dispose'](),this[_0x4f0ba2(0x477)]['forEach']((_0x33ad29,_0x1245bc)=>this['_removeClearOtherTimer'](_0x1245bc)),this[_0x4f0ba2(0x27d)]&&window[_0x4f0ba2(0x2e0)](this[_0x4f0ba2(0x27d)]);}[_0x49e248(0x48f)](_0x44c088){const _0x2767ce=_0x49e248;return this[_0x2767ce(0x420)](_0x44c088)[_0x2767ce(0x4c9)]((0x0,_0x40bd7a[_0x2767ce(0x343)])());}[_0x49e248(0x4ee)](_0x3e92ae){const _0x470c37=_0x49e248;this[_0x470c37(0x3b8)][_0x470c37(0x454)]===0x0&&this[_0x470c37(0x38d)](),this[_0x470c37(0x3b8)][_0x470c37(0x4a9)](_0x3e92ae),this[_0x470c37(0x2fb)]({'type':0x0,'memberID':this[_0x470c37(0x36d)],'unitIDs':[_0x3e92ae],'isForwarded':!0x1});}[_0x49e248(0x235)](_0x1e366b){const _0x20df70=_0x49e248;this[_0x20df70(0x3b8)][_0x20df70(0x489)](_0x1e366b),this[_0x20df70(0x3b8)][_0x20df70(0x454)]===0x0&&this[_0x20df70(0x27d)]&&window[_0x20df70(0x2e0)](this[_0x20df70(0x27d)]);}[_0x49e248(0x3e1)](){const _0x5a8f56=_0x49e248;this[_0x5a8f56(0x202)]((0x0,_0x583c0b[_0x5a8f56(0x292)])((0x0,_0x40bd7a[_0x5a8f56(0x411)])(window,_0x5a8f56(0x2ce))[_0x5a8f56(0x26e)](_0x19df81=>{const _0x19b4ed=_0x5a8f56;if(_0x19df81['key']!==_0x3f17da||!_0x19df81[_0x19b4ed(0x283)])return;let _0x5e5489=JSON[_0x19b4ed(0x43f)](_0x19df81[_0x19b4ed(0x283)]);this[_0x19b4ed(0x265)](_0x5e5489);}))),window[_0x5a8f56(0x1f1)](_0x5a8f56(0x267),()=>this[_0x5a8f56(0x2fb)]({'type':0x1,'memberID':this[_0x5a8f56(0x36d)],'unitIDs':Array[_0x5a8f56(0x4ea)](this['_selfUnitIDs'])}));}[_0x49e248(0x265)](_0x43ebd7){const _0x1fd91a=_0x49e248;switch(_0x43ebd7[_0x1fd91a(0x26d)]){case 0x0:this[_0x1fd91a(0x3b2)](_0x43ebd7);break;case 0x1:this[_0x1fd91a(0x499)](_0x43ebd7);break;case 0x2:this[_0x1fd91a(0x2cb)](_0x43ebd7);}}['_handleJoinEvent'](_0x1dd7ca){const _0x4a3817=_0x49e248;let {unitIDs:_0xa80505,memberID:_0x972d2d,isForwarded:_0x3ae9af}=_0x1dd7ca;_0xa80505[_0x4a3817(0x1fe)](_0x3abc5c=>{const _0x38c3d8=_0x4a3817;if(!_0x3ae9af&&this['_unitOnClients']['has'](_0x3abc5c)&&this['_ensureSubject'](_0x3abc5c)[_0x38c3d8(0x2c6)](_0x1134b1[_0x38c3d8(0x3a8)][_0x38c3d8(0x21d)]),!this[_0x38c3d8(0x503)][_0x38c3d8(0x4ac)](_0x3abc5c)||!this[_0x38c3d8(0x503)][_0x38c3d8(0x3e3)](_0x3abc5c)['has'](_0x972d2d)){let _0x4f932d=this[_0x38c3d8(0x503)][_0x38c3d8(0x3e3)](_0x3abc5c)||new Set();_0x4f932d[_0x38c3d8(0x4a9)](_0x972d2d),this[_0x38c3d8(0x503)][_0x38c3d8(0x345)](_0x3abc5c,_0x4f932d),this[_0x38c3d8(0x482)](_0x972d2d);}}),_0x3ae9af||this['_send']({'type':0x0,'memberID':this[_0x4a3817(0x36d)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x49e248(0x482)](_0xaf6f2e){const _0x2730d7=_0x49e248;this[_0x2730d7(0x3bf)](_0xaf6f2e);let _0x1f56c2=window[_0x2730d7(0x2f8)](()=>{const _0x1ab708=_0x2730d7;this[_0x1ab708(0x503)][_0x1ab708(0x1fe)](_0x2431af=>{const _0xcd38c4=_0x1ab708;_0x2431af[_0xcd38c4(0x489)](_0xaf6f2e);});},_0x441902*0x2);this[_0x2730d7(0x477)][_0x2730d7(0x345)](_0xaf6f2e,_0x1f56c2);}['_removeClearOtherTimer'](_0x35e03d){const _0x2799fe=_0x49e248;if(this[_0x2799fe(0x477)][_0x2799fe(0x4ac)](_0x35e03d)){let _0x4b11dc=this[_0x2799fe(0x477)]['get'](_0x35e03d);_0x4b11dc&&window[_0x2799fe(0x473)](_0x4b11dc),this[_0x2799fe(0x477)]['set'](_0x35e03d,null);}}[_0x49e248(0x499)](_0x54abf4){const _0x4d8cf9=_0x49e248;let {memberID:_0x10c0f6,unitIDs:_0x5689c9}=_0x54abf4;_0x5689c9[_0x4d8cf9(0x1fe)](_0x255bb9=>{const _0x146651=_0x4d8cf9;var _0xd3a8cd;let _0x4721a4=this[_0x146651(0x503)][_0x146651(0x3e3)](_0x255bb9);_0x4721a4&&(_0x4721a4[_0x146651(0x489)](_0x10c0f6),(_0xd3a8cd=this['_ensureSubject'](_0x255bb9))==null||_0xd3a8cd['next'](_0x4721a4[_0x146651(0x454)]===0x0?_0x1134b1[_0x146651(0x3a8)][_0x146651(0x52a)]:_0x1134b1[_0x146651(0x3a8)][_0x146651(0x21d)]));}),this['_removeClearOtherTimer'](_0x10c0f6);}[_0x49e248(0x2cb)](_0x264de5){const _0x4fe5a6=_0x49e248;this[_0x4fe5a6(0x482)](_0x264de5['memberID']);}['_send'](_0x574eaa){const _0x19b13c=_0x49e248;localStorage[_0x19b13c(0x3d8)](_0x3f17da,JSON[_0x19b13c(0x21f)](_0x574eaa));}[_0x49e248(0x38d)](){const _0x35eb8b=_0x49e248;this[_0x35eb8b(0x27d)]=window[_0x35eb8b(0x4b2)](()=>{const _0x50ba23=_0x35eb8b;this[_0x50ba23(0x2fb)]({'type':0x2,'memberID':this[_0x50ba23(0x36d)]});},_0x441902);}[_0x49e248(0x420)](_0x29f9a9){const _0x303770=_0x49e248;return this[_0x303770(0x474)][_0x303770(0x4ac)](_0x29f9a9)||this[_0x303770(0x474)][_0x303770(0x345)](_0x29f9a9,new _0x40bd7a['BehaviorSubject'](_0x1134b1[_0x303770(0x3a8)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x303770(0x474)][_0x303770(0x3e3)](_0x29f9a9);}};Object[_0x49e248(0x468)](_0x47ea75,_0x49e248(0x376),{'enumerable':!0x0,'get':function(){return _0xecb884;}}),Object[_0x49e248(0x468)](_0x47ea75,_0x49e248(0x341),{'enumerable':!0x0,'get':function(){return _0x1559f7;}}),Object[_0x49e248(0x468)](_0x47ea75,_0x49e248(0x2ed),{'enumerable':!0x0,'get':function(){return _0x279a22;}}),_0x47ea75['SheetCollabCursorShape']=_0x4f7e7d,Object[_0x49e248(0x468)](_0x47ea75,_0x49e248(0x3b0),{'enumerable':!0x0,'get':function(){return _0xff6bc0;}}),_0x47ea75[_0x49e248(0x21b)]=_0x284721;}));