@univerjs-pro/collaboration-client-ui 0.10.7-nightly.202509130640 → 0.10.7-nightly.202509130703

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +15 -15
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x3c2b(){const _0xbce73d=['apply','CONFLICT','children','330WQTUkq','row','_httpService','purple.300','AWAITING','_getAnchorBounding','isActive','unload','getCollabEntity$','endColumn','exhaustSavingTask','UniverEngineFormula','_instanceService','url(#off-line-icon_clip0_910_343)','RemoveRowCommandId','UniverCollaborationClientUIPlugin','ONLINE','currentColor','deserializeRangeWithSheet','getCurrentRevOfUnit','_updateLocalCursor','createInstance','_transformHistoryAndStateStack','_toggleOnline','UNAUTHENTICATED','jiqing.500','green.600','_ensureSubject','loadUnit','_initCommandExecutedListener','_renderManagerService','debug','CHANGESET_REVISION_CONFILICT','_config','getRenderById','getOwnPropertySymbols','_updateURLWithCurrentState','getRangePointData','RichTextEditingMutation','Inject','defIds','entityInit$','_render','_entities','PENDING','concat','_syncEditingCollabCursorService','LOGIN_FAILED','COLORS','min','_textBubble','handleInsertRow','RemoveColCommandId','WECHAT_HAS_BEEN_BOUND','_onCursorUpdate','_labelPosition','...','_registerRenderDependencies','transformSelections','idSuffix','location','_initDependencies','asObservable','getDocRanges','clearTimeout','UNDEFINED','_cachedData','RegularPolygon','history','_saveCache','_transformService','ICommandService','1em','_collabCursorController','dispose','_backgroundColor','rgba(255,\x20255,\x20255,\x200.01)','_name','source','LICENSE_DISTRO_REJECTED','@univerjs-pro/collaboration','ILocalCacheService','sessionTicket','YUUMI_CONNECTOR_URL_NOT_FOUND','_collabCursorState$','_docStateChangeManagerService','_localStorageService','set','error','transformMutationsWithChangeset','clearInterval','UPDATE_CURSOR','mapTo','range','setActiveRange','collab-client.tooltip.reconnect','UniverSheets','CollaborationSocketService','isArray','CommandType','forEach','DocSkeletonManagerService','react','_handleHover','getMemberID','createElement','fillText','_eventUnsubscribe','pluginName','_univerInstanceService','then','_createSocketURL','_selfUnitIDs','isTransformMutationFailure','_cursorInfo$','collaboration-client-ui.config','saveTaskMap','forwardRef','className','with','executionId','map','fill','setUndoRedoMutationParamsCache','executeCommand','off-line-icon_clip0_910_343','_dataLoaderService','InsertRangeMoveDownCommandId','addObject','_lastPointer','getSheetId','subscribeEvent','replaceDocRanges','COMPLETION_FINISHED','values','_urlService','getMember','stringify','Disposable','Optional','backgroundColor','_commandService','handleDeleteRangeMoveLeft','@univerjs/design','toDisposable','MessageType','UniverDocs','addEventListener','find','permission.title','connectInjector','SOCKET_FAILED_RETRY','IConfigService','xlink:href','BuiltInUIPart','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_docSkeleton','mergeOverrideWithDependencies','_context','disableLocalCache','length','getCollabCursors$','_anchorDot','UniverDocsUi','getCoordByCell','max','lineTo','collabStatus.notCollab','onLocalMutation','collabCursorState$','white','addHandlerCallback','SessionStatus','_scheduleSaving','on-line-icon','getStateCache','_range','DataLoaderService','none','get','collabStatus.synced','INVITE_CODE_REQUIRED','EffectRefRangId','setItem','add','USERS_LEAVE','transformStateCache','saveImage','use','UniverCore','evenodd','yellow.400','UniverCollaborationClientPlugin','_drawAnchor','fillRule','transformByState','call','CollaborationDataLoaderController','debounce','getUndoRedoMutationParamsCache','_hovered','actions','unitId','setShapeProps','CollaborationStatus','CollaborationEvent','has','handleInsertCol','YUUMI_NO_CUBOID_FOR_QUESTION','hasOwnProperty','IRenderManagerService','urlChange$','DocIMEInputManagerService','div','APPLY_NON_SEQUENTIAL_REVISION','requireSession','ENSURE_SNAPSHOT_EXECUTION','_revisionService','[CollaborationDataLoaderController]','4geXZud','getItem','RECT','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','UniverNetwork','_unitStatus','session.collaboration-timeout','_initStatusComponent','@univerjs/drawing','cursorInfo$','UniverInstanceType','text','_document','UNRECOGNIZED','serializeRangeWithSheet','IRemoteInstanceService','font','m1Prime','_docTransformSelectionsService','whenReady','_transformPreviousActiveRange','univer-flex\x20univer-items-center','transformRemoteChangeset','183162cdNtlm','fromEventSubject','application/json','attrs','getUnitStatus$','post','currentSkeleton$','ranges','unit','RemoteUniscriptService','collabStatus.syncing','_getSaveTimeout','UNIVER_DOC','DesktopCollaborationStatusDisplayController','SYNCED','UniverEngineRender','pipe','_collabSessionService','currentTheme$','push','@univerjs/docs-ui','70DsCWeY','debounceTime','Tools','DeleteRangeMoveLeftCommandId','colorChannel1','IImageIoService','CollaborationUIEventId','url(#$1','_registerDependencies','distinctUntilChanged','TRANSFORM_CHANGE_OBSERVABLE_TYPE','loadOfflineData','_notificationService','collab-rect-range-','setParam','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','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_configService','getSheetBySheetId','getCurrentUnitForType','Shape','DependentOn','defs','measureText','assignAColorForMemberID','href','2107104oGzrRS','ACTIVE_UNIT_EVENT_CHANNEL','_docSyncEditingCollabCursorService','_disabled','OffLineIcon','_onRefRangeChange','bottom','runId','_refreshCollabCursors','HTTPService','OTHER_CLIENT_EDITING','UniverProCollaboration','APPLY_PERMISSION_DENIED','unitID','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getFocusedUnit','hovered','_clearOtherTimers','http://www.w3.org/2000/svg','fillStyle','RefRangeService','getCurrentSelections','handleDeleteRangeMoveUp','@univerjs/rpc','getColorFromTheme','enableLocalCache','_logService','getParam','_send','@univerjs/engine-render','YUUMI_RATE_OVER_LIMIT','startsWith','mask','_initStatusListener','Failed','YUUMI_UNABLE_LOAD_URL','prototype','_docSkeletonManagerService','docStateChange$','InsertRangeMoveRightCommandId','shareReplay','PERMISSION_DENIED','color','_colorIndex','Plugin','_colorAssignService','toString','_updateSubUnitFromURLParams','selections','handleIRemoveCol','session.connection-failed','_id','_cursorShapes','key','_initEntityListener','updateOfflineData','getLocalCacheKey','_shapes','_docClipboardService','redoState','NOT_FOUND','_handleJoinEvent','WebURLService','_removeClearOtherTimer','@univerjs/ui','_initEvent','indexOf','ISocketService','UniverSheetsUi','@univerjs-pro/collaboration-client','sheetID','rxjs/operators','registerBeforeClose','transformMutation','TEXT_RANGE_LAYER_INDEX','MOBILE_HAS_BEEN_BOUND','width','SHEET_VIEWPORT_KEY','getActiveSheet','params','_injector','_doCreateSocket','ALREADY_EXISTS','VIEW_MAIN','_handleEvent','UniverDrawing','subUnitId','_initResize','INTERNAL_ERROR','_sheetSkeletonManagerService','send','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_messageService','DeleteRangeMoveUpCommandId','_entityInit$','searchParams','_getMergeRange','_docTransformIMECacheService','EMAIL_VERIFY_CODE_MISMATCH','YUUMI_SUBSCRIPTION_NOT_FOUND','_handleHeartbeatEvent','on-line-icon_clip0_910_349','textRanges','_hideTimer','707663UARBIp','BrowserCollaborationSocketService','transformIMECache','startColumn','getSkeleton','MoveRangeCommandId','collabStatus.fetchMiss','UNIVER_SHEET','registerRenderModule','registerDependencies','LOCAL_CACHE_INTERVAL_KEY','USER_NOT_INVITED_CODE','_roomMembers$','_collaborationController','getColor','setAlpha','_drawRectRange','mutations','APPLY_REJECT','SNAPSHOT_INVALID_SNAPSHOT','arc','CLOSE_ROOM','sessionStatus$','data','tag','init','APPLY_DUPLICATED','useDependency','TOO_MANY_REQUESTS','subunit','storage','MemberService','symbol','_memberService','Warning','UniverDesign','setInterval','IUIPartsService','_imageIoService','OTHER_CLIENTS_EDITING','deepClone','runRefRangeMutations','eventID','_localCacheService','reconnect','restore','MUTATION','SheetSkeletonManagerService','IDocClipboardService','status$','SNAPSHOT_HAS_BEEN_REMOVED','getAncestorScale','_color','unshift','split','beginPath','React','FETCH_MISS','OFFLINE','filter','RxDisposable','NodePositionConvertToCursor','createIdentifier','AWAITING_WITH_PENDING','@univerjs/engine-formula','size','_startSheetCollabCursor','transform','cursorInfo','random','from','@univerjs/core','Module','InsertColCommandId','off-line-icon','UniverRpc','roomMembers$','type','string','permission.content','NO_OTHER_CLIENTS_EDITING','_handleLeaveEvent','labelPosition','CollaborationSessionService','SetSelectionsOperation','contains','jsx','onPointerLeave$','replaceState','_online','_cursor','createSocket','SOCKET_FAILED','next','NOT_COLLAB','uni.network.url-service','roomMembers','black','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','closePath','_toggleOffline','getCellPositionByOffset','addObjects','328lahWfM','DOC_RANGE_TYPE','event$','Rect','DocSelectionManagerService','univer-mr-2\x20univer-flex\x20univer-text-xl','focused$','Unknown\x20user','name','#FFF','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_setupBeforeClosingHandler','IMessageService','Error','collab-text-range-','operators','trim','_status$','collaboration-client.offline-data-not-saved','_init','complete','1654137JghElx','search','getRelativeToViewportCoord','newValue','getOwnPropertyDescriptor','LICENSE_IMPORT_SIZE_EXCEEDED','_anchor','ISnapshotServerService','path','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','YUUMI_URL_COL_OUT_OF_RANGE','handleMoveRange','_getSheetObject','WebBrowserSingleActiveUnitService','runOnServer','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','FromArray','dispose$','merge','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','hide','onTransformChange$','UniverIcon','pushState','switchMap','INVITE_CODE_ALREADY_BOUND','getUnitId','registerRefRange','_getSessionTicket','body','INVALID_INVITE_CODE','onCommandExecuted','popstate','UnitStatus','SetDocZoomRatioOperation','height','moveTo','RevisionService','_session','resize','380Dvnkoz','BehaviorSubject','top','UniverProCollaborationClientUi','_hover','_heartbeatTimer','_startDocCollabCursor','round','_collaborationUIEventService','_docTransformStateCacheService','YUUMI_ALL_TABLES_IS_INVALID','0\x200\x2017\x2016','ITransformService','origin','imageSourceType','_scheduleClearOtherTimer','startRow','svg','replace','3043779vdQGXd','_themeService','0\x200\x2016\x2016','react/jsx-runtime','M0\x200H16V16H0z','collaboration.single-unit.warning','getSheetObject','HEADER_MENU','handleInsertRangeMoveRight','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','delete','assign','INVITE_CODE_HAS_BEEN_UES','InsertRowCommandId','@univerjs/network','getConfig','entries','DocStateChangeManagerService','disposeWithMe','propertyIsEnumerable','_scene','CollaborationController','INVALID_ARGUMENT','ILogService','rxjs','collabStatus.offline','YUUMI_ASYNCIO_CANCELLED','generateRandomId','686700eUvzEZ','SetWorksheetActivateCommand','TEXT','onStarting','onPointerMove$','DEFAULT_WS_SESSION_TICKET_URL','_assignedColors','toRgbString','_updateCollabCursors','saveOfflineData','Rectangle','code','_setupSubUnitSync','combineLatest','session.will-retry','doc.mutation.rich-text-editing','includes','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','CONNECTOR_DATA_TOO_LARGE','takeUntil','Injector','syncEditingCollabCursor','disposeUnit','_saveTaskMap','translate(.97)','_localeService','findNodePositionByCharIndex','onMouseMove','unsubscribe','ColorKit','YUUMI_AI_RUN_FAILED','_uiPartsService','_transformUndoRedoStack','getTypeOfUnitDisposed$','selection','activeSheet$','ThemeService','Vector2','_removeCollabCursors','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','IUniverInstanceService','icon','sheetId','_unitOnClients','subscribe','getValue','PY_RUNTIME_SCRIPT_ERROR','displayName','_refRangeService','handleInsertRangeMoveDown','drawWith','undoState','_onCursorDelete','MOBILE_VERIFY_CODE_MISMATCH','show','LocaleService','current','_drawTextRange','amd','SetTextSelectionsOperation','m2Prime','ILocalStorageService','fromEvent','registerComponent','_cursors'];_0x3c2b=function(){return _0xbce73d;};return _0x3c2b();}function _0xf3b4(_0xa30a48,_0x32c68d){const _0x3c2b82=_0x3c2b();return _0xf3b4=function(_0xf3b4c7,_0x2bef3e){_0xf3b4c7=_0xf3b4c7-0x68;let _0x2a828a=_0x3c2b82[_0xf3b4c7];return _0x2a828a;},_0xf3b4(_0xa30a48,_0x32c68d);}(function(_0x2283f8,_0x132767){const _0x164937=_0xf3b4,_0xc3e8db=_0x2283f8();while(!![]){try{const _0x41fbd5=parseInt(_0x164937(0x21c))/0x1*(parseInt(_0x164937(0x16c))/0x2)+-parseInt(_0x164937(0x1bc))/0x3*(parseInt(_0x164937(0x2f7))/0x4)+-parseInt(_0x164937(0x1d8))/0x5+-parseInt(_0x164937(0x6e))/0x6*(parseInt(_0x164937(0x83))/0x7)+-parseInt(_0x164937(0x9d))/0x8+-parseInt(_0x164937(0x181))/0x9+parseInt(_0x164937(0x1a9))/0xa*(parseInt(_0x164937(0x105))/0xb);if(_0x41fbd5===_0x132767)break;else _0xc3e8db['push'](_0xc3e8db['shift']());}catch(_0x1b6036){_0xc3e8db['push'](_0xc3e8db['shift']());}}}(_0x3c2b,0x911d6),function(_0x646924,_0x254e38){const _0x4ee407=_0xf3b4;typeof exports=='object'&&typeof module<'u'?_0x254e38(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x4ee407(0x212)]?define(['exports',_0x4ee407(0x1bf),_0x4ee407(0xe2),_0x4ee407(0x14c),_0x4ee407(0xdd),_0x4ee407(0x1d4),_0x4ee407(0x2ab),_0x4ee407(0x282),_0x4ee407(0xb4),'@univerjs/sheets',_0x4ee407(0xba),_0x4ee407(0x1ca),_0x4ee407(0x82),_0x4ee407(0x2ff),_0x4ee407(0x26c),'@univerjs/docs',_0x4ee407(0x145),_0x4ee407(0xe4),'@univerjs/sheets-ui'],_0x254e38):(_0x646924=typeof globalThis<'u'?globalThis:_0x646924||self,_0x254e38(_0x646924[_0x4ee407(0x1ac)]={},_0x646924[_0x4ee407(0x13d)],_0x646924['UniverProCollaborationClient'],_0x646924[_0x4ee407(0x2d9)],_0x646924['UniverUi'],_0x646924[_0x4ee407(0x1d4)],_0x646924[_0x4ee407(0x128)],_0x646924[_0x4ee407(0x13d)],_0x646924[_0x4ee407(0x150)],_0x646924[_0x4ee407(0x27c)],_0x646924[_0x4ee407(0x7d)],_0x646924[_0x4ee407(0x2fb)],_0x646924[_0x4ee407(0x2bf)],_0x646924[_0x4ee407(0xf2)],_0x646924[_0x4ee407(0xa8)],_0x646924[_0x4ee407(0x2ae)],_0x646924[_0x4ee407(0x227)],_0x646924[_0x4ee407(0x1d4)][_0x4ee407(0x17b)],_0x646924[_0x4ee407(0xe1)]));}(this,function(_0x36f152,_0x151287,_0x381b64,_0x40cffd,_0xce7937,_0x54e142,_0x53251d,_0x1ee406,_0x45fc08,_0x20769f,_0x1959b6,_0x54ac98,_0x2d3f57,_0xc6bb5d,_0x2146ab,_0x3bcff7,_0xc9e6b5,_0x2d50e0,_0x3acab1){'use strict';const _0x30a38d=_0xf3b4;var _0x1b8358=Object['defineProperty'],_0x21178d=(_0x13740e,_0x235dcd,_0x4d2675)=>_0x235dcd in _0x13740e?_0x1b8358(_0x13740e,_0x235dcd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d2675}):_0x13740e[_0x235dcd]=_0x4d2675,_0x2f0bfd=(_0x162d3d,_0x5ec53b,_0x1da523)=>_0x21178d(_0x162d3d,typeof _0x5ec53b!=_0x30a38d(0x125)?_0x5ec53b+'':_0x5ec53b,_0x1da523),_0x238850=function(){const _0x27cb8b=_0x30a38d;return _0x238850=Object[_0x27cb8b(0x1c7)]||function(_0xa3c27e){const _0x5885df=_0x27cb8b;for(var _0x120ee8,_0x32d564=0x1,_0x3a4dfc=arguments[_0x5885df(0x2bc)];_0x32d564<_0x3a4dfc;_0x32d564++){_0x120ee8=arguments[_0x32d564];for(var _0x5e1fb4 in _0x120ee8)Object[_0x5885df(0xc1)]['hasOwnProperty'][_0x5885df(0x2e0)](_0x120ee8,_0x5e1fb4)&&(_0xa3c27e[_0x5e1fb4]=_0x120ee8[_0x5e1fb4]);}return _0xa3c27e;},_0x238850[_0x27cb8b(0x219)](this,arguments);},_0x539f53=function(_0x23e0ee,_0x470a62){const _0x35f831=_0x30a38d;var _0x2e4dab={};for(var _0x1cbc0c in _0x23e0ee)Object['prototype'][_0x35f831(0x2ed)]['call'](_0x23e0ee,_0x1cbc0c)&&_0x470a62[_0x35f831(0xdf)](_0x1cbc0c)<0x0&&(_0x2e4dab[_0x1cbc0c]=_0x23e0ee[_0x1cbc0c]);if(_0x23e0ee!=null&&typeof Object[_0x35f831(0x23f)]=='function'){for(var _0x4ea441=0x0,_0x1cbc0c=Object[_0x35f831(0x23f)](_0x23e0ee);_0x4ea441<_0x1cbc0c['length'];_0x4ea441++)_0x470a62[_0x35f831(0xdf)](_0x1cbc0c[_0x4ea441])<0x0&&Object[_0x35f831(0xc1)][_0x35f831(0x1cf)][_0x35f831(0x2e0)](_0x23e0ee,_0x1cbc0c[_0x4ea441])&&(_0x2e4dab[_0x1cbc0c[_0x4ea441]]=_0x23e0ee[_0x1cbc0c[_0x4ea441]]);}return _0x2e4dab;},_0x43ed63=_0x1ee406['forwardRef'](function(_0x1070e5,_0xe13fa9){const _0x32afcb=_0x30a38d;var _0x261c26=_0x1070e5[_0x32afcb(0x201)],_0x59eb16=_0x1070e5['id'],_0x5abfce=_0x1070e5[_0x32afcb(0x292)],_0x2462b7=_0x1070e5['extend'],_0x2284ce=_0x539f53(_0x1070e5,['icon','id','className','extend']),_0x594670='univerjs-icon\x20univerjs-icon-'[_0x32afcb(0x249)](_0x59eb16,'\x20')[_0x32afcb(0x249)](_0x5abfce||'')[_0x32afcb(0x17c)](),_0x162094=_0x1ee406['useRef']('_'[_0x32afcb(0x249)](_0x449d9f()));return _0x14542b(_0x261c26,''[_0x32afcb(0x249)](_0x59eb16),{'defIds':_0x261c26[_0x32afcb(0x244)],'idSuffix':_0x162094[_0x32afcb(0x210)]},_0x238850({'ref':_0xe13fa9,'className':_0x594670},_0x2284ce),_0x2462b7);});function _0x14542b(_0x514a6c,_0xbd6791,_0x532dea,_0x465bbf,_0x599b28){const _0x293453=_0x30a38d;return _0x1ee406[_0x293453(0x285)](_0x514a6c[_0x293453(0x11d)],_0x238850(_0x238850({'key':_0xbd6791},_0x2ff1f5(_0x514a6c,_0x532dea,_0x599b28)),_0x465bbf),(_0x105df3(_0x514a6c,_0x532dea)[_0x293453(0x21b)]||[])[_0x293453(0x295)](function(_0x2535bd,_0xa91d8c){const _0x4cbeb1=_0x293453;return _0x14542b(_0x2535bd,''[_0x4cbeb1(0x249)](_0xbd6791,'-')[_0x4cbeb1(0x249)](_0x514a6c[_0x4cbeb1(0x11d)],'-')['concat'](_0xa91d8c),_0x532dea,void 0x0,_0x599b28);}));}function _0x2ff1f5(_0x108684,_0x168bc2,_0x1f44ec){const _0x41a681=_0x30a38d;var _0xd1ca7d=_0x238850({},_0x108684[_0x41a681(0x71)]);_0x1f44ec!=null&&_0x1f44ec['colorChannel1']&&_0xd1ca7d['fill']===_0x41a681(0x87)&&(_0xd1ca7d[_0x41a681(0x296)]=_0x1f44ec[_0x41a681(0x87)]),_0x108684[_0x41a681(0x11d)]===_0x41a681(0xbd)&&_0xd1ca7d['id']&&(_0xd1ca7d['id']=_0xd1ca7d['id']+_0x168bc2[_0x41a681(0x257)]),Object[_0x41a681(0x1cc)](_0xd1ca7d)[_0x41a681(0x280)](function(_0xd5f52d){const _0x5a6d26=_0x41a681;var _0x5c3fd5=_0xd5f52d[0x0],_0x20fadd=_0xd5f52d[0x1];_0x5c3fd5==='mask'&&typeof _0x20fadd=='string'&&(_0xd1ca7d[_0x5c3fd5]=_0x20fadd[_0x5a6d26(0x1bb)](/url\(#(.*)\)/,'url(#$1'[_0x5a6d26(0x249)](_0x168bc2[_0x5a6d26(0x257)],')')));});var _0x44776a=_0x168bc2[_0x41a681(0x244)];return!_0x44776a||_0x44776a['length']===0x0||(_0x108684[_0x41a681(0x11d)]===_0x41a681(0x2d8)&&_0xd1ca7d[_0x41a681(0x2b5)]&&(_0xd1ca7d['xlink:href']=_0xd1ca7d['xlink:href']+_0x168bc2[_0x41a681(0x257)]),Object[_0x41a681(0x1cc)](_0xd1ca7d)['forEach'](function(_0x4413d4){const _0x255e84=_0x41a681;var _0x5082ce=_0x4413d4[0x0],_0x1ce0f2=_0x4413d4[0x1];typeof _0x1ce0f2==_0x255e84(0x153)&&(_0xd1ca7d[_0x5082ce]=_0x1ce0f2[_0x255e84(0x1bb)](/url\(#(.*)\)/,_0x255e84(0x8a)[_0x255e84(0x249)](_0x168bc2[_0x255e84(0x257)],')')));})),_0xd1ca7d;}function _0x105df3(_0x58517a,_0x3c9094){const _0x1091e5=_0x30a38d;var _0x405681,_0x5a0980=_0x3c9094[_0x1091e5(0x244)];return!_0x5a0980||_0x5a0980['length']===0x0?_0x58517a:_0x58517a[_0x1091e5(0x11d)]===_0x1091e5(0x99)&&(!((_0x405681=_0x58517a[_0x1091e5(0x21b)])===null||_0x405681===void 0x0)&&_0x405681[_0x1091e5(0x2bc)])?_0x238850(_0x238850({},_0x58517a),{'children':_0x58517a['children'][_0x1091e5(0x295)](function(_0x5e6b0b){const _0x3d701d=_0x1091e5;return typeof _0x5e6b0b[_0x3d701d(0x71)]['id']==_0x3d701d(0x153)&&_0x5a0980&&_0x5a0980[_0x3d701d(0x1e8)](_0x5e6b0b[_0x3d701d(0x71)]['id'])?_0x238850(_0x238850({},_0x5e6b0b),{'attrs':_0x238850(_0x238850({},_0x5e6b0b[_0x3d701d(0x71)]),{'id':_0x5e6b0b[_0x3d701d(0x71)]['id']+_0x3c9094[_0x3d701d(0x257)]})}):_0x5e6b0b;})}):_0x58517a;}function _0x449d9f(){const _0x3bad66=_0x30a38d;return Math[_0x3bad66(0x14a)]()[_0x3bad66(0xcb)](0x24)['substring'](0x2,0x8);}_0x43ed63[_0x30a38d(0x207)]=_0x30a38d(0x197);var _0x2d8fb2={'tag':'svg','attrs':{'xmlns':_0x30a38d(0xaf),'fill':_0x30a38d(0x2ce),'viewBox':_0x30a38d(0x1be),'width':_0x30a38d(0x264),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x30a38d(0x229)},'children':[{'tag':_0x30a38d(0x189),'attrs':{'stroke':_0x30a38d(0x22d),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x30a38d(0x99),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x30a38d(0x299)},'children':[{'tag':_0x30a38d(0x189),'attrs':{'fill':_0x30a38d(0x2c6),'d':_0x30a38d(0x1c0)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x1b9423=_0x1ee406[_0x30a38d(0x291)](function(_0x30e223,_0xd190d7){const _0x358a85=_0x30a38d;return _0x1ee406[_0x358a85(0x285)](_0x43ed63,Object[_0x358a85(0x1c7)]({},_0x30e223,{'id':_0x358a85(0x14f),'ref':_0xd190d7,'icon':_0x2d8fb2}));});_0x1b9423[_0x30a38d(0x207)]=_0x30a38d(0xa1);var _0x5063a7={'tag':_0x30a38d(0x1ba),'attrs':{'xmlns':_0x30a38d(0xaf),'fill':_0x30a38d(0x2ce),'viewBox':_0x30a38d(0x1b4),'width':_0x30a38d(0x264),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x30a38d(0x22d),'d':_0x30a38d(0x92),'strokeLinecap':_0x30a38d(0x1b0),'strokeLinejoin':_0x30a38d(0x1b0),'strokeWidth':1.2}}]},{'tag':_0x30a38d(0x99),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x30a38d(0x102)},'children':[{'tag':_0x30a38d(0x189),'attrs':{'fill':_0x30a38d(0x2c6),'d':_0x30a38d(0x1c0),'transform':_0x30a38d(0x1f0)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x399f8b=_0x1ee406['forwardRef'](function(_0x3d2494,_0x49b907){const _0x2cc248=_0x30a38d;return _0x1ee406[_0x2cc248(0x285)](_0x43ed63,Object[_0x2cc248(0x1c7)]({},_0x3d2494,{'id':_0x2cc248(0x2ca),'ref':_0x49b907,'icon':_0x5063a7}));});_0x399f8b[_0x30a38d(0x207)]='OnLineIcon';function _0x2166d4(_0x4fc6a8){const _0x4ae3e2=_0x30a38d;switch(_0x4fc6a8){case _0x381b64['CollaborationStatus'][_0x4ae3e2(0x13f)]:return _0x4ae3e2(0x1d5);case _0x381b64['CollaborationStatus'][_0x4ae3e2(0x21a)]:return'collabStatus.conflict';case _0x381b64[_0x4ae3e2(0x2e8)][_0x4ae3e2(0x13e)]:return _0x4ae3e2(0x10b);case _0x381b64[_0x4ae3e2(0x2e8)][_0x4ae3e2(0x163)]:return _0x4ae3e2(0x2c3);case _0x381b64[_0x4ae3e2(0x2e8)][_0x4ae3e2(0x220)]:case _0x381b64[_0x4ae3e2(0x2e8)][_0x4ae3e2(0x144)]:return _0x4ae3e2(0x78);case _0x381b64[_0x4ae3e2(0x2e8)][_0x4ae3e2(0x7c)]:case _0x381b64[_0x4ae3e2(0x2e8)][_0x4ae3e2(0x248)]:return _0x4ae3e2(0x2d0);}}function _0x19bc69(_0x2eef92){const _0x1f8e3a=_0x30a38d,{status$:_0x5121cb}=_0x2eef92,_0x43ed35=_0xce7937['useObservable'](_0x5121cb,_0x381b64['CollaborationStatus'][_0x1f8e3a(0x163)]),_0x610b9a=_0xce7937[_0x1f8e3a(0x120)](_0x40cffd['LocaleService']),_0x403852=_0xce7937[_0x1f8e3a(0x120)](_0x381b64[_0x1f8e3a(0x158)]),_0x48c814=_0x43ed35!==_0x381b64[_0x1f8e3a(0x2e8)][_0x1f8e3a(0x13f)],_0x2e1402=_0x610b9a['t'](_0x2166d4(_0x43ed35)),_0x44aad8=_0x48c814?_0x151287[_0x1f8e3a(0x15b)](_0x399f8b,{}):_0x151287[_0x1f8e3a(0x15b)](_0x1b9423,{}),_0x2873e1=_0x1ee406['useCallback'](()=>{const _0x148053=_0x1f8e3a;_0x48c814||_0x403852[_0x148053(0x131)]();},[_0x48c814,_0x403852]);function _0x2ca48c(){const _0x3c571b=_0x1f8e3a;return _0x151287['jsxs'](_0x3c571b(0x2f1),{'className':_0x3c571b(0x6c),'onClick':_0x2873e1,'children':[_0x151287[_0x3c571b(0x15b)](_0x3c571b(0x2f1),{'className':_0x53251d['clsx'](_0x3c571b(0x171),{'univer-text-green-500':_0x48c814,'univer-text-red-500':!_0x48c814}),'children':_0x44aad8}),_0x151287['jsx'](_0x3c571b(0x2f1),{'className':_0x3c571b(0x1e9),'children':_0x2e1402})]});}return _0x48c814?_0x2ca48c():_0x151287[_0x1f8e3a(0x15b)](_0x53251d['Tooltip'],{'title':_0x610b9a['t'](_0x1f8e3a(0x27b)),'children':_0x2ca48c()});}var _0x44f0b8=Object[_0x30a38d(0x185)],_0x4264bf=(_0x49d360,_0x53a136,_0x262a1d,_0x310f3a)=>{const _0x3f5aa6=_0x30a38d;for(var _0x5e7aeb=_0x310f3a>0x1?void 0x0:_0x310f3a?_0x44f0b8(_0x53a136,_0x262a1d):_0x53a136,_0x2c67ee=_0x49d360[_0x3f5aa6(0x2bc)]-0x1,_0x27239f;_0x2c67ee>=0x0;_0x2c67ee--)(_0x27239f=_0x49d360[_0x2c67ee])&&(_0x5e7aeb=_0x27239f(_0x5e7aeb)||_0x5e7aeb);return _0x5e7aeb;},_0x1ed875=(_0x539511,_0x3943c7)=>(_0x4d7b88,_0x4572e4)=>_0x3943c7(_0x4d7b88,_0x4572e4,_0x539511);_0x36f152['DesktopCollaborationStatusDisplayController']=class extends _0x40cffd[_0x30a38d(0x2a6)]{constructor(_0x5e7d49,_0xce105a,_0x495757,_0x5c9a07){const _0x22f458=_0x30a38d;super(),_0x2f0bfd(this,_0x22f458(0x17d),new _0x54e142['BehaviorSubject'](_0x381b64[_0x22f458(0x2e8)][_0x22f458(0x163)])),(this[_0x22f458(0x289)]=_0x5e7d49,this[_0x22f458(0xed)]=_0xce105a,this[_0x22f458(0x112)]=_0x495757,this[_0x22f458(0x1f7)]=_0x5c9a07,this[_0x22f458(0x2fe)](),this[_0x22f458(0xbe)]());}['_initStatusListener'](){const _0x5d11d2=_0x30a38d;this[_0x5d11d2(0x1ce)](this[_0x5d11d2(0x289)][_0x5d11d2(0x172)][_0x5d11d2(0x7e)](_0x54e142['switchMap'](()=>{const _0x4097ed=_0x5d11d2,_0x1098f7=this[_0x4097ed(0x289)]['getFocusedUnit']();return _0x1098f7?this['_collaborationController'][_0x4097ed(0x224)](_0x1098f7[_0x4097ed(0x19b)]()):_0x54e142['of'](null);}),_0x54e142[_0x5d11d2(0x199)](_0x57536a=>_0x57536a?_0x57536a[_0x5d11d2(0x136)]:_0x54e142['of'](_0x381b64['CollaborationStatus']['NOT_COLLAB'])))[_0x5d11d2(0x204)](_0x214374=>{const _0x685cce=_0x5d11d2;this[_0x685cce(0x17d)][_0x685cce(0x162)](_0x214374);}));}[_0x30a38d(0x2fe)](){const _0x1460e3=_0x30a38d;this[_0x1460e3(0x1ce)](this['_uiPartsService'][_0x1460e3(0x217)](_0xce7937[_0x1460e3(0x2b6)][_0x1460e3(0x1c3)],()=>_0xce7937[_0x1460e3(0x2b2)](_0x524faa({'status$':this[_0x1460e3(0x17d)][_0x1460e3(0x25a)]()}),this[_0x1460e3(0xed)])));}},_0x36f152[_0x30a38d(0x7b)]=_0x4264bf([_0x1ed875(0x0,_0x40cffd[_0x30a38d(0x200)]),_0x1ed875(0x1,_0x40cffd['Inject'](_0x40cffd[_0x30a38d(0x1ec)])),_0x1ed875(0x2,_0x40cffd[_0x30a38d(0x243)](_0x381b64[_0x30a38d(0x1d1)])),_0x1ed875(0x3,_0xce7937[_0x30a38d(0x12a)])],_0x36f152['DesktopCollaborationStatusDisplayController']);function _0x524faa(_0x5592ed){const {status$:_0x2646ba}=_0x5592ed;return function(){const _0xb5631a=_0xf3b4;return _0x151287[_0xb5631a(0x15b)](_0x19bc69,{'status$':_0x2646ba});};}const _0x3040d7=_0x40cffd[_0x30a38d(0x143)](_0x30a38d(0x164));var _0x49d950=Object[_0x30a38d(0x185)],_0x1540b7=(_0x5dca61,_0x346f9c,_0x4d4e3a,_0x350634)=>{const _0x50622f=_0x30a38d;for(var _0x301383=_0x350634>0x1?void 0x0:_0x350634?_0x49d950(_0x346f9c,_0x4d4e3a):_0x346f9c,_0x44a5bc=_0x5dca61[_0x50622f(0x2bc)]-0x1,_0x510e7c;_0x44a5bc>=0x0;_0x44a5bc--)(_0x510e7c=_0x5dca61[_0x44a5bc])&&(_0x301383=_0x510e7c(_0x301383)||_0x301383);return _0x301383;},_0x5d9450=(_0x1e8843,_0x15dc06)=>(_0x5327b7,_0x45b84f)=>_0x15dc06(_0x5327b7,_0x45b84f,_0x1e8843);_0x36f152[_0x30a38d(0x2e1)]=class extends _0x40cffd[_0x30a38d(0x141)]{constructor(_0x1baaf8,_0x5b3a47,_0x5e39ac,_0x7fc330,_0x50a868){const _0x2cc98c=_0x30a38d;super(),this[_0x2cc98c(0x2a3)]=_0x1baaf8,this[_0x2cc98c(0xb7)]=_0x5b3a47,this['_commandService']=_0x5e39ac,this['_dataLoaderService']=_0x7fc330,_0x50a868?_0x50a868==null||_0x50a868[_0x2cc98c(0x6a)]()[_0x2cc98c(0x28a)](()=>this[_0x2cc98c(0x17f)]()):(this[_0x2cc98c(0xb7)][_0x2cc98c(0x23b)](_0x2cc98c(0x2f6),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x2cc98c(0x17f)]());}async[_0x30a38d(0x17f)](){const _0x49ea8c=_0x30a38d,_0x406f6b=this[_0x49ea8c(0x2a3)][_0x49ea8c(0xb8)](_0x49ea8c(0x76)),_0x5560b4=this[_0x49ea8c(0x2a3)][_0x49ea8c(0xb8)](_0x49ea8c(0x152)),_0xd57d12=this['_urlService'][_0x49ea8c(0xb8)](_0x49ea8c(0x122));if(!_0x406f6b||!_0x5560b4){this[_0x49ea8c(0xb7)][_0x49ea8c(0x23b)](_0x49ea8c(0x2f6),_0x49ea8c(0xab));return;}const _0x14785d=await this[_0x49ea8c(0x29a)][_0x49ea8c(0x238)](_0x406f6b,Number(_0x5560b4),_0xd57d12);_0x14785d&&_0x14785d instanceof _0x40cffd['Workbook']&&this['_setupSubUnitSync'](_0x14785d);}async[_0x30a38d(0x1e4)](_0x29e17a){const _0x206d7a=_0x30a38d;await this[_0x206d7a(0xcc)](_0x29e17a),_0x29e17a[_0x206d7a(0x1fb)][_0x206d7a(0x7e)](_0x54e142[_0x206d7a(0x1eb)](this[_0x206d7a(0x192)]))[_0x206d7a(0x204)](_0x2f3fb9=>{_0x2f3fb9&&this['_updateURLWithCurrentState'](_0x2f3fb9);}),this[_0x206d7a(0x2a3)]['urlChange$']['pipe'](_0x54e142['takeUntil'](this['dispose$']))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x29e17a));}['_updateURLWithCurrentState'](_0x25a591,_0x325ead=!0x1){const _0x5d82b8=_0x30a38d,_0x2e7388=this[_0x5d82b8(0x2a3)]['getParam']('subunit');_0x25a591['getSheetId']()!==_0x2e7388&&this[_0x5d82b8(0x2a3)][_0x5d82b8(0x91)](_0x5d82b8(0x122),_0x25a591[_0x5d82b8(0x29e)](),_0x325ead);}async[_0x30a38d(0xcc)](_0x240fc2){const _0x47fd00=_0x30a38d;var _0x39284c;const _0x3cb9a7=this[_0x47fd00(0x2a3)][_0x47fd00(0xb8)](_0x47fd00(0x122));if(!_0x3cb9a7||!_0x240fc2[_0x47fd00(0x95)](_0x3cb9a7)){const _0x10aec0=_0x240fc2['getUnhiddenWorksheets']()[0x0],_0x5af9ca=_0x240fc2[_0x47fd00(0x95)](_0x10aec0);if(!_0x5af9ca)return;this[_0x47fd00(0x240)](_0x5af9ca,!0x0),await this['_commandService'][_0x47fd00(0x298)](_0x20769f['SetWorksheetActivateCommand']['id'],{'unitId':_0x240fc2[_0x47fd00(0x19b)](),'subUnitId':_0x10aec0});return;}((_0x39284c=_0x240fc2[_0x47fd00(0xeb)]())==null?void 0x0:_0x39284c[_0x47fd00(0x29e)]())!==_0x3cb9a7&&await this[_0x47fd00(0x2a9)][_0x47fd00(0x298)](_0x20769f[_0x47fd00(0x1d9)]['id'],{'unitId':_0x240fc2[_0x47fd00(0x19b)](),'subUnitId':_0x3cb9a7});}},_0x36f152[_0x30a38d(0x2e1)]=_0x1540b7([_0x5d9450(0x0,_0x3040d7),_0x5d9450(0x1,_0x40cffd['ILogService']),_0x5d9450(0x2,_0x40cffd[_0x30a38d(0x263)]),_0x5d9450(0x3,_0x40cffd[_0x30a38d(0x243)](_0x381b64[_0x30a38d(0x2cd)])),_0x5d9450(0x4,_0x40cffd[_0x30a38d(0x2a7)](_0x45fc08[_0x30a38d(0x306)]))],_0x36f152[_0x30a38d(0x2e1)]);var _0xe1758d=Object[_0x30a38d(0x185)],_0x20b6c3=(_0x1ae596,_0x2ca8ca,_0x147281,_0x136ec2)=>{for(var _0x101ca8=_0x136ec2>0x1?void 0x0:_0x136ec2?_0xe1758d(_0x2ca8ca,_0x147281):_0x2ca8ca,_0x44d53b=_0x1ae596['length']-0x1,_0x5c3cf6;_0x44d53b>=0x0;_0x44d53b--)(_0x5c3cf6=_0x1ae596[_0x44d53b])&&(_0x101ca8=_0x5c3cf6(_0x101ca8)||_0x101ca8);return _0x101ca8;},_0x20e1be=(_0x3076c2,_0x1d9efc)=>(_0x41db5c,_0x1951b1)=>_0x1d9efc(_0x41db5c,_0x1951b1,_0x3076c2);let _0x252d3c=class extends _0x40cffd[_0x30a38d(0x141)]{constructor(_0x2ba572,_0x494d4a){const _0x29f90f=_0x30a38d;super(),this[_0x29f90f(0xd7)]=_0x2ba572,this[_0x29f90f(0x12b)]=_0x494d4a,this[_0x29f90f(0x17f)]();}[_0x30a38d(0x17f)](){const _0x474ce2=_0x30a38d,_0x5db837=this;this[_0x474ce2(0x1ce)](this[_0x474ce2(0xd7)]['addClipboardHook']({'onBeforePasteImage':async _0x72ea11=>{const _0x1211e9=_0x474ce2,_0x3ca10c=await _0x5db837[_0x1211e9(0x12b)][_0x1211e9(0x2d7)](_0x72ea11);return _0x3ca10c?{'source':_0x3ca10c[_0x1211e9(0x26a)],'imageSourceType':_0x3ca10c[_0x1211e9(0x1b7)]}:null;}}));}};_0x252d3c=_0x20b6c3([_0x20e1be(0x0,_0x2d3f57[_0x30a38d(0x135)]),_0x20e1be(0x1,_0xc6bb5d[_0x30a38d(0x88)])],_0x252d3c);const _0x370ee6=[_0x30a38d(0x21f),_0x30a38d(0x235),_0x30a38d(0x236),'red.300','blue.400',_0x30a38d(0x2db)];class _0x3070d8 extends _0x40cffd[_0x30a38d(0x2a6)]{constructor(){const _0x104d47=_0x30a38d;super(...arguments),_0x2f0bfd(this,_0x104d47(0x1de),new Map()),_0x2f0bfd(this,'_colorIndex',0x0);}[_0x30a38d(0x9b)](_0x172a57){const _0x55a1b3=_0x30a38d;if(this['_assignedColors'][_0x55a1b3(0x2ea)](_0x172a57))return this[_0x55a1b3(0x1de)][_0x55a1b3(0x2cf)](_0x172a57);const _0x10a2bc=_0x370ee6[this['_colorIndex']];return this[_0x55a1b3(0xc8)]=(this[_0x55a1b3(0xc8)]+0x1)%_0x370ee6[_0x55a1b3(0x2bc)],this[_0x55a1b3(0x1de)][_0x55a1b3(0x273)](_0x172a57,_0x10a2bc),_0x10a2bc;}}function _0x129e02(_0x161663){const _0x944ede=_0x30a38d;let _0x17a643='';for(const _0x1a69c3 of _0x161663){const {startOffset:_0x25f967,endOffset:_0x3068ef,isActive:_0x2091ec,rangeType:_0x37c8ad,segmentId:_0x2ac02c,segmentPage:_0x3b0e9e}=_0x1a69c3;_0x17a643[_0x944ede(0x2bc)]&&(_0x17a643+=','),_0x17a643+=_0x25f967+':'+_0x3068ef+':'+(_0x2091ec?'1':'0')+':'+_0x37c8ad+':'+_0x2ac02c+':'+_0x3b0e9e;}return _0x17a643;}function _0x49b436(_0x5797ba){const _0x333e4b=_0x30a38d,_0x5e4e9d=_0x5797ba[_0x333e4b(0x13b)](','),_0x1d1900=[];for(const _0x107d06 of _0x5e4e9d){const [_0x171e7e,_0x7ab467,_0x50a82a,_0x17318e,_0x1bd164,_0x3f9745]=_0x107d06[_0x333e4b(0x13b)](':');_0x1d1900[_0x333e4b(0x81)]({'startOffset':Number(_0x171e7e),'endOffset':Number(_0x7ab467),'collapsed':_0x171e7e===_0x7ab467,'isActive':_0x50a82a==='1','rangeType':_0x17318e===_0x40cffd[_0x333e4b(0x16d)]['TEXT']?_0x40cffd[_0x333e4b(0x16d)][_0x333e4b(0x1da)]:_0x40cffd[_0x333e4b(0x16d)][_0x333e4b(0x2f9)],'segmentId':typeof _0x1bd164==_0x333e4b(0x153)?String(_0x1bd164):'','segmentPage':Number(_0x3f9745!=null?_0x3f9745:-0x1)});}return _0x1d1900['some'](_0x41f42f=>_0x41f42f[_0x333e4b(0x222)])||(_0x1d1900[0x0][_0x333e4b(0x222)]=!0x0),_0x1d1900;}class _0x317e7c extends _0x40cffd['RxDisposable']{constructor(){const _0xe63c0e=_0x30a38d;super(...arguments),_0x2f0bfd(this,_0xe63c0e(0x270),new _0x54e142[(_0xe63c0e(0x1aa))](null)),_0x2f0bfd(this,'collabCursorState$',this[_0xe63c0e(0x270)][_0xe63c0e(0x25a)]());}['syncEditingCollabCursor'](_0x59a4fa){const _0x7ba592=_0x30a38d,{unitID:_0x48e57b,memberID:_0x197ccb,textRanges:_0xad118}=_0x59a4fa,_0x41042a=_0x129e02(_0xad118);if(_0x41042a==='')return;const _0xe0cbf8={'unitID':_0x48e57b,'memberID':_0x197ccb,'selection':_0x41042a};this[_0x7ba592(0x270)][_0x7ba592(0x162)](_0xe0cbf8);}}var _0x281cd9=Object[_0x30a38d(0x185)],_0x3fc61e=(_0x3b613b,_0x1fc39f,_0x879386,_0x4f1d57)=>{const _0xed6550=_0x30a38d;for(var _0x3119b0=_0x4f1d57>0x1?void 0x0:_0x4f1d57?_0x281cd9(_0x1fc39f,_0x879386):_0x1fc39f,_0x555aaf=_0x3b613b[_0xed6550(0x2bc)]-0x1,_0x984004;_0x555aaf>=0x0;_0x555aaf--)(_0x984004=_0x3b613b[_0x555aaf])&&(_0x3119b0=_0x984004(_0x3119b0)||_0x3119b0);return _0x3119b0;},_0x2f3ba6=(_0x267e82,_0x2b5197)=>(_0x3d72d1,_0x5e3689)=>_0x2b5197(_0x3d72d1,_0x5e3689,_0x267e82);const _0x2b0bc9=0x12c,_0x2ceb36=0x64;let _0x58341d=class extends _0x40cffd[_0x30a38d(0x141)]{constructor(_0x4c95e9,_0x531339,_0x4821b6,_0x4afaa5,_0x47b19b,_0x38a219,_0x47500b,_0x3999dc,_0x5ba4e7){const _0x2356fd=_0x30a38d;super(),_0x2f0bfd(this,'_online',!0x1),_0x2f0bfd(this,'_init',!0x1),_0x2f0bfd(this,'_cursorInfo$',new _0x54e142[(_0x2356fd(0x1aa))](new Map())),_0x2f0bfd(this,_0x2356fd(0x300),this['_cursorInfo$'][_0x2356fd(0x25a)]()),_0x2f0bfd(this,'_roomMembers$',new _0x54e142[(_0x2356fd(0x1aa))]([])),_0x2f0bfd(this,'roomMembers$',this[_0x2356fd(0x111)]['pipe'](_0x54e142[_0x2356fd(0x84)](_0x2b0bc9))),_0x2f0bfd(this,_0x2356fd(0x230),_0x40cffd[_0x2356fd(0x2e2)](_0x593203=>{const _0x3f7894=_0x2356fd,_0x3b61ff={'eventID':_0x2146ab[_0x3f7894(0x2e9)][_0x3f7894(0x277)],'data':{'unitID':this[_0x3f7894(0xaa)],'memberID':this['_session'][_0x3f7894(0x284)](),'selection':_0x129e02(_0x593203)}};this[_0x3f7894(0x1a7)][_0x3f7894(0xf7)](_0x3b61ff,this[_0x3f7894(0xaa)]);},_0x2ceb36)),(this[_0x2356fd(0xaa)]=_0x4c95e9,this[_0x2356fd(0x1a7)]=_0x531339,this[_0x2356fd(0xed)]=_0x4821b6,this[_0x2356fd(0xca)]=_0x4afaa5,this[_0x2356fd(0x126)]=_0x47b19b,this[_0x2356fd(0x24a)]=_0x38a219,this[_0x2356fd(0x262)]=_0x47500b,this[_0x2356fd(0x289)]=_0x3999dc,this['_commandService']=_0x5ba4e7);}get['cursorInfo'](){const _0x213708=_0x30a38d;return this[_0x213708(0x28e)]['getValue']();}get[_0x30a38d(0x165)](){const _0x393b64=_0x30a38d;return this[_0x393b64(0x111)][_0x393b64(0x205)]();}[_0x30a38d(0x266)](){const _0x3ee894=_0x30a38d;super[_0x3ee894(0x266)](),this[_0x3ee894(0x28e)][_0x3ee894(0x162)](new Map()),this['_cursorInfo$']['complete'](),this[_0x3ee894(0x111)][_0x3ee894(0x162)]([]),this['_roomMembers$'][_0x3ee894(0x180)]();}[_0x30a38d(0x11e)](){const _0x99d801=_0x30a38d;this['_init']||(this[_0x99d801(0x17f)]=!0x0,this['_session'][_0x99d801(0x11b)][_0x99d801(0x7e)](_0x54e142[_0x99d801(0x1eb)](this['dispose$']))[_0x99d801(0x204)](_0x5d4e52=>{const _0x1d2b03=_0x99d801;_0x5d4e52===_0x381b64[_0x1d2b03(0x2c8)]['ONLINE']?this[_0x1d2b03(0x233)]():this[_0x1d2b03(0x169)]();}),this[_0x99d801(0x1a7)][_0x99d801(0x16e)]['pipe'](_0x54e142[_0x99d801(0x1eb)](this['dispose$']))[_0x99d801(0x204)](_0xb03432=>{const _0x52bfa9=_0x99d801,_0x1a622a=_0xb03432[_0x52bfa9(0x12f)];_0x1a622a===_0x2146ab[_0x52bfa9(0x2e9)]['UPDATE_CURSOR']&&this[_0x52bfa9(0x252)](_0xb03432),_0x1a622a===_0x2146ab[_0x52bfa9(0x2e9)][_0x52bfa9(0x2d5)]&&this[_0x52bfa9(0x20c)](_0xb03432);}),this[_0x99d801(0x1ce)](this[_0x99d801(0x2a9)][_0x99d801(0x1a0)](_0x4b22ab=>{const _0x341a0e=_0x99d801,_0x32d135=_0x4b22ab[_0x341a0e(0xec)];_0x32d135!=null&&this[_0x341a0e(0x15e)]&&_0x4b22ab['id']===_0x3bcff7[_0x341a0e(0x213)]['id']&&_0x32d135[_0x341a0e(0x2e6)]===this[_0x341a0e(0xaa)]&&_0x32d135['isEditing']===!0x1&&_0x32d135[_0x341a0e(0x75)][_0x341a0e(0x2bc)]>0x0&&this[_0x341a0e(0x230)](_0x32d135['ranges']);})),this[_0x99d801(0x24a)][_0x99d801(0x2c5)][_0x99d801(0x7e)](_0x54e142['takeUntil'](this[_0x99d801(0x192)]))[_0x99d801(0x204)](_0x1ecb3b=>{const _0x2fb142=_0x99d801;if((_0x1ecb3b==null?void 0x0:_0x1ecb3b['unitID'])!==this[_0x2fb142(0xaa)])return;const _0x331460={'eventID':_0x2146ab['CollaborationEvent'][_0x2fb142(0x277)],'data':_0x1ecb3b};this[_0x2fb142(0x252)](_0x331460);}),this[_0x99d801(0x1ce)](this[_0x99d801(0x2a9)][_0x99d801(0x1a0)](_0x49aaf7=>{const _0xef35f5=_0x99d801;if(_0x49aaf7[_0xef35f5(0xec)]==null)return;const _0xaea62f=_0x49aaf7[_0xef35f5(0xec)];if(_0x49aaf7['id']!==_0x3bcff7[_0xef35f5(0x242)]['id']||_0xaea62f['unitId']!==this['unitID'])return;const _0x1b7138={'id':'doc.mutation.rich-text-editing','params':_0xaea62f},_0x2f1cac=this[_0xef35f5(0x149)];for(const [_0x1babb8,_0x29e7cb]of _0x2f1cac){const _0x319017={'id':_0xef35f5(0x1e7),'params':{'unitId':this[_0xef35f5(0xaa)],'actions':null,'textRanges':_0x29e7cb[_0xef35f5(0x75)]}},_0x1d019d=this[_0xef35f5(0x262)][_0xef35f5(0xe6)](_0x1b7138,_0x319017,!0x1);if(_0x2146ab[_0xef35f5(0x28d)](_0x1d019d))throw _0x1d019d[_0xef35f5(0x274)];_0x2f1cac['set'](_0x1babb8,{..._0x29e7cb,'ranges':_0x1d019d[_0xef35f5(0x214)][_0xef35f5(0xec)][_0xef35f5(0x103)]});}queueMicrotask(()=>{const _0x1e7e09=_0xef35f5;this[_0x1e7e09(0x28e)]['next'](_0x2f1cac);});})));}[_0x30a38d(0x252)](_0x5aa7f0){const _0x25c508=_0x30a38d;var _0x3f9d02,_0x3d7989;const {memberID:_0x1db986,selection:_0x4bab89}=_0x5aa7f0[_0x25c508(0x11c)],_0x7d31aa=_0x49b436(_0x4bab89),_0x3d777a=(_0x3d7989=(_0x3f9d02=this['_memberService'][_0x25c508(0x2a4)](this['unitID'],_0x1db986))==null?void 0x0:_0x3f9d02[_0x25c508(0x174)])!=null?_0x3d7989:_0x25c508(0x173),_0x484661={'color':this[_0x25c508(0xca)][_0x25c508(0x9b)](_0x1db986),'name':_0x3d777a,'ranges':_0x7d31aa},_0x5beb84=this[_0x25c508(0x149)];_0x5beb84[_0x25c508(0x273)](_0x1db986,_0x484661),this['_cursorInfo$'][_0x25c508(0x162)](_0x5beb84);}[_0x30a38d(0x20c)](_0x233dce){const _0x53f044=_0x30a38d,{memberID:_0xac138a}=_0x233dce['data'],_0x1662dd=this[_0x53f044(0x149)];_0x1662dd[_0x53f044(0x1c6)](_0xac138a),this[_0x53f044(0x28e)][_0x53f044(0x162)](_0x1662dd);}[_0x30a38d(0x233)](){const _0x5f078f=_0x30a38d;var _0x461693;if(this['_online']=!0x0,((_0x461693=this[_0x5f078f(0x289)][_0x5f078f(0xac)]())==null?void 0x0:_0x461693['getUnitId']())!==this[_0x5f078f(0xaa)])return;const _0x307fc0=this[_0x5f078f(0xed)][_0x5f078f(0x2cf)](_0x3bcff7[_0x5f078f(0x170)])[_0x5f078f(0x25b)]();Array[_0x5f078f(0x27e)](_0x307fc0)&&_0x307fc0[_0x5f078f(0x2bc)]>0x0&&this[_0x5f078f(0x230)](_0x307fc0);}[_0x30a38d(0x169)](){const _0x368039=_0x30a38d;this[_0x368039(0x15e)]=!0x1;}};_0x58341d=_0x3fc61e([_0x2f3ba6(0x2,_0x40cffd['Inject'](_0x40cffd[_0x30a38d(0x1ec)])),_0x2f3ba6(0x3,_0x40cffd[_0x30a38d(0x243)](_0x3070d8)),_0x2f3ba6(0x4,_0x40cffd['Inject'](_0x381b64[_0x30a38d(0x124)])),_0x2f3ba6(0x5,_0x40cffd['Inject'](_0x317e7c)),_0x2f3ba6(0x6,_0x2146ab[_0x30a38d(0x1b5)]),_0x2f3ba6(0x7,_0x40cffd[_0x30a38d(0x200)]),_0x2f3ba6(0x8,_0x40cffd[_0x30a38d(0x263)])],_0x58341d);var _0x50f5d8=Object[_0x30a38d(0x185)],_0x48104a=(_0x3c6d2c,_0x15aac5,_0x5eaa9e,_0x48ea08)=>{const _0x42d482=_0x30a38d;for(var _0x1404fd=_0x48ea08>0x1?void 0x0:_0x48ea08?_0x50f5d8(_0x15aac5,_0x5eaa9e):_0x15aac5,_0x4ae398=_0x3c6d2c[_0x42d482(0x2bc)]-0x1,_0x51e62a;_0x4ae398>=0x0;_0x4ae398--)(_0x51e62a=_0x3c6d2c[_0x4ae398])&&(_0x1404fd=_0x51e62a(_0x1404fd)||_0x1404fd);return _0x1404fd;},_0x5eb8c3=(_0x1172fc,_0x1c2a22)=>(_0x383dba,_0x26e3f7)=>_0x1c2a22(_0x383dba,_0x26e3f7,_0x1172fc);const _0x939cfc=0x12c,_0x19b3d3=0x64,_0x34d331=()=>{let _0x3ef7bd=[],_0x1def96=!0x1;return _0x4ba308=>{const _0x56ac8c=_0xf3b4;_0x3ef7bd[_0x56ac8c(0x81)](_0x4ba308),_0x1def96||(_0x1def96=!0x0,setTimeout(()=>{const _0x1a2f79=_0x56ac8c;_0x3ef7bd[_0x1a2f79(0x280)](_0xe6c581=>_0xe6c581()),_0x3ef7bd=[],_0x1def96=!0x1;}));};};let _0x4f1f12=class extends _0x40cffd[_0x30a38d(0x141)]{constructor(_0x35cd89,_0x524e7c,_0xb3bce0,_0x25d404,_0x53aaaa,_0xc41524,_0x1bff15,_0x2055e0){const _0x2936d4=_0x30a38d;super(),_0x2f0bfd(this,_0x2936d4(0x15e),!0x1),_0x2f0bfd(this,'_init',!0x1),_0x2f0bfd(this,_0x2936d4(0x28e),new _0x54e142[(_0x2936d4(0x1aa))](new Map())),_0x2f0bfd(this,_0x2936d4(0x300),this[_0x2936d4(0x28e)]['asObservable']()),_0x2f0bfd(this,_0x2936d4(0x111),new _0x54e142['BehaviorSubject']([])),_0x2f0bfd(this,_0x2936d4(0x151),this['_roomMembers$'][_0x2936d4(0x7e)](_0x54e142['debounceTime'](_0x939cfc))),_0x2f0bfd(this,_0x2936d4(0x230),_0x40cffd[_0x2936d4(0x2e2)]((_0x55f0ae,_0x2a6cfe)=>{const _0x4d0497=_0x2936d4,_0x2e0532={'eventID':_0x2146ab['CollaborationEvent'][_0x4d0497(0x277)],'data':{'unitID':this[_0x4d0497(0xaa)],'memberID':this[_0x4d0497(0x1a7)][_0x4d0497(0x284)](),'selection':_0xc9e6b5[_0x4d0497(0x305)](_0x55f0ae,_0x2a6cfe['range'])}};this[_0x4d0497(0x1a7)][_0x4d0497(0xf7)](_0x2e0532,this['unitID']);},_0x19b3d3)),(this[_0x2936d4(0xaa)]=_0x35cd89,this[_0x2936d4(0x1a7)]=_0x524e7c,this[_0x2936d4(0xed)]=_0xb3bce0,this[_0x2936d4(0xca)]=_0x25d404,this[_0x2936d4(0x126)]=_0x53aaaa,this[_0x2936d4(0x289)]=_0xc41524,this[_0x2936d4(0x2a9)]=_0x1bff15,this['_refRangeService']=_0x2055e0);}get[_0x30a38d(0x149)](){const _0x2f6a58=_0x30a38d;return this[_0x2f6a58(0x28e)][_0x2f6a58(0x205)]();}get[_0x30a38d(0x165)](){const _0x5af2cb=_0x30a38d;return this[_0x5af2cb(0x111)][_0x5af2cb(0x205)]();}[_0x30a38d(0x266)](){const _0x3cfac8=_0x30a38d;super['dispose'](),this['_cursorInfo$'][_0x3cfac8(0x162)](new Map()),this[_0x3cfac8(0x28e)]['complete'](),this[_0x3cfac8(0x111)][_0x3cfac8(0x162)]([]),this[_0x3cfac8(0x111)][_0x3cfac8(0x180)]();}['init'](){const _0x518d33=_0x30a38d;this[_0x518d33(0x17f)]||(this[_0x518d33(0x17f)]=!0x0,this[_0x518d33(0x1a7)][_0x518d33(0x11b)][_0x518d33(0x7e)](_0x54e142[_0x518d33(0x1eb)](this[_0x518d33(0x192)]))[_0x518d33(0x204)](_0x4f21bc=>{const _0x1c8a4f=_0x518d33;_0x4f21bc===_0x381b64['SessionStatus'][_0x1c8a4f(0x22c)]?this[_0x1c8a4f(0x233)]():this[_0x1c8a4f(0x169)]();}),this[_0x518d33(0x1a7)]['event$'][_0x518d33(0x7e)](_0x54e142[_0x518d33(0x1eb)](this[_0x518d33(0x192)]))[_0x518d33(0x204)](_0x409898=>{const _0x4bfa9e=_0x518d33,_0x357ac0=_0x409898['eventID'];_0x357ac0===_0x2146ab['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x409898),_0x357ac0===_0x2146ab[_0x4bfa9e(0x2e9)][_0x4bfa9e(0x2d5)]&&this[_0x4bfa9e(0x20c)](_0x409898);}),this[_0x518d33(0xa2)](),this[_0x518d33(0x1ce)](this['_commandService'][_0x518d33(0x1a0)](_0x35635b=>{const _0x9439b3=_0x518d33;if(this[_0x9439b3(0x15e)]&&_0x35635b['id']===_0x20769f[_0x9439b3(0x159)]['id']&&_0x35635b[_0x9439b3(0xec)]['unitId']===this['unitID']){const _0x501536=_0x35635b['params'];this[_0x9439b3(0x230)](_0x501536[_0x9439b3(0xf3)],_0x501536[_0x9439b3(0xcd)][0x0]);}})));}[_0x30a38d(0x252)](_0x43479c){const _0xdd522d=_0x30a38d;var _0x47ab37,_0x5d37b3;const {memberID:_0x1937c9,selection:_0x5b9a29}=_0x43479c[_0xdd522d(0x11c)],{sheetName:_0x37ca75,range:_0x4bfb26}=_0xc9e6b5[_0xdd522d(0x22e)](_0x5b9a29),_0x57446e={'name':(_0x5d37b3=(_0x47ab37=this['_memberService'][_0xdd522d(0x2a4)](this[_0xdd522d(0xaa)],_0x1937c9))==null?void 0x0:_0x47ab37[_0xdd522d(0x174)])!=null?_0x5d37b3:_0xdd522d(0x173),'range':this['_getMergeRange'](_0x37ca75,_0x4bfb26),'sheetID':_0x37ca75,'color':this[_0xdd522d(0xca)][_0xdd522d(0x9b)](_0x1937c9),'selection':_0x5b9a29},_0x261ce5=this['cursorInfo'];_0x261ce5[_0xdd522d(0x273)](_0x1937c9,_0x57446e),this['_cursorInfo$'][_0xdd522d(0x162)](_0x261ce5);}[_0x30a38d(0x20c)](_0x16c429){const _0x47d64c=_0x30a38d,{memberID:_0x3221bd}=_0x16c429[_0x47d64c(0x11c)],_0x2b365e=this[_0x47d64c(0x149)];_0x2b365e['delete'](_0x3221bd),this[_0x47d64c(0x28e)][_0x47d64c(0x162)](_0x2b365e);}[_0x30a38d(0xfd)](_0x32bb1f,_0x1f53dd){const _0x2b4681=_0x30a38d;var _0x364c93,_0x2f740c;const _0x471299=(_0x2f740c=(_0x364c93=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x2b4681(0xaa)]))==null?void 0x0:_0x364c93[_0x2b4681(0x95)](_0x32bb1f))==null?void 0x0:_0x2f740c['getMergeData']();return(_0x471299==null?void 0x0:_0x471299[_0x2b4681(0x2b0)](_0x90af4a=>_0x40cffd[_0x2b4681(0x1e2)][_0x2b4681(0x15a)](_0x90af4a,_0x1f53dd)))||_0x1f53dd;}['_onRefRangeChange'](){const _0x5c733c=_0x30a38d,_0x24e1ac=new _0x40cffd['DisposableCollection'](),_0x4fea67=_0x34d331(),_0x173f32=()=>{const _0x5e944f=_0xf3b4;_0x24e1ac[_0x5e944f(0x266)]();const _0x27506f=(_0x4a1150,_0x109b20,_0x4a77e0,_0x1a2ef1)=>{const _0xbbc7ea=_0x5e944f;let _0x4a4e49=[];switch(_0x4a1150['id']){case _0x20769f['EffectRefRangId'][_0xbbc7ea(0x86)]:{_0x4a4e49=_0x20769f[_0xbbc7ea(0x2aa)](_0x4a1150,_0x1a2ef1);break;}case _0x20769f[_0xbbc7ea(0x2d2)][_0xbbc7ea(0xfa)]:{_0x4a4e49=_0x20769f[_0xbbc7ea(0xb3)](_0x4a1150,_0x1a2ef1);break;}case _0x20769f[_0xbbc7ea(0x2d2)][_0xbbc7ea(0x14e)]:{_0x4a4e49=_0x20769f[_0xbbc7ea(0x2eb)](_0x4a1150,_0x1a2ef1);break;}case _0x20769f[_0xbbc7ea(0x2d2)][_0xbbc7ea(0x29b)]:{_0x4a4e49=_0x20769f[_0xbbc7ea(0x209)](_0x4a1150,_0x1a2ef1);break;}case _0x20769f[_0xbbc7ea(0x2d2)][_0xbbc7ea(0xc4)]:{_0x4a4e49=_0x20769f[_0xbbc7ea(0x1c4)](_0x4a1150,_0x1a2ef1);break;}case _0x20769f['EffectRefRangId'][_0xbbc7ea(0x1c9)]:{_0x4a4e49=_0x20769f[_0xbbc7ea(0x24f)](_0x4a1150,_0x1a2ef1);break;}case _0x20769f[_0xbbc7ea(0x2d2)][_0xbbc7ea(0x10a)]:{_0x4a4e49=_0x20769f[_0xbbc7ea(0x18c)](_0x4a1150,_0x1a2ef1);break;}case _0x20769f[_0xbbc7ea(0x2d2)][_0xbbc7ea(0x250)]:{_0x4a4e49=_0x20769f[_0xbbc7ea(0xce)](_0x4a1150,_0x1a2ef1);break;}case _0x20769f['EffectRefRangId'][_0xbbc7ea(0x22a)]:{_0x4a4e49=_0x20769f['handleIRemoveRow'](_0x4a1150,_0x1a2ef1);break;}}const _0x4955ab=_0x20769f[_0xbbc7ea(0x12e)](_0x4a4e49,_0x1a2ef1),_0x2a5e35=this['cursorInfo'][_0xbbc7ea(0x2cf)](_0x109b20);if(_0x2a5e35&&_0x4955ab){const _0x2daf17={..._0x2a5e35,'range':_0x4955ab};this[_0xbbc7ea(0x149)]['set'](_0x109b20,_0x2daf17),_0x4fea67(()=>{const _0x766ea3=_0xbbc7ea,_0x2b160a=this['_refRangeService'][_0x766ea3(0x19c)](_0x4955ab,_0x57c9ff=>(_0x2b160a[_0x766ea3(0x266)](),_0x27506f(_0x57c9ff,_0x109b20,_0x4a77e0,_0x4955ab)));_0x24e1ac[_0x766ea3(0x2d4)](_0x2b160a);});}return{'redos':[],'undos':[]};};this[_0x5e944f(0x149)][_0x5e944f(0x280)]((_0x5efe79,_0x16aeff)=>{const _0x4d002e=_0x5e944f,{range:_0x210448,sheetID:_0x2297ad}=_0x5efe79,_0x485f18=this[_0x4d002e(0x208)][_0x4d002e(0x19c)](_0x210448,_0x4d267b=>(_0x485f18[_0x4d002e(0x266)](),_0x27506f(_0x4d267b,_0x16aeff,_0x2297ad,_0x210448)));_0x24e1ac['add'](_0x485f18);});};this['disposeWithMe'](_0x40cffd[_0x5c733c(0x2ac)](this[_0x5c733c(0x28e)]['subscribe'](()=>{_0x173f32();})));}[_0x30a38d(0x233)](){const _0x2f553b=_0x30a38d;var _0xc41ab7,_0x3cbb2c;if(this[_0x2f553b(0x15e)]=!0x0,((_0xc41ab7=this[_0x2f553b(0x289)]['getFocusedUnit']())==null?void 0x0:_0xc41ab7[_0x2f553b(0x19b)]())!==this[_0x2f553b(0xaa)])return;const _0x121624=(_0x3cbb2c=this[_0x2f553b(0xed)][_0x2f553b(0x2cf)](_0x20769f['SheetsSelectionsService'])[_0x2f553b(0xb2)]())==null?void 0x0:_0x3cbb2c[0x0],_0x30b85f=this['_univerInstanceService'][_0x2f553b(0x96)](_0x40cffd[_0x2f553b(0x301)][_0x2f553b(0x10c)])[_0x2f553b(0xeb)]();_0x121624&&_0x30b85f&&this['_updateLocalCursor'](_0x30b85f[_0x2f553b(0x29e)](),_0x121624);}[_0x30a38d(0x169)](){const _0x5c23fd=_0x30a38d;this[_0x5c23fd(0x15e)]=!0x1;}};_0x4f1f12=_0x48104a([_0x5eb8c3(0x2,_0x40cffd[_0x30a38d(0x243)](_0x40cffd['Injector'])),_0x5eb8c3(0x3,_0x40cffd[_0x30a38d(0x243)](_0x3070d8)),_0x5eb8c3(0x4,_0x40cffd[_0x30a38d(0x243)](_0x381b64['MemberService'])),_0x5eb8c3(0x5,_0x40cffd[_0x30a38d(0x200)]),_0x5eb8c3(0x6,_0x40cffd['ICommandService']),_0x5eb8c3(0x7,_0x40cffd[_0x30a38d(0x243)](_0x20769f[_0x30a38d(0xb1)]))],_0x4f1f12);var _0x572841=Object['getOwnPropertyDescriptor'],_0x102a60=(_0x3b64fe,_0x115e91,_0x561914,_0x231f0e)=>{const _0x2da967=_0x30a38d;for(var _0x1bc969=_0x231f0e>0x1?void 0x0:_0x231f0e?_0x572841(_0x115e91,_0x561914):_0x115e91,_0x18d7f1=_0x3b64fe[_0x2da967(0x2bc)]-0x1,_0x139bae;_0x18d7f1>=0x0;_0x18d7f1--)(_0x139bae=_0x3b64fe[_0x18d7f1])&&(_0x1bc969=_0x139bae(_0x1bc969)||_0x1bc969);return _0x1bc969;},_0x2c99dd=(_0x581d58,_0x2fa3d2)=>(_0x2f0b07,_0x319987)=>_0x2fa3d2(_0x2f0b07,_0x319987,_0x581d58);let _0xb8038=class extends _0x40cffd[_0x30a38d(0x141)]{constructor(_0x2eb9d2,_0xc9dcef,_0x409560){const _0x4da1a0=_0x30a38d;super(),_0x2f0bfd(this,_0x4da1a0(0x247),new Map()),_0x2f0bfd(this,_0x4da1a0(0xfb),new _0x54e142['Subject']()),(this['_univerInstanceService']=_0x2eb9d2,this[_0x4da1a0(0xed)]=_0xc9dcef,this[_0x4da1a0(0x7f)]=_0x409560,this[_0x4da1a0(0x17f)]());}[_0x30a38d(0x266)](){const _0x50bdc6=_0x30a38d;super[_0x50bdc6(0x266)](),this[_0x50bdc6(0xfb)][_0x50bdc6(0x180)](),this[_0x50bdc6(0x247)][_0x50bdc6(0x280)](_0x5d1cd3=>_0x5d1cd3[_0x50bdc6(0x266)]());}[_0x30a38d(0x2bd)](_0x119394){const _0x5a6624=_0x30a38d;return this['_entities']['has'](_0x119394)?this['_entities'][_0x5a6624(0x2cf)](_0x119394)[_0x5a6624(0x300)]:this[_0x5a6624(0xfb)][_0x5a6624(0x7e)](_0x54e142[_0x5a6624(0x140)](_0x29c0e8=>_0x29c0e8['unitID']===_0x119394),_0x54e142['switchMap'](_0x1a14f5=>_0x1a14f5['cursorInfo$']));}[_0x30a38d(0x17f)](){const _0x57b7e0=_0x30a38d;this[_0x57b7e0(0x289)]['getTypeOfUnitAdded$'](_0x40cffd[_0x57b7e0(0x301)][_0x57b7e0(0x10c)])[_0x57b7e0(0x7e)](_0x54e142[_0x57b7e0(0x1eb)](this[_0x57b7e0(0x192)]))[_0x57b7e0(0x204)](async _0x381c9a=>{const _0xc38ec9=_0x57b7e0,_0x52dfac=_0x381c9a[_0xc38ec9(0x19b)](),_0x3f4142=await this['_startSheetCollabCursor'](_0x52dfac);this['_entityInit$']['next'](_0x3f4142),this[_0xc38ec9(0x247)][_0xc38ec9(0x273)](_0x52dfac,_0x3f4142);}),this[_0x57b7e0(0x289)]['getTypeOfUnitAdded$'](_0x40cffd[_0x57b7e0(0x301)][_0x57b7e0(0x7a)])[_0x57b7e0(0x7e)](_0x54e142['takeUntil'](this[_0x57b7e0(0x192)]))['pipe'](_0x54e142[_0x57b7e0(0x140)](_0x199207=>!_0x199207[_0x57b7e0(0x19b)]()[_0x57b7e0(0xbc)]('__')))['subscribe'](async _0x5857db=>{const _0x391bb7=_0x57b7e0,_0x1dd6bb=_0x5857db[_0x391bb7(0x19b)](),_0x19bdd6=await this['_startDocCollabCursor'](_0x1dd6bb);this[_0x391bb7(0xfb)][_0x391bb7(0x162)](_0x19bdd6),this[_0x391bb7(0x247)]['set'](_0x1dd6bb,_0x19bdd6);}),_0x54e142[_0x57b7e0(0x193)](this[_0x57b7e0(0x289)]['getTypeOfUnitDisposed$'](_0x40cffd[_0x57b7e0(0x301)]['UNIVER_DOC']),this['_univerInstanceService'][_0x57b7e0(0x1f9)](_0x40cffd[_0x57b7e0(0x301)][_0x57b7e0(0x10c)]))[_0x57b7e0(0x7e)](_0x54e142[_0x57b7e0(0x1eb)](this[_0x57b7e0(0x192)]))[_0x57b7e0(0x204)](_0x577c1d=>{const _0xfe9756=_0x57b7e0,_0x188be8=_0x577c1d['getUnitId'](),_0x4df40c=this[_0xfe9756(0x247)][_0xfe9756(0x2cf)](_0x188be8);_0x4df40c&&(_0x4df40c['dispose'](),this[_0xfe9756(0x247)]['delete'](_0x188be8));});}async[_0x30a38d(0x147)](_0x40a522){const _0x5b808b=_0x30a38d,_0x31cf0b=await this[_0x5b808b(0x7f)][_0x5b808b(0x2f3)](_0x40a522),_0x2b2159=this['_injector'][_0x5b808b(0x231)](_0x4f1f12,_0x40a522,_0x31cf0b);return _0x2b2159[_0x5b808b(0x11e)](),_0x2b2159;}async[_0x30a38d(0x1af)](_0x1c9421){const _0x3a3fc9=_0x30a38d,_0x315c64=await this['_collabSessionService']['requireSession'](_0x1c9421),_0x39fb47=this[_0x3a3fc9(0xed)]['createInstance'](_0x58341d,_0x1c9421,_0x315c64);return _0x39fb47[_0x3a3fc9(0x11e)](),_0x39fb47;}};_0xb8038=_0x102a60([_0x2c99dd(0x0,_0x40cffd['IUniverInstanceService']),_0x2c99dd(0x1,_0x40cffd['Inject'](_0x40cffd[_0x30a38d(0x1ec)])),_0x2c99dd(0x2,_0x40cffd[_0x30a38d(0x243)](_0x381b64['CollaborationSessionService']))],_0xb8038);const _0x185196=0x14,_0x2400a8=0xc8,_0x27475e=0x4,_0x483539=0x5;function _0x281cfa(_0x54e28d,_0x5a5532){const _0x3b63ff=_0x30a38d;let {radius:_0x8e7c6f,width:_0x161093,height:_0x586045}=_0x5a5532;_0x8e7c6f=_0x8e7c6f!=null?_0x8e7c6f:0x0,_0x161093=_0x161093!=null?_0x161093:0x1e,_0x586045=_0x586045!=null?_0x586045:0x1e;let _0x5dff3d=0x0,_0x5ab33f=0x0,_0x1e1aaa=0x0;_0x5dff3d=_0x5ab33f=_0x1e1aaa=Math[_0x3b63ff(0x24d)](_0x8e7c6f,_0x161093/0x2,_0x586045/0x2),_0x54e28d[_0x3b63ff(0x13c)](),_0x54e28d[_0x3b63ff(0x1a5)](_0x5dff3d,0x0),_0x54e28d[_0x3b63ff(0x2c2)](_0x161093-_0x5ab33f,0x0),_0x54e28d['arc'](_0x161093-_0x5ab33f,_0x5ab33f,_0x5ab33f,Math['PI']*0x3/0x2,0x0,!0x1),_0x54e28d[_0x3b63ff(0x2c2)](_0x161093,_0x586045-_0x1e1aaa),_0x54e28d['arc'](_0x161093-_0x1e1aaa,_0x586045-_0x1e1aaa,_0x1e1aaa,0x0,Math['PI']/0x2,!0x1),_0x54e28d[_0x3b63ff(0x2c2)](0x0,_0x586045),_0x54e28d['lineTo'](0x0,_0x5dff3d),_0x54e28d[_0x3b63ff(0x119)](_0x5dff3d,_0x5dff3d,_0x5dff3d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x54e28d[_0x3b63ff(0x168)](),_0x5a5532[_0x3b63ff(0x296)]&&(_0x54e28d['save'](),_0x54e28d[_0x3b63ff(0xb0)]=_0x5a5532['fill'],_0x5a5532[_0x3b63ff(0x2de)]===_0x3b63ff(0x2da)?_0x54e28d[_0x3b63ff(0x296)](_0x3b63ff(0x2da)):_0x54e28d[_0x3b63ff(0x296)](),_0x54e28d['restore']());}class _0x4c8a0e extends _0x1959b6[_0x30a38d(0x97)]{constructor(_0x1687dc,_0x6727e1){const _0x15db81=_0x30a38d;super(_0x1687dc,_0x6727e1),_0x2f0bfd(this,_0x15db81(0xc7)),_0x2f0bfd(this,_0x15db81(0x302)),(this[_0x15db81(0xc7)]=_0x6727e1==null?void 0x0:_0x6727e1[_0x15db81(0xc7)],this[_0x15db81(0x302)]=_0x6727e1==null?void 0x0:_0x6727e1[_0x15db81(0x302)]);}static[_0x30a38d(0x20a)](_0x3f8a1d,_0x57dc9b){const _0x47b214=_0x30a38d,{text:_0x3fe86f,color:_0x24e049}=_0x57dc9b;_0x3f8a1d['save'](),_0x3f8a1d[_0x47b214(0x307)]=_0x47b214(0x1c5);const _0x729907=_0x3f8a1d[_0x47b214(0x9a)](_0x3fe86f)[_0x47b214(0xe9)],_0x203deb=Math[_0x47b214(0x24d)](_0x729907+0x2*_0x27475e,_0x2400a8);_0x281cfa(_0x3f8a1d,{'height':_0x185196,'radius':0x4,'width':_0x203deb,'fill':_0x24e049}),_0x3f8a1d[_0x47b214(0xb0)]=_0x47b214(0x175);const _0x5d8ead=_0x27475e,_0x30f5b0=_0x185196-_0x483539,_0x3da812=_0x2400a8-0x2*_0x27475e;if(_0x729907>_0x3da812){let _0x4fa7ee='',_0x239859=0x0;for(const _0x15d730 of _0x3fe86f){const _0x2a8739=_0x3f8a1d[_0x47b214(0x9a)](_0x15d730)[_0x47b214(0xe9)];if(_0x239859+_0x2a8739<=_0x3da812-_0x3f8a1d[_0x47b214(0x9a)](_0x47b214(0x254))[_0x47b214(0xe9)])_0x4fa7ee+=_0x15d730,_0x239859+=_0x2a8739;else{_0x4fa7ee+=_0x47b214(0x254);break;}}_0x3f8a1d[_0x47b214(0x286)](_0x4fa7ee,_0x5d8ead,_0x30f5b0);}else _0x3f8a1d[_0x47b214(0x286)](_0x3fe86f,_0x5d8ead,_0x30f5b0);_0x3f8a1d[_0x47b214(0x132)]();}['_draw'](_0x26a4d3){const _0x6b49a2=_0x30a38d;_0x4c8a0e[_0x6b49a2(0x20a)](_0x26a4d3,this);}}const _0xab1c0e='collab-text-anchor-',_0x756849=_0x30a38d(0x17a),_0xffb7bd=_0x30a38d(0x90),_0x16a733=0x6,_0x16d9aa=1.5,_0x383f64=0x4,_0x55da02=1.5,_0x1369cc=_0x30a38d(0x268);class _0x1ec17d{constructor(_0x190661,_0x22c4d6,_0x1a639d,_0x3e20f1){const _0x3a727c=_0x30a38d;_0x2f0bfd(this,_0x3a727c(0xd6),[]),_0x2f0bfd(this,_0x3a727c(0x187),null),_0x2f0bfd(this,_0x3a727c(0x24e),null),_0x2f0bfd(this,'_anchorDot',null),_0x2f0bfd(this,'_hideTimer',null),_0x2f0bfd(this,'_eventUnsubscribe',null),(this[_0x3a727c(0x15f)]=_0x190661,this[_0x3a727c(0x1d0)]=_0x22c4d6,this[_0x3a727c(0x2b8)]=_0x1a639d,this[_0x3a727c(0x303)]=_0x3e20f1,this[_0x3a727c(0x246)]());}set['_hover'](_0x1035d1){const _0x53b14c=_0x30a38d;_0x1035d1?(this[_0x53b14c(0x2be)]&&this['_anchorDot'][_0x53b14c(0x195)](),this[_0x53b14c(0x24e)]&&this[_0x53b14c(0x24e)][_0x53b14c(0x20e)]()):(this[_0x53b14c(0x2be)]&&this[_0x53b14c(0x2be)][_0x53b14c(0x20e)](),this[_0x53b14c(0x24e)]&&this[_0x53b14c(0x24e)][_0x53b14c(0x195)]());}[_0x30a38d(0x266)](){const _0x3931c1=_0x30a38d;for(const _0x3200a6 of this[_0x3931c1(0xd6)])_0x3200a6[_0x3931c1(0x266)]();this[_0x3931c1(0x24e)]&&this[_0x3931c1(0x24e)][_0x3931c1(0x266)](),this[_0x3931c1(0x2be)]&&this[_0x3931c1(0x2be)][_0x3931c1(0x266)](),this[_0x3931c1(0x187)]&&this[_0x3931c1(0x187)]['dispose'](),this[_0x3931c1(0x287)]&&this['_eventUnsubscribe']();}['_render'](){const _0x4d24f3=_0x30a38d;var _0x5b4784;const {_docSkeleton:_0x1a7674,_document:_0x53afa4}=this,{color:_0x2378b4,name:_0x59b88e,ranges:_0x565908}=this['_cursor'],_0x52d0fb=_0x53afa4['getOffsetConfig'](),{docsLeft:_0xb2f6ee,docsTop:_0x2f7c9f}=_0x52d0fb,_0x3737ac=new _0x2d3f57[(_0x4d24f3(0x142))](_0x52d0fb,_0x1a7674);for(const {startOffset:_0x2c7b7a,endOffset:_0x584b4c,rangeType:_0x39ef5b,segmentId:_0x394129,segmentPage:_0x122fc7,collapsed:_0x15734f,isActive:_0x16a9bd}of _0x565908){const _0x11c837=_0x1a7674[_0x4d24f3(0x1f2)](_0x2c7b7a,!0x0,_0x394129,_0x122fc7);let _0x193e92=_0x1a7674['findNodePositionByCharIndex'](_0x584b4c,!0x0,_0x394129,_0x122fc7);if(_0x193e92==null&&(_0x193e92=_0x1a7674[_0x4d24f3(0x1f2)](_0x584b4c-0x1,!0x1,_0x394129,_0x122fc7)),_0x16a9bd){const {contentBoxPointGroup:_0x4620ab}=_0x3737ac[_0x4d24f3(0x241)](_0x193e92,_0x193e92);if(_0x4620ab[_0x4d24f3(0x2bc)]===0x0)continue;this['_drawAnchor'](_0x2378b4,_0x4620ab,_0xb2f6ee,_0x2f7c9f,_0x59b88e),this[_0x4d24f3(0x287)]=this['_handleHover']();}if(_0x11c837&&_0x193e92){if(_0x39ef5b===_0x40cffd[_0x4d24f3(0x16d)]['RECT']){const _0x229aad=new _0x2d3f57['NodePositionConvertToRectRange'](_0x52d0fb,_0x1a7674),{pointGroup:_0x41d851}=(_0x5b4784=_0x229aad[_0x4d24f3(0x241)](_0x11c837,_0x193e92))!=null?_0x5b4784:{};if(_0x41d851==null||_0x41d851['length']===0x0)continue;this[_0x4d24f3(0x115)](_0x2378b4,_0x41d851,_0xb2f6ee,_0x2f7c9f);}else{if(!_0x15734f){const {borderBoxPointGroup:_0x440d9e}=_0x3737ac[_0x4d24f3(0x241)](_0x11c837,_0x193e92);if(_0x440d9e[_0x4d24f3(0x2bc)]===0x0)continue;this[_0x4d24f3(0x211)](_0x2378b4,_0x440d9e,_0xb2f6ee,_0x2f7c9f);}}}}}[_0x30a38d(0x2dd)](_0x4ca4bb,_0x539e0b,_0x1cc286,_0x442bc5,_0x59f1ac){const _0x4a28a6=_0x30a38d,_0x515473=this[_0x4a28a6(0x221)](_0x539e0b),{left:_0x4202e3,top:_0x26d014,height:_0x5926e8}=_0x515473,_0x434ff4=this['_getScale'](),_0x1e1ce8=_0x55da02/_0x434ff4,_0x3c5d62=new _0x1959b6[(_0x4a28a6(0x16f))](_0xab1c0e+_0x40cffd[_0x4a28a6(0x1d7)](_0x16a733),{'left':_0x4202e3+_0x1cc286-_0x1e1ce8,'top':_0x26d014+_0x442bc5,'height':_0x5926e8,'width':_0x16d9aa,'fill':_0x4ca4bb||_0x1959b6['getColor'](_0x40cffd[_0x4a28a6(0x24c)][_0x4a28a6(0x166)],0x0),'strokeWidth':_0x1e1ce8,'stroke':_0x1369cc,'evented':!0x0});this[_0x4a28a6(0x187)]=_0x3c5d62,this[_0x4a28a6(0x1d0)]['addObject'](_0x3c5d62,_0x2d3f57[_0x4a28a6(0xe7)]);const _0x3d4945=new _0x1959b6['Rect'](_0xab1c0e+_0x40cffd['generateRandomId'](_0x16a733),{'left':_0x4202e3+_0x1cc286-_0x1e1ce8,'top':_0x26d014+_0x442bc5-_0x383f64/0x2,'height':_0x383f64,'width':_0x383f64,'fill':_0x4ca4bb||_0x1959b6[_0x4a28a6(0x113)](_0x40cffd['COLORS'][_0x4a28a6(0x166)],0x0),'strokeWidth':0x0,'stroke':_0x4ca4bb||_0x1959b6[_0x4a28a6(0x113)](_0x40cffd[_0x4a28a6(0x24c)][_0x4a28a6(0x166)],0x0),'evented':!0x1});this[_0x4a28a6(0x2be)]=_0x3d4945,this[_0x4a28a6(0x1d0)][_0x4a28a6(0x29c)](_0x3d4945,_0x2d3f57[_0x4a28a6(0xe7)]);const _0x2bfd40=new _0x4c8a0e(_0xab1c0e+_0x40cffd[_0x4a28a6(0x1d7)](_0x16a733),{'left':_0x4202e3+_0x1cc286-_0x1e1ce8,'top':_0x26d014+_0x442bc5-_0x185196,'text':_0x59f1ac,'color':_0x4ca4bb});this[_0x4a28a6(0x24e)]=_0x2bfd40,this[_0x4a28a6(0x1d0)]['addObject'](_0x2bfd40,_0x2d3f57[_0x4a28a6(0xe7)]),this['_hover']=!0x1;}[_0x30a38d(0x283)](){const _0x21e60b=_0x30a38d,_0x43b824=this[_0x21e60b(0x187)]['onPointerEnter$'][_0x21e60b(0x29f)](()=>{const _0x585ee9=_0x21e60b;this[_0x585ee9(0x1ad)]=!0x0;}),_0x3216e1=this[_0x21e60b(0x187)][_0x21e60b(0x15c)][_0x21e60b(0x29f)](()=>{const _0x2f50b3=_0x21e60b;this[_0x2f50b3(0x104)]&&clearTimeout(this[_0x2f50b3(0x104)]),this[_0x2f50b3(0x104)]=setTimeout(()=>{const _0x24854e=_0x2f50b3;this[_0x24854e(0x1ad)]=!0x1;},0x7d0);});return()=>{const _0x5f186d=_0x21e60b;_0x43b824[_0x5f186d(0x1f4)](),_0x3216e1[_0x5f186d(0x1f4)]();};}[_0x30a38d(0x211)](_0x3a625e,_0x19b56b,_0x3d1f72,_0x5a21ec){const _0x27f644=_0x30a38d,_0x446a98=new _0x40cffd[(_0x27f644(0x1f5))](_0x3a625e)[_0x27f644(0x114)](0.2)[_0x27f644(0x1df)](),_0x32ae85=new _0x1959b6[(_0x27f644(0x25f))](_0x756849+_0x40cffd[_0x27f644(0x1d7)](_0x16a733),{'pointsGroup':_0x19b56b,'fill':_0x446a98||_0x1959b6[_0x27f644(0x113)](_0x40cffd[_0x27f644(0x24c)]['black'],0.2),'left':_0x3d1f72,'top':_0x5a21ec,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x27f644(0xd6)][_0x27f644(0x81)](_0x32ae85),this['_scene'][_0x27f644(0x29c)](_0x32ae85,_0x2d3f57[_0x27f644(0xe7)]);}['_drawRectRange'](_0xecfc2b,_0x35ea82,_0x55bf70,_0x2eed3f){const _0x4fadf7=_0x30a38d,_0x43365d=new _0x40cffd[(_0x4fadf7(0x1f5))](_0xecfc2b)[_0x4fadf7(0x114)](0.2)[_0x4fadf7(0x1df)](),_0x339171=new _0x1959b6[(_0x4fadf7(0x25f))](_0xffb7bd+_0x40cffd[_0x4fadf7(0x1d7)](_0x16a733),{'pointsGroup':_0x35ea82,'fill':_0x43365d||_0x1959b6[_0x4fadf7(0x113)](_0x40cffd['COLORS'][_0x4fadf7(0x166)],0.2),'left':_0x55bf70,'top':_0x2eed3f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4fadf7(0xd6)]['push'](_0x339171),this[_0x4fadf7(0x1d0)]['addObject'](_0x339171,_0x2d3f57['TEXT_RANGE_LAYER_INDEX']);}[_0x30a38d(0x221)](_0x43da78){const _0x19b713=_0x43da78[0x0],_0xfe21ce=_0x19b713[0x0],_0x58a989=_0x19b713[0x2],{x:_0xa13117,y:_0x2b1652}=_0xfe21ce,{x:_0x1d49fc,y:_0x5a45df}=_0x58a989;return{'left':_0xa13117,'top':_0x2b1652,'width':_0x1d49fc-_0xa13117,'height':_0x5a45df-_0x2b1652};}['_getScale'](){const _0x11e22c=_0x30a38d,{scaleX:_0x1b0fe9,scaleY:_0x475ee3}=this[_0x11e22c(0x1d0)]['getAncestorScale']();return Math[_0x11e22c(0x2c1)](_0x1b0fe9,_0x475ee3);}}var _0x3d4c0e=Object[_0x30a38d(0x185)],_0x35faf7=(_0x543058,_0x10816e,_0x34ac6a,_0x5b016c)=>{const _0x52cc1f=_0x30a38d;for(var _0x500ea5=_0x5b016c>0x1?void 0x0:_0x5b016c?_0x3d4c0e(_0x10816e,_0x34ac6a):_0x10816e,_0x19cabd=_0x543058[_0x52cc1f(0x2bc)]-0x1,_0x282105;_0x19cabd>=0x0;_0x19cabd--)(_0x282105=_0x543058[_0x19cabd])&&(_0x500ea5=_0x282105(_0x500ea5)||_0x500ea5);return _0x500ea5;},_0x364bd9=(_0x31ea81,_0x2c57e4)=>(_0x380f31,_0x129b88)=>_0x2c57e4(_0x380f31,_0x129b88,_0x31ea81);let _0x51e236=class extends _0x40cffd['RxDisposable']{constructor(_0x2ee5,_0xf050a9,_0x360616,_0x35730d,_0x2a0e36){const _0x325627=_0x30a38d;super(),_0x2f0bfd(this,'_cursorShapes',[]),_0x2f0bfd(this,_0x325627(0x218),[]),(this[_0x325627(0x2ba)]=_0x2ee5,this['_docSkeletonManagerService']=_0xf050a9,this[_0x325627(0x265)]=_0x360616,this['_commandService']=_0x35730d,this[_0x325627(0x1bd)]=_0x2a0e36,this['_init']());}[_0x30a38d(0x17f)](){const _0x53bcaa=_0x30a38d,_0x30ce02=this[_0x53bcaa(0x2ba)]['unitId'],_0x2e95a4=this['_docSkeletonManagerService'];this[_0x53bcaa(0x1ce)](_0x54e142[_0x53bcaa(0x1e5)]([this[_0x53bcaa(0x265)][_0x53bcaa(0x2bd)](_0x30ce02),this[_0x53bcaa(0x1bd)][_0x53bcaa(0x80)]])['pipe'](_0x2d50e0['map'](([_0x5362b6,_0x5afa5f])=>({'skeleton':_0x2e95a4[_0x53bcaa(0x109)](),'cursors':[..._0x5362b6[_0x53bcaa(0x2a2)]()]['flatMap'](_0x4d837e=>({..._0x4d837e,'color':this[_0x53bcaa(0x1bd)][_0x53bcaa(0xb5)](_0x4d837e[_0x53bcaa(0xc7)])}))})))[_0x53bcaa(0x204)](_0x4cbe31=>{if(this['_removeCollabCursors'](),_0x4cbe31){const {skeleton:_0x10fb05,cursors:_0x50220d}=_0x4cbe31;this['_updateCollabCursors'](_0x10fb05,_0x50220d);}})),this[_0x53bcaa(0xf4)](),this[_0x53bcaa(0x239)]();}[_0x30a38d(0x1e0)](_0x74a17c,_0x50f598){const _0x3a9d44=_0x30a38d,{scene:_0x3662c8,mainComponent:_0x51b5be}=this[_0x3a9d44(0x2ba)],_0x16cbf9=_0x50f598[_0x3a9d44(0x295)](_0x1cd627=>new _0x1ec17d(_0x1cd627,_0x3662c8,_0x74a17c,_0x51b5be));this[_0x3a9d44(0xd1)]=_0x16cbf9,this[_0x3a9d44(0x218)]=_0x50f598;}['_refreshCollabCursors'](){const _0x4cc225=_0x30a38d;this[_0x4cc225(0x1fe)]();const {scene:_0x253440,mainComponent:_0x51cb30}=this[_0x4cc225(0x2ba)],_0x1b367a=this[_0x4cc225(0xc2)][_0x4cc225(0x109)](),_0x3da597=this[_0x4cc225(0x218)][_0x4cc225(0x295)](_0x2b327b=>new _0x1ec17d(_0x2b327b,_0x253440,_0x1b367a,_0x51cb30));this[_0x4cc225(0xd1)]=_0x3da597;}[_0x30a38d(0x1fe)](){const _0x132af8=_0x30a38d;this[_0x132af8(0xd1)][_0x132af8(0x280)](_0xa656aa=>_0xa656aa['dispose']()),this[_0x132af8(0xd1)]=[];}['_initCommandExecutedListener'](){const _0x111b86=_0x30a38d,_0x2ef75c=[_0x2d3f57[_0x111b86(0x1a3)]['id']];this['disposeWithMe'](this[_0x111b86(0x2a9)][_0x111b86(0x1a0)](_0x3f5979=>{const _0x5b0cd9=_0x111b86;_0x2ef75c[_0x5b0cd9(0x1e8)](_0x3f5979['id'])&&_0x3f5979[_0x5b0cd9(0xec)][_0x5b0cd9(0x2e6)]===this['_context']['unitId']&&this[_0x5b0cd9(0xa5)]();}));}['_initResize'](){const _0x878ff6=_0x30a38d;this['disposeWithMe'](_0x40cffd[_0x878ff6(0x6f)](this['_context']['engine'][_0x878ff6(0x196)])[_0x878ff6(0x7e)](_0x2d50e0[_0x878ff6(0x140)](_0x2d492f=>_0x2d492f[_0x878ff6(0x152)]===_0x1959b6[_0x878ff6(0x8d)][_0x878ff6(0x1a8)]),_0x2d50e0['throttleTime'](0x10))[_0x878ff6(0x204)](()=>{const _0x35983b=_0x878ff6;this[_0x35983b(0xa5)]();}));}};_0x51e236=_0x35faf7([_0x364bd9(0x1,_0x40cffd[_0x30a38d(0x243)](_0x3bcff7[_0x30a38d(0x281)])),_0x364bd9(0x2,_0x40cffd[_0x30a38d(0x243)](_0xb8038)),_0x364bd9(0x3,_0x40cffd[_0x30a38d(0x263)]),_0x364bd9(0x4,_0x40cffd['Inject'](_0x40cffd['ThemeService']))],_0x51e236);const _0x43057a=0x1,_0x38e44d=1.5;class _0x49abc9 extends _0x1959b6['Shape']{constructor(_0x54ae30,_0x373112){const _0x37aaf7=_0x30a38d;super(_0x54ae30,_0x373112),_0x2f0bfd(this,_0x37aaf7(0x139)),_0x2f0bfd(this,_0x37aaf7(0x2e4),!0x1),_0x2f0bfd(this,_0x37aaf7(0x2cc)),_0x2f0bfd(this,_0x37aaf7(0x269),''),_0x2f0bfd(this,_0x37aaf7(0x253),_0x37aaf7(0x1ab)),_0x2f0bfd(this,_0x37aaf7(0x267)),(_0x373112&&this['setShapeProps'](_0x373112),this['onPointerEnter$'][_0x37aaf7(0x29f)](()=>this[_0x37aaf7(0x2e7)]({'hovered':!0x0})),this[_0x37aaf7(0x15c)][_0x37aaf7(0x29f)](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x4d168f){const _0x493af0=_0x30a38d;var _0x2ae56a,_0xa5b70a,_0x3a64c6,_0x47ff4f,_0x327841,_0x216fef;this[_0x493af0(0x139)]=(_0x2ae56a=_0x4d168f['color'])!=null?_0x2ae56a:this['_color'],this[_0x493af0(0x2e4)]=(_0xa5b70a=_0x4d168f[_0x493af0(0xad)])!=null?_0xa5b70a:this[_0x493af0(0x2e4)],this[_0x493af0(0x2cc)]=(_0x3a64c6=_0x4d168f[_0x493af0(0x279)])!=null?_0x3a64c6:this[_0x493af0(0x2cc)],this[_0x493af0(0x269)]=(_0x47ff4f=_0x4d168f[_0x493af0(0x174)])!=null?_0x47ff4f:this['_name'],this[_0x493af0(0x253)]=(_0x327841=_0x4d168f[_0x493af0(0x157)])!=null?_0x327841:this[_0x493af0(0x253)],this['_backgroundColor']=(_0x216fef=_0x4d168f[_0x493af0(0x2a8)])!=null?_0x216fef:this['_backgroundColor'],this[_0x493af0(0x2df)]({'width':_0x4d168f[_0x493af0(0xe9)],'height':_0x4d168f[_0x493af0(0x1a4)]});}[_0x30a38d(0x1f3)](_0x3230d6){const _0x13ac15=_0x30a38d,{row:_0x1565e3,column:_0x10c03e}=_0x3230d6;if(_0x1565e3>=this['_range'][_0x13ac15(0x1b9)]&&_0x1565e3<=this[_0x13ac15(0x2cc)]['endRow']&&_0x10c03e>=this[_0x13ac15(0x2cc)][_0x13ac15(0x108)]&&_0x10c03e<=this['_range'][_0x13ac15(0x225)]){this[_0x13ac15(0x2e7)]({'hovered':!0x0});return;}this[_0x13ac15(0x2e7)]({'hovered':!0x1});}['triggerDblclick'](_0x41b523){return!0x1;}['_draw'](_0x4bf652){const _0x12e077=_0x30a38d;_0x1959b6['Rect'][_0x12e077(0x20a)](_0x4bf652,{'width':this[_0x12e077(0xe9)],'height':this['height'],'strokeWidth':_0x38e44d,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x12e077(0x267)]}),this[_0x12e077(0x2e4)]&&(_0x4bf652['save'](),_0x4bf652[_0x12e077(0x148)](0x1,0x0,0x0,0x1,this[_0x12e077(0xe9)],this[_0x12e077(0x253)]===_0x12e077(0xa3)?0x0:-_0x185196),_0x4c8a0e[_0x12e077(0x20a)](_0x4bf652,{'text':this['_name'],'color':this[_0x12e077(0x139)]}),_0x4bf652[_0x12e077(0x132)]());}}var _0x67abdb=Object[_0x30a38d(0x185)],_0x198ee9=(_0x4e4a4c,_0x1a6d51,_0x1b09d3,_0x100918)=>{const _0x14a1e8=_0x30a38d;for(var _0x257901=_0x100918>0x1?void 0x0:_0x100918?_0x67abdb(_0x1a6d51,_0x1b09d3):_0x1a6d51,_0x206fd2=_0x4e4a4c[_0x14a1e8(0x2bc)]-0x1,_0x3e7f96;_0x206fd2>=0x0;_0x206fd2--)(_0x3e7f96=_0x4e4a4c[_0x206fd2])&&(_0x257901=_0x3e7f96(_0x257901)||_0x257901);return _0x257901;},_0x85c45=(_0x47aa7e,_0x33035c)=>(_0x135534,_0x5e6a16)=>_0x33035c(_0x135534,_0x5e6a16,_0x47aa7e);const _0x33e8da=0x1389;let _0x3640b4=class extends _0x40cffd[_0x30a38d(0x141)]{constructor(_0x5234d7,_0x204825,_0x2db265,_0xf9e425){const _0x3e008b=_0x30a38d;super(),_0x2f0bfd(this,_0x3e008b(0x218),new Set()),_0x2f0bfd(this,'_lastPointer',null),(this['_context']=_0x5234d7,this[_0x3e008b(0xf6)]=_0x204825,this['_collabCursorController']=_0x2db265,this[_0x3e008b(0x1bd)]=_0xf9e425,this['_init']());}[_0x30a38d(0x17f)](){const _0xc06c55=_0x30a38d;this[_0xc06c55(0xf6)][_0xc06c55(0x74)][_0xc06c55(0x7e)](_0x2d50e0['takeUntil'](this['dispose$']),_0x2d50e0[_0xc06c55(0x199)](_0x443e6a=>{const _0x33a339=_0xc06c55;if(_0x443e6a){const _0xafb38c=_0x443e6a[_0x33a339(0x202)];return _0x54e142['combineLatest'](this[_0x33a339(0x265)]['getCollabCursors$'](this[_0x33a339(0x2ba)][_0x33a339(0x2e6)]),this['_themeService'][_0x33a339(0x80)])[_0x33a339(0x7e)](_0x2d50e0[_0x33a339(0x295)](([_0x10d729,_0x1d76d0])=>{const _0x28f26f=_0x33a339,_0x1b7761=new Map();return _0x10d729[_0x28f26f(0x280)]((_0x3b06d3,_0x58355d)=>{const _0x517202=_0x28f26f;if(_0x3b06d3[_0x517202(0xe3)]===_0xafb38c){const _0x3c7a25={..._0x3b06d3};_0x3c7a25['color']=this[_0x517202(0x1bd)][_0x517202(0xb5)](_0x3b06d3[_0x517202(0xc7)]),_0x1b7761[_0x517202(0x273)](_0x58355d,_0x3c7a25);}}),{'skeleton':_0x443e6a,'cursors':_0x1b7761};}));}return _0x54e142['of']({'skeleton':null,'cursors':new Map()});}))[_0xc06c55(0x204)](({skeleton:_0x4ac93c,cursors:_0x2113aa})=>{const _0x4b86b7=_0xc06c55;this[_0x4b86b7(0x1fe)](),_0x4ac93c&&this[_0x4b86b7(0x1e0)](_0x4ac93c,_0x2113aa);}),this[_0xc06c55(0xf6)][_0xc06c55(0x74)][_0xc06c55(0x204)](_0x5e972c=>{const _0x176c69=_0xc06c55;if(_0x5e972c==null)return;const {skeleton:_0x2c18cd}=_0x5e972c,{scene:_0x44fc4b}=this['_context'];_0x44fc4b[_0x176c69(0x1dc)][_0x176c69(0x29f)](_0x40cffd[_0x176c69(0x2e2)](_0xdd20d2=>{const _0x26d232=_0x176c69;var _0x27cfd3,_0x51507b;const {offsetX:_0x1943c9,offsetY:_0x56e8c1}=_0xdd20d2,{x:_0x40e0dd,y:_0x58b0d6}=_0x44fc4b[_0x26d232(0x183)](_0x1959b6['Vector2']['FromArray']([_0x1943c9,_0x56e8c1])),{scaleX:_0x1c9e84,scaleY:_0x1fac80}=_0x44fc4b[_0x26d232(0x138)](),_0x10fff4=_0x44fc4b['getViewport'](_0x1959b6[_0x26d232(0xea)][_0x26d232(0xf0)]),_0x2bcf7b=_0x44fc4b['getVpScrollXYInfoByPosToVp'](_0x1959b6[_0x26d232(0x1fd)][_0x26d232(0x191)]([_0x40e0dd,_0x58b0d6]),_0x10fff4),_0x47f2c1=_0x2c18cd[_0x26d232(0x16a)](_0x1943c9,_0x56e8c1,_0x1c9e84,_0x1fac80,_0x2bcf7b);((_0x27cfd3=this['_lastPointer'])==null?void 0x0:_0x27cfd3['column'])===_0x47f2c1['column']&&((_0x51507b=this[_0x26d232(0x29d)])==null?void 0x0:_0x51507b[_0x26d232(0x21d)])===_0x47f2c1[_0x26d232(0x21d)]||this[_0x26d232(0x218)][_0x26d232(0x280)](_0xce7302=>{const _0x2448ad=_0x26d232;_0xce7302[_0x2448ad(0x1f3)](_0x47f2c1);});},0x64));});}[_0x30a38d(0x1e0)](_0x1531ca,_0x45e456){const _0x384b7a=_0x30a38d;var _0x4c2e53;const _0x3b24e5=(_0x4c2e53=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x4c2e53['skeleton'];if(!_0x3b24e5)return;const _0x781fb2=this[_0x384b7a(0x18d)]();if(!_0x781fb2)return;this[_0x384b7a(0x218)][_0x384b7a(0x280)](_0x206e3a=>{_0x206e3a['makeDirty']();});const {scene:_0x4e3319}=_0x781fb2,_0x40b616=_0xb6ea60(Array[_0x384b7a(0x14b)](_0x45e456[_0x384b7a(0x2a2)]()))[_0x384b7a(0x295)](_0x4e7b22=>{const _0x5d3bb0=_0x384b7a,{color:_0x2f9842,range:_0x3fdd11,name:_0x175937,selection:_0x24cd03,sheetID:_0xbfee97}=_0x4e7b22,{startColumn:_0x3e2af6,startRow:_0x427018,endColumn:_0x115cd1,endRow:_0x2ba64e}=_0x3fdd11,_0x124fa1=_0x3acab1['getCoordByCell'](_0x427018,_0x3e2af6,_0x4e3319,_0x3b24e5),_0x549d5b=_0x3acab1[_0x5d3bb0(0x2c0)](_0x2ba64e,_0x115cd1,_0x4e3319,_0x3b24e5),{columnHeaderHeightAndMarginTop:_0x1ec69c}=_0x3b24e5,{startX:_0x90e804,startY:_0x4009a0}=_0x124fa1,{endX:_0x5b0e27,endY:_0x1a51de}=_0x549d5b,_0x46d703=_0x5b0e27-_0x90e804,_0x4c03d4=_0x1a51de-_0x4009a0,_0x4b1413={'labelPosition':_0x4009a0-_0x1ec69c>=_0x185196?'top':_0x5d3bb0(0xa3),'sheetID':_0xbfee97,'range':_0x3fdd11,'color':_0x2f9842,'name':_0x175937,'selection':_0x24cd03,'left':_0x90e804,'top':_0x4009a0,'width':_0x46d703,'height':_0x4c03d4,'evented':!0x1,'zIndex':_0x33e8da};return new _0x49abc9(_0x175937,_0x4b1413);});_0x4e3319[_0x384b7a(0x16b)](_0x40b616,_0x43057a),this['_cursors']=new Set(_0x40b616);}[_0x30a38d(0x1fe)](){const _0x36d949=_0x30a38d;var _0x321519;(_0x321519=this[_0x36d949(0x218)])==null||_0x321519[_0x36d949(0x280)](_0x51691e=>_0x51691e[_0x36d949(0x266)]());}[_0x30a38d(0x18d)](){const _0x33a1cd=_0x30a38d;return _0x3acab1[_0x33a1cd(0x1c2)](this[_0x33a1cd(0x2ba)][_0x33a1cd(0x76)],this['_context']);}};_0x3640b4=_0x198ee9([_0x85c45(0x1,_0x40cffd[_0x30a38d(0x243)](_0x3acab1[_0x30a38d(0x134)])),_0x85c45(0x2,_0x40cffd['Inject'](_0xb8038)),_0x85c45(0x3,_0x40cffd['Inject'](_0x40cffd[_0x30a38d(0x1fc)]))],_0x3640b4);function _0xb6ea60(_0x251ad7){const _0x9aad2a=_0x30a38d,_0x48099e=new Map();return _0x251ad7[_0x9aad2a(0x280)](_0xcd3c45=>{const _0x164854=_0x9aad2a;if(_0x48099e[_0x164854(0x2ea)](_0xcd3c45[_0x164854(0x1fa)])){const _0xc74ebc=_0x48099e[_0x164854(0x2cf)](_0xcd3c45[_0x164854(0x1fa)]);_0xc74ebc[_0x164854(0x174)]+=',\x20'+_0xcd3c45['name'];}else _0x48099e[_0x164854(0x273)](_0xcd3c45[_0x164854(0x1fa)],_0xcd3c45);}),Array[_0x9aad2a(0x14b)](_0x48099e[_0x9aad2a(0x2a2)]());}var _0x3c3ace=Object['getOwnPropertyDescriptor'],_0x213ac1=(_0x53b444,_0xc3c40c,_0x14bf3f,_0x102ada)=>{for(var _0x4139ca=_0x102ada>0x1?void 0x0:_0x102ada?_0x3c3ace(_0xc3c40c,_0x14bf3f):_0xc3c40c,_0x344490=_0x53b444['length']-0x1,_0xb54947;_0x344490>=0x0;_0x344490--)(_0xb54947=_0x53b444[_0x344490])&&(_0x4139ca=_0xb54947(_0x4139ca)||_0x4139ca);return _0x4139ca;},_0x2c17ba=(_0x291765,_0x3c3b5f)=>(_0x38dd13,_0x22037c)=>_0x3c3b5f(_0x38dd13,_0x22037c,_0x291765);let _0x37771c=class extends _0x40cffd[_0x30a38d(0x2a6)]{constructor(_0x365651,_0xd9c8d5,_0xbdee2f,_0x3484ec,_0x9978c3,_0x2f51cc){const _0x3da8ab=_0x30a38d;super(),this['_beforeCloseService']=_0x365651,this['_localCacheService']=_0xd9c8d5,this[_0x3da8ab(0x1b1)]=_0xbdee2f,this[_0x3da8ab(0xf9)]=_0x3484ec,this[_0x3da8ab(0x8f)]=_0x9978c3,this[_0x3da8ab(0x1f1)]=_0x2f51cc,this[_0x3da8ab(0x177)](),this[_0x3da8ab(0xde)]();}[_0x30a38d(0x177)](){const _0x1419b4=_0x30a38d;this['disposeWithMe'](this['_beforeCloseService'][_0x1419b4(0xe5)](()=>{const _0xb2e5e5=_0x1419b4;if(this[_0xb2e5e5(0x130)][_0xb2e5e5(0x290)]['size'])return this[_0xb2e5e5(0x1f1)]['t'](_0xb2e5e5(0x17e));}));}[_0x30a38d(0xde)](){const _0x87f3e7=_0x30a38d;this[_0x87f3e7(0x1ce)](this[_0x87f3e7(0x1b1)][_0x87f3e7(0x16e)][_0x87f3e7(0x204)](_0x4b6e56=>{const _0x14445a=_0x87f3e7;_0x4b6e56['id']===_0x381b64['CollaborationUIEventId'][_0x14445a(0xa7)]&&this[_0x14445a(0xf9)][_0x14445a(0x20e)]({'type':_0x53251d['MessageType']['Warning'],'content':this[_0x14445a(0x1f1)]['t'](_0x14445a(0x1c1))}),_0x4b6e56['id']===_0x381b64[_0x14445a(0x89)][_0x14445a(0x11a)]&&this['_messageService'][_0x14445a(0x20e)]({'type':_0x53251d['MessageType']['Warning'],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x4b6e56['id']===_0x381b64['CollaborationUIEventId'][_0x14445a(0xc6)]&&this[_0x14445a(0x8f)]['show']({'title':this[_0x14445a(0x1f1)]['t'](_0x14445a(0x2b1)),'content':this[_0x14445a(0x1f1)]['t'](_0x14445a(0x154)),'type':_0x14445a(0x274),'duration':0x0}),_0x4b6e56['id']===_0x381b64['CollaborationUIEventId'][_0x14445a(0x21a)]&&this[_0x14445a(0xf9)][_0x14445a(0x20e)]({'type':_0x53251d['MessageType'][_0x14445a(0x179)],'content':this[_0x14445a(0x1f1)]['t']('collaboration.closeRoom')+'('+_0x4b6e56['data']+')'}),_0x4b6e56['id']===_0x381b64[_0x14445a(0x89)]['JOIN_ROOM_FAILED']&&this[_0x14445a(0xf9)][_0x14445a(0x20e)]({'type':_0x53251d[_0x14445a(0x2ad)][_0x14445a(0x127)],'content':this[_0x14445a(0x1f1)]['t'](_0x4b6e56[_0x14445a(0x11c)]||'')}),_0x4b6e56['id']===_0x381b64['CollaborationUIEventId'][_0x14445a(0x2b3)]&&this[_0x14445a(0xf9)][_0x14445a(0x20e)]({'type':_0x53251d[_0x14445a(0x2ad)][_0x14445a(0x127)],'content':this[_0x14445a(0x1f1)]['t'](_0x14445a(0x1e6))}),_0x4b6e56['id']===_0x381b64[_0x14445a(0x89)][_0x14445a(0x161)]&&this[_0x14445a(0xf9)]['show']({'type':_0x53251d[_0x14445a(0x2ad)][_0x14445a(0x179)],'content':this[_0x14445a(0x1f1)]['t'](_0x14445a(0xcf))}),_0x4b6e56['id']===_0x381b64[_0x14445a(0x89)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x14445a(0xf9)]['show']({'type':_0x53251d[_0x14445a(0x2ad)][_0x14445a(0x179)],'content':this['_localeService']['t'](_0x14445a(0x2fd))});}));}};_0x37771c=_0x213ac1([_0x2c17ba(0x0,_0xce7937['IBeforeCloseService']),_0x2c17ba(0x1,_0x381b64[_0x30a38d(0x26d)]),_0x2c17ba(0x2,_0x40cffd[_0x30a38d(0x243)](_0x381b64['CollaborationUIEventService'])),_0x2c17ba(0x3,_0xce7937[_0x30a38d(0x178)]),_0x2c17ba(0x4,_0xce7937['INotificationService']),_0x2c17ba(0x5,_0x40cffd['Inject'](_0x40cffd[_0x30a38d(0x20f)]))],_0x37771c);const _0x4c8643=_0x30a38d(0x28f),_0x18c05a={};var _0x45ec85=Object['getOwnPropertyDescriptor'],_0x1c323c=(_0x559b60,_0x2784a9,_0x520ad1,_0x5281ee)=>{for(var _0x1fa5b9=_0x5281ee>0x1?void 0x0:_0x5281ee?_0x45ec85(_0x2784a9,_0x520ad1):_0x2784a9,_0x302611=_0x559b60['length']-0x1,_0x1453cc;_0x302611>=0x0;_0x302611--)(_0x1453cc=_0x559b60[_0x302611])&&(_0x1fa5b9=_0x1453cc(_0x1fa5b9)||_0x1fa5b9);return _0x1fa5b9;},_0x596652=(_0x9300d4,_0x474195)=>(_0x40851e,_0x4790ab)=>_0x474195(_0x40851e,_0x4790ab,_0x9300d4);let _0x49edda=class{constructor(_0xddf582,_0x17ed06){const _0xee7f1d=_0x30a38d;this[_0xee7f1d(0x262)]=_0xddf582,this[_0xee7f1d(0x23a)]=_0x17ed06;}[_0x30a38d(0x107)](_0x46c839){const _0x572c50=_0x30a38d;this[_0x572c50(0x1f8)](_0x46c839),this[_0x572c50(0x6b)](_0x46c839);}[_0x30a38d(0x6d)](_0x32040d){const _0x1d65ce=_0x30a38d,{unitID:_0x288744}=_0x32040d,_0x6af470=this[_0x1d65ce(0x23a)][_0x1d65ce(0x23e)](_0x288744)[_0x1d65ce(0x293)](_0x2d3f57[_0x1d65ce(0x2f0)]),{redoCache:_0x47a943}=_0x6af470[_0x1d65ce(0x2e3)]();if(_0x47a943[_0x1d65ce(0x2bc)]===0x0)return _0x32040d;let _0x14eaf1=_0x40cffd[_0x1d65ce(0x85)][_0x1d65ce(0x12d)](_0x32040d[_0x1d65ce(0x116)][0x0]);for(let _0x10fe9e=0x0;_0x10fe9e<_0x47a943[_0x1d65ce(0x2bc)];_0x10fe9e++){const _0x18a36c={'id':_0x1d65ce(0x1e7),'params':{..._0x47a943[_0x10fe9e]}},_0x416de7=this[_0x1d65ce(0x262)]['transformMutation'](_0x14eaf1,_0x18a36c,!0x1);if(_0x2146ab['isTransformMutationFailure'](_0x416de7))throw _0x416de7[_0x1d65ce(0x274)];_0x14eaf1=_0x416de7[_0x1d65ce(0x68)];}return{..._0x40cffd['Tools'][_0x1d65ce(0x12d)](_0x32040d),'mutations':[_0x14eaf1]};}['_transformUndoRedoStack'](_0x374c33){const _0x355ac1=_0x30a38d,{unitID:_0x53c69d}=_0x374c33,_0x4b75a5=this['_renderManagerService'][_0x355ac1(0x23e)](_0x53c69d)[_0x355ac1(0x293)](_0x2d3f57['DocIMEInputManagerService']),{undoCache:_0xe92cb4,redoCache:_0x3a21d6}=_0x4b75a5['getUndoRedoMutationParamsCache']();if(_0xe92cb4[_0x355ac1(0x2bc)]===0x0||_0x3a21d6['length']===0x0)return;const _0x13ceae=[],_0x3bbac9=[];let _0x2b1824=_0x40cffd['Tools'][_0x355ac1(0x12d)](_0x374c33[_0x355ac1(0x116)][0x0]),_0x44d511=_0x40cffd[_0x355ac1(0x85)][_0x355ac1(0x12d)](_0x374c33['mutations'][0x0]);for(let _0x2867bf=_0xe92cb4[_0x355ac1(0x2bc)]-0x1;_0x2867bf>=0x0;_0x2867bf--){const _0x4c1aae={'id':'doc.mutation.rich-text-editing','params':{..._0xe92cb4[_0x2867bf]}},_0x53867c={'id':_0x355ac1(0x1e7),'params':{..._0x3a21d6[_0x2867bf]}},_0x2b1539=this[_0x355ac1(0x262)]['transformMutation'](_0x2b1824,_0x4c1aae,!0x1),_0xe221e1=this[_0x355ac1(0x262)][_0x355ac1(0xe6)](_0x44d511,_0x53867c,!0x1);if(_0x2146ab[_0x355ac1(0x28d)](_0x2b1539))throw _0x2b1539[_0x355ac1(0x274)];if(_0x2146ab[_0x355ac1(0x28d)](_0xe221e1))throw _0xe221e1[_0x355ac1(0x274)];_0x13ceae['unshift'](_0x2b1539['m2Prime']['params']),_0x3bbac9[_0x355ac1(0x13a)](_0xe221e1[_0x355ac1(0x214)][_0x355ac1(0xec)]),_0x2b1824=_0x2b1539['m1Prime'],_0x44d511=_0xe221e1[_0x355ac1(0x68)];}_0x4b75a5[_0x355ac1(0x297)]({'undoCache':_0x13ceae,'redoCache':_0x3bbac9});}['_transformPreviousActiveRange'](_0xd311e9){const _0x23c3d5=_0x30a38d,{unitID:_0x145364}=_0xd311e9,_0x178185=this[_0x23c3d5(0x23a)][_0x23c3d5(0x23e)](_0x145364)[_0x23c3d5(0x293)](_0x2d3f57[_0x23c3d5(0x2f0)]),_0x3b8f24=_0x178185['getActiveRange']();if(_0x3b8f24==null)return;const _0x6e2d95=[{'id':_0x23c3d5(0x1e7),'params':{'unitId':_0xd311e9['unitID'],'actions':null,'textRanges':[_0x3b8f24]}}],_0x207e7c=this[_0x23c3d5(0x262)][_0x23c3d5(0x275)](_0xd311e9,_0x6e2d95);if(!_0x2146ab['isTransformMutationsWithChangesetSuccess'](_0x207e7c))throw _0x207e7c[_0x23c3d5(0x274)];const _0x57127e=_0x207e7c['m2Prime'][0x0][_0x23c3d5(0xec)][_0x23c3d5(0x103)];Array[_0x23c3d5(0x27e)](_0x57127e)&&_0x57127e[_0x23c3d5(0x2bc)]&&_0x178185[_0x23c3d5(0x27a)](_0x57127e[0x0]);}};_0x49edda=_0x1c323c([_0x596652(0x0,_0x2146ab[_0x30a38d(0x1b5)]),_0x596652(0x1,_0x1959b6[_0x30a38d(0x2ee)])],_0x49edda);var _0x35df81=Object[_0x30a38d(0x185)],_0x5dab2a=(_0x4185c7,_0x38f819,_0x45e8e1,_0x54ab24)=>{const _0x542be8=_0x30a38d;for(var _0x27ba69=_0x54ab24>0x1?void 0x0:_0x54ab24?_0x35df81(_0x38f819,_0x45e8e1):_0x38f819,_0xfc4c3c=_0x4185c7[_0x542be8(0x2bc)]-0x1,_0x3342f5;_0xfc4c3c>=0x0;_0xfc4c3c--)(_0x3342f5=_0x4185c7[_0xfc4c3c])&&(_0x27ba69=_0x3342f5(_0x27ba69)||_0x27ba69);return _0x27ba69;},_0x475c57=(_0x50c7fa,_0x384467)=>(_0x1c9e77,_0x725405)=>_0x384467(_0x1c9e77,_0x725405,_0x50c7fa);let _0x135e91=class{constructor(_0x18ebff,_0x3007ca,_0x3c40be){const _0x54a781=_0x30a38d;this[_0x54a781(0xed)]=_0x18ebff,this[_0x54a781(0x262)]=_0x3007ca,this[_0x54a781(0x271)]=_0x3c40be;}[_0x30a38d(0x2d6)](_0x7f6d56){this['_transformHistoryAndStateStack'](_0x7f6d56);}[_0x30a38d(0x6d)](_0x1b116a){const _0x5570c5=_0x30a38d,{unitID:_0x203624}=_0x1b116a,{collaboration:_0x5e58bc}=this[_0x5570c5(0x271)][_0x5570c5(0x2cb)](_0x203624);if(_0x5e58bc[_0x5570c5(0x2bc)]===0x0)return _0x1b116a;let _0x35632e=_0x40cffd[_0x5570c5(0x85)]['deepClone'](_0x1b116a[_0x5570c5(0x116)][0x0]);for(let _0x243cff=0x0;_0x243cff<_0x5e58bc[_0x5570c5(0x2bc)];_0x243cff++){const _0x53301c={'id':_0x5570c5(0x1e7),'params':{'unitId':_0x5e58bc[_0x243cff][_0x5570c5(0x2e6)],..._0x5e58bc[_0x243cff]['redoState']}},_0x5a680a=this[_0x5570c5(0x262)]['transformMutation'](_0x35632e,_0x53301c,!0x1);if(_0x2146ab[_0x5570c5(0x28d)](_0x5a680a))throw _0x5a680a[_0x5570c5(0x274)];_0x35632e=_0x5a680a[_0x5570c5(0x68)];}return{..._0x40cffd[_0x5570c5(0x85)]['deepClone'](_0x1b116a),'mutations':[_0x35632e]};}[_0x30a38d(0x232)](_0x49c29e){const _0x4a6926=_0x30a38d,{unitID:_0xd5864a}=_0x49c29e,{history:_0x22a931,collaboration:_0x18e0a0}=this[_0x4a6926(0x271)][_0x4a6926(0x2cb)](_0xd5864a);if(_0x22a931[_0x4a6926(0x2bc)]===0x0&&_0x18e0a0['length']===0x0)return;const _0x18ac8f=[],_0x55e0d3=[];let _0x55ea6e=_0x40cffd[_0x4a6926(0x85)]['deepClone'](_0x49c29e['mutations'][0x0]),_0x46eeb3=_0x40cffd[_0x4a6926(0x85)][_0x4a6926(0x12d)](_0x49c29e[_0x4a6926(0x116)][0x0]);for(let _0x619bb9=_0x22a931[_0x4a6926(0x2bc)]-0x1;_0x619bb9>=0x0;_0x619bb9--){const _0x2a416d={'id':_0x4a6926(0x1e7),'params':{'unitId':_0x22a931[_0x619bb9][_0x4a6926(0x2e6)],..._0x22a931[_0x619bb9][_0x4a6926(0x20b)]}},_0x59ea9b={'id':_0x4a6926(0x1e7),'params':{'unitId':_0x22a931[_0x619bb9][_0x4a6926(0x2e6)],..._0x22a931[_0x619bb9][_0x4a6926(0xd8)]}},_0x2f8592=this[_0x4a6926(0x262)][_0x4a6926(0xe6)](_0x55ea6e,_0x2a416d,!0x1),_0x4c2391=this[_0x4a6926(0x262)][_0x4a6926(0xe6)](_0x46eeb3,_0x59ea9b,!0x1);if(_0x2146ab[_0x4a6926(0x28d)](_0x2f8592))throw _0x2f8592[_0x4a6926(0x274)];if(_0x2146ab[_0x4a6926(0x28d)](_0x4c2391))throw _0x4c2391[_0x4a6926(0x274)];_0x18ac8f['unshift']({..._0x22a931[_0x619bb9],'undoState':_0x2f8592[_0x4a6926(0x214)]['params'],'redoState':_0x4c2391['m2Prime'][_0x4a6926(0xec)]}),_0x55ea6e=_0x2f8592[_0x4a6926(0x68)],_0x46eeb3=_0x4c2391[_0x4a6926(0x68)];}_0x55ea6e=_0x40cffd['Tools'][_0x4a6926(0x12d)](_0x49c29e[_0x4a6926(0x116)][0x0]),_0x46eeb3=_0x40cffd[_0x4a6926(0x85)][_0x4a6926(0x12d)](_0x49c29e['mutations'][0x0]);for(let _0x4a8321=_0x18e0a0['length']-0x1;_0x4a8321>=0x0;_0x4a8321--){const _0x549e2f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x18e0a0[_0x4a8321]['unitId'],..._0x18e0a0[_0x4a8321][_0x4a6926(0x20b)]}},_0x12b039={'id':_0x4a6926(0x1e7),'params':{'unitId':_0x18e0a0[_0x4a8321][_0x4a6926(0x2e6)],..._0x18e0a0[_0x4a8321][_0x4a6926(0xd8)]}},_0x4d7383=this[_0x4a6926(0x262)][_0x4a6926(0xe6)](_0x55ea6e,_0x549e2f,!0x1),_0x452a0e=this[_0x4a6926(0x262)]['transformMutation'](_0x46eeb3,_0x12b039,!0x1);if(_0x2146ab[_0x4a6926(0x28d)](_0x4d7383))throw _0x4d7383[_0x4a6926(0x274)];if(_0x2146ab['isTransformMutationFailure'](_0x452a0e))throw _0x452a0e[_0x4a6926(0x274)];_0x55e0d3[_0x4a6926(0x13a)]({..._0x18e0a0[_0x4a8321],'undoState':_0x4d7383[_0x4a6926(0x214)][_0x4a6926(0xec)],'redoState':_0x452a0e[_0x4a6926(0x214)]['params']}),_0x55ea6e=_0x4d7383[_0x4a6926(0x68)],_0x46eeb3=_0x452a0e[_0x4a6926(0x68)];}this[_0x4a6926(0x271)]['setStateCache'](_0xd5864a,{'history':_0x18ac8f,'collaboration':_0x55e0d3});}};_0x135e91=_0x5dab2a([_0x475c57(0x0,_0x40cffd['Inject'](_0x40cffd[_0x30a38d(0x1ec)])),_0x475c57(0x1,_0x2146ab[_0x30a38d(0x1b5)]),_0x475c57(0x2,_0x40cffd[_0x30a38d(0x243)](_0x2d3f57[_0x30a38d(0x1cd)]))],_0x135e91);var _0x258f18=Object['getOwnPropertyDescriptor'],_0x33a67f=(_0x214ebd,_0x2b4754,_0x48f424,_0xee8fc1)=>{const _0x4a5c5c=_0x30a38d;for(var _0x8c5c9b=_0xee8fc1>0x1?void 0x0:_0xee8fc1?_0x258f18(_0x2b4754,_0x48f424):_0x2b4754,_0x3cb15b=_0x214ebd[_0x4a5c5c(0x2bc)]-0x1,_0x297c55;_0x3cb15b>=0x0;_0x3cb15b--)(_0x297c55=_0x214ebd[_0x3cb15b])&&(_0x8c5c9b=_0x297c55(_0x8c5c9b)||_0x8c5c9b);return _0x8c5c9b;},_0x458210=(_0x5b0538,_0x1654ea)=>(_0x4627c6,_0x9bf623)=>_0x1654ea(_0x4627c6,_0x9bf623,_0x5b0538);let _0x5c4319=class{constructor(_0x5308c8,_0x4ee401){const _0x462398=_0x30a38d;this[_0x462398(0xed)]=_0x5308c8,this[_0x462398(0x262)]=_0x4ee401;}[_0x30a38d(0x256)](_0x5f2d25){const _0x31c79d=_0x30a38d;var _0x5feb77;const _0x427fc2=this[_0x31c79d(0xed)][_0x31c79d(0x2cf)](_0x3bcff7[_0x31c79d(0x170)]),_0x5d2a57=(_0x5feb77=_0x427fc2[_0x31c79d(0x25b)]())!=null?_0x5feb77:[];if(_0x5d2a57['length']===0x0)return;const _0xd07569=_0x5f2d25[_0x31c79d(0xaa)],_0x110df7=[{'id':_0x31c79d(0x1e7),'params':{'unitId':_0xd07569,'actions':null,'textRanges':_0x5d2a57}}],_0x2ab53e=this[_0x31c79d(0x262)][_0x31c79d(0x275)](_0x5f2d25,_0x110df7);if(!_0x2146ab['isTransformMutationsWithChangesetSuccess'](_0x2ab53e))throw _0x2ab53e['error'];const _0x3f1581=_0x2ab53e['m2Prime'][0x0][_0x31c79d(0xec)]['textRanges'];Array['isArray'](_0x3f1581)&&_0x3f1581['length']&&_0x427fc2[_0x31c79d(0x2a0)](_0x3f1581,{'unitId':_0xd07569,'subUnitId':_0xd07569},!0x1);}};_0x5c4319=_0x33a67f([_0x458210(0x0,_0x40cffd[_0x30a38d(0x243)](_0x40cffd[_0x30a38d(0x1ec)])),_0x458210(0x1,_0x2146ab[_0x30a38d(0x1b5)])],_0x5c4319);var _0x50c16a=Object[_0x30a38d(0x185)],_0x1abaf7=(_0x5e6343,_0xe16361,_0xeb647a,_0x5da84b)=>{const _0x1a353b=_0x30a38d;for(var _0x27fb77=_0x5da84b>0x1?void 0x0:_0x5da84b?_0x50c16a(_0xe16361,_0xeb647a):_0xe16361,_0xe58af6=_0x5e6343[_0x1a353b(0x2bc)]-0x1,_0x1fc939;_0xe58af6>=0x0;_0xe58af6--)(_0x1fc939=_0x5e6343[_0xe58af6])&&(_0x27fb77=_0x1fc939(_0x27fb77)||_0x27fb77);return _0x27fb77;},_0x3f3de0=(_0x383a88,_0x2ad1c4)=>(_0x5185bc,_0x2b1577)=>_0x2ad1c4(_0x5185bc,_0x2b1577,_0x383a88);let _0x3a02ed=class extends _0x40cffd['Disposable']{constructor(_0x3c3647,_0x1bd698,_0x467b04,_0x13cb04,_0x3d6517,_0x4b2b45,_0x4303f0,_0x227807){const _0x35cde4=_0x30a38d;super(),_0x2f0bfd(this,_0x35cde4(0x17d),new _0x54e142[(_0x35cde4(0x1aa))](_0x381b64['CollaborationStatus'][_0x35cde4(0x163)])),(this[_0x35cde4(0x271)]=_0x3c3647,this[_0x35cde4(0x112)]=_0x1bd698,this[_0x35cde4(0xfe)]=_0x467b04,this['_docTransformStateCacheService']=_0x13cb04,this[_0x35cde4(0x69)]=_0x3d6517,this[_0x35cde4(0x9f)]=_0x4b2b45,this[_0x35cde4(0xf9)]=_0x4303f0,this[_0x35cde4(0x1f1)]=_0x227807,this['_initEntityListener']());}[_0x30a38d(0xd3)](){const _0x113f8d=_0x30a38d;this[_0x113f8d(0x1ce)](this['_collaborationController'][_0x113f8d(0x245)][_0x113f8d(0x204)](_0x5f0645=>{const _0xcffb42=_0x113f8d,_0x3b4a32=this['_docStateChangeManagerService'][_0xcffb42(0xc3)][_0xcffb42(0x204)](_0x31da6f=>{const _0x4e2cd9=_0xcffb42;if(_0x31da6f==null)return;const {unitId:_0x39090e,redoState:_0x2b5323,commandId:_0x1bba54}=_0x31da6f;if(_0x39090e!==_0x5f0645[_0x4e2cd9(0xaa)])return;const _0x1315ee={'id':_0x1bba54,'type':_0x40cffd[_0x4e2cd9(0x27f)][_0x4e2cd9(0x133)],'params':{'unitId':_0x39090e,'actions':_0x2b5323[_0x4e2cd9(0x2e5)],'textRanges':null}};_0x5f0645[_0x4e2cd9(0x2c4)](_0x1315ee);});if(_0x5f0645['disposeWithMe'](_0x3b4a32),_0x5f0645 instanceof _0x381b64['DocCollaborationEntity']){const _0x4c5b0a={'onTransformIME':_0x16f174=>this[_0xcffb42(0xfe)][_0xcffb42(0x107)](_0x16f174),'onTransformState':_0x333bcd=>this[_0xcffb42(0x1b2)][_0xcffb42(0x2d6)](_0x333bcd),'onTransformSelections':_0x5256b1=>this['_docTransformSelectionsService']['transformSelections'](_0x5256b1),'onSyncEditingCollabCursor':_0x1d23cb=>this[_0xcffb42(0x9f)][_0xcffb42(0x1ed)](_0x1d23cb),'onTransformRemoteChangesetByIMECache':_0x2eae0e=>this[_0xcffb42(0xfe)]['transformRemoteChangeset'](_0x2eae0e),'onTransformRemoteChangesetByStateCache':_0x549919=>this['_docTransformStateCacheService'][_0xcffb42(0x6d)](_0x549919)};_0x5f0645[_0xcffb42(0x2c7)](_0x4c5b0a);}}));}};_0x3a02ed=_0x1abaf7([_0x3f3de0(0x0,_0x40cffd[_0x30a38d(0x243)](_0x2d3f57['DocStateChangeManagerService'])),_0x3f3de0(0x1,_0x40cffd[_0x30a38d(0x243)](_0x381b64['CollaborationController'])),_0x3f3de0(0x2,_0x40cffd['Inject'](_0x49edda)),_0x3f3de0(0x3,_0x40cffd[_0x30a38d(0x243)](_0x135e91)),_0x3f3de0(0x4,_0x40cffd[_0x30a38d(0x243)](_0x5c4319)),_0x3f3de0(0x5,_0x40cffd['Inject'](_0x317e7c)),_0x3f3de0(0x6,_0xce7937[_0x30a38d(0x178)]),_0x3f3de0(0x7,_0x40cffd[_0x30a38d(0x243)](_0x40cffd[_0x30a38d(0x20f)]))],_0x3a02ed);var _0xfcdaac=Object[_0x30a38d(0x185)],_0x205948=(_0x27a77d,_0x242656,_0x4b8f21,_0x5bf2f0)=>{for(var _0x133ab1=_0x5bf2f0>0x1?void 0x0:_0x5bf2f0?_0xfcdaac(_0x242656,_0x4b8f21):_0x242656,_0x5bbd22=_0x27a77d['length']-0x1,_0x25b4bb;_0x5bbd22>=0x0;_0x5bbd22--)(_0x25b4bb=_0x27a77d[_0x5bbd22])&&(_0x133ab1=_0x25b4bb(_0x133ab1)||_0x133ab1);return _0x133ab1;},_0x1b1c7c=(_0x16a5ea,_0x73b1da)=>(_0x45907d,_0x3d983b)=>_0x73b1da(_0x45907d,_0x3d983b,_0x16a5ea);let _0x4eba2f=class extends _0x40cffd[_0x30a38d(0x2a6)]{constructor(_0x33e7ad,_0x39cf95,_0x254c58){const _0x337178=_0x30a38d;super(),_0x2f0bfd(this,'_cachedData',new Map()),_0x2f0bfd(this,_0x337178(0x1ef),new Map()),_0x2f0bfd(this,_0x337178(0xa0),!0x1),(this[_0x337178(0x94)]=_0x33e7ad,this['_localStorageService']=_0x39cf95,this[_0x337178(0x2f5)]=_0x254c58);}[_0x30a38d(0x2bb)](){const _0x2747af=_0x30a38d;this[_0x2747af(0xa0)]=!0x0;}[_0x30a38d(0xb6)](){const _0x5efa27=_0x30a38d;this[_0x5efa27(0xa0)]=!0x1;}get['saveTaskMap'](){const _0x15bfad=_0x30a38d;return this[_0x15bfad(0x1ef)];}[_0x30a38d(0x266)](){const _0x21dede=_0x30a38d;this[_0x21dede(0x226)]()[_0x21dede(0x28a)](()=>super[_0x21dede(0x266)]());}async[_0x30a38d(0x8e)](_0x3de7ee){const _0x407832=_0x30a38d;return this[_0x407832(0xa0)]?null:this[_0x407832(0x272)][_0x407832(0x2f8)](_0x381b64[_0x407832(0xd5)](_0x3de7ee));}async[_0x30a38d(0x1e1)](_0x22a475,_0x237118){const _0x27a5e5=_0x30a38d;return!!this[_0x27a5e5(0x272)][_0x27a5e5(0x2d3)](_0x22a475,_0x237118);}[_0x30a38d(0xd4)](_0x12bd22,_0x2e4254,_0x82d251,_0x2cf5f3){const _0x339069=_0x30a38d,_0xdd700c=this[_0x339069(0x2f5)][_0x339069(0x22f)](_0x12bd22);this['_cachedData'][_0x339069(0x273)](_0x12bd22,{'unitID':_0x12bd22,'type':_0x2e4254,'awaitingChangeset':_0x82d251,'mutations':_0x2cf5f3,'rev':_0xdd700c}),this[_0x339069(0x1ef)][_0x339069(0x2ea)](_0x12bd22)||this[_0x339069(0x2c9)](_0x12bd22);}['_scheduleSaving'](_0x4d0f7a){const _0xdd37b=_0x30a38d,_0x36c053=this['_getSaveTimeout']();_0x36c053===0x0?this['_saveCache'](_0x4d0f7a):this[_0xdd37b(0x1ef)][_0xdd37b(0x273)](_0x4d0f7a,setTimeout(()=>this[_0xdd37b(0x261)](_0x4d0f7a),_0x36c053));}[_0x30a38d(0x79)](){const _0x1e2c84=_0x30a38d;var _0x53ac83;return(_0x53ac83=this[_0x1e2c84(0x94)][_0x1e2c84(0x1cb)](_0x381b64[_0x1e2c84(0x10f)]))!=null?_0x53ac83:_0x381b64['LOCAL_CACHE_INTERVAL'];}[_0x30a38d(0x261)](_0x2d44e0){const _0x460b94=_0x30a38d,_0x4873dd=this[_0x460b94(0x1ef)]['get'](_0x2d44e0);return _0x4873dd!==void 0x0&&window[_0x460b94(0x25c)](_0x4873dd),this['_localStorageService'][_0x460b94(0x2d3)](_0x381b64[_0x460b94(0xd5)](_0x2d44e0),this[_0x460b94(0x25e)]['get'](_0x2d44e0))[_0x460b94(0x28a)](()=>this[_0x460b94(0x1ef)][_0x460b94(0x1c6)](_0x2d44e0));}async['exhaustSavingTask'](){const _0x2dd48c=_0x30a38d,_0x441f00=[];this[_0x2dd48c(0x1ef)][_0x2dd48c(0x280)]((_0x16075c,_0x29c754)=>{const _0x23ca1f=_0x2dd48c;window[_0x23ca1f(0x25c)](_0x16075c),_0x441f00[_0x23ca1f(0x81)](this[_0x23ca1f(0x261)](_0x29c754)[_0x23ca1f(0x28a)](()=>{const _0x1bee15=_0x23ca1f;this['_saveTaskMap'][_0x1bee15(0x1c6)](_0x29c754);}));}),await Promise['all'](_0x441f00);}};_0x4eba2f=_0x205948([_0x1b1c7c(0x0,_0x40cffd[_0x30a38d(0x2b4)]),_0x1b1c7c(0x1,_0x40cffd[_0x30a38d(0x215)]),_0x1b1c7c(0x2,_0x40cffd[_0x30a38d(0x243)](_0x2146ab[_0x30a38d(0x1a6)]))],_0x4eba2f);class _0xf51b1 extends _0x40cffd[_0x30a38d(0x141)]{constructor(){const _0x596487=_0x30a38d;super(),_0x2f0bfd(this,'urlChange$'),this[_0x596487(0x2ef)]=_0x54e142[_0x596487(0x216)](window,_0x596487(0x1a1))[_0x596487(0x7e)](_0x54e142[_0x596487(0x1eb)](this['dispose$']),_0x54e142[_0x596487(0xc5)](0x1),_0x54e142[_0x596487(0x278)](void 0x0));}['setParam'](_0x1de176,_0x4a2ae2,_0x98ea80=!0x1){const _0x253561=_0x30a38d,_0x54ec2d=new URL(window[_0x253561(0x258)]['href']);_0x54ec2d['searchParams'][_0x253561(0x273)](_0x1de176,_0x4a2ae2),_0x98ea80?window[_0x253561(0x260)][_0x253561(0x15d)]('','',_0x54ec2d[_0x253561(0xcb)]()):window[_0x253561(0x260)][_0x253561(0x198)]('','',_0x54ec2d[_0x253561(0xcb)]());}['removeParam'](_0x47cf00,_0x3dbcc4=!0x1){const _0x5ef0e9=_0x30a38d,_0x50e9c1=new URL(window[_0x5ef0e9(0x258)][_0x5ef0e9(0x9c)]);_0x50e9c1[_0x5ef0e9(0xfc)][_0x5ef0e9(0x1c6)](_0x47cf00),_0x3dbcc4?window[_0x5ef0e9(0x260)][_0x5ef0e9(0x15d)]('','',_0x50e9c1['toString']()):window[_0x5ef0e9(0x260)][_0x5ef0e9(0x198)]('','',_0x50e9c1[_0x5ef0e9(0xcb)]());}['getParam'](_0x50116a){const _0x3e4a31=_0x30a38d;var _0xcfb450;return(_0xcfb450=new URL(window[_0x3e4a31(0x258)][_0x3e4a31(0x9c)])[_0x3e4a31(0xfc)][_0x3e4a31(0x2cf)](_0x50116a))!=null?_0xcfb450:void 0x0;}}var _0x4e592c=Object['defineProperty'],_0x1236e1=Object[_0x30a38d(0x185)],_0x3c5834=(_0x1cba7d,_0x1ec9c6,_0x150d2c)=>_0x1ec9c6 in _0x1cba7d?_0x4e592c(_0x1cba7d,_0x1ec9c6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x150d2c}):_0x1cba7d[_0x1ec9c6]=_0x150d2c,_0x23d24c=(_0x3f28d6,_0x182d28,_0x1d275b,_0x6d284d)=>{const _0x3258c5=_0x30a38d;for(var _0x31f55a=_0x6d284d>0x1?void 0x0:_0x6d284d?_0x1236e1(_0x182d28,_0x1d275b):_0x182d28,_0x3f3018=_0x3f28d6[_0x3258c5(0x2bc)]-0x1,_0x4d2658;_0x3f3018>=0x0;_0x3f3018--)(_0x4d2658=_0x3f28d6[_0x3f3018])&&(_0x31f55a=_0x4d2658(_0x31f55a)||_0x31f55a);return _0x31f55a;},_0x148dfc=(_0x192dbc,_0x2c40dc)=>(_0x3f67db,_0x364a4d)=>_0x2c40dc(_0x3f67db,_0x364a4d,_0x192dbc),_0x5ab260=(_0x5d21f3,_0x19cd21,_0x2d40c4)=>_0x3c5834(_0x5d21f3,_0x19cd21+'',_0x2d40c4);const _0x5b64ad=_0x30a38d(0x1ff);_0x36f152[_0x30a38d(0x22b)]=class extends _0x40cffd[_0x30a38d(0xc9)]{constructor(_0x45ade2=_0x18c05a,_0x2a9e99,_0x140dda,_0x1f996c){const _0x3f01ec=_0x30a38d;super(),this[_0x3f01ec(0x23d)]=_0x45ade2,this[_0x3f01ec(0x23a)]=_0x2a9e99,this[_0x3f01ec(0xed)]=_0x140dda,this[_0x3f01ec(0x94)]=_0x1f996c;const {..._0x528cb4}=_0x40cffd['merge']({},_0x18c05a,this[_0x3f01ec(0x23d)]);this[_0x3f01ec(0x94)]['setConfig'](_0x4c8643,_0x528cb4);}[_0x30a38d(0x1db)](){const _0x1beaf0=_0x30a38d;this[_0x1beaf0(0x8b)](),this[_0x1beaf0(0x259)]();}['onRendered'](){const _0x49d647=_0x30a38d;this[_0x49d647(0x255)]();}[_0x30a38d(0x8b)](){const _0x582a9f=_0x30a38d;var _0x139c9f;const _0x5d6fa4=[[_0x3070d8],[_0x5c4319],[_0x49edda],[_0x135e91],[_0x317e7c],[_0x3040d7,{'useClass':_0xf51b1}],[_0x54ac98[_0x582a9f(0xe0)],{'useClass':_0x54ac98['WebSocketService']}],[_0x381b64[_0x582a9f(0x26d)],{'useClass':_0x4eba2f}],[_0x36f152['DesktopCollaborationStatusDisplayController']],[_0x3a02ed],[_0x37771c],[_0xb8038],[_0x252d3c],[_0x36f152[_0x582a9f(0x2e1)]]];_0x40cffd[_0x582a9f(0x10e)](this['_injector'],_0x40cffd[_0x582a9f(0x2b9)](_0x5d6fa4,(_0x139c9f=this[_0x582a9f(0x23d)])==null?void 0x0:_0x139c9f['override']));}['_registerRenderDependencies'](){const _0x4e33a0=_0x30a38d;this['disposeWithMe'](this[_0x4e33a0(0x23a)][_0x4e33a0(0x10d)](_0x40cffd[_0x4e33a0(0x301)][_0x4e33a0(0x7a)],[_0x51e236])),this[_0x4e33a0(0x1ce)](this['_renderManagerService'][_0x4e33a0(0x10d)](_0x40cffd[_0x4e33a0(0x301)]['UNIVER_SHEET'],[_0x3640b4]));}[_0x30a38d(0x259)](){const _0x58c784=_0x30a38d;_0x40cffd['touchDependencies'](this[_0x58c784(0xed)],[[_0xb8038],[_0x36f152[_0x58c784(0x7b)]],[_0x3a02ed],[_0x37771c],[_0x36f152['CollaborationDataLoaderController']]]);}},_0x5ab260(_0x36f152[_0x30a38d(0x22b)],_0x30a38d(0x288),_0x5b64ad),_0x36f152[_0x30a38d(0x22b)]=_0x23d24c([_0x40cffd[_0x30a38d(0x98)](_0x381b64[_0x30a38d(0x2dc)]),_0x148dfc(0x1,_0x1959b6[_0x30a38d(0x2ee)]),_0x148dfc(0x2,_0x40cffd[_0x30a38d(0x243)](_0x40cffd['Injector'])),_0x148dfc(0x3,_0x40cffd[_0x30a38d(0x2b4)])],_0x36f152['UniverCollaborationClientUIPlugin']);var _0x575a98=Object[_0x30a38d(0x185)],_0x2e2f65=(_0x522eae,_0x20e93a,_0x493f63,_0x3059b3)=>{const _0x26b0a0=_0x30a38d;for(var _0x558a5a=_0x3059b3>0x1?void 0x0:_0x3059b3?_0x575a98(_0x20e93a,_0x493f63):_0x20e93a,_0xc0e0be=_0x522eae[_0x26b0a0(0x2bc)]-0x1,_0x4f84d2;_0xc0e0be>=0x0;_0xc0e0be--)(_0x4f84d2=_0x522eae[_0xc0e0be])&&(_0x558a5a=_0x4f84d2(_0x558a5a)||_0x558a5a);return _0x558a5a;},_0x379e6b=(_0x573ff1,_0x340786)=>(_0x3bee3a,_0x214127)=>_0x340786(_0x3bee3a,_0x214127,_0x573ff1);_0x36f152['BrowserCollaborationSocketService']=class extends _0x381b64[_0x30a38d(0x27d)]{constructor(_0x36519b,_0x5be721,_0x11aeb4,_0x400bf9,_0x4c2c3d){super(_0x36519b,_0x5be721,_0x11aeb4,_0x400bf9,_0x4c2c3d);}async[_0x30a38d(0x160)](_0x44434a){const _0x5f074e=_0x30a38d,_0x2f2556=await this[_0x5f074e(0x19d)](),_0x519124=this['_createSocketURL'](_0x44434a,_0x2f2556);return this[_0x5f074e(0xee)](_0x519124);}[_0x30a38d(0x28b)](_0x1f4a63,_0x495381){const _0x3cb2fb=_0x30a38d,_0x458c42=typeof window>'u'?new URL(_0x1f4a63):new URL(_0x1f4a63,window['location'][_0x3cb2fb(0x1b6)]);_0x458c42[_0x3cb2fb(0xfc)]['set'](_0x3cb2fb(0x26e),_0x495381);const _0x46dce6=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3cb2fb(0x258)][_0x3cb2fb(0x182)]);return _0x46dce6[_0x3cb2fb(0x2cf)](_0x3cb2fb(0xa4))&&_0x458c42['searchParams']['set'](_0x3cb2fb(0xa4),_0x46dce6['get'](_0x3cb2fb(0xa4))),_0x458c42[_0x3cb2fb(0xcb)]();}async[_0x30a38d(0x19d)](){const _0x2b52ce=_0x30a38d;var _0x5f0f22,_0x18a0e9,_0x50dfb9;const _0x1e5a69=this[_0x2b52ce(0x94)]['getConfig'](_0x381b64[_0x2b52ce(0x194)]),_0x4bddca=(_0x5f0f22=_0x1e5a69==null?void 0x0:_0x1e5a69['wsSessionTicketUrl'])!=null?_0x5f0f22:_0x381b64[_0x2b52ce(0x1dd)];return(_0x50dfb9=(_0x18a0e9=(await this[_0x2b52ce(0x21e)][_0x2b52ce(0x2cf)](_0x4bddca,{'headers':{'Content-Type':_0x2b52ce(0x70)}}))[_0x2b52ce(0x19e)])==null?void 0x0:_0x18a0e9['ticket'])!=null?_0x50dfb9:'';}},_0x36f152[_0x30a38d(0x106)]=_0x2e2f65([_0x379e6b(0x0,_0x40cffd['Inject'](_0x40cffd[_0x30a38d(0x1ec)])),_0x379e6b(0x1,_0x40cffd[_0x30a38d(0x243)](_0x54ac98[_0x30a38d(0xa6)])),_0x379e6b(0x2,_0x40cffd['IConfigService']),_0x379e6b(0x3,_0x40cffd[_0x30a38d(0x1d3)]),_0x379e6b(0x4,_0x2146ab[_0x30a38d(0x188)])],_0x36f152[_0x30a38d(0x106)]);var _0x41c1f9=(_0x5243a3=>(_0x5243a3[_0x5243a3[_0x30a38d(0x25d)]=0x0]=_0x30a38d(0x25d),_0x5243a3[_0x5243a3['OK']=0x1]='OK',_0x5243a3[_0x5243a3['INTERNAL_ERROR']=0x2]=_0x30a38d(0xf5),_0x5243a3[_0x5243a3[_0x30a38d(0xc6)]=0x3]=_0x30a38d(0xc6),_0x5243a3[_0x5243a3['NOT_FOUND']=0x4]=_0x30a38d(0xd9),_0x5243a3[_0x5243a3['UNAUTHENTICATED']=0x5]=_0x30a38d(0x234),_0x5243a3[_0x5243a3[_0x30a38d(0xef)]=0x6]=_0x30a38d(0xef),_0x5243a3[_0x5243a3[_0x30a38d(0x1d2)]=0x7]='INVALID_ARGUMENT',_0x5243a3[_0x5243a3[_0x30a38d(0x121)]=0x8]=_0x30a38d(0x121),_0x5243a3[_0x5243a3[_0x30a38d(0x2a1)]=0x9]=_0x30a38d(0x2a1),_0x5243a3[_0x5243a3[_0x30a38d(0x24b)]=0xa]=_0x30a38d(0x24b),_0x5243a3[_0x5243a3['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x30a38d(0x20d),_0x5243a3[_0x5243a3[_0x30a38d(0x167)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5243a3[_0x5243a3['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x30a38d(0xff),_0x5243a3[_0x5243a3['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x30a38d(0x18a),_0x5243a3[_0x5243a3[_0x30a38d(0x23c)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5243a3[_0x5243a3[_0x30a38d(0x118)]=0x1771]=_0x30a38d(0x118),_0x5243a3[_0x5243a3[_0x30a38d(0x137)]=0x1772]=_0x30a38d(0x137),_0x5243a3[_0x5243a3['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x30a38d(0x2f4),_0x5243a3[_0x5243a3['APPLY_REJECT']=0x1b59]=_0x30a38d(0x117),_0x5243a3[_0x5243a3[_0x30a38d(0x2f2)]=0x1b5a]=_0x30a38d(0x2f2),_0x5243a3[_0x5243a3['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5243a3[_0x5243a3[_0x30a38d(0xa9)]=0x1b5c]=_0x30a38d(0xa9),_0x5243a3[_0x5243a3['APPLY_DUPLICATED']=0x1b5d]=_0x30a38d(0x11f),_0x5243a3[_0x5243a3[_0x30a38d(0x1ea)]=0x1f41]=_0x30a38d(0x1ea),_0x5243a3[_0x5243a3['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5243a3[_0x5243a3[_0x30a38d(0x190)]=0x232a]=_0x30a38d(0x190),_0x5243a3[_0x5243a3[_0x30a38d(0x186)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x5243a3[_0x5243a3['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5243a3[_0x5243a3['LICENSE_DISTRO_REJECTED']=0x232d]=_0x30a38d(0x26b),_0x5243a3[_0x5243a3[_0x30a38d(0xc0)]=0x2711]=_0x30a38d(0xc0),_0x5243a3[_0x5243a3[_0x30a38d(0x18b)]=0x2712]=_0x30a38d(0x18b),_0x5243a3[_0x5243a3[_0x30a38d(0xbb)]=0x2713]=_0x30a38d(0xbb),_0x5243a3[_0x5243a3[_0x30a38d(0x100)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5243a3[_0x5243a3[_0x30a38d(0x2ec)]=0x271a]=_0x30a38d(0x2ec),_0x5243a3[_0x5243a3[_0x30a38d(0x1d6)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5243a3[_0x5243a3[_0x30a38d(0x2b7)]=0x271c]=_0x30a38d(0x2b7),_0x5243a3[_0x5243a3[_0x30a38d(0x1b3)]=0x271d]=_0x30a38d(0x1b3),_0x5243a3[_0x5243a3[_0x30a38d(0x2fa)]=0x271e]=_0x30a38d(0x2fa),_0x5243a3[_0x5243a3[_0x30a38d(0x1f6)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x5243a3[_0x5243a3[_0x30a38d(0x26f)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x5243a3[_0x5243a3[_0x30a38d(0x206)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5243a3[_0x5243a3[_0x30a38d(0x1c8)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x5243a3[_0x5243a3[_0x30a38d(0x19f)]=0x2ee2]=_0x30a38d(0x19f),_0x5243a3[_0x5243a3[_0x30a38d(0x2d1)]=0x2ee3]=_0x30a38d(0x2d1),_0x5243a3[_0x5243a3['USER_NOT_INVITED_CODE']=0x2ee4]=_0x30a38d(0x110),_0x5243a3[_0x5243a3[_0x30a38d(0x19a)]=0x2ee5]=_0x30a38d(0x19a),_0x5243a3[_0x5243a3[_0x30a38d(0x251)]=0x32c9]=_0x30a38d(0x251),_0x5243a3[_0x5243a3[_0x30a38d(0xe8)]=0x32ca]=_0x30a38d(0xe8),_0x5243a3[_0x5243a3['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x5243a3[_0x5243a3['UNRECOGNIZED']=-0x1]=_0x30a38d(0x304),_0x5243a3))(_0x41c1f9||{}),_0x52ce2c=Object[_0x30a38d(0x185)],_0x2a01a1=(_0x590be1,_0x1682a2,_0x306e62,_0x2ee09b)=>{const _0x44bbfb=_0x30a38d;for(var _0x5ab280=_0x2ee09b>0x1?void 0x0:_0x2ee09b?_0x52ce2c(_0x1682a2,_0x306e62):_0x1682a2,_0x3207c6=_0x590be1[_0x44bbfb(0x2bc)]-0x1,_0x40a8fc;_0x3207c6>=0x0;_0x3207c6--)(_0x40a8fc=_0x590be1[_0x3207c6])&&(_0x5ab280=_0x40a8fc(_0x5ab280)||_0x5ab280);return _0x5ab280;},_0x4f4c8b=(_0x5df4f0,_0x12879a)=>(_0x1d9a89,_0x196e60)=>_0x12879a(_0x1d9a89,_0x196e60,_0x5df4f0);_0x36f152[_0x30a38d(0x77)]=class extends _0x40cffd[_0x30a38d(0x2a6)]{constructor(_0x31b042,_0x49fabb,_0x573889){const _0x5857eb=_0x30a38d;super(),this[_0x5857eb(0x228)]=_0x31b042,this[_0x5857eb(0x21e)]=_0x49fabb,this[_0x5857eb(0x94)]=_0x573889;}async[_0x30a38d(0x18f)](_0x1586c4,_0x5e12b5,_0x2b4611,..._0x2fa0c6){const _0x506cf1=_0x30a38d;var _0x493c05,_0x5b6073,_0x477da0,_0x48c73c;const _0x58836f=this[_0x506cf1(0x228)][_0x506cf1(0xac)]();if(!_0x58836f)throw new Error(_0x506cf1(0xf8));const _0x4bc1f0=((_0x493c05=this['_configService'][_0x506cf1(0x1cb)](_0x381b64[_0x506cf1(0x93)]))!=null?_0x493c05:_0x381b64[_0x506cf1(0x176)])+'/'+_0x1586c4+'/run/'+_0x5e12b5,_0x22d02e=new URL(window[_0x506cf1(0x258)][_0x506cf1(0x9c)]),_0x16e615={'scriptId':_0x1586c4,'runId':(_0x5b6073=_0x22d02e[_0x506cf1(0xfc)][_0x506cf1(0x2cf)](_0x506cf1(0xa4)))!=null?_0x5b6073:'','function':_0x5e12b5,'unitId':_0x58836f[_0x506cf1(0x19b)](),'argsOfFunction':JSON[_0x506cf1(0x2a5)](_0x2fa0c6),'invokeId':(_0x477da0=_0x2b4611['invokeId'])!=null?_0x477da0:'','executionId':(_0x48c73c=_0x2b4611[_0x506cf1(0x294)])!=null?_0x48c73c:''};try{const _0x259e8e=await this[_0x506cf1(0x21e)][_0x506cf1(0x73)](_0x4bc1f0,{'body':_0x16e615});return _0x259e8e['body'][_0x506cf1(0x274)]&&_0x259e8e[_0x506cf1(0x19e)][_0x506cf1(0x274)][_0x506cf1(0x1e3)]!==_0x41c1f9['OK']?_0x506cf1(0xbf):_0x259e8e[_0x506cf1(0x19e)]['result'];}catch{return _0x506cf1(0xbf);}}},_0x36f152[_0x30a38d(0x77)]=_0x2a01a1([_0x4f4c8b(0x0,_0x40cffd['IUniverInstanceService']),_0x4f4c8b(0x1,_0x40cffd[_0x30a38d(0x243)](_0x54ac98[_0x30a38d(0xa6)])),_0x4f4c8b(0x2,_0x40cffd[_0x30a38d(0x2b4)])],_0x36f152['RemoteUniscriptService']);const _0x357f2d=0x7530,_0x9ff7bb=_0x30a38d(0x9e);class _0x59f562 extends _0x40cffd[_0x30a38d(0x2a6)]{constructor(){const _0x4c5ff5=_0x30a38d;super(),_0x2f0bfd(this,_0x4c5ff5(0xd0),_0x40cffd[_0x4c5ff5(0x1d7)]()),_0x2f0bfd(this,_0x4c5ff5(0x28c),new Set()),_0x2f0bfd(this,_0x4c5ff5(0x203),new Map()),_0x2f0bfd(this,_0x4c5ff5(0x1ae),null),_0x2f0bfd(this,'_clearOtherTimers',new Map()),_0x2f0bfd(this,_0x4c5ff5(0x2fc),new Map()),this[_0x4c5ff5(0x17f)]();}[_0x30a38d(0x266)](){const _0x16058c=_0x30a38d;super['dispose'](),this[_0x16058c(0xae)]['forEach']((_0x5da520,_0x3f9222)=>this[_0x16058c(0xdc)](_0x3f9222)),this[_0x16058c(0x1ae)]&&window[_0x16058c(0x276)](this[_0x16058c(0x1ae)]);}[_0x30a38d(0x72)](_0x3d5aad){const _0x3e77e6=_0x30a38d;return this[_0x3e77e6(0x237)](_0x3d5aad)[_0x3e77e6(0x7e)](_0x54e142[_0x3e77e6(0x8c)]());}['editingUnit'](_0x3756fb){const _0xeae9a=_0x30a38d;this['_selfUnitIDs']['size']===0x0&&this['_scheduleHeartbeat'](),this[_0xeae9a(0x28c)]['add'](_0x3756fb),this[_0xeae9a(0xb9)]({'type':0x0,'memberID':this[_0xeae9a(0xd0)],'unitIDs':[_0x3756fb],'isForwarded':!0x1});}[_0x30a38d(0x1ee)](_0x4c213c){const _0x359763=_0x30a38d;this[_0x359763(0x28c)][_0x359763(0x1c6)](_0x4c213c),this[_0x359763(0x28c)][_0x359763(0x146)]===0x0&&this[_0x359763(0x1ae)]&&window[_0x359763(0x276)](this['_heartbeatTimer']);}['_init'](){const _0x5a87a2=_0x30a38d;this[_0x5a87a2(0x1ce)](_0x40cffd['toDisposable'](_0x54e142['fromEvent'](window,_0x5a87a2(0x123))[_0x5a87a2(0x204)](_0x5d7ff6=>{const _0x4396ab=_0x5a87a2;if(_0x5d7ff6[_0x4396ab(0xd2)]!==_0x9ff7bb||!_0x5d7ff6[_0x4396ab(0x184)])return;const _0x12cb30=JSON['parse'](_0x5d7ff6[_0x4396ab(0x184)]);this[_0x4396ab(0xf1)](_0x12cb30);}))),window[_0x5a87a2(0x2af)](_0x5a87a2(0x223),()=>this[_0x5a87a2(0xb9)]({'type':0x1,'memberID':this[_0x5a87a2(0xd0)],'unitIDs':Array['from'](this[_0x5a87a2(0x28c)])}));}[_0x30a38d(0xf1)](_0x217545){const _0x419185=_0x30a38d;switch(_0x217545[_0x419185(0x152)]){case 0x0:this[_0x419185(0xda)](_0x217545);break;case 0x1:this[_0x419185(0x156)](_0x217545);break;case 0x2:this[_0x419185(0x101)](_0x217545);break;}}[_0x30a38d(0xda)](_0x14a995){const _0x2f0281=_0x30a38d,{unitIDs:_0x256269,memberID:_0x3ddb24,isForwarded:_0x12a4ff}=_0x14a995;_0x256269['forEach'](_0x247852=>{const _0xb4201c=_0xf3b4;if(!_0x12a4ff&&this[_0xb4201c(0x203)][_0xb4201c(0x2ea)](_0x247852)&&this['_ensureSubject'](_0x247852)['next'](_0x381b64[_0xb4201c(0x1a2)][_0xb4201c(0x12c)]),!this[_0xb4201c(0x203)]['has'](_0x247852)||!this['_unitOnClients'][_0xb4201c(0x2cf)](_0x247852)['has'](_0x3ddb24)){const _0x2757b0=this[_0xb4201c(0x203)][_0xb4201c(0x2cf)](_0x247852)||new Set();_0x2757b0[_0xb4201c(0x2d4)](_0x3ddb24),this[_0xb4201c(0x203)][_0xb4201c(0x273)](_0x247852,_0x2757b0),this[_0xb4201c(0x1b8)](_0x3ddb24);}}),_0x12a4ff||this[_0x2f0281(0xb9)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x30a38d(0x1b8)](_0x264b46){const _0x4ac81e=_0x30a38d;this[_0x4ac81e(0xdc)](_0x264b46);const _0x5e97c8=window['setTimeout'](()=>{const _0x43ce83=_0x4ac81e;this[_0x43ce83(0x203)][_0x43ce83(0x280)](_0xd0e645=>{const _0x449389=_0x43ce83;_0xd0e645[_0x449389(0x1c6)](_0x264b46);});},_0x357f2d*0x2);this[_0x4ac81e(0xae)][_0x4ac81e(0x273)](_0x264b46,_0x5e97c8);}[_0x30a38d(0xdc)](_0x28b6c2){const _0x5cea38=_0x30a38d;if(this['_clearOtherTimers'][_0x5cea38(0x2ea)](_0x28b6c2)){const _0x18978=this[_0x5cea38(0xae)]['get'](_0x28b6c2);_0x18978&&window[_0x5cea38(0x25c)](_0x18978),this[_0x5cea38(0xae)]['set'](_0x28b6c2,null);}}[_0x30a38d(0x156)](_0x4deec0){const _0x443159=_0x30a38d,{memberID:_0x290495,unitIDs:_0x37e955}=_0x4deec0;_0x37e955[_0x443159(0x280)](_0x504589=>{const _0x2ca752=_0x443159;var _0x441863;const _0x3b9c7e=this[_0x2ca752(0x203)][_0x2ca752(0x2cf)](_0x504589);_0x3b9c7e&&(_0x3b9c7e[_0x2ca752(0x1c6)](_0x290495),(_0x441863=this[_0x2ca752(0x237)](_0x504589))==null||_0x441863[_0x2ca752(0x162)](_0x3b9c7e[_0x2ca752(0x146)]===0x0?_0x381b64[_0x2ca752(0x1a2)][_0x2ca752(0x155)]:_0x381b64[_0x2ca752(0x1a2)]['OTHER_CLIENTS_EDITING']));}),this[_0x443159(0xdc)](_0x290495);}[_0x30a38d(0x101)](_0x1906b6){const _0x30d55b=_0x30a38d;this[_0x30d55b(0x1b8)](_0x1906b6['memberID']);}[_0x30a38d(0xb9)](_0x452382){const _0x1903eb=_0x30a38d;localStorage[_0x1903eb(0x2d3)](_0x9ff7bb,JSON['stringify'](_0x452382));}['_scheduleHeartbeat'](){const _0x34b4ab=_0x30a38d;this['_heartbeatTimer']=window[_0x34b4ab(0x129)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x357f2d);}[_0x30a38d(0x237)](_0x486070){const _0x32fc13=_0x30a38d;return this[_0x32fc13(0x2fc)][_0x32fc13(0x2ea)](_0x486070)||this[_0x32fc13(0x2fc)][_0x32fc13(0x273)](_0x486070,new _0x54e142[(_0x32fc13(0x1aa))](_0x381b64[_0x32fc13(0x1a2)][_0x32fc13(0x155)])),this['_unitStatus'][_0x32fc13(0x2cf)](_0x486070);}}_0x36f152['IURLService']=_0x3040d7,_0x36f152['SheetCollabCursorShape']=_0x49abc9,_0x36f152[_0x30a38d(0x18e)]=_0x59f562,_0x36f152[_0x30a38d(0xdb)]=_0xf51b1,Object['defineProperty'](_0x36f152,Symbol['toStringTag'],{'value':_0x30a38d(0x14d)});}));
1
+ function _0x43db(_0x4842aa,_0x1c0e0c){const _0x419948=_0x4199();return _0x43db=function(_0x43db9c,_0x44ec98){_0x43db9c=_0x43db9c-0x1d5;let _0x3164ff=_0x419948[_0x43db9c];return _0x3164ff;},_0x43db(_0x4842aa,_0x1c0e0c);}(function(_0x2befa0,_0x532fdb){const _0x4e398c=_0x43db,_0x4ec39e=_0x2befa0();while(!![]){try{const _0x22b5eb=-parseInt(_0x4e398c(0x2ae))/0x1+-parseInt(_0x4e398c(0x2c7))/0x2*(-parseInt(_0x4e398c(0x44a))/0x3)+parseInt(_0x4e398c(0x395))/0x4+-parseInt(_0x4e398c(0x27e))/0x5*(-parseInt(_0x4e398c(0x3bc))/0x6)+parseInt(_0x4e398c(0x262))/0x7+-parseInt(_0x4e398c(0x363))/0x8+-parseInt(_0x4e398c(0x279))/0x9;if(_0x22b5eb===_0x532fdb)break;else _0x4ec39e['push'](_0x4ec39e['shift']());}catch(_0x40a0ba){_0x4ec39e['push'](_0x4ec39e['shift']());}}}(_0x4199,0x815d0),function(_0x52c667,_0x4c8fde){const _0x5059d4=_0x43db;typeof exports==_0x5059d4(0x2c1)&&typeof module<'u'?_0x4c8fde(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x5059d4(0x248)&&define[_0x5059d4(0x236)]?define([_0x5059d4(0x284),_0x5059d4(0x405),_0x5059d4(0x417),_0x5059d4(0x2b0),'@univerjs/ui',_0x5059d4(0x373),_0x5059d4(0x311),_0x5059d4(0x2ef),_0x5059d4(0x32b),_0x5059d4(0x2a9),_0x5059d4(0x443),'@univerjs/network',_0x5059d4(0x219),_0x5059d4(0x3c1),_0x5059d4(0x43c),_0x5059d4(0x41e),'@univerjs/engine-formula','rxjs/operators',_0x5059d4(0x2db)],_0x4c8fde):(_0x52c667=typeof globalThis<'u'?globalThis:_0x52c667||self,_0x4c8fde(_0x52c667[_0x5059d4(0x36d)]={},_0x52c667[_0x5059d4(0x462)],_0x52c667[_0x5059d4(0x37d)],_0x52c667[_0x5059d4(0x461)],_0x52c667[_0x5059d4(0x305)],_0x52c667[_0x5059d4(0x373)],_0x52c667[_0x5059d4(0x428)],_0x52c667['React'],_0x52c667[_0x5059d4(0x3c9)],_0x52c667['UniverSheets'],_0x52c667['UniverEngineRender'],_0x52c667[_0x5059d4(0x37a)],_0x52c667[_0x5059d4(0x26d)],_0x52c667[_0x5059d4(0x3ed)],_0x52c667[_0x5059d4(0x232)],_0x52c667['UniverDocs'],_0x52c667[_0x5059d4(0x2d3)],_0x52c667[_0x5059d4(0x373)]['operators'],_0x52c667['UniverSheetsUi']));}(this,function(_0x2245a1,_0x447c69,_0x1ac61a,_0x3d05ee,_0x1c4740,_0x353c21,_0xaeffda,_0x729dd1,_0x42cb63,_0x401d6b,_0x1eb76f,_0x4cfd05,_0x50ffa0,_0x372151,_0x4876d5,_0x427dab,_0x447c02,_0x41ab20,_0x316114){'use strict';const _0x52f010=_0x43db;var _0x4ffcaf=Object[_0x52f010(0x41c)],_0x2c9240=(_0x573270,_0x354886,_0x51c11c)=>_0x354886 in _0x573270?_0x4ffcaf(_0x573270,_0x354886,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x51c11c}):_0x573270[_0x354886]=_0x51c11c,_0x544075=(_0x44bb42,_0x4fcb7b,_0x9f012f)=>_0x2c9240(_0x44bb42,typeof _0x4fcb7b!='symbol'?_0x4fcb7b+'':_0x4fcb7b,_0x9f012f),_0x18b41f=function(){const _0x5801ab=_0x52f010;return _0x18b41f=Object[_0x5801ab(0x410)]||function(_0x2dc9ae){const _0x5a9f6e=_0x5801ab;for(var _0x329558,_0x20d20e=0x1,_0x2ebfe7=arguments[_0x5a9f6e(0x2d4)];_0x20d20e<_0x2ebfe7;_0x20d20e++){_0x329558=arguments[_0x20d20e];for(var _0x2b0dc5 in _0x329558)Object[_0x5a9f6e(0x415)]['hasOwnProperty'][_0x5a9f6e(0x302)](_0x329558,_0x2b0dc5)&&(_0x2dc9ae[_0x2b0dc5]=_0x329558[_0x2b0dc5]);}return _0x2dc9ae;},_0x18b41f[_0x5801ab(0x41a)](this,arguments);},_0x32c777=function(_0x45c59e,_0x22cde5){const _0x3e560f=_0x52f010;var _0x4c8a88={};for(var _0x3d2c60 in _0x45c59e)Object[_0x3e560f(0x415)][_0x3e560f(0x290)][_0x3e560f(0x302)](_0x45c59e,_0x3d2c60)&&_0x22cde5[_0x3e560f(0x296)](_0x3d2c60)<0x0&&(_0x4c8a88[_0x3d2c60]=_0x45c59e[_0x3d2c60]);if(_0x45c59e!=null&&typeof Object[_0x3e560f(0x45d)]=='function'){for(var _0x3681f1=0x0,_0x3d2c60=Object[_0x3e560f(0x45d)](_0x45c59e);_0x3681f1<_0x3d2c60['length'];_0x3681f1++)_0x22cde5[_0x3e560f(0x296)](_0x3d2c60[_0x3681f1])<0x0&&Object[_0x3e560f(0x415)][_0x3e560f(0x38d)]['call'](_0x45c59e,_0x3d2c60[_0x3681f1])&&(_0x4c8a88[_0x3d2c60[_0x3681f1]]=_0x45c59e[_0x3d2c60[_0x3681f1]]);}return _0x4c8a88;},_0x24443e=_0x729dd1[_0x52f010(0x2f7)](function(_0x5cba90,_0x4c6c8d){const _0x2c2e7a=_0x52f010;var _0xff7ef2=_0x5cba90[_0x2c2e7a(0x2e8)],_0x2187cb=_0x5cba90['id'],_0x47ea4f=_0x5cba90[_0x2c2e7a(0x35b)],_0x2eada9=_0x5cba90[_0x2c2e7a(0x369)],_0x130075=_0x32c777(_0x5cba90,['icon','id',_0x2c2e7a(0x35b),_0x2c2e7a(0x369)]),_0x5d50c3=_0x2c2e7a(0x3ef)[_0x2c2e7a(0x273)](_0x2187cb,'\x20')[_0x2c2e7a(0x273)](_0x47ea4f||'')['trim'](),_0x3ec332=_0x729dd1[_0x2c2e7a(0x299)]('_'[_0x2c2e7a(0x273)](_0x4cff3e()));return _0x497fc9(_0xff7ef2,''['concat'](_0x2187cb),{'defIds':_0xff7ef2[_0x2c2e7a(0x249)],'idSuffix':_0x3ec332[_0x2c2e7a(0x2ac)]},_0x18b41f({'ref':_0x4c6c8d,'className':_0x5d50c3},_0x130075),_0x2eada9);});function _0x497fc9(_0x32e82d,_0x2245b1,_0x5821db,_0x5772ae,_0x3016f4){const _0x4fe177=_0x52f010;return _0x729dd1[_0x4fe177(0x31f)](_0x32e82d[_0x4fe177(0x319)],_0x18b41f(_0x18b41f({'key':_0x2245b1},_0x554717(_0x32e82d,_0x5821db,_0x3016f4)),_0x5772ae),(_0x5315e3(_0x32e82d,_0x5821db)[_0x4fe177(0x230)]||[])['map'](function(_0x43c61d,_0x3eddd2){const _0x44bd38=_0x4fe177;return _0x497fc9(_0x43c61d,''[_0x44bd38(0x273)](_0x2245b1,'-')[_0x44bd38(0x273)](_0x32e82d[_0x44bd38(0x319)],'-')[_0x44bd38(0x273)](_0x3eddd2),_0x5821db,void 0x0,_0x3016f4);}));}function _0x554717(_0xf48a30,_0x255496,_0x1b4243){const _0x2617fd=_0x52f010;var _0x10ec7c=_0x18b41f({},_0xf48a30[_0x2617fd(0x24d)]);_0x1b4243!=null&&_0x1b4243['colorChannel1']&&_0x10ec7c['fill']===_0x2617fd(0x2c5)&&(_0x10ec7c['fill']=_0x1b4243[_0x2617fd(0x2c5)]),_0xf48a30[_0x2617fd(0x319)]===_0x2617fd(0x250)&&_0x10ec7c['id']&&(_0x10ec7c['id']=_0x10ec7c['id']+_0x255496[_0x2617fd(0x3b4)]),Object[_0x2617fd(0x25d)](_0x10ec7c)[_0x2617fd(0x2ce)](function(_0x3f1e3c){const _0x3d0672=_0x2617fd;var _0x568aae=_0x3f1e3c[0x0],_0x5f0eae=_0x3f1e3c[0x1];_0x568aae===_0x3d0672(0x250)&&typeof _0x5f0eae==_0x3d0672(0x339)&&(_0x10ec7c[_0x568aae]=_0x5f0eae['replace'](/url\(#(.*)\)/,_0x3d0672(0x37b)[_0x3d0672(0x273)](_0x255496['idSuffix'],')')));});var _0x222c56=_0x255496[_0x2617fd(0x249)];return!_0x222c56||_0x222c56[_0x2617fd(0x2d4)]===0x0||(_0xf48a30[_0x2617fd(0x319)]===_0x2617fd(0x242)&&_0x10ec7c[_0x2617fd(0x251)]&&(_0x10ec7c['xlink:href']=_0x10ec7c[_0x2617fd(0x251)]+_0x255496[_0x2617fd(0x3b4)]),Object[_0x2617fd(0x25d)](_0x10ec7c)['forEach'](function(_0x5eb728){const _0x47b3ca=_0x2617fd;var _0x563dec=_0x5eb728[0x0],_0x4768f0=_0x5eb728[0x1];typeof _0x4768f0=='string'&&(_0x10ec7c[_0x563dec]=_0x4768f0[_0x47b3ca(0x3ea)](/url\(#(.*)\)/,_0x47b3ca(0x37b)['concat'](_0x255496[_0x47b3ca(0x3b4)],')')));})),_0x10ec7c;}function _0x5315e3(_0x33a770,_0x28455b){const _0x374340=_0x52f010;var _0x16820e,_0x10e841=_0x28455b[_0x374340(0x249)];return!_0x10e841||_0x10e841['length']===0x0?_0x33a770:_0x33a770[_0x374340(0x319)]===_0x374340(0x268)&&(!((_0x16820e=_0x33a770[_0x374340(0x230)])===null||_0x16820e===void 0x0)&&_0x16820e[_0x374340(0x2d4)])?_0x18b41f(_0x18b41f({},_0x33a770),{'children':_0x33a770[_0x374340(0x230)][_0x374340(0x2c4)](function(_0x5117b1){const _0x19705d=_0x374340;return typeof _0x5117b1['attrs']['id']==_0x19705d(0x339)&&_0x10e841&&_0x10e841[_0x19705d(0x261)](_0x5117b1[_0x19705d(0x24d)]['id'])?_0x18b41f(_0x18b41f({},_0x5117b1),{'attrs':_0x18b41f(_0x18b41f({},_0x5117b1[_0x19705d(0x24d)]),{'id':_0x5117b1[_0x19705d(0x24d)]['id']+_0x28455b['idSuffix']})}):_0x5117b1;})}):_0x33a770;}function _0x4cff3e(){const _0xb21da9=_0x52f010;return Math[_0xb21da9(0x3a7)]()[_0xb21da9(0x434)](0x24)[_0xb21da9(0x2e0)](0x2,0x8);}_0x24443e['displayName']='UniverIcon';var _0x5cefde={'tag':_0x52f010(0x414),'attrs':{'xmlns':_0x52f010(0x46e),'fill':'none','viewBox':_0x52f010(0x422),'width':_0x52f010(0x1d8),'height':_0x52f010(0x1d8)},'children':[{'tag':'g','attrs':{'clipPath':_0x52f010(0x35a)},'children':[{'tag':_0x52f010(0x2b7),'attrs':{'stroke':'currentColor','d':_0x52f010(0x42d),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x52f010(0x367)},'children':[{'tag':_0x52f010(0x2b7),'attrs':{'fill':_0x52f010(0x2fb),'d':_0x52f010(0x28e)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x3c7f05=_0x729dd1[_0x52f010(0x2f7)](function(_0x540fc7,_0x5217f5){const _0x5ba635=_0x52f010;return _0x729dd1[_0x5ba635(0x31f)](_0x24443e,Object[_0x5ba635(0x410)]({},_0x540fc7,{'id':'off-line-icon','ref':_0x5217f5,'icon':_0x5cefde}));});_0x3c7f05[_0x52f010(0x451)]='OffLineIcon';var _0x4e410b={'tag':_0x52f010(0x414),'attrs':{'xmlns':_0x52f010(0x46e),'fill':_0x52f010(0x30d),'viewBox':_0x52f010(0x46b),'width':_0x52f010(0x1d8),'height':_0x52f010(0x1d8)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x52f010(0x2b7),'attrs':{'stroke':'currentColor','d':_0x52f010(0x1ef),'strokeLinecap':_0x52f010(0x347),'strokeLinejoin':_0x52f010(0x347),'strokeWidth':1.2}}]},{'tag':_0x52f010(0x268),'attrs':{},'children':[{'tag':_0x52f010(0x310),'attrs':{'id':_0x52f010(0x2df)},'children':[{'tag':'path','attrs':{'fill':_0x52f010(0x2fb),'d':'M0\x200H16V16H0z','transform':_0x52f010(0x26c)}}]}]}],'defIds':[_0x52f010(0x2df)]},_0x2e4b47=_0x729dd1[_0x52f010(0x2f7)](function(_0x5127fe,_0x3b246f){const _0x201cae=_0x52f010;return _0x729dd1[_0x201cae(0x31f)](_0x24443e,Object['assign']({},_0x5127fe,{'id':_0x201cae(0x386),'ref':_0x3b246f,'icon':_0x4e410b}));});_0x2e4b47[_0x52f010(0x451)]=_0x52f010(0x2c3);function _0x2544ea(_0xbfb6e9){const _0x66152e=_0x52f010;switch(_0xbfb6e9){case _0x1ac61a[_0x66152e(0x30b)]['OFFLINE']:return _0x66152e(0x2f0);case _0x1ac61a['CollaborationStatus']['CONFLICT']:return'collabStatus.conflict';case _0x1ac61a['CollaborationStatus'][_0x66152e(0x2e3)]:return _0x66152e(0x1ec);case _0x1ac61a[_0x66152e(0x30b)][_0x66152e(0x335)]:return _0x66152e(0x209);case _0x1ac61a[_0x66152e(0x30b)][_0x66152e(0x274)]:case _0x1ac61a[_0x66152e(0x30b)][_0x66152e(0x1e5)]:return _0x66152e(0x3df);case _0x1ac61a[_0x66152e(0x30b)][_0x66152e(0x308)]:case _0x1ac61a[_0x66152e(0x30b)][_0x66152e(0x1d7)]:return'collabStatus.synced';}}function _0x1864d4(_0x4166f6){const _0x4e8366=_0x52f010,{status$:_0x205d64}=_0x4166f6,_0x2a3bc1=_0x1c4740[_0x4e8366(0x28b)](_0x205d64,_0x1ac61a[_0x4e8366(0x30b)][_0x4e8366(0x335)]),_0x1b1a27=_0x1c4740['useDependency'](_0x3d05ee[_0x4e8366(0x2a2)]),_0xf6062c=_0x1c4740[_0x4e8366(0x28c)](_0x1ac61a[_0x4e8366(0x265)]),_0x595443=_0x2a3bc1!==_0x1ac61a['CollaborationStatus'][_0x4e8366(0x206)],_0x21314c=_0x1b1a27['t'](_0x2544ea(_0x2a3bc1)),_0xda432b=_0x595443?_0x447c69[_0x4e8366(0x22a)](_0x2e4b47,{}):_0x447c69[_0x4e8366(0x22a)](_0x3c7f05,{}),_0x5ee5b6=_0x729dd1[_0x4e8366(0x269)](()=>{_0x595443||_0xf6062c['reconnect']();},[_0x595443,_0xf6062c]);function _0x2e7e44(){const _0x32625e=_0x4e8366;return _0x447c69[_0x32625e(0x288)](_0x32625e(0x390),{'className':_0x32625e(0x3c3),'onClick':_0x5ee5b6,'children':[_0x447c69['jsx'](_0x32625e(0x390),{'className':_0xaeffda['clsx'](_0x32625e(0x2eb),{'univer-text-green-500':_0x595443,'univer-text-red-500':!_0x595443}),'children':_0xda432b}),_0x447c69[_0x32625e(0x22a)](_0x32625e(0x390),{'className':_0x32625e(0x247),'children':_0x21314c})]});}return _0x595443?_0x2e7e44():_0x447c69['jsx'](_0xaeffda[_0x4e8366(0x2d2)],{'title':_0x1b1a27['t'](_0x4e8366(0x416)),'children':_0x2e7e44()});}var _0xe6669b=Object[_0x52f010(0x3d4)],_0x5a169c=(_0x81bf31,_0x221eaa,_0x1c89d0,_0x142ba5)=>{const _0x334a30=_0x52f010;for(var _0x22ff16=_0x142ba5>0x1?void 0x0:_0x142ba5?_0xe6669b(_0x221eaa,_0x1c89d0):_0x221eaa,_0x1bb55a=_0x81bf31[_0x334a30(0x2d4)]-0x1,_0x5447a6;_0x1bb55a>=0x0;_0x1bb55a--)(_0x5447a6=_0x81bf31[_0x1bb55a])&&(_0x22ff16=_0x5447a6(_0x22ff16)||_0x22ff16);return _0x22ff16;},_0x17c005=(_0x658c53,_0x283e6c)=>(_0x3cefc7,_0x1482bd)=>_0x283e6c(_0x3cefc7,_0x1482bd,_0x658c53);_0x2245a1[_0x52f010(0x42f)]=class extends _0x3d05ee[_0x52f010(0x3d6)]{constructor(_0x35b5dd,_0xba616d,_0x17931d,_0xa686da){const _0xe79239=_0x52f010;super(),_0x544075(this,_0xe79239(0x2f4),new _0x353c21['BehaviorSubject'](_0x1ac61a[_0xe79239(0x30b)][_0xe79239(0x335)])),(this[_0xe79239(0x40e)]=_0x35b5dd,this[_0xe79239(0x2c9)]=_0xba616d,this[_0xe79239(0x445)]=_0x17931d,this[_0xe79239(0x35d)]=_0xa686da,this[_0xe79239(0x3fe)](),this[_0xe79239(0x44f)]());}[_0x52f010(0x44f)](){const _0x5c42d2=_0x52f010;this['disposeWithMe'](this[_0x5c42d2(0x40e)][_0x5c42d2(0x25e)][_0x5c42d2(0x38c)](_0x353c21[_0x5c42d2(0x2af)](()=>{const _0x28d292=_0x5c42d2,_0x28c4e7=this['_univerInstanceService'][_0x28d292(0x218)]();return _0x28c4e7?this['_collaborationController'][_0x28d292(0x3b9)](_0x28c4e7[_0x28d292(0x272)]()):_0x353c21['of'](null);}),_0x353c21[_0x5c42d2(0x2af)](_0x537322=>_0x537322?_0x537322[_0x5c42d2(0x2d9)]:_0x353c21['of'](_0x1ac61a['CollaborationStatus']['NOT_COLLAB'])))['subscribe'](_0x58215f=>{const _0xce6e4e=_0x5c42d2;this[_0xce6e4e(0x2f4)][_0xce6e4e(0x1fd)](_0x58215f);}));}[_0x52f010(0x3fe)](){const _0x327aaa=_0x52f010;this[_0x327aaa(0x2ba)](this[_0x327aaa(0x35d)][_0x327aaa(0x40f)](_0x1c4740[_0x327aaa(0x34e)]['HEADER_MENU'],()=>_0x1c4740[_0x327aaa(0x2fe)](_0x5e1139({'status$':this['_status$'][_0x327aaa(0x46d)]()}),this['_injector'])));}},_0x2245a1[_0x52f010(0x42f)]=_0x5a169c([_0x17c005(0x0,_0x3d05ee['IUniverInstanceService']),_0x17c005(0x1,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x316)])),_0x17c005(0x2,_0x3d05ee['Inject'](_0x1ac61a[_0x52f010(0x315)])),_0x17c005(0x3,_0x1c4740['IUIPartsService'])],_0x2245a1[_0x52f010(0x42f)]);function _0x5e1139(_0x373e59){const {status$:_0x3c6684}=_0x373e59;return function(){const _0x1c2737=_0x43db;return _0x447c69[_0x1c2737(0x22a)](_0x1864d4,{'status$':_0x3c6684});};}const _0x40ca0b=_0x3d05ee[_0x52f010(0x43d)]('uni.network.url-service');var _0x5316cc=Object[_0x52f010(0x3d4)],_0x4e7f63=(_0x58f83d,_0x404526,_0x5d15f9,_0x437e6f)=>{const _0x5edce6=_0x52f010;for(var _0x101952=_0x437e6f>0x1?void 0x0:_0x437e6f?_0x5316cc(_0x404526,_0x5d15f9):_0x404526,_0x30ed1d=_0x58f83d[_0x5edce6(0x2d4)]-0x1,_0x2a2fbf;_0x30ed1d>=0x0;_0x30ed1d--)(_0x2a2fbf=_0x58f83d[_0x30ed1d])&&(_0x101952=_0x2a2fbf(_0x101952)||_0x101952);return _0x101952;},_0x25cda5=(_0x1ae7fb,_0x2a213e)=>(_0x344259,_0x58b2fb)=>_0x2a213e(_0x344259,_0x58b2fb,_0x1ae7fb);_0x2245a1[_0x52f010(0x364)]=class extends _0x3d05ee['RxDisposable']{constructor(_0x3eda1f,_0x429d9b,_0x1a4291,_0x55f2f5,_0x8a46c){const _0x434a40=_0x52f010;super(),this[_0x434a40(0x3d9)]=_0x3eda1f,this[_0x434a40(0x456)]=_0x429d9b,this['_commandService']=_0x1a4291,this[_0x434a40(0x454)]=_0x55f2f5,_0x8a46c?_0x8a46c==null||_0x8a46c[_0x434a40(0x298)]()[_0x434a40(0x277)](()=>this[_0x434a40(0x36a)]()):(this[_0x434a40(0x456)]['debug']('[CollaborationDataLoaderController]',_0x434a40(0x40d)),this[_0x434a40(0x36a)]());}async['_init'](){const _0x5977f0=_0x52f010,_0x336a67=this[_0x5977f0(0x3d9)][_0x5977f0(0x3e1)](_0x5977f0(0x293)),_0xd1306e=this['_urlService'][_0x5977f0(0x3e1)](_0x5977f0(0x39d)),_0x44c931=this['_urlService'][_0x5977f0(0x3e1)](_0x5977f0(0x270));if(!_0x336a67||!_0xd1306e){this[_0x5977f0(0x456)][_0x5977f0(0x3e7)](_0x5977f0(0x379),_0x5977f0(0x406));return;}const _0x322504=await this['_dataLoaderService'][_0x5977f0(0x276)](_0x336a67,Number(_0xd1306e),_0x44c931);_0x322504&&_0x322504 instanceof _0x3d05ee['Workbook']&&this[_0x5977f0(0x436)](_0x322504);}async[_0x52f010(0x436)](_0x4cde0d){const _0x41fd9c=_0x52f010;await this['_updateSubUnitFromURLParams'](_0x4cde0d),_0x4cde0d['activeSheet$'][_0x41fd9c(0x38c)](_0x353c21[_0x41fd9c(0x25f)](this['dispose$']))[_0x41fd9c(0x222)](_0x1390b4=>{const _0x23df47=_0x41fd9c;_0x1390b4&&this[_0x23df47(0x2f9)](_0x1390b4);}),this[_0x41fd9c(0x3d9)][_0x41fd9c(0x38f)][_0x41fd9c(0x38c)](_0x353c21['takeUntil'](this[_0x41fd9c(0x43b)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x4cde0d));}[_0x52f010(0x2f9)](_0x543b4e,_0x2fe301=!0x1){const _0x3cce6f=_0x52f010,_0x59f1fc=this[_0x3cce6f(0x3d9)][_0x3cce6f(0x3e1)]('subunit');_0x543b4e[_0x3cce6f(0x399)]()!==_0x59f1fc&&this[_0x3cce6f(0x3d9)][_0x3cce6f(0x40a)](_0x3cce6f(0x270),_0x543b4e[_0x3cce6f(0x399)](),_0x2fe301);}async[_0x52f010(0x43e)](_0x2b3d00){const _0x5dbee9=_0x52f010;var _0x4fe502;const _0x97ff66=this[_0x5dbee9(0x3d9)][_0x5dbee9(0x3e1)]('subunit');if(!_0x97ff66||!_0x2b3d00[_0x5dbee9(0x3b6)](_0x97ff66)){const _0x51ea04=_0x2b3d00[_0x5dbee9(0x204)]()[0x0],_0xb12f23=_0x2b3d00[_0x5dbee9(0x3b6)](_0x51ea04);if(!_0xb12f23)return;this[_0x5dbee9(0x2f9)](_0xb12f23,!0x0),await this['_commandService'][_0x5dbee9(0x3cd)](_0x401d6b[_0x5dbee9(0x278)]['id'],{'unitId':_0x2b3d00['getUnitId'](),'subUnitId':_0x51ea04});return;}((_0x4fe502=_0x2b3d00['getActiveSheet']())==null?void 0x0:_0x4fe502[_0x5dbee9(0x399)]())!==_0x97ff66&&await this[_0x5dbee9(0x448)][_0x5dbee9(0x3cd)](_0x401d6b[_0x5dbee9(0x278)]['id'],{'unitId':_0x2b3d00[_0x5dbee9(0x272)](),'subUnitId':_0x97ff66});}},_0x2245a1[_0x52f010(0x364)]=_0x4e7f63([_0x25cda5(0x0,_0x40ca0b),_0x25cda5(0x1,_0x3d05ee[_0x52f010(0x3ae)]),_0x25cda5(0x2,_0x3d05ee[_0x52f010(0x375)]),_0x25cda5(0x3,_0x3d05ee[_0x52f010(0x1e7)](_0x1ac61a[_0x52f010(0x27d)])),_0x25cda5(0x4,_0x3d05ee[_0x52f010(0x452)](_0x42cb63[_0x52f010(0x3a0)]))],_0x2245a1[_0x52f010(0x364)]);var _0x3689ae=Object[_0x52f010(0x3d4)],_0x2c9bfd=(_0x97b461,_0x2df871,_0x4f7277,_0x1899ff)=>{for(var _0x3d7073=_0x1899ff>0x1?void 0x0:_0x1899ff?_0x3689ae(_0x2df871,_0x4f7277):_0x2df871,_0x15afeb=_0x97b461['length']-0x1,_0x313da3;_0x15afeb>=0x0;_0x15afeb--)(_0x313da3=_0x97b461[_0x15afeb])&&(_0x3d7073=_0x313da3(_0x3d7073)||_0x3d7073);return _0x3d7073;},_0x40b5cf=(_0x1a0b7b,_0x430e80)=>(_0x418d60,_0x55bccf)=>_0x430e80(_0x418d60,_0x55bccf,_0x1a0b7b);let _0x2d6ba0=class extends _0x3d05ee[_0x52f010(0x442)]{constructor(_0x337705,_0x54034c){const _0x44308e=_0x52f010;super(),this[_0x44308e(0x1e4)]=_0x337705,this[_0x44308e(0x258)]=_0x54034c,this['_init']();}[_0x52f010(0x36a)](){const _0x4041b5=_0x52f010,_0x5bd3db=this;this[_0x4041b5(0x2ba)](this[_0x4041b5(0x1e4)][_0x4041b5(0x1f9)]({'onBeforePasteImage':async _0x1f6202=>{const _0x135e60=_0x4041b5,_0x43ec66=await _0x5bd3db[_0x135e60(0x258)]['saveImage'](_0x1f6202);return _0x43ec66?{'source':_0x43ec66[_0x135e60(0x384)],'imageSourceType':_0x43ec66[_0x135e60(0x259)]}:null;}}));}};_0x2d6ba0=_0x2c9bfd([_0x40b5cf(0x0,_0x50ffa0[_0x52f010(0x24f)]),_0x40b5cf(0x1,_0x372151[_0x52f010(0x22c)])],_0x2d6ba0);const _0x5e8ada=[_0x52f010(0x31b),_0x52f010(0x3ab),_0x52f010(0x271),'red.300','blue.400',_0x52f010(0x38a)];class _0x27e238 extends _0x3d05ee[_0x52f010(0x3d6)]{constructor(){const _0x413236=_0x52f010;super(...arguments),_0x544075(this,_0x413236(0x3a3),new Map()),_0x544075(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x173b69){const _0x35f2d6=_0x52f010;if(this[_0x35f2d6(0x3a3)][_0x35f2d6(0x350)](_0x173b69))return this[_0x35f2d6(0x3a3)][_0x35f2d6(0x25b)](_0x173b69);const _0x5b4fc9=_0x5e8ada[this[_0x35f2d6(0x460)]];return this[_0x35f2d6(0x460)]=(this[_0x35f2d6(0x460)]+0x1)%_0x5e8ada[_0x35f2d6(0x2d4)],this[_0x35f2d6(0x3a3)][_0x35f2d6(0x3f1)](_0x173b69,_0x5b4fc9),_0x5b4fc9;}}function _0x328dc8(_0x2de6ec){const _0x5c306e=_0x52f010;let _0xfabcc1='';for(const _0x1d6b65 of _0x2de6ec){const {startOffset:_0x4cf36a,endOffset:_0x2af8b3,isActive:_0x1c589b,rangeType:_0x4b3644,segmentId:_0x3b1dd1,segmentPage:_0x4dd824}=_0x1d6b65;_0xfabcc1[_0x5c306e(0x2d4)]&&(_0xfabcc1+=','),_0xfabcc1+=_0x4cf36a+':'+_0x2af8b3+':'+(_0x1c589b?'1':'0')+':'+_0x4b3644+':'+_0x3b1dd1+':'+_0x4dd824;}return _0xfabcc1;}function _0x15082b(_0x1f7d58){const _0x3665c6=_0x52f010,_0x467c24=_0x1f7d58[_0x3665c6(0x3bb)](','),_0x5277af=[];for(const _0x1144cb of _0x467c24){const [_0x423693,_0x45ec85,_0x24ee3a,_0x5df098,_0x4aa5b9,_0x3b43f2]=_0x1144cb[_0x3665c6(0x3bb)](':');_0x5277af[_0x3665c6(0x404)]({'startOffset':Number(_0x423693),'endOffset':Number(_0x45ec85),'collapsed':_0x423693===_0x45ec85,'isActive':_0x24ee3a==='1','rangeType':_0x5df098===_0x3d05ee[_0x3665c6(0x368)][_0x3665c6(0x304)]?_0x3d05ee[_0x3665c6(0x368)][_0x3665c6(0x304)]:_0x3d05ee[_0x3665c6(0x368)]['RECT'],'segmentId':typeof _0x4aa5b9==_0x3665c6(0x339)?String(_0x4aa5b9):'','segmentPage':Number(_0x3b43f2!=null?_0x3b43f2:-0x1)});}return _0x5277af['some'](_0x5c3f75=>_0x5c3f75['isActive'])||(_0x5277af[0x0]['isActive']=!0x0),_0x5277af;}class _0x4e98a8 extends _0x3d05ee['RxDisposable']{constructor(){const _0x3368da=_0x52f010;super(...arguments),_0x544075(this,'_collabCursorState$',new _0x353c21[(_0x3368da(0x411))](null)),_0x544075(this,_0x3368da(0x327),this[_0x3368da(0x20d)][_0x3368da(0x46d)]());}[_0x52f010(0x2e1)](_0x1d9826){const _0x591e9e=_0x52f010,{unitID:_0x2f8022,memberID:_0x7889f6,textRanges:_0x406d59}=_0x1d9826,_0x3f6bee=_0x328dc8(_0x406d59);if(_0x3f6bee==='')return;const _0x414d5b={'unitID':_0x2f8022,'memberID':_0x7889f6,'selection':_0x3f6bee};this['_collabCursorState$'][_0x591e9e(0x1fd)](_0x414d5b);}}var _0x30c976=Object[_0x52f010(0x3d4)],_0x285bee=(_0x2adb23,_0xb8cdfe,_0x262f73,_0xc23f4a)=>{const _0x3505e2=_0x52f010;for(var _0x48971b=_0xc23f4a>0x1?void 0x0:_0xc23f4a?_0x30c976(_0xb8cdfe,_0x262f73):_0xb8cdfe,_0x56cbaf=_0x2adb23[_0x3505e2(0x2d4)]-0x1,_0x447ee9;_0x56cbaf>=0x0;_0x56cbaf--)(_0x447ee9=_0x2adb23[_0x56cbaf])&&(_0x48971b=_0x447ee9(_0x48971b)||_0x48971b);return _0x48971b;},_0x2b1627=(_0x40e525,_0x2ec84b)=>(_0x1f09da,_0x53f746)=>_0x2ec84b(_0x1f09da,_0x53f746,_0x40e525);const _0x272ace=0x12c,_0x346fd=0x64;let _0x35be9d=class extends _0x3d05ee[_0x52f010(0x442)]{constructor(_0x3a8caf,_0x27860a,_0x3dbb12,_0x37cb73,_0x4a8800,_0x1e0df8,_0x2446c9,_0x5df840,_0x448fe3){const _0x569b38=_0x52f010;super(),_0x544075(this,'_online',!0x1),_0x544075(this,'_init',!0x1),_0x544075(this,_0x569b38(0x3dd),new _0x353c21[(_0x569b38(0x411))](new Map())),_0x544075(this,'cursorInfo$',this[_0x569b38(0x3dd)]['asObservable']()),_0x544075(this,_0x569b38(0x21a),new _0x353c21['BehaviorSubject']([])),_0x544075(this,_0x569b38(0x34a),this[_0x569b38(0x21a)][_0x569b38(0x38c)](_0x353c21[_0x569b38(0x33d)](_0x272ace))),_0x544075(this,_0x569b38(0x40b),_0x3d05ee[_0x569b38(0x46a)](_0x3317df=>{const _0x254c55=_0x569b38,_0x39a4ba={'eventID':_0x4876d5[_0x254c55(0x2d1)][_0x254c55(0x256)],'data':{'unitID':this[_0x254c55(0x412)],'memberID':this[_0x254c55(0x27a)][_0x254c55(0x360)](),'selection':_0x328dc8(_0x3317df)}};this[_0x254c55(0x27a)][_0x254c55(0x1e1)](_0x39a4ba,this[_0x254c55(0x412)]);},_0x346fd)),(this[_0x569b38(0x412)]=_0x3a8caf,this[_0x569b38(0x27a)]=_0x27860a,this[_0x569b38(0x2c9)]=_0x3dbb12,this[_0x569b38(0x238)]=_0x37cb73,this['_memberService']=_0x4a8800,this[_0x569b38(0x2c8)]=_0x1e0df8,this[_0x569b38(0x27f)]=_0x2446c9,this['_univerInstanceService']=_0x5df840,this['_commandService']=_0x448fe3);}get['cursorInfo'](){const _0x124c31=_0x52f010;return this[_0x124c31(0x3dd)]['getValue']();}get['roomMembers'](){const _0x5890d8=_0x52f010;return this[_0x5890d8(0x21a)]['getValue']();}['dispose'](){const _0x3352e8=_0x52f010;super[_0x3352e8(0x244)](),this['_cursorInfo$'][_0x3352e8(0x1fd)](new Map()),this['_cursorInfo$'][_0x3352e8(0x237)](),this[_0x3352e8(0x21a)]['next']([]),this['_roomMembers$'][_0x3352e8(0x237)]();}[_0x52f010(0x39b)](){const _0x13c467=_0x52f010;this[_0x13c467(0x36a)]||(this[_0x13c467(0x36a)]=!0x0,this['_session'][_0x13c467(0x1dc)][_0x13c467(0x38c)](_0x353c21[_0x13c467(0x25f)](this['dispose$']))[_0x13c467(0x222)](_0x534371=>{const _0x4a95e5=_0x13c467;_0x534371===_0x1ac61a[_0x4a95e5(0x20e)]['ONLINE']?this[_0x4a95e5(0x3b2)]():this[_0x4a95e5(0x1f5)]();}),this['_session'][_0x13c467(0x444)][_0x13c467(0x38c)](_0x353c21[_0x13c467(0x25f)](this[_0x13c467(0x43b)]))[_0x13c467(0x222)](_0x294c71=>{const _0xec7056=_0x13c467,_0x4f863f=_0x294c71['eventID'];_0x4f863f===_0x4876d5[_0xec7056(0x2d1)][_0xec7056(0x256)]&&this[_0xec7056(0x391)](_0x294c71),_0x4f863f===_0x4876d5[_0xec7056(0x2d1)][_0xec7056(0x362)]&&this['_onCursorDelete'](_0x294c71);}),this[_0x13c467(0x2ba)](this[_0x13c467(0x448)][_0x13c467(0x2d7)](_0xa55485=>{const _0x26c366=_0x13c467,_0x569763=_0xa55485[_0x26c366(0x21c)];_0x569763!=null&&this[_0x26c366(0x26b)]&&_0xa55485['id']===_0x427dab[_0x26c366(0x3c7)]['id']&&_0x569763[_0x26c366(0x32e)]===this[_0x26c366(0x412)]&&_0x569763['isEditing']===!0x1&&_0x569763[_0x26c366(0x313)][_0x26c366(0x2d4)]>0x0&&this['_updateLocalCursor'](_0x569763[_0x26c366(0x313)]);})),this[_0x13c467(0x2c8)][_0x13c467(0x327)][_0x13c467(0x38c)](_0x353c21['takeUntil'](this[_0x13c467(0x43b)]))['subscribe'](_0x169b0a=>{const _0x4a6532=_0x13c467;if((_0x169b0a==null?void 0x0:_0x169b0a['unitID'])!==this[_0x4a6532(0x412)])return;const _0x36c6a9={'eventID':_0x4876d5['CollaborationEvent'][_0x4a6532(0x256)],'data':_0x169b0a};this[_0x4a6532(0x391)](_0x36c6a9);}),this[_0x13c467(0x2ba)](this[_0x13c467(0x448)][_0x13c467(0x2d7)](_0x105f4e=>{const _0xc7007=_0x13c467;if(_0x105f4e[_0xc7007(0x21c)]==null)return;const _0xf5004b=_0x105f4e['params'];if(_0x105f4e['id']!==_0x427dab[_0xc7007(0x223)]['id']||_0xf5004b['unitId']!==this['unitID'])return;const _0xa4eeae={'id':_0xc7007(0x23d),'params':_0xf5004b},_0x57f9f1=this[_0xc7007(0x267)];for(const [_0x1faacc,_0x2253ec]of _0x57f9f1){const _0x25877c={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0xc7007(0x412)],'actions':null,'textRanges':_0x2253ec['ranges']}},_0x5313c4=this[_0xc7007(0x27f)]['transformMutation'](_0xa4eeae,_0x25877c,!0x1);if(_0x4876d5[_0xc7007(0x453)](_0x5313c4))throw _0x5313c4[_0xc7007(0x1e8)];_0x57f9f1[_0xc7007(0x3f1)](_0x1faacc,{..._0x2253ec,'ranges':_0x5313c4[_0xc7007(0x43f)][_0xc7007(0x21c)][_0xc7007(0x301)]});}queueMicrotask(()=>{const _0x564796=_0xc7007;this[_0x564796(0x3dd)][_0x564796(0x1fd)](_0x57f9f1);});})));}[_0x52f010(0x391)](_0x2402bc){const _0x473119=_0x52f010;var _0x4e69b7,_0x2d0453;const {memberID:_0x26f856,selection:_0x286d04}=_0x2402bc[_0x473119(0x3f9)],_0x514126=_0x15082b(_0x286d04),_0x39d969=(_0x2d0453=(_0x4e69b7=this[_0x473119(0x2e7)][_0x473119(0x2b2)](this[_0x473119(0x412)],_0x26f856))==null?void 0x0:_0x4e69b7[_0x473119(0x234)])!=null?_0x2d0453:_0x473119(0x2a6),_0x5da18e={'color':this[_0x473119(0x238)][_0x473119(0x387)](_0x26f856),'name':_0x39d969,'ranges':_0x514126},_0x3dee3f=this[_0x473119(0x267)];_0x3dee3f['set'](_0x26f856,_0x5da18e),this[_0x473119(0x3dd)]['next'](_0x3dee3f);}[_0x52f010(0x3c6)](_0x3405e5){const _0x55c0d5=_0x52f010,{memberID:_0x4142c1}=_0x3405e5[_0x55c0d5(0x3f9)],_0x51903d=this['cursorInfo'];_0x51903d[_0x55c0d5(0x3d1)](_0x4142c1),this[_0x55c0d5(0x3dd)][_0x55c0d5(0x1fd)](_0x51903d);}['_toggleOnline'](){const _0x20879c=_0x52f010;var _0x1d2b92;if(this[_0x20879c(0x26b)]=!0x0,((_0x1d2b92=this[_0x20879c(0x40e)]['getFocusedUnit']())==null?void 0x0:_0x1d2b92[_0x20879c(0x272)]())!==this['unitID'])return;const _0x88e9e7=this[_0x20879c(0x2c9)][_0x20879c(0x25b)](_0x427dab[_0x20879c(0x1d5)])[_0x20879c(0x36b)]();Array[_0x20879c(0x3fb)](_0x88e9e7)&&_0x88e9e7['length']>0x0&&this[_0x20879c(0x40b)](_0x88e9e7);}['_toggleOffline'](){const _0x2f29dc=_0x52f010;this[_0x2f29dc(0x26b)]=!0x1;}};_0x35be9d=_0x285bee([_0x2b1627(0x2,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x316)])),_0x2b1627(0x3,_0x3d05ee[_0x52f010(0x1e7)](_0x27e238)),_0x2b1627(0x4,_0x3d05ee['Inject'](_0x1ac61a[_0x52f010(0x24b)])),_0x2b1627(0x5,_0x3d05ee[_0x52f010(0x1e7)](_0x4e98a8)),_0x2b1627(0x6,_0x4876d5[_0x52f010(0x1dd)]),_0x2b1627(0x7,_0x3d05ee[_0x52f010(0x365)]),_0x2b1627(0x8,_0x3d05ee[_0x52f010(0x375)])],_0x35be9d);var _0x4b6a17=Object['getOwnPropertyDescriptor'],_0x7a6911=(_0x1e4ef9,_0x552467,_0x4cfecf,_0x3ea00f)=>{const _0x43ccf0=_0x52f010;for(var _0x4b2431=_0x3ea00f>0x1?void 0x0:_0x3ea00f?_0x4b6a17(_0x552467,_0x4cfecf):_0x552467,_0x5c95b4=_0x1e4ef9[_0x43ccf0(0x2d4)]-0x1,_0x3bf6b8;_0x5c95b4>=0x0;_0x5c95b4--)(_0x3bf6b8=_0x1e4ef9[_0x5c95b4])&&(_0x4b2431=_0x3bf6b8(_0x4b2431)||_0x4b2431);return _0x4b2431;},_0x407587=(_0x477b97,_0x568aea)=>(_0x1673a6,_0x30e05b)=>_0x568aea(_0x1673a6,_0x30e05b,_0x477b97);const _0x478ef6=0x12c,_0x22bf90=0x64,_0x286b72=()=>{let _0x57651e=[],_0x390ad1=!0x1;return _0x3d56e1=>{const _0x19f1cc=_0x43db;_0x57651e[_0x19f1cc(0x404)](_0x3d56e1),_0x390ad1||(_0x390ad1=!0x0,setTimeout(()=>{const _0x1a2d55=_0x19f1cc;_0x57651e[_0x1a2d55(0x2ce)](_0x4480c4=>_0x4480c4()),_0x57651e=[],_0x390ad1=!0x1;}));};};let _0x283ab6=class extends _0x3d05ee['RxDisposable']{constructor(_0x101195,_0x33d840,_0x12aad3,_0x18f985,_0x3f698b,_0x2b2abd,_0x1934e7,_0x10a5b6){const _0x5dd1da=_0x52f010;super(),_0x544075(this,_0x5dd1da(0x26b),!0x1),_0x544075(this,_0x5dd1da(0x36a),!0x1),_0x544075(this,_0x5dd1da(0x3dd),new _0x353c21['BehaviorSubject'](new Map())),_0x544075(this,_0x5dd1da(0x3c5),this['_cursorInfo$'][_0x5dd1da(0x46d)]()),_0x544075(this,_0x5dd1da(0x21a),new _0x353c21['BehaviorSubject']([])),_0x544075(this,_0x5dd1da(0x34a),this[_0x5dd1da(0x21a)][_0x5dd1da(0x38c)](_0x353c21[_0x5dd1da(0x33d)](_0x478ef6))),_0x544075(this,_0x5dd1da(0x40b),_0x3d05ee[_0x5dd1da(0x46a)]((_0x5d30c6,_0x52990a)=>{const _0x2dfe87=_0x5dd1da,_0x58b5ac={'eventID':_0x4876d5['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x2dfe87(0x412)],'memberID':this[_0x2dfe87(0x27a)][_0x2dfe87(0x360)](),'selection':_0x447c02['serializeRangeWithSheet'](_0x5d30c6,_0x52990a[_0x2dfe87(0x3fd)])}};this[_0x2dfe87(0x27a)]['send'](_0x58b5ac,this['unitID']);},_0x22bf90)),(this[_0x5dd1da(0x412)]=_0x101195,this['_session']=_0x33d840,this[_0x5dd1da(0x2c9)]=_0x12aad3,this[_0x5dd1da(0x238)]=_0x18f985,this[_0x5dd1da(0x2e7)]=_0x3f698b,this[_0x5dd1da(0x40e)]=_0x2b2abd,this[_0x5dd1da(0x448)]=_0x1934e7,this[_0x5dd1da(0x427)]=_0x10a5b6);}get[_0x52f010(0x267)](){const _0x5734f3=_0x52f010;return this[_0x5734f3(0x3dd)][_0x5734f3(0x3a4)]();}get[_0x52f010(0x338)](){const _0x4e32a1=_0x52f010;return this[_0x4e32a1(0x21a)][_0x4e32a1(0x3a4)]();}['dispose'](){const _0x6a77f2=_0x52f010;super['dispose'](),this[_0x6a77f2(0x3dd)][_0x6a77f2(0x1fd)](new Map()),this[_0x6a77f2(0x3dd)][_0x6a77f2(0x237)](),this[_0x6a77f2(0x21a)][_0x6a77f2(0x1fd)]([]),this[_0x6a77f2(0x21a)]['complete']();}['init'](){const _0x3cd749=_0x52f010;this[_0x3cd749(0x36a)]||(this[_0x3cd749(0x36a)]=!0x0,this[_0x3cd749(0x27a)][_0x3cd749(0x1dc)]['pipe'](_0x353c21[_0x3cd749(0x25f)](this[_0x3cd749(0x43b)]))[_0x3cd749(0x222)](_0x1a0e7c=>{const _0x1d5cd8=_0x3cd749;_0x1a0e7c===_0x1ac61a[_0x1d5cd8(0x20e)]['ONLINE']?this[_0x1d5cd8(0x3b2)]():this['_toggleOffline']();}),this[_0x3cd749(0x27a)]['event$']['pipe'](_0x353c21['takeUntil'](this[_0x3cd749(0x43b)]))[_0x3cd749(0x222)](_0x4d394b=>{const _0x180512=_0x3cd749,_0x278b5c=_0x4d394b[_0x180512(0x397)];_0x278b5c===_0x4876d5[_0x180512(0x2d1)][_0x180512(0x256)]&&this['_onCursorUpdate'](_0x4d394b),_0x278b5c===_0x4876d5[_0x180512(0x2d1)][_0x180512(0x362)]&&this[_0x180512(0x3c6)](_0x4d394b);}),this[_0x3cd749(0x329)](),this[_0x3cd749(0x2ba)](this[_0x3cd749(0x448)][_0x3cd749(0x2d7)](_0x4c8f23=>{const _0xe37091=_0x3cd749;if(this['_online']&&_0x4c8f23['id']===_0x401d6b['SetSelectionsOperation']['id']&&_0x4c8f23['params'][_0xe37091(0x32e)]===this[_0xe37091(0x412)]){const _0x2eb286=_0x4c8f23[_0xe37091(0x21c)];this[_0xe37091(0x40b)](_0x2eb286[_0xe37091(0x3a9)],_0x2eb286['selections'][0x0]);}})));}[_0x52f010(0x391)](_0xb6367b){const _0x9b0bf5=_0x52f010;var _0x1754e7,_0x2863dd;const {memberID:_0x551eaa,selection:_0x50f6dc}=_0xb6367b[_0x9b0bf5(0x3f9)],{sheetName:_0x4f4eaa,range:_0x534fdc}=_0x447c02['deserializeRangeWithSheet'](_0x50f6dc),_0x1f794b={'name':(_0x2863dd=(_0x1754e7=this[_0x9b0bf5(0x2e7)][_0x9b0bf5(0x2b2)](this[_0x9b0bf5(0x412)],_0x551eaa))==null?void 0x0:_0x1754e7['name'])!=null?_0x2863dd:_0x9b0bf5(0x2a6),'range':this[_0x9b0bf5(0x21b)](_0x4f4eaa,_0x534fdc),'sheetID':_0x4f4eaa,'color':this[_0x9b0bf5(0x238)][_0x9b0bf5(0x387)](_0x551eaa),'selection':_0x50f6dc},_0x519937=this[_0x9b0bf5(0x267)];_0x519937[_0x9b0bf5(0x3f1)](_0x551eaa,_0x1f794b),this[_0x9b0bf5(0x3dd)][_0x9b0bf5(0x1fd)](_0x519937);}[_0x52f010(0x3c6)](_0x1830fd){const _0x57f6cc=_0x52f010,{memberID:_0x2481e5}=_0x1830fd[_0x57f6cc(0x3f9)],_0x19519d=this[_0x57f6cc(0x267)];_0x19519d['delete'](_0x2481e5),this[_0x57f6cc(0x3dd)][_0x57f6cc(0x1fd)](_0x19519d);}[_0x52f010(0x21b)](_0x3d152f,_0x333343){const _0x5e00f1=_0x52f010;var _0x3b45f4,_0x656abc;const _0x510de2=(_0x656abc=(_0x3b45f4=this['_univerInstanceService']['getUniverSheetInstance'](this[_0x5e00f1(0x412)]))==null?void 0x0:_0x3b45f4[_0x5e00f1(0x3b6)](_0x3d152f))==null?void 0x0:_0x656abc[_0x5e00f1(0x1fc)]();return(_0x510de2==null?void 0x0:_0x510de2[_0x5e00f1(0x22d)](_0x321175=>_0x3d05ee[_0x5e00f1(0x292)][_0x5e00f1(0x326)](_0x321175,_0x333343)))||_0x333343;}[_0x52f010(0x329)](){const _0x229353=_0x52f010,_0x53c40e=new _0x3d05ee[(_0x229353(0x3e8))](),_0x32c2ee=_0x286b72(),_0x4552a7=()=>{const _0x66799=_0x229353;_0x53c40e[_0x66799(0x244)]();const _0x98ffd7=(_0x1d6186,_0x4e795b,_0x1bd9c0,_0x5c5ceb)=>{const _0x3ee9ec=_0x66799;let _0x59be15=[];switch(_0x1d6186['id']){case _0x401d6b[_0x3ee9ec(0x2be)]['DeleteRangeMoveLeftCommandId']:{_0x59be15=_0x401d6b['handleDeleteRangeMoveLeft'](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b[_0x3ee9ec(0x2be)][_0x3ee9ec(0x2fc)]:{_0x59be15=_0x401d6b['handleDeleteRangeMoveUp'](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b[_0x3ee9ec(0x2be)]['InsertColCommandId']:{_0x59be15=_0x401d6b[_0x3ee9ec(0x241)](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b[_0x3ee9ec(0x2be)]['InsertRangeMoveDownCommandId']:{_0x59be15=_0x401d6b[_0x3ee9ec(0x30a)](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b[_0x3ee9ec(0x2be)][_0x3ee9ec(0x3ce)]:{_0x59be15=_0x401d6b[_0x3ee9ec(0x408)](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b[_0x3ee9ec(0x2be)][_0x3ee9ec(0x2fa)]:{_0x59be15=_0x401d6b[_0x3ee9ec(0x2bf)](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b[_0x3ee9ec(0x2be)][_0x3ee9ec(0x32c)]:{_0x59be15=_0x401d6b['handleMoveRange'](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b['EffectRefRangId'][_0x3ee9ec(0x225)]:{_0x59be15=_0x401d6b[_0x3ee9ec(0x228)](_0x1d6186,_0x5c5ceb);break;}case _0x401d6b[_0x3ee9ec(0x2be)]['RemoveRowCommandId']:{_0x59be15=_0x401d6b['handleIRemoveRow'](_0x1d6186,_0x5c5ceb);break;}}const _0x4c0887=_0x401d6b[_0x3ee9ec(0x2a3)](_0x59be15,_0x5c5ceb),_0x20f8ce=this[_0x3ee9ec(0x267)][_0x3ee9ec(0x25b)](_0x4e795b);if(_0x20f8ce&&_0x4c0887){const _0x35e288={..._0x20f8ce,'range':_0x4c0887};this[_0x3ee9ec(0x267)]['set'](_0x4e795b,_0x35e288),_0x32c2ee(()=>{const _0x42831d=_0x3ee9ec,_0x1e984b=this[_0x42831d(0x427)][_0x42831d(0x2e2)](_0x4c0887,_0x24ccf9=>(_0x1e984b[_0x42831d(0x244)](),_0x98ffd7(_0x24ccf9,_0x4e795b,_0x1bd9c0,_0x4c0887)));_0x53c40e[_0x42831d(0x46c)](_0x1e984b);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x66799(0x2ce)]((_0xfc775,_0xdbfb1d)=>{const _0x53be25=_0x66799,{range:_0x32194a,sheetID:_0x11958c}=_0xfc775,_0xf9e3e3=this[_0x53be25(0x427)][_0x53be25(0x2e2)](_0x32194a,_0x5cf9ce=>(_0xf9e3e3[_0x53be25(0x244)](),_0x98ffd7(_0x5cf9ce,_0xdbfb1d,_0x11958c,_0x32194a)));_0x53c40e[_0x53be25(0x46c)](_0xf9e3e3);});};this[_0x229353(0x2ba)](_0x3d05ee[_0x229353(0x20a)](this[_0x229353(0x3dd)][_0x229353(0x222)](()=>{_0x4552a7();})));}['_toggleOnline'](){const _0x38cac3=_0x52f010;var _0x3c76af,_0x4ad02f;if(this['_online']=!0x0,((_0x3c76af=this[_0x38cac3(0x40e)][_0x38cac3(0x218)]())==null?void 0x0:_0x3c76af['getUnitId']())!==this[_0x38cac3(0x412)])return;const _0x58647b=(_0x4ad02f=this[_0x38cac3(0x2c9)][_0x38cac3(0x25b)](_0x401d6b[_0x38cac3(0x323)])[_0x38cac3(0x1db)]())==null?void 0x0:_0x4ad02f[0x0],_0x48fd59=this[_0x38cac3(0x40e)]['getCurrentUnitForType'](_0x3d05ee['UniverInstanceType'][_0x38cac3(0x44b)])[_0x38cac3(0x257)]();_0x58647b&&_0x48fd59&&this['_updateLocalCursor'](_0x48fd59[_0x38cac3(0x399)](),_0x58647b);}[_0x52f010(0x1f5)](){const _0x54b15c=_0x52f010;this[_0x54b15c(0x26b)]=!0x1;}};_0x283ab6=_0x7a6911([_0x407587(0x2,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x316)])),_0x407587(0x3,_0x3d05ee[_0x52f010(0x1e7)](_0x27e238)),_0x407587(0x4,_0x3d05ee[_0x52f010(0x1e7)](_0x1ac61a[_0x52f010(0x24b)])),_0x407587(0x5,_0x3d05ee[_0x52f010(0x365)]),_0x407587(0x6,_0x3d05ee[_0x52f010(0x375)]),_0x407587(0x7,_0x3d05ee[_0x52f010(0x1e7)](_0x401d6b[_0x52f010(0x345)]))],_0x283ab6);var _0x165df=Object['getOwnPropertyDescriptor'],_0x306517=(_0x2b992a,_0xff6d7f,_0x2939b4,_0x5d7a16)=>{const _0x4a2b36=_0x52f010;for(var _0x57f913=_0x5d7a16>0x1?void 0x0:_0x5d7a16?_0x165df(_0xff6d7f,_0x2939b4):_0xff6d7f,_0x5e79eb=_0x2b992a[_0x4a2b36(0x2d4)]-0x1,_0x27984a;_0x5e79eb>=0x0;_0x5e79eb--)(_0x27984a=_0x2b992a[_0x5e79eb])&&(_0x57f913=_0x27984a(_0x57f913)||_0x57f913);return _0x57f913;},_0x3a59a5=(_0x480bc2,_0xee8d99)=>(_0x3ac10e,_0x5b1c55)=>_0xee8d99(_0x3ac10e,_0x5b1c55,_0x480bc2);let _0x5d58f9=class extends _0x3d05ee[_0x52f010(0x442)]{constructor(_0x523bb2,_0x1981c2,_0x58e0ec){const _0x17a264=_0x52f010;super(),_0x544075(this,_0x17a264(0x1f8),new Map()),_0x544075(this,_0x17a264(0x1ed),new _0x353c21[(_0x17a264(0x221))]()),(this[_0x17a264(0x40e)]=_0x523bb2,this['_injector']=_0x1981c2,this[_0x17a264(0x465)]=_0x58e0ec,this[_0x17a264(0x36a)]());}[_0x52f010(0x244)](){const _0x5e30ad=_0x52f010;super[_0x5e30ad(0x244)](),this[_0x5e30ad(0x1ed)][_0x5e30ad(0x237)](),this['_entities'][_0x5e30ad(0x2ce)](_0x5113b5=>_0x5113b5[_0x5e30ad(0x244)]());}[_0x52f010(0x2d5)](_0x229fa9){const _0x4e0854=_0x52f010;return this[_0x4e0854(0x1f8)][_0x4e0854(0x350)](_0x229fa9)?this['_entities'][_0x4e0854(0x25b)](_0x229fa9)['cursorInfo$']:this['_entityInit$'][_0x4e0854(0x38c)](_0x353c21[_0x4e0854(0x1d9)](_0x304705=>_0x304705['unitID']===_0x229fa9),_0x353c21[_0x4e0854(0x2af)](_0x34923c=>_0x34923c[_0x4e0854(0x3c5)]));}['_init'](){const _0x5b226c=_0x52f010;this['_univerInstanceService'][_0x5b226c(0x33f)](_0x3d05ee[_0x5b226c(0x287)][_0x5b226c(0x44b)])['pipe'](_0x353c21['takeUntil'](this['dispose$']))[_0x5b226c(0x222)](async _0x5b02d7=>{const _0x239c5d=_0x5b226c,_0x355c75=_0x5b02d7[_0x239c5d(0x272)](),_0x56b466=await this[_0x239c5d(0x3de)](_0x355c75);this['_entityInit$']['next'](_0x56b466),this['_entities'][_0x239c5d(0x3f1)](_0x355c75,_0x56b466);}),this[_0x5b226c(0x40e)][_0x5b226c(0x33f)](_0x3d05ee[_0x5b226c(0x287)][_0x5b226c(0x2dc)])['pipe'](_0x353c21['takeUntil'](this[_0x5b226c(0x43b)]))[_0x5b226c(0x38c)](_0x353c21[_0x5b226c(0x1d9)](_0x38d66b=>!_0x38d66b['getUnitId']()[_0x5b226c(0x2cd)]('__')))[_0x5b226c(0x222)](async _0x12c10a=>{const _0x363059=_0x5b226c,_0x2a1d5e=_0x12c10a[_0x363059(0x272)](),_0x19d79c=await this[_0x363059(0x372)](_0x2a1d5e);this[_0x363059(0x1ed)][_0x363059(0x1fd)](_0x19d79c),this[_0x363059(0x1f8)][_0x363059(0x3f1)](_0x2a1d5e,_0x19d79c);}),_0x353c21[_0x5b226c(0x36c)](this[_0x5b226c(0x40e)][_0x5b226c(0x1e0)](_0x3d05ee[_0x5b226c(0x287)][_0x5b226c(0x2dc)]),this[_0x5b226c(0x40e)]['getTypeOfUnitDisposed$'](_0x3d05ee[_0x5b226c(0x287)][_0x5b226c(0x44b)]))['pipe'](_0x353c21['takeUntil'](this[_0x5b226c(0x43b)]))[_0x5b226c(0x222)](_0x5aa6a8=>{const _0x4596ab=_0x5b226c,_0x41660b=_0x5aa6a8[_0x4596ab(0x272)](),_0x4a30f0=this[_0x4596ab(0x1f8)][_0x4596ab(0x25b)](_0x41660b);_0x4a30f0&&(_0x4a30f0[_0x4596ab(0x244)](),this[_0x4596ab(0x1f8)][_0x4596ab(0x3d1)](_0x41660b));});}async[_0x52f010(0x3de)](_0x3f4398){const _0x54fb71=_0x52f010,_0x1c1f21=await this[_0x54fb71(0x465)][_0x54fb71(0x2bd)](_0x3f4398),_0x4c132c=this[_0x54fb71(0x2c9)]['createInstance'](_0x283ab6,_0x3f4398,_0x1c1f21);return _0x4c132c[_0x54fb71(0x39b)](),_0x4c132c;}async[_0x52f010(0x372)](_0x1e7c35){const _0x1b27f=_0x52f010,_0x2c55e3=await this['_collabSessionService'][_0x1b27f(0x2bd)](_0x1e7c35),_0x216a52=this[_0x1b27f(0x2c9)][_0x1b27f(0x437)](_0x35be9d,_0x1e7c35,_0x2c55e3);return _0x216a52[_0x1b27f(0x39b)](),_0x216a52;}};_0x5d58f9=_0x306517([_0x3a59a5(0x0,_0x3d05ee[_0x52f010(0x365)]),_0x3a59a5(0x1,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x316)])),_0x3a59a5(0x2,_0x3d05ee['Inject'](_0x1ac61a[_0x52f010(0x265)]))],_0x5d58f9);const _0x4c4c6b=0x14,_0x4e87c8=0xc8,_0x2ddf94=0x4,_0x448ef8=0x5;function _0x40e5c5(_0x11c48e,_0x1bce0e){const _0x3b968b=_0x52f010;let {radius:_0x35820b,width:_0x51a2a1,height:_0x3bbfdc}=_0x1bce0e;_0x35820b=_0x35820b!=null?_0x35820b:0x0,_0x51a2a1=_0x51a2a1!=null?_0x51a2a1:0x1e,_0x3bbfdc=_0x3bbfdc!=null?_0x3bbfdc:0x1e;let _0x43dbda=0x0,_0x3680a6=0x0,_0x5f11bf=0x0;_0x43dbda=_0x3680a6=_0x5f11bf=Math[_0x3b968b(0x3dc)](_0x35820b,_0x51a2a1/0x2,_0x3bbfdc/0x2),_0x11c48e[_0x3b968b(0x447)](),_0x11c48e[_0x3b968b(0x1e9)](_0x43dbda,0x0),_0x11c48e[_0x3b968b(0x330)](_0x51a2a1-_0x3680a6,0x0),_0x11c48e[_0x3b968b(0x254)](_0x51a2a1-_0x3680a6,_0x3680a6,_0x3680a6,Math['PI']*0x3/0x2,0x0,!0x1),_0x11c48e['lineTo'](_0x51a2a1,_0x3bbfdc-_0x5f11bf),_0x11c48e['arc'](_0x51a2a1-_0x5f11bf,_0x3bbfdc-_0x5f11bf,_0x5f11bf,0x0,Math['PI']/0x2,!0x1),_0x11c48e[_0x3b968b(0x330)](0x0,_0x3bbfdc),_0x11c48e[_0x3b968b(0x330)](0x0,_0x43dbda),_0x11c48e[_0x3b968b(0x254)](_0x43dbda,_0x43dbda,_0x43dbda,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x11c48e[_0x3b968b(0x325)](),_0x1bce0e[_0x3b968b(0x286)]&&(_0x11c48e[_0x3b968b(0x23b)](),_0x11c48e[_0x3b968b(0x31e)]=_0x1bce0e[_0x3b968b(0x286)],_0x1bce0e[_0x3b968b(0x2b8)]===_0x3b968b(0x464)?_0x11c48e[_0x3b968b(0x286)](_0x3b968b(0x464)):_0x11c48e[_0x3b968b(0x286)](),_0x11c48e['restore']());}class _0x1d7753 extends _0x1eb76f['Shape']{constructor(_0x5aa2cd,_0x3e65f4){const _0x39db7c=_0x52f010;super(_0x5aa2cd,_0x3e65f4),_0x544075(this,_0x39db7c(0x253)),_0x544075(this,_0x39db7c(0x3f7)),(this[_0x39db7c(0x253)]=_0x3e65f4==null?void 0x0:_0x3e65f4[_0x39db7c(0x253)],this['text']=_0x3e65f4==null?void 0x0:_0x3e65f4[_0x39db7c(0x3f7)]);}static[_0x52f010(0x29c)](_0xda5c66,_0x3b77b5){const _0x1f29a1=_0x52f010,{text:_0x5d679a,color:_0x46469b}=_0x3b77b5;_0xda5c66[_0x1f29a1(0x23b)](),_0xda5c66[_0x1f29a1(0x245)]=_0x1f29a1(0x2a8);const _0x2b031a=_0xda5c66[_0x1f29a1(0x3d7)](_0x5d679a)[_0x1f29a1(0x354)],_0x34aaba=Math[_0x1f29a1(0x3dc)](_0x2b031a+0x2*_0x2ddf94,_0x4e87c8);_0x40e5c5(_0xda5c66,{'height':_0x4c4c6b,'radius':0x4,'width':_0x34aaba,'fill':_0x46469b}),_0xda5c66['fillStyle']=_0x1f29a1(0x449);const _0x5453d0=_0x2ddf94,_0x5a59b1=_0x4c4c6b-_0x448ef8,_0x2f66f2=_0x4e87c8-0x2*_0x2ddf94;if(_0x2b031a>_0x2f66f2){let _0x17230c='',_0x3fbb3=0x0;for(const _0x43d4e0 of _0x5d679a){const _0xc7dbca=_0xda5c66[_0x1f29a1(0x3d7)](_0x43d4e0)['width'];if(_0x3fbb3+_0xc7dbca<=_0x2f66f2-_0xda5c66[_0x1f29a1(0x3d7)](_0x1f29a1(0x25c))[_0x1f29a1(0x354)])_0x17230c+=_0x43d4e0,_0x3fbb3+=_0xc7dbca;else{_0x17230c+=_0x1f29a1(0x25c);break;}}_0xda5c66[_0x1f29a1(0x3b5)](_0x17230c,_0x5453d0,_0x5a59b1);}else _0xda5c66[_0x1f29a1(0x3b5)](_0x5d679a,_0x5453d0,_0x5a59b1);_0xda5c66[_0x1f29a1(0x1fa)]();}[_0x52f010(0x341)](_0x4394bd){_0x1d7753['drawWith'](_0x4394bd,this);}}const _0x47706c=_0x52f010(0x243),_0x4ea2f3=_0x52f010(0x2d8),_0x5d216f=_0x52f010(0x37f),_0x276c29=0x6,_0x4a9d48=1.5,_0x4a2eb5=0x4,_0x7c790c=1.5,_0x1a8a5a=_0x52f010(0x2b4);class _0x2a616a{constructor(_0x1bd953,_0x4a6c6d,_0x3a4c56,_0x15541f){const _0x55658f=_0x52f010;_0x544075(this,_0x55658f(0x23e),[]),_0x544075(this,'_anchor',null),_0x544075(this,_0x55658f(0x44e),null),_0x544075(this,'_anchorDot',null),_0x544075(this,_0x55658f(0x42b),null),_0x544075(this,_0x55658f(0x44d),null),(this[_0x55658f(0x2a5)]=_0x1bd953,this[_0x55658f(0x300)]=_0x4a6c6d,this[_0x55658f(0x440)]=_0x3a4c56,this['_document']=_0x15541f,this['_render']());}set[_0x52f010(0x41b)](_0x29387a){const _0x143a9b=_0x52f010;_0x29387a?(this['_anchorDot']&&this[_0x143a9b(0x285)][_0x143a9b(0x396)](),this[_0x143a9b(0x44e)]&&this['_textBubble']['show']()):(this[_0x143a9b(0x285)]&&this[_0x143a9b(0x285)][_0x143a9b(0x32f)](),this[_0x143a9b(0x44e)]&&this[_0x143a9b(0x44e)]['hide']());}[_0x52f010(0x244)](){const _0x4eb5ee=_0x52f010;for(const _0x278011 of this[_0x4eb5ee(0x23e)])_0x278011[_0x4eb5ee(0x244)]();this['_textBubble']&&this[_0x4eb5ee(0x44e)][_0x4eb5ee(0x244)](),this[_0x4eb5ee(0x285)]&&this[_0x4eb5ee(0x285)][_0x4eb5ee(0x244)](),this[_0x4eb5ee(0x36e)]&&this['_anchor'][_0x4eb5ee(0x244)](),this[_0x4eb5ee(0x44d)]&&this[_0x4eb5ee(0x44d)]();}['_render'](){const _0x5c68a0=_0x52f010;var _0x1d73e6;const {_docSkeleton:_0x15512b,_document:_0x1ccad6}=this,{color:_0xe1dc6b,name:_0x17f3c2,ranges:_0x170657}=this[_0x5c68a0(0x2a5)],_0x532a3b=_0x1ccad6[_0x5c68a0(0x3ff)](),{docsLeft:_0x2da8f3,docsTop:_0x41349b}=_0x532a3b,_0x3ad2bd=new _0x50ffa0[(_0x5c68a0(0x1f6))](_0x532a3b,_0x15512b);for(const {startOffset:_0x389939,endOffset:_0x4c68ee,rangeType:_0x28a6b4,segmentId:_0x228c49,segmentPage:_0x2c12cc,collapsed:_0x8cbae4,isActive:_0x320877}of _0x170657){const _0x3e84fe=_0x15512b[_0x5c68a0(0x3da)](_0x389939,!0x0,_0x228c49,_0x2c12cc);let _0x919338=_0x15512b[_0x5c68a0(0x3da)](_0x4c68ee,!0x0,_0x228c49,_0x2c12cc);if(_0x919338==null&&(_0x919338=_0x15512b[_0x5c68a0(0x3da)](_0x4c68ee-0x1,!0x1,_0x228c49,_0x2c12cc)),_0x320877){const {contentBoxPointGroup:_0x2d3ae7}=_0x3ad2bd[_0x5c68a0(0x227)](_0x919338,_0x919338);if(_0x2d3ae7[_0x5c68a0(0x2d4)]===0x0)continue;this[_0x5c68a0(0x328)](_0xe1dc6b,_0x2d3ae7,_0x2da8f3,_0x41349b,_0x17f3c2),this[_0x5c68a0(0x44d)]=this[_0x5c68a0(0x26e)]();}if(_0x3e84fe&&_0x919338){if(_0x28a6b4===_0x3d05ee['DOC_RANGE_TYPE']['RECT']){const _0xaa15bf=new _0x50ffa0[(_0x5c68a0(0x3e3))](_0x532a3b,_0x15512b),{pointGroup:_0xc86b3c}=(_0x1d73e6=_0xaa15bf[_0x5c68a0(0x227)](_0x3e84fe,_0x919338))!=null?_0x1d73e6:{};if(_0xc86b3c==null||_0xc86b3c['length']===0x0)continue;this['_drawRectRange'](_0xe1dc6b,_0xc86b3c,_0x2da8f3,_0x41349b);}else{if(!_0x8cbae4){const {borderBoxPointGroup:_0x5da154}=_0x3ad2bd[_0x5c68a0(0x227)](_0x3e84fe,_0x919338);if(_0x5da154['length']===0x0)continue;this[_0x5c68a0(0x1f0)](_0xe1dc6b,_0x5da154,_0x2da8f3,_0x41349b);}}}}}[_0x52f010(0x328)](_0x2d9d80,_0x2b6fac,_0x2de296,_0x4ed8d2,_0x5ce66d){const _0x1f58ec=_0x52f010,_0x2376d1=this[_0x1f58ec(0x281)](_0x2b6fac),{left:_0x36628c,top:_0x26b0d1,height:_0x2fc7db}=_0x2376d1,_0x77803a=this['_getScale'](),_0x269fae=_0x7c790c/_0x77803a,_0x386431=new _0x1eb76f[(_0x1f58ec(0x2b5))](_0x47706c+_0x3d05ee[_0x1f58ec(0x426)](_0x276c29),{'left':_0x36628c+_0x2de296-_0x269fae,'top':_0x26b0d1+_0x4ed8d2,'height':_0x2fc7db,'width':_0x4a9d48,'fill':_0x2d9d80||_0x1eb76f[_0x1f58ec(0x33c)](_0x3d05ee['COLORS'][_0x1f58ec(0x371)],0x0),'strokeWidth':_0x269fae,'stroke':_0x1a8a5a,'evented':!0x0});this['_anchor']=_0x386431,this[_0x1f58ec(0x300)][_0x1f58ec(0x381)](_0x386431,_0x50ffa0[_0x1f58ec(0x21e)]);const _0x483bc0=new _0x1eb76f[(_0x1f58ec(0x2b5))](_0x47706c+_0x3d05ee['generateRandomId'](_0x276c29),{'left':_0x36628c+_0x2de296-_0x269fae,'top':_0x26b0d1+_0x4ed8d2-_0x4a2eb5/0x2,'height':_0x4a2eb5,'width':_0x4a2eb5,'fill':_0x2d9d80||_0x1eb76f[_0x1f58ec(0x33c)](_0x3d05ee['COLORS'][_0x1f58ec(0x371)],0x0),'strokeWidth':0x0,'stroke':_0x2d9d80||_0x1eb76f['getColor'](_0x3d05ee[_0x1f58ec(0x3fc)][_0x1f58ec(0x371)],0x0),'evented':!0x1});this[_0x1f58ec(0x285)]=_0x483bc0,this['_scene'][_0x1f58ec(0x381)](_0x483bc0,_0x50ffa0['TEXT_RANGE_LAYER_INDEX']);const _0x70c895=new _0x1d7753(_0x47706c+_0x3d05ee[_0x1f58ec(0x426)](_0x276c29),{'left':_0x36628c+_0x2de296-_0x269fae,'top':_0x26b0d1+_0x4ed8d2-_0x4c4c6b,'text':_0x5ce66d,'color':_0x2d9d80});this[_0x1f58ec(0x44e)]=_0x70c895,this[_0x1f58ec(0x300)][_0x1f58ec(0x381)](_0x70c895,_0x50ffa0[_0x1f58ec(0x21e)]),this[_0x1f58ec(0x41b)]=!0x1;}[_0x52f010(0x26e)](){const _0x6563bd=_0x52f010,_0x22b045=this[_0x6563bd(0x36e)]['onPointerEnter$'][_0x6563bd(0x3cc)](()=>{const _0x131223=_0x6563bd;this[_0x131223(0x41b)]=!0x0;}),_0x33e879=this[_0x6563bd(0x36e)][_0x6563bd(0x235)][_0x6563bd(0x3cc)](()=>{const _0xf1b9da=_0x6563bd;this[_0xf1b9da(0x42b)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x46a341=_0xf1b9da;this[_0x46a341(0x41b)]=!0x1;},0x7d0);});return()=>{const _0x3b3fc9=_0x6563bd;_0x22b045[_0x3b3fc9(0x401)](),_0x33e879[_0x3b3fc9(0x401)]();};}[_0x52f010(0x1f0)](_0x2b0267,_0x121d76,_0x276d4b,_0x58adc4){const _0x3ddec3=_0x52f010,_0x5aa732=new _0x3d05ee[(_0x3ddec3(0x34d))](_0x2b0267)[_0x3ddec3(0x2cb)](0.2)[_0x3ddec3(0x3f2)](),_0x29d377=new _0x1eb76f['RegularPolygon'](_0x4ea2f3+_0x3d05ee['generateRandomId'](_0x276c29),{'pointsGroup':_0x121d76,'fill':_0x5aa732||_0x1eb76f['getColor'](_0x3d05ee[_0x3ddec3(0x3fc)][_0x3ddec3(0x371)],0.2),'left':_0x276d4b,'top':_0x58adc4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3ddec3(0x23e)][_0x3ddec3(0x404)](_0x29d377),this['_scene']['addObject'](_0x29d377,_0x50ffa0['TEXT_RANGE_LAYER_INDEX']);}[_0x52f010(0x46f)](_0x1e3045,_0x192444,_0x1c0e3c,_0x1351da){const _0x3154c0=_0x52f010,_0x2a7dfd=new _0x3d05ee[(_0x3154c0(0x34d))](_0x1e3045)[_0x3154c0(0x2cb)](0.2)[_0x3154c0(0x3f2)](),_0x36d728=new _0x1eb76f[(_0x3154c0(0x2f6))](_0x5d216f+_0x3d05ee['generateRandomId'](_0x276c29),{'pointsGroup':_0x192444,'fill':_0x2a7dfd||_0x1eb76f[_0x3154c0(0x33c)](_0x3d05ee[_0x3154c0(0x3fc)][_0x3154c0(0x371)],0.2),'left':_0x1c0e3c,'top':_0x1351da,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3154c0(0x23e)][_0x3154c0(0x404)](_0x36d728),this[_0x3154c0(0x300)][_0x3154c0(0x381)](_0x36d728,_0x50ffa0[_0x3154c0(0x21e)]);}[_0x52f010(0x281)](_0x117184){const _0x277e8c=_0x117184[0x0],_0x7f08c8=_0x277e8c[0x0],_0xa0d173=_0x277e8c[0x2],{x:_0x2ce671,y:_0x274147}=_0x7f08c8,{x:_0x5d7d0b,y:_0x3e5822}=_0xa0d173;return{'left':_0x2ce671,'top':_0x274147,'width':_0x5d7d0b-_0x2ce671,'height':_0x3e5822-_0x274147};}[_0x52f010(0x425)](){const _0x212268=_0x52f010,{scaleX:_0x34bd53,scaleY:_0xe4e7cf}=this[_0x212268(0x300)][_0x212268(0x421)]();return Math[_0x212268(0x1fb)](_0x34bd53,_0xe4e7cf);}}var _0x2005e9=Object[_0x52f010(0x3d4)],_0x1e06b5=(_0x21e589,_0x700958,_0x53fe87,_0x32c10f)=>{const _0x4939c2=_0x52f010;for(var _0x57591a=_0x32c10f>0x1?void 0x0:_0x32c10f?_0x2005e9(_0x700958,_0x53fe87):_0x700958,_0x4e1267=_0x21e589[_0x4939c2(0x2d4)]-0x1,_0x2c65f3;_0x4e1267>=0x0;_0x4e1267--)(_0x2c65f3=_0x21e589[_0x4e1267])&&(_0x57591a=_0x2c65f3(_0x57591a)||_0x57591a);return _0x57591a;},_0x2c8015=(_0x29c4bb,_0x3fa9b5)=>(_0x3d6af2,_0x2b8b4a)=>_0x3fa9b5(_0x3d6af2,_0x2b8b4a,_0x29c4bb);let _0xf7a1a5=class extends _0x3d05ee[_0x52f010(0x442)]{constructor(_0xb63731,_0xc7ce95,_0x47b790,_0x484f68,_0x100cc3){const _0x393db6=_0x52f010;super(),_0x544075(this,_0x393db6(0x3ee),[]),_0x544075(this,_0x393db6(0x3d0),[]),(this[_0x393db6(0x3e0)]=_0xb63731,this[_0x393db6(0x214)]=_0xc7ce95,this['_collabCursorController']=_0x47b790,this[_0x393db6(0x448)]=_0x484f68,this[_0x393db6(0x312)]=_0x100cc3,this[_0x393db6(0x36a)]());}[_0x52f010(0x36a)](){const _0x5d4cca=_0x52f010,_0x230c6f=this[_0x5d4cca(0x3e0)][_0x5d4cca(0x32e)],_0x4ba153=this['_docSkeletonManagerService'];this[_0x5d4cca(0x2ba)](_0x353c21[_0x5d4cca(0x400)]([this['_collabCursorController'][_0x5d4cca(0x2d5)](_0x230c6f),this[_0x5d4cca(0x312)]['currentTheme$']])[_0x5d4cca(0x38c)](_0x41ab20['map'](([_0x5e788b,_0x1f5f8d])=>({'skeleton':_0x4ba153[_0x5d4cca(0x450)](),'cursors':[..._0x5e788b['values']()][_0x5d4cca(0x2cf)](_0x25d36e=>({..._0x25d36e,'color':this[_0x5d4cca(0x312)][_0x5d4cca(0x3f8)](_0x25d36e[_0x5d4cca(0x253)])}))})))[_0x5d4cca(0x222)](_0x585ed1=>{const _0x266a7b=_0x5d4cca;if(this[_0x266a7b(0x260)](),_0x585ed1){const {skeleton:_0x3f6566,cursors:_0x15d2f5}=_0x585ed1;this[_0x266a7b(0x432)](_0x3f6566,_0x15d2f5);}})),this[_0x5d4cca(0x3fa)](),this[_0x5d4cca(0x357)]();}['_updateCollabCursors'](_0x579e87,_0x132cb1){const _0xec0327=_0x52f010,{scene:_0x5bf09d,mainComponent:_0x2585d7}=this[_0xec0327(0x3e0)],_0x136951=_0x132cb1[_0xec0327(0x2c4)](_0x22b017=>new _0x2a616a(_0x22b017,_0x5bf09d,_0x579e87,_0x2585d7));this[_0xec0327(0x3ee)]=_0x136951,this[_0xec0327(0x3d0)]=_0x132cb1;}[_0x52f010(0x3ac)](){const _0x4306ae=_0x52f010;this[_0x4306ae(0x260)]();const {scene:_0x2ed6c3,mainComponent:_0x93886e}=this[_0x4306ae(0x3e0)],_0x116804=this[_0x4306ae(0x214)][_0x4306ae(0x450)](),_0x1bbcc6=this[_0x4306ae(0x3d0)][_0x4306ae(0x2c4)](_0x506ade=>new _0x2a616a(_0x506ade,_0x2ed6c3,_0x116804,_0x93886e));this['_cursorShapes']=_0x1bbcc6;}['_removeCollabCursors'](){const _0x18f240=_0x52f010;this[_0x18f240(0x3ee)]['forEach'](_0x112582=>_0x112582['dispose']()),this[_0x18f240(0x3ee)]=[];}[_0x52f010(0x357)](){const _0x4c664e=_0x52f010,_0x471fb1=[_0x50ffa0['SetDocZoomRatioOperation']['id']];this[_0x4c664e(0x2ba)](this[_0x4c664e(0x448)]['onCommandExecuted'](_0x1f8911=>{const _0x596a3b=_0x4c664e;_0x471fb1[_0x596a3b(0x261)](_0x1f8911['id'])&&_0x1f8911['params'][_0x596a3b(0x32e)]===this[_0x596a3b(0x3e0)][_0x596a3b(0x32e)]&&this[_0x596a3b(0x3ac)]();}));}[_0x52f010(0x3fa)](){const _0x39c332=_0x52f010;this[_0x39c332(0x2ba)](_0x3d05ee[_0x39c332(0x3d8)](this[_0x39c332(0x3e0)]['engine']['onTransformChange$'])[_0x39c332(0x38c)](_0x41ab20[_0x39c332(0x1d9)](_0x1fdba6=>_0x1fdba6[_0x39c332(0x39d)]===_0x1eb76f[_0x39c332(0x215)][_0x39c332(0x3ec)]),_0x41ab20[_0x39c332(0x33e)](0x10))[_0x39c332(0x222)](()=>{const _0x6cb293=_0x39c332;this[_0x6cb293(0x3ac)]();}));}};_0xf7a1a5=_0x1e06b5([_0x2c8015(0x1,_0x3d05ee[_0x52f010(0x1e7)](_0x427dab[_0x52f010(0x29b)])),_0x2c8015(0x2,_0x3d05ee['Inject'](_0x5d58f9)),_0x2c8015(0x3,_0x3d05ee['ICommandService']),_0x2c8015(0x4,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x2a7)]))],_0xf7a1a5);const _0xeec2f8=0x1,_0x4452ce=1.5;class _0x184912 extends _0x1eb76f['Shape']{constructor(_0x1a2215,_0x528ab6){const _0x578f27=_0x52f010;super(_0x1a2215,_0x528ab6),_0x544075(this,_0x578f27(0x3f5)),_0x544075(this,'_hovered',!0x1),_0x544075(this,_0x578f27(0x1ea)),_0x544075(this,_0x578f27(0x23a),''),_0x544075(this,_0x578f27(0x20c),'top'),_0x544075(this,'_backgroundColor'),(_0x528ab6&&this[_0x578f27(0x3db)](_0x528ab6),this['onPointerEnter$'][_0x578f27(0x3cc)](()=>this[_0x578f27(0x3db)]({'hovered':!0x0})),this[_0x578f27(0x235)][_0x578f27(0x3cc)](()=>this[_0x578f27(0x3db)]({'hovered':!0x1})));}[_0x52f010(0x3db)](_0xe7360d){const _0x4c34d9=_0x52f010;var _0x1b61d3,_0x48de2a,_0x204653,_0x41d422,_0x36edd3,_0x59328b;this['_color']=(_0x1b61d3=_0xe7360d[_0x4c34d9(0x253)])!=null?_0x1b61d3:this[_0x4c34d9(0x3f5)],this[_0x4c34d9(0x419)]=(_0x48de2a=_0xe7360d[_0x4c34d9(0x2d6)])!=null?_0x48de2a:this['_hovered'],this[_0x4c34d9(0x1ea)]=(_0x204653=_0xe7360d[_0x4c34d9(0x3fd)])!=null?_0x204653:this[_0x4c34d9(0x1ea)],this[_0x4c34d9(0x23a)]=(_0x41d422=_0xe7360d['name'])!=null?_0x41d422:this['_name'],this[_0x4c34d9(0x20c)]=(_0x36edd3=_0xe7360d[_0x4c34d9(0x264)])!=null?_0x36edd3:this[_0x4c34d9(0x20c)],this[_0x4c34d9(0x351)]=(_0x59328b=_0xe7360d[_0x4c34d9(0x446)])!=null?_0x59328b:this[_0x4c34d9(0x351)],this[_0x4c34d9(0x2b6)]({'width':_0xe7360d[_0x4c34d9(0x354)],'height':_0xe7360d[_0x4c34d9(0x403)]});}[_0x52f010(0x358)](_0x153ff9){const _0x17a9d0=_0x52f010,{row:_0x5f1416,column:_0x1b25bb}=_0x153ff9;if(_0x5f1416>=this['_range'][_0x17a9d0(0x233)]&&_0x5f1416<=this['_range'][_0x17a9d0(0x366)]&&_0x1b25bb>=this['_range'][_0x17a9d0(0x340)]&&_0x1b25bb<=this[_0x17a9d0(0x1ea)]['endColumn']){this[_0x17a9d0(0x3db)]({'hovered':!0x0});return;}this[_0x17a9d0(0x3db)]({'hovered':!0x1});}[_0x52f010(0x240)](_0x21d723){return!0x1;}[_0x52f010(0x341)](_0x1c4796){const _0x5c699e=_0x52f010;_0x1eb76f[_0x5c699e(0x2b5)][_0x5c699e(0x29c)](_0x1c4796,{'width':this[_0x5c699e(0x354)],'height':this[_0x5c699e(0x403)],'strokeWidth':_0x4452ce,'stroke':this[_0x5c699e(0x3f5)],'evented':!0x1,'fill':this[_0x5c699e(0x351)]}),this[_0x5c699e(0x419)]&&(_0x1c4796['save'](),_0x1c4796[_0x5c699e(0x2e9)](0x1,0x0,0x0,0x1,this['width'],this[_0x5c699e(0x20c)]===_0x5c699e(0x36f)?0x0:-_0x4c4c6b),_0x1d7753[_0x5c699e(0x29c)](_0x1c4796,{'text':this[_0x5c699e(0x23a)],'color':this['_color']}),_0x1c4796[_0x5c699e(0x1fa)]());}}var _0xeba64a=Object['getOwnPropertyDescriptor'],_0x55787c=(_0x427aa7,_0x3a50f1,_0x322aef,_0xa3088a)=>{const _0x2edc33=_0x52f010;for(var _0xe87e04=_0xa3088a>0x1?void 0x0:_0xa3088a?_0xeba64a(_0x3a50f1,_0x322aef):_0x3a50f1,_0x489ec0=_0x427aa7[_0x2edc33(0x2d4)]-0x1,_0x1af9a8;_0x489ec0>=0x0;_0x489ec0--)(_0x1af9a8=_0x427aa7[_0x489ec0])&&(_0xe87e04=_0x1af9a8(_0xe87e04)||_0xe87e04);return _0xe87e04;},_0x1bda8=(_0x154a79,_0x14cd2f)=>(_0x109e34,_0x485ca4)=>_0x14cd2f(_0x109e34,_0x485ca4,_0x154a79);const _0x2e46d4=0x1389;let _0x31a600=class extends _0x3d05ee[_0x52f010(0x442)]{constructor(_0x37b5dd,_0x3b85e5,_0x471e0e,_0x5aab1c){const _0x5a8f15=_0x52f010;super(),_0x544075(this,_0x5a8f15(0x3d0),new Set()),_0x544075(this,'_lastPointer',null),(this['_context']=_0x37b5dd,this[_0x5a8f15(0x409)]=_0x3b85e5,this[_0x5a8f15(0x356)]=_0x471e0e,this['_themeService']=_0x5aab1c,this[_0x5a8f15(0x36a)]());}[_0x52f010(0x36a)](){const _0x2dfa18=_0x52f010;this['_sheetSkeletonManagerService'][_0x2dfa18(0x226)][_0x2dfa18(0x38c)](_0x41ab20[_0x2dfa18(0x25f)](this[_0x2dfa18(0x43b)]),_0x41ab20[_0x2dfa18(0x2af)](_0x1a96a2=>{const _0x543763=_0x2dfa18;if(_0x1a96a2){const _0x5c1dbf=_0x1a96a2[_0x543763(0x383)];return _0x353c21[_0x543763(0x400)](this[_0x543763(0x356)][_0x543763(0x2d5)](this['_context'][_0x543763(0x32e)]),this['_themeService'][_0x543763(0x205)])[_0x543763(0x38c)](_0x41ab20[_0x543763(0x2c4)](([_0x1bd957,_0x27ecae])=>{const _0x450767=_0x543763,_0x4ce036=new Map();return _0x1bd957[_0x450767(0x2ce)]((_0xff4bba,_0x3dd83f)=>{const _0x30c221=_0x450767;if(_0xff4bba[_0x30c221(0x3b8)]===_0x5c1dbf){const _0xb62a49={..._0xff4bba};_0xb62a49['color']=this[_0x30c221(0x312)][_0x30c221(0x3f8)](_0xff4bba[_0x30c221(0x253)]),_0x4ce036['set'](_0x3dd83f,_0xb62a49);}}),{'skeleton':_0x1a96a2,'cursors':_0x4ce036};}));}return _0x353c21['of']({'skeleton':null,'cursors':new Map()});}))[_0x2dfa18(0x222)](({skeleton:_0x146133,cursors:_0x50a822})=>{this['_removeCollabCursors'](),_0x146133&&this['_updateCollabCursors'](_0x146133,_0x50a822);}),this[_0x2dfa18(0x409)]['currentSkeleton$'][_0x2dfa18(0x222)](_0x3a8109=>{const _0x2d687b=_0x2dfa18;if(_0x3a8109==null)return;const {skeleton:_0x4b5bb3}=_0x3a8109,{scene:_0x56ea12}=this[_0x2d687b(0x3e0)];_0x56ea12[_0x2d687b(0x467)]['subscribeEvent'](_0x3d05ee[_0x2d687b(0x46a)](_0x10cc38=>{const _0x1c30ef=_0x2d687b;var _0x23af21,_0x2cba86;const {offsetX:_0x7d047e,offsetY:_0x38a8d2}=_0x10cc38,{x:_0x2fce01,y:_0x4b1a4e}=_0x56ea12[_0x1c30ef(0x355)](_0x1eb76f['Vector2'][_0x1c30ef(0x3ad)]([_0x7d047e,_0x38a8d2])),{scaleX:_0x40e559,scaleY:_0x48ae40}=_0x56ea12['getAncestorScale'](),_0x38677a=_0x56ea12[_0x1c30ef(0x37c)](_0x1eb76f[_0x1c30ef(0x27c)][_0x1c30ef(0x1e6)]),_0x31424b=_0x56ea12[_0x1c30ef(0x2ea)](_0x1eb76f['Vector2'][_0x1c30ef(0x3ad)]([_0x2fce01,_0x4b1a4e]),_0x38677a),_0x55e3f0=_0x4b5bb3[_0x1c30ef(0x2de)](_0x7d047e,_0x38a8d2,_0x40e559,_0x48ae40,_0x31424b);((_0x23af21=this[_0x1c30ef(0x352)])==null?void 0x0:_0x23af21[_0x1c30ef(0x30e)])===_0x55e3f0[_0x1c30ef(0x30e)]&&((_0x2cba86=this[_0x1c30ef(0x352)])==null?void 0x0:_0x2cba86[_0x1c30ef(0x246)])===_0x55e3f0[_0x1c30ef(0x246)]||this[_0x1c30ef(0x3d0)][_0x1c30ef(0x2ce)](_0x303651=>{const _0x10d2d5=_0x1c30ef;_0x303651[_0x10d2d5(0x358)](_0x55e3f0);});},0x64));});}[_0x52f010(0x432)](_0x343b4c,_0x17b4f9){const _0x25ed09=_0x52f010;var _0x1ee74b;const _0x5b855a=(_0x1ee74b=this[_0x25ed09(0x409)][_0x25ed09(0x322)]())==null?void 0x0:_0x1ee74b[_0x25ed09(0x28d)];if(!_0x5b855a)return;const _0x1608bc=this['_getSheetObject']();if(!_0x1608bc)return;this[_0x25ed09(0x3d0)][_0x25ed09(0x2ce)](_0x13dcd5=>{_0x13dcd5['makeDirty']();});const {scene:_0x5891e7}=_0x1608bc,_0x507a83=_0x5f2c70(Array['from'](_0x17b4f9['values']()))[_0x25ed09(0x2c4)](_0x372a7e=>{const _0x2f1223=_0x25ed09,{color:_0x9d2976,range:_0x100531,name:_0x25c208,selection:_0xb79cd5,sheetID:_0x3d9be8}=_0x372a7e,{startColumn:_0x5e76fe,startRow:_0x2619ef,endColumn:_0x38ac0e,endRow:_0xd5ea90}=_0x100531,_0x16fde0=_0x316114['getCoordByCell'](_0x2619ef,_0x5e76fe,_0x5891e7,_0x5b855a),_0x3a01ea=_0x316114[_0x2f1223(0x2cc)](_0xd5ea90,_0x38ac0e,_0x5891e7,_0x5b855a),{columnHeaderHeightAndMarginTop:_0x35b8d9}=_0x5b855a,{startX:_0x4b2935,startY:_0x3ea3c5}=_0x16fde0,{endX:_0x39352c,endY:_0x41eb8c}=_0x3a01ea,_0x375915=_0x39352c-_0x4b2935,_0x4a43c4=_0x41eb8c-_0x3ea3c5,_0x51ea6a={'labelPosition':_0x3ea3c5-_0x35b8d9>=_0x4c4c6b?_0x2f1223(0x3af):_0x2f1223(0x36f),'sheetID':_0x3d9be8,'range':_0x100531,'color':_0x9d2976,'name':_0x25c208,'selection':_0xb79cd5,'left':_0x4b2935,'top':_0x3ea3c5,'width':_0x375915,'height':_0x4a43c4,'evented':!0x1,'zIndex':_0x2e46d4};return new _0x184912(_0x25c208,_0x51ea6a);});_0x5891e7[_0x25ed09(0x22f)](_0x507a83,_0xeec2f8),this[_0x25ed09(0x3d0)]=new Set(_0x507a83);}[_0x52f010(0x260)](){const _0x501225=_0x52f010;var _0x5b37c6;(_0x5b37c6=this[_0x501225(0x3d0)])==null||_0x5b37c6['forEach'](_0x50e88e=>_0x50e88e['dispose']());}['_getSheetObject'](){const _0x2f8b40=_0x52f010;return _0x316114[_0x2f8b40(0x24a)](this[_0x2f8b40(0x3e0)][_0x2f8b40(0x293)],this[_0x2f8b40(0x3e0)]);}};_0x31a600=_0x55787c([_0x1bda8(0x1,_0x3d05ee['Inject'](_0x316114[_0x52f010(0x45e)])),_0x1bda8(0x2,_0x3d05ee[_0x52f010(0x1e7)](_0x5d58f9)),_0x1bda8(0x3,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x2a7)]))],_0x31a600);function _0x5f2c70(_0x3ce77a){const _0x1e1222=_0x52f010,_0x5c6770=new Map();return _0x3ce77a['forEach'](_0x3142ed=>{const _0x178dbc=_0x43db;if(_0x5c6770['has'](_0x3142ed[_0x178dbc(0x32d)])){const _0x9cbfa9=_0x5c6770[_0x178dbc(0x25b)](_0x3142ed[_0x178dbc(0x32d)]);_0x9cbfa9['name']+=',\x20'+_0x3142ed[_0x178dbc(0x234)];}else _0x5c6770['set'](_0x3142ed['selection'],_0x3142ed);}),Array[_0x1e1222(0x22b)](_0x5c6770[_0x1e1222(0x42c)]());}var _0x533767=Object['getOwnPropertyDescriptor'],_0x56a8a7=(_0x227ee9,_0x3de404,_0x11e77d,_0x3f4016)=>{const _0x104dee=_0x52f010;for(var _0x1a69a2=_0x3f4016>0x1?void 0x0:_0x3f4016?_0x533767(_0x3de404,_0x11e77d):_0x3de404,_0x5309b8=_0x227ee9[_0x104dee(0x2d4)]-0x1,_0x19d8de;_0x5309b8>=0x0;_0x5309b8--)(_0x19d8de=_0x227ee9[_0x5309b8])&&(_0x1a69a2=_0x19d8de(_0x1a69a2)||_0x1a69a2);return _0x1a69a2;},_0x207ac4=(_0x26ae16,_0x47873e)=>(_0x3f7a44,_0x3d16d0)=>_0x47873e(_0x3f7a44,_0x3d16d0,_0x26ae16);let _0x57280f=class extends _0x3d05ee[_0x52f010(0x3d6)]{constructor(_0x150ccc,_0x49ff9c,_0x113c54,_0x356a6c,_0x489e81,_0x3f6136){const _0x521de1=_0x52f010;super(),this['_beforeCloseService']=_0x150ccc,this[_0x521de1(0x224)]=_0x49ff9c,this[_0x521de1(0x307)]=_0x113c54,this[_0x521de1(0x23f)]=_0x356a6c,this[_0x521de1(0x21f)]=_0x489e81,this[_0x521de1(0x275)]=_0x3f6136,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x52f010(0x343)](){const _0x40ea10=_0x52f010;this[_0x40ea10(0x2ba)](this[_0x40ea10(0x39a)][_0x40ea10(0x42a)](()=>{const _0x522fe5=_0x40ea10;if(this[_0x522fe5(0x224)][_0x522fe5(0x200)][_0x522fe5(0x41d)])return this[_0x522fe5(0x275)]['t'](_0x522fe5(0x45f));}));}['_initEvent'](){const _0x530f65=_0x52f010;this['disposeWithMe'](this['_collaborationUIEventService'][_0x530f65(0x444)][_0x530f65(0x222)](_0x4c84b1=>{const _0x4d4b8e=_0x530f65;_0x4c84b1['id']===_0x1ac61a[_0x4d4b8e(0x385)][_0x4d4b8e(0x3cf)]&&this[_0x4d4b8e(0x23f)][_0x4d4b8e(0x32f)]({'type':_0xaeffda[_0x4d4b8e(0x466)][_0x4d4b8e(0x457)],'content':this['_localeService']['t'](_0x4d4b8e(0x213))}),_0x4c84b1['id']===_0x1ac61a[_0x4d4b8e(0x385)][_0x4d4b8e(0x3ca)]&&this['_messageService'][_0x4d4b8e(0x32f)]({'type':_0xaeffda[_0x4d4b8e(0x466)][_0x4d4b8e(0x457)],'content':this[_0x4d4b8e(0x275)]['t']('collaboration.closeRoom')}),_0x4c84b1['id']===_0x1ac61a[_0x4d4b8e(0x385)]['PERMISSION_DENIED']&&this[_0x4d4b8e(0x21f)][_0x4d4b8e(0x32f)]({'title':this[_0x4d4b8e(0x275)]['t'](_0x4d4b8e(0x35f)),'content':this[_0x4d4b8e(0x275)]['t'](_0x4d4b8e(0x2d0)),'type':_0x4d4b8e(0x1e8),'duration':0x0}),_0x4c84b1['id']===_0x1ac61a[_0x4d4b8e(0x385)]['CONFLICT']&&this['_messageService'][_0x4d4b8e(0x32f)]({'type':_0xaeffda[_0x4d4b8e(0x466)]['Error'],'content':this[_0x4d4b8e(0x275)]['t']('collaboration.closeRoom')+'('+_0x4c84b1['data']+')'}),_0x4c84b1['id']===_0x1ac61a[_0x4d4b8e(0x385)]['JOIN_ROOM_FAILED']&&this[_0x4d4b8e(0x23f)][_0x4d4b8e(0x32f)]({'type':_0xaeffda[_0x4d4b8e(0x466)][_0x4d4b8e(0x457)],'content':this[_0x4d4b8e(0x275)]['t'](_0x4c84b1[_0x4d4b8e(0x3f9)]||'')}),_0x4c84b1['id']===_0x1ac61a[_0x4d4b8e(0x385)][_0x4d4b8e(0x20b)]&&this['_messageService']['show']({'type':_0xaeffda['MessageType']['Warning'],'content':this['_localeService']['t'](_0x4d4b8e(0x370))}),_0x4c84b1['id']===_0x1ac61a['CollaborationUIEventId'][_0x4d4b8e(0x23c)]&&this[_0x4d4b8e(0x23f)][_0x4d4b8e(0x32f)]({'type':_0xaeffda['MessageType'][_0x4d4b8e(0x441)],'content':this[_0x4d4b8e(0x275)]['t'](_0x4d4b8e(0x2f1))}),_0x4c84b1['id']===_0x1ac61a[_0x4d4b8e(0x385)][_0x4d4b8e(0x2ed)]&&this['_messageService'][_0x4d4b8e(0x32f)]({'type':_0xaeffda['MessageType'][_0x4d4b8e(0x441)],'content':this[_0x4d4b8e(0x275)]['t']('session.collaboration-timeout')});}));}};_0x57280f=_0x56a8a7([_0x207ac4(0x0,_0x1c4740['IBeforeCloseService']),_0x207ac4(0x1,_0x1ac61a[_0x52f010(0x2a1)]),_0x207ac4(0x2,_0x3d05ee[_0x52f010(0x1e7)](_0x1ac61a[_0x52f010(0x229)])),_0x207ac4(0x3,_0x1c4740[_0x52f010(0x3c2)]),_0x207ac4(0x4,_0x1c4740[_0x52f010(0x3f0)]),_0x207ac4(0x5,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x2a2)]))],_0x57280f);const _0x42725f=_0x52f010(0x469),_0x215384={};var _0xf04de0=Object[_0x52f010(0x3d4)],_0xae68d0=(_0x609013,_0x57c227,_0x1cc7b2,_0x265077)=>{const _0x32ceff=_0x52f010;for(var _0x5963a3=_0x265077>0x1?void 0x0:_0x265077?_0xf04de0(_0x57c227,_0x1cc7b2):_0x57c227,_0x3cc179=_0x609013[_0x32ceff(0x2d4)]-0x1,_0x2018e0;_0x3cc179>=0x0;_0x3cc179--)(_0x2018e0=_0x609013[_0x3cc179])&&(_0x5963a3=_0x2018e0(_0x5963a3)||_0x5963a3);return _0x5963a3;},_0x4743ea=(_0x2eebda,_0x2bfbce)=>(_0xb30017,_0xd7eb7b)=>_0x2bfbce(_0xb30017,_0xd7eb7b,_0x2eebda);let _0x3d9de0=class{constructor(_0x1565e,_0x43e724){const _0x5591b0=_0x52f010;this[_0x5591b0(0x27f)]=_0x1565e,this['_renderManagerService']=_0x43e724;}['transformIMECache'](_0x3f85f9){const _0x2832e7=_0x52f010;this[_0x2832e7(0x283)](_0x3f85f9),this['_transformPreviousActiveRange'](_0x3f85f9);}['transformRemoteChangeset'](_0x23988c){const _0x4d4cf9=_0x52f010,{unitID:_0x28fd4e}=_0x23988c,_0x3bbd61=this['_renderManagerService'][_0x4d4cf9(0x280)](_0x28fd4e)[_0x4d4cf9(0x42e)](_0x50ffa0[_0x4d4cf9(0x463)]),{redoCache:_0x347025}=_0x3bbd61[_0x4d4cf9(0x1f3)]();if(_0x347025[_0x4d4cf9(0x2d4)]===0x0)return _0x23988c;let _0x5efa64=_0x3d05ee['Tools'][_0x4d4cf9(0x433)](_0x23988c[_0x4d4cf9(0x306)][0x0]);for(let _0x2cff19=0x0;_0x2cff19<_0x347025[_0x4d4cf9(0x2d4)];_0x2cff19++){const _0xcfc923={'id':'doc.mutation.rich-text-editing','params':{..._0x347025[_0x2cff19]}},_0x52276a=this['_transformService'][_0x4d4cf9(0x470)](_0x5efa64,_0xcfc923,!0x1);if(_0x4876d5['isTransformMutationFailure'](_0x52276a))throw _0x52276a['error'];_0x5efa64=_0x52276a[_0x4d4cf9(0x43a)];}return{..._0x3d05ee[_0x4d4cf9(0x382)][_0x4d4cf9(0x433)](_0x23988c),'mutations':[_0x5efa64]};}[_0x52f010(0x283)](_0x2838f9){const _0x1d8696=_0x52f010,{unitID:_0x21f1b0}=_0x2838f9,_0xb8e75=this['_renderManagerService'][_0x1d8696(0x280)](_0x21f1b0)['with'](_0x50ffa0['DocIMEInputManagerService']),{undoCache:_0x291c72,redoCache:_0x2e8a20}=_0xb8e75['getUndoRedoMutationParamsCache']();if(_0x291c72[_0x1d8696(0x2d4)]===0x0||_0x2e8a20[_0x1d8696(0x2d4)]===0x0)return;const _0x329e5f=[],_0x2f2c5a=[];let _0x527980=_0x3d05ee[_0x1d8696(0x382)][_0x1d8696(0x433)](_0x2838f9[_0x1d8696(0x306)][0x0]),_0x2cf947=_0x3d05ee[_0x1d8696(0x382)][_0x1d8696(0x433)](_0x2838f9['mutations'][0x0]);for(let _0x4848a4=_0x291c72[_0x1d8696(0x2d4)]-0x1;_0x4848a4>=0x0;_0x4848a4--){const _0x17b43d={'id':_0x1d8696(0x23d),'params':{..._0x291c72[_0x4848a4]}},_0x394ca4={'id':'doc.mutation.rich-text-editing','params':{..._0x2e8a20[_0x4848a4]}},_0x110a7b=this['_transformService'][_0x1d8696(0x470)](_0x527980,_0x17b43d,!0x1),_0x104b3a=this[_0x1d8696(0x27f)][_0x1d8696(0x470)](_0x2cf947,_0x394ca4,!0x1);if(_0x4876d5[_0x1d8696(0x453)](_0x110a7b))throw _0x110a7b[_0x1d8696(0x1e8)];if(_0x4876d5[_0x1d8696(0x453)](_0x104b3a))throw _0x104b3a['error'];_0x329e5f[_0x1d8696(0x438)](_0x110a7b[_0x1d8696(0x43f)][_0x1d8696(0x21c)]),_0x2f2c5a[_0x1d8696(0x438)](_0x104b3a[_0x1d8696(0x43f)][_0x1d8696(0x21c)]),_0x527980=_0x110a7b['m1Prime'],_0x2cf947=_0x104b3a[_0x1d8696(0x43a)];}_0xb8e75[_0x1d8696(0x29d)]({'undoCache':_0x329e5f,'redoCache':_0x2f2c5a});}[_0x52f010(0x2f8)](_0x24bc91){const _0x1cd729=_0x52f010,{unitID:_0x2042c2}=_0x24bc91,_0x4ec23f=this[_0x1cd729(0x334)][_0x1cd729(0x280)](_0x2042c2)[_0x1cd729(0x42e)](_0x50ffa0[_0x1cd729(0x463)]),_0x44c5fc=_0x4ec23f[_0x1cd729(0x39f)]();if(_0x44c5fc==null)return;const _0x5cec30=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x24bc91[_0x1cd729(0x412)],'actions':null,'textRanges':[_0x44c5fc]}}],_0x1f339a=this[_0x1cd729(0x27f)]['transformMutationsWithChangeset'](_0x24bc91,_0x5cec30);if(!_0x4876d5['isTransformMutationsWithChangesetSuccess'](_0x1f339a))throw _0x1f339a['error'];const _0x7a6eab=_0x1f339a[_0x1cd729(0x43f)][0x0][_0x1cd729(0x21c)][_0x1cd729(0x301)];Array['isArray'](_0x7a6eab)&&_0x7a6eab[_0x1cd729(0x2d4)]&&_0x4ec23f[_0x1cd729(0x1f2)](_0x7a6eab[0x0]);}};_0x3d9de0=_0xae68d0([_0x4743ea(0x0,_0x4876d5['ITransformService']),_0x4743ea(0x1,_0x1eb76f[_0x52f010(0x3d3)])],_0x3d9de0);var _0x4f1ea3=Object[_0x52f010(0x3d4)],_0xc64858=(_0x1fafba,_0xcebd0d,_0x40bb66,_0x58062d)=>{const _0x1c0c24=_0x52f010;for(var _0x11869d=_0x58062d>0x1?void 0x0:_0x58062d?_0x4f1ea3(_0xcebd0d,_0x40bb66):_0xcebd0d,_0x240be2=_0x1fafba[_0x1c0c24(0x2d4)]-0x1,_0x270324;_0x240be2>=0x0;_0x240be2--)(_0x270324=_0x1fafba[_0x240be2])&&(_0x11869d=_0x270324(_0x11869d)||_0x11869d);return _0x11869d;},_0x40a272=(_0x1fb32c,_0x8aed05)=>(_0x41166e,_0x307f1b)=>_0x8aed05(_0x41166e,_0x307f1b,_0x1fb32c);let _0x422d1f=class{constructor(_0x39e1b3,_0x2e3098,_0x4bd4c2){const _0xdc247=_0x52f010;this[_0xdc247(0x2c9)]=_0x39e1b3,this[_0xdc247(0x27f)]=_0x2e3098,this[_0xdc247(0x291)]=_0x4bd4c2;}[_0x52f010(0x3ba)](_0x5c2b76){const _0x36f8a2=_0x52f010;this[_0x36f8a2(0x2e4)](_0x5c2b76);}[_0x52f010(0x24c)](_0x3e3f3c){const _0x103707=_0x52f010,{unitID:_0x36f2f0}=_0x3e3f3c,{collaboration:_0x46e41e}=this['_docStateChangeManagerService'][_0x103707(0x22e)](_0x36f2f0);if(_0x46e41e['length']===0x0)return _0x3e3f3c;let _0x39a4f6=_0x3d05ee[_0x103707(0x382)][_0x103707(0x433)](_0x3e3f3c[_0x103707(0x306)][0x0]);for(let _0x206158=0x0;_0x206158<_0x46e41e['length'];_0x206158++){const _0x379312={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x46e41e[_0x206158]['unitId'],..._0x46e41e[_0x206158][_0x103707(0x468)]}},_0xe1dd82=this[_0x103707(0x27f)][_0x103707(0x470)](_0x39a4f6,_0x379312,!0x1);if(_0x4876d5[_0x103707(0x453)](_0xe1dd82))throw _0xe1dd82[_0x103707(0x1e8)];_0x39a4f6=_0xe1dd82[_0x103707(0x43a)];}return{..._0x3d05ee[_0x103707(0x382)][_0x103707(0x433)](_0x3e3f3c),'mutations':[_0x39a4f6]};}[_0x52f010(0x2e4)](_0x19898b){const _0x2469d8=_0x52f010,{unitID:_0x10784b}=_0x19898b,{history:_0x8e379d,collaboration:_0x167974}=this['_docStateChangeManagerService'][_0x2469d8(0x22e)](_0x10784b);if(_0x8e379d[_0x2469d8(0x2d4)]===0x0&&_0x167974[_0x2469d8(0x2d4)]===0x0)return;const _0x487c85=[],_0x5c0005=[];let _0x1dcbce=_0x3d05ee['Tools'][_0x2469d8(0x433)](_0x19898b['mutations'][0x0]),_0x20cc1b=_0x3d05ee['Tools'][_0x2469d8(0x433)](_0x19898b[_0x2469d8(0x306)][0x0]);for(let _0x16e4d6=_0x8e379d[_0x2469d8(0x2d4)]-0x1;_0x16e4d6>=0x0;_0x16e4d6--){const _0x5b99a5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x8e379d[_0x16e4d6][_0x2469d8(0x32e)],..._0x8e379d[_0x16e4d6][_0x2469d8(0x459)]}},_0x3c8d20={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x8e379d[_0x16e4d6][_0x2469d8(0x32e)],..._0x8e379d[_0x16e4d6]['redoState']}},_0x42082f=this['_transformService']['transformMutation'](_0x1dcbce,_0x5b99a5,!0x1),_0x55a0fb=this[_0x2469d8(0x27f)][_0x2469d8(0x470)](_0x20cc1b,_0x3c8d20,!0x1);if(_0x4876d5[_0x2469d8(0x453)](_0x42082f))throw _0x42082f[_0x2469d8(0x1e8)];if(_0x4876d5[_0x2469d8(0x453)](_0x55a0fb))throw _0x55a0fb[_0x2469d8(0x1e8)];_0x487c85[_0x2469d8(0x438)]({..._0x8e379d[_0x16e4d6],'undoState':_0x42082f[_0x2469d8(0x43f)]['params'],'redoState':_0x55a0fb[_0x2469d8(0x43f)]['params']}),_0x1dcbce=_0x42082f[_0x2469d8(0x43a)],_0x20cc1b=_0x55a0fb[_0x2469d8(0x43a)];}_0x1dcbce=_0x3d05ee['Tools'][_0x2469d8(0x433)](_0x19898b['mutations'][0x0]),_0x20cc1b=_0x3d05ee[_0x2469d8(0x382)]['deepClone'](_0x19898b[_0x2469d8(0x306)][0x0]);for(let _0x1a390e=_0x167974['length']-0x1;_0x1a390e>=0x0;_0x1a390e--){const _0x3097aa={'id':_0x2469d8(0x23d),'params':{'unitId':_0x167974[_0x1a390e][_0x2469d8(0x32e)],..._0x167974[_0x1a390e]['undoState']}},_0x441899={'id':_0x2469d8(0x23d),'params':{'unitId':_0x167974[_0x1a390e]['unitId'],..._0x167974[_0x1a390e]['redoState']}},_0x50ee7f=this[_0x2469d8(0x27f)]['transformMutation'](_0x1dcbce,_0x3097aa,!0x1),_0x1cf572=this[_0x2469d8(0x27f)][_0x2469d8(0x470)](_0x20cc1b,_0x441899,!0x1);if(_0x4876d5[_0x2469d8(0x453)](_0x50ee7f))throw _0x50ee7f[_0x2469d8(0x1e8)];if(_0x4876d5['isTransformMutationFailure'](_0x1cf572))throw _0x1cf572[_0x2469d8(0x1e8)];_0x5c0005[_0x2469d8(0x438)]({..._0x167974[_0x1a390e],'undoState':_0x50ee7f['m2Prime']['params'],'redoState':_0x1cf572[_0x2469d8(0x43f)][_0x2469d8(0x21c)]}),_0x1dcbce=_0x50ee7f[_0x2469d8(0x43a)],_0x20cc1b=_0x1cf572[_0x2469d8(0x43a)];}this['_docStateChangeManagerService'][_0x2469d8(0x34f)](_0x10784b,{'history':_0x487c85,'collaboration':_0x5c0005});}};_0x422d1f=_0xc64858([_0x40a272(0x0,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x316)])),_0x40a272(0x1,_0x4876d5['ITransformService']),_0x40a272(0x2,_0x3d05ee[_0x52f010(0x1e7)](_0x50ffa0[_0x52f010(0x220)]))],_0x422d1f);var _0x4900ab=Object[_0x52f010(0x3d4)],_0xf2bc14=(_0x15c8b6,_0x43eaf3,_0x52873d,_0xb7bc40)=>{const _0xe33999=_0x52f010;for(var _0x264e3e=_0xb7bc40>0x1?void 0x0:_0xb7bc40?_0x4900ab(_0x43eaf3,_0x52873d):_0x43eaf3,_0x37d3ad=_0x15c8b6[_0xe33999(0x2d4)]-0x1,_0x2fa60d;_0x37d3ad>=0x0;_0x37d3ad--)(_0x2fa60d=_0x15c8b6[_0x37d3ad])&&(_0x264e3e=_0x2fa60d(_0x264e3e)||_0x264e3e);return _0x264e3e;},_0x14b888=(_0x3d0b42,_0x1449f6)=>(_0x3a46d5,_0x305fcf)=>_0x1449f6(_0x3a46d5,_0x305fcf,_0x3d0b42);let _0x1a0a2c=class{constructor(_0x395982,_0x3027c7){const _0x1ad7ed=_0x52f010;this['_injector']=_0x395982,this[_0x1ad7ed(0x27f)]=_0x3027c7;}[_0x52f010(0x252)](_0x14e6e0){const _0x2e889d=_0x52f010;var _0x3d7670;const _0x37ebe8=this[_0x2e889d(0x2c9)][_0x2e889d(0x25b)](_0x427dab[_0x2e889d(0x1d5)]),_0x3940bf=(_0x3d7670=_0x37ebe8[_0x2e889d(0x36b)]())!=null?_0x3d7670:[];if(_0x3940bf['length']===0x0)return;const _0x1198a0=_0x14e6e0['unitID'],_0x4eccfe=[{'id':_0x2e889d(0x23d),'params':{'unitId':_0x1198a0,'actions':null,'textRanges':_0x3940bf}}],_0x43e0a2=this[_0x2e889d(0x27f)][_0x2e889d(0x1df)](_0x14e6e0,_0x4eccfe);if(!_0x4876d5[_0x2e889d(0x3bd)](_0x43e0a2))throw _0x43e0a2[_0x2e889d(0x1e8)];const _0x189933=_0x43e0a2[_0x2e889d(0x43f)][0x0][_0x2e889d(0x21c)][_0x2e889d(0x301)];Array[_0x2e889d(0x3fb)](_0x189933)&&_0x189933[_0x2e889d(0x2d4)]&&_0x37ebe8[_0x2e889d(0x41f)](_0x189933,{'unitId':_0x1198a0,'subUnitId':_0x1198a0},!0x1);}};_0x1a0a2c=_0xf2bc14([_0x14b888(0x0,_0x3d05ee['Inject'](_0x3d05ee[_0x52f010(0x316)])),_0x14b888(0x1,_0x4876d5[_0x52f010(0x1dd)])],_0x1a0a2c);var _0x297c74=Object['getOwnPropertyDescriptor'],_0x50d072=(_0x1bf917,_0x5b3618,_0x431804,_0x28af21)=>{const _0x25eb11=_0x52f010;for(var _0x183631=_0x28af21>0x1?void 0x0:_0x28af21?_0x297c74(_0x5b3618,_0x431804):_0x5b3618,_0x441f8f=_0x1bf917[_0x25eb11(0x2d4)]-0x1,_0x5491e9;_0x441f8f>=0x0;_0x441f8f--)(_0x5491e9=_0x1bf917[_0x441f8f])&&(_0x183631=_0x5491e9(_0x183631)||_0x183631);return _0x183631;},_0x3eb141=(_0x1f567a,_0x312eba)=>(_0x1dda23,_0x25246f)=>_0x312eba(_0x1dda23,_0x25246f,_0x1f567a);let _0x1027a1=class extends _0x3d05ee['Disposable']{constructor(_0x15ece2,_0xd24945,_0x44ac2c,_0x4bea92,_0x199ab8,_0x4f5b42,_0x7d82e7,_0x3b3004){const _0x35672b=_0x52f010;super(),_0x544075(this,'_status$',new _0x353c21[(_0x35672b(0x411))](_0x1ac61a['CollaborationStatus'][_0x35672b(0x335)])),(this[_0x35672b(0x291)]=_0x15ece2,this['_collaborationController']=_0xd24945,this['_docTransformIMECacheService']=_0x44ac2c,this[_0x35672b(0x418)]=_0x4bea92,this[_0x35672b(0x1eb)]=_0x199ab8,this[_0x35672b(0x26f)]=_0x4f5b42,this[_0x35672b(0x23f)]=_0x7d82e7,this[_0x35672b(0x275)]=_0x3b3004,this[_0x35672b(0x29e)]());}[_0x52f010(0x29e)](){const _0x152c82=_0x52f010;this['disposeWithMe'](this[_0x152c82(0x445)][_0x152c82(0x439)][_0x152c82(0x222)](_0x2ad5fa=>{const _0x5a6b8a=_0x152c82,_0x84d252=this['_docStateChangeManagerService'][_0x5a6b8a(0x2ff)][_0x5a6b8a(0x222)](_0x192f8e=>{const _0x148c1c=_0x5a6b8a;if(_0x192f8e==null)return;const {unitId:_0x33ac9f,redoState:_0x200882,commandId:_0x230f61}=_0x192f8e;if(_0x33ac9f!==_0x2ad5fa[_0x148c1c(0x412)])return;const _0x54437c={'id':_0x230f61,'type':_0x3d05ee['CommandType'][_0x148c1c(0x377)],'params':{'unitId':_0x33ac9f,'actions':_0x200882['actions'],'textRanges':null}};_0x2ad5fa[_0x148c1c(0x398)](_0x54437c);});if(_0x2ad5fa[_0x5a6b8a(0x2ba)](_0x84d252),_0x2ad5fa instanceof _0x1ac61a[_0x5a6b8a(0x342)]){const _0xb08b92={'onTransformIME':_0x132d97=>this[_0x5a6b8a(0x2fd)]['transformIMECache'](_0x132d97),'onTransformState':_0x1666ac=>this[_0x5a6b8a(0x418)][_0x5a6b8a(0x3ba)](_0x1666ac),'onTransformSelections':_0x419ade=>this['_docTransformSelectionsService'][_0x5a6b8a(0x252)](_0x419ade),'onSyncEditingCollabCursor':_0x258fa4=>this[_0x5a6b8a(0x26f)][_0x5a6b8a(0x2e1)](_0x258fa4),'onTransformRemoteChangesetByIMECache':_0x1e9582=>this[_0x5a6b8a(0x2fd)]['transformRemoteChangeset'](_0x1e9582),'onTransformRemoteChangesetByStateCache':_0x3592bf=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x3592bf)};_0x2ad5fa[_0x5a6b8a(0x239)](_0xb08b92);}}));}};_0x1027a1=_0x50d072([_0x3eb141(0x0,_0x3d05ee['Inject'](_0x50ffa0[_0x52f010(0x220)])),_0x3eb141(0x1,_0x3d05ee[_0x52f010(0x1e7)](_0x1ac61a[_0x52f010(0x315)])),_0x3eb141(0x2,_0x3d05ee['Inject'](_0x3d9de0)),_0x3eb141(0x3,_0x3d05ee[_0x52f010(0x1e7)](_0x422d1f)),_0x3eb141(0x4,_0x3d05ee['Inject'](_0x1a0a2c)),_0x3eb141(0x5,_0x3d05ee[_0x52f010(0x1e7)](_0x4e98a8)),_0x3eb141(0x6,_0x1c4740[_0x52f010(0x3c2)]),_0x3eb141(0x7,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x2a2)]))],_0x1027a1);var _0x2201c5=Object[_0x52f010(0x3d4)],_0x2726e3=(_0x2c155a,_0x349b6d,_0x28e992,_0x592e2f)=>{const _0x1af93d=_0x52f010;for(var _0x3b5d36=_0x592e2f>0x1?void 0x0:_0x592e2f?_0x2201c5(_0x349b6d,_0x28e992):_0x349b6d,_0x1ba198=_0x2c155a[_0x1af93d(0x2d4)]-0x1,_0x25d909;_0x1ba198>=0x0;_0x1ba198--)(_0x25d909=_0x2c155a[_0x1ba198])&&(_0x3b5d36=_0x25d909(_0x3b5d36)||_0x3b5d36);return _0x3b5d36;},_0x46583a=(_0x142d8f,_0x3655bb)=>(_0x148d4f,_0x83f604)=>_0x3655bb(_0x148d4f,_0x83f604,_0x142d8f);let _0x48d8ce=class extends _0x3d05ee[_0x52f010(0x3d6)]{constructor(_0x2685c8,_0x5445f1,_0x191aa3){const _0x4fdf09=_0x52f010;super(),_0x544075(this,_0x4fdf09(0x30f),new Map()),_0x544075(this,_0x4fdf09(0x2f5),new Map()),_0x544075(this,_0x4fdf09(0x44c),!0x1),(this[_0x4fdf09(0x202)]=_0x2685c8,this['_localStorageService']=_0x5445f1,this[_0x4fdf09(0x3a2)]=_0x191aa3);}[_0x52f010(0x3c4)](){this['_disabled']=!0x0;}[_0x52f010(0x455)](){const _0x145c86=_0x52f010;this[_0x145c86(0x44c)]=!0x1;}get[_0x52f010(0x200)](){const _0x4b72cf=_0x52f010;return this[_0x4b72cf(0x2f5)];}['dispose'](){const _0x18533d=_0x52f010;this['exhaustSavingTask']()['then'](()=>super[_0x18533d(0x244)]());}async[_0x52f010(0x376)](_0x1d1053){const _0x553e5c=_0x52f010;return this['_disabled']?null:this[_0x553e5c(0x309)][_0x553e5c(0x31a)](_0x1ac61a[_0x553e5c(0x2b1)](_0x1d1053));}async[_0x52f010(0x40c)](_0x3008d4,_0x51c1e3){const _0x3fa0ce=_0x52f010;return!!this[_0x3fa0ce(0x309)][_0x3fa0ce(0x423)](_0x3008d4,_0x51c1e3);}[_0x52f010(0x380)](_0xe4f8ed,_0x107fa4,_0x4dc0eb,_0x4dc409){const _0xe97eb9=_0x52f010,_0x268857=this['_revisionService']['getCurrentRevOfUnit'](_0xe4f8ed);this[_0xe97eb9(0x30f)]['set'](_0xe4f8ed,{'unitID':_0xe4f8ed,'type':_0x107fa4,'awaitingChangeset':_0x4dc0eb,'mutations':_0x4dc409,'rev':_0x268857}),this['_saveTaskMap']['has'](_0xe4f8ed)||this[_0xe97eb9(0x297)](_0xe4f8ed);}[_0x52f010(0x297)](_0x6e28ae){const _0x202b9a=_0x52f010,_0x4fa1e6=this[_0x202b9a(0x3c0)]();_0x4fa1e6===0x0?this[_0x202b9a(0x324)](_0x6e28ae):this[_0x202b9a(0x2f5)][_0x202b9a(0x3f1)](_0x6e28ae,setTimeout(()=>this[_0x202b9a(0x324)](_0x6e28ae),_0x4fa1e6));}[_0x52f010(0x3c0)](){const _0x28dd29=_0x52f010;var _0x4b25ab;return(_0x4b25ab=this[_0x28dd29(0x202)][_0x28dd29(0x34b)](_0x1ac61a['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x4b25ab:_0x1ac61a[_0x28dd29(0x394)];}[_0x52f010(0x324)](_0x5d8cee){const _0x58bd82=_0x52f010,_0x47953a=this[_0x58bd82(0x2f5)][_0x58bd82(0x25b)](_0x5d8cee);return _0x47953a!==void 0x0&&window[_0x58bd82(0x430)](_0x47953a),this[_0x58bd82(0x309)]['setItem'](_0x1ac61a[_0x58bd82(0x2b1)](_0x5d8cee),this['_cachedData']['get'](_0x5d8cee))['then'](()=>this[_0x58bd82(0x2f5)][_0x58bd82(0x3d1)](_0x5d8cee));}async[_0x52f010(0x424)](){const _0x543396=_0x52f010,_0x17b157=[];this[_0x543396(0x2f5)][_0x543396(0x2ce)]((_0xb8bd9b,_0x3435a9)=>{const _0x167b46=_0x543396;window[_0x167b46(0x430)](_0xb8bd9b),_0x17b157[_0x167b46(0x404)](this['_saveCache'](_0x3435a9)['then'](()=>{const _0x370287=_0x167b46;this[_0x370287(0x2f5)][_0x370287(0x3d1)](_0x3435a9);}));}),await Promise[_0x543396(0x2bc)](_0x17b157);}};_0x48d8ce=_0x2726e3([_0x46583a(0x0,_0x3d05ee[_0x52f010(0x3eb)]),_0x46583a(0x1,_0x3d05ee[_0x52f010(0x2f3)]),_0x46583a(0x2,_0x3d05ee[_0x52f010(0x1e7)](_0x4876d5[_0x52f010(0x1ee)]))],_0x48d8ce);class _0x353b3b extends _0x3d05ee[_0x52f010(0x442)]{constructor(){const _0x1669a5=_0x52f010;super(),_0x544075(this,_0x1669a5(0x38f)),this[_0x1669a5(0x38f)]=_0x353c21['fromEvent'](window,_0x1669a5(0x3f4))[_0x1669a5(0x38c)](_0x353c21[_0x1669a5(0x25f)](this['dispose$']),_0x353c21[_0x1669a5(0x3a8)](0x1),_0x353c21['mapTo'](void 0x0));}[_0x52f010(0x40a)](_0x128fb5,_0x4b50c8,_0x5030cf=!0x1){const _0x3a32bc=_0x52f010,_0x387f17=new URL(window[_0x3a32bc(0x266)][_0x3a32bc(0x344)]);_0x387f17[_0x3a32bc(0x24e)][_0x3a32bc(0x3f1)](_0x128fb5,_0x4b50c8),_0x5030cf?window['history'][_0x3a32bc(0x2b3)]('','',_0x387f17[_0x3a32bc(0x434)]()):window[_0x3a32bc(0x231)][_0x3a32bc(0x1da)]('','',_0x387f17[_0x3a32bc(0x434)]());}[_0x52f010(0x2f2)](_0x5c1cc5,_0x488a81=!0x1){const _0x5096ea=_0x52f010,_0x4bdd89=new URL(window[_0x5096ea(0x266)][_0x5096ea(0x344)]);_0x4bdd89[_0x5096ea(0x24e)][_0x5096ea(0x3d1)](_0x5c1cc5),_0x488a81?window['history']['replaceState']('','',_0x4bdd89[_0x5096ea(0x434)]()):window[_0x5096ea(0x231)][_0x5096ea(0x1da)]('','',_0x4bdd89[_0x5096ea(0x434)]());}[_0x52f010(0x3e1)](_0x4e0267){const _0x5039c8=_0x52f010;var _0x7e626e;return(_0x7e626e=new URL(window[_0x5039c8(0x266)]['href'])[_0x5039c8(0x24e)][_0x5039c8(0x25b)](_0x4e0267))!=null?_0x7e626e:void 0x0;}}var _0x15f48f=Object[_0x52f010(0x41c)],_0x5954ec=Object[_0x52f010(0x3d4)],_0x5a2563=(_0x27841e,_0x1a8f36,_0x113b3d)=>_0x1a8f36 in _0x27841e?_0x15f48f(_0x27841e,_0x1a8f36,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x113b3d}):_0x27841e[_0x1a8f36]=_0x113b3d,_0x4575a0=(_0x336f28,_0x426498,_0x2ea188,_0x32da92)=>{const _0x3fe821=_0x52f010;for(var _0x3d1a9a=_0x32da92>0x1?void 0x0:_0x32da92?_0x5954ec(_0x426498,_0x2ea188):_0x426498,_0x415660=_0x336f28[_0x3fe821(0x2d4)]-0x1,_0x4eca83;_0x415660>=0x0;_0x415660--)(_0x4eca83=_0x336f28[_0x415660])&&(_0x3d1a9a=_0x4eca83(_0x3d1a9a)||_0x3d1a9a);return _0x3d1a9a;},_0x57bd72=(_0x37e9be,_0x5ed492)=>(_0x39e148,_0x5be135)=>_0x5ed492(_0x39e148,_0x5be135,_0x37e9be),_0x363c2b=(_0x284bc2,_0x9fed8b,_0x3dcc69)=>_0x5a2563(_0x284bc2,_0x9fed8b+'',_0x3dcc69);const _0x5b0791=_0x52f010(0x331);_0x2245a1[_0x52f010(0x35e)]=class extends _0x3d05ee['Plugin']{constructor(_0x591b5c=_0x215384,_0x48817d,_0x5284a7,_0x988136){const _0x2cec20=_0x52f010;super(),this['_config']=_0x591b5c,this['_renderManagerService']=_0x48817d,this[_0x2cec20(0x2c9)]=_0x5284a7,this[_0x2cec20(0x202)]=_0x988136;const {..._0xbff6cf}=_0x3d05ee[_0x2cec20(0x36c)]({},_0x215384,this[_0x2cec20(0x25a)]);this[_0x2cec20(0x202)]['setConfig'](_0x42725f,_0xbff6cf);}[_0x52f010(0x431)](){const _0x980154=_0x52f010;this[_0x980154(0x2c0)](),this['_initDependencies']();}[_0x52f010(0x3d5)](){this['_registerRenderDependencies']();}[_0x52f010(0x2c0)](){const _0x3877d4=_0x52f010;var _0x84cf03;const _0x26030c=[[_0x27e238],[_0x1a0a2c],[_0x3d9de0],[_0x422d1f],[_0x4e98a8],[_0x40ca0b,{'useClass':_0x353b3b}],[_0x4cfd05[_0x3877d4(0x361)],{'useClass':_0x4cfd05[_0x3877d4(0x32a)]}],[_0x1ac61a[_0x3877d4(0x2a1)],{'useClass':_0x48d8ce}],[_0x2245a1[_0x3877d4(0x42f)]],[_0x1027a1],[_0x57280f],[_0x5d58f9],[_0x2d6ba0],[_0x2245a1[_0x3877d4(0x364)]]];_0x3d05ee[_0x3877d4(0x420)](this[_0x3877d4(0x2c9)],_0x3d05ee[_0x3877d4(0x337)](_0x26030c,(_0x84cf03=this[_0x3877d4(0x25a)])==null?void 0x0:_0x84cf03['override']));}[_0x52f010(0x3aa)](){const _0x5c3f7e=_0x52f010;this[_0x5c3f7e(0x2ba)](this[_0x5c3f7e(0x334)][_0x5c3f7e(0x217)](_0x3d05ee[_0x5c3f7e(0x287)][_0x5c3f7e(0x2dc)],[_0xf7a1a5])),this['disposeWithMe'](this[_0x5c3f7e(0x334)][_0x5c3f7e(0x217)](_0x3d05ee['UniverInstanceType'][_0x5c3f7e(0x44b)],[_0x31a600]));}[_0x52f010(0x435)](){const _0x21ea14=_0x52f010;_0x3d05ee[_0x21ea14(0x3c8)](this[_0x21ea14(0x2c9)],[[_0x5d58f9],[_0x2245a1['DesktopCollaborationStatusDisplayController']],[_0x1027a1],[_0x57280f],[_0x2245a1[_0x21ea14(0x364)]]]);}},_0x363c2b(_0x2245a1[_0x52f010(0x35e)],'pluginName',_0x5b0791),_0x2245a1[_0x52f010(0x35e)]=_0x4575a0([_0x3d05ee[_0x52f010(0x378)](_0x1ac61a[_0x52f010(0x318)]),_0x57bd72(0x1,_0x1eb76f[_0x52f010(0x3d3)]),_0x57bd72(0x2,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x316)])),_0x57bd72(0x3,_0x3d05ee[_0x52f010(0x3eb)])],_0x2245a1['UniverCollaborationClientUIPlugin']);var _0x57b008=Object[_0x52f010(0x3d4)],_0x55c18f=(_0x57180f,_0xd1d2cc,_0x77d94c,_0x4354a2)=>{const _0x3a3d52=_0x52f010;for(var _0x3724cc=_0x4354a2>0x1?void 0x0:_0x4354a2?_0x57b008(_0xd1d2cc,_0x77d94c):_0xd1d2cc,_0x44024d=_0x57180f[_0x3a3d52(0x2d4)]-0x1,_0x32308e;_0x44024d>=0x0;_0x44024d--)(_0x32308e=_0x57180f[_0x44024d])&&(_0x3724cc=_0x32308e(_0x3724cc)||_0x3724cc);return _0x3724cc;},_0x51aa80=(_0x23c3bb,_0x5d1d89)=>(_0x14e7f5,_0x341318)=>_0x5d1d89(_0x14e7f5,_0x341318,_0x23c3bb);_0x2245a1[_0x52f010(0x255)]=class extends _0x1ac61a['CollaborationSocketService']{constructor(_0x43e21a,_0x239126,_0x236482,_0x26b17c,_0x3ffbe5){super(_0x43e21a,_0x239126,_0x236482,_0x26b17c,_0x3ffbe5);}async[_0x52f010(0x3b7)](_0x418eb1){const _0x166e46=_0x52f010,_0x33c396=await this[_0x166e46(0x216)](),_0x16a456=this[_0x166e46(0x374)](_0x418eb1,_0x33c396);return this['_doCreateSocket'](_0x16a456);}[_0x52f010(0x374)](_0xb918ec,_0x48ebb2){const _0x4937e0=_0x52f010,_0x3d5e88=typeof window>'u'?new URL(_0xb918ec):new URL(_0xb918ec,window[_0x4937e0(0x266)][_0x4937e0(0x413)]);_0x3d5e88[_0x4937e0(0x24e)][_0x4937e0(0x3f1)]('sessionTicket',_0x48ebb2);const _0x214653=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4937e0(0x266)][_0x4937e0(0x2c2)]);return _0x214653[_0x4937e0(0x25b)]('runId')&&_0x3d5e88[_0x4937e0(0x24e)][_0x4937e0(0x3f1)](_0x4937e0(0x45c),_0x214653['get']('runId')),_0x3d5e88[_0x4937e0(0x434)]();}async[_0x52f010(0x216)](){const _0x5e6edc=_0x52f010;var _0x437ecb,_0x507452,_0x3968ed;const _0x4ea848=this[_0x5e6edc(0x202)][_0x5e6edc(0x34b)](_0x1ac61a[_0x5e6edc(0x294)]),_0x36398e=(_0x437ecb=_0x4ea848==null?void 0x0:_0x4ea848[_0x5e6edc(0x2c6)])!=null?_0x437ecb:_0x1ac61a[_0x5e6edc(0x21d)];return(_0x3968ed=(_0x507452=(await this[_0x5e6edc(0x1e3)][_0x5e6edc(0x25b)](_0x36398e,{'headers':{'Content-Type':'application/json'}}))[_0x5e6edc(0x28a)])==null?void 0x0:_0x507452[_0x5e6edc(0x31d)])!=null?_0x3968ed:'';}},_0x2245a1[_0x52f010(0x255)]=_0x55c18f([_0x51aa80(0x0,_0x3d05ee[_0x52f010(0x1e7)](_0x3d05ee[_0x52f010(0x316)])),_0x51aa80(0x1,_0x3d05ee[_0x52f010(0x1e7)](_0x4cfd05[_0x52f010(0x320)])),_0x51aa80(0x2,_0x3d05ee[_0x52f010(0x3eb)]),_0x51aa80(0x3,_0x3d05ee[_0x52f010(0x3ae)]),_0x51aa80(0x4,_0x4876d5[_0x52f010(0x289)])],_0x2245a1['BrowserCollaborationSocketService']);var _0x592e89=(_0x92d219=>(_0x92d219[_0x92d219[_0x52f010(0x3b1)]=0x0]=_0x52f010(0x3b1),_0x92d219[_0x92d219['OK']=0x1]='OK',_0x92d219[_0x92d219['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x92d219[_0x92d219[_0x52f010(0x1e2)]=0x3]=_0x52f010(0x1e2),_0x92d219[_0x92d219[_0x52f010(0x458)]=0x4]=_0x52f010(0x458),_0x92d219[_0x92d219[_0x52f010(0x2ad)]=0x5]=_0x52f010(0x2ad),_0x92d219[_0x92d219[_0x52f010(0x1de)]=0x6]=_0x52f010(0x1de),_0x92d219[_0x92d219[_0x52f010(0x303)]=0x7]=_0x52f010(0x303),_0x92d219[_0x92d219[_0x52f010(0x429)]=0x8]='TOO_MANY_REQUESTS',_0x92d219[_0x92d219[_0x52f010(0x34c)]=0x9]=_0x52f010(0x34c),_0x92d219[_0x92d219['LOGIN_FAILED']=0xa]=_0x52f010(0x346),_0x92d219[_0x92d219[_0x52f010(0x207)]=0xb]=_0x52f010(0x207),_0x92d219[_0x92d219['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x52f010(0x3cb),_0x92d219[_0x92d219['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x52f010(0x29f),_0x92d219[_0x92d219['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x52f010(0x33b),_0x92d219[_0x92d219[_0x52f010(0x3e6)]=0x1389]=_0x52f010(0x3e6),_0x92d219[_0x92d219['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x92d219[_0x92d219[_0x52f010(0x3e5)]=0x1772]=_0x52f010(0x3e5),_0x92d219[_0x92d219[_0x52f010(0x2e6)]=0x1773]=_0x52f010(0x2e6),_0x92d219[_0x92d219[_0x52f010(0x353)]=0x1b59]=_0x52f010(0x353),_0x92d219[_0x92d219['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x52f010(0x201),_0x92d219[_0x92d219['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x92d219[_0x92d219[_0x52f010(0x31c)]=0x1b5c]=_0x52f010(0x31c),_0x92d219[_0x92d219['APPLY_DUPLICATED']=0x1b5d]=_0x52f010(0x407),_0x92d219[_0x92d219[_0x52f010(0x3b3)]=0x1f41]=_0x52f010(0x3b3),_0x92d219[_0x92d219['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x52f010(0x1f1),_0x92d219[_0x92d219[_0x52f010(0x28f)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x92d219[_0x92d219[_0x52f010(0x210)]=0x232b]=_0x52f010(0x210),_0x92d219[_0x92d219['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x52f010(0x38b),_0x92d219[_0x92d219['LICENSE_DISTRO_REJECTED']=0x232d]=_0x52f010(0x393),_0x92d219[_0x92d219['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x52f010(0x317),_0x92d219[_0x92d219[_0x52f010(0x211)]=0x2712]=_0x52f010(0x211),_0x92d219[_0x92d219['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x52f010(0x282),_0x92d219[_0x92d219['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x92d219[_0x92d219[_0x52f010(0x33a)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x92d219[_0x92d219['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x52f010(0x39c),_0x92d219[_0x92d219[_0x52f010(0x39e)]=0x271c]=_0x52f010(0x39e),_0x92d219[_0x92d219[_0x52f010(0x45a)]=0x271d]=_0x52f010(0x45a),_0x92d219[_0x92d219['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x52f010(0x348),_0x92d219[_0x92d219[_0x52f010(0x321)]=0x271f]=_0x52f010(0x321),_0x92d219[_0x92d219[_0x52f010(0x3a1)]=0x2720]=_0x52f010(0x3a1),_0x92d219[_0x92d219['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x92d219[_0x92d219[_0x52f010(0x2e5)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x92d219[_0x92d219[_0x52f010(0x333)]=0x2ee2]=_0x52f010(0x333),_0x92d219[_0x92d219['INVITE_CODE_REQUIRED']=0x2ee3]=_0x52f010(0x2a0),_0x92d219[_0x92d219[_0x52f010(0x203)]=0x2ee4]=_0x52f010(0x203),_0x92d219[_0x92d219[_0x52f010(0x3a6)]=0x2ee5]=_0x52f010(0x3a6),_0x92d219[_0x92d219[_0x52f010(0x3f6)]=0x32c9]=_0x52f010(0x3f6),_0x92d219[_0x92d219['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x92d219[_0x92d219[_0x52f010(0x2ab)]=0x32cb]=_0x52f010(0x2ab),_0x92d219[_0x92d219[_0x52f010(0x263)]=-0x1]=_0x52f010(0x263),_0x92d219))(_0x592e89||{}),_0x31cc23=Object['getOwnPropertyDescriptor'],_0x52210f=(_0xe76f25,_0x215b89,_0x527207,_0x4590f4)=>{const _0x332bff=_0x52f010;for(var _0x551c49=_0x4590f4>0x1?void 0x0:_0x4590f4?_0x31cc23(_0x215b89,_0x527207):_0x215b89,_0x251c46=_0xe76f25[_0x332bff(0x2d4)]-0x1,_0x192808;_0x251c46>=0x0;_0x251c46--)(_0x192808=_0xe76f25[_0x251c46])&&(_0x551c49=_0x192808(_0x551c49)||_0x551c49);return _0x551c49;},_0x502bb0=(_0x30915d,_0x4a640b)=>(_0x1f8df6,_0x279350)=>_0x4a640b(_0x1f8df6,_0x279350,_0x30915d);_0x2245a1[_0x52f010(0x3a5)]=class extends _0x3d05ee['Disposable']{constructor(_0x2afeee,_0x52a3a2,_0x2396c7){const _0x5154c9=_0x52f010;super(),this[_0x5154c9(0x471)]=_0x2afeee,this[_0x5154c9(0x1e3)]=_0x52a3a2,this[_0x5154c9(0x202)]=_0x2396c7;}async['runOnServer'](_0x1171cd,_0x51b6d1,_0x57c474,..._0x105e6f){const _0x5094c0=_0x52f010;var _0x20bf84,_0x5f2b06,_0x327d69,_0x53c2d4;const _0x38536f=this['_instanceService'][_0x5094c0(0x218)]();if(!_0x38536f)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x38a698=((_0x20bf84=this[_0x5094c0(0x202)][_0x5094c0(0x34b)](_0x1ac61a[_0x5094c0(0x29a)]))!=null?_0x20bf84:_0x1ac61a['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x1171cd+_0x5094c0(0x212)+_0x51b6d1,_0x21a092=new URL(window[_0x5094c0(0x266)][_0x5094c0(0x344)]),_0x2dd84f={'scriptId':_0x1171cd,'runId':(_0x5f2b06=_0x21a092[_0x5094c0(0x24e)]['get'](_0x5094c0(0x45c)))!=null?_0x5f2b06:'','function':_0x51b6d1,'unitId':_0x38536f[_0x5094c0(0x272)](),'argsOfFunction':JSON[_0x5094c0(0x3f3)](_0x105e6f),'invokeId':(_0x327d69=_0x57c474[_0x5094c0(0x26a)])!=null?_0x327d69:'','executionId':(_0x53c2d4=_0x57c474[_0x5094c0(0x314)])!=null?_0x53c2d4:''};try{const _0xc10121=await this[_0x5094c0(0x1e3)][_0x5094c0(0x3b0)](_0x38a698,{'body':_0x2dd84f});return _0xc10121[_0x5094c0(0x28a)][_0x5094c0(0x1e8)]&&_0xc10121[_0x5094c0(0x28a)][_0x5094c0(0x1e8)][_0x5094c0(0x2ca)]!==_0x592e89['OK']?_0x5094c0(0x336):_0xc10121[_0x5094c0(0x28a)][_0x5094c0(0x2aa)];}catch{return _0x5094c0(0x336);}}},_0x2245a1[_0x52f010(0x3a5)]=_0x52210f([_0x502bb0(0x0,_0x3d05ee[_0x52f010(0x365)]),_0x502bb0(0x1,_0x3d05ee[_0x52f010(0x1e7)](_0x4cfd05[_0x52f010(0x320)])),_0x502bb0(0x2,_0x3d05ee[_0x52f010(0x3eb)])],_0x2245a1['RemoteUniscriptService']);const _0x44db39=0x7530,_0x4114e4='ACTIVE_UNIT_EVENT_CHANNEL';class _0xf1872b extends _0x3d05ee[_0x52f010(0x3d6)]{constructor(){const _0x4dcc7d=_0x52f010;super(),_0x544075(this,_0x4dcc7d(0x332),_0x3d05ee[_0x4dcc7d(0x426)]()),_0x544075(this,_0x4dcc7d(0x3e4),new Set()),_0x544075(this,_0x4dcc7d(0x1f7),new Map()),_0x544075(this,_0x4dcc7d(0x3bf),null),_0x544075(this,'_clearOtherTimers',new Map()),_0x544075(this,_0x4dcc7d(0x388),new Map()),this[_0x4dcc7d(0x36a)]();}[_0x52f010(0x244)](){const _0xc6a512=_0x52f010;super['dispose'](),this[_0xc6a512(0x1d6)]['forEach']((_0x229427,_0x342cfe)=>this[_0xc6a512(0x208)](_0x342cfe)),this[_0xc6a512(0x3bf)]&&window[_0xc6a512(0x27b)](this[_0xc6a512(0x3bf)]);}[_0x52f010(0x38e)](_0x54d4aa){const _0x358729=_0x52f010;return this[_0x358729(0x2a4)](_0x54d4aa)[_0x358729(0x38c)](_0x353c21['distinctUntilChanged']());}['editingUnit'](_0x311bb9){const _0x29937b=_0x52f010;this[_0x29937b(0x3e4)][_0x29937b(0x41d)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0x29937b(0x46c)](_0x311bb9),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x311bb9],'isForwarded':!0x1});}[_0x52f010(0x2ee)](_0x4734bc){const _0x38923d=_0x52f010;this[_0x38923d(0x3e4)][_0x38923d(0x3d1)](_0x4734bc),this[_0x38923d(0x3e4)]['size']===0x0&&this[_0x38923d(0x3bf)]&&window[_0x38923d(0x27b)](this[_0x38923d(0x3bf)]);}[_0x52f010(0x36a)](){const _0x310dde=_0x52f010;this[_0x310dde(0x2ba)](_0x3d05ee[_0x310dde(0x20a)](_0x353c21['fromEvent'](window,_0x310dde(0x2dd))['subscribe'](_0x418c80=>{const _0x2df1df=_0x310dde;if(_0x418c80['key']!==_0x4114e4||!_0x418c80[_0x2df1df(0x3d2)])return;const _0x5f8e8c=JSON[_0x2df1df(0x295)](_0x418c80[_0x2df1df(0x3d2)]);this[_0x2df1df(0x45b)](_0x5f8e8c);}))),window[_0x310dde(0x359)](_0x310dde(0x392),()=>this[_0x310dde(0x3e9)]({'type':0x1,'memberID':this[_0x310dde(0x332)],'unitIDs':Array[_0x310dde(0x22b)](this['_selfUnitIDs'])}));}[_0x52f010(0x45b)](_0x40db4b){const _0x176f9f=_0x52f010;switch(_0x40db4b[_0x176f9f(0x39d)]){case 0x0:this[_0x176f9f(0x30c)](_0x40db4b);break;case 0x1:this['_handleLeaveEvent'](_0x40db4b);break;case 0x2:this[_0x176f9f(0x349)](_0x40db4b);break;}}[_0x52f010(0x30c)](_0x2ec305){const _0x5a3c39=_0x52f010,{unitIDs:_0x1be541,memberID:_0x3596fa,isForwarded:_0x29efef}=_0x2ec305;_0x1be541[_0x5a3c39(0x2ce)](_0x35d9eb=>{const _0x106151=_0x5a3c39;if(!_0x29efef&&this['_unitOnClients']['has'](_0x35d9eb)&&this[_0x106151(0x2a4)](_0x35d9eb)['next'](_0x1ac61a[_0x106151(0x2bb)][_0x106151(0x35c)]),!this[_0x106151(0x1f7)][_0x106151(0x350)](_0x35d9eb)||!this['_unitOnClients']['get'](_0x35d9eb)[_0x106151(0x350)](_0x3596fa)){const _0x5cea91=this[_0x106151(0x1f7)][_0x106151(0x25b)](_0x35d9eb)||new Set();_0x5cea91[_0x106151(0x46c)](_0x3596fa),this[_0x106151(0x1f7)][_0x106151(0x3f1)](_0x35d9eb,_0x5cea91),this[_0x106151(0x1fe)](_0x3596fa);}}),_0x29efef||this[_0x5a3c39(0x3e9)]({'type':0x0,'memberID':this[_0x5a3c39(0x332)],'unitIDs':[...this[_0x5a3c39(0x3e4)]],'isForwarded':!0x0});}[_0x52f010(0x1fe)](_0x4ca056){const _0x385346=_0x52f010;this[_0x385346(0x208)](_0x4ca056);const _0x15b2ae=window[_0x385346(0x2b9)](()=>{const _0xdbc4d3=_0x385346;this[_0xdbc4d3(0x1f7)][_0xdbc4d3(0x2ce)](_0x5120f6=>{_0x5120f6['delete'](_0x4ca056);});},_0x44db39*0x2);this[_0x385346(0x1d6)][_0x385346(0x3f1)](_0x4ca056,_0x15b2ae);}['_removeClearOtherTimer'](_0x4fa05c){const _0x220659=_0x52f010;if(this['_clearOtherTimers'][_0x220659(0x350)](_0x4fa05c)){const _0x61c38=this['_clearOtherTimers'][_0x220659(0x25b)](_0x4fa05c);_0x61c38&&window[_0x220659(0x430)](_0x61c38),this[_0x220659(0x1d6)]['set'](_0x4fa05c,null);}}[_0x52f010(0x2ec)](_0x1a965d){const _0x20540a=_0x52f010,{memberID:_0x55a981,unitIDs:_0x29c0e8}=_0x1a965d;_0x29c0e8[_0x20540a(0x2ce)](_0x5addcb=>{const _0x14614a=_0x20540a;var _0x32d1aa;const _0x150180=this['_unitOnClients']['get'](_0x5addcb);_0x150180&&(_0x150180[_0x14614a(0x3d1)](_0x55a981),(_0x32d1aa=this['_ensureSubject'](_0x5addcb))==null||_0x32d1aa['next'](_0x150180[_0x14614a(0x41d)]===0x0?_0x1ac61a['UnitStatus'][_0x14614a(0x2da)]:_0x1ac61a['UnitStatus'][_0x14614a(0x35c)]));}),this[_0x20540a(0x208)](_0x55a981);}[_0x52f010(0x349)](_0x43e12a){const _0x32a9e4=_0x52f010;this[_0x32a9e4(0x1fe)](_0x43e12a[_0x32a9e4(0x1ff)]);}[_0x52f010(0x3e9)](_0xf0c8fa){localStorage['setItem'](_0x4114e4,JSON['stringify'](_0xf0c8fa));}[_0x52f010(0x389)](){const _0x2ada17=_0x52f010;this[_0x2ada17(0x3bf)]=window[_0x2ada17(0x37e)](()=>{const _0x3d1404=_0x2ada17;this[_0x3d1404(0x3e9)]({'type':0x2,'memberID':this[_0x3d1404(0x332)]});},_0x44db39);}['_ensureSubject'](_0x4b3bc1){const _0x4a07aa=_0x52f010;return this[_0x4a07aa(0x388)][_0x4a07aa(0x350)](_0x4b3bc1)||this[_0x4a07aa(0x388)][_0x4a07aa(0x3f1)](_0x4b3bc1,new _0x353c21[(_0x4a07aa(0x411))](_0x1ac61a[_0x4a07aa(0x2bb)][_0x4a07aa(0x2da)])),this[_0x4a07aa(0x388)]['get'](_0x4b3bc1);}}_0x2245a1['IURLService']=_0x40ca0b,_0x2245a1[_0x52f010(0x402)]=_0x184912,_0x2245a1[_0x52f010(0x20f)]=_0xf1872b,_0x2245a1[_0x52f010(0x1f4)]=_0x353b3b,Object[_0x52f010(0x41c)](_0x2245a1,Symbol[_0x52f010(0x3e2)],{'value':_0x52f010(0x3be)});}));function _0x4199(){const _0x1c2415=['type','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getActiveRange','IRemoteInstanceService','YUUMI_CONNECTOR_URL_NOT_FOUND','_revisionService','_assignedColors','getValue','RemoteUniscriptService','INVITE_CODE_ALREADY_BOUND','random','shareReplay','subUnitId','_registerRenderDependencies','jiqing.500','_refreshCollabCursors','FromArray','ILogService','top','post','UNDEFINED','_toggleOnline','CONNECTOR_DATA_TOO_LARGE','idSuffix','fillText','getSheetBySheetId','createSocket','sheetID','getCollabEntity$','transformStateCache','split','102066vuMPmb','isTransformMutationsWithChangesetSuccess','Module','_heartbeatTimer','_getSaveTimeout','@univerjs/drawing','IMessageService','univer-flex\x20univer-items-center','disableLocalCache','cursorInfo$','_onCursorDelete','SetTextSelectionsOperation','touchDependencies','UniverRpc','CLOSE_ROOM','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','subscribeEvent','executeCommand','InsertRangeMoveRightCommandId','OTHER_CLIENT_EDITING','_cursors','delete','newValue','IRenderManagerService','getOwnPropertyDescriptor','onRendered','Disposable','measureText','fromEventSubject','_urlService','findNodePositionByCharIndex','setShapeProps','min','_cursorInfo$','_startSheetCollabCursor','collabStatus.syncing','_context','getParam','toStringTag','NodePositionConvertToRectRange','_selfUnitIDs','SNAPSHOT_HAS_BEEN_REMOVED','CHANGESET_REVISION_CONFILICT','debug','DisposableCollection','_send','replace','IConfigService','resize','UniverDrawing','_cursorShapes','univerjs-icon\x20univerjs-icon-','INotificationService','set','toRgbString','stringify','popstate','_color','WECHAT_HAS_BEEN_BOUND','text','getColorFromTheme','data','_initResize','isArray','COLORS','range','_initStatusComponent','getOffsetConfig','combineLatest','unsubscribe','SheetCollabCursorShape','height','push','react/jsx-runtime','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','APPLY_DUPLICATED','handleInsertRangeMoveRight','_sheetSkeletonManagerService','setParam','_updateLocalCursor','saveOfflineData','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_univerInstanceService','registerComponent','assign','BehaviorSubject','unitID','origin','svg','prototype','collab-client.tooltip.reconnect','@univerjs-pro/collaboration-client','_docTransformStateCacheService','_hovered','apply','_hover','defineProperty','size','@univerjs/docs','replaceDocRanges','registerDependencies','getAncestorScale','0\x200\x2016\x2016','setItem','exhaustSavingTask','_getScale','generateRandomId','_refRangeService','UniverDesign','TOO_MANY_REQUESTS','registerBeforeClose','_hideTimer','values','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','with','DesktopCollaborationStatusDisplayController','clearTimeout','onStarting','_updateCollabCursors','deepClone','toString','_initDependencies','_setupSubUnitSync','createInstance','unshift','entityInit$','m1Prime','dispose$','@univerjs-pro/collaboration','createIdentifier','_updateSubUnitFromURLParams','m2Prime','_docSkeleton','Error','RxDisposable','@univerjs/engine-render','event$','_collaborationController','backgroundColor','beginPath','_commandService','#FFF','4527LMxRyL','UNIVER_SHEET','_disabled','_eventUnsubscribe','_textBubble','_initStatusListener','getSkeleton','displayName','Optional','isTransformMutationFailure','_dataLoaderService','enableLocalCache','_logService','Warning','NOT_FOUND','undoState','YUUMI_ALL_TABLES_IS_INVALID','_handleEvent','runId','getOwnPropertySymbols','SheetSkeletonManagerService','collaboration-client.offline-data-not-saved','_colorIndex','UniverCore','React','DocIMEInputManagerService','evenodd','_collabSessionService','MessageType','onPointerMove$','redoState','collaboration-client-ui.config','debounce','0\x200\x2017\x2016','add','asObservable','http://www.w3.org/2000/svg','_drawRectRange','transformMutation','_instanceService','DocSelectionManagerService','_clearOtherTimers','PENDING','1em','filter','pushState','getCurrentSelections','sessionStatus$','ITransformService','ALREADY_EXISTS','transformMutationsWithChangeset','getTypeOfUnitDisposed$','send','PERMISSION_DENIED','_httpService','_docClipboardService','AWAITING_WITH_PENDING','VIEW_MAIN','Inject','error','moveTo','_range','_docTransformSelectionsService','collabStatus.fetchMiss','_entityInit$','RevisionService','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','_drawTextRange','LICENSE_MAX_UNITS_EXCEEDED','setActiveRange','getUndoRedoMutationParamsCache','WebURLService','_toggleOffline','NodePositionConvertToCursor','_unitOnClients','_entities','addClipboardHook','restore','max','getMergeData','next','_scheduleClearOtherTimer','memberID','saveTaskMap','APPLY_NON_SEQUENTIAL_REVISION','_configService','USER_NOT_INVITED_CODE','getUnhiddenWorksheets','currentTheme$','OFFLINE','MOBILE_VERIFY_CODE_MISMATCH','_removeClearOtherTimer','collabStatus.notCollab','toDisposable','SOCKET_FAILED_RETRY','_labelPosition','_collabCursorState$','SessionStatus','WebBrowserSingleActiveUnitService','LICENSE_IMPORT_SIZE_EXCEEDED','YUUMI_URL_COL_OUT_OF_RANGE','/run/','collaboration.single-unit.warning','_docSkeletonManagerService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_getSessionTicket','registerRenderModule','getFocusedUnit','@univerjs/docs-ui','_roomMembers$','_getMergeRange','params','DEFAULT_WS_SESSION_TICKET_URL','TEXT_RANGE_LAYER_INDEX','_notificationService','DocStateChangeManagerService','Subject','subscribe','RichTextEditingMutation','_localCacheService','RemoveColCommandId','currentSkeleton$','getRangePointData','handleIRemoveCol','CollaborationUIEventService','jsx','from','IImageIoService','find','getStateCache','addObjects','children','history','UniverProCollaboration','startRow','name','onPointerLeave$','amd','complete','_colorAssignService','addHandlerCallback','_name','save','SOCKET_FAILED','doc.mutation.rich-text-editing','_shapes','_messageService','triggerDblclick','handleInsertCol','use','collab-text-anchor-','dispose','font','row','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','function','defIds','getSheetObject','MemberService','transformRemoteChangeset','attrs','searchParams','IDocClipboardService','mask','xlink:href','transformSelections','color','arc','BrowserCollaborationSocketService','UPDATE_CURSOR','getActiveSheet','_imageIoService','imageSourceType','_config','get','...','entries','focused$','takeUntil','_removeCollabCursors','includes','2401805pojINa','UNRECOGNIZED','labelPosition','CollaborationSessionService','location','cursorInfo','defs','useCallback','invokeId','_online','translate(.97)','UniverDocsUi','_handleHover','_docSyncEditingCollabCursorService','subunit','green.600','getUnitId','concat','AWAITING','_localeService','loadUnit','then','SetWorksheetActivateCommand','2177568DIAZMK','_session','clearInterval','SHEET_VIEWPORT_KEY','DataLoaderService','95wEToaw','_transformService','getRenderById','_getAnchorBounding','YUUMI_RATE_OVER_LIMIT','_transformUndoRedoStack','exports','_anchorDot','fill','UniverInstanceType','jsxs','ISnapshotServerService','body','useObservable','useDependency','skeleton','M0\x200H16V16H0z','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','hasOwnProperty','_docStateChangeManagerService','Rectangle','unit','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','parse','indexOf','_scheduleSaving','whenReady','useRef','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','DocSkeletonManagerService','drawWith','setUndoRedoMutationParamsCache','_initEntityListener','EMAIL_VERIFY_CODE_MISMATCH','INVITE_CODE_REQUIRED','ILocalCacheService','LocaleService','runRefRangeMutations','_ensureSubject','_cursor','Unknown\x20user','ThemeService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','@univerjs/sheets','result','EMAIL_HAS_BEEN_BOUND','current','UNAUTHENTICATED','34179cihvlX','switchMap','@univerjs/core','getLocalCacheKey','getMember','replaceState','rgba(255,\x20255,\x20255,\x200.01)','Rect','transformByState','path','fillRule','setTimeout','disposeWithMe','UnitStatus','all','requireSession','EffectRefRangId','handleInsertRow','_registerDependencies','object','search','OnLineIcon','map','colorChannel1','wsSessionTicketUrl','1086sIQlbb','_syncEditingCollabCursorService','_injector','code','setAlpha','getCoordByCell','startsWith','forEach','flatMap','permission.content','CollaborationEvent','Tooltip','UniverEngineFormula','length','getCollabCursors$','hovered','onCommandExecuted','collab-text-range-','status$','NO_OTHER_CLIENTS_EDITING','@univerjs/sheets-ui','UNIVER_DOC','storage','getCellPositionByOffset','on-line-icon_clip0_910_349','substring','syncEditingCollabCursor','registerRefRange','FETCH_MISS','_transformHistoryAndStateStack','INVITE_CODE_HAS_BEEN_UES','ENSURE_SNAPSHOT_EXECUTION','_memberService','icon','transform','getVpScrollXYInfoByPosToVp','univer-mr-2\x20univer-flex\x20univer-text-xl','_handleLeaveEvent','SUBMIT_CHANGESET_TIMEOUT','disposeUnit','react','collabStatus.offline','session.connection-failed','removeParam','ILocalStorageService','_status$','_saveTaskMap','RegularPolygon','forwardRef','_transformPreviousActiveRange','_updateURLWithCurrentState','InsertRowCommandId','white','DeleteRangeMoveUpCommandId','_docTransformIMECacheService','connectInjector','docStateChange$','_scene','textRanges','call','INVALID_ARGUMENT','TEXT','UniverUi','mutations','_collaborationUIEventService','SYNCED','_localStorageService','handleInsertRangeMoveDown','CollaborationStatus','_handleJoinEvent','none','column','_cachedData','clipPath','@univerjs/design','_themeService','ranges','executionId','CollaborationController','Injector','YUUMI_UNABLE_LOAD_URL','UniverCollaborationClientPlugin','tag','getItem','purple.300','APPLY_PERMISSION_DENIED','ticket','fillStyle','createElement','HTTPService','YUUMI_AI_RUN_FAILED','getCurrent','SheetsSelectionsService','_saveCache','closePath','contains','collabCursorState$','_drawAnchor','_onRefRangeChange','WebSocketService','@univerjs/rpc','MoveRangeCommandId','selection','unitId','show','lineTo','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_id','INVALID_INVITE_CODE','_renderManagerService','NOT_COLLAB','Failed','mergeOverrideWithDependencies','roomMembers','string','YUUMI_NO_CUBOID_FOR_QUESTION','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getColor','debounceTime','throttleTime','getTypeOfUnitAdded$','startColumn','_draw','DocCollaborationEntity','_setupBeforeClosingHandler','href','RefRangeService','LOGIN_FAILED','round','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_handleHeartbeatEvent','roomMembers$','getConfig','COMPLETION_FINISHED','ColorKit','BuiltInUIPart','setStateCache','has','_backgroundColor','_lastPointer','APPLY_REJECT','width','getRelativeToViewportCoord','_collabCursorController','_initCommandExecutedListener','onMouseMove','addEventListener','url(#off-line-icon_clip0_910_343)','className','OTHER_CLIENTS_EDITING','_uiPartsService','UniverCollaborationClientUIPlugin','permission.title','getMemberID','ISocketService','USERS_LEAVE','8184832mRoVwR','CollaborationDataLoaderController','IUniverInstanceService','endRow','off-line-icon_clip0_910_343','DOC_RANGE_TYPE','extend','_init','getDocRanges','merge','UniverProCollaborationClientUi','_anchor','bottom','session.will-retry','black','_startDocCollabCursor','rxjs','_createSocketURL','ICommandService','loadOfflineData','MUTATION','DependentOn','[CollaborationDataLoaderController]','UniverNetwork','url(#$1','getViewport','UniverProCollaborationClient','setInterval','collab-rect-range-','updateOfflineData','addObject','Tools','sheetId','source','CollaborationUIEventId','on-line-icon','assignAColorForMemberID','_unitStatus','_scheduleHeartbeat','yellow.400','LICENSE_EXPORT_SIZE_EXCEEDED','pipe','propertyIsEnumerable','getUnitStatus$','urlChange$','div','_onCursorUpdate','unload','LICENSE_DISTRO_REJECTED','LOCAL_CACHE_INTERVAL','1373584TsqTLk','hide','eventID','onLocalMutation','getSheetId','_beforeCloseService','init','YUUMI_ASYNCIO_CANCELLED'];_0x4199=function(){return _0x1c2415;};return _0x4199();}