@univerjs-pro/collaboration-client-ui 0.13.0-insiders.20251216-1519cb7 → 0.13.0-insiders.20251220-0a5ea4d

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (53) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +15 -15
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x5251(_0xaa21a1,_0x2f4e88){_0xaa21a1=_0xaa21a1-0x1b8;const _0x23fa9e=_0x23fa();let _0x525130=_0x23fa9e[_0xaa21a1];return _0x525130;}function _0x23fa(){const _0x4bc07b=['_logService','_getFormulaLimitStatus','debounce','_startSheetCollabCursor','UniverNetwork','isArray','exports','transformRemoteChangeset','isFormulaString','getSheetBySheetId','[CollaborationDataLoaderController]','getVpScrollXYInfoByPosToVp','_initEvent','univer-flex\x20univer-items-center','maxFormulaLimit','urlChange$','_colorAssignService','_getSheetObject','green.600','transformSelections','collaboration.closeRoom','APPLY_DUPLICATED','NOT_COLLAB','Disposable','CommandType','children','getOffsetConfig','Tooltip','parse','defs','_assignedColors','totalFormulasToCalculate','_releaseCalculationLimit','_docTransformIMECacheService','Failed','origin','9qYdDii','data','onCommandExecuted','_notificationService','REDEMPTION_CODE_FULLY_REDEEMED','restore','getCollabCursors$','ENTITLE_COUPON_USED_UP','_initResize','white','...','amd','sessionTicket','ENTITLE_DUP_SUBSCRIPTION','displayName','setParam','_applyCommand','MessageType','url(#on-line-icon_clip0_910_349)','collabStatus.conflict','generateRandomId','_transformHistoryAndStateStack','error','RemoveColCommandId','code','SetWorksheetActivateCommand','@univerjs-pro/collaboration','/run/','formula.calculation.waiting','ENSURE_SNAPSHOT_EXECUTION','color','_createSocketURL','CollaborationSocketService','yellow.400','min','ICommandService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','subUnitId','_monkeyPatchLogService','YUUMI_RATE_OVER_LIMIT','_toggleOnline','dirtyRanges','onPointerLeave$','COMPLETION_FINISHED','useObservable','LICENSE_MAX_UNITS_EXCEEDED','createIdentifier','onMouseMove','currentColor','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','engine','getMemberID','lineTo','\x20at\x20','OFFLINE','RxDisposable','CollaborationDataLoaderController','ranges','isTransformMutationsWithChangesetSuccess','flatMap','OnLineIcon','setAlpha','@univerjs/sheets','INVITE_CODE_HAS_BEEN_UES','_startDocCollabCursor','RevisionService','CONFLICT','_cursorInfo$','addObject','_cachedData','CLOSE_ROOM','UnitStatus','handleMoveRange','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ColorKit','height','skeleton','_getSaveTimeout','ILocalCacheService','_drawRectRange','_uiPartsService','mutations','AUTHORIZE_CODE_ILLEGAL','setInterval','getTypeOfUnitAdded$','removeParam','FETCH_MISS','complete','_updateCollabCursors','findNodePositionByCharIndex','ITransformService','IUIPartsService','registerDependencies','_getSessionTicket','subunit','stack','redoState','Plugin','ENTITLE_USE_COUPON_NOT_1ST_TRADE','rxjs/operators','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_getAnchorBounding','Unknown\x20user','_online','assignAColorForMemberID','with','_setFormulaLimitStatus','getActiveSheet','trim','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','merge','resize','getActiveRange','getStateCache','getCellPositionByOffset','saveOfflineData','_status$','@univerjs/drawing','releaseFormulaLimitUrl','getCellMatrix','#FFF','_registerRenderDependencies','replace','126KRPoWH','blue.400','TRANSFORM_CHANGE_OBSERVABLE_TYPE','doc.mutation.rich-text-editing','collab-text-anchor-','_document','USER_NOT_FOUND','PAYMENT_CHANNEL_NOT_SUPPORT','ENTITLE_CHAT_LIMIT_EXCEED','256988pxdWev','OffLineIcon','SheetsSelectionsService','addHandlerCallback','_drawAnchor','takeUntil','UniverUi','_init','_collaborationController','div','_draw','drawWith','dispose$','CollaborationEvent','ENTITLE_COUPON_EXPIRED','handleIRemoveCol','deepClone','0\x200\x2016\x2016','url(#$1','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','rxjs','_clearPolling','fill','attrs','_collaborationSessionService','getColor','FormulaExecutedStateType','SessionStatus','name','_beforeCloseService','getValue','168VjLYiL','_clearOtherTimers','collab-client.tooltip.reconnect','pushState','SheetSkeletonManagerService','_initStatusComponent','CollaborationUIEventId','25485kxceRj','getOwnPropertyDescriptor','isActive','_registerDependencies','UniverSheetsUi','transformMutationsWithChangeset','ONLINE','session.will-retry','UNIVER_DOC','colorChannel1','has','syncEditingCollabCursor','requireSession','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getRenderById','_saveTaskMap','top','getFocusedUnit','entries','useCallback','univerjs-icon\x20univerjs-icon-','http://www.w3.org/2000/svg','mask','LICENSE_IMPORT_SIZE_EXCEEDED','width','LOCAL_CACHE_INTERVAL','editingUnit','Rectangle','xlink:href','_handleHover','selections','replaceState','UniverEngineRender','_eventUnsubscribe','1em','location','getColorFromTheme','getCollabEntity$','createInstance','YUUMI_ALL_TABLES_IS_INVALID','combineLatest','getConfig','textRanges','ENTITLE_CAN_NOT_BUY_LOWER_OTP','onPointerMove$','_sheetSkeletonManagerService','exhaustSavingTask','getformulaLimitStatusUrl','_initDependencies','InsertColCommandId','DocSkeletonManagerService','UniverDocsUi','LICENSE_EXPORT_SIZE_EXCEEDED','imageSourceType','_anchorDot','_removeClearOtherTimer','init','_hovered','505988dGrRGR','text','idSuffix','InsertRowCommandId','_render','EMAIL_HAS_BEEN_BOUND','column','runOnServer','m1Prime','_scheduleSaving','object','unit','_saveCache','off-line-icon','_session','UniverCollaborationClientPlugin','collabStatus.fetchMiss','setUndoRedoMutationParamsCache','IUniverInstanceService','random','_setupBeforeClosingHandler','Inject','[Unhandled\x20Rejection]:\x20','getCoordByCell','makeDirty','/universer-api/license/formula/limit/start','[Window\x20Error]:\x20','Module','889YYKoif','m2Prime','ThemeService','registerRenderModule','getSkeleton','range','substring','unitId','string','UniverCore','now','evenodd','START_CALCULATION','_handleEvent','startRow','SetSelectionsOperation','_ensureSubject','IBeforeCloseService','getSheetId','getCurrentSelections','registerBeforeClose','bind','EffectRefRangId','mapTo','CollaborationStatus','purple.300','DocIMEInputManagerService','Rect','createSocket','YUUMI_UNABLE_LOAD_URL','functionsExecutedState','VIEW_MAIN','_checkAndWaitForCalculationPermission','getAncestorScale','handleIRemoveRow','_collabCursorState$','_send','collaboration.single-unit.warning','tag','runRefRangeMutations','@univerjs/sheets-ui','UniverIcon','getRangePointData','roomMembers$','currentTheme$','delete','_onCursorUpdate','USERS_LEAVE','RemoveRowCommandId','jsx','@univerjs/docs-ui','debounceTime','_initCommandInterceptor','post','size','_entities','disposeWithMe','clipPath','DEFAULT_WS_SESSION_TICKET_URL','UniverInstanceType','setItem','CanceledError','memberID','INTERNAL_ERROR','catch','Warning','_localeService','_refreshCollabCursors','status$','session.connection-failed','RECT','ILogService','react/jsx-runtime','REDEMPTION_CODE_HAS_BEEN_CREATED','round','handleInsertCol','/universer-api/license/formula/limit/status','show','clearInterval','toDisposable','_showGuardMessage','IDocClipboardService','transform','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','DesktopCollaborationStatusDisplayController','MUTATION','off-line-icon_clip0_910_343','path','ERROR_AGAIN','UniverProCollaborationClientUi','USER_IS_ANONYMOUS','_textBubble','isFormulaId','_color','undoState','defineProperty','_selfUnitIDs','on-line-icon','bottom','debug','_checkCalculationAvailable','_anchor','CHANGESET_REVISION_CONFILICT','permission.title','UniverCollaborationClientUIPlugin','IConfigService','@univerjs/core','registerComponent','event$','asObservable','_docStateChangeManagerService','RegularPolygon','IMessageService','NOT_FOUND','@univerjs-pro/collaboration-client','_taskIds','SNAPSHOT_INVALID_SNAPSHOT','_toggleOffline','INVALID_ARGUMENT','APPLY_REVISION_CONFILICT','labelPosition','startFormulaLimitUrl','hovered','black','unitID','moveTo','getTypeOfUnitDisposed$','some','DocSelectionManagerService','_docTransformSelectionsService','permission.content','Loading','focused$','OTHER_CLIENTS_EDITING','values','transformMutation','all','unhandledrejection','_id','_urlService','@univerjs/engine-formula','session.collaboration-timeout','IRenderManagerService','collabStatus.synced','_onCursorDelete','SetTextSelectionsOperation','_cursors','newValue','EMAIL_VERIFY_CODE_MISMATCH','_initWindowErrorListener','searchParams','_revisionService','APPLY_PERMISSION_DENIED','_uploadLog','ALREADY_EXISTS','LOCAL_CACHE_INTERVAL_KEY','_entityInit$','parseInt','saveTaskMap','reason','from','closePath','_getScale','clearTimeout','UNRECOGNIZED','removeEventListener','href','REDEMPTION_USER_REDEEM_TIMES_EXCEED','executeCommand','RichTextEditingMutation','YUUMI_NO_CUBOID_FOR_QUESTION','_handleLeaveEvent','useDependency','set','_updateSubUnitFromURLParams','measureText','FromArray','_config','_labelPosition','univer-mr-2\x20univer-flex\x20univer-text-xl','push','INVALID_INVITE_CODE','LOGIN_TOKEN_PROCESSING_FAILED','TEXT','params','BehaviorSubject','collabStatus.notCollab','setShapeProps','forEach','find','_configService','APPLY_NON_SEQUENTIAL_REVISION','_disabled','DOC_RANGE_TYPE','add','_cursorShapes','SUBMIT_CHANGESET_TIMEOUT','_refRangeService','DisposableCollection','clsx','type','Tools','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','CollaborationUIEventService','application/json','_context','ENTITLE_NEED_BILLING_ADDRESS','addEventListener','MemberService','Shape','YUUMI_AI_RUN_FAILED','NO_OTHER_CLIENTS_EDITING','_colorIndex','_messageService','switchMap','socket$','collab-rect-range-','unshift','CURRENT_STATUS_CANNOT_OPERATE','M0\x200H16V16H0z','collaboration.offline-data-not-saved','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getMember','YUUMI_SUBSCRIPTION_NOT_FOUND','registerRefRange','ticket','docStateChange$','use','UniverEngineFormula','font','_localCacheService','getParam','subscribeEvent','lineno','Injector','length','_roomMembers$','YUUMI_URL_COL_OUT_OF_RANGE','_lastResponseTimestamp','fromEvent','handleDeleteRangeMoveLeft','YUUMI_CONNECTOR_URL_NOT_FOUND','getUndoRedoMutationParamsCache','[RemoteUniscriptService]:\x20no\x20focused\x20unit','contains','_updateLocalCursor','split','Error','runId','_initStatusListener','eventID','DATA_SOURCE_TOO_LARGE','selection','getUnhiddenWorksheets','COLORS','isEditing','_onRefRangeChange','startsWith','isTransformMutationFailure','33752ZykxUr','_imageIoService','invokeId','cursorInfo','_transformPreviousActiveRange','_collabSessionService','serializeRangeWithSheet','url(#off-line-icon_clip0_910_343)','getUniverSheetInstance','fillText','YUUMI_ASYNCIO_CANCELLED','_scene','actions','UniverProCollaborationClient','_handleHeartbeatEvent','currentSkeleton$','save','stageInfo','then','handleInsertRangeMoveRight','USER_NOT_INVITED_CODE','subscribe','MOBILE_HAS_BEEN_BOUND','entityInit$','_localStorageService','on-line-icon_clip0_910_349','limitInfo','_scheduleHeartbeat','ENTITLE_REPORT_LIMIT_EXCEED','setActiveRange','fromEventSubject','TEXT_RANGE_LAYER_INDEX','collabCursorState$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','LOGIN_FAILED','JOIN_ROOM_FAILED','REDEMPTION_CODE_INACTIVE','HTTPService','_docSkeletonManagerService','createElement','current','cursorInfo$','_range','beginPath','endRow','UNIVER_SHEET','Subject','triggerDblclick','body','roomMembers','REDEMPTION_USER_NOT_ELIGIBLE','AWAITING_WITH_PENDING','connectInjector','getSheetObject','_pollingInterval','getUnitId','touchDependencies','_hover','_lastPointer','@univerjs/docs','distinctUntilChanged','_themeService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','symbol','includes','_backgroundColor','max','useRef','_handleJoinEvent','_collabCursorController','onLocalMutation','translate(.97)','_initCommandExecutedListener','_initEntityListener','_removeCollabCursors','/universer-api/license/formula/limit/done','fillStyle','_currentUsage','React','_memberID','throttleTime','REDEMPTION_INVALID_CODE','DocStateChangeManagerService','APPLY_REJECT','_initUnhandledRejectionListener','key','LICENSE_DISTRO_REJECTED','_syncEditingCollabCursorService','handleInsertRow','MOBILE_VERIFY_CODE_MISMATCH','join','pipe','getLocalCacheKey','colno','@univerjs/rpc','arc','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','Vector2','shift','?taskId=','uni.network.url-service','sheetId','collabStatus.syncing','_shapes','transformStateCache','send','0\x200\x2017\x2016','PERMISSION_DENIED','next','red.300','_initUserListener','WECHAT_HAS_BEEN_BOUND','stringify','LocaleService','SetFormulaCalculationNotificationMutation','none','RemoteUniscriptService','endColumn','_startCalculationLimit','_instanceService','_renderManagerService','setConfig','UPDATE_CURSOR','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_injector','TOO_MANY_REQUESTS','filename','CONNECTOR_DATA_TOO_LARGE','_unitOnClients','addObjects','UniverDesign','hide','_unitStatus','UniverDrawing','INVITE_CODE_REQUIRED','storage','sessionStatus$','handleInsertRangeMoveDown','2048751TAKtyv','_httpService','getCurrentUnitForType','_maxFormulaLimit','replaceDocRanges','source','ISnapshotServerService','_docSyncEditingCollabCursorService','startColumn','getUnitStatus$','_scheduleClearOtherTimer','dispose','_updateURLWithCurrentState','svg','toString','transformIMECache','onRendered','_univerInstanceService','fillRule','_name','setStateCache','whenReady','_transformService','100342pfbcgt','_cursor','_memberService','unsubscribe','IRemoteInstanceService','_docTransformStateCacheService','setTimeout','get','SNAPSHOT_HAS_BEEN_REMOVED','wsSessionTicketUrl','pluginName','20tStczv','_hasFormulaInDirtyRanges','CollaborationSessionService','WebSocketService','SUCCESS','_setupSubUnitSync','getMergeData','_docClipboardService','BuiltInUIPart','toRgbString','history','FormulaExecuteStageType','RefRangeService','REDEMPTION_CODE_NOT_STARTED','UniverSheets','deserializeRangeWithSheet','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','ISocketService','ENTITLE_INVALID_COUPON_CODE','SOCKET_FAILED','_drawTextRange','_collaborationUIEventService','_heartbeatTimer','unload','map','UNDEFINED','getCurrentRevOfUnit','_docSkeleton','ENTITLE_INSUFFICIENT_QUOTA','UniverDocs','assign','MoveRangeCommandId','CollaborationController','413099NeJWrG','filter','_commandService'];_0x23fa=function(){return _0x4bc07b;};return _0x23fa();}(function(_0x48179e,_0x1ccc66){const _0x200a0f=_0x5251,_0x289747=_0x48179e();while(!![]){try{const _0x28e16d=parseInt(_0x200a0f(0x3aa))/0x1+-parseInt(_0x200a0f(0x455))/0x2+parseInt(_0x200a0f(0x3d1))/0x3*(parseInt(_0x200a0f(0x1be))/0x4)+parseInt(_0x200a0f(0x47b))/0x5*(-parseInt(_0x200a0f(0x44c))/0x6)+-parseInt(_0x200a0f(0x1da))/0x7*(parseInt(_0x200a0f(0x2dd))/0x8)+-parseInt(_0x200a0f(0x367))/0x9*(-parseInt(_0x200a0f(0x389))/0xa)+parseInt(_0x200a0f(0x37e))/0xb*(-parseInt(_0x200a0f(0x474))/0xc);if(_0x28e16d===_0x1ccc66)break;else _0x289747['push'](_0x289747['shift']());}catch(_0x31dc42){_0x289747['push'](_0x289747['shift']());}}}(_0x23fa,0x55290),function(_0x6be4ef,_0xeb91f3){const _0x35eb6a=_0x5251;typeof exports==_0x35eb6a(0x1c8)&&typeof module<'u'?_0xeb91f3(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x35eb6a(0x3dc)]?define([_0x35eb6a(0x3b3),_0x35eb6a(0x222),_0x35eb6a(0x24c),_0x35eb6a(0x244),'@univerjs/ui','rxjs','@univerjs/design','react',_0x35eb6a(0x33b),_0x35eb6a(0x40f),'@univerjs/engine-render','@univerjs/network',_0x35eb6a(0x20c),_0x35eb6a(0x446),_0x35eb6a(0x3eb),_0x35eb6a(0x318),_0x35eb6a(0x266),_0x35eb6a(0x434),_0x35eb6a(0x202)],_0xeb91f3):(_0x6be4ef=typeof globalThis<'u'?globalThis:_0x6be4ef||self,_0xeb91f3(_0x6be4ef[_0x35eb6a(0x233)]={},_0x6be4ef['React'],_0x6be4ef[_0x35eb6a(0x2ea)],_0x6be4ef[_0x35eb6a(0x1e3)],_0x6be4ef[_0x35eb6a(0x45b)],_0x6be4ef[_0x35eb6a(0x469)],_0x6be4ef[_0x35eb6a(0x35f)],_0x6be4ef[_0x35eb6a(0x32b)],_0x6be4ef['UniverRpc'],_0x6be4ef[_0x35eb6a(0x397)],_0x6be4ef[_0x35eb6a(0x49b)],_0x6be4ef[_0x35eb6a(0x3b1)],_0x6be4ef[_0x35eb6a(0x4ae)],_0x6be4ef[_0x35eb6a(0x362)],_0x6be4ef['UniverProCollaboration'],_0x6be4ef[_0x35eb6a(0x3a6)],_0x6be4ef[_0x35eb6a(0x2be)],_0x6be4ef[_0x35eb6a(0x469)]['operators'],_0x6be4ef[_0x35eb6a(0x47f)]));}(this,function(_0x1ddbd2,_0x3a9348,_0x308558,_0x333729,_0x270f30,_0x27440d,_0x5363fc,_0x543b72,_0x4784c6,_0x37d825,_0x220e15,_0x45181c,_0x106c52,_0x198854,_0x49182d,_0x73cf4e,_0x5b915e,_0x272e6a,_0x46629d){'use strict';const _0x492c29=_0x5251;var _0x1db6ee=Object['defineProperty'],_0x3db28d=(_0x3dc8a2,_0x29771d,_0x202588)=>_0x29771d in _0x3dc8a2?_0x1db6ee(_0x3dc8a2,_0x29771d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x202588}):_0x3dc8a2[_0x29771d]=_0x202588,_0x56d583=(_0x3725cf,_0x308add,_0x56697c)=>_0x3db28d(_0x3725cf,typeof _0x308add!=_0x492c29(0x31c)?_0x308add+'':_0x308add,_0x56697c);function _0x4498a1({ref:_0x55eba9,..._0x4ac4b7}){const _0xf13b81=_0x492c29,{icon:_0x55e51e,id:_0x22e070,className:_0x221049,extend:_0x45859e,..._0x2bd861}=_0x4ac4b7,_0xae67af=(_0xf13b81(0x48f)+_0x22e070+'\x20'+(_0x221049||''))[_0xf13b81(0x43d)](),_0x54392c=_0x543b72[_0xf13b81(0x320)]('_'+_0x5c90e8());return _0x4c963a(_0x55e51e,''+_0x22e070,{'defIds':_0x55e51e['defIds'],'idSuffix':_0x54392c[_0xf13b81(0x305)]},{'ref':_0x55eba9,'className':_0xae67af,..._0x2bd861},_0x45859e);}function _0x4c963a(_0x92fe70,_0x3fc7e8,_0x2f9850,_0x3d3452,_0x22d21d){const _0x4512b3=_0x492c29;return _0x543b72[_0x4512b3(0x304)](_0x92fe70[_0x4512b3(0x200)],{'key':_0x3fc7e8,..._0x28c66f(_0x92fe70,_0x2f9850,_0x22d21d),..._0x3d3452},(_0x5dd786(_0x92fe70,_0x2f9850)[_0x4512b3(0x3c6)]||[])[_0x4512b3(0x3a1)]((_0x4dc355,_0x44662a)=>_0x4c963a(_0x4dc355,_0x3fc7e8+'-'+_0x92fe70[_0x4512b3(0x200)]+'-'+_0x44662a,_0x2f9850,void 0x0,_0x22d21d)));}function _0x28c66f(_0x2fbc33,_0x3b08cb,_0x13619c){const _0x40affe=_0x492c29,_0x12a5ac={..._0x2fbc33[_0x40affe(0x46c)]};_0x13619c!=null&&_0x13619c[_0x40affe(0x484)]&&_0x12a5ac['fill']===_0x40affe(0x484)&&(_0x12a5ac[_0x40affe(0x46b)]=_0x13619c[_0x40affe(0x484)]),_0x2fbc33[_0x40affe(0x200)]==='mask'&&_0x12a5ac['id']&&(_0x12a5ac['id']=_0x12a5ac['id']+_0x3b08cb[_0x40affe(0x1c0)]),Object[_0x40affe(0x48d)](_0x12a5ac)[_0x40affe(0x296)](([_0x4799ec,_0x50b0f4])=>{const _0x22acb4=_0x40affe;_0x4799ec===_0x22acb4(0x491)&&typeof _0x50b0f4==_0x22acb4(0x1e2)&&(_0x12a5ac[_0x4799ec]=_0x50b0f4[_0x22acb4(0x44b)](/url\(#(.*)\)/,'url(#$1'+_0x3b08cb['idSuffix']+')'));});const {defIds:_0x14d3b8}=_0x3b08cb;return!_0x14d3b8||_0x14d3b8[_0x40affe(0x2c5)]===0x0||(_0x2fbc33[_0x40affe(0x200)]===_0x40affe(0x2bd)&&_0x12a5ac[_0x40affe(0x497)]&&(_0x12a5ac[_0x40affe(0x497)]=_0x12a5ac[_0x40affe(0x497)]+_0x3b08cb[_0x40affe(0x1c0)]),Object[_0x40affe(0x48d)](_0x12a5ac)[_0x40affe(0x296)](([_0x31b6ed,_0x145613])=>{const _0x18ad43=_0x40affe;typeof _0x145613=='string'&&(_0x12a5ac[_0x31b6ed]=_0x145613[_0x18ad43(0x44b)](/url\(#(.*)\)/,_0x18ad43(0x467)+_0x3b08cb[_0x18ad43(0x1c0)]+')'));})),_0x12a5ac;}function _0x5dd786(_0x501b11,_0x3dcb55){const _0x15e100=_0x492c29;var _0x25e225;const {defIds:_0x281e7c}=_0x3dcb55;return!_0x281e7c||_0x281e7c[_0x15e100(0x2c5)]===0x0?_0x501b11:_0x501b11[_0x15e100(0x200)]===_0x15e100(0x3ca)&&((_0x25e225=_0x501b11[_0x15e100(0x3c6)])!=null&&_0x25e225[_0x15e100(0x2c5)])?{..._0x501b11,'children':_0x501b11[_0x15e100(0x3c6)][_0x15e100(0x3a1)](_0x283972=>typeof _0x283972[_0x15e100(0x46c)]['id']==_0x15e100(0x1e2)&&_0x281e7c&&_0x281e7c[_0x15e100(0x31d)](_0x283972[_0x15e100(0x46c)]['id'])?{..._0x283972,'attrs':{..._0x283972[_0x15e100(0x46c)],'id':_0x283972[_0x15e100(0x46c)]['id']+_0x3dcb55[_0x15e100(0x1c0)]}}:_0x283972)}:_0x501b11;}function _0x5c90e8(){const _0x374856=_0x492c29;return Math[_0x374856(0x1d1)]()[_0x374856(0x375)](0x24)[_0x374856(0x1e0)](0x2,0x8);}_0x4498a1[_0x492c29(0x3df)]=_0x492c29(0x203);const _0x4890dc={'tag':_0x492c29(0x374),'attrs':{'xmlns':_0x492c29(0x490),'fill':_0x492c29(0x350),'viewBox':_0x492c29(0x466),'width':_0x492c29(0x49d),'height':_0x492c29(0x49d)},'children':[{'tag':'g','attrs':{'clipPath':_0x492c29(0x2e4)},'children':[{'tag':_0x492c29(0x231),'attrs':{'stroke':_0x492c29(0x401),'d':_0x492c29(0x468),'strokeLinecap':_0x492c29(0x224),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x492c29(0x3ca),'attrs':{},'children':[{'tag':_0x492c29(0x213),'attrs':{'id':_0x492c29(0x230)},'children':[{'tag':_0x492c29(0x231),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x155252=_0x543b72['forwardRef'](function(_0x472e62,_0x34115d){const _0x130b73=_0x492c29;return _0x543b72[_0x130b73(0x304)](_0x4498a1,Object[_0x130b73(0x3a7)]({},_0x472e62,{'id':_0x130b73(0x1cb),'ref':_0x34115d,'icon':_0x4890dc}));});_0x155252['displayName']=_0x492c29(0x456);const _0xc349b0={'tag':_0x492c29(0x374),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x492c29(0x350),'viewBox':_0x492c29(0x347),'width':_0x492c29(0x49d),'height':_0x492c29(0x49d)},'children':[{'tag':'g','attrs':{'clipPath':_0x492c29(0x3e3)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x492c29(0x399),'strokeLinecap':_0x492c29(0x224),'strokeLinejoin':_0x492c29(0x224),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x492c29(0x213),'attrs':{'id':_0x492c29(0x2f6)},'children':[{'tag':_0x492c29(0x231),'attrs':{'fill':_0x492c29(0x3da),'d':_0x492c29(0x2b5),'transform':_0x492c29(0x324)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x2cc924=_0x543b72['forwardRef'](function(_0x492c13,_0x180267){const _0x1b6275=_0x492c29;return _0x543b72[_0x1b6275(0x304)](_0x4498a1,Object[_0x1b6275(0x3a7)]({},_0x492c13,{'id':_0x1b6275(0x23b),'ref':_0x180267,'icon':_0xc349b0}));});_0x2cc924[_0x492c29(0x3df)]=_0x492c29(0x40d);function _0x421e35(_0x2dd38c){const _0x2d12a2=_0x492c29;switch(_0x2dd38c){case _0x308558[_0x2d12a2(0x1f2)][_0x2d12a2(0x407)]:return'collabStatus.offline';case _0x308558[_0x2d12a2(0x1f2)][_0x2d12a2(0x413)]:return _0x2d12a2(0x3e4);case _0x308558['CollaborationStatus'][_0x2d12a2(0x427)]:return _0x2d12a2(0x1ce);case _0x308558[_0x2d12a2(0x1f2)][_0x2d12a2(0x3c3)]:return _0x2d12a2(0x294);case _0x308558['CollaborationStatus']['AWAITING']:case _0x308558[_0x2d12a2(0x1f2)][_0x2d12a2(0x310)]:return _0x2d12a2(0x343);case _0x308558[_0x2d12a2(0x1f2)]['SYNCED']:case _0x308558[_0x2d12a2(0x1f2)]['PENDING']:return _0x2d12a2(0x269);}}function _0x1e9402(_0x552162){const _0x582b8a=_0x492c29,{status$:_0x441bd8}=_0x552162,_0x511919=_0x270f30[_0x582b8a(0x3fd)](_0x441bd8,_0x308558['CollaborationStatus'][_0x582b8a(0x3c3)]),_0x3cb4f2=_0x270f30['useDependency'](_0x333729['LocaleService']),_0x421a17=_0x270f30[_0x582b8a(0x286)](_0x308558[_0x582b8a(0x38b)]),_0x46840d=_0x511919!==_0x308558[_0x582b8a(0x1f2)][_0x582b8a(0x407)],_0x513c23=_0x3cb4f2['t'](_0x421e35(_0x511919)),_0x57e1d5=_0x46840d?_0x3a9348['jsx'](_0x2cc924,{}):_0x3a9348['jsx'](_0x155252,{}),_0x30fd45=_0x543b72[_0x582b8a(0x48e)](()=>{_0x46840d||_0x421a17['reconnect']();},[_0x46840d,_0x421a17]);function _0x4bae3e(){const _0x5cec10=_0x582b8a;return _0x3a9348['jsxs']('div',{'className':_0x5cec10(0x3ba),'onClick':_0x30fd45,'children':[_0x3a9348[_0x5cec10(0x20b)](_0x5cec10(0x45e),{'className':_0x5363fc[_0x5cec10(0x2a1)](_0x5cec10(0x28d),{'univer-text-green-500':_0x46840d,'univer-text-red-500':!_0x46840d}),'children':_0x57e1d5}),_0x3a9348[_0x5cec10(0x20b)](_0x5cec10(0x45e),{'className':_0x5cec10(0x402),'children':_0x513c23})]});}return _0x46840d?_0x4bae3e():_0x3a9348[_0x582b8a(0x20b)](_0x5363fc[_0x582b8a(0x3c8)],{'title':_0x3cb4f2['t'](_0x582b8a(0x476)),'children':_0x4bae3e()});}var _0x5dc79a=Object['getOwnPropertyDescriptor'],_0x4fafe1=(_0x4e5ef4,_0x4effbe,_0x149f62,_0x4e2836)=>{const _0x244360=_0x492c29;for(var _0x1fd9d6=_0x4e2836>0x1?void 0x0:_0x4e2836?_0x5dc79a(_0x4effbe,_0x149f62):_0x4effbe,_0x5b9841=_0x4e5ef4[_0x244360(0x2c5)]-0x1,_0x482a90;_0x5b9841>=0x0;_0x5b9841--)(_0x482a90=_0x4e5ef4[_0x5b9841])&&(_0x1fd9d6=_0x482a90(_0x1fd9d6)||_0x1fd9d6);return _0x1fd9d6;},_0x53922b=(_0x499aaf,_0x362eda)=>(_0x38d207,_0xbbd97e)=>_0x362eda(_0x38d207,_0xbbd97e,_0x499aaf);_0x1ddbd2[_0x492c29(0x22e)]=class extends _0x333729[_0x492c29(0x3c4)]{constructor(_0x26a03b,_0x15bb5c,_0x202c9e,_0x1c7e1f){const _0x31b060=_0x492c29;super(),_0x56d583(this,'_status$',new _0x27440d['BehaviorSubject'](_0x308558['CollaborationStatus'][_0x31b060(0x3c3)])),(this[_0x31b060(0x378)]=_0x26a03b,this[_0x31b060(0x359)]=_0x15bb5c,this[_0x31b060(0x45d)]=_0x202c9e,this[_0x31b060(0x421)]=_0x1c7e1f,this[_0x31b060(0x479)](),this['_initStatusListener']());}[_0x492c29(0x2d3)](){const _0x17a637=_0x492c29;this['disposeWithMe'](this[_0x17a637(0x378)][_0x17a637(0x25e)]['pipe'](_0x27440d[_0x17a637(0x2b0)](()=>{const _0x8641d7=_0x17a637,_0x23dc0a=this['_univerInstanceService'][_0x8641d7(0x48c)]();return _0x23dc0a?this[_0x8641d7(0x45d)][_0x8641d7(0x4a0)](_0x23dc0a[_0x8641d7(0x314)]()):_0x27440d['of'](null);}),_0x27440d[_0x17a637(0x2b0)](_0x3de774=>_0x3de774?_0x3de774[_0x17a637(0x21e)]:_0x27440d['of'](_0x308558[_0x17a637(0x1f2)][_0x17a637(0x3c3)])))[_0x17a637(0x2f2)](_0x1f6800=>{const _0x3387f8=_0x17a637;this[_0x3387f8(0x445)]['next'](_0x1f6800);}));}[_0x492c29(0x479)](){const _0x25b2f4=_0x492c29;this['disposeWithMe'](this[_0x25b2f4(0x421)][_0x25b2f4(0x245)](_0x270f30[_0x25b2f4(0x391)]['HEADER_MENU'],()=>_0x270f30[_0x25b2f4(0x311)](_0x2c6eb6({'status$':this['_status$'][_0x25b2f4(0x247)]()}),this[_0x25b2f4(0x359)])));}},_0x1ddbd2[_0x492c29(0x22e)]=_0x4fafe1([_0x53922b(0x0,_0x333729[_0x492c29(0x1d0)]),_0x53922b(0x1,_0x333729[_0x492c29(0x1d3)](_0x333729[_0x492c29(0x2c4)])),_0x53922b(0x2,_0x333729[_0x492c29(0x1d3)](_0x308558['CollaborationController'])),_0x53922b(0x3,_0x270f30[_0x492c29(0x42c)])],_0x1ddbd2[_0x492c29(0x22e)]);function _0x2c6eb6(_0x2c0ab7){const {status$:_0x1d01a8}=_0x2c0ab7;return function(){return _0x3a9348['jsx'](_0x1e9402,{'status$':_0x1d01a8});};}const _0x2dd234=_0x333729[_0x492c29(0x3ff)](_0x492c29(0x341));var _0x200b87=Object[_0x492c29(0x47c)],_0x1ef1f7=(_0x28ea4a,_0x543c24,_0x376c0b,_0x3ee396)=>{const _0x3b3f82=_0x492c29;for(var _0x5d5a92=_0x3ee396>0x1?void 0x0:_0x3ee396?_0x200b87(_0x543c24,_0x376c0b):_0x543c24,_0x2c0db3=_0x28ea4a[_0x3b3f82(0x2c5)]-0x1,_0x4b7b82;_0x2c0db3>=0x0;_0x2c0db3--)(_0x4b7b82=_0x28ea4a[_0x2c0db3])&&(_0x5d5a92=_0x4b7b82(_0x5d5a92)||_0x5d5a92);return _0x5d5a92;},_0x2b2ee9=(_0x2c6358,_0x1f3437)=>(_0x4df716,_0x2af065)=>_0x1f3437(_0x4df716,_0x2af065,_0x2c6358);_0x1ddbd2[_0x492c29(0x409)]=class extends _0x333729[_0x492c29(0x408)]{constructor(_0xb36999,_0x19eb10,_0x30d711,_0xd0ed69,_0x48557c){const _0x1e17e0=_0x492c29;super(),this['_urlService']=_0xb36999,this[_0x1e17e0(0x3ad)]=_0x19eb10,this[_0x1e17e0(0x3ac)]=_0x30d711,this['_dataLoaderService']=_0xd0ed69,_0x48557c?_0x48557c==null||_0x48557c[_0x1e17e0(0x37c)]()[_0x1e17e0(0x2ef)](()=>this[_0x1e17e0(0x45c)]()):(this['_logService']['debug'](_0x1e17e0(0x3b7),_0x1e17e0(0x31b)),this[_0x1e17e0(0x45c)]());}async[_0x492c29(0x45c)](){const _0x14d0c0=_0x492c29,_0x5cbe9c=this['_urlService']['getParam'](_0x14d0c0(0x1c9)),_0x3ee5d7=this['_urlService'][_0x14d0c0(0x2c1)]('type'),_0x256749=this['_urlService'][_0x14d0c0(0x2c1)]('subunit');if(!_0x5cbe9c||!_0x3ee5d7){this[_0x14d0c0(0x3ad)][_0x14d0c0(0x23d)](_0x14d0c0(0x3b7),_0x14d0c0(0x488));return;}const _0x39bd27=await this['_dataLoaderService']['loadUnit'](_0x5cbe9c,Number(_0x3ee5d7),_0x256749);_0x39bd27&&_0x39bd27 instanceof _0x333729['Workbook']&&this[_0x14d0c0(0x38e)](_0x39bd27);}async[_0x492c29(0x38e)](_0x10a237){const _0x3cb8f8=_0x492c29;await this[_0x3cb8f8(0x288)](_0x10a237),_0x10a237['activeSheet$'][_0x3cb8f8(0x338)](_0x27440d[_0x3cb8f8(0x45a)](this[_0x3cb8f8(0x461)]))[_0x3cb8f8(0x2f2)](_0x24df72=>{const _0x3cbb37=_0x3cb8f8;_0x24df72&&this[_0x3cbb37(0x373)](_0x24df72);}),this[_0x3cb8f8(0x265)][_0x3cb8f8(0x3bc)][_0x3cb8f8(0x338)](_0x27440d[_0x3cb8f8(0x45a)](this['dispose$']))[_0x3cb8f8(0x2f2)](()=>this[_0x3cb8f8(0x288)](_0x10a237));}[_0x492c29(0x373)](_0x40db2d,_0x3eb046=!0x1){const _0x263453=_0x492c29,_0xcc8ec2=this['_urlService'][_0x263453(0x2c1)]('subunit');_0x40db2d['getSheetId']()!==_0xcc8ec2&&this['_urlService'][_0x263453(0x3e0)](_0x263453(0x42f),_0x40db2d[_0x263453(0x1ec)](),_0x3eb046);}async[_0x492c29(0x288)](_0x4c3eb5){const _0x1c5f4b=_0x492c29;var _0x53167d;const _0x20f29b=this['_urlService'][_0x1c5f4b(0x2c1)](_0x1c5f4b(0x42f));if(!_0x20f29b||!_0x4c3eb5[_0x1c5f4b(0x3b6)](_0x20f29b)){const _0xfc7a3c=_0x4c3eb5[_0x1c5f4b(0x2d7)]()[0x0],_0x534bad=_0x4c3eb5[_0x1c5f4b(0x3b6)](_0xfc7a3c);if(!_0x534bad)return;this[_0x1c5f4b(0x373)](_0x534bad,!0x0),await this[_0x1c5f4b(0x3ac)][_0x1c5f4b(0x282)](_0x37d825[_0x1c5f4b(0x3ea)]['id'],{'unitId':_0x4c3eb5[_0x1c5f4b(0x314)](),'subUnitId':_0xfc7a3c});return;}((_0x53167d=_0x4c3eb5[_0x1c5f4b(0x43c)]())==null?void 0x0:_0x53167d[_0x1c5f4b(0x1ec)]())!==_0x20f29b&&await this[_0x1c5f4b(0x3ac)][_0x1c5f4b(0x282)](_0x37d825[_0x1c5f4b(0x3ea)]['id'],{'unitId':_0x4c3eb5[_0x1c5f4b(0x314)](),'subUnitId':_0x20f29b});}},_0x1ddbd2[_0x492c29(0x409)]=_0x1ef1f7([_0x2b2ee9(0x0,_0x2dd234),_0x2b2ee9(0x1,_0x333729[_0x492c29(0x221)]),_0x2b2ee9(0x2,_0x333729[_0x492c29(0x3f4)]),_0x2b2ee9(0x3,_0x333729[_0x492c29(0x1d3)](_0x308558['DataLoaderService'])),_0x2b2ee9(0x4,_0x333729['Optional'](_0x4784c6[_0x492c29(0x382)]))],_0x1ddbd2[_0x492c29(0x409)]);var _0x45d99d=Object[_0x492c29(0x47c)],_0x40192a=(_0x30ebed,_0x510687,_0x4e6af1,_0x41cf84)=>{const _0x54f24a=_0x492c29;for(var _0x3ace71=_0x41cf84>0x1?void 0x0:_0x41cf84?_0x45d99d(_0x510687,_0x4e6af1):_0x510687,_0x1b94bc=_0x30ebed[_0x54f24a(0x2c5)]-0x1,_0x6e8c1c;_0x1b94bc>=0x0;_0x1b94bc--)(_0x6e8c1c=_0x30ebed[_0x1b94bc])&&(_0x3ace71=_0x6e8c1c(_0x3ace71)||_0x3ace71);return _0x3ace71;},_0x4da3cb=(_0x33d1f5,_0x18b177)=>(_0x4114d2,_0x14d7aa)=>_0x18b177(_0x4114d2,_0x14d7aa,_0x33d1f5);let _0x45faa8=class extends _0x333729[_0x492c29(0x408)]{constructor(_0x5d2858,_0x38b793){const _0x4baf5a=_0x492c29;super(),this[_0x4baf5a(0x390)]=_0x5d2858,this[_0x4baf5a(0x2de)]=_0x38b793,this[_0x4baf5a(0x45c)]();}['_init'](){const _0x490e5a=_0x492c29,_0x1700d5=this;this[_0x490e5a(0x212)](this[_0x490e5a(0x390)]['addClipboardHook']({'onBeforePasteImage':async _0x44ad55=>{const _0x38edda=_0x490e5a,_0x511b44=await _0x1700d5['_imageIoService']['saveImage'](_0x44ad55);return _0x511b44?{'source':_0x511b44[_0x38edda(0x36c)],'imageSourceType':_0x511b44[_0x38edda(0x1b9)]}:null;}}));}};_0x45faa8=_0x40192a([_0x4da3cb(0x0,_0x106c52[_0x492c29(0x22b)]),_0x4da3cb(0x1,_0x198854['IImageIoService'])],_0x45faa8);const _0x3bf0a3=[_0x492c29(0x1f3),'jiqing.500',_0x492c29(0x3bf),_0x492c29(0x34a),_0x492c29(0x44d),_0x492c29(0x3f2)];class _0x26569c extends _0x333729[_0x492c29(0x3c4)]{constructor(){const _0x514284=_0x492c29;super(...arguments),_0x56d583(this,'_assignedColors',new Map()),_0x56d583(this,_0x514284(0x2ae),0x0);}[_0x492c29(0x439)](_0x4354ee){const _0x7532b1=_0x492c29;if(this['_assignedColors'][_0x7532b1(0x485)](_0x4354ee))return this['_assignedColors'][_0x7532b1(0x385)](_0x4354ee);const _0x20fc29=_0x3bf0a3[this[_0x7532b1(0x2ae)]];return this['_colorIndex']=(this[_0x7532b1(0x2ae)]+0x1)%_0x3bf0a3['length'],this[_0x7532b1(0x3cb)][_0x7532b1(0x287)](_0x4354ee,_0x20fc29),_0x20fc29;}}function _0x5e279d(_0x45d828){let _0xbefeef='';for(const _0xf3f7fe of _0x45d828){const {startOffset:_0x53c2db,endOffset:_0x188cb6,isActive:_0x482f18,rangeType:_0x5e4d0f,segmentId:_0x18b6ad,segmentPage:_0x4c3ac7}=_0xf3f7fe;_0xbefeef['length']&&(_0xbefeef+=','),_0xbefeef+=_0x53c2db+':'+_0x188cb6+':'+(_0x482f18?'1':'0')+':'+_0x5e4d0f+':'+_0x18b6ad+':'+_0x4c3ac7;}return _0xbefeef;}function _0x4e5162(_0x146da5){const _0x5414b4=_0x492c29,_0xaf1af9=_0x146da5[_0x5414b4(0x2d0)](','),_0x2b6513=[];for(const _0x5e367b of _0xaf1af9){const [_0x66d903,_0x116dcc,_0x296136,_0x5a96bf,_0x120191,_0x48be7f]=_0x5e367b[_0x5414b4(0x2d0)](':');_0x2b6513['push']({'startOffset':Number(_0x66d903),'endOffset':Number(_0x116dcc),'collapsed':_0x66d903===_0x116dcc,'isActive':_0x296136==='1','rangeType':_0x5a96bf===_0x333729['DOC_RANGE_TYPE'][_0x5414b4(0x291)]?_0x333729[_0x5414b4(0x29b)]['TEXT']:_0x333729[_0x5414b4(0x29b)][_0x5414b4(0x220)],'segmentId':typeof _0x120191==_0x5414b4(0x1e2)?String(_0x120191):'','segmentPage':Number(_0x48be7f!=null?_0x48be7f:-0x1)});}return _0x2b6513[_0x5414b4(0x259)](_0x38416a=>_0x38416a[_0x5414b4(0x47d)])||(_0x2b6513[0x0][_0x5414b4(0x47d)]=!0x0),_0x2b6513;}class _0x319393 extends _0x333729[_0x492c29(0x408)]{constructor(){const _0x6296c4=_0x492c29;super(...arguments),_0x56d583(this,_0x6296c4(0x1fd),new _0x27440d[(_0x6296c4(0x293))](null)),_0x56d583(this,_0x6296c4(0x2fd),this['_collabCursorState$'][_0x6296c4(0x247)]());}[_0x492c29(0x486)](_0xe9a6d7){const _0x24bde5=_0x492c29,{unitID:_0x5b6544,memberID:_0x523dc6,textRanges:_0x1c4652}=_0xe9a6d7,_0x434508=_0x5e279d(_0x1c4652);if(_0x434508==='')return;const _0x2cca08={'unitID':_0x5b6544,'memberID':_0x523dc6,'selection':_0x434508};this[_0x24bde5(0x1fd)][_0x24bde5(0x349)](_0x2cca08);}}var _0x4c04b8=Object[_0x492c29(0x47c)],_0x372c16=(_0x3b5275,_0x5a8499,_0xbbf35,_0x3b10a1)=>{const _0x3e2d63=_0x492c29;for(var _0x498a76=_0x3b10a1>0x1?void 0x0:_0x3b10a1?_0x4c04b8(_0x5a8499,_0xbbf35):_0x5a8499,_0x23839f=_0x3b5275[_0x3e2d63(0x2c5)]-0x1,_0x1679f3;_0x23839f>=0x0;_0x23839f--)(_0x1679f3=_0x3b5275[_0x23839f])&&(_0x498a76=_0x1679f3(_0x498a76)||_0x498a76);return _0x498a76;},_0x43bd09=(_0x47e163,_0x1a5ee5)=>(_0x2326da,_0x2bbead)=>_0x1a5ee5(_0x2326da,_0x2bbead,_0x47e163);const _0x12eec9=0x12c,_0x25150a=0x64;let _0xc1bf0a=class extends _0x333729[_0x492c29(0x408)]{constructor(_0x58c971,_0x466b56,_0x5ea897,_0x13d9f4,_0xb57f5b,_0x556307,_0x4507a,_0x29d83d,_0xd5366b){const _0x1d18e9=_0x492c29;super(),_0x56d583(this,'_online',!0x1),_0x56d583(this,_0x1d18e9(0x45c),!0x1),_0x56d583(this,_0x1d18e9(0x414),new _0x27440d[(_0x1d18e9(0x293))](new Map())),_0x56d583(this,_0x1d18e9(0x306),this[_0x1d18e9(0x414)][_0x1d18e9(0x247)]()),_0x56d583(this,_0x1d18e9(0x2c6),new _0x27440d['BehaviorSubject']([])),_0x56d583(this,_0x1d18e9(0x205),this[_0x1d18e9(0x2c6)][_0x1d18e9(0x338)](_0x27440d[_0x1d18e9(0x20d)](_0x12eec9))),_0x56d583(this,_0x1d18e9(0x2cf),_0x333729[_0x1d18e9(0x3af)](_0x1b2c45=>{const _0x37f1d1=_0x1d18e9,_0x4b410d={'eventID':_0x49182d['CollaborationEvent'][_0x37f1d1(0x357)],'data':{'unitID':this[_0x37f1d1(0x256)],'memberID':this[_0x37f1d1(0x1cc)]['getMemberID'](),'selection':_0x5e279d(_0x1b2c45)}};this[_0x37f1d1(0x1cc)][_0x37f1d1(0x346)](_0x4b410d,this[_0x37f1d1(0x256)]);},_0x25150a)),(this[_0x1d18e9(0x256)]=_0x58c971,this[_0x1d18e9(0x1cc)]=_0x466b56,this['_injector']=_0x5ea897,this[_0x1d18e9(0x3bd)]=_0x13d9f4,this[_0x1d18e9(0x380)]=_0xb57f5b,this[_0x1d18e9(0x334)]=_0x556307,this[_0x1d18e9(0x37d)]=_0x4507a,this[_0x1d18e9(0x378)]=_0x29d83d,this[_0x1d18e9(0x3ac)]=_0xd5366b);}get[_0x492c29(0x2e0)](){const _0x5d2b12=_0x492c29;return this['_cursorInfo$'][_0x5d2b12(0x473)]();}get[_0x492c29(0x30e)](){return this['_roomMembers$']['getValue']();}[_0x492c29(0x372)](){const _0x4da56e=_0x492c29;super['dispose'](),this[_0x4da56e(0x414)][_0x4da56e(0x349)](new Map()),this[_0x4da56e(0x414)]['complete'](),this[_0x4da56e(0x2c6)][_0x4da56e(0x349)]([]),this[_0x4da56e(0x2c6)][_0x4da56e(0x428)]();}[_0x492c29(0x1bc)](){const _0x3f4b8c=_0x492c29;this[_0x3f4b8c(0x45c)]||(this[_0x3f4b8c(0x45c)]=!0x0,this[_0x3f4b8c(0x1cc)][_0x3f4b8c(0x365)][_0x3f4b8c(0x338)](_0x27440d[_0x3f4b8c(0x45a)](this[_0x3f4b8c(0x461)]))[_0x3f4b8c(0x2f2)](_0x57c9f7=>{const _0x244525=_0x3f4b8c;_0x57c9f7===_0x308558[_0x244525(0x470)]['ONLINE']?this[_0x244525(0x3f9)]():this[_0x244525(0x24f)]();}),this[_0x3f4b8c(0x1cc)][_0x3f4b8c(0x246)][_0x3f4b8c(0x338)](_0x27440d[_0x3f4b8c(0x45a)](this[_0x3f4b8c(0x461)]))['subscribe'](_0x5b5529=>{const _0x1925f4=_0x3f4b8c,_0x48d874=_0x5b5529[_0x1925f4(0x2d4)];_0x48d874===_0x49182d[_0x1925f4(0x462)]['UPDATE_CURSOR']&&this[_0x1925f4(0x208)](_0x5b5529),_0x48d874===_0x49182d[_0x1925f4(0x462)][_0x1925f4(0x209)]&&this[_0x1925f4(0x26a)](_0x5b5529);}),this[_0x3f4b8c(0x212)](this[_0x3f4b8c(0x3ac)][_0x3f4b8c(0x3d3)](_0x49d8d8=>{const _0x3a68f1=_0x3f4b8c,_0xffa4cb=_0x49d8d8[_0x3a68f1(0x292)];_0xffa4cb!=null&&this[_0x3a68f1(0x438)]&&_0x49d8d8['id']===_0x73cf4e[_0x3a68f1(0x26b)]['id']&&_0xffa4cb[_0x3a68f1(0x1e1)]===this['unitID']&&_0xffa4cb[_0x3a68f1(0x2d9)]===!0x1&&_0xffa4cb[_0x3a68f1(0x40a)][_0x3a68f1(0x2c5)]>0x0&&this[_0x3a68f1(0x2cf)](_0xffa4cb[_0x3a68f1(0x40a)]);})),this['_syncEditingCollabCursorService'][_0x3f4b8c(0x2fd)][_0x3f4b8c(0x338)](_0x27440d[_0x3f4b8c(0x45a)](this[_0x3f4b8c(0x461)]))[_0x3f4b8c(0x2f2)](_0x54e7b0=>{const _0x5adfbc=_0x3f4b8c;if((_0x54e7b0==null?void 0x0:_0x54e7b0[_0x5adfbc(0x256)])!==this[_0x5adfbc(0x256)])return;const _0x2ddc68={'eventID':_0x49182d[_0x5adfbc(0x462)][_0x5adfbc(0x357)],'data':_0x54e7b0};this[_0x5adfbc(0x208)](_0x2ddc68);}),this['disposeWithMe'](this[_0x3f4b8c(0x3ac)][_0x3f4b8c(0x3d3)](_0x497a44=>{const _0x81a2c1=_0x3f4b8c;if(_0x497a44[_0x81a2c1(0x292)]==null)return;const _0x18bbcf=_0x497a44[_0x81a2c1(0x292)];if(_0x497a44['id']!==_0x73cf4e[_0x81a2c1(0x283)]['id']||_0x18bbcf[_0x81a2c1(0x1e1)]!==this[_0x81a2c1(0x256)])return;const _0x423b5a={'id':'doc.mutation.rich-text-editing','params':_0x18bbcf},_0x1071a1=this[_0x81a2c1(0x2e0)];for(const [_0x3f8379,_0x333940]of _0x1071a1){const _0x2c1652={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x333940[_0x81a2c1(0x40a)]}},_0xb6f870=this[_0x81a2c1(0x37d)][_0x81a2c1(0x261)](_0x423b5a,_0x2c1652,!0x1);if(_0x49182d[_0x81a2c1(0x2dc)](_0xb6f870))throw _0xb6f870[_0x81a2c1(0x3e7)];_0x1071a1[_0x81a2c1(0x287)](_0x3f8379,{..._0x333940,'ranges':_0xb6f870[_0x81a2c1(0x1db)][_0x81a2c1(0x292)][_0x81a2c1(0x4a5)]});}queueMicrotask(()=>{const _0x90de70=_0x81a2c1;this[_0x90de70(0x414)][_0x90de70(0x349)](_0x1071a1);});})));}[_0x492c29(0x208)](_0x471f04){const _0x12efc2=_0x492c29;var _0x43f84c,_0xb0e64f;const {memberID:_0x1918b6,selection:_0x3c018e}=_0x471f04[_0x12efc2(0x3d2)],_0x313da1=_0x4e5162(_0x3c018e),_0x146c0c=(_0xb0e64f=(_0x43f84c=this['_memberService'][_0x12efc2(0x2b8)](this[_0x12efc2(0x256)],_0x1918b6))==null?void 0x0:_0x43f84c['name'])!=null?_0xb0e64f:'Unknown\x20user',_0x21d150={'color':this[_0x12efc2(0x3bd)][_0x12efc2(0x439)](_0x1918b6),'name':_0x146c0c,'ranges':_0x313da1},_0x8b7d63=this[_0x12efc2(0x2e0)];_0x8b7d63[_0x12efc2(0x287)](_0x1918b6,_0x21d150),this[_0x12efc2(0x414)][_0x12efc2(0x349)](_0x8b7d63);}[_0x492c29(0x26a)](_0x46ad56){const _0x49550a=_0x492c29,{memberID:_0x2c7f55}=_0x46ad56[_0x49550a(0x3d2)],_0x1ad484=this['cursorInfo'];_0x1ad484[_0x49550a(0x207)](_0x2c7f55),this[_0x49550a(0x414)][_0x49550a(0x349)](_0x1ad484);}[_0x492c29(0x3f9)](){const _0x5767c0=_0x492c29;var _0xffd7fa;if(this['_online']=!0x0,((_0xffd7fa=this[_0x5767c0(0x378)][_0x5767c0(0x48c)]())==null?void 0x0:_0xffd7fa[_0x5767c0(0x314)]())!==this['unitID'])return;const _0x2dc452=this[_0x5767c0(0x359)][_0x5767c0(0x385)](_0x73cf4e[_0x5767c0(0x25a)])['getDocRanges']();Array['isArray'](_0x2dc452)&&_0x2dc452[_0x5767c0(0x2c5)]>0x0&&this[_0x5767c0(0x2cf)](_0x2dc452);}[_0x492c29(0x24f)](){const _0x12deb6=_0x492c29;this[_0x12deb6(0x438)]=!0x1;}};_0xc1bf0a=_0x372c16([_0x43bd09(0x2,_0x333729['Inject'](_0x333729[_0x492c29(0x2c4)])),_0x43bd09(0x3,_0x333729['Inject'](_0x26569c)),_0x43bd09(0x4,_0x333729[_0x492c29(0x1d3)](_0x308558[_0x492c29(0x2aa)])),_0x43bd09(0x5,_0x333729['Inject'](_0x319393)),_0x43bd09(0x6,_0x49182d['ITransformService']),_0x43bd09(0x7,_0x333729['IUniverInstanceService']),_0x43bd09(0x8,_0x333729[_0x492c29(0x3f4)])],_0xc1bf0a);var _0x5d2af0=Object[_0x492c29(0x47c)],_0x38dde2=(_0x310ecd,_0x30449d,_0x4ec245,_0x2d0b5b)=>{for(var _0x362de2=_0x2d0b5b>0x1?void 0x0:_0x2d0b5b?_0x5d2af0(_0x30449d,_0x4ec245):_0x30449d,_0x1e37ea=_0x310ecd['length']-0x1,_0x4d005a;_0x1e37ea>=0x0;_0x1e37ea--)(_0x4d005a=_0x310ecd[_0x1e37ea])&&(_0x362de2=_0x4d005a(_0x362de2)||_0x362de2);return _0x362de2;},_0x24fc5c=(_0x1df4ed,_0x117df3)=>(_0x18c40e,_0x221e9d)=>_0x117df3(_0x18c40e,_0x221e9d,_0x1df4ed);const _0x279180=0x12c,_0x573526=0x64,_0x219feb=()=>{let _0x45b07e=[],_0x208590=!0x1;return _0x5b6c38=>{const _0x2f4bdf=_0x5251;_0x45b07e[_0x2f4bdf(0x28e)](_0x5b6c38),_0x208590||(_0x208590=!0x0,setTimeout(()=>{const _0x3a3f73=_0x2f4bdf;_0x45b07e[_0x3a3f73(0x296)](_0x5f1f32=>_0x5f1f32()),_0x45b07e=[],_0x208590=!0x1;}));};};let _0x3dd396=class extends _0x333729['RxDisposable']{constructor(_0x4b8b65,_0x4f5c14,_0xb87063,_0x2507b4,_0x37ec2b,_0x185bfd,_0x68931d,_0x10a664){const _0x77ca1b=_0x492c29;super(),_0x56d583(this,'_online',!0x1),_0x56d583(this,_0x77ca1b(0x45c),!0x1),_0x56d583(this,_0x77ca1b(0x414),new _0x27440d[(_0x77ca1b(0x293))](new Map())),_0x56d583(this,_0x77ca1b(0x306),this[_0x77ca1b(0x414)][_0x77ca1b(0x247)]()),_0x56d583(this,_0x77ca1b(0x2c6),new _0x27440d[(_0x77ca1b(0x293))]([])),_0x56d583(this,'roomMembers$',this['_roomMembers$'][_0x77ca1b(0x338)](_0x27440d[_0x77ca1b(0x20d)](_0x279180))),_0x56d583(this,'_updateLocalCursor',_0x333729['debounce']((_0x41cab0,_0x4da18e)=>{const _0x4c075c=_0x77ca1b,_0x3ab986={'eventID':_0x49182d[_0x4c075c(0x462)][_0x4c075c(0x357)],'data':{'unitID':this[_0x4c075c(0x256)],'memberID':this[_0x4c075c(0x1cc)][_0x4c075c(0x404)](),'selection':_0x5b915e[_0x4c075c(0x2e3)](_0x41cab0,_0x4da18e[_0x4c075c(0x1df)])}};this[_0x4c075c(0x1cc)]['send'](_0x3ab986,this[_0x4c075c(0x256)]);},_0x573526)),(this[_0x77ca1b(0x256)]=_0x4b8b65,this['_session']=_0x4f5c14,this[_0x77ca1b(0x359)]=_0xb87063,this[_0x77ca1b(0x3bd)]=_0x2507b4,this[_0x77ca1b(0x380)]=_0x37ec2b,this[_0x77ca1b(0x378)]=_0x185bfd,this[_0x77ca1b(0x3ac)]=_0x68931d,this[_0x77ca1b(0x29f)]=_0x10a664);}get[_0x492c29(0x2e0)](){const _0x4b6988=_0x492c29;return this[_0x4b6988(0x414)][_0x4b6988(0x473)]();}get[_0x492c29(0x30e)](){const _0x15b211=_0x492c29;return this[_0x15b211(0x2c6)][_0x15b211(0x473)]();}[_0x492c29(0x372)](){const _0x4caad3=_0x492c29;super[_0x4caad3(0x372)](),this[_0x4caad3(0x414)][_0x4caad3(0x349)](new Map()),this['_cursorInfo$'][_0x4caad3(0x428)](),this[_0x4caad3(0x2c6)][_0x4caad3(0x349)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x210846=_0x492c29;this[_0x210846(0x45c)]||(this[_0x210846(0x45c)]=!0x0,this[_0x210846(0x1cc)][_0x210846(0x365)]['pipe'](_0x27440d['takeUntil'](this['dispose$']))[_0x210846(0x2f2)](_0x1945a7=>{const _0x25597c=_0x210846;_0x1945a7===_0x308558[_0x25597c(0x470)][_0x25597c(0x481)]?this['_toggleOnline']():this[_0x25597c(0x24f)]();}),this[_0x210846(0x1cc)][_0x210846(0x246)][_0x210846(0x338)](_0x27440d[_0x210846(0x45a)](this[_0x210846(0x461)]))[_0x210846(0x2f2)](_0x105f9d=>{const _0x1338d1=_0x210846,_0x2f8a2c=_0x105f9d['eventID'];_0x2f8a2c===_0x49182d['CollaborationEvent'][_0x1338d1(0x357)]&&this[_0x1338d1(0x208)](_0x105f9d),_0x2f8a2c===_0x49182d['CollaborationEvent'][_0x1338d1(0x209)]&&this[_0x1338d1(0x26a)](_0x105f9d);}),this[_0x210846(0x2da)](),this[_0x210846(0x212)](this[_0x210846(0x3ac)][_0x210846(0x3d3)](_0x90fbf5=>{const _0x472f88=_0x210846;if(this[_0x472f88(0x438)]&&_0x90fbf5['id']===_0x37d825[_0x472f88(0x1e9)]['id']&&_0x90fbf5[_0x472f88(0x292)][_0x472f88(0x1e1)]===this[_0x472f88(0x256)]){const _0x49090e=_0x90fbf5[_0x472f88(0x292)];this['_updateLocalCursor'](_0x49090e[_0x472f88(0x3f6)],_0x49090e[_0x472f88(0x499)][0x0]);}})));}['_onCursorUpdate'](_0x3c97a9){const _0x54c03e=_0x492c29;var _0x29329a,_0x36831a;const {memberID:_0x4354b4,selection:_0x462b4b}=_0x3c97a9[_0x54c03e(0x3d2)],{sheetName:_0x280d5c,range:_0x47c6c7}=_0x5b915e[_0x54c03e(0x398)](_0x462b4b),_0x4e3301={'name':(_0x36831a=(_0x29329a=this['_memberService'][_0x54c03e(0x2b8)](this['unitID'],_0x4354b4))==null?void 0x0:_0x29329a[_0x54c03e(0x471)])!=null?_0x36831a:_0x54c03e(0x437),'range':this['_getMergeRange'](_0x280d5c,_0x47c6c7),'sheetID':_0x280d5c,'color':this[_0x54c03e(0x3bd)][_0x54c03e(0x439)](_0x4354b4),'selection':_0x462b4b},_0x274cd1=this[_0x54c03e(0x2e0)];_0x274cd1[_0x54c03e(0x287)](_0x4354b4,_0x4e3301),this[_0x54c03e(0x414)][_0x54c03e(0x349)](_0x274cd1);}[_0x492c29(0x26a)](_0x5815b8){const _0x40d3e3=_0x492c29,{memberID:_0x4e2ef5}=_0x5815b8[_0x40d3e3(0x3d2)],_0x580c41=this[_0x40d3e3(0x2e0)];_0x580c41[_0x40d3e3(0x207)](_0x4e2ef5),this[_0x40d3e3(0x414)][_0x40d3e3(0x349)](_0x580c41);}['_getMergeRange'](_0x3bff4a,_0x41cc44){const _0x38551e=_0x492c29;var _0x580448,_0x38ae9d;const _0x35954a=(_0x38ae9d=(_0x580448=this['_univerInstanceService'][_0x38551e(0x2e5)](this[_0x38551e(0x256)]))==null?void 0x0:_0x580448[_0x38551e(0x3b6)](_0x3bff4a))==null?void 0x0:_0x38ae9d[_0x38551e(0x38f)]();return(_0x35954a==null?void 0x0:_0x35954a[_0x38551e(0x297)](_0x73c99c=>_0x333729[_0x38551e(0x496)][_0x38551e(0x2ce)](_0x73c99c,_0x41cc44)))||_0x41cc44;}['_onRefRangeChange'](){const _0x3fbc6d=_0x492c29,_0x49d5fb=new _0x333729[(_0x3fbc6d(0x2a0))](),_0x286add=_0x219feb(),_0x106cdd=()=>{const _0x21210b=_0x3fbc6d;_0x49d5fb[_0x21210b(0x372)]();const _0x2e08cf=(_0x12394c,_0x1860b1,_0x136588,_0x4ff836)=>{const _0x474551=_0x21210b;let _0x3f733d=[];switch(_0x12394c['id']){case _0x37d825[_0x474551(0x1f0)]['DeleteRangeMoveLeftCommandId']:{_0x3f733d=_0x37d825[_0x474551(0x2ca)](_0x12394c,_0x4ff836);break;}case _0x37d825['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x3f733d=_0x37d825['handleDeleteRangeMoveUp'](_0x12394c,_0x4ff836);break;}case _0x37d825[_0x474551(0x1f0)][_0x474551(0x4ac)]:{_0x3f733d=_0x37d825[_0x474551(0x225)](_0x12394c,_0x4ff836);break;}case _0x37d825[_0x474551(0x1f0)]['InsertRangeMoveDownCommandId']:{_0x3f733d=_0x37d825[_0x474551(0x366)](_0x12394c,_0x4ff836);break;}case _0x37d825[_0x474551(0x1f0)]['InsertRangeMoveRightCommandId']:{_0x3f733d=_0x37d825[_0x474551(0x2f0)](_0x12394c,_0x4ff836);break;}case _0x37d825[_0x474551(0x1f0)][_0x474551(0x1c1)]:{_0x3f733d=_0x37d825[_0x474551(0x335)](_0x12394c,_0x4ff836);break;}case _0x37d825[_0x474551(0x1f0)][_0x474551(0x3a8)]:{_0x3f733d=_0x37d825[_0x474551(0x419)](_0x12394c,_0x4ff836);break;}case _0x37d825[_0x474551(0x1f0)][_0x474551(0x3e8)]:{_0x3f733d=_0x37d825[_0x474551(0x464)](_0x12394c,_0x4ff836);break;}case _0x37d825[_0x474551(0x1f0)][_0x474551(0x20a)]:{_0x3f733d=_0x37d825[_0x474551(0x1fc)](_0x12394c,_0x4ff836);break;}}const _0x35a9ee=_0x37d825[_0x474551(0x201)](_0x3f733d,_0x4ff836),_0x5c82b2=this[_0x474551(0x2e0)]['get'](_0x1860b1);if(_0x5c82b2&&_0x35a9ee){const _0x765126={..._0x5c82b2,'range':_0x35a9ee};this[_0x474551(0x2e0)]['set'](_0x1860b1,_0x765126),_0x286add(()=>{const _0x1b304c=_0x474551,_0x1f2517=this[_0x1b304c(0x29f)]['registerRefRange'](_0x35a9ee,_0x13ca99=>(_0x1f2517[_0x1b304c(0x372)](),_0x2e08cf(_0x13ca99,_0x1860b1,_0x136588,_0x35a9ee)));_0x49d5fb['add'](_0x1f2517);});}return{'redos':[],'undos':[]};};this[_0x21210b(0x2e0)][_0x21210b(0x296)]((_0x5b3d48,_0x368b29)=>{const _0x473390=_0x21210b,{range:_0x5839ac,sheetID:_0x9670eb}=_0x5b3d48,_0x1446e9=this['_refRangeService'][_0x473390(0x2ba)](_0x5839ac,_0x44ce5e=>(_0x1446e9['dispose'](),_0x2e08cf(_0x44ce5e,_0x368b29,_0x9670eb,_0x5839ac)));_0x49d5fb['add'](_0x1446e9);});};this[_0x3fbc6d(0x212)](_0x333729['toDisposable'](this[_0x3fbc6d(0x414)]['subscribe'](()=>{_0x106cdd();})));}['_toggleOnline'](){const _0x4d79e6=_0x492c29;var _0x56c430,_0x26054c;if(this[_0x4d79e6(0x438)]=!0x0,((_0x56c430=this[_0x4d79e6(0x378)]['getFocusedUnit']())==null?void 0x0:_0x56c430['getUnitId']())!==this[_0x4d79e6(0x256)])return;const _0x27c93f=(_0x26054c=this[_0x4d79e6(0x359)][_0x4d79e6(0x385)](_0x37d825[_0x4d79e6(0x457)])[_0x4d79e6(0x1ed)]())==null?void 0x0:_0x26054c[0x0],_0x2fecef=this[_0x4d79e6(0x378)][_0x4d79e6(0x369)](_0x333729[_0x4d79e6(0x215)][_0x4d79e6(0x30a)])['getActiveSheet']();_0x27c93f&&_0x2fecef&&this[_0x4d79e6(0x2cf)](_0x2fecef['getSheetId'](),_0x27c93f);}[_0x492c29(0x24f)](){const _0x188a92=_0x492c29;this[_0x188a92(0x438)]=!0x1;}};_0x3dd396=_0x38dde2([_0x24fc5c(0x2,_0x333729['Inject'](_0x333729[_0x492c29(0x2c4)])),_0x24fc5c(0x3,_0x333729[_0x492c29(0x1d3)](_0x26569c)),_0x24fc5c(0x4,_0x333729[_0x492c29(0x1d3)](_0x308558['MemberService'])),_0x24fc5c(0x5,_0x333729[_0x492c29(0x1d0)]),_0x24fc5c(0x6,_0x333729['ICommandService']),_0x24fc5c(0x7,_0x333729['Inject'](_0x37d825[_0x492c29(0x395)]))],_0x3dd396);var _0x315b9e=Object['getOwnPropertyDescriptor'],_0x1531da=(_0x15cef7,_0x351e94,_0x375d89,_0x4cf049)=>{const _0x553056=_0x492c29;for(var _0x5e6811=_0x4cf049>0x1?void 0x0:_0x4cf049?_0x315b9e(_0x351e94,_0x375d89):_0x351e94,_0xbc8238=_0x15cef7[_0x553056(0x2c5)]-0x1,_0x30465f;_0xbc8238>=0x0;_0xbc8238--)(_0x30465f=_0x15cef7[_0xbc8238])&&(_0x5e6811=_0x30465f(_0x5e6811)||_0x5e6811);return _0x5e6811;},_0x2566f6=(_0x40efac,_0x298370)=>(_0x591967,_0x5d0e6e)=>_0x298370(_0x591967,_0x5d0e6e,_0x40efac);let _0x5df748=class extends _0x333729[_0x492c29(0x408)]{constructor(_0x31a354,_0x1ba62f,_0x3d6214){const _0x27f110=_0x492c29;super(),_0x56d583(this,_0x27f110(0x211),new Map()),_0x56d583(this,'_entityInit$',new _0x27440d[(_0x27f110(0x30b))]()),(this['_univerInstanceService']=_0x31a354,this[_0x27f110(0x359)]=_0x1ba62f,this[_0x27f110(0x2e2)]=_0x3d6214,this[_0x27f110(0x45c)]());}[_0x492c29(0x372)](){const _0x41f3fe=_0x492c29;super[_0x41f3fe(0x372)](),this[_0x41f3fe(0x276)]['complete'](),this[_0x41f3fe(0x211)][_0x41f3fe(0x296)](_0x2a3576=>_0x2a3576[_0x41f3fe(0x372)]());}[_0x492c29(0x3d7)](_0x34c1ab){const _0x441d6c=_0x492c29;return this['_entities'][_0x441d6c(0x485)](_0x34c1ab)?this[_0x441d6c(0x211)]['get'](_0x34c1ab)[_0x441d6c(0x306)]:this[_0x441d6c(0x276)][_0x441d6c(0x338)](_0x27440d[_0x441d6c(0x3ab)](_0x500730=>_0x500730[_0x441d6c(0x256)]===_0x34c1ab),_0x27440d[_0x441d6c(0x2b0)](_0xb246fb=>_0xb246fb['cursorInfo$']));}[_0x492c29(0x45c)](){const _0xed545c=_0x492c29;this['_univerInstanceService'][_0xed545c(0x425)](_0x333729[_0xed545c(0x215)][_0xed545c(0x30a)])[_0xed545c(0x338)](_0x27440d['takeUntil'](this['dispose$']))[_0xed545c(0x2f2)](async _0x539ed0=>{const _0x2d5a65=_0xed545c,_0x322886=_0x539ed0[_0x2d5a65(0x314)](),_0x34b8f2=await this['_startSheetCollabCursor'](_0x322886);this[_0x2d5a65(0x276)][_0x2d5a65(0x349)](_0x34b8f2),this['_entities'][_0x2d5a65(0x287)](_0x322886,_0x34b8f2);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x333729[_0xed545c(0x215)][_0xed545c(0x483)])[_0xed545c(0x338)](_0x27440d[_0xed545c(0x45a)](this[_0xed545c(0x461)]))[_0xed545c(0x338)](_0x27440d[_0xed545c(0x3ab)](_0x188466=>!_0x188466[_0xed545c(0x314)]()[_0xed545c(0x2db)]('__')))[_0xed545c(0x2f2)](async _0x3acc9c=>{const _0x2d2458=_0xed545c,_0x51d1cb=_0x3acc9c[_0x2d2458(0x314)](),_0x4e4c18=await this[_0x2d2458(0x411)](_0x51d1cb);this[_0x2d2458(0x276)]['next'](_0x4e4c18),this[_0x2d2458(0x211)][_0x2d2458(0x287)](_0x51d1cb,_0x4e4c18);}),_0x27440d[_0xed545c(0x43f)](this[_0xed545c(0x378)][_0xed545c(0x258)](_0x333729[_0xed545c(0x215)][_0xed545c(0x483)]),this[_0xed545c(0x378)][_0xed545c(0x258)](_0x333729[_0xed545c(0x215)]['UNIVER_SHEET']))[_0xed545c(0x338)](_0x27440d['takeUntil'](this['dispose$']))[_0xed545c(0x2f2)](_0x4bede0=>{const _0x3c7393=_0xed545c,_0x957db8=_0x4bede0['getUnitId'](),_0x189bad=this[_0x3c7393(0x211)][_0x3c7393(0x385)](_0x957db8);_0x189bad&&(_0x189bad[_0x3c7393(0x372)](),this[_0x3c7393(0x211)][_0x3c7393(0x207)](_0x957db8));});}async[_0x492c29(0x3b0)](_0x296412){const _0x433bd1=_0x492c29,_0x2384db=await this[_0x433bd1(0x2e2)][_0x433bd1(0x487)](_0x296412),_0x51149f=this[_0x433bd1(0x359)][_0x433bd1(0x4a1)](_0x3dd396,_0x296412,_0x2384db);return _0x51149f[_0x433bd1(0x1bc)](),_0x51149f;}async[_0x492c29(0x411)](_0x102b52){const _0x310636=_0x492c29,_0x1a7ffb=await this['_collabSessionService'][_0x310636(0x487)](_0x102b52),_0x2965ba=this['_injector'][_0x310636(0x4a1)](_0xc1bf0a,_0x102b52,_0x1a7ffb);return _0x2965ba['init'](),_0x2965ba;}};_0x5df748=_0x1531da([_0x2566f6(0x0,_0x333729[_0x492c29(0x1d0)]),_0x2566f6(0x1,_0x333729[_0x492c29(0x1d3)](_0x333729[_0x492c29(0x2c4)])),_0x2566f6(0x2,_0x333729['Inject'](_0x308558[_0x492c29(0x38b)]))],_0x5df748);const _0x1f27a2=0x14,_0x58f1cb=0xc8,_0x183273=0x4,_0x27e356=0x5;function _0x4a942d(_0x3ea1f9,_0x568ae2){const _0xdf95c5=_0x492c29;let {radius:_0x1e6320,width:_0xd6a087,height:_0x1ddb73}=_0x568ae2;_0x1e6320=_0x1e6320!=null?_0x1e6320:0x0,_0xd6a087=_0xd6a087!=null?_0xd6a087:0x1e,_0x1ddb73=_0x1ddb73!=null?_0x1ddb73:0x1e;let _0x235265=0x0,_0x4eb805=0x0,_0x602474=0x0;_0x235265=_0x4eb805=_0x602474=Math[_0xdf95c5(0x3f3)](_0x1e6320,_0xd6a087/0x2,_0x1ddb73/0x2),_0x3ea1f9[_0xdf95c5(0x308)](),_0x3ea1f9[_0xdf95c5(0x257)](_0x235265,0x0),_0x3ea1f9[_0xdf95c5(0x405)](_0xd6a087-_0x4eb805,0x0),_0x3ea1f9[_0xdf95c5(0x33c)](_0xd6a087-_0x4eb805,_0x4eb805,_0x4eb805,Math['PI']*0x3/0x2,0x0,!0x1),_0x3ea1f9[_0xdf95c5(0x405)](_0xd6a087,_0x1ddb73-_0x602474),_0x3ea1f9[_0xdf95c5(0x33c)](_0xd6a087-_0x602474,_0x1ddb73-_0x602474,_0x602474,0x0,Math['PI']/0x2,!0x1),_0x3ea1f9['lineTo'](0x0,_0x1ddb73),_0x3ea1f9[_0xdf95c5(0x405)](0x0,_0x235265),_0x3ea1f9['arc'](_0x235265,_0x235265,_0x235265,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3ea1f9[_0xdf95c5(0x27b)](),_0x568ae2[_0xdf95c5(0x46b)]&&(_0x3ea1f9[_0xdf95c5(0x2ed)](),_0x3ea1f9[_0xdf95c5(0x329)]=_0x568ae2[_0xdf95c5(0x46b)],_0x568ae2[_0xdf95c5(0x379)]===_0xdf95c5(0x1e5)?_0x3ea1f9['fill']('evenodd'):_0x3ea1f9['fill'](),_0x3ea1f9['restore']());}class _0x56ed81 extends _0x220e15[_0x492c29(0x2ab)]{constructor(_0x44f625,_0x466499){const _0x9bc3c9=_0x492c29;super(_0x44f625,_0x466499),_0x56d583(this,'color'),_0x56d583(this,'text'),(this['color']=_0x466499==null?void 0x0:_0x466499[_0x9bc3c9(0x3ef)],this[_0x9bc3c9(0x1bf)]=_0x466499==null?void 0x0:_0x466499[_0x9bc3c9(0x1bf)]);}static[_0x492c29(0x460)](_0x48a3f6,_0x253ce0){const _0x365091=_0x492c29,{text:_0x322f70,color:_0x1d2528}=_0x253ce0;_0x48a3f6[_0x365091(0x2ed)](),_0x48a3f6[_0x365091(0x2bf)]=_0x365091(0x2b7);const _0x4f1f3c=_0x48a3f6[_0x365091(0x289)](_0x322f70)['width'],_0x295704=Math['min'](_0x4f1f3c+0x2*_0x183273,_0x58f1cb);_0x4a942d(_0x48a3f6,{'height':_0x1f27a2,'radius':0x4,'width':_0x295704,'fill':_0x1d2528}),_0x48a3f6[_0x365091(0x329)]=_0x365091(0x449);const _0x14e270=_0x183273,_0x564eec=_0x1f27a2-_0x27e356,_0x28d96f=_0x58f1cb-0x2*_0x183273;if(_0x4f1f3c>_0x28d96f){let _0x16502a='',_0x16f848=0x0;for(const _0x3ff2ce of _0x322f70){const _0x34b7b4=_0x48a3f6['measureText'](_0x3ff2ce)[_0x365091(0x493)];if(_0x16f848+_0x34b7b4<=_0x28d96f-_0x48a3f6[_0x365091(0x289)](_0x365091(0x3db))[_0x365091(0x493)])_0x16502a+=_0x3ff2ce,_0x16f848+=_0x34b7b4;else{_0x16502a+='...';break;}}_0x48a3f6[_0x365091(0x2e6)](_0x16502a,_0x14e270,_0x564eec);}else _0x48a3f6['fillText'](_0x322f70,_0x14e270,_0x564eec);_0x48a3f6['restore']();}[_0x492c29(0x45f)](_0x33a2d1){const _0x27043b=_0x492c29;_0x56ed81[_0x27043b(0x460)](_0x33a2d1,this);}}const _0x330d66=_0x492c29(0x450),_0x45d381='collab-text-range-',_0x3fb9de=_0x492c29(0x2b2),_0x35a515=0x6,_0x2f5ca5=1.5,_0x597267=0x4,_0x5d6d65=1.5,_0x49b853='rgba(255,\x20255,\x20255,\x200.01)';class _0x1e8b31{constructor(_0x2d233b,_0x71f1a5,_0x19789f,_0x2214d6){const _0x325986=_0x492c29;_0x56d583(this,_0x325986(0x344),[]),_0x56d583(this,_0x325986(0x23f),null),_0x56d583(this,_0x325986(0x235),null),_0x56d583(this,_0x325986(0x1ba),null),_0x56d583(this,'_hideTimer',null),_0x56d583(this,'_eventUnsubscribe',null),(this[_0x325986(0x37f)]=_0x2d233b,this[_0x325986(0x2e8)]=_0x71f1a5,this[_0x325986(0x3a4)]=_0x19789f,this[_0x325986(0x451)]=_0x2214d6,this['_render']());}set[_0x492c29(0x316)](_0x5bbf0e){const _0x4bb676=_0x492c29;_0x5bbf0e?(this['_anchorDot']&&this[_0x4bb676(0x1ba)]['hide'](),this[_0x4bb676(0x235)]&&this['_textBubble'][_0x4bb676(0x227)]()):(this['_anchorDot']&&this[_0x4bb676(0x1ba)][_0x4bb676(0x227)](),this['_textBubble']&&this[_0x4bb676(0x235)][_0x4bb676(0x360)]());}[_0x492c29(0x372)](){const _0x2ab416=_0x492c29;for(const _0x3e821d of this['_shapes'])_0x3e821d[_0x2ab416(0x372)]();this[_0x2ab416(0x235)]&&this[_0x2ab416(0x235)][_0x2ab416(0x372)](),this['_anchorDot']&&this[_0x2ab416(0x1ba)][_0x2ab416(0x372)](),this[_0x2ab416(0x23f)]&&this[_0x2ab416(0x23f)][_0x2ab416(0x372)](),this[_0x2ab416(0x49c)]&&this[_0x2ab416(0x49c)]();}[_0x492c29(0x1c2)](){const _0x5b75ee=_0x492c29;var _0x1a751d;const {_docSkeleton:_0x2be645,_document:_0x5d8bcd}=this,{color:_0x2b4dc1,name:_0x145366,ranges:_0x3ac921}=this[_0x5b75ee(0x37f)],_0x34ea79=_0x5d8bcd[_0x5b75ee(0x3c7)](),{docsLeft:_0x90acb7,docsTop:_0x505bcd}=_0x34ea79,_0x5b34d8=new _0x106c52['NodePositionConvertToCursor'](_0x34ea79,_0x2be645);for(const {startOffset:_0x1f8062,endOffset:_0x220189,rangeType:_0x119aed,segmentId:_0x107a17,segmentPage:_0x2fb5a2,collapsed:_0xcfaef5,isActive:_0x139508}of _0x3ac921){const _0x4695c3=_0x2be645[_0x5b75ee(0x42a)](_0x1f8062,!0x0,_0x107a17,_0x2fb5a2);let _0x2585d9=_0x2be645['findNodePositionByCharIndex'](_0x220189,!0x0,_0x107a17,_0x2fb5a2);if(_0x2585d9==null&&(_0x2585d9=_0x2be645[_0x5b75ee(0x42a)](_0x220189-0x1,!0x1,_0x107a17,_0x2fb5a2)),_0x139508){const {contentBoxPointGroup:_0x3a95ee}=_0x5b34d8[_0x5b75ee(0x204)](_0x2585d9,_0x2585d9);if(_0x3a95ee['length']===0x0)continue;this[_0x5b75ee(0x459)](_0x2b4dc1,_0x3a95ee,_0x90acb7,_0x505bcd,_0x145366),this['_eventUnsubscribe']=this[_0x5b75ee(0x498)]();}if(_0x4695c3&&_0x2585d9){if(_0x119aed===_0x333729[_0x5b75ee(0x29b)][_0x5b75ee(0x220)]){const _0xd1b151=new _0x106c52['NodePositionConvertToRectRange'](_0x34ea79,_0x2be645),{pointGroup:_0x1c9663}=(_0x1a751d=_0xd1b151[_0x5b75ee(0x204)](_0x4695c3,_0x2585d9))!=null?_0x1a751d:{};if(_0x1c9663==null||_0x1c9663['length']===0x0)continue;this['_drawRectRange'](_0x2b4dc1,_0x1c9663,_0x90acb7,_0x505bcd);}else{if(!_0xcfaef5){const {borderBoxPointGroup:_0x19812f}=_0x5b34d8['getRangePointData'](_0x4695c3,_0x2585d9);if(_0x19812f[_0x5b75ee(0x2c5)]===0x0)continue;this[_0x5b75ee(0x39d)](_0x2b4dc1,_0x19812f,_0x90acb7,_0x505bcd);}}}}}[_0x492c29(0x459)](_0x119b3b,_0x549745,_0x4a6559,_0x48ab28,_0x267ed8){const _0x3c7195=_0x492c29,_0x33be32=this[_0x3c7195(0x436)](_0x549745),{left:_0x9d2678,top:_0xb518e,height:_0x1a7e06}=_0x33be32,_0x56c039=this['_getScale'](),_0x242973=_0x5d6d65/_0x56c039,_0x578f3d=new _0x220e15[(_0x3c7195(0x1f5))](_0x330d66+_0x333729[_0x3c7195(0x3e5)](_0x35a515),{'left':_0x9d2678+_0x4a6559-_0x242973,'top':_0xb518e+_0x48ab28,'height':_0x1a7e06,'width':_0x2f5ca5,'fill':_0x119b3b||_0x220e15[_0x3c7195(0x46e)](_0x333729[_0x3c7195(0x2d8)][_0x3c7195(0x255)],0x0),'strokeWidth':_0x242973,'stroke':_0x49b853,'evented':!0x0});this[_0x3c7195(0x23f)]=_0x578f3d,this['_scene']['addObject'](_0x578f3d,_0x106c52[_0x3c7195(0x2fc)]);const _0x21740a=new _0x220e15[(_0x3c7195(0x1f5))](_0x330d66+_0x333729[_0x3c7195(0x3e5)](_0x35a515),{'left':_0x9d2678+_0x4a6559-_0x242973,'top':_0xb518e+_0x48ab28-_0x597267/0x2,'height':_0x597267,'width':_0x597267,'fill':_0x119b3b||_0x220e15[_0x3c7195(0x46e)](_0x333729[_0x3c7195(0x2d8)][_0x3c7195(0x255)],0x0),'strokeWidth':0x0,'stroke':_0x119b3b||_0x220e15[_0x3c7195(0x46e)](_0x333729[_0x3c7195(0x2d8)][_0x3c7195(0x255)],0x0),'evented':!0x1});this[_0x3c7195(0x1ba)]=_0x21740a,this['_scene'][_0x3c7195(0x415)](_0x21740a,_0x106c52[_0x3c7195(0x2fc)]);const _0x23e0a6=new _0x56ed81(_0x330d66+_0x333729[_0x3c7195(0x3e5)](_0x35a515),{'left':_0x9d2678+_0x4a6559-_0x242973,'top':_0xb518e+_0x48ab28-_0x1f27a2,'text':_0x267ed8,'color':_0x119b3b});this[_0x3c7195(0x235)]=_0x23e0a6,this[_0x3c7195(0x2e8)][_0x3c7195(0x415)](_0x23e0a6,_0x106c52[_0x3c7195(0x2fc)]),this[_0x3c7195(0x316)]=!0x1;}[_0x492c29(0x498)](){const _0x237dc7=_0x492c29,_0x435108=this[_0x237dc7(0x23f)]['onPointerEnter$'][_0x237dc7(0x2c2)](()=>{const _0x476626=_0x237dc7;this[_0x476626(0x316)]=!0x0;}),_0x19663a=this[_0x237dc7(0x23f)][_0x237dc7(0x3fb)][_0x237dc7(0x2c2)](()=>{this['_hideTimer']&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0xa90924=_0x237dc7;_0x435108['unsubscribe'](),_0x19663a[_0xa90924(0x381)]();};}[_0x492c29(0x39d)](_0x576b8c,_0x1d8703,_0xadcea5,_0x164a2f){const _0xce90c9=_0x492c29,_0x108115=new _0x333729[(_0xce90c9(0x41b))](_0x576b8c)[_0xce90c9(0x40e)](0.2)[_0xce90c9(0x392)](),_0x1a1169=new _0x220e15[(_0xce90c9(0x249))](_0x45d381+_0x333729[_0xce90c9(0x3e5)](_0x35a515),{'pointsGroup':_0x1d8703,'fill':_0x108115||_0x220e15[_0xce90c9(0x46e)](_0x333729[_0xce90c9(0x2d8)][_0xce90c9(0x255)],0.2),'left':_0xadcea5,'top':_0x164a2f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xce90c9(0x344)][_0xce90c9(0x28e)](_0x1a1169),this[_0xce90c9(0x2e8)][_0xce90c9(0x415)](_0x1a1169,_0x106c52['TEXT_RANGE_LAYER_INDEX']);}[_0x492c29(0x420)](_0xa8916d,_0x33be53,_0xb1ff55,_0x206e8e){const _0x1fb433=_0x492c29,_0x4c88e6=new _0x333729[(_0x1fb433(0x41b))](_0xa8916d)[_0x1fb433(0x40e)](0.2)['toRgbString'](),_0x25a87f=new _0x220e15[(_0x1fb433(0x249))](_0x3fb9de+_0x333729['generateRandomId'](_0x35a515),{'pointsGroup':_0x33be53,'fill':_0x4c88e6||_0x220e15['getColor'](_0x333729[_0x1fb433(0x2d8)][_0x1fb433(0x255)],0.2),'left':_0xb1ff55,'top':_0x206e8e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1fb433(0x344)][_0x1fb433(0x28e)](_0x25a87f),this[_0x1fb433(0x2e8)]['addObject'](_0x25a87f,_0x106c52[_0x1fb433(0x2fc)]);}[_0x492c29(0x436)](_0x1e4ff3){const _0x3efcb5=_0x1e4ff3[0x0],_0x5dcd6a=_0x3efcb5[0x0],_0x4dc420=_0x3efcb5[0x2],{x:_0x22497b,y:_0x2a1d5f}=_0x5dcd6a,{x:_0x5abeb7,y:_0x38519f}=_0x4dc420;return{'left':_0x22497b,'top':_0x2a1d5f,'width':_0x5abeb7-_0x22497b,'height':_0x38519f-_0x2a1d5f};}[_0x492c29(0x27c)](){const _0x50e703=_0x492c29,{scaleX:_0x46ac03,scaleY:_0x39caf9}=this[_0x50e703(0x2e8)][_0x50e703(0x1fb)]();return Math[_0x50e703(0x31f)](_0x46ac03,_0x39caf9);}}var _0x485020=Object[_0x492c29(0x47c)],_0x2daec4=(_0x285733,_0x6135a,_0x37df91,_0x4fc57b)=>{const _0x47fa61=_0x492c29;for(var _0x12620e=_0x4fc57b>0x1?void 0x0:_0x4fc57b?_0x485020(_0x6135a,_0x37df91):_0x6135a,_0x4cf1fa=_0x285733[_0x47fa61(0x2c5)]-0x1,_0x35eb10;_0x4cf1fa>=0x0;_0x4cf1fa--)(_0x35eb10=_0x285733[_0x4cf1fa])&&(_0x12620e=_0x35eb10(_0x12620e)||_0x12620e);return _0x12620e;},_0x325629=(_0x5d753d,_0x39a15e)=>(_0x375760,_0x43a8a1)=>_0x39a15e(_0x375760,_0x43a8a1,_0x5d753d);let _0x1b3f30=class extends _0x333729['RxDisposable']{constructor(_0x2b0be1,_0x3788cd,_0x2229a7,_0x1b4e79,_0x3798a9){const _0x4079e0=_0x492c29;super(),_0x56d583(this,_0x4079e0(0x29d),[]),_0x56d583(this,'_cursors',[]),(this[_0x4079e0(0x2a7)]=_0x2b0be1,this[_0x4079e0(0x303)]=_0x3788cd,this['_collabCursorController']=_0x2229a7,this['_commandService']=_0x1b4e79,this[_0x4079e0(0x31a)]=_0x3798a9,this[_0x4079e0(0x45c)]());}[_0x492c29(0x45c)](){const _0x5eed57=_0x492c29,_0x4bd997=this[_0x5eed57(0x2a7)][_0x5eed57(0x1e1)],_0x238c5b=this['_docSkeletonManagerService'];this[_0x5eed57(0x212)](_0x27440d[_0x5eed57(0x4a3)]([this[_0x5eed57(0x322)][_0x5eed57(0x3d7)](_0x4bd997),this[_0x5eed57(0x31a)][_0x5eed57(0x206)]])[_0x5eed57(0x338)](_0x272e6a[_0x5eed57(0x3a1)](([_0x4a1477,_0x3e62bc])=>({'skeleton':_0x238c5b[_0x5eed57(0x1de)](),'cursors':[..._0x4a1477[_0x5eed57(0x260)]()][_0x5eed57(0x40c)](_0x318f51=>({..._0x318f51,'color':this['_themeService'][_0x5eed57(0x49f)](_0x318f51[_0x5eed57(0x3ef)])}))})))[_0x5eed57(0x2f2)](_0x363e2f=>{const _0x1d1a26=_0x5eed57;if(this[_0x1d1a26(0x327)](),_0x363e2f){const {skeleton:_0xfa6ead,cursors:_0xd6fe1b}=_0x363e2f;this[_0x1d1a26(0x429)](_0xfa6ead,_0xd6fe1b);}})),this[_0x5eed57(0x3d9)](),this[_0x5eed57(0x325)]();}[_0x492c29(0x429)](_0x22f9a6,_0x390630){const _0x2f1222=_0x492c29,{scene:_0x58ed98,mainComponent:_0x29025c}=this[_0x2f1222(0x2a7)],_0x4c36dc=_0x390630[_0x2f1222(0x3a1)](_0x5536a4=>new _0x1e8b31(_0x5536a4,_0x58ed98,_0x22f9a6,_0x29025c));this['_cursorShapes']=_0x4c36dc,this[_0x2f1222(0x26c)]=_0x390630;}[_0x492c29(0x21d)](){const _0x145d6c=_0x492c29;this[_0x145d6c(0x327)]();const {scene:_0x15b284,mainComponent:_0x2303e7}=this[_0x145d6c(0x2a7)],_0x45b835=this[_0x145d6c(0x303)][_0x145d6c(0x1de)](),_0x35fa3d=this[_0x145d6c(0x26c)][_0x145d6c(0x3a1)](_0xb12a02=>new _0x1e8b31(_0xb12a02,_0x15b284,_0x45b835,_0x2303e7));this['_cursorShapes']=_0x35fa3d;}['_removeCollabCursors'](){const _0x3a1772=_0x492c29;this[_0x3a1772(0x29d)][_0x3a1772(0x296)](_0x2f147c=>_0x2f147c[_0x3a1772(0x372)]()),this[_0x3a1772(0x29d)]=[];}['_initCommandExecutedListener'](){const _0x1b42c7=_0x492c29,_0x107a7f=[_0x106c52['SetDocZoomRatioOperation']['id']];this[_0x1b42c7(0x212)](this[_0x1b42c7(0x3ac)][_0x1b42c7(0x3d3)](_0x4c3d81=>{const _0x189454=_0x1b42c7;_0x107a7f[_0x189454(0x31d)](_0x4c3d81['id'])&&_0x4c3d81['params'][_0x189454(0x1e1)]===this['_context'][_0x189454(0x1e1)]&&this[_0x189454(0x21d)]();}));}[_0x492c29(0x3d9)](){const _0x12d333=_0x492c29;this[_0x12d333(0x212)](_0x333729[_0x12d333(0x2fb)](this['_context'][_0x12d333(0x403)]['onTransformChange$'])['pipe'](_0x272e6a[_0x12d333(0x3ab)](_0xfb93c3=>_0xfb93c3[_0x12d333(0x2a2)]===_0x220e15[_0x12d333(0x44e)][_0x12d333(0x440)]),_0x272e6a[_0x12d333(0x32d)](0x10))[_0x12d333(0x2f2)](()=>{const _0x336ddd=_0x12d333;this[_0x336ddd(0x21d)]();}));}};_0x1b3f30=_0x2daec4([_0x325629(0x1,_0x333729[_0x492c29(0x1d3)](_0x73cf4e[_0x492c29(0x4ad)])),_0x325629(0x2,_0x333729[_0x492c29(0x1d3)](_0x5df748)),_0x325629(0x3,_0x333729[_0x492c29(0x3f4)]),_0x325629(0x4,_0x333729['Inject'](_0x333729[_0x492c29(0x1dc)]))],_0x1b3f30);const _0x4aa95f=0x1,_0x3d7e43=1.5;class _0x3138b9 extends _0x220e15[_0x492c29(0x2ab)]{constructor(_0x3a0748,_0x22550b){const _0x3aa56f=_0x492c29;super(_0x3a0748,_0x22550b),_0x56d583(this,_0x3aa56f(0x237)),_0x56d583(this,_0x3aa56f(0x1bd),!0x1),_0x56d583(this,_0x3aa56f(0x307)),_0x56d583(this,_0x3aa56f(0x37a),''),_0x56d583(this,'_labelPosition',_0x3aa56f(0x48b)),_0x56d583(this,'_backgroundColor'),(_0x22550b&&this[_0x3aa56f(0x295)](_0x22550b),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x3aa56f(0x295)]({'hovered':!0x0})),this[_0x3aa56f(0x3fb)][_0x3aa56f(0x2c2)](()=>this[_0x3aa56f(0x295)]({'hovered':!0x1})));}[_0x492c29(0x295)](_0x36e007){const _0x5d156f=_0x492c29;var _0xc115f3,_0x46e479,_0x15595d,_0xd81407,_0x45a6f1,_0x2003ea;this[_0x5d156f(0x237)]=(_0xc115f3=_0x36e007[_0x5d156f(0x3ef)])!=null?_0xc115f3:this['_color'],this[_0x5d156f(0x1bd)]=(_0x46e479=_0x36e007[_0x5d156f(0x254)])!=null?_0x46e479:this[_0x5d156f(0x1bd)],this['_range']=(_0x15595d=_0x36e007[_0x5d156f(0x1df)])!=null?_0x15595d:this[_0x5d156f(0x307)],this[_0x5d156f(0x37a)]=(_0xd81407=_0x36e007['name'])!=null?_0xd81407:this[_0x5d156f(0x37a)],this[_0x5d156f(0x28c)]=(_0x45a6f1=_0x36e007[_0x5d156f(0x252)])!=null?_0x45a6f1:this['_labelPosition'],this[_0x5d156f(0x31e)]=(_0x2003ea=_0x36e007['backgroundColor'])!=null?_0x2003ea:this[_0x5d156f(0x31e)],this['transformByState']({'width':_0x36e007['width'],'height':_0x36e007[_0x5d156f(0x41c)]});}[_0x492c29(0x400)](_0x175c35){const _0x4470a4=_0x492c29,{row:_0x31666f,column:_0x16fd0a}=_0x175c35;if(_0x31666f>=this['_range']['startRow']&&_0x31666f<=this[_0x4470a4(0x307)][_0x4470a4(0x309)]&&_0x16fd0a>=this['_range'][_0x4470a4(0x36f)]&&_0x16fd0a<=this[_0x4470a4(0x307)][_0x4470a4(0x352)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4470a4(0x295)]({'hovered':!0x1});}[_0x492c29(0x30c)](_0x1f8443){return!0x1;}[_0x492c29(0x45f)](_0x1a648d){const _0x5d3829=_0x492c29;_0x220e15[_0x5d3829(0x1f5)]['drawWith'](_0x1a648d,{'width':this[_0x5d3829(0x493)],'height':this[_0x5d3829(0x41c)],'strokeWidth':_0x3d7e43,'stroke':this[_0x5d3829(0x237)],'evented':!0x1,'fill':this[_0x5d3829(0x31e)]}),this[_0x5d3829(0x1bd)]&&(_0x1a648d[_0x5d3829(0x2ed)](),_0x1a648d[_0x5d3829(0x22c)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x5d3829(0x23c)?0x0:-_0x1f27a2),_0x56ed81['drawWith'](_0x1a648d,{'text':this[_0x5d3829(0x37a)],'color':this[_0x5d3829(0x237)]}),_0x1a648d[_0x5d3829(0x3d6)]());}}var _0x13b01f=Object['getOwnPropertyDescriptor'],_0xdde68=(_0x3b13bf,_0x15e3e6,_0x2841d6,_0x215f73)=>{const _0x58f642=_0x492c29;for(var _0x285ac4=_0x215f73>0x1?void 0x0:_0x215f73?_0x13b01f(_0x15e3e6,_0x2841d6):_0x15e3e6,_0x37eb12=_0x3b13bf[_0x58f642(0x2c5)]-0x1,_0x979a1d;_0x37eb12>=0x0;_0x37eb12--)(_0x979a1d=_0x3b13bf[_0x37eb12])&&(_0x285ac4=_0x979a1d(_0x285ac4)||_0x285ac4);return _0x285ac4;},_0x6b219c=(_0x2ab90d,_0x5a35b6)=>(_0x4cfd83,_0x30b4ea)=>_0x5a35b6(_0x4cfd83,_0x30b4ea,_0x2ab90d);const _0x10c21f=0x1389;let _0x2c4f7a=class extends _0x333729['RxDisposable']{constructor(_0x1bbd94,_0x17418b,_0x23dec1,_0x3a0585){const _0x42fbed=_0x492c29;super(),_0x56d583(this,'_cursors',new Set()),_0x56d583(this,_0x42fbed(0x317),null),(this[_0x42fbed(0x2a7)]=_0x1bbd94,this[_0x42fbed(0x4a8)]=_0x17418b,this[_0x42fbed(0x322)]=_0x23dec1,this[_0x42fbed(0x31a)]=_0x3a0585,this['_init']());}[_0x492c29(0x45c)](){const _0x12e53a=_0x492c29;this['_sheetSkeletonManagerService'][_0x12e53a(0x2ec)]['pipe'](_0x272e6a[_0x12e53a(0x45a)](this['dispose$']),_0x272e6a[_0x12e53a(0x2b0)](_0x52a407=>{const _0x4c389a=_0x12e53a;if(_0x52a407){const _0x20861b=_0x52a407[_0x4c389a(0x342)];return _0x27440d[_0x4c389a(0x4a3)](this['_collabCursorController'][_0x4c389a(0x3d7)](this[_0x4c389a(0x2a7)][_0x4c389a(0x1e1)]),this[_0x4c389a(0x31a)]['currentTheme$'])[_0x4c389a(0x338)](_0x272e6a[_0x4c389a(0x3a1)](([_0x1b8c71,_0x142f91])=>{const _0x23c03c=_0x4c389a,_0x403468=new Map();return _0x1b8c71[_0x23c03c(0x296)]((_0x4ee41b,_0x1a40ac)=>{const _0x448cdf=_0x23c03c;if(_0x4ee41b['sheetID']===_0x20861b){const _0x953c0={..._0x4ee41b};_0x953c0['color']=this[_0x448cdf(0x31a)][_0x448cdf(0x49f)](_0x4ee41b[_0x448cdf(0x3ef)]),_0x403468[_0x448cdf(0x287)](_0x1a40ac,_0x953c0);}}),{'skeleton':_0x52a407,'cursors':_0x403468};}));}return _0x27440d['of']({'skeleton':null,'cursors':new Map()});}))[_0x12e53a(0x2f2)](({skeleton:_0x51f43f,cursors:_0x3fdc43})=>{const _0x52cf33=_0x12e53a;this[_0x52cf33(0x327)](),_0x51f43f&&this[_0x52cf33(0x429)](_0x51f43f,_0x3fdc43);}),this[_0x12e53a(0x4a8)][_0x12e53a(0x2ec)]['subscribe'](_0xd8ff05=>{const _0xba759b=_0x12e53a;if(_0xd8ff05==null)return;const {skeleton:_0xdd0586}=_0xd8ff05,{scene:_0xeac165}=this[_0xba759b(0x2a7)];_0xeac165[_0xba759b(0x4a7)][_0xba759b(0x2c2)](_0x333729[_0xba759b(0x3af)](_0x4fedc2=>{const _0x3ebf50=_0xba759b;var _0x34aad8,_0x5c0a2c;const {offsetX:_0x13a166,offsetY:_0x1239e3}=_0x4fedc2,{x:_0x29ab97,y:_0x1a0598}=_0xeac165['getRelativeToViewportCoord'](_0x220e15[_0x3ebf50(0x33e)][_0x3ebf50(0x28a)]([_0x13a166,_0x1239e3])),{scaleX:_0x52f4aa,scaleY:_0xb44d34}=_0xeac165['getAncestorScale'](),_0x2dfe51=_0xeac165['getViewport'](_0x220e15['SHEET_VIEWPORT_KEY'][_0x3ebf50(0x1f9)]),_0x2c43bc=_0xeac165[_0x3ebf50(0x3b8)](_0x220e15['Vector2'][_0x3ebf50(0x28a)]([_0x29ab97,_0x1a0598]),_0x2dfe51),_0x266c6d=_0xdd0586[_0x3ebf50(0x443)](_0x13a166,_0x1239e3,_0x52f4aa,_0xb44d34,_0x2c43bc);((_0x34aad8=this[_0x3ebf50(0x317)])==null?void 0x0:_0x34aad8[_0x3ebf50(0x1c4)])===_0x266c6d[_0x3ebf50(0x1c4)]&&((_0x5c0a2c=this['_lastPointer'])==null?void 0x0:_0x5c0a2c['row'])===_0x266c6d['row']||this[_0x3ebf50(0x26c)]['forEach'](_0x5a8658=>{_0x5a8658['onMouseMove'](_0x266c6d);});},0x64));});}[_0x492c29(0x429)](_0x17f1dc,_0x307e80){const _0x1d8369=_0x492c29;var _0x419068;const _0x68415c=(_0x419068=this[_0x1d8369(0x4a8)]['getCurrent']())==null?void 0x0:_0x419068[_0x1d8369(0x41d)];if(!_0x68415c)return;const _0x266b00=this[_0x1d8369(0x3be)]();if(!_0x266b00)return;this[_0x1d8369(0x26c)][_0x1d8369(0x296)](_0x19f12a=>{const _0x4d5090=_0x1d8369;_0x19f12a[_0x4d5090(0x1d6)]();});const {scene:_0x1798fc}=_0x266b00,_0x5e0feb=_0x13a885(Array[_0x1d8369(0x27a)](_0x307e80[_0x1d8369(0x260)]()))[_0x1d8369(0x3a1)](_0x418823=>{const _0x31086f=_0x1d8369,{color:_0x5661b8,range:_0x158421,name:_0xea2709,selection:_0x2bd98a,sheetID:_0x1948c0}=_0x418823,{startColumn:_0x59425f,startRow:_0x109b82,endColumn:_0x23d7b1,endRow:_0x3869f5}=_0x158421,_0x3031b1=_0x46629d[_0x31086f(0x1d5)](_0x109b82,_0x59425f,_0x1798fc,_0x68415c),_0x2ef1d5=_0x46629d[_0x31086f(0x1d5)](_0x3869f5,_0x23d7b1,_0x1798fc,_0x68415c),{columnHeaderHeightAndMarginTop:_0x35e619}=_0x68415c,{startX:_0x4cf4cc,startY:_0x219843}=_0x3031b1,{endX:_0x44f045,endY:_0x14bcdf}=_0x2ef1d5,_0x38cbc7=_0x44f045-_0x4cf4cc,_0xcc5dcf=_0x14bcdf-_0x219843,_0x43bcc4={'labelPosition':_0x219843-_0x35e619>=_0x1f27a2?'top':_0x31086f(0x23c),'sheetID':_0x1948c0,'range':_0x158421,'color':_0x5661b8,'name':_0xea2709,'selection':_0x2bd98a,'left':_0x4cf4cc,'top':_0x219843,'width':_0x38cbc7,'height':_0xcc5dcf,'evented':!0x1,'zIndex':_0x10c21f};return new _0x3138b9(_0xea2709,_0x43bcc4);});_0x1798fc[_0x1d8369(0x35e)](_0x5e0feb,_0x4aa95f),this[_0x1d8369(0x26c)]=new Set(_0x5e0feb);}[_0x492c29(0x327)](){const _0xc18a53=_0x492c29;var _0x91b875;(_0x91b875=this[_0xc18a53(0x26c)])==null||_0x91b875['forEach'](_0x150d8d=>_0x150d8d[_0xc18a53(0x372)]());}[_0x492c29(0x3be)](){const _0x3771d4=_0x492c29;return _0x46629d[_0x3771d4(0x312)](this[_0x3771d4(0x2a7)][_0x3771d4(0x1c9)],this[_0x3771d4(0x2a7)]);}};_0x2c4f7a=_0xdde68([_0x6b219c(0x1,_0x333729[_0x492c29(0x1d3)](_0x46629d[_0x492c29(0x478)])),_0x6b219c(0x2,_0x333729[_0x492c29(0x1d3)](_0x5df748)),_0x6b219c(0x3,_0x333729[_0x492c29(0x1d3)](_0x333729[_0x492c29(0x1dc)]))],_0x2c4f7a);function _0x13a885(_0x245ddf){const _0x2ebb1e=_0x492c29,_0xaf17f9=new Map();return _0x245ddf[_0x2ebb1e(0x296)](_0x313886=>{const _0x4e48f8=_0x2ebb1e;if(_0xaf17f9['has'](_0x313886[_0x4e48f8(0x2d6)])){const _0x78b761=_0xaf17f9['get'](_0x313886['selection']);_0x78b761[_0x4e48f8(0x471)]+=',\x20'+_0x313886['name'];}else _0xaf17f9[_0x4e48f8(0x287)](_0x313886[_0x4e48f8(0x2d6)],_0x313886);}),Array['from'](_0xaf17f9['values']());}var _0x46354d=Object[_0x492c29(0x47c)],_0x362880=(_0x177a50,_0x1b9a7e,_0xd1805b,_0x2eed56)=>{for(var _0xe8b812=_0x2eed56>0x1?void 0x0:_0x2eed56?_0x46354d(_0x1b9a7e,_0xd1805b):_0x1b9a7e,_0x5b999e=_0x177a50['length']-0x1,_0x25307a;_0x5b999e>=0x0;_0x5b999e--)(_0x25307a=_0x177a50[_0x5b999e])&&(_0xe8b812=_0x25307a(_0xe8b812)||_0xe8b812);return _0xe8b812;},_0xc0f695=(_0x4b7aa7,_0x21eddb)=>(_0x19e4ac,_0x4fc87c)=>_0x21eddb(_0x19e4ac,_0x4fc87c,_0x4b7aa7);let _0x4fa748=class extends _0x333729[_0x492c29(0x3c4)]{constructor(_0x1343b9,_0x434646,_0x4fab26,_0xfbd90a,_0x2d2b9b,_0x59940d){const _0x35afc5=_0x492c29;super(),this[_0x35afc5(0x472)]=_0x1343b9,this[_0x35afc5(0x2c0)]=_0x434646,this['_collaborationUIEventService']=_0x4fab26,this[_0x35afc5(0x2af)]=_0xfbd90a,this[_0x35afc5(0x3d4)]=_0x2d2b9b,this[_0x35afc5(0x21c)]=_0x59940d,this[_0x35afc5(0x1d2)](),this[_0x35afc5(0x3b9)]();}[_0x492c29(0x1d2)](){const _0x45f511=_0x492c29;this[_0x45f511(0x212)](this[_0x45f511(0x472)][_0x45f511(0x1ee)](()=>{const _0x2fadac=_0x45f511;if(this[_0x2fadac(0x2c0)][_0x2fadac(0x278)][_0x2fadac(0x210)])return this[_0x2fadac(0x21c)]['t'](_0x2fadac(0x2b6));}));}[_0x492c29(0x3b9)](){const _0x3f5824=_0x492c29;this[_0x3f5824(0x212)](this[_0x3f5824(0x39e)]['event$'][_0x3f5824(0x2f2)](_0x10ba2f=>{const _0xd767fd=_0x3f5824;_0x10ba2f['id']===_0x308558[_0xd767fd(0x47a)]['OTHER_CLIENT_EDITING']&&this[_0xd767fd(0x2af)][_0xd767fd(0x227)]({'type':_0x5363fc['MessageType'][_0xd767fd(0x21b)],'content':this['_localeService']['t'](_0xd767fd(0x1ff))}),_0x10ba2f['id']===_0x308558[_0xd767fd(0x47a)][_0xd767fd(0x417)]&&this[_0xd767fd(0x2af)]['show']({'type':_0x5363fc['MessageType'][_0xd767fd(0x21b)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x10ba2f['id']===_0x308558[_0xd767fd(0x47a)][_0xd767fd(0x348)]&&this['_notificationService']['show']({'title':this[_0xd767fd(0x21c)]['t'](_0xd767fd(0x241)),'content':this['_localeService']['t'](_0xd767fd(0x25c)),'type':_0xd767fd(0x3e7),'duration':0x0}),_0x10ba2f['id']===_0x308558['CollaborationUIEventId']['CONFLICT']&&this[_0xd767fd(0x2af)][_0xd767fd(0x227)]({'type':_0x5363fc['MessageType']['Error'],'content':this[_0xd767fd(0x21c)]['t'](_0xd767fd(0x3c1))+'('+_0x10ba2f[_0xd767fd(0x3d2)]+')'}),_0x10ba2f['id']===_0x308558[_0xd767fd(0x47a)][_0xd767fd(0x300)]&&this['_messageService']['show']({'type':_0x5363fc[_0xd767fd(0x3e2)]['Warning'],'content':this[_0xd767fd(0x21c)]['t'](_0x10ba2f[_0xd767fd(0x3d2)]||'')}),_0x10ba2f['id']===_0x308558[_0xd767fd(0x47a)]['SOCKET_FAILED_RETRY']&&this['_messageService'][_0xd767fd(0x227)]({'type':_0x5363fc[_0xd767fd(0x3e2)][_0xd767fd(0x21b)],'content':this[_0xd767fd(0x21c)]['t'](_0xd767fd(0x482))}),_0x10ba2f['id']===_0x308558[_0xd767fd(0x47a)][_0xd767fd(0x39c)]&&this['_messageService'][_0xd767fd(0x227)]({'type':_0x5363fc['MessageType'][_0xd767fd(0x2d1)],'content':this[_0xd767fd(0x21c)]['t'](_0xd767fd(0x21f))}),_0x10ba2f['id']===_0x308558[_0xd767fd(0x47a)][_0xd767fd(0x29e)]&&this[_0xd767fd(0x2af)][_0xd767fd(0x227)]({'type':_0x5363fc['MessageType']['Error'],'content':this[_0xd767fd(0x21c)]['t'](_0xd767fd(0x267))});}));}};_0x4fa748=_0x362880([_0xc0f695(0x0,_0x270f30[_0x492c29(0x1eb)]),_0xc0f695(0x1,_0x308558[_0x492c29(0x41f)]),_0xc0f695(0x2,_0x333729['Inject'](_0x308558[_0x492c29(0x2a5)])),_0xc0f695(0x3,_0x270f30[_0x492c29(0x24a)]),_0xc0f695(0x4,_0x270f30['INotificationService']),_0xc0f695(0x5,_0x333729['Inject'](_0x333729[_0x492c29(0x34e)]))],_0x4fa748);var _0x4e04bb=Object['getOwnPropertyDescriptor'],_0x2fd1cb=(_0x1ca3ec,_0x65dbd6,_0x188b5d,_0x3f19e2)=>{const _0xe669e7=_0x492c29;for(var _0x18450a=_0x3f19e2>0x1?void 0x0:_0x3f19e2?_0x4e04bb(_0x65dbd6,_0x188b5d):_0x65dbd6,_0x495a89=_0x1ca3ec[_0xe669e7(0x2c5)]-0x1,_0x483ad3;_0x495a89>=0x0;_0x495a89--)(_0x483ad3=_0x1ca3ec[_0x495a89])&&(_0x18450a=_0x483ad3(_0x18450a)||_0x18450a);return _0x18450a;},_0x37e35a=(_0x295b07,_0x4da697)=>(_0x525d77,_0x4b261a)=>_0x4da697(_0x525d77,_0x4b261a,_0x295b07);let _0x40f773=class extends _0x333729[_0x492c29(0x3c4)]{constructor(_0xa89cee,_0x406b46,_0x30629a,_0x27c14f){const _0x5bfd40=_0x492c29;super(),_0x56d583(this,'_memberID'),(this[_0x5bfd40(0x359)]=_0xa89cee,this[_0x5bfd40(0x368)]=_0x406b46,this[_0x5bfd40(0x3ad)]=_0x30629a,this['_collaborationSessionService']=_0x27c14f,this[_0x5bfd40(0x45c)]());}['_init'](){const _0x4ad5a1=_0x492c29;this[_0x4ad5a1(0x26f)](),this[_0x4ad5a1(0x331)](),this[_0x4ad5a1(0x3f7)](),this[_0x4ad5a1(0x34b)]();}[_0x492c29(0x34b)](){const _0x5a470a=_0x492c29;this[_0x5a470a(0x212)](this[_0x5a470a(0x46d)][_0x5a470a(0x2b1)][_0x5a470a(0x2f2)](_0x1b6dd2=>{const _0x18e67c=_0x5a470a;this[_0x18e67c(0x32c)]=_0x1b6dd2==null?void 0x0:_0x1b6dd2[_0x18e67c(0x218)];}));}[_0x492c29(0x26f)](){const _0x26ffdb=_0x492c29,_0x17e0d3=_0x4ad32f=>{const _0x10689d=_0x5251;var _0xdbd0e8;this[_0x10689d(0x273)](_0x10689d(0x3e7),_0x10689d(0x1d8)+_0x4ad32f['message']+_0x10689d(0x406)+_0x4ad32f[_0x10689d(0x35b)]+':'+_0x4ad32f[_0x10689d(0x2c3)]+':'+_0x4ad32f[_0x10689d(0x33a)]+'\x0a'+(((_0xdbd0e8=_0x4ad32f[_0x10689d(0x3e7)])==null?void 0x0:_0xdbd0e8[_0x10689d(0x430)])||''));};window[_0x26ffdb(0x2a9)]('error',_0x17e0d3),this[_0x26ffdb(0x212)](()=>{const _0x37b47d=_0x26ffdb;window[_0x37b47d(0x27f)]('error',_0x17e0d3);});}[_0x492c29(0x331)](){const _0x34e3a2=_0x492c29,_0x595191=_0x402d8c=>{const _0x29d0cf=_0x5251;this[_0x29d0cf(0x273)](_0x29d0cf(0x3e7),_0x29d0cf(0x1d4)+_0x402d8c[_0x29d0cf(0x279)]);};window[_0x34e3a2(0x2a9)](_0x34e3a2(0x263),_0x595191),this[_0x34e3a2(0x212)](()=>{const _0x5a66a6=_0x34e3a2;window[_0x5a66a6(0x27f)](_0x5a66a6(0x263),_0x595191);});}[_0x492c29(0x3f7)](){const _0x45f219=_0x492c29,_0x48644d=this[_0x45f219(0x3ad)][_0x45f219(0x3e7)][_0x45f219(0x1ef)](this[_0x45f219(0x3ad)]);this[_0x45f219(0x3ad)][_0x45f219(0x3e7)]=(..._0x5d9f02)=>{const _0x1e6142=_0x45f219,_0x459756=_0x5d9f02[_0x1e6142(0x3a1)](_0x502e7b=>_0x502e7b instanceof Error?_0x502e7b['message']+'\x0a'+_0x502e7b[_0x1e6142(0x430)]:String(_0x502e7b))[_0x1e6142(0x337)]('\x20');this['_uploadLog']('error','[LogService\x20Error]:\x20'+_0x459756),_0x48644d(..._0x5d9f02);},this[_0x45f219(0x212)](()=>{const _0xa8849c=_0x45f219;this[_0xa8849c(0x3ad)][_0xa8849c(0x3e7)]=_0x48644d;});}[_0x492c29(0x273)](_0x459e20,_0x3a3d1d){const _0x1aba60=_0x492c29;try{const _0x349540={'userId':this[_0x1aba60(0x32c)],'logLabel':_0x459e20,'content':_0x3a3d1d};this[_0x1aba60(0x368)][_0x1aba60(0x20f)]('/universer-api/frontend/logs',{'body':_0x349540})[_0x1aba60(0x21a)](()=>{});}catch{}}};_0x40f773=_0x2fd1cb([_0x37e35a(0x0,_0x333729[_0x492c29(0x1d3)](_0x333729[_0x492c29(0x2c4)])),_0x37e35a(0x1,_0x333729['Inject'](_0x45181c[_0x492c29(0x302)])),_0x37e35a(0x2,_0x333729['ILogService']),_0x37e35a(0x3,_0x333729[_0x492c29(0x1d3)](_0x308558[_0x492c29(0x38b)]))],_0x40f773);const _0x90aaa9='collaboration-client-ui.config',_0x53a6a1={};var _0x2c74fd=Object[_0x492c29(0x47c)],_0x1918fc=(_0xecfe5b,_0x55458f,_0x5c4e3a,_0x166cda)=>{const _0x15d271=_0x492c29;for(var _0x1e4f77=_0x166cda>0x1?void 0x0:_0x166cda?_0x2c74fd(_0x55458f,_0x5c4e3a):_0x55458f,_0x27ddf4=_0xecfe5b[_0x15d271(0x2c5)]-0x1,_0x58a13e;_0x27ddf4>=0x0;_0x27ddf4--)(_0x58a13e=_0xecfe5b[_0x27ddf4])&&(_0x1e4f77=_0x58a13e(_0x1e4f77)||_0x1e4f77);return _0x1e4f77;},_0x52967b=(_0x17b2c6,_0x22c4c1)=>(_0x3171f7,_0x12a931)=>_0x22c4c1(_0x3171f7,_0x12a931,_0x17b2c6);let _0x25eed9=class{constructor(_0x24ab37,_0x49c259){const _0x4f3734=_0x492c29;this[_0x4f3734(0x37d)]=_0x24ab37,this[_0x4f3734(0x355)]=_0x49c259;}['transformIMECache'](_0xef2057){this['_transformUndoRedoStack'](_0xef2057),this['_transformPreviousActiveRange'](_0xef2057);}[_0x492c29(0x3b4)](_0x471194){const _0x5a7964=_0x492c29,{unitID:_0x581897}=_0x471194,_0x66b955=this['_renderManagerService'][_0x5a7964(0x489)](_0x581897)[_0x5a7964(0x43a)](_0x106c52['DocIMEInputManagerService']),{redoCache:_0x1777ef}=_0x66b955[_0x5a7964(0x2cc)]();if(_0x1777ef[_0x5a7964(0x2c5)]===0x0)return _0x471194;let _0x530136=_0x333729['Tools'][_0x5a7964(0x465)](_0x471194[_0x5a7964(0x422)][0x0]);for(let _0x27956f=0x0;_0x27956f<_0x1777ef['length'];_0x27956f++){const _0x2cc832={'id':_0x5a7964(0x44f),'params':{..._0x1777ef[_0x27956f]}},_0x4f6728=this[_0x5a7964(0x37d)][_0x5a7964(0x261)](_0x530136,_0x2cc832,!0x1);if(_0x49182d[_0x5a7964(0x2dc)](_0x4f6728))throw _0x4f6728['error'];_0x530136=_0x4f6728[_0x5a7964(0x1c6)];}return{..._0x333729['Tools'][_0x5a7964(0x465)](_0x471194),'mutations':[_0x530136]};}['_transformUndoRedoStack'](_0x3a4e6c){const _0x385f87=_0x492c29,{unitID:_0x531ced}=_0x3a4e6c,_0x2b0d39=this[_0x385f87(0x355)][_0x385f87(0x489)](_0x531ced)[_0x385f87(0x43a)](_0x106c52[_0x385f87(0x1f4)]),{undoCache:_0x148fa0,redoCache:_0x163aaa}=_0x2b0d39[_0x385f87(0x2cc)]();if(_0x148fa0[_0x385f87(0x2c5)]===0x0||_0x163aaa[_0x385f87(0x2c5)]===0x0)return;const _0x477a19=[],_0x588833=[];let _0x240d0c=_0x333729[_0x385f87(0x2a3)][_0x385f87(0x465)](_0x3a4e6c[_0x385f87(0x422)][0x0]),_0x35114c=_0x333729[_0x385f87(0x2a3)]['deepClone'](_0x3a4e6c['mutations'][0x0]);for(let _0x58359e=_0x148fa0[_0x385f87(0x2c5)]-0x1;_0x58359e>=0x0;_0x58359e--){const _0x46f235={'id':_0x385f87(0x44f),'params':{..._0x148fa0[_0x58359e]}},_0xebe4e9={'id':_0x385f87(0x44f),'params':{..._0x163aaa[_0x58359e]}},_0x387cc4=this['_transformService'][_0x385f87(0x261)](_0x240d0c,_0x46f235,!0x1),_0x37fa35=this[_0x385f87(0x37d)][_0x385f87(0x261)](_0x35114c,_0xebe4e9,!0x1);if(_0x49182d[_0x385f87(0x2dc)](_0x387cc4))throw _0x387cc4[_0x385f87(0x3e7)];if(_0x49182d['isTransformMutationFailure'](_0x37fa35))throw _0x37fa35[_0x385f87(0x3e7)];_0x477a19['unshift'](_0x387cc4[_0x385f87(0x1db)][_0x385f87(0x292)]),_0x588833[_0x385f87(0x2b3)](_0x37fa35[_0x385f87(0x1db)]['params']),_0x240d0c=_0x387cc4[_0x385f87(0x1c6)],_0x35114c=_0x37fa35[_0x385f87(0x1c6)];}_0x2b0d39[_0x385f87(0x1cf)]({'undoCache':_0x477a19,'redoCache':_0x588833});}[_0x492c29(0x2e1)](_0x19bda0){const _0x37919e=_0x492c29,{unitID:_0x3ffa14}=_0x19bda0,_0x8d6373=this['_renderManagerService'][_0x37919e(0x489)](_0x3ffa14)[_0x37919e(0x43a)](_0x106c52[_0x37919e(0x1f4)]),_0x25260b=_0x8d6373[_0x37919e(0x441)]();if(_0x25260b==null)return;const _0x145be0=[{'id':_0x37919e(0x44f),'params':{'unitId':_0x19bda0['unitID'],'actions':null,'textRanges':[_0x25260b]}}],_0x3c5df5=this[_0x37919e(0x37d)][_0x37919e(0x480)](_0x19bda0,_0x145be0);if(!_0x49182d[_0x37919e(0x40b)](_0x3c5df5))throw _0x3c5df5['error'];const _0x11ff9f=_0x3c5df5[_0x37919e(0x1db)][0x0]['params']['textRanges'];Array[_0x37919e(0x3b2)](_0x11ff9f)&&_0x11ff9f[_0x37919e(0x2c5)]&&_0x8d6373[_0x37919e(0x2fa)](_0x11ff9f[0x0]);}};_0x25eed9=_0x1918fc([_0x52967b(0x0,_0x49182d['ITransformService']),_0x52967b(0x1,_0x220e15['IRenderManagerService'])],_0x25eed9);var _0x2c9ea4=Object[_0x492c29(0x47c)],_0x5aaff4=(_0x42e684,_0x2e7bd5,_0x569c8a,_0x305f90)=>{for(var _0x25b1c1=_0x305f90>0x1?void 0x0:_0x305f90?_0x2c9ea4(_0x2e7bd5,_0x569c8a):_0x2e7bd5,_0x215f39=_0x42e684['length']-0x1,_0x687063;_0x215f39>=0x0;_0x215f39--)(_0x687063=_0x42e684[_0x215f39])&&(_0x25b1c1=_0x687063(_0x25b1c1)||_0x25b1c1);return _0x25b1c1;},_0x732ab=(_0x2ae60a,_0x585b4a)=>(_0x43bd43,_0x134ae8)=>_0x585b4a(_0x43bd43,_0x134ae8,_0x2ae60a);let _0x2faccb=class{constructor(_0x28b55b,_0x1f265a,_0x476a41){const _0xbf4f4=_0x492c29;this[_0xbf4f4(0x359)]=_0x28b55b,this[_0xbf4f4(0x37d)]=_0x1f265a,this[_0xbf4f4(0x248)]=_0x476a41;}['transformStateCache'](_0x53bbc9){const _0x3f931f=_0x492c29;this[_0x3f931f(0x3e6)](_0x53bbc9);}[_0x492c29(0x3b4)](_0xbe9512){const _0x3b0c7b=_0x492c29,{unitID:_0x5223d4}=_0xbe9512,{collaboration:_0x266e33}=this[_0x3b0c7b(0x248)][_0x3b0c7b(0x442)](_0x5223d4);if(_0x266e33[_0x3b0c7b(0x2c5)]===0x0)return _0xbe9512;let _0x17b2e7=_0x333729[_0x3b0c7b(0x2a3)][_0x3b0c7b(0x465)](_0xbe9512[_0x3b0c7b(0x422)][0x0]);for(let _0x11d024=0x0;_0x11d024<_0x266e33[_0x3b0c7b(0x2c5)];_0x11d024++){const _0x456b01={'id':_0x3b0c7b(0x44f),'params':{'unitId':_0x266e33[_0x11d024][_0x3b0c7b(0x1e1)],..._0x266e33[_0x11d024][_0x3b0c7b(0x431)]}},_0x427afd=this[_0x3b0c7b(0x37d)][_0x3b0c7b(0x261)](_0x17b2e7,_0x456b01,!0x1);if(_0x49182d['isTransformMutationFailure'](_0x427afd))throw _0x427afd['error'];_0x17b2e7=_0x427afd['m1Prime'];}return{..._0x333729[_0x3b0c7b(0x2a3)][_0x3b0c7b(0x465)](_0xbe9512),'mutations':[_0x17b2e7]};}[_0x492c29(0x3e6)](_0x3e4cb6){const _0x104125=_0x492c29,{unitID:_0x29a538}=_0x3e4cb6,{history:_0x4ff06c,collaboration:_0x4f504f}=this[_0x104125(0x248)][_0x104125(0x442)](_0x29a538);if(_0x4ff06c[_0x104125(0x2c5)]===0x0&&_0x4f504f['length']===0x0)return;const _0x590302=[],_0x50c7c1=[];let _0x523256=_0x333729['Tools'][_0x104125(0x465)](_0x3e4cb6['mutations'][0x0]),_0x252db0=_0x333729[_0x104125(0x2a3)][_0x104125(0x465)](_0x3e4cb6[_0x104125(0x422)][0x0]);for(let _0xfb78f0=_0x4ff06c[_0x104125(0x2c5)]-0x1;_0xfb78f0>=0x0;_0xfb78f0--){const _0x39f8c8={'id':_0x104125(0x44f),'params':{'unitId':_0x4ff06c[_0xfb78f0][_0x104125(0x1e1)],..._0x4ff06c[_0xfb78f0][_0x104125(0x238)]}},_0x3b290c={'id':_0x104125(0x44f),'params':{'unitId':_0x4ff06c[_0xfb78f0]['unitId'],..._0x4ff06c[_0xfb78f0]['redoState']}},_0x52f9cc=this['_transformService'][_0x104125(0x261)](_0x523256,_0x39f8c8,!0x1),_0x1336ea=this[_0x104125(0x37d)][_0x104125(0x261)](_0x252db0,_0x3b290c,!0x1);if(_0x49182d[_0x104125(0x2dc)](_0x52f9cc))throw _0x52f9cc['error'];if(_0x49182d['isTransformMutationFailure'](_0x1336ea))throw _0x1336ea[_0x104125(0x3e7)];_0x590302[_0x104125(0x2b3)]({..._0x4ff06c[_0xfb78f0],'undoState':_0x52f9cc[_0x104125(0x1db)][_0x104125(0x292)],'redoState':_0x1336ea[_0x104125(0x1db)]['params']}),_0x523256=_0x52f9cc[_0x104125(0x1c6)],_0x252db0=_0x1336ea['m1Prime'];}_0x523256=_0x333729['Tools'][_0x104125(0x465)](_0x3e4cb6['mutations'][0x0]),_0x252db0=_0x333729['Tools'][_0x104125(0x465)](_0x3e4cb6[_0x104125(0x422)][0x0]);for(let _0x44d49c=_0x4f504f[_0x104125(0x2c5)]-0x1;_0x44d49c>=0x0;_0x44d49c--){const _0x51bf53={'id':_0x104125(0x44f),'params':{'unitId':_0x4f504f[_0x44d49c]['unitId'],..._0x4f504f[_0x44d49c][_0x104125(0x238)]}},_0x2534ff={'id':_0x104125(0x44f),'params':{'unitId':_0x4f504f[_0x44d49c][_0x104125(0x1e1)],..._0x4f504f[_0x44d49c][_0x104125(0x431)]}},_0x2bd052=this[_0x104125(0x37d)][_0x104125(0x261)](_0x523256,_0x51bf53,!0x1),_0x4ae975=this[_0x104125(0x37d)]['transformMutation'](_0x252db0,_0x2534ff,!0x1);if(_0x49182d[_0x104125(0x2dc)](_0x2bd052))throw _0x2bd052[_0x104125(0x3e7)];if(_0x49182d[_0x104125(0x2dc)](_0x4ae975))throw _0x4ae975[_0x104125(0x3e7)];_0x50c7c1['unshift']({..._0x4f504f[_0x44d49c],'undoState':_0x2bd052[_0x104125(0x1db)][_0x104125(0x292)],'redoState':_0x4ae975['m2Prime'][_0x104125(0x292)]}),_0x523256=_0x2bd052[_0x104125(0x1c6)],_0x252db0=_0x4ae975['m1Prime'];}this[_0x104125(0x248)][_0x104125(0x37b)](_0x29a538,{'history':_0x590302,'collaboration':_0x50c7c1});}};_0x2faccb=_0x5aaff4([_0x732ab(0x0,_0x333729[_0x492c29(0x1d3)](_0x333729[_0x492c29(0x2c4)])),_0x732ab(0x1,_0x49182d[_0x492c29(0x42b)]),_0x732ab(0x2,_0x333729[_0x492c29(0x1d3)](_0x106c52[_0x492c29(0x32f)]))],_0x2faccb);var _0x5d57c2=Object['getOwnPropertyDescriptor'],_0x4244bf=(_0x23f043,_0x895f7b,_0x227419,_0x2b527c)=>{for(var _0x267cc=_0x2b527c>0x1?void 0x0:_0x2b527c?_0x5d57c2(_0x895f7b,_0x227419):_0x895f7b,_0x53ef37=_0x23f043['length']-0x1,_0x2fd92c;_0x53ef37>=0x0;_0x53ef37--)(_0x2fd92c=_0x23f043[_0x53ef37])&&(_0x267cc=_0x2fd92c(_0x267cc)||_0x267cc);return _0x267cc;},_0x1c6161=(_0x521622,_0xa9473b)=>(_0x9aaabf,_0x4eef1c)=>_0xa9473b(_0x9aaabf,_0x4eef1c,_0x521622);let _0x3f49e6=class{constructor(_0x270508,_0x21b2f0){const _0x323ae6=_0x492c29;this['_injector']=_0x270508,this[_0x323ae6(0x37d)]=_0x21b2f0;}[_0x492c29(0x3c0)](_0x319b52){const _0xcd5d4f=_0x492c29;var _0x1aadb3;const _0x1c5a81=this[_0xcd5d4f(0x359)][_0xcd5d4f(0x385)](_0x73cf4e[_0xcd5d4f(0x25a)]),_0x1b2373=(_0x1aadb3=_0x1c5a81['getDocRanges']())!=null?_0x1aadb3:[];if(_0x1b2373[_0xcd5d4f(0x2c5)]===0x0)return;const _0x41da97=_0x319b52[_0xcd5d4f(0x256)],_0x223447=[{'id':_0xcd5d4f(0x44f),'params':{'unitId':_0x41da97,'actions':null,'textRanges':_0x1b2373}}],_0x1ab145=this[_0xcd5d4f(0x37d)]['transformMutationsWithChangeset'](_0x319b52,_0x223447);if(!_0x49182d['isTransformMutationsWithChangesetSuccess'](_0x1ab145))throw _0x1ab145[_0xcd5d4f(0x3e7)];const _0xb91146=_0x1ab145[_0xcd5d4f(0x1db)][0x0][_0xcd5d4f(0x292)][_0xcd5d4f(0x4a5)];Array[_0xcd5d4f(0x3b2)](_0xb91146)&&_0xb91146[_0xcd5d4f(0x2c5)]&&_0x1c5a81[_0xcd5d4f(0x36b)](_0xb91146,{'unitId':_0x41da97,'subUnitId':_0x41da97},!0x1);}};_0x3f49e6=_0x4244bf([_0x1c6161(0x0,_0x333729[_0x492c29(0x1d3)](_0x333729[_0x492c29(0x2c4)])),_0x1c6161(0x1,_0x49182d['ITransformService'])],_0x3f49e6);var _0x2dabfd=Object[_0x492c29(0x47c)],_0x11f1ed=(_0x2acb22,_0x14699f,_0x28c409,_0x40aaff)=>{const _0x3f5261=_0x492c29;for(var _0x51c937=_0x40aaff>0x1?void 0x0:_0x40aaff?_0x2dabfd(_0x14699f,_0x28c409):_0x14699f,_0x17b4b8=_0x2acb22[_0x3f5261(0x2c5)]-0x1,_0x58b8b1;_0x17b4b8>=0x0;_0x17b4b8--)(_0x58b8b1=_0x2acb22[_0x17b4b8])&&(_0x51c937=_0x58b8b1(_0x51c937)||_0x51c937);return _0x51c937;},_0x26efbe=(_0x1c2e11,_0x22ab55)=>(_0x194908,_0xbae10c)=>_0x22ab55(_0x194908,_0xbae10c,_0x1c2e11);let _0x1d6816=class extends _0x333729[_0x492c29(0x3c4)]{constructor(_0x12b7ec,_0xa8986d,_0x351903,_0x2ff941,_0x1482eb,_0x4e3a04,_0x12a748,_0x49c975){const _0x4e327c=_0x492c29;super(),_0x56d583(this,_0x4e327c(0x445),new _0x27440d[(_0x4e327c(0x293))](_0x308558[_0x4e327c(0x1f2)][_0x4e327c(0x3c3)])),(this[_0x4e327c(0x248)]=_0x12b7ec,this[_0x4e327c(0x45d)]=_0xa8986d,this[_0x4e327c(0x3ce)]=_0x351903,this[_0x4e327c(0x383)]=_0x2ff941,this[_0x4e327c(0x25b)]=_0x1482eb,this[_0x4e327c(0x36e)]=_0x4e3a04,this[_0x4e327c(0x2af)]=_0x12a748,this[_0x4e327c(0x21c)]=_0x49c975,this['_initEntityListener']());}[_0x492c29(0x326)](){const _0x19e0f7=_0x492c29;this[_0x19e0f7(0x212)](this[_0x19e0f7(0x45d)][_0x19e0f7(0x2f4)][_0x19e0f7(0x2f2)](_0x59b3c0=>{const _0x6f0886=_0x19e0f7,_0xa2b003=this[_0x6f0886(0x248)][_0x6f0886(0x2bc)]['subscribe'](_0x22f75b=>{const _0x39ec41=_0x6f0886;if(_0x22f75b==null)return;const {unitId:_0x2480ba,redoState:_0x5b1fd8,commandId:_0x33655a}=_0x22f75b;if(_0x2480ba!==_0x59b3c0[_0x39ec41(0x256)])return;const _0x2e3306={'id':_0x33655a,'type':_0x333729[_0x39ec41(0x3c5)][_0x39ec41(0x22f)],'params':{'unitId':_0x2480ba,'actions':_0x5b1fd8[_0x39ec41(0x2e9)],'textRanges':null}};_0x59b3c0[_0x39ec41(0x323)](_0x2e3306);});if(_0x59b3c0[_0x6f0886(0x212)](_0xa2b003),_0x59b3c0 instanceof _0x308558['DocCollaborationEntity']){const _0x378f92={'onTransformIME':_0x5962e1=>this[_0x6f0886(0x3ce)][_0x6f0886(0x376)](_0x5962e1),'onTransformState':_0x49c631=>this[_0x6f0886(0x383)][_0x6f0886(0x345)](_0x49c631),'onTransformSelections':_0x32c3b0=>this[_0x6f0886(0x25b)][_0x6f0886(0x3c0)](_0x32c3b0),'onSyncEditingCollabCursor':_0xaa7dbb=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0xaa7dbb),'onTransformRemoteChangesetByIMECache':_0x5d02f6=>this[_0x6f0886(0x3ce)][_0x6f0886(0x3b4)](_0x5d02f6),'onTransformRemoteChangesetByStateCache':_0x469f5e=>this[_0x6f0886(0x383)]['transformRemoteChangeset'](_0x469f5e)};_0x59b3c0[_0x6f0886(0x458)](_0x378f92);}}));}};_0x1d6816=_0x11f1ed([_0x26efbe(0x0,_0x333729[_0x492c29(0x1d3)](_0x106c52['DocStateChangeManagerService'])),_0x26efbe(0x1,_0x333729[_0x492c29(0x1d3)](_0x308558[_0x492c29(0x3a9)])),_0x26efbe(0x2,_0x333729[_0x492c29(0x1d3)](_0x25eed9)),_0x26efbe(0x3,_0x333729[_0x492c29(0x1d3)](_0x2faccb)),_0x26efbe(0x4,_0x333729[_0x492c29(0x1d3)](_0x3f49e6)),_0x26efbe(0x5,_0x333729['Inject'](_0x319393)),_0x26efbe(0x6,_0x270f30['IMessageService']),_0x26efbe(0x7,_0x333729[_0x492c29(0x1d3)](_0x333729['LocaleService']))],_0x1d6816);var _0x11269e=(_0x5dcbff=>(_0x5dcbff[_0x5dcbff[_0x492c29(0x3a2)]=0x0]=_0x492c29(0x3a2),_0x5dcbff[_0x5dcbff['OK']=0x1]='OK',_0x5dcbff[_0x5dcbff[_0x492c29(0x219)]=0x2]=_0x492c29(0x219),_0x5dcbff[_0x5dcbff[_0x492c29(0x348)]=0x3]=_0x492c29(0x348),_0x5dcbff[_0x5dcbff['NOT_FOUND']=0x4]=_0x492c29(0x24b),_0x5dcbff[_0x5dcbff['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x5dcbff[_0x5dcbff['ALREADY_EXISTS']=0x6]=_0x492c29(0x274),_0x5dcbff[_0x5dcbff[_0x492c29(0x250)]=0x7]=_0x492c29(0x250),_0x5dcbff[_0x5dcbff[_0x492c29(0x35a)]=0x8]=_0x492c29(0x35a),_0x5dcbff[_0x5dcbff[_0x492c29(0x3fc)]=0x9]=_0x492c29(0x3fc),_0x5dcbff[_0x5dcbff[_0x492c29(0x2ff)]=0xa]=_0x492c29(0x2ff),_0x5dcbff[_0x5dcbff[_0x492c29(0x336)]=0xb]=_0x492c29(0x336),_0x5dcbff[_0x5dcbff['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x5dcbff[_0x5dcbff[_0x492c29(0x26e)]=0xd]=_0x492c29(0x26e),_0x5dcbff[_0x5dcbff['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x492c29(0x41a),_0x5dcbff[_0x5dcbff[_0x492c29(0x423)]=0xf]=_0x492c29(0x423),_0x5dcbff[_0x5dcbff['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x492c29(0x290),_0x5dcbff[_0x5dcbff['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x492c29(0x2b4),_0x5dcbff[_0x5dcbff[_0x492c29(0x232)]=0x65]=_0x492c29(0x232),_0x5dcbff[_0x5dcbff[_0x492c29(0x452)]=0xc9]=_0x492c29(0x452),_0x5dcbff[_0x5dcbff[_0x492c29(0x234)]=0xca]='USER_IS_ANONYMOUS',_0x5dcbff[_0x5dcbff[_0x492c29(0x240)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5dcbff[_0x5dcbff[_0x492c29(0x24e)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5dcbff[_0x5dcbff[_0x492c29(0x386)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x5dcbff[_0x5dcbff[_0x492c29(0x3ee)]=0x1773]=_0x492c29(0x3ee),_0x5dcbff[_0x5dcbff['APPLY_REJECT']=0x1b59]=_0x492c29(0x330),_0x5dcbff[_0x5dcbff['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x492c29(0x299),_0x5dcbff[_0x5dcbff[_0x492c29(0x251)]=0x1b5b]=_0x492c29(0x251),_0x5dcbff[_0x5dcbff['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x492c29(0x272),_0x5dcbff[_0x5dcbff['APPLY_DUPLICATED']=0x1b5d]=_0x492c29(0x3c2),_0x5dcbff[_0x5dcbff[_0x492c29(0x35c)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x5dcbff[_0x5dcbff[_0x492c29(0x3fe)]=0x2329]=_0x492c29(0x3fe),_0x5dcbff[_0x5dcbff[_0x492c29(0x435)]=0x232a]=_0x492c29(0x435),_0x5dcbff[_0x5dcbff['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x492c29(0x492),_0x5dcbff[_0x5dcbff[_0x492c29(0x1b8)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x5dcbff[_0x5dcbff[_0x492c29(0x333)]=0x232d]=_0x492c29(0x333),_0x5dcbff[_0x5dcbff[_0x492c29(0x1f7)]=0x2711]=_0x492c29(0x1f7),_0x5dcbff[_0x5dcbff[_0x492c29(0x2c7)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x5dcbff[_0x5dcbff[_0x492c29(0x3f8)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5dcbff[_0x5dcbff[_0x492c29(0x2b9)]=0x2714]=_0x492c29(0x2b9),_0x5dcbff[_0x5dcbff['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x492c29(0x284),_0x5dcbff[_0x5dcbff[_0x492c29(0x2e7)]=0x271b]=_0x492c29(0x2e7),_0x5dcbff[_0x5dcbff[_0x492c29(0x3f5)]=0x271c]=_0x492c29(0x3f5),_0x5dcbff[_0x5dcbff[_0x492c29(0x4a2)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x5dcbff[_0x5dcbff[_0x492c29(0x2fe)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x5dcbff[_0x5dcbff[_0x492c29(0x2ac)]=0x271f]=_0x492c29(0x2ac),_0x5dcbff[_0x5dcbff[_0x492c29(0x2cb)]=0x2720]=_0x492c29(0x2cb),_0x5dcbff[_0x5dcbff['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x5dcbff[_0x5dcbff['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x492c29(0x410),_0x5dcbff[_0x5dcbff['INVALID_INVITE_CODE']=0x2ee2]=_0x492c29(0x28f),_0x5dcbff[_0x5dcbff[_0x492c29(0x363)]=0x2ee3]=_0x492c29(0x363),_0x5dcbff[_0x5dcbff[_0x492c29(0x2f1)]=0x2ee4]=_0x492c29(0x2f1),_0x5dcbff[_0x5dcbff['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x5dcbff[_0x5dcbff[_0x492c29(0x34c)]=0x32c9]=_0x492c29(0x34c),_0x5dcbff[_0x5dcbff[_0x492c29(0x2f3)]=0x32ca]=_0x492c29(0x2f3),_0x5dcbff[_0x5dcbff[_0x492c29(0x1c3)]=0x32cb]=_0x492c29(0x1c3),_0x5dcbff[_0x5dcbff[_0x492c29(0x4a6)]=0x36b1]=_0x492c29(0x4a6),_0x5dcbff[_0x5dcbff[_0x492c29(0x43e)]=0x36b2]=_0x492c29(0x43e),_0x5dcbff[_0x5dcbff[_0x492c29(0x3de)]=0x36b3]=_0x492c29(0x3de),_0x5dcbff[_0x5dcbff['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x492c29(0x453),_0x5dcbff[_0x5dcbff[_0x492c29(0x39b)]=0x36b5]=_0x492c29(0x39b),_0x5dcbff[_0x5dcbff[_0x492c29(0x463)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x5dcbff[_0x5dcbff[_0x492c29(0x3d8)]=0x36b7]=_0x492c29(0x3d8),_0x5dcbff[_0x5dcbff[_0x492c29(0x433)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x5dcbff[_0x5dcbff[_0x492c29(0x454)]=0x3715]=_0x492c29(0x454),_0x5dcbff[_0x5dcbff[_0x492c29(0x2f9)]=0x3716]=_0x492c29(0x2f9),_0x5dcbff[_0x5dcbff[_0x492c29(0x3a5)]=0x3717]=_0x492c29(0x3a5),_0x5dcbff[_0x5dcbff[_0x492c29(0x2a8)]=0x37dd]=_0x492c29(0x2a8),_0x5dcbff[_0x5dcbff['REDEMPTION_INVALID_CODE']=0x3a99]=_0x492c29(0x32e),_0x5dcbff[_0x5dcbff[_0x492c29(0x301)]=0x3a9a]=_0x492c29(0x301),_0x5dcbff[_0x5dcbff[_0x492c29(0x3d5)]=0x3a9b]=_0x492c29(0x3d5),_0x5dcbff[_0x5dcbff['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x492c29(0x396),_0x5dcbff[_0x5dcbff[_0x492c29(0x30f)]=0x3a9d]=_0x492c29(0x30f),_0x5dcbff[_0x5dcbff[_0x492c29(0x281)]=0x3a9e]=_0x492c29(0x281),_0x5dcbff[_0x5dcbff[_0x492c29(0x223)]=0x3a9f]=_0x492c29(0x223),_0x5dcbff[_0x5dcbff[_0x492c29(0x2d5)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x5dcbff[_0x5dcbff[_0x492c29(0x27e)]=-0x1]=_0x492c29(0x27e),_0x5dcbff))(_0x11269e||{});function _0x7336c(_0x1d78bf){const _0x3a14ba=_0x492c29;var _0xd283cf,_0x3d854c;const _0x33ffc0=(_0xd283cf=_0x1d78bf[_0x3a14ba(0x2ee)])==null?void 0x0:_0xd283cf['stage'],_0x1a6baf=((_0x3d854c=_0x1d78bf['stageInfo'])==null?void 0x0:_0x3d854c[_0x3a14ba(0x3cc)])||0x0;return _0x33ffc0===_0x5b915e[_0x3a14ba(0x394)][_0x3a14ba(0x1e6)]&&_0x1a6baf>0x0;}function _0x25c200(_0x3f1d88){const _0x598050=_0x492c29;return _0x3f1d88[_0x598050(0x1f8)]===_0x5b915e[_0x598050(0x46f)][_0x598050(0x38d)];}var _0x2445ee=Object['getOwnPropertyDescriptor'],_0x642bfc=(_0x49fac4,_0x515844,_0x107217,_0x2b2a60)=>{const _0x1c54b9=_0x492c29;for(var _0x1b97ef=_0x2b2a60>0x1?void 0x0:_0x2b2a60?_0x2445ee(_0x515844,_0x107217):_0x515844,_0x46c61e=_0x49fac4[_0x1c54b9(0x2c5)]-0x1,_0x2b1d45;_0x46c61e>=0x0;_0x46c61e--)(_0x2b1d45=_0x49fac4[_0x46c61e])&&(_0x1b97ef=_0x2b1d45(_0x1b97ef)||_0x1b97ef);return _0x1b97ef;},_0x47b09b=(_0x418cd0,_0x3e8b41)=>(_0x3b65d9,_0xc0c21d)=>_0x3e8b41(_0x3b65d9,_0xc0c21d,_0x418cd0);const _0x4a25eb=_0x492c29(0x226),_0x3d14d1=_0x492c29(0x1d7),_0x167be4=_0x492c29(0x328);let _0x517451=class extends _0x333729[_0x492c29(0x3c4)]{constructor(_0xe72a6b,_0x575a27,_0x242948,_0x1e9427,_0x433814,_0x496c34,_0x5ddd50){const _0x5c44c7=_0x492c29;super(),_0x56d583(this,_0x5c44c7(0x313),null),_0x56d583(this,'_maxFormulaLimit',0x0),_0x56d583(this,_0x5c44c7(0x32a),0x0),_0x56d583(this,_0x5c44c7(0x24d),[]),_0x56d583(this,_0x5c44c7(0x2c8),0x0),(this[_0x5c44c7(0x2af)]=_0xe72a6b,this[_0x5c44c7(0x3ac)]=_0x575a27,this[_0x5c44c7(0x298)]=_0x242948,this[_0x5c44c7(0x368)]=_0x1e9427,this[_0x5c44c7(0x378)]=_0x433814,this[_0x5c44c7(0x3ad)]=_0x496c34,this[_0x5c44c7(0x21c)]=_0x5ddd50,this[_0x5c44c7(0x20e)]());}[_0x492c29(0x20e)](){const _0x4c9636=_0x492c29;this[_0x4c9636(0x212)](this[_0x4c9636(0x3ac)]['beforeCommandExecuted']((_0x4f6541,_0x299bf3)=>{const _0x3b1bd0=_0x4c9636;var _0x297bd1;if(_0x4f6541['id']!==_0x5b915e['SetFormulaCalculationStartMutation']['id'])return;const _0x25872a=_0x4f6541[_0x3b1bd0(0x292)];if(!this[_0x3b1bd0(0x38a)]((_0x297bd1=_0x25872a[_0x3b1bd0(0x3fa)])!=null?_0x297bd1:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x3b1bd0(0x1fa)](_0x4f6541,_0x299bf3),this[_0x3b1bd0(0x22a)](),new _0x333729[(_0x3b1bd0(0x217))]();})),this[_0x4c9636(0x212)](this['_commandService']['onCommandExecuted']((_0x358bb0,_0x2fa5ad)=>{const _0x35d109=_0x4c9636;if(_0x358bb0['id']!==_0x5b915e[_0x35d109(0x34f)]['id'])return;const _0x5a066d=_0x358bb0[_0x35d109(0x292)];if(_0x7336c(_0x5a066d)){const _0x27e46e=_0x333729['generateRandomId']();this['_taskIds'][_0x35d109(0x28e)](_0x27e46e),this['_startCalculationLimit'](_0x27e46e);}else{if(_0x25c200(_0x5a066d)&&this[_0x35d109(0x24d)][_0x35d109(0x2c5)]>0x0){const _0x1c1b5a=this[_0x35d109(0x24d)][_0x35d109(0x33f)]();this[_0x35d109(0x3cd)](_0x1c1b5a);}}}));}[_0x492c29(0x372)](){const _0x319cff=_0x492c29;super[_0x319cff(0x372)](),this[_0x319cff(0x46a)](),this[_0x319cff(0x24d)]=[],this[_0x319cff(0x32a)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x319cff(0x2c8)]=0x0;}async[_0x492c29(0x1fa)](_0x3f46b7,_0x20c20b){const _0xea563e=_0x492c29;for(let _0x5956c5=0x0;_0x5956c5<0x1e;_0x5956c5++)try{if(await this[_0xea563e(0x3ae)](),this[_0xea563e(0x23e)]()){this[_0xea563e(0x3e1)](_0x3f46b7,_0x20c20b),this[_0xea563e(0x2af)][_0xea563e(0x227)]({'content':this[_0xea563e(0x21c)]['t']('formula.calculation.started'),'type':_0x5363fc[_0xea563e(0x3e2)]['Success']});return;}await new Promise(_0x3d287a=>{const _0x1060d6=_0xea563e;this[_0x1060d6(0x313)]=window[_0x1060d6(0x384)](_0x3d287a,0x3e8);});}catch(_0xc6be79){this[_0xea563e(0x3ad)][_0xea563e(0x3e7)](_0xc6be79);}this[_0xea563e(0x2af)][_0xea563e(0x227)]({'content':this[_0xea563e(0x21c)]['t']('formula.calculation.unable'),'type':_0x5363fc[_0xea563e(0x3e2)]['Error']});}[_0x492c29(0x3e1)](_0x2b53ec,_0x989772){const _0x35ae93=_0x492c29;try{this[_0x35ae93(0x3ac)][_0x35ae93(0x282)](_0x2b53ec['id'],_0x2b53ec[_0x35ae93(0x292)],_0x989772);}catch(_0x539c56){this[_0x35ae93(0x3ad)][_0x35ae93(0x3e7)](_0x539c56);}}[_0x492c29(0x43b)](_0xd262dd,_0x575658){const _0xedd165=_0x492c29;_0x575658<this[_0xedd165(0x2c8)]||(this[_0xedd165(0x2c8)]=_0x575658,this[_0xedd165(0x36a)]=Number[_0xedd165(0x277)](_0xd262dd[_0xedd165(0x3bb)]),this['_currentUsage']=Number[_0xedd165(0x277)](_0xd262dd['currentUsage']));}async[_0x492c29(0x353)](_0x557280){const _0x3e4096=_0x492c29;var _0x59b261,_0x293a87;const _0x555fea=Date[_0x3e4096(0x1e4)]();try{const _0x323a84=((_0x59b261=this[_0x3e4096(0x298)][_0x3e4096(0x4a4)](_0x308558[_0x3e4096(0x2a4)]))==null?void 0x0:_0x59b261[_0x3e4096(0x253)])||_0x3d14d1,_0x5732bb=(await this[_0x3e4096(0x368)]['post'](_0x323a84,{'body':JSON[_0x3e4096(0x34d)]({'taskId':_0x557280})}))[_0x3e4096(0x30d)];if(((_0x293a87=_0x5732bb[_0x3e4096(0x3e7)])==null?void 0x0:_0x293a87[_0x3e4096(0x3e9)])!==_0x11269e['OK'])return;this[_0x3e4096(0x43b)](_0x5732bb[_0x3e4096(0x2f7)],_0x555fea);}catch(_0xa70552){this['_logService']['error'](_0xa70552);}}async[_0x492c29(0x3ae)](_0x158e14){const _0xfad2e3=_0x492c29;var _0x5c63a7,_0x2dc70d;const _0x1084cd=Date[_0xfad2e3(0x1e4)]();try{const _0x51f273=((_0x5c63a7=this[_0xfad2e3(0x298)]['getConfig'](_0x308558[_0xfad2e3(0x2a4)]))==null?void 0x0:_0x5c63a7[_0xfad2e3(0x4aa)])||_0x4a25eb,_0x17719f=_0x158e14?_0x51f273+_0xfad2e3(0x340)+encodeURIComponent(_0x158e14):_0x51f273,_0x364bb5=(await this[_0xfad2e3(0x368)][_0xfad2e3(0x385)](_0x17719f))[_0xfad2e3(0x30d)];if(((_0x2dc70d=_0x364bb5[_0xfad2e3(0x3e7)])==null?void 0x0:_0x2dc70d[_0xfad2e3(0x3e9)])!==_0x11269e['OK'])return;this[_0xfad2e3(0x43b)](_0x364bb5[_0xfad2e3(0x2f7)],_0x1084cd);}catch(_0x30845c){this[_0xfad2e3(0x3ad)]['error'](_0x30845c);}}async[_0x492c29(0x3cd)](_0x26f8c4){const _0x59d37f=_0x492c29;var _0xc2af29,_0x1caba4;const _0x5db0be=Date[_0x59d37f(0x1e4)]();try{const _0x5b2f1b=((_0xc2af29=this[_0x59d37f(0x298)][_0x59d37f(0x4a4)](_0x308558['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0xc2af29[_0x59d37f(0x447)])||_0x167be4,_0x491444=(await this[_0x59d37f(0x368)]['post'](_0x5b2f1b,{'body':JSON[_0x59d37f(0x34d)]({'taskId':_0x26f8c4})}))[_0x59d37f(0x30d)];if(((_0x1caba4=_0x491444[_0x59d37f(0x3e7)])==null?void 0x0:_0x1caba4[_0x59d37f(0x3e9)])!==_0x11269e['OK'])return;this[_0x59d37f(0x43b)](_0x491444[_0x59d37f(0x2f7)],_0x5db0be);}catch(_0xc95bf6){this['_logService'][_0x59d37f(0x3e7)](_0xc95bf6);}}[_0x492c29(0x23e)](){const _0x5b2abb=_0x492c29;return this[_0x5b2abb(0x36a)]===0x0?!0x0:this[_0x5b2abb(0x36a)]-this[_0x5b2abb(0x32a)]>0x0;}[_0x492c29(0x46a)](){const _0x529972=_0x492c29;this[_0x529972(0x313)]&&(clearTimeout(this['_pollingInterval']),this[_0x529972(0x313)]=null);}[_0x492c29(0x22a)](){const _0x3af0ec=_0x492c29;this['_messageService'][_0x3af0ec(0x227)]({'content':this[_0x3af0ec(0x21c)]['t'](_0x3af0ec(0x3ed)),'type':_0x5363fc[_0x3af0ec(0x3e2)][_0x3af0ec(0x25d)]});}[_0x492c29(0x38a)](_0x3050a7){const _0x4171f3=_0x492c29;for(const _0x46668d of _0x3050a7){const {unitId:_0x479edc,sheetId:_0x322e8d,range:_0xa19bfe}=_0x46668d,_0x21e6cc=this[_0x4171f3(0x378)]['getUnit'](_0x479edc);if(!_0x21e6cc)continue;const _0x54553e=_0x21e6cc[_0x4171f3(0x3b6)](_0x322e8d);if(!_0x54553e)continue;const _0x148be5=_0x54553e[_0x4171f3(0x448)]();for(let _0x376cbb=_0xa19bfe[_0x4171f3(0x1e8)];_0x376cbb<=_0xa19bfe['endRow'];_0x376cbb++)for(let _0x295756=_0xa19bfe[_0x4171f3(0x36f)];_0x295756<=_0xa19bfe['endColumn'];_0x295756++){const _0x20899e=_0x148be5[_0x4171f3(0x473)](_0x376cbb,_0x295756);if(_0x20899e&&(_0x333729[_0x4171f3(0x3b5)](_0x20899e['f'])||_0x333729[_0x4171f3(0x236)](_0x20899e['si'])))return!0x0;}}return!0x1;}};_0x517451=_0x642bfc([_0x47b09b(0x0,_0x333729[_0x492c29(0x1d3)](_0x270f30[_0x492c29(0x24a)])),_0x47b09b(0x1,_0x333729[_0x492c29(0x3f4)]),_0x47b09b(0x2,_0x333729[_0x492c29(0x243)]),_0x47b09b(0x3,_0x333729[_0x492c29(0x1d3)](_0x45181c[_0x492c29(0x302)])),_0x47b09b(0x4,_0x333729[_0x492c29(0x1d0)]),_0x47b09b(0x5,_0x333729[_0x492c29(0x221)]),_0x47b09b(0x6,_0x333729[_0x492c29(0x1d3)](_0x333729[_0x492c29(0x34e)]))],_0x517451);var _0x4f6e19=Object[_0x492c29(0x47c)],_0x3fe145=(_0x5bd220,_0x2fafa3,_0x17e127,_0x366d67)=>{const _0x4544dd=_0x492c29;for(var _0x1ce04f=_0x366d67>0x1?void 0x0:_0x366d67?_0x4f6e19(_0x2fafa3,_0x17e127):_0x2fafa3,_0x53bfe8=_0x5bd220[_0x4544dd(0x2c5)]-0x1,_0x5ae104;_0x53bfe8>=0x0;_0x53bfe8--)(_0x5ae104=_0x5bd220[_0x53bfe8])&&(_0x1ce04f=_0x5ae104(_0x1ce04f)||_0x1ce04f);return _0x1ce04f;},_0x4ee739=(_0x28023c,_0x3b49a1)=>(_0x6705b9,_0x243d1f)=>_0x3b49a1(_0x6705b9,_0x243d1f,_0x28023c);let _0x51a028=class extends _0x333729[_0x492c29(0x3c4)]{constructor(_0x467335,_0x423883,_0x43d204){const _0x19d231=_0x492c29;super(),_0x56d583(this,_0x19d231(0x416),new Map()),_0x56d583(this,'_saveTaskMap',new Map()),_0x56d583(this,_0x19d231(0x29a),!0x1),(this['_configService']=_0x467335,this['_localStorageService']=_0x423883,this[_0x19d231(0x271)]=_0x43d204);}['disableLocalCache'](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x531055=_0x492c29;this[_0x531055(0x29a)]=!0x1;}get[_0x492c29(0x278)](){return this['_saveTaskMap'];}[_0x492c29(0x372)](){const _0x21b7cd=_0x492c29;this[_0x21b7cd(0x4a9)]()[_0x21b7cd(0x2ef)](()=>super['dispose']());}async['loadOfflineData'](_0x53279f){const _0x21224=_0x492c29;return this[_0x21224(0x29a)]?null:this[_0x21224(0x2f5)]['getItem'](_0x308558[_0x21224(0x339)](_0x53279f));}async[_0x492c29(0x444)](_0x3c1cc9,_0x206f76){const _0x5050d9=_0x492c29;return!!this['_localStorageService'][_0x5050d9(0x216)](_0x3c1cc9,_0x206f76);}['updateOfflineData'](_0x4df53c,_0x136139,_0x302263,_0x4517de){const _0x5e8959=_0x492c29,_0x27dff0=this['_revisionService'][_0x5e8959(0x3a3)](_0x4df53c);this[_0x5e8959(0x416)][_0x5e8959(0x287)](_0x4df53c,{'unitID':_0x4df53c,'type':_0x136139,'awaitingChangeset':_0x302263,'mutations':_0x4517de,'rev':_0x27dff0}),this['_saveTaskMap'][_0x5e8959(0x485)](_0x4df53c)||this[_0x5e8959(0x1c7)](_0x4df53c);}[_0x492c29(0x1c7)](_0x4bbf3b){const _0x26a4dc=_0x492c29,_0x34ac6a=this[_0x26a4dc(0x41e)]();_0x34ac6a===0x0?this[_0x26a4dc(0x1ca)](_0x4bbf3b):this['_saveTaskMap'][_0x26a4dc(0x287)](_0x4bbf3b,setTimeout(()=>this[_0x26a4dc(0x1ca)](_0x4bbf3b),_0x34ac6a));}[_0x492c29(0x41e)](){const _0x492512=_0x492c29;var _0x97804e;return(_0x97804e=this['_configService'][_0x492512(0x4a4)](_0x308558[_0x492512(0x275)]))!=null?_0x97804e:_0x308558[_0x492512(0x494)];}[_0x492c29(0x1ca)](_0x238e7d){const _0x2a1487=_0x492c29,_0x4da2e0=this[_0x2a1487(0x48a)][_0x2a1487(0x385)](_0x238e7d);return _0x4da2e0!==void 0x0&&window[_0x2a1487(0x27d)](_0x4da2e0),this[_0x2a1487(0x2f5)][_0x2a1487(0x216)](_0x308558[_0x2a1487(0x339)](_0x238e7d),this['_cachedData'][_0x2a1487(0x385)](_0x238e7d))[_0x2a1487(0x2ef)](()=>this[_0x2a1487(0x48a)][_0x2a1487(0x207)](_0x238e7d));}async['exhaustSavingTask'](){const _0x4a127e=_0x492c29,_0x3b4768=[];this['_saveTaskMap'][_0x4a127e(0x296)]((_0x1b35dc,_0x59eb13)=>{const _0x4c60dd=_0x4a127e;window[_0x4c60dd(0x27d)](_0x1b35dc),_0x3b4768[_0x4c60dd(0x28e)](this['_saveCache'](_0x59eb13)[_0x4c60dd(0x2ef)](()=>{this['_saveTaskMap']['delete'](_0x59eb13);}));}),await Promise[_0x4a127e(0x262)](_0x3b4768);}};_0x51a028=_0x3fe145([_0x4ee739(0x0,_0x333729[_0x492c29(0x243)]),_0x4ee739(0x1,_0x333729['ILocalStorageService']),_0x4ee739(0x2,_0x333729[_0x492c29(0x1d3)](_0x49182d[_0x492c29(0x412)]))],_0x51a028);class _0x48aba0 extends _0x333729[_0x492c29(0x408)]{constructor(){const _0x13e7b2=_0x492c29;super(),_0x56d583(this,'urlChange$'),this['urlChange$']=_0x27440d[_0x13e7b2(0x2c9)](window,'popstate')[_0x13e7b2(0x338)](_0x27440d[_0x13e7b2(0x45a)](this[_0x13e7b2(0x461)]),_0x27440d['shareReplay'](0x1),_0x27440d[_0x13e7b2(0x1f1)](void 0x0));}[_0x492c29(0x3e0)](_0xf86bee,_0x31b317,_0x687cb5=!0x1){const _0x20ee8e=_0x492c29,_0x4e363d=new URL(window[_0x20ee8e(0x49e)][_0x20ee8e(0x280)]);_0x4e363d[_0x20ee8e(0x270)][_0x20ee8e(0x287)](_0xf86bee,_0x31b317),_0x687cb5?window[_0x20ee8e(0x393)][_0x20ee8e(0x49a)]('','',_0x4e363d['toString']()):window['history'][_0x20ee8e(0x477)]('','',_0x4e363d['toString']());}[_0x492c29(0x426)](_0xee435f,_0x390c2c=!0x1){const _0x121fcf=_0x492c29,_0x2222df=new URL(window[_0x121fcf(0x49e)][_0x121fcf(0x280)]);_0x2222df['searchParams'][_0x121fcf(0x207)](_0xee435f),_0x390c2c?window[_0x121fcf(0x393)]['replaceState']('','',_0x2222df[_0x121fcf(0x375)]()):window[_0x121fcf(0x393)][_0x121fcf(0x477)]('','',_0x2222df['toString']());}[_0x492c29(0x2c1)](_0x55927a){const _0x92532b=_0x492c29;var _0x3ccce7;return(_0x3ccce7=new URL(window['location'][_0x92532b(0x280)])[_0x92532b(0x270)][_0x92532b(0x385)](_0x55927a))!=null?_0x3ccce7:void 0x0;}}var _0x5179de=Object['defineProperty'],_0x357d14=Object[_0x492c29(0x47c)],_0x3262f5=(_0x5cbf78,_0x330bd6,_0xbabb48)=>_0x330bd6 in _0x5cbf78?_0x5179de(_0x5cbf78,_0x330bd6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xbabb48}):_0x5cbf78[_0x330bd6]=_0xbabb48,_0x35f27d=(_0x3beba6,_0x21a474,_0x1f7e8a,_0x5929d7)=>{for(var _0x36f368=_0x5929d7>0x1?void 0x0:_0x5929d7?_0x357d14(_0x21a474,_0x1f7e8a):_0x21a474,_0x24b4d4=_0x3beba6['length']-0x1,_0x73d6c8;_0x24b4d4>=0x0;_0x24b4d4--)(_0x73d6c8=_0x3beba6[_0x24b4d4])&&(_0x36f368=_0x73d6c8(_0x36f368)||_0x36f368);return _0x36f368;},_0x4f7452=(_0x4923cc,_0x596372)=>(_0x1972ac,_0x58bc74)=>_0x596372(_0x1972ac,_0x58bc74,_0x4923cc),_0x28a8b4=(_0x5906be,_0x5c4729,_0x19d292)=>_0x3262f5(_0x5906be,_0x5c4729+'',_0x19d292);const _0x78fae7=_0x492c29(0x33d);_0x1ddbd2['UniverCollaborationClientUIPlugin']=class extends _0x333729[_0x492c29(0x432)]{constructor(_0x4099ad=_0x53a6a1,_0x57fc9b,_0x5c2103,_0x5159e7){const _0x4fcbb=_0x492c29;super(),this[_0x4fcbb(0x28b)]=_0x4099ad,this[_0x4fcbb(0x355)]=_0x57fc9b,this[_0x4fcbb(0x359)]=_0x5c2103,this[_0x4fcbb(0x298)]=_0x5159e7;const {..._0x569be8}=_0x333729[_0x4fcbb(0x43f)]({},_0x53a6a1,this['_config']);this['_configService'][_0x4fcbb(0x356)](_0x90aaa9,_0x569be8);}['onStarting'](){const _0x5b340b=_0x492c29;this[_0x5b340b(0x47e)](),this[_0x5b340b(0x4ab)]();}[_0x492c29(0x377)](){const _0x2f2c47=_0x492c29;this[_0x2f2c47(0x44a)]();}[_0x492c29(0x47e)](){const _0x5a05d5=_0x492c29;var _0x185598;const _0x286cfe=[[_0x26569c],[_0x517451],[_0x3f49e6],[_0x25eed9],[_0x2faccb],[_0x319393],[_0x2dd234,{'useClass':_0x48aba0}],[_0x45181c[_0x5a05d5(0x39a)],{'useClass':_0x45181c[_0x5a05d5(0x38c)]}],[_0x308558[_0x5a05d5(0x41f)],{'useClass':_0x51a028}],[_0x1ddbd2[_0x5a05d5(0x22e)]],[_0x1d6816],[_0x4fa748],[_0x5df748],[_0x45faa8],[_0x1ddbd2[_0x5a05d5(0x409)]]];this[_0x5a05d5(0x28b)]['enableFrontendLog']&&_0x286cfe[_0x5a05d5(0x28e)]([_0x40f773]),_0x333729[_0x5a05d5(0x42d)](this[_0x5a05d5(0x359)],_0x333729['mergeOverrideWithDependencies'](_0x286cfe,(_0x185598=this['_config'])==null?void 0x0:_0x185598['override']));}[_0x492c29(0x44a)](){const _0x45c212=_0x492c29;this[_0x45c212(0x212)](this[_0x45c212(0x355)][_0x45c212(0x1dd)](_0x333729[_0x45c212(0x215)][_0x45c212(0x483)],[_0x1b3f30])),this['disposeWithMe'](this['_renderManagerService'][_0x45c212(0x1dd)](_0x333729['UniverInstanceType'][_0x45c212(0x30a)],[_0x2c4f7a]));}[_0x492c29(0x4ab)](){const _0x3d132d=_0x492c29;_0x333729[_0x3d132d(0x315)](this['_injector'],[[_0x5df748],[_0x1ddbd2['DesktopCollaborationStatusDisplayController']],[_0x1d6816],[_0x4fa748],[_0x1ddbd2[_0x3d132d(0x409)]],[_0x517451]]),this[_0x3d132d(0x28b)]['enableFrontendLog']&&_0x333729[_0x3d132d(0x315)](this[_0x3d132d(0x359)],[[_0x40f773]]);}},_0x28a8b4(_0x1ddbd2[_0x492c29(0x242)],_0x492c29(0x388),_0x78fae7),_0x1ddbd2[_0x492c29(0x242)]=_0x35f27d([_0x333729['DependentOn'](_0x308558[_0x492c29(0x1cd)]),_0x4f7452(0x1,_0x220e15[_0x492c29(0x268)]),_0x4f7452(0x2,_0x333729[_0x492c29(0x1d3)](_0x333729['Injector'])),_0x4f7452(0x3,_0x333729[_0x492c29(0x243)])],_0x1ddbd2['UniverCollaborationClientUIPlugin']);var _0x1e0f88=Object[_0x492c29(0x47c)],_0x462991=(_0x43fc3d,_0x2b7ced,_0x259bb4,_0x4f32ab)=>{for(var _0x39fd8b=_0x4f32ab>0x1?void 0x0:_0x4f32ab?_0x1e0f88(_0x2b7ced,_0x259bb4):_0x2b7ced,_0x1dbbee=_0x43fc3d['length']-0x1,_0x23f272;_0x1dbbee>=0x0;_0x1dbbee--)(_0x23f272=_0x43fc3d[_0x1dbbee])&&(_0x39fd8b=_0x23f272(_0x39fd8b)||_0x39fd8b);return _0x39fd8b;},_0x569878=(_0x490fea,_0x273fd6)=>(_0x54f182,_0x848a68)=>_0x273fd6(_0x54f182,_0x848a68,_0x490fea);_0x1ddbd2['BrowserCollaborationSocketService']=class extends _0x308558[_0x492c29(0x3f1)]{constructor(_0x30a207,_0x27bfa5,_0x1435bb,_0x210425,_0x2f0c50){super(_0x30a207,_0x27bfa5,_0x1435bb,_0x210425,_0x2f0c50);}async[_0x492c29(0x1f6)](_0x23d87d){const _0x45bd15=_0x492c29,_0x5bb5fb=await this['_getSessionTicket'](),_0x5a334c=this[_0x45bd15(0x3f0)](_0x23d87d,_0x5bb5fb);return this['_doCreateSocket'](_0x5a334c);}[_0x492c29(0x3f0)](_0x4c6cb8,_0x35cab7){const _0x464fb9=_0x492c29,_0x416cd9=typeof window>'u'?new URL(_0x4c6cb8):new URL(_0x4c6cb8,window[_0x464fb9(0x49e)][_0x464fb9(0x3d0)]);_0x416cd9[_0x464fb9(0x270)][_0x464fb9(0x287)](_0x464fb9(0x3dd),_0x35cab7);const _0x222578=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x464fb9(0x49e)]['search']);return _0x222578[_0x464fb9(0x385)](_0x464fb9(0x2d2))&&_0x416cd9['searchParams']['set'](_0x464fb9(0x2d2),_0x222578['get'](_0x464fb9(0x2d2))),_0x416cd9['toString']();}async[_0x492c29(0x42e)](){const _0x362efd=_0x492c29;var _0x291a4a,_0x174111,_0x54c866;const _0x1bec1e=this[_0x362efd(0x298)][_0x362efd(0x4a4)](_0x308558[_0x362efd(0x2a4)]),_0x5c617e=(_0x291a4a=_0x1bec1e==null?void 0x0:_0x1bec1e[_0x362efd(0x387)])!=null?_0x291a4a:_0x308558[_0x362efd(0x214)];return(_0x54c866=(_0x174111=(await this[_0x362efd(0x368)][_0x362efd(0x385)](_0x5c617e,{'headers':{'Content-Type':_0x362efd(0x2a6)}}))['body'])==null?void 0x0:_0x174111[_0x362efd(0x2bb)])!=null?_0x54c866:'';}},_0x1ddbd2['BrowserCollaborationSocketService']=_0x462991([_0x569878(0x0,_0x333729[_0x492c29(0x1d3)](_0x333729[_0x492c29(0x2c4)])),_0x569878(0x1,_0x333729['Inject'](_0x45181c[_0x492c29(0x302)])),_0x569878(0x2,_0x333729[_0x492c29(0x243)]),_0x569878(0x3,_0x333729[_0x492c29(0x221)]),_0x569878(0x4,_0x49182d[_0x492c29(0x36d)])],_0x1ddbd2['BrowserCollaborationSocketService']);var _0x8e6f13=Object[_0x492c29(0x47c)],_0x599de4=(_0x410726,_0x4f02ff,_0x59a08d,_0x17fa18)=>{const _0x107776=_0x492c29;for(var _0x24fdbb=_0x17fa18>0x1?void 0x0:_0x17fa18?_0x8e6f13(_0x4f02ff,_0x59a08d):_0x4f02ff,_0x30fb4f=_0x410726[_0x107776(0x2c5)]-0x1,_0x5b5cd7;_0x30fb4f>=0x0;_0x30fb4f--)(_0x5b5cd7=_0x410726[_0x30fb4f])&&(_0x24fdbb=_0x5b5cd7(_0x24fdbb)||_0x24fdbb);return _0x24fdbb;},_0x3c5187=(_0x227d57,_0x602879)=>(_0x3a5ae8,_0x4c8109)=>_0x602879(_0x3a5ae8,_0x4c8109,_0x227d57);_0x1ddbd2[_0x492c29(0x351)]=class extends _0x333729[_0x492c29(0x3c4)]{constructor(_0xa7805,_0x91bef7,_0x30bfa5){const _0x2864c5=_0x492c29;super(),this['_instanceService']=_0xa7805,this['_httpService']=_0x91bef7,this[_0x2864c5(0x298)]=_0x30bfa5;}async[_0x492c29(0x1c5)](_0x5eb55e,_0x4620d3,_0x44f766,..._0xc01ee3){const _0x5f138b=_0x492c29;var _0x4d78d3,_0x1ab72b,_0x2ae05b,_0x14512f;const _0xe4b57c=this[_0x5f138b(0x354)]['getFocusedUnit']();if(!_0xe4b57c)throw new Error(_0x5f138b(0x2cd));const _0x37cd64=((_0x4d78d3=this['_configService'][_0x5f138b(0x4a4)](_0x308558[_0x5f138b(0x22d)]))!=null?_0x4d78d3:_0x308558[_0x5f138b(0x358)])+'/'+_0x5eb55e+_0x5f138b(0x3ec)+_0x4620d3,_0x4a483d=new URL(window[_0x5f138b(0x49e)][_0x5f138b(0x280)]),_0x530c17={'scriptId':_0x5eb55e,'runId':(_0x1ab72b=_0x4a483d[_0x5f138b(0x270)][_0x5f138b(0x385)](_0x5f138b(0x2d2)))!=null?_0x1ab72b:'','function':_0x4620d3,'unitId':_0xe4b57c[_0x5f138b(0x314)](),'argsOfFunction':JSON[_0x5f138b(0x34d)](_0xc01ee3),'invokeId':(_0x2ae05b=_0x44f766[_0x5f138b(0x2df)])!=null?_0x2ae05b:'','executionId':(_0x14512f=_0x44f766['executionId'])!=null?_0x14512f:''};try{const _0x5e67b9=await this['_httpService']['post'](_0x37cd64,{'body':_0x530c17});return _0x5e67b9[_0x5f138b(0x30d)][_0x5f138b(0x3e7)]&&_0x5e67b9[_0x5f138b(0x30d)][_0x5f138b(0x3e7)][_0x5f138b(0x3e9)]!==_0x11269e['OK']?_0x5f138b(0x3cf):_0x5e67b9['body']['result'];}catch{return _0x5f138b(0x3cf);}}},_0x1ddbd2[_0x492c29(0x351)]=_0x599de4([_0x3c5187(0x0,_0x333729[_0x492c29(0x1d0)]),_0x3c5187(0x1,_0x333729[_0x492c29(0x1d3)](_0x45181c['HTTPService'])),_0x3c5187(0x2,_0x333729[_0x492c29(0x243)])],_0x1ddbd2[_0x492c29(0x351)]);const _0x1f13d2=0x7530,_0x4511cb='ACTIVE_UNIT_EVENT_CHANNEL';class _0x598757 extends _0x333729[_0x492c29(0x3c4)]{constructor(){const _0x4858c8=_0x492c29;super(),_0x56d583(this,_0x4858c8(0x264),_0x333729[_0x4858c8(0x3e5)]()),_0x56d583(this,_0x4858c8(0x23a),new Set()),_0x56d583(this,_0x4858c8(0x35d),new Map()),_0x56d583(this,_0x4858c8(0x39f),null),_0x56d583(this,'_clearOtherTimers',new Map()),_0x56d583(this,_0x4858c8(0x361),new Map()),this[_0x4858c8(0x45c)]();}[_0x492c29(0x372)](){const _0x54db93=_0x492c29;super[_0x54db93(0x372)](),this['_clearOtherTimers'][_0x54db93(0x296)]((_0x3561f1,_0x18c4bf)=>this[_0x54db93(0x1bb)](_0x18c4bf)),this[_0x54db93(0x39f)]&&window['clearInterval'](this[_0x54db93(0x39f)]);}[_0x492c29(0x370)](_0x311cc2){const _0x49fa9b=_0x492c29;return this[_0x49fa9b(0x1ea)](_0x311cc2)[_0x49fa9b(0x338)](_0x27440d[_0x49fa9b(0x319)]());}[_0x492c29(0x495)](_0x1dc815){const _0x4ac2e8=_0x492c29;this[_0x4ac2e8(0x23a)][_0x4ac2e8(0x210)]===0x0&&this[_0x4ac2e8(0x2f8)](),this[_0x4ac2e8(0x23a)][_0x4ac2e8(0x29c)](_0x1dc815),this[_0x4ac2e8(0x1fe)]({'type':0x0,'memberID':this[_0x4ac2e8(0x264)],'unitIDs':[_0x1dc815],'isForwarded':!0x1});}['disposeUnit'](_0x3d3578){const _0x350bdc=_0x492c29;this[_0x350bdc(0x23a)]['delete'](_0x3d3578),this[_0x350bdc(0x23a)][_0x350bdc(0x210)]===0x0&&this['_heartbeatTimer']&&window[_0x350bdc(0x228)](this[_0x350bdc(0x39f)]);}[_0x492c29(0x45c)](){const _0x30fab3=_0x492c29;this[_0x30fab3(0x212)](_0x333729[_0x30fab3(0x229)](_0x27440d[_0x30fab3(0x2c9)](window,_0x30fab3(0x364))[_0x30fab3(0x2f2)](_0x55fd2d=>{const _0x5a289f=_0x30fab3;if(_0x55fd2d[_0x5a289f(0x332)]!==_0x4511cb||!_0x55fd2d[_0x5a289f(0x26d)])return;const _0x18afcb=JSON[_0x5a289f(0x3c9)](_0x55fd2d['newValue']);this[_0x5a289f(0x1e7)](_0x18afcb);}))),window[_0x30fab3(0x2a9)](_0x30fab3(0x3a0),()=>this[_0x30fab3(0x1fe)]({'type':0x1,'memberID':this[_0x30fab3(0x264)],'unitIDs':Array[_0x30fab3(0x27a)](this[_0x30fab3(0x23a)])}));}[_0x492c29(0x1e7)](_0x55f8f7){const _0x41138c=_0x492c29;switch(_0x55f8f7[_0x41138c(0x2a2)]){case 0x0:this[_0x41138c(0x321)](_0x55f8f7);break;case 0x1:this[_0x41138c(0x285)](_0x55f8f7);break;case 0x2:this['_handleHeartbeatEvent'](_0x55f8f7);break;}}[_0x492c29(0x321)](_0x444f53){const _0x2e411b=_0x492c29,{unitIDs:_0x5f9597,memberID:_0x1dd870,isForwarded:_0x2bcdc4}=_0x444f53;_0x5f9597['forEach'](_0x2846b5=>{const _0x213771=_0x5251;if(!_0x2bcdc4&&this[_0x213771(0x35d)][_0x213771(0x485)](_0x2846b5)&&this[_0x213771(0x1ea)](_0x2846b5)[_0x213771(0x349)](_0x308558[_0x213771(0x418)][_0x213771(0x25f)]),!this['_unitOnClients']['has'](_0x2846b5)||!this[_0x213771(0x35d)][_0x213771(0x385)](_0x2846b5)[_0x213771(0x485)](_0x1dd870)){const _0x395bd5=this[_0x213771(0x35d)][_0x213771(0x385)](_0x2846b5)||new Set();_0x395bd5[_0x213771(0x29c)](_0x1dd870),this['_unitOnClients']['set'](_0x2846b5,_0x395bd5),this['_scheduleClearOtherTimer'](_0x1dd870);}}),_0x2bcdc4||this['_send']({'type':0x0,'memberID':this[_0x2e411b(0x264)],'unitIDs':[...this[_0x2e411b(0x23a)]],'isForwarded':!0x0});}[_0x492c29(0x371)](_0xb631c6){const _0x3083fd=_0x492c29;this[_0x3083fd(0x1bb)](_0xb631c6);const _0x35d7bc=window['setTimeout'](()=>{const _0x508f5c=_0x3083fd;this[_0x508f5c(0x35d)]['forEach'](_0x2a763e=>{const _0x28dd33=_0x508f5c;_0x2a763e[_0x28dd33(0x207)](_0xb631c6);});},_0x1f13d2*0x2);this[_0x3083fd(0x475)][_0x3083fd(0x287)](_0xb631c6,_0x35d7bc);}[_0x492c29(0x1bb)](_0x37e139){const _0x2ae5ba=_0x492c29;if(this[_0x2ae5ba(0x475)][_0x2ae5ba(0x485)](_0x37e139)){const _0x576713=this[_0x2ae5ba(0x475)]['get'](_0x37e139);_0x576713&&window[_0x2ae5ba(0x27d)](_0x576713),this[_0x2ae5ba(0x475)][_0x2ae5ba(0x287)](_0x37e139,null);}}[_0x492c29(0x285)](_0x2c27cd){const _0x8e7f13=_0x492c29,{memberID:_0x52bf9b,unitIDs:_0x2e5865}=_0x2c27cd;_0x2e5865[_0x8e7f13(0x296)](_0x5cbaef=>{const _0x5907f1=_0x8e7f13;var _0x4ccae2;const _0x38b315=this[_0x5907f1(0x35d)][_0x5907f1(0x385)](_0x5cbaef);_0x38b315&&(_0x38b315[_0x5907f1(0x207)](_0x52bf9b),(_0x4ccae2=this[_0x5907f1(0x1ea)](_0x5cbaef))==null||_0x4ccae2[_0x5907f1(0x349)](_0x38b315['size']===0x0?_0x308558[_0x5907f1(0x418)][_0x5907f1(0x2ad)]:_0x308558[_0x5907f1(0x418)][_0x5907f1(0x25f)]));}),this[_0x8e7f13(0x1bb)](_0x52bf9b);}[_0x492c29(0x2eb)](_0x24d413){const _0x2aa6d0=_0x492c29;this[_0x2aa6d0(0x371)](_0x24d413[_0x2aa6d0(0x218)]);}['_send'](_0x3d2701){const _0x5edfb4=_0x492c29;localStorage[_0x5edfb4(0x216)](_0x4511cb,JSON[_0x5edfb4(0x34d)](_0x3d2701));}['_scheduleHeartbeat'](){const _0x5e0856=_0x492c29;this[_0x5e0856(0x39f)]=window[_0x5e0856(0x424)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x1f13d2);}[_0x492c29(0x1ea)](_0x241f85){const _0x4a72bf=_0x492c29;return this[_0x4a72bf(0x361)][_0x4a72bf(0x485)](_0x241f85)||this[_0x4a72bf(0x361)][_0x4a72bf(0x287)](_0x241f85,new _0x27440d['BehaviorSubject'](_0x308558['UnitStatus'][_0x4a72bf(0x2ad)])),this['_unitStatus'][_0x4a72bf(0x385)](_0x241f85);}}_0x1ddbd2['IURLService']=_0x2dd234,_0x1ddbd2['SheetCollabCursorShape']=_0x3138b9,_0x1ddbd2['WebBrowserSingleActiveUnitService']=_0x598757,_0x1ddbd2['WebURLService']=_0x48aba0,Object[_0x492c29(0x239)](_0x1ddbd2,Symbol['toStringTag'],{'value':_0x492c29(0x1d9)});}));
1
+ (function(_0x4d6c64,_0x7aac3d){const _0x54fd06=_0x4e18,_0x2b454c=_0x4d6c64();while(!![]){try{const _0x1dfa62=parseInt(_0x54fd06(0x254))/0x1*(-parseInt(_0x54fd06(0x44e))/0x2)+-parseInt(_0x54fd06(0x1c6))/0x3*(-parseInt(_0x54fd06(0x190))/0x4)+parseInt(_0x54fd06(0x298))/0x5+parseInt(_0x54fd06(0x22d))/0x6*(-parseInt(_0x54fd06(0x305))/0x7)+parseInt(_0x54fd06(0x36e))/0x8+-parseInt(_0x54fd06(0x295))/0x9*(parseInt(_0x54fd06(0x27d))/0xa)+-parseInt(_0x54fd06(0x21f))/0xb*(-parseInt(_0x54fd06(0x44f))/0xc);if(_0x1dfa62===_0x7aac3d)break;else _0x2b454c['push'](_0x2b454c['shift']());}catch(_0x41ad4c){_0x2b454c['push'](_0x2b454c['shift']());}}}(_0x1184,0xe258f),function(_0x2735e7,_0x5f3a06){const _0x100b9c=_0x4e18;typeof exports==_0x100b9c(0x2c5)&&typeof module<'u'?_0x5f3a06(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==_0x100b9c(0x2d3)&&define['amd']?define([_0x100b9c(0x36a),_0x100b9c(0x435),_0x100b9c(0x3bf),_0x100b9c(0x32f),'@univerjs/ui',_0x100b9c(0x235),_0x100b9c(0x1a7),_0x100b9c(0x219),'@univerjs/rpc','@univerjs/sheets',_0x100b9c(0x29c),_0x100b9c(0x42c),'@univerjs/docs-ui','@univerjs/drawing','@univerjs-pro/collaboration',_0x100b9c(0x1b4),_0x100b9c(0x2b8),_0x100b9c(0x203),_0x100b9c(0x271)],_0x5f3a06):(_0x2735e7=typeof globalThis<'u'?globalThis:_0x2735e7||self,_0x5f3a06(_0x2735e7[_0x100b9c(0x256)]={},_0x2735e7['React'],_0x2735e7[_0x100b9c(0x250)],_0x2735e7[_0x100b9c(0x196)],_0x2735e7[_0x100b9c(0x369)],_0x2735e7[_0x100b9c(0x235)],_0x2735e7['UniverDesign'],_0x2735e7[_0x100b9c(0x42f)],_0x2735e7[_0x100b9c(0x3dd)],_0x2735e7[_0x100b9c(0x444)],_0x2735e7['UniverEngineRender'],_0x2735e7['UniverNetwork'],_0x2735e7['UniverDocsUi'],_0x2735e7[_0x100b9c(0x375)],_0x2735e7[_0x100b9c(0x20f)],_0x2735e7['UniverDocs'],_0x2735e7[_0x100b9c(0x45e)],_0x2735e7[_0x100b9c(0x235)][_0x100b9c(0x297)],_0x2735e7[_0x100b9c(0x37e)]));}(this,function(_0x3e0575,_0xc2d37a,_0x4d5f16,_0x1ca8c6,_0x535318,_0x3b6b5a,_0x5cbfd3,_0xa85357,_0x31931b,_0x5a44c7,_0x28adc3,_0x89ff74,_0x15e0d1,_0xc786dd,_0x598d32,_0x449e95,_0x4f0b9d,_0x3d6951,_0x5436e7){'use strict';const _0x1b1e14=_0x4e18;var _0x15dbc0=Object['defineProperty'],_0x1833cb=(_0x2f3e1f,_0x637e57,_0x497d4e)=>_0x637e57 in _0x2f3e1f?_0x15dbc0(_0x2f3e1f,_0x637e57,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x497d4e}):_0x2f3e1f[_0x637e57]=_0x497d4e,_0x215ae7=(_0x3f3123,_0x59b448,_0x4faac6)=>_0x1833cb(_0x3f3123,typeof _0x59b448!=_0x1b1e14(0x3b2)?_0x59b448+'':_0x59b448,_0x4faac6);function _0x5b1c89({ref:_0x3a7d34,..._0x1fbc30}){const _0x3977c4=_0x1b1e14,{icon:_0x3e90fb,id:_0x3f7c54,className:_0x357599,extend:_0x36fb29,..._0x36c195}=_0x1fbc30,_0x2df372=('univerjs-icon\x20univerjs-icon-'+_0x3f7c54+'\x20'+(_0x357599||''))[_0x3977c4(0x46c)](),_0x50169c=_0xa85357['useRef']('_'+_0x33b464());return _0x2b56c7(_0x3e90fb,''+_0x3f7c54,{'defIds':_0x3e90fb[_0x3977c4(0x45b)],'idSuffix':_0x50169c[_0x3977c4(0x3c8)]},{'ref':_0x3a7d34,'className':_0x2df372,..._0x36c195},_0x36fb29);}function _0x2b56c7(_0x45910d,_0x4c5517,_0x2fecc0,_0x39d5d8,_0x3ec5ce){const _0x1f5239=_0x1b1e14;return _0xa85357[_0x1f5239(0x34a)](_0x45910d[_0x1f5239(0x25e)],{'key':_0x4c5517,..._0x56a0e7(_0x45910d,_0x2fecc0,_0x3ec5ce),..._0x39d5d8},(_0xf5c93e(_0x45910d,_0x2fecc0)[_0x1f5239(0x29e)]||[])[_0x1f5239(0x42a)]((_0x3f92a0,_0x334f4e)=>_0x2b56c7(_0x3f92a0,_0x4c5517+'-'+_0x45910d[_0x1f5239(0x25e)]+'-'+_0x334f4e,_0x2fecc0,void 0x0,_0x3ec5ce)));}function _0x56a0e7(_0x18ffc5,_0x3df4c1,_0x324d56){const _0x52c86e=_0x1b1e14,_0x1f1da7={..._0x18ffc5[_0x52c86e(0x423)]};_0x324d56!=null&&_0x324d56[_0x52c86e(0x3a8)]&&_0x1f1da7['fill']===_0x52c86e(0x3a8)&&(_0x1f1da7[_0x52c86e(0x1dc)]=_0x324d56[_0x52c86e(0x3a8)]),_0x18ffc5['tag']===_0x52c86e(0x377)&&_0x1f1da7['id']&&(_0x1f1da7['id']=_0x1f1da7['id']+_0x3df4c1[_0x52c86e(0x286)]),Object[_0x52c86e(0x450)](_0x1f1da7)[_0x52c86e(0x459)](([_0x12655c,_0x819325])=>{const _0xb1a07c=_0x52c86e;_0x12655c===_0xb1a07c(0x377)&&typeof _0x819325==_0xb1a07c(0x3a0)&&(_0x1f1da7[_0x12655c]=_0x819325[_0xb1a07c(0x42e)](/url\(#(.*)\)/,_0xb1a07c(0x23a)+_0x3df4c1['idSuffix']+')'));});const {defIds:_0x44af92}=_0x3df4c1;return!_0x44af92||_0x44af92['length']===0x0||(_0x18ffc5[_0x52c86e(0x25e)]===_0x52c86e(0x3c9)&&_0x1f1da7[_0x52c86e(0x40e)]&&(_0x1f1da7[_0x52c86e(0x40e)]=_0x1f1da7[_0x52c86e(0x40e)]+_0x3df4c1[_0x52c86e(0x286)]),Object[_0x52c86e(0x450)](_0x1f1da7)['forEach'](([_0x4625de,_0x6c3ef5])=>{const _0x3983ae=_0x52c86e;typeof _0x6c3ef5==_0x3983ae(0x3a0)&&(_0x1f1da7[_0x4625de]=_0x6c3ef5[_0x3983ae(0x42e)](/url\(#(.*)\)/,_0x3983ae(0x23a)+_0x3df4c1[_0x3983ae(0x286)]+')'));})),_0x1f1da7;}function _0xf5c93e(_0x1c2afa,_0x5cd38b){const _0x305296=_0x1b1e14;var _0x56cf2c;const {defIds:_0x151a0d}=_0x5cd38b;return!_0x151a0d||_0x151a0d[_0x305296(0x300)]===0x0?_0x1c2afa:_0x1c2afa[_0x305296(0x25e)]===_0x305296(0x3d0)&&((_0x56cf2c=_0x1c2afa[_0x305296(0x29e)])!=null&&_0x56cf2c['length'])?{..._0x1c2afa,'children':_0x1c2afa[_0x305296(0x29e)][_0x305296(0x42a)](_0xbb7889=>typeof _0xbb7889['attrs']['id']==_0x305296(0x3a0)&&_0x151a0d&&_0x151a0d['includes'](_0xbb7889[_0x305296(0x423)]['id'])?{..._0xbb7889,'attrs':{..._0xbb7889[_0x305296(0x423)],'id':_0xbb7889[_0x305296(0x423)]['id']+_0x5cd38b[_0x305296(0x286)]}}:_0xbb7889)}:_0x1c2afa;}function _0x33b464(){const _0x4cc9af=_0x1b1e14;return Math[_0x4cc9af(0x214)]()['toString'](0x24)[_0x4cc9af(0x391)](0x2,0x8);}_0x5b1c89['displayName']=_0x1b1e14(0x2e0);const _0x226ee3={'tag':_0x1b1e14(0x3a2),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1b1e14(0x392),'viewBox':_0x1b1e14(0x193),'width':_0x1b1e14(0x428),'height':_0x1b1e14(0x428)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x1b1e14(0x38d),'attrs':{'stroke':'currentColor','d':_0x1b1e14(0x24f),'strokeLinecap':_0x1b1e14(0x2a1),'strokeLinejoin':_0x1b1e14(0x2a1),'strokeWidth':1.2}}]},{'tag':_0x1b1e14(0x3d0),'attrs':{},'children':[{'tag':_0x1b1e14(0x2d1),'attrs':{'id':_0x1b1e14(0x3c6)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x1b1e14(0x189)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x66faef=_0xa85357[_0x1b1e14(0x32c)](function(_0x2e801d,_0xb95bea){const _0x443cd8=_0x1b1e14;return _0xa85357[_0x443cd8(0x34a)](_0x5b1c89,Object[_0x443cd8(0x1f0)]({},_0x2e801d,{'id':_0x443cd8(0x39a),'ref':_0xb95bea,'icon':_0x226ee3}));});_0x66faef['displayName']=_0x1b1e14(0x3ad);const _0x55d447={'tag':'svg','attrs':{'xmlns':_0x1b1e14(0x44d),'fill':_0x1b1e14(0x392),'viewBox':_0x1b1e14(0x1fd),'width':_0x1b1e14(0x428),'height':_0x1b1e14(0x428)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x1b1e14(0x332),'d':_0x1b1e14(0x2b6),'strokeLinecap':_0x1b1e14(0x2a1),'strokeLinejoin':_0x1b1e14(0x2a1),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1b1e14(0x2d1),'attrs':{'id':_0x1b1e14(0x34c)},'children':[{'tag':_0x1b1e14(0x38d),'attrs':{'fill':'white','d':_0x1b1e14(0x189),'transform':_0x1b1e14(0x3a5)}}]}]}],'defIds':[_0x1b1e14(0x34c)]},_0x5717fc=_0xa85357[_0x1b1e14(0x32c)](function(_0xfed718,_0x275480){const _0x97423e=_0x1b1e14;return _0xa85357[_0x97423e(0x34a)](_0x5b1c89,Object[_0x97423e(0x1f0)]({},_0xfed718,{'id':_0x97423e(0x1c7),'ref':_0x275480,'icon':_0x55d447}));});_0x5717fc['displayName']=_0x1b1e14(0x27a);function _0x2ba689(_0x1d4bca){const _0x52173b=_0x1b1e14;switch(_0x1d4bca){case _0x4d5f16[_0x52173b(0x437)][_0x52173b(0x197)]:return _0x52173b(0x3be);case _0x4d5f16[_0x52173b(0x437)][_0x52173b(0x2c6)]:return'collabStatus.conflict';case _0x4d5f16['CollaborationStatus']['FETCH_MISS']:return _0x52173b(0x2d8);case _0x4d5f16[_0x52173b(0x437)]['NOT_COLLAB']:return _0x52173b(0x422);case _0x4d5f16[_0x52173b(0x437)][_0x52173b(0x326)]:case _0x4d5f16[_0x52173b(0x437)][_0x52173b(0x2bb)]:return'collabStatus.syncing';case _0x4d5f16[_0x52173b(0x437)][_0x52173b(0x3b6)]:case _0x4d5f16[_0x52173b(0x437)]['PENDING']:return _0x52173b(0x3e8);}}function _0x4beadc(_0xff0131){const _0x278eda=_0x1b1e14,{status$:_0x1329f9}=_0xff0131,_0x1d7823=_0x535318['useObservable'](_0x1329f9,_0x4d5f16[_0x278eda(0x437)]['NOT_COLLAB']),_0x1f8c40=_0x535318[_0x278eda(0x3c0)](_0x1ca8c6[_0x278eda(0x3fa)]),_0x2f7200=_0x535318[_0x278eda(0x3c0)](_0x4d5f16['CollaborationSessionService']),_0xf645d0=_0x1d7823!==_0x4d5f16['CollaborationStatus'][_0x278eda(0x197)],_0x4bedb6=_0x1f8c40['t'](_0x2ba689(_0x1d7823)),_0x160aff=_0xf645d0?_0xc2d37a['jsx'](_0x5717fc,{}):_0xc2d37a['jsx'](_0x66faef,{}),_0x3a42b9=_0xa85357[_0x278eda(0x279)](()=>{const _0x27d08b=_0x278eda;_0xf645d0||_0x2f7200[_0x27d08b(0x296)]();},[_0xf645d0,_0x2f7200]);function _0x44f5f5(){const _0xd1cf2b=_0x278eda;return _0xc2d37a[_0xd1cf2b(0x229)](_0xd1cf2b(0x424),{'className':_0xd1cf2b(0x1fb),'onClick':_0x3a42b9,'children':[_0xc2d37a[_0xd1cf2b(0x230)](_0xd1cf2b(0x424),{'className':_0x5cbfd3[_0xd1cf2b(0x371)](_0xd1cf2b(0x21d),{'univer-text-green-500':_0xf645d0,'univer-text-red-500':!_0xf645d0}),'children':_0x160aff}),_0xc2d37a[_0xd1cf2b(0x230)](_0xd1cf2b(0x424),{'className':_0xd1cf2b(0x2b2),'children':_0x4bedb6})]});}return _0xf645d0?_0x44f5f5():_0xc2d37a['jsx'](_0x5cbfd3['Tooltip'],{'title':_0x1f8c40['t']('collab-client.tooltip.reconnect'),'children':_0x44f5f5()});}var _0x44b00a=Object[_0x1b1e14(0x1ce)],_0x5417fe=(_0x17e4bf,_0x715fbe,_0x41fb5,_0x57bc8a)=>{for(var _0x1614d0=_0x57bc8a>0x1?void 0x0:_0x57bc8a?_0x44b00a(_0x715fbe,_0x41fb5):_0x715fbe,_0x57d49b=_0x17e4bf['length']-0x1,_0x2bdf8f;_0x57d49b>=0x0;_0x57d49b--)(_0x2bdf8f=_0x17e4bf[_0x57d49b])&&(_0x1614d0=_0x2bdf8f(_0x1614d0)||_0x1614d0);return _0x1614d0;},_0x4ac72a=(_0x1f61ef,_0x49fc65)=>(_0x35c062,_0x3a28f9)=>_0x49fc65(_0x35c062,_0x3a28f9,_0x1f61ef);_0x3e0575[_0x1b1e14(0x413)]=class extends _0x1ca8c6[_0x1b1e14(0x341)]{constructor(_0x41bf5a,_0x589220,_0x4eac14,_0x1e9667){const _0x4a547e=_0x1b1e14;super(),_0x215ae7(this,'_status$',new _0x3b6b5a[(_0x4a547e(0x1b1))](_0x4d5f16['CollaborationStatus']['NOT_COLLAB'])),(this['_univerInstanceService']=_0x41bf5a,this[_0x4a547e(0x28c)]=_0x589220,this[_0x4a547e(0x44a)]=_0x4eac14,this[_0x4a547e(0x404)]=_0x1e9667,this[_0x4a547e(0x320)](),this[_0x4a547e(0x3a7)]());}[_0x1b1e14(0x3a7)](){const _0x17a069=_0x1b1e14;this[_0x17a069(0x215)](this[_0x17a069(0x23d)]['focused$']['pipe'](_0x3b6b5a[_0x17a069(0x185)](()=>{const _0x106092=_0x17a069,_0x569a79=this['_univerInstanceService'][_0x106092(0x282)]();return _0x569a79?this['_collaborationController']['getCollabEntity$'](_0x569a79[_0x106092(0x212)]()):_0x3b6b5a['of'](null);}),_0x3b6b5a['switchMap'](_0x1e0b6a=>_0x1e0b6a?_0x1e0b6a['status$']:_0x3b6b5a['of'](_0x4d5f16[_0x17a069(0x437)][_0x17a069(0x331)])))[_0x17a069(0x3b9)](_0x306da8=>{const _0x593164=_0x17a069;this[_0x593164(0x340)]['next'](_0x306da8);}));}['_initStatusComponent'](){const _0x3020bc=_0x1b1e14;this[_0x3020bc(0x215)](this[_0x3020bc(0x404)]['registerComponent'](_0x535318['BuiltInUIPart'][_0x3020bc(0x38b)],()=>_0x535318['connectInjector'](_0x16519e({'status$':this[_0x3020bc(0x340)][_0x3020bc(0x41a)]()}),this[_0x3020bc(0x28c)])));}},_0x3e0575['DesktopCollaborationStatusDisplayController']=_0x5417fe([_0x4ac72a(0x0,_0x1ca8c6['IUniverInstanceService']),_0x4ac72a(0x1,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x1cd)])),_0x4ac72a(0x2,_0x1ca8c6[_0x1b1e14(0x308)](_0x4d5f16[_0x1b1e14(0x2f5)])),_0x4ac72a(0x3,_0x535318[_0x1b1e14(0x45d)])],_0x3e0575['DesktopCollaborationStatusDisplayController']);function _0x16519e(_0x1b7734){const {status$:_0xd2575a}=_0x1b7734;return function(){const _0xd84626=_0x4e18;return _0xc2d37a[_0xd84626(0x230)](_0x4beadc,{'status$':_0xd2575a});};}const _0x4af2ba=_0x1ca8c6['createIdentifier'](_0x1b1e14(0x2e5));var _0x4c69b0=Object[_0x1b1e14(0x1ce)],_0x985034=(_0x84e65a,_0x120b32,_0x449f5a,_0x2ed8ef)=>{const _0x2dc9ba=_0x1b1e14;for(var _0x2b58ba=_0x2ed8ef>0x1?void 0x0:_0x2ed8ef?_0x4c69b0(_0x120b32,_0x449f5a):_0x120b32,_0x2b185a=_0x84e65a[_0x2dc9ba(0x300)]-0x1,_0x1ca8ef;_0x2b185a>=0x0;_0x2b185a--)(_0x1ca8ef=_0x84e65a[_0x2b185a])&&(_0x2b58ba=_0x1ca8ef(_0x2b58ba)||_0x2b58ba);return _0x2b58ba;},_0x3c20e5=(_0xc62c7d,_0x482dc5)=>(_0x90812e,_0x4f006c)=>_0x482dc5(_0x90812e,_0x4f006c,_0xc62c7d);_0x3e0575['CollaborationDataLoaderController']=class extends _0x1ca8c6[_0x1b1e14(0x2fd)]{constructor(_0xa4c9cf,_0xbf26e4,_0x30475e,_0x1eb89d,_0x6c7346){const _0x508fc6=_0x1b1e14;super(),this['_urlService']=_0xa4c9cf,this[_0x508fc6(0x3e0)]=_0xbf26e4,this['_commandService']=_0x30475e,this[_0x508fc6(0x3fd)]=_0x1eb89d,_0x6c7346?_0x6c7346==null||_0x6c7346[_0x508fc6(0x3b0)]()['then'](()=>this[_0x508fc6(0x2f4)]()):(this[_0x508fc6(0x3e0)]['debug'](_0x508fc6(0x205),_0x508fc6(0x3a3)),this[_0x508fc6(0x2f4)]());}async['_init'](){const _0x1f107f=_0x1b1e14,_0x446af3=this[_0x1f107f(0x451)][_0x1f107f(0x1ac)](_0x1f107f(0x3db)),_0x5e2824=this[_0x1f107f(0x451)][_0x1f107f(0x1ac)]('type'),_0x24a0f9=this[_0x1f107f(0x451)]['getParam'](_0x1f107f(0x362));if(!_0x446af3||!_0x5e2824){this[_0x1f107f(0x3e0)][_0x1f107f(0x213)](_0x1f107f(0x205),_0x1f107f(0x2e3));return;}const _0x344f6b=await this['_dataLoaderService']['loadUnit'](_0x446af3,Number(_0x5e2824),_0x24a0f9);_0x344f6b&&_0x344f6b instanceof _0x1ca8c6['Workbook']&&this[_0x1f107f(0x46d)](_0x344f6b);}async['_setupSubUnitSync'](_0xda9c51){const _0x193c92=_0x1b1e14;await this[_0x193c92(0x18d)](_0xda9c51),_0xda9c51[_0x193c92(0x1be)][_0x193c92(0x22a)](_0x3b6b5a[_0x193c92(0x264)](this[_0x193c92(0x31c)]))[_0x193c92(0x3b9)](_0x22d991=>{const _0x34b24f=_0x193c92;_0x22d991&&this[_0x34b24f(0x1d5)](_0x22d991);}),this['_urlService'][_0x193c92(0x290)][_0x193c92(0x22a)](_0x3b6b5a[_0x193c92(0x264)](this[_0x193c92(0x31c)]))[_0x193c92(0x3b9)](()=>this[_0x193c92(0x18d)](_0xda9c51));}[_0x1b1e14(0x1d5)](_0x24570a,_0x5e440e=!0x1){const _0xf3e8c8=_0x1b1e14,_0x341d03=this[_0xf3e8c8(0x451)]['getParam'](_0xf3e8c8(0x362));_0x24570a[_0xf3e8c8(0x321)]()!==_0x341d03&&this[_0xf3e8c8(0x451)]['setParam']('subunit',_0x24570a['getSheetId'](),_0x5e440e);}async[_0x1b1e14(0x18d)](_0x1bf7c0){const _0x44c890=_0x1b1e14;var _0x410da9;const _0x961576=this[_0x44c890(0x451)]['getParam'](_0x44c890(0x362));if(!_0x961576||!_0x1bf7c0['getSheetBySheetId'](_0x961576)){const _0x2caca6=_0x1bf7c0[_0x44c890(0x1de)]()[0x0],_0xda4fe3=_0x1bf7c0[_0x44c890(0x46b)](_0x2caca6);if(!_0xda4fe3)return;this[_0x44c890(0x1d5)](_0xda4fe3,!0x0),await this[_0x44c890(0x3fb)][_0x44c890(0x2c2)](_0x5a44c7[_0x44c890(0x2a3)]['id'],{'unitId':_0x1bf7c0[_0x44c890(0x212)](),'subUnitId':_0x2caca6});return;}((_0x410da9=_0x1bf7c0[_0x44c890(0x2e6)]())==null?void 0x0:_0x410da9['getSheetId']())!==_0x961576&&await this[_0x44c890(0x3fb)][_0x44c890(0x2c2)](_0x5a44c7['SetWorksheetActivateCommand']['id'],{'unitId':_0x1bf7c0[_0x44c890(0x212)](),'subUnitId':_0x961576});}},_0x3e0575[_0x1b1e14(0x2ab)]=_0x985034([_0x3c20e5(0x0,_0x4af2ba),_0x3c20e5(0x1,_0x1ca8c6[_0x1b1e14(0x353)]),_0x3c20e5(0x2,_0x1ca8c6[_0x1b1e14(0x25a)]),_0x3c20e5(0x3,_0x1ca8c6[_0x1b1e14(0x308)](_0x4d5f16[_0x1b1e14(0x275)])),_0x3c20e5(0x4,_0x1ca8c6[_0x1b1e14(0x2db)](_0x31931b[_0x1b1e14(0x2c1)]))],_0x3e0575[_0x1b1e14(0x2ab)]);var _0x496cfa=Object[_0x1b1e14(0x1ce)],_0x5bc29d=(_0x3beed1,_0x56d1d3,_0x340c00,_0x24242b)=>{const _0x116bd9=_0x1b1e14;for(var _0x310167=_0x24242b>0x1?void 0x0:_0x24242b?_0x496cfa(_0x56d1d3,_0x340c00):_0x56d1d3,_0x1738c4=_0x3beed1[_0x116bd9(0x300)]-0x1,_0x165ed9;_0x1738c4>=0x0;_0x1738c4--)(_0x165ed9=_0x3beed1[_0x1738c4])&&(_0x310167=_0x165ed9(_0x310167)||_0x310167);return _0x310167;},_0x3edb1f=(_0x13ffec,_0x3a45ce)=>(_0x5971ec,_0x530082)=>_0x3a45ce(_0x5971ec,_0x530082,_0x13ffec);let _0x447eea=class extends _0x1ca8c6[_0x1b1e14(0x2fd)]{constructor(_0x1edd1f,_0x2ea2f2){const _0x414aae=_0x1b1e14;super(),this['_docClipboardService']=_0x1edd1f,this[_0x414aae(0x1f5)]=_0x2ea2f2,this[_0x414aae(0x2f4)]();}[_0x1b1e14(0x2f4)](){const _0x4ab98f=_0x1b1e14,_0x238608=this;this[_0x4ab98f(0x215)](this[_0x4ab98f(0x443)][_0x4ab98f(0x3fe)]({'onBeforePasteImage':async _0x3dda2f=>{const _0x2d94d3=_0x4ab98f,_0x53b06b=await _0x238608[_0x2d94d3(0x1f5)][_0x2d94d3(0x30c)](_0x3dda2f);return _0x53b06b?{'source':_0x53b06b[_0x2d94d3(0x2ca)],'imageSourceType':_0x53b06b['imageSourceType']}:null;}}));}};_0x447eea=_0x5bc29d([_0x3edb1f(0x0,_0x15e0d1[_0x1b1e14(0x359)]),_0x3edb1f(0x1,_0xc786dd[_0x1b1e14(0x322)])],_0x447eea);const _0x54d1e9=[_0x1b1e14(0x1da),_0x1b1e14(0x3ae),_0x1b1e14(0x2ed),_0x1b1e14(0x2c8),_0x1b1e14(0x306),_0x1b1e14(0x218)];class _0x4829de extends _0x1ca8c6['Disposable']{constructor(){const _0x3411b7=_0x1b1e14;super(...arguments),_0x215ae7(this,_0x3411b7(0x1f9),new Map()),_0x215ae7(this,'_colorIndex',0x0);}[_0x1b1e14(0x30e)](_0x4536c5){const _0x35747f=_0x1b1e14;if(this[_0x35747f(0x1f9)][_0x35747f(0x33b)](_0x4536c5))return this[_0x35747f(0x1f9)]['get'](_0x4536c5);const _0x584530=_0x54d1e9[this[_0x35747f(0x385)]];return this[_0x35747f(0x385)]=(this[_0x35747f(0x385)]+0x1)%_0x54d1e9[_0x35747f(0x300)],this[_0x35747f(0x1f9)][_0x35747f(0x441)](_0x4536c5,_0x584530),_0x584530;}}function _0x5ecb99(_0x23b393){const _0xb80463=_0x1b1e14;let _0x3b3a3c='';for(const _0x56422e of _0x23b393){const {startOffset:_0x3400e8,endOffset:_0x45514f,isActive:_0x3fe5f6,rangeType:_0x4b4dec,segmentId:_0x3eafb6,segmentPage:_0x32e201}=_0x56422e;_0x3b3a3c[_0xb80463(0x300)]&&(_0x3b3a3c+=','),_0x3b3a3c+=_0x3400e8+':'+_0x45514f+':'+(_0x3fe5f6?'1':'0')+':'+_0x4b4dec+':'+_0x3eafb6+':'+_0x32e201;}return _0x3b3a3c;}function _0x1ecd1e(_0x37f44d){const _0x374ab7=_0x1b1e14,_0x1c674a=_0x37f44d['split'](','),_0x3f40b9=[];for(const _0xf71dd3 of _0x1c674a){const [_0x372b0e,_0x46d4e8,_0x4fe596,_0x370fa2,_0x1a7fae,_0x5065c]=_0xf71dd3['split'](':');_0x3f40b9['push']({'startOffset':Number(_0x372b0e),'endOffset':Number(_0x46d4e8),'collapsed':_0x372b0e===_0x46d4e8,'isActive':_0x4fe596==='1','rangeType':_0x370fa2===_0x1ca8c6[_0x374ab7(0x239)][_0x374ab7(0x21b)]?_0x1ca8c6[_0x374ab7(0x239)]['TEXT']:_0x1ca8c6[_0x374ab7(0x239)][_0x374ab7(0x429)],'segmentId':typeof _0x1a7fae==_0x374ab7(0x3a0)?String(_0x1a7fae):'','segmentPage':Number(_0x5065c!=null?_0x5065c:-0x1)});}return _0x3f40b9[_0x374ab7(0x360)](_0x39ab80=>_0x39ab80[_0x374ab7(0x2a7)])||(_0x3f40b9[0x0][_0x374ab7(0x2a7)]=!0x0),_0x3f40b9;}class _0x4a5f98 extends _0x1ca8c6[_0x1b1e14(0x2fd)]{constructor(){const _0x868f70=_0x1b1e14;super(...arguments),_0x215ae7(this,_0x868f70(0x1cf),new _0x3b6b5a['BehaviorSubject'](null)),_0x215ae7(this,_0x868f70(0x1f3),this[_0x868f70(0x1cf)][_0x868f70(0x41a)]());}[_0x1b1e14(0x1d9)](_0x2246d8){const _0x398d2e=_0x1b1e14,{unitID:_0x31737d,memberID:_0x2b172e,textRanges:_0x593f88}=_0x2246d8,_0x379f38=_0x5ecb99(_0x593f88);if(_0x379f38==='')return;const _0x2a6305={'unitID':_0x31737d,'memberID':_0x2b172e,'selection':_0x379f38};this[_0x398d2e(0x1cf)]['next'](_0x2a6305);}}var _0x25919f=Object[_0x1b1e14(0x1ce)],_0x34d18b=(_0x4b3d90,_0x1e9390,_0x4c67c5,_0x51c3a4)=>{for(var _0x2fcfe5=_0x51c3a4>0x1?void 0x0:_0x51c3a4?_0x25919f(_0x1e9390,_0x4c67c5):_0x1e9390,_0x49ccc8=_0x4b3d90['length']-0x1,_0x4d87f5;_0x49ccc8>=0x0;_0x49ccc8--)(_0x4d87f5=_0x4b3d90[_0x49ccc8])&&(_0x2fcfe5=_0x4d87f5(_0x2fcfe5)||_0x2fcfe5);return _0x2fcfe5;},_0x53970b=(_0xb3aede,_0x4552a9)=>(_0x311987,_0x6faba)=>_0x4552a9(_0x311987,_0x6faba,_0xb3aede);const _0x21f8f1=0x12c,_0x7a051f=0x64;let _0x409fe5=class extends _0x1ca8c6[_0x1b1e14(0x2fd)]{constructor(_0x36345e,_0x76f27e,_0x28c3e3,_0x38aa0a,_0x48618e,_0x43ff11,_0x2083af,_0x1ae7b6,_0x5e94dc){const _0x54c233=_0x1b1e14;super(),_0x215ae7(this,'_online',!0x1),_0x215ae7(this,_0x54c233(0x2f4),!0x1),_0x215ae7(this,_0x54c233(0x281),new _0x3b6b5a[(_0x54c233(0x1b1))](new Map())),_0x215ae7(this,_0x54c233(0x358),this[_0x54c233(0x281)][_0x54c233(0x41a)]()),_0x215ae7(this,_0x54c233(0x2b1),new _0x3b6b5a[(_0x54c233(0x1b1))]([])),_0x215ae7(this,'roomMembers$',this[_0x54c233(0x2b1)][_0x54c233(0x22a)](_0x3b6b5a['debounceTime'](_0x21f8f1))),_0x215ae7(this,_0x54c233(0x257),_0x1ca8c6[_0x54c233(0x1d1)](_0x4c113e=>{const _0x3e641f=_0x54c233,_0x394852={'eventID':_0x598d32['CollaborationEvent'][_0x3e641f(0x243)],'data':{'unitID':this[_0x3e641f(0x30f)],'memberID':this[_0x3e641f(0x2be)][_0x3e641f(0x2fc)](),'selection':_0x5ecb99(_0x4c113e)}};this[_0x3e641f(0x2be)]['send'](_0x394852,this[_0x3e641f(0x30f)]);},_0x7a051f)),(this[_0x54c233(0x30f)]=_0x36345e,this[_0x54c233(0x2be)]=_0x76f27e,this[_0x54c233(0x28c)]=_0x28c3e3,this['_colorAssignService']=_0x38aa0a,this[_0x54c233(0x40c)]=_0x48618e,this['_syncEditingCollabCursorService']=_0x43ff11,this['_transformService']=_0x2083af,this[_0x54c233(0x23d)]=_0x1ae7b6,this[_0x54c233(0x3fb)]=_0x5e94dc);}get['cursorInfo'](){const _0x461b44=_0x1b1e14;return this['_cursorInfo$'][_0x461b44(0x42d)]();}get[_0x1b1e14(0x38c)](){const _0x3db82a=_0x1b1e14;return this[_0x3db82a(0x2b1)]['getValue']();}[_0x1b1e14(0x1cc)](){const _0xda2273=_0x1b1e14;super['dispose'](),this[_0xda2273(0x281)][_0xda2273(0x22e)](new Map()),this[_0xda2273(0x281)][_0xda2273(0x44b)](),this['_roomMembers$'][_0xda2273(0x22e)]([]),this[_0xda2273(0x2b1)][_0xda2273(0x44b)]();}[_0x1b1e14(0x3f9)](){const _0xa08e13=_0x1b1e14;this[_0xa08e13(0x2f4)]||(this[_0xa08e13(0x2f4)]=!0x0,this[_0xa08e13(0x2be)][_0xa08e13(0x1ab)][_0xa08e13(0x22a)](_0x3b6b5a[_0xa08e13(0x264)](this[_0xa08e13(0x31c)]))['subscribe'](_0x9692f4=>{const _0x4febd1=_0xa08e13;_0x9692f4===_0x4d5f16[_0x4febd1(0x3b7)][_0x4febd1(0x41c)]?this[_0x4febd1(0x3c5)]():this['_toggleOffline']();}),this['_session']['event$']['pipe'](_0x3b6b5a[_0xa08e13(0x264)](this[_0xa08e13(0x31c)]))[_0xa08e13(0x3b9)](_0x102d7d=>{const _0xb101b6=_0xa08e13,_0xe9d5f9=_0x102d7d[_0xb101b6(0x367)];_0xe9d5f9===_0x598d32[_0xb101b6(0x421)][_0xb101b6(0x243)]&&this[_0xb101b6(0x1e4)](_0x102d7d),_0xe9d5f9===_0x598d32[_0xb101b6(0x421)][_0xb101b6(0x36d)]&&this['_onCursorDelete'](_0x102d7d);}),this['disposeWithMe'](this['_commandService'][_0xa08e13(0x27f)](_0x26c90d=>{const _0x41aaf7=_0xa08e13,_0x2cc23d=_0x26c90d[_0x41aaf7(0x309)];_0x2cc23d!=null&&this[_0x41aaf7(0x345)]&&_0x26c90d['id']===_0x449e95[_0x41aaf7(0x259)]['id']&&_0x2cc23d[_0x41aaf7(0x3da)]===this[_0x41aaf7(0x30f)]&&_0x2cc23d[_0x41aaf7(0x1ed)]===!0x1&&_0x2cc23d[_0x41aaf7(0x316)][_0x41aaf7(0x300)]>0x0&&this[_0x41aaf7(0x257)](_0x2cc23d[_0x41aaf7(0x316)]);})),this[_0xa08e13(0x370)][_0xa08e13(0x1f3)][_0xa08e13(0x22a)](_0x3b6b5a[_0xa08e13(0x264)](this['dispose$']))[_0xa08e13(0x3b9)](_0x3c78dc=>{const _0x446daa=_0xa08e13;if((_0x3c78dc==null?void 0x0:_0x3c78dc[_0x446daa(0x30f)])!==this[_0x446daa(0x30f)])return;const _0x125961={'eventID':_0x598d32[_0x446daa(0x421)][_0x446daa(0x243)],'data':_0x3c78dc};this[_0x446daa(0x1e4)](_0x125961);}),this[_0xa08e13(0x215)](this[_0xa08e13(0x3fb)]['onCommandExecuted'](_0x1df581=>{const _0x5e03a7=_0xa08e13;if(_0x1df581[_0x5e03a7(0x309)]==null)return;const _0x198016=_0x1df581[_0x5e03a7(0x309)];if(_0x1df581['id']!==_0x449e95[_0x5e03a7(0x2da)]['id']||_0x198016[_0x5e03a7(0x3da)]!==this[_0x5e03a7(0x30f)])return;const _0x5a1c01={'id':_0x5e03a7(0x354),'params':_0x198016},_0x1573d0=this['cursorInfo'];for(const [_0x59be55,_0x37dac7]of _0x1573d0){const _0x159989={'id':_0x5e03a7(0x354),'params':{'unitId':this[_0x5e03a7(0x30f)],'actions':null,'textRanges':_0x37dac7[_0x5e03a7(0x316)]}},_0x312a0e=this['_transformService'][_0x5e03a7(0x398)](_0x5a1c01,_0x159989,!0x1);if(_0x598d32[_0x5e03a7(0x1af)](_0x312a0e))throw _0x312a0e['error'];_0x1573d0[_0x5e03a7(0x441)](_0x59be55,{..._0x37dac7,'ranges':_0x312a0e[_0x5e03a7(0x384)][_0x5e03a7(0x309)][_0x5e03a7(0x40b)]});}queueMicrotask(()=>{const _0x305a83=_0x5e03a7;this[_0x305a83(0x281)][_0x305a83(0x22e)](_0x1573d0);});})));}[_0x1b1e14(0x1e4)](_0x8121ed){const _0x29b366=_0x1b1e14;var _0x58bab3,_0x5b4313;const {memberID:_0x21c2f7,selection:_0x4a4e2e}=_0x8121ed['data'],_0x4ccc34=_0x1ecd1e(_0x4a4e2e),_0x3711e0=(_0x5b4313=(_0x58bab3=this[_0x29b366(0x40c)][_0x29b366(0x200)](this[_0x29b366(0x30f)],_0x21c2f7))==null?void 0x0:_0x58bab3[_0x29b366(0x184)])!=null?_0x5b4313:'Unknown\x20user',_0x22fb42={'color':this[_0x29b366(0x338)][_0x29b366(0x30e)](_0x21c2f7),'name':_0x3711e0,'ranges':_0x4ccc34},_0x158220=this['cursorInfo'];_0x158220['set'](_0x21c2f7,_0x22fb42),this['_cursorInfo$'][_0x29b366(0x22e)](_0x158220);}[_0x1b1e14(0x2e9)](_0xf9bdd7){const _0x3a8dc9=_0x1b1e14,{memberID:_0x54550f}=_0xf9bdd7[_0x3a8dc9(0x45f)],_0x766e32=this['cursorInfo'];_0x766e32[_0x3a8dc9(0x1c0)](_0x54550f),this[_0x3a8dc9(0x281)][_0x3a8dc9(0x22e)](_0x766e32);}[_0x1b1e14(0x3c5)](){const _0xf75595=_0x1b1e14;var _0x230a11;if(this[_0xf75595(0x345)]=!0x0,((_0x230a11=this[_0xf75595(0x23d)][_0xf75595(0x282)]())==null?void 0x0:_0x230a11[_0xf75595(0x212)]())!==this['unitID'])return;const _0x41e3ac=this[_0xf75595(0x28c)]['get'](_0x449e95[_0xf75595(0x1bd)])[_0xf75595(0x23b)]();Array[_0xf75595(0x1fa)](_0x41e3ac)&&_0x41e3ac[_0xf75595(0x300)]>0x0&&this[_0xf75595(0x257)](_0x41e3ac);}[_0x1b1e14(0x1e3)](){this['_online']=!0x1;}};_0x409fe5=_0x34d18b([_0x53970b(0x2,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x1cd)])),_0x53970b(0x3,_0x1ca8c6[_0x1b1e14(0x308)](_0x4829de)),_0x53970b(0x4,_0x1ca8c6['Inject'](_0x4d5f16[_0x1b1e14(0x462)])),_0x53970b(0x5,_0x1ca8c6[_0x1b1e14(0x308)](_0x4a5f98)),_0x53970b(0x6,_0x598d32['ITransformService']),_0x53970b(0x7,_0x1ca8c6[_0x1b1e14(0x3af)]),_0x53970b(0x8,_0x1ca8c6[_0x1b1e14(0x25a)])],_0x409fe5);var _0xefe886=Object[_0x1b1e14(0x1ce)],_0x3f7599=(_0x22e6e1,_0x5d4579,_0x396bf4,_0x3f9604)=>{const _0x5b5102=_0x1b1e14;for(var _0x3c2b76=_0x3f9604>0x1?void 0x0:_0x3f9604?_0xefe886(_0x5d4579,_0x396bf4):_0x5d4579,_0x425296=_0x22e6e1[_0x5b5102(0x300)]-0x1,_0x71599a;_0x425296>=0x0;_0x425296--)(_0x71599a=_0x22e6e1[_0x425296])&&(_0x3c2b76=_0x71599a(_0x3c2b76)||_0x3c2b76);return _0x3c2b76;},_0x5a5c75=(_0x1dbd7e,_0x410fcc)=>(_0x30972a,_0x1249ef)=>_0x410fcc(_0x30972a,_0x1249ef,_0x1dbd7e);const _0x51e9ef=0x12c,_0x423c5d=0x64,_0x1dfdb4=()=>{let _0x105d8c=[],_0x2e4912=!0x1;return _0x1fbe0b=>{_0x105d8c['push'](_0x1fbe0b),_0x2e4912||(_0x2e4912=!0x0,setTimeout(()=>{const _0x909956=_0x4e18;_0x105d8c[_0x909956(0x459)](_0x3eb54a=>_0x3eb54a()),_0x105d8c=[],_0x2e4912=!0x1;}));};};let _0x526322=class extends _0x1ca8c6[_0x1b1e14(0x2fd)]{constructor(_0xa4741e,_0x4eb23f,_0x22c642,_0x383169,_0x50fa62,_0x6bbdc7,_0x37f2e3,_0x762af1){const _0x431e32=_0x1b1e14;super(),_0x215ae7(this,_0x431e32(0x345),!0x1),_0x215ae7(this,_0x431e32(0x2f4),!0x1),_0x215ae7(this,_0x431e32(0x281),new _0x3b6b5a[(_0x431e32(0x1b1))](new Map())),_0x215ae7(this,_0x431e32(0x358),this[_0x431e32(0x281)][_0x431e32(0x41a)]()),_0x215ae7(this,_0x431e32(0x2b1),new _0x3b6b5a['BehaviorSubject']([])),_0x215ae7(this,_0x431e32(0x403),this[_0x431e32(0x2b1)][_0x431e32(0x22a)](_0x3b6b5a['debounceTime'](_0x51e9ef))),_0x215ae7(this,_0x431e32(0x257),_0x1ca8c6[_0x431e32(0x1d1)]((_0x17bcbb,_0x213626)=>{const _0xfd25e7=_0x431e32,_0x58d87e={'eventID':_0x598d32[_0xfd25e7(0x421)]['UPDATE_CURSOR'],'data':{'unitID':this[_0xfd25e7(0x30f)],'memberID':this['_session'][_0xfd25e7(0x2fc)](),'selection':_0x4f0b9d[_0xfd25e7(0x2c3)](_0x17bcbb,_0x213626[_0xfd25e7(0x449)])}};this[_0xfd25e7(0x2be)][_0xfd25e7(0x467)](_0x58d87e,this[_0xfd25e7(0x30f)]);},_0x423c5d)),(this[_0x431e32(0x30f)]=_0xa4741e,this[_0x431e32(0x2be)]=_0x4eb23f,this[_0x431e32(0x28c)]=_0x22c642,this[_0x431e32(0x338)]=_0x383169,this['_memberService']=_0x50fa62,this[_0x431e32(0x23d)]=_0x6bbdc7,this[_0x431e32(0x3fb)]=_0x37f2e3,this[_0x431e32(0x1e5)]=_0x762af1);}get[_0x1b1e14(0x29a)](){const _0xeba569=_0x1b1e14;return this[_0xeba569(0x281)][_0xeba569(0x42d)]();}get[_0x1b1e14(0x38c)](){const _0x3986c7=_0x1b1e14;return this[_0x3986c7(0x2b1)]['getValue']();}['dispose'](){const _0x45fc0a=_0x1b1e14;super['dispose'](),this[_0x45fc0a(0x281)][_0x45fc0a(0x22e)](new Map()),this[_0x45fc0a(0x281)]['complete'](),this[_0x45fc0a(0x2b1)][_0x45fc0a(0x22e)]([]),this[_0x45fc0a(0x2b1)]['complete']();}[_0x1b1e14(0x3f9)](){const _0x312756=_0x1b1e14;this['_init']||(this['_init']=!0x0,this['_session']['sessionStatus$'][_0x312756(0x22a)](_0x3b6b5a[_0x312756(0x264)](this[_0x312756(0x31c)]))[_0x312756(0x3b9)](_0x30658a=>{const _0x569c15=_0x312756;_0x30658a===_0x4d5f16[_0x569c15(0x3b7)][_0x569c15(0x41c)]?this[_0x569c15(0x3c5)]():this[_0x569c15(0x1e3)]();}),this[_0x312756(0x2be)][_0x312756(0x31e)][_0x312756(0x22a)](_0x3b6b5a[_0x312756(0x264)](this[_0x312756(0x31c)]))[_0x312756(0x3b9)](_0x19cc77=>{const _0x37cdde=_0x312756,_0x58bfde=_0x19cc77[_0x37cdde(0x367)];_0x58bfde===_0x598d32[_0x37cdde(0x421)][_0x37cdde(0x243)]&&this[_0x37cdde(0x1e4)](_0x19cc77),_0x58bfde===_0x598d32[_0x37cdde(0x421)][_0x37cdde(0x36d)]&&this[_0x37cdde(0x2e9)](_0x19cc77);}),this[_0x312756(0x2c7)](),this[_0x312756(0x215)](this[_0x312756(0x3fb)][_0x312756(0x27f)](_0x34d9cc=>{const _0x562a78=_0x312756;if(this[_0x562a78(0x345)]&&_0x34d9cc['id']===_0x5a44c7[_0x562a78(0x24c)]['id']&&_0x34d9cc[_0x562a78(0x309)][_0x562a78(0x3da)]===this[_0x562a78(0x30f)]){const _0x4afa97=_0x34d9cc[_0x562a78(0x309)];this['_updateLocalCursor'](_0x4afa97[_0x562a78(0x19a)],_0x4afa97[_0x562a78(0x40a)][0x0]);}})));}['_onCursorUpdate'](_0x2875bb){const _0x1762b0=_0x1b1e14;var _0x32a7bd,_0x5c920d;const {memberID:_0x29c045,selection:_0x28c613}=_0x2875bb['data'],{sheetName:_0x441413,range:_0x1666c8}=_0x4f0b9d[_0x1762b0(0x3eb)](_0x28c613),_0x42afbe={'name':(_0x5c920d=(_0x32a7bd=this[_0x1762b0(0x40c)][_0x1762b0(0x200)](this['unitID'],_0x29c045))==null?void 0x0:_0x32a7bd[_0x1762b0(0x184)])!=null?_0x5c920d:_0x1762b0(0x442),'range':this[_0x1762b0(0x294)](_0x441413,_0x1666c8),'sheetID':_0x441413,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x29c045),'selection':_0x28c613},_0x16724b=this[_0x1762b0(0x29a)];_0x16724b[_0x1762b0(0x441)](_0x29c045,_0x42afbe),this[_0x1762b0(0x281)][_0x1762b0(0x22e)](_0x16724b);}['_onCursorDelete'](_0x1bbcbc){const _0x12e198=_0x1b1e14,{memberID:_0x16b4ca}=_0x1bbcbc[_0x12e198(0x45f)],_0x935b5f=this[_0x12e198(0x29a)];_0x935b5f[_0x12e198(0x1c0)](_0x16b4ca),this[_0x12e198(0x281)]['next'](_0x935b5f);}[_0x1b1e14(0x294)](_0x521352,_0x3a1da1){const _0x61a532=_0x1b1e14;var _0x1a5a14,_0x54d133;const _0xc3f140=(_0x54d133=(_0x1a5a14=this['_univerInstanceService'][_0x61a532(0x25d)](this[_0x61a532(0x30f)]))==null?void 0x0:_0x1a5a14['getSheetBySheetId'](_0x521352))==null?void 0x0:_0x54d133[_0x61a532(0x431)]();return(_0xc3f140==null?void 0x0:_0xc3f140[_0x61a532(0x410)](_0x13e4d5=>_0x1ca8c6[_0x61a532(0x2e4)]['contains'](_0x13e4d5,_0x3a1da1)))||_0x3a1da1;}[_0x1b1e14(0x2c7)](){const _0x493d62=_0x1b1e14,_0xc7b5d=new _0x1ca8c6[(_0x493d62(0x234))](),_0x307c20=_0x1dfdb4(),_0x400e0c=()=>{const _0x13bf2c=_0x493d62;_0xc7b5d['dispose']();const _0x14aa77=(_0x15801f,_0xbae123,_0x641796,_0x1ffc52)=>{const _0x46a7db=_0x4e18;let _0x61cf6f=[];switch(_0x15801f['id']){case _0x5a44c7['EffectRefRangId'][_0x46a7db(0x28d)]:{_0x61cf6f=_0x5a44c7[_0x46a7db(0x28b)](_0x15801f,_0x1ffc52);break;}case _0x5a44c7[_0x46a7db(0x3ab)][_0x46a7db(0x2a0)]:{_0x61cf6f=_0x5a44c7[_0x46a7db(0x1c2)](_0x15801f,_0x1ffc52);break;}case _0x5a44c7[_0x46a7db(0x3ab)]['InsertColCommandId']:{_0x61cf6f=_0x5a44c7['handleInsertCol'](_0x15801f,_0x1ffc52);break;}case _0x5a44c7[_0x46a7db(0x3ab)][_0x46a7db(0x2a4)]:{_0x61cf6f=_0x5a44c7['handleInsertRangeMoveDown'](_0x15801f,_0x1ffc52);break;}case _0x5a44c7[_0x46a7db(0x3ab)][_0x46a7db(0x402)]:{_0x61cf6f=_0x5a44c7['handleInsertRangeMoveRight'](_0x15801f,_0x1ffc52);break;}case _0x5a44c7['EffectRefRangId'][_0x46a7db(0x302)]:{_0x61cf6f=_0x5a44c7[_0x46a7db(0x34e)](_0x15801f,_0x1ffc52);break;}case _0x5a44c7[_0x46a7db(0x3ab)][_0x46a7db(0x455)]:{_0x61cf6f=_0x5a44c7[_0x46a7db(0x335)](_0x15801f,_0x1ffc52);break;}case _0x5a44c7[_0x46a7db(0x3ab)]['RemoveColCommandId']:{_0x61cf6f=_0x5a44c7[_0x46a7db(0x430)](_0x15801f,_0x1ffc52);break;}case _0x5a44c7[_0x46a7db(0x3ab)][_0x46a7db(0x18a)]:{_0x61cf6f=_0x5a44c7['handleIRemoveRow'](_0x15801f,_0x1ffc52);break;}}const _0x2395b6=_0x5a44c7[_0x46a7db(0x3ef)](_0x61cf6f,_0x1ffc52),_0x321b4a=this[_0x46a7db(0x29a)][_0x46a7db(0x318)](_0xbae123);if(_0x321b4a&&_0x2395b6){const _0xbb0791={..._0x321b4a,'range':_0x2395b6};this[_0x46a7db(0x29a)][_0x46a7db(0x441)](_0xbae123,_0xbb0791),_0x307c20(()=>{const _0x2b6268=_0x46a7db,_0x2d3cb0=this[_0x2b6268(0x1e5)][_0x2b6268(0x19f)](_0x2395b6,_0x487d46=>(_0x2d3cb0[_0x2b6268(0x1cc)](),_0x14aa77(_0x487d46,_0xbae123,_0x641796,_0x2395b6)));_0xc7b5d[_0x2b6268(0x231)](_0x2d3cb0);});}return{'redos':[],'undos':[]};};this[_0x13bf2c(0x29a)][_0x13bf2c(0x459)]((_0x380627,_0x4dade1)=>{const _0x4c64d5=_0x13bf2c,{range:_0x3a908e,sheetID:_0x3319c4}=_0x380627,_0x5b8e22=this[_0x4c64d5(0x1e5)][_0x4c64d5(0x19f)](_0x3a908e,_0x4253ea=>(_0x5b8e22['dispose'](),_0x14aa77(_0x4253ea,_0x4dade1,_0x3319c4,_0x3a908e)));_0xc7b5d[_0x4c64d5(0x231)](_0x5b8e22);});};this['disposeWithMe'](_0x1ca8c6[_0x493d62(0x226)](this[_0x493d62(0x281)]['subscribe'](()=>{_0x400e0c();})));}['_toggleOnline'](){const _0x3df6ac=_0x1b1e14;var _0x30a333,_0x5c08f2;if(this['_online']=!0x0,((_0x30a333=this[_0x3df6ac(0x23d)][_0x3df6ac(0x282)]())==null?void 0x0:_0x30a333[_0x3df6ac(0x212)]())!==this[_0x3df6ac(0x30f)])return;const _0x2bab0b=(_0x5c08f2=this[_0x3df6ac(0x28c)][_0x3df6ac(0x318)](_0x5a44c7[_0x3df6ac(0x263)])[_0x3df6ac(0x1f1)]())==null?void 0x0:_0x5c08f2[0x0],_0x2f0f14=this[_0x3df6ac(0x23d)][_0x3df6ac(0x1fe)](_0x1ca8c6[_0x3df6ac(0x30b)][_0x3df6ac(0x3de)])[_0x3df6ac(0x2e6)]();_0x2bab0b&&_0x2f0f14&&this[_0x3df6ac(0x257)](_0x2f0f14[_0x3df6ac(0x321)](),_0x2bab0b);}[_0x1b1e14(0x1e3)](){this['_online']=!0x1;}};_0x526322=_0x3f7599([_0x5a5c75(0x2,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x1cd)])),_0x5a5c75(0x3,_0x1ca8c6['Inject'](_0x4829de)),_0x5a5c75(0x4,_0x1ca8c6[_0x1b1e14(0x308)](_0x4d5f16[_0x1b1e14(0x462)])),_0x5a5c75(0x5,_0x1ca8c6[_0x1b1e14(0x3af)]),_0x5a5c75(0x6,_0x1ca8c6[_0x1b1e14(0x25a)]),_0x5a5c75(0x7,_0x1ca8c6['Inject'](_0x5a44c7[_0x1b1e14(0x33e)]))],_0x526322);var _0x562835=Object[_0x1b1e14(0x1ce)],_0x103ff4=(_0x1ea899,_0x238bb2,_0xb0dc17,_0x23055c)=>{const _0x1d6ac0=_0x1b1e14;for(var _0x286ab9=_0x23055c>0x1?void 0x0:_0x23055c?_0x562835(_0x238bb2,_0xb0dc17):_0x238bb2,_0x16c5fc=_0x1ea899[_0x1d6ac0(0x300)]-0x1,_0x108087;_0x16c5fc>=0x0;_0x16c5fc--)(_0x108087=_0x1ea899[_0x16c5fc])&&(_0x286ab9=_0x108087(_0x286ab9)||_0x286ab9);return _0x286ab9;},_0x210ced=(_0xc768be,_0x14f238)=>(_0x10b24e,_0x2a1a11)=>_0x14f238(_0x10b24e,_0x2a1a11,_0xc768be);let _0x3bc722=class extends _0x1ca8c6[_0x1b1e14(0x2fd)]{constructor(_0x72d0c4,_0x1a25a4,_0x55cfd6){const _0x41e7fb=_0x1b1e14;super(),_0x215ae7(this,'_entities',new Map()),_0x215ae7(this,'_entityInit$',new _0x3b6b5a[(_0x41e7fb(0x19d))]()),(this[_0x41e7fb(0x23d)]=_0x72d0c4,this[_0x41e7fb(0x28c)]=_0x1a25a4,this['_collabSessionService']=_0x55cfd6,this['_init']());}[_0x1b1e14(0x1cc)](){const _0x10a0c2=_0x1b1e14;super['dispose'](),this[_0x10a0c2(0x1c1)]['complete'](),this[_0x10a0c2(0x224)][_0x10a0c2(0x459)](_0x316d31=>_0x316d31['dispose']());}['getCollabCursors$'](_0x1ac46c){const _0x47619d=_0x1b1e14;return this[_0x47619d(0x224)][_0x47619d(0x33b)](_0x1ac46c)?this['_entities'][_0x47619d(0x318)](_0x1ac46c)[_0x47619d(0x358)]:this['_entityInit$'][_0x47619d(0x22a)](_0x3b6b5a[_0x47619d(0x195)](_0x32a46d=>_0x32a46d[_0x47619d(0x30f)]===_0x1ac46c),_0x3b6b5a[_0x47619d(0x185)](_0xaea62a=>_0xaea62a[_0x47619d(0x358)]));}['_init'](){const _0x21b2e9=_0x1b1e14;this[_0x21b2e9(0x23d)]['getTypeOfUnitAdded$'](_0x1ca8c6['UniverInstanceType'][_0x21b2e9(0x3de)])[_0x21b2e9(0x22a)](_0x3b6b5a['takeUntil'](this['dispose$']))['subscribe'](async _0x500423=>{const _0x2bb539=_0x21b2e9,_0x4dc9a6=_0x500423[_0x2bb539(0x212)](),_0x5ba8d2=await this[_0x2bb539(0x303)](_0x4dc9a6);this[_0x2bb539(0x1c1)][_0x2bb539(0x22e)](_0x5ba8d2),this[_0x2bb539(0x224)][_0x2bb539(0x441)](_0x4dc9a6,_0x5ba8d2);}),this['_univerInstanceService'][_0x21b2e9(0x382)](_0x1ca8c6[_0x21b2e9(0x30b)][_0x21b2e9(0x3b3)])[_0x21b2e9(0x22a)](_0x3b6b5a['takeUntil'](this['dispose$']))[_0x21b2e9(0x22a)](_0x3b6b5a[_0x21b2e9(0x195)](_0x35772e=>!_0x35772e[_0x21b2e9(0x212)]()[_0x21b2e9(0x283)]('__')))['subscribe'](async _0x67eb93=>{const _0xf5f10c=_0x21b2e9,_0x51e4b7=_0x67eb93['getUnitId'](),_0x2bd190=await this['_startDocCollabCursor'](_0x51e4b7);this[_0xf5f10c(0x1c1)][_0xf5f10c(0x22e)](_0x2bd190),this[_0xf5f10c(0x224)][_0xf5f10c(0x441)](_0x51e4b7,_0x2bd190);}),_0x3b6b5a['merge'](this[_0x21b2e9(0x23d)][_0x21b2e9(0x3b8)](_0x1ca8c6[_0x21b2e9(0x30b)][_0x21b2e9(0x3b3)]),this[_0x21b2e9(0x23d)][_0x21b2e9(0x3b8)](_0x1ca8c6[_0x21b2e9(0x30b)][_0x21b2e9(0x3de)]))['pipe'](_0x3b6b5a[_0x21b2e9(0x264)](this[_0x21b2e9(0x31c)]))[_0x21b2e9(0x3b9)](_0x1ea171=>{const _0x1c0229=_0x21b2e9,_0x2a58af=_0x1ea171[_0x1c0229(0x212)](),_0x20e8a1=this['_entities'][_0x1c0229(0x318)](_0x2a58af);_0x20e8a1&&(_0x20e8a1['dispose'](),this[_0x1c0229(0x224)][_0x1c0229(0x1c0)](_0x2a58af));});}async['_startSheetCollabCursor'](_0x2c1e6a){const _0x1d58ed=_0x1b1e14,_0x195e81=await this[_0x1d58ed(0x26e)][_0x1d58ed(0x344)](_0x2c1e6a),_0x27e3c4=this[_0x1d58ed(0x28c)][_0x1d58ed(0x28a)](_0x526322,_0x2c1e6a,_0x195e81);return _0x27e3c4[_0x1d58ed(0x3f9)](),_0x27e3c4;}async[_0x1b1e14(0x201)](_0x4f690a){const _0x33c831=_0x1b1e14,_0x25404a=await this[_0x33c831(0x26e)][_0x33c831(0x344)](_0x4f690a),_0x135e5b=this['_injector'][_0x33c831(0x28a)](_0x409fe5,_0x4f690a,_0x25404a);return _0x135e5b[_0x33c831(0x3f9)](),_0x135e5b;}};_0x3bc722=_0x103ff4([_0x210ced(0x0,_0x1ca8c6[_0x1b1e14(0x3af)]),_0x210ced(0x1,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x1cd)])),_0x210ced(0x2,_0x1ca8c6[_0x1b1e14(0x308)](_0x4d5f16[_0x1b1e14(0x2ad)]))],_0x3bc722);const _0x178bb8=0x14,_0x2203b8=0xc8,_0x33ca65=0x4,_0x398e3c=0x5;function _0x52bcdd(_0x427560,_0x21a652){const _0x5a0946=_0x1b1e14;let {radius:_0xceb3e1,width:_0xed4a69,height:_0x2d5ed5}=_0x21a652;_0xceb3e1=_0xceb3e1!=null?_0xceb3e1:0x0,_0xed4a69=_0xed4a69!=null?_0xed4a69:0x1e,_0x2d5ed5=_0x2d5ed5!=null?_0x2d5ed5:0x1e;let _0x23cb97=0x0,_0x2fb2f1=0x0,_0x490a7c=0x0;_0x23cb97=_0x2fb2f1=_0x490a7c=Math[_0x5a0946(0x2c0)](_0xceb3e1,_0xed4a69/0x2,_0x2d5ed5/0x2),_0x427560[_0x5a0946(0x35b)](),_0x427560[_0x5a0946(0x2ae)](_0x23cb97,0x0),_0x427560[_0x5a0946(0x2d0)](_0xed4a69-_0x2fb2f1,0x0),_0x427560[_0x5a0946(0x1b0)](_0xed4a69-_0x2fb2f1,_0x2fb2f1,_0x2fb2f1,Math['PI']*0x3/0x2,0x0,!0x1),_0x427560['lineTo'](_0xed4a69,_0x2d5ed5-_0x490a7c),_0x427560[_0x5a0946(0x1b0)](_0xed4a69-_0x490a7c,_0x2d5ed5-_0x490a7c,_0x490a7c,0x0,Math['PI']/0x2,!0x1),_0x427560['lineTo'](0x0,_0x2d5ed5),_0x427560[_0x5a0946(0x2d0)](0x0,_0x23cb97),_0x427560[_0x5a0946(0x1b0)](_0x23cb97,_0x23cb97,_0x23cb97,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x427560['closePath'](),_0x21a652[_0x5a0946(0x1dc)]&&(_0x427560['save'](),_0x427560[_0x5a0946(0x33f)]=_0x21a652[_0x5a0946(0x1dc)],_0x21a652[_0x5a0946(0x3cf)]===_0x5a0946(0x223)?_0x427560[_0x5a0946(0x1dc)]('evenodd'):_0x427560['fill'](),_0x427560['restore']());}class _0x407ea4 extends _0x28adc3[_0x1b1e14(0x3f7)]{constructor(_0x28eb2b,_0x32a9ab){const _0x2745dc=_0x1b1e14;super(_0x28eb2b,_0x32a9ab),_0x215ae7(this,_0x2745dc(0x35f)),_0x215ae7(this,_0x2745dc(0x3d3)),(this[_0x2745dc(0x35f)]=_0x32a9ab==null?void 0x0:_0x32a9ab[_0x2745dc(0x35f)],this[_0x2745dc(0x3d3)]=_0x32a9ab==null?void 0x0:_0x32a9ab['text']);}static[_0x1b1e14(0x434)](_0xa1979b,_0xa9b811){const _0xd20178=_0x1b1e14,{text:_0x240c79,color:_0x1d5a32}=_0xa9b811;_0xa1979b[_0xd20178(0x42b)](),_0xa1979b[_0xd20178(0x236)]=_0xd20178(0x2f3);const _0x13d8e9=_0xa1979b[_0xd20178(0x1c3)](_0x240c79)[_0xd20178(0x43c)],_0xb2feb7=Math['min'](_0x13d8e9+0x2*_0x33ca65,_0x2203b8);_0x52bcdd(_0xa1979b,{'height':_0x178bb8,'radius':0x4,'width':_0xb2feb7,'fill':_0x1d5a32}),_0xa1979b[_0xd20178(0x33f)]=_0xd20178(0x21a);const _0x181134=_0x33ca65,_0xb49cca=_0x178bb8-_0x398e3c,_0xae0bd0=_0x2203b8-0x2*_0x33ca65;if(_0x13d8e9>_0xae0bd0){let _0x4226b2='',_0x399473=0x0;for(const _0x5466eb of _0x240c79){const _0x395847=_0xa1979b[_0xd20178(0x1c3)](_0x5466eb)[_0xd20178(0x43c)];if(_0x399473+_0x395847<=_0xae0bd0-_0xa1979b['measureText']('...')[_0xd20178(0x43c)])_0x4226b2+=_0x5466eb,_0x399473+=_0x395847;else{_0x4226b2+='...';break;}}_0xa1979b['fillText'](_0x4226b2,_0x181134,_0xb49cca);}else _0xa1979b['fillText'](_0x240c79,_0x181134,_0xb49cca);_0xa1979b[_0xd20178(0x1a0)]();}[_0x1b1e14(0x274)](_0x1ec4b3){const _0xe61d42=_0x1b1e14;_0x407ea4[_0xe61d42(0x434)](_0x1ec4b3,this);}}const _0xca0f1a=_0x1b1e14(0x2a5),_0x46567e='collab-text-range-',_0x3b1530='collab-rect-range-',_0x7e3dd4=0x6,_0x3e09f0=1.5,_0xcc75a0=0x4,_0x552899=1.5,_0x58b9aa=_0x1b1e14(0x3d8);class _0x4c87a6{constructor(_0x5414f3,_0x4d55f2,_0xff2b78,_0x553a89){const _0x1a5e4f=_0x1b1e14;_0x215ae7(this,'_shapes',[]),_0x215ae7(this,_0x1a5e4f(0x2d9),null),_0x215ae7(this,'_textBubble',null),_0x215ae7(this,_0x1a5e4f(0x293),null),_0x215ae7(this,'_hideTimer',null),_0x215ae7(this,_0x1a5e4f(0x33a),null),(this[_0x1a5e4f(0x188)]=_0x5414f3,this[_0x1a5e4f(0x1bc)]=_0x4d55f2,this[_0x1a5e4f(0x3d2)]=_0xff2b78,this[_0x1a5e4f(0x26b)]=_0x553a89,this['_render']());}set['_hover'](_0x4236c5){const _0x1754f6=_0x1b1e14;_0x4236c5?(this[_0x1754f6(0x293)]&&this[_0x1754f6(0x293)][_0x1754f6(0x355)](),this[_0x1754f6(0x255)]&&this[_0x1754f6(0x255)][_0x1754f6(0x25f)]()):(this[_0x1754f6(0x293)]&&this[_0x1754f6(0x293)][_0x1754f6(0x25f)](),this[_0x1754f6(0x255)]&&this[_0x1754f6(0x255)]['hide']());}['dispose'](){const _0x12f3af=_0x1b1e14;for(const _0x38bfd5 of this[_0x12f3af(0x2d5)])_0x38bfd5['dispose']();this['_textBubble']&&this[_0x12f3af(0x255)][_0x12f3af(0x1cc)](),this[_0x12f3af(0x293)]&&this[_0x12f3af(0x293)][_0x12f3af(0x1cc)](),this[_0x12f3af(0x2d9)]&&this[_0x12f3af(0x2d9)][_0x12f3af(0x1cc)](),this[_0x12f3af(0x33a)]&&this[_0x12f3af(0x33a)]();}[_0x1b1e14(0x32a)](){const _0x38de22=_0x1b1e14;var _0x37f6f3;const {_docSkeleton:_0x1d9da2,_document:_0x5e96b2}=this,{color:_0x19f006,name:_0x5c594d,ranges:_0x3785d5}=this['_cursor'],_0x38091f=_0x5e96b2[_0x38de22(0x376)](),{docsLeft:_0x3a480c,docsTop:_0x4e6bb0}=_0x38091f,_0xf71ebb=new _0x15e0d1[(_0x38de22(0x46a))](_0x38091f,_0x1d9da2);for(const {startOffset:_0x5918e3,endOffset:_0x5d9205,rangeType:_0x314a87,segmentId:_0x1a69f0,segmentPage:_0x2b80f6,collapsed:_0x377a1b,isActive:_0x4adad7}of _0x3785d5){const _0x24aff4=_0x1d9da2[_0x38de22(0x3c4)](_0x5918e3,!0x0,_0x1a69f0,_0x2b80f6);let _0x247ea5=_0x1d9da2['findNodePositionByCharIndex'](_0x5d9205,!0x0,_0x1a69f0,_0x2b80f6);if(_0x247ea5==null&&(_0x247ea5=_0x1d9da2[_0x38de22(0x3c4)](_0x5d9205-0x1,!0x1,_0x1a69f0,_0x2b80f6)),_0x4adad7){const {contentBoxPointGroup:_0x5d134d}=_0xf71ebb[_0x38de22(0x1e8)](_0x247ea5,_0x247ea5);if(_0x5d134d['length']===0x0)continue;this[_0x38de22(0x1ca)](_0x19f006,_0x5d134d,_0x3a480c,_0x4e6bb0,_0x5c594d),this[_0x38de22(0x33a)]=this[_0x38de22(0x183)]();}if(_0x24aff4&&_0x247ea5){if(_0x314a87===_0x1ca8c6[_0x38de22(0x239)]['RECT']){const _0x42034e=new _0x15e0d1[(_0x38de22(0x225))](_0x38091f,_0x1d9da2),{pointGroup:_0x388dbe}=(_0x37f6f3=_0x42034e[_0x38de22(0x1e8)](_0x24aff4,_0x247ea5))!=null?_0x37f6f3:{};if(_0x388dbe==null||_0x388dbe['length']===0x0)continue;this[_0x38de22(0x2ba)](_0x19f006,_0x388dbe,_0x3a480c,_0x4e6bb0);}else{if(!_0x377a1b){const {borderBoxPointGroup:_0x3ba91c}=_0xf71ebb['getRangePointData'](_0x24aff4,_0x247ea5);if(_0x3ba91c[_0x38de22(0x300)]===0x0)continue;this[_0x38de22(0x439)](_0x19f006,_0x3ba91c,_0x3a480c,_0x4e6bb0);}}}}}[_0x1b1e14(0x1ca)](_0x1628a4,_0x592a69,_0x1cc9c6,_0x6213d4,_0x400a90){const _0x28d3ab=_0x1b1e14,_0x28ab7b=this['_getAnchorBounding'](_0x592a69),{left:_0xf75f02,top:_0x33edd2,height:_0x1728cc}=_0x28ab7b,_0x4e91bb=this['_getScale'](),_0x14aa10=_0x552899/_0x4e91bb,_0x4ec918=new _0x28adc3[(_0x28d3ab(0x31b))](_0xca0f1a+_0x1ca8c6[_0x28d3ab(0x1a1)](_0x7e3dd4),{'left':_0xf75f02+_0x1cc9c6-_0x14aa10,'top':_0x33edd2+_0x6213d4,'height':_0x1728cc,'width':_0x3e09f0,'fill':_0x1628a4||_0x28adc3[_0x28d3ab(0x432)](_0x1ca8c6[_0x28d3ab(0x27e)][_0x28d3ab(0x289)],0x0),'strokeWidth':_0x14aa10,'stroke':_0x58b9aa,'evented':!0x0});this[_0x28d3ab(0x2d9)]=_0x4ec918,this[_0x28d3ab(0x1bc)]['addObject'](_0x4ec918,_0x15e0d1[_0x28d3ab(0x1aa)]);const _0x2178b6=new _0x28adc3[(_0x28d3ab(0x31b))](_0xca0f1a+_0x1ca8c6[_0x28d3ab(0x1a1)](_0x7e3dd4),{'left':_0xf75f02+_0x1cc9c6-_0x14aa10,'top':_0x33edd2+_0x6213d4-_0xcc75a0/0x2,'height':_0xcc75a0,'width':_0xcc75a0,'fill':_0x1628a4||_0x28adc3[_0x28d3ab(0x432)](_0x1ca8c6[_0x28d3ab(0x27e)][_0x28d3ab(0x289)],0x0),'strokeWidth':0x0,'stroke':_0x1628a4||_0x28adc3[_0x28d3ab(0x432)](_0x1ca8c6[_0x28d3ab(0x27e)]['black'],0x0),'evented':!0x1});this[_0x28d3ab(0x293)]=_0x2178b6,this['_scene']['addObject'](_0x2178b6,_0x15e0d1['TEXT_RANGE_LAYER_INDEX']);const _0x1c4c3b=new _0x407ea4(_0xca0f1a+_0x1ca8c6[_0x28d3ab(0x1a1)](_0x7e3dd4),{'left':_0xf75f02+_0x1cc9c6-_0x14aa10,'top':_0x33edd2+_0x6213d4-_0x178bb8,'text':_0x400a90,'color':_0x1628a4});this['_textBubble']=_0x1c4c3b,this[_0x28d3ab(0x1bc)][_0x28d3ab(0x284)](_0x1c4c3b,_0x15e0d1['TEXT_RANGE_LAYER_INDEX']),this[_0x28d3ab(0x238)]=!0x1;}[_0x1b1e14(0x183)](){const _0x50c965=_0x1b1e14,_0x277bc2=this[_0x50c965(0x2d9)][_0x50c965(0x315)][_0x50c965(0x2e7)](()=>{const _0x36bc02=_0x50c965;this[_0x36bc02(0x238)]=!0x0;}),_0xfc8946=this[_0x50c965(0x2d9)][_0x50c965(0x3cd)][_0x50c965(0x2e7)](()=>{const _0x467dcd=_0x50c965;this[_0x467dcd(0x351)]&&clearTimeout(this[_0x467dcd(0x351)]),this[_0x467dcd(0x351)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x4dac2c=_0x50c965;_0x277bc2[_0x4dac2c(0x2fb)](),_0xfc8946[_0x4dac2c(0x2fb)]();};}['_drawTextRange'](_0x3dc63d,_0x507aa9,_0xc3e44b,_0x46569a){const _0x4adc18=_0x1b1e14,_0x4bdb8f=new _0x1ca8c6[(_0x4adc18(0x405))](_0x3dc63d)['setAlpha'](0.2)[_0x4adc18(0x314)](),_0x7ebdee=new _0x28adc3[(_0x4adc18(0x3b4))](_0x46567e+_0x1ca8c6[_0x4adc18(0x1a1)](_0x7e3dd4),{'pointsGroup':_0x507aa9,'fill':_0x4bdb8f||_0x28adc3[_0x4adc18(0x432)](_0x1ca8c6[_0x4adc18(0x27e)][_0x4adc18(0x289)],0.2),'left':_0xc3e44b,'top':_0x46569a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4adc18(0x2d5)][_0x4adc18(0x456)](_0x7ebdee),this[_0x4adc18(0x1bc)][_0x4adc18(0x284)](_0x7ebdee,_0x15e0d1['TEXT_RANGE_LAYER_INDEX']);}[_0x1b1e14(0x2ba)](_0x5c235f,_0x417cf1,_0x4d57e0,_0x3bb6a8){const _0x49daa3=_0x1b1e14,_0x2a9ae7=new _0x1ca8c6[(_0x49daa3(0x405))](_0x5c235f)['setAlpha'](0.2)[_0x49daa3(0x314)](),_0x181f6d=new _0x28adc3['RegularPolygon'](_0x3b1530+_0x1ca8c6['generateRandomId'](_0x7e3dd4),{'pointsGroup':_0x417cf1,'fill':_0x2a9ae7||_0x28adc3[_0x49daa3(0x432)](_0x1ca8c6['COLORS'][_0x49daa3(0x289)],0.2),'left':_0x4d57e0,'top':_0x3bb6a8,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x49daa3(0x456)](_0x181f6d),this[_0x49daa3(0x1bc)]['addObject'](_0x181f6d,_0x15e0d1[_0x49daa3(0x1aa)]);}[_0x1b1e14(0x3c1)](_0x1de892){const _0x5408f6=_0x1de892[0x0],_0x4816b0=_0x5408f6[0x0],_0x1f8ef3=_0x5408f6[0x2],{x:_0xd17bae,y:_0x1732a5}=_0x4816b0,{x:_0x56484c,y:_0x55d96a}=_0x1f8ef3;return{'left':_0xd17bae,'top':_0x1732a5,'width':_0x56484c-_0xd17bae,'height':_0x55d96a-_0x1732a5};}[_0x1b1e14(0x2ff)](){const _0x2a6895=_0x1b1e14,{scaleX:_0xf3bb35,scaleY:_0x104495}=this[_0x2a6895(0x1bc)]['getAncestorScale']();return Math['max'](_0xf3bb35,_0x104495);}}var _0x3d6402=Object[_0x1b1e14(0x1ce)],_0x90f1aa=(_0x5295fb,_0x41d5db,_0xc32001,_0x1bcf00)=>{for(var _0x57284a=_0x1bcf00>0x1?void 0x0:_0x1bcf00?_0x3d6402(_0x41d5db,_0xc32001):_0x41d5db,_0xa944a8=_0x5295fb['length']-0x1,_0x30f4a0;_0xa944a8>=0x0;_0xa944a8--)(_0x30f4a0=_0x5295fb[_0xa944a8])&&(_0x57284a=_0x30f4a0(_0x57284a)||_0x57284a);return _0x57284a;},_0x36ae28=(_0x414eea,_0x26a6c1)=>(_0x3d6390,_0x5e77ae)=>_0x26a6c1(_0x3d6390,_0x5e77ae,_0x414eea);let _0x153663=class extends _0x1ca8c6[_0x1b1e14(0x2fd)]{constructor(_0x4deeaf,_0x2acf49,_0x29cafe,_0x5857ef,_0x5a6ce2){const _0x291fba=_0x1b1e14;super(),_0x215ae7(this,_0x291fba(0x209),[]),_0x215ae7(this,_0x291fba(0x40f),[]),(this['_context']=_0x4deeaf,this[_0x291fba(0x268)]=_0x2acf49,this[_0x291fba(0x2c9)]=_0x29cafe,this[_0x291fba(0x3fb)]=_0x5857ef,this['_themeService']=_0x5a6ce2,this[_0x291fba(0x2f4)]());}[_0x1b1e14(0x2f4)](){const _0x5b9f9a=_0x1b1e14,_0x59710c=this[_0x5b9f9a(0x1e9)][_0x5b9f9a(0x3da)],_0x407d7e=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x3b6b5a['combineLatest']([this[_0x5b9f9a(0x2c9)][_0x5b9f9a(0x3c7)](_0x59710c),this['_themeService'][_0x5b9f9a(0x334)]])[_0x5b9f9a(0x22a)](_0x3d6951[_0x5b9f9a(0x42a)](([_0x48dc69,_0x2d8b54])=>({'skeleton':_0x407d7e[_0x5b9f9a(0x1e2)](),'cursors':[..._0x48dc69[_0x5b9f9a(0x31f)]()][_0x5b9f9a(0x32b)](_0x114887=>({..._0x114887,'color':this[_0x5b9f9a(0x319)][_0x5b9f9a(0x30a)](_0x114887[_0x5b9f9a(0x35f)])}))})))[_0x5b9f9a(0x3b9)](_0x2fe64f=>{const _0x1615d3=_0x5b9f9a;if(this[_0x1615d3(0x446)](),_0x2fe64f){const {skeleton:_0xe4cb99,cursors:_0x3ed149}=_0x2fe64f;this[_0x1615d3(0x1f6)](_0xe4cb99,_0x3ed149);}})),this[_0x5b9f9a(0x419)](),this[_0x5b9f9a(0x1db)]();}[_0x1b1e14(0x1f6)](_0x81d861,_0x4d9b0c){const _0x522ec7=_0x1b1e14,{scene:_0xbe4445,mainComponent:_0x5a99a3}=this['_context'],_0x531311=_0x4d9b0c[_0x522ec7(0x42a)](_0x2e3afe=>new _0x4c87a6(_0x2e3afe,_0xbe4445,_0x81d861,_0x5a99a3));this[_0x522ec7(0x209)]=_0x531311,this[_0x522ec7(0x40f)]=_0x4d9b0c;}[_0x1b1e14(0x2a9)](){const _0x477dc0=_0x1b1e14;this['_removeCollabCursors']();const {scene:_0x1f0448,mainComponent:_0x581f52}=this[_0x477dc0(0x1e9)],_0x5f4bb2=this[_0x477dc0(0x268)][_0x477dc0(0x1e2)](),_0x314c51=this['_cursors'][_0x477dc0(0x42a)](_0x58079=>new _0x4c87a6(_0x58079,_0x1f0448,_0x5f4bb2,_0x581f52));this[_0x477dc0(0x209)]=_0x314c51;}['_removeCollabCursors'](){const _0x302c8c=_0x1b1e14;this['_cursorShapes'][_0x302c8c(0x459)](_0x2cbeff=>_0x2cbeff[_0x302c8c(0x1cc)]()),this[_0x302c8c(0x209)]=[];}[_0x1b1e14(0x1db)](){const _0x12af37=_0x1b1e14,_0x1acea4=[_0x15e0d1[_0x12af37(0x1b6)]['id']];this['disposeWithMe'](this[_0x12af37(0x3fb)][_0x12af37(0x27f)](_0x22b0bb=>{const _0x1ec8c9=_0x12af37;_0x1acea4['includes'](_0x22b0bb['id'])&&_0x22b0bb[_0x1ec8c9(0x309)][_0x1ec8c9(0x3da)]===this[_0x1ec8c9(0x1e9)][_0x1ec8c9(0x3da)]&&this[_0x1ec8c9(0x2a9)]();}));}['_initResize'](){const _0x21cd38=_0x1b1e14;this[_0x21cd38(0x215)](_0x1ca8c6[_0x21cd38(0x280)](this[_0x21cd38(0x1e9)][_0x21cd38(0x2bf)][_0x21cd38(0x192)])[_0x21cd38(0x22a)](_0x3d6951[_0x21cd38(0x195)](_0x4de6fb=>_0x4de6fb['type']===_0x28adc3[_0x21cd38(0x2b4)]['resize']),_0x3d6951[_0x21cd38(0x26a)](0x10))[_0x21cd38(0x3b9)](()=>{const _0x467a44=_0x21cd38;this[_0x467a44(0x2a9)]();}));}};_0x153663=_0x90f1aa([_0x36ae28(0x1,_0x1ca8c6[_0x1b1e14(0x308)](_0x449e95[_0x1b1e14(0x222)])),_0x36ae28(0x2,_0x1ca8c6['Inject'](_0x3bc722)),_0x36ae28(0x3,_0x1ca8c6[_0x1b1e14(0x25a)]),_0x36ae28(0x4,_0x1ca8c6['Inject'](_0x1ca8c6[_0x1b1e14(0x20d)]))],_0x153663);const _0x4e005b=0x1,_0x3cb029=1.5;class _0x14419a extends _0x28adc3[_0x1b1e14(0x3f7)]{constructor(_0x558434,_0x2a8f5e){const _0x2757c8=_0x1b1e14;super(_0x558434,_0x2a8f5e),_0x215ae7(this,_0x2757c8(0x211)),_0x215ae7(this,_0x2757c8(0x440),!0x1),_0x215ae7(this,_0x2757c8(0x39b)),_0x215ae7(this,_0x2757c8(0x38f),''),_0x215ae7(this,'_labelPosition',_0x2757c8(0x35d)),_0x215ae7(this,_0x2757c8(0x33d)),(_0x2a8f5e&&this['setShapeProps'](_0x2a8f5e),this[_0x2757c8(0x315)]['subscribeEvent'](()=>this[_0x2757c8(0x247)]({'hovered':!0x0})),this['onPointerLeave$'][_0x2757c8(0x2e7)](()=>this[_0x2757c8(0x247)]({'hovered':!0x1})));}[_0x1b1e14(0x247)](_0x465fbf){const _0x5d9d69=_0x1b1e14;var _0x279fc2,_0x45649b,_0x35ff83,_0x4f0b63,_0x5080f5,_0x3d6e7d;this[_0x5d9d69(0x211)]=(_0x279fc2=_0x465fbf[_0x5d9d69(0x35f)])!=null?_0x279fc2:this[_0x5d9d69(0x211)],this['_hovered']=(_0x45649b=_0x465fbf[_0x5d9d69(0x3f5)])!=null?_0x45649b:this[_0x5d9d69(0x440)],this[_0x5d9d69(0x39b)]=(_0x35ff83=_0x465fbf[_0x5d9d69(0x449)])!=null?_0x35ff83:this[_0x5d9d69(0x39b)],this[_0x5d9d69(0x38f)]=(_0x4f0b63=_0x465fbf[_0x5d9d69(0x184)])!=null?_0x4f0b63:this[_0x5d9d69(0x38f)],this[_0x5d9d69(0x368)]=(_0x5080f5=_0x465fbf['labelPosition'])!=null?_0x5080f5:this[_0x5d9d69(0x368)],this[_0x5d9d69(0x33d)]=(_0x3d6e7d=_0x465fbf[_0x5d9d69(0x3ee)])!=null?_0x3d6e7d:this[_0x5d9d69(0x33d)],this[_0x5d9d69(0x2ac)]({'width':_0x465fbf[_0x5d9d69(0x43c)],'height':_0x465fbf[_0x5d9d69(0x39f)]});}['onMouseMove'](_0x37b67a){const _0x510f69=_0x1b1e14,{row:_0x2be295,column:_0x395661}=_0x37b67a;if(_0x2be295>=this[_0x510f69(0x39b)]['startRow']&&_0x2be295<=this[_0x510f69(0x39b)][_0x510f69(0x24d)]&&_0x395661>=this[_0x510f69(0x39b)][_0x510f69(0x39c)]&&_0x395661<=this[_0x510f69(0x39b)][_0x510f69(0x270)]){this[_0x510f69(0x247)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x1b1e14(0x1f7)](_0x36f638){return!0x1;}['_draw'](_0x58ca59){const _0x29693e=_0x1b1e14;_0x28adc3[_0x29693e(0x31b)][_0x29693e(0x434)](_0x58ca59,{'width':this[_0x29693e(0x43c)],'height':this[_0x29693e(0x39f)],'strokeWidth':_0x3cb029,'stroke':this[_0x29693e(0x211)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x58ca59[_0x29693e(0x42b)](),_0x58ca59[_0x29693e(0x1ec)](0x1,0x0,0x0,0x1,this['width'],this[_0x29693e(0x368)]===_0x29693e(0x22f)?0x0:-_0x178bb8),_0x407ea4[_0x29693e(0x434)](_0x58ca59,{'text':this[_0x29693e(0x38f)],'color':this[_0x29693e(0x211)]}),_0x58ca59[_0x29693e(0x1a0)]());}}var _0x1ad02c=Object['getOwnPropertyDescriptor'],_0x320861=(_0x5c09ef,_0x549118,_0x12fb59,_0x3223b7)=>{const _0x287ed3=_0x1b1e14;for(var _0x1f6ceb=_0x3223b7>0x1?void 0x0:_0x3223b7?_0x1ad02c(_0x549118,_0x12fb59):_0x549118,_0xb95196=_0x5c09ef[_0x287ed3(0x300)]-0x1,_0x2aa156;_0xb95196>=0x0;_0xb95196--)(_0x2aa156=_0x5c09ef[_0xb95196])&&(_0x1f6ceb=_0x2aa156(_0x1f6ceb)||_0x1f6ceb);return _0x1f6ceb;},_0x3dbc37=(_0x1b4d13,_0x2d795b)=>(_0xa56d05,_0x278fe4)=>_0x2d795b(_0xa56d05,_0x278fe4,_0x1b4d13);const _0x606660=0x1389;let _0x2da07f=class extends _0x1ca8c6[_0x1b1e14(0x2fd)]{constructor(_0xc2f092,_0x44c7c2,_0x1539d4,_0x22607b){const _0x265915=_0x1b1e14;super(),_0x215ae7(this,_0x265915(0x40f),new Set()),_0x215ae7(this,_0x265915(0x3f8),null),(this['_context']=_0xc2f092,this[_0x265915(0x18e)]=_0x44c7c2,this[_0x265915(0x2c9)]=_0x1539d4,this[_0x265915(0x319)]=_0x22607b,this[_0x265915(0x2f4)]());}[_0x1b1e14(0x2f4)](){const _0x5d5447=_0x1b1e14;this['_sheetSkeletonManagerService'][_0x5d5447(0x2ce)][_0x5d5447(0x22a)](_0x3d6951[_0x5d5447(0x264)](this['dispose$']),_0x3d6951['switchMap'](_0x1d2c0c=>{const _0x4ba2ff=_0x5d5447;if(_0x1d2c0c){const _0x46e767=_0x1d2c0c[_0x4ba2ff(0x3e2)];return _0x3b6b5a[_0x4ba2ff(0x2fa)](this[_0x4ba2ff(0x2c9)][_0x4ba2ff(0x3c7)](this[_0x4ba2ff(0x1e9)]['unitId']),this[_0x4ba2ff(0x319)]['currentTheme$'])[_0x4ba2ff(0x22a)](_0x3d6951['map'](([_0x3d4966,_0x209e7b])=>{const _0x2e3522=new Map();return _0x3d4966['forEach']((_0x3cd5ed,_0x349058)=>{const _0x4d98f8=_0x4e18;if(_0x3cd5ed[_0x4d98f8(0x339)]===_0x46e767){const _0x45685f={..._0x3cd5ed};_0x45685f['color']=this[_0x4d98f8(0x319)][_0x4d98f8(0x30a)](_0x3cd5ed['color']),_0x2e3522['set'](_0x349058,_0x45685f);}}),{'skeleton':_0x1d2c0c,'cursors':_0x2e3522};}));}return _0x3b6b5a['of']({'skeleton':null,'cursors':new Map()});}))[_0x5d5447(0x3b9)](({skeleton:_0x3b5e3d,cursors:_0x407875})=>{const _0x41d3e3=_0x5d5447;this['_removeCollabCursors'](),_0x3b5e3d&&this[_0x41d3e3(0x1f6)](_0x3b5e3d,_0x407875);}),this['_sheetSkeletonManagerService'][_0x5d5447(0x2ce)][_0x5d5447(0x3b9)](_0x2a7f44=>{const _0x111d34=_0x5d5447;if(_0x2a7f44==null)return;const {skeleton:_0x3254f8}=_0x2a7f44,{scene:_0x424988}=this[_0x111d34(0x1e9)];_0x424988[_0x111d34(0x285)]['subscribeEvent'](_0x1ca8c6[_0x111d34(0x1d1)](_0x5734fc=>{const _0x150daf=_0x111d34;var _0x1be33b,_0x5ca894;const {offsetX:_0x2e4771,offsetY:_0x4f0d60}=_0x5734fc,{x:_0x6e88dc,y:_0x13ce38}=_0x424988[_0x150daf(0x3ac)](_0x28adc3[_0x150daf(0x27b)]['FromArray']([_0x2e4771,_0x4f0d60])),{scaleX:_0x49c92e,scaleY:_0x5076c5}=_0x424988['getAncestorScale'](),_0x3eac77=_0x424988[_0x150daf(0x401)](_0x28adc3[_0x150daf(0x356)][_0x150daf(0x420)]),_0x39b902=_0x424988[_0x150daf(0x2d6)](_0x28adc3['Vector2'][_0x150daf(0x399)]([_0x6e88dc,_0x13ce38]),_0x3eac77),_0x8d7b58=_0x3254f8[_0x150daf(0x1d8)](_0x2e4771,_0x4f0d60,_0x49c92e,_0x5076c5,_0x39b902);((_0x1be33b=this[_0x150daf(0x3f8)])==null?void 0x0:_0x1be33b[_0x150daf(0x3e4)])===_0x8d7b58[_0x150daf(0x3e4)]&&((_0x5ca894=this[_0x150daf(0x3f8)])==null?void 0x0:_0x5ca894[_0x150daf(0x313)])===_0x8d7b58[_0x150daf(0x313)]||this[_0x150daf(0x40f)]['forEach'](_0x870d70=>{const _0x5c7544=_0x150daf;_0x870d70[_0x5c7544(0x386)](_0x8d7b58);});},0x64));});}['_updateCollabCursors'](_0xcb7c67,_0x3c85f0){const _0x5f3e8b=_0x1b1e14;var _0x4a6027;const _0x3d81b1=(_0x4a6027=this[_0x5f3e8b(0x18e)][_0x5f3e8b(0x310)]())==null?void 0x0:_0x4a6027[_0x5f3e8b(0x20c)];if(!_0x3d81b1)return;const _0x37cdbe=this['_getSheetObject']();if(!_0x37cdbe)return;this[_0x5f3e8b(0x40f)][_0x5f3e8b(0x459)](_0x172363=>{const _0x2fb0f0=_0x5f3e8b;_0x172363[_0x2fb0f0(0x1b9)]();});const {scene:_0x1f2a9d}=_0x37cdbe,_0x275de1=_0x3fb8bf(Array[_0x5f3e8b(0x2f2)](_0x3c85f0['values']()))[_0x5f3e8b(0x42a)](_0x2a9d52=>{const _0x3e401a=_0x5f3e8b,{color:_0x411114,range:_0x4f30e9,name:_0x191145,selection:_0xd9a044,sheetID:_0x32810d}=_0x2a9d52,{startColumn:_0x30ac0a,startRow:_0x2d2de0,endColumn:_0x1043ed,endRow:_0x4959bc}=_0x4f30e9,_0x3b99d1=_0x5436e7['getCoordByCell'](_0x2d2de0,_0x30ac0a,_0x1f2a9d,_0x3d81b1),_0x28d1e1=_0x5436e7[_0x3e401a(0x34b)](_0x4959bc,_0x1043ed,_0x1f2a9d,_0x3d81b1),{columnHeaderHeightAndMarginTop:_0x193b90}=_0x3d81b1,{startX:_0x617c6e,startY:_0x5449c7}=_0x3b99d1,{endX:_0x12787f,endY:_0x2e99a3}=_0x28d1e1,_0x40703d=_0x12787f-_0x617c6e,_0x311794=_0x2e99a3-_0x5449c7,_0x1ca54b={'labelPosition':_0x5449c7-_0x193b90>=_0x178bb8?_0x3e401a(0x35d):_0x3e401a(0x22f),'sheetID':_0x32810d,'range':_0x4f30e9,'color':_0x411114,'name':_0x191145,'selection':_0xd9a044,'left':_0x617c6e,'top':_0x5449c7,'width':_0x40703d,'height':_0x311794,'evented':!0x1,'zIndex':_0x606660};return new _0x14419a(_0x191145,_0x1ca54b);});_0x1f2a9d[_0x5f3e8b(0x2cd)](_0x275de1,_0x4e005b),this[_0x5f3e8b(0x40f)]=new Set(_0x275de1);}[_0x1b1e14(0x446)](){const _0x3bae88=_0x1b1e14;var _0x584a32;(_0x584a32=this[_0x3bae88(0x40f)])==null||_0x584a32[_0x3bae88(0x459)](_0x334a1b=>_0x334a1b['dispose']());}[_0x1b1e14(0x1ae)](){const _0x2e663c=_0x1b1e14;return _0x5436e7['getSheetObject'](this[_0x2e663c(0x1e9)]['unit'],this['_context']);}};_0x2da07f=_0x320861([_0x3dbc37(0x1,_0x1ca8c6[_0x1b1e14(0x308)](_0x5436e7[_0x1b1e14(0x19c)])),_0x3dbc37(0x2,_0x1ca8c6['Inject'](_0x3bc722)),_0x3dbc37(0x3,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x20d)]))],_0x2da07f);function _0x3fb8bf(_0x1062a3){const _0x45f62b=_0x1b1e14,_0x14e467=new Map();return _0x1062a3['forEach'](_0x190598=>{const _0x44e2cf=_0x4e18;if(_0x14e467['has'](_0x190598[_0x44e2cf(0x35e)])){const _0x57c23f=_0x14e467['get'](_0x190598['selection']);_0x57c23f[_0x44e2cf(0x184)]+=',\x20'+_0x190598['name'];}else _0x14e467['set'](_0x190598[_0x44e2cf(0x35e)],_0x190598);}),Array[_0x45f62b(0x2f2)](_0x14e467['values']());}var _0x355e19=Object[_0x1b1e14(0x1ce)],_0x26578d=(_0x45b48d,_0x2be71d,_0x3aa54f,_0x2fba10)=>{const _0x4e37d9=_0x1b1e14;for(var _0xf282e6=_0x2fba10>0x1?void 0x0:_0x2fba10?_0x355e19(_0x2be71d,_0x3aa54f):_0x2be71d,_0x577d6c=_0x45b48d[_0x4e37d9(0x300)]-0x1,_0x5ecb8c;_0x577d6c>=0x0;_0x577d6c--)(_0x5ecb8c=_0x45b48d[_0x577d6c])&&(_0xf282e6=_0x5ecb8c(_0xf282e6)||_0xf282e6);return _0xf282e6;},_0x5460fe=(_0x5a7757,_0x42d0f0)=>(_0x29e7cb,_0x451280)=>_0x42d0f0(_0x29e7cb,_0x451280,_0x5a7757);let _0x22380c=class extends _0x1ca8c6[_0x1b1e14(0x341)]{constructor(_0x46e717,_0x5099c0,_0x246ace,_0x3a0533,_0x42dd3d,_0x391a68){const _0x42abea=_0x1b1e14;super(),this[_0x42abea(0x1b8)]=_0x46e717,this[_0x42abea(0x46e)]=_0x5099c0,this[_0x42abea(0x45a)]=_0x246ace,this[_0x42abea(0x3d7)]=_0x3a0533,this['_notificationService']=_0x42dd3d,this[_0x42abea(0x34d)]=_0x391a68,this[_0x42abea(0x37c)](),this[_0x42abea(0x3d4)]();}[_0x1b1e14(0x37c)](){const _0x545487=_0x1b1e14;this['disposeWithMe'](this['_beforeCloseService'][_0x545487(0x1f8)](()=>{const _0x48c49d=_0x545487;if(this[_0x48c49d(0x46e)][_0x48c49d(0x22c)]['size'])return this[_0x48c49d(0x34d)]['t'](_0x48c49d(0x426));}));}[_0x1b1e14(0x3d4)](){const _0x56d394=_0x1b1e14;this[_0x56d394(0x215)](this[_0x56d394(0x45a)][_0x56d394(0x31e)][_0x56d394(0x3b9)](_0x16d6aa=>{const _0x3795fc=_0x56d394;_0x16d6aa['id']===_0x4d5f16[_0x3795fc(0x210)][_0x3795fc(0x1df)]&&this[_0x3795fc(0x3d7)][_0x3795fc(0x25f)]({'type':_0x5cbfd3[_0x3795fc(0x1e6)][_0x3795fc(0x329)],'content':this[_0x3795fc(0x34d)]['t'](_0x3795fc(0x411))}),_0x16d6aa['id']===_0x4d5f16['CollaborationUIEventId']['CLOSE_ROOM']&&this['_messageService'][_0x3795fc(0x25f)]({'type':_0x5cbfd3[_0x3795fc(0x1e6)][_0x3795fc(0x329)],'content':this[_0x3795fc(0x34d)]['t'](_0x3795fc(0x2e2))}),_0x16d6aa['id']===_0x4d5f16[_0x3795fc(0x210)][_0x3795fc(0x44c)]&&this[_0x3795fc(0x2dd)]['show']({'title':this[_0x3795fc(0x34d)]['t'](_0x3795fc(0x389)),'content':this[_0x3795fc(0x34d)]['t'](_0x3795fc(0x378)),'type':'error','duration':0x0}),_0x16d6aa['id']===_0x4d5f16['CollaborationUIEventId'][_0x3795fc(0x2c6)]&&this['_messageService'][_0x3795fc(0x25f)]({'type':_0x5cbfd3['MessageType'][_0x3795fc(0x37a)],'content':this['_localeService']['t'](_0x3795fc(0x2e2))+'('+_0x16d6aa[_0x3795fc(0x45f)]+')'}),_0x16d6aa['id']===_0x4d5f16[_0x3795fc(0x210)][_0x3795fc(0x33c)]&&this[_0x3795fc(0x3d7)]['show']({'type':_0x5cbfd3['MessageType']['Warning'],'content':this[_0x3795fc(0x34d)]['t'](_0x16d6aa[_0x3795fc(0x45f)]||'')}),_0x16d6aa['id']===_0x4d5f16[_0x3795fc(0x210)][_0x3795fc(0x3e9)]&&this['_messageService'][_0x3795fc(0x25f)]({'type':_0x5cbfd3[_0x3795fc(0x1e6)][_0x3795fc(0x329)],'content':this[_0x3795fc(0x34d)]['t']('session.will-retry')}),_0x16d6aa['id']===_0x4d5f16['CollaborationUIEventId'][_0x3795fc(0x3d5)]&&this[_0x3795fc(0x3d7)][_0x3795fc(0x25f)]({'type':_0x5cbfd3[_0x3795fc(0x1e6)][_0x3795fc(0x37a)],'content':this[_0x3795fc(0x34d)]['t']('session.connection-failed')}),_0x16d6aa['id']===_0x4d5f16[_0x3795fc(0x210)][_0x3795fc(0x2cc)]&&this['_messageService'][_0x3795fc(0x25f)]({'type':_0x5cbfd3[_0x3795fc(0x1e6)][_0x3795fc(0x37a)],'content':this[_0x3795fc(0x34d)]['t'](_0x3795fc(0x342))});}));}};_0x22380c=_0x26578d([_0x5460fe(0x0,_0x535318[_0x1b1e14(0x1a4)]),_0x5460fe(0x1,_0x4d5f16[_0x1b1e14(0x3d6)]),_0x5460fe(0x2,_0x1ca8c6[_0x1b1e14(0x308)](_0x4d5f16['CollaborationUIEventService'])),_0x5460fe(0x3,_0x535318[_0x1b1e14(0x447)]),_0x5460fe(0x4,_0x535318['INotificationService']),_0x5460fe(0x5,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x3fa)]))],_0x22380c);var _0x57a7f3=Object['getOwnPropertyDescriptor'],_0x35675a=(_0x569fc6,_0x58944f,_0x43ab52,_0x30a512)=>{const _0x49a5b5=_0x1b1e14;for(var _0x107779=_0x30a512>0x1?void 0x0:_0x30a512?_0x57a7f3(_0x58944f,_0x43ab52):_0x58944f,_0x25caf4=_0x569fc6[_0x49a5b5(0x300)]-0x1,_0x11d9b9;_0x25caf4>=0x0;_0x25caf4--)(_0x11d9b9=_0x569fc6[_0x25caf4])&&(_0x107779=_0x11d9b9(_0x107779)||_0x107779);return _0x107779;},_0x1d72be=(_0x3ddf90,_0x4ef2fb)=>(_0xcb66b3,_0x261e54)=>_0x4ef2fb(_0xcb66b3,_0x261e54,_0x3ddf90);let _0x4b7de8=class extends _0x1ca8c6[_0x1b1e14(0x341)]{constructor(_0x1e85df,_0x3d2ad6,_0x548719,_0x39853d){const _0x434e8e=_0x1b1e14;super(),_0x215ae7(this,_0x434e8e(0x25b)),(this[_0x434e8e(0x28c)]=_0x1e85df,this[_0x434e8e(0x208)]=_0x3d2ad6,this[_0x434e8e(0x3e0)]=_0x548719,this[_0x434e8e(0x40d)]=_0x39853d,this[_0x434e8e(0x2f4)]());}[_0x1b1e14(0x2f4)](){this['_initWindowErrorListener'](),this['_initUnhandledRejectionListener'](),this['_monkeyPatchLogService'](),this['_initUserListener']();}[_0x1b1e14(0x32e)](){const _0x1f76d8=_0x1b1e14;this['disposeWithMe'](this[_0x1f76d8(0x40d)][_0x1f76d8(0x317)][_0x1f76d8(0x3b9)](_0x3282dc=>{const _0x28eda6=_0x1f76d8;this[_0x28eda6(0x25b)]=_0x3282dc==null?void 0x0:_0x3282dc[_0x28eda6(0x252)];}));}['_initWindowErrorListener'](){const _0x246990=_0x1b1e14,_0x55c39c=_0x2aee80=>{const _0x46266b=_0x4e18;var _0x55029b;this[_0x46266b(0x198)](_0x46266b(0x191),'[Window\x20Error]:\x20'+_0x2aee80[_0x46266b(0x2de)]+_0x46266b(0x43b)+_0x2aee80[_0x46266b(0x350)]+':'+_0x2aee80[_0x46266b(0x3fc)]+':'+_0x2aee80[_0x46266b(0x427)]+'\x0a'+(((_0x55029b=_0x2aee80[_0x46266b(0x191)])==null?void 0x0:_0x55029b[_0x46266b(0x2f1)])||''));};window[_0x246990(0x469)](_0x246990(0x191),_0x55c39c),this['disposeWithMe'](()=>{const _0xd9454b=_0x246990;window[_0xd9454b(0x3cb)](_0xd9454b(0x191),_0x55c39c);});}[_0x1b1e14(0x23e)](){const _0x54103f=_0x1b1e14,_0x221799=_0x53372b=>{const _0x2d3d4b=_0x4e18;this[_0x2d3d4b(0x198)](_0x2d3d4b(0x191),_0x2d3d4b(0x41d)+_0x53372b['reason']);};window[_0x54103f(0x469)](_0x54103f(0x19e),_0x221799),this[_0x54103f(0x215)](()=>{const _0x16d4fb=_0x54103f;window[_0x16d4fb(0x3cb)](_0x16d4fb(0x19e),_0x221799);});}[_0x1b1e14(0x278)](){const _0x367252=_0x1b1e14,_0x388f4d=this[_0x367252(0x3e0)][_0x367252(0x191)]['bind'](this['_logService']);this[_0x367252(0x3e0)][_0x367252(0x191)]=(..._0x58c8f9)=>{const _0x20ab19=_0x367252,_0x42f805=_0x58c8f9[_0x20ab19(0x42a)](_0x2a0e5f=>_0x2a0e5f instanceof Error?_0x2a0e5f[_0x20ab19(0x2de)]+'\x0a'+_0x2a0e5f[_0x20ab19(0x2f1)]:String(_0x2a0e5f))[_0x20ab19(0x2cb)]('\x20');this[_0x20ab19(0x198)]('error',_0x20ab19(0x21c)+_0x42f805),_0x388f4d(..._0x58c8f9);},this[_0x367252(0x215)](()=>{const _0x222a00=_0x367252;this[_0x222a00(0x3e0)][_0x222a00(0x191)]=_0x388f4d;});}[_0x1b1e14(0x198)](_0x62fb32,_0x40b830){const _0x1c42fa=_0x1b1e14;try{const _0x57091b={'userId':this[_0x1c42fa(0x25b)],'logLabel':_0x62fb32,'content':_0x40b830};this[_0x1c42fa(0x208)][_0x1c42fa(0x1a3)](_0x1c42fa(0x18b),{'body':_0x57091b})[_0x1c42fa(0x461)](()=>{});}catch{}}};_0x4b7de8=_0x35675a([_0x1d72be(0x0,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x1cd)])),_0x1d72be(0x1,_0x1ca8c6['Inject'](_0x89ff74['HTTPService'])),_0x1d72be(0x2,_0x1ca8c6[_0x1b1e14(0x353)]),_0x1d72be(0x3,_0x1ca8c6['Inject'](_0x4d5f16[_0x1b1e14(0x2ad)]))],_0x4b7de8);const _0x44d605='collaboration-client-ui.config',_0x41c00e={};var _0x2de86e=Object[_0x1b1e14(0x1ce)],_0x1da1e0=(_0x85712,_0x23fd9e,_0x2d4015,_0xaabfb5)=>{const _0x236da8=_0x1b1e14;for(var _0x360ac6=_0xaabfb5>0x1?void 0x0:_0xaabfb5?_0x2de86e(_0x23fd9e,_0x2d4015):_0x23fd9e,_0x5db1f3=_0x85712[_0x236da8(0x300)]-0x1,_0x351b83;_0x5db1f3>=0x0;_0x5db1f3--)(_0x351b83=_0x85712[_0x5db1f3])&&(_0x360ac6=_0x351b83(_0x360ac6)||_0x360ac6);return _0x360ac6;},_0x4e73ae=(_0x18fb1c,_0x406bb4)=>(_0x2fb16a,_0xe7dfec)=>_0x406bb4(_0x2fb16a,_0xe7dfec,_0x18fb1c);let _0x41d520=class{constructor(_0x17c5ac,_0x4a00af){const _0x374638=_0x1b1e14;this[_0x374638(0x38a)]=_0x17c5ac,this[_0x374638(0x416)]=_0x4a00af;}['transformIMECache'](_0xcfa78a){const _0x4276cb=_0x1b1e14;this[_0x4276cb(0x409)](_0xcfa78a),this['_transformPreviousActiveRange'](_0xcfa78a);}[_0x1b1e14(0x2cf)](_0x360b95){const _0x2f312c=_0x1b1e14,{unitID:_0x46d853}=_0x360b95,_0x1c3384=this[_0x2f312c(0x416)][_0x2f312c(0x199)](_0x46d853)[_0x2f312c(0x39d)](_0x15e0d1['DocIMEInputManagerService']),{redoCache:_0x49810d}=_0x1c3384[_0x2f312c(0x457)]();if(_0x49810d[_0x2f312c(0x300)]===0x0)return _0x360b95;let _0x312d5f=_0x1ca8c6['Tools'][_0x2f312c(0x261)](_0x360b95[_0x2f312c(0x216)][0x0]);for(let _0x560981=0x0;_0x560981<_0x49810d['length'];_0x560981++){const _0x3594e4={'id':'doc.mutation.rich-text-editing','params':{..._0x49810d[_0x560981]}},_0x504bfb=this['_transformService']['transformMutation'](_0x312d5f,_0x3594e4,!0x1);if(_0x598d32[_0x2f312c(0x1af)](_0x504bfb))throw _0x504bfb[_0x2f312c(0x191)];_0x312d5f=_0x504bfb['m1Prime'];}return{..._0x1ca8c6[_0x2f312c(0x438)]['deepClone'](_0x360b95),'mutations':[_0x312d5f]};}[_0x1b1e14(0x409)](_0x51e933){const _0x32ccf7=_0x1b1e14,{unitID:_0x1d49c5}=_0x51e933,_0x26d112=this[_0x32ccf7(0x416)][_0x32ccf7(0x199)](_0x1d49c5)['with'](_0x15e0d1[_0x32ccf7(0x202)]),{undoCache:_0x8128ca,redoCache:_0x4824f9}=_0x26d112['getUndoRedoMutationParamsCache']();if(_0x8128ca[_0x32ccf7(0x300)]===0x0||_0x4824f9['length']===0x0)return;const _0x2618e3=[],_0x2abc95=[];let _0x2e3596=_0x1ca8c6['Tools']['deepClone'](_0x51e933['mutations'][0x0]),_0x3f7e4b=_0x1ca8c6[_0x32ccf7(0x438)][_0x32ccf7(0x261)](_0x51e933[_0x32ccf7(0x216)][0x0]);for(let _0x513247=_0x8128ca[_0x32ccf7(0x300)]-0x1;_0x513247>=0x0;_0x513247--){const _0xe66eaf={'id':_0x32ccf7(0x354),'params':{..._0x8128ca[_0x513247]}},_0x3e5bd5={'id':_0x32ccf7(0x354),'params':{..._0x4824f9[_0x513247]}},_0x1a9e92=this['_transformService'][_0x32ccf7(0x398)](_0x2e3596,_0xe66eaf,!0x1),_0x3835b2=this[_0x32ccf7(0x38a)][_0x32ccf7(0x398)](_0x3f7e4b,_0x3e5bd5,!0x1);if(_0x598d32['isTransformMutationFailure'](_0x1a9e92))throw _0x1a9e92[_0x32ccf7(0x191)];if(_0x598d32[_0x32ccf7(0x1af)](_0x3835b2))throw _0x3835b2['error'];_0x2618e3['unshift'](_0x1a9e92['m2Prime'][_0x32ccf7(0x309)]),_0x2abc95[_0x32ccf7(0x453)](_0x3835b2['m2Prime'][_0x32ccf7(0x309)]),_0x2e3596=_0x1a9e92[_0x32ccf7(0x304)],_0x3f7e4b=_0x3835b2[_0x32ccf7(0x304)];}_0x26d112[_0x32ccf7(0x393)]({'undoCache':_0x2618e3,'redoCache':_0x2abc95});}['_transformPreviousActiveRange'](_0x434cdb){const _0x2deea1=_0x1b1e14,{unitID:_0xd4a07c}=_0x434cdb,_0x37f0ba=this[_0x2deea1(0x416)]['getRenderById'](_0xd4a07c)[_0x2deea1(0x39d)](_0x15e0d1['DocIMEInputManagerService']),_0x22a49a=_0x37f0ba['getActiveRange']();if(_0x22a49a==null)return;const _0xdde130=[{'id':_0x2deea1(0x354),'params':{'unitId':_0x434cdb[_0x2deea1(0x30f)],'actions':null,'textRanges':[_0x22a49a]}}],_0x7920bf=this[_0x2deea1(0x38a)][_0x2deea1(0x3b1)](_0x434cdb,_0xdde130);if(!_0x598d32['isTransformMutationsWithChangesetSuccess'](_0x7920bf))throw _0x7920bf[_0x2deea1(0x191)];const _0xabf817=_0x7920bf[_0x2deea1(0x384)][0x0][_0x2deea1(0x309)][_0x2deea1(0x40b)];Array['isArray'](_0xabf817)&&_0xabf817[_0x2deea1(0x300)]&&_0x37f0ba[_0x2deea1(0x464)](_0xabf817[0x0]);}};_0x41d520=_0x1da1e0([_0x4e73ae(0x0,_0x598d32[_0x1b1e14(0x27c)]),_0x4e73ae(0x1,_0x28adc3['IRenderManagerService'])],_0x41d520);var _0x24a99f=Object[_0x1b1e14(0x1ce)],_0x52124f=(_0x591263,_0x33149c,_0x191491,_0x28c5c1)=>{const _0x4b9217=_0x1b1e14;for(var _0x1018ed=_0x28c5c1>0x1?void 0x0:_0x28c5c1?_0x24a99f(_0x33149c,_0x191491):_0x33149c,_0x5de699=_0x591263[_0x4b9217(0x300)]-0x1,_0x3de76c;_0x5de699>=0x0;_0x5de699--)(_0x3de76c=_0x591263[_0x5de699])&&(_0x1018ed=_0x3de76c(_0x1018ed)||_0x1018ed);return _0x1018ed;},_0x4dda8b=(_0x35fe77,_0x3ffc00)=>(_0xc8cb1d,_0x35a731)=>_0x3ffc00(_0xc8cb1d,_0x35a731,_0x35fe77);let _0x939c01=class{constructor(_0x29b969,_0x34ed1e,_0x1ba877){const _0x5dd242=_0x1b1e14;this[_0x5dd242(0x28c)]=_0x29b969,this['_transformService']=_0x34ed1e,this[_0x5dd242(0x436)]=_0x1ba877;}[_0x1b1e14(0x18c)](_0x4ccc8f){const _0x2e4b23=_0x1b1e14;this[_0x2e4b23(0x348)](_0x4ccc8f);}[_0x1b1e14(0x2cf)](_0x1afcfa){const _0x3af402=_0x1b1e14,{unitID:_0x2a3d29}=_0x1afcfa,{collaboration:_0x4cfabe}=this[_0x3af402(0x436)][_0x3af402(0x2d4)](_0x2a3d29);if(_0x4cfabe[_0x3af402(0x300)]===0x0)return _0x1afcfa;let _0x3ef4ae=_0x1ca8c6[_0x3af402(0x438)][_0x3af402(0x261)](_0x1afcfa[_0x3af402(0x216)][0x0]);for(let _0x55bb5d=0x0;_0x55bb5d<_0x4cfabe[_0x3af402(0x300)];_0x55bb5d++){const _0x122bb5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4cfabe[_0x55bb5d][_0x3af402(0x3da)],..._0x4cfabe[_0x55bb5d][_0x3af402(0x2f9)]}},_0x541c9f=this[_0x3af402(0x38a)][_0x3af402(0x398)](_0x3ef4ae,_0x122bb5,!0x1);if(_0x598d32[_0x3af402(0x1af)](_0x541c9f))throw _0x541c9f['error'];_0x3ef4ae=_0x541c9f[_0x3af402(0x304)];}return{..._0x1ca8c6['Tools']['deepClone'](_0x1afcfa),'mutations':[_0x3ef4ae]};}[_0x1b1e14(0x348)](_0x83412d){const _0x10882a=_0x1b1e14,{unitID:_0x13ebed}=_0x83412d,{history:_0x1853d8,collaboration:_0x4f0201}=this[_0x10882a(0x436)][_0x10882a(0x2d4)](_0x13ebed);if(_0x1853d8['length']===0x0&&_0x4f0201[_0x10882a(0x300)]===0x0)return;const _0x31ed9c=[],_0x40382e=[];let _0xd20927=_0x1ca8c6['Tools'][_0x10882a(0x261)](_0x83412d['mutations'][0x0]),_0x1f5cc1=_0x1ca8c6['Tools']['deepClone'](_0x83412d[_0x10882a(0x216)][0x0]);for(let _0x492478=_0x1853d8[_0x10882a(0x300)]-0x1;_0x492478>=0x0;_0x492478--){const _0x36cc0f={'id':_0x10882a(0x354),'params':{'unitId':_0x1853d8[_0x492478][_0x10882a(0x3da)],..._0x1853d8[_0x492478][_0x10882a(0x408)]}},_0x2aac9b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1853d8[_0x492478][_0x10882a(0x3da)],..._0x1853d8[_0x492478][_0x10882a(0x2f9)]}},_0x3a3008=this['_transformService'][_0x10882a(0x398)](_0xd20927,_0x36cc0f,!0x1),_0x3e67fb=this['_transformService'][_0x10882a(0x398)](_0x1f5cc1,_0x2aac9b,!0x1);if(_0x598d32['isTransformMutationFailure'](_0x3a3008))throw _0x3a3008[_0x10882a(0x191)];if(_0x598d32[_0x10882a(0x1af)](_0x3e67fb))throw _0x3e67fb[_0x10882a(0x191)];_0x31ed9c[_0x10882a(0x453)]({..._0x1853d8[_0x492478],'undoState':_0x3a3008[_0x10882a(0x384)]['params'],'redoState':_0x3e67fb[_0x10882a(0x384)][_0x10882a(0x309)]}),_0xd20927=_0x3a3008[_0x10882a(0x304)],_0x1f5cc1=_0x3e67fb['m1Prime'];}_0xd20927=_0x1ca8c6[_0x10882a(0x438)][_0x10882a(0x261)](_0x83412d['mutations'][0x0]),_0x1f5cc1=_0x1ca8c6['Tools']['deepClone'](_0x83412d[_0x10882a(0x216)][0x0]);for(let _0x17ae9=_0x4f0201[_0x10882a(0x300)]-0x1;_0x17ae9>=0x0;_0x17ae9--){const _0x51cf07={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4f0201[_0x17ae9][_0x10882a(0x3da)],..._0x4f0201[_0x17ae9][_0x10882a(0x408)]}},_0x53ca3e={'id':_0x10882a(0x354),'params':{'unitId':_0x4f0201[_0x17ae9][_0x10882a(0x3da)],..._0x4f0201[_0x17ae9][_0x10882a(0x2f9)]}},_0x5cb597=this[_0x10882a(0x38a)]['transformMutation'](_0xd20927,_0x51cf07,!0x1),_0x172d01=this[_0x10882a(0x38a)][_0x10882a(0x398)](_0x1f5cc1,_0x53ca3e,!0x1);if(_0x598d32[_0x10882a(0x1af)](_0x5cb597))throw _0x5cb597[_0x10882a(0x191)];if(_0x598d32[_0x10882a(0x1af)](_0x172d01))throw _0x172d01['error'];_0x40382e['unshift']({..._0x4f0201[_0x17ae9],'undoState':_0x5cb597[_0x10882a(0x384)][_0x10882a(0x309)],'redoState':_0x172d01['m2Prime'][_0x10882a(0x309)]}),_0xd20927=_0x5cb597[_0x10882a(0x304)],_0x1f5cc1=_0x172d01['m1Prime'];}this[_0x10882a(0x436)][_0x10882a(0x366)](_0x13ebed,{'history':_0x31ed9c,'collaboration':_0x40382e});}};_0x939c01=_0x52124f([_0x4dda8b(0x0,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x1cd)])),_0x4dda8b(0x1,_0x598d32[_0x1b1e14(0x27c)]),_0x4dda8b(0x2,_0x1ca8c6['Inject'](_0x15e0d1['DocStateChangeManagerService']))],_0x939c01);var _0x1b9c38=Object['getOwnPropertyDescriptor'],_0x3a8e2f=(_0x584f16,_0x221525,_0x719bbc,_0x2f1261)=>{for(var _0x18e939=_0x2f1261>0x1?void 0x0:_0x2f1261?_0x1b9c38(_0x221525,_0x719bbc):_0x221525,_0x17ea1d=_0x584f16['length']-0x1,_0xbb4e23;_0x17ea1d>=0x0;_0x17ea1d--)(_0xbb4e23=_0x584f16[_0x17ea1d])&&(_0x18e939=_0xbb4e23(_0x18e939)||_0x18e939);return _0x18e939;},_0x1b5a72=(_0x1a3f27,_0x39c109)=>(_0x4cb7d6,_0x21b408)=>_0x39c109(_0x4cb7d6,_0x21b408,_0x1a3f27);let _0x79c0f7=class{constructor(_0x113775,_0x2d24fc){const _0x39a4a=_0x1b1e14;this[_0x39a4a(0x28c)]=_0x113775,this[_0x39a4a(0x38a)]=_0x2d24fc;}['transformSelections'](_0x18c970){const _0x2b3df0=_0x1b1e14;var _0x38bc2b;const _0x335c2b=this[_0x2b3df0(0x28c)][_0x2b3df0(0x318)](_0x449e95[_0x2b3df0(0x1bd)]),_0x40d6a7=(_0x38bc2b=_0x335c2b[_0x2b3df0(0x23b)]())!=null?_0x38bc2b:[];if(_0x40d6a7[_0x2b3df0(0x300)]===0x0)return;const _0x253df5=_0x18c970[_0x2b3df0(0x30f)],_0x4d53a1=[{'id':_0x2b3df0(0x354),'params':{'unitId':_0x253df5,'actions':null,'textRanges':_0x40d6a7}}],_0x4c5bb3=this[_0x2b3df0(0x38a)]['transformMutationsWithChangeset'](_0x18c970,_0x4d53a1);if(!_0x598d32[_0x2b3df0(0x1ef)](_0x4c5bb3))throw _0x4c5bb3[_0x2b3df0(0x191)];const _0x4981fa=_0x4c5bb3[_0x2b3df0(0x384)][0x0][_0x2b3df0(0x309)][_0x2b3df0(0x40b)];Array[_0x2b3df0(0x1fa)](_0x4981fa)&&_0x4981fa['length']&&_0x335c2b[_0x2b3df0(0x1b2)](_0x4981fa,{'unitId':_0x253df5,'subUnitId':_0x253df5},!0x1);}};_0x79c0f7=_0x3a8e2f([_0x1b5a72(0x0,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x1cd)])),_0x1b5a72(0x1,_0x598d32[_0x1b1e14(0x27c)])],_0x79c0f7);var _0x55b9c5=Object['getOwnPropertyDescriptor'],_0x5f16a=(_0x9790c6,_0x24a6fb,_0x42efb7,_0x529f67)=>{const _0x1bf09e=_0x1b1e14;for(var _0x389e07=_0x529f67>0x1?void 0x0:_0x529f67?_0x55b9c5(_0x24a6fb,_0x42efb7):_0x24a6fb,_0xbcb4bb=_0x9790c6[_0x1bf09e(0x300)]-0x1,_0x5b6bde;_0xbcb4bb>=0x0;_0xbcb4bb--)(_0x5b6bde=_0x9790c6[_0xbcb4bb])&&(_0x389e07=_0x5b6bde(_0x389e07)||_0x389e07);return _0x389e07;},_0x512418=(_0x3c30f4,_0x3e7da9)=>(_0x347033,_0x4e2e9d)=>_0x3e7da9(_0x347033,_0x4e2e9d,_0x3c30f4);let _0x231b71=class extends _0x1ca8c6[_0x1b1e14(0x341)]{constructor(_0x3bbe5d,_0x1fbe8a,_0x4c8c47,_0x7e8456,_0x457a8e,_0xf250f4,_0x3e122e,_0x5bb0b4){const _0x2b9b57=_0x1b1e14;super(),_0x215ae7(this,'_status$',new _0x3b6b5a[(_0x2b9b57(0x1b1))](_0x4d5f16[_0x2b9b57(0x437)][_0x2b9b57(0x331)])),(this[_0x2b9b57(0x436)]=_0x3bbe5d,this[_0x2b9b57(0x44a)]=_0x1fbe8a,this[_0x2b9b57(0x383)]=_0x4c8c47,this[_0x2b9b57(0x1d7)]=_0x7e8456,this[_0x2b9b57(0x352)]=_0x457a8e,this[_0x2b9b57(0x1a8)]=_0xf250f4,this[_0x2b9b57(0x3d7)]=_0x3e122e,this[_0x2b9b57(0x34d)]=_0x5bb0b4,this[_0x2b9b57(0x2b5)]());}[_0x1b1e14(0x2b5)](){const _0x59b507=_0x1b1e14;this['disposeWithMe'](this[_0x59b507(0x44a)][_0x59b507(0x347)]['subscribe'](_0x16196e=>{const _0x11e0f4=_0x59b507,_0x313873=this['_docStateChangeManagerService'][_0x11e0f4(0x3f3)][_0x11e0f4(0x3b9)](_0x33c234=>{const _0x31cd68=_0x11e0f4;if(_0x33c234==null)return;const {unitId:_0x269805,redoState:_0x550334,commandId:_0x46cf1e}=_0x33c234;if(_0x269805!==_0x16196e[_0x31cd68(0x30f)])return;const _0x2e14ad={'id':_0x46cf1e,'type':_0x1ca8c6[_0x31cd68(0x311)][_0x31cd68(0x333)],'params':{'unitId':_0x269805,'actions':_0x550334[_0x31cd68(0x3b5)],'textRanges':null}};_0x16196e[_0x31cd68(0x217)](_0x2e14ad);});if(_0x16196e[_0x11e0f4(0x215)](_0x313873),_0x16196e instanceof _0x4d5f16[_0x11e0f4(0x248)]){const _0x47f56c={'onTransformIME':_0x7fd6df=>this[_0x11e0f4(0x383)][_0x11e0f4(0x251)](_0x7fd6df),'onTransformState':_0x123576=>this[_0x11e0f4(0x1d7)]['transformStateCache'](_0x123576),'onTransformSelections':_0x45883d=>this[_0x11e0f4(0x352)]['transformSelections'](_0x45883d),'onSyncEditingCollabCursor':_0x24c389=>this[_0x11e0f4(0x1a8)]['syncEditingCollabCursor'](_0x24c389),'onTransformRemoteChangesetByIMECache':_0x22f04e=>this[_0x11e0f4(0x383)][_0x11e0f4(0x2cf)](_0x22f04e),'onTransformRemoteChangesetByStateCache':_0x112880=>this[_0x11e0f4(0x1d7)]['transformRemoteChangeset'](_0x112880)};_0x16196e['addHandlerCallback'](_0x47f56c);}}));}};_0x231b71=_0x5f16a([_0x512418(0x0,_0x1ca8c6[_0x1b1e14(0x308)](_0x15e0d1[_0x1b1e14(0x2b7)])),_0x512418(0x1,_0x1ca8c6[_0x1b1e14(0x308)](_0x4d5f16[_0x1b1e14(0x2f5)])),_0x512418(0x2,_0x1ca8c6[_0x1b1e14(0x308)](_0x41d520)),_0x512418(0x3,_0x1ca8c6['Inject'](_0x939c01)),_0x512418(0x4,_0x1ca8c6[_0x1b1e14(0x308)](_0x79c0f7)),_0x512418(0x5,_0x1ca8c6['Inject'](_0x4a5f98)),_0x512418(0x6,_0x535318['IMessageService']),_0x512418(0x7,_0x1ca8c6['Inject'](_0x1ca8c6[_0x1b1e14(0x3fa)]))],_0x231b71);var _0x665846=(_0x2f5d70=>(_0x2f5d70[_0x2f5d70[_0x1b1e14(0x41b)]=0x0]=_0x1b1e14(0x41b),_0x2f5d70[_0x2f5d70['OK']=0x1]='OK',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x3e1)]=0x2]=_0x1b1e14(0x3e1),_0x2f5d70[_0x2f5d70['PERMISSION_DENIED']=0x3]=_0x1b1e14(0x44c),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x379)]=0x4]=_0x1b1e14(0x379),_0x2f5d70[_0x2f5d70['UNAUTHENTICATED']=0x5]=_0x1b1e14(0x28e),_0x2f5d70[_0x2f5d70['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x3ed)]=0x7]=_0x1b1e14(0x3ed),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x244)]=0x8]=_0x1b1e14(0x244),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x2dc)]=0x9]=_0x1b1e14(0x2dc),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x387)]=0xa]=_0x1b1e14(0x387),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x452)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x2f5d70[_0x2f5d70['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x1b1e14(0x249),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x2a6)]=0xd]=_0x1b1e14(0x2a6),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x343)]=0xe]=_0x1b1e14(0x343),_0x2f5d70[_0x2f5d70['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x1b1e14(0x1fc),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1d6)]=0x10]=_0x1b1e14(0x1d6),_0x2f5d70[_0x2f5d70['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x1b1e14(0x32d),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x301)]=0x65]=_0x1b1e14(0x301),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1f2)]=0xc9]=_0x1b1e14(0x1f2),_0x2f5d70[_0x2f5d70['USER_IS_ANONYMOUS']=0xca]='USER_IS_ANONYMOUS',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x3bd)]=0x1389]=_0x1b1e14(0x3bd),_0x2f5d70[_0x2f5d70['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1b1e14(0x336),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x2ef)]=0x1772]=_0x1b1e14(0x2ef),_0x2f5d70[_0x2f5d70['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x20b)]=0x1b59]=_0x1b1e14(0x20b),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x220)]=0x1b5a]=_0x1b1e14(0x220),_0x2f5d70[_0x2f5d70['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1b1e14(0x3ff),_0x2f5d70[_0x2f5d70['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x1b1e14(0x35c),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1c4)]=0x1b5d]=_0x1b1e14(0x1c4),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x288)]=0x1f41]=_0x1b1e14(0x288),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x324)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1ad)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x31a)]=0x232b]=_0x1b1e14(0x31a),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x299)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x3f4)]=0x232d]=_0x1b1e14(0x3f4),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1b7)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x365)]=0x2712]=_0x1b1e14(0x365),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x3a6)]=0x2713]=_0x1b1e14(0x3a6),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x30d)]=0x2714]=_0x1b1e14(0x30d),_0x2f5d70[_0x2f5d70['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x1b1e14(0x3e5),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1c9)]=0x271b]=_0x1b1e14(0x1c9),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x277)]=0x271c]=_0x1b1e14(0x277),_0x2f5d70[_0x2f5d70['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1c8)]=0x271e]=_0x1b1e14(0x1c8),_0x2f5d70[_0x2f5d70['YUUMI_AI_RUN_FAILED']=0x271f]=_0x1b1e14(0x3bc),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1f4)]=0x2720]=_0x1b1e14(0x1f4),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x465)]=0x2af9]=_0x1b1e14(0x465),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1d2)]=0x2ee1]=_0x1b1e14(0x1d2),_0x2f5d70[_0x2f5d70['INVALID_INVITE_CODE']=0x2ee2]=_0x1b1e14(0x373),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x3ea)]=0x2ee3]=_0x1b1e14(0x3ea),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x28f)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x2f5d70[_0x2f5d70['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x2f7)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x260)]=0x32ca]=_0x1b1e14(0x260),_0x2f5d70[_0x2f5d70['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x2f8)]=0x36b1]=_0x1b1e14(0x2f8),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x2ee)]=0x36b2]=_0x1b1e14(0x2ee),_0x2f5d70[_0x2f5d70['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x1b1e14(0x36f),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x26d)]=0x36b4]=_0x1b1e14(0x26d),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1a2)]=0x36b5]=_0x1b1e14(0x1a2),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x396)]=0x36b6]=_0x1b1e14(0x396),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x374)]=0x36b7]=_0x1b1e14(0x374),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x458)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x2f5d70[_0x2f5d70['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x1b1e14(0x463),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x23f)]=0x3716]=_0x1b1e14(0x23f),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1ee)]=0x3717]=_0x1b1e14(0x1ee),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1bb)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x187)]=0x3a99]=_0x1b1e14(0x187),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x3df)]=0x3a9a]=_0x1b1e14(0x3df),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x3e7)]=0x3a9b]=_0x1b1e14(0x3e7),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x38e)]=0x3a9c]=_0x1b1e14(0x38e),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x194)]=0x3a9d]=_0x1b1e14(0x194),_0x2f5d70[_0x2f5d70['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x1b1e14(0x1ba),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x415)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x3ca)]=0x3e81]=_0x1b1e14(0x3ca),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x246)]=-0x1]=_0x1b1e14(0x246),_0x2f5d70))(_0x665846||{});function _0x38f6df(_0x2a3ca4){const _0x1ea395=_0x1b1e14;var _0x3be5e0,_0x29be1b;const _0x108d46=(_0x3be5e0=_0x2a3ca4[_0x1ea395(0x323)])==null?void 0x0:_0x3be5e0[_0x1ea395(0x2d7)],_0x41d837=((_0x29be1b=_0x2a3ca4[_0x1ea395(0x323)])==null?void 0x0:_0x29be1b['totalFormulasToCalculate'])||0x0;return _0x108d46===_0x4f0b9d[_0x1ea395(0x325)]['START_CALCULATION']&&_0x41d837>0x0;}function _0x121a4d(_0x25b491){const _0x2b7d2b=_0x1b1e14;return _0x25b491['functionsExecutedState']===_0x4f0b9d['FormulaExecutedStateType'][_0x2b7d2b(0x3cc)];}var _0xed100b=Object[_0x1b1e14(0x1ce)],_0x1af5c7=(_0x5ef989,_0x4035a6,_0xa96a6f,_0x56edaa)=>{const _0x1ab5e9=_0x1b1e14;for(var _0x407a36=_0x56edaa>0x1?void 0x0:_0x56edaa?_0xed100b(_0x4035a6,_0xa96a6f):_0x4035a6,_0x6b5cc8=_0x5ef989[_0x1ab5e9(0x300)]-0x1,_0x383bf2;_0x6b5cc8>=0x0;_0x6b5cc8--)(_0x383bf2=_0x5ef989[_0x6b5cc8])&&(_0x407a36=_0x383bf2(_0x407a36)||_0x407a36);return _0x407a36;},_0x3e03b0=(_0x4613fe,_0x4224de)=>(_0x403e6d,_0x189512)=>_0x4224de(_0x403e6d,_0x189512,_0x4613fe);const _0x9d2270=_0x1b1e14(0x337),_0x471d7c='/universer-api/license/formula/limit/start',_0x5d4735=_0x1b1e14(0x287);let _0x2cbcd5=class extends _0x1ca8c6[_0x1b1e14(0x341)]{constructor(_0x41201a,_0x1c008c,_0x3a95a4,_0x511bcf,_0x530d75,_0x2c1be0,_0x32bbea){const _0xfb8df=_0x1b1e14;super(),_0x215ae7(this,_0xfb8df(0x466),null),_0x215ae7(this,'_maxFormulaLimit',0x0),_0x215ae7(this,'_currentUsage',0x0),_0x215ae7(this,_0xfb8df(0x425),[]),_0x215ae7(this,_0xfb8df(0x24a),0x0),(this['_messageService']=_0x41201a,this[_0xfb8df(0x3fb)]=_0x1c008c,this[_0xfb8df(0x357)]=_0x3a95a4,this[_0xfb8df(0x208)]=_0x511bcf,this[_0xfb8df(0x23d)]=_0x530d75,this[_0xfb8df(0x3e0)]=_0x2c1be0,this[_0xfb8df(0x34d)]=_0x32bbea,this[_0xfb8df(0x2b3)]());}[_0x1b1e14(0x2b3)](){const _0x4e9131=_0x1b1e14;this[_0x4e9131(0x215)](this[_0x4e9131(0x3fb)][_0x4e9131(0x1d0)]((_0x110822,_0x49e35b)=>{const _0x5e89ae=_0x4e9131;var _0x5d8381;if(_0x110822['id']!==_0x4f0b9d[_0x5e89ae(0x240)]['id'])return;const _0x5a82bc=_0x110822[_0x5e89ae(0x309)];if(!this[_0x5e89ae(0x29f)]((_0x5d8381=_0x5a82bc[_0x5e89ae(0x364)])!=null?_0x5d8381:[]))return;if(!this[_0x5e89ae(0x328)]())throw this[_0x5e89ae(0x3ce)](_0x110822,_0x49e35b),this[_0x5e89ae(0x273)](),new _0x1ca8c6['CanceledError']();})),this[_0x4e9131(0x215)](this[_0x4e9131(0x3fb)][_0x4e9131(0x27f)]((_0x4b4131,_0x31e4ee)=>{const _0x14fe59=_0x4e9131;if(_0x4b4131['id']!==_0x4f0b9d[_0x14fe59(0x292)]['id'])return;const _0x378e8d=_0x4b4131[_0x14fe59(0x309)];if(_0x38f6df(_0x378e8d)){const _0x4a3614=_0x1ca8c6[_0x14fe59(0x1a1)]();this[_0x14fe59(0x425)][_0x14fe59(0x456)](_0x4a3614),this[_0x14fe59(0x1ff)](_0x4a3614);}else{if(_0x121a4d(_0x378e8d)&&this[_0x14fe59(0x425)][_0x14fe59(0x300)]>0x0){const _0x2261c7=this[_0x14fe59(0x425)][_0x14fe59(0x407)]();this[_0x14fe59(0x380)](_0x2261c7);}}}));}['dispose'](){const _0x17da7f=_0x1b1e14;super[_0x17da7f(0x1cc)](),this[_0x17da7f(0x406)](),this[_0x17da7f(0x425)]=[],this[_0x17da7f(0x37d)]=0x0,this[_0x17da7f(0x468)]=0x0,this['_lastResponseTimestamp']=0x0;}async['_checkAndWaitForCalculationPermission'](_0x4e6192,_0x2fd7bd){const _0x218094=_0x1b1e14;for(let _0x43c4c5=0x0;_0x43c4c5<0x1e;_0x43c4c5++)try{if(await this['_getFormulaLimitStatus'](),this['_checkCalculationAvailable']()){this[_0x218094(0x1c5)](_0x4e6192,_0x2fd7bd),this[_0x218094(0x3d7)]['show']({'content':this[_0x218094(0x34d)]['t']('formula.calculation.started'),'type':_0x5cbfd3['MessageType']['Success']});return;}await new Promise(_0xc9ab37=>{const _0x2c3455=_0x218094;this['_pollingInterval']=window[_0x2c3455(0x346)](_0xc9ab37,0x3e8);});}catch(_0x2b6c9c){this[_0x218094(0x3e0)]['error'](_0x2b6c9c);}this[_0x218094(0x3d7)][_0x218094(0x25f)]({'content':this[_0x218094(0x34d)]['t'](_0x218094(0x460)),'type':_0x5cbfd3[_0x218094(0x1e6)][_0x218094(0x37a)]});}[_0x1b1e14(0x1c5)](_0x226515,_0x2503ea){const _0x22f9de=_0x1b1e14;try{this[_0x22f9de(0x3fb)][_0x22f9de(0x2c2)](_0x226515['id'],_0x226515[_0x22f9de(0x309)],_0x2503ea);}catch(_0x6314d3){this[_0x22f9de(0x3e0)][_0x22f9de(0x191)](_0x6314d3);}}['_setFormulaLimitStatus'](_0x4f346d,_0x268ca3){const _0x293b6c=_0x1b1e14;_0x268ca3<this['_lastResponseTimestamp']||(this[_0x293b6c(0x24a)]=_0x268ca3,this[_0x293b6c(0x468)]=Number[_0x293b6c(0x29b)](_0x4f346d[_0x293b6c(0x3a4)]),this[_0x293b6c(0x37d)]=Number[_0x293b6c(0x29b)](_0x4f346d[_0x293b6c(0x2b9)]));}async[_0x1b1e14(0x1ff)](_0x4f29c9){const _0x1c5347=_0x1b1e14;var _0xc0c4e5,_0x4e2b04;const _0x3fcc68=Date[_0x1c5347(0x1cb)]();try{const _0x188cda=((_0xc0c4e5=this['_configService'][_0x1c5347(0x22b)](_0x4d5f16[_0x1c5347(0x207)]))==null?void 0x0:_0xc0c4e5[_0x1c5347(0x433)])||_0x471d7c,_0x5b49f7=(await this[_0x1c5347(0x208)][_0x1c5347(0x1a3)](_0x188cda,{'body':JSON['stringify']({'taskId':_0x4f29c9})}))['body'];if(((_0x4e2b04=_0x5b49f7['error'])==null?void 0x0:_0x4e2b04[_0x1c5347(0x37b)])!==_0x665846['OK'])return;this[_0x1c5347(0x2b0)](_0x5b49f7['limitInfo'],_0x3fcc68);}catch(_0x2f90af){this['_logService']['error'](_0x2f90af);}}async[_0x1b1e14(0x3d9)](_0x442066){const _0x4cc2da=_0x1b1e14;var _0xc8073b,_0x48e265;const _0x500f60=Date[_0x4cc2da(0x1cb)]();try{const _0x530315=((_0xc8073b=this[_0x4cc2da(0x357)][_0x4cc2da(0x22b)](_0x4d5f16[_0x4cc2da(0x207)]))==null?void 0x0:_0xc8073b[_0x4cc2da(0x265)])||_0x9d2270,_0x554dd1=_0x442066?_0x530315+_0x4cc2da(0x41e)+encodeURIComponent(_0x442066):_0x530315,_0x2dec6f=(await this[_0x4cc2da(0x208)][_0x4cc2da(0x318)](_0x554dd1))[_0x4cc2da(0x46f)];if(((_0x48e265=_0x2dec6f[_0x4cc2da(0x191)])==null?void 0x0:_0x48e265[_0x4cc2da(0x37b)])!==_0x665846['OK'])return;this['_setFormulaLimitStatus'](_0x2dec6f[_0x4cc2da(0x2bd)],_0x500f60);}catch(_0xeaedd){this[_0x4cc2da(0x3e0)][_0x4cc2da(0x191)](_0xeaedd);}}async['_releaseCalculationLimit'](_0x594dca){const _0x46e12c=_0x1b1e14;var _0x1c7751,_0x5197ca;const _0x384ef0=Date['now']();try{const _0x9024c5=((_0x1c7751=this[_0x46e12c(0x357)][_0x46e12c(0x22b)](_0x4d5f16[_0x46e12c(0x207)]))==null?void 0x0:_0x1c7751['releaseFormulaLimitUrl'])||_0x5d4735,_0xfd10d9=(await this[_0x46e12c(0x208)][_0x46e12c(0x1a3)](_0x9024c5,{'body':JSON['stringify']({'taskId':_0x594dca})}))['body'];if(((_0x5197ca=_0xfd10d9[_0x46e12c(0x191)])==null?void 0x0:_0x5197ca[_0x46e12c(0x37b)])!==_0x665846['OK'])return;this[_0x46e12c(0x2b0)](_0xfd10d9[_0x46e12c(0x2bd)],_0x384ef0);}catch(_0xc06ede){this['_logService'][_0x46e12c(0x191)](_0xc06ede);}}[_0x1b1e14(0x328)](){const _0x184c61=_0x1b1e14;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x184c61(0x468)]-this['_currentUsage']>0x0;}[_0x1b1e14(0x406)](){const _0x29dc54=_0x1b1e14;this[_0x29dc54(0x466)]&&(clearTimeout(this[_0x29dc54(0x466)]),this[_0x29dc54(0x466)]=null);}[_0x1b1e14(0x273)](){const _0x247350=_0x1b1e14;this['_messageService'][_0x247350(0x25f)]({'content':this['_localeService']['t'](_0x247350(0x1a6)),'type':_0x5cbfd3[_0x247350(0x1e6)][_0x247350(0x381)]});}[_0x1b1e14(0x29f)](_0x503450){const _0x1bb25d=_0x1b1e14;for(const _0x49d29f of _0x503450){const {unitId:_0x31dfb6,sheetId:_0x52ade3,range:_0x37826b}=_0x49d29f,_0x522db9=this['_univerInstanceService'][_0x1bb25d(0x24b)](_0x31dfb6);if(!_0x522db9)continue;const _0x186e1d=_0x522db9[_0x1bb25d(0x46b)](_0x52ade3);if(!_0x186e1d)continue;const _0x2b5ce7=_0x186e1d[_0x1bb25d(0x43e)]();for(let _0x32f26a=_0x37826b[_0x1bb25d(0x245)];_0x32f26a<=_0x37826b[_0x1bb25d(0x24d)];_0x32f26a++)for(let _0x992f3e=_0x37826b['startColumn'];_0x992f3e<=_0x37826b[_0x1bb25d(0x270)];_0x992f3e++){const _0x297bc0=_0x2b5ce7['getValue'](_0x32f26a,_0x992f3e);if(_0x297bc0&&(_0x1ca8c6[_0x1bb25d(0x258)](_0x297bc0['f'])||_0x1ca8c6[_0x1bb25d(0x237)](_0x297bc0['si'])))return!0x0;}}return!0x1;}};_0x2cbcd5=_0x1af5c7([_0x3e03b0(0x0,_0x1ca8c6[_0x1b1e14(0x308)](_0x535318['IMessageService'])),_0x3e03b0(0x1,_0x1ca8c6[_0x1b1e14(0x25a)]),_0x3e03b0(0x2,_0x1ca8c6[_0x1b1e14(0x3e6)]),_0x3e03b0(0x3,_0x1ca8c6[_0x1b1e14(0x308)](_0x89ff74[_0x1b1e14(0x276)])),_0x3e03b0(0x4,_0x1ca8c6[_0x1b1e14(0x3af)]),_0x3e03b0(0x5,_0x1ca8c6[_0x1b1e14(0x353)]),_0x3e03b0(0x6,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x3fa)]))],_0x2cbcd5);var _0x5b6581=Object[_0x1b1e14(0x1ce)],_0x2a7e32=(_0x5c3c0d,_0x1aabec,_0x3664fe,_0x5c28c5)=>{for(var _0x341238=_0x5c28c5>0x1?void 0x0:_0x5c28c5?_0x5b6581(_0x1aabec,_0x3664fe):_0x1aabec,_0x55419e=_0x5c3c0d['length']-0x1,_0xa104d9;_0x55419e>=0x0;_0x55419e--)(_0xa104d9=_0x5c3c0d[_0x55419e])&&(_0x341238=_0xa104d9(_0x341238)||_0x341238);return _0x341238;},_0x487589=(_0x129d91,_0x3a1b37)=>(_0x2de877,_0x286d3b)=>_0x3a1b37(_0x2de877,_0x286d3b,_0x129d91);let _0x407c01=class extends _0x1ca8c6['Disposable']{constructor(_0x40f709,_0x1aa7f6,_0x3d1244){const _0x2e3185=_0x1b1e14;super(),_0x215ae7(this,_0x2e3185(0x204),new Map()),_0x215ae7(this,_0x2e3185(0x414),new Map()),_0x215ae7(this,_0x2e3185(0x266),!0x1),(this[_0x2e3185(0x357)]=_0x40f709,this[_0x2e3185(0x241)]=_0x1aa7f6,this[_0x2e3185(0x2aa)]=_0x3d1244);}['disableLocalCache'](){const _0x40b60c=_0x1b1e14;this[_0x40b60c(0x266)]=!0x0;}[_0x1b1e14(0x25c)](){const _0x59e487=_0x1b1e14;this[_0x59e487(0x266)]=!0x1;}get[_0x1b1e14(0x22c)](){const _0x226812=_0x1b1e14;return this[_0x226812(0x414)];}[_0x1b1e14(0x1cc)](){const _0x47fe8b=_0x1b1e14;this[_0x47fe8b(0x2c4)]()[_0x47fe8b(0x1a5)](()=>super[_0x47fe8b(0x1cc)]());}async[_0x1b1e14(0x43a)](_0x589be5){const _0x2e1f79=_0x1b1e14;return this[_0x2e1f79(0x266)]?null:this['_localStorageService'][_0x2e1f79(0x448)](_0x4d5f16[_0x2e1f79(0x228)](_0x589be5));}async[_0x1b1e14(0x36c)](_0x58330b,_0x6d0890){const _0x172eb5=_0x1b1e14;return!!this[_0x172eb5(0x241)]['setItem'](_0x58330b,_0x6d0890);}[_0x1b1e14(0x417)](_0x595140,_0x5509b6,_0x33946d,_0x24c251){const _0x127ae7=_0x1b1e14,_0x413c42=this['_revisionService'][_0x127ae7(0x312)](_0x595140);this['_cachedData']['set'](_0x595140,{'unitID':_0x595140,'type':_0x5509b6,'awaitingChangeset':_0x33946d,'mutations':_0x24c251,'rev':_0x413c42}),this['_saveTaskMap'][_0x127ae7(0x33b)](_0x595140)||this['_scheduleSaving'](_0x595140);}[_0x1b1e14(0x182)](_0x892068){const _0x34294e=_0x1b1e14,_0x228c23=this['_getSaveTimeout']();_0x228c23===0x0?this['_saveCache'](_0x892068):this[_0x34294e(0x414)][_0x34294e(0x441)](_0x892068,setTimeout(()=>this[_0x34294e(0x36b)](_0x892068),_0x228c23));}['_getSaveTimeout'](){const _0x584aea=_0x1b1e14;var _0x2a5a24;return(_0x2a5a24=this[_0x584aea(0x357)]['getConfig'](_0x4d5f16['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x2a5a24:_0x4d5f16['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x4cba76){const _0x12d47a=_0x1b1e14,_0x1e7a94=this[_0x12d47a(0x414)][_0x12d47a(0x318)](_0x4cba76);return _0x1e7a94!==void 0x0&&window['clearTimeout'](_0x1e7a94),this[_0x12d47a(0x241)][_0x12d47a(0x1b5)](_0x4d5f16[_0x12d47a(0x228)](_0x4cba76),this['_cachedData']['get'](_0x4cba76))['then'](()=>this[_0x12d47a(0x414)][_0x12d47a(0x1c0)](_0x4cba76));}async['exhaustSavingTask'](){const _0x267d90=_0x1b1e14,_0x32641c=[];this[_0x267d90(0x414)][_0x267d90(0x459)]((_0x42b8bc,_0x155ba9)=>{const _0x175499=_0x267d90;window['clearTimeout'](_0x42b8bc),_0x32641c[_0x175499(0x456)](this[_0x175499(0x36b)](_0x155ba9)[_0x175499(0x1a5)](()=>{const _0x3d5d59=_0x175499;this[_0x3d5d59(0x414)][_0x3d5d59(0x1c0)](_0x155ba9);}));}),await Promise['all'](_0x32641c);}};_0x407c01=_0x2a7e32([_0x487589(0x0,_0x1ca8c6[_0x1b1e14(0x3e6)]),_0x487589(0x1,_0x1ca8c6[_0x1b1e14(0x26f)]),_0x487589(0x2,_0x1ca8c6[_0x1b1e14(0x308)](_0x598d32['RevisionService']))],_0x407c01);class _0x48f0ff extends _0x1ca8c6['RxDisposable']{constructor(){const _0x2b1098=_0x1b1e14;super(),_0x215ae7(this,_0x2b1098(0x290)),this[_0x2b1098(0x290)]=_0x3b6b5a['fromEvent'](window,_0x2b1098(0x2a2))['pipe'](_0x3b6b5a[_0x2b1098(0x264)](this[_0x2b1098(0x31c)]),_0x3b6b5a[_0x2b1098(0x262)](0x1),_0x3b6b5a['mapTo'](void 0x0));}[_0x1b1e14(0x186)](_0x367e08,_0x468cf1,_0x35a3c5=!0x1){const _0x118f58=_0x1b1e14,_0x50d369=new URL(window[_0x118f58(0x3f2)][_0x118f58(0x23c)]);_0x50d369['searchParams']['set'](_0x367e08,_0x468cf1),_0x35a3c5?window[_0x118f58(0x272)][_0x118f58(0x269)]('','',_0x50d369[_0x118f58(0x242)]()):window[_0x118f58(0x272)][_0x118f58(0x35a)]('','',_0x50d369[_0x118f58(0x242)]());}[_0x1b1e14(0x400)](_0x4baa1c,_0x60b1e9=!0x1){const _0x10ed3c=_0x1b1e14,_0x4cc9b5=new URL(window['location'][_0x10ed3c(0x23c)]);_0x4cc9b5['searchParams'][_0x10ed3c(0x1c0)](_0x4baa1c),_0x60b1e9?window['history'][_0x10ed3c(0x269)]('','',_0x4cc9b5[_0x10ed3c(0x242)]()):window[_0x10ed3c(0x272)]['pushState']('','',_0x4cc9b5['toString']());}[_0x1b1e14(0x1ac)](_0x17adb4){const _0x2ab71d=_0x1b1e14;var _0x4bc171;return(_0x4bc171=new URL(window[_0x2ab71d(0x3f2)][_0x2ab71d(0x23c)])[_0x2ab71d(0x3f1)][_0x2ab71d(0x318)](_0x17adb4))!=null?_0x4bc171:void 0x0;}}var _0xd9d1f4=Object[_0x1b1e14(0x394)],_0x2bcf42=Object[_0x1b1e14(0x1ce)],_0x5e52b6=(_0x12e3ad,_0x51ede4,_0x52b197)=>_0x51ede4 in _0x12e3ad?_0xd9d1f4(_0x12e3ad,_0x51ede4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x52b197}):_0x12e3ad[_0x51ede4]=_0x52b197,_0x455818=(_0x331b31,_0x53e831,_0x3444b4,_0x4773d5)=>{const _0x429523=_0x1b1e14;for(var _0x370f4b=_0x4773d5>0x1?void 0x0:_0x4773d5?_0x2bcf42(_0x53e831,_0x3444b4):_0x53e831,_0x234b70=_0x331b31[_0x429523(0x300)]-0x1,_0x5bac09;_0x234b70>=0x0;_0x234b70--)(_0x5bac09=_0x331b31[_0x234b70])&&(_0x370f4b=_0x5bac09(_0x370f4b)||_0x370f4b);return _0x370f4b;},_0x40ed5f=(_0x36f225,_0x2d6ef0)=>(_0x5836b4,_0x2e97aa)=>_0x2d6ef0(_0x5836b4,_0x2e97aa,_0x36f225),_0x59876f=(_0x25a2b7,_0x542098,_0x3a4ff8)=>_0x5e52b6(_0x25a2b7,_0x542098+'',_0x3a4ff8);const _0x45106e='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x3e0575[_0x1b1e14(0x2a8)]=class extends _0x1ca8c6[_0x1b1e14(0x2ea)]{constructor(_0x5f1956=_0x41c00e,_0x538a0d,_0x296eae,_0xd487bf){const _0x54cca4=_0x1b1e14;super(),this[_0x54cca4(0x3aa)]=_0x5f1956,this[_0x54cca4(0x416)]=_0x538a0d,this['_injector']=_0x296eae,this[_0x54cca4(0x357)]=_0xd487bf;const {..._0x267a02}=_0x1ca8c6[_0x54cca4(0x1d3)]({},_0x41c00e,this[_0x54cca4(0x3aa)]);this['_configService'][_0x54cca4(0x2e1)](_0x44d605,_0x267a02);}[_0x1b1e14(0x3c3)](){const _0x4a773c=_0x1b1e14;this['_registerDependencies'](),this[_0x4a773c(0x206)]();}[_0x1b1e14(0x21e)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x58d9bc=_0x1b1e14;var _0x25bdf6;const _0x2e2301=[[_0x4829de],[_0x2cbcd5],[_0x79c0f7],[_0x41d520],[_0x939c01],[_0x4a5f98],[_0x4af2ba,{'useClass':_0x48f0ff}],[_0x89ff74[_0x58d9bc(0x2fe)],{'useClass':_0x89ff74[_0x58d9bc(0x2bc)]}],[_0x4d5f16['ILocalCacheService'],{'useClass':_0x407c01}],[_0x3e0575['DesktopCollaborationStatusDisplayController']],[_0x231b71],[_0x22380c],[_0x3bc722],[_0x447eea],[_0x3e0575[_0x58d9bc(0x2ab)]]];this['_config'][_0x58d9bc(0x1e0)]&&_0x2e2301[_0x58d9bc(0x456)]([_0x4b7de8]),_0x1ca8c6[_0x58d9bc(0x2ec)](this[_0x58d9bc(0x28c)],_0x1ca8c6[_0x58d9bc(0x37f)](_0x2e2301,(_0x25bdf6=this[_0x58d9bc(0x3aa)])==null?void 0x0:_0x25bdf6['override']));}[_0x1b1e14(0x34f)](){const _0xecc786=_0x1b1e14;this[_0xecc786(0x215)](this['_renderManagerService'][_0xecc786(0x454)](_0x1ca8c6[_0xecc786(0x30b)][_0xecc786(0x3b3)],[_0x153663])),this[_0xecc786(0x215)](this[_0xecc786(0x416)][_0xecc786(0x454)](_0x1ca8c6['UniverInstanceType'][_0xecc786(0x3de)],[_0x2da07f]));}[_0x1b1e14(0x206)](){const _0x4a42a9=_0x1b1e14;_0x1ca8c6[_0x4a42a9(0x253)](this[_0x4a42a9(0x28c)],[[_0x3bc722],[_0x3e0575[_0x4a42a9(0x413)]],[_0x231b71],[_0x22380c],[_0x3e0575[_0x4a42a9(0x2ab)]],[_0x2cbcd5]]),this[_0x4a42a9(0x3aa)]['enableFrontendLog']&&_0x1ca8c6[_0x4a42a9(0x253)](this[_0x4a42a9(0x28c)],[[_0x4b7de8]]);}},_0x59876f(_0x3e0575[_0x1b1e14(0x2a8)],'pluginName',_0x45106e),_0x3e0575[_0x1b1e14(0x2a8)]=_0x455818([_0x1ca8c6[_0x1b1e14(0x291)](_0x4d5f16[_0x1b1e14(0x1eb)]),_0x40ed5f(0x1,_0x28adc3['IRenderManagerService']),_0x40ed5f(0x2,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x1cd)])),_0x40ed5f(0x3,_0x1ca8c6[_0x1b1e14(0x3e6)])],_0x3e0575[_0x1b1e14(0x2a8)]);var _0x2cf821=Object[_0x1b1e14(0x1ce)],_0x2c5176=(_0x33cca3,_0x4c656d,_0x1c67d6,_0x1204ae)=>{const _0x26a592=_0x1b1e14;for(var _0xce62c2=_0x1204ae>0x1?void 0x0:_0x1204ae?_0x2cf821(_0x4c656d,_0x1c67d6):_0x4c656d,_0x199bc2=_0x33cca3[_0x26a592(0x300)]-0x1,_0x30a209;_0x199bc2>=0x0;_0x199bc2--)(_0x30a209=_0x33cca3[_0x199bc2])&&(_0xce62c2=_0x30a209(_0xce62c2)||_0xce62c2);return _0xce62c2;},_0x3fcd23=(_0x328ea8,_0x4cbc2f)=>(_0x4e3b29,_0x59a059)=>_0x4cbc2f(_0x4e3b29,_0x59a059,_0x328ea8);_0x3e0575[_0x1b1e14(0x232)]=class extends _0x4d5f16['CollaborationSocketService']{constructor(_0x4fc246,_0x3dbc8e,_0x154073,_0x155f3d,_0x451a59){super(_0x4fc246,_0x3dbc8e,_0x154073,_0x155f3d,_0x451a59);}async[_0x1b1e14(0x390)](_0x5938cd){const _0x5437e0=_0x1b1e14,_0x358db0=await this['_getSessionTicket'](),_0xbd6218=this[_0x5437e0(0x41f)](_0x5938cd,_0x358db0);return this[_0x5437e0(0x3f6)](_0xbd6218);}[_0x1b1e14(0x41f)](_0x47070b,_0x4aab12){const _0x5c969f=_0x1b1e14,_0x3a682d=typeof window>'u'?new URL(_0x47070b):new URL(_0x47070b,window[_0x5c969f(0x3f2)][_0x5c969f(0x395)]);_0x3a682d['searchParams']['set'](_0x5c969f(0x3f0),_0x4aab12);const _0x4d50fb=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5c969f(0x3f2)][_0x5c969f(0x24e)]);return _0x4d50fb[_0x5c969f(0x318)]('runId')&&_0x3a682d[_0x5c969f(0x3f1)]['set'](_0x5c969f(0x221),_0x4d50fb[_0x5c969f(0x318)](_0x5c969f(0x221))),_0x3a682d[_0x5c969f(0x242)]();}async[_0x1b1e14(0x267)](){const _0x466823=_0x1b1e14;var _0x3603d1,_0x4d86b9,_0x98070f;const _0x2d6e6c=this['_configService'][_0x466823(0x22b)](_0x4d5f16[_0x466823(0x207)]),_0x456c3b=(_0x3603d1=_0x2d6e6c==null?void 0x0:_0x2d6e6c[_0x466823(0x2af)])!=null?_0x3603d1:_0x4d5f16['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x98070f=(_0x4d86b9=(await this['_httpService'][_0x466823(0x318)](_0x456c3b,{'headers':{'Content-Type':'application/json'}}))[_0x466823(0x46f)])==null?void 0x0:_0x4d86b9[_0x466823(0x363)])!=null?_0x98070f:'';}},_0x3e0575[_0x1b1e14(0x232)]=_0x2c5176([_0x3fcd23(0x0,_0x1ca8c6['Inject'](_0x1ca8c6[_0x1b1e14(0x1cd)])),_0x3fcd23(0x1,_0x1ca8c6[_0x1b1e14(0x308)](_0x89ff74[_0x1b1e14(0x276)])),_0x3fcd23(0x2,_0x1ca8c6['IConfigService']),_0x3fcd23(0x3,_0x1ca8c6[_0x1b1e14(0x353)]),_0x3fcd23(0x4,_0x598d32[_0x1b1e14(0x3ec)])],_0x3e0575[_0x1b1e14(0x232)]);var _0x4aef90=Object[_0x1b1e14(0x1ce)],_0x572cb4=(_0x4487e5,_0x4b9a2b,_0x54de5f,_0x25dc60)=>{const _0x515586=_0x1b1e14;for(var _0x51a8d8=_0x25dc60>0x1?void 0x0:_0x25dc60?_0x4aef90(_0x4b9a2b,_0x54de5f):_0x4b9a2b,_0x3e795d=_0x4487e5[_0x515586(0x300)]-0x1,_0x1bfc99;_0x3e795d>=0x0;_0x3e795d--)(_0x1bfc99=_0x4487e5[_0x3e795d])&&(_0x51a8d8=_0x1bfc99(_0x51a8d8)||_0x51a8d8);return _0x51a8d8;},_0x44ca9d=(_0x29e36b,_0x3dd87f)=>(_0x92890a,_0x3ea417)=>_0x3dd87f(_0x92890a,_0x3ea417,_0x29e36b);_0x3e0575[_0x1b1e14(0x39e)]=class extends _0x1ca8c6['Disposable']{constructor(_0x5d1c03,_0x195c50,_0x45c473){const _0x48d895=_0x1b1e14;super(),this['_instanceService']=_0x5d1c03,this[_0x48d895(0x208)]=_0x195c50,this['_configService']=_0x45c473;}async['runOnServer'](_0x43fda0,_0x4520bc,_0x10429a,..._0xbdd719){const _0x3fd8f0=_0x1b1e14;var _0x233e46,_0x5bf294,_0x1902f1,_0x244b74;const _0x359ab3=this[_0x3fd8f0(0x29d)][_0x3fd8f0(0x282)]();if(!_0x359ab3)throw new Error(_0x3fd8f0(0x26c));const _0x80a936=((_0x233e46=this['_configService'][_0x3fd8f0(0x22b)](_0x4d5f16[_0x3fd8f0(0x3bb)]))!=null?_0x233e46:_0x4d5f16[_0x3fd8f0(0x2eb)])+'/'+_0x43fda0+_0x3fd8f0(0x349)+_0x4520bc,_0xcd045=new URL(window[_0x3fd8f0(0x3f2)][_0x3fd8f0(0x23c)]),_0x424dcc={'scriptId':_0x43fda0,'runId':(_0x5bf294=_0xcd045[_0x3fd8f0(0x3f1)][_0x3fd8f0(0x318)](_0x3fd8f0(0x221)))!=null?_0x5bf294:'','function':_0x4520bc,'unitId':_0x359ab3[_0x3fd8f0(0x212)](),'argsOfFunction':JSON[_0x3fd8f0(0x227)](_0xbdd719),'invokeId':(_0x1902f1=_0x10429a[_0x3fd8f0(0x1d4)])!=null?_0x1902f1:'','executionId':(_0x244b74=_0x10429a[_0x3fd8f0(0x19b)])!=null?_0x244b74:''};try{const _0x4650f9=await this[_0x3fd8f0(0x208)][_0x3fd8f0(0x1a3)](_0x80a936,{'body':_0x424dcc});return _0x4650f9[_0x3fd8f0(0x46f)]['error']&&_0x4650f9[_0x3fd8f0(0x46f)][_0x3fd8f0(0x191)][_0x3fd8f0(0x37b)]!==_0x665846['OK']?_0x3fd8f0(0x1ea):_0x4650f9[_0x3fd8f0(0x46f)][_0x3fd8f0(0x327)];}catch{return _0x3fd8f0(0x1ea);}}},_0x3e0575[_0x1b1e14(0x39e)]=_0x572cb4([_0x44ca9d(0x0,_0x1ca8c6[_0x1b1e14(0x3af)]),_0x44ca9d(0x1,_0x1ca8c6[_0x1b1e14(0x308)](_0x89ff74['HTTPService'])),_0x44ca9d(0x2,_0x1ca8c6[_0x1b1e14(0x3e6)])],_0x3e0575[_0x1b1e14(0x39e)]);const _0x3070e7=0x7530,_0x5ed521=_0x1b1e14(0x397);class _0x894f92 extends _0x1ca8c6[_0x1b1e14(0x341)]{constructor(){const _0x4bdcc5=_0x1b1e14;super(),_0x215ae7(this,_0x4bdcc5(0x20a),_0x1ca8c6[_0x4bdcc5(0x1a1)]()),_0x215ae7(this,_0x4bdcc5(0x330),new Set()),_0x215ae7(this,'_unitOnClients',new Map()),_0x215ae7(this,'_heartbeatTimer',null),_0x215ae7(this,_0x4bdcc5(0x388),new Map()),_0x215ae7(this,_0x4bdcc5(0x445),new Map()),this[_0x4bdcc5(0x2f4)]();}[_0x1b1e14(0x1cc)](){const _0x59b412=_0x1b1e14;super[_0x59b412(0x1cc)](),this[_0x59b412(0x388)]['forEach']((_0xf3bc73,_0x50c6b9)=>this[_0x59b412(0x1a9)](_0x50c6b9)),this[_0x59b412(0x418)]&&window[_0x59b412(0x2df)](this[_0x59b412(0x418)]);}[_0x1b1e14(0x1b3)](_0x563cc9){const _0x4e3bf1=_0x1b1e14;return this[_0x4e3bf1(0x20e)](_0x563cc9)[_0x4e3bf1(0x22a)](_0x3b6b5a[_0x4e3bf1(0x1e7)]());}[_0x1b1e14(0x233)](_0x14b760){const _0x36b56e=_0x1b1e14;this[_0x36b56e(0x330)][_0x36b56e(0x307)]===0x0&&this[_0x36b56e(0x1bf)](),this[_0x36b56e(0x330)][_0x36b56e(0x231)](_0x14b760),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x14b760],'isForwarded':!0x1});}[_0x1b1e14(0x1dd)](_0x55fd64){const _0x939acb=_0x1b1e14;this[_0x939acb(0x330)]['delete'](_0x55fd64),this[_0x939acb(0x330)]['size']===0x0&&this[_0x939acb(0x418)]&&window[_0x939acb(0x2df)](this[_0x939acb(0x418)]);}[_0x1b1e14(0x2f4)](){const _0xcf2c9c=_0x1b1e14;this[_0xcf2c9c(0x215)](_0x1ca8c6[_0xcf2c9c(0x226)](_0x3b6b5a[_0xcf2c9c(0x372)](window,_0xcf2c9c(0x3a1))[_0xcf2c9c(0x3b9)](_0x1464e5=>{const _0xf8c7b2=_0xcf2c9c;if(_0x1464e5[_0xf8c7b2(0x3ba)]!==_0x5ed521||!_0x1464e5[_0xf8c7b2(0x2f6)])return;const _0x361d6d=JSON[_0xf8c7b2(0x412)](_0x1464e5[_0xf8c7b2(0x2f6)]);this[_0xf8c7b2(0x2f0)](_0x361d6d);}))),window[_0xcf2c9c(0x469)]('unload',()=>this[_0xcf2c9c(0x361)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0xcf2c9c(0x2f2)](this[_0xcf2c9c(0x330)])}));}[_0x1b1e14(0x2f0)](_0x4d634a){const _0x20742c=_0x1b1e14;switch(_0x4d634a[_0x20742c(0x43d)]){case 0x0:this['_handleJoinEvent'](_0x4d634a);break;case 0x1:this[_0x20742c(0x2d2)](_0x4d634a);break;case 0x2:this[_0x20742c(0x3d1)](_0x4d634a);break;}}[_0x1b1e14(0x18f)](_0x2d201d){const _0x27ca7e=_0x1b1e14,{unitIDs:_0x28527c,memberID:_0x22aa02,isForwarded:_0x12d869}=_0x2d201d;_0x28527c[_0x27ca7e(0x459)](_0x3671bd=>{const _0x35414b=_0x27ca7e;if(!_0x12d869&&this[_0x35414b(0x45c)][_0x35414b(0x33b)](_0x3671bd)&&this[_0x35414b(0x20e)](_0x3671bd)[_0x35414b(0x22e)](_0x4d5f16[_0x35414b(0x3dc)][_0x35414b(0x2e8)]),!this[_0x35414b(0x45c)][_0x35414b(0x33b)](_0x3671bd)||!this[_0x35414b(0x45c)][_0x35414b(0x318)](_0x3671bd)['has'](_0x22aa02)){const _0x390978=this[_0x35414b(0x45c)][_0x35414b(0x318)](_0x3671bd)||new Set();_0x390978[_0x35414b(0x231)](_0x22aa02),this['_unitOnClients'][_0x35414b(0x441)](_0x3671bd,_0x390978),this[_0x35414b(0x1e1)](_0x22aa02);}}),_0x12d869||this[_0x27ca7e(0x361)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x27ca7e(0x330)]],'isForwarded':!0x0});}[_0x1b1e14(0x1e1)](_0x15b7e9){const _0x28f498=_0x1b1e14;this[_0x28f498(0x1a9)](_0x15b7e9);const _0x386d45=window[_0x28f498(0x346)](()=>{const _0x477042=_0x28f498;this[_0x477042(0x45c)][_0x477042(0x459)](_0xf06e9e=>{const _0x57e679=_0x477042;_0xf06e9e[_0x57e679(0x1c0)](_0x15b7e9);});},_0x3070e7*0x2);this[_0x28f498(0x388)][_0x28f498(0x441)](_0x15b7e9,_0x386d45);}['_removeClearOtherTimer'](_0x2b6c40){const _0x3b3439=_0x1b1e14;if(this[_0x3b3439(0x388)][_0x3b3439(0x33b)](_0x2b6c40)){const _0x1ad18a=this['_clearOtherTimers'][_0x3b3439(0x318)](_0x2b6c40);_0x1ad18a&&window['clearTimeout'](_0x1ad18a),this['_clearOtherTimers']['set'](_0x2b6c40,null);}}[_0x1b1e14(0x2d2)](_0x26ff58){const _0x2b1ee9=_0x1b1e14,{memberID:_0x40c473,unitIDs:_0xeec867}=_0x26ff58;_0xeec867[_0x2b1ee9(0x459)](_0x2a926c=>{const _0x249c44=_0x2b1ee9;var _0x57b93b;const _0x5ec9a9=this[_0x249c44(0x45c)][_0x249c44(0x318)](_0x2a926c);_0x5ec9a9&&(_0x5ec9a9[_0x249c44(0x1c0)](_0x40c473),(_0x57b93b=this[_0x249c44(0x20e)](_0x2a926c))==null||_0x57b93b[_0x249c44(0x22e)](_0x5ec9a9[_0x249c44(0x307)]===0x0?_0x4d5f16['UnitStatus'][_0x249c44(0x3c2)]:_0x4d5f16[_0x249c44(0x3dc)][_0x249c44(0x2e8)]));}),this[_0x2b1ee9(0x1a9)](_0x40c473);}['_handleHeartbeatEvent'](_0x127fb5){const _0x57a3ac=_0x1b1e14;this['_scheduleClearOtherTimer'](_0x127fb5[_0x57a3ac(0x252)]);}[_0x1b1e14(0x361)](_0x514311){const _0x724296=_0x1b1e14;localStorage[_0x724296(0x1b5)](_0x5ed521,JSON[_0x724296(0x227)](_0x514311));}['_scheduleHeartbeat'](){const _0x4306e8=_0x1b1e14;this[_0x4306e8(0x418)]=window['setInterval'](()=>{const _0x2e1174=_0x4306e8;this[_0x2e1174(0x361)]({'type':0x2,'memberID':this[_0x2e1174(0x20a)]});},_0x3070e7);}['_ensureSubject'](_0x17d97c){const _0x1585e3=_0x1b1e14;return this[_0x1585e3(0x445)][_0x1585e3(0x33b)](_0x17d97c)||this[_0x1585e3(0x445)]['set'](_0x17d97c,new _0x3b6b5a[(_0x1585e3(0x1b1))](_0x4d5f16[_0x1585e3(0x3dc)][_0x1585e3(0x3c2)])),this[_0x1585e3(0x445)]['get'](_0x17d97c);}}_0x3e0575['IURLService']=_0x4af2ba,_0x3e0575[_0x1b1e14(0x43f)]=_0x14419a,_0x3e0575[_0x1b1e14(0x3e3)]=_0x894f92,_0x3e0575[_0x1b1e14(0x3a9)]=_0x48f0ff,Object[_0x1b1e14(0x394)](_0x3e0575,Symbol[_0x1b1e14(0x31d)],{'value':'Module'});}));function _0x4e18(_0x46c3f4,_0x45ff0b){_0x46c3f4=_0x46c3f4-0x182;const _0x118454=_0x1184();let _0x4e18f4=_0x118454[_0x46c3f4];return _0x4e18f4;}function _0x1184(){const _0xf3cc8d=['SNAPSHOT_HAS_BEEN_REMOVED','_handleEvent','stack','from','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_init','CollaborationController','newValue','WECHAT_HAS_BEEN_BOUND','ENTITLE_CAN_NOT_BUY_LOWER_OTP','redoState','combineLatest','unsubscribe','getMemberID','RxDisposable','ISocketService','_getScale','length','ERROR_AGAIN','InsertRowCommandId','_startSheetCollabCursor','m1Prime','7MKGOFU','blue.400','size','Inject','params','getColorFromTheme','UniverInstanceType','saveImage','YUUMI_SUBSCRIPTION_NOT_FOUND','assignAColorForMemberID','unitID','getCurrent','CommandType','getCurrentRevOfUnit','row','toRgbString','onPointerEnter$','ranges','socket$','get','_themeService','LICENSE_IMPORT_SIZE_EXCEEDED','Rect','dispose$','toStringTag','event$','values','_initStatusComponent','getSheetId','IImageIoService','stageInfo','LICENSE_MAX_UNITS_EXCEEDED','FormulaExecuteStageType','AWAITING','result','_checkCalculationAvailable','Warning','_render','flatMap','forwardRef','CURRENT_STATUS_CANNOT_OPERATE','_initUserListener','@univerjs/core','_selfUnitIDs','NOT_COLLAB','currentColor','MUTATION','currentTheme$','handleMoveRange','SNAPSHOT_INVALID_SNAPSHOT','/universer-api/license/formula/limit/status','_colorAssignService','sheetID','_eventUnsubscribe','has','JOIN_ROOM_FAILED','_backgroundColor','RefRangeService','fillStyle','_status$','Disposable','session.collaboration-timeout','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','requireSession','_online','setTimeout','entityInit$','_transformHistoryAndStateStack','/run/','createElement','getCoordByCell','on-line-icon_clip0_910_349','_localeService','handleInsertRow','_registerRenderDependencies','filename','_hideTimer','_docTransformSelectionsService','ILogService','doc.mutation.rich-text-editing','hide','SHEET_VIEWPORT_KEY','_configService','cursorInfo$','IDocClipboardService','pushState','beginPath','APPLY_PERMISSION_DENIED','top','selection','color','some','_send','subunit','ticket','dirtyRanges','YUUMI_URL_COL_OUT_OF_RANGE','setStateCache','eventID','_labelPosition','UniverUi','exports','_saveCache','saveOfflineData','USERS_LEAVE','3640200ezyXqZ','ENTITLE_DUP_SUBSCRIPTION','_syncEditingCollabCursorService','clsx','fromEvent','INVALID_INVITE_CODE','ENTITLE_COUPON_USED_UP','UniverDrawing','getOffsetConfig','mask','permission.content','NOT_FOUND','Error','code','_setupBeforeClosingHandler','_currentUsage','UniverSheetsUi','mergeOverrideWithDependencies','_releaseCalculationLimit','Loading','getTypeOfUnitAdded$','_docTransformIMECacheService','m2Prime','_colorIndex','onMouseMove','LOGIN_FAILED','_clearOtherTimers','permission.title','_transformService','HEADER_MENU','roomMembers','path','REDEMPTION_CODE_NOT_STARTED','_name','createSocket','substring','none','setUndoRedoMutationParamsCache','defineProperty','origin','ENTITLE_COUPON_EXPIRED','ACTIVE_UNIT_EVENT_CHANNEL','transformMutation','FromArray','off-line-icon','_range','startColumn','with','RemoteUniscriptService','height','string','storage','svg','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','maxFormulaLimit','translate(.97)','YUUMI_RATE_OVER_LIMIT','_initStatusListener','colorChannel1','WebURLService','_config','EffectRefRangId','getRelativeToViewportCoord','OffLineIcon','jiqing.500','IUniverInstanceService','whenReady','transformMutationsWithChangeset','symbol','UNIVER_DOC','RegularPolygon','actions','SYNCED','SessionStatus','getTypeOfUnitDisposed$','subscribe','key','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','YUUMI_AI_RUN_FAILED','CHANGESET_REVISION_CONFILICT','collabStatus.offline','@univerjs-pro/collaboration-client','useDependency','_getAnchorBounding','NO_OTHER_CLIENTS_EDITING','onStarting','findNodePositionByCharIndex','_toggleOnline','off-line-icon_clip0_910_343','getCollabCursors$','current','use','DATA_SOURCE_TOO_LARGE','removeEventListener','SUCCESS','onPointerLeave$','_checkAndWaitForCalculationPermission','fillRule','defs','_handleHeartbeatEvent','_docSkeleton','text','_initEvent','SOCKET_FAILED','ILocalCacheService','_messageService','rgba(255,\x20255,\x20255,\x200.01)','_getFormulaLimitStatus','unitId','unit','UnitStatus','UniverRpc','UNIVER_SHEET','REDEMPTION_CODE_INACTIVE','_logService','INTERNAL_ERROR','sheetId','WebBrowserSingleActiveUnitService','column','YUUMI_NO_CUBOID_FOR_QUESTION','IConfigService','REDEMPTION_CODE_FULLY_REDEEMED','collabStatus.synced','SOCKET_FAILED_RETRY','INVITE_CODE_REQUIRED','deserializeRangeWithSheet','ISnapshotServerService','INVALID_ARGUMENT','backgroundColor','runRefRangeMutations','sessionTicket','searchParams','location','docStateChange$','LICENSE_DISTRO_REJECTED','hovered','_doCreateSocket','Shape','_lastPointer','init','LocaleService','_commandService','lineno','_dataLoaderService','addClipboardHook','APPLY_REVISION_CONFILICT','removeParam','getViewport','InsertRangeMoveRightCommandId','roomMembers$','_uiPartsService','ColorKit','_clearPolling','shift','undoState','_transformUndoRedoStack','selections','textRanges','_memberService','_collaborationSessionService','xlink:href','_cursors','find','collaboration.single-unit.warning','parse','DesktopCollaborationStatusDisplayController','_saveTaskMap','REDEMPTION_CODE_HAS_BEEN_CREATED','_renderManagerService','updateOfflineData','_heartbeatTimer','_initResize','asObservable','UNDEFINED','ONLINE','[Unhandled\x20Rejection]:\x20','?taskId=','_createSocketURL','VIEW_MAIN','CollaborationEvent','collabStatus.notCollab','attrs','div','_taskIds','collaboration.offline-data-not-saved','colno','1em','RECT','map','save','@univerjs/network','getValue','replace','React','handleIRemoveCol','getMergeData','getColor','startFormulaLimitUrl','drawWith','react/jsx-runtime','_docStateChangeManagerService','CollaborationStatus','Tools','_drawTextRange','loadOfflineData','\x20at\x20','width','type','getCellMatrix','SheetCollabCursorShape','_hovered','set','Unknown\x20user','_docClipboardService','UniverSheets','_unitStatus','_removeCollabCursors','IMessageService','getItem','range','_collaborationController','complete','PERMISSION_DENIED','http://www.w3.org/2000/svg','2FCIxfm','115044piEnxR','entries','_urlService','MOBILE_VERIFY_CODE_MISMATCH','unshift','registerRenderModule','MoveRangeCommandId','push','getUndoRedoMutationParamsCache','ENTITLE_USE_COUPON_NOT_1ST_TRADE','forEach','_collaborationUIEventService','defIds','_unitOnClients','IUIPartsService','UniverEngineFormula','data','formula.calculation.unable','catch','MemberService','ENTITLE_CHAT_LIMIT_EXCEED','setActiveRange','PY_RUNTIME_SCRIPT_ERROR','_pollingInterval','send','_maxFormulaLimit','addEventListener','NodePositionConvertToCursor','getSheetBySheetId','trim','_setupSubUnitSync','_localCacheService','body','_scheduleSaving','_handleHover','name','switchMap','setParam','REDEMPTION_INVALID_CODE','_cursor','M0\x200H16V16H0z','RemoveRowCommandId','/universer-api/frontend/logs','transformStateCache','_updateSubUnitFromURLParams','_sheetSkeletonManagerService','_handleJoinEvent','4xVtQYU','error','onTransformChange$','0\x200\x2016\x2016','REDEMPTION_USER_NOT_ELIGIBLE','filter','UniverCore','OFFLINE','_uploadLog','getRenderById','subUnitId','executionId','SheetSkeletonManagerService','Subject','unhandledrejection','registerRefRange','restore','generateRandomId','ENTITLE_INVALID_COUPON_CODE','post','IBeforeCloseService','then','formula.calculation.waiting','@univerjs/design','_docSyncEditingCollabCursorService','_removeClearOtherTimer','TEXT_RANGE_LAYER_INDEX','sessionStatus$','getParam','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_getSheetObject','isTransformMutationFailure','arc','BehaviorSubject','replaceDocRanges','getUnitStatus$','@univerjs/docs','setItem','SetDocZoomRatioOperation','YUUMI_UNABLE_LOAD_URL','_beforeCloseService','makeDirty','REDEMPTION_USER_REDEEM_TIMES_EXCEED','ENTITLE_NEED_BILLING_ADDRESS','_scene','DocSelectionManagerService','activeSheet$','_scheduleHeartbeat','delete','_entityInit$','handleDeleteRangeMoveUp','measureText','APPLY_DUPLICATED','_applyCommand','5202279QOTFDN','on-line-icon','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','YUUMI_ASYNCIO_CANCELLED','_drawAnchor','now','dispose','Injector','getOwnPropertyDescriptor','_collabCursorState$','beforeCommandExecuted','debounce','INVITE_CODE_HAS_BEEN_UES','merge','invokeId','_updateURLWithCurrentState','LOGIN_TOKEN_PROCESSING_FAILED','_docTransformStateCacheService','getCellPositionByOffset','syncEditingCollabCursor','purple.300','_initCommandExecutedListener','fill','disposeUnit','getUnhiddenWorksheets','OTHER_CLIENT_EDITING','enableFrontendLog','_scheduleClearOtherTimer','getSkeleton','_toggleOffline','_onCursorUpdate','_refRangeService','MessageType','distinctUntilChanged','getRangePointData','_context','Failed','UniverCollaborationClientPlugin','transform','isEditing','ENTITLE_INSUFFICIENT_QUOTA','isTransformMutationsWithChangesetSuccess','assign','getCurrentSelections','USER_NOT_FOUND','collabCursorState$','YUUMI_CONNECTOR_URL_NOT_FOUND','_imageIoService','_updateCollabCursors','triggerDblclick','registerBeforeClose','_assignedColors','isArray','univer-flex\x20univer-items-center','AUTHORIZE_CODE_ILLEGAL','0\x200\x2017\x2016','getCurrentUnitForType','_startCalculationLimit','getMember','_startDocCollabCursor','DocIMEInputManagerService','rxjs/operators','_cachedData','[CollaborationDataLoaderController]','_initDependencies','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_httpService','_cursorShapes','_id','APPLY_REJECT','skeleton','ThemeService','_ensureSubject','UniverProCollaboration','CollaborationUIEventId','_color','getUnitId','debug','random','disposeWithMe','mutations','onLocalMutation','yellow.400','react','#FFF','TEXT','[LogService\x20Error]:\x20','univer-mr-2\x20univer-flex\x20univer-text-xl','onRendered','1419bpXChT','APPLY_NON_SEQUENTIAL_REVISION','runId','DocSkeletonManagerService','evenodd','_entities','NodePositionConvertToRectRange','toDisposable','stringify','getLocalCacheKey','jsxs','pipe','getConfig','saveTaskMap','6338298lJALpj','next','bottom','jsx','add','BrowserCollaborationSocketService','editingUnit','DisposableCollection','rxjs','font','isFormulaId','_hover','DOC_RANGE_TYPE','url(#$1','getDocRanges','href','_univerInstanceService','_initUnhandledRejectionListener','ENTITLE_REPORT_LIMIT_EXCEED','SetFormulaCalculationStartMutation','_localStorageService','toString','UPDATE_CURSOR','TOO_MANY_REQUESTS','startRow','UNRECOGNIZED','setShapeProps','DocCollaborationEntity','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_lastResponseTimestamp','getUnit','SetSelectionsOperation','endRow','search','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','UniverProCollaborationClient','transformIMECache','memberID','touchDependencies','636985wcgOob','_textBubble','UniverProCollaborationClientUi','_updateLocalCursor','isFormulaString','SetTextSelectionsOperation','ICommandService','_memberID','enableLocalCache','getUniverSheetInstance','tag','show','MOBILE_HAS_BEEN_BOUND','deepClone','shareReplay','SheetsSelectionsService','takeUntil','getformulaLimitStatusUrl','_disabled','_getSessionTicket','_docSkeletonManagerService','replaceState','throttleTime','_document','[RemoteUniscriptService]:\x20no\x20focused\x20unit','PAYMENT_CHANNEL_NOT_SUPPORT','_collabSessionService','ILocalStorageService','endColumn','@univerjs/sheets-ui','history','_showGuardMessage','_draw','DataLoaderService','HTTPService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_monkeyPatchLogService','useCallback','OnLineIcon','Vector2','ITransformService','10iggSoA','COLORS','onCommandExecuted','fromEventSubject','_cursorInfo$','getFocusedUnit','startsWith','addObject','onPointerMove$','idSuffix','/universer-api/license/formula/limit/done','CONNECTOR_DATA_TOO_LARGE','black','createInstance','handleDeleteRangeMoveLeft','_injector','DeleteRangeMoveLeftCommandId','UNAUTHENTICATED','USER_NOT_INVITED_CODE','urlChange$','DependentOn','SetFormulaCalculationNotificationMutation','_anchorDot','_getMergeRange','11799828fJnqmI','reconnect','operators','2528690TYCwLp','LICENSE_EXPORT_SIZE_EXCEEDED','cursorInfo','parseInt','@univerjs/engine-render','_instanceService','children','_hasFormulaInDirtyRanges','DeleteRangeMoveUpCommandId','round','popstate','SetWorksheetActivateCommand','InsertRangeMoveDownCommandId','collab-text-anchor-','EMAIL_VERIFY_CODE_MISMATCH','isActive','UniverCollaborationClientUIPlugin','_refreshCollabCursors','_revisionService','CollaborationDataLoaderController','transformByState','CollaborationSessionService','moveTo','wsSessionTicketUrl','_setFormulaLimitStatus','_roomMembers$','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_initCommandInterceptor','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_initEntityListener','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','DocStateChangeManagerService','@univerjs/engine-formula','currentUsage','_drawRectRange','AWAITING_WITH_PENDING','WebSocketService','limitInfo','_session','engine','min','IRemoteInstanceService','executeCommand','serializeRangeWithSheet','exhaustSavingTask','object','CONFLICT','_onRefRangeChange','red.300','_collabCursorController','source','join','SUBMIT_CHANGESET_TIMEOUT','addObjects','currentSkeleton$','transformRemoteChangeset','lineTo','clipPath','_handleLeaveEvent','function','getStateCache','_shapes','getVpScrollXYInfoByPosToVp','stage','collabStatus.fetchMiss','_anchor','RichTextEditingMutation','Optional','COMPLETION_FINISHED','_notificationService','message','clearInterval','UniverIcon','setConfig','collaboration.closeRoom','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','Rectangle','uni.network.url-service','getActiveSheet','subscribeEvent','OTHER_CLIENTS_EDITING','_onCursorDelete','Plugin','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','registerDependencies','green.600','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT'];_0x1184=function(){return _0xf3cc8d;};return _0x1184();}