@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202506091607 → 0.8.0-nightly.202506101607
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/en-US.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/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/en-US.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/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/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.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/en-US.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/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 +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0xc513(_0x5d3d6a,_0x2f52d8){const _0x474964=_0x4749();return _0xc513=function(_0xc51387,_0xdb79ce){_0xc51387=_0xc51387-0x118;let _0x1b0697=_0x474964[_0xc51387];return _0x1b0697;},_0xc513(_0x5d3d6a,_0x2f52d8);}function _0x4749(){const _0x4865e6=['random','LocaleService','pushState','saveOfflineData','INotificationService','hasOwnProperty','UPDATE_CURSOR','_drawTextRange','on-line-icon','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Unknown\x20user','restore','color','LICENSE_DISTRO_REJECTED','forwardRef','subscribe','UniverDrawing','collab-text-range-','width','defs','icon','getCoordByCell','_color','Module','AWAITING_WITH_PENDING','_shapes','from','url(#on-line-icon_clip0_910_349)','handleInsertRangeMoveDown','_instanceService','_cursorInfo$','amd','fromEventSubject','_scene','registerBeforeClose','subUnitId','_collabCursorState$','unit','_scheduleClearOtherTimer','updateOfflineData','memberID','RemoteUniscriptService','registerDependencies','storage','CONNECTOR_DATA_TOO_LARGE','set','RichTextEditingMutation','startsWith','UniverDesign','div','collaboration.closeRoom','height','registerRefRange','currentTheme$','_collaborationController','map','getRenderById','roomMembers$','UniverProCollaborationClient','getCollabCursors$','replace','getCellPositionByOffset','split','UniverProCollaborationClientUi','getDocRanges','_initResize','_disabled','values','NOT_COLLAB','AWAITING','yellow.400','m1Prime','InsertRangeMoveDownCommandId','DeleteRangeMoveLeftCommandId','getUnhiddenWorksheets','_logService','@univerjs/sheets-ui','_renderManagerService','onPointerMove$','_transformUndoRedoStack','_session','name','_colorAssignService','generateRandomId','DEFAULT_WS_SESSION_TICKET_URL','ticket','collaboration-client-ui.config','attrs','_docTransformStateCacheService','send','_updateSubUnitFromURLParams','isActive','next','complete','UniverInstanceType','_sheetSkeletonManagerService','MessageType','url(#$1','drawWith','urlChange$','IRemoteInstanceService','setActiveRange','2588568KwxVaZ','IURLService','RefRangeService','translate(.97)','setItem','unitId','UnitStatus','getUnitId','InsertRangeMoveRightCommandId','UniverUi','IConfigService','_httpService','_removeCollabCursors','RevisionService','href','getSkeleton','getFocusedUnit','collabStatus.fetchMiss','syncEditingCollabCursor','UniverCore','Subject','SOCKET_FAILED_RETRY','deepClone','handleIRemoveRow','React','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','collab-client.tooltip.reconnect','1em','#FFF','fillText','ILocalCacheService','INVITE_CODE_HAS_BEEN_UES','ENSURE_SNAPSHOT_EXECUTION','DependentOn','m2Prime','searchParams','onCommandExecuted','find','JOIN_ROOM_FAILED','current','jiqing.500','SetSelectionsOperation','DisposableCollection','DocCollaborationEntity','_registerRenderDependencies','_urlService','wsSessionTicketUrl','COMPLETION_FINISHED','_render','_eventUnsubscribe','CollaborationUIEventId','FETCH_MISS','@univerjs-pro/collaboration-client','unload','delete','@univerjs/drawing','_docSkeletonManagerService','YUUMI_ASYNCIO_CANCELLED','_startDocCollabCursor','getSheetObject','undoState','_onRefRangeChange','RemoveRowCommandId','subunit','_onCursorUpdate','combineLatest','createElement','indexOf','_refRangeService','2779445jcnssk','addEventListener','round','flatMap','_send','_name','roomMembers','collab-rect-range-','_initStatusListener','_imageIoService','debounce','fill','_transformHistoryAndStateStack','handleInsertCol','LICENSE_MAX_UNITS_EXCEEDED','addObjects','IBeforeCloseService','pluginName','column','transform','takeUntil','getValue','onPointerEnter$','@univerjs-pro/collaboration','params','isArray','USER_NOT_INVITED_CODE','toRgbString','deserializeRangeWithSheet','DeleteRangeMoveUpCommandId','substring','COLORS','exhaustSavingTask','UniverCollaborationClientUIPlugin','sheetID','Injector','path','CollaborationDataLoaderController','createInstance','Disposable','_clearOtherTimers','9297430OlKRfu','NOT_FOUND','_dataLoaderService','body','entries','currentColor','@univerjs/rpc','function','replaceDocRanges','YUUMI_UNABLE_LOAD_URL','_messageService','_notificationService','11362kyEfSY','_getSheetObject','YUUMI_ALL_TABLES_IS_INVALID','isEditing','requireSession','IImageIoService','xlink:href','getMember','fillStyle','executeCommand','CollaborationEvent','847KkalEJ','asObservable','EffectRefRangId','evenodd','red.300','getOwnPropertySymbols','text','saveTaskMap','LICENSE_IMPORT_SIZE_EXCEEDED','_docStateChangeManagerService','endColumn','UNAUTHENTICATED','UNRECOGNIZED','Rectangle','MOBILE_HAS_BEEN_BOUND','_injector','YUUMI_SUBSCRIPTION_NOT_FOUND','_docTransformIMECacheService','getViewport','hide','clearTimeout','_setupSubUnitSync','getMergeData','ITransformService','cursorInfo$','FromArray','show','collabStatus.offline','purple.300','_ensureSubject','application/json','currentSkeleton$','serializeRangeWithSheet','[CollaborationDataLoaderController]','EMAIL_HAS_BEEN_BOUND','history','48UUuAvj','mask','UNIVER_SHEET','error','NodePositionConvertToCursor','_hovered','loadUnit','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','override','CommandType','_localeService','handleIRemoveCol','APPLY_NON_SEQUENTIAL_REVISION','_scheduleHeartbeat','setUndoRedoMutationParamsCache','doc.mutation.rich-text-editing','BehaviorSubject','ThemeService','max','has','LOCAL_CACHE_INTERVAL','DocIMEInputManagerService','permission.content','...','debounceTime','APPLY_REVISION_CONFILICT','_collabSessionService','_init','_anchorDot','IMessageService','removeParam','@univerjs/engine-formula','@univerjs/core','PERMISSION_DENIED','measureText','APPLY_DUPLICATED','off-line-icon_clip0_910_343','call','UniverSheets','ISocketService','ALREADY_EXISTS','ILocalStorageService','disposeWithMe','shareReplay','mutations','SNAPSHOT_HAS_BEEN_REMOVED','_backgroundColor','react','_saveTaskMap','tag','setStateCache','WebURLService','LOCAL_CACHE_INTERVAL_KEY','NO_OTHER_CLIENTS_EDITING','add','string','getLocalCacheKey','LICENSE_EXPORT_SIZE_EXCEEDED','_selfUnitIDs','_range','APPLY_REJECT','onMouseMove','transformStateCache','transformMutation','DataLoaderService','startColumn','Error','CollaborationUIEventService','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','fromEvent','transformByState','_hideTimer','collab-text-anchor-','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','newValue','_collaborationUIEventService','rgba(255,\x20255,\x20255,\x200.01)','getColor','18QpCKDO','handleDeleteRangeMoveUp','_saveCache','colorChannel1','_docSyncEditingCollabCursorService','_toggleOnline','setInterval','getVpScrollXYInfoByPosToVp','_drawAnchor','collabStatus.notCollab','handleInsertRangeMoveRight','Vector2','602032xhzGmS','getParam','Plugin','addHandlerCallback','min','_toggleOffline','OTHER_CLIENTS_EDITING','OnLineIcon','setParam','_draw','_handleHover','_refreshCollabCursors','MemberService','font','IRenderManagerService','SOCKET_FAILED','_colorIndex','_updateCollabCursors','INVALID_ARGUMENT','children','length','black','getTypeOfUnitAdded$','throttleTime','DocSelectionManagerService','on-line-icon_clip0_910_349','connectInjector','_initEntityListener','DocStateChangeManagerService','dispose','9LgMNWB','svg','getOffsetConfig','getCurrentSelections','_themeService','@univerjs/ui','data','0\x200\x2016\x2016','with','_transformPreviousActiveRange','collabStatus.synced','popstate','defIds','unitID','contains','UNIVER_DOC','redoState','getRangePointData','MoveRangeCommandId','extend','_initCommandExecutedListener','YUUMI_AI_RUN_FAILED','TEXT_RANGE_LAYER_INDEX','bottom','_univerInstanceService','setAlpha','_assignedColors','parse','save','univerjs-icon\x20univerjs-icon-','rxjs/operators','_removeClearOtherTimer','_textBubble','@univerjs/docs','UniverSheetsUi','univer-flex\x20univer-items-center','_entityInit$','M0\x200H16V16H0z','clipPath','_createSocketURL','toDisposable','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','SNAPSHOT_INVALID_SNAPSHOT','reconnect','jsxs','editingUnit','stringify','ILogService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','Failed','collabCursorState$','RegularPolygon','transformMutationsWithChangeset','displayName','key','subscribeEvent','transformIMECache','getActiveRange','isTransformMutationsWithChangesetSuccess','filter','TRANSFORM_CHANGE_OBSERVABLE_TYPE','YUUMI_RATE_OVER_LIMIT','_updateLocalCursor','Warning','SessionStatus','debug','_syncEditingCollabCursorService','_labelPosition','whenReady','Inject','registerRenderModule','init','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','SYNCED','UniverIcon','Workbook','docStateChange$','ColorKit','UniverEngineRender','closePath','unshift','getMemberID','_getSessionTicket','assign','concat','getCurrentUnitForType','collaboration.single-unit.warning','ICommandService','_getScale','useRef','HTTPService','25994QdJTCp','push','_context','Shape','IUniverInstanceService','hovered','blue.400','idSuffix','setTimeout','_beforeCloseService','_cursorShapes','selections','setShapeProps','sheetId','ACTIVE_UNIT_EVENT_CHANNEL','operators','all','_roomMembers$','sessionTicket','APPLY_PERMISSION_DENIED','SheetsSelectionsService','TOO_MANY_REQUESTS','green.600','post','WebBrowserSingleActiveUnitService','getConfig','dispose$','BrowserCollaborationSocketService','getUniverSheetInstance','_handleJoinEvent','object','touchDependencies','runId','assignAColorForMemberID','textRanges','apply','react/jsx-runtime','YUUMI_TABLE_NOT_FOUND_IN_UNIT','result','pipe','getSheetId','_commandService','INVITE_CODE_ALREADY_BOUND','addClipboardHook','_unitStatus','UniverCollaborationClientPlugin','getActiveSheet','handleDeleteRangeMoveLeft','USERS_LEAVE','_docClipboardService','DesktopCollaborationStatusDisplayController','then','_handleHeartbeatEvent','@univerjs/engine-render','getItem','_id','onTransformChange$','skeleton','DOC_RANGE_TYPE','onLocalMutation','_memberService','_drawRectRange','top','loadOfflineData','_revisionService','includes','INTERNAL_ERROR','getUnitStatus$','_uiPartsService','UNDEFINED','_startSheetCollabCursor','onPointerLeave$','labelPosition','CollaborationController','startRow','engine','type','transformSelections','uni.network.url-service','search','_entities','_cursor','propertyIsEnumerable','origin','none','_configService','arc','_localCacheService','@univerjs/sheets','activeSheet$','_heartbeatTimer','SetWorksheetActivateCommand','_registerDependencies','_localStorageService','_anchor','source','selection','_online','defineProperty','ONLINE','VIEW_MAIN','Rect','executionId','_updateURLWithCurrentState','_docTransformSelectionsService','PENDING','runRefRangeMutations','ranges','prototype','_handleEvent','PY_RUNTIME_SCRIPT_ERROR','getStateCache','@univerjs/docs-ui','lineTo','Optional','range','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','createIdentifier','size','RECT','_setupBeforeClosingHandler','forEach','makeDirty','merge','collabStatus.conflict','jsx','event$','focused$','HEADER_MENU','handleMoveRange','CollaborationStatus','IUIPartsService','eventID','cursorInfo','InsertRowCommandId','imageSourceType','switchMap','trim','location','UniverRpc','runOnServer','replaceState','unsubscribe','_cachedData','_cursors','_getAnchorBounding','CollaborationSessionService','Tooltip','getOwnPropertyDescriptor','_config','addObject','_getSaveTimeout','_hover','transformRemoteChangeset','YUUMI_NO_CUBOID_FOR_QUESTION','_transformService','WebSocketService','get','_getMergeRange','SHEET_VIEWPORT_KEY','beginPath','url(#off-line-icon_clip0_910_343)','YUUMI_URL_COL_OUT_OF_RANGE','mergeOverrideWithDependencies','useDependency','INVALID_INVITE_CODE','Tools','_unitOnClients','_status$','session.will-retry','_initStatusComponent','_scheduleSaving','_collabCursorController','getSheetBySheetId','white','UniverProCollaboration','rxjs','_onCursorDelete','_doCreateSocket','clearInterval','RxDisposable','_initEvent','toString','isTransformMutationFailure','findNodePositionByCharIndex','clsx','onRendered'];_0x4749=function(){return _0x4865e6;};return _0x4749();}(function(_0x3bedb0,_0x21fc1d){const _0x119428=_0xc513,_0x554bf1=_0x3bedb0();while(!![]){try{const _0x469e56=parseInt(_0x119428(0x209))/0x1+-parseInt(_0x119428(0x3a4))/0x2*(parseInt(_0x119428(0x184))/0x3)+parseInt(_0x119428(0x32a))/0x4+parseInt(_0x119428(0x36f))/0x5+-parseInt(_0x119428(0x136))/0x6*(parseInt(_0x119428(0x3af))/0x7)+parseInt(_0x119428(0x190))/0x8+parseInt(_0x119428(0x1ae))/0x9*(-parseInt(_0x119428(0x398))/0xa);if(_0x469e56===_0x21fc1d)break;else _0x554bf1['push'](_0x554bf1['shift']());}catch(_0x5a51d7){_0x554bf1['push'](_0x554bf1['shift']());}}}(_0x4749,0x52e1a),function(_0x29f418,_0x1f293f){const _0x125c76=_0xc513;typeof exports==_0x125c76(0x227)&&typeof module<'u'?_0x1f293f(exports,require(_0x125c76(0x35e)),require(_0x125c76(0x156)),require(_0x125c76(0x23e)),require('@univerjs/network'),require(_0x125c76(0x279)),require(_0x125c76(0x361)),require(_0x125c76(0x2b9)),require(_0x125c76(0x1cf)),require(_0x125c76(0x386)),require(_0x125c76(0x155)),require(_0x125c76(0x261)),require(_0x125c76(0x1cc)),require('@univerjs/sheets-ui'),require(_0x125c76(0x22d)),require(_0x125c76(0x1b3)),require('@univerjs/design'),require(_0x125c76(0x165)),require('@univerjs/rpc')):typeof define==_0x125c76(0x39f)&&define[_0x125c76(0x2e3)]?define(['exports','@univerjs-pro/collaboration-client',_0x125c76(0x156),_0x125c76(0x23e),'@univerjs/network','@univerjs/docs-ui',_0x125c76(0x361),_0x125c76(0x2b9),_0x125c76(0x1cf),_0x125c76(0x386),'@univerjs/engine-formula',_0x125c76(0x261),'rxjs/operators',_0x125c76(0x310),_0x125c76(0x22d),_0x125c76(0x1b3),'@univerjs/design',_0x125c76(0x165),_0x125c76(0x39e)],_0x1f293f):(_0x29f418=typeof globalThis<'u'?globalThis:_0x29f418||self,_0x1f293f(_0x29f418[_0x125c76(0x303)]={},_0x29f418[_0x125c76(0x2fe)],_0x29f418[_0x125c76(0x33d)],_0x29f418[_0x125c76(0x1fc)],_0x29f418['UniverNetwork'],_0x29f418['UniverDocsUi'],_0x29f418[_0x125c76(0x2d4)],_0x29f418['rxjs'],_0x29f418['UniverDocs'],_0x29f418[_0x125c76(0x2b8)],_0x29f418['UniverEngineFormula'],_0x29f418[_0x125c76(0x15c)],_0x29f418[_0x125c76(0x2b9)][_0x125c76(0x218)],_0x29f418[_0x125c76(0x1d0)],_0x29f418[_0x125c76(0x342)],_0x29f418[_0x125c76(0x333)],_0x29f418[_0x125c76(0x2f4)],_0x29f418[_0x125c76(0x342)],_0x29f418[_0x125c76(0x294)]));}(this,function(_0x1364d3,_0x35d81a,_0x2b43e1,_0x4f9ef0,_0x519894,_0x15c8af,_0x44b6f9,_0x5ad77d,_0x854483,_0x4bbdfc,_0x56bea2,_0x575825,_0x3660b6,_0x562559,_0x356bea,_0x2d250c,_0xac66fe,_0x5544c5,_0x3716d4){'use strict';const _0x2e363d=_0xc513;var _0x4e67e1=Object[_0x2e363d(0x26b)],_0x1371fe=(_0x44c0d3,_0x188c57,_0x34a392)=>_0x188c57 in _0x44c0d3?_0x4e67e1(_0x44c0d3,_0x188c57,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x34a392}):_0x44c0d3[_0x188c57]=_0x34a392,_0x1b73a5=(_0x1ee6f3,_0x455272,_0x242d6e)=>_0x1371fe(_0x1ee6f3,typeof _0x455272!='symbol'?_0x455272+'':_0x455272,_0x242d6e),_0x27b18a=Object[_0x2e363d(0x29d)],_0x323db9=(_0x33719c,_0x12f893,_0xf313c8,_0x33c774)=>{const _0x17cc1a=_0x2e363d;for(var _0x1c061c=_0x33c774>0x1?void 0x0:_0x33c774?_0x27b18a(_0x12f893,_0xf313c8):_0x12f893,_0x5f3697=_0x33719c[_0x17cc1a(0x1a4)]-0x1,_0x589614;_0x5f3697>=0x0;_0x5f3697--)(_0x589614=_0x33719c[_0x5f3697])&&(_0x1c061c=_0x589614(_0x1c061c)||_0x1c061c);return _0x1c061c;},_0xcf392a=(_0x485201,_0x3df1d4)=>(_0x1ce5c4,_0x35e07a)=>_0x3df1d4(_0x1ce5c4,_0x35e07a,_0x485201);let _0x41c5dd=class extends _0x2b43e1[_0x2e363d(0x2bd)]{constructor(_0x2ac1d1,_0x2ab629){const _0x9d47f9=_0x2e363d;super(),this[_0x9d47f9(0x23a)]=_0x2ac1d1,this[_0x9d47f9(0x378)]=_0x2ab629,this[_0x9d47f9(0x151)]();}[_0x2e363d(0x151)](){const _0x4d521f=_0x2e363d,_0x3a586a=this;this[_0x4d521f(0x160)](this[_0x4d521f(0x23a)][_0x4d521f(0x234)]({'onBeforePasteImage':async _0xd257a7=>{const _0x4907cf=_0x4d521f,_0x37f3a0=await _0x3a586a['_imageIoService']['saveImage'](_0xd257a7);return _0x37f3a0?{'source':_0x37f3a0[_0x4907cf(0x268)],'imageSourceType':_0x37f3a0[_0x4907cf(0x290)]}:null;}}));}};_0x41c5dd=_0x323db9([_0xcf392a(0x0,_0x15c8af['IDocClipboardService']),_0xcf392a(0x1,_0x44b6f9[_0x2e363d(0x3a9)])],_0x41c5dd);const _0xd199bd=[_0x2e363d(0x12e),_0x2e363d(0x352),_0x2e363d(0x21f),_0x2e363d(0x3b3),_0x2e363d(0x20f),_0x2e363d(0x30a)];class _0x5daa50 extends _0x2b43e1[_0x2e363d(0x396)]{constructor(){super(...arguments),_0x1b73a5(this,'_assignedColors',new Map()),_0x1b73a5(this,'_colorIndex',0x0);}[_0x2e363d(0x22a)](_0x356ceb){const _0x400ede=_0x2e363d;if(this['_assignedColors'][_0x400ede(0x149)](_0x356ceb))return this[_0x400ede(0x1c8)]['get'](_0x356ceb);const _0x30fbb8=_0xd199bd[this['_colorIndex']];return this[_0x400ede(0x1a0)]=(this[_0x400ede(0x1a0)]+0x1)%_0xd199bd[_0x400ede(0x1a4)],this[_0x400ede(0x1c8)][_0x400ede(0x2f1)](_0x356ceb,_0x30fbb8),_0x30fbb8;}}function _0xf16511(_0x44fbfe){const _0x251ae2=_0x2e363d;let _0x5c83a9='';for(const _0x493f7c of _0x44fbfe){const {startOffset:_0x157efb,endOffset:_0x5683b9,isActive:_0x12c492,rangeType:_0x5bc9a4,segmentId:_0x1677ab,segmentPage:_0x220b0b}=_0x493f7c;_0x5c83a9[_0x251ae2(0x1a4)]&&(_0x5c83a9+=','),_0x5c83a9+=_0x157efb+':'+_0x5683b9+':'+(_0x12c492?'1':'0')+':'+_0x5bc9a4+':'+_0x1677ab+':'+_0x220b0b;}return _0x5c83a9;}function _0x214e4d(_0x178633){const _0x2832fe=_0x2e363d,_0x4fa487=_0x178633[_0x2832fe(0x302)](','),_0x4592fc=[];for(const _0x20cc44 of _0x4fa487){const [_0x281370,_0x11b66f,_0x54a148,_0x2fed48,_0x4a596f,_0x4c2fea]=_0x20cc44[_0x2832fe(0x302)](':');_0x4592fc[_0x2832fe(0x20a)]({'startOffset':Number(_0x281370),'endOffset':Number(_0x11b66f),'collapsed':_0x281370===_0x11b66f,'isActive':_0x54a148==='1','rangeType':_0x2fed48===_0x2b43e1[_0x2832fe(0x243)]['TEXT']?_0x2b43e1['DOC_RANGE_TYPE']['TEXT']:_0x2b43e1['DOC_RANGE_TYPE'][_0x2832fe(0x280)],'segmentId':typeof _0x4a596f==_0x2832fe(0x16d)?String(_0x4a596f):'','segmentPage':Number(_0x4c2fea!=null?_0x4c2fea:-0x1)});}return _0x4592fc['some'](_0x56c747=>_0x56c747[_0x2832fe(0x31f)])||(_0x4592fc[0x0]['isActive']=!0x0),_0x4592fc;}class _0x5eda65 extends _0x2b43e1[_0x2e363d(0x2bd)]{constructor(){const _0x3bccc3=_0x2e363d;super(...arguments),_0x1b73a5(this,_0x3bccc3(0x2e8),new _0x5ad77d[(_0x3bccc3(0x146))](null)),_0x1b73a5(this,_0x3bccc3(0x1e0),this['_collabCursorState$'][_0x3bccc3(0x3b0)]());}[_0x2e363d(0x33c)](_0x5487d1){const _0xe0f37e=_0x2e363d,{unitID:_0x240282,memberID:_0x1840aa,textRanges:_0x58f4ee}=_0x5487d1,_0x4476a9=_0xf16511(_0x58f4ee);if(_0x4476a9==='')return;const _0x5a034f={'unitID':_0x240282,'memberID':_0x1840aa,'selection':_0x4476a9};this[_0xe0f37e(0x2e8)]['next'](_0x5a034f);}}var _0x2533e8=Object['getOwnPropertyDescriptor'],_0x7f5cbc=(_0x564b2b,_0x1e7ca2,_0x5bf062,_0x170829)=>{const _0x597ffc=_0x2e363d;for(var _0x49cd97=_0x170829>0x1?void 0x0:_0x170829?_0x2533e8(_0x1e7ca2,_0x5bf062):_0x1e7ca2,_0x56728f=_0x564b2b[_0x597ffc(0x1a4)]-0x1,_0x58a824;_0x56728f>=0x0;_0x56728f--)(_0x58a824=_0x564b2b[_0x56728f])&&(_0x49cd97=_0x58a824(_0x49cd97)||_0x49cd97);return _0x49cd97;},_0x5e7054=(_0x2dfee7,_0xd14701)=>(_0x15debb,_0x5cd975)=>_0xd14701(_0x15debb,_0x5cd975,_0x2dfee7);const _0x199ee1=0x12c,_0x19dd5f=0x64;let _0x490396=class extends _0x2b43e1[_0x2e363d(0x2bd)]{constructor(_0xd6b79a,_0x1534b2,_0x23e832,_0x47b510,_0x573d03,_0x3d6790,_0x53c0d4,_0x4b4d1c,_0x8bdece){const _0x4a3c3b=_0x2e363d;super(),_0x1b73a5(this,_0x4a3c3b(0x26a),!0x1),_0x1b73a5(this,_0x4a3c3b(0x151),!0x1),_0x1b73a5(this,_0x4a3c3b(0x2e2),new _0x5ad77d['BehaviorSubject'](new Map())),_0x1b73a5(this,_0x4a3c3b(0x12a),this['_cursorInfo$'][_0x4a3c3b(0x3b0)]()),_0x1b73a5(this,_0x4a3c3b(0x21a),new _0x5ad77d[(_0x4a3c3b(0x146))]([])),_0x1b73a5(this,_0x4a3c3b(0x2fd),this[_0x4a3c3b(0x21a)][_0x4a3c3b(0x230)](_0x5ad77d[_0x4a3c3b(0x14e)](_0x199ee1))),_0x1b73a5(this,_0x4a3c3b(0x1ec),_0x2b43e1[_0x4a3c3b(0x379)](_0x1be959=>{const _0x55527=_0x4a3c3b,_0x24b25c={'eventID':_0x4bbdfc[_0x55527(0x3ae)][_0x55527(0x2ca)],'data':{'unitID':this['unitID'],'memberID':this[_0x55527(0x314)][_0x55527(0x1ff)](),'selection':_0xf16511(_0x1be959)}};this[_0x55527(0x314)][_0x55527(0x31d)](_0x24b25c,this[_0x55527(0x1bb)]);},_0x19dd5f)),(this[_0x4a3c3b(0x1bb)]=_0xd6b79a,this[_0x4a3c3b(0x314)]=_0x1534b2,this[_0x4a3c3b(0x121)]=_0x23e832,this['_colorAssignService']=_0x47b510,this[_0x4a3c3b(0x245)]=_0x573d03,this[_0x4a3c3b(0x1f0)]=_0x3d6790,this['_transformService']=_0x53c0d4,this[_0x4a3c3b(0x1c6)]=_0x4b4d1c,this[_0x4a3c3b(0x232)]=_0x8bdece);}get['cursorInfo'](){const _0x404d7d=_0x2e363d;return this[_0x404d7d(0x2e2)][_0x404d7d(0x384)]();}get[_0x2e363d(0x375)](){const _0x21d2be=_0x2e363d;return this[_0x21d2be(0x21a)][_0x21d2be(0x384)]();}[_0x2e363d(0x1ad)](){const _0x14f2d7=_0x2e363d;super[_0x14f2d7(0x1ad)](),this['_cursorInfo$'][_0x14f2d7(0x320)](new Map()),this[_0x14f2d7(0x2e2)][_0x14f2d7(0x321)](),this[_0x14f2d7(0x21a)][_0x14f2d7(0x320)]([]),this[_0x14f2d7(0x21a)][_0x14f2d7(0x321)]();}[_0x2e363d(0x1f5)](){const _0x4bafa7=_0x2e363d;this[_0x4bafa7(0x151)]||(this['_init']=!0x0,this[_0x4bafa7(0x314)]['sessionStatus$'][_0x4bafa7(0x230)](_0x5ad77d[_0x4bafa7(0x383)](this[_0x4bafa7(0x223)]))[_0x4bafa7(0x2d3)](_0x57c7ef=>{const _0x319b94=_0x4bafa7;_0x57c7ef===_0x35d81a[_0x319b94(0x1ee)][_0x319b94(0x26c)]?this[_0x319b94(0x189)]():this[_0x319b94(0x195)]();}),this[_0x4bafa7(0x314)][_0x4bafa7(0x287)][_0x4bafa7(0x230)](_0x5ad77d[_0x4bafa7(0x383)](this['dispose$']))['subscribe'](_0x208f42=>{const _0x451f31=_0x4bafa7,_0x114609=_0x208f42[_0x451f31(0x28d)];_0x114609===_0x4bbdfc['CollaborationEvent'][_0x451f31(0x2ca)]&&this['_onCursorUpdate'](_0x208f42),_0x114609===_0x4bbdfc[_0x451f31(0x3ae)][_0x451f31(0x239)]&&this[_0x451f31(0x2ba)](_0x208f42);}),this['disposeWithMe'](this[_0x4bafa7(0x232)][_0x4bafa7(0x34e)](_0x4391d6=>{const _0x5b7a52=_0x4bafa7,_0x332346=_0x4391d6[_0x5b7a52(0x387)];_0x332346!=null&&this[_0x5b7a52(0x26a)]&&_0x4391d6['id']===_0x854483['SetTextSelectionsOperation']['id']&&_0x332346[_0x5b7a52(0x32f)]===this[_0x5b7a52(0x1bb)]&&_0x332346[_0x5b7a52(0x3a7)]===!0x1&&_0x332346[_0x5b7a52(0x274)][_0x5b7a52(0x1a4)]>0x0&&this['_updateLocalCursor'](_0x332346[_0x5b7a52(0x274)]);})),this[_0x4bafa7(0x1f0)][_0x4bafa7(0x1e0)]['pipe'](_0x5ad77d[_0x4bafa7(0x383)](this[_0x4bafa7(0x223)]))[_0x4bafa7(0x2d3)](_0xc9d1f6=>{const _0x3cc263=_0x4bafa7;if((_0xc9d1f6==null?void 0x0:_0xc9d1f6[_0x3cc263(0x1bb)])!==this[_0x3cc263(0x1bb)])return;const _0x49cf21={'eventID':_0x4bbdfc[_0x3cc263(0x3ae)][_0x3cc263(0x2ca)],'data':_0xc9d1f6};this[_0x3cc263(0x36a)](_0x49cf21);}),this['disposeWithMe'](this[_0x4bafa7(0x232)]['onCommandExecuted'](_0x384b13=>{const _0xb20d3a=_0x4bafa7;if(_0x384b13[_0xb20d3a(0x387)]==null)return;const _0x5549be=_0x384b13[_0xb20d3a(0x387)];if(_0x384b13['id']!==_0x854483[_0xb20d3a(0x2f2)]['id']||_0x5549be[_0xb20d3a(0x32f)]!==this[_0xb20d3a(0x1bb)])return;const _0x3067d8={'id':_0xb20d3a(0x145),'params':_0x5549be},_0x2168b8=this[_0xb20d3a(0x28e)];for(const [_0x4176c8,_0x434d78]of _0x2168b8){const _0x2ccab1={'id':_0xb20d3a(0x145),'params':{'unitId':this[_0xb20d3a(0x1bb)],'actions':null,'textRanges':_0x434d78[_0xb20d3a(0x274)]}},_0x3d727a=this['_transformService'][_0xb20d3a(0x175)](_0x3067d8,_0x2ccab1,!0x1);if(_0x4bbdfc[_0xb20d3a(0x2c0)](_0x3d727a))throw _0x3d727a[_0xb20d3a(0x139)];_0x2168b8['set'](_0x4176c8,{..._0x434d78,'ranges':_0x3d727a[_0xb20d3a(0x34c)]['params'][_0xb20d3a(0x22b)]});}queueMicrotask(()=>{const _0x25dcdb=_0xb20d3a;this[_0x25dcdb(0x2e2)]['next'](_0x2168b8);});})));}['_onCursorUpdate'](_0x3140cb){const _0x2253a4=_0x2e363d;var _0x59fd6b,_0x2230d9;const {memberID:_0x5f86f2,selection:_0x59fa42}=_0x3140cb[_0x2253a4(0x1b4)],_0x3b5fb3=_0x214e4d(_0x59fa42),_0xb2f89f=(_0x2230d9=(_0x59fd6b=this['_memberService']['getMember'](this[_0x2253a4(0x1bb)],_0x5f86f2))==null?void 0x0:_0x59fd6b[_0x2253a4(0x315)])!=null?_0x2230d9:_0x2253a4(0x2ce),_0x29d36c={'color':this[_0x2253a4(0x316)][_0x2253a4(0x22a)](_0x5f86f2),'name':_0xb2f89f,'ranges':_0x3b5fb3},_0x42c146=this[_0x2253a4(0x28e)];_0x42c146['set'](_0x5f86f2,_0x29d36c),this[_0x2253a4(0x2e2)][_0x2253a4(0x320)](_0x42c146);}[_0x2e363d(0x2ba)](_0x3193f0){const _0x1501ab=_0x2e363d,{memberID:_0x14de63}=_0x3193f0[_0x1501ab(0x1b4)],_0x320202=this[_0x1501ab(0x28e)];_0x320202[_0x1501ab(0x360)](_0x14de63),this[_0x1501ab(0x2e2)][_0x1501ab(0x320)](_0x320202);}[_0x2e363d(0x189)](){const _0x2375ad=_0x2e363d;var _0xe02e86;if(this[_0x2375ad(0x26a)]=!0x0,((_0xe02e86=this[_0x2375ad(0x1c6)][_0x2375ad(0x33a)]())==null?void 0x0:_0xe02e86[_0x2375ad(0x331)]())!==this['unitID'])return;const _0x5b7b55=this[_0x2375ad(0x121)][_0x2375ad(0x2a6)](_0x854483[_0x2375ad(0x1a8)])['getDocRanges']();Array['isArray'](_0x5b7b55)&&_0x5b7b55[_0x2375ad(0x1a4)]>0x0&&this[_0x2375ad(0x1ec)](_0x5b7b55);}[_0x2e363d(0x195)](){const _0xde9d0f=_0x2e363d;this[_0xde9d0f(0x26a)]=!0x1;}};_0x490396=_0x7f5cbc([_0x5e7054(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1[_0x2e363d(0x392)])),_0x5e7054(0x3,_0x2b43e1[_0x2e363d(0x1f3)](_0x5daa50)),_0x5e7054(0x4,_0x2b43e1[_0x2e363d(0x1f3)](_0x35d81a[_0x2e363d(0x19c)])),_0x5e7054(0x5,_0x2b43e1['Inject'](_0x5eda65)),_0x5e7054(0x6,_0x4bbdfc['ITransformService']),_0x5e7054(0x7,_0x2b43e1[_0x2e363d(0x20d)]),_0x5e7054(0x8,_0x2b43e1[_0x2e363d(0x205)])],_0x490396);var _0x1167fe=Object['getOwnPropertyDescriptor'],_0x460e73=(_0x5718e7,_0xfc86d3,_0x1a1ddb,_0x70da8e)=>{for(var _0x4fe304=_0x70da8e>0x1?void 0x0:_0x70da8e?_0x1167fe(_0xfc86d3,_0x1a1ddb):_0xfc86d3,_0x11c6ae=_0x5718e7['length']-0x1,_0x372913;_0x11c6ae>=0x0;_0x11c6ae--)(_0x372913=_0x5718e7[_0x11c6ae])&&(_0x4fe304=_0x372913(_0x4fe304)||_0x4fe304);return _0x4fe304;},_0x3dc5f8=(_0xa20470,_0x540306)=>(_0x194ce7,_0x25513a)=>_0x540306(_0x194ce7,_0x25513a,_0xa20470);const _0x4e3c86=0x12c,_0x1b4f1b=0x64,_0x9ec85d=()=>{let _0x1daeba=[],_0x524697=!0x1;return _0xd78fb9=>{const _0x1bd6dc=_0xc513;_0x1daeba[_0x1bd6dc(0x20a)](_0xd78fb9),_0x524697||(_0x524697=!0x0,setTimeout(()=>{const _0x29f152=_0x1bd6dc;_0x1daeba[_0x29f152(0x282)](_0x37111e=>_0x37111e()),_0x1daeba=[],_0x524697=!0x1;}));};};let _0x2d0b44=class extends _0x2b43e1['RxDisposable']{constructor(_0x2a75c7,_0x1fec3e,_0x2ca818,_0x58531c,_0x3caf3d,_0x12f2fe,_0x18f477,_0x2634da){const _0x5c0ed5=_0x2e363d;super(),_0x1b73a5(this,'_online',!0x1),_0x1b73a5(this,_0x5c0ed5(0x151),!0x1),_0x1b73a5(this,_0x5c0ed5(0x2e2),new _0x5ad77d['BehaviorSubject'](new Map())),_0x1b73a5(this,_0x5c0ed5(0x12a),this['_cursorInfo$'][_0x5c0ed5(0x3b0)]()),_0x1b73a5(this,_0x5c0ed5(0x21a),new _0x5ad77d['BehaviorSubject']([])),_0x1b73a5(this,_0x5c0ed5(0x2fd),this['_roomMembers$']['pipe'](_0x5ad77d['debounceTime'](_0x4e3c86))),_0x1b73a5(this,'_updateLocalCursor',_0x2b43e1[_0x5c0ed5(0x379)]((_0x3c0d7d,_0xbbab02)=>{const _0xe3f27a=_0x5c0ed5,_0x1142ad={'eventID':_0x4bbdfc[_0xe3f27a(0x3ae)][_0xe3f27a(0x2ca)],'data':{'unitID':this[_0xe3f27a(0x1bb)],'memberID':this[_0xe3f27a(0x314)][_0xe3f27a(0x1ff)](),'selection':_0x56bea2[_0xe3f27a(0x132)](_0x3c0d7d,_0xbbab02[_0xe3f27a(0x27c)])}};this[_0xe3f27a(0x314)][_0xe3f27a(0x31d)](_0x1142ad,this['unitID']);},_0x1b4f1b)),(this[_0x5c0ed5(0x1bb)]=_0x2a75c7,this[_0x5c0ed5(0x314)]=_0x1fec3e,this[_0x5c0ed5(0x121)]=_0x2ca818,this['_colorAssignService']=_0x58531c,this[_0x5c0ed5(0x245)]=_0x3caf3d,this['_univerInstanceService']=_0x12f2fe,this[_0x5c0ed5(0x232)]=_0x18f477,this['_refRangeService']=_0x2634da);}get[_0x2e363d(0x28e)](){const _0x18d841=_0x2e363d;return this[_0x18d841(0x2e2)][_0x18d841(0x384)]();}get[_0x2e363d(0x375)](){const _0x311318=_0x2e363d;return this['_roomMembers$'][_0x311318(0x384)]();}[_0x2e363d(0x1ad)](){const _0x21e0ab=_0x2e363d;super[_0x21e0ab(0x1ad)](),this[_0x21e0ab(0x2e2)][_0x21e0ab(0x320)](new Map()),this[_0x21e0ab(0x2e2)]['complete'](),this[_0x21e0ab(0x21a)]['next']([]),this[_0x21e0ab(0x21a)][_0x21e0ab(0x321)]();}['init'](){const _0x3cceb9=_0x2e363d;this[_0x3cceb9(0x151)]||(this[_0x3cceb9(0x151)]=!0x0,this[_0x3cceb9(0x314)]['sessionStatus$'][_0x3cceb9(0x230)](_0x5ad77d[_0x3cceb9(0x383)](this['dispose$']))[_0x3cceb9(0x2d3)](_0x55d70d=>{const _0x4c502f=_0x3cceb9;_0x55d70d===_0x35d81a[_0x4c502f(0x1ee)]['ONLINE']?this[_0x4c502f(0x189)]():this[_0x4c502f(0x195)]();}),this[_0x3cceb9(0x314)][_0x3cceb9(0x287)][_0x3cceb9(0x230)](_0x5ad77d[_0x3cceb9(0x383)](this[_0x3cceb9(0x223)]))[_0x3cceb9(0x2d3)](_0x2f0831=>{const _0x2d641d=_0x3cceb9,_0x1c1ece=_0x2f0831[_0x2d641d(0x28d)];_0x1c1ece===_0x4bbdfc['CollaborationEvent'][_0x2d641d(0x2ca)]&&this[_0x2d641d(0x36a)](_0x2f0831),_0x1c1ece===_0x4bbdfc[_0x2d641d(0x3ae)][_0x2d641d(0x239)]&&this[_0x2d641d(0x2ba)](_0x2f0831);}),this[_0x3cceb9(0x367)](),this[_0x3cceb9(0x160)](this['_commandService'][_0x3cceb9(0x34e)](_0x21f354=>{const _0x5a8bab=_0x3cceb9;if(this[_0x5a8bab(0x26a)]&&_0x21f354['id']===_0x575825[_0x5a8bab(0x353)]['id']&&_0x21f354[_0x5a8bab(0x387)][_0x5a8bab(0x32f)]===this[_0x5a8bab(0x1bb)]){const _0x32359e=_0x21f354[_0x5a8bab(0x387)];this[_0x5a8bab(0x1ec)](_0x32359e[_0x5a8bab(0x2e7)],_0x32359e[_0x5a8bab(0x214)][0x0]);}})));}[_0x2e363d(0x36a)](_0x257ede){const _0x400937=_0x2e363d;var _0x74be1c,_0x1aec55;const {memberID:_0x1b7ea7,selection:_0x237f0c}=_0x257ede[_0x400937(0x1b4)],{sheetName:_0x55378c,range:_0x2eac24}=_0x56bea2[_0x400937(0x38b)](_0x237f0c),_0x5eee0b={'name':(_0x1aec55=(_0x74be1c=this[_0x400937(0x245)][_0x400937(0x3ab)](this['unitID'],_0x1b7ea7))==null?void 0x0:_0x74be1c[_0x400937(0x315)])!=null?_0x1aec55:_0x400937(0x2ce),'range':this[_0x400937(0x2a7)](_0x55378c,_0x2eac24),'sheetID':_0x55378c,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x1b7ea7),'selection':_0x237f0c},_0x15cd9b=this['cursorInfo'];_0x15cd9b[_0x400937(0x2f1)](_0x1b7ea7,_0x5eee0b),this[_0x400937(0x2e2)][_0x400937(0x320)](_0x15cd9b);}[_0x2e363d(0x2ba)](_0x567695){const _0x424023=_0x2e363d,{memberID:_0x41dd0d}=_0x567695[_0x424023(0x1b4)],_0x4cc677=this[_0x424023(0x28e)];_0x4cc677[_0x424023(0x360)](_0x41dd0d),this[_0x424023(0x2e2)]['next'](_0x4cc677);}[_0x2e363d(0x2a7)](_0xf077a,_0x50e6bf){const _0x5ca47b=_0x2e363d;var _0x35c2e2,_0x592c02;const _0x2f2b98=(_0x592c02=(_0x35c2e2=this[_0x5ca47b(0x1c6)][_0x5ca47b(0x225)](this[_0x5ca47b(0x1bb)]))==null?void 0x0:_0x35c2e2[_0x5ca47b(0x2b6)](_0xf077a))==null?void 0x0:_0x592c02[_0x5ca47b(0x128)]();return(_0x2f2b98==null?void 0x0:_0x2f2b98[_0x5ca47b(0x34f)](_0x4ee602=>_0x2b43e1[_0x5ca47b(0x11f)][_0x5ca47b(0x1bc)](_0x4ee602,_0x50e6bf)))||_0x50e6bf;}['_onRefRangeChange'](){const _0x1d5494=_0x2e363d,_0x3075d5=new _0x2b43e1[(_0x1d5494(0x354))](),_0x51fab9=_0x9ec85d(),_0x482cde=()=>{const _0x1b84dd=_0x1d5494;_0x3075d5[_0x1b84dd(0x1ad)]();const _0x97b13f=(_0x20ac01,_0xb94916,_0x2efbfa,_0x5a999a)=>{const _0x3d3b6b=_0x1b84dd;let _0x37d253=[];switch(_0x20ac01['id']){case _0x575825[_0x3d3b6b(0x3b1)][_0x3d3b6b(0x30d)]:{_0x37d253=_0x575825[_0x3d3b6b(0x238)](_0x20ac01,_0x5a999a);break;}case _0x575825[_0x3d3b6b(0x3b1)][_0x3d3b6b(0x38c)]:{_0x37d253=_0x575825[_0x3d3b6b(0x185)](_0x20ac01,_0x5a999a);break;}case _0x575825[_0x3d3b6b(0x3b1)]['InsertColCommandId']:{_0x37d253=_0x575825[_0x3d3b6b(0x37c)](_0x20ac01,_0x5a999a);break;}case _0x575825[_0x3d3b6b(0x3b1)][_0x3d3b6b(0x30c)]:{_0x37d253=_0x575825[_0x3d3b6b(0x2e0)](_0x20ac01,_0x5a999a);break;}case _0x575825['EffectRefRangId'][_0x3d3b6b(0x332)]:{_0x37d253=_0x575825[_0x3d3b6b(0x18e)](_0x20ac01,_0x5a999a);break;}case _0x575825[_0x3d3b6b(0x3b1)][_0x3d3b6b(0x28f)]:{_0x37d253=_0x575825['handleInsertRow'](_0x20ac01,_0x5a999a);break;}case _0x575825[_0x3d3b6b(0x3b1)][_0x3d3b6b(0x1c0)]:{_0x37d253=_0x575825[_0x3d3b6b(0x28a)](_0x20ac01,_0x5a999a);break;}case _0x575825['EffectRefRangId']['RemoveColCommandId']:{_0x37d253=_0x575825[_0x3d3b6b(0x141)](_0x20ac01,_0x5a999a);break;}case _0x575825[_0x3d3b6b(0x3b1)][_0x3d3b6b(0x368)]:{_0x37d253=_0x575825[_0x3d3b6b(0x341)](_0x20ac01,_0x5a999a);break;}}const _0x8cea33=_0x575825[_0x3d3b6b(0x273)](_0x37d253,_0x5a999a),_0x1af9ad=this[_0x3d3b6b(0x28e)]['get'](_0xb94916);if(_0x1af9ad&&_0x8cea33){const _0x484e4d={..._0x1af9ad,'range':_0x8cea33};this[_0x3d3b6b(0x28e)][_0x3d3b6b(0x2f1)](_0xb94916,_0x484e4d),_0x51fab9(()=>{const _0x14ea2e=_0x3d3b6b,_0x574c07=this['_refRangeService'][_0x14ea2e(0x2f8)](_0x8cea33,_0x49046b=>(_0x574c07[_0x14ea2e(0x1ad)](),_0x97b13f(_0x49046b,_0xb94916,_0x2efbfa,_0x8cea33)));_0x3075d5[_0x14ea2e(0x16c)](_0x574c07);});}return{'redos':[],'undos':[]};};this[_0x1b84dd(0x28e)]['forEach']((_0x1f22df,_0x118d19)=>{const _0x753c34=_0x1b84dd,{range:_0x1145a7,sheetID:_0xf18bd6}=_0x1f22df,_0x5376b0=this[_0x753c34(0x36e)][_0x753c34(0x2f8)](_0x1145a7,_0xda90d2=>(_0x5376b0[_0x753c34(0x1ad)](),_0x97b13f(_0xda90d2,_0x118d19,_0xf18bd6,_0x1145a7)));_0x3075d5['add'](_0x5376b0);});};this[_0x1d5494(0x160)](_0x2b43e1[_0x1d5494(0x1d6)](this[_0x1d5494(0x2e2)][_0x1d5494(0x2d3)](()=>{_0x482cde();})));}[_0x2e363d(0x189)](){const _0x5c06c1=_0x2e363d;var _0x44420e,_0x360704;if(this[_0x5c06c1(0x26a)]=!0x0,((_0x44420e=this[_0x5c06c1(0x1c6)][_0x5c06c1(0x33a)]())==null?void 0x0:_0x44420e[_0x5c06c1(0x331)]())!==this[_0x5c06c1(0x1bb)])return;const _0x1c530c=(_0x360704=this[_0x5c06c1(0x121)][_0x5c06c1(0x2a6)](_0x575825[_0x5c06c1(0x21d)])[_0x5c06c1(0x1b1)]())==null?void 0x0:_0x360704[0x0],_0x3e309a=this[_0x5c06c1(0x1c6)][_0x5c06c1(0x203)](_0x2b43e1[_0x5c06c1(0x322)][_0x5c06c1(0x138)])['getActiveSheet']();_0x1c530c&&_0x3e309a&&this[_0x5c06c1(0x1ec)](_0x3e309a[_0x5c06c1(0x231)](),_0x1c530c);}[_0x2e363d(0x195)](){const _0x23dd72=_0x2e363d;this[_0x23dd72(0x26a)]=!0x1;}};_0x2d0b44=_0x460e73([_0x3dc5f8(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1[_0x2e363d(0x392)])),_0x3dc5f8(0x3,_0x2b43e1[_0x2e363d(0x1f3)](_0x5daa50)),_0x3dc5f8(0x4,_0x2b43e1[_0x2e363d(0x1f3)](_0x35d81a[_0x2e363d(0x19c)])),_0x3dc5f8(0x5,_0x2b43e1[_0x2e363d(0x20d)]),_0x3dc5f8(0x6,_0x2b43e1[_0x2e363d(0x205)]),_0x3dc5f8(0x7,_0x2b43e1['Inject'](_0x575825[_0x2e363d(0x32c)]))],_0x2d0b44);var _0x4cad61=Object[_0x2e363d(0x29d)],_0x5acd0a=(_0x48a38a,_0x57665b,_0x18024d,_0x2421a2)=>{const _0x1b711d=_0x2e363d;for(var _0x2f490c=_0x2421a2>0x1?void 0x0:_0x2421a2?_0x4cad61(_0x57665b,_0x18024d):_0x57665b,_0x520d3b=_0x48a38a[_0x1b711d(0x1a4)]-0x1,_0x785e3a;_0x520d3b>=0x0;_0x520d3b--)(_0x785e3a=_0x48a38a[_0x520d3b])&&(_0x2f490c=_0x785e3a(_0x2f490c)||_0x2f490c);return _0x2f490c;},_0x5e1288=(_0x2428c6,_0x185ea8)=>(_0x4d7a57,_0x9085b)=>_0x185ea8(_0x4d7a57,_0x9085b,_0x2428c6);let _0x5a14bf=class extends _0x2b43e1[_0x2e363d(0x2bd)]{constructor(_0x47ab91,_0x2c6f43,_0x4adb88){const _0x3cc129=_0x2e363d;super(),_0x1b73a5(this,_0x3cc129(0x259),new Map()),_0x1b73a5(this,_0x3cc129(0x1d2),new _0x5ad77d[(_0x3cc129(0x33e))]()),(this[_0x3cc129(0x1c6)]=_0x47ab91,this[_0x3cc129(0x121)]=_0x2c6f43,this[_0x3cc129(0x150)]=_0x4adb88,this['_init']());}[_0x2e363d(0x1ad)](){const _0x58e58b=_0x2e363d;super['dispose'](),this[_0x58e58b(0x1d2)][_0x58e58b(0x321)](),this['_entities'][_0x58e58b(0x282)](_0x2a690e=>_0x2a690e[_0x58e58b(0x1ad)]());}[_0x2e363d(0x2ff)](_0x13962f){const _0x8428f8=_0x2e363d;return this[_0x8428f8(0x259)][_0x8428f8(0x149)](_0x13962f)?this[_0x8428f8(0x259)][_0x8428f8(0x2a6)](_0x13962f)[_0x8428f8(0x12a)]:this[_0x8428f8(0x1d2)][_0x8428f8(0x230)](_0x5ad77d[_0x8428f8(0x1e9)](_0x572ae5=>_0x572ae5[_0x8428f8(0x1bb)]===_0x13962f),_0x5ad77d['switchMap'](_0x1ff9eb=>_0x1ff9eb['cursorInfo$']));}[_0x2e363d(0x151)](){const _0x5c6027=_0x2e363d;this[_0x5c6027(0x1c6)]['getTypeOfUnitAdded$'](_0x2b43e1[_0x5c6027(0x322)][_0x5c6027(0x138)])['pipe'](_0x5ad77d[_0x5c6027(0x383)](this[_0x5c6027(0x223)]))[_0x5c6027(0x2d3)](async _0x47223d=>{const _0x269b6f=_0x5c6027,_0xffb748=_0x47223d[_0x269b6f(0x331)](),_0x220c7c=await this[_0x269b6f(0x24f)](_0xffb748);this[_0x269b6f(0x1d2)]['next'](_0x220c7c),this[_0x269b6f(0x259)][_0x269b6f(0x2f1)](_0xffb748,_0x220c7c);}),this[_0x5c6027(0x1c6)][_0x5c6027(0x1a6)](_0x2b43e1['UniverInstanceType'][_0x5c6027(0x1bd)])[_0x5c6027(0x230)](_0x5ad77d[_0x5c6027(0x383)](this['dispose$']))[_0x5c6027(0x230)](_0x5ad77d[_0x5c6027(0x1e9)](_0x21cbb8=>!_0x21cbb8['getUnitId']()[_0x5c6027(0x2f3)]('__')))[_0x5c6027(0x2d3)](async _0x185da1=>{const _0x1fafe8=_0x5c6027,_0x4dc626=_0x185da1[_0x1fafe8(0x331)](),_0x36bb90=await this[_0x1fafe8(0x364)](_0x4dc626);this[_0x1fafe8(0x1d2)]['next'](_0x36bb90),this[_0x1fafe8(0x259)][_0x1fafe8(0x2f1)](_0x4dc626,_0x36bb90);}),_0x5ad77d[_0x5c6027(0x284)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x2b43e1['UniverInstanceType']['UNIVER_DOC']),this[_0x5c6027(0x1c6)]['getTypeOfUnitDisposed$'](_0x2b43e1[_0x5c6027(0x322)][_0x5c6027(0x138)]))[_0x5c6027(0x230)](_0x5ad77d[_0x5c6027(0x383)](this[_0x5c6027(0x223)]))[_0x5c6027(0x2d3)](_0xf229aa=>{const _0x1f8305=_0x5c6027,_0x461340=_0xf229aa['getUnitId'](),_0x30078d=this[_0x1f8305(0x259)][_0x1f8305(0x2a6)](_0x461340);_0x30078d&&(_0x30078d['dispose'](),this[_0x1f8305(0x259)][_0x1f8305(0x360)](_0x461340));});}async[_0x2e363d(0x24f)](_0x276a1c){const _0x1f09e3=_0x2e363d,_0x3ee97c=await this[_0x1f09e3(0x150)]['requireSession'](_0x276a1c),_0x1448cf=this[_0x1f09e3(0x121)][_0x1f09e3(0x395)](_0x2d0b44,_0x276a1c,_0x3ee97c);return _0x1448cf[_0x1f09e3(0x1f5)](),_0x1448cf;}async['_startDocCollabCursor'](_0x5c5bf3){const _0x1dd44d=_0x2e363d,_0x27b1ee=await this['_collabSessionService'][_0x1dd44d(0x3a8)](_0x5c5bf3),_0x2489f4=this[_0x1dd44d(0x121)]['createInstance'](_0x490396,_0x5c5bf3,_0x27b1ee);return _0x2489f4[_0x1dd44d(0x1f5)](),_0x2489f4;}};_0x5a14bf=_0x5acd0a([_0x5e1288(0x0,_0x2b43e1['IUniverInstanceService']),_0x5e1288(0x1,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1[_0x2e363d(0x392)])),_0x5e1288(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x35d81a[_0x2e363d(0x29b)]))],_0x5a14bf);const _0x50df79=0x14,_0xd7a649=0xc8,_0x40af53=0x4,_0x10d041=0x5;function _0x221761(_0x3b7576,_0x5c4bb5){const _0x1aef22=_0x2e363d;let {radius:_0x3867b2,width:_0x3904a2,height:_0x3d6e66}=_0x5c4bb5;_0x3867b2=_0x3867b2!=null?_0x3867b2:0x0,_0x3904a2=_0x3904a2!=null?_0x3904a2:0x1e,_0x3d6e66=_0x3d6e66!=null?_0x3d6e66:0x1e;let _0x4c32b6=0x0,_0xfb8b2b=0x0,_0x1b51a8=0x0;_0x4c32b6=_0xfb8b2b=_0x1b51a8=Math[_0x1aef22(0x194)](_0x3867b2,_0x3904a2/0x2,_0x3d6e66/0x2),_0x3b7576[_0x1aef22(0x2a9)](),_0x3b7576['moveTo'](_0x4c32b6,0x0),_0x3b7576['lineTo'](_0x3904a2-_0xfb8b2b,0x0),_0x3b7576[_0x1aef22(0x25f)](_0x3904a2-_0xfb8b2b,_0xfb8b2b,_0xfb8b2b,Math['PI']*0x3/0x2,0x0,!0x1),_0x3b7576['lineTo'](_0x3904a2,_0x3d6e66-_0x1b51a8),_0x3b7576['arc'](_0x3904a2-_0x1b51a8,_0x3d6e66-_0x1b51a8,_0x1b51a8,0x0,Math['PI']/0x2,!0x1),_0x3b7576[_0x1aef22(0x27a)](0x0,_0x3d6e66),_0x3b7576[_0x1aef22(0x27a)](0x0,_0x4c32b6),_0x3b7576[_0x1aef22(0x25f)](_0x4c32b6,_0x4c32b6,_0x4c32b6,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3b7576[_0x1aef22(0x1fd)](),_0x5c4bb5[_0x1aef22(0x37a)]&&(_0x3b7576[_0x1aef22(0x1ca)](),_0x3b7576[_0x1aef22(0x3ac)]=_0x5c4bb5[_0x1aef22(0x37a)],_0x5c4bb5['fillRule']===_0x1aef22(0x3b2)?_0x3b7576[_0x1aef22(0x37a)](_0x1aef22(0x3b2)):_0x3b7576[_0x1aef22(0x37a)](),_0x3b7576[_0x1aef22(0x2cf)]());}class _0x547561 extends _0x4f9ef0[_0x2e363d(0x20c)]{constructor(_0x1e36ac,_0x19db4f){const _0x4bbb3b=_0x2e363d;super(_0x1e36ac,_0x19db4f),_0x1b73a5(this,_0x4bbb3b(0x2d0)),_0x1b73a5(this,_0x4bbb3b(0x118)),(this['color']=_0x19db4f==null?void 0x0:_0x19db4f[_0x4bbb3b(0x2d0)],this[_0x4bbb3b(0x118)]=_0x19db4f==null?void 0x0:_0x19db4f[_0x4bbb3b(0x118)]);}static[_0x2e363d(0x326)](_0x5256cd,_0x2d42f2){const _0x4fbf6d=_0x2e363d,{text:_0x33f1d3,color:_0x5cc03b}=_0x2d42f2;_0x5256cd['save'](),_0x5256cd[_0x4fbf6d(0x19d)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x4ff5ce=_0x5256cd[_0x4fbf6d(0x158)](_0x33f1d3)[_0x4fbf6d(0x2d6)],_0x36f6ff=Math['min'](_0x4ff5ce+0x2*_0x40af53,_0xd7a649);_0x221761(_0x5256cd,{'height':_0x50df79,'radius':0x4,'width':_0x36f6ff,'fill':_0x5cc03b}),_0x5256cd['fillStyle']=_0x4fbf6d(0x346);const _0x1c0933=_0x40af53,_0x2e27bb=_0x50df79-_0x10d041,_0x19148c=_0xd7a649-0x2*_0x40af53;if(_0x4ff5ce>_0x19148c){let _0xf53998='',_0x1a0c83=0x0;for(const _0x38252c of _0x33f1d3){const _0x1de577=_0x5256cd[_0x4fbf6d(0x158)](_0x38252c)[_0x4fbf6d(0x2d6)];if(_0x1a0c83+_0x1de577<=_0x19148c-_0x5256cd[_0x4fbf6d(0x158)](_0x4fbf6d(0x14d))['width'])_0xf53998+=_0x38252c,_0x1a0c83+=_0x1de577;else{_0xf53998+=_0x4fbf6d(0x14d);break;}}_0x5256cd['fillText'](_0xf53998,_0x1c0933,_0x2e27bb);}else _0x5256cd[_0x4fbf6d(0x347)](_0x33f1d3,_0x1c0933,_0x2e27bb);_0x5256cd[_0x4fbf6d(0x2cf)]();}[_0x2e363d(0x199)](_0x379b43){const _0x5e9393=_0x2e363d;_0x547561[_0x5e9393(0x326)](_0x379b43,this);}}const _0x2a01fa=_0x2e363d(0x17e),_0x427fab=_0x2e363d(0x2d5),_0x140a6d=_0x2e363d(0x376),_0x953881=0x6,_0x3d4630=1.5,_0x163a70=0x4,_0x2426ae=1.5,_0x5bb8ec=_0x2e363d(0x182);class _0xd1d4f9{constructor(_0x307c53,_0x573e82,_0x2850e3,_0x4830de){const _0xcf139a=_0x2e363d;_0x1b73a5(this,'_shapes',[]),_0x1b73a5(this,_0xcf139a(0x267),null),_0x1b73a5(this,_0xcf139a(0x1ce),null),_0x1b73a5(this,'_anchorDot',null),_0x1b73a5(this,_0xcf139a(0x17d),null),_0x1b73a5(this,_0xcf139a(0x35b),null),(this[_0xcf139a(0x25a)]=_0x307c53,this['_scene']=_0x573e82,this['_docSkeleton']=_0x2850e3,this['_document']=_0x4830de,this[_0xcf139a(0x35a)]());}set[_0x2e363d(0x2a1)](_0x5ce528){const _0x1aa211=_0x2e363d;_0x5ce528?(this[_0x1aa211(0x152)]&&this[_0x1aa211(0x152)][_0x1aa211(0x125)](),this['_textBubble']&&this[_0x1aa211(0x1ce)][_0x1aa211(0x12c)]()):(this[_0x1aa211(0x152)]&&this[_0x1aa211(0x152)][_0x1aa211(0x12c)](),this[_0x1aa211(0x1ce)]&&this[_0x1aa211(0x1ce)][_0x1aa211(0x125)]());}[_0x2e363d(0x1ad)](){const _0x30c0fe=_0x2e363d;for(const _0x266261 of this[_0x30c0fe(0x2dd)])_0x266261[_0x30c0fe(0x1ad)]();this[_0x30c0fe(0x1ce)]&&this[_0x30c0fe(0x1ce)][_0x30c0fe(0x1ad)](),this[_0x30c0fe(0x152)]&&this[_0x30c0fe(0x152)]['dispose'](),this['_anchor']&&this['_anchor'][_0x30c0fe(0x1ad)](),this[_0x30c0fe(0x35b)]&&this['_eventUnsubscribe']();}['_render'](){const _0xd6396=_0x2e363d;var _0x3f48fe;const {_docSkeleton:_0x3aace5,_document:_0x52d8a5}=this,{color:_0x1911d5,name:_0x4ccd13,ranges:_0x179a6b}=this['_cursor'],_0x2845dc=_0x52d8a5[_0xd6396(0x1b0)](),{docsLeft:_0x2c6eaf,docsTop:_0x1cc9c8}=_0x2845dc,_0x5f30e6=new _0x15c8af[(_0xd6396(0x13a))](_0x2845dc,_0x3aace5);for(const {startOffset:_0xca47cd,endOffset:_0x4d969e,rangeType:_0x2c1891,segmentId:_0x431f01,segmentPage:_0x24245e,collapsed:_0x2f4cbc,isActive:_0x586b17}of _0x179a6b){const _0x17234c=_0x3aace5[_0xd6396(0x2c1)](_0xca47cd,!0x0,_0x431f01,_0x24245e);let _0xffad36=_0x3aace5[_0xd6396(0x2c1)](_0x4d969e,!0x0,_0x431f01,_0x24245e);if(_0xffad36==null&&(_0xffad36=_0x3aace5['findNodePositionByCharIndex'](_0x4d969e-0x1,!0x1,_0x431f01,_0x24245e)),_0x586b17){const {contentBoxPointGroup:_0x11c5a0}=_0x5f30e6['getRangePointData'](_0xffad36,_0xffad36);if(_0x11c5a0[_0xd6396(0x1a4)]===0x0)continue;this['_drawAnchor'](_0x1911d5,_0x11c5a0,_0x2c6eaf,_0x1cc9c8,_0x4ccd13),this[_0xd6396(0x35b)]=this['_handleHover']();}if(_0x17234c&&_0xffad36){if(_0x2c1891===_0x2b43e1['DOC_RANGE_TYPE'][_0xd6396(0x280)]){const _0x2f51fd=new _0x15c8af['NodePositionConvertToRectRange'](_0x2845dc,_0x3aace5),{pointGroup:_0x536869}=(_0x3f48fe=_0x2f51fd[_0xd6396(0x1bf)](_0x17234c,_0xffad36))!=null?_0x3f48fe:{};if(_0x536869==null||_0x536869['length']===0x0)continue;this[_0xd6396(0x246)](_0x1911d5,_0x536869,_0x2c6eaf,_0x1cc9c8);}else{if(!_0x2f4cbc){const {borderBoxPointGroup:_0x5a5ac7}=_0x5f30e6[_0xd6396(0x1bf)](_0x17234c,_0xffad36);if(_0x5a5ac7[_0xd6396(0x1a4)]===0x0)continue;this[_0xd6396(0x2cb)](_0x1911d5,_0x5a5ac7,_0x2c6eaf,_0x1cc9c8);}}}}}[_0x2e363d(0x18c)](_0x9379a9,_0x41ce60,_0x25841c,_0x28ed82,_0x3a3f17){const _0x1e7b9a=_0x2e363d,_0x9d260a=this['_getAnchorBounding'](_0x41ce60),{left:_0x39a96f,top:_0x4e43d1,height:_0x3527d0}=_0x9d260a,_0x31d7b7=this[_0x1e7b9a(0x206)](),_0x3c057b=_0x2426ae/_0x31d7b7,_0x203337=new _0x4f9ef0[(_0x1e7b9a(0x26e))](_0x2a01fa+_0x2b43e1['Tools']['generateRandomId'](_0x953881),{'left':_0x39a96f+_0x25841c-_0x3c057b,'top':_0x4e43d1+_0x28ed82,'height':_0x3527d0,'width':_0x3d4630,'fill':_0x9379a9||_0x4f9ef0[_0x1e7b9a(0x183)](_0x2b43e1[_0x1e7b9a(0x38e)][_0x1e7b9a(0x1a5)],0x0),'strokeWidth':_0x3c057b,'stroke':_0x5bb8ec,'evented':!0x0});this[_0x1e7b9a(0x267)]=_0x203337,this['_scene']['addObject'](_0x203337,_0x15c8af[_0x1e7b9a(0x1c4)]);const _0x587dde=new _0x4f9ef0[(_0x1e7b9a(0x26e))](_0x2a01fa+_0x2b43e1[_0x1e7b9a(0x2af)][_0x1e7b9a(0x317)](_0x953881),{'left':_0x39a96f+_0x25841c-_0x3c057b,'top':_0x4e43d1+_0x28ed82-_0x163a70/0x2,'height':_0x163a70,'width':_0x163a70,'fill':_0x9379a9||_0x4f9ef0[_0x1e7b9a(0x183)](_0x2b43e1[_0x1e7b9a(0x38e)][_0x1e7b9a(0x1a5)],0x0),'strokeWidth':0x0,'stroke':_0x9379a9||_0x4f9ef0[_0x1e7b9a(0x183)](_0x2b43e1[_0x1e7b9a(0x38e)]['black'],0x0),'evented':!0x1});this[_0x1e7b9a(0x152)]=_0x587dde,this[_0x1e7b9a(0x2e5)][_0x1e7b9a(0x29f)](_0x587dde,_0x15c8af[_0x1e7b9a(0x1c4)]);const _0x171f45=new _0x547561(_0x2a01fa+_0x2b43e1['Tools']['generateRandomId'](_0x953881),{'left':_0x39a96f+_0x25841c-_0x3c057b,'top':_0x4e43d1+_0x28ed82-_0x50df79,'text':_0x3a3f17,'color':_0x9379a9});this[_0x1e7b9a(0x1ce)]=_0x171f45,this[_0x1e7b9a(0x2e5)]['addObject'](_0x171f45,_0x15c8af[_0x1e7b9a(0x1c4)]),this['_hover']=!0x1;}[_0x2e363d(0x19a)](){const _0x12b5dc=_0x2e363d,_0x637846=this[_0x12b5dc(0x267)]['onPointerEnter$']['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x3cedd6=this[_0x12b5dc(0x267)][_0x12b5dc(0x250)][_0x12b5dc(0x1e5)](()=>{const _0x2ee98c=_0x12b5dc;this[_0x2ee98c(0x17d)]&&clearTimeout(this['_hideTimer']),this[_0x2ee98c(0x17d)]=setTimeout(()=>{const _0x1ec6c3=_0x2ee98c;this[_0x1ec6c3(0x2a1)]=!0x1;},0x7d0);});return()=>{const _0x21bfed=_0x12b5dc;_0x637846[_0x21bfed(0x297)](),_0x3cedd6[_0x21bfed(0x297)]();};}['_drawTextRange'](_0x5c60d8,_0x5a1734,_0x4ea2c7,_0x3423f8){const _0x398532=_0x2e363d,_0x4738d1=new _0x2b43e1[(_0x398532(0x1fb))](_0x5c60d8)[_0x398532(0x1c7)](0.2)[_0x398532(0x38a)](),_0x1ecd9f=new _0x4f9ef0[(_0x398532(0x1e1))](_0x427fab+_0x2b43e1[_0x398532(0x2af)][_0x398532(0x317)](_0x953881),{'pointsGroup':_0x5a1734,'fill':_0x4738d1||_0x4f9ef0[_0x398532(0x183)](_0x2b43e1[_0x398532(0x38e)]['black'],0.2),'left':_0x4ea2c7,'top':_0x3423f8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x398532(0x2dd)][_0x398532(0x20a)](_0x1ecd9f),this[_0x398532(0x2e5)][_0x398532(0x29f)](_0x1ecd9f,_0x15c8af[_0x398532(0x1c4)]);}[_0x2e363d(0x246)](_0x1d83a7,_0x9b500,_0x228950,_0x504da0){const _0x3b376d=_0x2e363d,_0x5ef2f3=new _0x2b43e1[(_0x3b376d(0x1fb))](_0x1d83a7)[_0x3b376d(0x1c7)](0.2)[_0x3b376d(0x38a)](),_0x2aaf7e=new _0x4f9ef0[(_0x3b376d(0x1e1))](_0x140a6d+_0x2b43e1[_0x3b376d(0x2af)]['generateRandomId'](_0x953881),{'pointsGroup':_0x9b500,'fill':_0x5ef2f3||_0x4f9ef0['getColor'](_0x2b43e1[_0x3b376d(0x38e)]['black'],0.2),'left':_0x228950,'top':_0x504da0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3b376d(0x2dd)]['push'](_0x2aaf7e),this[_0x3b376d(0x2e5)][_0x3b376d(0x29f)](_0x2aaf7e,_0x15c8af['TEXT_RANGE_LAYER_INDEX']);}[_0x2e363d(0x29a)](_0x49b366){const _0x2a64f3=_0x49b366[0x0],_0xf13da0=_0x2a64f3[0x0],_0x49575b=_0x2a64f3[0x2],{x:_0x263d97,y:_0x329318}=_0xf13da0,{x:_0x5b313e,y:_0x52b076}=_0x49575b;return{'left':_0x263d97,'top':_0x329318,'width':_0x5b313e-_0x263d97,'height':_0x52b076-_0x329318};}['_getScale'](){const _0x38b63c=_0x2e363d,{scaleX:_0x5f0f75,scaleY:_0x4e4e3b}=this[_0x38b63c(0x2e5)]['getAncestorScale']();return Math[_0x38b63c(0x148)](_0x5f0f75,_0x4e4e3b);}}var _0x5eabd5=Object[_0x2e363d(0x29d)],_0x279619=(_0x5ab519,_0xe2c711,_0x163476,_0x5ef6c2)=>{const _0x97d8d=_0x2e363d;for(var _0x3d3ef5=_0x5ef6c2>0x1?void 0x0:_0x5ef6c2?_0x5eabd5(_0xe2c711,_0x163476):_0xe2c711,_0x53c8d9=_0x5ab519[_0x97d8d(0x1a4)]-0x1,_0x5e26d0;_0x53c8d9>=0x0;_0x53c8d9--)(_0x5e26d0=_0x5ab519[_0x53c8d9])&&(_0x3d3ef5=_0x5e26d0(_0x3d3ef5)||_0x3d3ef5);return _0x3d3ef5;},_0x35192e=(_0x139ade,_0x2b34d9)=>(_0x5e1869,_0x1ca83a)=>_0x2b34d9(_0x5e1869,_0x1ca83a,_0x139ade);let _0x38ac90=class extends _0x2b43e1[_0x2e363d(0x2bd)]{constructor(_0xa46055,_0x557d33,_0x29c004,_0x1bca9b,_0x2e30f2){const _0x543e46=_0x2e363d;super(),_0x1b73a5(this,_0x543e46(0x213),[]),_0x1b73a5(this,_0x543e46(0x299),[]),(this[_0x543e46(0x20b)]=_0xa46055,this[_0x543e46(0x362)]=_0x557d33,this['_collabCursorController']=_0x29c004,this[_0x543e46(0x232)]=_0x1bca9b,this[_0x543e46(0x1b2)]=_0x2e30f2,this['_init']());}[_0x2e363d(0x151)](){const _0x1a830c=_0x2e363d,_0xc298be=this['_context'][_0x1a830c(0x32f)],_0x1022af=this[_0x1a830c(0x362)];this['disposeWithMe'](_0x5ad77d[_0x1a830c(0x36b)]([this[_0x1a830c(0x2b5)][_0x1a830c(0x2ff)](_0xc298be),this['_themeService'][_0x1a830c(0x2f9)]])[_0x1a830c(0x230)](_0x3660b6['map'](([_0x5c438d,_0x40f852])=>({'skeleton':_0x1022af[_0x1a830c(0x339)](),'cursors':[..._0x5c438d[_0x1a830c(0x307)]()][_0x1a830c(0x372)](_0x5bb274=>({..._0x5bb274,'color':this[_0x1a830c(0x1b2)]['getColorFromTheme'](_0x5bb274[_0x1a830c(0x2d0)])}))})))[_0x1a830c(0x2d3)](_0x12d0bc=>{const _0x3e2c0e=_0x1a830c;if(this[_0x3e2c0e(0x336)](),_0x12d0bc){const {skeleton:_0x3c81db,cursors:_0x30ae53}=_0x12d0bc;this[_0x3e2c0e(0x1a1)](_0x3c81db,_0x30ae53);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x2e363d(0x1a1)](_0x2fdc6e,_0x56985d){const _0x46a3b7=_0x2e363d,{scene:_0x5a143a,mainComponent:_0x2d97ea}=this[_0x46a3b7(0x20b)],_0x683508=_0x56985d[_0x46a3b7(0x2fb)](_0x24f235=>new _0xd1d4f9(_0x24f235,_0x5a143a,_0x2fdc6e,_0x2d97ea));this[_0x46a3b7(0x213)]=_0x683508,this['_cursors']=_0x56985d;}['_refreshCollabCursors'](){const _0x218dbc=_0x2e363d;this[_0x218dbc(0x336)]();const {scene:_0x41155c,mainComponent:_0x2216f5}=this[_0x218dbc(0x20b)],_0x1827f5=this[_0x218dbc(0x362)]['getSkeleton'](),_0x3b644f=this['_cursors'][_0x218dbc(0x2fb)](_0x3d0ff2=>new _0xd1d4f9(_0x3d0ff2,_0x41155c,_0x1827f5,_0x2216f5));this[_0x218dbc(0x213)]=_0x3b644f;}[_0x2e363d(0x336)](){const _0x3d6be7=_0x2e363d;this['_cursorShapes'][_0x3d6be7(0x282)](_0x37ead0=>_0x37ead0[_0x3d6be7(0x1ad)]()),this[_0x3d6be7(0x213)]=[];}[_0x2e363d(0x1c2)](){const _0x2ff467=_0x2e363d,_0x39e6db=[_0x15c8af['SetDocZoomRatioOperation']['id']];this[_0x2ff467(0x160)](this[_0x2ff467(0x232)][_0x2ff467(0x34e)](_0x5a8fc1=>{const _0x13f2ab=_0x2ff467;_0x39e6db[_0x13f2ab(0x24a)](_0x5a8fc1['id'])&&_0x5a8fc1[_0x13f2ab(0x387)][_0x13f2ab(0x32f)]===this[_0x13f2ab(0x20b)][_0x13f2ab(0x32f)]&&this['_refreshCollabCursors']();}));}[_0x2e363d(0x305)](){const _0x3489d4=_0x2e363d;this['disposeWithMe'](_0x2b43e1[_0x3489d4(0x2e4)](this['_context'][_0x3489d4(0x254)][_0x3489d4(0x241)])['pipe'](_0x3660b6[_0x3489d4(0x1e9)](_0x439059=>_0x439059[_0x3489d4(0x255)]===_0x4f9ef0[_0x3489d4(0x1ea)]['resize']),_0x3660b6[_0x3489d4(0x1a7)](0x10))[_0x3489d4(0x2d3)](()=>{const _0x5b3849=_0x3489d4;this[_0x5b3849(0x19b)]();}));}};_0x38ac90=_0x279619([_0x35192e(0x1,_0x2b43e1[_0x2e363d(0x1f3)](_0x854483['DocSkeletonManagerService'])),_0x35192e(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x5a14bf)),_0x35192e(0x3,_0x2b43e1[_0x2e363d(0x205)]),_0x35192e(0x4,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1[_0x2e363d(0x147)]))],_0x38ac90);const _0x23ccfa=0x1,_0x538bab=1.5;class _0x1366a1 extends _0x4f9ef0[_0x2e363d(0x20c)]{constructor(_0x24dedc,_0x3d8b64){const _0x4b9104=_0x2e363d;super(_0x24dedc,_0x3d8b64),_0x1b73a5(this,_0x4b9104(0x2da)),_0x1b73a5(this,_0x4b9104(0x13b),!0x1),_0x1b73a5(this,_0x4b9104(0x171)),_0x1b73a5(this,'_name',''),_0x1b73a5(this,_0x4b9104(0x1f1),_0x4b9104(0x247)),_0x1b73a5(this,'_backgroundColor'),(_0x3d8b64&&this[_0x4b9104(0x215)](_0x3d8b64),this[_0x4b9104(0x385)][_0x4b9104(0x1e5)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x4b9104(0x1e5)](()=>this[_0x4b9104(0x215)]({'hovered':!0x1})));}[_0x2e363d(0x215)](_0x223a21){const _0x2379db=_0x2e363d;var _0x36ffd3,_0x170d11,_0x52d560,_0x54c04a,_0x53896c,_0x10cdc8;this['_color']=(_0x36ffd3=_0x223a21[_0x2379db(0x2d0)])!=null?_0x36ffd3:this[_0x2379db(0x2da)],this['_hovered']=(_0x170d11=_0x223a21[_0x2379db(0x20e)])!=null?_0x170d11:this['_hovered'],this[_0x2379db(0x171)]=(_0x52d560=_0x223a21[_0x2379db(0x27c)])!=null?_0x52d560:this[_0x2379db(0x171)],this[_0x2379db(0x374)]=(_0x54c04a=_0x223a21[_0x2379db(0x315)])!=null?_0x54c04a:this[_0x2379db(0x374)],this[_0x2379db(0x1f1)]=(_0x53896c=_0x223a21[_0x2379db(0x251)])!=null?_0x53896c:this[_0x2379db(0x1f1)],this['_backgroundColor']=(_0x10cdc8=_0x223a21['backgroundColor'])!=null?_0x10cdc8:this[_0x2379db(0x164)],this[_0x2379db(0x17c)]({'width':_0x223a21['width'],'height':_0x223a21[_0x2379db(0x2f7)]});}[_0x2e363d(0x173)](_0xa31cfb){const _0x4eca90=_0x2e363d,{row:_0x281158,column:_0x364058}=_0xa31cfb;if(_0x281158>=this['_range'][_0x4eca90(0x253)]&&_0x281158<=this[_0x4eca90(0x171)]['endRow']&&_0x364058>=this[_0x4eca90(0x171)][_0x4eca90(0x177)]&&_0x364058<=this[_0x4eca90(0x171)][_0x4eca90(0x11c)]){this[_0x4eca90(0x215)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x360b07){return!0x1;}['_draw'](_0x123407){const _0x2c358b=_0x2e363d;_0x4f9ef0[_0x2c358b(0x26e)][_0x2c358b(0x326)](_0x123407,{'width':this[_0x2c358b(0x2d6)],'height':this[_0x2c358b(0x2f7)],'strokeWidth':_0x538bab,'stroke':this[_0x2c358b(0x2da)],'evented':!0x1,'fill':this[_0x2c358b(0x164)]}),this[_0x2c358b(0x13b)]&&(_0x123407[_0x2c358b(0x1ca)](),_0x123407[_0x2c358b(0x382)](0x1,0x0,0x0,0x1,this[_0x2c358b(0x2d6)],this[_0x2c358b(0x1f1)]===_0x2c358b(0x1c5)?0x0:-0x14),_0x547561[_0x2c358b(0x326)](_0x123407,{'text':this[_0x2c358b(0x374)],'color':this['_color']}),_0x123407[_0x2c358b(0x2cf)]());}}var _0x41b200=Object[_0x2e363d(0x29d)],_0x499e85=(_0x53bdfd,_0x56691c,_0x51caf1,_0x231ede)=>{const _0x4bd6aa=_0x2e363d;for(var _0x1457f1=_0x231ede>0x1?void 0x0:_0x231ede?_0x41b200(_0x56691c,_0x51caf1):_0x56691c,_0xe12bb8=_0x53bdfd[_0x4bd6aa(0x1a4)]-0x1,_0x25f8e7;_0xe12bb8>=0x0;_0xe12bb8--)(_0x25f8e7=_0x53bdfd[_0xe12bb8])&&(_0x1457f1=_0x25f8e7(_0x1457f1)||_0x1457f1);return _0x1457f1;},_0x578752=(_0xce4104,_0x4dc6f5)=>(_0x498516,_0x4d01f4)=>_0x4dc6f5(_0x498516,_0x4d01f4,_0xce4104);const _0x370f59=0x1389;let _0x5242c8=class extends _0x2b43e1[_0x2e363d(0x2bd)]{constructor(_0x1ebff7,_0x4415e9,_0x532052,_0x465c82){const _0x7dbed3=_0x2e363d;super(),_0x1b73a5(this,_0x7dbed3(0x299),new Set()),_0x1b73a5(this,'_lastPointer',null),(this[_0x7dbed3(0x20b)]=_0x1ebff7,this['_sheetSkeletonManagerService']=_0x4415e9,this[_0x7dbed3(0x2b5)]=_0x532052,this['_themeService']=_0x465c82,this[_0x7dbed3(0x151)]());}[_0x2e363d(0x151)](){const _0x56746e=_0x2e363d;this[_0x56746e(0x323)][_0x56746e(0x131)][_0x56746e(0x230)](_0x3660b6['takeUntil'](this['dispose$']),_0x3660b6[_0x56746e(0x291)](_0x289c2d=>{const _0x3a7b7c=_0x56746e;if(_0x289c2d){const _0x34ecec=_0x289c2d[_0x3a7b7c(0x216)];return _0x5ad77d[_0x3a7b7c(0x36b)](this[_0x3a7b7c(0x2b5)][_0x3a7b7c(0x2ff)](this['_context'][_0x3a7b7c(0x32f)]),this[_0x3a7b7c(0x1b2)][_0x3a7b7c(0x2f9)])[_0x3a7b7c(0x230)](_0x3660b6[_0x3a7b7c(0x2fb)](([_0x15d24e,_0x25f106])=>{const _0x380d93=_0x3a7b7c,_0x17144a=new Map();return _0x15d24e[_0x380d93(0x282)]((_0x4f8e58,_0x111c37)=>{const _0x5c304e=_0x380d93;if(_0x4f8e58[_0x5c304e(0x391)]===_0x34ecec){const _0x466310={..._0x4f8e58};_0x466310[_0x5c304e(0x2d0)]=this[_0x5c304e(0x1b2)]['getColorFromTheme'](_0x4f8e58[_0x5c304e(0x2d0)]),_0x17144a[_0x5c304e(0x2f1)](_0x111c37,_0x466310);}}),{'skeleton':_0x289c2d,'cursors':_0x17144a};}));}return _0x5ad77d['of']({'skeleton':null,'cursors':new Map()});}))[_0x56746e(0x2d3)](({skeleton:_0x500c22,cursors:_0x3c9833})=>{const _0x3bf517=_0x56746e;this['_removeCollabCursors'](),_0x500c22&&this[_0x3bf517(0x1a1)](_0x500c22,_0x3c9833);}),this[_0x56746e(0x323)][_0x56746e(0x131)]['subscribe'](_0x5d33bf=>{const _0x457521=_0x56746e;if(_0x5d33bf==null)return;const {skeleton:_0x624d8a}=_0x5d33bf,{scene:_0x1786d6}=this['_context'];_0x1786d6[_0x457521(0x312)]['subscribeEvent'](_0x2b43e1[_0x457521(0x379)](_0x3e94af=>{const _0x34b612=_0x457521;var _0x3cd362,_0x13c9f5;const {offsetX:_0x423008,offsetY:_0x1cdbf0}=_0x3e94af,{x:_0x2073f3,y:_0x589813}=_0x1786d6['getRelativeToViewportCoord'](_0x4f9ef0[_0x34b612(0x18f)]['FromArray']([_0x423008,_0x1cdbf0])),{scaleX:_0xff9716,scaleY:_0x3161c1}=_0x1786d6['getAncestorScale'](),_0x5afe71=_0x1786d6[_0x34b612(0x124)](_0x4f9ef0[_0x34b612(0x2a8)][_0x34b612(0x26d)]),_0x2d18f0=_0x1786d6[_0x34b612(0x18b)](_0x4f9ef0['Vector2'][_0x34b612(0x12b)]([_0x2073f3,_0x589813]),_0x5afe71),_0x142459=_0x624d8a[_0x34b612(0x301)](_0x423008,_0x1cdbf0,_0xff9716,_0x3161c1,_0x2d18f0);((_0x3cd362=this['_lastPointer'])==null?void 0x0:_0x3cd362[_0x34b612(0x381)])===_0x142459[_0x34b612(0x381)]&&((_0x13c9f5=this['_lastPointer'])==null?void 0x0:_0x13c9f5['row'])===_0x142459['row']||this[_0x34b612(0x299)][_0x34b612(0x282)](_0x36e0aa=>{const _0x604cee=_0x34b612;_0x36e0aa[_0x604cee(0x173)](_0x142459);});},0x64));});}['_updateCollabCursors'](_0x32a7d6,_0x1408fe){const _0x4a6271=_0x2e363d;var _0x3bdb3c;const _0x32e70a=(_0x3bdb3c=this[_0x4a6271(0x323)]['getCurrent']())==null?void 0x0:_0x3bdb3c[_0x4a6271(0x242)];if(!_0x32e70a)return;const _0x2eb454=this[_0x4a6271(0x3a5)]();if(!_0x2eb454)return;this[_0x4a6271(0x299)][_0x4a6271(0x282)](_0x34158f=>{const _0x190cdf=_0x4a6271;_0x34158f[_0x190cdf(0x283)]();});const {scene:_0x20a078}=_0x2eb454,_0x27663a=_0x3a59bd(Array[_0x4a6271(0x2de)](_0x1408fe[_0x4a6271(0x307)]()))[_0x4a6271(0x2fb)](_0x4bcf1e=>{const _0x3afdc7=_0x4a6271,{color:_0xc42066,range:_0x14e99b,name:_0x3d3ff0,selection:_0x22a620,sheetID:_0xef617c}=_0x4bcf1e,{startColumn:_0x3a4d74,startRow:_0x57530b,endColumn:_0x2fe2d6,endRow:_0x4d7637}=_0x14e99b,_0x4cd387=_0x562559[_0x3afdc7(0x2d9)](_0x57530b,_0x3a4d74,_0x20a078,_0x32e70a),_0x21d830=_0x562559['getCoordByCell'](_0x4d7637,_0x2fe2d6,_0x20a078,_0x32e70a),{columnHeaderHeightAndMarginTop:_0x1c23b4}=_0x32e70a,{startX:_0x17da2b,startY:_0xa2bb9c}=_0x4cd387,{endX:_0x120aea,endY:_0x26cda9}=_0x21d830,_0x1d76e5=_0x120aea-_0x17da2b,_0x17f6c0=_0x26cda9-_0xa2bb9c,_0x362628={'labelPosition':_0xa2bb9c-_0x1c23b4>=_0x50df79?_0x3afdc7(0x247):_0x3afdc7(0x1c5),'sheetID':_0xef617c,'range':_0x14e99b,'color':_0xc42066,'name':_0x3d3ff0,'selection':_0x22a620,'left':_0x17da2b,'top':_0xa2bb9c,'width':_0x1d76e5,'height':_0x17f6c0,'evented':!0x1,'zIndex':_0x370f59};return new _0x1366a1(_0x3d3ff0,_0x362628);});_0x20a078[_0x4a6271(0x37e)](_0x27663a,_0x23ccfa),this[_0x4a6271(0x299)]=new Set(_0x27663a);}[_0x2e363d(0x336)](){const _0x1cce82=_0x2e363d;var _0x890576;(_0x890576=this[_0x1cce82(0x299)])==null||_0x890576['forEach'](_0x31d91c=>_0x31d91c[_0x1cce82(0x1ad)]());}['_getSheetObject'](){const _0x555f8b=_0x2e363d;return _0x562559[_0x555f8b(0x365)](this['_context']['unit'],this[_0x555f8b(0x20b)]);}};_0x5242c8=_0x499e85([_0x578752(0x1,_0x2b43e1[_0x2e363d(0x1f3)](_0x562559['SheetSkeletonManagerService'])),_0x578752(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x5a14bf)),_0x578752(0x3,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1[_0x2e363d(0x147)]))],_0x5242c8);function _0x3a59bd(_0x4f7d78){const _0x390787=_0x2e363d,_0x13e8e5=new Map();return _0x4f7d78[_0x390787(0x282)](_0x227359=>{const _0x470e59=_0x390787;if(_0x13e8e5['has'](_0x227359[_0x470e59(0x269)])){const _0x184cb8=_0x13e8e5['get'](_0x227359[_0x470e59(0x269)]);_0x184cb8['name']+=',\x20'+_0x227359[_0x470e59(0x315)];}else _0x13e8e5[_0x470e59(0x2f1)](_0x227359[_0x470e59(0x269)],_0x227359);}),Array[_0x390787(0x2de)](_0x13e8e5[_0x390787(0x307)]());}var _0x32b919=function(){const _0x3157fb=_0x2e363d;return _0x32b919=Object[_0x3157fb(0x201)]||function(_0x482264){const _0x16d954=_0x3157fb;for(var _0x3024dd,_0x35ac31=0x1,_0x5cffe1=arguments[_0x16d954(0x1a4)];_0x35ac31<_0x5cffe1;_0x35ac31++){_0x3024dd=arguments[_0x35ac31];for(var _0x5f4241 in _0x3024dd)Object['prototype'][_0x16d954(0x2c9)][_0x16d954(0x15b)](_0x3024dd,_0x5f4241)&&(_0x482264[_0x5f4241]=_0x3024dd[_0x5f4241]);}return _0x482264;},_0x32b919[_0x3157fb(0x22c)](this,arguments);},_0x3ff4bd=function(_0x36c520,_0x4a8e5a){const _0x2d01af=_0x2e363d;var _0x34cfbf={};for(var _0x1d7288 in _0x36c520)Object[_0x2d01af(0x275)][_0x2d01af(0x2c9)][_0x2d01af(0x15b)](_0x36c520,_0x1d7288)&&_0x4a8e5a[_0x2d01af(0x36d)](_0x1d7288)<0x0&&(_0x34cfbf[_0x1d7288]=_0x36c520[_0x1d7288]);if(_0x36c520!=null&&typeof Object['getOwnPropertySymbols']==_0x2d01af(0x39f)){for(var _0x52e389=0x0,_0x1d7288=Object[_0x2d01af(0x3b4)](_0x36c520);_0x52e389<_0x1d7288[_0x2d01af(0x1a4)];_0x52e389++)_0x4a8e5a[_0x2d01af(0x36d)](_0x1d7288[_0x52e389])<0x0&&Object[_0x2d01af(0x275)][_0x2d01af(0x25b)][_0x2d01af(0x15b)](_0x36c520,_0x1d7288[_0x52e389])&&(_0x34cfbf[_0x1d7288[_0x52e389]]=_0x36c520[_0x1d7288[_0x52e389]]);}return _0x34cfbf;},_0x2559b5=_0x5544c5[_0x2e363d(0x2d2)](function(_0x28e5e8,_0x513890){const _0xe55e1c=_0x2e363d;var _0x4f3c86=_0x28e5e8[_0xe55e1c(0x2d8)],_0x1028f3=_0x28e5e8['id'],_0x1e2b8c=_0x28e5e8['className'],_0x369ab5=_0x28e5e8[_0xe55e1c(0x1c1)],_0x171589=_0x3ff4bd(_0x28e5e8,[_0xe55e1c(0x2d8),'id','className',_0xe55e1c(0x1c1)]),_0xa4a77d=_0xe55e1c(0x1cb)[_0xe55e1c(0x202)](_0x1028f3,'\x20')['concat'](_0x1e2b8c||'')[_0xe55e1c(0x292)](),_0x266984=_0x5544c5[_0xe55e1c(0x207)]('_'[_0xe55e1c(0x202)](_0x46bb04()));return _0x1156a0(_0x4f3c86,''['concat'](_0x1028f3),{'defIds':_0x4f3c86[_0xe55e1c(0x1ba)],'idSuffix':_0x266984[_0xe55e1c(0x351)]},_0x32b919({'ref':_0x513890,'className':_0xa4a77d},_0x171589),_0x369ab5);});function _0x1156a0(_0xa93a9b,_0x3eb8f4,_0x79a562,_0x32f4c1,_0x34e068){const _0x40b1e4=_0x2e363d;return _0x5544c5[_0x40b1e4(0x36c)](_0xa93a9b[_0x40b1e4(0x167)],_0x32b919(_0x32b919({'key':_0x3eb8f4},_0x1f31ab(_0xa93a9b,_0x79a562,_0x34e068)),_0x32f4c1),(_0x350116(_0xa93a9b,_0x79a562)[_0x40b1e4(0x1a3)]||[])[_0x40b1e4(0x2fb)](function(_0x59a0c2,_0x517ba5){const _0xefc77c=_0x40b1e4;return _0x1156a0(_0x59a0c2,''[_0xefc77c(0x202)](_0x3eb8f4,'-')[_0xefc77c(0x202)](_0xa93a9b['tag'],'-')['concat'](_0x517ba5),_0x79a562,void 0x0,_0x34e068);}));}function _0x1f31ab(_0x48ee97,_0x1e4e85,_0x30e86a){const _0x4d7f03=_0x2e363d;var _0x3b1997=_0x32b919({},_0x48ee97[_0x4d7f03(0x31b)]);_0x30e86a!=null&&_0x30e86a[_0x4d7f03(0x187)]&&_0x3b1997['fill']===_0x4d7f03(0x187)&&(_0x3b1997[_0x4d7f03(0x37a)]=_0x30e86a['colorChannel1']),_0x48ee97[_0x4d7f03(0x167)]===_0x4d7f03(0x137)&&_0x3b1997['id']&&(_0x3b1997['id']=_0x3b1997['id']+_0x1e4e85[_0x4d7f03(0x210)]),Object[_0x4d7f03(0x39c)](_0x3b1997)[_0x4d7f03(0x282)](function(_0x1bc19d){const _0x4b9f17=_0x4d7f03;var _0x9de787=_0x1bc19d[0x0],_0x5be96a=_0x1bc19d[0x1];_0x9de787===_0x4b9f17(0x137)&&typeof _0x5be96a=='string'&&(_0x3b1997[_0x9de787]=_0x5be96a['replace'](/url\(#(.*)\)/,_0x4b9f17(0x325)[_0x4b9f17(0x202)](_0x1e4e85[_0x4b9f17(0x210)],')')));});var _0x2909c9=_0x1e4e85[_0x4d7f03(0x1ba)];return!_0x2909c9||_0x2909c9[_0x4d7f03(0x1a4)]===0x0||(_0x48ee97[_0x4d7f03(0x167)]==='use'&&_0x3b1997[_0x4d7f03(0x3aa)]&&(_0x3b1997['xlink:href']=_0x3b1997['xlink:href']+_0x1e4e85['idSuffix']),Object[_0x4d7f03(0x39c)](_0x3b1997)[_0x4d7f03(0x282)](function(_0x55cf5f){const _0x1fc37c=_0x4d7f03;var _0x428d32=_0x55cf5f[0x0],_0x277a7c=_0x55cf5f[0x1];typeof _0x277a7c=='string'&&(_0x3b1997[_0x428d32]=_0x277a7c[_0x1fc37c(0x300)](/url\(#(.*)\)/,_0x1fc37c(0x325)[_0x1fc37c(0x202)](_0x1e4e85[_0x1fc37c(0x210)],')')));})),_0x3b1997;}function _0x350116(_0x32e882,_0x1ed6f9){const _0x161fcb=_0x2e363d;var _0x5a59b7,_0x535bb3=_0x1ed6f9[_0x161fcb(0x1ba)];return!_0x535bb3||_0x535bb3[_0x161fcb(0x1a4)]===0x0?_0x32e882:_0x32e882[_0x161fcb(0x167)]===_0x161fcb(0x2d7)&&(!((_0x5a59b7=_0x32e882[_0x161fcb(0x1a3)])===null||_0x5a59b7===void 0x0)&&_0x5a59b7[_0x161fcb(0x1a4)])?_0x32b919(_0x32b919({},_0x32e882),{'children':_0x32e882['children']['map'](function(_0x4e384a){const _0xdefd62=_0x161fcb;return typeof _0x4e384a[_0xdefd62(0x31b)]['id']=='string'&&_0x535bb3&&_0x535bb3[_0xdefd62(0x24a)](_0x4e384a[_0xdefd62(0x31b)]['id'])?_0x32b919(_0x32b919({},_0x4e384a),{'attrs':_0x32b919(_0x32b919({},_0x4e384a['attrs']),{'id':_0x4e384a[_0xdefd62(0x31b)]['id']+_0x1ed6f9[_0xdefd62(0x210)]})}):_0x4e384a;})}):_0x32e882;}function _0x46bb04(){const _0x2a4540=_0x2e363d;return Math[_0x2a4540(0x2c4)]()[_0x2a4540(0x2bf)](0x24)[_0x2a4540(0x38d)](0x2,0x8);}_0x2559b5[_0x2e363d(0x1e3)]=_0x2e363d(0x1f8);var _0x28b628={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2e363d(0x25d),'viewBox':_0x2e363d(0x1b5),'width':_0x2e363d(0x345),'height':_0x2e363d(0x345)},'children':[{'tag':'g','attrs':{'clipPath':_0x2e363d(0x2aa)},'children':[{'tag':_0x2e363d(0x393),'attrs':{'stroke':_0x2e363d(0x39d),'d':_0x2e363d(0x1f6),'strokeLinecap':_0x2e363d(0x371),'strokeLinejoin':_0x2e363d(0x371),'strokeWidth':1.2}}]},{'tag':_0x2e363d(0x2d7),'attrs':{},'children':[{'tag':_0x2e363d(0x1d4),'attrs':{'id':_0x2e363d(0x15a)},'children':[{'tag':'path','attrs':{'fill':_0x2e363d(0x2b7),'d':_0x2e363d(0x1d3)}}]}]}],'defIds':[_0x2e363d(0x15a)]},_0x3f87a1=_0x5544c5[_0x2e363d(0x2d2)](function(_0x261d03,_0x3e9050){const _0x19c9f1=_0x2e363d;return _0x5544c5[_0x19c9f1(0x36c)](_0x2559b5,Object[_0x19c9f1(0x201)]({},_0x261d03,{'id':'off-line-icon','ref':_0x3e9050,'icon':_0x28b628}));});_0x3f87a1[_0x2e363d(0x1e3)]='OffLineIcon';var _0x3121d7={'tag':_0x2e363d(0x1af),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x2e363d(0x25d),'viewBox':'0\x200\x2017\x2016','width':_0x2e363d(0x345),'height':_0x2e363d(0x345)},'children':[{'tag':'g','attrs':{'clipPath':_0x2e363d(0x2df)},'children':[{'tag':_0x2e363d(0x393),'attrs':{'stroke':_0x2e363d(0x39d),'d':_0x2e363d(0x17a),'strokeLinecap':'round','strokeLinejoin':_0x2e363d(0x371),'strokeWidth':1.2}}]},{'tag':_0x2e363d(0x2d7),'attrs':{},'children':[{'tag':_0x2e363d(0x1d4),'attrs':{'id':_0x2e363d(0x1a9)},'children':[{'tag':_0x2e363d(0x393),'attrs':{'fill':_0x2e363d(0x2b7),'d':_0x2e363d(0x1d3),'transform':_0x2e363d(0x32d)}}]}]}],'defIds':[_0x2e363d(0x1a9)]},_0x3e3cad=_0x5544c5['forwardRef'](function(_0x4e699e,_0xc3491d){const _0x10829c=_0x2e363d;return _0x5544c5[_0x10829c(0x36c)](_0x2559b5,Object[_0x10829c(0x201)]({},_0x4e699e,{'id':_0x10829c(0x2cc),'ref':_0xc3491d,'icon':_0x3121d7}));});_0x3e3cad[_0x2e363d(0x1e3)]=_0x2e363d(0x197);function _0x15b312(_0x5de95e){const _0x166997=_0x2e363d;switch(_0x5de95e){case _0x35d81a[_0x166997(0x28b)]['OFFLINE']:return _0x166997(0x12d);case _0x35d81a[_0x166997(0x28b)]['CONFLICT']:return _0x166997(0x285);case _0x35d81a[_0x166997(0x28b)][_0x166997(0x35d)]:return _0x166997(0x33b);case _0x35d81a['CollaborationStatus'][_0x166997(0x308)]:return _0x166997(0x18d);case _0x35d81a[_0x166997(0x28b)][_0x166997(0x309)]:case _0x35d81a['CollaborationStatus'][_0x166997(0x2dc)]:return'collabStatus.syncing';case _0x35d81a[_0x166997(0x28b)][_0x166997(0x1f7)]:case _0x35d81a[_0x166997(0x28b)][_0x166997(0x272)]:return _0x166997(0x1b8);}}function _0x58e3df(_0xa8da75){const _0x4eec7e=_0x2e363d,{status$:_0x3b51d2}=_0xa8da75,_0x33b253=_0x2d250c['useObservable'](_0x3b51d2,_0x35d81a[_0x4eec7e(0x28b)][_0x4eec7e(0x308)]),_0x3bdc2a=_0x2d250c[_0x4eec7e(0x2ad)](_0x2b43e1['LocaleService']),_0x4c60ff=_0x2d250c[_0x4eec7e(0x2ad)](_0x35d81a[_0x4eec7e(0x29b)]),_0xe8a38a=_0x33b253!==_0x35d81a[_0x4eec7e(0x28b)]['OFFLINE'],_0x34e570=_0x3bdc2a['t'](_0x15b312(_0x33b253)),_0x2d8093=_0xe8a38a?_0x356bea[_0x4eec7e(0x286)](_0x3e3cad,{}):_0x356bea['jsx'](_0x3f87a1,{}),_0x51d645=_0x5544c5['useCallback'](()=>{const _0x34ff0c=_0x4eec7e;_0xe8a38a||_0x4c60ff[_0x34ff0c(0x1d9)]();},[_0xe8a38a,_0x4c60ff]);function _0x4396a0(){const _0x48a597=_0x4eec7e;return _0x356bea[_0x48a597(0x1da)]('div',{'className':_0x48a597(0x1d1),'onClick':_0x51d645,'children':[_0x356bea['jsx']('div',{'className':_0xac66fe[_0x48a597(0x2c2)]('univer-flex\x20univer-mr-2\x20univer-text-xl',{'univer-text-green-500':_0xe8a38a,'univer-text-red-500':!_0xe8a38a}),'children':_0x2d8093}),_0x356bea[_0x48a597(0x286)](_0x48a597(0x2f5),{'className':_0x48a597(0x27d),'children':_0x34e570})]});}return _0xe8a38a?_0x4396a0():_0x356bea['jsx'](_0xac66fe[_0x4eec7e(0x29c)],{'title':_0x3bdc2a['t'](_0x4eec7e(0x344)),'children':_0x4396a0()});}var _0x50b0ac=Object['getOwnPropertyDescriptor'],_0x273172=(_0x1aa4a0,_0x34c750,_0x34cac3,_0x535ff9)=>{const _0x420949=_0x2e363d;for(var _0x125d93=_0x535ff9>0x1?void 0x0:_0x535ff9?_0x50b0ac(_0x34c750,_0x34cac3):_0x34c750,_0x3ff6c9=_0x1aa4a0[_0x420949(0x1a4)]-0x1,_0xa82ae3;_0x3ff6c9>=0x0;_0x3ff6c9--)(_0xa82ae3=_0x1aa4a0[_0x3ff6c9])&&(_0x125d93=_0xa82ae3(_0x125d93)||_0x125d93);return _0x125d93;},_0x3fcb72=(_0x1c66b7,_0x583716)=>(_0x30ae15,_0x173fb3)=>_0x583716(_0x30ae15,_0x173fb3,_0x1c66b7);_0x1364d3[_0x2e363d(0x23b)]=class extends _0x2b43e1[_0x2e363d(0x396)]{constructor(_0x30986f,_0x34777a,_0x23334d,_0x565e69){const _0x19a064=_0x2e363d;super(),_0x1b73a5(this,'_status$',new _0x5ad77d[(_0x19a064(0x146))](_0x35d81a[_0x19a064(0x28b)][_0x19a064(0x308)])),(this[_0x19a064(0x1c6)]=_0x30986f,this[_0x19a064(0x121)]=_0x34777a,this[_0x19a064(0x2fa)]=_0x23334d,this[_0x19a064(0x24d)]=_0x565e69,this[_0x19a064(0x2b3)](),this[_0x19a064(0x377)]());}['_initStatusListener'](){const _0x1f5e8f=_0x2e363d;this[_0x1f5e8f(0x160)](this[_0x1f5e8f(0x1c6)][_0x1f5e8f(0x288)][_0x1f5e8f(0x230)](_0x5ad77d[_0x1f5e8f(0x291)](()=>{const _0x539eb2=_0x1f5e8f,_0x8d3f49=this[_0x539eb2(0x1c6)][_0x539eb2(0x33a)]();return _0x8d3f49?this[_0x539eb2(0x2fa)]['getCollabEntity$'](_0x8d3f49[_0x539eb2(0x331)]()):_0x5ad77d['of'](null);}),_0x5ad77d[_0x1f5e8f(0x291)](_0x171c81=>_0x171c81?_0x171c81['status$']:_0x5ad77d['of'](_0x35d81a['CollaborationStatus'][_0x1f5e8f(0x308)])))['subscribe'](_0x2de5a8=>{const _0x3e4c25=_0x1f5e8f;this[_0x3e4c25(0x2b1)][_0x3e4c25(0x320)](_0x2de5a8);}));}[_0x2e363d(0x2b3)](){const _0x2320a0=_0x2e363d;this[_0x2320a0(0x160)](this['_uiPartsService']['registerComponent'](_0x2d250c['BuiltInUIPart'][_0x2320a0(0x289)],()=>_0x2d250c[_0x2320a0(0x1aa)](_0x251708({'status$':this[_0x2320a0(0x2b1)][_0x2320a0(0x3b0)]()}),this[_0x2320a0(0x121)])));}},_0x1364d3[_0x2e363d(0x23b)]=_0x273172([_0x3fcb72(0x0,_0x2b43e1['IUniverInstanceService']),_0x3fcb72(0x1,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1[_0x2e363d(0x392)])),_0x3fcb72(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x35d81a[_0x2e363d(0x252)])),_0x3fcb72(0x3,_0x2d250c[_0x2e363d(0x28c)])],_0x1364d3['DesktopCollaborationStatusDisplayController']);function _0x251708(_0x37290b){const {status$:_0xa78e5}=_0x37290b;return function(){const _0x58f27a=_0xc513;return _0x356bea[_0x58f27a(0x286)](_0x58e3df,{'status$':_0xa78e5});};}var _0x5bb69b=Object[_0x2e363d(0x29d)],_0x13c1ed=(_0x23f978,_0xc56a86,_0x3d21db,_0x6c17e7)=>{for(var _0x37a3f0=_0x6c17e7>0x1?void 0x0:_0x6c17e7?_0x5bb69b(_0xc56a86,_0x3d21db):_0xc56a86,_0x1a78c8=_0x23f978['length']-0x1,_0x128dc5;_0x1a78c8>=0x0;_0x1a78c8--)(_0x128dc5=_0x23f978[_0x1a78c8])&&(_0x37a3f0=_0x128dc5(_0x37a3f0)||_0x37a3f0);return _0x37a3f0;},_0x539b15=(_0x5c198b,_0x504c69)=>(_0x4bf268,_0x25812b)=>_0x504c69(_0x4bf268,_0x25812b,_0x5c198b);let _0x817f88=class extends _0x2b43e1[_0x2e363d(0x396)]{constructor(_0x344bad,_0x346952,_0x3d149a,_0x5b8c13,_0x1a763e,_0x16a522){const _0x597f18=_0x2e363d;super(),this[_0x597f18(0x212)]=_0x344bad,this[_0x597f18(0x260)]=_0x346952,this[_0x597f18(0x181)]=_0x3d149a,this[_0x597f18(0x3a2)]=_0x5b8c13,this[_0x597f18(0x3a3)]=_0x1a763e,this['_localeService']=_0x16a522,this[_0x597f18(0x281)](),this[_0x597f18(0x2be)]();}[_0x2e363d(0x281)](){const _0x44b8e9=_0x2e363d;this[_0x44b8e9(0x160)](this[_0x44b8e9(0x212)][_0x44b8e9(0x2e6)](()=>{const _0x32d51d=_0x44b8e9;if(this[_0x32d51d(0x260)][_0x32d51d(0x119)][_0x32d51d(0x27f)])return this[_0x32d51d(0x140)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x2e363d(0x2be)](){const _0x480929=_0x2e363d;this[_0x480929(0x160)](this[_0x480929(0x181)]['event$']['subscribe'](_0x4c2a42=>{const _0x171c3d=_0x480929;_0x4c2a42['id']===_0x35d81a[_0x171c3d(0x35c)]['OTHER_CLIENT_EDITING']&&this[_0x171c3d(0x3a2)][_0x171c3d(0x12c)]({'type':_0xac66fe[_0x171c3d(0x324)][_0x171c3d(0x1ed)],'content':this[_0x171c3d(0x140)]['t'](_0x171c3d(0x204))}),_0x4c2a42['id']===_0x35d81a[_0x171c3d(0x35c)]['CLOSE_ROOM']&&this['_messageService'][_0x171c3d(0x12c)]({'type':_0xac66fe[_0x171c3d(0x324)][_0x171c3d(0x1ed)],'content':this[_0x171c3d(0x140)]['t'](_0x171c3d(0x2f6))}),_0x4c2a42['id']===_0x35d81a['CollaborationUIEventId'][_0x171c3d(0x157)]&&this[_0x171c3d(0x3a3)][_0x171c3d(0x12c)]({'title':this[_0x171c3d(0x140)]['t']('permission.title'),'content':this['_localeService']['t'](_0x171c3d(0x14c)),'type':'error','duration':0x0}),_0x4c2a42['id']===_0x35d81a[_0x171c3d(0x35c)]['CONFLICT']&&this['_messageService'][_0x171c3d(0x12c)]({'type':_0xac66fe[_0x171c3d(0x324)][_0x171c3d(0x178)],'content':this[_0x171c3d(0x140)]['t'](_0x171c3d(0x2f6))+'('+_0x4c2a42[_0x171c3d(0x1b4)]+')'}),_0x4c2a42['id']===_0x35d81a[_0x171c3d(0x35c)][_0x171c3d(0x350)]&&this[_0x171c3d(0x3a2)][_0x171c3d(0x12c)]({'type':_0xac66fe[_0x171c3d(0x324)][_0x171c3d(0x1ed)],'content':this[_0x171c3d(0x140)]['t'](_0x4c2a42[_0x171c3d(0x1b4)]||'')}),_0x4c2a42['id']===_0x35d81a[_0x171c3d(0x35c)][_0x171c3d(0x33f)]&&this[_0x171c3d(0x3a2)][_0x171c3d(0x12c)]({'type':_0xac66fe['MessageType'][_0x171c3d(0x1ed)],'content':this[_0x171c3d(0x140)]['t'](_0x171c3d(0x2b2))}),_0x4c2a42['id']===_0x35d81a['CollaborationUIEventId'][_0x171c3d(0x19f)]&&this['_messageService']['show']({'type':_0xac66fe[_0x171c3d(0x324)]['Error'],'content':this['_localeService']['t']('session.connection-failed')}),_0x4c2a42['id']===_0x35d81a[_0x171c3d(0x35c)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x171c3d(0x12c)]({'type':_0xac66fe[_0x171c3d(0x324)][_0x171c3d(0x178)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x817f88=_0x13c1ed([_0x539b15(0x0,_0x2d250c[_0x2e363d(0x37f)]),_0x539b15(0x1,_0x35d81a[_0x2e363d(0x348)]),_0x539b15(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x35d81a[_0x2e363d(0x179)])),_0x539b15(0x3,_0x2d250c[_0x2e363d(0x153)]),_0x539b15(0x4,_0x2d250c[_0x2e363d(0x2c8)]),_0x539b15(0x5,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1[_0x2e363d(0x2c5)]))],_0x817f88);const _0x5094dd=_0x2e363d(0x31a),_0x3cf9e4={},_0x4b6a35=_0x2b43e1[_0x2e363d(0x27e)](_0x2e363d(0x257));var _0x1b14b7=Object[_0x2e363d(0x29d)],_0x19aa9a=(_0x4fca0f,_0x314a86,_0x2115e2,_0x3da59b)=>{const _0x113534=_0x2e363d;for(var _0x1f7e50=_0x3da59b>0x1?void 0x0:_0x3da59b?_0x1b14b7(_0x314a86,_0x2115e2):_0x314a86,_0x45ec40=_0x4fca0f[_0x113534(0x1a4)]-0x1,_0x56235a;_0x45ec40>=0x0;_0x45ec40--)(_0x56235a=_0x4fca0f[_0x45ec40])&&(_0x1f7e50=_0x56235a(_0x1f7e50)||_0x1f7e50);return _0x1f7e50;},_0x418d35=(_0x1326a8,_0x223526)=>(_0x2f8845,_0x4810ba)=>_0x223526(_0x2f8845,_0x4810ba,_0x1326a8);_0x1364d3[_0x2e363d(0x394)]=class extends _0x2b43e1[_0x2e363d(0x2bd)]{constructor(_0x5ecb6d,_0x403cf6,_0x2e9ce0,_0x16ea19,_0x1b830d){const _0x4111aa=_0x2e363d;super(),this[_0x4111aa(0x357)]=_0x5ecb6d,this[_0x4111aa(0x30f)]=_0x403cf6,this[_0x4111aa(0x232)]=_0x2e9ce0,this[_0x4111aa(0x39a)]=_0x16ea19,_0x1b830d?_0x1b830d==null||_0x1b830d[_0x4111aa(0x1f2)]()['then'](()=>this[_0x4111aa(0x151)]()):(this[_0x4111aa(0x30f)][_0x4111aa(0x1ef)](_0x4111aa(0x133),_0x4111aa(0x13d)),this[_0x4111aa(0x151)]());}async[_0x2e363d(0x151)](){const _0x3966bc=_0x2e363d,_0xd5b664=this[_0x3966bc(0x357)][_0x3966bc(0x191)](_0x3966bc(0x2e9)),_0x252af8=this[_0x3966bc(0x357)][_0x3966bc(0x191)](_0x3966bc(0x255)),_0x11ac5d=this['_urlService'][_0x3966bc(0x191)](_0x3966bc(0x369));if(!_0xd5b664||!_0x252af8){this[_0x3966bc(0x30f)][_0x3966bc(0x1ef)](_0x3966bc(0x133),_0x3966bc(0x17f));return;}const _0x41e4d5=await this[_0x3966bc(0x39a)][_0x3966bc(0x13c)](_0xd5b664,Number(_0x252af8),_0x11ac5d);_0x41e4d5&&_0x41e4d5 instanceof _0x2b43e1[_0x3966bc(0x1f9)]&&this[_0x3966bc(0x127)](_0x41e4d5);}async[_0x2e363d(0x127)](_0x59e505){const _0x501d60=_0x2e363d;await this['_updateSubUnitFromURLParams'](_0x59e505),_0x59e505[_0x501d60(0x262)][_0x501d60(0x230)](_0x5ad77d[_0x501d60(0x383)](this[_0x501d60(0x223)]))[_0x501d60(0x2d3)](_0x29b24e=>{_0x29b24e&&this['_updateURLWithCurrentState'](_0x29b24e);}),this['_urlService'][_0x501d60(0x327)][_0x501d60(0x230)](_0x5ad77d[_0x501d60(0x383)](this[_0x501d60(0x223)]))[_0x501d60(0x2d3)](()=>this[_0x501d60(0x31e)](_0x59e505));}[_0x2e363d(0x270)](_0x36be7f,_0x17d232=!0x1){const _0x43b3a8=_0x2e363d,_0x1463a3=this[_0x43b3a8(0x357)][_0x43b3a8(0x191)](_0x43b3a8(0x369));_0x36be7f['getSheetId']()!==_0x1463a3&&this[_0x43b3a8(0x357)][_0x43b3a8(0x198)](_0x43b3a8(0x369),_0x36be7f[_0x43b3a8(0x231)](),_0x17d232);}async['_updateSubUnitFromURLParams'](_0x2c70e9){const _0x5e49d6=_0x2e363d;var _0x587099;const _0x417f78=this[_0x5e49d6(0x357)][_0x5e49d6(0x191)](_0x5e49d6(0x369));if(!_0x417f78||!_0x2c70e9[_0x5e49d6(0x2b6)](_0x417f78)){const _0x5c74eb=_0x2c70e9[_0x5e49d6(0x30e)]()[0x0],_0x19c658=_0x2c70e9[_0x5e49d6(0x2b6)](_0x5c74eb);if(!_0x19c658)return;this[_0x5e49d6(0x270)](_0x19c658,!0x0),await this[_0x5e49d6(0x232)][_0x5e49d6(0x3ad)](_0x575825[_0x5e49d6(0x264)]['id'],{'unitId':_0x2c70e9[_0x5e49d6(0x331)](),'subUnitId':_0x5c74eb});return;}((_0x587099=_0x2c70e9[_0x5e49d6(0x237)]())==null?void 0x0:_0x587099[_0x5e49d6(0x231)]())!==_0x417f78&&await this[_0x5e49d6(0x232)][_0x5e49d6(0x3ad)](_0x575825[_0x5e49d6(0x264)]['id'],{'unitId':_0x2c70e9['getUnitId'](),'subUnitId':_0x417f78});}},_0x1364d3['CollaborationDataLoaderController']=_0x19aa9a([_0x418d35(0x0,_0x4b6a35),_0x418d35(0x1,_0x2b43e1[_0x2e363d(0x1dd)]),_0x418d35(0x2,_0x2b43e1['ICommandService']),_0x418d35(0x3,_0x2b43e1[_0x2e363d(0x1f3)](_0x35d81a[_0x2e363d(0x176)])),_0x418d35(0x4,_0x2b43e1[_0x2e363d(0x27b)](_0x3716d4[_0x2e363d(0x328)]))],_0x1364d3[_0x2e363d(0x394)]);var _0x2e5bbe=Object[_0x2e363d(0x29d)],_0x301717=(_0x12fcf9,_0x15ca15,_0x2aaeaf,_0x1d81b1)=>{const _0x15f00f=_0x2e363d;for(var _0x2e2db=_0x1d81b1>0x1?void 0x0:_0x1d81b1?_0x2e5bbe(_0x15ca15,_0x2aaeaf):_0x15ca15,_0x475425=_0x12fcf9[_0x15f00f(0x1a4)]-0x1,_0x5b7eae;_0x475425>=0x0;_0x475425--)(_0x5b7eae=_0x12fcf9[_0x475425])&&(_0x2e2db=_0x5b7eae(_0x2e2db)||_0x2e2db);return _0x2e2db;},_0x1f9433=(_0x190713,_0x317382)=>(_0x2968c9,_0x2218d8)=>_0x317382(_0x2968c9,_0x2218d8,_0x190713);let _0x417996=class{constructor(_0x5b6912,_0x560e96,_0x4b9c6f){this['_injector']=_0x5b6912,this['_transformService']=_0x560e96,this['_renderManagerService']=_0x4b9c6f;}[_0x2e363d(0x1e6)](_0x58e430){const _0x198088=_0x2e363d;this[_0x198088(0x313)](_0x58e430),this[_0x198088(0x1b7)](_0x58e430);}['transformRemoteChangeset'](_0x5d7ca3){const _0x4fc219=_0x2e363d,{unitID:_0x2d16f8}=_0x5d7ca3,_0x278946=this[_0x4fc219(0x311)][_0x4fc219(0x2fc)](_0x2d16f8)[_0x4fc219(0x1b6)](_0x15c8af[_0x4fc219(0x14b)]),{redoCache:_0x3e5f80}=_0x278946['getUndoRedoMutationParamsCache']();if(_0x3e5f80[_0x4fc219(0x1a4)]===0x0)return _0x5d7ca3;let _0x3be1b8=_0x2b43e1[_0x4fc219(0x2af)][_0x4fc219(0x340)](_0x5d7ca3['mutations'][0x0]);for(let _0x5f2e26=0x0;_0x5f2e26<_0x3e5f80[_0x4fc219(0x1a4)];_0x5f2e26++){const _0x18ec2f={'id':_0x4fc219(0x145),'params':{..._0x3e5f80[_0x5f2e26]}},_0x3ae186=this['_transformService'][_0x4fc219(0x175)](_0x3be1b8,_0x18ec2f,!0x1);if(_0x4bbdfc[_0x4fc219(0x2c0)](_0x3ae186))throw _0x3ae186[_0x4fc219(0x139)];_0x3be1b8=_0x3ae186[_0x4fc219(0x30b)];}return{..._0x2b43e1[_0x4fc219(0x2af)][_0x4fc219(0x340)](_0x5d7ca3),'mutations':[_0x3be1b8]};}['_transformUndoRedoStack'](_0x289fba){const _0x3d7c69=_0x2e363d,{unitID:_0x234f6a}=_0x289fba,_0x16fade=this[_0x3d7c69(0x311)][_0x3d7c69(0x2fc)](_0x234f6a)['with'](_0x15c8af['DocIMEInputManagerService']),{undoCache:_0x1291a2,redoCache:_0x19abff}=_0x16fade['getUndoRedoMutationParamsCache']();if(_0x1291a2[_0x3d7c69(0x1a4)]===0x0||_0x19abff[_0x3d7c69(0x1a4)]===0x0)return;const _0x37cd87=[],_0x7ff3b1=[];let _0x53ba67=_0x2b43e1['Tools']['deepClone'](_0x289fba['mutations'][0x0]),_0x336170=_0x2b43e1[_0x3d7c69(0x2af)][_0x3d7c69(0x340)](_0x289fba[_0x3d7c69(0x162)][0x0]);for(let _0x166a1d=_0x1291a2[_0x3d7c69(0x1a4)]-0x1;_0x166a1d>=0x0;_0x166a1d--){const _0x1ed11c={'id':_0x3d7c69(0x145),'params':{..._0x1291a2[_0x166a1d]}},_0x500687={'id':_0x3d7c69(0x145),'params':{..._0x19abff[_0x166a1d]}},_0x3c2604=this[_0x3d7c69(0x2a4)][_0x3d7c69(0x175)](_0x53ba67,_0x1ed11c,!0x1),_0x201262=this[_0x3d7c69(0x2a4)][_0x3d7c69(0x175)](_0x336170,_0x500687,!0x1);if(_0x4bbdfc[_0x3d7c69(0x2c0)](_0x3c2604))throw _0x3c2604[_0x3d7c69(0x139)];if(_0x4bbdfc[_0x3d7c69(0x2c0)](_0x201262))throw _0x201262[_0x3d7c69(0x139)];_0x37cd87['unshift'](_0x3c2604['m2Prime'][_0x3d7c69(0x387)]),_0x7ff3b1['unshift'](_0x201262[_0x3d7c69(0x34c)]['params']),_0x53ba67=_0x3c2604['m1Prime'],_0x336170=_0x201262[_0x3d7c69(0x30b)];}_0x16fade[_0x3d7c69(0x144)]({'undoCache':_0x37cd87,'redoCache':_0x7ff3b1});}[_0x2e363d(0x1b7)](_0x2de74e){const _0x55b684=_0x2e363d,{unitID:_0x30bf04}=_0x2de74e,_0x10145d=this['_renderManagerService'][_0x55b684(0x2fc)](_0x30bf04)['with'](_0x15c8af[_0x55b684(0x14b)]),_0x2b4633=_0x10145d[_0x55b684(0x1e7)]();if(_0x2b4633==null)return;const _0xe3cd5a=[{'id':_0x55b684(0x145),'params':{'unitId':_0x2de74e[_0x55b684(0x1bb)],'actions':null,'textRanges':[_0x2b4633]}}],_0x6e60b7=this[_0x55b684(0x2a4)][_0x55b684(0x1e2)](_0x2de74e,_0xe3cd5a);if(!_0x4bbdfc['isTransformMutationsWithChangesetSuccess'](_0x6e60b7))throw _0x6e60b7[_0x55b684(0x139)];const _0x539130=_0x6e60b7['m2Prime'][0x0][_0x55b684(0x387)][_0x55b684(0x22b)];Array[_0x55b684(0x388)](_0x539130)&&_0x539130['length']&&_0x10145d[_0x55b684(0x329)](_0x539130[0x0]);}};_0x417996=_0x301717([_0x1f9433(0x0,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1[_0x2e363d(0x392)])),_0x1f9433(0x1,_0x4bbdfc[_0x2e363d(0x129)]),_0x1f9433(0x2,_0x4f9ef0[_0x2e363d(0x19e)])],_0x417996);var _0x5a34a5=Object[_0x2e363d(0x29d)],_0x306e2f=(_0x331a85,_0x317f5d,_0x31964c,_0xa2b0c1)=>{for(var _0xe9e518=_0xa2b0c1>0x1?void 0x0:_0xa2b0c1?_0x5a34a5(_0x317f5d,_0x31964c):_0x317f5d,_0x3270ee=_0x331a85['length']-0x1,_0x164a38;_0x3270ee>=0x0;_0x3270ee--)(_0x164a38=_0x331a85[_0x3270ee])&&(_0xe9e518=_0x164a38(_0xe9e518)||_0xe9e518);return _0xe9e518;},_0x7d546c=(_0x1dae00,_0x1d78e5)=>(_0x450c06,_0x3fd723)=>_0x1d78e5(_0x450c06,_0x3fd723,_0x1dae00);let _0x4dbe37=class{constructor(_0x2dd2d7,_0x56d2c2,_0x57de39){const _0xa5de24=_0x2e363d;this[_0xa5de24(0x121)]=_0x2dd2d7,this[_0xa5de24(0x2a4)]=_0x56d2c2,this[_0xa5de24(0x11b)]=_0x57de39;}[_0x2e363d(0x174)](_0x4b39ed){const _0x195ffc=_0x2e363d;this[_0x195ffc(0x37b)](_0x4b39ed);}[_0x2e363d(0x2a2)](_0x40a68f){const _0x3b1878=_0x2e363d,{unitID:_0x7c3ce8}=_0x40a68f,{collaboration:_0x43ad40}=this[_0x3b1878(0x11b)][_0x3b1878(0x278)](_0x7c3ce8);if(_0x43ad40[_0x3b1878(0x1a4)]===0x0)return _0x40a68f;let _0xf6f1cf=_0x2b43e1[_0x3b1878(0x2af)][_0x3b1878(0x340)](_0x40a68f['mutations'][0x0]);for(let _0x221aa6=0x0;_0x221aa6<_0x43ad40[_0x3b1878(0x1a4)];_0x221aa6++){const _0x48a4a1={'id':_0x3b1878(0x145),'params':{'unitId':_0x43ad40[_0x221aa6]['unitId'],..._0x43ad40[_0x221aa6][_0x3b1878(0x1be)]}},_0x1da643=this[_0x3b1878(0x2a4)][_0x3b1878(0x175)](_0xf6f1cf,_0x48a4a1,!0x1);if(_0x4bbdfc[_0x3b1878(0x2c0)](_0x1da643))throw _0x1da643[_0x3b1878(0x139)];_0xf6f1cf=_0x1da643['m1Prime'];}return{..._0x2b43e1[_0x3b1878(0x2af)][_0x3b1878(0x340)](_0x40a68f),'mutations':[_0xf6f1cf]};}[_0x2e363d(0x37b)](_0x294f58){const _0x4b91e3=_0x2e363d,{unitID:_0x3db1d8}=_0x294f58,{history:_0x41ffda,collaboration:_0x5b8aad}=this['_docStateChangeManagerService'][_0x4b91e3(0x278)](_0x3db1d8);if(_0x41ffda['length']===0x0&&_0x5b8aad[_0x4b91e3(0x1a4)]===0x0)return;const _0x55de71=[],_0x140563=[];let _0x3b323a=_0x2b43e1['Tools'][_0x4b91e3(0x340)](_0x294f58[_0x4b91e3(0x162)][0x0]),_0x38a79b=_0x2b43e1[_0x4b91e3(0x2af)]['deepClone'](_0x294f58[_0x4b91e3(0x162)][0x0]);for(let _0x25f312=_0x41ffda[_0x4b91e3(0x1a4)]-0x1;_0x25f312>=0x0;_0x25f312--){const _0x45ed15={'id':_0x4b91e3(0x145),'params':{'unitId':_0x41ffda[_0x25f312][_0x4b91e3(0x32f)],..._0x41ffda[_0x25f312][_0x4b91e3(0x366)]}},_0x33387d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x41ffda[_0x25f312]['unitId'],..._0x41ffda[_0x25f312]['redoState']}},_0x59864d=this[_0x4b91e3(0x2a4)][_0x4b91e3(0x175)](_0x3b323a,_0x45ed15,!0x1),_0x6082f0=this[_0x4b91e3(0x2a4)][_0x4b91e3(0x175)](_0x38a79b,_0x33387d,!0x1);if(_0x4bbdfc[_0x4b91e3(0x2c0)](_0x59864d))throw _0x59864d[_0x4b91e3(0x139)];if(_0x4bbdfc[_0x4b91e3(0x2c0)](_0x6082f0))throw _0x6082f0[_0x4b91e3(0x139)];_0x55de71[_0x4b91e3(0x1fe)]({..._0x41ffda[_0x25f312],'undoState':_0x59864d[_0x4b91e3(0x34c)][_0x4b91e3(0x387)],'redoState':_0x6082f0['m2Prime'][_0x4b91e3(0x387)]}),_0x3b323a=_0x59864d[_0x4b91e3(0x30b)],_0x38a79b=_0x6082f0[_0x4b91e3(0x30b)];}_0x3b323a=_0x2b43e1[_0x4b91e3(0x2af)][_0x4b91e3(0x340)](_0x294f58[_0x4b91e3(0x162)][0x0]),_0x38a79b=_0x2b43e1[_0x4b91e3(0x2af)][_0x4b91e3(0x340)](_0x294f58[_0x4b91e3(0x162)][0x0]);for(let _0x3eefc3=_0x5b8aad['length']-0x1;_0x3eefc3>=0x0;_0x3eefc3--){const _0xd3ab88={'id':_0x4b91e3(0x145),'params':{'unitId':_0x5b8aad[_0x3eefc3][_0x4b91e3(0x32f)],..._0x5b8aad[_0x3eefc3][_0x4b91e3(0x366)]}},_0x5d0cb5={'id':_0x4b91e3(0x145),'params':{'unitId':_0x5b8aad[_0x3eefc3]['unitId'],..._0x5b8aad[_0x3eefc3][_0x4b91e3(0x1be)]}},_0x583921=this[_0x4b91e3(0x2a4)][_0x4b91e3(0x175)](_0x3b323a,_0xd3ab88,!0x1),_0x528c15=this[_0x4b91e3(0x2a4)][_0x4b91e3(0x175)](_0x38a79b,_0x5d0cb5,!0x1);if(_0x4bbdfc[_0x4b91e3(0x2c0)](_0x583921))throw _0x583921[_0x4b91e3(0x139)];if(_0x4bbdfc[_0x4b91e3(0x2c0)](_0x528c15))throw _0x528c15[_0x4b91e3(0x139)];_0x140563[_0x4b91e3(0x1fe)]({..._0x5b8aad[_0x3eefc3],'undoState':_0x583921[_0x4b91e3(0x34c)]['params'],'redoState':_0x528c15[_0x4b91e3(0x34c)]['params']}),_0x3b323a=_0x583921['m1Prime'],_0x38a79b=_0x528c15['m1Prime'];}this[_0x4b91e3(0x11b)][_0x4b91e3(0x168)](_0x3db1d8,{'history':_0x55de71,'collaboration':_0x140563});}};_0x4dbe37=_0x306e2f([_0x7d546c(0x0,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1['Injector'])),_0x7d546c(0x1,_0x4bbdfc[_0x2e363d(0x129)]),_0x7d546c(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x15c8af[_0x2e363d(0x1ac)]))],_0x4dbe37);var _0x16c2a7=Object[_0x2e363d(0x29d)],_0x5026e6=(_0x2ab1c1,_0x4e662c,_0xa137dc,_0x30d3d1)=>{const _0x1d2152=_0x2e363d;for(var _0x1cca31=_0x30d3d1>0x1?void 0x0:_0x30d3d1?_0x16c2a7(_0x4e662c,_0xa137dc):_0x4e662c,_0x188a25=_0x2ab1c1[_0x1d2152(0x1a4)]-0x1,_0x3d8b92;_0x188a25>=0x0;_0x188a25--)(_0x3d8b92=_0x2ab1c1[_0x188a25])&&(_0x1cca31=_0x3d8b92(_0x1cca31)||_0x1cca31);return _0x1cca31;},_0x238b5c=(_0x3d0229,_0x2b26c5)=>(_0x2d426f,_0x136525)=>_0x2b26c5(_0x2d426f,_0x136525,_0x3d0229);let _0x326498=class{constructor(_0x38caec,_0x2f0564){const _0x3caf13=_0x2e363d;this[_0x3caf13(0x121)]=_0x38caec,this[_0x3caf13(0x2a4)]=_0x2f0564;}['transformSelections'](_0x58ef89){const _0x15dd25=_0x2e363d;var _0x54a2f4;const _0x25b64d=this[_0x15dd25(0x121)][_0x15dd25(0x2a6)](_0x854483[_0x15dd25(0x1a8)]),_0x524599=(_0x54a2f4=_0x25b64d[_0x15dd25(0x304)]())!=null?_0x54a2f4:[];if(_0x524599[_0x15dd25(0x1a4)]===0x0)return;const _0x51197e=_0x58ef89[_0x15dd25(0x1bb)],_0x250910=[{'id':_0x15dd25(0x145),'params':{'unitId':_0x51197e,'actions':null,'textRanges':_0x524599}}],_0x6d6af9=this[_0x15dd25(0x2a4)][_0x15dd25(0x1e2)](_0x58ef89,_0x250910);if(!_0x4bbdfc[_0x15dd25(0x1e8)](_0x6d6af9))throw _0x6d6af9['error'];const _0x430a9d=_0x6d6af9['m2Prime'][0x0][_0x15dd25(0x387)][_0x15dd25(0x22b)];Array[_0x15dd25(0x388)](_0x430a9d)&&_0x430a9d[_0x15dd25(0x1a4)]&&_0x25b64d[_0x15dd25(0x3a0)](_0x430a9d,{'unitId':_0x51197e,'subUnitId':_0x51197e},!0x1);}};_0x326498=_0x5026e6([_0x238b5c(0x0,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1['Injector'])),_0x238b5c(0x1,_0x4bbdfc[_0x2e363d(0x129)])],_0x326498);var _0x6ca962=Object[_0x2e363d(0x29d)],_0x51d2fc=(_0x248591,_0x544be8,_0x4930f6,_0x3788b6)=>{const _0x5cf628=_0x2e363d;for(var _0xe4141a=_0x3788b6>0x1?void 0x0:_0x3788b6?_0x6ca962(_0x544be8,_0x4930f6):_0x544be8,_0x399dfc=_0x248591[_0x5cf628(0x1a4)]-0x1,_0x1b4782;_0x399dfc>=0x0;_0x399dfc--)(_0x1b4782=_0x248591[_0x399dfc])&&(_0xe4141a=_0x1b4782(_0xe4141a)||_0xe4141a);return _0xe4141a;},_0x11a89e=(_0x1dd6f2,_0x38b7ba)=>(_0x34e4c8,_0x52b481)=>_0x38b7ba(_0x34e4c8,_0x52b481,_0x1dd6f2);let _0x443ad7=class extends _0x2b43e1['Disposable']{constructor(_0x3b9438,_0x4b36c5,_0x248fe2,_0x45ea25,_0x3753af,_0x5ef1a8,_0x3fa4ef,_0x302fda){const _0x5800b4=_0x2e363d;super(),_0x1b73a5(this,_0x5800b4(0x2b1),new _0x5ad77d[(_0x5800b4(0x146))](_0x35d81a[_0x5800b4(0x28b)][_0x5800b4(0x308)])),(this[_0x5800b4(0x11b)]=_0x3b9438,this[_0x5800b4(0x2fa)]=_0x4b36c5,this[_0x5800b4(0x123)]=_0x248fe2,this[_0x5800b4(0x31c)]=_0x45ea25,this[_0x5800b4(0x271)]=_0x3753af,this[_0x5800b4(0x188)]=_0x5ef1a8,this[_0x5800b4(0x3a2)]=_0x3fa4ef,this[_0x5800b4(0x140)]=_0x302fda,this['_initEntityListener']());}[_0x2e363d(0x1ab)](){const _0x8ab804=_0x2e363d;this[_0x8ab804(0x160)](this['_collaborationController']['entityInit$'][_0x8ab804(0x2d3)](_0x228747=>{const _0x5a8322=_0x8ab804,_0x40fc3a=this[_0x5a8322(0x11b)][_0x5a8322(0x1fa)][_0x5a8322(0x2d3)](_0x53c89b=>{const _0x192654=_0x5a8322;if(_0x53c89b==null)return;const {unitId:_0x55fcac,redoState:_0x5e0c19,commandId:_0x3049b7}=_0x53c89b;if(_0x55fcac!==_0x228747[_0x192654(0x1bb)])return;const _0x3917c4={'id':_0x3049b7,'type':_0x2b43e1[_0x192654(0x13f)]['MUTATION'],'params':{'unitId':_0x55fcac,'actions':_0x5e0c19['actions'],'textRanges':null}};_0x228747[_0x192654(0x244)](_0x3917c4);});if(_0x228747[_0x5a8322(0x160)](_0x40fc3a),_0x228747 instanceof _0x35d81a[_0x5a8322(0x355)]){const _0x32df32={'onTransformIME':_0x5137eb=>this[_0x5a8322(0x123)][_0x5a8322(0x1e6)](_0x5137eb),'onTransformState':_0x41a718=>this[_0x5a8322(0x31c)][_0x5a8322(0x174)](_0x41a718),'onTransformSelections':_0x1e810f=>this[_0x5a8322(0x271)][_0x5a8322(0x256)](_0x1e810f),'onSyncEditingCollabCursor':_0x4a9f4b=>this['_docSyncEditingCollabCursorService'][_0x5a8322(0x33c)](_0x4a9f4b),'onTransformRemoteChangesetByIMECache':_0x2c3829=>this['_docTransformIMECacheService'][_0x5a8322(0x2a2)](_0x2c3829),'onTransformRemoteChangesetByStateCache':_0x2ebec0=>this[_0x5a8322(0x31c)][_0x5a8322(0x2a2)](_0x2ebec0)};_0x228747[_0x5a8322(0x193)](_0x32df32);}}));}};_0x443ad7=_0x51d2fc([_0x11a89e(0x0,_0x2b43e1[_0x2e363d(0x1f3)](_0x15c8af['DocStateChangeManagerService'])),_0x11a89e(0x1,_0x2b43e1[_0x2e363d(0x1f3)](_0x35d81a[_0x2e363d(0x252)])),_0x11a89e(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x417996)),_0x11a89e(0x3,_0x2b43e1[_0x2e363d(0x1f3)](_0x4dbe37)),_0x11a89e(0x4,_0x2b43e1['Inject'](_0x326498)),_0x11a89e(0x5,_0x2b43e1['Inject'](_0x5eda65)),_0x11a89e(0x6,_0x2d250c[_0x2e363d(0x153)]),_0x11a89e(0x7,_0x2b43e1['Inject'](_0x2b43e1[_0x2e363d(0x2c5)]))],_0x443ad7);var _0x91b78=Object['getOwnPropertyDescriptor'],_0x23b014=(_0x5b88a0,_0x57c9e6,_0x467a75,_0x322c8a)=>{const _0x2c09c3=_0x2e363d;for(var _0x51302f=_0x322c8a>0x1?void 0x0:_0x322c8a?_0x91b78(_0x57c9e6,_0x467a75):_0x57c9e6,_0x3a4f30=_0x5b88a0[_0x2c09c3(0x1a4)]-0x1,_0x754c1d;_0x3a4f30>=0x0;_0x3a4f30--)(_0x754c1d=_0x5b88a0[_0x3a4f30])&&(_0x51302f=_0x754c1d(_0x51302f)||_0x51302f);return _0x51302f;},_0x3880e4=(_0x460857,_0x95e71c)=>(_0xbfab9e,_0x534c64)=>_0x95e71c(_0xbfab9e,_0x534c64,_0x460857);let _0x2c6462=class extends _0x2b43e1[_0x2e363d(0x396)]{constructor(_0x5bbba6,_0x3f424f,_0xd6c95d){const _0xf8e666=_0x2e363d;super(),_0x1b73a5(this,'_cachedData',new Map()),_0x1b73a5(this,_0xf8e666(0x166),new Map()),_0x1b73a5(this,'_disabled',!0x1),(this['_configService']=_0x5bbba6,this[_0xf8e666(0x266)]=_0x3f424f,this['_revisionService']=_0xd6c95d);}['disableLocalCache'](){const _0x484d84=_0x2e363d;this[_0x484d84(0x306)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x2e363d(0x119)](){const _0x20aeca=_0x2e363d;return this[_0x20aeca(0x166)];}[_0x2e363d(0x1ad)](){const _0x9f1494=_0x2e363d;this[_0x9f1494(0x38f)]()[_0x9f1494(0x23c)](()=>super['dispose']());}async[_0x2e363d(0x248)](_0xab23f7){const _0x50c723=_0x2e363d;return this[_0x50c723(0x306)]?null:this[_0x50c723(0x266)][_0x50c723(0x23f)](_0x35d81a[_0x50c723(0x16e)](_0xab23f7));}async[_0x2e363d(0x2c7)](_0x4989d6,_0x141b63){const _0x23ab38=_0x2e363d;return!!this[_0x23ab38(0x266)]['setItem'](_0x4989d6,_0x141b63);}[_0x2e363d(0x2eb)](_0x5b9f0e,_0x49e88a,_0x33ff5e,_0x153177){const _0x19cf82=_0x2e363d,_0x5bf8fd=this[_0x19cf82(0x249)]['getCurrentRevOfUnit'](_0x5b9f0e);this[_0x19cf82(0x298)][_0x19cf82(0x2f1)](_0x5b9f0e,{'unitID':_0x5b9f0e,'type':_0x49e88a,'awaitingChangeset':_0x33ff5e,'mutations':_0x153177,'rev':_0x5bf8fd}),this[_0x19cf82(0x166)]['has'](_0x5b9f0e)||this[_0x19cf82(0x2b4)](_0x5b9f0e);}[_0x2e363d(0x2b4)](_0x2db181){const _0xcff047=_0x2e363d,_0x28739a=this[_0xcff047(0x2a0)]();_0x28739a===0x0?this[_0xcff047(0x186)](_0x2db181):this['_saveTaskMap']['set'](_0x2db181,setTimeout(()=>this[_0xcff047(0x186)](_0x2db181),_0x28739a));}[_0x2e363d(0x2a0)](){const _0x1c7cb3=_0x2e363d;var _0x2f600b;return(_0x2f600b=this[_0x1c7cb3(0x25e)][_0x1c7cb3(0x222)](_0x35d81a[_0x1c7cb3(0x16a)]))!=null?_0x2f600b:_0x35d81a[_0x1c7cb3(0x14a)];}[_0x2e363d(0x186)](_0x4b9abf){const _0x34584e=_0x2e363d,_0x1216f5=this['_saveTaskMap'][_0x34584e(0x2a6)](_0x4b9abf);return _0x1216f5!==void 0x0&&window[_0x34584e(0x126)](_0x1216f5),this[_0x34584e(0x266)][_0x34584e(0x32e)](_0x35d81a[_0x34584e(0x16e)](_0x4b9abf),this[_0x34584e(0x298)][_0x34584e(0x2a6)](_0x4b9abf))[_0x34584e(0x23c)](()=>this[_0x34584e(0x166)][_0x34584e(0x360)](_0x4b9abf));}async['exhaustSavingTask'](){const _0x4c9a7d=_0x2e363d,_0x121738=[];this[_0x4c9a7d(0x166)][_0x4c9a7d(0x282)]((_0x479c24,_0x4fdf7a)=>{const _0x4d688b=_0x4c9a7d;window[_0x4d688b(0x126)](_0x479c24),_0x121738[_0x4d688b(0x20a)](this[_0x4d688b(0x186)](_0x4fdf7a)[_0x4d688b(0x23c)](()=>{const _0x1c1631=_0x4d688b;this[_0x1c1631(0x166)][_0x1c1631(0x360)](_0x4fdf7a);}));}),await Promise[_0x4c9a7d(0x219)](_0x121738);}};_0x2c6462=_0x23b014([_0x3880e4(0x0,_0x2b43e1['IConfigService']),_0x3880e4(0x1,_0x2b43e1[_0x2e363d(0x15f)]),_0x3880e4(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x4bbdfc[_0x2e363d(0x337)]))],_0x2c6462);class _0x3576f9 extends _0x2b43e1[_0x2e363d(0x2bd)]{constructor(){const _0x2ecb14=_0x2e363d;super(),_0x1b73a5(this,_0x2ecb14(0x327)),this[_0x2ecb14(0x327)]=_0x5ad77d[_0x2ecb14(0x17b)](window,_0x2ecb14(0x1b9))[_0x2ecb14(0x230)](_0x5ad77d[_0x2ecb14(0x383)](this[_0x2ecb14(0x223)]),_0x5ad77d[_0x2ecb14(0x161)](0x1),_0x5ad77d['mapTo'](void 0x0));}['setParam'](_0x5c7f22,_0x23fd3e,_0x5daabc=!0x1){const _0x278afb=_0x2e363d,_0x552e85=new URL(window[_0x278afb(0x293)][_0x278afb(0x338)]);_0x552e85[_0x278afb(0x34d)]['set'](_0x5c7f22,_0x23fd3e),_0x5daabc?window[_0x278afb(0x135)][_0x278afb(0x296)]('','',_0x552e85[_0x278afb(0x2bf)]()):window['history'][_0x278afb(0x2c6)]('','',_0x552e85['toString']());}[_0x2e363d(0x154)](_0x5eae8a,_0x581148=!0x1){const _0x430cc1=_0x2e363d,_0x1db9bc=new URL(window['location'][_0x430cc1(0x338)]);_0x1db9bc[_0x430cc1(0x34d)]['delete'](_0x5eae8a),_0x581148?window['history'][_0x430cc1(0x296)]('','',_0x1db9bc[_0x430cc1(0x2bf)]()):window[_0x430cc1(0x135)]['pushState']('','',_0x1db9bc[_0x430cc1(0x2bf)]());}[_0x2e363d(0x191)](_0x28078e){const _0xc190f2=_0x2e363d;var _0x1039a7;return(_0x1039a7=new URL(window['location'][_0xc190f2(0x338)])['searchParams']['get'](_0x28078e))!=null?_0x1039a7:void 0x0;}}var _0xdb85f1=Object[_0x2e363d(0x26b)],_0xe7e635=Object[_0x2e363d(0x29d)],_0x376fae=(_0x52493a,_0x12e692,_0x1a4dd7)=>_0x12e692 in _0x52493a?_0xdb85f1(_0x52493a,_0x12e692,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a4dd7}):_0x52493a[_0x12e692]=_0x1a4dd7,_0x1f2bd3=(_0x11979c,_0x170e3c,_0x501b01,_0x18342a)=>{const _0x7d0279=_0x2e363d;for(var _0x6e3f61=_0x18342a>0x1?void 0x0:_0x18342a?_0xe7e635(_0x170e3c,_0x501b01):_0x170e3c,_0x5a3c52=_0x11979c[_0x7d0279(0x1a4)]-0x1,_0x415341;_0x5a3c52>=0x0;_0x5a3c52--)(_0x415341=_0x11979c[_0x5a3c52])&&(_0x6e3f61=_0x415341(_0x6e3f61)||_0x6e3f61);return _0x6e3f61;},_0x4e0fa5=(_0x152e80,_0xa0430b)=>(_0x3297eb,_0x5a8087)=>_0xa0430b(_0x3297eb,_0x5a8087,_0x152e80),_0x3d53d6=(_0x2d7c6c,_0x535c3b,_0x222d6f)=>_0x376fae(_0x2d7c6c,_0x535c3b+'',_0x222d6f);const _0x3f8f45='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x1364d3[_0x2e363d(0x390)]=class extends _0x2b43e1[_0x2e363d(0x192)]{constructor(_0x18e667=_0x3cf9e4,_0x2bebba,_0x291513,_0x454544){const _0x282cf5=_0x2e363d;super(),this[_0x282cf5(0x29e)]=_0x18e667,this['_renderManagerService']=_0x2bebba,this[_0x282cf5(0x121)]=_0x291513,this['_configService']=_0x454544;const {..._0x26e5cf}=_0x2b43e1[_0x282cf5(0x284)]({},_0x3cf9e4,this[_0x282cf5(0x29e)]);this[_0x282cf5(0x25e)]['setConfig'](_0x5094dd,_0x26e5cf);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0x2e363d(0x2c3)](){const _0x848649=_0x2e363d;this[_0x848649(0x356)]();}[_0x2e363d(0x265)](){const _0x21c648=_0x2e363d;var _0x48821a;const _0x178e4e=[[_0x5daa50],[_0x326498],[_0x417996],[_0x4dbe37],[_0x5eda65],[_0x4b6a35,{'useClass':_0x3576f9}],[_0x519894[_0x21c648(0x15d)],{'useClass':_0x519894[_0x21c648(0x2a5)]}],[_0x35d81a['ILocalCacheService'],{'useClass':_0x2c6462}],[_0x1364d3[_0x21c648(0x23b)]],[_0x443ad7],[_0x817f88],[_0x5a14bf],[_0x41c5dd],[_0x1364d3[_0x21c648(0x394)]]];_0x2b43e1[_0x21c648(0x2ee)](this[_0x21c648(0x121)],_0x2b43e1[_0x21c648(0x2ac)](_0x178e4e,(_0x48821a=this[_0x21c648(0x29e)])==null?void 0x0:_0x48821a[_0x21c648(0x13e)]));}[_0x2e363d(0x356)](){const _0x52ef0c=_0x2e363d;this[_0x52ef0c(0x160)](this['_renderManagerService'][_0x52ef0c(0x1f4)](_0x2b43e1[_0x52ef0c(0x322)][_0x52ef0c(0x1bd)],[_0x38ac90])),this[_0x52ef0c(0x160)](this[_0x52ef0c(0x311)][_0x52ef0c(0x1f4)](_0x2b43e1[_0x52ef0c(0x322)][_0x52ef0c(0x138)],[_0x5242c8]));}['_initDependencies'](){const _0x3ccf1b=_0x2e363d;_0x2b43e1[_0x3ccf1b(0x228)](this[_0x3ccf1b(0x121)],[[_0x5a14bf],[_0x1364d3[_0x3ccf1b(0x23b)]],[_0x443ad7],[_0x817f88],[_0x1364d3[_0x3ccf1b(0x394)]]]);}},_0x3d53d6(_0x1364d3[_0x2e363d(0x390)],_0x2e363d(0x380),_0x3f8f45),_0x1364d3[_0x2e363d(0x390)]=_0x1f2bd3([_0x2b43e1[_0x2e363d(0x34b)](_0x35d81a[_0x2e363d(0x236)]),_0x4e0fa5(0x1,_0x4f9ef0[_0x2e363d(0x19e)]),_0x4e0fa5(0x2,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1['Injector'])),_0x4e0fa5(0x3,_0x2b43e1[_0x2e363d(0x334)])],_0x1364d3['UniverCollaborationClientUIPlugin']);var _0x4e96e1=Object[_0x2e363d(0x29d)],_0x14cd10=(_0x2cbec8,_0xa5b2a0,_0x43b4b5,_0x4a5336)=>{const _0x3adb10=_0x2e363d;for(var _0x293b44=_0x4a5336>0x1?void 0x0:_0x4a5336?_0x4e96e1(_0xa5b2a0,_0x43b4b5):_0xa5b2a0,_0x3326f5=_0x2cbec8[_0x3adb10(0x1a4)]-0x1,_0x13a30e;_0x3326f5>=0x0;_0x3326f5--)(_0x13a30e=_0x2cbec8[_0x3326f5])&&(_0x293b44=_0x13a30e(_0x293b44)||_0x293b44);return _0x293b44;},_0xae5226=(_0x5eabd3,_0x3553b4)=>(_0x27fc72,_0x5ebe63)=>_0x3553b4(_0x27fc72,_0x5ebe63,_0x5eabd3);_0x1364d3[_0x2e363d(0x224)]=class extends _0x35d81a['CollaborationSocketService']{constructor(_0x37a42a,_0x4858d0,_0x15fe57,_0x45f54c,_0x3b866e){super(_0x37a42a,_0x4858d0,_0x15fe57,_0x45f54c,_0x3b866e);}async['createSocket'](_0x8b8355){const _0x345623=_0x2e363d,_0x44abfb=await this[_0x345623(0x200)](),_0x57182f=this[_0x345623(0x1d5)](_0x8b8355,_0x44abfb);return this[_0x345623(0x2bb)](_0x57182f);}[_0x2e363d(0x1d5)](_0x23c27c,_0x460996){const _0x3bfc08=_0x2e363d,_0x2b076e=typeof window>'u'?new URL(_0x23c27c):new URL(_0x23c27c,window[_0x3bfc08(0x293)][_0x3bfc08(0x25c)]);_0x2b076e[_0x3bfc08(0x34d)][_0x3bfc08(0x2f1)](_0x3bfc08(0x21b),_0x460996);const _0x340682=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x3bfc08(0x258)]);return _0x340682[_0x3bfc08(0x2a6)](_0x3bfc08(0x229))&&_0x2b076e[_0x3bfc08(0x34d)][_0x3bfc08(0x2f1)]('runId',_0x340682[_0x3bfc08(0x2a6)](_0x3bfc08(0x229))),_0x2b076e[_0x3bfc08(0x2bf)]();}async[_0x2e363d(0x200)](){const _0x26302f=_0x2e363d;var _0x597881,_0x2c5ded,_0x5920ed;const _0x40b978=this[_0x26302f(0x25e)][_0x26302f(0x222)](_0x35d81a[_0x26302f(0x2cd)]),_0x45393a=(_0x597881=_0x40b978==null?void 0x0:_0x40b978[_0x26302f(0x358)])!=null?_0x597881:_0x35d81a[_0x26302f(0x318)];return(_0x5920ed=(_0x2c5ded=(await this['_httpService'][_0x26302f(0x2a6)](_0x45393a,{'headers':{'Content-Type':_0x26302f(0x130)}}))[_0x26302f(0x39b)])==null?void 0x0:_0x2c5ded[_0x26302f(0x319)])!=null?_0x5920ed:'';}},_0x1364d3[_0x2e363d(0x224)]=_0x14cd10([_0xae5226(0x0,_0x2b43e1[_0x2e363d(0x1f3)](_0x2b43e1[_0x2e363d(0x392)])),_0xae5226(0x1,_0x2b43e1['Inject'](_0x519894[_0x2e363d(0x208)])),_0xae5226(0x2,_0x2b43e1[_0x2e363d(0x334)]),_0xae5226(0x3,_0x2b43e1[_0x2e363d(0x1dd)]),_0xae5226(0x4,_0x4bbdfc['ISnapshotServerService'])],_0x1364d3[_0x2e363d(0x224)]);const _0x8fdf59=0x7530,_0x51ea71=_0x2e363d(0x217);class _0x1b25be extends _0x2b43e1[_0x2e363d(0x396)]{constructor(){const _0x1ea439=_0x2e363d;super(),_0x1b73a5(this,_0x1ea439(0x240),_0x2b43e1[_0x1ea439(0x317)]()),_0x1b73a5(this,_0x1ea439(0x170),new Set()),_0x1b73a5(this,_0x1ea439(0x2b0),new Map()),_0x1b73a5(this,'_heartbeatTimer',null),_0x1b73a5(this,_0x1ea439(0x397),new Map()),_0x1b73a5(this,_0x1ea439(0x235),new Map()),this[_0x1ea439(0x151)]();}[_0x2e363d(0x1ad)](){const _0x2a3a6c=_0x2e363d;super[_0x2a3a6c(0x1ad)](),this[_0x2a3a6c(0x397)][_0x2a3a6c(0x282)]((_0x453e5c,_0x4f9057)=>this['_removeClearOtherTimer'](_0x4f9057)),this[_0x2a3a6c(0x263)]&&window[_0x2a3a6c(0x2bc)](this[_0x2a3a6c(0x263)]);}[_0x2e363d(0x24c)](_0x37f9bd){const _0x7ee4e4=_0x2e363d;return this[_0x7ee4e4(0x12f)](_0x37f9bd)[_0x7ee4e4(0x230)](_0x5ad77d['distinctUntilChanged']());}[_0x2e363d(0x1db)](_0x4b260a){const _0x352031=_0x2e363d;this[_0x352031(0x170)][_0x352031(0x27f)]===0x0&&this[_0x352031(0x143)](),this[_0x352031(0x170)]['add'](_0x4b260a),this[_0x352031(0x373)]({'type':0x0,'memberID':this[_0x352031(0x240)],'unitIDs':[_0x4b260a],'isForwarded':!0x1});}['disposeUnit'](_0x4c5abc){const _0x3eee80=_0x2e363d;this[_0x3eee80(0x170)][_0x3eee80(0x360)](_0x4c5abc),this[_0x3eee80(0x170)]['size']===0x0&&this[_0x3eee80(0x263)]&&window['clearInterval'](this[_0x3eee80(0x263)]);}[_0x2e363d(0x151)](){const _0x5567a4=_0x2e363d;this[_0x5567a4(0x160)](_0x2b43e1[_0x5567a4(0x1d6)](_0x5ad77d[_0x5567a4(0x17b)](window,_0x5567a4(0x2ef))['subscribe'](_0x3055ad=>{const _0x5b437f=_0x5567a4;if(_0x3055ad[_0x5b437f(0x1e4)]!==_0x51ea71||!_0x3055ad[_0x5b437f(0x180)])return;const _0x236a55=JSON[_0x5b437f(0x1c9)](_0x3055ad[_0x5b437f(0x180)]);this[_0x5b437f(0x276)](_0x236a55);}))),window[_0x5567a4(0x370)](_0x5567a4(0x35f),()=>this['_send']({'type':0x1,'memberID':this[_0x5567a4(0x240)],'unitIDs':Array[_0x5567a4(0x2de)](this[_0x5567a4(0x170)])}));}[_0x2e363d(0x276)](_0x1f509b){const _0x67624=_0x2e363d;switch(_0x1f509b[_0x67624(0x255)]){case 0x0:this[_0x67624(0x226)](_0x1f509b);break;case 0x1:this['_handleLeaveEvent'](_0x1f509b);break;case 0x2:this[_0x67624(0x23d)](_0x1f509b);break;}}['_handleJoinEvent'](_0x496164){const _0x2bf025=_0x2e363d,{unitIDs:_0x9f0b54,memberID:_0x2ae9a9,isForwarded:_0x5a9a3e}=_0x496164;_0x9f0b54[_0x2bf025(0x282)](_0x72d675=>{const _0x1c2796=_0x2bf025;if(!_0x5a9a3e&&this[_0x1c2796(0x2b0)][_0x1c2796(0x149)](_0x72d675)&&this['_ensureSubject'](_0x72d675)[_0x1c2796(0x320)](_0x35d81a['UnitStatus'][_0x1c2796(0x196)]),!this[_0x1c2796(0x2b0)][_0x1c2796(0x149)](_0x72d675)||!this[_0x1c2796(0x2b0)][_0x1c2796(0x2a6)](_0x72d675)[_0x1c2796(0x149)](_0x2ae9a9)){const _0x9afe9b=this[_0x1c2796(0x2b0)]['get'](_0x72d675)||new Set();_0x9afe9b[_0x1c2796(0x16c)](_0x2ae9a9),this['_unitOnClients'][_0x1c2796(0x2f1)](_0x72d675,_0x9afe9b),this['_scheduleClearOtherTimer'](_0x2ae9a9);}}),_0x5a9a3e||this[_0x2bf025(0x373)]({'type':0x0,'memberID':this[_0x2bf025(0x240)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x2e363d(0x2ea)](_0xede20f){const _0x5766e9=_0x2e363d;this[_0x5766e9(0x1cd)](_0xede20f);const _0xe552a4=window[_0x5766e9(0x211)](()=>{const _0x49c169=_0x5766e9;this[_0x49c169(0x2b0)][_0x49c169(0x282)](_0x5b24ce=>{const _0x597082=_0x49c169;_0x5b24ce[_0x597082(0x360)](_0xede20f);});},_0x8fdf59*0x2);this[_0x5766e9(0x397)][_0x5766e9(0x2f1)](_0xede20f,_0xe552a4);}['_removeClearOtherTimer'](_0x5e4b33){const _0x2956fd=_0x2e363d;if(this[_0x2956fd(0x397)][_0x2956fd(0x149)](_0x5e4b33)){const _0x298bc8=this[_0x2956fd(0x397)][_0x2956fd(0x2a6)](_0x5e4b33);_0x298bc8&&window['clearTimeout'](_0x298bc8),this['_clearOtherTimers']['set'](_0x5e4b33,null);}}['_handleLeaveEvent'](_0xcbb6d9){const {memberID:_0x2a77df,unitIDs:_0x286789}=_0xcbb6d9;_0x286789['forEach'](_0x293b0c=>{const _0x5de589=_0xc513;var _0x39e51f;const _0x2c56a9=this['_unitOnClients'][_0x5de589(0x2a6)](_0x293b0c);_0x2c56a9&&(_0x2c56a9[_0x5de589(0x360)](_0x2a77df),(_0x39e51f=this[_0x5de589(0x12f)](_0x293b0c))==null||_0x39e51f[_0x5de589(0x320)](_0x2c56a9[_0x5de589(0x27f)]===0x0?_0x35d81a[_0x5de589(0x330)][_0x5de589(0x16b)]:_0x35d81a['UnitStatus'][_0x5de589(0x196)]));}),this['_removeClearOtherTimer'](_0x2a77df);}[_0x2e363d(0x23d)](_0x44d17c){const _0x879663=_0x2e363d;this['_scheduleClearOtherTimer'](_0x44d17c[_0x879663(0x2ec)]);}['_send'](_0x4b822f){const _0x5b64d2=_0x2e363d;localStorage['setItem'](_0x51ea71,JSON[_0x5b64d2(0x1dc)](_0x4b822f));}[_0x2e363d(0x143)](){const _0xb65e87=_0x2e363d;this[_0xb65e87(0x263)]=window[_0xb65e87(0x18a)](()=>{const _0x5451b0=_0xb65e87;this[_0x5451b0(0x373)]({'type':0x2,'memberID':this['_id']});},_0x8fdf59);}[_0x2e363d(0x12f)](_0x47c3a7){const _0x3718c7=_0x2e363d;return this['_unitStatus'][_0x3718c7(0x149)](_0x47c3a7)||this[_0x3718c7(0x235)][_0x3718c7(0x2f1)](_0x47c3a7,new _0x5ad77d['BehaviorSubject'](_0x35d81a[_0x3718c7(0x330)][_0x3718c7(0x16b)])),this[_0x3718c7(0x235)][_0x3718c7(0x2a6)](_0x47c3a7);}}var _0x1c5b79=(_0x3b9636=>(_0x3b9636[_0x3b9636['UNDEFINED']=0x0]=_0x2e363d(0x24e),_0x3b9636[_0x3b9636['OK']=0x1]='OK',_0x3b9636[_0x3b9636[_0x2e363d(0x24b)]=0x2]=_0x2e363d(0x24b),_0x3b9636[_0x3b9636[_0x2e363d(0x157)]=0x3]=_0x2e363d(0x157),_0x3b9636[_0x3b9636[_0x2e363d(0x399)]=0x4]='NOT_FOUND',_0x3b9636[_0x3b9636[_0x2e363d(0x11d)]=0x5]=_0x2e363d(0x11d),_0x3b9636[_0x3b9636['ALREADY_EXISTS']=0x6]=_0x2e363d(0x15e),_0x3b9636[_0x3b9636[_0x2e363d(0x1a2)]=0x7]='INVALID_ARGUMENT',_0x3b9636[_0x3b9636[_0x2e363d(0x21e)]=0x8]='TOO_MANY_REQUESTS',_0x3b9636[_0x3b9636['COMPLETION_FINISHED']=0x9]=_0x2e363d(0x359),_0x3b9636[_0x3b9636['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x3b9636[_0x3b9636['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3b9636[_0x3b9636[_0x2e363d(0x1d8)]=0x1771]=_0x2e363d(0x1d8),_0x3b9636[_0x3b9636[_0x2e363d(0x163)]=0x1772]=_0x2e363d(0x163),_0x3b9636[_0x3b9636[_0x2e363d(0x34a)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x3b9636[_0x3b9636[_0x2e363d(0x172)]=0x1b59]=_0x2e363d(0x172),_0x3b9636[_0x3b9636[_0x2e363d(0x142)]=0x1b5a]=_0x2e363d(0x142),_0x3b9636[_0x3b9636['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x2e363d(0x14f),_0x3b9636[_0x3b9636[_0x2e363d(0x21c)]=0x1b5c]=_0x2e363d(0x21c),_0x3b9636[_0x3b9636[_0x2e363d(0x159)]=0x1b5d]=_0x2e363d(0x159),_0x3b9636[_0x3b9636[_0x2e363d(0x2f0)]=0x1f41]=_0x2e363d(0x2f0),_0x3b9636[_0x3b9636[_0x2e363d(0x37d)]=0x2329]=_0x2e363d(0x37d),_0x3b9636[_0x3b9636['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x3b9636[_0x3b9636[_0x2e363d(0x11a)]=0x232b]=_0x2e363d(0x11a),_0x3b9636[_0x3b9636[_0x2e363d(0x16f)]=0x232c]=_0x2e363d(0x16f),_0x3b9636[_0x3b9636['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2e363d(0x2d1),_0x3b9636[_0x3b9636[_0x2e363d(0x3a1)]=0x2711]=_0x2e363d(0x3a1),_0x3b9636[_0x3b9636[_0x2e363d(0x2ab)]=0x2712]=_0x2e363d(0x2ab),_0x3b9636[_0x3b9636[_0x2e363d(0x1eb)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x3b9636[_0x3b9636[_0x2e363d(0x122)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x3b9636[_0x3b9636[_0x2e363d(0x2a3)]=0x271a]=_0x2e363d(0x2a3),_0x3b9636[_0x3b9636['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x2e363d(0x363),_0x3b9636[_0x3b9636[_0x2e363d(0x22e)]=0x271c]=_0x2e363d(0x22e),_0x3b9636[_0x3b9636['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x2e363d(0x3a6),_0x3b9636[_0x3b9636[_0x2e363d(0x1d7)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x3b9636[_0x3b9636['YUUMI_AI_RUN_FAILED']=0x271f]=_0x2e363d(0x1c3),_0x3b9636[_0x3b9636['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x2e363d(0x277),_0x3b9636[_0x3b9636[_0x2e363d(0x349)]=0x2ee1]=_0x2e363d(0x349),_0x3b9636[_0x3b9636[_0x2e363d(0x2ae)]=0x2ee2]='INVALID_INVITE_CODE',_0x3b9636[_0x3b9636['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x3b9636[_0x3b9636[_0x2e363d(0x389)]=0x2ee4]=_0x2e363d(0x389),_0x3b9636[_0x3b9636[_0x2e363d(0x233)]=0x2ee5]=_0x2e363d(0x233),_0x3b9636[_0x3b9636['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x3b9636[_0x3b9636[_0x2e363d(0x120)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x3b9636[_0x3b9636['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2e363d(0x134),_0x3b9636[_0x3b9636[_0x2e363d(0x11e)]=-0x1]=_0x2e363d(0x11e),_0x3b9636))(_0x1c5b79||{}),_0x19f36c=Object[_0x2e363d(0x29d)],_0x419bad=(_0x6e4c4,_0x2c5fea,_0x232efe,_0x833795)=>{for(var _0x208928=_0x833795>0x1?void 0x0:_0x833795?_0x19f36c(_0x2c5fea,_0x232efe):_0x2c5fea,_0x3b9efc=_0x6e4c4['length']-0x1,_0x12db70;_0x3b9efc>=0x0;_0x3b9efc--)(_0x12db70=_0x6e4c4[_0x3b9efc])&&(_0x208928=_0x12db70(_0x208928)||_0x208928);return _0x208928;},_0x4c6e10=(_0x181bf0,_0x4192f7)=>(_0x51453e,_0x1386c4)=>_0x4192f7(_0x51453e,_0x1386c4,_0x181bf0);_0x1364d3[_0x2e363d(0x2ed)]=class extends _0x2b43e1[_0x2e363d(0x396)]{constructor(_0x33c7fa,_0x3e20bb,_0x124985){const _0x448a92=_0x2e363d;super(),this[_0x448a92(0x2e1)]=_0x33c7fa,this[_0x448a92(0x335)]=_0x3e20bb,this[_0x448a92(0x25e)]=_0x124985;}async[_0x2e363d(0x295)](_0x16c49f,_0x34c33a,_0x143541,..._0x286a71){const _0x5af7=_0x2e363d;var _0x59b373,_0x3b979e,_0x342ded,_0x31e20f;const _0x26f00a=this[_0x5af7(0x2e1)][_0x5af7(0x33a)]();if(!_0x26f00a)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x2f57eb=((_0x59b373=this[_0x5af7(0x25e)][_0x5af7(0x222)](_0x35d81a[_0x5af7(0x1de)]))!=null?_0x59b373:_0x35d81a[_0x5af7(0x343)])+'/'+_0x16c49f+'/run/'+_0x34c33a,_0x1b2146=new URL(window[_0x5af7(0x293)][_0x5af7(0x338)]),_0x2046fb={'scriptId':_0x16c49f,'runId':(_0x3b979e=_0x1b2146[_0x5af7(0x34d)][_0x5af7(0x2a6)](_0x5af7(0x229)))!=null?_0x3b979e:'','function':_0x34c33a,'unitId':_0x26f00a['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x286a71),'invokeId':(_0x342ded=_0x143541['invokeId'])!=null?_0x342ded:'','executionId':(_0x31e20f=_0x143541[_0x5af7(0x26f)])!=null?_0x31e20f:''};try{const _0x1c5239=await this[_0x5af7(0x335)][_0x5af7(0x220)](_0x2f57eb,{'body':_0x2046fb});return _0x1c5239[_0x5af7(0x39b)][_0x5af7(0x139)]&&_0x1c5239['body']['error']['code']!==_0x1c5b79['OK']?_0x5af7(0x1df):_0x1c5239[_0x5af7(0x39b)][_0x5af7(0x22f)];}catch{return _0x5af7(0x1df);}}},_0x1364d3[_0x2e363d(0x2ed)]=_0x419bad([_0x4c6e10(0x0,_0x2b43e1['IUniverInstanceService']),_0x4c6e10(0x1,_0x2b43e1[_0x2e363d(0x1f3)](_0x519894[_0x2e363d(0x208)])),_0x4c6e10(0x2,_0x2b43e1[_0x2e363d(0x334)])],_0x1364d3[_0x2e363d(0x2ed)]),_0x1364d3['CollaborationStatusDisplay']=_0x58e3df,_0x1364d3[_0x2e363d(0x32b)]=_0x4b6a35,_0x1364d3['SheetCollabCursorShape']=_0x1366a1,_0x1364d3[_0x2e363d(0x221)]=_0x1b25be,_0x1364d3[_0x2e363d(0x169)]=_0x3576f9,Object[_0x2e363d(0x26b)](_0x1364d3,Symbol['toStringTag'],{'value':_0x2e363d(0x2db)});}));
|
|
1
|
+
(function(_0x282fde,_0x55a950){const _0x51e926=_0x44a6,_0x5a620c=_0x282fde();while(!![]){try{const _0x329831=-parseInt(_0x51e926(0x3f1))/0x1+-parseInt(_0x51e926(0x2d8))/0x2*(-parseInt(_0x51e926(0x45a))/0x3)+-parseInt(_0x51e926(0x25d))/0x4*(-parseInt(_0x51e926(0x21f))/0x5)+parseInt(_0x51e926(0x24e))/0x6*(-parseInt(_0x51e926(0x38d))/0x7)+-parseInt(_0x51e926(0x303))/0x8+-parseInt(_0x51e926(0x376))/0x9*(-parseInt(_0x51e926(0x3bc))/0xa)+-parseInt(_0x51e926(0x2a3))/0xb*(-parseInt(_0x51e926(0x428))/0xc);if(_0x329831===_0x55a950)break;else _0x5a620c['push'](_0x5a620c['shift']());}catch(_0x3e94eb){_0x5a620c['push'](_0x5a620c['shift']());}}}(_0x567f,0x95a6d),function(_0xa74403,_0x1ed216){const _0x351b7c=_0x44a6;typeof exports==_0x351b7c(0x483)&&typeof module<'u'?_0x1ed216(exports,require(_0x351b7c(0x3d2)),require(_0x351b7c(0x271)),require(_0x351b7c(0x3fe)),require(_0x351b7c(0x2ca)),require(_0x351b7c(0x3c3)),require(_0x351b7c(0x477)),require(_0x351b7c(0x246)),require(_0x351b7c(0x3df)),require('@univerjs-pro/collaboration'),require(_0x351b7c(0x2b2)),require(_0x351b7c(0x348)),require(_0x351b7c(0x387)),require(_0x351b7c(0x22e)),require(_0x351b7c(0x21c)),require(_0x351b7c(0x3c0)),require(_0x351b7c(0x3ab)),require(_0x351b7c(0x479)),require(_0x351b7c(0x27a))):typeof define==_0x351b7c(0x319)&&define[_0x351b7c(0x448)]?define(['exports',_0x351b7c(0x3d2),_0x351b7c(0x271),'@univerjs/engine-render',_0x351b7c(0x2ca),'@univerjs/docs-ui',_0x351b7c(0x477),'rxjs',_0x351b7c(0x3df),'@univerjs-pro/collaboration',_0x351b7c(0x2b2),_0x351b7c(0x348),'rxjs/operators',_0x351b7c(0x22e),'react/jsx-runtime','@univerjs/ui',_0x351b7c(0x3ab),_0x351b7c(0x479),_0x351b7c(0x27a)],_0x1ed216):(_0xa74403=typeof globalThis<'u'?globalThis:_0xa74403||self,_0x1ed216(_0xa74403[_0x351b7c(0x3e3)]={},_0xa74403[_0x351b7c(0x305)],_0xa74403['UniverCore'],_0xa74403[_0x351b7c(0x20b)],_0xa74403[_0x351b7c(0x2c9)],_0xa74403[_0x351b7c(0x2f7)],_0xa74403['UniverDrawing'],_0xa74403['rxjs'],_0xa74403[_0x351b7c(0x335)],_0xa74403[_0x351b7c(0x1f8)],_0xa74403[_0x351b7c(0x2f3)],_0xa74403[_0x351b7c(0x221)],_0xa74403[_0x351b7c(0x246)][_0x351b7c(0x418)],_0xa74403[_0x351b7c(0x26d)],_0xa74403[_0x351b7c(0x384)],_0xa74403[_0x351b7c(0x349)],_0xa74403['UniverDesign'],_0xa74403[_0x351b7c(0x384)],_0xa74403[_0x351b7c(0x375)]));}(this,function(_0x2b6d0b,_0x57d487,_0x468931,_0x5d71b0,_0x10caf6,_0x13c110,_0x28266e,_0x946ff9,_0x3b619f,_0x1042b5,_0x3d45f6,_0x35f756,_0x2e4f52,_0x1c415a,_0x50b559,_0x5a4aac,_0x498b76,_0x50701b,_0x4bc5c4){'use strict';const _0x912252=_0x44a6;var _0x595368=Object[_0x912252(0x2c3)],_0x2b7b0c=(_0x47dfd7,_0x253471,_0x358399)=>_0x253471 in _0x47dfd7?_0x595368(_0x47dfd7,_0x253471,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x358399}):_0x47dfd7[_0x253471]=_0x358399,_0x52c450=(_0xec9786,_0x2321a4,_0x2df21f)=>_0x2b7b0c(_0xec9786,typeof _0x2321a4!='symbol'?_0x2321a4+'':_0x2321a4,_0x2df21f),_0x3c0a19=Object[_0x912252(0x289)],_0x4928e1=(_0x4604a9,_0x2566be,_0x2dae70,_0xe42880)=>{const _0x32a90f=_0x912252;for(var _0x114eb6=_0xe42880>0x1?void 0x0:_0xe42880?_0x3c0a19(_0x2566be,_0x2dae70):_0x2566be,_0x1f8afa=_0x4604a9[_0x32a90f(0x414)]-0x1,_0x2e0ca2;_0x1f8afa>=0x0;_0x1f8afa--)(_0x2e0ca2=_0x4604a9[_0x1f8afa])&&(_0x114eb6=_0x2e0ca2(_0x114eb6)||_0x114eb6);return _0x114eb6;},_0x48c637=(_0xeec06c,_0x5235ff)=>(_0xa4328,_0x2dd73b)=>_0x5235ff(_0xa4328,_0x2dd73b,_0xeec06c);let _0xf1d0fc=class extends _0x468931[_0x912252(0x3ba)]{constructor(_0xf2f90d,_0x12074f){const _0x31ffe1=_0x912252;super(),this[_0x31ffe1(0x3e9)]=_0xf2f90d,this[_0x31ffe1(0x311)]=_0x12074f,this[_0x31ffe1(0x48e)]();}[_0x912252(0x48e)](){const _0x3ce2ce=_0x912252,_0x184e55=this;this[_0x3ce2ce(0x3d8)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x17851c=>{const _0x2a1555=_0x3ce2ce,_0x1ecae0=await _0x184e55[_0x2a1555(0x311)]['saveImage'](_0x17851c);return _0x1ecae0?{'source':_0x1ecae0[_0x2a1555(0x2a1)],'imageSourceType':_0x1ecae0[_0x2a1555(0x35d)]}:null;}}));}};_0xf1d0fc=_0x4928e1([_0x48c637(0x0,_0x13c110['IDocClipboardService']),_0x48c637(0x1,_0x28266e['IImageIoService'])],_0xf1d0fc);const _0x364c1b=['purple.300',_0x912252(0x253),_0x912252(0x482),_0x912252(0x36c),_0x912252(0x344),_0x912252(0x247)];class _0xb034cf extends _0x468931[_0x912252(0x3dc)]{constructor(){const _0x460eb1=_0x912252;super(...arguments),_0x52c450(this,'_assignedColors',new Map()),_0x52c450(this,_0x460eb1(0x32f),0x0);}[_0x912252(0x430)](_0x552a59){const _0xc87a54=_0x912252;if(this[_0xc87a54(0x374)][_0xc87a54(0x2a7)](_0x552a59))return this['_assignedColors'][_0xc87a54(0x2ae)](_0x552a59);const _0x3567a8=_0x364c1b[this[_0xc87a54(0x32f)]];return this[_0xc87a54(0x32f)]=(this['_colorIndex']+0x1)%_0x364c1b[_0xc87a54(0x414)],this['_assignedColors'][_0xc87a54(0x382)](_0x552a59,_0x3567a8),_0x3567a8;}}function _0xe385ba(_0x4c6a08){const _0x1fcc96=_0x912252;let _0x47a97f='';for(const _0x2afc9e of _0x4c6a08){const {startOffset:_0x4182ce,endOffset:_0x2d6856,isActive:_0x88b820,rangeType:_0x5d95e1,segmentId:_0x5d675b,segmentPage:_0x469f18}=_0x2afc9e;_0x47a97f[_0x1fcc96(0x414)]&&(_0x47a97f+=','),_0x47a97f+=_0x4182ce+':'+_0x2d6856+':'+(_0x88b820?'1':'0')+':'+_0x5d95e1+':'+_0x5d675b+':'+_0x469f18;}return _0x47a97f;}function _0x586af6(_0x3aae6d){const _0x5ea92b=_0x912252,_0x131715=_0x3aae6d[_0x5ea92b(0x267)](','),_0x221cee=[];for(const _0x236d5f of _0x131715){const [_0x3d9c2d,_0x240a15,_0x1387b4,_0x28c067,_0x354b1b,_0x40634c]=_0x236d5f[_0x5ea92b(0x267)](':');_0x221cee[_0x5ea92b(0x381)]({'startOffset':Number(_0x3d9c2d),'endOffset':Number(_0x240a15),'collapsed':_0x3d9c2d===_0x240a15,'isActive':_0x1387b4==='1','rangeType':_0x28c067===_0x468931[_0x5ea92b(0x34a)][_0x5ea92b(0x449)]?_0x468931['DOC_RANGE_TYPE'][_0x5ea92b(0x449)]:_0x468931[_0x5ea92b(0x34a)][_0x5ea92b(0x42b)],'segmentId':typeof _0x354b1b==_0x5ea92b(0x2d0)?String(_0x354b1b):'','segmentPage':Number(_0x40634c!=null?_0x40634c:-0x1)});}return _0x221cee['some'](_0x50ff40=>_0x50ff40[_0x5ea92b(0x3d5)])||(_0x221cee[0x0]['isActive']=!0x0),_0x221cee;}class _0x360d85 extends _0x468931['RxDisposable']{constructor(){const _0x103eb4=_0x912252;super(...arguments),_0x52c450(this,_0x103eb4(0x28d),new _0x946ff9[(_0x103eb4(0x239))](null)),_0x52c450(this,_0x103eb4(0x42c),this[_0x103eb4(0x28d)][_0x103eb4(0x3ac)]());}[_0x912252(0x1fa)](_0x1bcae4){const _0x53f64c=_0x912252,{unitID:_0x4a9ab7,memberID:_0x38d98c,textRanges:_0x44c07b}=_0x1bcae4,_0x502d42=_0xe385ba(_0x44c07b);if(_0x502d42==='')return;const _0x39aa8f={'unitID':_0x4a9ab7,'memberID':_0x38d98c,'selection':_0x502d42};this[_0x53f64c(0x28d)][_0x53f64c(0x44f)](_0x39aa8f);}}var _0x3b85a8=Object['getOwnPropertyDescriptor'],_0x4a2d88=(_0x64656a,_0x5133f5,_0x23e368,_0x4e186b)=>{const _0x1a07f2=_0x912252;for(var _0x262cd2=_0x4e186b>0x1?void 0x0:_0x4e186b?_0x3b85a8(_0x5133f5,_0x23e368):_0x5133f5,_0x28852e=_0x64656a[_0x1a07f2(0x414)]-0x1,_0x4917d1;_0x28852e>=0x0;_0x28852e--)(_0x4917d1=_0x64656a[_0x28852e])&&(_0x262cd2=_0x4917d1(_0x262cd2)||_0x262cd2);return _0x262cd2;},_0x12eb0e=(_0x18d6c0,_0x4a3b98)=>(_0x32f5fb,_0x55fec4)=>_0x4a3b98(_0x32f5fb,_0x55fec4,_0x18d6c0);const _0x2ec19f=0x12c,_0x367c83=0x64;let _0x55254e=class extends _0x468931[_0x912252(0x3ba)]{constructor(_0x495b08,_0x5a0df4,_0x2acc33,_0x557476,_0x1aa3ac,_0x41f8ac,_0x57aedc,_0x1d9ba1,_0x38df07){const _0x4cdd93=_0x912252;super(),_0x52c450(this,_0x4cdd93(0x30f),!0x1),_0x52c450(this,_0x4cdd93(0x48e),!0x1),_0x52c450(this,'_cursorInfo$',new _0x946ff9[(_0x4cdd93(0x239))](new Map())),_0x52c450(this,_0x4cdd93(0x397),this[_0x4cdd93(0x211)]['asObservable']()),_0x52c450(this,_0x4cdd93(0x37d),new _0x946ff9[(_0x4cdd93(0x239))]([])),_0x52c450(this,_0x4cdd93(0x3d0),this[_0x4cdd93(0x37d)]['pipe'](_0x946ff9['debounceTime'](_0x2ec19f))),_0x52c450(this,_0x4cdd93(0x447),_0x468931['debounce'](_0x1b5710=>{const _0x3a08dc=_0x4cdd93,_0x3d02f1={'eventID':_0x1042b5[_0x3a08dc(0x202)][_0x3a08dc(0x23d)],'data':{'unitID':this[_0x3a08dc(0x2ac)],'memberID':this[_0x3a08dc(0x472)][_0x3a08dc(0x322)](),'selection':_0xe385ba(_0x1b5710)}};this[_0x3a08dc(0x472)][_0x3a08dc(0x3ec)](_0x3d02f1,this[_0x3a08dc(0x2ac)]);},_0x367c83)),(this[_0x4cdd93(0x2ac)]=_0x495b08,this[_0x4cdd93(0x472)]=_0x5a0df4,this[_0x4cdd93(0x457)]=_0x2acc33,this[_0x4cdd93(0x292)]=_0x557476,this[_0x4cdd93(0x330)]=_0x1aa3ac,this['_syncEditingCollabCursorService']=_0x41f8ac,this[_0x4cdd93(0x318)]=_0x57aedc,this[_0x4cdd93(0x31b)]=_0x1d9ba1,this[_0x4cdd93(0x391)]=_0x38df07);}get[_0x912252(0x3f0)](){return this['_cursorInfo$']['getValue']();}get[_0x912252(0x3c1)](){const _0x34de9f=_0x912252;return this[_0x34de9f(0x37d)]['getValue']();}[_0x912252(0x3ae)](){const _0x4fe5b4=_0x912252;super['dispose'](),this[_0x4fe5b4(0x211)][_0x4fe5b4(0x44f)](new Map()),this[_0x4fe5b4(0x211)]['complete'](),this[_0x4fe5b4(0x37d)][_0x4fe5b4(0x44f)]([]),this['_roomMembers$'][_0x4fe5b4(0x336)]();}[_0x912252(0x2e9)](){const _0x41b34a=_0x912252;this[_0x41b34a(0x48e)]||(this['_init']=!0x0,this[_0x41b34a(0x472)][_0x41b34a(0x463)][_0x41b34a(0x252)](_0x946ff9[_0x41b34a(0x3a7)](this[_0x41b34a(0x41b)]))[_0x41b34a(0x38c)](_0x2f7fcd=>{const _0x27ffb4=_0x41b34a;_0x2f7fcd===_0x57d487[_0x27ffb4(0x3e1)][_0x27ffb4(0x276)]?this[_0x27ffb4(0x23f)]():this['_toggleOffline']();}),this[_0x41b34a(0x472)][_0x41b34a(0x44c)][_0x41b34a(0x252)](_0x946ff9['takeUntil'](this['dispose$']))[_0x41b34a(0x38c)](_0x181238=>{const _0x5263b5=_0x41b34a,_0x3abe95=_0x181238[_0x5263b5(0x48a)];_0x3abe95===_0x1042b5['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x5263b5(0x443)](_0x181238),_0x3abe95===_0x1042b5['CollaborationEvent'][_0x5263b5(0x261)]&&this[_0x5263b5(0x399)](_0x181238);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x5e6718=>{const _0x1eca81=_0x41b34a,_0x177350=_0x5e6718['params'];_0x177350!=null&&this['_online']&&_0x5e6718['id']===_0x3b619f[_0x1eca81(0x234)]['id']&&_0x177350['unitId']===this[_0x1eca81(0x2ac)]&&_0x177350['isEditing']===!0x1&&_0x177350[_0x1eca81(0x26a)][_0x1eca81(0x414)]>0x0&&this['_updateLocalCursor'](_0x177350[_0x1eca81(0x26a)]);})),this[_0x41b34a(0x3d7)][_0x41b34a(0x42c)][_0x41b34a(0x252)](_0x946ff9[_0x41b34a(0x3a7)](this['dispose$']))[_0x41b34a(0x38c)](_0xa598c2=>{const _0x429f90=_0x41b34a;if((_0xa598c2==null?void 0x0:_0xa598c2[_0x429f90(0x2ac)])!==this['unitID'])return;const _0x10f3a9={'eventID':_0x1042b5[_0x429f90(0x202)][_0x429f90(0x23d)],'data':_0xa598c2};this[_0x429f90(0x443)](_0x10f3a9);}),this[_0x41b34a(0x3d8)](this[_0x41b34a(0x391)][_0x41b34a(0x3f7)](_0x5450aa=>{const _0x1b5f76=_0x41b34a;if(_0x5450aa[_0x1b5f76(0x43d)]==null)return;const _0x5aa760=_0x5450aa[_0x1b5f76(0x43d)];if(_0x5450aa['id']!==_0x3b619f[_0x1b5f76(0x453)]['id']||_0x5aa760[_0x1b5f76(0x25e)]!==this[_0x1b5f76(0x2ac)])return;const _0x5e14b6={'id':'doc.mutation.rich-text-editing','params':_0x5aa760},_0x34897d=this[_0x1b5f76(0x3f0)];for(const [_0x4dba95,_0x3ee099]of _0x34897d){const _0x3fe806={'id':_0x1b5f76(0x46d),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3ee099[_0x1b5f76(0x26a)]}},_0x1ebbae=this[_0x1b5f76(0x318)][_0x1b5f76(0x314)](_0x5e14b6,_0x3fe806,!0x1);if(_0x1042b5[_0x1b5f76(0x337)](_0x1ebbae))throw _0x1ebbae[_0x1b5f76(0x2b4)];_0x34897d[_0x1b5f76(0x382)](_0x4dba95,{..._0x3ee099,'ranges':_0x1ebbae['m2Prime'][_0x1b5f76(0x43d)][_0x1b5f76(0x407)]});}queueMicrotask(()=>{const _0x5b1bc6=_0x1b5f76;this[_0x5b1bc6(0x211)][_0x5b1bc6(0x44f)](_0x34897d);});})));}[_0x912252(0x443)](_0x573579){const _0xd5d1f5=_0x912252;var _0x311c41,_0x59ffdf;const {memberID:_0x145e9f,selection:_0x437253}=_0x573579[_0xd5d1f5(0x293)],_0x151f9f=_0x586af6(_0x437253),_0x2d4812=(_0x59ffdf=(_0x311c41=this[_0xd5d1f5(0x330)][_0xd5d1f5(0x48f)](this[_0xd5d1f5(0x2ac)],_0x145e9f))==null?void 0x0:_0x311c41[_0xd5d1f5(0x3b9)])!=null?_0x59ffdf:_0xd5d1f5(0x34e),_0x2b88cf={'color':this[_0xd5d1f5(0x292)]['assignAColorForMemberID'](_0x145e9f),'name':_0x2d4812,'ranges':_0x151f9f},_0x34d2e5=this[_0xd5d1f5(0x3f0)];_0x34d2e5[_0xd5d1f5(0x382)](_0x145e9f,_0x2b88cf),this[_0xd5d1f5(0x211)][_0xd5d1f5(0x44f)](_0x34d2e5);}[_0x912252(0x399)](_0x51ad72){const _0x1eb5dc=_0x912252,{memberID:_0x4fe612}=_0x51ad72['data'],_0x22261f=this['cursorInfo'];_0x22261f[_0x1eb5dc(0x1f9)](_0x4fe612),this[_0x1eb5dc(0x211)][_0x1eb5dc(0x44f)](_0x22261f);}[_0x912252(0x23f)](){const _0x25fca5=_0x912252;var _0x598fd0;if(this[_0x25fca5(0x30f)]=!0x0,((_0x598fd0=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x598fd0[_0x25fca5(0x2e8)]())!==this[_0x25fca5(0x2ac)])return;const _0x23fa12=this[_0x25fca5(0x457)][_0x25fca5(0x2ae)](_0x3b619f[_0x25fca5(0x409)])['getDocRanges']();Array[_0x25fca5(0x2d5)](_0x23fa12)&&_0x23fa12['length']>0x0&&this[_0x25fca5(0x447)](_0x23fa12);}[_0x912252(0x302)](){const _0x43e64f=_0x912252;this[_0x43e64f(0x30f)]=!0x1;}};_0x55254e=_0x4a2d88([_0x12eb0e(0x2,_0x468931[_0x912252(0x37e)](_0x468931[_0x912252(0x1fd)])),_0x12eb0e(0x3,_0x468931[_0x912252(0x37e)](_0xb034cf)),_0x12eb0e(0x4,_0x468931[_0x912252(0x37e)](_0x57d487[_0x912252(0x393)])),_0x12eb0e(0x5,_0x468931[_0x912252(0x37e)](_0x360d85)),_0x12eb0e(0x6,_0x1042b5[_0x912252(0x3f3)]),_0x12eb0e(0x7,_0x468931['IUniverInstanceService']),_0x12eb0e(0x8,_0x468931[_0x912252(0x3fa)])],_0x55254e);var _0x296e75=Object['getOwnPropertyDescriptor'],_0x1cacd5=(_0x4a1ce3,_0x36f9b2,_0x18d429,_0x4a89a5)=>{for(var _0x2a5fe2=_0x4a89a5>0x1?void 0x0:_0x4a89a5?_0x296e75(_0x36f9b2,_0x18d429):_0x36f9b2,_0x16cba5=_0x4a1ce3['length']-0x1,_0x5dc95f;_0x16cba5>=0x0;_0x16cba5--)(_0x5dc95f=_0x4a1ce3[_0x16cba5])&&(_0x2a5fe2=_0x5dc95f(_0x2a5fe2)||_0x2a5fe2);return _0x2a5fe2;},_0x3aac02=(_0x50f4d4,_0x5699ba)=>(_0xf74920,_0x37f350)=>_0x5699ba(_0xf74920,_0x37f350,_0x50f4d4);const _0x47e8b1=0x12c,_0x104ff9=0x64,_0x598ce9=()=>{let _0x7a01cb=[],_0x19f71f=!0x1;return _0x6e32ff=>{_0x7a01cb['push'](_0x6e32ff),_0x19f71f||(_0x19f71f=!0x0,setTimeout(()=>{const _0x5af3dc=_0x44a6;_0x7a01cb[_0x5af3dc(0x2fc)](_0x2f0625=>_0x2f0625()),_0x7a01cb=[],_0x19f71f=!0x1;}));};};let _0xe6db79=class extends _0x468931[_0x912252(0x3ba)]{constructor(_0x31d7b5,_0x951a8,_0x29f28f,_0x508471,_0x1b3d22,_0x24ec51,_0x59f8ac,_0x3719bb){const _0x262a21=_0x912252;super(),_0x52c450(this,'_online',!0x1),_0x52c450(this,'_init',!0x1),_0x52c450(this,'_cursorInfo$',new _0x946ff9['BehaviorSubject'](new Map())),_0x52c450(this,'cursorInfo$',this['_cursorInfo$'][_0x262a21(0x3ac)]()),_0x52c450(this,_0x262a21(0x37d),new _0x946ff9[(_0x262a21(0x239))]([])),_0x52c450(this,'roomMembers$',this['_roomMembers$'][_0x262a21(0x252)](_0x946ff9['debounceTime'](_0x47e8b1))),_0x52c450(this,_0x262a21(0x447),_0x468931[_0x262a21(0x343)]((_0x163b0c,_0x3ecb61)=>{const _0x36406f=_0x262a21,_0x542886={'eventID':_0x1042b5[_0x36406f(0x202)][_0x36406f(0x23d)],'data':{'unitID':this[_0x36406f(0x2ac)],'memberID':this[_0x36406f(0x472)][_0x36406f(0x322)](),'selection':_0x3d45f6['serializeRangeWithSheet'](_0x163b0c,_0x3ecb61[_0x36406f(0x464)])}};this[_0x36406f(0x472)]['send'](_0x542886,this[_0x36406f(0x2ac)]);},_0x104ff9)),(this['unitID']=_0x31d7b5,this[_0x262a21(0x472)]=_0x951a8,this[_0x262a21(0x457)]=_0x29f28f,this[_0x262a21(0x292)]=_0x508471,this[_0x262a21(0x330)]=_0x1b3d22,this[_0x262a21(0x31b)]=_0x24ec51,this['_commandService']=_0x59f8ac,this[_0x262a21(0x2d3)]=_0x3719bb);}get[_0x912252(0x3f0)](){const _0x2064e5=_0x912252;return this[_0x2064e5(0x211)]['getValue']();}get[_0x912252(0x3c1)](){const _0x2e072d=_0x912252;return this['_roomMembers$'][_0x2e072d(0x31a)]();}['dispose'](){const _0x58803b=_0x912252;super[_0x58803b(0x3ae)](),this['_cursorInfo$'][_0x58803b(0x44f)](new Map()),this['_cursorInfo$'][_0x58803b(0x336)](),this[_0x58803b(0x37d)][_0x58803b(0x44f)]([]),this[_0x58803b(0x37d)][_0x58803b(0x336)]();}[_0x912252(0x2e9)](){const _0x374728=_0x912252;this[_0x374728(0x48e)]||(this[_0x374728(0x48e)]=!0x0,this[_0x374728(0x472)][_0x374728(0x463)][_0x374728(0x252)](_0x946ff9[_0x374728(0x3a7)](this[_0x374728(0x41b)]))['subscribe'](_0x28e210=>{const _0x176d95=_0x374728;_0x28e210===_0x57d487[_0x176d95(0x3e1)][_0x176d95(0x276)]?this['_toggleOnline']():this[_0x176d95(0x302)]();}),this[_0x374728(0x472)][_0x374728(0x44c)][_0x374728(0x252)](_0x946ff9[_0x374728(0x3a7)](this['dispose$']))[_0x374728(0x38c)](_0x1bbab2=>{const _0x172420=_0x374728,_0x1293d6=_0x1bbab2[_0x172420(0x48a)];_0x1293d6===_0x1042b5[_0x172420(0x202)][_0x172420(0x23d)]&&this[_0x172420(0x443)](_0x1bbab2),_0x1293d6===_0x1042b5[_0x172420(0x202)][_0x172420(0x261)]&&this[_0x172420(0x399)](_0x1bbab2);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x374728(0x391)]['onCommandExecuted'](_0x58b9ae=>{const _0x37553d=_0x374728;if(this[_0x37553d(0x30f)]&&_0x58b9ae['id']===_0x35f756[_0x37553d(0x32b)]['id']&&_0x58b9ae[_0x37553d(0x43d)][_0x37553d(0x25e)]===this[_0x37553d(0x2ac)]){const _0x437998=_0x58b9ae[_0x37553d(0x43d)];this[_0x37553d(0x447)](_0x437998['subUnitId'],_0x437998[_0x37553d(0x250)][0x0]);}})));}[_0x912252(0x443)](_0x1eefb5){const _0x535432=_0x912252;var _0x3e08bf,_0x159f22;const {memberID:_0xccb2b8,selection:_0x38f9ca}=_0x1eefb5['data'],{sheetName:_0x2efcc6,range:_0x27b868}=_0x3d45f6[_0x535432(0x2f0)](_0x38f9ca),_0x5a466d={'name':(_0x159f22=(_0x3e08bf=this[_0x535432(0x330)]['getMember'](this[_0x535432(0x2ac)],_0xccb2b8))==null?void 0x0:_0x3e08bf[_0x535432(0x3b9)])!=null?_0x159f22:_0x535432(0x34e),'range':this['_getMergeRange'](_0x2efcc6,_0x27b868),'sheetID':_0x2efcc6,'color':this['_colorAssignService'][_0x535432(0x430)](_0xccb2b8),'selection':_0x38f9ca},_0xf94cab=this['cursorInfo'];_0xf94cab[_0x535432(0x382)](_0xccb2b8,_0x5a466d),this[_0x535432(0x211)][_0x535432(0x44f)](_0xf94cab);}['_onCursorDelete'](_0x5bf146){const _0x351004=_0x912252,{memberID:_0x36827a}=_0x5bf146[_0x351004(0x293)],_0x37c02f=this['cursorInfo'];_0x37c02f[_0x351004(0x1f9)](_0x36827a),this[_0x351004(0x211)]['next'](_0x37c02f);}[_0x912252(0x40c)](_0x1af691,_0x1696a0){const _0x3a3fde=_0x912252;var _0x1f0d6d,_0x2b006b;const _0x1da9b6=(_0x2b006b=(_0x1f0d6d=this['_univerInstanceService'][_0x3a3fde(0x326)](this['unitID']))==null?void 0x0:_0x1f0d6d['getSheetBySheetId'](_0x1af691))==null?void 0x0:_0x2b006b[_0x3a3fde(0x408)]();return(_0x1da9b6==null?void 0x0:_0x1da9b6[_0x3a3fde(0x29e)](_0x3b7ee8=>_0x468931[_0x3a3fde(0x301)][_0x3a3fde(0x2da)](_0x3b7ee8,_0x1696a0)))||_0x1696a0;}[_0x912252(0x38f)](){const _0x675b78=_0x912252,_0x16777d=new _0x468931[(_0x675b78(0x350))](),_0x24cc64=_0x598ce9(),_0x4e3690=()=>{const _0x16e006=_0x675b78;_0x16777d['dispose']();const _0x1dce77=(_0x1d3c56,_0x1482a8,_0x5e56a8,_0x4a6633)=>{const _0x14de29=_0x44a6;let _0x4d8353=[];switch(_0x1d3c56['id']){case _0x35f756[_0x14de29(0x3e7)][_0x14de29(0x22b)]:{_0x4d8353=_0x35f756[_0x14de29(0x21b)](_0x1d3c56,_0x4a6633);break;}case _0x35f756[_0x14de29(0x3e7)][_0x14de29(0x207)]:{_0x4d8353=_0x35f756[_0x14de29(0x2b1)](_0x1d3c56,_0x4a6633);break;}case _0x35f756['EffectRefRangId'][_0x14de29(0x37a)]:{_0x4d8353=_0x35f756[_0x14de29(0x254)](_0x1d3c56,_0x4a6633);break;}case _0x35f756[_0x14de29(0x3e7)][_0x14de29(0x258)]:{_0x4d8353=_0x35f756[_0x14de29(0x2f8)](_0x1d3c56,_0x4a6633);break;}case _0x35f756['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x4d8353=_0x35f756[_0x14de29(0x327)](_0x1d3c56,_0x4a6633);break;}case _0x35f756[_0x14de29(0x3e7)][_0x14de29(0x27b)]:{_0x4d8353=_0x35f756[_0x14de29(0x3ea)](_0x1d3c56,_0x4a6633);break;}case _0x35f756[_0x14de29(0x3e7)][_0x14de29(0x425)]:{_0x4d8353=_0x35f756[_0x14de29(0x2df)](_0x1d3c56,_0x4a6633);break;}case _0x35f756[_0x14de29(0x3e7)][_0x14de29(0x283)]:{_0x4d8353=_0x35f756[_0x14de29(0x296)](_0x1d3c56,_0x4a6633);break;}case _0x35f756[_0x14de29(0x3e7)][_0x14de29(0x441)]:{_0x4d8353=_0x35f756[_0x14de29(0x424)](_0x1d3c56,_0x4a6633);break;}}const _0x238def=_0x35f756[_0x14de29(0x3cd)](_0x4d8353,_0x4a6633),_0x2e9ee1=this[_0x14de29(0x3f0)][_0x14de29(0x2ae)](_0x1482a8);if(_0x2e9ee1&&_0x238def){const _0x276c9f={..._0x2e9ee1,'range':_0x238def};this['cursorInfo']['set'](_0x1482a8,_0x276c9f),_0x24cc64(()=>{const _0x1a4985=_0x14de29,_0x4ffbac=this[_0x1a4985(0x2d3)]['registerRefRange'](_0x238def,_0x486209=>(_0x4ffbac['dispose'](),_0x1dce77(_0x486209,_0x1482a8,_0x5e56a8,_0x238def)));_0x16777d[_0x1a4985(0x3d4)](_0x4ffbac);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x16e006(0x2fc)]((_0x5f4c84,_0x3d0654)=>{const _0x34eef8=_0x16e006,{range:_0x12ee15,sheetID:_0x742ffb}=_0x5f4c84,_0x5b91d7=this[_0x34eef8(0x2d3)][_0x34eef8(0x1fe)](_0x12ee15,_0xc229e2=>(_0x5b91d7[_0x34eef8(0x3ae)](),_0x1dce77(_0xc229e2,_0x3d0654,_0x742ffb,_0x12ee15)));_0x16777d[_0x34eef8(0x3d4)](_0x5b91d7);});};this[_0x675b78(0x3d8)](_0x468931[_0x675b78(0x42d)](this['_cursorInfo$'][_0x675b78(0x38c)](()=>{_0x4e3690();})));}[_0x912252(0x23f)](){const _0x4399c4=_0x912252;var _0x4ec783,_0x535e28;if(this['_online']=!0x0,((_0x4ec783=this['_univerInstanceService'][_0x4399c4(0x29c)]())==null?void 0x0:_0x4ec783['getUnitId']())!==this[_0x4399c4(0x2ac)])return;const _0x3bf46b=(_0x535e28=this[_0x4399c4(0x457)][_0x4399c4(0x2ae)](_0x35f756[_0x4399c4(0x3c8)])[_0x4399c4(0x452)]())==null?void 0x0:_0x535e28[0x0],_0x4343a1=this['_univerInstanceService']['getCurrentUnitForType'](_0x468931[_0x4399c4(0x329)]['UNIVER_SHEET'])[_0x4399c4(0x23c)]();_0x3bf46b&&_0x4343a1&&this[_0x4399c4(0x447)](_0x4343a1['getSheetId'](),_0x3bf46b);}['_toggleOffline'](){this['_online']=!0x1;}};_0xe6db79=_0x1cacd5([_0x3aac02(0x2,_0x468931[_0x912252(0x37e)](_0x468931['Injector'])),_0x3aac02(0x3,_0x468931[_0x912252(0x37e)](_0xb034cf)),_0x3aac02(0x4,_0x468931['Inject'](_0x57d487[_0x912252(0x393)])),_0x3aac02(0x5,_0x468931[_0x912252(0x47c)]),_0x3aac02(0x6,_0x468931[_0x912252(0x3fa)]),_0x3aac02(0x7,_0x468931[_0x912252(0x37e)](_0x35f756[_0x912252(0x3c2)]))],_0xe6db79);var _0x5a0afe=Object['getOwnPropertyDescriptor'],_0x5f142d=(_0x153bd6,_0x51ea02,_0x479645,_0x365051)=>{const _0xd6cace=_0x912252;for(var _0x2eff32=_0x365051>0x1?void 0x0:_0x365051?_0x5a0afe(_0x51ea02,_0x479645):_0x51ea02,_0x385938=_0x153bd6[_0xd6cace(0x414)]-0x1,_0x35aff3;_0x385938>=0x0;_0x385938--)(_0x35aff3=_0x153bd6[_0x385938])&&(_0x2eff32=_0x35aff3(_0x2eff32)||_0x2eff32);return _0x2eff32;},_0xc9e39e=(_0x1863e5,_0x3b41eb)=>(_0x48ead2,_0x1196dd)=>_0x3b41eb(_0x48ead2,_0x1196dd,_0x1863e5);let _0x59a198=class extends _0x468931[_0x912252(0x3ba)]{constructor(_0x3791a3,_0x310907,_0x57629e){const _0x5d40a8=_0x912252;super(),_0x52c450(this,_0x5d40a8(0x200),new Map()),_0x52c450(this,_0x5d40a8(0x338),new _0x946ff9['Subject']()),(this[_0x5d40a8(0x31b)]=_0x3791a3,this['_injector']=_0x310907,this[_0x5d40a8(0x355)]=_0x57629e,this[_0x5d40a8(0x48e)]());}[_0x912252(0x3ae)](){const _0x2b3238=_0x912252;super['dispose'](),this[_0x2b3238(0x338)][_0x2b3238(0x336)](),this[_0x2b3238(0x200)][_0x2b3238(0x2fc)](_0x317d71=>_0x317d71[_0x2b3238(0x3ae)]());}[_0x912252(0x3a6)](_0x5bdcaa){const _0x2e0907=_0x912252;return this[_0x2e0907(0x200)]['has'](_0x5bdcaa)?this[_0x2e0907(0x200)][_0x2e0907(0x2ae)](_0x5bdcaa)[_0x2e0907(0x397)]:this['_entityInit$']['pipe'](_0x946ff9[_0x2e0907(0x28a)](_0x288852=>_0x288852[_0x2e0907(0x2ac)]===_0x5bdcaa),_0x946ff9[_0x2e0907(0x461)](_0x5a50a1=>_0x5a50a1['cursorInfo$']));}[_0x912252(0x48e)](){const _0x367f37=_0x912252;this['_univerInstanceService'][_0x367f37(0x2e5)](_0x468931[_0x367f37(0x329)]['UNIVER_SHEET'])[_0x367f37(0x252)](_0x946ff9['takeUntil'](this[_0x367f37(0x41b)]))['subscribe'](async _0x4ada1f=>{const _0x5b5aa1=_0x367f37,_0x5c89ac=_0x4ada1f['getUnitId'](),_0x2cc1a1=await this[_0x5b5aa1(0x351)](_0x5c89ac);this['_entityInit$'][_0x5b5aa1(0x44f)](_0x2cc1a1),this[_0x5b5aa1(0x200)][_0x5b5aa1(0x382)](_0x5c89ac,_0x2cc1a1);}),this[_0x367f37(0x31b)]['getTypeOfUnitAdded$'](_0x468931['UniverInstanceType'][_0x367f37(0x475)])[_0x367f37(0x252)](_0x946ff9[_0x367f37(0x3a7)](this[_0x367f37(0x41b)]))['pipe'](_0x946ff9[_0x367f37(0x28a)](_0x389f79=>!_0x389f79['getUnitId']()['startsWith']('__')))[_0x367f37(0x38c)](async _0x5e2d6c=>{const _0x153881=_0x367f37,_0x496717=_0x5e2d6c[_0x153881(0x2e8)](),_0x5bb0d6=await this[_0x153881(0x272)](_0x496717);this[_0x153881(0x338)][_0x153881(0x44f)](_0x5bb0d6),this[_0x153881(0x200)][_0x153881(0x382)](_0x496717,_0x5bb0d6);}),_0x946ff9[_0x367f37(0x24a)](this[_0x367f37(0x31b)]['getTypeOfUnitDisposed$'](_0x468931['UniverInstanceType'][_0x367f37(0x475)]),this[_0x367f37(0x31b)]['getTypeOfUnitDisposed$'](_0x468931[_0x367f37(0x329)][_0x367f37(0x1ff)]))[_0x367f37(0x252)](_0x946ff9['takeUntil'](this['dispose$']))[_0x367f37(0x38c)](_0x227e30=>{const _0x82f8a4=_0x367f37,_0x2d0d62=_0x227e30['getUnitId'](),_0x2de947=this['_entities'][_0x82f8a4(0x2ae)](_0x2d0d62);_0x2de947&&(_0x2de947['dispose'](),this['_entities'][_0x82f8a4(0x1f9)](_0x2d0d62));});}async[_0x912252(0x351)](_0x240504){const _0x4544b1=_0x912252,_0x440bb5=await this['_collabSessionService'][_0x4544b1(0x251)](_0x240504),_0x364c33=this['_injector']['createInstance'](_0xe6db79,_0x240504,_0x440bb5);return _0x364c33[_0x4544b1(0x2e9)](),_0x364c33;}async[_0x912252(0x272)](_0x4649a3){const _0x3cb95f=_0x912252,_0xa9c58=await this[_0x3cb95f(0x355)][_0x3cb95f(0x251)](_0x4649a3),_0x218a43=this['_injector'][_0x3cb95f(0x233)](_0x55254e,_0x4649a3,_0xa9c58);return _0x218a43[_0x3cb95f(0x2e9)](),_0x218a43;}};_0x59a198=_0x5f142d([_0xc9e39e(0x0,_0x468931['IUniverInstanceService']),_0xc9e39e(0x1,_0x468931[_0x912252(0x37e)](_0x468931[_0x912252(0x1fd)])),_0xc9e39e(0x2,_0x468931['Inject'](_0x57d487[_0x912252(0x476)]))],_0x59a198);const _0x244c9d=0x14,_0x2286a2=0xc8,_0x1bed4f=0x4,_0x50e1fb=0x5;function _0x3ddb88(_0xf84ce9,_0x4e8e6e){const _0x473b32=_0x912252;let {radius:_0x27d86c,width:_0x22d128,height:_0x1b2a10}=_0x4e8e6e;_0x27d86c=_0x27d86c!=null?_0x27d86c:0x0,_0x22d128=_0x22d128!=null?_0x22d128:0x1e,_0x1b2a10=_0x1b2a10!=null?_0x1b2a10:0x1e;let _0x4cc060=0x0,_0x29449b=0x0,_0x58ce97=0x0;_0x4cc060=_0x29449b=_0x58ce97=Math['min'](_0x27d86c,_0x22d128/0x2,_0x1b2a10/0x2),_0xf84ce9['beginPath'](),_0xf84ce9[_0x473b32(0x411)](_0x4cc060,0x0),_0xf84ce9[_0x473b32(0x3be)](_0x22d128-_0x29449b,0x0),_0xf84ce9[_0x473b32(0x23e)](_0x22d128-_0x29449b,_0x29449b,_0x29449b,Math['PI']*0x3/0x2,0x0,!0x1),_0xf84ce9[_0x473b32(0x3be)](_0x22d128,_0x1b2a10-_0x58ce97),_0xf84ce9[_0x473b32(0x23e)](_0x22d128-_0x58ce97,_0x1b2a10-_0x58ce97,_0x58ce97,0x0,Math['PI']/0x2,!0x1),_0xf84ce9[_0x473b32(0x3be)](0x0,_0x1b2a10),_0xf84ce9[_0x473b32(0x3be)](0x0,_0x4cc060),_0xf84ce9[_0x473b32(0x23e)](_0x4cc060,_0x4cc060,_0x4cc060,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xf84ce9[_0x473b32(0x3a9)](),_0x4e8e6e[_0x473b32(0x3f2)]&&(_0xf84ce9[_0x473b32(0x262)](),_0xf84ce9[_0x473b32(0x3a8)]=_0x4e8e6e[_0x473b32(0x3f2)],_0x4e8e6e[_0x473b32(0x450)]===_0x473b32(0x41a)?_0xf84ce9['fill'](_0x473b32(0x41a)):_0xf84ce9[_0x473b32(0x3f2)](),_0xf84ce9['restore']());}class _0x39d77d extends _0x5d71b0['Shape']{constructor(_0xab7d25,_0x1503ae){const _0x421a84=_0x912252;super(_0xab7d25,_0x1503ae),_0x52c450(this,_0x421a84(0x2f1)),_0x52c450(this,_0x421a84(0x35f)),(this[_0x421a84(0x2f1)]=_0x1503ae==null?void 0x0:_0x1503ae[_0x421a84(0x2f1)],this[_0x421a84(0x35f)]=_0x1503ae==null?void 0x0:_0x1503ae[_0x421a84(0x35f)]);}static['drawWith'](_0x5282e2,_0x171149){const _0x537368=_0x912252,{text:_0x9dc943,color:_0x177756}=_0x171149;_0x5282e2[_0x537368(0x262)](),_0x5282e2[_0x537368(0x365)]=_0x537368(0x46c);const _0x3e2dfc=_0x5282e2[_0x537368(0x3fc)](_0x9dc943)[_0x537368(0x3fd)],_0x385da7=Math[_0x537368(0x334)](_0x3e2dfc+0x2*_0x1bed4f,_0x2286a2);_0x3ddb88(_0x5282e2,{'height':_0x244c9d,'radius':0x4,'width':_0x385da7,'fill':_0x177756}),_0x5282e2['fillStyle']=_0x537368(0x41e);const _0xbc5fc3=_0x1bed4f,_0xd8ed68=_0x244c9d-_0x50e1fb,_0xf4dbcc=_0x2286a2-0x2*_0x1bed4f;if(_0x3e2dfc>_0xf4dbcc){let _0x3cbe2d='',_0x5c39a3=0x0;for(const _0x4488e9 of _0x9dc943){const _0x2229a1=_0x5282e2[_0x537368(0x3fc)](_0x4488e9)['width'];if(_0x5c39a3+_0x2229a1<=_0xf4dbcc-_0x5282e2[_0x537368(0x3fc)](_0x537368(0x487))[_0x537368(0x3fd)])_0x3cbe2d+=_0x4488e9,_0x5c39a3+=_0x2229a1;else{_0x3cbe2d+=_0x537368(0x487);break;}}_0x5282e2[_0x537368(0x2ed)](_0x3cbe2d,_0xbc5fc3,_0xd8ed68);}else _0x5282e2['fillText'](_0x9dc943,_0xbc5fc3,_0xd8ed68);_0x5282e2[_0x537368(0x20f)]();}[_0x912252(0x312)](_0x267a4f){const _0x5b58ce=_0x912252;_0x39d77d[_0x5b58ce(0x33f)](_0x267a4f,this);}}const _0x14c62e=_0x912252(0x2e3),_0x51f42f=_0x912252(0x29b),_0x2bf035=_0x912252(0x41c),_0x160e53=0x6,_0x5d769b=1.5,_0x18c05a=0x4,_0x278160=1.5,_0x4741bf=_0x912252(0x3ed);class _0x344ce8{constructor(_0x180bd0,_0x3262ee,_0x35e211,_0x595712){const _0x23bb66=_0x912252;_0x52c450(this,_0x23bb66(0x325),[]),_0x52c450(this,_0x23bb66(0x2e0),null),_0x52c450(this,'_textBubble',null),_0x52c450(this,_0x23bb66(0x275),null),_0x52c450(this,_0x23bb66(0x372),null),_0x52c450(this,_0x23bb66(0x346),null),(this[_0x23bb66(0x2b8)]=_0x180bd0,this['_scene']=_0x3262ee,this[_0x23bb66(0x227)]=_0x35e211,this[_0x23bb66(0x240)]=_0x595712,this[_0x23bb66(0x26e)]());}set[_0x912252(0x360)](_0x2c0699){const _0x676fdc=_0x912252;_0x2c0699?(this[_0x676fdc(0x275)]&&this[_0x676fdc(0x275)][_0x676fdc(0x235)](),this['_textBubble']&&this[_0x676fdc(0x30a)]['show']()):(this['_anchorDot']&&this['_anchorDot'][_0x676fdc(0x32d)](),this['_textBubble']&&this[_0x676fdc(0x30a)][_0x676fdc(0x235)]());}[_0x912252(0x3ae)](){const _0x5926b9=_0x912252;for(const _0x3dc489 of this[_0x5926b9(0x325)])_0x3dc489[_0x5926b9(0x3ae)]();this[_0x5926b9(0x30a)]&&this[_0x5926b9(0x30a)][_0x5926b9(0x3ae)](),this[_0x5926b9(0x275)]&&this[_0x5926b9(0x275)]['dispose'](),this[_0x5926b9(0x2e0)]&&this[_0x5926b9(0x2e0)]['dispose'](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x912252(0x26e)](){const _0x107eb7=_0x912252;var _0x534816;const {_docSkeleton:_0x48bb71,_document:_0x382e00}=this,{color:_0x5126ce,name:_0x35f8f5,ranges:_0x119383}=this[_0x107eb7(0x2b8)],_0x3f3a04=_0x382e00['getOffsetConfig'](),{docsLeft:_0x428b06,docsTop:_0x5137d9}=_0x3f3a04,_0x4a5bc9=new _0x13c110['NodePositionConvertToCursor'](_0x3f3a04,_0x48bb71);for(const {startOffset:_0x236e8c,endOffset:_0x87a3c7,rangeType:_0x4296ca,segmentId:_0xeeb505,segmentPage:_0x402466,collapsed:_0x45c053,isActive:_0xa6dd33}of _0x119383){const _0x371051=_0x48bb71[_0x107eb7(0x333)](_0x236e8c,!0x0,_0xeeb505,_0x402466);let _0x48fae9=_0x48bb71['findNodePositionByCharIndex'](_0x87a3c7,!0x0,_0xeeb505,_0x402466);if(_0x48fae9==null&&(_0x48fae9=_0x48bb71['findNodePositionByCharIndex'](_0x87a3c7-0x1,!0x1,_0xeeb505,_0x402466)),_0xa6dd33){const {contentBoxPointGroup:_0xac1b7c}=_0x4a5bc9[_0x107eb7(0x3d1)](_0x48fae9,_0x48fae9);if(_0xac1b7c[_0x107eb7(0x414)]===0x0)continue;this['_drawAnchor'](_0x5126ce,_0xac1b7c,_0x428b06,_0x5137d9,_0x35f8f5),this[_0x107eb7(0x346)]=this['_handleHover']();}if(_0x371051&&_0x48fae9){if(_0x4296ca===_0x468931['DOC_RANGE_TYPE'][_0x107eb7(0x42b)]){const _0x12e3fa=new _0x13c110[(_0x107eb7(0x28e))](_0x3f3a04,_0x48bb71),{pointGroup:_0x537cca}=(_0x534816=_0x12e3fa[_0x107eb7(0x3d1)](_0x371051,_0x48fae9))!=null?_0x534816:{};if(_0x537cca==null||_0x537cca[_0x107eb7(0x414)]===0x0)continue;this[_0x107eb7(0x48c)](_0x5126ce,_0x537cca,_0x428b06,_0x5137d9);}else{if(!_0x45c053){const {borderBoxPointGroup:_0x546964}=_0x4a5bc9[_0x107eb7(0x3d1)](_0x371051,_0x48fae9);if(_0x546964[_0x107eb7(0x414)]===0x0)continue;this[_0x107eb7(0x3a3)](_0x5126ce,_0x546964,_0x428b06,_0x5137d9);}}}}}['_drawAnchor'](_0x2bcd06,_0x27f046,_0x498cfb,_0x29eba6,_0x30faa6){const _0x4282e2=_0x912252,_0x5dbdda=this[_0x4282e2(0x26b)](_0x27f046),{left:_0x3b7e2c,top:_0x2ce4a5,height:_0x49619e}=_0x5dbdda,_0x467517=this['_getScale'](),_0x1c84cc=_0x278160/_0x467517,_0x372a76=new _0x5d71b0[(_0x4282e2(0x440))](_0x14c62e+_0x468931[_0x4282e2(0x24d)][_0x4282e2(0x2b7)](_0x160e53),{'left':_0x3b7e2c+_0x498cfb-_0x1c84cc,'top':_0x2ce4a5+_0x29eba6,'height':_0x49619e,'width':_0x5d769b,'fill':_0x2bcd06||_0x5d71b0[_0x4282e2(0x2e7)](_0x468931[_0x4282e2(0x2ce)][_0x4282e2(0x415)],0x0),'strokeWidth':_0x1c84cc,'stroke':_0x4741bf,'evented':!0x0});this[_0x4282e2(0x2e0)]=_0x372a76,this['_scene'][_0x4282e2(0x31e)](_0x372a76,_0x13c110[_0x4282e2(0x460)]);const _0x40bfb8=new _0x5d71b0[(_0x4282e2(0x440))](_0x14c62e+_0x468931[_0x4282e2(0x24d)][_0x4282e2(0x2b7)](_0x160e53),{'left':_0x3b7e2c+_0x498cfb-_0x1c84cc,'top':_0x2ce4a5+_0x29eba6-_0x18c05a/0x2,'height':_0x18c05a,'width':_0x18c05a,'fill':_0x2bcd06||_0x5d71b0[_0x4282e2(0x2e7)](_0x468931['COLORS'][_0x4282e2(0x415)],0x0),'strokeWidth':0x0,'stroke':_0x2bcd06||_0x5d71b0[_0x4282e2(0x2e7)](_0x468931['COLORS']['black'],0x0),'evented':!0x1});this[_0x4282e2(0x275)]=_0x40bfb8,this[_0x4282e2(0x3bb)]['addObject'](_0x40bfb8,_0x13c110[_0x4282e2(0x460)]);const _0x3a1380=new _0x39d77d(_0x14c62e+_0x468931[_0x4282e2(0x24d)][_0x4282e2(0x2b7)](_0x160e53),{'left':_0x3b7e2c+_0x498cfb-_0x1c84cc,'top':_0x2ce4a5+_0x29eba6-_0x244c9d,'text':_0x30faa6,'color':_0x2bcd06});this[_0x4282e2(0x30a)]=_0x3a1380,this['_scene'][_0x4282e2(0x31e)](_0x3a1380,_0x13c110[_0x4282e2(0x460)]),this['_hover']=!0x1;}[_0x912252(0x455)](){const _0x4ee5d0=_0x912252,_0x32678f=this[_0x4ee5d0(0x2e0)][_0x4ee5d0(0x359)][_0x4ee5d0(0x41d)](()=>{const _0x1e59c0=_0x4ee5d0;this[_0x1e59c0(0x360)]=!0x0;}),_0x3fc8ae=this['_anchor']['onPointerLeave$'][_0x4ee5d0(0x41d)](()=>{const _0x16abf3=_0x4ee5d0;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x16abf3(0x372)]=setTimeout(()=>{const _0x5949c5=_0x16abf3;this[_0x5949c5(0x360)]=!0x1;},0x7d0);});return()=>{const _0x53f202=_0x4ee5d0;_0x32678f[_0x53f202(0x3a0)](),_0x3fc8ae[_0x53f202(0x3a0)]();};}[_0x912252(0x3a3)](_0x5347be,_0x5d29d9,_0x580489,_0x42235e){const _0x63ef3f=_0x912252,_0x1a9b37=new _0x468931[(_0x63ef3f(0x45d))](_0x5347be)[_0x63ef3f(0x3f5)](0.2)['toRgbString'](),_0x3ee7ce=new _0x5d71b0[(_0x63ef3f(0x216))](_0x51f42f+_0x468931[_0x63ef3f(0x24d)][_0x63ef3f(0x2b7)](_0x160e53),{'pointsGroup':_0x5d29d9,'fill':_0x1a9b37||_0x5d71b0['getColor'](_0x468931[_0x63ef3f(0x2ce)][_0x63ef3f(0x415)],0.2),'left':_0x580489,'top':_0x42235e,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x63ef3f(0x381)](_0x3ee7ce),this[_0x63ef3f(0x3bb)][_0x63ef3f(0x31e)](_0x3ee7ce,_0x13c110[_0x63ef3f(0x460)]);}['_drawRectRange'](_0x1eb97f,_0x242b1e,_0x7a5999,_0xd3456e){const _0x2ddb07=_0x912252,_0x313449=new _0x468931[(_0x2ddb07(0x45d))](_0x1eb97f)[_0x2ddb07(0x3f5)](0.2)['toRgbString'](),_0x34bbc1=new _0x5d71b0[(_0x2ddb07(0x216))](_0x2bf035+_0x468931[_0x2ddb07(0x24d)]['generateRandomId'](_0x160e53),{'pointsGroup':_0x242b1e,'fill':_0x313449||_0x5d71b0[_0x2ddb07(0x2e7)](_0x468931['COLORS']['black'],0.2),'left':_0x7a5999,'top':_0xd3456e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2ddb07(0x325)][_0x2ddb07(0x381)](_0x34bbc1),this[_0x2ddb07(0x3bb)]['addObject'](_0x34bbc1,_0x13c110[_0x2ddb07(0x460)]);}['_getAnchorBounding'](_0x37a342){const _0x3510ce=_0x37a342[0x0],_0x51c42b=_0x3510ce[0x0],_0x513efc=_0x3510ce[0x2],{x:_0x2144c6,y:_0x3f296d}=_0x51c42b,{x:_0x13d82f,y:_0x31de09}=_0x513efc;return{'left':_0x2144c6,'top':_0x3f296d,'width':_0x13d82f-_0x2144c6,'height':_0x31de09-_0x3f296d};}[_0x912252(0x3ee)](){const _0xdec9d2=_0x912252,{scaleX:_0x58a783,scaleY:_0x47ba5b}=this[_0xdec9d2(0x3bb)][_0xdec9d2(0x3c9)]();return Math[_0xdec9d2(0x270)](_0x58a783,_0x47ba5b);}}var _0x332780=Object['getOwnPropertyDescriptor'],_0x4a6376=(_0x4a1fd3,_0x1815da,_0x2ceea3,_0x19cacf)=>{for(var _0x2f8193=_0x19cacf>0x1?void 0x0:_0x19cacf?_0x332780(_0x1815da,_0x2ceea3):_0x1815da,_0x72242d=_0x4a1fd3['length']-0x1,_0x2d6549;_0x72242d>=0x0;_0x72242d--)(_0x2d6549=_0x4a1fd3[_0x72242d])&&(_0x2f8193=_0x2d6549(_0x2f8193)||_0x2f8193);return _0x2f8193;},_0x1189dd=(_0x42d191,_0x150a06)=>(_0x1f44af,_0x1ce755)=>_0x150a06(_0x1f44af,_0x1ce755,_0x42d191);let _0x2735fe=class extends _0x468931[_0x912252(0x3ba)]{constructor(_0xb13c36,_0x445ec4,_0x167915,_0x2f5dde,_0x4970d7){const _0x421037=_0x912252;super(),_0x52c450(this,_0x421037(0x27c),[]),_0x52c450(this,_0x421037(0x2a9),[]),(this[_0x421037(0x3e2)]=_0xb13c36,this[_0x421037(0x37c)]=_0x445ec4,this[_0x421037(0x24b)]=_0x167915,this['_commandService']=_0x2f5dde,this[_0x421037(0x28b)]=_0x4970d7,this[_0x421037(0x48e)]());}[_0x912252(0x48e)](){const _0x3203a=_0x912252,_0x2008ba=this[_0x3203a(0x3e2)][_0x3203a(0x25e)],_0x1c7708=this[_0x3203a(0x37c)];this['disposeWithMe'](_0x946ff9['combineLatest']([this[_0x3203a(0x24b)][_0x3203a(0x3a6)](_0x2008ba),this[_0x3203a(0x28b)]['currentTheme$']])[_0x3203a(0x252)](_0x2e4f52[_0x3203a(0x284)](([_0xc4d013,_0x40b54c])=>({'skeleton':_0x1c7708[_0x3203a(0x377)](),'cursors':[..._0xc4d013[_0x3203a(0x40d)]()][_0x3203a(0x34c)](_0x427eec=>({..._0x427eec,'color':this[_0x3203a(0x28b)][_0x3203a(0x3b6)](_0x427eec[_0x3203a(0x2f1)])}))})))[_0x3203a(0x38c)](_0x4e247e=>{const _0x1ea2d6=_0x3203a;if(this[_0x1ea2d6(0x474)](),_0x4e247e){const {skeleton:_0x4d3f64,cursors:_0x259fba}=_0x4e247e;this[_0x1ea2d6(0x32c)](_0x4d3f64,_0x259fba);}})),this[_0x3203a(0x33a)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x168788,_0x2188f0){const _0x28d437=_0x912252,{scene:_0x9621df,mainComponent:_0x439984}=this[_0x28d437(0x3e2)],_0x112c7b=_0x2188f0[_0x28d437(0x284)](_0x5568ed=>new _0x344ce8(_0x5568ed,_0x9621df,_0x168788,_0x439984));this[_0x28d437(0x27c)]=_0x112c7b,this[_0x28d437(0x2a9)]=_0x2188f0;}[_0x912252(0x43b)](){const _0x5828f9=_0x912252;this[_0x5828f9(0x474)]();const {scene:_0x4deca9,mainComponent:_0xea021a}=this['_context'],_0x4e0dd5=this[_0x5828f9(0x37c)][_0x5828f9(0x377)](),_0x35a3e8=this[_0x5828f9(0x2a9)][_0x5828f9(0x284)](_0x40cca6=>new _0x344ce8(_0x40cca6,_0x4deca9,_0x4e0dd5,_0xea021a));this[_0x5828f9(0x27c)]=_0x35a3e8;}[_0x912252(0x474)](){const _0x5ebbb8=_0x912252;this[_0x5ebbb8(0x27c)][_0x5ebbb8(0x2fc)](_0x5e6fd0=>_0x5e6fd0[_0x5ebbb8(0x3ae)]()),this[_0x5ebbb8(0x27c)]=[];}['_initCommandExecutedListener'](){const _0x89be6b=_0x912252,_0x4c687c=[_0x13c110[_0x89be6b(0x2aa)]['id']];this[_0x89be6b(0x3d8)](this['_commandService']['onCommandExecuted'](_0x37de19=>{const _0x2d3a63=_0x89be6b;_0x4c687c[_0x2d3a63(0x3ad)](_0x37de19['id'])&&_0x37de19[_0x2d3a63(0x43d)][_0x2d3a63(0x25e)]===this[_0x2d3a63(0x3e2)]['unitId']&&this[_0x2d3a63(0x43b)]();}));}[_0x912252(0x33a)](){const _0x3b207f=_0x912252;this[_0x3b207f(0x3d8)](_0x468931[_0x3b207f(0x42f)](this[_0x3b207f(0x3e2)][_0x3b207f(0x3aa)][_0x3b207f(0x380)])[_0x3b207f(0x252)](_0x2e4f52[_0x3b207f(0x28a)](_0x1a701b=>_0x1a701b[_0x3b207f(0x468)]===_0x5d71b0[_0x3b207f(0x2cf)][_0x3b207f(0x2e2)]),_0x2e4f52['throttleTime'](0x10))[_0x3b207f(0x38c)](()=>{const _0x448ca3=_0x3b207f;this[_0x448ca3(0x43b)]();}));}};_0x2735fe=_0x4a6376([_0x1189dd(0x1,_0x468931[_0x912252(0x37e)](_0x3b619f['DocSkeletonManagerService'])),_0x1189dd(0x2,_0x468931[_0x912252(0x37e)](_0x59a198)),_0x1189dd(0x3,_0x468931[_0x912252(0x3fa)]),_0x1189dd(0x4,_0x468931['Inject'](_0x468931[_0x912252(0x3a4)]))],_0x2735fe);const _0x45d45c=0x1,_0x12200e=1.5;class _0x2b188b extends _0x5d71b0['Shape']{constructor(_0x440051,_0xd9dd0a){const _0x5ef279=_0x912252;super(_0x440051,_0xd9dd0a),_0x52c450(this,_0x5ef279(0x291)),_0x52c450(this,'_hovered',!0x1),_0x52c450(this,_0x5ef279(0x385)),_0x52c450(this,_0x5ef279(0x413),''),_0x52c450(this,_0x5ef279(0x458),_0x5ef279(0x219)),_0x52c450(this,_0x5ef279(0x2fa)),(_0xd9dd0a&&this[_0x5ef279(0x299)](_0xd9dd0a),this[_0x5ef279(0x359)][_0x5ef279(0x41d)](()=>this[_0x5ef279(0x299)]({'hovered':!0x0})),this[_0x5ef279(0x43e)][_0x5ef279(0x41d)](()=>this[_0x5ef279(0x299)]({'hovered':!0x1})));}[_0x912252(0x299)](_0xd1cc47){const _0x48ff4b=_0x912252;var _0x21de83,_0xecbad9,_0x1493db,_0x10f6a1,_0x516265,_0x595a57;this[_0x48ff4b(0x291)]=(_0x21de83=_0xd1cc47[_0x48ff4b(0x2f1)])!=null?_0x21de83:this[_0x48ff4b(0x291)],this['_hovered']=(_0xecbad9=_0xd1cc47[_0x48ff4b(0x3dd)])!=null?_0xecbad9:this[_0x48ff4b(0x1f4)],this[_0x48ff4b(0x385)]=(_0x1493db=_0xd1cc47[_0x48ff4b(0x464)])!=null?_0x1493db:this[_0x48ff4b(0x385)],this[_0x48ff4b(0x413)]=(_0x10f6a1=_0xd1cc47[_0x48ff4b(0x3b9)])!=null?_0x10f6a1:this[_0x48ff4b(0x413)],this[_0x48ff4b(0x458)]=(_0x516265=_0xd1cc47['labelPosition'])!=null?_0x516265:this[_0x48ff4b(0x458)],this['_backgroundColor']=(_0x595a57=_0xd1cc47[_0x48ff4b(0x213)])!=null?_0x595a57:this[_0x48ff4b(0x2fa)],this[_0x48ff4b(0x419)]({'width':_0xd1cc47['width'],'height':_0xd1cc47[_0x48ff4b(0x3de)]});}[_0x912252(0x433)](_0x475a2f){const _0x1d6464=_0x912252,{row:_0x4c5269,column:_0x38d0bc}=_0x475a2f;if(_0x4c5269>=this[_0x1d6464(0x385)][_0x1d6464(0x307)]&&_0x4c5269<=this['_range']['endRow']&&_0x38d0bc>=this[_0x1d6464(0x385)][_0x1d6464(0x38a)]&&_0x38d0bc<=this[_0x1d6464(0x385)]['endColumn']){this[_0x1d6464(0x299)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x912252(0x31f)](_0xb88fc3){return!0x1;}[_0x912252(0x312)](_0x5055aa){const _0x510c13=_0x912252;_0x5d71b0['Rect'][_0x510c13(0x33f)](_0x5055aa,{'width':this[_0x510c13(0x3fd)],'height':this[_0x510c13(0x3de)],'strokeWidth':_0x12200e,'stroke':this[_0x510c13(0x291)],'evented':!0x1,'fill':this[_0x510c13(0x2fa)]}),this['_hovered']&&(_0x5055aa['save'](),_0x5055aa[_0x510c13(0x423)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x510c13(0x228)?0x0:-0x14),_0x39d77d[_0x510c13(0x33f)](_0x5055aa,{'text':this['_name'],'color':this['_color']}),_0x5055aa['restore']());}}var _0xf2a4f2=Object[_0x912252(0x289)],_0x18e4b3=(_0x27053f,_0x53f993,_0x30bd81,_0x5c2bea)=>{const _0x4e9b9b=_0x912252;for(var _0x3025ff=_0x5c2bea>0x1?void 0x0:_0x5c2bea?_0xf2a4f2(_0x53f993,_0x30bd81):_0x53f993,_0x491652=_0x27053f[_0x4e9b9b(0x414)]-0x1,_0x54f01e;_0x491652>=0x0;_0x491652--)(_0x54f01e=_0x27053f[_0x491652])&&(_0x3025ff=_0x54f01e(_0x3025ff)||_0x3025ff);return _0x3025ff;},_0xbb08b1=(_0x38cd9e,_0x423135)=>(_0x174431,_0x28622a)=>_0x423135(_0x174431,_0x28622a,_0x38cd9e);const _0x347c13=0x1389;let _0x58f27b=class extends _0x468931[_0x912252(0x3ba)]{constructor(_0xe9820f,_0x3c2f3e,_0x50ced1,_0x1ac648){const _0x3a4089=_0x912252;super(),_0x52c450(this,_0x3a4089(0x2a9),new Set()),_0x52c450(this,_0x3a4089(0x347),null),(this[_0x3a4089(0x3e2)]=_0xe9820f,this[_0x3a4089(0x2e6)]=_0x3c2f3e,this[_0x3a4089(0x24b)]=_0x50ced1,this[_0x3a4089(0x28b)]=_0x1ac648,this['_init']());}['_init'](){const _0x3f6a77=_0x912252;this[_0x3f6a77(0x2e6)][_0x3f6a77(0x209)][_0x3f6a77(0x252)](_0x2e4f52[_0x3f6a77(0x3a7)](this['dispose$']),_0x2e4f52[_0x3f6a77(0x461)](_0x5240b8=>{const _0x49cbc3=_0x3f6a77;if(_0x5240b8){const _0x5d2a36=_0x5240b8['sheetId'];return _0x946ff9[_0x49cbc3(0x3fb)](this[_0x49cbc3(0x24b)][_0x49cbc3(0x3a6)](this[_0x49cbc3(0x3e2)][_0x49cbc3(0x25e)]),this[_0x49cbc3(0x28b)][_0x49cbc3(0x295)])[_0x49cbc3(0x252)](_0x2e4f52[_0x49cbc3(0x284)](([_0x1e2ae4,_0xbc899c])=>{const _0x3c9496=_0x49cbc3,_0x3b2644=new Map();return _0x1e2ae4[_0x3c9496(0x2fc)]((_0x349241,_0x39024d)=>{const _0x4535e2=_0x3c9496;if(_0x349241[_0x4535e2(0x481)]===_0x5d2a36){const _0x1a919b={..._0x349241};_0x1a919b[_0x4535e2(0x2f1)]=this[_0x4535e2(0x28b)]['getColorFromTheme'](_0x349241[_0x4535e2(0x2f1)]),_0x3b2644[_0x4535e2(0x382)](_0x39024d,_0x1a919b);}}),{'skeleton':_0x5240b8,'cursors':_0x3b2644};}));}return _0x946ff9['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x13e098,cursors:_0x301337})=>{const _0x2906f5=_0x3f6a77;this[_0x2906f5(0x474)](),_0x13e098&&this[_0x2906f5(0x32c)](_0x13e098,_0x301337);}),this[_0x3f6a77(0x2e6)][_0x3f6a77(0x209)][_0x3f6a77(0x38c)](_0x3f064d=>{const _0x1e63b4=_0x3f6a77;if(_0x3f064d==null)return;const {skeleton:_0x4a5181}=_0x3f064d,{scene:_0x344f3a}=this[_0x1e63b4(0x3e2)];_0x344f3a[_0x1e63b4(0x2ec)][_0x1e63b4(0x41d)](_0x468931[_0x1e63b4(0x343)](_0x45f062=>{const _0x2697e2=_0x1e63b4;var _0x3eb523,_0x2a0e27;const {offsetX:_0x24881b,offsetY:_0x216972}=_0x45f062,{x:_0x2ce504,y:_0x37fa92}=_0x344f3a[_0x2697e2(0x208)](_0x5d71b0[_0x2697e2(0x2db)]['FromArray']([_0x24881b,_0x216972])),{scaleX:_0x4165e2,scaleY:_0x12fed5}=_0x344f3a[_0x2697e2(0x3c9)](),_0x501bb8=_0x344f3a[_0x2697e2(0x2be)](_0x5d71b0[_0x2697e2(0x33b)][_0x2697e2(0x265)]),_0x391d90=_0x344f3a[_0x2697e2(0x260)](_0x5d71b0['Vector2'][_0x2697e2(0x320)]([_0x2ce504,_0x37fa92]),_0x501bb8),_0x7b478c=_0x4a5181[_0x2697e2(0x203)](_0x24881b,_0x216972,_0x4165e2,_0x12fed5,_0x391d90);((_0x3eb523=this['_lastPointer'])==null?void 0x0:_0x3eb523['column'])===_0x7b478c[_0x2697e2(0x323)]&&((_0x2a0e27=this[_0x2697e2(0x347)])==null?void 0x0:_0x2a0e27[_0x2697e2(0x3d3)])===_0x7b478c['row']||this['_cursors'][_0x2697e2(0x2fc)](_0x5e0b32=>{_0x5e0b32['onMouseMove'](_0x7b478c);});},0x64));});}['_updateCollabCursors'](_0x3a3514,_0x511b18){const _0x3008a0=_0x912252;var _0x73be36;const _0x1e43ac=(_0x73be36=this['_sheetSkeletonManagerService'][_0x3008a0(0x45c)]())==null?void 0x0:_0x73be36[_0x3008a0(0x2c4)];if(!_0x1e43ac)return;const _0x7c86f3=this[_0x3008a0(0x268)]();if(!_0x7c86f3)return;this[_0x3008a0(0x2a9)][_0x3008a0(0x2fc)](_0x52037d=>{const _0x539cb6=_0x3008a0;_0x52037d[_0x539cb6(0x2dc)]();});const {scene:_0x103bc7}=_0x7c86f3,_0x338971=_0x4461ad(Array[_0x3008a0(0x3f9)](_0x511b18['values']()))[_0x3008a0(0x284)](_0x40bf4d=>{const _0x3c888e=_0x3008a0,{color:_0x1f998b,range:_0x4b9bb5,name:_0x307bab,selection:_0x146f62,sheetID:_0x5d7ee5}=_0x40bf4d,{startColumn:_0x56aba0,startRow:_0x160db7,endColumn:_0x5db1a3,endRow:_0x14e287}=_0x4b9bb5,_0x3af442=_0x1c415a[_0x3c888e(0x41f)](_0x160db7,_0x56aba0,_0x103bc7,_0x1e43ac),_0x50d1fe=_0x1c415a[_0x3c888e(0x41f)](_0x14e287,_0x5db1a3,_0x103bc7,_0x1e43ac),{columnHeaderHeightAndMarginTop:_0x530e49}=_0x1e43ac,{startX:_0x31d33f,startY:_0x469417}=_0x3af442,{endX:_0x9ea201,endY:_0x1ff4d0}=_0x50d1fe,_0x39ee7a=_0x9ea201-_0x31d33f,_0x436f42=_0x1ff4d0-_0x469417,_0x2eb906={'labelPosition':_0x469417-_0x530e49>=_0x244c9d?_0x3c888e(0x219):'bottom','sheetID':_0x5d7ee5,'range':_0x4b9bb5,'color':_0x1f998b,'name':_0x307bab,'selection':_0x146f62,'left':_0x31d33f,'top':_0x469417,'width':_0x39ee7a,'height':_0x436f42,'evented':!0x1,'zIndex':_0x347c13};return new _0x2b188b(_0x307bab,_0x2eb906);});_0x103bc7[_0x3008a0(0x40a)](_0x338971,_0x45d45c),this['_cursors']=new Set(_0x338971);}['_removeCollabCursors'](){const _0x1c111c=_0x912252;var _0x5f5632;(_0x5f5632=this[_0x1c111c(0x2a9)])==null||_0x5f5632[_0x1c111c(0x2fc)](_0x4c3ef9=>_0x4c3ef9[_0x1c111c(0x3ae)]());}['_getSheetObject'](){const _0x399d29=_0x912252;return _0x1c415a[_0x399d29(0x31d)](this[_0x399d29(0x3e2)]['unit'],this[_0x399d29(0x3e2)]);}};_0x58f27b=_0x18e4b3([_0xbb08b1(0x1,_0x468931[_0x912252(0x37e)](_0x1c415a['SheetSkeletonManagerService'])),_0xbb08b1(0x2,_0x468931[_0x912252(0x37e)](_0x59a198)),_0xbb08b1(0x3,_0x468931[_0x912252(0x37e)](_0x468931[_0x912252(0x3a4)]))],_0x58f27b);function _0x4461ad(_0x116214){const _0x2258fa=_0x912252,_0x2db6e0=new Map();return _0x116214[_0x2258fa(0x2fc)](_0x3580c8=>{const _0x5675d7=_0x2258fa;if(_0x2db6e0[_0x5675d7(0x2a7)](_0x3580c8['selection'])){const _0x579b46=_0x2db6e0['get'](_0x3580c8[_0x5675d7(0x3ca)]);_0x579b46[_0x5675d7(0x3b9)]+=',\x20'+_0x3580c8[_0x5675d7(0x3b9)];}else _0x2db6e0['set'](_0x3580c8[_0x5675d7(0x3ca)],_0x3580c8);}),Array['from'](_0x2db6e0[_0x2258fa(0x40d)]());}var _0xfd89b7=function(){const _0x2ee51a=_0x912252;return _0xfd89b7=Object[_0x2ee51a(0x3cb)]||function(_0x3b50a5){const _0x46f4dc=_0x2ee51a;for(var _0x6d27a5,_0x1334a7=0x1,_0x2a8412=arguments[_0x46f4dc(0x414)];_0x1334a7<_0x2a8412;_0x1334a7++){_0x6d27a5=arguments[_0x1334a7];for(var _0x556f6a in _0x6d27a5)Object[_0x46f4dc(0x3eb)]['hasOwnProperty'][_0x46f4dc(0x390)](_0x6d27a5,_0x556f6a)&&(_0x3b50a5[_0x556f6a]=_0x6d27a5[_0x556f6a]);}return _0x3b50a5;},_0xfd89b7['apply'](this,arguments);},_0x4d8446=function(_0x1af742,_0x473706){const _0x290909=_0x912252;var _0x5db3fa={};for(var _0x5350cd in _0x1af742)Object[_0x290909(0x3eb)][_0x290909(0x309)][_0x290909(0x390)](_0x1af742,_0x5350cd)&&_0x473706[_0x290909(0x2d9)](_0x5350cd)<0x0&&(_0x5db3fa[_0x5350cd]=_0x1af742[_0x5350cd]);if(_0x1af742!=null&&typeof Object['getOwnPropertySymbols']==_0x290909(0x319)){for(var _0x57bb1e=0x0,_0x5350cd=Object[_0x290909(0x236)](_0x1af742);_0x57bb1e<_0x5350cd['length'];_0x57bb1e++)_0x473706['indexOf'](_0x5350cd[_0x57bb1e])<0x0&&Object[_0x290909(0x3eb)][_0x290909(0x37b)]['call'](_0x1af742,_0x5350cd[_0x57bb1e])&&(_0x5db3fa[_0x5350cd[_0x57bb1e]]=_0x1af742[_0x5350cd[_0x57bb1e]]);}return _0x5db3fa;},_0x58b9e5=_0x50701b[_0x912252(0x400)](function(_0x1cae35,_0x5d4376){const _0xa11d14=_0x912252;var _0x3f6c2a=_0x1cae35[_0xa11d14(0x2bd)],_0x476129=_0x1cae35['id'],_0x3d48b1=_0x1cae35[_0xa11d14(0x308)],_0x1916df=_0x1cae35['extend'],_0x4b96e0=_0x4d8446(_0x1cae35,[_0xa11d14(0x2bd),'id',_0xa11d14(0x308),'extend']),_0x36792f=_0xa11d14(0x467)['concat'](_0x476129,'\x20')['concat'](_0x3d48b1||'')[_0xa11d14(0x2e4)](),_0x325508=_0x50701b[_0xa11d14(0x28c)]('_'['concat'](_0x28c161()));return _0x43e8a3(_0x3f6c2a,''[_0xa11d14(0x3f8)](_0x476129),{'defIds':_0x3f6c2a[_0xa11d14(0x3d9)],'idSuffix':_0x325508['current']},_0xfd89b7({'ref':_0x5d4376,'className':_0x36792f},_0x4b96e0),_0x1916df);});function _0x43e8a3(_0x206638,_0x5dc712,_0x2e3fc2,_0x3c195f,_0x207ba2){const _0x14168f=_0x912252;return _0x50701b[_0x14168f(0x21d)](_0x206638['tag'],_0xfd89b7(_0xfd89b7({'key':_0x5dc712},_0x23a1e8(_0x206638,_0x2e3fc2,_0x207ba2)),_0x3c195f),(_0x5f57bc(_0x206638,_0x2e3fc2)[_0x14168f(0x3b7)]||[])[_0x14168f(0x284)](function(_0xb05b9c,_0x341e6c){const _0x55ba5b=_0x14168f;return _0x43e8a3(_0xb05b9c,''[_0x55ba5b(0x3f8)](_0x5dc712,'-')['concat'](_0x206638['tag'],'-')[_0x55ba5b(0x3f8)](_0x341e6c),_0x2e3fc2,void 0x0,_0x207ba2);}));}function _0x23a1e8(_0xb420e9,_0x2d1618,_0x31dc8c){const _0x62929e=_0x912252;var _0x3b5530=_0xfd89b7({},_0xb420e9[_0x62929e(0x466)]);_0x31dc8c!=null&&_0x31dc8c['colorChannel1']&&_0x3b5530[_0x62929e(0x3f2)]===_0x62929e(0x485)&&(_0x3b5530[_0x62929e(0x3f2)]=_0x31dc8c[_0x62929e(0x485)]),_0xb420e9[_0x62929e(0x3c4)]===_0x62929e(0x206)&&_0x3b5530['id']&&(_0x3b5530['id']=_0x3b5530['id']+_0x2d1618[_0x62929e(0x370)]),Object['entries'](_0x3b5530)[_0x62929e(0x2fc)](function(_0x35bcfd){const _0x44a9c6=_0x62929e;var _0x403b3d=_0x35bcfd[0x0],_0x16bdb8=_0x35bcfd[0x1];_0x403b3d===_0x44a9c6(0x206)&&typeof _0x16bdb8==_0x44a9c6(0x2d0)&&(_0x3b5530[_0x403b3d]=_0x16bdb8[_0x44a9c6(0x42e)](/url\(#(.*)\)/,_0x44a9c6(0x2f9)['concat'](_0x2d1618['idSuffix'],')')));});var _0x43998e=_0x2d1618[_0x62929e(0x3d9)];return!_0x43998e||_0x43998e[_0x62929e(0x414)]===0x0||(_0xb420e9['tag']==='use'&&_0x3b5530[_0x62929e(0x300)]&&(_0x3b5530[_0x62929e(0x300)]=_0x3b5530['xlink:href']+_0x2d1618[_0x62929e(0x370)]),Object['entries'](_0x3b5530)['forEach'](function(_0x37dd16){const _0x50d111=_0x62929e;var _0x4ad304=_0x37dd16[0x0],_0x587054=_0x37dd16[0x1];typeof _0x587054=='string'&&(_0x3b5530[_0x4ad304]=_0x587054[_0x50d111(0x42e)](/url\(#(.*)\)/,_0x50d111(0x2f9)[_0x50d111(0x3f8)](_0x2d1618['idSuffix'],')')));})),_0x3b5530;}function _0x5f57bc(_0x40802f,_0x389c99){const _0x34d58d=_0x912252;var _0x556322,_0x8ff366=_0x389c99[_0x34d58d(0x3d9)];return!_0x8ff366||_0x8ff366[_0x34d58d(0x414)]===0x0?_0x40802f:_0x40802f[_0x34d58d(0x3c4)]===_0x34d58d(0x263)&&(!((_0x556322=_0x40802f['children'])===null||_0x556322===void 0x0)&&_0x556322['length'])?_0xfd89b7(_0xfd89b7({},_0x40802f),{'children':_0x40802f[_0x34d58d(0x3b7)][_0x34d58d(0x284)](function(_0x26e40f){const _0x3a76de=_0x34d58d;return typeof _0x26e40f[_0x3a76de(0x466)]['id']==_0x3a76de(0x2d0)&&_0x8ff366&&_0x8ff366[_0x3a76de(0x3ad)](_0x26e40f[_0x3a76de(0x466)]['id'])?_0xfd89b7(_0xfd89b7({},_0x26e40f),{'attrs':_0xfd89b7(_0xfd89b7({},_0x26e40f[_0x3a76de(0x466)]),{'id':_0x26e40f[_0x3a76de(0x466)]['id']+_0x389c99[_0x3a76de(0x370)]})}):_0x26e40f;})}):_0x40802f;}function _0x28c161(){const _0x145144=_0x912252;return Math['random']()[_0x145144(0x324)](0x24)[_0x145144(0x362)](0x2,0x8);}_0x58b9e5[_0x912252(0x45f)]=_0x912252(0x484);var _0x5263f5={'tag':_0x912252(0x2a5),'attrs':{'xmlns':_0x912252(0x237),'fill':_0x912252(0x215),'viewBox':_0x912252(0x2ad),'width':_0x912252(0x3da),'height':_0x912252(0x3da)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x912252(0x386),'attrs':{'stroke':'currentColor','d':_0x912252(0x45e),'strokeLinecap':_0x912252(0x243),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x912252(0x444),'attrs':{'id':_0x912252(0x439)},'children':[{'tag':_0x912252(0x386),'attrs':{'fill':_0x912252(0x367),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x912252(0x439)]},_0x11cf1f=_0x50701b[_0x912252(0x400)](function(_0x32f455,_0x407f54){const _0x215897=_0x912252;return _0x50701b[_0x215897(0x21d)](_0x58b9e5,Object[_0x215897(0x3cb)]({},_0x32f455,{'id':'off-line-icon','ref':_0x407f54,'icon':_0x5263f5}));});_0x11cf1f[_0x912252(0x45f)]='OffLineIcon';var _0x574e1e={'tag':_0x912252(0x2a5),'attrs':{'xmlns':_0x912252(0x237),'fill':_0x912252(0x215),'viewBox':'0\x200\x2017\x2016','width':_0x912252(0x3da),'height':_0x912252(0x3da)},'children':[{'tag':'g','attrs':{'clipPath':_0x912252(0x22d)},'children':[{'tag':_0x912252(0x386),'attrs':{'stroke':_0x912252(0x30e),'d':_0x912252(0x352),'strokeLinecap':_0x912252(0x243),'strokeLinejoin':_0x912252(0x243),'strokeWidth':1.2}}]},{'tag':_0x912252(0x263),'attrs':{},'children':[{'tag':_0x912252(0x444),'attrs':{'id':_0x912252(0x366)},'children':[{'tag':_0x912252(0x386),'attrs':{'fill':_0x912252(0x367),'d':_0x912252(0x2c0),'transform':'translate(.97)'}}]}]}],'defIds':[_0x912252(0x366)]},_0x4f8f11=_0x50701b[_0x912252(0x400)](function(_0x354290,_0xe703e6){const _0x568bb3=_0x912252;return _0x50701b[_0x568bb3(0x21d)](_0x58b9e5,Object[_0x568bb3(0x3cb)]({},_0x354290,{'id':_0x568bb3(0x3af),'ref':_0xe703e6,'icon':_0x574e1e}));});_0x4f8f11[_0x912252(0x45f)]='OnLineIcon';function _0xfb600e(_0x550971){const _0x320a08=_0x912252;switch(_0x550971){case _0x57d487[_0x320a08(0x40f)][_0x320a08(0x451)]:return _0x320a08(0x3b1);case _0x57d487[_0x320a08(0x40f)][_0x320a08(0x2e1)]:return _0x320a08(0x222);case _0x57d487[_0x320a08(0x40f)][_0x320a08(0x321)]:return _0x320a08(0x356);case _0x57d487['CollaborationStatus']['NOT_COLLAB']:return _0x320a08(0x373);case _0x57d487[_0x320a08(0x40f)][_0x320a08(0x486)]:case _0x57d487[_0x320a08(0x40f)][_0x320a08(0x35b)]:return'collabStatus.syncing';case _0x57d487[_0x320a08(0x40f)][_0x320a08(0x294)]:case _0x57d487[_0x320a08(0x40f)]['PENDING']:return'collabStatus.synced';}}function _0x3ce189(_0x3c2317){const _0x34d2da=_0x912252,{status$:_0x4f0f2}=_0x3c2317,_0x4773bb=_0x5a4aac['useObservable'](_0x4f0f2,_0x57d487[_0x34d2da(0x40f)][_0x34d2da(0x22a)]),_0x5849aa=_0x5a4aac[_0x34d2da(0x402)](_0x468931[_0x34d2da(0x2bb)]),_0x4d68f1=_0x5a4aac['useDependency'](_0x57d487['CollaborationSessionService']),_0x546eab=_0x4773bb!==_0x57d487['CollaborationStatus'][_0x34d2da(0x451)],_0x718834=_0x5849aa['t'](_0xfb600e(_0x4773bb)),_0x3723cb=_0x546eab?_0x50b559[_0x34d2da(0x21a)](_0x4f8f11,{}):_0x50b559[_0x34d2da(0x21a)](_0x11cf1f,{}),_0x30625c=_0x50701b['useCallback'](()=>{const _0x471aa0=_0x34d2da;_0x546eab||_0x4d68f1[_0x471aa0(0x47f)]();},[_0x546eab,_0x4d68f1]);function _0x56b60d(){const _0x20d747=_0x34d2da;return _0x50b559[_0x20d747(0x2a2)](_0x20d747(0x2a4),{'className':_0x20d747(0x437),'onClick':_0x30625c,'children':[_0x50b559[_0x20d747(0x21a)](_0x20d747(0x2a4),{'className':_0x498b76['clsx'](_0x20d747(0x3ce),{'univer-text-green-500':_0x546eab,'univer-text-red-500':!_0x546eab}),'children':_0x3723cb}),_0x50b559[_0x20d747(0x21a)](_0x20d747(0x2a4),{'className':_0x20d747(0x35e),'children':_0x718834})]});}return _0x546eab?_0x56b60d():_0x50b559[_0x34d2da(0x21a)](_0x498b76['Tooltip'],{'title':_0x5849aa['t'](_0x34d2da(0x281)),'children':_0x56b60d()});}var _0x520529=Object[_0x912252(0x289)],_0x2f20d1=(_0x386163,_0x1fc5f8,_0x3112d3,_0x333e7e)=>{const _0x4905c5=_0x912252;for(var _0x71be73=_0x333e7e>0x1?void 0x0:_0x333e7e?_0x520529(_0x1fc5f8,_0x3112d3):_0x1fc5f8,_0x486e67=_0x386163[_0x4905c5(0x414)]-0x1,_0x3c055;_0x486e67>=0x0;_0x486e67--)(_0x3c055=_0x386163[_0x486e67])&&(_0x71be73=_0x3c055(_0x71be73)||_0x71be73);return _0x71be73;},_0x5f0800=(_0x8f20d2,_0xd37740)=>(_0x1bbffe,_0x1fb59b)=>_0xd37740(_0x1bbffe,_0x1fb59b,_0x8f20d2);_0x2b6d0b[_0x912252(0x36d)]=class extends _0x468931[_0x912252(0x3dc)]{constructor(_0x3e943c,_0x1e3809,_0x3e4088,_0x588cf7){const _0x246efe=_0x912252;super(),_0x52c450(this,'_status$',new _0x946ff9[(_0x246efe(0x239))](_0x57d487[_0x246efe(0x40f)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x3e943c,this[_0x246efe(0x457)]=_0x1e3809,this[_0x246efe(0x29f)]=_0x3e4088,this[_0x246efe(0x2c6)]=_0x588cf7,this[_0x246efe(0x201)](),this[_0x246efe(0x3db)]());}[_0x912252(0x3db)](){const _0x244166=_0x912252;this[_0x244166(0x3d8)](this[_0x244166(0x31b)][_0x244166(0x2cb)][_0x244166(0x252)](_0x946ff9[_0x244166(0x461)](()=>{const _0x3d13ed=_0x244166,_0x2c530c=this[_0x3d13ed(0x31b)]['getFocusedUnit']();return _0x2c530c?this['_collaborationController'][_0x3d13ed(0x361)](_0x2c530c[_0x3d13ed(0x2e8)]()):_0x946ff9['of'](null);}),_0x946ff9[_0x244166(0x461)](_0x447493=>_0x447493?_0x447493['status$']:_0x946ff9['of'](_0x57d487['CollaborationStatus']['NOT_COLLAB'])))['subscribe'](_0x4119d9=>{const _0x5f5cac=_0x244166;this[_0x5f5cac(0x39f)][_0x5f5cac(0x44f)](_0x4119d9);}));}[_0x912252(0x201)](){const _0x45eb32=_0x912252;this[_0x45eb32(0x3d8)](this[_0x45eb32(0x2c6)][_0x45eb32(0x223)](_0x5a4aac['BuiltInUIPart']['HEADER_MENU'],()=>_0x5a4aac['connectInjector'](_0x4434af({'status$':this['_status$'][_0x45eb32(0x3ac)]()}),this[_0x45eb32(0x457)])));}},_0x2b6d0b[_0x912252(0x36d)]=_0x2f20d1([_0x5f0800(0x0,_0x468931['IUniverInstanceService']),_0x5f0800(0x1,_0x468931[_0x912252(0x37e)](_0x468931[_0x912252(0x1fd)])),_0x5f0800(0x2,_0x468931[_0x912252(0x37e)](_0x57d487[_0x912252(0x404)])),_0x5f0800(0x3,_0x5a4aac[_0x912252(0x435)])],_0x2b6d0b[_0x912252(0x36d)]);function _0x4434af(_0x3fa67f){const {status$:_0x384e3f}=_0x3fa67f;return function(){const _0xc3ed47=_0x44a6;return _0x50b559[_0xc3ed47(0x21a)](_0x3ce189,{'status$':_0x384e3f});};}var _0x2be27e=Object[_0x912252(0x289)],_0x1b0276=(_0x3475d3,_0xc32da4,_0x1e78d1,_0xc9097c)=>{const _0x342e0c=_0x912252;for(var _0x5e932f=_0xc9097c>0x1?void 0x0:_0xc9097c?_0x2be27e(_0xc32da4,_0x1e78d1):_0xc32da4,_0x501643=_0x3475d3[_0x342e0c(0x414)]-0x1,_0x48deba;_0x501643>=0x0;_0x501643--)(_0x48deba=_0x3475d3[_0x501643])&&(_0x5e932f=_0x48deba(_0x5e932f)||_0x5e932f);return _0x5e932f;},_0x45258d=(_0x228cf1,_0x2a13ec)=>(_0x1acaaa,_0x513c66)=>_0x2a13ec(_0x1acaaa,_0x513c66,_0x228cf1);let _0xe29bcd=class extends _0x468931[_0x912252(0x3dc)]{constructor(_0x4bf27e,_0x424eb8,_0xffd98,_0x53af5d,_0x4792d4,_0x1e7023){const _0x29d87f=_0x912252;super(),this[_0x29d87f(0x427)]=_0x4bf27e,this[_0x29d87f(0x249)]=_0x424eb8,this[_0x29d87f(0x217)]=_0xffd98,this['_messageService']=_0x53af5d,this[_0x29d87f(0x231)]=_0x4792d4,this['_localeService']=_0x1e7023,this[_0x29d87f(0x3b4)](),this[_0x29d87f(0x25a)]();}[_0x912252(0x3b4)](){const _0x3d5c2a=_0x912252;this[_0x3d5c2a(0x3d8)](this[_0x3d5c2a(0x427)][_0x3d5c2a(0x256)](()=>{const _0x187963=_0x3d5c2a;if(this['_localCacheService'][_0x187963(0x20e)]['size'])return this[_0x187963(0x2bf)]['t'](_0x187963(0x306));}));}[_0x912252(0x25a)](){const _0x1854b5=_0x912252;this[_0x1854b5(0x3d8)](this['_collaborationUIEventService'][_0x1854b5(0x44c)][_0x1854b5(0x38c)](_0x532e98=>{const _0x36cfc9=_0x1854b5;_0x532e98['id']===_0x57d487['CollaborationUIEventId'][_0x36cfc9(0x3a1)]&&this[_0x36cfc9(0x23b)][_0x36cfc9(0x32d)]({'type':_0x498b76['MessageType'][_0x36cfc9(0x282)],'content':this[_0x36cfc9(0x2bf)]['t']('collaboration.single-unit.warning')}),_0x532e98['id']===_0x57d487[_0x36cfc9(0x434)][_0x36cfc9(0x371)]&&this[_0x36cfc9(0x23b)][_0x36cfc9(0x32d)]({'type':_0x498b76['MessageType']['Warning'],'content':this['_localeService']['t'](_0x36cfc9(0x368))}),_0x532e98['id']===_0x57d487['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x36cfc9(0x231)]['show']({'title':this[_0x36cfc9(0x2bf)]['t'](_0x36cfc9(0x25f)),'content':this[_0x36cfc9(0x2bf)]['t']('permission.content'),'type':'error','duration':0x0}),_0x532e98['id']===_0x57d487[_0x36cfc9(0x434)][_0x36cfc9(0x2e1)]&&this[_0x36cfc9(0x23b)][_0x36cfc9(0x32d)]({'type':_0x498b76[_0x36cfc9(0x1f6)][_0x36cfc9(0x286)],'content':this[_0x36cfc9(0x2bf)]['t'](_0x36cfc9(0x368))+'('+_0x532e98['data']+')'}),_0x532e98['id']===_0x57d487[_0x36cfc9(0x434)][_0x36cfc9(0x422)]&&this[_0x36cfc9(0x23b)][_0x36cfc9(0x32d)]({'type':_0x498b76[_0x36cfc9(0x1f6)][_0x36cfc9(0x282)],'content':this['_localeService']['t'](_0x532e98[_0x36cfc9(0x293)]||'')}),_0x532e98['id']===_0x57d487[_0x36cfc9(0x434)][_0x36cfc9(0x3e5)]&&this[_0x36cfc9(0x23b)][_0x36cfc9(0x32d)]({'type':_0x498b76[_0x36cfc9(0x1f6)][_0x36cfc9(0x282)],'content':this['_localeService']['t'](_0x36cfc9(0x39e))}),_0x532e98['id']===_0x57d487[_0x36cfc9(0x434)]['SOCKET_FAILED']&&this['_messageService'][_0x36cfc9(0x32d)]({'type':_0x498b76[_0x36cfc9(0x1f6)]['Error'],'content':this[_0x36cfc9(0x2bf)]['t'](_0x36cfc9(0x2f2))}),_0x532e98['id']===_0x57d487[_0x36cfc9(0x434)][_0x36cfc9(0x470)]&&this[_0x36cfc9(0x23b)][_0x36cfc9(0x32d)]({'type':_0x498b76['MessageType']['Error'],'content':this[_0x36cfc9(0x2bf)]['t']('session.collaboration-timeout')});}));}};_0xe29bcd=_0x1b0276([_0x45258d(0x0,_0x5a4aac[_0x912252(0x2c2)]),_0x45258d(0x1,_0x57d487[_0x912252(0x421)]),_0x45258d(0x2,_0x468931[_0x912252(0x37e)](_0x57d487[_0x912252(0x20a)])),_0x45258d(0x3,_0x5a4aac[_0x912252(0x2c1)]),_0x45258d(0x4,_0x5a4aac['INotificationService']),_0x45258d(0x5,_0x468931[_0x912252(0x37e)](_0x468931[_0x912252(0x2bb)]))],_0xe29bcd);const _0xe01fb2=_0x912252(0x3c7),_0x1a3a24={},_0x36a885=_0x468931['createIdentifier'](_0x912252(0x490));var _0x18c01c=Object[_0x912252(0x289)],_0x97b297=(_0x5aa47e,_0x4c6907,_0xfc2603,_0x4390f7)=>{for(var _0x1c8502=_0x4390f7>0x1?void 0x0:_0x4390f7?_0x18c01c(_0x4c6907,_0xfc2603):_0x4c6907,_0x12bc3f=_0x5aa47e['length']-0x1,_0x92383;_0x12bc3f>=0x0;_0x12bc3f--)(_0x92383=_0x5aa47e[_0x12bc3f])&&(_0x1c8502=_0x92383(_0x1c8502)||_0x1c8502);return _0x1c8502;},_0x12fea4=(_0x4d5c61,_0x21c541)=>(_0x1bf9ad,_0x250527)=>_0x21c541(_0x1bf9ad,_0x250527,_0x4d5c61);_0x2b6d0b[_0x912252(0x26c)]=class extends _0x468931['RxDisposable']{constructor(_0x5ed53a,_0x4260f5,_0x50edbc,_0x479fc5,_0x1afb92){const _0x48d6e6=_0x912252;super(),this[_0x48d6e6(0x269)]=_0x5ed53a,this[_0x48d6e6(0x396)]=_0x4260f5,this['_commandService']=_0x50edbc,this[_0x48d6e6(0x332)]=_0x479fc5,_0x1afb92?_0x1afb92==null||_0x1afb92['whenReady']()[_0x48d6e6(0x341)](()=>this[_0x48d6e6(0x48e)]()):(this[_0x48d6e6(0x396)][_0x48d6e6(0x37f)](_0x48d6e6(0x44b),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x912252(0x48e)](){const _0x5fc34e=_0x912252,_0x356895=this[_0x5fc34e(0x269)][_0x5fc34e(0x30b)]('unit'),_0x211f57=this[_0x5fc34e(0x269)][_0x5fc34e(0x30b)]('type'),_0x32031c=this[_0x5fc34e(0x269)][_0x5fc34e(0x30b)]('subunit');if(!_0x356895||!_0x211f57){this[_0x5fc34e(0x396)][_0x5fc34e(0x37f)](_0x5fc34e(0x44b),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x75adfe=await this[_0x5fc34e(0x332)][_0x5fc34e(0x392)](_0x356895,Number(_0x211f57),_0x32031c);_0x75adfe&&_0x75adfe instanceof _0x468931['Workbook']&&this[_0x5fc34e(0x266)](_0x75adfe);}async[_0x912252(0x266)](_0x37959d){const _0x5b67d9=_0x912252;await this[_0x5b67d9(0x2a6)](_0x37959d),_0x37959d[_0x5b67d9(0x2d6)][_0x5b67d9(0x252)](_0x946ff9['takeUntil'](this[_0x5b67d9(0x41b)]))[_0x5b67d9(0x38c)](_0x43fac5=>{const _0x1a5376=_0x5b67d9;_0x43fac5&&this[_0x1a5376(0x432)](_0x43fac5);}),this['_urlService'][_0x5b67d9(0x2bc)][_0x5b67d9(0x252)](_0x946ff9[_0x5b67d9(0x3a7)](this[_0x5b67d9(0x41b)]))['subscribe'](()=>this[_0x5b67d9(0x2a6)](_0x37959d));}[_0x912252(0x432)](_0x1abca8,_0x206fa1=!0x1){const _0x285d49=_0x912252,_0x23f03e=this[_0x285d49(0x269)][_0x285d49(0x30b)](_0x285d49(0x22c));_0x1abca8[_0x285d49(0x2fe)]()!==_0x23f03e&&this['_urlService']['setParam'](_0x285d49(0x22c),_0x1abca8['getSheetId'](),_0x206fa1);}async['_updateSubUnitFromURLParams'](_0x567c90){const _0x4851fa=_0x912252;var _0x9b4565;const _0x54a846=this['_urlService'][_0x4851fa(0x30b)](_0x4851fa(0x22c));if(!_0x54a846||!_0x567c90[_0x4851fa(0x1f3)](_0x54a846)){const _0x1a8744=_0x567c90['getUnhiddenWorksheets']()[0x0],_0x5f419a=_0x567c90[_0x4851fa(0x1f3)](_0x1a8744);if(!_0x5f419a)return;this[_0x4851fa(0x432)](_0x5f419a,!0x0),await this[_0x4851fa(0x391)][_0x4851fa(0x46b)](_0x35f756[_0x4851fa(0x405)]['id'],{'unitId':_0x567c90[_0x4851fa(0x2e8)](),'subUnitId':_0x1a8744});return;}((_0x9b4565=_0x567c90[_0x4851fa(0x23c)]())==null?void 0x0:_0x9b4565[_0x4851fa(0x2fe)]())!==_0x54a846&&await this[_0x4851fa(0x391)][_0x4851fa(0x46b)](_0x35f756[_0x4851fa(0x405)]['id'],{'unitId':_0x567c90[_0x4851fa(0x2e8)](),'subUnitId':_0x54a846});}},_0x2b6d0b[_0x912252(0x26c)]=_0x97b297([_0x12fea4(0x0,_0x36a885),_0x12fea4(0x1,_0x468931[_0x912252(0x35a)]),_0x12fea4(0x2,_0x468931[_0x912252(0x3fa)]),_0x12fea4(0x3,_0x468931[_0x912252(0x37e)](_0x57d487[_0x912252(0x328)])),_0x12fea4(0x4,_0x468931[_0x912252(0x471)](_0x4bc5c4[_0x912252(0x340)]))],_0x2b6d0b[_0x912252(0x26c)]);var _0x10d98e=Object[_0x912252(0x289)],_0x20a0d2=(_0x197401,_0xda5221,_0x256a0c,_0x58b26a)=>{const _0x1078b8=_0x912252;for(var _0x48df49=_0x58b26a>0x1?void 0x0:_0x58b26a?_0x10d98e(_0xda5221,_0x256a0c):_0xda5221,_0x326943=_0x197401[_0x1078b8(0x414)]-0x1,_0x441be2;_0x326943>=0x0;_0x326943--)(_0x441be2=_0x197401[_0x326943])&&(_0x48df49=_0x441be2(_0x48df49)||_0x48df49);return _0x48df49;},_0x37923a=(_0xa66830,_0x1f44fe)=>(_0x46b4c3,_0x1b0306)=>_0x1f44fe(_0x46b4c3,_0x1b0306,_0xa66830);let _0x52e565=class{constructor(_0x354ad8,_0x532edc,_0x215222){const _0x35a2d5=_0x912252;this[_0x35a2d5(0x457)]=_0x354ad8,this[_0x35a2d5(0x318)]=_0x532edc,this['_renderManagerService']=_0x215222;}[_0x912252(0x20d)](_0x25edc0){const _0x12cb7e=_0x912252;this[_0x12cb7e(0x2d1)](_0x25edc0),this[_0x12cb7e(0x2dd)](_0x25edc0);}[_0x912252(0x280)](_0x540731){const _0x33f34c=_0x912252,{unitID:_0x1a35d2}=_0x540731,_0x3eb669=this[_0x33f34c(0x26f)][_0x33f34c(0x39a)](_0x1a35d2)[_0x33f34c(0x442)](_0x13c110[_0x33f34c(0x226)]),{redoCache:_0x59932a}=_0x3eb669[_0x33f34c(0x39c)]();if(_0x59932a['length']===0x0)return _0x540731;let _0x9444f1=_0x468931['Tools']['deepClone'](_0x540731[_0x33f34c(0x47e)][0x0]);for(let _0x3a2bcf=0x0;_0x3a2bcf<_0x59932a[_0x33f34c(0x414)];_0x3a2bcf++){const _0x36a798={'id':'doc.mutation.rich-text-editing','params':{..._0x59932a[_0x3a2bcf]}},_0x182f36=this[_0x33f34c(0x318)][_0x33f34c(0x314)](_0x9444f1,_0x36a798,!0x1);if(_0x1042b5[_0x33f34c(0x337)](_0x182f36))throw _0x182f36['error'];_0x9444f1=_0x182f36[_0x33f34c(0x298)];}return{..._0x468931[_0x33f34c(0x24d)][_0x33f34c(0x241)](_0x540731),'mutations':[_0x9444f1]};}['_transformUndoRedoStack'](_0x30439f){const _0x1b2e50=_0x912252,{unitID:_0x16140f}=_0x30439f,_0x5b8c9a=this[_0x1b2e50(0x26f)][_0x1b2e50(0x39a)](_0x16140f)[_0x1b2e50(0x442)](_0x13c110[_0x1b2e50(0x226)]),{undoCache:_0x2720df,redoCache:_0x2a84b8}=_0x5b8c9a['getUndoRedoMutationParamsCache']();if(_0x2720df['length']===0x0||_0x2a84b8[_0x1b2e50(0x414)]===0x0)return;const _0x1b0f37=[],_0x3b28c5=[];let _0x4c7bc9=_0x468931[_0x1b2e50(0x24d)][_0x1b2e50(0x241)](_0x30439f['mutations'][0x0]),_0x5b9e15=_0x468931[_0x1b2e50(0x24d)][_0x1b2e50(0x241)](_0x30439f[_0x1b2e50(0x47e)][0x0]);for(let _0x405f62=_0x2720df['length']-0x1;_0x405f62>=0x0;_0x405f62--){const _0x1154ef={'id':_0x1b2e50(0x46d),'params':{..._0x2720df[_0x405f62]}},_0x240475={'id':_0x1b2e50(0x46d),'params':{..._0x2a84b8[_0x405f62]}},_0x30e238=this['_transformService'][_0x1b2e50(0x314)](_0x4c7bc9,_0x1154ef,!0x1),_0x550e1c=this['_transformService'][_0x1b2e50(0x314)](_0x5b9e15,_0x240475,!0x1);if(_0x1042b5['isTransformMutationFailure'](_0x30e238))throw _0x30e238[_0x1b2e50(0x2b4)];if(_0x1042b5[_0x1b2e50(0x337)](_0x550e1c))throw _0x550e1c[_0x1b2e50(0x2b4)];_0x1b0f37['unshift'](_0x30e238[_0x1b2e50(0x438)][_0x1b2e50(0x43d)]),_0x3b28c5[_0x1b2e50(0x353)](_0x550e1c[_0x1b2e50(0x438)]['params']),_0x4c7bc9=_0x30e238['m1Prime'],_0x5b9e15=_0x550e1c[_0x1b2e50(0x298)];}_0x5b8c9a[_0x1b2e50(0x3cf)]({'undoCache':_0x1b0f37,'redoCache':_0x3b28c5});}[_0x912252(0x2dd)](_0x1a52a9){const _0x1199ae=_0x912252,{unitID:_0x30d5bc}=_0x1a52a9,_0x25fb40=this[_0x1199ae(0x26f)]['getRenderById'](_0x30d5bc)[_0x1199ae(0x442)](_0x13c110[_0x1199ae(0x226)]),_0x4440b8=_0x25fb40['getActiveRange']();if(_0x4440b8==null)return;const _0x1436c8=[{'id':_0x1199ae(0x46d),'params':{'unitId':_0x1a52a9[_0x1199ae(0x2ac)],'actions':null,'textRanges':[_0x4440b8]}}],_0x506654=this[_0x1199ae(0x318)][_0x1199ae(0x43c)](_0x1a52a9,_0x1436c8);if(!_0x1042b5[_0x1199ae(0x32e)](_0x506654))throw _0x506654[_0x1199ae(0x2b4)];const _0x2573ca=_0x506654['m2Prime'][0x0][_0x1199ae(0x43d)][_0x1199ae(0x407)];Array['isArray'](_0x2573ca)&&_0x2573ca[_0x1199ae(0x414)]&&_0x25fb40['setActiveRange'](_0x2573ca[0x0]);}};_0x52e565=_0x20a0d2([_0x37923a(0x0,_0x468931['Inject'](_0x468931[_0x912252(0x1fd)])),_0x37923a(0x1,_0x1042b5[_0x912252(0x3f3)]),_0x37923a(0x2,_0x5d71b0[_0x912252(0x38b)])],_0x52e565);var _0x3136e3=Object[_0x912252(0x289)],_0x34dc3c=(_0x483166,_0x59fc39,_0x521511,_0x1cfd68)=>{const _0x422c14=_0x912252;for(var _0xded792=_0x1cfd68>0x1?void 0x0:_0x1cfd68?_0x3136e3(_0x59fc39,_0x521511):_0x59fc39,_0x22522a=_0x483166[_0x422c14(0x414)]-0x1,_0x101a3c;_0x22522a>=0x0;_0x22522a--)(_0x101a3c=_0x483166[_0x22522a])&&(_0xded792=_0x101a3c(_0xded792)||_0xded792);return _0xded792;},_0x2f48b1=(_0xf98ba3,_0x91dc8c)=>(_0x4d74a9,_0xeb224a)=>_0x91dc8c(_0x4d74a9,_0xeb224a,_0xf98ba3);let _0x35f102=class{constructor(_0x1b7cd7,_0x173799,_0x38606a){const _0x26e620=_0x912252;this[_0x26e620(0x457)]=_0x1b7cd7,this[_0x26e620(0x318)]=_0x173799,this['_docStateChangeManagerService']=_0x38606a;}[_0x912252(0x277)](_0x3aa9ba){const _0x1f198f=_0x912252;this[_0x1f198f(0x2cd)](_0x3aa9ba);}[_0x912252(0x280)](_0x4238ac){const _0x360a4c=_0x912252,{unitID:_0x34091d}=_0x4238ac,{collaboration:_0x2edfac}=this[_0x360a4c(0x2b0)][_0x360a4c(0x420)](_0x34091d);if(_0x2edfac[_0x360a4c(0x414)]===0x0)return _0x4238ac;let _0x545567=_0x468931['Tools'][_0x360a4c(0x241)](_0x4238ac[_0x360a4c(0x47e)][0x0]);for(let _0x47a429=0x0;_0x47a429<_0x2edfac[_0x360a4c(0x414)];_0x47a429++){const _0x407049={'id':_0x360a4c(0x46d),'params':{'unitId':_0x2edfac[_0x47a429][_0x360a4c(0x25e)],..._0x2edfac[_0x47a429][_0x360a4c(0x473)]}},_0x50cbc8=this['_transformService'][_0x360a4c(0x314)](_0x545567,_0x407049,!0x1);if(_0x1042b5['isTransformMutationFailure'](_0x50cbc8))throw _0x50cbc8[_0x360a4c(0x2b4)];_0x545567=_0x50cbc8['m1Prime'];}return{..._0x468931[_0x360a4c(0x24d)]['deepClone'](_0x4238ac),'mutations':[_0x545567]};}[_0x912252(0x2cd)](_0x1aba90){const _0x573c46=_0x912252,{unitID:_0x2b804c}=_0x1aba90,{history:_0x26d2dc,collaboration:_0x369333}=this[_0x573c46(0x2b0)]['getStateCache'](_0x2b804c);if(_0x26d2dc[_0x573c46(0x414)]===0x0&&_0x369333[_0x573c46(0x414)]===0x0)return;const _0x26c847=[],_0x5cc237=[];let _0x34b558=_0x468931[_0x573c46(0x24d)][_0x573c46(0x241)](_0x1aba90[_0x573c46(0x47e)][0x0]),_0x26df13=_0x468931[_0x573c46(0x24d)][_0x573c46(0x241)](_0x1aba90[_0x573c46(0x47e)][0x0]);for(let _0x55ba58=_0x26d2dc[_0x573c46(0x414)]-0x1;_0x55ba58>=0x0;_0x55ba58--){const _0x52c96d={'id':_0x573c46(0x46d),'params':{'unitId':_0x26d2dc[_0x55ba58]['unitId'],..._0x26d2dc[_0x55ba58][_0x573c46(0x27d)]}},_0x5a0748={'id':_0x573c46(0x46d),'params':{'unitId':_0x26d2dc[_0x55ba58]['unitId'],..._0x26d2dc[_0x55ba58]['redoState']}},_0x1f4024=this['_transformService'][_0x573c46(0x314)](_0x34b558,_0x52c96d,!0x1),_0x55440d=this[_0x573c46(0x318)][_0x573c46(0x314)](_0x26df13,_0x5a0748,!0x1);if(_0x1042b5[_0x573c46(0x337)](_0x1f4024))throw _0x1f4024['error'];if(_0x1042b5[_0x573c46(0x337)](_0x55440d))throw _0x55440d[_0x573c46(0x2b4)];_0x26c847['unshift']({..._0x26d2dc[_0x55ba58],'undoState':_0x1f4024[_0x573c46(0x438)]['params'],'redoState':_0x55440d[_0x573c46(0x438)][_0x573c46(0x43d)]}),_0x34b558=_0x1f4024[_0x573c46(0x298)],_0x26df13=_0x55440d[_0x573c46(0x298)];}_0x34b558=_0x468931[_0x573c46(0x24d)][_0x573c46(0x241)](_0x1aba90['mutations'][0x0]),_0x26df13=_0x468931[_0x573c46(0x24d)][_0x573c46(0x241)](_0x1aba90[_0x573c46(0x47e)][0x0]);for(let _0x54b491=_0x369333[_0x573c46(0x414)]-0x1;_0x54b491>=0x0;_0x54b491--){const _0x362d0b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x369333[_0x54b491][_0x573c46(0x25e)],..._0x369333[_0x54b491]['undoState']}},_0x211ab4={'id':_0x573c46(0x46d),'params':{'unitId':_0x369333[_0x54b491][_0x573c46(0x25e)],..._0x369333[_0x54b491][_0x573c46(0x473)]}},_0x5f2f0a=this[_0x573c46(0x318)][_0x573c46(0x314)](_0x34b558,_0x362d0b,!0x1),_0xd5c684=this[_0x573c46(0x318)][_0x573c46(0x314)](_0x26df13,_0x211ab4,!0x1);if(_0x1042b5['isTransformMutationFailure'](_0x5f2f0a))throw _0x5f2f0a[_0x573c46(0x2b4)];if(_0x1042b5['isTransformMutationFailure'](_0xd5c684))throw _0xd5c684[_0x573c46(0x2b4)];_0x5cc237[_0x573c46(0x353)]({..._0x369333[_0x54b491],'undoState':_0x5f2f0a[_0x573c46(0x438)][_0x573c46(0x43d)],'redoState':_0xd5c684[_0x573c46(0x438)][_0x573c46(0x43d)]}),_0x34b558=_0x5f2f0a['m1Prime'],_0x26df13=_0xd5c684[_0x573c46(0x298)];}this[_0x573c46(0x2b0)][_0x573c46(0x21e)](_0x2b804c,{'history':_0x26c847,'collaboration':_0x5cc237});}};_0x35f102=_0x34dc3c([_0x2f48b1(0x0,_0x468931[_0x912252(0x37e)](_0x468931[_0x912252(0x1fd)])),_0x2f48b1(0x1,_0x1042b5[_0x912252(0x3f3)]),_0x2f48b1(0x2,_0x468931[_0x912252(0x37e)](_0x13c110[_0x912252(0x212)]))],_0x35f102);var _0x23e08e=Object[_0x912252(0x289)],_0x490802=(_0x547cc6,_0x10cdcd,_0x3e2a0b,_0x35000b)=>{const _0x3ba0fa=_0x912252;for(var _0x339251=_0x35000b>0x1?void 0x0:_0x35000b?_0x23e08e(_0x10cdcd,_0x3e2a0b):_0x10cdcd,_0x35e6c5=_0x547cc6[_0x3ba0fa(0x414)]-0x1,_0x5c74c6;_0x35e6c5>=0x0;_0x35e6c5--)(_0x5c74c6=_0x547cc6[_0x35e6c5])&&(_0x339251=_0x5c74c6(_0x339251)||_0x339251);return _0x339251;},_0x20df2d=(_0x29e388,_0x2dc3c3)=>(_0x3d37ab,_0x3968fe)=>_0x2dc3c3(_0x3d37ab,_0x3968fe,_0x29e388);let _0x26ea7d=class{constructor(_0x28dcc5,_0x46d234){const _0x324da4=_0x912252;this['_injector']=_0x28dcc5,this[_0x324da4(0x318)]=_0x46d234;}[_0x912252(0x43f)](_0x2c55c2){const _0x2f5d3f=_0x912252;var _0x4c37e3;const _0x5db188=this['_injector'][_0x2f5d3f(0x2ae)](_0x3b619f[_0x2f5d3f(0x409)]),_0x10e67f=(_0x4c37e3=_0x5db188[_0x2f5d3f(0x3ef)]())!=null?_0x4c37e3:[];if(_0x10e67f['length']===0x0)return;const _0x5e9c75=_0x2c55c2[_0x2f5d3f(0x2ac)],_0x33a219=[{'id':_0x2f5d3f(0x46d),'params':{'unitId':_0x5e9c75,'actions':null,'textRanges':_0x10e67f}}],_0x538866=this['_transformService'][_0x2f5d3f(0x43c)](_0x2c55c2,_0x33a219);if(!_0x1042b5[_0x2f5d3f(0x32e)](_0x538866))throw _0x538866[_0x2f5d3f(0x2b4)];const _0x491ee0=_0x538866[_0x2f5d3f(0x438)][0x0][_0x2f5d3f(0x43d)][_0x2f5d3f(0x407)];Array[_0x2f5d3f(0x2d5)](_0x491ee0)&&_0x491ee0[_0x2f5d3f(0x414)]&&_0x5db188[_0x2f5d3f(0x242)](_0x491ee0,{'unitId':_0x5e9c75,'subUnitId':_0x5e9c75},!0x1);}};_0x26ea7d=_0x490802([_0x20df2d(0x0,_0x468931[_0x912252(0x37e)](_0x468931['Injector'])),_0x20df2d(0x1,_0x1042b5[_0x912252(0x3f3)])],_0x26ea7d);var _0x1dafc6=Object['getOwnPropertyDescriptor'],_0x20b1f1=(_0x9651e4,_0x3e9101,_0x2519b8,_0x345884)=>{const _0x2d9594=_0x912252;for(var _0x273444=_0x345884>0x1?void 0x0:_0x345884?_0x1dafc6(_0x3e9101,_0x2519b8):_0x3e9101,_0x27cb22=_0x9651e4[_0x2d9594(0x414)]-0x1,_0x26c3d9;_0x27cb22>=0x0;_0x27cb22--)(_0x26c3d9=_0x9651e4[_0x27cb22])&&(_0x273444=_0x26c3d9(_0x273444)||_0x273444);return _0x273444;},_0x5db33d=(_0x216a7b,_0x44d419)=>(_0x32f547,_0x5960d2)=>_0x44d419(_0x32f547,_0x5960d2,_0x216a7b);let _0x32f1f1=class extends _0x468931[_0x912252(0x3dc)]{constructor(_0xba9065,_0x101f6d,_0x142593,_0x9b059a,_0xad2360,_0x39c1f9,_0x192354,_0x45c0d3){const _0x430945=_0x912252;super(),_0x52c450(this,_0x430945(0x39f),new _0x946ff9[(_0x430945(0x239))](_0x57d487['CollaborationStatus']['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0xba9065,this[_0x430945(0x29f)]=_0x101f6d,this[_0x430945(0x40e)]=_0x142593,this[_0x430945(0x23a)]=_0x9b059a,this[_0x430945(0x255)]=_0xad2360,this['_docSyncEditingCollabCursorService']=_0x39c1f9,this[_0x430945(0x23b)]=_0x192354,this['_localeService']=_0x45c0d3,this[_0x430945(0x48d)]());}['_initEntityListener'](){const _0x4e0344=_0x912252;this[_0x4e0344(0x3d8)](this['_collaborationController'][_0x4e0344(0x230)][_0x4e0344(0x38c)](_0x3b7361=>{const _0x6d2056=_0x4e0344,_0x30e17f=this['_docStateChangeManagerService']['docStateChange$']['subscribe'](_0x118de5=>{const _0xc06903=_0x44a6;if(_0x118de5==null)return;const {unitId:_0x67d9db,redoState:_0x3ceda0,commandId:_0x33b4e2}=_0x118de5;if(_0x67d9db!==_0x3b7361[_0xc06903(0x2ac)])return;const _0x45aab5={'id':_0x33b4e2,'type':_0x468931[_0xc06903(0x2c7)][_0xc06903(0x24c)],'params':{'unitId':_0x67d9db,'actions':_0x3ceda0[_0xc06903(0x429)],'textRanges':null}};_0x3b7361[_0xc06903(0x410)](_0x45aab5);});if(_0x3b7361[_0x6d2056(0x3d8)](_0x30e17f),_0x3b7361 instanceof _0x57d487[_0x6d2056(0x30d)]){const _0xae8da0={'onTransformIME':_0x5d4d32=>this[_0x6d2056(0x40e)][_0x6d2056(0x20d)](_0x5d4d32),'onTransformState':_0x54a180=>this[_0x6d2056(0x23a)][_0x6d2056(0x277)](_0x54a180),'onTransformSelections':_0x120954=>this[_0x6d2056(0x255)][_0x6d2056(0x43f)](_0x120954),'onSyncEditingCollabCursor':_0x21f392=>this[_0x6d2056(0x2c5)]['syncEditingCollabCursor'](_0x21f392),'onTransformRemoteChangesetByIMECache':_0x13dff4=>this[_0x6d2056(0x40e)]['transformRemoteChangeset'](_0x13dff4),'onTransformRemoteChangesetByStateCache':_0x52d2c8=>this[_0x6d2056(0x23a)]['transformRemoteChangeset'](_0x52d2c8)};_0x3b7361['addHandlerCallback'](_0xae8da0);}}));}};_0x32f1f1=_0x20b1f1([_0x5db33d(0x0,_0x468931[_0x912252(0x37e)](_0x13c110[_0x912252(0x212)])),_0x5db33d(0x1,_0x468931['Inject'](_0x57d487['CollaborationController'])),_0x5db33d(0x2,_0x468931[_0x912252(0x37e)](_0x52e565)),_0x5db33d(0x3,_0x468931[_0x912252(0x37e)](_0x35f102)),_0x5db33d(0x4,_0x468931[_0x912252(0x37e)](_0x26ea7d)),_0x5db33d(0x5,_0x468931[_0x912252(0x37e)](_0x360d85)),_0x5db33d(0x6,_0x5a4aac[_0x912252(0x2c1)]),_0x5db33d(0x7,_0x468931[_0x912252(0x37e)](_0x468931[_0x912252(0x2bb)]))],_0x32f1f1);var _0x5db896=Object[_0x912252(0x289)],_0x4cf9c9=(_0x540fff,_0x4b016f,_0xdc8211,_0x42d7be)=>{for(var _0x2b9c47=_0x42d7be>0x1?void 0x0:_0x42d7be?_0x5db896(_0x4b016f,_0xdc8211):_0x4b016f,_0xdf7952=_0x540fff['length']-0x1,_0x244398;_0xdf7952>=0x0;_0xdf7952--)(_0x244398=_0x540fff[_0xdf7952])&&(_0x2b9c47=_0x244398(_0x2b9c47)||_0x2b9c47);return _0x2b9c47;},_0xb0c52b=(_0x1a79f1,_0xa34ec4)=>(_0x246131,_0x7dc34d)=>_0xa34ec4(_0x246131,_0x7dc34d,_0x1a79f1);let _0x3a7379=class extends _0x468931['Disposable']{constructor(_0x468d56,_0x472205,_0x4ce285){const _0x1feb84=_0x912252;super(),_0x52c450(this,_0x1feb84(0x232),new Map()),_0x52c450(this,_0x1feb84(0x363),new Map()),_0x52c450(this,_0x1feb84(0x36e),!0x1),(this[_0x1feb84(0x357)]=_0x468d56,this['_localStorageService']=_0x472205,this[_0x1feb84(0x31c)]=_0x4ce285);}[_0x912252(0x446)](){const _0x15ca31=_0x912252;this[_0x15ca31(0x36e)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x912252(0x20e)](){const _0x7c6f3e=_0x912252;return this[_0x7c6f3e(0x363)];}[_0x912252(0x3ae)](){const _0x9c3187=_0x912252;this[_0x9c3187(0x229)]()['then'](()=>super[_0x9c3187(0x3ae)]());}async[_0x912252(0x3cc)](_0x8d2986){const _0x18c39b=_0x912252;return this[_0x18c39b(0x36e)]?null:this[_0x18c39b(0x3c5)][_0x18c39b(0x1fb)](_0x57d487['getLocalCacheKey'](_0x8d2986));}async[_0x912252(0x313)](_0xd37a10,_0x265114){const _0x11ae6a=_0x912252;return!!this[_0x11ae6a(0x3c5)][_0x11ae6a(0x403)](_0xd37a10,_0x265114);}[_0x912252(0x2cc)](_0x1abb6a,_0xcd240b,_0x46b6a0,_0x1124d0){const _0x417964=_0x912252,_0x53efc3=this['_revisionService'][_0x417964(0x285)](_0x1abb6a);this[_0x417964(0x232)][_0x417964(0x382)](_0x1abb6a,{'unitID':_0x1abb6a,'type':_0xcd240b,'awaitingChangeset':_0x46b6a0,'mutations':_0x1124d0,'rev':_0x53efc3}),this[_0x417964(0x363)][_0x417964(0x2a7)](_0x1abb6a)||this[_0x417964(0x22f)](_0x1abb6a);}[_0x912252(0x22f)](_0xfabae3){const _0x3b7573=_0x912252,_0x5d30f1=this['_getSaveTimeout']();_0x5d30f1===0x0?this[_0x3b7573(0x20c)](_0xfabae3):this[_0x3b7573(0x363)][_0x3b7573(0x382)](_0xfabae3,setTimeout(()=>this[_0x3b7573(0x20c)](_0xfabae3),_0x5d30f1));}[_0x912252(0x27f)](){const _0x251010=_0x912252;var _0x42bce8;return(_0x42bce8=this['_configService'][_0x251010(0x3b5)](_0x57d487[_0x251010(0x3bf)]))!=null?_0x42bce8:_0x57d487['LOCAL_CACHE_INTERVAL'];}[_0x912252(0x20c)](_0x2512f4){const _0x2bf9c7=_0x912252,_0x317bb3=this['_saveTaskMap']['get'](_0x2512f4);return _0x317bb3!==void 0x0&&window[_0x2bf9c7(0x1f5)](_0x317bb3),this[_0x2bf9c7(0x3c5)]['setItem'](_0x57d487[_0x2bf9c7(0x1f7)](_0x2512f4),this[_0x2bf9c7(0x232)][_0x2bf9c7(0x2ae)](_0x2512f4))[_0x2bf9c7(0x341)](()=>this[_0x2bf9c7(0x363)][_0x2bf9c7(0x1f9)](_0x2512f4));}async[_0x912252(0x229)](){const _0xedfd97=_0x912252,_0x10a595=[];this[_0xedfd97(0x363)][_0xedfd97(0x2fc)]((_0x5ce0a1,_0x24e7e5)=>{const _0x3df68c=_0xedfd97;window[_0x3df68c(0x1f5)](_0x5ce0a1),_0x10a595[_0x3df68c(0x381)](this['_saveCache'](_0x24e7e5)[_0x3df68c(0x341)](()=>{const _0x4d4d05=_0x3df68c;this[_0x4d4d05(0x363)][_0x4d4d05(0x1f9)](_0x24e7e5);}));}),await Promise[_0xedfd97(0x369)](_0x10a595);}};_0x3a7379=_0x4cf9c9([_0xb0c52b(0x0,_0x468931[_0x912252(0x25c)]),_0xb0c52b(0x1,_0x468931['ILocalStorageService']),_0xb0c52b(0x2,_0x468931[_0x912252(0x37e)](_0x1042b5[_0x912252(0x2a8)]))],_0x3a7379);class _0x27a589 extends _0x468931[_0x912252(0x3ba)]{constructor(){const _0xdc1312=_0x912252;super(),_0x52c450(this,_0xdc1312(0x2bc)),this[_0xdc1312(0x2bc)]=_0x946ff9[_0xdc1312(0x34b)](window,_0xdc1312(0x2f6))['pipe'](_0x946ff9[_0xdc1312(0x3a7)](this[_0xdc1312(0x41b)]),_0x946ff9[_0xdc1312(0x33c)](0x1),_0x946ff9[_0xdc1312(0x3ff)](void 0x0));}['setParam'](_0x46c403,_0xd0b2e9,_0x185df1=!0x1){const _0x133f38=_0x912252,_0xd12178=new URL(window[_0x133f38(0x220)][_0x133f38(0x316)]);_0xd12178[_0x133f38(0x36f)][_0x133f38(0x382)](_0x46c403,_0xd0b2e9),_0x185df1?window[_0x133f38(0x2c8)][_0x133f38(0x43a)]('','',_0xd12178['toString']()):window['history']['pushState']('','',_0xd12178[_0x133f38(0x324)]());}[_0x912252(0x279)](_0x3aadfb,_0x1ba5b1=!0x1){const _0x5aafe6=_0x912252,_0x2e5a82=new URL(window['location'][_0x5aafe6(0x316)]);_0x2e5a82[_0x5aafe6(0x36f)][_0x5aafe6(0x1f9)](_0x3aadfb),_0x1ba5b1?window['history'][_0x5aafe6(0x43a)]('','',_0x2e5a82[_0x5aafe6(0x324)]()):window['history'][_0x5aafe6(0x47a)]('','',_0x2e5a82[_0x5aafe6(0x324)]());}['getParam'](_0x3ebe4c){const _0x1a627d=_0x912252;var _0x5f097f;return(_0x5f097f=new URL(window[_0x1a627d(0x220)][_0x1a627d(0x316)])[_0x1a627d(0x36f)][_0x1a627d(0x2ae)](_0x3ebe4c))!=null?_0x5f097f:void 0x0;}}var _0x559faa=Object[_0x912252(0x2c3)],_0x5e0bcf=Object['getOwnPropertyDescriptor'],_0x382b18=(_0x4d3925,_0x3d1faf,_0xc7880c)=>_0x3d1faf in _0x4d3925?_0x559faa(_0x4d3925,_0x3d1faf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc7880c}):_0x4d3925[_0x3d1faf]=_0xc7880c,_0x464552=(_0xd249d7,_0xde9e2a,_0x3a3083,_0x312077)=>{const _0x17b390=_0x912252;for(var _0x2f2a48=_0x312077>0x1?void 0x0:_0x312077?_0x5e0bcf(_0xde9e2a,_0x3a3083):_0xde9e2a,_0x25e014=_0xd249d7[_0x17b390(0x414)]-0x1,_0x10f425;_0x25e014>=0x0;_0x25e014--)(_0x10f425=_0xd249d7[_0x25e014])&&(_0x2f2a48=_0x10f425(_0x2f2a48)||_0x2f2a48);return _0x2f2a48;},_0x363d09=(_0x301cd5,_0x4cbada)=>(_0xc2fcb2,_0x24e2e6)=>_0x4cbada(_0xc2fcb2,_0x24e2e6,_0x301cd5),_0xc2563=(_0x1e33ff,_0x418075,_0xc30846)=>_0x382b18(_0x1e33ff,_0x418075+'',_0xc30846);const _0x900d92='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x2b6d0b[_0x912252(0x3f6)]=class extends _0x468931[_0x912252(0x288)]{constructor(_0x3bbfbc=_0x1a3a24,_0x483bab,_0x10c133,_0x11def7){const _0x3a2c43=_0x912252;super(),this[_0x3a2c43(0x331)]=_0x3bbfbc,this['_renderManagerService']=_0x483bab,this[_0x3a2c43(0x457)]=_0x10c133,this[_0x3a2c43(0x357)]=_0x11def7;const {..._0x264deb}=_0x468931[_0x3a2c43(0x24a)]({},_0x1a3a24,this[_0x3a2c43(0x331)]);this[_0x3a2c43(0x357)][_0x3a2c43(0x406)](_0xe01fb2,_0x264deb);}['onStarting'](){const _0x2cbec5=_0x912252;this[_0x2cbec5(0x2ab)](),this[_0x2cbec5(0x2ee)]();}[_0x912252(0x459)](){const _0x4545ae=_0x912252;this[_0x4545ae(0x25b)]();}[_0x912252(0x2ab)](){const _0xcad8ee=_0x912252;var _0x9b1998;const _0x9a4f8=[[_0xb034cf],[_0x26ea7d],[_0x52e565],[_0x35f102],[_0x360d85],[_0x36a885,{'useClass':_0x27a589}],[_0x10caf6[_0xcad8ee(0x32a)],{'useClass':_0x10caf6[_0xcad8ee(0x46e)]}],[_0x57d487[_0xcad8ee(0x421)],{'useClass':_0x3a7379}],[_0x2b6d0b[_0xcad8ee(0x36d)]],[_0x32f1f1],[_0xe29bcd],[_0x59a198],[_0xf1d0fc],[_0x2b6d0b['CollaborationDataLoaderController']]];_0x468931['registerDependencies'](this[_0xcad8ee(0x457)],_0x468931['mergeOverrideWithDependencies'](_0x9a4f8,(_0x9b1998=this[_0xcad8ee(0x331)])==null?void 0x0:_0x9b1998[_0xcad8ee(0x395)]));}[_0x912252(0x25b)](){const _0x37c879=_0x912252;this[_0x37c879(0x3d8)](this[_0x37c879(0x26f)][_0x37c879(0x389)](_0x468931['UniverInstanceType']['UNIVER_DOC'],[_0x2735fe])),this[_0x37c879(0x3d8)](this[_0x37c879(0x26f)][_0x37c879(0x389)](_0x468931['UniverInstanceType'][_0x37c879(0x1ff)],[_0x58f27b]));}['_initDependencies'](){const _0x2a17d9=_0x912252;_0x468931[_0x2a17d9(0x489)](this[_0x2a17d9(0x457)],[[_0x59a198],[_0x2b6d0b[_0x2a17d9(0x36d)]],[_0x32f1f1],[_0xe29bcd],[_0x2b6d0b[_0x2a17d9(0x26c)]]]);}},_0xc2563(_0x2b6d0b[_0x912252(0x3f6)],_0x912252(0x34d),_0x900d92),_0x2b6d0b[_0x912252(0x3f6)]=_0x464552([_0x468931[_0x912252(0x35c)](_0x57d487[_0x912252(0x2b3)]),_0x363d09(0x1,_0x5d71b0[_0x912252(0x38b)]),_0x363d09(0x2,_0x468931[_0x912252(0x37e)](_0x468931['Injector'])),_0x363d09(0x3,_0x468931[_0x912252(0x25c)])],_0x2b6d0b[_0x912252(0x3f6)]);var _0x28461b=Object[_0x912252(0x289)],_0x3400ed=(_0x5da3a8,_0x36b0a1,_0x55614f,_0x358e53)=>{const _0x1302f5=_0x912252;for(var _0x4e0536=_0x358e53>0x1?void 0x0:_0x358e53?_0x28461b(_0x36b0a1,_0x55614f):_0x36b0a1,_0x4679e4=_0x5da3a8[_0x1302f5(0x414)]-0x1,_0x1be0d7;_0x4679e4>=0x0;_0x4679e4--)(_0x1be0d7=_0x5da3a8[_0x4679e4])&&(_0x4e0536=_0x1be0d7(_0x4e0536)||_0x4e0536);return _0x4e0536;},_0x2560b9=(_0xfa2084,_0xccb8b6)=>(_0x37c163,_0x2d4981)=>_0xccb8b6(_0x37c163,_0x2d4981,_0xfa2084);_0x2b6d0b['BrowserCollaborationSocketService']=class extends _0x57d487['CollaborationSocketService']{constructor(_0x4a5c5f,_0x3144e4,_0x1cb4cd,_0x4eb718,_0x161efb){super(_0x4a5c5f,_0x3144e4,_0x1cb4cd,_0x4eb718,_0x161efb);}async['createSocket'](_0x47f95d){const _0x55d881=_0x912252,_0x3bedef=await this[_0x55d881(0x2f4)](),_0x10a528=this[_0x55d881(0x3c6)](_0x47f95d,_0x3bedef);return this['_doCreateSocket'](_0x10a528);}[_0x912252(0x3c6)](_0x166fe0,_0x24f644){const _0x21743e=_0x912252,_0x2f833b=typeof window>'u'?new URL(_0x166fe0):new URL(_0x166fe0,window['location'][_0x21743e(0x1fc)]);_0x2f833b[_0x21743e(0x36f)]['set'](_0x21743e(0x416),_0x24f644);const _0x3183c6=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x21743e(0x220)][_0x21743e(0x310)]);return _0x3183c6['get']('runId')&&_0x2f833b[_0x21743e(0x36f)][_0x21743e(0x382)](_0x21743e(0x345),_0x3183c6[_0x21743e(0x2ae)]('runId')),_0x2f833b[_0x21743e(0x324)]();}async['_getSessionTicket'](){const _0x942ad6=_0x912252;var _0x30b131,_0x4113df,_0x807f30;const _0x54acd1=this[_0x942ad6(0x357)][_0x942ad6(0x3b5)](_0x57d487[_0x942ad6(0x2a0)]),_0x3e03cc=(_0x30b131=_0x54acd1==null?void 0x0:_0x54acd1[_0x942ad6(0x2fb)])!=null?_0x30b131:_0x57d487[_0x942ad6(0x48b)];return(_0x807f30=(_0x4113df=(await this[_0x942ad6(0x28f)][_0x942ad6(0x2ae)](_0x3e03cc,{'headers':{'Content-Type':_0x942ad6(0x3d6)}}))[_0x942ad6(0x2b9)])==null?void 0x0:_0x4113df[_0x942ad6(0x42a)])!=null?_0x807f30:'';}},_0x2b6d0b['BrowserCollaborationSocketService']=_0x3400ed([_0x2560b9(0x0,_0x468931[_0x912252(0x37e)](_0x468931[_0x912252(0x1fd)])),_0x2560b9(0x1,_0x468931[_0x912252(0x37e)](_0x10caf6[_0x912252(0x225)])),_0x2560b9(0x2,_0x468931[_0x912252(0x25c)]),_0x2560b9(0x3,_0x468931[_0x912252(0x35a)]),_0x2560b9(0x4,_0x1042b5[_0x912252(0x315)])],_0x2b6d0b[_0x912252(0x33d)]);const _0x234fd8=0x7530,_0x185079=_0x912252(0x364);class _0x14e0a4 extends _0x468931[_0x912252(0x3dc)]{constructor(){const _0x35aa40=_0x912252;super(),_0x52c450(this,_0x35aa40(0x39d),_0x468931[_0x35aa40(0x2b7)]()),_0x52c450(this,_0x35aa40(0x2ff),new Set()),_0x52c450(this,_0x35aa40(0x45b),new Map()),_0x52c450(this,_0x35aa40(0x2b5),null),_0x52c450(this,_0x35aa40(0x354),new Map()),_0x52c450(this,_0x35aa40(0x29d),new Map()),this[_0x35aa40(0x48e)]();}[_0x912252(0x3ae)](){const _0xc50cc=_0x912252;super[_0xc50cc(0x3ae)](),this[_0xc50cc(0x354)][_0xc50cc(0x2fc)]((_0x3ef775,_0x21fb26)=>this[_0xc50cc(0x2d2)](_0x21fb26)),this[_0xc50cc(0x2b5)]&&window[_0xc50cc(0x245)](this[_0xc50cc(0x2b5)]);}['getUnitStatus$'](_0x22908e){const _0x39cb30=_0x912252;return this[_0x39cb30(0x273)](_0x22908e)['pipe'](_0x946ff9[_0x39cb30(0x394)]());}[_0x912252(0x210)](_0x44cdde){const _0x1df739=_0x912252;this[_0x1df739(0x2ff)][_0x1df739(0x3bd)]===0x0&&this[_0x1df739(0x2de)](),this[_0x1df739(0x2ff)]['add'](_0x44cdde),this[_0x1df739(0x488)]({'type':0x0,'memberID':this[_0x1df739(0x39d)],'unitIDs':[_0x44cdde],'isForwarded':!0x1});}[_0x912252(0x278)](_0x4caa55){const _0x7d4382=_0x912252;this[_0x7d4382(0x2ff)][_0x7d4382(0x1f9)](_0x4caa55),this[_0x7d4382(0x2ff)][_0x7d4382(0x3bd)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x7d4382(0x2b5)]);}[_0x912252(0x48e)](){const _0x280eae=_0x912252;this[_0x280eae(0x3d8)](_0x468931['toDisposable'](_0x946ff9['fromEvent'](window,'storage')['subscribe'](_0x812369=>{const _0x47a902=_0x280eae;if(_0x812369[_0x47a902(0x274)]!==_0x185079||!_0x812369[_0x47a902(0x465)])return;const _0x327a9f=JSON[_0x47a902(0x3e6)](_0x812369[_0x47a902(0x465)]);this[_0x47a902(0x401)](_0x327a9f);}))),window['addEventListener'](_0x280eae(0x436),()=>this[_0x280eae(0x488)]({'type':0x1,'memberID':this[_0x280eae(0x39d)],'unitIDs':Array['from'](this[_0x280eae(0x2ff)])}));}['_handleEvent'](_0x87474b){const _0x3c61bb=_0x912252;switch(_0x87474b[_0x3c61bb(0x468)]){case 0x0:this[_0x3c61bb(0x478)](_0x87474b);break;case 0x1:this[_0x3c61bb(0x29a)](_0x87474b);break;case 0x2:this[_0x3c61bb(0x388)](_0x87474b);break;}}['_handleJoinEvent'](_0x31f7d5){const _0x285cff=_0x912252,{unitIDs:_0x483770,memberID:_0x188785,isForwarded:_0xf06458}=_0x31f7d5;_0x483770[_0x285cff(0x2fc)](_0x4ba9de=>{const _0x2c9d24=_0x285cff;if(!_0xf06458&&this[_0x2c9d24(0x45b)][_0x2c9d24(0x2a7)](_0x4ba9de)&&this[_0x2c9d24(0x273)](_0x4ba9de)[_0x2c9d24(0x44f)](_0x57d487[_0x2c9d24(0x412)][_0x2c9d24(0x297)]),!this[_0x2c9d24(0x45b)][_0x2c9d24(0x2a7)](_0x4ba9de)||!this['_unitOnClients'][_0x2c9d24(0x2ae)](_0x4ba9de)[_0x2c9d24(0x2a7)](_0x188785)){const _0xf49b84=this[_0x2c9d24(0x45b)][_0x2c9d24(0x2ae)](_0x4ba9de)||new Set();_0xf49b84[_0x2c9d24(0x3d4)](_0x188785),this[_0x2c9d24(0x45b)][_0x2c9d24(0x382)](_0x4ba9de,_0xf49b84),this['_scheduleClearOtherTimer'](_0x188785);}}),_0xf06458||this[_0x285cff(0x488)]({'type':0x0,'memberID':this[_0x285cff(0x39d)],'unitIDs':[...this[_0x285cff(0x2ff)]],'isForwarded':!0x0});}[_0x912252(0x224)](_0x537e39){const _0xd8df72=_0x912252;this[_0xd8df72(0x2d2)](_0x537e39);const _0x44c4ee=window[_0xd8df72(0x287)](()=>{const _0x34a7d5=_0xd8df72;this[_0x34a7d5(0x45b)][_0x34a7d5(0x2fc)](_0x34f34d=>{const _0x32367e=_0x34a7d5;_0x34f34d[_0x32367e(0x1f9)](_0x537e39);});},_0x234fd8*0x2);this[_0xd8df72(0x354)][_0xd8df72(0x382)](_0x537e39,_0x44c4ee);}['_removeClearOtherTimer'](_0x53b4fa){const _0x4a3f15=_0x912252;if(this['_clearOtherTimers'][_0x4a3f15(0x2a7)](_0x53b4fa)){const _0x22f3c1=this[_0x4a3f15(0x354)][_0x4a3f15(0x2ae)](_0x53b4fa);_0x22f3c1&&window[_0x4a3f15(0x1f5)](_0x22f3c1),this[_0x4a3f15(0x354)][_0x4a3f15(0x382)](_0x53b4fa,null);}}['_handleLeaveEvent'](_0x59e015){const _0x1ddc3e=_0x912252,{memberID:_0x17fc73,unitIDs:_0x2eb628}=_0x59e015;_0x2eb628[_0x1ddc3e(0x2fc)](_0x38a113=>{const _0xdb5962=_0x1ddc3e;var _0x4b0a34;const _0x38920e=this[_0xdb5962(0x45b)][_0xdb5962(0x2ae)](_0x38a113);_0x38920e&&(_0x38920e[_0xdb5962(0x1f9)](_0x17fc73),(_0x4b0a34=this['_ensureSubject'](_0x38a113))==null||_0x4b0a34['next'](_0x38920e[_0xdb5962(0x3bd)]===0x0?_0x57d487[_0xdb5962(0x412)][_0xdb5962(0x248)]:_0x57d487[_0xdb5962(0x412)][_0xdb5962(0x297)]));}),this[_0x1ddc3e(0x2d2)](_0x17fc73);}[_0x912252(0x388)](_0x5e3bad){const _0x46d90b=_0x912252;this[_0x46d90b(0x224)](_0x5e3bad['memberID']);}[_0x912252(0x488)](_0x7332b1){const _0xb5e6c1=_0x912252;localStorage['setItem'](_0x185079,JSON[_0xb5e6c1(0x40b)](_0x7332b1));}['_scheduleHeartbeat'](){const _0x2a03cf=_0x912252;this['_heartbeatTimer']=window[_0x2a03cf(0x3b3)](()=>{const _0x2c8a74=_0x2a03cf;this[_0x2c8a74(0x488)]({'type':0x2,'memberID':this[_0x2c8a74(0x39d)]});},_0x234fd8);}[_0x912252(0x273)](_0x5c52c5){const _0x1f73fc=_0x912252;return this['_unitStatus'][_0x1f73fc(0x2a7)](_0x5c52c5)||this[_0x1f73fc(0x29d)][_0x1f73fc(0x382)](_0x5c52c5,new _0x946ff9['BehaviorSubject'](_0x57d487[_0x1f73fc(0x412)][_0x1f73fc(0x248)])),this[_0x1f73fc(0x29d)][_0x1f73fc(0x2ae)](_0x5c52c5);}}var _0x36c03d=(_0x6dad8b=>(_0x6dad8b[_0x6dad8b[_0x912252(0x38e)]=0x0]=_0x912252(0x38e),_0x6dad8b[_0x6dad8b['OK']=0x1]='OK',_0x6dad8b[_0x6dad8b[_0x912252(0x454)]=0x2]=_0x912252(0x454),_0x6dad8b[_0x6dad8b[_0x912252(0x2eb)]=0x3]='PERMISSION_DENIED',_0x6dad8b[_0x6dad8b[_0x912252(0x2ea)]=0x4]=_0x912252(0x2ea),_0x6dad8b[_0x6dad8b[_0x912252(0x480)]=0x5]='UNAUTHENTICATED',_0x6dad8b[_0x6dad8b[_0x912252(0x3b8)]=0x6]=_0x912252(0x3b8),_0x6dad8b[_0x6dad8b[_0x912252(0x2d7)]=0x7]=_0x912252(0x2d7),_0x6dad8b[_0x6dad8b[_0x912252(0x3b0)]=0x8]=_0x912252(0x3b0),_0x6dad8b[_0x6dad8b[_0x912252(0x383)]=0x9]=_0x912252(0x383),_0x6dad8b[_0x6dad8b[_0x912252(0x36a)]=0xa]='LOGIN_FAILED',_0x6dad8b[_0x6dad8b[_0x912252(0x456)]=0x1389]=_0x912252(0x456),_0x6dad8b[_0x6dad8b[_0x912252(0x358)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x6dad8b[_0x6dad8b[_0x912252(0x39b)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x6dad8b[_0x6dad8b[_0x912252(0x259)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x6dad8b[_0x6dad8b[_0x912252(0x3a2)]=0x1b59]=_0x912252(0x3a2),_0x6dad8b[_0x6dad8b[_0x912252(0x257)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x6dad8b[_0x6dad8b[_0x912252(0x205)]=0x1b5b]=_0x912252(0x205),_0x6dad8b[_0x6dad8b['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x912252(0x2af),_0x6dad8b[_0x6dad8b['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x6dad8b[_0x6dad8b['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x912252(0x3b2),_0x6dad8b[_0x6dad8b[_0x912252(0x244)]=0x2329]=_0x912252(0x244),_0x6dad8b[_0x6dad8b[_0x912252(0x24f)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x6dad8b[_0x6dad8b[_0x912252(0x469)]=0x232b]=_0x912252(0x469),_0x6dad8b[_0x6dad8b['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x912252(0x44e),_0x6dad8b[_0x6dad8b[_0x912252(0x238)]=0x232d]=_0x912252(0x238),_0x6dad8b[_0x6dad8b[_0x912252(0x3f4)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x6dad8b[_0x6dad8b[_0x912252(0x46f)]=0x2712]=_0x912252(0x46f),_0x6dad8b[_0x6dad8b[_0x912252(0x3a5)]=0x2713]=_0x912252(0x3a5),_0x6dad8b[_0x6dad8b[_0x912252(0x33e)]=0x2714]=_0x912252(0x33e),_0x6dad8b[_0x6dad8b[_0x912252(0x3e4)]=0x271a]=_0x912252(0x3e4),_0x6dad8b[_0x6dad8b[_0x912252(0x398)]=0x271b]=_0x912252(0x398),_0x6dad8b[_0x6dad8b[_0x912252(0x417)]=0x271c]=_0x912252(0x417),_0x6dad8b[_0x6dad8b[_0x912252(0x342)]=0x271d]=_0x912252(0x342),_0x6dad8b[_0x6dad8b['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x912252(0x36b),_0x6dad8b[_0x6dad8b[_0x912252(0x46a)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x6dad8b[_0x6dad8b[_0x912252(0x426)]=0x2af9]=_0x912252(0x426),_0x6dad8b[_0x6dad8b[_0x912252(0x2fd)]=0x2ee1]=_0x912252(0x2fd),_0x6dad8b[_0x6dad8b[_0x912252(0x218)]=0x2ee2]='INVALID_INVITE_CODE',_0x6dad8b[_0x6dad8b[_0x912252(0x2b6)]=0x2ee3]=_0x912252(0x2b6),_0x6dad8b[_0x6dad8b[_0x912252(0x379)]=0x2ee4]=_0x912252(0x379),_0x6dad8b[_0x6dad8b['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x912252(0x2d4),_0x6dad8b[_0x6dad8b['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x912252(0x3e8),_0x6dad8b[_0x6dad8b[_0x912252(0x47d)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x6dad8b[_0x6dad8b[_0x912252(0x431)]=0x32cb]=_0x912252(0x431),_0x6dad8b[_0x6dad8b[_0x912252(0x339)]=-0x1]=_0x912252(0x339),_0x6dad8b))(_0x36c03d||{}),_0x1c4288=Object['getOwnPropertyDescriptor'],_0x45861c=(_0x3eced6,_0x43dac7,_0x35340e,_0x2450cf)=>{const _0x44533e=_0x912252;for(var _0x3194a9=_0x2450cf>0x1?void 0x0:_0x2450cf?_0x1c4288(_0x43dac7,_0x35340e):_0x43dac7,_0xc00c58=_0x3eced6[_0x44533e(0x414)]-0x1,_0x59acf0;_0xc00c58>=0x0;_0xc00c58--)(_0x59acf0=_0x3eced6[_0xc00c58])&&(_0x3194a9=_0x59acf0(_0x3194a9)||_0x3194a9);return _0x3194a9;},_0x4ec22a=(_0x20adbd,_0x63fcf8)=>(_0xf9cc9a,_0x40af2c)=>_0x63fcf8(_0xf9cc9a,_0x40af2c,_0x20adbd);_0x2b6d0b[_0x912252(0x27e)]=class extends _0x468931[_0x912252(0x3dc)]{constructor(_0x466eb0,_0x398f14,_0x4a3fa9){const _0x2da755=_0x912252;super(),this[_0x2da755(0x462)]=_0x466eb0,this[_0x2da755(0x28f)]=_0x398f14,this['_configService']=_0x4a3fa9;}async[_0x912252(0x264)](_0x4512fc,_0x3cc769,_0x598455,..._0x207e52){const _0x1924eb=_0x912252;var _0x5786dd,_0x3067cf,_0x58a1dc,_0x357dcd;const _0x3ed4e8=this['_instanceService'][_0x1924eb(0x29c)]();if(!_0x3ed4e8)throw new Error(_0x1924eb(0x378));const _0x2b3050=((_0x5786dd=this['_configService'][_0x1924eb(0x3b5)](_0x57d487[_0x1924eb(0x30c)]))!=null?_0x5786dd:_0x57d487[_0x1924eb(0x304)])+'/'+_0x4512fc+_0x1924eb(0x44a)+_0x3cc769,_0x1911e5=new URL(window['location'][_0x1924eb(0x316)]),_0x4a371a={'scriptId':_0x4512fc,'runId':(_0x3067cf=_0x1911e5['searchParams'][_0x1924eb(0x2ae)](_0x1924eb(0x345)))!=null?_0x3067cf:'','function':_0x3cc769,'unitId':_0x3ed4e8[_0x1924eb(0x2e8)](),'argsOfFunction':JSON[_0x1924eb(0x40b)](_0x207e52),'invokeId':(_0x58a1dc=_0x598455[_0x1924eb(0x214)])!=null?_0x58a1dc:'','executionId':(_0x357dcd=_0x598455[_0x1924eb(0x47b)])!=null?_0x357dcd:''};try{const _0x180f07=await this[_0x1924eb(0x28f)][_0x1924eb(0x445)](_0x2b3050,{'body':_0x4a371a});return _0x180f07['body'][_0x1924eb(0x2b4)]&&_0x180f07['body'][_0x1924eb(0x2b4)][_0x1924eb(0x44d)]!==_0x36c03d['OK']?'Failed':_0x180f07['body'][_0x1924eb(0x204)];}catch{return _0x1924eb(0x2f5);}}},_0x2b6d0b['RemoteUniscriptService']=_0x45861c([_0x4ec22a(0x0,_0x468931['IUniverInstanceService']),_0x4ec22a(0x1,_0x468931[_0x912252(0x37e)](_0x10caf6['HTTPService'])),_0x4ec22a(0x2,_0x468931['IConfigService'])],_0x2b6d0b[_0x912252(0x27e)]),_0x2b6d0b[_0x912252(0x2ef)]=_0x3ce189,_0x2b6d0b[_0x912252(0x2ba)]=_0x36a885,_0x2b6d0b['SheetCollabCursorShape']=_0x2b188b,_0x2b6d0b[_0x912252(0x317)]=_0x14e0a4,_0x2b6d0b[_0x912252(0x290)]=_0x27a589,Object[_0x912252(0x2c3)](_0x2b6d0b,Symbol[_0x912252(0x3e0)],{'value':_0x912252(0x34f)});}));function _0x44a6(_0x1f82fe,_0x5c8979){const _0x567f03=_0x567f();return _0x44a6=function(_0x44a656,_0x5825ee){_0x44a656=_0x44a656-0x1f3;let _0xcbe6b9=_0x567f03[_0x44a656];return _0xcbe6b9;},_0x44a6(_0x1f82fe,_0x5c8979);}function _0x567f(){const _0x20ab16=['_handleEvent','useDependency','setItem','CollaborationController','SetWorksheetActivateCommand','setConfig','textRanges','getMergeData','DocSelectionManagerService','addObjects','stringify','_getMergeRange','values','_docTransformIMECacheService','CollaborationStatus','onLocalMutation','moveTo','UnitStatus','_name','length','black','sessionTicket','YUUMI_TABLE_NOT_FOUND_IN_UNIT','operators','transformByState','evenodd','dispose$','collab-rect-range-','subscribeEvent','#FFF','getCoordByCell','getStateCache','ILocalCacheService','JOIN_ROOM_FAILED','transform','handleIRemoveRow','MoveRangeCommandId','PY_RUNTIME_SCRIPT_ERROR','_beforeCloseService','131916AbZQEo','actions','ticket','RECT','collabCursorState$','toDisposable','replace','fromEventSubject','assignAColorForMemberID','EMAIL_HAS_BEEN_BOUND','_updateURLWithCurrentState','onMouseMove','CollaborationUIEventId','IUIPartsService','unload','univer-flex\x20univer-items-center','m2Prime','off-line-icon_clip0_910_343','replaceState','_refreshCollabCursors','transformMutationsWithChangeset','params','onPointerLeave$','transformSelections','Rect','RemoveRowCommandId','with','_onCursorUpdate','clipPath','post','disableLocalCache','_updateLocalCursor','amd','TEXT','/run/','[CollaborationDataLoaderController]','event$','code','LICENSE_EXPORT_SIZE_EXCEEDED','next','fillRule','OFFLINE','getCurrentSelections','RichTextEditingMutation','INTERNAL_ERROR','_handleHover','CHANGESET_REVISION_CONFILICT','_injector','_labelPosition','onRendered','6CMzNjd','_unitOnClients','getCurrent','ColorKit','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','displayName','TEXT_RANGE_LAYER_INDEX','switchMap','_instanceService','sessionStatus$','range','newValue','attrs','univerjs-icon\x20univerjs-icon-','type','LICENSE_IMPORT_SIZE_EXCEEDED','YUUMI_AI_RUN_FAILED','executeCommand','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','doc.mutation.rich-text-editing','WebSocketService','YUUMI_URL_COL_OUT_OF_RANGE','SUBMIT_CHANGESET_TIMEOUT','Optional','_session','redoState','_removeCollabCursors','UNIVER_DOC','CollaborationSessionService','@univerjs/drawing','_handleJoinEvent','react','pushState','executionId','IUniverInstanceService','MOBILE_HAS_BEEN_BOUND','mutations','reconnect','UNAUTHENTICATED','sheetID','green.600','object','UniverIcon','colorChannel1','AWAITING','...','_send','touchDependencies','eventID','DEFAULT_WS_SESSION_TICKET_URL','_drawRectRange','_initEntityListener','_init','getMember','uni.network.url-service','getSheetBySheetId','_hovered','clearTimeout','MessageType','getLocalCacheKey','UniverProCollaboration','delete','syncEditingCollabCursor','getItem','origin','Injector','registerRefRange','UNIVER_SHEET','_entities','_initStatusComponent','CollaborationEvent','getCellPositionByOffset','result','APPLY_REVISION_CONFILICT','mask','DeleteRangeMoveUpCommandId','getRelativeToViewportCoord','currentSkeleton$','CollaborationUIEventService','UniverEngineRender','_saveCache','transformIMECache','saveTaskMap','restore','editingUnit','_cursorInfo$','DocStateChangeManagerService','backgroundColor','invokeId','none','RegularPolygon','_collaborationUIEventService','INVALID_INVITE_CODE','top','jsx','handleDeleteRangeMoveLeft','react/jsx-runtime','createElement','setStateCache','30LJKaOG','location','UniverSheets','collabStatus.conflict','registerComponent','_scheduleClearOtherTimer','HTTPService','DocIMEInputManagerService','_docSkeleton','bottom','exhaustSavingTask','NOT_COLLAB','DeleteRangeMoveLeftCommandId','subunit','url(#on-line-icon_clip0_910_349)','@univerjs/sheets-ui','_scheduleSaving','entityInit$','_notificationService','_cachedData','createInstance','SetTextSelectionsOperation','hide','getOwnPropertySymbols','http://www.w3.org/2000/svg','LICENSE_DISTRO_REJECTED','BehaviorSubject','_docTransformStateCacheService','_messageService','getActiveSheet','UPDATE_CURSOR','arc','_toggleOnline','_document','deepClone','replaceDocRanges','round','LICENSE_MAX_UNITS_EXCEEDED','clearInterval','rxjs','yellow.400','NO_OTHER_CLIENTS_EDITING','_localCacheService','merge','_collabCursorController','MUTATION','Tools','18JxzhwP','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','selections','requireSession','pipe','jiqing.500','handleInsertCol','_docTransformSelectionsService','registerBeforeClose','APPLY_NON_SEQUENTIAL_REVISION','InsertRangeMoveDownCommandId','ENSURE_SNAPSHOT_EXECUTION','_initEvent','_registerRenderDependencies','IConfigService','640456dLWMZq','unitId','permission.title','getVpScrollXYInfoByPosToVp','USERS_LEAVE','save','defs','runOnServer','VIEW_MAIN','_setupSubUnitSync','split','_getSheetObject','_urlService','ranges','_getAnchorBounding','CollaborationDataLoaderController','UniverSheetsUi','_render','_renderManagerService','max','@univerjs/core','_startDocCollabCursor','_ensureSubject','key','_anchorDot','ONLINE','transformStateCache','disposeUnit','removeParam','@univerjs/rpc','InsertRowCommandId','_cursorShapes','undoState','RemoteUniscriptService','_getSaveTimeout','transformRemoteChangeset','collab-client.tooltip.reconnect','Warning','RemoveColCommandId','map','getCurrentRevOfUnit','Error','setTimeout','Plugin','getOwnPropertyDescriptor','filter','_themeService','useRef','_collabCursorState$','NodePositionConvertToRectRange','_httpService','WebURLService','_color','_colorAssignService','data','SYNCED','currentTheme$','handleIRemoveCol','OTHER_CLIENTS_EDITING','m1Prime','setShapeProps','_handleLeaveEvent','collab-text-range-','getFocusedUnit','_unitStatus','find','_collaborationController','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','source','jsxs','242BtrMmS','div','svg','_updateSubUnitFromURLParams','has','RevisionService','_cursors','SetDocZoomRatioOperation','_registerDependencies','unitID','0\x200\x2016\x2016','get','APPLY_PERMISSION_DENIED','_docStateChangeManagerService','handleDeleteRangeMoveUp','@univerjs/engine-formula','UniverCollaborationClientPlugin','error','_heartbeatTimer','INVITE_CODE_REQUIRED','generateRandomId','_cursor','body','IURLService','LocaleService','urlChange$','icon','getViewport','_localeService','M0\x200H16V16H0z','IMessageService','IBeforeCloseService','defineProperty','skeleton','_docSyncEditingCollabCursorService','_uiPartsService','CommandType','history','UniverNetwork','@univerjs/network','focused$','updateOfflineData','_transformHistoryAndStateStack','COLORS','TRANSFORM_CHANGE_OBSERVABLE_TYPE','string','_transformUndoRedoStack','_removeClearOtherTimer','_refRangeService','INVITE_CODE_ALREADY_BOUND','isArray','activeSheet$','INVALID_ARGUMENT','483010WDNomD','indexOf','contains','Vector2','makeDirty','_transformPreviousActiveRange','_scheduleHeartbeat','handleMoveRange','_anchor','CONFLICT','resize','collab-text-anchor-','trim','getTypeOfUnitAdded$','_sheetSkeletonManagerService','getColor','getUnitId','init','NOT_FOUND','PERMISSION_DENIED','onPointerMove$','fillText','_initDependencies','CollaborationStatusDisplay','deserializeRangeWithSheet','color','session.connection-failed','UniverEngineFormula','_getSessionTicket','Failed','popstate','UniverDocsUi','handleInsertRangeMoveDown','url(#$1','_backgroundColor','wsSessionTicketUrl','forEach','INVITE_CODE_HAS_BEEN_UES','getSheetId','_selfUnitIDs','xlink:href','Rectangle','_toggleOffline','3621272fBaSsM','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UniverProCollaborationClient','collaboration-client.offline-data-not-saved','startRow','className','hasOwnProperty','_textBubble','getParam','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','DocCollaborationEntity','currentColor','_online','search','_imageIoService','_draw','saveOfflineData','transformMutation','ISnapshotServerService','href','WebBrowserSingleActiveUnitService','_transformService','function','getValue','_univerInstanceService','_revisionService','getSheetObject','addObject','triggerDblclick','FromArray','FETCH_MISS','getMemberID','column','toString','_shapes','getUniverSheetInstance','handleInsertRangeMoveRight','DataLoaderService','UniverInstanceType','ISocketService','SetSelectionsOperation','_updateCollabCursors','show','isTransformMutationsWithChangesetSuccess','_colorIndex','_memberService','_config','_dataLoaderService','findNodePositionByCharIndex','min','UniverDocs','complete','isTransformMutationFailure','_entityInit$','UNRECOGNIZED','_initResize','SHEET_VIEWPORT_KEY','shareReplay','BrowserCollaborationSocketService','YUUMI_SUBSCRIPTION_NOT_FOUND','drawWith','IRemoteInstanceService','then','YUUMI_ALL_TABLES_IS_INVALID','debounce','blue.400','runId','_eventUnsubscribe','_lastPointer','@univerjs/sheets','UniverUi','DOC_RANGE_TYPE','fromEvent','flatMap','pluginName','Unknown\x20user','Module','DisposableCollection','_startSheetCollabCursor','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','unshift','_clearOtherTimers','_collabSessionService','collabStatus.fetchMiss','_configService','SNAPSHOT_INVALID_SNAPSHOT','onPointerEnter$','ILogService','AWAITING_WITH_PENDING','DependentOn','imageSourceType','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','text','_hover','getCollabEntity$','substring','_saveTaskMap','ACTIVE_UNIT_EVENT_CHANNEL','font','on-line-icon_clip0_910_349','white','collaboration.closeRoom','all','LOGIN_FAILED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','red.300','DesktopCollaborationStatusDisplayController','_disabled','searchParams','idSuffix','CLOSE_ROOM','_hideTimer','collabStatus.notCollab','_assignedColors','UniverRpc','660537IVgvQO','getSkeleton','[RemoteUniscriptService]:\x20no\x20focused\x20unit','USER_NOT_INVITED_CODE','InsertColCommandId','propertyIsEnumerable','_docSkeletonManagerService','_roomMembers$','Inject','debug','onTransformChange$','push','set','COMPLETION_FINISHED','React','_range','path','rxjs/operators','_handleHeartbeatEvent','registerRenderModule','startColumn','IRenderManagerService','subscribe','1491105NpimeH','UNDEFINED','_onRefRangeChange','call','_commandService','loadUnit','MemberService','distinctUntilChanged','override','_logService','cursorInfo$','YUUMI_ASYNCIO_CANCELLED','_onCursorDelete','getRenderById','SNAPSHOT_HAS_BEEN_REMOVED','getUndoRedoMutationParamsCache','_id','session.will-retry','_status$','unsubscribe','OTHER_CLIENT_EDITING','APPLY_REJECT','_drawTextRange','ThemeService','YUUMI_RATE_OVER_LIMIT','getCollabCursors$','takeUntil','fillStyle','closePath','engine','@univerjs/design','asObservable','includes','dispose','on-line-icon','TOO_MANY_REQUESTS','collabStatus.offline','CONNECTOR_DATA_TOO_LARGE','setInterval','_setupBeforeClosingHandler','getConfig','getColorFromTheme','children','ALREADY_EXISTS','name','RxDisposable','_scene','130LpUngO','size','lineTo','LOCAL_CACHE_INTERVAL_KEY','@univerjs/ui','roomMembers','RefRangeService','@univerjs/docs-ui','tag','_localStorageService','_createSocketURL','collaboration-client-ui.config','SheetsSelectionsService','getAncestorScale','selection','assign','loadOfflineData','runRefRangeMutations','univer-flex\x20univer-mr-2\x20univer-text-xl','setUndoRedoMutationParamsCache','roomMembers$','getRangePointData','@univerjs-pro/collaboration-client','row','add','isActive','application/json','_syncEditingCollabCursorService','disposeWithMe','defIds','1em','_initStatusListener','Disposable','hovered','height','@univerjs/docs','toStringTag','SessionStatus','_context','UniverProCollaborationClientUi','YUUMI_NO_CUBOID_FOR_QUESTION','SOCKET_FAILED_RETRY','parse','EffectRefRangId','WECHAT_HAS_BEEN_BOUND','_docClipboardService','handleInsertRow','prototype','send','rgba(255,\x20255,\x20255,\x200.01)','_getScale','getDocRanges','cursorInfo','934972WOvYYg','fill','ITransformService','YUUMI_UNABLE_LOAD_URL','setAlpha','UniverCollaborationClientUIPlugin','onCommandExecuted','concat','from','ICommandService','combineLatest','measureText','width','@univerjs/engine-render','mapTo','forwardRef'];_0x567f=function(){return _0x20ab16;};return _0x567f();}
|