@univerjs-pro/collaboration-client-ui 1.1.0 → 1.3.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.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.css +4 -0
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/config/config.d.ts +3 -3
- package/lib/types/controllers/collaboration-client-ui.controller.d.ts +29 -3
- package/lib/types/controllers/snapshot-loading/snapshot-loading.controller.d.ts +2 -6
- package/lib/types/index.d.ts +0 -1
- package/lib/types/locale/en-US.d.ts +10 -0
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ar-SA.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/de-DE.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/id-ID.js +1 -1
- package/lib/umd/locale/it-IT.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/pl-PL.js +1 -1
- package/lib/umd/locale/pt-BR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/sk-SK.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-HK.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -18
- package/lib/types/controllers/data-loader/data-loader.controller.d.ts +0 -17
- package/lib/types/services/url/url.service.d.ts +0 -12
- package/lib/types/services/url/web-url.service.d.ts +0 -10
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x1778(){const _0x5d3a2e=['isTransformMutationsWithChangesetSuccess','RemoveColCommandId','tableSource','setConfig','tooltipKey','dispose','react','_updateURLWithCurrentState','with','NOT_COLLAB','_stopBlinking','getTypeOfUnitDisposed$','translate(.97)','content','save','_memberID','_initialized','show','getDocumentSkeletonColumnPagePathInfo','entries','univer-m-0\x20univer-p-0','exports','invokeId','defineProperty','rgb',':backup:','handleIRemoveCol','@univerjs/ui','_handleJoinEvent','_context','DeleteRangeMoveUpCommandId','transform','_scene','collaboration-client-ui.conflict.processing','UniverDocsUi','@univerjs-pro/collaboration-client-ui','getCoordByCell','runRefRangeMutations','onMouseMove','newValue','key','FOOTER','handleInsertCol','pipe','userId','_isDisposed','_showText','collaboration-client-ui.collabClient.tooltip.reconnect','length','imageSourceType','offline','doc.mutation.rich-text-editing','complete','roomMembers$','toStringTag','_docClipboardService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Error','_startDocCollabCursor','_ensureSubject','DocSelectionManagerService','rxjs','27gbhMZn','Module','_retryingConflictCacheUnitIDs','Warning','right','AWAITING','clickable','_updateCollabCursors','baseVal','_getSaveTimeout','getCurrentSkeleton','useLayoutEffect','join','ISnapshotServerService','HTTPEventType','has','RefRangeService','_collaborationSessionService','small','unitID','M0\x200H16V16H0z','saveOfflineData','getConfig','collaboration-client-ui.collabStatus.conflict','default','RxDisposable','addObject','onTransformChange$','history','@univerjs/engine-render','IUIPartsService','syncEditingCollabCursor','Disposable','_getUserId','handleInsertRangeMoveDown','SOCKET_FAILED','_send','timedOut','mask','_startEntity','LOCAL_CACHE_INTERVAL','_getScale','_adapterRegistry','_transformPreviousActiveRange','\x20-\x20','connectInjector','pushState','dispose$','getTypeOfUnitAdded$','localName','backupOfflineData','reason','CollaborationController','fill','mutations','@univerjs/docs','isFinite','_showConflictCacheClearFailedNotification','runOnServer','highlightSecond','_startSheetCollabCursor','resize','_saveTaskMap','toPrimitive','columnIndex','CONFLICT','_labelHorizontalPosition','_initPresenceStatusComponents','toString','subscribeEvent','_updateLocalCursor','lineno','unitId','getActiveSheet','_initEntityListener','_setupSubUnitSync','9kByRbw','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','ONLINE','UniverRenderEnginePlugin','_removeClearOtherTimer','[CollaborationDataLoaderController]','object','selection','operators','_docTransformStateCacheService','_handleHeartbeatEvent','isActive','DocCollaborationEntity','_revisionService','RemoteUniscriptService','hovered','disposeWithMe','\x20at\x20','useObservable','appliedStrokeWidth','DesktopCollaborationStatusDisplayController','_userManagerService','TEXT_RANGE_LAYER_INDEX','getCurrentSelections','OTHER_CLIENT_EDITING','#0B9EFB','CONFLICT_PROCESSING','resolve','UniverDocsPlugin','decorate','UniverInstanceType','timeoutState$','Inject','remove','exhaustSavingTask','_getSessionTicket','ISocketService','evenodd','_name','mergeOverrideWithDependencies','0\x200\x2016\x2016','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','@univerjs/docs-ui','columnGroupId','3201910NAFcHB','collaboration-client-ui.conflict.content','CollaborationEvent','getUnit','IImageIoService','_shapes','_registerDependencies','arc','use','querySelectorAll','RichTextEditingMutation','isEditing','univer-flex\x20univer-items-center\x20univer-justify-center','touchDependencies','@univerjs/design','keys','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','name','setShapeProps','IRenderManagerService','_listenToOfflineEvent','_cursorInfo$','setTimeout','serializeRangeWithSheet','onPointerEnter$','getAllUnitsForType','onStarting','UserManagerService','_initWindowErrorListener','_beforeCloseService','SYNCED','stringify','sessionStatus$','requireSession','application/json','DataLoaderService','href','executionId','_injector','distinctUntilChanged','focusedId','univer-text-gray-400','pageIndex','clear','push','next','clearInterval','saveTaskMap','color','getUnitId','flatMap','[RemoteUniscriptService]:\x20no\x20focused\x20unit','from','PERMISSION_DENIED','green.600','Failed','span','createSocket','CONFLICT_CACHE_CLEAR_FAILED','_registerPresenceStatusComponent','!univer-m-0\x20univer-col-start-2\x20univer-row-start-2\x20univer-justify-self-end','_disposeEntity','_toggleOnline','type','collaboration-client-ui.conflict.title','UniverProCollaborationClient','result','_retryConflictCacheClear','_doCreateSocket','Subject','DeleteRangeMoveLeftCommandId','_snapshotLoadingService','purple.300','collaboration-client-ui.conflict.retry','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','icon','cursorInfo$','_collaborationController','executeCommand','SheetSkeletonManagerService','presenceKind','height','error','getCurrentUnitOfType','getParam','status','@univerjs-pro/collaboration-client','startOffset','focused$','_localeService','React','observe','row','restore','bottom','InsertRangeMoveRightCommandId','0\x200\x2017\x2016','roomMembers','sheetId','_range','_sheetSkeletonManagerService','SheetsSelectionsService',',\x200.2)','BuiltInUIPart','_scheduleSaving','_initUserListener','highlight','getUnhiddenWorksheets','univer-h-8\x20univer-w-8\x20univer-rounded-lg','_hovered','_clearTimeoutState','forEach','primary','defs','transformIMECache','_cursorShapes','_getLighterColor','_initResize','viewBox','_bindAdapter','Enter','strokeOpacity','focus','EffectRefRangId','pulse','transformMutationsWithChangeset','UnitStatus','Vector2','_blinkTimer','rgba','_uiPartsService','popstate','RECT','loadUnit','LOCAL_CACHE_INTERVAL_KEY','SetTextSelectionsOperation','visibilityState','_blockProgressWatches','snapshot-loading-timeout','getScrollXYInfoByViewport','_scheduleClearOtherTimer','SessionStatus','memberID','removeItem','collaboration-client-ui.collabStatus.synced','urlChange$','catch','MemberService','11uweYsG','Rectangle','string','collaboration-client-ui.session.connection-failed','VIEW_MAIN','params','constructor','sessionTicket','slice','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','TRANSFORM_CHANGE_OBSERVABLE_TYPE','Tools','1598270eMYSsS','ICommandService','DocIMEInputManagerService','getMemberID','target','parse','_cachedData','_startBlinking','_httpService','SetSelectionsOperation','collaboration-client-ui.config','prepareTransformSelections','eventID','storage','i18nKey','polite','triggerDblclick','element','firstValueFrom','subunit','_docSelectionManagerService','displayName','_session','SUBMIT_CHANGESET_TIMEOUT','_logService','selectedIds','CollaborationUIEventService','collaboration-client-ui.permission.content','_hideTimer','registerRenderModule','_activeSaveTaskMap','backgroundColor','add','switchMap','refreshLabel','OffLineIcon','blue.400','black','_notificationService','Button','max','getPropertyPriority','WebBrowserSingleActiveUnitService','UniverDocsUIPlugin','clipPath','all','_eventUnsubscribe','UniverProLicense','_status$','editingUnit','status$','3114852IvImzF','@univerjs-pro/license','_colorIndex','dark:focus:!univer-ring-offset-gray-800','colorChannel1','getRangePointData','CollaborationUIEventId','@univerjs/sheets','pointer','engine','debug','forwardRef','_adapter','children','reconnect','HTTPService','function','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_draw','_registerRenderDependencies','priority','stroke','_conflictNotification','_initStatusComponent','getSheetObject','_unitOnClients','bold\x2013px\x20Arial,\x20sans-serif','setParam','OnLineIcon','_collaborationUIEventService','useDependency','getSkeleton','SetDocZoomRatioOperation','map','BehaviorSubject','_scheduleHeartbeat','style','fillText','_themeService','collaboration-client-ui.session.collaboration-timeout','svg','_docSyncEditingCollabCursorService','packageName','onCommandExecuted','measureText','UniverProtocol','MessageType','throttle','indicator','jiqing.500','getFocusedUnit','round','_listenToOnlineEvent','univer-text-blue-500','getItem','_dispose$','tableId','onLine','_config','asObservable','_handleLeaveEvent','SOCKET_FAILED_RETRY','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','parseInt','startsWith','m1Prime','collaboration-client-ui.session.will-retry','white','createInstance','stroke-width','unhandledrejection','SetWorksheetActivateCommand','getLocalPresence','transformStateCache','collaboration-client-ui.operation.update-remote-unit-presence','getSheetId','socket$','visibilitychange','fillRule','_online$','online$','jsx','univerjs-icon\x20univerjs-icon-','debounce','setOffsetY','enableDocumentCollaborationUI','_syncAdapters','_removeRemotePresence','UniverNetworkPlugin','_dataLoaderService','_collabSessionService','debounceTime','contains','registerCommand','clearTimeout','defIds','wsSessionTicketUrl','text','HEADER_MENU','_id','setStateCache','createElement','_transformUndoRedoStack','registerRefRange','_latestStates','_isBlinkVisible','isArray','red.300','_blinkIntervalTimer','SheetCollabCursorShape','_watchBlockProgress','getLocalCacheKey','_replaceConflictNotification','INetworkConditionService','_refreshCollabCursors','_selfUnitIDs','Injector','unit','tag','univer-text-red-500','handleDeleteRangeMoveLeft','_clearOtherTimers','_backgroundColor','univer-text-orange-500','disableLocalCache','_handleHover','getAncestorScale','on-line-icon_clip0_910_349','Tooltip','column','colno','_hover','FromArray','/run/','_getAnchorBounding','toDisposable','searchParams','_refRangeService','NO_OTHER_CLIENTS_EDITING','Rect','hasAttribute','UniverCollaborationClientUIPlugin','_urlService','min','getCurrentTypeOfUnit$','getViewport','_textBubble','_unitStatus','jsxs','_docStateChangeManagerService','DocSkeletonManagerService','_disposeEntitiesForType','_assignedColors','every','search','_docTransformIMECacheService','_configService','onPointerLeave$','_anchorDot','useRef','_labelPosition','symbol','_color','ILocalCacheService','static','body','find','statusUIPart','runId','fromEventSubject','UniverLicensePlugin','IUniverInstanceService','IBeforeCloseService','collaboration-client-ui.permission.title','top','1656654GGunkv','OTHER_CLIENTS_EDITING','textRanges','ranges','_timeoutState$','CollaborationSocketService','_setupBeforeClosingHandler','font','timeout','updateOfflineData','_sendLocalPresence','_createSocketURL','showText','getCurrentUser','getValue','@univerjs/engine-formula','UniverUi','_collabCursorController','7eSCbPf','set','_transformHistoryAndStateStack','getSheetBySheetId','GLOBAL','InsertRangeMoveDownCommandId','unitType','saveImage','0.2)','/universer-api/frontend/logs','fromEvent','8266rmYHRW','setItem','range','ColorKit','removeProperty','_lastPointer','CollaborationStatus','DocumentSkeletonPageType','allSettled','_init','DEFAULT_WS_SESSION_TICKET_URL','ACTIVE_UNIT_EVENT_CHANNEL','totalBlocks','IConfigService','_monkeyPatchLogService','4GHOlQJ','size','lineTo','collaboration-client-ui.snapshotLoading.timeout','amd','_presenceStatusRegistrations','combineLatest','delete','_commandService','INotificationService','data','visible','univer-appearance-none','handleIRemoveRow','call','_removeCollabCursors','HEADER','_drawTextRange','UNIVER_DOC','Response','url(#on-line-icon_clip0_910_349)','endColumn','_trackActiveSaveTask','attrs','deepClone','_docTransformSelectionsService','labelHorizontalPosition','UniverEngineRender','unload','ErrorCode','adapters$','ILogService','!univer-grid\x20univer-grid-cols-[16px_minmax(0,1fr)]\x20univer-items-start\x20univer-gap-x-1.5\x20univer-gap-y-2','current','getMember','fillStyle','getCollabCursors$','_highlightSecond','collabCursorState$','kind','removeAttribute','_clearBlockProgressWatch','DocStateChangeManagerService','version','SHEET_VIEWPORT_KEY','init','_cursors','_onCursorDelete','COMPLETE','m2Prime','url(#$1','drawWith','collaboration-client-ui.collabStatus.syncing','toISOString','_localStorageService','enableLocalCache','mapTo','UniverIcon','transformMutation','clsx','transformByState','getRenderUnitById','useMemo','selections','idSuffix','Loading','_presenceAdapterRegistry','button','JOIN_ROOM_FAILED','_localCacheService','startColumn','isInternalEditorID','collab-rect-range-','IUnitPresenceUIAdapterRegistry','loading-multi-icon','_onCursorUpdate','message','transformRemoteChangeset','enableUrlUnitLoader','filter','_handleCursorUpdate','subUnitId','_transformService','registerComponent','UniverDocs','includes','isReleased','ThemeService','_uploadLog','endRow','now','univer-inline-flex\x20univer-items-center\x20univer-justify-center','_messageService','stack','_cursor','merge','post','_handleEvent','canRenderAnchor','activeSheet$','xlink:href','unshift','findNodePositionByCharIndex','univer-text-green-500','OPERATION','_getMergeRange','_updateMessage','_isVisibleUnit','_toggleOffline','_syncEditingCollabCursorService','stream','DisposableCollection','_roomMembers$','COLORS','enableFrontendLog','TEXT','onPointerMove$','true','CommandType','update','rgba(255,\x20255,\x20255,\x200.01)','InsertRowCommandId','[Unhandled\x20Rejection]:\x20','collaboration-client-ui.collaboration.closeRoom','collaboration-client-ui.collaboration.single-unit.warning','DependentOn','unsubscribe','toRgbString','getStateCache','yellow.400','takeUntil','some','clearRemotePresences','split','getColorFromTheme','left','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','_initEvent','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','rxjs/operators','none','DOC_RANGE_TYPE','LocaleService','spin','replace','getUnitStatus$','_highlight','assignAColorForMemberID','value','_memberService','iterator','path','preventDefault','addObjects','_pendingEntities','getPropertyValue','RegularPolygon','_imageIoService','originalStrokeWidth','_colorAssignService','off-line-icon','SnapshotLoadStage','shareInterval','_normalizeUserId','_onRefRangeChange','_render','_syncPresenceStatusComponents','values','bind','1809928gydIUx','getCurrentRevOfUnit','_disposed','pageType','UniverDesign','Unknown\x20user','div','online','cursorInfo','on-line-icon','rgba(','prototype','USERS_LEAVE','timer','collaboration-client-ui.conflict.clearFailed','parseFloat','_offsetY','getUndoRedoMutationParamsCache','handleDeleteRangeMoveUp','_clearRemotePresences','assign','UPDATE_CURSOR','_document','40947sSFKyM','@univerjs/sheets-ui','_docSkeletonManagerService','ITransformService','get','stage','hadStyleAttribute','then','state','UniverSheets','_messageIds','isTransformMutationFailure','redoState','_online','filename','_disabled','_initUnhandledRejectionListener','1em','PENDING','_entities','generateRandomId','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','undoState','getSelectionInfo','_pointerMoveDisposable','collaboration-client-ui.snapshotLoading.refresh','_showConflictProcessingNotification','entityInit$','_heartbeatTimer','_collabCursorState$','addEventListener','UniverNetwork','currentSkeleton$','IMessageService','AWAITING_WITH_PENDING','clearOfflineData','...','_renderManagerService','CollaborationSessionService','options','collaboration-client-ui.collabStatus.notCollab','_entityInit$','location','_saveCache','width','getColor','event$','Shape','_univerInstanceService','_anchor','send','univer-transition-all\x20univer-duration-200','setAlpha','RemoveRowCommandId','number','_adapterDisposables','useCallback','collaboration-client-ui.collaboration.offline-data-not-saved','removeEventListener','offsetY','handleInsertRangeMoveRight','trim','strokeWidth','loadedBlocks','canRenderSelection','_initDependencies','UniverProCollaborationClientUi','getBoundingClientRect','http://www.w3.org/2000/svg','LoadingMultiIcon','subscribe','reload','UNIVER_SHEET','createIdentifier','getOwnPropertyDescriptor','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN'];_0x1778=function(){return _0x5d3a2e;};return _0x1778();}function _0x4a49(_0x349812,_0x2a66dc){_0x349812=_0x349812-0x12f;const _0x177859=_0x1778();let _0x4a49bf=_0x177859[_0x349812];return _0x4a49bf;}(function(_0x388612,_0x5054a6){const _0x291a05=_0x4a49,_0x4687ce=_0x388612();while(!![]){try{const _0x1a4fac=-parseInt(_0x291a05(0x3cc))/0x1*(parseInt(_0x291a05(0x273))/0x2)+parseInt(_0x291a05(0x342))/0x3*(-parseInt(_0x291a05(0x282))/0x4)+parseInt(_0x291a05(0x174))/0x5+parseInt(_0x291a05(0x256))/0x6*(-parseInt(_0x291a05(0x268))/0x7)+-parseInt(_0x291a05(0x32b))/0x8*(-parseInt(_0x291a05(0x418))/0x9)+-parseInt(_0x291a05(0x444))/0xa*(-parseInt(_0x291a05(0x168))/0xb)+-parseInt(_0x291a05(0x1a7))/0xc;if(_0x1a4fac===_0x5054a6)break;else _0x4687ce['push'](_0x4687ce['shift']());}catch(_0x568c7e){_0x4687ce['push'](_0x4687ce['shift']());}}}(_0x1778,0x3216e),function(_0x563a2a,_0xe8e7e3){const _0x10895a=_0x4a49;typeof exports==_0x10895a(0x41e)&&typeof module<'u'?_0xe8e7e3(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==_0x10895a(0x1b7)&&define[_0x10895a(0x286)]?define([_0x10895a(0x3a3),_0x10895a(0x49a),'@univerjs/core',_0x10895a(0x3a9),_0x10895a(0x3cb),_0x10895a(0x30d),_0x10895a(0x452),_0x10895a(0x394),'react/jsx-runtime','@univerjs-pro/collaboration',_0x10895a(0x1a8),_0x10895a(0x403),_0x10895a(0x442),_0x10895a(0x3e9),'@univerjs/network',_0x10895a(0x265),_0x10895a(0x1ae),_0x10895a(0x343),'@univerjs/protocol'],_0xe8e7e3):(_0x563a2a=typeof globalThis<'u'?globalThis:_0x563a2a||self,_0xe8e7e3(_0x563a2a[_0x10895a(0x384)]={},_0x563a2a[_0x10895a(0x485)],_0x563a2a['UniverCore'],_0x563a2a[_0x10895a(0x266)],_0x563a2a[_0x10895a(0x3cb)],_0x563a2a[_0x10895a(0x3cb)][_0x10895a(0x420)],_0x563a2a[_0x10895a(0x32f)],_0x563a2a['React'],_0x563a2a[_0x10895a(0x49e)],_0x563a2a['UniverProCollaboration'],_0x563a2a[_0x10895a(0x1a3)],_0x563a2a[_0x10895a(0x2d6)],_0x563a2a[_0x10895a(0x3b0)],_0x563a2a[_0x10895a(0x29d)],_0x563a2a[_0x10895a(0x361)],_0x563a2a['UniverEngineFormula'],_0x563a2a[_0x10895a(0x34b)],_0x563a2a['UniverSheetsUi'],_0x563a2a[_0x10895a(0x1d4)]));}(this,function(_0x5b900e,_0x4fec95,_0x8bfe94,_0x33531c,_0x453e23,_0x17567c,_0x393571,_0x3b05b3,_0x11f80d,_0x2c6827,_0x2630f9,_0x4de23f,_0x8affde,_0x18d7e0,_0x38ec4a,_0x47ec9b,_0x5c7e8a,_0x481211,_0x1e0ab0){const _0x27c760=_0x4a49;Object['defineProperty'](_0x5b900e,Symbol[_0x27c760(0x3c4)],{'value':_0x27c760(0x3cd)});function _0x18925e({ref:_0x582b6d,..._0x24070e}){const _0x89da35=_0x27c760;let {preserveStrokeWidth:_0x40667c,icon:_0x5cb2ca,id:_0x15bdd4,className:_0x159d2c,extend:_0xa2f244,..._0x468a6b}=_0x24070e,_0x167148=(_0x89da35(0x1f9)+_0x15bdd4+'\x20'+(_0x159d2c||''))[_0x89da35(0x37f)](),_0x376c0a='_'+(0x0,_0x3b05b3['useId'])(),_0x460a29=(0x0,_0x3b05b3[_0x89da35(0x246)])(null);return(0x0,_0x3b05b3['useImperativeHandle'])(_0x582b6d,()=>_0x460a29[_0x89da35(0x2a3)]),(0x0,_0x3b05b3[_0x89da35(0x3d7)])(()=>{const _0x43fd44=_0x89da35;if(_0x40667c&&_0x460a29[_0x43fd44(0x2a3)]&&_0x460a29[_0x43fd44(0x2a3)][_0x43fd44(0x3fd)]===_0x5cb2ca[_0x43fd44(0x21d)])return _0xe9abb2(_0x460a29['current']);},[_0x40667c,_0x5cb2ca]),_0x589e65(_0x5cb2ca,''+_0x15bdd4,{'defIds':_0x5cb2ca[_0x89da35(0x206)],'idSuffix':_0x376c0a},{'ref':_0x460a29,'className':_0x167148,..._0x468a6b},_0xa2f244);}function _0x589e65(_0x31d459,_0x5a4afc,_0x321425,_0x22089d,_0x50e141){const _0x120f81=_0x27c760;return(0x0,_0x3b05b3[_0x120f81(0x20c)])(_0x31d459[_0x120f81(0x21d)],{'key':_0x5a4afc,..._0x2fa435(_0x31d459,_0x321425,_0x50e141),..._0x22089d},(_0xa42a8c(_0x31d459,_0x321425)[_0x120f81(0x1b4)]||[])[_0x120f81(0x1c8)]((_0x317578,_0x30338e)=>_0x589e65(_0x317578,_0x5a4afc+'-'+_0x31d459['tag']+'-'+_0x30338e,_0x321425,void 0x0,_0x50e141)));}function _0x2fa435(_0x2f6e5b,_0x3e4ddb,_0x18a816){const _0x4ff00b=_0x27c760;let _0x55632a={..._0x2f6e5b[_0x4ff00b(0x299)]};_0x18a816!=null&&_0x18a816[_0x4ff00b(0x1ab)]&&_0x55632a[_0x4ff00b(0x401)]===_0x4ff00b(0x1ab)&&(_0x55632a[_0x4ff00b(0x401)]=_0x18a816[_0x4ff00b(0x1ab)]),_0x18a816!=null&&_0x18a816[_0x4ff00b(0x1ab)]&&_0x55632a[_0x4ff00b(0x1bc)]===_0x4ff00b(0x1ab)&&(_0x55632a[_0x4ff00b(0x1bc)]=_0x18a816[_0x4ff00b(0x1ab)]),_0x2f6e5b[_0x4ff00b(0x21d)]===_0x4ff00b(0x3f2)&&_0x55632a['id']&&(_0x55632a['id']+=_0x3e4ddb[_0x4ff00b(0x2c2)]),Object[_0x4ff00b(0x3a1)](_0x55632a)[_0x4ff00b(0x143)](([_0x30d0db,_0x509155])=>{const _0x37d51e=_0x4ff00b;_0x30d0db===_0x37d51e(0x3f2)&&typeof _0x509155==_0x37d51e(0x16a)&&(_0x55632a[_0x30d0db]=_0x509155[_0x37d51e(0x312)](/url\(#(.*)\)/,_0x37d51e(0x2b4)+_0x3e4ddb[_0x37d51e(0x2c2)]+')'));});let {defIds:_0xa99a15}=_0x3e4ddb;return!_0xa99a15||_0xa99a15[_0x4ff00b(0x3be)]===0x0||(_0x2f6e5b['tag']===_0x4ff00b(0x44c)&&_0x55632a[_0x4ff00b(0x2e6)]&&(_0x55632a['xlink:href']+=_0x3e4ddb[_0x4ff00b(0x2c2)]),Object[_0x4ff00b(0x3a1)](_0x55632a)['forEach'](([_0x2f82e4,_0x2f71e0])=>{const _0x217ac1=_0x4ff00b;typeof _0x2f71e0=='string'&&(_0x55632a[_0x2f82e4]=_0x2f71e0['replace'](/url\(#(.*)\)/,_0x217ac1(0x2b4)+_0x3e4ddb[_0x217ac1(0x2c2)]+')'));})),_0x55632a;}function _0xa42a8c(_0x2b7372,_0xc163a6){const _0x301261=_0x27c760;var _0x13a3bd;let {defIds:_0x397814}=_0xc163a6;return!_0x397814||_0x397814[_0x301261(0x3be)]===0x0?_0x2b7372:_0x2b7372[_0x301261(0x21d)]==='defs'&&(_0x13a3bd=_0x2b7372[_0x301261(0x1b4)])!=null&&_0x13a3bd[_0x301261(0x3be)]?{..._0x2b7372,'children':_0x2b7372[_0x301261(0x1b4)][_0x301261(0x1c8)](_0x577274=>typeof _0x577274[_0x301261(0x299)]['id']==_0x301261(0x16a)&&_0x397814&&_0x397814[_0x301261(0x2d7)](_0x577274[_0x301261(0x299)]['id'])?{..._0x577274,'attrs':{..._0x577274[_0x301261(0x299)],'id':_0x577274['attrs']['id']+_0xc163a6[_0x301261(0x2c2)]}}:_0x577274)}:_0x2b7372;}function _0xe9abb2(_0x237b37){const _0x2790df=_0x27c760;let _0x1e5c76=_0x237b37[_0x2790df(0x14a)][_0x2790df(0x3d4)],_0x11f391=Math[_0x2790df(0x19c)](_0x1e5c76[_0x2790df(0x36e)],_0x1e5c76[_0x2790df(0x495)]);if(!Number['isFinite'](_0x11f391)||_0x11f391<=0x0||_0x1e5c76[_0x2790df(0x36e)]<=0x0||_0x1e5c76[_0x2790df(0x495)]<=0x0)return()=>void 0x0;let _0x2951ae=0x10/_0x11f391,_0x240d2d=Array[_0x2790df(0x478)](_0x237b37[_0x2790df(0x44d)](_0x2790df(0x357)))[_0x2790df(0x476)](_0x156699=>{const _0x23f6ee=_0x2790df;let _0x5e0822=getComputedStyle(_0x156699),_0x17d013=Number[_0x23f6ee(0x33a)](_0x5e0822['strokeWidth']);return _0x5e0822['stroke']===_0x23f6ee(0x30e)||Number[_0x23f6ee(0x33a)](_0x5e0822[_0x23f6ee(0x14d)])===0x0||_0x5e0822['vectorEffect']==='non-scaling-stroke'||!Number[_0x23f6ee(0x404)](_0x17d013)||_0x17d013<=0x0?[]:[{'element':_0x156699,'hadStyleAttribute':_0x156699[_0x23f6ee(0x233)](_0x23f6ee(0x1cb)),'originalStrokeWidth':_0x17d013,'strokeWidth':_0x5f1132(_0x156699[_0x23f6ee(0x1cb)],_0x23f6ee(0x1ec))}];})['map'](_0x28a4fc=>({'appliedStrokeWidth':null,'element':_0x28a4fc[_0x2790df(0x185)],'hadStyleAttribute':_0x28a4fc[_0x2790df(0x348)],'isReleased':!0x1,'originalStrokeWidth':_0x28a4fc['originalStrokeWidth'],'strokeWidth':_0x28a4fc[_0x2790df(0x380)]}));if(_0x240d2d['length']===0x0)return()=>void 0x0;let _0x47bf58=(_0x36090d,_0x56615a)=>{const _0x3ded6f=_0x2790df;if(_0x1e5c76[_0x3ded6f(0x36e)]<=0x0||_0x1e5c76[_0x3ded6f(0x495)]<=0x0||_0x36090d<=0x0||_0x56615a<=0x0)return;let _0x4067a2=Math[_0x3ded6f(0x236)](_0x36090d/_0x1e5c76[_0x3ded6f(0x36e)],_0x56615a/_0x1e5c76[_0x3ded6f(0x495)]);!Number[_0x3ded6f(0x404)](_0x4067a2)||_0x4067a2<=0x0||_0x240d2d['forEach'](_0x56bf31=>{const _0x90a781=_0x3ded6f;if(_0x56bf31[_0x90a781(0x2d8)])return;if(_0x56bf31[_0x90a781(0x42b)]!==null&&(_0x56bf31[_0x90a781(0x185)][_0x90a781(0x1cb)][_0x90a781(0x31d)]('stroke-width')!==_0x56bf31[_0x90a781(0x42b)]||_0x56bf31['element'][_0x90a781(0x1cb)][_0x90a781(0x19d)](_0x90a781(0x1ec))!==_0x56bf31['strokeWidth'][_0x90a781(0x1bb)])){_0x56bf31[_0x90a781(0x42b)]=null,_0x56bf31[_0x90a781(0x2d8)]=!0x0;return;}let _0x2bfb3f=_0x56bf31[_0x90a781(0x320)]*_0x2951ae/_0x4067a2,_0xa20d1=Number(_0x2bfb3f['toFixed'](0xc))+'px';_0x56bf31[_0x90a781(0x185)][_0x90a781(0x1cb)]['setProperty'](_0x90a781(0x1ec),_0xa20d1,_0x56bf31[_0x90a781(0x380)][_0x90a781(0x1bb)]),_0x56bf31[_0x90a781(0x42b)]=_0xa20d1;});},_0x1effb3=_0x237b37[_0x2790df(0x385)]();_0x47bf58(_0x1effb3[_0x2790df(0x36e)],_0x1effb3['height']);let _0x42f02f=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x531b8c=>{const _0x306600=_0x2790df;if(_0x531b8c[_0x306600(0x305)](_0x3951ef=>_0x3951ef[_0x306600(0x178)]===_0x237b37)){let _0x2261d9=_0x237b37[_0x306600(0x385)]();_0x47bf58(_0x2261d9['width'],_0x2261d9[_0x306600(0x495)]);}});return _0x42f02f==null||_0x42f02f[_0x2790df(0x12f)](_0x237b37),()=>{const _0x4a1efe=_0x2790df;_0x42f02f==null||_0x42f02f['disconnect'](),_0x240d2d[_0x4a1efe(0x143)](_0x36f813=>{const _0x2b852e=_0x4a1efe;_0x36f813[_0x2b852e(0x42b)]!==null&&(_0x3292d7(_0x36f813['element']['style'],'stroke-width',_0x36f813[_0x2b852e(0x42b)],_0x36f813[_0x2b852e(0x380)][_0x2b852e(0x1bb)],_0x36f813[_0x2b852e(0x380)]),!_0x36f813[_0x2b852e(0x348)]&&_0x36f813[_0x2b852e(0x185)][_0x2b852e(0x1cb)][_0x2b852e(0x3be)]===0x0&&_0x36f813[_0x2b852e(0x185)][_0x2b852e(0x2aa)](_0x2b852e(0x1cb)));});};}function _0x5f1132(_0x104ca3,_0x2de79b){const _0x225e8c=_0x27c760;return{'priority':_0x104ca3[_0x225e8c(0x19d)](_0x2de79b),'value':_0x104ca3[_0x225e8c(0x31d)](_0x2de79b)};}function _0x3292d7(_0x7ea7ec,_0x29abb1,_0x571947,_0x35f293,_0x36a0f0){const _0x431847=_0x27c760;_0x7ea7ec[_0x431847(0x31d)](_0x29abb1)===_0x571947&&_0x7ea7ec[_0x431847(0x19d)](_0x29abb1)===_0x35f293&&(_0x36a0f0[_0x431847(0x316)]?_0x7ea7ec['setProperty'](_0x29abb1,_0x36a0f0[_0x431847(0x316)],_0x36a0f0['priority']):_0x7ea7ec[_0x431847(0x277)](_0x29abb1));}_0x18925e[_0x27c760(0x189)]=_0x27c760(0x2bb);let _0x5c2cca={'tag':_0x27c760(0x1cf),'attrs':{'xmlns':_0x27c760(0x386),'fill':_0x27c760(0x30e),'viewBox':_0x27c760(0x440),'width':_0x27c760(0x353),'height':_0x27c760(0x353)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x27c760(0x319),'attrs':{'stroke':'currentColor','d':_0x27c760(0x30a),'strokeLinecap':_0x27c760(0x1da),'strokeLinejoin':_0x27c760(0x1da),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x27c760(0x319),'attrs':{'fill':_0x27c760(0x1ea),'d':_0x27c760(0x3e0)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x54efc5=(0x0,_0x3b05b3['forwardRef'])(function(_0x267ff1,_0x213964){const _0x47495d=_0x27c760;return(0x0,_0x3b05b3['createElement'])(_0x18925e,Object[_0x47495d(0x33f)]({},_0x267ff1,{'id':_0x47495d(0x322),'ref':_0x213964,'icon':_0x5c2cca}));});_0x54efc5['displayName']=_0x27c760(0x197);let _0x4c29cc={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x27c760(0x30e),'viewBox':_0x27c760(0x134),'width':'1em','height':_0x27c760(0x353)},'children':[{'tag':'g','attrs':{'clipPath':_0x27c760(0x296)},'children':[{'tag':_0x27c760(0x319),'attrs':{'stroke':'currentColor','d':_0x27c760(0x171),'strokeLinecap':'round','strokeLinejoin':_0x27c760(0x1da),'strokeWidth':1.2}}]},{'tag':_0x27c760(0x145),'attrs':{},'children':[{'tag':_0x27c760(0x1a0),'attrs':{'id':_0x27c760(0x226)},'children':[{'tag':_0x27c760(0x319),'attrs':{'fill':_0x27c760(0x1ea),'d':_0x27c760(0x3e0),'transform':_0x27c760(0x39a)}}]}]}],'defIds':[_0x27c760(0x226)]},_0x308e8=(0x0,_0x3b05b3['forwardRef'])(function(_0x5ac60b,_0x26b5ac){const _0x83ca65=_0x27c760;return(0x0,_0x3b05b3[_0x83ca65(0x20c)])(_0x18925e,Object[_0x83ca65(0x33f)]({},_0x5ac60b,{'id':_0x83ca65(0x334),'ref':_0x26b5ac,'icon':_0x4c29cc}));});_0x308e8[_0x27c760(0x189)]=_0x27c760(0x1c3);let _0x12c9c0={'tag':_0x27c760(0x1cf),'attrs':{'xmlns':_0x27c760(0x386),'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x27c760(0x353),'height':'1em'},'children':[{'tag':_0x27c760(0x319),'attrs':{'fill':'currentColor','d':_0x27c760(0x1e5),'fillRule':_0x27c760(0x43d),'clipRule':_0x27c760(0x43d)}}]},_0x147979=(0x0,_0x3b05b3[_0x27c760(0x1b2)])(function(_0x3f26be,_0x78e22e){const _0x3d36ad=_0x27c760;return(0x0,_0x3b05b3[_0x3d36ad(0x20c)])(_0x18925e,Object[_0x3d36ad(0x33f)]({},_0x3f26be,{'id':'warning-icon','ref':_0x78e22e,'icon':_0x12c9c0}));});_0x147979[_0x27c760(0x189)]='WarningIcon';let _0x3c97a6={'tag':_0x27c760(0x1cf),'attrs':{'xmlns':_0x27c760(0x386),'fill':'none','viewBox':_0x27c760(0x440),'width':'1em','height':'1em'},'children':[{'tag':_0x27c760(0x319),'attrs':{'fill':_0x27c760(0x431),'d':_0x27c760(0x419),'fillOpacity':0.2,'fillRule':_0x27c760(0x43d),'clipRule':_0x27c760(0x43d)}},{'tag':_0x27c760(0x319),'attrs':{'fill':_0x27c760(0x431),'d':_0x27c760(0x48e),'fillRule':'evenodd','clipRule':'evenodd'}}]},_0x2ce595=(0x0,_0x3b05b3[_0x27c760(0x1b2)])(function(_0x300de9,_0x573805){const _0x1ed919=_0x27c760;return(0x0,_0x3b05b3[_0x1ed919(0x20c)])(_0x18925e,Object['assign']({},_0x300de9,{'id':_0x1ed919(0x2cc),'ref':_0x573805,'icon':_0x3c97a6}));});_0x2ce595[_0x27c760(0x189)]=_0x27c760(0x387);function _0x2e4ba7(_0x50557e){const _0x370d90=_0x27c760;switch(_0x50557e){case _0x4fec95['CollaborationStatus']['OFFLINE']:return{'icon':(0x0,_0x11f80d[_0x370d90(0x1f8)])(_0x54efc5,{}),'colorClass':_0x370d90(0x21e),'i18nKey':'collaboration-client-ui.collabStatus.offline','tooltipKey':_0x370d90(0x3bd),'clickable':!0x0,'indicator':_0x370d90(0x24b)};case _0x4fec95[_0x370d90(0x279)][_0x370d90(0x40d)]:return{'icon':(0x0,_0x11f80d[_0x370d90(0x1f8)])(_0x54efc5,{}),'colorClass':_0x370d90(0x222),'i18nKey':_0x370d90(0x3e3),'clickable':!0x1,'indicator':_0x370d90(0x24b)};case _0x4fec95[_0x370d90(0x279)]['FETCH_MISS']:return{'icon':(0x0,_0x11f80d[_0x370d90(0x1f8)])(_0x2ce595,{}),'colorClass':_0x370d90(0x1dc),'i18nKey':'collaboration-client-ui.collabStatus.fetchMiss','clickable':!0x1,'indicator':_0x370d90(0x311)};case _0x4fec95[_0x370d90(0x279)][_0x370d90(0x397)]:return{'icon':(0x0,_0x11f80d[_0x370d90(0x1f8)])(_0x308e8,{}),'colorClass':_0x370d90(0x46d),'i18nKey':_0x370d90(0x36a),'clickable':!0x1,'indicator':'static'};case _0x4fec95[_0x370d90(0x279)][_0x370d90(0x3d1)]:case _0x4fec95[_0x370d90(0x279)][_0x370d90(0x364)]:return{'icon':(0x0,_0x11f80d[_0x370d90(0x1f8)])(_0x2ce595,{}),'colorClass':_0x370d90(0x1dc),'i18nKey':'collaboration-client-ui.collabStatus.syncing','clickable':!0x1,'indicator':_0x370d90(0x311)};case _0x4fec95[_0x370d90(0x279)][_0x370d90(0x354)]:return{'icon':(0x0,_0x11f80d['jsx'])(_0x2ce595,{}),'colorClass':_0x370d90(0x1dc),'i18nKey':_0x370d90(0x2b6),'clickable':!0x1,'indicator':_0x370d90(0x311)};case _0x4fec95[_0x370d90(0x279)][_0x370d90(0x462)]:return{'icon':(0x0,_0x11f80d['jsx'])(_0x308e8,{}),'colorClass':_0x370d90(0x2e9),'i18nKey':_0x370d90(0x164),'clickable':!0x1,'indicator':_0x370d90(0x24b)};}}function _0x5c4703(_0x229db4){const _0x15623c=_0x27c760;let {status$:_0x25b7ff}=_0x229db4,_0x4f3fa8=(0x0,_0x33531c['useObservable'])(_0x25b7ff,_0x4fec95[_0x15623c(0x279)]['NOT_COLLAB']),_0x4df3be=(0x0,_0x33531c[_0x15623c(0x1c5)])(_0x8bfe94[_0x15623c(0x310)]),_0xa0c223=(0x0,_0x33531c[_0x15623c(0x1c5)])(_0x4fec95[_0x15623c(0x368)]),_0x3b0c26=(0x0,_0x3b05b3[_0x15623c(0x2c0)])(()=>_0x2e4ba7(_0x4f3fa8),[_0x4f3fa8]),_0x4c8747=_0x4f3fa8!==_0x4fec95[_0x15623c(0x279)]['OFFLINE'],_0x583750=_0x4df3be['t'](_0x3b0c26[_0x15623c(0x182)]),_0x511753=_0x3b0c26[_0x15623c(0x392)]?_0x4df3be['t'](_0x3b0c26[_0x15623c(0x392)]):_0x583750,_0x2436fa=(0x0,_0x3b05b3[_0x15623c(0x37a)])(()=>{const _0x4ad311=_0x15623c;_0x4c8747||_0xa0c223[_0x4ad311(0x1b5)]();},[_0x4c8747,_0xa0c223]),_0x36fb7e=(0x0,_0x3b05b3[_0x15623c(0x37a)])(_0x3b51bd=>{const _0x362183=_0x15623c;!_0x4c8747&&(_0x3b51bd[_0x362183(0x3b6)]===_0x362183(0x14c)||_0x3b51bd[_0x362183(0x3b6)]==='\x20')&&(_0x3b51bd[_0x362183(0x31a)](),_0xa0c223[_0x362183(0x1b5)]());},[_0x4c8747,_0xa0c223]),_0x171363=(0x0,_0x11f80d[_0x15623c(0x1f8)])('span',{'className':(0x0,_0x393571[_0x15623c(0x2bd)])(_0x15623c(0x450),_0x15623c(0x441),_0x3b0c26['colorClass'],{'univer-animate-spin':_0x3b0c26[_0x15623c(0x1d7)]===_0x15623c(0x311),'univer-animate-pulse':_0x3b0c26['indicator']===_0x15623c(0x150)}),'aria-hidden':'true','children':_0x3b0c26[_0x15623c(0x48f)]}),_0x1ec80a=(0x0,_0x11f80d['jsx'])(_0x15623c(0x47c),{'className':(0x0,_0x393571[_0x15623c(0x2bd)])(_0x15623c(0x450),_0x15623c(0x140),_0x15623c(0x375),_0x15623c(0x30c),_0x15623c(0x1aa),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x3b0c26[_0x15623c(0x3d2)],'univer-cursor-default':!_0x3b0c26[_0x15623c(0x3d2)]}),'children':_0x171363});return _0x3b0c26[_0x15623c(0x3d2)]?(0x0,_0x11f80d[_0x15623c(0x1f8)])(_0x393571[_0x15623c(0x227)],{'title':_0x511753,'placement':_0x15623c(0x132),'children':(0x0,_0x11f80d[_0x15623c(0x1f8)])(_0x15623c(0x2c5),{'type':_0x15623c(0x2c5),'onClick':_0x2436fa,'onKeyDown':_0x36fb7e,'className':(0x0,_0x393571[_0x15623c(0x2bd)])(_0x15623c(0x2dd),'univer-border-none\x20univer-bg-transparent',_0x15623c(0x3a2),_0x15623c(0x28e)),'aria-label':_0x583750+_0x15623c(0x3f8)+_0x511753,'role':_0x15623c(0x499),'aria-live':_0x15623c(0x183),'aria-atomic':_0x15623c(0x2f7),'children':_0x1ec80a})}):(0x0,_0x11f80d[_0x15623c(0x1f8)])(_0x393571[_0x15623c(0x227)],{'title':_0x511753,'placement':_0x15623c(0x132),'children':(0x0,_0x11f80d[_0x15623c(0x1f8)])(_0x15623c(0x331),{'className':(0x0,_0x393571[_0x15623c(0x2bd)])(_0x15623c(0x2dd),'univer-border-none\x20univer-bg-transparent','univer-m-0\x20univer-p-0'),'aria-label':_0x583750,'role':_0x15623c(0x499),'aria-live':'polite','aria-atomic':'true','children':_0x1ec80a})});}function _0xebbe7b(_0xe9cfe5){'@babel/helpers - typeof';const _0x39027f=_0x27c760;return _0xebbe7b=typeof Symbol==_0x39027f(0x1b7)&&typeof Symbol[_0x39027f(0x318)]=='symbol'?function(_0x4b103e){return typeof _0x4b103e;}:function(_0x5b88de){const _0x40524b=_0x39027f;return _0x5b88de&&typeof Symbol=='function'&&_0x5b88de[_0x40524b(0x16e)]===Symbol&&_0x5b88de!==Symbol[_0x40524b(0x336)]?_0x40524b(0x248):typeof _0x5b88de;},_0xebbe7b(_0xe9cfe5);}function _0x55cb56(_0x1ec9db,_0xd261c0){const _0xc34014=_0x27c760;if(_0xebbe7b(_0x1ec9db)!=_0xc34014(0x41e)||!_0x1ec9db)return _0x1ec9db;var _0xdb592b=_0x1ec9db[Symbol[_0xc34014(0x40b)]];if(_0xdb592b!==void 0x0){var _0x3d956f=_0xdb592b[_0xc34014(0x290)](_0x1ec9db,_0xd261c0||_0xc34014(0x3e4));if(_0xebbe7b(_0x3d956f)!='object')return _0x3d956f;throw TypeError('@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.');}return(_0xd261c0===_0xc34014(0x16a)?String:Number)(_0x1ec9db);}function _0x319814(_0x1435a6){const _0x3507a8=_0x27c760;var _0xa6de20=_0x55cb56(_0x1435a6,_0x3507a8(0x16a));return _0xebbe7b(_0xa6de20)==_0x3507a8(0x248)?_0xa6de20:_0xa6de20+'';}function _0x589c09(_0x38c0fd,_0x385388,_0x16fefe){return(_0x385388=_0x319814(_0x385388))in _0x38c0fd?Object['defineProperty'](_0x38c0fd,_0x385388,{'value':_0x16fefe,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x38c0fd[_0x385388]=_0x16fefe,_0x38c0fd;}function _0x354fcf(_0x273599,_0xbea23e){return function(_0x271f56,_0x2c4fb5){_0xbea23e(_0x271f56,_0x2c4fb5,_0x273599);};}function _0x444f34(_0x5cc1ff,_0x2ca696,_0x2a6db1,_0x263003){const _0x259205=_0x27c760;var _0x3972ed=arguments[_0x259205(0x3be)],_0x182512=_0x3972ed<0x3?_0x2ca696:_0x263003===null?_0x263003=Object[_0x259205(0x38c)](_0x2ca696,_0x2a6db1):_0x263003,_0x2c9706;if(typeof Reflect=='object'&&typeof Reflect[_0x259205(0x435)]=='function')_0x182512=Reflect[_0x259205(0x435)](_0x5cc1ff,_0x2ca696,_0x2a6db1,_0x263003);else{for(var _0x20b3fb=_0x5cc1ff[_0x259205(0x3be)]-0x1;_0x20b3fb>=0x0;_0x20b3fb--)(_0x2c9706=_0x5cc1ff[_0x20b3fb])&&(_0x182512=(_0x3972ed<0x3?_0x2c9706(_0x182512):_0x3972ed>0x3?_0x2c9706(_0x2ca696,_0x2a6db1,_0x182512):_0x2c9706(_0x2ca696,_0x2a6db1))||_0x182512);}return _0x3972ed>0x3&&_0x182512&&Object[_0x259205(0x3a5)](_0x2ca696,_0x2a6db1,_0x182512),_0x182512;}let _0x111880=class extends _0x8bfe94[_0x27c760(0x3ec)]{constructor(_0x4dfdda,_0x58ad70,_0xa0c3c0,_0x155eac,_0x3f64d9){const _0xf640d3=_0x27c760;super(),this[_0xf640d3(0x372)]=_0x4dfdda,this['_injector']=_0x58ad70,this['_collaborationController']=_0xa0c3c0,this[_0xf640d3(0x156)]=_0x155eac,this[_0xf640d3(0x2c4)]=_0x3f64d9,_0x589c09(this,_0xf640d3(0x1a4),new _0x453e23[(_0xf640d3(0x1c9))](_0x4fec95['CollaborationStatus'][_0xf640d3(0x397)])),_0x589c09(this,_0xf640d3(0x287),new Map()),this['_initStatusComponent'](),this['_initStatusListener'](),this[_0xf640d3(0x40f)]();}[_0x27c760(0x393)](){const _0x4a81b8=_0x27c760;this[_0x4a81b8(0x287)][_0x4a81b8(0x143)](_0x1b5428=>_0x1b5428[_0x4a81b8(0x393)]()),this[_0x4a81b8(0x287)][_0x4a81b8(0x46f)](),this[_0x4a81b8(0x1a4)][_0x4a81b8(0x3c2)](),super[_0x4a81b8(0x393)]();}['_initStatusListener'](){const _0x3526be=_0x27c760;this[_0x3526be(0x428)]((0x0,_0x453e23[_0x3526be(0x2e1)])(this['_univerInstanceService'][_0x3526be(0x49c)],this['_univerInstanceService'][_0x3526be(0x237)](_0x8bfe94[_0x3526be(0x436)]['UNIVER_DOC']),this[_0x3526be(0x372)][_0x3526be(0x237)](_0x8bfe94[_0x3526be(0x436)][_0x3526be(0x38a)]))[_0x3526be(0x3b9)]((0x0,_0x17567c[_0x3526be(0x1c8)])(()=>_0x6ef9cb(this[_0x3526be(0x372)])),(0x0,_0x17567c[_0x3526be(0x46b)])(),(0x0,_0x453e23[_0x3526be(0x195)])(_0x5d211f=>_0x5d211f?this[_0x3526be(0x491)]['getCollabEntity$'](_0x5d211f):(0x0,_0x453e23['of'])(null)),(0x0,_0x453e23[_0x3526be(0x195)])(_0x44236b=>_0x44236b?_0x44236b[_0x3526be(0x1a6)]:(0x0,_0x453e23['of'])(_0x4fec95[_0x3526be(0x279)][_0x3526be(0x397)])))['subscribe'](_0x3aa46f=>{const _0x1ecae3=_0x3526be;this['_status$'][_0x1ecae3(0x471)](_0x3aa46f);}));}[_0x27c760(0x1be)](){const _0x29f71d=_0x27c760;this['disposeWithMe'](this['_uiPartsService'][_0x29f71d(0x2d5)](_0x33531c[_0x29f71d(0x13b)][_0x29f71d(0x209)],()=>(0x0,_0x33531c[_0x29f71d(0x3f9)])(_0x13531e({'status$':this['_status$'][_0x29f71d(0x1e2)]()}),this['_injector'])));}['_initPresenceStatusComponents'](){const _0x1088b8=_0x27c760;let _0x506d80=this[_0x1088b8(0x2c4)]['adapters$'][_0x1088b8(0x388)](_0x45343a=>{const _0x255778=_0x1088b8;this[_0x255778(0x328)](_0x45343a);});this['disposeWithMe']((0x0,_0x8bfe94[_0x1088b8(0x22e)])(()=>_0x506d80[_0x1088b8(0x300)]()));}['_syncPresenceStatusComponents'](_0x3e82ab){const _0x34fa04=_0x27c760;let _0x349120=new Map(_0x3e82ab['filter'](_0x2d7b89=>_0x2d7b89[_0x34fa04(0x24e)]!=null)[_0x34fa04(0x1c8)](_0x37fbc3=>[_0x37fbc3[_0x34fa04(0x26e)],_0x37fbc3]));this[_0x34fa04(0x287)][_0x34fa04(0x143)]((_0x570aac,_0x4e4025)=>{const _0x3b78fa=_0x34fa04;_0x349120[_0x3b78fa(0x3db)](_0x4e4025)||(_0x570aac[_0x3b78fa(0x393)](),this[_0x3b78fa(0x287)][_0x3b78fa(0x289)](_0x4e4025));}),_0x349120[_0x34fa04(0x143)]((_0x48b1c5,_0x537514)=>{const _0x33fbfb=_0x34fa04;this[_0x33fbfb(0x287)][_0x33fbfb(0x3db)](_0x537514)||this[_0x33fbfb(0x47f)](_0x48b1c5);});}[_0x27c760(0x47f)](_0x37b59f){const _0x4c0198=_0x27c760;let _0x1ab0ac=_0x37b59f[_0x4c0198(0x24e)];if(!_0x1ab0ac)return;let _0x5a52c3=new _0x8bfe94[(_0x4c0198(0x2f1))](),_0x1e81c6=new _0x453e23[(_0x4c0198(0x1c9))](_0x4fec95[_0x4c0198(0x279)][_0x4c0198(0x397)]);_0x5a52c3[_0x4c0198(0x194)]((0x0,_0x8bfe94[_0x4c0198(0x22e)])(()=>_0x1e81c6[_0x4c0198(0x3c2)]())),_0x5a52c3['add'](this[_0x4c0198(0x156)]['registerComponent'](_0x1ab0ac,()=>(0x0,_0x33531c['connectInjector'])(_0x13531e({'status$':_0x1e81c6[_0x4c0198(0x1e2)]()}),this[_0x4c0198(0x46a)])));let _0x22451e=this[_0x4c0198(0x372)][_0x4c0198(0x237)](_0x37b59f[_0x4c0198(0x26e)])['pipe']((0x0,_0x17567c[_0x4c0198(0x1c8)])(_0x3f0ff1=>(_0x3f0ff1==null?void 0x0:_0x3f0ff1[_0x4c0198(0x475)]())??null),(0x0,_0x17567c['distinctUntilChanged'])(),(0x0,_0x453e23['switchMap'])(_0x3920d7=>_0x3920d7?this[_0x4c0198(0x491)]['getCollabEntity$'](_0x3920d7):(0x0,_0x453e23['of'])(null)),(0x0,_0x453e23[_0x4c0198(0x195)])(_0x2f0ed7=>(_0x2f0ed7==null?void 0x0:_0x2f0ed7[_0x4c0198(0x1a6)])??(0x0,_0x453e23['of'])(_0x4fec95[_0x4c0198(0x279)][_0x4c0198(0x397)])))[_0x4c0198(0x388)](_0x183b12=>_0x1e81c6[_0x4c0198(0x471)](_0x183b12));_0x5a52c3[_0x4c0198(0x194)]((0x0,_0x8bfe94[_0x4c0198(0x22e)])(()=>_0x22451e[_0x4c0198(0x300)]())),this['_presenceStatusRegistrations'][_0x4c0198(0x269)](_0x37b59f[_0x4c0198(0x26e)],_0x5a52c3);}};_0x111880=_0x444f34([_0x354fcf(0x0,_0x8bfe94['IUniverInstanceService']),_0x354fcf(0x1,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x8bfe94[_0x27c760(0x21b)])),_0x354fcf(0x2,(0x0,_0x8bfe94['Inject'])(_0x4fec95[_0x27c760(0x400)])),_0x354fcf(0x3,_0x33531c[_0x27c760(0x3ea)]),_0x354fcf(0x4,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x33531c['IUnitPresenceUIAdapterRegistry']))],_0x111880);function _0x6ef9cb(_0x226dd6){const _0x518c79=_0x27c760;let _0x44fe84=_0x226dd6[_0x518c79(0x1d9)](),_0x5a34f7=_0x44fe84==null?void 0x0:_0x44fe84[_0x518c79(0x475)]();if(_0x5a34f7&&!(0x0,_0x8bfe94[_0x518c79(0x2c9)])(_0x5a34f7))return _0x5a34f7;let _0x368578=_0x226dd6[_0x518c79(0x497)](_0x8bfe94[_0x518c79(0x436)]['UNIVER_DOC']),_0xdb2799=_0x368578==null?void 0x0:_0x368578[_0x518c79(0x475)]();if(_0xdb2799&&!(0x0,_0x8bfe94[_0x518c79(0x2c9)])(_0xdb2799))return _0xdb2799;let _0x6b5eb9=_0x226dd6['getCurrentUnitOfType'](_0x8bfe94[_0x518c79(0x436)][_0x518c79(0x38a)]);if(_0x6b5eb9)return _0x6b5eb9['getUnitId']();let _0x48e40a=_0x226dd6[_0x518c79(0x45d)](_0x8bfe94['UniverInstanceType'][_0x518c79(0x294)])[_0x518c79(0x24d)](_0x7beb26=>!(0x0,_0x8bfe94[_0x518c79(0x2c9)])(_0x7beb26[_0x518c79(0x475)]()));return _0x48e40a?_0x48e40a['getUnitId']():null;}function _0x13531e(_0x125db9){let {status$:_0x4abbab}=_0x125db9;return function(){return(0x0,_0x11f80d['jsx'])(_0x5c4703,{'status$':_0x4abbab});};}var _0x14e91a=_0x27c760(0x3b1),_0x368deb='1.1.0';let _0x8a72b5={'id':_0x27c760(0x1f1),'type':_0x8bfe94[_0x27c760(0x2f8)][_0x27c760(0x2ea)],'handler':(_0x1a9dd2,_0x53b9ad)=>{const _0x1c0ddc=_0x27c760;let _0x247174=_0x1a9dd2[_0x1c0ddc(0x346)](_0x33531c[_0x1c0ddc(0x2cb)])[_0x1c0ddc(0x346)](_0x53b9ad[_0x1c0ddc(0x26e)]);if(!_0x247174)return!0x1;switch(_0x53b9ad[_0x1c0ddc(0x2f9)][_0x1c0ddc(0x483)]){case _0x1c0ddc(0x269):return _0x247174['setRemotePresence'](_0x53b9ad[_0x1c0ddc(0x2f9)][_0x1c0ddc(0x34a)]),!0x0;case _0x1c0ddc(0x439):return _0x247174['removeRemotePresence'](_0x53b9ad[_0x1c0ddc(0x2f9)]['unitId'],_0x53b9ad['update']['memberId']),!0x0;case _0x1c0ddc(0x46f):return _0x247174[_0x1c0ddc(0x306)](_0x53b9ad[_0x1c0ddc(0x2f9)][_0x1c0ddc(0x414)]),!0x0;default:return!0x1;}}},_0x102e64={},_0x5a1cf8=class extends _0x8bfe94[_0x27c760(0x3e5)]{constructor(_0x48da83,_0x248cc9){const _0x497421=_0x27c760;super(),this[_0x497421(0x3c5)]=_0x48da83,this['_imageIoService']=_0x248cc9,this['_init']();}['_init'](){const _0x47a679=_0x27c760;let _0x1254da=this;this[_0x47a679(0x428)](this[_0x47a679(0x3c5)]['addClipboardHook']({'onBeforePasteImage':async _0x4d1bf2=>{const _0x15cf17=_0x47a679;let _0x1563e2=await _0x1254da[_0x15cf17(0x31f)][_0x15cf17(0x26f)](_0x4d1bf2);return _0x1563e2?{'source':_0x1563e2['source'],'imageSourceType':_0x1563e2[_0x15cf17(0x3bf)]}:null;}}));}};_0x5a1cf8=_0x444f34([_0x354fcf(0x0,_0x8affde['IDocClipboardService']),_0x354fcf(0x1,_0x8bfe94[_0x27c760(0x448)])],_0x5a1cf8);let _0x5b3ab3=[_0x27c760(0x48c),_0x27c760(0x1d8),_0x27c760(0x47a),_0x27c760(0x212),_0x27c760(0x198),_0x27c760(0x303)];var _0x1642fa=class extends _0x8bfe94[_0x27c760(0x3ec)]{constructor(..._0x372c27){const _0x55619b=_0x27c760;super(..._0x372c27),_0x589c09(this,_0x55619b(0x23f),new Map()),_0x589c09(this,_0x55619b(0x1a9),0x0);}[_0x27c760(0x315)](_0x427f0c){const _0x1e59fb=_0x27c760;if(this[_0x1e59fb(0x23f)]['has'](_0x427f0c))return this[_0x1e59fb(0x23f)][_0x1e59fb(0x346)](_0x427f0c);let _0xa5fa7e=_0x5b3ab3[this['_colorIndex']];return this[_0x1e59fb(0x1a9)]=(this[_0x1e59fb(0x1a9)]+0x1)%_0x5b3ab3[_0x1e59fb(0x3be)],this['_assignedColors']['set'](_0x427f0c,_0xa5fa7e),_0xa5fa7e;}};function _0x4dc41c(_0x3949fd){const _0x2daec2=_0x27c760;let _0x13c09f='';for(let _0x6da1c0 of _0x3949fd){let {startOffset:_0x1f5d66,endOffset:_0x155df5,isActive:_0x1acd8d,rangeType:_0x532511,segmentId:_0x8a2808,segmentPage:_0xd93614}=_0x6da1c0;_0x13c09f[_0x2daec2(0x3be)]&&(_0x13c09f+=','),_0x13c09f+=_0x1f5d66+':'+_0x155df5+':'+(_0x1acd8d?'1':'0')+':'+_0x532511+':'+_0x8a2808+':'+_0xd93614;}return _0x13c09f;}function _0x1e078d(_0x5713a4){const _0x3ce8bf=_0x27c760;let _0x6cc4b8=_0x5713a4[_0x3ce8bf(0x307)](','),_0x4cfe4f=[];for(let _0x25a9e2 of _0x6cc4b8){let [_0xaa2ac,_0x134ae3,_0x536a86,_0x1bd017,_0x4416cf,_0x28976e]=_0x25a9e2[_0x3ce8bf(0x307)](':');_0x4cfe4f[_0x3ce8bf(0x470)]({'startOffset':Number(_0xaa2ac),'endOffset':Number(_0x134ae3),'collapsed':_0xaa2ac===_0x134ae3,'isActive':_0x536a86==='1','rangeType':_0x1bd017===_0x8bfe94[_0x3ce8bf(0x30f)][_0x3ce8bf(0x2f5)]?_0x8bfe94[_0x3ce8bf(0x30f)][_0x3ce8bf(0x2f5)]:_0x8bfe94[_0x3ce8bf(0x30f)][_0x3ce8bf(0x158)],'segmentId':typeof _0x4416cf=='string'?String(_0x4416cf):'','segmentPage':Number(_0x28976e??-0x1)});}return _0x4cfe4f[_0x3ce8bf(0x305)](_0x58210a=>_0x58210a[_0x3ce8bf(0x423)])||(_0x4cfe4f[0x0]['isActive']=!0x0),_0x4cfe4f;}var _0x461169=class extends _0x8bfe94['RxDisposable']{constructor(..._0x47dd2e){const _0x33649f=_0x27c760;super(..._0x47dd2e),_0x589c09(this,_0x33649f(0x35f),new _0x453e23[(_0x33649f(0x1c9))](null)),_0x589c09(this,_0x33649f(0x2a8),this[_0x33649f(0x35f)][_0x33649f(0x1e2)]());}[_0x27c760(0x3eb)](_0x4950ab){const _0x5658bc=_0x27c760;let {unitID:_0x47ee9c,memberID:_0x2da202,textRanges:_0x4a9c49}=_0x4950ab,_0x893bbf=_0x4dc41c(_0x4a9c49);if(_0x893bbf==='')return;let _0x5039d1={'unitID':_0x47ee9c,'memberID':_0x2da202,'selection':_0x893bbf};this[_0x5658bc(0x35f)][_0x5658bc(0x471)](_0x5039d1);}};let _0x4c77d6=class extends _0x8bfe94['RxDisposable']{get['cursorInfo'](){const _0x44fe25=_0x27c760;return this[_0x44fe25(0x459)][_0x44fe25(0x264)]();}get[_0x27c760(0x135)](){const _0x18ce8c=_0x27c760;return this[_0x18ce8c(0x2f2)]['getValue']();}constructor(_0x24e689,_0x27ae92,_0x5dafe9,_0x18c8c6,_0x4bf481,_0x83e764,_0x386ca5,_0x4d63c5,_0x313bed){const _0x466959=_0x27c760;super(),this[_0x466959(0x3df)]=_0x24e689,this[_0x466959(0x18a)]=_0x27ae92,this[_0x466959(0x46a)]=_0x5dafe9,this[_0x466959(0x321)]=_0x18c8c6,this[_0x466959(0x317)]=_0x4bf481,this[_0x466959(0x2ef)]=_0x83e764,this[_0x466959(0x2d4)]=_0x386ca5,this[_0x466959(0x372)]=_0x4d63c5,this[_0x466959(0x28a)]=_0x313bed,_0x589c09(this,_0x466959(0x34f),!0x1),_0x589c09(this,_0x466959(0x27c),!0x1),_0x589c09(this,_0x466959(0x459),new _0x453e23['BehaviorSubject'](new Map())),_0x589c09(this,_0x466959(0x490),this[_0x466959(0x459)][_0x466959(0x1e2)]()),_0x589c09(this,_0x466959(0x2f2),new _0x453e23[(_0x466959(0x1c9))]([])),_0x589c09(this,_0x466959(0x3c3),this[_0x466959(0x2f2)][_0x466959(0x3b9)]((0x0,_0x453e23['debounceTime'])(0x12c))),_0x589c09(this,'_updateLocalCursor',(0x0,_0x8bfe94[_0x466959(0x1fa)])(_0x33a3c5=>{const _0x341dd8=_0x466959;let _0x5c7430={'eventID':_0x2c6827[_0x341dd8(0x446)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x341dd8(0x177)](),'selection':_0x4dc41c(_0x33a3c5)}};this[_0x341dd8(0x18a)][_0x341dd8(0x374)](_0x5c7430,this['unitID']);},0x64));}[_0x27c760(0x393)](){const _0x292d52=_0x27c760;super[_0x292d52(0x393)](),this['_cursorInfo$'][_0x292d52(0x471)](new Map()),this[_0x292d52(0x459)]['complete'](),this[_0x292d52(0x2f2)][_0x292d52(0x471)]([]),this[_0x292d52(0x2f2)][_0x292d52(0x3c2)]();}[_0x27c760(0x2af)](){const _0x141f3f=_0x27c760;this[_0x141f3f(0x27c)]||(this[_0x141f3f(0x27c)]=!0x0,this[_0x141f3f(0x18a)]['sessionStatus$']['pipe']((0x0,_0x453e23['takeUntil'])(this[_0x141f3f(0x3fb)]))[_0x141f3f(0x388)](_0x2805bf=>{const _0x2e050d=_0x141f3f;_0x2805bf===_0x4fec95[_0x2e050d(0x161)][_0x2e050d(0x41a)]?this[_0x2e050d(0x482)]():this[_0x2e050d(0x2ee)]();}),this[_0x141f3f(0x18a)][_0x141f3f(0x370)][_0x141f3f(0x3b9)]((0x0,_0x453e23[_0x141f3f(0x304)])(this[_0x141f3f(0x3fb)]))[_0x141f3f(0x388)](_0x1765d6=>{const _0x55622f=_0x141f3f;let _0x4eb93c=_0x1765d6[_0x55622f(0x180)];_0x4eb93c===_0x2c6827[_0x55622f(0x446)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x1765d6),_0x4eb93c===_0x2c6827[_0x55622f(0x446)][_0x55622f(0x337)]&&this[_0x55622f(0x2b1)](_0x1765d6);}),this[_0x141f3f(0x428)](this['_commandService'][_0x141f3f(0x1d2)](_0x5232fd=>{const _0x3726fc=_0x141f3f;let _0x14547a=_0x5232fd[_0x3726fc(0x16d)];_0x14547a!=null&&this[_0x3726fc(0x34f)]&&_0x5232fd['id']===_0x4de23f[_0x3726fc(0x15b)]['id']&&_0x14547a[_0x3726fc(0x414)]===this[_0x3726fc(0x3df)]&&_0x14547a[_0x3726fc(0x44f)]===!0x1&&_0x14547a['ranges']['length']>0x0&&this[_0x3726fc(0x412)](_0x14547a['ranges']);})),this[_0x141f3f(0x2ef)][_0x141f3f(0x2a8)]['pipe']((0x0,_0x453e23[_0x141f3f(0x304)])(this['dispose$']))[_0x141f3f(0x388)](_0x3b6bbf=>{const _0xc00fca=_0x141f3f;if((_0x3b6bbf==null?void 0x0:_0x3b6bbf['unitID'])!==this['unitID'])return;let _0x57df39={'eventID':_0x2c6827[_0xc00fca(0x446)][_0xc00fca(0x340)],'data':_0x3b6bbf};this[_0xc00fca(0x2cd)](_0x57df39);}),this[_0x141f3f(0x428)](this[_0x141f3f(0x28a)][_0x141f3f(0x1d2)](_0x229c1f=>{const _0x74bff2=_0x141f3f;if(_0x229c1f['params']==null)return;let _0x541629=_0x229c1f[_0x74bff2(0x16d)];if(_0x229c1f['id']!==_0x4de23f[_0x74bff2(0x44e)]['id']||_0x541629[_0x74bff2(0x414)]!==this[_0x74bff2(0x3df)])return;let _0x596ff6={'id':_0x74bff2(0x3c1),'params':_0x541629},_0x55d985=this['cursorInfo'];for(let [_0x488a80,_0x5ecc94]of _0x55d985){let _0x2bfc85={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x74bff2(0x3df)],'actions':null,'textRanges':_0x5ecc94[_0x74bff2(0x259)]}},_0x231b4e=this[_0x74bff2(0x2d4)][_0x74bff2(0x2bc)](_0x596ff6,_0x2bfc85,!0x1);if((0x0,_0x2c6827[_0x74bff2(0x34d)])(_0x231b4e))throw _0x231b4e[_0x74bff2(0x496)];_0x55d985[_0x74bff2(0x269)](_0x488a80,{..._0x5ecc94,'ranges':_0x231b4e[_0x74bff2(0x2b3)][_0x74bff2(0x16d)]['textRanges']});}queueMicrotask(()=>{const _0x4757e7=_0x74bff2;this[_0x4757e7(0x459)][_0x4757e7(0x471)](_0x55d985);});})));}['_onCursorUpdate'](_0x577b6d){const _0x45c80f=_0x27c760;var _0x3cd57f;let {memberID:_0x4261f6,selection:_0x4219f0}=_0x577b6d[_0x45c80f(0x28c)],_0x178d33=_0x1e078d(_0x4219f0),_0x56f3c2=((_0x3cd57f=this[_0x45c80f(0x317)][_0x45c80f(0x2a4)](this[_0x45c80f(0x3df)],_0x4261f6))==null?void 0x0:_0x3cd57f[_0x45c80f(0x455)])??_0x45c80f(0x330),_0x62392a={'color':this['_colorAssignService'][_0x45c80f(0x315)](_0x4261f6),'name':_0x56f3c2,'ranges':_0x178d33},_0x44cace=this[_0x45c80f(0x333)];_0x44cace[_0x45c80f(0x269)](_0x4261f6,_0x62392a),this['_cursorInfo$'][_0x45c80f(0x471)](_0x44cace);}[_0x27c760(0x2b1)](_0x28ec50){const _0xf94017=_0x27c760;let {memberID:_0x2f0f13}=_0x28ec50[_0xf94017(0x28c)],_0xefe8e6=this[_0xf94017(0x333)];_0xefe8e6[_0xf94017(0x289)](_0x2f0f13),this[_0xf94017(0x459)][_0xf94017(0x471)](_0xefe8e6);}['_toggleOnline'](){const _0x50cce3=_0x27c760;var _0x442095;if(this['_online']=!0x0,((_0x442095=this[_0x50cce3(0x372)][_0x50cce3(0x1d9)]())==null?void 0x0:_0x442095['getUnitId']())!==this[_0x50cce3(0x3df)])return;let _0x4a6c27=this['_injector'][_0x50cce3(0x346)](_0x4de23f['DocSelectionManagerService'])['getDocRanges']();Array[_0x50cce3(0x211)](_0x4a6c27)&&_0x4a6c27[_0x50cce3(0x3be)]>0x0&&this[_0x50cce3(0x412)](_0x4a6c27);}[_0x27c760(0x2ee)](){const _0x2f3bff=_0x27c760;this[_0x2f3bff(0x34f)]=!0x1;}};_0x4c77d6=_0x444f34([_0x354fcf(0x2,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x8bfe94['Injector'])),_0x354fcf(0x3,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x1642fa)),_0x354fcf(0x4,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x4fec95[_0x27c760(0x167)])),_0x354fcf(0x5,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x461169)),_0x354fcf(0x6,_0x2c6827['ITransformService']),_0x354fcf(0x7,_0x8bfe94[_0x27c760(0x252)]),_0x354fcf(0x8,_0x8bfe94['ICommandService'])],_0x4c77d6);let _0x209191=()=>{let _0x2f5896=[],_0x50a757=!0x1;return _0x5e297d=>{_0x2f5896['push'](_0x5e297d),_0x50a757||(_0x50a757=!0x0,setTimeout(()=>{const _0x1913a4=_0x4a49;_0x2f5896[_0x1913a4(0x143)](_0x51afd9=>_0x51afd9()),_0x2f5896=[],_0x50a757=!0x1;}));};},_0x8ec788=class extends _0x8bfe94[_0x27c760(0x3e5)]{get[_0x27c760(0x333)](){const _0x2e249d=_0x27c760;return this[_0x2e249d(0x459)][_0x2e249d(0x264)]();}get['roomMembers'](){const _0x545361=_0x27c760;return this[_0x545361(0x2f2)][_0x545361(0x264)]();}constructor(_0x3ae598,_0x23ff1d,_0x39dffb,_0x3934d4,_0x43932a,_0x30dd80,_0x21dd75,_0x52140b){const _0x4787ef=_0x27c760;super(),this['unitID']=_0x3ae598,this[_0x4787ef(0x18a)]=_0x23ff1d,this[_0x4787ef(0x46a)]=_0x39dffb,this[_0x4787ef(0x321)]=_0x3934d4,this[_0x4787ef(0x317)]=_0x43932a,this['_univerInstanceService']=_0x30dd80,this['_commandService']=_0x21dd75,this[_0x4787ef(0x230)]=_0x52140b,_0x589c09(this,_0x4787ef(0x34f),!0x1),_0x589c09(this,'_init',!0x1),_0x589c09(this,_0x4787ef(0x459),new _0x453e23['BehaviorSubject'](new Map())),_0x589c09(this,_0x4787ef(0x490),this[_0x4787ef(0x459)][_0x4787ef(0x1e2)]()),_0x589c09(this,_0x4787ef(0x2f2),new _0x453e23[(_0x4787ef(0x1c9))]([])),_0x589c09(this,_0x4787ef(0x3c3),this[_0x4787ef(0x2f2)]['pipe']((0x0,_0x453e23[_0x4787ef(0x202)])(0x12c))),_0x589c09(this,'_updateLocalCursor',(0x0,_0x8bfe94[_0x4787ef(0x1fa)])((_0x51bbea,_0x21c1da)=>{const _0x162f82=_0x4787ef;let _0x15dcfe={'eventID':_0x2c6827[_0x162f82(0x446)][_0x162f82(0x340)],'data':{'unitID':this[_0x162f82(0x3df)],'memberID':this[_0x162f82(0x18a)]['getMemberID'](),'selection':(0x0,_0x47ec9b[_0x162f82(0x45b)])(_0x51bbea,_0x21c1da[_0x162f82(0x275)])}};this[_0x162f82(0x18a)][_0x162f82(0x374)](_0x15dcfe,this[_0x162f82(0x3df)]);},0x64));}[_0x27c760(0x393)](){const _0x5aed34=_0x27c760;super[_0x5aed34(0x393)](),this[_0x5aed34(0x459)][_0x5aed34(0x471)](new Map()),this[_0x5aed34(0x459)][_0x5aed34(0x3c2)](),this[_0x5aed34(0x2f2)][_0x5aed34(0x471)]([]),this[_0x5aed34(0x2f2)][_0x5aed34(0x3c2)]();}['init'](){const _0x2f3d39=_0x27c760;this[_0x2f3d39(0x27c)]||(this[_0x2f3d39(0x27c)]=!0x0,this[_0x2f3d39(0x18a)]['sessionStatus$']['pipe']((0x0,_0x453e23[_0x2f3d39(0x304)])(this['dispose$']))[_0x2f3d39(0x388)](_0x494f62=>{const _0x314719=_0x2f3d39;_0x494f62===_0x4fec95['SessionStatus'][_0x314719(0x41a)]?this[_0x314719(0x482)]():this['_toggleOffline']();}),this[_0x2f3d39(0x18a)][_0x2f3d39(0x370)]['pipe']((0x0,_0x453e23[_0x2f3d39(0x304)])(this[_0x2f3d39(0x3fb)]))[_0x2f3d39(0x388)](_0x23e2e5=>{const _0x337cb6=_0x2f3d39;let _0x216a3e=_0x23e2e5[_0x337cb6(0x180)];_0x216a3e===_0x2c6827[_0x337cb6(0x446)][_0x337cb6(0x340)]&&this['_onCursorUpdate'](_0x23e2e5),_0x216a3e===_0x2c6827['CollaborationEvent'][_0x337cb6(0x337)]&&this[_0x337cb6(0x2b1)](_0x23e2e5);}),this[_0x2f3d39(0x326)](),this[_0x2f3d39(0x428)](this[_0x2f3d39(0x28a)][_0x2f3d39(0x1d2)](_0x2efb67=>{const _0x129d80=_0x2f3d39;if(this['_online']&&_0x2efb67['id']===_0x5c7e8a[_0x129d80(0x17d)]['id']&&_0x2efb67['params']['unitId']===this[_0x129d80(0x3df)]){let _0x2e7fe0=_0x2efb67[_0x129d80(0x16d)];this[_0x129d80(0x412)](_0x2e7fe0[_0x129d80(0x2d3)],_0x2e7fe0[_0x129d80(0x2c1)][0x0]);}})));}[_0x27c760(0x2cd)](_0x531f04){const _0x5ddb7=_0x27c760;var _0xb1e1a4;let {memberID:_0x5271fc,selection:_0x10d048}=_0x531f04['data'],{sheetName:_0x33c267,range:_0x49ee43}=(0x0,_0x47ec9b['deserializeRangeWithSheet'])(_0x10d048),_0x481cb0={'name':((_0xb1e1a4=this[_0x5ddb7(0x317)][_0x5ddb7(0x2a4)](this['unitID'],_0x5271fc))==null?void 0x0:_0xb1e1a4['name'])??_0x5ddb7(0x330),'range':this['_getMergeRange'](_0x33c267,_0x49ee43),'sheetID':_0x33c267,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x5271fc),'selection':_0x10d048},_0x17312f=this[_0x5ddb7(0x333)];_0x17312f['set'](_0x5271fc,_0x481cb0),this['_cursorInfo$'][_0x5ddb7(0x471)](_0x17312f);}[_0x27c760(0x2b1)](_0x3e1293){const _0x45d36d=_0x27c760;let {memberID:_0x2d4713}=_0x3e1293['data'],_0x1b2c25=this[_0x45d36d(0x333)];_0x1b2c25[_0x45d36d(0x289)](_0x2d4713),this['_cursorInfo$'][_0x45d36d(0x471)](_0x1b2c25);}[_0x27c760(0x2eb)](_0xebb0c8,_0x4803d5){const _0x1421fe=_0x27c760;var _0x4484c1;let _0x13d2c6=(_0x4484c1=this['_univerInstanceService'][_0x1421fe(0x447)](this[_0x1421fe(0x3df)],_0x8bfe94[_0x1421fe(0x436)][_0x1421fe(0x38a)]))==null||(_0x4484c1=_0x4484c1[_0x1421fe(0x26b)](_0xebb0c8))==null?void 0x0:_0x4484c1['getMergeData']();return(_0x13d2c6==null?void 0x0:_0x13d2c6['find'](_0x29a51a=>_0x8bfe94[_0x1421fe(0x169)][_0x1421fe(0x203)](_0x29a51a,_0x4803d5)))||_0x4803d5;}[_0x27c760(0x326)](){const _0x23ca02=_0x27c760;let _0x3be700=new _0x8bfe94['DisposableCollection'](),_0x369110=_0x209191(),_0x1f5729=()=>{const _0x268548=_0x4a49;_0x3be700[_0x268548(0x393)]();let _0x52fb8c=(_0x33ae79,_0x2561dc,_0x45f738,_0x3ba8cc)=>{const _0x3dda3f=_0x268548;let _0x38f9e3=[];switch(_0x33ae79['id']){case _0x5c7e8a[_0x3dda3f(0x14f)][_0x3dda3f(0x48a)]:_0x38f9e3=(0x0,_0x5c7e8a[_0x3dda3f(0x21f)])(_0x33ae79,_0x3ba8cc);break;case _0x5c7e8a[_0x3dda3f(0x14f)][_0x3dda3f(0x3ac)]:_0x38f9e3=(0x0,_0x5c7e8a[_0x3dda3f(0x33d)])(_0x33ae79,_0x3ba8cc);break;case _0x5c7e8a['EffectRefRangId']['InsertColCommandId']:_0x38f9e3=(0x0,_0x5c7e8a[_0x3dda3f(0x3b8)])(_0x33ae79,_0x3ba8cc);break;case _0x5c7e8a[_0x3dda3f(0x14f)][_0x3dda3f(0x26d)]:_0x38f9e3=(0x0,_0x5c7e8a[_0x3dda3f(0x3ee)])(_0x33ae79,_0x3ba8cc);break;case _0x5c7e8a[_0x3dda3f(0x14f)][_0x3dda3f(0x133)]:_0x38f9e3=(0x0,_0x5c7e8a[_0x3dda3f(0x37e)])(_0x33ae79,_0x3ba8cc);break;case _0x5c7e8a[_0x3dda3f(0x14f)][_0x3dda3f(0x2fb)]:_0x38f9e3=(0x0,_0x5c7e8a['handleInsertRow'])(_0x33ae79,_0x3ba8cc);break;case _0x5c7e8a['EffectRefRangId']['MoveRangeCommandId']:_0x38f9e3=(0x0,_0x5c7e8a['handleMoveRange'])(_0x33ae79,_0x3ba8cc);break;case _0x5c7e8a['EffectRefRangId'][_0x3dda3f(0x38f)]:_0x38f9e3=(0x0,_0x5c7e8a[_0x3dda3f(0x3a8)])(_0x33ae79,_0x3ba8cc);break;case _0x5c7e8a[_0x3dda3f(0x14f)][_0x3dda3f(0x377)]:_0x38f9e3=(0x0,_0x5c7e8a[_0x3dda3f(0x28f)])(_0x33ae79,_0x3ba8cc);}let _0x3a688d=(0x0,_0x5c7e8a[_0x3dda3f(0x3b3)])(_0x38f9e3,_0x3ba8cc),_0x261ff6=this['cursorInfo'][_0x3dda3f(0x346)](_0x2561dc);if(_0x261ff6&&_0x3a688d){let _0xd7f543={..._0x261ff6,'range':_0x3a688d};this['cursorInfo']['set'](_0x2561dc,_0xd7f543),_0x369110(()=>{const _0xa68903=_0x3dda3f;let _0x57dc2a=this[_0xa68903(0x230)][_0xa68903(0x20e)](_0x3a688d,_0x515c71=>(_0x57dc2a[_0xa68903(0x393)](),_0x52fb8c(_0x515c71,_0x2561dc,_0x45f738,_0x3a688d)));_0x3be700[_0xa68903(0x194)](_0x57dc2a);});}return{'redos':[],'undos':[]};};this[_0x268548(0x333)][_0x268548(0x143)]((_0x2ccff5,_0x169691)=>{const _0x66402f=_0x268548;let {range:_0x282bbc,sheetID:_0x355ad6}=_0x2ccff5,_0x549383=this[_0x66402f(0x230)]['registerRefRange'](_0x282bbc,_0x2f5990=>(_0x549383[_0x66402f(0x393)](),_0x52fb8c(_0x2f5990,_0x169691,_0x355ad6,_0x282bbc)));_0x3be700[_0x66402f(0x194)](_0x549383);});};this['disposeWithMe']((0x0,_0x8bfe94[_0x23ca02(0x22e)])(this[_0x23ca02(0x459)][_0x23ca02(0x388)](()=>{_0x1f5729();})));}[_0x27c760(0x482)](){const _0x287ed0=_0x27c760;var _0x26d191,_0x3679a2;if(this[_0x287ed0(0x34f)]=!0x0,((_0x26d191=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x26d191[_0x287ed0(0x475)]())!==this[_0x287ed0(0x3df)])return;let _0x505bec=(_0x3679a2=this[_0x287ed0(0x46a)]['get'](_0x5c7e8a[_0x287ed0(0x139)])[_0x287ed0(0x42f)]())==null?void 0x0:_0x3679a2[0x0],_0x20e9ee=this['_univerInstanceService']['getCurrentUnitOfType'](_0x8bfe94[_0x287ed0(0x436)]['UNIVER_SHEET'])[_0x287ed0(0x415)]();_0x505bec&&_0x20e9ee&&this[_0x287ed0(0x412)](_0x20e9ee[_0x287ed0(0x1f2)](),_0x505bec);}[_0x27c760(0x2ee)](){const _0x57d051=_0x27c760;this[_0x57d051(0x34f)]=!0x1;}};_0x8ec788=_0x444f34([_0x354fcf(0x2,(0x0,_0x8bfe94['Inject'])(_0x8bfe94['Injector'])),_0x354fcf(0x3,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x1642fa)),_0x354fcf(0x4,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x4fec95[_0x27c760(0x167)])),_0x354fcf(0x5,_0x8bfe94[_0x27c760(0x252)]),_0x354fcf(0x6,_0x8bfe94[_0x27c760(0x175)]),_0x354fcf(0x7,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x5c7e8a[_0x27c760(0x3dc)]))],_0x8ec788);let _0x79c4b6=class extends _0x8bfe94[_0x27c760(0x3e5)]{constructor(_0x126beb,_0x57facf,_0x1f20d2){const _0x1564b7=_0x27c760;super(),this['_univerInstanceService']=_0x126beb,this['_injector']=_0x57facf,this[_0x1564b7(0x201)]=_0x1f20d2,_0x589c09(this,'_entities',new Map()),_0x589c09(this,_0x1564b7(0x36b),new _0x453e23[(_0x1564b7(0x489))]()),this[_0x1564b7(0x27c)]();}[_0x27c760(0x393)](){const _0x460ddd=_0x27c760;super[_0x460ddd(0x393)](),this[_0x460ddd(0x36b)][_0x460ddd(0x3c2)](),this[_0x460ddd(0x355)][_0x460ddd(0x143)](_0x2ac290=>_0x2ac290[_0x460ddd(0x393)]());}[_0x27c760(0x2a6)](_0x61022b){const _0x1cc4b2=_0x27c760;let _0x7a01c9=this['_entities'][_0x1cc4b2(0x346)](_0x61022b);return _0x7a01c9?_0x7a01c9[_0x1cc4b2(0x490)]:this['_entityInit$'][_0x1cc4b2(0x3b9)]((0x0,_0x453e23[_0x1cc4b2(0x2d1)])(_0x140475=>_0x140475[_0x1cc4b2(0x3df)]===_0x61022b),(0x0,_0x453e23[_0x1cc4b2(0x195)])(_0x59f9c9=>_0x59f9c9[_0x1cc4b2(0x490)]));}['_init'](){const _0x317524=_0x27c760;this[_0x317524(0x372)][_0x317524(0x3fc)](_0x8bfe94['UniverInstanceType'][_0x317524(0x38a)])[_0x317524(0x3b9)]((0x0,_0x453e23[_0x317524(0x304)])(this[_0x317524(0x3fb)]))[_0x317524(0x388)](async _0x1b7b7c=>{const _0x3f8ffa=_0x317524;let _0x22e72d=_0x1b7b7c['unit'][_0x3f8ffa(0x475)](),_0x41a90f=await this[_0x3f8ffa(0x408)](_0x22e72d);this[_0x3f8ffa(0x36b)][_0x3f8ffa(0x471)](_0x41a90f),this[_0x3f8ffa(0x355)][_0x3f8ffa(0x269)](_0x22e72d,_0x41a90f);}),this[_0x317524(0x372)][_0x317524(0x3fc)](_0x8bfe94[_0x317524(0x436)]['UNIVER_DOC'])[_0x317524(0x3b9)]((0x0,_0x453e23[_0x317524(0x304)])(this['dispose$']))[_0x317524(0x3b9)]((0x0,_0x453e23['filter'])(_0x20ed77=>!_0x20ed77[_0x317524(0x21c)][_0x317524(0x475)]()[_0x317524(0x1e7)]('__')))[_0x317524(0x388)](async _0x299aed=>{const _0x86460d=_0x317524;let {unit:_0x59caa6}=_0x299aed,_0x587035=_0x59caa6[_0x86460d(0x475)](),_0x159929=await this[_0x86460d(0x3c8)](_0x587035);this[_0x86460d(0x36b)][_0x86460d(0x471)](_0x159929),this[_0x86460d(0x355)][_0x86460d(0x269)](_0x587035,_0x159929);}),(0x0,_0x453e23['merge'])(this['_univerInstanceService'][_0x317524(0x399)](_0x8bfe94[_0x317524(0x436)]['UNIVER_DOC']),this[_0x317524(0x372)][_0x317524(0x399)](_0x8bfe94['UniverInstanceType'][_0x317524(0x38a)]))[_0x317524(0x3b9)]((0x0,_0x453e23[_0x317524(0x304)])(this['dispose$']))[_0x317524(0x388)](_0x2a14fc=>{const _0x4b303d=_0x317524;let _0x23fdf1=_0x2a14fc[_0x4b303d(0x475)](),_0x4a84b2=this[_0x4b303d(0x355)][_0x4b303d(0x346)](_0x23fdf1);_0x4a84b2&&(_0x4a84b2[_0x4b303d(0x393)](),this[_0x4b303d(0x355)][_0x4b303d(0x289)](_0x23fdf1));});}async[_0x27c760(0x408)](_0x3fb094){const _0x241c00=_0x27c760;let _0x5f2f6a=await this[_0x241c00(0x201)][_0x241c00(0x465)](_0x3fb094),_0x1882f3=this[_0x241c00(0x46a)][_0x241c00(0x1eb)](_0x8ec788,_0x3fb094,_0x5f2f6a);return _0x1882f3['init'](),_0x1882f3;}async[_0x27c760(0x3c8)](_0x2ca036){const _0x2f5d93=_0x27c760;let _0x3e3ed4=await this[_0x2f5d93(0x201)]['requireSession'](_0x2ca036),_0x139a05=this[_0x2f5d93(0x46a)][_0x2f5d93(0x1eb)](_0x4c77d6,_0x2ca036,_0x3e3ed4);return _0x139a05[_0x2f5d93(0x2af)](),_0x139a05;}};_0x79c4b6=_0x444f34([_0x354fcf(0x0,_0x8bfe94[_0x27c760(0x252)]),_0x354fcf(0x1,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x8bfe94['Injector'])),_0x354fcf(0x2,(0x0,_0x8bfe94['Inject'])(_0x4fec95[_0x27c760(0x368)]))],_0x79c4b6);function _0xe85f51(_0x323f17,_0x4e71c2){const _0x29578a=_0x27c760;_0x323f17[_0x29578a(0x39c)](),_0x323f17[_0x29578a(0x25d)]=_0x29578a(0x1c1);let _0x500c13=_0x323f17[_0x29578a(0x1d3)](_0x4e71c2)['width'];return _0x323f17[_0x29578a(0x131)](),Math[_0x29578a(0x236)](_0x500c13+0x8,0xc8);}function _0x297d82(_0x4076e6,_0xcd6da9){const _0x4c6461=_0x27c760;let {radius:_0xcc64b3,width:_0x4d578e,height:_0x1525cc}=_0xcd6da9;_0xcc64b3??=0x0,_0x4d578e??=0x1e,_0x1525cc??=0x1e;let _0x2d1cc6=0x0,_0x5a7728=0x0,_0x13e93a=0x0;_0x2d1cc6=_0x5a7728=_0x13e93a=Math[_0x4c6461(0x236)](_0xcc64b3,_0x4d578e/0x2,_0x1525cc/0x2),_0x4076e6['beginPath'](),_0x4076e6['moveTo'](_0x2d1cc6,0x0),_0x4076e6[_0x4c6461(0x284)](_0x4d578e-_0x5a7728,0x0),_0x4076e6['arc'](_0x4d578e-_0x5a7728,_0x5a7728,_0x5a7728,Math['PI']*0x3/0x2,0x0,!0x1),_0x4076e6[_0x4c6461(0x284)](_0x4d578e,_0x1525cc-_0x13e93a),_0x4076e6['arc'](_0x4d578e-_0x13e93a,_0x1525cc-_0x13e93a,_0x13e93a,0x0,Math['PI']/0x2,!0x1),_0x4076e6[_0x4c6461(0x284)](0x0,_0x1525cc),_0x4076e6[_0x4c6461(0x284)](0x0,_0x2d1cc6),_0x4076e6[_0x4c6461(0x44b)](_0x2d1cc6,_0x2d1cc6,_0x2d1cc6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4076e6['closePath'](),_0xcd6da9[_0x4c6461(0x401)]&&(_0x4076e6[_0x4c6461(0x39c)](),_0x4076e6[_0x4c6461(0x2a5)]=_0xcd6da9[_0x4c6461(0x401)],_0xcd6da9[_0x4c6461(0x1f5)]===_0x4c6461(0x43d)?_0x4076e6['fill']('evenodd'):_0x4076e6[_0x4c6461(0x401)](),_0x4076e6[_0x4c6461(0x131)]());}var _0x5576eb=class _0x956786 extends _0x18d7e0[_0x27c760(0x371)]{constructor(_0xc5bb84,_0x5a9f21){const _0x2f849c=_0x27c760;super(_0xc5bb84,_0x5a9f21),_0x589c09(this,_0x2f849c(0x474),void 0x0),_0x589c09(this,_0x2f849c(0x208),void 0x0),this[_0x2f849c(0x474)]=_0x5a9f21==null?void 0x0:_0x5a9f21[_0x2f849c(0x474)],this[_0x2f849c(0x208)]=_0x5a9f21==null?void 0x0:_0x5a9f21[_0x2f849c(0x208)];}static[_0x27c760(0x2b5)](_0xd4ad15,_0x560c30){const _0x4b8a98=_0x27c760;let {text:_0x144fcd,color:_0x5cdb12}=_0x560c30;_0xd4ad15[_0x4b8a98(0x39c)](),_0xd4ad15[_0x4b8a98(0x25d)]=_0x4b8a98(0x1b8);let _0x42720c=_0xd4ad15['measureText'](_0x144fcd)['width'];if(_0x297d82(_0xd4ad15,{'height':0x14,'radius':0x4,'width':_0xe85f51(_0xd4ad15,_0x144fcd),'fill':_0x5cdb12,'evented':!0x1}),_0xd4ad15[_0x4b8a98(0x2a5)]='#FFF',_0x42720c>0xc0){let _0x5b000a='',_0x559be0=0x0;for(let _0x2e8144 of _0x144fcd){let _0x2a3fc4=_0xd4ad15[_0x4b8a98(0x1d3)](_0x2e8144)['width'];if(_0x559be0+_0x2a3fc4<=0xc0-_0xd4ad15[_0x4b8a98(0x1d3)](_0x4b8a98(0x366))['width'])_0x5b000a+=_0x2e8144,_0x559be0+=_0x2a3fc4;else{_0x5b000a+='...';break;}}_0xd4ad15[_0x4b8a98(0x1cc)](_0x5b000a,0x4,0xf);}else _0xd4ad15[_0x4b8a98(0x1cc)](_0x144fcd,0x4,0xf);_0xd4ad15['restore']();}[_0x27c760(0x1b9)](_0x598811){const _0x46dc49=_0x27c760;_0x956786[_0x46dc49(0x2b5)](_0x598811,this);}};let _0x2e458b='collab-text-anchor-';var _0x5f9791=class{constructor(_0x4270c8,_0x4d1cc4,_0x51ac79,_0xfb2a36){const _0xa4d300=_0x27c760;this['_cursor']=_0x4270c8,this[_0xa4d300(0x3ae)]=_0x4d1cc4,this['_docSkeleton']=_0x51ac79,this[_0xa4d300(0x341)]=_0xfb2a36,_0x589c09(this,_0xa4d300(0x449),[]),_0x589c09(this,'_anchor',null),_0x589c09(this,'_textBubble',null),_0x589c09(this,_0xa4d300(0x245),null),_0x589c09(this,'_hideTimer',null),_0x589c09(this,_0xa4d300(0x1a2),null),this[_0xa4d300(0x327)]();}set[_0x27c760(0x22a)](_0x1c5d0b){const _0x412613=_0x27c760;_0x1c5d0b?(this[_0x412613(0x245)]&&this['_anchorDot']['hide'](),this[_0x412613(0x239)]&&this['_textBubble'][_0x412613(0x39f)]()):(this[_0x412613(0x245)]&&this[_0x412613(0x245)][_0x412613(0x39f)](),this['_textBubble']&&this[_0x412613(0x239)]['hide']());}[_0x27c760(0x393)](){const _0x49671c=_0x27c760;for(let _0x5b9322 of this[_0x49671c(0x449)])_0x5b9322[_0x49671c(0x393)]();this[_0x49671c(0x239)]&&this['_textBubble'][_0x49671c(0x393)](),this['_anchorDot']&&this['_anchorDot'][_0x49671c(0x393)](),this['_anchor']&&this['_anchor']['dispose'](),this[_0x49671c(0x1a2)]&&this[_0x49671c(0x1a2)]();}[_0x27c760(0x327)](){const _0x25dff2=_0x27c760;let {_docSkeleton:_0x4542bc,_document:_0x535198}=this,{color:_0x2a8295,name:_0x41dc6b,ranges:_0x4a8025}=this[_0x25dff2(0x2e0)],_0x3b8267=_0x535198['getOffsetConfig'](),{docsLeft:_0x14c1e7,docsTop:_0x2108da}=_0x3b8267,_0x565e1d=new _0x8affde['NodePositionConvertToCursor'](_0x3b8267,_0x4542bc);for(let {startOffset:_0x873aea,endOffset:_0x27fffd,rangeType:_0x3a8b99,segmentId:_0x5778b5,segmentPage:_0x33197e,collapsed:_0xd0569e,isActive:_0x20f979}of _0x4a8025){let _0x30e6fa=_0x4542bc[_0x25dff2(0x2e8)](_0x873aea,!0x0,_0x5778b5,_0x33197e),_0x2db7b2=_0x4542bc[_0x25dff2(0x2e8)](_0x27fffd,!0x0,_0x5778b5,_0x33197e);_0x2db7b2??=_0x4542bc[_0x25dff2(0x2e8)](_0x27fffd-0x1,!0x1,_0x5778b5,_0x33197e);let _0x34f159=_0x20af75(_0x30e6fa,_0x2db7b2);if(_0x20f979&&_0x34f159[_0x25dff2(0x2e4)]){let {contentBoxPointGroup:_0x3dea0f}=_0x565e1d['getRangePointData'](_0x2db7b2,_0x2db7b2);if(_0x3dea0f[_0x25dff2(0x3be)]===0x0)continue;this['_drawAnchor'](_0x2a8295,_0x3dea0f,_0x14c1e7,_0x2108da,_0x41dc6b),this[_0x25dff2(0x1a2)]=this['_handleHover']();}if(_0x30e6fa&&_0x2db7b2){if(_0x3a8b99===_0x8bfe94[_0x25dff2(0x30f)][_0x25dff2(0x158)]){let {pointGroup:_0x5b2d91}=new _0x8affde['NodePositionConvertToRectRange'](_0x3b8267,_0x4542bc)['getRangePointData'](_0x30e6fa,_0x2db7b2)??{};if(_0x5b2d91==null||_0x5b2d91[_0x25dff2(0x3be)]===0x0)continue;this['_drawRectRange'](_0x2a8295,_0x5b2d91,_0x14c1e7,_0x2108da);}else{if(!_0xd0569e&&_0x34f159[_0x25dff2(0x382)]){let {borderBoxPointGroup:_0x5d9ec1}=_0x565e1d[_0x25dff2(0x1ac)](_0x30e6fa,_0x2db7b2);if(_0x5d9ec1[_0x25dff2(0x3be)]===0x0)continue;this[_0x25dff2(0x293)](_0x2a8295,_0x5d9ec1,_0x14c1e7,_0x2108da);}}}}}['_drawAnchor'](_0x4acb3f,_0x5cb39d,_0x12b26b,_0x178da4,_0x3bf5bf){const _0x27eac3=_0x27c760;let {left:_0x343ceb,top:_0x545f90,height:_0x395e55}=this[_0x27eac3(0x22d)](_0x5cb39d),_0xef5d3b=1.5/this[_0x27eac3(0x3f5)](),_0x175600=new _0x18d7e0['Rect'](_0x2e458b+(0x0,_0x8bfe94[_0x27eac3(0x356)])(0x6),{'left':_0x343ceb+_0x12b26b-_0xef5d3b,'top':_0x545f90+_0x178da4,'height':_0x395e55,'width':1.5,'fill':_0x4acb3f||(0x0,_0x18d7e0[_0x27eac3(0x36f)])(_0x8bfe94[_0x27eac3(0x2f3)][_0x27eac3(0x199)],0x0),'strokeWidth':_0xef5d3b,'stroke':_0x27eac3(0x2fa),'evented':!0x0});this[_0x27eac3(0x373)]=_0x175600,this['_scene']['addObject'](_0x175600,_0x8affde[_0x27eac3(0x42e)]);let _0x24ae22=new _0x18d7e0[(_0x27eac3(0x232))](_0x2e458b+(0x0,_0x8bfe94[_0x27eac3(0x356)])(0x6),{'left':_0x343ceb+_0x12b26b-_0xef5d3b,'top':_0x545f90+_0x178da4-0x2,'height':0x4,'width':0x4,'fill':_0x4acb3f||(0x0,_0x18d7e0['getColor'])(_0x8bfe94[_0x27eac3(0x2f3)][_0x27eac3(0x199)],0x0),'strokeWidth':0x0,'stroke':_0x4acb3f||(0x0,_0x18d7e0[_0x27eac3(0x36f)])(_0x8bfe94[_0x27eac3(0x2f3)][_0x27eac3(0x199)],0x0),'evented':!0x1});this[_0x27eac3(0x245)]=_0x24ae22,this[_0x27eac3(0x3ae)][_0x27eac3(0x3e6)](_0x24ae22,_0x8affde[_0x27eac3(0x42e)]);let _0x5c16c4=new _0x5576eb(_0x2e458b+(0x0,_0x8bfe94[_0x27eac3(0x356)])(0x6),{'left':_0x343ceb+_0x12b26b-_0xef5d3b,'top':_0x545f90+_0x178da4-0x14,'text':_0x3bf5bf,'color':_0x4acb3f});this['_textBubble']=_0x5c16c4,this[_0x27eac3(0x3ae)]['addObject'](_0x5c16c4,_0x8affde[_0x27eac3(0x42e)]),this['_hover']=!0x1;}[_0x27c760(0x224)](){const _0x45cf61=_0x27c760;let _0x436ed9=this[_0x45cf61(0x373)][_0x45cf61(0x45c)][_0x45cf61(0x411)](()=>{const _0x26aa03=_0x45cf61;this[_0x26aa03(0x22a)]=!0x0;}),_0x6a105d=this[_0x45cf61(0x373)][_0x45cf61(0x244)]['subscribeEvent'](()=>{const _0x3e1254=_0x45cf61;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x3e1254(0x190)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x36895f=_0x45cf61;_0x436ed9[_0x36895f(0x300)](),_0x6a105d[_0x36895f(0x300)]();};}[_0x27c760(0x293)](_0x44fcb5,_0x270d1a,_0x3469f1,_0x41061f){const _0x2056e8=_0x27c760;let _0x2afc14=0.2,_0x344be8=new _0x8bfe94[(_0x2056e8(0x276))](_0x44fcb5)[_0x2056e8(0x376)](_0x2afc14)[_0x2056e8(0x301)](),_0x5a4404=new _0x18d7e0[(_0x2056e8(0x31e))]('collab-text-range-'+(0x0,_0x8bfe94[_0x2056e8(0x356)])(0x6),{'pointsGroup':_0x270d1a,'fill':_0x344be8||(0x0,_0x18d7e0[_0x2056e8(0x36f)])(_0x8bfe94[_0x2056e8(0x2f3)]['black'],_0x2afc14),'left':_0x3469f1,'top':_0x41061f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x2056e8(0x470)](_0x5a4404),this[_0x2056e8(0x3ae)]['addObject'](_0x5a4404,_0x8affde['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x25cd79,_0x1ea7db,_0x334165,_0x41912b){const _0x3ce84a=_0x27c760;let _0x40ac52=0.2,_0x199283=new _0x8bfe94['ColorKit'](_0x25cd79)['setAlpha'](_0x40ac52)[_0x3ce84a(0x301)](),_0x32abbb=new _0x18d7e0[(_0x3ce84a(0x31e))](_0x3ce84a(0x2ca)+(0x0,_0x8bfe94['generateRandomId'])(0x6),{'pointsGroup':_0x1ea7db,'fill':_0x199283||(0x0,_0x18d7e0['getColor'])(_0x8bfe94[_0x3ce84a(0x2f3)][_0x3ce84a(0x199)],_0x40ac52),'left':_0x334165,'top':_0x41912b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3ce84a(0x449)][_0x3ce84a(0x470)](_0x32abbb),this['_scene'][_0x3ce84a(0x3e6)](_0x32abbb,_0x8affde[_0x3ce84a(0x42e)]);}[_0x27c760(0x22d)](_0x3c572d){let _0x22fe07=_0x3c572d[0x0],_0xb2f5a9=_0x22fe07[0x0],_0x5e3869=_0x22fe07[0x2],{x:_0x30b334,y:_0x1de684}=_0xb2f5a9,{x:_0x3e0767,y:_0x18715d}=_0x5e3869;return{'left':_0x30b334,'top':_0x1de684,'width':_0x3e0767-_0x30b334,'height':_0x18715d-_0x1de684};}['_getScale'](){const _0x4bed64=_0x27c760;let {scaleX:_0x4e4348,scaleY:_0x572b9a}=this[_0x4bed64(0x3ae)][_0x4bed64(0x225)]();return Math[_0x4bed64(0x19c)](_0x4e4348,_0x572b9a);}};function _0x20af75(_0xea9d63,_0xf88914){const _0x3efe9a=_0x27c760;if(!_0xf88914)return{'canRenderAnchor':!0x1,'canRenderSelection':!0x1};if(!_0xea9d63||_0xea9d63['pageType']!==_0xf88914['pageType']||(_0xea9d63[_0x3efe9a(0x32e)]===_0x18d7e0[_0x3efe9a(0x27a)][_0x3efe9a(0x292)]||_0xea9d63[_0x3efe9a(0x32e)]===_0x18d7e0[_0x3efe9a(0x27a)][_0x3efe9a(0x3b7)])&&_0xea9d63['segmentPage']!==_0xf88914['segmentPage'])return{'canRenderAnchor':!0x0,'canRenderSelection':!0x1};let _0x3f6c97=(0x0,_0x18d7e0[_0x3efe9a(0x3a0)])(_0xea9d63),_0x4e2c89=(0x0,_0x18d7e0[_0x3efe9a(0x3a0)])(_0xf88914);return{'canRenderAnchor':!0x0,'canRenderSelection':_0x3f6c97==null||_0x4e2c89==null?_0x3f6c97==null&&_0x4e2c89==null:_0x3f6c97[_0x3efe9a(0x46e)]===_0x4e2c89[_0x3efe9a(0x46e)]&&_0x3f6c97[_0x3efe9a(0x443)]===_0x4e2c89[_0x3efe9a(0x443)]&&_0x3f6c97[_0x3efe9a(0x40c)]===_0x4e2c89[_0x3efe9a(0x40c)]};}let _0x2c639d=class extends _0x8bfe94[_0x27c760(0x3e5)]{constructor(_0x3273e2,_0x82b30c,_0x3bedbe,_0x53f1c9,_0x1b5a52){const _0x4f242f=_0x27c760;super(),this[_0x4f242f(0x3ab)]=_0x3273e2,this['_docSkeletonManagerService']=_0x82b30c,this['_collabCursorController']=_0x3bedbe,this[_0x4f242f(0x28a)]=_0x53f1c9,this[_0x4f242f(0x1cd)]=_0x1b5a52,_0x589c09(this,_0x4f242f(0x147),[]),_0x589c09(this,'_cursors',[]),this[_0x4f242f(0x27c)]();}[_0x27c760(0x27c)](){const _0x2a6666=_0x27c760;let _0x184f40=this['_context'][_0x2a6666(0x414)],_0x3b0eef=this[_0x2a6666(0x344)];this[_0x2a6666(0x428)]((0x0,_0x453e23['combineLatest'])([this['_collabCursorController'][_0x2a6666(0x2a6)](_0x184f40),this[_0x2a6666(0x1cd)]['currentTheme$']])['pipe']((0x0,_0x17567c[_0x2a6666(0x1c8)])(([_0x108616,_0x39a93b])=>({'skeleton':_0x3b0eef[_0x2a6666(0x1c6)](),'cursors':[..._0x108616[_0x2a6666(0x329)]()]['flatMap'](_0x2556db=>({..._0x2556db,'color':this['_themeService'][_0x2a6666(0x308)](_0x2556db[_0x2a6666(0x474)])}))})))[_0x2a6666(0x388)](_0x12dcd4=>{const _0x58300b=_0x2a6666;if(this[_0x58300b(0x291)](),_0x12dcd4){let {skeleton:_0x2aef09,cursors:_0x3ccead}=_0x12dcd4;this[_0x58300b(0x3d3)](_0x2aef09,_0x3ccead);}})),this[_0x2a6666(0x149)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x29c554,_0x47f225){const _0x5847e0=_0x27c760;let {scene:_0x29db3c,mainComponent:_0x5b81b6}=this['_context'],_0x3e5e5d=_0x47f225[_0x5847e0(0x1c8)](_0x13e4e8=>new _0x5f9791(_0x13e4e8,_0x29db3c,_0x29c554,_0x5b81b6));this[_0x5847e0(0x147)]=_0x3e5e5d,this[_0x5847e0(0x2b0)]=_0x47f225;}[_0x27c760(0x219)](){const _0x573770=_0x27c760;this['_removeCollabCursors']();let {scene:_0x35d589,mainComponent:_0x530853}=this[_0x573770(0x3ab)],_0x103315=this[_0x573770(0x344)][_0x573770(0x1c6)](),_0x51e837=this[_0x573770(0x2b0)][_0x573770(0x1c8)](_0x3b2bfa=>new _0x5f9791(_0x3b2bfa,_0x35d589,_0x103315,_0x530853));this[_0x573770(0x147)]=_0x51e837;}[_0x27c760(0x291)](){const _0x213619=_0x27c760;this['_cursorShapes'][_0x213619(0x143)](_0x159805=>_0x159805[_0x213619(0x393)]()),this[_0x213619(0x147)]=[];}['_initCommandExecutedListener'](){const _0x10d098=_0x27c760;let _0x394a69=[_0x8affde[_0x10d098(0x1c7)]['id']];this[_0x10d098(0x428)](this['_commandService'][_0x10d098(0x1d2)](_0x29c16e=>{const _0x492cce=_0x10d098;_0x394a69['includes'](_0x29c16e['id'])&&_0x29c16e[_0x492cce(0x16d)][_0x492cce(0x414)]===this[_0x492cce(0x3ab)][_0x492cce(0x414)]&&this[_0x492cce(0x219)]();}));}[_0x27c760(0x149)](){const _0x8a3b70=_0x27c760;this['disposeWithMe']((0x0,_0x8bfe94[_0x8a3b70(0x250)])(this[_0x8a3b70(0x3ab)][_0x8a3b70(0x1b0)][_0x8a3b70(0x3e7)])[_0x8a3b70(0x3b9)]((0x0,_0x17567c[_0x8a3b70(0x2d1)])(_0x1cddf8=>_0x1cddf8[_0x8a3b70(0x483)]===_0x18d7e0[_0x8a3b70(0x172)][_0x8a3b70(0x409)]),(0x0,_0x17567c['throttleTime'])(0x10))['subscribe'](()=>{const _0xb0e15a=_0x8a3b70;this[_0xb0e15a(0x219)]();}));}};_0x2c639d=_0x444f34([_0x354fcf(0x1,(0x0,_0x8bfe94['Inject'])(_0x4de23f[_0x27c760(0x23d)])),_0x354fcf(0x2,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x79c4b6)),_0x354fcf(0x3,_0x8bfe94[_0x27c760(0x175)]),_0x354fcf(0x4,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x8bfe94[_0x27c760(0x2d9)]))],_0x2c639d);var _0x23541b=class extends _0x18d7e0[_0x27c760(0x371)]{constructor(_0x1a7d22,_0x115aec){const _0x56f749=_0x27c760;super(_0x1a7d22,_0x115aec),_0x589c09(this,_0x56f749(0x249),void 0x0),_0x589c09(this,_0x56f749(0x141),!0x1),_0x589c09(this,_0x56f749(0x137),void 0x0),_0x589c09(this,_0x56f749(0x43e),''),_0x589c09(this,_0x56f749(0x247),_0x56f749(0x255)),_0x589c09(this,'_backgroundColor',void 0x0),_0x589c09(this,_0x56f749(0x3bc),void 0x0),_0x589c09(this,_0x56f749(0x314),void 0x0),_0x589c09(this,_0x56f749(0x2a7),0x4),_0x589c09(this,'_blinkTimer',void 0x0),_0x589c09(this,_0x56f749(0x213),void 0x0),_0x589c09(this,_0x56f749(0x210),!0x0),_0x589c09(this,'_offsetY',0x0),_0x589c09(this,_0x56f749(0x40e),_0x56f749(0x3d0)),_0x115aec&&(this[_0x56f749(0x456)](_0x115aec),_0x115aec[_0x56f749(0x13e)]&&(_0x115aec['highlightSecond']??this[_0x56f749(0x2a7)])&&this[_0x56f749(0x17b)](_0x115aec[_0x56f749(0x407)]??this[_0x56f749(0x2a7)])),this[_0x56f749(0x45c)][_0x56f749(0x411)](()=>this[_0x56f749(0x456)]({'hovered':!0x0})),this[_0x56f749(0x244)][_0x56f749(0x411)](()=>this['setShapeProps']({'hovered':!0x1}));}[_0x27c760(0x1fb)](_0x1c6208){this['_offsetY']=_0x1c6208;}[_0x27c760(0x456)](_0x326cd4){const _0x2290d9=_0x27c760;this[_0x2290d9(0x249)]=_0x326cd4[_0x2290d9(0x474)]??this[_0x2290d9(0x249)],this['_hovered']=_0x326cd4[_0x2290d9(0x427)]??this['_hovered'],this[_0x2290d9(0x137)]=_0x326cd4[_0x2290d9(0x275)]??this[_0x2290d9(0x137)],this['_name']=_0x326cd4[_0x2290d9(0x455)]??this[_0x2290d9(0x43e)],this[_0x2290d9(0x247)]=_0x326cd4['labelPosition']??this[_0x2290d9(0x247)],this[_0x2290d9(0x221)]=_0x326cd4[_0x2290d9(0x193)]??this[_0x2290d9(0x221)],this['_showText']=_0x326cd4[_0x2290d9(0x262)]??this[_0x2290d9(0x3bc)],this[_0x2290d9(0x40e)]=_0x326cd4[_0x2290d9(0x29c)]??this['_labelHorizontalPosition'],_0x326cd4['highlightSecond']!==void 0x0&&(this[_0x2290d9(0x2a7)]=_0x326cd4[_0x2290d9(0x407)]),_0x326cd4['highlight']!==void 0x0&&(this['_highlight']=_0x326cd4[_0x2290d9(0x13e)]),_0x326cd4[_0x2290d9(0x37d)]!==void 0x0&&(this[_0x2290d9(0x33b)]=_0x326cd4['offsetY']),this[_0x2290d9(0x2be)]({'width':_0x326cd4['width'],'height':_0x326cd4['height']});}[_0x27c760(0x3b4)](_0x5e9fb0){const _0x43da2d=_0x27c760;let {row:_0x35d2e4,column:_0x4762e4}=_0x5e9fb0;_0x35d2e4>=this[_0x43da2d(0x137)]['startRow']&&_0x35d2e4<=this['_range'][_0x43da2d(0x2db)]&&_0x4762e4>=this[_0x43da2d(0x137)][_0x43da2d(0x2c8)]&&_0x4762e4<=this[_0x43da2d(0x137)][_0x43da2d(0x297)]?this[_0x43da2d(0x456)]({'hovered':!0x0}):this['setShapeProps']({'hovered':!0x1});}['_startBlinking'](_0x1fdf87){const _0xf6b50d=_0x27c760;this['_stopBlinking'](),this[_0xf6b50d(0x210)]=!0x0,this[_0xf6b50d(0x213)]=window['setInterval'](()=>{const _0x3cf6bf=_0xf6b50d;this[_0x3cf6bf(0x210)]=!this[_0x3cf6bf(0x210)],this['makeDirty'](!0x0);},0x1f4),this[_0xf6b50d(0x154)]=window['setTimeout'](()=>{const _0x5a525a=_0xf6b50d;this[_0x5a525a(0x398)](),this[_0x5a525a(0x210)]=!0x0,this['makeDirty'](!0x0);},_0x1fdf87*0x3e8);}[_0x27c760(0x398)](){const _0x200bff=_0x27c760;this[_0x200bff(0x213)]&&=(window[_0x200bff(0x472)](this[_0x200bff(0x213)]),void 0x0),this['_blinkTimer']&&=(window[_0x200bff(0x205)](this[_0x200bff(0x154)]),void 0x0);}[_0x27c760(0x184)](_0xf0041d){return!0x1;}[_0x27c760(0x393)](){const _0x1902ce=_0x27c760;this[_0x1902ce(0x398)](),super[_0x1902ce(0x393)]();}[_0x27c760(0x1b9)](_0x3579f1){const _0x3f394e=_0x27c760;let _0x44cf98=this[_0x3f394e(0x249)],_0x24690d=this[_0x3f394e(0x221)];if(this[_0x3f394e(0x314)]&&!this['_isBlinkVisible']&&(_0x44cf98=this[_0x3f394e(0x148)](this[_0x3f394e(0x249)]),_0x24690d=this[_0x3f394e(0x221)]?this[_0x3f394e(0x148)](this[_0x3f394e(0x221)]):void 0x0),_0x18d7e0['Rect'][_0x3f394e(0x2b5)](_0x3579f1,{'width':this[_0x3f394e(0x36e)],'height':this[_0x3f394e(0x495)],'strokeWidth':this[_0x3f394e(0x380)]||1.5,'stroke':_0x44cf98,'evented':!0x1,'fill':_0x24690d}),this[_0x3f394e(0x141)]||this['_showText']){_0x3579f1[_0x3f394e(0x39c)]();let _0x17fd9c=this[_0x3f394e(0x40e)]===_0x3f394e(0x309)?-_0xe85f51(_0x3579f1,this['_name']):this[_0x3f394e(0x36e)];_0x3579f1[_0x3f394e(0x3ad)](0x1,0x0,0x0,0x1,_0x17fd9c,(this[_0x3f394e(0x247)]===_0x3f394e(0x132)?0x0:-0x14)+(this[_0x3f394e(0x33b)]??0x0)),_0x5576eb['drawWith'](_0x3579f1,{'text':this[_0x3f394e(0x43e)],'color':_0x44cf98}),_0x3579f1[_0x3f394e(0x131)]();}}['_getLighterColor'](_0x3a2dbf){const _0x3d92d6=_0x27c760;return _0x3a2dbf[_0x3d92d6(0x1e7)]('#')?_0x3d92d6(0x335)+Number[_0x3d92d6(0x1e6)](_0x3a2dbf[_0x3d92d6(0x170)](0x1,0x3),0x10)+',\x20'+Number['parseInt'](_0x3a2dbf[_0x3d92d6(0x170)](0x3,0x5),0x10)+',\x20'+Number[_0x3d92d6(0x1e6)](_0x3a2dbf[_0x3d92d6(0x170)](0x5,0x7),0x10)+_0x3d92d6(0x13a):_0x3a2dbf[_0x3d92d6(0x1e7)](_0x3d92d6(0x155))?_0x3a2dbf[_0x3d92d6(0x312)](/[\d.]+\)$/g,_0x3d92d6(0x270)):_0x3a2dbf[_0x3d92d6(0x1e7)](_0x3d92d6(0x3a6))?_0x3a2dbf[_0x3d92d6(0x312)]('rgb',_0x3d92d6(0x155))[_0x3d92d6(0x312)](')',_0x3d92d6(0x13a)):_0x3a2dbf;}};let _0x222e41=class extends _0x8bfe94[_0x27c760(0x3e5)]{constructor(_0x3ee8bf,_0x269b3c,_0x11967f,_0xc720ca){const _0x2ec10c=_0x27c760;super(),this[_0x2ec10c(0x3ab)]=_0x3ee8bf,this[_0x2ec10c(0x138)]=_0x269b3c,this[_0x2ec10c(0x267)]=_0x11967f,this['_themeService']=_0xc720ca,_0x589c09(this,_0x2ec10c(0x2b0),new Set()),_0x589c09(this,_0x2ec10c(0x278),null),_0x589c09(this,_0x2ec10c(0x35a),null),this[_0x2ec10c(0x27c)]();}[_0x27c760(0x27c)](){const _0x212682=_0x27c760;this['_sheetSkeletonManagerService'][_0x212682(0x362)][_0x212682(0x3b9)]((0x0,_0x17567c[_0x212682(0x304)])(this[_0x212682(0x3fb)]),(0x0,_0x17567c[_0x212682(0x195)])(_0x15f697=>{const _0x1577d1=_0x212682;if(_0x15f697){let _0x1979ad=_0x15f697[_0x1577d1(0x136)];return(0x0,_0x453e23[_0x1577d1(0x288)])(this[_0x1577d1(0x267)][_0x1577d1(0x2a6)](this[_0x1577d1(0x3ab)][_0x1577d1(0x414)]),this[_0x1577d1(0x1cd)]['currentTheme$'])[_0x1577d1(0x3b9)]((0x0,_0x17567c['map'])(([_0x4bc0fa,_0x156bb7])=>{let _0x483cab=new Map();return _0x4bc0fa['forEach']((_0x49645b,_0x50b714)=>{const _0x1f92d6=_0x4a49;if(_0x49645b['sheetID']===_0x1979ad){let _0x171728={..._0x49645b};_0x171728[_0x1f92d6(0x474)]=this[_0x1f92d6(0x1cd)][_0x1f92d6(0x308)](_0x49645b[_0x1f92d6(0x474)]),_0x483cab[_0x1f92d6(0x269)](_0x50b714,_0x171728);}}),{'skeleton':_0x15f697,'cursors':_0x483cab};}));}return(0x0,_0x453e23['of'])({'skeleton':null,'cursors':new Map()});}))[_0x212682(0x388)](({skeleton:_0x23382b,cursors:_0x43ab39})=>{const _0x3d6b81=_0x212682;this[_0x3d6b81(0x291)](),_0x23382b&&this[_0x3d6b81(0x3d3)](_0x23382b,_0x43ab39);}),this[_0x212682(0x428)](this[_0x212682(0x138)][_0x212682(0x362)][_0x212682(0x3b9)]((0x0,_0x17567c[_0x212682(0x304)])(this[_0x212682(0x3fb)]))[_0x212682(0x388)](_0x4fe497=>{const _0xcb677f=_0x212682;var _0x1bb282;if(_0x4fe497==null)return;(_0x1bb282=this[_0xcb677f(0x35a)])==null||_0x1bb282[_0xcb677f(0x300)](),this[_0xcb677f(0x35a)]=null;let {skeleton:_0x283252}=_0x4fe497,{scene:_0xd05567}=this['_context'];this['_pointerMoveDisposable']=_0xd05567[_0xcb677f(0x2f6)][_0xcb677f(0x411)]((0x0,_0x8bfe94['debounce'])(_0x6206a0=>{const _0x47670f=_0xcb677f;var _0x29f940,_0x5d8566;let {offsetX:_0x42d5c1,offsetY:_0xa1bc7c}=_0x6206a0,{x:_0x49e759,y:_0xc88ba}=_0xd05567['getCoordRelativeToViewport'](_0x18d7e0[_0x47670f(0x153)][_0x47670f(0x22b)]([_0x42d5c1,_0xa1bc7c])),{scaleX:_0x43973b,scaleY:_0x58aa9a}=_0xd05567[_0x47670f(0x225)](),_0x5e8580=_0xd05567[_0x47670f(0x238)](_0x18d7e0[_0x47670f(0x2ae)][_0x47670f(0x16c)]),_0xf14219=_0xd05567[_0x47670f(0x15f)](_0x18d7e0[_0x47670f(0x153)][_0x47670f(0x22b)]([_0x49e759,_0xc88ba]),_0x5e8580),_0x1c741e=_0x283252['getCellIndexByOffset'](_0x42d5c1,_0xa1bc7c,_0x43973b,_0x58aa9a,_0xf14219);(((_0x29f940=this[_0x47670f(0x278)])==null?void 0x0:_0x29f940['column'])!==_0x1c741e[_0x47670f(0x228)]||((_0x5d8566=this['_lastPointer'])==null?void 0x0:_0x5d8566[_0x47670f(0x130)])!==_0x1c741e[_0x47670f(0x130)])&&this['_cursors'][_0x47670f(0x143)](_0x43cb10=>{const _0x2a5ba7=_0x47670f;_0x43cb10[_0x2a5ba7(0x3b4)](_0x1c741e);});},0x64));})),this[_0x212682(0x428)]((0x0,_0x8bfe94[_0x212682(0x22e)])(()=>{const _0x3cfe26=_0x212682;var _0x3ea73b;(_0x3ea73b=this['_pointerMoveDisposable'])==null||_0x3ea73b[_0x3cfe26(0x300)](),this[_0x3cfe26(0x35a)]=null;}));}['_updateCollabCursors'](_0x1b8ca2,_0x529bc3){const _0x45a09c=_0x27c760;let _0x141505=this[_0x45a09c(0x138)][_0x45a09c(0x3d6)]();if(!_0x141505)return;let _0x23b583=this['_getSheetObject']();if(!_0x23b583)return;this['_cursors']['forEach'](_0x162097=>{_0x162097['makeDirty']();});let {scene:_0x306260}=_0x23b583,_0x57cf5a=_0x2cbfca(Array[_0x45a09c(0x478)](_0x529bc3[_0x45a09c(0x329)]()))[_0x45a09c(0x1c8)](_0xf6b2b0=>{const _0x535c83=_0x45a09c;let {color:_0x2b610f,range:_0x2b9b52,name:_0x2ad541,selection:_0x128163,sheetID:_0x30868a}=_0xf6b2b0,{startColumn:_0x274e50,startRow:_0x26cd4f,endColumn:_0x3bfa3e,endRow:_0x12a04f}=_0x2b9b52,_0x47d467=(0x0,_0x481211[_0x535c83(0x3b2)])(_0x26cd4f,_0x274e50,_0x306260,_0x141505),_0x24508d=(0x0,_0x481211[_0x535c83(0x3b2)])(_0x12a04f,_0x3bfa3e,_0x306260,_0x141505),{columnHeaderHeightAndMarginTop:_0x568bf5}=_0x141505,{startX:_0x4dee6b,startY:_0x3eb2fe}=_0x47d467,{endX:_0x22f905,endY:_0x11c99f}=_0x24508d,_0x1ae9d0=_0x22f905-_0x4dee6b,_0x344975=_0x11c99f-_0x3eb2fe;return new _0x23541b(_0x2ad541,{'labelPosition':_0x3eb2fe-_0x568bf5>=0x14?_0x535c83(0x255):'bottom','sheetID':_0x30868a,'range':_0x2b9b52,'color':_0x2b610f,'name':_0x2ad541,'selection':_0x128163,'left':_0x4dee6b,'top':_0x3eb2fe,'width':_0x1ae9d0,'height':_0x344975,'evented':!0x1,'zIndex':0x1389});});_0x306260[_0x45a09c(0x31b)](_0x57cf5a,0x1),this['_cursors']=new Set(_0x57cf5a);}['_removeCollabCursors'](){const _0x1b213d=_0x27c760;var _0x178f97;(_0x178f97=this[_0x1b213d(0x2b0)])==null||_0x178f97[_0x1b213d(0x143)](_0xabc42d=>_0xabc42d[_0x1b213d(0x393)]());}['_getSheetObject'](){const _0x42f492=_0x27c760;return(0x0,_0x481211[_0x42f492(0x1bf)])(this['_context'][_0x42f492(0x21c)],this[_0x42f492(0x3ab)]);}};_0x222e41=_0x444f34([_0x354fcf(0x1,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x481211[_0x27c760(0x493)])),_0x354fcf(0x2,(0x0,_0x8bfe94['Inject'])(_0x79c4b6)),_0x354fcf(0x3,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x8bfe94[_0x27c760(0x2d9)]))],_0x222e41);function _0x2cbfca(_0x25e938){const _0x1a7d62=_0x27c760;let _0x3cd033=new Map();return _0x25e938[_0x1a7d62(0x143)](_0xb8b181=>{const _0x589f3e=_0x1a7d62;if(_0x3cd033[_0x589f3e(0x3db)](_0xb8b181[_0x589f3e(0x41f)])){let _0x17ca42=_0x3cd033[_0x589f3e(0x346)](_0xb8b181[_0x589f3e(0x41f)]);_0x17ca42[_0x589f3e(0x455)]+=',\x20'+_0xb8b181[_0x589f3e(0x455)];}else _0x3cd033[_0x589f3e(0x269)](_0xb8b181['selection'],_0xb8b181);}),Array['from'](_0x3cd033[_0x1a7d62(0x329)]());}function _0x16eac8(_0x139f4e){const _0x59a46f=_0x27c760;return typeof _0x139f4e==_0x59a46f(0x41e)&&!!_0x139f4e;}function _0x5afb5e(_0x35992d){const _0x41077e=_0x27c760;return _0x35992d['eventID']===_0x2c6827[_0x41077e(0x446)][_0x41077e(0x340)]&&_0x41077e(0x28c)in _0x35992d&&_0x16eac8(_0x35992d[_0x41077e(0x28c)])&&typeof _0x35992d['data'][_0x41077e(0x162)]=='string'&&typeof _0x35992d[_0x41077e(0x28c)][_0x41077e(0x41f)]==_0x41077e(0x16a);}function _0x1bdc8e(_0x1073b8){const _0x43f1a1=_0x27c760;return _0x1073b8[_0x43f1a1(0x180)]===_0x2c6827['CollaborationEvent'][_0x43f1a1(0x337)]&&_0x43f1a1(0x28c)in _0x1073b8&&_0x16eac8(_0x1073b8[_0x43f1a1(0x28c)])&&typeof _0x1073b8[_0x43f1a1(0x28c)][_0x43f1a1(0x162)]==_0x43f1a1(0x16a);}function _0x3bcaf7(_0x36bcb7,_0x50ee2e){const _0x55b9f4=_0x27c760;let _0x791659;try{_0x791659=JSON['parse'](_0x36bcb7);}catch{return null;}if(!_0x16eac8(_0x791659)||typeof _0x791659[_0x55b9f4(0x2a9)]!=_0x55b9f4(0x16a)||typeof _0x791659['unitId']!=_0x55b9f4(0x16a)||typeof _0x791659[_0x55b9f4(0x2d3)]!=_0x55b9f4(0x16a))return null;let _0x3c8087=typeof _0x791659[_0x55b9f4(0x26e)]==_0x55b9f4(0x378)?_0x791659[_0x55b9f4(0x26e)]:_0x50ee2e;if(_0x3c8087==null)return null;let _0x1c998a=_0x16eac8(_0x791659[_0x55b9f4(0x1af)])&&typeof _0x791659[_0x55b9f4(0x1af)]['x']==_0x55b9f4(0x378)&&Number[_0x55b9f4(0x404)](_0x791659[_0x55b9f4(0x1af)]['x'])&&typeof _0x791659[_0x55b9f4(0x1af)]['y']==_0x55b9f4(0x378)&&Number[_0x55b9f4(0x404)](_0x791659[_0x55b9f4(0x1af)]['y'])?{'x':_0x791659['pointer']['x'],'y':_0x791659[_0x55b9f4(0x1af)]['y']}:null;return{'kind':_0x791659[_0x55b9f4(0x2a9)],'unitType':_0x3c8087,'unitId':_0x791659[_0x55b9f4(0x414)],'subUnitId':_0x791659[_0x55b9f4(0x2d3)],'selectedIds':Array['isArray'](_0x791659['selectedIds'])?_0x791659[_0x55b9f4(0x18d)]['filter'](_0x5df146=>typeof _0x5df146=='string'):[],'focusedId':typeof _0x791659['focusedId']==_0x55b9f4(0x16a)?_0x791659['focusedId']:null,'pointer':_0x1c998a};}function _0x41d210(_0x334427,_0x2b90c4,_0x3ce81c){const _0x206057=_0x27c760;return{'kind':_0x2b90c4,'unitType':_0x334427,'unitId':_0x3ce81c['unitId'],'subUnitId':_0x3ce81c[_0x206057(0x2d3)],'selectedIds':Array[_0x206057(0x478)](_0x3ce81c[_0x206057(0x18d)]),'focusedId':_0x3ce81c[_0x206057(0x46c)],'pointer':_0x3ce81c[_0x206057(0x1af)]?{..._0x3ce81c[_0x206057(0x1af)]}:null};}let _0x353961=class extends _0x8bfe94[_0x27c760(0x3e5)]{constructor(_0x522b26,_0x74117d,_0x375c6e,_0x4d8775,_0x5a90af,_0x3b5508){const _0x4a58a3=_0x27c760;super(),this[_0x4a58a3(0x414)]=_0x522b26,this['_session']=_0x74117d,this[_0x4a58a3(0x1b3)]=_0x375c6e,this[_0x4a58a3(0x321)]=_0x4d8775,this[_0x4a58a3(0x317)]=_0x5a90af,this[_0x4a58a3(0x28a)]=_0x3b5508,_0x589c09(this,_0x4a58a3(0x34f),!0x1),_0x589c09(this,_0x4a58a3(0x39e),!0x1);}get[_0x27c760(0x26e)](){const _0x3dd6b6=_0x27c760;return this['_adapter'][_0x3dd6b6(0x26e)];}[_0x27c760(0x393)](){const _0x1caf06=_0x27c760;this[_0x1caf06(0x33e)](),super['dispose']();}[_0x27c760(0x2af)](){const _0x95c8cf=_0x27c760;this[_0x95c8cf(0x39e)]||(this['_initialized']=!0x0,this[_0x95c8cf(0x18a)][_0x95c8cf(0x464)][_0x95c8cf(0x3b9)]((0x0,_0x453e23['takeUntil'])(this[_0x95c8cf(0x3fb)]))[_0x95c8cf(0x388)](_0x158a7e=>{const _0x44103c=_0x95c8cf;if(_0x158a7e===_0x4fec95[_0x44103c(0x161)][_0x44103c(0x41a)]){this['_online']=!0x0;let _0x480d3c=this[_0x44103c(0x1b3)][_0x44103c(0x1ef)](this['unitId']);_0x480d3c&&this[_0x44103c(0x260)](_0x480d3c);}else this[_0x44103c(0x34f)]=!0x1,this[_0x44103c(0x33e)]();}),this[_0x95c8cf(0x18a)]['event$']['pipe']((0x0,_0x453e23['takeUntil'])(this[_0x95c8cf(0x3fb)]))[_0x95c8cf(0x388)](_0x4c4394=>{const _0x5778bb=_0x95c8cf;_0x5afb5e(_0x4c4394)?this[_0x5778bb(0x2d2)](_0x4c4394):_0x1bdc8e(_0x4c4394)&&this[_0x5778bb(0x1fe)](_0x4c4394[_0x5778bb(0x28c)][_0x5778bb(0x162)]);}),this[_0x95c8cf(0x1b3)]['localPresence$'][_0x95c8cf(0x3b9)]((0x0,_0x453e23[_0x95c8cf(0x2d1)])(_0x9af6e6=>this[_0x95c8cf(0x34f)]&&_0x9af6e6['unitId']===this[_0x95c8cf(0x414)]),(0x0,_0x453e23[_0x95c8cf(0x1d6)])(_0x3014d2=>(0x0,_0x453e23[_0x95c8cf(0x338)])(_0x3014d2[_0x95c8cf(0x324)]),{'leading':!0x0,'trailing':!0x0}),(0x0,_0x453e23['takeUntil'])(this[_0x95c8cf(0x3fb)]))[_0x95c8cf(0x388)](_0x1ed952=>this[_0x95c8cf(0x260)](_0x1ed952)));}[_0x27c760(0x260)](_0x48dec0){const _0x2d6f61=_0x27c760;let _0x75c60f=this[_0x2d6f61(0x18a)][_0x2d6f61(0x177)]();if(!_0x75c60f||!this[_0x2d6f61(0x34f)])return;let _0x257570={'eventID':_0x2c6827[_0x2d6f61(0x446)]['UPDATE_CURSOR'],'data':{'unitID':this['unitId'],'memberID':_0x75c60f,'selection':JSON[_0x2d6f61(0x463)](_0x41d210(this['unitType'],this['_adapter']['presenceKind'],_0x48dec0))}};this[_0x2d6f61(0x18a)][_0x2d6f61(0x374)](_0x257570,this['unitId'])['catch'](()=>void 0x0);}[_0x27c760(0x2d2)](_0x5c6dc3){const _0x13462f=_0x27c760;let {memberID:_0x4f29b2,selection:_0x68fd6d}=_0x5c6dc3['data'];if(_0x4f29b2===this[_0x13462f(0x18a)]['getMemberID']())return;let _0x8aac7a=_0x3bcaf7(_0x68fd6d,this['unitType']);if(!_0x8aac7a||_0x8aac7a['kind']!==this[_0x13462f(0x1b3)][_0x13462f(0x494)]||_0x8aac7a[_0x13462f(0x26e)]!==this[_0x13462f(0x26e)]||_0x8aac7a['unitId']!==this[_0x13462f(0x414)])return;let _0x1568a8=this['_memberService'][_0x13462f(0x2a4)](this[_0x13462f(0x414)],_0x4f29b2),_0x48fa4b={'unitId':_0x8aac7a[_0x13462f(0x414)],'subUnitId':_0x8aac7a['subUnitId'],'selectedIds':_0x8aac7a[_0x13462f(0x18d)],'focusedId':_0x8aac7a['focusedId'],'pointer':_0x8aac7a[_0x13462f(0x1af)],'memberId':_0x4f29b2,'color':this[_0x13462f(0x321)][_0x13462f(0x315)](_0x4f29b2),'name':(_0x1568a8==null?void 0x0:_0x1568a8[_0x13462f(0x455)])??_0x4f29b2};this[_0x13462f(0x28a)]['executeCommand'](_0x8a72b5['id'],{'unitType':this['unitType'],'update':{'type':_0x13462f(0x269),'state':_0x48fa4b}})['catch'](()=>void 0x0);}[_0x27c760(0x1fe)](_0x4c71c3){const _0x110135=_0x27c760;this[_0x110135(0x28a)]['executeCommand'](_0x8a72b5['id'],{'unitType':this['unitType'],'update':{'type':_0x110135(0x439),'unitId':this[_0x110135(0x414)],'memberId':_0x4c71c3}})[_0x110135(0x166)](()=>void 0x0);}[_0x27c760(0x33e)](){const _0x4964ed=_0x27c760;this[_0x4964ed(0x28a)]['executeCommand'](_0x8a72b5['id'],{'unitType':this['unitType'],'update':{'type':_0x4964ed(0x46f),'unitId':this[_0x4964ed(0x414)]}})[_0x4964ed(0x166)](()=>void 0x0);}};_0x353961=_0x444f34([_0x354fcf(0x3,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x1642fa)),_0x354fcf(0x4,(0x0,_0x8bfe94['Inject'])(_0x4fec95[_0x27c760(0x167)])),_0x354fcf(0x5,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x8bfe94[_0x27c760(0x175)]))],_0x353961);let _0x472a63=class extends _0x8bfe94[_0x27c760(0x3e5)]{constructor(_0x11e7ac,_0x4d4f0d,_0x5e35ee,_0x5cb351){const _0x224444=_0x27c760;super(),this[_0x224444(0x372)]=_0x11e7ac,this[_0x224444(0x46a)]=_0x4d4f0d,this[_0x224444(0x201)]=_0x5e35ee,this['_adapterRegistry']=_0x5cb351,_0x589c09(this,_0x224444(0x3bb),!0x1),_0x589c09(this,_0x224444(0x355),new Map()),_0x589c09(this,_0x224444(0x31c),new Map()),_0x589c09(this,_0x224444(0x379),new Map()),this['_init']();}[_0x27c760(0x393)](){const _0x1e7e78=_0x27c760;this['_isDisposed']=!0x0,this[_0x1e7e78(0x379)]['forEach'](_0x1ab3e7=>_0x1ab3e7[_0x1e7e78(0x393)]()),this['_adapterDisposables'][_0x1e7e78(0x46f)](),this[_0x1e7e78(0x355)][_0x1e7e78(0x143)](_0x409cb4=>_0x409cb4[_0x1e7e78(0x393)]()),this[_0x1e7e78(0x355)][_0x1e7e78(0x46f)](),this[_0x1e7e78(0x31c)][_0x1e7e78(0x46f)](),super[_0x1e7e78(0x393)]();}[_0x27c760(0x27c)](){const _0x50a836=_0x27c760;this[_0x50a836(0x3f6)][_0x50a836(0x2a0)][_0x50a836(0x3b9)]((0x0,_0x453e23[_0x50a836(0x304)])(this['dispose$']))[_0x50a836(0x388)](_0x327c6d=>this[_0x50a836(0x1fd)](_0x327c6d));}[_0x27c760(0x1fd)](_0x3523de){const _0x59b259=_0x27c760;let _0x3c2e30=new Set(_0x3523de[_0x59b259(0x1c8)](_0x111b58=>_0x111b58['unitType']));this[_0x59b259(0x379)]['forEach']((_0x34a57d,_0x268133)=>{const _0xf3dea3=_0x59b259;_0x3c2e30[_0xf3dea3(0x3db)](_0x268133)||(_0x34a57d[_0xf3dea3(0x393)](),this[_0xf3dea3(0x379)]['delete'](_0x268133),this[_0xf3dea3(0x23e)](_0x268133));}),_0x3523de[_0x59b259(0x143)](_0x34632f=>{const _0x300609=_0x59b259;this[_0x300609(0x379)][_0x300609(0x3db)](_0x34632f['unitType'])||this[_0x300609(0x14b)](_0x34632f);});}['_bindAdapter'](_0x10179e){const _0x3268de=_0x27c760;let _0x486f29=new _0x8bfe94[(_0x3268de(0x2f1))]();this[_0x3268de(0x379)][_0x3268de(0x269)](_0x10179e[_0x3268de(0x26e)],_0x486f29),_0x486f29['add'](_0x10179e['activate']()),this[_0x3268de(0x372)]['getAllUnitsForType'](_0x10179e[_0x3268de(0x26e)])[_0x3268de(0x143)](_0x245501=>this['_startEntity'](_0x245501[_0x3268de(0x475)](),_0x10179e)[_0x3268de(0x166)](()=>void 0x0));let _0x431a95=this[_0x3268de(0x372)]['getTypeOfUnitAdded$'](_0x10179e[_0x3268de(0x26e)])[_0x3268de(0x388)](({unit:_0x5f4e5b})=>this[_0x3268de(0x3f3)](_0x5f4e5b[_0x3268de(0x475)](),_0x10179e)[_0x3268de(0x166)](()=>void 0x0));_0x486f29[_0x3268de(0x194)]((0x0,_0x8bfe94['toDisposable'])(()=>_0x431a95[_0x3268de(0x300)]()));let _0x46c0c8=this[_0x3268de(0x372)][_0x3268de(0x399)](_0x10179e['unitType'])[_0x3268de(0x388)](_0x414e6e=>this[_0x3268de(0x481)](_0x414e6e[_0x3268de(0x475)]()));_0x486f29['add']((0x0,_0x8bfe94[_0x3268de(0x22e)])(()=>_0x46c0c8[_0x3268de(0x300)]()));}async[_0x27c760(0x3f3)](_0x5b6dc5,_0x1d9aa7){const _0x29f233=_0x27c760;if(this[_0x29f233(0x355)][_0x29f233(0x3db)](_0x5b6dc5)||this['_pendingEntities']['has'](_0x5b6dc5))return;let _0x369bff={};this[_0x29f233(0x31c)][_0x29f233(0x269)](_0x5b6dc5,_0x369bff);let _0x181a6e=await this['_collabSessionService']['requireSession'](_0x5b6dc5)['catch'](_0x4b13f0=>{const _0x4ab904=_0x29f233;throw this[_0x4ab904(0x31c)][_0x4ab904(0x346)](_0x5b6dc5)===_0x369bff&&this['_pendingEntities'][_0x4ab904(0x289)](_0x5b6dc5),_0x4b13f0;});if(this['_isDisposed']||this[_0x29f233(0x31c)]['get'](_0x5b6dc5)!==_0x369bff||this['_adapterRegistry'][_0x29f233(0x346)](_0x1d9aa7[_0x29f233(0x26e)])!==_0x1d9aa7){this[_0x29f233(0x31c)][_0x29f233(0x346)](_0x5b6dc5)===_0x369bff&&this[_0x29f233(0x31c)][_0x29f233(0x289)](_0x5b6dc5);return;}let _0x5a610d=this['_injector']['createInstance'](_0x353961,_0x5b6dc5,_0x181a6e,_0x1d9aa7);_0x5a610d['init'](),this[_0x29f233(0x31c)]['delete'](_0x5b6dc5),this[_0x29f233(0x355)][_0x29f233(0x269)](_0x5b6dc5,_0x5a610d);}['_disposeEntity'](_0x452727){const _0x4d5d1d=_0x27c760;this['_pendingEntities'][_0x4d5d1d(0x289)](_0x452727);let _0x2e21b6=this[_0x4d5d1d(0x355)]['get'](_0x452727);_0x2e21b6&&(_0x2e21b6[_0x4d5d1d(0x393)](),this[_0x4d5d1d(0x355)][_0x4d5d1d(0x289)](_0x452727));}[_0x27c760(0x23e)](_0x4618fd){const _0x3f8741=_0x27c760;this[_0x3f8741(0x372)][_0x3f8741(0x45d)](_0x4618fd)['forEach'](_0x32be1f=>this[_0x3f8741(0x31c)][_0x3f8741(0x289)](_0x32be1f['getUnitId']())),Array[_0x3f8741(0x478)](this[_0x3f8741(0x355)][_0x3f8741(0x3a1)]())[_0x3f8741(0x143)](([_0x42c726,_0xbe545a])=>{const _0x226644=_0x3f8741;_0xbe545a[_0x226644(0x26e)]===_0x4618fd&&this[_0x226644(0x481)](_0x42c726);});}};_0x472a63=_0x444f34([_0x354fcf(0x0,_0x8bfe94[_0x27c760(0x252)]),_0x354fcf(0x1,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x8bfe94[_0x27c760(0x21b)])),_0x354fcf(0x2,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x4fec95[_0x27c760(0x368)])),_0x354fcf(0x3,(0x0,_0x8bfe94['Inject'])(_0x33531c[_0x27c760(0x2cb)]))],_0x472a63);let _0x16d765={'toast':_0x27c760(0x2a2),'actionButton':_0x27c760(0x480)},_0x214384=class extends _0x8bfe94[_0x27c760(0x3ec)]{constructor(_0xd6e2d5,_0x1376f2,_0x8e27d1,_0x21f8c9,_0x4f7c45,_0x4ee68d){const _0x51549e=_0x27c760;super(),this[_0x51549e(0x461)]=_0xd6e2d5,this[_0x51549e(0x2c7)]=_0x1376f2,this['_collaborationUIEventService']=_0x8e27d1,this[_0x51549e(0x2de)]=_0x21f8c9,this[_0x51549e(0x19a)]=_0x4f7c45,this[_0x51549e(0x49d)]=_0x4ee68d,_0x589c09(this,_0x51549e(0x1bd),null),_0x589c09(this,_0x51549e(0x3ce),new Set()),this[_0x51549e(0x25c)](),this[_0x51549e(0x30b)]();}['dispose'](){const _0x3e802f=_0x27c760;var _0x19420b;(_0x19420b=this['_conflictNotification'])==null||_0x19420b['dispose'](),this['_conflictNotification']=null,super[_0x3e802f(0x393)]();}['_setupBeforeClosingHandler'](){const _0x543502=_0x27c760;this[_0x543502(0x428)](this[_0x543502(0x461)]['registerBeforeClose'](()=>{const _0x2a8681=_0x543502;if(this[_0x2a8681(0x2c7)][_0x2a8681(0x473)]['size'])return this[_0x2a8681(0x49d)]['t'](_0x2a8681(0x37b));}));}[_0x27c760(0x30b)](){const _0x57a1bf=_0x27c760;this[_0x57a1bf(0x428)](this[_0x57a1bf(0x1c4)][_0x57a1bf(0x370)]['subscribe'](_0x2033c4=>{const _0x11e3f2=_0x57a1bf;_0x2033c4['id']===_0x4fec95[_0x11e3f2(0x1ad)][_0x11e3f2(0x430)]&&this[_0x11e3f2(0x2de)][_0x11e3f2(0x39f)]({'type':_0x393571[_0x11e3f2(0x1d5)][_0x11e3f2(0x3cf)],'content':this[_0x11e3f2(0x49d)]['t'](_0x11e3f2(0x2fe))}),_0x2033c4['id']===_0x4fec95[_0x11e3f2(0x1ad)]['CLOSE_ROOM']&&this[_0x11e3f2(0x2de)][_0x11e3f2(0x39f)]({'type':_0x393571['MessageType']['Warning'],'content':this[_0x11e3f2(0x49d)]['t'](_0x11e3f2(0x2fd))}),_0x2033c4['id']===_0x4fec95['CollaborationUIEventId'][_0x11e3f2(0x479)]&&this[_0x11e3f2(0x217)]({'title':this[_0x11e3f2(0x49d)]['t'](_0x11e3f2(0x254)),'content':this[_0x11e3f2(0x49d)]['t'](_0x11e3f2(0x18f)),'type':'error','duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'classNames':_0x16d765,'action':{'label':this[_0x11e3f2(0x49d)]['t'](_0x11e3f2(0x35b)),'onClick':_0x323cd5=>{const _0x3397a8=_0x11e3f2;_0x323cd5[_0x3397a8(0x31a)](),window[_0x3397a8(0x36c)][_0x3397a8(0x389)]();}}}),_0x2033c4['id']===_0x4fec95[_0x11e3f2(0x1ad)][_0x11e3f2(0x432)]&&this[_0x11e3f2(0x35c)](),_0x2033c4['id']===_0x4fec95[_0x11e3f2(0x1ad)][_0x11e3f2(0x47e)]&&_0x2033c4[_0x11e3f2(0x3df)]&&this['_showConflictCacheClearFailedNotification'](_0x2033c4[_0x11e3f2(0x3df)],_0x2033c4[_0x11e3f2(0x3ba)]??''),_0x2033c4['id']===_0x4fec95[_0x11e3f2(0x1ad)][_0x11e3f2(0x40d)]&&this['_replaceConflictNotification']({'title':this[_0x11e3f2(0x49d)]['t']('collaboration-client-ui.conflict.title'),'content':this[_0x11e3f2(0x49d)]['t'](_0x11e3f2(0x445)),'type':_0x11e3f2(0x496),'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'classNames':_0x16d765,'action':{'label':this[_0x11e3f2(0x49d)]['t'](_0x11e3f2(0x35b)),'onClick':_0x2bf276=>{const _0x4d65f9=_0x11e3f2;_0x2bf276[_0x4d65f9(0x31a)](),window[_0x4d65f9(0x36c)][_0x4d65f9(0x389)]();}}}),_0x2033c4['id']===_0x4fec95[_0x11e3f2(0x1ad)][_0x11e3f2(0x2c6)]&&this['_messageService']['show']({'type':_0x393571[_0x11e3f2(0x1d5)][_0x11e3f2(0x3cf)],'content':this[_0x11e3f2(0x49d)]['t'](_0x2033c4[_0x11e3f2(0x28c)]||'')}),_0x2033c4['id']===_0x4fec95[_0x11e3f2(0x1ad)][_0x11e3f2(0x1e4)]&&this[_0x11e3f2(0x2de)][_0x11e3f2(0x39f)]({'type':_0x393571[_0x11e3f2(0x1d5)]['Warning'],'content':this[_0x11e3f2(0x49d)]['t'](_0x11e3f2(0x1e9))}),_0x2033c4['id']===_0x4fec95['CollaborationUIEventId'][_0x11e3f2(0x3ef)]&&this['_messageService'][_0x11e3f2(0x39f)]({'type':_0x393571['MessageType'][_0x11e3f2(0x3c7)],'content':this[_0x11e3f2(0x49d)]['t'](_0x11e3f2(0x16b))}),_0x2033c4['id']===_0x4fec95['CollaborationUIEventId'][_0x11e3f2(0x18b)]&&this['_messageService'][_0x11e3f2(0x39f)]({'type':_0x393571[_0x11e3f2(0x1d5)][_0x11e3f2(0x3c7)],'content':this[_0x11e3f2(0x49d)]['t'](_0x11e3f2(0x1ce))});}));}[_0x27c760(0x35c)](){const _0x3f4ff9=_0x27c760;this[_0x3f4ff9(0x217)]({'title':this[_0x3f4ff9(0x49d)]['t'](_0x3f4ff9(0x484)),'content':this[_0x3f4ff9(0x49d)]['t'](_0x3f4ff9(0x3af)),'type':'loading','duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1});}[_0x27c760(0x405)](_0x1fd0ec,_0x919f29){const _0x44a467=_0x27c760;this[_0x44a467(0x217)]({'title':this[_0x44a467(0x49d)]['t'](_0x44a467(0x484)),'content':this[_0x44a467(0x49d)]['t'](_0x44a467(0x339)),'type':'error','duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'classNames':_0x16d765,'action':{'label':this[_0x44a467(0x49d)]['t'](_0x44a467(0x48d)),'onClick':_0x2fa763=>{const _0x13bf33=_0x44a467;_0x2fa763[_0x13bf33(0x31a)](),this[_0x13bf33(0x487)](_0x1fd0ec,_0x919f29);}}});}[_0x27c760(0x487)](_0x314b15,_0x3f1fd5){const _0x365c04=_0x27c760;let _0x223728=_0x314b15+':'+(_0x3f1fd5??'');this[_0x365c04(0x3ce)][_0x365c04(0x3db)](_0x223728)||(this[_0x365c04(0x3ce)][_0x365c04(0x194)](_0x223728),this[_0x365c04(0x35c)](),this[_0x365c04(0x2c7)][_0x365c04(0x365)](_0x314b15,_0x3f1fd5)[_0x365c04(0x349)](()=>window[_0x365c04(0x36c)]['reload']())[_0x365c04(0x166)](()=>this[_0x365c04(0x405)](_0x314b15,_0x3f1fd5))['finally'](()=>this[_0x365c04(0x3ce)]['delete'](_0x223728)));}[_0x27c760(0x217)](_0x642b9c){const _0x38cf4d=_0x27c760;var _0x4f9078;(_0x4f9078=this['_conflictNotification'])==null||_0x4f9078[_0x38cf4d(0x393)](),this['_conflictNotification']=this[_0x38cf4d(0x19a)][_0x38cf4d(0x39f)](_0x642b9c);}};_0x214384=_0x444f34([_0x354fcf(0x0,_0x33531c[_0x27c760(0x253)]),_0x354fcf(0x1,_0x4fec95[_0x27c760(0x24a)]),_0x354fcf(0x2,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x4fec95[_0x27c760(0x18e)])),_0x354fcf(0x3,_0x33531c[_0x27c760(0x363)]),_0x354fcf(0x4,_0x33531c[_0x27c760(0x28b)]),_0x354fcf(0x5,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x8bfe94[_0x27c760(0x310)]))],_0x214384);let _0x3224f4=(0x0,_0x8bfe94[_0x27c760(0x38b)])('uni.network.url-service'),_0x2ef5bb=class extends _0x8bfe94[_0x27c760(0x3e5)]{constructor(_0x3d394a,_0x2b0f6c,_0x23fb96,_0x1cda3b){const _0x3f5666=_0x27c760;super(),this['_urlService']=_0x3d394a,this['_logService']=_0x2b0f6c,this[_0x3f5666(0x28a)]=_0x23fb96,this[_0x3f5666(0x200)]=_0x1cda3b,this[_0x3f5666(0x27c)]()[_0x3f5666(0x166)](_0xb2b253=>this['_logService']['error'](_0x3f5666(0x41d),_0xb2b253));}async['_init'](){const _0x15ae24=_0x27c760;let _0x539605=this[_0x15ae24(0x235)][_0x15ae24(0x498)](_0x15ae24(0x21c)),_0x5105c6=this[_0x15ae24(0x235)][_0x15ae24(0x498)](_0x15ae24(0x483)),_0x2f3ab8=this['_urlService'][_0x15ae24(0x498)](_0x15ae24(0x187));if(!_0x539605||!_0x5105c6){this[_0x15ae24(0x18c)][_0x15ae24(0x1b1)](_0x15ae24(0x41d),_0x15ae24(0x454));return;}let _0x46d0ed=await this[_0x15ae24(0x200)][_0x15ae24(0x159)](_0x539605,Number(_0x5105c6),_0x2f3ab8);this[_0x15ae24(0x32d)]||_0x46d0ed&&_0x46d0ed instanceof _0x8bfe94['Workbook']&&await this[_0x15ae24(0x417)](_0x46d0ed);}async[_0x27c760(0x417)](_0x15343b){const _0x4f940e=_0x27c760;await this['_updateSubUnitFromURLParams'](_0x15343b,!0x0),!this[_0x4f940e(0x32d)]&&(_0x15343b[_0x4f940e(0x2e5)]['pipe']((0x0,_0x453e23[_0x4f940e(0x304)])(this[_0x4f940e(0x3fb)]))[_0x4f940e(0x388)](_0x229b26=>{const _0x59c416=_0x4f940e;_0x229b26&&this[_0x59c416(0x395)](_0x229b26);}),this[_0x4f940e(0x235)][_0x4f940e(0x165)]['pipe']((0x0,_0x453e23[_0x4f940e(0x304)])(this[_0x4f940e(0x3fb)]))[_0x4f940e(0x388)](()=>{const _0x1b71ac=_0x4f940e;this['_updateSubUnitFromURLParams'](_0x15343b)[_0x1b71ac(0x166)](_0x13ef17=>this[_0x1b71ac(0x18c)]['error'](_0x1b71ac(0x41d),_0x13ef17));}));}[_0x27c760(0x395)](_0x3ff0b0,_0x1a89b8=!0x1){const _0x338da7=_0x27c760;let _0x9b75b6=this[_0x338da7(0x235)]['getParam']('subunit');_0x3ff0b0[_0x338da7(0x1f2)]()!==_0x9b75b6&&this[_0x338da7(0x235)]['setParam'](_0x338da7(0x187),_0x3ff0b0[_0x338da7(0x1f2)](),_0x1a89b8);}async['_updateSubUnitFromURLParams'](_0x5e3db2,_0x3ec9fe=!0x1){const _0x4d2e86=_0x27c760;var _0x2a8522;let _0x1fab37=this[_0x4d2e86(0x235)][_0x4d2e86(0x498)](_0x4d2e86(0x187));if(!_0x1fab37||!_0x5e3db2[_0x4d2e86(0x26b)](_0x1fab37)){let _0x2f2459=_0x5e3db2[_0x4d2e86(0x13f)]()[0x0],_0x4c9100=_0x5e3db2[_0x4d2e86(0x26b)](_0x2f2459);if(!_0x4c9100||(this['_updateURLWithCurrentState'](_0x4c9100,!0x0),this['_disposed']))return;await this[_0x4d2e86(0x28a)][_0x4d2e86(0x492)](_0x5c7e8a['SetWorksheetActivateCommand']['id'],{'unitId':_0x5e3db2['getUnitId'](),'subUnitId':_0x2f2459});}else(_0x3ec9fe||((_0x2a8522=_0x5e3db2[_0x4d2e86(0x415)]())==null?void 0x0:_0x2a8522[_0x4d2e86(0x1f2)]())!==_0x1fab37)&&await this[_0x4d2e86(0x28a)][_0x4d2e86(0x492)](_0x5c7e8a[_0x4d2e86(0x1ee)]['id'],{'unitId':_0x5e3db2['getUnitId'](),'subUnitId':_0x1fab37});}};_0x2ef5bb=_0x444f34([_0x354fcf(0x0,_0x3224f4),_0x354fcf(0x1,_0x8bfe94[_0x27c760(0x2a1)]),_0x354fcf(0x2,_0x8bfe94['ICommandService']),_0x354fcf(0x3,(0x0,_0x8bfe94['Inject'])(_0x4fec95[_0x27c760(0x467)]))],_0x2ef5bb);let _0x492753=class{constructor(_0x496a3e,_0x360e82){const _0x3cc2b0=_0x27c760;this[_0x3cc2b0(0x2d4)]=_0x496a3e,this['_renderManagerService']=_0x360e82;}[_0x27c760(0x146)](_0x183e9a){const _0x5802cf=_0x27c760;this[_0x5802cf(0x20d)](_0x183e9a),this['_transformPreviousActiveRange'](_0x183e9a);}['transformRemoteChangeset'](_0x391270){const _0x1478be=_0x27c760;let {unitID:_0x3b5dde}=_0x391270,{redoCache:_0x53ff6b}=this[_0x1478be(0x367)][_0x1478be(0x2bf)](_0x3b5dde)['with'](_0x8affde[_0x1478be(0x176)])[_0x1478be(0x33c)]();if(_0x53ff6b[_0x1478be(0x3be)]===0x0)return _0x391270;let _0x3b2a8c=_0x8bfe94['Tools'][_0x1478be(0x29a)](_0x391270[_0x1478be(0x402)][0x0]);for(let _0x42480e=0x0;_0x42480e<_0x53ff6b[_0x1478be(0x3be)];_0x42480e++){let _0x466ed5={'id':'doc.mutation.rich-text-editing','params':{..._0x53ff6b[_0x42480e]}},_0x49a8e4=this['_transformService'][_0x1478be(0x2bc)](_0x3b2a8c,_0x466ed5,!0x1);if((0x0,_0x2c6827[_0x1478be(0x34d)])(_0x49a8e4))throw _0x49a8e4['error'];_0x3b2a8c=_0x49a8e4[_0x1478be(0x1e8)];}return{..._0x8bfe94[_0x1478be(0x173)]['deepClone'](_0x391270),'mutations':[_0x3b2a8c]};}[_0x27c760(0x20d)](_0x352d3e){const _0x57419d=_0x27c760;let {unitID:_0x175ec7}=_0x352d3e,_0x39aa37=this[_0x57419d(0x367)][_0x57419d(0x2bf)](_0x175ec7)['with'](_0x8affde['DocIMEInputManagerService']),{undoCache:_0x338b28,redoCache:_0x1f5e41}=_0x39aa37['getUndoRedoMutationParamsCache']();if(_0x338b28[_0x57419d(0x3be)]===0x0||_0x1f5e41[_0x57419d(0x3be)]===0x0)return;let _0x48b718=[],_0xa337e1=[],_0x3b2676=_0x8bfe94[_0x57419d(0x173)][_0x57419d(0x29a)](_0x352d3e[_0x57419d(0x402)][0x0]),_0x133a0e=_0x8bfe94['Tools'][_0x57419d(0x29a)](_0x352d3e['mutations'][0x0]);for(let _0x24cbda=_0x338b28[_0x57419d(0x3be)]-0x1;_0x24cbda>=0x0;_0x24cbda--){let _0x3e99e2={'id':_0x57419d(0x3c1),'params':{..._0x338b28[_0x24cbda]}},_0x421d3e={'id':'doc.mutation.rich-text-editing','params':{..._0x1f5e41[_0x24cbda]}},_0xa443c7=this[_0x57419d(0x2d4)][_0x57419d(0x2bc)](_0x3b2676,_0x3e99e2,!0x1),_0x12793f=this[_0x57419d(0x2d4)]['transformMutation'](_0x133a0e,_0x421d3e,!0x1);if((0x0,_0x2c6827[_0x57419d(0x34d)])(_0xa443c7))throw _0xa443c7[_0x57419d(0x496)];if((0x0,_0x2c6827[_0x57419d(0x34d)])(_0x12793f))throw _0x12793f[_0x57419d(0x496)];_0x48b718[_0x57419d(0x2e7)](_0xa443c7[_0x57419d(0x2b3)]['params']),_0xa337e1[_0x57419d(0x2e7)](_0x12793f[_0x57419d(0x2b3)][_0x57419d(0x16d)]),_0x3b2676=_0xa443c7['m1Prime'],_0x133a0e=_0x12793f[_0x57419d(0x1e8)];}_0x39aa37['setUndoRedoMutationParamsCache']({'undoCache':_0x48b718,'redoCache':_0xa337e1});}[_0x27c760(0x3f7)](_0x32bcfa){const _0x4b9cb5=_0x27c760;let {unitID:_0x450839}=_0x32bcfa,_0x557aec=this[_0x4b9cb5(0x367)][_0x4b9cb5(0x2bf)](_0x450839)[_0x4b9cb5(0x396)](_0x8affde[_0x4b9cb5(0x176)]),_0xc93605=_0x557aec['getActiveRange']();if(_0xc93605==null)return;let _0x57a5f6=[{'id':_0x4b9cb5(0x3c1),'params':{'unitId':_0x32bcfa[_0x4b9cb5(0x3df)],'actions':null,'textRanges':[_0xc93605]}}],_0x15f7de=this[_0x4b9cb5(0x2d4)]['transformMutationsWithChangeset'](_0x32bcfa,_0x57a5f6);if(!(0x0,_0x2c6827[_0x4b9cb5(0x38e)])(_0x15f7de))throw _0x15f7de[_0x4b9cb5(0x496)];let _0x1af8e0=_0x15f7de[_0x4b9cb5(0x2b3)][0x0]['params'][_0x4b9cb5(0x258)];Array[_0x4b9cb5(0x211)](_0x1af8e0)&&_0x1af8e0['length']&&_0x557aec['setActiveRange'](_0x1af8e0[0x0]);}};_0x492753=_0x444f34([_0x354fcf(0x0,_0x2c6827[_0x27c760(0x345)]),_0x354fcf(0x1,_0x18d7e0[_0x27c760(0x457)])],_0x492753);let _0x5f03d8=class{constructor(_0x24add5,_0x377921,_0x2dc8fb){const _0x1d49c2=_0x27c760;this[_0x1d49c2(0x46a)]=_0x24add5,this[_0x1d49c2(0x2d4)]=_0x377921,this[_0x1d49c2(0x23c)]=_0x2dc8fb;}[_0x27c760(0x1f0)](_0x4e44){this['_transformHistoryAndStateStack'](_0x4e44);}[_0x27c760(0x2cf)](_0x1e1188){const _0x190364=_0x27c760;let {unitID:_0x383308}=_0x1e1188,{collaboration:_0x21153f}=this['_docStateChangeManagerService'][_0x190364(0x302)](_0x383308);if(_0x21153f[_0x190364(0x3be)]===0x0)return _0x1e1188;let _0x2c7a20=_0x8bfe94['Tools'][_0x190364(0x29a)](_0x1e1188[_0x190364(0x402)][0x0]);for(let _0x11dd0b=0x0;_0x11dd0b<_0x21153f[_0x190364(0x3be)];_0x11dd0b++){let _0x59ac77={'id':_0x190364(0x3c1),'params':{'unitId':_0x21153f[_0x11dd0b][_0x190364(0x414)],..._0x21153f[_0x11dd0b]['redoState']}},_0x1b8254=this[_0x190364(0x2d4)]['transformMutation'](_0x2c7a20,_0x59ac77,!0x1);if((0x0,_0x2c6827['isTransformMutationFailure'])(_0x1b8254))throw _0x1b8254[_0x190364(0x496)];_0x2c7a20=_0x1b8254[_0x190364(0x1e8)];}return{..._0x8bfe94[_0x190364(0x173)][_0x190364(0x29a)](_0x1e1188),'mutations':[_0x2c7a20]};}[_0x27c760(0x26a)](_0x2140ff){const _0x463545=_0x27c760;let {unitID:_0x23332a}=_0x2140ff,{history:_0x4d7114,collaboration:_0x4ca294}=this[_0x463545(0x23c)][_0x463545(0x302)](_0x23332a);if(_0x4d7114[_0x463545(0x3be)]===0x0&&_0x4ca294[_0x463545(0x3be)]===0x0)return;let _0x3b6423=[],_0x219151=[],_0x41a6f8=_0x8bfe94['Tools'][_0x463545(0x29a)](_0x2140ff[_0x463545(0x402)][0x0]),_0x197b5c=_0x8bfe94[_0x463545(0x173)][_0x463545(0x29a)](_0x2140ff[_0x463545(0x402)][0x0]);for(let _0x41a953=_0x4d7114[_0x463545(0x3be)]-0x1;_0x41a953>=0x0;_0x41a953--){let _0x3bb4ec={'id':_0x463545(0x3c1),'params':{'unitId':_0x4d7114[_0x41a953][_0x463545(0x414)],..._0x4d7114[_0x41a953]['undoState']}},_0x433da5={'id':_0x463545(0x3c1),'params':{'unitId':_0x4d7114[_0x41a953]['unitId'],..._0x4d7114[_0x41a953]['redoState']}},_0x7fed6e=this['_transformService']['transformMutation'](_0x41a6f8,_0x3bb4ec,!0x1),_0x1adaef=this[_0x463545(0x2d4)][_0x463545(0x2bc)](_0x197b5c,_0x433da5,!0x1);if((0x0,_0x2c6827[_0x463545(0x34d)])(_0x7fed6e))throw _0x7fed6e[_0x463545(0x496)];if((0x0,_0x2c6827[_0x463545(0x34d)])(_0x1adaef))throw _0x1adaef[_0x463545(0x496)];_0x3b6423['unshift']({..._0x4d7114[_0x41a953],'undoState':_0x7fed6e[_0x463545(0x2b3)][_0x463545(0x16d)],'redoState':_0x1adaef['m2Prime']['params']}),_0x41a6f8=_0x7fed6e[_0x463545(0x1e8)],_0x197b5c=_0x1adaef['m1Prime'];}_0x41a6f8=_0x8bfe94[_0x463545(0x173)][_0x463545(0x29a)](_0x2140ff[_0x463545(0x402)][0x0]),_0x197b5c=_0x8bfe94[_0x463545(0x173)][_0x463545(0x29a)](_0x2140ff['mutations'][0x0]);for(let _0x33aa70=_0x4ca294[_0x463545(0x3be)]-0x1;_0x33aa70>=0x0;_0x33aa70--){let _0x2b82ca={'id':_0x463545(0x3c1),'params':{'unitId':_0x4ca294[_0x33aa70][_0x463545(0x414)],..._0x4ca294[_0x33aa70][_0x463545(0x358)]}},_0x31ba0e={'id':_0x463545(0x3c1),'params':{'unitId':_0x4ca294[_0x33aa70][_0x463545(0x414)],..._0x4ca294[_0x33aa70][_0x463545(0x34e)]}},_0x4ef668=this['_transformService'][_0x463545(0x2bc)](_0x41a6f8,_0x2b82ca,!0x1),_0x1c18cf=this[_0x463545(0x2d4)][_0x463545(0x2bc)](_0x197b5c,_0x31ba0e,!0x1);if((0x0,_0x2c6827['isTransformMutationFailure'])(_0x4ef668))throw _0x4ef668['error'];if((0x0,_0x2c6827['isTransformMutationFailure'])(_0x1c18cf))throw _0x1c18cf['error'];_0x219151['unshift']({..._0x4ca294[_0x33aa70],'undoState':_0x4ef668[_0x463545(0x2b3)]['params'],'redoState':_0x1c18cf[_0x463545(0x2b3)][_0x463545(0x16d)]}),_0x41a6f8=_0x4ef668['m1Prime'],_0x197b5c=_0x1c18cf[_0x463545(0x1e8)];}this[_0x463545(0x23c)][_0x463545(0x20b)](_0x23332a,{'history':_0x3b6423,'collaboration':_0x219151});}};_0x5f03d8=_0x444f34([_0x354fcf(0x0,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x8bfe94['Injector'])),_0x354fcf(0x1,_0x2c6827[_0x27c760(0x345)]),_0x354fcf(0x2,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x4de23f[_0x27c760(0x2ac)]))],_0x5f03d8);let _0x1ec9a4=class{constructor(_0x2b2388,_0x1cf384){const _0x1a0c0e=_0x27c760;this[_0x1a0c0e(0x188)]=_0x2b2388,this[_0x1a0c0e(0x2d4)]=_0x1cf384;}[_0x27c760(0x17f)](_0x1d77ac){const _0x4d92e6=_0x27c760;var _0x2df0eb;let _0x2c2399=this['_docSelectionManagerService']['getDocRanges']()??[],_0x24509d=this[_0x4d92e6(0x188)][_0x4d92e6(0x359)]();if(_0x2c2399[_0x4d92e6(0x3be)]===0x0||_0x24509d==null)return null;let _0x3408a=_0x1d77ac['unitID'],_0x42273f=[{'id':_0x4d92e6(0x3c1),'params':{'unitId':_0x3408a,'actions':null,'textRanges':_0x2c2399}}],_0x3afb26=this['_transformService'][_0x4d92e6(0x151)](_0x1d77ac,_0x42273f);if(!(0x0,_0x2c6827[_0x4d92e6(0x38e)])(_0x3afb26))throw _0x3afb26[_0x4d92e6(0x496)];let _0x1e9b16=(_0x2df0eb=_0x3afb26[_0x4d92e6(0x2b3)][0x0])==null?void 0x0:_0x2df0eb[_0x4d92e6(0x16d)],_0x561652=_0x1e9b16&&typeof _0x1e9b16==_0x4d92e6(0x41e)&&_0x4d92e6(0x258)in _0x1e9b16?_0x1e9b16[_0x4d92e6(0x258)]:null;if(!_0x3ded7a(_0x561652))return null;let _0x5e3854=_0x540710(_0x1d77ac[_0x4d92e6(0x402)][_0x4d92e6(0x305)](_0x52eaba=>_0x3368b1(_0x52eaba[_0x4d92e6(0x16d)]))?_0x561652[_0x4d92e6(0x2d1)](_0x102df6=>!(_0x4d92e6(0x1df)in _0x102df6)):_0x561652,{..._0x24509d,'options':_0x24509d['options']?{..._0x24509d[_0x4d92e6(0x369)],'wholeDocument':!0x1}:void 0x0}),_0x22281e={'unitId':_0x3408a,'subUnitId':_0x3408a};this[_0x4d92e6(0x188)]['replaceSelectionInfoWithoutRefresh'](_0x5e3854,_0x22281e);let _0x2e09cf=!0x0;return{'commit':()=>{_0x2e09cf=!0x1;},'rollback':()=>{const _0x1aacee=_0x4d92e6;_0x2e09cf&&(_0x2e09cf=!0x1,this[_0x1aacee(0x188)]['replaceSelectionInfoWithoutRefresh'](_0x24509d,_0x22281e));}};}};_0x1ec9a4=_0x444f34([_0x354fcf(0x0,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x4de23f[_0x27c760(0x3ca)])),_0x354fcf(0x1,_0x2c6827[_0x27c760(0x345)])],_0x1ec9a4);function _0x540710(_0x622ff3,_0x4a4b5f){const _0xed18e8=_0x27c760;let _0x25ba48=[],_0x8392ac=[];for(let _0x4bc34c of _0x622ff3)_0x255af5(_0x4bc34c)?_0x8392ac['push'](_0x4bc34c):_0x25ba48[_0xed18e8(0x470)](_0x4bc34c);return{..._0x4a4b5f,'textRanges':_0x25ba48,'rectRanges':_0x8392ac};}function _0x255af5(_0x218f07){const _0x2b6e91=_0x27c760;return _0x2b6e91(0x1df)in _0x218f07;}function _0x3ded7a(_0x1ac29b){const _0x5b3ed7=_0x27c760;return Array[_0x5b3ed7(0x211)](_0x1ac29b)&&_0x1ac29b[_0x5b3ed7(0x240)](_0x4198ca=>typeof _0x4198ca==_0x5b3ed7(0x41e)&&!!_0x4198ca&&_0x5b3ed7(0x49b)in _0x4198ca&&'endOffset'in _0x4198ca);}function _0x3368b1(_0x22d76a){const _0x3ee155=_0x27c760;return _0x22d76a===_0x3ee155(0x390)?!0x0:Array[_0x3ee155(0x211)](_0x22d76a)?_0x22d76a[_0x3ee155(0x305)](_0x176e34=>_0x3368b1(_0x176e34)):!_0x22d76a||typeof _0x22d76a!=_0x3ee155(0x41e)?!0x1:Object[_0x3ee155(0x329)](_0x22d76a)[_0x3ee155(0x305)](_0x310def=>_0x3368b1(_0x310def));}let _0x5c0ea5=class extends _0x8bfe94[_0x27c760(0x3ec)]{constructor(_0x3d2e6a,_0x2c4cea,_0xc36ea7,_0x1a07a6,_0xc5bda4,_0x4cc812,_0x8c7bb3){const _0x5f14f4=_0x27c760;super(),this[_0x5f14f4(0x491)]=_0x3d2e6a,this[_0x5f14f4(0x242)]=_0x2c4cea,this[_0x5f14f4(0x421)]=_0xc36ea7,this[_0x5f14f4(0x29b)]=_0x1a07a6,this[_0x5f14f4(0x1d0)]=_0xc5bda4,this[_0x5f14f4(0x2de)]=_0x4cc812,this['_localeService']=_0x8c7bb3,_0x589c09(this,_0x5f14f4(0x1a4),new _0x453e23[(_0x5f14f4(0x1c9))](_0x4fec95['CollaborationStatus'][_0x5f14f4(0x397)])),this[_0x5f14f4(0x416)]();}[_0x27c760(0x416)](){const _0x339c20=_0x27c760;this[_0x339c20(0x428)](this[_0x339c20(0x491)][_0x339c20(0x35d)][_0x339c20(0x388)](_0x38d667=>{const _0x4e2ae8=_0x339c20;_0x38d667 instanceof _0x4fec95[_0x4e2ae8(0x424)]&&_0x38d667['addHandlerCallback']({'onTransformIME':_0x197d68=>this[_0x4e2ae8(0x242)][_0x4e2ae8(0x146)](_0x197d68),'onTransformState':_0x308bf6=>this[_0x4e2ae8(0x421)][_0x4e2ae8(0x1f0)](_0x308bf6),'onPrepareTransformSelections':_0x494572=>this[_0x4e2ae8(0x29b)][_0x4e2ae8(0x17f)](_0x494572),'onSyncEditingCollabCursor':_0x366194=>this[_0x4e2ae8(0x1d0)][_0x4e2ae8(0x3eb)](_0x366194),'onTransformRemoteChangesetByIMECache':_0x135312=>this['_docTransformIMECacheService'][_0x4e2ae8(0x2cf)](_0x135312),'onTransformRemoteChangesetByStateCache':_0x3bba9e=>this[_0x4e2ae8(0x421)][_0x4e2ae8(0x2cf)](_0x3bba9e)});}));}};_0x5c0ea5=_0x444f34([_0x354fcf(0x0,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x4fec95[_0x27c760(0x400)])),_0x354fcf(0x1,(0x0,_0x8bfe94['Inject'])(_0x492753)),_0x354fcf(0x2,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x5f03d8)),_0x354fcf(0x3,(0x0,_0x8bfe94['Inject'])(_0x1ec9a4)),_0x354fcf(0x4,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x461169)),_0x354fcf(0x5,_0x33531c[_0x27c760(0x363)]),_0x354fcf(0x6,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x8bfe94[_0x27c760(0x310)]))],_0x5c0ea5);let _0x52a14e=class extends _0x8bfe94[_0x27c760(0x3ec)]{constructor(_0x35d40e,_0xe268c3,_0x17e557,_0x4681ab){const _0x26c490=_0x27c760;super(),this[_0x26c490(0x46a)]=_0x35d40e,this[_0x26c490(0x17c)]=_0xe268c3,this['_logService']=_0x17e557,this[_0x26c490(0x3dd)]=_0x4681ab,_0x589c09(this,_0x26c490(0x39d),void 0x0),this[_0x26c490(0x27c)]();}[_0x27c760(0x27c)](){const _0x32b937=_0x27c760;this[_0x32b937(0x460)](),this['_initUnhandledRejectionListener'](),this['_monkeyPatchLogService'](),this['_initUserListener']();}[_0x27c760(0x13d)](){const _0x2c2670=_0x27c760;this[_0x2c2670(0x428)](this[_0x2c2670(0x3dd)][_0x2c2670(0x1f3)][_0x2c2670(0x388)](_0xbba961=>{const _0x3e35ea=_0x2c2670;this[_0x3e35ea(0x39d)]=_0xbba961==null?void 0x0:_0xbba961[_0x3e35ea(0x162)];}));}[_0x27c760(0x460)](){const _0xe5843e=_0x27c760;let _0x592410=_0x46d9e4=>{const _0x108662=_0x4a49;var _0x35a948;this[_0x108662(0x2da)]('error','[Window\x20Error]:\x20'+_0x46d9e4[_0x108662(0x2ce)]+_0x108662(0x429)+_0x46d9e4[_0x108662(0x350)]+':'+_0x46d9e4[_0x108662(0x413)]+':'+_0x46d9e4[_0x108662(0x229)]+'\x0a'+(((_0x35a948=_0x46d9e4[_0x108662(0x496)])==null?void 0x0:_0x35a948[_0x108662(0x2df)])||''));};window[_0xe5843e(0x360)]('error',_0x592410),this['disposeWithMe'](()=>{const _0x249a7a=_0xe5843e;window[_0x249a7a(0x37c)](_0x249a7a(0x496),_0x592410);});}[_0x27c760(0x352)](){const _0x3f418c=_0x27c760;let _0x362d2b=_0x4e66eb=>{const _0x4aa2b9=_0x4a49;this[_0x4aa2b9(0x2da)](_0x4aa2b9(0x496),_0x4aa2b9(0x2fc)+_0x4e66eb[_0x4aa2b9(0x3ff)]);};window['addEventListener'](_0x3f418c(0x1ed),_0x362d2b),this[_0x3f418c(0x428)](()=>{const _0x3c7434=_0x3f418c;window[_0x3c7434(0x37c)](_0x3c7434(0x1ed),_0x362d2b);});}[_0x27c760(0x281)](){const _0x52c85d=_0x27c760;let _0x362ced=this['_logService'][_0x52c85d(0x496)][_0x52c85d(0x32a)](this['_logService']);this[_0x52c85d(0x18c)][_0x52c85d(0x496)]=(..._0x428104)=>{const _0x15be2e=_0x52c85d;let _0x218222=_0x428104[_0x15be2e(0x1c8)](_0x5dd4c5=>_0x5dd4c5 instanceof Error?_0x5dd4c5[_0x15be2e(0x2ce)]+'\x0a'+_0x5dd4c5['stack']:String(_0x5dd4c5))[_0x15be2e(0x3d8)]('\x20');this[_0x15be2e(0x2da)](_0x15be2e(0x496),'[LogService\x20Error]:\x20'+_0x218222),_0x362ced(..._0x428104);},this['disposeWithMe'](()=>{const _0x495f3e=_0x52c85d;this[_0x495f3e(0x18c)]['error']=_0x362ced;});}[_0x27c760(0x2da)](_0x259717,_0x252431){const _0x4f3a7c=_0x27c760;try{let _0x5c1d14={'userId':this['_memberID'],'logLabel':_0x259717,'content':_0x252431};this[_0x4f3a7c(0x17c)][_0x4f3a7c(0x2e2)](_0x4f3a7c(0x271),{'body':_0x5c1d14})[_0x4f3a7c(0x166)](()=>{});}catch{}}};_0x52a14e=_0x444f34([_0x354fcf(0x0,(0x0,_0x8bfe94['Inject'])(_0x8bfe94['Injector'])),_0x354fcf(0x1,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x38ec4a[_0x27c760(0x1b6)])),_0x354fcf(0x2,_0x8bfe94[_0x27c760(0x2a1)]),_0x354fcf(0x3,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x4fec95[_0x27c760(0x368)]))],_0x52a14e);function _0x16e768({state$:_0x54b509}){const _0x5c2d10=_0x27c760;let _0xb7ee5f=(0x0,_0x33531c[_0x5c2d10(0x42a)])(_0x54b509,null,!0x0);return _0xb7ee5f?(0x0,_0x11f80d[_0x5c2d10(0x23b)])(_0x5c2d10(0x331),{'data-u-comp':_0x5c2d10(0x15e),'role':'alert','className':'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','children':[(0x0,_0x11f80d[_0x5c2d10(0x1f8)])(_0x147979,{'className':'univer-size-4\x20univer-shrink-0\x20univer-text-amber-500'}),(0x0,_0x11f80d[_0x5c2d10(0x1f8)])('span',{'children':_0xb7ee5f[_0x5c2d10(0x39b)]}),(0x0,_0x11f80d[_0x5c2d10(0x1f8)])(_0x393571[_0x5c2d10(0x19b)],{'size':_0x5c2d10(0x3de),'variant':_0x5c2d10(0x144),'onClick':()=>window[_0x5c2d10(0x36c)][_0x5c2d10(0x389)](),'children':_0xb7ee5f[_0x5c2d10(0x196)]})]}):null;}let _0x200e49='snapshot-loading-',_0x7c4943=class extends _0x8bfe94['Disposable']{constructor(_0x4e2c0b,_0x4b3d48,_0x3aa1c9,_0x53d2f6,_0x495795,_0x54a8f2){const _0xd61c8=_0x27c760;super(),this['_snapshotLoadingService']=_0x4e2c0b,this[_0xd61c8(0x2de)]=_0x4b3d48,this[_0xd61c8(0x49d)]=_0x3aa1c9,this[_0xd61c8(0x46a)]=_0x53d2f6,this[_0xd61c8(0x235)]=_0x54a8f2,_0x589c09(this,_0xd61c8(0x25a),new _0x453e23[(_0xd61c8(0x1c9))](null)),_0x589c09(this,_0xd61c8(0x34c),new Set()),_0x589c09(this,_0xd61c8(0x15d),new Map()),_0x589c09(this,_0xd61c8(0x20f),new Map()),_0x589c09(this,_0xd61c8(0x437),this['_timeoutState$'][_0xd61c8(0x1e2)]());let _0x2454cd=()=>(0x0,_0x3b05b3[_0xd61c8(0x20c)])(_0x16e768,{'state$':this[_0xd61c8(0x437)]});this[_0xd61c8(0x428)](_0x495795[_0xd61c8(0x2d5)](_0x33531c[_0xd61c8(0x13b)][_0xd61c8(0x26c)],()=>(0x0,_0x33531c[_0xd61c8(0x3f9)])(_0x2454cd,this[_0xd61c8(0x46a)]))),this[_0xd61c8(0x428)](this[_0xd61c8(0x48b)]['state$'][_0xd61c8(0x388)](_0x1ece10=>{const _0x1b847d=_0xd61c8;this[_0x1b847d(0x20f)]=_0x1ece10,_0x1ece10[_0x1b847d(0x143)](_0x380f00=>this['_updateMessage'](_0x380f00));})),this[_0xd61c8(0x428)](this[_0xd61c8(0x235)]['urlChange$']['subscribe'](()=>{const _0x5038c=_0xd61c8;this[_0x5038c(0x20f)][_0x5038c(0x143)](_0x192af3=>this['_updateMessage'](_0x192af3));}));}[_0x27c760(0x393)](){const _0xc70893=_0x27c760;this[_0xc70893(0x34c)]['forEach'](_0x467171=>this[_0xc70893(0x2de)]['remove'](_0x467171)),this['_messageIds'][_0xc70893(0x46f)](),this[_0xc70893(0x15d)]['forEach'](({timeoutId:_0x4d6df9})=>clearTimeout(_0x4d6df9)),this['_blockProgressWatches'][_0xc70893(0x46f)](),this[_0xc70893(0x25a)][_0xc70893(0x3c2)](),super[_0xc70893(0x393)]();}[_0x27c760(0x2ec)](_0x24b525){const _0x1eec97=_0x27c760;let _0x125963=''+_0x200e49+_0x24b525[_0x1eec97(0x414)];_0x24b525['stage']===_0x2c6827[_0x1eec97(0x323)][_0x1eec97(0x2b2)]?(this[_0x1eec97(0x2ab)](_0x24b525[_0x1eec97(0x414)]),this['_clearTimeoutState'](_0x24b525[_0x1eec97(0x414)]),this['_messageService'][_0x1eec97(0x439)](_0x125963),this['_messageIds']['delete'](_0x125963)):this['_isVisibleUnit'](_0x24b525[_0x1eec97(0x414)])?_0x24b525[_0x1eec97(0x347)]===_0x2c6827[_0x1eec97(0x323)]['ERROR']?(this[_0x1eec97(0x2ab)](_0x24b525[_0x1eec97(0x414)]),this[_0x1eec97(0x142)](_0x24b525[_0x1eec97(0x414)]),this[_0x1eec97(0x2de)][_0x1eec97(0x39f)]({'id':_0x125963,'type':_0x393571['MessageType'][_0x1eec97(0x3c7)],'content':this['_localeService']['t'](_0x1eec97(0x16b))}),this[_0x1eec97(0x34c)][_0x1eec97(0x289)](_0x125963)):_0x24b525['stage']!==_0x2c6827[_0x1eec97(0x323)]['LOADING_BLOCKS']||_0x24b525[_0x1eec97(0x27f)]<=0xa?(this[_0x1eec97(0x2ab)](_0x24b525['unitId']),this[_0x1eec97(0x2de)][_0x1eec97(0x439)](_0x125963),this[_0x1eec97(0x34c)][_0x1eec97(0x289)](_0x125963)):this[_0x1eec97(0x215)](_0x24b525)||(this['_messageService'][_0x1eec97(0x39f)]({'id':_0x125963,'type':_0x393571[_0x1eec97(0x1d5)][_0x1eec97(0x2c3)],'duration':0x1/0x0,'content':this[_0x1eec97(0x49d)]['t']('collaboration-client-ui.collabStatus.fetchMiss')+'\x20'+_0x24b525['loadedBlocks']+'/'+_0x24b525[_0x1eec97(0x27f)]}),this[_0x1eec97(0x34c)][_0x1eec97(0x194)](_0x125963)):(this[_0x1eec97(0x2ab)](_0x24b525[_0x1eec97(0x414)]),this[_0x1eec97(0x142)](_0x24b525['unitId']),this[_0x1eec97(0x2de)]['remove'](_0x125963),this['_messageIds'][_0x1eec97(0x289)](_0x125963));}[_0x27c760(0x215)](_0x112470){const _0x23a512=_0x27c760;let _0x397718=this[_0x23a512(0x15d)][_0x23a512(0x346)](_0x112470[_0x23a512(0x414)]);if((_0x397718==null?void 0x0:_0x397718[_0x23a512(0x381)])===_0x112470[_0x23a512(0x381)])return _0x397718[_0x23a512(0x3f1)];this['_clearBlockProgressWatch'](_0x112470[_0x23a512(0x414)]);let _0x21e80c=setTimeout(()=>{const _0x114a3c=_0x23a512;let _0x3fdf69=this[_0x114a3c(0x15d)]['get'](_0x112470['unitId']);if(!_0x3fdf69||_0x3fdf69['timeoutId']!==_0x21e80c)return;_0x3fdf69[_0x114a3c(0x3f1)]=!0x0;let _0x19a4f4=''+_0x200e49+_0x112470[_0x114a3c(0x414)];this[_0x114a3c(0x2de)][_0x114a3c(0x439)](_0x19a4f4),this[_0x114a3c(0x34c)][_0x114a3c(0x289)](_0x19a4f4),this['_timeoutState$']['next']({'unitId':_0x112470[_0x114a3c(0x414)],'content':this['_localeService']['t'](_0x114a3c(0x285),String(_0x112470[_0x114a3c(0x381)]),String(_0x112470['totalBlocks'])),'refreshLabel':this[_0x114a3c(0x49d)]['t']('collaboration-client-ui.snapshotLoading.refresh')});},0xea60);return this[_0x23a512(0x15d)]['set'](_0x112470[_0x23a512(0x414)],{'loadedBlocks':_0x112470['loadedBlocks'],'timedOut':!0x1,'timeoutId':_0x21e80c}),!0x1;}[_0x27c760(0x2ab)](_0x32c1ae){const _0x494e54=_0x27c760;let _0xad5af4=this[_0x494e54(0x15d)][_0x494e54(0x346)](_0x32c1ae);_0xad5af4&&(clearTimeout(_0xad5af4['timeoutId']),this['_blockProgressWatches'][_0x494e54(0x289)](_0x32c1ae),this[_0x494e54(0x142)](_0x32c1ae));}[_0x27c760(0x142)](_0x5d387b){const _0x2f7bfa=_0x27c760;var _0xc4d391;((_0xc4d391=this[_0x2f7bfa(0x25a)][_0x2f7bfa(0x316)])==null?void 0x0:_0xc4d391[_0x2f7bfa(0x414)])===_0x5d387b&&this['_timeoutState$'][_0x2f7bfa(0x471)](null);}[_0x27c760(0x2ed)](_0x353d58){const _0x2de460=_0x27c760;let _0x137580=this['_urlService'][_0x2de460(0x498)]('unit');return!_0x137580||_0x137580===_0x353d58;}};_0x7c4943=_0x444f34([_0x354fcf(0x0,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x2c6827['SnapshotLoadingService'])),_0x354fcf(0x1,_0x33531c['IMessageService']),_0x354fcf(0x2,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x8bfe94[_0x27c760(0x310)])),_0x354fcf(0x3,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x8bfe94[_0x27c760(0x21b)])),_0x354fcf(0x4,_0x33531c[_0x27c760(0x3ea)]),_0x354fcf(0x5,_0x3224f4)],_0x7c4943);let _0xa6b64b=class extends _0x8bfe94[_0x27c760(0x3ec)]{constructor(_0x5e7e8c,_0x2e8a33,_0xc111bc,_0x3c1f3b,_0x142f7b){const _0x10d5c9=_0x27c760;var _0x3f523d;super(),this[_0x10d5c9(0x243)]=_0x5e7e8c,this[_0x10d5c9(0x2b8)]=_0x2e8a33,this[_0x10d5c9(0x425)]=_0xc111bc,this[_0x10d5c9(0x18c)]=_0x3c1f3b,this[_0x10d5c9(0x42d)]=_0x142f7b,_0x589c09(this,_0x10d5c9(0x17a),new Map()),_0x589c09(this,_0x10d5c9(0x40a),new Map()),_0x589c09(this,'_activeSaveTaskMap',new Map()),_0x589c09(this,_0x10d5c9(0x351),!0x1),this[_0x10d5c9(0x351)]=!((_0x3f523d=this[_0x10d5c9(0x243)]['getConfig'](_0x4fec95[_0x10d5c9(0x3c6)]))!=null&&_0x3f523d['enableOfflineEditing']);}[_0x27c760(0x223)](){const _0x5330d6=_0x27c760;this[_0x5330d6(0x351)]=!0x0;}[_0x27c760(0x2b9)](){const _0x40a956=_0x27c760;this[_0x40a956(0x351)]=!0x1;}get[_0x27c760(0x473)](){const _0x126639=_0x27c760;let _0x393ab3=new Map(this[_0x126639(0x40a)]);return this[_0x126639(0x192)]['forEach']((_0x26ff75,_0xb0871e)=>{const _0x412370=_0x126639;_0x393ab3[_0x412370(0x3db)](_0xb0871e)||_0x393ab3['set'](_0xb0871e,0x0);}),_0x393ab3;}[_0x27c760(0x393)](){const _0x4bc44e=_0x27c760;this[_0x4bc44e(0x32d)]||(super[_0x4bc44e(0x393)](),this[_0x4bc44e(0x351)]=!0x0,this[_0x4bc44e(0x43a)]()[_0x4bc44e(0x166)](_0x22fe89=>this['_logService'][_0x4bc44e(0x496)](_0x22fe89)));}async['loadOfflineData'](_0x1c8eb0,_0x1d4e31){const _0x4e3eb4=_0x27c760;if(this[_0x4e3eb4(0x351)])return null;let _0x442299=this['_getUserId'](_0x1d4e31),_0x321f5a=await this[_0x4e3eb4(0x2b8)][_0x4e3eb4(0x1dd)]((0x0,_0x4fec95[_0x4e3eb4(0x216)])(_0x1c8eb0,_0x442299));return(_0x321f5a==null?void 0x0:_0x321f5a[_0x4e3eb4(0x3df)])===_0x1c8eb0&&this[_0x4e3eb4(0x325)](_0x321f5a[_0x4e3eb4(0x3ba)])===_0x442299?_0x321f5a:null;}async[_0x27c760(0x3e1)](_0x49bcd9,_0x1e92f9,_0x5b3003){const _0x71b113=_0x27c760;let _0x261dc7=this['_getUserId'](_0x5b3003),_0x238497=(0x0,_0x4fec95[_0x71b113(0x216)])(_0x49bcd9,_0x261dc7),_0x5e1d27=this[_0x71b113(0x2b8)][_0x71b113(0x274)](_0x238497,{..._0x1e92f9,'unitID':_0x49bcd9,'userId':_0x261dc7});return this[_0x71b113(0x298)](_0x238497,_0x5e1d27),!!await _0x5e1d27;}async[_0x27c760(0x3fe)](_0x48b9d0,_0x45730a,_0x3a712e){const _0x40a818=_0x27c760;let _0x1d1307=this[_0x40a818(0x3ed)](_0x3a712e),_0x26ee8b=(0x0,_0x4fec95[_0x40a818(0x216)])(_0x48b9d0,_0x1d1307),_0xb21f95=this[_0x40a818(0x17a)][_0x40a818(0x346)](_0x26ee8b)??await this[_0x40a818(0x2b8)]['getItem'](_0x26ee8b);if(!_0xb21f95||this['_normalizeUserId'](_0xb21f95[_0x40a818(0x3ba)])!==_0x1d1307||_0xb21f95[_0x40a818(0x3df)]!==_0x48b9d0)return;let _0x111d62=Date[_0x40a818(0x2dc)](),_0x3f1ab3=new Date(_0x111d62)[_0x40a818(0x2b7)]();await this['_localStorageService'][_0x40a818(0x274)](_0x26ee8b+_0x40a818(0x3a7)+_0x111d62,{'reason':_0x45730a,'createdAt':_0x3f1ab3,'data':_0xb21f95});}async[_0x27c760(0x365)](_0x29f954,_0x2a4a06){const _0xfb5f16=_0x27c760;let _0x41ef4a=this[_0xfb5f16(0x3ed)](_0x2a4a06),_0x15a58e=(0x0,_0x4fec95[_0xfb5f16(0x216)])(_0x29f954,_0x41ef4a),_0x52e46f=this[_0xfb5f16(0x40a)]['get'](_0x15a58e);_0x52e46f!==void 0x0&&(window[_0xfb5f16(0x205)](_0x52e46f),this[_0xfb5f16(0x40a)][_0xfb5f16(0x289)](_0x15a58e));let _0xca605b=this[_0xfb5f16(0x192)][_0xfb5f16(0x346)](_0x15a58e);_0xca605b&&await Promise[_0xfb5f16(0x27b)](_0xca605b),this[_0xfb5f16(0x17a)][_0xfb5f16(0x289)](_0x15a58e),await this[_0xfb5f16(0x2b8)][_0xfb5f16(0x163)](_0x15a58e);}[_0x27c760(0x25f)](_0x2ddf87,_0x4510e1,_0xda9f80,_0x450c35,_0x28a08c){const _0x5ea3f0=_0x27c760;if(this[_0x5ea3f0(0x32d)])return;let _0x5327b0=this[_0x5ea3f0(0x3ed)](_0x28a08c),_0x1f1ec0=(0x0,_0x4fec95[_0x5ea3f0(0x216)])(_0x2ddf87,_0x5327b0),_0x2b66b9=this['_revisionService'][_0x5ea3f0(0x32c)](_0x2ddf87);this[_0x5ea3f0(0x17a)]['set'](_0x1f1ec0,{'unitID':_0x2ddf87,'userId':_0x5327b0,'type':_0x4510e1,'awaitingChangeset':_0xda9f80,'mutations':_0x450c35,'rev':_0x2b66b9}),this[_0x5ea3f0(0x40a)][_0x5ea3f0(0x3db)](_0x1f1ec0)||this[_0x5ea3f0(0x13c)](_0x1f1ec0);}[_0x27c760(0x3ed)](_0x528da0=((()=>{const _0x108035=_0x27c760;var _0x4254e8;return(_0x4254e8=this[_0x108035(0x42d)][_0x108035(0x263)]())==null?void 0x0:_0x4254e8['userID'];})())){const _0x15e0b8=_0x27c760;return this[_0x15e0b8(0x325)](_0x528da0);}[_0x27c760(0x325)](_0x2a0471){return _0x2a0471===''||_0x2a0471==null?void 0x0:_0x2a0471;}[_0x27c760(0x13c)](_0x2333ab){const _0x125c55=_0x27c760;let _0x1d197d=this[_0x125c55(0x3d5)]();_0x1d197d===0x0?this[_0x125c55(0x36d)](_0x2333ab)[_0x125c55(0x166)](_0x36eaf1=>this[_0x125c55(0x18c)][_0x125c55(0x496)](_0x36eaf1)):this[_0x125c55(0x40a)][_0x125c55(0x269)](_0x2333ab,window[_0x125c55(0x45a)](()=>{const _0x21ea5d=_0x125c55;this[_0x21ea5d(0x36d)](_0x2333ab)[_0x21ea5d(0x166)](_0x1d9c4a=>this[_0x21ea5d(0x18c)][_0x21ea5d(0x496)](_0x1d9c4a));},_0x1d197d));}[_0x27c760(0x3d5)](){const _0x1a00f2=_0x27c760;return this['_configService']['getConfig'](_0x4fec95[_0x1a00f2(0x15a)])??_0x4fec95[_0x1a00f2(0x3f4)];}[_0x27c760(0x36d)](_0xe8ed3){const _0x1eb833=_0x27c760;let _0xd6c8c0=this['_saveTaskMap'][_0x1eb833(0x346)](_0xe8ed3);_0xd6c8c0!==void 0x0&&window[_0x1eb833(0x205)](_0xd6c8c0);let _0x305bcc=this[_0x1eb833(0x17a)]['get'](_0xe8ed3);if(!_0x305bcc)return Promise[_0x1eb833(0x433)]();let _0x5688e9=this[_0x1eb833(0x192)]['get'](_0xe8ed3),_0x4ddbdb=Promise[_0x1eb833(0x27b)](_0x5688e9?[..._0x5688e9]:[])[_0x1eb833(0x349)](()=>this['_localStorageService'][_0x1eb833(0x274)](_0xe8ed3,_0x305bcc))[_0x1eb833(0x349)](()=>{const _0x354fc1=_0x1eb833;_0xd6c8c0!==void 0x0&&this[_0x354fc1(0x40a)][_0x354fc1(0x346)](_0xe8ed3)===_0xd6c8c0&&(this[_0x354fc1(0x40a)][_0x354fc1(0x289)](_0xe8ed3),!this['_disposed']&&this[_0x354fc1(0x17a)][_0x354fc1(0x346)](_0xe8ed3)!==_0x305bcc&&this[_0x354fc1(0x13c)](_0xe8ed3));});return this[_0x1eb833(0x298)](_0xe8ed3,_0x4ddbdb),_0x4ddbdb;}[_0x27c760(0x298)](_0x55c0a4,_0x10c7f5){const _0x649af6=_0x27c760;let _0x5f1158=this[_0x649af6(0x192)][_0x649af6(0x346)](_0x55c0a4);_0x5f1158||(_0x5f1158=new Set(),this[_0x649af6(0x192)][_0x649af6(0x269)](_0x55c0a4,_0x5f1158)),_0x5f1158[_0x649af6(0x194)](_0x10c7f5);let _0xd89f65=()=>{const _0x1c253a=_0x649af6;_0x5f1158[_0x1c253a(0x289)](_0x10c7f5),_0x5f1158['size']===0x0&&this['_activeSaveTaskMap'][_0x1c253a(0x289)](_0x55c0a4);};_0x10c7f5[_0x649af6(0x349)](_0xd89f65,_0xd89f65);}async[_0x27c760(0x43a)](){const _0x5da218=_0x27c760;let _0x28b559=[...this[_0x5da218(0x40a)][_0x5da218(0x453)]()]['map'](_0x2a8e96=>this[_0x5da218(0x36d)](_0x2a8e96));for(let _0x242610 of this['_activeSaveTaskMap'][_0x5da218(0x329)]())_0x28b559[_0x5da218(0x470)](...[..._0x242610][_0x5da218(0x1c8)](_0x529459=>_0x529459[_0x5da218(0x349)](()=>void 0x0)));await Promise[_0x5da218(0x1a1)](_0x28b559);}};_0xa6b64b=_0x444f34([_0x354fcf(0x0,_0x8bfe94[_0x27c760(0x280)]),_0x354fcf(0x1,_0x8bfe94['ILocalStorageService']),_0x354fcf(0x2,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x2c6827['RevisionService'])),_0x354fcf(0x3,_0x8bfe94[_0x27c760(0x2a1)]),_0x354fcf(0x4,(0x0,_0x8bfe94['Inject'])(_0x8bfe94[_0x27c760(0x45f)]))],_0xa6b64b);var _0x366793=class extends _0x8bfe94[_0x27c760(0x3ec)]{get['online'](){const _0x20000d=_0x27c760;return this[_0x20000d(0x1f6)][_0x20000d(0x264)]();}constructor(){const _0x5b17d8=_0x27c760;super(),_0x589c09(this,'_online$',new _0x453e23[(_0x5b17d8(0x1c9))](navigator[_0x5b17d8(0x1e0)])),_0x589c09(this,_0x5b17d8(0x1f7),this[_0x5b17d8(0x1f6)][_0x5b17d8(0x1e2)]()),this[_0x5b17d8(0x458)](),this[_0x5b17d8(0x1db)]();}[_0x27c760(0x393)](){const _0x278f89=_0x27c760;super[_0x278f89(0x393)](),this['_online$']['complete']();}[_0x27c760(0x1db)](){const _0x5dcfd0=_0x27c760;this[_0x5dcfd0(0x428)]((0x0,_0x453e23[_0x5dcfd0(0x2e1)])((0x0,_0x453e23['fromEvent'])(window,_0x5dcfd0(0x332)),(0x0,_0x453e23[_0x5dcfd0(0x272)])(window,_0x5dcfd0(0x14e)),(0x0,_0x453e23[_0x5dcfd0(0x272)])(document,_0x5dcfd0(0x1f4))['pipe']((0x0,_0x453e23[_0x5dcfd0(0x1c8)])(()=>document[_0x5dcfd0(0x15c)]===_0x5dcfd0(0x28d)),(0x0,_0x453e23[_0x5dcfd0(0x2d1)])(_0x42fc56=>_0x42fc56)))[_0x5dcfd0(0x3b9)]((0x0,_0x453e23['filter'])(()=>navigator['onLine']))[_0x5dcfd0(0x388)](()=>this[_0x5dcfd0(0x1f6)][_0x5dcfd0(0x471)](!0x0)));}[_0x27c760(0x458)](){const _0xa3e6ab=_0x27c760;this[_0xa3e6ab(0x428)]((0x0,_0x453e23[_0xa3e6ab(0x272)])(window,_0xa3e6ab(0x3c0))[_0xa3e6ab(0x388)](()=>this[_0xa3e6ab(0x1f6)]['next'](!0x1)));}},_0x2833d2=class extends _0x8bfe94[_0x27c760(0x3e5)]{constructor(){const _0x788a62=_0x27c760;super(),_0x589c09(this,_0x788a62(0x165),void 0x0),this[_0x788a62(0x165)]=(0x0,_0x453e23[_0x788a62(0x272)])(window,_0x788a62(0x157))[_0x788a62(0x3b9)]((0x0,_0x453e23['takeUntil'])(this[_0x788a62(0x3fb)]),(0x0,_0x453e23['shareReplay'])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x453e23[_0x788a62(0x2ba)])(void 0x0));}[_0x27c760(0x1c2)](_0x3461d3,_0x1a448c,_0x3d5744=!0x1){const _0x32b5ec=_0x27c760;let _0x1a3d4c=new URL(window[_0x32b5ec(0x36c)]['href']);_0x1a3d4c[_0x32b5ec(0x22f)]['set'](_0x3461d3,_0x1a448c),_0x3d5744?window['history']['replaceState']('','',_0x1a3d4c[_0x32b5ec(0x410)]()):window[_0x32b5ec(0x3e8)][_0x32b5ec(0x3fa)]('','',_0x1a3d4c[_0x32b5ec(0x410)]());}['removeParam'](_0x5ad356,_0x3d85b3=!0x1){const _0x49b128=_0x27c760;let _0x396347=new URL(window[_0x49b128(0x36c)][_0x49b128(0x468)]);_0x396347[_0x49b128(0x22f)][_0x49b128(0x289)](_0x5ad356),_0x3d85b3?window['history']['replaceState']('','',_0x396347[_0x49b128(0x410)]()):window[_0x49b128(0x3e8)][_0x49b128(0x3fa)]('','',_0x396347[_0x49b128(0x410)]());}[_0x27c760(0x498)](_0x19482f){const _0x36ee3b=_0x27c760;return new URL(window['location'][_0x36ee3b(0x468)])[_0x36ee3b(0x22f)][_0x36ee3b(0x346)](_0x19482f)??void 0x0;}};let _0xf9b9b0=class extends _0x8bfe94['Plugin']{constructor(_0x2b7107=_0x102e64,_0x3b71bf,_0x4c38ff,_0x1d9fa6,_0x3123bb){const _0x169053=_0x27c760;super(),this[_0x169053(0x1e1)]=_0x2b7107,this[_0x169053(0x367)]=_0x3b71bf,this[_0x169053(0x46a)]=_0x4c38ff,this[_0x169053(0x243)]=_0x1d9fa6,this[_0x169053(0x28a)]=_0x3123bb;let {..._0x34fe0d}=(0x0,_0x8bfe94[_0x169053(0x2e1)])({},_0x102e64,this[_0x169053(0x1e1)]);this[_0x169053(0x243)][_0x169053(0x391)](_0x169053(0x17e),_0x34fe0d);}[_0x27c760(0x45e)](){const _0x3b8c55=_0x27c760;this[_0x3b8c55(0x44a)](),this['disposeWithMe'](this['_commandService'][_0x3b8c55(0x204)](_0x8a72b5)),this[_0x3b8c55(0x383)]();}['onRendered'](){const _0x54d206=_0x27c760;this[_0x54d206(0x1ba)]();}[_0x27c760(0x44a)](){const _0x70b44=_0x27c760;var _0x5d2092;let _0x58702c=[[_0x1642fa],[_0x3224f4,{'useClass':_0x2833d2}],[_0x38ec4a[_0x70b44(0x43c)],{'useClass':_0x38ec4a['WebSocketService']}],[_0x4fec95[_0x70b44(0x24a)],{'useClass':_0xa6b64b}],[_0x4fec95[_0x70b44(0x218)],{'useClass':_0x366793}],[_0x111880],[_0x214384],[_0x79c4b6],[_0x472a63],[_0x7c4943]];this[_0x70b44(0x1e1)][_0x70b44(0x2d0)]!==!0x1&&_0x58702c[_0x70b44(0x470)]([_0x2ef5bb]),this[_0x70b44(0x1e1)]['enableDocumentCollaborationUI']!==!0x1&&_0x58702c[_0x70b44(0x470)]([_0x1ec9a4],[_0x492753],[_0x5f03d8],[_0x461169],[_0x5c0ea5],[_0x5a1cf8]),this[_0x70b44(0x1e1)][_0x70b44(0x2f4)]&&_0x58702c[_0x70b44(0x470)]([_0x52a14e]),(0x0,_0x8bfe94['registerDependencies'])(this[_0x70b44(0x46a)],(0x0,_0x8bfe94[_0x70b44(0x43f)])(_0x58702c,(_0x5d2092=this['_config'])==null?void 0x0:_0x5d2092['override']));}[_0x27c760(0x1ba)](){const _0x51521=_0x27c760;this['_config'][_0x51521(0x1fc)]!==!0x1&&this['disposeWithMe'](this[_0x51521(0x367)][_0x51521(0x191)](_0x8bfe94[_0x51521(0x436)][_0x51521(0x294)],[_0x2c639d])),this['disposeWithMe'](this[_0x51521(0x367)]['registerRenderModule'](_0x8bfe94[_0x51521(0x436)][_0x51521(0x38a)],[_0x222e41]));}['_initDependencies'](){const _0x353975=_0x27c760;(0x0,_0x8bfe94['touchDependencies'])(this['_injector'],[[_0x79c4b6],[_0x472a63],[_0x111880],[_0x214384],[_0x7c4943]]),this[_0x353975(0x1e1)][_0x353975(0x2d0)]!==!0x1&&(0x0,_0x8bfe94[_0x353975(0x451)])(this[_0x353975(0x46a)],[[_0x2ef5bb]]),this[_0x353975(0x1e1)][_0x353975(0x1fc)]!==!0x1&&(0x0,_0x8bfe94[_0x353975(0x451)])(this['_injector'],[[_0x5c0ea5],[_0x5a1cf8]]),this[_0x353975(0x1e1)][_0x353975(0x2f4)]&&(0x0,_0x8bfe94[_0x353975(0x451)])(this['_injector'],[[_0x52a14e]]);}};_0x589c09(_0xf9b9b0,'pluginName',_0x27c760(0x38d)),_0x589c09(_0xf9b9b0,_0x27c760(0x1d1),_0x14e91a),_0x589c09(_0xf9b9b0,_0x27c760(0x2ad),_0x368deb),_0xf9b9b0=_0x444f34([(0x0,_0x8bfe94[_0x27c760(0x2ff)])(_0x2630f9[_0x27c760(0x251)],_0x4de23f[_0x27c760(0x434)],_0x18d7e0[_0x27c760(0x41b)],_0x38ec4a[_0x27c760(0x1ff)],_0x2c6827['UniverCollaborationPlugin'],_0x8affde[_0x27c760(0x19f)],_0x4fec95['UniverCollaborationClientPlugin']),_0x354fcf(0x1,_0x18d7e0[_0x27c760(0x457)]),_0x354fcf(0x2,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x8bfe94[_0x27c760(0x21b)])),_0x354fcf(0x3,_0x8bfe94['IConfigService']),_0x354fcf(0x4,_0x8bfe94[_0x27c760(0x175)])],_0xf9b9b0);let _0x43ca01=class extends _0x4fec95[_0x27c760(0x25b)]{constructor(_0x3ae83d,_0x5aee78,_0x142cfb,_0xe45f43,_0xaba81){const _0x3f1357=_0x27c760;super(_0x3ae83d,_0x5aee78,_0x142cfb,_0xe45f43,_0xaba81),_0x589c09(this,'_dispose$',new _0x453e23[(_0x3f1357(0x489))]()),this['disposeWithMe'](()=>{const _0x2d2153=_0x3f1357;this[_0x2d2153(0x1de)]['next'](),this[_0x2d2153(0x1de)][_0x2d2153(0x3c2)]();});}async[_0x27c760(0x47d)](_0x246da7){const _0x1d7a70=_0x27c760;let _0x132693=await this[_0x1d7a70(0x43b)](),_0x417b5d=this[_0x1d7a70(0x261)](_0x246da7,_0x132693);return this[_0x1d7a70(0x488)](_0x417b5d);}['_createSocketURL'](_0xfb3892,_0x3cec6c){const _0x31aae5=_0x27c760;let _0x560d87=typeof window>'u'?new URL(_0xfb3892):new URL(_0xfb3892,window['location']['origin']);_0x560d87[_0x31aae5(0x22f)][_0x31aae5(0x269)](_0x31aae5(0x16f),_0x3cec6c);let _0x1003d0=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x31aae5(0x241)]);return _0x1003d0['get'](_0x31aae5(0x24f))&&_0x560d87[_0x31aae5(0x22f)][_0x31aae5(0x269)](_0x31aae5(0x24f),_0x1003d0['get'](_0x31aae5(0x24f))),_0x560d87['toString']();}async[_0x27c760(0x43b)](){const _0x682764=_0x27c760;var _0x245370;let _0x47d203=this[_0x682764(0x243)]['getConfig'](_0x4fec95[_0x682764(0x3c6)]),_0x432f0e=(_0x47d203==null?void 0x0:_0x47d203[_0x682764(0x207)])??_0x4fec95[_0x682764(0x27d)];return((_0x245370=(await(0x0,_0x453e23[_0x682764(0x186)])(this['_httpService'][_0x682764(0x2f0)]('GET',_0x432f0e,{'headers':{'Content-Type':_0x682764(0x466)}})[_0x682764(0x3b9)]((0x0,_0x453e23[_0x682764(0x2d1)])(_0x71ab81=>_0x71ab81[_0x682764(0x483)]===_0x38ec4a[_0x682764(0x3da)][_0x682764(0x295)]),(0x0,_0x453e23[_0x682764(0x25e)])(0x4e20),(0x0,_0x453e23['takeUntil'])(this[_0x682764(0x1de)]))))[_0x682764(0x24c)])==null?void 0x0:_0x245370['ticket'])??'';}};_0x43ca01=_0x444f34([_0x354fcf(0x0,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x8bfe94[_0x27c760(0x21b)])),_0x354fcf(0x1,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x38ec4a[_0x27c760(0x1b6)])),_0x354fcf(0x2,_0x8bfe94[_0x27c760(0x280)]),_0x354fcf(0x3,_0x8bfe94[_0x27c760(0x2a1)]),_0x354fcf(0x4,_0x2c6827[_0x27c760(0x3d9)])],_0x43ca01);let _0x127679=class extends _0x8bfe94[_0x27c760(0x3ec)]{constructor(_0x4dcab1,_0x16072a,_0x286e99){const _0x11de57=_0x27c760;super(),this['_instanceService']=_0x4dcab1,this['_httpService']=_0x16072a,this[_0x11de57(0x243)]=_0x286e99;}async[_0x27c760(0x406)](_0x42a792,_0x3ae711,_0x93d097,..._0x400fc8){const _0x112c96=_0x27c760;let _0x42adcb=this['_instanceService']['getFocusedUnit']();if(!_0x42adcb)throw Error(_0x112c96(0x477));let _0x299d43=(this['_configService'][_0x112c96(0x3e2)](_0x4fec95['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY'])??_0x4fec95['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x42a792+_0x112c96(0x22c)+_0x3ae711,_0x27454a={'scriptId':_0x42a792,'runId':new URL(window[_0x112c96(0x36c)][_0x112c96(0x468)])['searchParams'][_0x112c96(0x346)](_0x112c96(0x24f))??'','function':_0x3ae711,'unitId':_0x42adcb[_0x112c96(0x475)](),'argsOfFunction':JSON['stringify'](_0x400fc8),'invokeId':_0x93d097[_0x112c96(0x3a4)]??'','executionId':_0x93d097[_0x112c96(0x469)]??''};try{let _0x36a4f8=await this[_0x112c96(0x17c)][_0x112c96(0x2e2)](_0x299d43,{'body':_0x27454a});return _0x36a4f8[_0x112c96(0x24c)][_0x112c96(0x496)]&&_0x36a4f8[_0x112c96(0x24c)][_0x112c96(0x496)]['code']!==_0x1e0ab0[_0x112c96(0x29f)]['OK']?_0x112c96(0x47b):_0x36a4f8[_0x112c96(0x24c)][_0x112c96(0x486)];}catch{return _0x112c96(0x47b);}}};_0x127679=_0x444f34([_0x354fcf(0x0,_0x8bfe94[_0x27c760(0x252)]),_0x354fcf(0x1,(0x0,_0x8bfe94[_0x27c760(0x438)])(_0x38ec4a[_0x27c760(0x1b6)])),_0x354fcf(0x2,_0x8bfe94['IConfigService'])],_0x127679);let _0x2ac17c=0x7530,_0x3d7a47=_0x27c760(0x27e);var _0x273d67=class extends _0x8bfe94[_0x27c760(0x3ec)]{constructor(){const _0x457a39=_0x27c760;super(),_0x589c09(this,'_id',(0x0,_0x8bfe94[_0x457a39(0x356)])()),_0x589c09(this,_0x457a39(0x21a),new Set()),_0x589c09(this,_0x457a39(0x1c0),new Map()),_0x589c09(this,_0x457a39(0x35e),null),_0x589c09(this,_0x457a39(0x220),new Map()),_0x589c09(this,_0x457a39(0x23a),new Map()),this[_0x457a39(0x27c)]();}['dispose'](){const _0x1c882f=_0x27c760;super['dispose'](),this[_0x1c882f(0x220)][_0x1c882f(0x143)]((_0xdd59c1,_0x3e2b10)=>this['_removeClearOtherTimer'](_0x3e2b10)),this[_0x1c882f(0x35e)]&&window['clearInterval'](this[_0x1c882f(0x35e)]);}[_0x27c760(0x313)](_0x1cbac1){const _0x12e373=_0x27c760;return this[_0x12e373(0x3c9)](_0x1cbac1)[_0x12e373(0x3b9)]((0x0,_0x453e23[_0x12e373(0x46b)])());}[_0x27c760(0x1a5)](_0x593f84){const _0x1b1021=_0x27c760;this[_0x1b1021(0x21a)]['size']===0x0&&this[_0x1b1021(0x1ca)](),this[_0x1b1021(0x21a)][_0x1b1021(0x194)](_0x593f84),this[_0x1b1021(0x3f0)]({'type':0x0,'memberID':this[_0x1b1021(0x20a)],'unitIDs':[_0x593f84],'isForwarded':!0x1});}['disposeUnit'](_0x57a731){const _0xce6889=_0x27c760;this['_selfUnitIDs'][_0xce6889(0x289)](_0x57a731),this[_0xce6889(0x21a)][_0xce6889(0x283)]===0x0&&this[_0xce6889(0x35e)]&&window[_0xce6889(0x472)](this['_heartbeatTimer']);}[_0x27c760(0x27c)](){const _0x22b8b3=_0x27c760;this[_0x22b8b3(0x428)]((0x0,_0x8bfe94[_0x22b8b3(0x22e)])((0x0,_0x453e23[_0x22b8b3(0x272)])(window,_0x22b8b3(0x181))[_0x22b8b3(0x388)](_0x225319=>{const _0x1d245c=_0x22b8b3;if(_0x225319[_0x1d245c(0x3b6)]!==_0x3d7a47||!_0x225319[_0x1d245c(0x3b5)])return;let _0x3e091d=JSON[_0x1d245c(0x179)](_0x225319[_0x1d245c(0x3b5)]);this[_0x1d245c(0x2e3)](_0x3e091d);}))),window[_0x22b8b3(0x360)](_0x22b8b3(0x29e),()=>this[_0x22b8b3(0x3f0)]({'type':0x1,'memberID':this[_0x22b8b3(0x20a)],'unitIDs':Array['from'](this[_0x22b8b3(0x21a)])}));}['_handleEvent'](_0x2af605){const _0x26977d=_0x27c760;switch(_0x2af605[_0x26977d(0x483)]){case 0x0:this[_0x26977d(0x3aa)](_0x2af605);break;case 0x1:this[_0x26977d(0x1e3)](_0x2af605);break;case 0x2:this[_0x26977d(0x422)](_0x2af605);}}[_0x27c760(0x3aa)](_0x5118d3){const _0x3cef24=_0x27c760;let {unitIDs:_0x9139f9,memberID:_0x3c6187,isForwarded:_0x11c92b}=_0x5118d3;_0x9139f9[_0x3cef24(0x143)](_0xde8b32=>{const _0x178d15=_0x3cef24;if(!_0x11c92b&&this[_0x178d15(0x1c0)][_0x178d15(0x3db)](_0xde8b32)&&this['_ensureSubject'](_0xde8b32)[_0x178d15(0x471)](_0x4fec95[_0x178d15(0x152)][_0x178d15(0x257)]),!this['_unitOnClients'][_0x178d15(0x3db)](_0xde8b32)||!this[_0x178d15(0x1c0)][_0x178d15(0x346)](_0xde8b32)['has'](_0x3c6187)){let _0xeffcac=this['_unitOnClients'][_0x178d15(0x346)](_0xde8b32)||new Set();_0xeffcac[_0x178d15(0x194)](_0x3c6187),this[_0x178d15(0x1c0)][_0x178d15(0x269)](_0xde8b32,_0xeffcac),this[_0x178d15(0x160)](_0x3c6187);}}),_0x11c92b||this[_0x3cef24(0x3f0)]({'type':0x0,'memberID':this[_0x3cef24(0x20a)],'unitIDs':[...this[_0x3cef24(0x21a)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x503ba4){const _0x218d5d=_0x27c760;this[_0x218d5d(0x41c)](_0x503ba4);let _0x1cd5a4=window[_0x218d5d(0x45a)](()=>{const _0x33e287=_0x218d5d;this['_unitOnClients'][_0x33e287(0x143)](_0x34cb36=>{_0x34cb36['delete'](_0x503ba4);});},_0x2ac17c*0x2);this[_0x218d5d(0x220)][_0x218d5d(0x269)](_0x503ba4,_0x1cd5a4);}[_0x27c760(0x41c)](_0x4abaad){const _0x132816=_0x27c760;if(this['_clearOtherTimers'][_0x132816(0x3db)](_0x4abaad)){let _0xe91b1a=this[_0x132816(0x220)]['get'](_0x4abaad);_0xe91b1a&&window['clearTimeout'](_0xe91b1a),this[_0x132816(0x220)]['set'](_0x4abaad,null);}}[_0x27c760(0x1e3)](_0x895ff2){const _0x3c4594=_0x27c760;let {memberID:_0x421103,unitIDs:_0x311b41}=_0x895ff2;_0x311b41[_0x3c4594(0x143)](_0x21efce=>{const _0x5037bf=_0x3c4594;var _0x17b27f;let _0x21731b=this[_0x5037bf(0x1c0)][_0x5037bf(0x346)](_0x21efce);_0x21731b&&(_0x21731b[_0x5037bf(0x289)](_0x421103),(_0x17b27f=this['_ensureSubject'](_0x21efce))==null||_0x17b27f[_0x5037bf(0x471)](_0x21731b['size']===0x0?_0x4fec95[_0x5037bf(0x152)][_0x5037bf(0x231)]:_0x4fec95[_0x5037bf(0x152)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x421103);}[_0x27c760(0x422)](_0x42478d){const _0x530428=_0x27c760;this[_0x530428(0x160)](_0x42478d['memberID']);}[_0x27c760(0x3f0)](_0x20f66d){const _0x3154f0=_0x27c760;localStorage[_0x3154f0(0x274)](_0x3d7a47,JSON[_0x3154f0(0x463)](_0x20f66d));}[_0x27c760(0x1ca)](){const _0xf65796=_0x27c760;this[_0xf65796(0x35e)]=window['setInterval'](()=>{const _0x6e8f5b=_0xf65796;this['_send']({'type':0x2,'memberID':this[_0x6e8f5b(0x20a)]});},_0x2ac17c);}[_0x27c760(0x3c9)](_0x259fd0){const _0x42efb2=_0x27c760;return this[_0x42efb2(0x23a)]['has'](_0x259fd0)||this['_unitStatus'][_0x42efb2(0x269)](_0x259fd0,new _0x453e23[(_0x42efb2(0x1c9))](_0x4fec95[_0x42efb2(0x152)][_0x42efb2(0x231)])),this[_0x42efb2(0x23a)]['get'](_0x259fd0);}};Object[_0x27c760(0x3a5)](_0x5b900e,'BrowserCollaborationSocketService',{'enumerable':!0x0,'get':function(){return _0x43ca01;}}),Object[_0x27c760(0x3a5)](_0x5b900e,_0x27c760(0x42c),{'enumerable':!0x0,'get':function(){return _0x111880;}}),_0x5b900e['IURLService']=_0x3224f4,Object[_0x27c760(0x3a5)](_0x5b900e,_0x27c760(0x426),{'enumerable':!0x0,'get':function(){return _0x127679;}}),_0x5b900e[_0x27c760(0x214)]=_0x23541b,Object[_0x27c760(0x3a5)](_0x5b900e,_0x27c760(0x234),{'enumerable':!0x0,'get':function(){return _0xf9b9b0;}}),_0x5b900e[_0x27c760(0x19e)]=_0x273d67;}));
|
|
1
|
+
function _0x179a(_0x479317,_0x3e99b0){_0x479317=_0x479317-0x1ab;const _0x580bcf=_0x580b();let _0x179ab5=_0x580bcf[_0x479317];return _0x179ab5;}(function(_0x4c8c01,_0x997971){const _0x1b2ea8=_0x179a,_0xb3e823=_0x4c8c01();while(!![]){try{const _0x41e79c=-parseInt(_0x1b2ea8(0x22f))/0x1+parseInt(_0x1b2ea8(0x472))/0x2+-parseInt(_0x1b2ea8(0x37e))/0x3*(-parseInt(_0x1b2ea8(0x28c))/0x4)+parseInt(_0x1b2ea8(0x2cf))/0x5*(-parseInt(_0x1b2ea8(0x1bb))/0x6)+parseInt(_0x1b2ea8(0x2d3))/0x7+parseInt(_0x1b2ea8(0x35d))/0x8*(-parseInt(_0x1b2ea8(0x226))/0x9)+parseInt(_0x1b2ea8(0x1bd))/0xa*(-parseInt(_0x1b2ea8(0x2a4))/0xb);if(_0x41e79c===_0x997971)break;else _0xb3e823['push'](_0xb3e823['shift']());}catch(_0x4b2545){_0xb3e823['push'](_0xb3e823['shift']());}}}(_0x580b,0xede1f),function(_0x436f26,_0x33aacc){const _0x291b98=_0x179a;typeof exports==_0x291b98(0x2f2)&&typeof module<'u'?_0x33aacc(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==_0x291b98(0x2b5)&&define[_0x291b98(0x44d)]?define([_0x291b98(0x3d4),_0x291b98(0x49a),_0x291b98(0x4e3),_0x291b98(0x457),_0x291b98(0x504),'rxjs/operators',_0x291b98(0x4c8),_0x291b98(0x1e8),_0x291b98(0x303),_0x291b98(0x1ff),_0x291b98(0x4b2),_0x291b98(0x471),'@univerjs/docs-ui',_0x291b98(0x23e),_0x291b98(0x508),_0x291b98(0x3fe),_0x291b98(0x3cc),_0x291b98(0x44c),_0x291b98(0x40a)],_0x33aacc):(_0x436f26=typeof globalThis<'u'?globalThis:_0x436f26||self,_0x33aacc(_0x436f26['UniverProCollaborationClientUi']={},_0x436f26[_0x291b98(0x326)],_0x436f26[_0x291b98(0x2ff)],_0x436f26['UniverUi'],_0x436f26['rxjs'],_0x436f26[_0x291b98(0x504)][_0x291b98(0x4bf)],_0x436f26[_0x291b98(0x3b5)],_0x436f26[_0x291b98(0x420)],_0x436f26[_0x291b98(0x420)],_0x436f26['UniverProCollaboration'],_0x436f26[_0x291b98(0x450)],_0x436f26[_0x291b98(0x22a)],_0x436f26['UniverDocsUi'],_0x436f26[_0x291b98(0x3ff)],_0x436f26[_0x291b98(0x31c)],_0x436f26['UniverEngineFormula'],_0x436f26[_0x291b98(0x39d)],_0x436f26['UniverSheetsUi'],_0x436f26['UniverProtocol']));}(this,function(_0x47af61,_0xd6e6bc,_0x243ba8,_0x456aa1,_0x4089a3,_0x51dbfd,_0x5f3d5a,_0x3e61d0,_0x36a3fe,_0x2557fc,_0x1b5e47,_0x446a63,_0x40df28,_0x1df5c2,_0x512293,_0x2236c3,_0x416bc1,_0x3f07c4,_0x43cd06){const _0x3a95bf=_0x179a;Object[_0x3a95bf(0x2b2)](_0x47af61,Symbol[_0x3a95bf(0x4ea)],{'value':'Module'});function _0x2a3a45({ref:_0x17639a,..._0x4a59c6}){const _0x49a198=_0x3a95bf;let {preserveStrokeWidth:_0x34f03,icon:_0x495527,id:_0x544d0f,className:_0x233b92,extend:_0x41e49a,..._0x3a23bb}=_0x4a59c6,_0x16eea1=(_0x49a198(0x33d)+_0x544d0f+'\x20'+(_0x233b92||''))[_0x49a198(0x283)](),_0x2e1d75='_'+(0x0,_0x3e61d0[_0x49a198(0x4a8)])(),_0x2337df=(0x0,_0x3e61d0[_0x49a198(0x36c)])(null);return(0x0,_0x3e61d0[_0x49a198(0x4a6)])(_0x17639a,()=>_0x2337df[_0x49a198(0x1f6)]),(0x0,_0x3e61d0[_0x49a198(0x1cb)])(()=>{const _0x5de482=_0x49a198;if(_0x34f03&&_0x2337df[_0x5de482(0x1f6)]&&_0x2337df['current']['localName']===_0x495527[_0x5de482(0x416)])return _0x10ee8a(_0x2337df[_0x5de482(0x1f6)]);},[_0x34f03,_0x495527]),_0x4b067b(_0x495527,''+_0x544d0f,{'defIds':_0x495527[_0x49a198(0x494)],'idSuffix':_0x2e1d75},{'ref':_0x2337df,'className':_0x16eea1,..._0x3a23bb},_0x41e49a);}function _0x4b067b(_0x5df4b4,_0x502f26,_0x4f6d72,_0x3bab2c,_0x2437ff){const _0x389e6b=_0x3a95bf;return(0x0,_0x3e61d0[_0x389e6b(0x4a9)])(_0x5df4b4[_0x389e6b(0x416)],{'key':_0x502f26,..._0x32ceaf(_0x5df4b4,_0x4f6d72,_0x2437ff),..._0x3bab2c},(_0x1dfaa7(_0x5df4b4,_0x4f6d72)[_0x389e6b(0x204)]||[])['map']((_0x58f051,_0x241aab)=>_0x4b067b(_0x58f051,_0x502f26+'-'+_0x5df4b4[_0x389e6b(0x416)]+'-'+_0x241aab,_0x4f6d72,void 0x0,_0x2437ff)));}function _0x32ceaf(_0x27dbb9,_0x1708f6,_0x5a5950){const _0x563750=_0x3a95bf;let _0x453134={..._0x27dbb9[_0x563750(0x39c)]};_0x5a5950!=null&&_0x5a5950[_0x563750(0x4fd)]&&_0x453134[_0x563750(0x338)]==='colorChannel1'&&(_0x453134[_0x563750(0x338)]=_0x5a5950[_0x563750(0x4fd)]),_0x5a5950!=null&&_0x5a5950['colorChannel1']&&_0x453134[_0x563750(0x401)]==='colorChannel1'&&(_0x453134[_0x563750(0x401)]=_0x5a5950[_0x563750(0x4fd)]),_0x27dbb9[_0x563750(0x416)]===_0x563750(0x2ec)&&_0x453134['id']&&(_0x453134['id']+=_0x1708f6[_0x563750(0x1fa)]),Object[_0x563750(0x321)](_0x453134)[_0x563750(0x437)](([_0x26a938,_0x44dfb4])=>{const _0x51aea1=_0x563750;_0x26a938==='mask'&&typeof _0x44dfb4==_0x51aea1(0x4b1)&&(_0x453134[_0x26a938]=_0x44dfb4[_0x51aea1(0x4ca)](/url\(#(.*)\)/,_0x51aea1(0x23a)+_0x1708f6[_0x51aea1(0x1fa)]+')'));});let {defIds:_0x4117a7}=_0x1708f6;return!_0x4117a7||_0x4117a7['length']===0x0||(_0x27dbb9[_0x563750(0x416)]===_0x563750(0x3e1)&&_0x453134[_0x563750(0x233)]&&(_0x453134[_0x563750(0x233)]+=_0x1708f6['idSuffix']),Object[_0x563750(0x321)](_0x453134)[_0x563750(0x437)](([_0x54dc65,_0x224961])=>{const _0x3dc236=_0x563750;typeof _0x224961==_0x3dc236(0x4b1)&&(_0x453134[_0x54dc65]=_0x224961[_0x3dc236(0x4ca)](/url\(#(.*)\)/,_0x3dc236(0x23a)+_0x1708f6[_0x3dc236(0x1fa)]+')'));})),_0x453134;}function _0x1dfaa7(_0x2d6362,_0x1ce10c){const _0x1d4256=_0x3a95bf;var _0x33a5dd;let {defIds:_0x583cd7}=_0x1ce10c;return!_0x583cd7||_0x583cd7[_0x1d4256(0x510)]===0x0?_0x2d6362:_0x2d6362[_0x1d4256(0x416)]===_0x1d4256(0x3ec)&&(_0x33a5dd=_0x2d6362[_0x1d4256(0x204)])!=null&&_0x33a5dd['length']?{..._0x2d6362,'children':_0x2d6362[_0x1d4256(0x204)]['map'](_0x145bec=>typeof _0x145bec[_0x1d4256(0x39c)]['id']==_0x1d4256(0x4b1)&&_0x583cd7&&_0x583cd7['includes'](_0x145bec[_0x1d4256(0x39c)]['id'])?{..._0x145bec,'attrs':{..._0x145bec[_0x1d4256(0x39c)],'id':_0x145bec[_0x1d4256(0x39c)]['id']+_0x1ce10c[_0x1d4256(0x1fa)]}}:_0x145bec)}:_0x2d6362;}function _0x10ee8a(_0x4809be){const _0x1556f7=_0x3a95bf;let _0x471bb0=_0x4809be['viewBox'][_0x1556f7(0x1b4)],_0x14b84f=Math[_0x1556f7(0x3df)](_0x471bb0[_0x1556f7(0x40b)],_0x471bb0['height']);if(!Number[_0x1556f7(0x2bc)](_0x14b84f)||_0x14b84f<=0x0||_0x471bb0[_0x1556f7(0x40b)]<=0x0||_0x471bb0[_0x1556f7(0x350)]<=0x0)return()=>void 0x0;let _0x2176cc=0x10/_0x14b84f,_0x386db9=Array[_0x1556f7(0x292)](_0x4809be[_0x1556f7(0x39a)](_0x1556f7(0x3de)))['flatMap'](_0x16e211=>{const _0x12c4e3=_0x1556f7;let _0xcd328f=getComputedStyle(_0x16e211),_0x494748=Number[_0x12c4e3(0x2cc)](_0xcd328f[_0x12c4e3(0x1b3)]);return _0xcd328f[_0x12c4e3(0x401)]===_0x12c4e3(0x300)||Number[_0x12c4e3(0x2cc)](_0xcd328f[_0x12c4e3(0x260)])===0x0||_0xcd328f['vectorEffect']===_0x12c4e3(0x447)||!Number['isFinite'](_0x494748)||_0x494748<=0x0?[]:[{'element':_0x16e211,'hadStyleAttribute':_0x16e211[_0x12c4e3(0x506)](_0x12c4e3(0x257)),'originalStrokeWidth':_0x494748,'strokeWidth':_0x2d9b9d(_0x16e211['style'],_0x12c4e3(0x1e2))}];})['map'](_0x20c5e9=>({'appliedStrokeWidth':null,'element':_0x20c5e9['element'],'hadStyleAttribute':_0x20c5e9[_0x1556f7(0x391)],'isReleased':!0x1,'originalStrokeWidth':_0x20c5e9[_0x1556f7(0x2e5)],'strokeWidth':_0x20c5e9['strokeWidth']}));if(_0x386db9[_0x1556f7(0x510)]===0x0)return()=>void 0x0;let _0x2a598b=(_0x4ddb58,_0x41554e)=>{const _0x394fcc=_0x1556f7;if(_0x471bb0[_0x394fcc(0x40b)]<=0x0||_0x471bb0[_0x394fcc(0x350)]<=0x0||_0x4ddb58<=0x0||_0x41554e<=0x0)return;let _0x4e3753=Math[_0x394fcc(0x4db)](_0x4ddb58/_0x471bb0[_0x394fcc(0x40b)],_0x41554e/_0x471bb0[_0x394fcc(0x350)]);!Number[_0x394fcc(0x2bc)](_0x4e3753)||_0x4e3753<=0x0||_0x386db9[_0x394fcc(0x437)](_0x37e44c=>{const _0x1e2b32=_0x394fcc;if(_0x37e44c['isReleased'])return;if(_0x37e44c[_0x1e2b32(0x354)]!==null&&(_0x37e44c[_0x1e2b32(0x1f5)][_0x1e2b32(0x257)][_0x1e2b32(0x1b8)](_0x1e2b32(0x1e2))!==_0x37e44c[_0x1e2b32(0x354)]||_0x37e44c[_0x1e2b32(0x1f5)]['style'][_0x1e2b32(0x301)](_0x1e2b32(0x1e2))!==_0x37e44c[_0x1e2b32(0x1b3)][_0x1e2b32(0x266)])){_0x37e44c['appliedStrokeWidth']=null,_0x37e44c[_0x1e2b32(0x1b2)]=!0x0;return;}let _0x488fcf=_0x37e44c['originalStrokeWidth']*_0x2176cc/_0x4e3753,_0x426bfd=Number(_0x488fcf[_0x1e2b32(0x374)](0xc))+'px';_0x37e44c[_0x1e2b32(0x1f5)][_0x1e2b32(0x257)]['setProperty'](_0x1e2b32(0x1e2),_0x426bfd,_0x37e44c['strokeWidth'][_0x1e2b32(0x266)]),_0x37e44c[_0x1e2b32(0x354)]=_0x426bfd;});},_0x4a42df=_0x4809be['getBoundingClientRect']();_0x2a598b(_0x4a42df['width'],_0x4a42df[_0x1556f7(0x350)]);let _0xe1971a=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x1ecf1d=>{const _0x121f67=_0x1556f7;if(_0x1ecf1d['some'](_0x467d80=>_0x467d80[_0x121f67(0x3b4)]===_0x4809be)){let _0x41ae89=_0x4809be['getBoundingClientRect']();_0x2a598b(_0x41ae89['width'],_0x41ae89[_0x121f67(0x350)]);}});return _0xe1971a==null||_0xe1971a[_0x1556f7(0x3c4)](_0x4809be),()=>{const _0x1e04e9=_0x1556f7;_0xe1971a==null||_0xe1971a[_0x1e04e9(0x40d)](),_0x386db9['forEach'](_0x231d54=>{const _0x3f55de=_0x1e04e9;_0x231d54['appliedStrokeWidth']!==null&&(_0x2b8920(_0x231d54[_0x3f55de(0x1f5)][_0x3f55de(0x257)],_0x3f55de(0x1e2),_0x231d54['appliedStrokeWidth'],_0x231d54[_0x3f55de(0x1b3)][_0x3f55de(0x266)],_0x231d54['strokeWidth']),!_0x231d54[_0x3f55de(0x391)]&&_0x231d54[_0x3f55de(0x1f5)][_0x3f55de(0x257)][_0x3f55de(0x510)]===0x0&&_0x231d54[_0x3f55de(0x1f5)][_0x3f55de(0x316)]('style'));});};}function _0x2d9b9d(_0x102cc2,_0x24d1cb){return{'priority':_0x102cc2['getPropertyPriority'](_0x24d1cb),'value':_0x102cc2['getPropertyValue'](_0x24d1cb)};}function _0x2b8920(_0x51c230,_0x156bce,_0x2ecd72,_0xcfc6a5,_0x42365d){const _0x381a9a=_0x3a95bf;_0x51c230['getPropertyValue'](_0x156bce)===_0x2ecd72&&_0x51c230[_0x381a9a(0x301)](_0x156bce)===_0xcfc6a5&&(_0x42365d[_0x381a9a(0x238)]?_0x51c230[_0x381a9a(0x30e)](_0x156bce,_0x42365d['value'],_0x42365d[_0x381a9a(0x266)]):_0x51c230['removeProperty'](_0x156bce));}_0x2a3a45['displayName']=_0x3a95bf(0x2da);let _0x5a94c7={'tag':'svg','attrs':{'xmlns':_0x3a95bf(0x2e3),'fill':'none','viewBox':_0x3a95bf(0x1fd),'width':'1em','height':_0x3a95bf(0x3e3)},'children':[{'tag':'g','attrs':{'clipPath':_0x3a95bf(0x1eb)},'children':[{'tag':_0x3a95bf(0x2ef),'attrs':{'stroke':_0x3a95bf(0x4f1),'d':_0x3a95bf(0x27a),'strokeLinecap':_0x3a95bf(0x341),'strokeLinejoin':_0x3a95bf(0x341),'strokeWidth':1.2}}]},{'tag':_0x3a95bf(0x3ec),'attrs':{},'children':[{'tag':_0x3a95bf(0x3c6),'attrs':{'id':_0x3a95bf(0x498)},'children':[{'tag':'path','attrs':{'fill':_0x3a95bf(0x4df),'d':_0x3a95bf(0x46f)}}]}]}],'defIds':[_0x3a95bf(0x498)]},_0x4a9df0=(0x0,_0x3e61d0[_0x3a95bf(0x36d)])(function(_0x502a7c,_0xb0a798){const _0x117eeb=_0x3a95bf;return(0x0,_0x3e61d0['createElement'])(_0x2a3a45,Object['assign']({},_0x502a7c,{'id':_0x117eeb(0x4c2),'ref':_0xb0a798,'icon':_0x5a94c7}));});_0x4a9df0['displayName']='OffLineIcon';let _0x1d3380={'tag':_0x3a95bf(0x39b),'attrs':{'xmlns':_0x3a95bf(0x2e3),'fill':_0x3a95bf(0x300),'viewBox':_0x3a95bf(0x46a),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x3a95bf(0x281)},'children':[{'tag':_0x3a95bf(0x2ef),'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':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3a95bf(0x3ec),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3a95bf(0x433)},'children':[{'tag':'path','attrs':{'fill':_0x3a95bf(0x4df),'d':_0x3a95bf(0x46f),'transform':_0x3a95bf(0x1f3)}}]}]}],'defIds':[_0x3a95bf(0x433)]},_0x413a17=(0x0,_0x3e61d0[_0x3a95bf(0x36d)])(function(_0x3bd530,_0xd3addd){const _0x9526f5=_0x3a95bf;return(0x0,_0x3e61d0['createElement'])(_0x2a3a45,Object[_0x9526f5(0x353)]({},_0x3bd530,{'id':_0x9526f5(0x27e),'ref':_0xd3addd,'icon':_0x1d3380}));});_0x413a17['displayName']=_0x3a95bf(0x1c3);let _0x10bfd5={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3a95bf(0x300),'viewBox':'0\x200\x2016\x2016','width':_0x3a95bf(0x3e3),'height':'1em'},'children':[{'tag':_0x3a95bf(0x2ef),'attrs':{'fill':_0x3a95bf(0x4f1),'d':_0x3a95bf(0x225),'fillRule':'evenodd','clipRule':'evenodd'}}]},_0xa2de88=(0x0,_0x3e61d0[_0x3a95bf(0x36d)])(function(_0x1950eb,_0x10d781){const _0x561225=_0x3a95bf;return(0x0,_0x3e61d0[_0x561225(0x4a9)])(_0x2a3a45,Object[_0x561225(0x353)]({},_0x1950eb,{'id':_0x561225(0x276),'ref':_0x10d781,'icon':_0x10bfd5}));});_0xa2de88[_0x3a95bf(0x2fe)]=_0x3a95bf(0x323);let _0x4c9308={'tag':_0x3a95bf(0x39b),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3a95bf(0x300),'viewBox':_0x3a95bf(0x1fd),'width':_0x3a95bf(0x3e3),'height':'1em'},'children':[{'tag':_0x3a95bf(0x2ef),'attrs':{'fill':_0x3a95bf(0x399),'d':_0x3a95bf(0x2ea),'fillOpacity':0.2,'fillRule':'evenodd','clipRule':'evenodd'}},{'tag':_0x3a95bf(0x2ef),'attrs':{'fill':'#0B9EFB','d':_0x3a95bf(0x330),'fillRule':_0x3a95bf(0x4ec),'clipRule':_0x3a95bf(0x4ec)}}]},_0x12aada=(0x0,_0x3e61d0['forwardRef'])(function(_0x45719d,_0x29fecb){const _0xdda260=_0x3a95bf;return(0x0,_0x3e61d0['createElement'])(_0x2a3a45,Object[_0xdda260(0x353)]({},_0x45719d,{'id':_0xdda260(0x1b6),'ref':_0x29fecb,'icon':_0x4c9308}));});_0x12aada['displayName']=_0x3a95bf(0x21f);function _0x549cc9(_0x4be866){const _0x33b695=_0x3a95bf;switch(_0x4be866){case _0xd6e6bc['CollaborationStatus']['OFFLINE']:return{'icon':(0x0,_0x36a3fe[_0x33b695(0x4a4)])(_0x4a9df0,{}),'colorClass':'univer-text-red-500','i18nKey':_0x33b695(0x4bc),'tooltipKey':_0x33b695(0x318),'clickable':!0x0,'indicator':_0x33b695(0x405)};case _0xd6e6bc[_0x33b695(0x3b8)]['CONFLICT']:return{'icon':(0x0,_0x36a3fe['jsx'])(_0x4a9df0,{}),'colorClass':_0x33b695(0x2eb),'i18nKey':_0x33b695(0x37c),'clickable':!0x1,'indicator':'static'};case _0xd6e6bc['CollaborationStatus'][_0x33b695(0x476)]:return{'icon':(0x0,_0x36a3fe[_0x33b695(0x4a4)])(_0x12aada,{}),'colorClass':'univer-text-blue-500','i18nKey':_0x33b695(0x2fc),'clickable':!0x1,'indicator':'spin'};case _0xd6e6bc[_0x33b695(0x3b8)][_0x33b695(0x331)]:return{'icon':(0x0,_0x36a3fe[_0x33b695(0x4a4)])(_0x413a17,{}),'colorClass':_0x33b695(0x50b),'i18nKey':'collaboration-client-ui.collabStatus.notCollab','clickable':!0x1,'indicator':'static'};case _0xd6e6bc[_0x33b695(0x3b8)][_0x33b695(0x427)]:case _0xd6e6bc['CollaborationStatus'][_0x33b695(0x3e2)]:return{'icon':(0x0,_0x36a3fe[_0x33b695(0x4a4)])(_0x12aada,{}),'colorClass':'univer-text-blue-500','i18nKey':'collaboration-client-ui.collabStatus.syncing','clickable':!0x1,'indicator':'spin'};case _0xd6e6bc['CollaborationStatus']['PENDING']:return{'icon':(0x0,_0x36a3fe[_0x33b695(0x4a4)])(_0x12aada,{}),'colorClass':_0x33b695(0x372),'i18nKey':_0x33b695(0x386),'clickable':!0x1,'indicator':_0x33b695(0x464)};case _0xd6e6bc[_0x33b695(0x3b8)]['SYNCED']:return{'icon':(0x0,_0x36a3fe[_0x33b695(0x4a4)])(_0x413a17,{}),'colorClass':_0x33b695(0x25d),'i18nKey':_0x33b695(0x4c0),'clickable':!0x1,'indicator':_0x33b695(0x405)};}}function _0x13a467(_0x556a43){const _0x153bb5=_0x3a95bf;let {status$:_0x3b918f}=_0x556a43,_0x1e1a40=(0x0,_0x456aa1[_0x153bb5(0x202)])(_0x3b918f,_0xd6e6bc[_0x153bb5(0x3b8)]['NOT_COLLAB']),_0x3ee708=(0x0,_0x456aa1[_0x153bb5(0x48c)])(_0x243ba8[_0x153bb5(0x3e4)]),_0x1b0f0f=(0x0,_0x456aa1[_0x153bb5(0x48c)])(_0xd6e6bc['CollaborationSessionService']),_0x4d3de3=(0x0,_0x3e61d0['useMemo'])(()=>_0x549cc9(_0x1e1a40),[_0x1e1a40]),_0x3a90f6=_0x1e1a40!==_0xd6e6bc[_0x153bb5(0x3b8)][_0x153bb5(0x3d6)],_0x55ea41=_0x3ee708['t'](_0x4d3de3[_0x153bb5(0x20f)]),_0x196383=_0x4d3de3['tooltipKey']?_0x3ee708['t'](_0x4d3de3[_0x153bb5(0x328)]):_0x55ea41,_0x247e82=(0x0,_0x3e61d0[_0x153bb5(0x485)])(()=>{const _0x2c755c=_0x153bb5;_0x3a90f6||_0x1b0f0f[_0x2c755c(0x3b6)]();},[_0x3a90f6,_0x1b0f0f]),_0x2f4ead=(0x0,_0x3e61d0[_0x153bb5(0x485)])(_0x754e3a=>{const _0x57bc3a=_0x153bb5;!_0x3a90f6&&(_0x754e3a[_0x57bc3a(0x453)]===_0x57bc3a(0x247)||_0x754e3a[_0x57bc3a(0x453)]==='\x20')&&(_0x754e3a[_0x57bc3a(0x277)](),_0x1b0f0f[_0x57bc3a(0x3b6)]());},[_0x3a90f6,_0x1b0f0f]),_0x3b183e=(0x0,_0x36a3fe['jsx'])('span',{'className':(0x0,_0x5f3d5a[_0x153bb5(0x317)])('univer-flex\x20univer-items-center\x20univer-justify-center','univer-text-xl\x20univer-transition-colors\x20univer-duration-200',_0x4d3de3[_0x153bb5(0x265)],{'univer-animate-spin':_0x4d3de3[_0x153bb5(0x258)]===_0x153bb5(0x464),'univer-animate-pulse':_0x4d3de3[_0x153bb5(0x258)]===_0x153bb5(0x445)}),'aria-hidden':_0x153bb5(0x1fc),'children':_0x4d3de3[_0x153bb5(0x355)]}),_0x33dea2=(0x0,_0x36a3fe[_0x153bb5(0x4a4)])(_0x153bb5(0x43b),{'className':(0x0,_0x5f3d5a[_0x153bb5(0x317)])('univer-flex\x20univer-items-center\x20univer-justify-center',_0x153bb5(0x4f7),_0x153bb5(0x24d),_0x153bb5(0x2e4),'dark:focus:!univer-ring-offset-gray-800',{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x4d3de3['clickable'],'univer-cursor-default':!_0x4d3de3[_0x153bb5(0x1f4)]}),'children':_0x3b183e});return _0x4d3de3['clickable']?(0x0,_0x36a3fe['jsx'])(_0x5f3d5a[_0x153bb5(0x4e5)],{'title':_0x196383,'placement':'bottom','children':(0x0,_0x36a3fe[_0x153bb5(0x4a4)])(_0x153bb5(0x2c7),{'type':_0x153bb5(0x2c7),'onClick':_0x247e82,'onKeyDown':_0x2f4ead,'className':(0x0,_0x5f3d5a['clsx'])(_0x153bb5(0x221),_0x153bb5(0x24a),_0x153bb5(0x28a),'univer-appearance-none'),'aria-label':_0x55ea41+_0x153bb5(0x2ac)+_0x196383,'role':'status','aria-live':'polite','aria-atomic':_0x153bb5(0x1fc),'children':_0x33dea2})}):(0x0,_0x36a3fe[_0x153bb5(0x4a4)])(_0x5f3d5a[_0x153bb5(0x4e5)],{'title':_0x196383,'placement':_0x153bb5(0x2b1),'children':(0x0,_0x36a3fe[_0x153bb5(0x4a4)])(_0x153bb5(0x1d4),{'className':(0x0,_0x5f3d5a[_0x153bb5(0x317)])('univer-inline-flex\x20univer-items-center\x20univer-justify-center',_0x153bb5(0x24a),'univer-m-0\x20univer-p-0'),'aria-label':_0x55ea41,'role':_0x153bb5(0x2a2),'aria-live':_0x153bb5(0x311),'aria-atomic':_0x153bb5(0x1fc),'children':_0x33dea2})});}function _0x558da2(_0x25ab3d){'@babel/helpers - typeof';const _0x4d7342=_0x3a95bf;return _0x558da2=typeof Symbol==_0x4d7342(0x2b5)&&typeof Symbol[_0x4d7342(0x32a)]==_0x4d7342(0x33b)?function(_0x11d408){return typeof _0x11d408;}:function(_0xa6f5c8){const _0x2c65d4=_0x4d7342;return _0xa6f5c8&&typeof Symbol=='function'&&_0xa6f5c8[_0x2c65d4(0x298)]===Symbol&&_0xa6f5c8!==Symbol[_0x2c65d4(0x4b0)]?_0x2c65d4(0x33b):typeof _0xa6f5c8;},_0x558da2(_0x25ab3d);}function _0x3f5a13(_0x2a7cc2,_0x4bdaf5){const _0x4d34cd=_0x3a95bf;if(_0x558da2(_0x2a7cc2)!=_0x4d34cd(0x2f2)||!_0x2a7cc2)return _0x2a7cc2;var _0x197e2f=_0x2a7cc2[Symbol['toPrimitive']];if(_0x197e2f!==void 0x0){var _0x26934f=_0x197e2f['call'](_0x2a7cc2,_0x4bdaf5||_0x4d34cd(0x3f8));if(_0x558da2(_0x26934f)!=_0x4d34cd(0x2f2))return _0x26934f;throw TypeError(_0x4d34cd(0x4ed));}return(_0x4bdaf5==='string'?String:Number)(_0x2a7cc2);}function _0x1735f6(_0x42bbd9){const _0x29e9cf=_0x3a95bf;var _0x53a99b=_0x3f5a13(_0x42bbd9,_0x29e9cf(0x4b1));return _0x558da2(_0x53a99b)==_0x29e9cf(0x33b)?_0x53a99b:_0x53a99b+'';}function _0x538d20(_0x7087b0,_0x318a1f,_0x1c3588){const _0x52893d=_0x3a95bf;return(_0x318a1f=_0x1735f6(_0x318a1f))in _0x7087b0?Object[_0x52893d(0x2b2)](_0x7087b0,_0x318a1f,{'value':_0x1c3588,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x7087b0[_0x318a1f]=_0x1c3588,_0x7087b0;}function _0x489cd3(_0x91dafe,_0x9f3caf){return function(_0x7cd885,_0x5988c3){_0x9f3caf(_0x7cd885,_0x5988c3,_0x91dafe);};}function _0x313369(_0x30d3f2,_0x56e54d,_0x4af321,_0x26c663){const _0x328d28=_0x3a95bf;var _0x560434=arguments[_0x328d28(0x510)],_0x241b0d=_0x560434<0x3?_0x56e54d:_0x26c663===null?_0x26c663=Object['getOwnPropertyDescriptor'](_0x56e54d,_0x4af321):_0x26c663,_0x4bdb34;if(typeof Reflect=='object'&&typeof Reflect[_0x328d28(0x50e)]=='function')_0x241b0d=Reflect[_0x328d28(0x50e)](_0x30d3f2,_0x56e54d,_0x4af321,_0x26c663);else{for(var _0x5adaae=_0x30d3f2['length']-0x1;_0x5adaae>=0x0;_0x5adaae--)(_0x4bdb34=_0x30d3f2[_0x5adaae])&&(_0x241b0d=(_0x560434<0x3?_0x4bdb34(_0x241b0d):_0x560434>0x3?_0x4bdb34(_0x56e54d,_0x4af321,_0x241b0d):_0x4bdb34(_0x56e54d,_0x4af321))||_0x241b0d);}return _0x560434>0x3&&_0x241b0d&&Object[_0x328d28(0x2b2)](_0x56e54d,_0x4af321,_0x241b0d),_0x241b0d;}let _0x504763=class extends _0x243ba8['Disposable']{constructor(_0x34667d,_0xbf88f2,_0x3fa4b8,_0x478004,_0x2dcf55){const _0x3df3a0=_0x3a95bf;super(),this[_0x3df3a0(0x31e)]=_0x34667d,this['_injector']=_0xbf88f2,this[_0x3df3a0(0x2a0)]=_0x3fa4b8,this[_0x3df3a0(0x4ee)]=_0x478004,this[_0x3df3a0(0x407)]=_0x2dcf55,_0x538d20(this,_0x3df3a0(0x25f),new _0x4089a3[(_0x3df3a0(0x43f))](_0xd6e6bc[_0x3df3a0(0x3b8)]['NOT_COLLAB'])),_0x538d20(this,_0x3df3a0(0x2be),new Map()),this[_0x3df3a0(0x3bf)](),this[_0x3df3a0(0x2b0)](),this[_0x3df3a0(0x4c7)]();}[_0x3a95bf(0x1f0)](){const _0x38d262=_0x3a95bf;this[_0x38d262(0x2be)][_0x38d262(0x437)](_0x5f5b8c=>_0x5f5b8c[_0x38d262(0x1f0)]()),this[_0x38d262(0x2be)]['clear'](),this[_0x38d262(0x25f)][_0x38d262(0x1c8)](),super['dispose']();}['_initStatusListener'](){const _0x5f20e4=_0x3a95bf;this[_0x5f20e4(0x359)]((0x0,_0x4089a3[_0x5f20e4(0x2e8)])(this[_0x5f20e4(0x31e)]['focused$'],this[_0x5f20e4(0x31e)]['getCurrentTypeOfUnit$'](_0x243ba8[_0x5f20e4(0x509)]['UNIVER_DOC']),this[_0x5f20e4(0x31e)][_0x5f20e4(0x431)](_0x243ba8[_0x5f20e4(0x509)][_0x5f20e4(0x295)]))[_0x5f20e4(0x325)]((0x0,_0x51dbfd[_0x5f20e4(0x3a2)])(()=>_0x2d9de6(this[_0x5f20e4(0x31e)])),(0x0,_0x51dbfd[_0x5f20e4(0x492)])(),(0x0,_0x4089a3[_0x5f20e4(0x20e)])(_0x3d7158=>_0x3d7158?this['_collaborationController']['getCollabEntity$'](_0x3d7158):(0x0,_0x4089a3['of'])(null)),(0x0,_0x4089a3[_0x5f20e4(0x20e)])(_0x4ebd56=>_0x4ebd56?_0x4ebd56[_0x5f20e4(0x4ce)]:(0x0,_0x4089a3['of'])(_0xd6e6bc[_0x5f20e4(0x3b8)]['NOT_COLLAB'])))[_0x5f20e4(0x425)](_0x58ae1a=>{const _0x5d0755=_0x5f20e4;this[_0x5d0755(0x25f)][_0x5d0755(0x1e4)](_0x58ae1a);}));}[_0x3a95bf(0x3bf)](){const _0x203915=_0x3a95bf;this[_0x203915(0x359)](this[_0x203915(0x4ee)][_0x203915(0x32c)](_0x456aa1[_0x203915(0x1b0)][_0x203915(0x49f)],()=>(0x0,_0x456aa1['connectInjector'])(_0x24caa9({'status$':this['_status$'][_0x203915(0x1cd)]()}),this[_0x203915(0x4c9)])));}[_0x3a95bf(0x4c7)](){const _0x2a393a=_0x3a95bf;let _0x4b6cee=this[_0x2a393a(0x407)][_0x2a393a(0x2b6)][_0x2a393a(0x425)](_0x220584=>{const _0x265dc1=_0x2a393a;this[_0x265dc1(0x348)](_0x220584);});this[_0x2a393a(0x359)]((0x0,_0x243ba8['toDisposable'])(()=>_0x4b6cee['unsubscribe']()));}[_0x3a95bf(0x348)](_0x20ebc3){const _0x311e15=_0x3a95bf;let _0x292cc1=new Map(_0x20ebc3[_0x311e15(0x1d2)](_0x18a8e0=>_0x18a8e0[_0x311e15(0x454)]!=null)[_0x311e15(0x3a2)](_0x88074b=>[_0x88074b[_0x311e15(0x2b7)],_0x88074b]));this[_0x311e15(0x2be)]['forEach']((_0x3d5718,_0x5b8de5)=>{const _0x358c4a=_0x311e15;_0x292cc1[_0x358c4a(0x502)](_0x5b8de5)||(_0x3d5718[_0x358c4a(0x1f0)](),this[_0x358c4a(0x2be)][_0x358c4a(0x26e)](_0x5b8de5));}),_0x292cc1[_0x311e15(0x437)]((_0x23f1cd,_0x46c998)=>{const _0xd348de=_0x311e15;this[_0xd348de(0x2be)][_0xd348de(0x502)](_0x46c998)||this[_0xd348de(0x4f6)](_0x23f1cd);});}[_0x3a95bf(0x4f6)](_0x337d7a){const _0x4d350f=_0x3a95bf;let _0x224cec=_0x337d7a[_0x4d350f(0x454)];if(!_0x224cec)return;let _0x4bce12=new _0x243ba8[(_0x4d350f(0x278))](),_0x4b666e=new _0x4089a3[(_0x4d350f(0x43f))](_0xd6e6bc[_0x4d350f(0x3b8)]['NOT_COLLAB']);_0x4bce12[_0x4d350f(0x299)]((0x0,_0x243ba8[_0x4d350f(0x31b)])(()=>_0x4b666e['complete']())),_0x4bce12[_0x4d350f(0x299)](this[_0x4d350f(0x4ee)][_0x4d350f(0x32c)](_0x224cec,()=>(0x0,_0x456aa1[_0x4d350f(0x320)])(_0x24caa9({'status$':_0x4b666e[_0x4d350f(0x1cd)]()}),this[_0x4d350f(0x4c9)])));let _0x2daef6=this[_0x4d350f(0x31e)]['getCurrentTypeOfUnit$'](_0x337d7a['unitType'])[_0x4d350f(0x325)]((0x0,_0x51dbfd[_0x4d350f(0x3a2)])(_0x4166b5=>(_0x4166b5==null?void 0x0:_0x4166b5[_0x4d350f(0x4cd)]())??null),(0x0,_0x51dbfd['distinctUntilChanged'])(),(0x0,_0x4089a3[_0x4d350f(0x20e)])(_0x8c31b0=>_0x8c31b0?this[_0x4d350f(0x2a0)][_0x4d350f(0x33e)](_0x8c31b0):(0x0,_0x4089a3['of'])(null)),(0x0,_0x4089a3[_0x4d350f(0x20e)])(_0x35fc2b=>(_0x35fc2b==null?void 0x0:_0x35fc2b[_0x4d350f(0x4ce)])??(0x0,_0x4089a3['of'])(_0xd6e6bc[_0x4d350f(0x3b8)][_0x4d350f(0x331)])))[_0x4d350f(0x425)](_0x1bda0e=>_0x4b666e[_0x4d350f(0x1e4)](_0x1bda0e));_0x4bce12[_0x4d350f(0x299)]((0x0,_0x243ba8['toDisposable'])(()=>_0x2daef6[_0x4d350f(0x3b2)]())),this[_0x4d350f(0x2be)][_0x4d350f(0x4b9)](_0x337d7a['unitType'],_0x4bce12);}};_0x504763=_0x313369([_0x489cd3(0x0,_0x243ba8['IUniverInstanceService']),_0x489cd3(0x1,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8['Injector'])),_0x489cd3(0x2,(0x0,_0x243ba8['Inject'])(_0xd6e6bc[_0x3a95bf(0x442)])),_0x489cd3(0x3,_0x456aa1['IUIPartsService']),_0x489cd3(0x4,(0x0,_0x243ba8['Inject'])(_0x456aa1[_0x3a95bf(0x327)]))],_0x504763);function _0x2d9de6(_0x5b62c5){const _0x464e5a=_0x3a95bf;let _0x332c1f=_0x5b62c5['getFocusedUnit'](),_0x430b59=_0x332c1f==null?void 0x0:_0x332c1f['getUnitId']();if(_0x430b59&&!(0x0,_0x243ba8[_0x464e5a(0x395)])(_0x430b59))return _0x430b59;let _0x1874b6=_0x5b62c5[_0x464e5a(0x2b9)](_0x243ba8[_0x464e5a(0x509)][_0x464e5a(0x2fb)]),_0x45ee66=_0x1874b6==null?void 0x0:_0x1874b6[_0x464e5a(0x4cd)]();if(_0x45ee66&&!(0x0,_0x243ba8[_0x464e5a(0x395)])(_0x45ee66))return _0x45ee66;let _0x4f2d29=_0x5b62c5[_0x464e5a(0x2b9)](_0x243ba8[_0x464e5a(0x509)][_0x464e5a(0x295)]);if(_0x4f2d29)return _0x4f2d29[_0x464e5a(0x4cd)]();let _0x31deed=_0x5b62c5['getAllUnitsForType'](_0x243ba8[_0x464e5a(0x509)][_0x464e5a(0x2fb)])['find'](_0x490162=>!(0x0,_0x243ba8[_0x464e5a(0x395)])(_0x490162['getUnitId']()));return _0x31deed?_0x31deed[_0x464e5a(0x4cd)]():null;}function _0x24caa9(_0x6203ab){let {status$:_0x451873}=_0x6203ab;return function(){const _0x1c62ef=_0x179a;return(0x0,_0x36a3fe[_0x1c62ef(0x4a4)])(_0x13a467,{'status$':_0x451873});};}var _0x227a21='@univerjs-pro/collaboration-client-ui',_0xa76bd6=_0x3a95bf(0x290);let _0x574984={'id':'collaboration-client-ui.operation.update-remote-unit-presence','type':_0x243ba8[_0x3a95bf(0x356)][_0x3a95bf(0x3b3)],'handler':(_0x582a5b,_0x1e2004)=>{const _0x13d568=_0x3a95bf;let _0x3ca9b4=_0x582a5b[_0x13d568(0x26a)](_0x456aa1[_0x13d568(0x327)])[_0x13d568(0x26a)](_0x1e2004[_0x13d568(0x2b7)]);if(!_0x3ca9b4)return!0x1;switch(_0x1e2004[_0x13d568(0x4b7)]['type']){case _0x13d568(0x4b9):return _0x3ca9b4[_0x13d568(0x43c)](_0x1e2004[_0x13d568(0x4b7)][_0x13d568(0x439)]),!0x0;case _0x13d568(0x29c):return _0x3ca9b4[_0x13d568(0x459)](_0x1e2004[_0x13d568(0x4b7)]['unitId'],_0x1e2004[_0x13d568(0x4b7)][_0x13d568(0x297)]),!0x0;case _0x13d568(0x424):return _0x3ca9b4[_0x13d568(0x3eb)](_0x1e2004[_0x13d568(0x4b7)][_0x13d568(0x2a1)]),!0x0;default:return!0x1;}}},_0x17ec3a={},_0x217fc6=class extends _0x243ba8['RxDisposable']{constructor(_0x349e37,_0x12bafb){const _0x51848c=_0x3a95bf;super(),this[_0x51848c(0x365)]=_0x349e37,this[_0x51848c(0x332)]=_0x12bafb,this['_init']();}[_0x3a95bf(0x2bf)](){const _0x24cb20=_0x3a95bf;let _0x1a8c24=this;this['disposeWithMe'](this[_0x24cb20(0x365)][_0x24cb20(0x49b)]({'onBeforePasteImage':async _0x2298ec=>{const _0x88119f=_0x24cb20;let _0x5356c9=await _0x1a8c24['_imageIoService'][_0x88119f(0x2bb)](_0x2298ec);return _0x5356c9?{'source':_0x5356c9['source'],'imageSourceType':_0x5356c9['imageSourceType']}:null;}}));}};_0x217fc6=_0x313369([_0x489cd3(0x0,_0x40df28[_0x3a95bf(0x1cc)]),_0x489cd3(0x1,_0x243ba8[_0x3a95bf(0x1ad)])],_0x217fc6);let _0x29c212=[_0x3a95bf(0x201),_0x3a95bf(0x37f),_0x3a95bf(0x24c),_0x3a95bf(0x43e),'blue.400','yellow.400'];var _0x566e73=class extends _0x243ba8[_0x3a95bf(0x336)]{constructor(..._0x3f3086){const _0x4e9b7f=_0x3a95bf;super(..._0x3f3086),_0x538d20(this,_0x4e9b7f(0x499),new Map()),_0x538d20(this,_0x4e9b7f(0x224),0x0);}[_0x3a95bf(0x2c1)](_0x295e12){const _0x51377e=_0x3a95bf;if(this[_0x51377e(0x499)]['has'](_0x295e12))return this[_0x51377e(0x499)][_0x51377e(0x26a)](_0x295e12);let _0x5ed0b8=_0x29c212[this[_0x51377e(0x224)]];return this[_0x51377e(0x224)]=(this['_colorIndex']+0x1)%_0x29c212['length'],this[_0x51377e(0x499)]['set'](_0x295e12,_0x5ed0b8),_0x5ed0b8;}};function _0x239a30(_0x5c4051){let _0x528633='';for(let _0x54774d of _0x5c4051){let {startOffset:_0x5e5a27,endOffset:_0x166516,isActive:_0x17786d,rangeType:_0x18e05e,segmentId:_0x3e87b3,segmentPage:_0x20b76c}=_0x54774d;_0x528633['length']&&(_0x528633+=','),_0x528633+=_0x5e5a27+':'+_0x166516+':'+(_0x17786d?'1':'0')+':'+_0x18e05e+':'+_0x3e87b3+':'+_0x20b76c;}return _0x528633;}function _0x2c6725(_0x297fc3){const _0x3f7cea=_0x3a95bf;let _0x1d7cd7=_0x297fc3[_0x3f7cea(0x34b)](','),_0x49d1a0=[];for(let _0x23c250 of _0x1d7cd7){let [_0x294d39,_0x27ab0d,_0x55c3a6,_0x1d071f,_0x31ad30,_0x8792f9]=_0x23c250[_0x3f7cea(0x34b)](':');_0x49d1a0[_0x3f7cea(0x50f)]({'startOffset':Number(_0x294d39),'endOffset':Number(_0x27ab0d),'collapsed':_0x294d39===_0x27ab0d,'isActive':_0x55c3a6==='1','rangeType':_0x1d071f===_0x243ba8[_0x3f7cea(0x44a)]['TEXT']?_0x243ba8[_0x3f7cea(0x44a)][_0x3f7cea(0x434)]:_0x243ba8[_0x3f7cea(0x44a)][_0x3f7cea(0x22e)],'segmentId':typeof _0x31ad30=='string'?String(_0x31ad30):'','segmentPage':Number(_0x8792f9??-0x1)});}return _0x49d1a0[_0x3f7cea(0x32d)](_0x211bb3=>_0x211bb3[_0x3f7cea(0x48f)])||(_0x49d1a0[0x0][_0x3f7cea(0x48f)]=!0x0),_0x49d1a0;}var _0x7cbc68=class extends _0x243ba8[_0x3a95bf(0x3b1)]{constructor(..._0x55d882){const _0x263454=_0x3a95bf;super(..._0x55d882),_0x538d20(this,'_collabCursorState$',new _0x4089a3['BehaviorSubject'](null)),_0x538d20(this,_0x263454(0x479),this['_collabCursorState$']['asObservable']());}[_0x3a95bf(0x273)](_0x269f12){const _0x3a596f=_0x3a95bf;let {unitID:_0x45f393,memberID:_0xbb8812,textRanges:_0x593053}=_0x269f12,_0x16b5d7=_0x239a30(_0x593053);if(_0x16b5d7==='')return;let _0x5f2788={'unitID':_0x45f393,'memberID':_0xbb8812,'selection':_0x16b5d7};this[_0x3a596f(0x3c3)]['next'](_0x5f2788);}};let _0x13964a=class extends _0x243ba8[_0x3a95bf(0x3b1)]{get['cursorInfo'](){const _0x2c3c94=_0x3a95bf;return this[_0x2c3c94(0x35b)][_0x2c3c94(0x2a6)]();}get[_0x3a95bf(0x404)](){const _0x1d9fcd=_0x3a95bf;return this['_roomMembers$'][_0x1d9fcd(0x2a6)]();}constructor(_0x3a4f1c,_0x5122ad,_0x5939ba,_0x425ccb,_0x25fe56,_0x406c11,_0x50cd9d,_0x425111,_0x5df8df){const _0x592c19=_0x3a95bf;super(),this[_0x592c19(0x259)]=_0x3a4f1c,this['_session']=_0x5122ad,this['_injector']=_0x5939ba,this[_0x592c19(0x440)]=_0x425ccb,this[_0x592c19(0x382)]=_0x25fe56,this['_syncEditingCollabCursorService']=_0x406c11,this[_0x592c19(0x481)]=_0x50cd9d,this[_0x592c19(0x31e)]=_0x425111,this['_commandService']=_0x5df8df,_0x538d20(this,'_online',!0x1),_0x538d20(this,_0x592c19(0x2bf),!0x1),_0x538d20(this,_0x592c19(0x35b),new _0x4089a3[(_0x592c19(0x43f))](new Map())),_0x538d20(this,_0x592c19(0x36f),this[_0x592c19(0x35b)][_0x592c19(0x1cd)]()),_0x538d20(this,_0x592c19(0x465),new _0x4089a3[(_0x592c19(0x43f))]([])),_0x538d20(this,_0x592c19(0x25a),this['_roomMembers$'][_0x592c19(0x325)]((0x0,_0x4089a3['debounceTime'])(0x12c))),_0x538d20(this,_0x592c19(0x250),(0x0,_0x243ba8[_0x592c19(0x234)])(_0x1fb840=>{const _0x4879a2=_0x592c19;let _0x4da85e={'eventID':_0x2557fc[_0x4879a2(0x4b3)][_0x4879a2(0x368)],'data':{'unitID':this['unitID'],'memberID':this[_0x4879a2(0x1c2)][_0x4879a2(0x30c)](),'selection':_0x239a30(_0x1fb840)}};this[_0x4879a2(0x1c2)]['send'](_0x4da85e,this['unitID']);},0x64));}['dispose'](){const _0x4d6f23=_0x3a95bf;super[_0x4d6f23(0x1f0)](),this['_cursorInfo$']['next'](new Map()),this['_cursorInfo$'][_0x4d6f23(0x1c8)](),this[_0x4d6f23(0x465)][_0x4d6f23(0x1e4)]([]),this[_0x4d6f23(0x465)][_0x4d6f23(0x1c8)]();}[_0x3a95bf(0x208)](){const _0x160d15=_0x3a95bf;this['_init']||(this[_0x160d15(0x2bf)]=!0x0,this[_0x160d15(0x1c2)][_0x160d15(0x2b3)][_0x160d15(0x325)]((0x0,_0x4089a3[_0x160d15(0x351)])(this[_0x160d15(0x2f7)]))[_0x160d15(0x425)](_0x544aab=>{const _0x35442b=_0x160d15;_0x544aab===_0xd6e6bc[_0x35442b(0x4a0)][_0x35442b(0x249)]?this[_0x35442b(0x403)]():this[_0x35442b(0x218)]();}),this['_session'][_0x160d15(0x388)][_0x160d15(0x325)]((0x0,_0x4089a3['takeUntil'])(this['dispose$']))[_0x160d15(0x425)](_0x392af5=>{const _0x233b27=_0x160d15;let _0x4e5a9f=_0x392af5[_0x233b27(0x488)];_0x4e5a9f===_0x2557fc[_0x233b27(0x4b3)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x392af5),_0x4e5a9f===_0x2557fc[_0x233b27(0x4b3)][_0x233b27(0x1c0)]&&this[_0x233b27(0x3bb)](_0x392af5);}),this[_0x160d15(0x359)](this[_0x160d15(0x40f)][_0x160d15(0x4de)](_0x698ffd=>{const _0x17d129=_0x160d15;let _0xf9e5d3=_0x698ffd[_0x17d129(0x3a4)];_0xf9e5d3!=null&&this[_0x17d129(0x4fe)]&&_0x698ffd['id']===_0x446a63[_0x17d129(0x3b9)]['id']&&_0xf9e5d3['unitId']===this['unitID']&&_0xf9e5d3[_0x17d129(0x42e)]===!0x1&&_0xf9e5d3[_0x17d129(0x2e6)]['length']>0x0&&this[_0x17d129(0x250)](_0xf9e5d3[_0x17d129(0x2e6)]);})),this[_0x160d15(0x2bd)][_0x160d15(0x479)]['pipe']((0x0,_0x4089a3['takeUntil'])(this[_0x160d15(0x2f7)]))[_0x160d15(0x425)](_0x455032=>{const _0x3e1774=_0x160d15;if((_0x455032==null?void 0x0:_0x455032[_0x3e1774(0x259)])!==this['unitID'])return;let _0x4fe38f={'eventID':_0x2557fc[_0x3e1774(0x4b3)][_0x3e1774(0x368)],'data':_0x455032};this[_0x3e1774(0x4af)](_0x4fe38f);}),this[_0x160d15(0x359)](this[_0x160d15(0x40f)][_0x160d15(0x4de)](_0x5a17db=>{const _0x2b486b=_0x160d15;if(_0x5a17db[_0x2b486b(0x3a4)]==null)return;let _0x197f40=_0x5a17db[_0x2b486b(0x3a4)];if(_0x5a17db['id']!==_0x446a63[_0x2b486b(0x2c3)]['id']||_0x197f40[_0x2b486b(0x2a1)]!==this[_0x2b486b(0x259)])return;let _0x348a50={'id':_0x2b486b(0x474),'params':_0x197f40},_0x8b6f95=this[_0x2b486b(0x2ed)];for(let [_0x391a0c,_0x5794c2]of _0x8b6f95){let _0x278716={'id':_0x2b486b(0x474),'params':{'unitId':this[_0x2b486b(0x259)],'actions':null,'textRanges':_0x5794c2['ranges']}},_0xfad940=this['_transformService'][_0x2b486b(0x1fb)](_0x348a50,_0x278716,!0x1);if((0x0,_0x2557fc['isTransformMutationFailure'])(_0xfad940))throw _0xfad940[_0x2b486b(0x21d)];_0x8b6f95[_0x2b486b(0x4b9)](_0x391a0c,{..._0x5794c2,'ranges':_0xfad940[_0x2b486b(0x264)][_0x2b486b(0x3a4)][_0x2b486b(0x46d)]});}queueMicrotask(()=>{const _0x552d07=_0x2b486b;this[_0x552d07(0x35b)][_0x552d07(0x1e4)](_0x8b6f95);});})));}[_0x3a95bf(0x4af)](_0x3d4a37){const _0x1c28e7=_0x3a95bf;var _0x2cc615;let {memberID:_0x2a823e,selection:_0x5ad459}=_0x3d4a37[_0x1c28e7(0x4dc)],_0x4cb0c4=_0x2c6725(_0x5ad459),_0x3fe1b9=((_0x2cc615=this[_0x1c28e7(0x382)][_0x1c28e7(0x462)](this[_0x1c28e7(0x259)],_0x2a823e))==null?void 0x0:_0x2cc615[_0x1c28e7(0x335)])??_0x1c28e7(0x2f1),_0x17c67d={'color':this['_colorAssignService'][_0x1c28e7(0x2c1)](_0x2a823e),'name':_0x3fe1b9,'ranges':_0x4cb0c4},_0x5ef494=this[_0x1c28e7(0x2ed)];_0x5ef494[_0x1c28e7(0x4b9)](_0x2a823e,_0x17c67d),this[_0x1c28e7(0x35b)][_0x1c28e7(0x1e4)](_0x5ef494);}[_0x3a95bf(0x3bb)](_0x5b35c6){const _0x22cdb2=_0x3a95bf;let {memberID:_0x3be791}=_0x5b35c6[_0x22cdb2(0x4dc)],_0x281987=this['cursorInfo'];_0x281987[_0x22cdb2(0x26e)](_0x3be791),this['_cursorInfo$'][_0x22cdb2(0x1e4)](_0x281987);}['_toggleOnline'](){const _0xf81677=_0x3a95bf;var _0x17c425;if(this[_0xf81677(0x4fe)]=!0x0,((_0x17c425=this[_0xf81677(0x31e)][_0xf81677(0x384)]())==null?void 0x0:_0x17c425[_0xf81677(0x4cd)]())!==this['unitID'])return;let _0x2c88c1=this[_0xf81677(0x4c9)]['get'](_0x446a63[_0xf81677(0x3af)])[_0xf81677(0x4fb)]();Array['isArray'](_0x2c88c1)&&_0x2c88c1[_0xf81677(0x510)]>0x0&&this['_updateLocalCursor'](_0x2c88c1);}[_0x3a95bf(0x218)](){const _0x36c5c0=_0x3a95bf;this[_0x36c5c0(0x4fe)]=!0x1;}};_0x13964a=_0x313369([_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x380)])),_0x489cd3(0x3,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x566e73)),_0x489cd3(0x4,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0xd6e6bc[_0x3a95bf(0x4d5)])),_0x489cd3(0x5,(0x0,_0x243ba8['Inject'])(_0x7cbc68)),_0x489cd3(0x6,_0x2557fc['ITransformService']),_0x489cd3(0x7,_0x243ba8['IUniverInstanceService']),_0x489cd3(0x8,_0x243ba8[_0x3a95bf(0x4dd)])],_0x13964a);let _0x20e85a=()=>{let _0x469aa5=[],_0x2a6e2c=!0x1;return _0x3fd7cd=>{const _0x3ed1f9=_0x179a;_0x469aa5[_0x3ed1f9(0x50f)](_0x3fd7cd),_0x2a6e2c||(_0x2a6e2c=!0x0,setTimeout(()=>{_0x469aa5['forEach'](_0x48678e=>_0x48678e()),_0x469aa5=[],_0x2a6e2c=!0x1;}));};},_0x344853=class extends _0x243ba8[_0x3a95bf(0x3b1)]{get['cursorInfo'](){const _0x4853ff=_0x3a95bf;return this[_0x4853ff(0x35b)]['getValue']();}get[_0x3a95bf(0x404)](){const _0x59a754=_0x3a95bf;return this[_0x59a754(0x465)][_0x59a754(0x2a6)]();}constructor(_0x227461,_0x1bd596,_0xc1f9e2,_0x1ca2d8,_0x458394,_0x180755,_0x4da1a6,_0x3502ad){const _0x1a3185=_0x3a95bf;super(),this['unitID']=_0x227461,this['_session']=_0x1bd596,this[_0x1a3185(0x4c9)]=_0xc1f9e2,this['_colorAssignService']=_0x1ca2d8,this[_0x1a3185(0x382)]=_0x458394,this[_0x1a3185(0x31e)]=_0x180755,this[_0x1a3185(0x40f)]=_0x4da1a6,this['_refRangeService']=_0x3502ad,_0x538d20(this,_0x1a3185(0x4fe),!0x1),_0x538d20(this,_0x1a3185(0x2bf),!0x1),_0x538d20(this,_0x1a3185(0x35b),new _0x4089a3[(_0x1a3185(0x43f))](new Map())),_0x538d20(this,_0x1a3185(0x36f),this[_0x1a3185(0x35b)]['asObservable']()),_0x538d20(this,_0x1a3185(0x465),new _0x4089a3['BehaviorSubject']([])),_0x538d20(this,'roomMembers$',this[_0x1a3185(0x465)][_0x1a3185(0x325)]((0x0,_0x4089a3[_0x1a3185(0x2aa)])(0x12c))),_0x538d20(this,_0x1a3185(0x250),(0x0,_0x243ba8['debounce'])((_0x4348de,_0x2f2f8c)=>{const _0x507255=_0x1a3185;let _0x5e5187={'eventID':_0x2557fc['CollaborationEvent'][_0x507255(0x368)],'data':{'unitID':this[_0x507255(0x259)],'memberID':this[_0x507255(0x1c2)][_0x507255(0x30c)](),'selection':(0x0,_0x2236c3['serializeRangeWithSheet'])(_0x4348de,_0x2f2f8c[_0x507255(0x3ef)])}};this[_0x507255(0x1c2)][_0x507255(0x2de)](_0x5e5187,this[_0x507255(0x259)]);},0x64));}[_0x3a95bf(0x1f0)](){const _0x4903c8=_0x3a95bf;super[_0x4903c8(0x1f0)](),this[_0x4903c8(0x35b)][_0x4903c8(0x1e4)](new Map()),this['_cursorInfo$'][_0x4903c8(0x1c8)](),this[_0x4903c8(0x465)][_0x4903c8(0x1e4)]([]),this['_roomMembers$'][_0x4903c8(0x1c8)]();}[_0x3a95bf(0x208)](){const _0x1bb0c6=_0x3a95bf;this[_0x1bb0c6(0x2bf)]||(this['_init']=!0x0,this['_session'][_0x1bb0c6(0x2b3)][_0x1bb0c6(0x325)]((0x0,_0x4089a3['takeUntil'])(this['dispose$']))['subscribe'](_0x30207f=>{const _0x434de9=_0x1bb0c6;_0x30207f===_0xd6e6bc[_0x434de9(0x4a0)][_0x434de9(0x249)]?this['_toggleOnline']():this[_0x434de9(0x218)]();}),this[_0x1bb0c6(0x1c2)]['event$'][_0x1bb0c6(0x325)]((0x0,_0x4089a3[_0x1bb0c6(0x351)])(this[_0x1bb0c6(0x2f7)]))[_0x1bb0c6(0x425)](_0x1e4005=>{const _0xc58692=_0x1bb0c6;let _0x23d2e0=_0x1e4005[_0xc58692(0x488)];_0x23d2e0===_0x2557fc['CollaborationEvent'][_0xc58692(0x368)]&&this[_0xc58692(0x4af)](_0x1e4005),_0x23d2e0===_0x2557fc[_0xc58692(0x4b3)][_0xc58692(0x1c0)]&&this[_0xc58692(0x3bb)](_0x1e4005);}),this[_0x1bb0c6(0x473)](),this['disposeWithMe'](this['_commandService'][_0x1bb0c6(0x4de)](_0x243bb0=>{const _0x496973=_0x1bb0c6;if(this[_0x496973(0x4fe)]&&_0x243bb0['id']===_0x416bc1[_0x496973(0x1e1)]['id']&&_0x243bb0[_0x496973(0x3a4)][_0x496973(0x2a1)]===this[_0x496973(0x259)]){let _0x1fa35d=_0x243bb0[_0x496973(0x3a4)];this[_0x496973(0x250)](_0x1fa35d[_0x496973(0x4e2)],_0x1fa35d['selections'][0x0]);}})));}[_0x3a95bf(0x4af)](_0x5482c9){const _0x247a3d=_0x3a95bf;var _0x56ca03;let {memberID:_0x522559,selection:_0x5afd26}=_0x5482c9[_0x247a3d(0x4dc)],{sheetName:_0x228570,range:_0x34c14d}=(0x0,_0x2236c3[_0x247a3d(0x3a5)])(_0x5afd26),_0x530c53={'name':((_0x56ca03=this[_0x247a3d(0x382)][_0x247a3d(0x462)](this[_0x247a3d(0x259)],_0x522559))==null?void 0x0:_0x56ca03[_0x247a3d(0x335)])??'Unknown\x20user','range':this[_0x247a3d(0x293)](_0x228570,_0x34c14d),'sheetID':_0x228570,'color':this[_0x247a3d(0x440)][_0x247a3d(0x2c1)](_0x522559),'selection':_0x5afd26},_0x2a398e=this[_0x247a3d(0x2ed)];_0x2a398e[_0x247a3d(0x4b9)](_0x522559,_0x530c53),this[_0x247a3d(0x35b)][_0x247a3d(0x1e4)](_0x2a398e);}['_onCursorDelete'](_0x299581){const _0x291a59=_0x3a95bf;let {memberID:_0x2dc695}=_0x299581['data'],_0x41695c=this[_0x291a59(0x2ed)];_0x41695c[_0x291a59(0x26e)](_0x2dc695),this['_cursorInfo$'][_0x291a59(0x1e4)](_0x41695c);}[_0x3a95bf(0x293)](_0x4ddc5e,_0x406f3d){const _0x31e42f=_0x3a95bf;var _0x5087fa;let _0xf2b282=(_0x5087fa=this[_0x31e42f(0x31e)][_0x31e42f(0x2cd)](this[_0x31e42f(0x259)],_0x243ba8['UniverInstanceType']['UNIVER_SHEET']))==null||(_0x5087fa=_0x5087fa[_0x31e42f(0x46b)](_0x4ddc5e))==null?void 0x0:_0x5087fa['getMergeData']();return(_0xf2b282==null?void 0x0:_0xf2b282['find'](_0xe9478a=>_0x243ba8['Rectangle']['contains'](_0xe9478a,_0x406f3d)))||_0x406f3d;}[_0x3a95bf(0x473)](){const _0x325c85=_0x3a95bf;let _0x27d13b=new _0x243ba8[(_0x325c85(0x278))](),_0x310ba4=_0x20e85a(),_0x18c840=()=>{_0x27d13b['dispose']();let _0x26ec17=(_0x52f6d1,_0x1f1b20,_0xa15431,_0x3c86b7)=>{const _0x328b84=_0x179a;let _0x1dcf07=[];switch(_0x52f6d1['id']){case _0x416bc1[_0x328b84(0x289)][_0x328b84(0x37a)]:_0x1dcf07=(0x0,_0x416bc1['handleDeleteRangeMoveLeft'])(_0x52f6d1,_0x3c86b7);break;case _0x416bc1[_0x328b84(0x289)][_0x328b84(0x1ca)]:_0x1dcf07=(0x0,_0x416bc1[_0x328b84(0x229)])(_0x52f6d1,_0x3c86b7);break;case _0x416bc1[_0x328b84(0x289)]['InsertColCommandId']:_0x1dcf07=(0x0,_0x416bc1['handleInsertCol'])(_0x52f6d1,_0x3c86b7);break;case _0x416bc1[_0x328b84(0x289)][_0x328b84(0x4bd)]:_0x1dcf07=(0x0,_0x416bc1[_0x328b84(0x248)])(_0x52f6d1,_0x3c86b7);break;case _0x416bc1['EffectRefRangId'][_0x328b84(0x1f7)]:_0x1dcf07=(0x0,_0x416bc1[_0x328b84(0x333)])(_0x52f6d1,_0x3c86b7);break;case _0x416bc1['EffectRefRangId'][_0x328b84(0x2f8)]:_0x1dcf07=(0x0,_0x416bc1[_0x328b84(0x42a)])(_0x52f6d1,_0x3c86b7);break;case _0x416bc1[_0x328b84(0x289)][_0x328b84(0x47d)]:_0x1dcf07=(0x0,_0x416bc1['handleMoveRange'])(_0x52f6d1,_0x3c86b7);break;case _0x416bc1[_0x328b84(0x289)][_0x328b84(0x27b)]:_0x1dcf07=(0x0,_0x416bc1[_0x328b84(0x44f)])(_0x52f6d1,_0x3c86b7);break;case _0x416bc1['EffectRefRangId'][_0x328b84(0x269)]:_0x1dcf07=(0x0,_0x416bc1[_0x328b84(0x383)])(_0x52f6d1,_0x3c86b7);}let _0xa18162=(0x0,_0x416bc1[_0x328b84(0x263)])(_0x1dcf07,_0x3c86b7),_0x214f2e=this['cursorInfo'][_0x328b84(0x26a)](_0x1f1b20);if(_0x214f2e&&_0xa18162){let _0x299b7e={..._0x214f2e,'range':_0xa18162};this[_0x328b84(0x2ed)]['set'](_0x1f1b20,_0x299b7e),_0x310ba4(()=>{const _0x533888=_0x328b84;let _0x5b7806=this[_0x533888(0x2ab)]['registerRefRange'](_0xa18162,_0x27bc59=>(_0x5b7806[_0x533888(0x1f0)](),_0x26ec17(_0x27bc59,_0x1f1b20,_0xa15431,_0xa18162)));_0x27d13b[_0x533888(0x299)](_0x5b7806);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x3fa628,_0x49524a)=>{const _0x31b44d=_0x179a;let {range:_0x14bbcb,sheetID:_0x2eb548}=_0x3fa628,_0x2e8590=this[_0x31b44d(0x2ab)]['registerRefRange'](_0x14bbcb,_0x4fc355=>(_0x2e8590[_0x31b44d(0x1f0)](),_0x26ec17(_0x4fc355,_0x49524a,_0x2eb548,_0x14bbcb)));_0x27d13b['add'](_0x2e8590);});};this[_0x325c85(0x359)]((0x0,_0x243ba8[_0x325c85(0x31b)])(this[_0x325c85(0x35b)][_0x325c85(0x425)](()=>{_0x18c840();})));}[_0x3a95bf(0x403)](){const _0x2fa092=_0x3a95bf;var _0xf7887c,_0x28de86;if(this[_0x2fa092(0x4fe)]=!0x0,((_0xf7887c=this[_0x2fa092(0x31e)][_0x2fa092(0x384)]())==null?void 0x0:_0xf7887c['getUnitId']())!==this[_0x2fa092(0x259)])return;let _0xd522ef=(_0x28de86=this[_0x2fa092(0x4c9)][_0x2fa092(0x26a)](_0x416bc1[_0x2fa092(0x236)])[_0x2fa092(0x1f9)]())==null?void 0x0:_0x28de86[0x0],_0x5b61e4=this[_0x2fa092(0x31e)][_0x2fa092(0x2b9)](_0x243ba8[_0x2fa092(0x509)]['UNIVER_SHEET'])[_0x2fa092(0x339)]();_0xd522ef&&_0x5b61e4&&this[_0x2fa092(0x250)](_0x5b61e4['getSheetId'](),_0xd522ef);}['_toggleOffline'](){const _0x2c8849=_0x3a95bf;this[_0x2c8849(0x4fe)]=!0x1;}};_0x344853=_0x313369([_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x380)])),_0x489cd3(0x3,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x566e73)),_0x489cd3(0x4,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0xd6e6bc[_0x3a95bf(0x4d5)])),_0x489cd3(0x5,_0x243ba8[_0x3a95bf(0x4ba)]),_0x489cd3(0x6,_0x243ba8[_0x3a95bf(0x4dd)]),_0x489cd3(0x7,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x416bc1[_0x3a95bf(0x4ae)]))],_0x344853);let _0x473810=class extends _0x243ba8[_0x3a95bf(0x3b1)]{constructor(_0x3712eb,_0x407f62,_0x326c0c){const _0x248cd3=_0x3a95bf;super(),this[_0x248cd3(0x31e)]=_0x3712eb,this[_0x248cd3(0x4c9)]=_0x407f62,this[_0x248cd3(0x397)]=_0x326c0c,_0x538d20(this,_0x248cd3(0x4d4),new Map()),_0x538d20(this,_0x248cd3(0x45e),new _0x4089a3['Subject']()),this[_0x248cd3(0x2bf)]();}[_0x3a95bf(0x1f0)](){const _0x42ff3b=_0x3a95bf;super['dispose'](),this[_0x42ff3b(0x45e)][_0x42ff3b(0x1c8)](),this[_0x42ff3b(0x4d4)][_0x42ff3b(0x437)](_0x2d5850=>_0x2d5850[_0x42ff3b(0x1f0)]());}[_0x3a95bf(0x2df)](_0x46818a){const _0x1c1ab8=_0x3a95bf;let _0x102921=this[_0x1c1ab8(0x4d4)][_0x1c1ab8(0x26a)](_0x46818a);return _0x102921?_0x102921[_0x1c1ab8(0x36f)]:this[_0x1c1ab8(0x45e)][_0x1c1ab8(0x325)]((0x0,_0x4089a3['filter'])(_0x38088f=>_0x38088f[_0x1c1ab8(0x259)]===_0x46818a),(0x0,_0x4089a3[_0x1c1ab8(0x20e)])(_0x3219a9=>_0x3219a9['cursorInfo$']));}[_0x3a95bf(0x2bf)](){const _0x1525a3=_0x3a95bf;this[_0x1525a3(0x31e)][_0x1525a3(0x3f9)](_0x243ba8[_0x1525a3(0x509)]['UNIVER_SHEET'])[_0x1525a3(0x325)]((0x0,_0x4089a3[_0x1525a3(0x351)])(this['dispose$']))[_0x1525a3(0x425)](async _0x10e438=>{const _0x436f94=_0x1525a3;let _0xd41ffc=_0x10e438['unit']['getUnitId'](),_0x519352=await this['_startSheetCollabCursor'](_0xd41ffc);this[_0x436f94(0x45e)][_0x436f94(0x1e4)](_0x519352),this[_0x436f94(0x4d4)][_0x436f94(0x4b9)](_0xd41ffc,_0x519352);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x243ba8[_0x1525a3(0x509)][_0x1525a3(0x2fb)])['pipe']((0x0,_0x4089a3[_0x1525a3(0x351)])(this[_0x1525a3(0x2f7)]))['pipe']((0x0,_0x4089a3['filter'])(_0x41d919=>!_0x41d919[_0x1525a3(0x231)][_0x1525a3(0x4cd)]()[_0x1525a3(0x4f5)]('__')))[_0x1525a3(0x425)](async _0x4216d9=>{const _0x6a3984=_0x1525a3;let {unit:_0xe21320}=_0x4216d9,_0x4e42cb=_0xe21320[_0x6a3984(0x4cd)](),_0x266177=await this[_0x6a3984(0x1e5)](_0x4e42cb);this[_0x6a3984(0x45e)][_0x6a3984(0x1e4)](_0x266177),this[_0x6a3984(0x4d4)][_0x6a3984(0x4b9)](_0x4e42cb,_0x266177);}),(0x0,_0x4089a3[_0x1525a3(0x2e8)])(this[_0x1525a3(0x31e)][_0x1525a3(0x364)](_0x243ba8[_0x1525a3(0x509)]['UNIVER_DOC']),this['_univerInstanceService'][_0x1525a3(0x364)](_0x243ba8[_0x1525a3(0x509)][_0x1525a3(0x295)]))[_0x1525a3(0x325)]((0x0,_0x4089a3[_0x1525a3(0x351)])(this[_0x1525a3(0x2f7)]))['subscribe'](_0x3ff3b9=>{const _0x472488=_0x1525a3;let _0x261580=_0x3ff3b9[_0x472488(0x4cd)](),_0x5aa0a4=this['_entities'][_0x472488(0x26a)](_0x261580);_0x5aa0a4&&(_0x5aa0a4[_0x472488(0x1f0)](),this['_entities'][_0x472488(0x26e)](_0x261580));});}async['_startSheetCollabCursor'](_0x4e4c35){const _0x5324c8=_0x3a95bf;let _0x4d4780=await this[_0x5324c8(0x397)][_0x5324c8(0x4d7)](_0x4e4c35),_0x5ed031=this[_0x5324c8(0x4c9)][_0x5324c8(0x480)](_0x344853,_0x4e4c35,_0x4d4780);return _0x5ed031[_0x5324c8(0x208)](),_0x5ed031;}async[_0x3a95bf(0x1e5)](_0x309ba4){const _0x5f7c24=_0x3a95bf;let _0xc17874=await this['_collabSessionService'][_0x5f7c24(0x4d7)](_0x309ba4),_0x2f6bd3=this['_injector'][_0x5f7c24(0x480)](_0x13964a,_0x309ba4,_0xc17874);return _0x2f6bd3[_0x5f7c24(0x208)](),_0x2f6bd3;}};_0x473810=_0x313369([_0x489cd3(0x0,_0x243ba8[_0x3a95bf(0x4ba)]),_0x489cd3(0x1,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x380)])),_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0xd6e6bc['CollaborationSessionService']))],_0x473810);function _0x9ae28b(_0x5dc3c7,_0x595eb0){const _0x20ecab=_0x3a95bf;_0x5dc3c7['save'](),_0x5dc3c7[_0x20ecab(0x2ad)]=_0x20ecab(0x200);let _0x5f5084=_0x5dc3c7[_0x20ecab(0x413)](_0x595eb0)[_0x20ecab(0x40b)];return _0x5dc3c7[_0x20ecab(0x495)](),Math[_0x20ecab(0x4db)](_0x5f5084+0x8,0xc8);}function _0x8e66bd(_0x3cc0ec,_0x3a051f){const _0x145840=_0x3a95bf;let {radius:_0x203ec9,width:_0x4149ac,height:_0x51b6ab}=_0x3a051f;_0x203ec9??=0x0,_0x4149ac??=0x1e,_0x51b6ab??=0x1e;let _0x167bd3=0x0,_0x1856ce=0x0,_0x2b5cea=0x0;_0x167bd3=_0x1856ce=_0x2b5cea=Math['min'](_0x203ec9,_0x4149ac/0x2,_0x51b6ab/0x2),_0x3cc0ec['beginPath'](),_0x3cc0ec[_0x145840(0x314)](_0x167bd3,0x0),_0x3cc0ec[_0x145840(0x2dc)](_0x4149ac-_0x1856ce,0x0),_0x3cc0ec[_0x145840(0x4c5)](_0x4149ac-_0x1856ce,_0x1856ce,_0x1856ce,Math['PI']*0x3/0x2,0x0,!0x1),_0x3cc0ec[_0x145840(0x2dc)](_0x4149ac,_0x51b6ab-_0x2b5cea),_0x3cc0ec[_0x145840(0x4c5)](_0x4149ac-_0x2b5cea,_0x51b6ab-_0x2b5cea,_0x2b5cea,0x0,Math['PI']/0x2,!0x1),_0x3cc0ec[_0x145840(0x2dc)](0x0,_0x51b6ab),_0x3cc0ec['lineTo'](0x0,_0x167bd3),_0x3cc0ec[_0x145840(0x4c5)](_0x167bd3,_0x167bd3,_0x167bd3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3cc0ec[_0x145840(0x255)](),_0x3a051f[_0x145840(0x338)]&&(_0x3cc0ec[_0x145840(0x49d)](),_0x3cc0ec[_0x145840(0x4f3)]=_0x3a051f[_0x145840(0x338)],_0x3a051f[_0x145840(0x466)]===_0x145840(0x4ec)?_0x3cc0ec[_0x145840(0x338)](_0x145840(0x4ec)):_0x3cc0ec[_0x145840(0x338)](),_0x3cc0ec[_0x145840(0x495)]());}var _0x40afbe=class _0xbd470d extends _0x1df5c2['Shape']{constructor(_0x5e318c,_0x4cba28){const _0x3b4f69=_0x3a95bf;super(_0x5e318c,_0x4cba28),_0x538d20(this,_0x3b4f69(0x222),void 0x0),_0x538d20(this,_0x3b4f69(0x209),void 0x0),this[_0x3b4f69(0x222)]=_0x4cba28==null?void 0x0:_0x4cba28['color'],this['text']=_0x4cba28==null?void 0x0:_0x4cba28[_0x3b4f69(0x209)];}static[_0x3a95bf(0x47c)](_0x45cb9c,_0x1f3e96){const _0x8d8b8c=_0x3a95bf;let {text:_0x56d62f,color:_0x3d2169}=_0x1f3e96;_0x45cb9c[_0x8d8b8c(0x49d)](),_0x45cb9c[_0x8d8b8c(0x2ad)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';let _0x50e49d=_0x45cb9c[_0x8d8b8c(0x413)](_0x56d62f)['width'];if(_0x8e66bd(_0x45cb9c,{'height':0x14,'radius':0x4,'width':_0x9ae28b(_0x45cb9c,_0x56d62f),'fill':_0x3d2169,'evented':!0x1}),_0x45cb9c[_0x8d8b8c(0x4f3)]=_0x8d8b8c(0x4e0),_0x50e49d>0xc0){let _0x2870f5='',_0x5ec2f1=0x0;for(let _0x31ed1d of _0x56d62f){let _0xb3e07f=_0x45cb9c[_0x8d8b8c(0x413)](_0x31ed1d)[_0x8d8b8c(0x40b)];if(_0x5ec2f1+_0xb3e07f<=0xc0-_0x45cb9c['measureText']('...')[_0x8d8b8c(0x40b)])_0x2870f5+=_0x31ed1d,_0x5ec2f1+=_0xb3e07f;else{_0x2870f5+=_0x8d8b8c(0x1c4);break;}}_0x45cb9c[_0x8d8b8c(0x31a)](_0x2870f5,0x4,0xf);}else _0x45cb9c[_0x8d8b8c(0x31a)](_0x56d62f,0x4,0xf);_0x45cb9c[_0x8d8b8c(0x495)]();}['_draw'](_0x564733){const _0x1922ab=_0x3a95bf;_0xbd470d[_0x1922ab(0x47c)](_0x564733,this);}};let _0x4c582b=_0x3a95bf(0x3f1);var _0x570943=class{constructor(_0x3e65f5,_0x2a12cb,_0x1e8b8b,_0x4164f7){const _0x59c6ac=_0x3a95bf;this[_0x59c6ac(0x3f2)]=_0x3e65f5,this[_0x59c6ac(0x20c)]=_0x2a12cb,this[_0x59c6ac(0x39f)]=_0x1e8b8b,this['_document']=_0x4164f7,_0x538d20(this,_0x59c6ac(0x412),[]),_0x538d20(this,'_anchor',null),_0x538d20(this,_0x59c6ac(0x29b),null),_0x538d20(this,_0x59c6ac(0x26f),null),_0x538d20(this,_0x59c6ac(0x36b),null),_0x538d20(this,_0x59c6ac(0x4b4),null),this[_0x59c6ac(0x429)]();}set[_0x3a95bf(0x270)](_0x4836bc){const _0x2827aa=_0x3a95bf;_0x4836bc?(this[_0x2827aa(0x26f)]&&this['_anchorDot']['hide'](),this[_0x2827aa(0x29b)]&&this[_0x2827aa(0x29b)][_0x2827aa(0x3ee)]()):(this[_0x2827aa(0x26f)]&&this[_0x2827aa(0x26f)][_0x2827aa(0x3ee)](),this[_0x2827aa(0x29b)]&&this['_textBubble'][_0x2827aa(0x505)]());}[_0x3a95bf(0x1f0)](){const _0x2afefa=_0x3a95bf;for(let _0xdd4325 of this[_0x2afefa(0x412)])_0xdd4325[_0x2afefa(0x1f0)]();this[_0x2afefa(0x29b)]&&this[_0x2afefa(0x29b)][_0x2afefa(0x1f0)](),this[_0x2afefa(0x26f)]&&this['_anchorDot'][_0x2afefa(0x1f0)](),this[_0x2afefa(0x43a)]&&this[_0x2afefa(0x43a)][_0x2afefa(0x1f0)](),this[_0x2afefa(0x4b4)]&&this[_0x2afefa(0x4b4)]();}[_0x3a95bf(0x429)](){const _0x21cc32=_0x3a95bf;let {_docSkeleton:_0x4f4092,_document:_0x179d93}=this,{color:_0x4d9618,name:_0x47abdc,ranges:_0x4e919b}=this['_cursor'],_0x1a2271=_0x179d93[_0x21cc32(0x482)](),{docsLeft:_0x10004c,docsTop:_0x3a37ad}=_0x1a2271,_0x8b3448=new _0x40df28[(_0x21cc32(0x4d0))](_0x1a2271,_0x4f4092);for(let {startOffset:_0x2fbd9e,endOffset:_0x3cc6fc,rangeType:_0x20a773,segmentId:_0xc1a99a,segmentPage:_0x46f5b3,collapsed:_0x181305,isActive:_0x3d81ac}of _0x4e919b){let _0x30d7e0=_0x4f4092[_0x21cc32(0x363)](_0x2fbd9e,!0x0,_0xc1a99a,_0x46f5b3),_0x3f32c4=_0x4f4092[_0x21cc32(0x363)](_0x3cc6fc,!0x0,_0xc1a99a,_0x46f5b3);_0x3f32c4??=_0x4f4092[_0x21cc32(0x363)](_0x3cc6fc-0x1,!0x1,_0xc1a99a,_0x46f5b3);let _0x6441cb=_0x40cba6(_0x30d7e0,_0x3f32c4);if(_0x3d81ac&&_0x6441cb[_0x21cc32(0x3cb)]){let {contentBoxPointGroup:_0x6a1d70}=_0x8b3448[_0x21cc32(0x409)](_0x3f32c4,_0x3f32c4);if(_0x6a1d70[_0x21cc32(0x510)]===0x0)continue;this[_0x21cc32(0x3da)](_0x4d9618,_0x6a1d70,_0x10004c,_0x3a37ad,_0x47abdc),this[_0x21cc32(0x4b4)]=this[_0x21cc32(0x389)]();}if(_0x30d7e0&&_0x3f32c4){if(_0x20a773===_0x243ba8[_0x21cc32(0x44a)]['RECT']){let {pointGroup:_0x51e01d}=new _0x40df28[(_0x21cc32(0x1c6))](_0x1a2271,_0x4f4092)['getRangePointData'](_0x30d7e0,_0x3f32c4)??{};if(_0x51e01d==null||_0x51e01d[_0x21cc32(0x510)]===0x0)continue;this[_0x21cc32(0x1cf)](_0x4d9618,_0x51e01d,_0x10004c,_0x3a37ad);}else{if(!_0x181305&&_0x6441cb[_0x21cc32(0x3d7)]){let {borderBoxPointGroup:_0x215ec4}=_0x8b3448[_0x21cc32(0x409)](_0x30d7e0,_0x3f32c4);if(_0x215ec4[_0x21cc32(0x510)]===0x0)continue;this[_0x21cc32(0x280)](_0x4d9618,_0x215ec4,_0x10004c,_0x3a37ad);}}}}}[_0x3a95bf(0x3da)](_0x3b87e6,_0x4ad719,_0x5631b2,_0x15d927,_0x3a0bd5){const _0x53ccb1=_0x3a95bf;let {left:_0x3e9dee,top:_0x5ce187,height:_0x427b86}=this[_0x53ccb1(0x239)](_0x4ad719),_0x5802b3=1.5/this[_0x53ccb1(0x467)](),_0x585f6f=new _0x1df5c2['Rect'](_0x4c582b+(0x0,_0x243ba8[_0x53ccb1(0x32f)])(0x6),{'left':_0x3e9dee+_0x5631b2-_0x5802b3,'top':_0x5ce187+_0x15d927,'height':_0x427b86,'width':1.5,'fill':_0x3b87e6||(0x0,_0x1df5c2[_0x53ccb1(0x3b7)])(_0x243ba8[_0x53ccb1(0x282)][_0x53ccb1(0x2a8)],0x0),'strokeWidth':_0x5802b3,'stroke':_0x53ccb1(0x1da),'evented':!0x0});this['_anchor']=_0x585f6f,this[_0x53ccb1(0x20c)][_0x53ccb1(0x3fa)](_0x585f6f,_0x40df28[_0x53ccb1(0x2f0)]);let _0xab4882=new _0x1df5c2['Rect'](_0x4c582b+(0x0,_0x243ba8[_0x53ccb1(0x32f)])(0x6),{'left':_0x3e9dee+_0x5631b2-_0x5802b3,'top':_0x5ce187+_0x15d927-0x2,'height':0x4,'width':0x4,'fill':_0x3b87e6||(0x0,_0x1df5c2[_0x53ccb1(0x3b7)])(_0x243ba8[_0x53ccb1(0x282)][_0x53ccb1(0x2a8)],0x0),'strokeWidth':0x0,'stroke':_0x3b87e6||(0x0,_0x1df5c2[_0x53ccb1(0x3b7)])(_0x243ba8['COLORS']['black'],0x0),'evented':!0x1});this[_0x53ccb1(0x26f)]=_0xab4882,this[_0x53ccb1(0x20c)][_0x53ccb1(0x3fa)](_0xab4882,_0x40df28[_0x53ccb1(0x2f0)]);let _0x434388=new _0x40afbe(_0x4c582b+(0x0,_0x243ba8[_0x53ccb1(0x32f)])(0x6),{'left':_0x3e9dee+_0x5631b2-_0x5802b3,'top':_0x5ce187+_0x15d927-0x14,'text':_0x3a0bd5,'color':_0x3b87e6});this[_0x53ccb1(0x29b)]=_0x434388,this['_scene'][_0x53ccb1(0x3fa)](_0x434388,_0x40df28[_0x53ccb1(0x2f0)]),this[_0x53ccb1(0x270)]=!0x1;}[_0x3a95bf(0x389)](){const _0x368968=_0x3a95bf;let _0x203907=this[_0x368968(0x43a)][_0x368968(0x307)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x351661=this['_anchor'][_0x368968(0x4f0)][_0x368968(0x1c1)](()=>{const _0x1c31f1=_0x368968;this[_0x1c31f1(0x36b)]&&clearTimeout(this[_0x1c31f1(0x36b)]),this[_0x1c31f1(0x36b)]=setTimeout(()=>{const _0x26ca4f=_0x1c31f1;this[_0x26ca4f(0x270)]=!0x1;},0x7d0);});return()=>{const _0x4bf5b6=_0x368968;_0x203907[_0x4bf5b6(0x3b2)](),_0x351661[_0x4bf5b6(0x3b2)]();};}['_drawTextRange'](_0x45ce84,_0x4b0b04,_0x1fcc58,_0x4f9a5d){const _0x28f64e=_0x3a95bf;let _0x2e12ea=0.2,_0x42f2b0=new _0x243ba8[(_0x28f64e(0x38e))](_0x45ce84)[_0x28f64e(0x496)](_0x2e12ea)[_0x28f64e(0x2c4)](),_0x31c833=new _0x1df5c2[(_0x28f64e(0x3bc))](_0x28f64e(0x42d)+(0x0,_0x243ba8['generateRandomId'])(0x6),{'pointsGroup':_0x4b0b04,'fill':_0x42f2b0||(0x0,_0x1df5c2['getColor'])(_0x243ba8[_0x28f64e(0x282)][_0x28f64e(0x2a8)],_0x2e12ea),'left':_0x1fcc58,'top':_0x4f9a5d,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x28f64e(0x50f)](_0x31c833),this[_0x28f64e(0x20c)][_0x28f64e(0x3fa)](_0x31c833,_0x40df28[_0x28f64e(0x2f0)]);}[_0x3a95bf(0x1cf)](_0x182a0a,_0x3f94a3,_0x3b48ce,_0x46e1e2){const _0x3f2835=_0x3a95bf;let _0x28c256=0.2,_0x69c224=new _0x243ba8[(_0x3f2835(0x38e))](_0x182a0a)[_0x3f2835(0x496)](_0x28c256)[_0x3f2835(0x2c4)](),_0x2db78c=new _0x1df5c2['RegularPolygon'](_0x3f2835(0x3a1)+(0x0,_0x243ba8['generateRandomId'])(0x6),{'pointsGroup':_0x3f94a3,'fill':_0x69c224||(0x0,_0x1df5c2[_0x3f2835(0x3b7)])(_0x243ba8[_0x3f2835(0x282)][_0x3f2835(0x2a8)],_0x28c256),'left':_0x3b48ce,'top':_0x46e1e2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3f2835(0x412)][_0x3f2835(0x50f)](_0x2db78c),this[_0x3f2835(0x20c)][_0x3f2835(0x3fa)](_0x2db78c,_0x40df28[_0x3f2835(0x2f0)]);}['_getAnchorBounding'](_0x45f30a){let _0x5c3906=_0x45f30a[0x0],_0x5bed4a=_0x5c3906[0x0],_0xfb2bc8=_0x5c3906[0x2],{x:_0x4aca98,y:_0x20f64b}=_0x5bed4a,{x:_0x43a9f4,y:_0x3e132a}=_0xfb2bc8;return{'left':_0x4aca98,'top':_0x20f64b,'width':_0x43a9f4-_0x4aca98,'height':_0x3e132a-_0x20f64b};}[_0x3a95bf(0x467)](){const _0x53feff=_0x3a95bf;let {scaleX:_0x146339,scaleY:_0x4a2c2a}=this[_0x53feff(0x20c)]['getAncestorScale']();return Math[_0x53feff(0x3df)](_0x146339,_0x4a2c2a);}};function _0x40cba6(_0x50570d,_0x3f0c37){const _0x3f6eb0=_0x3a95bf;if(!_0x3f0c37)return{'canRenderAnchor':!0x1,'canRenderSelection':!0x1};if(!_0x50570d||_0x50570d[_0x3f6eb0(0x2d9)]!==_0x3f0c37[_0x3f6eb0(0x2d9)]||(_0x50570d[_0x3f6eb0(0x2d9)]===_0x1df5c2[_0x3f6eb0(0x1ae)][_0x3f6eb0(0x1dd)]||_0x50570d[_0x3f6eb0(0x2d9)]===_0x1df5c2[_0x3f6eb0(0x1ae)][_0x3f6eb0(0x2ae)])&&_0x50570d[_0x3f6eb0(0x253)]!==_0x3f0c37[_0x3f6eb0(0x253)])return{'canRenderAnchor':!0x0,'canRenderSelection':!0x1};let _0x588646=(0x0,_0x1df5c2[_0x3f6eb0(0x385)])(_0x50570d),_0x426e43=(0x0,_0x1df5c2[_0x3f6eb0(0x385)])(_0x3f0c37);return{'canRenderAnchor':!0x0,'canRenderSelection':_0x588646==null||_0x426e43==null?_0x588646==null&&_0x426e43==null:_0x588646[_0x3f6eb0(0x486)]===_0x426e43[_0x3f6eb0(0x486)]&&_0x588646[_0x3f6eb0(0x29a)]===_0x426e43[_0x3f6eb0(0x29a)]&&_0x588646[_0x3f6eb0(0x400)]===_0x426e43[_0x3f6eb0(0x400)]};}let _0x247d79=class extends _0x243ba8[_0x3a95bf(0x3b1)]{constructor(_0x23d96c,_0x2e9979,_0x2615f4,_0x24c458,_0x124b2a){const _0x4e860d=_0x3a95bf;super(),this[_0x4e860d(0x203)]=_0x23d96c,this[_0x4e860d(0x4d6)]=_0x2e9979,this[_0x4e860d(0x39e)]=_0x2615f4,this[_0x4e860d(0x40f)]=_0x24c458,this[_0x4e860d(0x3e6)]=_0x124b2a,_0x538d20(this,_0x4e860d(0x360),[]),_0x538d20(this,_0x4e860d(0x357),[]),this['_init']();}[_0x3a95bf(0x2bf)](){const _0xd525a7=_0x3a95bf;let _0x1574c2=this[_0xd525a7(0x203)]['unitId'],_0x31a67f=this['_docSkeletonManagerService'];this[_0xd525a7(0x359)]((0x0,_0x4089a3[_0xd525a7(0x29e)])([this['_collabCursorController'][_0xd525a7(0x2df)](_0x1574c2),this['_themeService']['currentTheme$']])['pipe']((0x0,_0x51dbfd[_0xd525a7(0x3a2)])(([_0x515369,_0x173e46])=>({'skeleton':_0x31a67f[_0xd525a7(0x344)](),'cursors':[..._0x515369[_0xd525a7(0x22c)]()][_0xd525a7(0x2d4)](_0x18c392=>({..._0x18c392,'color':this[_0xd525a7(0x3e6)][_0xd525a7(0x1af)](_0x18c392['color'])}))})))['subscribe'](_0x45829d=>{const _0x3138a0=_0xd525a7;if(this['_removeCollabCursors'](),_0x45829d){let {skeleton:_0xa5e5b6,cursors:_0x3e43e6}=_0x45829d;this[_0x3138a0(0x460)](_0xa5e5b6,_0x3e43e6);}})),this[_0xd525a7(0x251)](),this[_0xd525a7(0x1c7)]();}[_0x3a95bf(0x460)](_0x342486,_0xd09a73){const _0x15f3bf=_0x3a95bf;let {scene:_0x182f86,mainComponent:_0x1eb62b}=this['_context'],_0x2001e0=_0xd09a73['map'](_0x10a5f2=>new _0x570943(_0x10a5f2,_0x182f86,_0x342486,_0x1eb62b));this[_0x15f3bf(0x360)]=_0x2001e0,this[_0x15f3bf(0x357)]=_0xd09a73;}[_0x3a95bf(0x29d)](){const _0x102101=_0x3a95bf;this[_0x102101(0x396)]();let {scene:_0x18b5fb,mainComponent:_0x456211}=this[_0x102101(0x203)],_0x17d95b=this[_0x102101(0x4d6)][_0x102101(0x344)](),_0x144a9a=this[_0x102101(0x357)][_0x102101(0x3a2)](_0x4a4c0a=>new _0x570943(_0x4a4c0a,_0x18b5fb,_0x17d95b,_0x456211));this['_cursorShapes']=_0x144a9a;}[_0x3a95bf(0x396)](){const _0x42b05f=_0x3a95bf;this[_0x42b05f(0x360)][_0x42b05f(0x437)](_0x17795a=>_0x17795a[_0x42b05f(0x1f0)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x164003=_0x3a95bf;let _0x3f03f9=[_0x40df28[_0x164003(0x3a7)]['id']];this['disposeWithMe'](this[_0x164003(0x40f)]['onCommandExecuted'](_0xeffb3e=>{const _0x34eb1c=_0x164003;_0x3f03f9[_0x34eb1c(0x2c0)](_0xeffb3e['id'])&&_0xeffb3e[_0x34eb1c(0x3a4)][_0x34eb1c(0x2a1)]===this[_0x34eb1c(0x203)][_0x34eb1c(0x2a1)]&&this[_0x34eb1c(0x29d)]();}));}[_0x3a95bf(0x251)](){const _0x527c54=_0x3a95bf;this[_0x527c54(0x359)]((0x0,_0x243ba8[_0x527c54(0x370)])(this[_0x527c54(0x203)]['engine'][_0x527c54(0x4d8)])[_0x527c54(0x325)]((0x0,_0x51dbfd['filter'])(_0x420c79=>_0x420c79[_0x527c54(0x30d)]===_0x1df5c2[_0x527c54(0x27f)]['resize']),(0x0,_0x51dbfd[_0x527c54(0x4f2)])(0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x247d79=_0x313369([_0x489cd3(0x1,(0x0,_0x243ba8['Inject'])(_0x446a63['DocSkeletonManagerService'])),_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x473810)),_0x489cd3(0x3,_0x243ba8[_0x3a95bf(0x4dd)]),_0x489cd3(0x4,(0x0,_0x243ba8['Inject'])(_0x243ba8[_0x3a95bf(0x4c6)]))],_0x247d79);var _0x13957a=class extends _0x1df5c2[_0x3a95bf(0x343)]{constructor(_0x1728da,_0x14e04d){const _0x3f83ae=_0x3a95bf;super(_0x1728da,_0x14e04d),_0x538d20(this,_0x3f83ae(0x272),void 0x0),_0x538d20(this,_0x3f83ae(0x435),!0x1),_0x538d20(this,_0x3f83ae(0x3a3),void 0x0),_0x538d20(this,_0x3f83ae(0x240),''),_0x538d20(this,_0x3f83ae(0x4d2),_0x3f83ae(0x21a)),_0x538d20(this,'_backgroundColor',void 0x0),_0x538d20(this,_0x3f83ae(0x3ac),void 0x0),_0x538d20(this,_0x3f83ae(0x1f8),void 0x0),_0x538d20(this,_0x3f83ae(0x313),0x4),_0x538d20(this,_0x3f83ae(0x1ba),void 0x0),_0x538d20(this,_0x3f83ae(0x34f),void 0x0),_0x538d20(this,'_isBlinkVisible',!0x0),_0x538d20(this,_0x3f83ae(0x47a),0x0),_0x538d20(this,'_labelHorizontalPosition',_0x3f83ae(0x47b)),_0x14e04d&&(this[_0x3f83ae(0x1ec)](_0x14e04d),_0x14e04d[_0x3f83ae(0x390)]&&(_0x14e04d['highlightSecond']??this[_0x3f83ae(0x313)])&&this[_0x3f83ae(0x446)](_0x14e04d['highlightSecond']??this['_highlightSecond'])),this[_0x3f83ae(0x307)][_0x3f83ae(0x1c1)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x3f83ae(0x1c1)](()=>this[_0x3f83ae(0x1ec)]({'hovered':!0x1}));}[_0x3a95bf(0x358)](_0x1945b5){const _0x530c7e=_0x3a95bf;this[_0x530c7e(0x47a)]=_0x1945b5;}['setShapeProps'](_0x4f800b){const _0x52b411=_0x3a95bf;this[_0x52b411(0x272)]=_0x4f800b[_0x52b411(0x222)]??this[_0x52b411(0x272)],this[_0x52b411(0x435)]=_0x4f800b[_0x52b411(0x50a)]??this[_0x52b411(0x435)],this[_0x52b411(0x3a3)]=_0x4f800b[_0x52b411(0x3ef)]??this[_0x52b411(0x3a3)],this[_0x52b411(0x240)]=_0x4f800b['name']??this['_name'],this[_0x52b411(0x4d2)]=_0x4f800b[_0x52b411(0x306)]??this[_0x52b411(0x4d2)],this[_0x52b411(0x3c5)]=_0x4f800b[_0x52b411(0x291)]??this[_0x52b411(0x3c5)],this[_0x52b411(0x3ac)]=_0x4f800b[_0x52b411(0x30a)]??this[_0x52b411(0x3ac)],this[_0x52b411(0x3ba)]=_0x4f800b[_0x52b411(0x2d5)]??this['_labelHorizontalPosition'],_0x4f800b[_0x52b411(0x3f0)]!==void 0x0&&(this[_0x52b411(0x313)]=_0x4f800b[_0x52b411(0x3f0)]),_0x4f800b[_0x52b411(0x390)]!==void 0x0&&(this[_0x52b411(0x1f8)]=_0x4f800b[_0x52b411(0x390)]),_0x4f800b['offsetY']!==void 0x0&&(this[_0x52b411(0x47a)]=_0x4f800b['offsetY']),this[_0x52b411(0x322)]({'width':_0x4f800b[_0x52b411(0x40b)],'height':_0x4f800b[_0x52b411(0x350)]});}['onMouseMove'](_0x5ac8ea){const _0x272bc2=_0x3a95bf;let {row:_0x323390,column:_0x51e557}=_0x5ac8ea;_0x323390>=this[_0x272bc2(0x3a3)][_0x272bc2(0x361)]&&_0x323390<=this[_0x272bc2(0x3a3)][_0x272bc2(0x379)]&&_0x51e557>=this[_0x272bc2(0x3a3)][_0x272bc2(0x4da)]&&_0x51e557<=this[_0x272bc2(0x3a3)][_0x272bc2(0x500)]?this[_0x272bc2(0x1ec)]({'hovered':!0x0}):this[_0x272bc2(0x1ec)]({'hovered':!0x1});}['_startBlinking'](_0x4b37dc){const _0x5b61ab=_0x3a95bf;this[_0x5b61ab(0x410)](),this[_0x5b61ab(0x2f3)]=!0x0,this[_0x5b61ab(0x34f)]=window['setInterval'](()=>{const _0x45c1e4=_0x5b61ab;this[_0x45c1e4(0x2f3)]=!this[_0x45c1e4(0x2f3)],this['makeDirty'](!0x0);},0x1f4),this['_blinkTimer']=window[_0x5b61ab(0x35e)](()=>{const _0x3aa733=_0x5b61ab;this[_0x3aa733(0x410)](),this['_isBlinkVisible']=!0x0,this['makeDirty'](!0x0);},_0x4b37dc*0x3e8);}[_0x3a95bf(0x410)](){const _0x263520=_0x3a95bf;this['_blinkIntervalTimer']&&=(window['clearInterval'](this[_0x263520(0x34f)]),void 0x0),this[_0x263520(0x1ba)]&&=(window[_0x263520(0x3d8)](this[_0x263520(0x1ba)]),void 0x0);}[_0x3a95bf(0x3c2)](_0x51d514){return!0x1;}[_0x3a95bf(0x1f0)](){const _0x2865c6=_0x3a95bf;this['_stopBlinking'](),super[_0x2865c6(0x1f0)]();}['_draw'](_0x377f00){const _0x43a968=_0x3a95bf;let _0x52cc20=this[_0x43a968(0x272)],_0x42d656=this[_0x43a968(0x3c5)];if(this['_highlight']&&!this[_0x43a968(0x2f3)]&&(_0x52cc20=this[_0x43a968(0x50d)](this[_0x43a968(0x272)]),_0x42d656=this['_backgroundColor']?this[_0x43a968(0x50d)](this[_0x43a968(0x3c5)]):void 0x0),_0x1df5c2['Rect'][_0x43a968(0x47c)](_0x377f00,{'width':this[_0x43a968(0x40b)],'height':this['height'],'strokeWidth':this[_0x43a968(0x1b3)]||1.5,'stroke':_0x52cc20,'evented':!0x1,'fill':_0x42d656}),this['_hovered']||this[_0x43a968(0x3ac)]){_0x377f00[_0x43a968(0x49d)]();let _0x333a31=this[_0x43a968(0x3ba)]===_0x43a968(0x2c6)?-_0x9ae28b(_0x377f00,this[_0x43a968(0x240)]):this['width'];_0x377f00[_0x43a968(0x48a)](0x1,0x0,0x0,0x1,_0x333a31,(this[_0x43a968(0x4d2)]===_0x43a968(0x2b1)?0x0:-0x14)+(this[_0x43a968(0x47a)]??0x0)),_0x40afbe[_0x43a968(0x47c)](_0x377f00,{'text':this[_0x43a968(0x240)],'color':_0x52cc20}),_0x377f00[_0x43a968(0x495)]();}}[_0x3a95bf(0x50d)](_0x51f2da){const _0x54e962=_0x3a95bf;return _0x51f2da[_0x54e962(0x4f5)]('#')?_0x54e962(0x475)+Number[_0x54e962(0x430)](_0x51f2da[_0x54e962(0x426)](0x1,0x3),0x10)+',\x20'+Number[_0x54e962(0x430)](_0x51f2da[_0x54e962(0x426)](0x3,0x5),0x10)+',\x20'+Number[_0x54e962(0x430)](_0x51f2da['slice'](0x5,0x7),0x10)+',\x200.2)':_0x51f2da[_0x54e962(0x4f5)](_0x54e962(0x443))?_0x51f2da[_0x54e962(0x4ca)](/[\d.]+\)$/g,_0x54e962(0x2c8)):_0x51f2da[_0x54e962(0x4f5)](_0x54e962(0x26c))?_0x51f2da['replace'](_0x54e962(0x26c),'rgba')['replace'](')',_0x54e962(0x3c7)):_0x51f2da;}};let _0x7fdc90=class extends _0x243ba8[_0x3a95bf(0x3b1)]{constructor(_0x176c8b,_0x3ca0ac,_0x213888,_0x25278f){const _0x4623cd=_0x3a95bf;super(),this[_0x4623cd(0x203)]=_0x176c8b,this[_0x4623cd(0x4ad)]=_0x3ca0ac,this[_0x4623cd(0x39e)]=_0x213888,this[_0x4623cd(0x3e6)]=_0x25278f,_0x538d20(this,_0x4623cd(0x357),new Set()),_0x538d20(this,_0x4623cd(0x28d),null),_0x538d20(this,_0x4623cd(0x419),null),this[_0x4623cd(0x2bf)]();}[_0x3a95bf(0x2bf)](){const _0x114391=_0x3a95bf;this[_0x114391(0x4ad)][_0x114391(0x235)]['pipe']((0x0,_0x51dbfd[_0x114391(0x351)])(this[_0x114391(0x2f7)]),(0x0,_0x51dbfd['switchMap'])(_0xa77e84=>{const _0x4c802a=_0x114391;if(_0xa77e84){let _0x151fe8=_0xa77e84[_0x4c802a(0x2a7)];return(0x0,_0x4089a3[_0x4c802a(0x29e)])(this[_0x4c802a(0x39e)][_0x4c802a(0x2df)](this[_0x4c802a(0x203)]['unitId']),this['_themeService'][_0x4c802a(0x237)])[_0x4c802a(0x325)]((0x0,_0x51dbfd[_0x4c802a(0x3a2)])(([_0x2d08ae,_0x390c36])=>{const _0x30d7f2=_0x4c802a;let _0x5a1686=new Map();return _0x2d08ae[_0x30d7f2(0x437)]((_0x1777ee,_0x59f63b)=>{const _0x418987=_0x30d7f2;if(_0x1777ee[_0x418987(0x29f)]===_0x151fe8){let _0x59f854={..._0x1777ee};_0x59f854[_0x418987(0x222)]=this[_0x418987(0x3e6)][_0x418987(0x1af)](_0x1777ee[_0x418987(0x222)]),_0x5a1686[_0x418987(0x4b9)](_0x59f63b,_0x59f854);}}),{'skeleton':_0xa77e84,'cursors':_0x5a1686};}));}return(0x0,_0x4089a3['of'])({'skeleton':null,'cursors':new Map()});}))[_0x114391(0x425)](({skeleton:_0x1140ec,cursors:_0x206527})=>{const _0x3f574a=_0x114391;this['_removeCollabCursors'](),_0x1140ec&&this[_0x3f574a(0x460)](_0x1140ec,_0x206527);}),this['disposeWithMe'](this[_0x114391(0x4ad)]['currentSkeleton$'][_0x114391(0x325)]((0x0,_0x51dbfd[_0x114391(0x351)])(this[_0x114391(0x2f7)]))[_0x114391(0x425)](_0x40dc3d=>{const _0x14a077=_0x114391;var _0x5060f7;if(_0x40dc3d==null)return;(_0x5060f7=this[_0x14a077(0x419)])==null||_0x5060f7[_0x14a077(0x3b2)](),this[_0x14a077(0x419)]=null;let {skeleton:_0x2bd1a8}=_0x40dc3d,{scene:_0x1d5e11}=this['_context'];this[_0x14a077(0x419)]=_0x1d5e11['onPointerMove$'][_0x14a077(0x1c1)]((0x0,_0x243ba8[_0x14a077(0x234)])(_0x56feb5=>{const _0x1415b7=_0x14a077;var _0x121403,_0x4ce1c7;let {offsetX:_0x4982ae,offsetY:_0x12fb50}=_0x56feb5,{x:_0x25a875,y:_0x209cb7}=_0x1d5e11[_0x1415b7(0x3bd)](_0x1df5c2[_0x1415b7(0x38a)][_0x1415b7(0x4b8)]([_0x4982ae,_0x12fb50])),{scaleX:_0xba655a,scaleY:_0x3758ec}=_0x1d5e11[_0x1415b7(0x227)](),_0x544d7c=_0x1d5e11['getViewport'](_0x1df5c2[_0x1415b7(0x312)][_0x1415b7(0x4e6)]),_0x449190=_0x1d5e11[_0x1415b7(0x3e8)](_0x1df5c2[_0x1415b7(0x38a)][_0x1415b7(0x4b8)]([_0x25a875,_0x209cb7]),_0x544d7c),_0x365a25=_0x2bd1a8[_0x1415b7(0x4d3)](_0x4982ae,_0x12fb50,_0xba655a,_0x3758ec,_0x449190);(((_0x121403=this[_0x1415b7(0x28d)])==null?void 0x0:_0x121403['column'])!==_0x365a25[_0x1415b7(0x304)]||((_0x4ce1c7=this[_0x1415b7(0x28d)])==null?void 0x0:_0x4ce1c7[_0x1415b7(0x31d)])!==_0x365a25[_0x1415b7(0x31d)])&&this['_cursors']['forEach'](_0x3e8b4b=>{_0x3e8b4b['onMouseMove'](_0x365a25);});},0x64));})),this['disposeWithMe']((0x0,_0x243ba8[_0x114391(0x31b)])(()=>{const _0x187cfa=_0x114391;var _0x4cfd49;(_0x4cfd49=this[_0x187cfa(0x419)])==null||_0x4cfd49[_0x187cfa(0x3b2)](),this['_pointerMoveDisposable']=null;}));}[_0x3a95bf(0x460)](_0x4aff4e,_0x2fde71){const _0x5edde5=_0x3a95bf;let _0x475d36=this['_sheetSkeletonManagerService'][_0x5edde5(0x436)]();if(!_0x475d36)return;let _0xa23e4b=this[_0x5edde5(0x340)]();if(!_0xa23e4b)return;this[_0x5edde5(0x357)]['forEach'](_0x386dc0=>{const _0x1256e8=_0x5edde5;_0x386dc0[_0x1256e8(0x1ce)]();});let {scene:_0x320628}=_0xa23e4b,_0x24d6d0=_0x2ccdc8(Array[_0x5edde5(0x292)](_0x2fde71['values']()))[_0x5edde5(0x3a2)](_0x1dd36c=>{const _0xf454e6=_0x5edde5;let {color:_0x56c69e,range:_0x59788c,name:_0xe52f51,selection:_0x72705d,sheetID:_0x2c46c5}=_0x1dd36c,{startColumn:_0x5013e7,startRow:_0x20d529,endColumn:_0x1bbbda,endRow:_0x36ed48}=_0x59788c,_0xb66719=(0x0,_0x3f07c4[_0xf454e6(0x468)])(_0x20d529,_0x5013e7,_0x320628,_0x475d36),_0x36686f=(0x0,_0x3f07c4[_0xf454e6(0x468)])(_0x36ed48,_0x1bbbda,_0x320628,_0x475d36),{columnHeaderHeightAndMarginTop:_0x2948a9}=_0x475d36,{startX:_0x496e0b,startY:_0xa94bab}=_0xb66719,{endX:_0x89211e,endY:_0x2b4bb9}=_0x36686f,_0x1ddaf7=_0x89211e-_0x496e0b,_0x39bab5=_0x2b4bb9-_0xa94bab;return new _0x13957a(_0xe52f51,{'labelPosition':_0xa94bab-_0x2948a9>=0x14?'top':_0xf454e6(0x2b1),'sheetID':_0x2c46c5,'range':_0x59788c,'color':_0x56c69e,'name':_0xe52f51,'selection':_0x72705d,'left':_0x496e0b,'top':_0xa94bab,'width':_0x1ddaf7,'height':_0x39bab5,'evented':!0x1,'zIndex':0x1389});});_0x320628[_0x5edde5(0x216)](_0x24d6d0,0x1),this[_0x5edde5(0x357)]=new Set(_0x24d6d0);}[_0x3a95bf(0x396)](){const _0xa50db1=_0x3a95bf;var _0x45ca73;(_0x45ca73=this[_0xa50db1(0x357)])==null||_0x45ca73['forEach'](_0x475cf9=>_0x475cf9[_0xa50db1(0x1f0)]());}[_0x3a95bf(0x340)](){const _0x426d28=_0x3a95bf;return(0x0,_0x3f07c4['getSheetObject'])(this[_0x426d28(0x203)][_0x426d28(0x231)],this[_0x426d28(0x203)]);}};_0x7fdc90=_0x313369([_0x489cd3(0x1,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x3f07c4[_0x3a95bf(0x213)])),_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x473810)),_0x489cd3(0x3,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x4c6)]))],_0x7fdc90);function _0x2ccdc8(_0x393e98){const _0xd7d1c=_0x3a95bf;let _0x1bbd86=new Map();return _0x393e98[_0xd7d1c(0x437)](_0x4c55d2=>{const _0x5c40a6=_0xd7d1c;if(_0x1bbd86[_0x5c40a6(0x502)](_0x4c55d2[_0x5c40a6(0x1b9)])){let _0x3b7d15=_0x1bbd86['get'](_0x4c55d2['selection']);_0x3b7d15['name']+=',\x20'+_0x4c55d2[_0x5c40a6(0x335)];}else _0x1bbd86[_0x5c40a6(0x4b9)](_0x4c55d2['selection'],_0x4c55d2);}),Array[_0xd7d1c(0x292)](_0x1bbd86['values']());}function _0x438fdf(_0x11f699){const _0x5f3473=_0x3a95bf;return typeof _0x11f699==_0x5f3473(0x2f2)&&!!_0x11f699;}function _0x2d0493(_0x233fb6){const _0x2837f7=_0x3a95bf;return _0x233fb6[_0x2837f7(0x488)]===_0x2557fc[_0x2837f7(0x4b3)][_0x2837f7(0x368)]&&_0x2837f7(0x4dc)in _0x233fb6&&_0x438fdf(_0x233fb6[_0x2837f7(0x4dc)])&&typeof _0x233fb6[_0x2837f7(0x4dc)][_0x2837f7(0x4e8)]==_0x2837f7(0x4b1)&&typeof _0x233fb6[_0x2837f7(0x4dc)][_0x2837f7(0x1b9)]=='string';}function _0x391eee(_0x27401a){const _0x57c412=_0x3a95bf;return _0x27401a[_0x57c412(0x488)]===_0x2557fc['CollaborationEvent'][_0x57c412(0x1c0)]&&_0x57c412(0x4dc)in _0x27401a&&_0x438fdf(_0x27401a['data'])&&typeof _0x27401a[_0x57c412(0x4dc)][_0x57c412(0x4e8)]==_0x57c412(0x4b1);}function _0x506869(_0xf48f5,_0x1cbd6b){const _0x47707e=_0x3a95bf;let _0x5e21e3;try{_0x5e21e3=JSON[_0x47707e(0x4ff)](_0xf48f5);}catch{return null;}if(!_0x438fdf(_0x5e21e3)||typeof _0x5e21e3[_0x47707e(0x2b8)]!=_0x47707e(0x4b1)||typeof _0x5e21e3[_0x47707e(0x2a1)]!=_0x47707e(0x4b1)||typeof _0x5e21e3[_0x47707e(0x4e2)]!=_0x47707e(0x4b1))return null;let _0x126eb6=typeof _0x5e21e3[_0x47707e(0x2b7)]==_0x47707e(0x4aa)?_0x5e21e3[_0x47707e(0x2b7)]:_0x1cbd6b;if(_0x126eb6==null)return null;let _0x33d471=_0x438fdf(_0x5e21e3['pointer'])&&typeof _0x5e21e3['pointer']['x']=='number'&&Number['isFinite'](_0x5e21e3[_0x47707e(0x315)]['x'])&&typeof _0x5e21e3[_0x47707e(0x315)]['y']=='number'&&Number[_0x47707e(0x2bc)](_0x5e21e3['pointer']['y'])?{'x':_0x5e21e3[_0x47707e(0x315)]['x'],'y':_0x5e21e3[_0x47707e(0x315)]['y']}:null;return{'kind':_0x5e21e3['kind'],'unitType':_0x126eb6,'unitId':_0x5e21e3[_0x47707e(0x2a1)],'subUnitId':_0x5e21e3['subUnitId'],'selectedIds':Array[_0x47707e(0x279)](_0x5e21e3[_0x47707e(0x2d1)])?_0x5e21e3[_0x47707e(0x2d1)][_0x47707e(0x1d2)](_0x33e317=>typeof _0x33e317=='string'):[],'focusedId':typeof _0x5e21e3['focusedId']==_0x47707e(0x4b1)?_0x5e21e3[_0x47707e(0x4eb)]:null,'pointer':_0x33d471};}function _0x4fba5e(_0x5a46b1,_0x54cf3c,_0x19ecf0){const _0x311cb6=_0x3a95bf;return{'kind':_0x54cf3c,'unitType':_0x5a46b1,'unitId':_0x19ecf0[_0x311cb6(0x2a1)],'subUnitId':_0x19ecf0[_0x311cb6(0x4e2)],'selectedIds':Array['from'](_0x19ecf0[_0x311cb6(0x2d1)]),'focusedId':_0x19ecf0[_0x311cb6(0x4eb)],'pointer':_0x19ecf0[_0x311cb6(0x315)]?{..._0x19ecf0[_0x311cb6(0x315)]}:null};}let _0x279a52=class extends _0x243ba8['RxDisposable']{constructor(_0x408c8d,_0x4ed21a,_0x9e04e0,_0x2f51fc,_0x557f4d,_0x2d8d07){const _0x403c7d=_0x3a95bf;super(),this['unitId']=_0x408c8d,this[_0x403c7d(0x1c2)]=_0x4ed21a,this[_0x403c7d(0x309)]=_0x9e04e0,this[_0x403c7d(0x440)]=_0x2f51fc,this[_0x403c7d(0x382)]=_0x557f4d,this[_0x403c7d(0x40f)]=_0x2d8d07,_0x538d20(this,_0x403c7d(0x4fe),!0x1),_0x538d20(this,_0x403c7d(0x503),!0x1);}get[_0x3a95bf(0x2b7)](){const _0x368aba=_0x3a95bf;return this[_0x368aba(0x309)][_0x368aba(0x2b7)];}[_0x3a95bf(0x1f0)](){const _0x2d6bc3=_0x3a95bf;this['_clearRemotePresences'](),super[_0x2d6bc3(0x1f0)]();}[_0x3a95bf(0x208)](){const _0xfb5b28=_0x3a95bf;this[_0xfb5b28(0x503)]||(this[_0xfb5b28(0x503)]=!0x0,this['_session'][_0xfb5b28(0x2b3)][_0xfb5b28(0x325)]((0x0,_0x4089a3['takeUntil'])(this['dispose$']))[_0xfb5b28(0x425)](_0x47fae9=>{const _0x18ab62=_0xfb5b28;if(_0x47fae9===_0xd6e6bc['SessionStatus']['ONLINE']){this['_online']=!0x0;let _0xd855aa=this[_0x18ab62(0x309)][_0x18ab62(0x45a)](this[_0x18ab62(0x2a1)]);_0xd855aa&&this[_0x18ab62(0x223)](_0xd855aa);}else this[_0x18ab62(0x4fe)]=!0x1,this['_clearRemotePresences']();}),this[_0xfb5b28(0x1c2)][_0xfb5b28(0x388)][_0xfb5b28(0x325)]((0x0,_0x4089a3['takeUntil'])(this[_0xfb5b28(0x2f7)]))['subscribe'](_0xfcf8a1=>{const _0x588db1=_0xfb5b28;_0x2d0493(_0xfcf8a1)?this[_0x588db1(0x2c9)](_0xfcf8a1):_0x391eee(_0xfcf8a1)&&this[_0x588db1(0x244)](_0xfcf8a1[_0x588db1(0x4dc)][_0x588db1(0x4e8)]);}),this[_0xfb5b28(0x309)][_0xfb5b28(0x288)]['pipe']((0x0,_0x4089a3[_0xfb5b28(0x1d2)])(_0x5ed596=>this['_online']&&_0x5ed596[_0xfb5b28(0x2a1)]===this['unitId']),(0x0,_0x4089a3['throttle'])(_0x4089a2=>(0x0,_0x4089a3[_0xfb5b28(0x371)])(_0x4089a2[_0xfb5b28(0x42f)]),{'leading':!0x0,'trailing':!0x0}),(0x0,_0x4089a3[_0xfb5b28(0x351)])(this[_0xfb5b28(0x2f7)]))[_0xfb5b28(0x425)](_0x239bac=>this[_0xfb5b28(0x223)](_0x239bac)));}[_0x3a95bf(0x223)](_0x4210bd){const _0x372066=_0x3a95bf;let _0x43fc1c=this[_0x372066(0x1c2)][_0x372066(0x30c)]();if(!_0x43fc1c||!this[_0x372066(0x4fe)])return;let _0x575d03={'eventID':_0x2557fc[_0x372066(0x4b3)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x372066(0x2a1)],'memberID':_0x43fc1c,'selection':JSON['stringify'](_0x4fba5e(this[_0x372066(0x2b7)],this[_0x372066(0x309)][_0x372066(0x33a)],_0x4210bd))}};this[_0x372066(0x1c2)][_0x372066(0x2de)](_0x575d03,this[_0x372066(0x2a1)])[_0x372066(0x37b)](()=>void 0x0);}['_handleCursorUpdate'](_0xe9b1d2){const _0x47c2da=_0x3a95bf;let {memberID:_0x275398,selection:_0x5c273f}=_0xe9b1d2['data'];if(_0x275398===this[_0x47c2da(0x1c2)]['getMemberID']())return;let _0x12f880=_0x506869(_0x5c273f,this[_0x47c2da(0x2b7)]);if(!_0x12f880||_0x12f880['kind']!==this['_adapter'][_0x47c2da(0x33a)]||_0x12f880[_0x47c2da(0x2b7)]!==this['unitType']||_0x12f880['unitId']!==this[_0x47c2da(0x2a1)])return;let _0x3f31a8=this[_0x47c2da(0x382)][_0x47c2da(0x462)](this['unitId'],_0x275398),_0x5ee66f={'unitId':_0x12f880['unitId'],'subUnitId':_0x12f880['subUnitId'],'selectedIds':_0x12f880[_0x47c2da(0x2d1)],'focusedId':_0x12f880['focusedId'],'pointer':_0x12f880[_0x47c2da(0x315)],'memberId':_0x275398,'color':this['_colorAssignService'][_0x47c2da(0x2c1)](_0x275398),'name':(_0x3f31a8==null?void 0x0:_0x3f31a8[_0x47c2da(0x335)])??_0x275398};this[_0x47c2da(0x40f)][_0x47c2da(0x211)](_0x574984['id'],{'unitType':this[_0x47c2da(0x2b7)],'update':{'type':_0x47c2da(0x4b9),'state':_0x5ee66f}})[_0x47c2da(0x37b)](()=>void 0x0);}[_0x3a95bf(0x244)](_0x54fd15){const _0x14b08d=_0x3a95bf;this[_0x14b08d(0x40f)][_0x14b08d(0x211)](_0x574984['id'],{'unitType':this[_0x14b08d(0x2b7)],'update':{'type':_0x14b08d(0x29c),'unitId':this['unitId'],'memberId':_0x54fd15}})[_0x14b08d(0x37b)](()=>void 0x0);}['_clearRemotePresences'](){const _0x1e8f55=_0x3a95bf;this[_0x1e8f55(0x40f)][_0x1e8f55(0x211)](_0x574984['id'],{'unitType':this['unitType'],'update':{'type':_0x1e8f55(0x424),'unitId':this[_0x1e8f55(0x2a1)]}})['catch'](()=>void 0x0);}};_0x279a52=_0x313369([_0x489cd3(0x3,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x566e73)),_0x489cd3(0x4,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0xd6e6bc[_0x3a95bf(0x4d5)])),_0x489cd3(0x5,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x4dd)]))],_0x279a52);let _0x54df2a=class extends _0x243ba8[_0x3a95bf(0x3b1)]{constructor(_0x1d4412,_0x2d5dfa,_0x416f34,_0x6ea5fb){const _0x5ed79f=_0x3a95bf;super(),this[_0x5ed79f(0x31e)]=_0x1d4412,this[_0x5ed79f(0x4c9)]=_0x2d5dfa,this['_collabSessionService']=_0x416f34,this[_0x5ed79f(0x1f1)]=_0x6ea5fb,_0x538d20(this,_0x5ed79f(0x33f),!0x1),_0x538d20(this,_0x5ed79f(0x4d4),new Map()),_0x538d20(this,'_pendingEntities',new Map()),_0x538d20(this,_0x5ed79f(0x387),new Map()),this[_0x5ed79f(0x2bf)]();}[_0x3a95bf(0x1f0)](){const _0x4499ac=_0x3a95bf;this[_0x4499ac(0x33f)]=!0x0,this[_0x4499ac(0x387)][_0x4499ac(0x437)](_0x25a066=>_0x25a066[_0x4499ac(0x1f0)]()),this[_0x4499ac(0x387)][_0x4499ac(0x424)](),this[_0x4499ac(0x4d4)][_0x4499ac(0x437)](_0x28d9e0=>_0x28d9e0[_0x4499ac(0x1f0)]()),this[_0x4499ac(0x4d4)]['clear'](),this['_pendingEntities'][_0x4499ac(0x424)](),super[_0x4499ac(0x1f0)]();}[_0x3a95bf(0x2bf)](){const _0x47ad2e=_0x3a95bf;this[_0x47ad2e(0x1f1)][_0x47ad2e(0x2b6)]['pipe']((0x0,_0x4089a3['takeUntil'])(this[_0x47ad2e(0x2f7)]))['subscribe'](_0x21a79e=>this['_syncAdapters'](_0x21a79e));}['_syncAdapters'](_0x1873d5){const _0x24b40=_0x3a95bf;let _0x6da2b5=new Set(_0x1873d5[_0x24b40(0x3a2)](_0xf3cab7=>_0xf3cab7[_0x24b40(0x2b7)]));this[_0x24b40(0x387)][_0x24b40(0x437)]((_0x41e5ea,_0x299837)=>{const _0x2c53cb=_0x24b40;_0x6da2b5[_0x2c53cb(0x502)](_0x299837)||(_0x41e5ea[_0x2c53cb(0x1f0)](),this['_adapterDisposables'][_0x2c53cb(0x26e)](_0x299837),this[_0x2c53cb(0x349)](_0x299837));}),_0x1873d5[_0x24b40(0x437)](_0x4797de=>{const _0x3396cd=_0x24b40;this[_0x3396cd(0x387)]['has'](_0x4797de[_0x3396cd(0x2b7)])||this[_0x3396cd(0x275)](_0x4797de);});}[_0x3a95bf(0x275)](_0x49e545){const _0x3d566b=_0x3a95bf;let _0x100d41=new _0x243ba8[(_0x3d566b(0x278))]();this[_0x3d566b(0x387)]['set'](_0x49e545[_0x3d566b(0x2b7)],_0x100d41),_0x100d41[_0x3d566b(0x299)](_0x49e545[_0x3d566b(0x463)]()),this['_univerInstanceService'][_0x3d566b(0x491)](_0x49e545['unitType'])[_0x3d566b(0x437)](_0x496bdb=>this[_0x3d566b(0x47f)](_0x496bdb[_0x3d566b(0x4cd)](),_0x49e545)[_0x3d566b(0x37b)](()=>void 0x0));let _0x3ee0a3=this[_0x3d566b(0x31e)][_0x3d566b(0x3f9)](_0x49e545[_0x3d566b(0x2b7)])[_0x3d566b(0x425)](({unit:_0x2f4171})=>this[_0x3d566b(0x47f)](_0x2f4171[_0x3d566b(0x4cd)](),_0x49e545)['catch'](()=>void 0x0));_0x100d41['add']((0x0,_0x243ba8[_0x3d566b(0x31b)])(()=>_0x3ee0a3[_0x3d566b(0x3b2)]()));let _0x30ee49=this[_0x3d566b(0x31e)]['getTypeOfUnitDisposed$'](_0x49e545[_0x3d566b(0x2b7)])[_0x3d566b(0x425)](_0x39fe64=>this['_disposeEntity'](_0x39fe64[_0x3d566b(0x4cd)]()));_0x100d41['add']((0x0,_0x243ba8[_0x3d566b(0x31b)])(()=>_0x30ee49[_0x3d566b(0x3b2)]()));}async[_0x3a95bf(0x47f)](_0x1fa2cd,_0x145265){const _0x49ba17=_0x3a95bf;if(this[_0x49ba17(0x4d4)]['has'](_0x1fa2cd)||this[_0x49ba17(0x3f5)]['has'](_0x1fa2cd))return;let _0x28f589={};this[_0x49ba17(0x3f5)][_0x49ba17(0x4b9)](_0x1fa2cd,_0x28f589);let _0x1e8141=await this[_0x49ba17(0x397)][_0x49ba17(0x4d7)](_0x1fa2cd)[_0x49ba17(0x37b)](_0x78e22e=>{const _0x5a69cb=_0x49ba17;throw this[_0x5a69cb(0x3f5)]['get'](_0x1fa2cd)===_0x28f589&&this[_0x5a69cb(0x3f5)]['delete'](_0x1fa2cd),_0x78e22e;});if(this[_0x49ba17(0x33f)]||this[_0x49ba17(0x3f5)][_0x49ba17(0x26a)](_0x1fa2cd)!==_0x28f589||this[_0x49ba17(0x1f1)][_0x49ba17(0x26a)](_0x145265['unitType'])!==_0x145265){this[_0x49ba17(0x3f5)][_0x49ba17(0x26a)](_0x1fa2cd)===_0x28f589&&this[_0x49ba17(0x3f5)]['delete'](_0x1fa2cd);return;}let _0x431b1e=this['_injector'][_0x49ba17(0x480)](_0x279a52,_0x1fa2cd,_0x1e8141,_0x145265);_0x431b1e[_0x49ba17(0x208)](),this[_0x49ba17(0x3f5)][_0x49ba17(0x26e)](_0x1fa2cd),this[_0x49ba17(0x4d4)][_0x49ba17(0x4b9)](_0x1fa2cd,_0x431b1e);}[_0x3a95bf(0x1d8)](_0x46a1bd){const _0x400e96=_0x3a95bf;this[_0x400e96(0x3f5)][_0x400e96(0x26e)](_0x46a1bd);let _0x4e9c1a=this['_entities'][_0x400e96(0x26a)](_0x46a1bd);_0x4e9c1a&&(_0x4e9c1a[_0x400e96(0x1f0)](),this['_entities']['delete'](_0x46a1bd));}[_0x3a95bf(0x349)](_0x1bd535){const _0x4193da=_0x3a95bf;this[_0x4193da(0x31e)]['getAllUnitsForType'](_0x1bd535)[_0x4193da(0x437)](_0x20a071=>this[_0x4193da(0x3f5)][_0x4193da(0x26e)](_0x20a071[_0x4193da(0x4cd)]())),Array['from'](this[_0x4193da(0x4d4)][_0x4193da(0x321)]())['forEach'](([_0x313750,_0x279ddc])=>{const _0x54dabb=_0x4193da;_0x279ddc['unitType']===_0x1bd535&&this[_0x54dabb(0x1d8)](_0x313750);});}};_0x54df2a=_0x313369([_0x489cd3(0x0,_0x243ba8['IUniverInstanceService']),_0x489cd3(0x1,(0x0,_0x243ba8['Inject'])(_0x243ba8[_0x3a95bf(0x380)])),_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0xd6e6bc[_0x3a95bf(0x40c)])),_0x489cd3(0x3,(0x0,_0x243ba8['Inject'])(_0x456aa1[_0x3a95bf(0x327)]))],_0x54df2a);let _0x301d60={'toast':_0x3a95bf(0x36a),'actionButton':'!univer-m-0\x20univer-col-start-2\x20univer-row-start-2\x20univer-justify-self-end'},_0x5ffa5e={'title':'collaboration-client-ui.conflict.title','content':_0x3a95bf(0x449),'type':_0x3a95bf(0x21d)},_0x166990={'permission_rejected':{'title':'collaboration-client-ui.permission.title','content':'collaboration-client-ui.permission.content','type':_0x3a95bf(0x21d)},'license_unit_type_rejected':{'title':_0x3a95bf(0x296),'content':'collaboration-client-ui.license.unit-type-rejected','type':_0x3a95bf(0x21d)},'remote_revert':{'title':_0x3a95bf(0x4be),'content':_0x3a95bf(0x38c),'type':_0x3a95bf(0x2db)}},_0x5e6afd=class extends _0x243ba8[_0x3a95bf(0x336)]{constructor(_0x2ee162,_0x53e464,_0x596c90,_0x4ce8ce,_0x33bea5,_0x1b5a59,_0x2809e3,_0x1b960b){const _0x25fd13=_0x3a95bf;var _0xd40fd2;super(),this[_0x25fd13(0x451)]=_0x2ee162,this[_0x25fd13(0x41f)]=_0x53e464,this['_collaborationUIEventService']=_0x596c90,this[_0x25fd13(0x346)]=_0x4ce8ce,this[_0x25fd13(0x2d0)]=_0x33bea5,this[_0x25fd13(0x243)]=_0x1b5a59,this['_collaborationController']=_0x2809e3,this[_0x25fd13(0x45c)]=_0x1b960b,_0x538d20(this,_0x25fd13(0x1ef),null),_0x538d20(this,_0x25fd13(0x1df),new Set()),_0x538d20(this,_0x25fd13(0x286),new Map()),_0x538d20(this,_0x25fd13(0x490),new Map()),this[_0x25fd13(0x210)](),this[_0x25fd13(0x411)](),this[_0x25fd13(0x2f6)](),((_0xd40fd2=this[_0x25fd13(0x45c)][_0x25fd13(0x256)](_0x25fd13(0x44e)))==null?void 0x0:_0xd40fd2['enableDefaultConflictUI'])!==!0x1&&this['_initConflictHandling']();}[_0x3a95bf(0x1f0)](){const _0x4609ec=_0x3a95bf;var _0x5e0ffa;(_0x5e0ffa=this[_0x4609ec(0x1ef)])==null||_0x5e0ffa[_0x4609ec(0x1f0)](),this[_0x4609ec(0x1ef)]=null;for(let _0x38e547 of[this[_0x4609ec(0x286)],this['_editingConnectionsExceededNotices']])_0x38e547[_0x4609ec(0x437)](_0x1ce862=>_0x1ce862[_0x4609ec(0x1f0)]()),_0x38e547[_0x4609ec(0x424)]();super[_0x4609ec(0x1f0)]();}[_0x3a95bf(0x2f6)](){const _0x4d321e=_0x3a95bf;let _0x4a5f40=_0xc0620e=>{const _0x247ab2=_0x179a;let _0x523469=new _0x243ba8['DisposableCollection']();_0x523469[_0x247ab2(0x299)]((0x0,_0x243ba8[_0x247ab2(0x31b)])(_0xc0620e[_0x247ab2(0x1d9)]['subscribe']({'next':_0x3653fb=>{const _0x46d9e4=_0x247ab2;_0x3653fb['elapsedMs']>=0x4e20&&this[_0x46d9e4(0x44b)](this[_0x46d9e4(0x286)],_0xc0620e[_0x46d9e4(0x259)],_0x46d9e4(0x21b)),_0x3653fb['reason']===_0x46d9e4(0x470)&&this[_0x46d9e4(0x44b)](this['_editingConnectionsExceededNotices'],_0xc0620e[_0x46d9e4(0x259)],_0x46d9e4(0x2d8));},'complete':()=>{const _0x508c0d=_0x247ab2;this['_removeAwaitingNotices'](_0xc0620e[_0x508c0d(0x259)]),_0x523469[_0x508c0d(0x1f0)]();}}))),_0x523469[_0x247ab2(0x299)]((0x0,_0x243ba8[_0x247ab2(0x31b)])(_0xc0620e[_0x247ab2(0x4ce)]['subscribe'](_0x30a735=>{const _0x365ac4=_0x247ab2;_0x30a735!==_0xd6e6bc[_0x365ac4(0x3b8)][_0x365ac4(0x427)]&&_0x30a735!==_0xd6e6bc[_0x365ac4(0x3b8)][_0x365ac4(0x3e2)]&&this[_0x365ac4(0x381)](_0xc0620e[_0x365ac4(0x259)]);}))),this[_0x247ab2(0x359)](_0x523469);};this[_0x4d321e(0x2a0)][_0x4d321e(0x4c3)]()[_0x4d321e(0x437)](_0x4a5f40),this[_0x4d321e(0x359)]((0x0,_0x243ba8[_0x4d321e(0x31b)])(this['_collaborationController'][_0x4d321e(0x28e)][_0x4d321e(0x425)](_0x4a5f40)));}['_showAwaitingNotice'](_0x2463f0,_0x3ca09b,_0xb740b6){const _0x487221=_0x3a95bf;_0x2463f0[_0x487221(0x502)](_0x3ca09b)||_0x2463f0[_0x487221(0x4b9)](_0x3ca09b,this[_0x487221(0x2d0)][_0x487221(0x3ee)]({'title':this[_0x487221(0x243)]['t'](_0xb740b6),'type':_0x487221(0x2db),'duration':0x1/0x0,'closable':!0x0,'dismissible':!0x0}));}[_0x3a95bf(0x381)](_0x1ce333){const _0x20711d=_0x3a95bf;for(let _0x1fa77b of[this[_0x20711d(0x286)],this[_0x20711d(0x490)]]){var _0x4e434c;(_0x4e434c=_0x1fa77b[_0x20711d(0x26a)](_0x1ce333))==null||_0x4e434c[_0x20711d(0x1f0)](),_0x1fa77b['delete'](_0x1ce333);}}[_0x3a95bf(0x210)](){const _0x556e12=_0x3a95bf;this[_0x556e12(0x359)](this['_beforeCloseService'][_0x556e12(0x1d6)](()=>{const _0x76a4e2=_0x556e12;if(this[_0x76a4e2(0x41f)][_0x76a4e2(0x4a3)][_0x76a4e2(0x267)])return this['_localeService']['t'](_0x76a4e2(0x261));}));}['_initConflictHandling'](){const _0xe61db2=_0x3a95bf;let _0x32bd7e=_0x5488a7=>{const _0x46bc07=_0x179a;this['disposeWithMe']((0x0,_0x243ba8[_0x46bc07(0x31b)])(_0x5488a7[_0x46bc07(0x2ca)][_0x46bc07(0x425)](_0x35729a=>this[_0x46bc07(0x228)](_0x35729a))));};this[_0xe61db2(0x2a0)][_0xe61db2(0x4c3)]()[_0xe61db2(0x437)](_0x32bd7e),this[_0xe61db2(0x359)]((0x0,_0x243ba8[_0xe61db2(0x31b)])(this[_0xe61db2(0x2a0)][_0xe61db2(0x28e)][_0xe61db2(0x425)](_0x32bd7e)));}[_0x3a95bf(0x228)](_0x2555fe){const _0x90453e=_0x3a95bf;if(!_0x2555fe[_0x90453e(0x25e)])return;let _0x4a86ee=_0x166990[_0x2555fe[_0x90453e(0x432)]]??_0x5ffa5e;this[_0x90453e(0x3d0)]({'title':this[_0x90453e(0x243)]['t'](_0x4a86ee['title']),'content':this[_0x90453e(0x243)]['t'](_0x4a86ee[_0x90453e(0x2f4)]),'type':_0x4a86ee['type'],'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'classNames':_0x301d60,'action':{'label':this[_0x90453e(0x243)]['t'](_0x90453e(0x1f2)),'onClick':_0x405f86=>{const _0x5b7a49=_0x90453e;_0x405f86['preventDefault'](),this[_0x5b7a49(0x2af)]();}}});}[_0x3a95bf(0x2af)](){const _0x46e7a0=_0x3a95bf;window[_0x46e7a0(0x2f9)]['reload']();}['_initEvent'](){const _0x4e4a67=_0x3a95bf;this['disposeWithMe'](this[_0x4e4a67(0x1e9)][_0x4e4a67(0x388)][_0x4e4a67(0x425)](_0x4ef71f=>{const _0x1ae48f=_0x4e4a67;_0x4ef71f['id']===_0xd6e6bc[_0x1ae48f(0x42b)][_0x1ae48f(0x1b7)]&&this[_0x1ae48f(0x346)]['show']({'type':_0x5f3d5a['MessageType'][_0x1ae48f(0x1b5)],'content':this[_0x1ae48f(0x243)]['t'](_0x1ae48f(0x1bc))}),_0x4ef71f['id']===_0xd6e6bc['CollaborationUIEventId'][_0x1ae48f(0x1ac)]&&this[_0x1ae48f(0x346)][_0x1ae48f(0x3ee)]({'type':_0x5f3d5a[_0x1ae48f(0x41c)][_0x1ae48f(0x1b5)],'content':this['_localeService']['t'](_0x1ae48f(0x501))}),_0x4ef71f['id']===_0xd6e6bc[_0x1ae48f(0x42b)]['CONFLICT_PROCESSING']&&this[_0x1ae48f(0x271)](),_0x4ef71f['id']===_0xd6e6bc['CollaborationUIEventId']['CONFLICT_CACHE_CLEAR_FAILED']&&_0x4ef71f['unitID']&&this[_0x1ae48f(0x35c)](_0x4ef71f[_0x1ae48f(0x259)],_0x4ef71f['userId']??''),_0x4ef71f['id']===_0xd6e6bc[_0x1ae48f(0x42b)][_0x1ae48f(0x22d)]&&this['_messageService'][_0x1ae48f(0x3ee)]({'type':_0x5f3d5a[_0x1ae48f(0x41c)][_0x1ae48f(0x1b5)],'content':this[_0x1ae48f(0x243)]['t'](_0x4ef71f['data']||'')}),_0x4ef71f['id']===_0xd6e6bc[_0x1ae48f(0x42b)][_0x1ae48f(0x487)]&&this[_0x1ae48f(0x346)]['show']({'type':_0x5f3d5a['MessageType'][_0x1ae48f(0x1b5)],'content':this[_0x1ae48f(0x243)]['t']('collaboration-client-ui.session.will-retry')}),_0x4ef71f['id']===_0xd6e6bc['CollaborationUIEventId'][_0x1ae48f(0x428)]&&this[_0x1ae48f(0x346)][_0x1ae48f(0x3ee)]({'type':_0x5f3d5a[_0x1ae48f(0x41c)][_0x1ae48f(0x34c)],'content':this[_0x1ae48f(0x243)]['t'](_0x1ae48f(0x3ae))}),_0x4ef71f['id']===_0xd6e6bc['CollaborationUIEventId'][_0x1ae48f(0x4b6)]&&this[_0x1ae48f(0x346)]['show']({'type':_0x5f3d5a['MessageType'][_0x1ae48f(0x34c)],'content':this[_0x1ae48f(0x243)]['t'](_0x1ae48f(0x456))});}));}[_0x3a95bf(0x271)](){const _0x516526=_0x3a95bf;this[_0x516526(0x3d0)]({'title':this[_0x516526(0x243)]['t'](_0x516526(0x398)),'content':this[_0x516526(0x243)]['t'](_0x516526(0x217)),'type':_0x516526(0x392),'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1});}[_0x3a95bf(0x35c)](_0x25c901,_0xb47332){const _0xcad680=_0x3a95bf;this[_0xcad680(0x3d0)]({'title':this['_localeService']['t'](_0xcad680(0x398)),'content':this['_localeService']['t'](_0xcad680(0x32e)),'type':_0xcad680(0x21d),'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'classNames':_0x301d60,'action':{'label':this[_0xcad680(0x243)]['t'](_0xcad680(0x458)),'onClick':_0x4bffcb=>{const _0x214980=_0xcad680;_0x4bffcb[_0x214980(0x277)](),this['_retryConflictCacheClear'](_0x25c901,_0xb47332);}}});}[_0x3a95bf(0x376)](_0x41dd56,_0x2d464a){const _0x1ab71b=_0x3a95bf;let _0x5c2b71=_0x41dd56+':'+(_0x2d464a??'');this[_0x1ab71b(0x1df)]['has'](_0x5c2b71)||(this['_retryingConflictCacheUnitIDs'][_0x1ab71b(0x299)](_0x5c2b71),this[_0x1ab71b(0x271)](),this[_0x1ab71b(0x41f)][_0x1ab71b(0x423)](_0x41dd56,_0x2d464a)[_0x1ab71b(0x373)](()=>this[_0x1ab71b(0x2af)]())[_0x1ab71b(0x37b)](()=>this[_0x1ab71b(0x35c)](_0x41dd56,_0x2d464a))[_0x1ab71b(0x2cb)](()=>this[_0x1ab71b(0x1df)]['delete'](_0x5c2b71)));}[_0x3a95bf(0x3d0)](_0x515e4f){const _0x302d96=_0x3a95bf;var _0x2bb980;(_0x2bb980=this[_0x302d96(0x1ef)])==null||_0x2bb980[_0x302d96(0x1f0)](),this[_0x302d96(0x1ef)]=this[_0x302d96(0x2d0)][_0x302d96(0x3ee)](_0x515e4f);}};_0x5e6afd=_0x313369([_0x489cd3(0x0,_0x456aa1[_0x3a95bf(0x23b)]),_0x489cd3(0x1,_0xd6e6bc[_0x3a95bf(0x421)]),_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0xd6e6bc['CollaborationUIEventService'])),_0x489cd3(0x3,_0x456aa1['IMessageService']),_0x489cd3(0x4,_0x456aa1[_0x3a95bf(0x377)]),_0x489cd3(0x5,(0x0,_0x243ba8['Inject'])(_0x243ba8[_0x3a95bf(0x3e4)])),_0x489cd3(0x6,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0xd6e6bc[_0x3a95bf(0x442)])),_0x489cd3(0x7,_0x243ba8[_0x3a95bf(0x2e0)])],_0x5e6afd);let _0x3973e6=class{constructor(_0x1ef2b6,_0x8c2002){const _0x33e9da=_0x3a95bf;this[_0x33e9da(0x481)]=_0x1ef2b6,this[_0x33e9da(0x4f4)]=_0x8c2002;}[_0x3a95bf(0x4fc)](_0x37c96c){const _0x3567cd=_0x3a95bf;this[_0x3567cd(0x406)](_0x37c96c),this[_0x3567cd(0x4a2)](_0x37c96c);}[_0x3a95bf(0x305)](_0x30133c){const _0x35f1df=_0x3a95bf;let {unitID:_0x10b88e}=_0x30133c,{redoCache:_0x438c0b}=this[_0x35f1df(0x4f4)][_0x35f1df(0x38b)](_0x10b88e)[_0x35f1df(0x3e5)](_0x40df28[_0x35f1df(0x378)])['getUndoRedoMutationParamsCache']();if(_0x438c0b['length']===0x0)return _0x30133c;let _0xc891b=_0x243ba8['Tools'][_0x35f1df(0x422)](_0x30133c[_0x35f1df(0x2a9)][0x0]);for(let _0x24a013=0x0;_0x24a013<_0x438c0b[_0x35f1df(0x510)];_0x24a013++){let _0x277458={'id':'doc.mutation.rich-text-editing','params':{..._0x438c0b[_0x24a013]}},_0x65a77d=this[_0x35f1df(0x481)][_0x35f1df(0x1fb)](_0xc891b,_0x277458,!0x1);if((0x0,_0x2557fc[_0x35f1df(0x3a0)])(_0x65a77d))throw _0x65a77d[_0x35f1df(0x21d)];_0xc891b=_0x65a77d[_0x35f1df(0x3c0)];}return{..._0x243ba8[_0x35f1df(0x3ca)][_0x35f1df(0x422)](_0x30133c),'mutations':[_0xc891b]};}['_transformUndoRedoStack'](_0x1532ca){const _0x1ee6d9=_0x3a95bf;let {unitID:_0x98f830}=_0x1532ca,_0x4ae352=this[_0x1ee6d9(0x4f4)]['getRenderUnitById'](_0x98f830)[_0x1ee6d9(0x3e5)](_0x40df28[_0x1ee6d9(0x378)]),{undoCache:_0x492c6e,redoCache:_0x2f2498}=_0x4ae352[_0x1ee6d9(0x511)]();if(_0x492c6e[_0x1ee6d9(0x510)]===0x0||_0x2f2498[_0x1ee6d9(0x510)]===0x0)return;let _0x569b79=[],_0x5915ee=[],_0xbbd898=_0x243ba8[_0x1ee6d9(0x3ca)][_0x1ee6d9(0x422)](_0x1532ca[_0x1ee6d9(0x2a9)][0x0]),_0x5b22ce=_0x243ba8['Tools'][_0x1ee6d9(0x422)](_0x1532ca[_0x1ee6d9(0x2a9)][0x0]);for(let _0x5e45ff=_0x492c6e[_0x1ee6d9(0x510)]-0x1;_0x5e45ff>=0x0;_0x5e45ff--){let _0x2058df={'id':_0x1ee6d9(0x474),'params':{..._0x492c6e[_0x5e45ff]}},_0x1ef97a={'id':_0x1ee6d9(0x474),'params':{..._0x2f2498[_0x5e45ff]}},_0xc82db7=this['_transformService'][_0x1ee6d9(0x1fb)](_0xbbd898,_0x2058df,!0x1),_0x19de10=this['_transformService'][_0x1ee6d9(0x1fb)](_0x5b22ce,_0x1ef97a,!0x1);if((0x0,_0x2557fc[_0x1ee6d9(0x3a0)])(_0xc82db7))throw _0xc82db7[_0x1ee6d9(0x21d)];if((0x0,_0x2557fc[_0x1ee6d9(0x3a0)])(_0x19de10))throw _0x19de10['error'];_0x569b79[_0x1ee6d9(0x214)](_0xc82db7[_0x1ee6d9(0x264)][_0x1ee6d9(0x3a4)]),_0x5915ee[_0x1ee6d9(0x214)](_0x19de10[_0x1ee6d9(0x264)][_0x1ee6d9(0x3a4)]),_0xbbd898=_0xc82db7[_0x1ee6d9(0x3c0)],_0x5b22ce=_0x19de10[_0x1ee6d9(0x3c0)];}_0x4ae352['setUndoRedoMutationParamsCache']({'undoCache':_0x569b79,'redoCache':_0x5915ee});}['_transformPreviousActiveRange'](_0x2bc14a){const _0x3d6c8c=_0x3a95bf;let {unitID:_0x4911e2}=_0x2bc14a,_0x36afa3=this[_0x3d6c8c(0x4f4)][_0x3d6c8c(0x38b)](_0x4911e2)['with'](_0x40df28[_0x3d6c8c(0x378)]),_0x4611a4=_0x36afa3[_0x3d6c8c(0x50c)]();if(_0x4611a4==null)return;let _0x4a565e=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2bc14a[_0x3d6c8c(0x259)],'actions':null,'textRanges':[_0x4611a4]}}],_0x56710e=this[_0x3d6c8c(0x481)][_0x3d6c8c(0x366)](_0x2bc14a,_0x4a565e);if(!(0x0,_0x2557fc[_0x3d6c8c(0x489)])(_0x56710e))throw _0x56710e['error'];let _0x1ce761=_0x56710e[_0x3d6c8c(0x264)][0x0][_0x3d6c8c(0x3a4)]['textRanges'];Array['isArray'](_0x1ce761)&&_0x1ce761[_0x3d6c8c(0x510)]&&_0x36afa3[_0x3d6c8c(0x46c)](_0x1ce761[0x0]);}};_0x3973e6=_0x313369([_0x489cd3(0x0,_0x2557fc[_0x3a95bf(0x3ea)]),_0x489cd3(0x1,_0x1df5c2[_0x3a95bf(0x49e)])],_0x3973e6);let _0x5b4446=class{constructor(_0x1ddef8,_0x266818,_0x2cf46e){const _0x732edf=_0x3a95bf;this[_0x732edf(0x4c9)]=_0x1ddef8,this[_0x732edf(0x481)]=_0x266818,this[_0x732edf(0x3f3)]=_0x2cf46e;}['transformStateCache'](_0x1520cc){const _0x97e628=_0x3a95bf;this[_0x97e628(0x2fd)](_0x1520cc);}[_0x3a95bf(0x305)](_0x489a25){const _0x4940d1=_0x3a95bf;let {unitID:_0x3dcf0e}=_0x489a25,{collaboration:_0x22e418}=this[_0x4940d1(0x3f3)]['getStateCache'](_0x3dcf0e);if(_0x22e418[_0x4940d1(0x510)]===0x0)return _0x489a25;let _0x4fd785=_0x243ba8[_0x4940d1(0x3ca)][_0x4940d1(0x422)](_0x489a25[_0x4940d1(0x2a9)][0x0]);for(let _0x2e535a=0x0;_0x2e535a<_0x22e418[_0x4940d1(0x510)];_0x2e535a++){let _0x15dd0f={'id':_0x4940d1(0x474),'params':{'unitId':_0x22e418[_0x2e535a]['unitId'],..._0x22e418[_0x2e535a]['redoState']}},_0x21e51a=this[_0x4940d1(0x481)][_0x4940d1(0x1fb)](_0x4fd785,_0x15dd0f,!0x1);if((0x0,_0x2557fc[_0x4940d1(0x3a0)])(_0x21e51a))throw _0x21e51a['error'];_0x4fd785=_0x21e51a[_0x4940d1(0x3c0)];}return{..._0x243ba8[_0x4940d1(0x3ca)][_0x4940d1(0x422)](_0x489a25),'mutations':[_0x4fd785]};}[_0x3a95bf(0x2fd)](_0x459f29){const _0x288ba4=_0x3a95bf;let {unitID:_0x2fcd98}=_0x459f29,{history:_0x42bfac,collaboration:_0x311c13}=this['_docStateChangeManagerService'][_0x288ba4(0x375)](_0x2fcd98);if(_0x42bfac[_0x288ba4(0x510)]===0x0&&_0x311c13['length']===0x0)return;let _0x399590=[],_0x4bad16=[],_0x595ae4=_0x243ba8[_0x288ba4(0x3ca)][_0x288ba4(0x422)](_0x459f29['mutations'][0x0]),_0x4b746b=_0x243ba8[_0x288ba4(0x3ca)][_0x288ba4(0x422)](_0x459f29['mutations'][0x0]);for(let _0x414ca6=_0x42bfac[_0x288ba4(0x510)]-0x1;_0x414ca6>=0x0;_0x414ca6--){let _0x5e71b8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x42bfac[_0x414ca6][_0x288ba4(0x2a1)],..._0x42bfac[_0x414ca6][_0x288ba4(0x43d)]}},_0x5ca957={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x42bfac[_0x414ca6][_0x288ba4(0x2a1)],..._0x42bfac[_0x414ca6][_0x288ba4(0x497)]}},_0x1c0377=this[_0x288ba4(0x481)]['transformMutation'](_0x595ae4,_0x5e71b8,!0x1),_0x5b1f1a=this[_0x288ba4(0x481)][_0x288ba4(0x1fb)](_0x4b746b,_0x5ca957,!0x1);if((0x0,_0x2557fc[_0x288ba4(0x3a0)])(_0x1c0377))throw _0x1c0377[_0x288ba4(0x21d)];if((0x0,_0x2557fc[_0x288ba4(0x3a0)])(_0x5b1f1a))throw _0x5b1f1a['error'];_0x399590[_0x288ba4(0x214)]({..._0x42bfac[_0x414ca6],'undoState':_0x1c0377[_0x288ba4(0x264)]['params'],'redoState':_0x5b1f1a[_0x288ba4(0x264)]['params']}),_0x595ae4=_0x1c0377[_0x288ba4(0x3c0)],_0x4b746b=_0x5b1f1a[_0x288ba4(0x3c0)];}_0x595ae4=_0x243ba8['Tools'][_0x288ba4(0x422)](_0x459f29[_0x288ba4(0x2a9)][0x0]),_0x4b746b=_0x243ba8[_0x288ba4(0x3ca)][_0x288ba4(0x422)](_0x459f29[_0x288ba4(0x2a9)][0x0]);for(let _0x1f285f=_0x311c13[_0x288ba4(0x510)]-0x1;_0x1f285f>=0x0;_0x1f285f--){let _0x3bdcc3={'id':_0x288ba4(0x474),'params':{'unitId':_0x311c13[_0x1f285f][_0x288ba4(0x2a1)],..._0x311c13[_0x1f285f][_0x288ba4(0x43d)]}},_0x2ccef1={'id':_0x288ba4(0x474),'params':{'unitId':_0x311c13[_0x1f285f][_0x288ba4(0x2a1)],..._0x311c13[_0x1f285f][_0x288ba4(0x497)]}},_0x3a3947=this[_0x288ba4(0x481)][_0x288ba4(0x1fb)](_0x595ae4,_0x3bdcc3,!0x1),_0xf4c672=this['_transformService']['transformMutation'](_0x4b746b,_0x2ccef1,!0x1);if((0x0,_0x2557fc[_0x288ba4(0x3a0)])(_0x3a3947))throw _0x3a3947[_0x288ba4(0x21d)];if((0x0,_0x2557fc[_0x288ba4(0x3a0)])(_0xf4c672))throw _0xf4c672[_0x288ba4(0x21d)];_0x4bad16[_0x288ba4(0x214)]({..._0x311c13[_0x1f285f],'undoState':_0x3a3947[_0x288ba4(0x264)][_0x288ba4(0x3a4)],'redoState':_0xf4c672[_0x288ba4(0x264)]['params']}),_0x595ae4=_0x3a3947['m1Prime'],_0x4b746b=_0xf4c672[_0x288ba4(0x3c0)];}this[_0x288ba4(0x3f3)][_0x288ba4(0x352)](_0x2fcd98,{'history':_0x399590,'collaboration':_0x4bad16});}};_0x5b4446=_0x313369([_0x489cd3(0x0,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x380)])),_0x489cd3(0x1,_0x2557fc[_0x3a95bf(0x3ea)]),_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x446a63[_0x3a95bf(0x4ac)]))],_0x5b4446);let _0x46a30d=class{constructor(_0x55e2a7,_0x3e163b){const _0x11090f=_0x3a95bf;this[_0x11090f(0x448)]=_0x55e2a7,this['_transformService']=_0x3e163b;}[_0x3a95bf(0x42c)](_0x4993c1){const _0x3aeee0=_0x3a95bf;var _0x3d8bf4;let _0xb2b1d5=this[_0x3aeee0(0x448)]['getDocRanges']()??[],_0x5ad499=this[_0x3aeee0(0x448)]['getSelectionInfo']();if(_0xb2b1d5[_0x3aeee0(0x510)]===0x0||_0x5ad499==null)return null;let _0x37510b=_0x4993c1[_0x3aeee0(0x259)],_0x4c53b1=[{'id':_0x3aeee0(0x474),'params':{'unitId':_0x37510b,'actions':null,'textRanges':_0xb2b1d5}}],_0x22e690=this[_0x3aeee0(0x481)][_0x3aeee0(0x366)](_0x4993c1,_0x4c53b1);if(!(0x0,_0x2557fc[_0x3aeee0(0x489)])(_0x22e690))throw _0x22e690[_0x3aeee0(0x21d)];let _0x4d0bf0=(_0x3d8bf4=_0x22e690[_0x3aeee0(0x264)][0x0])==null?void 0x0:_0x3d8bf4[_0x3aeee0(0x3a4)],_0x1915e7=_0x4d0bf0&&typeof _0x4d0bf0==_0x3aeee0(0x2f2)&&_0x3aeee0(0x46d)in _0x4d0bf0?_0x4d0bf0[_0x3aeee0(0x46d)]:null;if(!_0x2dc9ef(_0x1915e7))return null;let _0x426dbe=_0x1f9827(_0x4993c1[_0x3aeee0(0x2a9)]['some'](_0x22872c=>_0x4bdfd5(_0x22872c[_0x3aeee0(0x3a4)]))?_0x1915e7['filter'](_0x3567d5=>!('tableId'in _0x3567d5)):_0x1915e7,{..._0x5ad499,'options':_0x5ad499[_0x3aeee0(0x3ab)]?{..._0x5ad499[_0x3aeee0(0x3ab)],'wholeDocument':!0x1}:void 0x0}),_0x256a82={'unitId':_0x37510b,'subUnitId':_0x37510b};this[_0x3aeee0(0x448)]['replaceSelectionInfoWithoutRefresh'](_0x426dbe,_0x256a82);let _0x13f3d7=!0x0;return{'commit':()=>{_0x13f3d7=!0x1;},'rollback':()=>{const _0x372eab=_0x3aeee0;_0x13f3d7&&(_0x13f3d7=!0x1,this[_0x372eab(0x448)][_0x372eab(0x3cd)](_0x5ad499,_0x256a82));}};}};_0x46a30d=_0x313369([_0x489cd3(0x0,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x446a63[_0x3a95bf(0x3af)])),_0x489cd3(0x1,_0x2557fc[_0x3a95bf(0x3ea)])],_0x46a30d);function _0x1f9827(_0x3236a5,_0x125c43){const _0x19f947=_0x3a95bf;let _0x2bf381=[],_0x4833bf=[];for(let _0x344902 of _0x3236a5)_0x44aff2(_0x344902)?_0x4833bf[_0x19f947(0x50f)](_0x344902):_0x2bf381[_0x19f947(0x50f)](_0x344902);return{..._0x125c43,'textRanges':_0x2bf381,'rectRanges':_0x4833bf};}function _0x44aff2(_0x4ef5ff){const _0xc54528=_0x3a95bf;return _0xc54528(0x3fd)in _0x4ef5ff;}function _0x2dc9ef(_0x29a73f){const _0x367fea=_0x3a95bf;return Array[_0x367fea(0x279)](_0x29a73f)&&_0x29a73f['every'](_0x17993e=>typeof _0x17993e==_0x367fea(0x2f2)&&!!_0x17993e&&'startOffset'in _0x17993e&&_0x367fea(0x38d)in _0x17993e);}function _0x4bdfd5(_0x46aece){const _0x41ea0d=_0x3a95bf;return _0x46aece==='tableSource'?!0x0:Array['isArray'](_0x46aece)?_0x46aece[_0x41ea0d(0x32d)](_0x2c7c04=>_0x4bdfd5(_0x2c7c04)):!_0x46aece||typeof _0x46aece!='object'?!0x1:Object[_0x41ea0d(0x22c)](_0x46aece)[_0x41ea0d(0x32d)](_0x567223=>_0x4bdfd5(_0x567223));}let _0x523c38=class extends _0x243ba8[_0x3a95bf(0x336)]{constructor(_0x3f05e1,_0xdc44e7,_0x4e9620,_0xfecc73,_0x348f35,_0x238f93,_0xf44149){const _0x244e30=_0x3a95bf;super(),this[_0x244e30(0x2a0)]=_0x3f05e1,this[_0x244e30(0x294)]=_0xdc44e7,this[_0x244e30(0x4e7)]=_0x4e9620,this[_0x244e30(0x26d)]=_0xfecc73,this['_docSyncEditingCollabCursorService']=_0x348f35,this[_0x244e30(0x346)]=_0x238f93,this[_0x244e30(0x243)]=_0xf44149,_0x538d20(this,_0x244e30(0x25f),new _0x4089a3[(_0x244e30(0x43f))](_0xd6e6bc[_0x244e30(0x3b8)][_0x244e30(0x331)])),this['_initEntityListener']();}['_initEntityListener'](){const _0x5a1cda=_0x3a95bf;this[_0x5a1cda(0x359)](this[_0x5a1cda(0x2a0)]['entityInit$']['subscribe'](_0x3e7307=>{const _0x101525=_0x5a1cda;_0x3e7307 instanceof _0xd6e6bc['DocCollaborationEntity']&&_0x3e7307[_0x101525(0x4e4)]({'onTransformIME':_0x54d2f0=>this['_docTransformIMECacheService'][_0x101525(0x4fc)](_0x54d2f0),'onTransformState':_0x1259ba=>this[_0x101525(0x4e7)][_0x101525(0x3c9)](_0x1259ba),'onPrepareTransformSelections':_0xe8916=>this[_0x101525(0x26d)][_0x101525(0x42c)](_0xe8916),'onSyncEditingCollabCursor':_0x4a6e42=>this[_0x101525(0x37d)][_0x101525(0x273)](_0x4a6e42),'onTransformRemoteChangesetByIMECache':_0x34dd52=>this['_docTransformIMECacheService'][_0x101525(0x305)](_0x34dd52),'onTransformRemoteChangesetByStateCache':_0x55eba9=>this[_0x101525(0x4e7)]['transformRemoteChangeset'](_0x55eba9)});}));}};_0x523c38=_0x313369([_0x489cd3(0x0,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0xd6e6bc[_0x3a95bf(0x442)])),_0x489cd3(0x1,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x3973e6)),_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x5b4446)),_0x489cd3(0x3,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x46a30d)),_0x489cd3(0x4,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x7cbc68)),_0x489cd3(0x5,_0x456aa1[_0x3a95bf(0x1d0)]),_0x489cd3(0x6,(0x0,_0x243ba8['Inject'])(_0x243ba8[_0x3a95bf(0x3e4)]))],_0x523c38);let _0x4176b4=class extends _0x243ba8['Disposable']{constructor(_0x39e07e,_0xa1ee64,_0xf7d028,_0x479040){const _0x17a42d=_0x3a95bf;super(),this[_0x17a42d(0x4c9)]=_0x39e07e,this['_httpService']=_0xa1ee64,this['_logService']=_0xf7d028,this['_collaborationSessionService']=_0x479040,_0x538d20(this,_0x17a42d(0x3e7),void 0x0),this[_0x17a42d(0x2bf)]();}['_init'](){const _0x43609f=_0x3a95bf;this['_initWindowErrorListener'](),this[_0x43609f(0x41a)](),this[_0x43609f(0x45b)](),this[_0x43609f(0x4e9)]();}[_0x3a95bf(0x4e9)](){const _0x376d31=_0x3a95bf;this[_0x376d31(0x359)](this[_0x376d31(0x4e1)][_0x376d31(0x347)]['subscribe'](_0x593b9c=>{const _0x82805c=_0x376d31;this[_0x82805c(0x3e7)]=_0x593b9c==null?void 0x0:_0x593b9c['memberID'];}));}[_0x3a95bf(0x1b1)](){const _0x1b65c4=_0x3a95bf;let _0x1caa7e=_0x4cfa54=>{const _0x5e0794=_0x179a;var _0x356ef6;this[_0x5e0794(0x438)](_0x5e0794(0x21d),_0x5e0794(0x367)+_0x4cfa54[_0x5e0794(0x4f8)]+_0x5e0794(0x444)+_0x4cfa54['filename']+':'+_0x4cfa54['lineno']+':'+_0x4cfa54[_0x5e0794(0x408)]+'\x0a'+(((_0x356ef6=_0x4cfa54[_0x5e0794(0x21d)])==null?void 0x0:_0x356ef6['stack'])||''));};window[_0x1b65c4(0x329)]('error',_0x1caa7e),this[_0x1b65c4(0x359)](()=>{const _0x30fea2=_0x1b65c4;window['removeEventListener'](_0x30fea2(0x21d),_0x1caa7e);});}[_0x3a95bf(0x41a)](){const _0x34d34a=_0x3a95bf;let _0x5e817e=_0x18d010=>{const _0x14cf8d=_0x179a;this[_0x14cf8d(0x438)](_0x14cf8d(0x21d),_0x14cf8d(0x441)+_0x18d010['reason']);};window[_0x34d34a(0x329)](_0x34d34a(0x2ce),_0x5e817e),this[_0x34d34a(0x359)](()=>{const _0x284aac=_0x34d34a;window['removeEventListener'](_0x284aac(0x2ce),_0x5e817e);});}[_0x3a95bf(0x45b)](){const _0x3cee22=_0x3a95bf;let _0x47a47a=this[_0x3cee22(0x287)][_0x3cee22(0x21d)][_0x3cee22(0x1e6)](this[_0x3cee22(0x287)]);this[_0x3cee22(0x287)][_0x3cee22(0x21d)]=(..._0x293143)=>{const _0x1e9d8d=_0x3cee22;let _0x114aaf=_0x293143[_0x1e9d8d(0x3a2)](_0x548fc0=>_0x548fc0 instanceof Error?_0x548fc0['message']+'\x0a'+_0x548fc0[_0x1e9d8d(0x3f4)]:String(_0x548fc0))[_0x1e9d8d(0x2a3)]('\x20');this[_0x1e9d8d(0x438)]('error',_0x1e9d8d(0x4a7)+_0x114aaf),_0x47a47a(..._0x293143);},this['disposeWithMe'](()=>{const _0x51652f=_0x3cee22;this[_0x51652f(0x287)][_0x51652f(0x21d)]=_0x47a47a;});}[_0x3a95bf(0x438)](_0x5dc79b,_0x40cef8){const _0x506b21=_0x3a95bf;try{let _0x138c4d={'userId':this[_0x506b21(0x3e7)],'logLabel':_0x5dc79b,'content':_0x40cef8};this[_0x506b21(0x25c)][_0x506b21(0x394)](_0x506b21(0x418),{'body':_0x138c4d})[_0x506b21(0x37b)](()=>{});}catch{}}};_0x4176b4=_0x313369([_0x489cd3(0x0,(0x0,_0x243ba8['Inject'])(_0x243ba8[_0x3a95bf(0x380)])),_0x489cd3(0x1,(0x0,_0x243ba8['Inject'])(_0x512293[_0x3a95bf(0x25b)])),_0x489cd3(0x2,_0x243ba8['ILogService']),_0x489cd3(0x3,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0xd6e6bc[_0x3a95bf(0x40c)]))],_0x4176b4);function _0x44e0dd({state$:_0x4891d7}){const _0x392af3=_0x3a95bf;let _0x5cce6a=(0x0,_0x456aa1['useObservable'])(_0x4891d7,null,!0x0);return _0x5cce6a?(0x0,_0x36a3fe[_0x392af3(0x36e)])('div',{'data-u-comp':_0x392af3(0x2d6),'role':_0x392af3(0x417),'className':_0x392af3(0x38f),'children':[(0x0,_0x36a3fe[_0x392af3(0x4a4)])(_0xa2de88,{'className':_0x392af3(0x3aa)}),(0x0,_0x36a3fe[_0x392af3(0x4a4)])('span',{'children':_0x5cce6a[_0x392af3(0x2f4)]}),(0x0,_0x36a3fe[_0x392af3(0x4a4)])(_0x5f3d5a[_0x392af3(0x2e9)],{'size':_0x392af3(0x274),'variant':'primary','onClick':()=>window[_0x392af3(0x2f9)][_0x392af3(0x461)](),'children':_0x5cce6a['refreshLabel']})]}):null;}let _0xe73be6=_0x3a95bf(0x48d),_0x3bd9e2=class extends _0x243ba8[_0x3a95bf(0x336)]{constructor(_0x3fd99e,_0x39d292,_0x5e5b25,_0x3bc499,_0x2ef7e2){const _0x3f7313=_0x3a95bf;super(),this[_0x3f7313(0x4cc)]=_0x3fd99e,this[_0x3f7313(0x346)]=_0x39d292,this[_0x3f7313(0x243)]=_0x5e5b25,this['_injector']=_0x3bc499,_0x538d20(this,_0x3f7313(0x254),new _0x4089a3[(_0x3f7313(0x43f))](null)),_0x538d20(this,_0x3f7313(0x512),new Set()),_0x538d20(this,_0x3f7313(0x4d9),new Map()),_0x538d20(this,_0x3f7313(0x2c5),this[_0x3f7313(0x254)][_0x3f7313(0x1cd)]());let _0x51eadf=()=>(0x0,_0x3e61d0[_0x3f7313(0x4a9)])(_0x44e0dd,{'state$':this[_0x3f7313(0x2c5)]});this[_0x3f7313(0x359)](_0x2ef7e2[_0x3f7313(0x32c)](_0x456aa1[_0x3f7313(0x1b0)][_0x3f7313(0x469)],()=>(0x0,_0x456aa1[_0x3f7313(0x320)])(_0x51eadf,this[_0x3f7313(0x4c9)]))),this[_0x3f7313(0x359)](this[_0x3f7313(0x4cc)][_0x3f7313(0x3ce)]['subscribe'](_0x5d2893=>{const _0x2df288=_0x3f7313;_0x5d2893[_0x2df288(0x437)](_0x3b6c98=>this['_updateMessage'](_0x3b6c98));}));}[_0x3a95bf(0x1f0)](){const _0x2cdbda=_0x3a95bf;this[_0x2cdbda(0x512)][_0x2cdbda(0x437)](_0x2dc87c=>this['_messageService'][_0x2cdbda(0x29c)](_0x2dc87c)),this[_0x2cdbda(0x512)]['clear'](),this[_0x2cdbda(0x4d9)][_0x2cdbda(0x437)](({timeoutId:_0x19d3c3})=>clearTimeout(_0x19d3c3)),this['_blockProgressWatches'][_0x2cdbda(0x424)](),this[_0x2cdbda(0x254)][_0x2cdbda(0x1c8)](),super['dispose']();}[_0x3a95bf(0x345)](_0x48d7e7){const _0x2e5501=_0x3a95bf;let _0x5b8356=''+_0xe73be6+_0x48d7e7[_0x2e5501(0x2a1)];_0x48d7e7[_0x2e5501(0x23f)]===_0x2557fc[_0x2e5501(0x28b)]['COMPLETE']?(this['_clearBlockProgressWatch'](_0x48d7e7[_0x2e5501(0x2a1)]),this[_0x2e5501(0x3f6)](_0x48d7e7[_0x2e5501(0x2a1)]),this['_messageService'][_0x2e5501(0x29c)](_0x5b8356),this['_messageIds'][_0x2e5501(0x26e)](_0x5b8356)):_0x48d7e7[_0x2e5501(0x23f)]===_0x2557fc[_0x2e5501(0x28b)][_0x2e5501(0x2d2)]?(this['_clearBlockProgressWatch'](_0x48d7e7['unitId']),this['_clearTimeoutState'](_0x48d7e7['unitId']),this[_0x2e5501(0x346)][_0x2e5501(0x3ee)]({'id':_0x5b8356,'type':_0x5f3d5a[_0x2e5501(0x41c)][_0x2e5501(0x34c)],'content':this['_localeService']['t']('collaboration-client-ui.session.connection-failed')}),this[_0x2e5501(0x512)][_0x2e5501(0x26e)](_0x5b8356)):_0x48d7e7[_0x2e5501(0x23f)]!==_0x2557fc['SnapshotLoadStage'][_0x2e5501(0x2c2)]||_0x48d7e7['totalBlocks']<=0xa?(this[_0x2e5501(0x4ab)](_0x48d7e7[_0x2e5501(0x2a1)]),this[_0x2e5501(0x346)][_0x2e5501(0x29c)](_0x5b8356),this[_0x2e5501(0x512)][_0x2e5501(0x26e)](_0x5b8356)):this[_0x2e5501(0x4cb)](_0x48d7e7)||(this['_messageService'][_0x2e5501(0x3ee)]({'id':_0x5b8356,'type':_0x5f3d5a[_0x2e5501(0x41c)][_0x2e5501(0x1dc)],'duration':0x1/0x0,'content':this['_localeService']['t']('collaboration-client-ui.collabStatus.fetchMiss')+'\x20'+_0x48d7e7['loadedBlocks']+'/'+_0x48d7e7[_0x2e5501(0x2f5)]}),this[_0x2e5501(0x512)]['add'](_0x5b8356));}[_0x3a95bf(0x4cb)](_0x579ba1){const _0x3a8d81=_0x3a95bf;let _0x59e903=this[_0x3a8d81(0x4d9)][_0x3a8d81(0x26a)](_0x579ba1[_0x3a8d81(0x2a1)]);if((_0x59e903==null?void 0x0:_0x59e903[_0x3a8d81(0x3ed)])===_0x579ba1[_0x3a8d81(0x3ed)])return _0x59e903[_0x3a8d81(0x20b)];this[_0x3a8d81(0x4ab)](_0x579ba1[_0x3a8d81(0x2a1)]);let _0x27d225=setTimeout(()=>{const _0x3c4ccf=_0x3a8d81;let _0x5e6506=this[_0x3c4ccf(0x4d9)]['get'](_0x579ba1[_0x3c4ccf(0x2a1)]);if(!_0x5e6506||_0x5e6506['timeoutId']!==_0x27d225)return;_0x5e6506[_0x3c4ccf(0x20b)]=!0x0;let _0x311ca0=''+_0xe73be6+_0x579ba1[_0x3c4ccf(0x2a1)];this[_0x3c4ccf(0x346)][_0x3c4ccf(0x29c)](_0x311ca0),this[_0x3c4ccf(0x512)][_0x3c4ccf(0x26e)](_0x311ca0),this[_0x3c4ccf(0x254)][_0x3c4ccf(0x1e4)]({'unitId':_0x579ba1['unitId'],'content':this['_localeService']['t'](_0x3c4ccf(0x20a),String(_0x579ba1[_0x3c4ccf(0x3ed)]),String(_0x579ba1[_0x3c4ccf(0x2f5)])),'refreshLabel':this[_0x3c4ccf(0x243)]['t']('collaboration-client-ui.snapshotLoading.refresh')});},0xea60);return this['_blockProgressWatches']['set'](_0x579ba1[_0x3a8d81(0x2a1)],{'loadedBlocks':_0x579ba1['loadedBlocks'],'timedOut':!0x1,'timeoutId':_0x27d225}),!0x1;}[_0x3a95bf(0x4ab)](_0xdeaed6){const _0x260aa3=_0x3a95bf;let _0x18991e=this[_0x260aa3(0x4d9)][_0x260aa3(0x26a)](_0xdeaed6);_0x18991e&&(clearTimeout(_0x18991e[_0x260aa3(0x3c8)]),this[_0x260aa3(0x4d9)][_0x260aa3(0x26e)](_0xdeaed6),this['_clearTimeoutState'](_0xdeaed6));}['_clearTimeoutState'](_0x1c9118){const _0x8a85ed=_0x3a95bf;var _0x3770cd;((_0x3770cd=this['_timeoutState$'][_0x8a85ed(0x238)])==null?void 0x0:_0x3770cd[_0x8a85ed(0x2a1)])===_0x1c9118&&this[_0x8a85ed(0x254)][_0x8a85ed(0x1e4)](null);}};_0x3bd9e2=_0x313369([_0x489cd3(0x0,(0x0,_0x243ba8['Inject'])(_0x2557fc[_0x3a95bf(0x3d9)])),_0x489cd3(0x1,_0x456aa1[_0x3a95bf(0x1d0)]),_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x3e4)])),_0x489cd3(0x3,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8['Injector'])),_0x489cd3(0x4,_0x456aa1[_0x3a95bf(0x3a8)])],_0x3bd9e2);let _0x5ddc8b=class extends _0x243ba8[_0x3a95bf(0x336)]{constructor(_0x192420,_0x1181d9,_0x4d0153,_0x25b117,_0x3cde9d){const _0x1cd0ee=_0x3a95bf;var _0x107dfe;super(),this[_0x1cd0ee(0x45c)]=_0x192420,this[_0x1cd0ee(0x4a5)]=_0x1181d9,this['_revisionService']=_0x4d0153,this['_logService']=_0x25b117,this[_0x1cd0ee(0x4bb)]=_0x3cde9d,_0x538d20(this,_0x1cd0ee(0x455),new Map()),_0x538d20(this,_0x1cd0ee(0x3a9),new Map()),_0x538d20(this,_0x1cd0ee(0x393),new Map()),_0x538d20(this,_0x1cd0ee(0x452),!0x1),this[_0x1cd0ee(0x452)]=!((_0x107dfe=this[_0x1cd0ee(0x45c)]['getConfig'](_0xd6e6bc['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))!=null&&_0x107dfe['enableOfflineEditing']);}[_0x3a95bf(0x262)](){const _0x433294=_0x3a95bf;this[_0x433294(0x452)]=!0x0;}['enableLocalCache'](){const _0xb6034a=_0x3a95bf;this[_0xb6034a(0x452)]=!0x1;}get['saveTaskMap'](){const _0xb7867b=_0x3a95bf;let _0x351213=new Map(this[_0xb7867b(0x3a9)]);return this[_0xb7867b(0x393)]['forEach']((_0x5e9a9d,_0x2d7ed5)=>{const _0xe1550d=_0xb7867b;_0x351213[_0xe1550d(0x502)](_0x2d7ed5)||_0x351213[_0xe1550d(0x4b9)](_0x2d7ed5,0x0);}),_0x351213;}['dispose'](){const _0x7bfe92=_0x3a95bf;this[_0x7bfe92(0x2ee)]||(super[_0x7bfe92(0x1f0)](),this[_0x7bfe92(0x452)]=!0x0,this['exhaustSavingTask']()[_0x7bfe92(0x37b)](_0xde864f=>this[_0x7bfe92(0x287)][_0x7bfe92(0x21d)](_0xde864f)));}async[_0x3a95bf(0x4c1)](_0x2164ea,_0x1ea56f){const _0x2cecb8=_0x3a95bf;if(this[_0x2cecb8(0x452)])return null;let _0x365ebb=this['_getUserId'](_0x1ea56f),_0x59c2b3=await this[_0x2cecb8(0x4a5)][_0x2cecb8(0x41e)]((0x0,_0xd6e6bc['getLocalCacheKey'])(_0x2164ea,_0x365ebb));return(_0x59c2b3==null?void 0x0:_0x59c2b3[_0x2cecb8(0x259)])===_0x2164ea&&this['_normalizeUserId'](_0x59c2b3[_0x2cecb8(0x30b)])===_0x365ebb?_0x59c2b3:null;}async[_0x3a95bf(0x41b)](_0x5c7f83,_0x4cda62,_0x42b251){const _0x56ed3a=_0x3a95bf;let _0x5e3b3f=this[_0x56ed3a(0x3a6)](_0x42b251),_0xa08ffc=(0x0,_0xd6e6bc[_0x56ed3a(0x478)])(_0x5c7f83,_0x5e3b3f),_0xdacbd5=this[_0x56ed3a(0x4a5)]['setItem'](_0xa08ffc,{..._0x4cda62,'unitID':_0x5c7f83,'userId':_0x5e3b3f});return this[_0x56ed3a(0x24e)](_0xa08ffc,_0xdacbd5),!!await _0xdacbd5;}async[_0x3a95bf(0x27c)](_0x477217,_0x54df9a,_0x5f2927){const _0x2b77e5=_0x3a95bf;let _0x31d7e8=this['_getUserId'](_0x5f2927),_0x47a593=(0x0,_0xd6e6bc[_0x2b77e5(0x478)])(_0x477217,_0x31d7e8),_0x18eafe=this[_0x2b77e5(0x455)]['get'](_0x47a593)??await this[_0x2b77e5(0x4a5)][_0x2b77e5(0x41e)](_0x47a593);if(!_0x18eafe||this['_normalizeUserId'](_0x18eafe[_0x2b77e5(0x30b)])!==_0x31d7e8||_0x18eafe[_0x2b77e5(0x259)]!==_0x477217)return;let _0x37e6ff=Date[_0x2b77e5(0x2ba)](),_0x18f7f0=new Date(_0x37e6ff)[_0x2b77e5(0x3d1)]();await this[_0x2b77e5(0x4a5)][_0x2b77e5(0x3fb)](_0x47a593+_0x2b77e5(0x49c)+_0x37e6ff,{'reason':_0x54df9a,'createdAt':_0x18f7f0,'data':_0x18eafe});}async[_0x3a95bf(0x423)](_0x26d244,_0x3656c2){const _0x506381=_0x3a95bf;let _0x5ef309=this[_0x506381(0x3a6)](_0x3656c2),_0x479338=(0x0,_0xd6e6bc[_0x506381(0x478)])(_0x26d244,_0x5ef309),_0xf87399=this[_0x506381(0x3a9)][_0x506381(0x26a)](_0x479338);_0xf87399!==void 0x0&&(window[_0x506381(0x3d8)](_0xf87399),this[_0x506381(0x3a9)]['delete'](_0x479338));let _0x3ab023=this[_0x506381(0x393)][_0x506381(0x26a)](_0x479338);_0x3ab023&&await Promise[_0x506381(0x1ed)](_0x3ab023),this[_0x506381(0x455)][_0x506381(0x26e)](_0x479338),await this[_0x506381(0x4a5)][_0x506381(0x493)](_0x479338);}[_0x3a95bf(0x22b)](_0x3e3f47,_0x1fe54f,_0x122df9,_0x4cb561,_0x151240){const _0x73b08a=_0x3a95bf;if(this[_0x73b08a(0x2ee)])return;let _0xd84380=this['_getUserId'](_0x151240),_0x4d7ec6=(0x0,_0xd6e6bc['getLocalCacheKey'])(_0x3e3f47,_0xd84380),_0x3adc63=this[_0x73b08a(0x252)][_0x73b08a(0x3d2)](_0x3e3f47);this[_0x73b08a(0x455)]['set'](_0x4d7ec6,{'unitID':_0x3e3f47,'userId':_0xd84380,'type':_0x1fe54f,'awaitingChangeset':_0x122df9,'mutations':_0x4cb561,'rev':_0x3adc63}),this[_0x73b08a(0x3a9)][_0x73b08a(0x502)](_0x4d7ec6)||this[_0x73b08a(0x40e)](_0x4d7ec6);}[_0x3a95bf(0x3a6)](_0x153aa0=((()=>{const _0x5c8408=_0x3a95bf;var _0x1d9423;return(_0x1d9423=this[_0x5c8408(0x4bb)][_0x5c8408(0x337)]())==null?void 0x0:_0x1d9423[_0x5c8408(0x3cf)];})())){return this['_normalizeUserId'](_0x153aa0);}[_0x3a95bf(0x1ab)](_0x270768){return _0x270768===''||_0x270768==null?void 0x0:_0x270768;}[_0x3a95bf(0x40e)](_0x2fd370){const _0x5baa38=_0x3a95bf;let _0xe67835=this[_0x5baa38(0x2b4)]();_0xe67835===0x0?this['_saveCache'](_0x2fd370)[_0x5baa38(0x37b)](_0x506a21=>this[_0x5baa38(0x287)]['error'](_0x506a21)):this['_saveTaskMap'][_0x5baa38(0x4b9)](_0x2fd370,window['setTimeout'](()=>{const _0x206d48=_0x5baa38;this['_saveCache'](_0x2fd370)['catch'](_0x3f69a7=>this['_logService'][_0x206d48(0x21d)](_0x3f69a7));},_0xe67835));}[_0x3a95bf(0x2b4)](){const _0x1809ab=_0x3a95bf;return this['_configService']['getConfig'](_0xd6e6bc[_0x1809ab(0x3ad)])??_0xd6e6bc[_0x1809ab(0x1bf)];}[_0x3a95bf(0x483)](_0x4cd9b8){const _0x4d7349=_0x3a95bf;let _0x42f5ed=this[_0x4d7349(0x3a9)][_0x4d7349(0x26a)](_0x4cd9b8);_0x42f5ed!==void 0x0&&window[_0x4d7349(0x3d8)](_0x42f5ed);let _0x2ede63=this[_0x4d7349(0x455)][_0x4d7349(0x26a)](_0x4cd9b8);if(!_0x2ede63)return Promise['resolve']();let _0x475647=this['_activeSaveTaskMap'][_0x4d7349(0x26a)](_0x4cd9b8),_0x4fee23=Promise[_0x4d7349(0x1ed)](_0x475647?[..._0x475647]:[])[_0x4d7349(0x373)](()=>this['_localStorageService']['setItem'](_0x4cd9b8,_0x2ede63))[_0x4d7349(0x373)](()=>{const _0x15308d=_0x4d7349;_0x42f5ed!==void 0x0&&this[_0x15308d(0x3a9)][_0x15308d(0x26a)](_0x4cd9b8)===_0x42f5ed&&(this['_saveTaskMap'][_0x15308d(0x26e)](_0x4cd9b8),!this[_0x15308d(0x2ee)]&&this['_cachedData']['get'](_0x4cd9b8)!==_0x2ede63&&this[_0x15308d(0x40e)](_0x4cd9b8));});return this[_0x4d7349(0x24e)](_0x4cd9b8,_0x4fee23),_0x4fee23;}[_0x3a95bf(0x24e)](_0x1bd231,_0x55641e){const _0x3838c5=_0x3a95bf;let _0x2edbaf=this[_0x3838c5(0x393)][_0x3838c5(0x26a)](_0x1bd231);_0x2edbaf||(_0x2edbaf=new Set(),this[_0x3838c5(0x393)][_0x3838c5(0x4b9)](_0x1bd231,_0x2edbaf)),_0x2edbaf[_0x3838c5(0x299)](_0x55641e);let _0x3ba7e9=()=>{const _0xc91625=_0x3838c5;_0x2edbaf[_0xc91625(0x26e)](_0x55641e),_0x2edbaf[_0xc91625(0x267)]===0x0&&this['_activeSaveTaskMap']['delete'](_0x1bd231);};_0x55641e[_0x3838c5(0x373)](_0x3ba7e9,_0x3ba7e9);}async[_0x3a95bf(0x2e7)](){const _0x380f78=_0x3a95bf;let _0x5b5f91=[...this[_0x380f78(0x3a9)][_0x380f78(0x47e)]()][_0x380f78(0x3a2)](_0x5aa2df=>this[_0x380f78(0x483)](_0x5aa2df));for(let _0x5d590f of this['_activeSaveTaskMap'][_0x380f78(0x22c)]())_0x5b5f91['push'](...[..._0x5d590f][_0x380f78(0x3a2)](_0x15bf49=>_0x15bf49[_0x380f78(0x373)](()=>void 0x0)));await Promise[_0x380f78(0x219)](_0x5b5f91);}};_0x5ddc8b=_0x313369([_0x489cd3(0x0,_0x243ba8['IConfigService']),_0x489cd3(0x1,_0x243ba8[_0x3a95bf(0x3dc)]),_0x489cd3(0x2,(0x0,_0x243ba8['Inject'])(_0x2557fc[_0x3a95bf(0x507)])),_0x489cd3(0x3,_0x243ba8[_0x3a95bf(0x20d)]),_0x489cd3(0x4,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x232)]))],_0x5ddc8b);var _0x370175=class extends _0x243ba8['Disposable']{get[_0x3a95bf(0x334)](){const _0x76bf94=_0x3a95bf;return this[_0x76bf94(0x414)][_0x76bf94(0x2a6)]();}constructor(){const _0x16efbf=_0x3a95bf;super(),_0x538d20(this,'_online$',new _0x4089a3['BehaviorSubject'](navigator[_0x16efbf(0x26b)])),_0x538d20(this,'online$',this[_0x16efbf(0x414)][_0x16efbf(0x1cd)]()),this[_0x16efbf(0x3dd)](),this[_0x16efbf(0x31f)]();}[_0x3a95bf(0x1f0)](){const _0x3c23d5=_0x3a95bf;super[_0x3c23d5(0x1f0)](),this[_0x3c23d5(0x414)]['complete']();}[_0x3a95bf(0x31f)](){const _0x4f41fb=_0x3a95bf;this['disposeWithMe']((0x0,_0x4089a3[_0x4f41fb(0x2e8)])((0x0,_0x4089a3[_0x4f41fb(0x246)])(window,'online'),(0x0,_0x4089a3[_0x4f41fb(0x246)])(window,_0x4f41fb(0x4f9)),(0x0,_0x4089a3['fromEvent'])(document,_0x4f41fb(0x3d5))[_0x4f41fb(0x325)]((0x0,_0x4089a3[_0x4f41fb(0x3a2)])(()=>document[_0x4f41fb(0x477)]===_0x4f41fb(0x48b)),(0x0,_0x4089a3[_0x4f41fb(0x1d2)])(_0x2a2a91=>_0x2a2a91)))[_0x4f41fb(0x325)]((0x0,_0x4089a3['filter'])(()=>navigator[_0x4f41fb(0x26b)]))['subscribe'](()=>this[_0x4f41fb(0x414)][_0x4f41fb(0x1e4)](!0x0)));}['_listenToOfflineEvent'](){const _0x507ce8=_0x3a95bf;this[_0x507ce8(0x359)]((0x0,_0x4089a3[_0x507ce8(0x246)])(window,'offline')[_0x507ce8(0x425)](()=>this['_online$'][_0x507ce8(0x1e4)](!0x1)));}};let _0x5e3600=class extends _0x243ba8[_0x3a95bf(0x45d)]{constructor(_0x48430d=_0x17ec3a,_0x4b4256,_0x2c6192,_0xedc414,_0x37e7c6){const _0x57a49f=_0x3a95bf;super(),this[_0x57a49f(0x220)]=_0x48430d,this[_0x57a49f(0x4f4)]=_0x4b4256,this[_0x57a49f(0x4c9)]=_0x2c6192,this[_0x57a49f(0x45c)]=_0xedc414,this[_0x57a49f(0x40f)]=_0x37e7c6;let {..._0x27b138}=(0x0,_0x243ba8['merge'])({},_0x17ec3a,this[_0x57a49f(0x220)]);this[_0x57a49f(0x45c)]['setConfig'](_0x57a49f(0x44e),_0x27b138);}[_0x3a95bf(0x1e7)](){const _0x1d0809=_0x3a95bf;this['_registerDependencies'](),this[_0x1d0809(0x359)](this['_commandService']['registerCommand'](_0x574984)),this[_0x1d0809(0x3b0)]();}[_0x3a95bf(0x45f)](){const _0x23c38f=_0x3a95bf;this[_0x23c38f(0x1ee)]();}['_registerDependencies'](){const _0xb978ba=_0x3a95bf;var _0x3ce449;let _0x328b71=[[_0x566e73],[_0x512293[_0xb978ba(0x268)],{'useClass':_0x512293[_0xb978ba(0x21c)]}],[_0xd6e6bc[_0xb978ba(0x421)],{'useClass':_0x5ddc8b}],[_0xd6e6bc[_0xb978ba(0x34e)],{'useClass':_0x370175}],[_0x504763],[_0x5e6afd],[_0x473810],[_0x54df2a],[_0x3bd9e2]];this[_0xb978ba(0x220)][_0xb978ba(0x24b)]!==!0x1&&_0x328b71[_0xb978ba(0x50f)]([_0x46a30d],[_0x3973e6],[_0x5b4446],[_0x7cbc68],[_0x523c38],[_0x217fc6]),this['_config']['enableFrontendLog']&&_0x328b71['push']([_0x4176b4]),(0x0,_0x243ba8[_0xb978ba(0x484)])(this[_0xb978ba(0x4c9)],(0x0,_0x243ba8['mergeOverrideWithDependencies'])(_0x328b71,(_0x3ce449=this['_config'])==null?void 0x0:_0x3ce449[_0xb978ba(0x4a1)]));}[_0x3a95bf(0x1ee)](){const _0x10fed1=_0x3a95bf;this[_0x10fed1(0x220)][_0x10fed1(0x24b)]!==!0x1&&this[_0x10fed1(0x359)](this[_0x10fed1(0x4f4)][_0x10fed1(0x1fe)](_0x243ba8[_0x10fed1(0x509)]['UNIVER_DOC'],[_0x247d79])),this['disposeWithMe'](this[_0x10fed1(0x4f4)][_0x10fed1(0x1fe)](_0x243ba8[_0x10fed1(0x509)][_0x10fed1(0x295)],[_0x7fdc90]));}[_0x3a95bf(0x3b0)](){const _0x41cab1=_0x3a95bf;(0x0,_0x243ba8[_0x41cab1(0x30f)])(this[_0x41cab1(0x4c9)],[[_0x473810],[_0x54df2a],[_0x504763],[_0x5e6afd],[_0x3bd9e2]]),this[_0x41cab1(0x220)][_0x41cab1(0x24b)]!==!0x1&&(0x0,_0x243ba8[_0x41cab1(0x30f)])(this[_0x41cab1(0x4c9)],[[_0x523c38],[_0x217fc6]]),this['_config']['enableFrontendLog']&&(0x0,_0x243ba8[_0x41cab1(0x30f)])(this[_0x41cab1(0x4c9)],[[_0x4176b4]]);}};_0x538d20(_0x5e3600,_0x3a95bf(0x3fc),_0x3a95bf(0x241)),_0x538d20(_0x5e3600,_0x3a95bf(0x3be),_0x227a21),_0x538d20(_0x5e3600,_0x3a95bf(0x2a5),_0xa76bd6),_0x5e3600=_0x313369([(0x0,_0x243ba8[_0x3a95bf(0x3e9)])(_0x1b5e47[_0x3a95bf(0x34a)],_0x446a63[_0x3a95bf(0x1d3)],_0x1df5c2[_0x3a95bf(0x28f)],_0x512293[_0x3a95bf(0x1d1)],_0x2557fc[_0x3a95bf(0x212)],_0x40df28['UniverDocsUIPlugin'],_0xd6e6bc[_0x3a95bf(0x207)]),_0x489cd3(0x1,_0x1df5c2[_0x3a95bf(0x49e)]),_0x489cd3(0x2,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x380)])),_0x489cd3(0x3,_0x243ba8[_0x3a95bf(0x2e0)]),_0x489cd3(0x4,_0x243ba8[_0x3a95bf(0x4dd)])],_0x5e3600);let _0x22f686=class extends _0xd6e6bc[_0x3a95bf(0x285)]{constructor(_0x25fac6,_0x21ca25,_0x5d51ef,_0xe2c5e8,_0x25238c){const _0x59f740=_0x3a95bf;super(_0x25fac6,_0x21ca25,_0x5d51ef,_0xe2c5e8,_0x25238c),_0x538d20(this,_0x59f740(0x4b5),new _0x4089a3[(_0x59f740(0x3db))]()),this[_0x59f740(0x359)](()=>{const _0x265225=_0x59f740;this[_0x265225(0x4b5)][_0x265225(0x1e4)](),this['_dispose$']['complete']();});}async['createSocket'](_0x111178){const _0x50b2b8=_0x3a95bf;let _0x10a85a=await this[_0x50b2b8(0x319)](),_0x584043=this[_0x50b2b8(0x308)](_0x111178,_0x10a85a);return this[_0x50b2b8(0x46e)](_0x584043);}[_0x3a95bf(0x308)](_0x448e8f,_0x12767d){const _0x20c427=_0x3a95bf;let _0x1909ac=typeof window>'u'?new URL(_0x448e8f):new URL(_0x448e8f,window[_0x20c427(0x2f9)][_0x20c427(0x2fa)]);_0x1909ac[_0x20c427(0x2e1)]['set'](_0x20c427(0x24f),_0x12767d);let _0x58b876=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x20c427(0x2f9)][_0x20c427(0x3c1)]);return _0x58b876[_0x20c427(0x26a)](_0x20c427(0x35f))&&_0x1909ac[_0x20c427(0x2e1)][_0x20c427(0x4b9)](_0x20c427(0x35f),_0x58b876[_0x20c427(0x26a)](_0x20c427(0x35f))),_0x1909ac[_0x20c427(0x1c5)]();}async['_getSessionTicket'](){const _0xdc1146=_0x3a95bf;var _0x2898f0;let _0x1e977b=this[_0xdc1146(0x45c)]['getConfig'](_0xd6e6bc[_0xdc1146(0x33c)]),_0x1e0e0a=(_0x1e977b==null?void 0x0:_0x1e977b['wsSessionTicketUrl'])??_0xd6e6bc['DEFAULT_WS_SESSION_TICKET_URL'];return((_0x2898f0=(await(0x0,_0x4089a3['firstValueFrom'])(this['_httpService'][_0xdc1146(0x302)](_0xdc1146(0x1db),_0x1e0e0a,{'headers':{'Content-Type':_0xdc1146(0x362)}})[_0xdc1146(0x325)]((0x0,_0x4089a3['filter'])(_0x47cd42=>_0x47cd42[_0xdc1146(0x30d)]===_0x512293['HTTPEventType'][_0xdc1146(0x4c4)]),(0x0,_0x4089a3[_0xdc1146(0x205)])(0x4e20),(0x0,_0x4089a3['takeUntil'])(this[_0xdc1146(0x4b5)]))))['body'])==null?void 0x0:_0x2898f0[_0xdc1146(0x23c)])??'';}};_0x22f686=_0x313369([_0x489cd3(0x0,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x243ba8[_0x3a95bf(0x380)])),_0x489cd3(0x1,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x512293[_0x3a95bf(0x25b)])),_0x489cd3(0x2,_0x243ba8[_0x3a95bf(0x2e0)]),_0x489cd3(0x3,_0x243ba8[_0x3a95bf(0x20d)]),_0x489cd3(0x4,_0x2557fc['ISnapshotServerService'])],_0x22f686);let _0x56acbf=class extends _0x243ba8['Disposable']{constructor(_0x3085ca,_0x63ea1e,_0x1a9f98){const _0x1acab3=_0x3a95bf;super(),this[_0x1acab3(0x1be)]=_0x3085ca,this[_0x1acab3(0x25c)]=_0x63ea1e,this[_0x1acab3(0x45c)]=_0x1a9f98;}async['runOnServer'](_0x4e7492,_0xeac133,_0xcac384,..._0x54ada1){const _0x8c07c7=_0x3a95bf;let _0x16354b=this[_0x8c07c7(0x1be)][_0x8c07c7(0x384)]();if(!_0x16354b)throw Error(_0x8c07c7(0x23d));let _0x133cc6=(this[_0x8c07c7(0x45c)]['getConfig'](_0xd6e6bc[_0x8c07c7(0x34d)])??_0xd6e6bc['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x4e7492+'/run/'+_0xeac133,_0x28c933={'scriptId':_0x4e7492,'runId':new URL(window[_0x8c07c7(0x2f9)]['href'])[_0x8c07c7(0x2e1)][_0x8c07c7(0x26a)]('runId')??'','function':_0xeac133,'unitId':_0x16354b[_0x8c07c7(0x4cd)](),'argsOfFunction':JSON[_0x8c07c7(0x215)](_0x54ada1),'invokeId':_0xcac384[_0x8c07c7(0x1e0)]??'','executionId':_0xcac384[_0x8c07c7(0x27d)]??''};try{let _0x31b816=await this[_0x8c07c7(0x25c)][_0x8c07c7(0x394)](_0x133cc6,{'body':_0x28c933});return _0x31b816[_0x8c07c7(0x415)][_0x8c07c7(0x21d)]&&_0x31b816[_0x8c07c7(0x415)][_0x8c07c7(0x21d)][_0x8c07c7(0x310)]!==_0x43cd06['ErrorCode']['OK']?_0x8c07c7(0x2e2):_0x31b816[_0x8c07c7(0x415)][_0x8c07c7(0x4ef)];}catch{return _0x8c07c7(0x2e2);}}};_0x56acbf=_0x313369([_0x489cd3(0x0,_0x243ba8[_0x3a95bf(0x4ba)]),_0x489cd3(0x1,(0x0,_0x243ba8[_0x3a95bf(0x284)])(_0x512293[_0x3a95bf(0x25b)])),_0x489cd3(0x2,_0x243ba8[_0x3a95bf(0x2e0)])],_0x56acbf);let _0x564508=0x7530,_0x5b4a02=_0x3a95bf(0x1e3);var _0xbb94ec=class extends _0x243ba8[_0x3a95bf(0x336)]{constructor(){const _0x49bd62=_0x3a95bf;super(),_0x538d20(this,_0x49bd62(0x342),(0x0,_0x243ba8['generateRandomId'])()),_0x538d20(this,_0x49bd62(0x3e0),new Set()),_0x538d20(this,_0x49bd62(0x402),new Map()),_0x538d20(this,_0x49bd62(0x324),null),_0x538d20(this,'_clearOtherTimers',new Map()),_0x538d20(this,_0x49bd62(0x3d3),new Map()),this['_init']();}[_0x3a95bf(0x1f0)](){const _0x3130db=_0x3a95bf;super[_0x3130db(0x1f0)](),this[_0x3130db(0x32b)]['forEach']((_0xe5e3c,_0x403f9b)=>this[_0x3130db(0x1d7)](_0x403f9b)),this[_0x3130db(0x324)]&&window[_0x3130db(0x4fa)](this[_0x3130db(0x324)]);}['getUnitStatus$'](_0x222e49){const _0x252651=_0x3a95bf;return this[_0x252651(0x4cf)](_0x222e49)[_0x252651(0x325)]((0x0,_0x4089a3[_0x252651(0x492)])());}[_0x3a95bf(0x369)](_0x70f7ef){const _0x2bb846=_0x3a95bf;this[_0x2bb846(0x3e0)][_0x2bb846(0x267)]===0x0&&this['_scheduleHeartbeat'](),this[_0x2bb846(0x3e0)][_0x2bb846(0x299)](_0x70f7ef),this[_0x2bb846(0x206)]({'type':0x0,'memberID':this[_0x2bb846(0x342)],'unitIDs':[_0x70f7ef],'isForwarded':!0x1});}[_0x3a95bf(0x2d7)](_0x4d4aef){const _0x1005b9=_0x3a95bf;this[_0x1005b9(0x3e0)]['delete'](_0x4d4aef),this[_0x1005b9(0x3e0)][_0x1005b9(0x267)]===0x0&&this[_0x1005b9(0x324)]&&window[_0x1005b9(0x4fa)](this['_heartbeatTimer']);}[_0x3a95bf(0x2bf)](){const _0x20a38c=_0x3a95bf;this['disposeWithMe']((0x0,_0x243ba8[_0x20a38c(0x31b)])((0x0,_0x4089a3[_0x20a38c(0x246)])(window,_0x20a38c(0x1d5))[_0x20a38c(0x425)](_0x1f9dbe=>{const _0x16d3ef=_0x20a38c;if(_0x1f9dbe[_0x16d3ef(0x453)]!==_0x5b4a02||!_0x1f9dbe['newValue'])return;let _0x95fbf2=JSON[_0x16d3ef(0x4ff)](_0x1f9dbe[_0x16d3ef(0x1ea)]);this[_0x16d3ef(0x21e)](_0x95fbf2);}))),window[_0x20a38c(0x329)](_0x20a38c(0x230),()=>this[_0x20a38c(0x206)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x20a38c(0x292)](this[_0x20a38c(0x3e0)])}));}[_0x3a95bf(0x21e)](_0x27a193){const _0x51febb=_0x3a95bf;switch(_0x27a193['type']){case 0x0:this[_0x51febb(0x242)](_0x27a193);break;case 0x1:this[_0x51febb(0x1c9)](_0x27a193);break;case 0x2:this['_handleHeartbeatEvent'](_0x27a193);}}['_handleJoinEvent'](_0x442c21){const _0x24f8b9=_0x3a95bf;let {unitIDs:_0x222955,memberID:_0x1239a2,isForwarded:_0x10ea3f}=_0x442c21;_0x222955[_0x24f8b9(0x437)](_0x1fa644=>{const _0x7423a7=_0x24f8b9;if(!_0x10ea3f&&this[_0x7423a7(0x402)]['has'](_0x1fa644)&&this[_0x7423a7(0x4cf)](_0x1fa644)[_0x7423a7(0x1e4)](_0xd6e6bc[_0x7423a7(0x35a)][_0x7423a7(0x4d1)]),!this[_0x7423a7(0x402)]['has'](_0x1fa644)||!this['_unitOnClients'][_0x7423a7(0x26a)](_0x1fa644)[_0x7423a7(0x502)](_0x1239a2)){let _0x1b349d=this[_0x7423a7(0x402)][_0x7423a7(0x26a)](_0x1fa644)||new Set();_0x1b349d[_0x7423a7(0x299)](_0x1239a2),this['_unitOnClients'][_0x7423a7(0x4b9)](_0x1fa644,_0x1b349d),this[_0x7423a7(0x41d)](_0x1239a2);}}),_0x10ea3f||this['_send']({'type':0x0,'memberID':this[_0x24f8b9(0x342)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x3a95bf(0x41d)](_0x3697a6){const _0x2d4cd5=_0x3a95bf;this[_0x2d4cd5(0x1d7)](_0x3697a6);let _0x60031=window[_0x2d4cd5(0x35e)](()=>{const _0x2f6407=_0x2d4cd5;this[_0x2f6407(0x402)]['forEach'](_0xfb9730=>{const _0x2a5bcd=_0x2f6407;_0xfb9730[_0x2a5bcd(0x26e)](_0x3697a6);});},_0x564508*0x2);this[_0x2d4cd5(0x32b)]['set'](_0x3697a6,_0x60031);}[_0x3a95bf(0x1d7)](_0x571e52){const _0x5623bc=_0x3a95bf;if(this[_0x5623bc(0x32b)][_0x5623bc(0x502)](_0x571e52)){let _0x349423=this['_clearOtherTimers'][_0x5623bc(0x26a)](_0x571e52);_0x349423&&window['clearTimeout'](_0x349423),this[_0x5623bc(0x32b)]['set'](_0x571e52,null);}}[_0x3a95bf(0x1c9)](_0x290719){const _0x564cc7=_0x3a95bf;let {memberID:_0x4ec65d,unitIDs:_0xedd814}=_0x290719;_0xedd814[_0x564cc7(0x437)](_0x16181e=>{const _0x31ecae=_0x564cc7;var _0x48f231;let _0x27e247=this[_0x31ecae(0x402)][_0x31ecae(0x26a)](_0x16181e);_0x27e247&&(_0x27e247['delete'](_0x4ec65d),(_0x48f231=this['_ensureSubject'](_0x16181e))==null||_0x48f231[_0x31ecae(0x1e4)](_0x27e247[_0x31ecae(0x267)]===0x0?_0xd6e6bc[_0x31ecae(0x35a)][_0x31ecae(0x48e)]:_0xd6e6bc['UnitStatus'][_0x31ecae(0x4d1)]));}),this[_0x564cc7(0x1d7)](_0x4ec65d);}[_0x3a95bf(0x1de)](_0x366b35){const _0xc2e719=_0x3a95bf;this[_0xc2e719(0x41d)](_0x366b35[_0xc2e719(0x4e8)]);}['_send'](_0x15f80c){const _0xb1c6c3=_0x3a95bf;localStorage[_0xb1c6c3(0x3fb)](_0x5b4a02,JSON[_0xb1c6c3(0x215)](_0x15f80c));}['_scheduleHeartbeat'](){const _0x8e741f=_0x3a95bf;this[_0x8e741f(0x324)]=window['setInterval'](()=>{const _0x31eadc=_0x8e741f;this['_send']({'type':0x2,'memberID':this[_0x31eadc(0x342)]});},_0x564508);}[_0x3a95bf(0x4cf)](_0x1c21e7){const _0x3a164a=_0x3a95bf;return this[_0x3a164a(0x3d3)][_0x3a164a(0x502)](_0x1c21e7)||this[_0x3a164a(0x3d3)][_0x3a164a(0x4b9)](_0x1c21e7,new _0x4089a3[(_0x3a164a(0x43f))](_0xd6e6bc[_0x3a164a(0x35a)][_0x3a164a(0x48e)])),this[_0x3a164a(0x3d3)][_0x3a164a(0x26a)](_0x1c21e7);}};Object[_0x3a95bf(0x2b2)](_0x47af61,_0x3a95bf(0x245),{'enumerable':!0x0,'get':function(){return _0x22f686;}}),Object[_0x3a95bf(0x2b2)](_0x47af61,_0x3a95bf(0x2dd),{'enumerable':!0x0,'get':function(){return _0x504763;}}),Object[_0x3a95bf(0x2b2)](_0x47af61,_0x3a95bf(0x3f7),{'enumerable':!0x0,'get':function(){return _0x56acbf;}}),_0x47af61['SheetCollabCursorShape']=_0x13957a,Object[_0x3a95bf(0x2b2)](_0x47af61,'UniverCollaborationClientUIPlugin',{'enumerable':!0x0,'get':function(){return _0x5e3600;}}),_0x47af61['WebBrowserSingleActiveUnitService']=_0xbb94ec;}));function _0x580b(){const _0x4a21bb=['attrs','UniverSheets','_collabCursorController','_docSkeleton','isTransformMutationFailure','collab-rect-range-','map','_range','params','deserializeRangeWithSheet','_getUserId','SetDocZoomRatioOperation','IUIPartsService','_saveTaskMap','univer-size-4\x20univer-shrink-0\x20univer-text-amber-500','options','_showText','LOCAL_CACHE_INTERVAL_KEY','collaboration-client-ui.session.connection-failed','DocSelectionManagerService','_initDependencies','RxDisposable','unsubscribe','OPERATION','target','UniverDesign','reconnect','getColor','CollaborationStatus','SetTextSelectionsOperation','_labelHorizontalPosition','_onCursorDelete','RegularPolygon','getCoordRelativeToViewport','packageName','_initStatusComponent','m1Prime','search','triggerDblclick','_collabCursorState$','observe','_backgroundColor','clipPath',',\x200.2)','timeoutId','transformStateCache','Tools','canRenderAnchor','@univerjs/sheets','replaceSelectionInfoWithoutRefresh','state$','userID','_replaceConflictNotification','toISOString','getCurrentRevOfUnit','_unitStatus','exports','visibilitychange','OFFLINE','canRenderSelection','clearTimeout','SnapshotLoadingService','_drawAnchor','Subject','ILocalStorageService','_listenToOfflineEvent','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','max','_selfUnitIDs','use','AWAITING_WITH_PENDING','1em','LocaleService','with','_themeService','_memberID','getScrollXYInfoByViewport','DependentOn','ITransformService','clearRemotePresences','defs','loadedBlocks','show','range','highlightSecond','collab-text-anchor-','_cursor','_docStateChangeManagerService','stack','_pendingEntities','_clearTimeoutState','RemoteUniscriptService','default','getTypeOfUnitAdded$','addObject','setItem','pluginName','tableId','@univerjs/engine-formula','UniverEngineRender','columnIndex','stroke','_unitOnClients','_toggleOnline','roomMembers','static','_transformUndoRedoStack','_presenceAdapterRegistry','colno','getRangePointData','@univerjs/protocol','width','CollaborationSessionService','disconnect','_scheduleSaving','_commandService','_stopBlinking','_initEvent','_shapes','measureText','_online$','body','tag','alert','/universer-api/frontend/logs','_pointerMoveDisposable','_initUnhandledRejectionListener','saveOfflineData','MessageType','_scheduleClearOtherTimer','getItem','_localCacheService','React','ILocalCacheService','deepClone','clearOfflineData','clear','subscribe','slice','AWAITING','SOCKET_FAILED','_render','handleInsertRow','CollaborationUIEventId','prepareTransformSelections','collab-text-range-','isEditing','shareInterval','parseInt','getCurrentTypeOfUnit$','reason','on-line-icon_clip0_910_349','TEXT','_hovered','getCurrentSkeleton','forEach','_uploadLog','state','_anchor','span','setRemotePresence','undoState','red.300','BehaviorSubject','_colorAssignService','[Unhandled\x20Rejection]:\x20','CollaborationController','rgba','\x20at\x20','pulse','_startBlinking','non-scaling-stroke','_docSelectionManagerService','collaboration-client-ui.conflict.content','DOC_RANGE_TYPE','_showAwaitingNotice','@univerjs/sheets-ui','amd','collaboration-client-ui.config','handleIRemoveCol','UniverProLicense','_beforeCloseService','_disabled','key','statusUIPart','_cachedData','collaboration-client-ui.license.domain-rejected','@univerjs/ui','collaboration-client-ui.conflict.retry','removeRemotePresence','getLocalPresence','_monkeyPatchLogService','_configService','Plugin','_entityInit$','onRendered','_updateCollabCursors','reload','getMember','activate','spin','_roomMembers$','fillRule','_getScale','getCoordByCell','GLOBAL','0\x200\x2017\x2016','getSheetBySheetId','setActiveRange','textRanges','_doCreateSocket','M0\x200H16V16H0z','license_editing_connections_exceeded','@univerjs/docs','3422914pwJiCl','_onRefRangeChange','doc.mutation.rich-text-editing','rgba(','FETCH_MISS','visibilityState','getLocalCacheKey','collabCursorState$','_offsetY','right','drawWith','MoveRangeCommandId','keys','_startEntity','createInstance','_transformService','getOffsetConfig','_saveCache','registerDependencies','useCallback','pageIndex','SOCKET_FAILED_RETRY','eventID','isTransformMutationsWithChangesetSuccess','transform','visible','useDependency','snapshot-loading-','NO_OTHER_CLIENTS_EDITING','isActive','_editingConnectionsExceededNotices','getAllUnitsForType','distinctUntilChanged','removeItem','defIds','restore','setAlpha','redoState','off-line-icon_clip0_910_343','_assignedColors','@univerjs-pro/collaboration-client','addClipboardHook',':backup:','save','IRenderManagerService','HEADER_MENU','SessionStatus','override','_transformPreviousActiveRange','saveTaskMap','jsx','_localStorageService','useImperativeHandle','[LogService\x20Error]:\x20','useId','createElement','number','_clearBlockProgressWatch','DocStateChangeManagerService','_sheetSkeletonManagerService','RefRangeService','_onCursorUpdate','prototype','string','@univerjs-pro/license','CollaborationEvent','_eventUnsubscribe','_dispose$','LICENSE_DOMAIN_REJECTED','update','FromArray','set','IUniverInstanceService','_userManagerService','collaboration-client-ui.collabStatus.offline','InsertRangeMoveDownCommandId','collaboration-client-ui.remoteRevert.title','operators','collaboration-client-ui.collabStatus.synced','loadOfflineData','off-line-icon','getCollabEntities','Response','arc','ThemeService','_initPresenceStatusComponents','@univerjs/design','_injector','replace','_watchBlockProgress','_snapshotLoadingService','getUnitId','status$','_ensureSubject','NodePositionConvertToCursor','OTHER_CLIENTS_EDITING','_labelPosition','getCellIndexByOffset','_entities','MemberService','_docSkeletonManagerService','requireSession','onTransformChange$','_blockProgressWatches','startColumn','min','data','ICommandService','onCommandExecuted','white','#FFF','_collaborationSessionService','subUnitId','@univerjs/core','addHandlerCallback','Tooltip','VIEW_MAIN','_docTransformStateCacheService','memberID','_initUserListener','toStringTag','focusedId','evenodd','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_uiPartsService','result','onPointerLeave$','currentColor','throttleTime','fillStyle','_renderManagerService','startsWith','_registerPresenceStatusComponent','univer-h-8\x20univer-w-8\x20univer-rounded-lg','message','focus','clearInterval','getDocRanges','transformIMECache','colorChannel1','_online','parse','endColumn','collaboration-client-ui.collaboration.closeRoom','has','_initialized','rxjs','hide','hasAttribute','RevisionService','@univerjs/network','UniverInstanceType','hovered','univer-text-gray-400','getActiveRange','_getLighterColor','decorate','push','length','getUndoRedoMutationParamsCache','_messageIds','_normalizeUserId','CLOSE_ROOM','IImageIoService','DocumentSkeletonPageType','getColorFromTheme','BuiltInUIPart','_initWindowErrorListener','isReleased','strokeWidth','baseVal','Warning','loading-multi-icon','OTHER_CLIENT_EDITING','getPropertyValue','selection','_blinkTimer','30IZcnMq','collaboration-client-ui.collaboration.single-unit.warning','940GakUHf','_instanceService','LOCAL_CACHE_INTERVAL','USERS_LEAVE','subscribeEvent','_session','OnLineIcon','...','toString','NodePositionConvertToRectRange','_initCommandExecutedListener','complete','_handleLeaveEvent','DeleteRangeMoveUpCommandId','useLayoutEffect','IDocClipboardService','asObservable','makeDirty','_drawRectRange','IMessageService','UniverNetworkPlugin','filter','UniverDocsPlugin','div','storage','registerBeforeClose','_removeClearOtherTimer','_disposeEntity','changesetResend$','rgba(255,\x20255,\x20255,\x200.01)','GET','Loading','HEADER','_handleHeartbeatEvent','_retryingConflictCacheUnitIDs','invokeId','SetSelectionsOperation','stroke-width','ACTIVE_UNIT_EVENT_CHANNEL','next','_startDocCollabCursor','bind','onStarting','react','_collaborationUIEventService','newValue','url(#off-line-icon_clip0_910_343)','setShapeProps','allSettled','_registerRenderDependencies','_conflictNotification','dispose','_adapterRegistry','collaboration-client-ui.snapshotLoading.refresh','translate(.97)','clickable','element','current','InsertRangeMoveRightCommandId','_highlight','getCurrentSelections','idSuffix','transformMutation','true','0\x200\x2016\x2016','registerRenderModule','@univerjs-pro/collaboration','bold\x2013px\x20Arial,\x20sans-serif','purple.300','useObservable','_context','children','timeout','_send','UniverCollaborationClientPlugin','init','text','collaboration-client-ui.snapshotLoading.timeout','timedOut','_scene','ILogService','switchMap','i18nKey','_setupBeforeClosingHandler','executeCommand','UniverCollaborationPlugin','SheetSkeletonManagerService','unshift','stringify','addObjects','collaboration-client-ui.conflict.processing','_toggleOffline','all','top','collaboration-client-ui.session.collaboration-timeout','WebSocketService','error','_handleEvent','LoadingMultiIcon','_config','univer-inline-flex\x20univer-items-center\x20univer-justify-center','color','_sendLocalPresence','_colorIndex','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','9Lbjqwx','getAncestorScale','_onConflict','handleDeleteRangeMoveUp','UniverDocs','updateOfflineData','values','JOIN_ROOM_FAILED','RECT','494285UzwsWU','unload','unit','UserManagerService','xlink:href','debounce','currentSkeleton$','SheetsSelectionsService','currentTheme$','value','_getAnchorBounding','url(#$1','IBeforeCloseService','ticket','[RemoteUniscriptService]:\x20no\x20focused\x20unit','@univerjs/engine-render','stage','_name','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_handleJoinEvent','_localeService','_removeRemotePresence','BrowserCollaborationSocketService','fromEvent','Enter','handleInsertRangeMoveDown','ONLINE','univer-border-none\x20univer-bg-transparent','enableDocumentCollaborationUI','green.600','univer-transition-all\x20univer-duration-200','_trackActiveSaveTask','sessionTicket','_updateLocalCursor','_initResize','_revisionService','segmentPage','_timeoutState$','closePath','getConfig','style','indicator','unitID','roomMembers$','HTTPService','_httpService','univer-text-green-500','cacheCleared','_status$','strokeOpacity','collaboration-client-ui.collaboration.offline-data-not-saved','disableLocalCache','runRefRangeMutations','m2Prime','colorClass','priority','size','ISocketService','RemoveRowCommandId','get','onLine','rgb','_docTransformSelectionsService','delete','_anchorDot','_hover','_showConflictProcessingNotification','_color','syncEditingCollabCursor','small','_bindAdapter','warning-icon','preventDefault','DisposableCollection','isArray','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','RemoveColCommandId','backupOfflineData','executionId','on-line-icon','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_drawTextRange','url(#on-line-icon_clip0_910_349)','COLORS','trim','Inject','CollaborationSocketService','_saveTimedOutNotices','_logService','localPresence$','EffectRefRangId','univer-m-0\x20univer-p-0','SnapshotLoadStage','739604ckhSBS','_lastPointer','entityInit$','UniverRenderEnginePlugin','1.3.0','backgroundColor','from','_getMergeRange','_docTransformIMECacheService','UNIVER_SHEET','collaboration-client-ui.license.title','memberId','constructor','add','columnGroupId','_textBubble','remove','_refreshCollabCursors','combineLatest','sheetID','_collaborationController','unitId','status','join','95194YBduuv','version','getValue','sheetId','black','mutations','debounceTime','_refRangeService','\x20-\x20','font','FOOTER','_reloadPage','_initStatusListener','bottom','defineProperty','sessionStatus$','_getSaveTimeout','function','adapters$','unitType','kind','getCurrentUnitOfType','now','saveImage','isFinite','_syncEditingCollabCursorService','_presenceStatusRegistrations','_init','includes','assignAColorForMemberID','LOADING_BLOCKS','RichTextEditingMutation','toRgbString','timeoutState$','left','button','0.2)','_handleCursorUpdate','conflict$','finally','parseFloat','getUnit','unhandledrejection','536280gGwIGh','_notificationService','selectedIds','ERROR','9812474mgPYVG','flatMap','labelHorizontalPosition','snapshot-loading-timeout','disposeUnit','collaboration-client-ui.license.editing-connections-exceeded','pageType','UniverIcon','warning','lineTo','DesktopCollaborationStatusDisplayController','send','getCollabCursors$','IConfigService','searchParams','Failed','http://www.w3.org/2000/svg','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','originalStrokeWidth','ranges','exhaustSavingTask','merge','Button','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','univer-text-orange-500','mask','cursorInfo','_disposed','path','TEXT_RANGE_LAYER_INDEX','Unknown\x20user','object','_isBlinkVisible','content','totalBlocks','_initAwaitingNotices','dispose$','InsertRowCommandId','location','origin','UNIVER_DOC','collaboration-client-ui.collabStatus.fetchMiss','_transformHistoryAndStateStack','displayName','UniverCore','none','getPropertyPriority','stream','react/jsx-runtime','column','transformRemoteChangeset','labelPosition','onPointerEnter$','_createSocketURL','_adapter','showText','userId','getMemberID','type','setProperty','touchDependencies','code','polite','SHEET_VIEWPORT_KEY','_highlightSecond','moveTo','pointer','removeAttribute','clsx','collaboration-client-ui.collabClient.tooltip.reconnect','_getSessionTicket','fillText','toDisposable','UniverNetwork','row','_univerInstanceService','_listenToOnlineEvent','connectInjector','entries','transformByState','WarningIcon','_heartbeatTimer','pipe','UniverProCollaborationClient','IUnitPresenceUIAdapterRegistry','tooltipKey','addEventListener','iterator','_clearOtherTimers','registerComponent','some','collaboration-client-ui.conflict.clearFailed','generateRandomId','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','NOT_COLLAB','_imageIoService','handleInsertRangeMoveRight','online','name','Disposable','getCurrentUser','fill','getActiveSheet','presenceKind','symbol','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','univerjs-icon\x20univerjs-icon-','getCollabEntity$','_isDisposed','_getSheetObject','round','_id','Shape','getSkeleton','_updateMessage','_messageService','socket$','_syncPresenceStatusComponents','_disposeEntitiesForType','UniverLicensePlugin','split','Error','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','INetworkConditionService','_blinkIntervalTimer','height','takeUntil','setStateCache','assign','appliedStrokeWidth','icon','CommandType','_cursors','setOffsetY','disposeWithMe','UnitStatus','_cursorInfo$','_showConflictCacheClearFailedNotification','5317064NtoXrA','setTimeout','runId','_cursorShapes','startRow','application/json','findNodePositionByCharIndex','getTypeOfUnitDisposed$','_docClipboardService','transformMutationsWithChangeset','[Window\x20Error]:\x20','UPDATE_CURSOR','editingUnit','!univer-grid\x20univer-grid-cols-[16px_minmax(0,1fr)]\x20univer-items-start\x20univer-gap-x-1.5\x20univer-gap-y-2','_hideTimer','useRef','forwardRef','jsxs','cursorInfo$','fromEventSubject','timer','univer-text-blue-500','then','toFixed','getStateCache','_retryConflictCacheClear','INotificationService','DocIMEInputManagerService','endRow','DeleteRangeMoveLeftCommandId','catch','collaboration-client-ui.collabStatus.conflict','_docSyncEditingCollabCursorService','6IMxuiO','jiqing.500','Injector','_removeAwaitingNotices','_memberService','handleIRemoveRow','getFocusedUnit','getDocumentSkeletonColumnPagePathInfo','collaboration-client-ui.collabStatus.syncing','_adapterDisposables','event$','_handleHover','Vector2','getRenderUnitById','collaboration-client-ui.remoteRevert.content','endOffset','ColorKit','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','highlight','hadStyleAttribute','loading','_activeSaveTaskMap','post','isInternalEditorID','_removeCollabCursors','_collabSessionService','collaboration-client-ui.conflict.title','#0B9EFB','querySelectorAll','svg'];_0x580b=function(){return _0x4a21bb;};return _0x580b();}
|