@univerjs-pro/collaboration-client-ui 0.14.0 → 0.15.0-insiders.20251227-453e4ff

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 (53) 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/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +19 -19
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x3baa(){const _0x33e136=['_assignedColors','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','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','exports','_maxFormulaLimit','href','_initEvent','maxFormulaLimit','YUUMI_SUBSCRIPTION_NOT_FOUND','ENTITLE_DUP_SUBSCRIPTION','RegularPolygon','@univerjs-pro/collaboration-client','trim','ENTITLE_COUPON_EXPIRED','BrowserCollaborationSocketService','Module','endRow','FETCH_MISS','_scheduleClearOtherTimer','getItem','runRefRangeMutations','MoveRangeCommandId','@univerjs/network','height','beforeCommandExecuted','getUnhiddenWorksheets','CONFLICT','@univerjs/engine-formula','CollaborationStatus','handleDeleteRangeMoveUp','collab-text-anchor-','/universer-api/license/formula/limit/status','saveOfflineData','UniverDocsUi','YUUMI_RATE_OVER_LIMIT','color','getCellPositionByOffset','name','_clearPolling','234EPQghN','_scheduleHeartbeat','find','length','_docTransformStateCacheService','endColumn','executeCommand','_roomMembers$','LOCAL_CACHE_INTERVAL_KEY','getTypeOfUnitDisposed$','UniverEngineRender','ENSURE_SNAPSHOT_EXECUTION','on-line-icon','lineno','cursorInfo','ENTITLE_USE_COUPON_NOT_1ST_TRADE','setStateCache','combineLatest','_updateCollabCursors','YUUMI_UNABLE_LOAD_URL','updateOfflineData','width','defIds','clearTimeout','CollaborationUIEventService','_createSocketURL','_collaborationController','onRendered','394008qzlndj','ALREADY_EXISTS','UniverProCollaboration','DEFAULT_WS_SESSION_TICKET_URL','skeleton','registerBeforeClose','stageInfo','registerRenderModule','history','DocStateChangeManagerService','_toggleOffline','SessionStatus','on-line-icon_clip0_910_349','setInterval','UniverSheets','CollaborationDataLoaderController','application/json','CONNECTOR_DATA_TOO_LARGE','_handleJoinEvent','UniverCollaborationClientUIPlugin','_renderManagerService','unsubscribe','_shapes','DocIMEInputManagerService','InsertRangeMoveDownCommandId','collaboration-client-ui.config','_saveTaskMap','REDEMPTION_INVALID_CODE','displayName','Shape','replaceDocRanges','DOC_RANGE_TYPE','_setupSubUnitSync','onLocalMutation','evenodd','RemoteUniscriptService','catch','getUndoRedoMutationParamsCache','measureText','UniverCollaborationClientPlugin','@univerjs/docs','getRangePointData','_initCommandExecutedListener','moveTo','UniverProCollaborationClientUi','_collaborationUIEventService','RevisionService','_range','memberID','getCurrentSelections','SetTextSelectionsOperation','_drawTextRange','_colorAssignService','isArray','PENDING','transformRemoteChangeset','_textBubble','_currentUsage','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','ACTIVE_UNIT_EVENT_CHANNEL','EffectRefRangId','_session','roomMembers','CHANGESET_REVISION_CONFILICT','_transformService','runId','UniverDesign','ThemeService','dirtyRanges','runOnServer','hovered','some','startColumn','deserializeRangeWithSheet','ENTITLE_REPORT_LIMIT_EXCEED','1757WpuzEb','UniverRpc','APPLY_DUPLICATED','rxjs/operators','ONLINE','_anchorDot','popstate','switchMap','getOwnPropertyDescriptor','_unitOnClients','RemoveColCommandId','REDEMPTION_CODE_FULLY_REDEEMED','rgba(255,\x20255,\x20255,\x200.01)','IConfigService','toRgbString','setUndoRedoMutationParamsCache','YUUMI_TABLE_NOT_FOUND_IN_UNIT','colno','_checkCalculationAvailable','isTransformMutationsWithChangesetSuccess','SetFormulaCalculationStartMutation','distinctUntilChanged','_updateSubUnitFromURLParams','row','transformByState','complete','add','get','_localeService','Vector2','values','subscribeEvent','LICENSE_MAX_UNITS_EXCEEDED','_notificationService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','init','svg','WebBrowserSingleActiveUnitService','Injector','REDEMPTION_CODE_INACTIVE','onPointerLeave$','createInstance','SheetSkeletonManagerService','filename','[RemoteUniscriptService]:\x20no\x20focused\x20unit','m2Prime','session.collaboration-timeout','cursorInfo$','[Window\x20Error]:\x20','beginPath','getSheetBySheetId','_initResize','addObjects','_status$','symbol','ranges','_id','APPLY_PERMISSION_DENIED','stack','TOO_MANY_REQUESTS','fromEvent','_onCursorDelete','getUnitId','_collabCursorController','addClipboardHook','_initStatusListener','univer-flex\x20univer-items-center','onMouseMove','_document','[CollaborationDataLoaderController]','5SvUGuZ','top','set','UnitStatus','unit','TEXT_RANGE_LAYER_INDEX','currentSkeleton$','selections','CollaborationSocketService','CollaborationUIEventId','YUUMI_URL_COL_OUT_OF_RANGE','mask','black','merge','_eventUnsubscribe','delete','override','formula.calculation.started','MessageType','getFocusedUnit','REDEMPTION_CODE_HAS_BEEN_CREATED','APPLY_NON_SEQUENTIAL_REVISION','BehaviorSubject','disposeWithMe','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','labelPosition','_transformUndoRedoStack','HTTPService','UNIVER_SHEET','_releaseCalculationLimit','_cachedData','_refreshCollabCursors','unitID','SOCKET_FAILED','mapTo','rxjs','event$','push','reason','handleDeleteRangeMoveLeft','isTransformMutationFailure','_scheduleSaving','isFormulaString','fillText','AUTHORIZE_CODE_ILLEGAL','_online','_uiPartsService','setTimeout','IRenderManagerService','_urlService','object','UniverDrawing','transform','onPointerEnter$','DeleteRangeMoveLeftCommandId','_drawAnchor','random','getUnit','ILocalStorageService','takeUntil','_hideTimer','_getScale','DisposableCollection','176DQwJBR','_hasFormulaInDirtyRanges','setActiveRange','IBeforeCloseService','_lastPointer','getRenderById','univer-mr-2\x20univer-flex\x20univer-text-xl','post','_docSkeletonManagerService','TEXT','backgroundColor','ITransformService','_selfUnitIDs','map','permission.content','MUTATION','getMergeData','IUniverInstanceService','handleInsertCol','clsx','_imageIoService','next','_localCacheService','UNDEFINED','_ensureSubject','collabStatus.conflict','OTHER_CLIENTS_EDITING','deepClone','_collabSessionService','currentTheme$','focused$','body','generateRandomId','subscribe','_initCommandInterceptor','UniverUi','Tools','setItem','_initDependencies','fill','shareReplay','@univerjs/ui','_updateURLWithCurrentState','/universer-api/frontend/logs','Success','WECHAT_HAS_BEEN_BOUND','toString','getTypeOfUnitAdded$','_docTransformSelectionsService','_unitStatus','getSheetId','eventID','getMemberID','jiqing.500','contains','getRelativeToViewportCoord','SOCKET_FAILED_RETRY','?taskId=','SetSelectionsOperation','min','ISocketService','createIdentifier','onCommandExecuted','univerjs-icon\x20univerjs-icon-','saveTaskMap','START_CALCULATION','INTERNAL_ERROR','onStarting','hide','disableLocalCache','CollaborationController','div','getAncestorScale','permission.title','_revisionService','yellow.400','unshift','IMessageService','url(#$1','startRow','collab-rect-range-','then','_memberID','error','setParam','PY_RUNTIME_SCRIPT_ERROR','transformMutationsWithChangeset','ENTITLE_INVALID_COUPON_CODE','ENTITLE_INSUFFICIENT_QUOTA','pushState','show','Disposable','getOffsetConfig','formula.calculation.waiting','RefRangeService','0\x200\x2016\x2016','ENTITLE_CHAT_LIMIT_EXCEED','font','ENTITLE_COUPON_USED_UP','_showGuardMessage','_initEntityListener','handleMoveRange','createElement','textRanges','CollaborationSessionService','defs','off-line-icon','isActive','jsxs','syncEditingCollabCursor','subUnitId','filter','currentUsage','onPointerMove$','message','SetWorksheetActivateCommand','saveImage','CURRENT_STATUS_CANNOT_OPERATE','getActiveSheet','WebURLService','OnLineIcon','getLocalCacheKey','UniverDocs','fromEventSubject','NodePositionConvertToCursor','removeParam','BuiltInUIPart','_entities','USER_IS_ANONYMOUS','addHandlerCallback','REDEMPTION_USER_REDEEM_TIMES_EXCEED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','[Unhandled\x20Rejection]:\x20','setAlpha','redoState','RxDisposable','YUUMI_ALL_TABLES_IS_INVALID','[LogService\x20Error]:\x20','getCurrent','OTHER_CLIENT_EDITING','InsertRowCommandId','_setupBeforeClosingHandler','IRemoteInstanceService','exhaustSavingTask','UNAUTHENTICATED','0\x200\x2017\x2016','@univerjs/sheets','now','UniverSheetsUi','IDocClipboardService','UniverInstanceType','newValue','_injector','RECT','key','actions','DocSkeletonManagerService','fillRule','_docSkeleton','limitInfo','getStateCache','enableLocalCache','getUniverSheetInstance','reconnect','435726RSjJsp','bottom','throttleTime','_color','_name','location','SHEET_VIEWPORT_KEY','all','1mKyGWx','undoState','arc','doc.mutation.rich-text-editing','lineTo','_initStatusComponent','EMAIL_VERIFY_CODE_MISMATCH','UPDATE_CURSOR','INVALID_INVITE_CODE','DocCollaborationEntity','entries','INVITE_CODE_ALREADY_BOUND','code','_docTransformIMECacheService','setConfig','isEditing','USER_NOT_FOUND','children','_cursors','DeleteRangeMoveUpCommandId','ILocalCacheService','NOT_COLLAB','_httpService','stringify','_cursorInfo$','_commandService','@univerjs/rpc','formula.calculation.unable','flatMap','USERS_LEAVE','collabStatus.notCollab','translate(.97)','_initWindowErrorListener','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','/run/','_logService','DesktopCollaborationStatusDisplayController','handleInsertRow','uni.network.url-service','disposeUnit','Loading','ENTITLE_NEED_BILLING_ADDRESS','_collaborationSessionService','clipPath','_onRefRangeChange','LocaleService','FromArray','toDisposable','with','red.300','@univerjs/core','includes','ENTITLE_CAN_NOT_BUY_LOWER_OTP','UNRECOGNIZED','string','MOBILE_VERIFY_CODE_MISMATCH','_initUnhandledRejectionListener','loadUnit','idSuffix','getColor','Optional','debounce','Rect','ColorKit','22998chPQdI','CommandType','LICENSE_DISTRO_REJECTED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','5332820BalGrM','NO_OTHER_CLIENTS_EDITING','handleInsertRangeMoveRight','ERROR_AGAIN','_updateLocalCursor','INVITE_CODE_HAS_BEEN_UES','getColorFromTheme','off-line-icon_clip0_910_343','activeSheet$','103826ACCKBP','useDependency','_sheetSkeletonManagerService','_lastResponseTimestamp','_docSyncEditingCollabCursorService','WebSocketService','socket$','Error','transformMutation','COLORS','SheetCollabCursorShape','InsertRangeMoveRightCommandId','3263574xxiJhW','from','text','registerDependencies','findNodePositionByCharIndex','Workbook','dispose$','13832meqmNH','@univerjs/engine-render','_docStateChangeManagerService','asObservable','pluginName','_uploadLog','CollaborationEvent','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','resize','type','YUUMI_ASYNCIO_CANCELLED','params','parseInt','_docClipboardService','_syncEditingCollabCursorService','SUBMIT_CHANGESET_TIMEOUT','_handleHover','_monkeyPatchLogService','getCoordByCell','getCellMatrix','sessionStatus$','_config','path','setShapeProps','UniverIcon','_entityInit$','DATA_SOURCE_TOO_LARGE','getVpScrollXYInfoByPosToVp','_context','_messageService','onTransformChange$','mergeOverrideWithDependencies','getCollabCursors$','LOGIN_TOKEN_PROCESSING_FAILED','_draw','_themeService','serializeRangeWithSheet','11dalQKp','_saveCache','substring','_heartbeatTimer','Failed','_transformHistoryAndStateStack','defineProperty','clearInterval','split','colorChannel1','_initUserListener','_getMergeRange','ILogService','status$','drawWith','INVITE_CODE_REQUIRED','attrs','JOIN_ROOM_FAILED','getValue','debug','SheetsSelectionsService','_getSessionTicket','CLOSE_ROOM','startsWith','dispose','_startDocCollabCursor','_univerInstanceService','react','none','docStateChange$','loadOfflineData','_render','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','m1Prime','parse','EMAIL_HAS_BEEN_BOUND','_onCursorUpdate','1em','NOT_FOUND','LOGIN_FAILED','_beforeCloseService','_labelPosition','_clearOtherTimers','APPLY_REVISION_CONFILICT','INVALID_ARGUMENT','whenReady','collab-text-range-','tag','http://www.w3.org/2000/svg','TRANSFORM_CHANGE_OBSERVABLE_TYPE','INotificationService','removeEventListener','ticket','React','range','InsertColCommandId','_backgroundColor','assignAColorForMemberID','assign','_getSheetObject','Warning','addObject','#FFF','roomMembers$','white','collab-client.tooltip.reconnect','xlink:href','getformulaLimitStatusUrl','useObservable','YUUMI_CONNECTOR_URL_NOT_FOUND','has','Plugin','...','useRef','_applyCommand','collabStatus.offline','_cursorShapes','PERMISSION_DENIED','_memberService','pipe','bind','stage','urlChange$','touchDependencies','SNAPSHOT_INVALID_SNAPSHOT','addEventListener','forEach','_hover','NodePositionConvertToRectRange','closePath','COMPLETION_FINISHED','result','_setFormulaLimitStatus','MOBILE_HAS_BEEN_BOUND','_hovered','AWAITING_WITH_PENDING','getCurrentRevOfUnit','collabStatus.synced','collaboration.closeRoom','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','enableFrontendLog','selection','SNAPSHOT_HAS_BEEN_REMOVED','_transformPreviousActiveRange','ICommandService','join','Unknown\x20user','_collabCursorState$','Inject','PAYMENT_CHANNEL_NOT_SUPPORT','_registerDependencies','executionId','collaboration.single-unit.warning','isFormulaId','_instanceService','requireSession','_getSaveTimeout','_colorIndex','jsx','_getAnchorBounding','replace','UNIVER_DOC','SYNCED','_handleEvent','wsSessionTicketUrl','_registerRenderDependencies','_init','Subject','_removeCollabCursors','getConfig','_anchor','APPLY_REJECT','_handleLeaveEvent','storage','_scene','_localStorageService','searchParams','collabCursorState$','_cursor','_checkAndWaitForCalculationPermission','data','restore','YUUMI_NO_CUBOID_FOR_QUESTION','SetFormulaCalculationNotificationMutation','source','_send','round','_removeClearOtherTimer','useCallback','mutations','handleIRemoveCol','OFFLINE','createSocket','@univerjs/design','_pollingInterval','_startSheetCollabCursor','_configService','transformSelections','transformIMECache','editingUnit','UniverNetwork','_dataLoaderService','MemberService','getViewport','registerRefRange','shift','M0\x200H16V16H0z','_toggleOnline','USER_NOT_INVITED_CODE','getMember','fillStyle','_taskIds','column','REDEMPTION_CODE_NOT_STARTED','send','toStringTag','subunit','getDocRanges','OffLineIcon','_getFormulaLimitStatus','AWAITING','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','blue.400','_disabled','size','replaceState','REDEMPTION_USER_NOT_ELIGIBLE','triggerDblclick','save','getParam','\x20at\x20','unitId','currentColor'];_0x3baa=function(){return _0x33e136;};return _0x3baa();}function _0x2541(_0x344a2e,_0x497b87){_0x344a2e=_0x344a2e-0x156;const _0x3baa6f=_0x3baa();let _0x254186=_0x3baa6f[_0x344a2e];return _0x254186;}(function(_0x2fdc2f,_0x25ab8e){const _0x266791=_0x2541,_0x127cc9=_0x2fdc2f();while(!![]){try{const _0x2fc396=-parseInt(_0x266791(0x20a))/0x1*(-parseInt(_0x266791(0x257))/0x2)+parseInt(_0x266791(0x24a))/0x3*(parseInt(_0x266791(0x15e))/0x4)+parseInt(_0x266791(0x425))/0x5*(-parseInt(_0x266791(0x263))/0x6)+parseInt(_0x266791(0x3df))/0x7*(parseInt(_0x266791(0x26a))/0x8)+-parseInt(_0x266791(0x202))/0x9+parseInt(_0x266791(0x24e))/0xa*(-parseInt(_0x266791(0x28f))/0xb)+-parseInt(_0x266791(0x394))/0xc*(-parseInt(_0x266791(0x378))/0xd);if(_0x2fc396===_0x25ab8e)break;else _0x127cc9['push'](_0x127cc9['shift']());}catch(_0x4dae59){_0x127cc9['push'](_0x127cc9['shift']());}}}(_0x3baa,0x46747),function(_0x5ce6d5,_0x4b07c7){const _0x427c7a=_0x2541;typeof exports==_0x427c7a(0x457)&&typeof module<'u'?_0x4b07c7(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['amd']?define([_0x427c7a(0x354),'react/jsx-runtime',_0x427c7a(0x35c),_0x427c7a(0x23c),_0x427c7a(0x187),'rxjs',_0x427c7a(0x328),_0x427c7a(0x2aa),_0x427c7a(0x224),_0x427c7a(0x1f0),_0x427c7a(0x26b),_0x427c7a(0x367),'@univerjs/docs-ui','@univerjs/drawing','@univerjs-pro/collaboration',_0x427c7a(0x3bc),_0x427c7a(0x36c),_0x427c7a(0x3e2),'@univerjs/sheets-ui'],_0x4b07c7):(_0x5ce6d5=typeof globalThis<'u'?globalThis:_0x5ce6d5||self,_0x4b07c7(_0x5ce6d5[_0x427c7a(0x3c0)]={},_0x5ce6d5[_0x427c7a(0x2c4)],_0x5ce6d5['UniverProCollaborationClient'],_0x5ce6d5['UniverCore'],_0x5ce6d5[_0x427c7a(0x181)],_0x5ce6d5['rxjs'],_0x5ce6d5[_0x427c7a(0x3d6)],_0x5ce6d5['React'],_0x5ce6d5[_0x427c7a(0x3e0)],_0x5ce6d5[_0x427c7a(0x3a2)],_0x5ce6d5[_0x427c7a(0x382)],_0x5ce6d5[_0x427c7a(0x32f)],_0x5ce6d5[_0x427c7a(0x372)],_0x5ce6d5[_0x427c7a(0x458)],_0x5ce6d5[_0x427c7a(0x396)],_0x5ce6d5[_0x427c7a(0x1d8)],_0x5ce6d5['UniverEngineFormula'],_0x5ce6d5[_0x427c7a(0x448)]['operators'],_0x5ce6d5[_0x427c7a(0x1f2)]));}(this,function(_0x38ae7f,_0x570dfc,_0x2cb61c,_0x295c8f,_0x189b11,_0x58c226,_0x599761,_0x1da277,_0x7417fd,_0x11cdbd,_0x8db91b,_0x17ac2f,_0x442538,_0x4b8ddd,_0x143a87,_0x400651,_0x218d3f,_0x2157b5,_0x2cd116){'use strict';const _0xce3cd0=_0x2541;var _0x1c3367=Object[_0xce3cd0(0x295)],_0x5b410a=(_0x2f6180,_0x2530f0,_0x178bb9)=>_0x2530f0 in _0x2f6180?_0x1c3367(_0x2f6180,_0x2530f0,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x178bb9}):_0x2f6180[_0x2530f0]=_0x178bb9,_0xef452e=(_0x258610,_0x196e84,_0x7a3c5a)=>_0x5b410a(_0x258610,typeof _0x196e84!=_0xce3cd0(0x415)?_0x196e84+'':_0x196e84,_0x7a3c5a);function _0x560a56({ref:_0x3b1c20,..._0x39b95c}){const _0x18fe57=_0xce3cd0,{icon:_0x1f5bfa,id:_0x3654eb,className:_0x43f195,extend:_0x38fb1c,..._0x513c63}=_0x39b95c,_0x12704a=(_0x18fe57(0x19d)+_0x3654eb+'\x20'+(_0x43f195||''))[_0x18fe57(0x35d)](),_0x4c875d=_0x1da277[_0x18fe57(0x2d8)]('_'+_0x25432b());return _0x311bbf(_0x1f5bfa,''+_0x3654eb,{'defIds':_0x1f5bfa[_0x18fe57(0x38e)],'idSuffix':_0x4c875d['current']},{'ref':_0x3b1c20,'className':_0x12704a,..._0x513c63},_0x38fb1c);}function _0x311bbf(_0xe8b092,_0x79142f,_0x5020b5,_0x4a9745,_0x26b3bf){const _0x5729a0=_0xce3cd0;return _0x1da277['createElement'](_0xe8b092[_0x5729a0(0x2be)],{'key':_0x79142f,..._0x4634b7(_0xe8b092,_0x5020b5,_0x26b3bf),..._0x4a9745},(_0x1c1334(_0xe8b092,_0x5020b5)['children']||[])[_0x5729a0(0x16b)]((_0x115a84,_0x3d96b0)=>_0x311bbf(_0x115a84,_0x79142f+'-'+_0xe8b092[_0x5729a0(0x2be)]+'-'+_0x3d96b0,_0x5020b5,void 0x0,_0x26b3bf)));}function _0x4634b7(_0x992174,_0x48ef73,_0x4c4972){const _0x1765f2=_0xce3cd0,_0x48c989={..._0x992174['attrs']};_0x4c4972!=null&&_0x4c4972[_0x1765f2(0x298)]&&_0x48c989[_0x1765f2(0x185)]===_0x1765f2(0x298)&&(_0x48c989[_0x1765f2(0x185)]=_0x4c4972['colorChannel1']),_0x992174['tag']==='mask'&&_0x48c989['id']&&(_0x48c989['id']=_0x48c989['id']+_0x48ef73['idSuffix']),Object[_0x1765f2(0x214)](_0x48c989)['forEach'](([_0x543204,_0x514cfc])=>{const _0x343ffe=_0x1765f2;_0x543204===_0x343ffe(0x430)&&typeof _0x514cfc==_0x343ffe(0x240)&&(_0x48c989[_0x543204]=_0x514cfc[_0x343ffe(0x307)](/url\(#(.*)\)/,_0x343ffe(0x1ac)+_0x48ef73[_0x343ffe(0x244)]+')'));});const {defIds:_0x264fdb}=_0x48ef73;return!_0x264fdb||_0x264fdb['length']===0x0||(_0x992174[_0x1765f2(0x2be)]==='use'&&_0x48c989['xlink:href']&&(_0x48c989[_0x1765f2(0x2d1)]=_0x48c989[_0x1765f2(0x2d1)]+_0x48ef73['idSuffix']),Object['entries'](_0x48c989)[_0x1765f2(0x2e5)](([_0x1f9d62,_0x1db705])=>{const _0x1e6781=_0x1765f2;typeof _0x1db705==_0x1e6781(0x240)&&(_0x48c989[_0x1f9d62]=_0x1db705[_0x1e6781(0x307)](/url\(#(.*)\)/,_0x1e6781(0x1ac)+_0x48ef73[_0x1e6781(0x244)]+')'));})),_0x48c989;}function _0x1c1334(_0x1c1131,_0x5efee3){const _0x1dd976=_0xce3cd0;var _0x4a6777;const {defIds:_0x6e0810}=_0x5efee3;return!_0x6e0810||_0x6e0810[_0x1dd976(0x37b)]===0x0?_0x1c1131:_0x1c1131[_0x1dd976(0x2be)]===_0x1dd976(0x1c7)&&((_0x4a6777=_0x1c1131[_0x1dd976(0x21b)])!=null&&_0x4a6777[_0x1dd976(0x37b)])?{..._0x1c1131,'children':_0x1c1131['children'][_0x1dd976(0x16b)](_0x1969ad=>typeof _0x1969ad[_0x1dd976(0x29f)]['id']==_0x1dd976(0x240)&&_0x6e0810&&_0x6e0810[_0x1dd976(0x23d)](_0x1969ad['attrs']['id'])?{..._0x1969ad,'attrs':{..._0x1969ad[_0x1dd976(0x29f)],'id':_0x1969ad[_0x1dd976(0x29f)]['id']+_0x5efee3[_0x1dd976(0x244)]}}:_0x1969ad)}:_0x1c1131;}function _0x25432b(){const _0x4e4452=_0xce3cd0;return Math[_0x4e4452(0x157)]()[_0x4e4452(0x18c)](0x24)[_0x4e4452(0x291)](0x2,0x8);}_0x560a56['displayName']=_0xce3cd0(0x282);const _0x5cf04b={'tag':'svg','attrs':{'xmlns':_0xce3cd0(0x2bf),'fill':'none','viewBox':_0xce3cd0(0x1bd),'width':_0xce3cd0(0x2b4),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0xce3cd0(0x352),'strokeLinecap':_0xce3cd0(0x321),'strokeLinejoin':_0xce3cd0(0x321),'strokeWidth':1.2}}]},{'tag':_0xce3cd0(0x1c7),'attrs':{},'children':[{'tag':_0xce3cd0(0x235),'attrs':{'id':_0xce3cd0(0x255)},'children':[{'tag':_0xce3cd0(0x280),'attrs':{'fill':_0xce3cd0(0x2cf),'d':_0xce3cd0(0x335)}}]}]}],'defIds':[_0xce3cd0(0x255)]},_0x3442da=_0x1da277['forwardRef'](function(_0x1d0ccd,_0x3f4f9f){const _0x3a408f=_0xce3cd0;return _0x1da277[_0x3a408f(0x1c4)](_0x560a56,Object[_0x3a408f(0x2c9)]({},_0x1d0ccd,{'id':_0x3a408f(0x1c8),'ref':_0x3f4f9f,'icon':_0x5cf04b}));});_0x3442da[_0xce3cd0(0x3b0)]=_0xce3cd0(0x341);const _0x229194={'tag':_0xce3cd0(0x403),'attrs':{'xmlns':_0xce3cd0(0x2bf),'fill':_0xce3cd0(0x2ab),'viewBox':_0xce3cd0(0x1ef),'width':_0xce3cd0(0x2b4),'height':_0xce3cd0(0x2b4)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0xce3cd0(0x280),'attrs':{'stroke':_0xce3cd0(0x350),'d':_0xce3cd0(0x22b),'strokeLinecap':'round','strokeLinejoin':_0xce3cd0(0x321),'strokeWidth':1.2}}]},{'tag':_0xce3cd0(0x1c7),'attrs':{},'children':[{'tag':_0xce3cd0(0x235),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0xce3cd0(0x2cf),'d':_0xce3cd0(0x335),'transform':_0xce3cd0(0x229)}}]}]}],'defIds':[_0xce3cd0(0x3a0)]},_0x15f857=_0x1da277['forwardRef'](function(_0x3f113f,_0x29ce2d){const _0x4b5b69=_0xce3cd0;return _0x1da277[_0x4b5b69(0x1c4)](_0x560a56,Object['assign']({},_0x3f113f,{'id':_0x4b5b69(0x384),'ref':_0x29ce2d,'icon':_0x229194}));});_0x15f857['displayName']=_0xce3cd0(0x1d6);function _0x47a3ee(_0x32a102){const _0x28b2d6=_0xce3cd0;switch(_0x32a102){case _0x2cb61c[_0x28b2d6(0x36d)]['OFFLINE']:return _0x28b2d6(0x2da);case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x36b)]:return _0x28b2d6(0x177);case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x362)]:return'collabStatus.fetchMiss';case _0x2cb61c['CollaborationStatus'][_0x28b2d6(0x21f)]:return _0x28b2d6(0x228);case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x343)]:case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x2ee)]:return'collabStatus.syncing';case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x309)]:case _0x2cb61c[_0x28b2d6(0x36d)][_0x28b2d6(0x3ca)]:return _0x28b2d6(0x2f0);}}function _0x4d60d6(_0x23147d){const _0x1098d2=_0xce3cd0,{status$:_0x2c7db2}=_0x23147d,_0x21de82=_0x189b11[_0x1098d2(0x2d3)](_0x2c7db2,_0x2cb61c['CollaborationStatus']['NOT_COLLAB']),_0x457364=_0x189b11[_0x1098d2(0x258)](_0x295c8f[_0x1098d2(0x237)]),_0x51237f=_0x189b11[_0x1098d2(0x258)](_0x2cb61c['CollaborationSessionService']),_0x258b5a=_0x21de82!==_0x2cb61c['CollaborationStatus'][_0x1098d2(0x326)],_0x72a7a3=_0x457364['t'](_0x47a3ee(_0x21de82)),_0x39c5b2=_0x258b5a?_0x570dfc[_0x1098d2(0x305)](_0x15f857,{}):_0x570dfc['jsx'](_0x3442da,{}),_0x5d80c2=_0x1da277[_0x1098d2(0x323)](()=>{const _0x35866b=_0x1098d2;_0x258b5a||_0x51237f[_0x35866b(0x201)]();},[_0x258b5a,_0x51237f]);function _0x338f51(){const _0x36fa44=_0x1098d2;return _0x570dfc[_0x36fa44(0x1ca)](_0x36fa44(0x1a5),{'className':_0x36fa44(0x421),'onClick':_0x5d80c2,'children':[_0x570dfc[_0x36fa44(0x305)](_0x36fa44(0x1a5),{'className':_0x599761[_0x36fa44(0x171)](_0x36fa44(0x164),{'univer-text-green-500':_0x258b5a,'univer-text-red-500':!_0x258b5a}),'children':_0x39c5b2}),_0x570dfc['jsx']('div',{'className':_0x36fa44(0x2f2),'children':_0x72a7a3})]});}return _0x258b5a?_0x338f51():_0x570dfc[_0x1098d2(0x305)](_0x599761['Tooltip'],{'title':_0x457364['t'](_0x1098d2(0x2d0)),'children':_0x338f51()});}var _0x2bf1d4=Object['getOwnPropertyDescriptor'],_0x2f4e5a=(_0x51df83,_0xff25b7,_0x4dc27e,_0x519b05)=>{const _0x2a74e3=_0xce3cd0;for(var _0x873441=_0x519b05>0x1?void 0x0:_0x519b05?_0x2bf1d4(_0xff25b7,_0x4dc27e):_0xff25b7,_0x4d2eeb=_0x51df83[_0x2a74e3(0x37b)]-0x1,_0x6ce820;_0x4d2eeb>=0x0;_0x4d2eeb--)(_0x6ce820=_0x51df83[_0x4d2eeb])&&(_0x873441=_0x6ce820(_0x873441)||_0x873441);return _0x873441;},_0xb60812=(_0x541ffe,_0x46e1d8)=>(_0x35e9ee,_0x50d82d)=>_0x46e1d8(_0x35e9ee,_0x50d82d,_0x541ffe);_0x38ae7f[_0xce3cd0(0x22e)]=class extends _0x295c8f[_0xce3cd0(0x1b9)]{constructor(_0x4d1e10,_0x22aab9,_0x290282,_0x515c91){const _0x48b9d5=_0xce3cd0;super(),_0xef452e(this,_0x48b9d5(0x414),new _0x58c226[(_0x48b9d5(0x43b))](_0x2cb61c[_0x48b9d5(0x36d)][_0x48b9d5(0x21f)])),(this['_univerInstanceService']=_0x4d1e10,this['_injector']=_0x22aab9,this[_0x48b9d5(0x392)]=_0x290282,this['_uiPartsService']=_0x515c91,this[_0x48b9d5(0x20f)](),this[_0x48b9d5(0x420)]());}['_initStatusListener'](){const _0x21fe57=_0xce3cd0;this[_0x21fe57(0x43c)](this[_0x21fe57(0x2a9)][_0x21fe57(0x17c)][_0x21fe57(0x2de)](_0x58c226[_0x21fe57(0x3e6)](()=>{const _0x286078=_0x21fe57,_0x518cd8=this[_0x286078(0x2a9)][_0x286078(0x438)]();return _0x518cd8?this[_0x286078(0x392)]['getCollabEntity$'](_0x518cd8['getUnitId']()):_0x58c226['of'](null);}),_0x58c226['switchMap'](_0x494e26=>_0x494e26?_0x494e26[_0x21fe57(0x29c)]:_0x58c226['of'](_0x2cb61c[_0x21fe57(0x36d)]['NOT_COLLAB'])))[_0x21fe57(0x17f)](_0x401801=>{const _0x5aa6ca=_0x21fe57;this[_0x5aa6ca(0x414)][_0x5aa6ca(0x173)](_0x401801);}));}['_initStatusComponent'](){const _0x377740=_0xce3cd0;this[_0x377740(0x43c)](this[_0x377740(0x453)]['registerComponent'](_0x189b11[_0x377740(0x1dc)]['HEADER_MENU'],()=>_0x189b11['connectInjector'](_0x108cd4({'status$':this[_0x377740(0x414)][_0x377740(0x26d)]()}),this[_0x377740(0x1f6)])));}},_0x38ae7f['DesktopCollaborationStatusDisplayController']=_0x2f4e5a([_0xb60812(0x0,_0x295c8f[_0xce3cd0(0x16f)]),_0xb60812(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f[_0xce3cd0(0x405)])),_0xb60812(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x2cb61c[_0xce3cd0(0x1a4)])),_0xb60812(0x3,_0x189b11['IUIPartsService'])],_0x38ae7f[_0xce3cd0(0x22e)]);function _0x108cd4(_0x580c6c){const {status$:_0x3a8352}=_0x580c6c;return function(){return _0x570dfc['jsx'](_0x4d60d6,{'status$':_0x3a8352});};}const _0x4d5ea0=_0x295c8f[_0xce3cd0(0x19b)](_0xce3cd0(0x230));var _0x3b67c1=Object[_0xce3cd0(0x3e7)],_0x384cd0=(_0x1ca008,_0x486cd4,_0xd4ff55,_0x506de4)=>{for(var _0x5ac656=_0x506de4>0x1?void 0x0:_0x506de4?_0x3b67c1(_0x486cd4,_0xd4ff55):_0x486cd4,_0x460ef0=_0x1ca008['length']-0x1,_0x180d62;_0x460ef0>=0x0;_0x460ef0--)(_0x180d62=_0x1ca008[_0x460ef0])&&(_0x5ac656=_0x180d62(_0x5ac656)||_0x5ac656);return _0x5ac656;},_0x27661a=(_0x185e58,_0x2b0249)=>(_0xfb613b,_0xacbd9b)=>_0x2b0249(_0xfb613b,_0xacbd9b,_0x185e58);_0x38ae7f[_0xce3cd0(0x3a3)]=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0xa0ce4f,_0x87f400,_0x4dd0ed,_0x44f84a,_0x4731d6){const _0xb482b5=_0xce3cd0;super(),this[_0xb482b5(0x456)]=_0xa0ce4f,this['_logService']=_0x87f400,this[_0xb482b5(0x223)]=_0x4dd0ed,this[_0xb482b5(0x330)]=_0x44f84a,_0x4731d6?_0x4731d6==null||_0x4731d6[_0xb482b5(0x2bc)]()['then'](()=>this[_0xb482b5(0x30d)]()):(this[_0xb482b5(0x22d)][_0xb482b5(0x2a2)](_0xb482b5(0x424),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0xce3cd0(0x30d)](){const _0x4cf117=_0xce3cd0,_0x411d4f=this['_urlService']['getParam'](_0x4cf117(0x429)),_0x7c6cdb=this[_0x4cf117(0x456)][_0x4cf117(0x34d)](_0x4cf117(0x273)),_0x53852f=this[_0x4cf117(0x456)][_0x4cf117(0x34d)](_0x4cf117(0x33f));if(!_0x411d4f||!_0x7c6cdb){this[_0x4cf117(0x22d)][_0x4cf117(0x2a2)](_0x4cf117(0x424),_0x4cf117(0x43d));return;}const _0x3ab63a=await this[_0x4cf117(0x330)][_0x4cf117(0x243)](_0x411d4f,Number(_0x7c6cdb),_0x53852f);_0x3ab63a&&_0x3ab63a instanceof _0x295c8f[_0x4cf117(0x268)]&&this['_setupSubUnitSync'](_0x3ab63a);}async[_0xce3cd0(0x3b4)](_0xa8dc5b){const _0xf05fd9=_0xce3cd0;await this[_0xf05fd9(0x3f5)](_0xa8dc5b),_0xa8dc5b[_0xf05fd9(0x256)][_0xf05fd9(0x2de)](_0x58c226[_0xf05fd9(0x15a)](this[_0xf05fd9(0x269)]))[_0xf05fd9(0x17f)](_0x4fa9ab=>{const _0x2574cb=_0xf05fd9;_0x4fa9ab&&this[_0x2574cb(0x188)](_0x4fa9ab);}),this[_0xf05fd9(0x456)][_0xf05fd9(0x2e1)][_0xf05fd9(0x2de)](_0x58c226[_0xf05fd9(0x15a)](this[_0xf05fd9(0x269)]))[_0xf05fd9(0x17f)](()=>this['_updateSubUnitFromURLParams'](_0xa8dc5b));}[_0xce3cd0(0x188)](_0x4ae39f,_0x39726d=!0x1){const _0x24706b=_0xce3cd0,_0x4e2c71=this[_0x24706b(0x456)][_0x24706b(0x34d)](_0x24706b(0x33f));_0x4ae39f[_0x24706b(0x190)]()!==_0x4e2c71&&this['_urlService'][_0x24706b(0x1b2)]('subunit',_0x4ae39f[_0x24706b(0x190)](),_0x39726d);}async[_0xce3cd0(0x3f5)](_0x35d3a5){const _0x500e28=_0xce3cd0;var _0x546259;const _0x29a19f=this['_urlService'][_0x500e28(0x34d)](_0x500e28(0x33f));if(!_0x29a19f||!_0x35d3a5[_0x500e28(0x411)](_0x29a19f)){const _0x26c149=_0x35d3a5[_0x500e28(0x36a)]()[0x0],_0x4d501c=_0x35d3a5['getSheetBySheetId'](_0x26c149);if(!_0x4d501c)return;this[_0x500e28(0x188)](_0x4d501c,!0x0),await this[_0x500e28(0x223)][_0x500e28(0x37e)](_0x11cdbd[_0x500e28(0x1d1)]['id'],{'unitId':_0x35d3a5[_0x500e28(0x41d)](),'subUnitId':_0x26c149});return;}((_0x546259=_0x35d3a5[_0x500e28(0x1d4)]())==null?void 0x0:_0x546259[_0x500e28(0x190)]())!==_0x29a19f&&await this['_commandService'][_0x500e28(0x37e)](_0x11cdbd[_0x500e28(0x1d1)]['id'],{'unitId':_0x35d3a5['getUnitId'](),'subUnitId':_0x29a19f});}},_0x38ae7f['CollaborationDataLoaderController']=_0x384cd0([_0x27661a(0x0,_0x4d5ea0),_0x27661a(0x1,_0x295c8f['ILogService']),_0x27661a(0x2,_0x295c8f[_0xce3cd0(0x2f7)]),_0x27661a(0x3,_0x295c8f[_0xce3cd0(0x2fb)](_0x2cb61c['DataLoaderService'])),_0x27661a(0x4,_0x295c8f[_0xce3cd0(0x246)](_0x7417fd[_0xce3cd0(0x1ec)]))],_0x38ae7f[_0xce3cd0(0x3a3)]);var _0x4160b3=Object[_0xce3cd0(0x3e7)],_0x2cddee=(_0x287b73,_0x4f6173,_0x48b3bc,_0x262c78)=>{const _0x3248dc=_0xce3cd0;for(var _0x58e23a=_0x262c78>0x1?void 0x0:_0x262c78?_0x4160b3(_0x4f6173,_0x48b3bc):_0x4f6173,_0x16d628=_0x287b73[_0x3248dc(0x37b)]-0x1,_0x15793d;_0x16d628>=0x0;_0x16d628--)(_0x15793d=_0x287b73[_0x16d628])&&(_0x58e23a=_0x15793d(_0x58e23a)||_0x58e23a);return _0x58e23a;},_0x4d8e59=(_0x701ee4,_0x1fa068)=>(_0x5ca488,_0x54efbc)=>_0x1fa068(_0x5ca488,_0x54efbc,_0x701ee4);let _0x2605d0=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x39f5bb,_0x4ffb92){const _0x10fd28=_0xce3cd0;super(),this[_0x10fd28(0x277)]=_0x39f5bb,this[_0x10fd28(0x172)]=_0x4ffb92,this['_init']();}[_0xce3cd0(0x30d)](){const _0x52db43=_0xce3cd0,_0x42a989=this;this[_0x52db43(0x43c)](this[_0x52db43(0x277)][_0x52db43(0x41f)]({'onBeforePasteImage':async _0x35389a=>{const _0x30d229=_0x52db43,_0x5e629a=await _0x42a989[_0x30d229(0x172)][_0x30d229(0x1d2)](_0x35389a);return _0x5e629a?{'source':_0x5e629a[_0x30d229(0x31f)],'imageSourceType':_0x5e629a['imageSourceType']}:null;}}));}};_0x2605d0=_0x2cddee([_0x4d8e59(0x0,_0x442538[_0xce3cd0(0x1f3)]),_0x4d8e59(0x1,_0x4b8ddd['IImageIoService'])],_0x2605d0);const _0x26d105=['purple.300',_0xce3cd0(0x193),'green.600',_0xce3cd0(0x23b),_0xce3cd0(0x346),_0xce3cd0(0x1a9)];class _0x12f6f6 extends _0x295c8f[_0xce3cd0(0x1b9)]{constructor(){const _0x2c32aa=_0xce3cd0;super(...arguments),_0xef452e(this,_0x2c32aa(0x351),new Map()),_0xef452e(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x31656d){const _0x51630d=_0xce3cd0;if(this[_0x51630d(0x351)]['has'](_0x31656d))return this[_0x51630d(0x351)][_0x51630d(0x3fa)](_0x31656d);const _0x9e8588=_0x26d105[this['_colorIndex']];return this[_0x51630d(0x304)]=(this[_0x51630d(0x304)]+0x1)%_0x26d105[_0x51630d(0x37b)],this[_0x51630d(0x351)][_0x51630d(0x427)](_0x31656d,_0x9e8588),_0x9e8588;}}function _0x301d3e(_0x2a7732){const _0x47ba29=_0xce3cd0;let _0xa87218='';for(const _0x25d0e0 of _0x2a7732){const {startOffset:_0x3c17ae,endOffset:_0x33cdea,isActive:_0xbe2799,rangeType:_0x11584d,segmentId:_0x2b3d10,segmentPage:_0x5dd8d7}=_0x25d0e0;_0xa87218[_0x47ba29(0x37b)]&&(_0xa87218+=','),_0xa87218+=_0x3c17ae+':'+_0x33cdea+':'+(_0xbe2799?'1':'0')+':'+_0x11584d+':'+_0x2b3d10+':'+_0x5dd8d7;}return _0xa87218;}function _0x1cba71(_0x34de07){const _0xed982c=_0xce3cd0,_0xea47b8=_0x34de07[_0xed982c(0x297)](','),_0x32baa9=[];for(const _0x1c9e4b of _0xea47b8){const [_0x2e637b,_0x29ec4a,_0x1e76dd,_0x220286,_0x5e945b,_0xdb14be]=_0x1c9e4b[_0xed982c(0x297)](':');_0x32baa9['push']({'startOffset':Number(_0x2e637b),'endOffset':Number(_0x29ec4a),'collapsed':_0x2e637b===_0x29ec4a,'isActive':_0x1e76dd==='1','rangeType':_0x220286===_0x295c8f[_0xed982c(0x3b3)][_0xed982c(0x167)]?_0x295c8f[_0xed982c(0x3b3)]['TEXT']:_0x295c8f[_0xed982c(0x3b3)][_0xed982c(0x1f7)],'segmentId':typeof _0x5e945b==_0xed982c(0x240)?String(_0x5e945b):'','segmentPage':Number(_0xdb14be!=null?_0xdb14be:-0x1)});}return _0x32baa9[_0xed982c(0x3db)](_0x7e5f22=>_0x7e5f22['isActive'])||(_0x32baa9[0x0][_0xed982c(0x1c9)]=!0x0),_0x32baa9;}class _0x109a2a extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(){const _0x5b5dfb=_0xce3cd0;super(...arguments),_0xef452e(this,_0x5b5dfb(0x2fa),new _0x58c226[(_0x5b5dfb(0x43b))](null)),_0xef452e(this,_0x5b5dfb(0x318),this['_collabCursorState$']['asObservable']());}[_0xce3cd0(0x1cb)](_0x1d9841){const _0x3b6f57=_0xce3cd0,{unitID:_0x2f7729,memberID:_0x378cc9,textRanges:_0x77624d}=_0x1d9841,_0x551550=_0x301d3e(_0x77624d);if(_0x551550==='')return;const _0x8dc6b7={'unitID':_0x2f7729,'memberID':_0x378cc9,'selection':_0x551550};this[_0x3b6f57(0x2fa)][_0x3b6f57(0x173)](_0x8dc6b7);}}var _0x1217a1=Object['getOwnPropertyDescriptor'],_0x17d20c=(_0x1b0406,_0x1ba3d1,_0x15e698,_0x3b0887)=>{const _0x48d89f=_0xce3cd0;for(var _0x629fc0=_0x3b0887>0x1?void 0x0:_0x3b0887?_0x1217a1(_0x1ba3d1,_0x15e698):_0x1ba3d1,_0x4f8ed5=_0x1b0406[_0x48d89f(0x37b)]-0x1,_0x39c88f;_0x4f8ed5>=0x0;_0x4f8ed5--)(_0x39c88f=_0x1b0406[_0x4f8ed5])&&(_0x629fc0=_0x39c88f(_0x629fc0)||_0x629fc0);return _0x629fc0;},_0x2aea2f=(_0x23c91b,_0x57ba93)=>(_0x34969c,_0x2da253)=>_0x57ba93(_0x34969c,_0x2da253,_0x23c91b);const _0x25d219=0x12c,_0x37b944=0x64;let _0x26931f=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x28613b,_0x253918,_0x4a49c4,_0x7cec1d,_0x17315a,_0x53e097,_0x272aca,_0x1f6afa,_0x3b0f0b){const _0x12baa6=_0xce3cd0;super(),_0xef452e(this,_0x12baa6(0x452),!0x1),_0xef452e(this,_0x12baa6(0x30d),!0x1),_0xef452e(this,'_cursorInfo$',new _0x58c226[(_0x12baa6(0x43b))](new Map())),_0xef452e(this,'cursorInfo$',this[_0x12baa6(0x222)]['asObservable']()),_0xef452e(this,_0x12baa6(0x37f),new _0x58c226['BehaviorSubject']([])),_0xef452e(this,_0x12baa6(0x2ce),this[_0x12baa6(0x37f)][_0x12baa6(0x2de)](_0x58c226['debounceTime'](_0x25d219))),_0xef452e(this,'_updateLocalCursor',_0x295c8f['debounce'](_0x376dfb=>{const _0x3132e1=_0x12baa6,_0xc36cba={'eventID':_0x143a87[_0x3132e1(0x270)][_0x3132e1(0x211)],'data':{'unitID':this[_0x3132e1(0x445)],'memberID':this['_session'][_0x3132e1(0x192)](),'selection':_0x301d3e(_0x376dfb)}};this[_0x3132e1(0x3d1)]['send'](_0xc36cba,this[_0x3132e1(0x445)]);},_0x37b944)),(this[_0x12baa6(0x445)]=_0x28613b,this[_0x12baa6(0x3d1)]=_0x253918,this['_injector']=_0x4a49c4,this[_0x12baa6(0x3c8)]=_0x7cec1d,this[_0x12baa6(0x2dd)]=_0x17315a,this[_0x12baa6(0x278)]=_0x53e097,this[_0x12baa6(0x3d4)]=_0x272aca,this[_0x12baa6(0x2a9)]=_0x1f6afa,this[_0x12baa6(0x223)]=_0x3b0f0b);}get['cursorInfo'](){const _0x207a68=_0xce3cd0;return this[_0x207a68(0x222)][_0x207a68(0x2a1)]();}get[_0xce3cd0(0x3d2)](){const _0x41a265=_0xce3cd0;return this[_0x41a265(0x37f)]['getValue']();}[_0xce3cd0(0x2a7)](){const _0x4dc6f3=_0xce3cd0;super['dispose'](),this[_0x4dc6f3(0x222)][_0x4dc6f3(0x173)](new Map()),this['_cursorInfo$'][_0x4dc6f3(0x3f8)](),this['_roomMembers$'][_0x4dc6f3(0x173)]([]),this[_0x4dc6f3(0x37f)][_0x4dc6f3(0x3f8)]();}[_0xce3cd0(0x402)](){const _0x389281=_0xce3cd0;this[_0x389281(0x30d)]||(this[_0x389281(0x30d)]=!0x0,this[_0x389281(0x3d1)][_0x389281(0x27e)][_0x389281(0x2de)](_0x58c226[_0x389281(0x15a)](this[_0x389281(0x269)]))[_0x389281(0x17f)](_0xd2abc8=>{const _0x452aa0=_0x389281;_0xd2abc8===_0x2cb61c[_0x452aa0(0x39f)][_0x452aa0(0x3e3)]?this[_0x452aa0(0x336)]():this['_toggleOffline']();}),this[_0x389281(0x3d1)][_0x389281(0x449)][_0x389281(0x2de)](_0x58c226[_0x389281(0x15a)](this['dispose$']))[_0x389281(0x17f)](_0x1a1bd6=>{const _0x1d3061=_0x389281,_0x169643=_0x1a1bd6[_0x1d3061(0x191)];_0x169643===_0x143a87[_0x1d3061(0x270)]['UPDATE_CURSOR']&&this[_0x1d3061(0x2b3)](_0x1a1bd6),_0x169643===_0x143a87[_0x1d3061(0x270)][_0x1d3061(0x227)]&&this[_0x1d3061(0x41c)](_0x1a1bd6);}),this['disposeWithMe'](this[_0x389281(0x223)]['onCommandExecuted'](_0x4cc502=>{const _0x336d7e=_0x389281,_0x391e47=_0x4cc502[_0x336d7e(0x275)];_0x391e47!=null&&this['_online']&&_0x4cc502['id']===_0x400651[_0x336d7e(0x3c6)]['id']&&_0x391e47[_0x336d7e(0x34f)]===this[_0x336d7e(0x445)]&&_0x391e47[_0x336d7e(0x219)]===!0x1&&_0x391e47[_0x336d7e(0x416)]['length']>0x0&&this['_updateLocalCursor'](_0x391e47[_0x336d7e(0x416)]);})),this[_0x389281(0x278)]['collabCursorState$'][_0x389281(0x2de)](_0x58c226[_0x389281(0x15a)](this[_0x389281(0x269)]))[_0x389281(0x17f)](_0x5cfe4a=>{const _0xbb4229=_0x389281;if((_0x5cfe4a==null?void 0x0:_0x5cfe4a['unitID'])!==this[_0xbb4229(0x445)])return;const _0x55800a={'eventID':_0x143a87[_0xbb4229(0x270)][_0xbb4229(0x211)],'data':_0x5cfe4a};this[_0xbb4229(0x2b3)](_0x55800a);}),this[_0x389281(0x43c)](this['_commandService']['onCommandExecuted'](_0xd1e073=>{const _0x34db72=_0x389281;if(_0xd1e073[_0x34db72(0x275)]==null)return;const _0x88da28=_0xd1e073[_0x34db72(0x275)];if(_0xd1e073['id']!==_0x400651['RichTextEditingMutation']['id']||_0x88da28[_0x34db72(0x34f)]!==this[_0x34db72(0x445)])return;const _0x5d772e={'id':_0x34db72(0x20d),'params':_0x88da28},_0xa7a6bc=this[_0x34db72(0x386)];for(const [_0x509664,_0x5b37b4]of _0xa7a6bc){const _0x4cba2c={'id':_0x34db72(0x20d),'params':{'unitId':this[_0x34db72(0x445)],'actions':null,'textRanges':_0x5b37b4[_0x34db72(0x416)]}},_0x1efc27=this[_0x34db72(0x3d4)][_0x34db72(0x25f)](_0x5d772e,_0x4cba2c,!0x1);if(_0x143a87[_0x34db72(0x44d)](_0x1efc27))throw _0x1efc27[_0x34db72(0x1b1)];_0xa7a6bc[_0x34db72(0x427)](_0x509664,{..._0x5b37b4,'ranges':_0x1efc27[_0x34db72(0x40c)][_0x34db72(0x275)][_0x34db72(0x1c5)]});}queueMicrotask(()=>{const _0x3cc0c0=_0x34db72;this[_0x3cc0c0(0x222)][_0x3cc0c0(0x173)](_0xa7a6bc);});})));}['_onCursorUpdate'](_0x206e92){const _0x205c61=_0xce3cd0;var _0x47183e,_0x3a8537;const {memberID:_0x457677,selection:_0x29d696}=_0x206e92[_0x205c61(0x31b)],_0x2acb2b=_0x1cba71(_0x29d696),_0x599991=(_0x3a8537=(_0x47183e=this['_memberService']['getMember'](this[_0x205c61(0x445)],_0x457677))==null?void 0x0:_0x47183e['name'])!=null?_0x3a8537:_0x205c61(0x2f9),_0x5ef8da={'color':this[_0x205c61(0x3c8)][_0x205c61(0x2c8)](_0x457677),'name':_0x599991,'ranges':_0x2acb2b},_0x528bac=this[_0x205c61(0x386)];_0x528bac[_0x205c61(0x427)](_0x457677,_0x5ef8da),this[_0x205c61(0x222)][_0x205c61(0x173)](_0x528bac);}['_onCursorDelete'](_0x1a4157){const _0x1f7265=_0xce3cd0,{memberID:_0x4cbf3f}=_0x1a4157['data'],_0x474a8d=this[_0x1f7265(0x386)];_0x474a8d[_0x1f7265(0x434)](_0x4cbf3f),this[_0x1f7265(0x222)]['next'](_0x474a8d);}[_0xce3cd0(0x336)](){const _0x526272=_0xce3cd0;var _0x372550;if(this[_0x526272(0x452)]=!0x0,((_0x372550=this[_0x526272(0x2a9)][_0x526272(0x438)]())==null?void 0x0:_0x372550[_0x526272(0x41d)]())!==this[_0x526272(0x445)])return;const _0x37966f=this['_injector'][_0x526272(0x3fa)](_0x400651['DocSelectionManagerService'])[_0x526272(0x340)]();Array['isArray'](_0x37966f)&&_0x37966f[_0x526272(0x37b)]>0x0&&this[_0x526272(0x252)](_0x37966f);}[_0xce3cd0(0x39e)](){const _0x3da4f8=_0xce3cd0;this[_0x3da4f8(0x452)]=!0x1;}};_0x26931f=_0x17d20c([_0x2aea2f(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f[_0xce3cd0(0x405)])),_0x2aea2f(0x3,_0x295c8f['Inject'](_0x12f6f6)),_0x2aea2f(0x4,_0x295c8f['Inject'](_0x2cb61c[_0xce3cd0(0x331)])),_0x2aea2f(0x5,_0x295c8f['Inject'](_0x109a2a)),_0x2aea2f(0x6,_0x143a87[_0xce3cd0(0x169)]),_0x2aea2f(0x7,_0x295c8f[_0xce3cd0(0x16f)]),_0x2aea2f(0x8,_0x295c8f[_0xce3cd0(0x2f7)])],_0x26931f);var _0x17682e=Object['getOwnPropertyDescriptor'],_0x40f581=(_0x6d8f40,_0xa7d637,_0x34ceed,_0x4c200c)=>{const _0x5c22c0=_0xce3cd0;for(var _0x3c7cbe=_0x4c200c>0x1?void 0x0:_0x4c200c?_0x17682e(_0xa7d637,_0x34ceed):_0xa7d637,_0x1a8a6b=_0x6d8f40[_0x5c22c0(0x37b)]-0x1,_0x18ee78;_0x1a8a6b>=0x0;_0x1a8a6b--)(_0x18ee78=_0x6d8f40[_0x1a8a6b])&&(_0x3c7cbe=_0x18ee78(_0x3c7cbe)||_0x3c7cbe);return _0x3c7cbe;},_0x5047af=(_0x379322,_0x1f9535)=>(_0x4647d8,_0x475866)=>_0x1f9535(_0x4647d8,_0x475866,_0x379322);const _0x33a122=0x12c,_0x734b93=0x64,_0x46878f=()=>{let _0x24b056=[],_0x33feea=!0x1;return _0x3cc91b=>{const _0x7e9f02=_0x2541;_0x24b056[_0x7e9f02(0x44a)](_0x3cc91b),_0x33feea||(_0x33feea=!0x0,setTimeout(()=>{const _0x515b56=_0x7e9f02;_0x24b056[_0x515b56(0x2e5)](_0x4932c2=>_0x4932c2()),_0x24b056=[],_0x33feea=!0x1;}));};};let _0x58f9eb=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x2c82b5,_0x6a652f,_0x49f4ff,_0x45c455,_0x271ca5,_0x3472fe,_0x4b8662,_0x2ff415){const _0x5c7c92=_0xce3cd0;super(),_0xef452e(this,_0x5c7c92(0x452),!0x1),_0xef452e(this,_0x5c7c92(0x30d),!0x1),_0xef452e(this,_0x5c7c92(0x222),new _0x58c226['BehaviorSubject'](new Map())),_0xef452e(this,_0x5c7c92(0x40e),this[_0x5c7c92(0x222)][_0x5c7c92(0x26d)]()),_0xef452e(this,_0x5c7c92(0x37f),new _0x58c226[(_0x5c7c92(0x43b))]([])),_0xef452e(this,_0x5c7c92(0x2ce),this[_0x5c7c92(0x37f)][_0x5c7c92(0x2de)](_0x58c226['debounceTime'](_0x33a122))),_0xef452e(this,_0x5c7c92(0x252),_0x295c8f[_0x5c7c92(0x247)]((_0x295c2f,_0xbdbb48)=>{const _0x33a7b9=_0x5c7c92,_0x30c2b5={'eventID':_0x143a87[_0x33a7b9(0x270)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x33a7b9(0x445)],'memberID':this[_0x33a7b9(0x3d1)][_0x33a7b9(0x192)](),'selection':_0x218d3f[_0x33a7b9(0x28e)](_0x295c2f,_0xbdbb48['range'])}};this[_0x33a7b9(0x3d1)][_0x33a7b9(0x33d)](_0x30c2b5,this[_0x33a7b9(0x445)]);},_0x734b93)),(this['unitID']=_0x2c82b5,this[_0x5c7c92(0x3d1)]=_0x6a652f,this[_0x5c7c92(0x1f6)]=_0x49f4ff,this[_0x5c7c92(0x3c8)]=_0x45c455,this[_0x5c7c92(0x2dd)]=_0x271ca5,this['_univerInstanceService']=_0x3472fe,this[_0x5c7c92(0x223)]=_0x4b8662,this['_refRangeService']=_0x2ff415);}get[_0xce3cd0(0x386)](){const _0x42525b=_0xce3cd0;return this[_0x42525b(0x222)][_0x42525b(0x2a1)]();}get['roomMembers'](){const _0x4cabff=_0xce3cd0;return this['_roomMembers$'][_0x4cabff(0x2a1)]();}[_0xce3cd0(0x2a7)](){const _0x17588c=_0xce3cd0;super[_0x17588c(0x2a7)](),this['_cursorInfo$'][_0x17588c(0x173)](new Map()),this[_0x17588c(0x222)][_0x17588c(0x3f8)](),this[_0x17588c(0x37f)][_0x17588c(0x173)]([]),this['_roomMembers$'][_0x17588c(0x3f8)]();}[_0xce3cd0(0x402)](){const _0x5f5c54=_0xce3cd0;this['_init']||(this[_0x5f5c54(0x30d)]=!0x0,this['_session'][_0x5f5c54(0x27e)][_0x5f5c54(0x2de)](_0x58c226['takeUntil'](this[_0x5f5c54(0x269)]))['subscribe'](_0x21564e=>{const _0x18fe22=_0x5f5c54;_0x21564e===_0x2cb61c[_0x18fe22(0x39f)][_0x18fe22(0x3e3)]?this[_0x18fe22(0x336)]():this[_0x18fe22(0x39e)]();}),this[_0x5f5c54(0x3d1)][_0x5f5c54(0x449)][_0x5f5c54(0x2de)](_0x58c226[_0x5f5c54(0x15a)](this['dispose$']))[_0x5f5c54(0x17f)](_0x56419f=>{const _0x3c1e30=_0x5f5c54,_0x563f6c=_0x56419f[_0x3c1e30(0x191)];_0x563f6c===_0x143a87['CollaborationEvent'][_0x3c1e30(0x211)]&&this[_0x3c1e30(0x2b3)](_0x56419f),_0x563f6c===_0x143a87['CollaborationEvent'][_0x3c1e30(0x227)]&&this['_onCursorDelete'](_0x56419f);}),this[_0x5f5c54(0x236)](),this[_0x5f5c54(0x43c)](this[_0x5f5c54(0x223)][_0x5f5c54(0x19c)](_0x89f39=>{const _0x1c318f=_0x5f5c54;if(this[_0x1c318f(0x452)]&&_0x89f39['id']===_0x11cdbd[_0x1c318f(0x198)]['id']&&_0x89f39[_0x1c318f(0x275)][_0x1c318f(0x34f)]===this[_0x1c318f(0x445)]){const _0xc3c75d=_0x89f39[_0x1c318f(0x275)];this[_0x1c318f(0x252)](_0xc3c75d[_0x1c318f(0x1cc)],_0xc3c75d[_0x1c318f(0x42c)][0x0]);}})));}[_0xce3cd0(0x2b3)](_0x5a419c){const _0x451e42=_0xce3cd0;var _0x435364,_0x37b1a8;const {memberID:_0x553906,selection:_0x66a661}=_0x5a419c[_0x451e42(0x31b)],{sheetName:_0x497c51,range:_0x157e4f}=_0x218d3f[_0x451e42(0x3dd)](_0x66a661),_0x233076={'name':(_0x37b1a8=(_0x435364=this[_0x451e42(0x2dd)][_0x451e42(0x338)](this[_0x451e42(0x445)],_0x553906))==null?void 0x0:_0x435364['name'])!=null?_0x37b1a8:_0x451e42(0x2f9),'range':this[_0x451e42(0x29a)](_0x497c51,_0x157e4f),'sheetID':_0x497c51,'color':this['_colorAssignService'][_0x451e42(0x2c8)](_0x553906),'selection':_0x66a661},_0x1fee27=this[_0x451e42(0x386)];_0x1fee27[_0x451e42(0x427)](_0x553906,_0x233076),this[_0x451e42(0x222)]['next'](_0x1fee27);}[_0xce3cd0(0x41c)](_0x450873){const _0x35468d=_0xce3cd0,{memberID:_0x8d9b2e}=_0x450873[_0x35468d(0x31b)],_0x40d7db=this[_0x35468d(0x386)];_0x40d7db[_0x35468d(0x434)](_0x8d9b2e),this[_0x35468d(0x222)]['next'](_0x40d7db);}[_0xce3cd0(0x29a)](_0x190af2,_0x1bd7a4){const _0x56f3da=_0xce3cd0;var _0x596afc,_0x2dd375;const _0x2aac4a=(_0x2dd375=(_0x596afc=this[_0x56f3da(0x2a9)][_0x56f3da(0x200)](this[_0x56f3da(0x445)]))==null?void 0x0:_0x596afc[_0x56f3da(0x411)](_0x190af2))==null?void 0x0:_0x2dd375[_0x56f3da(0x16e)]();return(_0x2aac4a==null?void 0x0:_0x2aac4a[_0x56f3da(0x37a)](_0x290a26=>_0x295c8f['Rectangle'][_0x56f3da(0x194)](_0x290a26,_0x1bd7a4)))||_0x1bd7a4;}[_0xce3cd0(0x236)](){const _0x217e82=_0xce3cd0,_0x2e654b=new _0x295c8f[(_0x217e82(0x15d))](),_0x228761=_0x46878f(),_0x295167=()=>{const _0x4993c5=_0x217e82;_0x2e654b[_0x4993c5(0x2a7)]();const _0x3149c1=(_0x1e33db,_0x326240,_0x1fb120,_0x37c7e4)=>{const _0x4c980=_0x4993c5;let _0x4630a4=[];switch(_0x1e33db['id']){case _0x11cdbd['EffectRefRangId'][_0x4c980(0x45b)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x44c)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd[_0x4c980(0x3d0)][_0x4c980(0x21d)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x36e)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd[_0x4c980(0x3d0)][_0x4c980(0x2c6)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x170)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd[_0x4c980(0x3d0)][_0x4c980(0x3ac)]:{_0x4630a4=_0x11cdbd['handleInsertRangeMoveDown'](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd['EffectRefRangId'][_0x4c980(0x262)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x250)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd['EffectRefRangId'][_0x4c980(0x1ea)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x22f)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd['EffectRefRangId'][_0x4c980(0x366)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x1c3)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd[_0x4c980(0x3d0)][_0x4c980(0x3e9)]:{_0x4630a4=_0x11cdbd[_0x4c980(0x325)](_0x1e33db,_0x37c7e4);break;}case _0x11cdbd[_0x4c980(0x3d0)]['RemoveRowCommandId']:{_0x4630a4=_0x11cdbd['handleIRemoveRow'](_0x1e33db,_0x37c7e4);break;}}const _0x594535=_0x11cdbd[_0x4c980(0x365)](_0x4630a4,_0x37c7e4),_0x14b879=this['cursorInfo']['get'](_0x326240);if(_0x14b879&&_0x594535){const _0x4ff172={..._0x14b879,'range':_0x594535};this[_0x4c980(0x386)]['set'](_0x326240,_0x4ff172),_0x228761(()=>{const _0x34977b=_0x4c980,_0x3ade97=this['_refRangeService'][_0x34977b(0x333)](_0x594535,_0x28a63c=>(_0x3ade97[_0x34977b(0x2a7)](),_0x3149c1(_0x28a63c,_0x326240,_0x1fb120,_0x594535)));_0x2e654b[_0x34977b(0x3f9)](_0x3ade97);});}return{'redos':[],'undos':[]};};this[_0x4993c5(0x386)][_0x4993c5(0x2e5)]((_0x17ea93,_0x1083fb)=>{const _0x234952=_0x4993c5,{range:_0x56e4a9,sheetID:_0x26ae98}=_0x17ea93,_0x573a02=this['_refRangeService']['registerRefRange'](_0x56e4a9,_0xac5e1b=>(_0x573a02[_0x234952(0x2a7)](),_0x3149c1(_0xac5e1b,_0x1083fb,_0x26ae98,_0x56e4a9)));_0x2e654b['add'](_0x573a02);});};this['disposeWithMe'](_0x295c8f[_0x217e82(0x239)](this[_0x217e82(0x222)][_0x217e82(0x17f)](()=>{_0x295167();})));}[_0xce3cd0(0x336)](){const _0x3f39a8=_0xce3cd0;var _0x4573d1,_0x2b47f2;if(this[_0x3f39a8(0x452)]=!0x0,((_0x4573d1=this[_0x3f39a8(0x2a9)][_0x3f39a8(0x438)]())==null?void 0x0:_0x4573d1[_0x3f39a8(0x41d)]())!==this[_0x3f39a8(0x445)])return;const _0x1d90d3=(_0x2b47f2=this[_0x3f39a8(0x1f6)][_0x3f39a8(0x3fa)](_0x11cdbd[_0x3f39a8(0x2a3)])[_0x3f39a8(0x3c5)]())==null?void 0x0:_0x2b47f2[0x0],_0x3dbe0e=this[_0x3f39a8(0x2a9)]['getCurrentUnitForType'](_0x295c8f[_0x3f39a8(0x1f4)][_0x3f39a8(0x441)])[_0x3f39a8(0x1d4)]();_0x1d90d3&&_0x3dbe0e&&this['_updateLocalCursor'](_0x3dbe0e[_0x3f39a8(0x190)](),_0x1d90d3);}[_0xce3cd0(0x39e)](){const _0x1064ad=_0xce3cd0;this[_0x1064ad(0x452)]=!0x1;}};_0x58f9eb=_0x40f581([_0x5047af(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f['Injector'])),_0x5047af(0x3,_0x295c8f[_0xce3cd0(0x2fb)](_0x12f6f6)),_0x5047af(0x4,_0x295c8f[_0xce3cd0(0x2fb)](_0x2cb61c[_0xce3cd0(0x331)])),_0x5047af(0x5,_0x295c8f['IUniverInstanceService']),_0x5047af(0x6,_0x295c8f[_0xce3cd0(0x2f7)]),_0x5047af(0x7,_0x295c8f[_0xce3cd0(0x2fb)](_0x11cdbd[_0xce3cd0(0x1bc)]))],_0x58f9eb);var _0x5bc8cd=Object[_0xce3cd0(0x3e7)],_0x7c9f56=(_0xd44b82,_0x193b53,_0x942e3c,_0x429a3f)=>{const _0x1dfbd7=_0xce3cd0;for(var _0x1293c5=_0x429a3f>0x1?void 0x0:_0x429a3f?_0x5bc8cd(_0x193b53,_0x942e3c):_0x193b53,_0x156725=_0xd44b82[_0x1dfbd7(0x37b)]-0x1,_0xae86ad;_0x156725>=0x0;_0x156725--)(_0xae86ad=_0xd44b82[_0x156725])&&(_0x1293c5=_0xae86ad(_0x1293c5)||_0x1293c5);return _0x1293c5;},_0x46612d=(_0x45fd7f,_0x103ce9)=>(_0x30baf1,_0x1d52d0)=>_0x103ce9(_0x30baf1,_0x1d52d0,_0x45fd7f);let _0x150b36=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x10353b,_0x43f11a,_0x47083c){const _0xe8e7f4=_0xce3cd0;super(),_0xef452e(this,_0xe8e7f4(0x1dd),new Map()),_0xef452e(this,_0xe8e7f4(0x283),new _0x58c226[(_0xe8e7f4(0x30e))]()),(this[_0xe8e7f4(0x2a9)]=_0x10353b,this[_0xe8e7f4(0x1f6)]=_0x43f11a,this[_0xe8e7f4(0x17a)]=_0x47083c,this[_0xe8e7f4(0x30d)]());}[_0xce3cd0(0x2a7)](){const _0x40697a=_0xce3cd0;super[_0x40697a(0x2a7)](),this['_entityInit$']['complete'](),this[_0x40697a(0x1dd)][_0x40697a(0x2e5)](_0x48f977=>_0x48f977['dispose']());}[_0xce3cd0(0x28a)](_0x1cd312){const _0x50f225=_0xce3cd0;return this[_0x50f225(0x1dd)][_0x50f225(0x2d5)](_0x1cd312)?this['_entities'][_0x50f225(0x3fa)](_0x1cd312)[_0x50f225(0x40e)]:this[_0x50f225(0x283)][_0x50f225(0x2de)](_0x58c226['filter'](_0x46a17e=>_0x46a17e['unitID']===_0x1cd312),_0x58c226['switchMap'](_0x32dcc1=>_0x32dcc1[_0x50f225(0x40e)]));}[_0xce3cd0(0x30d)](){const _0xcfb988=_0xce3cd0;this['_univerInstanceService'][_0xcfb988(0x18d)](_0x295c8f[_0xcfb988(0x1f4)]['UNIVER_SHEET'])['pipe'](_0x58c226[_0xcfb988(0x15a)](this[_0xcfb988(0x269)]))[_0xcfb988(0x17f)](async _0x33769b=>{const _0x515370=_0xcfb988,_0x2cdc21=_0x33769b[_0x515370(0x41d)](),_0x4394eb=await this[_0x515370(0x32a)](_0x2cdc21);this[_0x515370(0x283)][_0x515370(0x173)](_0x4394eb),this[_0x515370(0x1dd)]['set'](_0x2cdc21,_0x4394eb);}),this[_0xcfb988(0x2a9)]['getTypeOfUnitAdded$'](_0x295c8f[_0xcfb988(0x1f4)][_0xcfb988(0x308)])[_0xcfb988(0x2de)](_0x58c226[_0xcfb988(0x15a)](this['dispose$']))[_0xcfb988(0x2de)](_0x58c226[_0xcfb988(0x1cd)](_0x1d6322=>!_0x1d6322[_0xcfb988(0x41d)]()[_0xcfb988(0x2a6)]('__')))[_0xcfb988(0x17f)](async _0x2d8413=>{const _0x3b3dae=_0xcfb988,_0x11c07b=_0x2d8413[_0x3b3dae(0x41d)](),_0x39efda=await this[_0x3b3dae(0x2a8)](_0x11c07b);this[_0x3b3dae(0x283)][_0x3b3dae(0x173)](_0x39efda),this[_0x3b3dae(0x1dd)]['set'](_0x11c07b,_0x39efda);}),_0x58c226[_0xcfb988(0x432)](this[_0xcfb988(0x2a9)][_0xcfb988(0x381)](_0x295c8f[_0xcfb988(0x1f4)][_0xcfb988(0x308)]),this['_univerInstanceService'][_0xcfb988(0x381)](_0x295c8f['UniverInstanceType'][_0xcfb988(0x441)]))['pipe'](_0x58c226[_0xcfb988(0x15a)](this['dispose$']))[_0xcfb988(0x17f)](_0x17b99a=>{const _0x22780f=_0xcfb988,_0x4da580=_0x17b99a[_0x22780f(0x41d)](),_0x327fd1=this[_0x22780f(0x1dd)][_0x22780f(0x3fa)](_0x4da580);_0x327fd1&&(_0x327fd1[_0x22780f(0x2a7)](),this[_0x22780f(0x1dd)]['delete'](_0x4da580));});}async[_0xce3cd0(0x32a)](_0x488c43){const _0x41b422=_0xce3cd0,_0x12c415=await this['_collabSessionService'][_0x41b422(0x302)](_0x488c43),_0x12d132=this[_0x41b422(0x1f6)][_0x41b422(0x408)](_0x58f9eb,_0x488c43,_0x12c415);return _0x12d132[_0x41b422(0x402)](),_0x12d132;}async['_startDocCollabCursor'](_0x22328f){const _0x3d6ebe=_0xce3cd0,_0xea72e7=await this[_0x3d6ebe(0x17a)][_0x3d6ebe(0x302)](_0x22328f),_0x506556=this[_0x3d6ebe(0x1f6)][_0x3d6ebe(0x408)](_0x26931f,_0x22328f,_0xea72e7);return _0x506556['init'](),_0x506556;}};_0x150b36=_0x7c9f56([_0x46612d(0x0,_0x295c8f[_0xce3cd0(0x16f)]),_0x46612d(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f['Injector'])),_0x46612d(0x2,_0x295c8f['Inject'](_0x2cb61c[_0xce3cd0(0x1c6)]))],_0x150b36);const _0x490e44=0x14,_0x25b1d6=0xc8,_0x150591=0x4,_0x5dba56=0x5;function _0x1b2ab7(_0x244c95,_0x3ff72b){const _0x4fbf7e=_0xce3cd0;let {radius:_0x3b9e50,width:_0x48e155,height:_0x295e22}=_0x3ff72b;_0x3b9e50=_0x3b9e50!=null?_0x3b9e50:0x0,_0x48e155=_0x48e155!=null?_0x48e155:0x1e,_0x295e22=_0x295e22!=null?_0x295e22:0x1e;let _0x3d7294=0x0,_0xfdbfa7=0x0,_0x1f1ad0=0x0;_0x3d7294=_0xfdbfa7=_0x1f1ad0=Math[_0x4fbf7e(0x199)](_0x3b9e50,_0x48e155/0x2,_0x295e22/0x2),_0x244c95[_0x4fbf7e(0x410)](),_0x244c95[_0x4fbf7e(0x3bf)](_0x3d7294,0x0),_0x244c95[_0x4fbf7e(0x20e)](_0x48e155-_0xfdbfa7,0x0),_0x244c95[_0x4fbf7e(0x20c)](_0x48e155-_0xfdbfa7,_0xfdbfa7,_0xfdbfa7,Math['PI']*0x3/0x2,0x0,!0x1),_0x244c95[_0x4fbf7e(0x20e)](_0x48e155,_0x295e22-_0x1f1ad0),_0x244c95[_0x4fbf7e(0x20c)](_0x48e155-_0x1f1ad0,_0x295e22-_0x1f1ad0,_0x1f1ad0,0x0,Math['PI']/0x2,!0x1),_0x244c95[_0x4fbf7e(0x20e)](0x0,_0x295e22),_0x244c95[_0x4fbf7e(0x20e)](0x0,_0x3d7294),_0x244c95['arc'](_0x3d7294,_0x3d7294,_0x3d7294,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x244c95[_0x4fbf7e(0x2e8)](),_0x3ff72b[_0x4fbf7e(0x185)]&&(_0x244c95[_0x4fbf7e(0x34c)](),_0x244c95[_0x4fbf7e(0x339)]=_0x3ff72b[_0x4fbf7e(0x185)],_0x3ff72b[_0x4fbf7e(0x1fb)]===_0x4fbf7e(0x3b6)?_0x244c95[_0x4fbf7e(0x185)](_0x4fbf7e(0x3b6)):_0x244c95[_0x4fbf7e(0x185)](),_0x244c95[_0x4fbf7e(0x31c)]());}class _0x2dd573 extends _0x8db91b['Shape']{constructor(_0x1c68fa,_0x2bf2a6){const _0x97656a=_0xce3cd0;super(_0x1c68fa,_0x2bf2a6),_0xef452e(this,_0x97656a(0x374)),_0xef452e(this,_0x97656a(0x265)),(this[_0x97656a(0x374)]=_0x2bf2a6==null?void 0x0:_0x2bf2a6[_0x97656a(0x374)],this[_0x97656a(0x265)]=_0x2bf2a6==null?void 0x0:_0x2bf2a6['text']);}static[_0xce3cd0(0x29d)](_0x2841b6,_0xb9e197){const _0x3e07cf=_0xce3cd0,{text:_0x33c895,color:_0x396e98}=_0xb9e197;_0x2841b6[_0x3e07cf(0x34c)](),_0x2841b6[_0x3e07cf(0x1bf)]=_0x3e07cf(0x3ce);const _0x4b5c09=_0x2841b6[_0x3e07cf(0x3ba)](_0x33c895)['width'],_0x1b21e0=Math[_0x3e07cf(0x199)](_0x4b5c09+0x2*_0x150591,_0x25b1d6);_0x1b2ab7(_0x2841b6,{'height':_0x490e44,'radius':0x4,'width':_0x1b21e0,'fill':_0x396e98}),_0x2841b6[_0x3e07cf(0x339)]=_0x3e07cf(0x2cd);const _0x235960=_0x150591,_0x33e57b=_0x490e44-_0x5dba56,_0x554d1e=_0x25b1d6-0x2*_0x150591;if(_0x4b5c09>_0x554d1e){let _0x4b09f4='',_0x38d242=0x0;for(const _0xd90b25 of _0x33c895){const _0x29f9f8=_0x2841b6[_0x3e07cf(0x3ba)](_0xd90b25)[_0x3e07cf(0x38d)];if(_0x38d242+_0x29f9f8<=_0x554d1e-_0x2841b6['measureText'](_0x3e07cf(0x2d7))['width'])_0x4b09f4+=_0xd90b25,_0x38d242+=_0x29f9f8;else{_0x4b09f4+=_0x3e07cf(0x2d7);break;}}_0x2841b6['fillText'](_0x4b09f4,_0x235960,_0x33e57b);}else _0x2841b6[_0x3e07cf(0x450)](_0x33c895,_0x235960,_0x33e57b);_0x2841b6['restore']();}[_0xce3cd0(0x28c)](_0x51a6ae){_0x2dd573['drawWith'](_0x51a6ae,this);}}const _0x6c73a0=_0xce3cd0(0x36f),_0x5d38c5=_0xce3cd0(0x2bd),_0x37de86=_0xce3cd0(0x1ae),_0xe7008e=0x6,_0x293e22=1.5,_0x2fac45=0x4,_0x4b7a68=1.5,_0x3bd6ea=_0xce3cd0(0x3eb);class _0x2211fb{constructor(_0x300ef8,_0x177cbd,_0xacbd90,_0x57c31a){const _0x4af898=_0xce3cd0;_0xef452e(this,_0x4af898(0x3aa),[]),_0xef452e(this,_0x4af898(0x311),null),_0xef452e(this,_0x4af898(0x3cc),null),_0xef452e(this,_0x4af898(0x3e4),null),_0xef452e(this,'_hideTimer',null),_0xef452e(this,_0x4af898(0x433),null),(this[_0x4af898(0x319)]=_0x300ef8,this[_0x4af898(0x315)]=_0x177cbd,this[_0x4af898(0x1fc)]=_0xacbd90,this[_0x4af898(0x423)]=_0x57c31a,this[_0x4af898(0x2ae)]());}set[_0xce3cd0(0x2e6)](_0x1417fc){const _0x12956d=_0xce3cd0;_0x1417fc?(this[_0x12956d(0x3e4)]&&this[_0x12956d(0x3e4)][_0x12956d(0x1a2)](),this[_0x12956d(0x3cc)]&&this[_0x12956d(0x3cc)][_0x12956d(0x1b8)]()):(this['_anchorDot']&&this[_0x12956d(0x3e4)][_0x12956d(0x1b8)](),this[_0x12956d(0x3cc)]&&this['_textBubble'][_0x12956d(0x1a2)]());}['dispose'](){const _0xd9a3cd=_0xce3cd0;for(const _0x4c9a08 of this['_shapes'])_0x4c9a08[_0xd9a3cd(0x2a7)]();this[_0xd9a3cd(0x3cc)]&&this['_textBubble'][_0xd9a3cd(0x2a7)](),this['_anchorDot']&&this[_0xd9a3cd(0x3e4)][_0xd9a3cd(0x2a7)](),this[_0xd9a3cd(0x311)]&&this[_0xd9a3cd(0x311)][_0xd9a3cd(0x2a7)](),this['_eventUnsubscribe']&&this[_0xd9a3cd(0x433)]();}[_0xce3cd0(0x2ae)](){const _0x485f62=_0xce3cd0;var _0x45f003;const {_docSkeleton:_0x58ee39,_document:_0xb134cf}=this,{color:_0x5d3cde,name:_0x53af7c,ranges:_0x28d16a}=this['_cursor'],_0x1d52a8=_0xb134cf[_0x485f62(0x1ba)](),{docsLeft:_0x3e05ea,docsTop:_0x25c36c}=_0x1d52a8,_0x5882fc=new _0x442538[(_0x485f62(0x1da))](_0x1d52a8,_0x58ee39);for(const {startOffset:_0x22188c,endOffset:_0x127fe3,rangeType:_0x28847f,segmentId:_0x195d93,segmentPage:_0x4ee0c1,collapsed:_0x70d9f8,isActive:_0x365e93}of _0x28d16a){const _0x67323=_0x58ee39[_0x485f62(0x267)](_0x22188c,!0x0,_0x195d93,_0x4ee0c1);let _0x1c9849=_0x58ee39[_0x485f62(0x267)](_0x127fe3,!0x0,_0x195d93,_0x4ee0c1);if(_0x1c9849==null&&(_0x1c9849=_0x58ee39[_0x485f62(0x267)](_0x127fe3-0x1,!0x1,_0x195d93,_0x4ee0c1)),_0x365e93){const {contentBoxPointGroup:_0x32ac23}=_0x5882fc[_0x485f62(0x3bd)](_0x1c9849,_0x1c9849);if(_0x32ac23[_0x485f62(0x37b)]===0x0)continue;this[_0x485f62(0x156)](_0x5d3cde,_0x32ac23,_0x3e05ea,_0x25c36c,_0x53af7c),this[_0x485f62(0x433)]=this['_handleHover']();}if(_0x67323&&_0x1c9849){if(_0x28847f===_0x295c8f[_0x485f62(0x3b3)][_0x485f62(0x1f7)]){const _0x298ff0=new _0x442538[(_0x485f62(0x2e7))](_0x1d52a8,_0x58ee39),{pointGroup:_0xedadbc}=(_0x45f003=_0x298ff0[_0x485f62(0x3bd)](_0x67323,_0x1c9849))!=null?_0x45f003:{};if(_0xedadbc==null||_0xedadbc[_0x485f62(0x37b)]===0x0)continue;this['_drawRectRange'](_0x5d3cde,_0xedadbc,_0x3e05ea,_0x25c36c);}else{if(!_0x70d9f8){const {borderBoxPointGroup:_0x217065}=_0x5882fc[_0x485f62(0x3bd)](_0x67323,_0x1c9849);if(_0x217065[_0x485f62(0x37b)]===0x0)continue;this[_0x485f62(0x3c7)](_0x5d3cde,_0x217065,_0x3e05ea,_0x25c36c);}}}}}[_0xce3cd0(0x156)](_0x56137a,_0x766f19,_0x270203,_0x5dbe96,_0x56f925){const _0x7f629e=_0xce3cd0,_0x23ab50=this[_0x7f629e(0x306)](_0x766f19),{left:_0x103df4,top:_0x4f1edc,height:_0xf61bb9}=_0x23ab50,_0x2c2ae5=this[_0x7f629e(0x15c)](),_0x3aa39c=_0x4b7a68/_0x2c2ae5,_0x36215d=new _0x8db91b[(_0x7f629e(0x248))](_0x6c73a0+_0x295c8f[_0x7f629e(0x17e)](_0xe7008e),{'left':_0x103df4+_0x270203-_0x3aa39c,'top':_0x4f1edc+_0x5dbe96,'height':_0xf61bb9,'width':_0x293e22,'fill':_0x56137a||_0x8db91b[_0x7f629e(0x245)](_0x295c8f[_0x7f629e(0x260)]['black'],0x0),'strokeWidth':_0x3aa39c,'stroke':_0x3bd6ea,'evented':!0x0});this[_0x7f629e(0x311)]=_0x36215d,this[_0x7f629e(0x315)][_0x7f629e(0x2cc)](_0x36215d,_0x442538[_0x7f629e(0x42a)]);const _0x2814be=new _0x8db91b[(_0x7f629e(0x248))](_0x6c73a0+_0x295c8f[_0x7f629e(0x17e)](_0xe7008e),{'left':_0x103df4+_0x270203-_0x3aa39c,'top':_0x4f1edc+_0x5dbe96-_0x2fac45/0x2,'height':_0x2fac45,'width':_0x2fac45,'fill':_0x56137a||_0x8db91b[_0x7f629e(0x245)](_0x295c8f[_0x7f629e(0x260)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x56137a||_0x8db91b['getColor'](_0x295c8f[_0x7f629e(0x260)]['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x2814be,this[_0x7f629e(0x315)][_0x7f629e(0x2cc)](_0x2814be,_0x442538['TEXT_RANGE_LAYER_INDEX']);const _0x2143bf=new _0x2dd573(_0x6c73a0+_0x295c8f['generateRandomId'](_0xe7008e),{'left':_0x103df4+_0x270203-_0x3aa39c,'top':_0x4f1edc+_0x5dbe96-_0x490e44,'text':_0x56f925,'color':_0x56137a});this[_0x7f629e(0x3cc)]=_0x2143bf,this['_scene'][_0x7f629e(0x2cc)](_0x2143bf,_0x442538[_0x7f629e(0x42a)]),this[_0x7f629e(0x2e6)]=!0x1;}[_0xce3cd0(0x27a)](){const _0x1cb507=_0xce3cd0,_0x65c968=this[_0x1cb507(0x311)]['onPointerEnter$'][_0x1cb507(0x3fe)](()=>{const _0x51f5f0=_0x1cb507;this[_0x51f5f0(0x2e6)]=!0x0;}),_0xfb059f=this[_0x1cb507(0x311)][_0x1cb507(0x407)][_0x1cb507(0x3fe)](()=>{const _0x3b07f1=_0x1cb507;this[_0x3b07f1(0x15b)]&&clearTimeout(this[_0x3b07f1(0x15b)]),this[_0x3b07f1(0x15b)]=setTimeout(()=>{const _0x337e5a=_0x3b07f1;this[_0x337e5a(0x2e6)]=!0x1;},0x7d0);});return()=>{const _0x37eb9d=_0x1cb507;_0x65c968[_0x37eb9d(0x3a9)](),_0xfb059f[_0x37eb9d(0x3a9)]();};}[_0xce3cd0(0x3c7)](_0x157ccf,_0xbeafae,_0x21f046,_0x2ca3a6){const _0x24de1f=_0xce3cd0,_0xa67d1c=new _0x295c8f[(_0x24de1f(0x249))](_0x157ccf)[_0x24de1f(0x1e3)](0.2)['toRgbString'](),_0x1eaf1=new _0x8db91b[(_0x24de1f(0x35b))](_0x5d38c5+_0x295c8f['generateRandomId'](_0xe7008e),{'pointsGroup':_0xbeafae,'fill':_0xa67d1c||_0x8db91b[_0x24de1f(0x245)](_0x295c8f[_0x24de1f(0x260)][_0x24de1f(0x431)],0.2),'left':_0x21f046,'top':_0x2ca3a6,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x24de1f(0x3aa)][_0x24de1f(0x44a)](_0x1eaf1),this[_0x24de1f(0x315)][_0x24de1f(0x2cc)](_0x1eaf1,_0x442538['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x2f921a,_0x3d3a3a,_0x31ab52,_0x2ca5cc){const _0x1869b9=_0xce3cd0,_0x1424fc=new _0x295c8f[(_0x1869b9(0x249))](_0x2f921a)[_0x1869b9(0x1e3)](0.2)[_0x1869b9(0x3ed)](),_0x527570=new _0x8db91b[(_0x1869b9(0x35b))](_0x37de86+_0x295c8f['generateRandomId'](_0xe7008e),{'pointsGroup':_0x3d3a3a,'fill':_0x1424fc||_0x8db91b['getColor'](_0x295c8f[_0x1869b9(0x260)][_0x1869b9(0x431)],0.2),'left':_0x31ab52,'top':_0x2ca5cc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1869b9(0x3aa)][_0x1869b9(0x44a)](_0x527570),this[_0x1869b9(0x315)][_0x1869b9(0x2cc)](_0x527570,_0x442538[_0x1869b9(0x42a)]);}['_getAnchorBounding'](_0x524321){const _0x233ae1=_0x524321[0x0],_0x58df60=_0x233ae1[0x0],_0x1a79a7=_0x233ae1[0x2],{x:_0x4cb847,y:_0x17927b}=_0x58df60,{x:_0x2b0192,y:_0x2413e6}=_0x1a79a7;return{'left':_0x4cb847,'top':_0x17927b,'width':_0x2b0192-_0x4cb847,'height':_0x2413e6-_0x17927b};}['_getScale'](){const _0x486e0f=_0xce3cd0,{scaleX:_0x548e42,scaleY:_0x3f316f}=this[_0x486e0f(0x315)][_0x486e0f(0x1a6)]();return Math['max'](_0x548e42,_0x3f316f);}}var _0x5d2f4d=Object[_0xce3cd0(0x3e7)],_0x388174=(_0x1bb3da,_0x55bca0,_0x107e3d,_0x26d9c4)=>{const _0x2d7aad=_0xce3cd0;for(var _0x5b4cbf=_0x26d9c4>0x1?void 0x0:_0x26d9c4?_0x5d2f4d(_0x55bca0,_0x107e3d):_0x55bca0,_0x289f1b=_0x1bb3da[_0x2d7aad(0x37b)]-0x1,_0x313db3;_0x289f1b>=0x0;_0x289f1b--)(_0x313db3=_0x1bb3da[_0x289f1b])&&(_0x5b4cbf=_0x313db3(_0x5b4cbf)||_0x5b4cbf);return _0x5b4cbf;},_0x551f39=(_0x7af354,_0x34fece)=>(_0x5589ff,_0x39c91a)=>_0x34fece(_0x5589ff,_0x39c91a,_0x7af354);let _0x53604e=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x250a98,_0x4ae5ba,_0x1ec54e,_0x2e52fb,_0x4a6fa8){const _0x4273cd=_0xce3cd0;super(),_0xef452e(this,_0x4273cd(0x2db),[]),_0xef452e(this,_0x4273cd(0x21c),[]),(this[_0x4273cd(0x286)]=_0x250a98,this[_0x4273cd(0x166)]=_0x4ae5ba,this[_0x4273cd(0x41e)]=_0x1ec54e,this[_0x4273cd(0x223)]=_0x2e52fb,this[_0x4273cd(0x28d)]=_0x4a6fa8,this[_0x4273cd(0x30d)]());}[_0xce3cd0(0x30d)](){const _0x162295=_0xce3cd0,_0x3df23a=this[_0x162295(0x286)][_0x162295(0x34f)],_0x2096dc=this[_0x162295(0x166)];this['disposeWithMe'](_0x58c226[_0x162295(0x389)]([this[_0x162295(0x41e)]['getCollabCursors$'](_0x3df23a),this[_0x162295(0x28d)]['currentTheme$']])[_0x162295(0x2de)](_0x2157b5[_0x162295(0x16b)](([_0x2d1dbe,_0x391809])=>({'skeleton':_0x2096dc['getSkeleton'](),'cursors':[..._0x2d1dbe[_0x162295(0x3fd)]()][_0x162295(0x226)](_0x301d69=>({..._0x301d69,'color':this[_0x162295(0x28d)][_0x162295(0x254)](_0x301d69[_0x162295(0x374)])}))})))['subscribe'](_0x4dd2e3=>{const _0x2bec5c=_0x162295;if(this['_removeCollabCursors'](),_0x4dd2e3){const {skeleton:_0x1cba0e,cursors:_0x1f10ee}=_0x4dd2e3;this[_0x2bec5c(0x38a)](_0x1cba0e,_0x1f10ee);}})),this['_initResize'](),this[_0x162295(0x3be)]();}[_0xce3cd0(0x38a)](_0x2731ec,_0x172ccb){const _0x580b5f=_0xce3cd0,{scene:_0x3a8fa6,mainComponent:_0x25fb1a}=this[_0x580b5f(0x286)],_0x5080ff=_0x172ccb[_0x580b5f(0x16b)](_0x6a7229=>new _0x2211fb(_0x6a7229,_0x3a8fa6,_0x2731ec,_0x25fb1a));this['_cursorShapes']=_0x5080ff,this['_cursors']=_0x172ccb;}[_0xce3cd0(0x444)](){const _0x4a015e=_0xce3cd0;this['_removeCollabCursors']();const {scene:_0x42fb9b,mainComponent:_0x55dede}=this[_0x4a015e(0x286)],_0x55c702=this[_0x4a015e(0x166)]['getSkeleton'](),_0x459a00=this[_0x4a015e(0x21c)][_0x4a015e(0x16b)](_0x530069=>new _0x2211fb(_0x530069,_0x42fb9b,_0x55c702,_0x55dede));this[_0x4a015e(0x2db)]=_0x459a00;}[_0xce3cd0(0x30f)](){const _0x1e2786=_0xce3cd0;this[_0x1e2786(0x2db)][_0x1e2786(0x2e5)](_0x4dd3bd=>_0x4dd3bd['dispose']()),this[_0x1e2786(0x2db)]=[];}[_0xce3cd0(0x3be)](){const _0x9d0b32=_0xce3cd0,_0x9b1576=[_0x442538['SetDocZoomRatioOperation']['id']];this[_0x9d0b32(0x43c)](this['_commandService'][_0x9d0b32(0x19c)](_0x49d4a1=>{const _0x5538b5=_0x9d0b32;_0x9b1576['includes'](_0x49d4a1['id'])&&_0x49d4a1[_0x5538b5(0x275)][_0x5538b5(0x34f)]===this[_0x5538b5(0x286)][_0x5538b5(0x34f)]&&this['_refreshCollabCursors']();}));}[_0xce3cd0(0x412)](){const _0x35ab36=_0xce3cd0;this['disposeWithMe'](_0x295c8f[_0x35ab36(0x1d9)](this[_0x35ab36(0x286)]['engine'][_0x35ab36(0x288)])[_0x35ab36(0x2de)](_0x2157b5[_0x35ab36(0x1cd)](_0x995510=>_0x995510[_0x35ab36(0x273)]===_0x8db91b[_0x35ab36(0x2c0)][_0x35ab36(0x272)]),_0x2157b5[_0x35ab36(0x204)](0x10))[_0x35ab36(0x17f)](()=>{const _0x396d35=_0x35ab36;this[_0x396d35(0x444)]();}));}};_0x53604e=_0x388174([_0x551f39(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x400651[_0xce3cd0(0x1fa)])),_0x551f39(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x150b36)),_0x551f39(0x3,_0x295c8f[_0xce3cd0(0x2f7)]),_0x551f39(0x4,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f[_0xce3cd0(0x3d7)]))],_0x53604e);const _0x38ee4b=0x1,_0x3f2c49=1.5;class _0x3ee6ec extends _0x8db91b[_0xce3cd0(0x3b1)]{constructor(_0x3198f5,_0x1d3343){const _0x3bef64=_0xce3cd0;super(_0x3198f5,_0x1d3343),_0xef452e(this,_0x3bef64(0x205)),_0xef452e(this,_0x3bef64(0x2ed),!0x1),_0xef452e(this,_0x3bef64(0x3c3)),_0xef452e(this,_0x3bef64(0x206),''),_0xef452e(this,'_labelPosition',_0x3bef64(0x426)),_0xef452e(this,_0x3bef64(0x2c7)),(_0x1d3343&&this['setShapeProps'](_0x1d3343),this[_0x3bef64(0x45a)][_0x3bef64(0x3fe)](()=>this[_0x3bef64(0x281)]({'hovered':!0x0})),this[_0x3bef64(0x407)][_0x3bef64(0x3fe)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0xce3cd0(0x281)](_0x455bda){const _0x37b43f=_0xce3cd0;var _0x436fc1,_0xcc7095,_0x17e2f3,_0x4e673f,_0x58d159,_0x1214f6;this[_0x37b43f(0x205)]=(_0x436fc1=_0x455bda[_0x37b43f(0x374)])!=null?_0x436fc1:this[_0x37b43f(0x205)],this[_0x37b43f(0x2ed)]=(_0xcc7095=_0x455bda[_0x37b43f(0x3da)])!=null?_0xcc7095:this[_0x37b43f(0x2ed)],this['_range']=(_0x17e2f3=_0x455bda[_0x37b43f(0x2c5)])!=null?_0x17e2f3:this[_0x37b43f(0x3c3)],this[_0x37b43f(0x206)]=(_0x4e673f=_0x455bda[_0x37b43f(0x376)])!=null?_0x4e673f:this[_0x37b43f(0x206)],this['_labelPosition']=(_0x58d159=_0x455bda[_0x37b43f(0x43e)])!=null?_0x58d159:this[_0x37b43f(0x2b8)],this[_0x37b43f(0x2c7)]=(_0x1214f6=_0x455bda[_0x37b43f(0x168)])!=null?_0x1214f6:this['_backgroundColor'],this[_0x37b43f(0x3f7)]({'width':_0x455bda['width'],'height':_0x455bda['height']});}[_0xce3cd0(0x422)](_0x339fe2){const _0x45b391=_0xce3cd0,{row:_0x6c7a2b,column:_0x24c286}=_0x339fe2;if(_0x6c7a2b>=this[_0x45b391(0x3c3)][_0x45b391(0x1ad)]&&_0x6c7a2b<=this[_0x45b391(0x3c3)][_0x45b391(0x361)]&&_0x24c286>=this['_range'][_0x45b391(0x3dc)]&&_0x24c286<=this['_range'][_0x45b391(0x37d)]){this[_0x45b391(0x281)]({'hovered':!0x0});return;}this[_0x45b391(0x281)]({'hovered':!0x1});}[_0xce3cd0(0x34b)](_0x5da6e4){return!0x1;}[_0xce3cd0(0x28c)](_0x9bb715){const _0x58410a=_0xce3cd0;_0x8db91b[_0x58410a(0x248)][_0x58410a(0x29d)](_0x9bb715,{'width':this[_0x58410a(0x38d)],'height':this[_0x58410a(0x368)],'strokeWidth':_0x3f2c49,'stroke':this[_0x58410a(0x205)],'evented':!0x1,'fill':this[_0x58410a(0x2c7)]}),this[_0x58410a(0x2ed)]&&(_0x9bb715[_0x58410a(0x34c)](),_0x9bb715[_0x58410a(0x459)](0x1,0x0,0x0,0x1,this[_0x58410a(0x38d)],this[_0x58410a(0x2b8)]===_0x58410a(0x203)?0x0:-_0x490e44),_0x2dd573[_0x58410a(0x29d)](_0x9bb715,{'text':this[_0x58410a(0x206)],'color':this['_color']}),_0x9bb715[_0x58410a(0x31c)]());}}var _0x59211f=Object['getOwnPropertyDescriptor'],_0x42ffe9=(_0x438719,_0x4d8444,_0x2296fe,_0xe568fb)=>{const _0x387800=_0xce3cd0;for(var _0x49e7cb=_0xe568fb>0x1?void 0x0:_0xe568fb?_0x59211f(_0x4d8444,_0x2296fe):_0x4d8444,_0x48af74=_0x438719[_0x387800(0x37b)]-0x1,_0x5769;_0x48af74>=0x0;_0x48af74--)(_0x5769=_0x438719[_0x48af74])&&(_0x49e7cb=_0x5769(_0x49e7cb)||_0x49e7cb);return _0x49e7cb;},_0x58959c=(_0x50a1d7,_0xfce1fe)=>(_0x5d6369,_0x2c87fe)=>_0xfce1fe(_0x5d6369,_0x2c87fe,_0x50a1d7);const _0x2a0525=0x1389;let _0x883637=class extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(_0x1bcd56,_0x8632f9,_0xe705bb,_0x3f64df){const _0xd3c35d=_0xce3cd0;super(),_0xef452e(this,_0xd3c35d(0x21c),new Set()),_0xef452e(this,_0xd3c35d(0x162),null),(this[_0xd3c35d(0x286)]=_0x1bcd56,this[_0xd3c35d(0x259)]=_0x8632f9,this[_0xd3c35d(0x41e)]=_0xe705bb,this[_0xd3c35d(0x28d)]=_0x3f64df,this[_0xd3c35d(0x30d)]());}['_init'](){const _0xfa8b37=_0xce3cd0;this[_0xfa8b37(0x259)]['currentSkeleton$'][_0xfa8b37(0x2de)](_0x2157b5[_0xfa8b37(0x15a)](this['dispose$']),_0x2157b5[_0xfa8b37(0x3e6)](_0x35c243=>{const _0x4cbb17=_0xfa8b37;if(_0x35c243){const _0xd2bf85=_0x35c243['sheetId'];return _0x58c226[_0x4cbb17(0x389)](this[_0x4cbb17(0x41e)]['getCollabCursors$'](this['_context'][_0x4cbb17(0x34f)]),this[_0x4cbb17(0x28d)][_0x4cbb17(0x17b)])[_0x4cbb17(0x2de)](_0x2157b5[_0x4cbb17(0x16b)](([_0x5818fc,_0x752ddf])=>{const _0x5a3fd7=_0x4cbb17,_0x47f63c=new Map();return _0x5818fc[_0x5a3fd7(0x2e5)]((_0x4406c5,_0xa0d95c)=>{const _0x4d2c0d=_0x5a3fd7;if(_0x4406c5['sheetID']===_0xd2bf85){const _0x849496={..._0x4406c5};_0x849496[_0x4d2c0d(0x374)]=this['_themeService'][_0x4d2c0d(0x254)](_0x4406c5[_0x4d2c0d(0x374)]),_0x47f63c[_0x4d2c0d(0x427)](_0xa0d95c,_0x849496);}}),{'skeleton':_0x35c243,'cursors':_0x47f63c};}));}return _0x58c226['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x430843,cursors:_0x4b34e4})=>{const _0x5d22fe=_0xfa8b37;this[_0x5d22fe(0x30f)](),_0x430843&&this['_updateCollabCursors'](_0x430843,_0x4b34e4);}),this[_0xfa8b37(0x259)][_0xfa8b37(0x42b)][_0xfa8b37(0x17f)](_0x73b8f4=>{const _0x5c0ef7=_0xfa8b37;if(_0x73b8f4==null)return;const {skeleton:_0x4cbd85}=_0x73b8f4,{scene:_0x5147cd}=this['_context'];_0x5147cd[_0x5c0ef7(0x1cf)][_0x5c0ef7(0x3fe)](_0x295c8f[_0x5c0ef7(0x247)](_0xf65b37=>{const _0x4eb4e2=_0x5c0ef7;var _0x1326ac,_0x58aec9;const {offsetX:_0x20c533,offsetY:_0x26de81}=_0xf65b37,{x:_0x55412c,y:_0x1a6882}=_0x5147cd[_0x4eb4e2(0x195)](_0x8db91b[_0x4eb4e2(0x3fc)]['FromArray']([_0x20c533,_0x26de81])),{scaleX:_0x55fdf0,scaleY:_0x36ca01}=_0x5147cd[_0x4eb4e2(0x1a6)](),_0x276322=_0x5147cd[_0x4eb4e2(0x332)](_0x8db91b[_0x4eb4e2(0x208)]['VIEW_MAIN']),_0xd2a96a=_0x5147cd[_0x4eb4e2(0x285)](_0x8db91b[_0x4eb4e2(0x3fc)][_0x4eb4e2(0x238)]([_0x55412c,_0x1a6882]),_0x276322),_0x4210ae=_0x4cbd85[_0x4eb4e2(0x375)](_0x20c533,_0x26de81,_0x55fdf0,_0x36ca01,_0xd2a96a);((_0x1326ac=this[_0x4eb4e2(0x162)])==null?void 0x0:_0x1326ac[_0x4eb4e2(0x33b)])===_0x4210ae[_0x4eb4e2(0x33b)]&&((_0x58aec9=this['_lastPointer'])==null?void 0x0:_0x58aec9[_0x4eb4e2(0x3f6)])===_0x4210ae['row']||this[_0x4eb4e2(0x21c)][_0x4eb4e2(0x2e5)](_0x1aa356=>{const _0x585003=_0x4eb4e2;_0x1aa356[_0x585003(0x422)](_0x4210ae);});},0x64));});}[_0xce3cd0(0x38a)](_0x3b7dcf,_0x106207){const _0x4bd86f=_0xce3cd0;var _0x4988f6;const _0x142d4e=(_0x4988f6=this['_sheetSkeletonManagerService'][_0x4bd86f(0x1e8)]())==null?void 0x0:_0x4988f6[_0x4bd86f(0x398)];if(!_0x142d4e)return;const _0x17436f=this[_0x4bd86f(0x2ca)]();if(!_0x17436f)return;this['_cursors'][_0x4bd86f(0x2e5)](_0x31d6b3=>{_0x31d6b3['makeDirty']();});const {scene:_0x1cdb2d}=_0x17436f,_0x1361e4=_0x347dd5(Array[_0x4bd86f(0x264)](_0x106207['values']()))[_0x4bd86f(0x16b)](_0x366c54=>{const _0x324d9f=_0x4bd86f,{color:_0x834ddd,range:_0x15b71d,name:_0x28b834,selection:_0x29fee3,sheetID:_0x1a192b}=_0x366c54,{startColumn:_0x23f4e7,startRow:_0x590de5,endColumn:_0x2f224a,endRow:_0xa46712}=_0x15b71d,_0x3f4722=_0x2cd116[_0x324d9f(0x27c)](_0x590de5,_0x23f4e7,_0x1cdb2d,_0x142d4e),_0x2f67ea=_0x2cd116[_0x324d9f(0x27c)](_0xa46712,_0x2f224a,_0x1cdb2d,_0x142d4e),{columnHeaderHeightAndMarginTop:_0x4197ee}=_0x142d4e,{startX:_0xc038cc,startY:_0x28131b}=_0x3f4722,{endX:_0x573abf,endY:_0x363c26}=_0x2f67ea,_0x18ed1e=_0x573abf-_0xc038cc,_0x31928c=_0x363c26-_0x28131b,_0x30e1e1={'labelPosition':_0x28131b-_0x4197ee>=_0x490e44?_0x324d9f(0x426):'bottom','sheetID':_0x1a192b,'range':_0x15b71d,'color':_0x834ddd,'name':_0x28b834,'selection':_0x29fee3,'left':_0xc038cc,'top':_0x28131b,'width':_0x18ed1e,'height':_0x31928c,'evented':!0x1,'zIndex':_0x2a0525};return new _0x3ee6ec(_0x28b834,_0x30e1e1);});_0x1cdb2d[_0x4bd86f(0x413)](_0x1361e4,_0x38ee4b),this[_0x4bd86f(0x21c)]=new Set(_0x1361e4);}['_removeCollabCursors'](){const _0xc48981=_0xce3cd0;var _0x559d9d;(_0x559d9d=this[_0xc48981(0x21c)])==null||_0x559d9d[_0xc48981(0x2e5)](_0x15f5f9=>_0x15f5f9[_0xc48981(0x2a7)]());}[_0xce3cd0(0x2ca)](){const _0x4c5647=_0xce3cd0;return _0x2cd116['getSheetObject'](this[_0x4c5647(0x286)][_0x4c5647(0x429)],this[_0x4c5647(0x286)]);}};_0x883637=_0x42ffe9([_0x58959c(0x1,_0x295c8f['Inject'](_0x2cd116[_0xce3cd0(0x409)])),_0x58959c(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x150b36)),_0x58959c(0x3,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f[_0xce3cd0(0x3d7)]))],_0x883637);function _0x347dd5(_0x46160f){const _0x3d739c=_0xce3cd0,_0x5f24d5=new Map();return _0x46160f[_0x3d739c(0x2e5)](_0x2c36e4=>{const _0x19fc9e=_0x3d739c;if(_0x5f24d5[_0x19fc9e(0x2d5)](_0x2c36e4['selection'])){const _0x599691=_0x5f24d5[_0x19fc9e(0x3fa)](_0x2c36e4['selection']);_0x599691[_0x19fc9e(0x376)]+=',\x20'+_0x2c36e4[_0x19fc9e(0x376)];}else _0x5f24d5[_0x19fc9e(0x427)](_0x2c36e4[_0x19fc9e(0x2f4)],_0x2c36e4);}),Array[_0x3d739c(0x264)](_0x5f24d5['values']());}var _0x1775c4=Object['getOwnPropertyDescriptor'],_0x589178=(_0x1aa343,_0x4d126c,_0x2d46b4,_0xca28ed)=>{const _0xa5cf59=_0xce3cd0;for(var _0x10997a=_0xca28ed>0x1?void 0x0:_0xca28ed?_0x1775c4(_0x4d126c,_0x2d46b4):_0x4d126c,_0x1ea8ce=_0x1aa343[_0xa5cf59(0x37b)]-0x1,_0x4262f1;_0x1ea8ce>=0x0;_0x1ea8ce--)(_0x4262f1=_0x1aa343[_0x1ea8ce])&&(_0x10997a=_0x4262f1(_0x10997a)||_0x10997a);return _0x10997a;},_0xb875d8=(_0x714d89,_0x217691)=>(_0x3cab9c,_0x5bdeec)=>_0x217691(_0x3cab9c,_0x5bdeec,_0x714d89);let _0x220b52=class extends _0x295c8f['Disposable']{constructor(_0x538168,_0x27041c,_0xbdf5ac,_0x55bc07,_0x1132fa,_0x1779ee){const _0x43287c=_0xce3cd0;super(),this[_0x43287c(0x2b7)]=_0x538168,this[_0x43287c(0x174)]=_0x27041c,this[_0x43287c(0x3c1)]=_0xbdf5ac,this[_0x43287c(0x287)]=_0x55bc07,this['_notificationService']=_0x1132fa,this[_0x43287c(0x3fb)]=_0x1779ee,this[_0x43287c(0x1eb)](),this[_0x43287c(0x357)]();}[_0xce3cd0(0x1eb)](){const _0xc05b4c=_0xce3cd0;this[_0xc05b4c(0x43c)](this[_0xc05b4c(0x2b7)][_0xc05b4c(0x399)](()=>{const _0x15100c=_0xc05b4c;if(this[_0x15100c(0x174)][_0x15100c(0x19e)][_0x15100c(0x348)])return this[_0x15100c(0x3fb)]['t']('collaboration.offline-data-not-saved');}));}[_0xce3cd0(0x357)](){const _0x1518c1=_0xce3cd0;this[_0x1518c1(0x43c)](this[_0x1518c1(0x3c1)][_0x1518c1(0x449)][_0x1518c1(0x17f)](_0x14bc74=>{const _0x4a0f56=_0x1518c1;_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x1e9)]&&this[_0x4a0f56(0x287)]['show']({'type':_0x599761[_0x4a0f56(0x437)]['Warning'],'content':this[_0x4a0f56(0x3fb)]['t'](_0x4a0f56(0x2ff))}),_0x14bc74['id']===_0x2cb61c['CollaborationUIEventId'][_0x4a0f56(0x2a5)]&&this[_0x4a0f56(0x287)][_0x4a0f56(0x1b8)]({'type':_0x599761[_0x4a0f56(0x437)][_0x4a0f56(0x2cb)],'content':this[_0x4a0f56(0x3fb)]['t'](_0x4a0f56(0x2f1))}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x2dc)]&&this[_0x4a0f56(0x400)][_0x4a0f56(0x1b8)]({'title':this[_0x4a0f56(0x3fb)]['t'](_0x4a0f56(0x1a7)),'content':this[_0x4a0f56(0x3fb)]['t'](_0x4a0f56(0x16c)),'type':_0x4a0f56(0x1b1),'duration':0x0}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x36b)]&&this[_0x4a0f56(0x287)]['show']({'type':_0x599761[_0x4a0f56(0x437)][_0x4a0f56(0x25e)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x14bc74[_0x4a0f56(0x31b)]+')'}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x2a0)]&&this[_0x4a0f56(0x287)][_0x4a0f56(0x1b8)]({'type':_0x599761['MessageType'][_0x4a0f56(0x2cb)],'content':this['_localeService']['t'](_0x14bc74[_0x4a0f56(0x31b)]||'')}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x196)]&&this[_0x4a0f56(0x287)][_0x4a0f56(0x1b8)]({'type':_0x599761['MessageType'][_0x4a0f56(0x2cb)],'content':this[_0x4a0f56(0x3fb)]['t']('session.will-retry')}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x446)]&&this[_0x4a0f56(0x287)][_0x4a0f56(0x1b8)]({'type':_0x599761[_0x4a0f56(0x437)]['Error'],'content':this[_0x4a0f56(0x3fb)]['t']('session.connection-failed')}),_0x14bc74['id']===_0x2cb61c[_0x4a0f56(0x42e)][_0x4a0f56(0x279)]&&this[_0x4a0f56(0x287)]['show']({'type':_0x599761[_0x4a0f56(0x437)][_0x4a0f56(0x25e)],'content':this[_0x4a0f56(0x3fb)]['t'](_0x4a0f56(0x40d))});}));}};_0x220b52=_0x589178([_0xb875d8(0x0,_0x189b11[_0xce3cd0(0x161)]),_0xb875d8(0x1,_0x2cb61c['ILocalCacheService']),_0xb875d8(0x2,_0x295c8f['Inject'](_0x2cb61c[_0xce3cd0(0x390)])),_0xb875d8(0x3,_0x189b11[_0xce3cd0(0x1ab)]),_0xb875d8(0x4,_0x189b11[_0xce3cd0(0x2c1)]),_0xb875d8(0x5,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f['LocaleService']))],_0x220b52);var _0x57b5b8=Object['getOwnPropertyDescriptor'],_0x41a65c=(_0x4d9ca7,_0x2acc7d,_0x6dea33,_0x4f3679)=>{const _0x20e84c=_0xce3cd0;for(var _0x42b3b8=_0x4f3679>0x1?void 0x0:_0x4f3679?_0x57b5b8(_0x2acc7d,_0x6dea33):_0x2acc7d,_0x571d6d=_0x4d9ca7[_0x20e84c(0x37b)]-0x1,_0x264da0;_0x571d6d>=0x0;_0x571d6d--)(_0x264da0=_0x4d9ca7[_0x571d6d])&&(_0x42b3b8=_0x264da0(_0x42b3b8)||_0x42b3b8);return _0x42b3b8;},_0x217677=(_0x4d7a58,_0x3b10e0)=>(_0xa37ad0,_0x452ff7)=>_0x3b10e0(_0xa37ad0,_0x452ff7,_0x4d7a58);let _0x39c89f=class extends _0x295c8f['Disposable']{constructor(_0x13de19,_0x49f9e0,_0x585522,_0x2bdc27){const _0xe8d1c8=_0xce3cd0;super(),_0xef452e(this,_0xe8d1c8(0x1b0)),(this[_0xe8d1c8(0x1f6)]=_0x13de19,this[_0xe8d1c8(0x220)]=_0x49f9e0,this[_0xe8d1c8(0x22d)]=_0x585522,this['_collaborationSessionService']=_0x2bdc27,this['_init']());}['_init'](){const _0x49cc39=_0xce3cd0;this[_0x49cc39(0x22a)](),this[_0x49cc39(0x242)](),this['_monkeyPatchLogService'](),this[_0x49cc39(0x299)]();}['_initUserListener'](){const _0x47a730=_0xce3cd0;this[_0x47a730(0x43c)](this[_0x47a730(0x234)][_0x47a730(0x25d)][_0x47a730(0x17f)](_0x40b096=>{const _0x406080=_0x47a730;this[_0x406080(0x1b0)]=_0x40b096==null?void 0x0:_0x40b096[_0x406080(0x3c4)];}));}[_0xce3cd0(0x22a)](){const _0xab63a=_0xce3cd0,_0x28e40e=_0x26b90f=>{const _0x582a79=_0x2541;var _0x53a79b;this[_0x582a79(0x26f)]('error',_0x582a79(0x40f)+_0x26b90f[_0x582a79(0x1d0)]+_0x582a79(0x34e)+_0x26b90f[_0x582a79(0x40a)]+':'+_0x26b90f[_0x582a79(0x385)]+':'+_0x26b90f[_0x582a79(0x3f0)]+'\x0a'+(((_0x53a79b=_0x26b90f[_0x582a79(0x1b1)])==null?void 0x0:_0x53a79b[_0x582a79(0x419)])||''));};window[_0xab63a(0x2e4)]('error',_0x28e40e),this[_0xab63a(0x43c)](()=>{const _0x33e7d7=_0xab63a;window[_0x33e7d7(0x2c2)](_0x33e7d7(0x1b1),_0x28e40e);});}[_0xce3cd0(0x242)](){const _0x40b5be=_0xce3cd0,_0x51de5b=_0x3f79b8=>{const _0x13c050=_0x2541;this[_0x13c050(0x26f)]('error',_0x13c050(0x1e2)+_0x3f79b8[_0x13c050(0x44b)]);};window[_0x40b5be(0x2e4)]('unhandledrejection',_0x51de5b),this[_0x40b5be(0x43c)](()=>{window['removeEventListener']('unhandledrejection',_0x51de5b);});}[_0xce3cd0(0x27b)](){const _0x12ac2b=_0xce3cd0,_0x1e9849=this[_0x12ac2b(0x22d)][_0x12ac2b(0x1b1)][_0x12ac2b(0x2df)](this[_0x12ac2b(0x22d)]);this[_0x12ac2b(0x22d)][_0x12ac2b(0x1b1)]=(..._0x1532ad)=>{const _0x7165a7=_0x12ac2b,_0xfbd7c6=_0x1532ad[_0x7165a7(0x16b)](_0x3b1fb1=>_0x3b1fb1 instanceof Error?_0x3b1fb1['message']+'\x0a'+_0x3b1fb1[_0x7165a7(0x419)]:String(_0x3b1fb1))[_0x7165a7(0x2f8)]('\x20');this[_0x7165a7(0x26f)]('error',_0x7165a7(0x1e7)+_0xfbd7c6),_0x1e9849(..._0x1532ad);},this[_0x12ac2b(0x43c)](()=>{const _0x3ff5a6=_0x12ac2b;this[_0x3ff5a6(0x22d)][_0x3ff5a6(0x1b1)]=_0x1e9849;});}[_0xce3cd0(0x26f)](_0x51f0b5,_0x19bc2f){const _0x5fb86=_0xce3cd0;try{const _0x4d76bd={'userId':this[_0x5fb86(0x1b0)],'logLabel':_0x51f0b5,'content':_0x19bc2f};this[_0x5fb86(0x220)][_0x5fb86(0x165)](_0x5fb86(0x189),{'body':_0x4d76bd})[_0x5fb86(0x3b8)](()=>{});}catch{}}};_0x39c89f=_0x41a65c([_0x217677(0x0,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f['Injector'])),_0x217677(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x17ac2f[_0xce3cd0(0x440)])),_0x217677(0x2,_0x295c8f[_0xce3cd0(0x29b)]),_0x217677(0x3,_0x295c8f[_0xce3cd0(0x2fb)](_0x2cb61c[_0xce3cd0(0x1c6)]))],_0x39c89f);const _0x1e1ed6=_0xce3cd0(0x3ad),_0xf2bce4={};var _0x51b493=Object[_0xce3cd0(0x3e7)],_0x28f25b=(_0x329664,_0x39570b,_0x1c4916,_0x58adcd)=>{const _0x341369=_0xce3cd0;for(var _0x112339=_0x58adcd>0x1?void 0x0:_0x58adcd?_0x51b493(_0x39570b,_0x1c4916):_0x39570b,_0x297f23=_0x329664[_0x341369(0x37b)]-0x1,_0x62da15;_0x297f23>=0x0;_0x297f23--)(_0x62da15=_0x329664[_0x297f23])&&(_0x112339=_0x62da15(_0x112339)||_0x112339);return _0x112339;},_0x4d91ef=(_0x27f01e,_0x41bb9f)=>(_0x21c315,_0x4ccde5)=>_0x41bb9f(_0x21c315,_0x4ccde5,_0x27f01e);let _0x13d4ed=class{constructor(_0x574a33,_0x31d1d3){const _0x2c39da=_0xce3cd0;this[_0x2c39da(0x3d4)]=_0x574a33,this[_0x2c39da(0x3a8)]=_0x31d1d3;}[_0xce3cd0(0x32d)](_0x271eb5){const _0x57e082=_0xce3cd0;this['_transformUndoRedoStack'](_0x271eb5),this[_0x57e082(0x2f6)](_0x271eb5);}['transformRemoteChangeset'](_0x426ea4){const _0x4f0998=_0xce3cd0,{unitID:_0x4429ae}=_0x426ea4,_0x54809e=this[_0x4f0998(0x3a8)][_0x4f0998(0x163)](_0x4429ae)[_0x4f0998(0x23a)](_0x442538[_0x4f0998(0x3ab)]),{redoCache:_0x329ecd}=_0x54809e[_0x4f0998(0x3b9)]();if(_0x329ecd['length']===0x0)return _0x426ea4;let _0x38ddfa=_0x295c8f[_0x4f0998(0x182)][_0x4f0998(0x179)](_0x426ea4[_0x4f0998(0x324)][0x0]);for(let _0x5edd61=0x0;_0x5edd61<_0x329ecd[_0x4f0998(0x37b)];_0x5edd61++){const _0x2af366={'id':_0x4f0998(0x20d),'params':{..._0x329ecd[_0x5edd61]}},_0x5e2bc8=this[_0x4f0998(0x3d4)][_0x4f0998(0x25f)](_0x38ddfa,_0x2af366,!0x1);if(_0x143a87[_0x4f0998(0x44d)](_0x5e2bc8))throw _0x5e2bc8[_0x4f0998(0x1b1)];_0x38ddfa=_0x5e2bc8[_0x4f0998(0x2b0)];}return{..._0x295c8f[_0x4f0998(0x182)][_0x4f0998(0x179)](_0x426ea4),'mutations':[_0x38ddfa]};}[_0xce3cd0(0x43f)](_0x109a8c){const _0x1e0735=_0xce3cd0,{unitID:_0x1a5bd4}=_0x109a8c,_0x214a2f=this[_0x1e0735(0x3a8)]['getRenderById'](_0x1a5bd4)[_0x1e0735(0x23a)](_0x442538[_0x1e0735(0x3ab)]),{undoCache:_0x158838,redoCache:_0x4000c3}=_0x214a2f[_0x1e0735(0x3b9)]();if(_0x158838[_0x1e0735(0x37b)]===0x0||_0x4000c3[_0x1e0735(0x37b)]===0x0)return;const _0x4db19b=[],_0x441c93=[];let _0x5e2c61=_0x295c8f[_0x1e0735(0x182)][_0x1e0735(0x179)](_0x109a8c[_0x1e0735(0x324)][0x0]),_0x45c7fd=_0x295c8f[_0x1e0735(0x182)]['deepClone'](_0x109a8c[_0x1e0735(0x324)][0x0]);for(let _0x53b0f7=_0x158838['length']-0x1;_0x53b0f7>=0x0;_0x53b0f7--){const _0x46a239={'id':'doc.mutation.rich-text-editing','params':{..._0x158838[_0x53b0f7]}},_0x3881b2={'id':_0x1e0735(0x20d),'params':{..._0x4000c3[_0x53b0f7]}},_0x10db8d=this[_0x1e0735(0x3d4)]['transformMutation'](_0x5e2c61,_0x46a239,!0x1),_0x2f0001=this[_0x1e0735(0x3d4)]['transformMutation'](_0x45c7fd,_0x3881b2,!0x1);if(_0x143a87[_0x1e0735(0x44d)](_0x10db8d))throw _0x10db8d['error'];if(_0x143a87[_0x1e0735(0x44d)](_0x2f0001))throw _0x2f0001['error'];_0x4db19b[_0x1e0735(0x1aa)](_0x10db8d[_0x1e0735(0x40c)][_0x1e0735(0x275)]),_0x441c93[_0x1e0735(0x1aa)](_0x2f0001[_0x1e0735(0x40c)]['params']),_0x5e2c61=_0x10db8d[_0x1e0735(0x2b0)],_0x45c7fd=_0x2f0001[_0x1e0735(0x2b0)];}_0x214a2f[_0x1e0735(0x3ee)]({'undoCache':_0x4db19b,'redoCache':_0x441c93});}['_transformPreviousActiveRange'](_0x31866e){const _0x4fb713=_0xce3cd0,{unitID:_0x559294}=_0x31866e,_0x198d07=this[_0x4fb713(0x3a8)]['getRenderById'](_0x559294)[_0x4fb713(0x23a)](_0x442538[_0x4fb713(0x3ab)]),_0x479c61=_0x198d07['getActiveRange']();if(_0x479c61==null)return;const _0x243288=[{'id':_0x4fb713(0x20d),'params':{'unitId':_0x31866e[_0x4fb713(0x445)],'actions':null,'textRanges':[_0x479c61]}}],_0x2e852c=this['_transformService'][_0x4fb713(0x1b4)](_0x31866e,_0x243288);if(!_0x143a87[_0x4fb713(0x3f2)](_0x2e852c))throw _0x2e852c[_0x4fb713(0x1b1)];const _0x108e64=_0x2e852c[_0x4fb713(0x40c)][0x0][_0x4fb713(0x275)][_0x4fb713(0x1c5)];Array[_0x4fb713(0x3c9)](_0x108e64)&&_0x108e64['length']&&_0x198d07[_0x4fb713(0x160)](_0x108e64[0x0]);}};_0x13d4ed=_0x28f25b([_0x4d91ef(0x0,_0x143a87[_0xce3cd0(0x169)]),_0x4d91ef(0x1,_0x8db91b[_0xce3cd0(0x455)])],_0x13d4ed);var _0x26a255=Object[_0xce3cd0(0x3e7)],_0x179deb=(_0x31cbf2,_0x4704b8,_0x16b595,_0x4f709c)=>{const _0x37575a=_0xce3cd0;for(var _0x19aca4=_0x4f709c>0x1?void 0x0:_0x4f709c?_0x26a255(_0x4704b8,_0x16b595):_0x4704b8,_0x19114c=_0x31cbf2[_0x37575a(0x37b)]-0x1,_0x377069;_0x19114c>=0x0;_0x19114c--)(_0x377069=_0x31cbf2[_0x19114c])&&(_0x19aca4=_0x377069(_0x19aca4)||_0x19aca4);return _0x19aca4;},_0x5cc411=(_0xce6db,_0x4f33f6)=>(_0x2304b6,_0x42e043)=>_0x4f33f6(_0x2304b6,_0x42e043,_0xce6db);let _0x214e70=class{constructor(_0x4eb52b,_0x1f2976,_0x4e34dd){const _0x2695a2=_0xce3cd0;this['_injector']=_0x4eb52b,this[_0x2695a2(0x3d4)]=_0x1f2976,this[_0x2695a2(0x26c)]=_0x4e34dd;}['transformStateCache'](_0x5d27c3){const _0x2b34c6=_0xce3cd0;this[_0x2b34c6(0x294)](_0x5d27c3);}[_0xce3cd0(0x3cb)](_0x2e6a11){const _0x4f281c=_0xce3cd0,{unitID:_0x551745}=_0x2e6a11,{collaboration:_0x4fb24a}=this['_docStateChangeManagerService'][_0x4f281c(0x1fe)](_0x551745);if(_0x4fb24a[_0x4f281c(0x37b)]===0x0)return _0x2e6a11;let _0x1ff504=_0x295c8f[_0x4f281c(0x182)][_0x4f281c(0x179)](_0x2e6a11[_0x4f281c(0x324)][0x0]);for(let _0x342b8c=0x0;_0x342b8c<_0x4fb24a['length'];_0x342b8c++){const _0x3ffb6a={'id':_0x4f281c(0x20d),'params':{'unitId':_0x4fb24a[_0x342b8c][_0x4f281c(0x34f)],..._0x4fb24a[_0x342b8c][_0x4f281c(0x1e4)]}},_0x214e07=this[_0x4f281c(0x3d4)][_0x4f281c(0x25f)](_0x1ff504,_0x3ffb6a,!0x1);if(_0x143a87[_0x4f281c(0x44d)](_0x214e07))throw _0x214e07['error'];_0x1ff504=_0x214e07[_0x4f281c(0x2b0)];}return{..._0x295c8f[_0x4f281c(0x182)][_0x4f281c(0x179)](_0x2e6a11),'mutations':[_0x1ff504]};}[_0xce3cd0(0x294)](_0x56ce2d){const _0x446302=_0xce3cd0,{unitID:_0x25ffc5}=_0x56ce2d,{history:_0x4b4b8f,collaboration:_0x1de16b}=this[_0x446302(0x26c)][_0x446302(0x1fe)](_0x25ffc5);if(_0x4b4b8f[_0x446302(0x37b)]===0x0&&_0x1de16b['length']===0x0)return;const _0x2f5b13=[],_0x4cd511=[];let _0x4c2a45=_0x295c8f[_0x446302(0x182)][_0x446302(0x179)](_0x56ce2d[_0x446302(0x324)][0x0]),_0x35c105=_0x295c8f[_0x446302(0x182)]['deepClone'](_0x56ce2d[_0x446302(0x324)][0x0]);for(let _0x5315d1=_0x4b4b8f[_0x446302(0x37b)]-0x1;_0x5315d1>=0x0;_0x5315d1--){const _0x1e3614={'id':_0x446302(0x20d),'params':{'unitId':_0x4b4b8f[_0x5315d1][_0x446302(0x34f)],..._0x4b4b8f[_0x5315d1][_0x446302(0x20b)]}},_0x5d6e41={'id':_0x446302(0x20d),'params':{'unitId':_0x4b4b8f[_0x5315d1][_0x446302(0x34f)],..._0x4b4b8f[_0x5315d1][_0x446302(0x1e4)]}},_0x255bbb=this[_0x446302(0x3d4)]['transformMutation'](_0x4c2a45,_0x1e3614,!0x1),_0x4e1d0b=this[_0x446302(0x3d4)][_0x446302(0x25f)](_0x35c105,_0x5d6e41,!0x1);if(_0x143a87[_0x446302(0x44d)](_0x255bbb))throw _0x255bbb[_0x446302(0x1b1)];if(_0x143a87[_0x446302(0x44d)](_0x4e1d0b))throw _0x4e1d0b[_0x446302(0x1b1)];_0x2f5b13[_0x446302(0x1aa)]({..._0x4b4b8f[_0x5315d1],'undoState':_0x255bbb[_0x446302(0x40c)][_0x446302(0x275)],'redoState':_0x4e1d0b[_0x446302(0x40c)][_0x446302(0x275)]}),_0x4c2a45=_0x255bbb['m1Prime'],_0x35c105=_0x4e1d0b['m1Prime'];}_0x4c2a45=_0x295c8f[_0x446302(0x182)][_0x446302(0x179)](_0x56ce2d[_0x446302(0x324)][0x0]),_0x35c105=_0x295c8f['Tools'][_0x446302(0x179)](_0x56ce2d['mutations'][0x0]);for(let _0x37451b=_0x1de16b['length']-0x1;_0x37451b>=0x0;_0x37451b--){const _0xa21d82={'id':_0x446302(0x20d),'params':{'unitId':_0x1de16b[_0x37451b][_0x446302(0x34f)],..._0x1de16b[_0x37451b]['undoState']}},_0x1b1533={'id':_0x446302(0x20d),'params':{'unitId':_0x1de16b[_0x37451b][_0x446302(0x34f)],..._0x1de16b[_0x37451b][_0x446302(0x1e4)]}},_0x3e02f5=this[_0x446302(0x3d4)][_0x446302(0x25f)](_0x4c2a45,_0xa21d82,!0x1),_0x50444f=this[_0x446302(0x3d4)]['transformMutation'](_0x35c105,_0x1b1533,!0x1);if(_0x143a87['isTransformMutationFailure'](_0x3e02f5))throw _0x3e02f5[_0x446302(0x1b1)];if(_0x143a87[_0x446302(0x44d)](_0x50444f))throw _0x50444f[_0x446302(0x1b1)];_0x4cd511[_0x446302(0x1aa)]({..._0x1de16b[_0x37451b],'undoState':_0x3e02f5[_0x446302(0x40c)][_0x446302(0x275)],'redoState':_0x50444f[_0x446302(0x40c)]['params']}),_0x4c2a45=_0x3e02f5[_0x446302(0x2b0)],_0x35c105=_0x50444f[_0x446302(0x2b0)];}this[_0x446302(0x26c)][_0x446302(0x388)](_0x25ffc5,{'history':_0x2f5b13,'collaboration':_0x4cd511});}};_0x214e70=_0x179deb([_0x5cc411(0x0,_0x295c8f['Inject'](_0x295c8f[_0xce3cd0(0x405)])),_0x5cc411(0x1,_0x143a87[_0xce3cd0(0x169)]),_0x5cc411(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x442538[_0xce3cd0(0x39d)]))],_0x214e70);var _0x4a01dd=Object['getOwnPropertyDescriptor'],_0x5064aa=(_0x3bae9a,_0x3ae7e0,_0x16c60e,_0x55491e)=>{for(var _0x3acf49=_0x55491e>0x1?void 0x0:_0x55491e?_0x4a01dd(_0x3ae7e0,_0x16c60e):_0x3ae7e0,_0x1b272b=_0x3bae9a['length']-0x1,_0xda022d;_0x1b272b>=0x0;_0x1b272b--)(_0xda022d=_0x3bae9a[_0x1b272b])&&(_0x3acf49=_0xda022d(_0x3acf49)||_0x3acf49);return _0x3acf49;},_0x357df1=(_0x13b52d,_0x59fe2f)=>(_0x44f928,_0x1539e3)=>_0x59fe2f(_0x44f928,_0x1539e3,_0x13b52d);let _0x5af825=class{constructor(_0x3e4c27,_0xb58c0a){const _0x225452=_0xce3cd0;this[_0x225452(0x1f6)]=_0x3e4c27,this['_transformService']=_0xb58c0a;}[_0xce3cd0(0x32c)](_0x1a6a46){const _0x4d9771=_0xce3cd0;var _0xbdb5a1;const _0x381c57=this[_0x4d9771(0x1f6)][_0x4d9771(0x3fa)](_0x400651['DocSelectionManagerService']),_0x194aa2=(_0xbdb5a1=_0x381c57[_0x4d9771(0x340)]())!=null?_0xbdb5a1:[];if(_0x194aa2[_0x4d9771(0x37b)]===0x0)return;const _0xe3e57f=_0x1a6a46['unitID'],_0xe017f3=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xe3e57f,'actions':null,'textRanges':_0x194aa2}}],_0x1aa92f=this[_0x4d9771(0x3d4)]['transformMutationsWithChangeset'](_0x1a6a46,_0xe017f3);if(!_0x143a87[_0x4d9771(0x3f2)](_0x1aa92f))throw _0x1aa92f[_0x4d9771(0x1b1)];const _0x4d8ebd=_0x1aa92f[_0x4d9771(0x40c)][0x0]['params'][_0x4d9771(0x1c5)];Array[_0x4d9771(0x3c9)](_0x4d8ebd)&&_0x4d8ebd['length']&&_0x381c57[_0x4d9771(0x3b2)](_0x4d8ebd,{'unitId':_0xe3e57f,'subUnitId':_0xe3e57f},!0x1);}};_0x5af825=_0x5064aa([_0x357df1(0x0,_0x295c8f['Inject'](_0x295c8f[_0xce3cd0(0x405)])),_0x357df1(0x1,_0x143a87[_0xce3cd0(0x169)])],_0x5af825);var _0x1e0e59=Object[_0xce3cd0(0x3e7)],_0x1b682=(_0x4744a8,_0x1695d9,_0x2ae70d,_0x101fd0)=>{const _0xf5f6ea=_0xce3cd0;for(var _0x10533d=_0x101fd0>0x1?void 0x0:_0x101fd0?_0x1e0e59(_0x1695d9,_0x2ae70d):_0x1695d9,_0xc2e0bd=_0x4744a8[_0xf5f6ea(0x37b)]-0x1,_0x3cf109;_0xc2e0bd>=0x0;_0xc2e0bd--)(_0x3cf109=_0x4744a8[_0xc2e0bd])&&(_0x10533d=_0x3cf109(_0x10533d)||_0x10533d);return _0x10533d;},_0x5815dd=(_0x3bffad,_0x57d194)=>(_0x388530,_0x51a730)=>_0x57d194(_0x388530,_0x51a730,_0x3bffad);let _0x9f9f49=class extends _0x295c8f[_0xce3cd0(0x1b9)]{constructor(_0x5b1c88,_0x1adae2,_0xb26174,_0x1b08d4,_0x2bb4ac,_0x321581,_0x3ca2fe,_0xba85df){const _0x29c28f=_0xce3cd0;super(),_0xef452e(this,_0x29c28f(0x414),new _0x58c226[(_0x29c28f(0x43b))](_0x2cb61c[_0x29c28f(0x36d)][_0x29c28f(0x21f)])),(this[_0x29c28f(0x26c)]=_0x5b1c88,this[_0x29c28f(0x392)]=_0x1adae2,this['_docTransformIMECacheService']=_0xb26174,this[_0x29c28f(0x37c)]=_0x1b08d4,this['_docTransformSelectionsService']=_0x2bb4ac,this[_0x29c28f(0x25b)]=_0x321581,this[_0x29c28f(0x287)]=_0x3ca2fe,this[_0x29c28f(0x3fb)]=_0xba85df,this[_0x29c28f(0x1c2)]());}[_0xce3cd0(0x1c2)](){const _0xf5bfe3=_0xce3cd0;this[_0xf5bfe3(0x43c)](this[_0xf5bfe3(0x392)]['entityInit$'][_0xf5bfe3(0x17f)](_0xe00a4f=>{const _0x2b44d3=_0xf5bfe3,_0x347fdf=this[_0x2b44d3(0x26c)][_0x2b44d3(0x2ac)][_0x2b44d3(0x17f)](_0x4da6cf=>{const _0x235b1e=_0x2b44d3;if(_0x4da6cf==null)return;const {unitId:_0x86b15f,redoState:_0x2214be,commandId:_0x1db534}=_0x4da6cf;if(_0x86b15f!==_0xe00a4f[_0x235b1e(0x445)])return;const _0x50145b={'id':_0x1db534,'type':_0x295c8f[_0x235b1e(0x24b)][_0x235b1e(0x16d)],'params':{'unitId':_0x86b15f,'actions':_0x2214be[_0x235b1e(0x1f9)],'textRanges':null}};_0xe00a4f[_0x235b1e(0x3b5)](_0x50145b);});if(_0xe00a4f['disposeWithMe'](_0x347fdf),_0xe00a4f instanceof _0x2cb61c[_0x2b44d3(0x213)]){const _0xc3055={'onTransformIME':_0x5ae32b=>this[_0x2b44d3(0x217)][_0x2b44d3(0x32d)](_0x5ae32b),'onTransformState':_0x2f9fdc=>this['_docTransformStateCacheService']['transformStateCache'](_0x2f9fdc),'onTransformSelections':_0x13bcbf=>this[_0x2b44d3(0x18e)]['transformSelections'](_0x13bcbf),'onSyncEditingCollabCursor':_0x42d093=>this['_docSyncEditingCollabCursorService'][_0x2b44d3(0x1cb)](_0x42d093),'onTransformRemoteChangesetByIMECache':_0x540ea2=>this[_0x2b44d3(0x217)][_0x2b44d3(0x3cb)](_0x540ea2),'onTransformRemoteChangesetByStateCache':_0x32fc37=>this['_docTransformStateCacheService'][_0x2b44d3(0x3cb)](_0x32fc37)};_0xe00a4f[_0x2b44d3(0x1df)](_0xc3055);}}));}};_0x9f9f49=_0x1b682([_0x5815dd(0x0,_0x295c8f['Inject'](_0x442538['DocStateChangeManagerService'])),_0x5815dd(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x2cb61c['CollaborationController'])),_0x5815dd(0x2,_0x295c8f['Inject'](_0x13d4ed)),_0x5815dd(0x3,_0x295c8f['Inject'](_0x214e70)),_0x5815dd(0x4,_0x295c8f[_0xce3cd0(0x2fb)](_0x5af825)),_0x5815dd(0x5,_0x295c8f[_0xce3cd0(0x2fb)](_0x109a2a)),_0x5815dd(0x6,_0x189b11['IMessageService']),_0x5815dd(0x7,_0x295c8f['Inject'](_0x295c8f[_0xce3cd0(0x237)]))],_0x9f9f49);var _0x3f8266=(_0xcd04ae=>(_0xcd04ae[_0xcd04ae[_0xce3cd0(0x175)]=0x0]='UNDEFINED',_0xcd04ae[_0xcd04ae['OK']=0x1]='OK',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1a0)]=0x2]=_0xce3cd0(0x1a0),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2dc)]=0x3]=_0xce3cd0(0x2dc),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2b5)]=0x4]=_0xce3cd0(0x2b5),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1ee)]=0x5]='UNAUTHENTICATED',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x395)]=0x6]=_0xce3cd0(0x395),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2bb)]=0x7]=_0xce3cd0(0x2bb),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x41a)]=0x8]='TOO_MANY_REQUESTS',_0xcd04ae[_0xcd04ae['COMPLETION_FINISHED']=0x9]=_0xce3cd0(0x2e9),_0xcd04ae[_0xcd04ae['LOGIN_FAILED']=0xa]=_0xce3cd0(0x2b6),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x241)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1e1)]=0xc]=_0xce3cd0(0x1e1),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x210)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0xcd04ae[_0xcd04ae['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0xce3cd0(0x353),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x451)]=0xf]=_0xce3cd0(0x451),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x28b)]=0x10]=_0xce3cd0(0x28b),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1d3)]=0x64]=_0xce3cd0(0x1d3),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x251)]=0x65]=_0xce3cd0(0x251),_0xcd04ae[_0xcd04ae['USER_NOT_FOUND']=0xc9]=_0xce3cd0(0x21a),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1de)]=0xca]=_0xce3cd0(0x1de),_0xcd04ae[_0xcd04ae['CHANGESET_REVISION_CONFILICT']=0x1389]=_0xce3cd0(0x3d3),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2e3)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2f5)]=0x1772]=_0xce3cd0(0x2f5),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x383)]=0x1773]=_0xce3cd0(0x383),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x312)]=0x1b59]=_0xce3cd0(0x312),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x43a)]=0x1b5a]=_0xce3cd0(0x43a),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2ba)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0xcd04ae[_0xcd04ae['APPLY_PERMISSION_DENIED']=0x1b5c]=_0xce3cd0(0x418),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3e1)]=0x1b5d]=_0xce3cd0(0x3e1),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3a5)]=0x1f41]=_0xce3cd0(0x3a5),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3ff)]=0x2329]=_0xce3cd0(0x3ff),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x24d)]=0x232a]=_0xce3cd0(0x24d),_0xcd04ae[_0xcd04ae['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0xcd04ae[_0xcd04ae['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x24c)]=0x232d]=_0xce3cd0(0x24c),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x38b)]=0x2711]=_0xce3cd0(0x38b),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x42f)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x373)]=0x2713]=_0xce3cd0(0x373),_0xcd04ae[_0xcd04ae['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0xce3cd0(0x359),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x31d)]=0x271a]=_0xce3cd0(0x31d),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x274)]=0x271b]=_0xce3cd0(0x274),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3ef)]=0x271c]=_0xce3cd0(0x3ef),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1e6)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x401)]=0x271e]=_0xce3cd0(0x401),_0xcd04ae[_0xcd04ae['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2d4)]=0x2720]=_0xce3cd0(0x2d4),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1b3)]=0x2af9]=_0xce3cd0(0x1b3),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x253)]=0x2ee1]=_0xce3cd0(0x253),_0xcd04ae[_0xcd04ae['INVALID_INVITE_CODE']=0x2ee2]=_0xce3cd0(0x212),_0xcd04ae[_0xcd04ae['INVITE_CODE_REQUIRED']=0x2ee3]=_0xce3cd0(0x29e),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x337)]=0x2ee4]=_0xce3cd0(0x337),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x215)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x18b)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2ec)]=0x32ca]=_0xce3cd0(0x2ec),_0xcd04ae[_0xcd04ae['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0xce3cd0(0x2b2),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x23e)]=0x36b1]=_0xce3cd0(0x23e),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x345)]=0x36b2]=_0xce3cd0(0x345),_0xcd04ae[_0xcd04ae['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0xce3cd0(0x35a),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x2fc)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1b5)]=0x36b5]=_0xce3cd0(0x1b5),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x35e)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0xcd04ae[_0xcd04ae['ENTITLE_COUPON_USED_UP']=0x36b7]=_0xce3cd0(0x1c0),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x387)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1be)]=0x3715]=_0xce3cd0(0x1be),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3de)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x1b6)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x233)]=0x37dd]=_0xce3cd0(0x233),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3af)]=0x3a99]=_0xce3cd0(0x3af),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x406)]=0x3a9a]=_0xce3cd0(0x406),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x3ea)]=0x3a9b]=_0xce3cd0(0x3ea),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x33c)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0xcd04ae[_0xcd04ae[_0xce3cd0(0x34a)]=0x3a9d]=_0xce3cd0(0x34a),_0xcd04ae[_0xcd04ae['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0xce3cd0(0x1e0),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x439)]=0x3a9f]=_0xce3cd0(0x439),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x284)]=0x3e81]=_0xce3cd0(0x284),_0xcd04ae[_0xcd04ae[_0xce3cd0(0x23f)]=-0x1]=_0xce3cd0(0x23f),_0xcd04ae))(_0x3f8266||{});function _0x59df2d(_0x1413d7){const _0x1b374e=_0xce3cd0;var _0x28dd71,_0x467043;const _0x104e51=(_0x28dd71=_0x1413d7['stageInfo'])==null?void 0x0:_0x28dd71[_0x1b374e(0x2e0)],_0x3d0813=((_0x467043=_0x1413d7[_0x1b374e(0x39a)])==null?void 0x0:_0x467043['totalFormulasToCalculate'])||0x0;return _0x104e51===_0x218d3f['FormulaExecuteStageType'][_0x1b374e(0x19f)]&&_0x3d0813>0x0;}function _0x4562a9(_0x5e1f5d){return _0x5e1f5d['functionsExecutedState']===_0x218d3f['FormulaExecutedStateType']['SUCCESS'];}var _0x2f01f2=Object[_0xce3cd0(0x3e7)],_0x1206dd=(_0x1b6e39,_0x4c10a5,_0x481fc5,_0x4faf39)=>{for(var _0xa60039=_0x4faf39>0x1?void 0x0:_0x4faf39?_0x2f01f2(_0x4c10a5,_0x481fc5):_0x4c10a5,_0x3fe4d1=_0x1b6e39['length']-0x1,_0x8918b2;_0x3fe4d1>=0x0;_0x3fe4d1--)(_0x8918b2=_0x1b6e39[_0x3fe4d1])&&(_0xa60039=_0x8918b2(_0xa60039)||_0xa60039);return _0xa60039;},_0x4181cf=(_0x3810b0,_0x366bbd)=>(_0xcf69cd,_0x25793b)=>_0x366bbd(_0xcf69cd,_0x25793b,_0x3810b0);const _0x5a8e9d=_0xce3cd0(0x370),_0x3d3bba='/universer-api/license/formula/limit/start',_0x3266f8='/universer-api/license/formula/limit/done';let _0x42b753=class extends _0x295c8f['Disposable']{constructor(_0x4d6edc,_0x3ef51c,_0x2ee521,_0x390c71,_0x150785,_0x51bec2,_0x446f6f){const _0x58903d=_0xce3cd0;super(),_0xef452e(this,_0x58903d(0x329),null),_0xef452e(this,'_maxFormulaLimit',0x0),_0xef452e(this,_0x58903d(0x3cd),0x0),_0xef452e(this,_0x58903d(0x33a),[]),_0xef452e(this,_0x58903d(0x25a),0x0),(this[_0x58903d(0x287)]=_0x4d6edc,this[_0x58903d(0x223)]=_0x3ef51c,this[_0x58903d(0x32b)]=_0x2ee521,this[_0x58903d(0x220)]=_0x390c71,this[_0x58903d(0x2a9)]=_0x150785,this[_0x58903d(0x22d)]=_0x51bec2,this[_0x58903d(0x3fb)]=_0x446f6f,this[_0x58903d(0x180)]());}['_initCommandInterceptor'](){const _0x317791=_0xce3cd0;this[_0x317791(0x43c)](this['_commandService'][_0x317791(0x369)]((_0x4cdb31,_0x18e888)=>{const _0x580803=_0x317791;var _0x4598af;if(_0x4cdb31['id']!==_0x218d3f[_0x580803(0x3f3)]['id'])return;const _0x414df5=_0x4cdb31[_0x580803(0x275)];if(!this['_hasFormulaInDirtyRanges']((_0x4598af=_0x414df5[_0x580803(0x3d8)])!=null?_0x4598af:[]))return;if(!this[_0x580803(0x3f1)]())throw this[_0x580803(0x31a)](_0x4cdb31,_0x18e888),this['_showGuardMessage'](),new _0x295c8f['CanceledError']();})),this['disposeWithMe'](this['_commandService'][_0x317791(0x19c)]((_0x159950,_0x499416)=>{const _0x341be3=_0x317791;if(_0x159950['id']!==_0x218d3f[_0x341be3(0x31e)]['id'])return;const _0x1d7f4d=_0x159950[_0x341be3(0x275)];if(_0x59df2d(_0x1d7f4d)){const _0x126e32=_0x295c8f[_0x341be3(0x17e)]();this[_0x341be3(0x33a)]['push'](_0x126e32),this['_startCalculationLimit'](_0x126e32);}else{if(_0x4562a9(_0x1d7f4d)&&this[_0x341be3(0x33a)]['length']>0x0){const _0x2fc38e=this[_0x341be3(0x33a)][_0x341be3(0x334)]();this[_0x341be3(0x442)](_0x2fc38e);}}}));}[_0xce3cd0(0x2a7)](){const _0x1000d6=_0xce3cd0;super[_0x1000d6(0x2a7)](),this[_0x1000d6(0x377)](),this['_taskIds']=[],this[_0x1000d6(0x3cd)]=0x0,this[_0x1000d6(0x355)]=0x0,this[_0x1000d6(0x25a)]=0x0;}async[_0xce3cd0(0x31a)](_0x367882,_0x3c7e48){const _0x1183ad=_0xce3cd0;for(let _0x249b74=0x0;_0x249b74<0x1e;_0x249b74++)try{if(await this[_0x1183ad(0x342)](),this[_0x1183ad(0x3f1)]()){this[_0x1183ad(0x2d9)](_0x367882,_0x3c7e48),this[_0x1183ad(0x287)]['show']({'content':this['_localeService']['t'](_0x1183ad(0x436)),'type':_0x599761[_0x1183ad(0x437)][_0x1183ad(0x18a)]});return;}await new Promise(_0x512d99=>{const _0x439bca=_0x1183ad;this[_0x439bca(0x329)]=window[_0x439bca(0x454)](_0x512d99,0x3e8);});}catch(_0x1edee7){this[_0x1183ad(0x22d)][_0x1183ad(0x1b1)](_0x1edee7);}this[_0x1183ad(0x287)][_0x1183ad(0x1b8)]({'content':this[_0x1183ad(0x3fb)]['t'](_0x1183ad(0x225)),'type':_0x599761[_0x1183ad(0x437)][_0x1183ad(0x25e)]});}['_applyCommand'](_0x259872,_0x1fd9f1){const _0x46dbb7=_0xce3cd0;try{this[_0x46dbb7(0x223)][_0x46dbb7(0x37e)](_0x259872['id'],_0x259872[_0x46dbb7(0x275)],_0x1fd9f1);}catch(_0x3df58c){this[_0x46dbb7(0x22d)][_0x46dbb7(0x1b1)](_0x3df58c);}}[_0xce3cd0(0x2eb)](_0x1651a7,_0x12bd71){const _0x2a9eb4=_0xce3cd0;_0x12bd71<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x12bd71,this[_0x2a9eb4(0x355)]=Number[_0x2a9eb4(0x276)](_0x1651a7[_0x2a9eb4(0x358)]),this['_currentUsage']=Number[_0x2a9eb4(0x276)](_0x1651a7[_0x2a9eb4(0x1ce)]));}async['_startCalculationLimit'](_0x579af2){const _0x32484d=_0xce3cd0;var _0x5bc4eb,_0x4c9c37;const _0x2d784f=Date[_0x32484d(0x1f1)]();try{const _0x23c881=((_0x5bc4eb=this[_0x32484d(0x32b)][_0x32484d(0x310)](_0x2cb61c[_0x32484d(0x271)]))==null?void 0x0:_0x5bc4eb['startFormulaLimitUrl'])||_0x3d3bba,_0xedc653=(await this['_httpService'][_0x32484d(0x165)](_0x23c881,{'body':JSON[_0x32484d(0x221)]({'taskId':_0x579af2})}))['body'];if(((_0x4c9c37=_0xedc653[_0x32484d(0x1b1)])==null?void 0x0:_0x4c9c37['code'])!==_0x3f8266['OK'])return;this[_0x32484d(0x2eb)](_0xedc653[_0x32484d(0x1fd)],_0x2d784f);}catch(_0x2dc7b2){this[_0x32484d(0x22d)][_0x32484d(0x1b1)](_0x2dc7b2);}}async[_0xce3cd0(0x342)](_0x4a5adf){const _0x3fd688=_0xce3cd0;var _0x1515c4,_0x1a8834;const _0x23c77c=Date[_0x3fd688(0x1f1)]();try{const _0x3a716e=((_0x1515c4=this[_0x3fd688(0x32b)][_0x3fd688(0x310)](_0x2cb61c[_0x3fd688(0x271)]))==null?void 0x0:_0x1515c4[_0x3fd688(0x2d2)])||_0x5a8e9d,_0x2da31d=_0x4a5adf?_0x3a716e+_0x3fd688(0x197)+encodeURIComponent(_0x4a5adf):_0x3a716e,_0x409876=(await this[_0x3fd688(0x220)][_0x3fd688(0x3fa)](_0x2da31d))['body'];if(((_0x1a8834=_0x409876[_0x3fd688(0x1b1)])==null?void 0x0:_0x1a8834[_0x3fd688(0x216)])!==_0x3f8266['OK'])return;this[_0x3fd688(0x2eb)](_0x409876['limitInfo'],_0x23c77c);}catch(_0x6b797a){this[_0x3fd688(0x22d)][_0x3fd688(0x1b1)](_0x6b797a);}}async[_0xce3cd0(0x442)](_0x3c0ea4){const _0x3fb985=_0xce3cd0;var _0x3289a2,_0x3d9a8b;const _0x37ced9=Date[_0x3fb985(0x1f1)]();try{const _0x54822f=((_0x3289a2=this['_configService'][_0x3fb985(0x310)](_0x2cb61c[_0x3fb985(0x271)]))==null?void 0x0:_0x3289a2['releaseFormulaLimitUrl'])||_0x3266f8,_0x11d6c8=(await this['_httpService']['post'](_0x54822f,{'body':JSON['stringify']({'taskId':_0x3c0ea4})}))[_0x3fb985(0x17d)];if(((_0x3d9a8b=_0x11d6c8[_0x3fb985(0x1b1)])==null?void 0x0:_0x3d9a8b[_0x3fb985(0x216)])!==_0x3f8266['OK'])return;this[_0x3fb985(0x2eb)](_0x11d6c8['limitInfo'],_0x37ced9);}catch(_0x54af2b){this[_0x3fb985(0x22d)]['error'](_0x54af2b);}}['_checkCalculationAvailable'](){const _0x239e14=_0xce3cd0;return this[_0x239e14(0x355)]===0x0?!0x0:this[_0x239e14(0x355)]-this[_0x239e14(0x3cd)]>0x0;}['_clearPolling'](){const _0x127c00=_0xce3cd0;this['_pollingInterval']&&(clearTimeout(this['_pollingInterval']),this[_0x127c00(0x329)]=null);}[_0xce3cd0(0x1c1)](){const _0x1d1640=_0xce3cd0;this[_0x1d1640(0x287)][_0x1d1640(0x1b8)]({'content':this[_0x1d1640(0x3fb)]['t'](_0x1d1640(0x1bb)),'type':_0x599761[_0x1d1640(0x437)][_0x1d1640(0x232)]});}[_0xce3cd0(0x15f)](_0x19a84d){const _0x51e345=_0xce3cd0;for(const _0xc45b9c of _0x19a84d){const {unitId:_0x394a30,sheetId:_0x3c2205,range:_0x5d661d}=_0xc45b9c,_0x546d5d=this['_univerInstanceService'][_0x51e345(0x158)](_0x394a30);if(!_0x546d5d)continue;const _0x13e930=_0x546d5d[_0x51e345(0x411)](_0x3c2205);if(!_0x13e930)continue;const _0x24a26a=_0x13e930[_0x51e345(0x27d)]();for(let _0x35cf53=_0x5d661d[_0x51e345(0x1ad)];_0x35cf53<=_0x5d661d[_0x51e345(0x361)];_0x35cf53++)for(let _0x19f6a4=_0x5d661d['startColumn'];_0x19f6a4<=_0x5d661d['endColumn'];_0x19f6a4++){const _0x57873e=_0x24a26a[_0x51e345(0x2a1)](_0x35cf53,_0x19f6a4);if(_0x57873e&&(_0x295c8f[_0x51e345(0x44f)](_0x57873e['f'])||_0x295c8f[_0x51e345(0x300)](_0x57873e['si'])))return!0x0;}}return!0x1;}};_0x42b753=_0x1206dd([_0x4181cf(0x0,_0x295c8f[_0xce3cd0(0x2fb)](_0x189b11[_0xce3cd0(0x1ab)])),_0x4181cf(0x1,_0x295c8f[_0xce3cd0(0x2f7)]),_0x4181cf(0x2,_0x295c8f[_0xce3cd0(0x3ec)]),_0x4181cf(0x3,_0x295c8f[_0xce3cd0(0x2fb)](_0x17ac2f[_0xce3cd0(0x440)])),_0x4181cf(0x4,_0x295c8f['IUniverInstanceService']),_0x4181cf(0x5,_0x295c8f[_0xce3cd0(0x29b)]),_0x4181cf(0x6,_0x295c8f['Inject'](_0x295c8f[_0xce3cd0(0x237)]))],_0x42b753);var _0x7e89c6=Object[_0xce3cd0(0x3e7)],_0x33ad81=(_0x3caf23,_0x81fbfc,_0x20def8,_0x41f4b1)=>{for(var _0x16ab70=_0x41f4b1>0x1?void 0x0:_0x41f4b1?_0x7e89c6(_0x81fbfc,_0x20def8):_0x81fbfc,_0x26b1cc=_0x3caf23['length']-0x1,_0x393cc3;_0x26b1cc>=0x0;_0x26b1cc--)(_0x393cc3=_0x3caf23[_0x26b1cc])&&(_0x16ab70=_0x393cc3(_0x16ab70)||_0x16ab70);return _0x16ab70;},_0x531a52=(_0xe47081,_0x5f1c39)=>(_0x3aa668,_0x2d29b6)=>_0x5f1c39(_0x3aa668,_0x2d29b6,_0xe47081);let _0x449712=class extends _0x295c8f[_0xce3cd0(0x1b9)]{constructor(_0x112f8f,_0x44a68f,_0x130e14){const _0x4955b9=_0xce3cd0;super(),_0xef452e(this,_0x4955b9(0x443),new Map()),_0xef452e(this,_0x4955b9(0x3ae),new Map()),_0xef452e(this,_0x4955b9(0x347),!0x1),(this['_configService']=_0x112f8f,this[_0x4955b9(0x316)]=_0x44a68f,this[_0x4955b9(0x1a8)]=_0x130e14);}[_0xce3cd0(0x1a3)](){const _0x1ae716=_0xce3cd0;this[_0x1ae716(0x347)]=!0x0;}[_0xce3cd0(0x1ff)](){const _0x58a060=_0xce3cd0;this[_0x58a060(0x347)]=!0x1;}get[_0xce3cd0(0x19e)](){const _0x46d760=_0xce3cd0;return this[_0x46d760(0x3ae)];}['dispose'](){const _0x3ee0ce=_0xce3cd0;this[_0x3ee0ce(0x1ed)]()[_0x3ee0ce(0x1af)](()=>super[_0x3ee0ce(0x2a7)]());}async[_0xce3cd0(0x2ad)](_0x1fb55f){const _0x335511=_0xce3cd0;return this['_disabled']?null:this[_0x335511(0x316)][_0x335511(0x364)](_0x2cb61c[_0x335511(0x1d7)](_0x1fb55f));}async[_0xce3cd0(0x371)](_0x28e6dd,_0x6941c0){const _0x1319c1=_0xce3cd0;return!!this[_0x1319c1(0x316)][_0x1319c1(0x183)](_0x28e6dd,_0x6941c0);}[_0xce3cd0(0x38c)](_0x8afd5f,_0x3404a5,_0x10e1ad,_0x127577){const _0x49c8d2=_0xce3cd0,_0x3a5876=this[_0x49c8d2(0x1a8)][_0x49c8d2(0x2ef)](_0x8afd5f);this['_cachedData'][_0x49c8d2(0x427)](_0x8afd5f,{'unitID':_0x8afd5f,'type':_0x3404a5,'awaitingChangeset':_0x10e1ad,'mutations':_0x127577,'rev':_0x3a5876}),this[_0x49c8d2(0x3ae)][_0x49c8d2(0x2d5)](_0x8afd5f)||this[_0x49c8d2(0x44e)](_0x8afd5f);}[_0xce3cd0(0x44e)](_0x26fc77){const _0xbe3366=_0xce3cd0,_0x1dd918=this[_0xbe3366(0x303)]();_0x1dd918===0x0?this[_0xbe3366(0x290)](_0x26fc77):this['_saveTaskMap']['set'](_0x26fc77,setTimeout(()=>this[_0xbe3366(0x290)](_0x26fc77),_0x1dd918));}[_0xce3cd0(0x303)](){const _0x1bc32b=_0xce3cd0;var _0x33cf27;return(_0x33cf27=this[_0x1bc32b(0x32b)][_0x1bc32b(0x310)](_0x2cb61c[_0x1bc32b(0x380)]))!=null?_0x33cf27:_0x2cb61c['LOCAL_CACHE_INTERVAL'];}[_0xce3cd0(0x290)](_0xe285cf){const _0x5dbc30=_0xce3cd0,_0x2c6ada=this[_0x5dbc30(0x3ae)][_0x5dbc30(0x3fa)](_0xe285cf);return _0x2c6ada!==void 0x0&&window[_0x5dbc30(0x38f)](_0x2c6ada),this[_0x5dbc30(0x316)][_0x5dbc30(0x183)](_0x2cb61c['getLocalCacheKey'](_0xe285cf),this[_0x5dbc30(0x443)][_0x5dbc30(0x3fa)](_0xe285cf))[_0x5dbc30(0x1af)](()=>this[_0x5dbc30(0x3ae)][_0x5dbc30(0x434)](_0xe285cf));}async[_0xce3cd0(0x1ed)](){const _0x3a6b6b=_0xce3cd0,_0x584c54=[];this[_0x3a6b6b(0x3ae)]['forEach']((_0x425559,_0x7d6dfd)=>{const _0x379969=_0x3a6b6b;window[_0x379969(0x38f)](_0x425559),_0x584c54[_0x379969(0x44a)](this[_0x379969(0x290)](_0x7d6dfd)['then'](()=>{const _0x47b30d=_0x379969;this['_saveTaskMap'][_0x47b30d(0x434)](_0x7d6dfd);}));}),await Promise[_0x3a6b6b(0x209)](_0x584c54);}};_0x449712=_0x33ad81([_0x531a52(0x0,_0x295c8f[_0xce3cd0(0x3ec)]),_0x531a52(0x1,_0x295c8f[_0xce3cd0(0x159)]),_0x531a52(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x143a87[_0xce3cd0(0x3c2)]))],_0x449712);class _0x342226 extends _0x295c8f[_0xce3cd0(0x1e5)]{constructor(){const _0x5f5660=_0xce3cd0;super(),_0xef452e(this,_0x5f5660(0x2e1)),this[_0x5f5660(0x2e1)]=_0x58c226[_0x5f5660(0x41b)](window,_0x5f5660(0x3e5))[_0x5f5660(0x2de)](_0x58c226['takeUntil'](this[_0x5f5660(0x269)]),_0x58c226[_0x5f5660(0x186)](0x1),_0x58c226[_0x5f5660(0x447)](void 0x0));}['setParam'](_0x20ca5f,_0x3e2cfc,_0x42d436=!0x1){const _0x4231df=_0xce3cd0,_0xe6e819=new URL(window[_0x4231df(0x207)][_0x4231df(0x356)]);_0xe6e819['searchParams'][_0x4231df(0x427)](_0x20ca5f,_0x3e2cfc),_0x42d436?window[_0x4231df(0x39c)][_0x4231df(0x349)]('','',_0xe6e819[_0x4231df(0x18c)]()):window[_0x4231df(0x39c)][_0x4231df(0x1b7)]('','',_0xe6e819[_0x4231df(0x18c)]());}[_0xce3cd0(0x1db)](_0x20243e,_0x343be1=!0x1){const _0x383f60=_0xce3cd0,_0x123858=new URL(window[_0x383f60(0x207)][_0x383f60(0x356)]);_0x123858[_0x383f60(0x317)]['delete'](_0x20243e),_0x343be1?window[_0x383f60(0x39c)]['replaceState']('','',_0x123858[_0x383f60(0x18c)]()):window[_0x383f60(0x39c)]['pushState']('','',_0x123858[_0x383f60(0x18c)]());}[_0xce3cd0(0x34d)](_0x1e15c3){const _0x38597e=_0xce3cd0;var _0x375c73;return(_0x375c73=new URL(window[_0x38597e(0x207)][_0x38597e(0x356)])['searchParams']['get'](_0x1e15c3))!=null?_0x375c73:void 0x0;}}var _0x189c15=Object[_0xce3cd0(0x295)],_0x210107=Object['getOwnPropertyDescriptor'],_0x504ae8=(_0x17a1bd,_0x4cba49,_0x263704)=>_0x4cba49 in _0x17a1bd?_0x189c15(_0x17a1bd,_0x4cba49,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x263704}):_0x17a1bd[_0x4cba49]=_0x263704,_0x1841ca=(_0x4a148f,_0x482303,_0x4a86a5,_0x38ab40)=>{const _0x4e818a=_0xce3cd0;for(var _0x4d0c9b=_0x38ab40>0x1?void 0x0:_0x38ab40?_0x210107(_0x482303,_0x4a86a5):_0x482303,_0x373c1d=_0x4a148f[_0x4e818a(0x37b)]-0x1,_0x5ab742;_0x373c1d>=0x0;_0x373c1d--)(_0x5ab742=_0x4a148f[_0x373c1d])&&(_0x4d0c9b=_0x5ab742(_0x4d0c9b)||_0x4d0c9b);return _0x4d0c9b;},_0x5e9c2e=(_0x114ea8,_0x571179)=>(_0x77567a,_0x53906d)=>_0x571179(_0x77567a,_0x53906d,_0x114ea8),_0x170801=(_0x54e9a0,_0x3b3456,_0x36ecfb)=>_0x504ae8(_0x54e9a0,_0x3b3456+'',_0x36ecfb);const _0x473e0c=_0xce3cd0(0x344);_0x38ae7f['UniverCollaborationClientUIPlugin']=class extends _0x295c8f[_0xce3cd0(0x2d6)]{constructor(_0x32b2e4=_0xf2bce4,_0x14adb1,_0x2c859a,_0x5ee614){const _0x41d5cc=_0xce3cd0;super(),this[_0x41d5cc(0x27f)]=_0x32b2e4,this[_0x41d5cc(0x3a8)]=_0x14adb1,this[_0x41d5cc(0x1f6)]=_0x2c859a,this[_0x41d5cc(0x32b)]=_0x5ee614;const {..._0x546e01}=_0x295c8f['merge']({},_0xf2bce4,this[_0x41d5cc(0x27f)]);this['_configService'][_0x41d5cc(0x218)](_0x1e1ed6,_0x546e01);}[_0xce3cd0(0x1a1)](){const _0x39fc6a=_0xce3cd0;this[_0x39fc6a(0x2fd)](),this[_0x39fc6a(0x184)]();}[_0xce3cd0(0x393)](){const _0xacd3ba=_0xce3cd0;this[_0xacd3ba(0x30c)]();}[_0xce3cd0(0x2fd)](){const _0x4646ff=_0xce3cd0;var _0x514729;const _0x2dbdc2=[[_0x12f6f6],[_0x42b753],[_0x5af825],[_0x13d4ed],[_0x214e70],[_0x109a2a],[_0x4d5ea0,{'useClass':_0x342226}],[_0x17ac2f[_0x4646ff(0x19a)],{'useClass':_0x17ac2f[_0x4646ff(0x25c)]}],[_0x2cb61c[_0x4646ff(0x21e)],{'useClass':_0x449712}],[_0x38ae7f[_0x4646ff(0x22e)]],[_0x9f9f49],[_0x220b52],[_0x150b36],[_0x2605d0],[_0x38ae7f[_0x4646ff(0x3a3)]]];this[_0x4646ff(0x27f)][_0x4646ff(0x2f3)]&&_0x2dbdc2[_0x4646ff(0x44a)]([_0x39c89f]),_0x295c8f[_0x4646ff(0x266)](this[_0x4646ff(0x1f6)],_0x295c8f[_0x4646ff(0x289)](_0x2dbdc2,(_0x514729=this['_config'])==null?void 0x0:_0x514729[_0x4646ff(0x435)]));}['_registerRenderDependencies'](){const _0x927a76=_0xce3cd0;this[_0x927a76(0x43c)](this['_renderManagerService'][_0x927a76(0x39b)](_0x295c8f[_0x927a76(0x1f4)][_0x927a76(0x308)],[_0x53604e])),this[_0x927a76(0x43c)](this[_0x927a76(0x3a8)][_0x927a76(0x39b)](_0x295c8f[_0x927a76(0x1f4)][_0x927a76(0x441)],[_0x883637]));}[_0xce3cd0(0x184)](){const _0x3b99a2=_0xce3cd0;_0x295c8f[_0x3b99a2(0x2e2)](this[_0x3b99a2(0x1f6)],[[_0x150b36],[_0x38ae7f[_0x3b99a2(0x22e)]],[_0x9f9f49],[_0x220b52],[_0x38ae7f[_0x3b99a2(0x3a3)]],[_0x42b753]]),this[_0x3b99a2(0x27f)][_0x3b99a2(0x2f3)]&&_0x295c8f['touchDependencies'](this[_0x3b99a2(0x1f6)],[[_0x39c89f]]);}},_0x170801(_0x38ae7f['UniverCollaborationClientUIPlugin'],_0xce3cd0(0x26e),_0x473e0c),_0x38ae7f[_0xce3cd0(0x3a7)]=_0x1841ca([_0x295c8f['DependentOn'](_0x2cb61c[_0xce3cd0(0x3bb)]),_0x5e9c2e(0x1,_0x8db91b[_0xce3cd0(0x455)]),_0x5e9c2e(0x2,_0x295c8f[_0xce3cd0(0x2fb)](_0x295c8f[_0xce3cd0(0x405)])),_0x5e9c2e(0x3,_0x295c8f[_0xce3cd0(0x3ec)])],_0x38ae7f['UniverCollaborationClientUIPlugin']);var _0x5c5821=Object[_0xce3cd0(0x3e7)],_0x262b3a=(_0x570aa9,_0x12130f,_0x35cdde,_0xe8f31c)=>{const _0x3847fa=_0xce3cd0;for(var _0x16b390=_0xe8f31c>0x1?void 0x0:_0xe8f31c?_0x5c5821(_0x12130f,_0x35cdde):_0x12130f,_0x154dab=_0x570aa9[_0x3847fa(0x37b)]-0x1,_0x40e0fd;_0x154dab>=0x0;_0x154dab--)(_0x40e0fd=_0x570aa9[_0x154dab])&&(_0x16b390=_0x40e0fd(_0x16b390)||_0x16b390);return _0x16b390;},_0x442ea6=(_0x35899d,_0x1cf839)=>(_0x4d72c4,_0x325fe8)=>_0x1cf839(_0x4d72c4,_0x325fe8,_0x35899d);_0x38ae7f[_0xce3cd0(0x35f)]=class extends _0x2cb61c[_0xce3cd0(0x42d)]{constructor(_0x189a3e,_0x4d61be,_0x959c4e,_0x1ddb9a,_0x1cb8de){super(_0x189a3e,_0x4d61be,_0x959c4e,_0x1ddb9a,_0x1cb8de);}async[_0xce3cd0(0x327)](_0x2690cd){const _0x9c3ad=_0xce3cd0,_0x15e648=await this[_0x9c3ad(0x2a4)](),_0x3178c6=this[_0x9c3ad(0x391)](_0x2690cd,_0x15e648);return this['_doCreateSocket'](_0x3178c6);}[_0xce3cd0(0x391)](_0x149f97,_0x234495){const _0x4bae79=_0xce3cd0,_0x3eef9c=typeof window>'u'?new URL(_0x149f97):new URL(_0x149f97,window['location']['origin']);_0x3eef9c[_0x4bae79(0x317)][_0x4bae79(0x427)]('sessionTicket',_0x234495);const _0x2796ab=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4bae79(0x207)]['search']);return _0x2796ab['get'](_0x4bae79(0x3d5))&&_0x3eef9c[_0x4bae79(0x317)]['set'](_0x4bae79(0x3d5),_0x2796ab[_0x4bae79(0x3fa)](_0x4bae79(0x3d5))),_0x3eef9c[_0x4bae79(0x18c)]();}async[_0xce3cd0(0x2a4)](){const _0x1ffeba=_0xce3cd0;var _0x5437e9,_0x92557d,_0x30e5ad;const _0x4b26e8=this[_0x1ffeba(0x32b)][_0x1ffeba(0x310)](_0x2cb61c[_0x1ffeba(0x271)]),_0x1aef92=(_0x5437e9=_0x4b26e8==null?void 0x0:_0x4b26e8[_0x1ffeba(0x30b)])!=null?_0x5437e9:_0x2cb61c[_0x1ffeba(0x397)];return(_0x30e5ad=(_0x92557d=(await this[_0x1ffeba(0x220)][_0x1ffeba(0x3fa)](_0x1aef92,{'headers':{'Content-Type':_0x1ffeba(0x3a4)}}))['body'])==null?void 0x0:_0x92557d[_0x1ffeba(0x2c3)])!=null?_0x30e5ad:'';}},_0x38ae7f[_0xce3cd0(0x35f)]=_0x262b3a([_0x442ea6(0x0,_0x295c8f['Inject'](_0x295c8f['Injector'])),_0x442ea6(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x17ac2f[_0xce3cd0(0x440)])),_0x442ea6(0x2,_0x295c8f[_0xce3cd0(0x3ec)]),_0x442ea6(0x3,_0x295c8f['ILogService']),_0x442ea6(0x4,_0x143a87['ISnapshotServerService'])],_0x38ae7f[_0xce3cd0(0x35f)]);var _0x159f39=Object[_0xce3cd0(0x3e7)],_0x23e401=(_0x1ee8d6,_0x139138,_0x5451ab,_0x3e5aba)=>{for(var _0x197aa=_0x3e5aba>0x1?void 0x0:_0x3e5aba?_0x159f39(_0x139138,_0x5451ab):_0x139138,_0x56013e=_0x1ee8d6['length']-0x1,_0x3dc2d6;_0x56013e>=0x0;_0x56013e--)(_0x3dc2d6=_0x1ee8d6[_0x56013e])&&(_0x197aa=_0x3dc2d6(_0x197aa)||_0x197aa);return _0x197aa;},_0x46d7ee=(_0x5499eb,_0x53c92b)=>(_0x2f6f53,_0x383e1f)=>_0x53c92b(_0x2f6f53,_0x383e1f,_0x5499eb);_0x38ae7f[_0xce3cd0(0x3b7)]=class extends _0x295c8f['Disposable']{constructor(_0xdc00b3,_0x5e2e57,_0x57bd4f){super(),this['_instanceService']=_0xdc00b3,this['_httpService']=_0x5e2e57,this['_configService']=_0x57bd4f;}async[_0xce3cd0(0x3d9)](_0x5cce66,_0x5b4cf9,_0x35e7a2,..._0x208282){const _0x3ee3a1=_0xce3cd0;var _0x1f6d14,_0x63d543,_0x116cfa,_0x45ecee;const _0x3ae3b2=this[_0x3ee3a1(0x301)][_0x3ee3a1(0x438)]();if(!_0x3ae3b2)throw new Error(_0x3ee3a1(0x40b));const _0x4af05d=((_0x1f6d14=this[_0x3ee3a1(0x32b)][_0x3ee3a1(0x310)](_0x2cb61c[_0x3ee3a1(0x2af)]))!=null?_0x1f6d14:_0x2cb61c['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x5cce66+_0x3ee3a1(0x22c)+_0x5b4cf9,_0x516992=new URL(window[_0x3ee3a1(0x207)][_0x3ee3a1(0x356)]),_0x1b1413={'scriptId':_0x5cce66,'runId':(_0x63d543=_0x516992[_0x3ee3a1(0x317)][_0x3ee3a1(0x3fa)](_0x3ee3a1(0x3d5)))!=null?_0x63d543:'','function':_0x5b4cf9,'unitId':_0x3ae3b2[_0x3ee3a1(0x41d)](),'argsOfFunction':JSON[_0x3ee3a1(0x221)](_0x208282),'invokeId':(_0x116cfa=_0x35e7a2['invokeId'])!=null?_0x116cfa:'','executionId':(_0x45ecee=_0x35e7a2[_0x3ee3a1(0x2fe)])!=null?_0x45ecee:''};try{const _0x174a48=await this[_0x3ee3a1(0x220)][_0x3ee3a1(0x165)](_0x4af05d,{'body':_0x1b1413});return _0x174a48[_0x3ee3a1(0x17d)][_0x3ee3a1(0x1b1)]&&_0x174a48[_0x3ee3a1(0x17d)]['error'][_0x3ee3a1(0x216)]!==_0x3f8266['OK']?_0x3ee3a1(0x293):_0x174a48[_0x3ee3a1(0x17d)][_0x3ee3a1(0x2ea)];}catch{return _0x3ee3a1(0x293);}}},_0x38ae7f['RemoteUniscriptService']=_0x23e401([_0x46d7ee(0x0,_0x295c8f[_0xce3cd0(0x16f)]),_0x46d7ee(0x1,_0x295c8f[_0xce3cd0(0x2fb)](_0x17ac2f[_0xce3cd0(0x440)])),_0x46d7ee(0x2,_0x295c8f['IConfigService'])],_0x38ae7f['RemoteUniscriptService']);const _0x10d2cb=0x7530,_0x1c9a75=_0xce3cd0(0x3cf);class _0x370626 extends _0x295c8f['Disposable']{constructor(){const _0x22375a=_0xce3cd0;super(),_0xef452e(this,_0x22375a(0x417),_0x295c8f[_0x22375a(0x17e)]()),_0xef452e(this,'_selfUnitIDs',new Set()),_0xef452e(this,_0x22375a(0x3e8),new Map()),_0xef452e(this,_0x22375a(0x292),null),_0xef452e(this,'_clearOtherTimers',new Map()),_0xef452e(this,_0x22375a(0x18f),new Map()),this[_0x22375a(0x30d)]();}[_0xce3cd0(0x2a7)](){const _0xa3b1db=_0xce3cd0;super[_0xa3b1db(0x2a7)](),this[_0xa3b1db(0x2b9)][_0xa3b1db(0x2e5)]((_0x106254,_0x790c78)=>this[_0xa3b1db(0x322)](_0x790c78)),this[_0xa3b1db(0x292)]&&window[_0xa3b1db(0x296)](this[_0xa3b1db(0x292)]);}['getUnitStatus$'](_0x1cbc68){const _0x67c42b=_0xce3cd0;return this['_ensureSubject'](_0x1cbc68)['pipe'](_0x58c226[_0x67c42b(0x3f4)]());}[_0xce3cd0(0x32e)](_0x3f9cc1){const _0x5220dd=_0xce3cd0;this[_0x5220dd(0x16a)][_0x5220dd(0x348)]===0x0&&this[_0x5220dd(0x379)](),this[_0x5220dd(0x16a)][_0x5220dd(0x3f9)](_0x3f9cc1),this['_send']({'type':0x0,'memberID':this[_0x5220dd(0x417)],'unitIDs':[_0x3f9cc1],'isForwarded':!0x1});}[_0xce3cd0(0x231)](_0x22044b){const _0x25ed5a=_0xce3cd0;this[_0x25ed5a(0x16a)][_0x25ed5a(0x434)](_0x22044b),this['_selfUnitIDs'][_0x25ed5a(0x348)]===0x0&&this['_heartbeatTimer']&&window[_0x25ed5a(0x296)](this['_heartbeatTimer']);}[_0xce3cd0(0x30d)](){const _0x57d4b6=_0xce3cd0;this[_0x57d4b6(0x43c)](_0x295c8f[_0x57d4b6(0x239)](_0x58c226[_0x57d4b6(0x41b)](window,_0x57d4b6(0x314))[_0x57d4b6(0x17f)](_0x1bac1f=>{const _0x3d8c1c=_0x57d4b6;if(_0x1bac1f[_0x3d8c1c(0x1f8)]!==_0x1c9a75||!_0x1bac1f[_0x3d8c1c(0x1f5)])return;const _0x5d45ae=JSON[_0x3d8c1c(0x2b1)](_0x1bac1f[_0x3d8c1c(0x1f5)]);this[_0x3d8c1c(0x30a)](_0x5d45ae);}))),window[_0x57d4b6(0x2e4)]('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x57d4b6(0x264)](this[_0x57d4b6(0x16a)])}));}['_handleEvent'](_0x953116){const _0x16934e=_0xce3cd0;switch(_0x953116[_0x16934e(0x273)]){case 0x0:this['_handleJoinEvent'](_0x953116);break;case 0x1:this[_0x16934e(0x313)](_0x953116);break;case 0x2:this['_handleHeartbeatEvent'](_0x953116);break;}}[_0xce3cd0(0x3a6)](_0x251d69){const _0x1cd04f=_0xce3cd0,{unitIDs:_0x44f337,memberID:_0x1c5232,isForwarded:_0x3fdcca}=_0x251d69;_0x44f337[_0x1cd04f(0x2e5)](_0x1a5556=>{const _0x313f64=_0x1cd04f;if(!_0x3fdcca&&this['_unitOnClients'][_0x313f64(0x2d5)](_0x1a5556)&&this[_0x313f64(0x176)](_0x1a5556)[_0x313f64(0x173)](_0x2cb61c['UnitStatus'][_0x313f64(0x178)]),!this[_0x313f64(0x3e8)]['has'](_0x1a5556)||!this['_unitOnClients'][_0x313f64(0x3fa)](_0x1a5556)['has'](_0x1c5232)){const _0x4d1467=this[_0x313f64(0x3e8)][_0x313f64(0x3fa)](_0x1a5556)||new Set();_0x4d1467[_0x313f64(0x3f9)](_0x1c5232),this[_0x313f64(0x3e8)][_0x313f64(0x427)](_0x1a5556,_0x4d1467),this[_0x313f64(0x363)](_0x1c5232);}}),_0x3fdcca||this[_0x1cd04f(0x320)]({'type':0x0,'memberID':this[_0x1cd04f(0x417)],'unitIDs':[...this[_0x1cd04f(0x16a)]],'isForwarded':!0x0});}[_0xce3cd0(0x363)](_0xfd213f){const _0x275ac2=_0xce3cd0;this[_0x275ac2(0x322)](_0xfd213f);const _0x5a6294=window[_0x275ac2(0x454)](()=>{const _0x55bfa8=_0x275ac2;this[_0x55bfa8(0x3e8)][_0x55bfa8(0x2e5)](_0x3ef0e5=>{const _0x1f9854=_0x55bfa8;_0x3ef0e5[_0x1f9854(0x434)](_0xfd213f);});},_0x10d2cb*0x2);this[_0x275ac2(0x2b9)][_0x275ac2(0x427)](_0xfd213f,_0x5a6294);}[_0xce3cd0(0x322)](_0xb1a272){const _0x501b7d=_0xce3cd0;if(this[_0x501b7d(0x2b9)]['has'](_0xb1a272)){const _0x2f6e92=this['_clearOtherTimers'][_0x501b7d(0x3fa)](_0xb1a272);_0x2f6e92&&window['clearTimeout'](_0x2f6e92),this[_0x501b7d(0x2b9)][_0x501b7d(0x427)](_0xb1a272,null);}}[_0xce3cd0(0x313)](_0x453a8d){const _0x621650=_0xce3cd0,{memberID:_0x3824be,unitIDs:_0x223c24}=_0x453a8d;_0x223c24['forEach'](_0x4767e6=>{const _0x32d60b=_0x2541;var _0x93098c;const _0x491db2=this['_unitOnClients']['get'](_0x4767e6);_0x491db2&&(_0x491db2['delete'](_0x3824be),(_0x93098c=this[_0x32d60b(0x176)](_0x4767e6))==null||_0x93098c[_0x32d60b(0x173)](_0x491db2[_0x32d60b(0x348)]===0x0?_0x2cb61c[_0x32d60b(0x428)][_0x32d60b(0x24f)]:_0x2cb61c['UnitStatus'][_0x32d60b(0x178)]));}),this[_0x621650(0x322)](_0x3824be);}['_handleHeartbeatEvent'](_0x37d3e4){const _0xe1748c=_0xce3cd0;this[_0xe1748c(0x363)](_0x37d3e4[_0xe1748c(0x3c4)]);}[_0xce3cd0(0x320)](_0x39772b){const _0x2d168b=_0xce3cd0;localStorage[_0x2d168b(0x183)](_0x1c9a75,JSON[_0x2d168b(0x221)](_0x39772b));}[_0xce3cd0(0x379)](){const _0xc58489=_0xce3cd0;this[_0xc58489(0x292)]=window[_0xc58489(0x3a1)](()=>{const _0x1977e4=_0xc58489;this[_0x1977e4(0x320)]({'type':0x2,'memberID':this['_id']});},_0x10d2cb);}['_ensureSubject'](_0x35d8b4){const _0x2f4aeb=_0xce3cd0;return this[_0x2f4aeb(0x18f)][_0x2f4aeb(0x2d5)](_0x35d8b4)||this[_0x2f4aeb(0x18f)][_0x2f4aeb(0x427)](_0x35d8b4,new _0x58c226[(_0x2f4aeb(0x43b))](_0x2cb61c['UnitStatus'][_0x2f4aeb(0x24f)])),this['_unitStatus'][_0x2f4aeb(0x3fa)](_0x35d8b4);}}_0x38ae7f['IURLService']=_0x4d5ea0,_0x38ae7f[_0xce3cd0(0x261)]=_0x3ee6ec,_0x38ae7f[_0xce3cd0(0x404)]=_0x370626,_0x38ae7f[_0xce3cd0(0x1d5)]=_0x342226,Object[_0xce3cd0(0x295)](_0x38ae7f,Symbol[_0xce3cd0(0x33e)],{'value':_0xce3cd0(0x360)});}));
1
+ function _0x4228(_0x4ecffb,_0x284eb8){_0x4ecffb=_0x4ecffb-0xd7;const _0x596ab9=_0x596a();let _0x4228f1=_0x596ab9[_0x4ecffb];return _0x4228f1;}(function(_0x4b71e8,_0x41ab71){const _0x15518d=_0x4228,_0x155e90=_0x4b71e8();while(!![]){try{const _0x324a47=-parseInt(_0x15518d(0x22b))/0x1+parseInt(_0x15518d(0x38a))/0x2*(-parseInt(_0x15518d(0x187))/0x3)+parseInt(_0x15518d(0x25b))/0x4*(parseInt(_0x15518d(0x1d2))/0x5)+-parseInt(_0x15518d(0x24d))/0x6+parseInt(_0x15518d(0x356))/0x7*(-parseInt(_0x15518d(0x2ed))/0x8)+parseInt(_0x15518d(0x24b))/0x9*(parseInt(_0x15518d(0x16c))/0xa)+-parseInt(_0x15518d(0x2bd))/0xb*(-parseInt(_0x15518d(0x35a))/0xc);if(_0x324a47===_0x41ab71)break;else _0x155e90['push'](_0x155e90['shift']());}catch(_0x45558d){_0x155e90['push'](_0x155e90['shift']());}}}(_0x596a,0xe101f),function(_0x1698cc,_0x594d2f){const _0xbed0f3=_0x4228;typeof exports==_0xbed0f3(0x1f1)&&typeof module<'u'?_0x594d2f(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==_0xbed0f3(0x39e)&&define[_0xbed0f3(0x1f4)]?define(['exports',_0xbed0f3(0x22c),_0xbed0f3(0x153),_0xbed0f3(0x15a),'@univerjs/ui','rxjs',_0xbed0f3(0x269),'react',_0xbed0f3(0x3c6),_0xbed0f3(0x1e0),'@univerjs/engine-render',_0xbed0f3(0x26d),'@univerjs/docs-ui',_0xbed0f3(0x235),_0xbed0f3(0x15c),_0xbed0f3(0x1a3),_0xbed0f3(0x309),_0xbed0f3(0x1b4),'@univerjs/sheets-ui'],_0x594d2f):(_0x1698cc=typeof globalThis<'u'?globalThis:_0x1698cc||self,_0x594d2f(_0x1698cc[_0xbed0f3(0x22a)]={},_0x1698cc[_0xbed0f3(0x2ca)],_0x1698cc[_0xbed0f3(0x35e)],_0x1698cc[_0xbed0f3(0x30a)],_0x1698cc['UniverUi'],_0x1698cc[_0xbed0f3(0x253)],_0x1698cc[_0xbed0f3(0x248)],_0x1698cc[_0xbed0f3(0x2ca)],_0x1698cc[_0xbed0f3(0x1d5)],_0x1698cc[_0xbed0f3(0x178)],_0x1698cc[_0xbed0f3(0x24e)],_0x1698cc['UniverNetwork'],_0x1698cc[_0xbed0f3(0x36f)],_0x1698cc[_0xbed0f3(0x322)],_0x1698cc[_0xbed0f3(0x312)],_0x1698cc[_0xbed0f3(0x133)],_0x1698cc[_0xbed0f3(0x1ff)],_0x1698cc[_0xbed0f3(0x253)][_0xbed0f3(0x182)],_0x1698cc[_0xbed0f3(0x3b6)]));}(this,function(_0x20f7e8,_0x47da45,_0x41f4b6,_0x415f18,_0x4fe70c,_0x5a105f,_0x119110,_0x5074ec,_0x3c3bf8,_0x5379f2,_0x364f72,_0x297528,_0x3a2aae,_0x30c6e3,_0xfd7b1f,_0x2673a2,_0x372566,_0x454a49,_0x792e46){'use strict';const _0x58d8a2=_0x4228;var _0x397241=Object[_0x58d8a2(0x210)],_0x2bc9d3=(_0x2a12cc,_0x55b9a6,_0x3d1170)=>_0x55b9a6 in _0x2a12cc?_0x397241(_0x2a12cc,_0x55b9a6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3d1170}):_0x2a12cc[_0x55b9a6]=_0x3d1170,_0x1a2e09=(_0xe6fdd,_0x13c0a0,_0x5829c3)=>_0x2bc9d3(_0xe6fdd,typeof _0x13c0a0!='symbol'?_0x13c0a0+'':_0x13c0a0,_0x5829c3);function _0xb15bd2({ref:_0x266b3d,..._0x78f105}){const _0x50f0c5=_0x58d8a2,{icon:_0xf36aa5,id:_0x4ca6e5,className:_0x40220a,extend:_0x2eb2ac,..._0x1e27e0}=_0x78f105,_0x6e1b37=(_0x50f0c5(0x24c)+_0x4ca6e5+'\x20'+(_0x40220a||''))['trim'](),_0x5bea9e=_0x5074ec[_0x50f0c5(0x100)]('_'+_0xe1b499());return _0x92c5f(_0xf36aa5,''+_0x4ca6e5,{'defIds':_0xf36aa5[_0x50f0c5(0x380)],'idSuffix':_0x5bea9e[_0x50f0c5(0x307)]},{'ref':_0x266b3d,'className':_0x6e1b37,..._0x1e27e0},_0x2eb2ac);}function _0x92c5f(_0x44f90c,_0x5b9de6,_0x4c53f8,_0x534722,_0x42d250){const _0x2a2b88=_0x58d8a2;return _0x5074ec['createElement'](_0x44f90c[_0x2a2b88(0x1e1)],{'key':_0x5b9de6,..._0x139c06(_0x44f90c,_0x4c53f8,_0x42d250),..._0x534722},(_0x3fb128(_0x44f90c,_0x4c53f8)[_0x2a2b88(0x306)]||[])[_0x2a2b88(0x349)]((_0x223daa,_0x472e80)=>_0x92c5f(_0x223daa,_0x5b9de6+'-'+_0x44f90c[_0x2a2b88(0x1e1)]+'-'+_0x472e80,_0x4c53f8,void 0x0,_0x42d250)));}function _0x139c06(_0x1e3175,_0x5b91db,_0x118c39){const _0x47e922=_0x58d8a2,_0x24fbec={..._0x1e3175[_0x47e922(0x33e)]};_0x118c39!=null&&_0x118c39[_0x47e922(0x324)]&&_0x24fbec[_0x47e922(0x276)]===_0x47e922(0x324)&&(_0x24fbec[_0x47e922(0x276)]=_0x118c39['colorChannel1']),_0x1e3175[_0x47e922(0x1e1)]===_0x47e922(0x164)&&_0x24fbec['id']&&(_0x24fbec['id']=_0x24fbec['id']+_0x5b91db[_0x47e922(0x330)]),Object[_0x47e922(0x39b)](_0x24fbec)[_0x47e922(0x10a)](([_0x3362bd,_0x37eed1])=>{const _0x4f811b=_0x47e922;_0x3362bd===_0x4f811b(0x164)&&typeof _0x37eed1==_0x4f811b(0x37e)&&(_0x24fbec[_0x3362bd]=_0x37eed1[_0x4f811b(0x111)](/url\(#(.*)\)/,_0x4f811b(0x12f)+_0x5b91db['idSuffix']+')'));});const {defIds:_0x50ff5f}=_0x5b91db;return!_0x50ff5f||_0x50ff5f[_0x47e922(0x1f7)]===0x0||(_0x1e3175[_0x47e922(0x1e1)]==='use'&&_0x24fbec['xlink:href']&&(_0x24fbec[_0x47e922(0x11b)]=_0x24fbec[_0x47e922(0x11b)]+_0x5b91db['idSuffix']),Object[_0x47e922(0x39b)](_0x24fbec)[_0x47e922(0x10a)](([_0x1c762d,_0x5f0410])=>{const _0x1acc26=_0x47e922;typeof _0x5f0410==_0x1acc26(0x37e)&&(_0x24fbec[_0x1c762d]=_0x5f0410[_0x1acc26(0x111)](/url\(#(.*)\)/,_0x1acc26(0x12f)+_0x5b91db['idSuffix']+')'));})),_0x24fbec;}function _0x3fb128(_0x355e60,_0x3a3029){const _0x4ccbc7=_0x58d8a2;var _0x21cb3a;const {defIds:_0x1df612}=_0x3a3029;return!_0x1df612||_0x1df612[_0x4ccbc7(0x1f7)]===0x0?_0x355e60:_0x355e60['tag']===_0x4ccbc7(0x158)&&((_0x21cb3a=_0x355e60[_0x4ccbc7(0x306)])!=null&&_0x21cb3a['length'])?{..._0x355e60,'children':_0x355e60[_0x4ccbc7(0x306)]['map'](_0x1b1784=>typeof _0x1b1784[_0x4ccbc7(0x33e)]['id']==_0x4ccbc7(0x37e)&&_0x1df612&&_0x1df612[_0x4ccbc7(0x263)](_0x1b1784[_0x4ccbc7(0x33e)]['id'])?{..._0x1b1784,'attrs':{..._0x1b1784[_0x4ccbc7(0x33e)],'id':_0x1b1784[_0x4ccbc7(0x33e)]['id']+_0x3a3029['idSuffix']}}:_0x1b1784)}:_0x355e60;}function _0xe1b499(){const _0x2815cb=_0x58d8a2;return Math[_0x2815cb(0x358)]()[_0x2815cb(0xff)](0x24)[_0x2815cb(0x2ea)](0x2,0x8);}_0xb15bd2[_0x58d8a2(0x106)]=_0x58d8a2(0x3c4);const _0x5592df={'tag':_0x58d8a2(0x256),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x58d8a2(0x3ab),'viewBox':'0\x200\x2016\x2016','width':_0x58d8a2(0x389),'height':_0x58d8a2(0x389)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','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':_0x58d8a2(0x28f),'strokeLinejoin':_0x58d8a2(0x28f),'strokeWidth':1.2}}]},{'tag':_0x58d8a2(0x158),'attrs':{},'children':[{'tag':_0x58d8a2(0x218),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x58d8a2(0x12c),'attrs':{'fill':_0x58d8a2(0x282),'d':_0x58d8a2(0xfb)}}]}]}],'defIds':[_0x58d8a2(0x374)]},_0x57bfdb=_0x5074ec[_0x58d8a2(0x2c7)](function(_0x41bd88,_0x2f8fc6){const _0x56705e=_0x58d8a2;return _0x5074ec[_0x56705e(0x23b)](_0xb15bd2,Object['assign']({},_0x41bd88,{'id':_0x56705e(0x2db),'ref':_0x2f8fc6,'icon':_0x5592df}));});_0x57bfdb[_0x58d8a2(0x106)]=_0x58d8a2(0x340);const _0x706f02={'tag':_0x58d8a2(0x256),'attrs':{'xmlns':_0x58d8a2(0x24f),'fill':_0x58d8a2(0x3ab),'viewBox':_0x58d8a2(0x274),'width':_0x58d8a2(0x389),'height':_0x58d8a2(0x389)},'children':[{'tag':'g','attrs':{'clipPath':_0x58d8a2(0x1ee)},'children':[{'tag':_0x58d8a2(0x12c),'attrs':{'stroke':_0x58d8a2(0x17a),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x58d8a2(0x28f),'strokeLinejoin':_0x58d8a2(0x28f),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x58d8a2(0x218),'attrs':{'id':_0x58d8a2(0x2c3)},'children':[{'tag':_0x58d8a2(0x12c),'attrs':{'fill':_0x58d8a2(0x282),'d':_0x58d8a2(0xfb),'transform':_0x58d8a2(0x1f5)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x5c1d82=_0x5074ec['forwardRef'](function(_0x3cfdc9,_0x199082){const _0x323d4c=_0x58d8a2;return _0x5074ec[_0x323d4c(0x23b)](_0xb15bd2,Object[_0x323d4c(0x294)]({},_0x3cfdc9,{'id':_0x323d4c(0x1ab),'ref':_0x199082,'icon':_0x706f02}));});_0x5c1d82[_0x58d8a2(0x106)]='OnLineIcon';function _0x4dd62b(_0x1d442e){const _0x54b074=_0x58d8a2;switch(_0x1d442e){case _0x41f4b6['CollaborationStatus'][_0x54b074(0xed)]:return'collabStatus.offline';case _0x41f4b6['CollaborationStatus'][_0x54b074(0x229)]:return _0x54b074(0xe1);case _0x41f4b6['CollaborationStatus']['FETCH_MISS']:return _0x54b074(0x215);case _0x41f4b6[_0x54b074(0x156)][_0x54b074(0x1ec)]:return'collabStatus.notCollab';case _0x41f4b6[_0x54b074(0x156)]['AWAITING']:case _0x41f4b6[_0x54b074(0x156)]['AWAITING_WITH_PENDING']:return _0x54b074(0x2d7);case _0x41f4b6[_0x54b074(0x156)][_0x54b074(0xde)]:case _0x41f4b6[_0x54b074(0x156)][_0x54b074(0x184)]:return _0x54b074(0x3c7);}}function _0x2ebfab(_0x3788f8){const _0x354f26=_0x58d8a2,{status$:_0x1a58b4}=_0x3788f8,_0x282a5d=_0x4fe70c['useObservable'](_0x1a58b4,_0x41f4b6['CollaborationStatus'][_0x354f26(0x1ec)]),_0x57efdb=_0x4fe70c['useDependency'](_0x415f18[_0x354f26(0x1f8)]),_0x437d1d=_0x4fe70c['useDependency'](_0x41f4b6[_0x354f26(0x20c)]),_0x54668d=_0x282a5d!==_0x41f4b6[_0x354f26(0x156)][_0x354f26(0xed)],_0x2fb517=_0x57efdb['t'](_0x4dd62b(_0x282a5d)),_0x362a8c=_0x54668d?_0x47da45[_0x354f26(0x3b4)](_0x5c1d82,{}):_0x47da45['jsx'](_0x57bfdb,{}),_0x258495=_0x5074ec['useCallback'](()=>{const _0x14936b=_0x354f26;_0x54668d||_0x437d1d[_0x14936b(0x377)]();},[_0x54668d,_0x437d1d]);function _0x2a5bc0(){const _0x33ece5=_0x354f26;return _0x47da45[_0x33ece5(0xfe)]('div',{'className':_0x33ece5(0x1ce),'onClick':_0x258495,'children':[_0x47da45[_0x33ece5(0x3b4)](_0x33ece5(0x121),{'className':_0x119110[_0x33ece5(0x361)](_0x33ece5(0x128),{'univer-text-green-500':_0x54668d,'univer-text-red-500':!_0x54668d}),'children':_0x362a8c}),_0x47da45[_0x33ece5(0x3b4)](_0x33ece5(0x121),{'className':_0x33ece5(0x3ac),'children':_0x2fb517})]});}return _0x54668d?_0x2a5bc0():_0x47da45[_0x354f26(0x3b4)](_0x119110[_0x354f26(0x32f)],{'title':_0x57efdb['t'](_0x354f26(0x148)),'children':_0x2a5bc0()});}var _0x530cc0=Object[_0x58d8a2(0x139)],_0x542f15=(_0x5141b8,_0xfa319d,_0x24557,_0x181a26)=>{const _0xbf9f86=_0x58d8a2;for(var _0x1a1ce9=_0x181a26>0x1?void 0x0:_0x181a26?_0x530cc0(_0xfa319d,_0x24557):_0xfa319d,_0x434190=_0x5141b8[_0xbf9f86(0x1f7)]-0x1,_0x2073e6;_0x434190>=0x0;_0x434190--)(_0x2073e6=_0x5141b8[_0x434190])&&(_0x1a1ce9=_0x2073e6(_0x1a1ce9)||_0x1a1ce9);return _0x1a1ce9;},_0x36964d=(_0x2e3c67,_0x1aeb91)=>(_0x2278a8,_0x9781c9)=>_0x1aeb91(_0x2278a8,_0x9781c9,_0x2e3c67);_0x20f7e8['DesktopCollaborationStatusDisplayController']=class extends _0x415f18[_0x58d8a2(0x1b2)]{constructor(_0x27d25a,_0x30f55b,_0x52fa50,_0x49d150){const _0x4d19a9=_0x58d8a2;super(),_0x1a2e09(this,_0x4d19a9(0x167),new _0x5a105f[(_0x4d19a9(0x379))](_0x41f4b6['CollaborationStatus'][_0x4d19a9(0x1ec)])),(this[_0x4d19a9(0x26c)]=_0x27d25a,this['_injector']=_0x30f55b,this[_0x4d19a9(0x39f)]=_0x52fa50,this[_0x4d19a9(0x179)]=_0x49d150,this[_0x4d19a9(0x183)](),this[_0x4d19a9(0x270)]());}[_0x58d8a2(0x270)](){const _0x472d8f=_0x58d8a2;this[_0x472d8f(0x1b7)](this[_0x472d8f(0x26c)][_0x472d8f(0x2a3)]['pipe'](_0x5a105f[_0x472d8f(0x398)](()=>{const _0xc1b0bb=_0x472d8f,_0x572523=this[_0xc1b0bb(0x26c)][_0xc1b0bb(0x1a5)]();return _0x572523?this[_0xc1b0bb(0x39f)][_0xc1b0bb(0x1aa)](_0x572523['getUnitId']()):_0x5a105f['of'](null);}),_0x5a105f[_0x472d8f(0x398)](_0x2605fe=>_0x2605fe?_0x2605fe[_0x472d8f(0x384)]:_0x5a105f['of'](_0x41f4b6[_0x472d8f(0x156)][_0x472d8f(0x1ec)])))[_0x472d8f(0x33b)](_0x1e35bf=>{this['_status$']['next'](_0x1e35bf);}));}['_initStatusComponent'](){const _0x4bdd7b=_0x58d8a2;this['disposeWithMe'](this[_0x4bdd7b(0x179)][_0x4bdd7b(0xf4)](_0x4fe70c['BuiltInUIPart'][_0x4bdd7b(0x2f4)],()=>_0x4fe70c['connectInjector'](_0x1761f6({'status$':this[_0x4bdd7b(0x167)]['asObservable']()}),this['_injector'])));}},_0x20f7e8[_0x58d8a2(0x13c)]=_0x542f15([_0x36964d(0x0,_0x415f18['IUniverInstanceService']),_0x36964d(0x1,_0x415f18['Inject'](_0x415f18['Injector'])),_0x36964d(0x2,_0x415f18[_0x58d8a2(0x284)](_0x41f4b6['CollaborationController'])),_0x36964d(0x3,_0x4fe70c['IUIPartsService'])],_0x20f7e8[_0x58d8a2(0x13c)]);function _0x1761f6(_0x55e5c3){const {status$:_0x491d64}=_0x55e5c3;return function(){const _0x320ffa=_0x4228;return _0x47da45[_0x320ffa(0x3b4)](_0x2ebfab,{'status$':_0x491d64});};}const _0x34b68f=_0x415f18['createIdentifier'](_0x58d8a2(0x281));var _0x154087=Object[_0x58d8a2(0x139)],_0x364d23=(_0x3e4896,_0x16915c,_0xe6f8c0,_0x455cdf)=>{for(var _0x1cac66=_0x455cdf>0x1?void 0x0:_0x455cdf?_0x154087(_0x16915c,_0xe6f8c0):_0x16915c,_0x3976d7=_0x3e4896['length']-0x1,_0x51ec40;_0x3976d7>=0x0;_0x3976d7--)(_0x51ec40=_0x3e4896[_0x3976d7])&&(_0x1cac66=_0x51ec40(_0x1cac66)||_0x1cac66);return _0x1cac66;},_0x4c4075=(_0x5b801c,_0x3f40ae)=>(_0x119aef,_0x3d77f5)=>_0x3f40ae(_0x119aef,_0x3d77f5,_0x5b801c);_0x20f7e8[_0x58d8a2(0x113)]=class extends _0x415f18[_0x58d8a2(0x101)]{constructor(_0x171714,_0x31a28c,_0x4a4080,_0x321836,_0x1e9a75){const _0x19dd87=_0x58d8a2;super(),this[_0x19dd87(0x32c)]=_0x171714,this['_logService']=_0x31a28c,this['_commandService']=_0x4a4080,this[_0x19dd87(0x19f)]=_0x321836,_0x1e9a75?_0x1e9a75==null||_0x1e9a75[_0x19dd87(0x107)]()['then'](()=>this[_0x19dd87(0x368)]()):(this['_logService'][_0x19dd87(0x1c7)](_0x19dd87(0x36d),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x58d8a2(0x368)](){const _0x25f7b2=_0x58d8a2,_0x3019af=this[_0x25f7b2(0x32c)][_0x25f7b2(0x2f2)](_0x25f7b2(0x1cb)),_0x5635eb=this[_0x25f7b2(0x32c)]['getParam']('type'),_0x2b4889=this[_0x25f7b2(0x32c)][_0x25f7b2(0x2f2)](_0x25f7b2(0x26b));if(!_0x3019af||!_0x5635eb){this['_logService'][_0x25f7b2(0x1c7)](_0x25f7b2(0x36d),_0x25f7b2(0x125));return;}const _0x2e55bc=await this[_0x25f7b2(0x19f)][_0x25f7b2(0x3a5)](_0x3019af,Number(_0x5635eb),_0x2b4889);_0x2e55bc&&_0x2e55bc instanceof _0x415f18[_0x25f7b2(0x16b)]&&this[_0x25f7b2(0x188)](_0x2e55bc);}async['_setupSubUnitSync'](_0x1f984e){const _0x44e7b9=_0x58d8a2;await this[_0x44e7b9(0x2af)](_0x1f984e),_0x1f984e['activeSheet$'][_0x44e7b9(0xef)](_0x5a105f[_0x44e7b9(0x203)](this[_0x44e7b9(0x17e)]))[_0x44e7b9(0x33b)](_0x1eb4c7=>{const _0x33733c=_0x44e7b9;_0x1eb4c7&&this[_0x33733c(0x348)](_0x1eb4c7);}),this[_0x44e7b9(0x32c)][_0x44e7b9(0x260)][_0x44e7b9(0xef)](_0x5a105f[_0x44e7b9(0x203)](this[_0x44e7b9(0x17e)]))[_0x44e7b9(0x33b)](()=>this[_0x44e7b9(0x2af)](_0x1f984e));}[_0x58d8a2(0x348)](_0x2afeb4,_0x57d1db=!0x1){const _0x3a54bc=_0x58d8a2,_0x258d15=this[_0x3a54bc(0x32c)][_0x3a54bc(0x2f2)](_0x3a54bc(0x26b));_0x2afeb4['getSheetId']()!==_0x258d15&&this['_urlService'][_0x3a54bc(0x29e)]('subunit',_0x2afeb4['getSheetId'](),_0x57d1db);}async[_0x58d8a2(0x2af)](_0x3392c9){const _0x1bb85b=_0x58d8a2;var _0x1fc269;const _0x22a004=this[_0x1bb85b(0x32c)][_0x1bb85b(0x2f2)](_0x1bb85b(0x26b));if(!_0x22a004||!_0x3392c9[_0x1bb85b(0x172)](_0x22a004)){const _0x2f256f=_0x3392c9[_0x1bb85b(0x3c3)]()[0x0],_0x3ab69d=_0x3392c9[_0x1bb85b(0x172)](_0x2f256f);if(!_0x3ab69d)return;this['_updateURLWithCurrentState'](_0x3ab69d,!0x0),await this['_commandService'][_0x1bb85b(0x3c0)](_0x5379f2['SetWorksheetActivateCommand']['id'],{'unitId':_0x3392c9[_0x1bb85b(0x277)](),'subUnitId':_0x2f256f});return;}((_0x1fc269=_0x3392c9[_0x1bb85b(0x11f)]())==null?void 0x0:_0x1fc269[_0x1bb85b(0x132)]())!==_0x22a004&&await this[_0x1bb85b(0x1de)][_0x1bb85b(0x3c0)](_0x5379f2['SetWorksheetActivateCommand']['id'],{'unitId':_0x3392c9[_0x1bb85b(0x277)](),'subUnitId':_0x22a004});}},_0x20f7e8[_0x58d8a2(0x113)]=_0x364d23([_0x4c4075(0x0,_0x34b68f),_0x4c4075(0x1,_0x415f18['ILogService']),_0x4c4075(0x2,_0x415f18[_0x58d8a2(0x22e)]),_0x4c4075(0x3,_0x415f18[_0x58d8a2(0x284)](_0x41f4b6[_0x58d8a2(0x231)])),_0x4c4075(0x4,_0x415f18['Optional'](_0x3c3bf8[_0x58d8a2(0x34d)]))],_0x20f7e8[_0x58d8a2(0x113)]);var _0x1af4eb=Object[_0x58d8a2(0x139)],_0x39856d=(_0xe5e87d,_0x3d3b95,_0x18d9c1,_0x204652)=>{const _0x465188=_0x58d8a2;for(var _0x270109=_0x204652>0x1?void 0x0:_0x204652?_0x1af4eb(_0x3d3b95,_0x18d9c1):_0x3d3b95,_0x1fb6e7=_0xe5e87d[_0x465188(0x1f7)]-0x1,_0x483d28;_0x1fb6e7>=0x0;_0x1fb6e7--)(_0x483d28=_0xe5e87d[_0x1fb6e7])&&(_0x270109=_0x483d28(_0x270109)||_0x270109);return _0x270109;},_0x511d91=(_0x5c32fe,_0x287012)=>(_0x196854,_0x2e62d6)=>_0x287012(_0x196854,_0x2e62d6,_0x5c32fe);let _0x4f2d52=class extends _0x415f18[_0x58d8a2(0x101)]{constructor(_0x1d96bb,_0x55f2ef){const _0x45876d=_0x58d8a2;super(),this[_0x45876d(0x1d3)]=_0x1d96bb,this['_imageIoService']=_0x55f2ef,this['_init']();}[_0x58d8a2(0x368)](){const _0x165b61=_0x58d8a2,_0x3d8475=this;this[_0x165b61(0x1b7)](this[_0x165b61(0x1d3)]['addClipboardHook']({'onBeforePasteImage':async _0xaf787f=>{const _0x478ae1=_0x165b61,_0x473dde=await _0x3d8475['_imageIoService'][_0x478ae1(0x320)](_0xaf787f);return _0x473dde?{'source':_0x473dde[_0x478ae1(0x3bd)],'imageSourceType':_0x473dde[_0x478ae1(0xdb)]}:null;}}));}};_0x4f2d52=_0x39856d([_0x511d91(0x0,_0x3a2aae[_0x58d8a2(0x395)]),_0x511d91(0x1,_0x30c6e3['IImageIoService'])],_0x4f2d52);const _0x1af191=[_0x58d8a2(0x25f),_0x58d8a2(0x119),_0x58d8a2(0x26e),'red.300',_0x58d8a2(0x118),_0x58d8a2(0x3a3)];class _0x1689eb extends _0x415f18['Disposable']{constructor(){const _0x4d4db9=_0x58d8a2;super(...arguments),_0x1a2e09(this,_0x4d4db9(0x197),new Map()),_0x1a2e09(this,_0x4d4db9(0x13b),0x0);}[_0x58d8a2(0x359)](_0x53a317){const _0x165a7c=_0x58d8a2;if(this['_assignedColors']['has'](_0x53a317))return this[_0x165a7c(0x197)][_0x165a7c(0x272)](_0x53a317);const _0x22e892=_0x1af191[this[_0x165a7c(0x13b)]];return this[_0x165a7c(0x13b)]=(this[_0x165a7c(0x13b)]+0x1)%_0x1af191['length'],this['_assignedColors'][_0x165a7c(0xfd)](_0x53a317,_0x22e892),_0x22e892;}}function _0x20bec0(_0x417ef9){const _0x2a528a=_0x58d8a2;let _0x177a1f='';for(const _0x17ee1e of _0x417ef9){const {startOffset:_0xe28df7,endOffset:_0x193d21,isActive:_0x581f3e,rangeType:_0x5ccf40,segmentId:_0x22a967,segmentPage:_0x16519f}=_0x17ee1e;_0x177a1f[_0x2a528a(0x1f7)]&&(_0x177a1f+=','),_0x177a1f+=_0xe28df7+':'+_0x193d21+':'+(_0x581f3e?'1':'0')+':'+_0x5ccf40+':'+_0x22a967+':'+_0x16519f;}return _0x177a1f;}function _0x34dadf(_0x211578){const _0x31e17e=_0x58d8a2,_0x552d87=_0x211578['split'](','),_0x18c23e=[];for(const _0x547374 of _0x552d87){const [_0x3120a1,_0x4ad732,_0x51a6d2,_0x575b9d,_0x14197b,_0xa9ebc8]=_0x547374[_0x31e17e(0x195)](':');_0x18c23e[_0x31e17e(0xec)]({'startOffset':Number(_0x3120a1),'endOffset':Number(_0x4ad732),'collapsed':_0x3120a1===_0x4ad732,'isActive':_0x51a6d2==='1','rangeType':_0x575b9d===_0x415f18[_0x31e17e(0x1ca)]['TEXT']?_0x415f18[_0x31e17e(0x1ca)]['TEXT']:_0x415f18['DOC_RANGE_TYPE'][_0x31e17e(0x137)],'segmentId':typeof _0x14197b==_0x31e17e(0x37e)?String(_0x14197b):'','segmentPage':Number(_0xa9ebc8!=null?_0xa9ebc8:-0x1)});}return _0x18c23e['some'](_0x152c69=>_0x152c69[_0x31e17e(0x37b)])||(_0x18c23e[0x0][_0x31e17e(0x37b)]=!0x0),_0x18c23e;}class _0x2905ba extends _0x415f18[_0x58d8a2(0x101)]{constructor(){const _0x908ad9=_0x58d8a2;super(...arguments),_0x1a2e09(this,'_collabCursorState$',new _0x5a105f[(_0x908ad9(0x379))](null)),_0x1a2e09(this,_0x908ad9(0x2e5),this[_0x908ad9(0x204)][_0x908ad9(0x18a)]());}[_0x58d8a2(0x304)](_0x16864d){const _0x490b08=_0x58d8a2,{unitID:_0x922952,memberID:_0x340438,textRanges:_0x5ee9ce}=_0x16864d,_0x4838a9=_0x20bec0(_0x5ee9ce);if(_0x4838a9==='')return;const _0x278c2b={'unitID':_0x922952,'memberID':_0x340438,'selection':_0x4838a9};this[_0x490b08(0x204)][_0x490b08(0x1a7)](_0x278c2b);}}var _0x2cfa3a=Object[_0x58d8a2(0x139)],_0x51f28e=(_0x51e708,_0x51830c,_0xcd4242,_0x44202a)=>{for(var _0x4f9b44=_0x44202a>0x1?void 0x0:_0x44202a?_0x2cfa3a(_0x51830c,_0xcd4242):_0x51830c,_0x108b7a=_0x51e708['length']-0x1,_0x52588e;_0x108b7a>=0x0;_0x108b7a--)(_0x52588e=_0x51e708[_0x108b7a])&&(_0x4f9b44=_0x52588e(_0x4f9b44)||_0x4f9b44);return _0x4f9b44;},_0x1f8844=(_0x4a3e99,_0x51015a)=>(_0x1154fb,_0x33869a)=>_0x51015a(_0x1154fb,_0x33869a,_0x4a3e99);const _0x25b8d4=0x12c,_0x150950=0x64;let _0x3b3246=class extends _0x415f18[_0x58d8a2(0x101)]{constructor(_0x3acc36,_0x3cb114,_0x3807c8,_0x4a46d6,_0x473468,_0x5d5c6f,_0x1e1313,_0x41a117,_0x39365d){const _0x113ce8=_0x58d8a2;super(),_0x1a2e09(this,_0x113ce8(0x175),!0x1),_0x1a2e09(this,_0x113ce8(0x368),!0x1),_0x1a2e09(this,_0x113ce8(0x1d7),new _0x5a105f[(_0x113ce8(0x379))](new Map())),_0x1a2e09(this,_0x113ce8(0x291),this[_0x113ce8(0x1d7)]['asObservable']()),_0x1a2e09(this,_0x113ce8(0x2ba),new _0x5a105f[(_0x113ce8(0x379))]([])),_0x1a2e09(this,_0x113ce8(0x185),this[_0x113ce8(0x2ba)]['pipe'](_0x5a105f[_0x113ce8(0xf1)](_0x25b8d4))),_0x1a2e09(this,'_updateLocalCursor',_0x415f18['debounce'](_0x27a80f=>{const _0x3f374d=_0x113ce8,_0x141b29={'eventID':_0xfd7b1f[_0x3f374d(0x372)][_0x3f374d(0x201)],'data':{'unitID':this[_0x3f374d(0x2ec)],'memberID':this[_0x3f374d(0x171)][_0x3f374d(0x299)](),'selection':_0x20bec0(_0x27a80f)}};this['_session'][_0x3f374d(0x308)](_0x141b29,this[_0x3f374d(0x2ec)]);},_0x150950)),(this['unitID']=_0x3acc36,this[_0x113ce8(0x171)]=_0x3cb114,this[_0x113ce8(0x129)]=_0x3807c8,this[_0x113ce8(0x391)]=_0x4a46d6,this[_0x113ce8(0x222)]=_0x473468,this['_syncEditingCollabCursorService']=_0x5d5c6f,this[_0x113ce8(0x32e)]=_0x1e1313,this[_0x113ce8(0x26c)]=_0x41a117,this['_commandService']=_0x39365d);}get[_0x58d8a2(0x1ef)](){const _0x4fd2b8=_0x58d8a2;return this[_0x4fd2b8(0x1d7)][_0x4fd2b8(0x177)]();}get[_0x58d8a2(0x11c)](){const _0x2faa30=_0x58d8a2;return this[_0x2faa30(0x2ba)][_0x2faa30(0x177)]();}['dispose'](){const _0x2530d3=_0x58d8a2;super['dispose'](),this[_0x2530d3(0x1d7)][_0x2530d3(0x1a7)](new Map()),this['_cursorInfo$'][_0x2530d3(0x318)](),this[_0x2530d3(0x2ba)][_0x2530d3(0x1a7)]([]),this[_0x2530d3(0x2ba)][_0x2530d3(0x318)]();}[_0x58d8a2(0x1e3)](){const _0x1b72d5=_0x58d8a2;this['_init']||(this[_0x1b72d5(0x368)]=!0x0,this[_0x1b72d5(0x171)][_0x1b72d5(0x2be)][_0x1b72d5(0xef)](_0x5a105f['takeUntil'](this[_0x1b72d5(0x17e)]))[_0x1b72d5(0x33b)](_0x27dc05=>{const _0x31b4b7=_0x1b72d5;_0x27dc05===_0x41f4b6[_0x31b4b7(0x18e)][_0x31b4b7(0x1d9)]?this[_0x31b4b7(0x22d)]():this['_toggleOffline']();}),this['_session'][_0x1b72d5(0x105)][_0x1b72d5(0xef)](_0x5a105f[_0x1b72d5(0x203)](this[_0x1b72d5(0x17e)]))[_0x1b72d5(0x33b)](_0x11b7cd=>{const _0x3f3500=_0x1b72d5,_0xa1b717=_0x11b7cd[_0x3f3500(0x2b5)];_0xa1b717===_0xfd7b1f[_0x3f3500(0x372)][_0x3f3500(0x201)]&&this[_0x3f3500(0x280)](_0x11b7cd),_0xa1b717===_0xfd7b1f['CollaborationEvent'][_0x3f3500(0x143)]&&this[_0x3f3500(0xf8)](_0x11b7cd);}),this[_0x1b72d5(0x1b7)](this[_0x1b72d5(0x1de)][_0x1b72d5(0x147)](_0xc61366=>{const _0x2a32cd=_0x1b72d5,_0x196909=_0xc61366['params'];_0x196909!=null&&this[_0x2a32cd(0x175)]&&_0xc61366['id']===_0x2673a2[_0x2a32cd(0x38d)]['id']&&_0x196909[_0x2a32cd(0x2e4)]===this[_0x2a32cd(0x2ec)]&&_0x196909[_0x2a32cd(0x15f)]===!0x1&&_0x196909[_0x2a32cd(0x28d)][_0x2a32cd(0x1f7)]>0x0&&this[_0x2a32cd(0x2b3)](_0x196909[_0x2a32cd(0x28d)]);})),this[_0x1b72d5(0x31b)][_0x1b72d5(0x2e5)]['pipe'](_0x5a105f[_0x1b72d5(0x203)](this[_0x1b72d5(0x17e)]))[_0x1b72d5(0x33b)](_0x4085fb=>{const _0x28e288=_0x1b72d5;if((_0x4085fb==null?void 0x0:_0x4085fb['unitID'])!==this[_0x28e288(0x2ec)])return;const _0x4765ad={'eventID':_0xfd7b1f[_0x28e288(0x372)][_0x28e288(0x201)],'data':_0x4085fb};this[_0x28e288(0x280)](_0x4765ad);}),this[_0x1b72d5(0x1b7)](this[_0x1b72d5(0x1de)]['onCommandExecuted'](_0x42eb02=>{const _0x14cb1b=_0x1b72d5;if(_0x42eb02['params']==null)return;const _0xa7e2a2=_0x42eb02[_0x14cb1b(0x209)];if(_0x42eb02['id']!==_0x2673a2[_0x14cb1b(0x29c)]['id']||_0xa7e2a2[_0x14cb1b(0x2e4)]!==this[_0x14cb1b(0x2ec)])return;const _0x66f9c5={'id':'doc.mutation.rich-text-editing','params':_0xa7e2a2},_0x38de04=this[_0x14cb1b(0x1ef)];for(const [_0x44642f,_0x233c6c]of _0x38de04){const _0x5b5965={'id':_0x14cb1b(0x202),'params':{'unitId':this[_0x14cb1b(0x2ec)],'actions':null,'textRanges':_0x233c6c[_0x14cb1b(0x28d)]}},_0x5a1952=this[_0x14cb1b(0x32e)][_0x14cb1b(0x2dc)](_0x66f9c5,_0x5b5965,!0x1);if(_0xfd7b1f[_0x14cb1b(0x362)](_0x5a1952))throw _0x5a1952[_0x14cb1b(0x1b0)];_0x38de04[_0x14cb1b(0xfd)](_0x44642f,{..._0x233c6c,'ranges':_0x5a1952[_0x14cb1b(0x300)]['params'][_0x14cb1b(0xe7)]});}queueMicrotask(()=>{const _0x268563=_0x14cb1b;this[_0x268563(0x1d7)]['next'](_0x38de04);});})));}[_0x58d8a2(0x280)](_0x4b6a82){const _0x53d92c=_0x58d8a2;var _0x5274bf,_0x3813d8;const {memberID:_0x17e0e3,selection:_0xd89a80}=_0x4b6a82[_0x53d92c(0x15b)],_0x2e80cd=_0x34dadf(_0xd89a80),_0x2d5d92=(_0x3813d8=(_0x5274bf=this[_0x53d92c(0x222)][_0x53d92c(0x2df)](this['unitID'],_0x17e0e3))==null?void 0x0:_0x5274bf[_0x53d92c(0x254)])!=null?_0x3813d8:_0x53d92c(0x279),_0x5976b8={'color':this['_colorAssignService'][_0x53d92c(0x359)](_0x17e0e3),'name':_0x2d5d92,'ranges':_0x2e80cd},_0x60e0db=this['cursorInfo'];_0x60e0db[_0x53d92c(0xfd)](_0x17e0e3,_0x5976b8),this[_0x53d92c(0x1d7)][_0x53d92c(0x1a7)](_0x60e0db);}[_0x58d8a2(0xf8)](_0x47e659){const _0x55ae83=_0x58d8a2,{memberID:_0x1e159f}=_0x47e659[_0x55ae83(0x15b)],_0x36c62f=this['cursorInfo'];_0x36c62f['delete'](_0x1e159f),this[_0x55ae83(0x1d7)][_0x55ae83(0x1a7)](_0x36c62f);}['_toggleOnline'](){const _0x3dde31=_0x58d8a2;var _0xe9f8f5;if(this[_0x3dde31(0x175)]=!0x0,((_0xe9f8f5=this[_0x3dde31(0x26c)]['getFocusedUnit']())==null?void 0x0:_0xe9f8f5[_0x3dde31(0x277)]())!==this[_0x3dde31(0x2ec)])return;const _0xc0f52c=this[_0x3dde31(0x129)][_0x3dde31(0x272)](_0x2673a2[_0x3dde31(0x367)])[_0x3dde31(0x14f)]();Array[_0x3dde31(0x2bb)](_0xc0f52c)&&_0xc0f52c['length']>0x0&&this[_0x3dde31(0x2b3)](_0xc0f52c);}[_0x58d8a2(0x36a)](){const _0x487f54=_0x58d8a2;this[_0x487f54(0x175)]=!0x1;}};_0x3b3246=_0x51f28e([_0x1f8844(0x2,_0x415f18[_0x58d8a2(0x284)](_0x415f18[_0x58d8a2(0x3a7)])),_0x1f8844(0x3,_0x415f18[_0x58d8a2(0x284)](_0x1689eb)),_0x1f8844(0x4,_0x415f18[_0x58d8a2(0x284)](_0x41f4b6['MemberService'])),_0x1f8844(0x5,_0x415f18[_0x58d8a2(0x284)](_0x2905ba)),_0x1f8844(0x6,_0xfd7b1f[_0x58d8a2(0x219)]),_0x1f8844(0x7,_0x415f18[_0x58d8a2(0x288)]),_0x1f8844(0x8,_0x415f18['ICommandService'])],_0x3b3246);var _0x2ab4bc=Object['getOwnPropertyDescriptor'],_0x4c9ac1=(_0x195987,_0x150399,_0xa8aa69,_0x25e4b6)=>{const _0x5569b0=_0x58d8a2;for(var _0x43eea3=_0x25e4b6>0x1?void 0x0:_0x25e4b6?_0x2ab4bc(_0x150399,_0xa8aa69):_0x150399,_0x468446=_0x195987[_0x5569b0(0x1f7)]-0x1,_0x11ee99;_0x468446>=0x0;_0x468446--)(_0x11ee99=_0x195987[_0x468446])&&(_0x43eea3=_0x11ee99(_0x43eea3)||_0x43eea3);return _0x43eea3;},_0x514fe7=(_0x3a8f9c,_0x50bd87)=>(_0x20a6b2,_0x193c3c)=>_0x50bd87(_0x20a6b2,_0x193c3c,_0x3a8f9c);const _0x35f54a=0x12c,_0x49993e=0x64,_0x3c2cb2=()=>{let _0x2a29f5=[],_0x28c133=!0x1;return _0xc1331a=>{const _0x2f9bac=_0x4228;_0x2a29f5[_0x2f9bac(0xec)](_0xc1331a),_0x28c133||(_0x28c133=!0x0,setTimeout(()=>{const _0x30be06=_0x2f9bac;_0x2a29f5[_0x30be06(0x10a)](_0x2e331e=>_0x2e331e()),_0x2a29f5=[],_0x28c133=!0x1;}));};};let _0x16737f=class extends _0x415f18[_0x58d8a2(0x101)]{constructor(_0x3fcdc1,_0x48c90d,_0x4218c3,_0x3134b6,_0x408f4a,_0x29b2b4,_0x282719,_0xb7dfa1){const _0x4e2438=_0x58d8a2;super(),_0x1a2e09(this,_0x4e2438(0x175),!0x1),_0x1a2e09(this,_0x4e2438(0x368),!0x1),_0x1a2e09(this,_0x4e2438(0x1d7),new _0x5a105f[(_0x4e2438(0x379))](new Map())),_0x1a2e09(this,_0x4e2438(0x291),this[_0x4e2438(0x1d7)][_0x4e2438(0x18a)]()),_0x1a2e09(this,_0x4e2438(0x2ba),new _0x5a105f['BehaviorSubject']([])),_0x1a2e09(this,_0x4e2438(0x185),this[_0x4e2438(0x2ba)][_0x4e2438(0xef)](_0x5a105f[_0x4e2438(0xf1)](_0x35f54a))),_0x1a2e09(this,_0x4e2438(0x2b3),_0x415f18['debounce']((_0x26ef6c,_0x102a19)=>{const _0x2f3ea1=_0x4e2438,_0x545fe2={'eventID':_0xfd7b1f[_0x2f3ea1(0x372)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x2f3ea1(0x2ec)],'memberID':this['_session'][_0x2f3ea1(0x299)](),'selection':_0x372566[_0x2f3ea1(0x192)](_0x26ef6c,_0x102a19[_0x2f3ea1(0x305)])}};this[_0x2f3ea1(0x171)]['send'](_0x545fe2,this['unitID']);},_0x49993e)),(this[_0x4e2438(0x2ec)]=_0x3fcdc1,this[_0x4e2438(0x171)]=_0x48c90d,this[_0x4e2438(0x129)]=_0x4218c3,this[_0x4e2438(0x391)]=_0x3134b6,this['_memberService']=_0x408f4a,this[_0x4e2438(0x26c)]=_0x29b2b4,this[_0x4e2438(0x1de)]=_0x282719,this['_refRangeService']=_0xb7dfa1);}get[_0x58d8a2(0x1ef)](){const _0x381026=_0x58d8a2;return this[_0x381026(0x1d7)][_0x381026(0x177)]();}get['roomMembers'](){const _0x5d946a=_0x58d8a2;return this[_0x5d946a(0x2ba)][_0x5d946a(0x177)]();}[_0x58d8a2(0x126)](){const _0x805257=_0x58d8a2;super[_0x805257(0x126)](),this[_0x805257(0x1d7)][_0x805257(0x1a7)](new Map()),this[_0x805257(0x1d7)][_0x805257(0x318)](),this[_0x805257(0x2ba)][_0x805257(0x1a7)]([]),this[_0x805257(0x2ba)][_0x805257(0x318)]();}[_0x58d8a2(0x1e3)](){const _0x1125e7=_0x58d8a2;this[_0x1125e7(0x368)]||(this[_0x1125e7(0x368)]=!0x0,this[_0x1125e7(0x171)][_0x1125e7(0x2be)][_0x1125e7(0xef)](_0x5a105f[_0x1125e7(0x203)](this[_0x1125e7(0x17e)]))['subscribe'](_0x7d6cac=>{const _0x16147e=_0x1125e7;_0x7d6cac===_0x41f4b6['SessionStatus'][_0x16147e(0x1d9)]?this['_toggleOnline']():this[_0x16147e(0x36a)]();}),this['_session']['event$'][_0x1125e7(0xef)](_0x5a105f[_0x1125e7(0x203)](this[_0x1125e7(0x17e)]))[_0x1125e7(0x33b)](_0x167eaa=>{const _0x10e40a=_0x1125e7,_0x720f8b=_0x167eaa['eventID'];_0x720f8b===_0xfd7b1f[_0x10e40a(0x372)][_0x10e40a(0x201)]&&this[_0x10e40a(0x280)](_0x167eaa),_0x720f8b===_0xfd7b1f['CollaborationEvent']['USERS_LEAVE']&&this[_0x10e40a(0xf8)](_0x167eaa);}),this[_0x1125e7(0x21a)](),this[_0x1125e7(0x1b7)](this[_0x1125e7(0x1de)]['onCommandExecuted'](_0x508200=>{const _0xdcc236=_0x1125e7;if(this[_0xdcc236(0x175)]&&_0x508200['id']===_0x5379f2['SetSelectionsOperation']['id']&&_0x508200[_0xdcc236(0x209)][_0xdcc236(0x2e4)]===this[_0xdcc236(0x2ec)]){const _0x3ba9ef=_0x508200['params'];this['_updateLocalCursor'](_0x3ba9ef[_0xdcc236(0x34a)],_0x3ba9ef[_0xdcc236(0x289)][0x0]);}})));}['_onCursorUpdate'](_0x6f1730){const _0x5dd45f=_0x58d8a2;var _0x42e0ae,_0x4652bf;const {memberID:_0x62e7ab,selection:_0xf2f062}=_0x6f1730[_0x5dd45f(0x15b)],{sheetName:_0x40cc74,range:_0x39acaa}=_0x372566[_0x5dd45f(0x141)](_0xf2f062),_0x386f43={'name':(_0x4652bf=(_0x42e0ae=this[_0x5dd45f(0x222)][_0x5dd45f(0x2df)](this['unitID'],_0x62e7ab))==null?void 0x0:_0x42e0ae[_0x5dd45f(0x254)])!=null?_0x4652bf:_0x5dd45f(0x279),'range':this['_getMergeRange'](_0x40cc74,_0x39acaa),'sheetID':_0x40cc74,'color':this[_0x5dd45f(0x391)][_0x5dd45f(0x359)](_0x62e7ab),'selection':_0xf2f062},_0x23f554=this[_0x5dd45f(0x1ef)];_0x23f554['set'](_0x62e7ab,_0x386f43),this[_0x5dd45f(0x1d7)][_0x5dd45f(0x1a7)](_0x23f554);}['_onCursorDelete'](_0x2eadc4){const _0x3f8641=_0x58d8a2,{memberID:_0x1b5395}=_0x2eadc4[_0x3f8641(0x15b)],_0x254941=this[_0x3f8641(0x1ef)];_0x254941[_0x3f8641(0x2e2)](_0x1b5395),this[_0x3f8641(0x1d7)]['next'](_0x254941);}[_0x58d8a2(0x103)](_0x3876c1,_0x2a4e49){const _0x654ad7=_0x58d8a2;var _0x5df647,_0x25a951;const _0x250d7c=(_0x25a951=(_0x5df647=this[_0x654ad7(0x26c)][_0x654ad7(0x2e3)](this[_0x654ad7(0x2ec)]))==null?void 0x0:_0x5df647[_0x654ad7(0x172)](_0x3876c1))==null?void 0x0:_0x25a951[_0x654ad7(0x1a8)]();return(_0x250d7c==null?void 0x0:_0x250d7c[_0x654ad7(0x225)](_0x4d5b49=>_0x415f18[_0x654ad7(0x2b9)][_0x654ad7(0x36b)](_0x4d5b49,_0x2a4e49)))||_0x2a4e49;}[_0x58d8a2(0x21a)](){const _0x4e2f7c=_0x58d8a2,_0x456c35=new _0x415f18['DisposableCollection'](),_0x79caf2=_0x3c2cb2(),_0x5a8156=()=>{const _0xcbbb52=_0x4228;_0x456c35[_0xcbbb52(0x126)]();const _0x4fab25=(_0x154012,_0x5d7650,_0x111deb,_0x267a56)=>{const _0x42d258=_0xcbbb52;let _0xb2dc05=[];switch(_0x154012['id']){case _0x5379f2[_0x42d258(0x2d2)][_0x42d258(0x2f1)]:{_0xb2dc05=_0x5379f2['handleDeleteRangeMoveLeft'](_0x154012,_0x267a56);break;}case _0x5379f2[_0x42d258(0x2d2)][_0x42d258(0x38f)]:{_0xb2dc05=_0x5379f2[_0x42d258(0x392)](_0x154012,_0x267a56);break;}case _0x5379f2[_0x42d258(0x2d2)][_0x42d258(0x357)]:{_0xb2dc05=_0x5379f2['handleInsertCol'](_0x154012,_0x267a56);break;}case _0x5379f2[_0x42d258(0x2d2)][_0x42d258(0x17b)]:{_0xb2dc05=_0x5379f2[_0x42d258(0x35f)](_0x154012,_0x267a56);break;}case _0x5379f2[_0x42d258(0x2d2)][_0x42d258(0x36e)]:{_0xb2dc05=_0x5379f2[_0x42d258(0x323)](_0x154012,_0x267a56);break;}case _0x5379f2[_0x42d258(0x2d2)][_0x42d258(0x2ee)]:{_0xb2dc05=_0x5379f2['handleInsertRow'](_0x154012,_0x267a56);break;}case _0x5379f2[_0x42d258(0x2d2)][_0x42d258(0x1ad)]:{_0xb2dc05=_0x5379f2[_0x42d258(0xdc)](_0x154012,_0x267a56);break;}case _0x5379f2[_0x42d258(0x2d2)][_0x42d258(0x211)]:{_0xb2dc05=_0x5379f2[_0x42d258(0x2c4)](_0x154012,_0x267a56);break;}case _0x5379f2[_0x42d258(0x2d2)][_0x42d258(0x2cb)]:{_0xb2dc05=_0x5379f2[_0x42d258(0x286)](_0x154012,_0x267a56);break;}}const _0x4d6624=_0x5379f2['runRefRangeMutations'](_0xb2dc05,_0x267a56),_0x2eb974=this[_0x42d258(0x1ef)][_0x42d258(0x272)](_0x5d7650);if(_0x2eb974&&_0x4d6624){const _0x513b49={..._0x2eb974,'range':_0x4d6624};this[_0x42d258(0x1ef)]['set'](_0x5d7650,_0x513b49),_0x79caf2(()=>{const _0x11ac0a=_0x42d258,_0x5cfab9=this[_0x11ac0a(0x1cc)][_0x11ac0a(0x2d8)](_0x4d6624,_0x270209=>(_0x5cfab9[_0x11ac0a(0x126)](),_0x4fab25(_0x270209,_0x5d7650,_0x111deb,_0x4d6624)));_0x456c35[_0x11ac0a(0x2a9)](_0x5cfab9);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0xcbbb52(0x10a)]((_0x3a601a,_0x476e02)=>{const _0x419755=_0xcbbb52,{range:_0xd123fb,sheetID:_0x83a98d}=_0x3a601a,_0x3118de=this[_0x419755(0x1cc)][_0x419755(0x2d8)](_0xd123fb,_0x33f57e=>(_0x3118de[_0x419755(0x126)](),_0x4fab25(_0x33f57e,_0x476e02,_0x83a98d,_0xd123fb)));_0x456c35[_0x419755(0x2a9)](_0x3118de);});};this['disposeWithMe'](_0x415f18[_0x4e2f7c(0x11a)](this[_0x4e2f7c(0x1d7)]['subscribe'](()=>{_0x5a8156();})));}[_0x58d8a2(0x22d)](){const _0x55fd6e=_0x58d8a2;var _0x9d3eeb,_0x3256b9;if(this['_online']=!0x0,((_0x9d3eeb=this[_0x55fd6e(0x26c)][_0x55fd6e(0x1a5)]())==null?void 0x0:_0x9d3eeb['getUnitId']())!==this[_0x55fd6e(0x2ec)])return;const _0x42a683=(_0x3256b9=this[_0x55fd6e(0x129)][_0x55fd6e(0x272)](_0x5379f2['SheetsSelectionsService'])[_0x55fd6e(0x1d4)]())==null?void 0x0:_0x3256b9[0x0],_0x1746ca=this['_univerInstanceService'][_0x55fd6e(0x1e4)](_0x415f18['UniverInstanceType'][_0x55fd6e(0x3ad)])[_0x55fd6e(0x11f)]();_0x42a683&&_0x1746ca&&this[_0x55fd6e(0x2b3)](_0x1746ca[_0x55fd6e(0x132)](),_0x42a683);}[_0x58d8a2(0x36a)](){const _0x5655e6=_0x58d8a2;this[_0x5655e6(0x175)]=!0x1;}};_0x16737f=_0x4c9ac1([_0x514fe7(0x2,_0x415f18[_0x58d8a2(0x284)](_0x415f18[_0x58d8a2(0x3a7)])),_0x514fe7(0x3,_0x415f18[_0x58d8a2(0x284)](_0x1689eb)),_0x514fe7(0x4,_0x415f18[_0x58d8a2(0x284)](_0x41f4b6['MemberService'])),_0x514fe7(0x5,_0x415f18[_0x58d8a2(0x288)]),_0x514fe7(0x6,_0x415f18[_0x58d8a2(0x22e)]),_0x514fe7(0x7,_0x415f18[_0x58d8a2(0x284)](_0x5379f2[_0x58d8a2(0x2ae)]))],_0x16737f);var _0x4d3484=Object[_0x58d8a2(0x139)],_0x31d861=(_0x2ef95c,_0x19379e,_0x45d326,_0x4d4f31)=>{const _0x2dc149=_0x58d8a2;for(var _0x13d4bc=_0x4d4f31>0x1?void 0x0:_0x4d4f31?_0x4d3484(_0x19379e,_0x45d326):_0x19379e,_0x122c0d=_0x2ef95c[_0x2dc149(0x1f7)]-0x1,_0x356f51;_0x122c0d>=0x0;_0x122c0d--)(_0x356f51=_0x2ef95c[_0x122c0d])&&(_0x13d4bc=_0x356f51(_0x13d4bc)||_0x13d4bc);return _0x13d4bc;},_0x3b55cb=(_0x11b64b,_0x199c50)=>(_0x2ff989,_0x3d9fb4)=>_0x199c50(_0x2ff989,_0x3d9fb4,_0x11b64b);let _0x49cf8d=class extends _0x415f18[_0x58d8a2(0x101)]{constructor(_0x2f81e1,_0x358058,_0x35322b){const _0x32cd6d=_0x58d8a2;super(),_0x1a2e09(this,'_entities',new Map()),_0x1a2e09(this,'_entityInit$',new _0x5a105f[(_0x32cd6d(0x351))]()),(this[_0x32cd6d(0x26c)]=_0x2f81e1,this['_injector']=_0x358058,this[_0x32cd6d(0x1c4)]=_0x35322b,this[_0x32cd6d(0x368)]());}[_0x58d8a2(0x126)](){const _0x1e1f83=_0x58d8a2;super[_0x1e1f83(0x126)](),this[_0x1e1f83(0x17f)][_0x1e1f83(0x318)](),this[_0x1e1f83(0x399)][_0x1e1f83(0x10a)](_0x1c9a54=>_0x1c9a54[_0x1e1f83(0x126)]());}[_0x58d8a2(0x370)](_0x55cf0){const _0x50282e=_0x58d8a2;return this[_0x50282e(0x399)]['has'](_0x55cf0)?this[_0x50282e(0x399)][_0x50282e(0x272)](_0x55cf0)[_0x50282e(0x291)]:this[_0x50282e(0x17f)][_0x50282e(0xef)](_0x5a105f['filter'](_0x2d2ccd=>_0x2d2ccd[_0x50282e(0x2ec)]===_0x55cf0),_0x5a105f[_0x50282e(0x398)](_0xfbcc10=>_0xfbcc10[_0x50282e(0x291)]));}[_0x58d8a2(0x368)](){const _0x40290d=_0x58d8a2;this['_univerInstanceService'][_0x40290d(0x1c2)](_0x415f18['UniverInstanceType']['UNIVER_SHEET'])[_0x40290d(0xef)](_0x5a105f[_0x40290d(0x203)](this['dispose$']))[_0x40290d(0x33b)](async _0x10090d=>{const _0x3f2ec2=_0x40290d,_0x5bf881=_0x10090d[_0x3f2ec2(0x277)](),_0x33845d=await this[_0x3f2ec2(0x2eb)](_0x5bf881);this[_0x3f2ec2(0x17f)][_0x3f2ec2(0x1a7)](_0x33845d),this[_0x3f2ec2(0x399)][_0x3f2ec2(0xfd)](_0x5bf881,_0x33845d);}),this[_0x40290d(0x26c)][_0x40290d(0x1c2)](_0x415f18[_0x40290d(0x388)]['UNIVER_DOC'])['pipe'](_0x5a105f[_0x40290d(0x203)](this[_0x40290d(0x17e)]))[_0x40290d(0xef)](_0x5a105f[_0x40290d(0x2a2)](_0x52e10c=>!_0x52e10c[_0x40290d(0x277)]()[_0x40290d(0x1eb)]('__')))[_0x40290d(0x33b)](async _0x407708=>{const _0xe49347=_0x40290d,_0x18d144=_0x407708[_0xe49347(0x277)](),_0x2d9bd6=await this[_0xe49347(0x39a)](_0x18d144);this[_0xe49347(0x17f)][_0xe49347(0x1a7)](_0x2d9bd6),this[_0xe49347(0x399)][_0xe49347(0xfd)](_0x18d144,_0x2d9bd6);}),_0x5a105f[_0x40290d(0x302)](this[_0x40290d(0x26c)][_0x40290d(0x30f)](_0x415f18[_0x40290d(0x388)][_0x40290d(0x2e9)]),this[_0x40290d(0x26c)][_0x40290d(0x30f)](_0x415f18[_0x40290d(0x388)]['UNIVER_SHEET']))[_0x40290d(0xef)](_0x5a105f['takeUntil'](this[_0x40290d(0x17e)]))['subscribe'](_0x138318=>{const _0x21f716=_0x40290d,_0xfa6739=_0x138318[_0x21f716(0x277)](),_0x8d3f4a=this['_entities'][_0x21f716(0x272)](_0xfa6739);_0x8d3f4a&&(_0x8d3f4a[_0x21f716(0x126)](),this[_0x21f716(0x399)]['delete'](_0xfa6739));});}async[_0x58d8a2(0x2eb)](_0x1bc986){const _0x561f60=_0x58d8a2,_0x32dd80=await this[_0x561f60(0x1c4)][_0x561f60(0xd8)](_0x1bc986),_0x101dfa=this['_injector'][_0x561f60(0x11e)](_0x16737f,_0x1bc986,_0x32dd80);return _0x101dfa[_0x561f60(0x1e3)](),_0x101dfa;}async[_0x58d8a2(0x39a)](_0x7a98d5){const _0x4680d9=_0x58d8a2,_0xac9ce7=await this[_0x4680d9(0x1c4)][_0x4680d9(0xd8)](_0x7a98d5),_0x8adee0=this['_injector'][_0x4680d9(0x11e)](_0x3b3246,_0x7a98d5,_0xac9ce7);return _0x8adee0['init'](),_0x8adee0;}};_0x49cf8d=_0x31d861([_0x3b55cb(0x0,_0x415f18['IUniverInstanceService']),_0x3b55cb(0x1,_0x415f18[_0x58d8a2(0x284)](_0x415f18[_0x58d8a2(0x3a7)])),_0x3b55cb(0x2,_0x415f18[_0x58d8a2(0x284)](_0x41f4b6['CollaborationSessionService']))],_0x49cf8d);const _0x4cba3a=0x14,_0x3ebbe9=0xc8,_0x17b168=0x4,_0xcb7c14=0x5;function _0x5b7fe8(_0x298bb2,_0x165d07){const _0x42d9a5=_0x58d8a2;let {radius:_0x5df4ac,width:_0x48b63e,height:_0x41ebd3}=_0x165d07;_0x5df4ac=_0x5df4ac!=null?_0x5df4ac:0x0,_0x48b63e=_0x48b63e!=null?_0x48b63e:0x1e,_0x41ebd3=_0x41ebd3!=null?_0x41ebd3:0x1e;let _0x30e4a8=0x0,_0x260597=0x0,_0x1373a1=0x0;_0x30e4a8=_0x260597=_0x1373a1=Math[_0x42d9a5(0x1fb)](_0x5df4ac,_0x48b63e/0x2,_0x41ebd3/0x2),_0x298bb2[_0x42d9a5(0xf7)](),_0x298bb2[_0x42d9a5(0x32d)](_0x30e4a8,0x0),_0x298bb2[_0x42d9a5(0x371)](_0x48b63e-_0x260597,0x0),_0x298bb2[_0x42d9a5(0x169)](_0x48b63e-_0x260597,_0x260597,_0x260597,Math['PI']*0x3/0x2,0x0,!0x1),_0x298bb2[_0x42d9a5(0x371)](_0x48b63e,_0x41ebd3-_0x1373a1),_0x298bb2['arc'](_0x48b63e-_0x1373a1,_0x41ebd3-_0x1373a1,_0x1373a1,0x0,Math['PI']/0x2,!0x1),_0x298bb2['lineTo'](0x0,_0x41ebd3),_0x298bb2[_0x42d9a5(0x371)](0x0,_0x30e4a8),_0x298bb2[_0x42d9a5(0x169)](_0x30e4a8,_0x30e4a8,_0x30e4a8,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x298bb2[_0x42d9a5(0xe0)](),_0x165d07[_0x42d9a5(0x276)]&&(_0x298bb2[_0x42d9a5(0x208)](),_0x298bb2[_0x42d9a5(0x2c1)]=_0x165d07[_0x42d9a5(0x276)],_0x165d07[_0x42d9a5(0x2c6)]===_0x42d9a5(0x2a0)?_0x298bb2[_0x42d9a5(0x276)](_0x42d9a5(0x2a0)):_0x298bb2[_0x42d9a5(0x276)](),_0x298bb2['restore']());}class _0x3a4f62 extends _0x364f72[_0x58d8a2(0x216)]{constructor(_0x94088,_0x2ccd8d){const _0x50ae7e=_0x58d8a2;super(_0x94088,_0x2ccd8d),_0x1a2e09(this,_0x50ae7e(0x232)),_0x1a2e09(this,_0x50ae7e(0x2cd)),(this[_0x50ae7e(0x232)]=_0x2ccd8d==null?void 0x0:_0x2ccd8d[_0x50ae7e(0x232)],this[_0x50ae7e(0x2cd)]=_0x2ccd8d==null?void 0x0:_0x2ccd8d[_0x50ae7e(0x2cd)]);}static[_0x58d8a2(0x102)](_0x1a8995,_0x35e7ae){const _0x142028=_0x58d8a2,{text:_0x3a635e,color:_0x2df66b}=_0x35e7ae;_0x1a8995[_0x142028(0x208)](),_0x1a8995[_0x142028(0x336)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0xcfc743=_0x1a8995[_0x142028(0x353)](_0x3a635e)[_0x142028(0x3b8)],_0x2ab5ef=Math[_0x142028(0x1fb)](_0xcfc743+0x2*_0x17b168,_0x3ebbe9);_0x5b7fe8(_0x1a8995,{'height':_0x4cba3a,'radius':0x4,'width':_0x2ab5ef,'fill':_0x2df66b}),_0x1a8995[_0x142028(0x2c1)]=_0x142028(0xe3);const _0x179503=_0x17b168,_0x717d20=_0x4cba3a-_0xcb7c14,_0x40e559=_0x3ebbe9-0x2*_0x17b168;if(_0xcfc743>_0x40e559){let _0x392ae7='',_0x800f54=0x0;for(const _0x5ba14e of _0x3a635e){const _0x458694=_0x1a8995[_0x142028(0x353)](_0x5ba14e)[_0x142028(0x3b8)];if(_0x800f54+_0x458694<=_0x40e559-_0x1a8995[_0x142028(0x353)]('...')[_0x142028(0x3b8)])_0x392ae7+=_0x5ba14e,_0x800f54+=_0x458694;else{_0x392ae7+=_0x142028(0x1e6);break;}}_0x1a8995[_0x142028(0x396)](_0x392ae7,_0x179503,_0x717d20);}else _0x1a8995[_0x142028(0x396)](_0x3a635e,_0x179503,_0x717d20);_0x1a8995['restore']();}[_0x58d8a2(0xe6)](_0x25914c){const _0x1a9b54=_0x58d8a2;_0x3a4f62[_0x1a9b54(0x102)](_0x25914c,this);}}const _0x43f812=_0x58d8a2(0x325),_0x53bfe5='collab-text-range-',_0x2516ad=_0x58d8a2(0x2f8),_0x33d6df=0x6,_0x14c835=1.5,_0x3b9837=0x4,_0x22d88f=1.5,_0x456698='rgba(255,\x20255,\x20255,\x200.01)';class _0x174344{constructor(_0x102786,_0x39dfe7,_0x4e0a5c,_0x33994d){const _0x5976c9=_0x58d8a2;_0x1a2e09(this,_0x5976c9(0x3af),[]),_0x1a2e09(this,_0x5976c9(0x390),null),_0x1a2e09(this,_0x5976c9(0x1fc),null),_0x1a2e09(this,_0x5976c9(0x25a),null),_0x1a2e09(this,_0x5976c9(0x142),null),_0x1a2e09(this,'_eventUnsubscribe',null),(this[_0x5976c9(0x3b5)]=_0x102786,this[_0x5976c9(0x109)]=_0x39dfe7,this[_0x5976c9(0x342)]=_0x4e0a5c,this[_0x5976c9(0x10e)]=_0x33994d,this[_0x5976c9(0x19b)]());}set[_0x58d8a2(0x2e8)](_0x3567b1){const _0xbfc940=_0x58d8a2;_0x3567b1?(this['_anchorDot']&&this[_0xbfc940(0x25a)][_0xbfc940(0x134)](),this[_0xbfc940(0x1fc)]&&this[_0xbfc940(0x1fc)][_0xbfc940(0xe9)]()):(this[_0xbfc940(0x25a)]&&this[_0xbfc940(0x25a)]['show'](),this['_textBubble']&&this[_0xbfc940(0x1fc)][_0xbfc940(0x134)]());}[_0x58d8a2(0x126)](){const _0x265263=_0x58d8a2;for(const _0x2ab316 of this[_0x265263(0x3af)])_0x2ab316[_0x265263(0x126)]();this[_0x265263(0x1fc)]&&this['_textBubble']['dispose'](),this[_0x265263(0x25a)]&&this['_anchorDot'][_0x265263(0x126)](),this[_0x265263(0x390)]&&this['_anchor'][_0x265263(0x126)](),this[_0x265263(0x376)]&&this['_eventUnsubscribe']();}[_0x58d8a2(0x19b)](){const _0x2a21ab=_0x58d8a2;var _0x56a288;const {_docSkeleton:_0x3f8a7f,_document:_0x2bf2db}=this,{color:_0x5df5a3,name:_0x29f327,ranges:_0x509941}=this[_0x2a21ab(0x3b5)],_0x3d87bf=_0x2bf2db[_0x2a21ab(0x2d6)](),{docsLeft:_0x6460c3,docsTop:_0x10babf}=_0x3d87bf,_0x556637=new _0x3a2aae[(_0x2a21ab(0x206))](_0x3d87bf,_0x3f8a7f);for(const {startOffset:_0x6b6ecb,endOffset:_0x52f951,rangeType:_0x433f87,segmentId:_0x4a4e28,segmentPage:_0x12837b,collapsed:_0x38301f,isActive:_0x55612d}of _0x509941){const _0x15f9c8=_0x3f8a7f['findNodePositionByCharIndex'](_0x6b6ecb,!0x0,_0x4a4e28,_0x12837b);let _0x472496=_0x3f8a7f['findNodePositionByCharIndex'](_0x52f951,!0x0,_0x4a4e28,_0x12837b);if(_0x472496==null&&(_0x472496=_0x3f8a7f[_0x2a21ab(0x2fc)](_0x52f951-0x1,!0x1,_0x4a4e28,_0x12837b)),_0x55612d){const {contentBoxPointGroup:_0x36d085}=_0x556637['getRangePointData'](_0x472496,_0x472496);if(_0x36d085[_0x2a21ab(0x1f7)]===0x0)continue;this[_0x2a21ab(0x3a6)](_0x5df5a3,_0x36d085,_0x6460c3,_0x10babf,_0x29f327),this[_0x2a21ab(0x376)]=this[_0x2a21ab(0x2c5)]();}if(_0x15f9c8&&_0x472496){if(_0x433f87===_0x415f18[_0x2a21ab(0x1ca)][_0x2a21ab(0x137)]){const _0x2c8a65=new _0x3a2aae[(_0x2a21ab(0x2d0))](_0x3d87bf,_0x3f8a7f),{pointGroup:_0x543b7d}=(_0x56a288=_0x2c8a65[_0x2a21ab(0x115)](_0x15f9c8,_0x472496))!=null?_0x56a288:{};if(_0x543b7d==null||_0x543b7d[_0x2a21ab(0x1f7)]===0x0)continue;this['_drawRectRange'](_0x5df5a3,_0x543b7d,_0x6460c3,_0x10babf);}else{if(!_0x38301f){const {borderBoxPointGroup:_0x123cef}=_0x556637[_0x2a21ab(0x115)](_0x15f9c8,_0x472496);if(_0x123cef[_0x2a21ab(0x1f7)]===0x0)continue;this['_drawTextRange'](_0x5df5a3,_0x123cef,_0x6460c3,_0x10babf);}}}}}[_0x58d8a2(0x3a6)](_0x36a7fe,_0x3d3322,_0x2a60ea,_0x10b602,_0x345625){const _0x2157fc=_0x58d8a2,_0x390f9c=this['_getAnchorBounding'](_0x3d3322),{left:_0x287aa1,top:_0x462295,height:_0x381de1}=_0x390f9c,_0x56eb24=this[_0x2157fc(0x338)](),_0xc8975=_0x22d88f/_0x56eb24,_0x224b97=new _0x364f72[(_0x2157fc(0x383))](_0x43f812+_0x415f18[_0x2157fc(0x354)](_0x33d6df),{'left':_0x287aa1+_0x2a60ea-_0xc8975,'top':_0x462295+_0x10b602,'height':_0x381de1,'width':_0x14c835,'fill':_0x36a7fe||_0x364f72[_0x2157fc(0xd9)](_0x415f18['COLORS']['black'],0x0),'strokeWidth':_0xc8975,'stroke':_0x456698,'evented':!0x0});this[_0x2157fc(0x390)]=_0x224b97,this[_0x2157fc(0x109)][_0x2157fc(0x1a9)](_0x224b97,_0x3a2aae[_0x2157fc(0x287)]);const _0x181757=new _0x364f72[(_0x2157fc(0x383))](_0x43f812+_0x415f18[_0x2157fc(0x354)](_0x33d6df),{'left':_0x287aa1+_0x2a60ea-_0xc8975,'top':_0x462295+_0x10b602-_0x3b9837/0x2,'height':_0x3b9837,'width':_0x3b9837,'fill':_0x36a7fe||_0x364f72['getColor'](_0x415f18[_0x2157fc(0x2de)][_0x2157fc(0x264)],0x0),'strokeWidth':0x0,'stroke':_0x36a7fe||_0x364f72[_0x2157fc(0xd9)](_0x415f18['COLORS'][_0x2157fc(0x264)],0x0),'evented':!0x1});this[_0x2157fc(0x25a)]=_0x181757,this[_0x2157fc(0x109)][_0x2157fc(0x1a9)](_0x181757,_0x3a2aae['TEXT_RANGE_LAYER_INDEX']);const _0x28841=new _0x3a4f62(_0x43f812+_0x415f18[_0x2157fc(0x354)](_0x33d6df),{'left':_0x287aa1+_0x2a60ea-_0xc8975,'top':_0x462295+_0x10b602-_0x4cba3a,'text':_0x345625,'color':_0x36a7fe});this[_0x2157fc(0x1fc)]=_0x28841,this[_0x2157fc(0x109)][_0x2157fc(0x1a9)](_0x28841,_0x3a2aae[_0x2157fc(0x287)]),this[_0x2157fc(0x2e8)]=!0x1;}[_0x58d8a2(0x2c5)](){const _0x4c412f=_0x58d8a2,_0x51e444=this[_0x4c412f(0x390)][_0x4c412f(0x31e)]['subscribeEvent'](()=>{const _0x1aea27=_0x4c412f;this[_0x1aea27(0x2e8)]=!0x0;}),_0x50e1eb=this[_0x4c412f(0x390)][_0x4c412f(0x217)][_0x4c412f(0x1a6)](()=>{const _0x5ec9ed=_0x4c412f;this['_hideTimer']&&clearTimeout(this[_0x5ec9ed(0x142)]),this[_0x5ec9ed(0x142)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3b7a89=_0x4c412f;_0x51e444[_0x3b7a89(0x199)](),_0x50e1eb[_0x3b7a89(0x199)]();};}[_0x58d8a2(0x27f)](_0x34a24c,_0x24ca75,_0x301e90,_0x196b03){const _0x28b8b6=_0x58d8a2,_0x488fb7=new _0x415f18[(_0x28b8b6(0x365))](_0x34a24c)[_0x28b8b6(0x2b6)](0.2)[_0x28b8b6(0x283)](),_0x397404=new _0x364f72[(_0x28b8b6(0x1f2))](_0x53bfe5+_0x415f18[_0x28b8b6(0x354)](_0x33d6df),{'pointsGroup':_0x24ca75,'fill':_0x488fb7||_0x364f72[_0x28b8b6(0xd9)](_0x415f18['COLORS'][_0x28b8b6(0x264)],0.2),'left':_0x301e90,'top':_0x196b03,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x28b8b6(0x3af)][_0x28b8b6(0xec)](_0x397404),this[_0x28b8b6(0x109)][_0x28b8b6(0x1a9)](_0x397404,_0x3a2aae[_0x28b8b6(0x287)]);}['_drawRectRange'](_0x28fc22,_0x2d00ca,_0x41faf8,_0x5e9510){const _0x22a699=_0x58d8a2,_0x593717=new _0x415f18[(_0x22a699(0x365))](_0x28fc22)[_0x22a699(0x2b6)](0.2)[_0x22a699(0x283)](),_0x9d60c3=new _0x364f72[(_0x22a699(0x1f2))](_0x2516ad+_0x415f18[_0x22a699(0x354)](_0x33d6df),{'pointsGroup':_0x2d00ca,'fill':_0x593717||_0x364f72['getColor'](_0x415f18['COLORS'][_0x22a699(0x264)],0.2),'left':_0x41faf8,'top':_0x5e9510,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x22a699(0xec)](_0x9d60c3),this[_0x22a699(0x109)]['addObject'](_0x9d60c3,_0x3a2aae[_0x22a699(0x287)]);}[_0x58d8a2(0x220)](_0x3c9e2e){const _0x4b14bf=_0x3c9e2e[0x0],_0x401aed=_0x4b14bf[0x0],_0x36c643=_0x4b14bf[0x2],{x:_0x5e7823,y:_0x4f08ad}=_0x401aed,{x:_0x20f522,y:_0x28ea9f}=_0x36c643;return{'left':_0x5e7823,'top':_0x4f08ad,'width':_0x20f522-_0x5e7823,'height':_0x28ea9f-_0x4f08ad};}[_0x58d8a2(0x338)](){const _0x42adb9=_0x58d8a2,{scaleX:_0x54ae3d,scaleY:_0x57fb3c}=this['_scene'][_0x42adb9(0x278)]();return Math[_0x42adb9(0x160)](_0x54ae3d,_0x57fb3c);}}var _0x12ca6b=Object[_0x58d8a2(0x139)],_0x8a6e53=(_0x49cec7,_0x542674,_0x1e1ed1,_0x2cd92c)=>{const _0x1614ae=_0x58d8a2;for(var _0x2f286a=_0x2cd92c>0x1?void 0x0:_0x2cd92c?_0x12ca6b(_0x542674,_0x1e1ed1):_0x542674,_0x14f74e=_0x49cec7[_0x1614ae(0x1f7)]-0x1,_0x18221;_0x14f74e>=0x0;_0x14f74e--)(_0x18221=_0x49cec7[_0x14f74e])&&(_0x2f286a=_0x18221(_0x2f286a)||_0x2f286a);return _0x2f286a;},_0x251187=(_0x43a7a7,_0x5bc1fa)=>(_0x2cdb36,_0x2e4d19)=>_0x5bc1fa(_0x2cdb36,_0x2e4d19,_0x43a7a7);let _0x50a3a6=class extends _0x415f18[_0x58d8a2(0x101)]{constructor(_0x375494,_0x2849ec,_0x41d1cd,_0x2de0a4,_0xe23acd){const _0x50feb5=_0x58d8a2;super(),_0x1a2e09(this,_0x50feb5(0x1dc),[]),_0x1a2e09(this,_0x50feb5(0x150),[]),(this[_0x50feb5(0x1cd)]=_0x375494,this[_0x50feb5(0x2d1)]=_0x2849ec,this['_collabCursorController']=_0x41d1cd,this[_0x50feb5(0x1de)]=_0x2de0a4,this['_themeService']=_0xe23acd,this[_0x50feb5(0x368)]());}[_0x58d8a2(0x368)](){const _0x507b4b=_0x58d8a2,_0x3b0dd7=this[_0x507b4b(0x1cd)][_0x507b4b(0x2e4)],_0x2a983f=this['_docSkeletonManagerService'];this[_0x507b4b(0x1b7)](_0x5a105f['combineLatest']([this[_0x507b4b(0x2d9)][_0x507b4b(0x370)](_0x3b0dd7),this[_0x507b4b(0x1d8)][_0x507b4b(0x2ad)]])[_0x507b4b(0xef)](_0x454a49['map'](([_0x56aaf6,_0x3f1273])=>({'skeleton':_0x2a983f[_0x507b4b(0x268)](),'cursors':[..._0x56aaf6[_0x507b4b(0x145)]()][_0x507b4b(0x1cf)](_0x302e20=>({..._0x302e20,'color':this[_0x507b4b(0x1d8)][_0x507b4b(0xf5)](_0x302e20[_0x507b4b(0x232)])}))})))[_0x507b4b(0x33b)](_0x4e9068=>{const _0x32a133=_0x507b4b;if(this[_0x32a133(0x13d)](),_0x4e9068){const {skeleton:_0x33232f,cursors:_0x1cc46e}=_0x4e9068;this['_updateCollabCursors'](_0x33232f,_0x1cc46e);}})),this[_0x507b4b(0x33d)](),this[_0x507b4b(0x2e6)]();}[_0x58d8a2(0x31f)](_0x4d7fdc,_0x1bce93){const _0x4c979e=_0x58d8a2,{scene:_0x16faa2,mainComponent:_0x4ab0a9}=this[_0x4c979e(0x1cd)],_0xabcc10=_0x1bce93[_0x4c979e(0x349)](_0x2bccfb=>new _0x174344(_0x2bccfb,_0x16faa2,_0x4d7fdc,_0x4ab0a9));this[_0x4c979e(0x1dc)]=_0xabcc10,this['_cursors']=_0x1bce93;}[_0x58d8a2(0x3b9)](){const _0x39b944=_0x58d8a2;this['_removeCollabCursors']();const {scene:_0x1454e8,mainComponent:_0x3ea7aa}=this[_0x39b944(0x1cd)],_0x5ee421=this[_0x39b944(0x2d1)][_0x39b944(0x268)](),_0x51a15d=this[_0x39b944(0x150)][_0x39b944(0x349)](_0x1970b0=>new _0x174344(_0x1970b0,_0x1454e8,_0x5ee421,_0x3ea7aa));this[_0x39b944(0x1dc)]=_0x51a15d;}[_0x58d8a2(0x13d)](){const _0x3c4941=_0x58d8a2;this[_0x3c4941(0x1dc)][_0x3c4941(0x10a)](_0x49f634=>_0x49f634[_0x3c4941(0x126)]()),this[_0x3c4941(0x1dc)]=[];}[_0x58d8a2(0x2e6)](){const _0x39e617=_0x58d8a2,_0x79098a=[_0x3a2aae[_0x39e617(0x39d)]['id']];this[_0x39e617(0x1b7)](this['_commandService']['onCommandExecuted'](_0x26802a=>{const _0x2757c2=_0x39e617;_0x79098a[_0x2757c2(0x263)](_0x26802a['id'])&&_0x26802a['params']['unitId']===this[_0x2757c2(0x1cd)][_0x2757c2(0x2e4)]&&this[_0x2757c2(0x3b9)]();}));}['_initResize'](){const _0x50a9da=_0x58d8a2;this[_0x50a9da(0x1b7)](_0x415f18[_0x50a9da(0x1ba)](this['_context'][_0x50a9da(0x2d5)][_0x50a9da(0x2b7)])[_0x50a9da(0xef)](_0x454a49['filter'](_0x1ec803=>_0x1ec803[_0x50a9da(0x25e)]===_0x364f72[_0x50a9da(0x11d)][_0x50a9da(0x21d)]),_0x454a49[_0x50a9da(0x23f)](0x10))[_0x50a9da(0x33b)](()=>{const _0x2a547b=_0x50a9da;this[_0x2a547b(0x3b9)]();}));}};_0x50a3a6=_0x8a6e53([_0x251187(0x1,_0x415f18['Inject'](_0x2673a2[_0x58d8a2(0xf2)])),_0x251187(0x2,_0x415f18['Inject'](_0x49cf8d)),_0x251187(0x3,_0x415f18[_0x58d8a2(0x22e)]),_0x251187(0x4,_0x415f18[_0x58d8a2(0x284)](_0x415f18[_0x58d8a2(0x1e5)]))],_0x50a3a6);const _0x4ec2fb=0x1,_0x28320f=1.5;class _0x5592f4 extends _0x364f72[_0x58d8a2(0x216)]{constructor(_0x52895b,_0x5f514){const _0x17a39d=_0x58d8a2;super(_0x52895b,_0x5f514),_0x1a2e09(this,_0x17a39d(0x350)),_0x1a2e09(this,_0x17a39d(0x321),!0x1),_0x1a2e09(this,_0x17a39d(0x27a)),_0x1a2e09(this,_0x17a39d(0x19c),''),_0x1a2e09(this,_0x17a39d(0x29b),_0x17a39d(0x13e)),_0x1a2e09(this,_0x17a39d(0x378)),(_0x5f514&&this['setShapeProps'](_0x5f514),this[_0x17a39d(0x31e)][_0x17a39d(0x1a6)](()=>this[_0x17a39d(0x2c8)]({'hovered':!0x0})),this[_0x17a39d(0x217)][_0x17a39d(0x1a6)](()=>this[_0x17a39d(0x2c8)]({'hovered':!0x1})));}[_0x58d8a2(0x2c8)](_0x4c77ba){const _0xde3036=_0x58d8a2;var _0x1763a1,_0x54bf69,_0x12d86d,_0x291118,_0x41c277,_0x42320c;this[_0xde3036(0x350)]=(_0x1763a1=_0x4c77ba[_0xde3036(0x232)])!=null?_0x1763a1:this[_0xde3036(0x350)],this[_0xde3036(0x321)]=(_0x54bf69=_0x4c77ba[_0xde3036(0x34e)])!=null?_0x54bf69:this[_0xde3036(0x321)],this[_0xde3036(0x27a)]=(_0x12d86d=_0x4c77ba[_0xde3036(0x305)])!=null?_0x12d86d:this[_0xde3036(0x27a)],this['_name']=(_0x291118=_0x4c77ba['name'])!=null?_0x291118:this[_0xde3036(0x19c)],this['_labelPosition']=(_0x41c277=_0x4c77ba[_0xde3036(0x1d0)])!=null?_0x41c277:this['_labelPosition'],this[_0xde3036(0x378)]=(_0x42320c=_0x4c77ba[_0xde3036(0x155)])!=null?_0x42320c:this[_0xde3036(0x378)],this[_0xde3036(0x1be)]({'width':_0x4c77ba[_0xde3036(0x3b8)],'height':_0x4c77ba[_0xde3036(0x3c5)]});}[_0x58d8a2(0x2b0)](_0x54b6bc){const _0x5e4e9b=_0x58d8a2,{row:_0x544eed,column:_0x29a16b}=_0x54b6bc;if(_0x544eed>=this[_0x5e4e9b(0x27a)][_0x5e4e9b(0x1e9)]&&_0x544eed<=this[_0x5e4e9b(0x27a)]['endRow']&&_0x29a16b>=this[_0x5e4e9b(0x27a)][_0x5e4e9b(0x2fb)]&&_0x29a16b<=this['_range'][_0x5e4e9b(0x1a2)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x5e4e9b(0x2c8)]({'hovered':!0x1});}[_0x58d8a2(0x14d)](_0x2dcac4){return!0x1;}[_0x58d8a2(0xe6)](_0x1b7097){const _0x43fade=_0x58d8a2;_0x364f72[_0x43fade(0x383)][_0x43fade(0x102)](_0x1b7097,{'width':this[_0x43fade(0x3b8)],'height':this[_0x43fade(0x3c5)],'strokeWidth':_0x28320f,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x43fade(0x378)]}),this[_0x43fade(0x321)]&&(_0x1b7097['save'](),_0x1b7097[_0x43fade(0x19d)](0x1,0x0,0x0,0x1,this[_0x43fade(0x3b8)],this[_0x43fade(0x29b)]===_0x43fade(0x2f0)?0x0:-_0x4cba3a),_0x3a4f62[_0x43fade(0x102)](_0x1b7097,{'text':this['_name'],'color':this[_0x43fade(0x350)]}),_0x1b7097[_0x43fade(0x347)]());}}var _0x2a065f=Object[_0x58d8a2(0x139)],_0x39b1c7=(_0xa42e39,_0x2f67df,_0x32c169,_0x4c5c50)=>{for(var _0x52b515=_0x4c5c50>0x1?void 0x0:_0x4c5c50?_0x2a065f(_0x2f67df,_0x32c169):_0x2f67df,_0x3b4725=_0xa42e39['length']-0x1,_0x3aca43;_0x3b4725>=0x0;_0x3b4725--)(_0x3aca43=_0xa42e39[_0x3b4725])&&(_0x52b515=_0x3aca43(_0x52b515)||_0x52b515);return _0x52b515;},_0x311eb2=(_0x286f79,_0x15f513)=>(_0x2dc7ab,_0x4d7692)=>_0x15f513(_0x2dc7ab,_0x4d7692,_0x286f79);const _0x4da5cd=0x1389;let _0x28e136=class extends _0x415f18[_0x58d8a2(0x101)]{constructor(_0x52a6aa,_0x405c62,_0x4d9d92,_0x89516){const _0xd39518=_0x58d8a2;super(),_0x1a2e09(this,'_cursors',new Set()),_0x1a2e09(this,_0xd39518(0x2e7),null),(this[_0xd39518(0x1cd)]=_0x52a6aa,this[_0xd39518(0x12e)]=_0x405c62,this['_collabCursorController']=_0x4d9d92,this[_0xd39518(0x1d8)]=_0x89516,this['_init']());}['_init'](){const _0xbdf392=_0x58d8a2;this['_sheetSkeletonManagerService'][_0xbdf392(0x230)][_0xbdf392(0xef)](_0x454a49[_0xbdf392(0x203)](this[_0xbdf392(0x17e)]),_0x454a49[_0xbdf392(0x398)](_0x4051e7=>{const _0x25ad62=_0xbdf392;if(_0x4051e7){const _0x18ec93=_0x4051e7[_0x25ad62(0x2ab)];return _0x5a105f[_0x25ad62(0x35c)](this[_0x25ad62(0x2d9)][_0x25ad62(0x370)](this[_0x25ad62(0x1cd)][_0x25ad62(0x2e4)]),this['_themeService']['currentTheme$'])[_0x25ad62(0xef)](_0x454a49[_0x25ad62(0x349)](([_0x3be09c,_0x19af85])=>{const _0x57c7e2=_0x25ad62,_0x158df5=new Map();return _0x3be09c[_0x57c7e2(0x10a)]((_0x43c6a1,_0x44c0ab)=>{const _0x2f8edf=_0x57c7e2;if(_0x43c6a1['sheetID']===_0x18ec93){const _0x407a94={..._0x43c6a1};_0x407a94[_0x2f8edf(0x232)]=this[_0x2f8edf(0x1d8)][_0x2f8edf(0xf5)](_0x43c6a1[_0x2f8edf(0x232)]),_0x158df5[_0x2f8edf(0xfd)](_0x44c0ab,_0x407a94);}}),{'skeleton':_0x4051e7,'cursors':_0x158df5};}));}return _0x5a105f['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x5f476c,cursors:_0x2834e4})=>{const _0x40326c=_0xbdf392;this[_0x40326c(0x13d)](),_0x5f476c&&this[_0x40326c(0x31f)](_0x5f476c,_0x2834e4);}),this['_sheetSkeletonManagerService'][_0xbdf392(0x230)][_0xbdf392(0x33b)](_0xc89e1f=>{const _0x3b401e=_0xbdf392;if(_0xc89e1f==null)return;const {skeleton:_0x11c58b}=_0xc89e1f,{scene:_0x2dd618}=this[_0x3b401e(0x1cd)];_0x2dd618['onPointerMove$'][_0x3b401e(0x1a6)](_0x415f18[_0x3b401e(0x173)](_0x3a2bc0=>{const _0x2aaad8=_0x3b401e;var _0x2c0b86,_0x411b3b;const {offsetX:_0x33a628,offsetY:_0x4b53c4}=_0x3a2bc0,{x:_0x258270,y:_0x420978}=_0x2dd618[_0x2aaad8(0x228)](_0x364f72[_0x2aaad8(0x317)][_0x2aaad8(0x2fe)]([_0x33a628,_0x4b53c4])),{scaleX:_0x16ae85,scaleY:_0x9205da}=_0x2dd618[_0x2aaad8(0x278)](),_0x295cc2=_0x2dd618[_0x2aaad8(0x3bb)](_0x364f72[_0x2aaad8(0x23e)]['VIEW_MAIN']),_0x2502e8=_0x2dd618[_0x2aaad8(0x212)](_0x364f72[_0x2aaad8(0x317)][_0x2aaad8(0x2fe)]([_0x258270,_0x420978]),_0x295cc2),_0x58a9e7=_0x11c58b['getCellPositionByOffset'](_0x33a628,_0x4b53c4,_0x16ae85,_0x9205da,_0x2502e8);((_0x2c0b86=this['_lastPointer'])==null?void 0x0:_0x2c0b86[_0x2aaad8(0xe4)])===_0x58a9e7[_0x2aaad8(0xe4)]&&((_0x411b3b=this[_0x2aaad8(0x2e7)])==null?void 0x0:_0x411b3b['row'])===_0x58a9e7[_0x2aaad8(0x3bc)]||this[_0x2aaad8(0x150)][_0x2aaad8(0x10a)](_0x1f12c9=>{const _0x273779=_0x2aaad8;_0x1f12c9[_0x273779(0x2b0)](_0x58a9e7);});},0x64));});}[_0x58d8a2(0x31f)](_0x26e70f,_0x3b198b){const _0x503dc2=_0x58d8a2;var _0x54ae9b;const _0x54fb7c=(_0x54ae9b=this[_0x503dc2(0x12e)]['getCurrent']())==null?void 0x0:_0x54ae9b[_0x503dc2(0x14b)];if(!_0x54fb7c)return;const _0xd7dfce=this[_0x503dc2(0x3a2)]();if(!_0xd7dfce)return;this[_0x503dc2(0x150)]['forEach'](_0x415d4e=>{const _0x2c3348=_0x503dc2;_0x415d4e[_0x2c3348(0x1e2)]();});const {scene:_0x3ccadf}=_0xd7dfce,_0x9e4792=_0x3946e5(Array[_0x503dc2(0x292)](_0x3b198b[_0x503dc2(0x145)]()))['map'](_0x3633d0=>{const _0x5a4c19=_0x503dc2,{color:_0x433066,range:_0x4f6684,name:_0x5b8d8c,selection:_0x2acf48,sheetID:_0x5202fb}=_0x3633d0,{startColumn:_0x2f0b4d,startRow:_0x982f5c,endColumn:_0x1ff844,endRow:_0x34ec01}=_0x4f6684,_0x4dfa4a=_0x792e46[_0x5a4c19(0x275)](_0x982f5c,_0x2f0b4d,_0x3ccadf,_0x54fb7c),_0x4b69bf=_0x792e46[_0x5a4c19(0x275)](_0x34ec01,_0x1ff844,_0x3ccadf,_0x54fb7c),{columnHeaderHeightAndMarginTop:_0x1bdd63}=_0x54fb7c,{startX:_0x19ae8c,startY:_0x21741a}=_0x4dfa4a,{endX:_0x30feda,endY:_0x7cfc1}=_0x4b69bf,_0xbefb6f=_0x30feda-_0x19ae8c,_0x171ba0=_0x7cfc1-_0x21741a,_0x4061da={'labelPosition':_0x21741a-_0x1bdd63>=_0x4cba3a?_0x5a4c19(0x13e):_0x5a4c19(0x2f0),'sheetID':_0x5202fb,'range':_0x4f6684,'color':_0x433066,'name':_0x5b8d8c,'selection':_0x2acf48,'left':_0x19ae8c,'top':_0x21741a,'width':_0xbefb6f,'height':_0x171ba0,'evented':!0x1,'zIndex':_0x4da5cd};return new _0x5592f4(_0x5b8d8c,_0x4061da);});_0x3ccadf[_0x503dc2(0x2d3)](_0x9e4792,_0x4ec2fb),this['_cursors']=new Set(_0x9e4792);}[_0x58d8a2(0x13d)](){const _0x2ec817=_0x58d8a2;var _0xf0d9da;(_0xf0d9da=this[_0x2ec817(0x150)])==null||_0xf0d9da[_0x2ec817(0x10a)](_0x3af7ee=>_0x3af7ee[_0x2ec817(0x126)]());}[_0x58d8a2(0x3a2)](){const _0x2f39b5=_0x58d8a2;return _0x792e46[_0x2f39b5(0x257)](this[_0x2f39b5(0x1cd)]['unit'],this[_0x2f39b5(0x1cd)]);}};_0x28e136=_0x39b1c7([_0x311eb2(0x1,_0x415f18[_0x58d8a2(0x284)](_0x792e46[_0x58d8a2(0x238)])),_0x311eb2(0x2,_0x415f18['Inject'](_0x49cf8d)),_0x311eb2(0x3,_0x415f18[_0x58d8a2(0x284)](_0x415f18[_0x58d8a2(0x1e5)]))],_0x28e136);function _0x3946e5(_0x24cedd){const _0x24ee4e=_0x58d8a2,_0x1ebb5c=new Map();return _0x24cedd[_0x24ee4e(0x10a)](_0x4e1fa8=>{const _0x3e2b52=_0x24ee4e;if(_0x1ebb5c[_0x3e2b52(0x29a)](_0x4e1fa8[_0x3e2b52(0x127)])){const _0x1d1a72=_0x1ebb5c['get'](_0x4e1fa8['selection']);_0x1d1a72[_0x3e2b52(0x254)]+=',\x20'+_0x4e1fa8[_0x3e2b52(0x254)];}else _0x1ebb5c[_0x3e2b52(0xfd)](_0x4e1fa8['selection'],_0x4e1fa8);}),Array[_0x24ee4e(0x292)](_0x1ebb5c['values']());}var _0x5eb76b=Object['getOwnPropertyDescriptor'],_0x1e3d86=(_0x5a688d,_0x3e5156,_0x3ec435,_0x1ca24f)=>{const _0x1015fc=_0x58d8a2;for(var _0x4a3313=_0x1ca24f>0x1?void 0x0:_0x1ca24f?_0x5eb76b(_0x3e5156,_0x3ec435):_0x3e5156,_0xe52e2c=_0x5a688d[_0x1015fc(0x1f7)]-0x1,_0x2ea73a;_0xe52e2c>=0x0;_0xe52e2c--)(_0x2ea73a=_0x5a688d[_0xe52e2c])&&(_0x4a3313=_0x2ea73a(_0x4a3313)||_0x4a3313);return _0x4a3313;},_0x4ec398=(_0x36b25d,_0x4e39d8)=>(_0x25ca45,_0x196b1c)=>_0x4e39d8(_0x25ca45,_0x196b1c,_0x36b25d);let _0x489c1e=class extends _0x415f18['Disposable']{constructor(_0x49a230,_0x1dbd79,_0xd2c3b2,_0x5a4f13,_0x2a4566,_0x34353a){const _0x45db60=_0x58d8a2;super(),this[_0x45db60(0x135)]=_0x49a230,this[_0x45db60(0x149)]=_0x1dbd79,this['_collaborationUIEventService']=_0xd2c3b2,this[_0x45db60(0x117)]=_0x5a4f13,this[_0x45db60(0x26f)]=_0x2a4566,this[_0x45db60(0xfa)]=_0x34353a,this[_0x45db60(0x329)](),this[_0x45db60(0x161)]();}[_0x58d8a2(0x329)](){const _0x453cb4=_0x58d8a2;this[_0x453cb4(0x1b7)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x447386=_0x453cb4;if(this[_0x447386(0x149)][_0x447386(0x13f)][_0x447386(0xda)])return this[_0x447386(0xfa)]['t'](_0x447386(0x226));}));}[_0x58d8a2(0x161)](){const _0x83a987=_0x58d8a2;this['disposeWithMe'](this[_0x83a987(0x239)][_0x83a987(0x105)][_0x83a987(0x33b)](_0x3a1388=>{const _0x50c3d7=_0x83a987;_0x3a1388['id']===_0x41f4b6[_0x50c3d7(0x34c)][_0x50c3d7(0x138)]&&this[_0x50c3d7(0x117)]['show']({'type':_0x119110[_0x50c3d7(0x2fa)][_0x50c3d7(0xf9)],'content':this[_0x50c3d7(0xfa)]['t'](_0x50c3d7(0x131))}),_0x3a1388['id']===_0x41f4b6['CollaborationUIEventId'][_0x50c3d7(0x23c)]&&this[_0x50c3d7(0x117)][_0x50c3d7(0xe9)]({'type':_0x119110['MessageType'][_0x50c3d7(0xf9)],'content':this[_0x50c3d7(0xfa)]['t']('collaboration.closeRoom')}),_0x3a1388['id']===_0x41f4b6[_0x50c3d7(0x34c)]['PERMISSION_DENIED']&&this[_0x50c3d7(0x26f)][_0x50c3d7(0xe9)]({'title':this[_0x50c3d7(0xfa)]['t'](_0x50c3d7(0x3bf)),'content':this[_0x50c3d7(0xfa)]['t']('permission.content'),'type':_0x50c3d7(0x1b0),'duration':0x0}),_0x3a1388['id']===_0x41f4b6[_0x50c3d7(0x34c)][_0x50c3d7(0x229)]&&this['_messageService'][_0x50c3d7(0xe9)]({'type':_0x119110[_0x50c3d7(0x2fa)]['Error'],'content':this[_0x50c3d7(0xfa)]['t'](_0x50c3d7(0x3a4))+'('+_0x3a1388[_0x50c3d7(0x15b)]+')'}),_0x3a1388['id']===_0x41f4b6[_0x50c3d7(0x34c)]['JOIN_ROOM_FAILED']&&this[_0x50c3d7(0x117)]['show']({'type':_0x119110[_0x50c3d7(0x2fa)][_0x50c3d7(0xf9)],'content':this[_0x50c3d7(0xfa)]['t'](_0x3a1388[_0x50c3d7(0x15b)]||'')}),_0x3a1388['id']===_0x41f4b6[_0x50c3d7(0x34c)][_0x50c3d7(0x267)]&&this[_0x50c3d7(0x117)][_0x50c3d7(0xe9)]({'type':_0x119110['MessageType']['Warning'],'content':this[_0x50c3d7(0xfa)]['t']('session.will-retry')}),_0x3a1388['id']===_0x41f4b6[_0x50c3d7(0x34c)][_0x50c3d7(0x181)]&&this[_0x50c3d7(0x117)][_0x50c3d7(0xe9)]({'type':_0x119110['MessageType'][_0x50c3d7(0x33c)],'content':this['_localeService']['t']('session.connection-failed')}),_0x3a1388['id']===_0x41f4b6[_0x50c3d7(0x34c)][_0x50c3d7(0x1df)]&&this[_0x50c3d7(0x117)]['show']({'type':_0x119110[_0x50c3d7(0x2fa)][_0x50c3d7(0x33c)],'content':this[_0x50c3d7(0xfa)]['t'](_0x50c3d7(0x10b))});}));}};_0x489c1e=_0x1e3d86([_0x4ec398(0x0,_0x4fe70c[_0x58d8a2(0x214)]),_0x4ec398(0x1,_0x41f4b6['ILocalCacheService']),_0x4ec398(0x2,_0x415f18[_0x58d8a2(0x284)](_0x41f4b6[_0x58d8a2(0x12a)])),_0x4ec398(0x3,_0x4fe70c[_0x58d8a2(0x258)]),_0x4ec398(0x4,_0x4fe70c['INotificationService']),_0x4ec398(0x5,_0x415f18[_0x58d8a2(0x284)](_0x415f18[_0x58d8a2(0x1f8)]))],_0x489c1e);var _0x3d5a75=Object[_0x58d8a2(0x139)],_0x16ba10=(_0x5d9f80,_0x30cec3,_0x2d2d9a,_0xf06d2b)=>{for(var _0x280495=_0xf06d2b>0x1?void 0x0:_0xf06d2b?_0x3d5a75(_0x30cec3,_0x2d2d9a):_0x30cec3,_0x468d42=_0x5d9f80['length']-0x1,_0x490bae;_0x468d42>=0x0;_0x468d42--)(_0x490bae=_0x5d9f80[_0x468d42])&&(_0x280495=_0x490bae(_0x280495)||_0x280495);return _0x280495;},_0x205154=(_0x3960f6,_0xa193e7)=>(_0x499bfd,_0x3c4b15)=>_0xa193e7(_0x499bfd,_0x3c4b15,_0x3960f6);let _0x41d97c=class extends _0x415f18[_0x58d8a2(0x1b2)]{constructor(_0x54d88b,_0xcd58b7,_0x344b80,_0x2fa93){const _0x53607d=_0x58d8a2;super(),_0x1a2e09(this,'_memberID'),(this[_0x53607d(0x129)]=_0x54d88b,this[_0x53607d(0x3b0)]=_0xcd58b7,this[_0x53607d(0x36c)]=_0x344b80,this[_0x53607d(0xf6)]=_0x2fa93,this[_0x53607d(0x368)]());}[_0x58d8a2(0x368)](){const _0x5a53ea=_0x58d8a2;this[_0x5a53ea(0x136)](),this[_0x5a53ea(0x1b1)](),this[_0x5a53ea(0x1da)](),this[_0x5a53ea(0x1e7)]();}[_0x58d8a2(0x1e7)](){const _0x460ebe=_0x58d8a2;this[_0x460ebe(0x1b7)](this[_0x460ebe(0xf6)][_0x460ebe(0x16d)]['subscribe'](_0x7ae53f=>{const _0x8a745d=_0x460ebe;this[_0x8a745d(0x186)]=_0x7ae53f==null?void 0x0:_0x7ae53f[_0x8a745d(0x2da)];}));}[_0x58d8a2(0x136)](){const _0x1976dc=_0x58d8a2,_0x53cf94=_0x48638a=>{const _0x846480=_0x4228;var _0x43e56a;this[_0x846480(0x15d)](_0x846480(0x1b0),_0x846480(0x310)+_0x48638a['message']+_0x846480(0x1a4)+_0x48638a[_0x846480(0x12d)]+':'+_0x48638a[_0x846480(0x2d4)]+':'+_0x48638a['colno']+'\x0a'+(((_0x43e56a=_0x48638a[_0x846480(0x1b0)])==null?void 0x0:_0x43e56a['stack'])||''));};window[_0x1976dc(0x190)](_0x1976dc(0x1b0),_0x53cf94),this[_0x1976dc(0x1b7)](()=>{const _0x30b78b=_0x1976dc;window[_0x30b78b(0x1b5)](_0x30b78b(0x1b0),_0x53cf94);});}[_0x58d8a2(0x1b1)](){const _0x157e82=_0x58d8a2,_0x3bea62=_0x47e222=>{const _0x2d1123=_0x4228;this[_0x2d1123(0x15d)](_0x2d1123(0x1b0),_0x2d1123(0x130)+_0x47e222[_0x2d1123(0x15e)]);};window[_0x157e82(0x190)](_0x157e82(0x2b8),_0x3bea62),this['disposeWithMe'](()=>{const _0x54afa6=_0x157e82;window[_0x54afa6(0x1b5)](_0x54afa6(0x2b8),_0x3bea62);});}['_monkeyPatchLogService'](){const _0x2af597=_0x58d8a2,_0xbfbd36=this[_0x2af597(0x36c)][_0x2af597(0x1b0)][_0x2af597(0x32a)](this[_0x2af597(0x36c)]);this['_logService'][_0x2af597(0x1b0)]=(..._0xab5d8c)=>{const _0x3022af=_0x2af597,_0x43a6a5=_0xab5d8c[_0x3022af(0x349)](_0x1c3ae9=>_0x1c3ae9 instanceof Error?_0x1c3ae9['message']+'\x0a'+_0x1c3ae9[_0x3022af(0x341)]:String(_0x1c3ae9))[_0x3022af(0x1b6)]('\x20');this[_0x3022af(0x15d)](_0x3022af(0x1b0),_0x3022af(0x23d)+_0x43a6a5),_0xbfbd36(..._0xab5d8c);},this[_0x2af597(0x1b7)](()=>{const _0x2948c4=_0x2af597;this[_0x2948c4(0x36c)]['error']=_0xbfbd36;});}[_0x58d8a2(0x15d)](_0x1e03a1,_0x1d9b29){const _0x57ab88=_0x58d8a2;try{const _0x1d70e9={'userId':this[_0x57ab88(0x186)],'logLabel':_0x1e03a1,'content':_0x1d9b29};this[_0x57ab88(0x3b0)]['post'](_0x57ab88(0x21b),{'body':_0x1d70e9})['catch'](()=>{});}catch{}}};_0x41d97c=_0x16ba10([_0x205154(0x0,_0x415f18[_0x58d8a2(0x284)](_0x415f18[_0x58d8a2(0x3a7)])),_0x205154(0x1,_0x415f18[_0x58d8a2(0x284)](_0x297528[_0x58d8a2(0x1d1)])),_0x205154(0x2,_0x415f18[_0x58d8a2(0x3c1)]),_0x205154(0x3,_0x415f18[_0x58d8a2(0x284)](_0x41f4b6['CollaborationSessionService']))],_0x41d97c);const _0x48cd1b='collaboration-client-ui.config',_0x1849cb={};var _0x162067=Object['getOwnPropertyDescriptor'],_0x515fff=(_0x4991a8,_0x1f66f7,_0xc68920,_0x4325f1)=>{for(var _0x30300d=_0x4325f1>0x1?void 0x0:_0x4325f1?_0x162067(_0x1f66f7,_0xc68920):_0x1f66f7,_0x957d33=_0x4991a8['length']-0x1,_0x525282;_0x957d33>=0x0;_0x957d33--)(_0x525282=_0x4991a8[_0x957d33])&&(_0x30300d=_0x525282(_0x30300d)||_0x30300d);return _0x30300d;},_0x59efe5=(_0x228d7d,_0x55be18)=>(_0x1213be,_0x33e16e)=>_0x55be18(_0x1213be,_0x33e16e,_0x228d7d);let _0x2a73d0=class{constructor(_0x5dc683,_0x481b12){const _0x3312cc=_0x58d8a2;this[_0x3312cc(0x32e)]=_0x5dc683,this['_renderManagerService']=_0x481b12;}[_0x58d8a2(0x1db)](_0x5e2a92){const _0x46689b=_0x58d8a2;this[_0x46689b(0x1c1)](_0x5e2a92),this[_0x46689b(0x17d)](_0x5e2a92);}[_0x58d8a2(0x18c)](_0x1271f3){const _0x22cb7f=_0x58d8a2,{unitID:_0x557096}=_0x1271f3,_0x50ea8e=this[_0x22cb7f(0x2ac)][_0x22cb7f(0x28b)](_0x557096)['with'](_0x3a2aae[_0x22cb7f(0x198)]),{redoCache:_0x5f57f6}=_0x50ea8e['getUndoRedoMutationParamsCache']();if(_0x5f57f6[_0x22cb7f(0x1f7)]===0x0)return _0x1271f3;let _0x2b9d05=_0x415f18[_0x22cb7f(0x27c)][_0x22cb7f(0x265)](_0x1271f3['mutations'][0x0]);for(let _0x560c1a=0x0;_0x560c1a<_0x5f57f6[_0x22cb7f(0x1f7)];_0x560c1a++){const _0x26a845={'id':_0x22cb7f(0x202),'params':{..._0x5f57f6[_0x560c1a]}},_0xef902e=this['_transformService']['transformMutation'](_0x2b9d05,_0x26a845,!0x1);if(_0xfd7b1f[_0x22cb7f(0x362)](_0xef902e))throw _0xef902e[_0x22cb7f(0x1b0)];_0x2b9d05=_0xef902e[_0x22cb7f(0x2cf)];}return{..._0x415f18[_0x22cb7f(0x27c)]['deepClone'](_0x1271f3),'mutations':[_0x2b9d05]};}[_0x58d8a2(0x1c1)](_0xc743f7){const _0x187225=_0x58d8a2,{unitID:_0x44343f}=_0xc743f7,_0x23f4ff=this[_0x187225(0x2ac)][_0x187225(0x28b)](_0x44343f)['with'](_0x3a2aae[_0x187225(0x198)]),{undoCache:_0x4b3e9e,redoCache:_0x3bb0c3}=_0x23f4ff['getUndoRedoMutationParamsCache']();if(_0x4b3e9e[_0x187225(0x1f7)]===0x0||_0x3bb0c3[_0x187225(0x1f7)]===0x0)return;const _0x323205=[],_0xcbe567=[];let _0x29beac=_0x415f18[_0x187225(0x27c)][_0x187225(0x265)](_0xc743f7['mutations'][0x0]),_0x3aa36b=_0x415f18[_0x187225(0x27c)][_0x187225(0x265)](_0xc743f7[_0x187225(0x3ae)][0x0]);for(let _0xcf41e4=_0x4b3e9e['length']-0x1;_0xcf41e4>=0x0;_0xcf41e4--){const _0x4f74d9={'id':_0x187225(0x202),'params':{..._0x4b3e9e[_0xcf41e4]}},_0x360ca8={'id':_0x187225(0x202),'params':{..._0x3bb0c3[_0xcf41e4]}},_0x36844a=this[_0x187225(0x32e)][_0x187225(0x2dc)](_0x29beac,_0x4f74d9,!0x1),_0x2d4a55=this['_transformService'][_0x187225(0x2dc)](_0x3aa36b,_0x360ca8,!0x1);if(_0xfd7b1f[_0x187225(0x362)](_0x36844a))throw _0x36844a['error'];if(_0xfd7b1f[_0x187225(0x362)](_0x2d4a55))throw _0x2d4a55[_0x187225(0x1b0)];_0x323205[_0x187225(0x122)](_0x36844a[_0x187225(0x300)]['params']),_0xcbe567['unshift'](_0x2d4a55[_0x187225(0x300)][_0x187225(0x209)]),_0x29beac=_0x36844a[_0x187225(0x2cf)],_0x3aa36b=_0x2d4a55['m1Prime'];}_0x23f4ff[_0x187225(0x1bc)]({'undoCache':_0x323205,'redoCache':_0xcbe567});}[_0x58d8a2(0x17d)](_0x55d335){const _0x35d515=_0x58d8a2,{unitID:_0x537e26}=_0x55d335,_0x1c0d9c=this['_renderManagerService'][_0x35d515(0x28b)](_0x537e26)[_0x35d515(0x10c)](_0x3a2aae['DocIMEInputManagerService']),_0x34a560=_0x1c0d9c['getActiveRange']();if(_0x34a560==null)return;const _0x2e55a8=[{'id':_0x35d515(0x202),'params':{'unitId':_0x55d335[_0x35d515(0x2ec)],'actions':null,'textRanges':[_0x34a560]}}],_0x584e94=this[_0x35d515(0x32e)]['transformMutationsWithChangeset'](_0x55d335,_0x2e55a8);if(!_0xfd7b1f[_0x35d515(0x108)](_0x584e94))throw _0x584e94[_0x35d515(0x1b0)];const _0x5716e3=_0x584e94['m2Prime'][0x0][_0x35d515(0x209)]['textRanges'];Array[_0x35d515(0x2bb)](_0x5716e3)&&_0x5716e3['length']&&_0x1c0d9c[_0x35d515(0x144)](_0x5716e3[0x0]);}};_0x2a73d0=_0x515fff([_0x59efe5(0x0,_0xfd7b1f['ITransformService']),_0x59efe5(0x1,_0x364f72[_0x58d8a2(0x29d)])],_0x2a73d0);var _0x1b0c27=Object['getOwnPropertyDescriptor'],_0x12ec6a=(_0x282627,_0x3234e1,_0x4ed963,_0x531fd1)=>{const _0x577d0c=_0x58d8a2;for(var _0x4a6bbb=_0x531fd1>0x1?void 0x0:_0x531fd1?_0x1b0c27(_0x3234e1,_0x4ed963):_0x3234e1,_0x22d5a0=_0x282627[_0x577d0c(0x1f7)]-0x1,_0x4ec3a8;_0x22d5a0>=0x0;_0x22d5a0--)(_0x4ec3a8=_0x282627[_0x22d5a0])&&(_0x4a6bbb=_0x4ec3a8(_0x4a6bbb)||_0x4a6bbb);return _0x4a6bbb;},_0x530ff6=(_0x47a49a,_0x282675)=>(_0x3be25d,_0x105b19)=>_0x282675(_0x3be25d,_0x105b19,_0x47a49a);let _0x19e043=class{constructor(_0x3ce9f5,_0x222581,_0x212ebb){const _0x2522f4=_0x58d8a2;this[_0x2522f4(0x129)]=_0x3ce9f5,this[_0x2522f4(0x32e)]=_0x222581,this[_0x2522f4(0x1af)]=_0x212ebb;}[_0x58d8a2(0x252)](_0x2f8743){this['_transformHistoryAndStateStack'](_0x2f8743);}[_0x58d8a2(0x18c)](_0x45f8ab){const _0x216c93=_0x58d8a2,{unitID:_0x5db5dc}=_0x45f8ab,{collaboration:_0x4b15b5}=this[_0x216c93(0x1af)][_0x216c93(0x200)](_0x5db5dc);if(_0x4b15b5[_0x216c93(0x1f7)]===0x0)return _0x45f8ab;let _0x1d1898=_0x415f18[_0x216c93(0x27c)][_0x216c93(0x265)](_0x45f8ab[_0x216c93(0x3ae)][0x0]);for(let _0x147ecb=0x0;_0x147ecb<_0x4b15b5[_0x216c93(0x1f7)];_0x147ecb++){const _0x3cf94c={'id':_0x216c93(0x202),'params':{'unitId':_0x4b15b5[_0x147ecb][_0x216c93(0x2e4)],..._0x4b15b5[_0x147ecb][_0x216c93(0x20a)]}},_0x1d75df=this['_transformService'][_0x216c93(0x2dc)](_0x1d1898,_0x3cf94c,!0x1);if(_0xfd7b1f[_0x216c93(0x362)](_0x1d75df))throw _0x1d75df[_0x216c93(0x1b0)];_0x1d1898=_0x1d75df['m1Prime'];}return{..._0x415f18['Tools'][_0x216c93(0x265)](_0x45f8ab),'mutations':[_0x1d1898]};}[_0x58d8a2(0x37d)](_0x309f28){const _0x231ed5=_0x58d8a2,{unitID:_0x59db49}=_0x309f28,{history:_0x5b7f3c,collaboration:_0x3eae3b}=this[_0x231ed5(0x1af)][_0x231ed5(0x200)](_0x59db49);if(_0x5b7f3c[_0x231ed5(0x1f7)]===0x0&&_0x3eae3b[_0x231ed5(0x1f7)]===0x0)return;const _0x34201c=[],_0x2e4105=[];let _0x40a899=_0x415f18[_0x231ed5(0x27c)][_0x231ed5(0x265)](_0x309f28[_0x231ed5(0x3ae)][0x0]),_0x256e39=_0x415f18[_0x231ed5(0x27c)]['deepClone'](_0x309f28[_0x231ed5(0x3ae)][0x0]);for(let _0x2b36d0=_0x5b7f3c[_0x231ed5(0x1f7)]-0x1;_0x2b36d0>=0x0;_0x2b36d0--){const _0x20987c={'id':_0x231ed5(0x202),'params':{'unitId':_0x5b7f3c[_0x2b36d0][_0x231ed5(0x2e4)],..._0x5b7f3c[_0x2b36d0][_0x231ed5(0x159)]}},_0x2306c7={'id':_0x231ed5(0x202),'params':{'unitId':_0x5b7f3c[_0x2b36d0][_0x231ed5(0x2e4)],..._0x5b7f3c[_0x2b36d0][_0x231ed5(0x20a)]}},_0x11e7c9=this[_0x231ed5(0x32e)]['transformMutation'](_0x40a899,_0x20987c,!0x1),_0x2cd9b4=this[_0x231ed5(0x32e)][_0x231ed5(0x2dc)](_0x256e39,_0x2306c7,!0x1);if(_0xfd7b1f[_0x231ed5(0x362)](_0x11e7c9))throw _0x11e7c9['error'];if(_0xfd7b1f[_0x231ed5(0x362)](_0x2cd9b4))throw _0x2cd9b4['error'];_0x34201c[_0x231ed5(0x122)]({..._0x5b7f3c[_0x2b36d0],'undoState':_0x11e7c9[_0x231ed5(0x300)][_0x231ed5(0x209)],'redoState':_0x2cd9b4['m2Prime'][_0x231ed5(0x209)]}),_0x40a899=_0x11e7c9[_0x231ed5(0x2cf)],_0x256e39=_0x2cd9b4['m1Prime'];}_0x40a899=_0x415f18[_0x231ed5(0x27c)]['deepClone'](_0x309f28[_0x231ed5(0x3ae)][0x0]),_0x256e39=_0x415f18['Tools'][_0x231ed5(0x265)](_0x309f28[_0x231ed5(0x3ae)][0x0]);for(let _0x17279f=_0x3eae3b['length']-0x1;_0x17279f>=0x0;_0x17279f--){const _0xf44d31={'id':_0x231ed5(0x202),'params':{'unitId':_0x3eae3b[_0x17279f][_0x231ed5(0x2e4)],..._0x3eae3b[_0x17279f][_0x231ed5(0x159)]}},_0x2215ae={'id':_0x231ed5(0x202),'params':{'unitId':_0x3eae3b[_0x17279f][_0x231ed5(0x2e4)],..._0x3eae3b[_0x17279f][_0x231ed5(0x20a)]}},_0x1c04bf=this[_0x231ed5(0x32e)][_0x231ed5(0x2dc)](_0x40a899,_0xf44d31,!0x1),_0x3ea661=this['_transformService'][_0x231ed5(0x2dc)](_0x256e39,_0x2215ae,!0x1);if(_0xfd7b1f[_0x231ed5(0x362)](_0x1c04bf))throw _0x1c04bf[_0x231ed5(0x1b0)];if(_0xfd7b1f[_0x231ed5(0x362)](_0x3ea661))throw _0x3ea661[_0x231ed5(0x1b0)];_0x2e4105['unshift']({..._0x3eae3b[_0x17279f],'undoState':_0x1c04bf[_0x231ed5(0x300)]['params'],'redoState':_0x3ea661[_0x231ed5(0x300)]['params']}),_0x40a899=_0x1c04bf['m1Prime'],_0x256e39=_0x3ea661[_0x231ed5(0x2cf)];}this[_0x231ed5(0x1af)][_0x231ed5(0x240)](_0x59db49,{'history':_0x34201c,'collaboration':_0x2e4105});}};_0x19e043=_0x12ec6a([_0x530ff6(0x0,_0x415f18['Inject'](_0x415f18[_0x58d8a2(0x3a7)])),_0x530ff6(0x1,_0xfd7b1f[_0x58d8a2(0x219)]),_0x530ff6(0x2,_0x415f18[_0x58d8a2(0x284)](_0x3a2aae[_0x58d8a2(0x2cc)]))],_0x19e043);var _0x80a3d4=Object[_0x58d8a2(0x139)],_0x218fee=(_0x5d6508,_0x398f80,_0x255562,_0x97397e)=>{const _0xad0c6b=_0x58d8a2;for(var _0x2d2bc8=_0x97397e>0x1?void 0x0:_0x97397e?_0x80a3d4(_0x398f80,_0x255562):_0x398f80,_0x426ae0=_0x5d6508[_0xad0c6b(0x1f7)]-0x1,_0x1e04b0;_0x426ae0>=0x0;_0x426ae0--)(_0x1e04b0=_0x5d6508[_0x426ae0])&&(_0x2d2bc8=_0x1e04b0(_0x2d2bc8)||_0x2d2bc8);return _0x2d2bc8;},_0x431e91=(_0x1943ec,_0xff92f)=>(_0x253dc4,_0x1c7065)=>_0xff92f(_0x253dc4,_0x1c7065,_0x1943ec);let _0x2a4434=class{constructor(_0x2fe0a6,_0x35bf09){const _0x46b302=_0x58d8a2;this[_0x46b302(0x129)]=_0x2fe0a6,this[_0x46b302(0x32e)]=_0x35bf09;}['transformSelections'](_0x5e3ef2){const _0x3131bd=_0x58d8a2;var _0x38427c;const _0x23b0fb=this[_0x3131bd(0x129)][_0x3131bd(0x272)](_0x2673a2[_0x3131bd(0x367)]),_0x9800bf=(_0x38427c=_0x23b0fb[_0x3131bd(0x14f)]())!=null?_0x38427c:[];if(_0x9800bf[_0x3131bd(0x1f7)]===0x0)return;const _0x1b73e1=_0x5e3ef2[_0x3131bd(0x2ec)],_0x31f8a4=[{'id':_0x3131bd(0x202),'params':{'unitId':_0x1b73e1,'actions':null,'textRanges':_0x9800bf}}],_0x376fb3=this[_0x3131bd(0x32e)]['transformMutationsWithChangeset'](_0x5e3ef2,_0x31f8a4);if(!_0xfd7b1f[_0x3131bd(0x108)](_0x376fb3))throw _0x376fb3[_0x3131bd(0x1b0)];const _0x2783ee=_0x376fb3[_0x3131bd(0x300)][0x0][_0x3131bd(0x209)][_0x3131bd(0xe7)];Array[_0x3131bd(0x2bb)](_0x2783ee)&&_0x2783ee[_0x3131bd(0x1f7)]&&_0x23b0fb[_0x3131bd(0x386)](_0x2783ee,{'unitId':_0x1b73e1,'subUnitId':_0x1b73e1},!0x1);}};_0x2a4434=_0x218fee([_0x431e91(0x0,_0x415f18[_0x58d8a2(0x284)](_0x415f18[_0x58d8a2(0x3a7)])),_0x431e91(0x1,_0xfd7b1f[_0x58d8a2(0x219)])],_0x2a4434);var _0x4de87c=Object[_0x58d8a2(0x139)],_0x4a2650=(_0x476563,_0x41a509,_0x2ed4ea,_0x32863a)=>{const _0x4f61dc=_0x58d8a2;for(var _0x2137e0=_0x32863a>0x1?void 0x0:_0x32863a?_0x4de87c(_0x41a509,_0x2ed4ea):_0x41a509,_0x556a32=_0x476563[_0x4f61dc(0x1f7)]-0x1,_0x34de8f;_0x556a32>=0x0;_0x556a32--)(_0x34de8f=_0x476563[_0x556a32])&&(_0x2137e0=_0x34de8f(_0x2137e0)||_0x2137e0);return _0x2137e0;},_0x1f6034=(_0x80eddf,_0x43b4e4)=>(_0x1aa9f3,_0x5e2674)=>_0x43b4e4(_0x1aa9f3,_0x5e2674,_0x80eddf);let _0x188bb9=class extends _0x415f18[_0x58d8a2(0x1b2)]{constructor(_0x162859,_0x4753aa,_0x1d68d9,_0x19f61f,_0x228989,_0x35d5bf,_0x478e20,_0x59b338){const _0x3f41af=_0x58d8a2;super(),_0x1a2e09(this,_0x3f41af(0x167),new _0x5a105f['BehaviorSubject'](_0x41f4b6[_0x3f41af(0x156)][_0x3f41af(0x1ec)])),(this[_0x3f41af(0x1af)]=_0x162859,this[_0x3f41af(0x39f)]=_0x4753aa,this['_docTransformIMECacheService']=_0x1d68d9,this['_docTransformStateCacheService']=_0x19f61f,this[_0x3f41af(0x1a0)]=_0x228989,this['_docSyncEditingCollabCursorService']=_0x35d5bf,this[_0x3f41af(0x117)]=_0x478e20,this[_0x3f41af(0xfa)]=_0x59b338,this[_0x3f41af(0x2b2)]());}[_0x58d8a2(0x2b2)](){const _0xa13195=_0x58d8a2;this[_0xa13195(0x1b7)](this[_0xa13195(0x39f)][_0xa13195(0x180)][_0xa13195(0x33b)](_0x7f897a=>{const _0x1c08d2=_0xa13195,_0x3727b6=this[_0x1c08d2(0x1af)][_0x1c08d2(0x146)][_0x1c08d2(0x33b)](_0x637092=>{const _0x122b1b=_0x1c08d2;if(_0x637092==null)return;const {unitId:_0x24cc8b,redoState:_0x41235c,commandId:_0x5df826}=_0x637092;if(_0x24cc8b!==_0x7f897a[_0x122b1b(0x2ec)])return;const _0x398c29={'id':_0x5df826,'type':_0x415f18[_0x122b1b(0x23a)][_0x122b1b(0x31c)],'params':{'unitId':_0x24cc8b,'actions':_0x41235c[_0x122b1b(0x38b)],'textRanges':null}};_0x7f897a['onLocalMutation'](_0x398c29);});if(_0x7f897a[_0x1c08d2(0x1b7)](_0x3727b6),_0x7f897a instanceof _0x41f4b6[_0x1c08d2(0x243)]){const _0x489d9c={'onTransformIME':_0x3c3508=>this[_0x1c08d2(0x2ce)][_0x1c08d2(0x1db)](_0x3c3508),'onTransformState':_0x1ed252=>this['_docTransformStateCacheService'][_0x1c08d2(0x252)](_0x1ed252),'onTransformSelections':_0x3d698d=>this[_0x1c08d2(0x1a0)]['transformSelections'](_0x3d698d),'onSyncEditingCollabCursor':_0x29be1f=>this[_0x1c08d2(0x1dd)][_0x1c08d2(0x304)](_0x29be1f),'onTransformRemoteChangesetByIMECache':_0x43211c=>this[_0x1c08d2(0x2ce)][_0x1c08d2(0x18c)](_0x43211c),'onTransformRemoteChangesetByStateCache':_0x41175a=>this[_0x1c08d2(0x298)]['transformRemoteChangeset'](_0x41175a)};_0x7f897a[_0x1c08d2(0x314)](_0x489d9c);}}));}};_0x188bb9=_0x4a2650([_0x1f6034(0x0,_0x415f18[_0x58d8a2(0x284)](_0x3a2aae[_0x58d8a2(0x2cc)])),_0x1f6034(0x1,_0x415f18[_0x58d8a2(0x284)](_0x41f4b6[_0x58d8a2(0x174)])),_0x1f6034(0x2,_0x415f18[_0x58d8a2(0x284)](_0x2a73d0)),_0x1f6034(0x3,_0x415f18['Inject'](_0x19e043)),_0x1f6034(0x4,_0x415f18['Inject'](_0x2a4434)),_0x1f6034(0x5,_0x415f18[_0x58d8a2(0x284)](_0x2905ba)),_0x1f6034(0x6,_0x4fe70c[_0x58d8a2(0x258)]),_0x1f6034(0x7,_0x415f18[_0x58d8a2(0x284)](_0x415f18[_0x58d8a2(0x1f8)]))],_0x188bb9);var _0x1645b0=(_0x5cd127=>(_0x5cd127[_0x5cd127[_0x58d8a2(0x14c)]=0x0]=_0x58d8a2(0x14c),_0x5cd127[_0x5cd127['OK']=0x1]='OK',_0x5cd127[_0x5cd127[_0x58d8a2(0x140)]=0x2]=_0x58d8a2(0x140),_0x5cd127[_0x5cd127['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x5cd127[_0x5cd127[_0x58d8a2(0x3b3)]=0x4]=_0x58d8a2(0x3b3),_0x5cd127[_0x5cd127['UNAUTHENTICATED']=0x5]=_0x58d8a2(0x2e1),_0x5cd127[_0x5cd127['ALREADY_EXISTS']=0x6]=_0x58d8a2(0x242),_0x5cd127[_0x5cd127[_0x58d8a2(0x2f5)]=0x7]=_0x58d8a2(0x2f5),_0x5cd127[_0x5cd127['TOO_MANY_REQUESTS']=0x8]=_0x58d8a2(0x293),_0x5cd127[_0x5cd127['COMPLETION_FINISHED']=0x9]=_0x58d8a2(0x194),_0x5cd127[_0x5cd127['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x5cd127[_0x5cd127[_0x58d8a2(0x27e)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x5cd127[_0x5cd127[_0x58d8a2(0xee)]=0xc]=_0x58d8a2(0xee),_0x5cd127[_0x5cd127['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x58d8a2(0x25d),_0x5cd127[_0x5cd127[_0x58d8a2(0x3ba)]=0xe]=_0x58d8a2(0x3ba),_0x5cd127[_0x5cd127[_0x58d8a2(0x3b1)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x5cd127[_0x5cd127[_0x58d8a2(0x1f6)]=0x10]=_0x58d8a2(0x1f6),_0x5cd127[_0x5cd127[_0x58d8a2(0x2f6)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x5cd127[_0x5cd127[_0x58d8a2(0x31a)]=0x65]=_0x58d8a2(0x31a),_0x5cd127[_0x5cd127[_0x58d8a2(0x381)]=0xc9]='USER_NOT_FOUND',_0x5cd127[_0x5cd127['USER_IS_ANONYMOUS']=0xca]='USER_IS_ANONYMOUS',_0x5cd127[_0x5cd127[_0x58d8a2(0x326)]=0x1389]=_0x58d8a2(0x326),_0x5cd127[_0x5cd127[_0x58d8a2(0x234)]=0x1771]=_0x58d8a2(0x234),_0x5cd127[_0x5cd127[_0x58d8a2(0x34b)]=0x1772]=_0x58d8a2(0x34b),_0x5cd127[_0x5cd127[_0x58d8a2(0x1f0)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x5cd127[_0x5cd127[_0x58d8a2(0x1f3)]=0x1b59]=_0x58d8a2(0x1f3),_0x5cd127[_0x5cd127[_0x58d8a2(0x332)]=0x1b5a]=_0x58d8a2(0x332),_0x5cd127[_0x5cd127[_0x58d8a2(0x2f3)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5cd127[_0x5cd127[_0x58d8a2(0x224)]=0x1b5c]=_0x58d8a2(0x224),_0x5cd127[_0x5cd127[_0x58d8a2(0x262)]=0x1b5d]=_0x58d8a2(0x262),_0x5cd127[_0x5cd127[_0x58d8a2(0x29f)]=0x1f41]=_0x58d8a2(0x29f),_0x5cd127[_0x5cd127[_0x58d8a2(0x2a7)]=0x2329]=_0x58d8a2(0x2a7),_0x5cd127[_0x5cd127[_0x58d8a2(0x16e)]=0x232a]=_0x58d8a2(0x16e),_0x5cd127[_0x5cd127[_0x58d8a2(0x22f)]=0x232b]=_0x58d8a2(0x22f),_0x5cd127[_0x5cd127[_0x58d8a2(0x3a9)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5cd127[_0x5cd127[_0x58d8a2(0x3a8)]=0x232d]=_0x58d8a2(0x3a8),_0x5cd127[_0x5cd127[_0x58d8a2(0x1ea)]=0x2711]=_0x58d8a2(0x1ea),_0x5cd127[_0x5cd127[_0x58d8a2(0x327)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5cd127[_0x5cd127[_0x58d8a2(0x162)]=0x2713]=_0x58d8a2(0x162),_0x5cd127[_0x5cd127[_0x58d8a2(0x32b)]=0x2714]=_0x58d8a2(0x32b),_0x5cd127[_0x5cd127[_0x58d8a2(0x168)]=0x271a]=_0x58d8a2(0x168),_0x5cd127[_0x5cd127[_0x58d8a2(0x14a)]=0x271b]=_0x58d8a2(0x14a),_0x5cd127[_0x5cd127[_0x58d8a2(0x343)]=0x271c]=_0x58d8a2(0x343),_0x5cd127[_0x5cd127[_0x58d8a2(0x20f)]=0x271d]=_0x58d8a2(0x20f),_0x5cd127[_0x5cd127[_0x58d8a2(0x2a6)]=0x271e]=_0x58d8a2(0x2a6),_0x5cd127[_0x5cd127[_0x58d8a2(0x1ed)]=0x271f]=_0x58d8a2(0x1ed),_0x5cd127[_0x5cd127[_0x58d8a2(0x1a1)]=0x2720]=_0x58d8a2(0x1a1),_0x5cd127[_0x5cd127['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x58d8a2(0x25c),_0x5cd127[_0x5cd127[_0x58d8a2(0x247)]=0x2ee1]=_0x58d8a2(0x247),_0x5cd127[_0x5cd127[_0x58d8a2(0x1c0)]=0x2ee2]=_0x58d8a2(0x1c0),_0x5cd127[_0x5cd127[_0x58d8a2(0x3b7)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x5cd127[_0x5cd127[_0x58d8a2(0x19e)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5cd127[_0x5cd127[_0x58d8a2(0x3a0)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x5cd127[_0x5cd127[_0x58d8a2(0x2e0)]=0x32c9]=_0x58d8a2(0x2e0),_0x5cd127[_0x5cd127[_0x58d8a2(0x1d6)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x5cd127[_0x5cd127[_0x58d8a2(0x373)]=0x32cb]=_0x58d8a2(0x373),_0x5cd127[_0x5cd127[_0x58d8a2(0xe2)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x5cd127[_0x5cd127[_0x58d8a2(0x1bd)]=0x36b2]=_0x58d8a2(0x1bd),_0x5cd127[_0x5cd127['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x58d8a2(0x20b),_0x5cd127[_0x5cd127[_0x58d8a2(0x30d)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x5cd127[_0x5cd127[_0x58d8a2(0x2f7)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x5cd127[_0x5cd127['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x58d8a2(0x382),_0x5cd127[_0x5cd127[_0x58d8a2(0x227)]=0x36b7]=_0x58d8a2(0x227),_0x5cd127[_0x5cd127['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x5cd127[_0x5cd127[_0x58d8a2(0x196)]=0x3715]=_0x58d8a2(0x196),_0x5cd127[_0x5cd127['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x5cd127[_0x5cd127[_0x58d8a2(0x104)]=0x3717]=_0x58d8a2(0x104),_0x5cd127[_0x5cd127['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x58d8a2(0x393),_0x5cd127[_0x5cd127['REDEMPTION_INVALID_CODE']=0x3a99]=_0x58d8a2(0x295),_0x5cd127[_0x5cd127['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x58d8a2(0x3be),_0x5cd127[_0x5cd127[_0x58d8a2(0x245)]=0x3a9b]=_0x58d8a2(0x245),_0x5cd127[_0x5cd127['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x58d8a2(0x3c2),_0x5cd127[_0x5cd127[_0x58d8a2(0x345)]=0x3a9d]=_0x58d8a2(0x345),_0x5cd127[_0x5cd127[_0x58d8a2(0x296)]=0x3a9e]=_0x58d8a2(0x296),_0x5cd127[_0x5cd127[_0x58d8a2(0x250)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x5cd127[_0x5cd127[_0x58d8a2(0x38e)]=0x3e81]=_0x58d8a2(0x38e),_0x5cd127[_0x5cd127['UNRECOGNIZED']=-0x1]=_0x58d8a2(0x152),_0x5cd127))(_0x1645b0||{});function _0x5853dd(_0x5a2dc2){const _0x315023=_0x58d8a2;var _0x276ae6,_0x1a70e0;const _0x376454=(_0x276ae6=_0x5a2dc2[_0x315023(0x35d)])==null?void 0x0:_0x276ae6[_0x315023(0x27d)],_0x53c6bc=((_0x1a70e0=_0x5a2dc2[_0x315023(0x35d)])==null?void 0x0:_0x1a70e0[_0x315023(0x205)])||0x0;return _0x376454===_0x372566['FormulaExecuteStageType'][_0x315023(0x259)]&&_0x53c6bc>0x0;}function _0x2cbef7(_0x597055){const _0x46ac96=_0x58d8a2;return _0x597055[_0x46ac96(0x1c5)]===_0x372566[_0x46ac96(0x331)][_0x46ac96(0x189)];}var _0x692d03=Object['getOwnPropertyDescriptor'],_0x3fed9c=(_0x1d1635,_0x554e94,_0x2e0bf5,_0x4b020b)=>{const _0x78b565=_0x58d8a2;for(var _0x2d3351=_0x4b020b>0x1?void 0x0:_0x4b020b?_0x692d03(_0x554e94,_0x2e0bf5):_0x554e94,_0xc5169=_0x1d1635[_0x78b565(0x1f7)]-0x1,_0x436ecb;_0xc5169>=0x0;_0xc5169--)(_0x436ecb=_0x1d1635[_0xc5169])&&(_0x2d3351=_0x436ecb(_0x2d3351)||_0x2d3351);return _0x2d3351;},_0xee1eb7=(_0x53a325,_0x1bdc91)=>(_0x526493,_0x4b3f16)=>_0x1bdc91(_0x526493,_0x4b3f16,_0x53a325);const _0x28be0e='/universer-api/license/formula/limit/status',_0x5c7e89=_0x58d8a2(0x2bf),_0xcfd2df=_0x58d8a2(0x37a);let _0x286077=class extends _0x415f18[_0x58d8a2(0x1b2)]{constructor(_0x155d3c,_0x59d428,_0x56ab7f,_0x42c94a,_0x5d63fa,_0x4acea0,_0x114306){const _0x33ded0=_0x58d8a2;super(),_0x1a2e09(this,_0x33ded0(0x19a),null),_0x1a2e09(this,_0x33ded0(0x1c3),0x0),_0x1a2e09(this,_0x33ded0(0x16a),0x0),_0x1a2e09(this,'_taskIds',[]),_0x1a2e09(this,_0x33ded0(0xe8),0x0),(this['_messageService']=_0x155d3c,this['_commandService']=_0x59d428,this[_0x33ded0(0x290)]=_0x56ab7f,this[_0x33ded0(0x3b0)]=_0x42c94a,this[_0x33ded0(0x26c)]=_0x5d63fa,this['_logService']=_0x4acea0,this[_0x33ded0(0xfa)]=_0x114306,this[_0x33ded0(0x37c)]());}[_0x58d8a2(0x37c)](){const _0x46f8ee=_0x58d8a2;this[_0x46f8ee(0x1b7)](this[_0x46f8ee(0x1de)][_0x46f8ee(0x176)]((_0x139923,_0xf09217)=>{const _0x152b51=_0x46f8ee;var _0x2b68ab;if(_0x139923['id']!==_0x372566[_0x152b51(0x3aa)]['id'])return;const _0x1f018c=_0x139923[_0x152b51(0x209)];if(!this[_0x152b51(0x18b)]((_0x2b68ab=_0x1f018c['dirtyRanges'])!=null?_0x2b68ab:[]))return;if(!this[_0x152b51(0x237)]())throw this[_0x152b51(0x2a8)](_0x139923,_0xf09217),this['_showGuardMessage'](),new _0x415f18['CanceledError']();})),this[_0x46f8ee(0x1b7)](this[_0x46f8ee(0x1de)][_0x46f8ee(0x147)]((_0x68ef96,_0x5c0cfd)=>{const _0xfa9b1d=_0x46f8ee;if(_0x68ef96['id']!==_0x372566[_0xfa9b1d(0x1b9)]['id'])return;const _0x2c8f99=_0x68ef96[_0xfa9b1d(0x209)];if(_0x5853dd(_0x2c8f99)){const _0x7c8d45=_0x415f18[_0xfa9b1d(0x354)]();this[_0xfa9b1d(0x394)]['push'](_0x7c8d45),this[_0xfa9b1d(0x30b)](_0x7c8d45);}else{if(_0x2cbef7(_0x2c8f99)&&this[_0xfa9b1d(0x394)][_0xfa9b1d(0x1f7)]>0x0){const _0x4634e7=this[_0xfa9b1d(0x394)]['shift']();this[_0xfa9b1d(0x20d)](_0x4634e7);}}}));}[_0x58d8a2(0x126)](){const _0x2fc7bd=_0x58d8a2;super[_0x2fc7bd(0x126)](),this[_0x2fc7bd(0x1bf)](),this[_0x2fc7bd(0x394)]=[],this[_0x2fc7bd(0x16a)]=0x0,this[_0x2fc7bd(0x1c3)]=0x0,this[_0x2fc7bd(0xe8)]=0x0;}async[_0x58d8a2(0x2a8)](_0x5ba285,_0x3a421f){const _0x55ee16=_0x58d8a2;for(let _0x193590=0x0;_0x193590<0x1e;_0x193590++)try{if(await this[_0x55ee16(0x14e)](),this['_checkCalculationAvailable']()){this['_applyCommand'](_0x5ba285,_0x3a421f),this[_0x55ee16(0x117)][_0x55ee16(0xe9)]({'content':this[_0x55ee16(0xfa)]['t'](_0x55ee16(0x251)),'type':_0x119110[_0x55ee16(0x2fa)][_0x55ee16(0x21f)]});return;}await new Promise(_0x4b6d92=>{const _0x712205=_0x55ee16;this[_0x712205(0x19a)]=window[_0x712205(0x369)](_0x4b6d92,0x3e8);});}catch(_0x2daacc){this[_0x55ee16(0x36c)][_0x55ee16(0x1b0)](_0x2daacc);}this['_messageService'][_0x55ee16(0xe9)]({'content':this[_0x55ee16(0xfa)]['t'](_0x55ee16(0x1fe)),'type':_0x119110[_0x55ee16(0x2fa)]['Error']});}[_0x58d8a2(0x366)](_0x128d4f,_0x308107){const _0x3e4add=_0x58d8a2;try{this['_commandService'][_0x3e4add(0x3c0)](_0x128d4f['id'],_0x128d4f[_0x3e4add(0x209)],_0x308107);}catch(_0x2bc09c){this['_logService'][_0x3e4add(0x1b0)](_0x2bc09c);}}[_0x58d8a2(0x285)](_0x5d9b67,_0x1b48f4){const _0x4576ed=_0x58d8a2;_0x1b48f4<this['_lastResponseTimestamp']||(this[_0x4576ed(0xe8)]=_0x1b48f4,this[_0x4576ed(0x1c3)]=Number[_0x4576ed(0x21e)](_0x5d9b67['maxFormulaLimit']),this[_0x4576ed(0x16a)]=Number[_0x4576ed(0x21e)](_0x5d9b67[_0x4576ed(0x3b2)]));}async[_0x58d8a2(0x30b)](_0x5f56a3){const _0x85f339=_0x58d8a2;var _0x56852c,_0x49b81b;const _0x40116b=Date['now']();try{const _0x4f044f=((_0x56852c=this[_0x85f339(0x290)]['getConfig'](_0x41f4b6[_0x85f339(0x2b4)]))==null?void 0x0:_0x56852c[_0x85f339(0x2a4)])||_0x5c7e89,_0x4505d1=(await this[_0x85f339(0x3b0)]['post'](_0x4f044f,{'body':JSON['stringify']({'taskId':_0x5f56a3})}))[_0x85f339(0x24a)];if(((_0x49b81b=_0x4505d1[_0x85f339(0x1b0)])==null?void 0x0:_0x49b81b['code'])!==_0x1645b0['OK'])return;this[_0x85f339(0x285)](_0x4505d1[_0x85f339(0x166)],_0x40116b);}catch(_0x1769c3){this['_logService'][_0x85f339(0x1b0)](_0x1769c3);}}async[_0x58d8a2(0x14e)](_0x7ef691){const _0x1985f8=_0x58d8a2;var _0x10cdec,_0x1209c6;const _0x30ee03=Date[_0x1985f8(0x223)]();try{const _0x5dd416=((_0x10cdec=this[_0x1985f8(0x290)][_0x1985f8(0x221)](_0x41f4b6[_0x1985f8(0x2b4)]))==null?void 0x0:_0x10cdec[_0x1985f8(0x1fd)])||_0x28be0e,_0x54ecbd=_0x7ef691?_0x5dd416+_0x1985f8(0x1c8)+encodeURIComponent(_0x7ef691):_0x5dd416,_0x3e08d5=(await this[_0x1985f8(0x3b0)]['get'](_0x54ecbd))[_0x1985f8(0x24a)];if(((_0x1209c6=_0x3e08d5[_0x1985f8(0x1b0)])==null?void 0x0:_0x1209c6[_0x1985f8(0x30e)])!==_0x1645b0['OK'])return;this[_0x1985f8(0x285)](_0x3e08d5[_0x1985f8(0x166)],_0x30ee03);}catch(_0x1c121d){this[_0x1985f8(0x36c)][_0x1985f8(0x1b0)](_0x1c121d);}}async[_0x58d8a2(0x20d)](_0x2bf542){const _0x269f0b=_0x58d8a2;var _0x570113,_0x428c6b;const _0x6a5c08=Date['now']();try{const _0x25f476=((_0x570113=this['_configService'][_0x269f0b(0x221)](_0x41f4b6['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x570113[_0x269f0b(0x2ef)])||_0xcfd2df,_0x1f9454=(await this[_0x269f0b(0x3b0)][_0x269f0b(0x233)](_0x25f476,{'body':JSON[_0x269f0b(0xea)]({'taskId':_0x2bf542})}))[_0x269f0b(0x24a)];if(((_0x428c6b=_0x1f9454['error'])==null?void 0x0:_0x428c6b[_0x269f0b(0x30e)])!==_0x1645b0['OK'])return;this[_0x269f0b(0x285)](_0x1f9454[_0x269f0b(0x166)],_0x6a5c08);}catch(_0x2404c2){this[_0x269f0b(0x36c)][_0x269f0b(0x1b0)](_0x2404c2);}}[_0x58d8a2(0x237)](){const _0x3c34d7=_0x58d8a2;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x3c34d7(0x1c3)]-this[_0x3c34d7(0x16a)]>0x0;}[_0x58d8a2(0x1bf)](){const _0x4c00b4=_0x58d8a2;this[_0x4c00b4(0x19a)]&&(clearTimeout(this[_0x4c00b4(0x19a)]),this[_0x4c00b4(0x19a)]=null);}[_0x58d8a2(0x16f)](){const _0x40cd02=_0x58d8a2;this[_0x40cd02(0x117)][_0x40cd02(0xe9)]({'content':this[_0x40cd02(0xfa)]['t']('formula.calculation.waiting'),'type':_0x119110[_0x40cd02(0x2fa)]['Loading']});}[_0x58d8a2(0x18b)](_0x4dfcf2){const _0x4d4ef9=_0x58d8a2;for(const _0x50cc03 of _0x4dfcf2){const {unitId:_0x4fb403,sheetId:_0x4173bb,range:_0x39646d}=_0x50cc03,_0x40c514=this[_0x4d4ef9(0x26c)]['getUnit'](_0x4fb403);if(!_0x40c514)continue;const _0x5b0aef=_0x40c514[_0x4d4ef9(0x172)](_0x4173bb);if(!_0x5b0aef)continue;const _0x89989a=_0x5b0aef['getCellMatrix']();for(let _0x430f17=_0x39646d[_0x4d4ef9(0x1e9)];_0x430f17<=_0x39646d[_0x4d4ef9(0x30c)];_0x430f17++)for(let _0x4b1d67=_0x39646d[_0x4d4ef9(0x2fb)];_0x4b1d67<=_0x39646d[_0x4d4ef9(0x1a2)];_0x4b1d67++){const _0x53a610=_0x89989a[_0x4d4ef9(0x177)](_0x430f17,_0x4b1d67);if(_0x53a610&&(_0x415f18[_0x4d4ef9(0x328)](_0x53a610['f'])||_0x415f18[_0x4d4ef9(0x33f)](_0x53a610['si'])))return!0x0;}}return!0x1;}};_0x286077=_0x3fed9c([_0xee1eb7(0x0,_0x415f18[_0x58d8a2(0x284)](_0x4fe70c[_0x58d8a2(0x258)])),_0xee1eb7(0x1,_0x415f18[_0x58d8a2(0x22e)]),_0xee1eb7(0x2,_0x415f18['IConfigService']),_0xee1eb7(0x3,_0x415f18[_0x58d8a2(0x284)](_0x297528[_0x58d8a2(0x1d1)])),_0xee1eb7(0x4,_0x415f18[_0x58d8a2(0x288)]),_0xee1eb7(0x5,_0x415f18[_0x58d8a2(0x3c1)]),_0xee1eb7(0x6,_0x415f18[_0x58d8a2(0x284)](_0x415f18[_0x58d8a2(0x1f8)]))],_0x286077);var _0x3afea8=Object[_0x58d8a2(0x139)],_0x96b7f2=(_0x1d98e2,_0x417983,_0x512d73,_0x584732)=>{const _0xd5bf13=_0x58d8a2;for(var _0x421dc4=_0x584732>0x1?void 0x0:_0x584732?_0x3afea8(_0x417983,_0x512d73):_0x417983,_0x25e21b=_0x1d98e2[_0xd5bf13(0x1f7)]-0x1,_0x21e932;_0x25e21b>=0x0;_0x25e21b--)(_0x21e932=_0x1d98e2[_0x25e21b])&&(_0x421dc4=_0x21e932(_0x421dc4)||_0x421dc4);return _0x421dc4;},_0x35f534=(_0x2b465a,_0x2e3c06)=>(_0x478291,_0x5f390a)=>_0x2e3c06(_0x478291,_0x5f390a,_0x2b465a);let _0x54e0c2=class extends _0x415f18[_0x58d8a2(0x1b2)]{constructor(_0x27fe65,_0x39af0b,_0x1dfde8){const _0x32321a=_0x58d8a2;super(),_0x1a2e09(this,_0x32321a(0x249),new Map()),_0x1a2e09(this,_0x32321a(0x193),new Map()),_0x1a2e09(this,_0x32321a(0x273),!0x1),(this[_0x32321a(0x290)]=_0x27fe65,this[_0x32321a(0x316)]=_0x39af0b,this[_0x32321a(0x191)]=_0x1dfde8);}[_0x58d8a2(0x319)](){const _0x337921=_0x58d8a2;this[_0x337921(0x273)]=!0x0;}[_0x58d8a2(0x1ae)](){const _0x10c462=_0x58d8a2;this[_0x10c462(0x273)]=!0x1;}get['saveTaskMap'](){const _0x23ed92=_0x58d8a2;return this[_0x23ed92(0x193)];}[_0x58d8a2(0x126)](){const _0x38b223=_0x58d8a2;this[_0x38b223(0x37f)]()['then'](()=>super[_0x38b223(0x126)]());}async[_0x58d8a2(0x303)](_0x4cbc03){const _0x29873b=_0x58d8a2;return this[_0x29873b(0x273)]?null:this[_0x29873b(0x316)]['getItem'](_0x41f4b6[_0x29873b(0x297)](_0x4cbc03));}async['saveOfflineData'](_0x204819,_0x107e9c){const _0x54ee3e=_0x58d8a2;return!!this[_0x54ee3e(0x316)][_0x54ee3e(0x337)](_0x204819,_0x107e9c);}[_0x58d8a2(0x154)](_0x187f49,_0x459ef6,_0x3b7566,_0x2e976b){const _0x3a571e=_0x58d8a2,_0xb0c00d=this[_0x3a571e(0x191)][_0x3a571e(0x28a)](_0x187f49);this[_0x3a571e(0x249)][_0x3a571e(0xfd)](_0x187f49,{'unitID':_0x187f49,'type':_0x459ef6,'awaitingChangeset':_0x3b7566,'mutations':_0x2e976b,'rev':_0xb0c00d}),this[_0x3a571e(0x193)][_0x3a571e(0x29a)](_0x187f49)||this[_0x3a571e(0x18f)](_0x187f49);}[_0x58d8a2(0x18f)](_0x3e5c99){const _0x434e76=_0x58d8a2,_0x5f0f86=this[_0x434e76(0x1b8)]();_0x5f0f86===0x0?this['_saveCache'](_0x3e5c99):this[_0x434e76(0x193)][_0x434e76(0xfd)](_0x3e5c99,setTimeout(()=>this['_saveCache'](_0x3e5c99),_0x5f0f86));}[_0x58d8a2(0x1b8)](){const _0x23c4b4=_0x58d8a2;var _0x39f35b;return(_0x39f35b=this[_0x23c4b4(0x290)][_0x23c4b4(0x221)](_0x41f4b6[_0x23c4b4(0x34f)]))!=null?_0x39f35b:_0x41f4b6[_0x23c4b4(0x2bc)];}[_0x58d8a2(0x375)](_0x533b31){const _0x4e9f2f=_0x58d8a2,_0x3af242=this['_saveTaskMap'][_0x4e9f2f(0x272)](_0x533b31);return _0x3af242!==void 0x0&&window[_0x4e9f2f(0xf0)](_0x3af242),this['_localStorageService'][_0x4e9f2f(0x337)](_0x41f4b6['getLocalCacheKey'](_0x533b31),this['_cachedData'][_0x4e9f2f(0x272)](_0x533b31))['then'](()=>this['_saveTaskMap'][_0x4e9f2f(0x2e2)](_0x533b31));}async['exhaustSavingTask'](){const _0x2fad7b=_0x58d8a2,_0x1e80e7=[];this[_0x2fad7b(0x193)][_0x2fad7b(0x10a)]((_0x480600,_0xecf94a)=>{const _0x1cecfc=_0x2fad7b;window[_0x1cecfc(0xf0)](_0x480600),_0x1e80e7[_0x1cecfc(0xec)](this[_0x1cecfc(0x375)](_0xecf94a)[_0x1cecfc(0x110)](()=>{const _0x25e9bf=_0x1cecfc;this[_0x25e9bf(0x193)][_0x25e9bf(0x2e2)](_0xecf94a);}));}),await Promise[_0x2fad7b(0x352)](_0x1e80e7);}};_0x54e0c2=_0x96b7f2([_0x35f534(0x0,_0x415f18[_0x58d8a2(0x385)]),_0x35f534(0x1,_0x415f18[_0x58d8a2(0x3a1)]),_0x35f534(0x2,_0x415f18['Inject'](_0xfd7b1f[_0x58d8a2(0x2a1)]))],_0x54e0c2);class _0x39f77b extends _0x415f18[_0x58d8a2(0x101)]{constructor(){const _0x2cfeed=_0x58d8a2;super(),_0x1a2e09(this,_0x2cfeed(0x260)),this['urlChange$']=_0x5a105f['fromEvent'](window,_0x2cfeed(0x1bb))[_0x2cfeed(0xef)](_0x5a105f[_0x2cfeed(0x203)](this[_0x2cfeed(0x17e)]),_0x5a105f['shareReplay'](0x1),_0x5a105f[_0x2cfeed(0x31d)](void 0x0));}['setParam'](_0x3b8b1e,_0x46d7f2,_0x514518=!0x1){const _0x4e5e74=_0x58d8a2,_0x3d5a4e=new URL(window[_0x4e5e74(0x246)]['href']);_0x3d5a4e[_0x4e5e74(0xf3)][_0x4e5e74(0xfd)](_0x3b8b1e,_0x46d7f2),_0x514518?window[_0x4e5e74(0x2b1)][_0x4e5e74(0x124)]('','',_0x3d5a4e[_0x4e5e74(0xff)]()):window[_0x4e5e74(0x2b1)]['pushState']('','',_0x3d5a4e[_0x4e5e74(0xff)]());}[_0x58d8a2(0x333)](_0x184e37,_0x28e676=!0x1){const _0x21159f=_0x58d8a2,_0x381dfa=new URL(window[_0x21159f(0x246)][_0x21159f(0x236)]);_0x381dfa[_0x21159f(0xf3)][_0x21159f(0x2e2)](_0x184e37),_0x28e676?window[_0x21159f(0x2b1)][_0x21159f(0x124)]('','',_0x381dfa[_0x21159f(0xff)]()):window['history']['pushState']('','',_0x381dfa[_0x21159f(0xff)]());}['getParam'](_0x1ed15b){const _0x10d31=_0x58d8a2;var _0xa08f2f;return(_0xa08f2f=new URL(window['location']['href'])[_0x10d31(0xf3)][_0x10d31(0x272)](_0x1ed15b))!=null?_0xa08f2f:void 0x0;}}var _0x2fc9bd=Object['defineProperty'],_0x50cc37=Object[_0x58d8a2(0x139)],_0x4565b9=(_0x93a52,_0x4f26dc,_0x401d42)=>_0x4f26dc in _0x93a52?_0x2fc9bd(_0x93a52,_0x4f26dc,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x401d42}):_0x93a52[_0x4f26dc]=_0x401d42,_0x79c9b1=(_0x3d41b3,_0x5104df,_0x23e6a2,_0x24d007)=>{const _0x58b921=_0x58d8a2;for(var _0x56e370=_0x24d007>0x1?void 0x0:_0x24d007?_0x50cc37(_0x5104df,_0x23e6a2):_0x5104df,_0x246f32=_0x3d41b3[_0x58b921(0x1f7)]-0x1,_0x592ab6;_0x246f32>=0x0;_0x246f32--)(_0x592ab6=_0x3d41b3[_0x246f32])&&(_0x56e370=_0x592ab6(_0x56e370)||_0x56e370);return _0x56e370;},_0x1039c3=(_0x2b578f,_0x1bc488)=>(_0x3e626c,_0x35245c)=>_0x1bc488(_0x3e626c,_0x35245c,_0x2b578f),_0x2b9daf=(_0x5577d2,_0x497ef3,_0xf42948)=>_0x4565b9(_0x5577d2,_0x497ef3+'',_0xf42948);const _0x1ad2ce=_0x58d8a2(0x241);_0x20f7e8[_0x58d8a2(0x120)]=class extends _0x415f18['Plugin']{constructor(_0x5c4ab0=_0x1849cb,_0x540746,_0x334200,_0x23381a){const _0x4d1993=_0x58d8a2;super(),this[_0x4d1993(0x112)]=_0x5c4ab0,this[_0x4d1993(0x2ac)]=_0x540746,this['_injector']=_0x334200,this[_0x4d1993(0x290)]=_0x23381a;const {..._0x5b2d56}=_0x415f18[_0x4d1993(0x302)]({},_0x1849cb,this[_0x4d1993(0x112)]);this[_0x4d1993(0x290)][_0x4d1993(0x28c)](_0x48cd1b,_0x5b2d56);}[_0x58d8a2(0xfc)](){const _0xe50d42=_0x58d8a2;this['_registerDependencies'](),this[_0xe50d42(0x255)]();}[_0x58d8a2(0x33a)](){this['_registerRenderDependencies']();}[_0x58d8a2(0x21c)](){const _0x21c36a=_0x58d8a2;var _0x38c357;const _0x7974bd=[[_0x1689eb],[_0x286077],[_0x2a4434],[_0x2a73d0],[_0x19e043],[_0x2905ba],[_0x34b68f,{'useClass':_0x39f77b}],[_0x297528[_0x21c36a(0x10d)],{'useClass':_0x297528[_0x21c36a(0x355)]}],[_0x41f4b6['ILocalCacheService'],{'useClass':_0x54e0c2}],[_0x20f7e8[_0x21c36a(0x13c)]],[_0x188bb9],[_0x489c1e],[_0x49cf8d],[_0x4f2d52],[_0x20f7e8['CollaborationDataLoaderController']]];this['_config'][_0x21c36a(0x301)]&&_0x7974bd[_0x21c36a(0xec)]([_0x41d97c]),_0x415f18[_0x21c36a(0x13a)](this[_0x21c36a(0x129)],_0x415f18[_0x21c36a(0x26a)](_0x7974bd,(_0x38c357=this[_0x21c36a(0x112)])==null?void 0x0:_0x38c357['override']));}[_0x58d8a2(0x39c)](){const _0x51edac=_0x58d8a2;this[_0x51edac(0x1b7)](this[_0x51edac(0x2ac)]['registerRenderModule'](_0x415f18[_0x51edac(0x388)]['UNIVER_DOC'],[_0x50a3a6])),this[_0x51edac(0x1b7)](this[_0x51edac(0x2ac)]['registerRenderModule'](_0x415f18[_0x51edac(0x388)][_0x51edac(0x3ad)],[_0x28e136]));}['_initDependencies'](){const _0x3c87bf=_0x58d8a2;_0x415f18['touchDependencies'](this['_injector'],[[_0x49cf8d],[_0x20f7e8[_0x3c87bf(0x13c)]],[_0x188bb9],[_0x489c1e],[_0x20f7e8['CollaborationDataLoaderController']],[_0x286077]]),this[_0x3c87bf(0x112)][_0x3c87bf(0x301)]&&_0x415f18[_0x3c87bf(0x261)](this[_0x3c87bf(0x129)],[[_0x41d97c]]);}},_0x2b9daf(_0x20f7e8[_0x58d8a2(0x120)],'pluginName',_0x1ad2ce),_0x20f7e8[_0x58d8a2(0x120)]=_0x79c9b1([_0x415f18['DependentOn'](_0x41f4b6[_0x58d8a2(0x2dd)]),_0x1039c3(0x1,_0x364f72[_0x58d8a2(0x29d)]),_0x1039c3(0x2,_0x415f18[_0x58d8a2(0x284)](_0x415f18[_0x58d8a2(0x3a7)])),_0x1039c3(0x3,_0x415f18['IConfigService'])],_0x20f7e8[_0x58d8a2(0x120)]);var _0x5f0571=Object[_0x58d8a2(0x139)],_0x4b3784=(_0x3de5de,_0x17e7a2,_0x69a40a,_0x36d64a)=>{const _0x5a6f96=_0x58d8a2;for(var _0x4bc748=_0x36d64a>0x1?void 0x0:_0x36d64a?_0x5f0571(_0x17e7a2,_0x69a40a):_0x17e7a2,_0x2ba17e=_0x3de5de[_0x5a6f96(0x1f7)]-0x1,_0x2672ae;_0x2ba17e>=0x0;_0x2ba17e--)(_0x2672ae=_0x3de5de[_0x2ba17e])&&(_0x4bc748=_0x2672ae(_0x4bc748)||_0x4bc748);return _0x4bc748;},_0xe612a3=(_0x2bf6db,_0x37ad41)=>(_0xb028d0,_0x242042)=>_0x37ad41(_0xb028d0,_0x242042,_0x2bf6db);_0x20f7e8[_0x58d8a2(0x334)]=class extends _0x41f4b6[_0x58d8a2(0x387)]{constructor(_0x1849dd,_0x5aa552,_0x600ebf,_0x327692,_0x1e1d48){super(_0x1849dd,_0x5aa552,_0x600ebf,_0x327692,_0x1e1d48);}async[_0x58d8a2(0x151)](_0xaffcf1){const _0x1fa7bb=_0x58d8a2,_0xd75016=await this[_0x1fa7bb(0x170)](),_0x254947=this[_0x1fa7bb(0x344)](_0xaffcf1,_0xd75016);return this[_0x1fa7bb(0x1fa)](_0x254947);}['_createSocketURL'](_0x57d30b,_0x32caca){const _0x538ea4=_0x58d8a2,_0x531724=typeof window>'u'?new URL(_0x57d30b):new URL(_0x57d30b,window[_0x538ea4(0x246)][_0x538ea4(0x2a5)]);_0x531724[_0x538ea4(0xf3)][_0x538ea4(0xfd)]('sessionTicket',_0x32caca);const _0x5b0e64=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x538ea4(0x246)][_0x538ea4(0xe5)]);return _0x5b0e64[_0x538ea4(0x272)](_0x538ea4(0x266))&&_0x531724[_0x538ea4(0xf3)][_0x538ea4(0xfd)](_0x538ea4(0x266),_0x5b0e64['get']('runId')),_0x531724[_0x538ea4(0xff)]();}async[_0x58d8a2(0x170)](){const _0x18779a=_0x58d8a2;var _0x29cc62,_0x4659a3,_0x4cb83a;const _0x420013=this[_0x18779a(0x290)][_0x18779a(0x221)](_0x41f4b6[_0x18779a(0x2b4)]),_0x3136b8=(_0x29cc62=_0x420013==null?void 0x0:_0x420013[_0x18779a(0x17c)])!=null?_0x29cc62:_0x41f4b6[_0x18779a(0x313)];return(_0x4cb83a=(_0x4659a3=(await this[_0x18779a(0x3b0)]['get'](_0x3136b8,{'headers':{'Content-Type':'application/json'}}))[_0x18779a(0x24a)])==null?void 0x0:_0x4659a3[_0x18779a(0x213)])!=null?_0x4cb83a:'';}},_0x20f7e8['BrowserCollaborationSocketService']=_0x4b3784([_0xe612a3(0x0,_0x415f18[_0x58d8a2(0x284)](_0x415f18[_0x58d8a2(0x3a7)])),_0xe612a3(0x1,_0x415f18[_0x58d8a2(0x284)](_0x297528['HTTPService'])),_0xe612a3(0x2,_0x415f18[_0x58d8a2(0x385)]),_0xe612a3(0x3,_0x415f18[_0x58d8a2(0x3c1)]),_0xe612a3(0x4,_0xfd7b1f[_0x58d8a2(0x397)])],_0x20f7e8[_0x58d8a2(0x334)]);var _0xd970b2=Object[_0x58d8a2(0x139)],_0x39ab=(_0x3294cc,_0x10563c,_0x506e4f,_0x3d33af)=>{for(var _0x4b15bb=_0x3d33af>0x1?void 0x0:_0x3d33af?_0xd970b2(_0x10563c,_0x506e4f):_0x10563c,_0x7ffa92=_0x3294cc['length']-0x1,_0x25333d;_0x7ffa92>=0x0;_0x7ffa92--)(_0x25333d=_0x3294cc[_0x7ffa92])&&(_0x4b15bb=_0x25333d(_0x4b15bb)||_0x4b15bb);return _0x4b15bb;},_0x469630=(_0x204061,_0x109e6f)=>(_0x3bb360,_0x428328)=>_0x109e6f(_0x3bb360,_0x428328,_0x204061);_0x20f7e8[_0x58d8a2(0x27b)]=class extends _0x415f18[_0x58d8a2(0x1b2)]{constructor(_0x3ffaca,_0x32810b,_0x581b77){const _0xd565fd=_0x58d8a2;super(),this[_0xd565fd(0x207)]=_0x3ffaca,this[_0xd565fd(0x3b0)]=_0x32810b,this[_0xd565fd(0x290)]=_0x581b77;}async[_0x58d8a2(0xdd)](_0x3aca6a,_0x461164,_0x41d33d,..._0x3b9a67){const _0x12a012=_0x58d8a2;var _0x33720f,_0x59641e,_0x419013,_0xfcfa91;const _0x325479=this[_0x12a012(0x207)]['getFocusedUnit']();if(!_0x325479)throw new Error(_0x12a012(0x364));const _0x3392b5=((_0x33720f=this[_0x12a012(0x290)][_0x12a012(0x221)](_0x41f4b6[_0x12a012(0x363)]))!=null?_0x33720f:_0x41f4b6[_0x12a012(0x244)])+'/'+_0x3aca6a+_0x12a012(0x315)+_0x461164,_0x3d2c66=new URL(window[_0x12a012(0x246)][_0x12a012(0x236)]),_0x121e41={'scriptId':_0x3aca6a,'runId':(_0x59641e=_0x3d2c66[_0x12a012(0xf3)][_0x12a012(0x272)]('runId'))!=null?_0x59641e:'','function':_0x461164,'unitId':_0x325479[_0x12a012(0x277)](),'argsOfFunction':JSON[_0x12a012(0xea)](_0x3b9a67),'invokeId':(_0x419013=_0x41d33d['invokeId'])!=null?_0x419013:'','executionId':(_0xfcfa91=_0x41d33d[_0x12a012(0x335)])!=null?_0xfcfa91:''};try{const _0x2c96a6=await this[_0x12a012(0x3b0)][_0x12a012(0x233)](_0x3392b5,{'body':_0x121e41});return _0x2c96a6[_0x12a012(0x24a)][_0x12a012(0x1b0)]&&_0x2c96a6[_0x12a012(0x24a)]['error'][_0x12a012(0x30e)]!==_0x1645b0['OK']?_0x12a012(0x1c6):_0x2c96a6[_0x12a012(0x24a)][_0x12a012(0x116)];}catch{return'Failed';}}},_0x20f7e8['RemoteUniscriptService']=_0x39ab([_0x469630(0x0,_0x415f18[_0x58d8a2(0x288)]),_0x469630(0x1,_0x415f18[_0x58d8a2(0x284)](_0x297528[_0x58d8a2(0x1d1)])),_0x469630(0x2,_0x415f18[_0x58d8a2(0x385)])],_0x20f7e8[_0x58d8a2(0x27b)]);const _0x3bf8cc=0x7530,_0x67bcc7=_0x58d8a2(0x2c0);class _0x59a19c extends _0x415f18[_0x58d8a2(0x1b2)]{constructor(){const _0x151d21=_0x58d8a2;super(),_0x1a2e09(this,_0x151d21(0x360),_0x415f18['generateRandomId']()),_0x1a2e09(this,_0x151d21(0x311),new Set()),_0x1a2e09(this,_0x151d21(0x1c9),new Map()),_0x1a2e09(this,_0x151d21(0x346),null),_0x1a2e09(this,_0x151d21(0x271),new Map()),_0x1a2e09(this,_0x151d21(0x339),new Map()),this[_0x151d21(0x368)]();}[_0x58d8a2(0x126)](){const _0x6ee5fd=_0x58d8a2;super[_0x6ee5fd(0x126)](),this['_clearOtherTimers'][_0x6ee5fd(0x10a)]((_0x11e1a7,_0x5160cf)=>this[_0x6ee5fd(0x2c2)](_0x5160cf)),this[_0x6ee5fd(0x346)]&&window['clearInterval'](this[_0x6ee5fd(0x346)]);}[_0x58d8a2(0x38c)](_0x2e855b){const _0x3803aa=_0x58d8a2;return this['_ensureSubject'](_0x2e855b)[_0x3803aa(0xef)](_0x5a105f[_0x3803aa(0x2f9)]());}['editingUnit'](_0x10cda8){const _0x37e9fa=_0x58d8a2;this['_selfUnitIDs'][_0x37e9fa(0xda)]===0x0&&this[_0x37e9fa(0x10f)](),this['_selfUnitIDs'][_0x37e9fa(0x2a9)](_0x10cda8),this[_0x37e9fa(0x12b)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x10cda8],'isForwarded':!0x1});}['disposeUnit'](_0x2b62df){const _0x4cebf3=_0x58d8a2;this['_selfUnitIDs'][_0x4cebf3(0x2e2)](_0x2b62df),this['_selfUnitIDs'][_0x4cebf3(0xda)]===0x0&&this[_0x4cebf3(0x346)]&&window[_0x4cebf3(0x1e8)](this[_0x4cebf3(0x346)]);}[_0x58d8a2(0x368)](){const _0x4412b6=_0x58d8a2;this['disposeWithMe'](_0x415f18[_0x4412b6(0x11a)](_0x5a105f[_0x4412b6(0x1f9)](window,_0x4412b6(0x20e))[_0x4412b6(0x33b)](_0xd0c548=>{const _0x4e7732=_0x4412b6;if(_0xd0c548[_0x4e7732(0xeb)]!==_0x67bcc7||!_0xd0c548[_0x4e7732(0x123)])return;const _0x346bd6=JSON[_0x4e7732(0x2c9)](_0xd0c548[_0x4e7732(0x123)]);this[_0x4e7732(0x18d)](_0x346bd6);}))),window['addEventListener'](_0x4412b6(0x2aa),()=>this['_send']({'type':0x1,'memberID':this[_0x4412b6(0x360)],'unitIDs':Array['from'](this[_0x4412b6(0x311)])}));}[_0x58d8a2(0x18d)](_0x4e4a81){const _0xcf7283=_0x58d8a2;switch(_0x4e4a81[_0xcf7283(0x25e)]){case 0x0:this[_0xcf7283(0x2ff)](_0x4e4a81);break;case 0x1:this[_0xcf7283(0x2fd)](_0x4e4a81);break;case 0x2:this[_0xcf7283(0x163)](_0x4e4a81);break;}}['_handleJoinEvent'](_0x59f89b){const _0x26a4c7=_0x58d8a2,{unitIDs:_0x35a1b6,memberID:_0x5280b0,isForwarded:_0x29e0b1}=_0x59f89b;_0x35a1b6[_0x26a4c7(0x10a)](_0x4eb4b4=>{const _0x525b17=_0x26a4c7;if(!_0x29e0b1&&this[_0x525b17(0x1c9)][_0x525b17(0x29a)](_0x4eb4b4)&&this[_0x525b17(0xdf)](_0x4eb4b4)[_0x525b17(0x1a7)](_0x41f4b6[_0x525b17(0x1ac)][_0x525b17(0x35b)]),!this[_0x525b17(0x1c9)][_0x525b17(0x29a)](_0x4eb4b4)||!this['_unitOnClients']['get'](_0x4eb4b4)[_0x525b17(0x29a)](_0x5280b0)){const _0x2da0c4=this[_0x525b17(0x1c9)][_0x525b17(0x272)](_0x4eb4b4)||new Set();_0x2da0c4[_0x525b17(0x2a9)](_0x5280b0),this[_0x525b17(0x1c9)][_0x525b17(0xfd)](_0x4eb4b4,_0x2da0c4),this['_scheduleClearOtherTimer'](_0x5280b0);}}),_0x29e0b1||this[_0x26a4c7(0x12b)]({'type':0x0,'memberID':this[_0x26a4c7(0x360)],'unitIDs':[...this[_0x26a4c7(0x311)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x3ba98b){const _0x4f6f52=_0x58d8a2;this[_0x4f6f52(0x2c2)](_0x3ba98b);const _0x53843a=window[_0x4f6f52(0x369)](()=>{const _0x29a373=_0x4f6f52;this[_0x29a373(0x1c9)][_0x29a373(0x10a)](_0x3ee692=>{const _0x26f93f=_0x29a373;_0x3ee692[_0x26f93f(0x2e2)](_0x3ba98b);});},_0x3bf8cc*0x2);this['_clearOtherTimers'][_0x4f6f52(0xfd)](_0x3ba98b,_0x53843a);}[_0x58d8a2(0x2c2)](_0x568b46){const _0x4ac0e5=_0x58d8a2;if(this[_0x4ac0e5(0x271)][_0x4ac0e5(0x29a)](_0x568b46)){const _0x41a39c=this[_0x4ac0e5(0x271)]['get'](_0x568b46);_0x41a39c&&window[_0x4ac0e5(0xf0)](_0x41a39c),this[_0x4ac0e5(0x271)]['set'](_0x568b46,null);}}[_0x58d8a2(0x2fd)](_0x5e4726){const _0x558e2e=_0x58d8a2,{memberID:_0xa68738,unitIDs:_0x4f006d}=_0x5e4726;_0x4f006d[_0x558e2e(0x10a)](_0x260aae=>{const _0x557999=_0x558e2e;var _0xee7d99;const _0x3ecff3=this[_0x557999(0x1c9)]['get'](_0x260aae);_0x3ecff3&&(_0x3ecff3['delete'](_0xa68738),(_0xee7d99=this['_ensureSubject'](_0x260aae))==null||_0xee7d99[_0x557999(0x1a7)](_0x3ecff3['size']===0x0?_0x41f4b6[_0x557999(0x1ac)][_0x557999(0xd7)]:_0x41f4b6[_0x557999(0x1ac)]['OTHER_CLIENTS_EDITING']));}),this[_0x558e2e(0x2c2)](_0xa68738);}[_0x58d8a2(0x163)](_0x4040d2){const _0x10b7b0=_0x58d8a2;this[_0x10b7b0(0x114)](_0x4040d2['memberID']);}[_0x58d8a2(0x12b)](_0xdf362d){localStorage['setItem'](_0x67bcc7,JSON['stringify'](_0xdf362d));}[_0x58d8a2(0x10f)](){const _0x4fc007=_0x58d8a2;this['_heartbeatTimer']=window[_0x4fc007(0x28e)](()=>{const _0x1980c0=_0x4fc007;this[_0x1980c0(0x12b)]({'type':0x2,'memberID':this[_0x1980c0(0x360)]});},_0x3bf8cc);}[_0x58d8a2(0xdf)](_0x3f7b9e){const _0x49d784=_0x58d8a2;return this[_0x49d784(0x339)][_0x49d784(0x29a)](_0x3f7b9e)||this[_0x49d784(0x339)][_0x49d784(0xfd)](_0x3f7b9e,new _0x5a105f[(_0x49d784(0x379))](_0x41f4b6[_0x49d784(0x1ac)][_0x49d784(0xd7)])),this[_0x49d784(0x339)][_0x49d784(0x272)](_0x3f7b9e);}}_0x20f7e8['IURLService']=_0x34b68f,_0x20f7e8[_0x58d8a2(0x1b3)]=_0x5592f4,_0x20f7e8[_0x58d8a2(0x165)]=_0x59a19c,_0x20f7e8[_0x58d8a2(0x157)]=_0x39f77b,Object[_0x58d8a2(0x210)](_0x20f7e8,Symbol['toStringTag'],{'value':'Module'});}));function _0x596a(){const _0x560855=['svg','getSheetObject','IMessageService','START_CALCULATION','_anchorDot','479324edcZGP','PY_RUNTIME_SCRIPT_ERROR','EMAIL_VERIFY_CODE_MISMATCH','type','purple.300','urlChange$','touchDependencies','APPLY_DUPLICATED','includes','black','deepClone','runId','SOCKET_FAILED_RETRY','getSkeleton','@univerjs/design','mergeOverrideWithDependencies','subunit','_univerInstanceService','@univerjs/network','green.600','_notificationService','_initStatusListener','_clearOtherTimers','get','_disabled','0\x200\x2017\x2016','getCoordByCell','fill','getUnitId','getAncestorScale','Unknown\x20user','_range','RemoteUniscriptService','Tools','stage','MOBILE_VERIFY_CODE_MISMATCH','_drawTextRange','_onCursorUpdate','uni.network.url-service','white','toRgbString','Inject','_setFormulaLimitStatus','handleIRemoveRow','TEXT_RANGE_LAYER_INDEX','IUniverInstanceService','selections','getCurrentRevOfUnit','getRenderById','setConfig','ranges','setInterval','round','_configService','cursorInfo$','from','TOO_MANY_REQUESTS','assign','REDEMPTION_INVALID_CODE','REDEMPTION_USER_REDEEM_TIMES_EXCEED','getLocalCacheKey','_docTransformStateCacheService','getMemberID','has','_labelPosition','RichTextEditingMutation','IRenderManagerService','setParam','CONNECTOR_DATA_TOO_LARGE','evenodd','RevisionService','filter','focused$','startFormulaLimitUrl','origin','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','LICENSE_MAX_UNITS_EXCEEDED','_checkAndWaitForCalculationPermission','add','unload','sheetId','_renderManagerService','currentTheme$','RefRangeService','_updateSubUnitFromURLParams','onMouseMove','history','_initEntityListener','_updateLocalCursor','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','eventID','setAlpha','onTransformChange$','unhandledrejection','Rectangle','_roomMembers$','isArray','LOCAL_CACHE_INTERVAL','517NWHXyJ','sessionStatus$','/universer-api/license/formula/limit/start','ACTIVE_UNIT_EVENT_CHANNEL','fillStyle','_removeClearOtherTimer','on-line-icon_clip0_910_349','handleIRemoveCol','_handleHover','fillRule','forwardRef','setShapeProps','parse','React','RemoveRowCommandId','DocStateChangeManagerService','text','_docTransformIMECacheService','m1Prime','NodePositionConvertToRectRange','_docSkeletonManagerService','EffectRefRangId','addObjects','lineno','engine','getOffsetConfig','collabStatus.syncing','registerRefRange','_collabCursorController','memberID','off-line-icon','transformMutation','UniverCollaborationClientPlugin','COLORS','getMember','WECHAT_HAS_BEEN_BOUND','UNAUTHENTICATED','delete','getUniverSheetInstance','unitId','collabCursorState$','_initCommandExecutedListener','_lastPointer','_hover','UNIVER_DOC','substring','_startSheetCollabCursor','unitID','9557896Fgpmbr','InsertRowCommandId','releaseFormulaLimitUrl','bottom','DeleteRangeMoveLeftCommandId','getParam','APPLY_REVISION_CONFILICT','HEADER_MENU','INVALID_ARGUMENT','CURRENT_STATUS_CANNOT_OPERATE','ENTITLE_INVALID_COUPON_CODE','collab-rect-range-','distinctUntilChanged','MessageType','startColumn','findNodePositionByCharIndex','_handleLeaveEvent','FromArray','_handleJoinEvent','m2Prime','enableFrontendLog','merge','loadOfflineData','syncEditingCollabCursor','range','children','current','send','@univerjs/engine-formula','UniverCore','_startCalculationLimit','endRow','PAYMENT_CHANNEL_NOT_SUPPORT','code','getTypeOfUnitDisposed$','[Window\x20Error]:\x20','_selfUnitIDs','UniverProCollaboration','DEFAULT_WS_SESSION_TICKET_URL','addHandlerCallback','/run/','_localStorageService','Vector2','complete','disableLocalCache','ERROR_AGAIN','_syncEditingCollabCursorService','MUTATION','mapTo','onPointerEnter$','_updateCollabCursors','saveImage','_hovered','UniverDrawing','handleInsertRangeMoveRight','colorChannel1','collab-text-anchor-','CHANGESET_REVISION_CONFILICT','YUUMI_URL_COL_OUT_OF_RANGE','isFormulaString','_setupBeforeClosingHandler','bind','YUUMI_SUBSCRIPTION_NOT_FOUND','_urlService','moveTo','_transformService','Tooltip','idSuffix','FormulaExecutedStateType','APPLY_NON_SEQUENTIAL_REVISION','removeParam','BrowserCollaborationSocketService','executionId','font','setItem','_getScale','_unitStatus','onRendered','subscribe','Error','_initResize','attrs','isFormulaId','OffLineIcon','stack','_docSkeleton','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_createSocketURL','REDEMPTION_USER_NOT_ELIGIBLE','_heartbeatTimer','restore','_updateURLWithCurrentState','map','subUnitId','SNAPSHOT_HAS_BEEN_REMOVED','CollaborationUIEventId','IRemoteInstanceService','hovered','LOCAL_CACHE_INTERVAL_KEY','_color','Subject','all','measureText','generateRandomId','WebSocketService','7hOJlkW','InsertColCommandId','random','assignAColorForMemberID','755304IUexiw','OTHER_CLIENTS_EDITING','combineLatest','stageInfo','UniverProCollaborationClient','handleInsertRangeMoveDown','_id','clsx','isTransformMutationFailure','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','[RemoteUniscriptService]:\x20no\x20focused\x20unit','ColorKit','_applyCommand','DocSelectionManagerService','_init','setTimeout','_toggleOffline','contains','_logService','[CollaborationDataLoaderController]','InsertRangeMoveRightCommandId','UniverDocsUi','getCollabCursors$','lineTo','CollaborationEvent','EMAIL_HAS_BEEN_BOUND','off-line-icon_clip0_910_343','_saveCache','_eventUnsubscribe','reconnect','_backgroundColor','BehaviorSubject','/universer-api/license/formula/limit/done','isActive','_initCommandInterceptor','_transformHistoryAndStateStack','string','exhaustSavingTask','defIds','USER_NOT_FOUND','ENTITLE_COUPON_EXPIRED','Rect','status$','IConfigService','replaceDocRanges','CollaborationSocketService','UniverInstanceType','1em','62XSBNQf','actions','getUnitStatus$','SetTextSelectionsOperation','DATA_SOURCE_TOO_LARGE','DeleteRangeMoveUpCommandId','_anchor','_colorAssignService','handleDeleteRangeMoveUp','ENTITLE_NEED_BILLING_ADDRESS','_taskIds','IDocClipboardService','fillText','ISnapshotServerService','switchMap','_entities','_startDocCollabCursor','entries','_registerRenderDependencies','SetDocZoomRatioOperation','function','_collaborationController','INVITE_CODE_ALREADY_BOUND','ILocalStorageService','_getSheetObject','yellow.400','collaboration.closeRoom','loadUnit','_drawAnchor','Injector','LICENSE_DISTRO_REJECTED','LICENSE_EXPORT_SIZE_EXCEEDED','SetFormulaCalculationStartMutation','none','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','UNIVER_SHEET','mutations','_shapes','_httpService','AUTHORIZE_CODE_ILLEGAL','currentUsage','NOT_FOUND','jsx','_cursor','UniverSheetsUi','INVITE_CODE_REQUIRED','width','_refreshCollabCursors','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getViewport','row','source','REDEMPTION_CODE_INACTIVE','permission.title','executeCommand','ILogService','REDEMPTION_CODE_NOT_STARTED','getUnhiddenWorksheets','UniverIcon','height','@univerjs/rpc','collabStatus.synced','NO_OTHER_CLIENTS_EDITING','requireSession','getColor','size','imageSourceType','handleMoveRange','runOnServer','SYNCED','_ensureSubject','closePath','collabStatus.conflict','ENTITLE_CAN_NOT_BUY_LOWER_OTP','#FFF','column','search','_draw','textRanges','_lastResponseTimestamp','show','stringify','key','push','OFFLINE','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','pipe','clearTimeout','debounceTime','DocSkeletonManagerService','searchParams','registerComponent','getColorFromTheme','_collaborationSessionService','beginPath','_onCursorDelete','Warning','_localeService','M0\x200H16V16H0z','onStarting','set','jsxs','toString','useRef','RxDisposable','drawWith','_getMergeRange','ENTITLE_INSUFFICIENT_QUOTA','event$','displayName','whenReady','isTransformMutationsWithChangesetSuccess','_scene','forEach','session.collaboration-timeout','with','ISocketService','_document','_scheduleHeartbeat','then','replace','_config','CollaborationDataLoaderController','_scheduleClearOtherTimer','getRangePointData','result','_messageService','blue.400','jiqing.500','toDisposable','xlink:href','roomMembers','TRANSFORM_CHANGE_OBSERVABLE_TYPE','createInstance','getActiveSheet','UniverCollaborationClientUIPlugin','div','unshift','newValue','replaceState','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','dispose','selection','univer-mr-2\x20univer-flex\x20univer-text-xl','_injector','CollaborationUIEventService','_send','path','filename','_sheetSkeletonManagerService','url(#$1','[Unhandled\x20Rejection]:\x20','collaboration.single-unit.warning','getSheetId','UniverDocs','hide','_beforeCloseService','_initWindowErrorListener','RECT','OTHER_CLIENT_EDITING','getOwnPropertyDescriptor','registerDependencies','_colorIndex','DesktopCollaborationStatusDisplayController','_removeCollabCursors','top','saveTaskMap','INTERNAL_ERROR','deserializeRangeWithSheet','_hideTimer','USERS_LEAVE','setActiveRange','values','docStateChange$','onCommandExecuted','collab-client.tooltip.reconnect','_localCacheService','YUUMI_ASYNCIO_CANCELLED','skeleton','UNDEFINED','triggerDblclick','_getFormulaLimitStatus','getDocRanges','_cursors','createSocket','UNRECOGNIZED','@univerjs-pro/collaboration-client','updateOfflineData','backgroundColor','CollaborationStatus','WebURLService','defs','undoState','@univerjs/core','data','@univerjs-pro/collaboration','_uploadLog','reason','isEditing','max','_initEvent','YUUMI_RATE_OVER_LIMIT','_handleHeartbeatEvent','mask','WebBrowserSingleActiveUnitService','limitInfo','_status$','YUUMI_NO_CUBOID_FOR_QUESTION','arc','_currentUsage','Workbook','1268210dALUXw','socket$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_showGuardMessage','_getSessionTicket','_session','getSheetBySheetId','debounce','CollaborationController','_online','beforeCommandExecuted','getValue','UniverSheets','_uiPartsService','currentColor','InsertRangeMoveDownCommandId','wsSessionTicketUrl','_transformPreviousActiveRange','dispose$','_entityInit$','entityInit$','SOCKET_FAILED','operators','_initStatusComponent','PENDING','roomMembers$','_memberID','69357gaxleL','_setupSubUnitSync','SUCCESS','asObservable','_hasFormulaInDirtyRanges','transformRemoteChangeset','_handleEvent','SessionStatus','_scheduleSaving','addEventListener','_revisionService','serializeRangeWithSheet','_saveTaskMap','COMPLETION_FINISHED','split','ENTITLE_CHAT_LIMIT_EXCEED','_assignedColors','DocIMEInputManagerService','unsubscribe','_pollingInterval','_render','_name','transform','USER_NOT_INVITED_CODE','_dataLoaderService','_docTransformSelectionsService','YUUMI_CONNECTOR_URL_NOT_FOUND','endColumn','@univerjs/docs','\x20at\x20','getFocusedUnit','subscribeEvent','next','getMergeData','addObject','getCollabEntity$','on-line-icon','UnitStatus','MoveRangeCommandId','enableLocalCache','_docStateChangeManagerService','error','_initUnhandledRejectionListener','Disposable','SheetCollabCursorShape','rxjs/operators','removeEventListener','join','disposeWithMe','_getSaveTimeout','SetFormulaCalculationNotificationMutation','fromEventSubject','popstate','setUndoRedoMutationParamsCache','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','transformByState','_clearPolling','INVALID_INVITE_CODE','_transformUndoRedoStack','getTypeOfUnitAdded$','_maxFormulaLimit','_collabSessionService','functionsExecutedState','Failed','debug','?taskId=','_unitOnClients','DOC_RANGE_TYPE','unit','_refRangeService','_context','univer-flex\x20univer-items-center','flatMap','labelPosition','HTTPService','5UYCTBY','_docClipboardService','getCurrentSelections','UniverRpc','MOBILE_HAS_BEEN_BOUND','_cursorInfo$','_themeService','ONLINE','_monkeyPatchLogService','transformIMECache','_cursorShapes','_docSyncEditingCollabCursorService','_commandService','SUBMIT_CHANGESET_TIMEOUT','@univerjs/sheets','tag','makeDirty','init','getCurrentUnitForType','ThemeService','...','_initUserListener','clearInterval','startRow','YUUMI_UNABLE_LOAD_URL','startsWith','NOT_COLLAB','YUUMI_AI_RUN_FAILED','url(#on-line-icon_clip0_910_349)','cursorInfo','ENSURE_SNAPSHOT_EXECUTION','object','RegularPolygon','APPLY_REJECT','amd','translate(.97)','LOGIN_TOKEN_PROCESSING_FAILED','length','LocaleService','fromEvent','_doCreateSocket','min','_textBubble','getformulaLimitStatusUrl','formula.calculation.unable','UniverEngineFormula','getStateCache','UPDATE_CURSOR','doc.mutation.rich-text-editing','takeUntil','_collabCursorState$','totalFormulasToCalculate','NodePositionConvertToCursor','_instanceService','save','params','redoState','ENTITLE_DUP_SUBSCRIPTION','CollaborationSessionService','_releaseCalculationLimit','storage','YUUMI_ALL_TABLES_IS_INVALID','defineProperty','RemoveColCommandId','getVpScrollXYInfoByPosToVp','ticket','IBeforeCloseService','collabStatus.fetchMiss','Shape','onPointerLeave$','clipPath','ITransformService','_onRefRangeChange','/universer-api/frontend/logs','_registerDependencies','resize','parseInt','Success','_getAnchorBounding','getConfig','_memberService','now','APPLY_PERMISSION_DENIED','find','collaboration.offline-data-not-saved','ENTITLE_COUPON_USED_UP','getRelativeToViewportCoord','CONFLICT','UniverProCollaborationClientUi','85517qhoBCI','react/jsx-runtime','_toggleOnline','ICommandService','LICENSE_IMPORT_SIZE_EXCEEDED','currentSkeleton$','DataLoaderService','color','post','SNAPSHOT_INVALID_SNAPSHOT','@univerjs/drawing','href','_checkCalculationAvailable','SheetSkeletonManagerService','_collaborationUIEventService','CommandType','createElement','CLOSE_ROOM','[LogService\x20Error]:\x20','SHEET_VIEWPORT_KEY','throttleTime','setStateCache','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','ALREADY_EXISTS','DocCollaborationEntity','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','REDEMPTION_CODE_FULLY_REDEEMED','location','INVITE_CODE_HAS_BEEN_UES','UniverDesign','_cachedData','body','9uzsutz','univerjs-icon\x20univerjs-icon-','1718112VJOQEY','UniverEngineRender','http://www.w3.org/2000/svg','REDEMPTION_CODE_HAS_BEEN_CREATED','formula.calculation.started','transformStateCache','rxjs','name','_initDependencies'];_0x596a=function(){return _0x560855;};return _0x596a();}