@univerjs-pro/collaboration-client-ui 0.12.2-experimental.20251129-0fa20cd → 0.12.2-experimental.20251201-5b27b55

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 +15 -15
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x4477(_0x248b0e,_0x444d84){const _0x83a3ad=_0x83a3();return _0x4477=function(_0x44776e,_0x27475d){_0x44776e=_0x44776e-0x13c;let _0xea4902=_0x83a3ad[_0x44776e];return _0xea4902;},_0x4477(_0x248b0e,_0x444d84);}function _0x83a3(){const _0x29c9b7=['ENTITLE_CAN_NOT_BUY_LOWER_OTP','YUUMI_CONNECTOR_URL_NOT_FOUND','currentTheme$','AUTHORIZE_CODE_ILLEGAL','_saveTaskMap','_eventUnsubscribe','NodePositionConvertToCursor','object','toDisposable','REDEMPTION_USER_NOT_ELIGIBLE','getValue','handleInsertCol','CollaborationDataLoaderController','Shape','asObservable','NO_OTHER_CLIENTS_EDITING','INVALID_ARGUMENT','white','send','doc.mutation.rich-text-editing','stageInfo','_ensureSubject','_textBubble','getAncestorScale','SetWorksheetActivateCommand','SessionStatus','Success','CHANGESET_REVISION_CONFILICT','getUnit','url(#$1','collabStatus.notCollab','[LogService\x20Error]:\x20','ISocketService','clearInterval','dirtyRanges','_drawRectRange','attrs','_taskIds','_hasFormulaInDirtyRanges','214902pNWmtn','INVALID_INVITE_CODE','MOBILE_HAS_BEEN_BOUND','IDocClipboardService','_toggleOnline','onRendered','onPointerEnter$','fromEvent','clipPath','RegularPolygon','registerBeforeClose','transformMutationsWithChangeset','MemberService','Inject','_cursors','touchDependencies','ThemeService','focused$','toString','_initUserListener','_setupBeforeClosingHandler','formula.calculation.waiting','_collaborationSessionService','_currentUsage','_labelPosition','switchMap','isFormulaId','maxFormulaLimit','useRef','useCallback','assignAColorForMemberID','parseInt','_doCreateSocket','_startDocCollabCursor','getSheetObject','_scheduleClearOtherTimer','evenodd','trim','bind','docStateChange$','debounce','SetFormulaCalculationStartMutation','_sheetSkeletonManagerService','runOnServer','TOO_MANY_REQUESTS','session.connection-failed','generateRandomId','off-line-icon','params','session.will-retry','_onCursorUpdate','_httpService','getParam','ICommandService','getCellMatrix','_getSheetObject','_heartbeatTimer','@univerjs/sheets','handleInsertRangeMoveDown','has','Loading','string','NOT_COLLAB','_docTransformStateCacheService','@univerjs/network','createIdentifier','operators','fillText','UnitStatus','transform','_themeService','M0\x200H16V16H0z','_memberID','hovered','executionId','green.600','_docSyncEditingCollabCursorService','@univerjs/design','WebSocketService','mutations','/universer-api/license/formula/limit/done','displayName','_pollingInterval','Disposable','Error','loadUnit','getSheetBySheetId','ITransformService','_checkAndWaitForCalculationPermission','LOGIN_FAILED','_docTransformSelectionsService','React','red.300','?taskId=','text','_injector','_init','APPLY_PERMISSION_DENIED','min','roomMembers','replaceState','pluginName','isEditing','USER_NOT_FOUND','_drawAnchor','INTERNAL_ERROR','collaboration.closeRoom','_docTransformIMECacheService','PY_RUNTIME_SCRIPT_ERROR','_handleJoinEvent','BrowserCollaborationSocketService','_beforeCloseService','xlink:href','now','LICENSE_MAX_UNITS_EXCEEDED','reason','_initEntityListener','setShapeProps','CONNECTOR_DATA_TOO_LARGE','_onRefRangeChange','_initWindowErrorListener','_refreshCollabCursors','merge','mergeOverrideWithDependencies','SNAPSHOT_INVALID_SNAPSHOT','_initEvent','memberID','symbol','_refRangeService','APPLY_REVISION_CONFILICT','transformSelections','UniverDocsUi','UNRECOGNIZED','startFormulaLimitUrl','MessageType','getformulaLimitStatusUrl','sessionStatus$','MUTATION','combineLatest','onCommandExecuted','engine','addObjects','_unitStatus','REDEMPTION_INVALID_CODE','popstate','_collabSessionService','REDEMPTION_CODE_NOT_STARTED','moveTo','fillRule','_getAnchorBounding','handleDeleteRangeMoveUp','jsxs','translate(.97)','handleMoveRange','205OFLQAo','FormulaExecutedStateType','handleDeleteRangeMoveLeft','RECT','handleInsertRow','UniverEngineRender','subunit','UniverInstanceType','OFFLINE','toStringTag','_hovered','urlChange$','transformByState','_collabCursorController','_registerRenderDependencies','UPDATE_CURSOR','getCoordByCell','_instanceService','_updateCollabCursors','getCurrentRevOfUnit','takeUntil','Optional','_dataLoaderService','includes','searchParams','CollaborationUIEventService','WebURLService','_status$','SUBMIT_CHANGESET_TIMEOUT','row','_assignedColors','7sGnnvK','throttleTime','YUUMI_RATE_OVER_LIMIT','enableFrontendLog','_applyCommand','isFormulaString','exhaustSavingTask','@univerjs/core','COMPLETION_FINISHED','PERMISSION_DENIED','reconnect','transformMutation','ILogService','type','_id','yellow.400','_unitOnClients','_initStatusComponent','defineProperty','UniverCollaborationClientUIPlugin','onPointerLeave$','cursorInfo','_clearPolling','getStateCache','DataLoaderService','contains','VIEW_MAIN','_scene','setStateCache','setTimeout','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','map','jiqing.500','_handleEvent','LOCAL_CACHE_INTERVAL','_updateLocalCursor','UNIVER_DOC','flatMap','amd','path','fill','origin','SheetsSelectionsService','_initCommandInterceptor','wsSessionTicketUrl','ENTITLE_DUP_SUBSCRIPTION','blue.400','YUUMI_AI_RUN_FAILED','onPointerMove$','CollaborationSessionService','newValue','ILocalStorageService','_handleLeaveEvent','result','uni.network.url-service','location','UniverCore','_maxFormulaLimit','saveOfflineData','getOwnPropertyDescriptor','permission.content','BuiltInUIPart','collabStatus.fetchMiss','runId','_collaborationController','CollaborationController','CollaborationStatus','_transformUndoRedoStack','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','application/json','DEFAULT_WS_SESSION_TICKET_URL','http://www.w3.org/2000/svg','_selfUnitIDs','_clearOtherTimers','error','Failed','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','cursorInfo$','off-line-icon_clip0_910_343','_memberService','_backgroundColor','_initDependencies','UniverDrawing','init','_scheduleSaving','getCellPositionByOffset','getVpScrollXYInfoByPosToVp','addObject','collab-text-range-','_transformPreviousActiveRange','BehaviorSubject','DATA_SOURCE_TOO_LARGE','getUndoRedoMutationParamsCache','actions','releaseFormulaLimitUrl','_send','YUUMI_ASYNCIO_CANCELLED','startRow','UniverIcon','colno','OTHER_CLIENTS_EDITING','MOBILE_VERIFY_CODE_MISMATCH','_removeClearOtherTimer','isActive','currentColor','addHandlerCallback','registerDependencies','debounceTime','setAlpha','IMessageService','getRenderById','@univerjs-pro/collaboration','_urlService','...','START_CALCULATION','NodePositionConvertToRectRange','SYNCED','_renderManagerService','CLOSE_ROOM','_saveCache','RevisionService','_monkeyPatchLogService','replace','EMAIL_VERIFY_CODE_MISMATCH','shift','_revisionService','subUnitId','_roomMembers$','_session','_localeService','body','_startCalculationLimit','@univerjs-pro/collaboration-client','_docSkeletonManagerService','getLocalCacheKey','INVITE_CODE_ALREADY_BOUND','EMAIL_HAS_BEEN_BOUND','Injector','getUnitId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','transformRemoteChangeset','SetFormulaCalculationNotificationMutation','Vector2','getTypeOfUnitAdded$','YUUMI_ALL_TABLES_IS_INVALID','use','getRelativeToViewportCoord','_docStateChangeManagerService','YUUMI_SUBSCRIPTION_NOT_FOUND','set','collabStatus.syncing','useDependency','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','handleIRemoveRow','forEach','CURRENT_STATUS_CANNOT_OPERATE','_transformService','_getScale','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','fillStyle','requireSession','width','status$','selection','ALREADY_EXISTS','UNDEFINED','_online','m2Prime','FromArray','data','from','_context','isArray','ONLINE','DisposableCollection','_initCommandExecutedListener','length','_imageIoService','endColumn','assign','jsx','unitId','APPLY_REJECT','_initResize','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_syncEditingCollabCursorService','subscribe','children','_univerInstanceService','setUndoRedoMutationParamsCache','ENTITLE_REPORT_LIMIT_EXCEED','INVITE_CODE_HAS_BEEN_UES','mapTo','editingUnit','_range','REDEMPTION_USER_REDEEM_TIMES_EXCEED','clearTimeout','InsertColCommandId','INVITE_CODE_REQUIRED','CollaborationEvent','IRenderManagerService','syncEditingCollabCursor','getActiveSheet','univerjs-icon\x20univerjs-icon-','ColorKit','96932unEpkr','ISnapshotServerService','FormulaExecuteStageType','@univerjs/engine-render','getActiveRange','get','size','IBeforeCloseService','12804319pTJVgY','show','_initStatusListener','getRangePointData','_checkCalculationAvailable','REDEMPTION_CODE_FULLY_REDEEMED','getTypeOfUnitDisposed$','RxDisposable','getFocusedUnit','getUnhiddenWorksheets','name','href','svg','DocSkeletonManagerService','PAYMENT_CHANNEL_NOT_SUPPORT','saveImage','getDocRanges','roomMembers$','exports','SetTextSelectionsOperation','collab-rect-range-','_colorAssignService','createSocket','_name','height','_shapes','removeEventListener','[CollaborationDataLoaderController]','LICENSE_EXPORT_SIZE_EXCEEDED','endRow','idSuffix','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_cursor','addEventListener','getMember','_registerDependencies','dispose','measureText','tag','_handleHover','[Unhandled\x20Rejection]:\x20','all','@univerjs/docs-ui','OffLineIcon','_getFormulaLimitStatus','_uiPartsService','_logService','react/jsx-runtime','HTTPService','eventID','next','UniverCollaborationClientPlugin','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ERROR_AGAIN','react','beginPath','UniverDocs','DocSelectionManagerService','getConfig','_releaseCalculationLimit','enableLocalCache','_localCacheService','_lastResponseTimestamp','TEXT_RANGE_LAYER_INDEX','_uploadLog','getMemberID','ENTITLE_NEED_BILLING_ADDRESS','round','IUniverInstanceService','unsubscribe','_updateSubUnitFromURLParams','getCollabCursors$','runRefRangeMutations','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','unload','REDEMPTION_CODE_INACTIVE','getSheetId','startColumn','DesktopCollaborationStatusDisplayController','/universer-api/frontend/logs','deserializeRangeWithSheet','InsertRangeMoveDownCommandId','loadOfflineData','_draw','UNIVER_SHEET','_hideTimer','closePath','labelPosition','160mmOHIK','CONFLICT','14cZKHAa','findNodePositionByCharIndex','_localStorageService','div','color','collabCursorState$','transformIMECache','stack','[Window\x20Error]:\x20','OTHER_CLIENT_EDITING','YUUMI_UNABLE_LOAD_URL','onMouseMove','_onCursorDelete','0\x200\x2016\x2016','history','code','_entities','undoState','_color','shareReplay','_anchorDot','UniverRpc','@univerjs/rpc','_lastPointer','addClipboardHook','setItem','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_createSocketURL','APPLY_DUPLICATED','APPLY_NON_SEQUENTIAL_REVISION','Unknown\x20user','search','bottom','IConfigService','entityInit$','with','getColor','totalFormulasToCalculate','defs','transformStateCache','limitInfo','registerRenderModule','deepClone','createElement','collaboration-client-ui.config','1657150wubVEy','_collabCursorState$','filter','_drawTextRange','event$','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','collab-text-anchor-','YUUMI_NO_CUBOID_FOR_QUESTION','Tools','functionsExecutedState','USER_IS_ANONYMOUS','message','374172ymbBXh','delete','OnLineIcon','LICENSE_DISTRO_REJECTED','getColorFromTheme','_showGuardMessage','makeDirty','then','_commandService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','createInstance','url(#on-line-icon_clip0_910_349)','unshift','_colorIndex','collaboration.single-unit.warning','_handleHeartbeatEvent','add','post','DOC_RANGE_TYPE','push','parse','COLORS','REDEMPTION_CODE_HAS_BEEN_CREATED','_initUnhandledRejectionListener','drawWith','IUIPartsService','DocCollaborationEntity','_transformHistoryAndStateStack','range','find','disableLocalCache','selections','currentUsage','LocaleService','Warning','USER_NOT_INVITED_CODE','imageSourceType','EffectRefRangId','_anchor','INotificationService','_disabled','_configService','stringify','Module','triggerDblclick','registerRefRange','textRanges','RemoteUniscriptService','setConfig','m1Prime','defIds','some','@univerjs/engine-formula','_config','_hover','restore','InsertRangeMoveRightCommandId','#FFF','backgroundColor','unitID','complete','_getMergeRange','mask','UniverEngineFormula','DocIMEInputManagerService','_docClipboardService','ticket','function','CollaborationUIEventId','_cursorInfo$','colorChannel1','replaceDocRanges','ENTITLE_INSUFFICIENT_QUOTA','column','handleInsertRangeMoveRight','sheetId','/run/','ranges','PENDING','unit','lineno','_entityInit$','redoState','_getSessionTicket','TEXT','RemoveRowCommandId','SNAPSHOT_HAS_BEEN_REMOVED','LICENSE_IMPORT_SIZE_EXCEEDED','stage','_removeCollabCursors','lineTo','collabStatus.synced','dispose$','SetSelectionsOperation','5604276STCirk','_scheduleHeartbeat','rxjs','_setupSubUnitSync','DocStateChangeManagerService','MoveRangeCommandId','@univerjs/ui','pipe','USERS_LEAVE','/universer-api/license/formula/limit/start','LOGIN_TOKEN_PROCESSING_FAILED','save','currentSkeleton$','activeSheet$','debug','_render','_updateURLWithCurrentState','_setFormulaLimitStatus','Rect','unhandledrejection','socket$','storage','Plugin','fromEventSubject','CollaborationSocketService','onStarting','ILocalCacheService','pushState','_cursorShapes','random','arc','override','WECHAT_HAS_BEEN_BOUND','key','toRgbString','isTransformMutationFailure','subscribeEvent','beforeCommandExecuted','setInterval','saveTaskMap','DependentOn','getViewport','entries','_toggleOffline','_startSheetCollabCursor','Subject','AWAITING','SHEET_VIEWPORT_KEY','_messageService','collab-client.tooltip.reconnect','UniverProCollaboration','collaboration-client.offline-data-not-saved','setActiveRange','permission.title','1em','serializeRangeWithSheet','clsx','DeleteRangeMoveLeftCommandId','values','_cachedData','UniverDesign','SUCCESS','SetDocZoomRatioOperation','disposeWithMe','hide','setParam','none','InsertRowCommandId','285909HSbrnL','black','NOT_FOUND','executeCommand','ENTITLE_CHAT_LIMIT_EXCEED'];_0x83a3=function(){return _0x29c9b7;};return _0x83a3();}(function(_0x4cd4a9,_0x4e3e01){const _0x6f007e=_0x4477,_0x50e29b=_0x4cd4a9();while(!![]){try{const _0x1c74cb=-parseInt(_0x6f007e(0x1b8))/0x1+parseInt(_0x6f007e(0x17f))/0x2*(-parseInt(_0x6f007e(0x25a))/0x3)+-parseInt(_0x6f007e(0x40c))/0x4*(parseInt(_0x6f007e(0x320))/0x5)+-parseInt(_0x6f007e(0x216))/0x6*(-parseInt(_0x6f007e(0x33f))/0x7)+-parseInt(_0x6f007e(0x17d))/0x8*(-parseInt(_0x6f007e(0x286))/0x9)+parseInt(_0x6f007e(0x1ac))/0xa+parseInt(_0x6f007e(0x414))/0xb;if(_0x1c74cb===_0x4e3e01)break;else _0x50e29b['push'](_0x50e29b['shift']());}catch(_0x2a87f1){_0x50e29b['push'](_0x50e29b['shift']());}}}(_0x83a3,0xac7c8),function(_0x539284,_0x4c28db){const _0x156b2b=_0x4477;typeof exports==_0x156b2b(0x266)&&typeof module<'u'?_0x4c28db(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==_0x156b2b(0x1fb)&&define[_0x156b2b(0x365)]?define([_0x156b2b(0x426),_0x156b2b(0x154),_0x156b2b(0x3c3),_0x156b2b(0x346),_0x156b2b(0x21c),_0x156b2b(0x218),_0x156b2b(0x2d3),_0x156b2b(0x15b),_0x156b2b(0x195),_0x156b2b(0x2bf),_0x156b2b(0x40f),_0x156b2b(0x2c6),_0x156b2b(0x14f),'@univerjs/drawing',_0x156b2b(0x3ae),'@univerjs/docs',_0x156b2b(0x1ec),'rxjs/operators','@univerjs/sheets-ui'],_0x4c28db):(_0x539284=typeof globalThis<'u'?globalThis:_0x539284||self,_0x4c28db(_0x539284['UniverProCollaborationClientUi']={},_0x539284[_0x156b2b(0x2e1)],_0x539284['UniverProCollaborationClient'],_0x539284[_0x156b2b(0x377)],_0x539284['UniverUi'],_0x539284['rxjs'],_0x539284[_0x156b2b(0x252)],_0x539284['React'],_0x539284[_0x156b2b(0x194)],_0x539284['UniverSheets'],_0x539284[_0x156b2b(0x325)],_0x539284['UniverNetwork'],_0x539284[_0x156b2b(0x309)],_0x539284[_0x156b2b(0x391)],_0x539284[_0x156b2b(0x248)],_0x539284[_0x156b2b(0x15d)],_0x539284[_0x156b2b(0x1f7)],_0x539284['rxjs'][_0x156b2b(0x2c8)],_0x539284['UniverSheetsUi']));}(this,function(_0x48baf1,_0x325513,_0x422a84,_0x158180,_0x1d6c76,_0x2f7dc8,_0x41e1ef,_0x322443,_0x1fbc0d,_0x338dc5,_0x191500,_0xcb5e7f,_0x4d94eb,_0x3c0e8e,_0x2af364,_0x17205f,_0x2ec42f,_0xa81663,_0x21df69){'use strict';const _0x375cdd=_0x4477;var _0x4ddc11=Object[_0x375cdd(0x351)],_0x43f7cb=(_0x247360,_0x1b3cd9,_0x3ce337)=>_0x1b3cd9 in _0x247360?_0x4ddc11(_0x247360,_0x1b3cd9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ce337}):_0x247360[_0x1b3cd9]=_0x3ce337,_0x5a9a8a=(_0x38a21b,_0x569f48,_0x418b94)=>_0x43f7cb(_0x38a21b,typeof _0x569f48!=_0x375cdd(0x305)?_0x569f48+'':_0x569f48,_0x418b94);function _0x45830a({ref:_0x21e17f,..._0x4b3df0}){const _0xecde82=_0x375cdd,{icon:_0x4dbe61,id:_0x3c629d,className:_0x3b1373,extend:_0x566668,..._0x3ad0cc}=_0x4b3df0,_0x4431e4=(_0xecde82(0x40a)+_0x3c629d+'\x20'+(_0x3b1373||''))[_0xecde82(0x2ab)](),_0xad5f94=_0x322443[_0xecde82(0x2a2)]('_'+_0x535144());return _0x244b06(_0x4dbe61,''+_0x3c629d,{'defIds':_0x4dbe61[_0xecde82(0x1ea)],'idSuffix':_0xad5f94['current']},{'ref':_0x21e17f,'className':_0x4431e4,..._0x3ad0cc},_0x566668);}function _0x244b06(_0x8f79,_0x4fce18,_0x41b91a,_0x2fe20e,_0x4d196c){const _0x3d4325=_0x375cdd;return _0x322443['createElement'](_0x8f79[_0x3d4325(0x14b)],{'key':_0x4fce18,..._0x4d5439(_0x8f79,_0x41b91a,_0x4d196c),..._0x2fe20e},(_0x2ce44e(_0x8f79,_0x41b91a)[_0x3d4325(0x3fa)]||[])[_0x3d4325(0x35e)]((_0x31a6f9,_0xf0b386)=>_0x244b06(_0x31a6f9,_0x4fce18+'-'+_0x8f79[_0x3d4325(0x14b)]+'-'+_0xf0b386,_0x41b91a,void 0x0,_0x4d196c)));}function _0x4d5439(_0x18cd1e,_0x36f067,_0x500714){const _0x597569=_0x375cdd,_0x433c20={..._0x18cd1e[_0x597569(0x283)]};_0x500714!=null&&_0x500714[_0x597569(0x1fe)]&&_0x433c20[_0x597569(0x367)]==='colorChannel1'&&(_0x433c20[_0x597569(0x367)]=_0x500714['colorChannel1']),_0x18cd1e['tag']===_0x597569(0x1f6)&&_0x433c20['id']&&(_0x433c20['id']=_0x433c20['id']+_0x36f067[_0x597569(0x143)]),Object['entries'](_0x433c20)[_0x597569(0x3d9)](([_0x1a68ad,_0x58392e])=>{const _0xcdfa81=_0x597569;_0x1a68ad===_0xcdfa81(0x1f6)&&typeof _0x58392e=='string'&&(_0x433c20[_0x1a68ad]=_0x58392e[_0xcdfa81(0x3b9)](/url\(#(.*)\)/,_0xcdfa81(0x27c)+_0x36f067['idSuffix']+')'));});const {defIds:_0x5304c7}=_0x36f067;return!_0x5304c7||_0x5304c7['length']===0x0||(_0x18cd1e[_0x597569(0x14b)]===_0x597569(0x3d0)&&_0x433c20[_0x597569(0x2f6)]&&(_0x433c20[_0x597569(0x2f6)]=_0x433c20['xlink:href']+_0x36f067['idSuffix']),Object[_0x597569(0x240)](_0x433c20)['forEach'](([_0x462b2b,_0x394096])=>{const _0xef90cb=_0x597569;typeof _0x394096==_0xef90cb(0x2c3)&&(_0x433c20[_0x462b2b]=_0x394096[_0xef90cb(0x3b9)](/url\(#(.*)\)/,_0xef90cb(0x27c)+_0x36f067[_0xef90cb(0x143)]+')'));})),_0x433c20;}function _0x2ce44e(_0x16eb64,_0x41acd3){const _0x25dfae=_0x375cdd;var _0x55d7f2;const {defIds:_0x457afc}=_0x41acd3;return!_0x457afc||_0x457afc['length']===0x0?_0x16eb64:_0x16eb64['tag']===_0x25dfae(0x1a5)&&((_0x55d7f2=_0x16eb64[_0x25dfae(0x3fa)])!=null&&_0x55d7f2[_0x25dfae(0x3ef)])?{..._0x16eb64,'children':_0x16eb64['children'][_0x25dfae(0x35e)](_0x14f917=>typeof _0x14f917[_0x25dfae(0x283)]['id']=='string'&&_0x457afc&&_0x457afc[_0x25dfae(0x337)](_0x14f917[_0x25dfae(0x283)]['id'])?{..._0x14f917,'attrs':{..._0x14f917[_0x25dfae(0x283)],'id':_0x14f917[_0x25dfae(0x283)]['id']+_0x41acd3[_0x25dfae(0x143)]}}:_0x14f917)}:_0x16eb64;}function _0x535144(){const _0x565663=_0x375cdd;return Math[_0x565663(0x233)]()[_0x565663(0x298)](0x24)['substring'](0x2,0x8);}_0x45830a[_0x375cdd(0x2d7)]=_0x375cdd(0x3a1);const _0x32a1c1={'tag':_0x375cdd(0x420),'attrs':{'xmlns':_0x375cdd(0x386),'fill':'none','viewBox':_0x375cdd(0x18c),'width':'1em','height':_0x375cdd(0x24c)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x375cdd(0x3a7),'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':_0x375cdd(0x168),'strokeLinejoin':_0x375cdd(0x168),'strokeWidth':1.2}}]},{'tag':_0x375cdd(0x1a5),'attrs':{},'children':[{'tag':_0x375cdd(0x28e),'attrs':{'id':_0x375cdd(0x38d)},'children':[{'tag':'path','attrs':{'fill':_0x375cdd(0x270),'d':_0x375cdd(0x2cd)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x3bf761=_0x322443['forwardRef'](function(_0x4d07cc,_0x53a2f6){const _0xe9163c=_0x375cdd;return _0x322443[_0xe9163c(0x1aa)](_0x45830a,Object[_0xe9163c(0x3f2)]({},_0x4d07cc,{'id':_0xe9163c(0x2b5),'ref':_0x53a2f6,'icon':_0x32a1c1}));});_0x3bf761['displayName']=_0x375cdd(0x150);const _0x30f097={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x375cdd(0x258),'viewBox':'0\x200\x2017\x2016','width':_0x375cdd(0x24c),'height':_0x375cdd(0x24c)},'children':[{'tag':'g','attrs':{'clipPath':_0x375cdd(0x1c3)},'children':[{'tag':_0x375cdd(0x366),'attrs':{'stroke':_0x375cdd(0x3a7),'d':_0x375cdd(0x1b1),'strokeLinecap':_0x375cdd(0x168),'strokeLinejoin':_0x375cdd(0x168),'strokeWidth':1.2}}]},{'tag':_0x375cdd(0x1a5),'attrs':{},'children':[{'tag':_0x375cdd(0x28e),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x375cdd(0x366),'attrs':{'fill':_0x375cdd(0x270),'d':_0x375cdd(0x2cd),'transform':_0x375cdd(0x31e)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x4bd584=_0x322443['forwardRef'](function(_0x55408e,_0x5492fc){const _0x223b45=_0x375cdd;return _0x322443['createElement'](_0x45830a,Object[_0x223b45(0x3f2)]({},_0x55408e,{'id':'on-line-icon','ref':_0x5492fc,'icon':_0x30f097}));});_0x4bd584[_0x375cdd(0x2d7)]=_0x375cdd(0x1ba);function _0x1d4872(_0x3e5542){const _0x472bc0=_0x375cdd;switch(_0x3e5542){case _0x422a84[_0x472bc0(0x381)][_0x472bc0(0x328)]:return'collabStatus.offline';case _0x422a84[_0x472bc0(0x381)][_0x472bc0(0x17e)]:return'collabStatus.conflict';case _0x422a84['CollaborationStatus']['FETCH_MISS']:return _0x472bc0(0x37d);case _0x422a84['CollaborationStatus'][_0x472bc0(0x2c4)]:return _0x472bc0(0x27d);case _0x422a84['CollaborationStatus'][_0x472bc0(0x244)]:case _0x422a84[_0x472bc0(0x381)]['AWAITING_WITH_PENDING']:return _0x472bc0(0x3d5);case _0x422a84[_0x472bc0(0x381)][_0x472bc0(0x3b3)]:case _0x422a84[_0x472bc0(0x381)][_0x472bc0(0x206)]:return _0x472bc0(0x213);}}function _0x1daa8c(_0x4f1ac2){const _0x47db3f=_0x375cdd,{status$:_0x4cec61}=_0x4f1ac2,_0x4a1d1b=_0x1d6c76['useObservable'](_0x4cec61,_0x422a84[_0x47db3f(0x381)][_0x47db3f(0x2c4)]),_0xd52067=_0x1d6c76[_0x47db3f(0x3d6)](_0x158180[_0x47db3f(0x1d9)]),_0x26b3e0=_0x1d6c76['useDependency'](_0x422a84[_0x47db3f(0x370)]),_0x321aeb=_0x4a1d1b!==_0x422a84[_0x47db3f(0x381)][_0x47db3f(0x328)],_0x2de602=_0xd52067['t'](_0x1d4872(_0x4a1d1b)),_0x196b18=_0x321aeb?_0x325513[_0x47db3f(0x3f3)](_0x4bd584,{}):_0x325513[_0x47db3f(0x3f3)](_0x3bf761,{}),_0x58b37b=_0x322443[_0x47db3f(0x2a3)](()=>{const _0x442e8d=_0x47db3f;_0x321aeb||_0x26b3e0[_0x442e8d(0x349)]();},[_0x321aeb,_0x26b3e0]);function _0x458034(){const _0x74129b=_0x47db3f;return _0x325513[_0x74129b(0x31d)](_0x74129b(0x182),{'className':'univer-flex\x20univer-items-center','onClick':_0x58b37b,'children':[_0x325513[_0x74129b(0x3f3)](_0x74129b(0x182),{'className':_0x41e1ef[_0x74129b(0x24e)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x321aeb,'univer-text-red-500':!_0x321aeb}),'children':_0x196b18}),_0x325513[_0x74129b(0x3f3)](_0x74129b(0x182),{'className':_0x74129b(0x38b),'children':_0x2de602})]});}return _0x321aeb?_0x458034():_0x325513[_0x47db3f(0x3f3)](_0x41e1ef['Tooltip'],{'title':_0xd52067['t'](_0x47db3f(0x247)),'children':_0x458034()});}var _0x13202e=Object[_0x375cdd(0x37a)],_0x943fa0=(_0x362b68,_0x218342,_0xa34d2f,_0x289c76)=>{for(var _0x4c528e=_0x289c76>0x1?void 0x0:_0x289c76?_0x13202e(_0x218342,_0xa34d2f):_0x218342,_0x2571e9=_0x362b68['length']-0x1,_0x423b2e;_0x2571e9>=0x0;_0x2571e9--)(_0x423b2e=_0x362b68[_0x2571e9])&&(_0x4c528e=_0x423b2e(_0x4c528e)||_0x4c528e);return _0x4c528e;},_0x3c1ea6=(_0x2651f3,_0x141830)=>(_0x192117,_0x4c2d43)=>_0x141830(_0x192117,_0x4c2d43,_0x2651f3);_0x48baf1[_0x375cdd(0x173)]=class extends _0x158180[_0x375cdd(0x2d9)]{constructor(_0xe19cde,_0x51e26f,_0x3f9ec0,_0x531117){const _0xf9cb69=_0x375cdd;super(),_0x5a9a8a(this,'_status$',new _0x2f7dc8[(_0xf9cb69(0x399))](_0x422a84[_0xf9cb69(0x381)]['NOT_COLLAB'])),(this[_0xf9cb69(0x3fb)]=_0xe19cde,this['_injector']=_0x51e26f,this['_collaborationController']=_0x3f9ec0,this[_0xf9cb69(0x152)]=_0x531117,this[_0xf9cb69(0x350)](),this['_initStatusListener']());}[_0x375cdd(0x416)](){const _0x49daff=_0x375cdd;this[_0x49daff(0x255)](this[_0x49daff(0x3fb)][_0x49daff(0x297)][_0x49daff(0x21d)](_0x2f7dc8['switchMap'](()=>{const _0x2e1fbb=_0x49daff,_0x3e6db1=this[_0x2e1fbb(0x3fb)][_0x2e1fbb(0x41c)]();return _0x3e6db1?this[_0x2e1fbb(0x37f)]['getCollabEntity$'](_0x3e6db1[_0x2e1fbb(0x3c9)]()):_0x2f7dc8['of'](null);}),_0x2f7dc8[_0x49daff(0x29f)](_0x210c2c=>_0x210c2c?_0x210c2c[_0x49daff(0x3e1)]:_0x2f7dc8['of'](_0x422a84[_0x49daff(0x381)][_0x49daff(0x2c4)])))[_0x49daff(0x3f9)](_0x2078ba=>{const _0x29ea68=_0x49daff;this[_0x29ea68(0x33b)][_0x29ea68(0x157)](_0x2078ba);}));}['_initStatusComponent'](){const _0x6d99c1=_0x375cdd;this[_0x6d99c1(0x255)](this['_uiPartsService']['registerComponent'](_0x1d6c76[_0x6d99c1(0x37c)]['HEADER_MENU'],()=>_0x1d6c76['connectInjector'](_0x47f65f({'status$':this['_status$'][_0x6d99c1(0x26d)]()}),this[_0x6d99c1(0x2e5)])));}},_0x48baf1[_0x375cdd(0x173)]=_0x943fa0([_0x3c1ea6(0x0,_0x158180[_0x375cdd(0x169)]),_0x3c1ea6(0x1,_0x158180[_0x375cdd(0x293)](_0x158180[_0x375cdd(0x3c8)])),_0x3c1ea6(0x2,_0x158180['Inject'](_0x422a84['CollaborationController'])),_0x3c1ea6(0x3,_0x1d6c76[_0x375cdd(0x1d1)])],_0x48baf1['DesktopCollaborationStatusDisplayController']);function _0x47f65f(_0x2bbd25){const {status$:_0x1f96ad}=_0x2bbd25;return function(){const _0x2422a2=_0x4477;return _0x325513[_0x2422a2(0x3f3)](_0x1daa8c,{'status$':_0x1f96ad});};}const _0xa2b67a=_0x158180[_0x375cdd(0x2c7)](_0x375cdd(0x375));var _0x580898=Object[_0x375cdd(0x37a)],_0x5be41f=(_0x576365,_0x27ff2b,_0x5e87a6,_0x272d5b)=>{const _0x519537=_0x375cdd;for(var _0x191b30=_0x272d5b>0x1?void 0x0:_0x272d5b?_0x580898(_0x27ff2b,_0x5e87a6):_0x27ff2b,_0x5b86b7=_0x576365[_0x519537(0x3ef)]-0x1,_0x167332;_0x5b86b7>=0x0;_0x5b86b7--)(_0x167332=_0x576365[_0x5b86b7])&&(_0x191b30=_0x167332(_0x191b30)||_0x191b30);return _0x191b30;},_0x2b1236=(_0x1a4db7,_0x4d4347)=>(_0x274319,_0x375303)=>_0x4d4347(_0x274319,_0x375303,_0x1a4db7);_0x48baf1[_0x375cdd(0x26b)]=class extends _0x158180['RxDisposable']{constructor(_0x1bd6bb,_0x30f4ce,_0x22bcd3,_0x21bdf4,_0x404887){const _0x2db475=_0x375cdd;super(),this[_0x2db475(0x3af)]=_0x1bd6bb,this[_0x2db475(0x153)]=_0x30f4ce,this[_0x2db475(0x1c0)]=_0x22bcd3,this['_dataLoaderService']=_0x21bdf4,_0x404887?_0x404887==null||_0x404887['whenReady']()[_0x2db475(0x1bf)](()=>this[_0x2db475(0x2e6)]()):(this[_0x2db475(0x153)][_0x2db475(0x224)](_0x2db475(0x140),_0x2db475(0x16e)),this['_init']());}async['_init'](){const _0x4e8624=_0x375cdd,_0x1cc618=this[_0x4e8624(0x3af)]['getParam'](_0x4e8624(0x207)),_0x424fd5=this[_0x4e8624(0x3af)]['getParam']('type'),_0x276b4c=this[_0x4e8624(0x3af)][_0x4e8624(0x2ba)](_0x4e8624(0x326));if(!_0x1cc618||!_0x424fd5){this[_0x4e8624(0x153)][_0x4e8624(0x224)](_0x4e8624(0x140),_0x4e8624(0x1c1));return;}const _0x15282c=await this[_0x4e8624(0x336)][_0x4e8624(0x2db)](_0x1cc618,Number(_0x424fd5),_0x276b4c);_0x15282c&&_0x15282c instanceof _0x158180['Workbook']&&this[_0x4e8624(0x219)](_0x15282c);}async['_setupSubUnitSync'](_0x2b76a5){const _0x299c6a=_0x375cdd;await this[_0x299c6a(0x16b)](_0x2b76a5),_0x2b76a5[_0x299c6a(0x223)][_0x299c6a(0x21d)](_0x2f7dc8[_0x299c6a(0x334)](this[_0x299c6a(0x214)]))[_0x299c6a(0x3f9)](_0x563996=>{const _0xa31b87=_0x299c6a;_0x563996&&this[_0xa31b87(0x226)](_0x563996);}),this[_0x299c6a(0x3af)][_0x299c6a(0x32b)]['pipe'](_0x2f7dc8[_0x299c6a(0x334)](this[_0x299c6a(0x214)]))[_0x299c6a(0x3f9)](()=>this[_0x299c6a(0x16b)](_0x2b76a5));}[_0x375cdd(0x226)](_0x14049f,_0x387fb2=!0x1){const _0x1c00c6=_0x375cdd,_0x5a1cca=this[_0x1c00c6(0x3af)][_0x1c00c6(0x2ba)]('subunit');_0x14049f[_0x1c00c6(0x171)]()!==_0x5a1cca&&this[_0x1c00c6(0x3af)][_0x1c00c6(0x257)](_0x1c00c6(0x326),_0x14049f[_0x1c00c6(0x171)](),_0x387fb2);}async[_0x375cdd(0x16b)](_0x9ef13c){const _0x1445d2=_0x375cdd;var _0x44bd80;const _0xf9bf07=this[_0x1445d2(0x3af)][_0x1445d2(0x2ba)](_0x1445d2(0x326));if(!_0xf9bf07||!_0x9ef13c[_0x1445d2(0x2dc)](_0xf9bf07)){const _0x473bed=_0x9ef13c[_0x1445d2(0x41d)]()[0x0],_0x15bdb1=_0x9ef13c[_0x1445d2(0x2dc)](_0x473bed);if(!_0x15bdb1)return;this[_0x1445d2(0x226)](_0x15bdb1,!0x0),await this[_0x1445d2(0x1c0)][_0x1445d2(0x25d)](_0x338dc5[_0x1445d2(0x277)]['id'],{'unitId':_0x9ef13c[_0x1445d2(0x3c9)](),'subUnitId':_0x473bed});return;}((_0x44bd80=_0x9ef13c[_0x1445d2(0x409)]())==null?void 0x0:_0x44bd80[_0x1445d2(0x171)]())!==_0xf9bf07&&await this[_0x1445d2(0x1c0)][_0x1445d2(0x25d)](_0x338dc5['SetWorksheetActivateCommand']['id'],{'unitId':_0x9ef13c[_0x1445d2(0x3c9)](),'subUnitId':_0xf9bf07});}},_0x48baf1['CollaborationDataLoaderController']=_0x5be41f([_0x2b1236(0x0,_0xa2b67a),_0x2b1236(0x1,_0x158180['ILogService']),_0x2b1236(0x2,_0x158180[_0x375cdd(0x2bb)]),_0x2b1236(0x3,_0x158180[_0x375cdd(0x293)](_0x422a84[_0x375cdd(0x357)])),_0x2b1236(0x4,_0x158180[_0x375cdd(0x335)](_0x1fbc0d['IRemoteInstanceService']))],_0x48baf1['CollaborationDataLoaderController']);var _0x2613c1=Object[_0x375cdd(0x37a)],_0x5e9c2a=(_0x5e3a17,_0xb0675,_0x277223,_0x57475e)=>{const _0x476a76=_0x375cdd;for(var _0x10b726=_0x57475e>0x1?void 0x0:_0x57475e?_0x2613c1(_0xb0675,_0x277223):_0xb0675,_0x5c1a69=_0x5e3a17[_0x476a76(0x3ef)]-0x1,_0x94265b;_0x5c1a69>=0x0;_0x5c1a69--)(_0x94265b=_0x5e3a17[_0x5c1a69])&&(_0x10b726=_0x94265b(_0x10b726)||_0x10b726);return _0x10b726;},_0x23bdb9=(_0x28e957,_0x4a414a)=>(_0x1c606d,_0x52f519)=>_0x4a414a(_0x1c606d,_0x52f519,_0x28e957);let _0x302e4a=class extends _0x158180[_0x375cdd(0x41b)]{constructor(_0x4a5a13,_0x4ba16d){const _0x328407=_0x375cdd;super(),this['_docClipboardService']=_0x4a5a13,this[_0x328407(0x3f0)]=_0x4ba16d,this['_init']();}['_init'](){const _0x28a7ee=_0x375cdd,_0x2dcd71=this;this[_0x28a7ee(0x255)](this[_0x28a7ee(0x1f9)][_0x28a7ee(0x197)]({'onBeforePasteImage':async _0x3e9154=>{const _0x59841a=_0x28a7ee,_0x55e432=await _0x2dcd71[_0x59841a(0x3f0)][_0x59841a(0x423)](_0x3e9154);return _0x55e432?{'source':_0x55e432['source'],'imageSourceType':_0x55e432[_0x59841a(0x1dc)]}:null;}}));}};_0x302e4a=_0x5e9c2a([_0x23bdb9(0x0,_0x4d94eb[_0x375cdd(0x289)]),_0x23bdb9(0x1,_0x3c0e8e['IImageIoService'])],_0x302e4a);const _0x5f62fa=['purple.300',_0x375cdd(0x35f),_0x375cdd(0x2d1),_0x375cdd(0x2e2),_0x375cdd(0x36d),_0x375cdd(0x34e)];class _0x4f84ef extends _0x158180[_0x375cdd(0x2d9)]{constructor(){const _0x1e4fe8=_0x375cdd;super(...arguments),_0x5a9a8a(this,_0x1e4fe8(0x33e),new Map()),_0x5a9a8a(this,_0x1e4fe8(0x1c5),0x0);}[_0x375cdd(0x2a4)](_0x14694c){const _0x18190b=_0x375cdd;if(this[_0x18190b(0x33e)][_0x18190b(0x2c1)](_0x14694c))return this[_0x18190b(0x33e)][_0x18190b(0x411)](_0x14694c);const _0x412559=_0x5f62fa[this[_0x18190b(0x1c5)]];return this[_0x18190b(0x1c5)]=(this['_colorIndex']+0x1)%_0x5f62fa[_0x18190b(0x3ef)],this[_0x18190b(0x33e)][_0x18190b(0x3d4)](_0x14694c,_0x412559),_0x412559;}}function _0x26b13d(_0x961276){const _0x15b1a6=_0x375cdd;let _0x1543da='';for(const _0x532913 of _0x961276){const {startOffset:_0x282977,endOffset:_0x18b55a,isActive:_0x106acb,rangeType:_0x851bc6,segmentId:_0x3cc05b,segmentPage:_0x2c963d}=_0x532913;_0x1543da[_0x15b1a6(0x3ef)]&&(_0x1543da+=','),_0x1543da+=_0x282977+':'+_0x18b55a+':'+(_0x106acb?'1':'0')+':'+_0x851bc6+':'+_0x3cc05b+':'+_0x2c963d;}return _0x1543da;}function _0x4d5bb6(_0x447a87){const _0x3bc139=_0x375cdd,_0x56377f=_0x447a87['split'](','),_0xb57478=[];for(const _0x1e0145 of _0x56377f){const [_0x49290d,_0x278b37,_0x6c5c8,_0x327718,_0x4a5800,_0x592dc1]=_0x1e0145['split'](':');_0xb57478['push']({'startOffset':Number(_0x49290d),'endOffset':Number(_0x278b37),'collapsed':_0x49290d===_0x278b37,'isActive':_0x6c5c8==='1','rangeType':_0x327718===_0x158180[_0x3bc139(0x1ca)]['TEXT']?_0x158180['DOC_RANGE_TYPE'][_0x3bc139(0x20c)]:_0x158180[_0x3bc139(0x1ca)]['RECT'],'segmentId':typeof _0x4a5800==_0x3bc139(0x2c3)?String(_0x4a5800):'','segmentPage':Number(_0x592dc1!=null?_0x592dc1:-0x1)});}return _0xb57478[_0x3bc139(0x1eb)](_0x15068e=>_0x15068e[_0x3bc139(0x3a6)])||(_0xb57478[0x0][_0x3bc139(0x3a6)]=!0x0),_0xb57478;}class _0x279437 extends _0x158180[_0x375cdd(0x41b)]{constructor(){const _0x1e9056=_0x375cdd;super(...arguments),_0x5a9a8a(this,_0x1e9056(0x1ad),new _0x2f7dc8[(_0x1e9056(0x399))](null)),_0x5a9a8a(this,_0x1e9056(0x184),this[_0x1e9056(0x1ad)][_0x1e9056(0x26d)]());}[_0x375cdd(0x408)](_0x471ce4){const _0x1812a0=_0x375cdd,{unitID:_0x14cc67,memberID:_0x3758b7,textRanges:_0x27a0c5}=_0x471ce4,_0x406cc2=_0x26b13d(_0x27a0c5);if(_0x406cc2==='')return;const _0x491955={'unitID':_0x14cc67,'memberID':_0x3758b7,'selection':_0x406cc2};this[_0x1812a0(0x1ad)][_0x1812a0(0x157)](_0x491955);}}var _0x56775f=Object['getOwnPropertyDescriptor'],_0x154e3a=(_0x5cb106,_0x14a5c4,_0x59903b,_0x1697bf)=>{const _0x5256a7=_0x375cdd;for(var _0x3f1324=_0x1697bf>0x1?void 0x0:_0x1697bf?_0x56775f(_0x14a5c4,_0x59903b):_0x14a5c4,_0x19e23b=_0x5cb106[_0x5256a7(0x3ef)]-0x1,_0x257000;_0x19e23b>=0x0;_0x19e23b--)(_0x257000=_0x5cb106[_0x19e23b])&&(_0x3f1324=_0x257000(_0x3f1324)||_0x3f1324);return _0x3f1324;},_0x513152=(_0x4a243b,_0x4b5a80)=>(_0x6b77e1,_0xef611c)=>_0x4b5a80(_0x6b77e1,_0xef611c,_0x4a243b);const _0x3d64bf=0x12c,_0x2f64d4=0x64;let _0x19d28c=class extends _0x158180[_0x375cdd(0x41b)]{constructor(_0x8d18db,_0x5f57d7,_0x457b17,_0x1b281a,_0x409fff,_0x7be234,_0x23fe49,_0x34274e,_0xc68130){const _0x33423f=_0x375cdd;super(),_0x5a9a8a(this,_0x33423f(0x3e5),!0x1),_0x5a9a8a(this,_0x33423f(0x2e6),!0x1),_0x5a9a8a(this,_0x33423f(0x1fd),new _0x2f7dc8[(_0x33423f(0x399))](new Map())),_0x5a9a8a(this,_0x33423f(0x38c),this['_cursorInfo$'][_0x33423f(0x26d)]()),_0x5a9a8a(this,_0x33423f(0x3be),new _0x2f7dc8[(_0x33423f(0x399))]([])),_0x5a9a8a(this,_0x33423f(0x425),this[_0x33423f(0x3be)]['pipe'](_0x2f7dc8[_0x33423f(0x3aa)](_0x3d64bf))),_0x5a9a8a(this,_0x33423f(0x362),_0x158180[_0x33423f(0x2ae)](_0x675977=>{const _0x152731=_0x33423f,_0xedf741={'eventID':_0x2af364[_0x152731(0x406)][_0x152731(0x32f)],'data':{'unitID':this[_0x152731(0x1f3)],'memberID':this[_0x152731(0x3bf)][_0x152731(0x166)](),'selection':_0x26b13d(_0x675977)}};this['_session'][_0x152731(0x271)](_0xedf741,this['unitID']);},_0x2f64d4)),(this[_0x33423f(0x1f3)]=_0x8d18db,this[_0x33423f(0x3bf)]=_0x5f57d7,this[_0x33423f(0x2e5)]=_0x457b17,this[_0x33423f(0x429)]=_0x1b281a,this[_0x33423f(0x38e)]=_0x409fff,this[_0x33423f(0x3f8)]=_0x7be234,this['_transformService']=_0x23fe49,this[_0x33423f(0x3fb)]=_0x34274e,this['_commandService']=_0xc68130);}get[_0x375cdd(0x354)](){const _0x2690da=_0x375cdd;return this[_0x2690da(0x1fd)][_0x2690da(0x269)]();}get[_0x375cdd(0x2e9)](){const _0x19ea87=_0x375cdd;return this['_roomMembers$'][_0x19ea87(0x269)]();}[_0x375cdd(0x149)](){const _0x41782c=_0x375cdd;super['dispose'](),this['_cursorInfo$'][_0x41782c(0x157)](new Map()),this[_0x41782c(0x1fd)][_0x41782c(0x1f4)](),this[_0x41782c(0x3be)][_0x41782c(0x157)]([]),this[_0x41782c(0x3be)]['complete']();}[_0x375cdd(0x392)](){const _0x555966=_0x375cdd;this[_0x555966(0x2e6)]||(this[_0x555966(0x2e6)]=!0x0,this[_0x555966(0x3bf)][_0x555966(0x30e)]['pipe'](_0x2f7dc8[_0x555966(0x334)](this[_0x555966(0x214)]))[_0x555966(0x3f9)](_0x43a65e=>{const _0x5190ab=_0x555966;_0x43a65e===_0x422a84['SessionStatus'][_0x5190ab(0x3ec)]?this[_0x5190ab(0x28a)]():this[_0x5190ab(0x241)]();}),this['_session']['event$'][_0x555966(0x21d)](_0x2f7dc8['takeUntil'](this['dispose$']))[_0x555966(0x3f9)](_0x283fb7=>{const _0x2348dd=_0x555966,_0x959f82=_0x283fb7['eventID'];_0x959f82===_0x2af364[_0x2348dd(0x406)]['UPDATE_CURSOR']&&this[_0x2348dd(0x2b8)](_0x283fb7),_0x959f82===_0x2af364[_0x2348dd(0x406)][_0x2348dd(0x21e)]&&this[_0x2348dd(0x18b)](_0x283fb7);}),this[_0x555966(0x255)](this['_commandService'][_0x555966(0x311)](_0x3165a7=>{const _0x32885c=_0x555966,_0xffb5c6=_0x3165a7[_0x32885c(0x2b6)];_0xffb5c6!=null&&this[_0x32885c(0x3e5)]&&_0x3165a7['id']===_0x17205f[_0x32885c(0x427)]['id']&&_0xffb5c6[_0x32885c(0x3f4)]===this[_0x32885c(0x1f3)]&&_0xffb5c6[_0x32885c(0x2ec)]===!0x1&&_0xffb5c6['ranges'][_0x32885c(0x3ef)]>0x0&&this[_0x32885c(0x362)](_0xffb5c6[_0x32885c(0x205)]);})),this[_0x555966(0x3f8)][_0x555966(0x184)][_0x555966(0x21d)](_0x2f7dc8[_0x555966(0x334)](this[_0x555966(0x214)]))[_0x555966(0x3f9)](_0x290878=>{const _0x12049d=_0x555966;if((_0x290878==null?void 0x0:_0x290878['unitID'])!==this[_0x12049d(0x1f3)])return;const _0x214a8f={'eventID':_0x2af364['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x290878};this[_0x12049d(0x2b8)](_0x214a8f);}),this[_0x555966(0x255)](this[_0x555966(0x1c0)][_0x555966(0x311)](_0x5087cb=>{const _0x29e2a3=_0x555966;if(_0x5087cb[_0x29e2a3(0x2b6)]==null)return;const _0x18e2fe=_0x5087cb[_0x29e2a3(0x2b6)];if(_0x5087cb['id']!==_0x17205f['RichTextEditingMutation']['id']||_0x18e2fe[_0x29e2a3(0x3f4)]!==this[_0x29e2a3(0x1f3)])return;const _0x5e3c58={'id':'doc.mutation.rich-text-editing','params':_0x18e2fe},_0x11d65c=this[_0x29e2a3(0x354)];for(const [_0x5af9b4,_0x347990]of _0x11d65c){const _0x5a872a={'id':_0x29e2a3(0x272),'params':{'unitId':this[_0x29e2a3(0x1f3)],'actions':null,'textRanges':_0x347990[_0x29e2a3(0x205)]}},_0x34a961=this['_transformService'][_0x29e2a3(0x34a)](_0x5e3c58,_0x5a872a,!0x1);if(_0x2af364[_0x29e2a3(0x239)](_0x34a961))throw _0x34a961[_0x29e2a3(0x389)];_0x11d65c[_0x29e2a3(0x3d4)](_0x5af9b4,{..._0x347990,'ranges':_0x34a961[_0x29e2a3(0x3e6)][_0x29e2a3(0x2b6)][_0x29e2a3(0x1e6)]});}queueMicrotask(()=>{const _0x5b3368=_0x29e2a3;this['_cursorInfo$'][_0x5b3368(0x157)](_0x11d65c);});})));}[_0x375cdd(0x2b8)](_0x2724f8){const _0x5056eb=_0x375cdd;var _0x92fc3d,_0xe08e68;const {memberID:_0x49b4ac,selection:_0xbe5cab}=_0x2724f8[_0x5056eb(0x3e8)],_0x3e3755=_0x4d5bb6(_0xbe5cab),_0x5e22c7=(_0xe08e68=(_0x92fc3d=this['_memberService'][_0x5056eb(0x147)](this['unitID'],_0x49b4ac))==null?void 0x0:_0x92fc3d['name'])!=null?_0xe08e68:_0x5056eb(0x19d),_0x21ea71={'color':this[_0x5056eb(0x429)][_0x5056eb(0x2a4)](_0x49b4ac),'name':_0x5e22c7,'ranges':_0x3e3755},_0x84ff0f=this[_0x5056eb(0x354)];_0x84ff0f[_0x5056eb(0x3d4)](_0x49b4ac,_0x21ea71),this[_0x5056eb(0x1fd)][_0x5056eb(0x157)](_0x84ff0f);}[_0x375cdd(0x18b)](_0x3e23a7){const _0x3cef2b=_0x375cdd,{memberID:_0x2fb1a3}=_0x3e23a7['data'],_0xc8b01b=this[_0x3cef2b(0x354)];_0xc8b01b[_0x3cef2b(0x1b9)](_0x2fb1a3),this['_cursorInfo$'][_0x3cef2b(0x157)](_0xc8b01b);}[_0x375cdd(0x28a)](){const _0x5e8481=_0x375cdd;var _0x1fc032;if(this[_0x5e8481(0x3e5)]=!0x0,((_0x1fc032=this[_0x5e8481(0x3fb)][_0x5e8481(0x41c)]())==null?void 0x0:_0x1fc032[_0x5e8481(0x3c9)]())!==this[_0x5e8481(0x1f3)])return;const _0x2972c9=this[_0x5e8481(0x2e5)]['get'](_0x17205f[_0x5e8481(0x15e)])[_0x5e8481(0x424)]();Array[_0x5e8481(0x3eb)](_0x2972c9)&&_0x2972c9[_0x5e8481(0x3ef)]>0x0&&this[_0x5e8481(0x362)](_0x2972c9);}[_0x375cdd(0x241)](){const _0x41fc99=_0x375cdd;this[_0x41fc99(0x3e5)]=!0x1;}};_0x19d28c=_0x154e3a([_0x513152(0x2,_0x158180[_0x375cdd(0x293)](_0x158180[_0x375cdd(0x3c8)])),_0x513152(0x3,_0x158180[_0x375cdd(0x293)](_0x4f84ef)),_0x513152(0x4,_0x158180[_0x375cdd(0x293)](_0x422a84[_0x375cdd(0x292)])),_0x513152(0x5,_0x158180[_0x375cdd(0x293)](_0x279437)),_0x513152(0x6,_0x2af364[_0x375cdd(0x2dd)]),_0x513152(0x7,_0x158180[_0x375cdd(0x169)]),_0x513152(0x8,_0x158180[_0x375cdd(0x2bb)])],_0x19d28c);var _0x52ea9d=Object['getOwnPropertyDescriptor'],_0x32197f=(_0xb30b66,_0x28ea9c,_0x42ec7e,_0x4bc003)=>{for(var _0x28e30c=_0x4bc003>0x1?void 0x0:_0x4bc003?_0x52ea9d(_0x28ea9c,_0x42ec7e):_0x28ea9c,_0x1442fc=_0xb30b66['length']-0x1,_0x2aebae;_0x1442fc>=0x0;_0x1442fc--)(_0x2aebae=_0xb30b66[_0x1442fc])&&(_0x28e30c=_0x2aebae(_0x28e30c)||_0x28e30c);return _0x28e30c;},_0x9c3088=(_0x5418e7,_0x56cd29)=>(_0x172bfa,_0x3d5bb1)=>_0x56cd29(_0x172bfa,_0x3d5bb1,_0x5418e7);const _0x3db862=0x12c,_0x2cccfe=0x64,_0x2d72d8=()=>{let _0x26fae1=[],_0xb66e1e=!0x1;return _0x27cdb9=>{const _0x5964f7=_0x4477;_0x26fae1[_0x5964f7(0x1cb)](_0x27cdb9),_0xb66e1e||(_0xb66e1e=!0x0,setTimeout(()=>{_0x26fae1['forEach'](_0x82119f=>_0x82119f()),_0x26fae1=[],_0xb66e1e=!0x1;}));};};let _0x283a8e=class extends _0x158180[_0x375cdd(0x41b)]{constructor(_0x308843,_0x2bdd0d,_0x2abd14,_0xf95bc7,_0xc5f911,_0x4bbd82,_0x147949,_0x35e5fc){const _0x31f1b3=_0x375cdd;super(),_0x5a9a8a(this,_0x31f1b3(0x3e5),!0x1),_0x5a9a8a(this,_0x31f1b3(0x2e6),!0x1),_0x5a9a8a(this,_0x31f1b3(0x1fd),new _0x2f7dc8['BehaviorSubject'](new Map())),_0x5a9a8a(this,'cursorInfo$',this['_cursorInfo$'][_0x31f1b3(0x26d)]()),_0x5a9a8a(this,_0x31f1b3(0x3be),new _0x2f7dc8[(_0x31f1b3(0x399))]([])),_0x5a9a8a(this,_0x31f1b3(0x425),this[_0x31f1b3(0x3be)][_0x31f1b3(0x21d)](_0x2f7dc8['debounceTime'](_0x3db862))),_0x5a9a8a(this,_0x31f1b3(0x362),_0x158180[_0x31f1b3(0x2ae)]((_0xa38598,_0x3b0762)=>{const _0x3d57c2=_0x31f1b3,_0x21e9fa={'eventID':_0x2af364[_0x3d57c2(0x406)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x3d57c2(0x1f3)],'memberID':this[_0x3d57c2(0x3bf)][_0x3d57c2(0x166)](),'selection':_0x2ec42f[_0x3d57c2(0x24d)](_0xa38598,_0x3b0762[_0x3d57c2(0x1d4)])}};this[_0x3d57c2(0x3bf)][_0x3d57c2(0x271)](_0x21e9fa,this['unitID']);},_0x2cccfe)),(this[_0x31f1b3(0x1f3)]=_0x308843,this[_0x31f1b3(0x3bf)]=_0x2bdd0d,this[_0x31f1b3(0x2e5)]=_0x2abd14,this[_0x31f1b3(0x429)]=_0xf95bc7,this[_0x31f1b3(0x38e)]=_0xc5f911,this[_0x31f1b3(0x3fb)]=_0x4bbd82,this[_0x31f1b3(0x1c0)]=_0x147949,this['_refRangeService']=_0x35e5fc);}get['cursorInfo'](){const _0x3b9091=_0x375cdd;return this['_cursorInfo$'][_0x3b9091(0x269)]();}get['roomMembers'](){const _0x352c86=_0x375cdd;return this[_0x352c86(0x3be)][_0x352c86(0x269)]();}['dispose'](){const _0x34df18=_0x375cdd;super['dispose'](),this[_0x34df18(0x1fd)][_0x34df18(0x157)](new Map()),this[_0x34df18(0x1fd)][_0x34df18(0x1f4)](),this['_roomMembers$'][_0x34df18(0x157)]([]),this[_0x34df18(0x3be)][_0x34df18(0x1f4)]();}['init'](){const _0x264767=_0x375cdd;this['_init']||(this[_0x264767(0x2e6)]=!0x0,this[_0x264767(0x3bf)][_0x264767(0x30e)]['pipe'](_0x2f7dc8[_0x264767(0x334)](this[_0x264767(0x214)]))[_0x264767(0x3f9)](_0x2dd3b8=>{const _0x2d5b70=_0x264767;_0x2dd3b8===_0x422a84[_0x2d5b70(0x278)][_0x2d5b70(0x3ec)]?this[_0x2d5b70(0x28a)]():this[_0x2d5b70(0x241)]();}),this[_0x264767(0x3bf)][_0x264767(0x1b0)][_0x264767(0x21d)](_0x2f7dc8[_0x264767(0x334)](this['dispose$']))[_0x264767(0x3f9)](_0x1a4828=>{const _0x546b63=_0x264767,_0xcfb18f=_0x1a4828[_0x546b63(0x156)];_0xcfb18f===_0x2af364[_0x546b63(0x406)][_0x546b63(0x32f)]&&this[_0x546b63(0x2b8)](_0x1a4828),_0xcfb18f===_0x2af364[_0x546b63(0x406)][_0x546b63(0x21e)]&&this['_onCursorDelete'](_0x1a4828);}),this[_0x264767(0x2fd)](),this[_0x264767(0x255)](this[_0x264767(0x1c0)][_0x264767(0x311)](_0x4946d2=>{const _0x18ed59=_0x264767;if(this['_online']&&_0x4946d2['id']===_0x338dc5[_0x18ed59(0x215)]['id']&&_0x4946d2[_0x18ed59(0x2b6)][_0x18ed59(0x3f4)]===this[_0x18ed59(0x1f3)]){const _0xd9c9e5=_0x4946d2[_0x18ed59(0x2b6)];this[_0x18ed59(0x362)](_0xd9c9e5[_0x18ed59(0x3bd)],_0xd9c9e5[_0x18ed59(0x1d7)][0x0]);}})));}[_0x375cdd(0x2b8)](_0x298245){const _0x4ea693=_0x375cdd;var _0x54b118,_0x531c1a;const {memberID:_0x5de62d,selection:_0x6990ad}=_0x298245[_0x4ea693(0x3e8)],{sheetName:_0x2a5eea,range:_0x7131ac}=_0x2ec42f[_0x4ea693(0x175)](_0x6990ad),_0x533f85={'name':(_0x531c1a=(_0x54b118=this[_0x4ea693(0x38e)]['getMember'](this[_0x4ea693(0x1f3)],_0x5de62d))==null?void 0x0:_0x54b118[_0x4ea693(0x41e)])!=null?_0x531c1a:'Unknown\x20user','range':this['_getMergeRange'](_0x2a5eea,_0x7131ac),'sheetID':_0x2a5eea,'color':this[_0x4ea693(0x429)]['assignAColorForMemberID'](_0x5de62d),'selection':_0x6990ad},_0xbd4296=this[_0x4ea693(0x354)];_0xbd4296[_0x4ea693(0x3d4)](_0x5de62d,_0x533f85),this[_0x4ea693(0x1fd)][_0x4ea693(0x157)](_0xbd4296);}['_onCursorDelete'](_0x3dec94){const _0x2b90ac=_0x375cdd,{memberID:_0x29c8c3}=_0x3dec94[_0x2b90ac(0x3e8)],_0x274410=this['cursorInfo'];_0x274410[_0x2b90ac(0x1b9)](_0x29c8c3),this[_0x2b90ac(0x1fd)][_0x2b90ac(0x157)](_0x274410);}[_0x375cdd(0x1f5)](_0x145873,_0x2dff2d){const _0x1266fc=_0x375cdd;var _0x37ca7f,_0x194972;const _0x5ab3ae=(_0x194972=(_0x37ca7f=this[_0x1266fc(0x3fb)]['getUniverSheetInstance'](this[_0x1266fc(0x1f3)]))==null?void 0x0:_0x37ca7f[_0x1266fc(0x2dc)](_0x145873))==null?void 0x0:_0x194972['getMergeData']();return(_0x5ab3ae==null?void 0x0:_0x5ab3ae[_0x1266fc(0x1d5)](_0x6fda01=>_0x158180['Rectangle'][_0x1266fc(0x358)](_0x6fda01,_0x2dff2d)))||_0x2dff2d;}['_onRefRangeChange'](){const _0x2b2b05=_0x375cdd,_0x48d9a5=new _0x158180[(_0x2b2b05(0x3ed))](),_0x2acdf8=_0x2d72d8(),_0x4d06ab=()=>{const _0x29eb3d=_0x2b2b05;_0x48d9a5['dispose']();const _0x561985=(_0x28808a,_0x3c305a,_0xed2386,_0x13de6f)=>{const _0x410658=_0x4477;let _0x1e7877=[];switch(_0x28808a['id']){case _0x338dc5[_0x410658(0x1dd)][_0x410658(0x24f)]:{_0x1e7877=_0x338dc5[_0x410658(0x322)](_0x28808a,_0x13de6f);break;}case _0x338dc5[_0x410658(0x1dd)]['DeleteRangeMoveUpCommandId']:{_0x1e7877=_0x338dc5[_0x410658(0x31c)](_0x28808a,_0x13de6f);break;}case _0x338dc5[_0x410658(0x1dd)][_0x410658(0x404)]:{_0x1e7877=_0x338dc5[_0x410658(0x26a)](_0x28808a,_0x13de6f);break;}case _0x338dc5[_0x410658(0x1dd)][_0x410658(0x176)]:{_0x1e7877=_0x338dc5[_0x410658(0x2c0)](_0x28808a,_0x13de6f);break;}case _0x338dc5['EffectRefRangId'][_0x410658(0x1f0)]:{_0x1e7877=_0x338dc5[_0x410658(0x202)](_0x28808a,_0x13de6f);break;}case _0x338dc5[_0x410658(0x1dd)][_0x410658(0x259)]:{_0x1e7877=_0x338dc5[_0x410658(0x324)](_0x28808a,_0x13de6f);break;}case _0x338dc5[_0x410658(0x1dd)][_0x410658(0x21b)]:{_0x1e7877=_0x338dc5[_0x410658(0x31f)](_0x28808a,_0x13de6f);break;}case _0x338dc5[_0x410658(0x1dd)]['RemoveColCommandId']:{_0x1e7877=_0x338dc5['handleIRemoveCol'](_0x28808a,_0x13de6f);break;}case _0x338dc5[_0x410658(0x1dd)][_0x410658(0x20d)]:{_0x1e7877=_0x338dc5[_0x410658(0x3d8)](_0x28808a,_0x13de6f);break;}}const _0x532862=_0x338dc5[_0x410658(0x16d)](_0x1e7877,_0x13de6f),_0x1b6552=this['cursorInfo'][_0x410658(0x411)](_0x3c305a);if(_0x1b6552&&_0x532862){const _0x5d34fe={..._0x1b6552,'range':_0x532862};this[_0x410658(0x354)][_0x410658(0x3d4)](_0x3c305a,_0x5d34fe),_0x2acdf8(()=>{const _0x263a0e=_0x410658,_0x55e219=this[_0x263a0e(0x306)][_0x263a0e(0x1e5)](_0x532862,_0x4315cc=>(_0x55e219['dispose'](),_0x561985(_0x4315cc,_0x3c305a,_0xed2386,_0x532862)));_0x48d9a5[_0x263a0e(0x1c8)](_0x55e219);});}return{'redos':[],'undos':[]};};this[_0x29eb3d(0x354)][_0x29eb3d(0x3d9)]((_0x154cdd,_0x42af4b)=>{const _0x3ed2d4=_0x29eb3d,{range:_0x514c58,sheetID:_0x148d98}=_0x154cdd,_0x14b685=this[_0x3ed2d4(0x306)][_0x3ed2d4(0x1e5)](_0x514c58,_0x12b2a5=>(_0x14b685[_0x3ed2d4(0x149)](),_0x561985(_0x12b2a5,_0x42af4b,_0x148d98,_0x514c58)));_0x48d9a5['add'](_0x14b685);});};this['disposeWithMe'](_0x158180['toDisposable'](this[_0x2b2b05(0x1fd)][_0x2b2b05(0x3f9)](()=>{_0x4d06ab();})));}[_0x375cdd(0x28a)](){const _0x24da9b=_0x375cdd;var _0x1ff120,_0x5a06b8;if(this['_online']=!0x0,((_0x1ff120=this[_0x24da9b(0x3fb)][_0x24da9b(0x41c)]())==null?void 0x0:_0x1ff120[_0x24da9b(0x3c9)]())!==this[_0x24da9b(0x1f3)])return;const _0x29d3ee=(_0x5a06b8=this['_injector']['get'](_0x338dc5[_0x24da9b(0x369)])['getCurrentSelections']())==null?void 0x0:_0x5a06b8[0x0],_0x417496=this[_0x24da9b(0x3fb)]['getCurrentUnitForType'](_0x158180[_0x24da9b(0x327)][_0x24da9b(0x179)])['getActiveSheet']();_0x29d3ee&&_0x417496&&this['_updateLocalCursor'](_0x417496[_0x24da9b(0x171)](),_0x29d3ee);}[_0x375cdd(0x241)](){const _0x525e69=_0x375cdd;this[_0x525e69(0x3e5)]=!0x1;}};_0x283a8e=_0x32197f([_0x9c3088(0x2,_0x158180[_0x375cdd(0x293)](_0x158180[_0x375cdd(0x3c8)])),_0x9c3088(0x3,_0x158180[_0x375cdd(0x293)](_0x4f84ef)),_0x9c3088(0x4,_0x158180[_0x375cdd(0x293)](_0x422a84['MemberService'])),_0x9c3088(0x5,_0x158180[_0x375cdd(0x169)]),_0x9c3088(0x6,_0x158180[_0x375cdd(0x2bb)]),_0x9c3088(0x7,_0x158180['Inject'](_0x338dc5['RefRangeService']))],_0x283a8e);var _0x288164=Object[_0x375cdd(0x37a)],_0x14d76c=(_0x43983b,_0x38ea91,_0x3d7c07,_0x2152a3)=>{const _0x172432=_0x375cdd;for(var _0x52f830=_0x2152a3>0x1?void 0x0:_0x2152a3?_0x288164(_0x38ea91,_0x3d7c07):_0x38ea91,_0x113920=_0x43983b[_0x172432(0x3ef)]-0x1,_0x5884d3;_0x113920>=0x0;_0x113920--)(_0x5884d3=_0x43983b[_0x113920])&&(_0x52f830=_0x5884d3(_0x52f830)||_0x52f830);return _0x52f830;},_0x255597=(_0x50a0f6,_0x1545ee)=>(_0x4285f5,_0x5cac7d)=>_0x1545ee(_0x4285f5,_0x5cac7d,_0x50a0f6);let _0x112360=class extends _0x158180['RxDisposable']{constructor(_0x5b71a5,_0x4f3054,_0x404727){const _0x1566e5=_0x375cdd;super(),_0x5a9a8a(this,'_entities',new Map()),_0x5a9a8a(this,_0x1566e5(0x209),new _0x2f7dc8[(_0x1566e5(0x243))]()),(this[_0x1566e5(0x3fb)]=_0x5b71a5,this['_injector']=_0x4f3054,this[_0x1566e5(0x317)]=_0x404727,this['_init']());}[_0x375cdd(0x149)](){const _0x2b07da=_0x375cdd;super[_0x2b07da(0x149)](),this[_0x2b07da(0x209)][_0x2b07da(0x1f4)](),this[_0x2b07da(0x18f)]['forEach'](_0x138e0f=>_0x138e0f[_0x2b07da(0x149)]());}['getCollabCursors$'](_0x526b88){const _0x425dfb=_0x375cdd;return this['_entities'][_0x425dfb(0x2c1)](_0x526b88)?this['_entities']['get'](_0x526b88)[_0x425dfb(0x38c)]:this['_entityInit$'][_0x425dfb(0x21d)](_0x2f7dc8[_0x425dfb(0x1ae)](_0x1723b0=>_0x1723b0[_0x425dfb(0x1f3)]===_0x526b88),_0x2f7dc8[_0x425dfb(0x29f)](_0x5924db=>_0x5924db['cursorInfo$']));}[_0x375cdd(0x2e6)](){const _0x33772a=_0x375cdd;this[_0x33772a(0x3fb)]['getTypeOfUnitAdded$'](_0x158180[_0x33772a(0x327)][_0x33772a(0x179)])['pipe'](_0x2f7dc8['takeUntil'](this['dispose$']))['subscribe'](async _0x4d035b=>{const _0x390472=_0x33772a,_0x27d0c9=_0x4d035b[_0x390472(0x3c9)](),_0x5cc7a3=await this[_0x390472(0x242)](_0x27d0c9);this[_0x390472(0x209)][_0x390472(0x157)](_0x5cc7a3),this[_0x390472(0x18f)][_0x390472(0x3d4)](_0x27d0c9,_0x5cc7a3);}),this[_0x33772a(0x3fb)][_0x33772a(0x3ce)](_0x158180[_0x33772a(0x327)][_0x33772a(0x363)])[_0x33772a(0x21d)](_0x2f7dc8[_0x33772a(0x334)](this[_0x33772a(0x214)]))[_0x33772a(0x21d)](_0x2f7dc8['filter'](_0x1e8562=>!_0x1e8562[_0x33772a(0x3c9)]()['startsWith']('__')))['subscribe'](async _0x4666c0=>{const _0x246806=_0x33772a,_0x30035e=_0x4666c0[_0x246806(0x3c9)](),_0x1d17c9=await this[_0x246806(0x2a7)](_0x30035e);this[_0x246806(0x209)]['next'](_0x1d17c9),this['_entities'][_0x246806(0x3d4)](_0x30035e,_0x1d17c9);}),_0x2f7dc8[_0x33772a(0x300)](this['_univerInstanceService'][_0x33772a(0x41a)](_0x158180[_0x33772a(0x327)][_0x33772a(0x363)]),this[_0x33772a(0x3fb)][_0x33772a(0x41a)](_0x158180[_0x33772a(0x327)]['UNIVER_SHEET']))[_0x33772a(0x21d)](_0x2f7dc8[_0x33772a(0x334)](this[_0x33772a(0x214)]))['subscribe'](_0x155b1c=>{const _0x3fb296=_0x33772a,_0x23d506=_0x155b1c[_0x3fb296(0x3c9)](),_0x5c7b28=this[_0x3fb296(0x18f)][_0x3fb296(0x411)](_0x23d506);_0x5c7b28&&(_0x5c7b28[_0x3fb296(0x149)](),this[_0x3fb296(0x18f)]['delete'](_0x23d506));});}async['_startSheetCollabCursor'](_0x5dd272){const _0x301ba2=_0x375cdd,_0x9a5e6f=await this['_collabSessionService'][_0x301ba2(0x3df)](_0x5dd272),_0x5a0c9b=this[_0x301ba2(0x2e5)][_0x301ba2(0x1c2)](_0x283a8e,_0x5dd272,_0x9a5e6f);return _0x5a0c9b[_0x301ba2(0x392)](),_0x5a0c9b;}async[_0x375cdd(0x2a7)](_0x320f23){const _0xa55994=_0x375cdd,_0x352bc2=await this[_0xa55994(0x317)][_0xa55994(0x3df)](_0x320f23),_0x5dbcf8=this[_0xa55994(0x2e5)]['createInstance'](_0x19d28c,_0x320f23,_0x352bc2);return _0x5dbcf8[_0xa55994(0x392)](),_0x5dbcf8;}};_0x112360=_0x14d76c([_0x255597(0x0,_0x158180['IUniverInstanceService']),_0x255597(0x1,_0x158180[_0x375cdd(0x293)](_0x158180[_0x375cdd(0x3c8)])),_0x255597(0x2,_0x158180['Inject'](_0x422a84[_0x375cdd(0x370)]))],_0x112360);const _0x3eaec9=0x14,_0x3b6f0b=0xc8,_0x3e831d=0x4,_0x146c09=0x5;function _0xefaceb(_0x191151,_0x432993){const _0x3fb419=_0x375cdd;let {radius:_0x3f91a0,width:_0x39fb6f,height:_0x4110b4}=_0x432993;_0x3f91a0=_0x3f91a0!=null?_0x3f91a0:0x0,_0x39fb6f=_0x39fb6f!=null?_0x39fb6f:0x1e,_0x4110b4=_0x4110b4!=null?_0x4110b4:0x1e;let _0x2f35f1=0x0,_0x9f728a=0x0,_0x4d43a3=0x0;_0x2f35f1=_0x9f728a=_0x4d43a3=Math[_0x3fb419(0x2e8)](_0x3f91a0,_0x39fb6f/0x2,_0x4110b4/0x2),_0x191151[_0x3fb419(0x15c)](),_0x191151[_0x3fb419(0x319)](_0x2f35f1,0x0),_0x191151['lineTo'](_0x39fb6f-_0x9f728a,0x0),_0x191151[_0x3fb419(0x234)](_0x39fb6f-_0x9f728a,_0x9f728a,_0x9f728a,Math['PI']*0x3/0x2,0x0,!0x1),_0x191151['lineTo'](_0x39fb6f,_0x4110b4-_0x4d43a3),_0x191151[_0x3fb419(0x234)](_0x39fb6f-_0x4d43a3,_0x4110b4-_0x4d43a3,_0x4d43a3,0x0,Math['PI']/0x2,!0x1),_0x191151[_0x3fb419(0x212)](0x0,_0x4110b4),_0x191151[_0x3fb419(0x212)](0x0,_0x2f35f1),_0x191151['arc'](_0x2f35f1,_0x2f35f1,_0x2f35f1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x191151[_0x3fb419(0x17b)](),_0x432993[_0x3fb419(0x367)]&&(_0x191151['save'](),_0x191151[_0x3fb419(0x3de)]=_0x432993[_0x3fb419(0x367)],_0x432993[_0x3fb419(0x31a)]===_0x3fb419(0x2aa)?_0x191151[_0x3fb419(0x367)]('evenodd'):_0x191151[_0x3fb419(0x367)](),_0x191151[_0x3fb419(0x1ef)]());}class _0xeacd8d extends _0x191500[_0x375cdd(0x26c)]{constructor(_0x1ce12e,_0x148e4d){const _0x44de7e=_0x375cdd;super(_0x1ce12e,_0x148e4d),_0x5a9a8a(this,'color'),_0x5a9a8a(this,_0x44de7e(0x2e4)),(this[_0x44de7e(0x183)]=_0x148e4d==null?void 0x0:_0x148e4d[_0x44de7e(0x183)],this[_0x44de7e(0x2e4)]=_0x148e4d==null?void 0x0:_0x148e4d[_0x44de7e(0x2e4)]);}static['drawWith'](_0x441218,_0x2412cd){const _0x519014=_0x375cdd,{text:_0x4c0247,color:_0x25d1fd}=_0x2412cd;_0x441218[_0x519014(0x221)](),_0x441218['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1a144f=_0x441218['measureText'](_0x4c0247)[_0x519014(0x3e0)],_0x40b232=Math[_0x519014(0x2e8)](_0x1a144f+0x2*_0x3e831d,_0x3b6f0b);_0xefaceb(_0x441218,{'height':_0x3eaec9,'radius':0x4,'width':_0x40b232,'fill':_0x25d1fd}),_0x441218['fillStyle']=_0x519014(0x1f1);const _0x2f6d0c=_0x3e831d,_0x18d212=_0x3eaec9-_0x146c09,_0x7e802e=_0x3b6f0b-0x2*_0x3e831d;if(_0x1a144f>_0x7e802e){let _0xf06fbb='',_0x4401ad=0x0;for(const _0x53edb9 of _0x4c0247){const _0x11ad24=_0x441218[_0x519014(0x14a)](_0x53edb9)['width'];if(_0x4401ad+_0x11ad24<=_0x7e802e-_0x441218[_0x519014(0x14a)](_0x519014(0x3b0))['width'])_0xf06fbb+=_0x53edb9,_0x4401ad+=_0x11ad24;else{_0xf06fbb+=_0x519014(0x3b0);break;}}_0x441218[_0x519014(0x2c9)](_0xf06fbb,_0x2f6d0c,_0x18d212);}else _0x441218[_0x519014(0x2c9)](_0x4c0247,_0x2f6d0c,_0x18d212);_0x441218[_0x519014(0x1ef)]();}[_0x375cdd(0x178)](_0x5cbdfd){const _0x766f6d=_0x375cdd;_0xeacd8d[_0x766f6d(0x1d0)](_0x5cbdfd,this);}}const _0x24725c=_0x375cdd(0x1b2),_0x4422ba=_0x375cdd(0x397),_0x3980e7=_0x375cdd(0x428),_0x5ec3da=0x6,_0x3d4245=1.5,_0xed9b2b=0x4,_0x59b84c=1.5,_0x369f94='rgba(255,\x20255,\x20255,\x200.01)';class _0x136062{constructor(_0x9a8c64,_0x11da15,_0x47d17e,_0x37b4f6){const _0xd47815=_0x375cdd;_0x5a9a8a(this,_0xd47815(0x13e),[]),_0x5a9a8a(this,_0xd47815(0x1de),null),_0x5a9a8a(this,_0xd47815(0x275),null),_0x5a9a8a(this,_0xd47815(0x193),null),_0x5a9a8a(this,_0xd47815(0x17a),null),_0x5a9a8a(this,_0xd47815(0x264),null),(this[_0xd47815(0x145)]=_0x9a8c64,this[_0xd47815(0x35a)]=_0x11da15,this['_docSkeleton']=_0x47d17e,this['_document']=_0x37b4f6,this[_0xd47815(0x225)]());}set[_0x375cdd(0x1ee)](_0x489274){const _0x4ab78b=_0x375cdd;_0x489274?(this[_0x4ab78b(0x193)]&&this[_0x4ab78b(0x193)][_0x4ab78b(0x256)](),this[_0x4ab78b(0x275)]&&this[_0x4ab78b(0x275)]['show']()):(this[_0x4ab78b(0x193)]&&this[_0x4ab78b(0x193)]['show'](),this[_0x4ab78b(0x275)]&&this[_0x4ab78b(0x275)][_0x4ab78b(0x256)]());}[_0x375cdd(0x149)](){const _0x5e71a0=_0x375cdd;for(const _0x35f7d9 of this[_0x5e71a0(0x13e)])_0x35f7d9[_0x5e71a0(0x149)]();this['_textBubble']&&this[_0x5e71a0(0x275)]['dispose'](),this[_0x5e71a0(0x193)]&&this['_anchorDot'][_0x5e71a0(0x149)](),this['_anchor']&&this[_0x5e71a0(0x1de)]['dispose'](),this[_0x5e71a0(0x264)]&&this['_eventUnsubscribe']();}[_0x375cdd(0x225)](){const _0x36d81e=_0x375cdd;var _0x1a210f;const {_docSkeleton:_0x23d38c,_document:_0x4ead5a}=this,{color:_0x23be6e,name:_0x243fb9,ranges:_0x486ad1}=this[_0x36d81e(0x145)],_0xa6568a=_0x4ead5a['getOffsetConfig'](),{docsLeft:_0x1efcd0,docsTop:_0x8a66c1}=_0xa6568a,_0x56e43d=new _0x4d94eb[(_0x36d81e(0x265))](_0xa6568a,_0x23d38c);for(const {startOffset:_0x2c879,endOffset:_0xcc4b7a,rangeType:_0x52b1c5,segmentId:_0x3fbb49,segmentPage:_0xbab963,collapsed:_0x3223ef,isActive:_0x4e8d19}of _0x486ad1){const _0x4bf746=_0x23d38c[_0x36d81e(0x180)](_0x2c879,!0x0,_0x3fbb49,_0xbab963);let _0x931d5b=_0x23d38c['findNodePositionByCharIndex'](_0xcc4b7a,!0x0,_0x3fbb49,_0xbab963);if(_0x931d5b==null&&(_0x931d5b=_0x23d38c[_0x36d81e(0x180)](_0xcc4b7a-0x1,!0x1,_0x3fbb49,_0xbab963)),_0x4e8d19){const {contentBoxPointGroup:_0x2aa65a}=_0x56e43d[_0x36d81e(0x417)](_0x931d5b,_0x931d5b);if(_0x2aa65a['length']===0x0)continue;this[_0x36d81e(0x2ee)](_0x23be6e,_0x2aa65a,_0x1efcd0,_0x8a66c1,_0x243fb9),this[_0x36d81e(0x264)]=this[_0x36d81e(0x14c)]();}if(_0x4bf746&&_0x931d5b){if(_0x52b1c5===_0x158180[_0x36d81e(0x1ca)][_0x36d81e(0x323)]){const _0x39dfe0=new _0x4d94eb[(_0x36d81e(0x3b2))](_0xa6568a,_0x23d38c),{pointGroup:_0x2b4a5d}=(_0x1a210f=_0x39dfe0[_0x36d81e(0x417)](_0x4bf746,_0x931d5b))!=null?_0x1a210f:{};if(_0x2b4a5d==null||_0x2b4a5d[_0x36d81e(0x3ef)]===0x0)continue;this[_0x36d81e(0x282)](_0x23be6e,_0x2b4a5d,_0x1efcd0,_0x8a66c1);}else{if(!_0x3223ef){const {borderBoxPointGroup:_0x5ef127}=_0x56e43d[_0x36d81e(0x417)](_0x4bf746,_0x931d5b);if(_0x5ef127[_0x36d81e(0x3ef)]===0x0)continue;this[_0x36d81e(0x1af)](_0x23be6e,_0x5ef127,_0x1efcd0,_0x8a66c1);}}}}}[_0x375cdd(0x2ee)](_0x4d3ed6,_0x2061fc,_0x4db6d9,_0x41242b,_0x12187f){const _0x58cca6=_0x375cdd,_0xc707e3=this[_0x58cca6(0x31b)](_0x2061fc),{left:_0x4036a9,top:_0x2fd6b2,height:_0x370062}=_0xc707e3,_0x38e074=this[_0x58cca6(0x3dc)](),_0x2a18ba=_0x59b84c/_0x38e074,_0x4d992b=new _0x191500[(_0x58cca6(0x228))](_0x24725c+_0x158180[_0x58cca6(0x2b4)](_0x5ec3da),{'left':_0x4036a9+_0x4db6d9-_0x2a18ba,'top':_0x2fd6b2+_0x41242b,'height':_0x370062,'width':_0x3d4245,'fill':_0x4d3ed6||_0x191500[_0x58cca6(0x1a3)](_0x158180[_0x58cca6(0x1cd)][_0x58cca6(0x25b)],0x0),'strokeWidth':_0x2a18ba,'stroke':_0x369f94,'evented':!0x0});this[_0x58cca6(0x1de)]=_0x4d992b,this[_0x58cca6(0x35a)][_0x58cca6(0x396)](_0x4d992b,_0x4d94eb[_0x58cca6(0x164)]);const _0x5cf303=new _0x191500[(_0x58cca6(0x228))](_0x24725c+_0x158180[_0x58cca6(0x2b4)](_0x5ec3da),{'left':_0x4036a9+_0x4db6d9-_0x2a18ba,'top':_0x2fd6b2+_0x41242b-_0xed9b2b/0x2,'height':_0xed9b2b,'width':_0xed9b2b,'fill':_0x4d3ed6||_0x191500['getColor'](_0x158180[_0x58cca6(0x1cd)][_0x58cca6(0x25b)],0x0),'strokeWidth':0x0,'stroke':_0x4d3ed6||_0x191500['getColor'](_0x158180[_0x58cca6(0x1cd)][_0x58cca6(0x25b)],0x0),'evented':!0x1});this[_0x58cca6(0x193)]=_0x5cf303,this['_scene'][_0x58cca6(0x396)](_0x5cf303,_0x4d94eb[_0x58cca6(0x164)]);const _0x409dc3=new _0xeacd8d(_0x24725c+_0x158180[_0x58cca6(0x2b4)](_0x5ec3da),{'left':_0x4036a9+_0x4db6d9-_0x2a18ba,'top':_0x2fd6b2+_0x41242b-_0x3eaec9,'text':_0x12187f,'color':_0x4d3ed6});this[_0x58cca6(0x275)]=_0x409dc3,this['_scene'][_0x58cca6(0x396)](_0x409dc3,_0x4d94eb[_0x58cca6(0x164)]),this[_0x58cca6(0x1ee)]=!0x1;}[_0x375cdd(0x14c)](){const _0x27ba0f=_0x375cdd,_0x188663=this[_0x27ba0f(0x1de)][_0x27ba0f(0x28c)][_0x27ba0f(0x23a)](()=>{const _0x4c3356=_0x27ba0f;this[_0x4c3356(0x1ee)]=!0x0;}),_0x28157d=this[_0x27ba0f(0x1de)]['onPointerLeave$'][_0x27ba0f(0x23a)](()=>{const _0x12f988=_0x27ba0f;this[_0x12f988(0x17a)]&&clearTimeout(this[_0x12f988(0x17a)]),this['_hideTimer']=setTimeout(()=>{const _0x256ec4=_0x12f988;this[_0x256ec4(0x1ee)]=!0x1;},0x7d0);});return()=>{const _0x6bbda6=_0x27ba0f;_0x188663[_0x6bbda6(0x16a)](),_0x28157d[_0x6bbda6(0x16a)]();};}[_0x375cdd(0x1af)](_0x33c99a,_0x1bf9cb,_0x17b40d,_0x5a7f30){const _0x27bca9=_0x375cdd,_0xa67eee=new _0x158180[(_0x27bca9(0x40b))](_0x33c99a)[_0x27bca9(0x3ab)](0.2)['toRgbString'](),_0x164402=new _0x191500[(_0x27bca9(0x28f))](_0x4422ba+_0x158180[_0x27bca9(0x2b4)](_0x5ec3da),{'pointsGroup':_0x1bf9cb,'fill':_0xa67eee||_0x191500['getColor'](_0x158180['COLORS']['black'],0.2),'left':_0x17b40d,'top':_0x5a7f30,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x27bca9(0x1cb)](_0x164402),this['_scene']['addObject'](_0x164402,_0x4d94eb[_0x27bca9(0x164)]);}[_0x375cdd(0x282)](_0x3675b3,_0x310ec7,_0x52e3b7,_0x691601){const _0x2af008=_0x375cdd,_0x175278=new _0x158180[(_0x2af008(0x40b))](_0x3675b3)[_0x2af008(0x3ab)](0.2)[_0x2af008(0x238)](),_0x36cd02=new _0x191500[(_0x2af008(0x28f))](_0x3980e7+_0x158180[_0x2af008(0x2b4)](_0x5ec3da),{'pointsGroup':_0x310ec7,'fill':_0x175278||_0x191500[_0x2af008(0x1a3)](_0x158180[_0x2af008(0x1cd)][_0x2af008(0x25b)],0.2),'left':_0x52e3b7,'top':_0x691601,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x2af008(0x1cb)](_0x36cd02),this[_0x2af008(0x35a)][_0x2af008(0x396)](_0x36cd02,_0x4d94eb[_0x2af008(0x164)]);}[_0x375cdd(0x31b)](_0x1cd176){const _0x5c7759=_0x1cd176[0x0],_0x4b2b7e=_0x5c7759[0x0],_0x299f20=_0x5c7759[0x2],{x:_0x13df6b,y:_0x26ded1}=_0x4b2b7e,{x:_0x3e04f0,y:_0x4a6bee}=_0x299f20;return{'left':_0x13df6b,'top':_0x26ded1,'width':_0x3e04f0-_0x13df6b,'height':_0x4a6bee-_0x26ded1};}[_0x375cdd(0x3dc)](){const _0x169986=_0x375cdd,{scaleX:_0x11b58e,scaleY:_0x83525d}=this[_0x169986(0x35a)][_0x169986(0x276)]();return Math['max'](_0x11b58e,_0x83525d);}}var _0x4cc3df=Object['getOwnPropertyDescriptor'],_0x5ad54e=(_0xb6c8f2,_0xd2b150,_0x41e54c,_0x2f16a6)=>{const _0x1887bc=_0x375cdd;for(var _0xff7133=_0x2f16a6>0x1?void 0x0:_0x2f16a6?_0x4cc3df(_0xd2b150,_0x41e54c):_0xd2b150,_0x2d00fb=_0xb6c8f2[_0x1887bc(0x3ef)]-0x1,_0x18eba2;_0x2d00fb>=0x0;_0x2d00fb--)(_0x18eba2=_0xb6c8f2[_0x2d00fb])&&(_0xff7133=_0x18eba2(_0xff7133)||_0xff7133);return _0xff7133;},_0x345a30=(_0x5dc9f7,_0x3d31ff)=>(_0x35829f,_0x13f668)=>_0x3d31ff(_0x35829f,_0x13f668,_0x5dc9f7);let _0x3235e9=class extends _0x158180[_0x375cdd(0x41b)]{constructor(_0x2e2ccc,_0x2ced80,_0xf76ee3,_0x18fe23,_0x2a0b68){const _0x3564b6=_0x375cdd;super(),_0x5a9a8a(this,_0x3564b6(0x232),[]),_0x5a9a8a(this,_0x3564b6(0x294),[]),(this['_context']=_0x2e2ccc,this[_0x3564b6(0x3c4)]=_0x2ced80,this[_0x3564b6(0x32d)]=_0xf76ee3,this['_commandService']=_0x18fe23,this['_themeService']=_0x2a0b68,this[_0x3564b6(0x2e6)]());}[_0x375cdd(0x2e6)](){const _0x1d754c=_0x375cdd,_0x263223=this['_context'][_0x1d754c(0x3f4)],_0xe08897=this[_0x1d754c(0x3c4)];this['disposeWithMe'](_0x2f7dc8[_0x1d754c(0x310)]([this['_collabCursorController']['getCollabCursors$'](_0x263223),this[_0x1d754c(0x2cc)][_0x1d754c(0x261)]])['pipe'](_0xa81663[_0x1d754c(0x35e)](([_0x4348b1,_0x1546b5])=>({'skeleton':_0xe08897['getSkeleton'](),'cursors':[..._0x4348b1[_0x1d754c(0x250)]()][_0x1d754c(0x364)](_0x4ace5f=>({..._0x4ace5f,'color':this[_0x1d754c(0x2cc)][_0x1d754c(0x1bc)](_0x4ace5f[_0x1d754c(0x183)])}))})))[_0x1d754c(0x3f9)](_0x3da660=>{const _0x69fef0=_0x1d754c;if(this[_0x69fef0(0x211)](),_0x3da660){const {skeleton:_0x54b5b1,cursors:_0xbca466}=_0x3da660;this[_0x69fef0(0x332)](_0x54b5b1,_0xbca466);}})),this['_initResize'](),this[_0x1d754c(0x3ee)]();}['_updateCollabCursors'](_0x2afc64,_0x5a92e9){const _0x146347=_0x375cdd,{scene:_0x5b9eee,mainComponent:_0xaa6338}=this['_context'],_0x339f1c=_0x5a92e9[_0x146347(0x35e)](_0x220638=>new _0x136062(_0x220638,_0x5b9eee,_0x2afc64,_0xaa6338));this[_0x146347(0x232)]=_0x339f1c,this[_0x146347(0x294)]=_0x5a92e9;}[_0x375cdd(0x2ff)](){const _0x6d63f=_0x375cdd;this[_0x6d63f(0x211)]();const {scene:_0x49484c,mainComponent:_0x4ffb23}=this['_context'],_0x319b7a=this[_0x6d63f(0x3c4)]['getSkeleton'](),_0x160382=this['_cursors'][_0x6d63f(0x35e)](_0x338f63=>new _0x136062(_0x338f63,_0x49484c,_0x319b7a,_0x4ffb23));this['_cursorShapes']=_0x160382;}[_0x375cdd(0x211)](){const _0x415bae=_0x375cdd;this[_0x415bae(0x232)][_0x415bae(0x3d9)](_0xea7504=>_0xea7504['dispose']()),this[_0x415bae(0x232)]=[];}[_0x375cdd(0x3ee)](){const _0x454e72=_0x375cdd,_0x5ea345=[_0x4d94eb[_0x454e72(0x254)]['id']];this[_0x454e72(0x255)](this[_0x454e72(0x1c0)][_0x454e72(0x311)](_0x385e60=>{const _0x1d54a8=_0x454e72;_0x5ea345[_0x1d54a8(0x337)](_0x385e60['id'])&&_0x385e60[_0x1d54a8(0x2b6)][_0x1d54a8(0x3f4)]===this['_context'][_0x1d54a8(0x3f4)]&&this['_refreshCollabCursors']();}));}[_0x375cdd(0x3f6)](){const _0x3d980e=_0x375cdd;this['disposeWithMe'](_0x158180[_0x3d980e(0x22d)](this['_context'][_0x3d980e(0x312)]['onTransformChange$'])[_0x3d980e(0x21d)](_0xa81663['filter'](_0x16bf68=>_0x16bf68[_0x3d980e(0x34c)]===_0x191500['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0xa81663[_0x3d980e(0x340)](0x10))[_0x3d980e(0x3f9)](()=>{const _0x464a4f=_0x3d980e;this[_0x464a4f(0x2ff)]();}));}};_0x3235e9=_0x5ad54e([_0x345a30(0x1,_0x158180[_0x375cdd(0x293)](_0x17205f[_0x375cdd(0x421)])),_0x345a30(0x2,_0x158180[_0x375cdd(0x293)](_0x112360)),_0x345a30(0x3,_0x158180[_0x375cdd(0x2bb)]),_0x345a30(0x4,_0x158180[_0x375cdd(0x293)](_0x158180['ThemeService']))],_0x3235e9);const _0x27fb33=0x1,_0x56fadd=1.5;class _0x47bfd3 extends _0x191500['Shape']{constructor(_0x4745ee,_0x1b4781){const _0x31390f=_0x375cdd;super(_0x4745ee,_0x1b4781),_0x5a9a8a(this,_0x31390f(0x191)),_0x5a9a8a(this,_0x31390f(0x32a),!0x1),_0x5a9a8a(this,'_range'),_0x5a9a8a(this,'_name',''),_0x5a9a8a(this,_0x31390f(0x29e),'top'),_0x5a9a8a(this,_0x31390f(0x38f)),(_0x1b4781&&this['setShapeProps'](_0x1b4781),this[_0x31390f(0x28c)][_0x31390f(0x23a)](()=>this[_0x31390f(0x2fb)]({'hovered':!0x0})),this[_0x31390f(0x353)][_0x31390f(0x23a)](()=>this[_0x31390f(0x2fb)]({'hovered':!0x1})));}['setShapeProps'](_0x7d2f10){const _0x3cb7a9=_0x375cdd;var _0x49b439,_0x3c310c,_0x17007a,_0x29498b,_0xff44a6,_0x4487b1;this[_0x3cb7a9(0x191)]=(_0x49b439=_0x7d2f10[_0x3cb7a9(0x183)])!=null?_0x49b439:this[_0x3cb7a9(0x191)],this[_0x3cb7a9(0x32a)]=(_0x3c310c=_0x7d2f10[_0x3cb7a9(0x2cf)])!=null?_0x3c310c:this['_hovered'],this[_0x3cb7a9(0x401)]=(_0x17007a=_0x7d2f10[_0x3cb7a9(0x1d4)])!=null?_0x17007a:this[_0x3cb7a9(0x401)],this[_0x3cb7a9(0x13c)]=(_0x29498b=_0x7d2f10['name'])!=null?_0x29498b:this[_0x3cb7a9(0x13c)],this['_labelPosition']=(_0xff44a6=_0x7d2f10[_0x3cb7a9(0x17c)])!=null?_0xff44a6:this[_0x3cb7a9(0x29e)],this[_0x3cb7a9(0x38f)]=(_0x4487b1=_0x7d2f10[_0x3cb7a9(0x1f2)])!=null?_0x4487b1:this[_0x3cb7a9(0x38f)],this[_0x3cb7a9(0x32c)]({'width':_0x7d2f10[_0x3cb7a9(0x3e0)],'height':_0x7d2f10[_0x3cb7a9(0x13d)]});}[_0x375cdd(0x18a)](_0x1e2b08){const _0x3e6271=_0x375cdd,{row:_0x4846db,column:_0x18d6f2}=_0x1e2b08;if(_0x4846db>=this['_range'][_0x3e6271(0x3a0)]&&_0x4846db<=this['_range'][_0x3e6271(0x142)]&&_0x18d6f2>=this[_0x3e6271(0x401)][_0x3e6271(0x172)]&&_0x18d6f2<=this['_range'][_0x3e6271(0x3f1)]){this[_0x3e6271(0x2fb)]({'hovered':!0x0});return;}this[_0x3e6271(0x2fb)]({'hovered':!0x1});}[_0x375cdd(0x1e4)](_0x3b74a8){return!0x1;}[_0x375cdd(0x178)](_0x36ad21){const _0x2c4fd7=_0x375cdd;_0x191500[_0x2c4fd7(0x228)][_0x2c4fd7(0x1d0)](_0x36ad21,{'width':this[_0x2c4fd7(0x3e0)],'height':this['height'],'strokeWidth':_0x56fadd,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x2c4fd7(0x38f)]}),this[_0x2c4fd7(0x32a)]&&(_0x36ad21[_0x2c4fd7(0x221)](),_0x36ad21[_0x2c4fd7(0x2cb)](0x1,0x0,0x0,0x1,this[_0x2c4fd7(0x3e0)],this['_labelPosition']===_0x2c4fd7(0x19f)?0x0:-_0x3eaec9),_0xeacd8d[_0x2c4fd7(0x1d0)](_0x36ad21,{'text':this[_0x2c4fd7(0x13c)],'color':this[_0x2c4fd7(0x191)]}),_0x36ad21[_0x2c4fd7(0x1ef)]());}}var _0x436fad=Object[_0x375cdd(0x37a)],_0x206eaf=(_0x5bdfc0,_0x322c27,_0x452d88,_0x5d479c)=>{const _0x569bba=_0x375cdd;for(var _0x11fe04=_0x5d479c>0x1?void 0x0:_0x5d479c?_0x436fad(_0x322c27,_0x452d88):_0x322c27,_0x5877b6=_0x5bdfc0[_0x569bba(0x3ef)]-0x1,_0x42798d;_0x5877b6>=0x0;_0x5877b6--)(_0x42798d=_0x5bdfc0[_0x5877b6])&&(_0x11fe04=_0x42798d(_0x11fe04)||_0x11fe04);return _0x11fe04;},_0xd5befc=(_0x587773,_0xba56a7)=>(_0x16c92a,_0x5e144a)=>_0xba56a7(_0x16c92a,_0x5e144a,_0x587773);const _0x245642=0x1389;let _0x1f6ced=class extends _0x158180[_0x375cdd(0x41b)]{constructor(_0x312592,_0x180f8d,_0x15ffdc,_0x21a357){const _0x4e9d6c=_0x375cdd;super(),_0x5a9a8a(this,_0x4e9d6c(0x294),new Set()),_0x5a9a8a(this,'_lastPointer',null),(this[_0x4e9d6c(0x3ea)]=_0x312592,this[_0x4e9d6c(0x2b0)]=_0x180f8d,this[_0x4e9d6c(0x32d)]=_0x15ffdc,this[_0x4e9d6c(0x2cc)]=_0x21a357,this['_init']());}['_init'](){const _0x214f21=_0x375cdd;this['_sheetSkeletonManagerService']['currentSkeleton$']['pipe'](_0xa81663[_0x214f21(0x334)](this[_0x214f21(0x214)]),_0xa81663[_0x214f21(0x29f)](_0x22e0c6=>{const _0x5d8230=_0x214f21;if(_0x22e0c6){const _0x2ba951=_0x22e0c6[_0x5d8230(0x203)];return _0x2f7dc8['combineLatest'](this['_collabCursorController'][_0x5d8230(0x16c)](this[_0x5d8230(0x3ea)][_0x5d8230(0x3f4)]),this['_themeService']['currentTheme$'])[_0x5d8230(0x21d)](_0xa81663[_0x5d8230(0x35e)](([_0x18769f,_0x5039e0])=>{const _0x1f647c=_0x5d8230,_0x1d3383=new Map();return _0x18769f[_0x1f647c(0x3d9)]((_0x58a044,_0x4e1f07)=>{const _0x4d3ea1=_0x1f647c;if(_0x58a044['sheetID']===_0x2ba951){const _0x3c2a23={..._0x58a044};_0x3c2a23[_0x4d3ea1(0x183)]=this[_0x4d3ea1(0x2cc)][_0x4d3ea1(0x1bc)](_0x58a044[_0x4d3ea1(0x183)]),_0x1d3383[_0x4d3ea1(0x3d4)](_0x4e1f07,_0x3c2a23);}}),{'skeleton':_0x22e0c6,'cursors':_0x1d3383};}));}return _0x2f7dc8['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0xdfefee,cursors:_0x283d2f})=>{const _0x4677be=_0x214f21;this['_removeCollabCursors'](),_0xdfefee&&this[_0x4677be(0x332)](_0xdfefee,_0x283d2f);}),this[_0x214f21(0x2b0)][_0x214f21(0x222)][_0x214f21(0x3f9)](_0x1d8791=>{const _0x439645=_0x214f21;if(_0x1d8791==null)return;const {skeleton:_0x2fd335}=_0x1d8791,{scene:_0x11f23c}=this['_context'];_0x11f23c[_0x439645(0x36f)][_0x439645(0x23a)](_0x158180[_0x439645(0x2ae)](_0x2f182f=>{const _0xaf74c7=_0x439645;var _0x48e38c,_0x352d18;const {offsetX:_0xef4b04,offsetY:_0x29ba11}=_0x2f182f,{x:_0x49ec6e,y:_0x5497de}=_0x11f23c[_0xaf74c7(0x3d1)](_0x191500[_0xaf74c7(0x3cd)][_0xaf74c7(0x3e7)]([_0xef4b04,_0x29ba11])),{scaleX:_0x419ee2,scaleY:_0x3a73ee}=_0x11f23c[_0xaf74c7(0x276)](),_0x500a53=_0x11f23c[_0xaf74c7(0x23f)](_0x191500[_0xaf74c7(0x245)][_0xaf74c7(0x359)]),_0x168a2d=_0x11f23c[_0xaf74c7(0x395)](_0x191500[_0xaf74c7(0x3cd)][_0xaf74c7(0x3e7)]([_0x49ec6e,_0x5497de]),_0x500a53),_0x93591d=_0x2fd335[_0xaf74c7(0x394)](_0xef4b04,_0x29ba11,_0x419ee2,_0x3a73ee,_0x168a2d);((_0x48e38c=this['_lastPointer'])==null?void 0x0:_0x48e38c['column'])===_0x93591d[_0xaf74c7(0x201)]&&((_0x352d18=this[_0xaf74c7(0x196)])==null?void 0x0:_0x352d18['row'])===_0x93591d[_0xaf74c7(0x33d)]||this[_0xaf74c7(0x294)][_0xaf74c7(0x3d9)](_0x1b1a5b=>{const _0xcb9826=_0xaf74c7;_0x1b1a5b[_0xcb9826(0x18a)](_0x93591d);});},0x64));});}[_0x375cdd(0x332)](_0x4e31c1,_0x7ebbd){const _0x1cb305=_0x375cdd;var _0x3dd164;const _0x194bcd=(_0x3dd164=this[_0x1cb305(0x2b0)]['getCurrent']())==null?void 0x0:_0x3dd164['skeleton'];if(!_0x194bcd)return;const _0x47db94=this[_0x1cb305(0x2bd)]();if(!_0x47db94)return;this[_0x1cb305(0x294)][_0x1cb305(0x3d9)](_0x50b283=>{const _0x24f2ab=_0x1cb305;_0x50b283[_0x24f2ab(0x1be)]();});const {scene:_0x1d18bb}=_0x47db94,_0x2d655d=_0x47fcbd(Array[_0x1cb305(0x3e9)](_0x7ebbd[_0x1cb305(0x250)]()))[_0x1cb305(0x35e)](_0x1dac27=>{const _0x270da8=_0x1cb305,{color:_0x222e9d,range:_0x28216b,name:_0x11c1ec,selection:_0x36b8c4,sheetID:_0x3d37f4}=_0x1dac27,{startColumn:_0x34b403,startRow:_0x37ec6f,endColumn:_0x525d01,endRow:_0x3de866}=_0x28216b,_0x2bc328=_0x21df69[_0x270da8(0x330)](_0x37ec6f,_0x34b403,_0x1d18bb,_0x194bcd),_0x15914d=_0x21df69[_0x270da8(0x330)](_0x3de866,_0x525d01,_0x1d18bb,_0x194bcd),{columnHeaderHeightAndMarginTop:_0x19e269}=_0x194bcd,{startX:_0x547250,startY:_0x566832}=_0x2bc328,{endX:_0x4381eb,endY:_0x38eed2}=_0x15914d,_0x422227=_0x4381eb-_0x547250,_0x247925=_0x38eed2-_0x566832,_0x5d6c21={'labelPosition':_0x566832-_0x19e269>=_0x3eaec9?'top':'bottom','sheetID':_0x3d37f4,'range':_0x28216b,'color':_0x222e9d,'name':_0x11c1ec,'selection':_0x36b8c4,'left':_0x547250,'top':_0x566832,'width':_0x422227,'height':_0x247925,'evented':!0x1,'zIndex':_0x245642};return new _0x47bfd3(_0x11c1ec,_0x5d6c21);});_0x1d18bb[_0x1cb305(0x313)](_0x2d655d,_0x27fb33),this[_0x1cb305(0x294)]=new Set(_0x2d655d);}[_0x375cdd(0x211)](){const _0x3fa096=_0x375cdd;var _0x588c67;(_0x588c67=this[_0x3fa096(0x294)])==null||_0x588c67[_0x3fa096(0x3d9)](_0x19596d=>_0x19596d[_0x3fa096(0x149)]());}['_getSheetObject'](){const _0x522634=_0x375cdd;return _0x21df69[_0x522634(0x2a8)](this[_0x522634(0x3ea)][_0x522634(0x207)],this[_0x522634(0x3ea)]);}};_0x1f6ced=_0x206eaf([_0xd5befc(0x1,_0x158180[_0x375cdd(0x293)](_0x21df69['SheetSkeletonManagerService'])),_0xd5befc(0x2,_0x158180['Inject'](_0x112360)),_0xd5befc(0x3,_0x158180[_0x375cdd(0x293)](_0x158180[_0x375cdd(0x296)]))],_0x1f6ced);function _0x47fcbd(_0x166699){const _0x4f95bd=_0x375cdd,_0x5ca4df=new Map();return _0x166699['forEach'](_0x5beb1f=>{const _0x4db860=_0x4477;if(_0x5ca4df[_0x4db860(0x2c1)](_0x5beb1f[_0x4db860(0x3e2)])){const _0x92b09d=_0x5ca4df[_0x4db860(0x411)](_0x5beb1f[_0x4db860(0x3e2)]);_0x92b09d['name']+=',\x20'+_0x5beb1f[_0x4db860(0x41e)];}else _0x5ca4df[_0x4db860(0x3d4)](_0x5beb1f[_0x4db860(0x3e2)],_0x5beb1f);}),Array['from'](_0x5ca4df[_0x4f95bd(0x250)]());}var _0x1f2abb=Object[_0x375cdd(0x37a)],_0x548e0f=(_0x13e6eb,_0x515052,_0x41a391,_0x24e684)=>{for(var _0x5935cd=_0x24e684>0x1?void 0x0:_0x24e684?_0x1f2abb(_0x515052,_0x41a391):_0x515052,_0xb761c9=_0x13e6eb['length']-0x1,_0x5378cd;_0xb761c9>=0x0;_0xb761c9--)(_0x5378cd=_0x13e6eb[_0xb761c9])&&(_0x5935cd=_0x5378cd(_0x5935cd)||_0x5935cd);return _0x5935cd;},_0x21ea41=(_0x1427c3,_0x4ddf95)=>(_0x3fba99,_0x4d4da6)=>_0x4ddf95(_0x3fba99,_0x4d4da6,_0x1427c3);let _0x42ab39=class extends _0x158180['Disposable']{constructor(_0x228e35,_0x3ec88c,_0x3a613c,_0x77ca58,_0xf02620,_0x4da596){const _0x1d2c2c=_0x375cdd;super(),this[_0x1d2c2c(0x2f5)]=_0x228e35,this[_0x1d2c2c(0x162)]=_0x3ec88c,this['_collaborationUIEventService']=_0x3a613c,this[_0x1d2c2c(0x246)]=_0x77ca58,this['_notificationService']=_0xf02620,this['_localeService']=_0x4da596,this['_setupBeforeClosingHandler'](),this[_0x1d2c2c(0x303)]();}[_0x375cdd(0x29a)](){const _0x32d8a9=_0x375cdd;this[_0x32d8a9(0x255)](this[_0x32d8a9(0x2f5)][_0x32d8a9(0x290)](()=>{const _0x115ae0=_0x32d8a9;if(this[_0x115ae0(0x162)]['saveTaskMap'][_0x115ae0(0x412)])return this[_0x115ae0(0x3c0)]['t'](_0x115ae0(0x249));}));}[_0x375cdd(0x303)](){const _0x76a7e9=_0x375cdd;this['disposeWithMe'](this['_collaborationUIEventService'][_0x76a7e9(0x1b0)]['subscribe'](_0x45aa43=>{const _0x329057=_0x76a7e9;_0x45aa43['id']===_0x422a84[_0x329057(0x1fc)][_0x329057(0x188)]&&this[_0x329057(0x246)][_0x329057(0x415)]({'type':_0x41e1ef[_0x329057(0x30c)][_0x329057(0x1da)],'content':this[_0x329057(0x3c0)]['t'](_0x329057(0x1c6))}),_0x45aa43['id']===_0x422a84[_0x329057(0x1fc)][_0x329057(0x3b5)]&&this[_0x329057(0x246)]['show']({'type':_0x41e1ef[_0x329057(0x30c)]['Warning'],'content':this[_0x329057(0x3c0)]['t'](_0x329057(0x2f0))}),_0x45aa43['id']===_0x422a84[_0x329057(0x1fc)][_0x329057(0x348)]&&this['_notificationService'][_0x329057(0x415)]({'title':this[_0x329057(0x3c0)]['t'](_0x329057(0x24b)),'content':this[_0x329057(0x3c0)]['t'](_0x329057(0x37b)),'type':_0x329057(0x389),'duration':0x0}),_0x45aa43['id']===_0x422a84[_0x329057(0x1fc)][_0x329057(0x17e)]&&this[_0x329057(0x246)][_0x329057(0x415)]({'type':_0x41e1ef[_0x329057(0x30c)][_0x329057(0x2da)],'content':this['_localeService']['t'](_0x329057(0x2f0))+'('+_0x45aa43['data']+')'}),_0x45aa43['id']===_0x422a84[_0x329057(0x1fc)]['JOIN_ROOM_FAILED']&&this[_0x329057(0x246)][_0x329057(0x415)]({'type':_0x41e1ef[_0x329057(0x30c)][_0x329057(0x1da)],'content':this[_0x329057(0x3c0)]['t'](_0x45aa43[_0x329057(0x3e8)]||'')}),_0x45aa43['id']===_0x422a84[_0x329057(0x1fc)]['SOCKET_FAILED_RETRY']&&this[_0x329057(0x246)][_0x329057(0x415)]({'type':_0x41e1ef['MessageType']['Warning'],'content':this[_0x329057(0x3c0)]['t'](_0x329057(0x2b7))}),_0x45aa43['id']===_0x422a84[_0x329057(0x1fc)]['SOCKET_FAILED']&&this[_0x329057(0x246)][_0x329057(0x415)]({'type':_0x41e1ef[_0x329057(0x30c)]['Error'],'content':this['_localeService']['t'](_0x329057(0x2b3))}),_0x45aa43['id']===_0x422a84[_0x329057(0x1fc)][_0x329057(0x33c)]&&this['_messageService'][_0x329057(0x415)]({'type':_0x41e1ef[_0x329057(0x30c)][_0x329057(0x2da)],'content':this[_0x329057(0x3c0)]['t']('session.collaboration-timeout')});}));}};_0x42ab39=_0x548e0f([_0x21ea41(0x0,_0x1d6c76[_0x375cdd(0x413)]),_0x21ea41(0x1,_0x422a84[_0x375cdd(0x230)]),_0x21ea41(0x2,_0x158180[_0x375cdd(0x293)](_0x422a84[_0x375cdd(0x339)])),_0x21ea41(0x3,_0x1d6c76[_0x375cdd(0x3ac)]),_0x21ea41(0x4,_0x1d6c76[_0x375cdd(0x1df)]),_0x21ea41(0x5,_0x158180[_0x375cdd(0x293)](_0x158180[_0x375cdd(0x1d9)]))],_0x42ab39);var _0x90a008=Object[_0x375cdd(0x37a)],_0x364467=(_0x3ab428,_0x48f8d6,_0x2846c3,_0x5908c3)=>{const _0x20b561=_0x375cdd;for(var _0x1740b2=_0x5908c3>0x1?void 0x0:_0x5908c3?_0x90a008(_0x48f8d6,_0x2846c3):_0x48f8d6,_0x11255f=_0x3ab428[_0x20b561(0x3ef)]-0x1,_0x170d87;_0x11255f>=0x0;_0x11255f--)(_0x170d87=_0x3ab428[_0x11255f])&&(_0x1740b2=_0x170d87(_0x1740b2)||_0x1740b2);return _0x1740b2;},_0xc2c47=(_0x27cb83,_0x17d211)=>(_0xae1f0f,_0x49b3b1)=>_0x17d211(_0xae1f0f,_0x49b3b1,_0x27cb83);let _0x1d931b=class extends _0x158180[_0x375cdd(0x2d9)]{constructor(_0x3c217d,_0x6a5df8,_0x3e1ce7,_0x5662b2){const _0x59a7bd=_0x375cdd;super(),_0x5a9a8a(this,'_memberID'),(this[_0x59a7bd(0x2e5)]=_0x3c217d,this['_httpService']=_0x6a5df8,this['_logService']=_0x3e1ce7,this[_0x59a7bd(0x29c)]=_0x5662b2,this[_0x59a7bd(0x2e6)]());}[_0x375cdd(0x2e6)](){const _0x48502a=_0x375cdd;this[_0x48502a(0x2fe)](),this[_0x48502a(0x1cf)](),this[_0x48502a(0x3b8)](),this['_initUserListener']();}[_0x375cdd(0x299)](){const _0xb6d07e=_0x375cdd;this[_0xb6d07e(0x255)](this[_0xb6d07e(0x29c)][_0xb6d07e(0x22a)][_0xb6d07e(0x3f9)](_0x50d168=>{const _0x307b44=_0xb6d07e;this[_0x307b44(0x2ce)]=_0x50d168==null?void 0x0:_0x50d168[_0x307b44(0x304)];}));}[_0x375cdd(0x2fe)](){const _0x36304e=_0x375cdd,_0x848562=_0x398032=>{const _0x15e3fd=_0x4477;var _0x4473d0;this[_0x15e3fd(0x165)](_0x15e3fd(0x389),_0x15e3fd(0x187)+_0x398032['message']+'\x20at\x20'+_0x398032['filename']+':'+_0x398032[_0x15e3fd(0x208)]+':'+_0x398032[_0x15e3fd(0x3a2)]+'\x0a'+(((_0x4473d0=_0x398032[_0x15e3fd(0x389)])==null?void 0x0:_0x4473d0[_0x15e3fd(0x186)])||''));};window[_0x36304e(0x146)](_0x36304e(0x389),_0x848562),this[_0x36304e(0x255)](()=>{const _0x265048=_0x36304e;window['removeEventListener'](_0x265048(0x389),_0x848562);});}[_0x375cdd(0x1cf)](){const _0x4d2cb8=_0x375cdd,_0x279dc4=_0x11942a=>{const _0x28eee0=_0x4477;this[_0x28eee0(0x165)]('error',_0x28eee0(0x14d)+_0x11942a[_0x28eee0(0x2f9)]);};window['addEventListener'](_0x4d2cb8(0x229),_0x279dc4),this[_0x4d2cb8(0x255)](()=>{const _0x6c5c7=_0x4d2cb8;window[_0x6c5c7(0x13f)](_0x6c5c7(0x229),_0x279dc4);});}[_0x375cdd(0x3b8)](){const _0x1dcce4=_0x375cdd,_0x331911=this['_logService'][_0x1dcce4(0x389)][_0x1dcce4(0x2ac)](this[_0x1dcce4(0x153)]);this['_logService']['error']=(..._0x32ebcb)=>{const _0x208e76=_0x1dcce4,_0x1a43da=_0x32ebcb[_0x208e76(0x35e)](_0x34abb2=>_0x34abb2 instanceof Error?_0x34abb2[_0x208e76(0x1b7)]+'\x0a'+_0x34abb2[_0x208e76(0x186)]:String(_0x34abb2))['join']('\x20');this[_0x208e76(0x165)](_0x208e76(0x389),_0x208e76(0x27e)+_0x1a43da),_0x331911(..._0x32ebcb);},this['disposeWithMe'](()=>{const _0x273bb3=_0x1dcce4;this[_0x273bb3(0x153)][_0x273bb3(0x389)]=_0x331911;});}[_0x375cdd(0x165)](_0x27af9e,_0x14bbf8){const _0x5f01fb=_0x375cdd;try{const _0x52586d={'userId':this['_memberID'],'logLabel':_0x27af9e,'content':_0x14bbf8};this[_0x5f01fb(0x2b9)][_0x5f01fb(0x1c9)](_0x5f01fb(0x174),{'body':_0x52586d})['catch'](()=>{});}catch{}}};_0x1d931b=_0x364467([_0xc2c47(0x0,_0x158180[_0x375cdd(0x293)](_0x158180[_0x375cdd(0x3c8)])),_0xc2c47(0x1,_0x158180[_0x375cdd(0x293)](_0xcb5e7f[_0x375cdd(0x155)])),_0xc2c47(0x2,_0x158180['ILogService']),_0xc2c47(0x3,_0x158180[_0x375cdd(0x293)](_0x422a84[_0x375cdd(0x370)]))],_0x1d931b);const _0x51e52e=_0x375cdd(0x1ab),_0x447a95={};var _0x17709b=Object[_0x375cdd(0x37a)],_0x16cd55=(_0x20dd7b,_0x3edfa5,_0x4fab19,_0x1d095f)=>{for(var _0x41b681=_0x1d095f>0x1?void 0x0:_0x1d095f?_0x17709b(_0x3edfa5,_0x4fab19):_0x3edfa5,_0x1fdee4=_0x20dd7b['length']-0x1,_0x5af79d;_0x1fdee4>=0x0;_0x1fdee4--)(_0x5af79d=_0x20dd7b[_0x1fdee4])&&(_0x41b681=_0x5af79d(_0x41b681)||_0x41b681);return _0x41b681;},_0x5a1bc0=(_0x1588b5,_0x2238e5)=>(_0x13c622,_0x541024)=>_0x2238e5(_0x13c622,_0x541024,_0x1588b5);let _0x315d9a=class{constructor(_0xedc707,_0x42cb19){const _0x3e4422=_0x375cdd;this[_0x3e4422(0x3db)]=_0xedc707,this['_renderManagerService']=_0x42cb19;}[_0x375cdd(0x185)](_0x3de67e){this['_transformUndoRedoStack'](_0x3de67e),this['_transformPreviousActiveRange'](_0x3de67e);}['transformRemoteChangeset'](_0x5f0ce3){const _0x39847d=_0x375cdd,{unitID:_0x3d5dc9}=_0x5f0ce3,_0x2637f7=this[_0x39847d(0x3b4)]['getRenderById'](_0x3d5dc9)['with'](_0x4d94eb[_0x39847d(0x1f8)]),{redoCache:_0x3cbf4b}=_0x2637f7[_0x39847d(0x39b)]();if(_0x3cbf4b['length']===0x0)return _0x5f0ce3;let _0x359e61=_0x158180[_0x39847d(0x1b4)][_0x39847d(0x1a9)](_0x5f0ce3[_0x39847d(0x2d5)][0x0]);for(let _0x3ac047=0x0;_0x3ac047<_0x3cbf4b['length'];_0x3ac047++){const _0xfaf898={'id':_0x39847d(0x272),'params':{..._0x3cbf4b[_0x3ac047]}},_0x5deaf6=this[_0x39847d(0x3db)]['transformMutation'](_0x359e61,_0xfaf898,!0x1);if(_0x2af364[_0x39847d(0x239)](_0x5deaf6))throw _0x5deaf6['error'];_0x359e61=_0x5deaf6[_0x39847d(0x1e9)];}return{..._0x158180['Tools'][_0x39847d(0x1a9)](_0x5f0ce3),'mutations':[_0x359e61]};}[_0x375cdd(0x382)](_0x39fb00){const _0x53e08b=_0x375cdd,{unitID:_0x4683b8}=_0x39fb00,_0x276bbf=this[_0x53e08b(0x3b4)][_0x53e08b(0x3ad)](_0x4683b8)[_0x53e08b(0x1a2)](_0x4d94eb['DocIMEInputManagerService']),{undoCache:_0x34ae3f,redoCache:_0x1b6bca}=_0x276bbf[_0x53e08b(0x39b)]();if(_0x34ae3f[_0x53e08b(0x3ef)]===0x0||_0x1b6bca[_0x53e08b(0x3ef)]===0x0)return;const _0x2085be=[],_0x41791c=[];let _0x1b67d7=_0x158180[_0x53e08b(0x1b4)][_0x53e08b(0x1a9)](_0x39fb00['mutations'][0x0]),_0x186404=_0x158180[_0x53e08b(0x1b4)][_0x53e08b(0x1a9)](_0x39fb00['mutations'][0x0]);for(let _0x3ed797=_0x34ae3f[_0x53e08b(0x3ef)]-0x1;_0x3ed797>=0x0;_0x3ed797--){const _0x1701e1={'id':_0x53e08b(0x272),'params':{..._0x34ae3f[_0x3ed797]}},_0x4a5093={'id':_0x53e08b(0x272),'params':{..._0x1b6bca[_0x3ed797]}},_0x44bee2=this[_0x53e08b(0x3db)][_0x53e08b(0x34a)](_0x1b67d7,_0x1701e1,!0x1),_0x499aaa=this[_0x53e08b(0x3db)]['transformMutation'](_0x186404,_0x4a5093,!0x1);if(_0x2af364[_0x53e08b(0x239)](_0x44bee2))throw _0x44bee2[_0x53e08b(0x389)];if(_0x2af364[_0x53e08b(0x239)](_0x499aaa))throw _0x499aaa[_0x53e08b(0x389)];_0x2085be[_0x53e08b(0x1c4)](_0x44bee2[_0x53e08b(0x3e6)][_0x53e08b(0x2b6)]),_0x41791c[_0x53e08b(0x1c4)](_0x499aaa[_0x53e08b(0x3e6)][_0x53e08b(0x2b6)]),_0x1b67d7=_0x44bee2[_0x53e08b(0x1e9)],_0x186404=_0x499aaa[_0x53e08b(0x1e9)];}_0x276bbf[_0x53e08b(0x3fc)]({'undoCache':_0x2085be,'redoCache':_0x41791c});}[_0x375cdd(0x398)](_0x2d5abc){const _0xb63750=_0x375cdd,{unitID:_0x3c9f97}=_0x2d5abc,_0x369daa=this['_renderManagerService'][_0xb63750(0x3ad)](_0x3c9f97)[_0xb63750(0x1a2)](_0x4d94eb[_0xb63750(0x1f8)]),_0x27cf63=_0x369daa[_0xb63750(0x410)]();if(_0x27cf63==null)return;const _0x4b37d2=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2d5abc[_0xb63750(0x1f3)],'actions':null,'textRanges':[_0x27cf63]}}],_0x43eba3=this[_0xb63750(0x3db)][_0xb63750(0x291)](_0x2d5abc,_0x4b37d2);if(!_0x2af364['isTransformMutationsWithChangesetSuccess'](_0x43eba3))throw _0x43eba3['error'];const _0x3b3724=_0x43eba3[_0xb63750(0x3e6)][0x0][_0xb63750(0x2b6)][_0xb63750(0x1e6)];Array[_0xb63750(0x3eb)](_0x3b3724)&&_0x3b3724[_0xb63750(0x3ef)]&&_0x369daa[_0xb63750(0x24a)](_0x3b3724[0x0]);}};_0x315d9a=_0x16cd55([_0x5a1bc0(0x0,_0x2af364['ITransformService']),_0x5a1bc0(0x1,_0x191500[_0x375cdd(0x407)])],_0x315d9a);var _0x652c95=Object[_0x375cdd(0x37a)],_0x3142ad=(_0x544fea,_0x340d24,_0x57ac94,_0x2541dd)=>{for(var _0x331503=_0x2541dd>0x1?void 0x0:_0x2541dd?_0x652c95(_0x340d24,_0x57ac94):_0x340d24,_0x2e9a51=_0x544fea['length']-0x1,_0x529420;_0x2e9a51>=0x0;_0x2e9a51--)(_0x529420=_0x544fea[_0x2e9a51])&&(_0x331503=_0x529420(_0x331503)||_0x331503);return _0x331503;},_0x3cab05=(_0x30fd07,_0x4f4919)=>(_0x3fb225,_0x22e03c)=>_0x4f4919(_0x3fb225,_0x22e03c,_0x30fd07);let _0x5434c5=class{constructor(_0x5ce908,_0x3bb36f,_0x3a3b83){const _0x356ffc=_0x375cdd;this[_0x356ffc(0x2e5)]=_0x5ce908,this[_0x356ffc(0x3db)]=_0x3bb36f,this[_0x356ffc(0x3d2)]=_0x3a3b83;}[_0x375cdd(0x1a6)](_0x2aec9a){const _0x4942b3=_0x375cdd;this[_0x4942b3(0x1d3)](_0x2aec9a);}[_0x375cdd(0x3cb)](_0x2f7fed){const _0x316c8d=_0x375cdd,{unitID:_0x1815ff}=_0x2f7fed,{collaboration:_0x39c5ca}=this[_0x316c8d(0x3d2)]['getStateCache'](_0x1815ff);if(_0x39c5ca[_0x316c8d(0x3ef)]===0x0)return _0x2f7fed;let _0x3f6fd1=_0x158180[_0x316c8d(0x1b4)]['deepClone'](_0x2f7fed[_0x316c8d(0x2d5)][0x0]);for(let _0x87f83d=0x0;_0x87f83d<_0x39c5ca[_0x316c8d(0x3ef)];_0x87f83d++){const _0x3b5fd2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x39c5ca[_0x87f83d]['unitId'],..._0x39c5ca[_0x87f83d][_0x316c8d(0x20a)]}},_0x26b25a=this[_0x316c8d(0x3db)][_0x316c8d(0x34a)](_0x3f6fd1,_0x3b5fd2,!0x1);if(_0x2af364[_0x316c8d(0x239)](_0x26b25a))throw _0x26b25a[_0x316c8d(0x389)];_0x3f6fd1=_0x26b25a[_0x316c8d(0x1e9)];}return{..._0x158180[_0x316c8d(0x1b4)][_0x316c8d(0x1a9)](_0x2f7fed),'mutations':[_0x3f6fd1]};}[_0x375cdd(0x1d3)](_0x3da7a8){const _0x4e3532=_0x375cdd,{unitID:_0x32fb43}=_0x3da7a8,{history:_0xca01a1,collaboration:_0x4158b7}=this[_0x4e3532(0x3d2)][_0x4e3532(0x356)](_0x32fb43);if(_0xca01a1[_0x4e3532(0x3ef)]===0x0&&_0x4158b7[_0x4e3532(0x3ef)]===0x0)return;const _0x224a60=[],_0x5e3525=[];let _0x120462=_0x158180[_0x4e3532(0x1b4)][_0x4e3532(0x1a9)](_0x3da7a8[_0x4e3532(0x2d5)][0x0]),_0x55b2e5=_0x158180[_0x4e3532(0x1b4)][_0x4e3532(0x1a9)](_0x3da7a8[_0x4e3532(0x2d5)][0x0]);for(let _0x47eb8f=_0xca01a1['length']-0x1;_0x47eb8f>=0x0;_0x47eb8f--){const _0x44ade6={'id':_0x4e3532(0x272),'params':{'unitId':_0xca01a1[_0x47eb8f][_0x4e3532(0x3f4)],..._0xca01a1[_0x47eb8f][_0x4e3532(0x190)]}},_0x155913={'id':_0x4e3532(0x272),'params':{'unitId':_0xca01a1[_0x47eb8f][_0x4e3532(0x3f4)],..._0xca01a1[_0x47eb8f][_0x4e3532(0x20a)]}},_0x5f3ee6=this[_0x4e3532(0x3db)]['transformMutation'](_0x120462,_0x44ade6,!0x1),_0x2e5925=this[_0x4e3532(0x3db)][_0x4e3532(0x34a)](_0x55b2e5,_0x155913,!0x1);if(_0x2af364['isTransformMutationFailure'](_0x5f3ee6))throw _0x5f3ee6[_0x4e3532(0x389)];if(_0x2af364[_0x4e3532(0x239)](_0x2e5925))throw _0x2e5925[_0x4e3532(0x389)];_0x224a60['unshift']({..._0xca01a1[_0x47eb8f],'undoState':_0x5f3ee6[_0x4e3532(0x3e6)]['params'],'redoState':_0x2e5925[_0x4e3532(0x3e6)][_0x4e3532(0x2b6)]}),_0x120462=_0x5f3ee6[_0x4e3532(0x1e9)],_0x55b2e5=_0x2e5925[_0x4e3532(0x1e9)];}_0x120462=_0x158180[_0x4e3532(0x1b4)][_0x4e3532(0x1a9)](_0x3da7a8[_0x4e3532(0x2d5)][0x0]),_0x55b2e5=_0x158180[_0x4e3532(0x1b4)][_0x4e3532(0x1a9)](_0x3da7a8[_0x4e3532(0x2d5)][0x0]);for(let _0x49bc85=_0x4158b7[_0x4e3532(0x3ef)]-0x1;_0x49bc85>=0x0;_0x49bc85--){const _0x408d72={'id':_0x4e3532(0x272),'params':{'unitId':_0x4158b7[_0x49bc85][_0x4e3532(0x3f4)],..._0x4158b7[_0x49bc85][_0x4e3532(0x190)]}},_0x376d65={'id':_0x4e3532(0x272),'params':{'unitId':_0x4158b7[_0x49bc85][_0x4e3532(0x3f4)],..._0x4158b7[_0x49bc85][_0x4e3532(0x20a)]}},_0x11d494=this[_0x4e3532(0x3db)]['transformMutation'](_0x120462,_0x408d72,!0x1),_0x1092ef=this[_0x4e3532(0x3db)][_0x4e3532(0x34a)](_0x55b2e5,_0x376d65,!0x1);if(_0x2af364[_0x4e3532(0x239)](_0x11d494))throw _0x11d494[_0x4e3532(0x389)];if(_0x2af364['isTransformMutationFailure'](_0x1092ef))throw _0x1092ef[_0x4e3532(0x389)];_0x5e3525[_0x4e3532(0x1c4)]({..._0x4158b7[_0x49bc85],'undoState':_0x11d494[_0x4e3532(0x3e6)]['params'],'redoState':_0x1092ef['m2Prime'][_0x4e3532(0x2b6)]}),_0x120462=_0x11d494[_0x4e3532(0x1e9)],_0x55b2e5=_0x1092ef['m1Prime'];}this[_0x4e3532(0x3d2)][_0x4e3532(0x35b)](_0x32fb43,{'history':_0x224a60,'collaboration':_0x5e3525});}};_0x5434c5=_0x3142ad([_0x3cab05(0x0,_0x158180[_0x375cdd(0x293)](_0x158180[_0x375cdd(0x3c8)])),_0x3cab05(0x1,_0x2af364[_0x375cdd(0x2dd)]),_0x3cab05(0x2,_0x158180[_0x375cdd(0x293)](_0x4d94eb[_0x375cdd(0x21a)]))],_0x5434c5);var _0x76a787=Object[_0x375cdd(0x37a)],_0x15b2d2=(_0x80fb0,_0x29d0f5,_0x3310de,_0x34b6d4)=>{const _0x2719cf=_0x375cdd;for(var _0x3fa5ab=_0x34b6d4>0x1?void 0x0:_0x34b6d4?_0x76a787(_0x29d0f5,_0x3310de):_0x29d0f5,_0x3d4265=_0x80fb0[_0x2719cf(0x3ef)]-0x1,_0x16ea81;_0x3d4265>=0x0;_0x3d4265--)(_0x16ea81=_0x80fb0[_0x3d4265])&&(_0x3fa5ab=_0x16ea81(_0x3fa5ab)||_0x3fa5ab);return _0x3fa5ab;},_0x46730f=(_0x5c34c2,_0xa43efb)=>(_0x43b739,_0x3747e4)=>_0xa43efb(_0x43b739,_0x3747e4,_0x5c34c2);let _0x32826b=class{constructor(_0x12129f,_0x621d43){const _0x13582e=_0x375cdd;this[_0x13582e(0x2e5)]=_0x12129f,this[_0x13582e(0x3db)]=_0x621d43;}[_0x375cdd(0x308)](_0x3989cc){const _0x38b478=_0x375cdd;var _0x396a83;const _0x18cdbf=this[_0x38b478(0x2e5)]['get'](_0x17205f['DocSelectionManagerService']),_0x254ef1=(_0x396a83=_0x18cdbf[_0x38b478(0x424)]())!=null?_0x396a83:[];if(_0x254ef1[_0x38b478(0x3ef)]===0x0)return;const _0x799c05=_0x3989cc[_0x38b478(0x1f3)],_0x22a901=[{'id':_0x38b478(0x272),'params':{'unitId':_0x799c05,'actions':null,'textRanges':_0x254ef1}}],_0x429b80=this[_0x38b478(0x3db)][_0x38b478(0x291)](_0x3989cc,_0x22a901);if(!_0x2af364['isTransformMutationsWithChangesetSuccess'](_0x429b80))throw _0x429b80['error'];const _0x54a91d=_0x429b80[_0x38b478(0x3e6)][0x0][_0x38b478(0x2b6)][_0x38b478(0x1e6)];Array[_0x38b478(0x3eb)](_0x54a91d)&&_0x54a91d[_0x38b478(0x3ef)]&&_0x18cdbf[_0x38b478(0x1ff)](_0x54a91d,{'unitId':_0x799c05,'subUnitId':_0x799c05},!0x1);}};_0x32826b=_0x15b2d2([_0x46730f(0x0,_0x158180['Inject'](_0x158180[_0x375cdd(0x3c8)])),_0x46730f(0x1,_0x2af364['ITransformService'])],_0x32826b);var _0x567f9e=Object[_0x375cdd(0x37a)],_0x1d85f2=(_0x5b80fa,_0x55a52f,_0x4a8968,_0x20777b)=>{const _0x27af75=_0x375cdd;for(var _0x2d1298=_0x20777b>0x1?void 0x0:_0x20777b?_0x567f9e(_0x55a52f,_0x4a8968):_0x55a52f,_0x358bec=_0x5b80fa[_0x27af75(0x3ef)]-0x1,_0x215cd1;_0x358bec>=0x0;_0x358bec--)(_0x215cd1=_0x5b80fa[_0x358bec])&&(_0x2d1298=_0x215cd1(_0x2d1298)||_0x2d1298);return _0x2d1298;},_0x565cd8=(_0x4ac188,_0x5db5ee)=>(_0x3ce0ad,_0x5262e5)=>_0x5db5ee(_0x3ce0ad,_0x5262e5,_0x4ac188);let _0x48a823=class extends _0x158180[_0x375cdd(0x2d9)]{constructor(_0x2f79da,_0xeb062c,_0x114c1f,_0x794e8d,_0x59149f,_0x17a2a3,_0x52eb64,_0x5e522d){const _0x55ab05=_0x375cdd;super(),_0x5a9a8a(this,'_status$',new _0x2f7dc8[(_0x55ab05(0x399))](_0x422a84[_0x55ab05(0x381)][_0x55ab05(0x2c4)])),(this[_0x55ab05(0x3d2)]=_0x2f79da,this[_0x55ab05(0x37f)]=_0xeb062c,this['_docTransformIMECacheService']=_0x114c1f,this[_0x55ab05(0x2c5)]=_0x794e8d,this[_0x55ab05(0x2e0)]=_0x59149f,this[_0x55ab05(0x2d2)]=_0x17a2a3,this[_0x55ab05(0x246)]=_0x52eb64,this['_localeService']=_0x5e522d,this['_initEntityListener']());}[_0x375cdd(0x2fa)](){const _0x53bedb=_0x375cdd;this[_0x53bedb(0x255)](this[_0x53bedb(0x37f)][_0x53bedb(0x1a1)][_0x53bedb(0x3f9)](_0x12a968=>{const _0x50a9f2=_0x53bedb,_0x2ec8a0=this[_0x50a9f2(0x3d2)][_0x50a9f2(0x2ad)][_0x50a9f2(0x3f9)](_0x16b002=>{const _0x19a0c3=_0x50a9f2;if(_0x16b002==null)return;const {unitId:_0x4d36c2,redoState:_0x581cdd,commandId:_0x4c5364}=_0x16b002;if(_0x4d36c2!==_0x12a968[_0x19a0c3(0x1f3)])return;const _0x55b7fd={'id':_0x4c5364,'type':_0x158180['CommandType'][_0x19a0c3(0x30f)],'params':{'unitId':_0x4d36c2,'actions':_0x581cdd[_0x19a0c3(0x39c)],'textRanges':null}};_0x12a968['onLocalMutation'](_0x55b7fd);});if(_0x12a968[_0x50a9f2(0x255)](_0x2ec8a0),_0x12a968 instanceof _0x422a84[_0x50a9f2(0x1d2)]){const _0x188066={'onTransformIME':_0x45d1ba=>this[_0x50a9f2(0x2f1)][_0x50a9f2(0x185)](_0x45d1ba),'onTransformState':_0xcda961=>this['_docTransformStateCacheService']['transformStateCache'](_0xcda961),'onTransformSelections':_0x58fd51=>this[_0x50a9f2(0x2e0)][_0x50a9f2(0x308)](_0x58fd51),'onSyncEditingCollabCursor':_0x6ea705=>this['_docSyncEditingCollabCursorService'][_0x50a9f2(0x408)](_0x6ea705),'onTransformRemoteChangesetByIMECache':_0x58cb30=>this[_0x50a9f2(0x2f1)][_0x50a9f2(0x3cb)](_0x58cb30),'onTransformRemoteChangesetByStateCache':_0x253076=>this[_0x50a9f2(0x2c5)]['transformRemoteChangeset'](_0x253076)};_0x12a968[_0x50a9f2(0x3a8)](_0x188066);}}));}};_0x48a823=_0x1d85f2([_0x565cd8(0x0,_0x158180[_0x375cdd(0x293)](_0x4d94eb['DocStateChangeManagerService'])),_0x565cd8(0x1,_0x158180['Inject'](_0x422a84[_0x375cdd(0x380)])),_0x565cd8(0x2,_0x158180[_0x375cdd(0x293)](_0x315d9a)),_0x565cd8(0x3,_0x158180[_0x375cdd(0x293)](_0x5434c5)),_0x565cd8(0x4,_0x158180[_0x375cdd(0x293)](_0x32826b)),_0x565cd8(0x5,_0x158180['Inject'](_0x279437)),_0x565cd8(0x6,_0x1d6c76[_0x375cdd(0x3ac)]),_0x565cd8(0x7,_0x158180[_0x375cdd(0x293)](_0x158180['LocaleService']))],_0x48a823);var _0x19dbdd=(_0x4fe23f=>(_0x4fe23f[_0x4fe23f[_0x375cdd(0x3e4)]=0x0]=_0x375cdd(0x3e4),_0x4fe23f[_0x4fe23f['OK']=0x1]='OK',_0x4fe23f[_0x4fe23f['INTERNAL_ERROR']=0x2]=_0x375cdd(0x2ef),_0x4fe23f[_0x4fe23f['PERMISSION_DENIED']=0x3]=_0x375cdd(0x348),_0x4fe23f[_0x4fe23f[_0x375cdd(0x25c)]=0x4]=_0x375cdd(0x25c),_0x4fe23f[_0x4fe23f['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x4fe23f[_0x4fe23f['ALREADY_EXISTS']=0x6]=_0x375cdd(0x3e3),_0x4fe23f[_0x4fe23f[_0x375cdd(0x26f)]=0x7]='INVALID_ARGUMENT',_0x4fe23f[_0x4fe23f['TOO_MANY_REQUESTS']=0x8]=_0x375cdd(0x2b2),_0x4fe23f[_0x4fe23f['COMPLETION_FINISHED']=0x9]=_0x375cdd(0x347),_0x4fe23f[_0x4fe23f['LOGIN_FAILED']=0xa]=_0x375cdd(0x2df),_0x4fe23f[_0x4fe23f[_0x375cdd(0x3a4)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x4fe23f[_0x4fe23f['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4fe23f[_0x4fe23f[_0x375cdd(0x3ba)]=0xd]=_0x375cdd(0x3ba),_0x4fe23f[_0x4fe23f['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x375cdd(0x3d7),_0x4fe23f[_0x4fe23f[_0x375cdd(0x262)]=0xf]=_0x375cdd(0x262),_0x4fe23f[_0x4fe23f[_0x375cdd(0x220)]=0x10]=_0x375cdd(0x220),_0x4fe23f[_0x4fe23f[_0x375cdd(0x3da)]=0x64]=_0x375cdd(0x3da),_0x4fe23f[_0x4fe23f['ERROR_AGAIN']=0x65]=_0x375cdd(0x15a),_0x4fe23f[_0x4fe23f[_0x375cdd(0x2ed)]=0xc9]=_0x375cdd(0x2ed),_0x4fe23f[_0x4fe23f[_0x375cdd(0x1b6)]=0xca]='USER_IS_ANONYMOUS',_0x4fe23f[_0x4fe23f[_0x375cdd(0x27a)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4fe23f[_0x4fe23f['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x375cdd(0x302),_0x4fe23f[_0x4fe23f[_0x375cdd(0x20e)]=0x1772]=_0x375cdd(0x20e),_0x4fe23f[_0x4fe23f['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4fe23f[_0x4fe23f[_0x375cdd(0x3f5)]=0x1b59]=_0x375cdd(0x3f5),_0x4fe23f[_0x4fe23f[_0x375cdd(0x19c)]=0x1b5a]=_0x375cdd(0x19c),_0x4fe23f[_0x4fe23f[_0x375cdd(0x307)]=0x1b5b]=_0x375cdd(0x307),_0x4fe23f[_0x4fe23f[_0x375cdd(0x2e7)]=0x1b5c]=_0x375cdd(0x2e7),_0x4fe23f[_0x4fe23f[_0x375cdd(0x19b)]=0x1b5d]=_0x375cdd(0x19b),_0x4fe23f[_0x4fe23f[_0x375cdd(0x2fc)]=0x1f41]=_0x375cdd(0x2fc),_0x4fe23f[_0x4fe23f[_0x375cdd(0x2f8)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4fe23f[_0x4fe23f[_0x375cdd(0x159)]=0x232a]=_0x375cdd(0x159),_0x4fe23f[_0x4fe23f[_0x375cdd(0x20f)]=0x232b]=_0x375cdd(0x20f),_0x4fe23f[_0x4fe23f[_0x375cdd(0x141)]=0x232c]=_0x375cdd(0x141),_0x4fe23f[_0x4fe23f[_0x375cdd(0x1bb)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x4fe23f[_0x4fe23f['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x375cdd(0x189),_0x4fe23f[_0x4fe23f['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4fe23f[_0x4fe23f[_0x375cdd(0x341)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4fe23f[_0x4fe23f[_0x375cdd(0x3d3)]=0x2714]=_0x375cdd(0x3d3),_0x4fe23f[_0x4fe23f['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x375cdd(0x1b3),_0x4fe23f[_0x4fe23f[_0x375cdd(0x39f)]=0x271b]=_0x375cdd(0x39f),_0x4fe23f[_0x4fe23f[_0x375cdd(0x144)]=0x271c]=_0x375cdd(0x144),_0x4fe23f[_0x4fe23f[_0x375cdd(0x3cf)]=0x271d]=_0x375cdd(0x3cf),_0x4fe23f[_0x4fe23f[_0x375cdd(0x383)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x4fe23f[_0x4fe23f[_0x375cdd(0x36e)]=0x271f]=_0x375cdd(0x36e),_0x4fe23f[_0x4fe23f[_0x375cdd(0x260)]=0x2720]=_0x375cdd(0x260),_0x4fe23f[_0x4fe23f[_0x375cdd(0x2f2)]=0x2af9]=_0x375cdd(0x2f2),_0x4fe23f[_0x4fe23f[_0x375cdd(0x3fe)]=0x2ee1]=_0x375cdd(0x3fe),_0x4fe23f[_0x4fe23f[_0x375cdd(0x287)]=0x2ee2]='INVALID_INVITE_CODE',_0x4fe23f[_0x4fe23f[_0x375cdd(0x405)]=0x2ee3]=_0x375cdd(0x405),_0x4fe23f[_0x4fe23f['USER_NOT_INVITED_CODE']=0x2ee4]=_0x375cdd(0x1db),_0x4fe23f[_0x4fe23f[_0x375cdd(0x3c6)]=0x2ee5]=_0x375cdd(0x3c6),_0x4fe23f[_0x4fe23f['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x375cdd(0x236),_0x4fe23f[_0x4fe23f[_0x375cdd(0x288)]=0x32ca]=_0x375cdd(0x288),_0x4fe23f[_0x4fe23f[_0x375cdd(0x3c7)]=0x32cb]=_0x375cdd(0x3c7),_0x4fe23f[_0x4fe23f[_0x375cdd(0x25f)]=0x36b1]=_0x375cdd(0x25f),_0x4fe23f[_0x4fe23f[_0x375cdd(0x3dd)]=0x36b2]=_0x375cdd(0x3dd),_0x4fe23f[_0x4fe23f[_0x375cdd(0x36c)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x4fe23f[_0x4fe23f[_0x375cdd(0x422)]=0x36b4]=_0x375cdd(0x422),_0x4fe23f[_0x4fe23f[_0x375cdd(0x25e)]=0x3715]=_0x375cdd(0x25e),_0x4fe23f[_0x4fe23f[_0x375cdd(0x3fd)]=0x3716]=_0x375cdd(0x3fd),_0x4fe23f[_0x4fe23f[_0x375cdd(0x200)]=0x3717]=_0x375cdd(0x200),_0x4fe23f[_0x4fe23f[_0x375cdd(0x167)]=0x37dd]=_0x375cdd(0x167),_0x4fe23f[_0x4fe23f[_0x375cdd(0x315)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x4fe23f[_0x4fe23f[_0x375cdd(0x170)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x4fe23f[_0x4fe23f[_0x375cdd(0x419)]=0x3a9b]=_0x375cdd(0x419),_0x4fe23f[_0x4fe23f[_0x375cdd(0x318)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x4fe23f[_0x4fe23f['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x375cdd(0x268),_0x4fe23f[_0x4fe23f[_0x375cdd(0x402)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x4fe23f[_0x4fe23f[_0x375cdd(0x1ce)]=0x3a9f]=_0x375cdd(0x1ce),_0x4fe23f[_0x4fe23f['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x375cdd(0x39a),_0x4fe23f[_0x4fe23f['UNRECOGNIZED']=-0x1]=_0x375cdd(0x30a),_0x4fe23f))(_0x19dbdd||{});function _0x47e270(_0x3f47a0){const _0x565e5b=_0x375cdd;var _0x8db953,_0xe89467;const _0x303e88=(_0x8db953=_0x3f47a0[_0x565e5b(0x273)])==null?void 0x0:_0x8db953[_0x565e5b(0x210)],_0x53333d=((_0xe89467=_0x3f47a0['stageInfo'])==null?void 0x0:_0xe89467[_0x565e5b(0x1a4)])||0x0;return _0x303e88===_0x2ec42f[_0x565e5b(0x40e)][_0x565e5b(0x3b1)]&&_0x53333d>0x0;}function _0x236a22(_0x581eab){const _0x20905e=_0x375cdd;return _0x581eab[_0x20905e(0x1b5)]===_0x2ec42f[_0x20905e(0x321)][_0x20905e(0x253)];}var _0x402a5c=Object[_0x375cdd(0x37a)],_0x3d836c=(_0x4416a5,_0x8694eb,_0xdd1aed,_0x4c452a)=>{const _0x441564=_0x375cdd;for(var _0x90ddd0=_0x4c452a>0x1?void 0x0:_0x4c452a?_0x402a5c(_0x8694eb,_0xdd1aed):_0x8694eb,_0x5eca65=_0x4416a5[_0x441564(0x3ef)]-0x1,_0x13c651;_0x5eca65>=0x0;_0x5eca65--)(_0x13c651=_0x4416a5[_0x5eca65])&&(_0x90ddd0=_0x13c651(_0x90ddd0)||_0x90ddd0);return _0x90ddd0;},_0xfd3403=(_0xb3ad91,_0x1663d2)=>(_0xb4149b,_0x305d07)=>_0x1663d2(_0xb4149b,_0x305d07,_0xb3ad91);const _0x5f30e4='/universer-api/license/formula/limit/status',_0x475278=_0x375cdd(0x21f),_0x12e9ad=_0x375cdd(0x2d6);let _0x4d482b=class extends _0x158180[_0x375cdd(0x2d9)]{constructor(_0x2e5e4d,_0x2da018,_0x443ea9,_0x1f07d6,_0x666212,_0x2d4b06,_0x2699a2){const _0x125e0f=_0x375cdd;super(),_0x5a9a8a(this,_0x125e0f(0x2d8),null),_0x5a9a8a(this,'_maxFormulaLimit',0x0),_0x5a9a8a(this,_0x125e0f(0x29d),0x0),_0x5a9a8a(this,_0x125e0f(0x284),[]),_0x5a9a8a(this,_0x125e0f(0x163),0x0),(this[_0x125e0f(0x246)]=_0x2e5e4d,this[_0x125e0f(0x1c0)]=_0x2da018,this[_0x125e0f(0x1e1)]=_0x443ea9,this['_httpService']=_0x1f07d6,this[_0x125e0f(0x3fb)]=_0x666212,this['_logService']=_0x2d4b06,this[_0x125e0f(0x3c0)]=_0x2699a2,this[_0x125e0f(0x36a)]());}[_0x375cdd(0x36a)](){const _0x24e1c7=_0x375cdd;this['disposeWithMe'](this[_0x24e1c7(0x1c0)][_0x24e1c7(0x23b)]((_0x2d2d24,_0xe4a265)=>{const _0xf0ebe2=_0x24e1c7;var _0x141892;if(_0x2d2d24['id']!==_0x2ec42f[_0xf0ebe2(0x2af)]['id'])return;const _0x23e1b4=_0x2d2d24['params'];if(!this['_hasFormulaInDirtyRanges']((_0x141892=_0x23e1b4[_0xf0ebe2(0x281)])!=null?_0x141892:[]))return;if(!this[_0xf0ebe2(0x418)]())throw this[_0xf0ebe2(0x2de)](_0x2d2d24,_0xe4a265),this[_0xf0ebe2(0x1bd)](),new _0x158180['CanceledError']();})),this['disposeWithMe'](this[_0x24e1c7(0x1c0)][_0x24e1c7(0x311)]((_0x1de017,_0x5caf63)=>{const _0x36fea3=_0x24e1c7;if(_0x1de017['id']!==_0x2ec42f[_0x36fea3(0x3cc)]['id'])return;const _0x779007=_0x1de017['params'];if(_0x47e270(_0x779007)){const _0x3311fb=_0x158180[_0x36fea3(0x2b4)]();this[_0x36fea3(0x284)][_0x36fea3(0x1cb)](_0x3311fb),this[_0x36fea3(0x3c2)](_0x3311fb);}else{if(_0x236a22(_0x779007)&&this[_0x36fea3(0x284)][_0x36fea3(0x3ef)]>0x0){const _0x239d78=this['_taskIds'][_0x36fea3(0x3bb)]();this['_releaseCalculationLimit'](_0x239d78);}}}));}[_0x375cdd(0x149)](){const _0x17bc8b=_0x375cdd;super[_0x17bc8b(0x149)](),this[_0x17bc8b(0x355)](),this[_0x17bc8b(0x284)]=[],this['_currentUsage']=0x0,this[_0x17bc8b(0x378)]=0x0,this[_0x17bc8b(0x163)]=0x0;}async[_0x375cdd(0x2de)](_0x54e26e,_0x392fc9){const _0x78de4c=_0x375cdd;for(let _0x50dfb7=0x0;_0x50dfb7<0x1e;_0x50dfb7++)try{if(await this[_0x78de4c(0x151)](),this[_0x78de4c(0x418)]()){this[_0x78de4c(0x343)](_0x54e26e,_0x392fc9),this[_0x78de4c(0x246)]['show']({'content':this[_0x78de4c(0x3c0)]['t']('formula.calculation.started'),'type':_0x41e1ef['MessageType'][_0x78de4c(0x279)]});return;}await new Promise(_0x2fe621=>{this['_pollingInterval']=window['setTimeout'](_0x2fe621,0x3e8);});}catch(_0x221c53){this[_0x78de4c(0x153)][_0x78de4c(0x389)](_0x221c53);}this[_0x78de4c(0x246)][_0x78de4c(0x415)]({'content':this[_0x78de4c(0x3c0)]['t']('formula.calculation.unable'),'type':_0x41e1ef[_0x78de4c(0x30c)][_0x78de4c(0x2da)]});}['_applyCommand'](_0x33bc59,_0x3bfa55){const _0x1c69b8=_0x375cdd;try{this[_0x1c69b8(0x1c0)]['executeCommand'](_0x33bc59['id'],_0x33bc59['params'],_0x3bfa55);}catch(_0xeae011){this[_0x1c69b8(0x153)][_0x1c69b8(0x389)](_0xeae011);}}[_0x375cdd(0x227)](_0x27c747,_0x40c010){const _0x1e6dba=_0x375cdd;_0x40c010<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x40c010,this[_0x1e6dba(0x378)]=Number[_0x1e6dba(0x2a5)](_0x27c747[_0x1e6dba(0x2a1)]),this[_0x1e6dba(0x29d)]=Number['parseInt'](_0x27c747[_0x1e6dba(0x1d8)]));}async['_startCalculationLimit'](_0xdb3d63){const _0x4a621e=_0x375cdd;var _0x2a529b,_0xc3d182;const _0x57bbdd=Date[_0x4a621e(0x2f7)]();try{const _0x1229d8=((_0x2a529b=this[_0x4a621e(0x1e1)]['getConfig'](_0x422a84[_0x4a621e(0x35d)]))==null?void 0x0:_0x2a529b[_0x4a621e(0x30b)])||_0x475278,_0x359b7c=(await this[_0x4a621e(0x2b9)][_0x4a621e(0x1c9)](_0x1229d8,{'body':JSON[_0x4a621e(0x1e2)]({'taskId':_0xdb3d63})}))[_0x4a621e(0x3c1)];if(((_0xc3d182=_0x359b7c[_0x4a621e(0x389)])==null?void 0x0:_0xc3d182[_0x4a621e(0x18e)])!==_0x19dbdd['OK'])return;this[_0x4a621e(0x227)](_0x359b7c['limitInfo'],_0x57bbdd);}catch(_0x1f3a35){this[_0x4a621e(0x153)]['error'](_0x1f3a35);}}async[_0x375cdd(0x151)](_0x482b91){const _0x53e6dd=_0x375cdd;var _0x148cbf,_0x547272;const _0x5bfbe1=Date['now']();try{const _0x5134a9=((_0x148cbf=this[_0x53e6dd(0x1e1)]['getConfig'](_0x422a84['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x148cbf[_0x53e6dd(0x30d)])||_0x5f30e4,_0xb7dda3=_0x482b91?_0x5134a9+_0x53e6dd(0x2e3)+encodeURIComponent(_0x482b91):_0x5134a9,_0x2468c2=(await this[_0x53e6dd(0x2b9)][_0x53e6dd(0x411)](_0xb7dda3))[_0x53e6dd(0x3c1)];if(((_0x547272=_0x2468c2[_0x53e6dd(0x389)])==null?void 0x0:_0x547272[_0x53e6dd(0x18e)])!==_0x19dbdd['OK'])return;this[_0x53e6dd(0x227)](_0x2468c2[_0x53e6dd(0x1a7)],_0x5bfbe1);}catch(_0x173396){this[_0x53e6dd(0x153)][_0x53e6dd(0x389)](_0x173396);}}async[_0x375cdd(0x160)](_0x402bd1){const _0x2969a7=_0x375cdd;var _0x2f7f35,_0x19b1e5;const _0x4cb61c=Date[_0x2969a7(0x2f7)]();try{const _0x383a36=((_0x2f7f35=this[_0x2969a7(0x1e1)][_0x2969a7(0x15f)](_0x422a84[_0x2969a7(0x35d)]))==null?void 0x0:_0x2f7f35[_0x2969a7(0x39d)])||_0x12e9ad,_0x4057a1=(await this['_httpService']['post'](_0x383a36,{'body':JSON[_0x2969a7(0x1e2)]({'taskId':_0x402bd1})}))[_0x2969a7(0x3c1)];if(((_0x19b1e5=_0x4057a1[_0x2969a7(0x389)])==null?void 0x0:_0x19b1e5[_0x2969a7(0x18e)])!==_0x19dbdd['OK'])return;this[_0x2969a7(0x227)](_0x4057a1[_0x2969a7(0x1a7)],_0x4cb61c);}catch(_0x1fbf32){this['_logService'][_0x2969a7(0x389)](_0x1fbf32);}}[_0x375cdd(0x418)](){const _0x245acf=_0x375cdd;return this[_0x245acf(0x378)]===0x0?!0x0:this[_0x245acf(0x378)]-this[_0x245acf(0x29d)]>0x0;}['_clearPolling'](){const _0x16cee8=_0x375cdd;this[_0x16cee8(0x2d8)]&&(clearTimeout(this['_pollingInterval']),this[_0x16cee8(0x2d8)]=null);}[_0x375cdd(0x1bd)](){const _0x1eaa1e=_0x375cdd;this['_messageService']['show']({'content':this[_0x1eaa1e(0x3c0)]['t'](_0x1eaa1e(0x29b)),'type':_0x41e1ef[_0x1eaa1e(0x30c)][_0x1eaa1e(0x2c2)]});}[_0x375cdd(0x285)](_0x5e5499){const _0x296d94=_0x375cdd;for(const _0x2f61c8 of _0x5e5499){const {unitId:_0x2f556b,sheetId:_0x202690,range:_0xa35c8d}=_0x2f61c8,_0x3a9477=this[_0x296d94(0x3fb)][_0x296d94(0x27b)](_0x2f556b);if(!_0x3a9477)continue;const _0x2de8bd=_0x3a9477[_0x296d94(0x2dc)](_0x202690);if(!_0x2de8bd)continue;const _0x23b8b6=_0x2de8bd[_0x296d94(0x2bc)]();for(let _0x52da8d=_0xa35c8d['startRow'];_0x52da8d<=_0xa35c8d['endRow'];_0x52da8d++)for(let _0x128ed9=_0xa35c8d[_0x296d94(0x172)];_0x128ed9<=_0xa35c8d[_0x296d94(0x3f1)];_0x128ed9++){const _0x3e10bc=_0x23b8b6[_0x296d94(0x269)](_0x52da8d,_0x128ed9);if(_0x3e10bc&&(_0x158180[_0x296d94(0x344)](_0x3e10bc['f'])||_0x158180[_0x296d94(0x2a0)](_0x3e10bc['si'])))return!0x0;}}return!0x1;}};_0x4d482b=_0x3d836c([_0xfd3403(0x0,_0x158180[_0x375cdd(0x293)](_0x1d6c76['IMessageService'])),_0xfd3403(0x1,_0x158180['ICommandService']),_0xfd3403(0x2,_0x158180[_0x375cdd(0x1a0)]),_0xfd3403(0x3,_0x158180[_0x375cdd(0x293)](_0xcb5e7f['HTTPService'])),_0xfd3403(0x4,_0x158180['IUniverInstanceService']),_0xfd3403(0x5,_0x158180[_0x375cdd(0x34b)]),_0xfd3403(0x6,_0x158180[_0x375cdd(0x293)](_0x158180['LocaleService']))],_0x4d482b);var _0x24dfaa=Object['getOwnPropertyDescriptor'],_0x220a6f=(_0x2af588,_0x567ea2,_0x143e57,_0x35b9d4)=>{const _0x62a89=_0x375cdd;for(var _0x308834=_0x35b9d4>0x1?void 0x0:_0x35b9d4?_0x24dfaa(_0x567ea2,_0x143e57):_0x567ea2,_0x258a05=_0x2af588[_0x62a89(0x3ef)]-0x1,_0x4813ef;_0x258a05>=0x0;_0x258a05--)(_0x4813ef=_0x2af588[_0x258a05])&&(_0x308834=_0x4813ef(_0x308834)||_0x308834);return _0x308834;},_0x4bc17f=(_0x5b6753,_0x2b1bed)=>(_0x4a9115,_0x414dce)=>_0x2b1bed(_0x4a9115,_0x414dce,_0x5b6753);let _0x215a2e=class extends _0x158180['Disposable']{constructor(_0xbae414,_0x425503,_0x2c6a31){const _0x1033b6=_0x375cdd;super(),_0x5a9a8a(this,_0x1033b6(0x251),new Map()),_0x5a9a8a(this,_0x1033b6(0x263),new Map()),_0x5a9a8a(this,_0x1033b6(0x1e0),!0x1),(this[_0x1033b6(0x1e1)]=_0xbae414,this[_0x1033b6(0x181)]=_0x425503,this[_0x1033b6(0x3bc)]=_0x2c6a31);}[_0x375cdd(0x1d6)](){const _0x2611e3=_0x375cdd;this[_0x2611e3(0x1e0)]=!0x0;}[_0x375cdd(0x161)](){const _0x1b37e7=_0x375cdd;this[_0x1b37e7(0x1e0)]=!0x1;}get[_0x375cdd(0x23d)](){const _0x4d16dc=_0x375cdd;return this[_0x4d16dc(0x263)];}[_0x375cdd(0x149)](){const _0x49c581=_0x375cdd;this[_0x49c581(0x345)]()[_0x49c581(0x1bf)](()=>super[_0x49c581(0x149)]());}async[_0x375cdd(0x177)](_0x351ff2){const _0x31d616=_0x375cdd;return this[_0x31d616(0x1e0)]?null:this[_0x31d616(0x181)]['getItem'](_0x422a84['getLocalCacheKey'](_0x351ff2));}async[_0x375cdd(0x379)](_0x4b889b,_0x30c3c3){const _0x599417=_0x375cdd;return!!this[_0x599417(0x181)][_0x599417(0x198)](_0x4b889b,_0x30c3c3);}['updateOfflineData'](_0x38326e,_0x48e094,_0x3e3c8,_0x1be081){const _0x4a50ac=_0x375cdd,_0x1110cc=this[_0x4a50ac(0x3bc)][_0x4a50ac(0x333)](_0x38326e);this['_cachedData'][_0x4a50ac(0x3d4)](_0x38326e,{'unitID':_0x38326e,'type':_0x48e094,'awaitingChangeset':_0x3e3c8,'mutations':_0x1be081,'rev':_0x1110cc}),this[_0x4a50ac(0x263)]['has'](_0x38326e)||this[_0x4a50ac(0x393)](_0x38326e);}[_0x375cdd(0x393)](_0xe8cd33){const _0x5ad8f9=_0x375cdd,_0x3669e5=this['_getSaveTimeout']();_0x3669e5===0x0?this[_0x5ad8f9(0x3b6)](_0xe8cd33):this['_saveTaskMap'][_0x5ad8f9(0x3d4)](_0xe8cd33,setTimeout(()=>this[_0x5ad8f9(0x3b6)](_0xe8cd33),_0x3669e5));}['_getSaveTimeout'](){const _0x4be9db=_0x375cdd;var _0x248e0e;return(_0x248e0e=this[_0x4be9db(0x1e1)][_0x4be9db(0x15f)](_0x422a84['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x248e0e:_0x422a84[_0x4be9db(0x361)];}['_saveCache'](_0x549682){const _0x52dd79=_0x375cdd,_0x2e9bdb=this['_saveTaskMap'][_0x52dd79(0x411)](_0x549682);return _0x2e9bdb!==void 0x0&&window[_0x52dd79(0x403)](_0x2e9bdb),this[_0x52dd79(0x181)][_0x52dd79(0x198)](_0x422a84[_0x52dd79(0x3c5)](_0x549682),this[_0x52dd79(0x251)][_0x52dd79(0x411)](_0x549682))[_0x52dd79(0x1bf)](()=>this['_saveTaskMap'][_0x52dd79(0x1b9)](_0x549682));}async[_0x375cdd(0x345)](){const _0x570e41=_0x375cdd,_0x537bf5=[];this[_0x570e41(0x263)][_0x570e41(0x3d9)]((_0x1152e6,_0x1b818c)=>{const _0x514a68=_0x570e41;window['clearTimeout'](_0x1152e6),_0x537bf5[_0x514a68(0x1cb)](this[_0x514a68(0x3b6)](_0x1b818c)[_0x514a68(0x1bf)](()=>{const _0x441a26=_0x514a68;this[_0x441a26(0x263)][_0x441a26(0x1b9)](_0x1b818c);}));}),await Promise[_0x570e41(0x14e)](_0x537bf5);}};_0x215a2e=_0x220a6f([_0x4bc17f(0x0,_0x158180['IConfigService']),_0x4bc17f(0x1,_0x158180[_0x375cdd(0x372)]),_0x4bc17f(0x2,_0x158180['Inject'](_0x2af364[_0x375cdd(0x3b7)]))],_0x215a2e);class _0x157cbf extends _0x158180[_0x375cdd(0x41b)]{constructor(){const _0x3f7497=_0x375cdd;super(),_0x5a9a8a(this,_0x3f7497(0x32b)),this[_0x3f7497(0x32b)]=_0x2f7dc8[_0x3f7497(0x28d)](window,_0x3f7497(0x316))['pipe'](_0x2f7dc8[_0x3f7497(0x334)](this[_0x3f7497(0x214)]),_0x2f7dc8[_0x3f7497(0x192)](0x1),_0x2f7dc8[_0x3f7497(0x3ff)](void 0x0));}[_0x375cdd(0x257)](_0x42f428,_0x549d45,_0x1bd87a=!0x1){const _0x49bbbb=_0x375cdd,_0x1fb9e2=new URL(window['location']['href']);_0x1fb9e2[_0x49bbbb(0x338)][_0x49bbbb(0x3d4)](_0x42f428,_0x549d45),_0x1bd87a?window['history'][_0x49bbbb(0x2ea)]('','',_0x1fb9e2[_0x49bbbb(0x298)]()):window[_0x49bbbb(0x18d)][_0x49bbbb(0x231)]('','',_0x1fb9e2[_0x49bbbb(0x298)]());}['removeParam'](_0x1203f5,_0x169261=!0x1){const _0x353738=_0x375cdd,_0x108ee5=new URL(window[_0x353738(0x376)][_0x353738(0x41f)]);_0x108ee5[_0x353738(0x338)][_0x353738(0x1b9)](_0x1203f5),_0x169261?window[_0x353738(0x18d)][_0x353738(0x2ea)]('','',_0x108ee5['toString']()):window[_0x353738(0x18d)]['pushState']('','',_0x108ee5['toString']());}[_0x375cdd(0x2ba)](_0x513419){const _0x3b8048=_0x375cdd;var _0x4a2a8b;return(_0x4a2a8b=new URL(window['location'][_0x3b8048(0x41f)])[_0x3b8048(0x338)]['get'](_0x513419))!=null?_0x4a2a8b:void 0x0;}}var _0x222e7b=Object[_0x375cdd(0x351)],_0x143958=Object[_0x375cdd(0x37a)],_0x3f7a0a=(_0x39410b,_0x331ca2,_0xa9227e)=>_0x331ca2 in _0x39410b?_0x222e7b(_0x39410b,_0x331ca2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa9227e}):_0x39410b[_0x331ca2]=_0xa9227e,_0x438f0d=(_0x1d7b50,_0x434f2,_0x6a9606,_0xb75bbf)=>{const _0x1289be=_0x375cdd;for(var _0x248e50=_0xb75bbf>0x1?void 0x0:_0xb75bbf?_0x143958(_0x434f2,_0x6a9606):_0x434f2,_0x502262=_0x1d7b50[_0x1289be(0x3ef)]-0x1,_0x4a0d35;_0x502262>=0x0;_0x502262--)(_0x4a0d35=_0x1d7b50[_0x502262])&&(_0x248e50=_0x4a0d35(_0x248e50)||_0x248e50);return _0x248e50;},_0x48aefd=(_0x57caf2,_0x245d43)=>(_0x22cdcb,_0x42d7a1)=>_0x245d43(_0x22cdcb,_0x42d7a1,_0x57caf2),_0x287cc8=(_0x32820d,_0x56423d,_0x1ad79b)=>_0x3f7a0a(_0x32820d,_0x56423d+'',_0x1ad79b);const _0x43ee24=_0x375cdd(0x3f7);_0x48baf1[_0x375cdd(0x352)]=class extends _0x158180[_0x375cdd(0x22c)]{constructor(_0x574590=_0x447a95,_0x134e7f,_0x1a8613,_0x5540ab){const _0x1f6774=_0x375cdd;super(),this['_config']=_0x574590,this[_0x1f6774(0x3b4)]=_0x134e7f,this[_0x1f6774(0x2e5)]=_0x1a8613,this[_0x1f6774(0x1e1)]=_0x5540ab;const {..._0x2319f9}=_0x158180[_0x1f6774(0x300)]({},_0x447a95,this[_0x1f6774(0x1ed)]);this[_0x1f6774(0x1e1)][_0x1f6774(0x1e8)](_0x51e52e,_0x2319f9);}[_0x375cdd(0x22f)](){const _0xcf2486=_0x375cdd;this[_0xcf2486(0x148)](),this[_0xcf2486(0x390)]();}[_0x375cdd(0x28b)](){const _0x3b8ac5=_0x375cdd;this[_0x3b8ac5(0x32e)]();}[_0x375cdd(0x148)](){const _0x20b38f=_0x375cdd;var _0x33dfb8;const _0x48197c=[[_0x4f84ef],[_0x4d482b],[_0x32826b],[_0x315d9a],[_0x5434c5],[_0x279437],[_0xa2b67a,{'useClass':_0x157cbf}],[_0xcb5e7f[_0x20b38f(0x27f)],{'useClass':_0xcb5e7f[_0x20b38f(0x2d4)]}],[_0x422a84[_0x20b38f(0x230)],{'useClass':_0x215a2e}],[_0x48baf1[_0x20b38f(0x173)]],[_0x48a823],[_0x42ab39],[_0x112360],[_0x302e4a],[_0x48baf1[_0x20b38f(0x26b)]]];this[_0x20b38f(0x1ed)]['enableFrontendLog']&&_0x48197c[_0x20b38f(0x1cb)]([_0x1d931b]),_0x158180[_0x20b38f(0x3a9)](this['_injector'],_0x158180[_0x20b38f(0x301)](_0x48197c,(_0x33dfb8=this[_0x20b38f(0x1ed)])==null?void 0x0:_0x33dfb8[_0x20b38f(0x235)]));}['_registerRenderDependencies'](){const _0x2a3af0=_0x375cdd;this[_0x2a3af0(0x255)](this[_0x2a3af0(0x3b4)]['registerRenderModule'](_0x158180[_0x2a3af0(0x327)]['UNIVER_DOC'],[_0x3235e9])),this['disposeWithMe'](this[_0x2a3af0(0x3b4)][_0x2a3af0(0x1a8)](_0x158180[_0x2a3af0(0x327)]['UNIVER_SHEET'],[_0x1f6ced]));}['_initDependencies'](){const _0x51b840=_0x375cdd;_0x158180['touchDependencies'](this[_0x51b840(0x2e5)],[[_0x112360],[_0x48baf1[_0x51b840(0x173)]],[_0x48a823],[_0x42ab39],[_0x48baf1['CollaborationDataLoaderController']],[_0x4d482b]]),this[_0x51b840(0x1ed)][_0x51b840(0x342)]&&_0x158180[_0x51b840(0x295)](this['_injector'],[[_0x1d931b]]);}},_0x287cc8(_0x48baf1[_0x375cdd(0x352)],_0x375cdd(0x2eb),_0x43ee24),_0x48baf1[_0x375cdd(0x352)]=_0x438f0d([_0x158180[_0x375cdd(0x23e)](_0x422a84[_0x375cdd(0x158)]),_0x48aefd(0x1,_0x191500[_0x375cdd(0x407)]),_0x48aefd(0x2,_0x158180[_0x375cdd(0x293)](_0x158180[_0x375cdd(0x3c8)])),_0x48aefd(0x3,_0x158180[_0x375cdd(0x1a0)])],_0x48baf1['UniverCollaborationClientUIPlugin']);var _0x3c47b9=Object['getOwnPropertyDescriptor'],_0x1712c5=(_0x568a6b,_0x59f177,_0x429554,_0x20b2d1)=>{const _0x13a56d=_0x375cdd;for(var _0x31e238=_0x20b2d1>0x1?void 0x0:_0x20b2d1?_0x3c47b9(_0x59f177,_0x429554):_0x59f177,_0x28f3ae=_0x568a6b[_0x13a56d(0x3ef)]-0x1,_0x4bdbb4;_0x28f3ae>=0x0;_0x28f3ae--)(_0x4bdbb4=_0x568a6b[_0x28f3ae])&&(_0x31e238=_0x4bdbb4(_0x31e238)||_0x31e238);return _0x31e238;},_0x209fa2=(_0x456ff1,_0x313737)=>(_0x1d2989,_0x1905b2)=>_0x313737(_0x1d2989,_0x1905b2,_0x456ff1);_0x48baf1[_0x375cdd(0x2f4)]=class extends _0x422a84[_0x375cdd(0x22e)]{constructor(_0x5322fb,_0x15abca,_0x275131,_0x312d7a,_0x3940d9){super(_0x5322fb,_0x15abca,_0x275131,_0x312d7a,_0x3940d9);}async[_0x375cdd(0x42a)](_0x4bb640){const _0x335197=_0x375cdd,_0x29b8d4=await this[_0x335197(0x20b)](),_0xee5e4f=this[_0x335197(0x19a)](_0x4bb640,_0x29b8d4);return this[_0x335197(0x2a6)](_0xee5e4f);}[_0x375cdd(0x19a)](_0x29de24,_0x190295){const _0x1a7f86=_0x375cdd,_0x365817=typeof window>'u'?new URL(_0x29de24):new URL(_0x29de24,window[_0x1a7f86(0x376)][_0x1a7f86(0x368)]);_0x365817[_0x1a7f86(0x338)][_0x1a7f86(0x3d4)]('sessionTicket',_0x190295);const _0x1f8523=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1a7f86(0x376)][_0x1a7f86(0x19e)]);return _0x1f8523[_0x1a7f86(0x411)](_0x1a7f86(0x37e))&&_0x365817['searchParams']['set'](_0x1a7f86(0x37e),_0x1f8523[_0x1a7f86(0x411)]('runId')),_0x365817[_0x1a7f86(0x298)]();}async['_getSessionTicket'](){const _0x71daf5=_0x375cdd;var _0x36f304,_0x599eac,_0x226635;const _0x56bcab=this[_0x71daf5(0x1e1)][_0x71daf5(0x15f)](_0x422a84[_0x71daf5(0x35d)]),_0x36dd26=(_0x36f304=_0x56bcab==null?void 0x0:_0x56bcab[_0x71daf5(0x36b)])!=null?_0x36f304:_0x422a84[_0x71daf5(0x385)];return(_0x226635=(_0x599eac=(await this[_0x71daf5(0x2b9)]['get'](_0x36dd26,{'headers':{'Content-Type':_0x71daf5(0x384)}}))[_0x71daf5(0x3c1)])==null?void 0x0:_0x599eac[_0x71daf5(0x1fa)])!=null?_0x226635:'';}},_0x48baf1[_0x375cdd(0x2f4)]=_0x1712c5([_0x209fa2(0x0,_0x158180['Inject'](_0x158180[_0x375cdd(0x3c8)])),_0x209fa2(0x1,_0x158180[_0x375cdd(0x293)](_0xcb5e7f[_0x375cdd(0x155)])),_0x209fa2(0x2,_0x158180[_0x375cdd(0x1a0)]),_0x209fa2(0x3,_0x158180[_0x375cdd(0x34b)]),_0x209fa2(0x4,_0x2af364[_0x375cdd(0x40d)])],_0x48baf1[_0x375cdd(0x2f4)]);var _0xaaa787=Object[_0x375cdd(0x37a)],_0xf0dfb3=(_0x3fc953,_0x4078c2,_0x4fc363,_0x6bdc64)=>{const _0x5c8f53=_0x375cdd;for(var _0x7b2aac=_0x6bdc64>0x1?void 0x0:_0x6bdc64?_0xaaa787(_0x4078c2,_0x4fc363):_0x4078c2,_0x3e32de=_0x3fc953[_0x5c8f53(0x3ef)]-0x1,_0x564c2a;_0x3e32de>=0x0;_0x3e32de--)(_0x564c2a=_0x3fc953[_0x3e32de])&&(_0x7b2aac=_0x564c2a(_0x7b2aac)||_0x7b2aac);return _0x7b2aac;},_0x2ba335=(_0x5ee460,_0x41a908)=>(_0x555193,_0x3b2f4f)=>_0x41a908(_0x555193,_0x3b2f4f,_0x5ee460);_0x48baf1[_0x375cdd(0x1e7)]=class extends _0x158180[_0x375cdd(0x2d9)]{constructor(_0x586a73,_0x1541ce,_0x20ec9f){const _0xd8f206=_0x375cdd;super(),this['_instanceService']=_0x586a73,this[_0xd8f206(0x2b9)]=_0x1541ce,this[_0xd8f206(0x1e1)]=_0x20ec9f;}async[_0x375cdd(0x2b1)](_0x558ea1,_0x65a6a6,_0x516fb5,..._0x3c22e4){const _0xda54c8=_0x375cdd;var _0x311028,_0x3b5824,_0x177c3c,_0x6cabb7;const _0xabac75=this[_0xda54c8(0x331)][_0xda54c8(0x41c)]();if(!_0xabac75)throw new Error(_0xda54c8(0x3ca));const _0x15fa8d=((_0x311028=this[_0xda54c8(0x1e1)][_0xda54c8(0x15f)](_0x422a84[_0xda54c8(0x199)]))!=null?_0x311028:_0x422a84['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x558ea1+_0xda54c8(0x204)+_0x65a6a6,_0x197f0c=new URL(window['location'][_0xda54c8(0x41f)]),_0x3068a5={'scriptId':_0x558ea1,'runId':(_0x3b5824=_0x197f0c['searchParams'][_0xda54c8(0x411)](_0xda54c8(0x37e)))!=null?_0x3b5824:'','function':_0x65a6a6,'unitId':_0xabac75[_0xda54c8(0x3c9)](),'argsOfFunction':JSON[_0xda54c8(0x1e2)](_0x3c22e4),'invokeId':(_0x177c3c=_0x516fb5['invokeId'])!=null?_0x177c3c:'','executionId':(_0x6cabb7=_0x516fb5[_0xda54c8(0x2d0)])!=null?_0x6cabb7:''};try{const _0x5a875e=await this[_0xda54c8(0x2b9)][_0xda54c8(0x1c9)](_0x15fa8d,{'body':_0x3068a5});return _0x5a875e[_0xda54c8(0x3c1)]['error']&&_0x5a875e[_0xda54c8(0x3c1)][_0xda54c8(0x389)][_0xda54c8(0x18e)]!==_0x19dbdd['OK']?_0xda54c8(0x38a):_0x5a875e[_0xda54c8(0x3c1)][_0xda54c8(0x374)];}catch{return _0xda54c8(0x38a);}}},_0x48baf1['RemoteUniscriptService']=_0xf0dfb3([_0x2ba335(0x0,_0x158180['IUniverInstanceService']),_0x2ba335(0x1,_0x158180['Inject'](_0xcb5e7f[_0x375cdd(0x155)])),_0x2ba335(0x2,_0x158180[_0x375cdd(0x1a0)])],_0x48baf1[_0x375cdd(0x1e7)]);const _0x2594d5=0x7530,_0x1f9c0a='ACTIVE_UNIT_EVENT_CHANNEL';class _0x4c70e0 extends _0x158180[_0x375cdd(0x2d9)]{constructor(){const _0xe4bd08=_0x375cdd;super(),_0x5a9a8a(this,_0xe4bd08(0x34d),_0x158180[_0xe4bd08(0x2b4)]()),_0x5a9a8a(this,_0xe4bd08(0x387),new Set()),_0x5a9a8a(this,_0xe4bd08(0x34f),new Map()),_0x5a9a8a(this,_0xe4bd08(0x2be),null),_0x5a9a8a(this,_0xe4bd08(0x388),new Map()),_0x5a9a8a(this,_0xe4bd08(0x314),new Map()),this['_init']();}[_0x375cdd(0x149)](){const _0x3d208f=_0x375cdd;super[_0x3d208f(0x149)](),this[_0x3d208f(0x388)][_0x3d208f(0x3d9)]((_0x3b4367,_0x31749e)=>this['_removeClearOtherTimer'](_0x31749e)),this[_0x3d208f(0x2be)]&&window[_0x3d208f(0x280)](this[_0x3d208f(0x2be)]);}['getUnitStatus$'](_0x5699c6){const _0x18e80d=_0x375cdd;return this[_0x18e80d(0x274)](_0x5699c6)[_0x18e80d(0x21d)](_0x2f7dc8['distinctUntilChanged']());}[_0x375cdd(0x400)](_0x22a059){const _0x374cd6=_0x375cdd;this[_0x374cd6(0x387)][_0x374cd6(0x412)]===0x0&&this[_0x374cd6(0x217)](),this['_selfUnitIDs'][_0x374cd6(0x1c8)](_0x22a059),this[_0x374cd6(0x39e)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x22a059],'isForwarded':!0x1});}['disposeUnit'](_0x4c6848){const _0x5b1fa2=_0x375cdd;this[_0x5b1fa2(0x387)]['delete'](_0x4c6848),this['_selfUnitIDs'][_0x5b1fa2(0x412)]===0x0&&this[_0x5b1fa2(0x2be)]&&window[_0x5b1fa2(0x280)](this[_0x5b1fa2(0x2be)]);}['_init'](){const _0x140099=_0x375cdd;this[_0x140099(0x255)](_0x158180[_0x140099(0x267)](_0x2f7dc8[_0x140099(0x28d)](window,_0x140099(0x22b))['subscribe'](_0x57c76b=>{const _0x42c4de=_0x140099;if(_0x57c76b[_0x42c4de(0x237)]!==_0x1f9c0a||!_0x57c76b[_0x42c4de(0x371)])return;const _0xf30d62=JSON[_0x42c4de(0x1cc)](_0x57c76b[_0x42c4de(0x371)]);this[_0x42c4de(0x360)](_0xf30d62);}))),window[_0x140099(0x146)](_0x140099(0x16f),()=>this[_0x140099(0x39e)]({'type':0x1,'memberID':this[_0x140099(0x34d)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x375cdd(0x360)](_0xb9075){const _0x53f8c2=_0x375cdd;switch(_0xb9075[_0x53f8c2(0x34c)]){case 0x0:this[_0x53f8c2(0x2f3)](_0xb9075);break;case 0x1:this[_0x53f8c2(0x373)](_0xb9075);break;case 0x2:this[_0x53f8c2(0x1c7)](_0xb9075);break;}}[_0x375cdd(0x2f3)](_0x562ccd){const _0xc3fda4=_0x375cdd,{unitIDs:_0x59a8f5,memberID:_0x4c8364,isForwarded:_0x5c3ba6}=_0x562ccd;_0x59a8f5[_0xc3fda4(0x3d9)](_0x4a17ca=>{const _0x5d5f15=_0xc3fda4;if(!_0x5c3ba6&&this['_unitOnClients'][_0x5d5f15(0x2c1)](_0x4a17ca)&&this[_0x5d5f15(0x274)](_0x4a17ca)[_0x5d5f15(0x157)](_0x422a84[_0x5d5f15(0x2ca)][_0x5d5f15(0x3a3)]),!this[_0x5d5f15(0x34f)][_0x5d5f15(0x2c1)](_0x4a17ca)||!this[_0x5d5f15(0x34f)]['get'](_0x4a17ca)[_0x5d5f15(0x2c1)](_0x4c8364)){const _0xcc2ff6=this[_0x5d5f15(0x34f)][_0x5d5f15(0x411)](_0x4a17ca)||new Set();_0xcc2ff6[_0x5d5f15(0x1c8)](_0x4c8364),this[_0x5d5f15(0x34f)][_0x5d5f15(0x3d4)](_0x4a17ca,_0xcc2ff6),this[_0x5d5f15(0x2a9)](_0x4c8364);}}),_0x5c3ba6||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0xc3fda4(0x387)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x51e3cc){const _0x2006d8=_0x375cdd;this[_0x2006d8(0x3a5)](_0x51e3cc);const _0x320340=window[_0x2006d8(0x35c)](()=>{const _0x126f22=_0x2006d8;this[_0x126f22(0x34f)]['forEach'](_0xbe3031=>{_0xbe3031['delete'](_0x51e3cc);});},_0x2594d5*0x2);this[_0x2006d8(0x388)][_0x2006d8(0x3d4)](_0x51e3cc,_0x320340);}[_0x375cdd(0x3a5)](_0x16e4d3){const _0x4f7a61=_0x375cdd;if(this['_clearOtherTimers'][_0x4f7a61(0x2c1)](_0x16e4d3)){const _0x31efa5=this['_clearOtherTimers'][_0x4f7a61(0x411)](_0x16e4d3);_0x31efa5&&window['clearTimeout'](_0x31efa5),this[_0x4f7a61(0x388)]['set'](_0x16e4d3,null);}}[_0x375cdd(0x373)](_0x1f7498){const _0x4e1ab8=_0x375cdd,{memberID:_0x4cf1c2,unitIDs:_0x3e696b}=_0x1f7498;_0x3e696b[_0x4e1ab8(0x3d9)](_0xb30e3b=>{const _0x1270cd=_0x4e1ab8;var _0x4c1064;const _0x5703ac=this[_0x1270cd(0x34f)][_0x1270cd(0x411)](_0xb30e3b);_0x5703ac&&(_0x5703ac[_0x1270cd(0x1b9)](_0x4cf1c2),(_0x4c1064=this['_ensureSubject'](_0xb30e3b))==null||_0x4c1064[_0x1270cd(0x157)](_0x5703ac[_0x1270cd(0x412)]===0x0?_0x422a84[_0x1270cd(0x2ca)][_0x1270cd(0x26e)]:_0x422a84[_0x1270cd(0x2ca)][_0x1270cd(0x3a3)]));}),this['_removeClearOtherTimer'](_0x4cf1c2);}[_0x375cdd(0x1c7)](_0x172f44){const _0xf6d962=_0x375cdd;this[_0xf6d962(0x2a9)](_0x172f44[_0xf6d962(0x304)]);}[_0x375cdd(0x39e)](_0x5e76c5){const _0x8a4608=_0x375cdd;localStorage['setItem'](_0x1f9c0a,JSON[_0x8a4608(0x1e2)](_0x5e76c5));}['_scheduleHeartbeat'](){const _0x497a74=_0x375cdd;this[_0x497a74(0x2be)]=window[_0x497a74(0x23c)](()=>{const _0x3be4d9=_0x497a74;this[_0x3be4d9(0x39e)]({'type':0x2,'memberID':this['_id']});},_0x2594d5);}['_ensureSubject'](_0x45fa47){const _0x4870c8=_0x375cdd;return this['_unitStatus'][_0x4870c8(0x2c1)](_0x45fa47)||this[_0x4870c8(0x314)][_0x4870c8(0x3d4)](_0x45fa47,new _0x2f7dc8['BehaviorSubject'](_0x422a84[_0x4870c8(0x2ca)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x4870c8(0x314)]['get'](_0x45fa47);}}_0x48baf1['IURLService']=_0xa2b67a,_0x48baf1['SheetCollabCursorShape']=_0x47bfd3,_0x48baf1['WebBrowserSingleActiveUnitService']=_0x4c70e0,_0x48baf1[_0x375cdd(0x33a)]=_0x157cbf,Object[_0x375cdd(0x351)](_0x48baf1,Symbol[_0x375cdd(0x329)],{'value':_0x375cdd(0x1e3)});}));
1
+ (function(_0x43998d,_0x3c5ccd){const _0x186334=_0x3b56,_0x1202c5=_0x43998d();while(!![]){try{const _0x247f63=parseInt(_0x186334(0x1a1))/0x1*(-parseInt(_0x186334(0x414))/0x2)+-parseInt(_0x186334(0x1e7))/0x3+-parseInt(_0x186334(0x35f))/0x4+parseInt(_0x186334(0x375))/0x5+parseInt(_0x186334(0x24f))/0x6+parseInt(_0x186334(0x381))/0x7*(parseInt(_0x186334(0x19e))/0x8)+parseInt(_0x186334(0x3ab))/0x9;if(_0x247f63===_0x3c5ccd)break;else _0x1202c5['push'](_0x1202c5['shift']());}catch(_0x399b37){_0x1202c5['push'](_0x1202c5['shift']());}}}(_0x41f7,0x373ac),function(_0x5bfb76,_0x3d7a1c){const _0x2ee755=_0x3b56;typeof exports==_0x2ee755(0x1cf)&&typeof module<'u'?_0x3d7a1c(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(['exports',_0x2ee755(0x2eb),'@univerjs-pro/collaboration-client','@univerjs/core',_0x2ee755(0x347),_0x2ee755(0x274),_0x2ee755(0x19c),_0x2ee755(0x345),_0x2ee755(0x418),'@univerjs/sheets','@univerjs/engine-render',_0x2ee755(0x430),_0x2ee755(0x317),'@univerjs/drawing',_0x2ee755(0x33a),'@univerjs/docs',_0x2ee755(0x365),_0x2ee755(0x328),'@univerjs/sheets-ui'],_0x3d7a1c):(_0x5bfb76=typeof globalThis<'u'?globalThis:_0x5bfb76||self,_0x3d7a1c(_0x5bfb76[_0x2ee755(0x241)]={},_0x5bfb76[_0x2ee755(0x268)],_0x5bfb76[_0x2ee755(0x452)],_0x5bfb76['UniverCore'],_0x5bfb76['UniverUi'],_0x5bfb76[_0x2ee755(0x274)],_0x5bfb76[_0x2ee755(0x189)],_0x5bfb76[_0x2ee755(0x268)],_0x5bfb76[_0x2ee755(0x302)],_0x5bfb76['UniverSheets'],_0x5bfb76['UniverEngineRender'],_0x5bfb76[_0x2ee755(0x298)],_0x5bfb76['UniverDocsUi'],_0x5bfb76[_0x2ee755(0x40a)],_0x5bfb76[_0x2ee755(0x212)],_0x5bfb76[_0x2ee755(0x18d)],_0x5bfb76['UniverEngineFormula'],_0x5bfb76[_0x2ee755(0x274)][_0x2ee755(0x37e)],_0x5bfb76[_0x2ee755(0x3e5)]));}(this,function(_0x2a5145,_0x3eda53,_0x51298c,_0x197d59,_0x5a190a,_0x22ea33,_0xa9b0b1,_0x221e60,_0x347808,_0x40ce40,_0x4ef8d4,_0x7b80a,_0x3b2259,_0x30f5ff,_0x249f8c,_0xa4499d,_0x1a5e73,_0x28a993,_0x1f6d72){'use strict';const _0x10d65d=_0x3b56;var _0x18539f=Object[_0x10d65d(0x41a)],_0x21ee77=(_0x520f24,_0x311a73,_0x45c843)=>_0x311a73 in _0x520f24?_0x18539f(_0x520f24,_0x311a73,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x45c843}):_0x520f24[_0x311a73]=_0x45c843,_0x3ab141=(_0x1b627c,_0x1e3049,_0x4cc27b)=>_0x21ee77(_0x1b627c,typeof _0x1e3049!='symbol'?_0x1e3049+'':_0x1e3049,_0x4cc27b);function _0x2c5009({ref:_0x2a70f2,..._0x435752}){const _0x555f7f=_0x10d65d,{icon:_0x19f730,id:_0x33f78c,className:_0x34e8fa,extend:_0x46b8ec,..._0x5be081}=_0x435752,_0x4cc4fb=(_0x555f7f(0x22a)+_0x33f78c+'\x20'+(_0x34e8fa||''))[_0x555f7f(0x3d3)](),_0x3cdea7=_0x221e60[_0x555f7f(0x3ee)]('_'+_0x173266());return _0x13b48a(_0x19f730,''+_0x33f78c,{'defIds':_0x19f730['defIds'],'idSuffix':_0x3cdea7[_0x555f7f(0x32d)]},{'ref':_0x2a70f2,'className':_0x4cc4fb,..._0x5be081},_0x46b8ec);}function _0x13b48a(_0x387cbc,_0x247f62,_0x502e30,_0x49fde5,_0x5cd2f3){const _0x1c3157=_0x10d65d;return _0x221e60[_0x1c3157(0x3a7)](_0x387cbc[_0x1c3157(0x2d8)],{'key':_0x247f62,..._0x3666fc(_0x387cbc,_0x502e30,_0x5cd2f3),..._0x49fde5},(_0x115dfb(_0x387cbc,_0x502e30)[_0x1c3157(0x3ef)]||[])[_0x1c3157(0x28f)]((_0x4008d0,_0x10665d)=>_0x13b48a(_0x4008d0,_0x247f62+'-'+_0x387cbc[_0x1c3157(0x2d8)]+'-'+_0x10665d,_0x502e30,void 0x0,_0x5cd2f3)));}function _0x3666fc(_0x46c343,_0x3e1ccc,_0x474825){const _0x4bb8f3=_0x10d65d,_0x1a95c1={..._0x46c343[_0x4bb8f3(0x1be)]};_0x474825!=null&&_0x474825[_0x4bb8f3(0x278)]&&_0x1a95c1[_0x4bb8f3(0x1f3)]===_0x4bb8f3(0x278)&&(_0x1a95c1[_0x4bb8f3(0x1f3)]=_0x474825[_0x4bb8f3(0x278)]),_0x46c343[_0x4bb8f3(0x2d8)]==='mask'&&_0x1a95c1['id']&&(_0x1a95c1['id']=_0x1a95c1['id']+_0x3e1ccc['idSuffix']),Object[_0x4bb8f3(0x1ae)](_0x1a95c1)['forEach'](([_0x23bcf6,_0x258d37])=>{const _0x328f08=_0x4bb8f3;_0x23bcf6===_0x328f08(0x276)&&typeof _0x258d37==_0x328f08(0x3f1)&&(_0x1a95c1[_0x23bcf6]=_0x258d37[_0x328f08(0x1b1)](/url\(#(.*)\)/,_0x328f08(0x20d)+_0x3e1ccc['idSuffix']+')'));});const {defIds:_0x32f71c}=_0x3e1ccc;return!_0x32f71c||_0x32f71c[_0x4bb8f3(0x344)]===0x0||(_0x46c343[_0x4bb8f3(0x2d8)]===_0x4bb8f3(0x3a3)&&_0x1a95c1[_0x4bb8f3(0x32c)]&&(_0x1a95c1[_0x4bb8f3(0x32c)]=_0x1a95c1[_0x4bb8f3(0x32c)]+_0x3e1ccc[_0x4bb8f3(0x301)]),Object[_0x4bb8f3(0x1ae)](_0x1a95c1)['forEach'](([_0x8a6e8a,_0x5054d5])=>{const _0x3212a9=_0x4bb8f3;typeof _0x5054d5==_0x3212a9(0x3f1)&&(_0x1a95c1[_0x8a6e8a]=_0x5054d5[_0x3212a9(0x1b1)](/url\(#(.*)\)/,_0x3212a9(0x20d)+_0x3e1ccc[_0x3212a9(0x301)]+')'));})),_0x1a95c1;}function _0x115dfb(_0x580708,_0x1dfb82){const _0x57c5da=_0x10d65d;var _0x227fae;const {defIds:_0x150bf}=_0x1dfb82;return!_0x150bf||_0x150bf['length']===0x0?_0x580708:_0x580708[_0x57c5da(0x2d8)]===_0x57c5da(0x275)&&((_0x227fae=_0x580708[_0x57c5da(0x3ef)])!=null&&_0x227fae[_0x57c5da(0x344)])?{..._0x580708,'children':_0x580708[_0x57c5da(0x3ef)]['map'](_0x42dd90=>typeof _0x42dd90[_0x57c5da(0x1be)]['id']==_0x57c5da(0x3f1)&&_0x150bf&&_0x150bf[_0x57c5da(0x286)](_0x42dd90['attrs']['id'])?{..._0x42dd90,'attrs':{..._0x42dd90[_0x57c5da(0x1be)],'id':_0x42dd90[_0x57c5da(0x1be)]['id']+_0x1dfb82[_0x57c5da(0x301)]}}:_0x42dd90)}:_0x580708;}function _0x173266(){const _0x355855=_0x10d65d;return Math['random']()[_0x355855(0x3cd)](0x24)[_0x355855(0x455)](0x2,0x8);}_0x2c5009['displayName']='UniverIcon';const _0x47630b={'tag':_0x10d65d(0x333),'attrs':{'xmlns':_0x10d65d(0x285),'fill':'none','viewBox':_0x10d65d(0x29b),'width':_0x10d65d(0x34e),'height':_0x10d65d(0x34e)},'children':[{'tag':'g','attrs':{'clipPath':_0x10d65d(0x17e)},'children':[{'tag':_0x10d65d(0x1df),'attrs':{'stroke':_0x10d65d(0x3e1),'d':_0x10d65d(0x1c1),'strokeLinecap':_0x10d65d(0x18b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x10d65d(0x275),'attrs':{},'children':[{'tag':_0x10d65d(0x1ca),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x10d65d(0x1df),'attrs':{'fill':_0x10d65d(0x2cf),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x10d65d(0x40c)]},_0x5eaf88=_0x221e60[_0x10d65d(0x408)](function(_0x3c4be5,_0x3ec28f){const _0x2006ba=_0x10d65d;return _0x221e60['createElement'](_0x2c5009,Object['assign']({},_0x3c4be5,{'id':_0x2006ba(0x2bf),'ref':_0x3ec28f,'icon':_0x47630b}));});_0x5eaf88[_0x10d65d(0x2ec)]=_0x10d65d(0x3c5);const _0x2db8fc={'tag':_0x10d65d(0x333),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x10d65d(0x3e7),'viewBox':_0x10d65d(0x2a2),'width':'1em','height':_0x10d65d(0x34e)},'children':[{'tag':'g','attrs':{'clipPath':_0x10d65d(0x2a4)},'children':[{'tag':_0x10d65d(0x1df),'attrs':{'stroke':_0x10d65d(0x3e1),'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':_0x10d65d(0x18b),'strokeLinejoin':_0x10d65d(0x18b),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x10d65d(0x1ca),'attrs':{'id':_0x10d65d(0x230)},'children':[{'tag':'path','attrs':{'fill':_0x10d65d(0x2cf),'d':_0x10d65d(0x324),'transform':_0x10d65d(0x27f)}}]}]}],'defIds':[_0x10d65d(0x230)]},_0x13e27b=_0x221e60[_0x10d65d(0x408)](function(_0x160e03,_0x4160fa){const _0x13811e=_0x10d65d;return _0x221e60['createElement'](_0x2c5009,Object[_0x13811e(0x180)]({},_0x160e03,{'id':_0x13811e(0x232),'ref':_0x4160fa,'icon':_0x2db8fc}));});_0x13e27b[_0x10d65d(0x2ec)]='OnLineIcon';function _0x4aa6e3(_0x310918){const _0x5c1245=_0x10d65d;switch(_0x310918){case _0x51298c[_0x5c1245(0x3aa)][_0x5c1245(0x326)]:return'collabStatus.offline';case _0x51298c[_0x5c1245(0x3aa)][_0x5c1245(0x244)]:return'collabStatus.conflict';case _0x51298c[_0x5c1245(0x3aa)][_0x5c1245(0x27b)]:return _0x5c1245(0x394);case _0x51298c['CollaborationStatus'][_0x5c1245(0x36a)]:return'collabStatus.notCollab';case _0x51298c['CollaborationStatus'][_0x5c1245(0x30d)]:case _0x51298c['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x5c1245(0x329);case _0x51298c['CollaborationStatus']['SYNCED']:case _0x51298c[_0x5c1245(0x3aa)][_0x5c1245(0x223)]:return _0x5c1245(0x2e9);}}function _0x11522d(_0x1a89b2){const _0x137806=_0x10d65d,{status$:_0x51e0fb}=_0x1a89b2,_0x3eeb8e=_0x5a190a['useObservable'](_0x51e0fb,_0x51298c[_0x137806(0x3aa)][_0x137806(0x36a)]),_0x1459d2=_0x5a190a[_0x137806(0x1c8)](_0x197d59[_0x137806(0x3b5)]),_0x3f2773=_0x5a190a[_0x137806(0x1c8)](_0x51298c[_0x137806(0x3b0)]),_0x55cabe=_0x3eeb8e!==_0x51298c[_0x137806(0x3aa)][_0x137806(0x326)],_0x2c676f=_0x1459d2['t'](_0x4aa6e3(_0x3eeb8e)),_0x1fbbc6=_0x55cabe?_0x3eda53[_0x137806(0x204)](_0x13e27b,{}):_0x3eda53[_0x137806(0x204)](_0x5eaf88,{}),_0x3b8c58=_0x221e60['useCallback'](()=>{const _0xe307c3=_0x137806;_0x55cabe||_0x3f2773[_0xe307c3(0x2b4)]();},[_0x55cabe,_0x3f2773]);function _0x4e1b43(){const _0x16e30c=_0x137806;return _0x3eda53[_0x16e30c(0x3da)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x3b8c58,'children':[_0x3eda53['jsx']('div',{'className':_0xa9b0b1['clsx'](_0x16e30c(0x438),{'univer-text-green-500':_0x55cabe,'univer-text-red-500':!_0x55cabe}),'children':_0x1fbbc6}),_0x3eda53[_0x16e30c(0x204)](_0x16e30c(0x30b),{'className':_0x16e30c(0x1d7),'children':_0x2c676f})]});}return _0x55cabe?_0x4e1b43():_0x3eda53['jsx'](_0xa9b0b1[_0x137806(0x3ad)],{'title':_0x1459d2['t'](_0x137806(0x1e3)),'children':_0x4e1b43()});}var _0x3858dc=Object[_0x10d65d(0x17f)],_0x4ec781=(_0x249ea5,_0x54be38,_0x1f7299,_0x13724d)=>{const _0x4771aa=_0x10d65d;for(var _0x3de545=_0x13724d>0x1?void 0x0:_0x13724d?_0x3858dc(_0x54be38,_0x1f7299):_0x54be38,_0x38ccb0=_0x249ea5[_0x4771aa(0x344)]-0x1,_0x2c2cae;_0x38ccb0>=0x0;_0x38ccb0--)(_0x2c2cae=_0x249ea5[_0x38ccb0])&&(_0x3de545=_0x2c2cae(_0x3de545)||_0x3de545);return _0x3de545;},_0x10f0c8=(_0xff30a9,_0x418545)=>(_0x2c8386,_0x582689)=>_0x418545(_0x2c8386,_0x582689,_0xff30a9);_0x2a5145[_0x10d65d(0x28d)]=class extends _0x197d59[_0x10d65d(0x308)]{constructor(_0x3a1080,_0x822654,_0x317a74,_0xd0cac1){const _0xd91f2=_0x10d65d;super(),_0x3ab141(this,'_status$',new _0x22ea33[(_0xd91f2(0x3e8))](_0x51298c[_0xd91f2(0x3aa)][_0xd91f2(0x36a)])),(this[_0xd91f2(0x1fb)]=_0x3a1080,this[_0xd91f2(0x3a1)]=_0x822654,this[_0xd91f2(0x1bc)]=_0x317a74,this['_uiPartsService']=_0xd0cac1,this['_initStatusComponent'](),this[_0xd91f2(0x3bc)]());}[_0x10d65d(0x3bc)](){const _0x1245c2=_0x10d65d;this[_0x1245c2(0x406)](this['_univerInstanceService'][_0x1245c2(0x44c)]['pipe'](_0x22ea33[_0x1245c2(0x3d9)](()=>{const _0x4f7d22=_0x1245c2,_0x5dd1f4=this[_0x4f7d22(0x1fb)]['getFocusedUnit']();return _0x5dd1f4?this[_0x4f7d22(0x1bc)][_0x4f7d22(0x371)](_0x5dd1f4['getUnitId']()):_0x22ea33['of'](null);}),_0x22ea33['switchMap'](_0x360431=>_0x360431?_0x360431[_0x1245c2(0x342)]:_0x22ea33['of'](_0x51298c[_0x1245c2(0x3aa)][_0x1245c2(0x36a)])))['subscribe'](_0x320025=>{const _0x4dae38=_0x1245c2;this[_0x4dae38(0x39c)][_0x4dae38(0x2a6)](_0x320025);}));}['_initStatusComponent'](){const _0x169740=_0x10d65d;this[_0x169740(0x406)](this[_0x169740(0x416)][_0x169740(0x3c0)](_0x5a190a['BuiltInUIPart'][_0x169740(0x39a)],()=>_0x5a190a[_0x169740(0x19f)](_0x5a54ca({'status$':this[_0x169740(0x39c)][_0x169740(0x318)]()}),this['_injector'])));}},_0x2a5145[_0x10d65d(0x28d)]=_0x4ec781([_0x10f0c8(0x0,_0x197d59[_0x10d65d(0x27e)]),_0x10f0c8(0x1,_0x197d59[_0x10d65d(0x1de)](_0x197d59['Injector'])),_0x10f0c8(0x2,_0x197d59['Inject'](_0x51298c[_0x10d65d(0x43d)])),_0x10f0c8(0x3,_0x5a190a[_0x10d65d(0x1a2)])],_0x2a5145[_0x10d65d(0x28d)]);function _0x5a54ca(_0x91678c){const {status$:_0x38bb4f}=_0x91678c;return function(){const _0x22100d=_0x3b56;return _0x3eda53[_0x22100d(0x204)](_0x11522d,{'status$':_0x38bb4f});};}const _0x2e52dc=_0x197d59['createIdentifier'](_0x10d65d(0x42b));var _0x19925a=Object['getOwnPropertyDescriptor'],_0x427d2d=(_0x30e896,_0x2ac079,_0x24089e,_0x42af30)=>{for(var _0xc4abfa=_0x42af30>0x1?void 0x0:_0x42af30?_0x19925a(_0x2ac079,_0x24089e):_0x2ac079,_0xb246b6=_0x30e896['length']-0x1,_0xb978f6;_0xb246b6>=0x0;_0xb246b6--)(_0xb978f6=_0x30e896[_0xb246b6])&&(_0xc4abfa=_0xb978f6(_0xc4abfa)||_0xc4abfa);return _0xc4abfa;},_0x28c559=(_0x3c305e,_0x3173d3)=>(_0x43d7d6,_0x1c6aad)=>_0x3173d3(_0x43d7d6,_0x1c6aad,_0x3c305e);_0x2a5145[_0x10d65d(0x3cb)]=class extends _0x197d59['RxDisposable']{constructor(_0x7d9e2c,_0x2b1510,_0x4386b5,_0x52cf55,_0x4a1a9d){const _0x2271cf=_0x10d65d;super(),this[_0x2271cf(0x266)]=_0x7d9e2c,this['_logService']=_0x2b1510,this[_0x2271cf(0x456)]=_0x4386b5,this[_0x2271cf(0x30e)]=_0x52cf55,_0x4a1a9d?_0x4a1a9d==null||_0x4a1a9d[_0x2271cf(0x185)]()[_0x2271cf(0x18c)](()=>this[_0x2271cf(0x36d)]()):(this[_0x2271cf(0x434)][_0x2271cf(0x362)](_0x2271cf(0x21a),_0x2271cf(0x259)),this[_0x2271cf(0x36d)]());}async[_0x10d65d(0x36d)](){const _0x5db7b0=_0x10d65d,_0x33e5f3=this[_0x5db7b0(0x266)][_0x5db7b0(0x426)](_0x5db7b0(0x39b)),_0x585a35=this['_urlService'][_0x5db7b0(0x426)](_0x5db7b0(0x44f)),_0x567ce5=this[_0x5db7b0(0x266)][_0x5db7b0(0x426)]('subunit');if(!_0x33e5f3||!_0x585a35){this[_0x5db7b0(0x434)][_0x5db7b0(0x362)](_0x5db7b0(0x21a),_0x5db7b0(0x389));return;}const _0x1368ec=await this['_dataLoaderService'][_0x5db7b0(0x263)](_0x33e5f3,Number(_0x585a35),_0x567ce5);_0x1368ec&&_0x1368ec instanceof _0x197d59[_0x5db7b0(0x358)]&&this[_0x5db7b0(0x427)](_0x1368ec);}async['_setupSubUnitSync'](_0x3d6fe2){const _0x27d282=_0x10d65d;await this[_0x27d282(0x26d)](_0x3d6fe2),_0x3d6fe2[_0x27d282(0x304)][_0x27d282(0x2be)](_0x22ea33[_0x27d282(0x41f)](this[_0x27d282(0x29c)]))['subscribe'](_0x15fd0c=>{_0x15fd0c&&this['_updateURLWithCurrentState'](_0x15fd0c);}),this['_urlService'][_0x27d282(0x3fc)][_0x27d282(0x2be)](_0x22ea33[_0x27d282(0x41f)](this[_0x27d282(0x29c)]))['subscribe'](()=>this[_0x27d282(0x26d)](_0x3d6fe2));}[_0x10d65d(0x402)](_0xddd1c8,_0x3368b6=!0x1){const _0x4cd9a7=_0x10d65d,_0x42a2f7=this['_urlService'][_0x4cd9a7(0x426)](_0x4cd9a7(0x3b9));_0xddd1c8[_0x4cd9a7(0x262)]()!==_0x42a2f7&&this[_0x4cd9a7(0x266)][_0x4cd9a7(0x42e)]('subunit',_0xddd1c8[_0x4cd9a7(0x262)](),_0x3368b6);}async['_updateSubUnitFromURLParams'](_0x37b8c2){const _0x1f5498=_0x10d65d;var _0x485b41;const _0x3768a0=this[_0x1f5498(0x266)][_0x1f5498(0x426)](_0x1f5498(0x3b9));if(!_0x3768a0||!_0x37b8c2[_0x1f5498(0x207)](_0x3768a0)){const _0x10a2a8=_0x37b8c2[_0x1f5498(0x23f)]()[0x0],_0x26065c=_0x37b8c2[_0x1f5498(0x207)](_0x10a2a8);if(!_0x26065c)return;this[_0x1f5498(0x402)](_0x26065c,!0x0),await this[_0x1f5498(0x456)]['executeCommand'](_0x40ce40['SetWorksheetActivateCommand']['id'],{'unitId':_0x37b8c2['getUnitId'](),'subUnitId':_0x10a2a8});return;}((_0x485b41=_0x37b8c2['getActiveSheet']())==null?void 0x0:_0x485b41['getSheetId']())!==_0x3768a0&&await this[_0x1f5498(0x456)]['executeCommand'](_0x40ce40[_0x1f5498(0x1a4)]['id'],{'unitId':_0x37b8c2['getUnitId'](),'subUnitId':_0x3768a0});}},_0x2a5145[_0x10d65d(0x3cb)]=_0x427d2d([_0x28c559(0x0,_0x2e52dc),_0x28c559(0x1,_0x197d59[_0x10d65d(0x439)]),_0x28c559(0x2,_0x197d59['ICommandService']),_0x28c559(0x3,_0x197d59[_0x10d65d(0x1de)](_0x51298c['DataLoaderService'])),_0x28c559(0x4,_0x197d59[_0x10d65d(0x18a)](_0x347808[_0x10d65d(0x3ea)]))],_0x2a5145[_0x10d65d(0x3cb)]);var _0x34209b=Object[_0x10d65d(0x17f)],_0x6e5dac=(_0x57c3e6,_0x3aef83,_0x381d70,_0x222dbe)=>{const _0x90003a=_0x10d65d;for(var _0x216bdd=_0x222dbe>0x1?void 0x0:_0x222dbe?_0x34209b(_0x3aef83,_0x381d70):_0x3aef83,_0x576531=_0x57c3e6[_0x90003a(0x344)]-0x1,_0x3a2bb2;_0x576531>=0x0;_0x576531--)(_0x3a2bb2=_0x57c3e6[_0x576531])&&(_0x216bdd=_0x3a2bb2(_0x216bdd)||_0x216bdd);return _0x216bdd;},_0xa5986b=(_0x3dccdb,_0x158eff)=>(_0x57db2a,_0x347dcd)=>_0x158eff(_0x57db2a,_0x347dcd,_0x3dccdb);let _0x3aba9a=class extends _0x197d59[_0x10d65d(0x410)]{constructor(_0x5e0f86,_0x1ca945){const _0x3ea78c=_0x10d65d;super(),this[_0x3ea78c(0x233)]=_0x5e0f86,this[_0x3ea78c(0x2bc)]=_0x1ca945,this[_0x3ea78c(0x36d)]();}[_0x10d65d(0x36d)](){const _0x4adb0c=_0x10d65d,_0x20bc6c=this;this[_0x4adb0c(0x406)](this[_0x4adb0c(0x233)][_0x4adb0c(0x24a)]({'onBeforePasteImage':async _0x2116fc=>{const _0x1436a6=_0x4adb0c,_0x2e1961=await _0x20bc6c[_0x1436a6(0x2bc)][_0x1436a6(0x315)](_0x2116fc);return _0x2e1961?{'source':_0x2e1961['source'],'imageSourceType':_0x2e1961[_0x1436a6(0x349)]}:null;}}));}};_0x3aba9a=_0x6e5dac([_0xa5986b(0x0,_0x3b2259['IDocClipboardService']),_0xa5986b(0x1,_0x30f5ff[_0x10d65d(0x2aa)])],_0x3aba9a);const _0x39b427=[_0x10d65d(0x3ff),_0x10d65d(0x193),_0x10d65d(0x39f),_0x10d65d(0x22f),_0x10d65d(0x295),'yellow.400'];class _0x4bb0e6 extends _0x197d59['Disposable']{constructor(){super(...arguments),_0x3ab141(this,'_assignedColors',new Map()),_0x3ab141(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x42b85d){const _0x275c89=_0x10d65d;if(this['_assignedColors'][_0x275c89(0x1da)](_0x42b85d))return this['_assignedColors']['get'](_0x42b85d);const _0x3393d8=_0x39b427[this[_0x275c89(0x3a9)]];return this['_colorIndex']=(this[_0x275c89(0x3a9)]+0x1)%_0x39b427[_0x275c89(0x344)],this['_assignedColors'][_0x275c89(0x3f2)](_0x42b85d,_0x3393d8),_0x3393d8;}}function _0x540517(_0x11bd53){const _0x28680f=_0x10d65d;let _0x541764='';for(const _0x24c95d of _0x11bd53){const {startOffset:_0xb1ce80,endOffset:_0x5f51bc,isActive:_0x58b3c1,rangeType:_0x24b41a,segmentId:_0x29511f,segmentPage:_0x4d26c0}=_0x24c95d;_0x541764[_0x28680f(0x344)]&&(_0x541764+=','),_0x541764+=_0xb1ce80+':'+_0x5f51bc+':'+(_0x58b3c1?'1':'0')+':'+_0x24b41a+':'+_0x29511f+':'+_0x4d26c0;}return _0x541764;}function _0x37f8f2(_0x114e4e){const _0x4e60ea=_0x10d65d,_0x5ad32f=_0x114e4e[_0x4e60ea(0x421)](','),_0xc6ab52=[];for(const _0x189c20 of _0x5ad32f){const [_0x300352,_0x300b7f,_0x357f2a,_0xfd7e81,_0xc52f94,_0x1b4346]=_0x189c20[_0x4e60ea(0x421)](':');_0xc6ab52[_0x4e60ea(0x1e8)]({'startOffset':Number(_0x300352),'endOffset':Number(_0x300b7f),'collapsed':_0x300352===_0x300b7f,'isActive':_0x357f2a==='1','rangeType':_0xfd7e81===_0x197d59['DOC_RANGE_TYPE'][_0x4e60ea(0x361)]?_0x197d59[_0x4e60ea(0x392)][_0x4e60ea(0x361)]:_0x197d59['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0xc52f94==_0x4e60ea(0x3f1)?String(_0xc52f94):'','segmentPage':Number(_0x1b4346!=null?_0x1b4346:-0x1)});}return _0xc6ab52[_0x4e60ea(0x3ca)](_0x106c11=>_0x106c11[_0x4e60ea(0x419)])||(_0xc6ab52[0x0][_0x4e60ea(0x419)]=!0x0),_0xc6ab52;}class _0x590b29 extends _0x197d59[_0x10d65d(0x410)]{constructor(){const _0x1d9d5e=_0x10d65d;super(...arguments),_0x3ab141(this,_0x1d9d5e(0x407),new _0x22ea33[(_0x1d9d5e(0x3e8))](null)),_0x3ab141(this,_0x1d9d5e(0x2c5),this[_0x1d9d5e(0x407)][_0x1d9d5e(0x318)]());}[_0x10d65d(0x1c5)](_0x48feac){const _0x3e53c6=_0x10d65d,{unitID:_0x80d1b,memberID:_0x445fa5,textRanges:_0x27daa8}=_0x48feac,_0x37171b=_0x540517(_0x27daa8);if(_0x37171b==='')return;const _0x3e1e87={'unitID':_0x80d1b,'memberID':_0x445fa5,'selection':_0x37171b};this[_0x3e53c6(0x407)]['next'](_0x3e1e87);}}var _0x444163=Object['getOwnPropertyDescriptor'],_0x386196=(_0x1bea64,_0x5e5aa0,_0x40c1ff,_0x1df3c2)=>{const _0x35ea89=_0x10d65d;for(var _0x31ed2e=_0x1df3c2>0x1?void 0x0:_0x1df3c2?_0x444163(_0x5e5aa0,_0x40c1ff):_0x5e5aa0,_0x26d485=_0x1bea64[_0x35ea89(0x344)]-0x1,_0x16503c;_0x26d485>=0x0;_0x26d485--)(_0x16503c=_0x1bea64[_0x26d485])&&(_0x31ed2e=_0x16503c(_0x31ed2e)||_0x31ed2e);return _0x31ed2e;},_0x11f49a=(_0x1ff1d4,_0x5a9179)=>(_0x5a0979,_0x52c888)=>_0x5a9179(_0x5a0979,_0x52c888,_0x1ff1d4);const _0x165fb8=0x12c,_0x1ba47a=0x64;let _0x5605f6=class extends _0x197d59[_0x10d65d(0x410)]{constructor(_0x55bac2,_0x533571,_0x2d333e,_0x13d1e6,_0x4cc9ba,_0x52de1b,_0x4d1026,_0xfa4a07,_0x4108e9){const _0x1a5209=_0x10d65d;super(),_0x3ab141(this,_0x1a5209(0x45a),!0x1),_0x3ab141(this,_0x1a5209(0x36d),!0x1),_0x3ab141(this,_0x1a5209(0x412),new _0x22ea33['BehaviorSubject'](new Map())),_0x3ab141(this,_0x1a5209(0x368),this[_0x1a5209(0x412)][_0x1a5209(0x318)]()),_0x3ab141(this,_0x1a5209(0x192),new _0x22ea33[(_0x1a5209(0x3e8))]([])),_0x3ab141(this,'roomMembers$',this[_0x1a5209(0x192)][_0x1a5209(0x2be)](_0x22ea33['debounceTime'](_0x165fb8))),_0x3ab141(this,_0x1a5209(0x1d8),_0x197d59[_0x1a5209(0x2c7)](_0x4e87cc=>{const _0x5a63ad=_0x1a5209,_0x2427ef={'eventID':_0x249f8c['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x5a63ad(0x370)],'memberID':this[_0x5a63ad(0x3a4)]['getMemberID'](),'selection':_0x540517(_0x4e87cc)}};this['_session'][_0x5a63ad(0x2fb)](_0x2427ef,this[_0x5a63ad(0x370)]);},_0x1ba47a)),(this[_0x1a5209(0x370)]=_0x55bac2,this[_0x1a5209(0x3a4)]=_0x533571,this[_0x1a5209(0x3a1)]=_0x2d333e,this[_0x1a5209(0x2b9)]=_0x13d1e6,this[_0x1a5209(0x45b)]=_0x4cc9ba,this[_0x1a5209(0x1d9)]=_0x52de1b,this[_0x1a5209(0x2bb)]=_0x4d1026,this[_0x1a5209(0x1fb)]=_0xfa4a07,this[_0x1a5209(0x456)]=_0x4108e9);}get[_0x10d65d(0x3fd)](){const _0x1a9bfc=_0x10d65d;return this[_0x1a9bfc(0x412)]['getValue']();}get[_0x10d65d(0x1ef)](){const _0x223e74=_0x10d65d;return this[_0x223e74(0x192)]['getValue']();}[_0x10d65d(0x195)](){const _0xba972b=_0x10d65d;super['dispose'](),this[_0xba972b(0x412)][_0xba972b(0x2a6)](new Map()),this[_0xba972b(0x412)][_0xba972b(0x219)](),this[_0xba972b(0x192)][_0xba972b(0x2a6)]([]),this[_0xba972b(0x192)]['complete']();}['init'](){const _0x4e9799=_0x10d65d;this[_0x4e9799(0x36d)]||(this[_0x4e9799(0x36d)]=!0x0,this[_0x4e9799(0x3a4)][_0x4e9799(0x3ba)][_0x4e9799(0x2be)](_0x22ea33[_0x4e9799(0x41f)](this[_0x4e9799(0x29c)]))['subscribe'](_0x53a0a0=>{const _0x49ffad=_0x4e9799;_0x53a0a0===_0x51298c[_0x49ffad(0x2ed)][_0x49ffad(0x2db)]?this[_0x49ffad(0x288)]():this['_toggleOffline']();}),this['_session'][_0x4e9799(0x24c)]['pipe'](_0x22ea33[_0x4e9799(0x41f)](this[_0x4e9799(0x29c)]))[_0x4e9799(0x38e)](_0xf69c12=>{const _0x5ba1ea=_0x4e9799,_0x344b26=_0xf69c12[_0x5ba1ea(0x352)];_0x344b26===_0x249f8c[_0x5ba1ea(0x2bd)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0xf69c12),_0x344b26===_0x249f8c[_0x5ba1ea(0x2bd)][_0x5ba1ea(0x280)]&&this['_onCursorDelete'](_0xf69c12);}),this[_0x4e9799(0x406)](this[_0x4e9799(0x456)]['onCommandExecuted'](_0x324ef3=>{const _0x230327=_0x4e9799,_0x273209=_0x324ef3['params'];_0x273209!=null&&this[_0x230327(0x45a)]&&_0x324ef3['id']===_0xa4499d[_0x230327(0x3f7)]['id']&&_0x273209[_0x230327(0x3cc)]===this[_0x230327(0x370)]&&_0x273209[_0x230327(0x3fb)]===!0x1&&_0x273209[_0x230327(0x403)][_0x230327(0x344)]>0x0&&this[_0x230327(0x1d8)](_0x273209[_0x230327(0x403)]);})),this[_0x4e9799(0x1d9)][_0x4e9799(0x2c5)][_0x4e9799(0x2be)](_0x22ea33['takeUntil'](this['dispose$']))[_0x4e9799(0x38e)](_0x50462d=>{const _0x39c14b=_0x4e9799;if((_0x50462d==null?void 0x0:_0x50462d[_0x39c14b(0x370)])!==this[_0x39c14b(0x370)])return;const _0x19b844={'eventID':_0x249f8c[_0x39c14b(0x2bd)][_0x39c14b(0x23d)],'data':_0x50462d};this['_onCursorUpdate'](_0x19b844);}),this['disposeWithMe'](this[_0x4e9799(0x456)]['onCommandExecuted'](_0x2d8a9e=>{const _0x3ad5b9=_0x4e9799;if(_0x2d8a9e[_0x3ad5b9(0x380)]==null)return;const _0x3d8b9f=_0x2d8a9e[_0x3ad5b9(0x380)];if(_0x2d8a9e['id']!==_0xa4499d[_0x3ad5b9(0x30a)]['id']||_0x3d8b9f[_0x3ad5b9(0x3cc)]!==this['unitID'])return;const _0x2436ed={'id':_0x3ad5b9(0x3e4),'params':_0x3d8b9f},_0x270950=this['cursorInfo'];for(const [_0x303d32,_0x38b1a2]of _0x270950){const _0x277f9e={'id':_0x3ad5b9(0x3e4),'params':{'unitId':this[_0x3ad5b9(0x370)],'actions':null,'textRanges':_0x38b1a2['ranges']}},_0x43ac56=this[_0x3ad5b9(0x2bb)][_0x3ad5b9(0x2c1)](_0x2436ed,_0x277f9e,!0x1);if(_0x249f8c['isTransformMutationFailure'](_0x43ac56))throw _0x43ac56[_0x3ad5b9(0x357)];_0x270950[_0x3ad5b9(0x3f2)](_0x303d32,{..._0x38b1a2,'ranges':_0x43ac56[_0x3ad5b9(0x3c9)][_0x3ad5b9(0x380)]['textRanges']});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0x270950);});})));}['_onCursorUpdate'](_0x6e6602){const _0x4083e1=_0x10d65d;var _0x488795,_0x330b14;const {memberID:_0x1da2a8,selection:_0x253f8}=_0x6e6602[_0x4083e1(0x269)],_0x3de4c2=_0x37f8f2(_0x253f8),_0x2cacdc=(_0x330b14=(_0x488795=this[_0x4083e1(0x45b)][_0x4083e1(0x420)](this[_0x4083e1(0x370)],_0x1da2a8))==null?void 0x0:_0x488795[_0x4083e1(0x31d)])!=null?_0x330b14:_0x4083e1(0x20b),_0x38eb04={'color':this['_colorAssignService'][_0x4083e1(0x2f5)](_0x1da2a8),'name':_0x2cacdc,'ranges':_0x3de4c2},_0x615ca1=this[_0x4083e1(0x3fd)];_0x615ca1[_0x4083e1(0x3f2)](_0x1da2a8,_0x38eb04),this['_cursorInfo$']['next'](_0x615ca1);}[_0x10d65d(0x2af)](_0x4fc7cb){const _0x324d5b=_0x10d65d,{memberID:_0x532cf5}=_0x4fc7cb[_0x324d5b(0x269)],_0x95a853=this['cursorInfo'];_0x95a853[_0x324d5b(0x35e)](_0x532cf5),this['_cursorInfo$']['next'](_0x95a853);}[_0x10d65d(0x288)](){const _0x55be21=_0x10d65d;var _0x5542c9;if(this['_online']=!0x0,((_0x5542c9=this[_0x55be21(0x1fb)][_0x55be21(0x3b2)]())==null?void 0x0:_0x5542c9['getUnitId']())!==this[_0x55be21(0x370)])return;const _0x268ce1=this['_injector'][_0x55be21(0x3ec)](_0xa4499d[_0x55be21(0x251)])[_0x55be21(0x43e)]();Array['isArray'](_0x268ce1)&&_0x268ce1[_0x55be21(0x344)]>0x0&&this[_0x55be21(0x1d8)](_0x268ce1);}[_0x10d65d(0x181)](){const _0x47cdcd=_0x10d65d;this[_0x47cdcd(0x45a)]=!0x1;}};_0x5605f6=_0x386196([_0x11f49a(0x2,_0x197d59[_0x10d65d(0x1de)](_0x197d59[_0x10d65d(0x270)])),_0x11f49a(0x3,_0x197d59['Inject'](_0x4bb0e6)),_0x11f49a(0x4,_0x197d59['Inject'](_0x51298c[_0x10d65d(0x2d4)])),_0x11f49a(0x5,_0x197d59[_0x10d65d(0x1de)](_0x590b29)),_0x11f49a(0x6,_0x249f8c[_0x10d65d(0x311)]),_0x11f49a(0x7,_0x197d59[_0x10d65d(0x27e)]),_0x11f49a(0x8,_0x197d59['ICommandService'])],_0x5605f6);var _0x352a56=Object[_0x10d65d(0x17f)],_0x1628be=(_0x39ad12,_0x5359c9,_0x2e2259,_0x48e7d9)=>{const _0xd0868e=_0x10d65d;for(var _0x32dad2=_0x48e7d9>0x1?void 0x0:_0x48e7d9?_0x352a56(_0x5359c9,_0x2e2259):_0x5359c9,_0x25b47b=_0x39ad12[_0xd0868e(0x344)]-0x1,_0x12eef5;_0x25b47b>=0x0;_0x25b47b--)(_0x12eef5=_0x39ad12[_0x25b47b])&&(_0x32dad2=_0x12eef5(_0x32dad2)||_0x32dad2);return _0x32dad2;},_0x32149e=(_0x3eb186,_0x229e7d)=>(_0x3a2c45,_0x138bc5)=>_0x229e7d(_0x3a2c45,_0x138bc5,_0x3eb186);const _0x17a9e0=0x12c,_0x2a83ca=0x64,_0x2d1971=()=>{let _0x21503b=[],_0x152d6b=!0x1;return _0x4a23e9=>{const _0x22ae90=_0x3b56;_0x21503b[_0x22ae90(0x1e8)](_0x4a23e9),_0x152d6b||(_0x152d6b=!0x0,setTimeout(()=>{_0x21503b['forEach'](_0x1ba998=>_0x1ba998()),_0x21503b=[],_0x152d6b=!0x1;}));};};let _0x26b776=class extends _0x197d59[_0x10d65d(0x410)]{constructor(_0x3fd26f,_0x464fc8,_0x4d03a0,_0x4db353,_0x17172e,_0x5cdfd6,_0x4e4c98,_0xcec36f){const _0x5eb440=_0x10d65d;super(),_0x3ab141(this,_0x5eb440(0x45a),!0x1),_0x3ab141(this,_0x5eb440(0x36d),!0x1),_0x3ab141(this,'_cursorInfo$',new _0x22ea33[(_0x5eb440(0x3e8))](new Map())),_0x3ab141(this,_0x5eb440(0x368),this['_cursorInfo$'][_0x5eb440(0x318)]()),_0x3ab141(this,_0x5eb440(0x192),new _0x22ea33['BehaviorSubject']([])),_0x3ab141(this,'roomMembers$',this[_0x5eb440(0x192)][_0x5eb440(0x2be)](_0x22ea33[_0x5eb440(0x3d1)](_0x17a9e0))),_0x3ab141(this,_0x5eb440(0x1d8),_0x197d59[_0x5eb440(0x2c7)]((_0x527f9e,_0x21a589)=>{const _0x59d287=_0x5eb440,_0x5ace74={'eventID':_0x249f8c[_0x59d287(0x2bd)][_0x59d287(0x23d)],'data':{'unitID':this['unitID'],'memberID':this[_0x59d287(0x3a4)][_0x59d287(0x3be)](),'selection':_0x1a5e73['serializeRangeWithSheet'](_0x527f9e,_0x21a589['range'])}};this[_0x59d287(0x3a4)][_0x59d287(0x2fb)](_0x5ace74,this['unitID']);},_0x2a83ca)),(this['unitID']=_0x3fd26f,this[_0x5eb440(0x3a4)]=_0x464fc8,this[_0x5eb440(0x3a1)]=_0x4d03a0,this[_0x5eb440(0x2b9)]=_0x4db353,this['_memberService']=_0x17172e,this['_univerInstanceService']=_0x5cdfd6,this[_0x5eb440(0x456)]=_0x4e4c98,this[_0x5eb440(0x291)]=_0xcec36f);}get[_0x10d65d(0x3fd)](){const _0x3e2002=_0x10d65d;return this['_cursorInfo$'][_0x3e2002(0x215)]();}get[_0x10d65d(0x1ef)](){const _0x5e90a8=_0x10d65d;return this['_roomMembers$'][_0x5e90a8(0x215)]();}[_0x10d65d(0x195)](){const _0x3f9ab2=_0x10d65d;super[_0x3f9ab2(0x195)](),this[_0x3f9ab2(0x412)][_0x3f9ab2(0x2a6)](new Map()),this[_0x3f9ab2(0x412)][_0x3f9ab2(0x219)](),this[_0x3f9ab2(0x192)][_0x3f9ab2(0x2a6)]([]),this[_0x3f9ab2(0x192)][_0x3f9ab2(0x219)]();}[_0x10d65d(0x374)](){const _0x3369bf=_0x10d65d;this[_0x3369bf(0x36d)]||(this[_0x3369bf(0x36d)]=!0x0,this['_session'][_0x3369bf(0x3ba)][_0x3369bf(0x2be)](_0x22ea33[_0x3369bf(0x41f)](this[_0x3369bf(0x29c)]))[_0x3369bf(0x38e)](_0x451cff=>{const _0x53e5bf=_0x3369bf;_0x451cff===_0x51298c[_0x53e5bf(0x2ed)]['ONLINE']?this['_toggleOnline']():this[_0x53e5bf(0x181)]();}),this['_session']['event$'][_0x3369bf(0x2be)](_0x22ea33[_0x3369bf(0x41f)](this[_0x3369bf(0x29c)]))[_0x3369bf(0x38e)](_0x406a5f=>{const _0x130832=_0x3369bf,_0x587914=_0x406a5f[_0x130832(0x352)];_0x587914===_0x249f8c['CollaborationEvent'][_0x130832(0x23d)]&&this[_0x130832(0x218)](_0x406a5f),_0x587914===_0x249f8c['CollaborationEvent'][_0x130832(0x280)]&&this[_0x130832(0x2af)](_0x406a5f);}),this['_onRefRangeChange'](),this['disposeWithMe'](this['_commandService'][_0x3369bf(0x1e6)](_0xdf0035=>{const _0x74b8c1=_0x3369bf;if(this[_0x74b8c1(0x45a)]&&_0xdf0035['id']===_0x40ce40[_0x74b8c1(0x260)]['id']&&_0xdf0035[_0x74b8c1(0x380)][_0x74b8c1(0x3cc)]===this[_0x74b8c1(0x370)]){const _0x28d093=_0xdf0035[_0x74b8c1(0x380)];this['_updateLocalCursor'](_0x28d093[_0x74b8c1(0x3a6)],_0x28d093[_0x74b8c1(0x2de)][0x0]);}})));}[_0x10d65d(0x218)](_0x14dcd6){const _0x180fb7=_0x10d65d;var _0x1f387c,_0x397521;const {memberID:_0x17a0a3,selection:_0x6e22bc}=_0x14dcd6[_0x180fb7(0x269)],{sheetName:_0x452bdd,range:_0x43b2f9}=_0x1a5e73[_0x180fb7(0x3b6)](_0x6e22bc),_0x58c63d={'name':(_0x397521=(_0x1f387c=this[_0x180fb7(0x45b)][_0x180fb7(0x420)](this[_0x180fb7(0x370)],_0x17a0a3))==null?void 0x0:_0x1f387c['name'])!=null?_0x397521:'Unknown\x20user','range':this['_getMergeRange'](_0x452bdd,_0x43b2f9),'sheetID':_0x452bdd,'color':this[_0x180fb7(0x2b9)][_0x180fb7(0x2f5)](_0x17a0a3),'selection':_0x6e22bc},_0x4b53a1=this[_0x180fb7(0x3fd)];_0x4b53a1[_0x180fb7(0x3f2)](_0x17a0a3,_0x58c63d),this['_cursorInfo$'][_0x180fb7(0x2a6)](_0x4b53a1);}[_0x10d65d(0x2af)](_0x1914c7){const _0x14800f=_0x10d65d,{memberID:_0x4aa75e}=_0x1914c7[_0x14800f(0x269)],_0x158484=this[_0x14800f(0x3fd)];_0x158484[_0x14800f(0x35e)](_0x4aa75e),this[_0x14800f(0x412)][_0x14800f(0x2a6)](_0x158484);}['_getMergeRange'](_0x4eecb7,_0x45b2f5){const _0x5a8414=_0x10d65d;var _0x58a402,_0x51a945;const _0x2950ea=(_0x51a945=(_0x58a402=this[_0x5a8414(0x1fb)][_0x5a8414(0x346)](this[_0x5a8414(0x370)]))==null?void 0x0:_0x58a402['getSheetBySheetId'](_0x4eecb7))==null?void 0x0:_0x51a945[_0x5a8414(0x1b7)]();return(_0x2950ea==null?void 0x0:_0x2950ea['find'](_0x54c21e=>_0x197d59[_0x5a8414(0x36c)]['contains'](_0x54c21e,_0x45b2f5)))||_0x45b2f5;}[_0x10d65d(0x2f1)](){const _0x41e88c=_0x10d65d,_0x22ac00=new _0x197d59[(_0x41e88c(0x41b))](),_0x15a1a8=_0x2d1971(),_0x31e415=()=>{const _0x3d17e7=_0x41e88c;_0x22ac00[_0x3d17e7(0x195)]();const _0x52990e=(_0x126d34,_0x36b951,_0x541f2c,_0x43308a)=>{const _0x13e1bd=_0x3d17e7;let _0x235061=[];switch(_0x126d34['id']){case _0x40ce40['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x235061=_0x40ce40['handleDeleteRangeMoveLeft'](_0x126d34,_0x43308a);break;}case _0x40ce40['EffectRefRangId'][_0x13e1bd(0x2b0)]:{_0x235061=_0x40ce40[_0x13e1bd(0x188)](_0x126d34,_0x43308a);break;}case _0x40ce40[_0x13e1bd(0x32b)][_0x13e1bd(0x231)]:{_0x235061=_0x40ce40[_0x13e1bd(0x3d2)](_0x126d34,_0x43308a);break;}case _0x40ce40[_0x13e1bd(0x32b)][_0x13e1bd(0x1ac)]:{_0x235061=_0x40ce40[_0x13e1bd(0x1f2)](_0x126d34,_0x43308a);break;}case _0x40ce40[_0x13e1bd(0x32b)][_0x13e1bd(0x209)]:{_0x235061=_0x40ce40['handleInsertRangeMoveRight'](_0x126d34,_0x43308a);break;}case _0x40ce40[_0x13e1bd(0x32b)][_0x13e1bd(0x191)]:{_0x235061=_0x40ce40[_0x13e1bd(0x2fa)](_0x126d34,_0x43308a);break;}case _0x40ce40[_0x13e1bd(0x32b)][_0x13e1bd(0x3d4)]:{_0x235061=_0x40ce40[_0x13e1bd(0x325)](_0x126d34,_0x43308a);break;}case _0x40ce40[_0x13e1bd(0x32b)][_0x13e1bd(0x1c2)]:{_0x235061=_0x40ce40[_0x13e1bd(0x18f)](_0x126d34,_0x43308a);break;}case _0x40ce40[_0x13e1bd(0x32b)][_0x13e1bd(0x228)]:{_0x235061=_0x40ce40[_0x13e1bd(0x43c)](_0x126d34,_0x43308a);break;}}const _0x4f254e=_0x40ce40[_0x13e1bd(0x45d)](_0x235061,_0x43308a),_0x32d4ba=this[_0x13e1bd(0x3fd)][_0x13e1bd(0x3ec)](_0x36b951);if(_0x32d4ba&&_0x4f254e){const _0x53481e={..._0x32d4ba,'range':_0x4f254e};this['cursorInfo']['set'](_0x36b951,_0x53481e),_0x15a1a8(()=>{const _0x3afb10=_0x13e1bd,_0x5899ba=this['_refRangeService'][_0x3afb10(0x425)](_0x4f254e,_0x2cfd80=>(_0x5899ba[_0x3afb10(0x195)](),_0x52990e(_0x2cfd80,_0x36b951,_0x541f2c,_0x4f254e)));_0x22ac00[_0x3afb10(0x2ce)](_0x5899ba);});}return{'redos':[],'undos':[]};};this[_0x3d17e7(0x3fd)][_0x3d17e7(0x206)]((_0x1b741f,_0x4caf72)=>{const _0x410d70=_0x3d17e7,{range:_0x77e59,sheetID:_0x4285a0}=_0x1b741f,_0x7c75bf=this[_0x410d70(0x291)][_0x410d70(0x425)](_0x77e59,_0x3de2e2=>(_0x7c75bf[_0x410d70(0x195)](),_0x52990e(_0x3de2e2,_0x4caf72,_0x4285a0,_0x77e59)));_0x22ac00[_0x410d70(0x2ce)](_0x7c75bf);});};this[_0x41e88c(0x406)](_0x197d59['toDisposable'](this[_0x41e88c(0x412)]['subscribe'](()=>{_0x31e415();})));}[_0x10d65d(0x288)](){const _0x256327=_0x10d65d;var _0x4adca1,_0x31070a;if(this['_online']=!0x0,((_0x4adca1=this[_0x256327(0x1fb)][_0x256327(0x3b2)]())==null?void 0x0:_0x4adca1[_0x256327(0x2ca)]())!==this['unitID'])return;const _0x478f20=(_0x31070a=this[_0x256327(0x3a1)][_0x256327(0x3ec)](_0x40ce40[_0x256327(0x1e9)])[_0x256327(0x26c)]())==null?void 0x0:_0x31070a[0x0],_0x3a502a=this[_0x256327(0x1fb)]['getCurrentUnitForType'](_0x197d59[_0x256327(0x36e)][_0x256327(0x3b8)])[_0x256327(0x1fa)]();_0x478f20&&_0x3a502a&&this[_0x256327(0x1d8)](_0x3a502a[_0x256327(0x262)](),_0x478f20);}[_0x10d65d(0x181)](){const _0x4da7a6=_0x10d65d;this[_0x4da7a6(0x45a)]=!0x1;}};_0x26b776=_0x1628be([_0x32149e(0x2,_0x197d59[_0x10d65d(0x1de)](_0x197d59['Injector'])),_0x32149e(0x3,_0x197d59[_0x10d65d(0x1de)](_0x4bb0e6)),_0x32149e(0x4,_0x197d59[_0x10d65d(0x1de)](_0x51298c[_0x10d65d(0x2d4)])),_0x32149e(0x5,_0x197d59[_0x10d65d(0x27e)]),_0x32149e(0x6,_0x197d59[_0x10d65d(0x34a)]),_0x32149e(0x7,_0x197d59[_0x10d65d(0x1de)](_0x40ce40[_0x10d65d(0x332)]))],_0x26b776);var _0x195ba8=Object[_0x10d65d(0x17f)],_0x3c36da=(_0x45eb3e,_0x3553d2,_0xf8ad81,_0x54b6dc)=>{const _0x512680=_0x10d65d;for(var _0x1304af=_0x54b6dc>0x1?void 0x0:_0x54b6dc?_0x195ba8(_0x3553d2,_0xf8ad81):_0x3553d2,_0x337faf=_0x45eb3e[_0x512680(0x344)]-0x1,_0x42034b;_0x337faf>=0x0;_0x337faf--)(_0x42034b=_0x45eb3e[_0x337faf])&&(_0x1304af=_0x42034b(_0x1304af)||_0x1304af);return _0x1304af;},_0x54c7b7=(_0x12397f,_0x3b4d06)=>(_0x3a20b5,_0x89b8f3)=>_0x3b4d06(_0x3a20b5,_0x89b8f3,_0x12397f);let _0x440f4b=class extends _0x197d59['RxDisposable']{constructor(_0x4b5fef,_0x4a9d9b,_0x318abc){const _0xd1de35=_0x10d65d;super(),_0x3ab141(this,'_entities',new Map()),_0x3ab141(this,_0xd1de35(0x289),new _0x22ea33[(_0xd1de35(0x41e))]()),(this[_0xd1de35(0x1fb)]=_0x4b5fef,this[_0xd1de35(0x3a1)]=_0x4a9d9b,this[_0xd1de35(0x351)]=_0x318abc,this[_0xd1de35(0x36d)]());}[_0x10d65d(0x195)](){const _0x19e53=_0x10d65d;super['dispose'](),this[_0x19e53(0x289)]['complete'](),this[_0x19e53(0x1aa)][_0x19e53(0x206)](_0x48d829=>_0x48d829[_0x19e53(0x195)]());}[_0x10d65d(0x20e)](_0x336ad5){const _0x5943ab=_0x10d65d;return this[_0x5943ab(0x1aa)][_0x5943ab(0x1da)](_0x336ad5)?this['_entities'][_0x5943ab(0x3ec)](_0x336ad5)[_0x5943ab(0x368)]:this[_0x5943ab(0x289)]['pipe'](_0x22ea33[_0x5943ab(0x442)](_0x4a0c66=>_0x4a0c66[_0x5943ab(0x370)]===_0x336ad5),_0x22ea33[_0x5943ab(0x3d9)](_0x162b68=>_0x162b68[_0x5943ab(0x368)]));}[_0x10d65d(0x36d)](){const _0x1e0690=_0x10d65d;this[_0x1e0690(0x1fb)][_0x1e0690(0x2dd)](_0x197d59[_0x1e0690(0x36e)][_0x1e0690(0x3b8)])[_0x1e0690(0x2be)](_0x22ea33[_0x1e0690(0x41f)](this['dispose$']))[_0x1e0690(0x38e)](async _0x4dbd93=>{const _0x47744f=_0x1e0690,_0x235021=_0x4dbd93[_0x47744f(0x2ca)](),_0x1dde02=await this['_startSheetCollabCursor'](_0x235021);this[_0x47744f(0x289)][_0x47744f(0x2a6)](_0x1dde02),this[_0x47744f(0x1aa)][_0x47744f(0x3f2)](_0x235021,_0x1dde02);}),this['_univerInstanceService'][_0x1e0690(0x2dd)](_0x197d59[_0x1e0690(0x36e)]['UNIVER_DOC'])[_0x1e0690(0x2be)](_0x22ea33[_0x1e0690(0x41f)](this['dispose$']))['pipe'](_0x22ea33[_0x1e0690(0x442)](_0x934a6f=>!_0x934a6f[_0x1e0690(0x2ca)]()[_0x1e0690(0x1e5)]('__')))[_0x1e0690(0x38e)](async _0x6a6718=>{const _0x9ecc44=_0x1e0690,_0x27e68c=_0x6a6718[_0x9ecc44(0x2ca)](),_0x7d58d3=await this[_0x9ecc44(0x37c)](_0x27e68c);this['_entityInit$'][_0x9ecc44(0x2a6)](_0x7d58d3),this[_0x9ecc44(0x1aa)][_0x9ecc44(0x3f2)](_0x27e68c,_0x7d58d3);}),_0x22ea33[_0x1e0690(0x339)](this[_0x1e0690(0x1fb)][_0x1e0690(0x322)](_0x197d59[_0x1e0690(0x36e)][_0x1e0690(0x369)]),this[_0x1e0690(0x1fb)][_0x1e0690(0x322)](_0x197d59[_0x1e0690(0x36e)]['UNIVER_SHEET']))['pipe'](_0x22ea33['takeUntil'](this[_0x1e0690(0x29c)]))['subscribe'](_0x53cb62=>{const _0x1f65b4=_0x1e0690,_0x23920e=_0x53cb62[_0x1f65b4(0x2ca)](),_0x3d6bbe=this['_entities']['get'](_0x23920e);_0x3d6bbe&&(_0x3d6bbe[_0x1f65b4(0x195)](),this[_0x1f65b4(0x1aa)]['delete'](_0x23920e));});}async[_0x10d65d(0x397)](_0x4f32d6){const _0x24a0ca=_0x10d65d,_0x520c7f=await this[_0x24a0ca(0x351)][_0x24a0ca(0x33c)](_0x4f32d6),_0x3d3cdd=this[_0x24a0ca(0x3a1)]['createInstance'](_0x26b776,_0x4f32d6,_0x520c7f);return _0x3d3cdd['init'](),_0x3d3cdd;}async[_0x10d65d(0x37c)](_0x3214e4){const _0x1fa2eb=_0x10d65d,_0x22bd5f=await this['_collabSessionService']['requireSession'](_0x3214e4),_0x1a3987=this[_0x1fa2eb(0x3a1)][_0x1fa2eb(0x27d)](_0x5605f6,_0x3214e4,_0x22bd5f);return _0x1a3987[_0x1fa2eb(0x374)](),_0x1a3987;}};_0x440f4b=_0x3c36da([_0x54c7b7(0x0,_0x197d59[_0x10d65d(0x27e)]),_0x54c7b7(0x1,_0x197d59[_0x10d65d(0x1de)](_0x197d59[_0x10d65d(0x270)])),_0x54c7b7(0x2,_0x197d59[_0x10d65d(0x1de)](_0x51298c['CollaborationSessionService']))],_0x440f4b);const _0x546239=0x14,_0x26b5bb=0xc8,_0x3b09bc=0x4,_0x60d79f=0x5;function _0x1a36b9(_0x47f3a8,_0x1133d){const _0x3ef44f=_0x10d65d;let {radius:_0x477353,width:_0x11227b,height:_0x5e7579}=_0x1133d;_0x477353=_0x477353!=null?_0x477353:0x0,_0x11227b=_0x11227b!=null?_0x11227b:0x1e,_0x5e7579=_0x5e7579!=null?_0x5e7579:0x1e;let _0x54339e=0x0,_0xcd7935=0x0,_0x3ea55d=0x0;_0x54339e=_0xcd7935=_0x3ea55d=Math[_0x3ef44f(0x447)](_0x477353,_0x11227b/0x2,_0x5e7579/0x2),_0x47f3a8['beginPath'](),_0x47f3a8[_0x3ef44f(0x217)](_0x54339e,0x0),_0x47f3a8['lineTo'](_0x11227b-_0xcd7935,0x0),_0x47f3a8[_0x3ef44f(0x2d0)](_0x11227b-_0xcd7935,_0xcd7935,_0xcd7935,Math['PI']*0x3/0x2,0x0,!0x1),_0x47f3a8[_0x3ef44f(0x1b3)](_0x11227b,_0x5e7579-_0x3ea55d),_0x47f3a8['arc'](_0x11227b-_0x3ea55d,_0x5e7579-_0x3ea55d,_0x3ea55d,0x0,Math['PI']/0x2,!0x1),_0x47f3a8[_0x3ef44f(0x1b3)](0x0,_0x5e7579),_0x47f3a8['lineTo'](0x0,_0x54339e),_0x47f3a8[_0x3ef44f(0x2d0)](_0x54339e,_0x54339e,_0x54339e,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x47f3a8[_0x3ef44f(0x1eb)](),_0x1133d[_0x3ef44f(0x1f3)]&&(_0x47f3a8[_0x3ef44f(0x19a)](),_0x47f3a8['fillStyle']=_0x1133d['fill'],_0x1133d[_0x3ef44f(0x2ea)]===_0x3ef44f(0x2cb)?_0x47f3a8[_0x3ef44f(0x1f3)](_0x3ef44f(0x2cb)):_0x47f3a8['fill'](),_0x47f3a8[_0x3ef44f(0x22b)]());}class _0x3e249c extends _0x4ef8d4[_0x10d65d(0x3b7)]{constructor(_0x115d0c,_0x3b9036){const _0x3dc0ed=_0x10d65d;super(_0x115d0c,_0x3b9036),_0x3ab141(this,_0x3dc0ed(0x45c)),_0x3ab141(this,_0x3dc0ed(0x353)),(this[_0x3dc0ed(0x45c)]=_0x3b9036==null?void 0x0:_0x3b9036[_0x3dc0ed(0x45c)],this[_0x3dc0ed(0x353)]=_0x3b9036==null?void 0x0:_0x3b9036[_0x3dc0ed(0x353)]);}static[_0x10d65d(0x2d1)](_0xb54fe1,_0x9e7862){const _0x5e015e=_0x10d65d,{text:_0x2d3cd0,color:_0x2eb8e0}=_0x9e7862;_0xb54fe1[_0x5e015e(0x19a)](),_0xb54fe1[_0x5e015e(0x44d)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x2043af=_0xb54fe1['measureText'](_0x2d3cd0)['width'],_0x343e9a=Math['min'](_0x2043af+0x2*_0x3b09bc,_0x26b5bb);_0x1a36b9(_0xb54fe1,{'height':_0x546239,'radius':0x4,'width':_0x343e9a,'fill':_0x2eb8e0}),_0xb54fe1[_0x5e015e(0x1f8)]='#FFF';const _0x3c893d=_0x3b09bc,_0x31ea9a=_0x546239-_0x60d79f,_0x2db560=_0x26b5bb-0x2*_0x3b09bc;if(_0x2043af>_0x2db560){let _0x472fe9='',_0x4455ca=0x0;for(const _0x37251c of _0x2d3cd0){const _0x3a80c5=_0xb54fe1[_0x5e015e(0x3b1)](_0x37251c)[_0x5e015e(0x43a)];if(_0x4455ca+_0x3a80c5<=_0x2db560-_0xb54fe1['measureText'](_0x5e015e(0x36f))['width'])_0x472fe9+=_0x37251c,_0x4455ca+=_0x3a80c5;else{_0x472fe9+=_0x5e015e(0x36f);break;}}_0xb54fe1[_0x5e015e(0x443)](_0x472fe9,_0x3c893d,_0x31ea9a);}else _0xb54fe1[_0x5e015e(0x443)](_0x2d3cd0,_0x3c893d,_0x31ea9a);_0xb54fe1[_0x5e015e(0x22b)]();}[_0x10d65d(0x399)](_0x59a8fa){const _0x242cfb=_0x10d65d;_0x3e249c[_0x242cfb(0x2d1)](_0x59a8fa,this);}}const _0x5d3112=_0x10d65d(0x3e9),_0x53e582=_0x10d65d(0x3d5),_0x51868a=_0x10d65d(0x2ad),_0x43c1f8=0x6,_0x545dbd=1.5,_0x2c354b=0x4,_0x10dca6=1.5,_0x2d36cf='rgba(255,\x20255,\x20255,\x200.01)';class _0x3edfdd{constructor(_0x1b2e0b,_0x235e5f,_0x51ff23,_0x4ba969){const _0x3fbd7d=_0x10d65d;_0x3ab141(this,'_shapes',[]),_0x3ab141(this,_0x3fbd7d(0x187),null),_0x3ab141(this,_0x3fbd7d(0x424),null),_0x3ab141(this,_0x3fbd7d(0x33f),null),_0x3ab141(this,_0x3fbd7d(0x2e0),null),_0x3ab141(this,_0x3fbd7d(0x330),null),(this[_0x3fbd7d(0x183)]=_0x1b2e0b,this['_scene']=_0x235e5f,this[_0x3fbd7d(0x40e)]=_0x51ff23,this[_0x3fbd7d(0x437)]=_0x4ba969,this[_0x3fbd7d(0x1a5)]());}set['_hover'](_0xa4c595){const _0x36dfd3=_0x10d65d;_0xa4c595?(this['_anchorDot']&&this[_0x36dfd3(0x33f)][_0x36dfd3(0x220)](),this[_0x36dfd3(0x424)]&&this[_0x36dfd3(0x424)][_0x36dfd3(0x400)]()):(this[_0x36dfd3(0x33f)]&&this['_anchorDot'][_0x36dfd3(0x400)](),this['_textBubble']&&this[_0x36dfd3(0x424)][_0x36dfd3(0x220)]());}[_0x10d65d(0x195)](){const _0x2fdfbe=_0x10d65d;for(const _0x47b5a5 of this[_0x2fdfbe(0x208)])_0x47b5a5[_0x2fdfbe(0x195)]();this['_textBubble']&&this[_0x2fdfbe(0x424)][_0x2fdfbe(0x195)](),this[_0x2fdfbe(0x33f)]&&this[_0x2fdfbe(0x33f)][_0x2fdfbe(0x195)](),this[_0x2fdfbe(0x187)]&&this[_0x2fdfbe(0x187)]['dispose'](),this[_0x2fdfbe(0x330)]&&this[_0x2fdfbe(0x330)]();}[_0x10d65d(0x1a5)](){const _0x565408=_0x10d65d;var _0x432438;const {_docSkeleton:_0x44d0f5,_document:_0x2a3ce4}=this,{color:_0x259042,name:_0x1d293c,ranges:_0x1cb959}=this[_0x565408(0x183)],_0x47383c=_0x2a3ce4['getOffsetConfig'](),{docsLeft:_0x50e666,docsTop:_0x2aa016}=_0x47383c,_0x56706b=new _0x3b2259[(_0x565408(0x390))](_0x47383c,_0x44d0f5);for(const {startOffset:_0x3ba537,endOffset:_0x4d7d12,rangeType:_0x1f03b1,segmentId:_0x108aa8,segmentPage:_0x124c8a,collapsed:_0xc8701c,isActive:_0x1a929c}of _0x1cb959){const _0x208b17=_0x44d0f5[_0x565408(0x3c6)](_0x3ba537,!0x0,_0x108aa8,_0x124c8a);let _0x366152=_0x44d0f5[_0x565408(0x3c6)](_0x4d7d12,!0x0,_0x108aa8,_0x124c8a);if(_0x366152==null&&(_0x366152=_0x44d0f5[_0x565408(0x3c6)](_0x4d7d12-0x1,!0x1,_0x108aa8,_0x124c8a)),_0x1a929c){const {contentBoxPointGroup:_0x3d9a75}=_0x56706b[_0x565408(0x277)](_0x366152,_0x366152);if(_0x3d9a75[_0x565408(0x344)]===0x0)continue;this['_drawAnchor'](_0x259042,_0x3d9a75,_0x50e666,_0x2aa016,_0x1d293c),this[_0x565408(0x330)]=this['_handleHover']();}if(_0x208b17&&_0x366152){if(_0x1f03b1===_0x197d59[_0x565408(0x392)][_0x565408(0x446)]){const _0x1db7b8=new _0x3b2259[(_0x565408(0x454))](_0x47383c,_0x44d0f5),{pointGroup:_0x1851c2}=(_0x432438=_0x1db7b8[_0x565408(0x277)](_0x208b17,_0x366152))!=null?_0x432438:{};if(_0x1851c2==null||_0x1851c2['length']===0x0)continue;this[_0x565408(0x3fa)](_0x259042,_0x1851c2,_0x50e666,_0x2aa016);}else{if(!_0xc8701c){const {borderBoxPointGroup:_0x25547f}=_0x56706b[_0x565408(0x277)](_0x208b17,_0x366152);if(_0x25547f[_0x565408(0x344)]===0x0)continue;this[_0x565408(0x18e)](_0x259042,_0x25547f,_0x50e666,_0x2aa016);}}}}}[_0x10d65d(0x1d5)](_0x3d2157,_0x39ea5f,_0x52eba7,_0x2c6343,_0x44b88d){const _0x6d5f9d=_0x10d65d,_0x3c73e0=this[_0x6d5f9d(0x2e4)](_0x39ea5f),{left:_0x1bada9,top:_0x413830,height:_0x3f9873}=_0x3c73e0,_0x4e2296=this[_0x6d5f9d(0x1b8)](),_0x30c61b=_0x10dca6/_0x4e2296,_0x2db6e1=new _0x4ef8d4[(_0x6d5f9d(0x284))](_0x5d3112+_0x197d59[_0x6d5f9d(0x310)](_0x43c1f8),{'left':_0x1bada9+_0x52eba7-_0x30c61b,'top':_0x413830+_0x2c6343,'height':_0x3f9873,'width':_0x545dbd,'fill':_0x3d2157||_0x4ef8d4[_0x6d5f9d(0x1c4)](_0x197d59[_0x6d5f9d(0x42a)][_0x6d5f9d(0x197)],0x0),'strokeWidth':_0x30c61b,'stroke':_0x2d36cf,'evented':!0x0});this[_0x6d5f9d(0x187)]=_0x2db6e1,this[_0x6d5f9d(0x1ad)][_0x6d5f9d(0x19b)](_0x2db6e1,_0x3b2259['TEXT_RANGE_LAYER_INDEX']);const _0x15c4f9=new _0x4ef8d4[(_0x6d5f9d(0x284))](_0x5d3112+_0x197d59[_0x6d5f9d(0x310)](_0x43c1f8),{'left':_0x1bada9+_0x52eba7-_0x30c61b,'top':_0x413830+_0x2c6343-_0x2c354b/0x2,'height':_0x2c354b,'width':_0x2c354b,'fill':_0x3d2157||_0x4ef8d4['getColor'](_0x197d59[_0x6d5f9d(0x42a)][_0x6d5f9d(0x197)],0x0),'strokeWidth':0x0,'stroke':_0x3d2157||_0x4ef8d4[_0x6d5f9d(0x1c4)](_0x197d59[_0x6d5f9d(0x42a)]['black'],0x0),'evented':!0x1});this[_0x6d5f9d(0x33f)]=_0x15c4f9,this['_scene']['addObject'](_0x15c4f9,_0x3b2259[_0x6d5f9d(0x37f)]);const _0x3ca2c2=new _0x3e249c(_0x5d3112+_0x197d59[_0x6d5f9d(0x310)](_0x43c1f8),{'left':_0x1bada9+_0x52eba7-_0x30c61b,'top':_0x413830+_0x2c6343-_0x546239,'text':_0x44b88d,'color':_0x3d2157});this[_0x6d5f9d(0x424)]=_0x3ca2c2,this['_scene'][_0x6d5f9d(0x19b)](_0x3ca2c2,_0x3b2259[_0x6d5f9d(0x37f)]),this[_0x6d5f9d(0x2e1)]=!0x1;}[_0x10d65d(0x22c)](){const _0x13b0c7=_0x10d65d,_0x277eb0=this['_anchor'][_0x13b0c7(0x3db)][_0x13b0c7(0x34f)](()=>{const _0x4b73be=_0x13b0c7;this[_0x4b73be(0x2e1)]=!0x0;}),_0x3c9bc6=this[_0x13b0c7(0x187)]['onPointerLeave$'][_0x13b0c7(0x34f)](()=>{const _0x6a3eeb=_0x13b0c7;this[_0x6a3eeb(0x2e0)]&&clearTimeout(this['_hideTimer']),this[_0x6a3eeb(0x2e0)]=setTimeout(()=>{const _0xa39f82=_0x6a3eeb;this[_0xa39f82(0x2e1)]=!0x1;},0x7d0);});return()=>{const _0x17f691=_0x13b0c7;_0x277eb0[_0x17f691(0x2d7)](),_0x3c9bc6['unsubscribe']();};}['_drawTextRange'](_0x25e527,_0x464f2b,_0x115a9c,_0x95b8d4){const _0x130c90=_0x10d65d,_0x2416c4=new _0x197d59[(_0x130c90(0x1ed))](_0x25e527)[_0x130c90(0x2a5)](0.2)[_0x130c90(0x202)](),_0x3e752a=new _0x4ef8d4[(_0x130c90(0x33e))](_0x53e582+_0x197d59['generateRandomId'](_0x43c1f8),{'pointsGroup':_0x464f2b,'fill':_0x2416c4||_0x4ef8d4['getColor'](_0x197d59[_0x130c90(0x42a)][_0x130c90(0x197)],0.2),'left':_0x115a9c,'top':_0x95b8d4,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x130c90(0x208)][_0x130c90(0x1e8)](_0x3e752a),this[_0x130c90(0x1ad)][_0x130c90(0x19b)](_0x3e752a,_0x3b2259[_0x130c90(0x37f)]);}[_0x10d65d(0x3fa)](_0x4f476a,_0x472c0a,_0x4ff999,_0x3db710){const _0x482a3e=_0x10d65d,_0x37c551=new _0x197d59[(_0x482a3e(0x1ed))](_0x4f476a)['setAlpha'](0.2)[_0x482a3e(0x202)](),_0x44319b=new _0x4ef8d4[(_0x482a3e(0x33e))](_0x51868a+_0x197d59['generateRandomId'](_0x43c1f8),{'pointsGroup':_0x472c0a,'fill':_0x37c551||_0x4ef8d4[_0x482a3e(0x1c4)](_0x197d59[_0x482a3e(0x42a)][_0x482a3e(0x197)],0.2),'left':_0x4ff999,'top':_0x3db710,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x482a3e(0x208)]['push'](_0x44319b),this[_0x482a3e(0x1ad)][_0x482a3e(0x19b)](_0x44319b,_0x3b2259['TEXT_RANGE_LAYER_INDEX']);}[_0x10d65d(0x2e4)](_0x44464e){const _0x444cbd=_0x44464e[0x0],_0x35dc2a=_0x444cbd[0x0],_0x3265ba=_0x444cbd[0x2],{x:_0x69ef20,y:_0x521dad}=_0x35dc2a,{x:_0x438b1d,y:_0xc30b4b}=_0x3265ba;return{'left':_0x69ef20,'top':_0x521dad,'width':_0x438b1d-_0x69ef20,'height':_0xc30b4b-_0x521dad};}[_0x10d65d(0x1b8)](){const _0xb4a091=_0x10d65d,{scaleX:_0x5cbf6b,scaleY:_0x2dd62f}=this[_0xb4a091(0x1ad)][_0xb4a091(0x33d)]();return Math[_0xb4a091(0x451)](_0x5cbf6b,_0x2dd62f);}}var _0x20571f=Object[_0x10d65d(0x17f)],_0x1945bb=(_0x5ac5dc,_0xdff04d,_0x4e0280,_0x47b00e)=>{const _0x526bff=_0x10d65d;for(var _0x5fe83a=_0x47b00e>0x1?void 0x0:_0x47b00e?_0x20571f(_0xdff04d,_0x4e0280):_0xdff04d,_0x4c170a=_0x5ac5dc[_0x526bff(0x344)]-0x1,_0xd27df8;_0x4c170a>=0x0;_0x4c170a--)(_0xd27df8=_0x5ac5dc[_0x4c170a])&&(_0x5fe83a=_0xd27df8(_0x5fe83a)||_0x5fe83a);return _0x5fe83a;},_0x159470=(_0x14d236,_0x1c89de)=>(_0x2d3365,_0x18433f)=>_0x1c89de(_0x2d3365,_0x18433f,_0x14d236);let _0x22d195=class extends _0x197d59[_0x10d65d(0x410)]{constructor(_0x39cd9c,_0x4e5052,_0x4242fc,_0x5b58e4,_0x30dafc){const _0x9e4dbd=_0x10d65d;super(),_0x3ab141(this,_0x9e4dbd(0x2d3),[]),_0x3ab141(this,'_cursors',[]),(this[_0x9e4dbd(0x2c6)]=_0x39cd9c,this[_0x9e4dbd(0x1a6)]=_0x4e5052,this[_0x9e4dbd(0x32e)]=_0x4242fc,this[_0x9e4dbd(0x456)]=_0x5b58e4,this[_0x9e4dbd(0x3a0)]=_0x30dafc,this[_0x9e4dbd(0x36d)]());}[_0x10d65d(0x36d)](){const _0x410081=_0x10d65d,_0x4ed5b3=this[_0x410081(0x2c6)][_0x410081(0x3cc)],_0x518cb6=this[_0x410081(0x1a6)];this[_0x410081(0x406)](_0x22ea33[_0x410081(0x387)]([this[_0x410081(0x32e)]['getCollabCursors$'](_0x4ed5b3),this[_0x410081(0x3a0)][_0x410081(0x22e)]])['pipe'](_0x28a993[_0x410081(0x28f)](([_0x3b7f30,_0x35dbd1])=>({'skeleton':_0x518cb6[_0x410081(0x3d0)](),'cursors':[..._0x3b7f30[_0x410081(0x257)]()]['flatMap'](_0x8f37b7=>({..._0x8f37b7,'color':this[_0x410081(0x3a0)][_0x410081(0x337)](_0x8f37b7[_0x410081(0x45c)])}))})))['subscribe'](_0x1d9b01=>{const _0x575c64=_0x410081;if(this[_0x575c64(0x2f2)](),_0x1d9b01){const {skeleton:_0x19bcd2,cursors:_0x40f0f1}=_0x1d9b01;this['_updateCollabCursors'](_0x19bcd2,_0x40f0f1);}})),this[_0x410081(0x283)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x42c7e7,_0x2e80bb){const _0x9ea706=_0x10d65d,{scene:_0x36c867,mainComponent:_0xac8be8}=this[_0x9ea706(0x2c6)],_0x3fbcf6=_0x2e80bb['map'](_0x27fec8=>new _0x3edfdd(_0x27fec8,_0x36c867,_0x42c7e7,_0xac8be8));this[_0x9ea706(0x2d3)]=_0x3fbcf6,this[_0x9ea706(0x243)]=_0x2e80bb;}[_0x10d65d(0x448)](){const _0x364621=_0x10d65d;this['_removeCollabCursors']();const {scene:_0x134325,mainComponent:_0x57625c}=this['_context'],_0x49647f=this[_0x364621(0x1a6)][_0x364621(0x3d0)](),_0x188916=this[_0x364621(0x243)][_0x364621(0x28f)](_0x2c37ba=>new _0x3edfdd(_0x2c37ba,_0x134325,_0x49647f,_0x57625c));this['_cursorShapes']=_0x188916;}[_0x10d65d(0x2f2)](){const _0x4fb385=_0x10d65d;this[_0x4fb385(0x2d3)][_0x4fb385(0x206)](_0x2686e1=>_0x2686e1[_0x4fb385(0x195)]()),this[_0x4fb385(0x2d3)]=[];}['_initCommandExecutedListener'](){const _0x4edf8a=_0x10d65d,_0x334ffc=[_0x3b2259[_0x4edf8a(0x1c0)]['id']];this[_0x4edf8a(0x406)](this['_commandService']['onCommandExecuted'](_0x22debb=>{const _0xba80b5=_0x4edf8a;_0x334ffc['includes'](_0x22debb['id'])&&_0x22debb[_0xba80b5(0x380)][_0xba80b5(0x3cc)]===this[_0xba80b5(0x2c6)][_0xba80b5(0x3cc)]&&this[_0xba80b5(0x448)]();}));}[_0x10d65d(0x283)](){const _0x2639b8=_0x10d65d;this[_0x2639b8(0x406)](_0x197d59['fromEventSubject'](this[_0x2639b8(0x2c6)][_0x2639b8(0x248)]['onTransformChange$'])[_0x2639b8(0x2be)](_0x28a993['filter'](_0x2e7fae=>_0x2e7fae[_0x2639b8(0x44f)]===_0x4ef8d4[_0x2639b8(0x450)][_0x2639b8(0x210)]),_0x28a993['throttleTime'](0x10))[_0x2639b8(0x38e)](()=>{const _0xa871cf=_0x2639b8;this[_0xa871cf(0x448)]();}));}};_0x22d195=_0x1945bb([_0x159470(0x1,_0x197d59['Inject'](_0xa4499d['DocSkeletonManagerService'])),_0x159470(0x2,_0x197d59[_0x10d65d(0x1de)](_0x440f4b)),_0x159470(0x3,_0x197d59[_0x10d65d(0x34a)]),_0x159470(0x4,_0x197d59['Inject'](_0x197d59[_0x10d65d(0x245)]))],_0x22d195);const _0xe690ba=0x1,_0x1bdd0f=1.5;class _0x49000f extends _0x4ef8d4['Shape']{constructor(_0x3de291,_0x14ee50){const _0x4f3a9d=_0x10d65d;super(_0x3de291,_0x14ee50),_0x3ab141(this,_0x4f3a9d(0x224)),_0x3ab141(this,_0x4f3a9d(0x290),!0x1),_0x3ab141(this,_0x4f3a9d(0x240)),_0x3ab141(this,_0x4f3a9d(0x2a3),''),_0x3ab141(this,_0x4f3a9d(0x3ac),_0x4f3a9d(0x28b)),_0x3ab141(this,_0x4f3a9d(0x2c9)),(_0x14ee50&&this[_0x4f3a9d(0x393)](_0x14ee50),this[_0x4f3a9d(0x3db)][_0x4f3a9d(0x34f)](()=>this[_0x4f3a9d(0x393)]({'hovered':!0x0})),this['onPointerLeave$'][_0x4f3a9d(0x34f)](()=>this[_0x4f3a9d(0x393)]({'hovered':!0x1})));}[_0x10d65d(0x393)](_0x6c76a0){const _0x3fade1=_0x10d65d;var _0x21a151,_0x54ba78,_0x36a999,_0x5aa889,_0xb214d0,_0x868695;this[_0x3fade1(0x224)]=(_0x21a151=_0x6c76a0[_0x3fade1(0x45c)])!=null?_0x21a151:this[_0x3fade1(0x224)],this[_0x3fade1(0x290)]=(_0x54ba78=_0x6c76a0['hovered'])!=null?_0x54ba78:this[_0x3fade1(0x290)],this[_0x3fade1(0x240)]=(_0x36a999=_0x6c76a0[_0x3fade1(0x3f6)])!=null?_0x36a999:this[_0x3fade1(0x240)],this[_0x3fade1(0x2a3)]=(_0x5aa889=_0x6c76a0[_0x3fade1(0x31d)])!=null?_0x5aa889:this[_0x3fade1(0x2a3)],this[_0x3fade1(0x3ac)]=(_0xb214d0=_0x6c76a0['labelPosition'])!=null?_0xb214d0:this[_0x3fade1(0x3ac)],this[_0x3fade1(0x2c9)]=(_0x868695=_0x6c76a0[_0x3fade1(0x3c4)])!=null?_0x868695:this[_0x3fade1(0x2c9)],this[_0x3fade1(0x1f1)]({'width':_0x6c76a0[_0x3fade1(0x43a)],'height':_0x6c76a0[_0x3fade1(0x23a)]});}[_0x10d65d(0x3f9)](_0x5c7a96){const _0xe14c00=_0x10d65d,{row:_0x357a97,column:_0x55608b}=_0x5c7a96;if(_0x357a97>=this['_range'][_0xe14c00(0x32a)]&&_0x357a97<=this[_0xe14c00(0x240)][_0xe14c00(0x1b2)]&&_0x55608b>=this[_0xe14c00(0x240)][_0xe14c00(0x265)]&&_0x55608b<=this[_0xe14c00(0x240)][_0xe14c00(0x2e7)]){this[_0xe14c00(0x393)]({'hovered':!0x0});return;}this[_0xe14c00(0x393)]({'hovered':!0x1});}['triggerDblclick'](_0x520e06){return!0x1;}[_0x10d65d(0x399)](_0x2d2430){const _0x1e3bdc=_0x10d65d;_0x4ef8d4[_0x1e3bdc(0x284)]['drawWith'](_0x2d2430,{'width':this[_0x1e3bdc(0x43a)],'height':this['height'],'strokeWidth':_0x1bdd0f,'stroke':this[_0x1e3bdc(0x224)],'evented':!0x1,'fill':this[_0x1e3bdc(0x2c9)]}),this[_0x1e3bdc(0x290)]&&(_0x2d2430[_0x1e3bdc(0x19a)](),_0x2d2430['transform'](0x1,0x0,0x0,0x1,this[_0x1e3bdc(0x43a)],this['_labelPosition']===_0x1e3bdc(0x282)?0x0:-_0x546239),_0x3e249c[_0x1e3bdc(0x2d1)](_0x2d2430,{'text':this[_0x1e3bdc(0x2a3)],'color':this[_0x1e3bdc(0x224)]}),_0x2d2430[_0x1e3bdc(0x22b)]());}}var _0x1f4607=Object['getOwnPropertyDescriptor'],_0x1200b5=(_0x3f2e3c,_0x25ce57,_0x4195d8,_0x536457)=>{const _0x927bd0=_0x10d65d;for(var _0x58a658=_0x536457>0x1?void 0x0:_0x536457?_0x1f4607(_0x25ce57,_0x4195d8):_0x25ce57,_0x23e7a3=_0x3f2e3c[_0x927bd0(0x344)]-0x1,_0x3889cc;_0x23e7a3>=0x0;_0x23e7a3--)(_0x3889cc=_0x3f2e3c[_0x23e7a3])&&(_0x58a658=_0x3889cc(_0x58a658)||_0x58a658);return _0x58a658;},_0xbed4ab=(_0x4aedda,_0x5be7ac)=>(_0x24b6fa,_0x166444)=>_0x5be7ac(_0x24b6fa,_0x166444,_0x4aedda);const _0x2abf5b=0x1389;let _0x30a955=class extends _0x197d59[_0x10d65d(0x410)]{constructor(_0x48dd34,_0x571866,_0x4bbcb9,_0x539c8a){const _0x4b96b0=_0x10d65d;super(),_0x3ab141(this,_0x4b96b0(0x243),new Set()),_0x3ab141(this,'_lastPointer',null),(this[_0x4b96b0(0x2c6)]=_0x48dd34,this[_0x4b96b0(0x17a)]=_0x571866,this[_0x4b96b0(0x32e)]=_0x4bbcb9,this[_0x4b96b0(0x3a0)]=_0x539c8a,this[_0x4b96b0(0x36d)]());}[_0x10d65d(0x36d)](){const _0x200186=_0x10d65d;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x200186(0x2be)](_0x28a993[_0x200186(0x41f)](this[_0x200186(0x29c)]),_0x28a993[_0x200186(0x3d9)](_0x55fe07=>{const _0x47d872=_0x200186;if(_0x55fe07){const _0x1f3b2f=_0x55fe07[_0x47d872(0x3dc)];return _0x22ea33[_0x47d872(0x387)](this[_0x47d872(0x32e)]['getCollabCursors$'](this[_0x47d872(0x2c6)][_0x47d872(0x3cc)]),this['_themeService'][_0x47d872(0x22e)])[_0x47d872(0x2be)](_0x28a993[_0x47d872(0x28f)](([_0x5a4133,_0x3b9de9])=>{const _0x55c867=_0x47d872,_0x188295=new Map();return _0x5a4133[_0x55c867(0x206)]((_0x419e16,_0x8eea60)=>{const _0x53d92e=_0x55c867;if(_0x419e16['sheetID']===_0x1f3b2f){const _0x3a50f7={..._0x419e16};_0x3a50f7[_0x53d92e(0x45c)]=this[_0x53d92e(0x3a0)][_0x53d92e(0x337)](_0x419e16[_0x53d92e(0x45c)]),_0x188295[_0x53d92e(0x3f2)](_0x8eea60,_0x3a50f7);}}),{'skeleton':_0x55fe07,'cursors':_0x188295};}));}return _0x22ea33['of']({'skeleton':null,'cursors':new Map()});}))[_0x200186(0x38e)](({skeleton:_0x5b3fd2,cursors:_0x2bac68})=>{const _0x26b42f=_0x200186;this[_0x26b42f(0x2f2)](),_0x5b3fd2&&this[_0x26b42f(0x2a1)](_0x5b3fd2,_0x2bac68);}),this['_sheetSkeletonManagerService'][_0x200186(0x1b9)][_0x200186(0x38e)](_0x4c0aeb=>{const _0x382a52=_0x200186;if(_0x4c0aeb==null)return;const {skeleton:_0x546103}=_0x4c0aeb,{scene:_0x23b564}=this[_0x382a52(0x2c6)];_0x23b564['onPointerMove$']['subscribeEvent'](_0x197d59[_0x382a52(0x2c7)](_0x1c3bea=>{const _0x648a35=_0x382a52;var _0x2f6da1,_0x437992;const {offsetX:_0x193c0b,offsetY:_0x51df5d}=_0x1c3bea,{x:_0x5737c4,y:_0x141d4f}=_0x23b564[_0x648a35(0x1cd)](_0x4ef8d4['Vector2'][_0x648a35(0x21d)]([_0x193c0b,_0x51df5d])),{scaleX:_0x1c94bf,scaleY:_0x28d34a}=_0x23b564[_0x648a35(0x33d)](),_0x3a588a=_0x23b564[_0x648a35(0x30f)](_0x4ef8d4['SHEET_VIEWPORT_KEY'][_0x648a35(0x2b5)]),_0x9511a5=_0x23b564[_0x648a35(0x252)](_0x4ef8d4[_0x648a35(0x40d)]['FromArray']([_0x5737c4,_0x141d4f]),_0x3a588a),_0x909ac5=_0x546103[_0x648a35(0x17c)](_0x193c0b,_0x51df5d,_0x1c94bf,_0x28d34a,_0x9511a5);((_0x2f6da1=this[_0x648a35(0x256)])==null?void 0x0:_0x2f6da1[_0x648a35(0x41c)])===_0x909ac5[_0x648a35(0x41c)]&&((_0x437992=this[_0x648a35(0x256)])==null?void 0x0:_0x437992['row'])===_0x909ac5[_0x648a35(0x3f5)]||this['_cursors'][_0x648a35(0x206)](_0x5b6e4c=>{const _0x48d91f=_0x648a35;_0x5b6e4c[_0x48d91f(0x3f9)](_0x909ac5);});},0x64));});}[_0x10d65d(0x2a1)](_0x348ac1,_0x4fa059){const _0x4e2490=_0x10d65d;var _0x11e26a;const _0x33bed6=(_0x11e26a=this[_0x4e2490(0x17a)]['getCurrent']())==null?void 0x0:_0x11e26a['skeleton'];if(!_0x33bed6)return;const _0x5dfe01=this[_0x4e2490(0x3b4)]();if(!_0x5dfe01)return;this['_cursors'][_0x4e2490(0x206)](_0x2fe309=>{const _0x5df179=_0x4e2490;_0x2fe309[_0x5df179(0x3d7)]();});const {scene:_0x129246}=_0x5dfe01,_0x260f23=_0x214703(Array[_0x4e2490(0x44e)](_0x4fa059[_0x4e2490(0x257)]()))[_0x4e2490(0x28f)](_0x35fcde=>{const _0x86c9e2=_0x4e2490,{color:_0x851c5d,range:_0x148756,name:_0x127d4f,selection:_0x340640,sheetID:_0x15da3b}=_0x35fcde,{startColumn:_0x5e3fcf,startRow:_0x4a531f,endColumn:_0x1d8647,endRow:_0x3678d1}=_0x148756,_0x35c347=_0x1f6d72[_0x86c9e2(0x415)](_0x4a531f,_0x5e3fcf,_0x129246,_0x33bed6),_0x21b105=_0x1f6d72[_0x86c9e2(0x415)](_0x3678d1,_0x1d8647,_0x129246,_0x33bed6),{columnHeaderHeightAndMarginTop:_0x18d4ee}=_0x33bed6,{startX:_0xb8b7ef,startY:_0x40cc93}=_0x35c347,{endX:_0x211be8,endY:_0x5a35d6}=_0x21b105,_0x4566b4=_0x211be8-_0xb8b7ef,_0x4ff41a=_0x5a35d6-_0x40cc93,_0x3d2b54={'labelPosition':_0x40cc93-_0x18d4ee>=_0x546239?_0x86c9e2(0x28b):'bottom','sheetID':_0x15da3b,'range':_0x148756,'color':_0x851c5d,'name':_0x127d4f,'selection':_0x340640,'left':_0xb8b7ef,'top':_0x40cc93,'width':_0x4566b4,'height':_0x4ff41a,'evented':!0x1,'zIndex':_0x2abf5b};return new _0x49000f(_0x127d4f,_0x3d2b54);});_0x129246['addObjects'](_0x260f23,_0xe690ba),this[_0x4e2490(0x243)]=new Set(_0x260f23);}[_0x10d65d(0x2f2)](){const _0x32cf9f=_0x10d65d;var _0x8d750;(_0x8d750=this['_cursors'])==null||_0x8d750[_0x32cf9f(0x206)](_0x356999=>_0x356999[_0x32cf9f(0x195)]());}[_0x10d65d(0x3b4)](){const _0x2fbad6=_0x10d65d;return _0x1f6d72[_0x2fbad6(0x273)](this['_context'][_0x2fbad6(0x39b)],this['_context']);}};_0x30a955=_0x1200b5([_0xbed4ab(0x1,_0x197d59[_0x10d65d(0x1de)](_0x1f6d72[_0x10d65d(0x3d6)])),_0xbed4ab(0x2,_0x197d59[_0x10d65d(0x1de)](_0x440f4b)),_0xbed4ab(0x3,_0x197d59[_0x10d65d(0x1de)](_0x197d59[_0x10d65d(0x245)]))],_0x30a955);function _0x214703(_0x11ee8d){const _0xae1265=_0x10d65d,_0x3ad9eb=new Map();return _0x11ee8d[_0xae1265(0x206)](_0x4d8496=>{const _0x7d1a73=_0xae1265;if(_0x3ad9eb[_0x7d1a73(0x1da)](_0x4d8496['selection'])){const _0x44ef91=_0x3ad9eb[_0x7d1a73(0x3ec)](_0x4d8496[_0x7d1a73(0x2d6)]);_0x44ef91[_0x7d1a73(0x31d)]+=',\x20'+_0x4d8496['name'];}else _0x3ad9eb[_0x7d1a73(0x3f2)](_0x4d8496[_0x7d1a73(0x2d6)],_0x4d8496);}),Array[_0xae1265(0x44e)](_0x3ad9eb[_0xae1265(0x257)]());}var _0x33e03b=Object[_0x10d65d(0x17f)],_0x5056ac=(_0xe4a4ad,_0x28cecf,_0x138824,_0x4339eb)=>{for(var _0x31ae55=_0x4339eb>0x1?void 0x0:_0x4339eb?_0x33e03b(_0x28cecf,_0x138824):_0x28cecf,_0x4c9658=_0xe4a4ad['length']-0x1,_0x25fa63;_0x4c9658>=0x0;_0x4c9658--)(_0x25fa63=_0xe4a4ad[_0x4c9658])&&(_0x31ae55=_0x25fa63(_0x31ae55)||_0x31ae55);return _0x31ae55;},_0x34649a=(_0x6db586,_0x51aa80)=>(_0x42602c,_0x559837)=>_0x51aa80(_0x42602c,_0x559837,_0x6db586);let _0x391c06=class extends _0x197d59['Disposable']{constructor(_0x6805d2,_0x11e2f9,_0xe7c02c,_0x53a9da,_0x1bc617,_0x43bea3){const _0x5ab667=_0x10d65d;super(),this[_0x5ab667(0x1b0)]=_0x6805d2,this[_0x5ab667(0x211)]=_0x11e2f9,this[_0x5ab667(0x261)]=_0xe7c02c,this[_0x5ab667(0x319)]=_0x53a9da,this['_notificationService']=_0x1bc617,this['_localeService']=_0x43bea3,this[_0x5ab667(0x2ee)](),this[_0x5ab667(0x453)]();}[_0x10d65d(0x2ee)](){const _0x263f61=_0x10d65d;this[_0x263f61(0x406)](this[_0x263f61(0x1b0)][_0x263f61(0x20f)](()=>{const _0xcd1952=_0x263f61;if(this[_0xcd1952(0x211)][_0xcd1952(0x23c)][_0xcd1952(0x293)])return this[_0xcd1952(0x1f6)]['t'](_0xcd1952(0x441));}));}[_0x10d65d(0x453)](){const _0x1f1ee4=_0x10d65d;this[_0x1f1ee4(0x406)](this[_0x1f1ee4(0x261)]['event$'][_0x1f1ee4(0x38e)](_0x2be113=>{const _0x2f9f7a=_0x1f1ee4;_0x2be113['id']===_0x51298c['CollaborationUIEventId'][_0x2f9f7a(0x182)]&&this[_0x2f9f7a(0x319)][_0x2f9f7a(0x400)]({'type':_0xa9b0b1[_0x2f9f7a(0x1b5)][_0x2f9f7a(0x2e3)],'content':this['_localeService']['t'](_0x2f9f7a(0x234))}),_0x2be113['id']===_0x51298c[_0x2f9f7a(0x29d)][_0x2f9f7a(0x1c7)]&&this[_0x2f9f7a(0x319)][_0x2f9f7a(0x400)]({'type':_0xa9b0b1[_0x2f9f7a(0x1b5)][_0x2f9f7a(0x2e3)],'content':this[_0x2f9f7a(0x1f6)]['t']('collaboration.closeRoom')}),_0x2be113['id']===_0x51298c['CollaborationUIEventId'][_0x2f9f7a(0x435)]&&this[_0x2f9f7a(0x226)][_0x2f9f7a(0x400)]({'title':this[_0x2f9f7a(0x1f6)]['t'](_0x2f9f7a(0x363)),'content':this[_0x2f9f7a(0x1f6)]['t'](_0x2f9f7a(0x429)),'type':'error','duration':0x0}),_0x2be113['id']===_0x51298c[_0x2f9f7a(0x29d)][_0x2f9f7a(0x244)]&&this[_0x2f9f7a(0x319)][_0x2f9f7a(0x400)]({'type':_0xa9b0b1[_0x2f9f7a(0x1b5)]['Error'],'content':this[_0x2f9f7a(0x1f6)]['t'](_0x2f9f7a(0x3ed))+'('+_0x2be113[_0x2f9f7a(0x269)]+')'}),_0x2be113['id']===_0x51298c[_0x2f9f7a(0x29d)]['JOIN_ROOM_FAILED']&&this[_0x2f9f7a(0x319)][_0x2f9f7a(0x400)]({'type':_0xa9b0b1['MessageType']['Warning'],'content':this['_localeService']['t'](_0x2be113[_0x2f9f7a(0x269)]||'')}),_0x2be113['id']===_0x51298c['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x2f9f7a(0x400)]({'type':_0xa9b0b1['MessageType']['Warning'],'content':this[_0x2f9f7a(0x1f6)]['t'](_0x2f9f7a(0x35c))}),_0x2be113['id']===_0x51298c[_0x2f9f7a(0x29d)][_0x2f9f7a(0x31c)]&&this[_0x2f9f7a(0x319)]['show']({'type':_0xa9b0b1[_0x2f9f7a(0x1b5)][_0x2f9f7a(0x24e)],'content':this['_localeService']['t'](_0x2f9f7a(0x26b))}),_0x2be113['id']===_0x51298c[_0x2f9f7a(0x29d)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x2f9f7a(0x319)][_0x2f9f7a(0x400)]({'type':_0xa9b0b1[_0x2f9f7a(0x1b5)][_0x2f9f7a(0x24e)],'content':this['_localeService']['t'](_0x2f9f7a(0x40f))});}));}};_0x391c06=_0x5056ac([_0x34649a(0x0,_0x5a190a[_0x10d65d(0x25d)]),_0x34649a(0x1,_0x51298c[_0x10d65d(0x1a7)]),_0x34649a(0x2,_0x197d59['Inject'](_0x51298c[_0x10d65d(0x376)])),_0x34649a(0x3,_0x5a190a[_0x10d65d(0x2ef)]),_0x34649a(0x4,_0x5a190a[_0x10d65d(0x423)]),_0x34649a(0x5,_0x197d59['Inject'](_0x197d59[_0x10d65d(0x3b5)]))],_0x391c06);var _0x5c8af5=Object[_0x10d65d(0x17f)],_0x55d60e=(_0x12ef3e,_0x4c3d47,_0x52a6c1,_0x30e993)=>{for(var _0x4b2155=_0x30e993>0x1?void 0x0:_0x30e993?_0x5c8af5(_0x4c3d47,_0x52a6c1):_0x4c3d47,_0x13cfef=_0x12ef3e['length']-0x1,_0x29783a;_0x13cfef>=0x0;_0x13cfef--)(_0x29783a=_0x12ef3e[_0x13cfef])&&(_0x4b2155=_0x29783a(_0x4b2155)||_0x4b2155);return _0x4b2155;},_0x1ddafd=(_0x24ed5d,_0x432a0d)=>(_0x48a709,_0x3b1dfb)=>_0x432a0d(_0x48a709,_0x3b1dfb,_0x24ed5d);let _0x2935d7=class extends _0x197d59[_0x10d65d(0x308)]{constructor(_0x1241bc,_0x5b5a74,_0x1e1985,_0x369e88){const _0x5cca62=_0x10d65d;super(),_0x3ab141(this,_0x5cca62(0x355)),(this['_injector']=_0x1241bc,this[_0x5cca62(0x213)]=_0x5b5a74,this[_0x5cca62(0x434)]=_0x1e1985,this[_0x5cca62(0x459)]=_0x369e88,this[_0x5cca62(0x36d)]());}[_0x10d65d(0x36d)](){const _0x2ca83c=_0x10d65d;this[_0x2ca83c(0x1ba)](),this[_0x2ca83c(0x229)](),this[_0x2ca83c(0x28a)](),this[_0x2ca83c(0x3bb)]();}[_0x10d65d(0x3bb)](){const _0x257e8c=_0x10d65d;this[_0x257e8c(0x406)](this[_0x257e8c(0x459)][_0x257e8c(0x307)][_0x257e8c(0x38e)](_0x4cdf08=>{const _0x17b1b8=_0x257e8c;this[_0x17b1b8(0x355)]=_0x4cdf08==null?void 0x0:_0x4cdf08[_0x17b1b8(0x2a7)];}));}[_0x10d65d(0x1ba)](){const _0x327e26=_0x10d65d,_0x3ed2f8=_0x5680d1=>{const _0x53fd07=_0x3b56;var _0x325af7;this[_0x53fd07(0x255)]('error',_0x53fd07(0x334)+_0x5680d1[_0x53fd07(0x2c8)]+_0x53fd07(0x3cf)+_0x5680d1[_0x53fd07(0x1e1)]+':'+_0x5680d1[_0x53fd07(0x1a9)]+':'+_0x5680d1[_0x53fd07(0x20c)]+'\x0a'+(((_0x325af7=_0x5680d1['error'])==null?void 0x0:_0x325af7[_0x53fd07(0x3a8)])||''));};window['addEventListener'](_0x327e26(0x357),_0x3ed2f8),this[_0x327e26(0x406)](()=>{const _0x49367b=_0x327e26;window[_0x49367b(0x1d3)](_0x49367b(0x357),_0x3ed2f8);});}[_0x10d65d(0x229)](){const _0x5ab66d=_0x10d65d,_0x82eb56=_0x4fcc3e=>{const _0xd2e1de=_0x3b56;this[_0xd2e1de(0x255)](_0xd2e1de(0x357),'[Unhandled\x20Rejection]:\x20'+_0x4fcc3e[_0xd2e1de(0x444)]);};window[_0x5ab66d(0x323)](_0x5ab66d(0x445),_0x82eb56),this[_0x5ab66d(0x406)](()=>{const _0x5b1ef7=_0x5ab66d;window[_0x5b1ef7(0x1d3)]('unhandledrejection',_0x82eb56);});}['_monkeyPatchLogService'](){const _0x217caa=_0x10d65d,_0x40e4b3=this[_0x217caa(0x434)][_0x217caa(0x357)][_0x217caa(0x221)](this['_logService']);this[_0x217caa(0x434)][_0x217caa(0x357)]=(..._0x2c402a)=>{const _0x1998a9=_0x217caa,_0x1830a8=_0x2c402a[_0x1998a9(0x28f)](_0x4ee89a=>_0x4ee89a instanceof Error?_0x4ee89a[_0x1998a9(0x2c8)]+'\x0a'+_0x4ee89a[_0x1998a9(0x3a8)]:String(_0x4ee89a))[_0x1998a9(0x3a5)]('\x20');this[_0x1998a9(0x255)](_0x1998a9(0x357),_0x1998a9(0x254)+_0x1830a8),_0x40e4b3(..._0x2c402a);},this[_0x217caa(0x406)](()=>{this['_logService']['error']=_0x40e4b3;});}[_0x10d65d(0x255)](_0x31f0f0,_0x11abf8){const _0x1d4999=_0x10d65d;try{const _0x312c59={'userId':this[_0x1d4999(0x355)],'logLabel':_0x31f0f0,'content':_0x11abf8};this[_0x1d4999(0x213)][_0x1d4999(0x1d0)](_0x1d4999(0x24d),{'body':_0x312c59})['catch'](()=>{});}catch{}}};_0x2935d7=_0x55d60e([_0x1ddafd(0x0,_0x197d59['Inject'](_0x197d59['Injector'])),_0x1ddafd(0x1,_0x197d59[_0x10d65d(0x1de)](_0x7b80a['HTTPService'])),_0x1ddafd(0x2,_0x197d59[_0x10d65d(0x439)]),_0x1ddafd(0x3,_0x197d59[_0x10d65d(0x1de)](_0x51298c[_0x10d65d(0x3b0)]))],_0x2935d7);const _0x51fecf=_0x10d65d(0x201),_0x18365a={};var _0x5a2ab5=Object[_0x10d65d(0x17f)],_0x1a9972=(_0x10a4e0,_0x52fa79,_0x1b01d3,_0xe9d38b)=>{const _0x42ec96=_0x10d65d;for(var _0x2267a7=_0xe9d38b>0x1?void 0x0:_0xe9d38b?_0x5a2ab5(_0x52fa79,_0x1b01d3):_0x52fa79,_0x1e51b0=_0x10a4e0[_0x42ec96(0x344)]-0x1,_0x56c011;_0x1e51b0>=0x0;_0x1e51b0--)(_0x56c011=_0x10a4e0[_0x1e51b0])&&(_0x2267a7=_0x56c011(_0x2267a7)||_0x2267a7);return _0x2267a7;},_0x315524=(_0x1cb8f0,_0x399deb)=>(_0x13d8c1,_0x37a66c)=>_0x399deb(_0x13d8c1,_0x37a66c,_0x1cb8f0);let _0x5a0166=class{constructor(_0x477d59,_0x5d725a){const _0x14843f=_0x10d65d;this[_0x14843f(0x2bb)]=_0x477d59,this[_0x14843f(0x22d)]=_0x5d725a;}[_0x10d65d(0x1bd)](_0x484d30){const _0x125160=_0x10d65d;this[_0x125160(0x2fc)](_0x484d30),this[_0x125160(0x2f8)](_0x484d30);}[_0x10d65d(0x320)](_0x274309){const _0x2d7937=_0x10d65d,{unitID:_0x7bd8f6}=_0x274309,_0x3a7d57=this[_0x2d7937(0x22d)][_0x2d7937(0x222)](_0x7bd8f6)[_0x2d7937(0x3a2)](_0x3b2259[_0x2d7937(0x26f)]),{redoCache:_0xafeb91}=_0x3a7d57[_0x2d7937(0x203)]();if(_0xafeb91['length']===0x0)return _0x274309;let _0x3f00ef=_0x197d59[_0x2d7937(0x388)][_0x2d7937(0x31e)](_0x274309[_0x2d7937(0x35d)][0x0]);for(let _0x5b1bfa=0x0;_0x5b1bfa<_0xafeb91[_0x2d7937(0x344)];_0x5b1bfa++){const _0x2ffcaa={'id':_0x2d7937(0x3e4),'params':{..._0xafeb91[_0x5b1bfa]}},_0x32abf5=this[_0x2d7937(0x2bb)][_0x2d7937(0x2c1)](_0x3f00ef,_0x2ffcaa,!0x1);if(_0x249f8c[_0x2d7937(0x2b6)](_0x32abf5))throw _0x32abf5[_0x2d7937(0x357)];_0x3f00ef=_0x32abf5['m1Prime'];}return{..._0x197d59[_0x2d7937(0x388)][_0x2d7937(0x31e)](_0x274309),'mutations':[_0x3f00ef]};}[_0x10d65d(0x2fc)](_0x29e877){const _0x935a37=_0x10d65d,{unitID:_0x512a97}=_0x29e877,_0xd95828=this[_0x935a37(0x22d)]['getRenderById'](_0x512a97)[_0x935a37(0x3a2)](_0x3b2259[_0x935a37(0x26f)]),{undoCache:_0x1fe8a8,redoCache:_0x33877f}=_0xd95828[_0x935a37(0x203)]();if(_0x1fe8a8[_0x935a37(0x344)]===0x0||_0x33877f[_0x935a37(0x344)]===0x0)return;const _0x58ae65=[],_0x16c2b3=[];let _0x17f8c7=_0x197d59['Tools'][_0x935a37(0x31e)](_0x29e877[_0x935a37(0x35d)][0x0]),_0x28de58=_0x197d59['Tools'][_0x935a37(0x31e)](_0x29e877[_0x935a37(0x35d)][0x0]);for(let _0x129a12=_0x1fe8a8['length']-0x1;_0x129a12>=0x0;_0x129a12--){const _0x3df64c={'id':_0x935a37(0x3e4),'params':{..._0x1fe8a8[_0x129a12]}},_0x16215d={'id':_0x935a37(0x3e4),'params':{..._0x33877f[_0x129a12]}},_0x70d4a3=this['_transformService'][_0x935a37(0x2c1)](_0x17f8c7,_0x3df64c,!0x1),_0x53a737=this['_transformService'][_0x935a37(0x2c1)](_0x28de58,_0x16215d,!0x1);if(_0x249f8c['isTransformMutationFailure'](_0x70d4a3))throw _0x70d4a3[_0x935a37(0x357)];if(_0x249f8c[_0x935a37(0x2b6)](_0x53a737))throw _0x53a737[_0x935a37(0x357)];_0x58ae65[_0x935a37(0x360)](_0x70d4a3[_0x935a37(0x3c9)][_0x935a37(0x380)]),_0x16c2b3[_0x935a37(0x360)](_0x53a737[_0x935a37(0x3c9)][_0x935a37(0x380)]),_0x17f8c7=_0x70d4a3[_0x935a37(0x249)],_0x28de58=_0x53a737['m1Prime'];}_0xd95828[_0x935a37(0x379)]({'undoCache':_0x58ae65,'redoCache':_0x16c2b3});}['_transformPreviousActiveRange'](_0x1e0797){const _0x4472e8=_0x10d65d,{unitID:_0x6ad9f2}=_0x1e0797,_0x4124cf=this[_0x4472e8(0x22d)][_0x4472e8(0x222)](_0x6ad9f2)['with'](_0x3b2259[_0x4472e8(0x26f)]),_0x4626ef=_0x4124cf['getActiveRange']();if(_0x4626ef==null)return;const _0x13ca2f=[{'id':_0x4472e8(0x3e4),'params':{'unitId':_0x1e0797[_0x4472e8(0x370)],'actions':null,'textRanges':[_0x4626ef]}}],_0x303f71=this['_transformService']['transformMutationsWithChangeset'](_0x1e0797,_0x13ca2f);if(!_0x249f8c[_0x4472e8(0x1b6)](_0x303f71))throw _0x303f71['error'];const _0x26d538=_0x303f71['m2Prime'][0x0]['params'][_0x4472e8(0x1a8)];Array[_0x4472e8(0x1af)](_0x26d538)&&_0x26d538['length']&&_0x4124cf[_0x4472e8(0x26a)](_0x26d538[0x0]);}};_0x5a0166=_0x1a9972([_0x315524(0x0,_0x249f8c['ITransformService']),_0x315524(0x1,_0x4ef8d4['IRenderManagerService'])],_0x5a0166);var _0xa8adb1=Object[_0x10d65d(0x17f)],_0x51ea0f=(_0x4e5ef2,_0x1ced38,_0x304a60,_0x4fd47c)=>{for(var _0x519fd5=_0x4fd47c>0x1?void 0x0:_0x4fd47c?_0xa8adb1(_0x1ced38,_0x304a60):_0x1ced38,_0x155e21=_0x4e5ef2['length']-0x1,_0x5d51ad;_0x155e21>=0x0;_0x155e21--)(_0x5d51ad=_0x4e5ef2[_0x155e21])&&(_0x519fd5=_0x5d51ad(_0x519fd5)||_0x519fd5);return _0x519fd5;},_0x4d96e7=(_0x28bcb7,_0x2bd993)=>(_0x4724d0,_0x49e49c)=>_0x2bd993(_0x4724d0,_0x49e49c,_0x28bcb7);let _0x6d0f29=class{constructor(_0x53f576,_0x115045,_0x5c4601){const _0x3805c6=_0x10d65d;this['_injector']=_0x53f576,this[_0x3805c6(0x2bb)]=_0x115045,this[_0x3805c6(0x3bd)]=_0x5c4601;}['transformStateCache'](_0x433f69){const _0x4dab5e=_0x10d65d;this[_0x4dab5e(0x431)](_0x433f69);}[_0x10d65d(0x320)](_0x1d2c69){const _0x46b487=_0x10d65d,{unitID:_0x4d2dff}=_0x1d2c69,{collaboration:_0x56678c}=this[_0x46b487(0x3bd)][_0x46b487(0x242)](_0x4d2dff);if(_0x56678c[_0x46b487(0x344)]===0x0)return _0x1d2c69;let _0x7ae8fc=_0x197d59[_0x46b487(0x388)][_0x46b487(0x31e)](_0x1d2c69[_0x46b487(0x35d)][0x0]);for(let _0x1fdb23=0x0;_0x1fdb23<_0x56678c[_0x46b487(0x344)];_0x1fdb23++){const _0x46e291={'id':_0x46b487(0x3e4),'params':{'unitId':_0x56678c[_0x1fdb23]['unitId'],..._0x56678c[_0x1fdb23][_0x46b487(0x2ae)]}},_0x223598=this[_0x46b487(0x2bb)][_0x46b487(0x2c1)](_0x7ae8fc,_0x46e291,!0x1);if(_0x249f8c[_0x46b487(0x2b6)](_0x223598))throw _0x223598[_0x46b487(0x357)];_0x7ae8fc=_0x223598[_0x46b487(0x249)];}return{..._0x197d59['Tools'][_0x46b487(0x31e)](_0x1d2c69),'mutations':[_0x7ae8fc]};}[_0x10d65d(0x431)](_0x5ce037){const _0x3d31ad=_0x10d65d,{unitID:_0x406c1a}=_0x5ce037,{history:_0x134da9,collaboration:_0x5d9db4}=this[_0x3d31ad(0x3bd)][_0x3d31ad(0x242)](_0x406c1a);if(_0x134da9['length']===0x0&&_0x5d9db4[_0x3d31ad(0x344)]===0x0)return;const _0x4b5c98=[],_0x305786=[];let _0x4f8993=_0x197d59[_0x3d31ad(0x388)][_0x3d31ad(0x31e)](_0x5ce037[_0x3d31ad(0x35d)][0x0]),_0x3f9ef6=_0x197d59[_0x3d31ad(0x388)][_0x3d31ad(0x31e)](_0x5ce037['mutations'][0x0]);for(let _0xf5a063=_0x134da9[_0x3d31ad(0x344)]-0x1;_0xf5a063>=0x0;_0xf5a063--){const _0x59d9f8={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x134da9[_0xf5a063][_0x3d31ad(0x3cc)],..._0x134da9[_0xf5a063]['undoState']}},_0x25c965={'id':_0x3d31ad(0x3e4),'params':{'unitId':_0x134da9[_0xf5a063]['unitId'],..._0x134da9[_0xf5a063]['redoState']}},_0x1d0b8e=this[_0x3d31ad(0x2bb)][_0x3d31ad(0x2c1)](_0x4f8993,_0x59d9f8,!0x1),_0x4b5be9=this['_transformService'][_0x3d31ad(0x2c1)](_0x3f9ef6,_0x25c965,!0x1);if(_0x249f8c[_0x3d31ad(0x2b6)](_0x1d0b8e))throw _0x1d0b8e['error'];if(_0x249f8c[_0x3d31ad(0x2b6)](_0x4b5be9))throw _0x4b5be9['error'];_0x4b5c98['unshift']({..._0x134da9[_0xf5a063],'undoState':_0x1d0b8e['m2Prime']['params'],'redoState':_0x4b5be9[_0x3d31ad(0x3c9)][_0x3d31ad(0x380)]}),_0x4f8993=_0x1d0b8e[_0x3d31ad(0x249)],_0x3f9ef6=_0x4b5be9[_0x3d31ad(0x249)];}_0x4f8993=_0x197d59['Tools'][_0x3d31ad(0x31e)](_0x5ce037[_0x3d31ad(0x35d)][0x0]),_0x3f9ef6=_0x197d59[_0x3d31ad(0x388)]['deepClone'](_0x5ce037[_0x3d31ad(0x35d)][0x0]);for(let _0x48b56a=_0x5d9db4[_0x3d31ad(0x344)]-0x1;_0x48b56a>=0x0;_0x48b56a--){const _0x158bb1={'id':_0x3d31ad(0x3e4),'params':{'unitId':_0x5d9db4[_0x48b56a][_0x3d31ad(0x3cc)],..._0x5d9db4[_0x48b56a][_0x3d31ad(0x356)]}},_0x5f3b42={'id':_0x3d31ad(0x3e4),'params':{'unitId':_0x5d9db4[_0x48b56a][_0x3d31ad(0x3cc)],..._0x5d9db4[_0x48b56a][_0x3d31ad(0x2ae)]}},_0x4f121d=this[_0x3d31ad(0x2bb)][_0x3d31ad(0x2c1)](_0x4f8993,_0x158bb1,!0x1),_0x54e7ed=this[_0x3d31ad(0x2bb)][_0x3d31ad(0x2c1)](_0x3f9ef6,_0x5f3b42,!0x1);if(_0x249f8c[_0x3d31ad(0x2b6)](_0x4f121d))throw _0x4f121d[_0x3d31ad(0x357)];if(_0x249f8c[_0x3d31ad(0x2b6)](_0x54e7ed))throw _0x54e7ed[_0x3d31ad(0x357)];_0x305786['unshift']({..._0x5d9db4[_0x48b56a],'undoState':_0x4f121d[_0x3d31ad(0x3c9)][_0x3d31ad(0x380)],'redoState':_0x54e7ed['m2Prime'][_0x3d31ad(0x380)]}),_0x4f8993=_0x4f121d[_0x3d31ad(0x249)],_0x3f9ef6=_0x54e7ed[_0x3d31ad(0x249)];}this[_0x3d31ad(0x3bd)][_0x3d31ad(0x39e)](_0x406c1a,{'history':_0x4b5c98,'collaboration':_0x305786});}};_0x6d0f29=_0x51ea0f([_0x4d96e7(0x0,_0x197d59[_0x10d65d(0x1de)](_0x197d59['Injector'])),_0x4d96e7(0x1,_0x249f8c[_0x10d65d(0x311)]),_0x4d96e7(0x2,_0x197d59[_0x10d65d(0x1de)](_0x3b2259[_0x10d65d(0x312)]))],_0x6d0f29);var _0x5eeb2e=Object['getOwnPropertyDescriptor'],_0x4b396b=(_0x3a7fbb,_0x4ee44c,_0x298f3f,_0x26defe)=>{const _0x51a971=_0x10d65d;for(var _0x343726=_0x26defe>0x1?void 0x0:_0x26defe?_0x5eeb2e(_0x4ee44c,_0x298f3f):_0x4ee44c,_0x5a511b=_0x3a7fbb[_0x51a971(0x344)]-0x1,_0x156b2c;_0x5a511b>=0x0;_0x5a511b--)(_0x156b2c=_0x3a7fbb[_0x5a511b])&&(_0x343726=_0x156b2c(_0x343726)||_0x343726);return _0x343726;},_0x56388c=(_0x35a457,_0x23adca)=>(_0x1f9ccd,_0x10b955)=>_0x23adca(_0x1f9ccd,_0x10b955,_0x35a457);let _0x5d1eb3=class{constructor(_0x51e795,_0x5126cf){const _0x297939=_0x10d65d;this[_0x297939(0x3a1)]=_0x51e795,this['_transformService']=_0x5126cf;}[_0x10d65d(0x246)](_0x14c296){const _0x1b220a=_0x10d65d;var _0x1c3186;const _0x1af3c9=this[_0x1b220a(0x3a1)][_0x1b220a(0x3ec)](_0xa4499d[_0x1b220a(0x251)]),_0x26b3fc=(_0x1c3186=_0x1af3c9[_0x1b220a(0x43e)]())!=null?_0x1c3186:[];if(_0x26b3fc[_0x1b220a(0x344)]===0x0)return;const _0xe21473=_0x14c296[_0x1b220a(0x370)],_0x50c5b2=[{'id':_0x1b220a(0x3e4),'params':{'unitId':_0xe21473,'actions':null,'textRanges':_0x26b3fc}}],_0x55d9c3=this['_transformService'][_0x1b220a(0x336)](_0x14c296,_0x50c5b2);if(!_0x249f8c['isTransformMutationsWithChangesetSuccess'](_0x55d9c3))throw _0x55d9c3[_0x1b220a(0x357)];const _0x510328=_0x55d9c3[_0x1b220a(0x3c9)][0x0]['params'][_0x1b220a(0x1a8)];Array[_0x1b220a(0x1af)](_0x510328)&&_0x510328[_0x1b220a(0x344)]&&_0x1af3c9[_0x1b220a(0x1e0)](_0x510328,{'unitId':_0xe21473,'subUnitId':_0xe21473},!0x1);}};_0x5d1eb3=_0x4b396b([_0x56388c(0x0,_0x197d59[_0x10d65d(0x1de)](_0x197d59[_0x10d65d(0x270)])),_0x56388c(0x1,_0x249f8c['ITransformService'])],_0x5d1eb3);var _0x41dc4d=Object[_0x10d65d(0x17f)],_0x42f707=(_0x202658,_0x358595,_0x4a18b7,_0x436c5a)=>{const _0x270ffe=_0x10d65d;for(var _0x49b21f=_0x436c5a>0x1?void 0x0:_0x436c5a?_0x41dc4d(_0x358595,_0x4a18b7):_0x358595,_0x5eb906=_0x202658[_0x270ffe(0x344)]-0x1,_0x527788;_0x5eb906>=0x0;_0x5eb906--)(_0x527788=_0x202658[_0x5eb906])&&(_0x49b21f=_0x527788(_0x49b21f)||_0x49b21f);return _0x49b21f;},_0x2102db=(_0x238763,_0x40c686)=>(_0x2264ae,_0x404e15)=>_0x40c686(_0x2264ae,_0x404e15,_0x238763);let _0x10a052=class extends _0x197d59[_0x10d65d(0x308)]{constructor(_0x24ebff,_0x2a7637,_0x3e0a64,_0x591a5b,_0x357697,_0x3396cb,_0x59ddb9,_0x4b8413){const _0x24f0fb=_0x10d65d;super(),_0x3ab141(this,_0x24f0fb(0x39c),new _0x22ea33[(_0x24f0fb(0x3e8))](_0x51298c[_0x24f0fb(0x3aa)][_0x24f0fb(0x36a)])),(this[_0x24f0fb(0x3bd)]=_0x24ebff,this[_0x24f0fb(0x1bc)]=_0x2a7637,this['_docTransformIMECacheService']=_0x3e0a64,this[_0x24f0fb(0x38a)]=_0x591a5b,this[_0x24f0fb(0x3f4)]=_0x357697,this[_0x24f0fb(0x321)]=_0x3396cb,this[_0x24f0fb(0x319)]=_0x59ddb9,this[_0x24f0fb(0x1f6)]=_0x4b8413,this['_initEntityListener']());}['_initEntityListener'](){const _0x21adff=_0x10d65d;this[_0x21adff(0x406)](this[_0x21adff(0x1bc)]['entityInit$']['subscribe'](_0x546027=>{const _0x3386a3=_0x21adff,_0x2069e6=this[_0x3386a3(0x3bd)][_0x3386a3(0x1cb)][_0x3386a3(0x38e)](_0x2d2321=>{const _0x53e572=_0x3386a3;if(_0x2d2321==null)return;const {unitId:_0x41f933,redoState:_0x154234,commandId:_0x46d76e}=_0x2d2321;if(_0x41f933!==_0x546027['unitID'])return;const _0x323d6b={'id':_0x46d76e,'type':_0x197d59[_0x53e572(0x2e2)][_0x53e572(0x2f6)],'params':{'unitId':_0x41f933,'actions':_0x154234[_0x53e572(0x1d6)],'textRanges':null}};_0x546027[_0x53e572(0x2e5)](_0x323d6b);});if(_0x546027['disposeWithMe'](_0x2069e6),_0x546027 instanceof _0x51298c[_0x3386a3(0x2a8)]){const _0x1f7772={'onTransformIME':_0x44be75=>this['_docTransformIMECacheService']['transformIMECache'](_0x44be75),'onTransformState':_0x248d9e=>this['_docTransformStateCacheService'][_0x3386a3(0x354)](_0x248d9e),'onTransformSelections':_0x198cde=>this['_docTransformSelectionsService']['transformSelections'](_0x198cde),'onSyncEditingCollabCursor':_0x48ff39=>this[_0x3386a3(0x321)][_0x3386a3(0x1c5)](_0x48ff39),'onTransformRemoteChangesetByIMECache':_0xb786bc=>this[_0x3386a3(0x34c)][_0x3386a3(0x320)](_0xb786bc),'onTransformRemoteChangesetByStateCache':_0x21f884=>this[_0x3386a3(0x38a)][_0x3386a3(0x320)](_0x21f884)};_0x546027[_0x3386a3(0x26e)](_0x1f7772);}}));}};_0x10a052=_0x42f707([_0x2102db(0x0,_0x197d59['Inject'](_0x3b2259[_0x10d65d(0x312)])),_0x2102db(0x1,_0x197d59[_0x10d65d(0x1de)](_0x51298c['CollaborationController'])),_0x2102db(0x2,_0x197d59[_0x10d65d(0x1de)](_0x5a0166)),_0x2102db(0x3,_0x197d59['Inject'](_0x6d0f29)),_0x2102db(0x4,_0x197d59[_0x10d65d(0x1de)](_0x5d1eb3)),_0x2102db(0x5,_0x197d59['Inject'](_0x590b29)),_0x2102db(0x6,_0x5a190a['IMessageService']),_0x2102db(0x7,_0x197d59[_0x10d65d(0x1de)](_0x197d59[_0x10d65d(0x3b5)]))],_0x10a052);var _0x42e28c=(_0x5e95cb=>(_0x5e95cb[_0x5e95cb['UNDEFINED']=0x0]=_0x10d65d(0x44b),_0x5e95cb[_0x5e95cb['OK']=0x1]='OK',_0x5e95cb[_0x5e95cb['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x5e95cb[_0x5e95cb[_0x10d65d(0x435)]=0x3]=_0x10d65d(0x435),_0x5e95cb[_0x5e95cb[_0x10d65d(0x3f3)]=0x4]=_0x10d65d(0x3f3),_0x5e95cb[_0x5e95cb[_0x10d65d(0x281)]=0x5]='UNAUTHENTICATED',_0x5e95cb[_0x5e95cb[_0x10d65d(0x303)]=0x6]=_0x10d65d(0x303),_0x5e95cb[_0x5e95cb[_0x10d65d(0x2a9)]=0x7]='INVALID_ARGUMENT',_0x5e95cb[_0x5e95cb[_0x10d65d(0x24b)]=0x8]=_0x10d65d(0x24b),_0x5e95cb[_0x5e95cb[_0x10d65d(0x42f)]=0x9]=_0x10d65d(0x42f),_0x5e95cb[_0x5e95cb['LOGIN_FAILED']=0xa]=_0x10d65d(0x3e3),_0x5e95cb[_0x5e95cb[_0x10d65d(0x348)]=0xb]=_0x10d65d(0x348),_0x5e95cb[_0x5e95cb[_0x10d65d(0x2e6)]=0xc]=_0x10d65d(0x2e6),_0x5e95cb[_0x5e95cb[_0x10d65d(0x2c3)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5e95cb[_0x5e95cb[_0x10d65d(0x3af)]=0xe]=_0x10d65d(0x3af),_0x5e95cb[_0x5e95cb[_0x10d65d(0x327)]=0xf]=_0x10d65d(0x327),_0x5e95cb[_0x5e95cb[_0x10d65d(0x2fe)]=0x10]=_0x10d65d(0x2fe),_0x5e95cb[_0x5e95cb[_0x10d65d(0x404)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x5e95cb[_0x5e95cb[_0x10d65d(0x27c)]=0x65]='ERROR_AGAIN',_0x5e95cb[_0x5e95cb[_0x10d65d(0x23b)]=0xc9]=_0x10d65d(0x23b),_0x5e95cb[_0x5e95cb[_0x10d65d(0x3c8)]=0xca]=_0x10d65d(0x3c8),_0x5e95cb[_0x5e95cb[_0x10d65d(0x2fd)]=0x1389]=_0x10d65d(0x2fd),_0x5e95cb[_0x5e95cb[_0x10d65d(0x401)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5e95cb[_0x5e95cb[_0x10d65d(0x2a0)]=0x1772]=_0x10d65d(0x2a0),_0x5e95cb[_0x5e95cb[_0x10d65d(0x2d2)]=0x1773]=_0x10d65d(0x2d2),_0x5e95cb[_0x5e95cb[_0x10d65d(0x31f)]=0x1b59]='APPLY_REJECT',_0x5e95cb[_0x5e95cb[_0x10d65d(0x42d)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x5e95cb[_0x5e95cb[_0x10d65d(0x385)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5e95cb[_0x5e95cb[_0x10d65d(0x17b)]=0x1b5c]=_0x10d65d(0x17b),_0x5e95cb[_0x5e95cb['APPLY_DUPLICATED']=0x1b5d]=_0x10d65d(0x373),_0x5e95cb[_0x5e95cb[_0x10d65d(0x338)]=0x1f41]=_0x10d65d(0x338),_0x5e95cb[_0x5e95cb['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5e95cb[_0x5e95cb[_0x10d65d(0x2b2)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x5e95cb[_0x5e95cb[_0x10d65d(0x294)]=0x232b]=_0x10d65d(0x294),_0x5e95cb[_0x5e95cb[_0x10d65d(0x45e)]=0x232c]=_0x10d65d(0x45e),_0x5e95cb[_0x5e95cb['LICENSE_DISTRO_REJECTED']=0x232d]=_0x10d65d(0x247),_0x5e95cb[_0x5e95cb[_0x10d65d(0x340)]=0x2711]=_0x10d65d(0x340),_0x5e95cb[_0x5e95cb[_0x10d65d(0x367)]=0x2712]=_0x10d65d(0x367),_0x5e95cb[_0x5e95cb[_0x10d65d(0x1d2)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5e95cb[_0x5e95cb[_0x10d65d(0x313)]=0x2714]=_0x10d65d(0x313),_0x5e95cb[_0x5e95cb[_0x10d65d(0x25b)]=0x271a]=_0x10d65d(0x25b),_0x5e95cb[_0x5e95cb[_0x10d65d(0x31b)]=0x271b]=_0x10d65d(0x31b),_0x5e95cb[_0x5e95cb[_0x10d65d(0x413)]=0x271c]=_0x10d65d(0x413),_0x5e95cb[_0x5e95cb['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x10d65d(0x1f7),_0x5e95cb[_0x5e95cb[_0x10d65d(0x3ce)]=0x271e]=_0x10d65d(0x3ce),_0x5e95cb[_0x5e95cb['YUUMI_AI_RUN_FAILED']=0x271f]=_0x10d65d(0x25f),_0x5e95cb[_0x5e95cb[_0x10d65d(0x17d)]=0x2720]=_0x10d65d(0x17d),_0x5e95cb[_0x5e95cb[_0x10d65d(0x2f3)]=0x2af9]=_0x10d65d(0x2f3),_0x5e95cb[_0x5e95cb[_0x10d65d(0x382)]=0x2ee1]=_0x10d65d(0x382),_0x5e95cb[_0x5e95cb[_0x10d65d(0x1dc)]=0x2ee2]=_0x10d65d(0x1dc),_0x5e95cb[_0x5e95cb[_0x10d65d(0x350)]=0x2ee3]=_0x10d65d(0x350),_0x5e95cb[_0x5e95cb[_0x10d65d(0x377)]=0x2ee4]=_0x10d65d(0x377),_0x5e95cb[_0x5e95cb[_0x10d65d(0x296)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x5e95cb[_0x5e95cb[_0x10d65d(0x43f)]=0x32c9]=_0x10d65d(0x43f),_0x5e95cb[_0x5e95cb['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x10d65d(0x200),_0x5e95cb[_0x5e95cb[_0x10d65d(0x297)]=0x32cb]=_0x10d65d(0x297),_0x5e95cb[_0x5e95cb[_0x10d65d(0x29f)]=0x36b1]=_0x10d65d(0x29f),_0x5e95cb[_0x5e95cb['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x10d65d(0x21b),_0x5e95cb[_0x5e95cb[_0x10d65d(0x186)]=0x36b3]=_0x10d65d(0x186),_0x5e95cb[_0x5e95cb[_0x10d65d(0x2c0)]=0x36b4]=_0x10d65d(0x2c0),_0x5e95cb[_0x5e95cb[_0x10d65d(0x31a)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x5e95cb[_0x5e95cb[_0x10d65d(0x305)]=0x3716]=_0x10d65d(0x305),_0x5e95cb[_0x5e95cb[_0x10d65d(0x216)]=0x3717]=_0x10d65d(0x216),_0x5e95cb[_0x5e95cb[_0x10d65d(0x1ec)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x5e95cb[_0x5e95cb['REDEMPTION_INVALID_CODE']=0x3a99]=_0x10d65d(0x1db),_0x5e95cb[_0x5e95cb[_0x10d65d(0x299)]=0x3a9a]=_0x10d65d(0x299),_0x5e95cb[_0x5e95cb[_0x10d65d(0x1bf)]=0x3a9b]=_0x10d65d(0x1bf),_0x5e95cb[_0x5e95cb[_0x10d65d(0x25a)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x5e95cb[_0x5e95cb[_0x10d65d(0x1c6)]=0x3a9d]=_0x10d65d(0x1c6),_0x5e95cb[_0x5e95cb[_0x10d65d(0x1e4)]=0x3a9e]=_0x10d65d(0x1e4),_0x5e95cb[_0x5e95cb['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x5e95cb[_0x5e95cb['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x10d65d(0x2b8),_0x5e95cb[_0x5e95cb[_0x10d65d(0x44a)]=-0x1]=_0x10d65d(0x44a),_0x5e95cb))(_0x42e28c||{});function _0x280f12(_0x4478f3){const _0x54fdad=_0x10d65d;var _0x10d320,_0x5bf47d;const _0x2ca004=(_0x10d320=_0x4478f3[_0x54fdad(0x3df)])==null?void 0x0:_0x10d320['stage'],_0x579753=((_0x5bf47d=_0x4478f3[_0x54fdad(0x3df)])==null?void 0x0:_0x5bf47d[_0x54fdad(0x29a)])||0x0;return _0x2ca004===_0x1a5e73['FormulaExecuteStageType'][_0x54fdad(0x42c)]&&_0x579753>0x0;}function _0x38f6f8(_0x185015){const _0x51ae4e=_0x10d65d;return _0x185015[_0x51ae4e(0x2b1)]===_0x1a5e73[_0x51ae4e(0x37d)][_0x51ae4e(0x1c3)];}var _0x5251c6=Object[_0x10d65d(0x17f)],_0x24d99a=(_0x39a312,_0x8d527e,_0x33b21a,_0x50b494)=>{const _0x3c5f92=_0x10d65d;for(var _0x58c960=_0x50b494>0x1?void 0x0:_0x50b494?_0x5251c6(_0x8d527e,_0x33b21a):_0x8d527e,_0x1b824c=_0x39a312[_0x3c5f92(0x344)]-0x1,_0x41b136;_0x1b824c>=0x0;_0x1b824c--)(_0x41b136=_0x39a312[_0x1b824c])&&(_0x58c960=_0x41b136(_0x58c960)||_0x58c960);return _0x58c960;},_0x265e25=(_0x2b87e2,_0x171fb2)=>(_0x454c0d,_0x3c7add)=>_0x171fb2(_0x454c0d,_0x3c7add,_0x2b87e2);const _0x422c50=_0x10d65d(0x3e2),_0x1a80ac='/universer-api/license/formula/limit/start',_0x4a2d89=_0x10d65d(0x38c);let _0x5f305f=class extends _0x197d59[_0x10d65d(0x308)]{constructor(_0xd31d1a,_0x4a71e2,_0x29cfb6,_0x4987d3,_0x97e3e1,_0x5b1412,_0x53647a){const _0x1a3a7f=_0x10d65d;super(),_0x3ab141(this,_0x1a3a7f(0x1bb),null),_0x3ab141(this,_0x1a3a7f(0x3c7),0x0),_0x3ab141(this,_0x1a3a7f(0x378),0x0),_0x3ab141(this,_0x1a3a7f(0x449),[]),_0x3ab141(this,_0x1a3a7f(0x40b),0x0),(this[_0x1a3a7f(0x319)]=_0xd31d1a,this['_commandService']=_0x4a71e2,this[_0x1a3a7f(0x3d8)]=_0x29cfb6,this[_0x1a3a7f(0x213)]=_0x4987d3,this[_0x1a3a7f(0x1fb)]=_0x97e3e1,this[_0x1a3a7f(0x434)]=_0x5b1412,this['_localeService']=_0x53647a,this[_0x1a3a7f(0x205)]());}[_0x10d65d(0x205)](){const _0x1246d0=_0x10d65d;this[_0x1246d0(0x406)](this[_0x1246d0(0x456)][_0x1246d0(0x35a)]((_0x3da976,_0x103c3f)=>{const _0x262b63=_0x1246d0;var _0x12fed0;if(_0x3da976['id']!==_0x1a5e73['SetFormulaCalculationStartMutation']['id'])return;const _0x250218=_0x3da976[_0x262b63(0x380)];if(!this[_0x262b63(0x3ae)]((_0x12fed0=_0x250218[_0x262b63(0x432)])!=null?_0x12fed0:[]))return;if(!this[_0x262b63(0x34d)]())throw this['_checkAndWaitForCalculationPermission'](_0x3da976,_0x103c3f),this[_0x262b63(0x1f0)](),new _0x197d59[(_0x262b63(0x36b))]();})),this[_0x1246d0(0x406)](this['_commandService'][_0x1246d0(0x1e6)]((_0x4ca274,_0x1d80a3)=>{const _0x5ae814=_0x1246d0;if(_0x4ca274['id']!==_0x1a5e73[_0x5ae814(0x38b)]['id'])return;const _0x2e94e4=_0x4ca274['params'];if(_0x280f12(_0x2e94e4)){const _0x5dc03e=_0x197d59[_0x5ae814(0x310)]();this[_0x5ae814(0x449)][_0x5ae814(0x1e8)](_0x5dc03e),this[_0x5ae814(0x383)](_0x5dc03e);}else{if(_0x38f6f8(_0x2e94e4)&&this[_0x5ae814(0x449)]['length']>0x0){const _0x2a510c=this[_0x5ae814(0x449)][_0x5ae814(0x343)]();this[_0x5ae814(0x292)](_0x2a510c);}}}));}[_0x10d65d(0x195)](){const _0x12e3e8=_0x10d65d;super[_0x12e3e8(0x195)](),this['_clearPolling'](),this[_0x12e3e8(0x449)]=[],this[_0x12e3e8(0x378)]=0x0,this[_0x12e3e8(0x3c7)]=0x0,this[_0x12e3e8(0x40b)]=0x0;}async[_0x10d65d(0x253)](_0x2c0481,_0x3f5e7a){const _0x202aa8=_0x10d65d;for(let _0x47a1d=0x0;_0x47a1d<0x1e;_0x47a1d++)try{if(await this[_0x202aa8(0x2b3)](),this[_0x202aa8(0x34d)]()){this[_0x202aa8(0x440)](_0x2c0481,_0x3f5e7a),this[_0x202aa8(0x319)][_0x202aa8(0x400)]({'content':this[_0x202aa8(0x1f6)]['t'](_0x202aa8(0x1f5)),'type':_0xa9b0b1[_0x202aa8(0x1b5)][_0x202aa8(0x1ab)]});return;}await new Promise(_0x29216a=>{const _0x3096d2=_0x202aa8;this[_0x3096d2(0x1bb)]=window[_0x3096d2(0x2c4)](_0x29216a,0x3e8);});}catch(_0x561dc5){this[_0x202aa8(0x434)][_0x202aa8(0x357)](_0x561dc5);}this[_0x202aa8(0x319)][_0x202aa8(0x400)]({'content':this['_localeService']['t']('formula.calculation.unable'),'type':_0xa9b0b1[_0x202aa8(0x1b5)][_0x202aa8(0x24e)]});}[_0x10d65d(0x440)](_0xc3c31a,_0x105492){const _0x6b0c98=_0x10d65d;try{this[_0x6b0c98(0x456)][_0x6b0c98(0x1d4)](_0xc3c31a['id'],_0xc3c31a[_0x6b0c98(0x380)],_0x105492);}catch(_0x2f3f40){this[_0x6b0c98(0x434)][_0x6b0c98(0x357)](_0x2f3f40);}}[_0x10d65d(0x238)](_0x12979b,_0x1b1b59){const _0x46bba5=_0x10d65d;_0x1b1b59<this['_lastResponseTimestamp']||(this[_0x46bba5(0x40b)]=_0x1b1b59,this[_0x46bba5(0x3c7)]=Number[_0x46bba5(0x428)](_0x12979b[_0x46bba5(0x258)]),this[_0x46bba5(0x378)]=Number[_0x46bba5(0x428)](_0x12979b['currentUsage']));}async[_0x10d65d(0x383)](_0x4a5ac6){const _0x31b271=_0x10d65d;var _0x25f215,_0x3d004f;const _0x898b94=Date[_0x31b271(0x3eb)]();try{const _0x2bb9cb=((_0x25f215=this['_configService'][_0x31b271(0x271)](_0x51298c[_0x31b271(0x1a3)]))==null?void 0x0:_0x25f215[_0x31b271(0x3e0)])||_0x1a80ac,_0x38d835=(await this[_0x31b271(0x213)][_0x31b271(0x1d0)](_0x2bb9cb,{'body':JSON[_0x31b271(0x194)]({'taskId':_0x4a5ac6})}))[_0x31b271(0x417)];if(((_0x3d004f=_0x38d835[_0x31b271(0x357)])==null?void 0x0:_0x3d004f[_0x31b271(0x43b)])!==_0x42e28c['OK'])return;this[_0x31b271(0x238)](_0x38d835['limitInfo'],_0x898b94);}catch(_0x2d35d8){this[_0x31b271(0x434)][_0x31b271(0x357)](_0x2d35d8);}}async[_0x10d65d(0x2b3)](_0x175067){const _0x2d0332=_0x10d65d;var _0x1c97f5,_0x548b2c;const _0x226ac6=Date[_0x2d0332(0x3eb)]();try{const _0x283e65=((_0x1c97f5=this[_0x2d0332(0x3d8)][_0x2d0332(0x271)](_0x51298c[_0x2d0332(0x1a3)]))==null?void 0x0:_0x1c97f5[_0x2d0332(0x38d)])||_0x422c50,_0x126703=_0x175067?_0x283e65+'?taskId='+encodeURIComponent(_0x175067):_0x283e65,_0x4a6055=(await this[_0x2d0332(0x213)][_0x2d0332(0x3ec)](_0x126703))[_0x2d0332(0x417)];if(((_0x548b2c=_0x4a6055[_0x2d0332(0x357)])==null?void 0x0:_0x548b2c[_0x2d0332(0x43b)])!==_0x42e28c['OK'])return;this[_0x2d0332(0x238)](_0x4a6055[_0x2d0332(0x2ac)],_0x226ac6);}catch(_0x5a15d4){this[_0x2d0332(0x434)][_0x2d0332(0x357)](_0x5a15d4);}}async[_0x10d65d(0x292)](_0x593671){const _0xbb6e4a=_0x10d65d;var _0x2675b4,_0x7ad8a1;const _0x78cd1f=Date[_0xbb6e4a(0x3eb)]();try{const _0x5e3485=((_0x2675b4=this[_0xbb6e4a(0x3d8)][_0xbb6e4a(0x271)](_0x51298c[_0xbb6e4a(0x1a3)]))==null?void 0x0:_0x2675b4[_0xbb6e4a(0x32f)])||_0x4a2d89,_0x455f70=(await this[_0xbb6e4a(0x213)][_0xbb6e4a(0x1d0)](_0x5e3485,{'body':JSON['stringify']({'taskId':_0x593671})}))[_0xbb6e4a(0x417)];if(((_0x7ad8a1=_0x455f70['error'])==null?void 0x0:_0x7ad8a1[_0xbb6e4a(0x43b)])!==_0x42e28c['OK'])return;this[_0xbb6e4a(0x238)](_0x455f70[_0xbb6e4a(0x2ac)],_0x78cd1f);}catch(_0x21ccd3){this['_logService'][_0xbb6e4a(0x357)](_0x21ccd3);}}['_checkCalculationAvailable'](){const _0x138c4f=_0x10d65d;return this[_0x138c4f(0x3c7)]===0x0?!0x0:this[_0x138c4f(0x3c7)]-this[_0x138c4f(0x378)]>0x0;}[_0x10d65d(0x1f4)](){const _0x82abcc=_0x10d65d;this[_0x82abcc(0x1bb)]&&(clearTimeout(this[_0x82abcc(0x1bb)]),this[_0x82abcc(0x1bb)]=null);}[_0x10d65d(0x1f0)](){const _0x46573a=_0x10d65d;this[_0x46573a(0x319)][_0x46573a(0x400)]({'content':this[_0x46573a(0x1f6)]['t'](_0x46573a(0x225)),'type':_0xa9b0b1[_0x46573a(0x1b5)][_0x46573a(0x2da)]});}[_0x10d65d(0x3ae)](_0x39a85e){const _0x4b0504=_0x10d65d;for(const _0x21f117 of _0x39a85e){const {unitId:_0x465eb9,sheetId:_0x2322f6,range:_0x49eb92}=_0x21f117,_0x32638a=this['_univerInstanceService'][_0x4b0504(0x21e)](_0x465eb9);if(!_0x32638a)continue;const _0xf45610=_0x32638a['getSheetBySheetId'](_0x2322f6);if(!_0xf45610)continue;const _0x32bbe4=_0xf45610[_0x4b0504(0x306)]();for(let _0x292183=_0x49eb92[_0x4b0504(0x32a)];_0x292183<=_0x49eb92[_0x4b0504(0x1b2)];_0x292183++)for(let _0x5b941d=_0x49eb92['startColumn'];_0x5b941d<=_0x49eb92[_0x4b0504(0x2e7)];_0x5b941d++){const _0x58a41a=_0x32bbe4[_0x4b0504(0x215)](_0x292183,_0x5b941d);if(_0x58a41a&&(_0x197d59[_0x4b0504(0x1a0)](_0x58a41a['f'])||_0x197d59[_0x4b0504(0x409)](_0x58a41a['si'])))return!0x0;}}return!0x1;}};_0x5f305f=_0x24d99a([_0x265e25(0x0,_0x197d59[_0x10d65d(0x1de)](_0x5a190a['IMessageService'])),_0x265e25(0x1,_0x197d59[_0x10d65d(0x34a)]),_0x265e25(0x2,_0x197d59[_0x10d65d(0x27a)]),_0x265e25(0x3,_0x197d59[_0x10d65d(0x1de)](_0x7b80a[_0x10d65d(0x3dd)])),_0x265e25(0x4,_0x197d59[_0x10d65d(0x27e)]),_0x265e25(0x5,_0x197d59[_0x10d65d(0x439)]),_0x265e25(0x6,_0x197d59[_0x10d65d(0x1de)](_0x197d59[_0x10d65d(0x3b5)]))],_0x5f305f);var _0xba653b=Object['getOwnPropertyDescriptor'],_0x132c4f=(_0x4fb2a1,_0x17cacf,_0x412833,_0x25b4e1)=>{const _0x3842bc=_0x10d65d;for(var _0x136eb8=_0x25b4e1>0x1?void 0x0:_0x25b4e1?_0xba653b(_0x17cacf,_0x412833):_0x17cacf,_0x2a2b23=_0x4fb2a1[_0x3842bc(0x344)]-0x1,_0x4fc8bf;_0x2a2b23>=0x0;_0x2a2b23--)(_0x4fc8bf=_0x4fb2a1[_0x2a2b23])&&(_0x136eb8=_0x4fc8bf(_0x136eb8)||_0x136eb8);return _0x136eb8;},_0x4128b9=(_0x49d587,_0x12bca2)=>(_0x20360a,_0x3b492e)=>_0x12bca2(_0x20360a,_0x3b492e,_0x49d587);let _0x195ef9=class extends _0x197d59[_0x10d65d(0x308)]{constructor(_0x56435f,_0x43ff63,_0x304d73){const _0x120ec2=_0x10d65d;super(),_0x3ab141(this,_0x120ec2(0x264),new Map()),_0x3ab141(this,_0x120ec2(0x1dd),new Map()),_0x3ab141(this,'_disabled',!0x1),(this['_configService']=_0x56435f,this['_localStorageService']=_0x43ff63,this[_0x120ec2(0x3de)]=_0x304d73);}[_0x10d65d(0x1fc)](){const _0xc0d50c=_0x10d65d;this[_0xc0d50c(0x28c)]=!0x0;}[_0x10d65d(0x29e)](){const _0x45b819=_0x10d65d;this[_0x45b819(0x28c)]=!0x1;}get['saveTaskMap'](){const _0x5c5d89=_0x10d65d;return this[_0x5c5d89(0x1dd)];}[_0x10d65d(0x195)](){const _0x43b212=_0x10d65d;this['exhaustSavingTask']()['then'](()=>super[_0x43b212(0x195)]());}async[_0x10d65d(0x331)](_0x3436a0){const _0x367926=_0x10d65d;return this[_0x367926(0x28c)]?null:this[_0x367926(0x196)][_0x367926(0x23e)](_0x51298c['getLocalCacheKey'](_0x3436a0));}async[_0x10d65d(0x300)](_0x25090b,_0x161f65){const _0x31496e=_0x10d65d;return!!this[_0x31496e(0x196)][_0x31496e(0x3f0)](_0x25090b,_0x161f65);}['updateOfflineData'](_0x1d3650,_0x5177e0,_0x3c38cb,_0x45db8f){const _0x233695=_0x10d65d,_0x4a8426=this[_0x233695(0x3de)]['getCurrentRevOfUnit'](_0x1d3650);this['_cachedData'][_0x233695(0x3f2)](_0x1d3650,{'unitID':_0x1d3650,'type':_0x5177e0,'awaitingChangeset':_0x3c38cb,'mutations':_0x45db8f,'rev':_0x4a8426}),this[_0x233695(0x1dd)][_0x233695(0x1da)](_0x1d3650)||this[_0x233695(0x21f)](_0x1d3650);}[_0x10d65d(0x21f)](_0x37d92d){const _0x1f15c9=_0x10d65d,_0x33dfce=this['_getSaveTimeout']();_0x33dfce===0x0?this[_0x1f15c9(0x364)](_0x37d92d):this[_0x1f15c9(0x1dd)][_0x1f15c9(0x3f2)](_0x37d92d,setTimeout(()=>this[_0x1f15c9(0x364)](_0x37d92d),_0x33dfce));}['_getSaveTimeout'](){const _0x575c5b=_0x10d65d;var _0x2039d5;return(_0x2039d5=this[_0x575c5b(0x3d8)][_0x575c5b(0x271)](_0x51298c[_0x575c5b(0x1f9)]))!=null?_0x2039d5:_0x51298c[_0x575c5b(0x366)];}[_0x10d65d(0x364)](_0x407a7b){const _0x261b5c=_0x10d65d,_0x438ab2=this[_0x261b5c(0x1dd)][_0x261b5c(0x3ec)](_0x407a7b);return _0x438ab2!==void 0x0&&window[_0x261b5c(0x25e)](_0x438ab2),this[_0x261b5c(0x196)][_0x261b5c(0x3f0)](_0x51298c['getLocalCacheKey'](_0x407a7b),this[_0x261b5c(0x264)][_0x261b5c(0x3ec)](_0x407a7b))[_0x261b5c(0x18c)](()=>this[_0x261b5c(0x1dd)]['delete'](_0x407a7b));}async[_0x10d65d(0x2cd)](){const _0x44fca4=_0x10d65d,_0x1d89f0=[];this[_0x44fca4(0x1dd)][_0x44fca4(0x206)]((_0x2cd2da,_0x1b5a62)=>{const _0x5d0d98=_0x44fca4;window['clearTimeout'](_0x2cd2da),_0x1d89f0[_0x5d0d98(0x1e8)](this[_0x5d0d98(0x364)](_0x1b5a62)[_0x5d0d98(0x18c)](()=>{const _0x584c2f=_0x5d0d98;this['_saveTaskMap'][_0x584c2f(0x35e)](_0x1b5a62);}));}),await Promise[_0x44fca4(0x2ba)](_0x1d89f0);}};_0x195ef9=_0x132c4f([_0x4128b9(0x0,_0x197d59['IConfigService']),_0x4128b9(0x1,_0x197d59[_0x10d65d(0x250)]),_0x4128b9(0x2,_0x197d59[_0x10d65d(0x1de)](_0x249f8c[_0x10d65d(0x214)]))],_0x195ef9);class _0x58b1ad extends _0x197d59['RxDisposable']{constructor(){const _0x3e28cb=_0x10d65d;super(),_0x3ab141(this,_0x3e28cb(0x3fc)),this['urlChange$']=_0x22ea33['fromEvent'](window,_0x3e28cb(0x314))[_0x3e28cb(0x2be)](_0x22ea33[_0x3e28cb(0x41f)](this[_0x3e28cb(0x29c)]),_0x22ea33[_0x3e28cb(0x2f0)](0x1),_0x22ea33[_0x3e28cb(0x267)](void 0x0));}[_0x10d65d(0x42e)](_0x14d7cb,_0x29e19e,_0x3cf8fc=!0x1){const _0x1935d8=_0x10d65d,_0x4ec8b2=new URL(window[_0x1935d8(0x2e8)][_0x1935d8(0x433)]);_0x4ec8b2[_0x1935d8(0x19d)][_0x1935d8(0x3f2)](_0x14d7cb,_0x29e19e),_0x3cf8fc?window[_0x1935d8(0x3f8)][_0x1935d8(0x179)]('','',_0x4ec8b2[_0x1935d8(0x3cd)]()):window[_0x1935d8(0x3f8)]['pushState']('','',_0x4ec8b2['toString']());}[_0x10d65d(0x21c)](_0x36aaf7,_0x4fce96=!0x1){const _0x242fda=_0x10d65d,_0xb70444=new URL(window['location']['href']);_0xb70444[_0x242fda(0x19d)][_0x242fda(0x35e)](_0x36aaf7),_0x4fce96?window[_0x242fda(0x3f8)][_0x242fda(0x179)]('','',_0xb70444['toString']()):window[_0x242fda(0x3f8)][_0x242fda(0x1fe)]('','',_0xb70444[_0x242fda(0x3cd)]());}[_0x10d65d(0x426)](_0x3a03d2){const _0x2e817=_0x10d65d;var _0x4edfa4;return(_0x4edfa4=new URL(window[_0x2e817(0x2e8)][_0x2e817(0x433)])[_0x2e817(0x19d)]['get'](_0x3a03d2))!=null?_0x4edfa4:void 0x0;}}var _0x202af2=Object[_0x10d65d(0x41a)],_0x1a76cd=Object[_0x10d65d(0x17f)],_0x1c0bb9=(_0x16779c,_0x4ba8e3,_0x1c99ed)=>_0x4ba8e3 in _0x16779c?_0x202af2(_0x16779c,_0x4ba8e3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1c99ed}):_0x16779c[_0x4ba8e3]=_0x1c99ed,_0x1e7fb0=(_0x7fbdce,_0x4497d0,_0x538140,_0x3aaebd)=>{for(var _0x95b6f3=_0x3aaebd>0x1?void 0x0:_0x3aaebd?_0x1a76cd(_0x4497d0,_0x538140):_0x4497d0,_0x57ec35=_0x7fbdce['length']-0x1,_0x406627;_0x57ec35>=0x0;_0x57ec35--)(_0x406627=_0x7fbdce[_0x57ec35])&&(_0x95b6f3=_0x406627(_0x95b6f3)||_0x95b6f3);return _0x95b6f3;},_0xef7021=(_0x36d4d2,_0x10be5a)=>(_0x1ee497,_0x1d7970)=>_0x10be5a(_0x1ee497,_0x1d7970,_0x36d4d2),_0x48a8dd=(_0x407a22,_0x1ef3e5,_0xd86291)=>_0x1c0bb9(_0x407a22,_0x1ef3e5+'',_0xd86291);const _0x4da431=_0x10d65d(0x395);_0x2a5145[_0x10d65d(0x3c2)]=class extends _0x197d59[_0x10d65d(0x227)]{constructor(_0x579346=_0x18365a,_0x36ef4c,_0x2183bc,_0x40ae7d){const _0x534e34=_0x10d65d;super(),this[_0x534e34(0x20a)]=_0x579346,this['_renderManagerService']=_0x36ef4c,this[_0x534e34(0x3a1)]=_0x2183bc,this[_0x534e34(0x3d8)]=_0x40ae7d;const {..._0xedf59f}=_0x197d59[_0x534e34(0x339)]({},_0x18365a,this[_0x534e34(0x20a)]);this['_configService'][_0x534e34(0x309)](_0x51fecf,_0xedf59f);}[_0x10d65d(0x272)](){const _0x268477=_0x10d65d;this[_0x268477(0x235)](),this[_0x268477(0x341)]();}['onRendered'](){const _0x5934f0=_0x10d65d;this[_0x5934f0(0x2df)]();}[_0x10d65d(0x235)](){const _0xda7da9=_0x10d65d;var _0x338cfa;const _0x4831cc=[[_0x4bb0e6],[_0x5f305f],[_0x5d1eb3],[_0x5a0166],[_0x6d0f29],[_0x590b29],[_0x2e52dc,{'useClass':_0x58b1ad}],[_0x7b80a['ISocketService'],{'useClass':_0x7b80a[_0xda7da9(0x39d)]}],[_0x51298c['ILocalCacheService'],{'useClass':_0x195ef9}],[_0x2a5145[_0xda7da9(0x28d)]],[_0x10a052],[_0x391c06],[_0x440f4b],[_0x3aba9a],[_0x2a5145[_0xda7da9(0x3cb)]]];this[_0xda7da9(0x20a)][_0xda7da9(0x3fe)]&&_0x4831cc['push']([_0x2935d7]),_0x197d59['registerDependencies'](this[_0xda7da9(0x3a1)],_0x197d59[_0xda7da9(0x372)](_0x4831cc,(_0x338cfa=this[_0xda7da9(0x20a)])==null?void 0x0:_0x338cfa[_0xda7da9(0x1c9)]));}['_registerRenderDependencies'](){const _0x22ff9a=_0x10d65d;this[_0x22ff9a(0x406)](this[_0x22ff9a(0x22d)]['registerRenderModule'](_0x197d59[_0x22ff9a(0x36e)]['UNIVER_DOC'],[_0x22d195])),this[_0x22ff9a(0x406)](this[_0x22ff9a(0x22d)][_0x22ff9a(0x1ce)](_0x197d59[_0x22ff9a(0x36e)][_0x22ff9a(0x3b8)],[_0x30a955]));}[_0x10d65d(0x341)](){const _0x35515e=_0x10d65d;_0x197d59['touchDependencies'](this['_injector'],[[_0x440f4b],[_0x2a5145[_0x35515e(0x28d)]],[_0x10a052],[_0x391c06],[_0x2a5145[_0x35515e(0x3cb)]],[_0x5f305f]]),this[_0x35515e(0x20a)][_0x35515e(0x3fe)]&&_0x197d59[_0x35515e(0x184)](this[_0x35515e(0x3a1)],[[_0x2935d7]]);}},_0x48a8dd(_0x2a5145['UniverCollaborationClientUIPlugin'],'pluginName',_0x4da431),_0x2a5145[_0x10d65d(0x3c2)]=_0x1e7fb0([_0x197d59[_0x10d65d(0x398)](_0x51298c[_0x10d65d(0x2f4)]),_0xef7021(0x1,_0x4ef8d4[_0x10d65d(0x359)]),_0xef7021(0x2,_0x197d59[_0x10d65d(0x1de)](_0x197d59['Injector'])),_0xef7021(0x3,_0x197d59[_0x10d65d(0x27a)])],_0x2a5145[_0x10d65d(0x3c2)]);var _0x16465c=Object[_0x10d65d(0x17f)],_0x2304c6=(_0x1089c8,_0x6c1ceb,_0x46ed7e,_0x14eebc)=>{const _0x18b700=_0x10d65d;for(var _0x3864fe=_0x14eebc>0x1?void 0x0:_0x14eebc?_0x16465c(_0x6c1ceb,_0x46ed7e):_0x6c1ceb,_0x4df99b=_0x1089c8[_0x18b700(0x344)]-0x1,_0xd8d011;_0x4df99b>=0x0;_0x4df99b--)(_0xd8d011=_0x1089c8[_0x4df99b])&&(_0x3864fe=_0xd8d011(_0x3864fe)||_0x3864fe);return _0x3864fe;},_0xe5098a=(_0x15ef67,_0x448084)=>(_0x359341,_0x58d066)=>_0x448084(_0x359341,_0x58d066,_0x15ef67);_0x2a5145[_0x10d65d(0x239)]=class extends _0x51298c['CollaborationSocketService']{constructor(_0x5e6241,_0x428b4f,_0x5a7f56,_0x3d7357,_0x5cfd98){super(_0x5e6241,_0x428b4f,_0x5a7f56,_0x3d7357,_0x5cfd98);}async[_0x10d65d(0x422)](_0x3ee8de){const _0x334f62=_0x10d65d,_0x267a14=await this[_0x334f62(0x35b)](),_0x4a2a62=this['_createSocketURL'](_0x3ee8de,_0x267a14);return this[_0x334f62(0x30c)](_0x4a2a62);}['_createSocketURL'](_0x1bcf2d,_0x2bcd8e){const _0xe83c7b=_0x10d65d,_0x5ecafe=typeof window>'u'?new URL(_0x1bcf2d):new URL(_0x1bcf2d,window['location'][_0xe83c7b(0x1e2)]);_0x5ecafe[_0xe83c7b(0x19d)][_0xe83c7b(0x3f2)]('sessionTicket',_0x2bcd8e);const _0x52a328=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xe83c7b(0x2e8)][_0xe83c7b(0x316)]);return _0x52a328['get'](_0xe83c7b(0x1d1))&&_0x5ecafe[_0xe83c7b(0x19d)]['set'](_0xe83c7b(0x1d1),_0x52a328['get'](_0xe83c7b(0x1d1))),_0x5ecafe['toString']();}async[_0x10d65d(0x35b)](){const _0x4a0cf9=_0x10d65d;var _0x171b25,_0x18f74b,_0x4b92d7;const _0x1fe344=this['_configService'][_0x4a0cf9(0x271)](_0x51298c[_0x4a0cf9(0x1a3)]),_0x52be3b=(_0x171b25=_0x1fe344==null?void 0x0:_0x1fe344[_0x4a0cf9(0x411)])!=null?_0x171b25:_0x51298c[_0x4a0cf9(0x396)];return(_0x4b92d7=(_0x18f74b=(await this['_httpService']['get'](_0x52be3b,{'headers':{'Content-Type':_0x4a0cf9(0x1ea)}}))[_0x4a0cf9(0x417)])==null?void 0x0:_0x18f74b[_0x4a0cf9(0x190)])!=null?_0x4b92d7:'';}},_0x2a5145[_0x10d65d(0x239)]=_0x2304c6([_0xe5098a(0x0,_0x197d59['Inject'](_0x197d59['Injector'])),_0xe5098a(0x1,_0x197d59[_0x10d65d(0x1de)](_0x7b80a['HTTPService'])),_0xe5098a(0x2,_0x197d59['IConfigService']),_0xe5098a(0x3,_0x197d59['ILogService']),_0xe5098a(0x4,_0x249f8c[_0x10d65d(0x178)])],_0x2a5145['BrowserCollaborationSocketService']);var _0x117262=Object[_0x10d65d(0x17f)],_0x11ad75=(_0x283ab6,_0x21b1ab,_0x2350ae,_0x3b0929)=>{for(var _0x514773=_0x3b0929>0x1?void 0x0:_0x3b0929?_0x117262(_0x21b1ab,_0x2350ae):_0x21b1ab,_0x294488=_0x283ab6['length']-0x1,_0x379b21;_0x294488>=0x0;_0x294488--)(_0x379b21=_0x283ab6[_0x294488])&&(_0x514773=_0x379b21(_0x514773)||_0x514773);return _0x514773;},_0xe670c7=(_0x53499d,_0x354f90)=>(_0x4edf1c,_0x3381d0)=>_0x354f90(_0x4edf1c,_0x3381d0,_0x53499d);_0x2a5145[_0x10d65d(0x3bf)]=class extends _0x197d59['Disposable']{constructor(_0x1602ef,_0x5dd7e9,_0x415511){const _0x2b7298=_0x10d65d;super(),this['_instanceService']=_0x1602ef,this[_0x2b7298(0x213)]=_0x5dd7e9,this[_0x2b7298(0x3d8)]=_0x415511;}async[_0x10d65d(0x2f9)](_0x5052ab,_0x254fa1,_0x1a6c5b,..._0x529562){const _0x549320=_0x10d65d;var _0x3b363d,_0xb4d816,_0x274da2,_0x18a7ac;const _0x4036e1=this[_0x549320(0x391)]['getFocusedUnit']();if(!_0x4036e1)throw new Error(_0x549320(0x2b7));const _0x303015=((_0x3b363d=this[_0x549320(0x3d8)]['getConfig'](_0x51298c[_0x549320(0x25c)]))!=null?_0x3b363d:_0x51298c[_0x549320(0x2ff)])+'/'+_0x5052ab+_0x549320(0x3c3)+_0x254fa1,_0x25f0a1=new URL(window[_0x549320(0x2e8)][_0x549320(0x433)]),_0x2e893b={'scriptId':_0x5052ab,'runId':(_0xb4d816=_0x25f0a1['searchParams'][_0x549320(0x3ec)](_0x549320(0x1d1)))!=null?_0xb4d816:'','function':_0x254fa1,'unitId':_0x4036e1[_0x549320(0x2ca)](),'argsOfFunction':JSON[_0x549320(0x194)](_0x529562),'invokeId':(_0x274da2=_0x1a6c5b[_0x549320(0x199)])!=null?_0x274da2:'','executionId':(_0x18a7ac=_0x1a6c5b[_0x549320(0x28e)])!=null?_0x18a7ac:''};try{const _0x19387a=await this['_httpService']['post'](_0x303015,{'body':_0x2e893b});return _0x19387a[_0x549320(0x417)]['error']&&_0x19387a[_0x549320(0x417)][_0x549320(0x357)][_0x549320(0x43b)]!==_0x42e28c['OK']?_0x549320(0x2f7):_0x19387a[_0x549320(0x417)][_0x549320(0x386)];}catch{return _0x549320(0x2f7);}}},_0x2a5145[_0x10d65d(0x3bf)]=_0x11ad75([_0xe670c7(0x0,_0x197d59['IUniverInstanceService']),_0xe670c7(0x1,_0x197d59[_0x10d65d(0x1de)](_0x7b80a['HTTPService'])),_0xe670c7(0x2,_0x197d59[_0x10d65d(0x27a)])],_0x2a5145[_0x10d65d(0x3bf)]);const _0x23d698=0x7530,_0x5ed467='ACTIVE_UNIT_EVENT_CHANNEL';class _0x2365be extends _0x197d59[_0x10d65d(0x308)]{constructor(){const _0x153bba=_0x10d65d;super(),_0x3ab141(this,_0x153bba(0x237),_0x197d59[_0x153bba(0x310)]()),_0x3ab141(this,_0x153bba(0x287),new Set()),_0x3ab141(this,_0x153bba(0x3c1),new Map()),_0x3ab141(this,_0x153bba(0x405),null),_0x3ab141(this,_0x153bba(0x1ee),new Map()),_0x3ab141(this,_0x153bba(0x436),new Map()),this['_init']();}['dispose'](){const _0x2bda60=_0x10d65d;super['dispose'](),this[_0x2bda60(0x1ee)][_0x2bda60(0x206)]((_0x1074c0,_0x20e0ad)=>this['_removeClearOtherTimer'](_0x20e0ad)),this[_0x2bda60(0x405)]&&window[_0x2bda60(0x37b)](this[_0x2bda60(0x405)]);}[_0x10d65d(0x2d9)](_0x4c77c9){const _0xd39117=_0x10d65d;return this[_0xd39117(0x1ff)](_0x4c77c9)[_0xd39117(0x2be)](_0x22ea33['distinctUntilChanged']());}['editingUnit'](_0x562ef0){const _0x270ac3=_0x10d65d;this[_0x270ac3(0x287)][_0x270ac3(0x293)]===0x0&&this[_0x270ac3(0x37a)](),this[_0x270ac3(0x287)][_0x270ac3(0x2ce)](_0x562ef0),this[_0x270ac3(0x2dc)]({'type':0x0,'memberID':this[_0x270ac3(0x237)],'unitIDs':[_0x562ef0],'isForwarded':!0x1});}[_0x10d65d(0x2d5)](_0x3e3916){const _0x3315cd=_0x10d65d;this['_selfUnitIDs']['delete'](_0x3e3916),this[_0x3315cd(0x287)][_0x3315cd(0x293)]===0x0&&this[_0x3315cd(0x405)]&&window[_0x3315cd(0x37b)](this['_heartbeatTimer']);}[_0x10d65d(0x36d)](){const _0x2ddd38=_0x10d65d;this[_0x2ddd38(0x406)](_0x197d59[_0x2ddd38(0x457)](_0x22ea33['fromEvent'](window,_0x2ddd38(0x41d))['subscribe'](_0x57406f=>{const _0x2425c0=_0x2ddd38;if(_0x57406f[_0x2425c0(0x38f)]!==_0x5ed467||!_0x57406f[_0x2425c0(0x236)])return;const _0x58f325=JSON[_0x2425c0(0x177)](_0x57406f[_0x2425c0(0x236)]);this['_handleEvent'](_0x58f325);}))),window['addEventListener'](_0x2ddd38(0x2cc),()=>this[_0x2ddd38(0x2dc)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x2ddd38(0x287)])}));}[_0x10d65d(0x335)](_0x4b4030){const _0x312bc9=_0x10d65d;switch(_0x4b4030['type']){case 0x0:this[_0x312bc9(0x3b3)](_0x4b4030);break;case 0x1:this[_0x312bc9(0x3e6)](_0x4b4030);break;case 0x2:this[_0x312bc9(0x458)](_0x4b4030);break;}}[_0x10d65d(0x3b3)](_0x8b824){const _0x224a7d=_0x10d65d,{unitIDs:_0x3fe0a2,memberID:_0x34d79f,isForwarded:_0x31784b}=_0x8b824;_0x3fe0a2[_0x224a7d(0x206)](_0xc7f26b=>{const _0x2406b9=_0x224a7d;if(!_0x31784b&&this[_0x2406b9(0x3c1)][_0x2406b9(0x1da)](_0xc7f26b)&&this[_0x2406b9(0x1ff)](_0xc7f26b)['next'](_0x51298c[_0x2406b9(0x34b)][_0x2406b9(0x279)]),!this[_0x2406b9(0x3c1)][_0x2406b9(0x1da)](_0xc7f26b)||!this[_0x2406b9(0x3c1)]['get'](_0xc7f26b)[_0x2406b9(0x1da)](_0x34d79f)){const _0x1237d4=this[_0x2406b9(0x3c1)][_0x2406b9(0x3ec)](_0xc7f26b)||new Set();_0x1237d4[_0x2406b9(0x2ce)](_0x34d79f),this[_0x2406b9(0x3c1)][_0x2406b9(0x3f2)](_0xc7f26b,_0x1237d4),this[_0x2406b9(0x384)](_0x34d79f);}}),_0x31784b||this[_0x224a7d(0x2dc)]({'type':0x0,'memberID':this[_0x224a7d(0x237)],'unitIDs':[...this[_0x224a7d(0x287)]],'isForwarded':!0x0});}[_0x10d65d(0x384)](_0x3d09a5){const _0x13e8fa=_0x10d65d;this[_0x13e8fa(0x198)](_0x3d09a5);const _0x51475b=window[_0x13e8fa(0x2c4)](()=>{const _0x4735d4=_0x13e8fa;this[_0x4735d4(0x3c1)][_0x4735d4(0x206)](_0x5e9194=>{_0x5e9194['delete'](_0x3d09a5);});},_0x23d698*0x2);this[_0x13e8fa(0x1ee)][_0x13e8fa(0x3f2)](_0x3d09a5,_0x51475b);}[_0x10d65d(0x198)](_0x55dbd3){const _0x18b28e=_0x10d65d;if(this[_0x18b28e(0x1ee)]['has'](_0x55dbd3)){const _0x6b81e9=this[_0x18b28e(0x1ee)]['get'](_0x55dbd3);_0x6b81e9&&window[_0x18b28e(0x25e)](_0x6b81e9),this['_clearOtherTimers'][_0x18b28e(0x3f2)](_0x55dbd3,null);}}[_0x10d65d(0x3e6)](_0x5b6a62){const _0x5119e6=_0x10d65d,{memberID:_0x36343c,unitIDs:_0xf5e8cf}=_0x5b6a62;_0xf5e8cf[_0x5119e6(0x206)](_0x13db24=>{const _0x171ec5=_0x5119e6;var _0x571926;const _0x58429e=this[_0x171ec5(0x3c1)][_0x171ec5(0x3ec)](_0x13db24);_0x58429e&&(_0x58429e[_0x171ec5(0x35e)](_0x36343c),(_0x571926=this[_0x171ec5(0x1ff)](_0x13db24))==null||_0x571926[_0x171ec5(0x2a6)](_0x58429e[_0x171ec5(0x293)]===0x0?_0x51298c['UnitStatus'][_0x171ec5(0x2ab)]:_0x51298c['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0x5119e6(0x198)](_0x36343c);}['_handleHeartbeatEvent'](_0x2944b4){const _0x58d698=_0x10d65d;this[_0x58d698(0x384)](_0x2944b4[_0x58d698(0x2a7)]);}['_send'](_0x40a117){const _0x5eb9f8=_0x10d65d;localStorage[_0x5eb9f8(0x3f0)](_0x5ed467,JSON[_0x5eb9f8(0x194)](_0x40a117));}[_0x10d65d(0x37a)](){const _0x777e1c=_0x10d65d;this[_0x777e1c(0x405)]=window[_0x777e1c(0x1cc)](()=>{const _0x301064=_0x777e1c;this[_0x301064(0x2dc)]({'type':0x2,'memberID':this['_id']});},_0x23d698);}[_0x10d65d(0x1ff)](_0x4b5c4f){const _0x55eb1c=_0x10d65d;return this['_unitStatus']['has'](_0x4b5c4f)||this[_0x55eb1c(0x436)][_0x55eb1c(0x3f2)](_0x4b5c4f,new _0x22ea33['BehaviorSubject'](_0x51298c[_0x55eb1c(0x34b)][_0x55eb1c(0x2ab)])),this[_0x55eb1c(0x436)][_0x55eb1c(0x3ec)](_0x4b5c4f);}}_0x2a5145['IURLService']=_0x2e52dc,_0x2a5145[_0x10d65d(0x1fd)]=_0x49000f,_0x2a5145[_0x10d65d(0x2c2)]=_0x2365be,_0x2a5145[_0x10d65d(0x33b)]=_0x58b1ad,Object[_0x10d65d(0x41a)](_0x2a5145,Symbol[_0x10d65d(0x1b4)],{'value':'Module'});}));function _0x3b56(_0x27e290,_0x57b409){const _0x41f707=_0x41f7();return _0x3b56=function(_0x3b56e1,_0x140f3a){_0x3b56e1=_0x3b56e1-0x177;let _0x1951e9=_0x41f707[_0x3b56e1];return _0x1951e9;},_0x3b56(_0x27e290,_0x57b409);}function _0x41f7(){const _0x47ad17=['_monkeyPatchLogService','top','_disabled','DesktopCollaborationStatusDisplayController','executionId','map','_hovered','_refRangeService','_releaseCalculationLimit','size','LICENSE_IMPORT_SIZE_EXCEEDED','blue.400','INVITE_CODE_ALREADY_BOUND','EMAIL_HAS_BEEN_BOUND','UniverNetwork','REDEMPTION_CODE_INACTIVE','totalFormulasToCalculate','0\x200\x2016\x2016','dispose$','CollaborationUIEventId','enableLocalCache','ENTITLE_CAN_NOT_BUY_LOWER_OTP','SNAPSHOT_HAS_BEEN_REMOVED','_updateCollabCursors','0\x200\x2017\x2016','_name','url(#on-line-icon_clip0_910_349)','setAlpha','next','memberID','DocCollaborationEntity','INVALID_ARGUMENT','IImageIoService','NO_OTHER_CLIENTS_EDITING','limitInfo','collab-rect-range-','redoState','_onCursorDelete','DeleteRangeMoveUpCommandId','functionsExecutedState','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_getFormulaLimitStatus','reconnect','VIEW_MAIN','isTransformMutationFailure','[RemoteUniscriptService]:\x20no\x20focused\x20unit','DATA_SOURCE_TOO_LARGE','_colorAssignService','all','_transformService','_imageIoService','CollaborationEvent','pipe','off-line-icon','PAYMENT_CHANNEL_NOT_SUPPORT','transformMutation','WebBrowserSingleActiveUnitService','EMAIL_VERIFY_CODE_MISMATCH','setTimeout','collabCursorState$','_context','debounce','message','_backgroundColor','getUnitId','evenodd','unload','exhaustSavingTask','add','white','arc','drawWith','ENSURE_SNAPSHOT_EXECUTION','_cursorShapes','MemberService','disposeUnit','selection','unsubscribe','tag','getUnitStatus$','Loading','ONLINE','_send','getTypeOfUnitAdded$','selections','_registerRenderDependencies','_hideTimer','_hover','CommandType','Warning','_getAnchorBounding','onLocalMutation','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','endColumn','location','collabStatus.synced','fillRule','react/jsx-runtime','displayName','SessionStatus','_setupBeforeClosingHandler','IMessageService','shareReplay','_onRefRangeChange','_removeCollabCursors','PY_RUNTIME_SCRIPT_ERROR','UniverCollaborationClientPlugin','assignAColorForMemberID','MUTATION','Failed','_transformPreviousActiveRange','runOnServer','handleInsertRow','send','_transformUndoRedoStack','CHANGESET_REVISION_CONFILICT','LOGIN_TOKEN_PROCESSING_FAILED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','saveOfflineData','idSuffix','UniverRpc','ALREADY_EXISTS','activeSheet$','ENTITLE_REPORT_LIMIT_EXCEED','getCellMatrix','socket$','Disposable','setConfig','RichTextEditingMutation','div','_doCreateSocket','AWAITING','_dataLoaderService','getViewport','generateRandomId','ITransformService','DocStateChangeManagerService','YUUMI_SUBSCRIPTION_NOT_FOUND','popstate','saveImage','search','@univerjs/docs-ui','asObservable','_messageService','ENTITLE_CHAT_LIMIT_EXCEED','YUUMI_ASYNCIO_CANCELLED','SOCKET_FAILED','name','deepClone','APPLY_REJECT','transformRemoteChangeset','_docSyncEditingCollabCursorService','getTypeOfUnitDisposed$','addEventListener','M0\x200H16V16H0z','handleMoveRange','OFFLINE','AUTHORIZE_CODE_ILLEGAL','rxjs/operators','collabStatus.syncing','startRow','EffectRefRangId','xlink:href','current','_collabCursorController','releaseFormulaLimitUrl','_eventUnsubscribe','loadOfflineData','RefRangeService','svg','[Window\x20Error]:\x20','_handleEvent','transformMutationsWithChangeset','getColorFromTheme','CONNECTOR_DATA_TOO_LARGE','merge','@univerjs-pro/collaboration','WebURLService','requireSession','getAncestorScale','RegularPolygon','_anchorDot','YUUMI_UNABLE_LOAD_URL','_initDependencies','status$','shift','length','react','getUniverSheetInstance','@univerjs/ui','MOBILE_VERIFY_CODE_MISMATCH','imageSourceType','ICommandService','UnitStatus','_docTransformIMECacheService','_checkCalculationAvailable','1em','subscribeEvent','INVITE_CODE_REQUIRED','_collabSessionService','eventID','text','transformStateCache','_memberID','undoState','error','Workbook','IRenderManagerService','beforeCommandExecuted','_getSessionTicket','session.will-retry','mutations','delete','193492Tcjixe','unshift','TEXT','debug','permission.title','_saveCache','@univerjs/engine-formula','LOCAL_CACHE_INTERVAL','YUUMI_URL_COL_OUT_OF_RANGE','cursorInfo$','UNIVER_DOC','NOT_COLLAB','CanceledError','Rectangle','_init','UniverInstanceType','...','unitID','getCollabEntity$','mergeOverrideWithDependencies','APPLY_DUPLICATED','init','713555SdrFYs','CollaborationUIEventService','USER_NOT_INVITED_CODE','_currentUsage','setUndoRedoMutationParamsCache','_scheduleHeartbeat','clearInterval','_startDocCollabCursor','FormulaExecutedStateType','operators','TEXT_RANGE_LAYER_INDEX','params','262983dgrGcQ','INVITE_CODE_HAS_BEEN_UES','_startCalculationLimit','_scheduleClearOtherTimer','APPLY_REVISION_CONFILICT','result','combineLatest','Tools','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_docTransformStateCacheService','SetFormulaCalculationNotificationMutation','/universer-api/license/formula/limit/done','getformulaLimitStatusUrl','subscribe','key','NodePositionConvertToCursor','_instanceService','DOC_RANGE_TYPE','setShapeProps','collabStatus.fetchMiss','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','DEFAULT_WS_SESSION_TICKET_URL','_startSheetCollabCursor','DependentOn','_draw','HEADER_MENU','unit','_status$','WebSocketService','setStateCache','green.600','_themeService','_injector','with','use','_session','join','subUnitId','createElement','stack','_colorIndex','CollaborationStatus','1288269klGQcL','_labelPosition','Tooltip','_hasFormulaInDirtyRanges','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','CollaborationSessionService','measureText','getFocusedUnit','_handleJoinEvent','_getSheetObject','LocaleService','deserializeRangeWithSheet','Shape','UNIVER_SHEET','subunit','sessionStatus$','_initUserListener','_initStatusListener','_docStateChangeManagerService','getMemberID','RemoteUniscriptService','registerComponent','_unitOnClients','UniverCollaborationClientUIPlugin','/run/','backgroundColor','OffLineIcon','findNodePositionByCharIndex','_maxFormulaLimit','USER_IS_ANONYMOUS','m2Prime','some','CollaborationDataLoaderController','unitId','toString','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','\x20at\x20','getSkeleton','debounceTime','handleInsertCol','trim','MoveRangeCommandId','collab-text-range-','SheetSkeletonManagerService','makeDirty','_configService','switchMap','jsxs','onPointerEnter$','sheetId','HTTPService','_revisionService','stageInfo','startFormulaLimitUrl','currentColor','/universer-api/license/formula/limit/status','LOGIN_FAILED','doc.mutation.rich-text-editing','UniverSheetsUi','_handleLeaveEvent','none','BehaviorSubject','collab-text-anchor-','IRemoteInstanceService','now','get','collaboration.closeRoom','useRef','children','setItem','string','set','NOT_FOUND','_docTransformSelectionsService','row','range','SetTextSelectionsOperation','history','onMouseMove','_drawRectRange','isEditing','urlChange$','cursorInfo','enableFrontendLog','purple.300','show','SNAPSHOT_INVALID_SNAPSHOT','_updateURLWithCurrentState','ranges','CURRENT_STATUS_CANNOT_OPERATE','_heartbeatTimer','disposeWithMe','_collabCursorState$','forwardRef','isFormulaId','UniverDrawing','_lastResponseTimestamp','off-line-icon_clip0_910_343','Vector2','_docSkeleton','session.collaboration-timeout','RxDisposable','wsSessionTicketUrl','_cursorInfo$','YUUMI_TABLE_NOT_FOUND_IN_UNIT','2ZEsFmu','getCoordByCell','_uiPartsService','body','@univerjs/rpc','isActive','defineProperty','DisposableCollection','column','storage','Subject','takeUntil','getMember','split','createSocket','INotificationService','_textBubble','registerRefRange','getParam','_setupSubUnitSync','parseInt','permission.content','COLORS','uni.network.url-service','START_CALCULATION','APPLY_NON_SEQUENTIAL_REVISION','setParam','COMPLETION_FINISHED','@univerjs/network','_transformHistoryAndStateStack','dirtyRanges','href','_logService','PERMISSION_DENIED','_unitStatus','_document','univer-mr-2\x20univer-flex\x20univer-text-xl','ILogService','width','code','handleIRemoveRow','CollaborationController','getDocRanges','WECHAT_HAS_BEEN_BOUND','_applyCommand','collaboration-client.offline-data-not-saved','filter','fillText','reason','unhandledrejection','RECT','min','_refreshCollabCursors','_taskIds','UNRECOGNIZED','UNDEFINED','focused$','font','from','type','TRANSFORM_CHANGE_OBSERVABLE_TYPE','max','UniverProCollaborationClient','_initEvent','NodePositionConvertToRectRange','substring','_commandService','toDisposable','_handleHeartbeatEvent','_collaborationSessionService','_online','_memberService','color','runRefRangeMutations','LICENSE_EXPORT_SIZE_EXCEEDED','parse','ISnapshotServerService','replaceState','_sheetSkeletonManagerService','APPLY_PERMISSION_DENIED','getCellPositionByOffset','YUUMI_CONNECTOR_URL_NOT_FOUND','url(#off-line-icon_clip0_910_343)','getOwnPropertyDescriptor','assign','_toggleOffline','OTHER_CLIENT_EDITING','_cursor','touchDependencies','whenReady','ENTITLE_DUP_SUBSCRIPTION','_anchor','handleDeleteRangeMoveUp','UniverDesign','Optional','round','then','UniverDocs','_drawTextRange','handleIRemoveCol','ticket','InsertRowCommandId','_roomMembers$','jiqing.500','stringify','dispose','_localStorageService','black','_removeClearOtherTimer','invokeId','save','addObject','@univerjs/design','searchParams','40mTTsGp','connectInjector','isFormulaString','360466NWFVzv','IUIPartsService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','SetWorksheetActivateCommand','_render','_docSkeletonManagerService','ILocalCacheService','textRanges','lineno','_entities','Success','InsertRangeMoveDownCommandId','_scene','entries','isArray','_beforeCloseService','replace','endRow','lineTo','toStringTag','MessageType','isTransformMutationsWithChangesetSuccess','getMergeData','_getScale','currentSkeleton$','_initWindowErrorListener','_pollingInterval','_collaborationController','transformIMECache','attrs','REDEMPTION_CODE_FULLY_REDEEMED','SetDocZoomRatioOperation','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','RemoveColCommandId','SUCCESS','getColor','syncEditingCollabCursor','REDEMPTION_USER_NOT_ELIGIBLE','CLOSE_ROOM','useDependency','override','clipPath','docStateChange$','setInterval','getRelativeToViewportCoord','registerRenderModule','object','post','runId','YUUMI_RATE_OVER_LIMIT','removeEventListener','executeCommand','_drawAnchor','actions','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_updateLocalCursor','_syncEditingCollabCursorService','has','REDEMPTION_INVALID_CODE','INVALID_INVITE_CODE','_saveTaskMap','Inject','path','replaceDocRanges','filename','origin','collab-client.tooltip.reconnect','REDEMPTION_USER_REDEEM_TIMES_EXCEED','startsWith','onCommandExecuted','492423IRFoHL','push','SheetsSelectionsService','application/json','closePath','ENTITLE_NEED_BILLING_ADDRESS','ColorKit','_clearOtherTimers','roomMembers','_showGuardMessage','transformByState','handleInsertRangeMoveDown','fill','_clearPolling','formula.calculation.started','_localeService','YUUMI_ALL_TABLES_IS_INVALID','fillStyle','LOCAL_CACHE_INTERVAL_KEY','getActiveSheet','_univerInstanceService','disableLocalCache','SheetCollabCursorShape','pushState','_ensureSubject','MOBILE_HAS_BEEN_BOUND','collaboration-client-ui.config','toRgbString','getUndoRedoMutationParamsCache','jsx','_initCommandInterceptor','forEach','getSheetBySheetId','_shapes','InsertRangeMoveRightCommandId','_config','Unknown\x20user','colno','url(#$1','getCollabCursors$','registerBeforeClose','resize','_localCacheService','UniverProCollaboration','_httpService','RevisionService','getValue','ENTITLE_INSUFFICIENT_QUOTA','moveTo','_onCursorUpdate','complete','[CollaborationDataLoaderController]','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','removeParam','FromArray','getUnit','_scheduleSaving','hide','bind','getRenderById','PENDING','_color','formula.calculation.waiting','_notificationService','Plugin','RemoveRowCommandId','_initUnhandledRejectionListener','univerjs-icon\x20univerjs-icon-','restore','_handleHover','_renderManagerService','currentTheme$','red.300','on-line-icon_clip0_910_349','InsertColCommandId','on-line-icon','_docClipboardService','collaboration.single-unit.warning','_registerDependencies','newValue','_id','_setFormulaLimitStatus','BrowserCollaborationSocketService','height','USER_NOT_FOUND','saveTaskMap','UPDATE_CURSOR','getItem','getUnhiddenWorksheets','_range','UniverProCollaborationClientUi','getStateCache','_cursors','CONFLICT','ThemeService','transformSelections','LICENSE_DISTRO_REJECTED','engine','m1Prime','addClipboardHook','TOO_MANY_REQUESTS','event$','/universer-api/frontend/logs','Error','1953018zeqKqf','ILocalStorageService','DocSelectionManagerService','getVpScrollXYInfoByPosToVp','_checkAndWaitForCalculationPermission','[LogService\x20Error]:\x20','_uploadLog','_lastPointer','values','maxFormulaLimit','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','REDEMPTION_CODE_NOT_STARTED','YUUMI_NO_CUBOID_FOR_QUESTION','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','IBeforeCloseService','clearTimeout','YUUMI_AI_RUN_FAILED','SetSelectionsOperation','_collaborationUIEventService','getSheetId','loadUnit','_cachedData','startColumn','_urlService','mapTo','React','data','setActiveRange','session.connection-failed','getCurrentSelections','_updateSubUnitFromURLParams','addHandlerCallback','DocIMEInputManagerService','Injector','getConfig','onStarting','getSheetObject','rxjs','defs','mask','getRangePointData','colorChannel1','OTHER_CLIENTS_EDITING','IConfigService','FETCH_MISS','ERROR_AGAIN','createInstance','IUniverInstanceService','translate(.97)','USERS_LEAVE','UNAUTHENTICATED','bottom','_initResize','Rect','http://www.w3.org/2000/svg','includes','_selfUnitIDs','_toggleOnline','_entityInit$'];_0x41f7=function(){return _0x47ad17;};return _0x41f7();}