@univerjs-pro/collaboration-client-ui 0.10.4-nightly.202508220605 → 0.10.5-nightly.202508290716
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/ca-ES.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/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.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-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.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/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.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-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.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/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.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/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.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-TW.js +1 -1
- package/package.json +16 -16
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x27be(_0x38e7fa,_0x33f35c){const _0x34496a=_0x3449();return _0x27be=function(_0x27bec9,_0x778a36){_0x27bec9=_0x27bec9-0xef;let _0x4238ae=_0x34496a[_0x27bec9];return _0x4238ae;},_0x27be(_0x38e7fa,_0x33f35c);}function _0x3449(){const _0x3f7096=['bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_beforeCloseService','ThemeService','green.600','none','LICENSE_EXPORT_SIZE_EXCEEDED','drawWith','CollaborationSocketService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','SetWorksheetActivateCommand','DeleteRangeMoveUpCommandId','_collaborationController','getSheetBySheetId','key','getUnitStatus$','INTERNAL_ERROR','CollaborationController','unshift','UNAUTHENTICATED','collaboration-client.offline-data-not-saved','evenodd','ticket','_hideTimer','_unitStatus','toRgbString','origin','ILogService','UniverNetwork','currentSkeleton$','_removeClearOtherTimer','_docSyncEditingCollabCursorService','includes','setParam','_getSheetObject','makeDirty','docStateChange$','getSheetObject','_disabled','SNAPSHOT_INVALID_SNAPSHOT','Warning','MOBILE_VERIFY_CODE_MISMATCH','delete','url(#on-line-icon_clip0_910_349)','addHandlerCallback','handleIRemoveRow','url(#$1','xlink:href','_send','React','_roomMembers$','startRow','registerRenderModule','@univerjs/network','_init','triggerDblclick','collaboration-client-ui.config','_shapes','className','_textBubble','SNAPSHOT_HAS_BEEN_REMOVED','prototype','DocStateChangeManagerService','_name','IImageIoService','getOwnPropertyDescriptor','getUnitId','disableLocalCache','FETCH_MISS','endColumn','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','NodePositionConvertToRectRange','getUniverSheetInstance','getRenderById','get','m1Prime','clearInterval','_transformPreviousActiveRange','transformStateCache','transformSelections','USERS_LEAVE','size','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','VIEW_MAIN','SOCKET_FAILED_RETRY','CollaborationEvent','doc.mutation.rich-text-editing','fromEvent','currentColor','CommandType','svg','LOCAL_CACHE_INTERVAL','IRenderManagerService','clearTimeout','dispose$','pipe','getColorFromTheme','_httpService','handleIRemoveCol','IMessageService','_revisionService','_startDocCollabCursor','parse','from','@univerjs/drawing','getMember','@univerjs/rpc','LOGIN_FAILED','transform','tag','max','_session','UniverCollaborationClientUIPlugin','4dVeQXz','toStringTag','getRangePointData','_themeService','getCollabEntity$','switchMap','RxDisposable','LICENSE_MAX_UNITS_EXCEEDED','subscribeEvent','extend','_imageIoService','unsubscribe','current','@univerjs/docs','handleInsertRow','Unknown\x20user','_docStateChangeManagerService','href','executeCommand','sheetID','getFocusedUnit','handleDeleteRangeMoveLeft','_initStatusComponent','_eventUnsubscribe','_refRangeService','_updateLocalCursor','0\x200\x2017\x2016','toDisposable','moveTo','YUUMI_ASYNCIO_CANCELLED','UniverIcon','_entities','unit','registerComponent','labelPosition','RevisionService','assignAColorForMemberID','APPLY_REJECT','ISnapshotServerService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','attrs','RECT','@univerjs/core','_dataLoaderService','idSuffix','length','UniverEngineRender','debounce','getSheetId','WebURLService','Disposable','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','onPointerEnter$','redoState','_getSaveTimeout','INVITE_CODE_ALREADY_BOUND','CLOSE_ROOM','ISocketService','Shape','dispose','getCollabCursors$','onLocalMutation','collabStatus.conflict','updateOfflineData','YUUMI_URL_COL_OUT_OF_RANGE','jsx','isActive','CONFLICT','eventID','IDocClipboardService','CollaborationSessionService','_collabCursorController','Injector','split','mask','next','handleMoveRange','replace','call','addObjects','[CollaborationDataLoaderController]','shareReplay','UniverProCollaboration','_messageService','IBeforeCloseService','debounceTime','DeleteRangeMoveLeftCommandId','_collabSessionService','engine','contains','univer-flex\x20univer-items-center','_scheduleHeartbeat','Rect','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','name','LOCAL_CACHE_INTERVAL_KEY','addClipboardHook','MemberService','HEADER_MENU','loadUnit','_lastPointer','SetSelectionsOperation','forEach','activeSheet$','isTransformMutationsWithChangesetSuccess','fillText','merge','UniverUi','_drawRectRange','LICENSE_IMPORT_SIZE_EXCEEDED','_setupBeforeClosingHandler','displayName','1em','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','Inject','_commandService','_configService','InsertRowCommandId','translate(.97)','type','getTypeOfUnitDisposed$','DocCollaborationEntity','UNIVER_DOC','values','_handleHover','IRemoteInstanceService','addObject','disposeWithMe','Subject','then','save','_docClipboardService','BuiltInUIPart','invokeId','1528638EzIcMv','Workbook','editingUnit','handleInsertRangeMoveRight','_toggleOnline','USER_NOT_INVITED_CODE','UPDATE_CURSOR','push','LocaleService','urlChange$','_handleJoinEvent','toString','min','CONNECTOR_DATA_TOO_LARGE','init','enableLocalCache','collabStatus.offline','defineProperty','Tooltip','blue.400','SUBMIT_CHANGESET_TIMEOUT','UniverEngineFormula','lineTo','transformIMECache','_saveTaskMap','propertyIsEnumerable','univer-mr-2\x20univer-flex\x20univer-text-xl','rxjs/operators','SetTextSelectionsOperation','CHANGESET_REVISION_CONFILICT','UniverDocsUi','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','YUUMI_NO_CUBOID_FOR_QUESTION','transformByState','YUUMI_CONNECTOR_URL_NOT_FOUND','unitID','transformMutation','MessageType','ACTIVE_UNIT_EVENT_CHANNEL','Plugin','EMAIL_HAS_BEEN_BOUND','PERMISSION_DENIED','_cursor','setShapeProps','INotificationService','IURLService','collabCursorState$','params','complete','_handleEvent','text','exhaustSavingTask','getColor','_docTransformSelectionsService','getValue','getCurrentSelections','black','onPointerLeave$','getParam','ICommandService','textRanges','489483kyBnhD','font','react','YUUMI_RATE_OVER_LIMIT','history','setAlpha','_getScale','NO_OTHER_CLIENTS_EDITING','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_colorIndex','fillStyle','...','with','[RemoteUniscriptService]:\x20no\x20focused\x20unit','Error','syncEditingCollabCursor','SHEET_VIEWPORT_KEY','getLocalCacheKey','LICENSE_DISTRO_REJECTED','assign','_backgroundColor','hovered','WebSocketService','setStateCache','UniverCollaborationClientPlugin','path','UniverSheets','object','collabStatus.fetchMiss','_removeCollabCursors','setInterval','RemoveRowCommandId','Failed','_uiPartsService','_syncEditingCollabCursorService','_docSkeletonManagerService','_labelPosition','SessionStatus','_entityInit$','wsSessionTicketUrl','concat','getDocRanges','_color','INVALID_ARGUMENT','useCallback','ranges','TOO_MANY_REQUESTS','isArray','EMAIL_VERIFY_CODE_MISMATCH','getViewport','4056600ImFtwT','PY_RUNTIME_SCRIPT_ERROR','getActiveSheet','show','entries','YUUMI_ALL_TABLES_IS_INVALID','OFFLINE','_hover','isTransformMutationFailure','addEventListener','YUUMI_SUBSCRIPTION_NOT_FOUND','set','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_colorAssignService','COMPLETION_FINISHED','http://www.w3.org/2000/svg','mergeOverrideWithDependencies','CollaborationDataLoaderController','hide','_draw','beginPath','_notificationService','INVITE_CODE_REQUIRED','whenReady','_collabCursorState$','jsxs','ONLINE','div','symbol','bottom','getItem','map','ENSURE_SNAPSHOT_EXECUTION','BrowserCollaborationSocketService','red.300','replaceState','_config','_memberService','saveTaskMap','colorChannel1','_status$','_cursorShapes','_instanceService','_render','setUndoRedoMutationParamsCache','_transformUndoRedoStack','@univerjs/design','subunit','string','_onCursorDelete','MOBILE_HAS_BEEN_BOUND','_updateSubUnitFromURLParams','onRendered','flatMap','_hovered','requireSession','_ensureSubject','_getMergeRange','DocIMEInputManagerService','purple.300','_id','_initEntityListener','collab-text-range-','getConfig','fromEventSubject','cursorInfo','_logService','SYNCED','PENDING','_clearOtherTimers','90246FPAxNJ','onStarting','transformMutationsWithChangeset','_updateCollabCursors','generateRandomId','YUUMI_UNABLE_LOAD_URL','_heartbeatTimer','fillRule','entityInit$','combineLatest','unitId','data','_getSessionTicket','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','startColumn','_getAnchorBounding','_startSheetCollabCursor','WebBrowserSingleActiveUnitService','getAncestorScale','imageSourceType','closePath','_unitOnClients','mutations','getTypeOfUnitAdded$','MoveRangeCommandId','deserializeRangeWithSheet','_collaborationUIEventService','registerRefRange','jiqing.500','m2Prime','OffLineIcon','sessionStatus$','top','_localStorageService','_handleHeartbeatEvent','_updateURLWithCurrentState','HTTPService','TEXT_RANGE_LAYER_INDEX','_scheduleClearOtherTimer','_anchor','round','_initStatusListener','DesktopCollaborationStatusDisplayController','getCoordByCell','_doCreateSocket','setActiveRange','COLORS','defIds','newValue','on-line-icon_clip0_910_349','_assignedColors','roomMembers$','url(#off-line-icon_clip0_910_343)','_drawAnchor','registerDependencies','findNodePositionByCharIndex','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','exports','arc','collaboration.closeRoom','replaceDocRanges','_initDependencies','3117245OmkkfU','on-line-icon','color','restore','UniverInstanceType','add','indexOf','UNDEFINED','row','getOwnPropertySymbols','_selfUnitIDs','4378896yUnxJR','_range','useDependency','@univerjs/engine-render','operators','_initResize','backgroundColor','throttleTime','getCurrentUnitForType','_cursors','_cachedData','collab-rect-range-','_urlService','_saveCache','_onRefRangeChange','getMergeData','setConfig','subscribe','onTransformChange$','Vector2','setItem','range','RegularPolygon','_sheetSkeletonManagerService','createInstance','has','_docTransformStateCacheService','ALREADY_EXISTS','off-line-icon_clip0_910_343','selection','width','yellow.400','getOffsetConfig','_renderManagerService','RemoteUniscriptService','AWAITING_WITH_PENDING','_scene','children','_createSocketURL','EffectRefRangId','DOC_RANGE_TYPE','UniverDesign','CollaborationStatus','white','transformRemoteChangeset','override','#FFF','removeParam','_scheduleSaving','pushState','serializeRangeWithSheet','getCurrentRevOfUnit','cursorInfo$','SheetSkeletonManagerService','_refreshCollabCursors','NOT_FOUND','resize','rxjs','DocSelectionManagerService','stringify','filter','sessionTicket','UNIVER_SHEET','UNRECOGNIZED','getCurrent','runId','Module','_univerInstanceService','_docSkeleton','INVALID_INVITE_CODE','@univerjs/sheets-ui','@univerjs/sheets','searchParams','_document','InsertColCommandId','getMemberID','RichTextEditingMutation','SetDocZoomRatioOperation','collab-client.tooltip.reconnect','ColorKit','ITransformService','_toggleOffline','_localCacheService','forwardRef','actions','code','UniverProCollaborationClientUi','@univerjs/ui','apply','getStateCache','use','location','CollaborationUIEventId','undoState','APPLY_REVISION_CONFILICT','substring','onMouseMove','function','startsWith','NodePositionConvertToCursor','error','runRefRangeMutations','onCommandExecuted','_anchorDot','YUUMI_AI_RUN_FAILED','clsx','event$','getActiveRange','OTHER_CLIENTS_EDITING','post','_registerDependencies','APPLY_NON_SEQUENTIAL_REVISION','takeUntil','_localeService','BehaviorSubject','_context','_initCommandExecutedListener','getSkeleton','ILocalCacheService','_transformHistoryAndStateStack','endRow','getVpScrollXYInfoByPosToVp','_cursorInfo$','M0\x200H16V16H0z','IUniverInstanceService','_onCursorUpdate','session.will-retry','debug','currentTheme$','body','_docTransformIMECacheService','getUnhiddenWorksheets','asObservable','NOT_COLLAB','310051pIUjRN','random','_initEvent','deepClone','send','fill','_transformService','DEFAULT_WS_SESSION_TICKET_URL','TEXT','onPointerMove$','clipPath','_injector','some','saveOfflineData','_drawTextRange','getUndoRedoMutationParamsCache','IConfigService','createElement','createSocket','Tools','icon','@univerjs/docs-ui','UnitStatus','hasOwnProperty','_online'];_0x3449=function(){return _0x3f7096;};return _0x3449();}(function(_0x350684,_0x5989b0){const _0x87d78d=_0x27be,_0x567471=_0x350684();while(!![]){try{const _0x1c8369=parseInt(_0x87d78d(0x2ec))/0x1+parseInt(_0x87d78d(0x364))/0x2+parseInt(_0x87d78d(0x2af))/0x3*(-parseInt(_0x87d78d(0x229))/0x4)+-parseInt(_0x87d78d(0x10f))/0x5+parseInt(_0x87d78d(0x11a))/0x6+-parseInt(_0x87d78d(0x1a0))/0x7+parseInt(_0x87d78d(0x31e))/0x8;if(_0x1c8369===_0x5989b0)break;else _0x567471['push'](_0x567471['shift']());}catch(_0x577328){_0x567471['push'](_0x567471['shift']());}}}(_0x3449,0x91121),function(_0x5c7b0d,_0x4c4f6f){const _0x1af85c=_0x27be;typeof exports==_0x1af85c(0x307)&&typeof module<'u'?_0x4c4f6f(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x1af85c(0x17b)&&define['amd']?define([_0x1af85c(0x10a),'react/jsx-runtime','@univerjs-pro/collaboration-client',_0x1af85c(0x253),_0x1af85c(0x171),_0x1af85c(0x153),_0x1af85c(0x34c),_0x1af85c(0x2ee),_0x1af85c(0x222),_0x1af85c(0x161),_0x1af85c(0x11d),_0x1af85c(0x1ed),_0x1af85c(0x1b5),_0x1af85c(0x220),'@univerjs-pro/collaboration',_0x1af85c(0x236),'@univerjs/engine-formula',_0x1af85c(0x2ca),_0x1af85c(0x160)],_0x4c4f6f):(_0x5c7b0d=typeof globalThis<'u'?globalThis:_0x5c7b0d||self,_0x4c4f6f(_0x5c7b0d[_0x1af85c(0x170)]={},_0x5c7b0d['React'],_0x5c7b0d['UniverProCollaborationClient'],_0x5c7b0d['UniverCore'],_0x5c7b0d[_0x1af85c(0x294)],_0x5c7b0d['rxjs'],_0x5c7b0d[_0x1af85c(0x143)],_0x5c7b0d[_0x1af85c(0x1e9)],_0x5c7b0d['UniverRpc'],_0x5c7b0d[_0x1af85c(0x306)],_0x5c7b0d[_0x1af85c(0x257)],_0x5c7b0d[_0x1af85c(0x1d4)],_0x5c7b0d[_0x1af85c(0x2cd)],_0x5c7b0d['UniverDrawing'],_0x5c7b0d[_0x1af85c(0x27b)],_0x5c7b0d['UniverDocs'],_0x5c7b0d[_0x1af85c(0x2c4)],_0x5c7b0d['rxjs'][_0x1af85c(0x11e)],_0x5c7b0d['UniverSheetsUi']));}(this,function(_0x311cb7,_0x5bd372,_0x2fe882,_0x18ca73,_0x5121a3,_0x16b079,_0x578c52,_0x32b05b,_0x457000,_0x3c8e23,_0x1000a2,_0x4ed2b8,_0x41c79e,_0x2baa74,_0x518b96,_0x40419e,_0xcce0ba,_0x4dfd3a,_0x2779ee){'use strict';const _0x4a00e7=_0x27be;var _0x55e90c=Object[_0x4a00e7(0x2c0)],_0x3a318b=(_0x9c4321,_0x57a791,_0x2b4e42)=>_0x57a791 in _0x9c4321?_0x55e90c(_0x9c4321,_0x57a791,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2b4e42}):_0x9c4321[_0x57a791]=_0x2b4e42,_0x41f19e=(_0x2f6dd3,_0x210baf,_0xe50501)=>_0x3a318b(_0x2f6dd3,typeof _0x210baf!=_0x4a00e7(0x33a)?_0x210baf+'':_0x210baf,_0xe50501),_0x17e143=function(){const _0x3a1cab=_0x4a00e7;return _0x17e143=Object[_0x3a1cab(0x2ff)]||function(_0x53912a){const _0x3eebad=_0x3a1cab;for(var _0xd6caa,_0x46305e=0x1,_0x210ac5=arguments[_0x3eebad(0x256)];_0x46305e<_0x210ac5;_0x46305e++){_0xd6caa=arguments[_0x46305e];for(var _0x117ebe in _0xd6caa)Object[_0x3eebad(0x1f5)][_0x3eebad(0x1b7)][_0x3eebad(0x277)](_0xd6caa,_0x117ebe)&&(_0x53912a[_0x117ebe]=_0xd6caa[_0x117ebe]);}return _0x53912a;},_0x17e143[_0x3a1cab(0x172)](this,arguments);},_0x18557d=function(_0x293d61,_0x166695){const _0x4c9bbe=_0x4a00e7;var _0x452c01={};for(var _0xf3136d in _0x293d61)Object[_0x4c9bbe(0x1f5)][_0x4c9bbe(0x1b7)]['call'](_0x293d61,_0xf3136d)&&_0x166695[_0x4c9bbe(0x115)](_0xf3136d)<0x0&&(_0x452c01[_0xf3136d]=_0x293d61[_0xf3136d]);if(_0x293d61!=null&&typeof Object[_0x4c9bbe(0x118)]==_0x4c9bbe(0x17b)){for(var _0x173946=0x0,_0xf3136d=Object[_0x4c9bbe(0x118)](_0x293d61);_0x173946<_0xf3136d['length'];_0x173946++)_0x166695['indexOf'](_0xf3136d[_0x173946])<0x0&&Object[_0x4c9bbe(0x1f5)][_0x4c9bbe(0x2c8)]['call'](_0x293d61,_0xf3136d[_0x173946])&&(_0x452c01[_0xf3136d[_0x173946]]=_0x293d61[_0xf3136d[_0x173946]]);}return _0x452c01;},_0x202182=_0x32b05b['forwardRef'](function(_0x1758dc,_0x15de48){const _0x18a71f=_0x4a00e7;var _0x2a10ee=_0x1758dc['icon'],_0x2aed2d=_0x1758dc['id'],_0x51d79a=_0x1758dc[_0x18a71f(0x1f2)],_0x161f26=_0x1758dc[_0x18a71f(0x232)],_0x593764=_0x18557d(_0x1758dc,[_0x18a71f(0x1b4),'id','className',_0x18a71f(0x232)]),_0x5f111d='univerjs-icon\x20univerjs-icon-'[_0x18a71f(0x314)](_0x2aed2d,'\x20')[_0x18a71f(0x314)](_0x51d79a||'')['trim'](),_0x16b922=_0x32b05b['useRef']('_'[_0x18a71f(0x314)](_0x3b57c6()));return _0x5808dc(_0x2a10ee,''[_0x18a71f(0x314)](_0x2aed2d),{'defIds':_0x2a10ee[_0x18a71f(0x100)],'idSuffix':_0x16b922[_0x18a71f(0x235)]},_0x17e143({'ref':_0x15de48,'className':_0x5f111d},_0x593764),_0x161f26);});function _0x5808dc(_0x342afa,_0x1b6538,_0x223966,_0x10a568,_0x4a614f){const _0x52dd10=_0x4a00e7;return _0x32b05b[_0x52dd10(0x1b1)](_0x342afa[_0x52dd10(0x225)],_0x17e143(_0x17e143({'key':_0x1b6538},_0x42a4ae(_0x342afa,_0x223966,_0x4a614f)),_0x10a568),(_0x5d2406(_0x342afa,_0x223966)[_0x52dd10(0x13f)]||[])[_0x52dd10(0x33d)](function(_0x88ea5f,_0x5ba8e6){const _0x110283=_0x52dd10;return _0x5808dc(_0x88ea5f,''[_0x110283(0x314)](_0x1b6538,'-')[_0x110283(0x314)](_0x342afa[_0x110283(0x225)],'-')[_0x110283(0x314)](_0x5ba8e6),_0x223966,void 0x0,_0x4a614f);}));}function _0x42a4ae(_0x306354,_0xadda47,_0x4e7af9){const _0x31542d=_0x4a00e7;var _0x2f9fb0=_0x17e143({},_0x306354['attrs']);_0x4e7af9!=null&&_0x4e7af9[_0x31542d(0x345)]&&_0x2f9fb0[_0x31542d(0x1a5)]===_0x31542d(0x345)&&(_0x2f9fb0[_0x31542d(0x1a5)]=_0x4e7af9[_0x31542d(0x345)]),_0x306354[_0x31542d(0x225)]===_0x31542d(0x273)&&_0x2f9fb0['id']&&(_0x2f9fb0['id']=_0x2f9fb0['id']+_0xadda47['idSuffix']),Object[_0x31542d(0x322)](_0x2f9fb0)[_0x31542d(0x28f)](function(_0x5d5e7a){const _0x428c8c=_0x31542d;var _0x191b7b=_0x5d5e7a[0x0],_0x45ad1d=_0x5d5e7a[0x1];_0x191b7b===_0x428c8c(0x273)&&typeof _0x45ad1d=='string'&&(_0x2f9fb0[_0x191b7b]=_0x45ad1d[_0x428c8c(0x276)](/url\(#(.*)\)/,'url(#$1'[_0x428c8c(0x314)](_0xadda47[_0x428c8c(0x255)],')')));});var _0x226893=_0xadda47[_0x31542d(0x100)];return!_0x226893||_0x226893[_0x31542d(0x256)]===0x0||(_0x306354[_0x31542d(0x225)]===_0x31542d(0x174)&&_0x2f9fb0[_0x31542d(0x1e7)]&&(_0x2f9fb0['xlink:href']=_0x2f9fb0['xlink:href']+_0xadda47['idSuffix']),Object[_0x31542d(0x322)](_0x2f9fb0)[_0x31542d(0x28f)](function(_0x31f36c){const _0xa8e8b5=_0x31542d;var _0x481539=_0x31f36c[0x0],_0x45e692=_0x31f36c[0x1];typeof _0x45e692=='string'&&(_0x2f9fb0[_0x481539]=_0x45e692[_0xa8e8b5(0x276)](/url\(#(.*)\)/,_0xa8e8b5(0x1e6)[_0xa8e8b5(0x314)](_0xadda47[_0xa8e8b5(0x255)],')')));})),_0x2f9fb0;}function _0x5d2406(_0x2e7d59,_0x550566){const _0x5d2dab=_0x4a00e7;var _0x26c116,_0x3019fb=_0x550566['defIds'];return!_0x3019fb||_0x3019fb[_0x5d2dab(0x256)]===0x0?_0x2e7d59:_0x2e7d59['tag']==='defs'&&(!((_0x26c116=_0x2e7d59[_0x5d2dab(0x13f)])===null||_0x26c116===void 0x0)&&_0x26c116['length'])?_0x17e143(_0x17e143({},_0x2e7d59),{'children':_0x2e7d59['children'][_0x5d2dab(0x33d)](function(_0x3cebbd){const _0x1546b1=_0x5d2dab;return typeof _0x3cebbd[_0x1546b1(0x251)]['id']==_0x1546b1(0x34e)&&_0x3019fb&&_0x3019fb['includes'](_0x3cebbd[_0x1546b1(0x251)]['id'])?_0x17e143(_0x17e143({},_0x3cebbd),{'attrs':_0x17e143(_0x17e143({},_0x3cebbd['attrs']),{'id':_0x3cebbd[_0x1546b1(0x251)]['id']+_0x550566[_0x1546b1(0x255)]})}):_0x3cebbd;})}):_0x2e7d59;}function _0x3b57c6(){const _0x3d59a5=_0x4a00e7;return Math[_0x3d59a5(0x1a1)]()[_0x3d59a5(0x2ba)](0x24)[_0x3d59a5(0x179)](0x2,0x8);}_0x202182[_0x4a00e7(0x298)]=_0x4a00e7(0x247);var _0x404548={'tag':_0x4a00e7(0x212),'attrs':{'xmlns':_0x4a00e7(0x32d),'fill':_0x4a00e7(0x1bd),'viewBox':'0\x200\x2016\x2016','width':_0x4a00e7(0x299),'height':_0x4a00e7(0x299)},'children':[{'tag':'g','attrs':{'clipPath':_0x4a00e7(0x105)},'children':[{'tag':'path','attrs':{'stroke':_0x4a00e7(0x210),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4a00e7(0x1aa),'attrs':{'id':_0x4a00e7(0x136)},'children':[{'tag':'path','attrs':{'fill':_0x4a00e7(0x145),'d':_0x4a00e7(0x195)}}]}]}],'defIds':[_0x4a00e7(0x136)]},_0xa5fe82=_0x32b05b[_0x4a00e7(0x16d)](function(_0x468725,_0x5b59ff){const _0x615fd4=_0x4a00e7;return _0x32b05b['createElement'](_0x202182,Object[_0x615fd4(0x2ff)]({},_0x468725,{'id':'off-line-icon','ref':_0x5b59ff,'icon':_0x404548}));});_0xa5fe82['displayName']=_0x4a00e7(0xef);var _0x3e84ab={'tag':_0x4a00e7(0x212),'attrs':{'xmlns':_0x4a00e7(0x32d),'fill':_0x4a00e7(0x1bd),'viewBox':_0x4a00e7(0x243),'width':'1em','height':_0x4a00e7(0x299)},'children':[{'tag':'g','attrs':{'clipPath':_0x4a00e7(0x1e3)},'children':[{'tag':_0x4a00e7(0x305),'attrs':{'stroke':_0x4a00e7(0x210),'d':_0x4a00e7(0x20a),'strokeLinecap':_0x4a00e7(0xf9),'strokeLinejoin':_0x4a00e7(0xf9),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4a00e7(0x1aa),'attrs':{'id':_0x4a00e7(0x102)},'children':[{'tag':'path','attrs':{'fill':_0x4a00e7(0x145),'d':'M0\x200H16V16H0z','transform':_0x4a00e7(0x29f)}}]}]}],'defIds':[_0x4a00e7(0x102)]},_0x41977a=_0x32b05b[_0x4a00e7(0x16d)](function(_0x29fd7b,_0xca097d){const _0x117815=_0x4a00e7;return _0x32b05b['createElement'](_0x202182,Object['assign']({},_0x29fd7b,{'id':_0x117815(0x110),'ref':_0xca097d,'icon':_0x3e84ab}));});_0x41977a[_0x4a00e7(0x298)]='OnLineIcon';function _0x30325f(_0x300eb3){const _0x25c57e=_0x4a00e7;switch(_0x300eb3){case _0x2fe882['CollaborationStatus'][_0x25c57e(0x324)]:return _0x25c57e(0x2bf);case _0x2fe882[_0x25c57e(0x144)]['CONFLICT']:return _0x25c57e(0x267);case _0x2fe882['CollaborationStatus'][_0x25c57e(0x1fc)]:return _0x25c57e(0x308);case _0x2fe882[_0x25c57e(0x144)][_0x25c57e(0x19f)]:return'collabStatus.notCollab';case _0x2fe882[_0x25c57e(0x144)]['AWAITING']:case _0x2fe882[_0x25c57e(0x144)][_0x25c57e(0x13d)]:return'collabStatus.syncing';case _0x2fe882[_0x25c57e(0x144)][_0x25c57e(0x361)]:case _0x2fe882[_0x25c57e(0x144)][_0x25c57e(0x362)]:return'collabStatus.synced';}}function _0x43c59b(_0x3f84dd){const _0x1e83d2=_0x4a00e7,{status$:_0x3f57b5}=_0x3f84dd,_0x57e978=_0x5121a3['useObservable'](_0x3f57b5,_0x2fe882[_0x1e83d2(0x144)][_0x1e83d2(0x19f)]),_0x498253=_0x5121a3[_0x1e83d2(0x11c)](_0x18ca73[_0x1e83d2(0x2b7)]),_0x3df357=_0x5121a3[_0x1e83d2(0x11c)](_0x2fe882[_0x1e83d2(0x26f)]),_0x1295de=_0x57e978!==_0x2fe882[_0x1e83d2(0x144)]['OFFLINE'],_0xbe62bc=_0x498253['t'](_0x30325f(_0x57e978)),_0x4af658=_0x1295de?_0x5bd372[_0x1e83d2(0x26a)](_0x41977a,{}):_0x5bd372[_0x1e83d2(0x26a)](_0xa5fe82,{}),_0x3ea166=_0x32b05b[_0x1e83d2(0x318)](()=>{_0x1295de||_0x3df357['reconnect']();},[_0x1295de,_0x3df357]);function _0x9a1d57(){const _0x16a325=_0x1e83d2;return _0x5bd372[_0x16a325(0x337)]('div',{'className':_0x16a325(0x283),'onClick':_0x3ea166,'children':[_0x5bd372['jsx'](_0x16a325(0x339),{'className':_0x578c52[_0x16a325(0x183)](_0x16a325(0x2c9),{'univer-text-green-500':_0x1295de,'univer-text-red-500':!_0x1295de}),'children':_0x4af658}),_0x5bd372['jsx']('div',{'className':_0x16a325(0x286),'children':_0xbe62bc})]});}return _0x1295de?_0x9a1d57():_0x5bd372['jsx'](_0x578c52[_0x1e83d2(0x2c1)],{'title':_0x498253['t'](_0x1e83d2(0x168)),'children':_0x9a1d57()});}var _0x2d69ae=Object[_0x4a00e7(0x1f9)],_0x176437=(_0x91ea1c,_0x32b94d,_0x50fc48,_0x26ff21)=>{const _0x593ec9=_0x4a00e7;for(var _0x4dc8c2=_0x26ff21>0x1?void 0x0:_0x26ff21?_0x2d69ae(_0x32b94d,_0x50fc48):_0x32b94d,_0x2e22ba=_0x91ea1c[_0x593ec9(0x256)]-0x1,_0x543ec8;_0x2e22ba>=0x0;_0x2e22ba--)(_0x543ec8=_0x91ea1c[_0x2e22ba])&&(_0x4dc8c2=_0x543ec8(_0x4dc8c2)||_0x4dc8c2);return _0x4dc8c2;},_0x19fdd8=(_0x32d1ed,_0x17c6fd)=>(_0x429620,_0x5898f1)=>_0x17c6fd(_0x429620,_0x5898f1,_0x32d1ed);_0x311cb7['DesktopCollaborationStatusDisplayController']=class extends _0x18ca73['Disposable']{constructor(_0x23c022,_0x2d4f8d,_0x5e27e3,_0x2aa1b1){const _0x45450b=_0x4a00e7;super(),_0x41f19e(this,_0x45450b(0x346),new _0x16b079['BehaviorSubject'](_0x2fe882['CollaborationStatus']['NOT_COLLAB'])),(this[_0x45450b(0x15d)]=_0x23c022,this[_0x45450b(0x1ab)]=_0x2d4f8d,this[_0x45450b(0x1c4)]=_0x5e27e3,this[_0x45450b(0x30d)]=_0x2aa1b1,this[_0x45450b(0x23f)](),this['_initStatusListener']());}[_0x4a00e7(0xfa)](){const _0x35081a=_0x4a00e7;this[_0x35081a(0x2a8)](this[_0x35081a(0x15d)]['focused$'][_0x35081a(0x217)](_0x16b079[_0x35081a(0x22e)](()=>{const _0x6555c5=_0x35081a,_0x19828c=this[_0x6555c5(0x15d)]['getFocusedUnit']();return _0x19828c?this[_0x6555c5(0x1c4)][_0x6555c5(0x22d)](_0x19828c['getUnitId']()):_0x16b079['of'](null);}),_0x16b079[_0x35081a(0x22e)](_0x171bd0=>_0x171bd0?_0x171bd0['status$']:_0x16b079['of'](_0x2fe882[_0x35081a(0x144)]['NOT_COLLAB'])))[_0x35081a(0x12b)](_0x5b0d36=>{const _0xe7bbb0=_0x35081a;this[_0xe7bbb0(0x346)][_0xe7bbb0(0x274)](_0x5b0d36);}));}[_0x4a00e7(0x23f)](){const _0x53af81=_0x4a00e7;this[_0x53af81(0x2a8)](this[_0x53af81(0x30d)][_0x53af81(0x24a)](_0x5121a3[_0x53af81(0x2ad)][_0x53af81(0x28b)],()=>_0x5121a3['connectInjector'](_0x26a9bf({'status$':this[_0x53af81(0x346)]['asObservable']()}),this[_0x53af81(0x1ab)])));}},_0x311cb7['DesktopCollaborationStatusDisplayController']=_0x176437([_0x19fdd8(0x0,_0x18ca73['IUniverInstanceService']),_0x19fdd8(0x1,_0x18ca73['Inject'](_0x18ca73[_0x4a00e7(0x271)])),_0x19fdd8(0x2,_0x18ca73['Inject'](_0x2fe882[_0x4a00e7(0x1c9)])),_0x19fdd8(0x3,_0x5121a3['IUIPartsService'])],_0x311cb7[_0x4a00e7(0xfb)]);function _0x26a9bf(_0x14c47d){const {status$:_0x54b906}=_0x14c47d;return function(){const _0x59df80=_0x27be;return _0x5bd372[_0x59df80(0x26a)](_0x43c59b,{'status$':_0x54b906});};}const _0x32736f=_0x18ca73['createIdentifier']('uni.network.url-service');var _0x16d1d5=Object[_0x4a00e7(0x1f9)],_0x1c864d=(_0x40968e,_0x245ec4,_0x3e1053,_0x3d48ba)=>{for(var _0x35ae04=_0x3d48ba>0x1?void 0x0:_0x3d48ba?_0x16d1d5(_0x245ec4,_0x3e1053):_0x245ec4,_0x3f66b2=_0x40968e['length']-0x1,_0xc394a4;_0x3f66b2>=0x0;_0x3f66b2--)(_0xc394a4=_0x40968e[_0x3f66b2])&&(_0x35ae04=_0xc394a4(_0x35ae04)||_0x35ae04);return _0x35ae04;},_0x1df12d=(_0x5c116b,_0x20b780)=>(_0x47a6a6,_0x530bdc)=>_0x20b780(_0x47a6a6,_0x530bdc,_0x5c116b);_0x311cb7[_0x4a00e7(0x32f)]=class extends _0x18ca73[_0x4a00e7(0x22f)]{constructor(_0x1d6ddf,_0x280f5f,_0x526585,_0x135c48,_0x24293d){const _0x4a81fc=_0x4a00e7;super(),this[_0x4a81fc(0x126)]=_0x1d6ddf,this[_0x4a81fc(0x360)]=_0x280f5f,this[_0x4a81fc(0x29c)]=_0x526585,this[_0x4a81fc(0x254)]=_0x135c48,_0x24293d?_0x24293d==null||_0x24293d[_0x4a81fc(0x335)]()['then'](()=>this[_0x4a81fc(0x1ee)]()):(this[_0x4a81fc(0x360)]['debug'](_0x4a81fc(0x279),_0x4a81fc(0x250)),this['_init']());}async[_0x4a00e7(0x1ee)](){const _0x2c1102=_0x4a00e7,_0x1df110=this[_0x2c1102(0x126)][_0x2c1102(0x2e9)](_0x2c1102(0x249)),_0x5a344a=this[_0x2c1102(0x126)][_0x2c1102(0x2e9)](_0x2c1102(0x2a0)),_0x8b4187=this['_urlService'][_0x2c1102(0x2e9)](_0x2c1102(0x34d));if(!_0x1df110||!_0x5a344a){this['_logService'][_0x2c1102(0x199)](_0x2c1102(0x279),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x2ed731=await this[_0x2c1102(0x254)][_0x2c1102(0x28c)](_0x1df110,Number(_0x5a344a),_0x8b4187);_0x2ed731&&_0x2ed731 instanceof _0x18ca73[_0x2c1102(0x2b0)]&&this['_setupSubUnitSync'](_0x2ed731);}async['_setupSubUnitSync'](_0x34ee9d){const _0x24cfa5=_0x4a00e7;await this['_updateSubUnitFromURLParams'](_0x34ee9d),_0x34ee9d[_0x24cfa5(0x290)][_0x24cfa5(0x217)](_0x16b079[_0x24cfa5(0x18a)](this['dispose$']))[_0x24cfa5(0x12b)](_0x4fc17e=>{_0x4fc17e&&this['_updateURLWithCurrentState'](_0x4fc17e);}),this[_0x24cfa5(0x126)]['urlChange$'][_0x24cfa5(0x217)](_0x16b079[_0x24cfa5(0x18a)](this[_0x24cfa5(0x216)]))[_0x24cfa5(0x12b)](()=>this[_0x24cfa5(0x351)](_0x34ee9d));}[_0x4a00e7(0xf4)](_0x1cab6a,_0x341cf6=!0x1){const _0x3bef04=_0x4a00e7,_0x4f119c=this[_0x3bef04(0x126)]['getParam']('subunit');_0x1cab6a['getSheetId']()!==_0x4f119c&&this['_urlService'][_0x3bef04(0x1d9)](_0x3bef04(0x34d),_0x1cab6a[_0x3bef04(0x259)](),_0x341cf6);}async['_updateSubUnitFromURLParams'](_0x20c1bc){const _0x27a912=_0x4a00e7;var _0x1e608b;const _0x38b5e0=this[_0x27a912(0x126)]['getParam'](_0x27a912(0x34d));if(!_0x38b5e0||!_0x20c1bc['getSheetBySheetId'](_0x38b5e0)){const _0x4c4c30=_0x20c1bc[_0x27a912(0x19d)]()[0x0],_0x1e701d=_0x20c1bc[_0x27a912(0x1c5)](_0x4c4c30);if(!_0x1e701d)return;this[_0x27a912(0xf4)](_0x1e701d,!0x0),await this[_0x27a912(0x29c)][_0x27a912(0x23b)](_0x3c8e23['SetWorksheetActivateCommand']['id'],{'unitId':_0x20c1bc[_0x27a912(0x1fa)](),'subUnitId':_0x4c4c30});return;}((_0x1e608b=_0x20c1bc[_0x27a912(0x320)]())==null?void 0x0:_0x1e608b[_0x27a912(0x259)]())!==_0x38b5e0&&await this[_0x27a912(0x29c)][_0x27a912(0x23b)](_0x3c8e23[_0x27a912(0x1c2)]['id'],{'unitId':_0x20c1bc['getUnitId'](),'subUnitId':_0x38b5e0});}},_0x311cb7[_0x4a00e7(0x32f)]=_0x1c864d([_0x1df12d(0x0,_0x32736f),_0x1df12d(0x1,_0x18ca73[_0x4a00e7(0x1d3)]),_0x1df12d(0x2,_0x18ca73['ICommandService']),_0x1df12d(0x3,_0x18ca73[_0x4a00e7(0x29b)](_0x2fe882['DataLoaderService'])),_0x1df12d(0x4,_0x18ca73['Optional'](_0x457000[_0x4a00e7(0x2a6)]))],_0x311cb7[_0x4a00e7(0x32f)]);var _0x19e019=Object[_0x4a00e7(0x1f9)],_0x4b9895=(_0x113dd2,_0x49e186,_0x3da11a,_0x39be26)=>{const _0x192752=_0x4a00e7;for(var _0x3d971b=_0x39be26>0x1?void 0x0:_0x39be26?_0x19e019(_0x49e186,_0x3da11a):_0x49e186,_0x2b63e4=_0x113dd2[_0x192752(0x256)]-0x1,_0x4a64e3;_0x2b63e4>=0x0;_0x2b63e4--)(_0x4a64e3=_0x113dd2[_0x2b63e4])&&(_0x3d971b=_0x4a64e3(_0x3d971b)||_0x3d971b);return _0x3d971b;},_0x5807ba=(_0x4b5e35,_0x435dd4)=>(_0x57bbb0,_0x3a9c8a)=>_0x435dd4(_0x57bbb0,_0x3a9c8a,_0x4b5e35);let _0x2d1ce0=class extends _0x18ca73[_0x4a00e7(0x22f)]{constructor(_0x3fca16,_0x48a131){const _0x325a10=_0x4a00e7;super(),this[_0x325a10(0x2ac)]=_0x3fca16,this[_0x325a10(0x233)]=_0x48a131,this[_0x325a10(0x1ee)]();}[_0x4a00e7(0x1ee)](){const _0x446fbd=_0x4a00e7,_0x1d420b=this;this[_0x446fbd(0x2a8)](this[_0x446fbd(0x2ac)][_0x446fbd(0x289)]({'onBeforePasteImage':async _0x57d8d1=>{const _0x48f044=_0x446fbd,_0x10276a=await _0x1d420b[_0x48f044(0x233)]['saveImage'](_0x57d8d1);return _0x10276a?{'source':_0x10276a['source'],'imageSourceType':_0x10276a[_0x48f044(0x377)]}:null;}}));}};_0x2d1ce0=_0x4b9895([_0x5807ba(0x0,_0x41c79e[_0x4a00e7(0x26e)]),_0x5807ba(0x1,_0x2baa74[_0x4a00e7(0x1f8)])],_0x2d1ce0);const _0x54206e=[_0x4a00e7(0x359),_0x4a00e7(0x380),_0x4a00e7(0x1bc),_0x4a00e7(0x340),_0x4a00e7(0x2c2),_0x4a00e7(0x139)];class _0x3fde5d extends _0x18ca73[_0x4a00e7(0x25b)]{constructor(){const _0xba7c32=_0x4a00e7;super(...arguments),_0x41f19e(this,'_assignedColors',new Map()),_0x41f19e(this,_0xba7c32(0x2f5),0x0);}[_0x4a00e7(0x24d)](_0x56d79b){const _0x150e27=_0x4a00e7;if(this['_assignedColors'][_0x150e27(0x133)](_0x56d79b))return this[_0x150e27(0x103)][_0x150e27(0x202)](_0x56d79b);const _0x5170a4=_0x54206e[this[_0x150e27(0x2f5)]];return this[_0x150e27(0x2f5)]=(this[_0x150e27(0x2f5)]+0x1)%_0x54206e[_0x150e27(0x256)],this['_assignedColors'][_0x150e27(0x329)](_0x56d79b,_0x5170a4),_0x5170a4;}}function _0x17a0c2(_0x1b94d9){let _0x1c1baa='';for(const _0x1d48c6 of _0x1b94d9){const {startOffset:_0x313fb4,endOffset:_0x19c02b,isActive:_0x40465d,rangeType:_0x3a9d77,segmentId:_0x55554e,segmentPage:_0x25a352}=_0x1d48c6;_0x1c1baa['length']&&(_0x1c1baa+=','),_0x1c1baa+=_0x313fb4+':'+_0x19c02b+':'+(_0x40465d?'1':'0')+':'+_0x3a9d77+':'+_0x55554e+':'+_0x25a352;}return _0x1c1baa;}function _0x440b1d(_0x29be7d){const _0x1e864d=_0x4a00e7,_0x82e35=_0x29be7d[_0x1e864d(0x272)](','),_0xf91082=[];for(const _0x13c53c of _0x82e35){const [_0x8e8d8f,_0x26f33e,_0x3a773c,_0x14a4a2,_0x5e1922,_0x5913f1]=_0x13c53c[_0x1e864d(0x272)](':');_0xf91082['push']({'startOffset':Number(_0x8e8d8f),'endOffset':Number(_0x26f33e),'collapsed':_0x8e8d8f===_0x26f33e,'isActive':_0x3a773c==='1','rangeType':_0x14a4a2===_0x18ca73['DOC_RANGE_TYPE'][_0x1e864d(0x1a8)]?_0x18ca73['DOC_RANGE_TYPE'][_0x1e864d(0x1a8)]:_0x18ca73[_0x1e864d(0x142)]['RECT'],'segmentId':typeof _0x5e1922=='string'?String(_0x5e1922):'','segmentPage':Number(_0x5913f1!=null?_0x5913f1:-0x1)});}return _0xf91082[_0x1e864d(0x1ac)](_0x2cf94d=>_0x2cf94d['isActive'])||(_0xf91082[0x0][_0x1e864d(0x26b)]=!0x0),_0xf91082;}class _0x349747 extends _0x18ca73[_0x4a00e7(0x22f)]{constructor(){const _0x1ad5bc=_0x4a00e7;super(...arguments),_0x41f19e(this,_0x1ad5bc(0x336),new _0x16b079[(_0x1ad5bc(0x18c))](null)),_0x41f19e(this,_0x1ad5bc(0x2dd),this['_collabCursorState$']['asObservable']());}[_0x4a00e7(0x2fb)](_0x2f93b1){const _0x514c10=_0x4a00e7,{unitID:_0x1799b2,memberID:_0x534ffd,textRanges:_0x237f8e}=_0x2f93b1,_0x50cdd2=_0x17a0c2(_0x237f8e);if(_0x50cdd2==='')return;const _0x53a84f={'unitID':_0x1799b2,'memberID':_0x534ffd,'selection':_0x50cdd2};this[_0x514c10(0x336)][_0x514c10(0x274)](_0x53a84f);}}var _0xe67a58=Object[_0x4a00e7(0x1f9)],_0x50afb7=(_0x1209ec,_0x6bee83,_0x3c71b9,_0x20868b)=>{const _0x40d8e8=_0x4a00e7;for(var _0x334a4c=_0x20868b>0x1?void 0x0:_0x20868b?_0xe67a58(_0x6bee83,_0x3c71b9):_0x6bee83,_0x3e9bde=_0x1209ec[_0x40d8e8(0x256)]-0x1,_0x5191a2;_0x3e9bde>=0x0;_0x3e9bde--)(_0x5191a2=_0x1209ec[_0x3e9bde])&&(_0x334a4c=_0x5191a2(_0x334a4c)||_0x334a4c);return _0x334a4c;},_0x12102d=(_0x52f647,_0x5cb48c)=>(_0x1ea398,_0x540e24)=>_0x5cb48c(_0x1ea398,_0x540e24,_0x52f647);const _0x2bdafa=0x12c,_0x1a2760=0x64;let _0x5d9194=class extends _0x18ca73['RxDisposable']{constructor(_0x2de6fb,_0x52bd00,_0x4f9bd0,_0x2ce96b,_0x1c9927,_0x21b0c6,_0x3b5f61,_0x5e85ca,_0x1fa5e5){const _0x8c97aa=_0x4a00e7;super(),_0x41f19e(this,_0x8c97aa(0x1b8),!0x1),_0x41f19e(this,_0x8c97aa(0x1ee),!0x1),_0x41f19e(this,'_cursorInfo$',new _0x16b079['BehaviorSubject'](new Map())),_0x41f19e(this,_0x8c97aa(0x14e),this[_0x8c97aa(0x194)][_0x8c97aa(0x19e)]()),_0x41f19e(this,_0x8c97aa(0x1ea),new _0x16b079[(_0x8c97aa(0x18c))]([])),_0x41f19e(this,_0x8c97aa(0x104),this[_0x8c97aa(0x1ea)][_0x8c97aa(0x217)](_0x16b079[_0x8c97aa(0x27e)](_0x2bdafa))),_0x41f19e(this,_0x8c97aa(0x242),_0x18ca73[_0x8c97aa(0x258)](_0x11cf8d=>{const _0x71b777=_0x8c97aa,_0x179f6c={'eventID':_0x518b96[_0x71b777(0x20d)][_0x71b777(0x2b5)],'data':{'unitID':this[_0x71b777(0x2d2)],'memberID':this[_0x71b777(0x227)][_0x71b777(0x165)](),'selection':_0x17a0c2(_0x11cf8d)}};this[_0x71b777(0x227)]['send'](_0x179f6c,this['unitID']);},_0x1a2760)),(this[_0x8c97aa(0x2d2)]=_0x2de6fb,this['_session']=_0x52bd00,this[_0x8c97aa(0x1ab)]=_0x4f9bd0,this['_colorAssignService']=_0x2ce96b,this[_0x8c97aa(0x343)]=_0x1c9927,this[_0x8c97aa(0x30e)]=_0x21b0c6,this['_transformService']=_0x3b5f61,this['_univerInstanceService']=_0x5e85ca,this['_commandService']=_0x1fa5e5);}get['cursorInfo'](){const _0x39a679=_0x4a00e7;return this['_cursorInfo$'][_0x39a679(0x2e5)]();}get['roomMembers'](){const _0x4afc9b=_0x4a00e7;return this[_0x4afc9b(0x1ea)][_0x4afc9b(0x2e5)]();}[_0x4a00e7(0x264)](){const _0x5a22eb=_0x4a00e7;super[_0x5a22eb(0x264)](),this['_cursorInfo$'][_0x5a22eb(0x274)](new Map()),this['_cursorInfo$'][_0x5a22eb(0x2df)](),this['_roomMembers$'][_0x5a22eb(0x274)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x232854=_0x4a00e7;this[_0x232854(0x1ee)]||(this[_0x232854(0x1ee)]=!0x0,this[_0x232854(0x227)][_0x232854(0xf0)][_0x232854(0x217)](_0x16b079[_0x232854(0x18a)](this[_0x232854(0x216)]))[_0x232854(0x12b)](_0x6efda2=>{const _0x2f8140=_0x232854;_0x6efda2===_0x2fe882['SessionStatus'][_0x2f8140(0x338)]?this[_0x2f8140(0x2b3)]():this[_0x2f8140(0x16b)]();}),this['_session']['event$'][_0x232854(0x217)](_0x16b079['takeUntil'](this[_0x232854(0x216)]))[_0x232854(0x12b)](_0x367a80=>{const _0x33f695=_0x232854,_0x1d2d51=_0x367a80[_0x33f695(0x26d)];_0x1d2d51===_0x518b96[_0x33f695(0x20d)][_0x33f695(0x2b5)]&&this[_0x33f695(0x197)](_0x367a80),_0x1d2d51===_0x518b96[_0x33f695(0x20d)][_0x33f695(0x208)]&&this['_onCursorDelete'](_0x367a80);}),this['disposeWithMe'](this[_0x232854(0x29c)][_0x232854(0x180)](_0x218f54=>{const _0x252d87=_0x232854,_0x4b2874=_0x218f54[_0x252d87(0x2de)];_0x4b2874!=null&&this['_online']&&_0x218f54['id']===_0x40419e[_0x252d87(0x2cb)]['id']&&_0x4b2874[_0x252d87(0x36e)]===this['unitID']&&_0x4b2874['isEditing']===!0x1&&_0x4b2874['ranges'][_0x252d87(0x256)]>0x0&&this[_0x252d87(0x242)](_0x4b2874[_0x252d87(0x319)]);})),this[_0x232854(0x30e)][_0x232854(0x2dd)][_0x232854(0x217)](_0x16b079['takeUntil'](this[_0x232854(0x216)]))[_0x232854(0x12b)](_0x428203=>{const _0x3dba2e=_0x232854;if((_0x428203==null?void 0x0:_0x428203[_0x3dba2e(0x2d2)])!==this[_0x3dba2e(0x2d2)])return;const _0x423ae2={'eventID':_0x518b96[_0x3dba2e(0x20d)][_0x3dba2e(0x2b5)],'data':_0x428203};this['_onCursorUpdate'](_0x423ae2);}),this['disposeWithMe'](this[_0x232854(0x29c)]['onCommandExecuted'](_0x4433d8=>{const _0x512bb6=_0x232854;if(_0x4433d8[_0x512bb6(0x2de)]==null)return;const _0x74467e=_0x4433d8[_0x512bb6(0x2de)];if(_0x4433d8['id']!==_0x40419e[_0x512bb6(0x166)]['id']||_0x74467e[_0x512bb6(0x36e)]!==this[_0x512bb6(0x2d2)])return;const _0x90fce={'id':'doc.mutation.rich-text-editing','params':_0x74467e},_0x3ad41f=this[_0x512bb6(0x35f)];for(const [_0x2c8d88,_0x16a477]of _0x3ad41f){const _0x3d4595={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x512bb6(0x2d2)],'actions':null,'textRanges':_0x16a477[_0x512bb6(0x319)]}},_0x418e18=this[_0x512bb6(0x1a6)][_0x512bb6(0x2d3)](_0x90fce,_0x3d4595,!0x1);if(_0x518b96[_0x512bb6(0x326)](_0x418e18))throw _0x418e18[_0x512bb6(0x17e)];_0x3ad41f[_0x512bb6(0x329)](_0x2c8d88,{..._0x16a477,'ranges':_0x418e18[_0x512bb6(0x381)]['params'][_0x512bb6(0x2eb)]});}queueMicrotask(()=>{const _0x2b55c0=_0x512bb6;this[_0x2b55c0(0x194)][_0x2b55c0(0x274)](_0x3ad41f);});})));}[_0x4a00e7(0x197)](_0x2d44cf){const _0x51b42b=_0x4a00e7;var _0x5ebbb5,_0x1b7dfc;const {memberID:_0x219248,selection:_0x4a0093}=_0x2d44cf[_0x51b42b(0x36f)],_0x356027=_0x440b1d(_0x4a0093),_0xf1f94e=(_0x1b7dfc=(_0x5ebbb5=this['_memberService'][_0x51b42b(0x221)](this[_0x51b42b(0x2d2)],_0x219248))==null?void 0x0:_0x5ebbb5[_0x51b42b(0x287)])!=null?_0x1b7dfc:'Unknown\x20user',_0x285b54={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x219248),'name':_0xf1f94e,'ranges':_0x356027},_0x333eef=this[_0x51b42b(0x35f)];_0x333eef[_0x51b42b(0x329)](_0x219248,_0x285b54),this[_0x51b42b(0x194)][_0x51b42b(0x274)](_0x333eef);}[_0x4a00e7(0x34f)](_0x505553){const _0x327481=_0x4a00e7,{memberID:_0x36afa4}=_0x505553[_0x327481(0x36f)],_0x1989d0=this['cursorInfo'];_0x1989d0['delete'](_0x36afa4),this['_cursorInfo$'][_0x327481(0x274)](_0x1989d0);}[_0x4a00e7(0x2b3)](){const _0x3cd0c7=_0x4a00e7;var _0x5aa206;if(this['_online']=!0x0,((_0x5aa206=this[_0x3cd0c7(0x15d)][_0x3cd0c7(0x23d)]())==null?void 0x0:_0x5aa206[_0x3cd0c7(0x1fa)]())!==this[_0x3cd0c7(0x2d2)])return;const _0x267f8b=this[_0x3cd0c7(0x1ab)]['get'](_0x40419e[_0x3cd0c7(0x154)])[_0x3cd0c7(0x315)]();Array[_0x3cd0c7(0x31b)](_0x267f8b)&&_0x267f8b[_0x3cd0c7(0x256)]>0x0&&this['_updateLocalCursor'](_0x267f8b);}[_0x4a00e7(0x16b)](){const _0xe4f5ba=_0x4a00e7;this[_0xe4f5ba(0x1b8)]=!0x1;}};_0x5d9194=_0x50afb7([_0x12102d(0x2,_0x18ca73['Inject'](_0x18ca73[_0x4a00e7(0x271)])),_0x12102d(0x3,_0x18ca73[_0x4a00e7(0x29b)](_0x3fde5d)),_0x12102d(0x4,_0x18ca73[_0x4a00e7(0x29b)](_0x2fe882[_0x4a00e7(0x28a)])),_0x12102d(0x5,_0x18ca73[_0x4a00e7(0x29b)](_0x349747)),_0x12102d(0x6,_0x518b96[_0x4a00e7(0x16a)]),_0x12102d(0x7,_0x18ca73[_0x4a00e7(0x196)]),_0x12102d(0x8,_0x18ca73['ICommandService'])],_0x5d9194);var _0x4b112b=Object[_0x4a00e7(0x1f9)],_0x16779a=(_0x277892,_0x35ca60,_0x55bd9c,_0x55e4f4)=>{const _0x4bdf49=_0x4a00e7;for(var _0x319b04=_0x55e4f4>0x1?void 0x0:_0x55e4f4?_0x4b112b(_0x35ca60,_0x55bd9c):_0x35ca60,_0x44c263=_0x277892[_0x4bdf49(0x256)]-0x1,_0x4fa251;_0x44c263>=0x0;_0x44c263--)(_0x4fa251=_0x277892[_0x44c263])&&(_0x319b04=_0x4fa251(_0x319b04)||_0x319b04);return _0x319b04;},_0x3b5468=(_0x485038,_0x1a7575)=>(_0x3c478,_0x3b172a)=>_0x1a7575(_0x3c478,_0x3b172a,_0x485038);const _0x154ad0=0x12c,_0x125df3=0x64,_0x577705=()=>{let _0x9e52ce=[],_0x5717ee=!0x1;return _0x2fd7a6=>{const _0x2de6af=_0x27be;_0x9e52ce[_0x2de6af(0x2b6)](_0x2fd7a6),_0x5717ee||(_0x5717ee=!0x0,setTimeout(()=>{const _0x5412c5=_0x2de6af;_0x9e52ce[_0x5412c5(0x28f)](_0x38a113=>_0x38a113()),_0x9e52ce=[],_0x5717ee=!0x1;}));};};let _0x42c0ec=class extends _0x18ca73[_0x4a00e7(0x22f)]{constructor(_0xfae60f,_0x56e0ba,_0x2867d3,_0x12a734,_0x2bf58a,_0xf5600f,_0x46aeeb,_0x4047ec){const _0x47f04b=_0x4a00e7;super(),_0x41f19e(this,_0x47f04b(0x1b8),!0x1),_0x41f19e(this,_0x47f04b(0x1ee),!0x1),_0x41f19e(this,_0x47f04b(0x194),new _0x16b079[(_0x47f04b(0x18c))](new Map())),_0x41f19e(this,'cursorInfo$',this[_0x47f04b(0x194)][_0x47f04b(0x19e)]()),_0x41f19e(this,_0x47f04b(0x1ea),new _0x16b079[(_0x47f04b(0x18c))]([])),_0x41f19e(this,'roomMembers$',this[_0x47f04b(0x1ea)][_0x47f04b(0x217)](_0x16b079[_0x47f04b(0x27e)](_0x154ad0))),_0x41f19e(this,'_updateLocalCursor',_0x18ca73[_0x47f04b(0x258)]((_0x24c22a,_0x1ddc61)=>{const _0x22d464=_0x47f04b,_0x416dbe={'eventID':_0x518b96[_0x22d464(0x20d)][_0x22d464(0x2b5)],'data':{'unitID':this['unitID'],'memberID':this[_0x22d464(0x227)][_0x22d464(0x165)](),'selection':_0xcce0ba[_0x22d464(0x14c)](_0x24c22a,_0x1ddc61['range'])}};this[_0x22d464(0x227)][_0x22d464(0x1a4)](_0x416dbe,this[_0x22d464(0x2d2)]);},_0x125df3)),(this[_0x47f04b(0x2d2)]=_0xfae60f,this[_0x47f04b(0x227)]=_0x56e0ba,this[_0x47f04b(0x1ab)]=_0x2867d3,this['_colorAssignService']=_0x12a734,this[_0x47f04b(0x343)]=_0x2bf58a,this[_0x47f04b(0x15d)]=_0xf5600f,this[_0x47f04b(0x29c)]=_0x46aeeb,this['_refRangeService']=_0x4047ec);}get[_0x4a00e7(0x35f)](){const _0x2e4336=_0x4a00e7;return this[_0x2e4336(0x194)]['getValue']();}get['roomMembers'](){const _0x2349f8=_0x4a00e7;return this['_roomMembers$'][_0x2349f8(0x2e5)]();}[_0x4a00e7(0x264)](){const _0x3a9b74=_0x4a00e7;super['dispose'](),this[_0x3a9b74(0x194)][_0x3a9b74(0x274)](new Map()),this[_0x3a9b74(0x194)][_0x3a9b74(0x2df)](),this[_0x3a9b74(0x1ea)][_0x3a9b74(0x274)]([]),this[_0x3a9b74(0x1ea)][_0x3a9b74(0x2df)]();}[_0x4a00e7(0x2bd)](){const _0x2bd042=_0x4a00e7;this[_0x2bd042(0x1ee)]||(this[_0x2bd042(0x1ee)]=!0x0,this[_0x2bd042(0x227)]['sessionStatus$'][_0x2bd042(0x217)](_0x16b079[_0x2bd042(0x18a)](this[_0x2bd042(0x216)]))[_0x2bd042(0x12b)](_0x4176a9=>{const _0x438e4f=_0x2bd042;_0x4176a9===_0x2fe882[_0x438e4f(0x311)][_0x438e4f(0x338)]?this['_toggleOnline']():this[_0x438e4f(0x16b)]();}),this[_0x2bd042(0x227)][_0x2bd042(0x184)]['pipe'](_0x16b079[_0x2bd042(0x18a)](this['dispose$']))[_0x2bd042(0x12b)](_0x35a7cf=>{const _0x9ddd63=_0x2bd042,_0x31eedc=_0x35a7cf[_0x9ddd63(0x26d)];_0x31eedc===_0x518b96['CollaborationEvent'][_0x9ddd63(0x2b5)]&&this[_0x9ddd63(0x197)](_0x35a7cf),_0x31eedc===_0x518b96[_0x9ddd63(0x20d)][_0x9ddd63(0x208)]&&this[_0x9ddd63(0x34f)](_0x35a7cf);}),this[_0x2bd042(0x128)](),this['disposeWithMe'](this[_0x2bd042(0x29c)][_0x2bd042(0x180)](_0x24cd84=>{const _0x143d96=_0x2bd042;if(this[_0x143d96(0x1b8)]&&_0x24cd84['id']===_0x3c8e23[_0x143d96(0x28e)]['id']&&_0x24cd84[_0x143d96(0x2de)][_0x143d96(0x36e)]===this[_0x143d96(0x2d2)]){const _0x888fb0=_0x24cd84['params'];this[_0x143d96(0x242)](_0x888fb0['subUnitId'],_0x888fb0['selections'][0x0]);}})));}[_0x4a00e7(0x197)](_0x251e70){const _0x4fbeb5=_0x4a00e7;var _0x5ac1e6,_0x537234;const {memberID:_0x1513bf,selection:_0x55aa3c}=_0x251e70[_0x4fbeb5(0x36f)],{sheetName:_0x12c73e,range:_0x3cc49e}=_0xcce0ba[_0x4fbeb5(0x37d)](_0x55aa3c),_0x35d84e={'name':(_0x537234=(_0x5ac1e6=this[_0x4fbeb5(0x343)][_0x4fbeb5(0x221)](this['unitID'],_0x1513bf))==null?void 0x0:_0x5ac1e6[_0x4fbeb5(0x287)])!=null?_0x537234:_0x4fbeb5(0x238),'range':this[_0x4fbeb5(0x357)](_0x12c73e,_0x3cc49e),'sheetID':_0x12c73e,'color':this[_0x4fbeb5(0x32b)][_0x4fbeb5(0x24d)](_0x1513bf),'selection':_0x55aa3c},_0x1d41b8=this[_0x4fbeb5(0x35f)];_0x1d41b8[_0x4fbeb5(0x329)](_0x1513bf,_0x35d84e),this[_0x4fbeb5(0x194)][_0x4fbeb5(0x274)](_0x1d41b8);}[_0x4a00e7(0x34f)](_0x5c4e2a){const _0x23747b=_0x4a00e7,{memberID:_0x476494}=_0x5c4e2a[_0x23747b(0x36f)],_0x40f050=this[_0x23747b(0x35f)];_0x40f050[_0x23747b(0x1e2)](_0x476494),this[_0x23747b(0x194)][_0x23747b(0x274)](_0x40f050);}[_0x4a00e7(0x357)](_0x4def9f,_0x1255b0){const _0x5b9c05=_0x4a00e7;var _0x4f3485,_0x40cbaf;const _0x20b9b5=(_0x40cbaf=(_0x4f3485=this[_0x5b9c05(0x15d)][_0x5b9c05(0x200)](this[_0x5b9c05(0x2d2)]))==null?void 0x0:_0x4f3485['getSheetBySheetId'](_0x4def9f))==null?void 0x0:_0x40cbaf[_0x5b9c05(0x129)]();return(_0x20b9b5==null?void 0x0:_0x20b9b5['find'](_0xb57c84=>_0x18ca73['Rectangle'][_0x5b9c05(0x282)](_0xb57c84,_0x1255b0)))||_0x1255b0;}['_onRefRangeChange'](){const _0x5b4fac=_0x4a00e7,_0x52afd1=new _0x18ca73['DisposableCollection'](),_0x535b86=_0x577705(),_0x2208a9=()=>{const _0x561f13=_0x27be;_0x52afd1[_0x561f13(0x264)]();const _0x209af9=(_0x114d9d,_0x26ac7a,_0x217ac7,_0x171467)=>{const _0x2523e3=_0x561f13;let _0x1ed2ce=[];switch(_0x114d9d['id']){case _0x3c8e23[_0x2523e3(0x141)][_0x2523e3(0x27f)]:{_0x1ed2ce=_0x3c8e23[_0x2523e3(0x23e)](_0x114d9d,_0x171467);break;}case _0x3c8e23[_0x2523e3(0x141)][_0x2523e3(0x1c3)]:{_0x1ed2ce=_0x3c8e23['handleDeleteRangeMoveUp'](_0x114d9d,_0x171467);break;}case _0x3c8e23[_0x2523e3(0x141)][_0x2523e3(0x164)]:{_0x1ed2ce=_0x3c8e23['handleInsertCol'](_0x114d9d,_0x171467);break;}case _0x3c8e23[_0x2523e3(0x141)]['InsertRangeMoveDownCommandId']:{_0x1ed2ce=_0x3c8e23['handleInsertRangeMoveDown'](_0x114d9d,_0x171467);break;}case _0x3c8e23['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x1ed2ce=_0x3c8e23[_0x2523e3(0x2b2)](_0x114d9d,_0x171467);break;}case _0x3c8e23['EffectRefRangId'][_0x2523e3(0x29e)]:{_0x1ed2ce=_0x3c8e23[_0x2523e3(0x237)](_0x114d9d,_0x171467);break;}case _0x3c8e23[_0x2523e3(0x141)][_0x2523e3(0x37c)]:{_0x1ed2ce=_0x3c8e23[_0x2523e3(0x275)](_0x114d9d,_0x171467);break;}case _0x3c8e23[_0x2523e3(0x141)]['RemoveColCommandId']:{_0x1ed2ce=_0x3c8e23[_0x2523e3(0x21a)](_0x114d9d,_0x171467);break;}case _0x3c8e23[_0x2523e3(0x141)][_0x2523e3(0x30b)]:{_0x1ed2ce=_0x3c8e23[_0x2523e3(0x1e5)](_0x114d9d,_0x171467);break;}}const _0x5d1a39=_0x3c8e23[_0x2523e3(0x17f)](_0x1ed2ce,_0x171467),_0x28cf1f=this[_0x2523e3(0x35f)]['get'](_0x26ac7a);if(_0x28cf1f&&_0x5d1a39){const _0x585385={..._0x28cf1f,'range':_0x5d1a39};this[_0x2523e3(0x35f)]['set'](_0x26ac7a,_0x585385),_0x535b86(()=>{const _0x53ef77=_0x2523e3,_0x17ac2f=this['_refRangeService'][_0x53ef77(0x37f)](_0x5d1a39,_0x42fba3=>(_0x17ac2f['dispose'](),_0x209af9(_0x42fba3,_0x26ac7a,_0x217ac7,_0x5d1a39)));_0x52afd1[_0x53ef77(0x114)](_0x17ac2f);});}return{'redos':[],'undos':[]};};this[_0x561f13(0x35f)]['forEach']((_0x318bae,_0x5535fa)=>{const _0x346246=_0x561f13,{range:_0x133830,sheetID:_0x26df25}=_0x318bae,_0x284ea9=this[_0x346246(0x241)][_0x346246(0x37f)](_0x133830,_0x323052=>(_0x284ea9[_0x346246(0x264)](),_0x209af9(_0x323052,_0x5535fa,_0x26df25,_0x133830)));_0x52afd1[_0x346246(0x114)](_0x284ea9);});};this[_0x5b4fac(0x2a8)](_0x18ca73[_0x5b4fac(0x244)](this[_0x5b4fac(0x194)][_0x5b4fac(0x12b)](()=>{_0x2208a9();})));}[_0x4a00e7(0x2b3)](){const _0x24b23f=_0x4a00e7;var _0x53db0d,_0x181185;if(this[_0x24b23f(0x1b8)]=!0x0,((_0x53db0d=this[_0x24b23f(0x15d)][_0x24b23f(0x23d)]())==null?void 0x0:_0x53db0d[_0x24b23f(0x1fa)]())!==this[_0x24b23f(0x2d2)])return;const _0x2795a0=(_0x181185=this['_injector'][_0x24b23f(0x202)](_0x3c8e23['SheetsSelectionsService'])[_0x24b23f(0x2e6)]())==null?void 0x0:_0x181185[0x0],_0x1e258f=this['_univerInstanceService'][_0x24b23f(0x122)](_0x18ca73[_0x24b23f(0x113)][_0x24b23f(0x158)])[_0x24b23f(0x320)]();_0x2795a0&&_0x1e258f&&this['_updateLocalCursor'](_0x1e258f['getSheetId'](),_0x2795a0);}[_0x4a00e7(0x16b)](){const _0x46d10d=_0x4a00e7;this[_0x46d10d(0x1b8)]=!0x1;}};_0x42c0ec=_0x16779a([_0x3b5468(0x2,_0x18ca73['Inject'](_0x18ca73[_0x4a00e7(0x271)])),_0x3b5468(0x3,_0x18ca73[_0x4a00e7(0x29b)](_0x3fde5d)),_0x3b5468(0x4,_0x18ca73['Inject'](_0x2fe882[_0x4a00e7(0x28a)])),_0x3b5468(0x5,_0x18ca73[_0x4a00e7(0x196)]),_0x3b5468(0x6,_0x18ca73[_0x4a00e7(0x2ea)]),_0x3b5468(0x7,_0x18ca73['Inject'](_0x3c8e23['RefRangeService']))],_0x42c0ec);var _0x2fb020=Object[_0x4a00e7(0x1f9)],_0x3ecf4d=(_0x3b4ac2,_0x1d5c65,_0x26b7de,_0x403ffb)=>{const _0x14149c=_0x4a00e7;for(var _0x3426b3=_0x403ffb>0x1?void 0x0:_0x403ffb?_0x2fb020(_0x1d5c65,_0x26b7de):_0x1d5c65,_0x17bb9f=_0x3b4ac2[_0x14149c(0x256)]-0x1,_0x3103b6;_0x17bb9f>=0x0;_0x17bb9f--)(_0x3103b6=_0x3b4ac2[_0x17bb9f])&&(_0x3426b3=_0x3103b6(_0x3426b3)||_0x3426b3);return _0x3426b3;},_0x56f071=(_0x157f23,_0x5978a8)=>(_0x596668,_0x37ab9c)=>_0x5978a8(_0x596668,_0x37ab9c,_0x157f23);let _0x54c140=class extends _0x18ca73[_0x4a00e7(0x22f)]{constructor(_0x5e3313,_0x9007a0,_0xb8d8b3){const _0x2e1400=_0x4a00e7;super(),_0x41f19e(this,_0x2e1400(0x248),new Map()),_0x41f19e(this,_0x2e1400(0x312),new _0x16b079[(_0x2e1400(0x2a9))]()),(this[_0x2e1400(0x15d)]=_0x5e3313,this[_0x2e1400(0x1ab)]=_0x9007a0,this[_0x2e1400(0x280)]=_0xb8d8b3,this[_0x2e1400(0x1ee)]());}[_0x4a00e7(0x264)](){const _0x5732cc=_0x4a00e7;super[_0x5732cc(0x264)](),this['_entityInit$'][_0x5732cc(0x2df)](),this[_0x5732cc(0x248)][_0x5732cc(0x28f)](_0x5bbb8f=>_0x5bbb8f[_0x5732cc(0x264)]());}[_0x4a00e7(0x265)](_0x2b391b){const _0x3f1fdb=_0x4a00e7;return this[_0x3f1fdb(0x248)][_0x3f1fdb(0x133)](_0x2b391b)?this[_0x3f1fdb(0x248)][_0x3f1fdb(0x202)](_0x2b391b)[_0x3f1fdb(0x14e)]:this[_0x3f1fdb(0x312)]['pipe'](_0x16b079['filter'](_0x2be5e5=>_0x2be5e5[_0x3f1fdb(0x2d2)]===_0x2b391b),_0x16b079[_0x3f1fdb(0x22e)](_0x31a04a=>_0x31a04a['cursorInfo$']));}[_0x4a00e7(0x1ee)](){const _0x20995a=_0x4a00e7;this[_0x20995a(0x15d)]['getTypeOfUnitAdded$'](_0x18ca73[_0x20995a(0x113)][_0x20995a(0x158)])[_0x20995a(0x217)](_0x16b079[_0x20995a(0x18a)](this['dispose$']))[_0x20995a(0x12b)](async _0x33cfdd=>{const _0x31ab35=_0x20995a,_0xec2e07=_0x33cfdd[_0x31ab35(0x1fa)](),_0x13cdca=await this[_0x31ab35(0x374)](_0xec2e07);this['_entityInit$'][_0x31ab35(0x274)](_0x13cdca),this[_0x31ab35(0x248)][_0x31ab35(0x329)](_0xec2e07,_0x13cdca);}),this[_0x20995a(0x15d)][_0x20995a(0x37b)](_0x18ca73[_0x20995a(0x113)][_0x20995a(0x2a3)])[_0x20995a(0x217)](_0x16b079[_0x20995a(0x18a)](this['dispose$']))['pipe'](_0x16b079[_0x20995a(0x156)](_0x28937d=>!_0x28937d['getUnitId']()[_0x20995a(0x17c)]('__')))['subscribe'](async _0x105625=>{const _0xcc4545=_0x20995a,_0x2ff7a8=_0x105625['getUnitId'](),_0x5c95a0=await this[_0xcc4545(0x21d)](_0x2ff7a8);this[_0xcc4545(0x312)]['next'](_0x5c95a0),this[_0xcc4545(0x248)][_0xcc4545(0x329)](_0x2ff7a8,_0x5c95a0);}),_0x16b079['merge'](this['_univerInstanceService'][_0x20995a(0x2a1)](_0x18ca73['UniverInstanceType']['UNIVER_DOC']),this[_0x20995a(0x15d)]['getTypeOfUnitDisposed$'](_0x18ca73['UniverInstanceType'][_0x20995a(0x158)]))[_0x20995a(0x217)](_0x16b079[_0x20995a(0x18a)](this['dispose$']))[_0x20995a(0x12b)](_0x98b485=>{const _0x1cc745=_0x20995a,_0x5a70a6=_0x98b485['getUnitId'](),_0x443164=this[_0x1cc745(0x248)]['get'](_0x5a70a6);_0x443164&&(_0x443164[_0x1cc745(0x264)](),this[_0x1cc745(0x248)][_0x1cc745(0x1e2)](_0x5a70a6));});}async[_0x4a00e7(0x374)](_0x1b9cf3){const _0x445dad=_0x4a00e7,_0x5ab133=await this[_0x445dad(0x280)][_0x445dad(0x355)](_0x1b9cf3),_0x576c2e=this[_0x445dad(0x1ab)][_0x445dad(0x132)](_0x42c0ec,_0x1b9cf3,_0x5ab133);return _0x576c2e[_0x445dad(0x2bd)](),_0x576c2e;}async[_0x4a00e7(0x21d)](_0x5d2e90){const _0x50b496=_0x4a00e7,_0x1ce597=await this[_0x50b496(0x280)][_0x50b496(0x355)](_0x5d2e90),_0x5d1a61=this[_0x50b496(0x1ab)][_0x50b496(0x132)](_0x5d9194,_0x5d2e90,_0x1ce597);return _0x5d1a61[_0x50b496(0x2bd)](),_0x5d1a61;}};_0x54c140=_0x3ecf4d([_0x56f071(0x0,_0x18ca73[_0x4a00e7(0x196)]),_0x56f071(0x1,_0x18ca73['Inject'](_0x18ca73['Injector'])),_0x56f071(0x2,_0x18ca73['Inject'](_0x2fe882[_0x4a00e7(0x26f)]))],_0x54c140);const _0x533c05=0x14,_0x43d972=0xc8,_0x137d3f=0x4,_0x26844e=0x5;function _0x5c83c7(_0x1a8b69,_0x285d22){const _0x7502e9=_0x4a00e7;let {radius:_0x57657e,width:_0x22eecc,height:_0x28c47e}=_0x285d22;_0x57657e=_0x57657e!=null?_0x57657e:0x0,_0x22eecc=_0x22eecc!=null?_0x22eecc:0x1e,_0x28c47e=_0x28c47e!=null?_0x28c47e:0x1e;let _0x47a657=0x0,_0x2530af=0x0,_0x3368bd=0x0;_0x47a657=_0x2530af=_0x3368bd=Math[_0x7502e9(0x2bb)](_0x57657e,_0x22eecc/0x2,_0x28c47e/0x2),_0x1a8b69[_0x7502e9(0x332)](),_0x1a8b69[_0x7502e9(0x245)](_0x47a657,0x0),_0x1a8b69[_0x7502e9(0x2c5)](_0x22eecc-_0x2530af,0x0),_0x1a8b69[_0x7502e9(0x10b)](_0x22eecc-_0x2530af,_0x2530af,_0x2530af,Math['PI']*0x3/0x2,0x0,!0x1),_0x1a8b69[_0x7502e9(0x2c5)](_0x22eecc,_0x28c47e-_0x3368bd),_0x1a8b69[_0x7502e9(0x10b)](_0x22eecc-_0x3368bd,_0x28c47e-_0x3368bd,_0x3368bd,0x0,Math['PI']/0x2,!0x1),_0x1a8b69[_0x7502e9(0x2c5)](0x0,_0x28c47e),_0x1a8b69[_0x7502e9(0x2c5)](0x0,_0x47a657),_0x1a8b69[_0x7502e9(0x10b)](_0x47a657,_0x47a657,_0x47a657,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1a8b69[_0x7502e9(0x378)](),_0x285d22['fill']&&(_0x1a8b69[_0x7502e9(0x2ab)](),_0x1a8b69[_0x7502e9(0x2f6)]=_0x285d22[_0x7502e9(0x1a5)],_0x285d22[_0x7502e9(0x36b)]===_0x7502e9(0x1cd)?_0x1a8b69[_0x7502e9(0x1a5)](_0x7502e9(0x1cd)):_0x1a8b69[_0x7502e9(0x1a5)](),_0x1a8b69[_0x7502e9(0x112)]());}class _0x43f643 extends _0x1000a2[_0x4a00e7(0x263)]{constructor(_0x2dd468,_0x2601ad){const _0x5214c3=_0x4a00e7;super(_0x2dd468,_0x2601ad),_0x41f19e(this,_0x5214c3(0x111)),_0x41f19e(this,_0x5214c3(0x2e1)),(this[_0x5214c3(0x111)]=_0x2601ad==null?void 0x0:_0x2601ad[_0x5214c3(0x111)],this['text']=_0x2601ad==null?void 0x0:_0x2601ad[_0x5214c3(0x2e1)]);}static['drawWith'](_0x49bb75,_0x124f11){const _0x216c88=_0x4a00e7,{text:_0x17e9aa,color:_0x425f52}=_0x124f11;_0x49bb75['save'](),_0x49bb75[_0x216c88(0x2ed)]=_0x216c88(0x1b9);const _0x1350f3=_0x49bb75['measureText'](_0x17e9aa)[_0x216c88(0x138)],_0x20e76c=Math['min'](_0x1350f3+0x2*_0x137d3f,_0x43d972);_0x5c83c7(_0x49bb75,{'height':_0x533c05,'radius':0x4,'width':_0x20e76c,'fill':_0x425f52}),_0x49bb75['fillStyle']=_0x216c88(0x148);const _0x2068e0=_0x137d3f,_0x18d442=_0x533c05-_0x26844e,_0x1bd4e6=_0x43d972-0x2*_0x137d3f;if(_0x1350f3>_0x1bd4e6){let _0x28a16b='',_0x317d29=0x0;for(const _0x1d4319 of _0x17e9aa){const _0x5cea43=_0x49bb75['measureText'](_0x1d4319)[_0x216c88(0x138)];if(_0x317d29+_0x5cea43<=_0x1bd4e6-_0x49bb75['measureText'](_0x216c88(0x2f7))[_0x216c88(0x138)])_0x28a16b+=_0x1d4319,_0x317d29+=_0x5cea43;else{_0x28a16b+='...';break;}}_0x49bb75[_0x216c88(0x292)](_0x28a16b,_0x2068e0,_0x18d442);}else _0x49bb75[_0x216c88(0x292)](_0x17e9aa,_0x2068e0,_0x18d442);_0x49bb75['restore']();}[_0x4a00e7(0x331)](_0x12bad4){const _0x581874=_0x4a00e7;_0x43f643[_0x581874(0x1bf)](_0x12bad4,this);}}const _0x16a291='collab-text-anchor-',_0x234631=_0x4a00e7(0x35c),_0x4c8a0f=_0x4a00e7(0x125),_0x2607fb=0x6,_0x46a110=1.5,_0x103a7c=0x4,_0x41d2df=1.5,_0x257295='rgba(255,\x20255,\x20255,\x200.01)';class _0x59a7c4{constructor(_0x1cd139,_0x50fe20,_0x545cda,_0x1c0ae9){const _0x4981bd=_0x4a00e7;_0x41f19e(this,_0x4981bd(0x1f1),[]),_0x41f19e(this,_0x4981bd(0xf8),null),_0x41f19e(this,_0x4981bd(0x1f3),null),_0x41f19e(this,_0x4981bd(0x181),null),_0x41f19e(this,'_hideTimer',null),_0x41f19e(this,_0x4981bd(0x240),null),(this[_0x4981bd(0x2d9)]=_0x1cd139,this[_0x4981bd(0x13e)]=_0x50fe20,this[_0x4981bd(0x15e)]=_0x545cda,this[_0x4981bd(0x163)]=_0x1c0ae9,this[_0x4981bd(0x349)]());}set[_0x4a00e7(0x325)](_0x1ac480){const _0x2ae433=_0x4a00e7;_0x1ac480?(this[_0x2ae433(0x181)]&&this['_anchorDot'][_0x2ae433(0x330)](),this[_0x2ae433(0x1f3)]&&this[_0x2ae433(0x1f3)]['show']()):(this[_0x2ae433(0x181)]&&this['_anchorDot']['show'](),this[_0x2ae433(0x1f3)]&&this[_0x2ae433(0x1f3)][_0x2ae433(0x330)]());}[_0x4a00e7(0x264)](){const _0x27f221=_0x4a00e7;for(const _0x240c4e of this['_shapes'])_0x240c4e[_0x27f221(0x264)]();this[_0x27f221(0x1f3)]&&this['_textBubble'][_0x27f221(0x264)](),this[_0x27f221(0x181)]&&this[_0x27f221(0x181)][_0x27f221(0x264)](),this['_anchor']&&this[_0x27f221(0xf8)][_0x27f221(0x264)](),this[_0x27f221(0x240)]&&this[_0x27f221(0x240)]();}[_0x4a00e7(0x349)](){const _0x1e8d12=_0x4a00e7;var _0x4a1b2a;const {_docSkeleton:_0x35ef7f,_document:_0x8bc468}=this,{color:_0x351a8a,name:_0x3a9d85,ranges:_0x1469b4}=this[_0x1e8d12(0x2d9)],_0xb6350b=_0x8bc468[_0x1e8d12(0x13a)](),{docsLeft:_0x39daf3,docsTop:_0x538f8c}=_0xb6350b,_0x4ab44=new _0x41c79e[(_0x1e8d12(0x17d))](_0xb6350b,_0x35ef7f);for(const {startOffset:_0xbf9e23,endOffset:_0x235cfb,rangeType:_0x27ec86,segmentId:_0x2d9845,segmentPage:_0x58a801,collapsed:_0x5915c4,isActive:_0x1cdb6b}of _0x1469b4){const _0x4c1aff=_0x35ef7f[_0x1e8d12(0x108)](_0xbf9e23,!0x0,_0x2d9845,_0x58a801);let _0x51157c=_0x35ef7f['findNodePositionByCharIndex'](_0x235cfb,!0x0,_0x2d9845,_0x58a801);if(_0x51157c==null&&(_0x51157c=_0x35ef7f[_0x1e8d12(0x108)](_0x235cfb-0x1,!0x1,_0x2d9845,_0x58a801)),_0x1cdb6b){const {contentBoxPointGroup:_0x5a5889}=_0x4ab44[_0x1e8d12(0x22b)](_0x51157c,_0x51157c);if(_0x5a5889[_0x1e8d12(0x256)]===0x0)continue;this['_drawAnchor'](_0x351a8a,_0x5a5889,_0x39daf3,_0x538f8c,_0x3a9d85),this[_0x1e8d12(0x240)]=this[_0x1e8d12(0x2a5)]();}if(_0x4c1aff&&_0x51157c){if(_0x27ec86===_0x18ca73[_0x1e8d12(0x142)][_0x1e8d12(0x252)]){const _0x55e1cf=new _0x41c79e[(_0x1e8d12(0x1ff))](_0xb6350b,_0x35ef7f),{pointGroup:_0x2ffeb7}=(_0x4a1b2a=_0x55e1cf[_0x1e8d12(0x22b)](_0x4c1aff,_0x51157c))!=null?_0x4a1b2a:{};if(_0x2ffeb7==null||_0x2ffeb7[_0x1e8d12(0x256)]===0x0)continue;this[_0x1e8d12(0x295)](_0x351a8a,_0x2ffeb7,_0x39daf3,_0x538f8c);}else{if(!_0x5915c4){const {borderBoxPointGroup:_0x3ed143}=_0x4ab44[_0x1e8d12(0x22b)](_0x4c1aff,_0x51157c);if(_0x3ed143['length']===0x0)continue;this[_0x1e8d12(0x1ae)](_0x351a8a,_0x3ed143,_0x39daf3,_0x538f8c);}}}}}[_0x4a00e7(0x106)](_0x593b69,_0x49e9f6,_0x1cb2dc,_0x414976,_0x3955c5){const _0x3884a7=_0x4a00e7,_0x54c811=this[_0x3884a7(0x373)](_0x49e9f6),{left:_0x3061cd,top:_0x46a5e7,height:_0x198abe}=_0x54c811,_0x42f2a6=this[_0x3884a7(0x2f2)](),_0x155caa=_0x41d2df/_0x42f2a6,_0x2e6bb2=new _0x1000a2['Rect'](_0x16a291+_0x18ca73[_0x3884a7(0x368)](_0x2607fb),{'left':_0x3061cd+_0x1cb2dc-_0x155caa,'top':_0x46a5e7+_0x414976,'height':_0x198abe,'width':_0x46a110,'fill':_0x593b69||_0x1000a2[_0x3884a7(0x2e3)](_0x18ca73[_0x3884a7(0xff)][_0x3884a7(0x2e7)],0x0),'strokeWidth':_0x155caa,'stroke':_0x257295,'evented':!0x0});this[_0x3884a7(0xf8)]=_0x2e6bb2,this[_0x3884a7(0x13e)][_0x3884a7(0x2a7)](_0x2e6bb2,_0x41c79e[_0x3884a7(0xf6)]);const _0x36a379=new _0x1000a2['Rect'](_0x16a291+_0x18ca73[_0x3884a7(0x368)](_0x2607fb),{'left':_0x3061cd+_0x1cb2dc-_0x155caa,'top':_0x46a5e7+_0x414976-_0x103a7c/0x2,'height':_0x103a7c,'width':_0x103a7c,'fill':_0x593b69||_0x1000a2[_0x3884a7(0x2e3)](_0x18ca73[_0x3884a7(0xff)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x593b69||_0x1000a2['getColor'](_0x18ca73[_0x3884a7(0xff)][_0x3884a7(0x2e7)],0x0),'evented':!0x1});this['_anchorDot']=_0x36a379,this[_0x3884a7(0x13e)]['addObject'](_0x36a379,_0x41c79e['TEXT_RANGE_LAYER_INDEX']);const _0x37c59a=new _0x43f643(_0x16a291+_0x18ca73[_0x3884a7(0x368)](_0x2607fb),{'left':_0x3061cd+_0x1cb2dc-_0x155caa,'top':_0x46a5e7+_0x414976-_0x533c05,'text':_0x3955c5,'color':_0x593b69});this[_0x3884a7(0x1f3)]=_0x37c59a,this[_0x3884a7(0x13e)][_0x3884a7(0x2a7)](_0x37c59a,_0x41c79e[_0x3884a7(0xf6)]),this[_0x3884a7(0x325)]=!0x1;}[_0x4a00e7(0x2a5)](){const _0x378c67=_0x4a00e7,_0x5cfd47=this[_0x378c67(0xf8)][_0x378c67(0x25d)][_0x378c67(0x231)](()=>{this['_hover']=!0x0;}),_0x2dcb4f=this['_anchor']['onPointerLeave$'][_0x378c67(0x231)](()=>{const _0x4dee9a=_0x378c67;this[_0x4dee9a(0x1cf)]&&clearTimeout(this[_0x4dee9a(0x1cf)]),this[_0x4dee9a(0x1cf)]=setTimeout(()=>{const _0x34f554=_0x4dee9a;this[_0x34f554(0x325)]=!0x1;},0x7d0);});return()=>{const _0x4ce7eb=_0x378c67;_0x5cfd47[_0x4ce7eb(0x234)](),_0x2dcb4f['unsubscribe']();};}['_drawTextRange'](_0x48ad31,_0x370c85,_0x5e40ce,_0x3cea2b){const _0x133c5c=_0x4a00e7,_0x474b0b=new _0x18ca73[(_0x133c5c(0x169))](_0x48ad31)[_0x133c5c(0x2f1)](0.2)[_0x133c5c(0x1d1)](),_0x6a92f0=new _0x1000a2[(_0x133c5c(0x130))](_0x234631+_0x18ca73[_0x133c5c(0x368)](_0x2607fb),{'pointsGroup':_0x370c85,'fill':_0x474b0b||_0x1000a2[_0x133c5c(0x2e3)](_0x18ca73[_0x133c5c(0xff)]['black'],0.2),'left':_0x5e40ce,'top':_0x3cea2b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x133c5c(0x1f1)]['push'](_0x6a92f0),this['_scene'][_0x133c5c(0x2a7)](_0x6a92f0,_0x41c79e[_0x133c5c(0xf6)]);}[_0x4a00e7(0x295)](_0x17b8d6,_0x19effb,_0x49ce51,_0x3a5625){const _0x3a8b53=_0x4a00e7,_0x13196a=new _0x18ca73[(_0x3a8b53(0x169))](_0x17b8d6)['setAlpha'](0.2)[_0x3a8b53(0x1d1)](),_0x1eaac5=new _0x1000a2[(_0x3a8b53(0x130))](_0x4c8a0f+_0x18ca73['generateRandomId'](_0x2607fb),{'pointsGroup':_0x19effb,'fill':_0x13196a||_0x1000a2[_0x3a8b53(0x2e3)](_0x18ca73[_0x3a8b53(0xff)][_0x3a8b53(0x2e7)],0.2),'left':_0x49ce51,'top':_0x3a5625,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3a8b53(0x1f1)][_0x3a8b53(0x2b6)](_0x1eaac5),this['_scene'][_0x3a8b53(0x2a7)](_0x1eaac5,_0x41c79e[_0x3a8b53(0xf6)]);}['_getAnchorBounding'](_0x3c5a76){const _0x437661=_0x3c5a76[0x0],_0x559646=_0x437661[0x0],_0x5a3605=_0x437661[0x2],{x:_0x57a5ea,y:_0x5a7429}=_0x559646,{x:_0x8a22c9,y:_0x32f977}=_0x5a3605;return{'left':_0x57a5ea,'top':_0x5a7429,'width':_0x8a22c9-_0x57a5ea,'height':_0x32f977-_0x5a7429};}[_0x4a00e7(0x2f2)](){const _0x52ccfa=_0x4a00e7,{scaleX:_0x2e9b64,scaleY:_0x1588ec}=this['_scene'][_0x52ccfa(0x376)]();return Math[_0x52ccfa(0x226)](_0x2e9b64,_0x1588ec);}}var _0x7aa878=Object['getOwnPropertyDescriptor'],_0x334df1=(_0x1ab568,_0x4fe8e0,_0x279541,_0x4188f5)=>{const _0x5a6431=_0x4a00e7;for(var _0x6fd4e0=_0x4188f5>0x1?void 0x0:_0x4188f5?_0x7aa878(_0x4fe8e0,_0x279541):_0x4fe8e0,_0x2adf54=_0x1ab568[_0x5a6431(0x256)]-0x1,_0x140c97;_0x2adf54>=0x0;_0x2adf54--)(_0x140c97=_0x1ab568[_0x2adf54])&&(_0x6fd4e0=_0x140c97(_0x6fd4e0)||_0x6fd4e0);return _0x6fd4e0;},_0x508f15=(_0x13ac95,_0x44e3ff)=>(_0x58455b,_0x4f63c9)=>_0x44e3ff(_0x58455b,_0x4f63c9,_0x13ac95);let _0x4067e7=class extends _0x18ca73[_0x4a00e7(0x22f)]{constructor(_0x329c93,_0x5bd619,_0x36f21d,_0x37d33b,_0x2d3014){const _0x448359=_0x4a00e7;super(),_0x41f19e(this,_0x448359(0x347),[]),_0x41f19e(this,_0x448359(0x123),[]),(this[_0x448359(0x18d)]=_0x329c93,this['_docSkeletonManagerService']=_0x5bd619,this[_0x448359(0x270)]=_0x36f21d,this[_0x448359(0x29c)]=_0x37d33b,this['_themeService']=_0x2d3014,this[_0x448359(0x1ee)]());}[_0x4a00e7(0x1ee)](){const _0x273023=_0x4a00e7,_0x5c0e28=this[_0x273023(0x18d)][_0x273023(0x36e)],_0x40aa8d=this[_0x273023(0x30f)];this[_0x273023(0x2a8)](_0x16b079[_0x273023(0x36d)]([this['_collabCursorController'][_0x273023(0x265)](_0x5c0e28),this[_0x273023(0x22c)][_0x273023(0x19a)]])[_0x273023(0x217)](_0x4dfd3a[_0x273023(0x33d)](([_0x3eccee,_0xee036a])=>({'skeleton':_0x40aa8d[_0x273023(0x18f)](),'cursors':[..._0x3eccee[_0x273023(0x2a4)]()][_0x273023(0x353)](_0x3c3566=>({..._0x3c3566,'color':this[_0x273023(0x22c)]['getColorFromTheme'](_0x3c3566[_0x273023(0x111)])}))})))[_0x273023(0x12b)](_0x96bef7=>{const _0x6128d7=_0x273023;if(this[_0x6128d7(0x309)](),_0x96bef7){const {skeleton:_0x293601,cursors:_0x1d5c41}=_0x96bef7;this[_0x6128d7(0x367)](_0x293601,_0x1d5c41);}})),this[_0x273023(0x11f)](),this[_0x273023(0x18e)]();}[_0x4a00e7(0x367)](_0x24e9f1,_0x3dee78){const _0x386a7c=_0x4a00e7,{scene:_0x4c8148,mainComponent:_0x2464ad}=this['_context'],_0x15d258=_0x3dee78['map'](_0x419648=>new _0x59a7c4(_0x419648,_0x4c8148,_0x24e9f1,_0x2464ad));this['_cursorShapes']=_0x15d258,this[_0x386a7c(0x123)]=_0x3dee78;}[_0x4a00e7(0x150)](){const _0x3777c3=_0x4a00e7;this[_0x3777c3(0x309)]();const {scene:_0x5e9765,mainComponent:_0x2aaad7}=this['_context'],_0x31cc18=this['_docSkeletonManagerService'][_0x3777c3(0x18f)](),_0x42e251=this['_cursors'][_0x3777c3(0x33d)](_0x501c46=>new _0x59a7c4(_0x501c46,_0x5e9765,_0x31cc18,_0x2aaad7));this[_0x3777c3(0x347)]=_0x42e251;}[_0x4a00e7(0x309)](){const _0x4fe570=_0x4a00e7;this[_0x4fe570(0x347)][_0x4fe570(0x28f)](_0x10b9ae=>_0x10b9ae[_0x4fe570(0x264)]()),this[_0x4fe570(0x347)]=[];}['_initCommandExecutedListener'](){const _0x330ddc=_0x4a00e7,_0x16d73f=[_0x41c79e[_0x330ddc(0x167)]['id']];this[_0x330ddc(0x2a8)](this['_commandService']['onCommandExecuted'](_0x46eb40=>{const _0x4e5078=_0x330ddc;_0x16d73f[_0x4e5078(0x1d8)](_0x46eb40['id'])&&_0x46eb40[_0x4e5078(0x2de)][_0x4e5078(0x36e)]===this[_0x4e5078(0x18d)][_0x4e5078(0x36e)]&&this['_refreshCollabCursors']();}));}[_0x4a00e7(0x11f)](){const _0x1ec650=_0x4a00e7;this[_0x1ec650(0x2a8)](_0x18ca73[_0x1ec650(0x35e)](this[_0x1ec650(0x18d)][_0x1ec650(0x281)][_0x1ec650(0x12c)])[_0x1ec650(0x217)](_0x4dfd3a[_0x1ec650(0x156)](_0x1df755=>_0x1df755[_0x1ec650(0x2a0)]===_0x1000a2['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x1ec650(0x152)]),_0x4dfd3a[_0x1ec650(0x121)](0x10))[_0x1ec650(0x12b)](()=>{const _0x4a50a5=_0x1ec650;this[_0x4a50a5(0x150)]();}));}};_0x4067e7=_0x334df1([_0x508f15(0x1,_0x18ca73[_0x4a00e7(0x29b)](_0x40419e['DocSkeletonManagerService'])),_0x508f15(0x2,_0x18ca73[_0x4a00e7(0x29b)](_0x54c140)),_0x508f15(0x3,_0x18ca73[_0x4a00e7(0x2ea)]),_0x508f15(0x4,_0x18ca73['Inject'](_0x18ca73[_0x4a00e7(0x1bb)]))],_0x4067e7);const _0x4a7550=0x1,_0x24fa2f=1.5;class _0x4044b0 extends _0x1000a2['Shape']{constructor(_0xe162b,_0x409745){const _0x5a104b=_0x4a00e7;super(_0xe162b,_0x409745),_0x41f19e(this,_0x5a104b(0x316)),_0x41f19e(this,'_hovered',!0x1),_0x41f19e(this,'_range'),_0x41f19e(this,_0x5a104b(0x1f7),''),_0x41f19e(this,_0x5a104b(0x310),_0x5a104b(0xf1)),_0x41f19e(this,_0x5a104b(0x300)),(_0x409745&&this[_0x5a104b(0x2da)](_0x409745),this[_0x5a104b(0x25d)][_0x5a104b(0x231)](()=>this[_0x5a104b(0x2da)]({'hovered':!0x0})),this[_0x5a104b(0x2e8)][_0x5a104b(0x231)](()=>this[_0x5a104b(0x2da)]({'hovered':!0x1})));}[_0x4a00e7(0x2da)](_0x497cb0){const _0x180079=_0x4a00e7;var _0x53808a,_0x25c7f8,_0x5a2eea,_0x15c4c3,_0x417e56,_0x44ded8;this[_0x180079(0x316)]=(_0x53808a=_0x497cb0['color'])!=null?_0x53808a:this['_color'],this[_0x180079(0x354)]=(_0x25c7f8=_0x497cb0[_0x180079(0x301)])!=null?_0x25c7f8:this[_0x180079(0x354)],this['_range']=(_0x5a2eea=_0x497cb0[_0x180079(0x12f)])!=null?_0x5a2eea:this[_0x180079(0x11b)],this[_0x180079(0x1f7)]=(_0x15c4c3=_0x497cb0[_0x180079(0x287)])!=null?_0x15c4c3:this[_0x180079(0x1f7)],this['_labelPosition']=(_0x417e56=_0x497cb0[_0x180079(0x24b)])!=null?_0x417e56:this[_0x180079(0x310)],this[_0x180079(0x300)]=(_0x44ded8=_0x497cb0[_0x180079(0x120)])!=null?_0x44ded8:this[_0x180079(0x300)],this[_0x180079(0x2d0)]({'width':_0x497cb0[_0x180079(0x138)],'height':_0x497cb0['height']});}[_0x4a00e7(0x17a)](_0x3de351){const _0x4dda93=_0x4a00e7,{row:_0x1612bb,column:_0x420bba}=_0x3de351;if(_0x1612bb>=this[_0x4dda93(0x11b)][_0x4dda93(0x1eb)]&&_0x1612bb<=this['_range'][_0x4dda93(0x192)]&&_0x420bba>=this['_range'][_0x4dda93(0x372)]&&_0x420bba<=this[_0x4dda93(0x11b)][_0x4dda93(0x1fd)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4dda93(0x2da)]({'hovered':!0x1});}[_0x4a00e7(0x1ef)](_0x4f1fa0){return!0x1;}[_0x4a00e7(0x331)](_0x18d73b){const _0x4cf531=_0x4a00e7;_0x1000a2[_0x4cf531(0x285)]['drawWith'](_0x18d73b,{'width':this[_0x4cf531(0x138)],'height':this['height'],'strokeWidth':_0x24fa2f,'stroke':this[_0x4cf531(0x316)],'evented':!0x1,'fill':this[_0x4cf531(0x300)]}),this[_0x4cf531(0x354)]&&(_0x18d73b['save'](),_0x18d73b[_0x4cf531(0x224)](0x1,0x0,0x0,0x1,this['width'],this[_0x4cf531(0x310)]===_0x4cf531(0x33b)?0x0:-_0x533c05),_0x43f643[_0x4cf531(0x1bf)](_0x18d73b,{'text':this['_name'],'color':this[_0x4cf531(0x316)]}),_0x18d73b[_0x4cf531(0x112)]());}}var _0x17acec=Object[_0x4a00e7(0x1f9)],_0x456c2a=(_0x1d055d,_0x3f31c8,_0x520918,_0x15fe87)=>{const _0x3975c4=_0x4a00e7;for(var _0x1e68a6=_0x15fe87>0x1?void 0x0:_0x15fe87?_0x17acec(_0x3f31c8,_0x520918):_0x3f31c8,_0x2311cb=_0x1d055d[_0x3975c4(0x256)]-0x1,_0x48e93d;_0x2311cb>=0x0;_0x2311cb--)(_0x48e93d=_0x1d055d[_0x2311cb])&&(_0x1e68a6=_0x48e93d(_0x1e68a6)||_0x1e68a6);return _0x1e68a6;},_0x37136e=(_0x49f681,_0x517bf7)=>(_0x548388,_0x39ec10)=>_0x517bf7(_0x548388,_0x39ec10,_0x49f681);const _0x3800ec=0x1389;let _0xf7456=class extends _0x18ca73['RxDisposable']{constructor(_0x37e7a6,_0xfe048d,_0x1dfb8b,_0x6145e1){const _0x378324=_0x4a00e7;super(),_0x41f19e(this,_0x378324(0x123),new Set()),_0x41f19e(this,_0x378324(0x28d),null),(this['_context']=_0x37e7a6,this['_sheetSkeletonManagerService']=_0xfe048d,this[_0x378324(0x270)]=_0x1dfb8b,this['_themeService']=_0x6145e1,this[_0x378324(0x1ee)]());}['_init'](){const _0x549020=_0x4a00e7;this[_0x549020(0x131)][_0x549020(0x1d5)]['pipe'](_0x4dfd3a[_0x549020(0x18a)](this[_0x549020(0x216)]),_0x4dfd3a['switchMap'](_0x458d9c=>{const _0x37ff3b=_0x549020;if(_0x458d9c){const _0x5f95b7=_0x458d9c['sheetId'];return _0x16b079[_0x37ff3b(0x36d)](this[_0x37ff3b(0x270)]['getCollabCursors$'](this[_0x37ff3b(0x18d)]['unitId']),this[_0x37ff3b(0x22c)][_0x37ff3b(0x19a)])[_0x37ff3b(0x217)](_0x4dfd3a[_0x37ff3b(0x33d)](([_0x1354d9,_0x5a45d3])=>{const _0x8d7f70=new Map();return _0x1354d9['forEach']((_0x71fb14,_0x28cdbb)=>{const _0x263bc2=_0x27be;if(_0x71fb14[_0x263bc2(0x23c)]===_0x5f95b7){const _0x3aa364={..._0x71fb14};_0x3aa364[_0x263bc2(0x111)]=this[_0x263bc2(0x22c)][_0x263bc2(0x218)](_0x71fb14['color']),_0x8d7f70[_0x263bc2(0x329)](_0x28cdbb,_0x3aa364);}}),{'skeleton':_0x458d9c,'cursors':_0x8d7f70};}));}return _0x16b079['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0xd9779e,cursors:_0x4526c2})=>{const _0x13f30e=_0x549020;this['_removeCollabCursors'](),_0xd9779e&&this[_0x13f30e(0x367)](_0xd9779e,_0x4526c2);}),this[_0x549020(0x131)]['currentSkeleton$']['subscribe'](_0x5b32fd=>{const _0x48fee0=_0x549020;if(_0x5b32fd==null)return;const {skeleton:_0x1fc2e7}=_0x5b32fd,{scene:_0x36942d}=this[_0x48fee0(0x18d)];_0x36942d[_0x48fee0(0x1a9)]['subscribeEvent'](_0x18ca73[_0x48fee0(0x258)](_0x488829=>{const _0x3cca67=_0x48fee0;var _0x2f889e,_0x59ee30;const {offsetX:_0x1c838b,offsetY:_0x5e3c2a}=_0x488829,{x:_0x11f557,y:_0x5336b9}=_0x36942d['getRelativeToViewportCoord'](_0x1000a2[_0x3cca67(0x12d)]['FromArray']([_0x1c838b,_0x5e3c2a])),{scaleX:_0x5f5852,scaleY:_0x2d9ba8}=_0x36942d[_0x3cca67(0x376)](),_0x4d51e1=_0x36942d[_0x3cca67(0x31d)](_0x1000a2[_0x3cca67(0x2fc)][_0x3cca67(0x20b)]),_0x49ee96=_0x36942d[_0x3cca67(0x193)](_0x1000a2[_0x3cca67(0x12d)]['FromArray']([_0x11f557,_0x5336b9]),_0x4d51e1),_0x5211e6=_0x1fc2e7['getCellPositionByOffset'](_0x1c838b,_0x5e3c2a,_0x5f5852,_0x2d9ba8,_0x49ee96);((_0x2f889e=this[_0x3cca67(0x28d)])==null?void 0x0:_0x2f889e['column'])===_0x5211e6['column']&&((_0x59ee30=this[_0x3cca67(0x28d)])==null?void 0x0:_0x59ee30[_0x3cca67(0x117)])===_0x5211e6[_0x3cca67(0x117)]||this['_cursors'][_0x3cca67(0x28f)](_0x22bd50=>{const _0x4b2cee=_0x3cca67;_0x22bd50[_0x4b2cee(0x17a)](_0x5211e6);});},0x64));});}['_updateCollabCursors'](_0x1ffac8,_0x360a94){const _0x4b45ba=_0x4a00e7;var _0x154391;const _0x2bfe57=(_0x154391=this[_0x4b45ba(0x131)][_0x4b45ba(0x15a)]())==null?void 0x0:_0x154391['skeleton'];if(!_0x2bfe57)return;const _0x1cfc01=this[_0x4b45ba(0x1da)]();if(!_0x1cfc01)return;this[_0x4b45ba(0x123)]['forEach'](_0x563f4d=>{const _0x54a90b=_0x4b45ba;_0x563f4d[_0x54a90b(0x1db)]();});const {scene:_0x4a4c72}=_0x1cfc01,_0xd531=_0x122edb(Array[_0x4b45ba(0x21f)](_0x360a94[_0x4b45ba(0x2a4)]()))[_0x4b45ba(0x33d)](_0x232e11=>{const _0x3efff9=_0x4b45ba,{color:_0x55e451,range:_0x266ab4,name:_0x51f35d,selection:_0x42acb8,sheetID:_0x317d31}=_0x232e11,{startColumn:_0x566e18,startRow:_0x2b54f0,endColumn:_0x8004f7,endRow:_0x315e86}=_0x266ab4,_0x285c1a=_0x2779ee[_0x3efff9(0xfc)](_0x2b54f0,_0x566e18,_0x4a4c72,_0x2bfe57),_0x5a5b1e=_0x2779ee['getCoordByCell'](_0x315e86,_0x8004f7,_0x4a4c72,_0x2bfe57),{columnHeaderHeightAndMarginTop:_0x22bd8a}=_0x2bfe57,{startX:_0x392de7,startY:_0x2591cf}=_0x285c1a,{endX:_0xcb7c05,endY:_0x433914}=_0x5a5b1e,_0x199246=_0xcb7c05-_0x392de7,_0x177af8=_0x433914-_0x2591cf,_0x3ecc0b={'labelPosition':_0x2591cf-_0x22bd8a>=_0x533c05?_0x3efff9(0xf1):'bottom','sheetID':_0x317d31,'range':_0x266ab4,'color':_0x55e451,'name':_0x51f35d,'selection':_0x42acb8,'left':_0x392de7,'top':_0x2591cf,'width':_0x199246,'height':_0x177af8,'evented':!0x1,'zIndex':_0x3800ec};return new _0x4044b0(_0x51f35d,_0x3ecc0b);});_0x4a4c72[_0x4b45ba(0x278)](_0xd531,_0x4a7550),this[_0x4b45ba(0x123)]=new Set(_0xd531);}[_0x4a00e7(0x309)](){const _0x1618f0=_0x4a00e7;var _0x822271;(_0x822271=this[_0x1618f0(0x123)])==null||_0x822271[_0x1618f0(0x28f)](_0x364d71=>_0x364d71[_0x1618f0(0x264)]());}[_0x4a00e7(0x1da)](){const _0x12814f=_0x4a00e7;return _0x2779ee[_0x12814f(0x1dd)](this[_0x12814f(0x18d)][_0x12814f(0x249)],this['_context']);}};_0xf7456=_0x456c2a([_0x37136e(0x1,_0x18ca73[_0x4a00e7(0x29b)](_0x2779ee[_0x4a00e7(0x14f)])),_0x37136e(0x2,_0x18ca73[_0x4a00e7(0x29b)](_0x54c140)),_0x37136e(0x3,_0x18ca73['Inject'](_0x18ca73['ThemeService']))],_0xf7456);function _0x122edb(_0x44b20c){const _0x59affb=_0x4a00e7,_0x483abb=new Map();return _0x44b20c[_0x59affb(0x28f)](_0x33d87f=>{const _0x3a7706=_0x59affb;if(_0x483abb[_0x3a7706(0x133)](_0x33d87f['selection'])){const _0x123588=_0x483abb['get'](_0x33d87f[_0x3a7706(0x137)]);_0x123588[_0x3a7706(0x287)]+=',\x20'+_0x33d87f[_0x3a7706(0x287)];}else _0x483abb[_0x3a7706(0x329)](_0x33d87f[_0x3a7706(0x137)],_0x33d87f);}),Array[_0x59affb(0x21f)](_0x483abb[_0x59affb(0x2a4)]());}var _0x85241=Object[_0x4a00e7(0x1f9)],_0x3b532d=(_0x3795ba,_0x5c2276,_0x5c4a65,_0x891dd2)=>{const _0xcb3448=_0x4a00e7;for(var _0x1b5650=_0x891dd2>0x1?void 0x0:_0x891dd2?_0x85241(_0x5c2276,_0x5c4a65):_0x5c2276,_0x32c24c=_0x3795ba[_0xcb3448(0x256)]-0x1,_0x411c56;_0x32c24c>=0x0;_0x32c24c--)(_0x411c56=_0x3795ba[_0x32c24c])&&(_0x1b5650=_0x411c56(_0x1b5650)||_0x1b5650);return _0x1b5650;},_0x54940d=(_0x4c66e8,_0x591cbf)=>(_0x2f8f78,_0x66b849)=>_0x591cbf(_0x2f8f78,_0x66b849,_0x4c66e8);let _0x3c5848=class extends _0x18ca73[_0x4a00e7(0x25b)]{constructor(_0x30bd5b,_0x4a7c6e,_0x1d17e6,_0x2e4bf6,_0x10a2d7,_0x471e9a){const _0x2247e8=_0x4a00e7;super(),this[_0x2247e8(0x1ba)]=_0x30bd5b,this['_localCacheService']=_0x4a7c6e,this['_collaborationUIEventService']=_0x1d17e6,this[_0x2247e8(0x27c)]=_0x2e4bf6,this[_0x2247e8(0x333)]=_0x10a2d7,this[_0x2247e8(0x18b)]=_0x471e9a,this[_0x2247e8(0x297)](),this[_0x2247e8(0x1a2)]();}[_0x4a00e7(0x297)](){const _0x56dfdd=_0x4a00e7;this[_0x56dfdd(0x2a8)](this[_0x56dfdd(0x1ba)]['registerBeforeClose'](()=>{const _0x87109d=_0x56dfdd;if(this[_0x87109d(0x16c)][_0x87109d(0x344)][_0x87109d(0x209)])return this[_0x87109d(0x18b)]['t'](_0x87109d(0x1cc));}));}[_0x4a00e7(0x1a2)](){const _0x1dc0ff=_0x4a00e7;this[_0x1dc0ff(0x2a8)](this[_0x1dc0ff(0x37e)][_0x1dc0ff(0x184)][_0x1dc0ff(0x12b)](_0x2c0a9a=>{const _0x153985=_0x1dc0ff;_0x2c0a9a['id']===_0x2fe882[_0x153985(0x176)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x153985(0x321)]({'type':_0x578c52[_0x153985(0x2d4)][_0x153985(0x1e0)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x2c0a9a['id']===_0x2fe882['CollaborationUIEventId'][_0x153985(0x261)]&&this[_0x153985(0x27c)][_0x153985(0x321)]({'type':_0x578c52[_0x153985(0x2d4)][_0x153985(0x1e0)],'content':this['_localeService']['t'](_0x153985(0x10c))}),_0x2c0a9a['id']===_0x2fe882[_0x153985(0x176)]['PERMISSION_DENIED']&&this[_0x153985(0x333)][_0x153985(0x321)]({'title':this[_0x153985(0x18b)]['t']('permission.title'),'content':this[_0x153985(0x18b)]['t']('permission.content'),'type':_0x153985(0x17e),'duration':0x0}),_0x2c0a9a['id']===_0x2fe882[_0x153985(0x176)][_0x153985(0x26c)]&&this[_0x153985(0x27c)][_0x153985(0x321)]({'type':_0x578c52['MessageType']['Error'],'content':this[_0x153985(0x18b)]['t']('collaboration.closeRoom')+'('+_0x2c0a9a[_0x153985(0x36f)]+')'}),_0x2c0a9a['id']===_0x2fe882['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x153985(0x27c)][_0x153985(0x321)]({'type':_0x578c52[_0x153985(0x2d4)]['Warning'],'content':this[_0x153985(0x18b)]['t'](_0x2c0a9a[_0x153985(0x36f)]||'')}),_0x2c0a9a['id']===_0x2fe882[_0x153985(0x176)][_0x153985(0x20c)]&&this[_0x153985(0x27c)][_0x153985(0x321)]({'type':_0x578c52[_0x153985(0x2d4)]['Warning'],'content':this[_0x153985(0x18b)]['t'](_0x153985(0x198))}),_0x2c0a9a['id']===_0x2fe882[_0x153985(0x176)]['SOCKET_FAILED']&&this[_0x153985(0x27c)][_0x153985(0x321)]({'type':_0x578c52['MessageType']['Error'],'content':this[_0x153985(0x18b)]['t']('session.connection-failed')}),_0x2c0a9a['id']===_0x2fe882[_0x153985(0x176)][_0x153985(0x2c3)]&&this[_0x153985(0x27c)]['show']({'type':_0x578c52[_0x153985(0x2d4)][_0x153985(0x2fa)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x3c5848=_0x3b532d([_0x54940d(0x0,_0x5121a3[_0x4a00e7(0x27d)]),_0x54940d(0x1,_0x2fe882[_0x4a00e7(0x190)]),_0x54940d(0x2,_0x18ca73[_0x4a00e7(0x29b)](_0x2fe882['CollaborationUIEventService'])),_0x54940d(0x3,_0x5121a3[_0x4a00e7(0x21b)]),_0x54940d(0x4,_0x5121a3[_0x4a00e7(0x2db)]),_0x54940d(0x5,_0x18ca73[_0x4a00e7(0x29b)](_0x18ca73['LocaleService']))],_0x3c5848);const _0x574e12=_0x4a00e7(0x1f0),_0x44c505={};var _0x1d59ad=Object[_0x4a00e7(0x1f9)],_0x222dbc=(_0x5a7a7b,_0x5a7fee,_0x10e8fd,_0x416c4d)=>{for(var _0x14e637=_0x416c4d>0x1?void 0x0:_0x416c4d?_0x1d59ad(_0x5a7fee,_0x10e8fd):_0x5a7fee,_0x1b83c5=_0x5a7a7b['length']-0x1,_0x5229e;_0x1b83c5>=0x0;_0x1b83c5--)(_0x5229e=_0x5a7a7b[_0x1b83c5])&&(_0x14e637=_0x5229e(_0x14e637)||_0x14e637);return _0x14e637;},_0x401a94=(_0x2df176,_0x23cd1b)=>(_0x459ab3,_0x431ac3)=>_0x23cd1b(_0x459ab3,_0x431ac3,_0x2df176);let _0x52e36c=class{constructor(_0x5497fa,_0x178c33){const _0x10814a=_0x4a00e7;this['_transformService']=_0x5497fa,this[_0x10814a(0x13b)]=_0x178c33;}[_0x4a00e7(0x2c6)](_0x3bf139){const _0x5ed89b=_0x4a00e7;this[_0x5ed89b(0x34b)](_0x3bf139),this[_0x5ed89b(0x205)](_0x3bf139);}[_0x4a00e7(0x146)](_0x1711a6){const _0x3a5e83=_0x4a00e7,{unitID:_0x462ac6}=_0x1711a6,_0x2d9589=this[_0x3a5e83(0x13b)][_0x3a5e83(0x201)](_0x462ac6)[_0x3a5e83(0x2f8)](_0x41c79e[_0x3a5e83(0x358)]),{redoCache:_0x1e79b1}=_0x2d9589[_0x3a5e83(0x1af)]();if(_0x1e79b1[_0x3a5e83(0x256)]===0x0)return _0x1711a6;let _0x3032c4=_0x18ca73[_0x3a5e83(0x1b3)][_0x3a5e83(0x1a3)](_0x1711a6[_0x3a5e83(0x37a)][0x0]);for(let _0x340f65=0x0;_0x340f65<_0x1e79b1[_0x3a5e83(0x256)];_0x340f65++){const _0x323c2f={'id':_0x3a5e83(0x20e),'params':{..._0x1e79b1[_0x340f65]}},_0x4e401c=this['_transformService'][_0x3a5e83(0x2d3)](_0x3032c4,_0x323c2f,!0x1);if(_0x518b96[_0x3a5e83(0x326)](_0x4e401c))throw _0x4e401c['error'];_0x3032c4=_0x4e401c[_0x3a5e83(0x203)];}return{..._0x18ca73['Tools'][_0x3a5e83(0x1a3)](_0x1711a6),'mutations':[_0x3032c4]};}[_0x4a00e7(0x34b)](_0xeb016d){const _0x11f986=_0x4a00e7,{unitID:_0x3695b0}=_0xeb016d,_0x2e93be=this[_0x11f986(0x13b)]['getRenderById'](_0x3695b0)[_0x11f986(0x2f8)](_0x41c79e[_0x11f986(0x358)]),{undoCache:_0x4a4e3e,redoCache:_0x8abba1}=_0x2e93be[_0x11f986(0x1af)]();if(_0x4a4e3e[_0x11f986(0x256)]===0x0||_0x8abba1[_0x11f986(0x256)]===0x0)return;const _0x10bb4e=[],_0x4a7c26=[];let _0x1ee22b=_0x18ca73[_0x11f986(0x1b3)][_0x11f986(0x1a3)](_0xeb016d['mutations'][0x0]),_0x15cce5=_0x18ca73['Tools']['deepClone'](_0xeb016d[_0x11f986(0x37a)][0x0]);for(let _0x5579e8=_0x4a4e3e[_0x11f986(0x256)]-0x1;_0x5579e8>=0x0;_0x5579e8--){const _0x22c591={'id':'doc.mutation.rich-text-editing','params':{..._0x4a4e3e[_0x5579e8]}},_0x5d9987={'id':_0x11f986(0x20e),'params':{..._0x8abba1[_0x5579e8]}},_0x3df05f=this[_0x11f986(0x1a6)]['transformMutation'](_0x1ee22b,_0x22c591,!0x1),_0x1e86d0=this[_0x11f986(0x1a6)][_0x11f986(0x2d3)](_0x15cce5,_0x5d9987,!0x1);if(_0x518b96[_0x11f986(0x326)](_0x3df05f))throw _0x3df05f[_0x11f986(0x17e)];if(_0x518b96[_0x11f986(0x326)](_0x1e86d0))throw _0x1e86d0[_0x11f986(0x17e)];_0x10bb4e['unshift'](_0x3df05f[_0x11f986(0x381)]['params']),_0x4a7c26[_0x11f986(0x1ca)](_0x1e86d0[_0x11f986(0x381)][_0x11f986(0x2de)]),_0x1ee22b=_0x3df05f[_0x11f986(0x203)],_0x15cce5=_0x1e86d0[_0x11f986(0x203)];}_0x2e93be[_0x11f986(0x34a)]({'undoCache':_0x10bb4e,'redoCache':_0x4a7c26});}['_transformPreviousActiveRange'](_0x5d2469){const _0x1b1010=_0x4a00e7,{unitID:_0x1d86b7}=_0x5d2469,_0x596e4d=this[_0x1b1010(0x13b)][_0x1b1010(0x201)](_0x1d86b7)[_0x1b1010(0x2f8)](_0x41c79e[_0x1b1010(0x358)]),_0x8c1e69=_0x596e4d[_0x1b1010(0x185)]();if(_0x8c1e69==null)return;const _0x1648bb=[{'id':_0x1b1010(0x20e),'params':{'unitId':_0x5d2469[_0x1b1010(0x2d2)],'actions':null,'textRanges':[_0x8c1e69]}}],_0x4fd3ad=this[_0x1b1010(0x1a6)]['transformMutationsWithChangeset'](_0x5d2469,_0x1648bb);if(!_0x518b96[_0x1b1010(0x291)](_0x4fd3ad))throw _0x4fd3ad['error'];const _0x586e90=_0x4fd3ad[_0x1b1010(0x381)][0x0][_0x1b1010(0x2de)][_0x1b1010(0x2eb)];Array['isArray'](_0x586e90)&&_0x586e90[_0x1b1010(0x256)]&&_0x596e4d[_0x1b1010(0xfe)](_0x586e90[0x0]);}};_0x52e36c=_0x222dbc([_0x401a94(0x0,_0x518b96[_0x4a00e7(0x16a)]),_0x401a94(0x1,_0x1000a2[_0x4a00e7(0x214)])],_0x52e36c);var _0x91fe56=Object[_0x4a00e7(0x1f9)],_0x48c7b0=(_0x1d40b5,_0x313afa,_0x365836,_0x53abfd)=>{const _0xc7e54a=_0x4a00e7;for(var _0x51e81a=_0x53abfd>0x1?void 0x0:_0x53abfd?_0x91fe56(_0x313afa,_0x365836):_0x313afa,_0x3f4b94=_0x1d40b5[_0xc7e54a(0x256)]-0x1,_0x3a8093;_0x3f4b94>=0x0;_0x3f4b94--)(_0x3a8093=_0x1d40b5[_0x3f4b94])&&(_0x51e81a=_0x3a8093(_0x51e81a)||_0x51e81a);return _0x51e81a;},_0x37a589=(_0x5b3dd6,_0xa087fc)=>(_0x1efb7e,_0x69ba0f)=>_0xa087fc(_0x1efb7e,_0x69ba0f,_0x5b3dd6);let _0x52b88a=class{constructor(_0x32037f,_0x51540e,_0x49212c){const _0x3392db=_0x4a00e7;this['_injector']=_0x32037f,this['_transformService']=_0x51540e,this[_0x3392db(0x239)]=_0x49212c;}[_0x4a00e7(0x206)](_0x247ef9){const _0x2061d2=_0x4a00e7;this[_0x2061d2(0x191)](_0x247ef9);}[_0x4a00e7(0x146)](_0xbcc541){const _0x202746=_0x4a00e7,{unitID:_0x3ea27b}=_0xbcc541,{collaboration:_0x328bdf}=this[_0x202746(0x239)]['getStateCache'](_0x3ea27b);if(_0x328bdf[_0x202746(0x256)]===0x0)return _0xbcc541;let _0x11dd33=_0x18ca73['Tools'][_0x202746(0x1a3)](_0xbcc541[_0x202746(0x37a)][0x0]);for(let _0x1e320c=0x0;_0x1e320c<_0x328bdf[_0x202746(0x256)];_0x1e320c++){const _0x4627fa={'id':_0x202746(0x20e),'params':{'unitId':_0x328bdf[_0x1e320c][_0x202746(0x36e)],..._0x328bdf[_0x1e320c][_0x202746(0x25e)]}},_0x184414=this[_0x202746(0x1a6)][_0x202746(0x2d3)](_0x11dd33,_0x4627fa,!0x1);if(_0x518b96[_0x202746(0x326)](_0x184414))throw _0x184414[_0x202746(0x17e)];_0x11dd33=_0x184414[_0x202746(0x203)];}return{..._0x18ca73[_0x202746(0x1b3)]['deepClone'](_0xbcc541),'mutations':[_0x11dd33]};}[_0x4a00e7(0x191)](_0xd33033){const _0x1d64c3=_0x4a00e7,{unitID:_0x1d1191}=_0xd33033,{history:_0x5cf010,collaboration:_0x12ee5e}=this[_0x1d64c3(0x239)][_0x1d64c3(0x173)](_0x1d1191);if(_0x5cf010[_0x1d64c3(0x256)]===0x0&&_0x12ee5e[_0x1d64c3(0x256)]===0x0)return;const _0x283c95=[],_0x499214=[];let _0x27ce30=_0x18ca73[_0x1d64c3(0x1b3)][_0x1d64c3(0x1a3)](_0xd33033[_0x1d64c3(0x37a)][0x0]),_0x21f8ee=_0x18ca73[_0x1d64c3(0x1b3)][_0x1d64c3(0x1a3)](_0xd33033[_0x1d64c3(0x37a)][0x0]);for(let _0x267b7c=_0x5cf010[_0x1d64c3(0x256)]-0x1;_0x267b7c>=0x0;_0x267b7c--){const _0x56615f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5cf010[_0x267b7c][_0x1d64c3(0x36e)],..._0x5cf010[_0x267b7c]['undoState']}},_0x313773={'id':_0x1d64c3(0x20e),'params':{'unitId':_0x5cf010[_0x267b7c][_0x1d64c3(0x36e)],..._0x5cf010[_0x267b7c][_0x1d64c3(0x25e)]}},_0xc21a95=this['_transformService'][_0x1d64c3(0x2d3)](_0x27ce30,_0x56615f,!0x1),_0x1e7ce1=this[_0x1d64c3(0x1a6)][_0x1d64c3(0x2d3)](_0x21f8ee,_0x313773,!0x1);if(_0x518b96[_0x1d64c3(0x326)](_0xc21a95))throw _0xc21a95[_0x1d64c3(0x17e)];if(_0x518b96['isTransformMutationFailure'](_0x1e7ce1))throw _0x1e7ce1[_0x1d64c3(0x17e)];_0x283c95['unshift']({..._0x5cf010[_0x267b7c],'undoState':_0xc21a95[_0x1d64c3(0x381)]['params'],'redoState':_0x1e7ce1[_0x1d64c3(0x381)][_0x1d64c3(0x2de)]}),_0x27ce30=_0xc21a95[_0x1d64c3(0x203)],_0x21f8ee=_0x1e7ce1[_0x1d64c3(0x203)];}_0x27ce30=_0x18ca73[_0x1d64c3(0x1b3)][_0x1d64c3(0x1a3)](_0xd33033[_0x1d64c3(0x37a)][0x0]),_0x21f8ee=_0x18ca73[_0x1d64c3(0x1b3)][_0x1d64c3(0x1a3)](_0xd33033[_0x1d64c3(0x37a)][0x0]);for(let _0x4d3636=_0x12ee5e[_0x1d64c3(0x256)]-0x1;_0x4d3636>=0x0;_0x4d3636--){const _0x10bf5a={'id':_0x1d64c3(0x20e),'params':{'unitId':_0x12ee5e[_0x4d3636][_0x1d64c3(0x36e)],..._0x12ee5e[_0x4d3636][_0x1d64c3(0x177)]}},_0x3f7957={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x12ee5e[_0x4d3636]['unitId'],..._0x12ee5e[_0x4d3636][_0x1d64c3(0x25e)]}},_0x481679=this[_0x1d64c3(0x1a6)][_0x1d64c3(0x2d3)](_0x27ce30,_0x10bf5a,!0x1),_0x35a7b6=this[_0x1d64c3(0x1a6)][_0x1d64c3(0x2d3)](_0x21f8ee,_0x3f7957,!0x1);if(_0x518b96[_0x1d64c3(0x326)](_0x481679))throw _0x481679['error'];if(_0x518b96[_0x1d64c3(0x326)](_0x35a7b6))throw _0x35a7b6[_0x1d64c3(0x17e)];_0x499214[_0x1d64c3(0x1ca)]({..._0x12ee5e[_0x4d3636],'undoState':_0x481679[_0x1d64c3(0x381)][_0x1d64c3(0x2de)],'redoState':_0x35a7b6[_0x1d64c3(0x381)][_0x1d64c3(0x2de)]}),_0x27ce30=_0x481679[_0x1d64c3(0x203)],_0x21f8ee=_0x35a7b6[_0x1d64c3(0x203)];}this[_0x1d64c3(0x239)][_0x1d64c3(0x303)](_0x1d1191,{'history':_0x283c95,'collaboration':_0x499214});}};_0x52b88a=_0x48c7b0([_0x37a589(0x0,_0x18ca73[_0x4a00e7(0x29b)](_0x18ca73['Injector'])),_0x37a589(0x1,_0x518b96[_0x4a00e7(0x16a)]),_0x37a589(0x2,_0x18ca73[_0x4a00e7(0x29b)](_0x41c79e[_0x4a00e7(0x1f6)]))],_0x52b88a);var _0x5e6b0f=Object[_0x4a00e7(0x1f9)],_0x16db4a=(_0x448dda,_0x2882f3,_0x5997ba,_0x1854ef)=>{const _0x196cce=_0x4a00e7;for(var _0x5cad98=_0x1854ef>0x1?void 0x0:_0x1854ef?_0x5e6b0f(_0x2882f3,_0x5997ba):_0x2882f3,_0xc78af3=_0x448dda[_0x196cce(0x256)]-0x1,_0xe1251e;_0xc78af3>=0x0;_0xc78af3--)(_0xe1251e=_0x448dda[_0xc78af3])&&(_0x5cad98=_0xe1251e(_0x5cad98)||_0x5cad98);return _0x5cad98;},_0x10abd2=(_0x5ebd03,_0x5a494c)=>(_0x14dbaa,_0x55608f)=>_0x5a494c(_0x14dbaa,_0x55608f,_0x5ebd03);let _0x583390=class{constructor(_0x4dfd5c,_0x4674c8){this['_injector']=_0x4dfd5c,this['_transformService']=_0x4674c8;}[_0x4a00e7(0x207)](_0x3ad8b1){const _0x15bcfd=_0x4a00e7;var _0x4f9c0e;const _0x10ba13=this[_0x15bcfd(0x1ab)][_0x15bcfd(0x202)](_0x40419e['DocSelectionManagerService']),_0x1e4e68=(_0x4f9c0e=_0x10ba13[_0x15bcfd(0x315)]())!=null?_0x4f9c0e:[];if(_0x1e4e68[_0x15bcfd(0x256)]===0x0)return;const _0x18eb00=_0x3ad8b1['unitID'],_0x28efa9=[{'id':_0x15bcfd(0x20e),'params':{'unitId':_0x18eb00,'actions':null,'textRanges':_0x1e4e68}}],_0x47832b=this[_0x15bcfd(0x1a6)][_0x15bcfd(0x366)](_0x3ad8b1,_0x28efa9);if(!_0x518b96['isTransformMutationsWithChangesetSuccess'](_0x47832b))throw _0x47832b[_0x15bcfd(0x17e)];const _0x330464=_0x47832b[_0x15bcfd(0x381)][0x0][_0x15bcfd(0x2de)][_0x15bcfd(0x2eb)];Array[_0x15bcfd(0x31b)](_0x330464)&&_0x330464[_0x15bcfd(0x256)]&&_0x10ba13[_0x15bcfd(0x10d)](_0x330464,{'unitId':_0x18eb00,'subUnitId':_0x18eb00},!0x1);}};_0x583390=_0x16db4a([_0x10abd2(0x0,_0x18ca73['Inject'](_0x18ca73[_0x4a00e7(0x271)])),_0x10abd2(0x1,_0x518b96[_0x4a00e7(0x16a)])],_0x583390);var _0x27b401=Object[_0x4a00e7(0x1f9)],_0x572a1e=(_0x15cd11,_0x12a736,_0x182548,_0x522a61)=>{for(var _0x2719eb=_0x522a61>0x1?void 0x0:_0x522a61?_0x27b401(_0x12a736,_0x182548):_0x12a736,_0x22a889=_0x15cd11['length']-0x1,_0x2c6f9b;_0x22a889>=0x0;_0x22a889--)(_0x2c6f9b=_0x15cd11[_0x22a889])&&(_0x2719eb=_0x2c6f9b(_0x2719eb)||_0x2719eb);return _0x2719eb;},_0x30446b=(_0x24ee40,_0x158ce8)=>(_0x2f7265,_0x246cd0)=>_0x158ce8(_0x2f7265,_0x246cd0,_0x24ee40);let _0x1226f3=class extends _0x18ca73['Disposable']{constructor(_0x3dc9e8,_0x804c5e,_0x26fa79,_0x425f29,_0x179390,_0x5c89f6,_0xab776d,_0x58b044){const _0x40b969=_0x4a00e7;super(),_0x41f19e(this,_0x40b969(0x346),new _0x16b079[(_0x40b969(0x18c))](_0x2fe882[_0x40b969(0x144)][_0x40b969(0x19f)])),(this[_0x40b969(0x239)]=_0x3dc9e8,this['_collaborationController']=_0x804c5e,this[_0x40b969(0x19c)]=_0x26fa79,this['_docTransformStateCacheService']=_0x425f29,this[_0x40b969(0x2e4)]=_0x179390,this[_0x40b969(0x1d7)]=_0x5c89f6,this[_0x40b969(0x27c)]=_0xab776d,this['_localeService']=_0x58b044,this[_0x40b969(0x35b)]());}['_initEntityListener'](){const _0x39fd4f=_0x4a00e7;this[_0x39fd4f(0x2a8)](this[_0x39fd4f(0x1c4)][_0x39fd4f(0x36c)][_0x39fd4f(0x12b)](_0xabc8fd=>{const _0x137f4f=_0x39fd4f,_0x13adc7=this[_0x137f4f(0x239)][_0x137f4f(0x1dc)]['subscribe'](_0xcb28ad=>{const _0x7a6d5f=_0x137f4f;if(_0xcb28ad==null)return;const {unitId:_0x231c9e,redoState:_0x5e2147,commandId:_0x36bff5}=_0xcb28ad;if(_0x231c9e!==_0xabc8fd[_0x7a6d5f(0x2d2)])return;const _0x4f7110={'id':_0x36bff5,'type':_0x18ca73[_0x7a6d5f(0x211)]['MUTATION'],'params':{'unitId':_0x231c9e,'actions':_0x5e2147[_0x7a6d5f(0x16e)],'textRanges':null}};_0xabc8fd[_0x7a6d5f(0x266)](_0x4f7110);});if(_0xabc8fd[_0x137f4f(0x2a8)](_0x13adc7),_0xabc8fd instanceof _0x2fe882[_0x137f4f(0x2a2)]){const _0x18a7d4={'onTransformIME':_0x1bbed2=>this[_0x137f4f(0x19c)][_0x137f4f(0x2c6)](_0x1bbed2),'onTransformState':_0x202945=>this[_0x137f4f(0x134)]['transformStateCache'](_0x202945),'onTransformSelections':_0x5bb14d=>this[_0x137f4f(0x2e4)]['transformSelections'](_0x5bb14d),'onSyncEditingCollabCursor':_0x2ced82=>this[_0x137f4f(0x1d7)][_0x137f4f(0x2fb)](_0x2ced82),'onTransformRemoteChangesetByIMECache':_0x193034=>this['_docTransformIMECacheService'][_0x137f4f(0x146)](_0x193034),'onTransformRemoteChangesetByStateCache':_0x78d0aa=>this['_docTransformStateCacheService'][_0x137f4f(0x146)](_0x78d0aa)};_0xabc8fd[_0x137f4f(0x1e4)](_0x18a7d4);}}));}};_0x1226f3=_0x572a1e([_0x30446b(0x0,_0x18ca73[_0x4a00e7(0x29b)](_0x41c79e['DocStateChangeManagerService'])),_0x30446b(0x1,_0x18ca73[_0x4a00e7(0x29b)](_0x2fe882[_0x4a00e7(0x1c9)])),_0x30446b(0x2,_0x18ca73[_0x4a00e7(0x29b)](_0x52e36c)),_0x30446b(0x3,_0x18ca73[_0x4a00e7(0x29b)](_0x52b88a)),_0x30446b(0x4,_0x18ca73[_0x4a00e7(0x29b)](_0x583390)),_0x30446b(0x5,_0x18ca73[_0x4a00e7(0x29b)](_0x349747)),_0x30446b(0x6,_0x5121a3['IMessageService']),_0x30446b(0x7,_0x18ca73[_0x4a00e7(0x29b)](_0x18ca73[_0x4a00e7(0x2b7)]))],_0x1226f3);var _0x4d89ba=Object[_0x4a00e7(0x1f9)],_0x35eb4f=(_0x47a9b8,_0x9d93a4,_0x1739bf,_0x24be97)=>{const _0x34174d=_0x4a00e7;for(var _0x889655=_0x24be97>0x1?void 0x0:_0x24be97?_0x4d89ba(_0x9d93a4,_0x1739bf):_0x9d93a4,_0x4ed867=_0x47a9b8[_0x34174d(0x256)]-0x1,_0xa3074e;_0x4ed867>=0x0;_0x4ed867--)(_0xa3074e=_0x47a9b8[_0x4ed867])&&(_0x889655=_0xa3074e(_0x889655)||_0x889655);return _0x889655;},_0x552d43=(_0x5bfd97,_0x271f7d)=>(_0x193b8f,_0x218f6b)=>_0x271f7d(_0x193b8f,_0x218f6b,_0x5bfd97);let _0x2eb9f4=class extends _0x18ca73[_0x4a00e7(0x25b)]{constructor(_0x4157ae,_0x27e9a6,_0x1ae026){const _0x17329e=_0x4a00e7;super(),_0x41f19e(this,_0x17329e(0x124),new Map()),_0x41f19e(this,_0x17329e(0x2c7),new Map()),_0x41f19e(this,_0x17329e(0x1de),!0x1),(this['_configService']=_0x4157ae,this[_0x17329e(0xf2)]=_0x27e9a6,this['_revisionService']=_0x1ae026);}[_0x4a00e7(0x1fb)](){const _0x5f18b6=_0x4a00e7;this[_0x5f18b6(0x1de)]=!0x0;}[_0x4a00e7(0x2be)](){const _0x453f74=_0x4a00e7;this[_0x453f74(0x1de)]=!0x1;}get[_0x4a00e7(0x344)](){return this['_saveTaskMap'];}['dispose'](){const _0x24b21f=_0x4a00e7;this[_0x24b21f(0x2e2)]()[_0x24b21f(0x2aa)](()=>super[_0x24b21f(0x264)]());}async['loadOfflineData'](_0x3a3fec){const _0x9fedfe=_0x4a00e7;return this[_0x9fedfe(0x1de)]?null:this['_localStorageService'][_0x9fedfe(0x33c)](_0x2fe882['getLocalCacheKey'](_0x3a3fec));}async[_0x4a00e7(0x1ad)](_0xac1d0a,_0x590c20){const _0x1da435=_0x4a00e7;return!!this[_0x1da435(0xf2)][_0x1da435(0x12e)](_0xac1d0a,_0x590c20);}[_0x4a00e7(0x268)](_0xa6f520,_0xccacb,_0x47cfa6,_0x4c4db0){const _0x279a33=_0x4a00e7,_0x2756a1=this[_0x279a33(0x21c)][_0x279a33(0x14d)](_0xa6f520);this[_0x279a33(0x124)][_0x279a33(0x329)](_0xa6f520,{'unitID':_0xa6f520,'type':_0xccacb,'awaitingChangeset':_0x47cfa6,'mutations':_0x4c4db0,'rev':_0x2756a1}),this[_0x279a33(0x2c7)][_0x279a33(0x133)](_0xa6f520)||this[_0x279a33(0x14a)](_0xa6f520);}[_0x4a00e7(0x14a)](_0xdee1fb){const _0x4a273f=_0x4a00e7,_0x20acd4=this[_0x4a273f(0x25f)]();_0x20acd4===0x0?this[_0x4a273f(0x127)](_0xdee1fb):this[_0x4a273f(0x2c7)][_0x4a273f(0x329)](_0xdee1fb,setTimeout(()=>this[_0x4a273f(0x127)](_0xdee1fb),_0x20acd4));}['_getSaveTimeout'](){const _0x434d5b=_0x4a00e7;var _0x1cd4ff;return(_0x1cd4ff=this['_configService'][_0x434d5b(0x35d)](_0x2fe882[_0x434d5b(0x288)]))!=null?_0x1cd4ff:_0x2fe882[_0x434d5b(0x213)];}[_0x4a00e7(0x127)](_0x3a7798){const _0x520ab2=_0x4a00e7,_0x4a5d78=this[_0x520ab2(0x2c7)][_0x520ab2(0x202)](_0x3a7798);return _0x4a5d78!==void 0x0&&window[_0x520ab2(0x215)](_0x4a5d78),this[_0x520ab2(0xf2)][_0x520ab2(0x12e)](_0x2fe882[_0x520ab2(0x2fd)](_0x3a7798),this[_0x520ab2(0x124)]['get'](_0x3a7798))['then'](()=>this['_saveTaskMap'][_0x520ab2(0x1e2)](_0x3a7798));}async['exhaustSavingTask'](){const _0xc44262=_0x4a00e7,_0xd8b711=[];this[_0xc44262(0x2c7)][_0xc44262(0x28f)]((_0x86d843,_0x537d33)=>{const _0x241d1f=_0xc44262;window['clearTimeout'](_0x86d843),_0xd8b711[_0x241d1f(0x2b6)](this['_saveCache'](_0x537d33)[_0x241d1f(0x2aa)](()=>{const _0x44b85a=_0x241d1f;this[_0x44b85a(0x2c7)][_0x44b85a(0x1e2)](_0x537d33);}));}),await Promise['all'](_0xd8b711);}};_0x2eb9f4=_0x35eb4f([_0x552d43(0x0,_0x18ca73[_0x4a00e7(0x1b0)]),_0x552d43(0x1,_0x18ca73['ILocalStorageService']),_0x552d43(0x2,_0x18ca73[_0x4a00e7(0x29b)](_0x518b96[_0x4a00e7(0x24c)]))],_0x2eb9f4);class _0x4fb64b extends _0x18ca73[_0x4a00e7(0x22f)]{constructor(){const _0x52cd85=_0x4a00e7;super(),_0x41f19e(this,_0x52cd85(0x2b8)),this[_0x52cd85(0x2b8)]=_0x16b079['fromEvent'](window,'popstate')['pipe'](_0x16b079[_0x52cd85(0x18a)](this[_0x52cd85(0x216)]),_0x16b079[_0x52cd85(0x27a)](0x1),_0x16b079['mapTo'](void 0x0));}['setParam'](_0xfc1060,_0xc0900b,_0x5398ec=!0x1){const _0x27c0aa=_0x4a00e7,_0x4bde26=new URL(window[_0x27c0aa(0x175)][_0x27c0aa(0x23a)]);_0x4bde26[_0x27c0aa(0x162)][_0x27c0aa(0x329)](_0xfc1060,_0xc0900b),_0x5398ec?window[_0x27c0aa(0x2f0)][_0x27c0aa(0x341)]('','',_0x4bde26[_0x27c0aa(0x2ba)]()):window[_0x27c0aa(0x2f0)][_0x27c0aa(0x14b)]('','',_0x4bde26[_0x27c0aa(0x2ba)]());}[_0x4a00e7(0x149)](_0x369fd2,_0x4a1604=!0x1){const _0x5a3ea=_0x4a00e7,_0x538fb5=new URL(window['location'][_0x5a3ea(0x23a)]);_0x538fb5[_0x5a3ea(0x162)]['delete'](_0x369fd2),_0x4a1604?window['history'][_0x5a3ea(0x341)]('','',_0x538fb5[_0x5a3ea(0x2ba)]()):window[_0x5a3ea(0x2f0)][_0x5a3ea(0x14b)]('','',_0x538fb5[_0x5a3ea(0x2ba)]());}[_0x4a00e7(0x2e9)](_0x599c32){const _0x57b40c=_0x4a00e7;var _0x1bf3c5;return(_0x1bf3c5=new URL(window[_0x57b40c(0x175)][_0x57b40c(0x23a)])['searchParams'][_0x57b40c(0x202)](_0x599c32))!=null?_0x1bf3c5:void 0x0;}}var _0x1f722d=Object['defineProperty'],_0x264b90=Object[_0x4a00e7(0x1f9)],_0xe9813e=(_0x407490,_0x205b72,_0x5525e2)=>_0x205b72 in _0x407490?_0x1f722d(_0x407490,_0x205b72,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5525e2}):_0x407490[_0x205b72]=_0x5525e2,_0x1634a2=(_0x46304f,_0x238c3e,_0x38362d,_0x548c7e)=>{const _0x9da08a=_0x4a00e7;for(var _0x5169e1=_0x548c7e>0x1?void 0x0:_0x548c7e?_0x264b90(_0x238c3e,_0x38362d):_0x238c3e,_0x188714=_0x46304f[_0x9da08a(0x256)]-0x1,_0x393383;_0x188714>=0x0;_0x188714--)(_0x393383=_0x46304f[_0x188714])&&(_0x5169e1=_0x393383(_0x5169e1)||_0x5169e1);return _0x5169e1;},_0x32180d=(_0x73821,_0x4e9cb0)=>(_0x8926cc,_0x31d8a5)=>_0x4e9cb0(_0x8926cc,_0x31d8a5,_0x73821),_0xb81d44=(_0x5f96d,_0x32c12d,_0x11dd79)=>_0xe9813e(_0x5f96d,_0x32c12d+'',_0x11dd79);const _0x3f8025=_0x4a00e7(0x1fe);_0x311cb7[_0x4a00e7(0x228)]=class extends _0x18ca73[_0x4a00e7(0x2d6)]{constructor(_0x326b1e=_0x44c505,_0x50eccf,_0x40038d,_0x2b6962){const _0x17e570=_0x4a00e7;super(),this[_0x17e570(0x342)]=_0x326b1e,this[_0x17e570(0x13b)]=_0x50eccf,this[_0x17e570(0x1ab)]=_0x40038d,this['_configService']=_0x2b6962;const {..._0x154d13}=_0x18ca73[_0x17e570(0x293)]({},_0x44c505,this[_0x17e570(0x342)]);this[_0x17e570(0x29d)][_0x17e570(0x12a)](_0x574e12,_0x154d13);}[_0x4a00e7(0x365)](){const _0x23b0f7=_0x4a00e7;this['_registerDependencies'](),this[_0x23b0f7(0x10e)]();}[_0x4a00e7(0x352)](){this['_registerRenderDependencies']();}[_0x4a00e7(0x188)](){const _0x806697=_0x4a00e7;var _0xee8cda;const _0x440367=[[_0x3fde5d],[_0x583390],[_0x52e36c],[_0x52b88a],[_0x349747],[_0x32736f,{'useClass':_0x4fb64b}],[_0x4ed2b8[_0x806697(0x262)],{'useClass':_0x4ed2b8[_0x806697(0x302)]}],[_0x2fe882[_0x806697(0x190)],{'useClass':_0x2eb9f4}],[_0x311cb7['DesktopCollaborationStatusDisplayController']],[_0x1226f3],[_0x3c5848],[_0x54c140],[_0x2d1ce0],[_0x311cb7[_0x806697(0x32f)]]];_0x18ca73[_0x806697(0x107)](this[_0x806697(0x1ab)],_0x18ca73[_0x806697(0x32e)](_0x440367,(_0xee8cda=this[_0x806697(0x342)])==null?void 0x0:_0xee8cda[_0x806697(0x147)]));}['_registerRenderDependencies'](){const _0x25085b=_0x4a00e7;this['disposeWithMe'](this[_0x25085b(0x13b)][_0x25085b(0x1ec)](_0x18ca73[_0x25085b(0x113)][_0x25085b(0x2a3)],[_0x4067e7])),this[_0x25085b(0x2a8)](this['_renderManagerService'][_0x25085b(0x1ec)](_0x18ca73[_0x25085b(0x113)][_0x25085b(0x158)],[_0xf7456]));}[_0x4a00e7(0x10e)](){const _0x256232=_0x4a00e7;_0x18ca73['touchDependencies'](this[_0x256232(0x1ab)],[[_0x54c140],[_0x311cb7[_0x256232(0xfb)]],[_0x1226f3],[_0x3c5848],[_0x311cb7[_0x256232(0x32f)]]]);}},_0xb81d44(_0x311cb7[_0x4a00e7(0x228)],'pluginName',_0x3f8025),_0x311cb7['UniverCollaborationClientUIPlugin']=_0x1634a2([_0x18ca73['DependentOn'](_0x2fe882[_0x4a00e7(0x304)]),_0x32180d(0x1,_0x1000a2[_0x4a00e7(0x214)]),_0x32180d(0x2,_0x18ca73['Inject'](_0x18ca73[_0x4a00e7(0x271)])),_0x32180d(0x3,_0x18ca73[_0x4a00e7(0x1b0)])],_0x311cb7[_0x4a00e7(0x228)]);var _0x1c225c=Object[_0x4a00e7(0x1f9)],_0x272856=(_0x12396f,_0x3377d4,_0x551b90,_0x45e44b)=>{const _0xfc169e=_0x4a00e7;for(var _0x132dad=_0x45e44b>0x1?void 0x0:_0x45e44b?_0x1c225c(_0x3377d4,_0x551b90):_0x3377d4,_0x4721c9=_0x12396f[_0xfc169e(0x256)]-0x1,_0x1b35fe;_0x4721c9>=0x0;_0x4721c9--)(_0x1b35fe=_0x12396f[_0x4721c9])&&(_0x132dad=_0x1b35fe(_0x132dad)||_0x132dad);return _0x132dad;},_0x1ae850=(_0x5331cd,_0x492267)=>(_0x43c425,_0x1b3851)=>_0x492267(_0x43c425,_0x1b3851,_0x5331cd);_0x311cb7[_0x4a00e7(0x33f)]=class extends _0x2fe882[_0x4a00e7(0x1c0)]{constructor(_0x2b8440,_0x5bf29b,_0x4bd151,_0x18eb3e,_0x4dc413){super(_0x2b8440,_0x5bf29b,_0x4bd151,_0x18eb3e,_0x4dc413);}async[_0x4a00e7(0x1b2)](_0x1d9fc2){const _0x426885=_0x4a00e7,_0x17937e=await this[_0x426885(0x370)](),_0x40f5f1=this[_0x426885(0x140)](_0x1d9fc2,_0x17937e);return this[_0x426885(0xfd)](_0x40f5f1);}[_0x4a00e7(0x140)](_0x344d80,_0x394cff){const _0x2590b1=_0x4a00e7,_0xce1af2=typeof window>'u'?new URL(_0x344d80):new URL(_0x344d80,window[_0x2590b1(0x175)][_0x2590b1(0x1d2)]);_0xce1af2[_0x2590b1(0x162)][_0x2590b1(0x329)](_0x2590b1(0x157),_0x394cff);const _0x3dd8ca=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2590b1(0x175)]['search']);return _0x3dd8ca[_0x2590b1(0x202)](_0x2590b1(0x15b))&&_0xce1af2[_0x2590b1(0x162)][_0x2590b1(0x329)](_0x2590b1(0x15b),_0x3dd8ca['get']('runId')),_0xce1af2['toString']();}async[_0x4a00e7(0x370)](){const _0x1bf786=_0x4a00e7;var _0x51eead,_0x595df2,_0x390503;const _0x4d2fa4=this[_0x1bf786(0x29d)][_0x1bf786(0x35d)](_0x2fe882[_0x1bf786(0x2ce)]),_0x3603cf=(_0x51eead=_0x4d2fa4==null?void 0x0:_0x4d2fa4[_0x1bf786(0x313)])!=null?_0x51eead:_0x2fe882[_0x1bf786(0x1a7)];return(_0x390503=(_0x595df2=(await this[_0x1bf786(0x219)][_0x1bf786(0x202)](_0x3603cf,{'headers':{'Content-Type':'application/json'}}))[_0x1bf786(0x19b)])==null?void 0x0:_0x595df2[_0x1bf786(0x1ce)])!=null?_0x390503:'';}},_0x311cb7['BrowserCollaborationSocketService']=_0x272856([_0x1ae850(0x0,_0x18ca73[_0x4a00e7(0x29b)](_0x18ca73['Injector'])),_0x1ae850(0x1,_0x18ca73[_0x4a00e7(0x29b)](_0x4ed2b8[_0x4a00e7(0xf5)])),_0x1ae850(0x2,_0x18ca73[_0x4a00e7(0x1b0)]),_0x1ae850(0x3,_0x18ca73['ILogService']),_0x1ae850(0x4,_0x518b96[_0x4a00e7(0x24f)])],_0x311cb7[_0x4a00e7(0x33f)]);var _0x4d18de=(_0x4c868e=>(_0x4c868e[_0x4c868e['UNDEFINED']=0x0]=_0x4a00e7(0x116),_0x4c868e[_0x4c868e['OK']=0x1]='OK',_0x4c868e[_0x4c868e[_0x4a00e7(0x1c8)]=0x2]=_0x4a00e7(0x1c8),_0x4c868e[_0x4c868e[_0x4a00e7(0x2d8)]=0x3]=_0x4a00e7(0x2d8),_0x4c868e[_0x4c868e[_0x4a00e7(0x151)]=0x4]='NOT_FOUND',_0x4c868e[_0x4c868e[_0x4a00e7(0x1cb)]=0x5]=_0x4a00e7(0x1cb),_0x4c868e[_0x4c868e[_0x4a00e7(0x135)]=0x6]=_0x4a00e7(0x135),_0x4c868e[_0x4c868e[_0x4a00e7(0x317)]=0x7]='INVALID_ARGUMENT',_0x4c868e[_0x4c868e[_0x4a00e7(0x31a)]=0x8]=_0x4a00e7(0x31a),_0x4c868e[_0x4c868e[_0x4a00e7(0x32c)]=0x9]=_0x4a00e7(0x32c),_0x4c868e[_0x4c868e[_0x4a00e7(0x223)]=0xa]=_0x4a00e7(0x223),_0x4c868e[_0x4c868e[_0x4a00e7(0x1e1)]=0xb]=_0x4a00e7(0x1e1),_0x4c868e[_0x4c868e[_0x4a00e7(0x29a)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4c868e[_0x4c868e[_0x4a00e7(0x31c)]=0xd]=_0x4a00e7(0x31c),_0x4c868e[_0x4c868e['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x4a00e7(0x2f4),_0x4c868e[_0x4c868e['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x4a00e7(0x2cc),_0x4c868e[_0x4c868e['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x4a00e7(0x1df),_0x4c868e[_0x4c868e[_0x4a00e7(0x1f4)]=0x1772]=_0x4a00e7(0x1f4),_0x4c868e[_0x4c868e[_0x4a00e7(0x33e)]=0x1773]=_0x4a00e7(0x33e),_0x4c868e[_0x4c868e[_0x4a00e7(0x24e)]=0x1b59]=_0x4a00e7(0x24e),_0x4c868e[_0x4c868e['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x4a00e7(0x189),_0x4c868e[_0x4c868e[_0x4a00e7(0x178)]=0x1b5b]=_0x4a00e7(0x178),_0x4c868e[_0x4c868e['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x4c868e[_0x4c868e['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x4c868e[_0x4c868e[_0x4a00e7(0x2bc)]=0x1f41]=_0x4a00e7(0x2bc),_0x4c868e[_0x4c868e[_0x4a00e7(0x230)]=0x2329]=_0x4a00e7(0x230),_0x4c868e[_0x4c868e[_0x4a00e7(0x109)]=0x232a]=_0x4a00e7(0x109),_0x4c868e[_0x4c868e[_0x4a00e7(0x296)]=0x232b]=_0x4a00e7(0x296),_0x4c868e[_0x4c868e['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4a00e7(0x1be),_0x4c868e[_0x4c868e[_0x4a00e7(0x2fe)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x4c868e[_0x4c868e[_0x4a00e7(0x369)]=0x2711]=_0x4a00e7(0x369),_0x4c868e[_0x4c868e[_0x4a00e7(0x269)]=0x2712]=_0x4a00e7(0x269),_0x4c868e[_0x4c868e[_0x4a00e7(0x2ef)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4c868e[_0x4c868e[_0x4a00e7(0x328)]=0x2714]=_0x4a00e7(0x328),_0x4c868e[_0x4c868e[_0x4a00e7(0x2cf)]=0x271a]=_0x4a00e7(0x2cf),_0x4c868e[_0x4c868e[_0x4a00e7(0x246)]=0x271b]=_0x4a00e7(0x246),_0x4c868e[_0x4c868e[_0x4a00e7(0x1c1)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x4c868e[_0x4c868e[_0x4a00e7(0x323)]=0x271d]=_0x4a00e7(0x323),_0x4c868e[_0x4c868e[_0x4a00e7(0x371)]=0x271e]=_0x4a00e7(0x371),_0x4c868e[_0x4c868e[_0x4a00e7(0x182)]=0x271f]=_0x4a00e7(0x182),_0x4c868e[_0x4c868e[_0x4a00e7(0x2d1)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x4c868e[_0x4c868e['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x4a00e7(0x31f),_0x4c868e[_0x4c868e['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4c868e[_0x4c868e[_0x4a00e7(0x15f)]=0x2ee2]='INVALID_INVITE_CODE',_0x4c868e[_0x4c868e[_0x4a00e7(0x334)]=0x2ee3]=_0x4a00e7(0x334),_0x4c868e[_0x4c868e[_0x4a00e7(0x2b4)]=0x2ee4]=_0x4a00e7(0x2b4),_0x4c868e[_0x4c868e[_0x4a00e7(0x260)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x4c868e[_0x4c868e['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x4c868e[_0x4c868e[_0x4a00e7(0x350)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x4c868e[_0x4c868e['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x4a00e7(0x2d7),_0x4c868e[_0x4c868e['UNRECOGNIZED']=-0x1]=_0x4a00e7(0x159),_0x4c868e))(_0x4d18de||{}),_0x1fa851=Object[_0x4a00e7(0x1f9)],_0x567b6c=(_0x2f6a22,_0xe317e0,_0x26abc7,_0x22b8be)=>{const _0x63eb9e=_0x4a00e7;for(var _0x56e235=_0x22b8be>0x1?void 0x0:_0x22b8be?_0x1fa851(_0xe317e0,_0x26abc7):_0xe317e0,_0xaadb2f=_0x2f6a22[_0x63eb9e(0x256)]-0x1,_0x388ee5;_0xaadb2f>=0x0;_0xaadb2f--)(_0x388ee5=_0x2f6a22[_0xaadb2f])&&(_0x56e235=_0x388ee5(_0x56e235)||_0x56e235);return _0x56e235;},_0x1b4823=(_0x389991,_0x2b097e)=>(_0x54611b,_0x4e3c86)=>_0x2b097e(_0x54611b,_0x4e3c86,_0x389991);_0x311cb7[_0x4a00e7(0x13c)]=class extends _0x18ca73[_0x4a00e7(0x25b)]{constructor(_0x521893,_0x63e63a,_0x2844cd){const _0x3db7b0=_0x4a00e7;super(),this[_0x3db7b0(0x348)]=_0x521893,this[_0x3db7b0(0x219)]=_0x63e63a,this[_0x3db7b0(0x29d)]=_0x2844cd;}async['runOnServer'](_0x3c77c1,_0x2f823e,_0x17ebc4,..._0x4cf7ca){const _0x511400=_0x4a00e7;var _0x253f63,_0x3d7ab2,_0x1c71ba,_0x5366ab;const _0x5dd8f3=this[_0x511400(0x348)]['getFocusedUnit']();if(!_0x5dd8f3)throw new Error(_0x511400(0x2f9));const _0x56310a=((_0x253f63=this['_configService'][_0x511400(0x35d)](_0x2fe882[_0x511400(0x25c)]))!=null?_0x253f63:_0x2fe882[_0x511400(0x32a)])+'/'+_0x3c77c1+'/run/'+_0x2f823e,_0x2b1964=new URL(window['location'][_0x511400(0x23a)]),_0x4eb227={'scriptId':_0x3c77c1,'runId':(_0x3d7ab2=_0x2b1964['searchParams'][_0x511400(0x202)](_0x511400(0x15b)))!=null?_0x3d7ab2:'','function':_0x2f823e,'unitId':_0x5dd8f3[_0x511400(0x1fa)](),'argsOfFunction':JSON[_0x511400(0x155)](_0x4cf7ca),'invokeId':(_0x1c71ba=_0x17ebc4[_0x511400(0x2ae)])!=null?_0x1c71ba:'','executionId':(_0x5366ab=_0x17ebc4['executionId'])!=null?_0x5366ab:''};try{const _0x3200a3=await this[_0x511400(0x219)][_0x511400(0x187)](_0x56310a,{'body':_0x4eb227});return _0x3200a3[_0x511400(0x19b)][_0x511400(0x17e)]&&_0x3200a3['body'][_0x511400(0x17e)][_0x511400(0x16f)]!==_0x4d18de['OK']?_0x511400(0x30c):_0x3200a3[_0x511400(0x19b)]['result'];}catch{return _0x511400(0x30c);}}},_0x311cb7[_0x4a00e7(0x13c)]=_0x567b6c([_0x1b4823(0x0,_0x18ca73[_0x4a00e7(0x196)]),_0x1b4823(0x1,_0x18ca73['Inject'](_0x4ed2b8['HTTPService'])),_0x1b4823(0x2,_0x18ca73[_0x4a00e7(0x1b0)])],_0x311cb7[_0x4a00e7(0x13c)]);const _0x561d73=0x7530,_0x4961af=_0x4a00e7(0x2d5);class _0x1eb468 extends _0x18ca73[_0x4a00e7(0x25b)]{constructor(){const _0x2f5553=_0x4a00e7;super(),_0x41f19e(this,_0x2f5553(0x35a),_0x18ca73[_0x2f5553(0x368)]()),_0x41f19e(this,_0x2f5553(0x119),new Set()),_0x41f19e(this,'_unitOnClients',new Map()),_0x41f19e(this,_0x2f5553(0x36a),null),_0x41f19e(this,'_clearOtherTimers',new Map()),_0x41f19e(this,'_unitStatus',new Map()),this['_init']();}[_0x4a00e7(0x264)](){const _0x67c122=_0x4a00e7;super[_0x67c122(0x264)](),this[_0x67c122(0x363)][_0x67c122(0x28f)]((_0x1ddc4a,_0x5487e9)=>this[_0x67c122(0x1d6)](_0x5487e9)),this[_0x67c122(0x36a)]&&window[_0x67c122(0x204)](this[_0x67c122(0x36a)]);}[_0x4a00e7(0x1c7)](_0xada747){const _0x30c940=_0x4a00e7;return this['_ensureSubject'](_0xada747)[_0x30c940(0x217)](_0x16b079['distinctUntilChanged']());}[_0x4a00e7(0x2b1)](_0x374c9e){const _0x681278=_0x4a00e7;this[_0x681278(0x119)]['size']===0x0&&this[_0x681278(0x284)](),this[_0x681278(0x119)][_0x681278(0x114)](_0x374c9e),this[_0x681278(0x1e8)]({'type':0x0,'memberID':this[_0x681278(0x35a)],'unitIDs':[_0x374c9e],'isForwarded':!0x1});}['disposeUnit'](_0x43e900){const _0xe986fd=_0x4a00e7;this[_0xe986fd(0x119)][_0xe986fd(0x1e2)](_0x43e900),this['_selfUnitIDs']['size']===0x0&&this[_0xe986fd(0x36a)]&&window['clearInterval'](this[_0xe986fd(0x36a)]);}[_0x4a00e7(0x1ee)](){const _0x4669b7=_0x4a00e7;this[_0x4669b7(0x2a8)](_0x18ca73[_0x4669b7(0x244)](_0x16b079[_0x4669b7(0x20f)](window,'storage')[_0x4669b7(0x12b)](_0x5733bc=>{const _0x46596c=_0x4669b7;if(_0x5733bc[_0x46596c(0x1c6)]!==_0x4961af||!_0x5733bc[_0x46596c(0x101)])return;const _0x129e86=JSON[_0x46596c(0x21e)](_0x5733bc[_0x46596c(0x101)]);this['_handleEvent'](_0x129e86);}))),window[_0x4669b7(0x327)]('unload',()=>this[_0x4669b7(0x1e8)]({'type':0x1,'memberID':this[_0x4669b7(0x35a)],'unitIDs':Array[_0x4669b7(0x21f)](this[_0x4669b7(0x119)])}));}[_0x4a00e7(0x2e0)](_0x1e7b53){const _0xd752af=_0x4a00e7;switch(_0x1e7b53['type']){case 0x0:this[_0xd752af(0x2b9)](_0x1e7b53);break;case 0x1:this['_handleLeaveEvent'](_0x1e7b53);break;case 0x2:this[_0xd752af(0xf3)](_0x1e7b53);break;}}[_0x4a00e7(0x2b9)](_0x3ba2ca){const _0x48ac5c=_0x4a00e7,{unitIDs:_0x25d431,memberID:_0x579d79,isForwarded:_0x55c8b8}=_0x3ba2ca;_0x25d431[_0x48ac5c(0x28f)](_0xd7be07=>{const _0x7d96d=_0x48ac5c;if(!_0x55c8b8&&this[_0x7d96d(0x379)][_0x7d96d(0x133)](_0xd7be07)&&this[_0x7d96d(0x356)](_0xd7be07)[_0x7d96d(0x274)](_0x2fe882[_0x7d96d(0x1b6)][_0x7d96d(0x186)]),!this['_unitOnClients'][_0x7d96d(0x133)](_0xd7be07)||!this[_0x7d96d(0x379)]['get'](_0xd7be07)[_0x7d96d(0x133)](_0x579d79)){const _0x5d4f11=this['_unitOnClients'][_0x7d96d(0x202)](_0xd7be07)||new Set();_0x5d4f11[_0x7d96d(0x114)](_0x579d79),this[_0x7d96d(0x379)]['set'](_0xd7be07,_0x5d4f11),this[_0x7d96d(0xf7)](_0x579d79);}}),_0x55c8b8||this[_0x48ac5c(0x1e8)]({'type':0x0,'memberID':this[_0x48ac5c(0x35a)],'unitIDs':[...this[_0x48ac5c(0x119)]],'isForwarded':!0x0});}[_0x4a00e7(0xf7)](_0x54dc6d){const _0x574705=_0x4a00e7;this[_0x574705(0x1d6)](_0x54dc6d);const _0x317900=window['setTimeout'](()=>{const _0x912570=_0x574705;this[_0x912570(0x379)][_0x912570(0x28f)](_0x11904b=>{const _0x5f1fa9=_0x912570;_0x11904b[_0x5f1fa9(0x1e2)](_0x54dc6d);});},_0x561d73*0x2);this['_clearOtherTimers'][_0x574705(0x329)](_0x54dc6d,_0x317900);}['_removeClearOtherTimer'](_0x3eaef1){const _0x3afd5e=_0x4a00e7;if(this[_0x3afd5e(0x363)]['has'](_0x3eaef1)){const _0xb4817d=this[_0x3afd5e(0x363)][_0x3afd5e(0x202)](_0x3eaef1);_0xb4817d&&window[_0x3afd5e(0x215)](_0xb4817d),this['_clearOtherTimers'][_0x3afd5e(0x329)](_0x3eaef1,null);}}['_handleLeaveEvent'](_0x3e315d){const _0x1039b8=_0x4a00e7,{memberID:_0x8f3c9a,unitIDs:_0x477026}=_0x3e315d;_0x477026[_0x1039b8(0x28f)](_0x302a6c=>{const _0x360e88=_0x1039b8;var _0x303b51;const _0x201905=this[_0x360e88(0x379)][_0x360e88(0x202)](_0x302a6c);_0x201905&&(_0x201905[_0x360e88(0x1e2)](_0x8f3c9a),(_0x303b51=this[_0x360e88(0x356)](_0x302a6c))==null||_0x303b51[_0x360e88(0x274)](_0x201905[_0x360e88(0x209)]===0x0?_0x2fe882[_0x360e88(0x1b6)]['NO_OTHER_CLIENTS_EDITING']:_0x2fe882['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0x1039b8(0x1d6)](_0x8f3c9a);}['_handleHeartbeatEvent'](_0x52283b){const _0xdad2d9=_0x4a00e7;this[_0xdad2d9(0xf7)](_0x52283b['memberID']);}[_0x4a00e7(0x1e8)](_0x1b6545){const _0x282736=_0x4a00e7;localStorage[_0x282736(0x12e)](_0x4961af,JSON['stringify'](_0x1b6545));}[_0x4a00e7(0x284)](){const _0x3bf99d=_0x4a00e7;this[_0x3bf99d(0x36a)]=window[_0x3bf99d(0x30a)](()=>{const _0xbd335c=_0x3bf99d;this[_0xbd335c(0x1e8)]({'type':0x2,'memberID':this['_id']});},_0x561d73);}['_ensureSubject'](_0x55ae79){const _0xc6645e=_0x4a00e7;return this[_0xc6645e(0x1d0)][_0xc6645e(0x133)](_0x55ae79)||this[_0xc6645e(0x1d0)]['set'](_0x55ae79,new _0x16b079[(_0xc6645e(0x18c))](_0x2fe882[_0xc6645e(0x1b6)][_0xc6645e(0x2f3)])),this['_unitStatus']['get'](_0x55ae79);}}_0x311cb7[_0x4a00e7(0x2dc)]=_0x32736f,_0x311cb7['SheetCollabCursorShape']=_0x4044b0,_0x311cb7[_0x4a00e7(0x375)]=_0x1eb468,_0x311cb7[_0x4a00e7(0x25a)]=_0x4fb64b,Object[_0x4a00e7(0x2c0)](_0x311cb7,Symbol[_0x4a00e7(0x22a)],{'value':_0x4a00e7(0x15c)});}));
|
|
1
|
+
(function(_0x10803e,_0x16a4a1){const _0x54bda4=_0xb97a,_0x546d9c=_0x10803e();while(!![]){try{const _0x533741=-parseInt(_0x54bda4(0x24e))/0x1*(-parseInt(_0x54bda4(0x254))/0x2)+-parseInt(_0x54bda4(0xdc))/0x3*(parseInt(_0x54bda4(0x100))/0x4)+-parseInt(_0x54bda4(0x2b0))/0x5+-parseInt(_0x54bda4(0x259))/0x6+parseInt(_0x54bda4(0x2cc))/0x7+parseInt(_0x54bda4(0x261))/0x8*(-parseInt(_0x54bda4(0x271))/0x9)+-parseInt(_0x54bda4(0x275))/0xa*(-parseInt(_0x54bda4(0x283))/0xb);if(_0x533741===_0x16a4a1)break;else _0x546d9c['push'](_0x546d9c['shift']());}catch(_0x472849){_0x546d9c['push'](_0x546d9c['shift']());}}}(_0x1e7c,0x85103),function(_0x1d3a52,_0xac5bb3){const _0x5050a2=_0xb97a;typeof exports==_0x5050a2(0x32c)&&typeof module<'u'?_0xac5bb3(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x5050a2(0x2fe)&&define[_0x5050a2(0x1ca)]?define(['exports',_0x5050a2(0x291),'@univerjs-pro/collaboration-client','@univerjs/core',_0x5050a2(0xcb),_0x5050a2(0x298),'@univerjs/design',_0x5050a2(0x105),_0x5050a2(0x31f),_0x5050a2(0x214),'@univerjs/engine-render',_0x5050a2(0x2c3),_0x5050a2(0x181),'@univerjs/drawing','@univerjs-pro/collaboration',_0x5050a2(0xf0),_0x5050a2(0x12b),_0x5050a2(0x130),_0x5050a2(0x128)],_0xac5bb3):(_0x1d3a52=typeof globalThis<'u'?globalThis:_0x1d3a52||self,_0xac5bb3(_0x1d3a52[_0x5050a2(0x14d)]={},_0x1d3a52[_0x5050a2(0x252)],_0x1d3a52[_0x5050a2(0x2ff)],_0x1d3a52[_0x5050a2(0x22d)],_0x1d3a52[_0x5050a2(0x123)],_0x1d3a52[_0x5050a2(0x298)],_0x1d3a52[_0x5050a2(0x256)],_0x1d3a52[_0x5050a2(0x252)],_0x1d3a52[_0x5050a2(0x278)],_0x1d3a52[_0x5050a2(0x24a)],_0x1d3a52[_0x5050a2(0x2e1)],_0x1d3a52[_0x5050a2(0x342)],_0x1d3a52[_0x5050a2(0x10e)],_0x1d3a52[_0x5050a2(0x2a4)],_0x1d3a52[_0x5050a2(0x1e1)],_0x1d3a52[_0x5050a2(0x19e)],_0x1d3a52['UniverEngineFormula'],_0x1d3a52[_0x5050a2(0x298)]['operators'],_0x1d3a52[_0x5050a2(0x2e2)]));}(this,function(_0x586957,_0x563678,_0x4bd9c3,_0x4a4808,_0x2ace11,_0x40989e,_0x217bfe,_0x487fc7,_0x51b2f9,_0x38d5ed,_0x545a9a,_0x441f4f,_0x5ab035,_0x11f340,_0xc6a6b,_0x83313,_0x4aea54,_0x27cbf7,_0x18d5a0){'use strict';const _0xc3c9ed=_0xb97a;var _0x1aee57=Object[_0xc3c9ed(0x15b)],_0x4f7236=(_0x38d2c6,_0x51151f,_0x11151c)=>_0x51151f in _0x38d2c6?_0x1aee57(_0x38d2c6,_0x51151f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x11151c}):_0x38d2c6[_0x51151f]=_0x11151c,_0xc598b2=(_0x572b3d,_0x292250,_0xc6f74d)=>_0x4f7236(_0x572b3d,typeof _0x292250!=_0xc3c9ed(0x2a8)?_0x292250+'':_0x292250,_0xc6f74d),_0x4a0796=function(){const _0x3f1bc7=_0xc3c9ed;return _0x4a0796=Object[_0x3f1bc7(0x306)]||function(_0x418b71){const _0x3bae90=_0x3f1bc7;for(var _0x41b1f3,_0x296699=0x1,_0x34450e=arguments[_0x3bae90(0x1f5)];_0x296699<_0x34450e;_0x296699++){_0x41b1f3=arguments[_0x296699];for(var _0x379c33 in _0x41b1f3)Object[_0x3bae90(0x2c0)][_0x3bae90(0x281)][_0x3bae90(0x116)](_0x41b1f3,_0x379c33)&&(_0x418b71[_0x379c33]=_0x41b1f3[_0x379c33]);}return _0x418b71;},_0x4a0796[_0x3f1bc7(0x175)](this,arguments);},_0x542f4c=function(_0xaca38d,_0xf968be){const _0x371dda=_0xc3c9ed;var _0x3f4cff={};for(var _0x24c9fc in _0xaca38d)Object[_0x371dda(0x2c0)]['hasOwnProperty']['call'](_0xaca38d,_0x24c9fc)&&_0xf968be[_0x371dda(0x239)](_0x24c9fc)<0x0&&(_0x3f4cff[_0x24c9fc]=_0xaca38d[_0x24c9fc]);if(_0xaca38d!=null&&typeof Object[_0x371dda(0x1cd)]==_0x371dda(0x2fe)){for(var _0x3c1c2c=0x0,_0x24c9fc=Object[_0x371dda(0x1cd)](_0xaca38d);_0x3c1c2c<_0x24c9fc[_0x371dda(0x1f5)];_0x3c1c2c++)_0xf968be[_0x371dda(0x239)](_0x24c9fc[_0x3c1c2c])<0x0&&Object[_0x371dda(0x2c0)][_0x371dda(0x154)][_0x371dda(0x116)](_0xaca38d,_0x24c9fc[_0x3c1c2c])&&(_0x3f4cff[_0x24c9fc[_0x3c1c2c]]=_0xaca38d[_0x24c9fc[_0x3c1c2c]]);}return _0x3f4cff;},_0x5aa65e=_0x487fc7[_0xc3c9ed(0x338)](function(_0x342f3b,_0x437264){const _0x24962d=_0xc3c9ed;var _0x18c5a9=_0x342f3b[_0x24962d(0x26c)],_0x2869f5=_0x342f3b['id'],_0x3c16a5=_0x342f3b[_0x24962d(0xe6)],_0xa54584=_0x342f3b[_0x24962d(0x1f9)],_0x16d264=_0x542f4c(_0x342f3b,['icon','id','className','extend']),_0x570e9e='univerjs-icon\x20univerjs-icon-'[_0x24962d(0xc2)](_0x2869f5,'\x20')[_0x24962d(0xc2)](_0x3c16a5||'')[_0x24962d(0x217)](),_0x34fef4=_0x487fc7[_0x24962d(0x104)]('_'[_0x24962d(0xc2)](_0x1ba6c7()));return _0x2eaf39(_0x18c5a9,''[_0x24962d(0xc2)](_0x2869f5),{'defIds':_0x18c5a9[_0x24962d(0x146)],'idSuffix':_0x34fef4[_0x24962d(0x345)]},_0x4a0796({'ref':_0x437264,'className':_0x570e9e},_0x16d264),_0xa54584);});function _0x2eaf39(_0xed3c35,_0x4eba84,_0x45de7e,_0x1905ff,_0x2bcdb0){const _0x1a05ee=_0xc3c9ed;return _0x487fc7[_0x1a05ee(0xd6)](_0xed3c35[_0x1a05ee(0x2ba)],_0x4a0796(_0x4a0796({'key':_0x4eba84},_0x224008(_0xed3c35,_0x45de7e,_0x2bcdb0)),_0x1905ff),(_0xbe03f2(_0xed3c35,_0x45de7e)[_0x1a05ee(0x28c)]||[])[_0x1a05ee(0x22b)](function(_0x119f98,_0x6add25){const _0x308e99=_0x1a05ee;return _0x2eaf39(_0x119f98,''[_0x308e99(0xc2)](_0x4eba84,'-')[_0x308e99(0xc2)](_0xed3c35[_0x308e99(0x2ba)],'-')[_0x308e99(0xc2)](_0x6add25),_0x45de7e,void 0x0,_0x2bcdb0);}));}function _0x224008(_0x464726,_0x4341a8,_0x3c3c24){const _0x463548=_0xc3c9ed;var _0x1bd4f4=_0x4a0796({},_0x464726[_0x463548(0x151)]);_0x3c3c24!=null&&_0x3c3c24[_0x463548(0x19c)]&&_0x1bd4f4['fill']===_0x463548(0x19c)&&(_0x1bd4f4[_0x463548(0x233)]=_0x3c3c24[_0x463548(0x19c)]),_0x464726[_0x463548(0x2ba)]==='mask'&&_0x1bd4f4['id']&&(_0x1bd4f4['id']=_0x1bd4f4['id']+_0x4341a8[_0x463548(0xc7)]),Object['entries'](_0x1bd4f4)[_0x463548(0x2ca)](function(_0x30ba35){const _0x196c75=_0x463548;var _0x330b7c=_0x30ba35[0x0],_0x4f7ffb=_0x30ba35[0x1];_0x330b7c===_0x196c75(0x1da)&&typeof _0x4f7ffb==_0x196c75(0x188)&&(_0x1bd4f4[_0x330b7c]=_0x4f7ffb[_0x196c75(0x1af)](/url\(#(.*)\)/,'url(#$1'[_0x196c75(0xc2)](_0x4341a8[_0x196c75(0xc7)],')')));});var _0x429418=_0x4341a8[_0x463548(0x146)];return!_0x429418||_0x429418[_0x463548(0x1f5)]===0x0||(_0x464726[_0x463548(0x2ba)]===_0x463548(0x11e)&&_0x1bd4f4[_0x463548(0x186)]&&(_0x1bd4f4[_0x463548(0x186)]=_0x1bd4f4[_0x463548(0x186)]+_0x4341a8[_0x463548(0xc7)]),Object[_0x463548(0x2e7)](_0x1bd4f4)[_0x463548(0x2ca)](function(_0x3503ac){const _0xeb2541=_0x463548;var _0x77eae0=_0x3503ac[0x0],_0xf13268=_0x3503ac[0x1];typeof _0xf13268==_0xeb2541(0x188)&&(_0x1bd4f4[_0x77eae0]=_0xf13268['replace'](/url\(#(.*)\)/,_0xeb2541(0x178)[_0xeb2541(0xc2)](_0x4341a8[_0xeb2541(0xc7)],')')));})),_0x1bd4f4;}function _0xbe03f2(_0x40639c,_0x386caa){const _0x14b256=_0xc3c9ed;var _0x4c6dc3,_0x1e8898=_0x386caa[_0x14b256(0x146)];return!_0x1e8898||_0x1e8898[_0x14b256(0x1f5)]===0x0?_0x40639c:_0x40639c[_0x14b256(0x2ba)]===_0x14b256(0x1c5)&&(!((_0x4c6dc3=_0x40639c[_0x14b256(0x28c)])===null||_0x4c6dc3===void 0x0)&&_0x4c6dc3[_0x14b256(0x1f5)])?_0x4a0796(_0x4a0796({},_0x40639c),{'children':_0x40639c[_0x14b256(0x28c)][_0x14b256(0x22b)](function(_0xe829f5){const _0x38afe0=_0x14b256;return typeof _0xe829f5[_0x38afe0(0x151)]['id']=='string'&&_0x1e8898&&_0x1e8898[_0x38afe0(0x10c)](_0xe829f5['attrs']['id'])?_0x4a0796(_0x4a0796({},_0xe829f5),{'attrs':_0x4a0796(_0x4a0796({},_0xe829f5[_0x38afe0(0x151)]),{'id':_0xe829f5[_0x38afe0(0x151)]['id']+_0x386caa[_0x38afe0(0xc7)]})}):_0xe829f5;})}):_0x40639c;}function _0x1ba6c7(){const _0x46fc86=_0xc3c9ed;return Math[_0x46fc86(0x339)]()['toString'](0x24)[_0x46fc86(0x2ee)](0x2,0x8);}_0x5aa65e['displayName']=_0xc3c9ed(0x1fa);var _0x15d015={'tag':_0xc3c9ed(0x1b7),'attrs':{'xmlns':_0xc3c9ed(0x215),'fill':_0xc3c9ed(0x12d),'viewBox':'0\x200\x2016\x2016','width':_0xc3c9ed(0x164),'height':_0xc3c9ed(0x164)},'children':[{'tag':'g','attrs':{'clipPath':_0xc3c9ed(0x231)},'children':[{'tag':'path','attrs':{'stroke':_0xc3c9ed(0x27c),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0xc3c9ed(0x24b),'strokeLinejoin':_0xc3c9ed(0x24b),'strokeWidth':1.2}}]},{'tag':_0xc3c9ed(0x1c5),'attrs':{},'children':[{'tag':_0xc3c9ed(0x346),'attrs':{'id':_0xc3c9ed(0x294)},'children':[{'tag':_0xc3c9ed(0x108),'attrs':{'fill':_0xc3c9ed(0x299),'d':_0xc3c9ed(0x173)}}]}]}],'defIds':[_0xc3c9ed(0x294)]},_0x477824=_0x487fc7[_0xc3c9ed(0x338)](function(_0x48be34,_0x218ce2){const _0x3c1ec5=_0xc3c9ed;return _0x487fc7['createElement'](_0x5aa65e,Object[_0x3c1ec5(0x306)]({},_0x48be34,{'id':_0x3c1ec5(0x34c),'ref':_0x218ce2,'icon':_0x15d015}));});_0x477824[_0xc3c9ed(0x279)]=_0xc3c9ed(0x29f);var _0x26ec6e={'tag':_0xc3c9ed(0x1b7),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0xc3c9ed(0x102),'width':'1em','height':_0xc3c9ed(0x164)},'children':[{'tag':'g','attrs':{'clipPath':_0xc3c9ed(0xea)},'children':[{'tag':_0xc3c9ed(0x108),'attrs':{'stroke':'currentColor','d':_0xc3c9ed(0x141),'strokeLinecap':_0xc3c9ed(0x24b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0xc3c9ed(0x1c5),'attrs':{},'children':[{'tag':_0xc3c9ed(0x346),'attrs':{'id':_0xc3c9ed(0x351)},'children':[{'tag':_0xc3c9ed(0x108),'attrs':{'fill':_0xc3c9ed(0x299),'d':_0xc3c9ed(0x173),'transform':_0xc3c9ed(0x295)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x556dbe=_0x487fc7[_0xc3c9ed(0x338)](function(_0x1d82c6,_0x23accb){const _0x566c3b=_0xc3c9ed;return _0x487fc7[_0x566c3b(0xd6)](_0x5aa65e,Object[_0x566c3b(0x306)]({},_0x1d82c6,{'id':_0x566c3b(0x20e),'ref':_0x23accb,'icon':_0x26ec6e}));});_0x556dbe[_0xc3c9ed(0x279)]=_0xc3c9ed(0x289);function _0x3cadb8(_0x252a7e){const _0x357d8b=_0xc3c9ed;switch(_0x252a7e){case _0x4bd9c3[_0x357d8b(0x1f2)]['OFFLINE']:return _0x357d8b(0x20f);case _0x4bd9c3[_0x357d8b(0x1f2)][_0x357d8b(0x147)]:return _0x357d8b(0x262);case _0x4bd9c3[_0x357d8b(0x1f2)]['FETCH_MISS']:return _0x357d8b(0x26f);case _0x4bd9c3[_0x357d8b(0x1f2)][_0x357d8b(0x205)]:return _0x357d8b(0x241);case _0x4bd9c3[_0x357d8b(0x1f2)][_0x357d8b(0x234)]:case _0x4bd9c3[_0x357d8b(0x1f2)]['AWAITING_WITH_PENDING']:return _0x357d8b(0x1b3);case _0x4bd9c3['CollaborationStatus'][_0x357d8b(0x1be)]:case _0x4bd9c3[_0x357d8b(0x1f2)]['PENDING']:return _0x357d8b(0x2c6);}}function _0x4b7daf(_0x15c2dc){const _0x31506c=_0xc3c9ed,{status$:_0x18f3f5}=_0x15c2dc,_0x2a2c52=_0x2ace11['useObservable'](_0x18f3f5,_0x4bd9c3[_0x31506c(0x1f2)][_0x31506c(0x205)]),_0x181587=_0x2ace11['useDependency'](_0x4a4808[_0x31506c(0x328)]),_0x392646=_0x2ace11['useDependency'](_0x4bd9c3[_0x31506c(0x2bc)]),_0x3bb675=_0x2a2c52!==_0x4bd9c3[_0x31506c(0x1f2)][_0x31506c(0x171)],_0x4e0da4=_0x181587['t'](_0x3cadb8(_0x2a2c52)),_0x3936e6=_0x3bb675?_0x563678['jsx'](_0x556dbe,{}):_0x563678['jsx'](_0x477824,{}),_0x240c10=_0x487fc7[_0x31506c(0x2a9)](()=>{const _0x2b2f41=_0x31506c;_0x3bb675||_0x392646[_0x2b2f41(0x140)]();},[_0x3bb675,_0x392646]);function _0x11aa27(){const _0x4d9222=_0x31506c;return _0x563678[_0x4d9222(0x13b)]('div',{'className':_0x4d9222(0x1a2),'onClick':_0x240c10,'children':[_0x563678[_0x4d9222(0x220)]('div',{'className':_0x217bfe[_0x4d9222(0x25a)](_0x4d9222(0x202),{'univer-text-green-500':_0x3bb675,'univer-text-red-500':!_0x3bb675}),'children':_0x3936e6}),_0x563678[_0x4d9222(0x220)](_0x4d9222(0x341),{'className':_0x4d9222(0x17b),'children':_0x4e0da4})]});}return _0x3bb675?_0x11aa27():_0x563678[_0x31506c(0x220)](_0x217bfe[_0x31506c(0x2a5)],{'title':_0x181587['t'](_0x31506c(0xcd)),'children':_0x11aa27()});}var _0x359ca9=Object[_0xc3c9ed(0x25e)],_0x19214b=(_0x2b2d8a,_0x1a069c,_0x549c77,_0x5dc202)=>{for(var _0x132c37=_0x5dc202>0x1?void 0x0:_0x5dc202?_0x359ca9(_0x1a069c,_0x549c77):_0x1a069c,_0x3edf00=_0x2b2d8a['length']-0x1,_0x5ff8c6;_0x3edf00>=0x0;_0x3edf00--)(_0x5ff8c6=_0x2b2d8a[_0x3edf00])&&(_0x132c37=_0x5ff8c6(_0x132c37)||_0x132c37);return _0x132c37;},_0x1f3564=(_0x2b37b8,_0x19400f)=>(_0x316b8f,_0x6a53d2)=>_0x19400f(_0x316b8f,_0x6a53d2,_0x2b37b8);_0x586957[_0xc3c9ed(0x34e)]=class extends _0x4a4808['Disposable']{constructor(_0x4a2a5e,_0x275795,_0x5eaf45,_0x564bd2){const _0x23e58b=_0xc3c9ed;super(),_0xc598b2(this,'_status$',new _0x40989e[(_0x23e58b(0x2d1))](_0x4bd9c3[_0x23e58b(0x1f2)]['NOT_COLLAB'])),(this[_0x23e58b(0xd2)]=_0x4a2a5e,this['_injector']=_0x275795,this[_0x23e58b(0x337)]=_0x5eaf45,this[_0x23e58b(0x2bb)]=_0x564bd2,this[_0x23e58b(0x14b)](),this[_0x23e58b(0x2e6)]());}[_0xc3c9ed(0x2e6)](){const _0x2a94e6=_0xc3c9ed;this['disposeWithMe'](this[_0x2a94e6(0xd2)][_0x2a94e6(0x282)]['pipe'](_0x40989e[_0x2a94e6(0xb8)](()=>{const _0x28d9ab=_0x2a94e6,_0x3600fd=this[_0x28d9ab(0xd2)]['getFocusedUnit']();return _0x3600fd?this[_0x28d9ab(0x337)][_0x28d9ab(0x24d)](_0x3600fd['getUnitId']()):_0x40989e['of'](null);}),_0x40989e[_0x2a94e6(0xb8)](_0xd333ac=>_0xd333ac?_0xd333ac[_0x2a94e6(0x19b)]:_0x40989e['of'](_0x4bd9c3[_0x2a94e6(0x1f2)][_0x2a94e6(0x205)])))['subscribe'](_0x4eb960=>{const _0x5f4c30=_0x2a94e6;this[_0x5f4c30(0xc5)][_0x5f4c30(0x33f)](_0x4eb960);}));}['_initStatusComponent'](){const _0x56b6c=_0xc3c9ed;this[_0x56b6c(0x1fb)](this[_0x56b6c(0x2bb)][_0x56b6c(0xbe)](_0x2ace11[_0x56b6c(0x2a7)][_0x56b6c(0x17d)],()=>_0x2ace11[_0x56b6c(0x29a)](_0xd203e3({'status$':this[_0x56b6c(0xc5)][_0x56b6c(0xf5)]()}),this[_0x56b6c(0x11a)])));}},_0x586957['DesktopCollaborationStatusDisplayController']=_0x19214b([_0x1f3564(0x0,_0x4a4808['IUniverInstanceService']),_0x1f3564(0x1,_0x4a4808[_0xc3c9ed(0x113)](_0x4a4808[_0xc3c9ed(0x2b4)])),_0x1f3564(0x2,_0x4a4808['Inject'](_0x4bd9c3[_0xc3c9ed(0x269)])),_0x1f3564(0x3,_0x2ace11[_0xc3c9ed(0x13d)])],_0x586957[_0xc3c9ed(0x34e)]);function _0xd203e3(_0x2af514){const {status$:_0x5182b8}=_0x2af514;return function(){const _0x48e4d4=_0xb97a;return _0x563678[_0x48e4d4(0x220)](_0x4b7daf,{'status$':_0x5182b8});};}const _0x5a759b=_0x4a4808['createIdentifier']('uni.network.url-service');var _0x2145a2=Object[_0xc3c9ed(0x25e)],_0x2b503d=(_0x3b9bd8,_0x1693aa,_0x52d2e8,_0x16bd10)=>{for(var _0x49272e=_0x16bd10>0x1?void 0x0:_0x16bd10?_0x2145a2(_0x1693aa,_0x52d2e8):_0x1693aa,_0x3eda82=_0x3b9bd8['length']-0x1,_0x301e46;_0x3eda82>=0x0;_0x3eda82--)(_0x301e46=_0x3b9bd8[_0x3eda82])&&(_0x49272e=_0x301e46(_0x49272e)||_0x49272e);return _0x49272e;},_0x46430e=(_0x3326b8,_0x56bf95)=>(_0x1bcb79,_0x37c9cb)=>_0x56bf95(_0x1bcb79,_0x37c9cb,_0x3326b8);_0x586957[_0xc3c9ed(0x332)]=class extends _0x4a4808[_0xc3c9ed(0x213)]{constructor(_0x268519,_0x3fc2f6,_0x1787ad,_0x491d5e,_0x1a2b0d){const _0x33c401=_0xc3c9ed;super(),this[_0x33c401(0x1e4)]=_0x268519,this[_0x33c401(0x1ab)]=_0x3fc2f6,this[_0x33c401(0x235)]=_0x1787ad,this['_dataLoaderService']=_0x491d5e,_0x1a2b0d?_0x1a2b0d==null||_0x1a2b0d[_0x33c401(0x1c1)]()['then'](()=>this[_0x33c401(0x2f4)]()):(this[_0x33c401(0x1ab)][_0x33c401(0x292)](_0x33c401(0x204),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x33c401(0x2f4)]());}async[_0xc3c9ed(0x2f4)](){const _0x209344=_0xc3c9ed,_0x39e4bf=this[_0x209344(0x1e4)]['getParam'](_0x209344(0x1ce)),_0x390de7=this['_urlService']['getParam'](_0x209344(0x196)),_0x2fdf87=this['_urlService'][_0x209344(0x209)](_0x209344(0xfb));if(!_0x39e4bf||!_0x390de7){this[_0x209344(0x1ab)][_0x209344(0x292)](_0x209344(0x204),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x3a179f=await this[_0x209344(0x2d0)]['loadUnit'](_0x39e4bf,Number(_0x390de7),_0x2fdf87);_0x3a179f&&_0x3a179f instanceof _0x4a4808[_0x209344(0x28d)]&&this[_0x209344(0x115)](_0x3a179f);}async[_0xc3c9ed(0x115)](_0x1288eb){const _0x521ec1=_0xc3c9ed;await this['_updateSubUnitFromURLParams'](_0x1288eb),_0x1288eb[_0x521ec1(0x117)][_0x521ec1(0x10b)](_0x40989e[_0x521ec1(0x183)](this[_0x521ec1(0x27b)]))[_0x521ec1(0x16e)](_0x9d95e2=>{const _0xf3762=_0x521ec1;_0x9d95e2&&this[_0xf3762(0xfa)](_0x9d95e2);}),this[_0x521ec1(0x1e4)][_0x521ec1(0x161)][_0x521ec1(0x10b)](_0x40989e['takeUntil'](this[_0x521ec1(0x27b)]))[_0x521ec1(0x16e)](()=>this[_0x521ec1(0x15d)](_0x1288eb));}[_0xc3c9ed(0xfa)](_0x4b6ec6,_0x182ac5=!0x1){const _0x3441ab=_0xc3c9ed,_0x47058c=this[_0x3441ab(0x1e4)][_0x3441ab(0x209)]('subunit');_0x4b6ec6['getSheetId']()!==_0x47058c&&this['_urlService']['setParam'](_0x3441ab(0xfb),_0x4b6ec6[_0x3441ab(0x227)](),_0x182ac5);}async[_0xc3c9ed(0x15d)](_0x2565db){const _0x830afb=_0xc3c9ed;var _0x1cb5f1;const _0x25d773=this[_0x830afb(0x1e4)][_0x830afb(0x209)](_0x830afb(0xfb));if(!_0x25d773||!_0x2565db['getSheetBySheetId'](_0x25d773)){const _0x4df579=_0x2565db['getUnhiddenWorksheets']()[0x0],_0x1ed153=_0x2565db[_0x830afb(0x18f)](_0x4df579);if(!_0x1ed153)return;this[_0x830afb(0xfa)](_0x1ed153,!0x0),await this[_0x830afb(0x235)]['executeCommand'](_0x38d5ed['SetWorksheetActivateCommand']['id'],{'unitId':_0x2565db[_0x830afb(0x1de)](),'subUnitId':_0x4df579});return;}((_0x1cb5f1=_0x2565db[_0x830afb(0x255)]())==null?void 0x0:_0x1cb5f1[_0x830afb(0x227)]())!==_0x25d773&&await this[_0x830afb(0x235)][_0x830afb(0x211)](_0x38d5ed[_0x830afb(0x32a)]['id'],{'unitId':_0x2565db['getUnitId'](),'subUnitId':_0x25d773});}},_0x586957['CollaborationDataLoaderController']=_0x2b503d([_0x46430e(0x0,_0x5a759b),_0x46430e(0x1,_0x4a4808[_0xc3c9ed(0x25c)]),_0x46430e(0x2,_0x4a4808[_0xc3c9ed(0x1b4)]),_0x46430e(0x3,_0x4a4808[_0xc3c9ed(0x113)](_0x4bd9c3[_0xc3c9ed(0x10a)])),_0x46430e(0x4,_0x4a4808['Optional'](_0x51b2f9[_0xc3c9ed(0x1fd)]))],_0x586957[_0xc3c9ed(0x332)]);var _0x175028=Object['getOwnPropertyDescriptor'],_0xa018f=(_0x3c5f95,_0x17bc3a,_0x97b0b8,_0x55001a)=>{const _0x8e291=_0xc3c9ed;for(var _0xea1ae5=_0x55001a>0x1?void 0x0:_0x55001a?_0x175028(_0x17bc3a,_0x97b0b8):_0x17bc3a,_0x152bf0=_0x3c5f95[_0x8e291(0x1f5)]-0x1,_0x309ff9;_0x152bf0>=0x0;_0x152bf0--)(_0x309ff9=_0x3c5f95[_0x152bf0])&&(_0xea1ae5=_0x309ff9(_0xea1ae5)||_0xea1ae5);return _0xea1ae5;},_0x4e4b10=(_0x2deac9,_0x1ec300)=>(_0x501259,_0x2a023f)=>_0x1ec300(_0x501259,_0x2a023f,_0x2deac9);let _0x22b7b7=class extends _0x4a4808[_0xc3c9ed(0x213)]{constructor(_0x5c178f,_0x20eb3d){const _0x63d0fd=_0xc3c9ed;super(),this[_0x63d0fd(0x1f7)]=_0x5c178f,this[_0x63d0fd(0x30f)]=_0x20eb3d,this[_0x63d0fd(0x2f4)]();}[_0xc3c9ed(0x2f4)](){const _0x51209f=_0xc3c9ed,_0x272faa=this;this['disposeWithMe'](this[_0x51209f(0x1f7)]['addClipboardHook']({'onBeforePasteImage':async _0x2942b0=>{const _0xf74b13=_0x51209f,_0x56e759=await _0x272faa[_0xf74b13(0x30f)][_0xf74b13(0x1ae)](_0x2942b0);return _0x56e759?{'source':_0x56e759[_0xf74b13(0x280)],'imageSourceType':_0x56e759[_0xf74b13(0xe3)]}:null;}}));}};_0x22b7b7=_0xa018f([_0x4e4b10(0x0,_0x5ab035[_0xc3c9ed(0x225)]),_0x4e4b10(0x1,_0x11f340[_0xc3c9ed(0x1eb)])],_0x22b7b7);const _0x3d6707=[_0xc3c9ed(0xdd),_0xc3c9ed(0x243),'green.600',_0xc3c9ed(0x1f0),_0xc3c9ed(0x34a),_0xc3c9ed(0xd8)];class _0x12959a extends _0x4a4808['Disposable']{constructor(){const _0x1e355a=_0xc3c9ed;super(...arguments),_0xc598b2(this,_0x1e355a(0x101),new Map()),_0xc598b2(this,'_colorIndex',0x0);}[_0xc3c9ed(0x2e3)](_0x1bfdb1){const _0x1b5057=_0xc3c9ed;if(this[_0x1b5057(0x101)]['has'](_0x1bfdb1))return this[_0x1b5057(0x101)][_0x1b5057(0x302)](_0x1bfdb1);const _0x4ba99a=_0x3d6707[this['_colorIndex']];return this[_0x1b5057(0x2a3)]=(this['_colorIndex']+0x1)%_0x3d6707[_0x1b5057(0x1f5)],this[_0x1b5057(0x101)][_0x1b5057(0x1e7)](_0x1bfdb1,_0x4ba99a),_0x4ba99a;}}function _0xdef727(_0xaa14f){let _0x5ed4d7='';for(const _0x2bc5e3 of _0xaa14f){const {startOffset:_0x4b6cb0,endOffset:_0x1d94ba,isActive:_0x12fe35,rangeType:_0x2fd849,segmentId:_0x14957b,segmentPage:_0x3f7c91}=_0x2bc5e3;_0x5ed4d7['length']&&(_0x5ed4d7+=','),_0x5ed4d7+=_0x4b6cb0+':'+_0x1d94ba+':'+(_0x12fe35?'1':'0')+':'+_0x2fd849+':'+_0x14957b+':'+_0x3f7c91;}return _0x5ed4d7;}function _0x4f5d80(_0x2a0e73){const _0x3e97b5=_0xc3c9ed,_0x1b641a=_0x2a0e73[_0x3e97b5(0x290)](','),_0x32ee76=[];for(const _0x3bcafb of _0x1b641a){const [_0x5153cd,_0x460bb1,_0x490294,_0x53acfc,_0x52465c,_0x30a94a]=_0x3bcafb[_0x3e97b5(0x290)](':');_0x32ee76[_0x3e97b5(0x286)]({'startOffset':Number(_0x5153cd),'endOffset':Number(_0x460bb1),'collapsed':_0x5153cd===_0x460bb1,'isActive':_0x490294==='1','rangeType':_0x53acfc===_0x4a4808[_0x3e97b5(0x2f9)]['TEXT']?_0x4a4808[_0x3e97b5(0x2f9)][_0x3e97b5(0xd5)]:_0x4a4808[_0x3e97b5(0x2f9)][_0x3e97b5(0x246)],'segmentId':typeof _0x52465c=='string'?String(_0x52465c):'','segmentPage':Number(_0x30a94a!=null?_0x30a94a:-0x1)});}return _0x32ee76[_0x3e97b5(0x10f)](_0x8ec76a=>_0x8ec76a[_0x3e97b5(0x311)])||(_0x32ee76[0x0][_0x3e97b5(0x311)]=!0x0),_0x32ee76;}class _0x5cb308 extends _0x4a4808[_0xc3c9ed(0x213)]{constructor(){const _0x5a0a83=_0xc3c9ed;super(...arguments),_0xc598b2(this,'_collabCursorState$',new _0x40989e[(_0x5a0a83(0x2d1))](null)),_0xc598b2(this,_0x5a0a83(0x240),this[_0x5a0a83(0x343)]['asObservable']());}['syncEditingCollabCursor'](_0x3bc3fa){const _0x815c4b=_0xc3c9ed,{unitID:_0x17930b,memberID:_0x377cb4,textRanges:_0x113b5c}=_0x3bc3fa,_0xf5482a=_0xdef727(_0x113b5c);if(_0xf5482a==='')return;const _0x315313={'unitID':_0x17930b,'memberID':_0x377cb4,'selection':_0xf5482a};this[_0x815c4b(0x343)]['next'](_0x315313);}}var _0x331617=Object[_0xc3c9ed(0x25e)],_0x4d6d96=(_0xd45842,_0x933ab3,_0x13f8a7,_0x5b4146)=>{const _0x5cca4b=_0xc3c9ed;for(var _0x30d7cb=_0x5b4146>0x1?void 0x0:_0x5b4146?_0x331617(_0x933ab3,_0x13f8a7):_0x933ab3,_0x59ef73=_0xd45842[_0x5cca4b(0x1f5)]-0x1,_0x4d5b7f;_0x59ef73>=0x0;_0x59ef73--)(_0x4d5b7f=_0xd45842[_0x59ef73])&&(_0x30d7cb=_0x4d5b7f(_0x30d7cb)||_0x30d7cb);return _0x30d7cb;},_0x594e13=(_0x39abb7,_0xee0018)=>(_0x475d27,_0x305836)=>_0xee0018(_0x475d27,_0x305836,_0x39abb7);const _0x565d7a=0x12c,_0x4ba459=0x64;let _0x4e614f=class extends _0x4a4808['RxDisposable']{constructor(_0x107eb5,_0x2da061,_0x4f7ae3,_0x56d0b9,_0x4113cf,_0x493e5e,_0x3aa977,_0x4f9549,_0x14f994){const _0xc9f577=_0xc3c9ed;super(),_0xc598b2(this,'_online',!0x1),_0xc598b2(this,'_init',!0x1),_0xc598b2(this,_0xc9f577(0xef),new _0x40989e[(_0xc9f577(0x2d1))](new Map())),_0xc598b2(this,'cursorInfo$',this[_0xc9f577(0xef)][_0xc9f577(0xf5)]()),_0xc598b2(this,_0xc9f577(0x1cf),new _0x40989e[(_0xc9f577(0x2d1))]([])),_0xc598b2(this,'roomMembers$',this[_0xc9f577(0x1cf)][_0xc9f577(0x10b)](_0x40989e[_0xc9f577(0xf9)](_0x565d7a))),_0xc598b2(this,_0xc9f577(0x326),_0x4a4808[_0xc9f577(0x325)](_0x473da4=>{const _0x15962c=_0xc9f577,_0x3596ab={'eventID':_0xc6a6b['CollaborationEvent'][_0x15962c(0xf8)],'data':{'unitID':this[_0x15962c(0x314)],'memberID':this['_session']['getMemberID'](),'selection':_0xdef727(_0x473da4)}};this['_session'][_0x15962c(0x21f)](_0x3596ab,this['unitID']);},_0x4ba459)),(this[_0xc9f577(0x314)]=_0x107eb5,this[_0xc9f577(0x272)]=_0x2da061,this['_injector']=_0x4f7ae3,this[_0xc9f577(0x2aa)]=_0x56d0b9,this[_0xc9f577(0x303)]=_0x4113cf,this[_0xc9f577(0x285)]=_0x493e5e,this['_transformService']=_0x3aa977,this[_0xc9f577(0xd2)]=_0x4f9549,this['_commandService']=_0x14f994);}get[_0xc3c9ed(0x201)](){const _0x375a25=_0xc3c9ed;return this[_0x375a25(0xef)][_0x375a25(0x28f)]();}get[_0xc3c9ed(0x288)](){const _0x1121c4=_0xc3c9ed;return this['_roomMembers$'][_0x1121c4(0x28f)]();}[_0xc3c9ed(0x2c9)](){const _0x20111c=_0xc3c9ed;super[_0x20111c(0x2c9)](),this[_0x20111c(0xef)][_0x20111c(0x33f)](new Map()),this['_cursorInfo$']['complete'](),this[_0x20111c(0x1cf)]['next']([]),this[_0x20111c(0x1cf)][_0x20111c(0x210)]();}[_0xc3c9ed(0x249)](){const _0x3a574d=_0xc3c9ed;this[_0x3a574d(0x2f4)]||(this[_0x3a574d(0x2f4)]=!0x0,this['_session']['sessionStatus$']['pipe'](_0x40989e['takeUntil'](this[_0x3a574d(0x27b)]))[_0x3a574d(0x16e)](_0x2117a2=>{const _0x441df2=_0x3a574d;_0x2117a2===_0x4bd9c3[_0x441df2(0x1bd)]['ONLINE']?this[_0x441df2(0xbc)]():this[_0x441df2(0x1e5)]();}),this['_session'][_0x3a574d(0x150)][_0x3a574d(0x10b)](_0x40989e[_0x3a574d(0x183)](this[_0x3a574d(0x27b)]))['subscribe'](_0x51c783=>{const _0x4088f4=_0x3a574d,_0x45ed29=_0x51c783[_0x4088f4(0x26d)];_0x45ed29===_0xc6a6b[_0x4088f4(0x34b)][_0x4088f4(0xf8)]&&this['_onCursorUpdate'](_0x51c783),_0x45ed29===_0xc6a6b[_0x4088f4(0x34b)][_0x4088f4(0x121)]&&this[_0x4088f4(0x33d)](_0x51c783);}),this[_0x3a574d(0x1fb)](this[_0x3a574d(0x235)][_0x3a574d(0x1d8)](_0x59e5ce=>{const _0xe02d52=_0x3a574d,_0x302bf0=_0x59e5ce[_0xe02d52(0x190)];_0x302bf0!=null&&this[_0xe02d52(0x2da)]&&_0x59e5ce['id']===_0x83313[_0xe02d52(0x251)]['id']&&_0x302bf0[_0xe02d52(0x1dd)]===this['unitID']&&_0x302bf0['isEditing']===!0x1&&_0x302bf0[_0xe02d52(0xe5)]['length']>0x0&&this[_0xe02d52(0x326)](_0x302bf0[_0xe02d52(0xe5)]);})),this[_0x3a574d(0x285)][_0x3a574d(0x240)][_0x3a574d(0x10b)](_0x40989e[_0x3a574d(0x183)](this[_0x3a574d(0x27b)]))[_0x3a574d(0x16e)](_0x4c9589=>{const _0x437e86=_0x3a574d;if((_0x4c9589==null?void 0x0:_0x4c9589['unitID'])!==this[_0x437e86(0x314)])return;const _0x3e0e72={'eventID':_0xc6a6b['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x4c9589};this[_0x437e86(0x30c)](_0x3e0e72);}),this[_0x3a574d(0x1fb)](this[_0x3a574d(0x235)][_0x3a574d(0x1d8)](_0xd91696=>{const _0x3ede4b=_0x3a574d;if(_0xd91696[_0x3ede4b(0x190)]==null)return;const _0x1cc117=_0xd91696['params'];if(_0xd91696['id']!==_0x83313[_0x3ede4b(0x114)]['id']||_0x1cc117['unitId']!==this[_0x3ede4b(0x314)])return;const _0x59db8d={'id':'doc.mutation.rich-text-editing','params':_0x1cc117},_0x345394=this['cursorInfo'];for(const [_0x2d7810,_0x5c50b4]of _0x345394){const _0x3af5e5={'id':_0x3ede4b(0xf2),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5c50b4[_0x3ede4b(0xe5)]}},_0x1cdf99=this['_transformService'][_0x3ede4b(0x23a)](_0x59db8d,_0x3af5e5,!0x1);if(_0xc6a6b[_0x3ede4b(0x2f3)](_0x1cdf99))throw _0x1cdf99[_0x3ede4b(0x21c)];_0x345394[_0x3ede4b(0x1e7)](_0x2d7810,{..._0x5c50b4,'ranges':_0x1cdf99['m2Prime'][_0x3ede4b(0x190)][_0x3ede4b(0x12e)]});}queueMicrotask(()=>{const _0x543387=_0x3ede4b;this[_0x543387(0xef)][_0x543387(0x33f)](_0x345394);});})));}[_0xc3c9ed(0x30c)](_0x13fb74){const _0x3617f2=_0xc3c9ed;var _0x1b2920,_0x52b894;const {memberID:_0x30efa2,selection:_0x1d89f5}=_0x13fb74[_0x3617f2(0x2f2)],_0x42c024=_0x4f5d80(_0x1d89f5),_0x471e53=(_0x52b894=(_0x1b2920=this[_0x3617f2(0x303)][_0x3617f2(0x1bb)](this[_0x3617f2(0x314)],_0x30efa2))==null?void 0x0:_0x1b2920[_0x3617f2(0x10d)])!=null?_0x52b894:_0x3617f2(0x158),_0x44a2b2={'color':this[_0x3617f2(0x2aa)][_0x3617f2(0x2e3)](_0x30efa2),'name':_0x471e53,'ranges':_0x42c024},_0xbb6bb6=this['cursorInfo'];_0xbb6bb6[_0x3617f2(0x1e7)](_0x30efa2,_0x44a2b2),this['_cursorInfo$'][_0x3617f2(0x33f)](_0xbb6bb6);}[_0xc3c9ed(0x33d)](_0x1a0ae5){const _0x41c19b=_0xc3c9ed,{memberID:_0x40d535}=_0x1a0ae5[_0x41c19b(0x2f2)],_0x29fcd2=this[_0x41c19b(0x201)];_0x29fcd2[_0x41c19b(0xc9)](_0x40d535),this[_0x41c19b(0xef)][_0x41c19b(0x33f)](_0x29fcd2);}[_0xc3c9ed(0xbc)](){const _0x337ad5=_0xc3c9ed;var _0x362632;if(this['_online']=!0x0,((_0x362632=this[_0x337ad5(0xd2)][_0x337ad5(0x1d1)]())==null?void 0x0:_0x362632[_0x337ad5(0x1de)]())!==this[_0x337ad5(0x314)])return;const _0x645041=this['_injector']['get'](_0x83313[_0x337ad5(0x23c)])['getDocRanges']();Array[_0x337ad5(0x1b2)](_0x645041)&&_0x645041[_0x337ad5(0x1f5)]>0x0&&this[_0x337ad5(0x326)](_0x645041);}[_0xc3c9ed(0x1e5)](){const _0x362285=_0xc3c9ed;this[_0x362285(0x2da)]=!0x1;}};_0x4e614f=_0x4d6d96([_0x594e13(0x2,_0x4a4808['Inject'](_0x4a4808[_0xc3c9ed(0x2b4)])),_0x594e13(0x3,_0x4a4808[_0xc3c9ed(0x113)](_0x12959a)),_0x594e13(0x4,_0x4a4808[_0xc3c9ed(0x113)](_0x4bd9c3['MemberService'])),_0x594e13(0x5,_0x4a4808[_0xc3c9ed(0x113)](_0x5cb308)),_0x594e13(0x6,_0xc6a6b[_0xc3c9ed(0x179)]),_0x594e13(0x7,_0x4a4808['IUniverInstanceService']),_0x594e13(0x8,_0x4a4808['ICommandService'])],_0x4e614f);var _0x1b7424=Object['getOwnPropertyDescriptor'],_0x40b78d=(_0x2291d9,_0x56ea7b,_0xfeb36,_0x257472)=>{for(var _0x33308e=_0x257472>0x1?void 0x0:_0x257472?_0x1b7424(_0x56ea7b,_0xfeb36):_0x56ea7b,_0x37d3bf=_0x2291d9['length']-0x1,_0x45f036;_0x37d3bf>=0x0;_0x37d3bf--)(_0x45f036=_0x2291d9[_0x37d3bf])&&(_0x33308e=_0x45f036(_0x33308e)||_0x33308e);return _0x33308e;},_0x346dfb=(_0x5d20c0,_0x4c4b65)=>(_0x4c7fc6,_0x273c92)=>_0x4c4b65(_0x4c7fc6,_0x273c92,_0x5d20c0);const _0x4bb4e1=0x12c,_0x571833=0x64,_0x4207f6=()=>{let _0x5a5561=[],_0x4f4d0f=!0x1;return _0x322966=>{const _0x932293=_0xb97a;_0x5a5561[_0x932293(0x286)](_0x322966),_0x4f4d0f||(_0x4f4d0f=!0x0,setTimeout(()=>{const _0x58e563=_0x932293;_0x5a5561[_0x58e563(0x2ca)](_0x5ea9b4=>_0x5ea9b4()),_0x5a5561=[],_0x4f4d0f=!0x1;}));};};let _0x1ca7a2=class extends _0x4a4808['RxDisposable']{constructor(_0x50ce20,_0x2b2b77,_0x261e35,_0x302cdd,_0x537066,_0x24271a,_0x59d7d3,_0x1a5701){const _0xd6fb14=_0xc3c9ed;super(),_0xc598b2(this,_0xd6fb14(0x2da),!0x1),_0xc598b2(this,'_init',!0x1),_0xc598b2(this,_0xd6fb14(0xef),new _0x40989e['BehaviorSubject'](new Map())),_0xc598b2(this,_0xd6fb14(0x180),this[_0xd6fb14(0xef)]['asObservable']()),_0xc598b2(this,'_roomMembers$',new _0x40989e[(_0xd6fb14(0x2d1))]([])),_0xc598b2(this,_0xd6fb14(0x32d),this[_0xd6fb14(0x1cf)]['pipe'](_0x40989e['debounceTime'](_0x4bb4e1))),_0xc598b2(this,_0xd6fb14(0x326),_0x4a4808[_0xd6fb14(0x325)]((_0x56f079,_0x1c3af9)=>{const _0x3c7e0f=_0xd6fb14,_0xcbb763={'eventID':_0xc6a6b[_0x3c7e0f(0x34b)][_0x3c7e0f(0xf8)],'data':{'unitID':this[_0x3c7e0f(0x314)],'memberID':this[_0x3c7e0f(0x272)]['getMemberID'](),'selection':_0x4aea54[_0x3c7e0f(0x129)](_0x56f079,_0x1c3af9['range'])}};this[_0x3c7e0f(0x272)]['send'](_0xcbb763,this[_0x3c7e0f(0x314)]);},_0x571833)),(this[_0xd6fb14(0x314)]=_0x50ce20,this[_0xd6fb14(0x272)]=_0x2b2b77,this[_0xd6fb14(0x11a)]=_0x261e35,this[_0xd6fb14(0x2aa)]=_0x302cdd,this['_memberService']=_0x537066,this[_0xd6fb14(0xd2)]=_0x24271a,this[_0xd6fb14(0x235)]=_0x59d7d3,this['_refRangeService']=_0x1a5701);}get[_0xc3c9ed(0x201)](){const _0x3c4e73=_0xc3c9ed;return this[_0x3c4e73(0xef)][_0x3c4e73(0x28f)]();}get['roomMembers'](){const _0x5591ac=_0xc3c9ed;return this[_0x5591ac(0x1cf)][_0x5591ac(0x28f)]();}['dispose'](){const _0x4a54c4=_0xc3c9ed;super[_0x4a54c4(0x2c9)](),this[_0x4a54c4(0xef)][_0x4a54c4(0x33f)](new Map()),this[_0x4a54c4(0xef)][_0x4a54c4(0x210)](),this[_0x4a54c4(0x1cf)][_0x4a54c4(0x33f)]([]),this[_0x4a54c4(0x1cf)][_0x4a54c4(0x210)]();}[_0xc3c9ed(0x249)](){const _0x227a5b=_0xc3c9ed;this['_init']||(this[_0x227a5b(0x2f4)]=!0x0,this[_0x227a5b(0x272)][_0x227a5b(0x1b9)][_0x227a5b(0x10b)](_0x40989e[_0x227a5b(0x183)](this[_0x227a5b(0x27b)]))[_0x227a5b(0x16e)](_0x2073eb=>{const _0x3e5bba=_0x227a5b;_0x2073eb===_0x4bd9c3['SessionStatus'][_0x3e5bba(0x26b)]?this[_0x3e5bba(0xbc)]():this['_toggleOffline']();}),this['_session'][_0x227a5b(0x150)]['pipe'](_0x40989e[_0x227a5b(0x183)](this[_0x227a5b(0x27b)]))['subscribe'](_0x363699=>{const _0xc7d7e=_0x227a5b,_0x32da9d=_0x363699[_0xc7d7e(0x26d)];_0x32da9d===_0xc6a6b[_0xc7d7e(0x34b)][_0xc7d7e(0xf8)]&&this[_0xc7d7e(0x30c)](_0x363699),_0x32da9d===_0xc6a6b[_0xc7d7e(0x34b)][_0xc7d7e(0x121)]&&this[_0xc7d7e(0x33d)](_0x363699);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x227a5b(0x235)][_0x227a5b(0x1d8)](_0x3ebb15=>{const _0x2340d2=_0x227a5b;if(this[_0x2340d2(0x2da)]&&_0x3ebb15['id']===_0x38d5ed['SetSelectionsOperation']['id']&&_0x3ebb15[_0x2340d2(0x190)][_0x2340d2(0x1dd)]===this[_0x2340d2(0x314)]){const _0x5492b0=_0x3ebb15['params'];this[_0x2340d2(0x326)](_0x5492b0[_0x2340d2(0x2be)],_0x5492b0[_0x2340d2(0xe9)][0x0]);}})));}[_0xc3c9ed(0x30c)](_0x3731e0){const _0x76cb94=_0xc3c9ed;var _0x4afe22,_0x3828a4;const {memberID:_0x3ed76c,selection:_0x5cbafa}=_0x3731e0[_0x76cb94(0x2f2)],{sheetName:_0x2f69b7,range:_0x294970}=_0x4aea54[_0x76cb94(0xfc)](_0x5cbafa),_0x325f61={'name':(_0x3828a4=(_0x4afe22=this[_0x76cb94(0x303)][_0x76cb94(0x1bb)](this[_0x76cb94(0x314)],_0x3ed76c))==null?void 0x0:_0x4afe22[_0x76cb94(0x10d)])!=null?_0x3828a4:'Unknown\x20user','range':this[_0x76cb94(0xc6)](_0x2f69b7,_0x294970),'sheetID':_0x2f69b7,'color':this[_0x76cb94(0x2aa)][_0x76cb94(0x2e3)](_0x3ed76c),'selection':_0x5cbafa},_0x4f6037=this[_0x76cb94(0x201)];_0x4f6037[_0x76cb94(0x1e7)](_0x3ed76c,_0x325f61),this[_0x76cb94(0xef)][_0x76cb94(0x33f)](_0x4f6037);}[_0xc3c9ed(0x33d)](_0x2038f8){const _0x2dfa9d=_0xc3c9ed,{memberID:_0x588dad}=_0x2038f8[_0x2dfa9d(0x2f2)],_0x396ae7=this[_0x2dfa9d(0x201)];_0x396ae7[_0x2dfa9d(0xc9)](_0x588dad),this[_0x2dfa9d(0xef)]['next'](_0x396ae7);}[_0xc3c9ed(0xc6)](_0x26d302,_0x3cd12c){const _0x5ab807=_0xc3c9ed;var _0xe7da50,_0x350c50;const _0x18f577=(_0x350c50=(_0xe7da50=this[_0x5ab807(0xd2)]['getUniverSheetInstance'](this[_0x5ab807(0x314)]))==null?void 0x0:_0xe7da50[_0x5ab807(0x18f)](_0x26d302))==null?void 0x0:_0x350c50[_0x5ab807(0x2d3)]();return(_0x18f577==null?void 0x0:_0x18f577[_0x5ab807(0x315)](_0x3d6b4d=>_0x4a4808[_0x5ab807(0x165)]['contains'](_0x3d6b4d,_0x3cd12c)))||_0x3cd12c;}[_0xc3c9ed(0x1c8)](){const _0x5919ca=_0xc3c9ed,_0x206f00=new _0x4a4808[(_0x5919ca(0x2c7))](),_0x22d19e=_0x4207f6(),_0x330479=()=>{const _0x4729b0=_0x5919ca;_0x206f00[_0x4729b0(0x2c9)]();const _0x14f8d6=(_0x26447c,_0xe69bfe,_0x2e5754,_0x245687)=>{const _0x143125=_0x4729b0;let _0x31db41=[];switch(_0x26447c['id']){case _0x38d5ed[_0x143125(0x1aa)][_0x143125(0x25d)]:{_0x31db41=_0x38d5ed[_0x143125(0x20d)](_0x26447c,_0x245687);break;}case _0x38d5ed[_0x143125(0x1aa)][_0x143125(0x1bc)]:{_0x31db41=_0x38d5ed[_0x143125(0x228)](_0x26447c,_0x245687);break;}case _0x38d5ed['EffectRefRangId'][_0x143125(0x19f)]:{_0x31db41=_0x38d5ed[_0x143125(0x32e)](_0x26447c,_0x245687);break;}case _0x38d5ed[_0x143125(0x1aa)]['InsertRangeMoveDownCommandId']:{_0x31db41=_0x38d5ed['handleInsertRangeMoveDown'](_0x26447c,_0x245687);break;}case _0x38d5ed[_0x143125(0x1aa)][_0x143125(0x2c8)]:{_0x31db41=_0x38d5ed[_0x143125(0x334)](_0x26447c,_0x245687);break;}case _0x38d5ed[_0x143125(0x1aa)]['InsertRowCommandId']:{_0x31db41=_0x38d5ed[_0x143125(0x168)](_0x26447c,_0x245687);break;}case _0x38d5ed['EffectRefRangId']['MoveRangeCommandId']:{_0x31db41=_0x38d5ed['handleMoveRange'](_0x26447c,_0x245687);break;}case _0x38d5ed['EffectRefRangId'][_0x143125(0x320)]:{_0x31db41=_0x38d5ed[_0x143125(0x136)](_0x26447c,_0x245687);break;}case _0x38d5ed[_0x143125(0x1aa)]['RemoveRowCommandId']:{_0x31db41=_0x38d5ed['handleIRemoveRow'](_0x26447c,_0x245687);break;}}const _0x3c3661=_0x38d5ed[_0x143125(0x1c6)](_0x31db41,_0x245687),_0x37203f=this['cursorInfo'][_0x143125(0x302)](_0xe69bfe);if(_0x37203f&&_0x3c3661){const _0x5348ad={..._0x37203f,'range':_0x3c3661};this[_0x143125(0x201)][_0x143125(0x1e7)](_0xe69bfe,_0x5348ad),_0x22d19e(()=>{const _0x41c2f1=_0x143125,_0x27b5c1=this[_0x41c2f1(0x31b)][_0x41c2f1(0x197)](_0x3c3661,_0x209874=>(_0x27b5c1[_0x41c2f1(0x2c9)](),_0x14f8d6(_0x209874,_0xe69bfe,_0x2e5754,_0x3c3661)));_0x206f00[_0x41c2f1(0xf6)](_0x27b5c1);});}return{'redos':[],'undos':[]};};this[_0x4729b0(0x201)][_0x4729b0(0x2ca)]((_0x260491,_0x55fb5f)=>{const _0x14d7ef=_0x4729b0,{range:_0x2d7e8c,sheetID:_0x16ea3a}=_0x260491,_0x15df1c=this[_0x14d7ef(0x31b)]['registerRefRange'](_0x2d7e8c,_0x49f9a8=>(_0x15df1c[_0x14d7ef(0x2c9)](),_0x14f8d6(_0x49f9a8,_0x55fb5f,_0x16ea3a,_0x2d7e8c)));_0x206f00[_0x14d7ef(0xf6)](_0x15df1c);});};this['disposeWithMe'](_0x4a4808['toDisposable'](this[_0x5919ca(0xef)][_0x5919ca(0x16e)](()=>{_0x330479();})));}['_toggleOnline'](){const _0x56182b=_0xc3c9ed;var _0x75288e,_0x4398dd;if(this[_0x56182b(0x2da)]=!0x0,((_0x75288e=this[_0x56182b(0xd2)][_0x56182b(0x1d1)]())==null?void 0x0:_0x75288e[_0x56182b(0x1de)]())!==this[_0x56182b(0x314)])return;const _0x106434=(_0x4398dd=this['_injector']['get'](_0x38d5ed[_0x56182b(0x135)])['getCurrentSelections']())==null?void 0x0:_0x4398dd[0x0],_0x409b61=this[_0x56182b(0xd2)][_0x56182b(0xbd)](_0x4a4808[_0x56182b(0x29e)][_0x56182b(0x301)])['getActiveSheet']();_0x106434&&_0x409b61&&this[_0x56182b(0x326)](_0x409b61[_0x56182b(0x227)](),_0x106434);}[_0xc3c9ed(0x1e5)](){const _0x549029=_0xc3c9ed;this[_0x549029(0x2da)]=!0x1;}};_0x1ca7a2=_0x40b78d([_0x346dfb(0x2,_0x4a4808[_0xc3c9ed(0x113)](_0x4a4808[_0xc3c9ed(0x2b4)])),_0x346dfb(0x3,_0x4a4808['Inject'](_0x12959a)),_0x346dfb(0x4,_0x4a4808[_0xc3c9ed(0x113)](_0x4bd9c3['MemberService'])),_0x346dfb(0x5,_0x4a4808[_0xc3c9ed(0x2f7)]),_0x346dfb(0x6,_0x4a4808[_0xc3c9ed(0x1b4)]),_0x346dfb(0x7,_0x4a4808[_0xc3c9ed(0x113)](_0x38d5ed[_0xc3c9ed(0x2ad)]))],_0x1ca7a2);var _0x104f5a=Object[_0xc3c9ed(0x25e)],_0x3891d7=(_0x45404c,_0x66729c,_0x1f618e,_0x1dda94)=>{const _0x500c69=_0xc3c9ed;for(var _0x46ad4e=_0x1dda94>0x1?void 0x0:_0x1dda94?_0x104f5a(_0x66729c,_0x1f618e):_0x66729c,_0x826630=_0x45404c[_0x500c69(0x1f5)]-0x1,_0x542835;_0x826630>=0x0;_0x826630--)(_0x542835=_0x45404c[_0x826630])&&(_0x46ad4e=_0x542835(_0x46ad4e)||_0x46ad4e);return _0x46ad4e;},_0x3316f3=(_0xe36cf6,_0x4653fa)=>(_0x531470,_0x591896)=>_0x4653fa(_0x531470,_0x591896,_0xe36cf6);let _0x4e56a8=class extends _0x4a4808[_0xc3c9ed(0x213)]{constructor(_0x4a951c,_0x28a655,_0x542cd8){const _0x9e5576=_0xc3c9ed;super(),_0xc598b2(this,'_entities',new Map()),_0xc598b2(this,_0x9e5576(0x2e8),new _0x40989e[(_0x9e5576(0xd9))]()),(this[_0x9e5576(0xd2)]=_0x4a951c,this['_injector']=_0x28a655,this[_0x9e5576(0x111)]=_0x542cd8,this['_init']());}[_0xc3c9ed(0x2c9)](){const _0x51cab4=_0xc3c9ed;super[_0x51cab4(0x2c9)](),this['_entityInit$'][_0x51cab4(0x210)](),this[_0x51cab4(0x349)][_0x51cab4(0x2ca)](_0x4ffad0=>_0x4ffad0[_0x51cab4(0x2c9)]());}[_0xc3c9ed(0x25b)](_0x56915f){const _0x17d17d=_0xc3c9ed;return this[_0x17d17d(0x349)]['has'](_0x56915f)?this[_0x17d17d(0x349)]['get'](_0x56915f)['cursorInfo$']:this[_0x17d17d(0x2e8)]['pipe'](_0x40989e[_0x17d17d(0xba)](_0x237d11=>_0x237d11[_0x17d17d(0x314)]===_0x56915f),_0x40989e[_0x17d17d(0xb8)](_0x40aaef=>_0x40aaef[_0x17d17d(0x180)]));}[_0xc3c9ed(0x2f4)](){const _0x283640=_0xc3c9ed;this[_0x283640(0xd2)][_0x283640(0x13a)](_0x4a4808[_0x283640(0x29e)][_0x283640(0x301)])[_0x283640(0x10b)](_0x40989e[_0x283640(0x183)](this['dispose$']))['subscribe'](async _0x912ac8=>{const _0x3a6a3b=_0x283640,_0x1013bb=_0x912ac8[_0x3a6a3b(0x1de)](),_0x30f337=await this['_startSheetCollabCursor'](_0x1013bb);this['_entityInit$'][_0x3a6a3b(0x33f)](_0x30f337),this[_0x3a6a3b(0x349)][_0x3a6a3b(0x1e7)](_0x1013bb,_0x30f337);}),this[_0x283640(0xd2)][_0x283640(0x13a)](_0x4a4808['UniverInstanceType'][_0x283640(0x30b)])[_0x283640(0x10b)](_0x40989e[_0x283640(0x183)](this['dispose$']))[_0x283640(0x10b)](_0x40989e[_0x283640(0xba)](_0x48c965=>!_0x48c965[_0x283640(0x1de)]()['startsWith']('__')))[_0x283640(0x16e)](async _0x54d530=>{const _0x171cd9=_0x283640,_0x4d6e32=_0x54d530[_0x171cd9(0x1de)](),_0x9926ae=await this[_0x171cd9(0xbb)](_0x4d6e32);this[_0x171cd9(0x2e8)][_0x171cd9(0x33f)](_0x9926ae),this[_0x171cd9(0x349)][_0x171cd9(0x1e7)](_0x4d6e32,_0x9926ae);}),_0x40989e[_0x283640(0x2db)](this[_0x283640(0xd2)]['getTypeOfUnitDisposed$'](_0x4a4808[_0x283640(0x29e)][_0x283640(0x30b)]),this['_univerInstanceService'][_0x283640(0x331)](_0x4a4808[_0x283640(0x29e)][_0x283640(0x301)]))[_0x283640(0x10b)](_0x40989e[_0x283640(0x183)](this[_0x283640(0x27b)]))[_0x283640(0x16e)](_0x2d3f31=>{const _0x54829e=_0x283640,_0x5a91fc=_0x2d3f31[_0x54829e(0x1de)](),_0x5ac906=this[_0x54829e(0x349)][_0x54829e(0x302)](_0x5a91fc);_0x5ac906&&(_0x5ac906[_0x54829e(0x2c9)](),this[_0x54829e(0x349)]['delete'](_0x5a91fc));});}async[_0xc3c9ed(0x22c)](_0x36569e){const _0x2cbfd7=_0xc3c9ed,_0x57414a=await this[_0x2cbfd7(0x111)][_0x2cbfd7(0x1d6)](_0x36569e),_0x4805bf=this[_0x2cbfd7(0x11a)]['createInstance'](_0x1ca7a2,_0x36569e,_0x57414a);return _0x4805bf[_0x2cbfd7(0x249)](),_0x4805bf;}async['_startDocCollabCursor'](_0x41e364){const _0x15e253=_0xc3c9ed,_0x40a10d=await this[_0x15e253(0x111)][_0x15e253(0x1d6)](_0x41e364),_0x59fee8=this[_0x15e253(0x11a)][_0x15e253(0x1c2)](_0x4e614f,_0x41e364,_0x40a10d);return _0x59fee8[_0x15e253(0x249)](),_0x59fee8;}};_0x4e56a8=_0x3891d7([_0x3316f3(0x0,_0x4a4808['IUniverInstanceService']),_0x3316f3(0x1,_0x4a4808[_0xc3c9ed(0x113)](_0x4a4808[_0xc3c9ed(0x2b4)])),_0x3316f3(0x2,_0x4a4808[_0xc3c9ed(0x113)](_0x4bd9c3[_0xc3c9ed(0x2bc)]))],_0x4e56a8);const _0xd763e1=0x14,_0x3f5997=0xc8,_0x36745d=0x4,_0x21d6d3=0x5;function _0x11dd55(_0x52191b,_0x5a27cc){const _0x2df5d6=_0xc3c9ed;let {radius:_0x2d7fb2,width:_0x30c3a2,height:_0x2a0fc2}=_0x5a27cc;_0x2d7fb2=_0x2d7fb2!=null?_0x2d7fb2:0x0,_0x30c3a2=_0x30c3a2!=null?_0x30c3a2:0x1e,_0x2a0fc2=_0x2a0fc2!=null?_0x2a0fc2:0x1e;let _0x10f2db=0x0,_0xf949df=0x0,_0x3f7473=0x0;_0x10f2db=_0xf949df=_0x3f7473=Math[_0x2df5d6(0xcf)](_0x2d7fb2,_0x30c3a2/0x2,_0x2a0fc2/0x2),_0x52191b[_0x2df5d6(0x2b8)](),_0x52191b['moveTo'](_0x10f2db,0x0),_0x52191b[_0x2df5d6(0x247)](_0x30c3a2-_0xf949df,0x0),_0x52191b[_0x2df5d6(0xe7)](_0x30c3a2-_0xf949df,_0xf949df,_0xf949df,Math['PI']*0x3/0x2,0x0,!0x1),_0x52191b[_0x2df5d6(0x247)](_0x30c3a2,_0x2a0fc2-_0x3f7473),_0x52191b[_0x2df5d6(0xe7)](_0x30c3a2-_0x3f7473,_0x2a0fc2-_0x3f7473,_0x3f7473,0x0,Math['PI']/0x2,!0x1),_0x52191b['lineTo'](0x0,_0x2a0fc2),_0x52191b[_0x2df5d6(0x247)](0x0,_0x10f2db),_0x52191b[_0x2df5d6(0xe7)](_0x10f2db,_0x10f2db,_0x10f2db,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x52191b[_0x2df5d6(0x270)](),_0x5a27cc[_0x2df5d6(0x233)]&&(_0x52191b['save'](),_0x52191b[_0x2df5d6(0x2df)]=_0x5a27cc[_0x2df5d6(0x233)],_0x5a27cc[_0x2df5d6(0x14f)]===_0x2df5d6(0x31a)?_0x52191b[_0x2df5d6(0x233)](_0x2df5d6(0x31a)):_0x52191b['fill'](),_0x52191b[_0x2df5d6(0x32b)]());}class _0xe282fe extends _0x545a9a[_0xc3c9ed(0xee)]{constructor(_0x1b4c87,_0x542fb9){const _0x1ec7c8=_0xc3c9ed;super(_0x1b4c87,_0x542fb9),_0xc598b2(this,_0x1ec7c8(0x2a1)),_0xc598b2(this,_0x1ec7c8(0x2f5)),(this[_0x1ec7c8(0x2a1)]=_0x542fb9==null?void 0x0:_0x542fb9['color'],this['text']=_0x542fb9==null?void 0x0:_0x542fb9[_0x1ec7c8(0x2f5)]);}static['drawWith'](_0x3b6593,_0x5ec62a){const _0x5577d9=_0xc3c9ed,{text:_0x5c0fc2,color:_0x386d2a}=_0x5ec62a;_0x3b6593['save'](),_0x3b6593['font']=_0x5577d9(0x16b);const _0x22beda=_0x3b6593['measureText'](_0x5c0fc2)[_0x5577d9(0xd3)],_0xecc016=Math[_0x5577d9(0xcf)](_0x22beda+0x2*_0x36745d,_0x3f5997);_0x11dd55(_0x3b6593,{'height':_0xd763e1,'radius':0x4,'width':_0xecc016,'fill':_0x386d2a}),_0x3b6593['fillStyle']=_0x5577d9(0x2c2);const _0x36c391=_0x36745d,_0x4dc84c=_0xd763e1-_0x21d6d3,_0xf8423d=_0x3f5997-0x2*_0x36745d;if(_0x22beda>_0xf8423d){let _0x505ea0='',_0x3b137a=0x0;for(const _0x27d3a3 of _0x5c0fc2){const _0x27e713=_0x3b6593['measureText'](_0x27d3a3)['width'];if(_0x3b137a+_0x27e713<=_0xf8423d-_0x3b6593[_0x5577d9(0x2ea)](_0x5577d9(0x2dd))['width'])_0x505ea0+=_0x27d3a3,_0x3b137a+=_0x27e713;else{_0x505ea0+=_0x5577d9(0x2dd);break;}}_0x3b6593[_0x5577d9(0x176)](_0x505ea0,_0x36c391,_0x4dc84c);}else _0x3b6593[_0x5577d9(0x176)](_0x5c0fc2,_0x36c391,_0x4dc84c);_0x3b6593['restore']();}[_0xc3c9ed(0x322)](_0x4a7c48){_0xe282fe['drawWith'](_0x4a7c48,this);}}const _0x4d8ec2='collab-text-anchor-',_0x1caa4e='collab-text-range-',_0x108840='collab-rect-range-',_0x547c39=0x6,_0x2a2f3f=1.5,_0x2a69a4=0x4,_0x186ac0=1.5,_0x5bf845='rgba(255,\x20255,\x20255,\x200.01)';class _0x5b03cd{constructor(_0x4d9ecf,_0x11eb99,_0x2e925b,_0xc8c8ef){const _0x6a1c86=_0xc3c9ed;_0xc598b2(this,_0x6a1c86(0x17f),[]),_0xc598b2(this,'_anchor',null),_0xc598b2(this,'_textBubble',null),_0xc598b2(this,_0x6a1c86(0x1b0),null),_0xc598b2(this,_0x6a1c86(0x287),null),_0xc598b2(this,'_eventUnsubscribe',null),(this[_0x6a1c86(0x193)]=_0x4d9ecf,this[_0x6a1c86(0x20a)]=_0x11eb99,this[_0x6a1c86(0x184)]=_0x2e925b,this['_document']=_0xc8c8ef,this['_render']());}set['_hover'](_0x598796){const _0x3239db=_0xc3c9ed;_0x598796?(this[_0x3239db(0x1b0)]&&this['_anchorDot'][_0x3239db(0xc3)](),this[_0x3239db(0x212)]&&this[_0x3239db(0x212)]['show']()):(this['_anchorDot']&&this[_0x3239db(0x1b0)]['show'](),this[_0x3239db(0x212)]&&this['_textBubble'][_0x3239db(0xc3)]());}[_0xc3c9ed(0x2c9)](){const _0x33bf0f=_0xc3c9ed;for(const _0x278bc2 of this[_0x33bf0f(0x17f)])_0x278bc2[_0x33bf0f(0x2c9)]();this[_0x33bf0f(0x212)]&&this[_0x33bf0f(0x212)]['dispose'](),this[_0x33bf0f(0x1b0)]&&this[_0x33bf0f(0x1b0)][_0x33bf0f(0x2c9)](),this[_0x33bf0f(0x2e5)]&&this[_0x33bf0f(0x2e5)]['dispose'](),this[_0x33bf0f(0x319)]&&this['_eventUnsubscribe']();}[_0xc3c9ed(0x2cd)](){const _0x2f47ae=_0xc3c9ed;var _0x2ae58a;const {_docSkeleton:_0x1989d6,_document:_0xacf329}=this,{color:_0x4398ca,name:_0x5721d3,ranges:_0x38f038}=this['_cursor'],_0x209450=_0xacf329[_0x2f47ae(0x19d)](),{docsLeft:_0xf2cb2a,docsTop:_0x3f56c4}=_0x209450,_0x1b77b4=new _0x5ab035[(_0x2f47ae(0x1d0))](_0x209450,_0x1989d6);for(const {startOffset:_0x19ca68,endOffset:_0x3599ac,rangeType:_0x26c49d,segmentId:_0x54c86f,segmentPage:_0xb0ba15,collapsed:_0x5594c2,isActive:_0x1bd09f}of _0x38f038){const _0x37d34e=_0x1989d6[_0x2f47ae(0xf7)](_0x19ca68,!0x0,_0x54c86f,_0xb0ba15);let _0xdd16f7=_0x1989d6[_0x2f47ae(0xf7)](_0x3599ac,!0x0,_0x54c86f,_0xb0ba15);if(_0xdd16f7==null&&(_0xdd16f7=_0x1989d6[_0x2f47ae(0xf7)](_0x3599ac-0x1,!0x1,_0x54c86f,_0xb0ba15)),_0x1bd09f){const {contentBoxPointGroup:_0x5c858c}=_0x1b77b4[_0x2f47ae(0x258)](_0xdd16f7,_0xdd16f7);if(_0x5c858c[_0x2f47ae(0x1f5)]===0x0)continue;this[_0x2f47ae(0x29d)](_0x4398ca,_0x5c858c,_0xf2cb2a,_0x3f56c4,_0x5721d3),this[_0x2f47ae(0x319)]=this[_0x2f47ae(0x120)]();}if(_0x37d34e&&_0xdd16f7){if(_0x26c49d===_0x4a4808[_0x2f47ae(0x2f9)][_0x2f47ae(0x246)]){const _0x35fff8=new _0x5ab035['NodePositionConvertToRectRange'](_0x209450,_0x1989d6),{pointGroup:_0x7e27d0}=(_0x2ae58a=_0x35fff8['getRangePointData'](_0x37d34e,_0xdd16f7))!=null?_0x2ae58a:{};if(_0x7e27d0==null||_0x7e27d0[_0x2f47ae(0x1f5)]===0x0)continue;this[_0x2f47ae(0x305)](_0x4398ca,_0x7e27d0,_0xf2cb2a,_0x3f56c4);}else{if(!_0x5594c2){const {borderBoxPointGroup:_0xbfd940}=_0x1b77b4['getRangePointData'](_0x37d34e,_0xdd16f7);if(_0xbfd940[_0x2f47ae(0x1f5)]===0x0)continue;this[_0x2f47ae(0x2af)](_0x4398ca,_0xbfd940,_0xf2cb2a,_0x3f56c4);}}}}}[_0xc3c9ed(0x29d)](_0x54129e,_0x24be11,_0x16e6ec,_0x3becfc,_0x1f8a96){const _0x78c9b5=_0xc3c9ed,_0x38b77f=this[_0x78c9b5(0x20c)](_0x24be11),{left:_0x5594ee,top:_0x1969a2,height:_0x59444c}=_0x38b77f,_0x249349=this['_getScale'](),_0x2ef480=_0x186ac0/_0x249349,_0x2fada0=new _0x545a9a['Rect'](_0x4d8ec2+_0x4a4808[_0x78c9b5(0x166)](_0x547c39),{'left':_0x5594ee+_0x16e6ec-_0x2ef480,'top':_0x1969a2+_0x3becfc,'height':_0x59444c,'width':_0x2a2f3f,'fill':_0x54129e||_0x545a9a[_0x78c9b5(0x1ff)](_0x4a4808[_0x78c9b5(0x223)][_0x78c9b5(0xda)],0x0),'strokeWidth':_0x2ef480,'stroke':_0x5bf845,'evented':!0x0});this[_0x78c9b5(0x2e5)]=_0x2fada0,this[_0x78c9b5(0x20a)][_0x78c9b5(0xc1)](_0x2fada0,_0x5ab035[_0x78c9b5(0x11f)]);const _0x19ca4e=new _0x545a9a[(_0x78c9b5(0x21e))](_0x4d8ec2+_0x4a4808['generateRandomId'](_0x547c39),{'left':_0x5594ee+_0x16e6ec-_0x2ef480,'top':_0x1969a2+_0x3becfc-_0x2a69a4/0x2,'height':_0x2a69a4,'width':_0x2a69a4,'fill':_0x54129e||_0x545a9a['getColor'](_0x4a4808[_0x78c9b5(0x223)][_0x78c9b5(0xda)],0x0),'strokeWidth':0x0,'stroke':_0x54129e||_0x545a9a[_0x78c9b5(0x1ff)](_0x4a4808['COLORS'][_0x78c9b5(0xda)],0x0),'evented':!0x1});this['_anchorDot']=_0x19ca4e,this['_scene'][_0x78c9b5(0xc1)](_0x19ca4e,_0x5ab035['TEXT_RANGE_LAYER_INDEX']);const _0x11f33d=new _0xe282fe(_0x4d8ec2+_0x4a4808[_0x78c9b5(0x166)](_0x547c39),{'left':_0x5594ee+_0x16e6ec-_0x2ef480,'top':_0x1969a2+_0x3becfc-_0xd763e1,'text':_0x1f8a96,'color':_0x54129e});this[_0x78c9b5(0x212)]=_0x11f33d,this[_0x78c9b5(0x20a)][_0x78c9b5(0xc1)](_0x11f33d,_0x5ab035['TEXT_RANGE_LAYER_INDEX']),this[_0x78c9b5(0x1d2)]=!0x1;}[_0xc3c9ed(0x120)](){const _0x4904de=_0xc3c9ed,_0x257afa=this['_anchor'][_0x4904de(0x15a)][_0x4904de(0x1fe)](()=>{const _0x17ff32=_0x4904de;this[_0x17ff32(0x1d2)]=!0x0;}),_0x252315=this['_anchor'][_0x4904de(0x126)][_0x4904de(0x1fe)](()=>{const _0x1ca678=_0x4904de;this[_0x1ca678(0x287)]&&clearTimeout(this[_0x1ca678(0x287)]),this[_0x1ca678(0x287)]=setTimeout(()=>{const _0x1867f0=_0x1ca678;this[_0x1867f0(0x1d2)]=!0x1;},0x7d0);});return()=>{const _0x347a86=_0x4904de;_0x257afa[_0x347a86(0x16f)](),_0x252315[_0x347a86(0x16f)]();};}[_0xc3c9ed(0x2af)](_0xbd039e,_0x39855b,_0x563a5e,_0x34e67e){const _0x33689b=_0xc3c9ed,_0x584e54=new _0x4a4808['ColorKit'](_0xbd039e)[_0x33689b(0x2e0)](0.2)[_0x33689b(0x1df)](),_0x10188f=new _0x545a9a[(_0x33689b(0x1db))](_0x1caa4e+_0x4a4808[_0x33689b(0x166)](_0x547c39),{'pointsGroup':_0x39855b,'fill':_0x584e54||_0x545a9a[_0x33689b(0x1ff)](_0x4a4808[_0x33689b(0x223)]['black'],0.2),'left':_0x563a5e,'top':_0x34e67e,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x33689b(0x286)](_0x10188f),this[_0x33689b(0x20a)][_0x33689b(0xc1)](_0x10188f,_0x5ab035[_0x33689b(0x11f)]);}[_0xc3c9ed(0x305)](_0xe1bc0,_0x49cab4,_0x57cdbf,_0x3445b4){const _0x3387aa=_0xc3c9ed,_0x3e00fe=new _0x4a4808[(_0x3387aa(0x2ce))](_0xe1bc0)[_0x3387aa(0x2e0)](0.2)[_0x3387aa(0x1df)](),_0xb83ae3=new _0x545a9a[(_0x3387aa(0x1db))](_0x108840+_0x4a4808[_0x3387aa(0x166)](_0x547c39),{'pointsGroup':_0x49cab4,'fill':_0x3e00fe||_0x545a9a['getColor'](_0x4a4808[_0x3387aa(0x223)]['black'],0.2),'left':_0x57cdbf,'top':_0x3445b4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3387aa(0x17f)][_0x3387aa(0x286)](_0xb83ae3),this[_0x3387aa(0x20a)][_0x3387aa(0xc1)](_0xb83ae3,_0x5ab035['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x494a98){const _0x9827e7=_0x494a98[0x0],_0x37ea96=_0x9827e7[0x0],_0x4ce9e4=_0x9827e7[0x2],{x:_0x7c5579,y:_0x2b7bce}=_0x37ea96,{x:_0x1811d5,y:_0x54ff1b}=_0x4ce9e4;return{'left':_0x7c5579,'top':_0x2b7bce,'width':_0x1811d5-_0x7c5579,'height':_0x54ff1b-_0x2b7bce};}['_getScale'](){const _0x215459=_0xc3c9ed,{scaleX:_0xfb1e59,scaleY:_0x1ab592}=this[_0x215459(0x20a)][_0x215459(0xeb)]();return Math[_0x215459(0x159)](_0xfb1e59,_0x1ab592);}}var _0x28f6aa=Object['getOwnPropertyDescriptor'],_0x45515a=(_0x15c2cf,_0x2c0082,_0x4fb637,_0x3d1fb6)=>{const _0x46bf76=_0xc3c9ed;for(var _0x52c947=_0x3d1fb6>0x1?void 0x0:_0x3d1fb6?_0x28f6aa(_0x2c0082,_0x4fb637):_0x2c0082,_0x33711c=_0x15c2cf[_0x46bf76(0x1f5)]-0x1,_0x133b80;_0x33711c>=0x0;_0x33711c--)(_0x133b80=_0x15c2cf[_0x33711c])&&(_0x52c947=_0x133b80(_0x52c947)||_0x52c947);return _0x52c947;},_0x162366=(_0x2d615f,_0x4c86bc)=>(_0x2ac8f4,_0x1956f9)=>_0x4c86bc(_0x2ac8f4,_0x1956f9,_0x2d615f);let _0xf88ddf=class extends _0x4a4808[_0xc3c9ed(0x213)]{constructor(_0x2af951,_0x29cf09,_0x47578c,_0x40bb0f,_0x587deb){const _0x4f2c5c=_0xc3c9ed;super(),_0xc598b2(this,_0x4f2c5c(0x22f),[]),_0xc598b2(this,_0x4f2c5c(0x18b),[]),(this[_0x4f2c5c(0x12f)]=_0x2af951,this[_0x4f2c5c(0xec)]=_0x29cf09,this[_0x4f2c5c(0xe0)]=_0x47578c,this[_0x4f2c5c(0x235)]=_0x40bb0f,this[_0x4f2c5c(0xdb)]=_0x587deb,this[_0x4f2c5c(0x2f4)]());}[_0xc3c9ed(0x2f4)](){const _0x40f743=_0xc3c9ed,_0x406b47=this[_0x40f743(0x12f)][_0x40f743(0x1dd)],_0x3974d5=this[_0x40f743(0xec)];this[_0x40f743(0x1fb)](_0x40989e[_0x40f743(0x15f)]([this[_0x40f743(0xe0)][_0x40f743(0x25b)](_0x406b47),this['_themeService'][_0x40f743(0x144)]])[_0x40f743(0x10b)](_0x27cbf7[_0x40f743(0x22b)](([_0x40471d,_0x196b8a])=>({'skeleton':_0x3974d5[_0x40f743(0x309)](),'cursors':[..._0x40471d[_0x40f743(0x13c)]()]['flatMap'](_0x2edce6=>({..._0x2edce6,'color':this['_themeService'][_0x40f743(0x124)](_0x2edce6[_0x40f743(0x2a1)])}))})))[_0x40f743(0x16e)](_0x34db45=>{if(this['_removeCollabCursors'](),_0x34db45){const {skeleton:_0x3f2f8b,cursors:_0x369a8b}=_0x34db45;this['_updateCollabCursors'](_0x3f2f8b,_0x369a8b);}})),this[_0x40f743(0x172)](),this[_0x40f743(0x1a9)]();}['_updateCollabCursors'](_0x6bd017,_0x4b956b){const _0x257d06=_0xc3c9ed,{scene:_0x2361d7,mainComponent:_0x4de909}=this[_0x257d06(0x12f)],_0x2ef948=_0x4b956b[_0x257d06(0x22b)](_0x39496f=>new _0x5b03cd(_0x39496f,_0x2361d7,_0x6bd017,_0x4de909));this[_0x257d06(0x22f)]=_0x2ef948,this['_cursors']=_0x4b956b;}['_refreshCollabCursors'](){const _0x5e5ff4=_0xc3c9ed;this[_0x5e5ff4(0x2fd)]();const {scene:_0x55bae1,mainComponent:_0x5ebe5f}=this[_0x5e5ff4(0x12f)],_0x249fe1=this[_0x5e5ff4(0xec)][_0x5e5ff4(0x309)](),_0x26631e=this[_0x5e5ff4(0x18b)][_0x5e5ff4(0x22b)](_0x300b2c=>new _0x5b03cd(_0x300b2c,_0x55bae1,_0x249fe1,_0x5ebe5f));this['_cursorShapes']=_0x26631e;}[_0xc3c9ed(0x2fd)](){const _0x8b936a=_0xc3c9ed;this['_cursorShapes'][_0x8b936a(0x2ca)](_0x40105e=>_0x40105e[_0x8b936a(0x2c9)]()),this['_cursorShapes']=[];}[_0xc3c9ed(0x1a9)](){const _0x457d02=_0xc3c9ed,_0xba3475=[_0x5ab035[_0x457d02(0x264)]['id']];this['disposeWithMe'](this[_0x457d02(0x235)][_0x457d02(0x1d8)](_0x3f3d50=>{const _0x4c7762=_0x457d02;_0xba3475[_0x4c7762(0x10c)](_0x3f3d50['id'])&&_0x3f3d50[_0x4c7762(0x190)][_0x4c7762(0x1dd)]===this['_context']['unitId']&&this[_0x4c7762(0x1f1)]();}));}[_0xc3c9ed(0x172)](){const _0x27a847=_0xc3c9ed;this[_0x27a847(0x1fb)](_0x4a4808[_0x27a847(0x2c5)](this[_0x27a847(0x12f)][_0x27a847(0x29c)][_0x27a847(0x329)])['pipe'](_0x27cbf7[_0x27a847(0xba)](_0x4c8485=>_0x4c8485['type']===_0x545a9a[_0x27a847(0x112)]['resize']),_0x27cbf7[_0x27a847(0x137)](0x10))[_0x27a847(0x16e)](()=>{const _0x43ac85=_0x27a847;this[_0x43ac85(0x1f1)]();}));}};_0xf88ddf=_0x45515a([_0x162366(0x1,_0x4a4808['Inject'](_0x83313[_0xc3c9ed(0x23b)])),_0x162366(0x2,_0x4a4808[_0xc3c9ed(0x113)](_0x4e56a8)),_0x162366(0x3,_0x4a4808[_0xc3c9ed(0x1b4)]),_0x162366(0x4,_0x4a4808[_0xc3c9ed(0x113)](_0x4a4808[_0xc3c9ed(0x24f)]))],_0xf88ddf);const _0x57a89e=0x1,_0x599c36=1.5;class _0x464aa0 extends _0x545a9a[_0xc3c9ed(0xee)]{constructor(_0x10adbc,_0x55ad5f){const _0x1de105=_0xc3c9ed;super(_0x10adbc,_0x55ad5f),_0xc598b2(this,_0x1de105(0x2cb)),_0xc598b2(this,'_hovered',!0x1),_0xc598b2(this,_0x1de105(0x2c1)),_0xc598b2(this,'_name',''),_0xc598b2(this,_0x1de105(0x25f),_0x1de105(0x22a)),_0xc598b2(this,_0x1de105(0x347)),(_0x55ad5f&&this['setShapeProps'](_0x55ad5f),this['onPointerEnter$'][_0x1de105(0x1fe)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x1de105(0x126)][_0x1de105(0x1fe)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0xc3c9ed(0x230)](_0x2aaa33){const _0x3e6dfb=_0xc3c9ed;var _0x462e01,_0x40b151,_0x241e01,_0x449208,_0xa529f5,_0x4bfe19;this[_0x3e6dfb(0x2cb)]=(_0x462e01=_0x2aaa33['color'])!=null?_0x462e01:this[_0x3e6dfb(0x2cb)],this[_0x3e6dfb(0x242)]=(_0x40b151=_0x2aaa33['hovered'])!=null?_0x40b151:this['_hovered'],this[_0x3e6dfb(0x2c1)]=(_0x241e01=_0x2aaa33['range'])!=null?_0x241e01:this[_0x3e6dfb(0x2c1)],this[_0x3e6dfb(0x2fc)]=(_0x449208=_0x2aaa33[_0x3e6dfb(0x10d)])!=null?_0x449208:this[_0x3e6dfb(0x2fc)],this[_0x3e6dfb(0x25f)]=(_0xa529f5=_0x2aaa33['labelPosition'])!=null?_0xa529f5:this[_0x3e6dfb(0x25f)],this[_0x3e6dfb(0x347)]=(_0x4bfe19=_0x2aaa33['backgroundColor'])!=null?_0x4bfe19:this[_0x3e6dfb(0x347)],this[_0x3e6dfb(0x1d4)]({'width':_0x2aaa33[_0x3e6dfb(0xd3)],'height':_0x2aaa33['height']});}[_0xc3c9ed(0xc4)](_0x443e7f){const _0x10b6ea=_0xc3c9ed,{row:_0x2b8498,column:_0xcfc112}=_0x443e7f;if(_0x2b8498>=this[_0x10b6ea(0x2c1)][_0x10b6ea(0x1ba)]&&_0x2b8498<=this[_0x10b6ea(0x2c1)]['endRow']&&_0xcfc112>=this[_0x10b6ea(0x2c1)][_0x10b6ea(0x2a2)]&&_0xcfc112<=this[_0x10b6ea(0x2c1)][_0x10b6ea(0x2fb)]){this[_0x10b6ea(0x230)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0xc3c9ed(0x174)](_0x16d980){return!0x1;}[_0xc3c9ed(0x322)](_0x18a36e){const _0x30a55c=_0xc3c9ed;_0x545a9a[_0x30a55c(0x21e)]['drawWith'](_0x18a36e,{'width':this[_0x30a55c(0xd3)],'height':this['height'],'strokeWidth':_0x599c36,'stroke':this[_0x30a55c(0x2cb)],'evented':!0x1,'fill':this[_0x30a55c(0x347)]}),this['_hovered']&&(_0x18a36e[_0x30a55c(0x2d4)](),_0x18a36e['transform'](0x1,0x0,0x0,0x1,this[_0x30a55c(0xd3)],this['_labelPosition']==='bottom'?0x0:-_0xd763e1),_0xe282fe[_0x30a55c(0x191)](_0x18a36e,{'text':this[_0x30a55c(0x2fc)],'color':this['_color']}),_0x18a36e[_0x30a55c(0x32b)]());}}var _0x1ccc79=Object[_0xc3c9ed(0x25e)],_0x20fedc=(_0x4b7259,_0x5dc9a1,_0x2937dd,_0x327f47)=>{for(var _0x267428=_0x327f47>0x1?void 0x0:_0x327f47?_0x1ccc79(_0x5dc9a1,_0x2937dd):_0x5dc9a1,_0x36aeda=_0x4b7259['length']-0x1,_0x37a34a;_0x36aeda>=0x0;_0x36aeda--)(_0x37a34a=_0x4b7259[_0x36aeda])&&(_0x267428=_0x37a34a(_0x267428)||_0x267428);return _0x267428;},_0xc14d25=(_0x56b6a4,_0x121573)=>(_0x5d3e1c,_0xd764ea)=>_0x121573(_0x5d3e1c,_0xd764ea,_0x56b6a4);const _0x5a7645=0x1389;let _0x4c423e=class extends _0x4a4808[_0xc3c9ed(0x213)]{constructor(_0x583682,_0x233684,_0x1b6e43,_0x43b3df){const _0x12fb1f=_0xc3c9ed;super(),_0xc598b2(this,_0x12fb1f(0x18b),new Set()),_0xc598b2(this,_0x12fb1f(0x340),null),(this[_0x12fb1f(0x12f)]=_0x583682,this['_sheetSkeletonManagerService']=_0x233684,this[_0x12fb1f(0xe0)]=_0x1b6e43,this[_0x12fb1f(0xdb)]=_0x43b3df,this[_0x12fb1f(0x2f4)]());}[_0xc3c9ed(0x2f4)](){const _0x45375f=_0xc3c9ed;this[_0x45375f(0xcc)]['currentSkeleton$'][_0x45375f(0x10b)](_0x27cbf7[_0x45375f(0x183)](this[_0x45375f(0x27b)]),_0x27cbf7[_0x45375f(0xb8)](_0x2cc45e=>{const _0x139727=_0x45375f;if(_0x2cc45e){const _0x4ecc03=_0x2cc45e[_0x139727(0x23e)];return _0x40989e[_0x139727(0x15f)](this['_collabCursorController']['getCollabCursors$'](this[_0x139727(0x12f)]['unitId']),this['_themeService'][_0x139727(0x144)])[_0x139727(0x10b)](_0x27cbf7[_0x139727(0x22b)](([_0x4134ac,_0x1bde83])=>{const _0x1a8623=new Map();return _0x4134ac['forEach']((_0x1dd201,_0x505ddd)=>{const _0x756cda=_0xb97a;if(_0x1dd201[_0x756cda(0x170)]===_0x4ecc03){const _0x8ec2ae={..._0x1dd201};_0x8ec2ae['color']=this[_0x756cda(0xdb)]['getColorFromTheme'](_0x1dd201[_0x756cda(0x2a1)]),_0x1a8623[_0x756cda(0x1e7)](_0x505ddd,_0x8ec2ae);}}),{'skeleton':_0x2cc45e,'cursors':_0x1a8623};}));}return _0x40989e['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x259fd6,cursors:_0x14ab02})=>{const _0x78ea84=_0x45375f;this['_removeCollabCursors'](),_0x259fd6&&this[_0x78ea84(0x28b)](_0x259fd6,_0x14ab02);}),this['_sheetSkeletonManagerService'][_0x45375f(0xf1)][_0x45375f(0x16e)](_0x545f63=>{const _0x554116=_0x45375f;if(_0x545f63==null)return;const {skeleton:_0x41df02}=_0x545f63,{scene:_0x2b76c1}=this[_0x554116(0x12f)];_0x2b76c1['onPointerMove$'][_0x554116(0x1fe)](_0x4a4808[_0x554116(0x325)](_0x428f55=>{const _0x607fdc=_0x554116;var _0x174071,_0x2bcd72;const {offsetX:_0xeadab7,offsetY:_0xa0299a}=_0x428f55,{x:_0x309bf8,y:_0x4e69c7}=_0x2b76c1['getRelativeToViewportCoord'](_0x545a9a[_0x607fdc(0x2d6)][_0x607fdc(0x31e)]([_0xeadab7,_0xa0299a])),{scaleX:_0x38a462,scaleY:_0x580280}=_0x2b76c1[_0x607fdc(0xeb)](),_0x5010c3=_0x2b76c1[_0x607fdc(0x2f8)](_0x545a9a[_0x607fdc(0x13e)][_0x607fdc(0x317)]),_0x5db256=_0x2b76c1[_0x607fdc(0x244)](_0x545a9a[_0x607fdc(0x2d6)][_0x607fdc(0x31e)]([_0x309bf8,_0x4e69c7]),_0x5010c3),_0x796ccf=_0x41df02['getCellPositionByOffset'](_0xeadab7,_0xa0299a,_0x38a462,_0x580280,_0x5db256);((_0x174071=this['_lastPointer'])==null?void 0x0:_0x174071['column'])===_0x796ccf[_0x607fdc(0x2ab)]&&((_0x2bcd72=this[_0x607fdc(0x340)])==null?void 0x0:_0x2bcd72[_0x607fdc(0x26a)])===_0x796ccf['row']||this[_0x607fdc(0x18b)]['forEach'](_0x511652=>{const _0x361695=_0x607fdc;_0x511652[_0x361695(0xc4)](_0x796ccf);});},0x64));});}['_updateCollabCursors'](_0x3c5678,_0x48ce74){const _0x300fd6=_0xc3c9ed;var _0x34465d;const _0x444f87=(_0x34465d=this[_0x300fd6(0xcc)]['getCurrent']())==null?void 0x0:_0x34465d['skeleton'];if(!_0x444f87)return;const _0x1262c7=this[_0x300fd6(0x229)]();if(!_0x1262c7)return;this[_0x300fd6(0x18b)][_0x300fd6(0x2ca)](_0x1ce5be=>{const _0x2e7b97=_0x300fd6;_0x1ce5be[_0x2e7b97(0x1ef)]();});const {scene:_0x16dcfc}=_0x1262c7,_0xc8d64e=_0x2b4c51(Array[_0x300fd6(0x207)](_0x48ce74[_0x300fd6(0x13c)]()))['map'](_0x5cc7e4=>{const _0x2e3434=_0x300fd6,{color:_0x59e9ad,range:_0x525512,name:_0x45cc95,selection:_0x54a788,sheetID:_0x146173}=_0x5cc7e4,{startColumn:_0x31b6d9,startRow:_0x1164d1,endColumn:_0x288397,endRow:_0x11103f}=_0x525512,_0x543db1=_0x18d5a0['getCoordByCell'](_0x1164d1,_0x31b6d9,_0x16dcfc,_0x444f87),_0x3dd358=_0x18d5a0[_0x2e3434(0x31c)](_0x11103f,_0x288397,_0x16dcfc,_0x444f87),{columnHeaderHeightAndMarginTop:_0x1cb058}=_0x444f87,{startX:_0x3027aa,startY:_0x400b0f}=_0x543db1,{endX:_0x4f2452,endY:_0x323817}=_0x3dd358,_0x1a7992=_0x4f2452-_0x3027aa,_0x2cbeb3=_0x323817-_0x400b0f,_0x27e4de={'labelPosition':_0x400b0f-_0x1cb058>=_0xd763e1?_0x2e3434(0x22a):_0x2e3434(0x238),'sheetID':_0x146173,'range':_0x525512,'color':_0x59e9ad,'name':_0x45cc95,'selection':_0x54a788,'left':_0x3027aa,'top':_0x400b0f,'width':_0x1a7992,'height':_0x2cbeb3,'evented':!0x1,'zIndex':_0x5a7645};return new _0x464aa0(_0x45cc95,_0x27e4de);});_0x16dcfc['addObjects'](_0xc8d64e,_0x57a89e),this['_cursors']=new Set(_0xc8d64e);}[_0xc3c9ed(0x2fd)](){const _0x3bcb38=_0xc3c9ed;var _0x5d9c9a;(_0x5d9c9a=this[_0x3bcb38(0x18b)])==null||_0x5d9c9a[_0x3bcb38(0x2ca)](_0x57cfd0=>_0x57cfd0['dispose']());}['_getSheetObject'](){const _0x29c1dc=_0xc3c9ed;return _0x18d5a0['getSheetObject'](this[_0x29c1dc(0x12f)][_0x29c1dc(0x1ce)],this[_0x29c1dc(0x12f)]);}};_0x4c423e=_0x20fedc([_0xc14d25(0x1,_0x4a4808[_0xc3c9ed(0x113)](_0x18d5a0[_0xc3c9ed(0x167)])),_0xc14d25(0x2,_0x4a4808['Inject'](_0x4e56a8)),_0xc14d25(0x3,_0x4a4808[_0xc3c9ed(0x113)](_0x4a4808[_0xc3c9ed(0x24f)]))],_0x4c423e);function _0x2b4c51(_0x194b8d){const _0x309541=_0xc3c9ed,_0x232168=new Map();return _0x194b8d[_0x309541(0x2ca)](_0x22d0e0=>{const _0x23a724=_0x309541;if(_0x232168[_0x23a724(0x119)](_0x22d0e0[_0x23a724(0x350)])){const _0x24fe06=_0x232168[_0x23a724(0x302)](_0x22d0e0['selection']);_0x24fe06['name']+=',\x20'+_0x22d0e0[_0x23a724(0x10d)];}else _0x232168['set'](_0x22d0e0[_0x23a724(0x350)],_0x22d0e0);}),Array['from'](_0x232168[_0x309541(0x13c)]());}var _0x49e311=Object[_0xc3c9ed(0x25e)],_0x42530b=(_0xc27427,_0x20e2cf,_0x2f583e,_0x4bcca1)=>{for(var _0x33f1c5=_0x4bcca1>0x1?void 0x0:_0x4bcca1?_0x49e311(_0x20e2cf,_0x2f583e):_0x20e2cf,_0x4f0769=_0xc27427['length']-0x1,_0x55fa24;_0x4f0769>=0x0;_0x4f0769--)(_0x55fa24=_0xc27427[_0x4f0769])&&(_0x33f1c5=_0x55fa24(_0x33f1c5)||_0x33f1c5);return _0x33f1c5;},_0x36a07c=(_0x4cea43,_0x31f42c)=>(_0x2133b5,_0x54fc72)=>_0x31f42c(_0x2133b5,_0x54fc72,_0x4cea43);let _0x5ad52c=class extends _0x4a4808['Disposable']{constructor(_0x2153f4,_0x59c0d8,_0x50b9c4,_0x2bd280,_0x4fc5fb,_0x7a462c){const _0x3bdc56=_0xc3c9ed;super(),this['_beforeCloseService']=_0x2153f4,this[_0x3bdc56(0x1c0)]=_0x59c0d8,this['_collaborationUIEventService']=_0x50b9c4,this['_messageService']=_0x2bd280,this[_0x3bdc56(0x2b3)]=_0x4fc5fb,this[_0x3bdc56(0x1e8)]=_0x7a462c,this[_0x3bdc56(0xf4)](),this[_0x3bdc56(0xc8)]();}[_0xc3c9ed(0xf4)](){const _0x585a00=_0xc3c9ed;this[_0x585a00(0x1fb)](this['_beforeCloseService'][_0x585a00(0x267)](()=>{const _0x49d1fd=_0x585a00;if(this[_0x49d1fd(0x1c0)]['saveTaskMap'][_0x49d1fd(0x2d8)])return this[_0x49d1fd(0x1e8)]['t'](_0x49d1fd(0x206));}));}[_0xc3c9ed(0xc8)](){const _0x2738e0=_0xc3c9ed;this[_0x2738e0(0x1fb)](this['_collaborationUIEventService'][_0x2738e0(0x150)][_0x2738e0(0x16e)](_0x52fd01=>{const _0xb12c06=_0x2738e0;_0x52fd01['id']===_0x4bd9c3[_0xb12c06(0x248)][_0xb12c06(0x2ac)]&&this[_0xb12c06(0x1f3)][_0xb12c06(0x1b6)]({'type':_0x217bfe[_0xb12c06(0x142)][_0xb12c06(0x2b6)],'content':this[_0xb12c06(0x1e8)]['t'](_0xb12c06(0x103))}),_0x52fd01['id']===_0x4bd9c3[_0xb12c06(0x248)][_0xb12c06(0x297)]&&this[_0xb12c06(0x1f3)][_0xb12c06(0x1b6)]({'type':_0x217bfe[_0xb12c06(0x142)][_0xb12c06(0x2b6)],'content':this[_0xb12c06(0x1e8)]['t'](_0xb12c06(0x163))}),_0x52fd01['id']===_0x4bd9c3[_0xb12c06(0x248)][_0xb12c06(0x304)]&&this['_notificationService'][_0xb12c06(0x1b6)]({'title':this[_0xb12c06(0x1e8)]['t'](_0xb12c06(0xbf)),'content':this[_0xb12c06(0x1e8)]['t'](_0xb12c06(0x11c)),'type':_0xb12c06(0x21c),'duration':0x0}),_0x52fd01['id']===_0x4bd9c3[_0xb12c06(0x248)][_0xb12c06(0x147)]&&this[_0xb12c06(0x1f3)][_0xb12c06(0x1b6)]({'type':_0x217bfe[_0xb12c06(0x142)][_0xb12c06(0x296)],'content':this[_0xb12c06(0x1e8)]['t'](_0xb12c06(0x163))+'('+_0x52fd01[_0xb12c06(0x2f2)]+')'}),_0x52fd01['id']===_0x4bd9c3[_0xb12c06(0x248)]['JOIN_ROOM_FAILED']&&this[_0xb12c06(0x1f3)][_0xb12c06(0x1b6)]({'type':_0x217bfe[_0xb12c06(0x142)]['Warning'],'content':this[_0xb12c06(0x1e8)]['t'](_0x52fd01['data']||'')}),_0x52fd01['id']===_0x4bd9c3[_0xb12c06(0x248)][_0xb12c06(0x1e6)]&&this[_0xb12c06(0x1f3)][_0xb12c06(0x1b6)]({'type':_0x217bfe[_0xb12c06(0x142)][_0xb12c06(0x2b6)],'content':this[_0xb12c06(0x1e8)]['t']('session.will-retry')}),_0x52fd01['id']===_0x4bd9c3['CollaborationUIEventId'][_0xb12c06(0x2d2)]&&this[_0xb12c06(0x1f3)][_0xb12c06(0x1b6)]({'type':_0x217bfe[_0xb12c06(0x142)][_0xb12c06(0x296)],'content':this['_localeService']['t'](_0xb12c06(0x15e))}),_0x52fd01['id']===_0x4bd9c3[_0xb12c06(0x248)][_0xb12c06(0x132)]&&this[_0xb12c06(0x1f3)][_0xb12c06(0x1b6)]({'type':_0x217bfe[_0xb12c06(0x142)][_0xb12c06(0x296)],'content':this[_0xb12c06(0x1e8)]['t'](_0xb12c06(0x106))});}));}};_0x5ad52c=_0x42530b([_0x36a07c(0x0,_0x2ace11['IBeforeCloseService']),_0x36a07c(0x1,_0x4bd9c3[_0xc3c9ed(0x313)]),_0x36a07c(0x2,_0x4a4808['Inject'](_0x4bd9c3[_0xc3c9ed(0x134)])),_0x36a07c(0x3,_0x2ace11[_0xc3c9ed(0x138)]),_0x36a07c(0x4,_0x2ace11[_0xc3c9ed(0x34f)]),_0x36a07c(0x5,_0x4a4808[_0xc3c9ed(0x113)](_0x4a4808['LocaleService']))],_0x5ad52c);const _0x63d56e=_0xc3c9ed(0x2eb),_0x2c650={};var _0x40d755=Object[_0xc3c9ed(0x25e)],_0x5d76c6=(_0x55f69c,_0x2b963c,_0x39b1ff,_0x5f4220)=>{for(var _0x17fb60=_0x5f4220>0x1?void 0x0:_0x5f4220?_0x40d755(_0x2b963c,_0x39b1ff):_0x2b963c,_0x54a997=_0x55f69c['length']-0x1,_0x367337;_0x54a997>=0x0;_0x54a997--)(_0x367337=_0x55f69c[_0x54a997])&&(_0x17fb60=_0x367337(_0x17fb60)||_0x17fb60);return _0x17fb60;},_0x9d11de=(_0x4aac09,_0x3d8790)=>(_0x59b722,_0x278ebd)=>_0x3d8790(_0x59b722,_0x278ebd,_0x4aac09);let _0x1e02f8=class{constructor(_0x367dcb,_0x4bcf22){const _0x37fe2a=_0xc3c9ed;this[_0x37fe2a(0x2c4)]=_0x367dcb,this['_renderManagerService']=_0x4bcf22;}['transformIMECache'](_0x4f491d){const _0x28c4df=_0xc3c9ed;this[_0x28c4df(0x1cb)](_0x4f491d),this['_transformPreviousActiveRange'](_0x4f491d);}[_0xc3c9ed(0x127)](_0x13cfa5){const _0x5c3f07=_0xc3c9ed,{unitID:_0xbb33a0}=_0x13cfa5,_0x28fe03=this['_renderManagerService'][_0x5c3f07(0x18c)](_0xbb33a0)[_0x5c3f07(0x1ed)](_0x5ab035[_0x5c3f07(0x1a5)]),{redoCache:_0x3b6983}=_0x28fe03[_0x5c3f07(0x1ec)]();if(_0x3b6983[_0x5c3f07(0x1f5)]===0x0)return _0x13cfa5;let _0x4d1286=_0x4a4808[_0x5c3f07(0x260)][_0x5c3f07(0x226)](_0x13cfa5[_0x5c3f07(0xed)][0x0]);for(let _0x4ba42c=0x0;_0x4ba42c<_0x3b6983[_0x5c3f07(0x1f5)];_0x4ba42c++){const _0x78d33c={'id':_0x5c3f07(0xf2),'params':{..._0x3b6983[_0x4ba42c]}},_0x5b3cde=this[_0x5c3f07(0x2c4)][_0x5c3f07(0x23a)](_0x4d1286,_0x78d33c,!0x1);if(_0xc6a6b['isTransformMutationFailure'](_0x5b3cde))throw _0x5b3cde[_0x5c3f07(0x21c)];_0x4d1286=_0x5b3cde[_0x5c3f07(0x323)];}return{..._0x4a4808[_0x5c3f07(0x260)]['deepClone'](_0x13cfa5),'mutations':[_0x4d1286]};}[_0xc3c9ed(0x1cb)](_0x23b56e){const _0x460bf5=_0xc3c9ed,{unitID:_0x484a76}=_0x23b56e,_0x40d94b=this[_0x460bf5(0x2b5)][_0x460bf5(0x18c)](_0x484a76)[_0x460bf5(0x1ed)](_0x5ab035[_0x460bf5(0x1a5)]),{undoCache:_0x1ff3e2,redoCache:_0x2ff894}=_0x40d94b[_0x460bf5(0x1ec)]();if(_0x1ff3e2['length']===0x0||_0x2ff894[_0x460bf5(0x1f5)]===0x0)return;const _0x3f8b7f=[],_0x39f0fd=[];let _0x482ef7=_0x4a4808[_0x460bf5(0x260)]['deepClone'](_0x23b56e[_0x460bf5(0xed)][0x0]),_0x2bafd7=_0x4a4808['Tools'][_0x460bf5(0x226)](_0x23b56e['mutations'][0x0]);for(let _0x57c871=_0x1ff3e2[_0x460bf5(0x1f5)]-0x1;_0x57c871>=0x0;_0x57c871--){const _0x1e0f17={'id':_0x460bf5(0xf2),'params':{..._0x1ff3e2[_0x57c871]}},_0x5566e3={'id':'doc.mutation.rich-text-editing','params':{..._0x2ff894[_0x57c871]}},_0x229f0c=this[_0x460bf5(0x2c4)][_0x460bf5(0x23a)](_0x482ef7,_0x1e0f17,!0x1),_0x504888=this[_0x460bf5(0x2c4)]['transformMutation'](_0x2bafd7,_0x5566e3,!0x1);if(_0xc6a6b[_0x460bf5(0x2f3)](_0x229f0c))throw _0x229f0c[_0x460bf5(0x21c)];if(_0xc6a6b[_0x460bf5(0x2f3)](_0x504888))throw _0x504888[_0x460bf5(0x21c)];_0x3f8b7f[_0x460bf5(0x118)](_0x229f0c[_0x460bf5(0x2e4)][_0x460bf5(0x190)]),_0x39f0fd['unshift'](_0x504888[_0x460bf5(0x2e4)][_0x460bf5(0x190)]),_0x482ef7=_0x229f0c[_0x460bf5(0x323)],_0x2bafd7=_0x504888['m1Prime'];}_0x40d94b[_0x460bf5(0x253)]({'undoCache':_0x3f8b7f,'redoCache':_0x39f0fd});}['_transformPreviousActiveRange'](_0x33c4a3){const _0x256c6f=_0xc3c9ed,{unitID:_0x415627}=_0x33c4a3,_0x1e3b39=this[_0x256c6f(0x2b5)][_0x256c6f(0x18c)](_0x415627)['with'](_0x5ab035[_0x256c6f(0x1a5)]),_0x1dafe9=_0x1e3b39[_0x256c6f(0x13f)]();if(_0x1dafe9==null)return;const _0x4bf31a=[{'id':_0x256c6f(0xf2),'params':{'unitId':_0x33c4a3['unitID'],'actions':null,'textRanges':[_0x1dafe9]}}],_0x3fd394=this['_transformService'][_0x256c6f(0x1b1)](_0x33c4a3,_0x4bf31a);if(!_0xc6a6b[_0x256c6f(0x160)](_0x3fd394))throw _0x3fd394['error'];const _0x3d31ae=_0x3fd394[_0x256c6f(0x2e4)][0x0][_0x256c6f(0x190)][_0x256c6f(0x12e)];Array[_0x256c6f(0x1b2)](_0x3d31ae)&&_0x3d31ae[_0x256c6f(0x1f5)]&&_0x1e3b39[_0x256c6f(0xe1)](_0x3d31ae[0x0]);}};_0x1e02f8=_0x5d76c6([_0x9d11de(0x0,_0xc6a6b[_0xc3c9ed(0x179)]),_0x9d11de(0x1,_0x545a9a[_0xc3c9ed(0x1a1)])],_0x1e02f8);var _0x4c7c48=Object[_0xc3c9ed(0x25e)],_0x4110f6=(_0x57b89b,_0x4fd5d5,_0x31c5c6,_0x20485f)=>{const _0x12f98a=_0xc3c9ed;for(var _0x239442=_0x20485f>0x1?void 0x0:_0x20485f?_0x4c7c48(_0x4fd5d5,_0x31c5c6):_0x4fd5d5,_0x3046b8=_0x57b89b[_0x12f98a(0x1f5)]-0x1,_0xa5e521;_0x3046b8>=0x0;_0x3046b8--)(_0xa5e521=_0x57b89b[_0x3046b8])&&(_0x239442=_0xa5e521(_0x239442)||_0x239442);return _0x239442;},_0x10e5f9=(_0x12f6ea,_0x2bab04)=>(_0x4b3f9d,_0x33cc8c)=>_0x2bab04(_0x4b3f9d,_0x33cc8c,_0x12f6ea);let _0x243af4=class{constructor(_0x3517a5,_0x2f65e4,_0x1d74aa){const _0x49f136=_0xc3c9ed;this[_0x49f136(0x11a)]=_0x3517a5,this[_0x49f136(0x2c4)]=_0x2f65e4,this['_docStateChangeManagerService']=_0x1d74aa;}['transformStateCache'](_0x1bef2c){const _0x1c67f8=_0xc3c9ed;this[_0x1c67f8(0x182)](_0x1bef2c);}['transformRemoteChangeset'](_0x4950f0){const _0x3f54eb=_0xc3c9ed,{unitID:_0x577dd0}=_0x4950f0,{collaboration:_0x167cef}=this['_docStateChangeManagerService'][_0x3f54eb(0x32f)](_0x577dd0);if(_0x167cef[_0x3f54eb(0x1f5)]===0x0)return _0x4950f0;let _0x279e83=_0x4a4808[_0x3f54eb(0x260)][_0x3f54eb(0x226)](_0x4950f0[_0x3f54eb(0xed)][0x0]);for(let _0x3548d1=0x0;_0x3548d1<_0x167cef['length'];_0x3548d1++){const _0x3e924c={'id':_0x3f54eb(0xf2),'params':{'unitId':_0x167cef[_0x3548d1][_0x3f54eb(0x1dd)],..._0x167cef[_0x3548d1][_0x3f54eb(0x2dc)]}},_0x88546e=this[_0x3f54eb(0x2c4)][_0x3f54eb(0x23a)](_0x279e83,_0x3e924c,!0x1);if(_0xc6a6b[_0x3f54eb(0x2f3)](_0x88546e))throw _0x88546e[_0x3f54eb(0x21c)];_0x279e83=_0x88546e[_0x3f54eb(0x323)];}return{..._0x4a4808[_0x3f54eb(0x260)]['deepClone'](_0x4950f0),'mutations':[_0x279e83]};}[_0xc3c9ed(0x182)](_0x503229){const _0xdac9ff=_0xc3c9ed,{unitID:_0x13be28}=_0x503229,{history:_0x25dce0,collaboration:_0x5815d8}=this[_0xdac9ff(0x1a7)][_0xdac9ff(0x32f)](_0x13be28);if(_0x25dce0[_0xdac9ff(0x1f5)]===0x0&&_0x5815d8[_0xdac9ff(0x1f5)]===0x0)return;const _0x1aa9c1=[],_0x1377f0=[];let _0x5114bf=_0x4a4808[_0xdac9ff(0x260)][_0xdac9ff(0x226)](_0x503229[_0xdac9ff(0xed)][0x0]),_0x493a5b=_0x4a4808[_0xdac9ff(0x260)][_0xdac9ff(0x226)](_0x503229[_0xdac9ff(0xed)][0x0]);for(let _0x104757=_0x25dce0['length']-0x1;_0x104757>=0x0;_0x104757--){const _0xb46ace={'id':_0xdac9ff(0xf2),'params':{'unitId':_0x25dce0[_0x104757][_0xdac9ff(0x1dd)],..._0x25dce0[_0x104757][_0xdac9ff(0x2f1)]}},_0x275283={'id':_0xdac9ff(0xf2),'params':{'unitId':_0x25dce0[_0x104757][_0xdac9ff(0x1dd)],..._0x25dce0[_0x104757][_0xdac9ff(0x2dc)]}},_0x310d8d=this[_0xdac9ff(0x2c4)][_0xdac9ff(0x23a)](_0x5114bf,_0xb46ace,!0x1),_0x20dbc3=this['_transformService']['transformMutation'](_0x493a5b,_0x275283,!0x1);if(_0xc6a6b[_0xdac9ff(0x2f3)](_0x310d8d))throw _0x310d8d[_0xdac9ff(0x21c)];if(_0xc6a6b['isTransformMutationFailure'](_0x20dbc3))throw _0x20dbc3[_0xdac9ff(0x21c)];_0x1aa9c1[_0xdac9ff(0x118)]({..._0x25dce0[_0x104757],'undoState':_0x310d8d[_0xdac9ff(0x2e4)][_0xdac9ff(0x190)],'redoState':_0x20dbc3['m2Prime'][_0xdac9ff(0x190)]}),_0x5114bf=_0x310d8d[_0xdac9ff(0x323)],_0x493a5b=_0x20dbc3[_0xdac9ff(0x323)];}_0x5114bf=_0x4a4808['Tools'][_0xdac9ff(0x226)](_0x503229[_0xdac9ff(0xed)][0x0]),_0x493a5b=_0x4a4808[_0xdac9ff(0x260)][_0xdac9ff(0x226)](_0x503229[_0xdac9ff(0xed)][0x0]);for(let _0x2e656c=_0x5815d8[_0xdac9ff(0x1f5)]-0x1;_0x2e656c>=0x0;_0x2e656c--){const _0x13e6af={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5815d8[_0x2e656c][_0xdac9ff(0x1dd)],..._0x5815d8[_0x2e656c]['undoState']}},_0x9f289e={'id':_0xdac9ff(0xf2),'params':{'unitId':_0x5815d8[_0x2e656c][_0xdac9ff(0x1dd)],..._0x5815d8[_0x2e656c][_0xdac9ff(0x2dc)]}},_0x168e2b=this[_0xdac9ff(0x2c4)]['transformMutation'](_0x5114bf,_0x13e6af,!0x1),_0xad7c5e=this[_0xdac9ff(0x2c4)]['transformMutation'](_0x493a5b,_0x9f289e,!0x1);if(_0xc6a6b['isTransformMutationFailure'](_0x168e2b))throw _0x168e2b['error'];if(_0xc6a6b['isTransformMutationFailure'](_0xad7c5e))throw _0xad7c5e['error'];_0x1377f0[_0xdac9ff(0x118)]({..._0x5815d8[_0x2e656c],'undoState':_0x168e2b[_0xdac9ff(0x2e4)][_0xdac9ff(0x190)],'redoState':_0xad7c5e[_0xdac9ff(0x2e4)]['params']}),_0x5114bf=_0x168e2b['m1Prime'],_0x493a5b=_0xad7c5e[_0xdac9ff(0x323)];}this[_0xdac9ff(0x1a7)][_0xdac9ff(0x2e9)](_0x13be28,{'history':_0x1aa9c1,'collaboration':_0x1377f0});}};_0x243af4=_0x4110f6([_0x10e5f9(0x0,_0x4a4808[_0xc3c9ed(0x113)](_0x4a4808[_0xc3c9ed(0x2b4)])),_0x10e5f9(0x1,_0xc6a6b[_0xc3c9ed(0x179)]),_0x10e5f9(0x2,_0x4a4808[_0xc3c9ed(0x113)](_0x5ab035[_0xc3c9ed(0x1a6)]))],_0x243af4);var _0x3344c7=Object['getOwnPropertyDescriptor'],_0x2c14e4=(_0x319ecc,_0x47a59b,_0x30215e,_0x2d3b31)=>{const _0x25b06b=_0xc3c9ed;for(var _0x434125=_0x2d3b31>0x1?void 0x0:_0x2d3b31?_0x3344c7(_0x47a59b,_0x30215e):_0x47a59b,_0x182c87=_0x319ecc[_0x25b06b(0x1f5)]-0x1,_0x5bc1cc;_0x182c87>=0x0;_0x182c87--)(_0x5bc1cc=_0x319ecc[_0x182c87])&&(_0x434125=_0x5bc1cc(_0x434125)||_0x434125);return _0x434125;},_0x3480df=(_0x248e63,_0x4e5c95)=>(_0xe99820,_0x3ac160)=>_0x4e5c95(_0xe99820,_0x3ac160,_0x248e63);let _0x52d36f=class{constructor(_0x3f44c0,_0x264aba){const _0x6f133f=_0xc3c9ed;this[_0x6f133f(0x11a)]=_0x3f44c0,this[_0x6f133f(0x2c4)]=_0x264aba;}[_0xc3c9ed(0x177)](_0x5a7ec4){const _0x181648=_0xc3c9ed;var _0x2f3e30;const _0xf5f72e=this[_0x181648(0x11a)][_0x181648(0x302)](_0x83313['DocSelectionManagerService']),_0xd5dd2c=(_0x2f3e30=_0xf5f72e[_0x181648(0x1d9)]())!=null?_0x2f3e30:[];if(_0xd5dd2c[_0x181648(0x1f5)]===0x0)return;const _0x55176f=_0x5a7ec4['unitID'],_0x110d0c=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x55176f,'actions':null,'textRanges':_0xd5dd2c}}],_0x27fa57=this[_0x181648(0x2c4)][_0x181648(0x1b1)](_0x5a7ec4,_0x110d0c);if(!_0xc6a6b[_0x181648(0x160)](_0x27fa57))throw _0x27fa57[_0x181648(0x21c)];const _0xdc48b8=_0x27fa57[_0x181648(0x2e4)][0x0]['params'][_0x181648(0x12e)];Array[_0x181648(0x1b2)](_0xdc48b8)&&_0xdc48b8[_0x181648(0x1f5)]&&_0xf5f72e[_0x181648(0x27f)](_0xdc48b8,{'unitId':_0x55176f,'subUnitId':_0x55176f},!0x1);}};_0x52d36f=_0x2c14e4([_0x3480df(0x0,_0x4a4808[_0xc3c9ed(0x113)](_0x4a4808['Injector'])),_0x3480df(0x1,_0xc6a6b[_0xc3c9ed(0x179)])],_0x52d36f);var _0x1f34f8=Object[_0xc3c9ed(0x25e)],_0x3d0df3=(_0x241d63,_0x1536bf,_0x4d2ece,_0x530fb2)=>{for(var _0x199c86=_0x530fb2>0x1?void 0x0:_0x530fb2?_0x1f34f8(_0x1536bf,_0x4d2ece):_0x1536bf,_0x2e2517=_0x241d63['length']-0x1,_0x5324cc;_0x2e2517>=0x0;_0x2e2517--)(_0x5324cc=_0x241d63[_0x2e2517])&&(_0x199c86=_0x5324cc(_0x199c86)||_0x199c86);return _0x199c86;},_0x30cc2c=(_0x2f7787,_0x269c9b)=>(_0x3dc9dc,_0x4095be)=>_0x269c9b(_0x3dc9dc,_0x4095be,_0x2f7787);let _0x140d95=class extends _0x4a4808['Disposable']{constructor(_0x256a6b,_0x1868a9,_0x727578,_0x52ace5,_0x5ca1d0,_0x37cdb1,_0x2f043a,_0x4ef43c){const _0x374934=_0xc3c9ed;super(),_0xc598b2(this,_0x374934(0xc5),new _0x40989e[(_0x374934(0x2d1))](_0x4bd9c3['CollaborationStatus'][_0x374934(0x205)])),(this[_0x374934(0x1a7)]=_0x256a6b,this[_0x374934(0x337)]=_0x1868a9,this['_docTransformIMECacheService']=_0x727578,this[_0x374934(0x2d9)]=_0x52ace5,this[_0x374934(0x34d)]=_0x5ca1d0,this[_0x374934(0x277)]=_0x37cdb1,this[_0x374934(0x1f3)]=_0x2f043a,this[_0x374934(0x1e8)]=_0x4ef43c,this[_0x374934(0x17a)]());}[_0xc3c9ed(0x17a)](){const _0x56243e=_0xc3c9ed;this[_0x56243e(0x1fb)](this[_0x56243e(0x337)][_0x56243e(0x1c7)][_0x56243e(0x16e)](_0x7db3c6=>{const _0x1c0335=_0x56243e,_0x226069=this[_0x1c0335(0x1a7)][_0x1c0335(0x125)]['subscribe'](_0x32c309=>{const _0x8715e=_0x1c0335;if(_0x32c309==null)return;const {unitId:_0x2d49e3,redoState:_0x12b7c8,commandId:_0x15c4e8}=_0x32c309;if(_0x2d49e3!==_0x7db3c6[_0x8715e(0x314)])return;const _0x3b67a3={'id':_0x15c4e8,'type':_0x4a4808['CommandType'][_0x8715e(0x1c4)],'params':{'unitId':_0x2d49e3,'actions':_0x12b7c8[_0x8715e(0x293)],'textRanges':null}};_0x7db3c6[_0x8715e(0x23d)](_0x3b67a3);});if(_0x7db3c6[_0x1c0335(0x1fb)](_0x226069),_0x7db3c6 instanceof _0x4bd9c3[_0x1c0335(0x2ef)]){const _0x55571a={'onTransformIME':_0x14668b=>this['_docTransformIMECacheService']['transformIMECache'](_0x14668b),'onTransformState':_0xa280d=>this[_0x1c0335(0x2d9)][_0x1c0335(0x2a6)](_0xa280d),'onTransformSelections':_0x7964f2=>this[_0x1c0335(0x34d)][_0x1c0335(0x177)](_0x7964f2),'onSyncEditingCollabCursor':_0x57196d=>this['_docSyncEditingCollabCursorService'][_0x1c0335(0x185)](_0x57196d),'onTransformRemoteChangesetByIMECache':_0xfdcf35=>this['_docTransformIMECacheService'][_0x1c0335(0x127)](_0xfdcf35),'onTransformRemoteChangesetByStateCache':_0x219fec=>this['_docTransformStateCacheService'][_0x1c0335(0x127)](_0x219fec)};_0x7db3c6[_0x1c0335(0x148)](_0x55571a);}}));}};_0x140d95=_0x3d0df3([_0x30cc2c(0x0,_0x4a4808[_0xc3c9ed(0x113)](_0x5ab035[_0xc3c9ed(0x1a6)])),_0x30cc2c(0x1,_0x4a4808['Inject'](_0x4bd9c3[_0xc3c9ed(0x269)])),_0x30cc2c(0x2,_0x4a4808[_0xc3c9ed(0x113)](_0x1e02f8)),_0x30cc2c(0x3,_0x4a4808[_0xc3c9ed(0x113)](_0x243af4)),_0x30cc2c(0x4,_0x4a4808[_0xc3c9ed(0x113)](_0x52d36f)),_0x30cc2c(0x5,_0x4a4808[_0xc3c9ed(0x113)](_0x5cb308)),_0x30cc2c(0x6,_0x2ace11[_0xc3c9ed(0x138)]),_0x30cc2c(0x7,_0x4a4808[_0xc3c9ed(0x113)](_0x4a4808['LocaleService']))],_0x140d95);var _0x1a39ef=Object[_0xc3c9ed(0x25e)],_0x4f0350=(_0x5cdf1e,_0x128d77,_0x26f845,_0xc50bfe)=>{const _0x488a18=_0xc3c9ed;for(var _0x218ec7=_0xc50bfe>0x1?void 0x0:_0xc50bfe?_0x1a39ef(_0x128d77,_0x26f845):_0x128d77,_0x223eb3=_0x5cdf1e[_0x488a18(0x1f5)]-0x1,_0x47c6c6;_0x223eb3>=0x0;_0x223eb3--)(_0x47c6c6=_0x5cdf1e[_0x223eb3])&&(_0x218ec7=_0x47c6c6(_0x218ec7)||_0x218ec7);return _0x218ec7;},_0x27eca3=(_0xfc350b,_0x5cc140)=>(_0x3b3b73,_0x5c6fd6)=>_0x5cc140(_0x3b3b73,_0x5c6fd6,_0xfc350b);let _0x4eae0a=class extends _0x4a4808[_0xc3c9ed(0x16c)]{constructor(_0x194bd6,_0x1359dd,_0x30a001){const _0x55ac2a=_0xc3c9ed;super(),_0xc598b2(this,_0x55ac2a(0x236),new Map()),_0xc598b2(this,_0x55ac2a(0x198),new Map()),_0xc598b2(this,_0x55ac2a(0x1a4),!0x1),(this[_0x55ac2a(0x17e)]=_0x194bd6,this['_localStorageService']=_0x1359dd,this[_0x55ac2a(0xd0)]=_0x30a001);}[_0xc3c9ed(0x157)](){const _0x5942a4=_0xc3c9ed;this[_0x5942a4(0x1a4)]=!0x0;}[_0xc3c9ed(0x352)](){const _0x55cdfe=_0xc3c9ed;this[_0x55cdfe(0x1a4)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}['dispose'](){const _0x556cbd=_0xc3c9ed;this['exhaustSavingTask']()[_0x556cbd(0x30d)](()=>super[_0x556cbd(0x2c9)]());}async['loadOfflineData'](_0x35b756){const _0x43b571=_0xc3c9ed;return this[_0x43b571(0x1a4)]?null:this[_0x43b571(0x11d)]['getItem'](_0x4bd9c3['getLocalCacheKey'](_0x35b756));}async[_0xc3c9ed(0x149)](_0x2f1e2f,_0x24845a){const _0x1b3583=_0xc3c9ed;return!!this[_0x1b3583(0x11d)]['setItem'](_0x2f1e2f,_0x24845a);}[_0xc3c9ed(0x2bf)](_0x5359cd,_0x3a2705,_0x2dcbe5,_0x239805){const _0x9bbda3=_0xc3c9ed,_0x31313f=this[_0x9bbda3(0xd0)]['getCurrentRevOfUnit'](_0x5359cd);this['_cachedData'][_0x9bbda3(0x1e7)](_0x5359cd,{'unitID':_0x5359cd,'type':_0x3a2705,'awaitingChangeset':_0x2dcbe5,'mutations':_0x239805,'rev':_0x31313f}),this[_0x9bbda3(0x198)][_0x9bbda3(0x119)](_0x5359cd)||this[_0x9bbda3(0x28a)](_0x5359cd);}['_scheduleSaving'](_0x1d2bb7){const _0x21060e=_0xc3c9ed,_0x1dd3b4=this[_0x21060e(0x224)]();_0x1dd3b4===0x0?this[_0x21060e(0x333)](_0x1d2bb7):this[_0x21060e(0x198)][_0x21060e(0x1e7)](_0x1d2bb7,setTimeout(()=>this[_0x21060e(0x333)](_0x1d2bb7),_0x1dd3b4));}[_0xc3c9ed(0x224)](){const _0x2bdb86=_0xc3c9ed;var _0x269378;return(_0x269378=this[_0x2bdb86(0x17e)]['getConfig'](_0x4bd9c3['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x269378:_0x4bd9c3[_0x2bdb86(0x257)];}[_0xc3c9ed(0x333)](_0x64fe66){const _0x279524=_0xc3c9ed,_0x5741b1=this[_0x279524(0x198)]['get'](_0x64fe66);return _0x5741b1!==void 0x0&&window['clearTimeout'](_0x5741b1),this[_0x279524(0x11d)][_0x279524(0x2ec)](_0x4bd9c3[_0x279524(0x2fa)](_0x64fe66),this[_0x279524(0x236)][_0x279524(0x302)](_0x64fe66))['then'](()=>this[_0x279524(0x198)][_0x279524(0xc9)](_0x64fe66));}async[_0xc3c9ed(0x318)](){const _0x25fc46=_0xc3c9ed,_0x4724d2=[];this['_saveTaskMap'][_0x25fc46(0x2ca)]((_0x515c7c,_0x1a0c8f)=>{const _0x74a2b8=_0x25fc46;window[_0x74a2b8(0x133)](_0x515c7c),_0x4724d2['push'](this['_saveCache'](_0x1a0c8f)['then'](()=>{const _0x2e1a36=_0x74a2b8;this['_saveTaskMap'][_0x2e1a36(0xc9)](_0x1a0c8f);}));}),await Promise[_0x25fc46(0x122)](_0x4724d2);}};_0x4eae0a=_0x4f0350([_0x27eca3(0x0,_0x4a4808[_0xc3c9ed(0x221)]),_0x27eca3(0x1,_0x4a4808[_0xc3c9ed(0x169)]),_0x27eca3(0x2,_0x4a4808['Inject'](_0xc6a6b['RevisionService']))],_0x4eae0a);class _0xc00ad0 extends _0x4a4808[_0xc3c9ed(0x213)]{constructor(){const _0x568f7f=_0xc3c9ed;super(),_0xc598b2(this,_0x568f7f(0x161)),this[_0x568f7f(0x161)]=_0x40989e['fromEvent'](window,_0x568f7f(0x155))[_0x568f7f(0x10b)](_0x40989e[_0x568f7f(0x183)](this['dispose$']),_0x40989e[_0x568f7f(0x131)](0x1),_0x40989e[_0x568f7f(0xb9)](void 0x0));}[_0xc3c9ed(0x1f8)](_0x31b614,_0x24248f,_0x38ba38=!0x1){const _0x21fb74=_0xc3c9ed,_0x3f440a=new URL(window['location'][_0x21fb74(0x18d)]);_0x3f440a[_0x21fb74(0x17c)]['set'](_0x31b614,_0x24248f),_0x38ba38?window['history'][_0x21fb74(0x143)]('','',_0x3f440a[_0x21fb74(0x327)]()):window[_0x21fb74(0x284)][_0x21fb74(0x1f6)]('','',_0x3f440a[_0x21fb74(0x327)]());}['removeParam'](_0x2a8c4a,_0x2fe183=!0x1){const _0x573c51=_0xc3c9ed,_0x3222a2=new URL(window[_0x573c51(0x1a3)][_0x573c51(0x18d)]);_0x3222a2[_0x573c51(0x17c)][_0x573c51(0xc9)](_0x2a8c4a),_0x2fe183?window[_0x573c51(0x284)]['replaceState']('','',_0x3222a2[_0x573c51(0x327)]()):window['history'][_0x573c51(0x1f6)]('','',_0x3222a2[_0x573c51(0x327)]());}[_0xc3c9ed(0x209)](_0x46420b){const _0x37b8ea=_0xc3c9ed;var _0x473d81;return(_0x473d81=new URL(window['location'][_0x37b8ea(0x18d)])[_0x37b8ea(0x17c)]['get'](_0x46420b))!=null?_0x473d81:void 0x0;}}var _0x34e103=Object['defineProperty'],_0x4fa224=Object[_0xc3c9ed(0x25e)],_0x5520c1=(_0x3279cb,_0x380f15,_0x503efc)=>_0x380f15 in _0x3279cb?_0x34e103(_0x3279cb,_0x380f15,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x503efc}):_0x3279cb[_0x380f15]=_0x503efc,_0x10df3f=(_0x4023d9,_0x40c428,_0x12e35e,_0x54aa56)=>{const _0x1c689f=_0xc3c9ed;for(var _0x3bdc87=_0x54aa56>0x1?void 0x0:_0x54aa56?_0x4fa224(_0x40c428,_0x12e35e):_0x40c428,_0x2c9e6b=_0x4023d9[_0x1c689f(0x1f5)]-0x1,_0x5b4d13;_0x2c9e6b>=0x0;_0x2c9e6b--)(_0x5b4d13=_0x4023d9[_0x2c9e6b])&&(_0x3bdc87=_0x5b4d13(_0x3bdc87)||_0x3bdc87);return _0x3bdc87;},_0x4f8916=(_0x387792,_0x5d192d)=>(_0x289dc4,_0x5cb732)=>_0x5d192d(_0x289dc4,_0x5cb732,_0x387792),_0xfcf6bb=(_0x332cc9,_0x54cd8a,_0x3be323)=>_0x5520c1(_0x332cc9,_0x54cd8a+'',_0x3be323);const _0x21486e=_0xc3c9ed(0x276);_0x586957[_0xc3c9ed(0x16d)]=class extends _0x4a4808['Plugin']{constructor(_0x4f8b7e=_0x2c650,_0x1f7047,_0x22cb5b,_0x19e239){const _0x5b71e6=_0xc3c9ed;super(),this['_config']=_0x4f8b7e,this['_renderManagerService']=_0x1f7047,this['_injector']=_0x22cb5b,this['_configService']=_0x19e239;const {..._0x34f355}=_0x4a4808[_0x5b71e6(0x2db)]({},_0x2c650,this[_0x5b71e6(0x153)]);this[_0x5b71e6(0x17e)][_0x5b71e6(0x2ae)](_0x63d56e,_0x34f355);}['onStarting'](){const _0x5e33fe=_0xc3c9ed;this[_0x5e33fe(0x33e)](),this['_initDependencies']();}[_0xc3c9ed(0xd7)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x3330c7=_0xc3c9ed;var _0x299358;const _0x1e020f=[[_0x12959a],[_0x52d36f],[_0x1e02f8],[_0x243af4],[_0x5cb308],[_0x5a759b,{'useClass':_0xc00ad0}],[_0x441f4f[_0x3330c7(0x22e)],{'useClass':_0x441f4f[_0x3330c7(0x222)]}],[_0x4bd9c3[_0x3330c7(0x313)],{'useClass':_0x4eae0a}],[_0x586957[_0x3330c7(0x34e)]],[_0x140d95],[_0x5ad52c],[_0x4e56a8],[_0x22b7b7],[_0x586957[_0x3330c7(0x332)]]];_0x4a4808[_0x3330c7(0x1dc)](this[_0x3330c7(0x11a)],_0x4a4808[_0x3330c7(0x1b5)](_0x1e020f,(_0x299358=this[_0x3330c7(0x153)])==null?void 0x0:_0x299358[_0x3330c7(0x139)]));}[_0xc3c9ed(0x14c)](){const _0x5f87f7=_0xc3c9ed;this[_0x5f87f7(0x1fb)](this['_renderManagerService'][_0x5f87f7(0x2f6)](_0x4a4808[_0x5f87f7(0x29e)][_0x5f87f7(0x30b)],[_0xf88ddf])),this[_0x5f87f7(0x1fb)](this[_0x5f87f7(0x2b5)]['registerRenderModule'](_0x4a4808[_0x5f87f7(0x29e)][_0x5f87f7(0x301)],[_0x4c423e]));}['_initDependencies'](){const _0x5769bf=_0xc3c9ed;_0x4a4808[_0x5769bf(0x263)](this['_injector'],[[_0x4e56a8],[_0x586957[_0x5769bf(0x34e)]],[_0x140d95],[_0x5ad52c],[_0x586957[_0x5769bf(0x332)]]]);}},_0xfcf6bb(_0x586957['UniverCollaborationClientUIPlugin'],'pluginName',_0x21486e),_0x586957['UniverCollaborationClientUIPlugin']=_0x10df3f([_0x4a4808[_0xc3c9ed(0x107)](_0x4bd9c3[_0xc3c9ed(0x316)]),_0x4f8916(0x1,_0x545a9a[_0xc3c9ed(0x1a1)]),_0x4f8916(0x2,_0x4a4808[_0xc3c9ed(0x113)](_0x4a4808['Injector'])),_0x4f8916(0x3,_0x4a4808['IConfigService'])],_0x586957[_0xc3c9ed(0x16d)]);var _0x172470=Object[_0xc3c9ed(0x25e)],_0x4674ca=(_0x370435,_0x551c09,_0x363106,_0xd27427)=>{const _0x4f7865=_0xc3c9ed;for(var _0x5d5b4d=_0xd27427>0x1?void 0x0:_0xd27427?_0x172470(_0x551c09,_0x363106):_0x551c09,_0x183a20=_0x370435[_0x4f7865(0x1f5)]-0x1,_0x3aaed8;_0x183a20>=0x0;_0x183a20--)(_0x3aaed8=_0x370435[_0x183a20])&&(_0x5d5b4d=_0x3aaed8(_0x5d5b4d)||_0x5d5b4d);return _0x5d5b4d;},_0x453a2e=(_0x1243f1,_0x34f8e7)=>(_0x5c45a3,_0x38412b)=>_0x34f8e7(_0x5c45a3,_0x38412b,_0x1243f1);_0x586957[_0xc3c9ed(0x310)]=class extends _0x4bd9c3[_0xc3c9ed(0x1a0)]{constructor(_0x1e86ed,_0x4c7248,_0x5a30b9,_0x5ecd04,_0x227866){super(_0x1e86ed,_0x4c7248,_0x5a30b9,_0x5ecd04,_0x227866);}async[_0xc3c9ed(0x1f4)](_0x4e5bf9){const _0xe3fba8=_0xc3c9ed,_0x339f55=await this['_getSessionTicket'](),_0x41e843=this[_0xe3fba8(0x1ea)](_0x4e5bf9,_0x339f55);return this[_0xe3fba8(0x1b8)](_0x41e843);}['_createSocketURL'](_0x48cc2e,_0x3ce836){const _0x3d047a=_0xc3c9ed,_0x4d4dfd=typeof window>'u'?new URL(_0x48cc2e):new URL(_0x48cc2e,window[_0x3d047a(0x1a3)]['origin']);_0x4d4dfd[_0x3d047a(0x17c)]['set']('sessionTicket',_0x3ce836);const _0xecc41e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x3d047a(0xe8)]);return _0xecc41e[_0x3d047a(0x302)]('runId')&&_0x4d4dfd['searchParams']['set']('runId',_0xecc41e[_0x3d047a(0x302)](_0x3d047a(0x1d7))),_0x4d4dfd[_0x3d047a(0x327)]();}async[_0xc3c9ed(0xf3)](){const _0xa2e5e6=_0xc3c9ed;var _0x1c0cfc,_0x4dcb83,_0x1c5b99;const _0x30e499=this[_0xa2e5e6(0x17e)][_0xa2e5e6(0x194)](_0x4bd9c3[_0xa2e5e6(0x265)]),_0x34280c=(_0x1c0cfc=_0x30e499==null?void 0x0:_0x30e499[_0xa2e5e6(0x336)])!=null?_0x1c0cfc:_0x4bd9c3['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x1c5b99=(_0x4dcb83=(await this['_httpService'][_0xa2e5e6(0x302)](_0x34280c,{'headers':{'Content-Type':_0xa2e5e6(0x187)}}))[_0xa2e5e6(0x1e2)])==null?void 0x0:_0x4dcb83[_0xa2e5e6(0x162)])!=null?_0x1c5b99:'';}},_0x586957['BrowserCollaborationSocketService']=_0x4674ca([_0x453a2e(0x0,_0x4a4808['Inject'](_0x4a4808['Injector'])),_0x453a2e(0x1,_0x4a4808[_0xc3c9ed(0x113)](_0x441f4f[_0xc3c9ed(0xdf)])),_0x453a2e(0x2,_0x4a4808[_0xc3c9ed(0x221)]),_0x453a2e(0x3,_0x4a4808[_0xc3c9ed(0x25c)]),_0x453a2e(0x4,_0xc6a6b[_0xc3c9ed(0x16a)])],_0x586957[_0xc3c9ed(0x310)]);var _0x392353=(_0x2fa93a=>(_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x30e)]=0x0]=_0xc3c9ed(0x30e),_0x2fa93a[_0x2fa93a['OK']=0x1]='OK',_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x192)]=0x2]=_0xc3c9ed(0x192),_0x2fa93a[_0x2fa93a['PERMISSION_DENIED']=0x3]=_0xc3c9ed(0x304),_0x2fa93a[_0x2fa93a['NOT_FOUND']=0x4]='NOT_FOUND',_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x273)]=0x5]=_0xc3c9ed(0x273),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x1cc)]=0x6]=_0xc3c9ed(0x1cc),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0xe2)]=0x7]='INVALID_ARGUMENT',_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x2b7)]=0x8]='TOO_MANY_REQUESTS',_0x2fa93a[_0x2fa93a['COMPLETION_FINISHED']=0x9]=_0xc3c9ed(0x324),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x26e)]=0xa]=_0xc3c9ed(0x26e),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x28e)]=0xb]=_0xc3c9ed(0x28e),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x21a)]=0xc]=_0xc3c9ed(0x21a),_0x2fa93a[_0x2fa93a['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0xc3c9ed(0x2bd),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0xe4)]=0xe]=_0xc3c9ed(0xe4),_0x2fa93a[_0x2fa93a['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xc3c9ed(0x1d5),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x208)]=0x1771]=_0xc3c9ed(0x208),_0x2fa93a[_0x2fa93a['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x330)]=0x1773]=_0xc3c9ed(0x330),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x1e3)]=0x1b59]=_0xc3c9ed(0x1e3),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x109)]=0x1b5a]=_0xc3c9ed(0x109),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x218)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2fa93a[_0x2fa93a['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xc3c9ed(0x195),_0x2fa93a[_0x2fa93a['APPLY_DUPLICATED']=0x1b5d]=_0xc3c9ed(0x21d),_0x2fa93a[_0x2fa93a['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0xc3c9ed(0x344),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x21b)]=0x2329]=_0xc3c9ed(0x21b),_0x2fa93a[_0x2fa93a['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0xc3c9ed(0x308),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x33b)]=0x232b]=_0xc3c9ed(0x33b),_0x2fa93a[_0x2fa93a['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0xc3c9ed(0x29b),_0x2fa93a[_0x2fa93a['LICENSE_DISTRO_REJECTED']=0x232d]=_0xc3c9ed(0x266),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x200)]=0x2711]=_0xc3c9ed(0x200),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x27d)]=0x2712]=_0xc3c9ed(0x27d),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x189)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2fa93a[_0x2fa93a['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xc3c9ed(0x27a),_0x2fa93a[_0x2fa93a['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0xc3c9ed(0x2b2),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x312)]=0x271b]=_0xc3c9ed(0x312),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x156)]=0x271c]=_0xc3c9ed(0x156),_0x2fa93a[_0x2fa93a['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0xc3c9ed(0xca),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x2a0)]=0x271e]=_0xc3c9ed(0x2a0),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x27e)]=0x271f]=_0xc3c9ed(0x27e),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x1e9)]=0x2720]=_0xc3c9ed(0x1e9),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0xc0)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x145)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x2fa93a[_0x2fa93a['INVALID_INVITE_CODE']=0x2ee2]=_0xc3c9ed(0x335),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0xff)]=0x2ee3]=_0xc3c9ed(0xff),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x15c)]=0x2ee4]=_0xc3c9ed(0x15c),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x110)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x14e)]=0x32c9]=_0xc3c9ed(0x14e),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x18a)]=0x32ca]=_0xc3c9ed(0x18a),_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x199)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2fa93a[_0x2fa93a[_0xc3c9ed(0x11b)]=-0x1]=_0xc3c9ed(0x11b),_0x2fa93a))(_0x392353||{}),_0x44f423=Object['getOwnPropertyDescriptor'],_0x802fc7=(_0x313e87,_0x3ae97c,_0x2c47e2,_0xd9b505)=>{const _0x6cc5c4=_0xc3c9ed;for(var _0x5d31c4=_0xd9b505>0x1?void 0x0:_0xd9b505?_0x44f423(_0x3ae97c,_0x2c47e2):_0x3ae97c,_0x1e9a5a=_0x313e87[_0x6cc5c4(0x1f5)]-0x1,_0x274272;_0x1e9a5a>=0x0;_0x1e9a5a--)(_0x274272=_0x313e87[_0x1e9a5a])&&(_0x5d31c4=_0x274272(_0x5d31c4)||_0x5d31c4);return _0x5d31c4;},_0xf342f8=(_0xf37b9,_0x12096a)=>(_0x11bf6c,_0x5843a8)=>_0x12096a(_0x11bf6c,_0x5843a8,_0xf37b9);_0x586957[_0xc3c9ed(0x1bf)]=class extends _0x4a4808[_0xc3c9ed(0x16c)]{constructor(_0x53ed19,_0x1c2655,_0x39caf2){const _0x4e026d=_0xc3c9ed;super(),this[_0x4e026d(0x24c)]=_0x53ed19,this[_0x4e026d(0xd4)]=_0x1c2655,this[_0x4e026d(0x17e)]=_0x39caf2;}async[_0xc3c9ed(0x219)](_0x123155,_0x3a361e,_0x377263,..._0x313c46){const _0x26ecc8=_0xc3c9ed;var _0x37aa42,_0x5093d6,_0x471af7,_0x3260cd;const _0x13d35c=this[_0x26ecc8(0x24c)][_0x26ecc8(0x1d1)]();if(!_0x13d35c)throw new Error(_0x26ecc8(0x2d5));const _0x3d00d1=((_0x37aa42=this[_0x26ecc8(0x17e)][_0x26ecc8(0x194)](_0x4bd9c3[_0x26ecc8(0x203)]))!=null?_0x37aa42:_0x4bd9c3['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x123155+_0x26ecc8(0x1ad)+_0x3a361e,_0x34bc9f=new URL(window['location'][_0x26ecc8(0x18d)]),_0x211ba5={'scriptId':_0x123155,'runId':(_0x5093d6=_0x34bc9f['searchParams'][_0x26ecc8(0x302)](_0x26ecc8(0x1d7)))!=null?_0x5093d6:'','function':_0x3a361e,'unitId':_0x13d35c['getUnitId'](),'argsOfFunction':JSON[_0x26ecc8(0x237)](_0x313c46),'invokeId':(_0x471af7=_0x377263[_0x26ecc8(0x216)])!=null?_0x471af7:'','executionId':(_0x3260cd=_0x377263[_0x26ecc8(0x268)])!=null?_0x3260cd:''};try{const _0x1d742d=await this[_0x26ecc8(0xd4)][_0x26ecc8(0x1ee)](_0x3d00d1,{'body':_0x211ba5});return _0x1d742d[_0x26ecc8(0x1e2)][_0x26ecc8(0x21c)]&&_0x1d742d['body']['error']['code']!==_0x392353['OK']?_0x26ecc8(0x1fc):_0x1d742d[_0x26ecc8(0x1e2)][_0x26ecc8(0x33a)];}catch{return _0x26ecc8(0x1fc);}}},_0x586957[_0xc3c9ed(0x1bf)]=_0x802fc7([_0xf342f8(0x0,_0x4a4808[_0xc3c9ed(0x2f7)]),_0xf342f8(0x1,_0x4a4808[_0xc3c9ed(0x113)](_0x441f4f[_0xc3c9ed(0xdf)])),_0xf342f8(0x2,_0x4a4808[_0xc3c9ed(0x221)])],_0x586957['RemoteUniscriptService']);const _0x5a6ba8=0x7530,_0x4ba479='ACTIVE_UNIT_EVENT_CHANNEL';class _0x36a97e extends _0x4a4808[_0xc3c9ed(0x16c)]{constructor(){const _0x2ac2c7=_0xc3c9ed;super(),_0xc598b2(this,_0x2ac2c7(0x307),_0x4a4808[_0x2ac2c7(0x166)]()),_0xc598b2(this,_0x2ac2c7(0x19a),new Set()),_0xc598b2(this,_0x2ac2c7(0x2b9),new Map()),_0xc598b2(this,'_heartbeatTimer',null),_0xc598b2(this,_0x2ac2c7(0x2d7),new Map()),_0xc598b2(this,_0x2ac2c7(0x31d),new Map()),this[_0x2ac2c7(0x2f4)]();}[_0xc3c9ed(0x2c9)](){const _0x46c46a=_0xc3c9ed;super[_0x46c46a(0x2c9)](),this[_0x46c46a(0x2d7)]['forEach']((_0x1900a6,_0x1b5a53)=>this[_0x46c46a(0xfe)](_0x1b5a53)),this['_heartbeatTimer']&&window[_0x46c46a(0x2de)](this[_0x46c46a(0x1d3)]);}['getUnitStatus$'](_0x4f32e8){const _0x266dbc=_0xc3c9ed;return this[_0x266dbc(0x321)](_0x4f32e8)[_0x266dbc(0x10b)](_0x40989e[_0x266dbc(0xd1)]());}[_0xc3c9ed(0xde)](_0x5948aa){const _0x3c2425=_0xc3c9ed;this[_0x3c2425(0x19a)][_0x3c2425(0x2d8)]===0x0&&this[_0x3c2425(0x18e)](),this[_0x3c2425(0x19a)]['add'](_0x5948aa),this['_send']({'type':0x0,'memberID':this[_0x3c2425(0x307)],'unitIDs':[_0x5948aa],'isForwarded':!0x1});}[_0xc3c9ed(0x2ed)](_0x1288f4){const _0x49a041=_0xc3c9ed;this[_0x49a041(0x19a)][_0x49a041(0xc9)](_0x1288f4),this[_0x49a041(0x19a)][_0x49a041(0x2d8)]===0x0&&this[_0x49a041(0x1d3)]&&window['clearInterval'](this[_0x49a041(0x1d3)]);}[_0xc3c9ed(0x2f4)](){const _0x31be03=_0xc3c9ed;this[_0x31be03(0x1fb)](_0x4a4808[_0x31be03(0x23f)](_0x40989e['fromEvent'](window,_0x31be03(0x348))[_0x31be03(0x16e)](_0x4a7c85=>{const _0x5d1b40=_0x31be03;if(_0x4a7c85[_0x5d1b40(0x33c)]!==_0x4ba479||!_0x4a7c85['newValue'])return;const _0x31ee81=JSON[_0x5d1b40(0x1a8)](_0x4a7c85[_0x5d1b40(0x20b)]);this[_0x5d1b40(0x1c3)](_0x31ee81);}))),window[_0x31be03(0x2b1)]('unload',()=>this[_0x31be03(0x12c)]({'type':0x1,'memberID':this[_0x31be03(0x307)],'unitIDs':Array[_0x31be03(0x207)](this[_0x31be03(0x19a)])}));}[_0xc3c9ed(0x1c3)](_0x1dd2a6){const _0x55fd7a=_0xc3c9ed;switch(_0x1dd2a6[_0x55fd7a(0x196)]){case 0x0:this[_0x55fd7a(0x14a)](_0x1dd2a6);break;case 0x1:this[_0x55fd7a(0x12a)](_0x1dd2a6);break;case 0x2:this['_handleHeartbeatEvent'](_0x1dd2a6);break;}}[_0xc3c9ed(0x14a)](_0x101cf4){const _0x38baea=_0xc3c9ed,{unitIDs:_0x441ce5,memberID:_0x48d0c7,isForwarded:_0x496fad}=_0x101cf4;_0x441ce5['forEach'](_0x256357=>{const _0x1651e2=_0xb97a;if(!_0x496fad&&this[_0x1651e2(0x2b9)][_0x1651e2(0x119)](_0x256357)&&this[_0x1651e2(0x321)](_0x256357)['next'](_0x4bd9c3['UnitStatus'][_0x1651e2(0xce)]),!this[_0x1651e2(0x2b9)][_0x1651e2(0x119)](_0x256357)||!this[_0x1651e2(0x2b9)][_0x1651e2(0x302)](_0x256357)[_0x1651e2(0x119)](_0x48d0c7)){const _0x1cc14e=this['_unitOnClients']['get'](_0x256357)||new Set();_0x1cc14e[_0x1651e2(0xf6)](_0x48d0c7),this[_0x1651e2(0x2b9)]['set'](_0x256357,_0x1cc14e),this[_0x1651e2(0x30a)](_0x48d0c7);}}),_0x496fad||this[_0x38baea(0x12c)]({'type':0x0,'memberID':this[_0x38baea(0x307)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x27e084){const _0x4558c0=_0xc3c9ed;this[_0x4558c0(0xfe)](_0x27e084);const _0x12c40c=window[_0x4558c0(0xfd)](()=>{this['_unitOnClients']['forEach'](_0x5d5111=>{const _0x5ed4ed=_0xb97a;_0x5d5111[_0x5ed4ed(0xc9)](_0x27e084);});},_0x5a6ba8*0x2);this['_clearOtherTimers'][_0x4558c0(0x1e7)](_0x27e084,_0x12c40c);}[_0xc3c9ed(0xfe)](_0x14392a){const _0x2bbc4b=_0xc3c9ed;if(this[_0x2bbc4b(0x2d7)][_0x2bbc4b(0x119)](_0x14392a)){const _0x36c82c=this[_0x2bbc4b(0x2d7)][_0x2bbc4b(0x302)](_0x14392a);_0x36c82c&&window[_0x2bbc4b(0x133)](_0x36c82c),this[_0x2bbc4b(0x2d7)][_0x2bbc4b(0x1e7)](_0x14392a,null);}}['_handleLeaveEvent'](_0x978fe1){const _0xaacdc1=_0xc3c9ed,{memberID:_0x1c2309,unitIDs:_0x215742}=_0x978fe1;_0x215742[_0xaacdc1(0x2ca)](_0x3ab0ec=>{const _0x68ddd6=_0xaacdc1;var _0x16de52;const _0x31b8f1=this[_0x68ddd6(0x2b9)][_0x68ddd6(0x302)](_0x3ab0ec);_0x31b8f1&&(_0x31b8f1[_0x68ddd6(0xc9)](_0x1c2309),(_0x16de52=this['_ensureSubject'](_0x3ab0ec))==null||_0x16de52[_0x68ddd6(0x33f)](_0x31b8f1[_0x68ddd6(0x2d8)]===0x0?_0x4bd9c3[_0x68ddd6(0x232)][_0x68ddd6(0x300)]:_0x4bd9c3[_0x68ddd6(0x232)][_0x68ddd6(0xce)]));}),this[_0xaacdc1(0xfe)](_0x1c2309);}[_0xc3c9ed(0x1c9)](_0x1ab50d){const _0x5ac786=_0xc3c9ed;this[_0x5ac786(0x30a)](_0x1ab50d[_0x5ac786(0x2cf)]);}[_0xc3c9ed(0x12c)](_0x50c18e){const _0x258d43=_0xc3c9ed;localStorage[_0x258d43(0x2ec)](_0x4ba479,JSON[_0x258d43(0x237)](_0x50c18e));}['_scheduleHeartbeat'](){const _0x80b401=_0xc3c9ed;this[_0x80b401(0x1d3)]=window[_0x80b401(0x245)](()=>{const _0x308b28=_0x80b401;this['_send']({'type':0x2,'memberID':this[_0x308b28(0x307)]});},_0x5a6ba8);}[_0xc3c9ed(0x321)](_0x1e1df1){const _0x4da432=_0xc3c9ed;return this[_0x4da432(0x31d)]['has'](_0x1e1df1)||this['_unitStatus']['set'](_0x1e1df1,new _0x40989e[(_0x4da432(0x2d1))](_0x4bd9c3[_0x4da432(0x232)][_0x4da432(0x300)])),this[_0x4da432(0x31d)][_0x4da432(0x302)](_0x1e1df1);}}_0x586957[_0xc3c9ed(0x250)]=_0x5a759b,_0x586957[_0xc3c9ed(0x1ac)]=_0x464aa0,_0x586957[_0xc3c9ed(0x274)]=_0x36a97e,_0x586957[_0xc3c9ed(0x2f0)]=_0xc00ad0,Object[_0xc3c9ed(0x15b)](_0x586957,Symbol[_0xc3c9ed(0x1e0)],{'value':_0xc3c9ed(0x152)});}));function _0xb97a(_0x136152,_0x11418a){const _0x1e7c28=_0x1e7c();return _0xb97a=function(_0xb97a79,_0x436e75){_0xb97a79=_0xb97a79-0xb8;let _0x250b23=_0x1e7c28[_0xb97a79];return _0x250b23;},_0xb97a(_0x136152,_0x11418a);}function _0x1e7c(){const _0x558dde=['xlink:href','application/json','string','YUUMI_RATE_OVER_LIMIT','MOBILE_HAS_BEEN_BOUND','_cursors','getRenderById','href','_scheduleHeartbeat','getSheetBySheetId','params','drawWith','INTERNAL_ERROR','_cursor','getConfig','APPLY_PERMISSION_DENIED','type','registerRefRange','_saveTaskMap','EMAIL_HAS_BEEN_BOUND','_selfUnitIDs','status$','colorChannel1','getOffsetConfig','UniverDocs','InsertColCommandId','CollaborationSocketService','IRenderManagerService','univer-flex\x20univer-items-center','location','_disabled','DocIMEInputManagerService','DocStateChangeManagerService','_docStateChangeManagerService','parse','_initCommandExecutedListener','EffectRefRangId','_logService','SheetCollabCursorShape','/run/','saveImage','replace','_anchorDot','transformMutationsWithChangeset','isArray','collabStatus.syncing','ICommandService','mergeOverrideWithDependencies','show','svg','_doCreateSocket','sessionStatus$','startRow','getMember','DeleteRangeMoveUpCommandId','SessionStatus','SYNCED','RemoteUniscriptService','_localCacheService','whenReady','createInstance','_handleEvent','MUTATION','defs','runRefRangeMutations','entityInit$','_onRefRangeChange','_handleHeartbeatEvent','amd','_transformUndoRedoStack','ALREADY_EXISTS','getOwnPropertySymbols','unit','_roomMembers$','NodePositionConvertToCursor','getFocusedUnit','_hover','_heartbeatTimer','transformByState','CHANGESET_REVISION_CONFILICT','requireSession','runId','onCommandExecuted','getDocRanges','mask','RegularPolygon','registerDependencies','unitId','getUnitId','toRgbString','toStringTag','UniverProCollaboration','body','APPLY_REJECT','_urlService','_toggleOffline','SOCKET_FAILED_RETRY','set','_localeService','YUUMI_CONNECTOR_URL_NOT_FOUND','_createSocketURL','IImageIoService','getUndoRedoMutationParamsCache','with','post','makeDirty','red.300','_refreshCollabCursors','CollaborationStatus','_messageService','createSocket','length','pushState','_docClipboardService','setParam','extend','UniverIcon','disposeWithMe','Failed','IRemoteInstanceService','subscribeEvent','getColor','YUUMI_UNABLE_LOAD_URL','cursorInfo','univer-mr-2\x20univer-flex\x20univer-text-xl','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','[CollaborationDataLoaderController]','NOT_COLLAB','collaboration-client.offline-data-not-saved','from','SNAPSHOT_INVALID_SNAPSHOT','getParam','_scene','newValue','_getAnchorBounding','handleDeleteRangeMoveLeft','on-line-icon','collabStatus.offline','complete','executeCommand','_textBubble','RxDisposable','@univerjs/sheets','http://www.w3.org/2000/svg','invokeId','trim','APPLY_REVISION_CONFILICT','runOnServer','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','LICENSE_MAX_UNITS_EXCEEDED','error','APPLY_DUPLICATED','Rect','send','jsx','IConfigService','WebSocketService','COLORS','_getSaveTimeout','IDocClipboardService','deepClone','getSheetId','handleDeleteRangeMoveUp','_getSheetObject','top','map','_startSheetCollabCursor','UniverCore','ISocketService','_cursorShapes','setShapeProps','url(#off-line-icon_clip0_910_343)','UnitStatus','fill','AWAITING','_commandService','_cachedData','stringify','bottom','indexOf','transformMutation','DocSkeletonManagerService','DocSelectionManagerService','onLocalMutation','sheetId','toDisposable','collabCursorState$','collabStatus.notCollab','_hovered','jiqing.500','getVpScrollXYInfoByPosToVp','setInterval','RECT','lineTo','CollaborationUIEventId','init','UniverSheets','round','_instanceService','getCollabEntity$','9wBIzLj','ThemeService','IURLService','SetTextSelectionsOperation','React','setUndoRedoMutationParamsCache','211026xBsYty','getActiveSheet','UniverDesign','LOCAL_CACHE_INTERVAL','getRangePointData','11742xhFKcT','clsx','getCollabCursors$','ILogService','DeleteRangeMoveLeftCommandId','getOwnPropertyDescriptor','_labelPosition','Tools','8QjktQX','collabStatus.conflict','touchDependencies','SetDocZoomRatioOperation','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','LICENSE_DISTRO_REJECTED','registerBeforeClose','executionId','CollaborationController','row','ONLINE','icon','eventID','LOGIN_FAILED','collabStatus.fetchMiss','closePath','6593274lsWLmK','_session','UNAUTHENTICATED','WebBrowserSingleActiveUnitService','23510IgxlkI','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_docSyncEditingCollabCursorService','UniverRpc','displayName','YUUMI_SUBSCRIPTION_NOT_FOUND','dispose$','currentColor','YUUMI_URL_COL_OUT_OF_RANGE','YUUMI_AI_RUN_FAILED','replaceDocRanges','source','hasOwnProperty','focused$','2981wBArva','history','_syncEditingCollabCursorService','push','_hideTimer','roomMembers','OnLineIcon','_scheduleSaving','_updateCollabCursors','children','Workbook','MOBILE_VERIFY_CODE_MISMATCH','getValue','split','react/jsx-runtime','debug','actions','off-line-icon_clip0_910_343','translate(.97)','Error','CLOSE_ROOM','rxjs','white','connectInjector','LICENSE_EXPORT_SIZE_EXCEEDED','engine','_drawAnchor','UniverInstanceType','OffLineIcon','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','color','startColumn','_colorIndex','UniverDrawing','Tooltip','transformStateCache','BuiltInUIPart','symbol','useCallback','_colorAssignService','column','OTHER_CLIENT_EDITING','RefRangeService','setConfig','_drawTextRange','2785650rEFwGW','addEventListener','YUUMI_NO_CUBOID_FOR_QUESTION','_notificationService','Injector','_renderManagerService','Warning','TOO_MANY_REQUESTS','beginPath','_unitOnClients','tag','_uiPartsService','CollaborationSessionService','EMAIL_VERIFY_CODE_MISMATCH','subUnitId','updateOfflineData','prototype','_range','#FFF','@univerjs/network','_transformService','fromEventSubject','collabStatus.synced','DisposableCollection','InsertRangeMoveRightCommandId','dispose','forEach','_color','4999666OsLFwT','_render','ColorKit','memberID','_dataLoaderService','BehaviorSubject','SOCKET_FAILED','getMergeData','save','[RemoteUniscriptService]:\x20no\x20focused\x20unit','Vector2','_clearOtherTimers','size','_docTransformStateCacheService','_online','merge','redoState','...','clearInterval','fillStyle','setAlpha','UniverEngineRender','UniverSheetsUi','assignAColorForMemberID','m2Prime','_anchor','_initStatusListener','entries','_entityInit$','setStateCache','measureText','collaboration-client-ui.config','setItem','disposeUnit','substring','DocCollaborationEntity','WebURLService','undoState','data','isTransformMutationFailure','_init','text','registerRenderModule','IUniverInstanceService','getViewport','DOC_RANGE_TYPE','getLocalCacheKey','endColumn','_name','_removeCollabCursors','function','UniverProCollaborationClient','NO_OTHER_CLIENTS_EDITING','UNIVER_SHEET','get','_memberService','PERMISSION_DENIED','_drawRectRange','assign','_id','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getSkeleton','_scheduleClearOtherTimer','UNIVER_DOC','_onCursorUpdate','then','UNDEFINED','_imageIoService','BrowserCollaborationSocketService','isActive','YUUMI_ASYNCIO_CANCELLED','ILocalCacheService','unitID','find','UniverCollaborationClientPlugin','VIEW_MAIN','exhaustSavingTask','_eventUnsubscribe','evenodd','_refRangeService','getCoordByCell','_unitStatus','FromArray','@univerjs/rpc','RemoveColCommandId','_ensureSubject','_draw','m1Prime','COMPLETION_FINISHED','debounce','_updateLocalCursor','toString','LocaleService','onTransformChange$','SetWorksheetActivateCommand','restore','object','roomMembers$','handleInsertCol','getStateCache','ENSURE_SNAPSHOT_EXECUTION','getTypeOfUnitDisposed$','CollaborationDataLoaderController','_saveCache','handleInsertRangeMoveRight','INVALID_INVITE_CODE','wsSessionTicketUrl','_collaborationController','forwardRef','random','result','LICENSE_IMPORT_SIZE_EXCEEDED','key','_onCursorDelete','_registerDependencies','next','_lastPointer','div','UniverNetwork','_collabCursorState$','CONNECTOR_DATA_TOO_LARGE','current','clipPath','_backgroundColor','storage','_entities','blue.400','CollaborationEvent','off-line-icon','_docTransformSelectionsService','DesktopCollaborationStatusDisplayController','INotificationService','selection','on-line-icon_clip0_910_349','enableLocalCache','switchMap','mapTo','filter','_startDocCollabCursor','_toggleOnline','getCurrentUnitForType','registerComponent','permission.title','PY_RUNTIME_SCRIPT_ERROR','addObject','concat','hide','onMouseMove','_status$','_getMergeRange','idSuffix','_initEvent','delete','YUUMI_ALL_TABLES_IS_INVALID','@univerjs/ui','_sheetSkeletonManagerService','collab-client.tooltip.reconnect','OTHER_CLIENTS_EDITING','min','_revisionService','distinctUntilChanged','_univerInstanceService','width','_httpService','TEXT','createElement','onRendered','yellow.400','Subject','black','_themeService','348207ePnawT','purple.300','editingUnit','HTTPService','_collabCursorController','setActiveRange','INVALID_ARGUMENT','imageSourceType','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ranges','className','arc','search','selections','url(#on-line-icon_clip0_910_349)','getAncestorScale','_docSkeletonManagerService','mutations','Shape','_cursorInfo$','@univerjs/docs','currentSkeleton$','doc.mutation.rich-text-editing','_getSessionTicket','_setupBeforeClosingHandler','asObservable','add','findNodePositionByCharIndex','UPDATE_CURSOR','debounceTime','_updateURLWithCurrentState','subunit','deserializeRangeWithSheet','setTimeout','_removeClearOtherTimer','INVITE_CODE_REQUIRED','16gePVoc','_assignedColors','0\x200\x2017\x2016','collaboration.single-unit.warning','useRef','react','session.collaboration-timeout','DependentOn','path','APPLY_NON_SEQUENTIAL_REVISION','DataLoaderService','pipe','includes','name','UniverDocsUi','some','INVITE_CODE_ALREADY_BOUND','_collabSessionService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','Inject','RichTextEditingMutation','_setupSubUnitSync','call','activeSheet$','unshift','has','_injector','UNRECOGNIZED','permission.content','_localStorageService','use','TEXT_RANGE_LAYER_INDEX','_handleHover','USERS_LEAVE','all','UniverUi','getColorFromTheme','docStateChange$','onPointerLeave$','transformRemoteChangeset','@univerjs/sheets-ui','serializeRangeWithSheet','_handleLeaveEvent','@univerjs/engine-formula','_send','none','textRanges','_context','rxjs/operators','shareReplay','SUBMIT_CHANGESET_TIMEOUT','clearTimeout','CollaborationUIEventService','SheetsSelectionsService','handleIRemoveCol','throttleTime','IMessageService','override','getTypeOfUnitAdded$','jsxs','values','IUIPartsService','SHEET_VIEWPORT_KEY','getActiveRange','reconnect','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','MessageType','replaceState','currentTheme$','INVITE_CODE_HAS_BEEN_UES','defIds','CONFLICT','addHandlerCallback','saveOfflineData','_handleJoinEvent','_initStatusComponent','_registerRenderDependencies','UniverProCollaborationClientUi','WECHAT_HAS_BEEN_BOUND','fillRule','event$','attrs','Module','_config','propertyIsEnumerable','popstate','YUUMI_TABLE_NOT_FOUND_IN_UNIT','disableLocalCache','Unknown\x20user','max','onPointerEnter$','defineProperty','USER_NOT_INVITED_CODE','_updateSubUnitFromURLParams','session.connection-failed','combineLatest','isTransformMutationsWithChangesetSuccess','urlChange$','ticket','collaboration.closeRoom','1em','Rectangle','generateRandomId','SheetSkeletonManagerService','handleInsertRow','ILocalStorageService','ISnapshotServerService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','Disposable','UniverCollaborationClientUIPlugin','subscribe','unsubscribe','sheetID','OFFLINE','_initResize','M0\x200H16V16H0z','triggerDblclick','apply','fillText','transformSelections','url(#$1','ITransformService','_initEntityListener','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','searchParams','HEADER_MENU','_configService','_shapes','cursorInfo$','@univerjs/docs-ui','_transformHistoryAndStateStack','takeUntil','_docSkeleton','syncEditingCollabCursor'];_0x1e7c=function(){return _0x558dde;};return _0x1e7c();}
|