@univerjs-pro/collaboration-client-ui 1.0.0-rc.0 → 1.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ar-SA.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/de-DE.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/id-ID.js +1 -1
- package/lib/cjs/locale/it-IT.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/pl-PL.js +1 -1
- package/lib/cjs/locale/pt-BR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/sk-SK.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-HK.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ar-SA.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/de-DE.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/id-ID.js +1 -1
- package/lib/es/locale/it-IT.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/pl-PL.js +1 -1
- package/lib/es/locale/pt-BR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/sk-SK.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-HK.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ar-SA.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/de-DE.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/id-ID.js +1 -1
- package/lib/locale/it-IT.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/pl-PL.js +1 -1
- package/lib/locale/pt-BR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/sk-SK.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-HK.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/types/controllers/collaboration-client-ui.controller.d.ts +7 -0
- package/lib/types/locale/en-US.d.ts +3 -7
- package/lib/types/services/local-cache/web-local-cache.service.d.ts +3 -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 +19 -19
- package/lib/types/services/formula-calculation-guard/formula-calculation-guard.service.d.ts +0 -38
- package/lib/types/services/formula-calculation-guard/util.d.ts +0 -11
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x5355(_0x282824,_0x46ab40){_0x282824=_0x282824-0xb4;const _0x1b1975=_0x1b19();let _0x53550e=_0x1b1975[_0x282824];return _0x53550e;}function _0x1b19(){const _0x374a3f=['deserializeRangeWithSheet','#FFF','UniverIcon','_hasFormulaInDirtyRanges','entries','transformRemoteChangeset','getStateCache','_onRefRangeChange','state','_updateSubUnitFromURLParams','merge','debounceTime','value','isReleased','[Unhandled\x20Rejection]:\x20','_collabCursorController','offsetY','getMemberID','ILocalStorageService','getCurrentUnitOfType','fromEventSubject','_scheduleClearOtherTimer','192755VgrkWx','_clearBlockProgressWatch','makeDirty','LOCAL_CACHE_INTERVAL_KEY','currentTheme$','m1Prime','getValue','UNIVER_SHEET','idSuffix','_syncPresenceStatusComponents','IRenderManagerService','toStringTag','/universer-api/license/formula/limit/status','createSocket','handleDeleteRangeMoveLeft','pluginName','highlightSecond','_send','executionId','react/jsx-runtime','COMPLETE','_getSessionTicket','getParam','clipPath','hide','defIds','GLOBAL','CLOSE_ROOM','\x20-\x20','disposeWithMe','UniverDocsUi','fillText','distinctUntilChanged','observe','collaboration-client-ui.config','_messageIds','_collabCursorState$','toPrimitive','fromEvent','_watchBlockProgress','_entityInit$','Disposable','_showGuardMessage','kind','displayName','_labelHorizontalPosition','_isVisibleUnit','Warning','getOwnPropertyDescriptor','handleDeleteRangeMoveUp','transformMutation','rgba','_initWindowErrorListener','ISocketService','collaboration-client-ui.conflict.content','CollaborationStatus','UniverDocs','RxDisposable','INotificationService','_handleLeaveEvent','searchParams','target','_pollingInterval','has','function','_hideTimer','_toggleOnline','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','primary','UniverRenderEnginePlugin','tooltipKey','disableLocalCache','redoState','takeUntil','fill','_highlightSecond','executeCommand','on-line-icon_clip0_910_349','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','http://www.w3.org/2000/svg','urlChange$','univer-transition-all\x20univer-duration-200','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','trim','focusedId','11393544qSfmvJ','getViewport','MoveRangeCommandId','UniverEngineRender','switchMap','status$','_ensureSubject','HEADER','doc.mutation.rich-text-editing','IURLService','evenodd','current','collaboration-client-ui.formula.calculation.unable','SetTextSelectionsOperation','NO_OTHER_CLIENTS_EDITING','_latestStates','IUniverInstanceService','measureText','_getScale','_roomMembers$','clickable','loadedBlocks','startColumn','_docStateChangeManagerService','_eventUnsubscribe','getUnitId','_onCursorDelete','NodePositionConvertToCursor','unitID','UniverProCollaborationClient','_id','_cursors','from','pushState','NOT_COLLAB','UniverProtocol','_online','_uploadLog','ColorKit','colno','rgb','getItem','_clearOtherTimers','subscribeEvent','getSkeleton','unitId','handleIRemoveRow','univer-text-green-500','green.600','_unitStatus','subscribe','196933hkewxl','findNodePositionByCharIndex','debounce','collaboration-client-ui.permission.title','querySelectorAll','_docTransformStateCacheService','_colorIndex','drawWith','contains','statusUIPart','AWAITING_WITH_PENDING','collaboration-client-ui.collabClient.tooltip.reconnect','jiqing.500','throttleTime','collaboration-client-ui.collaboration.single-unit.warning','ITransformService','totalBlocks','stage','createElement','getCoordByCell','m2Prime','_messageService','_getMergeRange','getActiveRange','ICommandService','unit','isEditing','FOOTER','Enter','BuiltInUIPart','_hovered','number','result','packageName','onStarting','none','UniverEngineFormula','getPropertyPriority','_localeService','InsertColCommandId','_textBubble','_themeService','updateOfflineData','_status$','isInternalEditorID','_clearRemotePresences','limitInfo','removeParam','svg','unitType','CollaborationUIEventId','currentUsage','span','FromArray','_transformPreviousActiveRange','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_initialized','_assignedColors','_commandService','_docSelectionManagerService','saveTaskMap','TEXT','originalStrokeWidth','_configService','_presenceAdapterRegistry','registerRenderModule','stroke-width','ThemeService','[LogService\x20Error]:\x20','_handleHover','url(#off-line-icon_clip0_910_343)','getCurrentSkeleton','_initCommandInterceptor','_onCursorUpdate','Rectangle','_handleCursorUpdate','getBoundingClientRect','_getLighterColor','_drawTextRange','Tools','257997OmAshj','catch','206ADUpmQ','url(#on-line-icon_clip0_910_349)','replaceState','@univerjs-pro/license','getLocalCacheKey','EffectRefRangId','_initEntityListener','showText','FETCH_MISS','sheetID','DataLoaderService','every','OFFLINE','yellow.400','_unitOnClients','ILocalCacheService','find','replaceSelectionInfoWithoutRefresh','columnGroupId','_initResize','unsubscribe','getSheetBySheetId','addHandlerCallback','IDocClipboardService','push','getColor','getCurrentRevOfUnit','_pendingEntities','_getFormulaLimitStatus','amd','DocIMEInputManagerService','dispose','RemoveRowCommandId','forEach','all','univer-border-none\x20univer-bg-transparent','default','MemberService','0\x200\x2016\x2016','disposeUnit','decorate','WarningIcon','?taskId=','rgba(255,\x20255,\x20255,\x200.01)','_render','max','collab-text-anchor-','/universer-api/frontend/logs','resize','endColumn','width','loadOfflineData','PENDING','_adapterRegistry','MessageType','stroke','arc','InsertRangeMoveRightCommandId','getDocRanges','_updateCollabCursors','loading-multi-icon','_disabled','Failed','triggerDblclick','OffLineIcon','_docTransformSelectionsService','pointer','cursorInfo$','save','focused$','_bindAdapter','UniverCollaborationClientUIPlugin','useObservable','univer-text-gray-400','shareInterval','UniverInstanceType','addEventListener','ranges','join','endOffset','useDependency','_logService','UniverProLicense','tableSource','use','unload','entityInit$','_updateMessage','getFormulaLimitStatusUrl','_initEvent','black','_applyCommand','small','_init','_registerPresenceStatusComponent','SetWorksheetActivateCommand','CollaborationSessionService','_localCacheService','indicator','getDocumentSkeletonColumnPagePathInfo','_localStorageService','_shapes','socket$','registerBeforeClose','colorClass','isArray',':backup:','1668Xajktx','sheetId','_initCommandExecutedListener','getUnit','1.0.0-rc.0','IConfigService','_saveCache','_lastPointer','_anchor','fillStyle','_imageIoService','defs','min','getCurrentTypeOfUnit$','_monkeyPatchLogService','_adapter','_univerInstanceService','RECT','delete','prototype','ErrorCode','_syncEditingCollabCursorService','priority','isTransformMutationsWithChangesetSuccess','reload','name','filter','getRenderUnitById','remove','roomMembers','_initUserListener','element','constructor','presenceKind','_removeClearOtherTimer','preventDefault','/universer-api/license/formula/limit/start','source','runRefRangeMutations','labelHorizontalPosition','LOCAL_CACHE_INTERVAL','_registerRenderDependencies','defineProperty','univer-text-orange-500','version','1em','ERROR','_maxFormulaLimit','OTHER_CLIENTS_EDITING','getUndoRedoMutationParamsCache','fillRule','reconnect','some','setParam','setTimeout','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','WebSocketService','operators','off-line-icon','START_CALCULATION','bottom','search','jsx','onPointerLeave$','DocCollaborationEntity','3087032ntDDYl','_doCreateSocket','OTHER_CLIENT_EDITING',',\x200.2)','top','row','collaboration-client-ui.conflict.title','throttle','SUCCESS','prepareTransformSelections','columnIndex','newValue','_sheetSkeletonManagerService','timeoutId','_snapshotLoadingService','lineTo','getCollabEntity$','useCallback','_refreshCollabCursors','transformStateCache','wsSessionTicketUrl','toRgbString','_collaborationController','font','2606wyAUNj','now','range','SetSelectionsOperation','handleInsertCol','split','functionsExecutedState','startsWith','_scheduleSaving','@univerjs-pro/collaboration-client-ui','_context','_pointerMoveDisposable','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','_setupSubUnitSync','CONFLICT','SetDocZoomRatioOperation','_document','error','UniverCollaborationClientPlugin','currentColor','UniverDocsPlugin','warning-icon','override','univer-h-8\x20univer-w-8\x20univer-rounded-lg','getSelectionInfo','_anchorDot','connectInjector','Injector','Shape','translate(.97)','SnapshotLoadStage','vectorEffect','Plugin','history','hovered','removeRemotePresence','LoadingMultiIcon','_scene','clearInterval','_offsetY','_initStatusListener','timeoutState$','M0\x200H16V16H0z','Error','syncEditingCollabCursor','_httpService','_transformService','ONLINE','collaboration-client-ui.permission.content','pageIndex','getSheetId','stack','imageSourceType','React','registerComponent','rxjs/operators','call','timedOut','_currentUsage','_heartbeatTimer','_presenceStatusRegistrations','clearRemotePresences','DeleteRangeMoveLeftCommandId','1085QPGuig','setProperty','univer-size-4\x20univer-shrink-0\x20univer-text-amber-500','_handleHeartbeatEvent','startRow','parseInt','PERMISSION_DENIED','_disposed','getConfig','DisposableCollection','symbol','SessionStatus','isTransformMutationFailure','_blinkTimer','handleInsertRow','[CollaborationDataLoaderController]','clearTimeout','_registerDependencies','color','_releaseCalculationLimit','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','strokeWidth','collaboration-client-ui.snapshotLoading.timeout','round','DOC_RANGE_TYPE','_name','_highlight','onRendered','button','_sendLocalPresence','serializeRangeWithSheet','style','_hover','RefRangeService','enableDocumentCollaborationUI','string','sessionTicket','useImperativeHandle','mergeOverrideWithDependencies','length','getColorFromTheme','transform','snapshot-loading-','data','mutations','subunit','backupOfflineData','_transformUndoRedoStack','update','10XQBCyG','collaboration-client-ui.session.collaboration-timeout','stringify','strokeOpacity','off-line-icon_clip0_910_343','getUnhiddenWorksheets','colorChannel1','clear','@univerjs/engine-formula','replace','white','_checkCalculationAvailable','requireSession','setStateCache','isFormulaString','collaboration-client-ui.session.connection-failed','beginPath','code','_scheduleHeartbeat','combineLatest','IImageIoService','registerRefRange','true','univer-text-blue-500','isFinite','_handleJoinEvent','on-line-icon','parseFloat','removeProperty','NodePositionConvertToRectRange','storage','event$','getScrollXYInfoByViewport','DocumentSkeletonPageType','InsertRowCommandId','onTransformChange$','SOCKET_FAILED','univer-flex\x20univer-items-center\x20univer-justify-center','editingUnit','xlink:href','TEXT_RANGE_LAYER_INDEX','selection','totalFormulasToCalculate','Inject','collaboration-client-ui.collabStatus.synced','0\x200\x2017\x2016','FormulaExecuteStageType','pageType','getRangePointData','activate','clsx','toDisposable','stageInfo','SetFormulaCalculationStartMutation','_selfUnitIDs','Rect','CollaborationUIEventService','@univerjs/sheets','object','LocaleService','setItem','CanceledError','_cursor','addObject','univer-inline-flex\x20univer-items-center\x20univer-justify-center','CommandType','_docSyncEditingCollabCursorService','SheetCollabCursorShape','path','getOffsetConfig','Vector2','collaboration-client-ui.collabStatus.syncing','_getSaveTimeout','SnapshotLoadingService','createIdentifier','static','_uiPartsService','collaboration-client-ui.collaboration.offline-data-not-saved','_drawRectRange','_disposeEntitiesForType','cursorInfo','segmentPage','DocSelectionManagerService','labelPosition','getAncestorScale','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','href','closePath','IUnitPresenceUIAdapterRegistry','then','_draw','slice','UniverNetworkPlugin','_config','sessionStatus$','_clearPolling','univerjs-icon\x20univerjs-icon-','exhaustSavingTask','startOffset','selectedIds','setConfig','children','_refRangeService','_injector','tag','_entities','univer-appearance-none','canRenderAnchor','_blockProgressWatches','getLocalPresence','_color','column','restore','hasAttribute','collaboration-client-ui.collabStatus.offline','uni.network.url-service','_notificationService','_saveTaskMap','9egLIMh','SHEET_VIEWPORT_KEY','attrs','mask','assign','CollaborationEvent','isActive','init','_startBlinking','tableId','setAlpha','_colorAssignService','RegularPolygon','_syncAdapters','_startCalculationLimit','i18nKey','handleInsertRangeMoveDown','appliedStrokeWidth','adapters$','unshift','DesktopCollaborationStatusDisplayController','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','@univerjs/network','_adapterDisposables','_renderManagerService','_dataLoaderService','pulse','@univerjs/docs','_lastResponseTimestamp','_memberService','reason','_startSheetCollabCursor','values','SheetsSelectionsService','_docClipboardService','_backgroundColor','getMember','addClipboardHook','TRANSFORM_CHANGE_OBSERVABLE_TYPE','iterator','eventID','textRanges','dispose$','ILogService','createInstance','options','_initPresenceStatusComponents','post','getCollabCursors$','onMouseMove','_docTransformIMECacheService','setRemotePresence','Tooltip','SYNCED','canRenderSelection','transformIMECache','roomMembers$','JOIN_ROOM_FAILED','_docSkeletonManagerService','baseVal','_handleEvent','collaboration-client-ui.collabStatus.fetchMiss','getActiveSheet','forwardRef','AWAITING','debug','snapshot-loading-timeout','localName','includes','_setFormulaLimitStatus','spin','_isBlinkVisible','_docSkeleton','USERS_LEAVE','@univerjs/protocol','_setupBeforeClosingHandler','_drawAnchor','_instanceService','right','runId','_session','_createSocketURL','SUBMIT_CHANGESET_TIMEOUT','RevisionService','registerCommand','WebBrowserSingleActiveUnitService','message','Subject','useMemo','_startDocCollabCursor','subUnitId','hadStyleAttribute','_removeRemotePresence','setActiveRange','Workbook','left','type','_labelPosition','Loading','enableFrontendLog','_stopBlinking','_initUnhandledRejectionListener','12rJjxHu','_collabSessionService','currentSkeleton$','touchDependencies','deepClone','collab-rect-range-','Unknown\x20user','size','/universer-api/license/formula/limit/done','highlight','get','engine','setInterval','removeEventListener','Button','_updateURLWithCurrentState','_removeCollabCursors','UniverDesign','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','SheetSkeletonManagerService','_cursorShapes','getTypeOfUnitAdded$','alert','_beforeCloseService','_getSheetObject','_blinkIntervalTimer','shareReplay','setUndoRedoMutationParamsCache','_toggleOffline','ISnapshotServerService','BehaviorSubject','viewBox','popstate','_timeoutState$','_cachedData','dirtyRanges','refreshLabel','react','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','height','onPointerEnter$','UniverDocsUIPlugin','\x20at\x20','@univerjs-pro/collaboration-client','OnLineIcon','getAllUnitsForType','DocSkeletonManagerService','div','_updateLocalCursor','IUIPartsService','body','_showText','getMergeData','_clearTimeoutState','exports','location','purple.300','parse','collaboration-client-ui.formula.calculation.waiting','UniverNetwork','getCellIndexByOffset','non-scaling-stroke','registerDependencies','getTypeOfUnitDisposed$','startFormulaLimitUrl','show','jsxs','params','_initDependencies','assignAColorForMemberID','UniverProCollaborationClientUi','handleInsertRangeMoveRight','_revisionService','getCoordRelativeToViewport','UniverCore','map','text','activeSheet$','_isDisposed','setShapeProps','UNIVER_DOC','_disposeEntity','HTTPService','collaboration-client-ui.collaboration.closeRoom','rxjs','saveImage','toISOString','with','red.300','UPDATE_CURSOR','_taskIds','_cursorInfo$','removeAttribute','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','_checkAndWaitForCalculationPermission','pipe','_memberID','next','IMessageService','UnitStatus','useRef','CollaborationSocketService','_startEntity','IBeforeCloseService','_range','_urlService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','LOADING_BLOCKS','asObservable','_initStatusComponent','saveOfflineData','complete','_collaborationSessionService','collabCursorState$','COLORS','generateRandomId','add','endRow','undoState','key','getSheetObject','DEFAULT_WS_SESSION_TICKET_URL','memberID','set','toString','getFocusedUnit','onCommandExecuted','_getAnchorBounding'];_0x1b19=function(){return _0x374a3f;};return _0x1b19();}(function(_0x22cdea,_0xb14102){const _0x1144b2=_0x5355,_0x59f7fd=_0x22cdea();while(!![]){try{const _0x24b490=-parseInt(_0x1144b2(0x409))/0x1*(parseInt(_0x1144b2(0x345))/0x2)+parseInt(_0x1144b2(0x343))/0x3+parseInt(_0x1144b2(0x1d5))/0x4*(-parseInt(_0x1144b2(0x26b))/0x5)+parseInt(_0x1144b2(0x3b0))/0x6*(-parseInt(_0x1144b2(0xc8))/0x7)+-parseInt(_0x1144b2(0x3f1))/0x8*(parseInt(_0x1144b2(0x16f))/0x9)+parseInt(_0x1144b2(0xf9))/0xa*(-parseInt(_0x1144b2(0x2f3))/0xb)+parseInt(_0x1144b2(0x2c0))/0xc;if(_0x24b490===_0xb14102)break;else _0x59f7fd['push'](_0x59f7fd['shift']());}catch(_0x1a40d7){_0x59f7fd['push'](_0x59f7fd['shift']());}}}(_0x1b19,0x31ee6),function(_0xacd4bb,_0x3c3708){const _0x1f1020=_0x5355;typeof exports=='object'&&typeof module<'u'?_0x3c3708(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==_0x1f1020(0x2ab)&&define[_0x1f1020(0x362)]?define([_0x1f1020(0x20b),_0x1f1020(0x200),'@univerjs/core','@univerjs/ui',_0x1f1020(0x229),_0x1f1020(0xc0),'@univerjs/design',_0x1f1020(0x1fa),_0x1f1020(0x27e),'@univerjs-pro/collaboration',_0x1f1020(0x348),_0x1f1020(0x18a),'@univerjs/docs-ui','@univerjs/engine-render',_0x1f1020(0x185),_0x1f1020(0x101),_0x1f1020(0x132),'@univerjs/sheets-ui',_0x1f1020(0x1b9)],_0x3c3708):(_0xacd4bb=typeof globalThis<'u'?globalThis:_0xacd4bb||self,_0x3c3708(_0xacd4bb[_0x1f1020(0x21b)]={},_0xacd4bb[_0x1f1020(0x2dd)],_0xacd4bb[_0x1f1020(0x21f)],_0xacd4bb['UniverUi'],_0xacd4bb[_0x1f1020(0x229)],_0xacd4bb[_0x1f1020(0x229)][_0x1f1020(0x3e9)],_0xacd4bb[_0x1f1020(0x1e6)],_0xacd4bb['React'],_0xacd4bb[_0x1f1020(0xbe)],_0xacd4bb['UniverProCollaboration'],_0xacd4bb[_0x1f1020(0x397)],_0xacd4bb[_0x1f1020(0x2a3)],_0xacd4bb[_0x1f1020(0x289)],_0xacd4bb[_0x1f1020(0x2c3)],_0xacd4bb[_0x1f1020(0x210)],_0xacd4bb[_0x1f1020(0x317)],_0xacd4bb['UniverSheets'],_0xacd4bb['UniverSheetsUi'],_0xacd4bb[_0x1f1020(0x2e3)]));}(this,function(_0x2d4bb5,_0x4d4217,_0x7d6be,_0x58b3ba,_0x562b73,_0x22eaab,_0x1e67e2,_0x5c3452,_0x5e6830,_0x45e7a9,_0x47a294,_0x228dc5,_0x113b6e,_0x362d45,_0x323130,_0x4c5ac9,_0x25f230,_0x353639,_0xa4b4fd){const _0x24817b=_0x5355;Object['defineProperty'](_0x2d4bb5,Symbol[_0x24817b(0x276)],{'value':'Module'});function _0x4110d6({ref:_0x29769f,..._0x583580}){const _0x108545=_0x24817b;let {preserveStrokeWidth:_0x274196,icon:_0x9702,id:_0x2aba7e,className:_0x2c6a56,extend:_0x13ebb0,..._0x2e938e}=_0x583580,_0x202026=(_0x108545(0x159)+_0x2aba7e+'\x20'+(_0x2c6a56||''))[_0x108545(0x2be)](),_0x5af50b='_'+(0x0,_0x5c3452['useId'])(),_0x5e7397=(0x0,_0x5c3452[_0x108545(0x239)])(null);return(0x0,_0x5c3452[_0x108545(0xed)])(_0x29769f,()=>_0x5e7397[_0x108545(0x2cb)]),(0x0,_0x5c3452['useLayoutEffect'])(()=>{const _0x4cae43=_0x108545;if(!(!_0x274196||!_0x5e7397[_0x4cae43(0x2cb)]||_0x5e7397[_0x4cae43(0x2cb)][_0x4cae43(0x1b2)]!==_0x9702[_0x4cae43(0x161)]))return _0x2444b2(_0x5e7397[_0x4cae43(0x2cb)]);},[_0x274196,_0x9702]),_0x2a6672(_0x9702,''+_0x2aba7e,{'defIds':_0x9702[_0x108545(0x284)],'idSuffix':_0x5af50b},{'ref':_0x5e7397,'className':_0x202026,..._0x2e938e},_0x13ebb0);}function _0x2a6672(_0x58ed63,_0x3d9cf4,_0x3d3945,_0x579dbe,_0x331bfd){const _0x44d5e4=_0x24817b;return(0x0,_0x5c3452[_0x44d5e4(0x305)])(_0x58ed63[_0x44d5e4(0x161)],{'key':_0x3d9cf4,..._0x206c12(_0x58ed63,_0x3d3945,_0x331bfd),..._0x579dbe},(_0x5196c1(_0x58ed63,_0x3d3945)[_0x44d5e4(0x15e)]||[])['map']((_0x30d15f,_0x3878ae)=>_0x2a6672(_0x30d15f,_0x3d9cf4+'-'+_0x58ed63['tag']+'-'+_0x3878ae,_0x3d3945,void 0x0,_0x331bfd)));}function _0x206c12(_0x5d9bd2,_0x3f4103,_0x5dd474){const _0x352551=_0x24817b;let _0x19408c={..._0x5d9bd2['attrs']};_0x5dd474!=null&&_0x5dd474['colorChannel1']&&_0x19408c[_0x352551(0x2b5)]===_0x352551(0xff)&&(_0x19408c[_0x352551(0x2b5)]=_0x5dd474[_0x352551(0xff)]),_0x5dd474!=null&&_0x5dd474['colorChannel1']&&_0x19408c['stroke']===_0x352551(0xff)&&(_0x19408c[_0x352551(0x37c)]=_0x5dd474['colorChannel1']),_0x5d9bd2['tag']===_0x352551(0x172)&&_0x19408c['id']&&(_0x19408c['id']+=_0x3f4103[_0x352551(0x273)]),Object[_0x352551(0x259)](_0x19408c)[_0x352551(0x366)](([_0x5b7d34,_0x1574be])=>{const _0x34e716=_0x352551;_0x5b7d34===_0x34e716(0x172)&&typeof _0x1574be==_0x34e716(0xeb)&&(_0x19408c[_0x5b7d34]=_0x1574be[_0x34e716(0x102)](/url\(#(.*)\)/,'url(#$1'+_0x3f4103['idSuffix']+')'));});let {defIds:_0x41a5c9}=_0x3f4103;return!_0x41a5c9||_0x41a5c9[_0x352551(0xef)]===0x0?_0x19408c:(_0x5d9bd2[_0x352551(0x161)]===_0x352551(0x399)&&_0x19408c[_0x352551(0x120)]&&(_0x19408c[_0x352551(0x120)]+=_0x3f4103[_0x352551(0x273)]),Object[_0x352551(0x259)](_0x19408c)[_0x352551(0x366)](([_0x370ef9,_0x555a28])=>{const _0x389f39=_0x352551;typeof _0x555a28==_0x389f39(0xeb)&&(_0x19408c[_0x370ef9]=_0x555a28[_0x389f39(0x102)](/url\(#(.*)\)/,'url(#$1'+_0x3f4103[_0x389f39(0x273)]+')'));}),_0x19408c);}function _0x5196c1(_0x569741,_0x2d834a){const _0x2b42ee=_0x24817b;var _0x3a92a5;let {defIds:_0x420d4e}=_0x2d834a;return!_0x420d4e||_0x420d4e[_0x2b42ee(0xef)]===0x0?_0x569741:_0x569741[_0x2b42ee(0x161)]===_0x2b42ee(0x3bb)&&(_0x3a92a5=_0x569741[_0x2b42ee(0x15e)])!=null&&_0x3a92a5[_0x2b42ee(0xef)]?{..._0x569741,'children':_0x569741[_0x2b42ee(0x15e)]['map'](_0x3e441c=>typeof _0x3e441c['attrs']['id']==_0x2b42ee(0xeb)&&_0x420d4e&&_0x420d4e[_0x2b42ee(0x1b3)](_0x3e441c[_0x2b42ee(0x171)]['id'])?{..._0x3e441c,'attrs':{..._0x3e441c['attrs'],'id':_0x3e441c['attrs']['id']+_0x2d834a[_0x2b42ee(0x273)]}}:_0x3e441c)}:_0x569741;}function _0x2444b2(_0x3ba253){const _0x5283cd=_0x24817b;let _0x4d9025=_0x3ba253[_0x5283cd(0x1f4)][_0x5283cd(0x1aa)],_0x5f2e65=Math[_0x5283cd(0x372)](_0x4d9025[_0x5283cd(0x377)],_0x4d9025[_0x5283cd(0x1fc)]);if(!Number[_0x5283cd(0x111)](_0x5f2e65)||_0x5f2e65<=0x0||_0x4d9025[_0x5283cd(0x377)]<=0x0||_0x4d9025[_0x5283cd(0x1fc)]<=0x0)return()=>void 0x0;let _0x300fd3=0x10/_0x5f2e65,_0x3259b9=Array['from'](_0x3ba253[_0x5283cd(0x2f7)]('circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use'))['flatMap'](_0x32454c=>{const _0x56b624=_0x5283cd;let _0x4aa14b=getComputedStyle(_0x32454c),_0x1d50e1=Number[_0x56b624(0x114)](_0x4aa14b[_0x56b624(0xdd)]);return _0x4aa14b[_0x56b624(0x37c)]===_0x56b624(0x316)||Number[_0x56b624(0x114)](_0x4aa14b[_0x56b624(0xfc)])===0x0||_0x4aa14b[_0x56b624(0x428)]===_0x56b624(0x212)||!Number[_0x56b624(0x111)](_0x1d50e1)||_0x1d50e1<=0x0?[]:[{'element':_0x32454c,'hadStyleAttribute':_0x32454c[_0x56b624(0x16a)](_0x56b624(0xe7)),'originalStrokeWidth':_0x1d50e1,'strokeWidth':_0x16cfa2(_0x32454c['style'],'stroke-width')}];})[_0x5283cd(0x220)](_0x400567=>({'appliedStrokeWidth':null,'element':_0x400567[_0x5283cd(0x3cf)],'hadStyleAttribute':_0x400567[_0x5283cd(0x1ca)],'isReleased':!0x1,'originalStrokeWidth':_0x400567[_0x5283cd(0x331)],'strokeWidth':_0x400567['strokeWidth']}));if(_0x3259b9[_0x5283cd(0xef)]===0x0)return()=>void 0x0;let _0x170be0=(_0x5bd425,_0x52f60f)=>{const _0x4156c7=_0x5283cd;if(_0x4d9025[_0x4156c7(0x377)]<=0x0||_0x4d9025[_0x4156c7(0x1fc)]<=0x0||_0x5bd425<=0x0||_0x52f60f<=0x0)return;let _0x10c43c=Math[_0x4156c7(0x3bc)](_0x5bd425/_0x4d9025[_0x4156c7(0x377)],_0x52f60f/_0x4d9025[_0x4156c7(0x1fc)]);!Number['isFinite'](_0x10c43c)||_0x10c43c<=0x0||_0x3259b9[_0x4156c7(0x366)](_0x3c55ab=>{const _0x41d3de=_0x4156c7;if(_0x3c55ab[_0x41d3de(0x262)])return;if(_0x3c55ab[_0x41d3de(0x180)]!==null&&(_0x3c55ab[_0x41d3de(0x3cf)][_0x41d3de(0xe7)]['getPropertyValue']('stroke-width')!==_0x3c55ab[_0x41d3de(0x180)]||_0x3c55ab[_0x41d3de(0x3cf)][_0x41d3de(0xe7)][_0x41d3de(0x318)](_0x41d3de(0x335))!==_0x3c55ab[_0x41d3de(0xdd)][_0x41d3de(0x3c6)])){_0x3c55ab[_0x41d3de(0x180)]=null,_0x3c55ab[_0x41d3de(0x262)]=!0x0;return;}let _0x4d7f08=_0x3c55ab[_0x41d3de(0x331)]*_0x300fd3/_0x10c43c,_0x1f2297=Number(_0x4d7f08['toFixed'](0xc))+'px';_0x3c55ab[_0x41d3de(0x3cf)][_0x41d3de(0xe7)]['setProperty'](_0x41d3de(0x335),_0x1f2297,_0x3c55ab[_0x41d3de(0xdd)][_0x41d3de(0x3c6)]),_0x3c55ab[_0x41d3de(0x180)]=_0x1f2297;});},_0x22baf3=_0x3ba253[_0x5283cd(0x33f)]();_0x170be0(_0x22baf3['width'],_0x22baf3['height']);let _0x2aed34=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x5a0d17=>{const _0x1ff230=_0x5283cd;if(_0x5a0d17[_0x1ff230(0x3e4)](_0x42fecd=>_0x42fecd[_0x1ff230(0x2a8)]===_0x3ba253)){let _0x573e17=_0x3ba253[_0x1ff230(0x33f)]();_0x170be0(_0x573e17[_0x1ff230(0x377)],_0x573e17[_0x1ff230(0x1fc)]);}});return _0x2aed34==null||_0x2aed34[_0x5283cd(0x28c)](_0x3ba253),()=>{const _0x3a2603=_0x5283cd;_0x2aed34==null||_0x2aed34['disconnect'](),_0x3259b9[_0x3a2603(0x366)](_0x365bb4=>{const _0x48a22b=_0x3a2603;_0x365bb4['appliedStrokeWidth']!==null&&(_0x2f032b(_0x365bb4[_0x48a22b(0x3cf)]['style'],_0x48a22b(0x335),_0x365bb4[_0x48a22b(0x180)],_0x365bb4[_0x48a22b(0xdd)]['priority'],_0x365bb4[_0x48a22b(0xdd)]),!_0x365bb4[_0x48a22b(0x1ca)]&&_0x365bb4[_0x48a22b(0x3cf)][_0x48a22b(0xe7)][_0x48a22b(0xef)]===0x0&&_0x365bb4['element'][_0x48a22b(0x231)]('style'));});};}function _0x16cfa2(_0x4e93ac,_0x3df1c1){return{'priority':_0x4e93ac['getPropertyPriority'](_0x3df1c1),'value':_0x4e93ac['getPropertyValue'](_0x3df1c1)};}function _0x2f032b(_0x9931d7,_0x2bf4bf,_0x60b047,_0x110496,_0x466fd2){const _0x51b3cb=_0x24817b;_0x9931d7['getPropertyValue'](_0x2bf4bf)===_0x60b047&&_0x9931d7['getPropertyPriority'](_0x2bf4bf)===_0x110496&&(_0x466fd2[_0x51b3cb(0x261)]?_0x9931d7[_0x51b3cb(0xc9)](_0x2bf4bf,_0x466fd2['value'],_0x466fd2[_0x51b3cb(0x3c6)]):_0x9931d7[_0x51b3cb(0x115)](_0x2bf4bf));}_0x4110d6['displayName']=_0x24817b(0x257);let _0x318a75={'tag':_0x24817b(0x323),'attrs':{'xmlns':_0x24817b(0x2ba),'fill':_0x24817b(0x316),'viewBox':_0x24817b(0x36b),'width':_0x24817b(0x3dd),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x24817b(0x339)},'children':[{'tag':'path','attrs':{'stroke':_0x24817b(0x41c),'d':_0x24817b(0x14e),'strokeLinecap':_0x24817b(0xdf),'strokeLinejoin':_0x24817b(0xdf),'strokeWidth':1.2}}]},{'tag':_0x24817b(0x3bb),'attrs':{},'children':[{'tag':_0x24817b(0x282),'attrs':{'id':_0x24817b(0xfd)},'children':[{'tag':'path','attrs':{'fill':_0x24817b(0x103),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x5e898e=(0x0,_0x5c3452['forwardRef'])(function(_0x5778fe,_0x13f371){const _0xbdb87=_0x24817b;return(0x0,_0x5c3452[_0xbdb87(0x305)])(_0x4110d6,Object[_0xbdb87(0x173)]({},_0x5778fe,{'id':_0xbdb87(0x3ea),'ref':_0x13f371,'icon':_0x318a75}));});_0x5e898e[_0x24817b(0x297)]=_0x24817b(0x385);let _0xb2b078={'tag':_0x24817b(0x323),'attrs':{'xmlns':_0x24817b(0x2ba),'fill':_0x24817b(0x316),'viewBox':_0x24817b(0x126),'width':_0x24817b(0x3dd),'height':_0x24817b(0x3dd)},'children':[{'tag':'g','attrs':{'clipPath':_0x24817b(0x346)},'children':[{'tag':_0x24817b(0x13d),'attrs':{'stroke':_0x24817b(0x41c),'d':_0x24817b(0x1fb),'strokeLinecap':_0x24817b(0xdf),'strokeLinejoin':_0x24817b(0xdf),'strokeWidth':1.2}}]},{'tag':_0x24817b(0x3bb),'attrs':{},'children':[{'tag':_0x24817b(0x282),'attrs':{'id':_0x24817b(0x2b8)},'children':[{'tag':_0x24817b(0x13d),'attrs':{'fill':'white','d':_0x24817b(0x433),'transform':_0x24817b(0x426)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x55de94=(0x0,_0x5c3452[_0x24817b(0x1ae)])(function(_0x389951,_0x54584d){const _0x140b8c=_0x24817b;return(0x0,_0x5c3452[_0x140b8c(0x305)])(_0x4110d6,Object[_0x140b8c(0x173)]({},_0x389951,{'id':_0x140b8c(0x113),'ref':_0x54584d,'icon':_0xb2b078}));});_0x55de94[_0x24817b(0x297)]=_0x24817b(0x201);let _0x3496ca={'tag':_0x24817b(0x323),'attrs':{'xmlns':_0x24817b(0x2ba),'fill':_0x24817b(0x316),'viewBox':_0x24817b(0x36b),'width':_0x24817b(0x3dd),'height':_0x24817b(0x3dd)},'children':[{'tag':'path','attrs':{'fill':_0x24817b(0x41c),'d':'M15\x208C15\x2011.866\x2011.866\x2015\x208\x2015C4.13401\x2015\x201\x2011.866\x201\x208C1\x204.13401\x204.13401\x201\x208\x201C11.866\x201\x2015\x204.13401\x2015\x208ZM8.00008\x2012.3671C8.46031\x2012.3671\x208.83342\x2011.994\x208.83342\x2011.5338C8.83342\x2011.0735\x208.46031\x2010.7004\x208.00008\x2010.7004C7.53985\x2010.7004\x207.16675\x2011.0735\x207.16675\x2011.5338C7.16675\x2011.994\x207.53985\x2012.3671\x208.00008\x2012.3671ZM8.5999\x204.4335C8.5999\x204.10213\x208.33127\x203.8335\x207.9999\x203.8335C7.66853\x203.8335\x207.3999\x204.10213\x207.3999\x204.4335V9.36683C7.3999\x209.6982\x207.66853\x209.96683\x207.9999\x209.96683C8.33127\x209.96683\x208.5999\x209.6982\x208.5999\x209.36683V4.4335Z','fillRule':_0x24817b(0x2ca),'clipRule':_0x24817b(0x2ca)}}]},_0x8f0f16=(0x0,_0x5c3452[_0x24817b(0x1ae)])(function(_0x151baf,_0x23126e){const _0x45a98b=_0x24817b;return(0x0,_0x5c3452[_0x45a98b(0x305)])(_0x4110d6,Object[_0x45a98b(0x173)]({},_0x151baf,{'id':_0x45a98b(0x41e),'ref':_0x23126e,'icon':_0x3496ca}));});_0x8f0f16[_0x24817b(0x297)]=_0x24817b(0x36e);let _0xd306ce={'tag':_0x24817b(0x323),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x24817b(0x316),'viewBox':_0x24817b(0x36b),'width':'1em','height':_0x24817b(0x3dd)},'children':[{'tag':'path','attrs':{'fill':'#0B9EFB','d':_0x24817b(0x232),'fillOpacity':0.2,'fillRule':'evenodd','clipRule':_0x24817b(0x2ca)}},{'tag':_0x24817b(0x13d),'attrs':{'fill':'#0B9EFB','d':_0x24817b(0x415),'fillRule':_0x24817b(0x2ca),'clipRule':_0x24817b(0x2ca)}}]},_0x4480cb=(0x0,_0x5c3452[_0x24817b(0x1ae)])(function(_0xf5f418,_0x23c246){const _0x3d93d0=_0x24817b;return(0x0,_0x5c3452[_0x3d93d0(0x305)])(_0x4110d6,Object['assign']({},_0xf5f418,{'id':_0x3d93d0(0x381),'ref':_0x23c246,'icon':_0xd306ce}));});_0x4480cb[_0x24817b(0x297)]=_0x24817b(0x42d);function _0x59db12(_0x270dcd){const _0x4e293c=_0x24817b;switch(_0x270dcd){case _0x4d4217[_0x4e293c(0x2a2)][_0x4e293c(0x351)]:return{'icon':(0x0,_0x5e6830[_0x4e293c(0x3ee)])(_0x5e898e,{}),'colorClass':'univer-text-red-500','i18nKey':_0x4e293c(0x16b),'tooltipKey':_0x4e293c(0x2fe),'clickable':!0x0,'indicator':_0x4e293c(0x144)};case _0x4d4217[_0x4e293c(0x2a2)][_0x4e293c(0x417)]:return{'icon':(0x0,_0x5e6830[_0x4e293c(0x3ee)])(_0x5e898e,{}),'colorClass':_0x4e293c(0x3db),'i18nKey':'collaboration-client-ui.collabStatus.conflict','clickable':!0x1,'indicator':_0x4e293c(0x144)};case _0x4d4217[_0x4e293c(0x2a2)][_0x4e293c(0x34d)]:return{'icon':(0x0,_0x5e6830['jsx'])(_0x4480cb,{}),'colorClass':'univer-text-blue-500','i18nKey':'collaboration-client-ui.collabStatus.fetchMiss','clickable':!0x1,'indicator':_0x4e293c(0x1b5)};case _0x4d4217[_0x4e293c(0x2a2)][_0x4e293c(0x2e2)]:return{'icon':(0x0,_0x5e6830['jsx'])(_0x55de94,{}),'colorClass':_0x4e293c(0x38e),'i18nKey':'collaboration-client-ui.collabStatus.notCollab','clickable':!0x1,'indicator':'static'};case _0x4d4217[_0x4e293c(0x2a2)][_0x4e293c(0x1af)]:case _0x4d4217[_0x4e293c(0x2a2)][_0x4e293c(0x2fd)]:return{'icon':(0x0,_0x5e6830[_0x4e293c(0x3ee)])(_0x4480cb,{}),'colorClass':_0x4e293c(0x110),'i18nKey':_0x4e293c(0x140),'clickable':!0x1,'indicator':_0x4e293c(0x1b5)};case _0x4d4217[_0x4e293c(0x2a2)][_0x4e293c(0x379)]:return{'icon':(0x0,_0x5e6830[_0x4e293c(0x3ee)])(_0x4480cb,{}),'colorClass':_0x4e293c(0x110),'i18nKey':_0x4e293c(0x140),'clickable':!0x1,'indicator':'spin'};case _0x4d4217[_0x4e293c(0x2a2)][_0x4e293c(0x1a4)]:return{'icon':(0x0,_0x5e6830[_0x4e293c(0x3ee)])(_0x55de94,{}),'colorClass':_0x4e293c(0x2ef),'i18nKey':_0x4e293c(0x125),'clickable':!0x1,'indicator':_0x4e293c(0x144)};}}function _0x52ddad(_0x5d187a){const _0x1139ed=_0x24817b;let {status$:_0x276276}=_0x5d187a,_0x4a3e1c=(0x0,_0x58b3ba[_0x1139ed(0x38d)])(_0x276276,_0x4d4217[_0x1139ed(0x2a2)][_0x1139ed(0x2e2)]),_0x5159be=(0x0,_0x58b3ba[_0x1139ed(0x395)])(_0x7d6be['LocaleService']),_0xdcf928=(0x0,_0x58b3ba[_0x1139ed(0x395)])(_0x4d4217[_0x1139ed(0x3a5)]),_0x5c199b=(0x0,_0x5c3452[_0x1139ed(0x1c7)])(()=>_0x59db12(_0x4a3e1c),[_0x4a3e1c]),_0x2d44f4=_0x4a3e1c!==_0x4d4217[_0x1139ed(0x2a2)][_0x1139ed(0x351)],_0x3d3078=_0x5159be['t'](_0x5c199b[_0x1139ed(0x17e)]),_0x1e8651=_0x5c199b[_0x1139ed(0x2b1)]?_0x5159be['t'](_0x5c199b['tooltipKey']):_0x3d3078,_0xdad4c1=(0x0,_0x5c3452[_0x1139ed(0x402)])(()=>{_0x2d44f4||_0xdcf928['reconnect']();},[_0x2d44f4,_0xdcf928]),_0x342f67=(0x0,_0x5c3452['useCallback'])(_0xd9e7de=>{const _0x37e620=_0x1139ed;!_0x2d44f4&&(_0xd9e7de[_0x37e620(0x24c)]===_0x37e620(0x30f)||_0xd9e7de[_0x37e620(0x24c)]==='\x20')&&(_0xd9e7de[_0x37e620(0x3d3)](),_0xdcf928[_0x37e620(0x3e3)]());},[_0x2d44f4,_0xdcf928]),_0x20daa8=(0x0,_0x5e6830[_0x1139ed(0x3ee)])(_0x1139ed(0x327),{'className':(0x0,_0x1e67e2['clsx'])('univer-flex\x20univer-items-center\x20univer-justify-center',_0x1139ed(0x2bd),_0x5c199b[_0x1139ed(0x3ad)],{'univer-animate-spin':_0x5c199b[_0x1139ed(0x3a7)]==='spin','univer-animate-pulse':_0x5c199b[_0x1139ed(0x3a7)]===_0x1139ed(0x189)}),'aria-hidden':'true','children':_0x5c199b['icon']}),_0x23493e=(0x0,_0x5e6830[_0x1139ed(0x3ee)])(_0x1139ed(0x327),{'className':(0x0,_0x1e67e2[_0x1139ed(0x12b)])(_0x1139ed(0x11e),_0x1139ed(0x420),_0x1139ed(0x2bc),_0x1139ed(0x2b9),'dark:focus:!univer-ring-offset-gray-800',{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x5c199b[_0x1139ed(0x2d4)],'univer-cursor-default':!_0x5c199b[_0x1139ed(0x2d4)]}),'children':_0x20daa8});return _0x5c199b[_0x1139ed(0x2d4)]?(0x0,_0x5e6830[_0x1139ed(0x3ee)])(_0x1e67e2['Tooltip'],{'title':_0x1e8651,'placement':_0x1139ed(0x3ec),'children':(0x0,_0x5e6830[_0x1139ed(0x3ee)])('button',{'type':_0x1139ed(0xe4),'onClick':_0xdad4c1,'onKeyDown':_0x342f67,'className':(0x0,_0x1e67e2[_0x1139ed(0x12b)])(_0x1139ed(0x139),_0x1139ed(0x368),'univer-m-0\x20univer-p-0',_0x1139ed(0x163)),'aria-label':_0x3d3078+_0x1139ed(0x287)+_0x1e8651,'role':'status','aria-live':'polite','aria-atomic':_0x1139ed(0x10f),'children':_0x23493e})}):(0x0,_0x5e6830[_0x1139ed(0x3ee)])(_0x1e67e2[_0x1139ed(0x1a3)],{'title':_0x1e8651,'placement':_0x1139ed(0x3ec),'children':(0x0,_0x5e6830['jsx'])(_0x1139ed(0x204),{'className':(0x0,_0x1e67e2[_0x1139ed(0x12b)])(_0x1139ed(0x139),_0x1139ed(0x368),'univer-m-0\x20univer-p-0'),'aria-label':_0x3d3078,'role':'status','aria-live':'polite','aria-atomic':_0x1139ed(0x10f),'children':_0x23493e})});}function _0x232459(_0x291b37){'@babel/helpers - typeof';const _0x15b95d=_0x24817b;return _0x232459=typeof Symbol==_0x15b95d(0x2ab)&&typeof Symbol[_0x15b95d(0x196)]==_0x15b95d(0xd2)?function(_0x120acc){return typeof _0x120acc;}:function(_0x379fa5){const _0x2dde66=_0x15b95d;return _0x379fa5&&typeof Symbol==_0x2dde66(0x2ab)&&_0x379fa5[_0x2dde66(0x3d0)]===Symbol&&_0x379fa5!==Symbol[_0x2dde66(0x3c3)]?_0x2dde66(0xd2):typeof _0x379fa5;},_0x232459(_0x291b37);}function _0x599c5f(_0x54f1e1,_0x2ff43e){const _0x3970f0=_0x24817b;if(_0x232459(_0x54f1e1)!=_0x3970f0(0x133)||!_0x54f1e1)return _0x54f1e1;var _0x26cb46=_0x54f1e1[Symbol[_0x3970f0(0x290)]];if(_0x26cb46!==void 0x0){var _0x26575b=_0x26cb46[_0x3970f0(0xc1)](_0x54f1e1,_0x2ff43e||_0x3970f0(0x369));if(_0x232459(_0x26575b)!=_0x3970f0(0x133))return _0x26575b;throw TypeError(_0x3970f0(0x2ae));}return(_0x2ff43e===_0x3970f0(0xeb)?String:Number)(_0x54f1e1);}function _0x3c11d6(_0x102fa0){const _0x516c7c=_0x24817b;var _0x9a9348=_0x599c5f(_0x102fa0,_0x516c7c(0xeb));return _0x232459(_0x9a9348)==_0x516c7c(0xd2)?_0x9a9348:_0x9a9348+'';}function _0x1bbeaf(_0x447666,_0x59beb9,_0x34b4fc){const _0x4f09b4=_0x24817b;return(_0x59beb9=_0x3c11d6(_0x59beb9))in _0x447666?Object[_0x4f09b4(0x3da)](_0x447666,_0x59beb9,{'value':_0x34b4fc,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x447666[_0x59beb9]=_0x34b4fc,_0x447666;}function _0x268b30(_0x1aec9b,_0x15bfbf){return function(_0x153fed,_0x1b6f4d){_0x15bfbf(_0x153fed,_0x1b6f4d,_0x1aec9b);};}function _0x514f3a(_0x3a12be,_0x648598,_0x3e719b,_0xcb43c0){const _0x3e9ea6=_0x24817b;var _0x13f873=arguments[_0x3e9ea6(0xef)],_0x2fdf28=_0x13f873<0x3?_0x648598:_0xcb43c0===null?_0xcb43c0=Object[_0x3e9ea6(0x29b)](_0x648598,_0x3e719b):_0xcb43c0,_0x38fce6;if(typeof Reflect=='object'&&typeof Reflect[_0x3e9ea6(0x36d)]=='function')_0x2fdf28=Reflect['decorate'](_0x3a12be,_0x648598,_0x3e719b,_0xcb43c0);else{for(var _0x20f8e6=_0x3a12be[_0x3e9ea6(0xef)]-0x1;_0x20f8e6>=0x0;_0x20f8e6--)(_0x38fce6=_0x3a12be[_0x20f8e6])&&(_0x2fdf28=(_0x13f873<0x3?_0x38fce6(_0x2fdf28):_0x13f873>0x3?_0x38fce6(_0x648598,_0x3e719b,_0x2fdf28):_0x38fce6(_0x648598,_0x3e719b))||_0x2fdf28);}return _0x13f873>0x3&&_0x2fdf28&&Object[_0x3e9ea6(0x3da)](_0x648598,_0x3e719b,_0x2fdf28),_0x2fdf28;}let _0x28600c=class extends _0x7d6be[_0x24817b(0x294)]{constructor(_0x1ed618,_0x4f596c,_0x3b7a92,_0x4bbed4,_0xb8ad3c){const _0x19f22c=_0x24817b;super(),this[_0x19f22c(0x3c0)]=_0x1ed618,this['_injector']=_0x4f596c,this[_0x19f22c(0x407)]=_0x3b7a92,this[_0x19f22c(0x145)]=_0x4bbed4,this[_0x19f22c(0x333)]=_0xb8ad3c,_0x1bbeaf(this,_0x19f22c(0x31e),new _0x562b73[(_0x19f22c(0x1f3))](_0x4d4217['CollaborationStatus'][_0x19f22c(0x2e2)])),_0x1bbeaf(this,_0x19f22c(0xc5),new Map()),this[_0x19f22c(0x242)](),this[_0x19f22c(0x431)](),this[_0x19f22c(0x19d)]();}[_0x24817b(0x364)](){const _0x28ee98=_0x24817b;this[_0x28ee98(0xc5)][_0x28ee98(0x366)](_0x43be71=>_0x43be71[_0x28ee98(0x364)]()),this[_0x28ee98(0xc5)]['clear'](),this[_0x28ee98(0x31e)]['complete'](),super[_0x28ee98(0x364)]();}[_0x24817b(0x431)](){const _0x5c24f7=_0x24817b;this['disposeWithMe']((0x0,_0x562b73['merge'])(this[_0x5c24f7(0x3c0)][_0x5c24f7(0x38a)],this[_0x5c24f7(0x3c0)][_0x5c24f7(0x3bd)](_0x7d6be['UniverInstanceType'][_0x5c24f7(0x225)]),this[_0x5c24f7(0x3c0)][_0x5c24f7(0x3bd)](_0x7d6be[_0x5c24f7(0x390)][_0x5c24f7(0x272)]))[_0x5c24f7(0x234)]((0x0,_0x22eaab[_0x5c24f7(0x220)])(()=>_0xb460f7(this[_0x5c24f7(0x3c0)])),(0x0,_0x22eaab[_0x5c24f7(0x28b)])(),(0x0,_0x562b73[_0x5c24f7(0x2c4)])(_0x3080fc=>_0x3080fc?this[_0x5c24f7(0x407)][_0x5c24f7(0x401)](_0x3080fc):(0x0,_0x562b73['of'])(null)),(0x0,_0x562b73[_0x5c24f7(0x2c4)])(_0x376cac=>_0x376cac?_0x376cac[_0x5c24f7(0x2c5)]:(0x0,_0x562b73['of'])(_0x4d4217[_0x5c24f7(0x2a2)][_0x5c24f7(0x2e2)])))[_0x5c24f7(0x2f2)](_0x11e593=>{const _0x129f76=_0x5c24f7;this[_0x129f76(0x31e)][_0x129f76(0x236)](_0x11e593);}));}[_0x24817b(0x242)](){const _0x4de7a9=_0x24817b;this[_0x4de7a9(0x288)](this[_0x4de7a9(0x145)][_0x4de7a9(0xbf)](_0x58b3ba[_0x4de7a9(0x310)]['HEADER_MENU'],()=>(0x0,_0x58b3ba[_0x4de7a9(0x423)])(_0x232a5d({'status$':this[_0x4de7a9(0x31e)]['asObservable']()}),this['_injector'])));}[_0x24817b(0x19d)](){const _0x240e23=_0x24817b;let _0x39e5bc=this['_presenceAdapterRegistry'][_0x240e23(0x181)][_0x240e23(0x2f2)](_0x459faf=>{const _0x312df5=_0x240e23;this[_0x312df5(0x274)](_0x459faf);});this['disposeWithMe']((0x0,_0x7d6be[_0x240e23(0x12c)])(()=>_0x39e5bc[_0x240e23(0x359)]()));}[_0x24817b(0x274)](_0x1f9584){const _0x58434d=_0x24817b;let _0x17faf1=new Map(_0x1f9584[_0x58434d(0x3ca)](_0x491248=>_0x491248['statusUIPart']!=null)[_0x58434d(0x220)](_0x4d03ff=>[_0x4d03ff[_0x58434d(0x324)],_0x4d03ff]));this['_presenceStatusRegistrations'][_0x58434d(0x366)]((_0x4d943b,_0x29c53e)=>{const _0xd9effc=_0x58434d;_0x17faf1[_0xd9effc(0x2aa)](_0x29c53e)||(_0x4d943b[_0xd9effc(0x364)](),this[_0xd9effc(0xc5)][_0xd9effc(0x3c2)](_0x29c53e));}),_0x17faf1[_0x58434d(0x366)]((_0xaebbd8,_0x55b918)=>{const _0x310ebb=_0x58434d;this['_presenceStatusRegistrations'][_0x310ebb(0x2aa)](_0x55b918)||this[_0x310ebb(0x3a3)](_0xaebbd8);});}['_registerPresenceStatusComponent'](_0x5a3517){const _0x18bf8f=_0x24817b;let _0x12e81c=_0x5a3517[_0x18bf8f(0x2fc)];if(!_0x12e81c)return;let _0x1af716=new _0x7d6be[(_0x18bf8f(0xd1))](),_0x510664=new _0x562b73[(_0x18bf8f(0x1f3))](_0x4d4217[_0x18bf8f(0x2a2)][_0x18bf8f(0x2e2)]);_0x1af716[_0x18bf8f(0x249)]((0x0,_0x7d6be['toDisposable'])(()=>_0x510664[_0x18bf8f(0x244)]())),_0x1af716[_0x18bf8f(0x249)](this[_0x18bf8f(0x145)][_0x18bf8f(0xbf)](_0x12e81c,()=>(0x0,_0x58b3ba['connectInjector'])(_0x232a5d({'status$':_0x510664[_0x18bf8f(0x241)]()}),this[_0x18bf8f(0x160)])));let _0x5ce284=this[_0x18bf8f(0x3c0)][_0x18bf8f(0x3bd)](_0x5a3517[_0x18bf8f(0x324)])['pipe']((0x0,_0x22eaab[_0x18bf8f(0x220)])(_0x149f6a=>(_0x149f6a==null?void 0x0:_0x149f6a['getUnitId']())??null),(0x0,_0x22eaab[_0x18bf8f(0x28b)])(),(0x0,_0x562b73['switchMap'])(_0x465a1b=>_0x465a1b?this['_collaborationController'][_0x18bf8f(0x401)](_0x465a1b):(0x0,_0x562b73['of'])(null)),(0x0,_0x562b73['switchMap'])(_0x46e881=>(_0x46e881==null?void 0x0:_0x46e881[_0x18bf8f(0x2c5)])??(0x0,_0x562b73['of'])(_0x4d4217[_0x18bf8f(0x2a2)][_0x18bf8f(0x2e2)])))['subscribe'](_0x42df91=>_0x510664['next'](_0x42df91));_0x1af716['add']((0x0,_0x7d6be[_0x18bf8f(0x12c)])(()=>_0x5ce284[_0x18bf8f(0x359)]())),this[_0x18bf8f(0xc5)][_0x18bf8f(0x250)](_0x5a3517[_0x18bf8f(0x324)],_0x1af716);}};_0x28600c=_0x514f3a([_0x268b30(0x0,_0x7d6be[_0x24817b(0x2d0)]),_0x268b30(0x1,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x7d6be[_0x24817b(0x424)])),_0x268b30(0x2,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x4d4217['CollaborationController'])),_0x268b30(0x3,_0x58b3ba[_0x24817b(0x206)]),_0x268b30(0x4,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x58b3ba[_0x24817b(0x151)]))],_0x28600c);function _0xb460f7(_0x310424){const _0x20fbb5=_0x24817b;let _0x20b338=_0x310424[_0x20fbb5(0x252)](),_0x175b36=_0x20b338==null?void 0x0:_0x20b338[_0x20fbb5(0x2d9)]();if(_0x175b36&&!(0x0,_0x7d6be[_0x20fbb5(0x31f)])(_0x175b36))return _0x175b36;let _0x55489b=_0x310424[_0x20fbb5(0x268)](_0x7d6be[_0x20fbb5(0x390)]['UNIVER_DOC']),_0x3eb223=_0x55489b==null?void 0x0:_0x55489b['getUnitId']();if(_0x3eb223&&!(0x0,_0x7d6be[_0x20fbb5(0x31f)])(_0x3eb223))return _0x3eb223;let _0x7689bf=_0x310424[_0x20fbb5(0x268)](_0x7d6be['UniverInstanceType']['UNIVER_SHEET']);if(_0x7689bf)return _0x7689bf['getUnitId']();let _0x1bd6f5=_0x310424[_0x20fbb5(0x202)](_0x7d6be['UniverInstanceType'][_0x20fbb5(0x225)])[_0x20fbb5(0x355)](_0x456df3=>!(0x0,_0x7d6be['isInternalEditorID'])(_0x456df3[_0x20fbb5(0x2d9)]()));return _0x1bd6f5?_0x1bd6f5[_0x20fbb5(0x2d9)]():null;}function _0x232a5d(_0x2efb45){let {status$:_0xfdf337}=_0x2efb45;return function(){const _0x43bb68=_0x5355;return(0x0,_0x5e6830[_0x43bb68(0x3ee)])(_0x52ddad,{'status$':_0xfdf337});};}var _0x4765ec=_0x24817b(0x412),_0x4f1e69=_0x24817b(0x3b4);let _0x47d78c={'id':'collaboration-client-ui.operation.update-remote-unit-presence','type':_0x7d6be[_0x24817b(0x13a)]['OPERATION'],'handler':(_0x4be4a2,_0xc7cf01)=>{const _0x48f7e0=_0x24817b;let _0x484e1d=_0x4be4a2[_0x48f7e0(0x1df)](_0x58b3ba['IUnitPresenceUIAdapterRegistry'])[_0x48f7e0(0x1df)](_0xc7cf01['unitType']);if(!_0x484e1d)return!0x1;switch(_0xc7cf01[_0x48f7e0(0xf8)][_0x48f7e0(0x1cf)]){case _0x48f7e0(0x250):return _0x484e1d[_0x48f7e0(0x1a2)](_0xc7cf01[_0x48f7e0(0xf8)][_0x48f7e0(0x25d)]),!0x0;case'remove':return _0x484e1d[_0x48f7e0(0x42c)](_0xc7cf01['update'][_0x48f7e0(0x2ed)],_0xc7cf01[_0x48f7e0(0xf8)]['memberId']),!0x0;case _0x48f7e0(0x100):return _0x484e1d[_0x48f7e0(0xc6)](_0xc7cf01[_0x48f7e0(0xf8)]['unitId']),!0x0;default:return!0x1;}}},_0x116b2f={},_0x3660c3=class extends _0x7d6be[_0x24817b(0x2a4)]{constructor(_0x1b5cae,_0x54aedc){const _0x1b6d8e=_0x24817b;super(),this[_0x1b6d8e(0x191)]=_0x1b5cae,this[_0x1b6d8e(0x3ba)]=_0x54aedc,this[_0x1b6d8e(0x3a2)]();}[_0x24817b(0x3a2)](){const _0x3bf284=_0x24817b;let _0x134c74=this;this[_0x3bf284(0x288)](this[_0x3bf284(0x191)][_0x3bf284(0x194)]({'onBeforePasteImage':async _0x4feb05=>{const _0x265381=_0x3bf284;let _0x19a020=await _0x134c74[_0x265381(0x3ba)][_0x265381(0x22a)](_0x4feb05);return _0x19a020?{'source':_0x19a020[_0x265381(0x3d5)],'imageSourceType':_0x19a020[_0x265381(0xbd)]}:null;}}));}};_0x3660c3=_0x514f3a([_0x268b30(0x0,_0x113b6e[_0x24817b(0x35c)]),_0x268b30(0x1,_0x7d6be[_0x24817b(0x10d)])],_0x3660c3);let _0x4888a8=[_0x24817b(0x20d),_0x24817b(0x2ff),_0x24817b(0x2f0),_0x24817b(0x22d),'blue.400',_0x24817b(0x352)];var _0x21a798=class extends _0x7d6be[_0x24817b(0x294)]{constructor(..._0x3a1422){const _0x573ff2=_0x24817b;super(..._0x3a1422),_0x1bbeaf(this,_0x573ff2(0x32c),new Map()),_0x1bbeaf(this,'_colorIndex',0x0);}[_0x24817b(0x21a)](_0xb1453a){const _0x4db590=_0x24817b;if(this['_assignedColors'][_0x4db590(0x2aa)](_0xb1453a))return this['_assignedColors']['get'](_0xb1453a);let _0x23b877=_0x4888a8[this[_0x4db590(0x2f9)]];return this[_0x4db590(0x2f9)]=(this[_0x4db590(0x2f9)]+0x1)%_0x4888a8[_0x4db590(0xef)],this[_0x4db590(0x32c)][_0x4db590(0x250)](_0xb1453a,_0x23b877),_0x23b877;}};function _0x4b4347(_0x2ebfa1){const _0x59e0b5=_0x24817b;let _0x55aa92='';for(let _0x571d10 of _0x2ebfa1){let {startOffset:_0x364a29,endOffset:_0x27ee68,isActive:_0x538e46,rangeType:_0x1a5bb6,segmentId:_0x4247e1,segmentPage:_0x800061}=_0x571d10;_0x55aa92[_0x59e0b5(0xef)]&&(_0x55aa92+=','),_0x55aa92+=_0x364a29+':'+_0x27ee68+':'+(_0x538e46?'1':'0')+':'+_0x1a5bb6+':'+_0x4247e1+':'+_0x800061;}return _0x55aa92;}function _0x3052b8(_0x2aa046){const _0xea3bd6=_0x24817b;let _0x56d30d=_0x2aa046[_0xea3bd6(0x40e)](','),_0x2625f8=[];for(let _0x356da5 of _0x56d30d){let [_0x4af569,_0x2b93f5,_0x17c47f,_0x3e38c3,_0x5404d2,_0x29289a]=_0x356da5['split'](':');_0x2625f8[_0xea3bd6(0x35d)]({'startOffset':Number(_0x4af569),'endOffset':Number(_0x2b93f5),'collapsed':_0x4af569===_0x2b93f5,'isActive':_0x17c47f==='1','rangeType':_0x3e38c3===_0x7d6be[_0xea3bd6(0xe0)][_0xea3bd6(0x330)]?_0x7d6be['DOC_RANGE_TYPE'][_0xea3bd6(0x330)]:_0x7d6be[_0xea3bd6(0xe0)][_0xea3bd6(0x3c1)],'segmentId':typeof _0x5404d2=='string'?String(_0x5404d2):'','segmentPage':Number(_0x29289a??-0x1)});}return _0x2625f8[_0xea3bd6(0x3e4)](_0x3db103=>_0x3db103[_0xea3bd6(0x175)])||(_0x2625f8[0x0][_0xea3bd6(0x175)]=!0x0),_0x2625f8;}var _0x45fb09=class extends _0x7d6be['RxDisposable']{constructor(..._0x4c0b8f){const _0x25d16c=_0x24817b;super(..._0x4c0b8f),_0x1bbeaf(this,'_collabCursorState$',new _0x562b73[(_0x25d16c(0x1f3))](null)),_0x1bbeaf(this,_0x25d16c(0x246),this['_collabCursorState$'][_0x25d16c(0x241)]());}['syncEditingCollabCursor'](_0xf17697){const _0x369bcd=_0x24817b;let {unitID:_0x38ea7e,memberID:_0x3b6044,textRanges:_0x31386e}=_0xf17697,_0x4c718e=_0x4b4347(_0x31386e);if(_0x4c718e==='')return;let _0x349e11={'unitID':_0x38ea7e,'memberID':_0x3b6044,'selection':_0x4c718e};this[_0x369bcd(0x28f)][_0x369bcd(0x236)](_0x349e11);}};let _0x3cec57=class extends _0x7d6be[_0x24817b(0x2a4)]{get[_0x24817b(0x149)](){const _0x147d49=_0x24817b;return this[_0x147d49(0x230)]['getValue']();}get[_0x24817b(0x3cd)](){const _0x8d3795=_0x24817b;return this[_0x8d3795(0x2d3)]['getValue']();}constructor(_0x581325,_0x218097,_0x437de0,_0x5539de,_0x572298,_0xe1b802,_0x53522c,_0x52b3d2,_0x316d98){const _0xfef976=_0x24817b;super(),this[_0xfef976(0x2dc)]=_0x581325,this[_0xfef976(0x1bf)]=_0x218097,this[_0xfef976(0x160)]=_0x437de0,this[_0xfef976(0x17a)]=_0x5539de,this[_0xfef976(0x18c)]=_0x572298,this[_0xfef976(0x3c5)]=_0xe1b802,this[_0xfef976(0xb7)]=_0x53522c,this['_univerInstanceService']=_0x52b3d2,this[_0xfef976(0x32d)]=_0x316d98,_0x1bbeaf(this,_0xfef976(0x2e4),!0x1),_0x1bbeaf(this,'_init',!0x1),_0x1bbeaf(this,_0xfef976(0x230),new _0x562b73[(_0xfef976(0x1f3))](new Map())),_0x1bbeaf(this,_0xfef976(0x388),this['_cursorInfo$']['asObservable']()),_0x1bbeaf(this,'_roomMembers$',new _0x562b73['BehaviorSubject']([])),_0x1bbeaf(this,_0xfef976(0x1a7),this[_0xfef976(0x2d3)][_0xfef976(0x234)]((0x0,_0x562b73[_0xfef976(0x260)])(0x12c))),_0x1bbeaf(this,_0xfef976(0x205),(0x0,_0x7d6be[_0xfef976(0x2f5)])(_0x40fa2c=>{const _0x127657=_0xfef976;let _0x3408f3={'eventID':_0x45e7a9[_0x127657(0x174)][_0x127657(0x22e)],'data':{'unitID':this['unitID'],'memberID':this[_0x127657(0x1bf)][_0x127657(0x266)](),'selection':_0x4b4347(_0x40fa2c)}};this[_0x127657(0x1bf)]['send'](_0x3408f3,this[_0x127657(0x2dc)]);},0x64));}[_0x24817b(0x364)](){const _0x503d0d=_0x24817b;super[_0x503d0d(0x364)](),this[_0x503d0d(0x230)][_0x503d0d(0x236)](new Map()),this[_0x503d0d(0x230)][_0x503d0d(0x244)](),this[_0x503d0d(0x2d3)][_0x503d0d(0x236)]([]),this[_0x503d0d(0x2d3)][_0x503d0d(0x244)]();}[_0x24817b(0x176)](){const _0x3e84d8=_0x24817b;this['_init']||(this[_0x3e84d8(0x3a2)]=!0x0,this[_0x3e84d8(0x1bf)]['sessionStatus$'][_0x3e84d8(0x234)]((0x0,_0x562b73[_0x3e84d8(0x2b4)])(this['dispose$']))['subscribe'](_0x4fca58=>{const _0x20af80=_0x3e84d8;_0x4fca58===_0x4d4217[_0x20af80(0xd3)][_0x20af80(0xb8)]?this[_0x20af80(0x2ad)]():this[_0x20af80(0x1f1)]();}),this['_session']['event$'][_0x3e84d8(0x234)]((0x0,_0x562b73[_0x3e84d8(0x2b4)])(this[_0x3e84d8(0x199)]))[_0x3e84d8(0x2f2)](_0x5e656e=>{const _0x55cf15=_0x3e84d8;let _0x471d73=_0x5e656e[_0x55cf15(0x197)];_0x471d73===_0x45e7a9[_0x55cf15(0x174)][_0x55cf15(0x22e)]&&this[_0x55cf15(0x33c)](_0x5e656e),_0x471d73===_0x45e7a9[_0x55cf15(0x174)]['USERS_LEAVE']&&this[_0x55cf15(0x2da)](_0x5e656e);}),this[_0x3e84d8(0x288)](this['_commandService'][_0x3e84d8(0x253)](_0x38dcc0=>{const _0x5e1a09=_0x3e84d8;let _0xbe7bf7=_0x38dcc0[_0x5e1a09(0x218)];_0xbe7bf7!=null&&this[_0x5e1a09(0x2e4)]&&_0x38dcc0['id']===_0x228dc5[_0x5e1a09(0x2cd)]['id']&&_0xbe7bf7['unitId']===this[_0x5e1a09(0x2dc)]&&_0xbe7bf7[_0x5e1a09(0x30d)]===!0x1&&_0xbe7bf7[_0x5e1a09(0x392)][_0x5e1a09(0xef)]>0x0&&this['_updateLocalCursor'](_0xbe7bf7['ranges']);})),this[_0x3e84d8(0x3c5)][_0x3e84d8(0x246)][_0x3e84d8(0x234)]((0x0,_0x562b73[_0x3e84d8(0x2b4)])(this[_0x3e84d8(0x199)]))[_0x3e84d8(0x2f2)](_0x4a83ad=>{const _0x889f60=_0x3e84d8;if((_0x4a83ad==null?void 0x0:_0x4a83ad[_0x889f60(0x2dc)])!==this[_0x889f60(0x2dc)])return;let _0x4a27b4={'eventID':_0x45e7a9[_0x889f60(0x174)][_0x889f60(0x22e)],'data':_0x4a83ad};this[_0x889f60(0x33c)](_0x4a27b4);}),this[_0x3e84d8(0x288)](this[_0x3e84d8(0x32d)][_0x3e84d8(0x253)](_0x41b957=>{const _0x423f04=_0x3e84d8;if(_0x41b957[_0x423f04(0x218)]==null)return;let _0x24494d=_0x41b957[_0x423f04(0x218)];if(_0x41b957['id']!==_0x228dc5['RichTextEditingMutation']['id']||_0x24494d[_0x423f04(0x2ed)]!==this[_0x423f04(0x2dc)])return;let _0x38bc90={'id':_0x423f04(0x2c8),'params':_0x24494d},_0xbb5b83=this[_0x423f04(0x149)];for(let [_0x1b4ed9,_0x53ac24]of _0xbb5b83){let _0x9ead5c={'id':_0x423f04(0x2c8),'params':{'unitId':this[_0x423f04(0x2dc)],'actions':null,'textRanges':_0x53ac24[_0x423f04(0x392)]}},_0x1ebb08=this[_0x423f04(0xb7)]['transformMutation'](_0x38bc90,_0x9ead5c,!0x1);if((0x0,_0x45e7a9[_0x423f04(0xd4)])(_0x1ebb08))throw _0x1ebb08[_0x423f04(0x41a)];_0xbb5b83[_0x423f04(0x250)](_0x1b4ed9,{..._0x53ac24,'ranges':_0x1ebb08[_0x423f04(0x307)][_0x423f04(0x218)][_0x423f04(0x198)]});}queueMicrotask(()=>{const _0x4a8134=_0x423f04;this[_0x4a8134(0x230)][_0x4a8134(0x236)](_0xbb5b83);});})));}['_onCursorUpdate'](_0x51f7d7){const _0x167a88=_0x24817b;var _0x50fe39;let {memberID:_0x263fbb,selection:_0x24d02c}=_0x51f7d7[_0x167a88(0xf3)],_0x200b14=_0x3052b8(_0x24d02c),_0x59fea6=((_0x50fe39=this['_memberService']['getMember'](this['unitID'],_0x263fbb))==null?void 0x0:_0x50fe39[_0x167a88(0x3c9)])??_0x167a88(0x1db),_0x11c1f7={'color':this[_0x167a88(0x17a)][_0x167a88(0x21a)](_0x263fbb),'name':_0x59fea6,'ranges':_0x200b14},_0x2b3394=this[_0x167a88(0x149)];_0x2b3394[_0x167a88(0x250)](_0x263fbb,_0x11c1f7),this[_0x167a88(0x230)][_0x167a88(0x236)](_0x2b3394);}[_0x24817b(0x2da)](_0x2d78f5){const _0x23eb53=_0x24817b;let {memberID:_0xc30d3f}=_0x2d78f5[_0x23eb53(0xf3)],_0x3abab2=this[_0x23eb53(0x149)];_0x3abab2[_0x23eb53(0x3c2)](_0xc30d3f),this[_0x23eb53(0x230)][_0x23eb53(0x236)](_0x3abab2);}[_0x24817b(0x2ad)](){const _0x1893a5=_0x24817b;var _0x1658cd;if(this['_online']=!0x0,((_0x1658cd=this[_0x1893a5(0x3c0)][_0x1893a5(0x252)]())==null?void 0x0:_0x1658cd[_0x1893a5(0x2d9)]())!==this[_0x1893a5(0x2dc)])return;let _0x51654d=this['_injector'][_0x1893a5(0x1df)](_0x228dc5['DocSelectionManagerService'])[_0x1893a5(0x37f)]();Array[_0x1893a5(0x3ae)](_0x51654d)&&_0x51654d[_0x1893a5(0xef)]>0x0&&this[_0x1893a5(0x205)](_0x51654d);}[_0x24817b(0x1f1)](){this['_online']=!0x1;}};_0x3cec57=_0x514f3a([_0x268b30(0x2,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x7d6be[_0x24817b(0x424)])),_0x268b30(0x3,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x21a798)),_0x268b30(0x4,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x4d4217[_0x24817b(0x36a)])),_0x268b30(0x5,(0x0,_0x7d6be['Inject'])(_0x45fb09)),_0x268b30(0x6,_0x45e7a9[_0x24817b(0x302)]),_0x268b30(0x7,_0x7d6be[_0x24817b(0x2d0)]),_0x268b30(0x8,_0x7d6be[_0x24817b(0x30b)])],_0x3cec57);let _0x2afe5d=()=>{let _0x209a17=[],_0x5cac09=!0x1;return _0x1e1e61=>{const _0x9308e9=_0x5355;_0x209a17[_0x9308e9(0x35d)](_0x1e1e61),_0x5cac09||(_0x5cac09=!0x0,setTimeout(()=>{_0x209a17['forEach'](_0x309752=>_0x309752()),_0x209a17=[],_0x5cac09=!0x1;}));};},_0x96c5af=class extends _0x7d6be['RxDisposable']{get[_0x24817b(0x149)](){const _0x413e42=_0x24817b;return this[_0x413e42(0x230)][_0x413e42(0x271)]();}get[_0x24817b(0x3cd)](){const _0x529996=_0x24817b;return this[_0x529996(0x2d3)][_0x529996(0x271)]();}constructor(_0x153bd2,_0x78b89f,_0x5625dd,_0x9dd889,_0x328995,_0x4381e4,_0x36b3ab,_0x111b54){const _0x524ed0=_0x24817b;super(),this[_0x524ed0(0x2dc)]=_0x153bd2,this[_0x524ed0(0x1bf)]=_0x78b89f,this[_0x524ed0(0x160)]=_0x5625dd,this[_0x524ed0(0x17a)]=_0x9dd889,this[_0x524ed0(0x18c)]=_0x328995,this[_0x524ed0(0x3c0)]=_0x4381e4,this['_commandService']=_0x36b3ab,this[_0x524ed0(0x15f)]=_0x111b54,_0x1bbeaf(this,_0x524ed0(0x2e4),!0x1),_0x1bbeaf(this,_0x524ed0(0x3a2),!0x1),_0x1bbeaf(this,_0x524ed0(0x230),new _0x562b73['BehaviorSubject'](new Map())),_0x1bbeaf(this,_0x524ed0(0x388),this[_0x524ed0(0x230)][_0x524ed0(0x241)]()),_0x1bbeaf(this,_0x524ed0(0x2d3),new _0x562b73[(_0x524ed0(0x1f3))]([])),_0x1bbeaf(this,_0x524ed0(0x1a7),this[_0x524ed0(0x2d3)]['pipe']((0x0,_0x562b73[_0x524ed0(0x260)])(0x12c))),_0x1bbeaf(this,_0x524ed0(0x205),(0x0,_0x7d6be[_0x524ed0(0x2f5)])((_0x114f1e,_0x5259b7)=>{const _0x5571ec=_0x524ed0;let _0x444c49={'eventID':_0x45e7a9['CollaborationEvent'][_0x5571ec(0x22e)],'data':{'unitID':this[_0x5571ec(0x2dc)],'memberID':this[_0x5571ec(0x1bf)][_0x5571ec(0x266)](),'selection':(0x0,_0x4c5ac9[_0x5571ec(0xe6)])(_0x114f1e,_0x5259b7[_0x5571ec(0x40b)])}};this[_0x5571ec(0x1bf)]['send'](_0x444c49,this[_0x5571ec(0x2dc)]);},0x64));}[_0x24817b(0x364)](){const _0x2debd3=_0x24817b;super['dispose'](),this[_0x2debd3(0x230)][_0x2debd3(0x236)](new Map()),this[_0x2debd3(0x230)][_0x2debd3(0x244)](),this['_roomMembers$'][_0x2debd3(0x236)]([]),this[_0x2debd3(0x2d3)]['complete']();}[_0x24817b(0x176)](){const _0x51142f=_0x24817b;this['_init']||(this[_0x51142f(0x3a2)]=!0x0,this['_session']['sessionStatus$'][_0x51142f(0x234)]((0x0,_0x562b73['takeUntil'])(this['dispose$']))[_0x51142f(0x2f2)](_0x206e26=>{const _0x19d295=_0x51142f;_0x206e26===_0x4d4217[_0x19d295(0xd3)][_0x19d295(0xb8)]?this[_0x19d295(0x2ad)]():this[_0x19d295(0x1f1)]();}),this[_0x51142f(0x1bf)][_0x51142f(0x118)][_0x51142f(0x234)]((0x0,_0x562b73[_0x51142f(0x2b4)])(this[_0x51142f(0x199)]))[_0x51142f(0x2f2)](_0x5cad06=>{const _0x526c08=_0x51142f;let _0x18cc36=_0x5cad06['eventID'];_0x18cc36===_0x45e7a9[_0x526c08(0x174)][_0x526c08(0x22e)]&&this[_0x526c08(0x33c)](_0x5cad06),_0x18cc36===_0x45e7a9[_0x526c08(0x174)]['USERS_LEAVE']&&this[_0x526c08(0x2da)](_0x5cad06);}),this[_0x51142f(0x25c)](),this[_0x51142f(0x288)](this['_commandService'][_0x51142f(0x253)](_0x53b8c5=>{const _0x47d3f8=_0x51142f;if(this[_0x47d3f8(0x2e4)]&&_0x53b8c5['id']===_0x25f230[_0x47d3f8(0x40c)]['id']&&_0x53b8c5[_0x47d3f8(0x218)]['unitId']===this[_0x47d3f8(0x2dc)]){let _0x66d40c=_0x53b8c5[_0x47d3f8(0x218)];this[_0x47d3f8(0x205)](_0x66d40c['subUnitId'],_0x66d40c['selections'][0x0]);}})));}['_onCursorUpdate'](_0x55f4f4){const _0x38229b=_0x24817b;var _0x21a9ba;let {memberID:_0x2c97b1,selection:_0x36494e}=_0x55f4f4[_0x38229b(0xf3)],{sheetName:_0x420586,range:_0x1d69d7}=(0x0,_0x4c5ac9[_0x38229b(0x255)])(_0x36494e),_0x522e4e={'name':((_0x21a9ba=this[_0x38229b(0x18c)][_0x38229b(0x193)](this['unitID'],_0x2c97b1))==null?void 0x0:_0x21a9ba['name'])??_0x38229b(0x1db),'range':this['_getMergeRange'](_0x420586,_0x1d69d7),'sheetID':_0x420586,'color':this[_0x38229b(0x17a)][_0x38229b(0x21a)](_0x2c97b1),'selection':_0x36494e},_0x42e7de=this['cursorInfo'];_0x42e7de[_0x38229b(0x250)](_0x2c97b1,_0x522e4e),this[_0x38229b(0x230)][_0x38229b(0x236)](_0x42e7de);}[_0x24817b(0x2da)](_0x208506){const _0xb9a82e=_0x24817b;let {memberID:_0x5887cf}=_0x208506[_0xb9a82e(0xf3)],_0x25584d=this[_0xb9a82e(0x149)];_0x25584d[_0xb9a82e(0x3c2)](_0x5887cf),this[_0xb9a82e(0x230)]['next'](_0x25584d);}[_0x24817b(0x309)](_0xd0bd4e,_0x545d31){const _0x16aaee=_0x24817b;var _0x44fe22;let _0xe875d4=(_0x44fe22=this[_0x16aaee(0x3c0)]['getUnit'](this[_0x16aaee(0x2dc)],_0x7d6be[_0x16aaee(0x390)]['UNIVER_SHEET']))==null||(_0x44fe22=_0x44fe22['getSheetBySheetId'](_0xd0bd4e))==null?void 0x0:_0x44fe22[_0x16aaee(0x209)]();return(_0xe875d4==null?void 0x0:_0xe875d4['find'](_0x2551a9=>_0x7d6be[_0x16aaee(0x33d)][_0x16aaee(0x2fb)](_0x2551a9,_0x545d31)))||_0x545d31;}[_0x24817b(0x25c)](){const _0x23db92=_0x24817b;let _0x1608c5=new _0x7d6be['DisposableCollection'](),_0x1adc81=_0x2afe5d(),_0x9c5254=()=>{const _0x140e09=_0x5355;_0x1608c5[_0x140e09(0x364)]();let _0x32b504=(_0x1b763f,_0x41e678,_0x3e9fef,_0x2e05b6)=>{const _0x2c157a=_0x140e09;let _0x22a737=[];switch(_0x1b763f['id']){case _0x25f230[_0x2c157a(0x34a)][_0x2c157a(0xc7)]:_0x22a737=(0x0,_0x25f230[_0x2c157a(0x279)])(_0x1b763f,_0x2e05b6);break;case _0x25f230['EffectRefRangId']['DeleteRangeMoveUpCommandId']:_0x22a737=(0x0,_0x25f230[_0x2c157a(0x29c)])(_0x1b763f,_0x2e05b6);break;case _0x25f230['EffectRefRangId'][_0x2c157a(0x31a)]:_0x22a737=(0x0,_0x25f230[_0x2c157a(0x40d)])(_0x1b763f,_0x2e05b6);break;case _0x25f230[_0x2c157a(0x34a)]['InsertRangeMoveDownCommandId']:_0x22a737=(0x0,_0x25f230[_0x2c157a(0x17f)])(_0x1b763f,_0x2e05b6);break;case _0x25f230[_0x2c157a(0x34a)][_0x2c157a(0x37e)]:_0x22a737=(0x0,_0x25f230[_0x2c157a(0x21c)])(_0x1b763f,_0x2e05b6);break;case _0x25f230[_0x2c157a(0x34a)][_0x2c157a(0x11b)]:_0x22a737=(0x0,_0x25f230[_0x2c157a(0xd6)])(_0x1b763f,_0x2e05b6);break;case _0x25f230['EffectRefRangId'][_0x2c157a(0x2c2)]:_0x22a737=(0x0,_0x25f230['handleMoveRange'])(_0x1b763f,_0x2e05b6);break;case _0x25f230[_0x2c157a(0x34a)]['RemoveColCommandId']:_0x22a737=(0x0,_0x25f230['handleIRemoveCol'])(_0x1b763f,_0x2e05b6);break;case _0x25f230[_0x2c157a(0x34a)][_0x2c157a(0x365)]:_0x22a737=(0x0,_0x25f230[_0x2c157a(0x2ee)])(_0x1b763f,_0x2e05b6);break;}let _0x48eacb=(0x0,_0x25f230[_0x2c157a(0x3d6)])(_0x22a737,_0x2e05b6),_0x658186=this['cursorInfo'][_0x2c157a(0x1df)](_0x41e678);if(_0x658186&&_0x48eacb){let _0x616191={..._0x658186,'range':_0x48eacb};this[_0x2c157a(0x149)]['set'](_0x41e678,_0x616191),_0x1adc81(()=>{const _0x113ec1=_0x2c157a;let _0x35706e=this[_0x113ec1(0x15f)][_0x113ec1(0x10e)](_0x48eacb,_0x85d10d=>(_0x35706e[_0x113ec1(0x364)](),_0x32b504(_0x85d10d,_0x41e678,_0x3e9fef,_0x48eacb)));_0x1608c5['add'](_0x35706e);});}return{'redos':[],'undos':[]};};this[_0x140e09(0x149)][_0x140e09(0x366)]((_0x26e5af,_0x15d1c9)=>{const _0x446c09=_0x140e09;let {range:_0x5a587e,sheetID:_0x277b3d}=_0x26e5af,_0xb4a39c=this[_0x446c09(0x15f)]['registerRefRange'](_0x5a587e,_0x5aaeb8=>(_0xb4a39c['dispose'](),_0x32b504(_0x5aaeb8,_0x15d1c9,_0x277b3d,_0x5a587e)));_0x1608c5[_0x446c09(0x249)](_0xb4a39c);});};this[_0x23db92(0x288)]((0x0,_0x7d6be['toDisposable'])(this['_cursorInfo$'][_0x23db92(0x2f2)](()=>{_0x9c5254();})));}['_toggleOnline'](){const _0x3e22c0=_0x24817b;var _0x59b945,_0x2aaf7d;if(this['_online']=!0x0,((_0x59b945=this[_0x3e22c0(0x3c0)]['getFocusedUnit']())==null?void 0x0:_0x59b945['getUnitId']())!==this[_0x3e22c0(0x2dc)])return;let _0x14ad2f=(_0x2aaf7d=this[_0x3e22c0(0x160)][_0x3e22c0(0x1df)](_0x25f230[_0x3e22c0(0x190)])['getCurrentSelections']())==null?void 0x0:_0x2aaf7d[0x0],_0x120b19=this[_0x3e22c0(0x3c0)][_0x3e22c0(0x268)](_0x7d6be[_0x3e22c0(0x390)][_0x3e22c0(0x272)])[_0x3e22c0(0x1ad)]();_0x14ad2f&&_0x120b19&&this['_updateLocalCursor'](_0x120b19[_0x3e22c0(0xbb)](),_0x14ad2f);}['_toggleOffline'](){const _0x437de1=_0x24817b;this[_0x437de1(0x2e4)]=!0x1;}};_0x96c5af=_0x514f3a([_0x268b30(0x2,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x7d6be[_0x24817b(0x424)])),_0x268b30(0x3,(0x0,_0x7d6be['Inject'])(_0x21a798)),_0x268b30(0x4,(0x0,_0x7d6be['Inject'])(_0x4d4217[_0x24817b(0x36a)])),_0x268b30(0x5,_0x7d6be['IUniverInstanceService']),_0x268b30(0x6,_0x7d6be[_0x24817b(0x30b)]),_0x268b30(0x7,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x25f230[_0x24817b(0xe9)]))],_0x96c5af);let _0x5c63ae=class extends _0x7d6be[_0x24817b(0x2a4)]{constructor(_0x19c89c,_0xa86477,_0x5690e2){const _0x346479=_0x24817b;super(),this[_0x346479(0x3c0)]=_0x19c89c,this[_0x346479(0x160)]=_0xa86477,this[_0x346479(0x1d6)]=_0x5690e2,_0x1bbeaf(this,_0x346479(0x162),new Map()),_0x1bbeaf(this,_0x346479(0x293),new _0x562b73[(_0x346479(0x1c6))]()),this[_0x346479(0x3a2)]();}[_0x24817b(0x364)](){const _0xf25861=_0x24817b;super['dispose'](),this[_0xf25861(0x293)]['complete'](),this[_0xf25861(0x162)][_0xf25861(0x366)](_0x5abf07=>_0x5abf07[_0xf25861(0x364)]());}[_0x24817b(0x19f)](_0x40500b){const _0x14931f=_0x24817b;let _0x16f5a3=this[_0x14931f(0x162)][_0x14931f(0x1df)](_0x40500b);return _0x16f5a3?_0x16f5a3[_0x14931f(0x388)]:this['_entityInit$'][_0x14931f(0x234)]((0x0,_0x562b73[_0x14931f(0x3ca)])(_0x491e33=>_0x491e33[_0x14931f(0x2dc)]===_0x40500b),(0x0,_0x562b73[_0x14931f(0x2c4)])(_0x30a465=>_0x30a465[_0x14931f(0x388)]));}[_0x24817b(0x3a2)](){const _0xd9d059=_0x24817b;this[_0xd9d059(0x3c0)]['getTypeOfUnitAdded$'](_0x7d6be[_0xd9d059(0x390)][_0xd9d059(0x272)])[_0xd9d059(0x234)]((0x0,_0x562b73[_0xd9d059(0x2b4)])(this['dispose$']))[_0xd9d059(0x2f2)](async _0x2a8861=>{const _0x299cb6=_0xd9d059;let _0x1da1b0=_0x2a8861[_0x299cb6(0x30c)]['getUnitId'](),_0x444118=await this[_0x299cb6(0x18e)](_0x1da1b0);this[_0x299cb6(0x293)]['next'](_0x444118),this[_0x299cb6(0x162)][_0x299cb6(0x250)](_0x1da1b0,_0x444118);}),this[_0xd9d059(0x3c0)][_0xd9d059(0x1ea)](_0x7d6be['UniverInstanceType'][_0xd9d059(0x225)])[_0xd9d059(0x234)]((0x0,_0x562b73['takeUntil'])(this[_0xd9d059(0x199)]))['pipe']((0x0,_0x562b73[_0xd9d059(0x3ca)])(_0x2919a2=>!_0x2919a2[_0xd9d059(0x30c)][_0xd9d059(0x2d9)]()[_0xd9d059(0x410)]('__')))[_0xd9d059(0x2f2)](async _0x1dbfa1=>{const _0x571ab9=_0xd9d059;let {unit:_0x200059}=_0x1dbfa1,_0x150f7b=_0x200059[_0x571ab9(0x2d9)](),_0x4e1ab0=await this['_startDocCollabCursor'](_0x150f7b);this[_0x571ab9(0x293)][_0x571ab9(0x236)](_0x4e1ab0),this[_0x571ab9(0x162)]['set'](_0x150f7b,_0x4e1ab0);}),(0x0,_0x562b73[_0xd9d059(0x25f)])(this[_0xd9d059(0x3c0)][_0xd9d059(0x214)](_0x7d6be[_0xd9d059(0x390)][_0xd9d059(0x225)]),this['_univerInstanceService'][_0xd9d059(0x214)](_0x7d6be[_0xd9d059(0x390)]['UNIVER_SHEET']))['pipe']((0x0,_0x562b73[_0xd9d059(0x2b4)])(this[_0xd9d059(0x199)]))['subscribe'](_0xaaf265=>{const _0x5e9ef7=_0xd9d059;let _0x17ac83=_0xaaf265[_0x5e9ef7(0x2d9)](),_0x19bba1=this[_0x5e9ef7(0x162)][_0x5e9ef7(0x1df)](_0x17ac83);_0x19bba1&&(_0x19bba1[_0x5e9ef7(0x364)](),this[_0x5e9ef7(0x162)][_0x5e9ef7(0x3c2)](_0x17ac83));});}async[_0x24817b(0x18e)](_0x4d2f12){const _0x2e70d0=_0x24817b;let _0x578341=await this[_0x2e70d0(0x1d6)][_0x2e70d0(0x105)](_0x4d2f12),_0x1eaf91=this[_0x2e70d0(0x160)][_0x2e70d0(0x19b)](_0x96c5af,_0x4d2f12,_0x578341);return _0x1eaf91[_0x2e70d0(0x176)](),_0x1eaf91;}async[_0x24817b(0x1c8)](_0x2174bf){const _0x5a3d7d=_0x24817b;let _0x240340=await this['_collabSessionService'][_0x5a3d7d(0x105)](_0x2174bf),_0x1db65d=this[_0x5a3d7d(0x160)][_0x5a3d7d(0x19b)](_0x3cec57,_0x2174bf,_0x240340);return _0x1db65d[_0x5a3d7d(0x176)](),_0x1db65d;}};_0x5c63ae=_0x514f3a([_0x268b30(0x0,_0x7d6be[_0x24817b(0x2d0)]),_0x268b30(0x1,(0x0,_0x7d6be['Inject'])(_0x7d6be[_0x24817b(0x424)])),_0x268b30(0x2,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x4d4217[_0x24817b(0x3a5)]))],_0x5c63ae);function _0x1fabc3(_0x4a14c1,_0x41e6ff){const _0x4ab621=_0x24817b;_0x4a14c1[_0x4ab621(0x389)](),_0x4a14c1[_0x4ab621(0x408)]='bold\x2013px\x20Arial,\x20sans-serif';let _0x54e1e0=_0x4a14c1[_0x4ab621(0x2d1)](_0x41e6ff)[_0x4ab621(0x377)];return _0x4a14c1[_0x4ab621(0x169)](),Math[_0x4ab621(0x3bc)](_0x54e1e0+0x8,0xc8);}function _0xcbca69(_0x17dcb9,_0x5246d8){const _0x45ed6c=_0x24817b;let {radius:_0x1ef2d7,width:_0x701bc9,height:_0x2b2e48}=_0x5246d8;_0x1ef2d7??=0x0,_0x701bc9??=0x1e,_0x2b2e48??=0x1e;let _0x263b9c=0x0,_0xa85436=0x0,_0x26a14a=0x0;_0x263b9c=_0xa85436=_0x26a14a=Math['min'](_0x1ef2d7,_0x701bc9/0x2,_0x2b2e48/0x2),_0x17dcb9[_0x45ed6c(0x109)](),_0x17dcb9['moveTo'](_0x263b9c,0x0),_0x17dcb9[_0x45ed6c(0x400)](_0x701bc9-_0xa85436,0x0),_0x17dcb9[_0x45ed6c(0x37d)](_0x701bc9-_0xa85436,_0xa85436,_0xa85436,Math['PI']*0x3/0x2,0x0,!0x1),_0x17dcb9['lineTo'](_0x701bc9,_0x2b2e48-_0x26a14a),_0x17dcb9[_0x45ed6c(0x37d)](_0x701bc9-_0x26a14a,_0x2b2e48-_0x26a14a,_0x26a14a,0x0,Math['PI']/0x2,!0x1),_0x17dcb9[_0x45ed6c(0x400)](0x0,_0x2b2e48),_0x17dcb9[_0x45ed6c(0x400)](0x0,_0x263b9c),_0x17dcb9[_0x45ed6c(0x37d)](_0x263b9c,_0x263b9c,_0x263b9c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x17dcb9[_0x45ed6c(0x150)](),_0x5246d8[_0x45ed6c(0x2b5)]&&(_0x17dcb9['save'](),_0x17dcb9[_0x45ed6c(0x3b9)]=_0x5246d8['fill'],_0x5246d8[_0x45ed6c(0x3e2)]===_0x45ed6c(0x2ca)?_0x17dcb9['fill'](_0x45ed6c(0x2ca)):_0x17dcb9[_0x45ed6c(0x2b5)](),_0x17dcb9['restore']());}var _0x2a8248=class _0x3d7e01 extends _0x362d45[_0x24817b(0x425)]{constructor(_0x2a10e7,_0x2bcc58){const _0x43a190=_0x24817b;super(_0x2a10e7,_0x2bcc58),_0x1bbeaf(this,_0x43a190(0xda),void 0x0),_0x1bbeaf(this,_0x43a190(0x221),void 0x0),this[_0x43a190(0xda)]=_0x2bcc58==null?void 0x0:_0x2bcc58[_0x43a190(0xda)],this['text']=_0x2bcc58==null?void 0x0:_0x2bcc58[_0x43a190(0x221)];}static[_0x24817b(0x2fa)](_0x2d6895,_0x32702a){const _0x2d1e25=_0x24817b;let {text:_0x420890,color:_0x3ee8d4}=_0x32702a;_0x2d6895[_0x2d1e25(0x389)](),_0x2d6895[_0x2d1e25(0x408)]=_0x2d1e25(0x32a);let _0x4c7823=_0x2d6895[_0x2d1e25(0x2d1)](_0x420890)[_0x2d1e25(0x377)];if(_0xcbca69(_0x2d6895,{'height':0x14,'radius':0x4,'width':_0x1fabc3(_0x2d6895,_0x420890),'fill':_0x3ee8d4,'evented':!0x1}),_0x2d6895[_0x2d1e25(0x3b9)]=_0x2d1e25(0x256),_0x4c7823>0xc0){let _0x2b4610='',_0x2a1371=0x0;for(let _0x11490d of _0x420890){let _0xe08843=_0x2d6895[_0x2d1e25(0x2d1)](_0x11490d)[_0x2d1e25(0x377)];if(_0x2a1371+_0xe08843<=0xc0-_0x2d6895[_0x2d1e25(0x2d1)]('...')['width'])_0x2b4610+=_0x11490d,_0x2a1371+=_0xe08843;else{_0x2b4610+='...';break;}}_0x2d6895[_0x2d1e25(0x28a)](_0x2b4610,0x4,0xf);}else _0x2d6895['fillText'](_0x420890,0x4,0xf);_0x2d6895[_0x2d1e25(0x169)]();}[_0x24817b(0x153)](_0x4922ce){_0x3d7e01['drawWith'](_0x4922ce,this);}};let _0x2c5f07=_0x24817b(0x373);var _0x18b8b6=class{constructor(_0x28b326,_0x2a1477,_0x14aea8,_0x370ad8){const _0x13f874=_0x24817b;this[_0x13f874(0x137)]=_0x28b326,this[_0x13f874(0x42e)]=_0x2a1477,this[_0x13f874(0x1b7)]=_0x14aea8,this[_0x13f874(0x419)]=_0x370ad8,_0x1bbeaf(this,'_shapes',[]),_0x1bbeaf(this,_0x13f874(0x3b8),null),_0x1bbeaf(this,_0x13f874(0x31b),null),_0x1bbeaf(this,_0x13f874(0x422),null),_0x1bbeaf(this,_0x13f874(0x2ac),null),_0x1bbeaf(this,'_eventUnsubscribe',null),this[_0x13f874(0x371)]();}set[_0x24817b(0xe8)](_0x24aec8){const _0x15bee3=_0x24817b;_0x24aec8?(this[_0x15bee3(0x422)]&&this[_0x15bee3(0x422)][_0x15bee3(0x283)](),this[_0x15bee3(0x31b)]&&this[_0x15bee3(0x31b)]['show']()):(this[_0x15bee3(0x422)]&&this['_anchorDot'][_0x15bee3(0x216)](),this[_0x15bee3(0x31b)]&&this[_0x15bee3(0x31b)]['hide']());}['dispose'](){const _0x30bcd4=_0x24817b;for(let _0x143f33 of this[_0x30bcd4(0x3aa)])_0x143f33[_0x30bcd4(0x364)]();this[_0x30bcd4(0x31b)]&&this[_0x30bcd4(0x31b)][_0x30bcd4(0x364)](),this[_0x30bcd4(0x422)]&&this[_0x30bcd4(0x422)][_0x30bcd4(0x364)](),this[_0x30bcd4(0x3b8)]&&this[_0x30bcd4(0x3b8)][_0x30bcd4(0x364)](),this[_0x30bcd4(0x2d8)]&&this[_0x30bcd4(0x2d8)]();}[_0x24817b(0x371)](){const _0x2497f0=_0x24817b;let {_docSkeleton:_0x40eb6a,_document:_0x4c4681}=this,{color:_0x511aaa,name:_0x41b357,ranges:_0x38d0ec}=this[_0x2497f0(0x137)],_0x3c7556=_0x4c4681[_0x2497f0(0x13e)](),{docsLeft:_0x5bcd2a,docsTop:_0x62ec55}=_0x3c7556,_0x438065=new _0x113b6e[(_0x2497f0(0x2db))](_0x3c7556,_0x40eb6a);for(let {startOffset:_0x43c6e5,endOffset:_0x5f240e,rangeType:_0x469ec4,segmentId:_0x213823,segmentPage:_0x4b89d2,collapsed:_0x10db37,isActive:_0x2344d6}of _0x38d0ec){let _0x20feb9=_0x40eb6a[_0x2497f0(0x2f4)](_0x43c6e5,!0x0,_0x213823,_0x4b89d2),_0x51eb72=_0x40eb6a[_0x2497f0(0x2f4)](_0x5f240e,!0x0,_0x213823,_0x4b89d2);_0x51eb72??=_0x40eb6a[_0x2497f0(0x2f4)](_0x5f240e-0x1,!0x1,_0x213823,_0x4b89d2);let _0x4e00c2=_0x7509f3(_0x20feb9,_0x51eb72);if(_0x2344d6&&_0x4e00c2[_0x2497f0(0x164)]){let {contentBoxPointGroup:_0x14e12e}=_0x438065[_0x2497f0(0x129)](_0x51eb72,_0x51eb72);if(_0x14e12e['length']===0x0)continue;this[_0x2497f0(0x1bb)](_0x511aaa,_0x14e12e,_0x5bcd2a,_0x62ec55,_0x41b357),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x20feb9&&_0x51eb72){if(_0x469ec4===_0x7d6be[_0x2497f0(0xe0)][_0x2497f0(0x3c1)]){let {pointGroup:_0x2e6136}=new _0x113b6e[(_0x2497f0(0x116))](_0x3c7556,_0x40eb6a)['getRangePointData'](_0x20feb9,_0x51eb72)??{};if(_0x2e6136==null||_0x2e6136[_0x2497f0(0xef)]===0x0)continue;this[_0x2497f0(0x147)](_0x511aaa,_0x2e6136,_0x5bcd2a,_0x62ec55);}else{if(!_0x10db37&&_0x4e00c2[_0x2497f0(0x1a5)]){let {borderBoxPointGroup:_0x202c53}=_0x438065[_0x2497f0(0x129)](_0x20feb9,_0x51eb72);if(_0x202c53[_0x2497f0(0xef)]===0x0)continue;this['_drawTextRange'](_0x511aaa,_0x202c53,_0x5bcd2a,_0x62ec55);}}}}}[_0x24817b(0x1bb)](_0x2cf540,_0x2407ce,_0x4bd08d,_0x4aa2f9,_0x4e465e){const _0x2a466f=_0x24817b;let {left:_0x4b0360,top:_0x4bd5df,height:_0xc1f384}=this[_0x2a466f(0x254)](_0x2407ce),_0x3b17c7=1.5/this['_getScale'](),_0x14212f=new _0x362d45['Rect'](_0x2c5f07+(0x0,_0x7d6be['generateRandomId'])(0x6),{'left':_0x4b0360+_0x4bd08d-_0x3b17c7,'top':_0x4bd5df+_0x4aa2f9,'height':_0xc1f384,'width':1.5,'fill':_0x2cf540||(0x0,_0x362d45['getColor'])(_0x7d6be[_0x2a466f(0x247)][_0x2a466f(0x39f)],0x0),'strokeWidth':_0x3b17c7,'stroke':_0x2a466f(0x370),'evented':!0x0});this['_anchor']=_0x14212f,this[_0x2a466f(0x42e)][_0x2a466f(0x138)](_0x14212f,_0x113b6e[_0x2a466f(0x121)]);let _0x1259d0=new _0x362d45['Rect'](_0x2c5f07+(0x0,_0x7d6be[_0x2a466f(0x248)])(0x6),{'left':_0x4b0360+_0x4bd08d-_0x3b17c7,'top':_0x4bd5df+_0x4aa2f9-0x4/0x2,'height':0x4,'width':0x4,'fill':_0x2cf540||(0x0,_0x362d45[_0x2a466f(0x35e)])(_0x7d6be[_0x2a466f(0x247)][_0x2a466f(0x39f)],0x0),'strokeWidth':0x0,'stroke':_0x2cf540||(0x0,_0x362d45[_0x2a466f(0x35e)])(_0x7d6be[_0x2a466f(0x247)]['black'],0x0),'evented':!0x1});this[_0x2a466f(0x422)]=_0x1259d0,this[_0x2a466f(0x42e)][_0x2a466f(0x138)](_0x1259d0,_0x113b6e[_0x2a466f(0x121)]);let _0x2b849a=new _0x2a8248(_0x2c5f07+(0x0,_0x7d6be[_0x2a466f(0x248)])(0x6),{'left':_0x4b0360+_0x4bd08d-_0x3b17c7,'top':_0x4bd5df+_0x4aa2f9-0x14,'text':_0x4e465e,'color':_0x2cf540});this[_0x2a466f(0x31b)]=_0x2b849a,this[_0x2a466f(0x42e)][_0x2a466f(0x138)](_0x2b849a,_0x113b6e['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0x24817b(0x338)](){const _0x1a7e21=_0x24817b;let _0x355817=this['_anchor'][_0x1a7e21(0x1fd)][_0x1a7e21(0x2eb)](()=>{const _0x389a21=_0x1a7e21;this[_0x389a21(0xe8)]=!0x0;}),_0x3c6b0d=this[_0x1a7e21(0x3b8)][_0x1a7e21(0x3ef)][_0x1a7e21(0x2eb)](()=>{const _0x16a0d1=_0x1a7e21;this['_hideTimer']&&clearTimeout(this[_0x16a0d1(0x2ac)]),this[_0x16a0d1(0x2ac)]=setTimeout(()=>{const _0x23922a=_0x16a0d1;this[_0x23922a(0xe8)]=!0x1;},0x7d0);});return()=>{const _0x19a962=_0x1a7e21;_0x355817[_0x19a962(0x359)](),_0x3c6b0d[_0x19a962(0x359)]();};}[_0x24817b(0x341)](_0x754f0e,_0x2c560b,_0x318989,_0x8d8544){const _0x3ddeb3=_0x24817b;let _0x2b276f=0.2,_0x189a31=new _0x7d6be[(_0x3ddeb3(0x2e6))](_0x754f0e)[_0x3ddeb3(0x179)](_0x2b276f)[_0x3ddeb3(0x406)](),_0x2cfce6=new _0x362d45[(_0x3ddeb3(0x17b))]('collab-text-range-'+(0x0,_0x7d6be['generateRandomId'])(0x6),{'pointsGroup':_0x2c560b,'fill':_0x189a31||(0x0,_0x362d45[_0x3ddeb3(0x35e)])(_0x7d6be[_0x3ddeb3(0x247)][_0x3ddeb3(0x39f)],_0x2b276f),'left':_0x318989,'top':_0x8d8544,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3ddeb3(0x3aa)]['push'](_0x2cfce6),this[_0x3ddeb3(0x42e)][_0x3ddeb3(0x138)](_0x2cfce6,_0x113b6e['TEXT_RANGE_LAYER_INDEX']);}[_0x24817b(0x147)](_0x52acd5,_0x155219,_0x55e341,_0x91c312){const _0xfd4a98=_0x24817b;let _0x229244=0.2,_0x191239=new _0x7d6be[(_0xfd4a98(0x2e6))](_0x52acd5)[_0xfd4a98(0x179)](_0x229244)[_0xfd4a98(0x406)](),_0x14611b=new _0x362d45[(_0xfd4a98(0x17b))](_0xfd4a98(0x1da)+(0x0,_0x7d6be[_0xfd4a98(0x248)])(0x6),{'pointsGroup':_0x155219,'fill':_0x191239||(0x0,_0x362d45[_0xfd4a98(0x35e)])(_0x7d6be['COLORS'][_0xfd4a98(0x39f)],_0x229244),'left':_0x55e341,'top':_0x91c312,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xfd4a98(0x3aa)][_0xfd4a98(0x35d)](_0x14611b),this[_0xfd4a98(0x42e)][_0xfd4a98(0x138)](_0x14611b,_0x113b6e[_0xfd4a98(0x121)]);}[_0x24817b(0x254)](_0x44fe8b){let _0x5644b8=_0x44fe8b[0x0],_0xa08a30=_0x5644b8[0x0],_0x37bdaa=_0x5644b8[0x2],{x:_0x7fb31f,y:_0x3c64e1}=_0xa08a30,{x:_0x524b7f,y:_0x2e1989}=_0x37bdaa;return{'left':_0x7fb31f,'top':_0x3c64e1,'width':_0x524b7f-_0x7fb31f,'height':_0x2e1989-_0x3c64e1};}[_0x24817b(0x2d2)](){const _0x14ca8c=_0x24817b;let {scaleX:_0x1ac6c4,scaleY:_0x581b3d}=this[_0x14ca8c(0x42e)][_0x14ca8c(0x14d)]();return Math[_0x14ca8c(0x372)](_0x1ac6c4,_0x581b3d);}};function _0x7509f3(_0x51e687,_0x1f0411){const _0x48cd57=_0x24817b;if(!_0x1f0411)return{'canRenderAnchor':!0x1,'canRenderSelection':!0x1};if(!_0x51e687||_0x51e687[_0x48cd57(0x128)]!==_0x1f0411[_0x48cd57(0x128)]||(_0x51e687[_0x48cd57(0x128)]===_0x362d45[_0x48cd57(0x11a)][_0x48cd57(0x2c7)]||_0x51e687[_0x48cd57(0x128)]===_0x362d45['DocumentSkeletonPageType'][_0x48cd57(0x30e)])&&_0x51e687[_0x48cd57(0x14a)]!==_0x1f0411[_0x48cd57(0x14a)])return{'canRenderAnchor':!0x0,'canRenderSelection':!0x1};let _0x3ef070=(0x0,_0x362d45['getDocumentSkeletonColumnPagePathInfo'])(_0x51e687),_0x7bdbf5=(0x0,_0x362d45[_0x48cd57(0x3a8)])(_0x1f0411);return{'canRenderAnchor':!0x0,'canRenderSelection':_0x3ef070==null||_0x7bdbf5==null?_0x3ef070==null&&_0x7bdbf5==null:_0x3ef070['pageIndex']===_0x7bdbf5[_0x48cd57(0xba)]&&_0x3ef070[_0x48cd57(0x357)]===_0x7bdbf5[_0x48cd57(0x357)]&&_0x3ef070['columnIndex']===_0x7bdbf5[_0x48cd57(0x3fb)]};}let _0x27995f=class extends _0x7d6be[_0x24817b(0x2a4)]{constructor(_0x5ee4d1,_0x50ab41,_0xa4e712,_0x1d67f0,_0x335a6a){const _0x2b6b8c=_0x24817b;super(),this['_context']=_0x5ee4d1,this[_0x2b6b8c(0x1a9)]=_0x50ab41,this[_0x2b6b8c(0x264)]=_0xa4e712,this[_0x2b6b8c(0x32d)]=_0x1d67f0,this[_0x2b6b8c(0x31c)]=_0x335a6a,_0x1bbeaf(this,_0x2b6b8c(0x1e9),[]),_0x1bbeaf(this,'_cursors',[]),this[_0x2b6b8c(0x3a2)]();}[_0x24817b(0x3a2)](){const _0x1f442d=_0x24817b;let _0x5e1b3b=this[_0x1f442d(0x413)][_0x1f442d(0x2ed)],_0x313585=this['_docSkeletonManagerService'];this[_0x1f442d(0x288)]((0x0,_0x562b73[_0x1f442d(0x10c)])([this[_0x1f442d(0x264)][_0x1f442d(0x19f)](_0x5e1b3b),this[_0x1f442d(0x31c)][_0x1f442d(0x26f)]])[_0x1f442d(0x234)]((0x0,_0x22eaab['map'])(([_0x1c2265,_0x12de96])=>({'skeleton':_0x313585[_0x1f442d(0x2ec)](),'cursors':[..._0x1c2265[_0x1f442d(0x18f)]()]['flatMap'](_0x314c73=>({..._0x314c73,'color':this[_0x1f442d(0x31c)]['getColorFromTheme'](_0x314c73[_0x1f442d(0xda)])}))})))[_0x1f442d(0x2f2)](_0x4c3d2b=>{const _0x59a677=_0x1f442d;if(this[_0x59a677(0x1e5)](),_0x4c3d2b){let {skeleton:_0x4179f4,cursors:_0x276308}=_0x4c3d2b;this[_0x59a677(0x380)](_0x4179f4,_0x276308);}})),this['_initResize'](),this[_0x1f442d(0x3b2)]();}[_0x24817b(0x380)](_0x48f1f1,_0x568e0e){const _0x5e1a6e=_0x24817b;let {scene:_0x436a3a,mainComponent:_0x62c8ec}=this[_0x5e1a6e(0x413)],_0x3c83c=_0x568e0e[_0x5e1a6e(0x220)](_0x1171a8=>new _0x18b8b6(_0x1171a8,_0x436a3a,_0x48f1f1,_0x62c8ec));this[_0x5e1a6e(0x1e9)]=_0x3c83c,this[_0x5e1a6e(0x2df)]=_0x568e0e;}[_0x24817b(0x403)](){const _0x58384f=_0x24817b;this[_0x58384f(0x1e5)]();let {scene:_0x2b8e48,mainComponent:_0x1029e0}=this[_0x58384f(0x413)],_0x519fde=this['_docSkeletonManagerService'][_0x58384f(0x2ec)](),_0x1ab13a=this[_0x58384f(0x2df)][_0x58384f(0x220)](_0x2308b0=>new _0x18b8b6(_0x2308b0,_0x2b8e48,_0x519fde,_0x1029e0));this[_0x58384f(0x1e9)]=_0x1ab13a;}['_removeCollabCursors'](){const _0x1096d3=_0x24817b;this['_cursorShapes'][_0x1096d3(0x366)](_0x4b75e0=>_0x4b75e0[_0x1096d3(0x364)]()),this[_0x1096d3(0x1e9)]=[];}['_initCommandExecutedListener'](){const _0x5a13ff=_0x24817b;let _0x26535b=[_0x113b6e[_0x5a13ff(0x418)]['id']];this['disposeWithMe'](this[_0x5a13ff(0x32d)]['onCommandExecuted'](_0xbcf75b=>{const _0x4566c8=_0x5a13ff;_0x26535b[_0x4566c8(0x1b3)](_0xbcf75b['id'])&&_0xbcf75b[_0x4566c8(0x218)][_0x4566c8(0x2ed)]===this[_0x4566c8(0x413)][_0x4566c8(0x2ed)]&&this[_0x4566c8(0x403)]();}));}[_0x24817b(0x358)](){const _0x74c32a=_0x24817b;this[_0x74c32a(0x288)]((0x0,_0x7d6be[_0x74c32a(0x269)])(this[_0x74c32a(0x413)][_0x74c32a(0x1e0)][_0x74c32a(0x11c)])[_0x74c32a(0x234)]((0x0,_0x22eaab['filter'])(_0x3ede76=>_0x3ede76[_0x74c32a(0x1cf)]===_0x362d45[_0x74c32a(0x195)][_0x74c32a(0x375)]),(0x0,_0x22eaab[_0x74c32a(0x300)])(0x10))[_0x74c32a(0x2f2)](()=>{const _0x421c34=_0x74c32a;this[_0x421c34(0x403)]();}));}};_0x27995f=_0x514f3a([_0x268b30(0x1,(0x0,_0x7d6be['Inject'])(_0x228dc5[_0x24817b(0x203)])),_0x268b30(0x2,(0x0,_0x7d6be['Inject'])(_0x5c63ae)),_0x268b30(0x3,_0x7d6be['ICommandService']),_0x268b30(0x4,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x7d6be[_0x24817b(0x336)]))],_0x27995f);var _0x17b682=class extends _0x362d45[_0x24817b(0x425)]{constructor(_0x4c8941,_0x21b027){const _0xa1489d=_0x24817b;super(_0x4c8941,_0x21b027),_0x1bbeaf(this,'_color',void 0x0),_0x1bbeaf(this,_0xa1489d(0x311),!0x1),_0x1bbeaf(this,'_range',void 0x0),_0x1bbeaf(this,_0xa1489d(0xe1),''),_0x1bbeaf(this,_0xa1489d(0x1d0),_0xa1489d(0x3f5)),_0x1bbeaf(this,'_backgroundColor',void 0x0),_0x1bbeaf(this,_0xa1489d(0x208),void 0x0),_0x1bbeaf(this,'_highlight',void 0x0),_0x1bbeaf(this,_0xa1489d(0x2b6),0x4),_0x1bbeaf(this,_0xa1489d(0xd5),void 0x0),_0x1bbeaf(this,_0xa1489d(0x1ee),void 0x0),_0x1bbeaf(this,_0xa1489d(0x1b6),!0x0),_0x1bbeaf(this,_0xa1489d(0x430),0x0),_0x1bbeaf(this,'_labelHorizontalPosition',_0xa1489d(0x1bd)),_0x21b027&&(this['setShapeProps'](_0x21b027),_0x21b027[_0xa1489d(0x1de)]&&(_0x21b027[_0xa1489d(0x27b)]??this[_0xa1489d(0x2b6)])&&this[_0xa1489d(0x177)](_0x21b027[_0xa1489d(0x27b)]??this[_0xa1489d(0x2b6)])),this['onPointerEnter$'][_0xa1489d(0x2eb)](()=>this[_0xa1489d(0x224)]({'hovered':!0x0})),this[_0xa1489d(0x3ef)][_0xa1489d(0x2eb)](()=>this[_0xa1489d(0x224)]({'hovered':!0x1}));}['setOffsetY'](_0x24a997){this['_offsetY']=_0x24a997;}[_0x24817b(0x224)](_0x11bda7){const _0x5cb2af=_0x24817b;this[_0x5cb2af(0x167)]=_0x11bda7[_0x5cb2af(0xda)]??this[_0x5cb2af(0x167)],this[_0x5cb2af(0x311)]=_0x11bda7[_0x5cb2af(0x42b)]??this[_0x5cb2af(0x311)],this['_range']=_0x11bda7[_0x5cb2af(0x40b)]??this['_range'],this[_0x5cb2af(0xe1)]=_0x11bda7[_0x5cb2af(0x3c9)]??this['_name'],this[_0x5cb2af(0x1d0)]=_0x11bda7[_0x5cb2af(0x14c)]??this[_0x5cb2af(0x1d0)],this[_0x5cb2af(0x192)]=_0x11bda7['backgroundColor']??this[_0x5cb2af(0x192)],this['_showText']=_0x11bda7[_0x5cb2af(0x34c)]??this['_showText'],this['_labelHorizontalPosition']=_0x11bda7[_0x5cb2af(0x3d7)]??this[_0x5cb2af(0x298)],_0x11bda7[_0x5cb2af(0x27b)]!==void 0x0&&(this[_0x5cb2af(0x2b6)]=_0x11bda7[_0x5cb2af(0x27b)]),_0x11bda7[_0x5cb2af(0x1de)]!==void 0x0&&(this[_0x5cb2af(0xe2)]=_0x11bda7[_0x5cb2af(0x1de)]),_0x11bda7['offsetY']!==void 0x0&&(this[_0x5cb2af(0x430)]=_0x11bda7[_0x5cb2af(0x265)]),this['transformByState']({'width':_0x11bda7['width'],'height':_0x11bda7[_0x5cb2af(0x1fc)]});}['onMouseMove'](_0x313f8c){const _0x36c2cc=_0x24817b;let {row:_0x289da5,column:_0x921e41}=_0x313f8c;if(_0x289da5>=this[_0x36c2cc(0x23d)][_0x36c2cc(0xcc)]&&_0x289da5<=this[_0x36c2cc(0x23d)][_0x36c2cc(0x24a)]&&_0x921e41>=this[_0x36c2cc(0x23d)][_0x36c2cc(0x2d6)]&&_0x921e41<=this[_0x36c2cc(0x23d)]['endColumn']){this[_0x36c2cc(0x224)]({'hovered':!0x0});return;}this[_0x36c2cc(0x224)]({'hovered':!0x1});}[_0x24817b(0x177)](_0x5c5bc6){const _0x3f9d48=_0x24817b;this[_0x3f9d48(0x1d3)](),this[_0x3f9d48(0x1b6)]=!0x0,this[_0x3f9d48(0x1ee)]=window[_0x3f9d48(0x1e1)](()=>{const _0x442ca5=_0x3f9d48;this[_0x442ca5(0x1b6)]=!this[_0x442ca5(0x1b6)],this[_0x442ca5(0x26d)](!0x0);},0x1f4),this[_0x3f9d48(0xd5)]=window[_0x3f9d48(0x3e6)](()=>{const _0x52ed23=_0x3f9d48;this['_stopBlinking'](),this[_0x52ed23(0x1b6)]=!0x0,this[_0x52ed23(0x26d)](!0x0);},_0x5c5bc6*0x3e8);}[_0x24817b(0x1d3)](){const _0x48c489=_0x24817b;this['_blinkIntervalTimer']&&=(window['clearInterval'](this[_0x48c489(0x1ee)]),void 0x0),this[_0x48c489(0xd5)]&&=(window['clearTimeout'](this[_0x48c489(0xd5)]),void 0x0);}[_0x24817b(0x384)](_0x2564c4){return!0x1;}[_0x24817b(0x364)](){this['_stopBlinking'](),super['dispose']();}[_0x24817b(0x153)](_0x3d8c75){const _0x33824f=_0x24817b;let _0x88d250=this[_0x33824f(0x167)],_0x5d65fb=this['_backgroundColor'];if(this['_highlight']&&!this[_0x33824f(0x1b6)]&&(_0x88d250=this[_0x33824f(0x340)](this['_color']),_0x5d65fb=this[_0x33824f(0x192)]?this['_getLighterColor'](this[_0x33824f(0x192)]):void 0x0),_0x362d45[_0x33824f(0x130)]['drawWith'](_0x3d8c75,{'width':this[_0x33824f(0x377)],'height':this[_0x33824f(0x1fc)],'strokeWidth':this['strokeWidth']||1.5,'stroke':_0x88d250,'evented':!0x1,'fill':_0x5d65fb}),this[_0x33824f(0x311)]||this['_showText']){_0x3d8c75[_0x33824f(0x389)]();let _0x2771c7=this[_0x33824f(0x298)]===_0x33824f(0x1ce)?-_0x1fabc3(_0x3d8c75,this[_0x33824f(0xe1)]):this[_0x33824f(0x377)];_0x3d8c75[_0x33824f(0xf1)](0x1,0x0,0x0,0x1,_0x2771c7,(this[_0x33824f(0x1d0)]==='bottom'?0x0:-0x14)+(this[_0x33824f(0x430)]??0x0)),_0x2a8248[_0x33824f(0x2fa)](_0x3d8c75,{'text':this[_0x33824f(0xe1)],'color':_0x88d250}),_0x3d8c75[_0x33824f(0x169)]();}}['_getLighterColor'](_0x8c34a1){const _0x273f1d=_0x24817b;return _0x8c34a1[_0x273f1d(0x410)]('#')?'rgba('+Number[_0x273f1d(0xcd)](_0x8c34a1['slice'](0x1,0x3),0x10)+',\x20'+Number[_0x273f1d(0xcd)](_0x8c34a1[_0x273f1d(0x154)](0x3,0x5),0x10)+',\x20'+Number[_0x273f1d(0xcd)](_0x8c34a1[_0x273f1d(0x154)](0x5,0x7),0x10)+_0x273f1d(0x3f4):_0x8c34a1[_0x273f1d(0x410)](_0x273f1d(0x29e))?_0x8c34a1[_0x273f1d(0x102)](/[\d.]+\)$/g,'0.2)'):_0x8c34a1['startsWith']('rgb')?_0x8c34a1[_0x273f1d(0x102)](_0x273f1d(0x2e8),_0x273f1d(0x29e))[_0x273f1d(0x102)](')',_0x273f1d(0x3f4)):_0x8c34a1;}};let _0x44acce=class extends _0x7d6be[_0x24817b(0x2a4)]{constructor(_0x5c92df,_0x3c3fba,_0x501095,_0x3ab8b8){const _0x238a34=_0x24817b;super(),this[_0x238a34(0x413)]=_0x5c92df,this[_0x238a34(0x3fd)]=_0x3c3fba,this[_0x238a34(0x264)]=_0x501095,this[_0x238a34(0x31c)]=_0x3ab8b8,_0x1bbeaf(this,_0x238a34(0x2df),new Set()),_0x1bbeaf(this,'_lastPointer',null),_0x1bbeaf(this,_0x238a34(0x414),null),this['_init']();}['_init'](){const _0x2a96a8=_0x24817b;this[_0x2a96a8(0x3fd)][_0x2a96a8(0x1d7)]['pipe']((0x0,_0x22eaab['takeUntil'])(this['dispose$']),(0x0,_0x22eaab['switchMap'])(_0x58e938=>{const _0x573040=_0x2a96a8;if(_0x58e938){let _0x1b77de=_0x58e938[_0x573040(0x3b1)];return(0x0,_0x562b73[_0x573040(0x10c)])(this[_0x573040(0x264)][_0x573040(0x19f)](this[_0x573040(0x413)][_0x573040(0x2ed)]),this[_0x573040(0x31c)][_0x573040(0x26f)])[_0x573040(0x234)]((0x0,_0x22eaab[_0x573040(0x220)])(([_0x2eab13,_0x803f1])=>{let _0x3393c8=new Map();return _0x2eab13['forEach']((_0x18bb3c,_0x1901ca)=>{const _0xfb6697=_0x5355;if(_0x18bb3c[_0xfb6697(0x34e)]===_0x1b77de){let _0x5f3094={..._0x18bb3c};_0x5f3094[_0xfb6697(0xda)]=this[_0xfb6697(0x31c)][_0xfb6697(0xf0)](_0x18bb3c[_0xfb6697(0xda)]),_0x3393c8[_0xfb6697(0x250)](_0x1901ca,_0x5f3094);}}),{'skeleton':_0x58e938,'cursors':_0x3393c8};}));}return(0x0,_0x562b73['of'])({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x1cd51d,cursors:_0x121bf8})=>{const _0x3921ed=_0x2a96a8;this['_removeCollabCursors'](),_0x1cd51d&&this[_0x3921ed(0x380)](_0x1cd51d,_0x121bf8);}),this[_0x2a96a8(0x288)](this[_0x2a96a8(0x3fd)][_0x2a96a8(0x1d7)][_0x2a96a8(0x234)]((0x0,_0x22eaab[_0x2a96a8(0x2b4)])(this[_0x2a96a8(0x199)]))[_0x2a96a8(0x2f2)](_0x434949=>{const _0x918af8=_0x2a96a8;var _0x285795;if(_0x434949==null)return;(_0x285795=this[_0x918af8(0x414)])==null||_0x285795[_0x918af8(0x359)](),this[_0x918af8(0x414)]=null;let {skeleton:_0x18e8dc}=_0x434949,{scene:_0x553650}=this[_0x918af8(0x413)];this[_0x918af8(0x414)]=_0x553650['onPointerMove$'][_0x918af8(0x2eb)]((0x0,_0x7d6be['debounce'])(_0x4a07a8=>{const _0x18ceb1=_0x918af8;var _0x28e497,_0x17cd47;let {offsetX:_0x4cde9b,offsetY:_0x3506f8}=_0x4a07a8,{x:_0xdb3fa8,y:_0x37aee5}=_0x553650[_0x18ceb1(0x21e)](_0x362d45[_0x18ceb1(0x13f)][_0x18ceb1(0x328)]([_0x4cde9b,_0x3506f8])),{scaleX:_0x16af63,scaleY:_0x33d917}=_0x553650[_0x18ceb1(0x14d)](),_0xe232b=_0x553650[_0x18ceb1(0x2c1)](_0x362d45[_0x18ceb1(0x170)]['VIEW_MAIN']),_0x127046=_0x553650[_0x18ceb1(0x119)](_0x362d45[_0x18ceb1(0x13f)]['FromArray']([_0xdb3fa8,_0x37aee5]),_0xe232b),_0x560eae=_0x18e8dc[_0x18ceb1(0x211)](_0x4cde9b,_0x3506f8,_0x16af63,_0x33d917,_0x127046);(((_0x28e497=this[_0x18ceb1(0x3b7)])==null?void 0x0:_0x28e497['column'])!==_0x560eae[_0x18ceb1(0x168)]||((_0x17cd47=this['_lastPointer'])==null?void 0x0:_0x17cd47[_0x18ceb1(0x3f6)])!==_0x560eae[_0x18ceb1(0x3f6)])&&this['_cursors']['forEach'](_0xd08471=>{const _0x388abf=_0x18ceb1;_0xd08471[_0x388abf(0x1a0)](_0x560eae);});},0x64));})),this[_0x2a96a8(0x288)]((0x0,_0x7d6be[_0x2a96a8(0x12c)])(()=>{const _0x893783=_0x2a96a8;var _0x2fff3c;(_0x2fff3c=this['_pointerMoveDisposable'])==null||_0x2fff3c[_0x893783(0x359)](),this[_0x893783(0x414)]=null;}));}[_0x24817b(0x380)](_0x4b3dd5,_0x2111d2){const _0x51cd46=_0x24817b;let _0x196335=this['_sheetSkeletonManagerService'][_0x51cd46(0x33a)]();if(!_0x196335)return;let _0x45d47f=this[_0x51cd46(0x1ed)]();if(!_0x45d47f)return;this[_0x51cd46(0x2df)][_0x51cd46(0x366)](_0x259234=>{_0x259234['makeDirty']();});let {scene:_0x5d3718}=_0x45d47f,_0x4c77b2=_0x44546a(Array[_0x51cd46(0x2e0)](_0x2111d2[_0x51cd46(0x18f)]()))['map'](_0x2e7e77=>{const _0x9279a9=_0x51cd46;let {color:_0x351166,range:_0x2ba22d,name:_0x314223,selection:_0x2552b0,sheetID:_0x5b04e6}=_0x2e7e77,{startColumn:_0x9bff7e,startRow:_0x497302,endColumn:_0x18998a,endRow:_0x1c911a}=_0x2ba22d,_0xdc624e=(0x0,_0x353639[_0x9279a9(0x306)])(_0x497302,_0x9bff7e,_0x5d3718,_0x196335),_0x5aa364=(0x0,_0x353639['getCoordByCell'])(_0x1c911a,_0x18998a,_0x5d3718,_0x196335),{columnHeaderHeightAndMarginTop:_0x48cfb3}=_0x196335,{startX:_0x6cd7e5,startY:_0x3b5a55}=_0xdc624e,{endX:_0x3e2600,endY:_0x26b529}=_0x5aa364,_0x209e27=_0x3e2600-_0x6cd7e5,_0x3f217c=_0x26b529-_0x3b5a55;return new _0x17b682(_0x314223,{'labelPosition':_0x3b5a55-_0x48cfb3>=0x14?_0x9279a9(0x3f5):_0x9279a9(0x3ec),'sheetID':_0x5b04e6,'range':_0x2ba22d,'color':_0x351166,'name':_0x314223,'selection':_0x2552b0,'left':_0x6cd7e5,'top':_0x3b5a55,'width':_0x209e27,'height':_0x3f217c,'evented':!0x1,'zIndex':0x1389});});_0x5d3718['addObjects'](_0x4c77b2,0x1),this[_0x51cd46(0x2df)]=new Set(_0x4c77b2);}[_0x24817b(0x1e5)](){const _0x589872=_0x24817b;var _0x29f835;(_0x29f835=this[_0x589872(0x2df)])==null||_0x29f835['forEach'](_0x40d8f7=>_0x40d8f7[_0x589872(0x364)]());}[_0x24817b(0x1ed)](){const _0x14d344=_0x24817b;return(0x0,_0x353639[_0x14d344(0x24d)])(this['_context'][_0x14d344(0x30c)],this[_0x14d344(0x413)]);}};_0x44acce=_0x514f3a([_0x268b30(0x1,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x353639[_0x24817b(0x1e8)])),_0x268b30(0x2,(0x0,_0x7d6be['Inject'])(_0x5c63ae)),_0x268b30(0x3,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x7d6be[_0x24817b(0x336)]))],_0x44acce);function _0x44546a(_0x74fe31){const _0x5d5f5b=_0x24817b;let _0x4f57d5=new Map();return _0x74fe31[_0x5d5f5b(0x366)](_0x5334ca=>{const _0x294afc=_0x5d5f5b;if(_0x4f57d5[_0x294afc(0x2aa)](_0x5334ca['selection'])){let _0x351ea1=_0x4f57d5[_0x294afc(0x1df)](_0x5334ca[_0x294afc(0x122)]);_0x351ea1[_0x294afc(0x3c9)]+=',\x20'+_0x5334ca[_0x294afc(0x3c9)];}else _0x4f57d5[_0x294afc(0x250)](_0x5334ca[_0x294afc(0x122)],_0x5334ca);}),Array[_0x5d5f5b(0x2e0)](_0x4f57d5[_0x5d5f5b(0x18f)]());}function _0x1a56b1(_0x57dbf3){return typeof _0x57dbf3=='object'&&!!_0x57dbf3;}function _0x3d0553(_0x4daa4c){const _0x87bdc3=_0x24817b;return _0x4daa4c[_0x87bdc3(0x197)]===_0x45e7a9[_0x87bdc3(0x174)][_0x87bdc3(0x22e)]&&_0x87bdc3(0xf3)in _0x4daa4c&&_0x1a56b1(_0x4daa4c[_0x87bdc3(0xf3)])&&typeof _0x4daa4c[_0x87bdc3(0xf3)][_0x87bdc3(0x24f)]==_0x87bdc3(0xeb)&&typeof _0x4daa4c['data']['selection']=='string';}function _0x6fa544(_0x52c68a){const _0x3c6ebc=_0x24817b;return _0x52c68a[_0x3c6ebc(0x197)]===_0x45e7a9[_0x3c6ebc(0x174)][_0x3c6ebc(0x1b8)]&&_0x3c6ebc(0xf3)in _0x52c68a&&_0x1a56b1(_0x52c68a['data'])&&typeof _0x52c68a['data'][_0x3c6ebc(0x24f)]==_0x3c6ebc(0xeb);}function _0x37f0f3(_0xf8e254,_0x2aaaf6){const _0x399cb0=_0x24817b;let _0x22ed26;try{_0x22ed26=JSON[_0x399cb0(0x20e)](_0xf8e254);}catch{return null;}if(!_0x1a56b1(_0x22ed26)||typeof _0x22ed26[_0x399cb0(0x296)]!=_0x399cb0(0xeb)||typeof _0x22ed26[_0x399cb0(0x2ed)]!=_0x399cb0(0xeb)||typeof _0x22ed26[_0x399cb0(0x1c9)]!=_0x399cb0(0xeb))return null;let _0x161493=typeof _0x22ed26[_0x399cb0(0x324)]=='number'?_0x22ed26[_0x399cb0(0x324)]:_0x2aaaf6;if(_0x161493==null)return null;let _0x56616c=_0x1a56b1(_0x22ed26[_0x399cb0(0x387)])&&typeof _0x22ed26[_0x399cb0(0x387)]['x']==_0x399cb0(0x312)&&Number[_0x399cb0(0x111)](_0x22ed26[_0x399cb0(0x387)]['x'])&&typeof _0x22ed26[_0x399cb0(0x387)]['y']==_0x399cb0(0x312)&&Number[_0x399cb0(0x111)](_0x22ed26[_0x399cb0(0x387)]['y'])?{'x':_0x22ed26[_0x399cb0(0x387)]['x'],'y':_0x22ed26['pointer']['y']}:null;return{'kind':_0x22ed26[_0x399cb0(0x296)],'unitType':_0x161493,'unitId':_0x22ed26[_0x399cb0(0x2ed)],'subUnitId':_0x22ed26[_0x399cb0(0x1c9)],'selectedIds':Array[_0x399cb0(0x3ae)](_0x22ed26[_0x399cb0(0x15c)])?_0x22ed26[_0x399cb0(0x15c)][_0x399cb0(0x3ca)](_0x5519ea=>typeof _0x5519ea==_0x399cb0(0xeb)):[],'focusedId':typeof _0x22ed26[_0x399cb0(0x2bf)]==_0x399cb0(0xeb)?_0x22ed26[_0x399cb0(0x2bf)]:null,'pointer':_0x56616c};}function _0x582969(_0x215bed,_0x51a113,_0x57e936){const _0x36a244=_0x24817b;return{'kind':_0x51a113,'unitType':_0x215bed,'unitId':_0x57e936[_0x36a244(0x2ed)],'subUnitId':_0x57e936[_0x36a244(0x1c9)],'selectedIds':Array['from'](_0x57e936[_0x36a244(0x15c)]),'focusedId':_0x57e936[_0x36a244(0x2bf)],'pointer':_0x57e936[_0x36a244(0x387)]?{..._0x57e936[_0x36a244(0x387)]}:null};}let _0x40c8f7=class extends _0x7d6be['RxDisposable']{constructor(_0x349314,_0x5a1b67,_0x4a96e9,_0x4599f2,_0x52667d,_0x4ba231){const _0x1f9a10=_0x24817b;super(),this[_0x1f9a10(0x2ed)]=_0x349314,this[_0x1f9a10(0x1bf)]=_0x5a1b67,this[_0x1f9a10(0x3bf)]=_0x4a96e9,this['_colorAssignService']=_0x4599f2,this[_0x1f9a10(0x18c)]=_0x52667d,this[_0x1f9a10(0x32d)]=_0x4ba231,_0x1bbeaf(this,'_online',!0x1),_0x1bbeaf(this,_0x1f9a10(0x32b),!0x1);}get['unitType'](){return this['_adapter']['unitType'];}[_0x24817b(0x364)](){const _0x3699c0=_0x24817b;this[_0x3699c0(0x320)](),super[_0x3699c0(0x364)]();}[_0x24817b(0x176)](){const _0x437a10=_0x24817b;this['_initialized']||(this[_0x437a10(0x32b)]=!0x0,this[_0x437a10(0x1bf)][_0x437a10(0x157)][_0x437a10(0x234)]((0x0,_0x562b73[_0x437a10(0x2b4)])(this[_0x437a10(0x199)]))['subscribe'](_0x1317d3=>{const _0x119370=_0x437a10;if(_0x1317d3===_0x4d4217[_0x119370(0xd3)]['ONLINE']){this[_0x119370(0x2e4)]=!0x0;let _0x454a48=this[_0x119370(0x3bf)][_0x119370(0x166)](this[_0x119370(0x2ed)]);_0x454a48&&this[_0x119370(0xe5)](_0x454a48);return;}this[_0x119370(0x2e4)]=!0x1,this['_clearRemotePresences']();}),this[_0x437a10(0x1bf)]['event$'][_0x437a10(0x234)]((0x0,_0x562b73[_0x437a10(0x2b4)])(this[_0x437a10(0x199)]))[_0x437a10(0x2f2)](_0x4f8e62=>{const _0x293797=_0x437a10;_0x3d0553(_0x4f8e62)?this[_0x293797(0x33e)](_0x4f8e62):_0x6fa544(_0x4f8e62)&&this[_0x293797(0x1cb)](_0x4f8e62['data'][_0x293797(0x24f)]);}),this['_adapter']['localPresence$'][_0x437a10(0x234)]((0x0,_0x562b73[_0x437a10(0x3ca)])(_0x2fdf6b=>this['_online']&&_0x2fdf6b[_0x437a10(0x2ed)]===this[_0x437a10(0x2ed)]),(0x0,_0x562b73[_0x437a10(0x3f8)])(_0x2e84b8=>(0x0,_0x562b73['timer'])(_0x2e84b8[_0x437a10(0x38f)]),{'leading':!0x0,'trailing':!0x0}),(0x0,_0x562b73[_0x437a10(0x2b4)])(this['dispose$']))[_0x437a10(0x2f2)](_0x1670ac=>this[_0x437a10(0xe5)](_0x1670ac)));}[_0x24817b(0xe5)](_0x1babaf){const _0x2c9857=_0x24817b;let _0x46f334=this[_0x2c9857(0x1bf)][_0x2c9857(0x266)]();if(!_0x46f334||!this[_0x2c9857(0x2e4)])return;let _0x1a5942={'eventID':_0x45e7a9[_0x2c9857(0x174)][_0x2c9857(0x22e)],'data':{'unitID':this[_0x2c9857(0x2ed)],'memberID':_0x46f334,'selection':JSON[_0x2c9857(0xfb)](_0x582969(this[_0x2c9857(0x324)],this['_adapter'][_0x2c9857(0x3d1)],_0x1babaf))}};this[_0x2c9857(0x1bf)]['send'](_0x1a5942,this[_0x2c9857(0x2ed)])[_0x2c9857(0x344)](()=>void 0x0);}[_0x24817b(0x33e)](_0x4268b9){const _0xf2fdd9=_0x24817b;let {memberID:_0x354c84,selection:_0x30f9b0}=_0x4268b9[_0xf2fdd9(0xf3)];if(_0x354c84===this['_session'][_0xf2fdd9(0x266)]())return;let _0x535f19=_0x37f0f3(_0x30f9b0,this['unitType']);if(!_0x535f19||_0x535f19['kind']!==this['_adapter'][_0xf2fdd9(0x3d1)]||_0x535f19[_0xf2fdd9(0x324)]!==this[_0xf2fdd9(0x324)]||_0x535f19[_0xf2fdd9(0x2ed)]!==this['unitId'])return;let _0x51922d=this[_0xf2fdd9(0x18c)][_0xf2fdd9(0x193)](this['unitId'],_0x354c84),_0x442ba2={'unitId':_0x535f19[_0xf2fdd9(0x2ed)],'subUnitId':_0x535f19['subUnitId'],'selectedIds':_0x535f19['selectedIds'],'focusedId':_0x535f19[_0xf2fdd9(0x2bf)],'pointer':_0x535f19[_0xf2fdd9(0x387)],'memberId':_0x354c84,'color':this[_0xf2fdd9(0x17a)][_0xf2fdd9(0x21a)](_0x354c84),'name':(_0x51922d==null?void 0x0:_0x51922d[_0xf2fdd9(0x3c9)])??_0x354c84};this[_0xf2fdd9(0x32d)]['executeCommand'](_0x47d78c['id'],{'unitType':this['unitType'],'update':{'type':_0xf2fdd9(0x250),'state':_0x442ba2}})[_0xf2fdd9(0x344)](()=>void 0x0);}[_0x24817b(0x1cb)](_0xf3ec85){const _0x422964=_0x24817b;this[_0x422964(0x32d)][_0x422964(0x2b7)](_0x47d78c['id'],{'unitType':this[_0x422964(0x324)],'update':{'type':_0x422964(0x3cc),'unitId':this[_0x422964(0x2ed)],'memberId':_0xf3ec85}})['catch'](()=>void 0x0);}['_clearRemotePresences'](){const _0x532f49=_0x24817b;this[_0x532f49(0x32d)][_0x532f49(0x2b7)](_0x47d78c['id'],{'unitType':this[_0x532f49(0x324)],'update':{'type':_0x532f49(0x100),'unitId':this[_0x532f49(0x2ed)]}})['catch'](()=>void 0x0);}};_0x40c8f7=_0x514f3a([_0x268b30(0x3,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x21a798)),_0x268b30(0x4,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x4d4217[_0x24817b(0x36a)])),_0x268b30(0x5,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x7d6be[_0x24817b(0x30b)]))],_0x40c8f7);let _0x3507dd=class extends _0x7d6be[_0x24817b(0x2a4)]{constructor(_0x4e4575,_0x156b08,_0x3a6ed4,_0x1a8708){const _0x5473d8=_0x24817b;super(),this[_0x5473d8(0x3c0)]=_0x4e4575,this['_injector']=_0x156b08,this[_0x5473d8(0x1d6)]=_0x3a6ed4,this[_0x5473d8(0x37a)]=_0x1a8708,_0x1bbeaf(this,_0x5473d8(0x223),!0x1),_0x1bbeaf(this,'_entities',new Map()),_0x1bbeaf(this,_0x5473d8(0x360),new Map()),_0x1bbeaf(this,_0x5473d8(0x186),new Map()),this[_0x5473d8(0x3a2)]();}['dispose'](){const _0x4f50cf=_0x24817b;this[_0x4f50cf(0x223)]=!0x0,this['_adapterDisposables'][_0x4f50cf(0x366)](_0x34c1d=>_0x34c1d[_0x4f50cf(0x364)]()),this[_0x4f50cf(0x186)][_0x4f50cf(0x100)](),this[_0x4f50cf(0x162)][_0x4f50cf(0x366)](_0x5010f1=>_0x5010f1[_0x4f50cf(0x364)]()),this[_0x4f50cf(0x162)]['clear'](),this[_0x4f50cf(0x360)][_0x4f50cf(0x100)](),super['dispose']();}[_0x24817b(0x3a2)](){const _0x464ccc=_0x24817b;this[_0x464ccc(0x37a)]['adapters$'][_0x464ccc(0x234)]((0x0,_0x562b73[_0x464ccc(0x2b4)])(this[_0x464ccc(0x199)]))[_0x464ccc(0x2f2)](_0x315976=>this[_0x464ccc(0x17c)](_0x315976));}[_0x24817b(0x17c)](_0x3f1aaa){const _0x33c878=_0x24817b;let _0x34251f=new Set(_0x3f1aaa['map'](_0x2b6c6f=>_0x2b6c6f[_0x33c878(0x324)]));this[_0x33c878(0x186)]['forEach']((_0x2ee4c0,_0x10c559)=>{const _0x2bc8b7=_0x33c878;_0x34251f[_0x2bc8b7(0x2aa)](_0x10c559)||(_0x2ee4c0[_0x2bc8b7(0x364)](),this['_adapterDisposables'][_0x2bc8b7(0x3c2)](_0x10c559),this[_0x2bc8b7(0x148)](_0x10c559));}),_0x3f1aaa['forEach'](_0x5950fd=>{const _0x31eee6=_0x33c878;this[_0x31eee6(0x186)][_0x31eee6(0x2aa)](_0x5950fd[_0x31eee6(0x324)])||this['_bindAdapter'](_0x5950fd);});}[_0x24817b(0x38b)](_0x3339de){const _0x11e9d9=_0x24817b;let _0x159e89=new _0x7d6be[(_0x11e9d9(0xd1))]();this[_0x11e9d9(0x186)][_0x11e9d9(0x250)](_0x3339de[_0x11e9d9(0x324)],_0x159e89),_0x159e89[_0x11e9d9(0x249)](_0x3339de[_0x11e9d9(0x12a)]()),this[_0x11e9d9(0x3c0)]['getAllUnitsForType'](_0x3339de[_0x11e9d9(0x324)])['forEach'](_0x5734c3=>this[_0x11e9d9(0x23b)](_0x5734c3[_0x11e9d9(0x2d9)](),_0x3339de)[_0x11e9d9(0x344)](()=>void 0x0));let _0x4565ef=this[_0x11e9d9(0x3c0)][_0x11e9d9(0x1ea)](_0x3339de[_0x11e9d9(0x324)])['subscribe'](({unit:_0x155ae7})=>this['_startEntity'](_0x155ae7[_0x11e9d9(0x2d9)](),_0x3339de)[_0x11e9d9(0x344)](()=>void 0x0));_0x159e89[_0x11e9d9(0x249)]((0x0,_0x7d6be[_0x11e9d9(0x12c)])(()=>_0x4565ef[_0x11e9d9(0x359)]()));let _0x4d9d1f=this[_0x11e9d9(0x3c0)]['getTypeOfUnitDisposed$'](_0x3339de[_0x11e9d9(0x324)])[_0x11e9d9(0x2f2)](_0x4acdf4=>this['_disposeEntity'](_0x4acdf4['getUnitId']()));_0x159e89[_0x11e9d9(0x249)]((0x0,_0x7d6be[_0x11e9d9(0x12c)])(()=>_0x4d9d1f['unsubscribe']()));}async[_0x24817b(0x23b)](_0x4933f0,_0x3670d8){const _0x4430ce=_0x24817b;if(this[_0x4430ce(0x162)]['has'](_0x4933f0)||this['_pendingEntities']['has'](_0x4933f0))return;let _0x1dbed1={};this[_0x4430ce(0x360)][_0x4430ce(0x250)](_0x4933f0,_0x1dbed1);let _0x22e4d3=await this[_0x4430ce(0x1d6)]['requireSession'](_0x4933f0)[_0x4430ce(0x344)](_0x2fa196=>{const _0x411141=_0x4430ce;throw this['_pendingEntities']['get'](_0x4933f0)===_0x1dbed1&&this[_0x411141(0x360)]['delete'](_0x4933f0),_0x2fa196;});if(this[_0x4430ce(0x223)]||this[_0x4430ce(0x360)][_0x4430ce(0x1df)](_0x4933f0)!==_0x1dbed1||this[_0x4430ce(0x37a)][_0x4430ce(0x1df)](_0x3670d8[_0x4430ce(0x324)])!==_0x3670d8){this[_0x4430ce(0x360)][_0x4430ce(0x1df)](_0x4933f0)===_0x1dbed1&&this['_pendingEntities'][_0x4430ce(0x3c2)](_0x4933f0);return;}let _0x125bd7=this[_0x4430ce(0x160)][_0x4430ce(0x19b)](_0x40c8f7,_0x4933f0,_0x22e4d3,_0x3670d8);_0x125bd7[_0x4430ce(0x176)](),this[_0x4430ce(0x360)][_0x4430ce(0x3c2)](_0x4933f0),this[_0x4430ce(0x162)][_0x4430ce(0x250)](_0x4933f0,_0x125bd7);}['_disposeEntity'](_0x490b4a){const _0x38b876=_0x24817b;this[_0x38b876(0x360)][_0x38b876(0x3c2)](_0x490b4a);let _0xc0d4dc=this[_0x38b876(0x162)][_0x38b876(0x1df)](_0x490b4a);_0xc0d4dc&&(_0xc0d4dc[_0x38b876(0x364)](),this[_0x38b876(0x162)][_0x38b876(0x3c2)](_0x490b4a));}[_0x24817b(0x148)](_0xd0e14b){const _0x3c812f=_0x24817b;this[_0x3c812f(0x3c0)]['getAllUnitsForType'](_0xd0e14b)[_0x3c812f(0x366)](_0xad3b78=>this[_0x3c812f(0x360)][_0x3c812f(0x3c2)](_0xad3b78[_0x3c812f(0x2d9)]())),Array[_0x3c812f(0x2e0)](this[_0x3c812f(0x162)]['entries']())[_0x3c812f(0x366)](([_0x11f8f3,_0x1588f9])=>{const _0x1803be=_0x3c812f;_0x1588f9['unitType']===_0xd0e14b&&this[_0x1803be(0x226)](_0x11f8f3);});}};_0x3507dd=_0x514f3a([_0x268b30(0x0,_0x7d6be[_0x24817b(0x2d0)]),_0x268b30(0x1,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x7d6be[_0x24817b(0x424)])),_0x268b30(0x2,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x4d4217[_0x24817b(0x3a5)])),_0x268b30(0x3,(0x0,_0x7d6be['Inject'])(_0x58b3ba[_0x24817b(0x151)]))],_0x3507dd);let _0x20e279=class extends _0x7d6be[_0x24817b(0x294)]{constructor(_0x228946,_0x35677b,_0x488bd7,_0x107dea,_0x507a9b,_0x22ed99){const _0x161675=_0x24817b;super(),this[_0x161675(0x1ec)]=_0x228946,this[_0x161675(0x3a6)]=_0x35677b,this['_collaborationUIEventService']=_0x488bd7,this[_0x161675(0x308)]=_0x107dea,this[_0x161675(0x16d)]=_0x507a9b,this['_localeService']=_0x22ed99,this[_0x161675(0x1ba)](),this[_0x161675(0x39e)]();}[_0x24817b(0x1ba)](){const _0x5bdebd=_0x24817b;this['disposeWithMe'](this[_0x5bdebd(0x1ec)][_0x5bdebd(0x3ac)](()=>{const _0x3f1de0=_0x5bdebd;if(this[_0x3f1de0(0x3a6)][_0x3f1de0(0x32f)]['size'])return this['_localeService']['t'](_0x3f1de0(0x146));}));}['_initEvent'](){const _0x3b6121=_0x24817b;this[_0x3b6121(0x288)](this['_collaborationUIEventService']['event$'][_0x3b6121(0x2f2)](_0x283308=>{const _0x5d9922=_0x3b6121;_0x283308['id']===_0x4d4217['CollaborationUIEventId'][_0x5d9922(0x3f3)]&&this['_messageService'][_0x5d9922(0x216)]({'type':_0x1e67e2[_0x5d9922(0x37b)][_0x5d9922(0x29a)],'content':this[_0x5d9922(0x319)]['t'](_0x5d9922(0x301))}),_0x283308['id']===_0x4d4217[_0x5d9922(0x325)][_0x5d9922(0x286)]&&this[_0x5d9922(0x308)]['show']({'type':_0x1e67e2[_0x5d9922(0x37b)][_0x5d9922(0x29a)],'content':this[_0x5d9922(0x319)]['t'](_0x5d9922(0x228))}),_0x283308['id']===_0x4d4217[_0x5d9922(0x325)][_0x5d9922(0xce)]&&this['_notificationService'][_0x5d9922(0x216)]({'title':this['_localeService']['t'](_0x5d9922(0x2f6)),'content':this[_0x5d9922(0x319)]['t'](_0x5d9922(0xb9)),'type':'error','duration':0x0}),_0x283308['id']===_0x4d4217['CollaborationUIEventId'][_0x5d9922(0x417)]&&this[_0x5d9922(0x16d)][_0x5d9922(0x216)]({'title':this['_localeService']['t'](_0x5d9922(0x3f7)),'content':this[_0x5d9922(0x319)]['t'](_0x5d9922(0x2a1)),'type':_0x5d9922(0x41a),'duration':0x0}),_0x283308['id']===_0x4d4217[_0x5d9922(0x325)][_0x5d9922(0x1a8)]&&this[_0x5d9922(0x308)][_0x5d9922(0x216)]({'type':_0x1e67e2[_0x5d9922(0x37b)][_0x5d9922(0x29a)],'content':this[_0x5d9922(0x319)]['t'](_0x283308[_0x5d9922(0xf3)]||'')}),_0x283308['id']===_0x4d4217[_0x5d9922(0x325)]['SOCKET_FAILED_RETRY']&&this[_0x5d9922(0x308)][_0x5d9922(0x216)]({'type':_0x1e67e2[_0x5d9922(0x37b)]['Warning'],'content':this[_0x5d9922(0x319)]['t']('collaboration-client-ui.session.will-retry')}),_0x283308['id']===_0x4d4217[_0x5d9922(0x325)][_0x5d9922(0x11d)]&&this[_0x5d9922(0x308)][_0x5d9922(0x216)]({'type':_0x1e67e2[_0x5d9922(0x37b)][_0x5d9922(0xb4)],'content':this['_localeService']['t'](_0x5d9922(0x108))}),_0x283308['id']===_0x4d4217[_0x5d9922(0x325)][_0x5d9922(0x1c1)]&&this['_messageService'][_0x5d9922(0x216)]({'type':_0x1e67e2[_0x5d9922(0x37b)][_0x5d9922(0xb4)],'content':this[_0x5d9922(0x319)]['t'](_0x5d9922(0xfa))});}));}};_0x20e279=_0x514f3a([_0x268b30(0x0,_0x58b3ba[_0x24817b(0x23c)]),_0x268b30(0x1,_0x4d4217[_0x24817b(0x354)]),_0x268b30(0x2,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x4d4217[_0x24817b(0x131)])),_0x268b30(0x3,_0x58b3ba[_0x24817b(0x237)]),_0x268b30(0x4,_0x58b3ba[_0x24817b(0x2a5)]),_0x268b30(0x5,(0x0,_0x7d6be['Inject'])(_0x7d6be['LocaleService']))],_0x20e279);let _0x1e2af4=(0x0,_0x7d6be[_0x24817b(0x143)])(_0x24817b(0x16c)),_0x50024a=class extends _0x7d6be[_0x24817b(0x2a4)]{constructor(_0x1d7d83,_0x2b6f1e,_0x3081b2,_0x5ecfb8){const _0x1fa722=_0x24817b;super(),this['_urlService']=_0x1d7d83,this[_0x1fa722(0x396)]=_0x2b6f1e,this[_0x1fa722(0x32d)]=_0x3081b2,this[_0x1fa722(0x188)]=_0x5ecfb8,this[_0x1fa722(0x3a2)]()[_0x1fa722(0x344)](_0x2ab67a=>this[_0x1fa722(0x396)][_0x1fa722(0x41a)](_0x1fa722(0xd7),_0x2ab67a));}async['_init'](){const _0x2202c1=_0x24817b;let _0xc381e1=this[_0x2202c1(0x23e)][_0x2202c1(0x281)](_0x2202c1(0x30c)),_0x43ad15=this[_0x2202c1(0x23e)][_0x2202c1(0x281)](_0x2202c1(0x1cf)),_0x523a3d=this['_urlService'][_0x2202c1(0x281)](_0x2202c1(0xf5));if(!_0xc381e1||!_0x43ad15){this['_logService'][_0x2202c1(0x1b0)](_0x2202c1(0xd7),_0x2202c1(0x184));return;}let _0x12c27e=await this['_dataLoaderService']['loadUnit'](_0xc381e1,Number(_0x43ad15),_0x523a3d);this['_disposed']||_0x12c27e&&_0x12c27e instanceof _0x7d6be[_0x2202c1(0x1cd)]&&await this[_0x2202c1(0x416)](_0x12c27e);}async[_0x24817b(0x416)](_0x31f90b){const _0x51d241=_0x24817b;await this[_0x51d241(0x25e)](_0x31f90b),!this[_0x51d241(0xcf)]&&(_0x31f90b[_0x51d241(0x222)][_0x51d241(0x234)]((0x0,_0x562b73[_0x51d241(0x2b4)])(this[_0x51d241(0x199)]))['subscribe'](_0x35621b=>{const _0xcf203c=_0x51d241;_0x35621b&&this[_0xcf203c(0x1e4)](_0x35621b);}),this['_urlService'][_0x51d241(0x2bb)]['pipe']((0x0,_0x562b73[_0x51d241(0x2b4)])(this['dispose$']))[_0x51d241(0x2f2)](()=>{const _0x40674d=_0x51d241;this[_0x40674d(0x25e)](_0x31f90b)[_0x40674d(0x344)](_0x4eab92=>this[_0x40674d(0x396)][_0x40674d(0x41a)](_0x40674d(0xd7),_0x4eab92));}));}[_0x24817b(0x1e4)](_0x2c601d,_0x51cf51=!0x1){const _0x1b299c=_0x24817b;let _0x93dcd6=this['_urlService'][_0x1b299c(0x281)](_0x1b299c(0xf5));_0x2c601d[_0x1b299c(0xbb)]()!==_0x93dcd6&&this[_0x1b299c(0x23e)][_0x1b299c(0x3e5)](_0x1b299c(0xf5),_0x2c601d[_0x1b299c(0xbb)](),_0x51cf51);}async[_0x24817b(0x25e)](_0x345a49){const _0x2b9819=_0x24817b;var _0x47dda3;let _0x5090b7=this[_0x2b9819(0x23e)][_0x2b9819(0x281)](_0x2b9819(0xf5));if(!_0x5090b7||!_0x345a49[_0x2b9819(0x35a)](_0x5090b7)){let _0x2fa6bf=_0x345a49[_0x2b9819(0xfe)]()[0x0],_0x1aaa0e=_0x345a49[_0x2b9819(0x35a)](_0x2fa6bf);if(!_0x1aaa0e||(this[_0x2b9819(0x1e4)](_0x1aaa0e,!0x0),this['_disposed']))return;await this[_0x2b9819(0x32d)][_0x2b9819(0x2b7)](_0x25f230[_0x2b9819(0x3a4)]['id'],{'unitId':_0x345a49[_0x2b9819(0x2d9)](),'subUnitId':_0x2fa6bf});return;}((_0x47dda3=_0x345a49[_0x2b9819(0x1ad)]())==null?void 0x0:_0x47dda3[_0x2b9819(0xbb)]())!==_0x5090b7&&await this[_0x2b9819(0x32d)]['executeCommand'](_0x25f230[_0x2b9819(0x3a4)]['id'],{'unitId':_0x345a49['getUnitId'](),'subUnitId':_0x5090b7});}};_0x50024a=_0x514f3a([_0x268b30(0x0,_0x1e2af4),_0x268b30(0x1,_0x7d6be[_0x24817b(0x19a)]),_0x268b30(0x2,_0x7d6be[_0x24817b(0x30b)]),_0x268b30(0x3,(0x0,_0x7d6be['Inject'])(_0x4d4217[_0x24817b(0x34f)]))],_0x50024a);let _0xfe47c1=class{constructor(_0x1b1b1d,_0x2040ba){const _0x29ee66=_0x24817b;this[_0x29ee66(0xb7)]=_0x1b1b1d,this[_0x29ee66(0x187)]=_0x2040ba;}[_0x24817b(0x1a6)](_0x3c39c8){const _0x30b138=_0x24817b;this[_0x30b138(0xf7)](_0x3c39c8),this['_transformPreviousActiveRange'](_0x3c39c8);}['transformRemoteChangeset'](_0x25a050){const _0x34dc35=_0x24817b;let {unitID:_0x10f20a}=_0x25a050,{redoCache:_0x56a778}=this[_0x34dc35(0x187)][_0x34dc35(0x3cb)](_0x10f20a)[_0x34dc35(0x22c)](_0x113b6e[_0x34dc35(0x363)])[_0x34dc35(0x3e1)]();if(_0x56a778[_0x34dc35(0xef)]===0x0)return _0x25a050;let _0x191b2d=_0x7d6be[_0x34dc35(0x342)][_0x34dc35(0x1d9)](_0x25a050[_0x34dc35(0xf4)][0x0]);for(let _0x53eeb7=0x0;_0x53eeb7<_0x56a778[_0x34dc35(0xef)];_0x53eeb7++){let _0x24ba15={'id':_0x34dc35(0x2c8),'params':{..._0x56a778[_0x53eeb7]}},_0x464840=this[_0x34dc35(0xb7)]['transformMutation'](_0x191b2d,_0x24ba15,!0x1);if((0x0,_0x45e7a9[_0x34dc35(0xd4)])(_0x464840))throw _0x464840['error'];_0x191b2d=_0x464840[_0x34dc35(0x270)];}return{..._0x7d6be[_0x34dc35(0x342)][_0x34dc35(0x1d9)](_0x25a050),'mutations':[_0x191b2d]};}['_transformUndoRedoStack'](_0x3252e9){const _0x490942=_0x24817b;let {unitID:_0xfe5bc4}=_0x3252e9,_0x4da5b1=this['_renderManagerService']['getRenderUnitById'](_0xfe5bc4)[_0x490942(0x22c)](_0x113b6e[_0x490942(0x363)]),{undoCache:_0x26b0bc,redoCache:_0x4a2ea1}=_0x4da5b1[_0x490942(0x3e1)]();if(_0x26b0bc[_0x490942(0xef)]===0x0||_0x4a2ea1[_0x490942(0xef)]===0x0)return;let _0x63cd5e=[],_0x1706a4=[],_0x15e50e=_0x7d6be[_0x490942(0x342)][_0x490942(0x1d9)](_0x3252e9[_0x490942(0xf4)][0x0]),_0x565a55=_0x7d6be[_0x490942(0x342)][_0x490942(0x1d9)](_0x3252e9[_0x490942(0xf4)][0x0]);for(let _0x4e7ba6=_0x26b0bc['length']-0x1;_0x4e7ba6>=0x0;_0x4e7ba6--){let _0x39a6a9={'id':_0x490942(0x2c8),'params':{..._0x26b0bc[_0x4e7ba6]}},_0x3648fa={'id':_0x490942(0x2c8),'params':{..._0x4a2ea1[_0x4e7ba6]}},_0x22aae9=this[_0x490942(0xb7)][_0x490942(0x29d)](_0x15e50e,_0x39a6a9,!0x1),_0x5c643a=this[_0x490942(0xb7)][_0x490942(0x29d)](_0x565a55,_0x3648fa,!0x1);if((0x0,_0x45e7a9['isTransformMutationFailure'])(_0x22aae9))throw _0x22aae9[_0x490942(0x41a)];if((0x0,_0x45e7a9[_0x490942(0xd4)])(_0x5c643a))throw _0x5c643a[_0x490942(0x41a)];_0x63cd5e[_0x490942(0x182)](_0x22aae9[_0x490942(0x307)][_0x490942(0x218)]),_0x1706a4[_0x490942(0x182)](_0x5c643a[_0x490942(0x307)][_0x490942(0x218)]),_0x15e50e=_0x22aae9[_0x490942(0x270)],_0x565a55=_0x5c643a[_0x490942(0x270)];}_0x4da5b1[_0x490942(0x1f0)]({'undoCache':_0x63cd5e,'redoCache':_0x1706a4});}[_0x24817b(0x329)](_0x3a892c){const _0x4b8483=_0x24817b;let {unitID:_0x14ca62}=_0x3a892c,_0x1509b0=this[_0x4b8483(0x187)][_0x4b8483(0x3cb)](_0x14ca62)[_0x4b8483(0x22c)](_0x113b6e['DocIMEInputManagerService']),_0x59b17b=_0x1509b0[_0x4b8483(0x30a)]();if(_0x59b17b==null)return;let _0x38e16c=[{'id':_0x4b8483(0x2c8),'params':{'unitId':_0x3a892c['unitID'],'actions':null,'textRanges':[_0x59b17b]}}],_0x5d389f=this[_0x4b8483(0xb7)]['transformMutationsWithChangeset'](_0x3a892c,_0x38e16c);if(!(0x0,_0x45e7a9[_0x4b8483(0x3c7)])(_0x5d389f))throw _0x5d389f['error'];let _0x1bcb01=_0x5d389f[_0x4b8483(0x307)][0x0][_0x4b8483(0x218)][_0x4b8483(0x198)];Array[_0x4b8483(0x3ae)](_0x1bcb01)&&_0x1bcb01[_0x4b8483(0xef)]&&_0x1509b0[_0x4b8483(0x1cc)](_0x1bcb01[0x0]);}};_0xfe47c1=_0x514f3a([_0x268b30(0x0,_0x45e7a9[_0x24817b(0x302)]),_0x268b30(0x1,_0x362d45[_0x24817b(0x275)])],_0xfe47c1);let _0x3d85b7=class{constructor(_0x66824a,_0x336571,_0x1d5395){const _0x53341c=_0x24817b;this[_0x53341c(0x160)]=_0x66824a,this[_0x53341c(0xb7)]=_0x336571,this[_0x53341c(0x2d7)]=_0x1d5395;}['transformStateCache'](_0x36689c){this['_transformHistoryAndStateStack'](_0x36689c);}[_0x24817b(0x25a)](_0x430459){const _0x456d31=_0x24817b;let {unitID:_0x2df5ce}=_0x430459,{collaboration:_0x2af4b2}=this[_0x456d31(0x2d7)][_0x456d31(0x25b)](_0x2df5ce);if(_0x2af4b2['length']===0x0)return _0x430459;let _0x3f80c6=_0x7d6be[_0x456d31(0x342)][_0x456d31(0x1d9)](_0x430459[_0x456d31(0xf4)][0x0]);for(let _0x5a0b23=0x0;_0x5a0b23<_0x2af4b2[_0x456d31(0xef)];_0x5a0b23++){let _0x53fbd7={'id':_0x456d31(0x2c8),'params':{'unitId':_0x2af4b2[_0x5a0b23][_0x456d31(0x2ed)],..._0x2af4b2[_0x5a0b23][_0x456d31(0x2b3)]}},_0x4e9e31=this[_0x456d31(0xb7)][_0x456d31(0x29d)](_0x3f80c6,_0x53fbd7,!0x1);if((0x0,_0x45e7a9[_0x456d31(0xd4)])(_0x4e9e31))throw _0x4e9e31[_0x456d31(0x41a)];_0x3f80c6=_0x4e9e31[_0x456d31(0x270)];}return{..._0x7d6be[_0x456d31(0x342)]['deepClone'](_0x430459),'mutations':[_0x3f80c6]};}['_transformHistoryAndStateStack'](_0x3b1447){const _0x1979db=_0x24817b;let {unitID:_0x35f95c}=_0x3b1447,{history:_0x4d5a79,collaboration:_0x137eb7}=this[_0x1979db(0x2d7)]['getStateCache'](_0x35f95c);if(_0x4d5a79[_0x1979db(0xef)]===0x0&&_0x137eb7[_0x1979db(0xef)]===0x0)return;let _0x43613c=[],_0x573dae=[],_0x27b4af=_0x7d6be[_0x1979db(0x342)][_0x1979db(0x1d9)](_0x3b1447['mutations'][0x0]),_0x220d8c=_0x7d6be[_0x1979db(0x342)][_0x1979db(0x1d9)](_0x3b1447['mutations'][0x0]);for(let _0x44ff2c=_0x4d5a79['length']-0x1;_0x44ff2c>=0x0;_0x44ff2c--){let _0x5847fc={'id':_0x1979db(0x2c8),'params':{'unitId':_0x4d5a79[_0x44ff2c][_0x1979db(0x2ed)],..._0x4d5a79[_0x44ff2c][_0x1979db(0x24b)]}},_0x4e0249={'id':_0x1979db(0x2c8),'params':{'unitId':_0x4d5a79[_0x44ff2c][_0x1979db(0x2ed)],..._0x4d5a79[_0x44ff2c][_0x1979db(0x2b3)]}},_0x45e2f0=this[_0x1979db(0xb7)][_0x1979db(0x29d)](_0x27b4af,_0x5847fc,!0x1),_0x2bdbee=this['_transformService']['transformMutation'](_0x220d8c,_0x4e0249,!0x1);if((0x0,_0x45e7a9[_0x1979db(0xd4)])(_0x45e2f0))throw _0x45e2f0[_0x1979db(0x41a)];if((0x0,_0x45e7a9[_0x1979db(0xd4)])(_0x2bdbee))throw _0x2bdbee[_0x1979db(0x41a)];_0x43613c[_0x1979db(0x182)]({..._0x4d5a79[_0x44ff2c],'undoState':_0x45e2f0[_0x1979db(0x307)]['params'],'redoState':_0x2bdbee[_0x1979db(0x307)]['params']}),_0x27b4af=_0x45e2f0[_0x1979db(0x270)],_0x220d8c=_0x2bdbee['m1Prime'];}_0x27b4af=_0x7d6be[_0x1979db(0x342)][_0x1979db(0x1d9)](_0x3b1447['mutations'][0x0]),_0x220d8c=_0x7d6be[_0x1979db(0x342)][_0x1979db(0x1d9)](_0x3b1447['mutations'][0x0]);for(let _0x558506=_0x137eb7[_0x1979db(0xef)]-0x1;_0x558506>=0x0;_0x558506--){let _0xdf72f1={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x137eb7[_0x558506][_0x1979db(0x2ed)],..._0x137eb7[_0x558506][_0x1979db(0x24b)]}},_0xa98c77={'id':_0x1979db(0x2c8),'params':{'unitId':_0x137eb7[_0x558506][_0x1979db(0x2ed)],..._0x137eb7[_0x558506][_0x1979db(0x2b3)]}},_0x5c5637=this[_0x1979db(0xb7)][_0x1979db(0x29d)](_0x27b4af,_0xdf72f1,!0x1),_0x1386ab=this[_0x1979db(0xb7)]['transformMutation'](_0x220d8c,_0xa98c77,!0x1);if((0x0,_0x45e7a9[_0x1979db(0xd4)])(_0x5c5637))throw _0x5c5637[_0x1979db(0x41a)];if((0x0,_0x45e7a9[_0x1979db(0xd4)])(_0x1386ab))throw _0x1386ab[_0x1979db(0x41a)];_0x573dae[_0x1979db(0x182)]({..._0x137eb7[_0x558506],'undoState':_0x5c5637[_0x1979db(0x307)][_0x1979db(0x218)],'redoState':_0x1386ab['m2Prime']['params']}),_0x27b4af=_0x5c5637['m1Prime'],_0x220d8c=_0x1386ab[_0x1979db(0x270)];}this['_docStateChangeManagerService'][_0x1979db(0x106)](_0x35f95c,{'history':_0x43613c,'collaboration':_0x573dae});}};_0x3d85b7=_0x514f3a([_0x268b30(0x0,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x7d6be['Injector'])),_0x268b30(0x1,_0x45e7a9[_0x24817b(0x302)]),_0x268b30(0x2,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x228dc5['DocStateChangeManagerService']))],_0x3d85b7);let _0x4040b4=class{constructor(_0xfcfd06,_0x4a05fe){const _0x183c99=_0x24817b;this[_0x183c99(0x32e)]=_0xfcfd06,this[_0x183c99(0xb7)]=_0x4a05fe;}[_0x24817b(0x3fa)](_0x5ee15a){const _0x450b9b=_0x24817b;var _0x17b764;let _0x73d6bf=this[_0x450b9b(0x32e)][_0x450b9b(0x37f)]()??[],_0x433214=this[_0x450b9b(0x32e)][_0x450b9b(0x421)]();if(_0x73d6bf['length']===0x0||_0x433214==null)return null;let _0x32cc6e=_0x5ee15a[_0x450b9b(0x2dc)],_0x5ba59d=[{'id':_0x450b9b(0x2c8),'params':{'unitId':_0x32cc6e,'actions':null,'textRanges':_0x73d6bf}}],_0x23b453=this[_0x450b9b(0xb7)]['transformMutationsWithChangeset'](_0x5ee15a,_0x5ba59d);if(!(0x0,_0x45e7a9[_0x450b9b(0x3c7)])(_0x23b453))throw _0x23b453[_0x450b9b(0x41a)];let _0x620edd=(_0x17b764=_0x23b453[_0x450b9b(0x307)][0x0])==null?void 0x0:_0x17b764[_0x450b9b(0x218)],_0x40e746=_0x620edd&&typeof _0x620edd==_0x450b9b(0x133)&&'textRanges'in _0x620edd?_0x620edd[_0x450b9b(0x198)]:null;if(!_0xb218bb(_0x40e746))return null;let _0x1dcb8f=_0x3de80e(_0x5ee15a[_0x450b9b(0xf4)][_0x450b9b(0x3e4)](_0x4e04ba=>_0x50c7e0(_0x4e04ba[_0x450b9b(0x218)]))?_0x40e746['filter'](_0x26e956=>!(_0x450b9b(0x178)in _0x26e956)):_0x40e746,{..._0x433214,'options':_0x433214[_0x450b9b(0x19c)]?{..._0x433214['options'],'wholeDocument':!0x1}:void 0x0}),_0xab25f7={'unitId':_0x32cc6e,'subUnitId':_0x32cc6e};this[_0x450b9b(0x32e)][_0x450b9b(0x356)](_0x1dcb8f,_0xab25f7);let _0x4e5f25=!0x0;return{'commit':()=>{_0x4e5f25=!0x1;},'rollback':()=>{const _0x3e588d=_0x450b9b;_0x4e5f25&&(_0x4e5f25=!0x1,this[_0x3e588d(0x32e)][_0x3e588d(0x356)](_0x433214,_0xab25f7));}};}};_0x4040b4=_0x514f3a([_0x268b30(0x0,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x228dc5[_0x24817b(0x14b)])),_0x268b30(0x1,_0x45e7a9[_0x24817b(0x302)])],_0x4040b4);function _0x3de80e(_0x5e85eb,_0x4e7e12){const _0x4c46a1=_0x24817b;let _0x5b1e92=[],_0x22f497=[];for(let _0x177171 of _0x5e85eb)_0x43f3a4(_0x177171)?_0x22f497['push'](_0x177171):_0x5b1e92[_0x4c46a1(0x35d)](_0x177171);return{..._0x4e7e12,'textRanges':_0x5b1e92,'rectRanges':_0x22f497};}function _0x43f3a4(_0x154099){const _0x3ff8be=_0x24817b;return _0x3ff8be(0x178)in _0x154099;}function _0xb218bb(_0x2cf1b9){const _0x4feee1=_0x24817b;return Array['isArray'](_0x2cf1b9)&&_0x2cf1b9[_0x4feee1(0x350)](_0x5b5334=>typeof _0x5b5334=='object'&&!!_0x5b5334&&_0x4feee1(0x15b)in _0x5b5334&&_0x4feee1(0x394)in _0x5b5334);}function _0x50c7e0(_0x3256d9){const _0x9d9591=_0x24817b;return _0x3256d9===_0x9d9591(0x398)?!0x0:Array[_0x9d9591(0x3ae)](_0x3256d9)?_0x3256d9[_0x9d9591(0x3e4)](_0x39ed42=>_0x50c7e0(_0x39ed42)):!_0x3256d9||typeof _0x3256d9!='object'?!0x1:Object['values'](_0x3256d9)[_0x9d9591(0x3e4)](_0x552b88=>_0x50c7e0(_0x552b88));}let _0x121742=class extends _0x7d6be[_0x24817b(0x294)]{constructor(_0x1013a7,_0x531710,_0x568f1e,_0x1d5981,_0x4762f8,_0x2fece4,_0x430956){const _0x201edb=_0x24817b;super(),this[_0x201edb(0x407)]=_0x1013a7,this[_0x201edb(0x1a1)]=_0x531710,this[_0x201edb(0x2f8)]=_0x568f1e,this[_0x201edb(0x386)]=_0x1d5981,this[_0x201edb(0x13b)]=_0x4762f8,this[_0x201edb(0x308)]=_0x2fece4,this['_localeService']=_0x430956,_0x1bbeaf(this,_0x201edb(0x31e),new _0x562b73['BehaviorSubject'](_0x4d4217[_0x201edb(0x2a2)][_0x201edb(0x2e2)])),this[_0x201edb(0x34b)]();}[_0x24817b(0x34b)](){const _0x25ed44=_0x24817b;this['disposeWithMe'](this[_0x25ed44(0x407)][_0x25ed44(0x39b)][_0x25ed44(0x2f2)](_0x3c41e4=>{const _0x237878=_0x25ed44;_0x3c41e4 instanceof _0x4d4217[_0x237878(0x3f0)]&&_0x3c41e4[_0x237878(0x35b)]({'onTransformIME':_0x16fc53=>this['_docTransformIMECacheService']['transformIMECache'](_0x16fc53),'onTransformState':_0x42a589=>this[_0x237878(0x2f8)][_0x237878(0x404)](_0x42a589),'onPrepareTransformSelections':_0x32e98d=>this['_docTransformSelectionsService']['prepareTransformSelections'](_0x32e98d),'onSyncEditingCollabCursor':_0x14e548=>this[_0x237878(0x13b)][_0x237878(0xb5)](_0x14e548),'onTransformRemoteChangesetByIMECache':_0x34252d=>this['_docTransformIMECacheService'][_0x237878(0x25a)](_0x34252d),'onTransformRemoteChangesetByStateCache':_0x587b53=>this['_docTransformStateCacheService'][_0x237878(0x25a)](_0x587b53)});}));}};_0x121742=_0x514f3a([_0x268b30(0x0,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x4d4217['CollaborationController'])),_0x268b30(0x1,(0x0,_0x7d6be['Inject'])(_0xfe47c1)),_0x268b30(0x2,(0x0,_0x7d6be['Inject'])(_0x3d85b7)),_0x268b30(0x3,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x4040b4)),_0x268b30(0x4,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x45fb09)),_0x268b30(0x5,_0x58b3ba['IMessageService']),_0x268b30(0x6,(0x0,_0x7d6be['Inject'])(_0x7d6be[_0x24817b(0x134)]))],_0x121742);let _0x162c6f=class extends _0x7d6be['Disposable']{constructor(_0x10f32e,_0xe3fea,_0x40c483,_0x5c0be2){const _0x192cb6=_0x24817b;super(),this[_0x192cb6(0x160)]=_0x10f32e,this[_0x192cb6(0xb6)]=_0xe3fea,this[_0x192cb6(0x396)]=_0x40c483,this['_collaborationSessionService']=_0x5c0be2,_0x1bbeaf(this,_0x192cb6(0x235),void 0x0),this['_init']();}[_0x24817b(0x3a2)](){const _0x517377=_0x24817b;this['_initWindowErrorListener'](),this[_0x517377(0x1d4)](),this[_0x517377(0x3be)](),this[_0x517377(0x3ce)]();}[_0x24817b(0x3ce)](){const _0x558c64=_0x24817b;this[_0x558c64(0x288)](this[_0x558c64(0x245)][_0x558c64(0x3ab)]['subscribe'](_0xe1f93b=>{const _0x343b09=_0x558c64;this[_0x343b09(0x235)]=_0xe1f93b==null?void 0x0:_0xe1f93b[_0x343b09(0x24f)];}));}[_0x24817b(0x29f)](){const _0x560d31=_0x24817b;let _0x181061=_0x168c83=>{const _0xb0e7c5=_0x5355;var _0x58197d;this[_0xb0e7c5(0x2e5)]('error','[Window\x20Error]:\x20'+_0x168c83[_0xb0e7c5(0x1c5)]+_0xb0e7c5(0x1ff)+_0x168c83['filename']+':'+_0x168c83['lineno']+':'+_0x168c83[_0xb0e7c5(0x2e7)]+'\x0a'+(((_0x58197d=_0x168c83['error'])==null?void 0x0:_0x58197d[_0xb0e7c5(0xbc)])||''));};window[_0x560d31(0x391)]('error',_0x181061),this[_0x560d31(0x288)](()=>{const _0x1220b4=_0x560d31;window[_0x1220b4(0x1e2)](_0x1220b4(0x41a),_0x181061);});}[_0x24817b(0x1d4)](){const _0x45a433=_0x24817b;let _0x4c20b0=_0x973aa2=>{const _0x37f136=_0x5355;this[_0x37f136(0x2e5)]('error',_0x37f136(0x263)+_0x973aa2[_0x37f136(0x18d)]);};window[_0x45a433(0x391)]('unhandledrejection',_0x4c20b0),this[_0x45a433(0x288)](()=>{const _0x3af5ec=_0x45a433;window[_0x3af5ec(0x1e2)]('unhandledrejection',_0x4c20b0);});}[_0x24817b(0x3be)](){const _0x1a31d7=_0x24817b;let _0x25d242=this[_0x1a31d7(0x396)][_0x1a31d7(0x41a)]['bind'](this[_0x1a31d7(0x396)]);this[_0x1a31d7(0x396)][_0x1a31d7(0x41a)]=(..._0x4bbb1e)=>{const _0x71ea12=_0x1a31d7;let _0x5f0fd9=_0x4bbb1e[_0x71ea12(0x220)](_0xf56e6=>_0xf56e6 instanceof Error?_0xf56e6[_0x71ea12(0x1c5)]+'\x0a'+_0xf56e6[_0x71ea12(0xbc)]:String(_0xf56e6))[_0x71ea12(0x393)]('\x20');this[_0x71ea12(0x2e5)](_0x71ea12(0x41a),_0x71ea12(0x337)+_0x5f0fd9),_0x25d242(..._0x4bbb1e);},this['disposeWithMe'](()=>{const _0x47f76b=_0x1a31d7;this['_logService'][_0x47f76b(0x41a)]=_0x25d242;});}[_0x24817b(0x2e5)](_0x5f2dc9,_0x5c8b25){const _0x370827=_0x24817b;try{let _0x17233c={'userId':this[_0x370827(0x235)],'logLabel':_0x5f2dc9,'content':_0x5c8b25};this['_httpService']['post'](_0x370827(0x374),{'body':_0x17233c})['catch'](()=>{});}catch{}}};_0x162c6f=_0x514f3a([_0x268b30(0x0,(0x0,_0x7d6be['Inject'])(_0x7d6be['Injector'])),_0x268b30(0x1,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x323130[_0x24817b(0x227)])),_0x268b30(0x2,_0x7d6be[_0x24817b(0x19a)]),_0x268b30(0x3,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x4d4217[_0x24817b(0x3a5)]))],_0x162c6f);function _0x27af5b({state$:_0x323909}){const _0x52ff8d=_0x24817b;let _0x4d4abd=(0x0,_0x58b3ba['useObservable'])(_0x323909,null,!0x0);return _0x4d4abd?(0x0,_0x5e6830[_0x52ff8d(0x217)])(_0x52ff8d(0x204),{'data-u-comp':_0x52ff8d(0x1b1),'role':_0x52ff8d(0x1eb),'className':_0x52ff8d(0x1e7),'children':[(0x0,_0x5e6830[_0x52ff8d(0x3ee)])(_0x8f0f16,{'className':_0x52ff8d(0xca)}),(0x0,_0x5e6830[_0x52ff8d(0x3ee)])(_0x52ff8d(0x327),{'children':_0x4d4abd['content']}),(0x0,_0x5e6830[_0x52ff8d(0x3ee)])(_0x1e67e2[_0x52ff8d(0x1e3)],{'size':_0x52ff8d(0x3a1),'variant':_0x52ff8d(0x2af),'onClick':()=>window['location'][_0x52ff8d(0x3c8)](),'children':_0x4d4abd[_0x52ff8d(0x1f9)]})]}):null;}let _0x8bea98=_0x24817b(0xf2),_0x47821d=class extends _0x7d6be[_0x24817b(0x294)]{constructor(_0x98e80,_0x3cf60d,_0x544f79,_0x1512bb,_0x5dd5cc,_0x5627f4){const _0x5c1025=_0x24817b;super(),this[_0x5c1025(0x3ff)]=_0x98e80,this['_messageService']=_0x3cf60d,this['_localeService']=_0x544f79,this[_0x5c1025(0x160)]=_0x1512bb,this[_0x5c1025(0x23e)]=_0x5627f4,_0x1bbeaf(this,_0x5c1025(0x1f6),new _0x562b73[(_0x5c1025(0x1f3))](null)),_0x1bbeaf(this,'_messageIds',new Set()),_0x1bbeaf(this,_0x5c1025(0x165),new Map()),_0x1bbeaf(this,'_latestStates',new Map()),_0x1bbeaf(this,'timeoutState$',this[_0x5c1025(0x1f6)][_0x5c1025(0x241)]());let _0x1f1fa7=()=>(0x0,_0x5c3452[_0x5c1025(0x305)])(_0x27af5b,{'state$':this[_0x5c1025(0x432)]});this[_0x5c1025(0x288)](_0x5dd5cc[_0x5c1025(0xbf)](_0x58b3ba[_0x5c1025(0x310)][_0x5c1025(0x285)],()=>(0x0,_0x58b3ba[_0x5c1025(0x423)])(_0x1f1fa7,this['_injector']))),this['disposeWithMe'](this[_0x5c1025(0x3ff)]['state$'][_0x5c1025(0x2f2)](_0x5e0c33=>{const _0x1c4ac2=_0x5c1025;this[_0x1c4ac2(0x2cf)]=_0x5e0c33,_0x5e0c33[_0x1c4ac2(0x366)](_0x553e3d=>this[_0x1c4ac2(0x39c)](_0x553e3d));})),this[_0x5c1025(0x288)](this[_0x5c1025(0x23e)][_0x5c1025(0x2bb)]['subscribe'](()=>{const _0xc39d2e=_0x5c1025;this[_0xc39d2e(0x2cf)][_0xc39d2e(0x366)](_0x317a2c=>this[_0xc39d2e(0x39c)](_0x317a2c));}));}[_0x24817b(0x364)](){const _0x21e7a3=_0x24817b;this['_messageIds']['forEach'](_0x1879c4=>this[_0x21e7a3(0x308)][_0x21e7a3(0x3cc)](_0x1879c4)),this[_0x21e7a3(0x28e)][_0x21e7a3(0x100)](),this[_0x21e7a3(0x165)][_0x21e7a3(0x366)](({timeoutId:_0x218705})=>clearTimeout(_0x218705)),this[_0x21e7a3(0x165)][_0x21e7a3(0x100)](),this[_0x21e7a3(0x1f6)][_0x21e7a3(0x244)](),super['dispose']();}[_0x24817b(0x39c)](_0x1d141a){const _0x38bce1=_0x24817b;let _0x319045=''+_0x8bea98+_0x1d141a[_0x38bce1(0x2ed)];if(_0x1d141a[_0x38bce1(0x304)]===_0x45e7a9['SnapshotLoadStage'][_0x38bce1(0x27f)]){this[_0x38bce1(0x26c)](_0x1d141a['unitId']),this[_0x38bce1(0x20a)](_0x1d141a[_0x38bce1(0x2ed)]),this[_0x38bce1(0x308)][_0x38bce1(0x3cc)](_0x319045),this['_messageIds']['delete'](_0x319045);return;}if(!this[_0x38bce1(0x299)](_0x1d141a['unitId'])){this[_0x38bce1(0x26c)](_0x1d141a[_0x38bce1(0x2ed)]),this[_0x38bce1(0x20a)](_0x1d141a[_0x38bce1(0x2ed)]),this[_0x38bce1(0x308)][_0x38bce1(0x3cc)](_0x319045),this[_0x38bce1(0x28e)][_0x38bce1(0x3c2)](_0x319045);return;}if(_0x1d141a[_0x38bce1(0x304)]===_0x45e7a9['SnapshotLoadStage'][_0x38bce1(0x3de)]){this[_0x38bce1(0x26c)](_0x1d141a['unitId']),this[_0x38bce1(0x20a)](_0x1d141a['unitId']),this[_0x38bce1(0x308)][_0x38bce1(0x216)]({'id':_0x319045,'type':_0x1e67e2['MessageType'][_0x38bce1(0xb4)],'content':this[_0x38bce1(0x319)]['t']('collaboration-client-ui.session.connection-failed')}),this['_messageIds'][_0x38bce1(0x3c2)](_0x319045);return;}if(_0x1d141a[_0x38bce1(0x304)]!==_0x45e7a9[_0x38bce1(0x427)][_0x38bce1(0x240)]||_0x1d141a[_0x38bce1(0x303)]<=0xa){this[_0x38bce1(0x26c)](_0x1d141a[_0x38bce1(0x2ed)]),this['_messageService'][_0x38bce1(0x3cc)](_0x319045),this[_0x38bce1(0x28e)][_0x38bce1(0x3c2)](_0x319045);return;}this[_0x38bce1(0x292)](_0x1d141a)||(this[_0x38bce1(0x308)][_0x38bce1(0x216)]({'id':_0x319045,'type':_0x1e67e2[_0x38bce1(0x37b)][_0x38bce1(0x1d1)],'duration':0x1/0x0,'content':this['_localeService']['t'](_0x38bce1(0x1ac))+'\x20'+_0x1d141a['loadedBlocks']+'/'+_0x1d141a[_0x38bce1(0x303)]}),this[_0x38bce1(0x28e)]['add'](_0x319045));}[_0x24817b(0x292)](_0x1f1063){const _0x24d5fb=_0x24817b;let _0x8a0986=this[_0x24d5fb(0x165)][_0x24d5fb(0x1df)](_0x1f1063[_0x24d5fb(0x2ed)]);if((_0x8a0986==null?void 0x0:_0x8a0986[_0x24d5fb(0x2d5)])===_0x1f1063['loadedBlocks'])return _0x8a0986[_0x24d5fb(0xc2)];this[_0x24d5fb(0x26c)](_0x1f1063['unitId']);let _0x2eb5a8=setTimeout(()=>{const _0x136db8=_0x24d5fb;let _0x51032b=this['_blockProgressWatches'][_0x136db8(0x1df)](_0x1f1063[_0x136db8(0x2ed)]);if(!_0x51032b||_0x51032b[_0x136db8(0x3fe)]!==_0x2eb5a8)return;_0x51032b[_0x136db8(0xc2)]=!0x0;let _0x440d95=''+_0x8bea98+_0x1f1063['unitId'];this[_0x136db8(0x308)][_0x136db8(0x3cc)](_0x440d95),this[_0x136db8(0x28e)][_0x136db8(0x3c2)](_0x440d95),this['_timeoutState$'][_0x136db8(0x236)]({'unitId':_0x1f1063[_0x136db8(0x2ed)],'content':this['_localeService']['t'](_0x136db8(0xde),String(_0x1f1063[_0x136db8(0x2d5)]),String(_0x1f1063[_0x136db8(0x303)])),'refreshLabel':this[_0x136db8(0x319)]['t']('collaboration-client-ui.snapshotLoading.refresh')});},0xea60);return this['_blockProgressWatches'][_0x24d5fb(0x250)](_0x1f1063[_0x24d5fb(0x2ed)],{'loadedBlocks':_0x1f1063[_0x24d5fb(0x2d5)],'timedOut':!0x1,'timeoutId':_0x2eb5a8}),!0x1;}[_0x24817b(0x26c)](_0x461c90){const _0x4da73e=_0x24817b;let _0x468c26=this['_blockProgressWatches']['get'](_0x461c90);_0x468c26&&(clearTimeout(_0x468c26['timeoutId']),this[_0x4da73e(0x165)][_0x4da73e(0x3c2)](_0x461c90),this[_0x4da73e(0x20a)](_0x461c90));}['_clearTimeoutState'](_0x483f89){const _0x3abad9=_0x24817b;var _0x5959cc;((_0x5959cc=this[_0x3abad9(0x1f6)][_0x3abad9(0x261)])==null?void 0x0:_0x5959cc['unitId'])===_0x483f89&&this[_0x3abad9(0x1f6)]['next'](null);}[_0x24817b(0x299)](_0x49e5fb){const _0x5bc0b7=_0x24817b;let _0x30c1a9=this['_urlService'][_0x5bc0b7(0x281)](_0x5bc0b7(0x30c));return!_0x30c1a9||_0x30c1a9===_0x49e5fb;}};_0x47821d=_0x514f3a([_0x268b30(0x0,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x45e7a9[_0x24817b(0x142)])),_0x268b30(0x1,_0x58b3ba[_0x24817b(0x237)]),_0x268b30(0x2,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x7d6be['LocaleService'])),_0x268b30(0x3,(0x0,_0x7d6be['Inject'])(_0x7d6be[_0x24817b(0x424)])),_0x268b30(0x4,_0x58b3ba[_0x24817b(0x206)]),_0x268b30(0x5,_0x1e2af4)],_0x47821d);function _0x4bfdf2(_0x2cb04b){const _0x22357f=_0x24817b;var _0x40dade,_0x50b6fd;let _0x45b501=(_0x40dade=_0x2cb04b[_0x22357f(0x12d)])==null?void 0x0:_0x40dade['stage'],_0x5f3bb6=((_0x50b6fd=_0x2cb04b[_0x22357f(0x12d)])==null?void 0x0:_0x50b6fd[_0x22357f(0x123)])||0x0;return _0x45b501===_0x4c5ac9[_0x22357f(0x127)][_0x22357f(0x3eb)]&&_0x5f3bb6>0x0;}function _0x19a282(_0x2f8cfd){const _0x3bee71=_0x24817b;return _0x2f8cfd[_0x3bee71(0x40f)]===_0x4c5ac9['FormulaExecutedStateType'][_0x3bee71(0x3f9)];}let _0x4e5977=class extends _0x7d6be[_0x24817b(0x294)]{constructor(_0x244775,_0x305dfe,_0x35adac,_0x2ee495,_0x4a77c2,_0x4f2955,_0x2800c1){const _0x27d494=_0x24817b;super(),this[_0x27d494(0x308)]=_0x244775,this[_0x27d494(0x32d)]=_0x305dfe,this['_configService']=_0x35adac,this[_0x27d494(0xb6)]=_0x2ee495,this['_univerInstanceService']=_0x4a77c2,this[_0x27d494(0x396)]=_0x4f2955,this[_0x27d494(0x319)]=_0x2800c1,_0x1bbeaf(this,_0x27d494(0x2a9),null),_0x1bbeaf(this,_0x27d494(0x3df),0x0),_0x1bbeaf(this,_0x27d494(0xc3),0x0),_0x1bbeaf(this,'_taskIds',[]),_0x1bbeaf(this,_0x27d494(0x18b),0x0),this[_0x27d494(0x33b)]();}['_initCommandInterceptor'](){const _0x185241=_0x24817b;this['disposeWithMe'](this[_0x185241(0x32d)]['beforeCommandExecuted']((_0xd6711c,_0x4d6068)=>{const _0xc1f1a1=_0x185241;if(_0xd6711c['id']!==_0x4c5ac9[_0xc1f1a1(0x12e)]['id'])return;let _0x455663=_0xd6711c[_0xc1f1a1(0x218)];if(this[_0xc1f1a1(0x258)](_0x455663[_0xc1f1a1(0x1f8)]??[])&&!this['_checkCalculationAvailable']())throw this[_0xc1f1a1(0x233)](_0xd6711c,_0x4d6068),this[_0xc1f1a1(0x295)](),new _0x7d6be[(_0xc1f1a1(0x136))]();})),this[_0x185241(0x288)](this[_0x185241(0x32d)][_0x185241(0x253)]((_0x851159,_0x2b3ee9)=>{const _0x37c02a=_0x185241;if(_0x851159['id']!==_0x4c5ac9['SetFormulaCalculationNotificationMutation']['id'])return;let _0x3a759d=_0x851159[_0x37c02a(0x218)];if(_0x4bfdf2(_0x3a759d)){let _0x18cb30=(0x0,_0x7d6be['generateRandomId'])();this[_0x37c02a(0x22f)][_0x37c02a(0x35d)](_0x18cb30),this[_0x37c02a(0x17d)](_0x18cb30);}else{if(_0x19a282(_0x3a759d)&&this['_taskIds'][_0x37c02a(0xef)]>0x0){let _0x1ecc51=this['_taskIds']['shift']();this[_0x37c02a(0xdb)](_0x1ecc51);}}}));}['dispose'](){const _0x3380b9=_0x24817b;super[_0x3380b9(0x364)](),this[_0x3380b9(0x158)](),this[_0x3380b9(0x22f)]=[],this['_currentUsage']=0x0,this[_0x3380b9(0x3df)]=0x0,this[_0x3380b9(0x18b)]=0x0;}async[_0x24817b(0x233)](_0x2a8280,_0x2a00f3){const _0x52d71d=_0x24817b;for(let _0x468e1c=0x0;_0x468e1c<0x1e;_0x468e1c++)try{if(await this[_0x52d71d(0x361)](),this[_0x52d71d(0x104)]()){this[_0x52d71d(0x3a0)](_0x2a8280,_0x2a00f3),this[_0x52d71d(0x308)][_0x52d71d(0x216)]({'content':this[_0x52d71d(0x319)]['t']('collaboration-client-ui.formula.calculation.started'),'type':_0x1e67e2[_0x52d71d(0x37b)]['Success']});return;}await new Promise(_0x163d11=>{const _0x111dae=_0x52d71d;this[_0x111dae(0x2a9)]=window[_0x111dae(0x3e6)](_0x163d11,0x3e8);});}catch(_0x1eaf90){this[_0x52d71d(0x396)]['error'](_0x1eaf90);}this[_0x52d71d(0x308)]['show']({'content':this[_0x52d71d(0x319)]['t'](_0x52d71d(0x2cc)),'type':_0x1e67e2[_0x52d71d(0x37b)][_0x52d71d(0xb4)]});}[_0x24817b(0x3a0)](_0x1dd5a6,_0x439209){const _0x5500eb=_0x24817b;try{this[_0x5500eb(0x32d)]['executeCommand'](_0x1dd5a6['id'],_0x1dd5a6[_0x5500eb(0x218)],_0x439209);}catch(_0x3fb5cb){this[_0x5500eb(0x396)][_0x5500eb(0x41a)](_0x3fb5cb);}}['_setFormulaLimitStatus'](_0x2fd118,_0x38d720){const _0x3113e2=_0x24817b;_0x38d720<this[_0x3113e2(0x18b)]||(this['_lastResponseTimestamp']=_0x38d720,this[_0x3113e2(0x3df)]=Number[_0x3113e2(0xcd)](_0x2fd118['maxFormulaLimit']),this[_0x3113e2(0xc3)]=Number['parseInt'](_0x2fd118[_0x3113e2(0x326)]));}async[_0x24817b(0x17d)](_0x4d07db){const _0x1c32e0=_0x24817b;let _0x35d6f9=Date[_0x1c32e0(0x40a)]();try{var _0x396299,_0x514927;let _0x4cd593=((_0x396299=this[_0x1c32e0(0x332)]['getConfig'](_0x4d4217[_0x1c32e0(0xdc)]))==null?void 0x0:_0x396299[_0x1c32e0(0x215)])||_0x1c32e0(0x3d4),_0x40d0df=(await this[_0x1c32e0(0xb6)][_0x1c32e0(0x19e)](_0x4cd593,{'body':JSON[_0x1c32e0(0xfb)]({'taskId':_0x4d07db})}))[_0x1c32e0(0x207)];if(((_0x514927=_0x40d0df[_0x1c32e0(0x41a)])==null?void 0x0:_0x514927[_0x1c32e0(0x10a)])!==_0xa4b4fd['ErrorCode']['OK'])return;this[_0x1c32e0(0x1b4)](_0x40d0df['limitInfo'],_0x35d6f9);}catch(_0x3b3959){this[_0x1c32e0(0x396)][_0x1c32e0(0x41a)](_0x3b3959);}}async['_getFormulaLimitStatus'](_0x8264ad){const _0x2148ca=_0x24817b;let _0x4bf4b9=Date[_0x2148ca(0x40a)]();try{var _0x39acdd,_0x2a5411;let _0x3e9662=((_0x39acdd=this[_0x2148ca(0x332)][_0x2148ca(0xd0)](_0x4d4217[_0x2148ca(0xdc)]))==null?void 0x0:_0x39acdd[_0x2148ca(0x39d)])||_0x2148ca(0x277),_0x5d811c=_0x8264ad?_0x3e9662+_0x2148ca(0x36f)+encodeURIComponent(_0x8264ad):_0x3e9662,_0x3ffff4=(await this['_httpService'][_0x2148ca(0x1df)](_0x5d811c))[_0x2148ca(0x207)];if(((_0x2a5411=_0x3ffff4['error'])==null?void 0x0:_0x2a5411[_0x2148ca(0x10a)])!==_0xa4b4fd[_0x2148ca(0x3c4)]['OK'])return;this[_0x2148ca(0x1b4)](_0x3ffff4[_0x2148ca(0x321)],_0x4bf4b9);}catch(_0x5c4fbc){this[_0x2148ca(0x396)][_0x2148ca(0x41a)](_0x5c4fbc);}}async['_releaseCalculationLimit'](_0x1fbb24){const _0x34e779=_0x24817b;let _0x4f5853=Date[_0x34e779(0x40a)]();try{var _0x4be351,_0x5a770a;let _0xfd86ba=((_0x4be351=this['_configService'][_0x34e779(0xd0)](_0x4d4217[_0x34e779(0xdc)]))==null?void 0x0:_0x4be351['releaseFormulaLimitUrl'])||_0x34e779(0x1dd),_0x17da50=(await this[_0x34e779(0xb6)][_0x34e779(0x19e)](_0xfd86ba,{'body':JSON[_0x34e779(0xfb)]({'taskId':_0x1fbb24})}))[_0x34e779(0x207)];if(((_0x5a770a=_0x17da50['error'])==null?void 0x0:_0x5a770a[_0x34e779(0x10a)])!==_0xa4b4fd[_0x34e779(0x3c4)]['OK'])return;this[_0x34e779(0x1b4)](_0x17da50['limitInfo'],_0x4f5853);}catch(_0x515358){this[_0x34e779(0x396)][_0x34e779(0x41a)](_0x515358);}}[_0x24817b(0x104)](){const _0x4c2d8d=_0x24817b;return this[_0x4c2d8d(0x3df)]===0x0||this[_0x4c2d8d(0x3df)]-this[_0x4c2d8d(0xc3)]>0x0;}['_clearPolling'](){const _0x4b3d0d=_0x24817b;this[_0x4b3d0d(0x2a9)]&&=(clearTimeout(this[_0x4b3d0d(0x2a9)]),null);}[_0x24817b(0x295)](){const _0x3023ce=_0x24817b;this[_0x3023ce(0x308)]['show']({'content':this[_0x3023ce(0x319)]['t'](_0x3023ce(0x20f)),'type':_0x1e67e2[_0x3023ce(0x37b)][_0x3023ce(0x1d1)]});}[_0x24817b(0x258)](_0x382322){const _0x554274=_0x24817b;for(let _0x59479d of _0x382322){let {unitId:_0x5c52f0,sheetId:_0x445764,range:_0x30dd90}=_0x59479d,_0x4bab85=this[_0x554274(0x3c0)][_0x554274(0x3b3)](_0x5c52f0,_0x7d6be[_0x554274(0x390)]['UNIVER_SHEET']);if(!_0x4bab85)continue;let _0x51bf97=_0x4bab85[_0x554274(0x35a)](_0x445764);if(!_0x51bf97)continue;let _0x439ae0=_0x51bf97['getCellMatrix']();for(let _0x23bb65=_0x30dd90[_0x554274(0xcc)];_0x23bb65<=_0x30dd90['endRow'];_0x23bb65++)for(let _0x574960=_0x30dd90[_0x554274(0x2d6)];_0x574960<=_0x30dd90[_0x554274(0x376)];_0x574960++){let _0x5c7893=_0x439ae0['getValue'](_0x23bb65,_0x574960);if(_0x5c7893&&((0x0,_0x7d6be[_0x554274(0x107)])(_0x5c7893['f'])||(0x0,_0x7d6be['isFormulaId'])(_0x5c7893['si'])))return!0x0;}}return!0x1;}};_0x4e5977=_0x514f3a([_0x268b30(0x0,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x58b3ba[_0x24817b(0x237)])),_0x268b30(0x1,_0x7d6be[_0x24817b(0x30b)]),_0x268b30(0x2,_0x7d6be[_0x24817b(0x3b5)]),_0x268b30(0x3,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x323130[_0x24817b(0x227)])),_0x268b30(0x4,_0x7d6be['IUniverInstanceService']),_0x268b30(0x5,_0x7d6be[_0x24817b(0x19a)]),_0x268b30(0x6,(0x0,_0x7d6be['Inject'])(_0x7d6be[_0x24817b(0x134)]))],_0x4e5977);let _0x128a39=class extends _0x7d6be[_0x24817b(0x294)]{constructor(_0x2e5355,_0x50ee90,_0x168b64){const _0x5b4ea6=_0x24817b;super(),this[_0x5b4ea6(0x332)]=_0x2e5355,this[_0x5b4ea6(0x3a9)]=_0x50ee90,this[_0x5b4ea6(0x21d)]=_0x168b64,_0x1bbeaf(this,_0x5b4ea6(0x1f7),new Map()),_0x1bbeaf(this,_0x5b4ea6(0x16e),new Map()),_0x1bbeaf(this,_0x5b4ea6(0x382),!0x1);}[_0x24817b(0x2b2)](){const _0x3bb7f9=_0x24817b;this[_0x3bb7f9(0x382)]=!0x0;}['enableLocalCache'](){const _0x54dcd7=_0x24817b;this[_0x54dcd7(0x382)]=!0x1;}get[_0x24817b(0x32f)](){return this['_saveTaskMap'];}[_0x24817b(0x364)](){const _0x525ef7=_0x24817b;this[_0x525ef7(0x15a)]()['then'](()=>super['dispose']());}async[_0x24817b(0x378)](_0x1f2d14){const _0xef011d=_0x24817b;return this[_0xef011d(0x382)]?null:this['_localStorageService'][_0xef011d(0x2e9)]((0x0,_0x4d4217['getLocalCacheKey'])(_0x1f2d14));}async[_0x24817b(0x243)](_0x4c9880,_0xf84084){const _0x1a24e1=_0x24817b;return!!this['_localStorageService'][_0x1a24e1(0x135)]((0x0,_0x4d4217[_0x1a24e1(0x349)])(_0x4c9880),_0xf84084);}async[_0x24817b(0xf6)](_0x52b09e,_0x24b975){const _0x2d8962=_0x24817b;let _0x25f3d0=this['_cachedData'][_0x2d8962(0x1df)](_0x52b09e)??await this[_0x2d8962(0x3a9)][_0x2d8962(0x2e9)]((0x0,_0x4d4217['getLocalCacheKey'])(_0x52b09e));if(!_0x25f3d0)return;let _0x40aa46=Date['now'](),_0x4d2ef7=new Date(_0x40aa46)[_0x2d8962(0x22b)]();await this[_0x2d8962(0x3a9)][_0x2d8962(0x135)]((0x0,_0x4d4217[_0x2d8962(0x349)])(_0x52b09e)+_0x2d8962(0x3af)+_0x40aa46,{'reason':_0x24b975,'createdAt':_0x4d2ef7,'data':_0x25f3d0});}[_0x24817b(0x31d)](_0x49f0c7,_0x4a3688,_0x523aae,_0x17fb77){const _0x159b5c=_0x24817b;let _0x1fb6ec=this[_0x159b5c(0x21d)][_0x159b5c(0x35f)](_0x49f0c7);this['_cachedData'][_0x159b5c(0x250)](_0x49f0c7,{'unitID':_0x49f0c7,'type':_0x4a3688,'awaitingChangeset':_0x523aae,'mutations':_0x17fb77,'rev':_0x1fb6ec}),this[_0x159b5c(0x16e)][_0x159b5c(0x2aa)](_0x49f0c7)||this[_0x159b5c(0x411)](_0x49f0c7);}[_0x24817b(0x411)](_0x38ae55){const _0x2c70cf=_0x24817b;let _0x5f49d8=this[_0x2c70cf(0x141)]();_0x5f49d8===0x0?this[_0x2c70cf(0x3b6)](_0x38ae55):this['_saveTaskMap'][_0x2c70cf(0x250)](_0x38ae55,window['setTimeout'](()=>this[_0x2c70cf(0x3b6)](_0x38ae55),_0x5f49d8));}[_0x24817b(0x141)](){const _0x2c4eda=_0x24817b;return this[_0x2c4eda(0x332)][_0x2c4eda(0xd0)](_0x4d4217[_0x2c4eda(0x26e)])??_0x4d4217[_0x2c4eda(0x3d8)];}[_0x24817b(0x3b6)](_0x3e1157){const _0x24009d=_0x24817b;let _0x4e9fb7=this[_0x24009d(0x16e)][_0x24009d(0x1df)](_0x3e1157);return _0x4e9fb7!==void 0x0&&window['clearTimeout'](_0x4e9fb7),this['_localStorageService'][_0x24009d(0x135)]((0x0,_0x4d4217[_0x24009d(0x349)])(_0x3e1157),this[_0x24009d(0x1f7)][_0x24009d(0x1df)](_0x3e1157))[_0x24009d(0x152)](()=>this[_0x24009d(0x16e)][_0x24009d(0x3c2)](_0x3e1157));}async['exhaustSavingTask'](){const _0x23e083=_0x24817b;let _0x13a7d2=[];this['_saveTaskMap'][_0x23e083(0x366)]((_0x1cd91f,_0x14ec13)=>{const _0x218d9=_0x23e083;window[_0x218d9(0xd8)](_0x1cd91f),_0x13a7d2[_0x218d9(0x35d)](this['_saveCache'](_0x14ec13)['then'](()=>{const _0x78e057=_0x218d9;this[_0x78e057(0x16e)][_0x78e057(0x3c2)](_0x14ec13);}));}),await Promise[_0x23e083(0x367)](_0x13a7d2);}};_0x128a39=_0x514f3a([_0x268b30(0x0,_0x7d6be[_0x24817b(0x3b5)]),_0x268b30(0x1,_0x7d6be[_0x24817b(0x267)]),_0x268b30(0x2,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x45e7a9[_0x24817b(0x1c2)]))],_0x128a39);var _0x43fc74=class extends _0x7d6be[_0x24817b(0x2a4)]{constructor(){const _0xd17b76=_0x24817b;super(),_0x1bbeaf(this,'urlChange$',void 0x0),this['urlChange$']=(0x0,_0x562b73['fromEvent'])(window,_0xd17b76(0x1f5))[_0xd17b76(0x234)]((0x0,_0x562b73[_0xd17b76(0x2b4)])(this[_0xd17b76(0x199)]),(0x0,_0x562b73[_0xd17b76(0x1ef)])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x562b73['mapTo'])(void 0x0));}[_0x24817b(0x3e5)](_0x453cd7,_0x9fcbfe,_0x560c64=!0x1){const _0x1149ce=_0x24817b;let _0x16c8c8=new URL(window[_0x1149ce(0x20c)]['href']);_0x16c8c8[_0x1149ce(0x2a7)][_0x1149ce(0x250)](_0x453cd7,_0x9fcbfe),_0x560c64?window['history'][_0x1149ce(0x347)]('','',_0x16c8c8['toString']()):window[_0x1149ce(0x42a)][_0x1149ce(0x2e1)]('','',_0x16c8c8[_0x1149ce(0x251)]());}[_0x24817b(0x322)](_0x3962c6,_0x5937a0=!0x1){const _0x1d867e=_0x24817b;let _0x337616=new URL(window['location']['href']);_0x337616[_0x1d867e(0x2a7)][_0x1d867e(0x3c2)](_0x3962c6),_0x5937a0?window[_0x1d867e(0x42a)]['replaceState']('','',_0x337616[_0x1d867e(0x251)]()):window[_0x1d867e(0x42a)][_0x1d867e(0x2e1)]('','',_0x337616['toString']());}[_0x24817b(0x281)](_0x1f8ce4){const _0x50e4ff=_0x24817b;return new URL(window[_0x50e4ff(0x20c)]['href'])[_0x50e4ff(0x2a7)][_0x50e4ff(0x1df)](_0x1f8ce4)??void 0x0;}};let _0x1367c6=class extends _0x7d6be[_0x24817b(0x429)]{constructor(_0x577330=_0x116b2f,_0xf7892f,_0x4f5a76,_0xeb52e,_0x285088){const _0x201255=_0x24817b;super(),this[_0x201255(0x156)]=_0x577330,this[_0x201255(0x187)]=_0xf7892f,this[_0x201255(0x160)]=_0x4f5a76,this['_configService']=_0xeb52e,this[_0x201255(0x32d)]=_0x285088;let {..._0x224de4}=(0x0,_0x7d6be[_0x201255(0x25f)])({},_0x116b2f,this[_0x201255(0x156)]);this[_0x201255(0x332)][_0x201255(0x15d)](_0x201255(0x28d),_0x224de4);}[_0x24817b(0x315)](){const _0x20be1e=_0x24817b;this[_0x20be1e(0xd9)](),this['disposeWithMe'](this[_0x20be1e(0x32d)][_0x20be1e(0x1c3)](_0x47d78c)),this[_0x20be1e(0x219)]();}[_0x24817b(0xe3)](){const _0x2565a9=_0x24817b;this[_0x2565a9(0x3d9)]();}['_registerDependencies'](){const _0x4c96f8=_0x24817b;var _0x565e04;let _0x1e781d=[[_0x21a798],[_0x4e5977],[_0x1e2af4,{'useClass':_0x43fc74}],[_0x323130[_0x4c96f8(0x2a0)],{'useClass':_0x323130[_0x4c96f8(0x3e8)]}],[_0x4d4217['ILocalCacheService'],{'useClass':_0x128a39}],[_0x28600c],[_0x20e279],[_0x5c63ae],[_0x3507dd],[_0x50024a],[_0x47821d]];this[_0x4c96f8(0x156)]['enableDocumentCollaborationUI']!==!0x1&&_0x1e781d['push']([_0x4040b4],[_0xfe47c1],[_0x3d85b7],[_0x45fb09],[_0x121742],[_0x3660c3]),this[_0x4c96f8(0x156)][_0x4c96f8(0x1d2)]&&_0x1e781d[_0x4c96f8(0x35d)]([_0x162c6f]),(0x0,_0x7d6be[_0x4c96f8(0x213)])(this[_0x4c96f8(0x160)],(0x0,_0x7d6be[_0x4c96f8(0xee)])(_0x1e781d,(_0x565e04=this[_0x4c96f8(0x156)])==null?void 0x0:_0x565e04[_0x4c96f8(0x41f)]));}[_0x24817b(0x3d9)](){const _0x42be83=_0x24817b;this['_config']['enableDocumentCollaborationUI']!==!0x1&&this['disposeWithMe'](this[_0x42be83(0x187)]['registerRenderModule'](_0x7d6be[_0x42be83(0x390)][_0x42be83(0x225)],[_0x27995f])),this[_0x42be83(0x288)](this['_renderManagerService'][_0x42be83(0x334)](_0x7d6be[_0x42be83(0x390)][_0x42be83(0x272)],[_0x44acce]));}[_0x24817b(0x219)](){const _0x3e620a=_0x24817b;(0x0,_0x7d6be[_0x3e620a(0x1d8)])(this[_0x3e620a(0x160)],[[_0x5c63ae],[_0x3507dd],[_0x28600c],[_0x20e279],[_0x50024a],[_0x4e5977],[_0x47821d]]),this[_0x3e620a(0x156)][_0x3e620a(0xea)]!==!0x1&&(0x0,_0x7d6be['touchDependencies'])(this[_0x3e620a(0x160)],[[_0x121742],[_0x3660c3]]),this[_0x3e620a(0x156)]['enableFrontendLog']&&(0x0,_0x7d6be[_0x3e620a(0x1d8)])(this['_injector'],[[_0x162c6f]]);}};_0x1bbeaf(_0x1367c6,_0x24817b(0x27a),_0x24817b(0x23f)),_0x1bbeaf(_0x1367c6,_0x24817b(0x314),_0x4765ec),_0x1bbeaf(_0x1367c6,_0x24817b(0x3dc),_0x4f1e69),_0x1367c6=_0x514f3a([(0x0,_0x7d6be['DependentOn'])(_0x47a294['UniverLicensePlugin'],_0x228dc5[_0x24817b(0x41d)],_0x362d45[_0x24817b(0x2b0)],_0x323130[_0x24817b(0x155)],_0x45e7a9['UniverCollaborationPlugin'],_0x113b6e[_0x24817b(0x1fe)],_0x4d4217[_0x24817b(0x41b)]),_0x268b30(0x1,_0x362d45['IRenderManagerService']),_0x268b30(0x2,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x7d6be[_0x24817b(0x424)])),_0x268b30(0x3,_0x7d6be[_0x24817b(0x3b5)]),_0x268b30(0x4,_0x7d6be[_0x24817b(0x30b)])],_0x1367c6);let _0x51b005=class extends _0x4d4217[_0x24817b(0x23a)]{constructor(_0x47596c,_0x8bc9c1,_0x25d337,_0x359aa1,_0x4fdb34){super(_0x47596c,_0x8bc9c1,_0x25d337,_0x359aa1,_0x4fdb34);}async[_0x24817b(0x278)](_0x3d5af4){const _0x1aaa69=_0x24817b;let _0x26a5b2=await this[_0x1aaa69(0x280)](),_0x23a7e1=this[_0x1aaa69(0x1c0)](_0x3d5af4,_0x26a5b2);return this[_0x1aaa69(0x3f2)](_0x23a7e1);}[_0x24817b(0x1c0)](_0x547630,_0x14f743){const _0xd8b3f2=_0x24817b;let _0x5cfe14=typeof window>'u'?new URL(_0x547630):new URL(_0x547630,window['location']['origin']);_0x5cfe14[_0xd8b3f2(0x2a7)]['set'](_0xd8b3f2(0xec),_0x14f743);let _0x5c75d1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xd8b3f2(0x20c)][_0xd8b3f2(0x3ed)]);return _0x5c75d1[_0xd8b3f2(0x1df)]('runId')&&_0x5cfe14['searchParams']['set'](_0xd8b3f2(0x1be),_0x5c75d1['get']('runId')),_0x5cfe14[_0xd8b3f2(0x251)]();}async[_0x24817b(0x280)](){const _0xd7661f=_0x24817b;var _0x3f5366;let _0x39fd4e=this['_configService']['getConfig'](_0x4d4217[_0xd7661f(0xdc)]),_0x212a2e=(_0x39fd4e==null?void 0x0:_0x39fd4e[_0xd7661f(0x405)])??_0x4d4217[_0xd7661f(0x24e)];return((_0x3f5366=(await this[_0xd7661f(0xb6)][_0xd7661f(0x1df)](_0x212a2e,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x3f5366['ticket'])??'';}};_0x51b005=_0x514f3a([_0x268b30(0x0,(0x0,_0x7d6be[_0x24817b(0x124)])(_0x7d6be[_0x24817b(0x424)])),_0x268b30(0x1,(0x0,_0x7d6be['Inject'])(_0x323130['HTTPService'])),_0x268b30(0x2,_0x7d6be[_0x24817b(0x3b5)]),_0x268b30(0x3,_0x7d6be[_0x24817b(0x19a)]),_0x268b30(0x4,_0x45e7a9[_0x24817b(0x1f2)])],_0x51b005);let _0x58f6a8=class extends _0x7d6be[_0x24817b(0x294)]{constructor(_0x2f65c5,_0x55e683,_0x317893){const _0x1fdca6=_0x24817b;super(),this['_instanceService']=_0x2f65c5,this[_0x1fdca6(0xb6)]=_0x55e683,this['_configService']=_0x317893;}async['runOnServer'](_0x20a436,_0x37a9ed,_0x4353fc,..._0x38ec24){const _0x46b368=_0x24817b;let _0x1e36d7=this[_0x46b368(0x1bc)]['getFocusedUnit']();if(!_0x1e36d7)throw Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');let _0x243c51=(this[_0x46b368(0x332)][_0x46b368(0xd0)](_0x4d4217[_0x46b368(0x3e7)])??_0x4d4217['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x20a436+'/run/'+_0x37a9ed,_0x2a0981={'scriptId':_0x20a436,'runId':new URL(window['location'][_0x46b368(0x14f)])[_0x46b368(0x2a7)][_0x46b368(0x1df)](_0x46b368(0x1be))??'','function':_0x37a9ed,'unitId':_0x1e36d7['getUnitId'](),'argsOfFunction':JSON[_0x46b368(0xfb)](_0x38ec24),'invokeId':_0x4353fc['invokeId']??'','executionId':_0x4353fc[_0x46b368(0x27d)]??''};try{let _0x46926d=await this[_0x46b368(0xb6)][_0x46b368(0x19e)](_0x243c51,{'body':_0x2a0981});return _0x46926d[_0x46b368(0x207)][_0x46b368(0x41a)]&&_0x46926d['body'][_0x46b368(0x41a)][_0x46b368(0x10a)]!==_0xa4b4fd[_0x46b368(0x3c4)]['OK']?_0x46b368(0x383):_0x46926d['body'][_0x46b368(0x313)];}catch{return'Failed';}}};_0x58f6a8=_0x514f3a([_0x268b30(0x0,_0x7d6be[_0x24817b(0x2d0)]),_0x268b30(0x1,(0x0,_0x7d6be['Inject'])(_0x323130[_0x24817b(0x227)])),_0x268b30(0x2,_0x7d6be[_0x24817b(0x3b5)])],_0x58f6a8);let _0x3180b0=0x7530,_0x2ae220='ACTIVE_UNIT_EVENT_CHANNEL';var _0x248da5=class extends _0x7d6be[_0x24817b(0x294)]{constructor(){const _0x155f06=_0x24817b;super(),_0x1bbeaf(this,'_id',(0x0,_0x7d6be[_0x155f06(0x248)])()),_0x1bbeaf(this,_0x155f06(0x12f),new Set()),_0x1bbeaf(this,_0x155f06(0x353),new Map()),_0x1bbeaf(this,_0x155f06(0xc4),null),_0x1bbeaf(this,_0x155f06(0x2ea),new Map()),_0x1bbeaf(this,_0x155f06(0x2f1),new Map()),this[_0x155f06(0x3a2)]();}[_0x24817b(0x364)](){const _0x4dc03c=_0x24817b;super[_0x4dc03c(0x364)](),this[_0x4dc03c(0x2ea)][_0x4dc03c(0x366)]((_0x1d6eb9,_0x483fd9)=>this[_0x4dc03c(0x3d2)](_0x483fd9)),this[_0x4dc03c(0xc4)]&&window[_0x4dc03c(0x42f)](this[_0x4dc03c(0xc4)]);}['getUnitStatus$'](_0x28ace5){const _0x1cfe8e=_0x24817b;return this['_ensureSubject'](_0x28ace5)[_0x1cfe8e(0x234)]((0x0,_0x562b73[_0x1cfe8e(0x28b)])());}[_0x24817b(0x11f)](_0xeae543){const _0x4edd68=_0x24817b;this[_0x4edd68(0x12f)]['size']===0x0&&this[_0x4edd68(0x10b)](),this['_selfUnitIDs']['add'](_0xeae543),this['_send']({'type':0x0,'memberID':this[_0x4edd68(0x2de)],'unitIDs':[_0xeae543],'isForwarded':!0x1});}[_0x24817b(0x36c)](_0x273187){const _0x2fadb9=_0x24817b;this[_0x2fadb9(0x12f)][_0x2fadb9(0x3c2)](_0x273187),this[_0x2fadb9(0x12f)][_0x2fadb9(0x1dc)]===0x0&&this['_heartbeatTimer']&&window[_0x2fadb9(0x42f)](this[_0x2fadb9(0xc4)]);}[_0x24817b(0x3a2)](){const _0x2da0c4=_0x24817b;this['disposeWithMe']((0x0,_0x7d6be['toDisposable'])((0x0,_0x562b73[_0x2da0c4(0x291)])(window,_0x2da0c4(0x117))[_0x2da0c4(0x2f2)](_0x2b201e=>{const _0x151357=_0x2da0c4;if(_0x2b201e['key']!==_0x2ae220||!_0x2b201e[_0x151357(0x3fc)])return;let _0x3d1513=JSON['parse'](_0x2b201e['newValue']);this['_handleEvent'](_0x3d1513);}))),window[_0x2da0c4(0x391)](_0x2da0c4(0x39a),()=>this[_0x2da0c4(0x27c)]({'type':0x1,'memberID':this[_0x2da0c4(0x2de)],'unitIDs':Array['from'](this[_0x2da0c4(0x12f)])}));}[_0x24817b(0x1ab)](_0x472a33){const _0x488c9d=_0x24817b;switch(_0x472a33[_0x488c9d(0x1cf)]){case 0x0:this[_0x488c9d(0x112)](_0x472a33);break;case 0x1:this['_handleLeaveEvent'](_0x472a33);break;case 0x2:this[_0x488c9d(0xcb)](_0x472a33);break;}}[_0x24817b(0x112)](_0x1a435f){const _0x538979=_0x24817b;let {unitIDs:_0x1eb057,memberID:_0x2ca742,isForwarded:_0x2277e6}=_0x1a435f;_0x1eb057[_0x538979(0x366)](_0x44d11d=>{const _0x49bbf4=_0x538979;if(!_0x2277e6&&this[_0x49bbf4(0x353)]['has'](_0x44d11d)&&this[_0x49bbf4(0x2c6)](_0x44d11d)[_0x49bbf4(0x236)](_0x4d4217[_0x49bbf4(0x238)][_0x49bbf4(0x3e0)]),!this[_0x49bbf4(0x353)][_0x49bbf4(0x2aa)](_0x44d11d)||!this[_0x49bbf4(0x353)][_0x49bbf4(0x1df)](_0x44d11d)[_0x49bbf4(0x2aa)](_0x2ca742)){let _0x13276e=this[_0x49bbf4(0x353)][_0x49bbf4(0x1df)](_0x44d11d)||new Set();_0x13276e[_0x49bbf4(0x249)](_0x2ca742),this[_0x49bbf4(0x353)][_0x49bbf4(0x250)](_0x44d11d,_0x13276e),this['_scheduleClearOtherTimer'](_0x2ca742);}}),_0x2277e6||this[_0x538979(0x27c)]({'type':0x0,'memberID':this[_0x538979(0x2de)],'unitIDs':[...this[_0x538979(0x12f)]],'isForwarded':!0x0});}[_0x24817b(0x26a)](_0x1be6e0){const _0x4f57af=_0x24817b;this[_0x4f57af(0x3d2)](_0x1be6e0);let _0x170430=window[_0x4f57af(0x3e6)](()=>{const _0x29065d=_0x4f57af;this[_0x29065d(0x353)][_0x29065d(0x366)](_0x4fdf29=>{_0x4fdf29['delete'](_0x1be6e0);});},_0x3180b0*0x2);this[_0x4f57af(0x2ea)]['set'](_0x1be6e0,_0x170430);}[_0x24817b(0x3d2)](_0x23887c){const _0x4c81d7=_0x24817b;if(this[_0x4c81d7(0x2ea)][_0x4c81d7(0x2aa)](_0x23887c)){let _0xb1c8d5=this['_clearOtherTimers'][_0x4c81d7(0x1df)](_0x23887c);_0xb1c8d5&&window[_0x4c81d7(0xd8)](_0xb1c8d5),this[_0x4c81d7(0x2ea)][_0x4c81d7(0x250)](_0x23887c,null);}}[_0x24817b(0x2a6)](_0x131f57){const _0x1cf906=_0x24817b;let {memberID:_0x19a9e5,unitIDs:_0x35b059}=_0x131f57;_0x35b059[_0x1cf906(0x366)](_0x101875=>{const _0x1e5fc0=_0x1cf906;var _0x614081;let _0x337dc6=this[_0x1e5fc0(0x353)][_0x1e5fc0(0x1df)](_0x101875);_0x337dc6&&(_0x337dc6[_0x1e5fc0(0x3c2)](_0x19a9e5),(_0x614081=this[_0x1e5fc0(0x2c6)](_0x101875))==null||_0x614081[_0x1e5fc0(0x236)](_0x337dc6['size']===0x0?_0x4d4217[_0x1e5fc0(0x238)][_0x1e5fc0(0x2ce)]:_0x4d4217[_0x1e5fc0(0x238)][_0x1e5fc0(0x3e0)]));}),this[_0x1cf906(0x3d2)](_0x19a9e5);}['_handleHeartbeatEvent'](_0x4273e5){const _0x3c6b56=_0x24817b;this[_0x3c6b56(0x26a)](_0x4273e5['memberID']);}[_0x24817b(0x27c)](_0x17b2a9){const _0x58d6ab=_0x24817b;localStorage['setItem'](_0x2ae220,JSON[_0x58d6ab(0xfb)](_0x17b2a9));}[_0x24817b(0x10b)](){const _0xbb7eb3=_0x24817b;this[_0xbb7eb3(0xc4)]=window[_0xbb7eb3(0x1e1)](()=>{const _0x2fc2a0=_0xbb7eb3;this[_0x2fc2a0(0x27c)]({'type':0x2,'memberID':this[_0x2fc2a0(0x2de)]});},_0x3180b0);}[_0x24817b(0x2c6)](_0x4e8ad2){const _0x25b454=_0x24817b;return this[_0x25b454(0x2f1)]['has'](_0x4e8ad2)||this[_0x25b454(0x2f1)]['set'](_0x4e8ad2,new _0x562b73[(_0x25b454(0x1f3))](_0x4d4217[_0x25b454(0x238)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x25b454(0x2f1)][_0x25b454(0x1df)](_0x4e8ad2);}};Object[_0x24817b(0x3da)](_0x2d4bb5,'BrowserCollaborationSocketService',{'enumerable':!0x0,'get':function(){return _0x51b005;}}),Object[_0x24817b(0x3da)](_0x2d4bb5,_0x24817b(0x183),{'enumerable':!0x0,'get':function(){return _0x28600c;}}),_0x2d4bb5[_0x24817b(0x2c9)]=_0x1e2af4,Object['defineProperty'](_0x2d4bb5,'RemoteUniscriptService',{'enumerable':!0x0,'get':function(){return _0x58f6a8;}}),_0x2d4bb5[_0x24817b(0x13c)]=_0x17b682,Object[_0x24817b(0x3da)](_0x2d4bb5,_0x24817b(0x38c),{'enumerable':!0x0,'get':function(){return _0x1367c6;}}),_0x2d4bb5[_0x24817b(0x1c4)]=_0x248da5;}));
|
|
1
|
+
function _0x861d(_0x176772,_0x3f1c77){_0x176772=_0x176772-0x88;const _0x1b2345=_0x1b23();let _0x861d83=_0x1b2345[_0x176772];return _0x861d83;}function _0x1b23(){const _0x48a3de=['univer-border-none\x20univer-bg-transparent','mutations','_blockProgressWatches','canRenderSelection','_bindAdapter','collaboration-client-ui.collaboration.closeRoom','strokeOpacity','history','amd','RefRangeService','on-line-icon_clip0_910_349','getCoordByCell','pipe','bold\x2013px\x20Arial,\x20sans-serif','HEADER_MENU','_timeoutState$','i18nKey','memberID','currentColor','Workbook','off-line-icon_clip0_910_343','_handleHover','_render','CollaborationEvent','_config','polite','toString','WebBrowserSingleActiveUnitService','CONFLICT_CACHE_CLEAR_FAILED','getSheetObject','green.600','onCommandExecuted','_isVisibleUnit','highlight','RegularPolygon','_onRefRangeChange','toFixed','_retryConflictCacheClear','filename','getTypeOfUnitAdded$','UniverDocsPlugin','/run/','registerRenderModule','string','getPropertyPriority','_docTransformIMECacheService','getViewport','UNIVER_SHEET','Rectangle','current','_init','DEFAULT_WS_SESSION_TICKET_URL','black','ErrorCode','JOIN_ROOM_FAILED','columnGroupId','_highlightSecond','find','selection','disposeUnit','div','NodePositionConvertToCursor','font','with','timeoutState$','status','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','timer','_drawAnchor','@univerjs-pro/collaboration','@univerjs/engine-render','[LogService\x20Error]:\x20','_revisionService','storage','bind','set','LoadingMultiIcon','max','_disabled','subUnitId','backupOfflineData','generateRandomId','_scheduleClearOtherTimer','CollaborationSessionService','_handleLeaveEvent','function','react/jsx-runtime','_docStateChangeManagerService','mergeOverrideWithDependencies','pointer','_isBlinkVisible','params','_cursorInfo$','_selfUnitIDs','deepClone','isFinite','dispose','_transformHistoryAndStateStack','CollaborationUIEventService','_transformPreviousActiveRange','...','call','imageSourceType','tag','_labelHorizontalPosition','defineProperty','pluginName','white','size','ERROR','_showText','Subject','_docClipboardService','univer-flex\x20univer-items-center\x20univer-justify-center','_id','886390BYXIzI','SetSelectionsOperation','univer-text-xl\x20univer-transition-colors\x20univer-duration-200','handleIRemoveCol','loadedBlocks','_uiPartsService','content','startRow','runId','_docSelectionManagerService','_send','getAllUnitsForType','_assignedColors','_replaceConflictNotification','decorate','getCurrentSkeleton','univer-inline-flex\x20univer-items-center\x20univer-justify-center','getRenderUnitById','vectorEffect','registerRefRange','87834MdLUqq','_collaborationController','subscribeEvent','_startSheetCollabCursor','use','_notificationService','debounce','_messageService','add','getCurrentUnitOfType','subunit','UniverCore','fromEventSubject','_scene','_initWindowErrorListener','_disposeEntity','focused$','popstate','Vector2','EffectRefRangId','_initEvent','@univerjs/sheets-ui','collaboration-client-ui.conflict.processing','mapTo','#FFF','SessionStatus','_startBlinking','CommandType','_getScale','debug','originalStrokeWidth','getCoordRelativeToViewport','searchParams','DeleteRangeMoveUpCommandId','push','transformIMECache','transformMutation','_showConflictProcessingNotification','viewBox','SetTextSelectionsOperation','getUnitId','_createSocketURL','key','_conflictNotification','m2Prime','getUndoRedoMutationParamsCache','rgb','syncEditingCollabCursor','sheetId','clipPath','_imageIoService','_adapter','combineLatest','BehaviorSubject','collaboration-client-ui.conflict.title','dark:focus:!univer-ring-offset-gray-800','DocSelectionManagerService','_memberID','_removeClearOtherTimer','PENDING','_initResize','_adapterRegistry','measureText','red.300','unsubscribe','M0\x200H16V16H0z','transformStateCache','url(#$1','UniverProCollaborationClient','getColorFromTheme','getCurrentTypeOfUnit$','367292txWjMz','univer-size-4\x20univer-shrink-0\x20univer-text-amber-500','_updateLocalCursor','6RDYGCn','_updateCollabCursors','pushState','OTHER_CLIENTS_EDITING','_startDocCollabCursor','then','snapshot-loading-timeout','univer-m-0\x20univer-p-0','_startEntity','_heartbeatTimer','0\x200\x2016\x2016','_draw','ILogService','UniverProtocol','jiqing.500','static','_themeService','addObjects','min','engine','RemoveRowCommandId','resize','split','purple.300','loadOfflineData','collaboration-client-ui.permission.content','ranges','ITransformService','_httpService','getUnit','0\x200\x2017\x2016','labelPosition','_clearBlockProgressWatch','highlightSecond','CollaborationStatus','setTimeout','_clearTimeoutState','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_entities','useCallback','editingUnit','asObservable','right','UniverProCollaboration','collaboration-client-ui.snapshotLoading.refresh','collab-text-range-','CONFLICT','constructor','icon','_unitOnClients','result','26rDcDVT','handleMoveRange','reconnect','[Unhandled\x20Rejection]:\x20','idSuffix','executeCommand','_clearRemotePresences','_collabCursorController','@@toPrimitive\x20must\x20return\x20a\x20primitive\x20value.','_cursors','ticket','OPERATION','some','onRendered','handleDeleteRangeMoveLeft','collaboration-client-ui.collabStatus.fetchMiss','isInternalEditorID','onStarting','unitId','isActive','_docSkeletonManagerService','UniverDesign','FETCH_MISS','state$','getConfig','_lastPointer','DocIMEInputManagerService','defs','attrs','collaboration-client-ui.collabStatus.syncing','non-scaling-stroke','UniverSheetsUi','_toggleOnline','finally','totalBlocks','cursorInfo$','executionId','_stopBlinking','tableId','values','sessionTicket','removeRemotePresence','replaceSelectionInfoWithoutRefresh','Warning','M8.79993\x2014.0166C8.79993\x2014.4585\x208.44176\x2014.8166\x207.99993\x2014.8166C4.23529\x2014.8166\x201.18345\x2011.7648\x201.18345\x208.00017C1.18345\x204.23554\x204.23529\x201.18369\x207.99993\x201.1837C11.7646\x201.1837\x2014.8164\x204.23554\x2014.8164\x208.00017C14.8164\x208.442\x2014.4582\x208.80017\x2014.0164\x208.80017C13.5746\x208.80017\x2013.2164\x208.442\x2013.2164\x208.00017C13.2164\x205.11919\x2010.8809\x202.7837\x207.99993\x202.7837C5.11895\x202.7837\x202.78345\x205.11919\x202.78345\x208.00017C2.78345\x2010.8812\x205.11895\x2013.2166\x207.99993\x2013.2166C8.44176\x2013.2166\x208.79993\x2013.5748\x208.79993\x2014.0166Z','disposeWithMe','_uploadLog','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','textRanges','_docSyncEditingCollabCursorService','_document','cursorInfo','runRefRangeMutations','update','loading-multi-icon','offsetY','collab-rect-range-','parse','showText','removeEventListener','_initCommandExecutedListener','blue.400','fillRule','DisposableCollection','Error','Disposable','getSheetId','Failed','throttle','React','RECT','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_initEntityListener','NOT_COLLAB','makeDirty','univer-text-blue-500','_handleCursorUpdate','throttleTime','entries','_colorIndex','AWAITING_WITH_PENDING','evenodd','round','registerDependencies','_setupBeforeClosingHandler','location','_getSessionTicket','updateOfflineData','roomMembers$','removeAttribute','includes','_renderManagerService','@univerjs/protocol','socket$','clearTimeout','hasAttribute','_cursorShapes','clsx','_syncAdapters','enableDocumentCollaborationUI','saveImage','on-line-icon','_sheetSkeletonManagerService','_localStorageService','_sendLocalPresence','code','_monkeyPatchLogService','DocumentSkeletonPageType','undoState','UniverDocs','useObservable','next','selections','localName','setItem','_pointerMoveDisposable','getMergeData','_ensureSubject','useRef','reload','addObject','isTransformMutationsWithChangesetSuccess','_getSheetObject','focus:univer-outline-none\x20focus:univer-ring-2\x20focus:univer-ring-primary-500\x20focus:univer-ring-offset-2','_messageIds','_initPresenceStatusComponents','SetDocZoomRatioOperation','@univerjs/design','operators','rxjs','_getSaveTimeout','dispose$','Unknown\x20user','canRenderAnchor','UPDATE_CURSOR','tooltipKey','translate(.97)','_commandService','setAlpha','collaboration-client-ui.collabStatus.offline','timedOut','type','_scheduleHeartbeat','saveTaskMap','IUIPartsService','getBoundingClientRect','_cachedData','uni.network.url-service','HEADER','name','_snapshotLoadingService','catch','range','USERS_LEAVE',':backup:','handleInsertCol','_eventUnsubscribe','merge','getLocalCacheKey','kind','getValue','ILocalStorageService','appliedStrokeWidth','getDocRanges','touchDependencies','_urlService','takeUntil','replaceState','getActiveRange','_collabCursorState$','univer-h-8\x20univer-w-8\x20univer-rounded-lg','IConfigService','getCollabCursors$','getCollabEntity$','_presenceStatusRegistrations','get','useId','CLOSE_ROOM','override','strokeWidth','_anchorDot','getDocumentSkeletonColumnPagePathInfo','handleInsertRangeMoveDown','assignAColorForMemberID','_session','IMessageService','collabCursorState$','_initDependencies','CollaborationUIEventId','pageType','SheetsSelectionsService','1122877BXtjup','CONFLICT_PROCESSING','trim','UniverNetworkPlugin','M7.20007\x201.98384C7.20007\x201.54201\x207.55824\x201.18384\x208.00007\x201.18384C11.7647\x201.18384\x2014.8165\x204.23568\x2014.8165\x208.00032C14.8165\x2011.765\x2011.7647\x2014.8168\x208.00007\x2014.8168C4.23543\x2014.8168\x201.18359\x2011.765\x201.18359\x208.00032C1.18359\x207.55849\x201.54177\x207.20031\x201.98359\x207.20031C2.42542\x207.20031\x202.78359\x207.55849\x202.78359\x208.00032C2.78359\x2010.8813\x205.11909\x2013.2168\x208.00007\x2013.2168C10.8811\x2013.2168\x2013.2165\x2010.8813\x2013.2165\x208.00032C13.2165\x205.11933\x2010.8811\x202.78384\x208.00007\x202.78384C7.55824\x202.78384\x207.20007\x202.42567\x207.20007\x201.98384Z','packageName','_adapterDisposables','_hover','createElement','WebSocketService','isEditing','[Window\x20Error]:\x20','_presenceAdapterRegistry','UnitStatus','warning-icon','[CollaborationDataLoaderController]','getScrollXYInfoByViewport','DesktopCollaborationStatusDisplayController','INotificationService','segmentPage','_drawRectRange','getOwnPropertyDescriptor','NodePositionConvertToRectRange','_context','jsx','SOCKET_FAILED','_collaborationUIEventService','CollaborationController','clear','collaboration-client-ui.collaboration.single-unit.warning','setStateCache','off-line-icon','filter','enableFrontendLog','unload','eventID','Loading','url(#off-line-icon_clip0_910_343)','react','mask','serializeRangeWithSheet','_injector','\x20-\x20','_status$','SnapshotLoadingService','_highlight','statusUIPart','MemberService','stroke-width','transformByState','body','forEach','_initialized','stringify','_syncPresenceStatusComponents','BuiltInUIPart','endRow','_entityInit$','DataLoaderService','1em','AWAITING','_textBubble','getStateCache','_unitStatus','memberId','Inject','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','IUnitPresenceUIAdapterRegistry','data','_retryingConflictCacheUnitIDs','_handleJoinEvent','roomMembers','redoState','addClipboardHook','unitType','startsWith','_updateMessage','_updateURLWithCurrentState','_collabSessionService','FromArray','init','MessageType','InsertRangeMoveRightCommandId','none','labelHorizontalPosition','true','delete','ISnapshotServerService','_pendingEntities','switchMap','yellow.400','complete','disableLocalCache','invokeId','collaboration-client-ui.snapshotLoading.timeout','handleDeleteRangeMoveUp','_getMergeRange','activeSheet$','stage','unitID','colorChannel1','Tools','slice','jsxs','collaboration-client-ui.conflict.clearFailed','_univerInstanceService','WarningIcon','column','join','useLayoutEffect','setConfig','unshift','_localCacheService','_watchBlockProgress','displayName','colorClass','GLOBAL','fill','RemoteUniscriptService','fillText','_transformService','url(#on-line-icon_clip0_910_349)','pulse','VIEW_MAIN','univer-text-orange-500','registerComponent','_initUnhandledRejectionListener','indicator','fromEvent','_colorAssignService','assign',',\x200.2)','_scheduleSaving','DOC_RANGE_TYPE','TEXT','UniverProCollaborationClientUi','triggerDblclick','length','279kWSPlt','48856WzLloL','_docTransformSelectionsService','rgba','unit','_latestStates','univerjs-icon\x20univerjs-icon-','priority','toPrimitive','height','startOffset','SnapshotLoadStage','onMouseMove','MoveRangeCommandId','replace','_shapes','UniverCollaborationClientUIPlugin','element','subscribe','lineno','_range','univer-transition-all\x20univer-duration-200','UniverProLicense','_blinkTimer','_disposed','4146560yQadtL','9334iNNgrs','getMemberID','fillStyle','requireSession','row','refreshLabel','_collaborationSessionService','_setupSubUnitSync','presenceKind','getSkeleton','shareReplay','_updateSubUnitFromURLParams','snapshot-loading-','application/json','sheetID','clearOfflineData','parseInt','IImageIoService','_dataLoaderService','onPointerEnter$','href','FOOTER','_toggleOffline','prototype','TEXT_RANGE_LAYER_INDEX','@univerjs-pro/collaboration-client','collaboration-client-ui.collabStatus.conflict','UNIVER_DOC','UniverSheets','symbol','setProperty','getSheetBySheetId','_handleEvent','_initStatusListener','_memberService','debounceTime','text','@univerjs/docs-ui','UniverEngineFormula','_hideTimer','enableLocalCache','getLocalPresence','defIds','event$','arc','ThemeService','_name','getColor','PERMISSION_DENIED','svg','top','_instanceService','small','_removeRemotePresence','createInstance','_initStatusComponent','_configService','createSocket','Shape','hadStyleAttribute','_registerRenderDependencies','univer-appearance-none','_docTransformStateCacheService','map','setParam','getCurrentRevOfUnit','transformMutationsWithChangeset','preventDefault','isReleased','focusedId','InsertColCommandId','sessionStatus$','getCellIndexByOffset','onPointerLeave$','IUniverInstanceService','rxjs/operators','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','loadUnit','useDependency','getParam','_refreshCollabCursors','from','collaboration-client-ui.collabStatus.notCollab','pageIndex','collaboration-client-ui.permission.title','univer-text-gray-400','toRgbString','_trackActiveSaveTask','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','RevisionService','saveOfflineData','color','_activeSaveTaskMap','rgba(255,\x20255,\x20255,\x200.01)','querySelectorAll','ILocalCacheService','IBeforeCloseService','getPropertyValue','ACTIVE_UNIT_EVENT_CHANNEL','shareInterval','connectInjector','_isDisposed','SYNCED','show','setInterval','http://www.w3.org/2000/svg','distinctUntilChanged','stack','clickable','drawWith','getAncestorScale','registerBeforeClose','_getLighterColor','Injector','Rect','lineTo','has','/universer-api/frontend/logs','@univerjs/core','LOCAL_CACHE_INTERVAL_KEY','_syncEditingCollabCursorService','_onCursorDelete','_showConflictCacheClearFailedNotification','version','_saveTaskMap','clearInterval','currentSkeleton$','collaboration-client-ui.collaboration.offline-data-not-saved','Plugin','COLORS','options','univer-fixed\x20univer-left-1/2\x20univer-top-4\x20univer-z-[1001]\x20univer-flex\x20univer-max-w-[calc(100vw-32px)]\x20-univer-translate-x-1/2\x20univer-items-center\x20univer-gap-2\x20univer-rounded-lg\x20univer-bg-gray-0\x20univer-px-3\x20univer-py-2\x20univer-text-sm\x20univer-text-gray-900\x20univer-shadow-lg\x20dark:!univer-bg-gray-700\x20dark:!univer-text-gray-0','_registerPresenceStatusComponent','_docSkeleton','collaboration-client-ui.operation.update-remote-unit-presence','UniverInstanceType','_drawTextRange','_disposeEntitiesForType','error','DependentOn','newValue','setShapeProps','OTHER_CLIENT_EDITING','findNodePositionByCharIndex','alert','isArray','_transformUndoRedoStack','_cursor','number','getActiveSheet','onTransformChange$','currentTheme$','getFocusedUnit','_color','SheetSkeletonManagerService','_removeCollabCursors','bottom','_getAnchorBounding','doc.mutation.rich-text-editing','addHandlerCallback','beginPath','_labelPosition','RxDisposable','parseFloat','_hovered','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','search','_blinkIntervalTimer','children','button','style','UniverDocsUIPlugin','ONLINE','isTransformMutationFailure','DeleteRangeMoveLeftCommandId','setUndoRedoMutationParamsCache','_onCursorUpdate','univer-text-green-500','unhandledrejection','spin','restore','path','LOADING_BLOCKS','_offsetY','collaboration-client-ui.collabClient.tooltip.reconnect','DocCollaborationEntity','circle,\x20ellipse,\x20line,\x20path,\x20polygon,\x20polyline,\x20rect,\x20text,\x20textPath,\x20tspan,\x20use','remove','m1Prime','ColorKit','exports','UniverCollaborationPlugin','Tooltip','timeoutId','LocaleService','collaboration-client-ui.session.will-retry','object','_roomMembers$','selectedIds','toDisposable','clearRemotePresences','onPointerMove$','@univerjs/ui','send','xlink:href','forwardRef','@univerjs/docs','IRenderManagerService','width','OFFLINE','_refRangeService','endColumn','registerCommand','transformRemoteChangeset','_backgroundColor','transform','_localeService','_saveCache','ICommandService','stroke','SetWorksheetActivateCommand','localPresence$','_registerDependencies','HTTPService','_beforeCloseService','span','addEventListener','getMember','save','_logService','getRangePointData','NO_OTHER_CLIENTS_EDITING','getUnitStatus$','prepareTransformSelections','_initUserListener','@univerjs/network','source','_anchor','contains','collaboration-client-ui.config','disconnect','_online','getItem','post','urlChange$','_clearOtherTimers'];_0x1b23=function(){return _0x48a3de;};return _0x1b23();}(function(_0x1d663f,_0x3b8b49){const _0x55e493=_0x861d,_0x442873=_0x1d663f();while(!![]){try{const _0x1587ae=-parseInt(_0x55e493(0x11e))/0x1*(parseInt(_0x55e493(0x318))/0x2)+parseInt(_0x55e493(0x29b))/0x3+parseInt(_0x55e493(0x2e2))/0x4+parseInt(_0x55e493(0x287))/0x5+-parseInt(_0x55e493(0x2e5))/0x6*(-parseInt(_0x55e493(0x3d7))/0x7)+-parseInt(_0x55e493(0x105))/0x8*(-parseInt(_0x55e493(0x104))/0x9)+-parseInt(_0x55e493(0x11d))/0xa;if(_0x1587ae===_0x3b8b49)break;else _0x442873['push'](_0x442873['shift']());}catch(_0x588089){_0x442873['push'](_0x442873['shift']());}}}(_0x1b23,0x1b5ed),function(_0x26b389,_0x2efdbf){const _0xff2168=_0x861d;typeof exports==_0xff2168(0x1e2)&&typeof module<'u'?_0x2efdbf(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('rxjs/operators'),require('@univerjs/design'),require('react'),require('react/jsx-runtime'),require('@univerjs-pro/collaboration'),require('@univerjs-pro/license'),require('@univerjs/docs'),require('@univerjs/docs-ui'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('@univerjs/sheets-ui'),require('@univerjs/protocol')):typeof define==_0xff2168(0x269)&&define[_0xff2168(0x21c)]?define([_0xff2168(0x1dc),_0xff2168(0x137),_0xff2168(0x194),_0xff2168(0x1e8),_0xff2168(0x399),_0xff2168(0x169),_0xff2168(0x397),_0xff2168(0xa0),_0xff2168(0x26a),_0xff2168(0x259),'@univerjs-pro/license',_0xff2168(0x1ec),_0xff2168(0x143),_0xff2168(0x25a),_0xff2168(0x209),'@univerjs/engine-formula','@univerjs/sheets',_0xff2168(0x2b0),_0xff2168(0x374)],_0x2efdbf):(_0x26b389=typeof globalThis<'u'?globalThis:_0x26b389||self,_0x2efdbf(_0x26b389[_0xff2168(0x101)]={},_0x26b389[_0xff2168(0x2df)],_0x26b389[_0xff2168(0x2a6)],_0x26b389['UniverUi'],_0x26b389['rxjs'],_0x26b389['rxjs'][_0xff2168(0x398)],_0x26b389[_0xff2168(0x32d)],_0x26b389[_0xff2168(0x35d)],_0x26b389[_0xff2168(0x35d)],_0x26b389[_0xff2168(0x310)],_0x26b389[_0xff2168(0x11a)],_0x26b389[_0xff2168(0x385)],_0x26b389['UniverDocsUi'],_0x26b389['UniverEngineRender'],_0x26b389['UniverNetwork'],_0x26b389[_0xff2168(0x144)],_0x26b389[_0xff2168(0x13a)],_0x26b389[_0xff2168(0x337)],_0x26b389[_0xff2168(0x2f2)]));}(this,function(_0x19246e,_0x5c5525,_0x379e5f,_0x191907,_0x29b66c,_0x4f408e,_0x51bea6,_0x3fb6bf,_0x49e2bf,_0x180ca7,_0x4473e0,_0x24609f,_0x12bff4,_0x2a6e7e,_0x1c13d8,_0x5b6fce,_0x1f89be,_0x1bf872,_0x30e7ac){const _0x4a9a20=_0x861d;Object[_0x4a9a20(0x27d)](_0x19246e,Symbol['toStringTag'],{'value':'Module'});function _0x54c884({ref:_0x187a12,..._0xb3059b}){const _0x50fcf3=_0x4a9a20;let {preserveStrokeWidth:_0x4c50d6,icon:_0x1726ba,id:_0x52e916,className:_0x39be28,extend:_0x3a7473,..._0x5b4495}=_0xb3059b,_0x455a00=(_0x50fcf3(0x10a)+_0x52e916+'\x20'+(_0x39be28||''))[_0x50fcf3(0x3d9)](),_0x3832f6='_'+(0x0,_0x3fb6bf[_0x50fcf3(0x3c8)])(),_0x2fe232=(0x0,_0x3fb6bf[_0x50fcf3(0x38e)])(null);return(0x0,_0x3fb6bf['useImperativeHandle'])(_0x187a12,()=>_0x2fe232[_0x50fcf3(0x245)]),(0x0,_0x3fb6bf[_0x50fcf3(0xe7)])(()=>{const _0x1a3628=_0x50fcf3;if(_0x4c50d6&&_0x2fe232[_0x1a3628(0x245)]&&_0x2fe232[_0x1a3628(0x245)][_0x1a3628(0x389)]===_0x1726ba[_0x1a3628(0x27b)])return _0x38c87c(_0x2fe232[_0x1a3628(0x245)]);},[_0x4c50d6,_0x1726ba]),_0x5d732c(_0x1726ba,''+_0x52e916,{'defIds':_0x1726ba[_0x50fcf3(0x148)],'idSuffix':_0x3832f6},{'ref':_0x2fe232,'className':_0x455a00,..._0x5b4495},_0x3a7473);}function _0x5d732c(_0x4aea5b,_0x2be8b6,_0x384d02,_0x47578d,_0x37c977){const _0x244cf0=_0x4a9a20;return(0x0,_0x3fb6bf[_0x244cf0(0x3df)])(_0x4aea5b['tag'],{'key':_0x2be8b6,..._0x291a2a(_0x4aea5b,_0x384d02,_0x37c977),..._0x47578d},(_0x3c039a(_0x4aea5b,_0x384d02)['children']||[])[_0x244cf0(0x15d)]((_0x469d13,_0x1b107e)=>_0x5d732c(_0x469d13,_0x2be8b6+'-'+_0x4aea5b[_0x244cf0(0x27b)]+'-'+_0x1b107e,_0x384d02,void 0x0,_0x37c977)));}function _0x291a2a(_0x29fbc5,_0x28a3de,_0x1e9b37){const _0x944f38=_0x4a9a20;let _0x1cd8fc={..._0x29fbc5[_0x944f38(0x334)]};_0x1e9b37!=null&&_0x1e9b37[_0x944f38(0xde)]&&_0x1cd8fc['fill']===_0x944f38(0xde)&&(_0x1cd8fc['fill']=_0x1e9b37[_0x944f38(0xde)]),_0x1e9b37!=null&&_0x1e9b37['colorChannel1']&&_0x1cd8fc['stroke']==='colorChannel1'&&(_0x1cd8fc[_0x944f38(0x1f9)]=_0x1e9b37['colorChannel1']),_0x29fbc5[_0x944f38(0x27b)]==='mask'&&_0x1cd8fc['id']&&(_0x1cd8fc['id']+=_0x28a3de[_0x944f38(0x31c)]),Object[_0x944f38(0x366)](_0x1cd8fc)[_0x944f38(0xad)](([_0xb2092b,_0x2f3172])=>{const _0x12e229=_0x944f38;_0xb2092b===_0x12e229(0xa1)&&typeof _0x2f3172==_0x12e229(0x23f)&&(_0x1cd8fc[_0xb2092b]=_0x2f3172['replace'](/url\(#(.*)\)/,_0x12e229(0x2de)+_0x28a3de['idSuffix']+')'));});let {defIds:_0x30db79}=_0x28a3de;return!_0x30db79||_0x30db79[_0x944f38(0x103)]===0x0?_0x1cd8fc:(_0x29fbc5[_0x944f38(0x27b)]===_0x944f38(0x29f)&&_0x1cd8fc[_0x944f38(0x1ea)]&&(_0x1cd8fc['xlink:href']+=_0x28a3de[_0x944f38(0x31c)]),Object['entries'](_0x1cd8fc)[_0x944f38(0xad)](([_0x2857cc,_0x5a553d])=>{const _0x5e3628=_0x944f38;typeof _0x5a553d=='string'&&(_0x1cd8fc[_0x2857cc]=_0x5a553d[_0x5e3628(0x112)](/url\(#(.*)\)/,'url(#$1'+_0x28a3de[_0x5e3628(0x31c)]+')'));}),_0x1cd8fc);}function _0x3c039a(_0x9d5e92,_0xe12a73){const _0x42d802=_0x4a9a20;var _0x2df975;let {defIds:_0x5b48fe}=_0xe12a73;return!_0x5b48fe||_0x5b48fe[_0x42d802(0x103)]===0x0?_0x9d5e92:_0x9d5e92['tag']===_0x42d802(0x333)&&(_0x2df975=_0x9d5e92['children'])!=null&&_0x2df975[_0x42d802(0x103)]?{..._0x9d5e92,'children':_0x9d5e92[_0x42d802(0x1c6)][_0x42d802(0x15d)](_0x54c9c4=>typeof _0x54c9c4[_0x42d802(0x334)]['id']=='string'&&_0x5b48fe&&_0x5b48fe[_0x42d802(0x372)](_0x54c9c4[_0x42d802(0x334)]['id'])?{..._0x54c9c4,'attrs':{..._0x54c9c4[_0x42d802(0x334)],'id':_0x54c9c4[_0x42d802(0x334)]['id']+_0xe12a73['idSuffix']}}:_0x54c9c4)}:_0x9d5e92;}function _0x38c87c(_0x198164){const _0x4e0c33=_0x4a9a20;let _0x47f372=_0x198164[_0x4e0c33(0x2c1)]['baseVal'],_0x1ca99f=Math['max'](_0x47f372[_0x4e0c33(0x1ee)],_0x47f372[_0x4e0c33(0x10d)]);if(!Number[_0x4e0c33(0x273)](_0x1ca99f)||_0x1ca99f<=0x0||_0x47f372[_0x4e0c33(0x1ee)]<=0x0||_0x47f372['height']<=0x0)return()=>void 0x0;let _0x38c526=0x10/_0x1ca99f,_0x29d775=Array[_0x4e0c33(0x16f)](_0x198164[_0x4e0c33(0x17c)](_0x4e0c33(0x1d8)))['flatMap'](_0x3b21dd=>{const _0x4f9386=_0x4e0c33;let _0x459adf=getComputedStyle(_0x3b21dd),_0x39bcc3=Number[_0x4f9386(0x1c1)](_0x459adf[_0x4f9386(0x3cb)]);return _0x459adf[_0x4f9386(0x1f9)]===_0x4f9386(0xcd)||Number[_0x4f9386(0x1c1)](_0x459adf[_0x4f9386(0x21a)])===0x0||_0x459adf[_0x4f9386(0x299)]===_0x4f9386(0x336)||!Number['isFinite'](_0x39bcc3)||_0x39bcc3<=0x0?[]:[{'element':_0x3b21dd,'hadStyleAttribute':_0x3b21dd[_0x4f9386(0x377)]('style'),'originalStrokeWidth':_0x39bcc3,'strokeWidth':_0x1c6e5b(_0x3b21dd[_0x4f9386(0x1c8)],_0x4f9386(0xaa))}];})[_0x4e0c33(0x15d)](_0x422e17=>({'appliedStrokeWidth':null,'element':_0x422e17[_0x4e0c33(0x115)],'hadStyleAttribute':_0x422e17[_0x4e0c33(0x159)],'isReleased':!0x1,'originalStrokeWidth':_0x422e17[_0x4e0c33(0x2b9)],'strokeWidth':_0x422e17[_0x4e0c33(0x3cb)]}));if(_0x29d775[_0x4e0c33(0x103)]===0x0)return()=>void 0x0;let _0x29573e=(_0x3ae58c,_0x39be0c)=>{const _0x3efcd4=_0x4e0c33;if(_0x47f372['width']<=0x0||_0x47f372['height']<=0x0||_0x3ae58c<=0x0||_0x39be0c<=0x0)return;let _0x313f52=Math['min'](_0x3ae58c/_0x47f372['width'],_0x39be0c/_0x47f372[_0x3efcd4(0x10d)]);!Number['isFinite'](_0x313f52)||_0x313f52<=0x0||_0x29d775[_0x3efcd4(0xad)](_0x4d963e=>{const _0x555b3c=_0x3efcd4;if(_0x4d963e['isReleased'])return;if(_0x4d963e[_0x555b3c(0x3ba)]!==null&&(_0x4d963e[_0x555b3c(0x115)][_0x555b3c(0x1c8)][_0x555b3c(0x17f)](_0x555b3c(0xaa))!==_0x4d963e[_0x555b3c(0x3ba)]||_0x4d963e[_0x555b3c(0x115)][_0x555b3c(0x1c8)][_0x555b3c(0x240)]('stroke-width')!==_0x4d963e[_0x555b3c(0x3cb)][_0x555b3c(0x10b)])){_0x4d963e[_0x555b3c(0x3ba)]=null,_0x4d963e[_0x555b3c(0x162)]=!0x0;return;}let _0xac1c9e=_0x4d963e['originalStrokeWidth']*_0x38c526/_0x313f52,_0x48845d=Number(_0xac1c9e[_0x555b3c(0x238)](0xc))+'px';_0x4d963e[_0x555b3c(0x115)]['style'][_0x555b3c(0x13c)](_0x555b3c(0xaa),_0x48845d,_0x4d963e[_0x555b3c(0x3cb)][_0x555b3c(0x10b)]),_0x4d963e[_0x555b3c(0x3ba)]=_0x48845d;});},_0x4852a3=_0x198164[_0x4e0c33(0x3a9)]();_0x29573e(_0x4852a3[_0x4e0c33(0x1ee)],_0x4852a3[_0x4e0c33(0x10d)]);let _0x32adda=typeof ResizeObserver>'u'?null:new ResizeObserver(_0x34bbfb=>{const _0x53a039=_0x4e0c33;if(_0x34bbfb[_0x53a039(0x324)](_0x2fe304=>_0x2fe304['target']===_0x198164)){let _0x3326da=_0x198164[_0x53a039(0x3a9)]();_0x29573e(_0x3326da[_0x53a039(0x1ee)],_0x3326da[_0x53a039(0x10d)]);}});return _0x32adda==null||_0x32adda['observe'](_0x198164),()=>{const _0x499ecb=_0x4e0c33;_0x32adda==null||_0x32adda[_0x499ecb(0x20e)](),_0x29d775[_0x499ecb(0xad)](_0xbfcc5d=>{const _0x54b231=_0x499ecb;_0xbfcc5d['appliedStrokeWidth']!==null&&(_0x52a9e6(_0xbfcc5d['element'][_0x54b231(0x1c8)],_0x54b231(0xaa),_0xbfcc5d[_0x54b231(0x3ba)],_0xbfcc5d[_0x54b231(0x3cb)][_0x54b231(0x10b)],_0xbfcc5d[_0x54b231(0x3cb)]),!_0xbfcc5d[_0x54b231(0x159)]&&_0xbfcc5d[_0x54b231(0x115)][_0x54b231(0x1c8)][_0x54b231(0x103)]===0x0&&_0xbfcc5d['element'][_0x54b231(0x371)](_0x54b231(0x1c8)));});};}function _0x1c6e5b(_0x278ec8,_0x52e722){const _0xd1b67e=_0x4a9a20;return{'priority':_0x278ec8[_0xd1b67e(0x240)](_0x52e722),'value':_0x278ec8[_0xd1b67e(0x17f)](_0x52e722)};}function _0x52a9e6(_0x39d920,_0x7add19,_0x4bd399,_0x2d0b55,_0x43e091){const _0x5ceeb8=_0x4a9a20;_0x39d920[_0x5ceeb8(0x17f)](_0x7add19)===_0x4bd399&&_0x39d920['getPropertyPriority'](_0x7add19)===_0x2d0b55&&(_0x43e091['value']?_0x39d920[_0x5ceeb8(0x13c)](_0x7add19,_0x43e091['value'],_0x43e091['priority']):_0x39d920['removeProperty'](_0x7add19));}_0x54c884['displayName']='UniverIcon';let _0x4a445e={'tag':_0x4a9a20(0x14f),'attrs':{'xmlns':_0x4a9a20(0x187),'fill':_0x4a9a20(0xcd),'viewBox':_0x4a9a20(0x2ef),'width':_0x4a9a20(0xb5),'height':_0x4a9a20(0xb5)},'children':[{'tag':'g','attrs':{'clipPath':_0x4a9a20(0x9f)},'children':[{'tag':_0x4a9a20(0x1d3),'attrs':{'stroke':'currentColor','d':_0x4a9a20(0x16a),'strokeLinecap':_0x4a9a20(0x36a),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4a9a20(0x2cc),'attrs':{'id':_0x4a9a20(0x228)},'children':[{'tag':_0x4a9a20(0x1d3),'attrs':{'fill':_0x4a9a20(0x27f),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x4a9a20(0x228)]},_0x2f22d4=(0x0,_0x3fb6bf[_0x4a9a20(0x1eb)])(function(_0x7100fd,_0x3eceb0){const _0x3f4612=_0x4a9a20;return(0x0,_0x3fb6bf['createElement'])(_0x54c884,Object['assign']({},_0x7100fd,{'id':_0x3f4612(0x99),'ref':_0x3eceb0,'icon':_0x4a445e}));});_0x2f22d4[_0x4a9a20(0xec)]='OffLineIcon';let _0x14711d={'tag':_0x4a9a20(0x14f),'attrs':{'xmlns':_0x4a9a20(0x187),'fill':'none','viewBox':_0x4a9a20(0x303),'width':_0x4a9a20(0xb5),'height':_0x4a9a20(0xb5)},'children':[{'tag':'g','attrs':{'clipPath':_0x4a9a20(0xf3)},'children':[{'tag':_0x4a9a20(0x1d3),'attrs':{'stroke':_0x4a9a20(0x226),'d':_0x4a9a20(0x347),'strokeLinecap':_0x4a9a20(0x36a),'strokeLinejoin':_0x4a9a20(0x36a),'strokeWidth':1.2}}]},{'tag':_0x4a9a20(0x333),'attrs':{},'children':[{'tag':_0x4a9a20(0x2cc),'attrs':{'id':_0x4a9a20(0x21e)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x4a9a20(0x2dc),'transform':_0x4a9a20(0x3a0)}}]}]}],'defIds':[_0x4a9a20(0x21e)]},_0x46e0db=(0x0,_0x3fb6bf['forwardRef'])(function(_0x387ecf,_0x1d6c9d){const _0x55284f=_0x4a9a20;return(0x0,_0x3fb6bf['createElement'])(_0x54c884,Object[_0x55284f(0xfc)]({},_0x387ecf,{'id':_0x55284f(0x37d),'ref':_0x1d6c9d,'icon':_0x14711d}));});_0x46e0db[_0x4a9a20(0xec)]='OnLineIcon';let _0xcd3741={'tag':_0x4a9a20(0x14f),'attrs':{'xmlns':_0x4a9a20(0x187),'fill':_0x4a9a20(0xcd),'viewBox':'0\x200\x2016\x2016','width':_0x4a9a20(0xb5),'height':_0x4a9a20(0xb5)},'children':[{'tag':'path','attrs':{'fill':'currentColor','d':'M15\x208C15\x2011.866\x2011.866\x2015\x208\x2015C4.13401\x2015\x201\x2011.866\x201\x208C1\x204.13401\x204.13401\x201\x208\x201C11.866\x201\x2015\x204.13401\x2015\x208ZM8.00008\x2012.3671C8.46031\x2012.3671\x208.83342\x2011.994\x208.83342\x2011.5338C8.83342\x2011.0735\x208.46031\x2010.7004\x208.00008\x2010.7004C7.53985\x2010.7004\x207.16675\x2011.0735\x207.16675\x2011.5338C7.16675\x2011.994\x207.53985\x2012.3671\x208.00008\x2012.3671ZM8.5999\x204.4335C8.5999\x204.10213\x208.33127\x203.8335\x207.9999\x203.8335C7.66853\x203.8335\x207.3999\x204.10213\x207.3999\x204.4335V9.36683C7.3999\x209.6982\x207.66853\x209.96683\x207.9999\x209.96683C8.33127\x209.96683\x208.5999\x209.6982\x208.5999\x209.36683V4.4335Z','fillRule':_0x4a9a20(0x369),'clipRule':_0x4a9a20(0x369)}}]},_0x2431b5=(0x0,_0x3fb6bf[_0x4a9a20(0x1eb)])(function(_0x320d47,_0x2284ba){const _0x2420d9=_0x4a9a20;return(0x0,_0x3fb6bf[_0x2420d9(0x3df)])(_0x54c884,Object[_0x2420d9(0xfc)]({},_0x320d47,{'id':_0x2420d9(0x88),'ref':_0x2284ba,'icon':_0xcd3741}));});_0x2431b5[_0x4a9a20(0xec)]=_0x4a9a20(0xe4);let _0x51e901={'tag':_0x4a9a20(0x14f),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4a9a20(0xcd),'viewBox':_0x4a9a20(0x2ef),'width':'1em','height':'1em'},'children':[{'tag':_0x4a9a20(0x1d3),'attrs':{'fill':'#0B9EFB','d':_0x4a9a20(0x344),'fillOpacity':0.2,'fillRule':'evenodd','clipRule':_0x4a9a20(0x369)}},{'tag':_0x4a9a20(0x1d3),'attrs':{'fill':'#0B9EFB','d':_0x4a9a20(0x3db),'fillRule':_0x4a9a20(0x369),'clipRule':_0x4a9a20(0x369)}}]},_0x182816=(0x0,_0x3fb6bf[_0x4a9a20(0x1eb)])(function(_0x462240,_0x2cb869){const _0x442554=_0x4a9a20;return(0x0,_0x3fb6bf[_0x442554(0x3df)])(_0x54c884,Object['assign']({},_0x462240,{'id':_0x442554(0x34e),'ref':_0x2cb869,'icon':_0x51e901}));});_0x182816[_0x4a9a20(0xec)]=_0x4a9a20(0x260);function _0x572f13(_0x5c2963){const _0x2f17c7=_0x4a9a20;switch(_0x5c2963){case _0x5c5525[_0x2f17c7(0x307)][_0x2f17c7(0x1ef)]:return{'icon':(0x0,_0x49e2bf[_0x2f17c7(0x92)])(_0x2f22d4,{}),'colorClass':'univer-text-red-500','i18nKey':_0x2f17c7(0x3a3),'tooltipKey':_0x2f17c7(0x1d6),'clickable':!0x0,'indicator':_0x2f17c7(0x2f4)};case _0x5c5525[_0x2f17c7(0x307)][_0x2f17c7(0x313)]:return{'icon':(0x0,_0x49e2bf[_0x2f17c7(0x92)])(_0x2f22d4,{}),'colorClass':_0x2f17c7(0xf6),'i18nKey':_0x2f17c7(0x138),'clickable':!0x1,'indicator':_0x2f17c7(0x2f4)};case _0x5c5525['CollaborationStatus'][_0x2f17c7(0x32e)]:return{'icon':(0x0,_0x49e2bf['jsx'])(_0x182816,{}),'colorClass':_0x2f17c7(0x363),'i18nKey':'collaboration-client-ui.collabStatus.fetchMiss','clickable':!0x1,'indicator':'spin'};case _0x5c5525[_0x2f17c7(0x307)][_0x2f17c7(0x361)]:return{'icon':(0x0,_0x49e2bf[_0x2f17c7(0x92)])(_0x46e0db,{}),'colorClass':_0x2f17c7(0x173),'i18nKey':_0x2f17c7(0x170),'clickable':!0x1,'indicator':_0x2f17c7(0x2f4)};case _0x5c5525[_0x2f17c7(0x307)][_0x2f17c7(0xb6)]:case _0x5c5525[_0x2f17c7(0x307)][_0x2f17c7(0x368)]:return{'icon':(0x0,_0x49e2bf[_0x2f17c7(0x92)])(_0x182816,{}),'colorClass':'univer-text-blue-500','i18nKey':_0x2f17c7(0x335),'clickable':!0x1,'indicator':_0x2f17c7(0x1d1)};case _0x5c5525['CollaborationStatus'][_0x2f17c7(0x2d6)]:return{'icon':(0x0,_0x49e2bf['jsx'])(_0x182816,{}),'colorClass':_0x2f17c7(0x363),'i18nKey':_0x2f17c7(0x335),'clickable':!0x1,'indicator':_0x2f17c7(0x1d1)};case _0x5c5525[_0x2f17c7(0x307)][_0x2f17c7(0x184)]:return{'icon':(0x0,_0x49e2bf[_0x2f17c7(0x92)])(_0x46e0db,{}),'colorClass':_0x2f17c7(0x1cf),'i18nKey':'collaboration-client-ui.collabStatus.synced','clickable':!0x1,'indicator':_0x2f17c7(0x2f4)};}}function _0x1cbb00(_0x18e2fc){const _0xdc59e7=_0x4a9a20;let {status$:_0x403c84}=_0x18e2fc,_0x5806a9=(0x0,_0x191907[_0xdc59e7(0x386)])(_0x403c84,_0x5c5525['CollaborationStatus'][_0xdc59e7(0x361)]),_0x5406c0=(0x0,_0x191907[_0xdc59e7(0x16c)])(_0x379e5f['LocaleService']),_0x42e5a9=(0x0,_0x191907['useDependency'])(_0x5c5525[_0xdc59e7(0x267)]),_0x557f54=(0x0,_0x3fb6bf['useMemo'])(()=>_0x572f13(_0x5806a9),[_0x5806a9]),_0x3c0f1f=_0x5806a9!==_0x5c5525[_0xdc59e7(0x307)][_0xdc59e7(0x1ef)],_0x2ae659=_0x5406c0['t'](_0x557f54[_0xdc59e7(0x224)]),_0x1203e1=_0x557f54[_0xdc59e7(0x39f)]?_0x5406c0['t'](_0x557f54[_0xdc59e7(0x39f)]):_0x2ae659,_0x50dca6=(0x0,_0x3fb6bf[_0xdc59e7(0x30c)])(()=>{const _0x3c86fc=_0xdc59e7;_0x3c0f1f||_0x42e5a9[_0x3c86fc(0x31a)]();},[_0x3c0f1f,_0x42e5a9]),_0x55c4c4=(0x0,_0x3fb6bf[_0xdc59e7(0x30c)])(_0x52a28f=>{const _0x56de72=_0xdc59e7;!_0x3c0f1f&&(_0x52a28f['key']==='Enter'||_0x52a28f[_0x56de72(0x2c5)]==='\x20')&&(_0x52a28f[_0x56de72(0x161)](),_0x42e5a9[_0x56de72(0x31a)]());},[_0x3c0f1f,_0x42e5a9]),_0x2e16ba=(0x0,_0x49e2bf['jsx'])(_0xdc59e7(0x1ff),{'className':(0x0,_0x51bea6[_0xdc59e7(0x379)])(_0xdc59e7(0x285),_0xdc59e7(0x289),_0x557f54[_0xdc59e7(0xed)],{'univer-animate-spin':_0x557f54['indicator']===_0xdc59e7(0x1d1),'univer-animate-pulse':_0x557f54[_0xdc59e7(0xf9)]===_0xdc59e7(0xf4)}),'aria-hidden':_0xdc59e7(0xcf),'children':_0x557f54[_0xdc59e7(0x315)]}),_0x3a76db=(0x0,_0x49e2bf[_0xdc59e7(0x92)])(_0xdc59e7(0x1ff),{'className':(0x0,_0x51bea6[_0xdc59e7(0x379)])(_0xdc59e7(0x285),_0xdc59e7(0x3c2),_0xdc59e7(0x119),_0xdc59e7(0x393),_0xdc59e7(0x2d2),{'univer-cursor-pointer\x20hover:univer-bg-gray-100\x20dark:hover:!univer-bg-gray-700':_0x557f54[_0xdc59e7(0x18a)],'univer-cursor-default':!_0x557f54['clickable']}),'children':_0x2e16ba});return _0x557f54['clickable']?(0x0,_0x49e2bf['jsx'])(_0x51bea6[_0xdc59e7(0x1de)],{'title':_0x1203e1,'placement':'bottom','children':(0x0,_0x49e2bf[_0xdc59e7(0x92)])(_0xdc59e7(0x1c7),{'type':_0xdc59e7(0x1c7),'onClick':_0x50dca6,'onKeyDown':_0x55c4c4,'className':(0x0,_0x51bea6[_0xdc59e7(0x379)])(_0xdc59e7(0x297),_0xdc59e7(0x214),_0xdc59e7(0x2ec),_0xdc59e7(0x15b)),'aria-label':_0x2ae659+_0xdc59e7(0xa4)+_0x1203e1,'role':'status','aria-live':_0xdc59e7(0x22d),'aria-atomic':_0xdc59e7(0xcf),'children':_0x3a76db})}):(0x0,_0x49e2bf[_0xdc59e7(0x92)])(_0x51bea6[_0xdc59e7(0x1de)],{'title':_0x1203e1,'placement':_0xdc59e7(0x1ba),'children':(0x0,_0x49e2bf[_0xdc59e7(0x92)])(_0xdc59e7(0x250),{'className':(0x0,_0x51bea6[_0xdc59e7(0x379)])(_0xdc59e7(0x297),_0xdc59e7(0x214),_0xdc59e7(0x2ec)),'aria-label':_0x2ae659,'role':_0xdc59e7(0x255),'aria-live':'polite','aria-atomic':_0xdc59e7(0xcf),'children':_0x3a76db})});}function _0x46eea9(_0x1a733f){'@babel/helpers - typeof';const _0x39d424=_0x4a9a20;return _0x46eea9=typeof Symbol==_0x39d424(0x269)&&typeof Symbol['iterator']==_0x39d424(0x13b)?function(_0x45c3ea){return typeof _0x45c3ea;}:function(_0xa1e8ad){const _0x32fa43=_0x39d424;return _0xa1e8ad&&typeof Symbol=='function'&&_0xa1e8ad[_0x32fa43(0x314)]===Symbol&&_0xa1e8ad!==Symbol[_0x32fa43(0x135)]?_0x32fa43(0x13b):typeof _0xa1e8ad;},_0x46eea9(_0x1a733f);}function _0x2fc155(_0x5ace1d,_0xf2200c){const _0x344d1b=_0x4a9a20;if(_0x46eea9(_0x5ace1d)!=_0x344d1b(0x1e2)||!_0x5ace1d)return _0x5ace1d;var _0x3993cf=_0x5ace1d[Symbol[_0x344d1b(0x10c)]];if(_0x3993cf!==void 0x0){var _0x2fb635=_0x3993cf[_0x344d1b(0x279)](_0x5ace1d,_0xf2200c||'default');if(_0x46eea9(_0x2fb635)!=_0x344d1b(0x1e2))return _0x2fb635;throw TypeError(_0x344d1b(0x320));}return(_0xf2200c===_0x344d1b(0x23f)?String:Number)(_0x5ace1d);}function _0x2d8946(_0x14b336){const _0xbe7ef7=_0x4a9a20;var _0x17cc98=_0x2fc155(_0x14b336,'string');return _0x46eea9(_0x17cc98)==_0xbe7ef7(0x13b)?_0x17cc98:_0x17cc98+'';}function _0x477ff4(_0x55be4d,_0x598ab1,_0x2e20e0){const _0x2a3901=_0x4a9a20;return(_0x598ab1=_0x2d8946(_0x598ab1))in _0x55be4d?Object[_0x2a3901(0x27d)](_0x55be4d,_0x598ab1,{'value':_0x2e20e0,'enumerable':!0x0,'configurable':!0x0,'writable':!0x0}):_0x55be4d[_0x598ab1]=_0x2e20e0,_0x55be4d;}function _0x235e3a(_0xd4d07e,_0xcb3d21){return function(_0x499872,_0xd31df6){_0xcb3d21(_0x499872,_0xd31df6,_0xd4d07e);};}function _0x56d489(_0x5720d1,_0x1f3487,_0x22533a,_0x4f3185){const _0x235e53=_0x4a9a20;var _0x53f05d=arguments[_0x235e53(0x103)],_0x431e53=_0x53f05d<0x3?_0x1f3487:_0x4f3185===null?_0x4f3185=Object[_0x235e53(0x8f)](_0x1f3487,_0x22533a):_0x4f3185,_0x4277b4;if(typeof Reflect==_0x235e53(0x1e2)&&typeof Reflect[_0x235e53(0x295)]==_0x235e53(0x269))_0x431e53=Reflect['decorate'](_0x5720d1,_0x1f3487,_0x22533a,_0x4f3185);else{for(var _0x2f639d=_0x5720d1[_0x235e53(0x103)]-0x1;_0x2f639d>=0x0;_0x2f639d--)(_0x4277b4=_0x5720d1[_0x2f639d])&&(_0x431e53=(_0x53f05d<0x3?_0x4277b4(_0x431e53):_0x53f05d>0x3?_0x4277b4(_0x1f3487,_0x22533a,_0x431e53):_0x4277b4(_0x1f3487,_0x22533a))||_0x431e53);}return _0x53f05d>0x3&&_0x431e53&&Object[_0x235e53(0x27d)](_0x1f3487,_0x22533a,_0x431e53),_0x431e53;}let _0xfe667e=class extends _0x379e5f[_0x4a9a20(0x359)]{constructor(_0x3f9052,_0x45e3c7,_0x397a68,_0x65a9e6,_0xadf346){const _0x52b9b1=_0x4a9a20;super(),this['_univerInstanceService']=_0x3f9052,this['_injector']=_0x45e3c7,this[_0x52b9b1(0x29c)]=_0x397a68,this[_0x52b9b1(0x28c)]=_0x65a9e6,this[_0x52b9b1(0x3e3)]=_0xadf346,_0x477ff4(this,_0x52b9b1(0xa5),new _0x29b66c[(_0x52b9b1(0x2d0))](_0x5c5525[_0x52b9b1(0x307)]['NOT_COLLAB'])),_0x477ff4(this,_0x52b9b1(0x3c6),new Map()),this[_0x52b9b1(0x155)](),this['_initStatusListener'](),this[_0x52b9b1(0x395)]();}[_0x4a9a20(0x274)](){const _0x5d419f=_0x4a9a20;this['_presenceStatusRegistrations'][_0x5d419f(0xad)](_0x1d8754=>_0x1d8754[_0x5d419f(0x274)]()),this[_0x5d419f(0x3c6)][_0x5d419f(0x96)](),this[_0x5d419f(0xa5)][_0x5d419f(0xd5)](),super[_0x5d419f(0x274)]();}[_0x4a9a20(0x13f)](){const _0x51bf08=_0x4a9a20;this[_0x51bf08(0x345)]((0x0,_0x29b66c[_0x51bf08(0x3b5)])(this[_0x51bf08(0xe3)][_0x51bf08(0x2ab)],this[_0x51bf08(0xe3)][_0x51bf08(0x2e1)](_0x379e5f[_0x51bf08(0x1a5)]['UNIVER_DOC']),this[_0x51bf08(0xe3)]['getCurrentTypeOfUnit$'](_0x379e5f[_0x51bf08(0x1a5)]['UNIVER_SHEET']))[_0x51bf08(0x220)]((0x0,_0x4f408e[_0x51bf08(0x15d)])(()=>_0x512dbd(this[_0x51bf08(0xe3)])),(0x0,_0x4f408e[_0x51bf08(0x188)])(),(0x0,_0x29b66c[_0x51bf08(0xd3)])(_0x29cf81=>_0x29cf81?this[_0x51bf08(0x29c)][_0x51bf08(0x3c5)](_0x29cf81):(0x0,_0x29b66c['of'])(null)),(0x0,_0x29b66c['switchMap'])(_0x1c3934=>_0x1c3934?_0x1c3934['status$']:(0x0,_0x29b66c['of'])(_0x5c5525['CollaborationStatus'][_0x51bf08(0x361)])))[_0x51bf08(0x116)](_0x253e7b=>{const _0x59a71f=_0x51bf08;this[_0x59a71f(0xa5)][_0x59a71f(0x387)](_0x253e7b);}));}[_0x4a9a20(0x155)](){const _0x3b2a22=_0x4a9a20;this[_0x3b2a22(0x345)](this[_0x3b2a22(0x28c)][_0x3b2a22(0xf7)](_0x191907['BuiltInUIPart'][_0x3b2a22(0x222)],()=>(0x0,_0x191907['connectInjector'])(_0x447fc5({'status$':this[_0x3b2a22(0xa5)][_0x3b2a22(0x30e)]()}),this[_0x3b2a22(0xa3)])));}[_0x4a9a20(0x395)](){const _0xd54d84=_0x4a9a20;let _0x55f2cd=this[_0xd54d84(0x3e3)]['adapters$'][_0xd54d84(0x116)](_0x2a8ade=>{const _0xe2ca10=_0xd54d84;this[_0xe2ca10(0xb0)](_0x2a8ade);});this['disposeWithMe']((0x0,_0x379e5f[_0xd54d84(0x1e5)])(()=>_0x55f2cd[_0xd54d84(0x2db)]()));}[_0x4a9a20(0xb0)](_0x4851dc){const _0xf0372c=_0x4a9a20;let _0x5e7eab=new Map(_0x4851dc['filter'](_0x23d74a=>_0x23d74a['statusUIPart']!=null)[_0xf0372c(0x15d)](_0x3b18e2=>[_0x3b18e2[_0xf0372c(0xc4)],_0x3b18e2]));this[_0xf0372c(0x3c6)]['forEach']((_0x4d9c04,_0x360402)=>{const _0x86b744=_0xf0372c;_0x5e7eab[_0x86b744(0x192)](_0x360402)||(_0x4d9c04[_0x86b744(0x274)](),this[_0x86b744(0x3c6)][_0x86b744(0xd0)](_0x360402));}),_0x5e7eab['forEach']((_0x40ca56,_0x375a00)=>{const _0x862414=_0xf0372c;this['_presenceStatusRegistrations'][_0x862414(0x192)](_0x375a00)||this[_0x862414(0x1a2)](_0x40ca56);});}['_registerPresenceStatusComponent'](_0x31807d){const _0x38ec9f=_0x4a9a20;let _0x3322f8=_0x31807d[_0x38ec9f(0xa8)];if(!_0x3322f8)return;let _0x557eca=new _0x379e5f[(_0x38ec9f(0x357))](),_0x12e779=new _0x29b66c[(_0x38ec9f(0x2d0))](_0x5c5525[_0x38ec9f(0x307)][_0x38ec9f(0x361)]);_0x557eca['add']((0x0,_0x379e5f[_0x38ec9f(0x1e5)])(()=>_0x12e779[_0x38ec9f(0xd5)]())),_0x557eca[_0x38ec9f(0x2a3)](this['_uiPartsService']['registerComponent'](_0x3322f8,()=>(0x0,_0x191907[_0x38ec9f(0x182)])(_0x447fc5({'status$':_0x12e779[_0x38ec9f(0x30e)]()}),this['_injector'])));let _0x44cf7d=this['_univerInstanceService'][_0x38ec9f(0x2e1)](_0x31807d[_0x38ec9f(0xc4)])[_0x38ec9f(0x220)]((0x0,_0x4f408e[_0x38ec9f(0x15d)])(_0x4b430c=>(_0x4b430c==null?void 0x0:_0x4b430c['getUnitId']())??null),(0x0,_0x4f408e[_0x38ec9f(0x188)])(),(0x0,_0x29b66c[_0x38ec9f(0xd3)])(_0x3cdc2c=>_0x3cdc2c?this[_0x38ec9f(0x29c)]['getCollabEntity$'](_0x3cdc2c):(0x0,_0x29b66c['of'])(null)),(0x0,_0x29b66c[_0x38ec9f(0xd3)])(_0x4dd9fa=>(_0x4dd9fa==null?void 0x0:_0x4dd9fa['status$'])??(0x0,_0x29b66c['of'])(_0x5c5525['CollaborationStatus'][_0x38ec9f(0x361)])))[_0x38ec9f(0x116)](_0x38e313=>_0x12e779[_0x38ec9f(0x387)](_0x38e313));_0x557eca[_0x38ec9f(0x2a3)]((0x0,_0x379e5f[_0x38ec9f(0x1e5)])(()=>_0x44cf7d['unsubscribe']())),this[_0x38ec9f(0x3c6)][_0x38ec9f(0x25f)](_0x31807d['unitType'],_0x557eca);}};_0xfe667e=_0x56d489([_0x235e3a(0x0,_0x379e5f['IUniverInstanceService']),_0x235e3a(0x1,(0x0,_0x379e5f['Inject'])(_0x379e5f[_0x4a9a20(0x18f)])),_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x5c5525[_0x4a9a20(0x95)])),_0x235e3a(0x3,_0x191907[_0x4a9a20(0x3a8)]),_0x235e3a(0x4,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x191907['IUnitPresenceUIAdapterRegistry']))],_0xfe667e);function _0x512dbd(_0xd418a9){const _0x17b844=_0x4a9a20;let _0x33090b=_0xd418a9[_0x17b844(0x1b6)](),_0x1fa9e4=_0x33090b==null?void 0x0:_0x33090b[_0x17b844(0x2c3)]();if(_0x1fa9e4&&!(0x0,_0x379e5f[_0x17b844(0x328)])(_0x1fa9e4))return _0x1fa9e4;let _0x2120fd=_0xd418a9[_0x17b844(0x2a4)](_0x379e5f['UniverInstanceType'][_0x17b844(0x139)]),_0x5ed979=_0x2120fd==null?void 0x0:_0x2120fd[_0x17b844(0x2c3)]();if(_0x5ed979&&!(0x0,_0x379e5f[_0x17b844(0x328)])(_0x5ed979))return _0x5ed979;let _0x46c713=_0xd418a9[_0x17b844(0x2a4)](_0x379e5f[_0x17b844(0x1a5)][_0x17b844(0x243)]);if(_0x46c713)return _0x46c713[_0x17b844(0x2c3)]();let _0x47756a=_0xd418a9[_0x17b844(0x292)](_0x379e5f[_0x17b844(0x1a5)]['UNIVER_DOC'])[_0x17b844(0x24d)](_0x2e7e54=>!(0x0,_0x379e5f[_0x17b844(0x328)])(_0x2e7e54[_0x17b844(0x2c3)]()));return _0x47756a?_0x47756a['getUnitId']():null;}function _0x447fc5(_0x2242d2){let {status$:_0x545015}=_0x2242d2;return function(){const _0x1ef45a=_0x861d;return(0x0,_0x49e2bf[_0x1ef45a(0x92)])(_0x1cbb00,{'status$':_0x545015});};}var _0x176194='@univerjs-pro/collaboration-client-ui',_0x5c9d38='1.0.1';let _0x9de98b={'id':_0x4a9a20(0x1a4),'type':_0x379e5f[_0x4a9a20(0x2b6)][_0x4a9a20(0x323)],'handler':(_0x270304,_0x5a7c07)=>{const _0x2225e8=_0x4a9a20;let _0x5bc650=_0x270304['get'](_0x191907[_0x2225e8(0xbd)])['get'](_0x5a7c07[_0x2225e8(0xc4)]);if(!_0x5bc650)return!0x1;switch(_0x5a7c07[_0x2225e8(0x34d)][_0x2225e8(0x3a5)]){case _0x2225e8(0x25f):return _0x5bc650['setRemotePresence'](_0x5a7c07[_0x2225e8(0x34d)]['state']),!0x0;case _0x2225e8(0x1d9):return _0x5bc650[_0x2225e8(0x341)](_0x5a7c07['update'][_0x2225e8(0x32a)],_0x5a7c07[_0x2225e8(0x34d)][_0x2225e8(0xba)]),!0x0;case _0x2225e8(0x96):return _0x5bc650[_0x2225e8(0x1e6)](_0x5a7c07[_0x2225e8(0x34d)][_0x2225e8(0x32a)]),!0x0;default:return!0x1;}}},_0x4905e4={},_0x302b8d=class extends _0x379e5f[_0x4a9a20(0x1c0)]{constructor(_0x5a40ba,_0x5f1908){const _0x2ec31f=_0x4a9a20;super(),this['_docClipboardService']=_0x5a40ba,this[_0x2ec31f(0x2cd)]=_0x5f1908,this[_0x2ec31f(0x246)]();}[_0x4a9a20(0x246)](){const _0x2a8a63=_0x4a9a20;let _0x35747f=this;this[_0x2a8a63(0x345)](this[_0x2a8a63(0x284)][_0x2a8a63(0xc3)]({'onBeforePasteImage':async _0x5d1e99=>{const _0x5a025f=_0x2a8a63;let _0x469727=await _0x35747f[_0x5a025f(0x2cd)][_0x5a025f(0x37c)](_0x5d1e99);return _0x469727?{'source':_0x469727[_0x5a025f(0x20a)],'imageSourceType':_0x469727[_0x5a025f(0x27a)]}:null;}}));}};_0x302b8d=_0x56d489([_0x235e3a(0x0,_0x12bff4['IDocClipboardService']),_0x235e3a(0x1,_0x379e5f[_0x4a9a20(0x12f)])],_0x302b8d);let _0x3f895e=[_0x4a9a20(0x2fc),_0x4a9a20(0x2f3),_0x4a9a20(0x232),_0x4a9a20(0x2da),_0x4a9a20(0x355),_0x4a9a20(0xd4)];var _0x47ec3a=class extends _0x379e5f['Disposable']{constructor(..._0x3030d3){const _0x5e4354=_0x4a9a20;super(..._0x3030d3),_0x477ff4(this,_0x5e4354(0x293),new Map()),_0x477ff4(this,_0x5e4354(0x367),0x0);}['assignAColorForMemberID'](_0xb17555){const _0x1d18ba=_0x4a9a20;if(this[_0x1d18ba(0x293)]['has'](_0xb17555))return this['_assignedColors'][_0x1d18ba(0x3c7)](_0xb17555);let _0x2f5b30=_0x3f895e[this['_colorIndex']];return this[_0x1d18ba(0x367)]=(this[_0x1d18ba(0x367)]+0x1)%_0x3f895e[_0x1d18ba(0x103)],this[_0x1d18ba(0x293)][_0x1d18ba(0x25f)](_0xb17555,_0x2f5b30),_0x2f5b30;}};function _0x33f5b1(_0x255259){let _0x3be904='';for(let _0x4508b5 of _0x255259){let {startOffset:_0x79efd5,endOffset:_0x25405d,isActive:_0x239873,rangeType:_0x1b3013,segmentId:_0x137046,segmentPage:_0x4007b8}=_0x4508b5;_0x3be904['length']&&(_0x3be904+=','),_0x3be904+=_0x79efd5+':'+_0x25405d+':'+(_0x239873?'1':'0')+':'+_0x1b3013+':'+_0x137046+':'+_0x4007b8;}return _0x3be904;}function _0x4aeb03(_0x28ab00){const _0x10d637=_0x4a9a20;let _0x3372eb=_0x28ab00[_0x10d637(0x2fb)](','),_0x235641=[];for(let _0x51963e of _0x3372eb){let [_0x5f161c,_0x3c4d8c,_0x3ea1d8,_0x2c8970,_0x4af60e,_0x1eca0c]=_0x51963e['split'](':');_0x235641[_0x10d637(0x2bd)]({'startOffset':Number(_0x5f161c),'endOffset':Number(_0x3c4d8c),'collapsed':_0x5f161c===_0x3c4d8c,'isActive':_0x3ea1d8==='1','rangeType':_0x2c8970===_0x379e5f[_0x10d637(0xff)]['TEXT']?_0x379e5f[_0x10d637(0xff)][_0x10d637(0x100)]:_0x379e5f[_0x10d637(0xff)][_0x10d637(0x35e)],'segmentId':typeof _0x4af60e==_0x10d637(0x23f)?String(_0x4af60e):'','segmentPage':Number(_0x1eca0c??-0x1)});}return _0x235641['some'](_0x58516c=>_0x58516c[_0x10d637(0x32b)])||(_0x235641[0x0][_0x10d637(0x32b)]=!0x0),_0x235641;}var _0x2430ce=class extends _0x379e5f[_0x4a9a20(0x1c0)]{constructor(..._0x3dd447){const _0x29f3f7=_0x4a9a20;super(..._0x3dd447),_0x477ff4(this,_0x29f3f7(0x3c1),new _0x29b66c[(_0x29f3f7(0x2d0))](null)),_0x477ff4(this,_0x29f3f7(0x3d2),this[_0x29f3f7(0x3c1)][_0x29f3f7(0x30e)]());}[_0x4a9a20(0x2ca)](_0x111421){const _0x371f63=_0x4a9a20;let {unitID:_0x5d87dd,memberID:_0x3635ab,textRanges:_0x49ec07}=_0x111421,_0x124fdd=_0x33f5b1(_0x49ec07);if(_0x124fdd==='')return;let _0x4d1897={'unitID':_0x5d87dd,'memberID':_0x3635ab,'selection':_0x124fdd};this[_0x371f63(0x3c1)][_0x371f63(0x387)](_0x4d1897);}};let _0x22ea1f=class extends _0x379e5f['RxDisposable']{get[_0x4a9a20(0x34b)](){const _0x4e4d4d=_0x4a9a20;return this[_0x4e4d4d(0x270)]['getValue']();}get['roomMembers'](){const _0x28bb1f=_0x4a9a20;return this[_0x28bb1f(0x1e3)][_0x28bb1f(0x3b8)]();}constructor(_0x834e1b,_0xd6da57,_0x1296c0,_0x1edaa6,_0x830152,_0x3cf4a3,_0x4a2472,_0x5abe53,_0x36b499){const _0x18a8fa=_0x4a9a20;super(),this['unitID']=_0x834e1b,this[_0x18a8fa(0x3d0)]=_0xd6da57,this[_0x18a8fa(0xa3)]=_0x1296c0,this['_colorAssignService']=_0x1edaa6,this[_0x18a8fa(0x140)]=_0x830152,this[_0x18a8fa(0x196)]=_0x3cf4a3,this[_0x18a8fa(0xf2)]=_0x4a2472,this[_0x18a8fa(0xe3)]=_0x5abe53,this[_0x18a8fa(0x3a1)]=_0x36b499,_0x477ff4(this,_0x18a8fa(0x20f),!0x1),_0x477ff4(this,'_init',!0x1),_0x477ff4(this,_0x18a8fa(0x270),new _0x29b66c[(_0x18a8fa(0x2d0))](new Map())),_0x477ff4(this,'cursorInfo$',this[_0x18a8fa(0x270)][_0x18a8fa(0x30e)]()),_0x477ff4(this,'_roomMembers$',new _0x29b66c['BehaviorSubject']([])),_0x477ff4(this,_0x18a8fa(0x370),this['_roomMembers$']['pipe']((0x0,_0x29b66c[_0x18a8fa(0x141)])(0x12c))),_0x477ff4(this,_0x18a8fa(0x2e4),(0x0,_0x379e5f[_0x18a8fa(0x2a1)])(_0x11b17f=>{const _0x486634=_0x18a8fa;let _0x43893b={'eventID':_0x180ca7[_0x486634(0x22b)][_0x486634(0x39e)],'data':{'unitID':this[_0x486634(0xdd)],'memberID':this[_0x486634(0x3d0)][_0x486634(0x11f)](),'selection':_0x33f5b1(_0x11b17f)}};this[_0x486634(0x3d0)][_0x486634(0x1e9)](_0x43893b,this[_0x486634(0xdd)]);},0x64));}[_0x4a9a20(0x274)](){const _0x323449=_0x4a9a20;super['dispose'](),this[_0x323449(0x270)]['next'](new Map()),this[_0x323449(0x270)][_0x323449(0xd5)](),this['_roomMembers$'][_0x323449(0x387)]([]),this[_0x323449(0x1e3)][_0x323449(0xd5)]();}[_0x4a9a20(0xca)](){const _0x19e04b=_0x4a9a20;this[_0x19e04b(0x246)]||(this[_0x19e04b(0x246)]=!0x0,this[_0x19e04b(0x3d0)][_0x19e04b(0x165)][_0x19e04b(0x220)]((0x0,_0x29b66c['takeUntil'])(this[_0x19e04b(0x39b)]))[_0x19e04b(0x116)](_0x4c1cc4=>{const _0x49a68b=_0x19e04b;_0x4c1cc4===_0x5c5525['SessionStatus'][_0x49a68b(0x1ca)]?this[_0x49a68b(0x338)]():this['_toggleOffline']();}),this['_session']['event$']['pipe']((0x0,_0x29b66c[_0x19e04b(0x3be)])(this[_0x19e04b(0x39b)]))[_0x19e04b(0x116)](_0x8d4999=>{const _0x500cba=_0x19e04b;let _0x3d1501=_0x8d4999[_0x500cba(0x9d)];_0x3d1501===_0x180ca7['CollaborationEvent'][_0x500cba(0x39e)]&&this[_0x500cba(0x1ce)](_0x8d4999),_0x3d1501===_0x180ca7[_0x500cba(0x22b)]['USERS_LEAVE']&&this[_0x500cba(0x197)](_0x8d4999);}),this[_0x19e04b(0x345)](this[_0x19e04b(0x3a1)][_0x19e04b(0x233)](_0x1accff=>{const _0x312e86=_0x19e04b;let _0x590896=_0x1accff[_0x312e86(0x26f)];_0x590896!=null&&this[_0x312e86(0x20f)]&&_0x1accff['id']===_0x24609f[_0x312e86(0x2c2)]['id']&&_0x590896[_0x312e86(0x32a)]===this[_0x312e86(0xdd)]&&_0x590896[_0x312e86(0x3e1)]===!0x1&&_0x590896['ranges'][_0x312e86(0x103)]>0x0&&this['_updateLocalCursor'](_0x590896[_0x312e86(0x2ff)]);})),this[_0x19e04b(0x196)][_0x19e04b(0x3d2)][_0x19e04b(0x220)]((0x0,_0x29b66c['takeUntil'])(this[_0x19e04b(0x39b)]))['subscribe'](_0x50ef4b=>{const _0x5a0189=_0x19e04b;if((_0x50ef4b==null?void 0x0:_0x50ef4b[_0x5a0189(0xdd)])!==this[_0x5a0189(0xdd)])return;let _0x555bd4={'eventID':_0x180ca7[_0x5a0189(0x22b)][_0x5a0189(0x39e)],'data':_0x50ef4b};this[_0x5a0189(0x1ce)](_0x555bd4);}),this[_0x19e04b(0x345)](this['_commandService'][_0x19e04b(0x233)](_0x5d7973=>{const _0x4c01b1=_0x19e04b;if(_0x5d7973[_0x4c01b1(0x26f)]==null)return;let _0x290d25=_0x5d7973[_0x4c01b1(0x26f)];if(_0x5d7973['id']!==_0x24609f['RichTextEditingMutation']['id']||_0x290d25[_0x4c01b1(0x32a)]!==this[_0x4c01b1(0xdd)])return;let _0x5333b7={'id':'doc.mutation.rich-text-editing','params':_0x290d25},_0x1792b5=this[_0x4c01b1(0x34b)];for(let [_0x46dbee,_0x529fcb]of _0x1792b5){let _0x3c8777={'id':_0x4c01b1(0x1bc),'params':{'unitId':this[_0x4c01b1(0xdd)],'actions':null,'textRanges':_0x529fcb[_0x4c01b1(0x2ff)]}},_0x35d475=this[_0x4c01b1(0xf2)]['transformMutation'](_0x5333b7,_0x3c8777,!0x1);if((0x0,_0x180ca7[_0x4c01b1(0x1cb)])(_0x35d475))throw _0x35d475[_0x4c01b1(0x1a8)];_0x1792b5[_0x4c01b1(0x25f)](_0x46dbee,{..._0x529fcb,'ranges':_0x35d475['m2Prime'][_0x4c01b1(0x26f)][_0x4c01b1(0x348)]});}queueMicrotask(()=>{const _0x2a2ac1=_0x4c01b1;this[_0x2a2ac1(0x270)][_0x2a2ac1(0x387)](_0x1792b5);});})));}[_0x4a9a20(0x1ce)](_0x3b3fb8){const _0x468507=_0x4a9a20;var _0x486015;let {memberID:_0x37e6d9,selection:_0x16b98f}=_0x3b3fb8[_0x468507(0xbe)],_0x209a05=_0x4aeb03(_0x16b98f),_0x254ff9=((_0x486015=this[_0x468507(0x140)][_0x468507(0x201)](this['unitID'],_0x37e6d9))==null?void 0x0:_0x486015[_0x468507(0x3ad)])??'Unknown\x20user',_0x59a41b={'color':this[_0x468507(0xfb)][_0x468507(0x3cf)](_0x37e6d9),'name':_0x254ff9,'ranges':_0x209a05},_0x15168b=this['cursorInfo'];_0x15168b[_0x468507(0x25f)](_0x37e6d9,_0x59a41b),this['_cursorInfo$'][_0x468507(0x387)](_0x15168b);}[_0x4a9a20(0x197)](_0x31e854){const _0x3866a1=_0x4a9a20;let {memberID:_0x319a66}=_0x31e854[_0x3866a1(0xbe)],_0x223f7e=this[_0x3866a1(0x34b)];_0x223f7e[_0x3866a1(0xd0)](_0x319a66),this['_cursorInfo$'][_0x3866a1(0x387)](_0x223f7e);}[_0x4a9a20(0x338)](){const _0x4a420c=_0x4a9a20;var _0x97aaa;if(this['_online']=!0x0,((_0x97aaa=this[_0x4a420c(0xe3)][_0x4a420c(0x1b6)]())==null?void 0x0:_0x97aaa[_0x4a420c(0x2c3)]())!==this[_0x4a420c(0xdd)])return;let _0x12eed6=this[_0x4a420c(0xa3)][_0x4a420c(0x3c7)](_0x24609f[_0x4a420c(0x2d3)])['getDocRanges']();Array['isArray'](_0x12eed6)&&_0x12eed6['length']>0x0&&this[_0x4a420c(0x2e4)](_0x12eed6);}['_toggleOffline'](){const _0x478744=_0x4a9a20;this[_0x478744(0x20f)]=!0x1;}};_0x22ea1f=_0x56d489([_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f[_0x4a9a20(0x18f)])),_0x235e3a(0x3,(0x0,_0x379e5f['Inject'])(_0x47ec3a)),_0x235e3a(0x4,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x5c5525[_0x4a9a20(0xa9)])),_0x235e3a(0x5,(0x0,_0x379e5f['Inject'])(_0x2430ce)),_0x235e3a(0x6,_0x180ca7[_0x4a9a20(0x300)]),_0x235e3a(0x7,_0x379e5f[_0x4a9a20(0x168)]),_0x235e3a(0x8,_0x379e5f[_0x4a9a20(0x1f8)])],_0x22ea1f);let _0x1dc74b=()=>{let _0x1e4a9a=[],_0x308dca=!0x1;return _0x59ddd1=>{const _0x5b21f5=_0x861d;_0x1e4a9a[_0x5b21f5(0x2bd)](_0x59ddd1),_0x308dca||(_0x308dca=!0x0,setTimeout(()=>{const _0x372981=_0x5b21f5;_0x1e4a9a[_0x372981(0xad)](_0x45b595=>_0x45b595()),_0x1e4a9a=[],_0x308dca=!0x1;}));};},_0x23861d=class extends _0x379e5f['RxDisposable']{get['cursorInfo'](){const _0x230241=_0x4a9a20;return this[_0x230241(0x270)][_0x230241(0x3b8)]();}get[_0x4a9a20(0xc1)](){const _0x4b16ab=_0x4a9a20;return this[_0x4b16ab(0x1e3)][_0x4b16ab(0x3b8)]();}constructor(_0x39c24a,_0x390e86,_0x5b3283,_0x3eee95,_0x2641c1,_0x509cde,_0x323c3c,_0xdf5775){const _0xb5cdbb=_0x4a9a20;super(),this[_0xb5cdbb(0xdd)]=_0x39c24a,this[_0xb5cdbb(0x3d0)]=_0x390e86,this['_injector']=_0x5b3283,this[_0xb5cdbb(0xfb)]=_0x3eee95,this['_memberService']=_0x2641c1,this[_0xb5cdbb(0xe3)]=_0x509cde,this[_0xb5cdbb(0x3a1)]=_0x323c3c,this[_0xb5cdbb(0x1f0)]=_0xdf5775,_0x477ff4(this,_0xb5cdbb(0x20f),!0x1),_0x477ff4(this,_0xb5cdbb(0x246),!0x1),_0x477ff4(this,_0xb5cdbb(0x270),new _0x29b66c[(_0xb5cdbb(0x2d0))](new Map())),_0x477ff4(this,_0xb5cdbb(0x33b),this[_0xb5cdbb(0x270)]['asObservable']()),_0x477ff4(this,_0xb5cdbb(0x1e3),new _0x29b66c[(_0xb5cdbb(0x2d0))]([])),_0x477ff4(this,_0xb5cdbb(0x370),this[_0xb5cdbb(0x1e3)][_0xb5cdbb(0x220)]((0x0,_0x29b66c[_0xb5cdbb(0x141)])(0x12c))),_0x477ff4(this,_0xb5cdbb(0x2e4),(0x0,_0x379e5f[_0xb5cdbb(0x2a1)])((_0x340601,_0x1a7766)=>{const _0x30a566=_0xb5cdbb;let _0xc5659={'eventID':_0x180ca7[_0x30a566(0x22b)][_0x30a566(0x39e)],'data':{'unitID':this['unitID'],'memberID':this[_0x30a566(0x3d0)][_0x30a566(0x11f)](),'selection':(0x0,_0x5b6fce[_0x30a566(0xa2)])(_0x340601,_0x1a7766[_0x30a566(0x3b0)])}};this[_0x30a566(0x3d0)]['send'](_0xc5659,this[_0x30a566(0xdd)]);},0x64));}[_0x4a9a20(0x274)](){const _0x119161=_0x4a9a20;super[_0x119161(0x274)](),this[_0x119161(0x270)][_0x119161(0x387)](new Map()),this[_0x119161(0x270)][_0x119161(0xd5)](),this[_0x119161(0x1e3)][_0x119161(0x387)]([]),this['_roomMembers$'][_0x119161(0xd5)]();}[_0x4a9a20(0xca)](){const _0x14c16a=_0x4a9a20;this[_0x14c16a(0x246)]||(this['_init']=!0x0,this[_0x14c16a(0x3d0)][_0x14c16a(0x165)][_0x14c16a(0x220)]((0x0,_0x29b66c[_0x14c16a(0x3be)])(this[_0x14c16a(0x39b)]))['subscribe'](_0x22099a=>{const _0x606cfa=_0x14c16a;_0x22099a===_0x5c5525[_0x606cfa(0x2b4)][_0x606cfa(0x1ca)]?this['_toggleOnline']():this[_0x606cfa(0x134)]();}),this['_session'][_0x14c16a(0x149)]['pipe']((0x0,_0x29b66c[_0x14c16a(0x3be)])(this[_0x14c16a(0x39b)]))[_0x14c16a(0x116)](_0x3ad64d=>{const _0x43dca1=_0x14c16a;let _0x23a788=_0x3ad64d[_0x43dca1(0x9d)];_0x23a788===_0x180ca7['CollaborationEvent'][_0x43dca1(0x39e)]&&this['_onCursorUpdate'](_0x3ad64d),_0x23a788===_0x180ca7['CollaborationEvent'][_0x43dca1(0x3b1)]&&this[_0x43dca1(0x197)](_0x3ad64d);}),this[_0x14c16a(0x237)](),this[_0x14c16a(0x345)](this['_commandService'][_0x14c16a(0x233)](_0x1e76d2=>{const _0x647627=_0x14c16a;if(this['_online']&&_0x1e76d2['id']===_0x1f89be[_0x647627(0x288)]['id']&&_0x1e76d2['params'][_0x647627(0x32a)]===this['unitID']){let _0x2c12e0=_0x1e76d2['params'];this[_0x647627(0x2e4)](_0x2c12e0[_0x647627(0x263)],_0x2c12e0[_0x647627(0x388)][0x0]);}})));}['_onCursorUpdate'](_0x45735d){const _0x5c375a=_0x4a9a20;var _0x203e6a;let {memberID:_0x4740b8,selection:_0x3398ee}=_0x45735d[_0x5c375a(0xbe)],{sheetName:_0x505d2f,range:_0x5931b8}=(0x0,_0x5b6fce['deserializeRangeWithSheet'])(_0x3398ee),_0x5970c4={'name':((_0x203e6a=this[_0x5c375a(0x140)][_0x5c375a(0x201)](this[_0x5c375a(0xdd)],_0x4740b8))==null?void 0x0:_0x203e6a[_0x5c375a(0x3ad)])??_0x5c375a(0x39c),'range':this[_0x5c375a(0xda)](_0x505d2f,_0x5931b8),'sheetID':_0x505d2f,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x4740b8),'selection':_0x3398ee},_0x50740a=this[_0x5c375a(0x34b)];_0x50740a[_0x5c375a(0x25f)](_0x4740b8,_0x5970c4),this[_0x5c375a(0x270)][_0x5c375a(0x387)](_0x50740a);}[_0x4a9a20(0x197)](_0x4c40f1){const _0x2ea6d3=_0x4a9a20;let {memberID:_0xe19b35}=_0x4c40f1[_0x2ea6d3(0xbe)],_0xfdcd87=this[_0x2ea6d3(0x34b)];_0xfdcd87[_0x2ea6d3(0xd0)](_0xe19b35),this[_0x2ea6d3(0x270)][_0x2ea6d3(0x387)](_0xfdcd87);}['_getMergeRange'](_0x377616,_0xcc9dd1){const _0x51ecec=_0x4a9a20;var _0x31c3d6;let _0x5971dc=(_0x31c3d6=this[_0x51ecec(0xe3)][_0x51ecec(0x302)](this[_0x51ecec(0xdd)],_0x379e5f['UniverInstanceType'][_0x51ecec(0x243)]))==null||(_0x31c3d6=_0x31c3d6['getSheetBySheetId'](_0x377616))==null?void 0x0:_0x31c3d6[_0x51ecec(0x38c)]();return(_0x5971dc==null?void 0x0:_0x5971dc[_0x51ecec(0x24d)](_0x4d0e57=>_0x379e5f[_0x51ecec(0x244)][_0x51ecec(0x20c)](_0x4d0e57,_0xcc9dd1)))||_0xcc9dd1;}[_0x4a9a20(0x237)](){const _0x5bb988=_0x4a9a20;let _0x2900f1=new _0x379e5f[(_0x5bb988(0x357))](),_0x22f32b=_0x1dc74b(),_0x200ab0=()=>{const _0x6b5ae4=_0x5bb988;_0x2900f1[_0x6b5ae4(0x274)]();let _0x4857c9=(_0x225e70,_0x9259c3,_0x479ee0,_0xc75e47)=>{const _0x270c59=_0x6b5ae4;let _0xac5294=[];switch(_0x225e70['id']){case _0x1f89be[_0x270c59(0x2ae)][_0x270c59(0x1cc)]:_0xac5294=(0x0,_0x1f89be[_0x270c59(0x326)])(_0x225e70,_0xc75e47);break;case _0x1f89be[_0x270c59(0x2ae)][_0x270c59(0x2bc)]:_0xac5294=(0x0,_0x1f89be[_0x270c59(0xd9)])(_0x225e70,_0xc75e47);break;case _0x1f89be[_0x270c59(0x2ae)][_0x270c59(0x164)]:_0xac5294=(0x0,_0x1f89be[_0x270c59(0x3b3)])(_0x225e70,_0xc75e47);break;case _0x1f89be[_0x270c59(0x2ae)]['InsertRangeMoveDownCommandId']:_0xac5294=(0x0,_0x1f89be[_0x270c59(0x3ce)])(_0x225e70,_0xc75e47);break;case _0x1f89be[_0x270c59(0x2ae)][_0x270c59(0xcc)]:_0xac5294=(0x0,_0x1f89be['handleInsertRangeMoveRight'])(_0x225e70,_0xc75e47);break;case _0x1f89be[_0x270c59(0x2ae)]['InsertRowCommandId']:_0xac5294=(0x0,_0x1f89be['handleInsertRow'])(_0x225e70,_0xc75e47);break;case _0x1f89be[_0x270c59(0x2ae)][_0x270c59(0x111)]:_0xac5294=(0x0,_0x1f89be[_0x270c59(0x319)])(_0x225e70,_0xc75e47);break;case _0x1f89be[_0x270c59(0x2ae)]['RemoveColCommandId']:_0xac5294=(0x0,_0x1f89be[_0x270c59(0x28a)])(_0x225e70,_0xc75e47);break;case _0x1f89be[_0x270c59(0x2ae)][_0x270c59(0x2f9)]:_0xac5294=(0x0,_0x1f89be['handleIRemoveRow'])(_0x225e70,_0xc75e47);}let _0x26e070=(0x0,_0x1f89be[_0x270c59(0x34c)])(_0xac5294,_0xc75e47),_0x3c828d=this[_0x270c59(0x34b)][_0x270c59(0x3c7)](_0x9259c3);if(_0x3c828d&&_0x26e070){let _0x421dab={..._0x3c828d,'range':_0x26e070};this[_0x270c59(0x34b)][_0x270c59(0x25f)](_0x9259c3,_0x421dab),_0x22f32b(()=>{const _0x291302=_0x270c59;let _0x2e8a5b=this[_0x291302(0x1f0)][_0x291302(0x29a)](_0x26e070,_0x14cd45=>(_0x2e8a5b['dispose'](),_0x4857c9(_0x14cd45,_0x9259c3,_0x479ee0,_0x26e070)));_0x2900f1['add'](_0x2e8a5b);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x6b5ae4(0xad)]((_0x5209f6,_0x3fb05f)=>{const _0x41a168=_0x6b5ae4;let {range:_0x4955cf,sheetID:_0x10fb3d}=_0x5209f6,_0xb03ef=this[_0x41a168(0x1f0)]['registerRefRange'](_0x4955cf,_0x73564a=>(_0xb03ef[_0x41a168(0x274)](),_0x4857c9(_0x73564a,_0x3fb05f,_0x10fb3d,_0x4955cf)));_0x2900f1['add'](_0xb03ef);});};this['disposeWithMe']((0x0,_0x379e5f[_0x5bb988(0x1e5)])(this['_cursorInfo$'][_0x5bb988(0x116)](()=>{_0x200ab0();})));}[_0x4a9a20(0x338)](){const _0x579edc=_0x4a9a20;var _0x4e44b0,_0x270d01;if(this[_0x579edc(0x20f)]=!0x0,((_0x4e44b0=this[_0x579edc(0xe3)]['getFocusedUnit']())==null?void 0x0:_0x4e44b0[_0x579edc(0x2c3)]())!==this[_0x579edc(0xdd)])return;let _0x531063=(_0x270d01=this[_0x579edc(0xa3)]['get'](_0x1f89be[_0x579edc(0x3d6)])['getCurrentSelections']())==null?void 0x0:_0x270d01[0x0],_0x484805=this[_0x579edc(0xe3)][_0x579edc(0x2a4)](_0x379e5f[_0x579edc(0x1a5)]['UNIVER_SHEET'])[_0x579edc(0x1b3)]();_0x531063&&_0x484805&&this[_0x579edc(0x2e4)](_0x484805['getSheetId'](),_0x531063);}[_0x4a9a20(0x134)](){const _0x6cfdf3=_0x4a9a20;this[_0x6cfdf3(0x20f)]=!0x1;}};_0x23861d=_0x56d489([_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f['Injector'])),_0x235e3a(0x3,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x47ec3a)),_0x235e3a(0x4,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x5c5525[_0x4a9a20(0xa9)])),_0x235e3a(0x5,_0x379e5f[_0x4a9a20(0x168)]),_0x235e3a(0x6,_0x379e5f[_0x4a9a20(0x1f8)]),_0x235e3a(0x7,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x1f89be[_0x4a9a20(0x21d)]))],_0x23861d);let _0x5e94f1=class extends _0x379e5f[_0x4a9a20(0x1c0)]{constructor(_0x4d1a56,_0x3282e7,_0x4eb789){const _0x4dca70=_0x4a9a20;super(),this[_0x4dca70(0xe3)]=_0x4d1a56,this[_0x4dca70(0xa3)]=_0x3282e7,this[_0x4dca70(0xc8)]=_0x4eb789,_0x477ff4(this,_0x4dca70(0x30b),new Map()),_0x477ff4(this,'_entityInit$',new _0x29b66c[(_0x4dca70(0x283))]()),this[_0x4dca70(0x246)]();}[_0x4a9a20(0x274)](){const _0x32db12=_0x4a9a20;super['dispose'](),this[_0x32db12(0xb3)][_0x32db12(0xd5)](),this[_0x32db12(0x30b)][_0x32db12(0xad)](_0x4fdcfa=>_0x4fdcfa[_0x32db12(0x274)]());}[_0x4a9a20(0x3c4)](_0x3f4574){const _0x537ca6=_0x4a9a20;let _0x467684=this[_0x537ca6(0x30b)]['get'](_0x3f4574);return _0x467684?_0x467684[_0x537ca6(0x33b)]:this[_0x537ca6(0xb3)][_0x537ca6(0x220)]((0x0,_0x29b66c['filter'])(_0x49d813=>_0x49d813['unitID']===_0x3f4574),(0x0,_0x29b66c[_0x537ca6(0xd3)])(_0x3e0660=>_0x3e0660[_0x537ca6(0x33b)]));}[_0x4a9a20(0x246)](){const _0x432a73=_0x4a9a20;this[_0x432a73(0xe3)]['getTypeOfUnitAdded$'](_0x379e5f[_0x432a73(0x1a5)][_0x432a73(0x243)])[_0x432a73(0x220)]((0x0,_0x29b66c[_0x432a73(0x3be)])(this[_0x432a73(0x39b)]))['subscribe'](async _0x3970a3=>{const _0x19bcd2=_0x432a73;let _0x56f7c0=_0x3970a3[_0x19bcd2(0x108)][_0x19bcd2(0x2c3)](),_0x19f9fe=await this['_startSheetCollabCursor'](_0x56f7c0);this[_0x19bcd2(0xb3)][_0x19bcd2(0x387)](_0x19f9fe),this[_0x19bcd2(0x30b)]['set'](_0x56f7c0,_0x19f9fe);}),this[_0x432a73(0xe3)]['getTypeOfUnitAdded$'](_0x379e5f['UniverInstanceType'][_0x432a73(0x139)])[_0x432a73(0x220)]((0x0,_0x29b66c['takeUntil'])(this[_0x432a73(0x39b)]))[_0x432a73(0x220)]((0x0,_0x29b66c['filter'])(_0x476713=>!_0x476713[_0x432a73(0x108)][_0x432a73(0x2c3)]()[_0x432a73(0xc5)]('__')))[_0x432a73(0x116)](async _0x147632=>{const _0x11d166=_0x432a73;let {unit:_0x15c74c}=_0x147632,_0x3c4c0b=_0x15c74c[_0x11d166(0x2c3)](),_0x40e4cb=await this['_startDocCollabCursor'](_0x3c4c0b);this['_entityInit$'][_0x11d166(0x387)](_0x40e4cb),this['_entities']['set'](_0x3c4c0b,_0x40e4cb);}),(0x0,_0x29b66c[_0x432a73(0x3b5)])(this[_0x432a73(0xe3)]['getTypeOfUnitDisposed$'](_0x379e5f[_0x432a73(0x1a5)][_0x432a73(0x139)]),this[_0x432a73(0xe3)]['getTypeOfUnitDisposed$'](_0x379e5f[_0x432a73(0x1a5)][_0x432a73(0x243)]))[_0x432a73(0x220)]((0x0,_0x29b66c[_0x432a73(0x3be)])(this['dispose$']))['subscribe'](_0x30dcb9=>{const _0x2cd173=_0x432a73;let _0x2371d2=_0x30dcb9['getUnitId'](),_0x212c69=this[_0x2cd173(0x30b)][_0x2cd173(0x3c7)](_0x2371d2);_0x212c69&&(_0x212c69[_0x2cd173(0x274)](),this[_0x2cd173(0x30b)][_0x2cd173(0xd0)](_0x2371d2));});}async[_0x4a9a20(0x29e)](_0x584681){const _0x379702=_0x4a9a20;let _0x5a64d4=await this[_0x379702(0xc8)][_0x379702(0x121)](_0x584681),_0x3ae35a=this[_0x379702(0xa3)][_0x379702(0x154)](_0x23861d,_0x584681,_0x5a64d4);return _0x3ae35a[_0x379702(0xca)](),_0x3ae35a;}async[_0x4a9a20(0x2e9)](_0x3f4e){const _0x5477b3=_0x4a9a20;let _0x4fb0ae=await this[_0x5477b3(0xc8)][_0x5477b3(0x121)](_0x3f4e),_0x262015=this[_0x5477b3(0xa3)][_0x5477b3(0x154)](_0x22ea1f,_0x3f4e,_0x4fb0ae);return _0x262015['init'](),_0x262015;}};_0x5e94f1=_0x56d489([_0x235e3a(0x0,_0x379e5f[_0x4a9a20(0x168)]),_0x235e3a(0x1,(0x0,_0x379e5f['Inject'])(_0x379e5f[_0x4a9a20(0x18f)])),_0x235e3a(0x2,(0x0,_0x379e5f['Inject'])(_0x5c5525[_0x4a9a20(0x267)]))],_0x5e94f1);function _0x52f56f(_0x14b3d3,_0x39f441){const _0x2a8b0e=_0x4a9a20;_0x14b3d3['save'](),_0x14b3d3[_0x2a8b0e(0x252)]=_0x2a8b0e(0x221);let _0x3afb7f=_0x14b3d3[_0x2a8b0e(0x2d9)](_0x39f441)[_0x2a8b0e(0x1ee)];return _0x14b3d3[_0x2a8b0e(0x1d2)](),Math[_0x2a8b0e(0x2f7)](_0x3afb7f+0x8,0xc8);}function _0x5e4ca1(_0x14005b,_0x13d21c){const _0x312bfc=_0x4a9a20;let {radius:_0x464589,width:_0x17e223,height:_0x3d7655}=_0x13d21c;_0x464589??=0x0,_0x17e223??=0x1e,_0x3d7655??=0x1e;let _0xacd71c=0x0,_0x40058e=0x0,_0x426151=0x0;_0xacd71c=_0x40058e=_0x426151=Math[_0x312bfc(0x2f7)](_0x464589,_0x17e223/0x2,_0x3d7655/0x2),_0x14005b[_0x312bfc(0x1be)](),_0x14005b['moveTo'](_0xacd71c,0x0),_0x14005b[_0x312bfc(0x191)](_0x17e223-_0x40058e,0x0),_0x14005b[_0x312bfc(0x14a)](_0x17e223-_0x40058e,_0x40058e,_0x40058e,Math['PI']*0x3/0x2,0x0,!0x1),_0x14005b[_0x312bfc(0x191)](_0x17e223,_0x3d7655-_0x426151),_0x14005b[_0x312bfc(0x14a)](_0x17e223-_0x426151,_0x3d7655-_0x426151,_0x426151,0x0,Math['PI']/0x2,!0x1),_0x14005b['lineTo'](0x0,_0x3d7655),_0x14005b[_0x312bfc(0x191)](0x0,_0xacd71c),_0x14005b['arc'](_0xacd71c,_0xacd71c,_0xacd71c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x14005b['closePath'](),_0x13d21c['fill']&&(_0x14005b[_0x312bfc(0x202)](),_0x14005b[_0x312bfc(0x120)]=_0x13d21c[_0x312bfc(0xef)],_0x13d21c[_0x312bfc(0x356)]===_0x312bfc(0x369)?_0x14005b[_0x312bfc(0xef)](_0x312bfc(0x369)):_0x14005b['fill'](),_0x14005b[_0x312bfc(0x1d2)]());}var _0x4b2645=class _0x3cd0a3 extends _0x2a6e7e[_0x4a9a20(0x158)]{constructor(_0x2b00ad,_0xaa3fae){const _0x993bf6=_0x4a9a20;super(_0x2b00ad,_0xaa3fae),_0x477ff4(this,_0x993bf6(0x179),void 0x0),_0x477ff4(this,'text',void 0x0),this[_0x993bf6(0x179)]=_0xaa3fae==null?void 0x0:_0xaa3fae[_0x993bf6(0x179)],this[_0x993bf6(0x142)]=_0xaa3fae==null?void 0x0:_0xaa3fae['text'];}static[_0x4a9a20(0x18b)](_0x412779,_0x2090a3){const _0x30f4a7=_0x4a9a20;let {text:_0x44c88c,color:_0x47cbed}=_0x2090a3;_0x412779[_0x30f4a7(0x202)](),_0x412779[_0x30f4a7(0x252)]=_0x30f4a7(0x256);let _0xc0b15e=_0x412779[_0x30f4a7(0x2d9)](_0x44c88c)[_0x30f4a7(0x1ee)];if(_0x5e4ca1(_0x412779,{'height':0x14,'radius':0x4,'width':_0x52f56f(_0x412779,_0x44c88c),'fill':_0x47cbed,'evented':!0x1}),_0x412779[_0x30f4a7(0x120)]=_0x30f4a7(0x2b3),_0xc0b15e>0xc0){let _0x4aaa62='',_0x116286=0x0;for(let _0x550108 of _0x44c88c){let _0x2ba2a2=_0x412779[_0x30f4a7(0x2d9)](_0x550108)[_0x30f4a7(0x1ee)];if(_0x116286+_0x2ba2a2<=0xc0-_0x412779[_0x30f4a7(0x2d9)]('...')['width'])_0x4aaa62+=_0x550108,_0x116286+=_0x2ba2a2;else{_0x4aaa62+=_0x30f4a7(0x278);break;}}_0x412779[_0x30f4a7(0xf1)](_0x4aaa62,0x4,0xf);}else _0x412779[_0x30f4a7(0xf1)](_0x44c88c,0x4,0xf);_0x412779[_0x30f4a7(0x1d2)]();}[_0x4a9a20(0x2f0)](_0x21eae0){const _0x37e678=_0x4a9a20;_0x3cd0a3[_0x37e678(0x18b)](_0x21eae0,this);}};let _0x5a648a='collab-text-anchor-';var _0x1b6e53=class{constructor(_0x46ad29,_0x195ea5,_0x3ccad3,_0x155555){const _0x5c66dc=_0x4a9a20;this[_0x5c66dc(0x1b1)]=_0x46ad29,this[_0x5c66dc(0x2a8)]=_0x195ea5,this[_0x5c66dc(0x1a3)]=_0x3ccad3,this[_0x5c66dc(0x34a)]=_0x155555,_0x477ff4(this,_0x5c66dc(0x113),[]),_0x477ff4(this,_0x5c66dc(0x20b),null),_0x477ff4(this,'_textBubble',null),_0x477ff4(this,_0x5c66dc(0x3cc),null),_0x477ff4(this,'_hideTimer',null),_0x477ff4(this,_0x5c66dc(0x3b4),null),this[_0x5c66dc(0x22a)]();}set['_hover'](_0x4095ff){const _0x107bb1=_0x4a9a20;_0x4095ff?(this[_0x107bb1(0x3cc)]&&this[_0x107bb1(0x3cc)]['hide'](),this[_0x107bb1(0xb7)]&&this[_0x107bb1(0xb7)][_0x107bb1(0x185)]()):(this['_anchorDot']&&this[_0x107bb1(0x3cc)][_0x107bb1(0x185)](),this['_textBubble']&&this[_0x107bb1(0xb7)]['hide']());}['dispose'](){const _0x3e6bdf=_0x4a9a20;for(let _0x417d40 of this[_0x3e6bdf(0x113)])_0x417d40['dispose']();this[_0x3e6bdf(0xb7)]&&this[_0x3e6bdf(0xb7)]['dispose'](),this[_0x3e6bdf(0x3cc)]&&this[_0x3e6bdf(0x3cc)]['dispose'](),this[_0x3e6bdf(0x20b)]&&this[_0x3e6bdf(0x20b)][_0x3e6bdf(0x274)](),this[_0x3e6bdf(0x3b4)]&&this[_0x3e6bdf(0x3b4)]();}[_0x4a9a20(0x22a)](){const _0x46ace5=_0x4a9a20;let {_docSkeleton:_0x1185e5,_document:_0x1c402b}=this,{color:_0x213b2a,name:_0xe1596f,ranges:_0x2b780a}=this[_0x46ace5(0x1b1)],_0x1b63a9=_0x1c402b['getOffsetConfig'](),{docsLeft:_0x4b314d,docsTop:_0x111e42}=_0x1b63a9,_0x1f074b=new _0x12bff4[(_0x46ace5(0x251))](_0x1b63a9,_0x1185e5);for(let {startOffset:_0x26198a,endOffset:_0x511e0a,rangeType:_0x4e1696,segmentId:_0x393066,segmentPage:_0x61fa6,collapsed:_0x361e9d,isActive:_0x7af244}of _0x2b780a){let _0x54c57e=_0x1185e5[_0x46ace5(0x1ad)](_0x26198a,!0x0,_0x393066,_0x61fa6),_0x51a538=_0x1185e5[_0x46ace5(0x1ad)](_0x511e0a,!0x0,_0x393066,_0x61fa6);_0x51a538??=_0x1185e5[_0x46ace5(0x1ad)](_0x511e0a-0x1,!0x1,_0x393066,_0x61fa6);let _0x14de57=_0x318bda(_0x54c57e,_0x51a538);if(_0x7af244&&_0x14de57[_0x46ace5(0x39d)]){let {contentBoxPointGroup:_0xa89fae}=_0x1f074b[_0x46ace5(0x204)](_0x51a538,_0x51a538);if(_0xa89fae[_0x46ace5(0x103)]===0x0)continue;this['_drawAnchor'](_0x213b2a,_0xa89fae,_0x4b314d,_0x111e42,_0xe1596f),this[_0x46ace5(0x3b4)]=this[_0x46ace5(0x229)]();}if(_0x54c57e&&_0x51a538){if(_0x4e1696===_0x379e5f[_0x46ace5(0xff)][_0x46ace5(0x35e)]){let {pointGroup:_0x507d67}=new _0x12bff4[(_0x46ace5(0x90))](_0x1b63a9,_0x1185e5)[_0x46ace5(0x204)](_0x54c57e,_0x51a538)??{};if(_0x507d67==null||_0x507d67[_0x46ace5(0x103)]===0x0)continue;this['_drawRectRange'](_0x213b2a,_0x507d67,_0x4b314d,_0x111e42);}else{if(!_0x361e9d&&_0x14de57[_0x46ace5(0x217)]){let {borderBoxPointGroup:_0x17d6f2}=_0x1f074b[_0x46ace5(0x204)](_0x54c57e,_0x51a538);if(_0x17d6f2['length']===0x0)continue;this[_0x46ace5(0x1a6)](_0x213b2a,_0x17d6f2,_0x4b314d,_0x111e42);}}}}}[_0x4a9a20(0x258)](_0x5cee41,_0x3cb4aa,_0x45f9b8,_0x30e9a4,_0x52c2d2){const _0x17df10=_0x4a9a20;let {left:_0x2747ca,top:_0x1b5515,height:_0x53715c}=this['_getAnchorBounding'](_0x3cb4aa),_0x3762fc=1.5/this[_0x17df10(0x2b7)](),_0x920485=new _0x2a6e7e[(_0x17df10(0x190))](_0x5a648a+(0x0,_0x379e5f['generateRandomId'])(0x6),{'left':_0x2747ca+_0x45f9b8-_0x3762fc,'top':_0x1b5515+_0x30e9a4,'height':_0x53715c,'width':1.5,'fill':_0x5cee41||(0x0,_0x2a6e7e[_0x17df10(0x14d)])(_0x379e5f[_0x17df10(0x19f)][_0x17df10(0x248)],0x0),'strokeWidth':_0x3762fc,'stroke':_0x17df10(0x17b),'evented':!0x0});this[_0x17df10(0x20b)]=_0x920485,this[_0x17df10(0x2a8)][_0x17df10(0x390)](_0x920485,_0x12bff4[_0x17df10(0x136)]);let _0x55ce96=new _0x2a6e7e[(_0x17df10(0x190))](_0x5a648a+(0x0,_0x379e5f[_0x17df10(0x265)])(0x6),{'left':_0x2747ca+_0x45f9b8-_0x3762fc,'top':_0x1b5515+_0x30e9a4-0x2,'height':0x4,'width':0x4,'fill':_0x5cee41||(0x0,_0x2a6e7e['getColor'])(_0x379e5f[_0x17df10(0x19f)][_0x17df10(0x248)],0x0),'strokeWidth':0x0,'stroke':_0x5cee41||(0x0,_0x2a6e7e[_0x17df10(0x14d)])(_0x379e5f[_0x17df10(0x19f)][_0x17df10(0x248)],0x0),'evented':!0x1});this['_anchorDot']=_0x55ce96,this[_0x17df10(0x2a8)][_0x17df10(0x390)](_0x55ce96,_0x12bff4[_0x17df10(0x136)]);let _0x54d72b=new _0x4b2645(_0x5a648a+(0x0,_0x379e5f[_0x17df10(0x265)])(0x6),{'left':_0x2747ca+_0x45f9b8-_0x3762fc,'top':_0x1b5515+_0x30e9a4-0x14,'text':_0x52c2d2,'color':_0x5cee41});this[_0x17df10(0xb7)]=_0x54d72b,this[_0x17df10(0x2a8)][_0x17df10(0x390)](_0x54d72b,_0x12bff4['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}[_0x4a9a20(0x229)](){const _0x351965=_0x4a9a20;let _0x500ad5=this[_0x351965(0x20b)][_0x351965(0x131)][_0x351965(0x29d)](()=>{this['_hover']=!0x0;}),_0x5b4549=this['_anchor'][_0x351965(0x167)][_0x351965(0x29d)](()=>{const _0xbee58f=_0x351965;this[_0xbee58f(0x145)]&&clearTimeout(this['_hideTimer']),this[_0xbee58f(0x145)]=setTimeout(()=>{const _0x2a2b6c=_0xbee58f;this[_0x2a2b6c(0x3de)]=!0x1;},0x7d0);});return()=>{const _0x5de920=_0x351965;_0x500ad5['unsubscribe'](),_0x5b4549[_0x5de920(0x2db)]();};}[_0x4a9a20(0x1a6)](_0x261b95,_0x1311cf,_0x46de5f,_0x1e5b13){const _0x4b6b0f=_0x4a9a20;let _0x6efbdf=0.2,_0x303ca4=new _0x379e5f['ColorKit'](_0x261b95)['setAlpha'](_0x6efbdf)['toRgbString'](),_0x184da8=new _0x2a6e7e[(_0x4b6b0f(0x236))](_0x4b6b0f(0x312)+(0x0,_0x379e5f[_0x4b6b0f(0x265)])(0x6),{'pointsGroup':_0x1311cf,'fill':_0x303ca4||(0x0,_0x2a6e7e['getColor'])(_0x379e5f[_0x4b6b0f(0x19f)][_0x4b6b0f(0x248)],_0x6efbdf),'left':_0x46de5f,'top':_0x1e5b13,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4b6b0f(0x113)][_0x4b6b0f(0x2bd)](_0x184da8),this['_scene'][_0x4b6b0f(0x390)](_0x184da8,_0x12bff4['TEXT_RANGE_LAYER_INDEX']);}[_0x4a9a20(0x8e)](_0x29735f,_0x515e7e,_0x4c35ab,_0x98144f){const _0x52cdb5=_0x4a9a20;let _0x3e1e5b=0.2,_0x4b9d71=new _0x379e5f[(_0x52cdb5(0x1db))](_0x29735f)[_0x52cdb5(0x3a2)](_0x3e1e5b)[_0x52cdb5(0x174)](),_0x221a3f=new _0x2a6e7e[(_0x52cdb5(0x236))](_0x52cdb5(0x350)+(0x0,_0x379e5f[_0x52cdb5(0x265)])(0x6),{'pointsGroup':_0x515e7e,'fill':_0x4b9d71||(0x0,_0x2a6e7e[_0x52cdb5(0x14d)])(_0x379e5f[_0x52cdb5(0x19f)][_0x52cdb5(0x248)],_0x3e1e5b),'left':_0x4c35ab,'top':_0x98144f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x52cdb5(0x113)][_0x52cdb5(0x2bd)](_0x221a3f),this[_0x52cdb5(0x2a8)][_0x52cdb5(0x390)](_0x221a3f,_0x12bff4['TEXT_RANGE_LAYER_INDEX']);}[_0x4a9a20(0x1bb)](_0x427cf6){let _0xbf2baf=_0x427cf6[0x0],_0x38210a=_0xbf2baf[0x0],_0x13b629=_0xbf2baf[0x2],{x:_0x44940d,y:_0x3e338a}=_0x38210a,{x:_0x4e83e5,y:_0x5dc1cb}=_0x13b629;return{'left':_0x44940d,'top':_0x3e338a,'width':_0x4e83e5-_0x44940d,'height':_0x5dc1cb-_0x3e338a};}[_0x4a9a20(0x2b7)](){const _0x451deb=_0x4a9a20;let {scaleX:_0x4ccca6,scaleY:_0x3c577c}=this[_0x451deb(0x2a8)][_0x451deb(0x18c)]();return Math[_0x451deb(0x261)](_0x4ccca6,_0x3c577c);}};function _0x318bda(_0x218f3e,_0x144245){const _0x3d383d=_0x4a9a20;if(!_0x144245)return{'canRenderAnchor':!0x1,'canRenderSelection':!0x1};if(!_0x218f3e||_0x218f3e[_0x3d383d(0x3d5)]!==_0x144245[_0x3d383d(0x3d5)]||(_0x218f3e['pageType']===_0x2a6e7e[_0x3d383d(0x383)][_0x3d383d(0x3ac)]||_0x218f3e[_0x3d383d(0x3d5)]===_0x2a6e7e[_0x3d383d(0x383)][_0x3d383d(0x133)])&&_0x218f3e[_0x3d383d(0x8d)]!==_0x144245[_0x3d383d(0x8d)])return{'canRenderAnchor':!0x0,'canRenderSelection':!0x1};let _0x2913b7=(0x0,_0x2a6e7e['getDocumentSkeletonColumnPagePathInfo'])(_0x218f3e),_0xc0a984=(0x0,_0x2a6e7e[_0x3d383d(0x3cd)])(_0x144245);return{'canRenderAnchor':!0x0,'canRenderSelection':_0x2913b7==null||_0xc0a984==null?_0x2913b7==null&&_0xc0a984==null:_0x2913b7['pageIndex']===_0xc0a984[_0x3d383d(0x171)]&&_0x2913b7[_0x3d383d(0x24b)]===_0xc0a984['columnGroupId']&&_0x2913b7['columnIndex']===_0xc0a984['columnIndex']};}let _0x5f4219=class extends _0x379e5f['RxDisposable']{constructor(_0x1f8916,_0x2d17dc,_0x298bfc,_0x45c3e6,_0x410e13){const _0x54c6a9=_0x4a9a20;super(),this['_context']=_0x1f8916,this['_docSkeletonManagerService']=_0x2d17dc,this[_0x54c6a9(0x31f)]=_0x298bfc,this[_0x54c6a9(0x3a1)]=_0x45c3e6,this['_themeService']=_0x410e13,_0x477ff4(this,_0x54c6a9(0x378),[]),_0x477ff4(this,_0x54c6a9(0x321),[]),this[_0x54c6a9(0x246)]();}[_0x4a9a20(0x246)](){const _0x49f534=_0x4a9a20;let _0x29b838=this[_0x49f534(0x91)]['unitId'],_0x3cfa51=this[_0x49f534(0x32c)];this[_0x49f534(0x345)]((0x0,_0x29b66c[_0x49f534(0x2cf)])([this['_collabCursorController'][_0x49f534(0x3c4)](_0x29b838),this['_themeService'][_0x49f534(0x1b5)]])[_0x49f534(0x220)]((0x0,_0x4f408e[_0x49f534(0x15d)])(([_0x44dc57,_0xb343f9])=>({'skeleton':_0x3cfa51[_0x49f534(0x127)](),'cursors':[..._0x44dc57[_0x49f534(0x33f)]()]['flatMap'](_0x5a739f=>({..._0x5a739f,'color':this[_0x49f534(0x2f5)]['getColorFromTheme'](_0x5a739f[_0x49f534(0x179)])}))})))['subscribe'](_0x35a25d=>{const _0x544f28=_0x49f534;if(this[_0x544f28(0x1b9)](),_0x35a25d){let {skeleton:_0x1cbae7,cursors:_0x3c33d0}=_0x35a25d;this[_0x544f28(0x2e6)](_0x1cbae7,_0x3c33d0);}})),this[_0x49f534(0x2d7)](),this[_0x49f534(0x354)]();}['_updateCollabCursors'](_0x5a6270,_0x50c3ad){const _0x2d40ed=_0x4a9a20;let {scene:_0x5605ca,mainComponent:_0x30de2f}=this[_0x2d40ed(0x91)],_0x436ad6=_0x50c3ad[_0x2d40ed(0x15d)](_0xa87c63=>new _0x1b6e53(_0xa87c63,_0x5605ca,_0x5a6270,_0x30de2f));this['_cursorShapes']=_0x436ad6,this['_cursors']=_0x50c3ad;}[_0x4a9a20(0x16e)](){const _0x2b8b7a=_0x4a9a20;this[_0x2b8b7a(0x1b9)]();let {scene:_0x4dd066,mainComponent:_0x4ab485}=this['_context'],_0x8609eb=this[_0x2b8b7a(0x32c)][_0x2b8b7a(0x127)](),_0x322ed8=this[_0x2b8b7a(0x321)]['map'](_0x100c4b=>new _0x1b6e53(_0x100c4b,_0x4dd066,_0x8609eb,_0x4ab485));this[_0x2b8b7a(0x378)]=_0x322ed8;}['_removeCollabCursors'](){const _0xf74873=_0x4a9a20;this[_0xf74873(0x378)][_0xf74873(0xad)](_0x499675=>_0x499675[_0xf74873(0x274)]()),this['_cursorShapes']=[];}[_0x4a9a20(0x354)](){const _0x1fcfba=_0x4a9a20;let _0x43cd3c=[_0x12bff4[_0x1fcfba(0x396)]['id']];this['disposeWithMe'](this[_0x1fcfba(0x3a1)][_0x1fcfba(0x233)](_0x5a01a5=>{const _0x3a1a64=_0x1fcfba;_0x43cd3c[_0x3a1a64(0x372)](_0x5a01a5['id'])&&_0x5a01a5[_0x3a1a64(0x26f)]['unitId']===this[_0x3a1a64(0x91)][_0x3a1a64(0x32a)]&&this[_0x3a1a64(0x16e)]();}));}[_0x4a9a20(0x2d7)](){const _0x6cfbd2=_0x4a9a20;this[_0x6cfbd2(0x345)]((0x0,_0x379e5f[_0x6cfbd2(0x2a7)])(this['_context'][_0x6cfbd2(0x2f8)][_0x6cfbd2(0x1b4)])[_0x6cfbd2(0x220)]((0x0,_0x4f408e['filter'])(_0x3c14e4=>_0x3c14e4['type']===_0x2a6e7e[_0x6cfbd2(0x30a)][_0x6cfbd2(0x2fa)]),(0x0,_0x4f408e[_0x6cfbd2(0x365)])(0x10))[_0x6cfbd2(0x116)](()=>{const _0xf1c1f8=_0x6cfbd2;this[_0xf1c1f8(0x16e)]();}));}};_0x5f4219=_0x56d489([_0x235e3a(0x1,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x24609f['DocSkeletonManagerService'])),_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x5e94f1)),_0x235e3a(0x3,_0x379e5f[_0x4a9a20(0x1f8)]),_0x235e3a(0x4,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f[_0x4a9a20(0x14b)]))],_0x5f4219);var _0x1e3c7b=class extends _0x2a6e7e['Shape']{constructor(_0x1328bd,_0x4da89f){const _0x5bfae6=_0x4a9a20;super(_0x1328bd,_0x4da89f),_0x477ff4(this,_0x5bfae6(0x1b7),void 0x0),_0x477ff4(this,'_hovered',!0x1),_0x477ff4(this,'_range',void 0x0),_0x477ff4(this,_0x5bfae6(0x14c),''),_0x477ff4(this,_0x5bfae6(0x1bf),_0x5bfae6(0x150)),_0x477ff4(this,_0x5bfae6(0x1f4),void 0x0),_0x477ff4(this,'_showText',void 0x0),_0x477ff4(this,'_highlight',void 0x0),_0x477ff4(this,_0x5bfae6(0x24c),0x4),_0x477ff4(this,'_blinkTimer',void 0x0),_0x477ff4(this,_0x5bfae6(0x1c5),void 0x0),_0x477ff4(this,_0x5bfae6(0x26e),!0x0),_0x477ff4(this,_0x5bfae6(0x1d5),0x0),_0x477ff4(this,_0x5bfae6(0x27c),_0x5bfae6(0x30f)),_0x4da89f&&(this['setShapeProps'](_0x4da89f),_0x4da89f[_0x5bfae6(0x235)]&&(_0x4da89f[_0x5bfae6(0x306)]??this[_0x5bfae6(0x24c)])&&this[_0x5bfae6(0x2b5)](_0x4da89f[_0x5bfae6(0x306)]??this['_highlightSecond'])),this[_0x5bfae6(0x131)][_0x5bfae6(0x29d)](()=>this[_0x5bfae6(0x1ab)]({'hovered':!0x0})),this[_0x5bfae6(0x167)][_0x5bfae6(0x29d)](()=>this[_0x5bfae6(0x1ab)]({'hovered':!0x1}));}['setOffsetY'](_0x1e7aa7){const _0x2a0d=_0x4a9a20;this[_0x2a0d(0x1d5)]=_0x1e7aa7;}['setShapeProps'](_0x42e308){const _0xef97cc=_0x4a9a20;this[_0xef97cc(0x1b7)]=_0x42e308[_0xef97cc(0x179)]??this['_color'],this[_0xef97cc(0x1c2)]=_0x42e308['hovered']??this[_0xef97cc(0x1c2)],this[_0xef97cc(0x118)]=_0x42e308[_0xef97cc(0x3b0)]??this['_range'],this[_0xef97cc(0x14c)]=_0x42e308['name']??this[_0xef97cc(0x14c)],this[_0xef97cc(0x1bf)]=_0x42e308[_0xef97cc(0x304)]??this[_0xef97cc(0x1bf)],this['_backgroundColor']=_0x42e308['backgroundColor']??this['_backgroundColor'],this[_0xef97cc(0x282)]=_0x42e308[_0xef97cc(0x352)]??this[_0xef97cc(0x282)],this['_labelHorizontalPosition']=_0x42e308[_0xef97cc(0xce)]??this[_0xef97cc(0x27c)],_0x42e308['highlightSecond']!==void 0x0&&(this[_0xef97cc(0x24c)]=_0x42e308[_0xef97cc(0x306)]),_0x42e308[_0xef97cc(0x235)]!==void 0x0&&(this[_0xef97cc(0xa7)]=_0x42e308['highlight']),_0x42e308[_0xef97cc(0x34f)]!==void 0x0&&(this[_0xef97cc(0x1d5)]=_0x42e308[_0xef97cc(0x34f)]),this[_0xef97cc(0xab)]({'width':_0x42e308[_0xef97cc(0x1ee)],'height':_0x42e308['height']});}['onMouseMove'](_0x405480){const _0x12e5dc=_0x4a9a20;let {row:_0x2ce238,column:_0x1c242e}=_0x405480;if(_0x2ce238>=this[_0x12e5dc(0x118)][_0x12e5dc(0x28e)]&&_0x2ce238<=this[_0x12e5dc(0x118)][_0x12e5dc(0xb2)]&&_0x1c242e>=this[_0x12e5dc(0x118)]['startColumn']&&_0x1c242e<=this[_0x12e5dc(0x118)][_0x12e5dc(0x1f1)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x12e5dc(0x1ab)]({'hovered':!0x1});}[_0x4a9a20(0x2b5)](_0x1c0705){const _0x139fb8=_0x4a9a20;this['_stopBlinking'](),this[_0x139fb8(0x26e)]=!0x0,this[_0x139fb8(0x1c5)]=window[_0x139fb8(0x186)](()=>{const _0x45e3a9=_0x139fb8;this[_0x45e3a9(0x26e)]=!this[_0x45e3a9(0x26e)],this[_0x45e3a9(0x362)](!0x0);},0x1f4),this['_blinkTimer']=window['setTimeout'](()=>{const _0x138e8e=_0x139fb8;this[_0x138e8e(0x33d)](),this[_0x138e8e(0x26e)]=!0x0,this[_0x138e8e(0x362)](!0x0);},_0x1c0705*0x3e8);}[_0x4a9a20(0x33d)](){const _0x2bd95c=_0x4a9a20;this[_0x2bd95c(0x1c5)]&&=(window[_0x2bd95c(0x19b)](this[_0x2bd95c(0x1c5)]),void 0x0),this[_0x2bd95c(0x11b)]&&=(window[_0x2bd95c(0x376)](this[_0x2bd95c(0x11b)]),void 0x0);}[_0x4a9a20(0x102)](_0x2339d3){return!0x1;}['dispose'](){const _0x1504fa=_0x4a9a20;this[_0x1504fa(0x33d)](),super[_0x1504fa(0x274)]();}[_0x4a9a20(0x2f0)](_0x15943e){const _0x216118=_0x4a9a20;let _0x98d5a6=this[_0x216118(0x1b7)],_0x30474c=this['_backgroundColor'];if(this[_0x216118(0xa7)]&&!this[_0x216118(0x26e)]&&(_0x98d5a6=this['_getLighterColor'](this[_0x216118(0x1b7)]),_0x30474c=this[_0x216118(0x1f4)]?this[_0x216118(0x18e)](this[_0x216118(0x1f4)]):void 0x0),_0x2a6e7e[_0x216118(0x190)][_0x216118(0x18b)](_0x15943e,{'width':this[_0x216118(0x1ee)],'height':this[_0x216118(0x10d)],'strokeWidth':this[_0x216118(0x3cb)]||1.5,'stroke':_0x98d5a6,'evented':!0x1,'fill':_0x30474c}),this[_0x216118(0x1c2)]||this['_showText']){_0x15943e['save']();let _0x302971=this[_0x216118(0x27c)]==='left'?-_0x52f56f(_0x15943e,this[_0x216118(0x14c)]):this['width'];_0x15943e[_0x216118(0x1f5)](0x1,0x0,0x0,0x1,_0x302971,(this[_0x216118(0x1bf)]===_0x216118(0x1ba)?0x0:-0x14)+(this[_0x216118(0x1d5)]??0x0)),_0x4b2645['drawWith'](_0x15943e,{'text':this[_0x216118(0x14c)],'color':_0x98d5a6}),_0x15943e[_0x216118(0x1d2)]();}}[_0x4a9a20(0x18e)](_0x328f4d){const _0x3e53a9=_0x4a9a20;return _0x328f4d[_0x3e53a9(0xc5)]('#')?'rgba('+Number[_0x3e53a9(0x12e)](_0x328f4d[_0x3e53a9(0xe0)](0x1,0x3),0x10)+',\x20'+Number['parseInt'](_0x328f4d['slice'](0x3,0x5),0x10)+',\x20'+Number[_0x3e53a9(0x12e)](_0x328f4d[_0x3e53a9(0xe0)](0x5,0x7),0x10)+_0x3e53a9(0xfd):_0x328f4d[_0x3e53a9(0xc5)](_0x3e53a9(0x107))?_0x328f4d[_0x3e53a9(0x112)](/[\d.]+\)$/g,'0.2)'):_0x328f4d[_0x3e53a9(0xc5)](_0x3e53a9(0x2c9))?_0x328f4d[_0x3e53a9(0x112)](_0x3e53a9(0x2c9),_0x3e53a9(0x107))['replace'](')',_0x3e53a9(0xfd)):_0x328f4d;}};let _0x146b13=class extends _0x379e5f['RxDisposable']{constructor(_0x569f7b,_0x1b4e9c,_0x206e6f,_0x309bf9){const _0x22f3d9=_0x4a9a20;super(),this[_0x22f3d9(0x91)]=_0x569f7b,this[_0x22f3d9(0x37e)]=_0x1b4e9c,this['_collabCursorController']=_0x206e6f,this[_0x22f3d9(0x2f5)]=_0x309bf9,_0x477ff4(this,_0x22f3d9(0x321),new Set()),_0x477ff4(this,_0x22f3d9(0x331),null),_0x477ff4(this,_0x22f3d9(0x38b),null),this[_0x22f3d9(0x246)]();}[_0x4a9a20(0x246)](){const _0x2b2b63=_0x4a9a20;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x2b2b63(0x220)]((0x0,_0x4f408e[_0x2b2b63(0x3be)])(this[_0x2b2b63(0x39b)]),(0x0,_0x4f408e[_0x2b2b63(0xd3)])(_0x2cbadc=>{const _0x42cd77=_0x2b2b63;if(_0x2cbadc){let _0x59e09a=_0x2cbadc[_0x42cd77(0x2cb)];return(0x0,_0x29b66c[_0x42cd77(0x2cf)])(this[_0x42cd77(0x31f)][_0x42cd77(0x3c4)](this[_0x42cd77(0x91)][_0x42cd77(0x32a)]),this['_themeService'][_0x42cd77(0x1b5)])[_0x42cd77(0x220)]((0x0,_0x4f408e[_0x42cd77(0x15d)])(([_0x491e99,_0x397481])=>{const _0x18d8ca=_0x42cd77;let _0x104f3a=new Map();return _0x491e99[_0x18d8ca(0xad)]((_0x9af8d5,_0x257d7b)=>{const _0x45f661=_0x18d8ca;if(_0x9af8d5[_0x45f661(0x12c)]===_0x59e09a){let _0x1688ef={..._0x9af8d5};_0x1688ef[_0x45f661(0x179)]=this[_0x45f661(0x2f5)][_0x45f661(0x2e0)](_0x9af8d5[_0x45f661(0x179)]),_0x104f3a[_0x45f661(0x25f)](_0x257d7b,_0x1688ef);}}),{'skeleton':_0x2cbadc,'cursors':_0x104f3a};}));}return(0x0,_0x29b66c['of'])({'skeleton':null,'cursors':new Map()});}))[_0x2b2b63(0x116)](({skeleton:_0x2ae637,cursors:_0x2ae6fc})=>{const _0x3ec4df=_0x2b2b63;this[_0x3ec4df(0x1b9)](),_0x2ae637&&this[_0x3ec4df(0x2e6)](_0x2ae637,_0x2ae6fc);}),this['disposeWithMe'](this[_0x2b2b63(0x37e)][_0x2b2b63(0x19c)]['pipe']((0x0,_0x4f408e[_0x2b2b63(0x3be)])(this[_0x2b2b63(0x39b)]))['subscribe'](_0x31ecb5=>{const _0x4b719b=_0x2b2b63;var _0xd6e136;if(_0x31ecb5==null)return;(_0xd6e136=this[_0x4b719b(0x38b)])==null||_0xd6e136['unsubscribe'](),this[_0x4b719b(0x38b)]=null;let {skeleton:_0x2bfc6d}=_0x31ecb5,{scene:_0x1fcd48}=this['_context'];this['_pointerMoveDisposable']=_0x1fcd48[_0x4b719b(0x1e7)][_0x4b719b(0x29d)]((0x0,_0x379e5f['debounce'])(_0x2d57c6=>{const _0x2f7c3d=_0x4b719b;var _0x47b93d,_0x3d9a8c;let {offsetX:_0x5d989d,offsetY:_0x457090}=_0x2d57c6,{x:_0x41d8a0,y:_0x2b66f9}=_0x1fcd48[_0x2f7c3d(0x2ba)](_0x2a6e7e['Vector2'][_0x2f7c3d(0xc9)]([_0x5d989d,_0x457090])),{scaleX:_0x2b0061,scaleY:_0x111e17}=_0x1fcd48['getAncestorScale'](),_0x2dcb50=_0x1fcd48[_0x2f7c3d(0x242)](_0x2a6e7e['SHEET_VIEWPORT_KEY'][_0x2f7c3d(0xf5)]),_0x510c10=_0x1fcd48[_0x2f7c3d(0x8a)](_0x2a6e7e[_0x2f7c3d(0x2ad)][_0x2f7c3d(0xc9)]([_0x41d8a0,_0x2b66f9]),_0x2dcb50),_0x37c086=_0x2bfc6d[_0x2f7c3d(0x166)](_0x5d989d,_0x457090,_0x2b0061,_0x111e17,_0x510c10);(((_0x47b93d=this[_0x2f7c3d(0x331)])==null?void 0x0:_0x47b93d[_0x2f7c3d(0xe5)])!==_0x37c086[_0x2f7c3d(0xe5)]||((_0x3d9a8c=this['_lastPointer'])==null?void 0x0:_0x3d9a8c[_0x2f7c3d(0x122)])!==_0x37c086[_0x2f7c3d(0x122)])&&this[_0x2f7c3d(0x321)][_0x2f7c3d(0xad)](_0x540ac1=>{const _0x37a3dc=_0x2f7c3d;_0x540ac1[_0x37a3dc(0x110)](_0x37c086);});},0x64));})),this[_0x2b2b63(0x345)]((0x0,_0x379e5f[_0x2b2b63(0x1e5)])(()=>{const _0x477810=_0x2b2b63;var _0x292e9c;(_0x292e9c=this['_pointerMoveDisposable'])==null||_0x292e9c[_0x477810(0x2db)](),this['_pointerMoveDisposable']=null;}));}[_0x4a9a20(0x2e6)](_0xfbbecd,_0x4685c3){const _0x341ee2=_0x4a9a20;let _0x66c75d=this[_0x341ee2(0x37e)][_0x341ee2(0x296)]();if(!_0x66c75d)return;let _0x35d3d8=this['_getSheetObject']();if(!_0x35d3d8)return;this[_0x341ee2(0x321)]['forEach'](_0x59263e=>{_0x59263e['makeDirty']();});let {scene:_0x293f40}=_0x35d3d8,_0x4a3561=_0x2209ab(Array['from'](_0x4685c3[_0x341ee2(0x33f)]()))['map'](_0x163fca=>{const _0x57bd59=_0x341ee2;let {color:_0xa0748a,range:_0x2f4a9d,name:_0x4ad3ec,selection:_0x3143e5,sheetID:_0x346644}=_0x163fca,{startColumn:_0x2b5c13,startRow:_0x3d19cc,endColumn:_0x1ae958,endRow:_0x5836da}=_0x2f4a9d,_0x34391d=(0x0,_0x1bf872[_0x57bd59(0x21f)])(_0x3d19cc,_0x2b5c13,_0x293f40,_0x66c75d),_0xf817ff=(0x0,_0x1bf872[_0x57bd59(0x21f)])(_0x5836da,_0x1ae958,_0x293f40,_0x66c75d),{columnHeaderHeightAndMarginTop:_0x49eea3}=_0x66c75d,{startX:_0x38e6a1,startY:_0xce6819}=_0x34391d,{endX:_0xae95ae,endY:_0x5c0375}=_0xf817ff,_0x38ddfb=_0xae95ae-_0x38e6a1,_0x424186=_0x5c0375-_0xce6819;return new _0x1e3c7b(_0x4ad3ec,{'labelPosition':_0xce6819-_0x49eea3>=0x14?'top':_0x57bd59(0x1ba),'sheetID':_0x346644,'range':_0x2f4a9d,'color':_0xa0748a,'name':_0x4ad3ec,'selection':_0x3143e5,'left':_0x38e6a1,'top':_0xce6819,'width':_0x38ddfb,'height':_0x424186,'evented':!0x1,'zIndex':0x1389});});_0x293f40[_0x341ee2(0x2f6)](_0x4a3561,0x1),this['_cursors']=new Set(_0x4a3561);}[_0x4a9a20(0x1b9)](){const _0xf58b3a=_0x4a9a20;var _0x4db9a9;(_0x4db9a9=this[_0xf58b3a(0x321)])==null||_0x4db9a9['forEach'](_0x1f3b3a=>_0x1f3b3a['dispose']());}[_0x4a9a20(0x392)](){const _0x37e200=_0x4a9a20;return(0x0,_0x1bf872[_0x37e200(0x231)])(this['_context'][_0x37e200(0x108)],this[_0x37e200(0x91)]);}};_0x146b13=_0x56d489([_0x235e3a(0x1,(0x0,_0x379e5f['Inject'])(_0x1bf872[_0x4a9a20(0x1b8)])),_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x5e94f1)),_0x235e3a(0x3,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f['ThemeService']))],_0x146b13);function _0x2209ab(_0x29604e){const _0x21d31c=_0x4a9a20;let _0x5e0abf=new Map();return _0x29604e[_0x21d31c(0xad)](_0x5d01fe=>{const _0x53ffe2=_0x21d31c;if(_0x5e0abf[_0x53ffe2(0x192)](_0x5d01fe['selection'])){let _0x3fc373=_0x5e0abf[_0x53ffe2(0x3c7)](_0x5d01fe[_0x53ffe2(0x24e)]);_0x3fc373[_0x53ffe2(0x3ad)]+=',\x20'+_0x5d01fe[_0x53ffe2(0x3ad)];}else _0x5e0abf[_0x53ffe2(0x25f)](_0x5d01fe[_0x53ffe2(0x24e)],_0x5d01fe);}),Array[_0x21d31c(0x16f)](_0x5e0abf[_0x21d31c(0x33f)]());}function _0x4004fb(_0x39f377){return typeof _0x39f377=='object'&&!!_0x39f377;}function _0x57136b(_0x3ba0e1){const _0x2b32b3=_0x4a9a20;return _0x3ba0e1[_0x2b32b3(0x9d)]===_0x180ca7['CollaborationEvent'][_0x2b32b3(0x39e)]&&_0x2b32b3(0xbe)in _0x3ba0e1&&_0x4004fb(_0x3ba0e1[_0x2b32b3(0xbe)])&&typeof _0x3ba0e1[_0x2b32b3(0xbe)][_0x2b32b3(0x225)]==_0x2b32b3(0x23f)&&typeof _0x3ba0e1[_0x2b32b3(0xbe)][_0x2b32b3(0x24e)]=='string';}function _0x4f648a(_0x1c50f1){const _0xf79819=_0x4a9a20;return _0x1c50f1[_0xf79819(0x9d)]===_0x180ca7[_0xf79819(0x22b)][_0xf79819(0x3b1)]&&_0xf79819(0xbe)in _0x1c50f1&&_0x4004fb(_0x1c50f1[_0xf79819(0xbe)])&&typeof _0x1c50f1['data'][_0xf79819(0x225)]=='string';}function _0x1d0e09(_0x3b0bcb,_0x1aad54){const _0x1e5965=_0x4a9a20;let _0x1bb613;try{_0x1bb613=JSON[_0x1e5965(0x351)](_0x3b0bcb);}catch{return null;}if(!_0x4004fb(_0x1bb613)||typeof _0x1bb613['kind']!='string'||typeof _0x1bb613[_0x1e5965(0x32a)]!=_0x1e5965(0x23f)||typeof _0x1bb613[_0x1e5965(0x263)]!=_0x1e5965(0x23f))return null;let _0x464e90=typeof _0x1bb613[_0x1e5965(0xc4)]==_0x1e5965(0x1b2)?_0x1bb613[_0x1e5965(0xc4)]:_0x1aad54;if(_0x464e90==null)return null;let _0x187413=_0x4004fb(_0x1bb613[_0x1e5965(0x26d)])&&typeof _0x1bb613[_0x1e5965(0x26d)]['x']==_0x1e5965(0x1b2)&&Number['isFinite'](_0x1bb613[_0x1e5965(0x26d)]['x'])&&typeof _0x1bb613[_0x1e5965(0x26d)]['y']==_0x1e5965(0x1b2)&&Number[_0x1e5965(0x273)](_0x1bb613[_0x1e5965(0x26d)]['y'])?{'x':_0x1bb613[_0x1e5965(0x26d)]['x'],'y':_0x1bb613['pointer']['y']}:null;return{'kind':_0x1bb613[_0x1e5965(0x3b7)],'unitType':_0x464e90,'unitId':_0x1bb613[_0x1e5965(0x32a)],'subUnitId':_0x1bb613['subUnitId'],'selectedIds':Array[_0x1e5965(0x1af)](_0x1bb613[_0x1e5965(0x1e4)])?_0x1bb613[_0x1e5965(0x1e4)][_0x1e5965(0x9a)](_0x3e3cd3=>typeof _0x3e3cd3==_0x1e5965(0x23f)):[],'focusedId':typeof _0x1bb613[_0x1e5965(0x163)]==_0x1e5965(0x23f)?_0x1bb613[_0x1e5965(0x163)]:null,'pointer':_0x187413};}function _0x133d59(_0x3a6194,_0x1299a1,_0x5f10ed){const _0x1645fd=_0x4a9a20;return{'kind':_0x1299a1,'unitType':_0x3a6194,'unitId':_0x5f10ed[_0x1645fd(0x32a)],'subUnitId':_0x5f10ed[_0x1645fd(0x263)],'selectedIds':Array[_0x1645fd(0x16f)](_0x5f10ed[_0x1645fd(0x1e4)]),'focusedId':_0x5f10ed[_0x1645fd(0x163)],'pointer':_0x5f10ed[_0x1645fd(0x26d)]?{..._0x5f10ed[_0x1645fd(0x26d)]}:null};}let _0x38fe33=class extends _0x379e5f['RxDisposable']{constructor(_0x2cf8f3,_0x542227,_0x2ddf1a,_0x556448,_0x1f3a25,_0x159471){const _0x18c286=_0x4a9a20;super(),this['unitId']=_0x2cf8f3,this['_session']=_0x542227,this[_0x18c286(0x2ce)]=_0x2ddf1a,this[_0x18c286(0xfb)]=_0x556448,this[_0x18c286(0x140)]=_0x1f3a25,this[_0x18c286(0x3a1)]=_0x159471,_0x477ff4(this,_0x18c286(0x20f),!0x1),_0x477ff4(this,'_initialized',!0x1);}get[_0x4a9a20(0xc4)](){const _0x536f4a=_0x4a9a20;return this[_0x536f4a(0x2ce)][_0x536f4a(0xc4)];}[_0x4a9a20(0x274)](){this['_clearRemotePresences'](),super['dispose']();}[_0x4a9a20(0xca)](){const _0x9c4f25=_0x4a9a20;this['_initialized']||(this[_0x9c4f25(0xae)]=!0x0,this[_0x9c4f25(0x3d0)][_0x9c4f25(0x165)][_0x9c4f25(0x220)]((0x0,_0x29b66c['takeUntil'])(this['dispose$']))[_0x9c4f25(0x116)](_0x2d0e38=>{const _0x549f28=_0x9c4f25;if(_0x2d0e38===_0x5c5525['SessionStatus'][_0x549f28(0x1ca)]){this[_0x549f28(0x20f)]=!0x0;let _0x1648be=this[_0x549f28(0x2ce)][_0x549f28(0x147)](this[_0x549f28(0x32a)]);_0x1648be&&this[_0x549f28(0x380)](_0x1648be);return;}this[_0x549f28(0x20f)]=!0x1,this[_0x549f28(0x31e)]();}),this[_0x9c4f25(0x3d0)][_0x9c4f25(0x149)][_0x9c4f25(0x220)]((0x0,_0x29b66c[_0x9c4f25(0x3be)])(this[_0x9c4f25(0x39b)]))['subscribe'](_0xed9286=>{const _0x18c0b0=_0x9c4f25;_0x57136b(_0xed9286)?this[_0x18c0b0(0x364)](_0xed9286):_0x4f648a(_0xed9286)&&this[_0x18c0b0(0x153)](_0xed9286[_0x18c0b0(0xbe)][_0x18c0b0(0x225)]);}),this[_0x9c4f25(0x2ce)][_0x9c4f25(0x1fb)][_0x9c4f25(0x220)]((0x0,_0x29b66c[_0x9c4f25(0x9a)])(_0x441c4d=>this[_0x9c4f25(0x20f)]&&_0x441c4d[_0x9c4f25(0x32a)]===this['unitId']),(0x0,_0x29b66c[_0x9c4f25(0x35c)])(_0x585f40=>(0x0,_0x29b66c[_0x9c4f25(0x257)])(_0x585f40[_0x9c4f25(0x181)]),{'leading':!0x0,'trailing':!0x0}),(0x0,_0x29b66c['takeUntil'])(this[_0x9c4f25(0x39b)]))['subscribe'](_0x31e779=>this[_0x9c4f25(0x380)](_0x31e779)));}[_0x4a9a20(0x380)](_0x775879){const _0x1ddb28=_0x4a9a20;let _0x30ef4d=this[_0x1ddb28(0x3d0)][_0x1ddb28(0x11f)]();if(!_0x30ef4d||!this[_0x1ddb28(0x20f)])return;let _0x2ae5d6={'eventID':_0x180ca7[_0x1ddb28(0x22b)][_0x1ddb28(0x39e)],'data':{'unitID':this[_0x1ddb28(0x32a)],'memberID':_0x30ef4d,'selection':JSON[_0x1ddb28(0xaf)](_0x133d59(this[_0x1ddb28(0xc4)],this[_0x1ddb28(0x2ce)]['presenceKind'],_0x775879))}};this[_0x1ddb28(0x3d0)]['send'](_0x2ae5d6,this[_0x1ddb28(0x32a)])[_0x1ddb28(0x3af)](()=>void 0x0);}[_0x4a9a20(0x364)](_0x5cfd71){const _0x5ac2f0=_0x4a9a20;let {memberID:_0x37be3c,selection:_0x5a73b9}=_0x5cfd71[_0x5ac2f0(0xbe)];if(_0x37be3c===this[_0x5ac2f0(0x3d0)][_0x5ac2f0(0x11f)]())return;let _0x87cfe=_0x1d0e09(_0x5a73b9,this['unitType']);if(!_0x87cfe||_0x87cfe['kind']!==this[_0x5ac2f0(0x2ce)][_0x5ac2f0(0x126)]||_0x87cfe['unitType']!==this[_0x5ac2f0(0xc4)]||_0x87cfe[_0x5ac2f0(0x32a)]!==this[_0x5ac2f0(0x32a)])return;let _0x2c0d95=this['_memberService']['getMember'](this[_0x5ac2f0(0x32a)],_0x37be3c),_0x51c97f={'unitId':_0x87cfe[_0x5ac2f0(0x32a)],'subUnitId':_0x87cfe[_0x5ac2f0(0x263)],'selectedIds':_0x87cfe[_0x5ac2f0(0x1e4)],'focusedId':_0x87cfe['focusedId'],'pointer':_0x87cfe[_0x5ac2f0(0x26d)],'memberId':_0x37be3c,'color':this[_0x5ac2f0(0xfb)][_0x5ac2f0(0x3cf)](_0x37be3c),'name':(_0x2c0d95==null?void 0x0:_0x2c0d95['name'])??_0x37be3c};this[_0x5ac2f0(0x3a1)]['executeCommand'](_0x9de98b['id'],{'unitType':this[_0x5ac2f0(0xc4)],'update':{'type':'set','state':_0x51c97f}})[_0x5ac2f0(0x3af)](()=>void 0x0);}['_removeRemotePresence'](_0x4537f2){const _0xfe0c07=_0x4a9a20;this['_commandService']['executeCommand'](_0x9de98b['id'],{'unitType':this['unitType'],'update':{'type':_0xfe0c07(0x1d9),'unitId':this[_0xfe0c07(0x32a)],'memberId':_0x4537f2}})[_0xfe0c07(0x3af)](()=>void 0x0);}['_clearRemotePresences'](){const _0x1fb507=_0x4a9a20;this[_0x1fb507(0x3a1)][_0x1fb507(0x31d)](_0x9de98b['id'],{'unitType':this['unitType'],'update':{'type':_0x1fb507(0x96),'unitId':this[_0x1fb507(0x32a)]}})[_0x1fb507(0x3af)](()=>void 0x0);}};_0x38fe33=_0x56d489([_0x235e3a(0x3,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x47ec3a)),_0x235e3a(0x4,(0x0,_0x379e5f['Inject'])(_0x5c5525['MemberService'])),_0x235e3a(0x5,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f['ICommandService']))],_0x38fe33);let _0x458d18=class extends _0x379e5f[_0x4a9a20(0x1c0)]{constructor(_0x1f6e90,_0x54df9a,_0x1c054f,_0x265954){const _0x100b53=_0x4a9a20;super(),this[_0x100b53(0xe3)]=_0x1f6e90,this[_0x100b53(0xa3)]=_0x54df9a,this['_collabSessionService']=_0x1c054f,this['_adapterRegistry']=_0x265954,_0x477ff4(this,_0x100b53(0x183),!0x1),_0x477ff4(this,_0x100b53(0x30b),new Map()),_0x477ff4(this,'_pendingEntities',new Map()),_0x477ff4(this,_0x100b53(0x3dd),new Map()),this[_0x100b53(0x246)]();}[_0x4a9a20(0x274)](){const _0x2f1d53=_0x4a9a20;this[_0x2f1d53(0x183)]=!0x0,this[_0x2f1d53(0x3dd)][_0x2f1d53(0xad)](_0x5377e0=>_0x5377e0[_0x2f1d53(0x274)]()),this[_0x2f1d53(0x3dd)][_0x2f1d53(0x96)](),this[_0x2f1d53(0x30b)]['forEach'](_0x41a2a7=>_0x41a2a7['dispose']()),this[_0x2f1d53(0x30b)][_0x2f1d53(0x96)](),this['_pendingEntities'][_0x2f1d53(0x96)](),super[_0x2f1d53(0x274)]();}[_0x4a9a20(0x246)](){const _0x3b74b0=_0x4a9a20;this['_adapterRegistry']['adapters$'][_0x3b74b0(0x220)]((0x0,_0x29b66c[_0x3b74b0(0x3be)])(this['dispose$']))[_0x3b74b0(0x116)](_0x420032=>this['_syncAdapters'](_0x420032));}[_0x4a9a20(0x37a)](_0x392851){const _0x18819f=_0x4a9a20;let _0x63ad34=new Set(_0x392851[_0x18819f(0x15d)](_0x1192f1=>_0x1192f1['unitType']));this[_0x18819f(0x3dd)][_0x18819f(0xad)]((_0x359124,_0x522467)=>{const _0x3f3ce9=_0x18819f;_0x63ad34[_0x3f3ce9(0x192)](_0x522467)||(_0x359124['dispose'](),this[_0x3f3ce9(0x3dd)][_0x3f3ce9(0xd0)](_0x522467),this['_disposeEntitiesForType'](_0x522467));}),_0x392851[_0x18819f(0xad)](_0x1438c1=>{const _0x1f5f8d=_0x18819f;this[_0x1f5f8d(0x3dd)][_0x1f5f8d(0x192)](_0x1438c1[_0x1f5f8d(0xc4)])||this['_bindAdapter'](_0x1438c1);});}[_0x4a9a20(0x218)](_0x5e3e06){const _0x4623f9=_0x4a9a20;let _0x425ecc=new _0x379e5f[(_0x4623f9(0x357))]();this['_adapterDisposables'][_0x4623f9(0x25f)](_0x5e3e06[_0x4623f9(0xc4)],_0x425ecc),_0x425ecc[_0x4623f9(0x2a3)](_0x5e3e06['activate']()),this[_0x4623f9(0xe3)][_0x4623f9(0x292)](_0x5e3e06[_0x4623f9(0xc4)])[_0x4623f9(0xad)](_0x427058=>this['_startEntity'](_0x427058[_0x4623f9(0x2c3)](),_0x5e3e06)[_0x4623f9(0x3af)](()=>void 0x0));let _0xc032be=this[_0x4623f9(0xe3)][_0x4623f9(0x23b)](_0x5e3e06[_0x4623f9(0xc4)])[_0x4623f9(0x116)](({unit:_0x2124a2})=>this[_0x4623f9(0x2ed)](_0x2124a2[_0x4623f9(0x2c3)](),_0x5e3e06)['catch'](()=>void 0x0));_0x425ecc[_0x4623f9(0x2a3)]((0x0,_0x379e5f[_0x4623f9(0x1e5)])(()=>_0xc032be[_0x4623f9(0x2db)]()));let _0x5f3e85=this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5e3e06[_0x4623f9(0xc4)])[_0x4623f9(0x116)](_0x54254f=>this[_0x4623f9(0x2aa)](_0x54254f[_0x4623f9(0x2c3)]()));_0x425ecc[_0x4623f9(0x2a3)]((0x0,_0x379e5f['toDisposable'])(()=>_0x5f3e85[_0x4623f9(0x2db)]()));}async[_0x4a9a20(0x2ed)](_0x19447d,_0x51d870){const _0xaaf9f0=_0x4a9a20;if(this[_0xaaf9f0(0x30b)]['has'](_0x19447d)||this[_0xaaf9f0(0xd2)][_0xaaf9f0(0x192)](_0x19447d))return;let _0x3a1a51={};this[_0xaaf9f0(0xd2)][_0xaaf9f0(0x25f)](_0x19447d,_0x3a1a51);let _0x5356c2=await this[_0xaaf9f0(0xc8)][_0xaaf9f0(0x121)](_0x19447d)['catch'](_0x348807=>{const _0x1e02f0=_0xaaf9f0;throw this['_pendingEntities'][_0x1e02f0(0x3c7)](_0x19447d)===_0x3a1a51&&this[_0x1e02f0(0xd2)]['delete'](_0x19447d),_0x348807;});if(this[_0xaaf9f0(0x183)]||this[_0xaaf9f0(0xd2)][_0xaaf9f0(0x3c7)](_0x19447d)!==_0x3a1a51||this[_0xaaf9f0(0x2d8)]['get'](_0x51d870['unitType'])!==_0x51d870){this['_pendingEntities'][_0xaaf9f0(0x3c7)](_0x19447d)===_0x3a1a51&&this[_0xaaf9f0(0xd2)][_0xaaf9f0(0xd0)](_0x19447d);return;}let _0xb3e68b=this[_0xaaf9f0(0xa3)][_0xaaf9f0(0x154)](_0x38fe33,_0x19447d,_0x5356c2,_0x51d870);_0xb3e68b['init'](),this['_pendingEntities'][_0xaaf9f0(0xd0)](_0x19447d),this[_0xaaf9f0(0x30b)][_0xaaf9f0(0x25f)](_0x19447d,_0xb3e68b);}['_disposeEntity'](_0x41ef50){const _0x309cd8=_0x4a9a20;this[_0x309cd8(0xd2)]['delete'](_0x41ef50);let _0x5b79e9=this[_0x309cd8(0x30b)][_0x309cd8(0x3c7)](_0x41ef50);_0x5b79e9&&(_0x5b79e9[_0x309cd8(0x274)](),this['_entities'][_0x309cd8(0xd0)](_0x41ef50));}[_0x4a9a20(0x1a7)](_0x20e2b8){const _0x47ccc9=_0x4a9a20;this[_0x47ccc9(0xe3)]['getAllUnitsForType'](_0x20e2b8)['forEach'](_0x207806=>this['_pendingEntities']['delete'](_0x207806['getUnitId']())),Array[_0x47ccc9(0x16f)](this[_0x47ccc9(0x30b)][_0x47ccc9(0x366)]())[_0x47ccc9(0xad)](([_0x2ec790,_0x533566])=>{const _0x3e8e63=_0x47ccc9;_0x533566['unitType']===_0x20e2b8&&this[_0x3e8e63(0x2aa)](_0x2ec790);});}};_0x458d18=_0x56d489([_0x235e3a(0x0,_0x379e5f['IUniverInstanceService']),_0x235e3a(0x1,(0x0,_0x379e5f['Inject'])(_0x379e5f[_0x4a9a20(0x18f)])),_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x5c5525[_0x4a9a20(0x267)])),_0x235e3a(0x3,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x191907[_0x4a9a20(0xbd)]))],_0x458d18);let _0x4add48=class extends _0x379e5f['Disposable']{constructor(_0x9bff48,_0x3931f6,_0x224fc6,_0x2c7229,_0x151875,_0x53f8d2){const _0x1d4663=_0x4a9a20;super(),this[_0x1d4663(0x1fe)]=_0x9bff48,this['_localCacheService']=_0x3931f6,this[_0x1d4663(0x94)]=_0x224fc6,this['_messageService']=_0x2c7229,this[_0x1d4663(0x2a0)]=_0x151875,this[_0x1d4663(0x1f6)]=_0x53f8d2,_0x477ff4(this,_0x1d4663(0x2c6),null),_0x477ff4(this,_0x1d4663(0xbf),new Set()),this[_0x1d4663(0x36c)](),this['_initEvent']();}[_0x4a9a20(0x274)](){const _0x6754d=_0x4a9a20;var _0x3a517e;(_0x3a517e=this[_0x6754d(0x2c6)])==null||_0x3a517e[_0x6754d(0x274)](),this[_0x6754d(0x2c6)]=null,super[_0x6754d(0x274)]();}['_setupBeforeClosingHandler'](){const _0x4ea5bb=_0x4a9a20;this[_0x4ea5bb(0x345)](this[_0x4ea5bb(0x1fe)][_0x4ea5bb(0x18d)](()=>{const _0x438e8e=_0x4ea5bb;if(this[_0x438e8e(0xea)][_0x438e8e(0x3a7)]['size'])return this[_0x438e8e(0x1f6)]['t'](_0x438e8e(0x19d));}));}[_0x4a9a20(0x2af)](){const _0x420322=_0x4a9a20;this[_0x420322(0x345)](this['_collaborationUIEventService'][_0x420322(0x149)]['subscribe'](_0x205b55=>{const _0x258b41=_0x420322;_0x205b55['id']===_0x5c5525['CollaborationUIEventId'][_0x258b41(0x1ac)]&&this['_messageService']['show']({'type':_0x51bea6[_0x258b41(0xcb)][_0x258b41(0x343)],'content':this[_0x258b41(0x1f6)]['t'](_0x258b41(0x97))}),_0x205b55['id']===_0x5c5525[_0x258b41(0x3d4)][_0x258b41(0x3c9)]&&this['_messageService'][_0x258b41(0x185)]({'type':_0x51bea6['MessageType'][_0x258b41(0x343)],'content':this[_0x258b41(0x1f6)]['t'](_0x258b41(0x219))}),_0x205b55['id']===_0x5c5525[_0x258b41(0x3d4)][_0x258b41(0x14e)]&&this[_0x258b41(0x294)]({'title':this[_0x258b41(0x1f6)]['t'](_0x258b41(0x172)),'content':this[_0x258b41(0x1f6)]['t'](_0x258b41(0x2fe)),'type':_0x258b41(0x1a8),'duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'action':{'label':this[_0x258b41(0x1f6)]['t'](_0x258b41(0x311)),'onClick':_0xccecc0=>{const _0x4c8a58=_0x258b41;_0xccecc0[_0x4c8a58(0x161)](),window['location']['reload']();}}}),_0x205b55['id']===_0x5c5525['CollaborationUIEventId'][_0x258b41(0x3d8)]&&this[_0x258b41(0x2c0)](),_0x205b55['id']===_0x5c5525[_0x258b41(0x3d4)][_0x258b41(0x230)]&&_0x205b55['unitID']&&this[_0x258b41(0x198)](_0x205b55[_0x258b41(0xdd)]),_0x205b55['id']===_0x5c5525[_0x258b41(0x3d4)][_0x258b41(0x313)]&&this[_0x258b41(0x294)]({'title':this['_localeService']['t']('collaboration-client-ui.conflict.title'),'content':this['_localeService']['t']('collaboration-client-ui.conflict.content'),'type':'error','duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'action':{'label':this[_0x258b41(0x1f6)]['t']('collaboration-client-ui.snapshotLoading.refresh'),'onClick':_0x5e1741=>{const _0x390869=_0x258b41;_0x5e1741[_0x390869(0x161)](),window[_0x390869(0x36d)][_0x390869(0x38f)]();}}}),_0x205b55['id']===_0x5c5525[_0x258b41(0x3d4)][_0x258b41(0x24a)]&&this['_messageService']['show']({'type':_0x51bea6[_0x258b41(0xcb)][_0x258b41(0x343)],'content':this[_0x258b41(0x1f6)]['t'](_0x205b55['data']||'')}),_0x205b55['id']===_0x5c5525[_0x258b41(0x3d4)]['SOCKET_FAILED_RETRY']&&this[_0x258b41(0x2a2)][_0x258b41(0x185)]({'type':_0x51bea6[_0x258b41(0xcb)][_0x258b41(0x343)],'content':this['_localeService']['t'](_0x258b41(0x1e1))}),_0x205b55['id']===_0x5c5525[_0x258b41(0x3d4)][_0x258b41(0x93)]&&this['_messageService'][_0x258b41(0x185)]({'type':_0x51bea6[_0x258b41(0xcb)][_0x258b41(0x358)],'content':this[_0x258b41(0x1f6)]['t']('collaboration-client-ui.session.connection-failed')}),_0x205b55['id']===_0x5c5525['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x258b41(0x2a2)][_0x258b41(0x185)]({'type':_0x51bea6[_0x258b41(0xcb)][_0x258b41(0x358)],'content':this[_0x258b41(0x1f6)]['t']('collaboration-client-ui.session.collaboration-timeout')});}));}[_0x4a9a20(0x2c0)](){const _0xf5ec86=_0x4a9a20;this[_0xf5ec86(0x294)]({'title':this[_0xf5ec86(0x1f6)]['t'](_0xf5ec86(0x2d1)),'content':this['_localeService']['t'](_0xf5ec86(0x2b1)),'type':'loading','duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1});}['_showConflictCacheClearFailedNotification'](_0x19efe7){const _0x53f2cf=_0x4a9a20;this['_replaceConflictNotification']({'title':this[_0x53f2cf(0x1f6)]['t'](_0x53f2cf(0x2d1)),'content':this['_localeService']['t'](_0x53f2cf(0xe2)),'type':'error','duration':0x1/0x0,'closable':!0x1,'dismissible':!0x1,'action':{'label':this[_0x53f2cf(0x1f6)]['t']('collaboration-client-ui.conflict.retry'),'onClick':_0x116e20=>{const _0x3f618b=_0x53f2cf;_0x116e20[_0x3f618b(0x161)](),this[_0x3f618b(0x239)](_0x19efe7);}}});}[_0x4a9a20(0x239)](_0x5c482){const _0x4fd3c0=_0x4a9a20;this[_0x4fd3c0(0xbf)][_0x4fd3c0(0x192)](_0x5c482)||(this[_0x4fd3c0(0xbf)][_0x4fd3c0(0x2a3)](_0x5c482),this[_0x4fd3c0(0x2c0)](),this[_0x4fd3c0(0xea)][_0x4fd3c0(0x12d)](_0x5c482)[_0x4fd3c0(0x2ea)](()=>window[_0x4fd3c0(0x36d)][_0x4fd3c0(0x38f)]())[_0x4fd3c0(0x3af)](()=>this[_0x4fd3c0(0x198)](_0x5c482))[_0x4fd3c0(0x339)](()=>this[_0x4fd3c0(0xbf)][_0x4fd3c0(0xd0)](_0x5c482)));}[_0x4a9a20(0x294)](_0x5d0a72){const _0x1b80b0=_0x4a9a20;var _0x1acbcf;(_0x1acbcf=this[_0x1b80b0(0x2c6)])==null||_0x1acbcf[_0x1b80b0(0x274)](),this[_0x1b80b0(0x2c6)]=this['_notificationService'][_0x1b80b0(0x185)](_0x5d0a72);}};_0x4add48=_0x56d489([_0x235e3a(0x0,_0x191907[_0x4a9a20(0x17e)]),_0x235e3a(0x1,_0x5c5525[_0x4a9a20(0x17d)]),_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x5c5525[_0x4a9a20(0x276)])),_0x235e3a(0x3,_0x191907[_0x4a9a20(0x3d1)]),_0x235e3a(0x4,_0x191907[_0x4a9a20(0x8c)]),_0x235e3a(0x5,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f[_0x4a9a20(0x1e0)]))],_0x4add48);let _0x585290=(0x0,_0x379e5f['createIdentifier'])(_0x4a9a20(0x3ab)),_0x10a8c2=class extends _0x379e5f[_0x4a9a20(0x1c0)]{constructor(_0x26211a,_0x425e4d,_0xd94030,_0x57e581){const _0x214cf0=_0x4a9a20;super(),this[_0x214cf0(0x3bd)]=_0x26211a,this[_0x214cf0(0x203)]=_0x425e4d,this['_commandService']=_0xd94030,this['_dataLoaderService']=_0x57e581,this[_0x214cf0(0x246)]()['catch'](_0xcf3b00=>this[_0x214cf0(0x203)][_0x214cf0(0x1a8)](_0x214cf0(0x89),_0xcf3b00));}async[_0x4a9a20(0x246)](){const _0x599f73=_0x4a9a20;let _0x23b5b8=this[_0x599f73(0x3bd)]['getParam'](_0x599f73(0x108)),_0x4f92a0=this[_0x599f73(0x3bd)][_0x599f73(0x16d)]('type'),_0x4a6dda=this[_0x599f73(0x3bd)][_0x599f73(0x16d)](_0x599f73(0x2a5));if(!_0x23b5b8||!_0x4f92a0){this[_0x599f73(0x203)][_0x599f73(0x2b8)](_0x599f73(0x89),_0x599f73(0x176));return;}let _0x1291bc=await this[_0x599f73(0x130)][_0x599f73(0x16b)](_0x23b5b8,Number(_0x4f92a0),_0x4a6dda);this['_disposed']||_0x1291bc&&_0x1291bc instanceof _0x379e5f[_0x599f73(0x227)]&&await this[_0x599f73(0x125)](_0x1291bc);}async['_setupSubUnitSync'](_0x51bf95){const _0x198a23=_0x4a9a20;await this['_updateSubUnitFromURLParams'](_0x51bf95,!0x0),!this[_0x198a23(0x11c)]&&(_0x51bf95[_0x198a23(0xdb)][_0x198a23(0x220)]((0x0,_0x29b66c[_0x198a23(0x3be)])(this[_0x198a23(0x39b)]))[_0x198a23(0x116)](_0x1bb3f9=>{_0x1bb3f9&&this['_updateURLWithCurrentState'](_0x1bb3f9);}),this['_urlService'][_0x198a23(0x212)][_0x198a23(0x220)]((0x0,_0x29b66c[_0x198a23(0x3be)])(this[_0x198a23(0x39b)]))[_0x198a23(0x116)](()=>{const _0x5b76fd=_0x198a23;this[_0x5b76fd(0x129)](_0x51bf95)[_0x5b76fd(0x3af)](_0x174299=>this['_logService'][_0x5b76fd(0x1a8)](_0x5b76fd(0x89),_0x174299));}));}[_0x4a9a20(0xc7)](_0x11300b,_0x63c6d7=!0x1){const _0x3ee816=_0x4a9a20;let _0x38229e=this['_urlService']['getParam'](_0x3ee816(0x2a5));_0x11300b[_0x3ee816(0x35a)]()!==_0x38229e&&this[_0x3ee816(0x3bd)][_0x3ee816(0x15e)]('subunit',_0x11300b[_0x3ee816(0x35a)](),_0x63c6d7);}async['_updateSubUnitFromURLParams'](_0x3d30a9,_0x56a547=!0x1){const _0x46a1fc=_0x4a9a20;var _0x5c0414;let _0x294e64=this[_0x46a1fc(0x3bd)][_0x46a1fc(0x16d)](_0x46a1fc(0x2a5));if(!_0x294e64||!_0x3d30a9[_0x46a1fc(0x13d)](_0x294e64)){let _0x56bfd6=_0x3d30a9['getUnhiddenWorksheets']()[0x0],_0x36abef=_0x3d30a9[_0x46a1fc(0x13d)](_0x56bfd6);if(!_0x36abef||(this['_updateURLWithCurrentState'](_0x36abef,!0x0),this[_0x46a1fc(0x11c)]))return;await this[_0x46a1fc(0x3a1)][_0x46a1fc(0x31d)](_0x1f89be[_0x46a1fc(0x1fa)]['id'],{'unitId':_0x3d30a9[_0x46a1fc(0x2c3)](),'subUnitId':_0x56bfd6});return;}(_0x56a547||((_0x5c0414=_0x3d30a9[_0x46a1fc(0x1b3)]())==null?void 0x0:_0x5c0414[_0x46a1fc(0x35a)]())!==_0x294e64)&&await this[_0x46a1fc(0x3a1)][_0x46a1fc(0x31d)](_0x1f89be[_0x46a1fc(0x1fa)]['id'],{'unitId':_0x3d30a9[_0x46a1fc(0x2c3)](),'subUnitId':_0x294e64});}};_0x10a8c2=_0x56d489([_0x235e3a(0x0,_0x585290),_0x235e3a(0x1,_0x379e5f[_0x4a9a20(0x2f1)]),_0x235e3a(0x2,_0x379e5f['ICommandService']),_0x235e3a(0x3,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x5c5525[_0x4a9a20(0xb4)]))],_0x10a8c2);let _0x39070c=class{constructor(_0x459f6c,_0x2cbc3d){const _0x49b7c4=_0x4a9a20;this[_0x49b7c4(0xf2)]=_0x459f6c,this[_0x49b7c4(0x373)]=_0x2cbc3d;}[_0x4a9a20(0x2be)](_0xacdaad){const _0x1e52ec=_0x4a9a20;this[_0x1e52ec(0x1b0)](_0xacdaad),this[_0x1e52ec(0x277)](_0xacdaad);}[_0x4a9a20(0x1f3)](_0x2565fa){const _0x369eb2=_0x4a9a20;let {unitID:_0x41f638}=_0x2565fa,{redoCache:_0x53153e}=this[_0x369eb2(0x373)][_0x369eb2(0x298)](_0x41f638)[_0x369eb2(0x253)](_0x12bff4[_0x369eb2(0x332)])[_0x369eb2(0x2c8)]();if(_0x53153e[_0x369eb2(0x103)]===0x0)return _0x2565fa;let _0x476c54=_0x379e5f['Tools'][_0x369eb2(0x272)](_0x2565fa[_0x369eb2(0x215)][0x0]);for(let _0xec7952=0x0;_0xec7952<_0x53153e[_0x369eb2(0x103)];_0xec7952++){let _0xc04602={'id':'doc.mutation.rich-text-editing','params':{..._0x53153e[_0xec7952]}},_0x46a785=this['_transformService'][_0x369eb2(0x2bf)](_0x476c54,_0xc04602,!0x1);if((0x0,_0x180ca7[_0x369eb2(0x1cb)])(_0x46a785))throw _0x46a785['error'];_0x476c54=_0x46a785[_0x369eb2(0x1da)];}return{..._0x379e5f['Tools']['deepClone'](_0x2565fa),'mutations':[_0x476c54]};}[_0x4a9a20(0x1b0)](_0x4ec098){const _0x273ed3=_0x4a9a20;let {unitID:_0x45739d}=_0x4ec098,_0xea86fd=this[_0x273ed3(0x373)][_0x273ed3(0x298)](_0x45739d)[_0x273ed3(0x253)](_0x12bff4[_0x273ed3(0x332)]),{undoCache:_0x413951,redoCache:_0x218506}=_0xea86fd[_0x273ed3(0x2c8)]();if(_0x413951['length']===0x0||_0x218506[_0x273ed3(0x103)]===0x0)return;let _0x34f37b=[],_0x45aa01=[],_0x14e2c8=_0x379e5f['Tools'][_0x273ed3(0x272)](_0x4ec098[_0x273ed3(0x215)][0x0]),_0x477a39=_0x379e5f['Tools'][_0x273ed3(0x272)](_0x4ec098['mutations'][0x0]);for(let _0x3702d2=_0x413951[_0x273ed3(0x103)]-0x1;_0x3702d2>=0x0;_0x3702d2--){let _0x24e50c={'id':_0x273ed3(0x1bc),'params':{..._0x413951[_0x3702d2]}},_0x52ef4c={'id':_0x273ed3(0x1bc),'params':{..._0x218506[_0x3702d2]}},_0x466f7e=this['_transformService'][_0x273ed3(0x2bf)](_0x14e2c8,_0x24e50c,!0x1),_0x5c8d08=this[_0x273ed3(0xf2)][_0x273ed3(0x2bf)](_0x477a39,_0x52ef4c,!0x1);if((0x0,_0x180ca7[_0x273ed3(0x1cb)])(_0x466f7e))throw _0x466f7e[_0x273ed3(0x1a8)];if((0x0,_0x180ca7[_0x273ed3(0x1cb)])(_0x5c8d08))throw _0x5c8d08[_0x273ed3(0x1a8)];_0x34f37b[_0x273ed3(0xe9)](_0x466f7e[_0x273ed3(0x2c7)]['params']),_0x45aa01[_0x273ed3(0xe9)](_0x5c8d08[_0x273ed3(0x2c7)]['params']),_0x14e2c8=_0x466f7e[_0x273ed3(0x1da)],_0x477a39=_0x5c8d08[_0x273ed3(0x1da)];}_0xea86fd[_0x273ed3(0x1cd)]({'undoCache':_0x34f37b,'redoCache':_0x45aa01});}[_0x4a9a20(0x277)](_0x2ed245){const _0x15b054=_0x4a9a20;let {unitID:_0x461ad2}=_0x2ed245,_0x4ba0fb=this[_0x15b054(0x373)]['getRenderUnitById'](_0x461ad2)[_0x15b054(0x253)](_0x12bff4[_0x15b054(0x332)]),_0x2f59f7=_0x4ba0fb[_0x15b054(0x3c0)]();if(_0x2f59f7==null)return;let _0x6e0ea8=[{'id':_0x15b054(0x1bc),'params':{'unitId':_0x2ed245['unitID'],'actions':null,'textRanges':[_0x2f59f7]}}],_0x48e5ef=this[_0x15b054(0xf2)][_0x15b054(0x160)](_0x2ed245,_0x6e0ea8);if(!(0x0,_0x180ca7[_0x15b054(0x391)])(_0x48e5ef))throw _0x48e5ef[_0x15b054(0x1a8)];let _0x174896=_0x48e5ef[_0x15b054(0x2c7)][0x0]['params'][_0x15b054(0x348)];Array[_0x15b054(0x1af)](_0x174896)&&_0x174896[_0x15b054(0x103)]&&_0x4ba0fb['setActiveRange'](_0x174896[0x0]);}};_0x39070c=_0x56d489([_0x235e3a(0x0,_0x180ca7[_0x4a9a20(0x300)]),_0x235e3a(0x1,_0x2a6e7e[_0x4a9a20(0x1ed)])],_0x39070c);let _0x22af92=class{constructor(_0xf8fadb,_0x16b1ee,_0xff91f){const _0x21f501=_0x4a9a20;this[_0x21f501(0xa3)]=_0xf8fadb,this[_0x21f501(0xf2)]=_0x16b1ee,this[_0x21f501(0x26b)]=_0xff91f;}[_0x4a9a20(0x2dd)](_0x48dcef){this['_transformHistoryAndStateStack'](_0x48dcef);}['transformRemoteChangeset'](_0x1751ae){const _0x5c8081=_0x4a9a20;let {unitID:_0x2e06e6}=_0x1751ae,{collaboration:_0x2184a5}=this[_0x5c8081(0x26b)][_0x5c8081(0xb8)](_0x2e06e6);if(_0x2184a5[_0x5c8081(0x103)]===0x0)return _0x1751ae;let _0x3eef59=_0x379e5f[_0x5c8081(0xdf)][_0x5c8081(0x272)](_0x1751ae['mutations'][0x0]);for(let _0x1c0850=0x0;_0x1c0850<_0x2184a5[_0x5c8081(0x103)];_0x1c0850++){let _0x36d6d5={'id':_0x5c8081(0x1bc),'params':{'unitId':_0x2184a5[_0x1c0850]['unitId'],..._0x2184a5[_0x1c0850][_0x5c8081(0xc2)]}},_0xe9288c=this[_0x5c8081(0xf2)][_0x5c8081(0x2bf)](_0x3eef59,_0x36d6d5,!0x1);if((0x0,_0x180ca7['isTransformMutationFailure'])(_0xe9288c))throw _0xe9288c['error'];_0x3eef59=_0xe9288c[_0x5c8081(0x1da)];}return{..._0x379e5f[_0x5c8081(0xdf)][_0x5c8081(0x272)](_0x1751ae),'mutations':[_0x3eef59]};}[_0x4a9a20(0x275)](_0x63e366){const _0x215d77=_0x4a9a20;let {unitID:_0x29d676}=_0x63e366,{history:_0x4a4db3,collaboration:_0x2d994f}=this[_0x215d77(0x26b)]['getStateCache'](_0x29d676);if(_0x4a4db3['length']===0x0&&_0x2d994f[_0x215d77(0x103)]===0x0)return;let _0x5c0ce1=[],_0x30883b=[],_0x3d2bf6=_0x379e5f[_0x215d77(0xdf)]['deepClone'](_0x63e366[_0x215d77(0x215)][0x0]),_0x1a32d5=_0x379e5f['Tools'][_0x215d77(0x272)](_0x63e366['mutations'][0x0]);for(let _0x3b632e=_0x4a4db3[_0x215d77(0x103)]-0x1;_0x3b632e>=0x0;_0x3b632e--){let _0x2b8201={'id':_0x215d77(0x1bc),'params':{'unitId':_0x4a4db3[_0x3b632e][_0x215d77(0x32a)],..._0x4a4db3[_0x3b632e]['undoState']}},_0x300a48={'id':_0x215d77(0x1bc),'params':{'unitId':_0x4a4db3[_0x3b632e]['unitId'],..._0x4a4db3[_0x3b632e][_0x215d77(0xc2)]}},_0x49ac1d=this[_0x215d77(0xf2)][_0x215d77(0x2bf)](_0x3d2bf6,_0x2b8201,!0x1),_0x578c0d=this[_0x215d77(0xf2)]['transformMutation'](_0x1a32d5,_0x300a48,!0x1);if((0x0,_0x180ca7[_0x215d77(0x1cb)])(_0x49ac1d))throw _0x49ac1d[_0x215d77(0x1a8)];if((0x0,_0x180ca7[_0x215d77(0x1cb)])(_0x578c0d))throw _0x578c0d[_0x215d77(0x1a8)];_0x5c0ce1[_0x215d77(0xe9)]({..._0x4a4db3[_0x3b632e],'undoState':_0x49ac1d[_0x215d77(0x2c7)][_0x215d77(0x26f)],'redoState':_0x578c0d[_0x215d77(0x2c7)][_0x215d77(0x26f)]}),_0x3d2bf6=_0x49ac1d[_0x215d77(0x1da)],_0x1a32d5=_0x578c0d[_0x215d77(0x1da)];}_0x3d2bf6=_0x379e5f[_0x215d77(0xdf)]['deepClone'](_0x63e366[_0x215d77(0x215)][0x0]),_0x1a32d5=_0x379e5f[_0x215d77(0xdf)]['deepClone'](_0x63e366[_0x215d77(0x215)][0x0]);for(let _0x7bc7e7=_0x2d994f[_0x215d77(0x103)]-0x1;_0x7bc7e7>=0x0;_0x7bc7e7--){let _0x62a794={'id':_0x215d77(0x1bc),'params':{'unitId':_0x2d994f[_0x7bc7e7][_0x215d77(0x32a)],..._0x2d994f[_0x7bc7e7][_0x215d77(0x384)]}},_0x3a18e7={'id':_0x215d77(0x1bc),'params':{'unitId':_0x2d994f[_0x7bc7e7][_0x215d77(0x32a)],..._0x2d994f[_0x7bc7e7][_0x215d77(0xc2)]}},_0x36947d=this[_0x215d77(0xf2)][_0x215d77(0x2bf)](_0x3d2bf6,_0x62a794,!0x1),_0x49a928=this[_0x215d77(0xf2)]['transformMutation'](_0x1a32d5,_0x3a18e7,!0x1);if((0x0,_0x180ca7[_0x215d77(0x1cb)])(_0x36947d))throw _0x36947d[_0x215d77(0x1a8)];if((0x0,_0x180ca7[_0x215d77(0x1cb)])(_0x49a928))throw _0x49a928[_0x215d77(0x1a8)];_0x30883b[_0x215d77(0xe9)]({..._0x2d994f[_0x7bc7e7],'undoState':_0x36947d[_0x215d77(0x2c7)]['params'],'redoState':_0x49a928[_0x215d77(0x2c7)]['params']}),_0x3d2bf6=_0x36947d[_0x215d77(0x1da)],_0x1a32d5=_0x49a928[_0x215d77(0x1da)];}this['_docStateChangeManagerService'][_0x215d77(0x98)](_0x29d676,{'history':_0x5c0ce1,'collaboration':_0x30883b});}};_0x22af92=_0x56d489([_0x235e3a(0x0,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f[_0x4a9a20(0x18f)])),_0x235e3a(0x1,_0x180ca7[_0x4a9a20(0x300)]),_0x235e3a(0x2,(0x0,_0x379e5f['Inject'])(_0x24609f['DocStateChangeManagerService']))],_0x22af92);let _0x5c5c58=class{constructor(_0x3a39fd,_0x4f7247){const _0x4e9a0e=_0x4a9a20;this[_0x4e9a0e(0x290)]=_0x3a39fd,this[_0x4e9a0e(0xf2)]=_0x4f7247;}['prepareTransformSelections'](_0xef4f53){const _0x411880=_0x4a9a20;var _0x46e765;let _0x1290dd=this['_docSelectionManagerService'][_0x411880(0x3bb)]()??[],_0x504650=this[_0x411880(0x290)]['getSelectionInfo']();if(_0x1290dd[_0x411880(0x103)]===0x0||_0x504650==null)return null;let _0x4b342d=_0xef4f53[_0x411880(0xdd)],_0x577e48=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4b342d,'actions':null,'textRanges':_0x1290dd}}],_0x18da9f=this[_0x411880(0xf2)][_0x411880(0x160)](_0xef4f53,_0x577e48);if(!(0x0,_0x180ca7[_0x411880(0x391)])(_0x18da9f))throw _0x18da9f[_0x411880(0x1a8)];let _0x24441e=(_0x46e765=_0x18da9f[_0x411880(0x2c7)][0x0])==null?void 0x0:_0x46e765[_0x411880(0x26f)],_0xc920f1=_0x24441e&&typeof _0x24441e=='object'&&_0x411880(0x348)in _0x24441e?_0x24441e[_0x411880(0x348)]:null;if(!_0x37100c(_0xc920f1))return null;let _0x2a27f9=_0x50c217(_0xef4f53[_0x411880(0x215)][_0x411880(0x324)](_0x48bf41=>_0x4ee44f(_0x48bf41[_0x411880(0x26f)]))?_0xc920f1[_0x411880(0x9a)](_0x23430f=>!('tableId'in _0x23430f)):_0xc920f1,{..._0x504650,'options':_0x504650[_0x411880(0x1a0)]?{..._0x504650['options'],'wholeDocument':!0x1}:void 0x0}),_0x30e049={'unitId':_0x4b342d,'subUnitId':_0x4b342d};this[_0x411880(0x290)][_0x411880(0x342)](_0x2a27f9,_0x30e049);let _0x54ab4b=!0x0;return{'commit':()=>{_0x54ab4b=!0x1;},'rollback':()=>{const _0x73ac4=_0x411880;_0x54ab4b&&(_0x54ab4b=!0x1,this[_0x73ac4(0x290)][_0x73ac4(0x342)](_0x504650,_0x30e049));}};}};_0x5c5c58=_0x56d489([_0x235e3a(0x0,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x24609f[_0x4a9a20(0x2d3)])),_0x235e3a(0x1,_0x180ca7[_0x4a9a20(0x300)])],_0x5c5c58);function _0x50c217(_0x2a8d8d,_0x5aeee2){const _0x93fee0=_0x4a9a20;let _0x180294=[],_0x476008=[];for(let _0x6ff5e7 of _0x2a8d8d)_0x586c07(_0x6ff5e7)?_0x476008[_0x93fee0(0x2bd)](_0x6ff5e7):_0x180294[_0x93fee0(0x2bd)](_0x6ff5e7);return{..._0x5aeee2,'textRanges':_0x180294,'rectRanges':_0x476008};}function _0x586c07(_0x53e801){const _0x3963ef=_0x4a9a20;return _0x3963ef(0x33e)in _0x53e801;}function _0x37100c(_0x27f668){const _0x16bbd9=_0x4a9a20;return Array[_0x16bbd9(0x1af)](_0x27f668)&&_0x27f668['every'](_0x4d1a77=>typeof _0x4d1a77=='object'&&!!_0x4d1a77&&_0x16bbd9(0x10e)in _0x4d1a77&&'endOffset'in _0x4d1a77);}function _0x4ee44f(_0x48acf4){const _0x3549a5=_0x4a9a20;return _0x48acf4==='tableSource'?!0x0:Array['isArray'](_0x48acf4)?_0x48acf4[_0x3549a5(0x324)](_0x421469=>_0x4ee44f(_0x421469)):!_0x48acf4||typeof _0x48acf4!=_0x3549a5(0x1e2)?!0x1:Object[_0x3549a5(0x33f)](_0x48acf4)[_0x3549a5(0x324)](_0x5554fa=>_0x4ee44f(_0x5554fa));}let _0x187992=class extends _0x379e5f[_0x4a9a20(0x359)]{constructor(_0x4d9a6c,_0x1e61cc,_0x527893,_0x10c4ea,_0x81ea63,_0x2e2e18,_0x48d1d9){const _0x5683be=_0x4a9a20;super(),this[_0x5683be(0x29c)]=_0x4d9a6c,this[_0x5683be(0x241)]=_0x1e61cc,this['_docTransformStateCacheService']=_0x527893,this['_docTransformSelectionsService']=_0x10c4ea,this[_0x5683be(0x349)]=_0x81ea63,this[_0x5683be(0x2a2)]=_0x2e2e18,this[_0x5683be(0x1f6)]=_0x48d1d9,_0x477ff4(this,_0x5683be(0xa5),new _0x29b66c['BehaviorSubject'](_0x5c5525[_0x5683be(0x307)][_0x5683be(0x361)])),this['_initEntityListener']();}[_0x4a9a20(0x360)](){const _0x2ed21f=_0x4a9a20;this[_0x2ed21f(0x345)](this[_0x2ed21f(0x29c)]['entityInit$'][_0x2ed21f(0x116)](_0x324453=>{const _0x4bbb2f=_0x2ed21f;_0x324453 instanceof _0x5c5525[_0x4bbb2f(0x1d7)]&&_0x324453[_0x4bbb2f(0x1bd)]({'onTransformIME':_0x447d08=>this[_0x4bbb2f(0x241)]['transformIMECache'](_0x447d08),'onTransformState':_0xf04b1e=>this[_0x4bbb2f(0x15c)][_0x4bbb2f(0x2dd)](_0xf04b1e),'onPrepareTransformSelections':_0x346b67=>this[_0x4bbb2f(0x106)][_0x4bbb2f(0x207)](_0x346b67),'onSyncEditingCollabCursor':_0x1e585f=>this[_0x4bbb2f(0x349)][_0x4bbb2f(0x2ca)](_0x1e585f),'onTransformRemoteChangesetByIMECache':_0x1eeae4=>this[_0x4bbb2f(0x241)]['transformRemoteChangeset'](_0x1eeae4),'onTransformRemoteChangesetByStateCache':_0x12b823=>this[_0x4bbb2f(0x15c)][_0x4bbb2f(0x1f3)](_0x12b823)});}));}};_0x187992=_0x56d489([_0x235e3a(0x0,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x5c5525['CollaborationController'])),_0x235e3a(0x1,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x39070c)),_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x22af92)),_0x235e3a(0x3,(0x0,_0x379e5f['Inject'])(_0x5c5c58)),_0x235e3a(0x4,(0x0,_0x379e5f['Inject'])(_0x2430ce)),_0x235e3a(0x5,_0x191907[_0x4a9a20(0x3d1)]),_0x235e3a(0x6,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f['LocaleService']))],_0x187992);let _0x289860=class extends _0x379e5f[_0x4a9a20(0x359)]{constructor(_0x23ba89,_0x6e62ee,_0x52808d,_0x21fd5d){const _0x23417f=_0x4a9a20;super(),this[_0x23417f(0xa3)]=_0x23ba89,this[_0x23417f(0x301)]=_0x6e62ee,this[_0x23417f(0x203)]=_0x52808d,this[_0x23417f(0x124)]=_0x21fd5d,_0x477ff4(this,_0x23417f(0x2d4),void 0x0),this['_init']();}[_0x4a9a20(0x246)](){const _0x435018=_0x4a9a20;this[_0x435018(0x2a9)](),this[_0x435018(0xf8)](),this[_0x435018(0x382)](),this['_initUserListener']();}[_0x4a9a20(0x208)](){const _0xa932f4=_0x4a9a20;this[_0xa932f4(0x345)](this['_collaborationSessionService'][_0xa932f4(0x375)]['subscribe'](_0x44d1f8=>{const _0x33eb19=_0xa932f4;this['_memberID']=_0x44d1f8==null?void 0x0:_0x44d1f8[_0x33eb19(0x225)];}));}['_initWindowErrorListener'](){const _0xbbe37d=_0x4a9a20;let _0x12cdb4=_0x32d64a=>{const _0x41a579=_0x861d;var _0x50ffc2;this['_uploadLog'](_0x41a579(0x1a8),_0x41a579(0x3e2)+_0x32d64a['message']+'\x20at\x20'+_0x32d64a[_0x41a579(0x23a)]+':'+_0x32d64a[_0x41a579(0x117)]+':'+_0x32d64a['colno']+'\x0a'+(((_0x50ffc2=_0x32d64a[_0x41a579(0x1a8)])==null?void 0x0:_0x50ffc2[_0x41a579(0x189)])||''));};window[_0xbbe37d(0x200)](_0xbbe37d(0x1a8),_0x12cdb4),this[_0xbbe37d(0x345)](()=>{const _0x7a5845=_0xbbe37d;window['removeEventListener'](_0x7a5845(0x1a8),_0x12cdb4);});}[_0x4a9a20(0xf8)](){const _0x511439=_0x4a9a20;let _0x39a179=_0x2153db=>{const _0x54b58f=_0x861d;this[_0x54b58f(0x346)](_0x54b58f(0x1a8),_0x54b58f(0x31b)+_0x2153db['reason']);};window[_0x511439(0x200)](_0x511439(0x1d0),_0x39a179),this[_0x511439(0x345)](()=>{const _0x1d700d=_0x511439;window[_0x1d700d(0x353)](_0x1d700d(0x1d0),_0x39a179);});}['_monkeyPatchLogService'](){const _0x3bdaaf=_0x4a9a20;let _0x267834=this[_0x3bdaaf(0x203)]['error'][_0x3bdaaf(0x25e)](this[_0x3bdaaf(0x203)]);this[_0x3bdaaf(0x203)][_0x3bdaaf(0x1a8)]=(..._0x244ecd)=>{const _0x1268a6=_0x3bdaaf;let _0x30aafe=_0x244ecd[_0x1268a6(0x15d)](_0x2b4697=>_0x2b4697 instanceof Error?_0x2b4697['message']+'\x0a'+_0x2b4697['stack']:String(_0x2b4697))[_0x1268a6(0xe6)]('\x20');this['_uploadLog']('error',_0x1268a6(0x25b)+_0x30aafe),_0x267834(..._0x244ecd);},this[_0x3bdaaf(0x345)](()=>{const _0x4738db=_0x3bdaaf;this[_0x4738db(0x203)][_0x4738db(0x1a8)]=_0x267834;});}[_0x4a9a20(0x346)](_0x3d80aa,_0x49d787){const _0x5d8c21=_0x4a9a20;try{let _0x53dbaa={'userId':this[_0x5d8c21(0x2d4)],'logLabel':_0x3d80aa,'content':_0x49d787};this['_httpService'][_0x5d8c21(0x211)](_0x5d8c21(0x193),{'body':_0x53dbaa})[_0x5d8c21(0x3af)](()=>{});}catch{}}};_0x289860=_0x56d489([_0x235e3a(0x0,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f[_0x4a9a20(0x18f)])),_0x235e3a(0x1,(0x0,_0x379e5f['Inject'])(_0x1c13d8[_0x4a9a20(0x1fd)])),_0x235e3a(0x2,_0x379e5f['ILogService']),_0x235e3a(0x3,(0x0,_0x379e5f['Inject'])(_0x5c5525[_0x4a9a20(0x267)]))],_0x289860);function _0x277644({state$:_0x5733dd}){const _0x11fd24=_0x4a9a20;let _0x758b6=(0x0,_0x191907['useObservable'])(_0x5733dd,null,!0x0);return _0x758b6?(0x0,_0x49e2bf[_0x11fd24(0xe1)])(_0x11fd24(0x250),{'data-u-comp':_0x11fd24(0x2eb),'role':_0x11fd24(0x1ae),'className':_0x11fd24(0x1a1),'children':[(0x0,_0x49e2bf['jsx'])(_0x2431b5,{'className':_0x11fd24(0x2e3)}),(0x0,_0x49e2bf[_0x11fd24(0x92)])('span',{'children':_0x758b6[_0x11fd24(0x28d)]}),(0x0,_0x49e2bf[_0x11fd24(0x92)])(_0x51bea6['Button'],{'size':_0x11fd24(0x152),'variant':'primary','onClick':()=>window[_0x11fd24(0x36d)]['reload'](),'children':_0x758b6[_0x11fd24(0x123)]})]}):null;}let _0x3c2f0f=_0x4a9a20(0x12a),_0x1183a2=class extends _0x379e5f['Disposable']{constructor(_0x429d24,_0x3dc68c,_0x5a4017,_0x548525,_0x2cd10b,_0x5bdaa6){const _0x1fe6ed=_0x4a9a20;super(),this[_0x1fe6ed(0x3ae)]=_0x429d24,this[_0x1fe6ed(0x2a2)]=_0x3dc68c,this[_0x1fe6ed(0x1f6)]=_0x5a4017,this[_0x1fe6ed(0xa3)]=_0x548525,this['_urlService']=_0x5bdaa6,_0x477ff4(this,_0x1fe6ed(0x223),new _0x29b66c[(_0x1fe6ed(0x2d0))](null)),_0x477ff4(this,'_messageIds',new Set()),_0x477ff4(this,_0x1fe6ed(0x216),new Map()),_0x477ff4(this,_0x1fe6ed(0x109),new Map()),_0x477ff4(this,_0x1fe6ed(0x254),this[_0x1fe6ed(0x223)][_0x1fe6ed(0x30e)]());let _0x14158b=()=>(0x0,_0x3fb6bf[_0x1fe6ed(0x3df)])(_0x277644,{'state$':this[_0x1fe6ed(0x254)]});this[_0x1fe6ed(0x345)](_0x2cd10b['registerComponent'](_0x191907[_0x1fe6ed(0xb1)][_0x1fe6ed(0xee)],()=>(0x0,_0x191907[_0x1fe6ed(0x182)])(_0x14158b,this['_injector']))),this[_0x1fe6ed(0x345)](this['_snapshotLoadingService'][_0x1fe6ed(0x32f)][_0x1fe6ed(0x116)](_0x39aa3a=>{const _0x49e55b=_0x1fe6ed;this[_0x49e55b(0x109)]=_0x39aa3a,_0x39aa3a[_0x49e55b(0xad)](_0x29aba6=>this['_updateMessage'](_0x29aba6));})),this[_0x1fe6ed(0x345)](this['_urlService'][_0x1fe6ed(0x212)]['subscribe'](()=>{const _0x50760c=_0x1fe6ed;this[_0x50760c(0x109)][_0x50760c(0xad)](_0x2cb6d5=>this['_updateMessage'](_0x2cb6d5));}));}[_0x4a9a20(0x274)](){const _0x5cc3f4=_0x4a9a20;this[_0x5cc3f4(0x394)][_0x5cc3f4(0xad)](_0x51f69b=>this['_messageService'][_0x5cc3f4(0x1d9)](_0x51f69b)),this[_0x5cc3f4(0x394)]['clear'](),this[_0x5cc3f4(0x216)][_0x5cc3f4(0xad)](({timeoutId:_0x12405c})=>clearTimeout(_0x12405c)),this[_0x5cc3f4(0x216)][_0x5cc3f4(0x96)](),this['_timeoutState$'][_0x5cc3f4(0xd5)](),super[_0x5cc3f4(0x274)]();}[_0x4a9a20(0xc6)](_0x43cc45){const _0x1d781b=_0x4a9a20;let _0x30f968=''+_0x3c2f0f+_0x43cc45['unitId'];if(_0x43cc45['stage']===_0x180ca7[_0x1d781b(0x10f)]['COMPLETE']){this['_clearBlockProgressWatch'](_0x43cc45[_0x1d781b(0x32a)]),this[_0x1d781b(0x309)](_0x43cc45['unitId']),this[_0x1d781b(0x2a2)]['remove'](_0x30f968),this[_0x1d781b(0x394)][_0x1d781b(0xd0)](_0x30f968);return;}if(!this[_0x1d781b(0x234)](_0x43cc45['unitId'])){this[_0x1d781b(0x305)](_0x43cc45[_0x1d781b(0x32a)]),this[_0x1d781b(0x309)](_0x43cc45[_0x1d781b(0x32a)]),this[_0x1d781b(0x2a2)]['remove'](_0x30f968),this[_0x1d781b(0x394)][_0x1d781b(0xd0)](_0x30f968);return;}if(_0x43cc45[_0x1d781b(0xdc)]===_0x180ca7[_0x1d781b(0x10f)][_0x1d781b(0x281)]){this[_0x1d781b(0x305)](_0x43cc45[_0x1d781b(0x32a)]),this[_0x1d781b(0x309)](_0x43cc45[_0x1d781b(0x32a)]),this['_messageService'][_0x1d781b(0x185)]({'id':_0x30f968,'type':_0x51bea6[_0x1d781b(0xcb)][_0x1d781b(0x358)],'content':this['_localeService']['t']('collaboration-client-ui.session.connection-failed')}),this[_0x1d781b(0x394)][_0x1d781b(0xd0)](_0x30f968);return;}if(_0x43cc45[_0x1d781b(0xdc)]!==_0x180ca7['SnapshotLoadStage'][_0x1d781b(0x1d4)]||_0x43cc45[_0x1d781b(0x33a)]<=0xa){this[_0x1d781b(0x305)](_0x43cc45[_0x1d781b(0x32a)]),this[_0x1d781b(0x2a2)][_0x1d781b(0x1d9)](_0x30f968),this['_messageIds']['delete'](_0x30f968);return;}this['_watchBlockProgress'](_0x43cc45)||(this['_messageService'][_0x1d781b(0x185)]({'id':_0x30f968,'type':_0x51bea6[_0x1d781b(0xcb)][_0x1d781b(0x9e)],'duration':0x1/0x0,'content':this[_0x1d781b(0x1f6)]['t'](_0x1d781b(0x327))+'\x20'+_0x43cc45['loadedBlocks']+'/'+_0x43cc45[_0x1d781b(0x33a)]}),this[_0x1d781b(0x394)][_0x1d781b(0x2a3)](_0x30f968));}[_0x4a9a20(0xeb)](_0x10b495){const _0x4e6523=_0x4a9a20;let _0x351fe9=this[_0x4e6523(0x216)]['get'](_0x10b495['unitId']);if((_0x351fe9==null?void 0x0:_0x351fe9[_0x4e6523(0x28b)])===_0x10b495[_0x4e6523(0x28b)])return _0x351fe9[_0x4e6523(0x3a4)];this[_0x4e6523(0x305)](_0x10b495[_0x4e6523(0x32a)]);let _0x562a05=setTimeout(()=>{const _0x17db5a=_0x4e6523;let _0x1a1a26=this[_0x17db5a(0x216)][_0x17db5a(0x3c7)](_0x10b495['unitId']);if(!_0x1a1a26||_0x1a1a26[_0x17db5a(0x1df)]!==_0x562a05)return;_0x1a1a26[_0x17db5a(0x3a4)]=!0x0;let _0x4a872c=''+_0x3c2f0f+_0x10b495[_0x17db5a(0x32a)];this['_messageService'][_0x17db5a(0x1d9)](_0x4a872c),this[_0x17db5a(0x394)][_0x17db5a(0xd0)](_0x4a872c),this[_0x17db5a(0x223)]['next']({'unitId':_0x10b495[_0x17db5a(0x32a)],'content':this['_localeService']['t'](_0x17db5a(0xd8),String(_0x10b495['loadedBlocks']),String(_0x10b495[_0x17db5a(0x33a)])),'refreshLabel':this['_localeService']['t'](_0x17db5a(0x311))});},0xea60);return this[_0x4e6523(0x216)][_0x4e6523(0x25f)](_0x10b495['unitId'],{'loadedBlocks':_0x10b495[_0x4e6523(0x28b)],'timedOut':!0x1,'timeoutId':_0x562a05}),!0x1;}[_0x4a9a20(0x305)](_0x5c9055){const _0x2883e4=_0x4a9a20;let _0xcd4547=this['_blockProgressWatches'][_0x2883e4(0x3c7)](_0x5c9055);_0xcd4547&&(clearTimeout(_0xcd4547[_0x2883e4(0x1df)]),this[_0x2883e4(0x216)][_0x2883e4(0xd0)](_0x5c9055),this[_0x2883e4(0x309)](_0x5c9055));}[_0x4a9a20(0x309)](_0x2b1646){const _0x1af286=_0x4a9a20;var _0x27baed;((_0x27baed=this[_0x1af286(0x223)]['value'])==null?void 0x0:_0x27baed[_0x1af286(0x32a)])===_0x2b1646&&this['_timeoutState$']['next'](null);}['_isVisibleUnit'](_0x341b13){const _0x3213db=_0x4a9a20;let _0x1a18bf=this['_urlService'][_0x3213db(0x16d)](_0x3213db(0x108));return!_0x1a18bf||_0x1a18bf===_0x341b13;}};_0x1183a2=_0x56d489([_0x235e3a(0x0,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x180ca7[_0x4a9a20(0xa6)])),_0x235e3a(0x1,_0x191907[_0x4a9a20(0x3d1)]),_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f[_0x4a9a20(0x1e0)])),_0x235e3a(0x3,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f[_0x4a9a20(0x18f)])),_0x235e3a(0x4,_0x191907[_0x4a9a20(0x3a8)]),_0x235e3a(0x5,_0x585290)],_0x1183a2);let _0x18ef7d=class extends _0x379e5f['Disposable']{constructor(_0x1e831a,_0x453fbe,_0x3a0083){const _0x5a2aa8=_0x4a9a20;super(),this['_configService']=_0x1e831a,this['_localStorageService']=_0x453fbe,this[_0x5a2aa8(0x25c)]=_0x3a0083,_0x477ff4(this,_0x5a2aa8(0x3aa),new Map()),_0x477ff4(this,'_saveTaskMap',new Map()),_0x477ff4(this,_0x5a2aa8(0x17a),new Map()),_0x477ff4(this,_0x5a2aa8(0x262),!0x1);}[_0x4a9a20(0xd6)](){this['_disabled']=!0x0;}[_0x4a9a20(0x146)](){const _0x5e69d6=_0x4a9a20;this[_0x5e69d6(0x262)]=!0x1;}get[_0x4a9a20(0x3a7)](){const _0x47131d=_0x4a9a20;return this[_0x47131d(0x19a)];}[_0x4a9a20(0x274)](){const _0x40d5be=_0x4a9a20;this['exhaustSavingTask']()[_0x40d5be(0x2ea)](()=>super['dispose']());}async[_0x4a9a20(0x2fd)](_0x10c06d){const _0x461f17=_0x4a9a20;return this['_disabled']?null:this[_0x461f17(0x37f)][_0x461f17(0x210)]((0x0,_0x5c5525[_0x461f17(0x3b6)])(_0x10c06d));}async[_0x4a9a20(0x178)](_0x3fb2ec,_0x21b004){const _0x30942b=_0x4a9a20;let _0x2420c6=this[_0x30942b(0x37f)][_0x30942b(0x38a)]((0x0,_0x5c5525['getLocalCacheKey'])(_0x3fb2ec),_0x21b004);return this[_0x30942b(0x175)](_0x3fb2ec,_0x2420c6),!!await _0x2420c6;}async[_0x4a9a20(0x264)](_0xa1c126,_0x1d00ca){const _0x29b76f=_0x4a9a20;let _0x471e99=this['_cachedData']['get'](_0xa1c126)??await this[_0x29b76f(0x37f)]['getItem']((0x0,_0x5c5525[_0x29b76f(0x3b6)])(_0xa1c126));if(!_0x471e99)return;let _0x408ff7=Date['now'](),_0x4cf7de=new Date(_0x408ff7)['toISOString']();await this[_0x29b76f(0x37f)][_0x29b76f(0x38a)]((0x0,_0x5c5525[_0x29b76f(0x3b6)])(_0xa1c126)+_0x29b76f(0x3b2)+_0x408ff7,{'reason':_0x1d00ca,'createdAt':_0x4cf7de,'data':_0x471e99});}async[_0x4a9a20(0x12d)](_0x1e77e5){const _0x3cccbf=_0x4a9a20;let _0x2cce4f=this[_0x3cccbf(0x19a)][_0x3cccbf(0x3c7)](_0x1e77e5);_0x2cce4f!==void 0x0&&(window[_0x3cccbf(0x376)](_0x2cce4f),this[_0x3cccbf(0x19a)][_0x3cccbf(0xd0)](_0x1e77e5));let _0xb627db=this[_0x3cccbf(0x17a)]['get'](_0x1e77e5);_0xb627db&&await Promise['allSettled'](_0xb627db),this[_0x3cccbf(0x3aa)]['delete'](_0x1e77e5),await this[_0x3cccbf(0x37f)]['removeItem']((0x0,_0x5c5525[_0x3cccbf(0x3b6)])(_0x1e77e5));}[_0x4a9a20(0x36f)](_0x3698c8,_0x5b3c53,_0x1535c4,_0xde887c){const _0x36c4e6=_0x4a9a20;let _0x2443a2=this[_0x36c4e6(0x25c)][_0x36c4e6(0x15f)](_0x3698c8);this[_0x36c4e6(0x3aa)][_0x36c4e6(0x25f)](_0x3698c8,{'unitID':_0x3698c8,'type':_0x5b3c53,'awaitingChangeset':_0x1535c4,'mutations':_0xde887c,'rev':_0x2443a2}),this['_saveTaskMap'][_0x36c4e6(0x192)](_0x3698c8)||this[_0x36c4e6(0xfe)](_0x3698c8);}[_0x4a9a20(0xfe)](_0x131234){const _0x55fb64=_0x4a9a20;let _0xfb72e=this[_0x55fb64(0x39a)]();_0xfb72e===0x0?this['_saveCache'](_0x131234):this[_0x55fb64(0x19a)][_0x55fb64(0x25f)](_0x131234,window[_0x55fb64(0x308)](()=>this[_0x55fb64(0x1f7)](_0x131234),_0xfb72e));}[_0x4a9a20(0x39a)](){const _0x4113e3=_0x4a9a20;return this['_configService'][_0x4113e3(0x330)](_0x5c5525[_0x4113e3(0x195)])??_0x5c5525['LOCAL_CACHE_INTERVAL'];}[_0x4a9a20(0x1f7)](_0x456161){const _0x17d198=_0x4a9a20;let _0x39698b=this[_0x17d198(0x19a)]['get'](_0x456161);_0x39698b!==void 0x0&&window['clearTimeout'](_0x39698b);let _0x288d79=this['_localStorageService'][_0x17d198(0x38a)]((0x0,_0x5c5525[_0x17d198(0x3b6)])(_0x456161),this[_0x17d198(0x3aa)][_0x17d198(0x3c7)](_0x456161))[_0x17d198(0x2ea)](()=>this['_saveTaskMap']['delete'](_0x456161));return this['_trackActiveSaveTask'](_0x456161,_0x288d79),_0x288d79;}[_0x4a9a20(0x175)](_0x5ef4be,_0x24690b){const _0x371795=_0x4a9a20;let _0x33704d=this[_0x371795(0x17a)]['get'](_0x5ef4be);_0x33704d||(_0x33704d=new Set(),this[_0x371795(0x17a)][_0x371795(0x25f)](_0x5ef4be,_0x33704d)),_0x33704d[_0x371795(0x2a3)](_0x24690b);let _0x1486af=()=>{const _0x151bed=_0x371795;_0x33704d[_0x151bed(0xd0)](_0x24690b),_0x33704d[_0x151bed(0x280)]===0x0&&this[_0x151bed(0x17a)][_0x151bed(0xd0)](_0x5ef4be);};_0x24690b['then'](_0x1486af,_0x1486af);}async['exhaustSavingTask'](){const _0x24b155=_0x4a9a20;let _0x44b31a=[];this[_0x24b155(0x19a)][_0x24b155(0xad)]((_0x2a8efb,_0x29f6f7)=>{const _0x58ec23=_0x24b155;window[_0x58ec23(0x376)](_0x2a8efb),_0x44b31a[_0x58ec23(0x2bd)](this[_0x58ec23(0x1f7)](_0x29f6f7)[_0x58ec23(0x2ea)](()=>{const _0x72112d=_0x58ec23;this[_0x72112d(0x19a)][_0x72112d(0xd0)](_0x29f6f7);}));}),await Promise['all'](_0x44b31a);}};_0x18ef7d=_0x56d489([_0x235e3a(0x0,_0x379e5f[_0x4a9a20(0x3c3)]),_0x235e3a(0x1,_0x379e5f[_0x4a9a20(0x3b9)]),_0x235e3a(0x2,(0x0,_0x379e5f['Inject'])(_0x180ca7[_0x4a9a20(0x177)]))],_0x18ef7d);var _0x380f56=class extends _0x379e5f[_0x4a9a20(0x1c0)]{constructor(){const _0x17ee51=_0x4a9a20;super(),_0x477ff4(this,'urlChange$',void 0x0),this['urlChange$']=(0x0,_0x29b66c[_0x17ee51(0xfa)])(window,_0x17ee51(0x2ac))[_0x17ee51(0x220)]((0x0,_0x29b66c[_0x17ee51(0x3be)])(this['dispose$']),(0x0,_0x29b66c[_0x17ee51(0x128)])({'bufferSize':0x1,'refCount':!0x0}),(0x0,_0x29b66c[_0x17ee51(0x2b2)])(void 0x0));}[_0x4a9a20(0x15e)](_0x4f8888,_0x13f082,_0xfc6af3=!0x1){const _0x292b8d=_0x4a9a20;let _0x342a26=new URL(window[_0x292b8d(0x36d)]['href']);_0x342a26[_0x292b8d(0x2bb)]['set'](_0x4f8888,_0x13f082),_0xfc6af3?window[_0x292b8d(0x21b)]['replaceState']('','',_0x342a26[_0x292b8d(0x22e)]()):window[_0x292b8d(0x21b)][_0x292b8d(0x2e7)]('','',_0x342a26[_0x292b8d(0x22e)]());}['removeParam'](_0x4ed63a,_0x5414ac=!0x1){const _0x58baa5=_0x4a9a20;let _0xaee588=new URL(window['location'][_0x58baa5(0x132)]);_0xaee588[_0x58baa5(0x2bb)]['delete'](_0x4ed63a),_0x5414ac?window[_0x58baa5(0x21b)][_0x58baa5(0x3bf)]('','',_0xaee588[_0x58baa5(0x22e)]()):window[_0x58baa5(0x21b)]['pushState']('','',_0xaee588[_0x58baa5(0x22e)]());}[_0x4a9a20(0x16d)](_0x1343cf){const _0x4d6bd7=_0x4a9a20;return new URL(window[_0x4d6bd7(0x36d)][_0x4d6bd7(0x132)])['searchParams'][_0x4d6bd7(0x3c7)](_0x1343cf)??void 0x0;}};let _0x2ce7d1=class extends _0x379e5f[_0x4a9a20(0x19e)]{constructor(_0x1745ea=_0x4905e4,_0x3f8c57,_0xca1ab,_0x5bccff,_0x5d8151){const _0x24c89e=_0x4a9a20;super(),this[_0x24c89e(0x22c)]=_0x1745ea,this[_0x24c89e(0x373)]=_0x3f8c57,this[_0x24c89e(0xa3)]=_0xca1ab,this['_configService']=_0x5bccff,this[_0x24c89e(0x3a1)]=_0x5d8151;let {..._0x430725}=(0x0,_0x379e5f[_0x24c89e(0x3b5)])({},_0x4905e4,this[_0x24c89e(0x22c)]);this[_0x24c89e(0x156)][_0x24c89e(0xe8)](_0x24c89e(0x20d),_0x430725);}[_0x4a9a20(0x329)](){const _0x94f01e=_0x4a9a20;this[_0x94f01e(0x1fc)](),this[_0x94f01e(0x345)](this['_commandService'][_0x94f01e(0x1f2)](_0x9de98b)),this[_0x94f01e(0x3d3)]();}[_0x4a9a20(0x325)](){const _0x57330d=_0x4a9a20;this[_0x57330d(0x15a)]();}['_registerDependencies'](){const _0x1139c0=_0x4a9a20;var _0x1d975e;let _0x40639f=[[_0x47ec3a],[_0x585290,{'useClass':_0x380f56}],[_0x1c13d8['ISocketService'],{'useClass':_0x1c13d8[_0x1139c0(0x3e0)]}],[_0x5c5525['ILocalCacheService'],{'useClass':_0x18ef7d}],[_0xfe667e],[_0x4add48],[_0x5e94f1],[_0x458d18],[_0x10a8c2],[_0x1183a2]];this['_config'][_0x1139c0(0x37b)]!==!0x1&&_0x40639f[_0x1139c0(0x2bd)]([_0x5c5c58],[_0x39070c],[_0x22af92],[_0x2430ce],[_0x187992],[_0x302b8d]),this[_0x1139c0(0x22c)][_0x1139c0(0x9b)]&&_0x40639f[_0x1139c0(0x2bd)]([_0x289860]),(0x0,_0x379e5f[_0x1139c0(0x36b)])(this['_injector'],(0x0,_0x379e5f[_0x1139c0(0x26c)])(_0x40639f,(_0x1d975e=this['_config'])==null?void 0x0:_0x1d975e[_0x1139c0(0x3ca)]));}['_registerRenderDependencies'](){const _0xeb0c07=_0x4a9a20;this['_config'][_0xeb0c07(0x37b)]!==!0x1&&this['disposeWithMe'](this[_0xeb0c07(0x373)][_0xeb0c07(0x23e)](_0x379e5f[_0xeb0c07(0x1a5)][_0xeb0c07(0x139)],[_0x5f4219])),this[_0xeb0c07(0x345)](this['_renderManagerService']['registerRenderModule'](_0x379e5f[_0xeb0c07(0x1a5)][_0xeb0c07(0x243)],[_0x146b13]));}[_0x4a9a20(0x3d3)](){const _0x4836e4=_0x4a9a20;(0x0,_0x379e5f[_0x4836e4(0x3bc)])(this[_0x4836e4(0xa3)],[[_0x5e94f1],[_0x458d18],[_0xfe667e],[_0x4add48],[_0x10a8c2],[_0x1183a2]]),this[_0x4836e4(0x22c)][_0x4836e4(0x37b)]!==!0x1&&(0x0,_0x379e5f[_0x4836e4(0x3bc)])(this[_0x4836e4(0xa3)],[[_0x187992],[_0x302b8d]]),this[_0x4836e4(0x22c)][_0x4836e4(0x9b)]&&(0x0,_0x379e5f[_0x4836e4(0x3bc)])(this[_0x4836e4(0xa3)],[[_0x289860]]);}};_0x477ff4(_0x2ce7d1,_0x4a9a20(0x27e),_0x4a9a20(0x1c3)),_0x477ff4(_0x2ce7d1,_0x4a9a20(0x3dc),_0x176194),_0x477ff4(_0x2ce7d1,_0x4a9a20(0x199),_0x5c9d38),_0x2ce7d1=_0x56d489([(0x0,_0x379e5f[_0x4a9a20(0x1a9)])(_0x4473e0['UniverLicensePlugin'],_0x24609f[_0x4a9a20(0x23c)],_0x2a6e7e['UniverRenderEnginePlugin'],_0x1c13d8[_0x4a9a20(0x3da)],_0x180ca7[_0x4a9a20(0x1dd)],_0x12bff4[_0x4a9a20(0x1c9)],_0x5c5525['UniverCollaborationClientPlugin']),_0x235e3a(0x1,_0x2a6e7e[_0x4a9a20(0x1ed)]),_0x235e3a(0x2,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x379e5f[_0x4a9a20(0x18f)])),_0x235e3a(0x3,_0x379e5f[_0x4a9a20(0x3c3)]),_0x235e3a(0x4,_0x379e5f['ICommandService'])],_0x2ce7d1);let _0x1062f8=class extends _0x5c5525['CollaborationSocketService']{constructor(_0x1a0f55,_0x7c5f2a,_0x4f4628,_0x2d6a11,_0x8d2c39){super(_0x1a0f55,_0x7c5f2a,_0x4f4628,_0x2d6a11,_0x8d2c39);}async[_0x4a9a20(0x157)](_0x132ee1){const _0x2a2689=_0x4a9a20;let _0x54ea45=await this[_0x2a2689(0x36e)](),_0x409656=this[_0x2a2689(0x2c4)](_0x132ee1,_0x54ea45);return this['_doCreateSocket'](_0x409656);}[_0x4a9a20(0x2c4)](_0x3d51a7,_0x168340){const _0x2e8a9d=_0x4a9a20;let _0xfd15ad=typeof window>'u'?new URL(_0x3d51a7):new URL(_0x3d51a7,window[_0x2e8a9d(0x36d)]['origin']);_0xfd15ad['searchParams'][_0x2e8a9d(0x25f)](_0x2e8a9d(0x340),_0x168340);let _0x37daa2=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2e8a9d(0x36d)][_0x2e8a9d(0x1c4)]);return _0x37daa2[_0x2e8a9d(0x3c7)]('runId')&&_0xfd15ad['searchParams'][_0x2e8a9d(0x25f)](_0x2e8a9d(0x28f),_0x37daa2[_0x2e8a9d(0x3c7)]('runId')),_0xfd15ad[_0x2e8a9d(0x22e)]();}async[_0x4a9a20(0x36e)](){const _0x1f78ea=_0x4a9a20;var _0x4c8723;let _0x83b1d0=this['_configService'][_0x1f78ea(0x330)](_0x5c5525['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x41f4e1=(_0x83b1d0==null?void 0x0:_0x83b1d0['wsSessionTicketUrl'])??_0x5c5525[_0x1f78ea(0x247)];return((_0x4c8723=(await this['_httpService'][_0x1f78ea(0x3c7)](_0x41f4e1,{'headers':{'Content-Type':_0x1f78ea(0x12b)}}))[_0x1f78ea(0xac)])==null?void 0x0:_0x4c8723[_0x1f78ea(0x322)])??'';}};_0x1062f8=_0x56d489([_0x235e3a(0x0,(0x0,_0x379e5f['Inject'])(_0x379e5f[_0x4a9a20(0x18f)])),_0x235e3a(0x1,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x1c13d8['HTTPService'])),_0x235e3a(0x2,_0x379e5f[_0x4a9a20(0x3c3)]),_0x235e3a(0x3,_0x379e5f[_0x4a9a20(0x2f1)]),_0x235e3a(0x4,_0x180ca7[_0x4a9a20(0xd1)])],_0x1062f8);let _0x5d74ac=class extends _0x379e5f[_0x4a9a20(0x359)]{constructor(_0x4aba13,_0x2ab872,_0x2678b8){const _0x1140d6=_0x4a9a20;super(),this[_0x1140d6(0x151)]=_0x4aba13,this[_0x1140d6(0x301)]=_0x2ab872,this[_0x1140d6(0x156)]=_0x2678b8;}async['runOnServer'](_0x565393,_0x2e846e,_0x3b863e,..._0x3740ca){const _0x2bc61b=_0x4a9a20;let _0x35da84=this[_0x2bc61b(0x151)][_0x2bc61b(0x1b6)]();if(!_0x35da84)throw Error(_0x2bc61b(0x35f));let _0x2dcd7c=(this['_configService'][_0x2bc61b(0x330)](_0x5c5525[_0x2bc61b(0xbc)])??_0x5c5525['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x565393+_0x2bc61b(0x23d)+_0x2e846e,_0x591e64={'scriptId':_0x565393,'runId':new URL(window[_0x2bc61b(0x36d)][_0x2bc61b(0x132)])[_0x2bc61b(0x2bb)][_0x2bc61b(0x3c7)](_0x2bc61b(0x28f))??'','function':_0x2e846e,'unitId':_0x35da84[_0x2bc61b(0x2c3)](),'argsOfFunction':JSON['stringify'](_0x3740ca),'invokeId':_0x3b863e[_0x2bc61b(0xd7)]??'','executionId':_0x3b863e[_0x2bc61b(0x33c)]??''};try{let _0x2c0be5=await this[_0x2bc61b(0x301)][_0x2bc61b(0x211)](_0x2dcd7c,{'body':_0x591e64});return _0x2c0be5[_0x2bc61b(0xac)][_0x2bc61b(0x1a8)]&&_0x2c0be5[_0x2bc61b(0xac)][_0x2bc61b(0x1a8)][_0x2bc61b(0x381)]!==_0x30e7ac[_0x2bc61b(0x249)]['OK']?_0x2bc61b(0x35b):_0x2c0be5[_0x2bc61b(0xac)][_0x2bc61b(0x317)];}catch{return'Failed';}}};_0x5d74ac=_0x56d489([_0x235e3a(0x0,_0x379e5f[_0x4a9a20(0x168)]),_0x235e3a(0x1,(0x0,_0x379e5f[_0x4a9a20(0xbb)])(_0x1c13d8[_0x4a9a20(0x1fd)])),_0x235e3a(0x2,_0x379e5f[_0x4a9a20(0x3c3)])],_0x5d74ac);let _0x5ad565=0x7530,_0x5bb3de=_0x4a9a20(0x180);var _0x193a85=class extends _0x379e5f['Disposable']{constructor(){const _0xc60457=_0x4a9a20;super(),_0x477ff4(this,'_id',(0x0,_0x379e5f['generateRandomId'])()),_0x477ff4(this,_0xc60457(0x271),new Set()),_0x477ff4(this,'_unitOnClients',new Map()),_0x477ff4(this,_0xc60457(0x2ee),null),_0x477ff4(this,_0xc60457(0x213),new Map()),_0x477ff4(this,_0xc60457(0xb9),new Map()),this['_init']();}[_0x4a9a20(0x274)](){const _0x44638e=_0x4a9a20;super[_0x44638e(0x274)](),this['_clearOtherTimers'][_0x44638e(0xad)]((_0x108f06,_0x1e92fa)=>this['_removeClearOtherTimer'](_0x1e92fa)),this[_0x44638e(0x2ee)]&&window[_0x44638e(0x19b)](this['_heartbeatTimer']);}[_0x4a9a20(0x206)](_0x3f4b8c){const _0x1cd8c4=_0x4a9a20;return this['_ensureSubject'](_0x3f4b8c)[_0x1cd8c4(0x220)]((0x0,_0x29b66c[_0x1cd8c4(0x188)])());}[_0x4a9a20(0x30d)](_0x485a1a){const _0x1409c9=_0x4a9a20;this[_0x1409c9(0x271)][_0x1409c9(0x280)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x1409c9(0x2a3)](_0x485a1a),this['_send']({'type':0x0,'memberID':this[_0x1409c9(0x286)],'unitIDs':[_0x485a1a],'isForwarded':!0x1});}[_0x4a9a20(0x24f)](_0x4443e6){const _0x4eaa38=_0x4a9a20;this[_0x4eaa38(0x271)]['delete'](_0x4443e6),this[_0x4eaa38(0x271)][_0x4eaa38(0x280)]===0x0&&this[_0x4eaa38(0x2ee)]&&window['clearInterval'](this[_0x4eaa38(0x2ee)]);}[_0x4a9a20(0x246)](){const _0x5d4b03=_0x4a9a20;this[_0x5d4b03(0x345)]((0x0,_0x379e5f[_0x5d4b03(0x1e5)])((0x0,_0x29b66c[_0x5d4b03(0xfa)])(window,_0x5d4b03(0x25d))[_0x5d4b03(0x116)](_0x512b54=>{const _0x284bd8=_0x5d4b03;if(_0x512b54[_0x284bd8(0x2c5)]!==_0x5bb3de||!_0x512b54[_0x284bd8(0x1aa)])return;let _0x4e49f8=JSON[_0x284bd8(0x351)](_0x512b54['newValue']);this['_handleEvent'](_0x4e49f8);}))),window[_0x5d4b03(0x200)](_0x5d4b03(0x9c),()=>this[_0x5d4b03(0x291)]({'type':0x1,'memberID':this[_0x5d4b03(0x286)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x4a9a20(0x13e)](_0x3c9e9e){const _0x27d409=_0x4a9a20;switch(_0x3c9e9e['type']){case 0x0:this['_handleJoinEvent'](_0x3c9e9e);break;case 0x1:this[_0x27d409(0x268)](_0x3c9e9e);break;case 0x2:this['_handleHeartbeatEvent'](_0x3c9e9e);}}[_0x4a9a20(0xc0)](_0x111e4d){const _0x2d6ab0=_0x4a9a20;let {unitIDs:_0x5a1409,memberID:_0x264887,isForwarded:_0x8a338}=_0x111e4d;_0x5a1409['forEach'](_0x6e9a9e=>{const _0x5addd6=_0x861d;if(!_0x8a338&&this[_0x5addd6(0x316)][_0x5addd6(0x192)](_0x6e9a9e)&&this[_0x5addd6(0x38d)](_0x6e9a9e)[_0x5addd6(0x387)](_0x5c5525[_0x5addd6(0x3e4)][_0x5addd6(0x2e8)]),!this[_0x5addd6(0x316)][_0x5addd6(0x192)](_0x6e9a9e)||!this[_0x5addd6(0x316)][_0x5addd6(0x3c7)](_0x6e9a9e)[_0x5addd6(0x192)](_0x264887)){let _0x6b44d0=this[_0x5addd6(0x316)][_0x5addd6(0x3c7)](_0x6e9a9e)||new Set();_0x6b44d0[_0x5addd6(0x2a3)](_0x264887),this[_0x5addd6(0x316)][_0x5addd6(0x25f)](_0x6e9a9e,_0x6b44d0),this[_0x5addd6(0x266)](_0x264887);}}),_0x8a338||this[_0x2d6ab0(0x291)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x2d6ab0(0x271)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2d5b80){const _0x505749=_0x4a9a20;this[_0x505749(0x2d5)](_0x2d5b80);let _0x356640=window[_0x505749(0x308)](()=>{const _0x1c9ff4=_0x505749;this[_0x1c9ff4(0x316)][_0x1c9ff4(0xad)](_0xc137b5=>{const _0x181853=_0x1c9ff4;_0xc137b5[_0x181853(0xd0)](_0x2d5b80);});},_0x5ad565*0x2);this[_0x505749(0x213)][_0x505749(0x25f)](_0x2d5b80,_0x356640);}[_0x4a9a20(0x2d5)](_0x46ba53){const _0x495a5f=_0x4a9a20;if(this[_0x495a5f(0x213)][_0x495a5f(0x192)](_0x46ba53)){let _0x30c524=this[_0x495a5f(0x213)]['get'](_0x46ba53);_0x30c524&&window[_0x495a5f(0x376)](_0x30c524),this['_clearOtherTimers'][_0x495a5f(0x25f)](_0x46ba53,null);}}[_0x4a9a20(0x268)](_0x21fae0){const _0x28f658=_0x4a9a20;let {memberID:_0x3a02da,unitIDs:_0x17bf8f}=_0x21fae0;_0x17bf8f[_0x28f658(0xad)](_0x2846fe=>{const _0x4d4188=_0x28f658;var _0x44cb2e;let _0x59e0e6=this[_0x4d4188(0x316)][_0x4d4188(0x3c7)](_0x2846fe);_0x59e0e6&&(_0x59e0e6[_0x4d4188(0xd0)](_0x3a02da),(_0x44cb2e=this[_0x4d4188(0x38d)](_0x2846fe))==null||_0x44cb2e[_0x4d4188(0x387)](_0x59e0e6[_0x4d4188(0x280)]===0x0?_0x5c5525[_0x4d4188(0x3e4)][_0x4d4188(0x205)]:_0x5c5525[_0x4d4188(0x3e4)]['OTHER_CLIENTS_EDITING']));}),this[_0x28f658(0x2d5)](_0x3a02da);}['_handleHeartbeatEvent'](_0x2f00e5){const _0x12bd78=_0x4a9a20;this[_0x12bd78(0x266)](_0x2f00e5[_0x12bd78(0x225)]);}[_0x4a9a20(0x291)](_0xa0f713){const _0x351406=_0x4a9a20;localStorage['setItem'](_0x5bb3de,JSON[_0x351406(0xaf)](_0xa0f713));}[_0x4a9a20(0x3a6)](){const _0xd755ec=_0x4a9a20;this[_0xd755ec(0x2ee)]=window[_0xd755ec(0x186)](()=>{const _0x2e5865=_0xd755ec;this['_send']({'type':0x2,'memberID':this[_0x2e5865(0x286)]});},_0x5ad565);}[_0x4a9a20(0x38d)](_0x94d68){const _0x48ccfa=_0x4a9a20;return this['_unitStatus'][_0x48ccfa(0x192)](_0x94d68)||this[_0x48ccfa(0xb9)][_0x48ccfa(0x25f)](_0x94d68,new _0x29b66c[(_0x48ccfa(0x2d0))](_0x5c5525[_0x48ccfa(0x3e4)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x48ccfa(0xb9)]['get'](_0x94d68);}};Object['defineProperty'](_0x19246e,'BrowserCollaborationSocketService',{'enumerable':!0x0,'get':function(){return _0x1062f8;}}),Object['defineProperty'](_0x19246e,_0x4a9a20(0x8b),{'enumerable':!0x0,'get':function(){return _0xfe667e;}}),_0x19246e['IURLService']=_0x585290,Object[_0x4a9a20(0x27d)](_0x19246e,_0x4a9a20(0xf0),{'enumerable':!0x0,'get':function(){return _0x5d74ac;}}),_0x19246e['SheetCollabCursorShape']=_0x1e3c7b,Object['defineProperty'](_0x19246e,_0x4a9a20(0x114),{'enumerable':!0x0,'get':function(){return _0x2ce7d1;}}),_0x19246e[_0x4a9a20(0x22f)]=_0x193a85;}));
|