@univerjs-pro/collaboration-client-ui 0.12.1-nightly.202511221011 → 0.12.2-experimental.20251129-0fa20cd

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 +18 -18
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x3aed(_0x58625f,_0x3e7034){const _0x2e698d=_0x2e69();return _0x3aed=function(_0x3aed30,_0x324e12){_0x3aed30=_0x3aed30-0x195;let _0xb3e0b1=_0x2e698d[_0x3aed30];return _0xb3e0b1;},_0x3aed(_0x58625f,_0x3e7034);}function _0x2e69(){const _0x17bdb0=['UniverProCollaboration','undoState','AWAITING_WITH_PENDING','round','_initUnhandledRejectionListener','ENTITLE_NEED_BILLING_ADDRESS','subscribe','getColor','RemoveRowCommandId','whenReady','_logService','[CollaborationDataLoaderController]','none','releaseFormulaLimitUrl','search','UniverInstanceType','moveTo','_clearPolling','8VdIgPB','fromEvent','_handleHeartbeatEvent','IImageIoService','cursorInfo$','DocSkeletonManagerService','transformMutationsWithChangeset','NOT_COLLAB','ISnapshotServerService','unshift','setActiveRange','UniverEngineFormula','@univerjs/ui','idSuffix','collab-text-anchor-','MemberService','_lastPointer','_maxFormulaLimit','_docSkeleton','_collabSessionService','_render','Success','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','@univerjs/engine-render','add','USER_IS_ANONYMOUS','toString','DocIMEInputManagerService','disableLocalCache','getVpScrollXYInfoByPosToVp','APPLY_DUPLICATED','_showGuardMessage','ThemeService','INVITE_CODE_HAS_BEEN_UES','takeUntil','IUIPartsService','RemoteUniscriptService','handleInsertRow','_session','_updateLocalCursor','_collaborationController','YUUMI_SUBSCRIPTION_NOT_FOUND','useObservable','/run/','hide','handleDeleteRangeMoveLeft','PAYMENT_CHANNEL_NOT_SUPPORT','flatMap','_initDependencies','IUniverInstanceService','deepClone','requireSession','getRangePointData','IRenderManagerService','dirtyRanges','SYNCED','univer-mr-2\x20univer-flex\x20univer-text-xl','endRow','/universer-api/frontend/logs','getUndoRedoMutationParamsCache','DeleteRangeMoveLeftCommandId','_initStatusComponent','stringify','_handleLeaveEvent','ALREADY_EXISTS','length','_uploadLog','_updateSubUnitFromURLParams','sessionStatus$','doc.mutation.rich-text-editing','IMessageService','setItem','collaboration.closeRoom','Shape','saveImage','_releaseCalculationLimit','_themeService','getFocusedUnit','drawWith','ENTITLE_DUP_SUBSCRIPTION','white','translate(.97)','fill','fillStyle','ENSURE_SNAPSHOT_EXECUTION','509469ZMIVxa','_drawRectRange','@univerjs/design','UniverCore','override','onPointerMove$','makeDirty','onPointerLeave$','cursorInfo','_startDocCollabCursor','/universer-api/license/formula/limit/done','SNAPSHOT_HAS_BEEN_REMOVED','runOnServer','useDependency','YUUMI_ALL_TABLES_IS_INVALID','SHEET_VIEWPORT_KEY','Rectangle','_handleHover','_startSheetCollabCursor','APPLY_REVISION_CONFILICT','FETCH_MISS','getOwnPropertyDescriptor','shift','_collabCursorState$','@univerjs/docs-ui','stage','m2Prime','_setFormulaLimitStatus','name','isFormulaString','amd','YUUMI_URL_COL_OUT_OF_RANGE','serializeRangeWithSheet','Inject','send','event$','current','selections','_docTransformSelectionsService','_renderManagerService','transformRemoteChangeset','_getSheetObject','_initWindowErrorListener','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','SetDocZoomRatioOperation','m1Prime','_handleEvent','getStateCache','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','ONLINE','_drawAnchor','defineProperty','getUnit','throttleTime','_anchorDot','21332349yffMxn','unitID','DocSelectionManagerService','_init','href','_heartbeatTimer','startRow','roomMembers$','getCollabCursors$','useCallback','div','object','660520pkHxcE','get','invokeId','getLocalCacheKey','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','Plugin','generateRandomId','addObject','onTransformChange$','getMemberID','RegularPolygon','includes','USERS_LEAVE','evenodd','getUnitStatus$','collabStatus.syncing','RxDisposable','params','currentTheme$','PENDING','application/json','Warning','text','executeCommand','SheetCollabCursorShape','_saveTaskMap','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getformulaLimitStatusUrl','REDEMPTION_USER_REDEEM_TIMES_EXCEED','addEventListener','_selfUnitIDs','colorChannel1','getSkeleton','saveTaskMap','labelPosition','defs','REDEMPTION_USER_NOT_ELIGIBLE','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','31381cMDyAF','children','pushState','tag','has','getDocRanges','_name','subunit','OTHER_CLIENTS_EDITING','_unitStatus','green.600','history','YUUMI_UNABLE_LOAD_URL','_clearOtherTimers','_httpService','CollaborationEvent','_memberID','InsertRowCommandId','distinctUntilChanged','clipPath','max','SheetsSelectionsService','startFormulaLimitUrl','CONNECTOR_DATA_TOO_LARGE','TOO_MANY_REQUESTS','asObservable','SetFormulaCalculationNotificationMutation','skeleton','MoveRangeCommandId','debounceTime','_scheduleClearOtherTimer','_getAnchorBounding','JOIN_ROOM_FAILED','_unitOnClients','clearTimeout','LICENSE_IMPORT_SIZE_EXCEEDED','LOCAL_CACHE_INTERVAL_KEY','arc','DisposableCollection','CollaborationSessionService','_messageService','APPLY_REJECT','_notificationService','height','InsertRangeMoveRightCommandId','collaboration-client-ui.config','restore','_toggleOffline','_checkAndWaitForCalculationPermission','bind','ILocalStorageService','on-line-icon','attrs','APPLY_NON_SEQUENTIAL_REVISION','_entities','_cursorInfo$','session.collaboration-timeout','_dataLoaderService','use','_revisionService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','newValue','_transformHistoryAndStateStack','CollaborationUIEventId','_initUserListener','message','some','Failed','getCurrent','...','purple.300','react','ColorKit','code','LICENSE_EXPORT_SIZE_EXCEEDED','getCurrentUnitForType','FromArray','status$','isFormulaId','DeleteRangeMoveUpCommandId','svg','row','updateOfflineData','_scheduleHeartbeat','WebSocketService','_refRangeService','_transformService','YUUMI_RATE_OVER_LIMIT','@univerjs/drawing','_currentUsage','eventID','executionId','onPointerEnter$','addObjects','Module','YUUMI_NO_CUBOID_FOR_QUESTION','setParam','collaboration.single-unit.warning','UNRECOGNIZED','_config','ICommandService','combineLatest','range','getConfig','_getSaveTimeout','getCurrentRevOfUnit','roomMembers','mask','_range','reconnect','_disabled','getCellPositionByOffset','touchDependencies','SheetSkeletonManagerService','activeSheet$','SetWorksheetActivateCommand','_online','REDEMPTION_CODE_NOT_STARTED','isActive','M0\x200H16V16H0z','getMember','_updateURLWithCurrentState','_status$','forwardRef','startsWith','getCurrentSelections','9266904WBINQZ','_removeCollabCursors','RECT','WebBrowserSingleActiveUnitService','disposeUnit','HTTPService','show','session.will-retry','handleMoveRange','EffectRefRangId','isArray','_cachedData','forEach','on-line-icon_clip0_910_349','collabStatus.notCollab','_localCacheService','Subject','random','init','setConfig','fillText','off-line-icon_clip0_910_343','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','all','_scene','imageSourceType','collab-client.tooltip.reconnect','_cursors','stack','displayName','jsx','bottom','focused$','_drawTextRange','0\x200\x2017\x2016','VIEW_MAIN','replaceState','ranges','getMergeData','RevisionService','assign','formula.calculation.unable','_collaborationUIEventService','_getSessionTicket','_cursor','pluginName','INotificationService','5387505SVuzat','push','Unknown\x20user','_localeService','memberID','getRelativeToViewportCoord','collabStatus.conflict','subUnitId','_transformUndoRedoStack','_labelPosition','unhandledrejection','_updateCollabCursors','UnitStatus','[LogService\x20Error]:\x20','_handleJoinEvent','ACTIVE_UNIT_EVENT_CHANNEL','path','resize','toStringTag','2797024HACxIH','getActiveSheet','_getMergeRange','_refreshCollabCursors','getValue','NodePositionConvertToRectRange','_getFormulaLimitStatus','UniverDesign','CollaborationSocketService','subscribeEvent','replaceDocRanges','_doCreateSocket','toRgbString','_anchor','?taskId=','getSheetId','InsertColCommandId','transformIMECache','LocaleService','_id','entries','REDEMPTION_INVALID_CODE','YUUMI_AI_RUN_FAILED','UNIVER_DOC','collabStatus.synced','operators','IURLService','findNodePositionByCharIndex','popstate','_registerRenderDependencies','COMPLETION_FINISHED','InsertRangeMoveDownCommandId','_urlService','find','dispose','126KzPLHG','SetFormulaCalculationStartMutation','_setupSubUnitSync','MUTATION','min','mutations','Error','unload','measureText','rgba(255,\x20255,\x20255,\x200.01)','beginPath','CLOSE_ROOM','INVITE_CODE_REQUIRED','@univerjs/sheets-ui','blue.400','merge','getUnitId','registerRefRange','UNDEFINED','top','getItem','selection','transform','_memberService','collabCursorState$','_docTransformStateCacheService','DATA_SOURCE_TOO_LARGE','_taskIds','_draw','TEXT_RANGE_LAYER_INDEX','DataLoaderService','collaboration-client.offline-data-not-saved','CollaborationDataLoaderController','parseInt','searchParams','map','engine','parse','_registerDependencies','/universer-api/license/formula/limit/status','Rect','_configService','UniverNetwork','_backgroundColor','CONFLICT','values','TEXT','UniverProCollaborationClientUi','[Unhandled\x20Rejection]:\x20','split','SUCCESS','exhaustSavingTask','then','CollaborationController','RichTextEditingMutation','YUUMI_CONNECTOR_URL_NOT_FOUND','HEADER_MENU','_colorAssignService','React','onCommandExecuted','_onCursorDelete','Injector','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_assignedColors','APPLY_PERMISSION_DENIED','_createSocketURL','deserializeRangeWithSheet','debounce','jsxs','save','BrowserCollaborationSocketService','_hideTimer','functionsExecutedState','_pollingInterval','setStateCache','replace','collabStatus.offline','_hovered','UNIVER_SHEET','OFFLINE','ILocalCacheService','WECHAT_HAS_BEEN_BOUND','_toggleOnline','handleInsertRangeMoveRight','INVALID_ARGUMENT','handleInsertRangeMoveDown','useRef','@univerjs/sheets','mapTo','_checkCalculationAvailable','getCellMatrix','origin','syncEditingCollabCursor','setUndoRedoMutationParamsCache','_cursorShapes','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','RefRangeService','addClipboardHook','delete','_color','setAlpha','ticket','getRenderById','symbol','CHANGESET_REVISION_CONFILICT','getTypeOfUnitDisposed$','_eventUnsubscribe','handleIRemoveCol','red.300','_entityInit$','beforeCommandExecuted','ENTITLE_INSUFFICIENT_QUOTA','@univerjs-pro/collaboration','DocStateChangeManagerService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CURRENT_STATUS_CANNOT_OPERATE','pipe','_applyCommand','collabStatus.fetchMiss','0\x200\x2016\x2016','1em','debug','UniverEngineRender','urlChange$','SOCKET_FAILED','set','setInterval','getColorFromTheme','registerRenderModule','xlink:href','_initCommandInterceptor','FormulaExecuteStageType','OnLineIcon','with','_onRefRangeChange','_instanceService','CommandType','unitId','isEditing','join','post','Disposable','CollaborationStatus','UniverCollaborationClientUIPlugin','unit','_syncEditingCollabCursorService','getSheetBySheetId','_saveCache','transformSelections','actions','_collabCursorController','_docSkeletonManagerService','_initEntityListener','error','_docStateChangeManagerService','getCoordByCell','PERMISSION_DENIED','jiqing.500','ENTITLE_REPORT_LIMIT_EXCEED','_univerInstanceService','transformMutation','runId','DesktopCollaborationStatusDisplayController','width','MOBILE_HAS_BEEN_BOUND','_injector','univerjs-icon\x20univerjs-icon-','setShapeProps','source','_textBubble','COLORS','SessionStatus','_lastResponseTimestamp','ENTITLE_CHAT_LIMIT_EXCEED','UniverSheets','black','switchMap','startColumn','textRanges','AUTHORIZE_CODE_ILLEGAL','column','onRendered','hovered','UniverSheetsUi','_shapes','shareReplay','isTransformMutationFailure','_startCalculationLimit','_colorIndex','addHandlerCallback','LOGIN_FAILED','getSheetObject','redoState','loadOfflineData','assignAColorForMemberID','getUniverSheetInstance','_roomMembers$','toDisposable','LOGIN_TOKEN_PROCESSING_FAILED','currentSkeleton$','_initResize','_imageIoService','_onCursorUpdate','_ensureSubject','createElement','now','_send','handleInsertCol','http://www.w3.org/2000/svg','_docTransformIMECacheService','color','BehaviorSubject','REDEMPTION_CODE_HAS_BEEN_CREATED','type','UniverProCollaborationClient','MessageType','UPDATE_CURSOR','sessionTicket','EMAIL_VERIFY_CODE_MISMATCH','ITransformService','registerComponent','enableFrontendLog','IRemoteInstanceService','removeEventListener','LICENSE_MAX_UNITS_EXCEEDED','location','body','data','exports','font','sheetID','DOC_RANGE_TYPE','_context','_setupBeforeClosingHandler','getOffsetConfig','@univerjs/engine-formula','getUnhiddenWorksheets','IConfigService','closePath','_scheduleSaving','size','limitInfo','_sheetSkeletonManagerService','SetTextSelectionsOperation','isTransformMutationsWithChangesetSuccess','onMouseMove','_hasFormulaInDirtyRanges','REDEMPTION_CODE_INACTIVE','string','reason','formula.calculation.waiting','session.connection-failed','_initEvent','UniverDocsUi','UniverDocs','ILogService','/universer-api/license/formula/limit/start','PY_RUNTIME_SCRIPT_ERROR','_uiPartsService','ENTITLE_CAN_NOT_BUY_LOWER_OTP','permission.content','dispose$','_getScale','NOT_FOUND','endColumn','_localStorageService','_monkeyPatchLogService','UniverDrawing','filter','ISocketService','_transformPreviousActiveRange','INVITE_CODE_ALREADY_BOUND','transformStateCache','_collaborationSessionService','rxjs/operators','INTERNAL_ERROR','_hover','getParam','rxjs','REDEMPTION_CODE_FULLY_REDEEMED','SNAPSHOT_INVALID_SNAPSHOT','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SUBMIT_CHANGESET_TIMEOUT','unsubscribe','complete','_commandService','createInstance','function','setTimeout','Tools','getAncestorScale','lineTo','disposeWithMe','socket$','_docSyncEditingCollabCursorService','_initCommandExecutedListener','_beforeCloseService','next','MOBILE_VERIFY_CODE_MISMATCH','getActiveRange','removeParam','Vector2','storage','USER_NOT_FOUND','INVALID_INVITE_CODE','fromEventSubject','from','univer-flex\x20univer-items-center','UNAUTHENTICATED'];_0x2e69=function(){return _0x17bdb0;};return _0x2e69();}(function(_0x3fca90,_0x569736){const _0x5b88df=_0x3aed,_0x582ec2=_0x3fca90();while(!![]){try{const _0x307009=parseInt(_0x5b88df(0x334))/0x1+parseInt(_0x5b88df(0x29c))/0x2*(parseInt(_0x5b88df(0x2f1))/0x3)+-parseInt(_0x5b88df(0x41b))/0x4+parseInt(_0x5b88df(0x408))/0x5+-parseInt(_0x5b88df(0x43e))/0x6*(-parseInt(_0x5b88df(0x35b))/0x7)+parseInt(_0x5b88df(0x3d9))/0x8+-parseInt(_0x5b88df(0x328))/0x9;if(_0x307009===_0x569736)break;else _0x582ec2['push'](_0x582ec2['shift']());}catch(_0x10f20a){_0x582ec2['push'](_0x582ec2['shift']());}}}(_0x2e69,0x928ee),function(_0x3c7234,_0x2f3100){const _0x1902d9=_0x3aed;typeof exports==_0x1902d9(0x333)&&typeof module<'u'?_0x2f3100(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==_0x1902d9(0x274)&&define[_0x1902d9(0x30f)]?define([_0x1902d9(0x239),'react/jsx-runtime','@univerjs-pro/collaboration-client','@univerjs/core',_0x1902d9(0x2a8),_0x1902d9(0x26b),_0x1902d9(0x2f3),_0x1902d9(0x3a2),'@univerjs/rpc',_0x1902d9(0x1ac),_0x1902d9(0x2b3),'@univerjs/network',_0x1902d9(0x309),_0x1902d9(0x3b3),_0x1902d9(0x1c5),'@univerjs/docs',_0x1902d9(0x240),_0x1902d9(0x267),_0x1902d9(0x44b)],_0x2f3100):(_0x3c7234=typeof globalThis<'u'?globalThis:_0x3c7234||self,_0x2f3100(_0x3c7234[_0x1902d9(0x46d)]={},_0x3c7234[_0x1902d9(0x478)],_0x3c7234[_0x1902d9(0x22b)],_0x3c7234[_0x1902d9(0x2f4)],_0x3c7234['UniverUi'],_0x3c7234[_0x1902d9(0x26b)],_0x3c7234[_0x1902d9(0x422)],_0x3c7234[_0x1902d9(0x478)],_0x3c7234['UniverRpc'],_0x3c7234[_0x1902d9(0x203)],_0x3c7234[_0x1902d9(0x1cf)],_0x3c7234[_0x1902d9(0x468)],_0x3c7234[_0x1902d9(0x252)],_0x3c7234[_0x1902d9(0x260)],_0x3c7234[_0x1902d9(0x28a)],_0x3c7234[_0x1902d9(0x253)],_0x3c7234[_0x1902d9(0x2a7)],_0x3c7234['rxjs'][_0x1902d9(0x434)],_0x3c7234[_0x1902d9(0x20c)]));}(this,function(_0x59cddf,_0x3436bf,_0x30f49a,_0x22ce22,_0x2b7bff,_0x32e4d0,_0x569a72,_0x3caf8f,_0x2f41c0,_0x3d5699,_0x45b49d,_0x92f5d3,_0x449f6a,_0x398275,_0x5c6274,_0x506cee,_0x64210c,_0x3d627d,_0x198761){'use strict';const _0x5e2413=_0x3aed;var _0x4d2615=Object[_0x5e2413(0x324)],_0x5e17a6=(_0x34d2cf,_0x8ee740,_0x36e0d6)=>_0x8ee740 in _0x34d2cf?_0x4d2615(_0x34d2cf,_0x8ee740,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x36e0d6}):_0x34d2cf[_0x8ee740]=_0x36e0d6,_0xb5e805=(_0x42bc71,_0x42e7c4,_0x256c9a)=>_0x5e17a6(_0x42bc71,typeof _0x42e7c4!=_0x5e2413(0x1bc)?_0x42e7c4+'':_0x42e7c4,_0x256c9a);function _0x396746({ref:_0x1efed4,..._0x4d50e2}){const _0x41e3e5=_0x5e2413,{icon:_0x470c77,id:_0x3120f8,className:_0x492f9e,extend:_0x4cd85c,..._0x7550e0}=_0x4d50e2,_0x1d781a=(_0x41e3e5(0x1fb)+_0x3120f8+'\x20'+(_0x492f9e||''))['trim'](),_0x3e4b61=_0x3caf8f[_0x41e3e5(0x1ab)]('_'+_0x558999());return _0xe41c90(_0x470c77,''+_0x3120f8,{'defIds':_0x470c77['defIds'],'idSuffix':_0x3e4b61[_0x41e3e5(0x315)]},{'ref':_0x1efed4,'className':_0x1d781a,..._0x7550e0},_0x4cd85c);}function _0xe41c90(_0x2bd351,_0x358015,_0x848dd8,_0x533714,_0x52ed07){const _0x546b45=_0x5e2413;return _0x3caf8f[_0x546b45(0x221)](_0x2bd351[_0x546b45(0x35e)],{'key':_0x358015,..._0x2b77b7(_0x2bd351,_0x848dd8,_0x52ed07),..._0x533714},(_0x1b67a1(_0x2bd351,_0x848dd8)[_0x546b45(0x35c)]||[])[_0x546b45(0x461)]((_0x42ed70,_0x412477)=>_0xe41c90(_0x42ed70,_0x358015+'-'+_0x2bd351['tag']+'-'+_0x412477,_0x848dd8,void 0x0,_0x52ed07)));}function _0x2b77b7(_0x9b734a,_0x4bf171,_0xca60c3){const _0x51aa92=_0x5e2413,_0xb7afba={..._0x9b734a[_0x51aa92(0x38f)]};_0xca60c3!=null&&_0xca60c3[_0x51aa92(0x354)]&&_0xb7afba[_0x51aa92(0x2ee)]==='colorChannel1'&&(_0xb7afba['fill']=_0xca60c3[_0x51aa92(0x354)]),_0x9b734a['tag']===_0x51aa92(0x3c6)&&_0xb7afba['id']&&(_0xb7afba['id']=_0xb7afba['id']+_0x4bf171[_0x51aa92(0x2a9)]),Object[_0x51aa92(0x42f)](_0xb7afba)[_0x51aa92(0x3e5)](([_0x347023,_0x4d3253])=>{const _0x156e8=_0x51aa92;_0x347023===_0x156e8(0x3c6)&&typeof _0x4d3253==_0x156e8(0x24d)&&(_0xb7afba[_0x347023]=_0x4d3253[_0x156e8(0x1a0)](/url\(#(.*)\)/,'url(#$1'+_0x4bf171[_0x156e8(0x2a9)]+')'));});const {defIds:_0x7457d2}=_0x4bf171;return!_0x7457d2||_0x7457d2[_0x51aa92(0x2dd)]===0x0||(_0x9b734a['tag']===_0x51aa92(0x395)&&_0xb7afba['xlink:href']&&(_0xb7afba[_0x51aa92(0x1d6)]=_0xb7afba[_0x51aa92(0x1d6)]+_0x4bf171[_0x51aa92(0x2a9)]),Object['entries'](_0xb7afba)[_0x51aa92(0x3e5)](([_0x433162,_0x3ab8d7])=>{const _0x3df580=_0x51aa92;typeof _0x3ab8d7==_0x3df580(0x24d)&&(_0xb7afba[_0x433162]=_0x3ab8d7[_0x3df580(0x1a0)](/url\(#(.*)\)/,'url(#$1'+_0x4bf171['idSuffix']+')'));})),_0xb7afba;}function _0x1b67a1(_0x1b23c7,_0x335c33){const _0x3a3227=_0x5e2413;var _0x163ef0;const {defIds:_0xbdeae0}=_0x335c33;return!_0xbdeae0||_0xbdeae0[_0x3a3227(0x2dd)]===0x0?_0x1b23c7:_0x1b23c7[_0x3a3227(0x35e)]===_0x3a3227(0x358)&&((_0x163ef0=_0x1b23c7['children'])!=null&&_0x163ef0[_0x3a3227(0x2dd)])?{..._0x1b23c7,'children':_0x1b23c7[_0x3a3227(0x35c)][_0x3a3227(0x461)](_0x466abb=>typeof _0x466abb[_0x3a3227(0x38f)]['id']=='string'&&_0xbdeae0&&_0xbdeae0['includes'](_0x466abb[_0x3a3227(0x38f)]['id'])?{..._0x466abb,'attrs':{..._0x466abb['attrs'],'id':_0x466abb[_0x3a3227(0x38f)]['id']+_0x335c33[_0x3a3227(0x2a9)]}}:_0x466abb)}:_0x1b23c7;}function _0x558999(){const _0x5dd25f=_0x5e2413;return Math[_0x5dd25f(0x3ea)]()[_0x5dd25f(0x2b6)](0x24)['substring'](0x2,0x8);}_0x396746['displayName']='UniverIcon';const _0x1585b9={'tag':_0x5e2413(0x3ab),'attrs':{'xmlns':_0x5e2413(0x225),'fill':_0x5e2413(0x296),'viewBox':_0x5e2413(0x1cc),'width':_0x5e2413(0x1cd),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x5e2413(0x418),'attrs':{'stroke':'currentColor','d':_0x5e2413(0x31c),'strokeLinecap':_0x5e2413(0x28d),'strokeLinejoin':_0x5e2413(0x28d),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5e2413(0x36e),'attrs':{'id':_0x5e2413(0x3ee)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x5e2413(0x3d2)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x15ae09=_0x3caf8f[_0x5e2413(0x3d6)](function(_0x1f2d50,_0x4971c0){const _0x4cf742=_0x5e2413;return _0x3caf8f[_0x4cf742(0x221)](_0x396746,Object[_0x4cf742(0x401)]({},_0x1f2d50,{'id':'off-line-icon','ref':_0x4971c0,'icon':_0x1585b9}));});_0x15ae09[_0x5e2413(0x3f6)]='OffLineIcon';const _0x2b16a3={'tag':_0x5e2413(0x3ab),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5e2413(0x296),'viewBox':_0x5e2413(0x3fb),'width':'1em','height':_0x5e2413(0x1cd)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','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':_0x5e2413(0x28d),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x5e2413(0x358),'attrs':{},'children':[{'tag':_0x5e2413(0x36e),'attrs':{'id':_0x5e2413(0x3e6)},'children':[{'tag':_0x5e2413(0x418),'attrs':{'fill':_0x5e2413(0x2ec),'d':_0x5e2413(0x3d2),'transform':_0x5e2413(0x2ed)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x3882ce=_0x3caf8f[_0x5e2413(0x3d6)](function(_0x4489f3,_0x428dd6){const _0x222de6=_0x5e2413;return _0x3caf8f['createElement'](_0x396746,Object['assign']({},_0x4489f3,{'id':_0x222de6(0x38e),'ref':_0x428dd6,'icon':_0x2b16a3}));});_0x3882ce['displayName']=_0x5e2413(0x1d9);function _0x415583(_0x271508){const _0x1a7fc8=_0x5e2413;switch(_0x271508){case _0x30f49a['CollaborationStatus']['OFFLINE']:return _0x1a7fc8(0x1a1);case _0x30f49a[_0x1a7fc8(0x1e3)]['CONFLICT']:return _0x1a7fc8(0x40e);case _0x30f49a[_0x1a7fc8(0x1e3)][_0x1a7fc8(0x305)]:return _0x1a7fc8(0x1cb);case _0x30f49a[_0x1a7fc8(0x1e3)]['NOT_COLLAB']:return _0x1a7fc8(0x3e7);case _0x30f49a['CollaborationStatus']['AWAITING']:case _0x30f49a[_0x1a7fc8(0x1e3)][_0x1a7fc8(0x28c)]:return _0x1a7fc8(0x343);case _0x30f49a['CollaborationStatus'][_0x1a7fc8(0x2d3)]:case _0x30f49a[_0x1a7fc8(0x1e3)][_0x1a7fc8(0x347)]:return _0x1a7fc8(0x433);}}function _0x5709c0(_0x429075){const _0x43e7f3=_0x5e2413,{status$:_0x24e9cc}=_0x429075,_0x5733bc=_0x2b7bff[_0x43e7f3(0x2c6)](_0x24e9cc,_0x30f49a[_0x43e7f3(0x1e3)][_0x43e7f3(0x2a3)]),_0x16979b=_0x2b7bff['useDependency'](_0x22ce22[_0x43e7f3(0x42d)]),_0x14a7f4=_0x2b7bff[_0x43e7f3(0x2fe)](_0x30f49a[_0x43e7f3(0x382)]),_0x910f35=_0x5733bc!==_0x30f49a[_0x43e7f3(0x1e3)][_0x43e7f3(0x1a4)],_0x3d5ad1=_0x16979b['t'](_0x415583(_0x5733bc)),_0x48be0d=_0x910f35?_0x3436bf[_0x43e7f3(0x3f7)](_0x3882ce,{}):_0x3436bf['jsx'](_0x15ae09,{}),_0x5251f0=_0x3caf8f[_0x43e7f3(0x331)](()=>{const _0x25de73=_0x43e7f3;_0x910f35||_0x14a7f4[_0x25de73(0x3c8)]();},[_0x910f35,_0x14a7f4]);function _0x296b41(){const _0x3d60d7=_0x43e7f3;return _0x3436bf[_0x3d60d7(0x199)](_0x3d60d7(0x332),{'className':_0x3d60d7(0x288),'onClick':_0x5251f0,'children':[_0x3436bf[_0x3d60d7(0x3f7)]('div',{'className':_0x569a72['clsx'](_0x3d60d7(0x2d4),{'univer-text-green-500':_0x910f35,'univer-text-red-500':!_0x910f35}),'children':_0x48be0d}),_0x3436bf[_0x3d60d7(0x3f7)](_0x3d60d7(0x332),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3d5ad1})]});}return _0x910f35?_0x296b41():_0x3436bf['jsx'](_0x569a72['Tooltip'],{'title':_0x16979b['t'](_0x43e7f3(0x3f3)),'children':_0x296b41()});}var _0x36dc13=Object[_0x5e2413(0x306)],_0x447926=(_0x50f39d,_0x11ee12,_0xac0e35,_0x4cdce3)=>{const _0x533103=_0x5e2413;for(var _0x2a1027=_0x4cdce3>0x1?void 0x0:_0x4cdce3?_0x36dc13(_0x11ee12,_0xac0e35):_0x11ee12,_0x401d35=_0x50f39d[_0x533103(0x2dd)]-0x1,_0x53081a;_0x401d35>=0x0;_0x401d35--)(_0x53081a=_0x50f39d[_0x401d35])&&(_0x2a1027=_0x53081a(_0x2a1027)||_0x2a1027);return _0x2a1027;},_0x306040=(_0x287561,_0x985a75)=>(_0xf6b3cb,_0x178854)=>_0x985a75(_0xf6b3cb,_0x178854,_0x287561);_0x59cddf[_0x5e2413(0x1f7)]=class extends _0x22ce22[_0x5e2413(0x1e2)]{constructor(_0x395f92,_0xf241fe,_0x44190c,_0x3f867f){const _0x3587db=_0x5e2413;super(),_0xb5e805(this,_0x3587db(0x3d5),new _0x32e4d0['BehaviorSubject'](_0x30f49a[_0x3587db(0x1e3)][_0x3587db(0x2a3)])),(this['_univerInstanceService']=_0x395f92,this['_injector']=_0xf241fe,this[_0x3587db(0x2c4)]=_0x44190c,this[_0x3587db(0x257)]=_0x3f867f,this[_0x3587db(0x2d9)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x26b1a7=_0x5e2413;this[_0x26b1a7(0x279)](this[_0x26b1a7(0x1f4)][_0x26b1a7(0x3f9)]['pipe'](_0x32e4d0[_0x26b1a7(0x205)](()=>{const _0x2b8321=_0x26b1a7,_0x212724=this[_0x2b8321(0x1f4)][_0x2b8321(0x2e9)]();return _0x212724?this[_0x2b8321(0x2c4)]['getCollabEntity$'](_0x212724[_0x2b8321(0x44e)]()):_0x32e4d0['of'](null);}),_0x32e4d0['switchMap'](_0x23aed5=>_0x23aed5?_0x23aed5[_0x26b1a7(0x3a8)]:_0x32e4d0['of'](_0x30f49a[_0x26b1a7(0x1e3)][_0x26b1a7(0x2a3)])))[_0x26b1a7(0x290)](_0xd20ab2=>{const _0xc6c8ff=_0x26b1a7;this[_0xc6c8ff(0x3d5)][_0xc6c8ff(0x27e)](_0xd20ab2);}));}[_0x5e2413(0x2d9)](){const _0x1cbfc4=_0x5e2413;this[_0x1cbfc4(0x279)](this['_uiPartsService'][_0x1cbfc4(0x231)](_0x2b7bff['BuiltInUIPart'][_0x1cbfc4(0x476)],()=>_0x2b7bff['connectInjector'](_0x5d4c86({'status$':this[_0x1cbfc4(0x3d5)][_0x1cbfc4(0x374)]()}),this[_0x1cbfc4(0x1fa)])));}},_0x59cddf['DesktopCollaborationStatusDisplayController']=_0x447926([_0x306040(0x0,_0x22ce22[_0x5e2413(0x2cd)]),_0x306040(0x1,_0x22ce22['Inject'](_0x22ce22[_0x5e2413(0x47b)])),_0x306040(0x2,_0x22ce22[_0x5e2413(0x312)](_0x30f49a[_0x5e2413(0x473)])),_0x306040(0x3,_0x2b7bff[_0x5e2413(0x2bf)])],_0x59cddf[_0x5e2413(0x1f7)]);function _0x5d4c86(_0x189df3){const {status$:_0xee1d85}=_0x189df3;return function(){const _0x5ccdda=_0x3aed;return _0x3436bf[_0x5ccdda(0x3f7)](_0x5709c0,{'status$':_0xee1d85});};}const _0x2449da=_0x22ce22['createIdentifier']('uni.network.url-service');var _0x17b62f=Object[_0x5e2413(0x306)],_0xb314a4=(_0x10ba61,_0x1f4d94,_0xdb828c,_0x572513)=>{for(var _0x321e83=_0x572513>0x1?void 0x0:_0x572513?_0x17b62f(_0x1f4d94,_0xdb828c):_0x1f4d94,_0x173ef2=_0x10ba61['length']-0x1,_0x29b71e;_0x173ef2>=0x0;_0x173ef2--)(_0x29b71e=_0x10ba61[_0x173ef2])&&(_0x321e83=_0x29b71e(_0x321e83)||_0x321e83);return _0x321e83;},_0x185956=(_0x11a303,_0x112d9a)=>(_0x3a742d,_0x2c3105)=>_0x112d9a(_0x3a742d,_0x2c3105,_0x11a303);_0x59cddf[_0x5e2413(0x45e)]=class extends _0x22ce22['RxDisposable']{constructor(_0x3d1f9a,_0x307310,_0x280055,_0x3882f1,_0x8fce9c){const _0xddb96c=_0x5e2413;super(),this[_0xddb96c(0x43b)]=_0x3d1f9a,this[_0xddb96c(0x294)]=_0x307310,this[_0xddb96c(0x272)]=_0x280055,this[_0xddb96c(0x394)]=_0x3882f1,_0x8fce9c?_0x8fce9c==null||_0x8fce9c[_0xddb96c(0x293)]()['then'](()=>this[_0xddb96c(0x32b)]()):(this['_logService']['debug'](_0xddb96c(0x295),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0xddb96c(0x32b)]());}async[_0x5e2413(0x32b)](){const _0x3f3b67=_0x5e2413,_0x107e81=this[_0x3f3b67(0x43b)][_0x3f3b67(0x26a)](_0x3f3b67(0x1e5)),_0x37ba92=this['_urlService'][_0x3f3b67(0x26a)](_0x3f3b67(0x22a)),_0x772427=this[_0x3f3b67(0x43b)]['getParam'](_0x3f3b67(0x362));if(!_0x107e81||!_0x37ba92){this[_0x3f3b67(0x294)][_0x3f3b67(0x1ce)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4831e1=await this['_dataLoaderService']['loadUnit'](_0x107e81,Number(_0x37ba92),_0x772427);_0x4831e1&&_0x4831e1 instanceof _0x22ce22['Workbook']&&this[_0x3f3b67(0x440)](_0x4831e1);}async[_0x5e2413(0x440)](_0x3f8143){const _0x4457c2=_0x5e2413;await this['_updateSubUnitFromURLParams'](_0x3f8143),_0x3f8143[_0x4457c2(0x3cd)][_0x4457c2(0x1c9)](_0x32e4d0[_0x4457c2(0x2be)](this[_0x4457c2(0x25a)]))[_0x4457c2(0x290)](_0x374eca=>{const _0x323313=_0x4457c2;_0x374eca&&this[_0x323313(0x3d4)](_0x374eca);}),this['_urlService'][_0x4457c2(0x1d0)]['pipe'](_0x32e4d0['takeUntil'](this['dispose$']))['subscribe'](()=>this[_0x4457c2(0x2df)](_0x3f8143));}[_0x5e2413(0x3d4)](_0x390725,_0x285b82=!0x1){const _0x332f37=_0x5e2413,_0x50a53d=this[_0x332f37(0x43b)][_0x332f37(0x26a)](_0x332f37(0x362));_0x390725['getSheetId']()!==_0x50a53d&&this[_0x332f37(0x43b)][_0x332f37(0x3bb)]('subunit',_0x390725[_0x332f37(0x42a)](),_0x285b82);}async[_0x5e2413(0x2df)](_0x2c579c){const _0xb9b17c=_0x5e2413;var _0xb3a2b4;const _0x4ffe0f=this[_0xb9b17c(0x43b)][_0xb9b17c(0x26a)]('subunit');if(!_0x4ffe0f||!_0x2c579c[_0xb9b17c(0x1e7)](_0x4ffe0f)){const _0x2c528b=_0x2c579c[_0xb9b17c(0x241)]()[0x0],_0x26aaac=_0x2c579c[_0xb9b17c(0x1e7)](_0x2c528b);if(!_0x26aaac)return;this[_0xb9b17c(0x3d4)](_0x26aaac,!0x0),await this[_0xb9b17c(0x272)][_0xb9b17c(0x34b)](_0x3d5699[_0xb9b17c(0x3ce)]['id'],{'unitId':_0x2c579c[_0xb9b17c(0x44e)](),'subUnitId':_0x2c528b});return;}((_0xb3a2b4=_0x2c579c['getActiveSheet']())==null?void 0x0:_0xb3a2b4[_0xb9b17c(0x42a)]())!==_0x4ffe0f&&await this['_commandService']['executeCommand'](_0x3d5699[_0xb9b17c(0x3ce)]['id'],{'unitId':_0x2c579c['getUnitId'](),'subUnitId':_0x4ffe0f});}},_0x59cddf[_0x5e2413(0x45e)]=_0xb314a4([_0x185956(0x0,_0x2449da),_0x185956(0x1,_0x22ce22['ILogService']),_0x185956(0x2,_0x22ce22[_0x5e2413(0x3bf)]),_0x185956(0x3,_0x22ce22[_0x5e2413(0x312)](_0x30f49a[_0x5e2413(0x45c)])),_0x185956(0x4,_0x22ce22['Optional'](_0x2f41c0[_0x5e2413(0x233)]))],_0x59cddf[_0x5e2413(0x45e)]);var _0x15ddf9=Object[_0x5e2413(0x306)],_0x14cc23=(_0x2fd02f,_0x24c10f,_0x339dd0,_0x153f99)=>{const _0x48d97c=_0x5e2413;for(var _0x2ad6b0=_0x153f99>0x1?void 0x0:_0x153f99?_0x15ddf9(_0x24c10f,_0x339dd0):_0x24c10f,_0x3f8c6b=_0x2fd02f[_0x48d97c(0x2dd)]-0x1,_0x202bcc;_0x3f8c6b>=0x0;_0x3f8c6b--)(_0x202bcc=_0x2fd02f[_0x3f8c6b])&&(_0x2ad6b0=_0x202bcc(_0x2ad6b0)||_0x2ad6b0);return _0x2ad6b0;},_0x3a5c94=(_0x27ab98,_0x3d86d9)=>(_0x360834,_0x4f5b02)=>_0x3d86d9(_0x360834,_0x4f5b02,_0x27ab98);let _0x5e2aec=class extends _0x22ce22[_0x5e2413(0x344)]{constructor(_0x5a76b9,_0x4dbc40){const _0x8b7125=_0x5e2413;super(),this['_docClipboardService']=_0x5a76b9,this[_0x8b7125(0x21e)]=_0x4dbc40,this['_init']();}['_init'](){const _0x81abc1=_0x5e2413,_0x418e44=this;this['disposeWithMe'](this['_docClipboardService'][_0x81abc1(0x1b6)]({'onBeforePasteImage':async _0x21d180=>{const _0x7742b1=_0x81abc1,_0x44f7d1=await _0x418e44['_imageIoService'][_0x7742b1(0x2e6)](_0x21d180);return _0x44f7d1?{'source':_0x44f7d1[_0x7742b1(0x1fd)],'imageSourceType':_0x44f7d1[_0x7742b1(0x3f2)]}:null;}}));}};_0x5e2aec=_0x14cc23([_0x3a5c94(0x0,_0x449f6a['IDocClipboardService']),_0x3a5c94(0x1,_0x398275[_0x5e2413(0x29f)])],_0x5e2aec);const _0x240f6a=[_0x5e2413(0x3a1),_0x5e2413(0x1f2),_0x5e2413(0x365),_0x5e2413(0x1c1),_0x5e2413(0x44c),'yellow.400'];class _0x334c88 extends _0x22ce22[_0x5e2413(0x1e2)]{constructor(){const _0x1c013f=_0x5e2413;super(...arguments),_0xb5e805(this,'_assignedColors',new Map()),_0xb5e805(this,_0x1c013f(0x211),0x0);}[_0x5e2413(0x217)](_0x6eec6e){const _0x5d6418=_0x5e2413;if(this[_0x5d6418(0x47d)][_0x5d6418(0x35f)](_0x6eec6e))return this[_0x5d6418(0x47d)][_0x5d6418(0x335)](_0x6eec6e);const _0x323430=_0x240f6a[this[_0x5d6418(0x211)]];return this['_colorIndex']=(this[_0x5d6418(0x211)]+0x1)%_0x240f6a[_0x5d6418(0x2dd)],this['_assignedColors']['set'](_0x6eec6e,_0x323430),_0x323430;}}function _0x34bd72(_0x3ccdcd){const _0x4d5f13=_0x5e2413;let _0x39c62='';for(const _0xd7a0e8 of _0x3ccdcd){const {startOffset:_0x3770d7,endOffset:_0x27d5b8,isActive:_0x46f558,rangeType:_0x4ab9a2,segmentId:_0x41c28c,segmentPage:_0x123729}=_0xd7a0e8;_0x39c62[_0x4d5f13(0x2dd)]&&(_0x39c62+=','),_0x39c62+=_0x3770d7+':'+_0x27d5b8+':'+(_0x46f558?'1':'0')+':'+_0x4ab9a2+':'+_0x41c28c+':'+_0x123729;}return _0x39c62;}function _0x4718e7(_0x5abd80){const _0x4e9f3e=_0x5e2413,_0x43206a=_0x5abd80[_0x4e9f3e(0x46f)](','),_0x305526=[];for(const _0x2945f3 of _0x43206a){const [_0x42a402,_0x10365c,_0x218499,_0x3adabb,_0x2dbae7,_0x211aa4]=_0x2945f3[_0x4e9f3e(0x46f)](':');_0x305526[_0x4e9f3e(0x409)]({'startOffset':Number(_0x42a402),'endOffset':Number(_0x10365c),'collapsed':_0x42a402===_0x10365c,'isActive':_0x218499==='1','rangeType':_0x3adabb===_0x22ce22[_0x4e9f3e(0x23c)][_0x4e9f3e(0x46c)]?_0x22ce22[_0x4e9f3e(0x23c)][_0x4e9f3e(0x46c)]:_0x22ce22['DOC_RANGE_TYPE'][_0x4e9f3e(0x3db)],'segmentId':typeof _0x2dbae7==_0x4e9f3e(0x24d)?String(_0x2dbae7):'','segmentPage':Number(_0x211aa4!=null?_0x211aa4:-0x1)});}return _0x305526[_0x4e9f3e(0x39d)](_0xb69daf=>_0xb69daf[_0x4e9f3e(0x3d1)])||(_0x305526[0x0][_0x4e9f3e(0x3d1)]=!0x0),_0x305526;}class _0xb6042 extends _0x22ce22[_0x5e2413(0x344)]{constructor(){const _0x35ca7b=_0x5e2413;super(...arguments),_0xb5e805(this,_0x35ca7b(0x308),new _0x32e4d0[(_0x35ca7b(0x228))](null)),_0xb5e805(this,_0x35ca7b(0x456),this[_0x35ca7b(0x308)][_0x35ca7b(0x374)]());}[_0x5e2413(0x1b1)](_0xe7210d){const _0x1dcc2f=_0x5e2413,{unitID:_0x16c5a7,memberID:_0x137b32,textRanges:_0x205067}=_0xe7210d,_0x5dcc37=_0x34bd72(_0x205067);if(_0x5dcc37==='')return;const _0x20df38={'unitID':_0x16c5a7,'memberID':_0x137b32,'selection':_0x5dcc37};this[_0x1dcc2f(0x308)][_0x1dcc2f(0x27e)](_0x20df38);}}var _0x58a4b7=Object[_0x5e2413(0x306)],_0x619199=(_0x4bdd40,_0x18461b,_0x5c838c,_0x23ee4e)=>{const _0x1c5a47=_0x5e2413;for(var _0x33a81c=_0x23ee4e>0x1?void 0x0:_0x23ee4e?_0x58a4b7(_0x18461b,_0x5c838c):_0x18461b,_0x218f03=_0x4bdd40[_0x1c5a47(0x2dd)]-0x1,_0x4fbd48;_0x218f03>=0x0;_0x218f03--)(_0x4fbd48=_0x4bdd40[_0x218f03])&&(_0x33a81c=_0x4fbd48(_0x33a81c)||_0x33a81c);return _0x33a81c;},_0x5106d5=(_0x3238f5,_0x4eb9ef)=>(_0x27608b,_0x399f71)=>_0x4eb9ef(_0x27608b,_0x399f71,_0x3238f5);const _0x5b3e78=0x12c,_0x4dc471=0x64;let _0x30048f=class extends _0x22ce22[_0x5e2413(0x344)]{constructor(_0xbea055,_0x3013a8,_0x34b985,_0x5923e4,_0x473cd7,_0x4b8b44,_0x3e8844,_0x310ac0,_0x1b0f5e){const _0x5c2790=_0x5e2413;super(),_0xb5e805(this,_0x5c2790(0x3cf),!0x1),_0xb5e805(this,_0x5c2790(0x32b),!0x1),_0xb5e805(this,_0x5c2790(0x392),new _0x32e4d0[(_0x5c2790(0x228))](new Map())),_0xb5e805(this,_0x5c2790(0x2a0),this[_0x5c2790(0x392)]['asObservable']()),_0xb5e805(this,_0x5c2790(0x219),new _0x32e4d0[(_0x5c2790(0x228))]([])),_0xb5e805(this,'roomMembers$',this['_roomMembers$'][_0x5c2790(0x1c9)](_0x32e4d0[_0x5c2790(0x378)](_0x5b3e78))),_0xb5e805(this,'_updateLocalCursor',_0x22ce22[_0x5c2790(0x198)](_0x38f07b=>{const _0x4f31a5=_0x5c2790,_0x3d7f67={'eventID':_0x5c6274[_0x4f31a5(0x36a)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x4f31a5(0x329)],'memberID':this[_0x4f31a5(0x2c2)][_0x4f31a5(0x33d)](),'selection':_0x34bd72(_0x38f07b)}};this[_0x4f31a5(0x2c2)][_0x4f31a5(0x313)](_0x3d7f67,this['unitID']);},_0x4dc471)),(this['unitID']=_0xbea055,this[_0x5c2790(0x2c2)]=_0x3013a8,this[_0x5c2790(0x1fa)]=_0x34b985,this['_colorAssignService']=_0x5923e4,this[_0x5c2790(0x455)]=_0x473cd7,this[_0x5c2790(0x1e6)]=_0x4b8b44,this[_0x5c2790(0x3b1)]=_0x3e8844,this['_univerInstanceService']=_0x310ac0,this['_commandService']=_0x1b0f5e);}get[_0x5e2413(0x2f9)](){const _0x275f6a=_0x5e2413;return this['_cursorInfo$'][_0x275f6a(0x41f)]();}get['roomMembers'](){const _0x29d835=_0x5e2413;return this[_0x29d835(0x219)][_0x29d835(0x41f)]();}[_0x5e2413(0x43d)](){const _0x33d81b=_0x5e2413;super[_0x33d81b(0x43d)](),this['_cursorInfo$'][_0x33d81b(0x27e)](new Map()),this['_cursorInfo$'][_0x33d81b(0x271)](),this[_0x33d81b(0x219)][_0x33d81b(0x27e)]([]),this['_roomMembers$'][_0x33d81b(0x271)]();}[_0x5e2413(0x3eb)](){const _0x10cb72=_0x5e2413;this[_0x10cb72(0x32b)]||(this[_0x10cb72(0x32b)]=!0x0,this[_0x10cb72(0x2c2)][_0x10cb72(0x2e0)][_0x10cb72(0x1c9)](_0x32e4d0[_0x10cb72(0x2be)](this[_0x10cb72(0x25a)]))['subscribe'](_0x3edb07=>{const _0x2bde22=_0x10cb72;_0x3edb07===_0x30f49a[_0x2bde22(0x200)][_0x2bde22(0x322)]?this[_0x2bde22(0x1a7)]():this[_0x2bde22(0x38a)]();}),this[_0x10cb72(0x2c2)][_0x10cb72(0x314)]['pipe'](_0x32e4d0[_0x10cb72(0x2be)](this['dispose$']))[_0x10cb72(0x290)](_0x13a683=>{const _0x1c16c8=_0x10cb72,_0x407e01=_0x13a683[_0x1c16c8(0x3b5)];_0x407e01===_0x5c6274['CollaborationEvent'][_0x1c16c8(0x22d)]&&this[_0x1c16c8(0x21f)](_0x13a683),_0x407e01===_0x5c6274[_0x1c16c8(0x36a)][_0x1c16c8(0x340)]&&this[_0x1c16c8(0x47a)](_0x13a683);}),this[_0x10cb72(0x279)](this['_commandService'][_0x10cb72(0x479)](_0x4bfa89=>{const _0x33b9bc=_0x10cb72,_0x498eef=_0x4bfa89[_0x33b9bc(0x345)];_0x498eef!=null&&this[_0x33b9bc(0x3cf)]&&_0x4bfa89['id']===_0x506cee[_0x33b9bc(0x248)]['id']&&_0x498eef['unitId']===this[_0x33b9bc(0x329)]&&_0x498eef[_0x33b9bc(0x1df)]===!0x1&&_0x498eef[_0x33b9bc(0x3fe)]['length']>0x0&&this[_0x33b9bc(0x2c3)](_0x498eef['ranges']);})),this['_syncEditingCollabCursorService'][_0x10cb72(0x456)][_0x10cb72(0x1c9)](_0x32e4d0[_0x10cb72(0x2be)](this['dispose$']))['subscribe'](_0x1a51a4=>{const _0x5a1290=_0x10cb72;if((_0x1a51a4==null?void 0x0:_0x1a51a4[_0x5a1290(0x329)])!==this[_0x5a1290(0x329)])return;const _0x271db9={'eventID':_0x5c6274[_0x5a1290(0x36a)][_0x5a1290(0x22d)],'data':_0x1a51a4};this[_0x5a1290(0x21f)](_0x271db9);}),this[_0x10cb72(0x279)](this[_0x10cb72(0x272)][_0x10cb72(0x479)](_0x56e701=>{const _0x41768e=_0x10cb72;if(_0x56e701[_0x41768e(0x345)]==null)return;const _0x3ab2a1=_0x56e701[_0x41768e(0x345)];if(_0x56e701['id']!==_0x506cee[_0x41768e(0x474)]['id']||_0x3ab2a1['unitId']!==this[_0x41768e(0x329)])return;const _0x43a601={'id':_0x41768e(0x2e1),'params':_0x3ab2a1},_0x143d07=this[_0x41768e(0x2f9)];for(const [_0x4d7536,_0x58fc99]of _0x143d07){const _0x1d47c={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x41768e(0x329)],'actions':null,'textRanges':_0x58fc99[_0x41768e(0x3fe)]}},_0x5da6af=this[_0x41768e(0x3b1)][_0x41768e(0x1f5)](_0x43a601,_0x1d47c,!0x1);if(_0x5c6274[_0x41768e(0x20f)](_0x5da6af))throw _0x5da6af[_0x41768e(0x1ee)];_0x143d07[_0x41768e(0x1d2)](_0x4d7536,{..._0x58fc99,'ranges':_0x5da6af[_0x41768e(0x30b)]['params'][_0x41768e(0x207)]});}queueMicrotask(()=>{const _0x1da910=_0x41768e;this[_0x1da910(0x392)][_0x1da910(0x27e)](_0x143d07);});})));}['_onCursorUpdate'](_0x3cca91){const _0x1f27fd=_0x5e2413;var _0x199232,_0x5a818f;const {memberID:_0x43ec60,selection:_0xac29e}=_0x3cca91[_0x1f27fd(0x238)],_0xddf3fe=_0x4718e7(_0xac29e),_0x228f34=(_0x5a818f=(_0x199232=this[_0x1f27fd(0x455)][_0x1f27fd(0x3d3)](this[_0x1f27fd(0x329)],_0x43ec60))==null?void 0x0:_0x199232[_0x1f27fd(0x30d)])!=null?_0x5a818f:_0x1f27fd(0x40a),_0x52b057={'color':this[_0x1f27fd(0x477)]['assignAColorForMemberID'](_0x43ec60),'name':_0x228f34,'ranges':_0xddf3fe},_0x1bdd36=this[_0x1f27fd(0x2f9)];_0x1bdd36[_0x1f27fd(0x1d2)](_0x43ec60,_0x52b057),this[_0x1f27fd(0x392)][_0x1f27fd(0x27e)](_0x1bdd36);}[_0x5e2413(0x47a)](_0x222216){const _0xcf6e1=_0x5e2413,{memberID:_0x429514}=_0x222216[_0xcf6e1(0x238)],_0x23873c=this[_0xcf6e1(0x2f9)];_0x23873c['delete'](_0x429514),this['_cursorInfo$'][_0xcf6e1(0x27e)](_0x23873c);}[_0x5e2413(0x1a7)](){const _0x3f1029=_0x5e2413;var _0x651cc2;if(this[_0x3f1029(0x3cf)]=!0x0,((_0x651cc2=this[_0x3f1029(0x1f4)][_0x3f1029(0x2e9)]())==null?void 0x0:_0x651cc2[_0x3f1029(0x44e)]())!==this[_0x3f1029(0x329)])return;const _0x4c0b76=this[_0x3f1029(0x1fa)][_0x3f1029(0x335)](_0x506cee[_0x3f1029(0x32a)])[_0x3f1029(0x360)]();Array[_0x3f1029(0x3e3)](_0x4c0b76)&&_0x4c0b76[_0x3f1029(0x2dd)]>0x0&&this[_0x3f1029(0x2c3)](_0x4c0b76);}[_0x5e2413(0x38a)](){const _0x380f96=_0x5e2413;this[_0x380f96(0x3cf)]=!0x1;}};_0x30048f=_0x619199([_0x5106d5(0x2,_0x22ce22[_0x5e2413(0x312)](_0x22ce22[_0x5e2413(0x47b)])),_0x5106d5(0x3,_0x22ce22[_0x5e2413(0x312)](_0x334c88)),_0x5106d5(0x4,_0x22ce22[_0x5e2413(0x312)](_0x30f49a[_0x5e2413(0x2ab)])),_0x5106d5(0x5,_0x22ce22[_0x5e2413(0x312)](_0xb6042)),_0x5106d5(0x6,_0x5c6274['ITransformService']),_0x5106d5(0x7,_0x22ce22[_0x5e2413(0x2cd)]),_0x5106d5(0x8,_0x22ce22[_0x5e2413(0x3bf)])],_0x30048f);var _0x2881b5=Object[_0x5e2413(0x306)],_0x593a86=(_0x1e1b19,_0x374df0,_0x5d228d,_0x1b43ed)=>{const _0x2c3f56=_0x5e2413;for(var _0x5bae22=_0x1b43ed>0x1?void 0x0:_0x1b43ed?_0x2881b5(_0x374df0,_0x5d228d):_0x374df0,_0x43cd4a=_0x1e1b19[_0x2c3f56(0x2dd)]-0x1,_0x580071;_0x43cd4a>=0x0;_0x43cd4a--)(_0x580071=_0x1e1b19[_0x43cd4a])&&(_0x5bae22=_0x580071(_0x5bae22)||_0x5bae22);return _0x5bae22;},_0x293eb8=(_0x183e3d,_0x2d4e62)=>(_0x21df86,_0x8df71)=>_0x2d4e62(_0x21df86,_0x8df71,_0x183e3d);const _0x276248=0x12c,_0x30ac4b=0x64,_0x3461c0=()=>{let _0x2ec228=[],_0x1406dc=!0x1;return _0x5d8214=>{const _0x2a51cb=_0x3aed;_0x2ec228[_0x2a51cb(0x409)](_0x5d8214),_0x1406dc||(_0x1406dc=!0x0,setTimeout(()=>{_0x2ec228['forEach'](_0x5f0e42=>_0x5f0e42()),_0x2ec228=[],_0x1406dc=!0x1;}));};};let _0x453236=class extends _0x22ce22[_0x5e2413(0x344)]{constructor(_0x13162e,_0x1c1bd8,_0x3e5454,_0x4b6516,_0x52be16,_0xef97fe,_0x3b5544,_0x1a2a13){const _0x3d1e2d=_0x5e2413;super(),_0xb5e805(this,_0x3d1e2d(0x3cf),!0x1),_0xb5e805(this,_0x3d1e2d(0x32b),!0x1),_0xb5e805(this,_0x3d1e2d(0x392),new _0x32e4d0[(_0x3d1e2d(0x228))](new Map())),_0xb5e805(this,_0x3d1e2d(0x2a0),this['_cursorInfo$'][_0x3d1e2d(0x374)]()),_0xb5e805(this,_0x3d1e2d(0x219),new _0x32e4d0['BehaviorSubject']([])),_0xb5e805(this,_0x3d1e2d(0x32f),this[_0x3d1e2d(0x219)][_0x3d1e2d(0x1c9)](_0x32e4d0[_0x3d1e2d(0x378)](_0x276248))),_0xb5e805(this,_0x3d1e2d(0x2c3),_0x22ce22[_0x3d1e2d(0x198)]((_0x1b2160,_0x796969)=>{const _0x375566=_0x3d1e2d,_0x365352={'eventID':_0x5c6274[_0x375566(0x36a)][_0x375566(0x22d)],'data':{'unitID':this[_0x375566(0x329)],'memberID':this[_0x375566(0x2c2)][_0x375566(0x33d)](),'selection':_0x64210c[_0x375566(0x311)](_0x1b2160,_0x796969[_0x375566(0x3c1)])}};this[_0x375566(0x2c2)][_0x375566(0x313)](_0x365352,this[_0x375566(0x329)]);},_0x30ac4b)),(this[_0x3d1e2d(0x329)]=_0x13162e,this[_0x3d1e2d(0x2c2)]=_0x1c1bd8,this[_0x3d1e2d(0x1fa)]=_0x3e5454,this[_0x3d1e2d(0x477)]=_0x4b6516,this[_0x3d1e2d(0x455)]=_0x52be16,this[_0x3d1e2d(0x1f4)]=_0xef97fe,this[_0x3d1e2d(0x272)]=_0x3b5544,this[_0x3d1e2d(0x3b0)]=_0x1a2a13);}get[_0x5e2413(0x2f9)](){const _0x24a054=_0x5e2413;return this[_0x24a054(0x392)][_0x24a054(0x41f)]();}get[_0x5e2413(0x3c5)](){const _0x575a72=_0x5e2413;return this['_roomMembers$'][_0x575a72(0x41f)]();}[_0x5e2413(0x43d)](){const _0x474072=_0x5e2413;super[_0x474072(0x43d)](),this['_cursorInfo$']['next'](new Map()),this[_0x474072(0x392)]['complete'](),this[_0x474072(0x219)]['next']([]),this['_roomMembers$'][_0x474072(0x271)]();}[_0x5e2413(0x3eb)](){const _0x380488=_0x5e2413;this[_0x380488(0x32b)]||(this[_0x380488(0x32b)]=!0x0,this[_0x380488(0x2c2)][_0x380488(0x2e0)][_0x380488(0x1c9)](_0x32e4d0[_0x380488(0x2be)](this[_0x380488(0x25a)]))[_0x380488(0x290)](_0x7d049d=>{const _0x3a200e=_0x380488;_0x7d049d===_0x30f49a[_0x3a200e(0x200)][_0x3a200e(0x322)]?this[_0x3a200e(0x1a7)]():this['_toggleOffline']();}),this[_0x380488(0x2c2)][_0x380488(0x314)]['pipe'](_0x32e4d0['takeUntil'](this[_0x380488(0x25a)]))['subscribe'](_0x291521=>{const _0x42870c=_0x380488,_0x555a4f=_0x291521[_0x42870c(0x3b5)];_0x555a4f===_0x5c6274['CollaborationEvent'][_0x42870c(0x22d)]&&this[_0x42870c(0x21f)](_0x291521),_0x555a4f===_0x5c6274[_0x42870c(0x36a)]['USERS_LEAVE']&&this[_0x42870c(0x47a)](_0x291521);}),this[_0x380488(0x1db)](),this[_0x380488(0x279)](this[_0x380488(0x272)][_0x380488(0x479)](_0x5da849=>{const _0x453a14=_0x380488;if(this[_0x453a14(0x3cf)]&&_0x5da849['id']===_0x3d5699['SetSelectionsOperation']['id']&&_0x5da849[_0x453a14(0x345)][_0x453a14(0x1de)]===this[_0x453a14(0x329)]){const _0x3d9d1a=_0x5da849[_0x453a14(0x345)];this[_0x453a14(0x2c3)](_0x3d9d1a[_0x453a14(0x40f)],_0x3d9d1a[_0x453a14(0x316)][0x0]);}})));}[_0x5e2413(0x21f)](_0x5438b1){const _0x1a3998=_0x5e2413;var _0x4a26b3,_0x5de8f7;const {memberID:_0x2ab01f,selection:_0x4c6b0f}=_0x5438b1[_0x1a3998(0x238)],{sheetName:_0x1d83f6,range:_0x384358}=_0x64210c[_0x1a3998(0x197)](_0x4c6b0f),_0x7b4045={'name':(_0x5de8f7=(_0x4a26b3=this[_0x1a3998(0x455)][_0x1a3998(0x3d3)](this['unitID'],_0x2ab01f))==null?void 0x0:_0x4a26b3['name'])!=null?_0x5de8f7:'Unknown\x20user','range':this[_0x1a3998(0x41d)](_0x1d83f6,_0x384358),'sheetID':_0x1d83f6,'color':this['_colorAssignService'][_0x1a3998(0x217)](_0x2ab01f),'selection':_0x4c6b0f},_0x5b050c=this[_0x1a3998(0x2f9)];_0x5b050c[_0x1a3998(0x1d2)](_0x2ab01f,_0x7b4045),this[_0x1a3998(0x392)][_0x1a3998(0x27e)](_0x5b050c);}['_onCursorDelete'](_0x3f2dc9){const _0x3c99fa=_0x5e2413,{memberID:_0x1ec839}=_0x3f2dc9[_0x3c99fa(0x238)],_0x2ea518=this[_0x3c99fa(0x2f9)];_0x2ea518[_0x3c99fa(0x1b7)](_0x1ec839),this[_0x3c99fa(0x392)][_0x3c99fa(0x27e)](_0x2ea518);}[_0x5e2413(0x41d)](_0x128cdc,_0xebe735){const _0x805617=_0x5e2413;var _0x1efb97,_0x137223;const _0x4acb48=(_0x137223=(_0x1efb97=this[_0x805617(0x1f4)][_0x805617(0x218)](this['unitID']))==null?void 0x0:_0x1efb97[_0x805617(0x1e7)](_0x128cdc))==null?void 0x0:_0x137223[_0x805617(0x3ff)]();return(_0x4acb48==null?void 0x0:_0x4acb48[_0x805617(0x43c)](_0x5e44b8=>_0x22ce22[_0x805617(0x301)]['contains'](_0x5e44b8,_0xebe735)))||_0xebe735;}[_0x5e2413(0x1db)](){const _0x33a424=_0x5e2413,_0x557379=new _0x22ce22[(_0x33a424(0x381))](),_0x130aed=_0x3461c0(),_0x345518=()=>{const _0x5d1818=_0x33a424;_0x557379[_0x5d1818(0x43d)]();const _0x5603a6=(_0x227e0f,_0x5332ae,_0x2bf65f,_0x4f9aff)=>{const _0x1fd19a=_0x5d1818;let _0x16d867=[];switch(_0x227e0f['id']){case _0x3d5699[_0x1fd19a(0x3e2)][_0x1fd19a(0x2d8)]:{_0x16d867=_0x3d5699[_0x1fd19a(0x2c9)](_0x227e0f,_0x4f9aff);break;}case _0x3d5699[_0x1fd19a(0x3e2)][_0x1fd19a(0x3aa)]:{_0x16d867=_0x3d5699['handleDeleteRangeMoveUp'](_0x227e0f,_0x4f9aff);break;}case _0x3d5699['EffectRefRangId'][_0x1fd19a(0x42b)]:{_0x16d867=_0x3d5699[_0x1fd19a(0x224)](_0x227e0f,_0x4f9aff);break;}case _0x3d5699[_0x1fd19a(0x3e2)][_0x1fd19a(0x43a)]:{_0x16d867=_0x3d5699[_0x1fd19a(0x1aa)](_0x227e0f,_0x4f9aff);break;}case _0x3d5699['EffectRefRangId'][_0x1fd19a(0x387)]:{_0x16d867=_0x3d5699[_0x1fd19a(0x1a8)](_0x227e0f,_0x4f9aff);break;}case _0x3d5699[_0x1fd19a(0x3e2)][_0x1fd19a(0x36c)]:{_0x16d867=_0x3d5699[_0x1fd19a(0x2c1)](_0x227e0f,_0x4f9aff);break;}case _0x3d5699[_0x1fd19a(0x3e2)][_0x1fd19a(0x377)]:{_0x16d867=_0x3d5699[_0x1fd19a(0x3e1)](_0x227e0f,_0x4f9aff);break;}case _0x3d5699[_0x1fd19a(0x3e2)]['RemoveColCommandId']:{_0x16d867=_0x3d5699[_0x1fd19a(0x1c0)](_0x227e0f,_0x4f9aff);break;}case _0x3d5699[_0x1fd19a(0x3e2)][_0x1fd19a(0x292)]:{_0x16d867=_0x3d5699['handleIRemoveRow'](_0x227e0f,_0x4f9aff);break;}}const _0x1999a3=_0x3d5699['runRefRangeMutations'](_0x16d867,_0x4f9aff),_0x4a5ce4=this[_0x1fd19a(0x2f9)][_0x1fd19a(0x335)](_0x5332ae);if(_0x4a5ce4&&_0x1999a3){const _0x9dce3b={..._0x4a5ce4,'range':_0x1999a3};this['cursorInfo']['set'](_0x5332ae,_0x9dce3b),_0x130aed(()=>{const _0x1f5ecb=_0x1fd19a,_0x57ec41=this[_0x1f5ecb(0x3b0)][_0x1f5ecb(0x44f)](_0x1999a3,_0xff1a10=>(_0x57ec41['dispose'](),_0x5603a6(_0xff1a10,_0x5332ae,_0x2bf65f,_0x1999a3)));_0x557379[_0x1f5ecb(0x2b4)](_0x57ec41);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x5d1818(0x3e5)]((_0x9851aa,_0x43ed7b)=>{const _0x1b285d=_0x5d1818,{range:_0x73b8c9,sheetID:_0x9d4262}=_0x9851aa,_0x5544a6=this[_0x1b285d(0x3b0)][_0x1b285d(0x44f)](_0x73b8c9,_0x1e07bc=>(_0x5544a6[_0x1b285d(0x43d)](),_0x5603a6(_0x1e07bc,_0x43ed7b,_0x9d4262,_0x73b8c9)));_0x557379[_0x1b285d(0x2b4)](_0x5544a6);});};this[_0x33a424(0x279)](_0x22ce22[_0x33a424(0x21a)](this[_0x33a424(0x392)][_0x33a424(0x290)](()=>{_0x345518();})));}[_0x5e2413(0x1a7)](){const _0x5d2ba0=_0x5e2413;var _0x44e837,_0xe6d24d;if(this[_0x5d2ba0(0x3cf)]=!0x0,((_0x44e837=this[_0x5d2ba0(0x1f4)][_0x5d2ba0(0x2e9)]())==null?void 0x0:_0x44e837[_0x5d2ba0(0x44e)]())!==this['unitID'])return;const _0x5a8aa7=(_0xe6d24d=this[_0x5d2ba0(0x1fa)][_0x5d2ba0(0x335)](_0x3d5699[_0x5d2ba0(0x370)])[_0x5d2ba0(0x3d8)]())==null?void 0x0:_0xe6d24d[0x0],_0x577763=this[_0x5d2ba0(0x1f4)][_0x5d2ba0(0x3a6)](_0x22ce22['UniverInstanceType'][_0x5d2ba0(0x1a3)])[_0x5d2ba0(0x41c)]();_0x5a8aa7&&_0x577763&&this['_updateLocalCursor'](_0x577763[_0x5d2ba0(0x42a)](),_0x5a8aa7);}['_toggleOffline'](){const _0x1c8ad9=_0x5e2413;this[_0x1c8ad9(0x3cf)]=!0x1;}};_0x453236=_0x593a86([_0x293eb8(0x2,_0x22ce22['Inject'](_0x22ce22['Injector'])),_0x293eb8(0x3,_0x22ce22[_0x5e2413(0x312)](_0x334c88)),_0x293eb8(0x4,_0x22ce22[_0x5e2413(0x312)](_0x30f49a[_0x5e2413(0x2ab)])),_0x293eb8(0x5,_0x22ce22[_0x5e2413(0x2cd)]),_0x293eb8(0x6,_0x22ce22[_0x5e2413(0x3bf)]),_0x293eb8(0x7,_0x22ce22[_0x5e2413(0x312)](_0x3d5699[_0x5e2413(0x1b5)]))],_0x453236);var _0x5d52ee=Object[_0x5e2413(0x306)],_0x19f42b=(_0x26b564,_0x2e3743,_0x318feb,_0x4fa829)=>{const _0x5a3992=_0x5e2413;for(var _0x1caacc=_0x4fa829>0x1?void 0x0:_0x4fa829?_0x5d52ee(_0x2e3743,_0x318feb):_0x2e3743,_0x122487=_0x26b564[_0x5a3992(0x2dd)]-0x1,_0x142394;_0x122487>=0x0;_0x122487--)(_0x142394=_0x26b564[_0x122487])&&(_0x1caacc=_0x142394(_0x1caacc)||_0x1caacc);return _0x1caacc;},_0x509560=(_0x3cbb13,_0x93b07e)=>(_0x3cb1b5,_0x490430)=>_0x93b07e(_0x3cb1b5,_0x490430,_0x3cbb13);let _0xb791f4=class extends _0x22ce22[_0x5e2413(0x344)]{constructor(_0x4341cb,_0x583866,_0x3fc39e){const _0x412b3e=_0x5e2413;super(),_0xb5e805(this,_0x412b3e(0x391),new Map()),_0xb5e805(this,_0x412b3e(0x1c2),new _0x32e4d0[(_0x412b3e(0x3e9))]()),(this[_0x412b3e(0x1f4)]=_0x4341cb,this[_0x412b3e(0x1fa)]=_0x583866,this[_0x412b3e(0x2af)]=_0x3fc39e,this['_init']());}[_0x5e2413(0x43d)](){const _0xd9f51d=_0x5e2413;super[_0xd9f51d(0x43d)](),this[_0xd9f51d(0x1c2)][_0xd9f51d(0x271)](),this[_0xd9f51d(0x391)]['forEach'](_0x1b327e=>_0x1b327e[_0xd9f51d(0x43d)]());}[_0x5e2413(0x330)](_0x38ba61){const _0x39c19a=_0x5e2413;return this[_0x39c19a(0x391)][_0x39c19a(0x35f)](_0x38ba61)?this[_0x39c19a(0x391)][_0x39c19a(0x335)](_0x38ba61)[_0x39c19a(0x2a0)]:this[_0x39c19a(0x1c2)][_0x39c19a(0x1c9)](_0x32e4d0['filter'](_0x2c292b=>_0x2c292b['unitID']===_0x38ba61),_0x32e4d0['switchMap'](_0x310534=>_0x310534[_0x39c19a(0x2a0)]));}['_init'](){const _0x26c238=_0x5e2413;this[_0x26c238(0x1f4)]['getTypeOfUnitAdded$'](_0x22ce22[_0x26c238(0x299)]['UNIVER_SHEET'])[_0x26c238(0x1c9)](_0x32e4d0['takeUntil'](this['dispose$']))[_0x26c238(0x290)](async _0x55f744=>{const _0x52fb39=_0x26c238,_0x1f41d5=_0x55f744['getUnitId'](),_0x4a272c=await this['_startSheetCollabCursor'](_0x1f41d5);this[_0x52fb39(0x1c2)][_0x52fb39(0x27e)](_0x4a272c),this['_entities'][_0x52fb39(0x1d2)](_0x1f41d5,_0x4a272c);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x22ce22[_0x26c238(0x299)]['UNIVER_DOC'])[_0x26c238(0x1c9)](_0x32e4d0[_0x26c238(0x2be)](this['dispose$']))['pipe'](_0x32e4d0[_0x26c238(0x261)](_0x18f16d=>!_0x18f16d[_0x26c238(0x44e)]()[_0x26c238(0x3d7)]('__')))['subscribe'](async _0x300897=>{const _0x311d51=_0x26c238,_0x5d8215=_0x300897[_0x311d51(0x44e)](),_0x122a43=await this[_0x311d51(0x2fa)](_0x5d8215);this['_entityInit$'][_0x311d51(0x27e)](_0x122a43),this[_0x311d51(0x391)]['set'](_0x5d8215,_0x122a43);}),_0x32e4d0['merge'](this[_0x26c238(0x1f4)][_0x26c238(0x1be)](_0x22ce22[_0x26c238(0x299)]['UNIVER_DOC']),this[_0x26c238(0x1f4)][_0x26c238(0x1be)](_0x22ce22[_0x26c238(0x299)]['UNIVER_SHEET']))[_0x26c238(0x1c9)](_0x32e4d0[_0x26c238(0x2be)](this[_0x26c238(0x25a)]))[_0x26c238(0x290)](_0x310528=>{const _0x357639=_0x26c238,_0x3362ac=_0x310528[_0x357639(0x44e)](),_0x56ac2a=this['_entities']['get'](_0x3362ac);_0x56ac2a&&(_0x56ac2a[_0x357639(0x43d)](),this[_0x357639(0x391)][_0x357639(0x1b7)](_0x3362ac));});}async[_0x5e2413(0x303)](_0x532a96){const _0xe9b600=_0x5e2413,_0x3e568e=await this[_0xe9b600(0x2af)]['requireSession'](_0x532a96),_0x4c93c5=this[_0xe9b600(0x1fa)][_0xe9b600(0x273)](_0x453236,_0x532a96,_0x3e568e);return _0x4c93c5[_0xe9b600(0x3eb)](),_0x4c93c5;}async[_0x5e2413(0x2fa)](_0x57b661){const _0xc33125=_0x5e2413,_0x19b209=await this['_collabSessionService'][_0xc33125(0x2cf)](_0x57b661),_0x41efa0=this[_0xc33125(0x1fa)][_0xc33125(0x273)](_0x30048f,_0x57b661,_0x19b209);return _0x41efa0['init'](),_0x41efa0;}};_0xb791f4=_0x19f42b([_0x509560(0x0,_0x22ce22['IUniverInstanceService']),_0x509560(0x1,_0x22ce22[_0x5e2413(0x312)](_0x22ce22[_0x5e2413(0x47b)])),_0x509560(0x2,_0x22ce22[_0x5e2413(0x312)](_0x30f49a[_0x5e2413(0x382)]))],_0xb791f4);const _0x399006=0x14,_0x1c5aaa=0xc8,_0x24353b=0x4,_0x50a38=0x5;function _0x90a8e4(_0x48fd66,_0x15e57c){const _0x2c716c=_0x5e2413;let {radius:_0x1f21e3,width:_0x3b3fc5,height:_0x130da2}=_0x15e57c;_0x1f21e3=_0x1f21e3!=null?_0x1f21e3:0x0,_0x3b3fc5=_0x3b3fc5!=null?_0x3b3fc5:0x1e,_0x130da2=_0x130da2!=null?_0x130da2:0x1e;let _0x36b860=0x0,_0x461dbe=0x0,_0xa20e39=0x0;_0x36b860=_0x461dbe=_0xa20e39=Math[_0x2c716c(0x442)](_0x1f21e3,_0x3b3fc5/0x2,_0x130da2/0x2),_0x48fd66[_0x2c716c(0x448)](),_0x48fd66[_0x2c716c(0x29a)](_0x36b860,0x0),_0x48fd66[_0x2c716c(0x278)](_0x3b3fc5-_0x461dbe,0x0),_0x48fd66[_0x2c716c(0x380)](_0x3b3fc5-_0x461dbe,_0x461dbe,_0x461dbe,Math['PI']*0x3/0x2,0x0,!0x1),_0x48fd66[_0x2c716c(0x278)](_0x3b3fc5,_0x130da2-_0xa20e39),_0x48fd66[_0x2c716c(0x380)](_0x3b3fc5-_0xa20e39,_0x130da2-_0xa20e39,_0xa20e39,0x0,Math['PI']/0x2,!0x1),_0x48fd66[_0x2c716c(0x278)](0x0,_0x130da2),_0x48fd66[_0x2c716c(0x278)](0x0,_0x36b860),_0x48fd66[_0x2c716c(0x380)](_0x36b860,_0x36b860,_0x36b860,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x48fd66[_0x2c716c(0x243)](),_0x15e57c[_0x2c716c(0x2ee)]&&(_0x48fd66[_0x2c716c(0x19a)](),_0x48fd66[_0x2c716c(0x2ef)]=_0x15e57c[_0x2c716c(0x2ee)],_0x15e57c['fillRule']===_0x2c716c(0x341)?_0x48fd66[_0x2c716c(0x2ee)](_0x2c716c(0x341)):_0x48fd66[_0x2c716c(0x2ee)](),_0x48fd66[_0x2c716c(0x389)]());}class _0x693478 extends _0x45b49d[_0x5e2413(0x2e5)]{constructor(_0x471ef5,_0x61da67){const _0x31d200=_0x5e2413;super(_0x471ef5,_0x61da67),_0xb5e805(this,'color'),_0xb5e805(this,_0x31d200(0x34a)),(this[_0x31d200(0x227)]=_0x61da67==null?void 0x0:_0x61da67['color'],this[_0x31d200(0x34a)]=_0x61da67==null?void 0x0:_0x61da67['text']);}static[_0x5e2413(0x2ea)](_0x46fd5e,_0xbcfb83){const _0x327536=_0x5e2413,{text:_0x3fd669,color:_0x2a68e8}=_0xbcfb83;_0x46fd5e[_0x327536(0x19a)](),_0x46fd5e[_0x327536(0x23a)]=_0x327536(0x47c);const _0x267861=_0x46fd5e[_0x327536(0x446)](_0x3fd669)[_0x327536(0x1f8)],_0x1c9eb9=Math[_0x327536(0x442)](_0x267861+0x2*_0x24353b,_0x1c5aaa);_0x90a8e4(_0x46fd5e,{'height':_0x399006,'radius':0x4,'width':_0x1c9eb9,'fill':_0x2a68e8}),_0x46fd5e[_0x327536(0x2ef)]='#FFF';const _0x48d873=_0x24353b,_0x243a9a=_0x399006-_0x50a38,_0x4daf0d=_0x1c5aaa-0x2*_0x24353b;if(_0x267861>_0x4daf0d){let _0x538ca1='',_0x288f9f=0x0;for(const _0x1ff982 of _0x3fd669){const _0x267d26=_0x46fd5e[_0x327536(0x446)](_0x1ff982)[_0x327536(0x1f8)];if(_0x288f9f+_0x267d26<=_0x4daf0d-_0x46fd5e[_0x327536(0x446)](_0x327536(0x3a0))[_0x327536(0x1f8)])_0x538ca1+=_0x1ff982,_0x288f9f+=_0x267d26;else{_0x538ca1+=_0x327536(0x3a0);break;}}_0x46fd5e[_0x327536(0x3ed)](_0x538ca1,_0x48d873,_0x243a9a);}else _0x46fd5e[_0x327536(0x3ed)](_0x3fd669,_0x48d873,_0x243a9a);_0x46fd5e[_0x327536(0x389)]();}[_0x5e2413(0x45a)](_0x124259){_0x693478['drawWith'](_0x124259,this);}}const _0x30d685=_0x5e2413(0x2aa),_0x462ada='collab-text-range-',_0x4fa6d7='collab-rect-range-',_0x1ab115=0x6,_0x107cf5=1.5,_0x1d60dd=0x4,_0x4f29e0=1.5,_0x44e0d4=_0x5e2413(0x447);class _0x363a01{constructor(_0x192e69,_0x2fb6d5,_0x5afacf,_0x3b68ea){const _0x42e1eb=_0x5e2413;_0xb5e805(this,_0x42e1eb(0x20d),[]),_0xb5e805(this,_0x42e1eb(0x428),null),_0xb5e805(this,'_textBubble',null),_0xb5e805(this,'_anchorDot',null),_0xb5e805(this,_0x42e1eb(0x19c),null),_0xb5e805(this,_0x42e1eb(0x1bf),null),(this[_0x42e1eb(0x405)]=_0x192e69,this['_scene']=_0x2fb6d5,this[_0x42e1eb(0x2ae)]=_0x5afacf,this['_document']=_0x3b68ea,this[_0x42e1eb(0x2b0)]());}set['_hover'](_0x4a59db){const _0x328e2f=_0x5e2413;_0x4a59db?(this[_0x328e2f(0x327)]&&this['_anchorDot'][_0x328e2f(0x2c8)](),this[_0x328e2f(0x1fe)]&&this[_0x328e2f(0x1fe)][_0x328e2f(0x3df)]()):(this[_0x328e2f(0x327)]&&this['_anchorDot'][_0x328e2f(0x3df)](),this[_0x328e2f(0x1fe)]&&this['_textBubble']['hide']());}[_0x5e2413(0x43d)](){const _0x4775bb=_0x5e2413;for(const _0x42f8ec of this[_0x4775bb(0x20d)])_0x42f8ec[_0x4775bb(0x43d)]();this[_0x4775bb(0x1fe)]&&this[_0x4775bb(0x1fe)][_0x4775bb(0x43d)](),this['_anchorDot']&&this['_anchorDot']['dispose'](),this['_anchor']&&this[_0x4775bb(0x428)][_0x4775bb(0x43d)](),this[_0x4775bb(0x1bf)]&&this[_0x4775bb(0x1bf)]();}[_0x5e2413(0x2b0)](){const _0x22ea3c=_0x5e2413;var _0x394cfc;const {_docSkeleton:_0x5bb00b,_document:_0x132efb}=this,{color:_0x29c65a,name:_0x4c288b,ranges:_0x13c424}=this[_0x22ea3c(0x405)],_0x10c979=_0x132efb[_0x22ea3c(0x23f)](),{docsLeft:_0x413e6b,docsTop:_0x59f1dd}=_0x10c979,_0xba87e9=new _0x449f6a['NodePositionConvertToCursor'](_0x10c979,_0x5bb00b);for(const {startOffset:_0x2ebf93,endOffset:_0x198765,rangeType:_0x4fb0ce,segmentId:_0x194491,segmentPage:_0x59d994,collapsed:_0x2f0100,isActive:_0x55de4d}of _0x13c424){const _0x35917e=_0x5bb00b[_0x22ea3c(0x436)](_0x2ebf93,!0x0,_0x194491,_0x59d994);let _0x3c3c37=_0x5bb00b[_0x22ea3c(0x436)](_0x198765,!0x0,_0x194491,_0x59d994);if(_0x3c3c37==null&&(_0x3c3c37=_0x5bb00b[_0x22ea3c(0x436)](_0x198765-0x1,!0x1,_0x194491,_0x59d994)),_0x55de4d){const {contentBoxPointGroup:_0x1132cf}=_0xba87e9['getRangePointData'](_0x3c3c37,_0x3c3c37);if(_0x1132cf['length']===0x0)continue;this[_0x22ea3c(0x323)](_0x29c65a,_0x1132cf,_0x413e6b,_0x59f1dd,_0x4c288b),this['_eventUnsubscribe']=this[_0x22ea3c(0x302)]();}if(_0x35917e&&_0x3c3c37){if(_0x4fb0ce===_0x22ce22[_0x22ea3c(0x23c)]['RECT']){const _0x441f29=new _0x449f6a[(_0x22ea3c(0x420))](_0x10c979,_0x5bb00b),{pointGroup:_0x307b31}=(_0x394cfc=_0x441f29[_0x22ea3c(0x2d0)](_0x35917e,_0x3c3c37))!=null?_0x394cfc:{};if(_0x307b31==null||_0x307b31['length']===0x0)continue;this[_0x22ea3c(0x2f2)](_0x29c65a,_0x307b31,_0x413e6b,_0x59f1dd);}else{if(!_0x2f0100){const {borderBoxPointGroup:_0x1ed064}=_0xba87e9[_0x22ea3c(0x2d0)](_0x35917e,_0x3c3c37);if(_0x1ed064[_0x22ea3c(0x2dd)]===0x0)continue;this[_0x22ea3c(0x3fa)](_0x29c65a,_0x1ed064,_0x413e6b,_0x59f1dd);}}}}}[_0x5e2413(0x323)](_0x474405,_0x36634d,_0xfc8646,_0x3b61b3,_0x33befa){const _0x496e72=_0x5e2413,_0x3f5ca3=this[_0x496e72(0x37a)](_0x36634d),{left:_0x41a56b,top:_0x3f19f9,height:_0x23bda2}=_0x3f5ca3,_0xa32b70=this[_0x496e72(0x25b)](),_0x197224=_0x4f29e0/_0xa32b70,_0x3e30d8=new _0x45b49d['Rect'](_0x30d685+_0x22ce22[_0x496e72(0x33a)](_0x1ab115),{'left':_0x41a56b+_0xfc8646-_0x197224,'top':_0x3f19f9+_0x3b61b3,'height':_0x23bda2,'width':_0x107cf5,'fill':_0x474405||_0x45b49d[_0x496e72(0x291)](_0x22ce22['COLORS'][_0x496e72(0x204)],0x0),'strokeWidth':_0x197224,'stroke':_0x44e0d4,'evented':!0x0});this['_anchor']=_0x3e30d8,this[_0x496e72(0x3f1)][_0x496e72(0x33b)](_0x3e30d8,_0x449f6a[_0x496e72(0x45b)]);const _0xb6d883=new _0x45b49d[(_0x496e72(0x466))](_0x30d685+_0x22ce22['generateRandomId'](_0x1ab115),{'left':_0x41a56b+_0xfc8646-_0x197224,'top':_0x3f19f9+_0x3b61b3-_0x1d60dd/0x2,'height':_0x1d60dd,'width':_0x1d60dd,'fill':_0x474405||_0x45b49d['getColor'](_0x22ce22[_0x496e72(0x1ff)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x474405||_0x45b49d[_0x496e72(0x291)](_0x22ce22['COLORS'][_0x496e72(0x204)],0x0),'evented':!0x1});this[_0x496e72(0x327)]=_0xb6d883,this[_0x496e72(0x3f1)][_0x496e72(0x33b)](_0xb6d883,_0x449f6a['TEXT_RANGE_LAYER_INDEX']);const _0x561860=new _0x693478(_0x30d685+_0x22ce22[_0x496e72(0x33a)](_0x1ab115),{'left':_0x41a56b+_0xfc8646-_0x197224,'top':_0x3f19f9+_0x3b61b3-_0x399006,'text':_0x33befa,'color':_0x474405});this[_0x496e72(0x1fe)]=_0x561860,this[_0x496e72(0x3f1)]['addObject'](_0x561860,_0x449f6a[_0x496e72(0x45b)]),this[_0x496e72(0x269)]=!0x1;}[_0x5e2413(0x302)](){const _0x89e20=_0x5e2413,_0x5caad6=this[_0x89e20(0x428)][_0x89e20(0x3b7)][_0x89e20(0x424)](()=>{const _0x213b2e=_0x89e20;this[_0x213b2e(0x269)]=!0x0;}),_0x163624=this[_0x89e20(0x428)]['onPointerLeave$'][_0x89e20(0x424)](()=>{const _0x530fe7=_0x89e20;this[_0x530fe7(0x19c)]&&clearTimeout(this[_0x530fe7(0x19c)]),this[_0x530fe7(0x19c)]=setTimeout(()=>{const _0x394a3c=_0x530fe7;this[_0x394a3c(0x269)]=!0x1;},0x7d0);});return()=>{const _0x125b91=_0x89e20;_0x5caad6['unsubscribe'](),_0x163624[_0x125b91(0x270)]();};}[_0x5e2413(0x3fa)](_0x244b3e,_0x1cbe12,_0x2ce111,_0x8d7891){const _0x4e0a75=_0x5e2413,_0x238883=new _0x22ce22[(_0x4e0a75(0x3a3))](_0x244b3e)[_0x4e0a75(0x1b9)](0.2)[_0x4e0a75(0x427)](),_0x20c57c=new _0x45b49d[(_0x4e0a75(0x33e))](_0x462ada+_0x22ce22[_0x4e0a75(0x33a)](_0x1ab115),{'pointsGroup':_0x1cbe12,'fill':_0x238883||_0x45b49d[_0x4e0a75(0x291)](_0x22ce22['COLORS'][_0x4e0a75(0x204)],0.2),'left':_0x2ce111,'top':_0x8d7891,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4e0a75(0x20d)][_0x4e0a75(0x409)](_0x20c57c),this[_0x4e0a75(0x3f1)][_0x4e0a75(0x33b)](_0x20c57c,_0x449f6a['TEXT_RANGE_LAYER_INDEX']);}[_0x5e2413(0x2f2)](_0x45eb9b,_0x369a89,_0x1dbaa5,_0x48841c){const _0x4a120c=_0x5e2413,_0x4d85bb=new _0x22ce22[(_0x4a120c(0x3a3))](_0x45eb9b)[_0x4a120c(0x1b9)](0.2)[_0x4a120c(0x427)](),_0x553114=new _0x45b49d[(_0x4a120c(0x33e))](_0x4fa6d7+_0x22ce22[_0x4a120c(0x33a)](_0x1ab115),{'pointsGroup':_0x369a89,'fill':_0x4d85bb||_0x45b49d[_0x4a120c(0x291)](_0x22ce22[_0x4a120c(0x1ff)][_0x4a120c(0x204)],0.2),'left':_0x1dbaa5,'top':_0x48841c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4a120c(0x20d)][_0x4a120c(0x409)](_0x553114),this['_scene']['addObject'](_0x553114,_0x449f6a[_0x4a120c(0x45b)]);}[_0x5e2413(0x37a)](_0x205cef){const _0x545ba6=_0x205cef[0x0],_0x32366a=_0x545ba6[0x0],_0x1cbcec=_0x545ba6[0x2],{x:_0x4449bc,y:_0x5eaa48}=_0x32366a,{x:_0x333fc7,y:_0xfed681}=_0x1cbcec;return{'left':_0x4449bc,'top':_0x5eaa48,'width':_0x333fc7-_0x4449bc,'height':_0xfed681-_0x5eaa48};}[_0x5e2413(0x25b)](){const _0xfc80a2=_0x5e2413,{scaleX:_0x25526e,scaleY:_0x475fc7}=this[_0xfc80a2(0x3f1)][_0xfc80a2(0x277)]();return Math[_0xfc80a2(0x36f)](_0x25526e,_0x475fc7);}}var _0x30f0e3=Object[_0x5e2413(0x306)],_0x3e443f=(_0x3f3636,_0x1198c2,_0x4f1bdd,_0x586a9d)=>{const _0xa53efa=_0x5e2413;for(var _0x32f98b=_0x586a9d>0x1?void 0x0:_0x586a9d?_0x30f0e3(_0x1198c2,_0x4f1bdd):_0x1198c2,_0x4a0159=_0x3f3636[_0xa53efa(0x2dd)]-0x1,_0x4906c6;_0x4a0159>=0x0;_0x4a0159--)(_0x4906c6=_0x3f3636[_0x4a0159])&&(_0x32f98b=_0x4906c6(_0x32f98b)||_0x32f98b);return _0x32f98b;},_0x110846=(_0x6a6f5d,_0x204ba7)=>(_0x4cefa9,_0x3299c3)=>_0x204ba7(_0x4cefa9,_0x3299c3,_0x6a6f5d);let _0x3559ed=class extends _0x22ce22[_0x5e2413(0x344)]{constructor(_0x30f74e,_0x2b750f,_0x576ddf,_0x2395e5,_0x142ae0){const _0x8391b8=_0x5e2413;super(),_0xb5e805(this,_0x8391b8(0x1b3),[]),_0xb5e805(this,_0x8391b8(0x3f4),[]),(this[_0x8391b8(0x23d)]=_0x30f74e,this['_docSkeletonManagerService']=_0x2b750f,this[_0x8391b8(0x1eb)]=_0x576ddf,this[_0x8391b8(0x272)]=_0x2395e5,this[_0x8391b8(0x2e8)]=_0x142ae0,this[_0x8391b8(0x32b)]());}[_0x5e2413(0x32b)](){const _0x591634=_0x5e2413,_0x35c32b=this['_context'][_0x591634(0x1de)],_0x585b99=this[_0x591634(0x1ec)];this[_0x591634(0x279)](_0x32e4d0[_0x591634(0x3c0)]([this['_collabCursorController']['getCollabCursors$'](_0x35c32b),this[_0x591634(0x2e8)][_0x591634(0x346)]])[_0x591634(0x1c9)](_0x3d627d[_0x591634(0x461)](([_0x566727,_0x17abe8])=>({'skeleton':_0x585b99[_0x591634(0x355)](),'cursors':[..._0x566727[_0x591634(0x46b)]()][_0x591634(0x2cb)](_0xcb0a23=>({..._0xcb0a23,'color':this[_0x591634(0x2e8)][_0x591634(0x1d4)](_0xcb0a23[_0x591634(0x227)])}))})))['subscribe'](_0x58752e=>{const _0xdfd04b=_0x591634;if(this[_0xdfd04b(0x3da)](),_0x58752e){const {skeleton:_0x168c33,cursors:_0x2e195f}=_0x58752e;this[_0xdfd04b(0x413)](_0x168c33,_0x2e195f);}})),this[_0x591634(0x21d)](),this[_0x591634(0x27c)]();}[_0x5e2413(0x413)](_0x179de9,_0x5d3dee){const _0x49e729=_0x5e2413,{scene:_0x285b01,mainComponent:_0x21a2f5}=this[_0x49e729(0x23d)],_0x2fa5c5=_0x5d3dee['map'](_0x3be09f=>new _0x363a01(_0x3be09f,_0x285b01,_0x179de9,_0x21a2f5));this[_0x49e729(0x1b3)]=_0x2fa5c5,this[_0x49e729(0x3f4)]=_0x5d3dee;}[_0x5e2413(0x41e)](){const _0x293366=_0x5e2413;this[_0x293366(0x3da)]();const {scene:_0x14796e,mainComponent:_0x2885e4}=this['_context'],_0x543699=this[_0x293366(0x1ec)]['getSkeleton'](),_0x27ad7e=this[_0x293366(0x3f4)][_0x293366(0x461)](_0xb9fc1f=>new _0x363a01(_0xb9fc1f,_0x14796e,_0x543699,_0x2885e4));this['_cursorShapes']=_0x27ad7e;}['_removeCollabCursors'](){const _0xbd641c=_0x5e2413;this[_0xbd641c(0x1b3)]['forEach'](_0x5cd20c=>_0x5cd20c[_0xbd641c(0x43d)]()),this[_0xbd641c(0x1b3)]=[];}[_0x5e2413(0x27c)](){const _0xa902ad=_0x5e2413,_0x381635=[_0x449f6a[_0xa902ad(0x31d)]['id']];this[_0xa902ad(0x279)](this['_commandService'][_0xa902ad(0x479)](_0x27bae2=>{const _0x204221=_0xa902ad;_0x381635[_0x204221(0x33f)](_0x27bae2['id'])&&_0x27bae2['params'][_0x204221(0x1de)]===this[_0x204221(0x23d)][_0x204221(0x1de)]&&this['_refreshCollabCursors']();}));}[_0x5e2413(0x21d)](){const _0x8995e3=_0x5e2413;this[_0x8995e3(0x279)](_0x22ce22[_0x8995e3(0x286)](this[_0x8995e3(0x23d)][_0x8995e3(0x462)][_0x8995e3(0x33c)])['pipe'](_0x3d627d['filter'](_0x589624=>_0x589624[_0x8995e3(0x22a)]===_0x45b49d[_0x8995e3(0x34f)][_0x8995e3(0x419)]),_0x3d627d[_0x8995e3(0x326)](0x10))[_0x8995e3(0x290)](()=>{const _0x18e376=_0x8995e3;this[_0x18e376(0x41e)]();}));}};_0x3559ed=_0x3e443f([_0x110846(0x1,_0x22ce22[_0x5e2413(0x312)](_0x506cee[_0x5e2413(0x2a1)])),_0x110846(0x2,_0x22ce22[_0x5e2413(0x312)](_0xb791f4)),_0x110846(0x3,_0x22ce22['ICommandService']),_0x110846(0x4,_0x22ce22[_0x5e2413(0x312)](_0x22ce22['ThemeService']))],_0x3559ed);const _0xcc7864=0x1,_0x4997a8=1.5;class _0x5bd587 extends _0x45b49d[_0x5e2413(0x2e5)]{constructor(_0xb2bcce,_0x59b30e){const _0x182ecc=_0x5e2413;super(_0xb2bcce,_0x59b30e),_0xb5e805(this,_0x182ecc(0x1b8)),_0xb5e805(this,'_hovered',!0x1),_0xb5e805(this,_0x182ecc(0x3c7)),_0xb5e805(this,_0x182ecc(0x361),''),_0xb5e805(this,_0x182ecc(0x411),_0x182ecc(0x451)),_0xb5e805(this,_0x182ecc(0x469)),(_0x59b30e&&this[_0x182ecc(0x1fc)](_0x59b30e),this['onPointerEnter$'][_0x182ecc(0x424)](()=>this[_0x182ecc(0x1fc)]({'hovered':!0x0})),this[_0x182ecc(0x2f8)][_0x182ecc(0x424)](()=>this[_0x182ecc(0x1fc)]({'hovered':!0x1})));}[_0x5e2413(0x1fc)](_0x4f4ff2){const _0x282706=_0x5e2413;var _0x2ab41e,_0x50bca1,_0x583d15,_0x548750,_0x2e6bbe,_0x4d6e13;this[_0x282706(0x1b8)]=(_0x2ab41e=_0x4f4ff2[_0x282706(0x227)])!=null?_0x2ab41e:this['_color'],this[_0x282706(0x1a2)]=(_0x50bca1=_0x4f4ff2[_0x282706(0x20b)])!=null?_0x50bca1:this[_0x282706(0x1a2)],this[_0x282706(0x3c7)]=(_0x583d15=_0x4f4ff2[_0x282706(0x3c1)])!=null?_0x583d15:this[_0x282706(0x3c7)],this['_name']=(_0x548750=_0x4f4ff2['name'])!=null?_0x548750:this[_0x282706(0x361)],this[_0x282706(0x411)]=(_0x2e6bbe=_0x4f4ff2[_0x282706(0x357)])!=null?_0x2e6bbe:this[_0x282706(0x411)],this[_0x282706(0x469)]=(_0x4d6e13=_0x4f4ff2['backgroundColor'])!=null?_0x4d6e13:this['_backgroundColor'],this['transformByState']({'width':_0x4f4ff2[_0x282706(0x1f8)],'height':_0x4f4ff2[_0x282706(0x386)]});}['onMouseMove'](_0x6e5d02){const _0x318264=_0x5e2413,{row:_0x1a351a,column:_0xc72541}=_0x6e5d02;if(_0x1a351a>=this['_range'][_0x318264(0x32e)]&&_0x1a351a<=this['_range'][_0x318264(0x2d5)]&&_0xc72541>=this[_0x318264(0x3c7)][_0x318264(0x206)]&&_0xc72541<=this['_range']['endColumn']){this[_0x318264(0x1fc)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x4c1aff){return!0x1;}[_0x5e2413(0x45a)](_0x5a9871){const _0x42c4cc=_0x5e2413;_0x45b49d[_0x42c4cc(0x466)][_0x42c4cc(0x2ea)](_0x5a9871,{'width':this[_0x42c4cc(0x1f8)],'height':this['height'],'strokeWidth':_0x4997a8,'stroke':this[_0x42c4cc(0x1b8)],'evented':!0x1,'fill':this[_0x42c4cc(0x469)]}),this[_0x42c4cc(0x1a2)]&&(_0x5a9871[_0x42c4cc(0x19a)](),_0x5a9871[_0x42c4cc(0x454)](0x1,0x0,0x0,0x1,this[_0x42c4cc(0x1f8)],this[_0x42c4cc(0x411)]===_0x42c4cc(0x3f8)?0x0:-_0x399006),_0x693478['drawWith'](_0x5a9871,{'text':this[_0x42c4cc(0x361)],'color':this[_0x42c4cc(0x1b8)]}),_0x5a9871[_0x42c4cc(0x389)]());}}var _0xe14e20=Object['getOwnPropertyDescriptor'],_0x4cfa03=(_0xc70c38,_0x40d745,_0x4cc039,_0x1d1443)=>{const _0x25d295=_0x5e2413;for(var _0x40682d=_0x1d1443>0x1?void 0x0:_0x1d1443?_0xe14e20(_0x40d745,_0x4cc039):_0x40d745,_0x2082ab=_0xc70c38[_0x25d295(0x2dd)]-0x1,_0x39f512;_0x2082ab>=0x0;_0x2082ab--)(_0x39f512=_0xc70c38[_0x2082ab])&&(_0x40682d=_0x39f512(_0x40682d)||_0x40682d);return _0x40682d;},_0x582806=(_0x44d28c,_0x41d04a)=>(_0x1ba842,_0x4b8871)=>_0x41d04a(_0x1ba842,_0x4b8871,_0x44d28c);const _0x4523c2=0x1389;let _0x1a7b06=class extends _0x22ce22[_0x5e2413(0x344)]{constructor(_0x32517c,_0x1e56f5,_0x51f371,_0x532bb5){const _0x2cdeb0=_0x5e2413;super(),_0xb5e805(this,_0x2cdeb0(0x3f4),new Set()),_0xb5e805(this,_0x2cdeb0(0x2ac),null),(this['_context']=_0x32517c,this[_0x2cdeb0(0x247)]=_0x1e56f5,this[_0x2cdeb0(0x1eb)]=_0x51f371,this[_0x2cdeb0(0x2e8)]=_0x532bb5,this['_init']());}[_0x5e2413(0x32b)](){const _0x33cdf9=_0x5e2413;this[_0x33cdf9(0x247)][_0x33cdf9(0x21c)][_0x33cdf9(0x1c9)](_0x3d627d[_0x33cdf9(0x2be)](this[_0x33cdf9(0x25a)]),_0x3d627d[_0x33cdf9(0x205)](_0x12a3d1=>{const _0x393566=_0x33cdf9;if(_0x12a3d1){const _0x56a610=_0x12a3d1['sheetId'];return _0x32e4d0[_0x393566(0x3c0)](this['_collabCursorController']['getCollabCursors$'](this[_0x393566(0x23d)][_0x393566(0x1de)]),this[_0x393566(0x2e8)]['currentTheme$'])['pipe'](_0x3d627d['map'](([_0x59c830,_0x40d6b9])=>{const _0x1363fd=_0x393566,_0x25f352=new Map();return _0x59c830[_0x1363fd(0x3e5)]((_0xdb15eb,_0x4bc9f3)=>{const _0x1329e4=_0x1363fd;if(_0xdb15eb[_0x1329e4(0x23b)]===_0x56a610){const _0x195b89={..._0xdb15eb};_0x195b89[_0x1329e4(0x227)]=this[_0x1329e4(0x2e8)][_0x1329e4(0x1d4)](_0xdb15eb[_0x1329e4(0x227)]),_0x25f352['set'](_0x4bc9f3,_0x195b89);}}),{'skeleton':_0x12a3d1,'cursors':_0x25f352};}));}return _0x32e4d0['of']({'skeleton':null,'cursors':new Map()});}))[_0x33cdf9(0x290)](({skeleton:_0x34340e,cursors:_0x58afa3})=>{const _0x390587=_0x33cdf9;this[_0x390587(0x3da)](),_0x34340e&&this[_0x390587(0x413)](_0x34340e,_0x58afa3);}),this[_0x33cdf9(0x247)][_0x33cdf9(0x21c)]['subscribe'](_0x5532a6=>{const _0xaef591=_0x33cdf9;if(_0x5532a6==null)return;const {skeleton:_0x1c84d5}=_0x5532a6,{scene:_0x2ebe7c}=this['_context'];_0x2ebe7c[_0xaef591(0x2f6)]['subscribeEvent'](_0x22ce22[_0xaef591(0x198)](_0x3ce6d2=>{const _0x19d588=_0xaef591;var _0x2d91e4,_0x416d91;const {offsetX:_0x4bed34,offsetY:_0x34dc7b}=_0x3ce6d2,{x:_0x4884f0,y:_0x1e9adf}=_0x2ebe7c[_0x19d588(0x40d)](_0x45b49d[_0x19d588(0x282)]['FromArray']([_0x4bed34,_0x34dc7b])),{scaleX:_0x2c1316,scaleY:_0x579b6a}=_0x2ebe7c[_0x19d588(0x277)](),_0x54df9f=_0x2ebe7c['getViewport'](_0x45b49d[_0x19d588(0x300)][_0x19d588(0x3fc)]),_0x2ed490=_0x2ebe7c[_0x19d588(0x2b9)](_0x45b49d['Vector2'][_0x19d588(0x3a7)]([_0x4884f0,_0x1e9adf]),_0x54df9f),_0xaa98b9=_0x1c84d5[_0x19d588(0x3ca)](_0x4bed34,_0x34dc7b,_0x2c1316,_0x579b6a,_0x2ed490);((_0x2d91e4=this[_0x19d588(0x2ac)])==null?void 0x0:_0x2d91e4[_0x19d588(0x209)])===_0xaa98b9[_0x19d588(0x209)]&&((_0x416d91=this[_0x19d588(0x2ac)])==null?void 0x0:_0x416d91[_0x19d588(0x3ac)])===_0xaa98b9[_0x19d588(0x3ac)]||this[_0x19d588(0x3f4)][_0x19d588(0x3e5)](_0x5385fe=>{const _0x5c89ba=_0x19d588;_0x5385fe[_0x5c89ba(0x24a)](_0xaa98b9);});},0x64));});}['_updateCollabCursors'](_0x2f0c0a,_0x3141a0){const _0x5eeea6=_0x5e2413;var _0x423d98;const _0x20ba05=(_0x423d98=this['_sheetSkeletonManagerService'][_0x5eeea6(0x39f)]())==null?void 0x0:_0x423d98[_0x5eeea6(0x376)];if(!_0x20ba05)return;const _0x455ac8=this[_0x5eeea6(0x31a)]();if(!_0x455ac8)return;this['_cursors'][_0x5eeea6(0x3e5)](_0x14abbe=>{const _0x4991a3=_0x5eeea6;_0x14abbe[_0x4991a3(0x2f7)]();});const {scene:_0xefe45f}=_0x455ac8,_0x512551=_0x25796d(Array[_0x5eeea6(0x287)](_0x3141a0[_0x5eeea6(0x46b)]()))['map'](_0x50ea21=>{const _0x15ff1b=_0x5eeea6,{color:_0x1f2c14,range:_0x3866f3,name:_0x5e260d,selection:_0x306e01,sheetID:_0x48652e}=_0x50ea21,{startColumn:_0x1d6568,startRow:_0x413df4,endColumn:_0x4aa288,endRow:_0x2a1154}=_0x3866f3,_0x3e394a=_0x198761[_0x15ff1b(0x1f0)](_0x413df4,_0x1d6568,_0xefe45f,_0x20ba05),_0x3c6e3c=_0x198761['getCoordByCell'](_0x2a1154,_0x4aa288,_0xefe45f,_0x20ba05),{columnHeaderHeightAndMarginTop:_0x7d88b6}=_0x20ba05,{startX:_0x27f2e5,startY:_0x815bae}=_0x3e394a,{endX:_0x2ca1f6,endY:_0x132154}=_0x3c6e3c,_0x76d0d2=_0x2ca1f6-_0x27f2e5,_0xb90901=_0x132154-_0x815bae,_0x127d37={'labelPosition':_0x815bae-_0x7d88b6>=_0x399006?_0x15ff1b(0x451):_0x15ff1b(0x3f8),'sheetID':_0x48652e,'range':_0x3866f3,'color':_0x1f2c14,'name':_0x5e260d,'selection':_0x306e01,'left':_0x27f2e5,'top':_0x815bae,'width':_0x76d0d2,'height':_0xb90901,'evented':!0x1,'zIndex':_0x4523c2};return new _0x5bd587(_0x5e260d,_0x127d37);});_0xefe45f[_0x5eeea6(0x3b8)](_0x512551,_0xcc7864),this[_0x5eeea6(0x3f4)]=new Set(_0x512551);}[_0x5e2413(0x3da)](){const _0x27d17c=_0x5e2413;var _0x52e2fc;(_0x52e2fc=this['_cursors'])==null||_0x52e2fc[_0x27d17c(0x3e5)](_0x45bc44=>_0x45bc44[_0x27d17c(0x43d)]());}[_0x5e2413(0x31a)](){const _0x1df782=_0x5e2413;return _0x198761[_0x1df782(0x214)](this['_context'][_0x1df782(0x1e5)],this[_0x1df782(0x23d)]);}};_0x1a7b06=_0x4cfa03([_0x582806(0x1,_0x22ce22['Inject'](_0x198761[_0x5e2413(0x3cc)])),_0x582806(0x2,_0x22ce22[_0x5e2413(0x312)](_0xb791f4)),_0x582806(0x3,_0x22ce22[_0x5e2413(0x312)](_0x22ce22[_0x5e2413(0x2bc)]))],_0x1a7b06);function _0x25796d(_0x38e5b2){const _0xb9fd97=_0x5e2413,_0x1f7f21=new Map();return _0x38e5b2[_0xb9fd97(0x3e5)](_0x322927=>{const _0x30b53d=_0xb9fd97;if(_0x1f7f21[_0x30b53d(0x35f)](_0x322927[_0x30b53d(0x453)])){const _0x10b5cf=_0x1f7f21[_0x30b53d(0x335)](_0x322927[_0x30b53d(0x453)]);_0x10b5cf[_0x30b53d(0x30d)]+=',\x20'+_0x322927[_0x30b53d(0x30d)];}else _0x1f7f21[_0x30b53d(0x1d2)](_0x322927[_0x30b53d(0x453)],_0x322927);}),Array[_0xb9fd97(0x287)](_0x1f7f21['values']());}var _0x32291b=Object[_0x5e2413(0x306)],_0x5eee7c=(_0xfe10e4,_0xc68908,_0x1e53d3,_0x494ad2)=>{const _0x5ccc3d=_0x5e2413;for(var _0x1d3c52=_0x494ad2>0x1?void 0x0:_0x494ad2?_0x32291b(_0xc68908,_0x1e53d3):_0xc68908,_0x440885=_0xfe10e4[_0x5ccc3d(0x2dd)]-0x1,_0x868542;_0x440885>=0x0;_0x440885--)(_0x868542=_0xfe10e4[_0x440885])&&(_0x1d3c52=_0x868542(_0x1d3c52)||_0x1d3c52);return _0x1d3c52;},_0x414886=(_0x338d41,_0x1ee3dc)=>(_0x33f5ba,_0x583573)=>_0x1ee3dc(_0x33f5ba,_0x583573,_0x338d41);let _0x38b082=class extends _0x22ce22[_0x5e2413(0x1e2)]{constructor(_0x2543d6,_0x65606f,_0x1bd39f,_0x510ec6,_0x27192d,_0x49aa92){const _0x583fbd=_0x5e2413;super(),this['_beforeCloseService']=_0x2543d6,this[_0x583fbd(0x3e8)]=_0x65606f,this[_0x583fbd(0x403)]=_0x1bd39f,this[_0x583fbd(0x383)]=_0x510ec6,this[_0x583fbd(0x385)]=_0x27192d,this[_0x583fbd(0x40b)]=_0x49aa92,this[_0x583fbd(0x23e)](),this[_0x583fbd(0x251)]();}['_setupBeforeClosingHandler'](){const _0xb428b5=_0x5e2413;this[_0xb428b5(0x279)](this[_0xb428b5(0x27d)]['registerBeforeClose'](()=>{const _0x132c60=_0xb428b5;if(this[_0x132c60(0x3e8)][_0x132c60(0x356)][_0x132c60(0x245)])return this[_0x132c60(0x40b)]['t'](_0x132c60(0x45d));}));}['_initEvent'](){const _0x55d1b1=_0x5e2413;this[_0x55d1b1(0x279)](this['_collaborationUIEventService'][_0x55d1b1(0x314)][_0x55d1b1(0x290)](_0x2d2a8f=>{const _0x1c503f=_0x55d1b1;_0x2d2a8f['id']===_0x30f49a[_0x1c503f(0x39a)]['OTHER_CLIENT_EDITING']&&this[_0x1c503f(0x383)]['show']({'type':_0x569a72[_0x1c503f(0x22c)][_0x1c503f(0x349)],'content':this[_0x1c503f(0x40b)]['t'](_0x1c503f(0x3bc))}),_0x2d2a8f['id']===_0x30f49a[_0x1c503f(0x39a)][_0x1c503f(0x449)]&&this['_messageService'][_0x1c503f(0x3df)]({'type':_0x569a72[_0x1c503f(0x22c)][_0x1c503f(0x349)],'content':this[_0x1c503f(0x40b)]['t']('collaboration.closeRoom')}),_0x2d2a8f['id']===_0x30f49a[_0x1c503f(0x39a)]['PERMISSION_DENIED']&&this[_0x1c503f(0x385)][_0x1c503f(0x3df)]({'title':this[_0x1c503f(0x40b)]['t']('permission.title'),'content':this[_0x1c503f(0x40b)]['t'](_0x1c503f(0x259)),'type':_0x1c503f(0x1ee),'duration':0x0}),_0x2d2a8f['id']===_0x30f49a['CollaborationUIEventId'][_0x1c503f(0x46a)]&&this[_0x1c503f(0x383)][_0x1c503f(0x3df)]({'type':_0x569a72['MessageType'][_0x1c503f(0x444)],'content':this[_0x1c503f(0x40b)]['t'](_0x1c503f(0x2e4))+'('+_0x2d2a8f[_0x1c503f(0x238)]+')'}),_0x2d2a8f['id']===_0x30f49a[_0x1c503f(0x39a)][_0x1c503f(0x37b)]&&this[_0x1c503f(0x383)][_0x1c503f(0x3df)]({'type':_0x569a72[_0x1c503f(0x22c)]['Warning'],'content':this['_localeService']['t'](_0x2d2a8f[_0x1c503f(0x238)]||'')}),_0x2d2a8f['id']===_0x30f49a['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this['_messageService'][_0x1c503f(0x3df)]({'type':_0x569a72[_0x1c503f(0x22c)][_0x1c503f(0x349)],'content':this['_localeService']['t'](_0x1c503f(0x3e0))}),_0x2d2a8f['id']===_0x30f49a[_0x1c503f(0x39a)][_0x1c503f(0x1d1)]&&this['_messageService']['show']({'type':_0x569a72[_0x1c503f(0x22c)]['Error'],'content':this[_0x1c503f(0x40b)]['t'](_0x1c503f(0x250))}),_0x2d2a8f['id']===_0x30f49a['CollaborationUIEventId'][_0x1c503f(0x26f)]&&this[_0x1c503f(0x383)][_0x1c503f(0x3df)]({'type':_0x569a72['MessageType'][_0x1c503f(0x444)],'content':this['_localeService']['t'](_0x1c503f(0x393))});}));}};_0x38b082=_0x5eee7c([_0x414886(0x0,_0x2b7bff['IBeforeCloseService']),_0x414886(0x1,_0x30f49a[_0x5e2413(0x1a5)]),_0x414886(0x2,_0x22ce22[_0x5e2413(0x312)](_0x30f49a['CollaborationUIEventService'])),_0x414886(0x3,_0x2b7bff[_0x5e2413(0x2e2)]),_0x414886(0x4,_0x2b7bff[_0x5e2413(0x407)]),_0x414886(0x5,_0x22ce22[_0x5e2413(0x312)](_0x22ce22[_0x5e2413(0x42d)]))],_0x38b082);var _0x42940d=Object[_0x5e2413(0x306)],_0x32e96f=(_0x291a97,_0x23f17f,_0x3f1f1f,_0x2df9e3)=>{const _0x5e5aa4=_0x5e2413;for(var _0x106909=_0x2df9e3>0x1?void 0x0:_0x2df9e3?_0x42940d(_0x23f17f,_0x3f1f1f):_0x23f17f,_0x176a40=_0x291a97[_0x5e5aa4(0x2dd)]-0x1,_0x2e7054;_0x176a40>=0x0;_0x176a40--)(_0x2e7054=_0x291a97[_0x176a40])&&(_0x106909=_0x2e7054(_0x106909)||_0x106909);return _0x106909;},_0x2adfaa=(_0x339cbb,_0x495153)=>(_0x47a9cb,_0x9395e1)=>_0x495153(_0x47a9cb,_0x9395e1,_0x339cbb);let _0x4cbab2=class extends _0x22ce22[_0x5e2413(0x1e2)]{constructor(_0x2a3002,_0x4bfc01,_0x14f00a,_0x2e5f21){const _0x34825d=_0x5e2413;super(),_0xb5e805(this,'_memberID'),(this['_injector']=_0x2a3002,this['_httpService']=_0x4bfc01,this[_0x34825d(0x294)]=_0x14f00a,this[_0x34825d(0x266)]=_0x2e5f21,this[_0x34825d(0x32b)]());}[_0x5e2413(0x32b)](){const _0x3e80c9=_0x5e2413;this[_0x3e80c9(0x31b)](),this[_0x3e80c9(0x28e)](),this[_0x3e80c9(0x25f)](),this['_initUserListener']();}[_0x5e2413(0x39b)](){const _0x1800ba=_0x5e2413;this[_0x1800ba(0x279)](this[_0x1800ba(0x266)][_0x1800ba(0x27a)][_0x1800ba(0x290)](_0x50738a=>{const _0xbe6f35=_0x1800ba;this['_memberID']=_0x50738a==null?void 0x0:_0x50738a[_0xbe6f35(0x40c)];}));}[_0x5e2413(0x31b)](){const _0x42cecc=_0x5e2413,_0x285f9d=_0x58e075=>{const _0x241225=_0x3aed;var _0x1dd4dd;this[_0x241225(0x2de)](_0x241225(0x1ee),'[Window\x20Error]:\x20'+_0x58e075[_0x241225(0x39c)]+'\x20at\x20'+_0x58e075['filename']+':'+_0x58e075['lineno']+':'+_0x58e075['colno']+'\x0a'+(((_0x1dd4dd=_0x58e075['error'])==null?void 0x0:_0x1dd4dd['stack'])||''));};window[_0x42cecc(0x352)](_0x42cecc(0x1ee),_0x285f9d),this['disposeWithMe'](()=>{const _0x309ce2=_0x42cecc;window[_0x309ce2(0x234)]('error',_0x285f9d);});}[_0x5e2413(0x28e)](){const _0x1e3559=_0x5e2413,_0x1f0385=_0x851117=>{const _0x1a4403=_0x3aed;this[_0x1a4403(0x2de)](_0x1a4403(0x1ee),_0x1a4403(0x46e)+_0x851117[_0x1a4403(0x24e)]);};window[_0x1e3559(0x352)](_0x1e3559(0x412),_0x1f0385),this[_0x1e3559(0x279)](()=>{const _0x22beac=_0x1e3559;window[_0x22beac(0x234)](_0x22beac(0x412),_0x1f0385);});}[_0x5e2413(0x25f)](){const _0x545119=_0x5e2413,_0xb4308b=this[_0x545119(0x294)][_0x545119(0x1ee)][_0x545119(0x38c)](this['_logService']);this[_0x545119(0x294)]['error']=(..._0xf5bd2e)=>{const _0x454bb9=_0x545119,_0x55169f=_0xf5bd2e['map'](_0x507008=>_0x507008 instanceof Error?_0x507008[_0x454bb9(0x39c)]+'\x0a'+_0x507008[_0x454bb9(0x3f5)]:String(_0x507008))[_0x454bb9(0x1e0)]('\x20');this[_0x454bb9(0x2de)](_0x454bb9(0x1ee),_0x454bb9(0x415)+_0x55169f),_0xb4308b(..._0xf5bd2e);},this[_0x545119(0x279)](()=>{const _0x809528=_0x545119;this[_0x809528(0x294)]['error']=_0xb4308b;});}[_0x5e2413(0x2de)](_0xda0e98,_0x2f383f){const _0x26023d=_0x5e2413;try{const _0x2355fe={'userId':this[_0x26023d(0x36b)],'logLabel':_0xda0e98,'content':_0x2f383f};this[_0x26023d(0x369)][_0x26023d(0x1e1)](_0x26023d(0x2d6),{'body':_0x2355fe})['catch'](()=>{});}catch{}}};_0x4cbab2=_0x32e96f([_0x2adfaa(0x0,_0x22ce22[_0x5e2413(0x312)](_0x22ce22[_0x5e2413(0x47b)])),_0x2adfaa(0x1,_0x22ce22['Inject'](_0x92f5d3['HTTPService'])),_0x2adfaa(0x2,_0x22ce22['ILogService']),_0x2adfaa(0x3,_0x22ce22[_0x5e2413(0x312)](_0x30f49a[_0x5e2413(0x382)]))],_0x4cbab2);const _0x2a0687=_0x5e2413(0x388),_0x124d98={};var _0x286d40=Object[_0x5e2413(0x306)],_0x2bad5a=(_0x5a4039,_0x19540c,_0x6b1e50,_0x20c90e)=>{const _0x5797e4=_0x5e2413;for(var _0xc6d4f2=_0x20c90e>0x1?void 0x0:_0x20c90e?_0x286d40(_0x19540c,_0x6b1e50):_0x19540c,_0x22d3a8=_0x5a4039[_0x5797e4(0x2dd)]-0x1,_0x212d08;_0x22d3a8>=0x0;_0x22d3a8--)(_0x212d08=_0x5a4039[_0x22d3a8])&&(_0xc6d4f2=_0x212d08(_0xc6d4f2)||_0xc6d4f2);return _0xc6d4f2;},_0x5a4e3c=(_0x418035,_0x4c245b)=>(_0xe32b5,_0x172370)=>_0x4c245b(_0xe32b5,_0x172370,_0x418035);let _0x5b9ed5=class{constructor(_0x307f9e,_0x35517d){this['_transformService']=_0x307f9e,this['_renderManagerService']=_0x35517d;}['transformIMECache'](_0x4360cc){const _0x532421=_0x5e2413;this[_0x532421(0x410)](_0x4360cc),this[_0x532421(0x263)](_0x4360cc);}['transformRemoteChangeset'](_0x204757){const _0x132169=_0x5e2413,{unitID:_0x172c6d}=_0x204757,_0x483d1c=this['_renderManagerService'][_0x132169(0x1bb)](_0x172c6d)[_0x132169(0x1da)](_0x449f6a[_0x132169(0x2b7)]),{redoCache:_0x979a7a}=_0x483d1c[_0x132169(0x2d7)]();if(_0x979a7a[_0x132169(0x2dd)]===0x0)return _0x204757;let _0x89dc4=_0x22ce22[_0x132169(0x276)][_0x132169(0x2ce)](_0x204757[_0x132169(0x443)][0x0]);for(let _0x3473cb=0x0;_0x3473cb<_0x979a7a[_0x132169(0x2dd)];_0x3473cb++){const _0x520e88={'id':_0x132169(0x2e1),'params':{..._0x979a7a[_0x3473cb]}},_0x3b531a=this[_0x132169(0x3b1)][_0x132169(0x1f5)](_0x89dc4,_0x520e88,!0x1);if(_0x5c6274['isTransformMutationFailure'](_0x3b531a))throw _0x3b531a['error'];_0x89dc4=_0x3b531a[_0x132169(0x31e)];}return{..._0x22ce22[_0x132169(0x276)][_0x132169(0x2ce)](_0x204757),'mutations':[_0x89dc4]};}['_transformUndoRedoStack'](_0x4717b0){const _0x4ec453=_0x5e2413,{unitID:_0x7c0dea}=_0x4717b0,_0x8d65a8=this[_0x4ec453(0x318)][_0x4ec453(0x1bb)](_0x7c0dea)[_0x4ec453(0x1da)](_0x449f6a[_0x4ec453(0x2b7)]),{undoCache:_0x4fe048,redoCache:_0x2228c7}=_0x8d65a8[_0x4ec453(0x2d7)]();if(_0x4fe048[_0x4ec453(0x2dd)]===0x0||_0x2228c7[_0x4ec453(0x2dd)]===0x0)return;const _0x4ab216=[],_0x3ce2a8=[];let _0xb7d993=_0x22ce22[_0x4ec453(0x276)][_0x4ec453(0x2ce)](_0x4717b0['mutations'][0x0]),_0xb3fa00=_0x22ce22[_0x4ec453(0x276)]['deepClone'](_0x4717b0[_0x4ec453(0x443)][0x0]);for(let _0xb5ea6e=_0x4fe048[_0x4ec453(0x2dd)]-0x1;_0xb5ea6e>=0x0;_0xb5ea6e--){const _0x502bed={'id':'doc.mutation.rich-text-editing','params':{..._0x4fe048[_0xb5ea6e]}},_0x5cca22={'id':_0x4ec453(0x2e1),'params':{..._0x2228c7[_0xb5ea6e]}},_0x7b275b=this[_0x4ec453(0x3b1)][_0x4ec453(0x1f5)](_0xb7d993,_0x502bed,!0x1),_0x45c4b7=this['_transformService'][_0x4ec453(0x1f5)](_0xb3fa00,_0x5cca22,!0x1);if(_0x5c6274['isTransformMutationFailure'](_0x7b275b))throw _0x7b275b[_0x4ec453(0x1ee)];if(_0x5c6274[_0x4ec453(0x20f)](_0x45c4b7))throw _0x45c4b7[_0x4ec453(0x1ee)];_0x4ab216[_0x4ec453(0x2a5)](_0x7b275b[_0x4ec453(0x30b)][_0x4ec453(0x345)]),_0x3ce2a8[_0x4ec453(0x2a5)](_0x45c4b7['m2Prime'][_0x4ec453(0x345)]),_0xb7d993=_0x7b275b[_0x4ec453(0x31e)],_0xb3fa00=_0x45c4b7[_0x4ec453(0x31e)];}_0x8d65a8[_0x4ec453(0x1b2)]({'undoCache':_0x4ab216,'redoCache':_0x3ce2a8});}[_0x5e2413(0x263)](_0x196e57){const _0x238fc3=_0x5e2413,{unitID:_0x27d41a}=_0x196e57,_0x814474=this['_renderManagerService']['getRenderById'](_0x27d41a)[_0x238fc3(0x1da)](_0x449f6a[_0x238fc3(0x2b7)]),_0x1f4386=_0x814474[_0x238fc3(0x280)]();if(_0x1f4386==null)return;const _0x380263=[{'id':_0x238fc3(0x2e1),'params':{'unitId':_0x196e57[_0x238fc3(0x329)],'actions':null,'textRanges':[_0x1f4386]}}],_0x5f1520=this['_transformService']['transformMutationsWithChangeset'](_0x196e57,_0x380263);if(!_0x5c6274[_0x238fc3(0x249)](_0x5f1520))throw _0x5f1520[_0x238fc3(0x1ee)];const _0x26c7f8=_0x5f1520[_0x238fc3(0x30b)][0x0][_0x238fc3(0x345)][_0x238fc3(0x207)];Array['isArray'](_0x26c7f8)&&_0x26c7f8['length']&&_0x814474[_0x238fc3(0x2a6)](_0x26c7f8[0x0]);}};_0x5b9ed5=_0x2bad5a([_0x5a4e3c(0x0,_0x5c6274[_0x5e2413(0x230)]),_0x5a4e3c(0x1,_0x45b49d[_0x5e2413(0x2d1)])],_0x5b9ed5);var _0x2b5047=Object[_0x5e2413(0x306)],_0x9eb5e=(_0x90b02e,_0x2ddaee,_0x591fc5,_0x55ea59)=>{for(var _0x469ac4=_0x55ea59>0x1?void 0x0:_0x55ea59?_0x2b5047(_0x2ddaee,_0x591fc5):_0x2ddaee,_0x2e9352=_0x90b02e['length']-0x1,_0x3d3e29;_0x2e9352>=0x0;_0x2e9352--)(_0x3d3e29=_0x90b02e[_0x2e9352])&&(_0x469ac4=_0x3d3e29(_0x469ac4)||_0x469ac4);return _0x469ac4;},_0x354abc=(_0x11e070,_0x1ab66f)=>(_0x1c5547,_0x5a699d)=>_0x1ab66f(_0x1c5547,_0x5a699d,_0x11e070);let _0xe9a9b0=class{constructor(_0x2f5258,_0x5f7529,_0x184b73){const _0x144450=_0x5e2413;this[_0x144450(0x1fa)]=_0x2f5258,this[_0x144450(0x3b1)]=_0x5f7529,this[_0x144450(0x1ef)]=_0x184b73;}['transformStateCache'](_0x28d03){const _0x23dc79=_0x5e2413;this[_0x23dc79(0x399)](_0x28d03);}[_0x5e2413(0x319)](_0x1ab77f){const _0x2dcb20=_0x5e2413,{unitID:_0x41aa6d}=_0x1ab77f,{collaboration:_0x1e7174}=this[_0x2dcb20(0x1ef)][_0x2dcb20(0x320)](_0x41aa6d);if(_0x1e7174[_0x2dcb20(0x2dd)]===0x0)return _0x1ab77f;let _0x3ba38c=_0x22ce22[_0x2dcb20(0x276)]['deepClone'](_0x1ab77f[_0x2dcb20(0x443)][0x0]);for(let _0x1d6dda=0x0;_0x1d6dda<_0x1e7174[_0x2dcb20(0x2dd)];_0x1d6dda++){const _0x1c6aa2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1e7174[_0x1d6dda][_0x2dcb20(0x1de)],..._0x1e7174[_0x1d6dda][_0x2dcb20(0x215)]}},_0x458327=this[_0x2dcb20(0x3b1)]['transformMutation'](_0x3ba38c,_0x1c6aa2,!0x1);if(_0x5c6274[_0x2dcb20(0x20f)](_0x458327))throw _0x458327['error'];_0x3ba38c=_0x458327[_0x2dcb20(0x31e)];}return{..._0x22ce22['Tools'][_0x2dcb20(0x2ce)](_0x1ab77f),'mutations':[_0x3ba38c]};}[_0x5e2413(0x399)](_0x15a0cb){const _0x52ac9c=_0x5e2413,{unitID:_0x22e125}=_0x15a0cb,{history:_0x41528d,collaboration:_0x7e94c3}=this[_0x52ac9c(0x1ef)][_0x52ac9c(0x320)](_0x22e125);if(_0x41528d[_0x52ac9c(0x2dd)]===0x0&&_0x7e94c3['length']===0x0)return;const _0x2e03ca=[],_0xac5c76=[];let _0x42f540=_0x22ce22[_0x52ac9c(0x276)][_0x52ac9c(0x2ce)](_0x15a0cb[_0x52ac9c(0x443)][0x0]),_0x234346=_0x22ce22[_0x52ac9c(0x276)][_0x52ac9c(0x2ce)](_0x15a0cb[_0x52ac9c(0x443)][0x0]);for(let _0x59c375=_0x41528d[_0x52ac9c(0x2dd)]-0x1;_0x59c375>=0x0;_0x59c375--){const _0x37351e={'id':_0x52ac9c(0x2e1),'params':{'unitId':_0x41528d[_0x59c375][_0x52ac9c(0x1de)],..._0x41528d[_0x59c375][_0x52ac9c(0x28b)]}},_0x5d791f={'id':_0x52ac9c(0x2e1),'params':{'unitId':_0x41528d[_0x59c375][_0x52ac9c(0x1de)],..._0x41528d[_0x59c375][_0x52ac9c(0x215)]}},_0x3be0de=this[_0x52ac9c(0x3b1)][_0x52ac9c(0x1f5)](_0x42f540,_0x37351e,!0x1),_0x28ff5f=this['_transformService']['transformMutation'](_0x234346,_0x5d791f,!0x1);if(_0x5c6274[_0x52ac9c(0x20f)](_0x3be0de))throw _0x3be0de[_0x52ac9c(0x1ee)];if(_0x5c6274[_0x52ac9c(0x20f)](_0x28ff5f))throw _0x28ff5f['error'];_0x2e03ca[_0x52ac9c(0x2a5)]({..._0x41528d[_0x59c375],'undoState':_0x3be0de[_0x52ac9c(0x30b)][_0x52ac9c(0x345)],'redoState':_0x28ff5f[_0x52ac9c(0x30b)]['params']}),_0x42f540=_0x3be0de[_0x52ac9c(0x31e)],_0x234346=_0x28ff5f[_0x52ac9c(0x31e)];}_0x42f540=_0x22ce22[_0x52ac9c(0x276)]['deepClone'](_0x15a0cb[_0x52ac9c(0x443)][0x0]),_0x234346=_0x22ce22[_0x52ac9c(0x276)][_0x52ac9c(0x2ce)](_0x15a0cb[_0x52ac9c(0x443)][0x0]);for(let _0x5d9297=_0x7e94c3[_0x52ac9c(0x2dd)]-0x1;_0x5d9297>=0x0;_0x5d9297--){const _0x47e36f={'id':_0x52ac9c(0x2e1),'params':{'unitId':_0x7e94c3[_0x5d9297][_0x52ac9c(0x1de)],..._0x7e94c3[_0x5d9297]['undoState']}},_0x2afb1b={'id':_0x52ac9c(0x2e1),'params':{'unitId':_0x7e94c3[_0x5d9297][_0x52ac9c(0x1de)],..._0x7e94c3[_0x5d9297][_0x52ac9c(0x215)]}},_0x111e77=this[_0x52ac9c(0x3b1)][_0x52ac9c(0x1f5)](_0x42f540,_0x47e36f,!0x1),_0x1e4c8b=this['_transformService']['transformMutation'](_0x234346,_0x2afb1b,!0x1);if(_0x5c6274[_0x52ac9c(0x20f)](_0x111e77))throw _0x111e77['error'];if(_0x5c6274[_0x52ac9c(0x20f)](_0x1e4c8b))throw _0x1e4c8b[_0x52ac9c(0x1ee)];_0xac5c76['unshift']({..._0x7e94c3[_0x5d9297],'undoState':_0x111e77['m2Prime'][_0x52ac9c(0x345)],'redoState':_0x1e4c8b[_0x52ac9c(0x30b)][_0x52ac9c(0x345)]}),_0x42f540=_0x111e77[_0x52ac9c(0x31e)],_0x234346=_0x1e4c8b[_0x52ac9c(0x31e)];}this['_docStateChangeManagerService'][_0x52ac9c(0x19f)](_0x22e125,{'history':_0x2e03ca,'collaboration':_0xac5c76});}};_0xe9a9b0=_0x9eb5e([_0x354abc(0x0,_0x22ce22[_0x5e2413(0x312)](_0x22ce22[_0x5e2413(0x47b)])),_0x354abc(0x1,_0x5c6274[_0x5e2413(0x230)]),_0x354abc(0x2,_0x22ce22[_0x5e2413(0x312)](_0x449f6a[_0x5e2413(0x1c6)]))],_0xe9a9b0);var _0x30e225=Object[_0x5e2413(0x306)],_0x584776=(_0x43654e,_0x3a3e97,_0x112e64,_0x380e4c)=>{for(var _0x2950fb=_0x380e4c>0x1?void 0x0:_0x380e4c?_0x30e225(_0x3a3e97,_0x112e64):_0x3a3e97,_0x3d4bcd=_0x43654e['length']-0x1,_0x461f8d;_0x3d4bcd>=0x0;_0x3d4bcd--)(_0x461f8d=_0x43654e[_0x3d4bcd])&&(_0x2950fb=_0x461f8d(_0x2950fb)||_0x2950fb);return _0x2950fb;},_0xb15b57=(_0x425011,_0x1e6b31)=>(_0x46b20c,_0x3beb67)=>_0x1e6b31(_0x46b20c,_0x3beb67,_0x425011);let _0x519269=class{constructor(_0x12039f,_0x2a1e88){const _0x236934=_0x5e2413;this[_0x236934(0x1fa)]=_0x12039f,this[_0x236934(0x3b1)]=_0x2a1e88;}[_0x5e2413(0x1e9)](_0x353848){const _0xbd0d89=_0x5e2413;var _0x58752c;const _0x59d24e=this[_0xbd0d89(0x1fa)]['get'](_0x506cee[_0xbd0d89(0x32a)]),_0x519b6a=(_0x58752c=_0x59d24e[_0xbd0d89(0x360)]())!=null?_0x58752c:[];if(_0x519b6a[_0xbd0d89(0x2dd)]===0x0)return;const _0x53659a=_0x353848[_0xbd0d89(0x329)],_0x2c99db=[{'id':_0xbd0d89(0x2e1),'params':{'unitId':_0x53659a,'actions':null,'textRanges':_0x519b6a}}],_0x3cfe6c=this[_0xbd0d89(0x3b1)][_0xbd0d89(0x2a2)](_0x353848,_0x2c99db);if(!_0x5c6274[_0xbd0d89(0x249)](_0x3cfe6c))throw _0x3cfe6c['error'];const _0x392e54=_0x3cfe6c[_0xbd0d89(0x30b)][0x0]['params']['textRanges'];Array[_0xbd0d89(0x3e3)](_0x392e54)&&_0x392e54[_0xbd0d89(0x2dd)]&&_0x59d24e[_0xbd0d89(0x425)](_0x392e54,{'unitId':_0x53659a,'subUnitId':_0x53659a},!0x1);}};_0x519269=_0x584776([_0xb15b57(0x0,_0x22ce22[_0x5e2413(0x312)](_0x22ce22[_0x5e2413(0x47b)])),_0xb15b57(0x1,_0x5c6274[_0x5e2413(0x230)])],_0x519269);var _0x5db213=Object[_0x5e2413(0x306)],_0x39fab7=(_0x574484,_0x5bf8ac,_0x2e2643,_0x44f675)=>{const _0x436b85=_0x5e2413;for(var _0x3e06fe=_0x44f675>0x1?void 0x0:_0x44f675?_0x5db213(_0x5bf8ac,_0x2e2643):_0x5bf8ac,_0x4f4ad7=_0x574484[_0x436b85(0x2dd)]-0x1,_0x3897f1;_0x4f4ad7>=0x0;_0x4f4ad7--)(_0x3897f1=_0x574484[_0x4f4ad7])&&(_0x3e06fe=_0x3897f1(_0x3e06fe)||_0x3e06fe);return _0x3e06fe;},_0x54b62c=(_0x36df8d,_0x382807)=>(_0x4b91d0,_0x56f27e)=>_0x382807(_0x4b91d0,_0x56f27e,_0x36df8d);let _0x44f01a=class extends _0x22ce22[_0x5e2413(0x1e2)]{constructor(_0x4f6208,_0x3de906,_0x1fc0df,_0x492cbb,_0x411378,_0x1dafd5,_0x187aa1,_0x29cb56){const _0x14bf50=_0x5e2413;super(),_0xb5e805(this,'_status$',new _0x32e4d0[(_0x14bf50(0x228))](_0x30f49a[_0x14bf50(0x1e3)][_0x14bf50(0x2a3)])),(this['_docStateChangeManagerService']=_0x4f6208,this['_collaborationController']=_0x3de906,this[_0x14bf50(0x226)]=_0x1fc0df,this[_0x14bf50(0x457)]=_0x492cbb,this['_docTransformSelectionsService']=_0x411378,this[_0x14bf50(0x27b)]=_0x1dafd5,this[_0x14bf50(0x383)]=_0x187aa1,this['_localeService']=_0x29cb56,this[_0x14bf50(0x1ed)]());}['_initEntityListener'](){const _0x5a74ed=_0x5e2413;this[_0x5a74ed(0x279)](this[_0x5a74ed(0x2c4)]['entityInit$'][_0x5a74ed(0x290)](_0x5231a2=>{const _0x150944=_0x5a74ed,_0x4e404e=this['_docStateChangeManagerService']['docStateChange$']['subscribe'](_0x5c1a2a=>{const _0x8d1af5=_0x3aed;if(_0x5c1a2a==null)return;const {unitId:_0x51c745,redoState:_0x8c84ea,commandId:_0x109f6d}=_0x5c1a2a;if(_0x51c745!==_0x5231a2[_0x8d1af5(0x329)])return;const _0x38661b={'id':_0x109f6d,'type':_0x22ce22[_0x8d1af5(0x1dd)][_0x8d1af5(0x441)],'params':{'unitId':_0x51c745,'actions':_0x8c84ea[_0x8d1af5(0x1ea)],'textRanges':null}};_0x5231a2['onLocalMutation'](_0x38661b);});if(_0x5231a2['disposeWithMe'](_0x4e404e),_0x5231a2 instanceof _0x30f49a['DocCollaborationEntity']){const _0x1993f1={'onTransformIME':_0x271701=>this[_0x150944(0x226)][_0x150944(0x42c)](_0x271701),'onTransformState':_0xd52cd9=>this['_docTransformStateCacheService'][_0x150944(0x265)](_0xd52cd9),'onTransformSelections':_0x11dc39=>this[_0x150944(0x317)][_0x150944(0x1e9)](_0x11dc39),'onSyncEditingCollabCursor':_0x3793c8=>this[_0x150944(0x27b)][_0x150944(0x1b1)](_0x3793c8),'onTransformRemoteChangesetByIMECache':_0x711bad=>this[_0x150944(0x226)]['transformRemoteChangeset'](_0x711bad),'onTransformRemoteChangesetByStateCache':_0x19e8bf=>this[_0x150944(0x457)][_0x150944(0x319)](_0x19e8bf)};_0x5231a2[_0x150944(0x212)](_0x1993f1);}}));}};_0x44f01a=_0x39fab7([_0x54b62c(0x0,_0x22ce22[_0x5e2413(0x312)](_0x449f6a[_0x5e2413(0x1c6)])),_0x54b62c(0x1,_0x22ce22['Inject'](_0x30f49a['CollaborationController'])),_0x54b62c(0x2,_0x22ce22[_0x5e2413(0x312)](_0x5b9ed5)),_0x54b62c(0x3,_0x22ce22[_0x5e2413(0x312)](_0xe9a9b0)),_0x54b62c(0x4,_0x22ce22[_0x5e2413(0x312)](_0x519269)),_0x54b62c(0x5,_0x22ce22['Inject'](_0xb6042)),_0x54b62c(0x6,_0x2b7bff[_0x5e2413(0x2e2)]),_0x54b62c(0x7,_0x22ce22[_0x5e2413(0x312)](_0x22ce22[_0x5e2413(0x42d)]))],_0x44f01a);var _0x589618=(_0x4b0f91=>(_0x4b0f91[_0x4b0f91[_0x5e2413(0x450)]=0x0]=_0x5e2413(0x450),_0x4b0f91[_0x4b0f91['OK']=0x1]='OK',_0x4b0f91[_0x4b0f91[_0x5e2413(0x268)]=0x2]=_0x5e2413(0x268),_0x4b0f91[_0x4b0f91[_0x5e2413(0x1f1)]=0x3]=_0x5e2413(0x1f1),_0x4b0f91[_0x4b0f91[_0x5e2413(0x25c)]=0x4]='NOT_FOUND',_0x4b0f91[_0x4b0f91[_0x5e2413(0x289)]=0x5]=_0x5e2413(0x289),_0x4b0f91[_0x4b0f91[_0x5e2413(0x2dc)]=0x6]=_0x5e2413(0x2dc),_0x4b0f91[_0x4b0f91[_0x5e2413(0x1a9)]=0x7]='INVALID_ARGUMENT',_0x4b0f91[_0x4b0f91['TOO_MANY_REQUESTS']=0x8]=_0x5e2413(0x373),_0x4b0f91[_0x4b0f91['COMPLETION_FINISHED']=0x9]=_0x5e2413(0x439),_0x4b0f91[_0x4b0f91[_0x5e2413(0x213)]=0xa]=_0x5e2413(0x213),_0x4b0f91[_0x4b0f91[_0x5e2413(0x27f)]=0xb]=_0x5e2413(0x27f),_0x4b0f91[_0x4b0f91[_0x5e2413(0x26e)]=0xc]=_0x5e2413(0x26e),_0x4b0f91[_0x4b0f91[_0x5e2413(0x22f)]=0xd]=_0x5e2413(0x22f),_0x4b0f91[_0x4b0f91[_0x5e2413(0x397)]=0xe]=_0x5e2413(0x397),_0x4b0f91[_0x4b0f91[_0x5e2413(0x208)]=0xf]=_0x5e2413(0x208),_0x4b0f91[_0x4b0f91[_0x5e2413(0x21b)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x4b0f91[_0x4b0f91[_0x5e2413(0x1c8)]=0x64]=_0x5e2413(0x1c8),_0x4b0f91[_0x4b0f91['ERROR_AGAIN']=0x65]='ERROR_AGAIN',_0x4b0f91[_0x4b0f91[_0x5e2413(0x284)]=0xc9]=_0x5e2413(0x284),_0x4b0f91[_0x4b0f91[_0x5e2413(0x2b5)]=0xca]='USER_IS_ANONYMOUS',_0x4b0f91[_0x4b0f91[_0x5e2413(0x1bd)]=0x1389]=_0x5e2413(0x1bd),_0x4b0f91[_0x4b0f91[_0x5e2413(0x26d)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x4b0f91[_0x4b0f91[_0x5e2413(0x2fc)]=0x1772]=_0x5e2413(0x2fc),_0x4b0f91[_0x4b0f91[_0x5e2413(0x2f0)]=0x1773]=_0x5e2413(0x2f0),_0x4b0f91[_0x4b0f91[_0x5e2413(0x384)]=0x1b59]=_0x5e2413(0x384),_0x4b0f91[_0x4b0f91[_0x5e2413(0x390)]=0x1b5a]=_0x5e2413(0x390),_0x4b0f91[_0x4b0f91[_0x5e2413(0x304)]=0x1b5b]=_0x5e2413(0x304),_0x4b0f91[_0x4b0f91['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5e2413(0x195),_0x4b0f91[_0x4b0f91['APPLY_DUPLICATED']=0x1b5d]=_0x5e2413(0x2ba),_0x4b0f91[_0x4b0f91['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x5e2413(0x372),_0x4b0f91[_0x4b0f91[_0x5e2413(0x235)]=0x2329]=_0x5e2413(0x235),_0x4b0f91[_0x4b0f91[_0x5e2413(0x34e)]=0x232a]=_0x5e2413(0x34e),_0x4b0f91[_0x4b0f91[_0x5e2413(0x37e)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4b0f91[_0x4b0f91['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x5e2413(0x3a5),_0x4b0f91[_0x4b0f91['LICENSE_DISTRO_REJECTED']=0x232d]='LICENSE_DISTRO_REJECTED',_0x4b0f91[_0x4b0f91[_0x5e2413(0x367)]=0x2711]=_0x5e2413(0x367),_0x4b0f91[_0x4b0f91[_0x5e2413(0x310)]=0x2712]=_0x5e2413(0x310),_0x4b0f91[_0x4b0f91[_0x5e2413(0x3b2)]=0x2713]=_0x5e2413(0x3b2),_0x4b0f91[_0x4b0f91[_0x5e2413(0x2c5)]=0x2714]=_0x5e2413(0x2c5),_0x4b0f91[_0x4b0f91[_0x5e2413(0x3ba)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x4b0f91[_0x4b0f91['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4b0f91[_0x4b0f91[_0x5e2413(0x1c7)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x4b0f91[_0x4b0f91[_0x5e2413(0x2ff)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x4b0f91[_0x4b0f91[_0x5e2413(0x3ef)]=0x271e]=_0x5e2413(0x3ef),_0x4b0f91[_0x4b0f91[_0x5e2413(0x431)]=0x271f]=_0x5e2413(0x431),_0x4b0f91[_0x4b0f91[_0x5e2413(0x475)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x4b0f91[_0x4b0f91['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x5e2413(0x256),_0x4b0f91[_0x4b0f91[_0x5e2413(0x2bd)]=0x2ee1]=_0x5e2413(0x2bd),_0x4b0f91[_0x4b0f91['INVALID_INVITE_CODE']=0x2ee2]=_0x5e2413(0x285),_0x4b0f91[_0x4b0f91['INVITE_CODE_REQUIRED']=0x2ee3]=_0x5e2413(0x44a),_0x4b0f91[_0x4b0f91['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x4b0f91[_0x4b0f91[_0x5e2413(0x264)]=0x2ee5]=_0x5e2413(0x264),_0x4b0f91[_0x4b0f91[_0x5e2413(0x1a6)]=0x32c9]=_0x5e2413(0x1a6),_0x4b0f91[_0x4b0f91['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x5e2413(0x1f9),_0x4b0f91[_0x4b0f91['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x4b0f91[_0x4b0f91[_0x5e2413(0x258)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x4b0f91[_0x4b0f91[_0x5e2413(0x338)]=0x36b2]=_0x5e2413(0x338),_0x4b0f91[_0x4b0f91[_0x5e2413(0x2eb)]=0x36b3]=_0x5e2413(0x2eb),_0x4b0f91[_0x4b0f91[_0x5e2413(0x2ca)]=0x36b4]=_0x5e2413(0x2ca),_0x4b0f91[_0x4b0f91[_0x5e2413(0x202)]=0x3715]=_0x5e2413(0x202),_0x4b0f91[_0x4b0f91['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x5e2413(0x1f3),_0x4b0f91[_0x4b0f91['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x5e2413(0x1c4),_0x4b0f91[_0x4b0f91[_0x5e2413(0x28f)]=0x37dd]=_0x5e2413(0x28f),_0x4b0f91[_0x4b0f91[_0x5e2413(0x430)]=0x3a99]=_0x5e2413(0x430),_0x4b0f91[_0x4b0f91['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x5e2413(0x24c),_0x4b0f91[_0x4b0f91[_0x5e2413(0x26c)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x4b0f91[_0x4b0f91['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x5e2413(0x3d0),_0x4b0f91[_0x4b0f91['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x5e2413(0x359),_0x4b0f91[_0x4b0f91[_0x5e2413(0x351)]=0x3a9e]=_0x5e2413(0x351),_0x4b0f91[_0x4b0f91['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x5e2413(0x229),_0x4b0f91[_0x4b0f91[_0x5e2413(0x458)]=0x3e81]=_0x5e2413(0x458),_0x4b0f91[_0x4b0f91[_0x5e2413(0x3bd)]=-0x1]=_0x5e2413(0x3bd),_0x4b0f91))(_0x589618||{});function _0x462bb2(_0x2ae7be){const _0x407516=_0x5e2413;var _0x320a56,_0x1fea9a;const _0x5d9ee8=(_0x320a56=_0x2ae7be['stageInfo'])==null?void 0x0:_0x320a56[_0x407516(0x30a)],_0x2e7379=((_0x1fea9a=_0x2ae7be['stageInfo'])==null?void 0x0:_0x1fea9a['totalFormulasToCalculate'])||0x0;return _0x5d9ee8===_0x64210c[_0x407516(0x1d8)]['START_CALCULATION']&&_0x2e7379>0x0;}function _0x30e9d9(_0x1f7f1d){const _0x23500d=_0x5e2413;return _0x1f7f1d[_0x23500d(0x19d)]===_0x64210c['FormulaExecutedStateType'][_0x23500d(0x470)];}var _0x3b0516=Object[_0x5e2413(0x306)],_0x497500=(_0xc3ade1,_0x4ac865,_0x34708b,_0x421a8a)=>{for(var _0x13ebe2=_0x421a8a>0x1?void 0x0:_0x421a8a?_0x3b0516(_0x4ac865,_0x34708b):_0x4ac865,_0x36bd9f=_0xc3ade1['length']-0x1,_0x46132c;_0x36bd9f>=0x0;_0x36bd9f--)(_0x46132c=_0xc3ade1[_0x36bd9f])&&(_0x13ebe2=_0x46132c(_0x13ebe2)||_0x13ebe2);return _0x13ebe2;},_0x30833c=(_0x2aabf3,_0x55d1db)=>(_0x2b322b,_0x29b07d)=>_0x55d1db(_0x2b322b,_0x29b07d,_0x2aabf3);const _0x3b0548=_0x5e2413(0x465),_0x3de774=_0x5e2413(0x255),_0x5f0fec=_0x5e2413(0x2fb);let _0xbb79ec=class extends _0x22ce22['Disposable']{constructor(_0x19bd17,_0x47a35d,_0x54230d,_0x430832,_0x5b291a,_0x5cae2b,_0x4f9d34){const _0x26a438=_0x5e2413;super(),_0xb5e805(this,_0x26a438(0x19e),null),_0xb5e805(this,_0x26a438(0x2ad),0x0),_0xb5e805(this,_0x26a438(0x3b4),0x0),_0xb5e805(this,_0x26a438(0x459),[]),_0xb5e805(this,_0x26a438(0x201),0x0),(this[_0x26a438(0x383)]=_0x19bd17,this[_0x26a438(0x272)]=_0x47a35d,this[_0x26a438(0x467)]=_0x54230d,this[_0x26a438(0x369)]=_0x430832,this[_0x26a438(0x1f4)]=_0x5b291a,this[_0x26a438(0x294)]=_0x5cae2b,this[_0x26a438(0x40b)]=_0x4f9d34,this[_0x26a438(0x1d7)]());}['_initCommandInterceptor'](){const _0xd24f62=_0x5e2413;this[_0xd24f62(0x279)](this[_0xd24f62(0x272)][_0xd24f62(0x1c3)]((_0x30d84e,_0x5ad7bf)=>{const _0x39c096=_0xd24f62;var _0x3a651a;if(_0x30d84e['id']!==_0x64210c[_0x39c096(0x43f)]['id'])return;const _0x34b7da=_0x30d84e[_0x39c096(0x345)];if(!this[_0x39c096(0x24b)]((_0x3a651a=_0x34b7da[_0x39c096(0x2d2)])!=null?_0x3a651a:[]))return;if(!this[_0x39c096(0x1ae)]())throw this[_0x39c096(0x38b)](_0x30d84e,_0x5ad7bf),this[_0x39c096(0x2bb)](),new _0x22ce22['CanceledError']();})),this[_0xd24f62(0x279)](this[_0xd24f62(0x272)][_0xd24f62(0x479)]((_0x284089,_0x480f31)=>{const _0x2a18c5=_0xd24f62;if(_0x284089['id']!==_0x64210c[_0x2a18c5(0x375)]['id'])return;const _0x5eac03=_0x284089['params'];if(_0x462bb2(_0x5eac03)){const _0x2ed3e5=_0x22ce22['generateRandomId']();this['_taskIds']['push'](_0x2ed3e5),this[_0x2a18c5(0x210)](_0x2ed3e5);}else{if(_0x30e9d9(_0x5eac03)&&this[_0x2a18c5(0x459)]['length']>0x0){const _0x11689c=this[_0x2a18c5(0x459)][_0x2a18c5(0x307)]();this[_0x2a18c5(0x2e7)](_0x11689c);}}}));}[_0x5e2413(0x43d)](){const _0x91b1d3=_0x5e2413;super['dispose'](),this[_0x91b1d3(0x29b)](),this['_taskIds']=[],this[_0x91b1d3(0x3b4)]=0x0,this[_0x91b1d3(0x2ad)]=0x0,this[_0x91b1d3(0x201)]=0x0;}async[_0x5e2413(0x38b)](_0x174b18,_0x4a0aaf){const _0x5becc2=_0x5e2413;for(let _0x556cf5=0x0;_0x556cf5<0x1e;_0x556cf5++)try{if(await this[_0x5becc2(0x421)](),this[_0x5becc2(0x1ae)]()){this[_0x5becc2(0x1ca)](_0x174b18,_0x4a0aaf),this['_messageService'][_0x5becc2(0x3df)]({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x569a72['MessageType'][_0x5becc2(0x2b1)]});return;}await new Promise(_0x428512=>{const _0x1a69ef=_0x5becc2;this['_pollingInterval']=window[_0x1a69ef(0x275)](_0x428512,0x3e8);});}catch(_0x5271f8){this[_0x5becc2(0x294)][_0x5becc2(0x1ee)](_0x5271f8);}this[_0x5becc2(0x383)][_0x5becc2(0x3df)]({'content':this[_0x5becc2(0x40b)]['t'](_0x5becc2(0x402)),'type':_0x569a72[_0x5becc2(0x22c)][_0x5becc2(0x444)]});}[_0x5e2413(0x1ca)](_0x2c70f4,_0x116841){const _0x1695cf=_0x5e2413;try{this['_commandService']['executeCommand'](_0x2c70f4['id'],_0x2c70f4[_0x1695cf(0x345)],_0x116841);}catch(_0x2e8c5a){this[_0x1695cf(0x294)][_0x1695cf(0x1ee)](_0x2e8c5a);}}[_0x5e2413(0x30c)](_0x4ea72f,_0x189233){const _0x23a708=_0x5e2413;_0x189233<this[_0x23a708(0x201)]||(this['_lastResponseTimestamp']=_0x189233,this[_0x23a708(0x2ad)]=Number[_0x23a708(0x45f)](_0x4ea72f['maxFormulaLimit']),this[_0x23a708(0x3b4)]=Number[_0x23a708(0x45f)](_0x4ea72f['currentUsage']));}async[_0x5e2413(0x210)](_0x1f0ab1){const _0x25dbd2=_0x5e2413;var _0x34a4fb,_0x26f434;const _0x298289=Date[_0x25dbd2(0x222)]();try{const _0x407904=((_0x34a4fb=this[_0x25dbd2(0x467)]['getConfig'](_0x30f49a['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x34a4fb[_0x25dbd2(0x371)])||_0x3de774,_0x5db53a=(await this[_0x25dbd2(0x369)]['post'](_0x407904,{'body':JSON[_0x25dbd2(0x2da)]({'taskId':_0x1f0ab1})}))['body'];if(((_0x26f434=_0x5db53a[_0x25dbd2(0x1ee)])==null?void 0x0:_0x26f434[_0x25dbd2(0x3a4)])!==_0x589618['OK'])return;this[_0x25dbd2(0x30c)](_0x5db53a[_0x25dbd2(0x246)],_0x298289);}catch(_0x3359d2){this[_0x25dbd2(0x294)][_0x25dbd2(0x1ee)](_0x3359d2);}}async[_0x5e2413(0x421)](_0x22d296){const _0x296d78=_0x5e2413;var _0x4e2f60,_0x4bb848;const _0x32366d=Date[_0x296d78(0x222)]();try{const _0x3a170c=((_0x4e2f60=this['_configService'][_0x296d78(0x3c2)](_0x30f49a[_0x296d78(0x321)]))==null?void 0x0:_0x4e2f60[_0x296d78(0x350)])||_0x3b0548,_0x16ac8d=_0x22d296?_0x3a170c+_0x296d78(0x429)+encodeURIComponent(_0x22d296):_0x3a170c,_0x38152c=(await this[_0x296d78(0x369)]['get'](_0x16ac8d))[_0x296d78(0x237)];if(((_0x4bb848=_0x38152c[_0x296d78(0x1ee)])==null?void 0x0:_0x4bb848[_0x296d78(0x3a4)])!==_0x589618['OK'])return;this[_0x296d78(0x30c)](_0x38152c['limitInfo'],_0x32366d);}catch(_0x244d41){this[_0x296d78(0x294)][_0x296d78(0x1ee)](_0x244d41);}}async[_0x5e2413(0x2e7)](_0x1f769e){const _0x2cb436=_0x5e2413;var _0xd1e978,_0x1858fe;const _0x36f877=Date['now']();try{const _0x4bff0c=((_0xd1e978=this['_configService']['getConfig'](_0x30f49a[_0x2cb436(0x321)]))==null?void 0x0:_0xd1e978[_0x2cb436(0x297)])||_0x5f0fec,_0x34fac4=(await this['_httpService'][_0x2cb436(0x1e1)](_0x4bff0c,{'body':JSON[_0x2cb436(0x2da)]({'taskId':_0x1f769e})}))[_0x2cb436(0x237)];if(((_0x1858fe=_0x34fac4['error'])==null?void 0x0:_0x1858fe['code'])!==_0x589618['OK'])return;this[_0x2cb436(0x30c)](_0x34fac4[_0x2cb436(0x246)],_0x36f877);}catch(_0x5975a0){this['_logService'][_0x2cb436(0x1ee)](_0x5975a0);}}[_0x5e2413(0x1ae)](){const _0x3bc023=_0x5e2413;return this[_0x3bc023(0x2ad)]===0x0?!0x0:this[_0x3bc023(0x2ad)]-this[_0x3bc023(0x3b4)]>0x0;}[_0x5e2413(0x29b)](){const _0x120a59=_0x5e2413;this[_0x120a59(0x19e)]&&(clearTimeout(this[_0x120a59(0x19e)]),this['_pollingInterval']=null);}[_0x5e2413(0x2bb)](){const _0x2f6a6d=_0x5e2413;this[_0x2f6a6d(0x383)]['show']({'content':this[_0x2f6a6d(0x40b)]['t'](_0x2f6a6d(0x24f)),'type':_0x569a72['MessageType']['Loading']});}[_0x5e2413(0x24b)](_0x217ed8){const _0x4d42ce=_0x5e2413;for(const _0x5a03f4 of _0x217ed8){const {unitId:_0x22fd67,sheetId:_0x42b1cd,range:_0x3c9bd5}=_0x5a03f4,_0x15d38a=this['_univerInstanceService'][_0x4d42ce(0x325)](_0x22fd67);if(!_0x15d38a)continue;const _0x54b09a=_0x15d38a[_0x4d42ce(0x1e7)](_0x42b1cd);if(!_0x54b09a)continue;const _0x1ab4e8=_0x54b09a[_0x4d42ce(0x1af)]();for(let _0x203e9d=_0x3c9bd5[_0x4d42ce(0x32e)];_0x203e9d<=_0x3c9bd5[_0x4d42ce(0x2d5)];_0x203e9d++)for(let _0x44b4fd=_0x3c9bd5['startColumn'];_0x44b4fd<=_0x3c9bd5[_0x4d42ce(0x25d)];_0x44b4fd++){const _0x40404a=_0x1ab4e8['getValue'](_0x203e9d,_0x44b4fd);if(_0x40404a&&(_0x22ce22[_0x4d42ce(0x30e)](_0x40404a['f'])||_0x22ce22[_0x4d42ce(0x3a9)](_0x40404a['si'])))return!0x0;}}return!0x1;}};_0xbb79ec=_0x497500([_0x30833c(0x0,_0x22ce22['Inject'](_0x2b7bff[_0x5e2413(0x2e2)])),_0x30833c(0x1,_0x22ce22[_0x5e2413(0x3bf)]),_0x30833c(0x2,_0x22ce22['IConfigService']),_0x30833c(0x3,_0x22ce22[_0x5e2413(0x312)](_0x92f5d3[_0x5e2413(0x3de)])),_0x30833c(0x4,_0x22ce22[_0x5e2413(0x2cd)]),_0x30833c(0x5,_0x22ce22[_0x5e2413(0x254)]),_0x30833c(0x6,_0x22ce22['Inject'](_0x22ce22[_0x5e2413(0x42d)]))],_0xbb79ec);var _0x5932db=Object['getOwnPropertyDescriptor'],_0x38c42=(_0x2fae7f,_0x552a62,_0xb5b0a2,_0x22331b)=>{const _0x5a00d1=_0x5e2413;for(var _0x2e09c1=_0x22331b>0x1?void 0x0:_0x22331b?_0x5932db(_0x552a62,_0xb5b0a2):_0x552a62,_0x5bb99f=_0x2fae7f[_0x5a00d1(0x2dd)]-0x1,_0x48fdf8;_0x5bb99f>=0x0;_0x5bb99f--)(_0x48fdf8=_0x2fae7f[_0x5bb99f])&&(_0x2e09c1=_0x48fdf8(_0x2e09c1)||_0x2e09c1);return _0x2e09c1;},_0x30e1a0=(_0x4086ea,_0x57b234)=>(_0x423880,_0x2215d2)=>_0x57b234(_0x423880,_0x2215d2,_0x4086ea);let _0x423d50=class extends _0x22ce22[_0x5e2413(0x1e2)]{constructor(_0x49ee94,_0x40c43a,_0x2e6cd7){const _0x3cf9e9=_0x5e2413;super(),_0xb5e805(this,_0x3cf9e9(0x3e4),new Map()),_0xb5e805(this,_0x3cf9e9(0x34d),new Map()),_0xb5e805(this,_0x3cf9e9(0x3c9),!0x1),(this[_0x3cf9e9(0x467)]=_0x49ee94,this[_0x3cf9e9(0x25e)]=_0x40c43a,this[_0x3cf9e9(0x396)]=_0x2e6cd7);}[_0x5e2413(0x2b8)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x1c612d=_0x5e2413;this[_0x1c612d(0x3c9)]=!0x1;}get[_0x5e2413(0x356)](){const _0x591051=_0x5e2413;return this[_0x591051(0x34d)];}['dispose'](){const _0x4baae8=_0x5e2413;this[_0x4baae8(0x471)]()[_0x4baae8(0x472)](()=>super[_0x4baae8(0x43d)]());}async[_0x5e2413(0x216)](_0x8114){const _0x1db1b8=_0x5e2413;return this[_0x1db1b8(0x3c9)]?null:this[_0x1db1b8(0x25e)][_0x1db1b8(0x452)](_0x30f49a[_0x1db1b8(0x337)](_0x8114));}async['saveOfflineData'](_0x9b3b7e,_0x40eab0){const _0x5f0e24=_0x5e2413;return!!this['_localStorageService'][_0x5f0e24(0x2e3)](_0x9b3b7e,_0x40eab0);}[_0x5e2413(0x3ad)](_0x4a05dc,_0x84cb38,_0x5083f2,_0x350d22){const _0x145f0b=_0x5e2413,_0x5b022d=this[_0x145f0b(0x396)][_0x145f0b(0x3c4)](_0x4a05dc);this[_0x145f0b(0x3e4)]['set'](_0x4a05dc,{'unitID':_0x4a05dc,'type':_0x84cb38,'awaitingChangeset':_0x5083f2,'mutations':_0x350d22,'rev':_0x5b022d}),this[_0x145f0b(0x34d)][_0x145f0b(0x35f)](_0x4a05dc)||this[_0x145f0b(0x244)](_0x4a05dc);}[_0x5e2413(0x244)](_0x309bef){const _0x522ca9=_0x5e2413,_0x1b6657=this[_0x522ca9(0x3c3)]();_0x1b6657===0x0?this[_0x522ca9(0x1e8)](_0x309bef):this[_0x522ca9(0x34d)][_0x522ca9(0x1d2)](_0x309bef,setTimeout(()=>this[_0x522ca9(0x1e8)](_0x309bef),_0x1b6657));}['_getSaveTimeout'](){const _0x162452=_0x5e2413;var _0x444872;return(_0x444872=this[_0x162452(0x467)][_0x162452(0x3c2)](_0x30f49a[_0x162452(0x37f)]))!=null?_0x444872:_0x30f49a['LOCAL_CACHE_INTERVAL'];}[_0x5e2413(0x1e8)](_0x621bff){const _0x2366c3=_0x5e2413,_0x216858=this[_0x2366c3(0x34d)][_0x2366c3(0x335)](_0x621bff);return _0x216858!==void 0x0&&window['clearTimeout'](_0x216858),this['_localStorageService'][_0x2366c3(0x2e3)](_0x30f49a[_0x2366c3(0x337)](_0x621bff),this[_0x2366c3(0x3e4)][_0x2366c3(0x335)](_0x621bff))[_0x2366c3(0x472)](()=>this[_0x2366c3(0x34d)][_0x2366c3(0x1b7)](_0x621bff));}async[_0x5e2413(0x471)](){const _0x1b2408=_0x5e2413,_0x5db806=[];this[_0x1b2408(0x34d)][_0x1b2408(0x3e5)]((_0x170f02,_0x375ec6)=>{const _0x2c69ad=_0x1b2408;window[_0x2c69ad(0x37d)](_0x170f02),_0x5db806[_0x2c69ad(0x409)](this[_0x2c69ad(0x1e8)](_0x375ec6)[_0x2c69ad(0x472)](()=>{const _0x1a3c68=_0x2c69ad;this[_0x1a3c68(0x34d)]['delete'](_0x375ec6);}));}),await Promise[_0x1b2408(0x3f0)](_0x5db806);}};_0x423d50=_0x38c42([_0x30e1a0(0x0,_0x22ce22[_0x5e2413(0x242)]),_0x30e1a0(0x1,_0x22ce22[_0x5e2413(0x38d)]),_0x30e1a0(0x2,_0x22ce22['Inject'](_0x5c6274[_0x5e2413(0x400)]))],_0x423d50);class _0x5c32cc extends _0x22ce22[_0x5e2413(0x344)]{constructor(){const _0x5ca2a9=_0x5e2413;super(),_0xb5e805(this,'urlChange$'),this[_0x5ca2a9(0x1d0)]=_0x32e4d0[_0x5ca2a9(0x29d)](window,_0x5ca2a9(0x437))[_0x5ca2a9(0x1c9)](_0x32e4d0[_0x5ca2a9(0x2be)](this[_0x5ca2a9(0x25a)]),_0x32e4d0[_0x5ca2a9(0x20e)](0x1),_0x32e4d0[_0x5ca2a9(0x1ad)](void 0x0));}['setParam'](_0x5c6a03,_0x5d2820,_0x57464b=!0x1){const _0x17de9b=_0x5e2413,_0x4aec5f=new URL(window[_0x17de9b(0x236)][_0x17de9b(0x32c)]);_0x4aec5f[_0x17de9b(0x460)][_0x17de9b(0x1d2)](_0x5c6a03,_0x5d2820),_0x57464b?window[_0x17de9b(0x366)][_0x17de9b(0x3fd)]('','',_0x4aec5f['toString']()):window[_0x17de9b(0x366)]['pushState']('','',_0x4aec5f[_0x17de9b(0x2b6)]());}[_0x5e2413(0x281)](_0x18e5bd,_0x4a6e37=!0x1){const _0x1533b1=_0x5e2413,_0x20fa2c=new URL(window[_0x1533b1(0x236)][_0x1533b1(0x32c)]);_0x20fa2c['searchParams'][_0x1533b1(0x1b7)](_0x18e5bd),_0x4a6e37?window[_0x1533b1(0x366)][_0x1533b1(0x3fd)]('','',_0x20fa2c['toString']()):window[_0x1533b1(0x366)][_0x1533b1(0x35d)]('','',_0x20fa2c[_0x1533b1(0x2b6)]());}[_0x5e2413(0x26a)](_0x329eff){const _0x1d4fb0=_0x5e2413;var _0x4f79a6;return(_0x4f79a6=new URL(window['location'][_0x1d4fb0(0x32c)])[_0x1d4fb0(0x460)][_0x1d4fb0(0x335)](_0x329eff))!=null?_0x4f79a6:void 0x0;}}var _0x200c1d=Object['defineProperty'],_0x383836=Object[_0x5e2413(0x306)],_0x54e2de=(_0x31a414,_0x349d38,_0x1f87aa)=>_0x349d38 in _0x31a414?_0x200c1d(_0x31a414,_0x349d38,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f87aa}):_0x31a414[_0x349d38]=_0x1f87aa,_0x32f6ec=(_0x1ff25b,_0x563db4,_0x4d7a9d,_0x51a9b9)=>{const _0x21058f=_0x5e2413;for(var _0x1ee4b3=_0x51a9b9>0x1?void 0x0:_0x51a9b9?_0x383836(_0x563db4,_0x4d7a9d):_0x563db4,_0x469d67=_0x1ff25b[_0x21058f(0x2dd)]-0x1,_0x29128e;_0x469d67>=0x0;_0x469d67--)(_0x29128e=_0x1ff25b[_0x469d67])&&(_0x1ee4b3=_0x29128e(_0x1ee4b3)||_0x1ee4b3);return _0x1ee4b3;},_0x459365=(_0x222c23,_0x79220e)=>(_0x1ac5ff,_0x2340c4)=>_0x79220e(_0x1ac5ff,_0x2340c4,_0x222c23),_0x12b4fc=(_0xbdffae,_0x3451a0,_0x434cce)=>_0x54e2de(_0xbdffae,_0x3451a0+'',_0x434cce);const _0x31a77c=_0x5e2413(0x1b4);_0x59cddf[_0x5e2413(0x1e4)]=class extends _0x22ce22[_0x5e2413(0x339)]{constructor(_0x16d39a=_0x124d98,_0x5ded13,_0x199247,_0x2e3933){const _0x6657d2=_0x5e2413;super(),this[_0x6657d2(0x3be)]=_0x16d39a,this[_0x6657d2(0x318)]=_0x5ded13,this[_0x6657d2(0x1fa)]=_0x199247,this[_0x6657d2(0x467)]=_0x2e3933;const {..._0x5adc78}=_0x22ce22[_0x6657d2(0x44d)]({},_0x124d98,this[_0x6657d2(0x3be)]);this[_0x6657d2(0x467)][_0x6657d2(0x3ec)](_0x2a0687,_0x5adc78);}['onStarting'](){const _0x299fb6=_0x5e2413;this[_0x299fb6(0x464)](),this[_0x299fb6(0x2cc)]();}[_0x5e2413(0x20a)](){const _0x1884ca=_0x5e2413;this[_0x1884ca(0x438)]();}[_0x5e2413(0x464)](){const _0x25f5c7=_0x5e2413;var _0x48af52;const _0x505efd=[[_0x334c88],[_0xbb79ec],[_0x519269],[_0x5b9ed5],[_0xe9a9b0],[_0xb6042],[_0x2449da,{'useClass':_0x5c32cc}],[_0x92f5d3[_0x25f5c7(0x262)],{'useClass':_0x92f5d3[_0x25f5c7(0x3af)]}],[_0x30f49a[_0x25f5c7(0x1a5)],{'useClass':_0x423d50}],[_0x59cddf[_0x25f5c7(0x1f7)]],[_0x44f01a],[_0x38b082],[_0xb791f4],[_0x5e2aec],[_0x59cddf[_0x25f5c7(0x45e)]]];this[_0x25f5c7(0x3be)][_0x25f5c7(0x232)]&&_0x505efd[_0x25f5c7(0x409)]([_0x4cbab2]),_0x22ce22['registerDependencies'](this[_0x25f5c7(0x1fa)],_0x22ce22['mergeOverrideWithDependencies'](_0x505efd,(_0x48af52=this['_config'])==null?void 0x0:_0x48af52[_0x25f5c7(0x2f5)]));}[_0x5e2413(0x438)](){const _0x1c8d3a=_0x5e2413;this['disposeWithMe'](this['_renderManagerService'][_0x1c8d3a(0x1d5)](_0x22ce22[_0x1c8d3a(0x299)][_0x1c8d3a(0x432)],[_0x3559ed])),this[_0x1c8d3a(0x279)](this['_renderManagerService'][_0x1c8d3a(0x1d5)](_0x22ce22[_0x1c8d3a(0x299)][_0x1c8d3a(0x1a3)],[_0x1a7b06]));}['_initDependencies'](){const _0xf152f5=_0x5e2413;_0x22ce22[_0xf152f5(0x3cb)](this[_0xf152f5(0x1fa)],[[_0xb791f4],[_0x59cddf[_0xf152f5(0x1f7)]],[_0x44f01a],[_0x38b082],[_0x59cddf[_0xf152f5(0x45e)]],[_0xbb79ec]]),this[_0xf152f5(0x3be)]['enableFrontendLog']&&_0x22ce22[_0xf152f5(0x3cb)](this[_0xf152f5(0x1fa)],[[_0x4cbab2]]);}},_0x12b4fc(_0x59cddf[_0x5e2413(0x1e4)],_0x5e2413(0x406),_0x31a77c),_0x59cddf[_0x5e2413(0x1e4)]=_0x32f6ec([_0x22ce22['DependentOn'](_0x30f49a['UniverCollaborationClientPlugin']),_0x459365(0x1,_0x45b49d[_0x5e2413(0x2d1)]),_0x459365(0x2,_0x22ce22['Inject'](_0x22ce22[_0x5e2413(0x47b)])),_0x459365(0x3,_0x22ce22[_0x5e2413(0x242)])],_0x59cddf[_0x5e2413(0x1e4)]);var _0xcc609f=Object['getOwnPropertyDescriptor'],_0x1a1452=(_0xde8776,_0x112d0d,_0x4e98bf,_0x34aa15)=>{for(var _0x140ec1=_0x34aa15>0x1?void 0x0:_0x34aa15?_0xcc609f(_0x112d0d,_0x4e98bf):_0x112d0d,_0x1d18fd=_0xde8776['length']-0x1,_0x193f3e;_0x1d18fd>=0x0;_0x1d18fd--)(_0x193f3e=_0xde8776[_0x1d18fd])&&(_0x140ec1=_0x193f3e(_0x140ec1)||_0x140ec1);return _0x140ec1;},_0x3578d1=(_0x1cb455,_0x13debd)=>(_0x1ebe50,_0x4c015e)=>_0x13debd(_0x1ebe50,_0x4c015e,_0x1cb455);_0x59cddf[_0x5e2413(0x19b)]=class extends _0x30f49a[_0x5e2413(0x423)]{constructor(_0x1dd660,_0x2a62d3,_0xc4325,_0x5d5b30,_0x4f1db3){super(_0x1dd660,_0x2a62d3,_0xc4325,_0x5d5b30,_0x4f1db3);}async['createSocket'](_0xbd2502){const _0x180927=_0x5e2413,_0x25a96d=await this[_0x180927(0x404)](),_0x25458a=this[_0x180927(0x196)](_0xbd2502,_0x25a96d);return this[_0x180927(0x426)](_0x25458a);}['_createSocketURL'](_0x28011f,_0x401414){const _0x531182=_0x5e2413,_0x485098=typeof window>'u'?new URL(_0x28011f):new URL(_0x28011f,window[_0x531182(0x236)][_0x531182(0x1b0)]);_0x485098[_0x531182(0x460)][_0x531182(0x1d2)](_0x531182(0x22e),_0x401414);const _0x1e43d1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x531182(0x236)][_0x531182(0x298)]);return _0x1e43d1[_0x531182(0x335)](_0x531182(0x1f6))&&_0x485098[_0x531182(0x460)][_0x531182(0x1d2)]('runId',_0x1e43d1[_0x531182(0x335)]('runId')),_0x485098['toString']();}async[_0x5e2413(0x404)](){const _0x57fd79=_0x5e2413;var _0x3d2550,_0x3c3e03,_0x18692d;const _0x4ac44a=this[_0x57fd79(0x467)][_0x57fd79(0x3c2)](_0x30f49a[_0x57fd79(0x321)]),_0x21104b=(_0x3d2550=_0x4ac44a==null?void 0x0:_0x4ac44a['wsSessionTicketUrl'])!=null?_0x3d2550:_0x30f49a['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x18692d=(_0x3c3e03=(await this['_httpService']['get'](_0x21104b,{'headers':{'Content-Type':_0x57fd79(0x348)}}))[_0x57fd79(0x237)])==null?void 0x0:_0x3c3e03[_0x57fd79(0x1ba)])!=null?_0x18692d:'';}},_0x59cddf[_0x5e2413(0x19b)]=_0x1a1452([_0x3578d1(0x0,_0x22ce22[_0x5e2413(0x312)](_0x22ce22[_0x5e2413(0x47b)])),_0x3578d1(0x1,_0x22ce22[_0x5e2413(0x312)](_0x92f5d3[_0x5e2413(0x3de)])),_0x3578d1(0x2,_0x22ce22[_0x5e2413(0x242)]),_0x3578d1(0x3,_0x22ce22['ILogService']),_0x3578d1(0x4,_0x5c6274[_0x5e2413(0x2a4)])],_0x59cddf[_0x5e2413(0x19b)]);var _0x55490b=Object[_0x5e2413(0x306)],_0x4b2780=(_0x515e3a,_0x26e70a,_0x27858c,_0x4f7141)=>{const _0x295b91=_0x5e2413;for(var _0x15787f=_0x4f7141>0x1?void 0x0:_0x4f7141?_0x55490b(_0x26e70a,_0x27858c):_0x26e70a,_0x53e699=_0x515e3a[_0x295b91(0x2dd)]-0x1,_0x1cf23c;_0x53e699>=0x0;_0x53e699--)(_0x1cf23c=_0x515e3a[_0x53e699])&&(_0x15787f=_0x1cf23c(_0x15787f)||_0x15787f);return _0x15787f;},_0x1a1b10=(_0x48f0bf,_0x3e4201)=>(_0x16bfff,_0x5c069a)=>_0x3e4201(_0x16bfff,_0x5c069a,_0x48f0bf);_0x59cddf[_0x5e2413(0x2c0)]=class extends _0x22ce22[_0x5e2413(0x1e2)]{constructor(_0x4a078b,_0x4676f9,_0x40aa28){const _0x859f84=_0x5e2413;super(),this[_0x859f84(0x1dc)]=_0x4a078b,this[_0x859f84(0x369)]=_0x4676f9,this[_0x859f84(0x467)]=_0x40aa28;}async[_0x5e2413(0x2fd)](_0xa69631,_0x44f6ac,_0x5d94fd,..._0x4970e9){const _0x57a3b5=_0x5e2413;var _0x47c50c,_0x162dd5,_0x22ac59,_0x5cb2c0;const _0x42b0ea=this[_0x57a3b5(0x1dc)][_0x57a3b5(0x2e9)]();if(!_0x42b0ea)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x5ee16b=((_0x47c50c=this[_0x57a3b5(0x467)][_0x57a3b5(0x3c2)](_0x30f49a[_0x57a3b5(0x2b2)]))!=null?_0x47c50c:_0x30f49a[_0x57a3b5(0x35a)])+'/'+_0xa69631+_0x57a3b5(0x2c7)+_0x44f6ac,_0x41a9c4=new URL(window[_0x57a3b5(0x236)][_0x57a3b5(0x32c)]),_0x50ae73={'scriptId':_0xa69631,'runId':(_0x162dd5=_0x41a9c4[_0x57a3b5(0x460)][_0x57a3b5(0x335)](_0x57a3b5(0x1f6)))!=null?_0x162dd5:'','function':_0x44f6ac,'unitId':_0x42b0ea[_0x57a3b5(0x44e)](),'argsOfFunction':JSON['stringify'](_0x4970e9),'invokeId':(_0x22ac59=_0x5d94fd[_0x57a3b5(0x336)])!=null?_0x22ac59:'','executionId':(_0x5cb2c0=_0x5d94fd[_0x57a3b5(0x3b6)])!=null?_0x5cb2c0:''};try{const _0x158e1d=await this[_0x57a3b5(0x369)][_0x57a3b5(0x1e1)](_0x5ee16b,{'body':_0x50ae73});return _0x158e1d[_0x57a3b5(0x237)][_0x57a3b5(0x1ee)]&&_0x158e1d[_0x57a3b5(0x237)][_0x57a3b5(0x1ee)][_0x57a3b5(0x3a4)]!==_0x589618['OK']?_0x57a3b5(0x39e):_0x158e1d[_0x57a3b5(0x237)]['result'];}catch{return _0x57a3b5(0x39e);}}},_0x59cddf[_0x5e2413(0x2c0)]=_0x4b2780([_0x1a1b10(0x0,_0x22ce22[_0x5e2413(0x2cd)]),_0x1a1b10(0x1,_0x22ce22['Inject'](_0x92f5d3[_0x5e2413(0x3de)])),_0x1a1b10(0x2,_0x22ce22['IConfigService'])],_0x59cddf[_0x5e2413(0x2c0)]);const _0x1feb31=0x7530,_0x382526=_0x5e2413(0x417);class _0x4a5b0d extends _0x22ce22['Disposable']{constructor(){const _0x137a1f=_0x5e2413;super(),_0xb5e805(this,_0x137a1f(0x42e),_0x22ce22[_0x137a1f(0x33a)]()),_0xb5e805(this,_0x137a1f(0x353),new Set()),_0xb5e805(this,_0x137a1f(0x37c),new Map()),_0xb5e805(this,_0x137a1f(0x32d),null),_0xb5e805(this,_0x137a1f(0x368),new Map()),_0xb5e805(this,_0x137a1f(0x364),new Map()),this['_init']();}['dispose'](){const _0x1d9abe=_0x5e2413;super[_0x1d9abe(0x43d)](),this[_0x1d9abe(0x368)][_0x1d9abe(0x3e5)]((_0x240810,_0x425695)=>this['_removeClearOtherTimer'](_0x425695)),this[_0x1d9abe(0x32d)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x5e2413(0x342)](_0x335ada){const _0x553e04=_0x5e2413;return this[_0x553e04(0x220)](_0x335ada)[_0x553e04(0x1c9)](_0x32e4d0[_0x553e04(0x36d)]());}['editingUnit'](_0x589f28){const _0x582d07=_0x5e2413;this[_0x582d07(0x353)]['size']===0x0&&this[_0x582d07(0x3ae)](),this[_0x582d07(0x353)][_0x582d07(0x2b4)](_0x589f28),this[_0x582d07(0x223)]({'type':0x0,'memberID':this[_0x582d07(0x42e)],'unitIDs':[_0x589f28],'isForwarded':!0x1});}[_0x5e2413(0x3dd)](_0x40bf5a){const _0x9fcde7=_0x5e2413;this['_selfUnitIDs'][_0x9fcde7(0x1b7)](_0x40bf5a),this[_0x9fcde7(0x353)][_0x9fcde7(0x245)]===0x0&&this[_0x9fcde7(0x32d)]&&window['clearInterval'](this['_heartbeatTimer']);}['_init'](){const _0x345218=_0x5e2413;this[_0x345218(0x279)](_0x22ce22[_0x345218(0x21a)](_0x32e4d0[_0x345218(0x29d)](window,_0x345218(0x283))[_0x345218(0x290)](_0xdd38de=>{const _0x58abb5=_0x345218;if(_0xdd38de['key']!==_0x382526||!_0xdd38de['newValue'])return;const _0x202970=JSON[_0x58abb5(0x463)](_0xdd38de[_0x58abb5(0x398)]);this[_0x58abb5(0x31f)](_0x202970);}))),window[_0x345218(0x352)](_0x345218(0x445),()=>this[_0x345218(0x223)]({'type':0x1,'memberID':this[_0x345218(0x42e)],'unitIDs':Array[_0x345218(0x287)](this[_0x345218(0x353)])}));}[_0x5e2413(0x31f)](_0x4d0614){const _0x359420=_0x5e2413;switch(_0x4d0614[_0x359420(0x22a)]){case 0x0:this['_handleJoinEvent'](_0x4d0614);break;case 0x1:this[_0x359420(0x2db)](_0x4d0614);break;case 0x2:this[_0x359420(0x29e)](_0x4d0614);break;}}[_0x5e2413(0x416)](_0x1c3478){const _0x385095=_0x5e2413,{unitIDs:_0x1bfb87,memberID:_0x48fce5,isForwarded:_0x41a225}=_0x1c3478;_0x1bfb87[_0x385095(0x3e5)](_0x230897=>{const _0x5bee66=_0x385095;if(!_0x41a225&&this[_0x5bee66(0x37c)][_0x5bee66(0x35f)](_0x230897)&&this[_0x5bee66(0x220)](_0x230897)[_0x5bee66(0x27e)](_0x30f49a[_0x5bee66(0x414)][_0x5bee66(0x363)]),!this[_0x5bee66(0x37c)][_0x5bee66(0x35f)](_0x230897)||!this[_0x5bee66(0x37c)][_0x5bee66(0x335)](_0x230897)[_0x5bee66(0x35f)](_0x48fce5)){const _0x431b01=this[_0x5bee66(0x37c)][_0x5bee66(0x335)](_0x230897)||new Set();_0x431b01['add'](_0x48fce5),this[_0x5bee66(0x37c)][_0x5bee66(0x1d2)](_0x230897,_0x431b01),this[_0x5bee66(0x379)](_0x48fce5);}}),_0x41a225||this[_0x385095(0x223)]({'type':0x0,'memberID':this[_0x385095(0x42e)],'unitIDs':[...this[_0x385095(0x353)]],'isForwarded':!0x0});}[_0x5e2413(0x379)](_0x11e24d){const _0x2128ea=_0x5e2413;this['_removeClearOtherTimer'](_0x11e24d);const _0x5d22eb=window[_0x2128ea(0x275)](()=>{const _0x26468f=_0x2128ea;this[_0x26468f(0x37c)][_0x26468f(0x3e5)](_0x18f1ae=>{const _0x33976b=_0x26468f;_0x18f1ae[_0x33976b(0x1b7)](_0x11e24d);});},_0x1feb31*0x2);this['_clearOtherTimers'][_0x2128ea(0x1d2)](_0x11e24d,_0x5d22eb);}['_removeClearOtherTimer'](_0x56d185){const _0x117c5a=_0x5e2413;if(this[_0x117c5a(0x368)]['has'](_0x56d185)){const _0x3f3651=this[_0x117c5a(0x368)]['get'](_0x56d185);_0x3f3651&&window[_0x117c5a(0x37d)](_0x3f3651),this[_0x117c5a(0x368)][_0x117c5a(0x1d2)](_0x56d185,null);}}['_handleLeaveEvent'](_0x1bf45f){const _0xbc61aa=_0x5e2413,{memberID:_0x177c2c,unitIDs:_0x4dcc57}=_0x1bf45f;_0x4dcc57[_0xbc61aa(0x3e5)](_0x508f77=>{const _0x580cca=_0xbc61aa;var _0x128b25;const _0x5ed417=this['_unitOnClients'][_0x580cca(0x335)](_0x508f77);_0x5ed417&&(_0x5ed417[_0x580cca(0x1b7)](_0x177c2c),(_0x128b25=this[_0x580cca(0x220)](_0x508f77))==null||_0x128b25[_0x580cca(0x27e)](_0x5ed417[_0x580cca(0x245)]===0x0?_0x30f49a['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x30f49a[_0x580cca(0x414)][_0x580cca(0x363)]));}),this['_removeClearOtherTimer'](_0x177c2c);}['_handleHeartbeatEvent'](_0x561f72){const _0x438d3e=_0x5e2413;this['_scheduleClearOtherTimer'](_0x561f72[_0x438d3e(0x40c)]);}[_0x5e2413(0x223)](_0x18329e){const _0x46a7b9=_0x5e2413;localStorage['setItem'](_0x382526,JSON[_0x46a7b9(0x2da)](_0x18329e));}[_0x5e2413(0x3ae)](){const _0xdade3e=_0x5e2413;this[_0xdade3e(0x32d)]=window[_0xdade3e(0x1d3)](()=>{const _0x28d005=_0xdade3e;this[_0x28d005(0x223)]({'type':0x2,'memberID':this[_0x28d005(0x42e)]});},_0x1feb31);}[_0x5e2413(0x220)](_0x25648d){const _0x5e6231=_0x5e2413;return this['_unitStatus']['has'](_0x25648d)||this['_unitStatus'][_0x5e6231(0x1d2)](_0x25648d,new _0x32e4d0[(_0x5e6231(0x228))](_0x30f49a['UnitStatus']['NO_OTHER_CLIENTS_EDITING'])),this[_0x5e6231(0x364)][_0x5e6231(0x335)](_0x25648d);}}_0x59cddf[_0x5e2413(0x435)]=_0x2449da,_0x59cddf[_0x5e2413(0x34c)]=_0x5bd587,_0x59cddf[_0x5e2413(0x3dc)]=_0x4a5b0d,_0x59cddf['WebURLService']=_0x5c32cc,Object['defineProperty'](_0x59cddf,Symbol[_0x5e2413(0x41a)],{'value':_0x5e2413(0x3b9)});}));
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)});}));