@univerjs-pro/collaboration-client-ui 0.12.2-experimental.20251202-45172c6 → 0.12.2-experimental.20251202-7f1a98f

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 _0xe84b(_0xef347a,_0x517dd6){const _0x253448=_0x2534();return _0xe84b=function(_0xe84b35,_0x228784){_0xe84b35=_0xe84b35-0xc0;let _0x5a6036=_0x253448[_0xe84b35];return _0x5a6036;},_0xe84b(_0xef347a,_0x517dd6);}function _0x2534(){const _0x597335=['RECT','CommandType','entries','_render','search','application/json','_updateLocalCursor','syncEditingCollabCursor','USER_NOT_FOUND','toDisposable','getLocalCacheKey','textRanges','function','DependentOn','getCellPositionByOffset','_docTransformSelectionsService','react','getOffsetConfig','actions','BuiltInUIPart','TOO_MANY_REQUESTS','_getSessionTicket','from','_toggleOnline','collaboration-client-ui.config','FETCH_MISS','addEventListener','getUnitStatus$','getRenderById','Error','UnitStatus','collabCursorState$','#FFF','APPLY_PERMISSION_DENIED','Plugin','_showGuardMessage','UniverUi','SUBMIT_CHANGESET_TIMEOUT','_themeService','urlChange$','UniverProCollaborationClientUi','_onCursorUpdate','type','CollaborationDataLoaderController','YUUMI_AI_RUN_FAILED','OffLineIcon','_ensureSubject','IRemoteInstanceService','location','exhaustSavingTask','_online','_clearPolling','_httpService','rxjs','runOnServer','IRenderManagerService','_colorAssignService','15125175fNOpdh','ranges','SetFormulaCalculationStartMutation','IConfigService','UniverProCollaboration','Injector','@univerjs/core','backgroundColor','row','createElement','transformMutationsWithChangeset','message','_entities','executionId','\x20at\x20','undoState','updateOfflineData','_pollingInterval','getRelativeToViewportCoord','transformRemoteChangeset','APPLY_REVISION_CONFILICT','MOBILE_VERIFY_CODE_MISMATCH','result','stack','_onCursorDelete','collabStatus.notCollab','getParam','getViewport','addObjects','min','AUTHORIZE_CODE_ILLEGAL','history','ColorKit','MUTATION','getColor','_checkCalculationAvailable','SessionStatus','DEFAULT_WS_SESSION_TICKET_URL','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','unsubscribe','_collaborationUIEventService','INVITE_CODE_REQUIRED','forwardRef','distinctUntilChanged','SetWorksheetActivateCommand','off-line-icon_clip0_910_343','_beforeCloseService','_removeClearOtherTimer','_range','_injector','url(#on-line-icon_clip0_910_349)','values','ICommandService','getTypeOfUnitDisposed$','m1Prime','7sCjCNd','on-line-icon_clip0_910_349','dispose','_doCreateSocket','REDEMPTION_CODE_FULLY_REDEEMED','enableLocalCache','enableFrontendLog','_send','labelPosition','getColorFromTheme','size','isFormulaString','MoveRangeCommandId','DeleteRangeMoveUpCommandId','_collaborationController','_renderManagerService','code','LOGIN_FAILED','entityInit$','setActiveRange','MOBILE_HAS_BEEN_BOUND','YUUMI_URL_COL_OUT_OF_RANGE','registerRenderModule','displayName','Shape','svg','operators','arc','transformMutation','INVITE_CODE_HAS_BEEN_UES','SheetsSelectionsService','collabStatus.fetchMiss','PERMISSION_DENIED','max','SHEET_VIEWPORT_KEY','restore','onMouseMove','exports','blue.400','socket$','INVALID_ARGUMENT','length','setInterval','IURLService','UniverProCollaborationClient','_handleHeartbeatEvent','_docTransformStateCacheService','clearInterval','origin','IUniverInstanceService','sheetID','UniverCore','range','body','getMemberID','_registerDependencies','SetFormulaCalculationNotificationMutation','LICENSE_EXPORT_SIZE_EXCEEDED','_initCommandInterceptor','_eventUnsubscribe','tag','EffectRefRangId','onCommandExecuted','handleDeleteRangeMoveUp','[CollaborationDataLoaderController]','YUUMI_ASYNCIO_CANCELLED','yellow.400','@univerjs/docs','drawWith','_handleEvent','debounce','subscribeEvent','RegularPolygon','_name','DesktopCollaborationStatusDisplayController','runRefRangeMutations','UNIVER_DOC','delete','TEXT_RANGE_LAYER_INDEX','sessionStatus$','clipPath','_anchorDot','YUUMI_UNABLE_LOAD_URL','UNIVER_SHEET','pluginName','getFocusedUnit','handleInsertRangeMoveRight','SetTextSelectionsOperation','includes','APPLY_REJECT','executeCommand','RemoteUniscriptService','DataLoaderService','collabStatus.offline','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getActiveSheet','_localStorageService','@univerjs/rpc','fillRule','SYNCED','_getMergeRange','_transformHistoryAndStateStack','getUnitId','_cursorShapes','_monkeyPatchLogService','_revisionService','WebSocketService','text','removeParam','_registerRenderDependencies','_assignedColors','Workbook','1em','@univerjs/docs-ui','SetSelectionsOperation','_startSheetCollabCursor','show','ILocalStorageService','generateRandomId','REDEMPTION_CODE_NOT_STARTED','transformStateCache','ONLINE','createInstance','UniverCollaborationClientUIPlugin','fromEventSubject','catch','transformByState','UniverInstanceType','totalFormulasToCalculate','_docSkeletonManagerService','lineno','fill','_startDocCollabCursor','2519480tgKIFK','purple.300','ENTITLE_INSUFFICIENT_QUOTA','_handleJoinEvent','disposeWithMe','onTransformChange$','getSheetId','send','_getSaveTimeout','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','sheetId','href','CollaborationEvent','_lastPointer','VIEW_MAIN','parseInt','bind','IMessageService','startColumn','getCurrentRevOfUnit','INTERNAL_ERROR','set','findNodePositionByCharIndex','DocCollaborationEntity','EMAIL_VERIFY_CODE_MISMATCH','CollaborationUIEventId','functionsExecutedState','red.300','Rectangle','CHANGESET_REVISION_CONFILICT','url(#off-line-icon_clip0_910_343)','_collabCursorState$','formula.calculation.unable','NOT_FOUND','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','OTHER_CLIENT_EDITING','roomMembers$','collaboration-client.offline-data-not-saved','_initCommandExecutedListener','currentSkeleton$','disableLocalCache','beforeCommandExecuted','evenodd','pushState','current','Tooltip','DOC_RANGE_TYPE','DocStateChangeManagerService','post','onRendered','touchDependencies','TEXT','unitId','ThemeService','Warning','ENTITLE_REPORT_LIMIT_EXCEED','SheetSkeletonManagerService','getValue','rxjs/operators','clearTimeout','height','IBeforeCloseService','get','subunit','unload','with','split','getCollabCursors$','onPointerEnter$','forEach','UniverEngineFormula','/run/','RemoveColCommandId','CURRENT_STATUS_CANNOT_OPERATE','toString','black','Vector2','collab-rect-range-','registerDependencies','error','imageSourceType','_initUnhandledRejectionListener','SetDocZoomRatioOperation','UniverDrawing','_syncEditingCollabCursorService','registerRefRange','_applyCommand','selection','init','isEditing','isActive','redoState','AWAITING','getUnit','Unknown\x20user','runId','unhandledrejection','moveTo','NodePositionConvertToCursor','LICENSE_MAX_UNITS_EXCEEDED','_draw','REDEMPTION_USER_NOT_ELIGIBLE','_docStateChangeManagerService','save','_colorIndex','activeSheet$','Failed','addClipboardHook','_initStatusComponent','cursorInfo','xlink:href','DocIMEInputManagerService','_scheduleSaving','UniverIcon','isTransformMutationFailure','color','saveTaskMap','fillText','_unitStatus','Success','REDEMPTION_CODE_HAS_BEEN_CREATED','registerBeforeClose','CONNECTOR_DATA_TOO_LARGE','COLORS','column','CONFLICT','_saveCache','_context','registerComponent','now','UniverDesign','loadOfflineData','_roomMembers$','cursorInfo$','_textBubble','width','Tools','eventID','USER_IS_ANONYMOUS','InsertColCommandId','children','getConfig','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','UNDEFINED','Disposable','_selfUnitIDs','_lastResponseTimestamp','override','SNAPSHOT_HAS_BEEN_REMOVED','Subject','UniverRpc','REDEMPTION_INVALID_CODE','_initUserListener','INVITE_CODE_ALREADY_BOUND','filter','newValue','_setupBeforeClosingHandler','bottom','focused$','RemoveRowCommandId','measureText','key','_memberID','permission.content','requireSession','fromEvent','_drawAnchor','assignAColorForMemberID','_drawRectRange','collabStatus.synced','add','useRef','Rect','debug','handleDeleteRangeMoveLeft','_scheduleHeartbeat','UniverNetwork','univerjs-icon\x20univerjs-icon-','setTimeout','...','_configService','ILogService','jsx','resize','getSheetBySheetId','object','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','lineTo','replaceDocRanges','UPDATE_CURSOR','_heartbeatTimer','WECHAT_HAS_BEEN_BOUND','data','parse','react/jsx-runtime','PAYMENT_CHANNEL_NOT_SUPPORT','ENTITLE_CAN_NOT_BUY_LOWER_OTP','searchParams','ERROR_AGAIN','unitID','_scheduleClearOtherTimer','3368296iHSKqN','_updateURLWithCurrentState','dirtyRanges','_hideTimer','_session','getAncestorScale','endRow','OTHER_CLIENTS_EDITING','permission.title','throttleTime','_checkAndWaitForCalculationPermission','IDocClipboardService','_messageService','_shapes','dispose$','subscribe','getOwnPropertyDescriptor','substring','switchMap','_cursorInfo$','onPointerMove$','stringify','maxFormulaLimit','jsxs','shift','START_CALCULATION','CollaborationSessionService','_hasFormulaInDirtyRanges','EMAIL_HAS_BEEN_BOUND','removeEventListener','_maxFormulaLimit','_refreshCollabCursors','memberID','?taskId=','ITransformService','closePath','getMergeData','_getSheetObject','_onRefRangeChange','_collabSessionService','replaceState','getCoordByCell','all','saveImage','event$','_entityInit$','idSuffix','YUUMI_ALL_TABLES_IS_INVALID','_document','_logService','_localeService','_toggleOffline','_docClipboardService','5347988TpYpcx','createIdentifier','1083006LcbXrw','toRgbString','startRow','name','join','_drawTextRange','_status$','_localCacheService','YUUMI_SUBSCRIPTION_NOT_FOUND','_clearOtherTimers','m2Prime','makeDirty','getCellMatrix','getUniverSheetInstance','USER_NOT_INVITED_CODE','getCurrentUnitForType','InsertRangeMoveRightCommandId','_handleLeaveEvent','onPointerLeave$','getMember','2117436zAZCfr','off-line-icon','rgba(255,\x20255,\x20255,\x200.01)','collab-text-range-','0\x200\x2016\x2016','translate(.97)','white','none','_unitOnClients','clsx','RichTextEditingMutation','_initWindowErrorListener','DisposableCollection','_cursor','defIds','transformIMECache','CollaborationStatus','CanceledError','limitInfo','editingUnit','_taskIds','USERS_LEAVE','AWAITING_WITH_PENDING','@univerjs/engine-render','NOT_COLLAB','push','addObject','DATA_SOURCE_TOO_LARGE','getCurrent','SOCKET_FAILED_RETRY','unshift','_backgroundColor','contains','univer-mr-2\x20univer-flex\x20univer-text-xl','@univerjs/drawing','startFormulaLimitUrl','_instanceService','popstate','_collabCursorController','currentTheme$','defineProperty','_memberService','getActiveRange','_urlService','WebBrowserSingleActiveUnitService','UNAUTHENTICATED','InsertRowCommandId','handleIRemoveCol','Inject','BrowserCollaborationSocketService','releaseFormulaLimitUrl','LocaleService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_getAnchorBounding','mask','serializeRangeWithSheet','transformSelections','Optional','_setupSubUnitSync','transform','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_updateSubUnitFromURLParams','@univerjs-pro/collaboration','_initEntityListener','_hover','addHandlerCallback','getTypeOfUnitAdded$','_anchor','collabStatus.syncing','UniverEngineRender','ENTITLE_CHAT_LIMIT_EXCEED','_startCalculationLimit','REDEMPTION_CODE_INACTIVE','_color','asObservable','SNAPSHOT_INVALID_SNAPSHOT','Loading','_docSkeleton','has','deepClone','1397994RCFdaK','UNRECOGNIZED','_removeCollabCursors','collaboration.closeRoom','unit','_initDependencies','setAlpha','NO_OTHER_CLIENTS_EDITING','getVpScrollXYInfoByPosToVp','pipe','INotificationService','_initResize','ENTITLE_NEED_BILLING_ADDRESS','params','[LogService\x20Error]:\x20','mutations','_uploadLog','combineLatest','DocSelectionManagerService','getStateCache','MemberService','_handleHover','_univerInstanceService','reason','_refRangeService','_initStatusListener','_cursors','_docTransformIMECacheService','defs','hide','DocSkeletonManagerService','setParam','BehaviorSubject','status$','next','_init','YUUMI_RATE_OVER_LIMIT','getDocRanges','onStarting','beginPath','Module','disposeUnit','MessageType','getRangePointData','_imageIoService','_transformPreviousActiveRange','debounceTime','map','HTTPService','5CHEqvz','COMPLETION_FINISHED','[Unhandled\x20Rejection]:\x20','_dataLoaderService','path','isArray','filename','stage','ISnapshotServerService','_id','url(#$1','endColumn','_transformService','isTransformMutationsWithChangesetSuccess','jiqing.500','getformulaLimitStatusUrl','useCallback','IUIPartsService','storage','then','LOCAL_CACHE_INTERVAL','ticket','_cachedData','getUndoRedoMutationParamsCache','_currentUsage','div','ENSURE_SNAPSHOT_EXECUTION','string','takeUntil','WebURLService','CollaborationController','some','roomMembers','NodePositionConvertToRectRange','mergeOverrideWithDependencies','createSocket','collab-text-anchor-','_uiPartsService','APPLY_DUPLICATED','_scene','univer-flex\x20univer-items-center','INVALID_INVITE_CODE','FromArray','REDEMPTION_USER_REDEEM_TIMES_EXCEED','JOIN_ROOM_FAILED','RxDisposable','assign','/universer-api/license/formula/limit/done','YUUMI_CONNECTOR_URL_NOT_FOUND','setShapeProps','colorChannel1','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','0\x200\x2017\x2016','font','@univerjs-pro/collaboration-client','_setFormulaLimitStatus','_hovered','replace','_releaseCalculationLimit','collaboration.single-unit.warning','collab-client.tooltip.reconnect','LOCAL_CACHE_INTERVAL_KEY','top','_getScale','_collaborationSessionService','_disabled','_sheetSkeletonManagerService','flatMap','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','RevisionService','onLocalMutation','CLOSE_ROOM','LICENSE_DISTRO_REJECTED','_initEvent','PENDING','@univerjs/sheets','_notificationService','skeleton','_labelPosition','React','[RemoteUniscriptService]:\x20no\x20focused\x20unit','useDependency','complete','round','ILocalCacheService','setItem','_updateCollabCursors','attrs','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getSkeleton','_config','M0\x200H16V16H0z','getSheetObject','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','shareReplay','getCurrentSelections','SheetCollabCursorShape','UniverSheetsUi','_createSocketURL','currentColor','doc.mutation.rich-text-editing','/universer-api/license/formula/limit/start','LICENSE_IMPORT_SIZE_EXCEEDED','_commandService','_saveTaskMap','TRANSFORM_CHANGE_OBSERVABLE_TYPE','PY_RUNTIME_SCRIPT_ERROR'];_0x2534=function(){return _0x597335;};return _0x2534();}(function(_0x350420,_0x2f6620){const _0x34c0a4=_0xe84b,_0x31772e=_0x350420();while(!![]){try{const _0x97fb2f=-parseInt(_0x34c0a4(0x1a5))/0x1+-parseInt(_0x34c0a4(0x39a))/0x2+parseInt(_0x34c0a4(0x1b9))/0x3+-parseInt(_0x34c0a4(0x1a3))/0x4*(-parseInt(_0x34c0a4(0x23a))/0x5)+-parseInt(_0x34c0a4(0x209))/0x6+-parseInt(_0x34c0a4(0x315))/0x7*(parseInt(_0x34c0a4(0x16e))/0x8)+parseInt(_0x34c0a4(0x2de))/0x9;if(_0x97fb2f===_0x2f6620)break;else _0x31772e['push'](_0x31772e['shift']());}catch(_0x3e5f1b){_0x31772e['push'](_0x31772e['shift']());}}}(_0x2534,0xb164a),function(_0x4a261e,_0x16bd3c){const _0x1c91a9=_0xe84b;typeof exports==_0x1c91a9(0x15e)&&typeof module<'u'?_0x16bd3c(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==_0x1c91a9(0x2b1)&&define['amd']?define([_0x1c91a9(0x33a),_0x1c91a9(0x167),_0x1c91a9(0x270),_0x1c91a9(0x2e4),'@univerjs/ui',_0x1c91a9(0x2da),'@univerjs/design',_0x1c91a9(0x2b5),_0x1c91a9(0x376),_0x1c91a9(0x285),_0x1c91a9(0x1d0),'@univerjs/network',_0x1c91a9(0x386),_0x1c91a9(0x1db),_0x1c91a9(0x1f7),_0x1c91a9(0x358),'@univerjs/engine-formula',_0x1c91a9(0xdf),'@univerjs/sheets-ui'],_0x16bd3c):(_0x4a261e=typeof globalThis<'u'?globalThis:_0x4a261e||self,_0x16bd3c(_0x4a261e[_0x1c91a9(0x2cd)]={},_0x4a261e[_0x1c91a9(0x289)],_0x4a261e[_0x1c91a9(0x341)],_0x4a261e[_0x1c91a9(0x348)],_0x4a261e[_0x1c91a9(0x2c9)],_0x4a261e[_0x1c91a9(0x2da)],_0x4a261e[_0x1c91a9(0x127)],_0x4a261e[_0x1c91a9(0x289)],_0x4a261e[_0x1c91a9(0x13b)],_0x4a261e['UniverSheets'],_0x4a261e[_0x1c91a9(0x1fe)],_0x4a261e[_0x1c91a9(0x155)],_0x4a261e['UniverDocsUi'],_0x4a261e[_0x1c91a9(0xf8)],_0x4a261e[_0x1c91a9(0x2e2)],_0x4a261e['UniverDocs'],_0x4a261e[_0x1c91a9(0xeb)],_0x4a261e[_0x1c91a9(0x2da)][_0x1c91a9(0x32f)],_0x4a261e[_0x1c91a9(0x29b)]));}(this,function(_0x978c78,_0x122d59,_0x250214,_0x1121b6,_0x1c0cb7,_0xf2ac11,_0x50d683,_0x1709bc,_0xd99031,_0x3f9144,_0x42a824,_0x24e2e1,_0x509b22,_0x19f064,_0x271c6b,_0x5ead8d,_0x564ab7,_0x12b9a5,_0x1ac3ed){'use strict';const _0x8e1915=_0xe84b;var _0x1e8d01=Object[_0x8e1915(0x1e1)],_0xdaf53e=(_0x25dd67,_0x26f1fe,_0x2a7dd6)=>_0x26f1fe in _0x25dd67?_0x1e8d01(_0x25dd67,_0x26f1fe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a7dd6}):_0x25dd67[_0x26f1fe]=_0x2a7dd6,_0xdf3e66=(_0x1e2e56,_0x2dfafa,_0x597057)=>_0xdaf53e(_0x1e2e56,typeof _0x2dfafa!='symbol'?_0x2dfafa+'':_0x2dfafa,_0x597057);function _0x321dd3({ref:_0x89577a,..._0x4ebaed}){const _0x4404de=_0x8e1915,{icon:_0x488a30,id:_0x143f85,className:_0x43a7e2,extend:_0x52c9c7,..._0x1b2375}=_0x4ebaed,_0x11d13b=(_0x4404de(0x156)+_0x143f85+'\x20'+(_0x43a7e2||''))['trim'](),_0x5834cd=_0x1709bc[_0x4404de(0x150)]('_'+_0x119cc0());return _0x5b3d50(_0x488a30,''+_0x143f85,{'defIds':_0x488a30[_0x4404de(0x1c7)],'idSuffix':_0x5834cd[_0x4404de(0xd1)]},{'ref':_0x89577a,'className':_0x11d13b,..._0x1b2375},_0x52c9c7);}function _0x5b3d50(_0x22942e,_0x3434a8,_0x10148b,_0x2845d3,_0x20b4d1){const _0x5e6bb0=_0x8e1915;return _0x1709bc['createElement'](_0x22942e['tag'],{'key':_0x3434a8,..._0x4ba961(_0x22942e,_0x10148b,_0x20b4d1),..._0x2845d3},(_0x15e812(_0x22942e,_0x10148b)['children']||[])[_0x5e6bb0(0x238)]((_0xfb560d,_0x574ca5)=>_0x5b3d50(_0xfb560d,_0x3434a8+'-'+_0x22942e[_0x5e6bb0(0x351)]+'-'+_0x574ca5,_0x10148b,void 0x0,_0x20b4d1)));}function _0x4ba961(_0x446b44,_0x1ed53f,_0x3e2c43){const _0xb890cb=_0x8e1915,_0x248e61={..._0x446b44[_0xb890cb(0x291)]};_0x3e2c43!=null&&_0x3e2c43[_0xb890cb(0x26c)]&&_0x248e61[_0xb890cb(0x398)]===_0xb890cb(0x26c)&&(_0x248e61['fill']=_0x3e2c43['colorChannel1']),_0x446b44['tag']==='mask'&&_0x248e61['id']&&(_0x248e61['id']=_0x248e61['id']+_0x1ed53f['idSuffix']),Object['entries'](_0x248e61)['forEach'](([_0x10fabe,_0x4484ce])=>{const _0x3658c6=_0xb890cb;_0x10fabe===_0x3658c6(0x1ef)&&typeof _0x4484ce==_0x3658c6(0x255)&&(_0x248e61[_0x10fabe]=_0x4484ce[_0x3658c6(0x273)](/url\(#(.*)\)/,_0x3658c6(0x244)+_0x1ed53f[_0x3658c6(0x19c)]+')'));});const {defIds:_0x41c5c3}=_0x1ed53f;return!_0x41c5c3||_0x41c5c3['length']===0x0||(_0x446b44[_0xb890cb(0x351)]==='use'&&_0x248e61[_0xb890cb(0x113)]&&(_0x248e61[_0xb890cb(0x113)]=_0x248e61[_0xb890cb(0x113)]+_0x1ed53f[_0xb890cb(0x19c)]),Object[_0xb890cb(0x2a7)](_0x248e61)[_0xb890cb(0xea)](([_0x387dac,_0x590617])=>{const _0x4bcda2=_0xb890cb;typeof _0x590617==_0x4bcda2(0x255)&&(_0x248e61[_0x387dac]=_0x590617[_0x4bcda2(0x273)](/url\(#(.*)\)/,_0x4bcda2(0x244)+_0x1ed53f[_0x4bcda2(0x19c)]+')'));})),_0x248e61;}function _0x15e812(_0x538445,_0xa18553){const _0xfe2df5=_0x8e1915;var _0x14d9fc;const {defIds:_0xd5d08f}=_0xa18553;return!_0xd5d08f||_0xd5d08f['length']===0x0?_0x538445:_0x538445['tag']===_0xfe2df5(0x225)&&((_0x14d9fc=_0x538445[_0xfe2df5(0x131)])!=null&&_0x14d9fc[_0xfe2df5(0x33e)])?{..._0x538445,'children':_0x538445[_0xfe2df5(0x131)]['map'](_0x5e6842=>typeof _0x5e6842[_0xfe2df5(0x291)]['id']==_0xfe2df5(0x255)&&_0xd5d08f&&_0xd5d08f[_0xfe2df5(0x36d)](_0x5e6842['attrs']['id'])?{..._0x5e6842,'attrs':{..._0x5e6842[_0xfe2df5(0x291)],'id':_0x5e6842['attrs']['id']+_0xa18553['idSuffix']}}:_0x5e6842)}:_0x538445;}function _0x119cc0(){const _0x211389=_0x8e1915;return Math['random']()[_0x211389(0xef)](0x24)[_0x211389(0x17f)](0x2,0x8);}_0x321dd3[_0x8e1915(0x32c)]=_0x8e1915(0x116);const _0x55c19a={'tag':_0x8e1915(0x32e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x8e1915(0x1c0),'viewBox':_0x8e1915(0x1bd),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x8e1915(0xc3)},'children':[{'tag':_0x8e1915(0x23e),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x8e1915(0x28d),'strokeLinejoin':_0x8e1915(0x28d),'strokeWidth':1.2}}]},{'tag':_0x8e1915(0x225),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x8e1915(0x30b)},'children':[{'tag':_0x8e1915(0x23e),'attrs':{'fill':_0x8e1915(0x1bf),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x8e1915(0x30b)]},_0x2d3b43=_0x1709bc[_0x8e1915(0x308)](function(_0x38cb08,_0x12ddb6){const _0x36b696=_0x8e1915;return _0x1709bc[_0x36b696(0x2e7)](_0x321dd3,Object['assign']({},_0x38cb08,{'id':_0x36b696(0x1ba),'ref':_0x12ddb6,'icon':_0x55c19a}));});_0x2d3b43['displayName']=_0x8e1915(0x2d2);const _0xe5d0cc={'tag':_0x8e1915(0x32e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x8e1915(0x1c0),'viewBox':_0x8e1915(0x26e),'width':'1em','height':_0x8e1915(0x385)},'children':[{'tag':'g','attrs':{'clipPath':_0x8e1915(0x310)},'children':[{'tag':_0x8e1915(0x23e),'attrs':{'stroke':_0x8e1915(0x29d),'d':_0x8e1915(0x133),'strokeLinecap':_0x8e1915(0x28d),'strokeLinejoin':_0x8e1915(0x28d),'strokeWidth':1.2}}]},{'tag':_0x8e1915(0x225),'attrs':{},'children':[{'tag':_0x8e1915(0x365),'attrs':{'id':_0x8e1915(0x316)},'children':[{'tag':_0x8e1915(0x23e),'attrs':{'fill':'white','d':_0x8e1915(0x295),'transform':_0x8e1915(0x1be)}}]}]}],'defIds':[_0x8e1915(0x316)]},_0x4db5b7=_0x1709bc['forwardRef'](function(_0xfc1050,_0x4b085f){const _0xf517a8=_0x8e1915;return _0x1709bc[_0xf517a8(0x2e7)](_0x321dd3,Object[_0xf517a8(0x268)]({},_0xfc1050,{'id':'on-line-icon','ref':_0x4b085f,'icon':_0xe5d0cc}));});_0x4db5b7[_0x8e1915(0x32c)]='OnLineIcon';function _0x4eb002(_0xd003d2){const _0x58187a=_0x8e1915;switch(_0xd003d2){case _0x250214[_0x58187a(0x1c9)]['OFFLINE']:return _0x58187a(0x372);case _0x250214[_0x58187a(0x1c9)][_0x58187a(0x122)]:return'collabStatus.conflict';case _0x250214[_0x58187a(0x1c9)][_0x58187a(0x2be)]:return _0x58187a(0x334);case _0x250214['CollaborationStatus']['NOT_COLLAB']:return _0x58187a(0x2f7);case _0x250214['CollaborationStatus'][_0x58187a(0x101)]:case _0x250214[_0x58187a(0x1c9)][_0x58187a(0x1cf)]:return _0x58187a(0x1fd);case _0x250214[_0x58187a(0x1c9)][_0x58187a(0x378)]:case _0x250214[_0x58187a(0x1c9)][_0x58187a(0x284)]:return _0x58187a(0x14e);}}function _0x8da27a(_0x59a156){const _0x1b6ac0=_0x8e1915,{status$:_0x4a4c5f}=_0x59a156,_0x5bda81=_0x1c0cb7['useObservable'](_0x4a4c5f,_0x250214[_0x1b6ac0(0x1c9)][_0x1b6ac0(0x1d1)]),_0x164ef9=_0x1c0cb7[_0x1b6ac0(0x28b)](_0x1121b6['LocaleService']),_0x537ab5=_0x1c0cb7[_0x1b6ac0(0x28b)](_0x250214[_0x1b6ac0(0x188)]),_0x485774=_0x5bda81!==_0x250214[_0x1b6ac0(0x1c9)]['OFFLINE'],_0x3f169d=_0x164ef9['t'](_0x4eb002(_0x5bda81)),_0x2a5c9d=_0x485774?_0x122d59[_0x1b6ac0(0x15b)](_0x4db5b7,{}):_0x122d59[_0x1b6ac0(0x15b)](_0x2d3b43,{}),_0x3b1836=_0x1709bc[_0x1b6ac0(0x24a)](()=>{_0x485774||_0x537ab5['reconnect']();},[_0x485774,_0x537ab5]);function _0x49a1c9(){const _0x6c014b=_0x1b6ac0;return _0x122d59[_0x6c014b(0x185)]('div',{'className':_0x6c014b(0x262),'onClick':_0x3b1836,'children':[_0x122d59[_0x6c014b(0x15b)](_0x6c014b(0x253),{'className':_0x50d683[_0x6c014b(0x1c2)](_0x6c014b(0x1da),{'univer-text-green-500':_0x485774,'univer-text-red-500':!_0x485774}),'children':_0x2a5c9d}),_0x122d59[_0x6c014b(0x15b)]('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3f169d})]});}return _0x485774?_0x49a1c9():_0x122d59[_0x1b6ac0(0x15b)](_0x50d683[_0x1b6ac0(0xd2)],{'title':_0x164ef9['t'](_0x1b6ac0(0x276)),'children':_0x49a1c9()});}var _0x3c85ad=Object['getOwnPropertyDescriptor'],_0x50dfd8=(_0x38fd1e,_0x597af7,_0x4afd66,_0x525598)=>{const _0x7a04df=_0x8e1915;for(var _0x21a2bc=_0x525598>0x1?void 0x0:_0x525598?_0x3c85ad(_0x597af7,_0x4afd66):_0x597af7,_0x5d639e=_0x38fd1e[_0x7a04df(0x33e)]-0x1,_0x1fbf9f;_0x5d639e>=0x0;_0x5d639e--)(_0x1fbf9f=_0x38fd1e[_0x5d639e])&&(_0x21a2bc=_0x1fbf9f(_0x21a2bc)||_0x21a2bc);return _0x21a2bc;},_0xde6c44=(_0x228d24,_0x10d34a)=>(_0x2e9a95,_0x194830)=>_0x10d34a(_0x2e9a95,_0x194830,_0x228d24);_0x978c78['DesktopCollaborationStatusDisplayController']=class extends _0x1121b6['Disposable']{constructor(_0x19fcae,_0x43bc76,_0x1ac664,_0x5d99d2){const _0xd2e1a1=_0x8e1915;super(),_0xdf3e66(this,_0xd2e1a1(0x1ab),new _0xf2ac11[(_0xd2e1a1(0x229))](_0x250214[_0xd2e1a1(0x1c9)][_0xd2e1a1(0x1d1)])),(this[_0xd2e1a1(0x21f)]=_0x19fcae,this[_0xd2e1a1(0x30f)]=_0x43bc76,this['_collaborationController']=_0x1ac664,this[_0xd2e1a1(0x25f)]=_0x5d99d2,this['_initStatusComponent'](),this[_0xd2e1a1(0x222)]());}[_0x8e1915(0x222)](){const _0x4e00cb=_0x8e1915;this[_0x4e00cb(0x39e)](this[_0x4e00cb(0x21f)][_0x4e00cb(0x143)][_0x4e00cb(0x212)](_0xf2ac11[_0x4e00cb(0x180)](()=>{const _0x27cead=_0x4e00cb,_0x150cc8=this['_univerInstanceService']['getFocusedUnit']();return _0x150cc8?this['_collaborationController']['getCollabEntity$'](_0x150cc8[_0x27cead(0x37b)]()):_0xf2ac11['of'](null);}),_0xf2ac11[_0x4e00cb(0x180)](_0x3f1565=>_0x3f1565?_0x3f1565[_0x4e00cb(0x22a)]:_0xf2ac11['of'](_0x250214['CollaborationStatus'][_0x4e00cb(0x1d1)])))[_0x4e00cb(0x17d)](_0x3b49a7=>{const _0x2f3040=_0x4e00cb;this[_0x2f3040(0x1ab)][_0x2f3040(0x22b)](_0x3b49a7);}));}[_0x8e1915(0x111)](){const _0x52040e=_0x8e1915;this['disposeWithMe'](this['_uiPartsService'][_0x52040e(0x125)](_0x1c0cb7[_0x52040e(0x2b8)]['HEADER_MENU'],()=>_0x1c0cb7['connectInjector'](_0x2d7eba({'status$':this[_0x52040e(0x1ab)][_0x52040e(0x203)]()}),this[_0x52040e(0x30f)])));}},_0x978c78[_0x8e1915(0x35f)]=_0x50dfd8([_0xde6c44(0x0,_0x1121b6[_0x8e1915(0x346)]),_0xde6c44(0x1,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0x2e3)])),_0xde6c44(0x2,_0x1121b6[_0x8e1915(0x1e9)](_0x250214['CollaborationController'])),_0xde6c44(0x3,_0x1c0cb7[_0x8e1915(0x24b)])],_0x978c78[_0x8e1915(0x35f)]);function _0x2d7eba(_0x586af5){const {status$:_0x2ce7a0}=_0x586af5;return function(){const _0x6052ed=_0xe84b;return _0x122d59[_0x6052ed(0x15b)](_0x8da27a,{'status$':_0x2ce7a0});};}const _0x34bcdd=_0x1121b6[_0x8e1915(0x1a4)]('uni.network.url-service');var _0xcc8286=Object[_0x8e1915(0x17e)],_0x1c162b=(_0x64228b,_0x7b78c6,_0x208217,_0x4120d4)=>{const _0x199821=_0x8e1915;for(var _0xd7177e=_0x4120d4>0x1?void 0x0:_0x4120d4?_0xcc8286(_0x7b78c6,_0x208217):_0x7b78c6,_0xe372b4=_0x64228b[_0x199821(0x33e)]-0x1,_0x2caf73;_0xe372b4>=0x0;_0xe372b4--)(_0x2caf73=_0x64228b[_0xe372b4])&&(_0xd7177e=_0x2caf73(_0xd7177e)||_0xd7177e);return _0xd7177e;},_0x5082d4=(_0x3057de,_0x568733)=>(_0x38c9a8,_0xa61d40)=>_0x568733(_0x38c9a8,_0xa61d40,_0x3057de);_0x978c78[_0x8e1915(0x2d0)]=class extends _0x1121b6['RxDisposable']{constructor(_0x2f6ebe,_0x2efc51,_0x472a94,_0x5de81b,_0x11b363){const _0xe1d2f9=_0x8e1915;super(),this[_0xe1d2f9(0x1e4)]=_0x2f6ebe,this[_0xe1d2f9(0x19f)]=_0x2efc51,this[_0xe1d2f9(0x2a1)]=_0x472a94,this['_dataLoaderService']=_0x5de81b,_0x11b363?_0x11b363==null||_0x11b363['whenReady']()['then'](()=>this['_init']()):(this[_0xe1d2f9(0x19f)][_0xe1d2f9(0x152)](_0xe1d2f9(0x355),_0xe1d2f9(0xc7)),this['_init']());}async[_0x8e1915(0x22c)](){const _0x16b170=_0x8e1915,_0xc6b47f=this[_0x16b170(0x1e4)][_0x16b170(0x2f8)](_0x16b170(0x20d)),_0x29cb17=this[_0x16b170(0x1e4)][_0x16b170(0x2f8)](_0x16b170(0x2cf)),_0x4d4ad6=this[_0x16b170(0x1e4)][_0x16b170(0x2f8)]('subunit');if(!_0xc6b47f||!_0x29cb17){this[_0x16b170(0x19f)][_0x16b170(0x152)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x293894=await this[_0x16b170(0x23d)]['loadUnit'](_0xc6b47f,Number(_0x29cb17),_0x4d4ad6);_0x293894&&_0x293894 instanceof _0x1121b6[_0x16b170(0x384)]&&this[_0x16b170(0x1f3)](_0x293894);}async[_0x8e1915(0x1f3)](_0x4b9853){const _0x2063f1=_0x8e1915;await this[_0x2063f1(0x1f6)](_0x4b9853),_0x4b9853[_0x2063f1(0x10e)][_0x2063f1(0x212)](_0xf2ac11['takeUntil'](this[_0x2063f1(0x17c)]))[_0x2063f1(0x17d)](_0xeee115=>{const _0x46650c=_0x2063f1;_0xeee115&&this[_0x46650c(0x16f)](_0xeee115);}),this[_0x2063f1(0x1e4)][_0x2063f1(0x2cc)][_0x2063f1(0x212)](_0xf2ac11['takeUntil'](this[_0x2063f1(0x17c)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x4b9853));}['_updateURLWithCurrentState'](_0x1b0e35,_0x4cb681=!0x1){const _0x257ee5=_0x8e1915,_0x4b885d=this[_0x257ee5(0x1e4)][_0x257ee5(0x2f8)]('subunit');_0x1b0e35[_0x257ee5(0x3a0)]()!==_0x4b885d&&this['_urlService'][_0x257ee5(0x228)](_0x257ee5(0xe4),_0x1b0e35[_0x257ee5(0x3a0)](),_0x4cb681);}async['_updateSubUnitFromURLParams'](_0x153967){const _0x189565=_0x8e1915;var _0xdb5b2a;const _0x454126=this['_urlService'][_0x189565(0x2f8)](_0x189565(0xe4));if(!_0x454126||!_0x153967[_0x189565(0x15d)](_0x454126)){const _0x5cbe37=_0x153967['getUnhiddenWorksheets']()[0x0],_0x5bf6c5=_0x153967[_0x189565(0x15d)](_0x5cbe37);if(!_0x5bf6c5)return;this[_0x189565(0x16f)](_0x5bf6c5,!0x0),await this[_0x189565(0x2a1)][_0x189565(0x36f)](_0x3f9144[_0x189565(0x30a)]['id'],{'unitId':_0x153967['getUnitId'](),'subUnitId':_0x5cbe37});return;}((_0xdb5b2a=_0x153967[_0x189565(0x374)]())==null?void 0x0:_0xdb5b2a[_0x189565(0x3a0)]())!==_0x454126&&await this[_0x189565(0x2a1)]['executeCommand'](_0x3f9144['SetWorksheetActivateCommand']['id'],{'unitId':_0x153967[_0x189565(0x37b)](),'subUnitId':_0x454126});}},_0x978c78[_0x8e1915(0x2d0)]=_0x1c162b([_0x5082d4(0x0,_0x34bcdd),_0x5082d4(0x1,_0x1121b6[_0x8e1915(0x15a)]),_0x5082d4(0x2,_0x1121b6[_0x8e1915(0x312)]),_0x5082d4(0x3,_0x1121b6['Inject'](_0x250214[_0x8e1915(0x371)])),_0x5082d4(0x4,_0x1121b6[_0x8e1915(0x1f2)](_0xd99031[_0x8e1915(0x2d4)]))],_0x978c78['CollaborationDataLoaderController']);var _0x16e77d=Object[_0x8e1915(0x17e)],_0x18e748=(_0xffb8f4,_0x7335b0,_0x5384af,_0x35110b)=>{for(var _0x5d6a33=_0x35110b>0x1?void 0x0:_0x35110b?_0x16e77d(_0x7335b0,_0x5384af):_0x7335b0,_0x3fa463=_0xffb8f4['length']-0x1,_0x35c69a;_0x3fa463>=0x0;_0x3fa463--)(_0x35c69a=_0xffb8f4[_0x3fa463])&&(_0x5d6a33=_0x35c69a(_0x5d6a33)||_0x5d6a33);return _0x5d6a33;},_0x2d9a86=(_0x1f310c,_0x47c3b4)=>(_0x128923,_0x3267f3)=>_0x47c3b4(_0x128923,_0x3267f3,_0x1f310c);let _0x248341=class extends _0x1121b6[_0x8e1915(0x267)]{constructor(_0x39f114,_0xdccc47){const _0x495826=_0x8e1915;super(),this[_0x495826(0x1a2)]=_0x39f114,this[_0x495826(0x235)]=_0xdccc47,this['_init']();}[_0x8e1915(0x22c)](){const _0x42f25a=_0x8e1915,_0x3fcb29=this;this['disposeWithMe'](this[_0x42f25a(0x1a2)][_0x42f25a(0x110)]({'onBeforePasteImage':async _0x50ad2f=>{const _0x5ea33b=_0x42f25a,_0x5c1c0a=await _0x3fcb29[_0x5ea33b(0x235)][_0x5ea33b(0x199)](_0x50ad2f);return _0x5c1c0a?{'source':_0x5c1c0a['source'],'imageSourceType':_0x5c1c0a[_0x5ea33b(0xf5)]}:null;}}));}};_0x248341=_0x18e748([_0x2d9a86(0x0,_0x509b22[_0x8e1915(0x179)]),_0x2d9a86(0x1,_0x19f064['IImageIoService'])],_0x248341);const _0x3f2d60=[_0x8e1915(0x39b),_0x8e1915(0x248),'green.600',_0x8e1915(0xc0),_0x8e1915(0x33b),_0x8e1915(0x357)];class _0x3f7ec8 extends _0x1121b6[_0x8e1915(0x135)]{constructor(){const _0x51ff3e=_0x8e1915;super(...arguments),_0xdf3e66(this,'_assignedColors',new Map()),_0xdf3e66(this,_0x51ff3e(0x10d),0x0);}[_0x8e1915(0x14c)](_0x2f12e1){const _0x48fa32=_0x8e1915;if(this['_assignedColors'][_0x48fa32(0x207)](_0x2f12e1))return this[_0x48fa32(0x383)][_0x48fa32(0xe3)](_0x2f12e1);const _0x906736=_0x3f2d60[this[_0x48fa32(0x10d)]];return this[_0x48fa32(0x10d)]=(this[_0x48fa32(0x10d)]+0x1)%_0x3f2d60[_0x48fa32(0x33e)],this[_0x48fa32(0x383)][_0x48fa32(0x3af)](_0x2f12e1,_0x906736),_0x906736;}}function _0x587d11(_0x4471fb){const _0x42f653=_0x8e1915;let _0x5f44f5='';for(const _0x5615eb of _0x4471fb){const {startOffset:_0x5e7081,endOffset:_0x32c689,isActive:_0x1def21,rangeType:_0xf987da,segmentId:_0x37d3a4,segmentPage:_0x2c324b}=_0x5615eb;_0x5f44f5[_0x42f653(0x33e)]&&(_0x5f44f5+=','),_0x5f44f5+=_0x5e7081+':'+_0x32c689+':'+(_0x1def21?'1':'0')+':'+_0xf987da+':'+_0x37d3a4+':'+_0x2c324b;}return _0x5f44f5;}function _0x353533(_0x210929){const _0x26a5d0=_0x8e1915,_0x1614da=_0x210929[_0x26a5d0(0xe7)](','),_0x2f1ab3=[];for(const _0x235b81 of _0x1614da){const [_0x3fc779,_0x5e2f37,_0x2ed532,_0x19ba64,_0x5a91d8,_0x285039]=_0x235b81[_0x26a5d0(0xe7)](':');_0x2f1ab3[_0x26a5d0(0x1d2)]({'startOffset':Number(_0x3fc779),'endOffset':Number(_0x5e2f37),'collapsed':_0x3fc779===_0x5e2f37,'isActive':_0x2ed532==='1','rangeType':_0x19ba64===_0x1121b6[_0x26a5d0(0xd3)][_0x26a5d0(0xd8)]?_0x1121b6[_0x26a5d0(0xd3)]['TEXT']:_0x1121b6[_0x26a5d0(0xd3)][_0x26a5d0(0x2a5)],'segmentId':typeof _0x5a91d8==_0x26a5d0(0x255)?String(_0x5a91d8):'','segmentPage':Number(_0x285039!=null?_0x285039:-0x1)});}return _0x2f1ab3[_0x26a5d0(0x259)](_0xdc5e44=>_0xdc5e44[_0x26a5d0(0xff)])||(_0x2f1ab3[0x0][_0x26a5d0(0xff)]=!0x0),_0x2f1ab3;}class _0x343dd9 extends _0x1121b6[_0x8e1915(0x267)]{constructor(){const _0x35affe=_0x8e1915;super(...arguments),_0xdf3e66(this,_0x35affe(0xc4),new _0xf2ac11[(_0x35affe(0x229))](null)),_0xdf3e66(this,_0x35affe(0x2c4),this[_0x35affe(0xc4)]['asObservable']());}[_0x8e1915(0x2ac)](_0x549c98){const _0x584531=_0x8e1915,{unitID:_0x12ec61,memberID:_0xbd5ad5,textRanges:_0x586bc9}=_0x549c98,_0x77196d=_0x587d11(_0x586bc9);if(_0x77196d==='')return;const _0x400364={'unitID':_0x12ec61,'memberID':_0xbd5ad5,'selection':_0x77196d};this[_0x584531(0xc4)][_0x584531(0x22b)](_0x400364);}}var _0x5bc9af=Object[_0x8e1915(0x17e)],_0x52b34f=(_0x2b0842,_0x187dab,_0x21c90f,_0x3c44d1)=>{for(var _0x23e46d=_0x3c44d1>0x1?void 0x0:_0x3c44d1?_0x5bc9af(_0x187dab,_0x21c90f):_0x187dab,_0x293ef3=_0x2b0842['length']-0x1,_0x1b5735;_0x293ef3>=0x0;_0x293ef3--)(_0x1b5735=_0x2b0842[_0x293ef3])&&(_0x23e46d=_0x1b5735(_0x23e46d)||_0x23e46d);return _0x23e46d;},_0x11152a=(_0xa039d,_0x30d89f)=>(_0x4267a7,_0x17204d)=>_0x30d89f(_0x4267a7,_0x17204d,_0xa039d);const _0x2ae3b7=0x12c,_0x5ebdf2=0x64;let _0x1a6b98=class extends _0x1121b6['RxDisposable']{constructor(_0x56ba66,_0x258c04,_0x54305e,_0x1cc733,_0x1176a4,_0x386589,_0x3d39bc,_0x563930,_0x276b5f){const _0x52e595=_0x8e1915;super(),_0xdf3e66(this,'_online',!0x1),_0xdf3e66(this,_0x52e595(0x22c),!0x1),_0xdf3e66(this,_0x52e595(0x181),new _0xf2ac11[(_0x52e595(0x229))](new Map())),_0xdf3e66(this,_0x52e595(0x12a),this[_0x52e595(0x181)][_0x52e595(0x203)]()),_0xdf3e66(this,_0x52e595(0x129),new _0xf2ac11['BehaviorSubject']([])),_0xdf3e66(this,_0x52e595(0xc9),this[_0x52e595(0x129)][_0x52e595(0x212)](_0xf2ac11[_0x52e595(0x237)](_0x2ae3b7))),_0xdf3e66(this,_0x52e595(0x2ab),_0x1121b6['debounce'](_0x20bc77=>{const _0x1aacca=_0x52e595,_0x348773={'eventID':_0x271c6b[_0x1aacca(0x3a6)][_0x1aacca(0x162)],'data':{'unitID':this[_0x1aacca(0x16c)],'memberID':this[_0x1aacca(0x172)][_0x1aacca(0x34b)](),'selection':_0x587d11(_0x20bc77)}};this[_0x1aacca(0x172)][_0x1aacca(0x3a1)](_0x348773,this[_0x1aacca(0x16c)]);},_0x5ebdf2)),(this[_0x52e595(0x16c)]=_0x56ba66,this[_0x52e595(0x172)]=_0x258c04,this[_0x52e595(0x30f)]=_0x54305e,this[_0x52e595(0x2dd)]=_0x1cc733,this[_0x52e595(0x1e2)]=_0x1176a4,this[_0x52e595(0xf9)]=_0x386589,this['_transformService']=_0x3d39bc,this[_0x52e595(0x21f)]=_0x563930,this[_0x52e595(0x2a1)]=_0x276b5f);}get[_0x8e1915(0x112)](){const _0x37efce=_0x8e1915;return this[_0x37efce(0x181)][_0x37efce(0xde)]();}get[_0x8e1915(0x25a)](){const _0x5e9cd1=_0x8e1915;return this[_0x5e9cd1(0x129)][_0x5e9cd1(0xde)]();}[_0x8e1915(0x317)](){const _0x4051e1=_0x8e1915;super[_0x4051e1(0x317)](),this[_0x4051e1(0x181)]['next'](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x4051e1(0x22b)]([]),this[_0x4051e1(0x129)][_0x4051e1(0x28c)]();}[_0x8e1915(0xfd)](){const _0x4f5ca3=_0x8e1915;this[_0x4f5ca3(0x22c)]||(this[_0x4f5ca3(0x22c)]=!0x0,this[_0x4f5ca3(0x172)][_0x4f5ca3(0x364)][_0x4f5ca3(0x212)](_0xf2ac11[_0x4f5ca3(0x256)](this[_0x4f5ca3(0x17c)]))[_0x4f5ca3(0x17d)](_0x53ff20=>{const _0x3a9a88=_0x4f5ca3;_0x53ff20===_0x250214['SessionStatus'][_0x3a9a88(0x38e)]?this[_0x3a9a88(0x2bc)]():this[_0x3a9a88(0x1a1)]();}),this[_0x4f5ca3(0x172)][_0x4f5ca3(0x19a)][_0x4f5ca3(0x212)](_0xf2ac11['takeUntil'](this[_0x4f5ca3(0x17c)]))[_0x4f5ca3(0x17d)](_0x2d1202=>{const _0x5bb086=_0x4f5ca3,_0x1514c2=_0x2d1202[_0x5bb086(0x12e)];_0x1514c2===_0x271c6b['CollaborationEvent'][_0x5bb086(0x162)]&&this['_onCursorUpdate'](_0x2d1202),_0x1514c2===_0x271c6b[_0x5bb086(0x3a6)][_0x5bb086(0x1ce)]&&this[_0x5bb086(0x2f6)](_0x2d1202);}),this[_0x4f5ca3(0x39e)](this[_0x4f5ca3(0x2a1)][_0x4f5ca3(0x353)](_0x424de0=>{const _0x1fe4d2=_0x4f5ca3,_0x158061=_0x424de0[_0x1fe4d2(0x216)];_0x158061!=null&&this[_0x1fe4d2(0x2d7)]&&_0x424de0['id']===_0x5ead8d[_0x1fe4d2(0x36c)]['id']&&_0x158061[_0x1fe4d2(0xd9)]===this['unitID']&&_0x158061[_0x1fe4d2(0xfe)]===!0x1&&_0x158061[_0x1fe4d2(0x2df)][_0x1fe4d2(0x33e)]>0x0&&this[_0x1fe4d2(0x2ab)](_0x158061[_0x1fe4d2(0x2df)]);})),this[_0x4f5ca3(0xf9)][_0x4f5ca3(0x2c4)]['pipe'](_0xf2ac11[_0x4f5ca3(0x256)](this[_0x4f5ca3(0x17c)]))[_0x4f5ca3(0x17d)](_0x27d609=>{const _0x10e9de=_0x4f5ca3;if((_0x27d609==null?void 0x0:_0x27d609[_0x10e9de(0x16c)])!==this[_0x10e9de(0x16c)])return;const _0x3946db={'eventID':_0x271c6b['CollaborationEvent'][_0x10e9de(0x162)],'data':_0x27d609};this[_0x10e9de(0x2ce)](_0x3946db);}),this['disposeWithMe'](this[_0x4f5ca3(0x2a1)][_0x4f5ca3(0x353)](_0x25a066=>{const _0xc4915c=_0x4f5ca3;if(_0x25a066[_0xc4915c(0x216)]==null)return;const _0x40addd=_0x25a066['params'];if(_0x25a066['id']!==_0x5ead8d[_0xc4915c(0x1c3)]['id']||_0x40addd[_0xc4915c(0xd9)]!==this[_0xc4915c(0x16c)])return;const _0x268fbe={'id':_0xc4915c(0x29e),'params':_0x40addd},_0xb9ed5=this[_0xc4915c(0x112)];for(const [_0x9a85a4,_0x435602]of _0xb9ed5){const _0x17581d={'id':_0xc4915c(0x29e),'params':{'unitId':this[_0xc4915c(0x16c)],'actions':null,'textRanges':_0x435602[_0xc4915c(0x2df)]}},_0x393d61=this[_0xc4915c(0x246)][_0xc4915c(0x331)](_0x268fbe,_0x17581d,!0x1);if(_0x271c6b[_0xc4915c(0x117)](_0x393d61))throw _0x393d61[_0xc4915c(0xf4)];_0xb9ed5[_0xc4915c(0x3af)](_0x9a85a4,{..._0x435602,'ranges':_0x393d61['m2Prime'][_0xc4915c(0x216)][_0xc4915c(0x2b0)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0xb9ed5);});})));}[_0x8e1915(0x2ce)](_0x27179c){const _0x4a7890=_0x8e1915;var _0x327959,_0x599b60;const {memberID:_0x2a25bf,selection:_0x1a57b0}=_0x27179c[_0x4a7890(0x165)],_0x81165c=_0x353533(_0x1a57b0),_0x199cb8=(_0x599b60=(_0x327959=this[_0x4a7890(0x1e2)][_0x4a7890(0x1b8)](this[_0x4a7890(0x16c)],_0x2a25bf))==null?void 0x0:_0x327959[_0x4a7890(0x1a8)])!=null?_0x599b60:_0x4a7890(0x103),_0x2cfd4a={'color':this[_0x4a7890(0x2dd)]['assignAColorForMemberID'](_0x2a25bf),'name':_0x199cb8,'ranges':_0x81165c},_0x1f9c12=this[_0x4a7890(0x112)];_0x1f9c12['set'](_0x2a25bf,_0x2cfd4a),this[_0x4a7890(0x181)]['next'](_0x1f9c12);}[_0x8e1915(0x2f6)](_0x58ca09){const _0x48b097=_0x8e1915,{memberID:_0x17fab2}=_0x58ca09[_0x48b097(0x165)],_0x4467d4=this[_0x48b097(0x112)];_0x4467d4['delete'](_0x17fab2),this[_0x48b097(0x181)]['next'](_0x4467d4);}['_toggleOnline'](){const _0x1cb224=_0x8e1915;var _0x199b0f;if(this['_online']=!0x0,((_0x199b0f=this[_0x1cb224(0x21f)]['getFocusedUnit']())==null?void 0x0:_0x199b0f['getUnitId']())!==this[_0x1cb224(0x16c)])return;const _0x427b9d=this[_0x1cb224(0x30f)][_0x1cb224(0xe3)](_0x5ead8d['DocSelectionManagerService'])[_0x1cb224(0x22e)]();Array[_0x1cb224(0x23f)](_0x427b9d)&&_0x427b9d[_0x1cb224(0x33e)]>0x0&&this[_0x1cb224(0x2ab)](_0x427b9d);}[_0x8e1915(0x1a1)](){const _0x2e36af=_0x8e1915;this[_0x2e36af(0x2d7)]=!0x1;}};_0x1a6b98=_0x52b34f([_0x11152a(0x2,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0x2e3)])),_0x11152a(0x3,_0x1121b6[_0x8e1915(0x1e9)](_0x3f7ec8)),_0x11152a(0x4,_0x1121b6[_0x8e1915(0x1e9)](_0x250214[_0x8e1915(0x21d)])),_0x11152a(0x5,_0x1121b6['Inject'](_0x343dd9)),_0x11152a(0x6,_0x271c6b['ITransformService']),_0x11152a(0x7,_0x1121b6['IUniverInstanceService']),_0x11152a(0x8,_0x1121b6[_0x8e1915(0x312)])],_0x1a6b98);var _0x266dcb=Object[_0x8e1915(0x17e)],_0x5b4a19=(_0x302208,_0x303d26,_0x40cf78,_0x5547a6)=>{const _0xea35b3=_0x8e1915;for(var _0x2d79d6=_0x5547a6>0x1?void 0x0:_0x5547a6?_0x266dcb(_0x303d26,_0x40cf78):_0x303d26,_0x2e00af=_0x302208[_0xea35b3(0x33e)]-0x1,_0x125e9c;_0x2e00af>=0x0;_0x2e00af--)(_0x125e9c=_0x302208[_0x2e00af])&&(_0x2d79d6=_0x125e9c(_0x2d79d6)||_0x2d79d6);return _0x2d79d6;},_0x96957a=(_0x1fbdeb,_0x1cc00a)=>(_0x1876d7,_0x11abcb)=>_0x1cc00a(_0x1876d7,_0x11abcb,_0x1fbdeb);const _0x2ce67b=0x12c,_0x11f59a=0x64,_0x407acb=()=>{let _0x34a87c=[],_0x2e303b=!0x1;return _0xf460f8=>{_0x34a87c['push'](_0xf460f8),_0x2e303b||(_0x2e303b=!0x0,setTimeout(()=>{const _0x199103=_0xe84b;_0x34a87c[_0x199103(0xea)](_0x1cdb72=>_0x1cdb72()),_0x34a87c=[],_0x2e303b=!0x1;}));};};let _0x2a45b9=class extends _0x1121b6[_0x8e1915(0x267)]{constructor(_0x4d5973,_0x16b3be,_0x57d897,_0x3420fe,_0x2a0722,_0x17769f,_0x59e2eb,_0x808d66){const _0x6aaf87=_0x8e1915;super(),_0xdf3e66(this,_0x6aaf87(0x2d7),!0x1),_0xdf3e66(this,'_init',!0x1),_0xdf3e66(this,_0x6aaf87(0x181),new _0xf2ac11[(_0x6aaf87(0x229))](new Map())),_0xdf3e66(this,'cursorInfo$',this[_0x6aaf87(0x181)][_0x6aaf87(0x203)]()),_0xdf3e66(this,'_roomMembers$',new _0xf2ac11[(_0x6aaf87(0x229))]([])),_0xdf3e66(this,'roomMembers$',this[_0x6aaf87(0x129)][_0x6aaf87(0x212)](_0xf2ac11[_0x6aaf87(0x237)](_0x2ce67b))),_0xdf3e66(this,_0x6aaf87(0x2ab),_0x1121b6[_0x6aaf87(0x35b)]((_0x442bb3,_0x5a48dd)=>{const _0x5becba=_0x6aaf87,_0x585a74={'eventID':_0x271c6b[_0x5becba(0x3a6)][_0x5becba(0x162)],'data':{'unitID':this[_0x5becba(0x16c)],'memberID':this['_session'][_0x5becba(0x34b)](),'selection':_0x564ab7[_0x5becba(0x1f0)](_0x442bb3,_0x5a48dd['range'])}};this['_session'][_0x5becba(0x3a1)](_0x585a74,this[_0x5becba(0x16c)]);},_0x11f59a)),(this[_0x6aaf87(0x16c)]=_0x4d5973,this[_0x6aaf87(0x172)]=_0x16b3be,this[_0x6aaf87(0x30f)]=_0x57d897,this[_0x6aaf87(0x2dd)]=_0x3420fe,this[_0x6aaf87(0x1e2)]=_0x2a0722,this['_univerInstanceService']=_0x17769f,this[_0x6aaf87(0x2a1)]=_0x59e2eb,this[_0x6aaf87(0x221)]=_0x808d66);}get[_0x8e1915(0x112)](){const _0x526fe0=_0x8e1915;return this[_0x526fe0(0x181)][_0x526fe0(0xde)]();}get[_0x8e1915(0x25a)](){const _0x1426d3=_0x8e1915;return this[_0x1426d3(0x129)][_0x1426d3(0xde)]();}['dispose'](){const _0x4a987e=_0x8e1915;super['dispose'](),this[_0x4a987e(0x181)][_0x4a987e(0x22b)](new Map()),this[_0x4a987e(0x181)][_0x4a987e(0x28c)](),this[_0x4a987e(0x129)][_0x4a987e(0x22b)]([]),this[_0x4a987e(0x129)][_0x4a987e(0x28c)]();}[_0x8e1915(0xfd)](){const _0x541b11=_0x8e1915;this[_0x541b11(0x22c)]||(this[_0x541b11(0x22c)]=!0x0,this[_0x541b11(0x172)]['sessionStatus$'][_0x541b11(0x212)](_0xf2ac11['takeUntil'](this[_0x541b11(0x17c)]))[_0x541b11(0x17d)](_0x3ef387=>{const _0x4f1325=_0x541b11;_0x3ef387===_0x250214[_0x4f1325(0x302)][_0x4f1325(0x38e)]?this[_0x4f1325(0x2bc)]():this[_0x4f1325(0x1a1)]();}),this[_0x541b11(0x172)][_0x541b11(0x19a)][_0x541b11(0x212)](_0xf2ac11[_0x541b11(0x256)](this[_0x541b11(0x17c)]))['subscribe'](_0x3baa24=>{const _0x5ea12c=_0x541b11,_0x1f46ca=_0x3baa24[_0x5ea12c(0x12e)];_0x1f46ca===_0x271c6b[_0x5ea12c(0x3a6)][_0x5ea12c(0x162)]&&this[_0x5ea12c(0x2ce)](_0x3baa24),_0x1f46ca===_0x271c6b[_0x5ea12c(0x3a6)][_0x5ea12c(0x1ce)]&&this[_0x5ea12c(0x2f6)](_0x3baa24);}),this[_0x541b11(0x194)](),this[_0x541b11(0x39e)](this[_0x541b11(0x2a1)][_0x541b11(0x353)](_0x11910b=>{const _0x303e4d=_0x541b11;if(this[_0x303e4d(0x2d7)]&&_0x11910b['id']===_0x3f9144[_0x303e4d(0x387)]['id']&&_0x11910b[_0x303e4d(0x216)][_0x303e4d(0xd9)]===this[_0x303e4d(0x16c)]){const _0x13cab9=_0x11910b[_0x303e4d(0x216)];this['_updateLocalCursor'](_0x13cab9['subUnitId'],_0x13cab9['selections'][0x0]);}})));}['_onCursorUpdate'](_0x45950a){const _0x4f4a70=_0x8e1915;var _0x29936,_0x31c843;const {memberID:_0xc8db8c,selection:_0x5c5114}=_0x45950a[_0x4f4a70(0x165)],{sheetName:_0x4a0340,range:_0x12e451}=_0x564ab7['deserializeRangeWithSheet'](_0x5c5114),_0x333e28={'name':(_0x31c843=(_0x29936=this[_0x4f4a70(0x1e2)][_0x4f4a70(0x1b8)](this['unitID'],_0xc8db8c))==null?void 0x0:_0x29936[_0x4f4a70(0x1a8)])!=null?_0x31c843:_0x4f4a70(0x103),'range':this[_0x4f4a70(0x379)](_0x4a0340,_0x12e451),'sheetID':_0x4a0340,'color':this[_0x4f4a70(0x2dd)][_0x4f4a70(0x14c)](_0xc8db8c),'selection':_0x5c5114},_0x28f17b=this[_0x4f4a70(0x112)];_0x28f17b[_0x4f4a70(0x3af)](_0xc8db8c,_0x333e28),this[_0x4f4a70(0x181)][_0x4f4a70(0x22b)](_0x28f17b);}[_0x8e1915(0x2f6)](_0x378258){const _0x19bdac=_0x8e1915,{memberID:_0x2b78e4}=_0x378258['data'],_0xfe1aa5=this[_0x19bdac(0x112)];_0xfe1aa5[_0x19bdac(0x362)](_0x2b78e4),this[_0x19bdac(0x181)][_0x19bdac(0x22b)](_0xfe1aa5);}['_getMergeRange'](_0x4a0052,_0x1d12c0){const _0x2de011=_0x8e1915;var _0xc51af4,_0x269aa6;const _0x57c64e=(_0x269aa6=(_0xc51af4=this['_univerInstanceService'][_0x2de011(0x1b2)](this[_0x2de011(0x16c)]))==null?void 0x0:_0xc51af4[_0x2de011(0x15d)](_0x4a0052))==null?void 0x0:_0x269aa6[_0x2de011(0x192)]();return(_0x57c64e==null?void 0x0:_0x57c64e['find'](_0x2436a3=>_0x1121b6[_0x2de011(0xc1)][_0x2de011(0x1d9)](_0x2436a3,_0x1d12c0)))||_0x1d12c0;}[_0x8e1915(0x194)](){const _0x43f257=_0x8e1915,_0x4073a4=new _0x1121b6[(_0x43f257(0x1c5))](),_0x5aceba=_0x407acb(),_0x55bac1=()=>{const _0x12b094=_0x43f257;_0x4073a4['dispose']();const _0x4e69f1=(_0x5affce,_0x393ff8,_0x4f704b,_0x18923b)=>{const _0x4efc82=_0xe84b;let _0x487967=[];switch(_0x5affce['id']){case _0x3f9144[_0x4efc82(0x352)]['DeleteRangeMoveLeftCommandId']:{_0x487967=_0x3f9144[_0x4efc82(0x153)](_0x5affce,_0x18923b);break;}case _0x3f9144[_0x4efc82(0x352)][_0x4efc82(0x322)]:{_0x487967=_0x3f9144[_0x4efc82(0x354)](_0x5affce,_0x18923b);break;}case _0x3f9144[_0x4efc82(0x352)][_0x4efc82(0x130)]:{_0x487967=_0x3f9144['handleInsertCol'](_0x5affce,_0x18923b);break;}case _0x3f9144[_0x4efc82(0x352)]['InsertRangeMoveDownCommandId']:{_0x487967=_0x3f9144['handleInsertRangeMoveDown'](_0x5affce,_0x18923b);break;}case _0x3f9144['EffectRefRangId'][_0x4efc82(0x1b5)]:{_0x487967=_0x3f9144[_0x4efc82(0x36b)](_0x5affce,_0x18923b);break;}case _0x3f9144[_0x4efc82(0x352)][_0x4efc82(0x1e7)]:{_0x487967=_0x3f9144['handleInsertRow'](_0x5affce,_0x18923b);break;}case _0x3f9144[_0x4efc82(0x352)][_0x4efc82(0x321)]:{_0x487967=_0x3f9144['handleMoveRange'](_0x5affce,_0x18923b);break;}case _0x3f9144['EffectRefRangId'][_0x4efc82(0xed)]:{_0x487967=_0x3f9144[_0x4efc82(0x1e8)](_0x5affce,_0x18923b);break;}case _0x3f9144[_0x4efc82(0x352)][_0x4efc82(0x144)]:{_0x487967=_0x3f9144['handleIRemoveRow'](_0x5affce,_0x18923b);break;}}const _0x48b340=_0x3f9144[_0x4efc82(0x360)](_0x487967,_0x18923b),_0x2dc573=this['cursorInfo'][_0x4efc82(0xe3)](_0x393ff8);if(_0x2dc573&&_0x48b340){const _0x2d46c8={..._0x2dc573,'range':_0x48b340};this[_0x4efc82(0x112)][_0x4efc82(0x3af)](_0x393ff8,_0x2d46c8),_0x5aceba(()=>{const _0x3ab8a2=_0x4efc82,_0x4e78ef=this[_0x3ab8a2(0x221)][_0x3ab8a2(0xfa)](_0x48b340,_0x577b84=>(_0x4e78ef[_0x3ab8a2(0x317)](),_0x4e69f1(_0x577b84,_0x393ff8,_0x4f704b,_0x48b340)));_0x4073a4[_0x3ab8a2(0x14f)](_0x4e78ef);});}return{'redos':[],'undos':[]};};this[_0x12b094(0x112)]['forEach']((_0x296745,_0x2d9f7b)=>{const _0xdecdbd=_0x12b094,{range:_0x450cf6,sheetID:_0x414bef}=_0x296745,_0x569336=this[_0xdecdbd(0x221)]['registerRefRange'](_0x450cf6,_0x16edb0=>(_0x569336['dispose'](),_0x4e69f1(_0x16edb0,_0x2d9f7b,_0x414bef,_0x450cf6)));_0x4073a4['add'](_0x569336);});};this[_0x43f257(0x39e)](_0x1121b6[_0x43f257(0x2ae)](this[_0x43f257(0x181)][_0x43f257(0x17d)](()=>{_0x55bac1();})));}[_0x8e1915(0x2bc)](){const _0x51d708=_0x8e1915;var _0x5ded0e,_0x2e65b;if(this['_online']=!0x0,((_0x5ded0e=this[_0x51d708(0x21f)][_0x51d708(0x36a)]())==null?void 0x0:_0x5ded0e[_0x51d708(0x37b)]())!==this['unitID'])return;const _0x4f25bc=(_0x2e65b=this['_injector'][_0x51d708(0xe3)](_0x3f9144[_0x51d708(0x333)])[_0x51d708(0x299)]())==null?void 0x0:_0x2e65b[0x0],_0x1af08c=this[_0x51d708(0x21f)][_0x51d708(0x1b4)](_0x1121b6[_0x51d708(0x394)][_0x51d708(0x368)])['getActiveSheet']();_0x4f25bc&&_0x1af08c&&this['_updateLocalCursor'](_0x1af08c['getSheetId'](),_0x4f25bc);}[_0x8e1915(0x1a1)](){const _0x267b63=_0x8e1915;this[_0x267b63(0x2d7)]=!0x1;}};_0x2a45b9=_0x5b4a19([_0x96957a(0x2,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0x2e3)])),_0x96957a(0x3,_0x1121b6[_0x8e1915(0x1e9)](_0x3f7ec8)),_0x96957a(0x4,_0x1121b6['Inject'](_0x250214[_0x8e1915(0x21d)])),_0x96957a(0x5,_0x1121b6[_0x8e1915(0x346)]),_0x96957a(0x6,_0x1121b6[_0x8e1915(0x312)]),_0x96957a(0x7,_0x1121b6[_0x8e1915(0x1e9)](_0x3f9144['RefRangeService']))],_0x2a45b9);var _0x5bb8d4=Object[_0x8e1915(0x17e)],_0x1079b3=(_0x570d7c,_0x1e569a,_0x2a574e,_0x1f42ad)=>{for(var _0x3c4625=_0x1f42ad>0x1?void 0x0:_0x1f42ad?_0x5bb8d4(_0x1e569a,_0x2a574e):_0x1e569a,_0x4ae8f4=_0x570d7c['length']-0x1,_0x48e40e;_0x4ae8f4>=0x0;_0x4ae8f4--)(_0x48e40e=_0x570d7c[_0x4ae8f4])&&(_0x3c4625=_0x48e40e(_0x3c4625)||_0x3c4625);return _0x3c4625;},_0x245e35=(_0x375d94,_0x3c7faa)=>(_0x101bad,_0x1de5d6)=>_0x3c7faa(_0x101bad,_0x1de5d6,_0x375d94);let _0x2ddf05=class extends _0x1121b6[_0x8e1915(0x267)]{constructor(_0x5eaa41,_0x11a2c2,_0x3ef199){const _0x7104e1=_0x8e1915;super(),_0xdf3e66(this,'_entities',new Map()),_0xdf3e66(this,_0x7104e1(0x19b),new _0xf2ac11[(_0x7104e1(0x13a))]()),(this['_univerInstanceService']=_0x5eaa41,this[_0x7104e1(0x30f)]=_0x11a2c2,this[_0x7104e1(0x195)]=_0x3ef199,this[_0x7104e1(0x22c)]());}['dispose'](){const _0x17417d=_0x8e1915;super[_0x17417d(0x317)](),this[_0x17417d(0x19b)]['complete'](),this['_entities'][_0x17417d(0xea)](_0x19a321=>_0x19a321[_0x17417d(0x317)]());}[_0x8e1915(0xe8)](_0x227189){const _0x8d7a11=_0x8e1915;return this[_0x8d7a11(0x2ea)][_0x8d7a11(0x207)](_0x227189)?this[_0x8d7a11(0x2ea)][_0x8d7a11(0xe3)](_0x227189)[_0x8d7a11(0x12a)]:this[_0x8d7a11(0x19b)]['pipe'](_0xf2ac11['filter'](_0x5d7bce=>_0x5d7bce[_0x8d7a11(0x16c)]===_0x227189),_0xf2ac11[_0x8d7a11(0x180)](_0x1d2aa7=>_0x1d2aa7['cursorInfo$']));}[_0x8e1915(0x22c)](){const _0x5714ad=_0x8e1915;this[_0x5714ad(0x21f)][_0x5714ad(0x1fb)](_0x1121b6['UniverInstanceType']['UNIVER_SHEET'])[_0x5714ad(0x212)](_0xf2ac11['takeUntil'](this[_0x5714ad(0x17c)]))[_0x5714ad(0x17d)](async _0x1dbb21=>{const _0x1a38ca=_0x5714ad,_0xde4b00=_0x1dbb21[_0x1a38ca(0x37b)](),_0x501adc=await this[_0x1a38ca(0x388)](_0xde4b00);this[_0x1a38ca(0x19b)][_0x1a38ca(0x22b)](_0x501adc),this[_0x1a38ca(0x2ea)][_0x1a38ca(0x3af)](_0xde4b00,_0x501adc);}),this['_univerInstanceService'][_0x5714ad(0x1fb)](_0x1121b6[_0x5714ad(0x394)][_0x5714ad(0x361)])[_0x5714ad(0x212)](_0xf2ac11[_0x5714ad(0x256)](this[_0x5714ad(0x17c)]))[_0x5714ad(0x212)](_0xf2ac11[_0x5714ad(0x13f)](_0x3fc508=>!_0x3fc508[_0x5714ad(0x37b)]()['startsWith']('__')))[_0x5714ad(0x17d)](async _0xd45c2e=>{const _0x2760a2=_0x5714ad,_0x51eefb=_0xd45c2e['getUnitId'](),_0x44e55d=await this[_0x2760a2(0x399)](_0x51eefb);this[_0x2760a2(0x19b)][_0x2760a2(0x22b)](_0x44e55d),this[_0x2760a2(0x2ea)][_0x2760a2(0x3af)](_0x51eefb,_0x44e55d);}),_0xf2ac11['merge'](this[_0x5714ad(0x21f)][_0x5714ad(0x313)](_0x1121b6[_0x5714ad(0x394)][_0x5714ad(0x361)]),this[_0x5714ad(0x21f)][_0x5714ad(0x313)](_0x1121b6[_0x5714ad(0x394)][_0x5714ad(0x368)]))['pipe'](_0xf2ac11['takeUntil'](this[_0x5714ad(0x17c)]))[_0x5714ad(0x17d)](_0x9589e7=>{const _0x3028fe=_0x5714ad,_0x85ea07=_0x9589e7[_0x3028fe(0x37b)](),_0x5afb8c=this[_0x3028fe(0x2ea)]['get'](_0x85ea07);_0x5afb8c&&(_0x5afb8c['dispose'](),this[_0x3028fe(0x2ea)][_0x3028fe(0x362)](_0x85ea07));});}async['_startSheetCollabCursor'](_0x4fbf5b){const _0x45f6da=_0x8e1915,_0xf188e3=await this[_0x45f6da(0x195)][_0x45f6da(0x149)](_0x4fbf5b),_0x3f51d5=this['_injector'][_0x45f6da(0x38f)](_0x2a45b9,_0x4fbf5b,_0xf188e3);return _0x3f51d5[_0x45f6da(0xfd)](),_0x3f51d5;}async['_startDocCollabCursor'](_0x1f3b16){const _0x2ac657=_0x8e1915,_0x4e8be3=await this['_collabSessionService'][_0x2ac657(0x149)](_0x1f3b16),_0x20a4f5=this[_0x2ac657(0x30f)][_0x2ac657(0x38f)](_0x1a6b98,_0x1f3b16,_0x4e8be3);return _0x20a4f5[_0x2ac657(0xfd)](),_0x20a4f5;}};_0x2ddf05=_0x1079b3([_0x245e35(0x0,_0x1121b6[_0x8e1915(0x346)]),_0x245e35(0x1,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0x2e3)])),_0x245e35(0x2,_0x1121b6['Inject'](_0x250214[_0x8e1915(0x188)]))],_0x2ddf05);const _0x568256=0x14,_0xb8504=0xc8,_0x12ab12=0x4,_0x4c220c=0x5;function _0x230f99(_0x2624bf,_0xec414d){const _0x5ef5c5=_0x8e1915;let {radius:_0x120c1c,width:_0x2a7a06,height:_0x54283f}=_0xec414d;_0x120c1c=_0x120c1c!=null?_0x120c1c:0x0,_0x2a7a06=_0x2a7a06!=null?_0x2a7a06:0x1e,_0x54283f=_0x54283f!=null?_0x54283f:0x1e;let _0xf7db90=0x0,_0x2cfe1b=0x0,_0x2ba9af=0x0;_0xf7db90=_0x2cfe1b=_0x2ba9af=Math[_0x5ef5c5(0x2fb)](_0x120c1c,_0x2a7a06/0x2,_0x54283f/0x2),_0x2624bf[_0x5ef5c5(0x230)](),_0x2624bf[_0x5ef5c5(0x106)](_0xf7db90,0x0),_0x2624bf['lineTo'](_0x2a7a06-_0x2cfe1b,0x0),_0x2624bf[_0x5ef5c5(0x330)](_0x2a7a06-_0x2cfe1b,_0x2cfe1b,_0x2cfe1b,Math['PI']*0x3/0x2,0x0,!0x1),_0x2624bf[_0x5ef5c5(0x160)](_0x2a7a06,_0x54283f-_0x2ba9af),_0x2624bf[_0x5ef5c5(0x330)](_0x2a7a06-_0x2ba9af,_0x54283f-_0x2ba9af,_0x2ba9af,0x0,Math['PI']/0x2,!0x1),_0x2624bf[_0x5ef5c5(0x160)](0x0,_0x54283f),_0x2624bf[_0x5ef5c5(0x160)](0x0,_0xf7db90),_0x2624bf['arc'](_0xf7db90,_0xf7db90,_0xf7db90,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2624bf[_0x5ef5c5(0x191)](),_0xec414d[_0x5ef5c5(0x398)]&&(_0x2624bf[_0x5ef5c5(0x10c)](),_0x2624bf['fillStyle']=_0xec414d['fill'],_0xec414d[_0x5ef5c5(0x377)]==='evenodd'?_0x2624bf['fill'](_0x5ef5c5(0xcf)):_0x2624bf[_0x5ef5c5(0x398)](),_0x2624bf['restore']());}class _0x13de89 extends _0x42a824[_0x8e1915(0x32d)]{constructor(_0x2f5e94,_0x2a553b){const _0x116b05=_0x8e1915;super(_0x2f5e94,_0x2a553b),_0xdf3e66(this,'color'),_0xdf3e66(this,_0x116b05(0x380)),(this[_0x116b05(0x118)]=_0x2a553b==null?void 0x0:_0x2a553b[_0x116b05(0x118)],this['text']=_0x2a553b==null?void 0x0:_0x2a553b['text']);}static[_0x8e1915(0x359)](_0x52d2c2,_0x405d4a){const _0x425fb3=_0x8e1915,{text:_0xaaed60,color:_0x32321f}=_0x405d4a;_0x52d2c2[_0x425fb3(0x10c)](),_0x52d2c2[_0x425fb3(0x26f)]=_0x425fb3(0x373);const _0x318dc2=_0x52d2c2[_0x425fb3(0x145)](_0xaaed60)[_0x425fb3(0x12c)],_0x45f3d1=Math[_0x425fb3(0x2fb)](_0x318dc2+0x2*_0x12ab12,_0xb8504);_0x230f99(_0x52d2c2,{'height':_0x568256,'radius':0x4,'width':_0x45f3d1,'fill':_0x32321f}),_0x52d2c2['fillStyle']=_0x425fb3(0x2c5);const _0x15f710=_0x12ab12,_0x55acb6=_0x568256-_0x4c220c,_0x3b240b=_0xb8504-0x2*_0x12ab12;if(_0x318dc2>_0x3b240b){let _0x46d4cb='',_0x433a3e=0x0;for(const _0xe4178b of _0xaaed60){const _0x52313d=_0x52d2c2[_0x425fb3(0x145)](_0xe4178b)[_0x425fb3(0x12c)];if(_0x433a3e+_0x52313d<=_0x3b240b-_0x52d2c2[_0x425fb3(0x145)](_0x425fb3(0x158))[_0x425fb3(0x12c)])_0x46d4cb+=_0xe4178b,_0x433a3e+=_0x52313d;else{_0x46d4cb+='...';break;}}_0x52d2c2[_0x425fb3(0x11a)](_0x46d4cb,_0x15f710,_0x55acb6);}else _0x52d2c2[_0x425fb3(0x11a)](_0xaaed60,_0x15f710,_0x55acb6);_0x52d2c2[_0x425fb3(0x338)]();}[_0x8e1915(0x109)](_0x5ac698){_0x13de89['drawWith'](_0x5ac698,this);}}const _0xe3f24a=_0x8e1915(0x25e),_0x1e3948=_0x8e1915(0x1bc),_0x360a5c=_0x8e1915(0xf2),_0x5de191=0x6,_0x21df3e=1.5,_0x5f1024=0x4,_0x481442=1.5,_0x356823=_0x8e1915(0x1bb);class _0x202fbb{constructor(_0x5b1520,_0x469add,_0x3305eb,_0x2c7604){const _0x4f1dcd=_0x8e1915;_0xdf3e66(this,_0x4f1dcd(0x17b),[]),_0xdf3e66(this,_0x4f1dcd(0x1fc),null),_0xdf3e66(this,'_textBubble',null),_0xdf3e66(this,_0x4f1dcd(0x366),null),_0xdf3e66(this,_0x4f1dcd(0x171),null),_0xdf3e66(this,_0x4f1dcd(0x350),null),(this[_0x4f1dcd(0x1c6)]=_0x5b1520,this[_0x4f1dcd(0x261)]=_0x469add,this[_0x4f1dcd(0x206)]=_0x3305eb,this[_0x4f1dcd(0x19e)]=_0x2c7604,this[_0x4f1dcd(0x2a8)]());}set[_0x8e1915(0x1f9)](_0x4ae333){const _0x46ab9d=_0x8e1915;_0x4ae333?(this[_0x46ab9d(0x366)]&&this['_anchorDot'][_0x46ab9d(0x226)](),this[_0x46ab9d(0x12b)]&&this[_0x46ab9d(0x12b)][_0x46ab9d(0x389)]()):(this['_anchorDot']&&this[_0x46ab9d(0x366)][_0x46ab9d(0x389)](),this[_0x46ab9d(0x12b)]&&this[_0x46ab9d(0x12b)][_0x46ab9d(0x226)]());}['dispose'](){const _0x281435=_0x8e1915;for(const _0x150125 of this[_0x281435(0x17b)])_0x150125[_0x281435(0x317)]();this[_0x281435(0x12b)]&&this[_0x281435(0x12b)]['dispose'](),this[_0x281435(0x366)]&&this['_anchorDot'][_0x281435(0x317)](),this[_0x281435(0x1fc)]&&this[_0x281435(0x1fc)][_0x281435(0x317)](),this[_0x281435(0x350)]&&this[_0x281435(0x350)]();}['_render'](){const _0x50dbbf=_0x8e1915;var _0x2e1403;const {_docSkeleton:_0x516f0c,_document:_0x1b0632}=this,{color:_0x1fd782,name:_0x9b70c5,ranges:_0x99f2fd}=this['_cursor'],_0x455bd0=_0x1b0632[_0x50dbbf(0x2b6)](),{docsLeft:_0x1b3e1d,docsTop:_0x2ae540}=_0x455bd0,_0x2c5ee9=new _0x509b22[(_0x50dbbf(0x107))](_0x455bd0,_0x516f0c);for(const {startOffset:_0x4a7f11,endOffset:_0x28f8ab,rangeType:_0x51c52f,segmentId:_0x171bc8,segmentPage:_0x219f2c,collapsed:_0x17674a,isActive:_0x3e2f01}of _0x99f2fd){const _0x14162f=_0x516f0c[_0x50dbbf(0x3b0)](_0x4a7f11,!0x0,_0x171bc8,_0x219f2c);let _0x331406=_0x516f0c[_0x50dbbf(0x3b0)](_0x28f8ab,!0x0,_0x171bc8,_0x219f2c);if(_0x331406==null&&(_0x331406=_0x516f0c[_0x50dbbf(0x3b0)](_0x28f8ab-0x1,!0x1,_0x171bc8,_0x219f2c)),_0x3e2f01){const {contentBoxPointGroup:_0x5d9c10}=_0x2c5ee9[_0x50dbbf(0x234)](_0x331406,_0x331406);if(_0x5d9c10[_0x50dbbf(0x33e)]===0x0)continue;this[_0x50dbbf(0x14b)](_0x1fd782,_0x5d9c10,_0x1b3e1d,_0x2ae540,_0x9b70c5),this[_0x50dbbf(0x350)]=this['_handleHover']();}if(_0x14162f&&_0x331406){if(_0x51c52f===_0x1121b6[_0x50dbbf(0xd3)]['RECT']){const _0xc7ce59=new _0x509b22[(_0x50dbbf(0x25b))](_0x455bd0,_0x516f0c),{pointGroup:_0x3c1889}=(_0x2e1403=_0xc7ce59[_0x50dbbf(0x234)](_0x14162f,_0x331406))!=null?_0x2e1403:{};if(_0x3c1889==null||_0x3c1889[_0x50dbbf(0x33e)]===0x0)continue;this[_0x50dbbf(0x14d)](_0x1fd782,_0x3c1889,_0x1b3e1d,_0x2ae540);}else{if(!_0x17674a){const {borderBoxPointGroup:_0x40d357}=_0x2c5ee9[_0x50dbbf(0x234)](_0x14162f,_0x331406);if(_0x40d357[_0x50dbbf(0x33e)]===0x0)continue;this[_0x50dbbf(0x1aa)](_0x1fd782,_0x40d357,_0x1b3e1d,_0x2ae540);}}}}}[_0x8e1915(0x14b)](_0x3c8db9,_0x20a618,_0xe0d58f,_0x2de4fd,_0x2e39cb){const _0x568960=_0x8e1915,_0x53ebda=this[_0x568960(0x1ee)](_0x20a618),{left:_0x553092,top:_0x12309a,height:_0x2ae61a}=_0x53ebda,_0x342402=this[_0x568960(0x279)](),_0x1ebcc1=_0x481442/_0x342402,_0x51ad9c=new _0x42a824[(_0x568960(0x151))](_0xe3f24a+_0x1121b6[_0x568960(0x38b)](_0x5de191),{'left':_0x553092+_0xe0d58f-_0x1ebcc1,'top':_0x12309a+_0x2de4fd,'height':_0x2ae61a,'width':_0x21df3e,'fill':_0x3c8db9||_0x42a824[_0x568960(0x300)](_0x1121b6['COLORS']['black'],0x0),'strokeWidth':_0x1ebcc1,'stroke':_0x356823,'evented':!0x0});this['_anchor']=_0x51ad9c,this[_0x568960(0x261)]['addObject'](_0x51ad9c,_0x509b22[_0x568960(0x363)]);const _0x114d0a=new _0x42a824['Rect'](_0xe3f24a+_0x1121b6[_0x568960(0x38b)](_0x5de191),{'left':_0x553092+_0xe0d58f-_0x1ebcc1,'top':_0x12309a+_0x2de4fd-_0x5f1024/0x2,'height':_0x5f1024,'width':_0x5f1024,'fill':_0x3c8db9||_0x42a824[_0x568960(0x300)](_0x1121b6['COLORS'][_0x568960(0xf0)],0x0),'strokeWidth':0x0,'stroke':_0x3c8db9||_0x42a824['getColor'](_0x1121b6[_0x568960(0x120)]['black'],0x0),'evented':!0x1});this[_0x568960(0x366)]=_0x114d0a,this[_0x568960(0x261)][_0x568960(0x1d3)](_0x114d0a,_0x509b22[_0x568960(0x363)]);const _0x5a679a=new _0x13de89(_0xe3f24a+_0x1121b6['generateRandomId'](_0x5de191),{'left':_0x553092+_0xe0d58f-_0x1ebcc1,'top':_0x12309a+_0x2de4fd-_0x568256,'text':_0x2e39cb,'color':_0x3c8db9});this[_0x568960(0x12b)]=_0x5a679a,this[_0x568960(0x261)][_0x568960(0x1d3)](_0x5a679a,_0x509b22[_0x568960(0x363)]),this['_hover']=!0x1;}[_0x8e1915(0x21e)](){const _0x227d60=_0x8e1915,_0x297378=this['_anchor'][_0x227d60(0xe9)][_0x227d60(0x35c)](()=>{const _0xe61c0e=_0x227d60;this[_0xe61c0e(0x1f9)]=!0x0;}),_0xee2707=this[_0x227d60(0x1fc)][_0x227d60(0x1b7)][_0x227d60(0x35c)](()=>{const _0x46cea9=_0x227d60;this[_0x46cea9(0x171)]&&clearTimeout(this[_0x46cea9(0x171)]),this[_0x46cea9(0x171)]=setTimeout(()=>{const _0x383eca=_0x46cea9;this[_0x383eca(0x1f9)]=!0x1;},0x7d0);});return()=>{const _0x1df435=_0x227d60;_0x297378[_0x1df435(0x305)](),_0xee2707[_0x1df435(0x305)]();};}[_0x8e1915(0x1aa)](_0x393e19,_0x4cd698,_0x29e5c6,_0xedb8ad){const _0x5c8b40=_0x8e1915,_0x1689c2=new _0x1121b6['ColorKit'](_0x393e19)['setAlpha'](0.2)[_0x5c8b40(0x1a6)](),_0x4e4a6a=new _0x42a824[(_0x5c8b40(0x35d))](_0x1e3948+_0x1121b6[_0x5c8b40(0x38b)](_0x5de191),{'pointsGroup':_0x4cd698,'fill':_0x1689c2||_0x42a824[_0x5c8b40(0x300)](_0x1121b6[_0x5c8b40(0x120)][_0x5c8b40(0xf0)],0.2),'left':_0x29e5c6,'top':_0xedb8ad,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5c8b40(0x1d2)](_0x4e4a6a),this[_0x5c8b40(0x261)][_0x5c8b40(0x1d3)](_0x4e4a6a,_0x509b22[_0x5c8b40(0x363)]);}['_drawRectRange'](_0x37dcf7,_0x2b9d1d,_0x415fa4,_0x148838){const _0x42ceac=_0x8e1915,_0x464ce4=new _0x1121b6[(_0x42ceac(0x2fe))](_0x37dcf7)[_0x42ceac(0x20f)](0.2)['toRgbString'](),_0x4460fc=new _0x42a824[(_0x42ceac(0x35d))](_0x360a5c+_0x1121b6[_0x42ceac(0x38b)](_0x5de191),{'pointsGroup':_0x2b9d1d,'fill':_0x464ce4||_0x42a824[_0x42ceac(0x300)](_0x1121b6['COLORS'][_0x42ceac(0xf0)],0.2),'left':_0x415fa4,'top':_0x148838,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x42ceac(0x17b)][_0x42ceac(0x1d2)](_0x4460fc),this['_scene']['addObject'](_0x4460fc,_0x509b22['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x539174){const _0x56b23a=_0x539174[0x0],_0x53a591=_0x56b23a[0x0],_0x6515f3=_0x56b23a[0x2],{x:_0x1aab03,y:_0x1feaa1}=_0x53a591,{x:_0x18669b,y:_0x46e667}=_0x6515f3;return{'left':_0x1aab03,'top':_0x1feaa1,'width':_0x18669b-_0x1aab03,'height':_0x46e667-_0x1feaa1};}[_0x8e1915(0x279)](){const _0x19ab26=_0x8e1915,{scaleX:_0xbfb9d0,scaleY:_0xb9ce20}=this['_scene'][_0x19ab26(0x173)]();return Math[_0x19ab26(0x336)](_0xbfb9d0,_0xb9ce20);}}var _0x463a36=Object['getOwnPropertyDescriptor'],_0x49b3bf=(_0x25d987,_0x3023b4,_0x1134bd,_0x27fc3a)=>{const _0x18ebe7=_0x8e1915;for(var _0x2e26d1=_0x27fc3a>0x1?void 0x0:_0x27fc3a?_0x463a36(_0x3023b4,_0x1134bd):_0x3023b4,_0x4bffdc=_0x25d987[_0x18ebe7(0x33e)]-0x1,_0x460bd4;_0x4bffdc>=0x0;_0x4bffdc--)(_0x460bd4=_0x25d987[_0x4bffdc])&&(_0x2e26d1=_0x460bd4(_0x2e26d1)||_0x2e26d1);return _0x2e26d1;},_0x2a049b=(_0x39a21a,_0x503131)=>(_0x22e004,_0x5e58cd)=>_0x503131(_0x22e004,_0x5e58cd,_0x39a21a);let _0x3decd5=class extends _0x1121b6[_0x8e1915(0x267)]{constructor(_0x42fa79,_0x434380,_0x181747,_0x54c2eb,_0x310770){const _0x55fb13=_0x8e1915;super(),_0xdf3e66(this,_0x55fb13(0x37c),[]),_0xdf3e66(this,_0x55fb13(0x223),[]),(this[_0x55fb13(0x124)]=_0x42fa79,this[_0x55fb13(0x396)]=_0x434380,this['_collabCursorController']=_0x181747,this[_0x55fb13(0x2a1)]=_0x54c2eb,this[_0x55fb13(0x2cb)]=_0x310770,this['_init']());}[_0x8e1915(0x22c)](){const _0x3f7254=_0x8e1915,_0xac1b99=this['_context'][_0x3f7254(0xd9)],_0x550e03=this[_0x3f7254(0x396)];this[_0x3f7254(0x39e)](_0xf2ac11[_0x3f7254(0x21a)]([this['_collabCursorController'][_0x3f7254(0xe8)](_0xac1b99),this[_0x3f7254(0x2cb)][_0x3f7254(0x1e0)]])['pipe'](_0x12b9a5[_0x3f7254(0x238)](([_0x98e6d6,_0x37665f])=>({'skeleton':_0x550e03[_0x3f7254(0x293)](),'cursors':[..._0x98e6d6[_0x3f7254(0x311)]()][_0x3f7254(0x27d)](_0x1b82a1=>({..._0x1b82a1,'color':this[_0x3f7254(0x2cb)][_0x3f7254(0x31e)](_0x1b82a1[_0x3f7254(0x118)])}))})))['subscribe'](_0x4e63a3=>{const _0xcab2b2=_0x3f7254;if(this[_0xcab2b2(0x20b)](),_0x4e63a3){const {skeleton:_0xd86435,cursors:_0x282525}=_0x4e63a3;this['_updateCollabCursors'](_0xd86435,_0x282525);}})),this[_0x3f7254(0x214)](),this[_0x3f7254(0xcb)]();}[_0x8e1915(0x290)](_0x4ee9b1,_0x38eef0){const _0x136f74=_0x8e1915,{scene:_0x4608df,mainComponent:_0x40b5b0}=this[_0x136f74(0x124)],_0xb24f3f=_0x38eef0[_0x136f74(0x238)](_0x1e728f=>new _0x202fbb(_0x1e728f,_0x4608df,_0x4ee9b1,_0x40b5b0));this[_0x136f74(0x37c)]=_0xb24f3f,this[_0x136f74(0x223)]=_0x38eef0;}['_refreshCollabCursors'](){const _0x5e4cb7=_0x8e1915;this['_removeCollabCursors']();const {scene:_0x56ba44,mainComponent:_0x1698a7}=this[_0x5e4cb7(0x124)],_0x13b8ee=this[_0x5e4cb7(0x396)][_0x5e4cb7(0x293)](),_0xb3bc48=this['_cursors'][_0x5e4cb7(0x238)](_0x4b6a14=>new _0x202fbb(_0x4b6a14,_0x56ba44,_0x13b8ee,_0x1698a7));this[_0x5e4cb7(0x37c)]=_0xb3bc48;}[_0x8e1915(0x20b)](){const _0x10fee4=_0x8e1915;this[_0x10fee4(0x37c)][_0x10fee4(0xea)](_0x48a44e=>_0x48a44e[_0x10fee4(0x317)]()),this[_0x10fee4(0x37c)]=[];}[_0x8e1915(0xcb)](){const _0x294a90=_0x8e1915,_0x2f1b5a=[_0x509b22[_0x294a90(0xf7)]['id']];this['disposeWithMe'](this[_0x294a90(0x2a1)][_0x294a90(0x353)](_0x4c3312=>{const _0x2708c5=_0x294a90;_0x2f1b5a[_0x2708c5(0x36d)](_0x4c3312['id'])&&_0x4c3312['params'][_0x2708c5(0xd9)]===this[_0x2708c5(0x124)][_0x2708c5(0xd9)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x4831ae=_0x8e1915;this[_0x4831ae(0x39e)](_0x1121b6[_0x4831ae(0x391)](this[_0x4831ae(0x124)]['engine'][_0x4831ae(0x39f)])[_0x4831ae(0x212)](_0x12b9a5[_0x4831ae(0x13f)](_0x9d3c01=>_0x9d3c01['type']===_0x42a824[_0x4831ae(0x2a3)][_0x4831ae(0x15c)]),_0x12b9a5[_0x4831ae(0x177)](0x10))[_0x4831ae(0x17d)](()=>{const _0x3f4cc7=_0x4831ae;this[_0x3f4cc7(0x18d)]();}));}};_0x3decd5=_0x49b3bf([_0x2a049b(0x1,_0x1121b6[_0x8e1915(0x1e9)](_0x5ead8d[_0x8e1915(0x227)])),_0x2a049b(0x2,_0x1121b6[_0x8e1915(0x1e9)](_0x2ddf05)),_0x2a049b(0x3,_0x1121b6[_0x8e1915(0x312)]),_0x2a049b(0x4,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0xda)]))],_0x3decd5);const _0x5483c3=0x1,_0x24c4e4=1.5;class _0x40acb1 extends _0x42a824[_0x8e1915(0x32d)]{constructor(_0x183f77,_0x411581){const _0x4cac51=_0x8e1915;super(_0x183f77,_0x411581),_0xdf3e66(this,_0x4cac51(0x202)),_0xdf3e66(this,_0x4cac51(0x272),!0x1),_0xdf3e66(this,_0x4cac51(0x30e)),_0xdf3e66(this,_0x4cac51(0x35e),''),_0xdf3e66(this,'_labelPosition',_0x4cac51(0x278)),_0xdf3e66(this,_0x4cac51(0x1d8)),(_0x411581&&this['setShapeProps'](_0x411581),this['onPointerEnter$'][_0x4cac51(0x35c)](()=>this[_0x4cac51(0x26b)]({'hovered':!0x0})),this[_0x4cac51(0x1b7)][_0x4cac51(0x35c)](()=>this[_0x4cac51(0x26b)]({'hovered':!0x1})));}['setShapeProps'](_0x2c650b){const _0x39ba27=_0x8e1915;var _0x4aac91,_0x31ebe2,_0x26bf16,_0xca0371,_0x2beb03,_0x4a9751;this[_0x39ba27(0x202)]=(_0x4aac91=_0x2c650b[_0x39ba27(0x118)])!=null?_0x4aac91:this[_0x39ba27(0x202)],this['_hovered']=(_0x31ebe2=_0x2c650b['hovered'])!=null?_0x31ebe2:this['_hovered'],this['_range']=(_0x26bf16=_0x2c650b[_0x39ba27(0x349)])!=null?_0x26bf16:this[_0x39ba27(0x30e)],this['_name']=(_0xca0371=_0x2c650b[_0x39ba27(0x1a8)])!=null?_0xca0371:this[_0x39ba27(0x35e)],this[_0x39ba27(0x288)]=(_0x2beb03=_0x2c650b[_0x39ba27(0x31d)])!=null?_0x2beb03:this[_0x39ba27(0x288)],this['_backgroundColor']=(_0x4a9751=_0x2c650b[_0x39ba27(0x2e5)])!=null?_0x4a9751:this[_0x39ba27(0x1d8)],this[_0x39ba27(0x393)]({'width':_0x2c650b[_0x39ba27(0x12c)],'height':_0x2c650b[_0x39ba27(0xe1)]});}[_0x8e1915(0x339)](_0x4c8dde){const _0x1054e3=_0x8e1915,{row:_0x2fb42c,column:_0x5859bf}=_0x4c8dde;if(_0x2fb42c>=this[_0x1054e3(0x30e)][_0x1054e3(0x1a7)]&&_0x2fb42c<=this[_0x1054e3(0x30e)]['endRow']&&_0x5859bf>=this[_0x1054e3(0x30e)][_0x1054e3(0x3ac)]&&_0x5859bf<=this[_0x1054e3(0x30e)][_0x1054e3(0x245)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x1054e3(0x26b)]({'hovered':!0x1});}['triggerDblclick'](_0x48c585){return!0x1;}['_draw'](_0x35810e){const _0x28951c=_0x8e1915;_0x42a824[_0x28951c(0x151)][_0x28951c(0x359)](_0x35810e,{'width':this['width'],'height':this[_0x28951c(0xe1)],'strokeWidth':_0x24c4e4,'stroke':this[_0x28951c(0x202)],'evented':!0x1,'fill':this[_0x28951c(0x1d8)]}),this[_0x28951c(0x272)]&&(_0x35810e['save'](),_0x35810e[_0x28951c(0x1f4)](0x1,0x0,0x0,0x1,this[_0x28951c(0x12c)],this[_0x28951c(0x288)]===_0x28951c(0x142)?0x0:-_0x568256),_0x13de89[_0x28951c(0x359)](_0x35810e,{'text':this['_name'],'color':this[_0x28951c(0x202)]}),_0x35810e[_0x28951c(0x338)]());}}var _0x1b8dd6=Object[_0x8e1915(0x17e)],_0x3bb5e8=(_0x15ca22,_0x3d2e5c,_0x10ed8b,_0x43a005)=>{const _0x1d5da1=_0x8e1915;for(var _0x43fb26=_0x43a005>0x1?void 0x0:_0x43a005?_0x1b8dd6(_0x3d2e5c,_0x10ed8b):_0x3d2e5c,_0x310db7=_0x15ca22[_0x1d5da1(0x33e)]-0x1,_0x5c2d17;_0x310db7>=0x0;_0x310db7--)(_0x5c2d17=_0x15ca22[_0x310db7])&&(_0x43fb26=_0x5c2d17(_0x43fb26)||_0x43fb26);return _0x43fb26;},_0x18c571=(_0x312a39,_0x331f3f)=>(_0x57e934,_0x125d72)=>_0x331f3f(_0x57e934,_0x125d72,_0x312a39);const _0x4f369d=0x1389;let _0x57fc11=class extends _0x1121b6[_0x8e1915(0x267)]{constructor(_0x295df4,_0xb48330,_0x2bde24,_0x2e540e){const _0x41f8a6=_0x8e1915;super(),_0xdf3e66(this,_0x41f8a6(0x223),new Set()),_0xdf3e66(this,_0x41f8a6(0x3a7),null),(this[_0x41f8a6(0x124)]=_0x295df4,this[_0x41f8a6(0x27c)]=_0xb48330,this[_0x41f8a6(0x1df)]=_0x2bde24,this['_themeService']=_0x2e540e,this['_init']());}[_0x8e1915(0x22c)](){const _0x508723=_0x8e1915;this['_sheetSkeletonManagerService'][_0x508723(0xcc)][_0x508723(0x212)](_0x12b9a5['takeUntil'](this[_0x508723(0x17c)]),_0x12b9a5[_0x508723(0x180)](_0x3ede42=>{const _0x3183e2=_0x508723;if(_0x3ede42){const _0x43ed58=_0x3ede42[_0x3183e2(0x3a4)];return _0xf2ac11[_0x3183e2(0x21a)](this['_collabCursorController'][_0x3183e2(0xe8)](this[_0x3183e2(0x124)][_0x3183e2(0xd9)]),this[_0x3183e2(0x2cb)]['currentTheme$'])[_0x3183e2(0x212)](_0x12b9a5[_0x3183e2(0x238)](([_0xb330e9,_0x2c2397])=>{const _0x5099ec=new Map();return _0xb330e9['forEach']((_0x4b0a4b,_0x173764)=>{const _0x5e5b00=_0xe84b;if(_0x4b0a4b[_0x5e5b00(0x347)]===_0x43ed58){const _0x180016={..._0x4b0a4b};_0x180016[_0x5e5b00(0x118)]=this[_0x5e5b00(0x2cb)][_0x5e5b00(0x31e)](_0x4b0a4b[_0x5e5b00(0x118)]),_0x5099ec[_0x5e5b00(0x3af)](_0x173764,_0x180016);}}),{'skeleton':_0x3ede42,'cursors':_0x5099ec};}));}return _0xf2ac11['of']({'skeleton':null,'cursors':new Map()});}))[_0x508723(0x17d)](({skeleton:_0x38b4c1,cursors:_0x2e3c96})=>{const _0x4a6ee8=_0x508723;this[_0x4a6ee8(0x20b)](),_0x38b4c1&&this['_updateCollabCursors'](_0x38b4c1,_0x2e3c96);}),this[_0x508723(0x27c)][_0x508723(0xcc)][_0x508723(0x17d)](_0x507d0f=>{const _0x49523d=_0x508723;if(_0x507d0f==null)return;const {skeleton:_0x5216de}=_0x507d0f,{scene:_0x2d712c}=this[_0x49523d(0x124)];_0x2d712c[_0x49523d(0x182)][_0x49523d(0x35c)](_0x1121b6['debounce'](_0x5c9d88=>{const _0x41e2bf=_0x49523d;var _0x303077,_0x4efca7;const {offsetX:_0x48e864,offsetY:_0x5c6715}=_0x5c9d88,{x:_0x5eb659,y:_0x2c7dde}=_0x2d712c[_0x41e2bf(0x2f0)](_0x42a824[_0x41e2bf(0xf1)][_0x41e2bf(0x264)]([_0x48e864,_0x5c6715])),{scaleX:_0x5c9433,scaleY:_0x5a8440}=_0x2d712c['getAncestorScale'](),_0x5b9ef4=_0x2d712c[_0x41e2bf(0x2f9)](_0x42a824[_0x41e2bf(0x337)][_0x41e2bf(0x3a8)]),_0x44f822=_0x2d712c[_0x41e2bf(0x211)](_0x42a824['Vector2'][_0x41e2bf(0x264)]([_0x5eb659,_0x2c7dde]),_0x5b9ef4),_0x2fa752=_0x5216de[_0x41e2bf(0x2b3)](_0x48e864,_0x5c6715,_0x5c9433,_0x5a8440,_0x44f822);((_0x303077=this[_0x41e2bf(0x3a7)])==null?void 0x0:_0x303077['column'])===_0x2fa752[_0x41e2bf(0x121)]&&((_0x4efca7=this[_0x41e2bf(0x3a7)])==null?void 0x0:_0x4efca7[_0x41e2bf(0x2e6)])===_0x2fa752['row']||this[_0x41e2bf(0x223)]['forEach'](_0x25e6d8=>{const _0x506eb7=_0x41e2bf;_0x25e6d8[_0x506eb7(0x339)](_0x2fa752);});},0x64));});}[_0x8e1915(0x290)](_0x2da1bf,_0x18dd1f){const _0x51a508=_0x8e1915;var _0x23548f;const _0x244de9=(_0x23548f=this[_0x51a508(0x27c)][_0x51a508(0x1d5)]())==null?void 0x0:_0x23548f[_0x51a508(0x287)];if(!_0x244de9)return;const _0x13b15c=this[_0x51a508(0x193)]();if(!_0x13b15c)return;this[_0x51a508(0x223)][_0x51a508(0xea)](_0x2ae9c2=>{const _0x7a833b=_0x51a508;_0x2ae9c2[_0x7a833b(0x1b0)]();});const {scene:_0xbca1ed}=_0x13b15c,_0x5e4f29=_0x7a596b(Array['from'](_0x18dd1f[_0x51a508(0x311)]()))[_0x51a508(0x238)](_0x395fc0=>{const _0x2cba2f=_0x51a508,{color:_0x57fe99,range:_0x32eef5,name:_0x170211,selection:_0x29171e,sheetID:_0x2183ba}=_0x395fc0,{startColumn:_0x223946,startRow:_0x558288,endColumn:_0x5e55f3,endRow:_0xde5eb7}=_0x32eef5,_0x7c1992=_0x1ac3ed[_0x2cba2f(0x197)](_0x558288,_0x223946,_0xbca1ed,_0x244de9),_0x7cbeab=_0x1ac3ed['getCoordByCell'](_0xde5eb7,_0x5e55f3,_0xbca1ed,_0x244de9),{columnHeaderHeightAndMarginTop:_0xadefa8}=_0x244de9,{startX:_0x1770ec,startY:_0x3ac061}=_0x7c1992,{endX:_0x1ba69c,endY:_0x2ef578}=_0x7cbeab,_0x26e478=_0x1ba69c-_0x1770ec,_0x39df2c=_0x2ef578-_0x3ac061,_0x334e33={'labelPosition':_0x3ac061-_0xadefa8>=_0x568256?'top':_0x2cba2f(0x142),'sheetID':_0x2183ba,'range':_0x32eef5,'color':_0x57fe99,'name':_0x170211,'selection':_0x29171e,'left':_0x1770ec,'top':_0x3ac061,'width':_0x26e478,'height':_0x39df2c,'evented':!0x1,'zIndex':_0x4f369d};return new _0x40acb1(_0x170211,_0x334e33);});_0xbca1ed[_0x51a508(0x2fa)](_0x5e4f29,_0x5483c3),this['_cursors']=new Set(_0x5e4f29);}['_removeCollabCursors'](){const _0x57e5f8=_0x8e1915;var _0x994c0;(_0x994c0=this[_0x57e5f8(0x223)])==null||_0x994c0['forEach'](_0x45e2cd=>_0x45e2cd['dispose']());}['_getSheetObject'](){const _0x27de01=_0x8e1915;return _0x1ac3ed[_0x27de01(0x296)](this[_0x27de01(0x124)][_0x27de01(0x20d)],this[_0x27de01(0x124)]);}};_0x57fc11=_0x3bb5e8([_0x18c571(0x1,_0x1121b6[_0x8e1915(0x1e9)](_0x1ac3ed[_0x8e1915(0xdd)])),_0x18c571(0x2,_0x1121b6[_0x8e1915(0x1e9)](_0x2ddf05)),_0x18c571(0x3,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0xda)]))],_0x57fc11);function _0x7a596b(_0x39d131){const _0x3da880=_0x8e1915,_0x35abbe=new Map();return _0x39d131[_0x3da880(0xea)](_0x3ce3eb=>{const _0x1d2b73=_0x3da880;if(_0x35abbe[_0x1d2b73(0x207)](_0x3ce3eb[_0x1d2b73(0xfc)])){const _0x2753b4=_0x35abbe[_0x1d2b73(0xe3)](_0x3ce3eb[_0x1d2b73(0xfc)]);_0x2753b4['name']+=',\x20'+_0x3ce3eb[_0x1d2b73(0x1a8)];}else _0x35abbe[_0x1d2b73(0x3af)](_0x3ce3eb[_0x1d2b73(0xfc)],_0x3ce3eb);}),Array[_0x3da880(0x2bb)](_0x35abbe[_0x3da880(0x311)]());}var _0x53ce8d=Object[_0x8e1915(0x17e)],_0x3c7086=(_0x138274,_0x2e8c7c,_0x38fdbe,_0x3a817f)=>{const _0x366c6a=_0x8e1915;for(var _0x1c6573=_0x3a817f>0x1?void 0x0:_0x3a817f?_0x53ce8d(_0x2e8c7c,_0x38fdbe):_0x2e8c7c,_0x3efef1=_0x138274[_0x366c6a(0x33e)]-0x1,_0x4482cf;_0x3efef1>=0x0;_0x3efef1--)(_0x4482cf=_0x138274[_0x3efef1])&&(_0x1c6573=_0x4482cf(_0x1c6573)||_0x1c6573);return _0x1c6573;},_0x5a16f1=(_0x4ac502,_0x3cab1b)=>(_0x2fc36b,_0xb5175c)=>_0x3cab1b(_0x2fc36b,_0xb5175c,_0x4ac502);let _0x49a6f3=class extends _0x1121b6[_0x8e1915(0x135)]{constructor(_0x127b73,_0x255632,_0x3a7a1b,_0x4898e6,_0x15f708,_0xa06baf){const _0x286420=_0x8e1915;super(),this['_beforeCloseService']=_0x127b73,this[_0x286420(0x1ac)]=_0x255632,this['_collaborationUIEventService']=_0x3a7a1b,this['_messageService']=_0x4898e6,this[_0x286420(0x286)]=_0x15f708,this[_0x286420(0x1a0)]=_0xa06baf,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x8e1915(0x141)](){const _0x1304a2=_0x8e1915;this['disposeWithMe'](this[_0x1304a2(0x30c)][_0x1304a2(0x11e)](()=>{const _0x591e67=_0x1304a2;if(this[_0x591e67(0x1ac)][_0x591e67(0x119)][_0x591e67(0x31f)])return this[_0x591e67(0x1a0)]['t'](_0x591e67(0xca));}));}[_0x8e1915(0x283)](){const _0x20a203=_0x8e1915;this[_0x20a203(0x39e)](this[_0x20a203(0x306)]['event$']['subscribe'](_0x2cded5=>{const _0x260eb9=_0x20a203;_0x2cded5['id']===_0x250214[_0x260eb9(0x3b3)][_0x260eb9(0xc8)]&&this['_messageService'][_0x260eb9(0x389)]({'type':_0x50d683['MessageType']['Warning'],'content':this[_0x260eb9(0x1a0)]['t'](_0x260eb9(0x275))}),_0x2cded5['id']===_0x250214['CollaborationUIEventId'][_0x260eb9(0x281)]&&this[_0x260eb9(0x17a)]['show']({'type':_0x50d683[_0x260eb9(0x233)]['Warning'],'content':this[_0x260eb9(0x1a0)]['t']('collaboration.closeRoom')}),_0x2cded5['id']===_0x250214[_0x260eb9(0x3b3)][_0x260eb9(0x335)]&&this['_notificationService'][_0x260eb9(0x389)]({'title':this[_0x260eb9(0x1a0)]['t'](_0x260eb9(0x176)),'content':this[_0x260eb9(0x1a0)]['t'](_0x260eb9(0x148)),'type':_0x260eb9(0xf4),'duration':0x0}),_0x2cded5['id']===_0x250214[_0x260eb9(0x3b3)][_0x260eb9(0x122)]&&this[_0x260eb9(0x17a)]['show']({'type':_0x50d683[_0x260eb9(0x233)][_0x260eb9(0x2c2)],'content':this[_0x260eb9(0x1a0)]['t'](_0x260eb9(0x20c))+'('+_0x2cded5[_0x260eb9(0x165)]+')'}),_0x2cded5['id']===_0x250214[_0x260eb9(0x3b3)][_0x260eb9(0x266)]&&this[_0x260eb9(0x17a)][_0x260eb9(0x389)]({'type':_0x50d683['MessageType'][_0x260eb9(0xdb)],'content':this[_0x260eb9(0x1a0)]['t'](_0x2cded5[_0x260eb9(0x165)]||'')}),_0x2cded5['id']===_0x250214['CollaborationUIEventId'][_0x260eb9(0x1d6)]&&this[_0x260eb9(0x17a)][_0x260eb9(0x389)]({'type':_0x50d683[_0x260eb9(0x233)][_0x260eb9(0xdb)],'content':this[_0x260eb9(0x1a0)]['t']('session.will-retry')}),_0x2cded5['id']===_0x250214[_0x260eb9(0x3b3)]['SOCKET_FAILED']&&this[_0x260eb9(0x17a)][_0x260eb9(0x389)]({'type':_0x50d683[_0x260eb9(0x233)][_0x260eb9(0x2c2)],'content':this['_localeService']['t']('session.connection-failed')}),_0x2cded5['id']===_0x250214['CollaborationUIEventId'][_0x260eb9(0x2ca)]&&this[_0x260eb9(0x17a)][_0x260eb9(0x389)]({'type':_0x50d683[_0x260eb9(0x233)][_0x260eb9(0x2c2)],'content':this[_0x260eb9(0x1a0)]['t']('session.collaboration-timeout')});}));}};_0x49a6f3=_0x3c7086([_0x5a16f1(0x0,_0x1c0cb7[_0x8e1915(0xe2)]),_0x5a16f1(0x1,_0x250214[_0x8e1915(0x28e)]),_0x5a16f1(0x2,_0x1121b6['Inject'](_0x250214['CollaborationUIEventService'])),_0x5a16f1(0x3,_0x1c0cb7['IMessageService']),_0x5a16f1(0x4,_0x1c0cb7[_0x8e1915(0x213)]),_0x5a16f1(0x5,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0x1ec)]))],_0x49a6f3);var _0x5c13e8=Object[_0x8e1915(0x17e)],_0x5dfa8c=(_0x54f9a0,_0x20ac04,_0x562fa4,_0x253459)=>{for(var _0x4881ee=_0x253459>0x1?void 0x0:_0x253459?_0x5c13e8(_0x20ac04,_0x562fa4):_0x20ac04,_0xe7213b=_0x54f9a0['length']-0x1,_0x53a127;_0xe7213b>=0x0;_0xe7213b--)(_0x53a127=_0x54f9a0[_0xe7213b])&&(_0x4881ee=_0x53a127(_0x4881ee)||_0x4881ee);return _0x4881ee;},_0x216017=(_0x2fc15a,_0x1bf6c1)=>(_0x1299fa,_0xa3931)=>_0x1bf6c1(_0x1299fa,_0xa3931,_0x2fc15a);let _0x3c92a1=class extends _0x1121b6[_0x8e1915(0x135)]{constructor(_0x2c1cef,_0x57e179,_0x5dc0f4,_0x5bdee0){const _0x1eeb90=_0x8e1915;super(),_0xdf3e66(this,_0x1eeb90(0x147)),(this[_0x1eeb90(0x30f)]=_0x2c1cef,this[_0x1eeb90(0x2d9)]=_0x57e179,this[_0x1eeb90(0x19f)]=_0x5dc0f4,this[_0x1eeb90(0x27a)]=_0x5bdee0,this['_init']());}[_0x8e1915(0x22c)](){const _0x4428f6=_0x8e1915;this[_0x4428f6(0x1c4)](),this[_0x4428f6(0xf6)](),this[_0x4428f6(0x37d)](),this[_0x4428f6(0x13d)]();}['_initUserListener'](){const _0x2a172c=_0x8e1915;this[_0x2a172c(0x39e)](this['_collaborationSessionService'][_0x2a172c(0x33c)][_0x2a172c(0x17d)](_0x28fb72=>{const _0x5a73d6=_0x2a172c;this[_0x5a73d6(0x147)]=_0x28fb72==null?void 0x0:_0x28fb72[_0x5a73d6(0x18e)];}));}['_initWindowErrorListener'](){const _0x52c48f=_0x8e1915,_0x16ecb1=_0x5a20fc=>{const _0x1a8345=_0xe84b;var _0x1f7db8;this[_0x1a8345(0x219)](_0x1a8345(0xf4),'[Window\x20Error]:\x20'+_0x5a20fc[_0x1a8345(0x2e9)]+_0x1a8345(0x2ec)+_0x5a20fc[_0x1a8345(0x240)]+':'+_0x5a20fc[_0x1a8345(0x397)]+':'+_0x5a20fc['colno']+'\x0a'+(((_0x1f7db8=_0x5a20fc[_0x1a8345(0xf4)])==null?void 0x0:_0x1f7db8[_0x1a8345(0x2f5)])||''));};window[_0x52c48f(0x2bf)](_0x52c48f(0xf4),_0x16ecb1),this[_0x52c48f(0x39e)](()=>{const _0x4b620f=_0x52c48f;window['removeEventListener'](_0x4b620f(0xf4),_0x16ecb1);});}[_0x8e1915(0xf6)](){const _0x57112c=_0x8e1915,_0xcf58b=_0x1f22ec=>{const _0x658e7=_0xe84b;this['_uploadLog'](_0x658e7(0xf4),_0x658e7(0x23c)+_0x1f22ec[_0x658e7(0x220)]);};window[_0x57112c(0x2bf)](_0x57112c(0x105),_0xcf58b),this[_0x57112c(0x39e)](()=>{const _0x2c879c=_0x57112c;window[_0x2c879c(0x18b)](_0x2c879c(0x105),_0xcf58b);});}[_0x8e1915(0x37d)](){const _0xfb2af8=_0x8e1915,_0x498fe2=this[_0xfb2af8(0x19f)][_0xfb2af8(0xf4)][_0xfb2af8(0x3aa)](this[_0xfb2af8(0x19f)]);this[_0xfb2af8(0x19f)]['error']=(..._0x2b3611)=>{const _0x2e7d9e=_0xfb2af8,_0x121ba7=_0x2b3611['map'](_0x1929d5=>_0x1929d5 instanceof Error?_0x1929d5[_0x2e7d9e(0x2e9)]+'\x0a'+_0x1929d5[_0x2e7d9e(0x2f5)]:String(_0x1929d5))[_0x2e7d9e(0x1a9)]('\x20');this[_0x2e7d9e(0x219)]('error',_0x2e7d9e(0x217)+_0x121ba7),_0x498fe2(..._0x2b3611);},this[_0xfb2af8(0x39e)](()=>{const _0x1ffa7f=_0xfb2af8;this['_logService'][_0x1ffa7f(0xf4)]=_0x498fe2;});}[_0x8e1915(0x219)](_0x4b28aa,_0x29529a){const _0x41fb37=_0x8e1915;try{const _0x307e5d={'userId':this[_0x41fb37(0x147)],'logLabel':_0x4b28aa,'content':_0x29529a};this[_0x41fb37(0x2d9)][_0x41fb37(0xd5)]('/universer-api/frontend/logs',{'body':_0x307e5d})[_0x41fb37(0x392)](()=>{});}catch{}}};_0x3c92a1=_0x5dfa8c([_0x216017(0x0,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0x2e3)])),_0x216017(0x1,_0x1121b6[_0x8e1915(0x1e9)](_0x24e2e1[_0x8e1915(0x239)])),_0x216017(0x2,_0x1121b6[_0x8e1915(0x15a)]),_0x216017(0x3,_0x1121b6[_0x8e1915(0x1e9)](_0x250214[_0x8e1915(0x188)]))],_0x3c92a1);const _0x4b7b62=_0x8e1915(0x2bd),_0x55c3aa={};var _0x534b85=Object[_0x8e1915(0x17e)],_0x59bea3=(_0x5df3c2,_0x2f6ff8,_0x428250,_0x135cc8)=>{for(var _0x31e4c3=_0x135cc8>0x1?void 0x0:_0x135cc8?_0x534b85(_0x2f6ff8,_0x428250):_0x2f6ff8,_0x4529aa=_0x5df3c2['length']-0x1,_0x29d541;_0x4529aa>=0x0;_0x4529aa--)(_0x29d541=_0x5df3c2[_0x4529aa])&&(_0x31e4c3=_0x29d541(_0x31e4c3)||_0x31e4c3);return _0x31e4c3;},_0x312097=(_0x11fb7c,_0x1f721e)=>(_0x52c6cb,_0x4c701f)=>_0x1f721e(_0x52c6cb,_0x4c701f,_0x11fb7c);let _0x4c9319=class{constructor(_0x3fc393,_0x33ebb6){const _0x35fcbf=_0x8e1915;this[_0x35fcbf(0x246)]=_0x3fc393,this[_0x35fcbf(0x324)]=_0x33ebb6;}[_0x8e1915(0x1c8)](_0x36f001){this['_transformUndoRedoStack'](_0x36f001),this['_transformPreviousActiveRange'](_0x36f001);}['transformRemoteChangeset'](_0x4862b7){const _0x12b100=_0x8e1915,{unitID:_0x2208bd}=_0x4862b7,_0x3b7d44=this[_0x12b100(0x324)][_0x12b100(0x2c1)](_0x2208bd)[_0x12b100(0xe6)](_0x509b22[_0x12b100(0x114)]),{redoCache:_0x4f387c}=_0x3b7d44[_0x12b100(0x251)]();if(_0x4f387c[_0x12b100(0x33e)]===0x0)return _0x4862b7;let _0x5e6c3f=_0x1121b6[_0x12b100(0x12d)][_0x12b100(0x208)](_0x4862b7[_0x12b100(0x218)][0x0]);for(let _0x2d99bb=0x0;_0x2d99bb<_0x4f387c[_0x12b100(0x33e)];_0x2d99bb++){const _0x1f55ee={'id':_0x12b100(0x29e),'params':{..._0x4f387c[_0x2d99bb]}},_0x32e2d0=this[_0x12b100(0x246)]['transformMutation'](_0x5e6c3f,_0x1f55ee,!0x1);if(_0x271c6b['isTransformMutationFailure'](_0x32e2d0))throw _0x32e2d0[_0x12b100(0xf4)];_0x5e6c3f=_0x32e2d0[_0x12b100(0x314)];}return{..._0x1121b6[_0x12b100(0x12d)][_0x12b100(0x208)](_0x4862b7),'mutations':[_0x5e6c3f]};}['_transformUndoRedoStack'](_0x8b7ed3){const _0x106a98=_0x8e1915,{unitID:_0xd6c9a2}=_0x8b7ed3,_0x1b913=this[_0x106a98(0x324)][_0x106a98(0x2c1)](_0xd6c9a2)[_0x106a98(0xe6)](_0x509b22[_0x106a98(0x114)]),{undoCache:_0x124cfa,redoCache:_0x39370a}=_0x1b913['getUndoRedoMutationParamsCache']();if(_0x124cfa[_0x106a98(0x33e)]===0x0||_0x39370a[_0x106a98(0x33e)]===0x0)return;const _0xaabaef=[],_0xf615de=[];let _0x2771cd=_0x1121b6['Tools'][_0x106a98(0x208)](_0x8b7ed3[_0x106a98(0x218)][0x0]),_0x6f735f=_0x1121b6[_0x106a98(0x12d)][_0x106a98(0x208)](_0x8b7ed3[_0x106a98(0x218)][0x0]);for(let _0x525954=_0x124cfa[_0x106a98(0x33e)]-0x1;_0x525954>=0x0;_0x525954--){const _0x57e897={'id':_0x106a98(0x29e),'params':{..._0x124cfa[_0x525954]}},_0x3d1e17={'id':'doc.mutation.rich-text-editing','params':{..._0x39370a[_0x525954]}},_0x69e475=this['_transformService'][_0x106a98(0x331)](_0x2771cd,_0x57e897,!0x1),_0x244df1=this[_0x106a98(0x246)][_0x106a98(0x331)](_0x6f735f,_0x3d1e17,!0x1);if(_0x271c6b[_0x106a98(0x117)](_0x69e475))throw _0x69e475['error'];if(_0x271c6b[_0x106a98(0x117)](_0x244df1))throw _0x244df1[_0x106a98(0xf4)];_0xaabaef[_0x106a98(0x1d7)](_0x69e475['m2Prime']['params']),_0xf615de[_0x106a98(0x1d7)](_0x244df1[_0x106a98(0x1af)][_0x106a98(0x216)]),_0x2771cd=_0x69e475[_0x106a98(0x314)],_0x6f735f=_0x244df1[_0x106a98(0x314)];}_0x1b913['setUndoRedoMutationParamsCache']({'undoCache':_0xaabaef,'redoCache':_0xf615de});}[_0x8e1915(0x236)](_0x170429){const _0x45c0c4=_0x8e1915,{unitID:_0x5eee7a}=_0x170429,_0x369f50=this['_renderManagerService'][_0x45c0c4(0x2c1)](_0x5eee7a)[_0x45c0c4(0xe6)](_0x509b22['DocIMEInputManagerService']),_0x232b2a=_0x369f50[_0x45c0c4(0x1e3)]();if(_0x232b2a==null)return;const _0x125587=[{'id':_0x45c0c4(0x29e),'params':{'unitId':_0x170429[_0x45c0c4(0x16c)],'actions':null,'textRanges':[_0x232b2a]}}],_0x59f362=this[_0x45c0c4(0x246)][_0x45c0c4(0x2e8)](_0x170429,_0x125587);if(!_0x271c6b[_0x45c0c4(0x247)](_0x59f362))throw _0x59f362[_0x45c0c4(0xf4)];const _0x401d11=_0x59f362[_0x45c0c4(0x1af)][0x0][_0x45c0c4(0x216)][_0x45c0c4(0x2b0)];Array['isArray'](_0x401d11)&&_0x401d11['length']&&_0x369f50[_0x45c0c4(0x328)](_0x401d11[0x0]);}};_0x4c9319=_0x59bea3([_0x312097(0x0,_0x271c6b['ITransformService']),_0x312097(0x1,_0x42a824[_0x8e1915(0x2dc)])],_0x4c9319);var _0x4def12=Object[_0x8e1915(0x17e)],_0x24ae61=(_0x3ab5bb,_0x829df8,_0x5d32b5,_0x4c86eb)=>{const _0x1b5ea0=_0x8e1915;for(var _0x3630a5=_0x4c86eb>0x1?void 0x0:_0x4c86eb?_0x4def12(_0x829df8,_0x5d32b5):_0x829df8,_0x94ae98=_0x3ab5bb[_0x1b5ea0(0x33e)]-0x1,_0xab86ca;_0x94ae98>=0x0;_0x94ae98--)(_0xab86ca=_0x3ab5bb[_0x94ae98])&&(_0x3630a5=_0xab86ca(_0x3630a5)||_0x3630a5);return _0x3630a5;},_0xaf6ac1=(_0x42d033,_0x3e3746)=>(_0x5257f0,_0x217bc1)=>_0x3e3746(_0x5257f0,_0x217bc1,_0x42d033);let _0x275ae7=class{constructor(_0x249f8b,_0x45dbba,_0xf67a77){const _0x436385=_0x8e1915;this[_0x436385(0x30f)]=_0x249f8b,this['_transformService']=_0x45dbba,this[_0x436385(0x10b)]=_0xf67a77;}['transformStateCache'](_0x1d8db0){const _0x3a8394=_0x8e1915;this[_0x3a8394(0x37a)](_0x1d8db0);}[_0x8e1915(0x2f1)](_0x2cdff3){const _0x4f67d2=_0x8e1915,{unitID:_0xb4561b}=_0x2cdff3,{collaboration:_0x569535}=this[_0x4f67d2(0x10b)][_0x4f67d2(0x21c)](_0xb4561b);if(_0x569535[_0x4f67d2(0x33e)]===0x0)return _0x2cdff3;let _0x3b12f9=_0x1121b6['Tools'][_0x4f67d2(0x208)](_0x2cdff3[_0x4f67d2(0x218)][0x0]);for(let _0x77479a=0x0;_0x77479a<_0x569535[_0x4f67d2(0x33e)];_0x77479a++){const _0x39a81b={'id':_0x4f67d2(0x29e),'params':{'unitId':_0x569535[_0x77479a][_0x4f67d2(0xd9)],..._0x569535[_0x77479a][_0x4f67d2(0x100)]}},_0x1e9ef4=this[_0x4f67d2(0x246)]['transformMutation'](_0x3b12f9,_0x39a81b,!0x1);if(_0x271c6b[_0x4f67d2(0x117)](_0x1e9ef4))throw _0x1e9ef4[_0x4f67d2(0xf4)];_0x3b12f9=_0x1e9ef4[_0x4f67d2(0x314)];}return{..._0x1121b6[_0x4f67d2(0x12d)][_0x4f67d2(0x208)](_0x2cdff3),'mutations':[_0x3b12f9]};}['_transformHistoryAndStateStack'](_0x49b4eb){const _0x1f3b91=_0x8e1915,{unitID:_0x595417}=_0x49b4eb,{history:_0x581ae0,collaboration:_0x270f2c}=this[_0x1f3b91(0x10b)]['getStateCache'](_0x595417);if(_0x581ae0['length']===0x0&&_0x270f2c[_0x1f3b91(0x33e)]===0x0)return;const _0x1f51d4=[],_0x45457c=[];let _0x1fd998=_0x1121b6['Tools'][_0x1f3b91(0x208)](_0x49b4eb[_0x1f3b91(0x218)][0x0]),_0x145a4f=_0x1121b6['Tools']['deepClone'](_0x49b4eb[_0x1f3b91(0x218)][0x0]);for(let _0x25c232=_0x581ae0[_0x1f3b91(0x33e)]-0x1;_0x25c232>=0x0;_0x25c232--){const _0x1381d3={'id':_0x1f3b91(0x29e),'params':{'unitId':_0x581ae0[_0x25c232][_0x1f3b91(0xd9)],..._0x581ae0[_0x25c232]['undoState']}},_0xe8faea={'id':_0x1f3b91(0x29e),'params':{'unitId':_0x581ae0[_0x25c232][_0x1f3b91(0xd9)],..._0x581ae0[_0x25c232][_0x1f3b91(0x100)]}},_0xe3561e=this['_transformService'][_0x1f3b91(0x331)](_0x1fd998,_0x1381d3,!0x1),_0x215eea=this[_0x1f3b91(0x246)][_0x1f3b91(0x331)](_0x145a4f,_0xe8faea,!0x1);if(_0x271c6b['isTransformMutationFailure'](_0xe3561e))throw _0xe3561e['error'];if(_0x271c6b[_0x1f3b91(0x117)](_0x215eea))throw _0x215eea[_0x1f3b91(0xf4)];_0x1f51d4[_0x1f3b91(0x1d7)]({..._0x581ae0[_0x25c232],'undoState':_0xe3561e[_0x1f3b91(0x1af)]['params'],'redoState':_0x215eea[_0x1f3b91(0x1af)]['params']}),_0x1fd998=_0xe3561e[_0x1f3b91(0x314)],_0x145a4f=_0x215eea[_0x1f3b91(0x314)];}_0x1fd998=_0x1121b6[_0x1f3b91(0x12d)]['deepClone'](_0x49b4eb[_0x1f3b91(0x218)][0x0]),_0x145a4f=_0x1121b6[_0x1f3b91(0x12d)][_0x1f3b91(0x208)](_0x49b4eb[_0x1f3b91(0x218)][0x0]);for(let _0x431a24=_0x270f2c['length']-0x1;_0x431a24>=0x0;_0x431a24--){const _0x45866b={'id':_0x1f3b91(0x29e),'params':{'unitId':_0x270f2c[_0x431a24][_0x1f3b91(0xd9)],..._0x270f2c[_0x431a24][_0x1f3b91(0x2ed)]}},_0x5efde0={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x270f2c[_0x431a24][_0x1f3b91(0xd9)],..._0x270f2c[_0x431a24][_0x1f3b91(0x100)]}},_0x282c49=this[_0x1f3b91(0x246)][_0x1f3b91(0x331)](_0x1fd998,_0x45866b,!0x1),_0x2d21f7=this[_0x1f3b91(0x246)][_0x1f3b91(0x331)](_0x145a4f,_0x5efde0,!0x1);if(_0x271c6b['isTransformMutationFailure'](_0x282c49))throw _0x282c49[_0x1f3b91(0xf4)];if(_0x271c6b[_0x1f3b91(0x117)](_0x2d21f7))throw _0x2d21f7[_0x1f3b91(0xf4)];_0x45457c[_0x1f3b91(0x1d7)]({..._0x270f2c[_0x431a24],'undoState':_0x282c49['m2Prime'][_0x1f3b91(0x216)],'redoState':_0x2d21f7[_0x1f3b91(0x1af)][_0x1f3b91(0x216)]}),_0x1fd998=_0x282c49[_0x1f3b91(0x314)],_0x145a4f=_0x2d21f7[_0x1f3b91(0x314)];}this['_docStateChangeManagerService']['setStateCache'](_0x595417,{'history':_0x1f51d4,'collaboration':_0x45457c});}};_0x275ae7=_0x24ae61([_0xaf6ac1(0x0,_0x1121b6['Inject'](_0x1121b6[_0x8e1915(0x2e3)])),_0xaf6ac1(0x1,_0x271c6b[_0x8e1915(0x190)]),_0xaf6ac1(0x2,_0x1121b6[_0x8e1915(0x1e9)](_0x509b22['DocStateChangeManagerService']))],_0x275ae7);var _0x5488b4=Object[_0x8e1915(0x17e)],_0x499b91=(_0x187609,_0x1a2984,_0x3a65e1,_0x4edbc8)=>{const _0x2fb763=_0x8e1915;for(var _0x4b53b0=_0x4edbc8>0x1?void 0x0:_0x4edbc8?_0x5488b4(_0x1a2984,_0x3a65e1):_0x1a2984,_0x2ecfb3=_0x187609[_0x2fb763(0x33e)]-0x1,_0x46aea4;_0x2ecfb3>=0x0;_0x2ecfb3--)(_0x46aea4=_0x187609[_0x2ecfb3])&&(_0x4b53b0=_0x46aea4(_0x4b53b0)||_0x4b53b0);return _0x4b53b0;},_0x11ff10=(_0x5955b8,_0x20dfce)=>(_0x50d690,_0x706c6e)=>_0x20dfce(_0x50d690,_0x706c6e,_0x5955b8);let _0x2e67b4=class{constructor(_0x3ab72a,_0x49f5e2){const _0x1c03a1=_0x8e1915;this[_0x1c03a1(0x30f)]=_0x3ab72a,this[_0x1c03a1(0x246)]=_0x49f5e2;}[_0x8e1915(0x1f1)](_0x15f289){const _0x2baffa=_0x8e1915;var _0x37d5b4;const _0x29a217=this['_injector'][_0x2baffa(0xe3)](_0x5ead8d[_0x2baffa(0x21b)]),_0x156a8b=(_0x37d5b4=_0x29a217['getDocRanges']())!=null?_0x37d5b4:[];if(_0x156a8b[_0x2baffa(0x33e)]===0x0)return;const _0x493eb8=_0x15f289['unitID'],_0x5a1160=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x493eb8,'actions':null,'textRanges':_0x156a8b}}],_0x249b89=this[_0x2baffa(0x246)]['transformMutationsWithChangeset'](_0x15f289,_0x5a1160);if(!_0x271c6b[_0x2baffa(0x247)](_0x249b89))throw _0x249b89[_0x2baffa(0xf4)];const _0xb57d2=_0x249b89['m2Prime'][0x0][_0x2baffa(0x216)]['textRanges'];Array[_0x2baffa(0x23f)](_0xb57d2)&&_0xb57d2[_0x2baffa(0x33e)]&&_0x29a217[_0x2baffa(0x161)](_0xb57d2,{'unitId':_0x493eb8,'subUnitId':_0x493eb8},!0x1);}};_0x2e67b4=_0x499b91([_0x11ff10(0x0,_0x1121b6['Inject'](_0x1121b6[_0x8e1915(0x2e3)])),_0x11ff10(0x1,_0x271c6b[_0x8e1915(0x190)])],_0x2e67b4);var _0x39ab78=Object[_0x8e1915(0x17e)],_0x450970=(_0x48ddd1,_0x36c76d,_0xbef4e5,_0x141f43)=>{for(var _0xd3fc84=_0x141f43>0x1?void 0x0:_0x141f43?_0x39ab78(_0x36c76d,_0xbef4e5):_0x36c76d,_0x1e5733=_0x48ddd1['length']-0x1,_0x2a9396;_0x1e5733>=0x0;_0x1e5733--)(_0x2a9396=_0x48ddd1[_0x1e5733])&&(_0xd3fc84=_0x2a9396(_0xd3fc84)||_0xd3fc84);return _0xd3fc84;},_0x59c628=(_0x25a01b,_0x27dc68)=>(_0x300ed2,_0x3234e5)=>_0x27dc68(_0x300ed2,_0x3234e5,_0x25a01b);let _0x5f1a44=class extends _0x1121b6['Disposable']{constructor(_0x2ff23e,_0x430f6d,_0x362064,_0x4817b3,_0x46e5b0,_0x1b9323,_0x171bf3,_0x5dd43e){const _0x5639aa=_0x8e1915;super(),_0xdf3e66(this,_0x5639aa(0x1ab),new _0xf2ac11[(_0x5639aa(0x229))](_0x250214[_0x5639aa(0x1c9)]['NOT_COLLAB'])),(this[_0x5639aa(0x10b)]=_0x2ff23e,this[_0x5639aa(0x323)]=_0x430f6d,this['_docTransformIMECacheService']=_0x362064,this['_docTransformStateCacheService']=_0x4817b3,this['_docTransformSelectionsService']=_0x46e5b0,this['_docSyncEditingCollabCursorService']=_0x1b9323,this['_messageService']=_0x171bf3,this[_0x5639aa(0x1a0)]=_0x5dd43e,this[_0x5639aa(0x1f8)]());}[_0x8e1915(0x1f8)](){const _0x44838d=_0x8e1915;this[_0x44838d(0x39e)](this[_0x44838d(0x323)][_0x44838d(0x327)]['subscribe'](_0x68afef=>{const _0x4c8f56=_0x44838d,_0x14e365=this[_0x4c8f56(0x10b)]['docStateChange$']['subscribe'](_0x28a486=>{const _0x175bf7=_0x4c8f56;if(_0x28a486==null)return;const {unitId:_0x115d75,redoState:_0x2576cf,commandId:_0x571f2a}=_0x28a486;if(_0x115d75!==_0x68afef[_0x175bf7(0x16c)])return;const _0x1dad4a={'id':_0x571f2a,'type':_0x1121b6[_0x175bf7(0x2a6)][_0x175bf7(0x2ff)],'params':{'unitId':_0x115d75,'actions':_0x2576cf[_0x175bf7(0x2b7)],'textRanges':null}};_0x68afef[_0x175bf7(0x280)](_0x1dad4a);});if(_0x68afef[_0x4c8f56(0x39e)](_0x14e365),_0x68afef instanceof _0x250214[_0x4c8f56(0x3b1)]){const _0x52acc1={'onTransformIME':_0x4a7ef0=>this[_0x4c8f56(0x224)][_0x4c8f56(0x1c8)](_0x4a7ef0),'onTransformState':_0x5b2d0c=>this[_0x4c8f56(0x343)][_0x4c8f56(0x38d)](_0x5b2d0c),'onTransformSelections':_0x4698e3=>this[_0x4c8f56(0x2b4)]['transformSelections'](_0x4698e3),'onSyncEditingCollabCursor':_0x33a0fa=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x33a0fa),'onTransformRemoteChangesetByIMECache':_0x2cbc58=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x2cbc58),'onTransformRemoteChangesetByStateCache':_0x3f6c52=>this[_0x4c8f56(0x343)]['transformRemoteChangeset'](_0x3f6c52)};_0x68afef[_0x4c8f56(0x1fa)](_0x52acc1);}}));}};_0x5f1a44=_0x450970([_0x59c628(0x0,_0x1121b6[_0x8e1915(0x1e9)](_0x509b22[_0x8e1915(0xd4)])),_0x59c628(0x1,_0x1121b6[_0x8e1915(0x1e9)](_0x250214[_0x8e1915(0x258)])),_0x59c628(0x2,_0x1121b6[_0x8e1915(0x1e9)](_0x4c9319)),_0x59c628(0x3,_0x1121b6[_0x8e1915(0x1e9)](_0x275ae7)),_0x59c628(0x4,_0x1121b6[_0x8e1915(0x1e9)](_0x2e67b4)),_0x59c628(0x5,_0x1121b6[_0x8e1915(0x1e9)](_0x343dd9)),_0x59c628(0x6,_0x1c0cb7[_0x8e1915(0x3ab)]),_0x59c628(0x7,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0x1ec)]))],_0x5f1a44);var _0x16ca9b=(_0x55944f=>(_0x55944f[_0x55944f[_0x8e1915(0x134)]=0x0]='UNDEFINED',_0x55944f[_0x55944f['OK']=0x1]='OK',_0x55944f[_0x55944f['INTERNAL_ERROR']=0x2]=_0x8e1915(0x3ae),_0x55944f[_0x55944f['PERMISSION_DENIED']=0x3]=_0x8e1915(0x335),_0x55944f[_0x55944f['NOT_FOUND']=0x4]=_0x8e1915(0xc6),_0x55944f[_0x55944f['UNAUTHENTICATED']=0x5]=_0x8e1915(0x1e6),_0x55944f[_0x55944f['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x55944f[_0x55944f[_0x8e1915(0x33d)]=0x7]=_0x8e1915(0x33d),_0x55944f[_0x55944f[_0x8e1915(0x2b9)]=0x8]=_0x8e1915(0x2b9),_0x55944f[_0x55944f[_0x8e1915(0x23b)]=0x9]=_0x8e1915(0x23b),_0x55944f[_0x55944f[_0x8e1915(0x326)]=0xa]=_0x8e1915(0x326),_0x55944f[_0x55944f['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x8e1915(0x2f3),_0x55944f[_0x55944f['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x8e1915(0x297),_0x55944f[_0x55944f[_0x8e1915(0x3b2)]=0xd]=_0x8e1915(0x3b2),_0x55944f[_0x55944f['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x55944f[_0x55944f[_0x8e1915(0x2fc)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x55944f[_0x55944f['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x55944f[_0x55944f[_0x8e1915(0xee)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x55944f[_0x55944f[_0x8e1915(0x16b)]=0x65]=_0x8e1915(0x16b),_0x55944f[_0x55944f['USER_NOT_FOUND']=0xc9]=_0x8e1915(0x2ad),_0x55944f[_0x55944f[_0x8e1915(0x12f)]=0xca]=_0x8e1915(0x12f),_0x55944f[_0x55944f['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x8e1915(0xc2),_0x55944f[_0x55944f[_0x8e1915(0x204)]=0x1771]=_0x8e1915(0x204),_0x55944f[_0x55944f[_0x8e1915(0x139)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x55944f[_0x55944f[_0x8e1915(0x254)]=0x1773]=_0x8e1915(0x254),_0x55944f[_0x55944f[_0x8e1915(0x36e)]=0x1b59]=_0x8e1915(0x36e),_0x55944f[_0x55944f['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x55944f[_0x55944f[_0x8e1915(0x2f2)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x55944f[_0x55944f[_0x8e1915(0x2c6)]=0x1b5c]=_0x8e1915(0x2c6),_0x55944f[_0x55944f[_0x8e1915(0x260)]=0x1b5d]=_0x8e1915(0x260),_0x55944f[_0x55944f[_0x8e1915(0x11f)]=0x1f41]=_0x8e1915(0x11f),_0x55944f[_0x55944f[_0x8e1915(0x108)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x55944f[_0x55944f['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x8e1915(0x26d),_0x55944f[_0x55944f[_0x8e1915(0x2a0)]=0x232b]=_0x8e1915(0x2a0),_0x55944f[_0x55944f[_0x8e1915(0x34e)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x55944f[_0x55944f['LICENSE_DISTRO_REJECTED']=0x232d]=_0x8e1915(0x282),_0x55944f[_0x55944f[_0x8e1915(0x367)]=0x2711]=_0x8e1915(0x367),_0x55944f[_0x55944f[_0x8e1915(0x32a)]=0x2712]=_0x8e1915(0x32a),_0x55944f[_0x55944f['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x8e1915(0x22d),_0x55944f[_0x55944f[_0x8e1915(0x1ad)]=0x2714]=_0x8e1915(0x1ad),_0x55944f[_0x55944f['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x55944f[_0x55944f['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x8e1915(0x356),_0x55944f[_0x55944f[_0x8e1915(0x292)]=0x271c]=_0x8e1915(0x292),_0x55944f[_0x55944f[_0x8e1915(0x19d)]=0x271d]=_0x8e1915(0x19d),_0x55944f[_0x55944f[_0x8e1915(0x15f)]=0x271e]=_0x8e1915(0x15f),_0x55944f[_0x55944f[_0x8e1915(0x2d1)]=0x271f]=_0x8e1915(0x2d1),_0x55944f[_0x55944f[_0x8e1915(0x26a)]=0x2720]=_0x8e1915(0x26a),_0x55944f[_0x55944f[_0x8e1915(0x2a4)]=0x2af9]=_0x8e1915(0x2a4),_0x55944f[_0x55944f[_0x8e1915(0x332)]=0x2ee1]=_0x8e1915(0x332),_0x55944f[_0x55944f[_0x8e1915(0x263)]=0x2ee2]=_0x8e1915(0x263),_0x55944f[_0x55944f[_0x8e1915(0x307)]=0x2ee3]=_0x8e1915(0x307),_0x55944f[_0x55944f[_0x8e1915(0x1b3)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x55944f[_0x55944f[_0x8e1915(0x13e)]=0x2ee5]=_0x8e1915(0x13e),_0x55944f[_0x55944f[_0x8e1915(0x164)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x55944f[_0x55944f['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x8e1915(0x329),_0x55944f[_0x55944f[_0x8e1915(0x18a)]=0x32cb]=_0x8e1915(0x18a),_0x55944f[_0x55944f[_0x8e1915(0x169)]=0x36b1]=_0x8e1915(0x169),_0x55944f[_0x55944f[_0x8e1915(0x1f5)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x55944f[_0x55944f['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x55944f[_0x55944f[_0x8e1915(0x168)]=0x36b4]=_0x8e1915(0x168),_0x55944f[_0x55944f[_0x8e1915(0x1ff)]=0x3715]=_0x8e1915(0x1ff),_0x55944f[_0x55944f[_0x8e1915(0xdc)]=0x3716]=_0x8e1915(0xdc),_0x55944f[_0x55944f[_0x8e1915(0x39c)]=0x3717]=_0x8e1915(0x39c),_0x55944f[_0x55944f[_0x8e1915(0x215)]=0x37dd]=_0x8e1915(0x215),_0x55944f[_0x55944f[_0x8e1915(0x13c)]=0x3a99]=_0x8e1915(0x13c),_0x55944f[_0x55944f[_0x8e1915(0x201)]=0x3a9a]=_0x8e1915(0x201),_0x55944f[_0x55944f[_0x8e1915(0x319)]=0x3a9b]=_0x8e1915(0x319),_0x55944f[_0x55944f[_0x8e1915(0x38c)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x55944f[_0x55944f[_0x8e1915(0x10a)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x55944f[_0x55944f[_0x8e1915(0x265)]=0x3a9e]=_0x8e1915(0x265),_0x55944f[_0x55944f['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x8e1915(0x11d),_0x55944f[_0x55944f[_0x8e1915(0x1d4)]=0x3e81]=_0x8e1915(0x1d4),_0x55944f[_0x55944f[_0x8e1915(0x20a)]=-0x1]=_0x8e1915(0x20a),_0x55944f))(_0x16ca9b||{});function _0x16dbbc(_0x277fa0){const _0x3b336a=_0x8e1915;var _0x3364db,_0x3b2320;const _0x5305aa=(_0x3364db=_0x277fa0['stageInfo'])==null?void 0x0:_0x3364db[_0x3b336a(0x241)],_0xb8682=((_0x3b2320=_0x277fa0['stageInfo'])==null?void 0x0:_0x3b2320[_0x3b336a(0x395)])||0x0;return _0x5305aa===_0x564ab7['FormulaExecuteStageType'][_0x3b336a(0x187)]&&_0xb8682>0x0;}function _0x4e0afc(_0x5b6f2d){const _0x17f440=_0x8e1915;return _0x5b6f2d[_0x17f440(0x3b4)]===_0x564ab7['FormulaExecutedStateType']['SUCCESS'];}var _0x42d938=Object[_0x8e1915(0x17e)],_0xfbf118=(_0x5bb4b0,_0x1f0a7a,_0x4aba36,_0x2f56e9)=>{const _0x2df427=_0x8e1915;for(var _0x4ff155=_0x2f56e9>0x1?void 0x0:_0x2f56e9?_0x42d938(_0x1f0a7a,_0x4aba36):_0x1f0a7a,_0x387dce=_0x5bb4b0[_0x2df427(0x33e)]-0x1,_0x6db732;_0x387dce>=0x0;_0x387dce--)(_0x6db732=_0x5bb4b0[_0x387dce])&&(_0x4ff155=_0x6db732(_0x4ff155)||_0x4ff155);return _0x4ff155;},_0x543504=(_0x256669,_0xdb44ba)=>(_0x12f829,_0x3e7355)=>_0xdb44ba(_0x12f829,_0x3e7355,_0x256669);const _0x2db60b='/universer-api/license/formula/limit/status',_0x3e88a0=_0x8e1915(0x29f),_0x1dd434=_0x8e1915(0x269);let _0x104612=class extends _0x1121b6[_0x8e1915(0x135)]{constructor(_0x13d726,_0x5b29d3,_0x38cc44,_0x1d8485,_0x90a820,_0x405ea5,_0x8384f){const _0x238873=_0x8e1915;super(),_0xdf3e66(this,'_pollingInterval',null),_0xdf3e66(this,_0x238873(0x18c),0x0),_0xdf3e66(this,_0x238873(0x252),0x0),_0xdf3e66(this,_0x238873(0x1cd),[]),_0xdf3e66(this,_0x238873(0x137),0x0),(this['_messageService']=_0x13d726,this['_commandService']=_0x5b29d3,this[_0x238873(0x159)]=_0x38cc44,this[_0x238873(0x2d9)]=_0x1d8485,this[_0x238873(0x21f)]=_0x90a820,this[_0x238873(0x19f)]=_0x405ea5,this[_0x238873(0x1a0)]=_0x8384f,this[_0x238873(0x34f)]());}[_0x8e1915(0x34f)](){const _0xade7ac=_0x8e1915;this['disposeWithMe'](this['_commandService'][_0xade7ac(0xce)]((_0x275930,_0x54b871)=>{const _0x1650a9=_0xade7ac;var _0x61e1bd;if(_0x275930['id']!==_0x564ab7[_0x1650a9(0x2e0)]['id'])return;const _0xd57273=_0x275930[_0x1650a9(0x216)];if(!this[_0x1650a9(0x189)]((_0x61e1bd=_0xd57273[_0x1650a9(0x170)])!=null?_0x61e1bd:[]))return;if(!this[_0x1650a9(0x301)]())throw this[_0x1650a9(0x178)](_0x275930,_0x54b871),this[_0x1650a9(0x2c8)](),new _0x1121b6[(_0x1650a9(0x1ca))]();})),this['disposeWithMe'](this[_0xade7ac(0x2a1)][_0xade7ac(0x353)]((_0x46935d,_0x234892)=>{const _0x37afaf=_0xade7ac;if(_0x46935d['id']!==_0x564ab7[_0x37afaf(0x34d)]['id'])return;const _0x5b1981=_0x46935d[_0x37afaf(0x216)];if(_0x16dbbc(_0x5b1981)){const _0x338459=_0x1121b6[_0x37afaf(0x38b)]();this[_0x37afaf(0x1cd)]['push'](_0x338459),this[_0x37afaf(0x200)](_0x338459);}else{if(_0x4e0afc(_0x5b1981)&&this[_0x37afaf(0x1cd)][_0x37afaf(0x33e)]>0x0){const _0x11e861=this[_0x37afaf(0x1cd)][_0x37afaf(0x186)]();this[_0x37afaf(0x274)](_0x11e861);}}}));}[_0x8e1915(0x317)](){const _0x598916=_0x8e1915;super[_0x598916(0x317)](),this[_0x598916(0x2d8)](),this[_0x598916(0x1cd)]=[],this[_0x598916(0x252)]=0x0,this[_0x598916(0x18c)]=0x0,this[_0x598916(0x137)]=0x0;}async[_0x8e1915(0x178)](_0x4b782c,_0x480a58){const _0x52ff0c=_0x8e1915;for(let _0x36a4fa=0x0;_0x36a4fa<0x1e;_0x36a4fa++)try{if(await this['_getFormulaLimitStatus'](),this['_checkCalculationAvailable']()){this[_0x52ff0c(0xfb)](_0x4b782c,_0x480a58),this[_0x52ff0c(0x17a)][_0x52ff0c(0x389)]({'content':this[_0x52ff0c(0x1a0)]['t']('formula.calculation.started'),'type':_0x50d683['MessageType'][_0x52ff0c(0x11c)]});return;}await new Promise(_0x593447=>{const _0x5169e9=_0x52ff0c;this['_pollingInterval']=window[_0x5169e9(0x157)](_0x593447,0x3e8);});}catch(_0x1acce4){this[_0x52ff0c(0x19f)][_0x52ff0c(0xf4)](_0x1acce4);}this[_0x52ff0c(0x17a)][_0x52ff0c(0x389)]({'content':this[_0x52ff0c(0x1a0)]['t'](_0x52ff0c(0xc5)),'type':_0x50d683[_0x52ff0c(0x233)]['Error']});}['_applyCommand'](_0x29e9b3,_0x23f00e){const _0x3403ec=_0x8e1915;try{this[_0x3403ec(0x2a1)][_0x3403ec(0x36f)](_0x29e9b3['id'],_0x29e9b3['params'],_0x23f00e);}catch(_0x178811){this[_0x3403ec(0x19f)]['error'](_0x178811);}}[_0x8e1915(0x271)](_0x22d918,_0x399763){const _0x1faa23=_0x8e1915;_0x399763<this[_0x1faa23(0x137)]||(this[_0x1faa23(0x137)]=_0x399763,this[_0x1faa23(0x18c)]=Number[_0x1faa23(0x3a9)](_0x22d918[_0x1faa23(0x184)]),this[_0x1faa23(0x252)]=Number['parseInt'](_0x22d918['currentUsage']));}async['_startCalculationLimit'](_0x554bb2){const _0x383910=_0x8e1915;var _0x1e1787,_0x2e2667;const _0x2088e0=Date['now']();try{const _0x10ba23=((_0x1e1787=this['_configService'][_0x383910(0x132)](_0x250214[_0x383910(0x304)]))==null?void 0x0:_0x1e1787[_0x383910(0x1dc)])||_0x3e88a0,_0xe97de4=(await this['_httpService'][_0x383910(0xd5)](_0x10ba23,{'body':JSON[_0x383910(0x183)]({'taskId':_0x554bb2})}))[_0x383910(0x34a)];if(((_0x2e2667=_0xe97de4[_0x383910(0xf4)])==null?void 0x0:_0x2e2667[_0x383910(0x325)])!==_0x16ca9b['OK'])return;this['_setFormulaLimitStatus'](_0xe97de4['limitInfo'],_0x2088e0);}catch(_0x44e6c3){this[_0x383910(0x19f)][_0x383910(0xf4)](_0x44e6c3);}}async['_getFormulaLimitStatus'](_0x5d34bc){const _0x3a3402=_0x8e1915;var _0x27a024,_0x34f071;const _0x4cf694=Date[_0x3a3402(0x126)]();try{const _0x3ece07=((_0x27a024=this[_0x3a3402(0x159)][_0x3a3402(0x132)](_0x250214[_0x3a3402(0x304)]))==null?void 0x0:_0x27a024[_0x3a3402(0x249)])||_0x2db60b,_0x11494c=_0x5d34bc?_0x3ece07+_0x3a3402(0x18f)+encodeURIComponent(_0x5d34bc):_0x3ece07,_0xc4350f=(await this[_0x3a3402(0x2d9)][_0x3a3402(0xe3)](_0x11494c))[_0x3a3402(0x34a)];if(((_0x34f071=_0xc4350f[_0x3a3402(0xf4)])==null?void 0x0:_0x34f071[_0x3a3402(0x325)])!==_0x16ca9b['OK'])return;this[_0x3a3402(0x271)](_0xc4350f[_0x3a3402(0x1cb)],_0x4cf694);}catch(_0x1a414b){this[_0x3a3402(0x19f)][_0x3a3402(0xf4)](_0x1a414b);}}async[_0x8e1915(0x274)](_0x15ba92){const _0xf8ca6e=_0x8e1915;var _0x134e80,_0x2bf637;const _0x4b61ad=Date['now']();try{const _0x1bafdb=((_0x134e80=this[_0xf8ca6e(0x159)][_0xf8ca6e(0x132)](_0x250214[_0xf8ca6e(0x304)]))==null?void 0x0:_0x134e80[_0xf8ca6e(0x1eb)])||_0x1dd434,_0x27a6bd=(await this[_0xf8ca6e(0x2d9)][_0xf8ca6e(0xd5)](_0x1bafdb,{'body':JSON[_0xf8ca6e(0x183)]({'taskId':_0x15ba92})}))['body'];if(((_0x2bf637=_0x27a6bd[_0xf8ca6e(0xf4)])==null?void 0x0:_0x2bf637['code'])!==_0x16ca9b['OK'])return;this['_setFormulaLimitStatus'](_0x27a6bd[_0xf8ca6e(0x1cb)],_0x4b61ad);}catch(_0x357fa6){this[_0xf8ca6e(0x19f)]['error'](_0x357fa6);}}[_0x8e1915(0x301)](){const _0x1b377b=_0x8e1915;return this[_0x1b377b(0x18c)]===0x0?!0x0:this['_maxFormulaLimit']-this['_currentUsage']>0x0;}['_clearPolling'](){const _0x518262=_0x8e1915;this[_0x518262(0x2ef)]&&(clearTimeout(this[_0x518262(0x2ef)]),this[_0x518262(0x2ef)]=null);}[_0x8e1915(0x2c8)](){const _0x32ba12=_0x8e1915;this[_0x32ba12(0x17a)][_0x32ba12(0x389)]({'content':this[_0x32ba12(0x1a0)]['t']('formula.calculation.waiting'),'type':_0x50d683['MessageType'][_0x32ba12(0x205)]});}[_0x8e1915(0x189)](_0x50b4eb){const _0xc47503=_0x8e1915;for(const _0x57ecb9 of _0x50b4eb){const {unitId:_0x4c1b5d,sheetId:_0x1cf538,range:_0x5c2722}=_0x57ecb9,_0x3965f9=this[_0xc47503(0x21f)][_0xc47503(0x102)](_0x4c1b5d);if(!_0x3965f9)continue;const _0x2258e4=_0x3965f9[_0xc47503(0x15d)](_0x1cf538);if(!_0x2258e4)continue;const _0x5e1531=_0x2258e4[_0xc47503(0x1b1)]();for(let _0xc63f29=_0x5c2722[_0xc47503(0x1a7)];_0xc63f29<=_0x5c2722[_0xc47503(0x174)];_0xc63f29++)for(let _0x1dd198=_0x5c2722[_0xc47503(0x3ac)];_0x1dd198<=_0x5c2722[_0xc47503(0x245)];_0x1dd198++){const _0xb6c918=_0x5e1531[_0xc47503(0xde)](_0xc63f29,_0x1dd198);if(_0xb6c918&&(_0x1121b6[_0xc47503(0x320)](_0xb6c918['f'])||_0x1121b6['isFormulaId'](_0xb6c918['si'])))return!0x0;}}return!0x1;}};_0x104612=_0xfbf118([_0x543504(0x0,_0x1121b6['Inject'](_0x1c0cb7[_0x8e1915(0x3ab)])),_0x543504(0x1,_0x1121b6[_0x8e1915(0x312)]),_0x543504(0x2,_0x1121b6[_0x8e1915(0x2e1)]),_0x543504(0x3,_0x1121b6[_0x8e1915(0x1e9)](_0x24e2e1[_0x8e1915(0x239)])),_0x543504(0x4,_0x1121b6[_0x8e1915(0x346)]),_0x543504(0x5,_0x1121b6['ILogService']),_0x543504(0x6,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0x1ec)]))],_0x104612);var _0x29d556=Object[_0x8e1915(0x17e)],_0x83b6c3=(_0x499b62,_0x3ae1ed,_0xf87899,_0x1460ff)=>{for(var _0xe1c0e9=_0x1460ff>0x1?void 0x0:_0x1460ff?_0x29d556(_0x3ae1ed,_0xf87899):_0x3ae1ed,_0x3e95a7=_0x499b62['length']-0x1,_0x41b3c6;_0x3e95a7>=0x0;_0x3e95a7--)(_0x41b3c6=_0x499b62[_0x3e95a7])&&(_0xe1c0e9=_0x41b3c6(_0xe1c0e9)||_0xe1c0e9);return _0xe1c0e9;},_0xd00847=(_0x3a6b2a,_0x29ea0e)=>(_0x3eba8d,_0x1684fe)=>_0x29ea0e(_0x3eba8d,_0x1684fe,_0x3a6b2a);let _0x5aef11=class extends _0x1121b6[_0x8e1915(0x135)]{constructor(_0x2373e1,_0x131ac3,_0x35ae4f){const _0x2f52f0=_0x8e1915;super(),_0xdf3e66(this,_0x2f52f0(0x250),new Map()),_0xdf3e66(this,'_saveTaskMap',new Map()),_0xdf3e66(this,_0x2f52f0(0x27b),!0x1),(this[_0x2f52f0(0x159)]=_0x2373e1,this[_0x2f52f0(0x375)]=_0x131ac3,this[_0x2f52f0(0x37e)]=_0x35ae4f);}[_0x8e1915(0xcd)](){const _0x4fe1c7=_0x8e1915;this[_0x4fe1c7(0x27b)]=!0x0;}[_0x8e1915(0x31a)](){const _0x21d955=_0x8e1915;this[_0x21d955(0x27b)]=!0x1;}get[_0x8e1915(0x119)](){const _0x39122f=_0x8e1915;return this[_0x39122f(0x2a2)];}[_0x8e1915(0x317)](){const _0x2108e2=_0x8e1915;this[_0x2108e2(0x2d6)]()['then'](()=>super[_0x2108e2(0x317)]());}async[_0x8e1915(0x128)](_0x136354){const _0x52111a=_0x8e1915;return this['_disabled']?null:this[_0x52111a(0x375)]['getItem'](_0x250214[_0x52111a(0x2af)](_0x136354));}async['saveOfflineData'](_0x3abfee,_0x3fd8cf){const _0x4b3b8c=_0x8e1915;return!!this[_0x4b3b8c(0x375)][_0x4b3b8c(0x28f)](_0x3abfee,_0x3fd8cf);}[_0x8e1915(0x2ee)](_0x59dc46,_0x2e35d9,_0x1c7eff,_0x598101){const _0x290622=_0x8e1915,_0x57b788=this[_0x290622(0x37e)][_0x290622(0x3ad)](_0x59dc46);this['_cachedData'][_0x290622(0x3af)](_0x59dc46,{'unitID':_0x59dc46,'type':_0x2e35d9,'awaitingChangeset':_0x1c7eff,'mutations':_0x598101,'rev':_0x57b788}),this['_saveTaskMap'][_0x290622(0x207)](_0x59dc46)||this[_0x290622(0x115)](_0x59dc46);}['_scheduleSaving'](_0x404daf){const _0x4e00d8=_0x8e1915,_0x4a8688=this[_0x4e00d8(0x3a2)]();_0x4a8688===0x0?this['_saveCache'](_0x404daf):this[_0x4e00d8(0x2a2)]['set'](_0x404daf,setTimeout(()=>this[_0x4e00d8(0x123)](_0x404daf),_0x4a8688));}[_0x8e1915(0x3a2)](){const _0x2d1db3=_0x8e1915;var _0x45d59f;return(_0x45d59f=this[_0x2d1db3(0x159)][_0x2d1db3(0x132)](_0x250214[_0x2d1db3(0x277)]))!=null?_0x45d59f:_0x250214[_0x2d1db3(0x24e)];}[_0x8e1915(0x123)](_0x4f5f01){const _0x40a614=_0x8e1915,_0x1809d3=this['_saveTaskMap']['get'](_0x4f5f01);return _0x1809d3!==void 0x0&&window[_0x40a614(0xe0)](_0x1809d3),this['_localStorageService']['setItem'](_0x250214[_0x40a614(0x2af)](_0x4f5f01),this[_0x40a614(0x250)][_0x40a614(0xe3)](_0x4f5f01))[_0x40a614(0x24d)](()=>this[_0x40a614(0x2a2)]['delete'](_0x4f5f01));}async[_0x8e1915(0x2d6)](){const _0x349e2b=_0x8e1915,_0x149f1=[];this[_0x349e2b(0x2a2)][_0x349e2b(0xea)]((_0x5301e5,_0x209edf)=>{const _0x4dca2e=_0x349e2b;window[_0x4dca2e(0xe0)](_0x5301e5),_0x149f1['push'](this[_0x4dca2e(0x123)](_0x209edf)['then'](()=>{const _0x32ad89=_0x4dca2e;this[_0x32ad89(0x2a2)][_0x32ad89(0x362)](_0x209edf);}));}),await Promise[_0x349e2b(0x198)](_0x149f1);}};_0x5aef11=_0x83b6c3([_0xd00847(0x0,_0x1121b6[_0x8e1915(0x2e1)]),_0xd00847(0x1,_0x1121b6[_0x8e1915(0x38a)]),_0xd00847(0x2,_0x1121b6[_0x8e1915(0x1e9)](_0x271c6b[_0x8e1915(0x27f)]))],_0x5aef11);class _0x47dd8e extends _0x1121b6[_0x8e1915(0x267)]{constructor(){const _0x1dafe0=_0x8e1915;super(),_0xdf3e66(this,'urlChange$'),this['urlChange$']=_0xf2ac11[_0x1dafe0(0x14a)](window,_0x1dafe0(0x1de))[_0x1dafe0(0x212)](_0xf2ac11[_0x1dafe0(0x256)](this[_0x1dafe0(0x17c)]),_0xf2ac11[_0x1dafe0(0x298)](0x1),_0xf2ac11['mapTo'](void 0x0));}[_0x8e1915(0x228)](_0x563824,_0x2f4cb6,_0x5b8d02=!0x1){const _0x3c8067=_0x8e1915,_0x38efe7=new URL(window['location'][_0x3c8067(0x3a5)]);_0x38efe7['searchParams']['set'](_0x563824,_0x2f4cb6),_0x5b8d02?window[_0x3c8067(0x2fd)][_0x3c8067(0x196)]('','',_0x38efe7['toString']()):window['history'][_0x3c8067(0xd0)]('','',_0x38efe7['toString']());}[_0x8e1915(0x381)](_0x58a4b4,_0x62db69=!0x1){const _0x3e47a4=_0x8e1915,_0x26216b=new URL(window[_0x3e47a4(0x2d5)][_0x3e47a4(0x3a5)]);_0x26216b[_0x3e47a4(0x16a)]['delete'](_0x58a4b4),_0x62db69?window[_0x3e47a4(0x2fd)]['replaceState']('','',_0x26216b[_0x3e47a4(0xef)]()):window[_0x3e47a4(0x2fd)][_0x3e47a4(0xd0)]('','',_0x26216b[_0x3e47a4(0xef)]());}[_0x8e1915(0x2f8)](_0x4b9721){const _0x2bb555=_0x8e1915;var _0x4a3ed8;return(_0x4a3ed8=new URL(window[_0x2bb555(0x2d5)][_0x2bb555(0x3a5)])[_0x2bb555(0x16a)][_0x2bb555(0xe3)](_0x4b9721))!=null?_0x4a3ed8:void 0x0;}}var _0x540bff=Object[_0x8e1915(0x1e1)],_0x11b218=Object[_0x8e1915(0x17e)],_0x5f1b41=(_0x527de7,_0x5b6ae2,_0x567e6e)=>_0x5b6ae2 in _0x527de7?_0x540bff(_0x527de7,_0x5b6ae2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x567e6e}):_0x527de7[_0x5b6ae2]=_0x567e6e,_0x4f6c4d=(_0xffb0bf,_0x5d945e,_0x234d1a,_0x3b45bd)=>{for(var _0x29ccf1=_0x3b45bd>0x1?void 0x0:_0x3b45bd?_0x11b218(_0x5d945e,_0x234d1a):_0x5d945e,_0x5b5477=_0xffb0bf['length']-0x1,_0x83d640;_0x5b5477>=0x0;_0x5b5477--)(_0x83d640=_0xffb0bf[_0x5b5477])&&(_0x29ccf1=_0x83d640(_0x29ccf1)||_0x29ccf1);return _0x29ccf1;},_0x598e35=(_0x41dc98,_0xbe2f53)=>(_0x4eb328,_0x4fbdf4)=>_0xbe2f53(_0x4eb328,_0x4fbdf4,_0x41dc98),_0x4c1a36=(_0x72342d,_0x5de12c,_0x3e48ec)=>_0x5f1b41(_0x72342d,_0x5de12c+'',_0x3e48ec);const _0x563432=_0x8e1915(0x1ed);_0x978c78[_0x8e1915(0x390)]=class extends _0x1121b6[_0x8e1915(0x2c7)]{constructor(_0x2cdd3e=_0x55c3aa,_0x1966a7,_0x40c9b8,_0x3fba8f){const _0x2ea144=_0x8e1915;super(),this['_config']=_0x2cdd3e,this[_0x2ea144(0x324)]=_0x1966a7,this[_0x2ea144(0x30f)]=_0x40c9b8,this[_0x2ea144(0x159)]=_0x3fba8f;const {..._0x7079ec}=_0x1121b6['merge']({},_0x55c3aa,this[_0x2ea144(0x294)]);this[_0x2ea144(0x159)]['setConfig'](_0x4b7b62,_0x7079ec);}[_0x8e1915(0x22f)](){const _0x5cdb32=_0x8e1915;this[_0x5cdb32(0x34c)](),this[_0x5cdb32(0x20e)]();}[_0x8e1915(0xd6)](){const _0x2aeca0=_0x8e1915;this[_0x2aeca0(0x382)]();}[_0x8e1915(0x34c)](){const _0x39df66=_0x8e1915;var _0x45922e;const _0x4da5fa=[[_0x3f7ec8],[_0x104612],[_0x2e67b4],[_0x4c9319],[_0x275ae7],[_0x343dd9],[_0x34bcdd,{'useClass':_0x47dd8e}],[_0x24e2e1['ISocketService'],{'useClass':_0x24e2e1[_0x39df66(0x37f)]}],[_0x250214['ILocalCacheService'],{'useClass':_0x5aef11}],[_0x978c78[_0x39df66(0x35f)]],[_0x5f1a44],[_0x49a6f3],[_0x2ddf05],[_0x248341],[_0x978c78[_0x39df66(0x2d0)]]];this[_0x39df66(0x294)][_0x39df66(0x31b)]&&_0x4da5fa[_0x39df66(0x1d2)]([_0x3c92a1]),_0x1121b6[_0x39df66(0xf3)](this['_injector'],_0x1121b6[_0x39df66(0x25c)](_0x4da5fa,(_0x45922e=this[_0x39df66(0x294)])==null?void 0x0:_0x45922e[_0x39df66(0x138)]));}[_0x8e1915(0x382)](){const _0x992126=_0x8e1915;this[_0x992126(0x39e)](this[_0x992126(0x324)][_0x992126(0x32b)](_0x1121b6['UniverInstanceType']['UNIVER_DOC'],[_0x3decd5])),this[_0x992126(0x39e)](this[_0x992126(0x324)][_0x992126(0x32b)](_0x1121b6['UniverInstanceType']['UNIVER_SHEET'],[_0x57fc11]));}[_0x8e1915(0x20e)](){const _0x5281cf=_0x8e1915;_0x1121b6[_0x5281cf(0xd7)](this[_0x5281cf(0x30f)],[[_0x2ddf05],[_0x978c78[_0x5281cf(0x35f)]],[_0x5f1a44],[_0x49a6f3],[_0x978c78[_0x5281cf(0x2d0)]],[_0x104612]]),this['_config'][_0x5281cf(0x31b)]&&_0x1121b6['touchDependencies'](this[_0x5281cf(0x30f)],[[_0x3c92a1]]);}},_0x4c1a36(_0x978c78[_0x8e1915(0x390)],_0x8e1915(0x369),_0x563432),_0x978c78[_0x8e1915(0x390)]=_0x4f6c4d([_0x1121b6[_0x8e1915(0x2b2)](_0x250214['UniverCollaborationClientPlugin']),_0x598e35(0x1,_0x42a824['IRenderManagerService']),_0x598e35(0x2,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0x2e3)])),_0x598e35(0x3,_0x1121b6[_0x8e1915(0x2e1)])],_0x978c78[_0x8e1915(0x390)]);var _0x6cf713=Object['getOwnPropertyDescriptor'],_0x21711f=(_0x1969e7,_0x34ce03,_0x212717,_0x572462)=>{for(var _0x15ede4=_0x572462>0x1?void 0x0:_0x572462?_0x6cf713(_0x34ce03,_0x212717):_0x34ce03,_0x23c064=_0x1969e7['length']-0x1,_0x4cc088;_0x23c064>=0x0;_0x23c064--)(_0x4cc088=_0x1969e7[_0x23c064])&&(_0x15ede4=_0x4cc088(_0x15ede4)||_0x15ede4);return _0x15ede4;},_0xdc9720=(_0xa0208b,_0xf52ae7)=>(_0xee8469,_0x302112)=>_0xf52ae7(_0xee8469,_0x302112,_0xa0208b);_0x978c78[_0x8e1915(0x1ea)]=class extends _0x250214['CollaborationSocketService']{constructor(_0x460783,_0x5b47d8,_0x3a38f9,_0x5177c9,_0x4a2616){super(_0x460783,_0x5b47d8,_0x3a38f9,_0x5177c9,_0x4a2616);}async[_0x8e1915(0x25d)](_0x4074e0){const _0x53fc68=_0x8e1915,_0xdb205a=await this[_0x53fc68(0x2ba)](),_0x3499e6=this[_0x53fc68(0x29c)](_0x4074e0,_0xdb205a);return this[_0x53fc68(0x318)](_0x3499e6);}[_0x8e1915(0x29c)](_0x5cf497,_0x27d79d){const _0x2f2730=_0x8e1915,_0x10f4b7=typeof window>'u'?new URL(_0x5cf497):new URL(_0x5cf497,window[_0x2f2730(0x2d5)][_0x2f2730(0x345)]);_0x10f4b7[_0x2f2730(0x16a)]['set']('sessionTicket',_0x27d79d);const _0x356689=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x2f2730(0x2a9)]);return _0x356689[_0x2f2730(0xe3)](_0x2f2730(0x104))&&_0x10f4b7[_0x2f2730(0x16a)][_0x2f2730(0x3af)](_0x2f2730(0x104),_0x356689[_0x2f2730(0xe3)](_0x2f2730(0x104))),_0x10f4b7[_0x2f2730(0xef)]();}async['_getSessionTicket'](){const _0x523b5b=_0x8e1915;var _0x6ecbfd,_0x2104e3,_0x360465;const _0x251505=this[_0x523b5b(0x159)][_0x523b5b(0x132)](_0x250214[_0x523b5b(0x304)]),_0x44d323=(_0x6ecbfd=_0x251505==null?void 0x0:_0x251505['wsSessionTicketUrl'])!=null?_0x6ecbfd:_0x250214[_0x523b5b(0x303)];return(_0x360465=(_0x2104e3=(await this['_httpService'][_0x523b5b(0xe3)](_0x44d323,{'headers':{'Content-Type':_0x523b5b(0x2aa)}}))['body'])==null?void 0x0:_0x2104e3[_0x523b5b(0x24f)])!=null?_0x360465:'';}},_0x978c78[_0x8e1915(0x1ea)]=_0x21711f([_0xdc9720(0x0,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6['Injector'])),_0xdc9720(0x1,_0x1121b6[_0x8e1915(0x1e9)](_0x24e2e1[_0x8e1915(0x239)])),_0xdc9720(0x2,_0x1121b6[_0x8e1915(0x2e1)]),_0xdc9720(0x3,_0x1121b6[_0x8e1915(0x15a)]),_0xdc9720(0x4,_0x271c6b[_0x8e1915(0x242)])],_0x978c78['BrowserCollaborationSocketService']);var _0x1efab8=Object[_0x8e1915(0x17e)],_0x2981c2=(_0xa67e69,_0x4c5c7b,_0x4896d2,_0xf795bf)=>{const _0x1480a4=_0x8e1915;for(var _0x374fd1=_0xf795bf>0x1?void 0x0:_0xf795bf?_0x1efab8(_0x4c5c7b,_0x4896d2):_0x4c5c7b,_0x5aebc3=_0xa67e69[_0x1480a4(0x33e)]-0x1,_0x334263;_0x5aebc3>=0x0;_0x5aebc3--)(_0x334263=_0xa67e69[_0x5aebc3])&&(_0x374fd1=_0x334263(_0x374fd1)||_0x374fd1);return _0x374fd1;},_0xbe2581=(_0x465ec4,_0x589135)=>(_0x490f1c,_0x50dc89)=>_0x589135(_0x490f1c,_0x50dc89,_0x465ec4);_0x978c78[_0x8e1915(0x370)]=class extends _0x1121b6[_0x8e1915(0x135)]{constructor(_0x53432a,_0x11f029,_0x159008){const _0x4eab82=_0x8e1915;super(),this[_0x4eab82(0x1dd)]=_0x53432a,this['_httpService']=_0x11f029,this[_0x4eab82(0x159)]=_0x159008;}async[_0x8e1915(0x2db)](_0x1af984,_0x5f627d,_0x2b6264,..._0x3b9df0){const _0x40c687=_0x8e1915;var _0x105539,_0x4992eb,_0x1f2656,_0x55edca;const _0x3213b8=this['_instanceService'][_0x40c687(0x36a)]();if(!_0x3213b8)throw new Error(_0x40c687(0x28a));const _0x443112=((_0x105539=this[_0x40c687(0x159)]['getConfig'](_0x250214[_0x40c687(0x27e)]))!=null?_0x105539:_0x250214[_0x40c687(0x3a3)])+'/'+_0x1af984+_0x40c687(0xec)+_0x5f627d,_0x112cfc=new URL(window[_0x40c687(0x2d5)]['href']),_0x52ffe7={'scriptId':_0x1af984,'runId':(_0x4992eb=_0x112cfc['searchParams'][_0x40c687(0xe3)](_0x40c687(0x104)))!=null?_0x4992eb:'','function':_0x5f627d,'unitId':_0x3213b8[_0x40c687(0x37b)](),'argsOfFunction':JSON['stringify'](_0x3b9df0),'invokeId':(_0x1f2656=_0x2b6264['invokeId'])!=null?_0x1f2656:'','executionId':(_0x55edca=_0x2b6264[_0x40c687(0x2eb)])!=null?_0x55edca:''};try{const _0x218d98=await this['_httpService']['post'](_0x443112,{'body':_0x52ffe7});return _0x218d98[_0x40c687(0x34a)][_0x40c687(0xf4)]&&_0x218d98[_0x40c687(0x34a)]['error'][_0x40c687(0x325)]!==_0x16ca9b['OK']?_0x40c687(0x10f):_0x218d98[_0x40c687(0x34a)][_0x40c687(0x2f4)];}catch{return _0x40c687(0x10f);}}},_0x978c78[_0x8e1915(0x370)]=_0x2981c2([_0xbe2581(0x0,_0x1121b6[_0x8e1915(0x346)]),_0xbe2581(0x1,_0x1121b6[_0x8e1915(0x1e9)](_0x24e2e1[_0x8e1915(0x239)])),_0xbe2581(0x2,_0x1121b6[_0x8e1915(0x2e1)])],_0x978c78[_0x8e1915(0x370)]);const _0x21388c=0x7530,_0x90c80b='ACTIVE_UNIT_EVENT_CHANNEL';class _0x5077dc extends _0x1121b6[_0x8e1915(0x135)]{constructor(){const _0xec4c0f=_0x8e1915;super(),_0xdf3e66(this,_0xec4c0f(0x243),_0x1121b6['generateRandomId']()),_0xdf3e66(this,'_selfUnitIDs',new Set()),_0xdf3e66(this,_0xec4c0f(0x1c1),new Map()),_0xdf3e66(this,_0xec4c0f(0x163),null),_0xdf3e66(this,_0xec4c0f(0x1ae),new Map()),_0xdf3e66(this,_0xec4c0f(0x11b),new Map()),this['_init']();}[_0x8e1915(0x317)](){const _0x3d72e4=_0x8e1915;super[_0x3d72e4(0x317)](),this[_0x3d72e4(0x1ae)]['forEach']((_0xec24bb,_0x4d51a4)=>this['_removeClearOtherTimer'](_0x4d51a4)),this[_0x3d72e4(0x163)]&&window[_0x3d72e4(0x344)](this[_0x3d72e4(0x163)]);}[_0x8e1915(0x2c0)](_0x4ffbc4){const _0x131bdb=_0x8e1915;return this['_ensureSubject'](_0x4ffbc4)[_0x131bdb(0x212)](_0xf2ac11[_0x131bdb(0x309)]());}[_0x8e1915(0x1cc)](_0x10f380){const _0x2f517f=_0x8e1915;this['_selfUnitIDs']['size']===0x0&&this[_0x2f517f(0x154)](),this[_0x2f517f(0x136)]['add'](_0x10f380),this['_send']({'type':0x0,'memberID':this[_0x2f517f(0x243)],'unitIDs':[_0x10f380],'isForwarded':!0x1});}[_0x8e1915(0x232)](_0x2c662b){const _0xe2b677=_0x8e1915;this[_0xe2b677(0x136)][_0xe2b677(0x362)](_0x2c662b),this[_0xe2b677(0x136)][_0xe2b677(0x31f)]===0x0&&this[_0xe2b677(0x163)]&&window[_0xe2b677(0x344)](this[_0xe2b677(0x163)]);}[_0x8e1915(0x22c)](){const _0x2e7a64=_0x8e1915;this['disposeWithMe'](_0x1121b6[_0x2e7a64(0x2ae)](_0xf2ac11[_0x2e7a64(0x14a)](window,_0x2e7a64(0x24c))[_0x2e7a64(0x17d)](_0x3d9eb9=>{const _0x3dd21d=_0x2e7a64;if(_0x3d9eb9[_0x3dd21d(0x146)]!==_0x90c80b||!_0x3d9eb9[_0x3dd21d(0x140)])return;const _0x1ab392=JSON[_0x3dd21d(0x166)](_0x3d9eb9[_0x3dd21d(0x140)]);this[_0x3dd21d(0x35a)](_0x1ab392);}))),window[_0x2e7a64(0x2bf)](_0x2e7a64(0xe5),()=>this[_0x2e7a64(0x31c)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x2e7a64(0x2bb)](this[_0x2e7a64(0x136)])}));}[_0x8e1915(0x35a)](_0x233d88){const _0x2f4fc2=_0x8e1915;switch(_0x233d88[_0x2f4fc2(0x2cf)]){case 0x0:this[_0x2f4fc2(0x39d)](_0x233d88);break;case 0x1:this[_0x2f4fc2(0x1b6)](_0x233d88);break;case 0x2:this[_0x2f4fc2(0x342)](_0x233d88);break;}}['_handleJoinEvent'](_0x1c4c80){const _0x591325=_0x8e1915,{unitIDs:_0x38f631,memberID:_0x546be3,isForwarded:_0x153338}=_0x1c4c80;_0x38f631[_0x591325(0xea)](_0x57f8b2=>{const _0x1fcc04=_0x591325;if(!_0x153338&&this[_0x1fcc04(0x1c1)][_0x1fcc04(0x207)](_0x57f8b2)&&this[_0x1fcc04(0x2d3)](_0x57f8b2)[_0x1fcc04(0x22b)](_0x250214[_0x1fcc04(0x2c3)][_0x1fcc04(0x175)]),!this['_unitOnClients'][_0x1fcc04(0x207)](_0x57f8b2)||!this[_0x1fcc04(0x1c1)]['get'](_0x57f8b2)[_0x1fcc04(0x207)](_0x546be3)){const _0x17f90e=this[_0x1fcc04(0x1c1)][_0x1fcc04(0xe3)](_0x57f8b2)||new Set();_0x17f90e['add'](_0x546be3),this[_0x1fcc04(0x1c1)][_0x1fcc04(0x3af)](_0x57f8b2,_0x17f90e),this[_0x1fcc04(0x16d)](_0x546be3);}}),_0x153338||this[_0x591325(0x31c)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x591325(0x136)]],'isForwarded':!0x0});}[_0x8e1915(0x16d)](_0x1fc133){const _0x566f4b=_0x8e1915;this['_removeClearOtherTimer'](_0x1fc133);const _0x385630=window[_0x566f4b(0x157)](()=>{this['_unitOnClients']['forEach'](_0x41ec17=>{_0x41ec17['delete'](_0x1fc133);});},_0x21388c*0x2);this[_0x566f4b(0x1ae)][_0x566f4b(0x3af)](_0x1fc133,_0x385630);}[_0x8e1915(0x30d)](_0x4a843c){const _0x172081=_0x8e1915;if(this[_0x172081(0x1ae)][_0x172081(0x207)](_0x4a843c)){const _0x399f3a=this[_0x172081(0x1ae)][_0x172081(0xe3)](_0x4a843c);_0x399f3a&&window[_0x172081(0xe0)](_0x399f3a),this[_0x172081(0x1ae)][_0x172081(0x3af)](_0x4a843c,null);}}['_handleLeaveEvent'](_0x17a9c6){const _0x408d62=_0x8e1915,{memberID:_0x3ab845,unitIDs:_0x569c83}=_0x17a9c6;_0x569c83[_0x408d62(0xea)](_0x2307d5=>{const _0x1e4429=_0x408d62;var _0x1f035d;const _0x126eea=this[_0x1e4429(0x1c1)]['get'](_0x2307d5);_0x126eea&&(_0x126eea['delete'](_0x3ab845),(_0x1f035d=this['_ensureSubject'](_0x2307d5))==null||_0x1f035d[_0x1e4429(0x22b)](_0x126eea[_0x1e4429(0x31f)]===0x0?_0x250214[_0x1e4429(0x2c3)][_0x1e4429(0x210)]:_0x250214[_0x1e4429(0x2c3)]['OTHER_CLIENTS_EDITING']));}),this[_0x408d62(0x30d)](_0x3ab845);}[_0x8e1915(0x342)](_0x90a84){const _0x5dd584=_0x8e1915;this[_0x5dd584(0x16d)](_0x90a84[_0x5dd584(0x18e)]);}[_0x8e1915(0x31c)](_0xcf10ef){const _0x4f726f=_0x8e1915;localStorage['setItem'](_0x90c80b,JSON[_0x4f726f(0x183)](_0xcf10ef));}[_0x8e1915(0x154)](){const _0x5ef118=_0x8e1915;this['_heartbeatTimer']=window[_0x5ef118(0x33f)](()=>{const _0x364d00=_0x5ef118;this[_0x364d00(0x31c)]({'type':0x2,'memberID':this[_0x364d00(0x243)]});},_0x21388c);}[_0x8e1915(0x2d3)](_0xbbbfaa){const _0x163f03=_0x8e1915;return this[_0x163f03(0x11b)][_0x163f03(0x207)](_0xbbbfaa)||this[_0x163f03(0x11b)][_0x163f03(0x3af)](_0xbbbfaa,new _0xf2ac11[(_0x163f03(0x229))](_0x250214['UnitStatus'][_0x163f03(0x210)])),this[_0x163f03(0x11b)]['get'](_0xbbbfaa);}}_0x978c78[_0x8e1915(0x340)]=_0x34bcdd,_0x978c78[_0x8e1915(0x29a)]=_0x40acb1,_0x978c78[_0x8e1915(0x1e5)]=_0x5077dc,_0x978c78[_0x8e1915(0x257)]=_0x47dd8e,Object[_0x8e1915(0x1e1)](_0x978c78,Symbol['toStringTag'],{'value':_0x8e1915(0x231)});}));
1
+ function _0x1699(_0x4db6d8,_0x5a3d86){const _0x28b34d=_0x28b3();return _0x1699=function(_0x1699a0,_0x4ef96a){_0x1699a0=_0x1699a0-0x7b;let _0x3e5924=_0x28b34d[_0x1699a0];return _0x3e5924;},_0x1699(_0x4db6d8,_0x5a3d86);}function _0x28b3(){const _0x378994=['reconnect','_initWindowErrorListener','init','min','add','_registerRenderDependencies','handleIRemoveRow','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','_initStatusComponent','_unitStatus','search','onTransformChange$','_maxFormulaLimit','REDEMPTION_INVALID_CODE','YUUMI_ALL_TABLES_IS_INVALID','urlChange$','CommandType','40920shWhFU','shareReplay','reason','@univerjs-pro/collaboration-client','MOBILE_HAS_BEEN_BOUND','APPLY_REJECT','unit','APPLY_DUPLICATED','REDEMPTION_CODE_FULLY_REDEEMED','url(#$1','SOCKET_FAILED_RETRY','1em','collabStatus.fetchMiss','BrowserCollaborationSocketService','getUnitId','top','_status$','TRANSFORM_CHANGE_OBSERVABLE_TYPE','@univerjs/network','208296IsHoTo','_docSkeletonManagerService','getStateCache','Error','INVALID_INVITE_CODE','@univerjs/sheets','m2Prime','DeleteRangeMoveUpCommandId','setStateCache','_beforeCloseService','USER_NOT_INVITED_CODE','getRelativeToViewportCoord','useObservable','_transformUndoRedoStack','LOGIN_FAILED','subscribe','CanceledError','_applyCommand','_cursor','doc.mutation.rich-text-editing','_dataLoaderService','ISocketService','memberID','setShapeProps','pipe','UniverCollaborationClientPlugin','getOwnPropertyDescriptor','runOnServer','Workbook','createSocket','saveTaskMap','_refreshCollabCursors','_session','_removeCollabCursors','30aEFvzP','drawWith','TEXT_RANGE_LAYER_INDEX','findNodePositionByCharIndex','loadUnit','url(#off-line-icon_clip0_910_343)','transformMutationsWithChangeset','transformByState','setParam','_send','removeEventListener','CollaborationUIEventId','LICENSE_EXPORT_SIZE_EXCEEDED','_handleHeartbeatEvent','getSheetObject','DocStateChangeManagerService','_instanceService','_docTransformSelectionsService','defineProperty','range','Rect','collabStatus.conflict','uni.network.url-service','START_CALCULATION','getViewport','INVALID_ARGUMENT','_getMergeRange','_initStatusListener','formula.calculation.started','cursorInfo$','save','object','CollaborationDataLoaderController','black','YUUMI_AI_RUN_FAILED','onCommandExecuted','ENTITLE_CAN_NOT_BUY_LOWER_OTP','REDEMPTION_CODE_NOT_STARTED','@univerjs/docs-ui','session.connection-failed','roomMembers','throttleTime','handleDeleteRangeMoveLeft','deepClone','34291oiLGPp','backgroundColor','moveTo','whenReady','clearTimeout','SetSelectionsOperation','transformMutation','setTimeout','@univerjs/engine-formula','ILogService','ENTITLE_DUP_SUBSCRIPTION','fill','connectInjector','Module','colorChannel1','WebBrowserSingleActiveUnitService','rgba(255,\x20255,\x20255,\x200.01)','REDEMPTION_CODE_INACTIVE','_anchorDot','_range','getOffsetConfig','override','getLocalCacheKey','UniverDesign','_init','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getMember','_hasFormulaInDirtyRanges','onMouseMove','IBeforeCloseService','DocSkeletonManagerService','_transformService','UNAUTHENTICATED','dispose','location','[RemoteUniscriptService]:\x20no\x20focused\x20unit','IConfigService','MoveRangeCommandId','IUniverInstanceService','exhaustSavingTask','UniverDrawing','YUUMI_NO_CUBOID_FOR_QUESTION','0\x200\x2016\x2016','56fuJxgg','_syncEditingCollabCursorService','then','_entityInit$','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','_onCursorUpdate','_initEntityListener','push','[CollaborationDataLoaderController]','UniverSheetsUi','collab-text-range-','fillStyle','getUnit','_heartbeatTimer','_anchor','SetWorksheetActivateCommand','subscribeEvent','DocCollaborationEntity','NodePositionConvertToCursor','_urlService','1350081XEqNmq','string','CollaborationUIEventService','replaceState','translate(.97)','toString','UNIVER_SHEET','labelPosition','?taskId=','_updateLocalCursor','getParam','APPLY_REVISION_CONFILICT','CURRENT_STATUS_CANNOT_OPERATE','UniverRpc','now','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_cachedData','purple.300','bottom','_toggleOnline','green.600','hide','_color','DeleteRangeMoveLeftCommandId','stack','sheetID','enableFrontendLog','CollaborationSessionService','_initUnhandledRejectionListener','_renderManagerService','lineno','_lastPointer','delete','symbol','url(#on-line-icon_clip0_910_349)','Failed','enableLocalCache','ICommandService','LICENSE_MAX_UNITS_EXCEEDED','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','Loading','href','SUBMIT_CHANGESET_TIMEOUT','http://www.w3.org/2000/svg','lineTo','focused$','INVITE_CODE_REQUIRED','unitId','xlink:href','startRow','displayName','_onRefRangeChange','addEventListener','eventID','touchDependencies','white','getSheetId','MUTATION','onPointerLeave$','show','NOT_FOUND','params','ColorKit','getSkeleton','_localeService','isArray','defIds','generateRandomId','size','collaboration.closeRoom','newValue','asObservable','maxFormulaLimit','isFormulaId','DataLoaderService','shift','_getAnchorBounding','path','M0\x200H16V16H0z','transformRemoteChangeset','_messageService','jsx','OFFLINE','InsertRangeMoveRightCommandId','_scheduleClearOtherTimer','1592670Cgwosq','saveOfflineData','idSuffix','makeDirty','/universer-api/license/formula/limit/done','LocaleService','debug','_memberService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','storage','_unitOnClients','_draw','UniverEngineRender','_startDocCollabCursor','loadOfflineData','collaboration-client-ui.config','addObjects','REDEMPTION_CODE_HAS_BEEN_CREATED','values','_notificationService','undoState','functionsExecutedState','_scheduleHeartbeat','_colorIndex','collaboration-client.offline-data-not-saved','beforeCommandExecuted','VIEW_MAIN','setInterval','_context','getTypeOfUnitAdded$','TOO_MANY_REQUESTS','triggerDblclick','Shape','getMemberID','LOGIN_TOKEN_PROCESSING_FAILED','font','LOCAL_CACHE_INTERVAL','startColumn','evenodd','HTTPService','_monkeyPatchLogService','_hover','toStringTag','_pollingInterval','toRgbString','DisposableCollection','_online','YUUMI_ASYNCIO_CANCELLED','NodePositionConvertToRectRange','height','entityInit$','send','collab-rect-range-','Optional','getCoordByCell','colno','handleInsertRow','column','exports','stringify','RxDisposable','ENTITLE_NEED_BILLING_ADDRESS','activeSheet$','NOT_COLLAB','CHANGESET_REVISION_CONFILICT','executeCommand','limitInfo','_startSheetCollabCursor','application/json','getActiveSheet','UniverUi','cursorInfo','BuiltInUIPart','_uiPartsService','serializeRangeWithSheet','RegularPolygon','_cursorShapes','assignAColorForMemberID','_memberID','getMergeData','endRow','_toggleOffline','unshift','RemoteUniscriptService','_handleHover','name','registerComponent','registerDependencies','ticket','totalFormulasToCalculate','_lastResponseTimestamp','PERMISSION_DENIED','YUUMI_URL_COL_OUT_OF_RANGE','on-line-icon_clip0_910_349','sessionStatus$','_createSocketURL','setUndoRedoMutationParamsCache','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','UniverCore','_getSheetObject','APPLY_PERMISSION_DENIED','CollaborationController','740520HVvdeF','onRendered','_hideTimer','UniverDocs','DOC_RANGE_TYPE','_imageIoService','_localStorageService','selection','getVpScrollXYInfoByPosToVp','setItem','EMAIL_VERIFY_CODE_MISMATCH','getColorFromTheme','unsubscribe','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','mask','getSheetBySheetId','engine','_textBubble','CollaborationStatus','_initResize','formula.calculation.unable','EMAIL_HAS_BEEN_BOUND','off-line-icon','_collaborationController','_drawRectRange','mergeOverrideWithDependencies','_refRangeService','@univerjs/core','_saveCache','_registerDependencies','_getFormulaLimitStatus','SNAPSHOT_HAS_BEEN_REMOVED','_currentUsage','getRenderById','AWAITING_WITH_PENDING','fromEvent','collab-text-anchor-','_initCommandInterceptor','RECT','handleMoveRange','YUUMI_TABLE_NOT_FOUND_IN_UNIT','OffLineIcon','_drawAnchor','_configService','_name','UNDEFINED','body','_config','has','replaceDocRanges','saveImage','_labelPosition','debounce','SessionStatus','_docSyncEditingCollabCursorService','_updateURLWithCurrentState','SheetsSelectionsService','deserializeRangeWithSheet','m1Prime','UPDATE_CURSOR','code','runRefRangeMutations','collabCursorState$','INVITE_CODE_ALREADY_BOUND','_revisionService','with','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_transformHistoryAndStateStack','handleInsertCol','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','handleInsertRangeMoveRight','LOCAL_CACHE_INTERVAL_KEY','contains','FETCH_MISS','@univerjs/drawing','_transformPreviousActiveRange','DEFAULT_WS_SESSION_TICKET_URL','ILocalStorageService','message','split','error','status$','_roomMembers$','useDependency','407XhKwcr','Unknown\x20user','YUUMI_SUBSCRIPTION_NOT_FOUND','USER_IS_ANONYMOUS','ONLINE','getFocusedUnit','COMPLETION_FINISHED','\x20at\x20','defs','currentColor','getUndoRedoMutationParamsCache','_updateCollabCursors','jiqing.500','origin','createInstance','UNRECOGNIZED','_collaborationUIEventService','RefRangeService','isTransformMutationFailure','resize','actions','Warning','isTransformMutationsWithChangesetSuccess','_shapes','filter','none','CollaborationSocketService','SheetCollabCursorShape','UniverProCollaborationClientUi','redoState','set','IMessageService','_clearPolling','_setFormulaLimitStatus','SetFormulaCalculationStartMutation','_showGuardMessage','dispose$','@univerjs/sheets-ui','UniverProCollaboration','PY_RUNTIME_SCRIPT_ERROR','registerRenderModule','_ensureSubject','_assignedColors','disposeUnit','text','_initCommandExecutedListener','react','find','CONFLICT','rxjs','ALREADY_EXISTS','CLOSE_ROOM','collabStatus.offline','tag','updateOfflineData','_localCacheService','_initDependencies','EffectRefRangId','clsx','_injector','@univerjs/engine-render','flatMap','DocIMEInputManagerService','endColumn','_cursors','onPointerEnter$','use','_getSaveTimeout','setAlpha','searchParams','/universer-api/frontend/logs','IImageIoService','_docTransformIMECacheService','closePath','attrs','_collaborationSessionService','arc','_getScale','DATA_SOURCE_TOO_LARGE','startsWith','BehaviorSubject','getUnitStatus$','_disabled','univer-mr-2\x20univer-flex\x20univer-text-xl','unhandledrejection','distinctUntilChanged','blue.400','Tools','clearInterval','forwardRef','_scene','pushState','ranges','IURLService','requireSession','map','currentSkeleton$','get','post','unitID','stageInfo','roomMembers$','Injector','_initEvent','REDEMPTION_USER_NOT_ELIGIBLE','_selfUnitIDs','_collabCursorState$','row','FormulaExecutedStateType','type','_docClipboardService','ENTITLE_REPORT_LIMIT_EXCEED','getCellMatrix','setConfig','merge','[Unhandled\x20Rejection]:\x20','onLocalMutation','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','subunit','docStateChange$','INotificationService','_colorAssignService','UniverSheets','mutations','IRemoteInstanceService','getConfig','@univerjs-pro/collaboration','collabStatus.notCollab','Vector2','_id','createIdentifier','InsertRangeMoveDownCommandId','_initUserListener','_saveTaskMap','Inject','CollaborationEvent','IDocClipboardService','INTERNAL_ERROR','InsertRowCommandId','history','_updateSubUnitFromURLParams','_collabSessionService','_render','@univerjs/design','@univerjs/ui','UniverInstanceType','addObject','_clearOtherTimers','entries','toDisposable','Subject','_docTransformStateCacheService','AUTHORIZE_CODE_ILLEGAL','COLORS','forEach','_docStateChangeManagerService','getColor','permission.title','_startCalculationLimit','_hovered','USER_NOT_FOUND','current','Rectangle','_removeClearOtherTimer','SNAPSHOT_INVALID_SNAPSHOT','OTHER_CLIENT_EDITING','createElement','AWAITING','...','UnitStatus','join','removeParam','_uploadLog','getRangePointData','stage','YUUMI_CONNECTOR_URL_NOT_FOUND','IRenderManagerService','dirtyRanges','/universer-api/license/formula/limit/start','LICENSE_DISTRO_REJECTED','restore','DesktopCollaborationStatusDisplayController','registerBeforeClose','MemberService','width','_taskIds','round','ThemeService','releaseFormulaLimitUrl','off-line-icon_clip0_910_343','assign','collab-client.tooltip.reconnect','getTypeOfUnitDisposed$','handleInsertRangeMoveDown','_drawTextRange','fillRule','OnLineIcon','_setupSubUnitSync','takeUntil','_entities','ITransformService','svg','unload','_logService','color','0\x200\x2017\x2016','length','currentTheme$','debounceTime','disableLocalCache','_scheduleSaving','bind','_backgroundColor','invokeId','_collabCursorController','next','permission.content','getCurrent','RichTextEditingMutation','_commandService','getValue','formula.calculation.waiting','event$','RemoveColCommandId','transformSelections','operators','IUIPartsService','filename','OTHER_CLIENTS_EDITING','univerjs-icon\x20univerjs-icon-','div','_sheetSkeletonManagerService','some','getActiveRange','DependentOn','max','ENTITLE_INSUFFICIENT_QUOTA','_univerInstanceService','measureText','fillText','@univerjs/rpc','SHEET_VIEWPORT_KEY','getCollabCursors$','MessageType','from','fromEventSubject','SetDocZoomRatioOperation','Disposable','complete','registerRefRange','_cursorInfo$','_handleEvent','children','parse','NO_OTHER_CLIENTS_EDITING','_themeService','skeleton','861JNYRHR','UniverEngineFormula','LICENSE_IMPORT_SIZE_EXCEEDED','isFormulaString','jsxs','_eventUnsubscribe','54OEBBvh','DocSelectionManagerService','_httpService','runId','282635qhiwIR','syncEditingCollabCursor','YUUMI_UNABLE_LOAD_URL','ERROR_AGAIN','Tooltip','substring','WECHAT_HAS_BEEN_BOUND','INVITE_CODE_HAS_BEEN_UES','parseInt','transformIMECache','combineLatest','MOBILE_VERIFY_CODE_MISMATCH','_checkAndWaitForCalculationPermission','clipPath','getAncestorScale','switchMap','_handleJoinEvent','ILocalCacheService','React','textRanges','_getSessionTicket','_releaseCalculationLimit','YUUMI_RATE_OVER_LIMIT','data','_onCursorDelete','disposeWithMe','APPLY_NON_SEQUENTIAL_REVISION','red.300','UniverCollaborationClientUIPlugin','session.collaboration-timeout'];_0x28b3=function(){return _0x378994;};return _0x28b3();}(function(_0xd32ec7,_0x210313){const _0x2e7308=_0x1699,_0x1e8e44=_0xd32ec7();while(!![]){try{const _0x2d22dc=parseInt(_0x2e7308(0x315))/0x1*(-parseInt(_0x2e7308(0x2e9))/0x2)+-parseInt(_0x2e7308(0x354))/0x3+parseInt(_0x2e7308(0x340))/0x4*(parseInt(_0x2e7308(0x285))/0x5)+parseInt(_0x2e7308(0xc0))/0x6+parseInt(_0x2e7308(0x27b))/0x7*(parseInt(_0x2e7308(0x2b4))/0x8)+-parseInt(_0x2e7308(0x281))/0x9*(-parseInt(_0x2e7308(0x126))/0xa)+parseInt(_0x2e7308(0x17a))/0xb*(-parseInt(_0x2e7308(0x2c7))/0xc);if(_0x2d22dc===_0x210313)break;else _0x1e8e44['push'](_0x1e8e44['shift']());}catch(_0x4286fd){_0x1e8e44['push'](_0x1e8e44['shift']());}}}(_0x28b3,0x7fd7a),function(_0x3de12c,_0xebef60){const _0x3682f8=_0x1699;typeof exports==_0x3682f8(0x308)&&typeof module<'u'?_0xebef60(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define['amd']?define([_0x3682f8(0xfa),'react/jsx-runtime',_0x3682f8(0x2b7),_0x3682f8(0x141),_0x3682f8(0x20a),_0x3682f8(0x1ab),_0x3682f8(0x209),_0x3682f8(0x1a8),_0x3682f8(0x26a),_0x3682f8(0x2cc),_0x3682f8(0x1b6),_0x3682f8(0x2c6),_0x3682f8(0x30f),_0x3682f8(0x170),_0x3682f8(0x1f8),'@univerjs/docs',_0x3682f8(0x31d),'rxjs/operators',_0x3682f8(0x19f)],_0xebef60):(_0x3de12c=typeof globalThis<'u'?globalThis:_0x3de12c||self,_0xebef60(_0x3de12c[_0x3682f8(0x196)]={},_0x3de12c['React'],_0x3de12c['UniverProCollaborationClient'],_0x3de12c[_0x3682f8(0x122)],_0x3de12c[_0x3682f8(0x106)],_0x3de12c[_0x3682f8(0x1ab)],_0x3de12c[_0x3682f8(0x32c)],_0x3de12c[_0x3682f8(0x297)],_0x3de12c[_0x3682f8(0x361)],_0x3de12c[_0x3682f8(0x1f4)],_0x3de12c[_0x3682f8(0xcc)],_0x3de12c['UniverNetwork'],_0x3de12c['UniverDocsUi'],_0x3de12c[_0x3682f8(0x33d)],_0x3de12c[_0x3682f8(0x1a0)],_0x3de12c[_0x3682f8(0x129)],_0x3de12c[_0x3682f8(0x27c)],_0x3de12c['rxjs'][_0x3682f8(0x25b)],_0x3de12c[_0x3682f8(0x349)]));}(this,function(_0x41602e,_0x517de2,_0x5ad2ec,_0x43911e,_0x13af98,_0x5663a0,_0x339a9a,_0x46d347,_0x4b13bd,_0x17fd56,_0x54cb20,_0x13a8c2,_0xf36ffa,_0x1252f1,_0x2761bb,_0x4d8e11,_0x307b3c,_0x4d953b,_0x43dd78){'use strict';const _0x400835=_0x1699;var _0x2de87a=Object[_0x400835(0x2fb)],_0x5250a3=(_0x2eeb8f,_0x39c97c,_0x5063cd)=>_0x39c97c in _0x2eeb8f?_0x2de87a(_0x2eeb8f,_0x39c97c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5063cd}):_0x2eeb8f[_0x39c97c]=_0x5063cd,_0x101dfa=(_0x57b426,_0x4df6ba,_0x2c79ce)=>_0x5250a3(_0x57b426,typeof _0x4df6ba!=_0x400835(0x8c)?_0x4df6ba+'':_0x4df6ba,_0x2c79ce);function _0x14c2fa({ref:_0x2fd9dd,..._0x1839b5}){const _0x3031bd=_0x400835,{icon:_0x7d2c7e,id:_0x49cf66,className:_0x4741ef,extend:_0x1a87cb,..._0xb6a311}=_0x1839b5,_0x1a7ff4=(_0x3031bd(0x25f)+_0x49cf66+'\x20'+(_0x4741ef||''))['trim'](),_0x37a3ed=_0x46d347['useRef']('_'+_0x2664fe());return _0x297c68(_0x7d2c7e,''+_0x49cf66,{'defIds':_0x7d2c7e[_0x3031bd(0xad)],'idSuffix':_0x37a3ed[_0x3031bd(0x21b)]},{'ref':_0x2fd9dd,'className':_0x1a7ff4,..._0xb6a311},_0x1a87cb);}function _0x297c68(_0x138938,_0x284b9e,_0x19df2e,_0x4fe5db,_0x46018d){const _0x54554c=_0x400835;return _0x46d347[_0x54554c(0x220)](_0x138938[_0x54554c(0x1af)],{'key':_0x284b9e,..._0x4b96f4(_0x138938,_0x19df2e,_0x46018d),..._0x4fe5db},(_0x2b1eac(_0x138938,_0x19df2e)[_0x54554c(0x276)]||[])[_0x54554c(0x1d9)]((_0x4709e2,_0x3154b0)=>_0x297c68(_0x4709e2,_0x284b9e+'-'+_0x138938[_0x54554c(0x1af)]+'-'+_0x3154b0,_0x19df2e,void 0x0,_0x46018d)));}function _0x4b96f4(_0x9df35,_0x51c309,_0x45dba2){const _0xff594f=_0x400835,_0x1a3d7b={..._0x9df35[_0xff594f(0x1c4)]};_0x45dba2!=null&&_0x45dba2[_0xff594f(0x323)]&&_0x1a3d7b[_0xff594f(0x320)]===_0xff594f(0x323)&&(_0x1a3d7b[_0xff594f(0x320)]=_0x45dba2['colorChannel1']),_0x9df35[_0xff594f(0x1af)]===_0xff594f(0x134)&&_0x1a3d7b['id']&&(_0x1a3d7b['id']=_0x1a3d7b['id']+_0x51c309[_0xff594f(0xc2)]),Object['entries'](_0x1a3d7b)[_0xff594f(0x214)](([_0x471091,_0x2da0e9])=>{const _0x1fe6b3=_0xff594f;_0x471091===_0x1fe6b3(0x134)&&typeof _0x2da0e9=='string'&&(_0x1a3d7b[_0x471091]=_0x2da0e9['replace'](/url\(#(.*)\)/,_0x1fe6b3(0x2bd)+_0x51c309[_0x1fe6b3(0xc2)]+')'));});const {defIds:_0x5d81e7}=_0x51c309;return!_0x5d81e7||_0x5d81e7[_0xff594f(0x248)]===0x0||(_0x9df35[_0xff594f(0x1af)]===_0xff594f(0x1bc)&&_0x1a3d7b['xlink:href']&&(_0x1a3d7b['xlink:href']=_0x1a3d7b[_0xff594f(0x9b)]+_0x51c309[_0xff594f(0xc2)]),Object[_0xff594f(0x20e)](_0x1a3d7b)[_0xff594f(0x214)](([_0x463701,_0x49adc7])=>{const _0x58a1b2=_0xff594f;typeof _0x49adc7==_0x58a1b2(0x355)&&(_0x1a3d7b[_0x463701]=_0x49adc7['replace'](/url\(#(.*)\)/,'url(#$1'+_0x51c309[_0x58a1b2(0xc2)]+')'));})),_0x1a3d7b;}function _0x2b1eac(_0x56bced,_0x47ac8d){const _0x4149f6=_0x400835;var _0x12da39;const {defIds:_0x301861}=_0x47ac8d;return!_0x301861||_0x301861['length']===0x0?_0x56bced:_0x56bced[_0x4149f6(0x1af)]===_0x4149f6(0x182)&&((_0x12da39=_0x56bced[_0x4149f6(0x276)])!=null&&_0x12da39[_0x4149f6(0x248)])?{..._0x56bced,'children':_0x56bced[_0x4149f6(0x276)][_0x4149f6(0x1d9)](_0x319c9a=>typeof _0x319c9a[_0x4149f6(0x1c4)]['id']==_0x4149f6(0x355)&&_0x301861&&_0x301861['includes'](_0x319c9a['attrs']['id'])?{..._0x319c9a,'attrs':{..._0x319c9a[_0x4149f6(0x1c4)],'id':_0x319c9a[_0x4149f6(0x1c4)]['id']+_0x47ac8d[_0x4149f6(0xc2)]}}:_0x319c9a)}:_0x56bced;}function _0x2664fe(){const _0x56f1a7=_0x400835;return Math['random']()['toString'](0x24)[_0x56f1a7(0x28a)](0x2,0x8);}_0x14c2fa[_0x400835(0x9d)]='UniverIcon';const _0xeb345f={'tag':_0x400835(0x243),'attrs':{'xmlns':_0x400835(0x96),'fill':_0x400835(0x193),'viewBox':_0x400835(0x33f),'width':_0x400835(0x2bf),'height':_0x400835(0x2bf)},'children':[{'tag':'g','attrs':{'clipPath':_0x400835(0x2ee)},'children':[{'tag':_0x400835(0xb8),'attrs':{'stroke':_0x400835(0x183),'d':_0x400835(0x2aa),'strokeLinecap':_0x400835(0x234),'strokeLinejoin':_0x400835(0x234),'strokeWidth':1.2}}]},{'tag':_0x400835(0x182),'attrs':{},'children':[{'tag':_0x400835(0x292),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x400835(0xb8),'attrs':{'fill':_0x400835(0xa2),'d':_0x400835(0xb9)}}]}]}],'defIds':[_0x400835(0x237)]},_0x3750c8=_0x46d347[_0x400835(0x1d3)](function(_0x1e084f,_0x29e616){const _0x1d971f=_0x400835;return _0x46d347[_0x1d971f(0x220)](_0x14c2fa,Object[_0x1d971f(0x238)]({},_0x1e084f,{'id':_0x1d971f(0x13c),'ref':_0x29e616,'icon':_0xeb345f}));});_0x3750c8[_0x400835(0x9d)]=_0x400835(0x14f);const _0x3ff377={'tag':_0x400835(0x243),'attrs':{'xmlns':_0x400835(0x96),'fill':_0x400835(0x193),'viewBox':_0x400835(0x247),'width':'1em','height':_0x400835(0x2bf)},'children':[{'tag':'g','attrs':{'clipPath':_0x400835(0x8d)},'children':[{'tag':_0x400835(0xb8),'attrs':{'stroke':'currentColor','d':_0x400835(0x344),'strokeLinecap':'round','strokeLinejoin':_0x400835(0x234),'strokeWidth':1.2}}]},{'tag':_0x400835(0x182),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x400835(0x11d)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x400835(0xb9),'transform':_0x400835(0x358)}}]}]}],'defIds':[_0x400835(0x11d)]},_0x23495e=_0x46d347[_0x400835(0x1d3)](function(_0xb93b2f,_0x52b6c5){const _0x578fb6=_0x400835;return _0x46d347[_0x578fb6(0x220)](_0x14c2fa,Object[_0x578fb6(0x238)]({},_0xb93b2f,{'id':'on-line-icon','ref':_0x52b6c5,'icon':_0x3ff377}));});_0x23495e[_0x400835(0x9d)]=_0x400835(0x23e);function _0x1911bf(_0xd6b3ff){const _0x27ebae=_0x400835;switch(_0xd6b3ff){case _0x5ad2ec[_0x27ebae(0x138)][_0x27ebae(0xbd)]:return _0x27ebae(0x1ae);case _0x5ad2ec[_0x27ebae(0x138)][_0x27ebae(0x1aa)]:return _0x27ebae(0x2fe);case _0x5ad2ec['CollaborationStatus'][_0x27ebae(0x16f)]:return _0x27ebae(0x2c0);case _0x5ad2ec[_0x27ebae(0x138)][_0x27ebae(0xff)]:return _0x27ebae(0x1f9);case _0x5ad2ec[_0x27ebae(0x138)][_0x27ebae(0x221)]:case _0x5ad2ec[_0x27ebae(0x138)][_0x27ebae(0x148)]:return'collabStatus.syncing';case _0x5ad2ec[_0x27ebae(0x138)]['SYNCED']:case _0x5ad2ec[_0x27ebae(0x138)]['PENDING']:return'collabStatus.synced';}}function _0x32aa36(_0x9bc3bf){const _0x18c9a1=_0x400835,{status$:_0x58ade6}=_0x9bc3bf,_0x2c1a7b=_0x13af98[_0x18c9a1(0x2d3)](_0x58ade6,_0x5ad2ec['CollaborationStatus']['NOT_COLLAB']),_0x19a890=_0x13af98[_0x18c9a1(0x179)](_0x43911e[_0x18c9a1(0xc5)]),_0x5068e4=_0x13af98[_0x18c9a1(0x179)](_0x5ad2ec[_0x18c9a1(0x86)]),_0x32d8e9=_0x2c1a7b!==_0x5ad2ec['CollaborationStatus'][_0x18c9a1(0xbd)],_0x52c559=_0x19a890['t'](_0x1911bf(_0x2c1a7b)),_0x83c08d=_0x32d8e9?_0x517de2[_0x18c9a1(0xbc)](_0x23495e,{}):_0x517de2['jsx'](_0x3750c8,{}),_0x568dad=_0x46d347['useCallback'](()=>{const _0x56e214=_0x18c9a1;_0x32d8e9||_0x5068e4[_0x56e214(0x2a3)]();},[_0x32d8e9,_0x5068e4]);function _0x97565d(){const _0x4e9c90=_0x18c9a1;return _0x517de2[_0x4e9c90(0x27f)](_0x4e9c90(0x260),{'className':'univer-flex\x20univer-items-center','onClick':_0x568dad,'children':[_0x517de2['jsx']('div',{'className':_0x339a9a[_0x4e9c90(0x1b4)](_0x4e9c90(0x1cd),{'univer-text-green-500':_0x32d8e9,'univer-text-red-500':!_0x32d8e9}),'children':_0x83c08d}),_0x517de2['jsx']('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x52c559})]});}return _0x32d8e9?_0x97565d():_0x517de2[_0x18c9a1(0xbc)](_0x339a9a[_0x18c9a1(0x289)],{'title':_0x19a890['t'](_0x18c9a1(0x239)),'children':_0x97565d()});}var _0x5ab182=Object['getOwnPropertyDescriptor'],_0x34f711=(_0x5b4bbc,_0x404b5b,_0x1a062b,_0x3ccee0)=>{const _0x40d84c=_0x400835;for(var _0xe01488=_0x3ccee0>0x1?void 0x0:_0x3ccee0?_0x5ab182(_0x404b5b,_0x1a062b):_0x404b5b,_0x567c3b=_0x5b4bbc[_0x40d84c(0x248)]-0x1,_0x3f7582;_0x567c3b>=0x0;_0x567c3b--)(_0x3f7582=_0x5b4bbc[_0x567c3b])&&(_0xe01488=_0x3f7582(_0xe01488)||_0xe01488);return _0xe01488;},_0x3c7ac0=(_0x5dba3d,_0x10253c)=>(_0x515b35,_0x4c74f2)=>_0x10253c(_0x515b35,_0x4c74f2,_0x5dba3d);_0x41602e[_0x400835(0x22f)]=class extends _0x43911e[_0x400835(0x271)]{constructor(_0x3a6d5c,_0x2d98c5,_0x3d0e9a,_0x5a6208){const _0x392010=_0x400835;super(),_0x101dfa(this,_0x392010(0x2c4),new _0x5663a0[(_0x392010(0x1ca))](_0x5ad2ec[_0x392010(0x138)][_0x392010(0xff)])),(this[_0x392010(0x267)]=_0x3a6d5c,this[_0x392010(0x1b5)]=_0x2d98c5,this['_collaborationController']=_0x3d0e9a,this['_uiPartsService']=_0x5a6208,this[_0x392010(0x2ab)](),this[_0x392010(0x304)]());}['_initStatusListener'](){const _0x2b4a3e=_0x400835;this[_0x2b4a3e(0x29e)](this[_0x2b4a3e(0x267)][_0x2b4a3e(0x98)]['pipe'](_0x5663a0['switchMap'](()=>{const _0x487346=_0x2b4a3e,_0x79141a=this['_univerInstanceService'][_0x487346(0x17f)]();return _0x79141a?this[_0x487346(0x13d)]['getCollabEntity$'](_0x79141a[_0x487346(0x2c2)]()):_0x5663a0['of'](null);}),_0x5663a0[_0x2b4a3e(0x294)](_0x267c43=>_0x267c43?_0x267c43[_0x2b4a3e(0x177)]:_0x5663a0['of'](_0x5ad2ec[_0x2b4a3e(0x138)][_0x2b4a3e(0xff)])))[_0x2b4a3e(0x2d6)](_0x5a614f=>{const _0x53c397=_0x2b4a3e;this[_0x53c397(0x2c4)][_0x53c397(0x251)](_0x5a614f);}));}[_0x400835(0x2ab)](){const _0x116706=_0x400835;this[_0x116706(0x29e)](this[_0x116706(0x109)][_0x116706(0x116)](_0x13af98[_0x116706(0x108)]['HEADER_MENU'],()=>_0x13af98[_0x116706(0x321)](_0x5604e1({'status$':this[_0x116706(0x2c4)][_0x116706(0xb2)]()}),this[_0x116706(0x1b5)])));}},_0x41602e[_0x400835(0x22f)]=_0x34f711([_0x3c7ac0(0x0,_0x43911e[_0x400835(0x33b)]),_0x3c7ac0(0x1,_0x43911e[_0x400835(0x200)](_0x43911e[_0x400835(0x1e0)])),_0x3c7ac0(0x2,_0x43911e[_0x400835(0x200)](_0x5ad2ec[_0x400835(0x125)])),_0x3c7ac0(0x3,_0x13af98[_0x400835(0x25c)])],_0x41602e[_0x400835(0x22f)]);function _0x5604e1(_0x183bc9){const {status$:_0x486567}=_0x183bc9;return function(){const _0x1b0a89=_0x1699;return _0x517de2[_0x1b0a89(0xbc)](_0x32aa36,{'status$':_0x486567});};}const _0x41118d=_0x43911e[_0x400835(0x1fc)](_0x400835(0x2ff));var _0x2e646c=Object[_0x400835(0x2e1)],_0x539943=(_0x36d9ea,_0x3bb421,_0x9dc6af,_0x373a81)=>{const _0x4b99b8=_0x400835;for(var _0x39d23d=_0x373a81>0x1?void 0x0:_0x373a81?_0x2e646c(_0x3bb421,_0x9dc6af):_0x3bb421,_0x48f3f8=_0x36d9ea[_0x4b99b8(0x248)]-0x1,_0x26077e;_0x48f3f8>=0x0;_0x48f3f8--)(_0x26077e=_0x36d9ea[_0x48f3f8])&&(_0x39d23d=_0x26077e(_0x39d23d)||_0x39d23d);return _0x39d23d;},_0x4e97c5=(_0x341f2d,_0x3c109d)=>(_0x5d16f3,_0x420228)=>_0x3c109d(_0x5d16f3,_0x420228,_0x341f2d);_0x41602e[_0x400835(0x309)]=class extends _0x43911e[_0x400835(0xfc)]{constructor(_0x50c7f9,_0x2f72bc,_0x20ac77,_0x159252,_0x4c97bb){const _0x4613e7=_0x400835;super(),this['_urlService']=_0x50c7f9,this[_0x4613e7(0x245)]=_0x2f72bc,this[_0x4613e7(0x255)]=_0x20ac77,this[_0x4613e7(0x2db)]=_0x159252,_0x4c97bb?_0x4c97bb==null||_0x4c97bb[_0x4613e7(0x318)]()[_0x4613e7(0x342)](()=>this['_init']()):(this[_0x4613e7(0x245)][_0x4613e7(0xc6)](_0x4613e7(0x348),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x400835(0x32d)](){const _0x55984f=_0x400835,_0x491829=this[_0x55984f(0x353)][_0x55984f(0x35e)](_0x55984f(0x2ba)),_0x2a5b38=this[_0x55984f(0x353)][_0x55984f(0x35e)](_0x55984f(0x1e7)),_0x232f77=this[_0x55984f(0x353)][_0x55984f(0x35e)](_0x55984f(0x1f0));if(!_0x491829||!_0x2a5b38){this[_0x55984f(0x245)][_0x55984f(0xc6)](_0x55984f(0x348),_0x55984f(0x133));return;}const _0x19d2f5=await this[_0x55984f(0x2db)][_0x55984f(0x2ed)](_0x491829,Number(_0x2a5b38),_0x232f77);_0x19d2f5&&_0x19d2f5 instanceof _0x43911e[_0x55984f(0x2e3)]&&this['_setupSubUnitSync'](_0x19d2f5);}async[_0x400835(0x23f)](_0x43768e){const _0x51b497=_0x400835;await this[_0x51b497(0x206)](_0x43768e),_0x43768e[_0x51b497(0xfe)]['pipe'](_0x5663a0[_0x51b497(0x240)](this[_0x51b497(0x19e)]))[_0x51b497(0x2d6)](_0x281f8f=>{_0x281f8f&&this['_updateURLWithCurrentState'](_0x281f8f);}),this[_0x51b497(0x353)][_0x51b497(0x2b2)][_0x51b497(0x2df)](_0x5663a0[_0x51b497(0x240)](this['dispose$']))[_0x51b497(0x2d6)](()=>this[_0x51b497(0x206)](_0x43768e));}['_updateURLWithCurrentState'](_0x4c3a30,_0x2bb0e1=!0x1){const _0x371a08=_0x400835,_0xd9b537=this['_urlService'][_0x371a08(0x35e)]('subunit');_0x4c3a30['getSheetId']()!==_0xd9b537&&this[_0x371a08(0x353)][_0x371a08(0x2f1)](_0x371a08(0x1f0),_0x4c3a30['getSheetId'](),_0x2bb0e1);}async[_0x400835(0x206)](_0x275e89){const _0x13c91e=_0x400835;var _0x4ec6ca;const _0x7aaffd=this[_0x13c91e(0x353)][_0x13c91e(0x35e)](_0x13c91e(0x1f0));if(!_0x7aaffd||!_0x275e89['getSheetBySheetId'](_0x7aaffd)){const _0x4265c0=_0x275e89['getUnhiddenWorksheets']()[0x0],_0x2c5db3=_0x275e89['getSheetBySheetId'](_0x4265c0);if(!_0x2c5db3)return;this[_0x13c91e(0x15d)](_0x2c5db3,!0x0),await this['_commandService']['executeCommand'](_0x17fd56[_0x13c91e(0x34f)]['id'],{'unitId':_0x275e89[_0x13c91e(0x2c2)](),'subUnitId':_0x4265c0});return;}((_0x4ec6ca=_0x275e89[_0x13c91e(0x105)]())==null?void 0x0:_0x4ec6ca['getSheetId']())!==_0x7aaffd&&await this[_0x13c91e(0x255)][_0x13c91e(0x101)](_0x17fd56['SetWorksheetActivateCommand']['id'],{'unitId':_0x275e89[_0x13c91e(0x2c2)](),'subUnitId':_0x7aaffd});}},_0x41602e['CollaborationDataLoaderController']=_0x539943([_0x4e97c5(0x0,_0x41118d),_0x4e97c5(0x1,_0x43911e[_0x400835(0x31e)]),_0x4e97c5(0x2,_0x43911e['ICommandService']),_0x4e97c5(0x3,_0x43911e[_0x400835(0x200)](_0x5ad2ec[_0x400835(0xb5)])),_0x4e97c5(0x4,_0x43911e[_0x400835(0xf5)](_0x4b13bd[_0x400835(0x1f6)]))],_0x41602e[_0x400835(0x309)]);var _0x509f8b=Object[_0x400835(0x2e1)],_0x1a35de=(_0x226db1,_0x581b98,_0x4d21ef,_0x371b1c)=>{for(var _0x185035=_0x371b1c>0x1?void 0x0:_0x371b1c?_0x509f8b(_0x581b98,_0x4d21ef):_0x581b98,_0x173326=_0x226db1['length']-0x1,_0x413e94;_0x173326>=0x0;_0x173326--)(_0x413e94=_0x226db1[_0x173326])&&(_0x185035=_0x413e94(_0x185035)||_0x185035);return _0x185035;},_0x4ce55f=(_0x687b30,_0x400e29)=>(_0x3c8b50,_0x401785)=>_0x400e29(_0x3c8b50,_0x401785,_0x687b30);let _0xeff9e9=class extends _0x43911e[_0x400835(0xfc)]{constructor(_0x469e2c,_0x934c04){const _0x33e62f=_0x400835;super(),this[_0x33e62f(0x1e8)]=_0x469e2c,this[_0x33e62f(0x12b)]=_0x934c04,this[_0x33e62f(0x32d)]();}[_0x400835(0x32d)](){const _0x3d3ff2=_0x400835,_0x4614e4=this;this[_0x3d3ff2(0x29e)](this[_0x3d3ff2(0x1e8)]['addClipboardHook']({'onBeforePasteImage':async _0x7bdb91=>{const _0x376887=_0x3d3ff2,_0x52aec5=await _0x4614e4[_0x376887(0x12b)][_0x376887(0x158)](_0x7bdb91);return _0x52aec5?{'source':_0x52aec5['source'],'imageSourceType':_0x52aec5['imageSourceType']}:null;}}));}};_0xeff9e9=_0x1a35de([_0x4ce55f(0x0,_0xf36ffa[_0x400835(0x202)]),_0x4ce55f(0x1,_0x1252f1[_0x400835(0x1c1)])],_0xeff9e9);const _0x4b223f=[_0x400835(0x7c),_0x400835(0x186),_0x400835(0x7f),_0x400835(0x2a0),_0x400835(0x1d0),'yellow.400'];class _0xde5efe extends _0x43911e[_0x400835(0x271)]{constructor(){const _0xeda316=_0x400835;super(...arguments),_0x101dfa(this,_0xeda316(0x1a4),new Map()),_0x101dfa(this,'_colorIndex',0x0);}[_0x400835(0x10d)](_0x330b58){const _0x4f3dea=_0x400835;if(this[_0x4f3dea(0x1a4)][_0x4f3dea(0x156)](_0x330b58))return this[_0x4f3dea(0x1a4)][_0x4f3dea(0x1db)](_0x330b58);const _0x4ad45b=_0x4b223f[this[_0x4f3dea(0xd7)]];return this[_0x4f3dea(0xd7)]=(this[_0x4f3dea(0xd7)]+0x1)%_0x4b223f['length'],this['_assignedColors']['set'](_0x330b58,_0x4ad45b),_0x4ad45b;}}function _0x454cce(_0x30481c){const _0x441908=_0x400835;let _0x5d5956='';for(const _0x11006f of _0x30481c){const {startOffset:_0xacb504,endOffset:_0x5038c4,isActive:_0x28fa25,rangeType:_0x16b502,segmentId:_0x2c852e,segmentPage:_0x42ebd5}=_0x11006f;_0x5d5956[_0x441908(0x248)]&&(_0x5d5956+=','),_0x5d5956+=_0xacb504+':'+_0x5038c4+':'+(_0x28fa25?'1':'0')+':'+_0x16b502+':'+_0x2c852e+':'+_0x42ebd5;}return _0x5d5956;}function _0x2e0ad0(_0x39f969){const _0x5f1c4b=_0x400835,_0x58b1c3=_0x39f969[_0x5f1c4b(0x175)](','),_0xa09626=[];for(const _0xd10a54 of _0x58b1c3){const [_0x1b7659,_0xad25ec,_0x3e30f5,_0x412f16,_0x48ff83,_0x47372e]=_0xd10a54[_0x5f1c4b(0x175)](':');_0xa09626[_0x5f1c4b(0x347)]({'startOffset':Number(_0x1b7659),'endOffset':Number(_0xad25ec),'collapsed':_0x1b7659===_0xad25ec,'isActive':_0x3e30f5==='1','rangeType':_0x412f16===_0x43911e[_0x5f1c4b(0x12a)]['TEXT']?_0x43911e[_0x5f1c4b(0x12a)]['TEXT']:_0x43911e[_0x5f1c4b(0x12a)][_0x5f1c4b(0x14c)],'segmentId':typeof _0x48ff83==_0x5f1c4b(0x355)?String(_0x48ff83):'','segmentPage':Number(_0x47372e!=null?_0x47372e:-0x1)});}return _0xa09626[_0x5f1c4b(0x262)](_0xea8962=>_0xea8962['isActive'])||(_0xa09626[0x0]['isActive']=!0x0),_0xa09626;}class _0x14f8b7 extends _0x43911e[_0x400835(0xfc)]{constructor(){const _0x52675b=_0x400835;super(...arguments),_0x101dfa(this,_0x52675b(0x1e4),new _0x5663a0['BehaviorSubject'](null)),_0x101dfa(this,_0x52675b(0x164),this[_0x52675b(0x1e4)]['asObservable']());}[_0x400835(0x286)](_0x3a986a){const _0x56608f=_0x400835,{unitID:_0x5dc2cd,memberID:_0x51275d,textRanges:_0x1dd1d4}=_0x3a986a,_0x205547=_0x454cce(_0x1dd1d4);if(_0x205547==='')return;const _0x5a2cca={'unitID':_0x5dc2cd,'memberID':_0x51275d,'selection':_0x205547};this[_0x56608f(0x1e4)]['next'](_0x5a2cca);}}var _0x54de44=Object['getOwnPropertyDescriptor'],_0x17c3b0=(_0x5d293d,_0x2915e9,_0x4da6b8,_0x19aadd)=>{const _0x1e2d52=_0x400835;for(var _0x4f030a=_0x19aadd>0x1?void 0x0:_0x19aadd?_0x54de44(_0x2915e9,_0x4da6b8):_0x2915e9,_0x535f5d=_0x5d293d[_0x1e2d52(0x248)]-0x1,_0x3f1fe0;_0x535f5d>=0x0;_0x535f5d--)(_0x3f1fe0=_0x5d293d[_0x535f5d])&&(_0x4f030a=_0x3f1fe0(_0x4f030a)||_0x4f030a);return _0x4f030a;},_0x52b935=(_0x3034b4,_0x5188cb)=>(_0x213e64,_0x4d8647)=>_0x5188cb(_0x213e64,_0x4d8647,_0x3034b4);const _0x2693fa=0x12c,_0x56053e=0x64;let _0x235d04=class extends _0x43911e[_0x400835(0xfc)]{constructor(_0x45bd48,_0x5ce0c9,_0x2c4fcb,_0x7d3ca1,_0x4b3900,_0x29b16e,_0x557292,_0x36cd88,_0x3a79d3){const _0xf97892=_0x400835;super(),_0x101dfa(this,_0xf97892(0xee),!0x1),_0x101dfa(this,_0xf97892(0x32d),!0x1),_0x101dfa(this,'_cursorInfo$',new _0x5663a0[(_0xf97892(0x1ca))](new Map())),_0x101dfa(this,_0xf97892(0x306),this[_0xf97892(0x274)][_0xf97892(0xb2)]()),_0x101dfa(this,_0xf97892(0x178),new _0x5663a0['BehaviorSubject']([])),_0x101dfa(this,'roomMembers$',this[_0xf97892(0x178)][_0xf97892(0x2df)](_0x5663a0[_0xf97892(0x24a)](_0x2693fa))),_0x101dfa(this,'_updateLocalCursor',_0x43911e['debounce'](_0x142532=>{const _0x1d2301=_0xf97892,_0x4143ef={'eventID':_0x2761bb[_0x1d2301(0x201)][_0x1d2301(0x161)],'data':{'unitID':this['unitID'],'memberID':this[_0x1d2301(0x2e7)][_0x1d2301(0xe1)](),'selection':_0x454cce(_0x142532)}};this['_session'][_0x1d2301(0xf3)](_0x4143ef,this[_0x1d2301(0x1dd)]);},_0x56053e)),(this[_0xf97892(0x1dd)]=_0x45bd48,this['_session']=_0x5ce0c9,this[_0xf97892(0x1b5)]=_0x2c4fcb,this[_0xf97892(0x1f3)]=_0x7d3ca1,this['_memberService']=_0x4b3900,this[_0xf97892(0x341)]=_0x29b16e,this['_transformService']=_0x557292,this['_univerInstanceService']=_0x36cd88,this[_0xf97892(0x255)]=_0x3a79d3);}get[_0x400835(0x107)](){const _0x4f08b9=_0x400835;return this[_0x4f08b9(0x274)][_0x4f08b9(0x256)]();}get[_0x400835(0x311)](){const _0x5ce0b5=_0x400835;return this['_roomMembers$'][_0x5ce0b5(0x256)]();}[_0x400835(0x336)](){const _0xef6373=_0x400835;super[_0xef6373(0x336)](),this[_0xef6373(0x274)][_0xef6373(0x251)](new Map()),this[_0xef6373(0x274)][_0xef6373(0x272)](),this[_0xef6373(0x178)][_0xef6373(0x251)]([]),this['_roomMembers$'][_0xef6373(0x272)]();}['init'](){const _0xa27810=_0x400835;this[_0xa27810(0x32d)]||(this[_0xa27810(0x32d)]=!0x0,this['_session'][_0xa27810(0x11e)][_0xa27810(0x2df)](_0x5663a0[_0xa27810(0x240)](this[_0xa27810(0x19e)]))[_0xa27810(0x2d6)](_0x5c7b61=>{const _0x1a22c3=_0xa27810;_0x5c7b61===_0x5ad2ec[_0x1a22c3(0x15b)][_0x1a22c3(0x17e)]?this[_0x1a22c3(0x7e)]():this[_0x1a22c3(0x111)]();}),this[_0xa27810(0x2e7)][_0xa27810(0x258)]['pipe'](_0x5663a0[_0xa27810(0x240)](this[_0xa27810(0x19e)]))[_0xa27810(0x2d6)](_0x509cce=>{const _0x207f0c=_0xa27810,_0x123b7a=_0x509cce[_0x207f0c(0xa0)];_0x123b7a===_0x2761bb[_0x207f0c(0x201)][_0x207f0c(0x161)]&&this[_0x207f0c(0x345)](_0x509cce),_0x123b7a===_0x2761bb[_0x207f0c(0x201)]['USERS_LEAVE']&&this[_0x207f0c(0x29d)](_0x509cce);}),this['disposeWithMe'](this[_0xa27810(0x255)][_0xa27810(0x30c)](_0x3e6fce=>{const _0x6c4ecb=_0xa27810,_0x8c7d74=_0x3e6fce[_0x6c4ecb(0xa8)];_0x8c7d74!=null&&this[_0x6c4ecb(0xee)]&&_0x3e6fce['id']===_0x4d8e11['SetTextSelectionsOperation']['id']&&_0x8c7d74['unitId']===this[_0x6c4ecb(0x1dd)]&&_0x8c7d74['isEditing']===!0x1&&_0x8c7d74['ranges'][_0x6c4ecb(0x248)]>0x0&&this['_updateLocalCursor'](_0x8c7d74[_0x6c4ecb(0x1d6)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0xa27810(0x2df)](_0x5663a0[_0xa27810(0x240)](this['dispose$']))[_0xa27810(0x2d6)](_0x47fe9c=>{const _0x5e5e10=_0xa27810;if((_0x47fe9c==null?void 0x0:_0x47fe9c['unitID'])!==this[_0x5e5e10(0x1dd)])return;const _0x30aa01={'eventID':_0x2761bb['CollaborationEvent'][_0x5e5e10(0x161)],'data':_0x47fe9c};this[_0x5e5e10(0x345)](_0x30aa01);}),this[_0xa27810(0x29e)](this[_0xa27810(0x255)][_0xa27810(0x30c)](_0x3a96aa=>{const _0x227633=_0xa27810;if(_0x3a96aa['params']==null)return;const _0xf414b1=_0x3a96aa[_0x227633(0xa8)];if(_0x3a96aa['id']!==_0x4d8e11[_0x227633(0x254)]['id']||_0xf414b1[_0x227633(0x9a)]!==this['unitID'])return;const _0x2585df={'id':'doc.mutation.rich-text-editing','params':_0xf414b1},_0x503980=this[_0x227633(0x107)];for(const [_0x3a84c0,_0x58be91]of _0x503980){const _0x118748={'id':_0x227633(0x2da),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x58be91[_0x227633(0x1d6)]}},_0x18af8b=this[_0x227633(0x334)][_0x227633(0x31b)](_0x2585df,_0x118748,!0x1);if(_0x2761bb[_0x227633(0x18c)](_0x18af8b))throw _0x18af8b[_0x227633(0x176)];_0x503980['set'](_0x3a84c0,{..._0x58be91,'ranges':_0x18af8b[_0x227633(0x2cd)][_0x227633(0xa8)][_0x227633(0x298)]});}queueMicrotask(()=>{const _0x1122fa=_0x227633;this[_0x1122fa(0x274)][_0x1122fa(0x251)](_0x503980);});})));}[_0x400835(0x345)](_0xe6f60b){const _0x2500f3=_0x400835;var _0x6b21a9,_0x41c346;const {memberID:_0x8f4673,selection:_0x3a9f5a}=_0xe6f60b[_0x2500f3(0x29c)],_0x268a63=_0x2e0ad0(_0x3a9f5a),_0x4b67c3=(_0x41c346=(_0x6b21a9=this[_0x2500f3(0xc7)][_0x2500f3(0x32f)](this[_0x2500f3(0x1dd)],_0x8f4673))==null?void 0x0:_0x6b21a9[_0x2500f3(0x115)])!=null?_0x41c346:_0x2500f3(0x17b),_0x248c26={'color':this[_0x2500f3(0x1f3)][_0x2500f3(0x10d)](_0x8f4673),'name':_0x4b67c3,'ranges':_0x268a63},_0x4c4857=this['cursorInfo'];_0x4c4857[_0x2500f3(0x198)](_0x8f4673,_0x248c26),this[_0x2500f3(0x274)][_0x2500f3(0x251)](_0x4c4857);}[_0x400835(0x29d)](_0x27190e){const _0x16b844=_0x400835,{memberID:_0x1d8154}=_0x27190e[_0x16b844(0x29c)],_0x579b05=this[_0x16b844(0x107)];_0x579b05[_0x16b844(0x8b)](_0x1d8154),this[_0x16b844(0x274)][_0x16b844(0x251)](_0x579b05);}['_toggleOnline'](){const _0x121ce0=_0x400835;var _0x381726;if(this[_0x121ce0(0xee)]=!0x0,((_0x381726=this[_0x121ce0(0x267)][_0x121ce0(0x17f)]())==null?void 0x0:_0x381726['getUnitId']())!==this['unitID'])return;const _0x485916=this['_injector'][_0x121ce0(0x1db)](_0x4d8e11['DocSelectionManagerService'])['getDocRanges']();Array[_0x121ce0(0xac)](_0x485916)&&_0x485916[_0x121ce0(0x248)]>0x0&&this[_0x121ce0(0x35d)](_0x485916);}[_0x400835(0x111)](){const _0x426150=_0x400835;this[_0x426150(0xee)]=!0x1;}};_0x235d04=_0x17c3b0([_0x52b935(0x2,_0x43911e[_0x400835(0x200)](_0x43911e['Injector'])),_0x52b935(0x3,_0x43911e[_0x400835(0x200)](_0xde5efe)),_0x52b935(0x4,_0x43911e[_0x400835(0x200)](_0x5ad2ec[_0x400835(0x231)])),_0x52b935(0x5,_0x43911e[_0x400835(0x200)](_0x14f8b7)),_0x52b935(0x6,_0x2761bb[_0x400835(0x242)]),_0x52b935(0x7,_0x43911e[_0x400835(0x33b)]),_0x52b935(0x8,_0x43911e[_0x400835(0x90)])],_0x235d04);var _0x2272a2=Object[_0x400835(0x2e1)],_0x47100d=(_0xe2e9b,_0x4f6127,_0x1109f1,_0x4c4822)=>{const _0xec137f=_0x400835;for(var _0x57d1b2=_0x4c4822>0x1?void 0x0:_0x4c4822?_0x2272a2(_0x4f6127,_0x1109f1):_0x4f6127,_0x4fce8a=_0xe2e9b[_0xec137f(0x248)]-0x1,_0x273241;_0x4fce8a>=0x0;_0x4fce8a--)(_0x273241=_0xe2e9b[_0x4fce8a])&&(_0x57d1b2=_0x273241(_0x57d1b2)||_0x57d1b2);return _0x57d1b2;},_0x423771=(_0x11a781,_0x22efad)=>(_0x423380,_0x201634)=>_0x22efad(_0x423380,_0x201634,_0x11a781);const _0x16c5c3=0x12c,_0x2a6acb=0x64,_0x1fbd3e=()=>{let _0x2b2a20=[],_0x614162=!0x1;return _0x343cfa=>{const _0x2952fa=_0x1699;_0x2b2a20[_0x2952fa(0x347)](_0x343cfa),_0x614162||(_0x614162=!0x0,setTimeout(()=>{_0x2b2a20['forEach'](_0x530dca=>_0x530dca()),_0x2b2a20=[],_0x614162=!0x1;}));};};let _0x1e7040=class extends _0x43911e[_0x400835(0xfc)]{constructor(_0x31df1d,_0x5a6027,_0x561673,_0x44fcc2,_0x161aa5,_0x4ee23e,_0x5891bc,_0x18c7dc){const _0x493fa6=_0x400835;super(),_0x101dfa(this,_0x493fa6(0xee),!0x1),_0x101dfa(this,_0x493fa6(0x32d),!0x1),_0x101dfa(this,'_cursorInfo$',new _0x5663a0['BehaviorSubject'](new Map())),_0x101dfa(this,_0x493fa6(0x306),this['_cursorInfo$'][_0x493fa6(0xb2)]()),_0x101dfa(this,_0x493fa6(0x178),new _0x5663a0[(_0x493fa6(0x1ca))]([])),_0x101dfa(this,_0x493fa6(0x1df),this['_roomMembers$'][_0x493fa6(0x2df)](_0x5663a0[_0x493fa6(0x24a)](_0x16c5c3))),_0x101dfa(this,'_updateLocalCursor',_0x43911e[_0x493fa6(0x15a)]((_0xf42c68,_0x2da7db)=>{const _0x5b9cbe=_0x493fa6,_0xaa4e8a={'eventID':_0x2761bb['CollaborationEvent'][_0x5b9cbe(0x161)],'data':{'unitID':this[_0x5b9cbe(0x1dd)],'memberID':this[_0x5b9cbe(0x2e7)][_0x5b9cbe(0xe1)](),'selection':_0x307b3c[_0x5b9cbe(0x10a)](_0xf42c68,_0x2da7db[_0x5b9cbe(0x2fc)])}};this[_0x5b9cbe(0x2e7)][_0x5b9cbe(0xf3)](_0xaa4e8a,this[_0x5b9cbe(0x1dd)]);},_0x2a6acb)),(this[_0x493fa6(0x1dd)]=_0x31df1d,this[_0x493fa6(0x2e7)]=_0x5a6027,this[_0x493fa6(0x1b5)]=_0x561673,this[_0x493fa6(0x1f3)]=_0x44fcc2,this['_memberService']=_0x161aa5,this[_0x493fa6(0x267)]=_0x4ee23e,this['_commandService']=_0x5891bc,this[_0x493fa6(0x140)]=_0x18c7dc);}get['cursorInfo'](){const _0x4ee883=_0x400835;return this[_0x4ee883(0x274)][_0x4ee883(0x256)]();}get[_0x400835(0x311)](){const _0x528cfc=_0x400835;return this[_0x528cfc(0x178)]['getValue']();}['dispose'](){const _0x54ceb6=_0x400835;super[_0x54ceb6(0x336)](),this[_0x54ceb6(0x274)][_0x54ceb6(0x251)](new Map()),this[_0x54ceb6(0x274)][_0x54ceb6(0x272)](),this[_0x54ceb6(0x178)][_0x54ceb6(0x251)]([]),this[_0x54ceb6(0x178)]['complete']();}['init'](){const _0x505e1c=_0x400835;this[_0x505e1c(0x32d)]||(this[_0x505e1c(0x32d)]=!0x0,this[_0x505e1c(0x2e7)]['sessionStatus$'][_0x505e1c(0x2df)](_0x5663a0['takeUntil'](this[_0x505e1c(0x19e)]))['subscribe'](_0x8a1d81=>{const _0x50c57f=_0x505e1c;_0x8a1d81===_0x5ad2ec[_0x50c57f(0x15b)]['ONLINE']?this[_0x50c57f(0x7e)]():this[_0x50c57f(0x111)]();}),this['_session']['event$']['pipe'](_0x5663a0[_0x505e1c(0x240)](this[_0x505e1c(0x19e)]))[_0x505e1c(0x2d6)](_0x204cce=>{const _0x636472=_0x505e1c,_0x424f0c=_0x204cce[_0x636472(0xa0)];_0x424f0c===_0x2761bb[_0x636472(0x201)][_0x636472(0x161)]&&this[_0x636472(0x345)](_0x204cce),_0x424f0c===_0x2761bb[_0x636472(0x201)]['USERS_LEAVE']&&this[_0x636472(0x29d)](_0x204cce);}),this[_0x505e1c(0x9e)](),this[_0x505e1c(0x29e)](this['_commandService']['onCommandExecuted'](_0x1bc973=>{const _0x30337e=_0x505e1c;if(this[_0x30337e(0xee)]&&_0x1bc973['id']===_0x17fd56[_0x30337e(0x31a)]['id']&&_0x1bc973['params'][_0x30337e(0x9a)]===this[_0x30337e(0x1dd)]){const _0x485b3b=_0x1bc973[_0x30337e(0xa8)];this[_0x30337e(0x35d)](_0x485b3b['subUnitId'],_0x485b3b['selections'][0x0]);}})));}[_0x400835(0x345)](_0x26862a){const _0x183c8c=_0x400835;var _0x3e01f5,_0x3b7616;const {memberID:_0xa9dc3a,selection:_0x1fd9cc}=_0x26862a[_0x183c8c(0x29c)],{sheetName:_0x5bf8ee,range:_0x21dfeb}=_0x307b3c[_0x183c8c(0x15f)](_0x1fd9cc),_0x4b9df8={'name':(_0x3b7616=(_0x3e01f5=this['_memberService'][_0x183c8c(0x32f)](this['unitID'],_0xa9dc3a))==null?void 0x0:_0x3e01f5[_0x183c8c(0x115)])!=null?_0x3b7616:_0x183c8c(0x17b),'range':this[_0x183c8c(0x303)](_0x5bf8ee,_0x21dfeb),'sheetID':_0x5bf8ee,'color':this[_0x183c8c(0x1f3)][_0x183c8c(0x10d)](_0xa9dc3a),'selection':_0x1fd9cc},_0x161bbe=this['cursorInfo'];_0x161bbe['set'](_0xa9dc3a,_0x4b9df8),this['_cursorInfo$'][_0x183c8c(0x251)](_0x161bbe);}[_0x400835(0x29d)](_0x196b9b){const _0x31034d=_0x400835,{memberID:_0x3e66d0}=_0x196b9b[_0x31034d(0x29c)],_0x1b7905=this['cursorInfo'];_0x1b7905[_0x31034d(0x8b)](_0x3e66d0),this[_0x31034d(0x274)]['next'](_0x1b7905);}['_getMergeRange'](_0x1f012f,_0x34b5e2){const _0x5b2547=_0x400835;var _0x39f8e1,_0x1db818;const _0x1632d6=(_0x1db818=(_0x39f8e1=this[_0x5b2547(0x267)]['getUniverSheetInstance'](this[_0x5b2547(0x1dd)]))==null?void 0x0:_0x39f8e1[_0x5b2547(0x135)](_0x1f012f))==null?void 0x0:_0x1db818[_0x5b2547(0x10f)]();return(_0x1632d6==null?void 0x0:_0x1632d6[_0x5b2547(0x1a9)](_0x5a25b4=>_0x43911e[_0x5b2547(0x21c)][_0x5b2547(0x16e)](_0x5a25b4,_0x34b5e2)))||_0x34b5e2;}['_onRefRangeChange'](){const _0x38731b=_0x400835,_0x1adfb8=new _0x43911e[(_0x38731b(0xed))](),_0x27487b=_0x1fbd3e(),_0x9730b6=()=>{const _0xdcc0c8=_0x38731b;_0x1adfb8[_0xdcc0c8(0x336)]();const _0x5efa7f=(_0x6822d8,_0x55cd34,_0x1b461a,_0x404305)=>{const _0x3cab1a=_0xdcc0c8;let _0x3f5d6a=[];switch(_0x6822d8['id']){case _0x17fd56['EffectRefRangId'][_0x3cab1a(0x82)]:{_0x3f5d6a=_0x17fd56[_0x3cab1a(0x313)](_0x6822d8,_0x404305);break;}case _0x17fd56[_0x3cab1a(0x1b3)][_0x3cab1a(0x2ce)]:{_0x3f5d6a=_0x17fd56['handleDeleteRangeMoveUp'](_0x6822d8,_0x404305);break;}case _0x17fd56[_0x3cab1a(0x1b3)]['InsertColCommandId']:{_0x3f5d6a=_0x17fd56[_0x3cab1a(0x16a)](_0x6822d8,_0x404305);break;}case _0x17fd56['EffectRefRangId'][_0x3cab1a(0x1fd)]:{_0x3f5d6a=_0x17fd56[_0x3cab1a(0x23b)](_0x6822d8,_0x404305);break;}case _0x17fd56['EffectRefRangId'][_0x3cab1a(0xbe)]:{_0x3f5d6a=_0x17fd56[_0x3cab1a(0x16c)](_0x6822d8,_0x404305);break;}case _0x17fd56[_0x3cab1a(0x1b3)][_0x3cab1a(0x204)]:{_0x3f5d6a=_0x17fd56[_0x3cab1a(0xf8)](_0x6822d8,_0x404305);break;}case _0x17fd56[_0x3cab1a(0x1b3)][_0x3cab1a(0x33a)]:{_0x3f5d6a=_0x17fd56[_0x3cab1a(0x14d)](_0x6822d8,_0x404305);break;}case _0x17fd56['EffectRefRangId'][_0x3cab1a(0x259)]:{_0x3f5d6a=_0x17fd56['handleIRemoveCol'](_0x6822d8,_0x404305);break;}case _0x17fd56[_0x3cab1a(0x1b3)]['RemoveRowCommandId']:{_0x3f5d6a=_0x17fd56[_0x3cab1a(0x2a9)](_0x6822d8,_0x404305);break;}}const _0x5b3152=_0x17fd56[_0x3cab1a(0x163)](_0x3f5d6a,_0x404305),_0x1e2ac0=this[_0x3cab1a(0x107)][_0x3cab1a(0x1db)](_0x55cd34);if(_0x1e2ac0&&_0x5b3152){const _0x23a427={..._0x1e2ac0,'range':_0x5b3152};this[_0x3cab1a(0x107)][_0x3cab1a(0x198)](_0x55cd34,_0x23a427),_0x27487b(()=>{const _0x2d91ae=_0x3cab1a,_0x36ecb1=this[_0x2d91ae(0x140)]['registerRefRange'](_0x5b3152,_0x55e406=>(_0x36ecb1[_0x2d91ae(0x336)](),_0x5efa7f(_0x55e406,_0x55cd34,_0x1b461a,_0x5b3152)));_0x1adfb8[_0x2d91ae(0x2a7)](_0x36ecb1);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0xdcc0c8(0x214)]((_0x139769,_0x482b2d)=>{const _0x320683=_0xdcc0c8,{range:_0x32ea60,sheetID:_0x16e37e}=_0x139769,_0x4f0fe0=this[_0x320683(0x140)][_0x320683(0x273)](_0x32ea60,_0xbf379a=>(_0x4f0fe0[_0x320683(0x336)](),_0x5efa7f(_0xbf379a,_0x482b2d,_0x16e37e,_0x32ea60)));_0x1adfb8[_0x320683(0x2a7)](_0x4f0fe0);});};this['disposeWithMe'](_0x43911e[_0x38731b(0x20f)](this[_0x38731b(0x274)][_0x38731b(0x2d6)](()=>{_0x9730b6();})));}['_toggleOnline'](){const _0x55b262=_0x400835;var _0x4e1a09,_0x1b0de3;if(this[_0x55b262(0xee)]=!0x0,((_0x4e1a09=this[_0x55b262(0x267)][_0x55b262(0x17f)]())==null?void 0x0:_0x4e1a09['getUnitId']())!==this[_0x55b262(0x1dd)])return;const _0x5c847b=(_0x1b0de3=this[_0x55b262(0x1b5)][_0x55b262(0x1db)](_0x17fd56[_0x55b262(0x15e)])['getCurrentSelections']())==null?void 0x0:_0x1b0de3[0x0],_0x3ed160=this['_univerInstanceService']['getCurrentUnitForType'](_0x43911e[_0x55b262(0x20b)][_0x55b262(0x35a)])['getActiveSheet']();_0x5c847b&&_0x3ed160&&this[_0x55b262(0x35d)](_0x3ed160[_0x55b262(0xa3)](),_0x5c847b);}[_0x400835(0x111)](){this['_online']=!0x1;}};_0x1e7040=_0x47100d([_0x423771(0x2,_0x43911e[_0x400835(0x200)](_0x43911e['Injector'])),_0x423771(0x3,_0x43911e[_0x400835(0x200)](_0xde5efe)),_0x423771(0x4,_0x43911e[_0x400835(0x200)](_0x5ad2ec[_0x400835(0x231)])),_0x423771(0x5,_0x43911e[_0x400835(0x33b)]),_0x423771(0x6,_0x43911e[_0x400835(0x90)]),_0x423771(0x7,_0x43911e['Inject'](_0x17fd56[_0x400835(0x18b)]))],_0x1e7040);var _0x32d4e0=Object[_0x400835(0x2e1)],_0x2c73b6=(_0x3e359c,_0x4a3276,_0xa7adec,_0x19dd16)=>{const _0x22a12=_0x400835;for(var _0x2b98ae=_0x19dd16>0x1?void 0x0:_0x19dd16?_0x32d4e0(_0x4a3276,_0xa7adec):_0x4a3276,_0x4cfdc0=_0x3e359c[_0x22a12(0x248)]-0x1,_0x433344;_0x4cfdc0>=0x0;_0x4cfdc0--)(_0x433344=_0x3e359c[_0x4cfdc0])&&(_0x2b98ae=_0x433344(_0x2b98ae)||_0x2b98ae);return _0x2b98ae;},_0x22c54c=(_0x4713fe,_0x4fc256)=>(_0x44ff44,_0x79a836)=>_0x4fc256(_0x44ff44,_0x79a836,_0x4713fe);let _0x3e1d94=class extends _0x43911e[_0x400835(0xfc)]{constructor(_0xaf4de0,_0x2c0920,_0x53f2e9){const _0xb455ef=_0x400835;super(),_0x101dfa(this,'_entities',new Map()),_0x101dfa(this,_0xb455ef(0x343),new _0x5663a0[(_0xb455ef(0x210))]()),(this[_0xb455ef(0x267)]=_0xaf4de0,this[_0xb455ef(0x1b5)]=_0x2c0920,this[_0xb455ef(0x207)]=_0x53f2e9,this[_0xb455ef(0x32d)]());}[_0x400835(0x336)](){const _0xd6fd0c=_0x400835;super[_0xd6fd0c(0x336)](),this[_0xd6fd0c(0x343)][_0xd6fd0c(0x272)](),this[_0xd6fd0c(0x241)][_0xd6fd0c(0x214)](_0x5c4790=>_0x5c4790[_0xd6fd0c(0x336)]());}[_0x400835(0x26c)](_0x5b7836){const _0x13c456=_0x400835;return this[_0x13c456(0x241)][_0x13c456(0x156)](_0x5b7836)?this[_0x13c456(0x241)][_0x13c456(0x1db)](_0x5b7836)['cursorInfo$']:this[_0x13c456(0x343)][_0x13c456(0x2df)](_0x5663a0[_0x13c456(0x192)](_0x5074cd=>_0x5074cd[_0x13c456(0x1dd)]===_0x5b7836),_0x5663a0[_0x13c456(0x294)](_0x286061=>_0x286061[_0x13c456(0x306)]));}[_0x400835(0x32d)](){const _0x420236=_0x400835;this[_0x420236(0x267)][_0x420236(0xdd)](_0x43911e[_0x420236(0x20b)][_0x420236(0x35a)])['pipe'](_0x5663a0[_0x420236(0x240)](this[_0x420236(0x19e)]))[_0x420236(0x2d6)](async _0x4ca937=>{const _0x375fda=_0x420236,_0x44ac06=_0x4ca937[_0x375fda(0x2c2)](),_0x8ed41d=await this[_0x375fda(0x103)](_0x44ac06);this[_0x375fda(0x343)][_0x375fda(0x251)](_0x8ed41d),this[_0x375fda(0x241)]['set'](_0x44ac06,_0x8ed41d);}),this['_univerInstanceService'][_0x420236(0xdd)](_0x43911e['UniverInstanceType']['UNIVER_DOC'])[_0x420236(0x2df)](_0x5663a0['takeUntil'](this['dispose$']))['pipe'](_0x5663a0[_0x420236(0x192)](_0x455e77=>!_0x455e77[_0x420236(0x2c2)]()[_0x420236(0x1c9)]('__')))[_0x420236(0x2d6)](async _0x5e08ba=>{const _0x12254b=_0x420236,_0x2a81ba=_0x5e08ba[_0x12254b(0x2c2)](),_0x294bef=await this[_0x12254b(0xcd)](_0x2a81ba);this[_0x12254b(0x343)][_0x12254b(0x251)](_0x294bef),this[_0x12254b(0x241)][_0x12254b(0x198)](_0x2a81ba,_0x294bef);}),_0x5663a0[_0x420236(0x1ec)](this['_univerInstanceService'][_0x420236(0x23a)](_0x43911e[_0x420236(0x20b)]['UNIVER_DOC']),this[_0x420236(0x267)][_0x420236(0x23a)](_0x43911e[_0x420236(0x20b)][_0x420236(0x35a)]))[_0x420236(0x2df)](_0x5663a0[_0x420236(0x240)](this[_0x420236(0x19e)]))[_0x420236(0x2d6)](_0x2917ef=>{const _0x1ffe99=_0x420236,_0x24450a=_0x2917ef[_0x1ffe99(0x2c2)](),_0x595533=this[_0x1ffe99(0x241)][_0x1ffe99(0x1db)](_0x24450a);_0x595533&&(_0x595533['dispose'](),this[_0x1ffe99(0x241)][_0x1ffe99(0x8b)](_0x24450a));});}async[_0x400835(0x103)](_0x5c79b9){const _0x58b82c=_0x400835,_0x599fa2=await this[_0x58b82c(0x207)]['requireSession'](_0x5c79b9),_0x5d1eb9=this[_0x58b82c(0x1b5)][_0x58b82c(0x188)](_0x1e7040,_0x5c79b9,_0x599fa2);return _0x5d1eb9[_0x58b82c(0x2a5)](),_0x5d1eb9;}async['_startDocCollabCursor'](_0xf9aebe){const _0xba343e=_0x400835,_0x39c2a0=await this[_0xba343e(0x207)][_0xba343e(0x1d8)](_0xf9aebe),_0x2cde23=this[_0xba343e(0x1b5)]['createInstance'](_0x235d04,_0xf9aebe,_0x39c2a0);return _0x2cde23['init'](),_0x2cde23;}};_0x3e1d94=_0x2c73b6([_0x22c54c(0x0,_0x43911e['IUniverInstanceService']),_0x22c54c(0x1,_0x43911e['Inject'](_0x43911e['Injector'])),_0x22c54c(0x2,_0x43911e[_0x400835(0x200)](_0x5ad2ec[_0x400835(0x86)]))],_0x3e1d94);const _0x18f108=0x14,_0x4a2cf8=0xc8,_0x286d7b=0x4,_0x5c4345=0x5;function _0x3af3a3(_0x102adb,_0x3dbed0){const _0x1ac288=_0x400835;let {radius:_0x366cd3,width:_0x2a7626,height:_0xc6da22}=_0x3dbed0;_0x366cd3=_0x366cd3!=null?_0x366cd3:0x0,_0x2a7626=_0x2a7626!=null?_0x2a7626:0x1e,_0xc6da22=_0xc6da22!=null?_0xc6da22:0x1e;let _0xeb4ca3=0x0,_0x3fa6fe=0x0,_0x3b997c=0x0;_0xeb4ca3=_0x3fa6fe=_0x3b997c=Math[_0x1ac288(0x2a6)](_0x366cd3,_0x2a7626/0x2,_0xc6da22/0x2),_0x102adb['beginPath'](),_0x102adb[_0x1ac288(0x317)](_0xeb4ca3,0x0),_0x102adb['lineTo'](_0x2a7626-_0x3fa6fe,0x0),_0x102adb[_0x1ac288(0x1c6)](_0x2a7626-_0x3fa6fe,_0x3fa6fe,_0x3fa6fe,Math['PI']*0x3/0x2,0x0,!0x1),_0x102adb[_0x1ac288(0x97)](_0x2a7626,_0xc6da22-_0x3b997c),_0x102adb[_0x1ac288(0x1c6)](_0x2a7626-_0x3b997c,_0xc6da22-_0x3b997c,_0x3b997c,0x0,Math['PI']/0x2,!0x1),_0x102adb[_0x1ac288(0x97)](0x0,_0xc6da22),_0x102adb[_0x1ac288(0x97)](0x0,_0xeb4ca3),_0x102adb[_0x1ac288(0x1c6)](_0xeb4ca3,_0xeb4ca3,_0xeb4ca3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x102adb[_0x1ac288(0x1c3)](),_0x3dbed0[_0x1ac288(0x320)]&&(_0x102adb[_0x1ac288(0x307)](),_0x102adb['fillStyle']=_0x3dbed0[_0x1ac288(0x320)],_0x3dbed0[_0x1ac288(0x23d)]===_0x1ac288(0xe6)?_0x102adb[_0x1ac288(0x320)](_0x1ac288(0xe6)):_0x102adb['fill'](),_0x102adb[_0x1ac288(0x22e)]());}class _0x2ae2c1 extends _0x54cb20[_0x400835(0xe0)]{constructor(_0x3294e3,_0x5347b0){const _0x39be27=_0x400835;super(_0x3294e3,_0x5347b0),_0x101dfa(this,_0x39be27(0x246)),_0x101dfa(this,_0x39be27(0x1a6)),(this['color']=_0x5347b0==null?void 0x0:_0x5347b0[_0x39be27(0x246)],this[_0x39be27(0x1a6)]=_0x5347b0==null?void 0x0:_0x5347b0[_0x39be27(0x1a6)]);}static[_0x400835(0x2ea)](_0x4f4f8d,_0x51a31f){const _0x5a789f=_0x400835,{text:_0x1c5729,color:_0x3dbca9}=_0x51a31f;_0x4f4f8d[_0x5a789f(0x307)](),_0x4f4f8d[_0x5a789f(0xe3)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x8ce94d=_0x4f4f8d[_0x5a789f(0x268)](_0x1c5729)[_0x5a789f(0x232)],_0x336bac=Math[_0x5a789f(0x2a6)](_0x8ce94d+0x2*_0x286d7b,_0x4a2cf8);_0x3af3a3(_0x4f4f8d,{'height':_0x18f108,'radius':0x4,'width':_0x336bac,'fill':_0x3dbca9}),_0x4f4f8d[_0x5a789f(0x34b)]='#FFF';const _0x137a11=_0x286d7b,_0x34c74b=_0x18f108-_0x5c4345,_0x307ca1=_0x4a2cf8-0x2*_0x286d7b;if(_0x8ce94d>_0x307ca1){let _0x483d3c='',_0x542556=0x0;for(const _0x374111 of _0x1c5729){const _0x1aefdf=_0x4f4f8d[_0x5a789f(0x268)](_0x374111)[_0x5a789f(0x232)];if(_0x542556+_0x1aefdf<=_0x307ca1-_0x4f4f8d[_0x5a789f(0x268)](_0x5a789f(0x222))[_0x5a789f(0x232)])_0x483d3c+=_0x374111,_0x542556+=_0x1aefdf;else{_0x483d3c+=_0x5a789f(0x222);break;}}_0x4f4f8d[_0x5a789f(0x269)](_0x483d3c,_0x137a11,_0x34c74b);}else _0x4f4f8d[_0x5a789f(0x269)](_0x1c5729,_0x137a11,_0x34c74b);_0x4f4f8d[_0x5a789f(0x22e)]();}[_0x400835(0xcb)](_0x129185){const _0x4fd1be=_0x400835;_0x2ae2c1[_0x4fd1be(0x2ea)](_0x129185,this);}}const _0x26837d=_0x400835(0x14a),_0x37fd70=_0x400835(0x34a),_0x24dfc8=_0x400835(0xf4),_0x405e2b=0x6,_0x262661=1.5,_0x4668df=0x4,_0x30eee1=1.5,_0x1056a2=_0x400835(0x325);class _0x1a100e{constructor(_0x482740,_0x37591f,_0x45d00c,_0xc35fa){const _0x3bbedd=_0x400835;_0x101dfa(this,'_shapes',[]),_0x101dfa(this,_0x3bbedd(0x34e),null),_0x101dfa(this,_0x3bbedd(0x137),null),_0x101dfa(this,'_anchorDot',null),_0x101dfa(this,_0x3bbedd(0x128),null),_0x101dfa(this,_0x3bbedd(0x280),null),(this[_0x3bbedd(0x2d9)]=_0x482740,this[_0x3bbedd(0x1d4)]=_0x37591f,this['_docSkeleton']=_0x45d00c,this['_document']=_0xc35fa,this[_0x3bbedd(0x208)]());}set[_0x400835(0xe9)](_0x16048b){const _0x346a15=_0x400835;_0x16048b?(this[_0x346a15(0x327)]&&this[_0x346a15(0x327)][_0x346a15(0x80)](),this[_0x346a15(0x137)]&&this[_0x346a15(0x137)]['show']()):(this[_0x346a15(0x327)]&&this[_0x346a15(0x327)][_0x346a15(0xa6)](),this['_textBubble']&&this[_0x346a15(0x137)]['hide']());}[_0x400835(0x336)](){const _0x59b266=_0x400835;for(const _0xe0add of this[_0x59b266(0x191)])_0xe0add[_0x59b266(0x336)]();this['_textBubble']&&this['_textBubble'][_0x59b266(0x336)](),this[_0x59b266(0x327)]&&this[_0x59b266(0x327)][_0x59b266(0x336)](),this[_0x59b266(0x34e)]&&this[_0x59b266(0x34e)][_0x59b266(0x336)](),this[_0x59b266(0x280)]&&this[_0x59b266(0x280)]();}[_0x400835(0x208)](){const _0x59d0ee=_0x400835;var _0x1582d3;const {_docSkeleton:_0xead756,_document:_0x374ea4}=this,{color:_0x456f73,name:_0x438cc6,ranges:_0x3871b5}=this[_0x59d0ee(0x2d9)],_0x5ed870=_0x374ea4[_0x59d0ee(0x329)](),{docsLeft:_0x576c25,docsTop:_0x46dbb7}=_0x5ed870,_0x545d59=new _0xf36ffa[(_0x59d0ee(0x352))](_0x5ed870,_0xead756);for(const {startOffset:_0x4decf6,endOffset:_0x4e4d15,rangeType:_0x5f2ac3,segmentId:_0x267389,segmentPage:_0x580a56,collapsed:_0x14a08b,isActive:_0x1b6ad3}of _0x3871b5){const _0x29bf6f=_0xead756['findNodePositionByCharIndex'](_0x4decf6,!0x0,_0x267389,_0x580a56);let _0x6f44cd=_0xead756['findNodePositionByCharIndex'](_0x4e4d15,!0x0,_0x267389,_0x580a56);if(_0x6f44cd==null&&(_0x6f44cd=_0xead756[_0x59d0ee(0x2ec)](_0x4e4d15-0x1,!0x1,_0x267389,_0x580a56)),_0x1b6ad3){const {contentBoxPointGroup:_0x454143}=_0x545d59[_0x59d0ee(0x227)](_0x6f44cd,_0x6f44cd);if(_0x454143[_0x59d0ee(0x248)]===0x0)continue;this[_0x59d0ee(0x150)](_0x456f73,_0x454143,_0x576c25,_0x46dbb7,_0x438cc6),this[_0x59d0ee(0x280)]=this['_handleHover']();}if(_0x29bf6f&&_0x6f44cd){if(_0x5f2ac3===_0x43911e[_0x59d0ee(0x12a)][_0x59d0ee(0x14c)]){const _0xd5b30f=new _0xf36ffa[(_0x59d0ee(0xf0))](_0x5ed870,_0xead756),{pointGroup:_0x543191}=(_0x1582d3=_0xd5b30f[_0x59d0ee(0x227)](_0x29bf6f,_0x6f44cd))!=null?_0x1582d3:{};if(_0x543191==null||_0x543191[_0x59d0ee(0x248)]===0x0)continue;this['_drawRectRange'](_0x456f73,_0x543191,_0x576c25,_0x46dbb7);}else{if(!_0x14a08b){const {borderBoxPointGroup:_0x5149c0}=_0x545d59['getRangePointData'](_0x29bf6f,_0x6f44cd);if(_0x5149c0[_0x59d0ee(0x248)]===0x0)continue;this[_0x59d0ee(0x23c)](_0x456f73,_0x5149c0,_0x576c25,_0x46dbb7);}}}}}[_0x400835(0x150)](_0x94626a,_0x537e26,_0x5809c8,_0x40e64f,_0x265d45){const _0x126e7d=_0x400835,_0x45e810=this[_0x126e7d(0xb7)](_0x537e26),{left:_0x2fd29e,top:_0x283c5f,height:_0x28142d}=_0x45e810,_0x5a85bc=this[_0x126e7d(0x1c7)](),_0x2d5c4f=_0x30eee1/_0x5a85bc,_0x2f7fa4=new _0x54cb20[(_0x126e7d(0x2fd))](_0x26837d+_0x43911e[_0x126e7d(0xae)](_0x405e2b),{'left':_0x2fd29e+_0x5809c8-_0x2d5c4f,'top':_0x283c5f+_0x40e64f,'height':_0x28142d,'width':_0x262661,'fill':_0x94626a||_0x54cb20[_0x126e7d(0x216)](_0x43911e[_0x126e7d(0x213)][_0x126e7d(0x30a)],0x0),'strokeWidth':_0x2d5c4f,'stroke':_0x1056a2,'evented':!0x0});this[_0x126e7d(0x34e)]=_0x2f7fa4,this['_scene'][_0x126e7d(0x20c)](_0x2f7fa4,_0xf36ffa[_0x126e7d(0x2eb)]);const _0x25b0f5=new _0x54cb20[(_0x126e7d(0x2fd))](_0x26837d+_0x43911e[_0x126e7d(0xae)](_0x405e2b),{'left':_0x2fd29e+_0x5809c8-_0x2d5c4f,'top':_0x283c5f+_0x40e64f-_0x4668df/0x2,'height':_0x4668df,'width':_0x4668df,'fill':_0x94626a||_0x54cb20[_0x126e7d(0x216)](_0x43911e[_0x126e7d(0x213)][_0x126e7d(0x30a)],0x0),'strokeWidth':0x0,'stroke':_0x94626a||_0x54cb20['getColor'](_0x43911e[_0x126e7d(0x213)][_0x126e7d(0x30a)],0x0),'evented':!0x1});this['_anchorDot']=_0x25b0f5,this['_scene'][_0x126e7d(0x20c)](_0x25b0f5,_0xf36ffa[_0x126e7d(0x2eb)]);const _0x422c2f=new _0x2ae2c1(_0x26837d+_0x43911e['generateRandomId'](_0x405e2b),{'left':_0x2fd29e+_0x5809c8-_0x2d5c4f,'top':_0x283c5f+_0x40e64f-_0x18f108,'text':_0x265d45,'color':_0x94626a});this['_textBubble']=_0x422c2f,this[_0x126e7d(0x1d4)][_0x126e7d(0x20c)](_0x422c2f,_0xf36ffa['TEXT_RANGE_LAYER_INDEX']),this[_0x126e7d(0xe9)]=!0x1;}[_0x400835(0x114)](){const _0x54ce57=_0x400835,_0x4d7070=this[_0x54ce57(0x34e)][_0x54ce57(0x1bb)]['subscribeEvent'](()=>{const _0x229291=_0x54ce57;this[_0x229291(0xe9)]=!0x0;}),_0x384414=this['_anchor'][_0x54ce57(0xa5)]['subscribeEvent'](()=>{const _0x38d43e=_0x54ce57;this[_0x38d43e(0x128)]&&clearTimeout(this['_hideTimer']),this[_0x38d43e(0x128)]=setTimeout(()=>{const _0x219007=_0x38d43e;this[_0x219007(0xe9)]=!0x1;},0x7d0);});return()=>{const _0x433e2f=_0x54ce57;_0x4d7070[_0x433e2f(0x132)](),_0x384414[_0x433e2f(0x132)]();};}['_drawTextRange'](_0x4efd83,_0x344a8f,_0x1f8dec,_0x7b3176){const _0x2fe1df=_0x400835,_0x5dde34=new _0x43911e[(_0x2fe1df(0xa9))](_0x4efd83)['setAlpha'](0.2)[_0x2fe1df(0xec)](),_0x842244=new _0x54cb20[(_0x2fe1df(0x10b))](_0x37fd70+_0x43911e[_0x2fe1df(0xae)](_0x405e2b),{'pointsGroup':_0x344a8f,'fill':_0x5dde34||_0x54cb20[_0x2fe1df(0x216)](_0x43911e[_0x2fe1df(0x213)]['black'],0.2),'left':_0x1f8dec,'top':_0x7b3176,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2fe1df(0x191)][_0x2fe1df(0x347)](_0x842244),this[_0x2fe1df(0x1d4)][_0x2fe1df(0x20c)](_0x842244,_0xf36ffa[_0x2fe1df(0x2eb)]);}[_0x400835(0x13e)](_0x38705a,_0x2268bd,_0xedf6fb,_0x75e934){const _0x1d3478=_0x400835,_0xf233bd=new _0x43911e[(_0x1d3478(0xa9))](_0x38705a)[_0x1d3478(0x1be)](0.2)[_0x1d3478(0xec)](),_0x2f4b20=new _0x54cb20[(_0x1d3478(0x10b))](_0x24dfc8+_0x43911e[_0x1d3478(0xae)](_0x405e2b),{'pointsGroup':_0x2268bd,'fill':_0xf233bd||_0x54cb20[_0x1d3478(0x216)](_0x43911e[_0x1d3478(0x213)]['black'],0.2),'left':_0xedf6fb,'top':_0x75e934,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x1d3478(0x347)](_0x2f4b20),this[_0x1d3478(0x1d4)][_0x1d3478(0x20c)](_0x2f4b20,_0xf36ffa[_0x1d3478(0x2eb)]);}[_0x400835(0xb7)](_0x49e14f){const _0x56c3b6=_0x49e14f[0x0],_0x19321f=_0x56c3b6[0x0],_0x47db20=_0x56c3b6[0x2],{x:_0x1b0d9b,y:_0x34c7fb}=_0x19321f,{x:_0x289cd2,y:_0x36337e}=_0x47db20;return{'left':_0x1b0d9b,'top':_0x34c7fb,'width':_0x289cd2-_0x1b0d9b,'height':_0x36337e-_0x34c7fb};}['_getScale'](){const _0x4ef3af=_0x400835,{scaleX:_0x120cdd,scaleY:_0x89e131}=this[_0x4ef3af(0x1d4)][_0x4ef3af(0x293)]();return Math[_0x4ef3af(0x265)](_0x120cdd,_0x89e131);}}var _0x4cd3d3=Object[_0x400835(0x2e1)],_0x19a247=(_0x6f6251,_0x3d05d5,_0x197557,_0x21f60e)=>{const _0x18fe4c=_0x400835;for(var _0x524cf7=_0x21f60e>0x1?void 0x0:_0x21f60e?_0x4cd3d3(_0x3d05d5,_0x197557):_0x3d05d5,_0x25413a=_0x6f6251[_0x18fe4c(0x248)]-0x1,_0x1268a7;_0x25413a>=0x0;_0x25413a--)(_0x1268a7=_0x6f6251[_0x25413a])&&(_0x524cf7=_0x1268a7(_0x524cf7)||_0x524cf7);return _0x524cf7;},_0x29176f=(_0x173a9e,_0x45e704)=>(_0x90d2e1,_0x5233cc)=>_0x45e704(_0x90d2e1,_0x5233cc,_0x173a9e);let _0x236da3=class extends _0x43911e[_0x400835(0xfc)]{constructor(_0x438942,_0x1eb740,_0x3a13d7,_0x4d9706,_0x36ac39){const _0x465daf=_0x400835;super(),_0x101dfa(this,_0x465daf(0x10c),[]),_0x101dfa(this,_0x465daf(0x1ba),[]),(this[_0x465daf(0xdc)]=_0x438942,this[_0x465daf(0x2c8)]=_0x1eb740,this[_0x465daf(0x250)]=_0x3a13d7,this['_commandService']=_0x4d9706,this[_0x465daf(0x279)]=_0x36ac39,this[_0x465daf(0x32d)]());}[_0x400835(0x32d)](){const _0x5ede72=_0x400835,_0x36f756=this['_context'][_0x5ede72(0x9a)],_0x7412e2=this['_docSkeletonManagerService'];this[_0x5ede72(0x29e)](_0x5663a0[_0x5ede72(0x28f)]([this['_collabCursorController'][_0x5ede72(0x26c)](_0x36f756),this[_0x5ede72(0x279)][_0x5ede72(0x249)]])['pipe'](_0x4d953b[_0x5ede72(0x1d9)](([_0x3e21c1,_0x4d64b3])=>({'skeleton':_0x7412e2[_0x5ede72(0xaa)](),'cursors':[..._0x3e21c1[_0x5ede72(0xd2)]()][_0x5ede72(0x1b7)](_0x912159=>({..._0x912159,'color':this[_0x5ede72(0x279)][_0x5ede72(0x131)](_0x912159[_0x5ede72(0x246)])}))})))[_0x5ede72(0x2d6)](_0x41674f=>{const _0x5881c4=_0x5ede72;if(this[_0x5881c4(0x2e8)](),_0x41674f){const {skeleton:_0x4f87f5,cursors:_0x13562d}=_0x41674f;this[_0x5881c4(0x185)](_0x4f87f5,_0x13562d);}})),this['_initResize'](),this[_0x5ede72(0x1a7)]();}[_0x400835(0x185)](_0x1b620e,_0x5db3d3){const _0x3998f1=_0x400835,{scene:_0x3725da,mainComponent:_0x50967a}=this[_0x3998f1(0xdc)],_0x319bd0=_0x5db3d3['map'](_0x3aec03=>new _0x1a100e(_0x3aec03,_0x3725da,_0x1b620e,_0x50967a));this['_cursorShapes']=_0x319bd0,this[_0x3998f1(0x1ba)]=_0x5db3d3;}['_refreshCollabCursors'](){const _0x35f88b=_0x400835;this['_removeCollabCursors']();const {scene:_0x279aa3,mainComponent:_0x42f72e}=this['_context'],_0x528d8f=this['_docSkeletonManagerService'][_0x35f88b(0xaa)](),_0x30f118=this[_0x35f88b(0x1ba)][_0x35f88b(0x1d9)](_0x176c62=>new _0x1a100e(_0x176c62,_0x279aa3,_0x528d8f,_0x42f72e));this[_0x35f88b(0x10c)]=_0x30f118;}[_0x400835(0x2e8)](){const _0x21f4df=_0x400835;this[_0x21f4df(0x10c)][_0x21f4df(0x214)](_0xa817fb=>_0xa817fb['dispose']()),this[_0x21f4df(0x10c)]=[];}[_0x400835(0x1a7)](){const _0x21ead6=_0x400835,_0x2c4b2f=[_0xf36ffa[_0x21ead6(0x270)]['id']];this[_0x21ead6(0x29e)](this[_0x21ead6(0x255)][_0x21ead6(0x30c)](_0x65158d=>{const _0x2ce6d2=_0x21ead6;_0x2c4b2f['includes'](_0x65158d['id'])&&_0x65158d[_0x2ce6d2(0xa8)][_0x2ce6d2(0x9a)]===this['_context'][_0x2ce6d2(0x9a)]&&this[_0x2ce6d2(0x2e6)]();}));}[_0x400835(0x139)](){const _0x30c45a=_0x400835;this['disposeWithMe'](_0x43911e[_0x30c45a(0x26f)](this['_context'][_0x30c45a(0x136)][_0x30c45a(0x2ae)])[_0x30c45a(0x2df)](_0x4d953b[_0x30c45a(0x192)](_0x3f9d68=>_0x3f9d68[_0x30c45a(0x1e7)]===_0x54cb20[_0x30c45a(0x2c5)][_0x30c45a(0x18d)]),_0x4d953b[_0x30c45a(0x312)](0x10))[_0x30c45a(0x2d6)](()=>{const _0x21f094=_0x30c45a;this[_0x21f094(0x2e6)]();}));}};_0x236da3=_0x19a247([_0x29176f(0x1,_0x43911e['Inject'](_0x4d8e11[_0x400835(0x333)])),_0x29176f(0x2,_0x43911e['Inject'](_0x3e1d94)),_0x29176f(0x3,_0x43911e['ICommandService']),_0x29176f(0x4,_0x43911e[_0x400835(0x200)](_0x43911e[_0x400835(0x235)]))],_0x236da3);const _0x5d08fd=0x1,_0x34cbe3=1.5;class _0xa3d33b extends _0x54cb20[_0x400835(0xe0)]{constructor(_0x7c97c7,_0x2a9d9a){const _0x1c6b01=_0x400835;super(_0x7c97c7,_0x2a9d9a),_0x101dfa(this,'_color'),_0x101dfa(this,_0x1c6b01(0x219),!0x1),_0x101dfa(this,_0x1c6b01(0x328)),_0x101dfa(this,_0x1c6b01(0x152),''),_0x101dfa(this,'_labelPosition',_0x1c6b01(0x2c3)),_0x101dfa(this,_0x1c6b01(0x24e)),(_0x2a9d9a&&this[_0x1c6b01(0x2de)](_0x2a9d9a),this[_0x1c6b01(0x1bb)][_0x1c6b01(0x350)](()=>this[_0x1c6b01(0x2de)]({'hovered':!0x0})),this[_0x1c6b01(0xa5)][_0x1c6b01(0x350)](()=>this[_0x1c6b01(0x2de)]({'hovered':!0x1})));}[_0x400835(0x2de)](_0x6a0a33){const _0x26c2ee=_0x400835;var _0x279c4b,_0x56cfc1,_0x118637,_0x1f4115,_0x3bd854,_0x155342;this[_0x26c2ee(0x81)]=(_0x279c4b=_0x6a0a33[_0x26c2ee(0x246)])!=null?_0x279c4b:this[_0x26c2ee(0x81)],this[_0x26c2ee(0x219)]=(_0x56cfc1=_0x6a0a33['hovered'])!=null?_0x56cfc1:this[_0x26c2ee(0x219)],this[_0x26c2ee(0x328)]=(_0x118637=_0x6a0a33[_0x26c2ee(0x2fc)])!=null?_0x118637:this[_0x26c2ee(0x328)],this[_0x26c2ee(0x152)]=(_0x1f4115=_0x6a0a33['name'])!=null?_0x1f4115:this[_0x26c2ee(0x152)],this[_0x26c2ee(0x159)]=(_0x3bd854=_0x6a0a33[_0x26c2ee(0x35b)])!=null?_0x3bd854:this[_0x26c2ee(0x159)],this[_0x26c2ee(0x24e)]=(_0x155342=_0x6a0a33[_0x26c2ee(0x316)])!=null?_0x155342:this[_0x26c2ee(0x24e)],this[_0x26c2ee(0x2f0)]({'width':_0x6a0a33[_0x26c2ee(0x232)],'height':_0x6a0a33['height']});}['onMouseMove'](_0x1314db){const _0x14de5f=_0x400835,{row:_0x58f7af,column:_0x54281e}=_0x1314db;if(_0x58f7af>=this[_0x14de5f(0x328)][_0x14de5f(0x9c)]&&_0x58f7af<=this[_0x14de5f(0x328)][_0x14de5f(0x110)]&&_0x54281e>=this[_0x14de5f(0x328)][_0x14de5f(0xe5)]&&_0x54281e<=this['_range']['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x400835(0xdf)](_0x333f20){return!0x1;}[_0x400835(0xcb)](_0x469111){const _0x5ba438=_0x400835;_0x54cb20[_0x5ba438(0x2fd)][_0x5ba438(0x2ea)](_0x469111,{'width':this[_0x5ba438(0x232)],'height':this[_0x5ba438(0xf1)],'strokeWidth':_0x34cbe3,'stroke':this[_0x5ba438(0x81)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x5ba438(0x219)]&&(_0x469111[_0x5ba438(0x307)](),_0x469111['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x5ba438(0x159)]===_0x5ba438(0x7d)?0x0:-_0x18f108),_0x2ae2c1[_0x5ba438(0x2ea)](_0x469111,{'text':this['_name'],'color':this[_0x5ba438(0x81)]}),_0x469111[_0x5ba438(0x22e)]());}}var _0x6b37e8=Object[_0x400835(0x2e1)],_0x14b59a=(_0x17d890,_0x4cd4a2,_0x5c7f5a,_0x109e18)=>{const _0x1f0e22=_0x400835;for(var _0x49e361=_0x109e18>0x1?void 0x0:_0x109e18?_0x6b37e8(_0x4cd4a2,_0x5c7f5a):_0x4cd4a2,_0x72236=_0x17d890[_0x1f0e22(0x248)]-0x1,_0x679316;_0x72236>=0x0;_0x72236--)(_0x679316=_0x17d890[_0x72236])&&(_0x49e361=_0x679316(_0x49e361)||_0x49e361);return _0x49e361;},_0x1abeba=(_0x123f66,_0x48761d)=>(_0x28fb57,_0x261cba)=>_0x48761d(_0x28fb57,_0x261cba,_0x123f66);const _0x56bf7c=0x1389;let _0x5d0983=class extends _0x43911e[_0x400835(0xfc)]{constructor(_0x3b70b7,_0x10da77,_0x249a93,_0x55da53){const _0x626e96=_0x400835;super(),_0x101dfa(this,_0x626e96(0x1ba),new Set()),_0x101dfa(this,_0x626e96(0x8a),null),(this[_0x626e96(0xdc)]=_0x3b70b7,this[_0x626e96(0x261)]=_0x10da77,this[_0x626e96(0x250)]=_0x249a93,this[_0x626e96(0x279)]=_0x55da53,this['_init']());}[_0x400835(0x32d)](){const _0x4a85e3=_0x400835;this[_0x4a85e3(0x261)][_0x4a85e3(0x1da)][_0x4a85e3(0x2df)](_0x4d953b[_0x4a85e3(0x240)](this[_0x4a85e3(0x19e)]),_0x4d953b[_0x4a85e3(0x294)](_0xe4e58a=>{const _0x375fd3=_0x4a85e3;if(_0xe4e58a){const _0x2af766=_0xe4e58a['sheetId'];return _0x5663a0[_0x375fd3(0x28f)](this[_0x375fd3(0x250)]['getCollabCursors$'](this['_context'][_0x375fd3(0x9a)]),this[_0x375fd3(0x279)][_0x375fd3(0x249)])[_0x375fd3(0x2df)](_0x4d953b['map'](([_0x17ad63,_0x169dcb])=>{const _0x7a4177=_0x375fd3,_0x5cbd58=new Map();return _0x17ad63[_0x7a4177(0x214)]((_0x57c5ec,_0x1722b0)=>{const _0x257827=_0x7a4177;if(_0x57c5ec[_0x257827(0x84)]===_0x2af766){const _0x3a9245={..._0x57c5ec};_0x3a9245[_0x257827(0x246)]=this[_0x257827(0x279)]['getColorFromTheme'](_0x57c5ec[_0x257827(0x246)]),_0x5cbd58[_0x257827(0x198)](_0x1722b0,_0x3a9245);}}),{'skeleton':_0xe4e58a,'cursors':_0x5cbd58};}));}return _0x5663a0['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x38dda2,cursors:_0x240098})=>{const _0x472d95=_0x4a85e3;this[_0x472d95(0x2e8)](),_0x38dda2&&this[_0x472d95(0x185)](_0x38dda2,_0x240098);}),this[_0x4a85e3(0x261)][_0x4a85e3(0x1da)][_0x4a85e3(0x2d6)](_0x53f176=>{const _0x1ace05=_0x4a85e3;if(_0x53f176==null)return;const {skeleton:_0x451e96}=_0x53f176,{scene:_0x100d03}=this[_0x1ace05(0xdc)];_0x100d03['onPointerMove$'][_0x1ace05(0x350)](_0x43911e[_0x1ace05(0x15a)](_0x3742f3=>{const _0xd527cf=_0x1ace05;var _0x3c2215,_0x5add25;const {offsetX:_0x1cd00d,offsetY:_0x37446f}=_0x3742f3,{x:_0x28922a,y:_0x1f7320}=_0x100d03[_0xd527cf(0x2d2)](_0x54cb20[_0xd527cf(0x1fa)]['FromArray']([_0x1cd00d,_0x37446f])),{scaleX:_0x24bb06,scaleY:_0x1d3c1c}=_0x100d03[_0xd527cf(0x293)](),_0x3193b7=_0x100d03[_0xd527cf(0x301)](_0x54cb20[_0xd527cf(0x26b)][_0xd527cf(0xda)]),_0x21513d=_0x100d03[_0xd527cf(0x12e)](_0x54cb20[_0xd527cf(0x1fa)]['FromArray']([_0x28922a,_0x1f7320]),_0x3193b7),_0x45fe3a=_0x451e96['getCellPositionByOffset'](_0x1cd00d,_0x37446f,_0x24bb06,_0x1d3c1c,_0x21513d);((_0x3c2215=this[_0xd527cf(0x8a)])==null?void 0x0:_0x3c2215[_0xd527cf(0xf9)])===_0x45fe3a[_0xd527cf(0xf9)]&&((_0x5add25=this[_0xd527cf(0x8a)])==null?void 0x0:_0x5add25['row'])===_0x45fe3a[_0xd527cf(0x1e5)]||this[_0xd527cf(0x1ba)][_0xd527cf(0x214)](_0x4f2152=>{const _0x21e99c=_0xd527cf;_0x4f2152[_0x21e99c(0x331)](_0x45fe3a);});},0x64));});}[_0x400835(0x185)](_0x4c8d99,_0x3232c3){const _0x515529=_0x400835;var _0x3e71fd;const _0x5ee13d=(_0x3e71fd=this[_0x515529(0x261)][_0x515529(0x253)]())==null?void 0x0:_0x3e71fd[_0x515529(0x27a)];if(!_0x5ee13d)return;const _0x31778d=this[_0x515529(0x123)]();if(!_0x31778d)return;this[_0x515529(0x1ba)][_0x515529(0x214)](_0x6c1d98=>{const _0x16471e=_0x515529;_0x6c1d98[_0x16471e(0xc3)]();});const {scene:_0x9c30ca}=_0x31778d,_0x45295c=_0x3a662a(Array[_0x515529(0x26e)](_0x3232c3['values']()))[_0x515529(0x1d9)](_0x231709=>{const _0x29e75d=_0x515529,{color:_0x35085e,range:_0x1e9ccf,name:_0x4f4ff1,selection:_0xe712f1,sheetID:_0x2476ca}=_0x231709,{startColumn:_0x53548f,startRow:_0x19d290,endColumn:_0x4c93a6,endRow:_0x55a3d3}=_0x1e9ccf,_0x228f63=_0x43dd78[_0x29e75d(0xf6)](_0x19d290,_0x53548f,_0x9c30ca,_0x5ee13d),_0x1c5c7c=_0x43dd78[_0x29e75d(0xf6)](_0x55a3d3,_0x4c93a6,_0x9c30ca,_0x5ee13d),{columnHeaderHeightAndMarginTop:_0x1bf943}=_0x5ee13d,{startX:_0x2ca369,startY:_0x16396}=_0x228f63,{endX:_0x12d99b,endY:_0x39cadb}=_0x1c5c7c,_0x12220b=_0x12d99b-_0x2ca369,_0x13f8cd=_0x39cadb-_0x16396,_0x494d56={'labelPosition':_0x16396-_0x1bf943>=_0x18f108?'top':_0x29e75d(0x7d),'sheetID':_0x2476ca,'range':_0x1e9ccf,'color':_0x35085e,'name':_0x4f4ff1,'selection':_0xe712f1,'left':_0x2ca369,'top':_0x16396,'width':_0x12220b,'height':_0x13f8cd,'evented':!0x1,'zIndex':_0x56bf7c};return new _0xa3d33b(_0x4f4ff1,_0x494d56);});_0x9c30ca[_0x515529(0xd0)](_0x45295c,_0x5d08fd),this[_0x515529(0x1ba)]=new Set(_0x45295c);}['_removeCollabCursors'](){const _0x1b5931=_0x400835;var _0x3eb3b2;(_0x3eb3b2=this[_0x1b5931(0x1ba)])==null||_0x3eb3b2[_0x1b5931(0x214)](_0x409080=>_0x409080[_0x1b5931(0x336)]());}[_0x400835(0x123)](){const _0x3c3cfa=_0x400835;return _0x43dd78[_0x3c3cfa(0x2f7)](this['_context'][_0x3c3cfa(0x2ba)],this[_0x3c3cfa(0xdc)]);}};_0x5d0983=_0x14b59a([_0x1abeba(0x1,_0x43911e['Inject'](_0x43dd78['SheetSkeletonManagerService'])),_0x1abeba(0x2,_0x43911e[_0x400835(0x200)](_0x3e1d94)),_0x1abeba(0x3,_0x43911e['Inject'](_0x43911e[_0x400835(0x235)]))],_0x5d0983);function _0x3a662a(_0xe5e5b9){const _0x1a48fd=_0x400835,_0x4c7dba=new Map();return _0xe5e5b9[_0x1a48fd(0x214)](_0x4e091a=>{const _0x24d276=_0x1a48fd;if(_0x4c7dba[_0x24d276(0x156)](_0x4e091a[_0x24d276(0x12d)])){const _0x25495c=_0x4c7dba[_0x24d276(0x1db)](_0x4e091a[_0x24d276(0x12d)]);_0x25495c[_0x24d276(0x115)]+=',\x20'+_0x4e091a[_0x24d276(0x115)];}else _0x4c7dba[_0x24d276(0x198)](_0x4e091a[_0x24d276(0x12d)],_0x4e091a);}),Array[_0x1a48fd(0x26e)](_0x4c7dba[_0x1a48fd(0xd2)]());}var _0x253151=Object['getOwnPropertyDescriptor'],_0x28422f=(_0x1295dd,_0x232530,_0x4ae7c9,_0x575e86)=>{const _0x575783=_0x400835;for(var _0x2d3897=_0x575e86>0x1?void 0x0:_0x575e86?_0x253151(_0x232530,_0x4ae7c9):_0x232530,_0x564722=_0x1295dd[_0x575783(0x248)]-0x1,_0xe26b8a;_0x564722>=0x0;_0x564722--)(_0xe26b8a=_0x1295dd[_0x564722])&&(_0x2d3897=_0xe26b8a(_0x2d3897)||_0x2d3897);return _0x2d3897;},_0x2679e7=(_0x3e2944,_0x29a58e)=>(_0x2be2ce,_0x490aeb)=>_0x29a58e(_0x2be2ce,_0x490aeb,_0x3e2944);let _0x30f9ec=class extends _0x43911e[_0x400835(0x271)]{constructor(_0x49c3f1,_0x28dac4,_0x10f5c5,_0x39c0b1,_0x2e754b,_0x264fb1){const _0x546060=_0x400835;super(),this[_0x546060(0x2d0)]=_0x49c3f1,this[_0x546060(0x1b1)]=_0x28dac4,this[_0x546060(0x18a)]=_0x10f5c5,this[_0x546060(0xbb)]=_0x39c0b1,this['_notificationService']=_0x2e754b,this['_localeService']=_0x264fb1,this['_setupBeforeClosingHandler'](),this[_0x546060(0x1e1)]();}['_setupBeforeClosingHandler'](){const _0x209f43=_0x400835;this[_0x209f43(0x29e)](this['_beforeCloseService'][_0x209f43(0x230)](()=>{const _0x266d25=_0x209f43;if(this['_localCacheService'][_0x266d25(0x2e5)][_0x266d25(0xaf)])return this[_0x266d25(0xab)]['t'](_0x266d25(0xd8));}));}['_initEvent'](){const _0x4873b1=_0x400835;this['disposeWithMe'](this[_0x4873b1(0x18a)][_0x4873b1(0x258)]['subscribe'](_0x2068d6=>{const _0x47ffc5=_0x4873b1;_0x2068d6['id']===_0x5ad2ec[_0x47ffc5(0x2f4)][_0x47ffc5(0x21f)]&&this[_0x47ffc5(0xbb)][_0x47ffc5(0xa6)]({'type':_0x339a9a['MessageType'][_0x47ffc5(0x18f)],'content':this[_0x47ffc5(0xab)]['t']('collaboration.single-unit.warning')}),_0x2068d6['id']===_0x5ad2ec[_0x47ffc5(0x2f4)][_0x47ffc5(0x1ad)]&&this[_0x47ffc5(0xbb)]['show']({'type':_0x339a9a[_0x47ffc5(0x26d)]['Warning'],'content':this[_0x47ffc5(0xab)]['t']('collaboration.closeRoom')}),_0x2068d6['id']===_0x5ad2ec[_0x47ffc5(0x2f4)][_0x47ffc5(0x11b)]&&this[_0x47ffc5(0xd3)]['show']({'title':this[_0x47ffc5(0xab)]['t'](_0x47ffc5(0x217)),'content':this[_0x47ffc5(0xab)]['t'](_0x47ffc5(0x252)),'type':_0x47ffc5(0x176),'duration':0x0}),_0x2068d6['id']===_0x5ad2ec['CollaborationUIEventId']['CONFLICT']&&this[_0x47ffc5(0xbb)][_0x47ffc5(0xa6)]({'type':_0x339a9a['MessageType']['Error'],'content':this[_0x47ffc5(0xab)]['t'](_0x47ffc5(0xb0))+'('+_0x2068d6[_0x47ffc5(0x29c)]+')'}),_0x2068d6['id']===_0x5ad2ec['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x47ffc5(0xbb)][_0x47ffc5(0xa6)]({'type':_0x339a9a[_0x47ffc5(0x26d)]['Warning'],'content':this[_0x47ffc5(0xab)]['t'](_0x2068d6[_0x47ffc5(0x29c)]||'')}),_0x2068d6['id']===_0x5ad2ec[_0x47ffc5(0x2f4)][_0x47ffc5(0x2be)]&&this[_0x47ffc5(0xbb)][_0x47ffc5(0xa6)]({'type':_0x339a9a['MessageType'][_0x47ffc5(0x18f)],'content':this[_0x47ffc5(0xab)]['t']('session.will-retry')}),_0x2068d6['id']===_0x5ad2ec[_0x47ffc5(0x2f4)]['SOCKET_FAILED']&&this['_messageService'][_0x47ffc5(0xa6)]({'type':_0x339a9a['MessageType']['Error'],'content':this['_localeService']['t'](_0x47ffc5(0x310))}),_0x2068d6['id']===_0x5ad2ec[_0x47ffc5(0x2f4)][_0x47ffc5(0x95)]&&this[_0x47ffc5(0xbb)][_0x47ffc5(0xa6)]({'type':_0x339a9a[_0x47ffc5(0x26d)]['Error'],'content':this[_0x47ffc5(0xab)]['t'](_0x47ffc5(0x2a2))});}));}};_0x30f9ec=_0x28422f([_0x2679e7(0x0,_0x13af98[_0x400835(0x332)]),_0x2679e7(0x1,_0x5ad2ec[_0x400835(0x296)]),_0x2679e7(0x2,_0x43911e[_0x400835(0x200)](_0x5ad2ec[_0x400835(0x356)])),_0x2679e7(0x3,_0x13af98['IMessageService']),_0x2679e7(0x4,_0x13af98[_0x400835(0x1f2)]),_0x2679e7(0x5,_0x43911e[_0x400835(0x200)](_0x43911e['LocaleService']))],_0x30f9ec);var _0xe00d3=Object[_0x400835(0x2e1)],_0x38fb0e=(_0x27e988,_0x1c0e31,_0x100465,_0x504e39)=>{const _0x45058d=_0x400835;for(var _0x468eee=_0x504e39>0x1?void 0x0:_0x504e39?_0xe00d3(_0x1c0e31,_0x100465):_0x1c0e31,_0x3a75bd=_0x27e988[_0x45058d(0x248)]-0x1,_0x2b7371;_0x3a75bd>=0x0;_0x3a75bd--)(_0x2b7371=_0x27e988[_0x3a75bd])&&(_0x468eee=_0x2b7371(_0x468eee)||_0x468eee);return _0x468eee;},_0xd4900=(_0x3efc8f,_0x521709)=>(_0x323557,_0x50c71b)=>_0x521709(_0x323557,_0x50c71b,_0x3efc8f);let _0x48f808=class extends _0x43911e[_0x400835(0x271)]{constructor(_0x49277a,_0x3aeee6,_0x409b73,_0x2d4328){const _0x50d786=_0x400835;super(),_0x101dfa(this,_0x50d786(0x10e)),(this[_0x50d786(0x1b5)]=_0x49277a,this[_0x50d786(0x283)]=_0x3aeee6,this['_logService']=_0x409b73,this[_0x50d786(0x1c5)]=_0x2d4328,this[_0x50d786(0x32d)]());}[_0x400835(0x32d)](){const _0x456704=_0x400835;this['_initWindowErrorListener'](),this[_0x456704(0x87)](),this['_monkeyPatchLogService'](),this[_0x456704(0x1fe)]();}[_0x400835(0x1fe)](){const _0x1498df=_0x400835;this[_0x1498df(0x29e)](this[_0x1498df(0x1c5)]['socket$'][_0x1498df(0x2d6)](_0x28fedf=>{const _0x2f3410=_0x1498df;this[_0x2f3410(0x10e)]=_0x28fedf==null?void 0x0:_0x28fedf[_0x2f3410(0x2dd)];}));}[_0x400835(0x2a4)](){const _0x150f7b=_0x400835,_0x506658=_0x120d4d=>{const _0x422b29=_0x1699;var _0x57738e;this['_uploadLog'](_0x422b29(0x176),'[Window\x20Error]:\x20'+_0x120d4d[_0x422b29(0x174)]+_0x422b29(0x181)+_0x120d4d[_0x422b29(0x25d)]+':'+_0x120d4d[_0x422b29(0x89)]+':'+_0x120d4d[_0x422b29(0xf7)]+'\x0a'+(((_0x57738e=_0x120d4d[_0x422b29(0x176)])==null?void 0x0:_0x57738e['stack'])||''));};window[_0x150f7b(0x9f)]('error',_0x506658),this[_0x150f7b(0x29e)](()=>{const _0x228a31=_0x150f7b;window[_0x228a31(0x2f3)](_0x228a31(0x176),_0x506658);});}[_0x400835(0x87)](){const _0x5ab7f7=_0x400835,_0x4b6a56=_0xce20a5=>{const _0x1205b9=_0x1699;this[_0x1205b9(0x226)](_0x1205b9(0x176),_0x1205b9(0x1ed)+_0xce20a5[_0x1205b9(0x2b6)]);};window[_0x5ab7f7(0x9f)](_0x5ab7f7(0x1ce),_0x4b6a56),this['disposeWithMe'](()=>{const _0xffbfbd=_0x5ab7f7;window[_0xffbfbd(0x2f3)](_0xffbfbd(0x1ce),_0x4b6a56);});}[_0x400835(0xe8)](){const _0x1b989c=_0x400835,_0x19f2e9=this['_logService']['error'][_0x1b989c(0x24d)](this[_0x1b989c(0x245)]);this['_logService'][_0x1b989c(0x176)]=(..._0x481ce5)=>{const _0x198eb6=_0x1b989c,_0xbb23c9=_0x481ce5[_0x198eb6(0x1d9)](_0x1a0cc8=>_0x1a0cc8 instanceof Error?_0x1a0cc8[_0x198eb6(0x174)]+'\x0a'+_0x1a0cc8[_0x198eb6(0x83)]:String(_0x1a0cc8))[_0x198eb6(0x224)]('\x20');this[_0x198eb6(0x226)]('error','[LogService\x20Error]:\x20'+_0xbb23c9),_0x19f2e9(..._0x481ce5);},this['disposeWithMe'](()=>{this['_logService']['error']=_0x19f2e9;});}[_0x400835(0x226)](_0x49aa48,_0x121e0f){const _0x224c97=_0x400835;try{const _0x4c603e={'userId':this[_0x224c97(0x10e)],'logLabel':_0x49aa48,'content':_0x121e0f};this[_0x224c97(0x283)][_0x224c97(0x1dc)](_0x224c97(0x1c0),{'body':_0x4c603e})['catch'](()=>{});}catch{}}};_0x48f808=_0x38fb0e([_0xd4900(0x0,_0x43911e[_0x400835(0x200)](_0x43911e[_0x400835(0x1e0)])),_0xd4900(0x1,_0x43911e[_0x400835(0x200)](_0x13a8c2[_0x400835(0xe7)])),_0xd4900(0x2,_0x43911e['ILogService']),_0xd4900(0x3,_0x43911e[_0x400835(0x200)](_0x5ad2ec[_0x400835(0x86)]))],_0x48f808);const _0x104d00=_0x400835(0xcf),_0x98d1bd={};var _0x451b8b=Object[_0x400835(0x2e1)],_0x54435b=(_0x42a6c1,_0x597627,_0x5172b1,_0x5df9b3)=>{const _0x4874e7=_0x400835;for(var _0x178e3c=_0x5df9b3>0x1?void 0x0:_0x5df9b3?_0x451b8b(_0x597627,_0x5172b1):_0x597627,_0x5e7a00=_0x42a6c1[_0x4874e7(0x248)]-0x1,_0x2e2b7a;_0x5e7a00>=0x0;_0x5e7a00--)(_0x2e2b7a=_0x42a6c1[_0x5e7a00])&&(_0x178e3c=_0x2e2b7a(_0x178e3c)||_0x178e3c);return _0x178e3c;},_0x3b5d53=(_0x16a1be,_0x119d62)=>(_0x3b7ac2,_0x2167ea)=>_0x119d62(_0x3b7ac2,_0x2167ea,_0x16a1be);let _0x508f94=class{constructor(_0x29ba77,_0x17ee7f){const _0x278780=_0x400835;this[_0x278780(0x334)]=_0x29ba77,this[_0x278780(0x88)]=_0x17ee7f;}['transformIMECache'](_0x2cf064){const _0x42645a=_0x400835;this[_0x42645a(0x2d4)](_0x2cf064),this[_0x42645a(0x171)](_0x2cf064);}[_0x400835(0xba)](_0xd6794a){const _0x685e4c=_0x400835,{unitID:_0x9342fe}=_0xd6794a,_0x4183e2=this[_0x685e4c(0x88)][_0x685e4c(0x147)](_0x9342fe)[_0x685e4c(0x167)](_0xf36ffa[_0x685e4c(0x1b8)]),{redoCache:_0x46cf73}=_0x4183e2[_0x685e4c(0x184)]();if(_0x46cf73[_0x685e4c(0x248)]===0x0)return _0xd6794a;let _0x15b4a6=_0x43911e[_0x685e4c(0x1d1)][_0x685e4c(0x314)](_0xd6794a[_0x685e4c(0x1f5)][0x0]);for(let _0xd008fa=0x0;_0xd008fa<_0x46cf73['length'];_0xd008fa++){const _0x11aba5={'id':_0x685e4c(0x2da),'params':{..._0x46cf73[_0xd008fa]}},_0x14c2cb=this[_0x685e4c(0x334)][_0x685e4c(0x31b)](_0x15b4a6,_0x11aba5,!0x1);if(_0x2761bb[_0x685e4c(0x18c)](_0x14c2cb))throw _0x14c2cb[_0x685e4c(0x176)];_0x15b4a6=_0x14c2cb['m1Prime'];}return{..._0x43911e[_0x685e4c(0x1d1)]['deepClone'](_0xd6794a),'mutations':[_0x15b4a6]};}[_0x400835(0x2d4)](_0xe620af){const _0x8a9db7=_0x400835,{unitID:_0x456772}=_0xe620af,_0x551b72=this['_renderManagerService'][_0x8a9db7(0x147)](_0x456772)[_0x8a9db7(0x167)](_0xf36ffa[_0x8a9db7(0x1b8)]),{undoCache:_0x10a19f,redoCache:_0x139279}=_0x551b72[_0x8a9db7(0x184)]();if(_0x10a19f[_0x8a9db7(0x248)]===0x0||_0x139279['length']===0x0)return;const _0x5416cf=[],_0x8f6920=[];let _0x1ed1e7=_0x43911e[_0x8a9db7(0x1d1)][_0x8a9db7(0x314)](_0xe620af[_0x8a9db7(0x1f5)][0x0]),_0x2df0b9=_0x43911e[_0x8a9db7(0x1d1)][_0x8a9db7(0x314)](_0xe620af[_0x8a9db7(0x1f5)][0x0]);for(let _0x99c029=_0x10a19f[_0x8a9db7(0x248)]-0x1;_0x99c029>=0x0;_0x99c029--){const _0x4fe2da={'id':'doc.mutation.rich-text-editing','params':{..._0x10a19f[_0x99c029]}},_0x327764={'id':_0x8a9db7(0x2da),'params':{..._0x139279[_0x99c029]}},_0x155e4f=this[_0x8a9db7(0x334)][_0x8a9db7(0x31b)](_0x1ed1e7,_0x4fe2da,!0x1),_0x16f4d2=this['_transformService'][_0x8a9db7(0x31b)](_0x2df0b9,_0x327764,!0x1);if(_0x2761bb[_0x8a9db7(0x18c)](_0x155e4f))throw _0x155e4f[_0x8a9db7(0x176)];if(_0x2761bb[_0x8a9db7(0x18c)](_0x16f4d2))throw _0x16f4d2['error'];_0x5416cf[_0x8a9db7(0x112)](_0x155e4f[_0x8a9db7(0x2cd)][_0x8a9db7(0xa8)]),_0x8f6920[_0x8a9db7(0x112)](_0x16f4d2['m2Prime']['params']),_0x1ed1e7=_0x155e4f[_0x8a9db7(0x160)],_0x2df0b9=_0x16f4d2[_0x8a9db7(0x160)];}_0x551b72[_0x8a9db7(0x120)]({'undoCache':_0x5416cf,'redoCache':_0x8f6920});}[_0x400835(0x171)](_0x27459a){const _0x1592a5=_0x400835,{unitID:_0x2014db}=_0x27459a,_0x5aca4b=this[_0x1592a5(0x88)][_0x1592a5(0x147)](_0x2014db)['with'](_0xf36ffa[_0x1592a5(0x1b8)]),_0x178502=_0x5aca4b[_0x1592a5(0x263)]();if(_0x178502==null)return;const _0x2f784c=[{'id':_0x1592a5(0x2da),'params':{'unitId':_0x27459a[_0x1592a5(0x1dd)],'actions':null,'textRanges':[_0x178502]}}],_0x35d2d7=this['_transformService'][_0x1592a5(0x2ef)](_0x27459a,_0x2f784c);if(!_0x2761bb[_0x1592a5(0x190)](_0x35d2d7))throw _0x35d2d7[_0x1592a5(0x176)];const _0x20d766=_0x35d2d7['m2Prime'][0x0][_0x1592a5(0xa8)]['textRanges'];Array[_0x1592a5(0xac)](_0x20d766)&&_0x20d766[_0x1592a5(0x248)]&&_0x5aca4b['setActiveRange'](_0x20d766[0x0]);}};_0x508f94=_0x54435b([_0x3b5d53(0x0,_0x2761bb[_0x400835(0x242)]),_0x3b5d53(0x1,_0x54cb20[_0x400835(0x22a)])],_0x508f94);var _0x441d12=Object[_0x400835(0x2e1)],_0x29dc49=(_0x156c4b,_0x3eafc6,_0xedfb73,_0x40e63a)=>{const _0x184a14=_0x400835;for(var _0x3337a7=_0x40e63a>0x1?void 0x0:_0x40e63a?_0x441d12(_0x3eafc6,_0xedfb73):_0x3eafc6,_0x5fb76b=_0x156c4b[_0x184a14(0x248)]-0x1,_0x2f6c92;_0x5fb76b>=0x0;_0x5fb76b--)(_0x2f6c92=_0x156c4b[_0x5fb76b])&&(_0x3337a7=_0x2f6c92(_0x3337a7)||_0x3337a7);return _0x3337a7;},_0x202202=(_0x179fb5,_0x291a6b)=>(_0x4988cf,_0x82913b)=>_0x291a6b(_0x4988cf,_0x82913b,_0x179fb5);let _0x58847c=class{constructor(_0x5c9fc9,_0x8b276e,_0x4806fe){const _0x239e09=_0x400835;this['_injector']=_0x5c9fc9,this[_0x239e09(0x334)]=_0x8b276e,this['_docStateChangeManagerService']=_0x4806fe;}['transformStateCache'](_0x597445){const _0x5c3cb0=_0x400835;this[_0x5c3cb0(0x169)](_0x597445);}[_0x400835(0xba)](_0x29b266){const _0x559fa2=_0x400835,{unitID:_0x2656bc}=_0x29b266,{collaboration:_0x3d5378}=this[_0x559fa2(0x215)][_0x559fa2(0x2c9)](_0x2656bc);if(_0x3d5378[_0x559fa2(0x248)]===0x0)return _0x29b266;let _0x55806b=_0x43911e[_0x559fa2(0x1d1)][_0x559fa2(0x314)](_0x29b266['mutations'][0x0]);for(let _0x1c6bc5=0x0;_0x1c6bc5<_0x3d5378[_0x559fa2(0x248)];_0x1c6bc5++){const _0x8c9845={'id':_0x559fa2(0x2da),'params':{'unitId':_0x3d5378[_0x1c6bc5]['unitId'],..._0x3d5378[_0x1c6bc5][_0x559fa2(0x197)]}},_0x31712e=this[_0x559fa2(0x334)]['transformMutation'](_0x55806b,_0x8c9845,!0x1);if(_0x2761bb['isTransformMutationFailure'](_0x31712e))throw _0x31712e[_0x559fa2(0x176)];_0x55806b=_0x31712e[_0x559fa2(0x160)];}return{..._0x43911e[_0x559fa2(0x1d1)][_0x559fa2(0x314)](_0x29b266),'mutations':[_0x55806b]};}['_transformHistoryAndStateStack'](_0x8d6a44){const _0x1f4eb0=_0x400835,{unitID:_0x589a7a}=_0x8d6a44,{history:_0x1362e3,collaboration:_0x53834f}=this[_0x1f4eb0(0x215)][_0x1f4eb0(0x2c9)](_0x589a7a);if(_0x1362e3[_0x1f4eb0(0x248)]===0x0&&_0x53834f[_0x1f4eb0(0x248)]===0x0)return;const _0x18061d=[],_0x48e6fd=[];let _0x838d58=_0x43911e['Tools'][_0x1f4eb0(0x314)](_0x8d6a44['mutations'][0x0]),_0x2ff73d=_0x43911e['Tools'][_0x1f4eb0(0x314)](_0x8d6a44[_0x1f4eb0(0x1f5)][0x0]);for(let _0xd1150f=_0x1362e3[_0x1f4eb0(0x248)]-0x1;_0xd1150f>=0x0;_0xd1150f--){const _0x2cb3c9={'id':_0x1f4eb0(0x2da),'params':{'unitId':_0x1362e3[_0xd1150f][_0x1f4eb0(0x9a)],..._0x1362e3[_0xd1150f][_0x1f4eb0(0xd4)]}},_0x4ef433={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1362e3[_0xd1150f][_0x1f4eb0(0x9a)],..._0x1362e3[_0xd1150f][_0x1f4eb0(0x197)]}},_0x48a479=this[_0x1f4eb0(0x334)]['transformMutation'](_0x838d58,_0x2cb3c9,!0x1),_0x5316e5=this['_transformService'][_0x1f4eb0(0x31b)](_0x2ff73d,_0x4ef433,!0x1);if(_0x2761bb[_0x1f4eb0(0x18c)](_0x48a479))throw _0x48a479[_0x1f4eb0(0x176)];if(_0x2761bb[_0x1f4eb0(0x18c)](_0x5316e5))throw _0x5316e5['error'];_0x18061d[_0x1f4eb0(0x112)]({..._0x1362e3[_0xd1150f],'undoState':_0x48a479[_0x1f4eb0(0x2cd)][_0x1f4eb0(0xa8)],'redoState':_0x5316e5[_0x1f4eb0(0x2cd)][_0x1f4eb0(0xa8)]}),_0x838d58=_0x48a479[_0x1f4eb0(0x160)],_0x2ff73d=_0x5316e5['m1Prime'];}_0x838d58=_0x43911e['Tools']['deepClone'](_0x8d6a44['mutations'][0x0]),_0x2ff73d=_0x43911e[_0x1f4eb0(0x1d1)][_0x1f4eb0(0x314)](_0x8d6a44[_0x1f4eb0(0x1f5)][0x0]);for(let _0x224045=_0x53834f[_0x1f4eb0(0x248)]-0x1;_0x224045>=0x0;_0x224045--){const _0x390f2e={'id':_0x1f4eb0(0x2da),'params':{'unitId':_0x53834f[_0x224045][_0x1f4eb0(0x9a)],..._0x53834f[_0x224045][_0x1f4eb0(0xd4)]}},_0x3805d0={'id':_0x1f4eb0(0x2da),'params':{'unitId':_0x53834f[_0x224045]['unitId'],..._0x53834f[_0x224045][_0x1f4eb0(0x197)]}},_0x9df659=this['_transformService']['transformMutation'](_0x838d58,_0x390f2e,!0x1),_0x4a62c8=this[_0x1f4eb0(0x334)][_0x1f4eb0(0x31b)](_0x2ff73d,_0x3805d0,!0x1);if(_0x2761bb[_0x1f4eb0(0x18c)](_0x9df659))throw _0x9df659['error'];if(_0x2761bb[_0x1f4eb0(0x18c)](_0x4a62c8))throw _0x4a62c8[_0x1f4eb0(0x176)];_0x48e6fd[_0x1f4eb0(0x112)]({..._0x53834f[_0x224045],'undoState':_0x9df659[_0x1f4eb0(0x2cd)][_0x1f4eb0(0xa8)],'redoState':_0x4a62c8[_0x1f4eb0(0x2cd)]['params']}),_0x838d58=_0x9df659['m1Prime'],_0x2ff73d=_0x4a62c8[_0x1f4eb0(0x160)];}this[_0x1f4eb0(0x215)][_0x1f4eb0(0x2cf)](_0x589a7a,{'history':_0x18061d,'collaboration':_0x48e6fd});}};_0x58847c=_0x29dc49([_0x202202(0x0,_0x43911e[_0x400835(0x200)](_0x43911e[_0x400835(0x1e0)])),_0x202202(0x1,_0x2761bb['ITransformService']),_0x202202(0x2,_0x43911e[_0x400835(0x200)](_0xf36ffa[_0x400835(0x2f8)]))],_0x58847c);var _0xa85f16=Object['getOwnPropertyDescriptor'],_0x4112ca=(_0x4ac826,_0x198264,_0x2264b3,_0x6e6724)=>{const _0xa2db6c=_0x400835;for(var _0x90ee95=_0x6e6724>0x1?void 0x0:_0x6e6724?_0xa85f16(_0x198264,_0x2264b3):_0x198264,_0x5c3908=_0x4ac826[_0xa2db6c(0x248)]-0x1,_0xee3f18;_0x5c3908>=0x0;_0x5c3908--)(_0xee3f18=_0x4ac826[_0x5c3908])&&(_0x90ee95=_0xee3f18(_0x90ee95)||_0x90ee95);return _0x90ee95;},_0x107fe3=(_0x2e5a95,_0x407061)=>(_0x1e777b,_0x3da226)=>_0x407061(_0x1e777b,_0x3da226,_0x2e5a95);let _0x3f4de1=class{constructor(_0x2e6144,_0x513a8c){const _0x248351=_0x400835;this[_0x248351(0x1b5)]=_0x2e6144,this[_0x248351(0x334)]=_0x513a8c;}['transformSelections'](_0x338363){const _0x78c763=_0x400835;var _0x54a4eb;const _0x46a297=this[_0x78c763(0x1b5)][_0x78c763(0x1db)](_0x4d8e11[_0x78c763(0x282)]),_0x55a91f=(_0x54a4eb=_0x46a297['getDocRanges']())!=null?_0x54a4eb:[];if(_0x55a91f[_0x78c763(0x248)]===0x0)return;const _0x5021bd=_0x338363[_0x78c763(0x1dd)],_0x567b25=[{'id':_0x78c763(0x2da),'params':{'unitId':_0x5021bd,'actions':null,'textRanges':_0x55a91f}}],_0x3012e3=this[_0x78c763(0x334)][_0x78c763(0x2ef)](_0x338363,_0x567b25);if(!_0x2761bb[_0x78c763(0x190)](_0x3012e3))throw _0x3012e3[_0x78c763(0x176)];const _0x15224c=_0x3012e3[_0x78c763(0x2cd)][0x0][_0x78c763(0xa8)]['textRanges'];Array['isArray'](_0x15224c)&&_0x15224c[_0x78c763(0x248)]&&_0x46a297[_0x78c763(0x157)](_0x15224c,{'unitId':_0x5021bd,'subUnitId':_0x5021bd},!0x1);}};_0x3f4de1=_0x4112ca([_0x107fe3(0x0,_0x43911e['Inject'](_0x43911e[_0x400835(0x1e0)])),_0x107fe3(0x1,_0x2761bb[_0x400835(0x242)])],_0x3f4de1);var _0x134bee=Object['getOwnPropertyDescriptor'],_0x53d9a2=(_0x18a16a,_0x253446,_0x35b052,_0x204d02)=>{const _0x55ae2b=_0x400835;for(var _0x2b43b2=_0x204d02>0x1?void 0x0:_0x204d02?_0x134bee(_0x253446,_0x35b052):_0x253446,_0x27e3d6=_0x18a16a[_0x55ae2b(0x248)]-0x1,_0x5bb554;_0x27e3d6>=0x0;_0x27e3d6--)(_0x5bb554=_0x18a16a[_0x27e3d6])&&(_0x2b43b2=_0x5bb554(_0x2b43b2)||_0x2b43b2);return _0x2b43b2;},_0x47943b=(_0x120e58,_0x29d41a)=>(_0x28d622,_0x28f07a)=>_0x29d41a(_0x28d622,_0x28f07a,_0x120e58);let _0x4a6b4d=class extends _0x43911e[_0x400835(0x271)]{constructor(_0x57aecc,_0x19f026,_0x541c61,_0x17da7f,_0xb1e0f,_0x544c92,_0x3b057d,_0x158a31){const _0xc04cbb=_0x400835;super(),_0x101dfa(this,_0xc04cbb(0x2c4),new _0x5663a0['BehaviorSubject'](_0x5ad2ec[_0xc04cbb(0x138)][_0xc04cbb(0xff)])),(this['_docStateChangeManagerService']=_0x57aecc,this[_0xc04cbb(0x13d)]=_0x19f026,this['_docTransformIMECacheService']=_0x541c61,this[_0xc04cbb(0x211)]=_0x17da7f,this[_0xc04cbb(0x2fa)]=_0xb1e0f,this[_0xc04cbb(0x15c)]=_0x544c92,this[_0xc04cbb(0xbb)]=_0x3b057d,this[_0xc04cbb(0xab)]=_0x158a31,this[_0xc04cbb(0x346)]());}[_0x400835(0x346)](){const _0x3096d7=_0x400835;this['disposeWithMe'](this['_collaborationController'][_0x3096d7(0xf2)][_0x3096d7(0x2d6)](_0x17c33d=>{const _0x51a2c8=_0x3096d7,_0x280e8b=this['_docStateChangeManagerService'][_0x51a2c8(0x1f1)]['subscribe'](_0x5c4b71=>{const _0x4da9f0=_0x51a2c8;if(_0x5c4b71==null)return;const {unitId:_0x584e18,redoState:_0x4d4984,commandId:_0x20f9fd}=_0x5c4b71;if(_0x584e18!==_0x17c33d[_0x4da9f0(0x1dd)])return;const _0x12b4b8={'id':_0x20f9fd,'type':_0x43911e[_0x4da9f0(0x2b3)][_0x4da9f0(0xa4)],'params':{'unitId':_0x584e18,'actions':_0x4d4984[_0x4da9f0(0x18e)],'textRanges':null}};_0x17c33d[_0x4da9f0(0x1ee)](_0x12b4b8);});if(_0x17c33d[_0x51a2c8(0x29e)](_0x280e8b),_0x17c33d instanceof _0x5ad2ec[_0x51a2c8(0x351)]){const _0x4ae438={'onTransformIME':_0x24f95e=>this[_0x51a2c8(0x1c2)][_0x51a2c8(0x28e)](_0x24f95e),'onTransformState':_0x4f6f44=>this['_docTransformStateCacheService']['transformStateCache'](_0x4f6f44),'onTransformSelections':_0x1f9b23=>this[_0x51a2c8(0x2fa)][_0x51a2c8(0x25a)](_0x1f9b23),'onSyncEditingCollabCursor':_0x25580f=>this[_0x51a2c8(0x15c)]['syncEditingCollabCursor'](_0x25580f),'onTransformRemoteChangesetByIMECache':_0x1441a8=>this[_0x51a2c8(0x1c2)]['transformRemoteChangeset'](_0x1441a8),'onTransformRemoteChangesetByStateCache':_0x4e3ccf=>this[_0x51a2c8(0x211)][_0x51a2c8(0xba)](_0x4e3ccf)};_0x17c33d['addHandlerCallback'](_0x4ae438);}}));}};_0x4a6b4d=_0x53d9a2([_0x47943b(0x0,_0x43911e['Inject'](_0xf36ffa['DocStateChangeManagerService'])),_0x47943b(0x1,_0x43911e['Inject'](_0x5ad2ec[_0x400835(0x125)])),_0x47943b(0x2,_0x43911e[_0x400835(0x200)](_0x508f94)),_0x47943b(0x3,_0x43911e[_0x400835(0x200)](_0x58847c)),_0x47943b(0x4,_0x43911e['Inject'](_0x3f4de1)),_0x47943b(0x5,_0x43911e[_0x400835(0x200)](_0x14f8b7)),_0x47943b(0x6,_0x13af98['IMessageService']),_0x47943b(0x7,_0x43911e['Inject'](_0x43911e[_0x400835(0xc5)]))],_0x4a6b4d);var _0x1fb160=(_0x33ad86=>(_0x33ad86[_0x33ad86[_0x400835(0x153)]=0x0]=_0x400835(0x153),_0x33ad86[_0x33ad86['OK']=0x1]='OK',_0x33ad86[_0x33ad86[_0x400835(0x203)]=0x2]=_0x400835(0x203),_0x33ad86[_0x33ad86[_0x400835(0x11b)]=0x3]=_0x400835(0x11b),_0x33ad86[_0x33ad86[_0x400835(0xa7)]=0x4]=_0x400835(0xa7),_0x33ad86[_0x33ad86['UNAUTHENTICATED']=0x5]=_0x400835(0x335),_0x33ad86[_0x33ad86['ALREADY_EXISTS']=0x6]=_0x400835(0x1ac),_0x33ad86[_0x33ad86[_0x400835(0x302)]=0x7]=_0x400835(0x302),_0x33ad86[_0x33ad86[_0x400835(0xde)]=0x8]='TOO_MANY_REQUESTS',_0x33ad86[_0x33ad86['COMPLETION_FINISHED']=0x9]=_0x400835(0x180),_0x33ad86[_0x33ad86[_0x400835(0x2d5)]=0xa]='LOGIN_FAILED',_0x33ad86[_0x33ad86[_0x400835(0x290)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x33ad86[_0x33ad86['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x33ad86[_0x33ad86[_0x400835(0x130)]=0xd]=_0x400835(0x130),_0x33ad86[_0x33ad86[_0x400835(0x32e)]=0xe]=_0x400835(0x32e),_0x33ad86[_0x33ad86[_0x400835(0x212)]=0xf]=_0x400835(0x212),_0x33ad86[_0x33ad86[_0x400835(0xe2)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x33ad86[_0x33ad86[_0x400835(0x360)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x33ad86[_0x33ad86[_0x400835(0x288)]=0x65]='ERROR_AGAIN',_0x33ad86[_0x33ad86[_0x400835(0x21a)]=0xc9]='USER_NOT_FOUND',_0x33ad86[_0x33ad86[_0x400835(0x17d)]=0xca]=_0x400835(0x17d),_0x33ad86[_0x33ad86[_0x400835(0x100)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x33ad86[_0x33ad86['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x400835(0x21e),_0x33ad86[_0x33ad86[_0x400835(0x145)]=0x1772]=_0x400835(0x145),_0x33ad86[_0x33ad86['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x33ad86[_0x33ad86[_0x400835(0x2b9)]=0x1b59]=_0x400835(0x2b9),_0x33ad86[_0x33ad86[_0x400835(0x29f)]=0x1b5a]=_0x400835(0x29f),_0x33ad86[_0x33ad86[_0x400835(0x35f)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x33ad86[_0x33ad86['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x400835(0x124),_0x33ad86[_0x33ad86[_0x400835(0x2bb)]=0x1b5d]='APPLY_DUPLICATED',_0x33ad86[_0x33ad86['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x33ad86[_0x33ad86['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x400835(0x91),_0x33ad86[_0x33ad86[_0x400835(0x16b)]=0x232a]=_0x400835(0x16b),_0x33ad86[_0x33ad86[_0x400835(0x27d)]=0x232b]=_0x400835(0x27d),_0x33ad86[_0x33ad86[_0x400835(0x2f5)]=0x232c]=_0x400835(0x2f5),_0x33ad86[_0x33ad86['LICENSE_DISTRO_REJECTED']=0x232d]=_0x400835(0x22d),_0x33ad86[_0x33ad86[_0x400835(0x287)]=0x2711]=_0x400835(0x287),_0x33ad86[_0x33ad86['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x400835(0x11c),_0x33ad86[_0x33ad86[_0x400835(0x29b)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x33ad86[_0x33ad86[_0x400835(0x17c)]=0x2714]=_0x400835(0x17c),_0x33ad86[_0x33ad86[_0x400835(0x33e)]=0x271a]=_0x400835(0x33e),_0x33ad86[_0x33ad86['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x400835(0xef),_0x33ad86[_0x33ad86[_0x400835(0x14e)]=0x271c]=_0x400835(0x14e),_0x33ad86[_0x33ad86['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x400835(0x2b1),_0x33ad86[_0x33ad86[_0x400835(0x121)]=0x271e]=_0x400835(0x121),_0x33ad86[_0x33ad86['YUUMI_AI_RUN_FAILED']=0x271f]=_0x400835(0x30b),_0x33ad86[_0x33ad86[_0x400835(0x229)]=0x2720]=_0x400835(0x229),_0x33ad86[_0x33ad86[_0x400835(0x1a1)]=0x2af9]=_0x400835(0x1a1),_0x33ad86[_0x33ad86[_0x400835(0x28c)]=0x2ee1]=_0x400835(0x28c),_0x33ad86[_0x33ad86[_0x400835(0x2cb)]=0x2ee2]='INVALID_INVITE_CODE',_0x33ad86[_0x33ad86[_0x400835(0x99)]=0x2ee3]=_0x400835(0x99),_0x33ad86[_0x33ad86[_0x400835(0x2d1)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x33ad86[_0x33ad86['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x400835(0x165),_0x33ad86[_0x33ad86[_0x400835(0x28b)]=0x32c9]=_0x400835(0x28b),_0x33ad86[_0x33ad86[_0x400835(0x2b8)]=0x32ca]=_0x400835(0x2b8),_0x33ad86[_0x33ad86['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x400835(0x13b),_0x33ad86[_0x33ad86[_0x400835(0x30d)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x33ad86[_0x33ad86[_0x400835(0x92)]=0x36b2]=_0x400835(0x92),_0x33ad86[_0x33ad86['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x400835(0x31f),_0x33ad86[_0x33ad86['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x33ad86[_0x33ad86['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x33ad86[_0x33ad86[_0x400835(0x1e9)]=0x3716]=_0x400835(0x1e9),_0x33ad86[_0x33ad86[_0x400835(0x266)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x33ad86[_0x33ad86[_0x400835(0xfd)]=0x37dd]=_0x400835(0xfd),_0x33ad86[_0x33ad86[_0x400835(0x2b0)]=0x3a99]=_0x400835(0x2b0),_0x33ad86[_0x33ad86[_0x400835(0x326)]=0x3a9a]=_0x400835(0x326),_0x33ad86[_0x33ad86[_0x400835(0x2bc)]=0x3a9b]=_0x400835(0x2bc),_0x33ad86[_0x33ad86[_0x400835(0x30e)]=0x3a9c]=_0x400835(0x30e),_0x33ad86[_0x33ad86[_0x400835(0x1e2)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x33ad86[_0x33ad86['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x400835(0x363),_0x33ad86[_0x33ad86[_0x400835(0xd1)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x33ad86[_0x33ad86[_0x400835(0x1c8)]=0x3e81]=_0x400835(0x1c8),_0x33ad86[_0x33ad86['UNRECOGNIZED']=-0x1]=_0x400835(0x189),_0x33ad86))(_0x1fb160||{});function _0x35a2be(_0x508b62){const _0x1b2897=_0x400835;var _0x3666a5,_0x11edf1;const _0x226ea5=(_0x3666a5=_0x508b62[_0x1b2897(0x1de)])==null?void 0x0:_0x3666a5[_0x1b2897(0x228)],_0x1db2c0=((_0x11edf1=_0x508b62['stageInfo'])==null?void 0x0:_0x11edf1[_0x1b2897(0x119)])||0x0;return _0x226ea5===_0x307b3c['FormulaExecuteStageType'][_0x1b2897(0x300)]&&_0x1db2c0>0x0;}function _0x40feb0(_0x3c65b6){const _0x3bead2=_0x400835;return _0x3c65b6[_0x3bead2(0xd5)]===_0x307b3c[_0x3bead2(0x1e6)]['SUCCESS'];}var _0x1528b5=Object[_0x400835(0x2e1)],_0x334100=(_0xc00298,_0xce0ed6,_0x5e0818,_0x5ecb11)=>{const _0x175343=_0x400835;for(var _0xcc218b=_0x5ecb11>0x1?void 0x0:_0x5ecb11?_0x1528b5(_0xce0ed6,_0x5e0818):_0xce0ed6,_0x3545ef=_0xc00298[_0x175343(0x248)]-0x1,_0x44b2be;_0x3545ef>=0x0;_0x3545ef--)(_0x44b2be=_0xc00298[_0x3545ef])&&(_0xcc218b=_0x44b2be(_0xcc218b)||_0xcc218b);return _0xcc218b;},_0x2a2e1f=(_0x504da0,_0x231878)=>(_0x495023,_0x25b717)=>_0x231878(_0x495023,_0x25b717,_0x504da0);const _0x46ca6b='/universer-api/license/formula/limit/status',_0x43cfef=_0x400835(0x22c),_0x43f285=_0x400835(0xc4);let _0x478a72=class extends _0x43911e[_0x400835(0x271)]{constructor(_0xbae97b,_0x696061,_0x7db936,_0x276f91,_0x560cd8,_0x3e070a,_0x36fa4d){const _0x4d79f1=_0x400835;super(),_0x101dfa(this,_0x4d79f1(0xeb),null),_0x101dfa(this,_0x4d79f1(0x2af),0x0),_0x101dfa(this,_0x4d79f1(0x146),0x0),_0x101dfa(this,_0x4d79f1(0x233),[]),_0x101dfa(this,_0x4d79f1(0x11a),0x0),(this[_0x4d79f1(0xbb)]=_0xbae97b,this[_0x4d79f1(0x255)]=_0x696061,this[_0x4d79f1(0x151)]=_0x7db936,this[_0x4d79f1(0x283)]=_0x276f91,this['_univerInstanceService']=_0x560cd8,this[_0x4d79f1(0x245)]=_0x3e070a,this[_0x4d79f1(0xab)]=_0x36fa4d,this[_0x4d79f1(0x14b)]());}['_initCommandInterceptor'](){const _0x86e589=_0x400835;this[_0x86e589(0x29e)](this[_0x86e589(0x255)][_0x86e589(0xd9)]((_0x5538fe,_0x5319bd)=>{const _0x1fa963=_0x86e589;var _0x576ab6;if(_0x5538fe['id']!==_0x307b3c[_0x1fa963(0x19c)]['id'])return;const _0x2f2eb2=_0x5538fe[_0x1fa963(0xa8)];if(!this[_0x1fa963(0x330)]((_0x576ab6=_0x2f2eb2[_0x1fa963(0x22b)])!=null?_0x576ab6:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x1fa963(0x291)](_0x5538fe,_0x5319bd),this[_0x1fa963(0x19d)](),new _0x43911e[(_0x1fa963(0x2d7))]();})),this['disposeWithMe'](this[_0x86e589(0x255)]['onCommandExecuted']((_0x4bc0bb,_0x32f094)=>{const _0x4ae1b0=_0x86e589;if(_0x4bc0bb['id']!==_0x307b3c['SetFormulaCalculationNotificationMutation']['id'])return;const _0x12aff4=_0x4bc0bb[_0x4ae1b0(0xa8)];if(_0x35a2be(_0x12aff4)){const _0x1914d6=_0x43911e['generateRandomId']();this[_0x4ae1b0(0x233)][_0x4ae1b0(0x347)](_0x1914d6),this[_0x4ae1b0(0x218)](_0x1914d6);}else{if(_0x40feb0(_0x12aff4)&&this[_0x4ae1b0(0x233)][_0x4ae1b0(0x248)]>0x0){const _0x2b347b=this[_0x4ae1b0(0x233)][_0x4ae1b0(0xb6)]();this[_0x4ae1b0(0x29a)](_0x2b347b);}}}));}[_0x400835(0x336)](){const _0x3834c9=_0x400835;super[_0x3834c9(0x336)](),this['_clearPolling'](),this['_taskIds']=[],this[_0x3834c9(0x146)]=0x0,this['_maxFormulaLimit']=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x400835(0x291)](_0x2b134c,_0x452713){const _0x25e48d=_0x400835;for(let _0x3aa784=0x0;_0x3aa784<0x1e;_0x3aa784++)try{if(await this[_0x25e48d(0x144)](),this['_checkCalculationAvailable']()){this['_applyCommand'](_0x2b134c,_0x452713),this[_0x25e48d(0xbb)]['show']({'content':this[_0x25e48d(0xab)]['t'](_0x25e48d(0x305)),'type':_0x339a9a[_0x25e48d(0x26d)]['Success']});return;}await new Promise(_0x22d0e7=>{this['_pollingInterval']=window['setTimeout'](_0x22d0e7,0x3e8);});}catch(_0x5a8f5b){this[_0x25e48d(0x245)][_0x25e48d(0x176)](_0x5a8f5b);}this[_0x25e48d(0xbb)]['show']({'content':this[_0x25e48d(0xab)]['t'](_0x25e48d(0x13a)),'type':_0x339a9a['MessageType'][_0x25e48d(0x2ca)]});}[_0x400835(0x2d8)](_0x2dda39,_0x6e3ecf){const _0x39a935=_0x400835;try{this['_commandService'][_0x39a935(0x101)](_0x2dda39['id'],_0x2dda39[_0x39a935(0xa8)],_0x6e3ecf);}catch(_0x3a8d55){this['_logService'][_0x39a935(0x176)](_0x3a8d55);}}[_0x400835(0x19b)](_0x2f0705,_0x41b320){const _0x3df31b=_0x400835;_0x41b320<this[_0x3df31b(0x11a)]||(this[_0x3df31b(0x11a)]=_0x41b320,this[_0x3df31b(0x2af)]=Number[_0x3df31b(0x28d)](_0x2f0705[_0x3df31b(0xb3)]),this[_0x3df31b(0x146)]=Number[_0x3df31b(0x28d)](_0x2f0705['currentUsage']));}async[_0x400835(0x218)](_0x107e74){const _0x27b06f=_0x400835;var _0x379f07,_0x5078ea;const _0x2038cc=Date[_0x27b06f(0x362)]();try{const _0x36346e=((_0x379f07=this[_0x27b06f(0x151)][_0x27b06f(0x1f7)](_0x5ad2ec['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x379f07['startFormulaLimitUrl'])||_0x43cfef,_0x12f312=(await this[_0x27b06f(0x283)][_0x27b06f(0x1dc)](_0x36346e,{'body':JSON[_0x27b06f(0xfb)]({'taskId':_0x107e74})}))[_0x27b06f(0x154)];if(((_0x5078ea=_0x12f312[_0x27b06f(0x176)])==null?void 0x0:_0x5078ea[_0x27b06f(0x162)])!==_0x1fb160['OK'])return;this[_0x27b06f(0x19b)](_0x12f312[_0x27b06f(0x102)],_0x2038cc);}catch(_0x1bdb0b){this['_logService'][_0x27b06f(0x176)](_0x1bdb0b);}}async[_0x400835(0x144)](_0x3debbc){const _0x50261b=_0x400835;var _0x541f43,_0x39962d;const _0x4b1231=Date['now']();try{const _0x1845ee=((_0x541f43=this[_0x50261b(0x151)]['getConfig'](_0x5ad2ec[_0x50261b(0x168)]))==null?void 0x0:_0x541f43['getformulaLimitStatusUrl'])||_0x46ca6b,_0x39e92f=_0x3debbc?_0x1845ee+_0x50261b(0x35c)+encodeURIComponent(_0x3debbc):_0x1845ee,_0xe5c989=(await this[_0x50261b(0x283)][_0x50261b(0x1db)](_0x39e92f))['body'];if(((_0x39962d=_0xe5c989['error'])==null?void 0x0:_0x39962d[_0x50261b(0x162)])!==_0x1fb160['OK'])return;this[_0x50261b(0x19b)](_0xe5c989[_0x50261b(0x102)],_0x4b1231);}catch(_0x49bc8c){this[_0x50261b(0x245)][_0x50261b(0x176)](_0x49bc8c);}}async[_0x400835(0x29a)](_0x3007c2){const _0x340cc3=_0x400835;var _0x276e00,_0x39ea46;const _0x16b2d1=Date['now']();try{const _0x3519a5=((_0x276e00=this[_0x340cc3(0x151)][_0x340cc3(0x1f7)](_0x5ad2ec[_0x340cc3(0x168)]))==null?void 0x0:_0x276e00[_0x340cc3(0x236)])||_0x43f285,_0x30ef92=(await this[_0x340cc3(0x283)][_0x340cc3(0x1dc)](_0x3519a5,{'body':JSON[_0x340cc3(0xfb)]({'taskId':_0x3007c2})}))[_0x340cc3(0x154)];if(((_0x39ea46=_0x30ef92[_0x340cc3(0x176)])==null?void 0x0:_0x39ea46[_0x340cc3(0x162)])!==_0x1fb160['OK'])return;this[_0x340cc3(0x19b)](_0x30ef92[_0x340cc3(0x102)],_0x16b2d1);}catch(_0x5bfcfe){this['_logService'][_0x340cc3(0x176)](_0x5bfcfe);}}['_checkCalculationAvailable'](){const _0x7b4372=_0x400835;return this[_0x7b4372(0x2af)]===0x0?!0x0:this[_0x7b4372(0x2af)]-this['_currentUsage']>0x0;}[_0x400835(0x19a)](){const _0x17c4bf=_0x400835;this[_0x17c4bf(0xeb)]&&(clearTimeout(this[_0x17c4bf(0xeb)]),this[_0x17c4bf(0xeb)]=null);}[_0x400835(0x19d)](){const _0x374f88=_0x400835;this[_0x374f88(0xbb)][_0x374f88(0xa6)]({'content':this[_0x374f88(0xab)]['t'](_0x374f88(0x257)),'type':_0x339a9a[_0x374f88(0x26d)][_0x374f88(0x93)]});}[_0x400835(0x330)](_0x419827){const _0x54ecec=_0x400835;for(const _0x42a56b of _0x419827){const {unitId:_0x1da8e4,sheetId:_0x2d1ee3,range:_0x3d77b5}=_0x42a56b,_0x34f552=this[_0x54ecec(0x267)][_0x54ecec(0x34c)](_0x1da8e4);if(!_0x34f552)continue;const _0x28fef4=_0x34f552['getSheetBySheetId'](_0x2d1ee3);if(!_0x28fef4)continue;const _0x17914a=_0x28fef4[_0x54ecec(0x1ea)]();for(let _0x25ec48=_0x3d77b5[_0x54ecec(0x9c)];_0x25ec48<=_0x3d77b5['endRow'];_0x25ec48++)for(let _0x4c2784=_0x3d77b5[_0x54ecec(0xe5)];_0x4c2784<=_0x3d77b5[_0x54ecec(0x1b9)];_0x4c2784++){const _0x585d99=_0x17914a[_0x54ecec(0x256)](_0x25ec48,_0x4c2784);if(_0x585d99&&(_0x43911e[_0x54ecec(0x27e)](_0x585d99['f'])||_0x43911e[_0x54ecec(0xb4)](_0x585d99['si'])))return!0x0;}}return!0x1;}};_0x478a72=_0x334100([_0x2a2e1f(0x0,_0x43911e[_0x400835(0x200)](_0x13af98[_0x400835(0x199)])),_0x2a2e1f(0x1,_0x43911e[_0x400835(0x90)]),_0x2a2e1f(0x2,_0x43911e[_0x400835(0x339)]),_0x2a2e1f(0x3,_0x43911e['Inject'](_0x13a8c2[_0x400835(0xe7)])),_0x2a2e1f(0x4,_0x43911e[_0x400835(0x33b)]),_0x2a2e1f(0x5,_0x43911e[_0x400835(0x31e)]),_0x2a2e1f(0x6,_0x43911e[_0x400835(0x200)](_0x43911e[_0x400835(0xc5)]))],_0x478a72);var _0x5976f0=Object[_0x400835(0x2e1)],_0x145533=(_0x407563,_0x48e223,_0x4841aa,_0x580338)=>{const _0x53b355=_0x400835;for(var _0xe58e81=_0x580338>0x1?void 0x0:_0x580338?_0x5976f0(_0x48e223,_0x4841aa):_0x48e223,_0x432891=_0x407563[_0x53b355(0x248)]-0x1,_0x5a0976;_0x432891>=0x0;_0x432891--)(_0x5a0976=_0x407563[_0x432891])&&(_0xe58e81=_0x5a0976(_0xe58e81)||_0xe58e81);return _0xe58e81;},_0x554bd1=(_0x172c81,_0x1b2f46)=>(_0x1f1646,_0x704372)=>_0x1b2f46(_0x1f1646,_0x704372,_0x172c81);let _0x20fb06=class extends _0x43911e[_0x400835(0x271)]{constructor(_0x4b711f,_0x3e4c12,_0x3b3a40){const _0xf461bd=_0x400835;super(),_0x101dfa(this,_0xf461bd(0x7b),new Map()),_0x101dfa(this,_0xf461bd(0x1ff),new Map()),_0x101dfa(this,'_disabled',!0x1),(this['_configService']=_0x4b711f,this[_0xf461bd(0x12c)]=_0x3e4c12,this[_0xf461bd(0x166)]=_0x3b3a40);}[_0x400835(0x24b)](){this['_disabled']=!0x0;}[_0x400835(0x8f)](){const _0x1a7393=_0x400835;this[_0x1a7393(0x1cc)]=!0x1;}get[_0x400835(0x2e5)](){const _0x5b2011=_0x400835;return this[_0x5b2011(0x1ff)];}['dispose'](){const _0x28baf8=_0x400835;this[_0x28baf8(0x33c)]()[_0x28baf8(0x342)](()=>super[_0x28baf8(0x336)]());}async[_0x400835(0xce)](_0x1839c4){const _0x2fb94c=_0x400835;return this[_0x2fb94c(0x1cc)]?null:this[_0x2fb94c(0x12c)]['getItem'](_0x5ad2ec[_0x2fb94c(0x32b)](_0x1839c4));}async[_0x400835(0xc1)](_0xe0375c,_0x17b6c7){const _0x53d2b2=_0x400835;return!!this['_localStorageService'][_0x53d2b2(0x12f)](_0xe0375c,_0x17b6c7);}[_0x400835(0x1b0)](_0x12f347,_0x53e7d6,_0xada41a,_0x576889){const _0x12def4=_0x400835,_0x3efac2=this['_revisionService']['getCurrentRevOfUnit'](_0x12f347);this[_0x12def4(0x7b)]['set'](_0x12f347,{'unitID':_0x12f347,'type':_0x53e7d6,'awaitingChangeset':_0xada41a,'mutations':_0x576889,'rev':_0x3efac2}),this[_0x12def4(0x1ff)][_0x12def4(0x156)](_0x12f347)||this[_0x12def4(0x24c)](_0x12f347);}[_0x400835(0x24c)](_0x242843){const _0x35421c=_0x400835,_0x2e9616=this[_0x35421c(0x1bd)]();_0x2e9616===0x0?this['_saveCache'](_0x242843):this['_saveTaskMap'][_0x35421c(0x198)](_0x242843,setTimeout(()=>this['_saveCache'](_0x242843),_0x2e9616));}['_getSaveTimeout'](){const _0x445fdb=_0x400835;var _0x37b45e;return(_0x37b45e=this[_0x445fdb(0x151)][_0x445fdb(0x1f7)](_0x5ad2ec[_0x445fdb(0x16d)]))!=null?_0x37b45e:_0x5ad2ec[_0x445fdb(0xe4)];}[_0x400835(0x142)](_0x36fc22){const _0x4ace47=_0x400835,_0x51955a=this[_0x4ace47(0x1ff)][_0x4ace47(0x1db)](_0x36fc22);return _0x51955a!==void 0x0&&window[_0x4ace47(0x319)](_0x51955a),this[_0x4ace47(0x12c)][_0x4ace47(0x12f)](_0x5ad2ec[_0x4ace47(0x32b)](_0x36fc22),this[_0x4ace47(0x7b)]['get'](_0x36fc22))[_0x4ace47(0x342)](()=>this[_0x4ace47(0x1ff)][_0x4ace47(0x8b)](_0x36fc22));}async[_0x400835(0x33c)](){const _0x13a928=_0x400835,_0xcd6566=[];this[_0x13a928(0x1ff)][_0x13a928(0x214)]((_0x40c3dd,_0x1cfc8e)=>{const _0x22c496=_0x13a928;window[_0x22c496(0x319)](_0x40c3dd),_0xcd6566[_0x22c496(0x347)](this[_0x22c496(0x142)](_0x1cfc8e)[_0x22c496(0x342)](()=>{this['_saveTaskMap']['delete'](_0x1cfc8e);}));}),await Promise['all'](_0xcd6566);}};_0x20fb06=_0x145533([_0x554bd1(0x0,_0x43911e[_0x400835(0x339)]),_0x554bd1(0x1,_0x43911e[_0x400835(0x173)]),_0x554bd1(0x2,_0x43911e[_0x400835(0x200)](_0x2761bb['RevisionService']))],_0x20fb06);class _0x39fe91 extends _0x43911e[_0x400835(0xfc)]{constructor(){const _0x390db2=_0x400835;super(),_0x101dfa(this,_0x390db2(0x2b2)),this['urlChange$']=_0x5663a0[_0x390db2(0x149)](window,'popstate')[_0x390db2(0x2df)](_0x5663a0[_0x390db2(0x240)](this[_0x390db2(0x19e)]),_0x5663a0[_0x390db2(0x2b5)](0x1),_0x5663a0['mapTo'](void 0x0));}[_0x400835(0x2f1)](_0x13e102,_0x36d6ed,_0x52fe20=!0x1){const _0x4a9544=_0x400835,_0xc104f5=new URL(window[_0x4a9544(0x337)][_0x4a9544(0x94)]);_0xc104f5[_0x4a9544(0x1bf)]['set'](_0x13e102,_0x36d6ed),_0x52fe20?window[_0x4a9544(0x205)][_0x4a9544(0x357)]('','',_0xc104f5[_0x4a9544(0x359)]()):window['history'][_0x4a9544(0x1d5)]('','',_0xc104f5['toString']());}[_0x400835(0x225)](_0xaddc8a,_0x6d86cf=!0x1){const _0x1c50c1=_0x400835,_0x42cfb1=new URL(window[_0x1c50c1(0x337)][_0x1c50c1(0x94)]);_0x42cfb1['searchParams'][_0x1c50c1(0x8b)](_0xaddc8a),_0x6d86cf?window[_0x1c50c1(0x205)][_0x1c50c1(0x357)]('','',_0x42cfb1['toString']()):window[_0x1c50c1(0x205)][_0x1c50c1(0x1d5)]('','',_0x42cfb1[_0x1c50c1(0x359)]());}[_0x400835(0x35e)](_0x3286d3){const _0x43a616=_0x400835;var _0x312cf2;return(_0x312cf2=new URL(window['location'][_0x43a616(0x94)])[_0x43a616(0x1bf)]['get'](_0x3286d3))!=null?_0x312cf2:void 0x0;}}var _0x3b6bed=Object['defineProperty'],_0x3900fd=Object[_0x400835(0x2e1)],_0x43c13b=(_0x159114,_0x1aeb75,_0x1e5c63)=>_0x1aeb75 in _0x159114?_0x3b6bed(_0x159114,_0x1aeb75,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e5c63}):_0x159114[_0x1aeb75]=_0x1e5c63,_0x11022c=(_0x1702cb,_0x59e2ee,_0x3cc144,_0x5f31bd)=>{for(var _0x5b2e25=_0x5f31bd>0x1?void 0x0:_0x5f31bd?_0x3900fd(_0x59e2ee,_0x3cc144):_0x59e2ee,_0x226fae=_0x1702cb['length']-0x1,_0x5a6def;_0x226fae>=0x0;_0x226fae--)(_0x5a6def=_0x1702cb[_0x226fae])&&(_0x5b2e25=_0x5a6def(_0x5b2e25)||_0x5b2e25);return _0x5b2e25;},_0x2b1d8a=(_0x2174ba,_0x299c9b)=>(_0x52fcc9,_0x52b25d)=>_0x299c9b(_0x52fcc9,_0x52b25d,_0x2174ba),_0x120b26=(_0x579307,_0x53f6aa,_0x820865)=>_0x43c13b(_0x579307,_0x53f6aa+'',_0x820865);const _0x5a24a1=_0x400835(0xc8);_0x41602e['UniverCollaborationClientUIPlugin']=class extends _0x43911e['Plugin']{constructor(_0x4f8a51=_0x98d1bd,_0x22ff95,_0x2735f7,_0xe82e85){const _0x38d3f4=_0x400835;super(),this['_config']=_0x4f8a51,this[_0x38d3f4(0x88)]=_0x22ff95,this[_0x38d3f4(0x1b5)]=_0x2735f7,this['_configService']=_0xe82e85;const {..._0x460973}=_0x43911e[_0x38d3f4(0x1ec)]({},_0x98d1bd,this[_0x38d3f4(0x155)]);this[_0x38d3f4(0x151)][_0x38d3f4(0x1eb)](_0x104d00,_0x460973);}['onStarting'](){const _0x23dc1c=_0x400835;this[_0x23dc1c(0x143)](),this['_initDependencies']();}[_0x400835(0x127)](){const _0x283f9b=_0x400835;this[_0x283f9b(0x2a8)]();}['_registerDependencies'](){const _0x3de6c6=_0x400835;var _0x3dc15f;const _0x4102f5=[[_0xde5efe],[_0x478a72],[_0x3f4de1],[_0x508f94],[_0x58847c],[_0x14f8b7],[_0x41118d,{'useClass':_0x39fe91}],[_0x13a8c2[_0x3de6c6(0x2dc)],{'useClass':_0x13a8c2['WebSocketService']}],[_0x5ad2ec['ILocalCacheService'],{'useClass':_0x20fb06}],[_0x41602e[_0x3de6c6(0x22f)]],[_0x4a6b4d],[_0x30f9ec],[_0x3e1d94],[_0xeff9e9],[_0x41602e[_0x3de6c6(0x309)]]];this[_0x3de6c6(0x155)]['enableFrontendLog']&&_0x4102f5[_0x3de6c6(0x347)]([_0x48f808]),_0x43911e[_0x3de6c6(0x117)](this['_injector'],_0x43911e[_0x3de6c6(0x13f)](_0x4102f5,(_0x3dc15f=this[_0x3de6c6(0x155)])==null?void 0x0:_0x3dc15f[_0x3de6c6(0x32a)]));}[_0x400835(0x2a8)](){const _0x315741=_0x400835;this[_0x315741(0x29e)](this[_0x315741(0x88)][_0x315741(0x1a2)](_0x43911e[_0x315741(0x20b)]['UNIVER_DOC'],[_0x236da3])),this['disposeWithMe'](this['_renderManagerService'][_0x315741(0x1a2)](_0x43911e[_0x315741(0x20b)][_0x315741(0x35a)],[_0x5d0983]));}[_0x400835(0x1b2)](){const _0x58bcec=_0x400835;_0x43911e[_0x58bcec(0xa1)](this[_0x58bcec(0x1b5)],[[_0x3e1d94],[_0x41602e['DesktopCollaborationStatusDisplayController']],[_0x4a6b4d],[_0x30f9ec],[_0x41602e['CollaborationDataLoaderController']],[_0x478a72]]),this[_0x58bcec(0x155)][_0x58bcec(0x85)]&&_0x43911e[_0x58bcec(0xa1)](this['_injector'],[[_0x48f808]]);}},_0x120b26(_0x41602e['UniverCollaborationClientUIPlugin'],'pluginName',_0x5a24a1),_0x41602e[_0x400835(0x2a1)]=_0x11022c([_0x43911e[_0x400835(0x264)](_0x5ad2ec[_0x400835(0x2e0)]),_0x2b1d8a(0x1,_0x54cb20[_0x400835(0x22a)]),_0x2b1d8a(0x2,_0x43911e[_0x400835(0x200)](_0x43911e[_0x400835(0x1e0)])),_0x2b1d8a(0x3,_0x43911e[_0x400835(0x339)])],_0x41602e[_0x400835(0x2a1)]);var _0xc2a7e4=Object[_0x400835(0x2e1)],_0x18f27a=(_0x55aee2,_0x407fd3,_0x4cf0f5,_0x4ad52d)=>{const _0xabcf10=_0x400835;for(var _0x483abd=_0x4ad52d>0x1?void 0x0:_0x4ad52d?_0xc2a7e4(_0x407fd3,_0x4cf0f5):_0x407fd3,_0x5e4e1b=_0x55aee2[_0xabcf10(0x248)]-0x1,_0x8537a7;_0x5e4e1b>=0x0;_0x5e4e1b--)(_0x8537a7=_0x55aee2[_0x5e4e1b])&&(_0x483abd=_0x8537a7(_0x483abd)||_0x483abd);return _0x483abd;},_0x12bf38=(_0x3b0588,_0x21250e)=>(_0x2ad3fb,_0x2999bf)=>_0x21250e(_0x2ad3fb,_0x2999bf,_0x3b0588);_0x41602e[_0x400835(0x2c1)]=class extends _0x5ad2ec[_0x400835(0x194)]{constructor(_0x2c6fa6,_0x48fc30,_0x41c5fa,_0x201042,_0xc8ad41){super(_0x2c6fa6,_0x48fc30,_0x41c5fa,_0x201042,_0xc8ad41);}async[_0x400835(0x2e4)](_0x561446){const _0x63ea=_0x400835,_0x2aebe5=await this[_0x63ea(0x299)](),_0x443eeb=this[_0x63ea(0x11f)](_0x561446,_0x2aebe5);return this['_doCreateSocket'](_0x443eeb);}[_0x400835(0x11f)](_0x9db6a8,_0x4ef97e){const _0x2c1da1=_0x400835,_0x476fe2=typeof window>'u'?new URL(_0x9db6a8):new URL(_0x9db6a8,window[_0x2c1da1(0x337)][_0x2c1da1(0x187)]);_0x476fe2['searchParams'][_0x2c1da1(0x198)]('sessionTicket',_0x4ef97e);const _0x18cdde=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x2c1da1(0x2ad)]);return _0x18cdde[_0x2c1da1(0x1db)](_0x2c1da1(0x284))&&_0x476fe2['searchParams'][_0x2c1da1(0x198)](_0x2c1da1(0x284),_0x18cdde[_0x2c1da1(0x1db)]('runId')),_0x476fe2[_0x2c1da1(0x359)]();}async[_0x400835(0x299)](){const _0x5e270b=_0x400835;var _0x389de7,_0x5d3ffe,_0x58421b;const _0x982bbd=this['_configService'][_0x5e270b(0x1f7)](_0x5ad2ec[_0x5e270b(0x168)]),_0x3c5dc1=(_0x389de7=_0x982bbd==null?void 0x0:_0x982bbd['wsSessionTicketUrl'])!=null?_0x389de7:_0x5ad2ec[_0x5e270b(0x172)];return(_0x58421b=(_0x5d3ffe=(await this['_httpService']['get'](_0x3c5dc1,{'headers':{'Content-Type':_0x5e270b(0x104)}}))[_0x5e270b(0x154)])==null?void 0x0:_0x5d3ffe[_0x5e270b(0x118)])!=null?_0x58421b:'';}},_0x41602e[_0x400835(0x2c1)]=_0x18f27a([_0x12bf38(0x0,_0x43911e[_0x400835(0x200)](_0x43911e[_0x400835(0x1e0)])),_0x12bf38(0x1,_0x43911e[_0x400835(0x200)](_0x13a8c2['HTTPService'])),_0x12bf38(0x2,_0x43911e[_0x400835(0x339)]),_0x12bf38(0x3,_0x43911e[_0x400835(0x31e)]),_0x12bf38(0x4,_0x2761bb['ISnapshotServerService'])],_0x41602e[_0x400835(0x2c1)]);var _0x5e94d5=Object[_0x400835(0x2e1)],_0x5cc18c=(_0xf4ab58,_0x37fdbd,_0x4b9069,_0x22a2d4)=>{const _0x2fc9ab=_0x400835;for(var _0x2ca72e=_0x22a2d4>0x1?void 0x0:_0x22a2d4?_0x5e94d5(_0x37fdbd,_0x4b9069):_0x37fdbd,_0x4c0fdd=_0xf4ab58[_0x2fc9ab(0x248)]-0x1,_0x59823a;_0x4c0fdd>=0x0;_0x4c0fdd--)(_0x59823a=_0xf4ab58[_0x4c0fdd])&&(_0x2ca72e=_0x59823a(_0x2ca72e)||_0x2ca72e);return _0x2ca72e;},_0x3cf391=(_0x37492,_0x27967d)=>(_0x3e5aba,_0x3b6605)=>_0x27967d(_0x3e5aba,_0x3b6605,_0x37492);_0x41602e[_0x400835(0x113)]=class extends _0x43911e[_0x400835(0x271)]{constructor(_0xa0037d,_0x57ddb9,_0x27881d){const _0x215686=_0x400835;super(),this['_instanceService']=_0xa0037d,this[_0x215686(0x283)]=_0x57ddb9,this[_0x215686(0x151)]=_0x27881d;}async[_0x400835(0x2e2)](_0x37ba9c,_0x429b29,_0x341c8a,..._0x1a5d48){const _0x4480b9=_0x400835;var _0x390055,_0x577445,_0x23f8f5,_0x1afc90;const _0x31a4b4=this[_0x4480b9(0x2f9)][_0x4480b9(0x17f)]();if(!_0x31a4b4)throw new Error(_0x4480b9(0x338));const _0x2c4c9a=((_0x390055=this[_0x4480b9(0x151)]['getConfig'](_0x5ad2ec['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x390055:_0x5ad2ec[_0x4480b9(0x1ef)])+'/'+_0x37ba9c+'/run/'+_0x429b29,_0x3cdbb9=new URL(window[_0x4480b9(0x337)][_0x4480b9(0x94)]),_0x53ea4={'scriptId':_0x37ba9c,'runId':(_0x577445=_0x3cdbb9[_0x4480b9(0x1bf)][_0x4480b9(0x1db)](_0x4480b9(0x284)))!=null?_0x577445:'','function':_0x429b29,'unitId':_0x31a4b4[_0x4480b9(0x2c2)](),'argsOfFunction':JSON[_0x4480b9(0xfb)](_0x1a5d48),'invokeId':(_0x23f8f5=_0x341c8a[_0x4480b9(0x24f)])!=null?_0x23f8f5:'','executionId':(_0x1afc90=_0x341c8a['executionId'])!=null?_0x1afc90:''};try{const _0x3fd190=await this['_httpService'][_0x4480b9(0x1dc)](_0x2c4c9a,{'body':_0x53ea4});return _0x3fd190[_0x4480b9(0x154)]['error']&&_0x3fd190[_0x4480b9(0x154)][_0x4480b9(0x176)][_0x4480b9(0x162)]!==_0x1fb160['OK']?_0x4480b9(0x8e):_0x3fd190[_0x4480b9(0x154)]['result'];}catch{return'Failed';}}},_0x41602e['RemoteUniscriptService']=_0x5cc18c([_0x3cf391(0x0,_0x43911e[_0x400835(0x33b)]),_0x3cf391(0x1,_0x43911e['Inject'](_0x13a8c2[_0x400835(0xe7)])),_0x3cf391(0x2,_0x43911e[_0x400835(0x339)])],_0x41602e[_0x400835(0x113)]);const _0x24e553=0x7530,_0xd9fa3a='ACTIVE_UNIT_EVENT_CHANNEL';class _0x592496 extends _0x43911e[_0x400835(0x271)]{constructor(){const _0x3be6c1=_0x400835;super(),_0x101dfa(this,_0x3be6c1(0x1fb),_0x43911e[_0x3be6c1(0xae)]()),_0x101dfa(this,'_selfUnitIDs',new Set()),_0x101dfa(this,_0x3be6c1(0xca),new Map()),_0x101dfa(this,_0x3be6c1(0x34d),null),_0x101dfa(this,_0x3be6c1(0x20d),new Map()),_0x101dfa(this,_0x3be6c1(0x2ac),new Map()),this[_0x3be6c1(0x32d)]();}[_0x400835(0x336)](){const _0x1adea8=_0x400835;super[_0x1adea8(0x336)](),this['_clearOtherTimers'][_0x1adea8(0x214)]((_0x3a0251,_0x4426a6)=>this[_0x1adea8(0x21d)](_0x4426a6)),this[_0x1adea8(0x34d)]&&window[_0x1adea8(0x1d2)](this[_0x1adea8(0x34d)]);}[_0x400835(0x1cb)](_0x25e25e){const _0xd29b8b=_0x400835;return this[_0xd29b8b(0x1a3)](_0x25e25e)[_0xd29b8b(0x2df)](_0x5663a0[_0xd29b8b(0x1cf)]());}['editingUnit'](_0x5ec6e4){const _0x1b1e11=_0x400835;this['_selfUnitIDs'][_0x1b1e11(0xaf)]===0x0&&this[_0x1b1e11(0xd6)](),this['_selfUnitIDs']['add'](_0x5ec6e4),this['_send']({'type':0x0,'memberID':this[_0x1b1e11(0x1fb)],'unitIDs':[_0x5ec6e4],'isForwarded':!0x1});}[_0x400835(0x1a5)](_0x2b687a){const _0x1edc94=_0x400835;this[_0x1edc94(0x1e3)][_0x1edc94(0x8b)](_0x2b687a),this[_0x1edc94(0x1e3)]['size']===0x0&&this[_0x1edc94(0x34d)]&&window[_0x1edc94(0x1d2)](this[_0x1edc94(0x34d)]);}['_init'](){const _0x4f828e=_0x400835;this[_0x4f828e(0x29e)](_0x43911e['toDisposable'](_0x5663a0[_0x4f828e(0x149)](window,_0x4f828e(0xc9))[_0x4f828e(0x2d6)](_0x370b32=>{const _0xa0cda8=_0x4f828e;if(_0x370b32['key']!==_0xd9fa3a||!_0x370b32[_0xa0cda8(0xb1)])return;const _0x1e690c=JSON[_0xa0cda8(0x277)](_0x370b32['newValue']);this[_0xa0cda8(0x275)](_0x1e690c);}))),window['addEventListener'](_0x4f828e(0x244),()=>this['_send']({'type':0x1,'memberID':this[_0x4f828e(0x1fb)],'unitIDs':Array[_0x4f828e(0x26e)](this[_0x4f828e(0x1e3)])}));}[_0x400835(0x275)](_0x51de94){const _0x123d31=_0x400835;switch(_0x51de94[_0x123d31(0x1e7)]){case 0x0:this[_0x123d31(0x295)](_0x51de94);break;case 0x1:this['_handleLeaveEvent'](_0x51de94);break;case 0x2:this[_0x123d31(0x2f6)](_0x51de94);break;}}[_0x400835(0x295)](_0xcea7e2){const _0xb3b3b2=_0x400835,{unitIDs:_0x4b1c0b,memberID:_0x114614,isForwarded:_0x10084a}=_0xcea7e2;_0x4b1c0b['forEach'](_0x3273f1=>{const _0x11e628=_0x1699;if(!_0x10084a&&this[_0x11e628(0xca)][_0x11e628(0x156)](_0x3273f1)&&this[_0x11e628(0x1a3)](_0x3273f1)[_0x11e628(0x251)](_0x5ad2ec[_0x11e628(0x223)][_0x11e628(0x25e)]),!this[_0x11e628(0xca)][_0x11e628(0x156)](_0x3273f1)||!this[_0x11e628(0xca)][_0x11e628(0x1db)](_0x3273f1)[_0x11e628(0x156)](_0x114614)){const _0x39d92f=this[_0x11e628(0xca)][_0x11e628(0x1db)](_0x3273f1)||new Set();_0x39d92f['add'](_0x114614),this[_0x11e628(0xca)][_0x11e628(0x198)](_0x3273f1,_0x39d92f),this[_0x11e628(0xbf)](_0x114614);}}),_0x10084a||this[_0xb3b3b2(0x2f2)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0xb3b3b2(0x1e3)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x362993){const _0x250d3b=_0x400835;this[_0x250d3b(0x21d)](_0x362993);const _0x221ac5=window[_0x250d3b(0x31c)](()=>{const _0x478350=_0x250d3b;this['_unitOnClients'][_0x478350(0x214)](_0x516d53=>{const _0x46c974=_0x478350;_0x516d53[_0x46c974(0x8b)](_0x362993);});},_0x24e553*0x2);this[_0x250d3b(0x20d)][_0x250d3b(0x198)](_0x362993,_0x221ac5);}[_0x400835(0x21d)](_0x2d2f55){const _0x2dd26c=_0x400835;if(this[_0x2dd26c(0x20d)]['has'](_0x2d2f55)){const _0x2b43ce=this[_0x2dd26c(0x20d)][_0x2dd26c(0x1db)](_0x2d2f55);_0x2b43ce&&window['clearTimeout'](_0x2b43ce),this[_0x2dd26c(0x20d)]['set'](_0x2d2f55,null);}}['_handleLeaveEvent'](_0x320ec8){const _0x3b8784=_0x400835,{memberID:_0x370fb3,unitIDs:_0x50055a}=_0x320ec8;_0x50055a[_0x3b8784(0x214)](_0x2fd44f=>{const _0x22bad0=_0x3b8784;var _0x46b35f;const _0x1497ba=this[_0x22bad0(0xca)][_0x22bad0(0x1db)](_0x2fd44f);_0x1497ba&&(_0x1497ba['delete'](_0x370fb3),(_0x46b35f=this[_0x22bad0(0x1a3)](_0x2fd44f))==null||_0x46b35f['next'](_0x1497ba['size']===0x0?_0x5ad2ec[_0x22bad0(0x223)][_0x22bad0(0x278)]:_0x5ad2ec[_0x22bad0(0x223)][_0x22bad0(0x25e)]));}),this['_removeClearOtherTimer'](_0x370fb3);}[_0x400835(0x2f6)](_0x5663a6){const _0x52d4a6=_0x400835;this[_0x52d4a6(0xbf)](_0x5663a6[_0x52d4a6(0x2dd)]);}[_0x400835(0x2f2)](_0x6409c5){const _0xdeb3ed=_0x400835;localStorage[_0xdeb3ed(0x12f)](_0xd9fa3a,JSON[_0xdeb3ed(0xfb)](_0x6409c5));}[_0x400835(0xd6)](){const _0x1cbe4b=_0x400835;this[_0x1cbe4b(0x34d)]=window[_0x1cbe4b(0xdb)](()=>{const _0xfed5c=_0x1cbe4b;this[_0xfed5c(0x2f2)]({'type':0x2,'memberID':this[_0xfed5c(0x1fb)]});},_0x24e553);}[_0x400835(0x1a3)](_0x5f0ff3){const _0x30ebd3=_0x400835;return this[_0x30ebd3(0x2ac)][_0x30ebd3(0x156)](_0x5f0ff3)||this[_0x30ebd3(0x2ac)]['set'](_0x5f0ff3,new _0x5663a0[(_0x30ebd3(0x1ca))](_0x5ad2ec[_0x30ebd3(0x223)][_0x30ebd3(0x278)])),this[_0x30ebd3(0x2ac)][_0x30ebd3(0x1db)](_0x5f0ff3);}}_0x41602e[_0x400835(0x1d7)]=_0x41118d,_0x41602e[_0x400835(0x195)]=_0xa3d33b,_0x41602e[_0x400835(0x324)]=_0x592496,_0x41602e['WebURLService']=_0x39fe91,Object[_0x400835(0x2fb)](_0x41602e,Symbol[_0x400835(0xea)],{'value':_0x400835(0x322)});}));