@univerjs-pro/collaboration-client-ui 0.12.4-experimental.20251211-e01e32a → 0.12.4-insiders.20251211-c28f914

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 _0x42c3(){const _0x3a0e29=['CONNECTOR_DATA_TOO_LARGE','svg','CURRENT_STATUS_CANNOT_OPERATE','beforeCommandExecuted','Injector','NOT_COLLAB','takeUntil','blue.400','_onRefRangeChange','_lastResponseTimestamp','UnitStatus','_removeCollabCursors','[CollaborationDataLoaderController]','UniverInstanceType','filter','collaboration.closeRoom','url(#$1','IRemoteInstanceService','collabStatus.offline','createIdentifier','Warning','ILocalStorageService','_toggleOffline','save','startsWith','executionId','_range','on-line-icon_clip0_910_349','_unitStatus','get','BehaviorSubject','_initStatusListener','onPointerEnter$','_currentUsage','_ensureSubject','20FAmBmk','result','closePath','Rect','onPointerMove$','isTransformMutationsWithChangesetSuccess','deepClone','isFormulaString','_hideTimer','_maxFormulaLimit','NodePositionConvertToCursor','params','4bpxakG','ranges','LICENSE_IMPORT_SIZE_EXCEEDED','_docSkeletonManagerService','_docSyncEditingCollabCursorService','session.collaboration-timeout','getCoordByCell','complete','getRelativeToViewportCoord','setTimeout','ICommandService','_uiPartsService','deserializeRangeWithSheet','getMemberID','[LogService\x20Error]:\x20','_handleHover','_registerDependencies','defineProperty','forwardRef','20QxvavE','setParam','getUndoRedoMutationParamsCache','_refRangeService','transformIMECache','onStarting','getUnitId','toString','MessageType','_init','distinctUntilChanged','getCurrentSelections','ALREADY_EXISTS','error','PY_RUNTIME_SCRIPT_ERROR','evenodd','_revisionService','UniverDocsUi','SNAPSHOT_INVALID_SNAPSHOT','ILocalCacheService','font','SheetsSelectionsService','@univerjs/engine-render','subscribe','updateOfflineData','DataLoaderService','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','UNRECOGNIZED','delete','setItem','RemoveRowCommandId','_hovered','_send','handleInsertCol','_collaborationController','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getDocRanges','_unitOnClients','13ggOBkk','subunit','getMember','assignAColorForMemberID','LocaleService','_transformHistoryAndStateStack','collabStatus.conflict','saveTaskMap','loadOfflineData','_docTransformIMECacheService','_name','_syncEditingCollabCursorService','_saveTaskMap','APPLY_PERMISSION_DENIED','Subject','_pollingInterval','dirtyRanges','Tools','CONFLICT','EffectRefRangId','UNDEFINED','formula.calculation.unable','UniverDrawing','_httpService','NO_OTHER_CLIENTS_EDITING','reconnect','generateRandomId','_online','split','_hasFormulaInDirtyRanges','function','touchDependencies','_messageService','_drawAnchor','COLORS','registerRefRange','_onCursorDelete','has','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','addObjects','_initUserListener','_initWindowErrorListener','socket$','width','ticket','SetFormulaCalculationNotificationMutation','addObject','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','clipPath','drawWith','getViewport','registerDependencies','m1Prime','skeleton','80628WjFkMp','url(#off-line-icon_clip0_910_343)','_releaseCalculationLimit','IImageIoService','@univerjs/network','createInstance','transformSelections','useRef','debounce','_handleEvent','unitId','DesktopCollaborationStatusDisplayController','enableFrontendLog','MoveRangeCommandId','debug','div','CollaborationSessionService','setConfig','red.300','toStringTag','_imageIoService','NodePositionConvertToRectRange','rxjs/operators','@univerjs/design','collab-text-range-','/universer-api/license/formula/limit/status','collaboration.single-unit.warning','_refreshCollabCursors','_setFormulaLimitStatus','_setupSubUnitSync','getCurrentUnitForType','@univerjs/docs-ui','from','_shapes','OTHER_CLIENTS_EDITING','32231JpwpuO','undoState','RefRangeService','_updateCollabCursors','_registerRenderDependencies','black','off-line-icon_clip0_910_343','FormulaExecuteStageType','code','@univerjs-pro/collaboration-client','mutations','random','react','path','getColorFromTheme','Inject','6DpqCOx','DocCollaborationEntity','IRenderManagerService','round','...','OFFLINE','onTransformChange$','event$','size','_memberService','permission.title','UniverProCollaborationClientUi','wsSessionTicketUrl','YUUMI_AI_RUN_FAILED','top','arc','UNIVER_DOC','children','unitID','REDEMPTION_CODE_FULLY_REDEEMED','_roomMembers$','_disabled','_initUnhandledRejectionListener','includes','formula.calculation.waiting','APPLY_NON_SEQUENTIAL_REVISION','now','clsx','transformMutationsWithChangeset','UniverCollaborationClientUIPlugin','mapTo','UniverEngineRender','_hover','APPLY_REVISION_CONFILICT','_checkAndWaitForCalculationPermission','serializeRangeWithSheet','?taskId=','_sheetSkeletonManagerService','MOBILE_VERIFY_CODE_MISMATCH','currentSkeleton$','executeCommand','memberID','isArray','CLOSE_ROOM','getAncestorScale','entries','LICENSE_MAX_UNITS_EXCEEDED','whenReady','WebBrowserSingleActiveUnitService','AUTHORIZE_CODE_ILLEGAL','createSocket','CollaborationStatus','collabCursorState$','_startSheetCollabCursor','setStateCache','location','_commandService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','source','currentColor','unhandledrejection','http://www.w3.org/2000/svg','/universer-api/frontend/logs','_id','DOC_RANGE_TYPE','REDEMPTION_INVALID_CODE','RevisionService','getRenderById','getSheetObject','_draw','rxjs','colno','_cursorShapes','RemoteUniscriptService','off-line-icon','message','_getAnchorBounding','DocIMEInputManagerService','_backgroundColor','makeDirty','_updateURLWithCurrentState','SetDocZoomRatioOperation','TOO_MANY_REQUESTS','replaceDocRanges','UniverDesign','getItem','pushState','_setupBeforeClosingHandler','EMAIL_HAS_BEEN_BOUND','stage','COMPLETION_FINISHED','0\x200\x2017\x2016','setAlpha','_eventUnsubscribe','ThemeService','isActive','BrowserCollaborationSocketService','ENTITLE_NEED_BILLING_ADDRESS','CHANGESET_REVISION_CONFILICT','collab-rect-range-','idSuffix','1912440Yabwcb','_localeService','collabStatus.syncing','ENTITLE_CAN_NOT_BUY_LOWER_OTP','transformRemoteChangeset','_renderManagerService','REDEMPTION_CODE_HAS_BEEN_CREATED','React','0\x200\x2016\x2016','REDEMPTION_CODE_NOT_STARTED','AWAITING','override','rgba(255,\x20255,\x20255,\x200.01)','useObservable','_color','PAYMENT_CHANNEL_NOT_SUPPORT','DeleteRangeMoveLeftCommandId','maxFormulaLimit','HEADER_MENU','getParam','LOCAL_CACHE_INTERVAL','cursorInfo','Shape','_docClipboardService','FormulaExecutedStateType','fillText','name','current','startColumn','WebURLService','jsx','getActiveSheet','Optional','ENTITLE_COUPON_USED_UP','getTypeOfUnitAdded$','_initEntityListener','UniverDocs','Vector2','1em','univer-flex\x20univer-items-center','INVALID_INVITE_CODE','CollaborationEvent','reason','storage','DEFAULT_WS_SESSION_TICKET_URL','filename','show','uni.network.url-service','MUTATION','xlink:href','findNodePositionByCharIndex','push','_cursor','WECHAT_HAS_BEEN_BOUND','_removeClearOtherTimer','unshift','ENTITLE_REPORT_LIMIT_EXCEED','registerRenderModule','syncEditingCollabCursor','tag','INVALID_ARGUMENT','_session','OnLineIcon','_collaborationUIEventService','OffLineIcon','_labelPosition','FromArray','getSkeleton','requireSession','parseInt','lineTo','YUUMI_UNABLE_LOAD_URL','then','selection','_createSocketURL','APPLY_REJECT','CollaborationUIEventService','useDependency','fromEvent','jiqing.500','Disposable','_render','_toggleOnline','_config','_cursorInfo$','releaseFormulaLimitUrl','UniverNetwork','721007sCbDjr','onMouseMove','ENTITLE_CHAT_LIMIT_EXCEED','UniverProCollaboration','some','getConfig','editingUnit','dispose','1104323JLXTTE','setShapeProps','replace','handleMoveRange','_localStorageService','_entityInit$','_handleLeaveEvent','min','IUIPartsService','endColumn','CollaborationController','_univerInstanceService','substring','_instanceService','UniverProCollaborationClient','onCommandExecuted','DeleteRangeMoveUpCommandId','LOGIN_TOKEN_PROCESSING_FAILED','asObservable','_clearOtherTimers','BuiltInUIPart','enableLocalCache','SheetCollabCursorShape','beginPath','collabStatus.fetchMiss','fill','ENTITLE_COUPON_EXPIRED','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getFocusedUnit','ENTITLE_USE_COUPON_NOT_1ST_TRADE','subscribeEvent','_getFormulaLimitStatus','_initCommandInterceptor','handleIRemoveRow','collaboration.offline-data-not-saved','_docStateChangeManagerService','fromEventSubject','status$','SetWorksheetActivateCommand','ONLINE','getformulaLimitStatusUrl','_collabCursorState$','handleIRemoveCol','stageInfo','collabStatus.notCollab','_lastPointer','connectInjector','handleInsertRow','application/json','colorChannel1','measureText','_docTransformSelectionsService','createElement','stringify','_notificationService','type','exhaustSavingTask','SessionStatus','ILogService','hide','_context','lineno','parse','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_anchor','getUnit','column','_updateLocalCursor','textRanges','_collabSessionService','endRow','USER_IS_ANONYMOUS','VIEW_MAIN','_updateSubUnitFromURLParams','next','saveImage','dispose$','START_CALCULATION','white','disposeUnit','operators','SetSelectionsOperation','actions','IConfigService','fillRule','UPDATE_CURSOR','REDEMPTION_USER_REDEEM_TIMES_EXCEED','InsertColCommandId','transformMutation','YUUMI_NO_CUBOID_FOR_QUESTION','DocSelectionManagerService','ENTITLE_INSUFFICIENT_QUOTA','RichTextEditingMutation','PERMISSION_DENIED','REDEMPTION_USER_NOT_ELIGIBLE','NOT_FOUND','runId','LOCAL_CACHE_INTERVAL_KEY','INVITE_CODE_ALREADY_BOUND','MemberService','MOBILE_HAS_BEEN_BOUND','onLocalMutation','history','limitInfo','getUnitStatus$','_applyCommand','_assignedColors','TEXT_RANGE_LAYER_INDEX','map','936NopxBC','SOCKET_FAILED','_scheduleClearOtherTimer','none','3120XaRKSK','defIds','selections','find','data','SetTextSelectionsOperation','_showGuardMessage','getCellMatrix','_configService','ERROR_AGAIN','startRow','removeEventListener','1201095YBxlUN','_scheduleSaving','DisposableCollection','_initResize','body','_collaborationSessionService','RECT','getOwnPropertyDescriptor','UNAUTHENTICATED','currentTheme$','combineLatest','getCurrent','transform','functionsExecutedState','YUUMI_RATE_OVER_LIMIT','_saveCache','INTERNAL_ERROR','unit','_colorIndex','getCellPositionByOffset','Workbook','newValue','_drawRectRange','href','startFormulaLimitUrl','IMessageService','ITransformService','getCollabCursors$','moveTo','_initDependencies','attrs','_cachedData','LOGIN_FAILED','addEventListener','_initEvent','with','getColor','CollaborationDataLoaderController','@univerjs/drawing','YUUMI_URL_COL_OUT_OF_RANGE','_onCursorUpdate','jsxs','_injector','symbol','toRgbString','string','_checkCalculationAvailable','engine','_dataLoaderService','getCurrentRevOfUnit','[Window\x20Error]:\x20','IURLService','isFormulaId','onPointerLeave$','flatMap','searchParams','@univerjs/ui','object','length','HTTPService','roomMembers$','INVITE_CODE_HAS_BEEN_UES','@univerjs/sheets-ui','_transformUndoRedoStack','sheetId','_colorAssignService','all','setUndoRedoMutationParamsCache','contains','USER_NOT_FOUND','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','UniverUi','_beforeCloseService','transformStateCache','UniverRpc','resize','disableLocalCache','ACTIVE_UNIT_EVENT_CHANNEL','_docTransformStateCacheService','ENTITLE_DUP_SUBSCRIPTION','_heartbeatTimer','addClipboardHook','RegularPolygon','assign','restore','removeParam','isTransformMutationFailure','_getMergeRange','transformByState','TEXT','SYNCED','_doCreateSocket','post','_entities','_uploadLog','forEach','_collabCursorController','totalFormulasToCalculate','stack','YUUMI_ALL_TABLES_IS_INVALID','exports','YUUMI_ASYNCIO_CANCELLED','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','CollaborationUIEventId','range','_themeService','sessionStatus$','saveOfflineData','_transformService','shift','_startDocCollabCursor','_logService','merge','disposeWithMe','replaceState','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_monkeyPatchLogService','_drawTextRange','handleInsertRangeMoveDown','IUniverInstanceService','getOffsetConfig','collab-text-anchor-','ENSURE_SNAPSHOT_EXECUTION','_taskIds','@univerjs/core','handleDeleteRangeMoveUp','currentUsage','Error','_getSessionTicket','entityInit$','bottom','cursorInfo$','values','subUnitId','_anchorDot','ENTITLE_INVALID_COUPON_CODE','catch','color','redoState','urlChange$','INVITE_CODE_REQUIRED','UNIVER_SHEET','_clearPolling','useCallback','RxDisposable','UniverEngineFormula','/universer-api/license/formula/limit/start','CanceledError','UniverCore','add','DependentOn','USERS_LEAVE','text','getLocalCacheKey','unsubscribe','key','_transformPreviousActiveRange','collabStatus.synced','APPLY_DUPLICATED','height','invokeId','origin','throttleTime','mergeOverrideWithDependencies','_urlService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','init','_handleHeartbeatEvent','_startCalculationLimit','_localCacheService','translate(.97)','@univerjs/engine-formula','WebSocketService','doc.mutation.rich-text-editing','DATA_SOURCE_TOO_LARGE','Failed','getUnhiddenWorksheets','getSheetBySheetId','YUUMI_SUBSCRIPTION_NOT_FOUND','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','LICENSE_EXPORT_SIZE_EXCEEDED','\x20at\x20','loadUnit','set','clearInterval','_status$','Success','_getSaveTimeout','DocSkeletonManagerService','collab-client.tooltip.reconnect','_selfUnitIDs','DocStateChangeManagerService','send','_getSheetObject','/universer-api/license/formula/limit/done','collaboration-client-ui.config','SNAPSHOT_HAS_BEEN_REMOVED','SetFormulaCalculationStartMutation','m2Prime','pipe','YUUMI_CONNECTOR_URL_NOT_FOUND','labelPosition','M0\x200H16V16H0z','getSheetId','_scene','LICENSE_DISTRO_REJECTED','debounceTime','row','pluginName','UniverSheets','isEditing','getRangePointData','_textBubble','ColorKit','getUniverSheetInstance','_cursors','Loading','getStateCache','switchMap','_scheduleHeartbeat','clearTimeout','displayName','EMAIL_VERIFY_CODE_MISMATCH','green.600','use','getValue'];_0x42c3=function(){return _0x3a0e29;};return _0x42c3();}function _0x3fad(_0x51e7db,_0x448028){_0x51e7db=_0x51e7db-0xbd;const _0x42c325=_0x42c3();let _0x3fadc9=_0x42c325[_0x51e7db];return _0x3fadc9;}(function(_0x5384d3,_0x15efaf){const _0x34be41=_0x3fad,_0x4d707d=_0x5384d3();while(!![]){try{const _0x4145e4=-parseInt(_0x34be41(0xcc))/0x1*(-parseInt(_0x34be41(0x323))/0x2)+parseInt(_0x34be41(0x39e))/0x3*(parseInt(_0x34be41(0x32f))/0x4)+parseInt(_0x34be41(0x21d))/0x5+-parseInt(_0x34be41(0xdc))/0x6*(parseInt(_0x34be41(0x198))/0x7)+parseInt(_0x34be41(0x211))/0x8*(parseInt(_0x34be41(0x20d))/0x9)+-parseInt(_0x34be41(0x342))/0xa*(parseInt(_0x34be41(0x1a0))/0xb)+-parseInt(_0x34be41(0x141))/0xc*(parseInt(_0x34be41(0x368))/0xd);if(_0x4145e4===_0x15efaf)break;else _0x4d707d['push'](_0x4d707d['shift']());}catch(_0x4131ab){_0x4d707d['push'](_0x4d707d['shift']());}}}(_0x42c3,0x28b98),function(_0x573077,_0x383f41){const _0x5de9d3=_0x3fad;typeof exports==_0x5de9d3(0x256)&&typeof module<'u'?_0x383f41(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==_0x5de9d3(0x386)&&define['amd']?define([_0x5de9d3(0x281),'react/jsx-runtime',_0x5de9d3(0xd5),_0x5de9d3(0x299),_0x5de9d3(0x255),'rxjs',_0x5de9d3(0xc0),_0x5de9d3(0xd8),'@univerjs/rpc','@univerjs/sheets',_0x5de9d3(0x358),_0x5de9d3(0x3a2),_0x5de9d3(0xc8),_0x5de9d3(0x243),'@univerjs-pro/collaboration','@univerjs/docs',_0x5de9d3(0x2c9),_0x5de9d3(0xbf),_0x5de9d3(0x25b)],_0x383f41):(_0x573077=typeof globalThis<'u'?globalThis:_0x573077||self,_0x383f41(_0x573077[_0x5de9d3(0xe7)]={},_0x573077[_0x5de9d3(0x148)],_0x573077[_0x5de9d3(0x1ae)],_0x573077[_0x5de9d3(0x2b1)],_0x573077[_0x5de9d3(0x264)],_0x573077[_0x5de9d3(0x122)],_0x573077[_0x5de9d3(0x130)],_0x573077[_0x5de9d3(0x148)],_0x573077[_0x5de9d3(0x267)],_0x573077[_0x5de9d3(0x2ef)],_0x573077[_0x5de9d3(0xfb)],_0x573077[_0x5de9d3(0x197)],_0x573077[_0x5de9d3(0x353)],_0x573077[_0x5de9d3(0x37e)],_0x573077[_0x5de9d3(0x19b)],_0x573077[_0x5de9d3(0x165)],_0x573077[_0x5de9d3(0x2ae)],_0x573077['rxjs'][_0x5de9d3(0x1f0)],_0x573077['UniverSheetsUi']));}(this,function(_0x1e8a5b,_0x3b5db8,_0x5e7c26,_0x3a09c4,_0x592aaf,_0x41fba3,_0x2a2db6,_0x5c82c4,_0x22bf51,_0x6f871,_0x271b4b,_0x20de86,_0x9d9b14,_0x5b74e1,_0x5e9418,_0x4995f4,_0x3202a1,_0x360399,_0x577dad){'use strict';const _0x29bde7=_0x3fad;var _0xddd7bc=Object[_0x29bde7(0x340)],_0x4fef61=(_0x244bd4,_0x318e5b,_0x20be18)=>_0x318e5b in _0x244bd4?_0xddd7bc(_0x244bd4,_0x318e5b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x20be18}):_0x244bd4[_0x318e5b]=_0x20be18,_0x9f87fa=(_0x713eda,_0x5dd261,_0x5ce16d)=>_0x4fef61(_0x713eda,typeof _0x5dd261!=_0x29bde7(0x248)?_0x5dd261+'':_0x5dd261,_0x5ce16d);function _0xd2a620({ref:_0x12c1b3,..._0x517030}){const _0xe651fb=_0x29bde7,{icon:_0x54ff81,id:_0x5e86cc,className:_0xb1c0f7,extend:_0x23cad8,..._0x1cfae7}=_0x517030,_0x5e24fc=('univerjs-icon\x20univerjs-icon-'+_0x5e86cc+'\x20'+(_0xb1c0f7||''))['trim'](),_0xd71011=_0x5c82c4[_0xe651fb(0x3a5)]('_'+_0x45d478());return _0x18f2df(_0x54ff81,''+_0x5e86cc,{'defIds':_0x54ff81[_0xe651fb(0x212)],'idSuffix':_0xd71011[_0xe651fb(0x15c)]},{'ref':_0x12c1b3,'className':_0x5e24fc,..._0x1cfae7},_0x23cad8);}function _0x18f2df(_0x1411f6,_0x256ff3,_0x3d8548,_0x3bbabf,_0x5dc9f2){const _0x368a23=_0x29bde7;return _0x5c82c4['createElement'](_0x1411f6['tag'],{'key':_0x256ff3,..._0x4299c0(_0x1411f6,_0x3d8548,_0x5dc9f2),..._0x3bbabf},(_0x5bd913(_0x1411f6,_0x3d8548)['children']||[])[_0x368a23(0x20c)]((_0x88b2e9,_0x1eeaae)=>_0x18f2df(_0x88b2e9,_0x256ff3+'-'+_0x1411f6[_0x368a23(0x17c)]+'-'+_0x1eeaae,_0x3d8548,void 0x0,_0x5dc9f2)));}function _0x4299c0(_0x1867ae,_0x5a6774,_0x5b7533){const _0x285641=_0x29bde7,_0x70abd8={..._0x1867ae[_0x285641(0x23b)]};_0x5b7533!=null&&_0x5b7533[_0x285641(0x1d1)]&&_0x70abd8[_0x285641(0x1b9)]===_0x285641(0x1d1)&&(_0x70abd8[_0x285641(0x1b9)]=_0x5b7533['colorChannel1']),_0x1867ae['tag']==='mask'&&_0x70abd8['id']&&(_0x70abd8['id']=_0x70abd8['id']+_0x5a6774[_0x285641(0x140)]),Object[_0x285641(0x109)](_0x70abd8)[_0x285641(0x27c)](([_0x223cbb,_0x4a1cdf])=>{const _0xb1ecd2=_0x285641;_0x223cbb==='mask'&&typeof _0x4a1cdf==_0xb1ecd2(0x24a)&&(_0x70abd8[_0x223cbb]=_0x4a1cdf[_0xb1ecd2(0x1a2)](/url\(#(.*)\)/,_0xb1ecd2(0x310)+_0x5a6774[_0xb1ecd2(0x140)]+')'));});const {defIds:_0x88c3c7}=_0x5a6774;return!_0x88c3c7||_0x88c3c7[_0x285641(0x257)]===0x0||(_0x1867ae['tag']===_0x285641(0x2fe)&&_0x70abd8[_0x285641(0x172)]&&(_0x70abd8['xlink:href']=_0x70abd8[_0x285641(0x172)]+_0x5a6774[_0x285641(0x140)]),Object[_0x285641(0x109)](_0x70abd8)[_0x285641(0x27c)](([_0x2293e5,_0x403190])=>{const _0x15e6e8=_0x285641;typeof _0x403190==_0x15e6e8(0x24a)&&(_0x70abd8[_0x2293e5]=_0x403190[_0x15e6e8(0x1a2)](/url\(#(.*)\)/,_0x15e6e8(0x310)+_0x5a6774['idSuffix']+')'));})),_0x70abd8;}function _0x5bd913(_0x2bd4a6,_0x46c937){const _0x11eee5=_0x29bde7;var _0x415b4f;const {defIds:_0x40e702}=_0x46c937;return!_0x40e702||_0x40e702[_0x11eee5(0x257)]===0x0?_0x2bd4a6:_0x2bd4a6['tag']==='defs'&&((_0x415b4f=_0x2bd4a6['children'])!=null&&_0x415b4f[_0x11eee5(0x257)])?{..._0x2bd4a6,'children':_0x2bd4a6[_0x11eee5(0xed)][_0x11eee5(0x20c)](_0x4bdc98=>typeof _0x4bdc98[_0x11eee5(0x23b)]['id']==_0x11eee5(0x24a)&&_0x40e702&&_0x40e702[_0x11eee5(0xf3)](_0x4bdc98['attrs']['id'])?{..._0x4bdc98,'attrs':{..._0x4bdc98[_0x11eee5(0x23b)],'id':_0x4bdc98[_0x11eee5(0x23b)]['id']+_0x46c937[_0x11eee5(0x140)]}}:_0x4bdc98)}:_0x2bd4a6;}function _0x45d478(){const _0x204c51=_0x29bde7;return Math[_0x204c51(0xd7)]()['toString'](0x24)[_0x204c51(0x1ac)](0x2,0x8);}_0xd2a620[_0x29bde7(0x2fb)]='UniverIcon';const _0x2368a1={'tag':_0x29bde7(0x301),'attrs':{'xmlns':_0x29bde7(0x119),'fill':_0x29bde7(0x210),'viewBox':_0x29bde7(0x149),'width':_0x29bde7(0x167),'height':_0x29bde7(0x167)},'children':[{'tag':'g','attrs':{'clipPath':_0x29bde7(0x39f)},'children':[{'tag':_0x29bde7(0xd9),'attrs':{'stroke':_0x29bde7(0x117),'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':_0x29bde7(0xdf),'strokeLinejoin':_0x29bde7(0xdf),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x29bde7(0x398),'attrs':{'id':_0x29bde7(0xd2)},'children':[{'tag':_0x29bde7(0xd9),'attrs':{'fill':'white','d':_0x29bde7(0x2e8)}}]}]}],'defIds':[_0x29bde7(0xd2)]},_0x3d03f0=_0x5c82c4['forwardRef'](function(_0x52cb2b,_0x387246){const _0x4f9536=_0x29bde7;return _0x5c82c4[_0x4f9536(0x1d4)](_0xd2a620,Object[_0x4f9536(0x270)]({},_0x52cb2b,{'id':_0x4f9536(0x126),'ref':_0x387246,'icon':_0x2368a1}));});_0x3d03f0['displayName']=_0x29bde7(0x181);const _0x5338e0={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x29bde7(0x210),'viewBox':_0x29bde7(0x137),'width':_0x29bde7(0x167),'height':_0x29bde7(0x167)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x29bde7(0xd9),'attrs':{'stroke':_0x29bde7(0x117),'d':_0x29bde7(0x283),'strokeLinecap':_0x29bde7(0xdf),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x29bde7(0x398),'attrs':{'id':_0x29bde7(0x31b)},'children':[{'tag':'path','attrs':{'fill':_0x29bde7(0x1ee),'d':_0x29bde7(0x2e8),'transform':_0x29bde7(0x2c8)}}]}]}],'defIds':[_0x29bde7(0x31b)]},_0x5d6bcd=_0x5c82c4[_0x29bde7(0x341)](function(_0x40cbfc,_0x43ba27){const _0x514212=_0x29bde7;return _0x5c82c4[_0x514212(0x1d4)](_0xd2a620,Object['assign']({},_0x40cbfc,{'id':'on-line-icon','ref':_0x43ba27,'icon':_0x5338e0}));});_0x5d6bcd[_0x29bde7(0x2fb)]=_0x29bde7(0x17f);function _0x51b422(_0x358998){const _0x33ec7b=_0x29bde7;switch(_0x358998){case _0x5e7c26[_0x33ec7b(0x10f)]['OFFLINE']:return _0x33ec7b(0x312);case _0x5e7c26['CollaborationStatus'][_0x33ec7b(0x37a)]:return _0x33ec7b(0x36e);case _0x5e7c26[_0x33ec7b(0x10f)]['FETCH_MISS']:return _0x33ec7b(0x1b8);case _0x5e7c26[_0x33ec7b(0x10f)][_0x33ec7b(0x305)]:return _0x33ec7b(0x1cc);case _0x5e7c26['CollaborationStatus'][_0x33ec7b(0x14b)]:case _0x5e7c26[_0x33ec7b(0x10f)]['AWAITING_WITH_PENDING']:return _0x33ec7b(0x143);case _0x5e7c26[_0x33ec7b(0x10f)][_0x33ec7b(0x277)]:case _0x5e7c26['CollaborationStatus']['PENDING']:return _0x33ec7b(0x2ba);}}function _0x586a64(_0x1274d0){const _0x372534=_0x29bde7,{status$:_0x238fed}=_0x1274d0,_0x5809f9=_0x592aaf[_0x372534(0x14e)](_0x238fed,_0x5e7c26[_0x372534(0x10f)][_0x372534(0x305)]),_0x213133=_0x592aaf[_0x372534(0x18e)](_0x3a09c4[_0x372534(0x36c)]),_0x5e12ff=_0x592aaf['useDependency'](_0x5e7c26[_0x372534(0x3ae)]),_0x2a58a8=_0x5809f9!==_0x5e7c26['CollaborationStatus'][_0x372534(0xe1)],_0x3e5e3b=_0x213133['t'](_0x51b422(_0x5809f9)),_0x110329=_0x2a58a8?_0x3b5db8[_0x372534(0x15f)](_0x5d6bcd,{}):_0x3b5db8[_0x372534(0x15f)](_0x3d03f0,{}),_0x3ff55d=_0x5c82c4[_0x372534(0x2ac)](()=>{const _0x593ea9=_0x372534;_0x2a58a8||_0x5e12ff[_0x593ea9(0x381)]();},[_0x2a58a8,_0x5e12ff]);function _0x7facce(){const _0x4fb858=_0x372534;return _0x3b5db8[_0x4fb858(0x246)]('div',{'className':_0x4fb858(0x168),'onClick':_0x3ff55d,'children':[_0x3b5db8[_0x4fb858(0x15f)](_0x4fb858(0x3ad),{'className':_0x2a2db6[_0x4fb858(0xf7)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x2a58a8,'univer-text-red-500':!_0x2a58a8}),'children':_0x110329}),_0x3b5db8[_0x4fb858(0x15f)](_0x4fb858(0x3ad),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3e5e3b})]});}return _0x2a58a8?_0x7facce():_0x3b5db8[_0x372534(0x15f)](_0x2a2db6['Tooltip'],{'title':_0x213133['t'](_0x372534(0x2db)),'children':_0x7facce()});}var _0xf3d9cc=Object['getOwnPropertyDescriptor'],_0x2212a1=(_0x15cf22,_0x1e3076,_0x3bb8be,_0x5f1cca)=>{for(var _0x458e8d=_0x5f1cca>0x1?void 0x0:_0x5f1cca?_0xf3d9cc(_0x1e3076,_0x3bb8be):_0x1e3076,_0x5bac29=_0x15cf22['length']-0x1,_0x440c44;_0x5bac29>=0x0;_0x5bac29--)(_0x440c44=_0x15cf22[_0x5bac29])&&(_0x458e8d=_0x440c44(_0x458e8d)||_0x458e8d);return _0x458e8d;},_0x125c7b=(_0x50bb02,_0x9ab62)=>(_0x2b79ea,_0x53a27d)=>_0x9ab62(_0x2b79ea,_0x53a27d,_0x50bb02);_0x1e8a5b[_0x29bde7(0x3a9)]=class extends _0x3a09c4['Disposable']{constructor(_0x1828a0,_0x1654f8,_0xf9548b,_0x5bbf48){const _0x563957=_0x29bde7;super(),_0x9f87fa(this,_0x563957(0x2d7),new _0x41fba3[(_0x563957(0x31e))](_0x5e7c26[_0x563957(0x10f)][_0x563957(0x305)])),(this['_univerInstanceService']=_0x1828a0,this[_0x563957(0x247)]=_0x1654f8,this[_0x563957(0x364)]=_0xf9548b,this[_0x563957(0x33a)]=_0x5bbf48,this['_initStatusComponent'](),this[_0x563957(0x31f)]());}['_initStatusListener'](){const _0x5415e5=_0x29bde7;this[_0x5415e5(0x28e)](this['_univerInstanceService']['focused$'][_0x5415e5(0x2e5)](_0x41fba3[_0x5415e5(0x2f8)](()=>{const _0x3238dc=_0x5415e5,_0x4ec5f4=this[_0x3238dc(0x1ab)][_0x3238dc(0x1bc)]();return _0x4ec5f4?this['_collaborationController']['getCollabEntity$'](_0x4ec5f4[_0x3238dc(0x348)]()):_0x41fba3['of'](null);}),_0x41fba3['switchMap'](_0x453dc0=>_0x453dc0?_0x453dc0[_0x5415e5(0x1c5)]:_0x41fba3['of'](_0x5e7c26[_0x5415e5(0x10f)]['NOT_COLLAB'])))['subscribe'](_0xed8cd4=>{const _0x40e6fe=_0x5415e5;this['_status$'][_0x40e6fe(0x1ea)](_0xed8cd4);}));}['_initStatusComponent'](){const _0x1797a5=_0x29bde7;this['disposeWithMe'](this[_0x1797a5(0x33a)]['registerComponent'](_0x592aaf[_0x1797a5(0x1b4)][_0x1797a5(0x153)],()=>_0x592aaf[_0x1797a5(0x1ce)](_0x4e323b({'status$':this['_status$']['asObservable']()}),this[_0x1797a5(0x247)])));}},_0x1e8a5b[_0x29bde7(0x3a9)]=_0x2212a1([_0x125c7b(0x0,_0x3a09c4[_0x29bde7(0x294)]),_0x125c7b(0x1,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x304)])),_0x125c7b(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x5e7c26[_0x29bde7(0x1aa)])),_0x125c7b(0x3,_0x592aaf[_0x29bde7(0x1a8)])],_0x1e8a5b[_0x29bde7(0x3a9)]);function _0x4e323b(_0x484373){const {status$:_0x230ea8}=_0x484373;return function(){return _0x3b5db8['jsx'](_0x586a64,{'status$':_0x230ea8});};}const _0x5c7e96=_0x3a09c4[_0x29bde7(0x313)](_0x29bde7(0x170));var _0x50b63b=Object[_0x29bde7(0x224)],_0x293bd3=(_0x76e25b,_0x2544ac,_0x3eb896,_0x5262f7)=>{const _0x4f9bbc=_0x29bde7;for(var _0xb7184d=_0x5262f7>0x1?void 0x0:_0x5262f7?_0x50b63b(_0x2544ac,_0x3eb896):_0x2544ac,_0xda8740=_0x76e25b[_0x4f9bbc(0x257)]-0x1,_0x3e0700;_0xda8740>=0x0;_0xda8740--)(_0x3e0700=_0x76e25b[_0xda8740])&&(_0xb7184d=_0x3e0700(_0xb7184d)||_0xb7184d);return _0xb7184d;},_0x55071e=(_0x5a4a0e,_0x1f3ab5)=>(_0x425401,_0x5253be)=>_0x1f3ab5(_0x425401,_0x5253be,_0x5a4a0e);_0x1e8a5b[_0x29bde7(0x242)]=class extends _0x3a09c4['RxDisposable']{constructor(_0x534445,_0x100654,_0x448937,_0x33f605,_0xf894ab){const _0x55140a=_0x29bde7;super(),this[_0x55140a(0x2c1)]=_0x534445,this['_logService']=_0x100654,this['_commandService']=_0x448937,this[_0x55140a(0x24d)]=_0x33f605,_0xf894ab?_0xf894ab==null||_0xf894ab[_0x55140a(0x10b)]()[_0x55140a(0x189)](()=>this[_0x55140a(0x34b)]()):(this[_0x55140a(0x28c)][_0x55140a(0x3ac)](_0x55140a(0x30c),_0x55140a(0x35c)),this[_0x55140a(0x34b)]());}async[_0x29bde7(0x34b)](){const _0x2b24ca=_0x29bde7,_0x5334ab=this[_0x2b24ca(0x2c1)][_0x2b24ca(0x154)](_0x2b24ca(0x22e)),_0x4ce4aa=this[_0x2b24ca(0x2c1)]['getParam'](_0x2b24ca(0x1d7)),_0xe101cc=this['_urlService'][_0x2b24ca(0x154)](_0x2b24ca(0x369));if(!_0x5334ab||!_0x4ce4aa){this[_0x2b24ca(0x28c)][_0x2b24ca(0x3ac)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x4025e4=await this[_0x2b24ca(0x24d)][_0x2b24ca(0x2d4)](_0x5334ab,Number(_0x4ce4aa),_0xe101cc);_0x4025e4&&_0x4025e4 instanceof _0x3a09c4[_0x2b24ca(0x231)]&&this['_setupSubUnitSync'](_0x4025e4);}async[_0x29bde7(0xc6)](_0x2ddd3d){const _0x5d7d0e=_0x29bde7;await this[_0x5d7d0e(0x1e9)](_0x2ddd3d),_0x2ddd3d['activeSheet$'][_0x5d7d0e(0x2e5)](_0x41fba3[_0x5d7d0e(0x306)](this['dispose$']))[_0x5d7d0e(0x359)](_0x183143=>{const _0x2dfb3e=_0x5d7d0e;_0x183143&&this[_0x2dfb3e(0x12c)](_0x183143);}),this['_urlService'][_0x5d7d0e(0x2a8)]['pipe'](_0x41fba3[_0x5d7d0e(0x306)](this[_0x5d7d0e(0x1ec)]))[_0x5d7d0e(0x359)](()=>this[_0x5d7d0e(0x1e9)](_0x2ddd3d));}[_0x29bde7(0x12c)](_0x40e31c,_0xab951b=!0x1){const _0x4c0474=_0x29bde7,_0x3f94c6=this[_0x4c0474(0x2c1)][_0x4c0474(0x154)](_0x4c0474(0x369));_0x40e31c['getSheetId']()!==_0x3f94c6&&this[_0x4c0474(0x2c1)][_0x4c0474(0x343)](_0x4c0474(0x369),_0x40e31c['getSheetId'](),_0xab951b);}async['_updateSubUnitFromURLParams'](_0x117af2){const _0xd5fe35=_0x29bde7;var _0x2a2d2c;const _0x4b7957=this[_0xd5fe35(0x2c1)][_0xd5fe35(0x154)](_0xd5fe35(0x369));if(!_0x4b7957||!_0x117af2[_0xd5fe35(0x2cf)](_0x4b7957)){const _0x246a50=_0x117af2[_0xd5fe35(0x2ce)]()[0x0],_0x5b0af4=_0x117af2['getSheetBySheetId'](_0x246a50);if(!_0x5b0af4)return;this['_updateURLWithCurrentState'](_0x5b0af4,!0x0),await this[_0xd5fe35(0x114)]['executeCommand'](_0x6f871[_0xd5fe35(0x1c6)]['id'],{'unitId':_0x117af2[_0xd5fe35(0x348)](),'subUnitId':_0x246a50});return;}((_0x2a2d2c=_0x117af2[_0xd5fe35(0x160)]())==null?void 0x0:_0x2a2d2c[_0xd5fe35(0x2e9)]())!==_0x4b7957&&await this[_0xd5fe35(0x114)][_0xd5fe35(0x104)](_0x6f871[_0xd5fe35(0x1c6)]['id'],{'unitId':_0x117af2[_0xd5fe35(0x348)](),'subUnitId':_0x4b7957});}},_0x1e8a5b[_0x29bde7(0x242)]=_0x293bd3([_0x55071e(0x0,_0x5c7e96),_0x55071e(0x1,_0x3a09c4[_0x29bde7(0x1da)]),_0x55071e(0x2,_0x3a09c4[_0x29bde7(0x339)]),_0x55071e(0x3,_0x3a09c4[_0x29bde7(0xdb)](_0x5e7c26[_0x29bde7(0x35b)])),_0x55071e(0x4,_0x3a09c4[_0x29bde7(0x161)](_0x22bf51[_0x29bde7(0x311)]))],_0x1e8a5b[_0x29bde7(0x242)]);var _0x59dd67=Object['getOwnPropertyDescriptor'],_0x1f6ee5=(_0x3641a5,_0x5a750d,_0x52953a,_0x216761)=>{for(var _0xc6c788=_0x216761>0x1?void 0x0:_0x216761?_0x59dd67(_0x5a750d,_0x52953a):_0x5a750d,_0xdf652d=_0x3641a5['length']-0x1,_0x4df46e;_0xdf652d>=0x0;_0xdf652d--)(_0x4df46e=_0x3641a5[_0xdf652d])&&(_0xc6c788=_0x4df46e(_0xc6c788)||_0xc6c788);return _0xc6c788;},_0x412726=(_0x2e07d1,_0x14e67f)=>(_0x414345,_0x17c263)=>_0x14e67f(_0x414345,_0x17c263,_0x2e07d1);let _0x43ac4d=class extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(_0x687e24,_0x2b0bb2){const _0x1f4338=_0x29bde7;super(),this[_0x1f4338(0x158)]=_0x687e24,this[_0x1f4338(0xbd)]=_0x2b0bb2,this[_0x1f4338(0x34b)]();}[_0x29bde7(0x34b)](){const _0x3186bc=_0x29bde7,_0x5d9da8=this;this['disposeWithMe'](this['_docClipboardService'][_0x3186bc(0x26e)]({'onBeforePasteImage':async _0xaca630=>{const _0x75e8e9=_0x3186bc,_0x5d56f8=await _0x5d9da8[_0x75e8e9(0xbd)][_0x75e8e9(0x1eb)](_0xaca630);return _0x5d56f8?{'source':_0x5d56f8[_0x75e8e9(0x116)],'imageSourceType':_0x5d56f8['imageSourceType']}:null;}}));}};_0x43ac4d=_0x1f6ee5([_0x412726(0x0,_0x9d9b14['IDocClipboardService']),_0x412726(0x1,_0x5b74e1[_0x29bde7(0x3a1)])],_0x43ac4d);const _0xccb0ec=['purple.300',_0x29bde7(0x190),_0x29bde7(0x2fd),_0x29bde7(0x3b0),_0x29bde7(0x307),'yellow.400'];class _0x1acd06 extends _0x3a09c4['Disposable']{constructor(){const _0x5c58ff=_0x29bde7;super(...arguments),_0x9f87fa(this,_0x5c58ff(0x20a),new Map()),_0x9f87fa(this,_0x5c58ff(0x22f),0x0);}['assignAColorForMemberID'](_0x16c02b){const _0x312eb5=_0x29bde7;if(this[_0x312eb5(0x20a)]['has'](_0x16c02b))return this['_assignedColors'][_0x312eb5(0x31d)](_0x16c02b);const _0x573efa=_0xccb0ec[this[_0x312eb5(0x22f)]];return this[_0x312eb5(0x22f)]=(this[_0x312eb5(0x22f)]+0x1)%_0xccb0ec[_0x312eb5(0x257)],this['_assignedColors'][_0x312eb5(0x2d5)](_0x16c02b,_0x573efa),_0x573efa;}}function _0x440e57(_0x3b9d77){const _0x191ce6=_0x29bde7;let _0x339c96='';for(const _0x4018c6 of _0x3b9d77){const {startOffset:_0x492c5b,endOffset:_0x1ab40f,isActive:_0x331634,rangeType:_0x4cd3f9,segmentId:_0x3c2dfb,segmentPage:_0x134841}=_0x4018c6;_0x339c96[_0x191ce6(0x257)]&&(_0x339c96+=','),_0x339c96+=_0x492c5b+':'+_0x1ab40f+':'+(_0x331634?'1':'0')+':'+_0x4cd3f9+':'+_0x3c2dfb+':'+_0x134841;}return _0x339c96;}function _0x1f91e0(_0x47344c){const _0x3c8fde=_0x29bde7,_0x27004f=_0x47344c[_0x3c8fde(0x384)](','),_0x4cb024=[];for(const _0x1449d7 of _0x27004f){const [_0x22d4a6,_0x18bb39,_0x2d7f4a,_0x4f2012,_0x3d0541,_0x334d61]=_0x1449d7[_0x3c8fde(0x384)](':');_0x4cb024[_0x3c8fde(0x174)]({'startOffset':Number(_0x22d4a6),'endOffset':Number(_0x18bb39),'collapsed':_0x22d4a6===_0x18bb39,'isActive':_0x2d7f4a==='1','rangeType':_0x4f2012===_0x3a09c4[_0x3c8fde(0x11c)][_0x3c8fde(0x276)]?_0x3a09c4[_0x3c8fde(0x11c)]['TEXT']:_0x3a09c4[_0x3c8fde(0x11c)][_0x3c8fde(0x223)],'segmentId':typeof _0x3d0541==_0x3c8fde(0x24a)?String(_0x3d0541):'','segmentPage':Number(_0x334d61!=null?_0x334d61:-0x1)});}return _0x4cb024[_0x3c8fde(0x19c)](_0x52618c=>_0x52618c[_0x3c8fde(0x13b)])||(_0x4cb024[0x0]['isActive']=!0x0),_0x4cb024;}class _0x3d295c extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(){const _0x3da188=_0x29bde7;super(...arguments),_0x9f87fa(this,'_collabCursorState$',new _0x41fba3['BehaviorSubject'](null)),_0x9f87fa(this,_0x3da188(0x110),this[_0x3da188(0x1c9)]['asObservable']());}['syncEditingCollabCursor'](_0x4f0b0d){const _0xf34b9f=_0x29bde7,{unitID:_0x1f9429,memberID:_0x219b14,textRanges:_0x124610}=_0x4f0b0d,_0x84b018=_0x440e57(_0x124610);if(_0x84b018==='')return;const _0x4d1585={'unitID':_0x1f9429,'memberID':_0x219b14,'selection':_0x84b018};this[_0xf34b9f(0x1c9)]['next'](_0x4d1585);}}var _0x264d27=Object['getOwnPropertyDescriptor'],_0x512f44=(_0x3eb956,_0x42abc8,_0x5431ec,_0x3c6565)=>{const _0x35b302=_0x29bde7;for(var _0x32e78c=_0x3c6565>0x1?void 0x0:_0x3c6565?_0x264d27(_0x42abc8,_0x5431ec):_0x42abc8,_0x61e866=_0x3eb956[_0x35b302(0x257)]-0x1,_0x40a2bd;_0x61e866>=0x0;_0x61e866--)(_0x40a2bd=_0x3eb956[_0x61e866])&&(_0x32e78c=_0x40a2bd(_0x32e78c)||_0x32e78c);return _0x32e78c;},_0x3ed4c3=(_0x5ac82d,_0x108264)=>(_0xbb4dcc,_0x5c3baa)=>_0x108264(_0xbb4dcc,_0x5c3baa,_0x5ac82d);const _0x37e166=0x12c,_0x5f06e4=0x64;let _0x977053=class extends _0x3a09c4['RxDisposable']{constructor(_0x1762de,_0x502ffe,_0x3a9ca6,_0x2f1b08,_0x5dba4b,_0x2708c0,_0x102f29,_0x38e35a,_0x25ad68){const _0x4db517=_0x29bde7;super(),_0x9f87fa(this,'_online',!0x1),_0x9f87fa(this,_0x4db517(0x34b),!0x1),_0x9f87fa(this,_0x4db517(0x195),new _0x41fba3[(_0x4db517(0x31e))](new Map())),_0x9f87fa(this,_0x4db517(0x2a0),this[_0x4db517(0x195)][_0x4db517(0x1b2)]()),_0x9f87fa(this,'_roomMembers$',new _0x41fba3[(_0x4db517(0x31e))]([])),_0x9f87fa(this,_0x4db517(0x259),this[_0x4db517(0xf0)][_0x4db517(0x2e5)](_0x41fba3[_0x4db517(0x2ec)](_0x37e166))),_0x9f87fa(this,_0x4db517(0x1e3),_0x3a09c4[_0x4db517(0x3a6)](_0x107227=>{const _0xe8057b=_0x4db517,_0x15975a={'eventID':_0x5e9418[_0xe8057b(0x16a)][_0xe8057b(0x1f5)],'data':{'unitID':this[_0xe8057b(0xee)],'memberID':this[_0xe8057b(0x17e)][_0xe8057b(0x33c)](),'selection':_0x440e57(_0x107227)}};this[_0xe8057b(0x17e)][_0xe8057b(0x2de)](_0x15975a,this[_0xe8057b(0xee)]);},_0x5f06e4)),(this[_0x4db517(0xee)]=_0x1762de,this[_0x4db517(0x17e)]=_0x502ffe,this[_0x4db517(0x247)]=_0x3a9ca6,this[_0x4db517(0x25e)]=_0x2f1b08,this[_0x4db517(0xe5)]=_0x5dba4b,this['_syncEditingCollabCursorService']=_0x2708c0,this[_0x4db517(0x289)]=_0x102f29,this[_0x4db517(0x1ab)]=_0x38e35a,this[_0x4db517(0x114)]=_0x25ad68);}get['cursorInfo'](){const _0x25d88c=_0x29bde7;return this[_0x25d88c(0x195)][_0x25d88c(0x2ff)]();}get['roomMembers'](){const _0x1ad6f6=_0x29bde7;return this[_0x1ad6f6(0xf0)][_0x1ad6f6(0x2ff)]();}[_0x29bde7(0x19f)](){const _0x1a61ae=_0x29bde7;super[_0x1a61ae(0x19f)](),this[_0x1a61ae(0x195)][_0x1a61ae(0x1ea)](new Map()),this[_0x1a61ae(0x195)][_0x1a61ae(0x336)](),this[_0x1a61ae(0xf0)][_0x1a61ae(0x1ea)]([]),this[_0x1a61ae(0xf0)][_0x1a61ae(0x336)]();}['init'](){const _0x5c4887=_0x29bde7;this['_init']||(this[_0x5c4887(0x34b)]=!0x0,this[_0x5c4887(0x17e)][_0x5c4887(0x287)]['pipe'](_0x41fba3[_0x5c4887(0x306)](this[_0x5c4887(0x1ec)]))[_0x5c4887(0x359)](_0x301b06=>{const _0x5b2bd2=_0x5c4887;_0x301b06===_0x5e7c26['SessionStatus'][_0x5b2bd2(0x1c7)]?this[_0x5b2bd2(0x193)]():this[_0x5b2bd2(0x316)]();}),this[_0x5c4887(0x17e)][_0x5c4887(0xe3)][_0x5c4887(0x2e5)](_0x41fba3[_0x5c4887(0x306)](this['dispose$']))[_0x5c4887(0x359)](_0x57ab44=>{const _0x17b5ab=_0x5c4887,_0x371346=_0x57ab44['eventID'];_0x371346===_0x5e9418[_0x17b5ab(0x16a)][_0x17b5ab(0x1f5)]&&this['_onCursorUpdate'](_0x57ab44),_0x371346===_0x5e9418[_0x17b5ab(0x16a)][_0x17b5ab(0x2b4)]&&this[_0x17b5ab(0x38c)](_0x57ab44);}),this['disposeWithMe'](this[_0x5c4887(0x114)][_0x5c4887(0x1af)](_0x107d24=>{const _0x3fd03e=_0x5c4887,_0x5746d6=_0x107d24[_0x3fd03e(0x32e)];_0x5746d6!=null&&this[_0x3fd03e(0x383)]&&_0x107d24['id']===_0x4995f4[_0x3fd03e(0x216)]['id']&&_0x5746d6['unitId']===this[_0x3fd03e(0xee)]&&_0x5746d6[_0x3fd03e(0x2f0)]===!0x1&&_0x5746d6[_0x3fd03e(0x330)][_0x3fd03e(0x257)]>0x0&&this[_0x3fd03e(0x1e3)](_0x5746d6[_0x3fd03e(0x330)]);})),this[_0x5c4887(0x373)]['collabCursorState$'][_0x5c4887(0x2e5)](_0x41fba3['takeUntil'](this['dispose$']))[_0x5c4887(0x359)](_0x263ce9=>{const _0x4acfaa=_0x5c4887;if((_0x263ce9==null?void 0x0:_0x263ce9[_0x4acfaa(0xee)])!==this['unitID'])return;const _0x313061={'eventID':_0x5e9418[_0x4acfaa(0x16a)]['UPDATE_CURSOR'],'data':_0x263ce9};this[_0x4acfaa(0x245)](_0x313061);}),this['disposeWithMe'](this['_commandService'][_0x5c4887(0x1af)](_0x1d9f60=>{const _0x379040=_0x5c4887;if(_0x1d9f60['params']==null)return;const _0x9b4c3b=_0x1d9f60[_0x379040(0x32e)];if(_0x1d9f60['id']!==_0x4995f4[_0x379040(0x1fc)]['id']||_0x9b4c3b[_0x379040(0x3a8)]!==this['unitID'])return;const _0x2ba056={'id':'doc.mutation.rich-text-editing','params':_0x9b4c3b},_0x18db26=this['cursorInfo'];for(const [_0x107b4d,_0x12ef70]of _0x18db26){const _0x2be9af={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x379040(0xee)],'actions':null,'textRanges':_0x12ef70[_0x379040(0x330)]}},_0x339855=this[_0x379040(0x289)][_0x379040(0x1f8)](_0x2ba056,_0x2be9af,!0x1);if(_0x5e9418[_0x379040(0x273)](_0x339855))throw _0x339855[_0x379040(0x34f)];_0x18db26[_0x379040(0x2d5)](_0x107b4d,{..._0x12ef70,'ranges':_0x339855['m2Prime'][_0x379040(0x32e)][_0x379040(0x1e4)]});}queueMicrotask(()=>{const _0x20eb5b=_0x379040;this[_0x20eb5b(0x195)][_0x20eb5b(0x1ea)](_0x18db26);});})));}[_0x29bde7(0x245)](_0x5d50fd){const _0x5a4899=_0x29bde7;var _0x40d3fc,_0x34ea49;const {memberID:_0xad60b5,selection:_0x40d80b}=_0x5d50fd[_0x5a4899(0x215)],_0x3f9f7e=_0x1f91e0(_0x40d80b),_0x1f8190=(_0x34ea49=(_0x40d3fc=this[_0x5a4899(0xe5)][_0x5a4899(0x36a)](this[_0x5a4899(0xee)],_0xad60b5))==null?void 0x0:_0x40d3fc[_0x5a4899(0x15b)])!=null?_0x34ea49:'Unknown\x20user',_0x598d06={'color':this['_colorAssignService'][_0x5a4899(0x36b)](_0xad60b5),'name':_0x1f8190,'ranges':_0x3f9f7e},_0x5a326b=this['cursorInfo'];_0x5a326b[_0x5a4899(0x2d5)](_0xad60b5,_0x598d06),this[_0x5a4899(0x195)]['next'](_0x5a326b);}[_0x29bde7(0x38c)](_0x13402f){const _0xbe1a67=_0x29bde7,{memberID:_0xf26e6a}=_0x13402f[_0xbe1a67(0x215)],_0x581ba1=this[_0xbe1a67(0x156)];_0x581ba1['delete'](_0xf26e6a),this['_cursorInfo$']['next'](_0x581ba1);}[_0x29bde7(0x193)](){const _0x46b535=_0x29bde7;var _0x51eef7;if(this[_0x46b535(0x383)]=!0x0,((_0x51eef7=this[_0x46b535(0x1ab)][_0x46b535(0x1bc)]())==null?void 0x0:_0x51eef7[_0x46b535(0x348)]())!==this['unitID'])return;const _0x5c357a=this[_0x46b535(0x247)][_0x46b535(0x31d)](_0x4995f4[_0x46b535(0x1fa)])[_0x46b535(0x366)]();Array[_0x46b535(0x106)](_0x5c357a)&&_0x5c357a['length']>0x0&&this[_0x46b535(0x1e3)](_0x5c357a);}[_0x29bde7(0x316)](){const _0x1b62ee=_0x29bde7;this[_0x1b62ee(0x383)]=!0x1;}};_0x977053=_0x512f44([_0x3ed4c3(0x2,_0x3a09c4['Inject'](_0x3a09c4['Injector'])),_0x3ed4c3(0x3,_0x3a09c4['Inject'](_0x1acd06)),_0x3ed4c3(0x4,_0x3a09c4[_0x29bde7(0xdb)](_0x5e7c26[_0x29bde7(0x203)])),_0x3ed4c3(0x5,_0x3a09c4[_0x29bde7(0xdb)](_0x3d295c)),_0x3ed4c3(0x6,_0x5e9418[_0x29bde7(0x237)]),_0x3ed4c3(0x7,_0x3a09c4[_0x29bde7(0x294)]),_0x3ed4c3(0x8,_0x3a09c4['ICommandService'])],_0x977053);var _0x528743=Object[_0x29bde7(0x224)],_0x20c1aa=(_0x2bd934,_0x5068e0,_0x30fed3,_0x1bcdb1)=>{for(var _0x4ff0cb=_0x1bcdb1>0x1?void 0x0:_0x1bcdb1?_0x528743(_0x5068e0,_0x30fed3):_0x5068e0,_0x4bb9b2=_0x2bd934['length']-0x1,_0x301922;_0x4bb9b2>=0x0;_0x4bb9b2--)(_0x301922=_0x2bd934[_0x4bb9b2])&&(_0x4ff0cb=_0x301922(_0x4ff0cb)||_0x4ff0cb);return _0x4ff0cb;},_0x565401=(_0x3feeb5,_0x124d92)=>(_0x2d7e58,_0x5d9aad)=>_0x124d92(_0x2d7e58,_0x5d9aad,_0x3feeb5);const _0xde364e=0x12c,_0x4deb90=0x64,_0x92e6b9=()=>{let _0x160b00=[],_0x2c3dbb=!0x1;return _0x1d3847=>{_0x160b00['push'](_0x1d3847),_0x2c3dbb||(_0x2c3dbb=!0x0,setTimeout(()=>{_0x160b00['forEach'](_0x962fba=>_0x962fba()),_0x160b00=[],_0x2c3dbb=!0x1;}));};};let _0xd3e96a=class extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(_0x598747,_0x55b114,_0x501e3f,_0x34f2b2,_0x594a9f,_0x2bc6c0,_0x2f924e,_0x238a58){const _0x32c75f=_0x29bde7;super(),_0x9f87fa(this,_0x32c75f(0x383),!0x1),_0x9f87fa(this,_0x32c75f(0x34b),!0x1),_0x9f87fa(this,_0x32c75f(0x195),new _0x41fba3[(_0x32c75f(0x31e))](new Map())),_0x9f87fa(this,_0x32c75f(0x2a0),this[_0x32c75f(0x195)][_0x32c75f(0x1b2)]()),_0x9f87fa(this,_0x32c75f(0xf0),new _0x41fba3['BehaviorSubject']([])),_0x9f87fa(this,_0x32c75f(0x259),this[_0x32c75f(0xf0)][_0x32c75f(0x2e5)](_0x41fba3['debounceTime'](_0xde364e))),_0x9f87fa(this,_0x32c75f(0x1e3),_0x3a09c4[_0x32c75f(0x3a6)]((_0x499441,_0xbc2603)=>{const _0x3fdd03=_0x32c75f,_0x127e66={'eventID':_0x5e9418['CollaborationEvent'][_0x3fdd03(0x1f5)],'data':{'unitID':this[_0x3fdd03(0xee)],'memberID':this[_0x3fdd03(0x17e)][_0x3fdd03(0x33c)](),'selection':_0x3202a1[_0x3fdd03(0xff)](_0x499441,_0xbc2603[_0x3fdd03(0x285)])}};this[_0x3fdd03(0x17e)]['send'](_0x127e66,this[_0x3fdd03(0xee)]);},_0x4deb90)),(this['unitID']=_0x598747,this[_0x32c75f(0x17e)]=_0x55b114,this[_0x32c75f(0x247)]=_0x501e3f,this['_colorAssignService']=_0x34f2b2,this[_0x32c75f(0xe5)]=_0x594a9f,this['_univerInstanceService']=_0x2bc6c0,this['_commandService']=_0x2f924e,this[_0x32c75f(0x345)]=_0x238a58);}get[_0x29bde7(0x156)](){const _0x545423=_0x29bde7;return this[_0x545423(0x195)][_0x545423(0x2ff)]();}get['roomMembers'](){const _0x1012b1=_0x29bde7;return this[_0x1012b1(0xf0)][_0x1012b1(0x2ff)]();}['dispose'](){const _0x22a559=_0x29bde7;super[_0x22a559(0x19f)](),this[_0x22a559(0x195)][_0x22a559(0x1ea)](new Map()),this[_0x22a559(0x195)][_0x22a559(0x336)](),this[_0x22a559(0xf0)][_0x22a559(0x1ea)]([]),this[_0x22a559(0xf0)][_0x22a559(0x336)]();}[_0x29bde7(0x2c4)](){const _0x443468=_0x29bde7;this[_0x443468(0x34b)]||(this[_0x443468(0x34b)]=!0x0,this['_session'][_0x443468(0x287)][_0x443468(0x2e5)](_0x41fba3[_0x443468(0x306)](this['dispose$']))[_0x443468(0x359)](_0x5c1287=>{const _0x36ff6c=_0x443468;_0x5c1287===_0x5e7c26[_0x36ff6c(0x1d9)]['ONLINE']?this['_toggleOnline']():this[_0x36ff6c(0x316)]();}),this[_0x443468(0x17e)][_0x443468(0xe3)][_0x443468(0x2e5)](_0x41fba3[_0x443468(0x306)](this[_0x443468(0x1ec)]))[_0x443468(0x359)](_0x289b71=>{const _0x3605a2=_0x443468,_0x31c61e=_0x289b71['eventID'];_0x31c61e===_0x5e9418[_0x3605a2(0x16a)][_0x3605a2(0x1f5)]&&this['_onCursorUpdate'](_0x289b71),_0x31c61e===_0x5e9418['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x289b71);}),this[_0x443468(0x308)](),this[_0x443468(0x28e)](this[_0x443468(0x114)][_0x443468(0x1af)](_0x26c5f7=>{const _0x26f6ac=_0x443468;if(this[_0x26f6ac(0x383)]&&_0x26c5f7['id']===_0x6f871[_0x26f6ac(0x1f1)]['id']&&_0x26c5f7[_0x26f6ac(0x32e)][_0x26f6ac(0x3a8)]===this[_0x26f6ac(0xee)]){const _0x503de8=_0x26c5f7['params'];this[_0x26f6ac(0x1e3)](_0x503de8[_0x26f6ac(0x2a2)],_0x503de8[_0x26f6ac(0x213)][0x0]);}})));}['_onCursorUpdate'](_0x2fbd71){const _0x24b77d=_0x29bde7;var _0x1f9d23,_0x269e46;const {memberID:_0x2959bf,selection:_0x3b8b4a}=_0x2fbd71['data'],{sheetName:_0x40439b,range:_0x38922d}=_0x3202a1[_0x24b77d(0x33b)](_0x3b8b4a),_0x5ca0a0={'name':(_0x269e46=(_0x1f9d23=this[_0x24b77d(0xe5)][_0x24b77d(0x36a)](this[_0x24b77d(0xee)],_0x2959bf))==null?void 0x0:_0x1f9d23[_0x24b77d(0x15b)])!=null?_0x269e46:'Unknown\x20user','range':this['_getMergeRange'](_0x40439b,_0x38922d),'sheetID':_0x40439b,'color':this[_0x24b77d(0x25e)]['assignAColorForMemberID'](_0x2959bf),'selection':_0x3b8b4a},_0x34c8ac=this['cursorInfo'];_0x34c8ac['set'](_0x2959bf,_0x5ca0a0),this['_cursorInfo$']['next'](_0x34c8ac);}['_onCursorDelete'](_0x26ebbd){const _0x551703=_0x29bde7,{memberID:_0x55bbbf}=_0x26ebbd[_0x551703(0x215)],_0x254160=this['cursorInfo'];_0x254160[_0x551703(0x35e)](_0x55bbbf),this[_0x551703(0x195)][_0x551703(0x1ea)](_0x254160);}[_0x29bde7(0x274)](_0x5a0f06,_0x3ed744){const _0x3d1199=_0x29bde7;var _0x2e76df,_0x103ffa;const _0x307cd7=(_0x103ffa=(_0x2e76df=this[_0x3d1199(0x1ab)][_0x3d1199(0x2f4)](this[_0x3d1199(0xee)]))==null?void 0x0:_0x2e76df[_0x3d1199(0x2cf)](_0x5a0f06))==null?void 0x0:_0x103ffa['getMergeData']();return(_0x307cd7==null?void 0x0:_0x307cd7[_0x3d1199(0x214)](_0x29e1c2=>_0x3a09c4['Rectangle'][_0x3d1199(0x261)](_0x29e1c2,_0x3ed744)))||_0x3ed744;}[_0x29bde7(0x308)](){const _0x5827ab=_0x29bde7,_0x4091eb=new _0x3a09c4[(_0x5827ab(0x21f))](),_0x1002be=_0x92e6b9(),_0x448ef0=()=>{const _0x4820ee=_0x5827ab;_0x4091eb[_0x4820ee(0x19f)]();const _0x539a40=(_0x4e0087,_0x5d3997,_0x12e556,_0x60dd61)=>{const _0x487617=_0x4820ee;let _0x57ec46=[];switch(_0x4e0087['id']){case _0x6f871[_0x487617(0x37b)][_0x487617(0x151)]:{_0x57ec46=_0x6f871['handleDeleteRangeMoveLeft'](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)][_0x487617(0x1b0)]:{_0x57ec46=_0x6f871[_0x487617(0x29a)](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)][_0x487617(0x1f7)]:{_0x57ec46=_0x6f871[_0x487617(0x363)](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)]['InsertRangeMoveDownCommandId']:{_0x57ec46=_0x6f871[_0x487617(0x293)](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)]['InsertRangeMoveRightCommandId']:{_0x57ec46=_0x6f871['handleInsertRangeMoveRight'](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)]['InsertRowCommandId']:{_0x57ec46=_0x6f871[_0x487617(0x1cf)](_0x4e0087,_0x60dd61);break;}case _0x6f871['EffectRefRangId'][_0x487617(0x3ab)]:{_0x57ec46=_0x6f871[_0x487617(0x1a3)](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)]['RemoveColCommandId']:{_0x57ec46=_0x6f871[_0x487617(0x1ca)](_0x4e0087,_0x60dd61);break;}case _0x6f871[_0x487617(0x37b)][_0x487617(0x360)]:{_0x57ec46=_0x6f871[_0x487617(0x1c1)](_0x4e0087,_0x60dd61);break;}}const _0x325812=_0x6f871['runRefRangeMutations'](_0x57ec46,_0x60dd61),_0x3e4a17=this[_0x487617(0x156)][_0x487617(0x31d)](_0x5d3997);if(_0x3e4a17&&_0x325812){const _0x1eb09c={..._0x3e4a17,'range':_0x325812};this['cursorInfo']['set'](_0x5d3997,_0x1eb09c),_0x1002be(()=>{const _0xef7f7=_0x487617,_0x599a3f=this['_refRangeService'][_0xef7f7(0x38b)](_0x325812,_0x48982b=>(_0x599a3f[_0xef7f7(0x19f)](),_0x539a40(_0x48982b,_0x5d3997,_0x12e556,_0x325812)));_0x4091eb['add'](_0x599a3f);});}return{'redos':[],'undos':[]};};this[_0x4820ee(0x156)][_0x4820ee(0x27c)]((_0x2d30ae,_0xcf814d)=>{const _0x5ae9f0=_0x4820ee,{range:_0x1eba62,sheetID:_0x5b3bb3}=_0x2d30ae,_0x2f70ab=this[_0x5ae9f0(0x345)][_0x5ae9f0(0x38b)](_0x1eba62,_0x4d85a3=>(_0x2f70ab[_0x5ae9f0(0x19f)](),_0x539a40(_0x4d85a3,_0xcf814d,_0x5b3bb3,_0x1eba62)));_0x4091eb[_0x5ae9f0(0x2b2)](_0x2f70ab);});};this[_0x5827ab(0x28e)](_0x3a09c4['toDisposable'](this[_0x5827ab(0x195)][_0x5827ab(0x359)](()=>{_0x448ef0();})));}[_0x29bde7(0x193)](){const _0x278587=_0x29bde7;var _0x6771c8,_0x53c53d;if(this[_0x278587(0x383)]=!0x0,((_0x6771c8=this[_0x278587(0x1ab)]['getFocusedUnit']())==null?void 0x0:_0x6771c8[_0x278587(0x348)]())!==this[_0x278587(0xee)])return;const _0x5e5221=(_0x53c53d=this['_injector']['get'](_0x6f871[_0x278587(0x357)])[_0x278587(0x34d)]())==null?void 0x0:_0x53c53d[0x0],_0x3f3f33=this[_0x278587(0x1ab)][_0x278587(0xc7)](_0x3a09c4[_0x278587(0x30d)][_0x278587(0x2aa)])[_0x278587(0x160)]();_0x5e5221&&_0x3f3f33&&this[_0x278587(0x1e3)](_0x3f3f33['getSheetId'](),_0x5e5221);}['_toggleOffline'](){const _0x556bd1=_0x29bde7;this[_0x556bd1(0x383)]=!0x1;}};_0xd3e96a=_0x20c1aa([_0x565401(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x304)])),_0x565401(0x3,_0x3a09c4[_0x29bde7(0xdb)](_0x1acd06)),_0x565401(0x4,_0x3a09c4['Inject'](_0x5e7c26[_0x29bde7(0x203)])),_0x565401(0x5,_0x3a09c4['IUniverInstanceService']),_0x565401(0x6,_0x3a09c4[_0x29bde7(0x339)]),_0x565401(0x7,_0x3a09c4[_0x29bde7(0xdb)](_0x6f871[_0x29bde7(0xce)]))],_0xd3e96a);var _0x4e2170=Object[_0x29bde7(0x224)],_0x218f59=(_0x5f5943,_0x2238b0,_0x34fc00,_0x56a336)=>{const _0xa1ef26=_0x29bde7;for(var _0x1b79ff=_0x56a336>0x1?void 0x0:_0x56a336?_0x4e2170(_0x2238b0,_0x34fc00):_0x2238b0,_0x1c7458=_0x5f5943[_0xa1ef26(0x257)]-0x1,_0x4d74bd;_0x1c7458>=0x0;_0x1c7458--)(_0x4d74bd=_0x5f5943[_0x1c7458])&&(_0x1b79ff=_0x4d74bd(_0x1b79ff)||_0x1b79ff);return _0x1b79ff;},_0x52c822=(_0x3457ea,_0x22bdbc)=>(_0x19b6dc,_0x2d732a)=>_0x22bdbc(_0x19b6dc,_0x2d732a,_0x3457ea);let _0x2763d1=class extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(_0x2c80fb,_0x38b36d,_0x368003){const _0x2b4869=_0x29bde7;super(),_0x9f87fa(this,_0x2b4869(0x27a),new Map()),_0x9f87fa(this,_0x2b4869(0x1a5),new _0x41fba3[(_0x2b4869(0x376))]()),(this[_0x2b4869(0x1ab)]=_0x2c80fb,this[_0x2b4869(0x247)]=_0x38b36d,this[_0x2b4869(0x1e5)]=_0x368003,this[_0x2b4869(0x34b)]());}[_0x29bde7(0x19f)](){const _0x317844=_0x29bde7;super[_0x317844(0x19f)](),this['_entityInit$'][_0x317844(0x336)](),this['_entities'][_0x317844(0x27c)](_0x5a9b41=>_0x5a9b41[_0x317844(0x19f)]());}[_0x29bde7(0x238)](_0x14ec27){const _0x3e9153=_0x29bde7;return this['_entities']['has'](_0x14ec27)?this[_0x3e9153(0x27a)][_0x3e9153(0x31d)](_0x14ec27)[_0x3e9153(0x2a0)]:this[_0x3e9153(0x1a5)][_0x3e9153(0x2e5)](_0x41fba3[_0x3e9153(0x30e)](_0x50e413=>_0x50e413[_0x3e9153(0xee)]===_0x14ec27),_0x41fba3[_0x3e9153(0x2f8)](_0x18c779=>_0x18c779[_0x3e9153(0x2a0)]));}['_init'](){const _0x3ec692=_0x29bde7;this['_univerInstanceService'][_0x3ec692(0x163)](_0x3a09c4[_0x3ec692(0x30d)][_0x3ec692(0x2aa)])[_0x3ec692(0x2e5)](_0x41fba3['takeUntil'](this[_0x3ec692(0x1ec)]))['subscribe'](async _0x18906c=>{const _0x43ad84=_0x3ec692,_0x4d8c6a=_0x18906c[_0x43ad84(0x348)](),_0x101ec4=await this['_startSheetCollabCursor'](_0x4d8c6a);this['_entityInit$'][_0x43ad84(0x1ea)](_0x101ec4),this[_0x43ad84(0x27a)]['set'](_0x4d8c6a,_0x101ec4);}),this['_univerInstanceService'][_0x3ec692(0x163)](_0x3a09c4[_0x3ec692(0x30d)][_0x3ec692(0xec)])[_0x3ec692(0x2e5)](_0x41fba3[_0x3ec692(0x306)](this[_0x3ec692(0x1ec)]))[_0x3ec692(0x2e5)](_0x41fba3[_0x3ec692(0x30e)](_0x1941c3=>!_0x1941c3[_0x3ec692(0x348)]()[_0x3ec692(0x318)]('__')))[_0x3ec692(0x359)](async _0x522cb3=>{const _0x15189f=_0x3ec692,_0x806c88=_0x522cb3[_0x15189f(0x348)](),_0x1ad223=await this[_0x15189f(0x28b)](_0x806c88);this['_entityInit$'][_0x15189f(0x1ea)](_0x1ad223),this[_0x15189f(0x27a)][_0x15189f(0x2d5)](_0x806c88,_0x1ad223);}),_0x41fba3[_0x3ec692(0x28d)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x3a09c4[_0x3ec692(0x30d)][_0x3ec692(0xec)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x3a09c4['UniverInstanceType'][_0x3ec692(0x2aa)]))['pipe'](_0x41fba3[_0x3ec692(0x306)](this[_0x3ec692(0x1ec)]))[_0x3ec692(0x359)](_0x3289bc=>{const _0x41ebfa=_0x3ec692,_0x1c41f7=_0x3289bc[_0x41ebfa(0x348)](),_0x1a9cd4=this[_0x41ebfa(0x27a)][_0x41ebfa(0x31d)](_0x1c41f7);_0x1a9cd4&&(_0x1a9cd4[_0x41ebfa(0x19f)](),this[_0x41ebfa(0x27a)][_0x41ebfa(0x35e)](_0x1c41f7));});}async[_0x29bde7(0x111)](_0x1dd71f){const _0xeea0ea=_0x29bde7,_0x5efc46=await this[_0xeea0ea(0x1e5)][_0xeea0ea(0x185)](_0x1dd71f),_0x1d06ce=this['_injector'][_0xeea0ea(0x3a3)](_0xd3e96a,_0x1dd71f,_0x5efc46);return _0x1d06ce[_0xeea0ea(0x2c4)](),_0x1d06ce;}async[_0x29bde7(0x28b)](_0x10d354){const _0x502a1c=_0x29bde7,_0x522e3b=await this[_0x502a1c(0x1e5)][_0x502a1c(0x185)](_0x10d354),_0x3a82ab=this[_0x502a1c(0x247)][_0x502a1c(0x3a3)](_0x977053,_0x10d354,_0x522e3b);return _0x3a82ab['init'](),_0x3a82ab;}};_0x2763d1=_0x218f59([_0x52c822(0x0,_0x3a09c4[_0x29bde7(0x294)]),_0x52c822(0x1,_0x3a09c4['Inject'](_0x3a09c4[_0x29bde7(0x304)])),_0x52c822(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x5e7c26[_0x29bde7(0x3ae)]))],_0x2763d1);const _0x3ad07c=0x14,_0x4afbb1=0xc8,_0x221ad0=0x4,_0x5ef308=0x5;function _0x314ac8(_0x136a0f,_0x144f2b){const _0x39dbc2=_0x29bde7;let {radius:_0x47e621,width:_0x4609c4,height:_0x15cd9c}=_0x144f2b;_0x47e621=_0x47e621!=null?_0x47e621:0x0,_0x4609c4=_0x4609c4!=null?_0x4609c4:0x1e,_0x15cd9c=_0x15cd9c!=null?_0x15cd9c:0x1e;let _0x4039f2=0x0,_0x26d23c=0x0,_0x14382e=0x0;_0x4039f2=_0x26d23c=_0x14382e=Math[_0x39dbc2(0x1a7)](_0x47e621,_0x4609c4/0x2,_0x15cd9c/0x2),_0x136a0f[_0x39dbc2(0x1b7)](),_0x136a0f[_0x39dbc2(0x239)](_0x4039f2,0x0),_0x136a0f[_0x39dbc2(0x187)](_0x4609c4-_0x26d23c,0x0),_0x136a0f[_0x39dbc2(0xeb)](_0x4609c4-_0x26d23c,_0x26d23c,_0x26d23c,Math['PI']*0x3/0x2,0x0,!0x1),_0x136a0f[_0x39dbc2(0x187)](_0x4609c4,_0x15cd9c-_0x14382e),_0x136a0f[_0x39dbc2(0xeb)](_0x4609c4-_0x14382e,_0x15cd9c-_0x14382e,_0x14382e,0x0,Math['PI']/0x2,!0x1),_0x136a0f['lineTo'](0x0,_0x15cd9c),_0x136a0f['lineTo'](0x0,_0x4039f2),_0x136a0f[_0x39dbc2(0xeb)](_0x4039f2,_0x4039f2,_0x4039f2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x136a0f[_0x39dbc2(0x325)](),_0x144f2b[_0x39dbc2(0x1b9)]&&(_0x136a0f[_0x39dbc2(0x317)](),_0x136a0f['fillStyle']=_0x144f2b[_0x39dbc2(0x1b9)],_0x144f2b[_0x39dbc2(0x1f4)]===_0x39dbc2(0x351)?_0x136a0f[_0x39dbc2(0x1b9)](_0x39dbc2(0x351)):_0x136a0f[_0x39dbc2(0x1b9)](),_0x136a0f[_0x39dbc2(0x271)]());}class _0xb13f21 extends _0x271b4b[_0x29bde7(0x157)]{constructor(_0x43ed6c,_0xea6e14){const _0xddeab2=_0x29bde7;super(_0x43ed6c,_0xea6e14),_0x9f87fa(this,_0xddeab2(0x2a6)),_0x9f87fa(this,_0xddeab2(0x2b5)),(this[_0xddeab2(0x2a6)]=_0xea6e14==null?void 0x0:_0xea6e14['color'],this[_0xddeab2(0x2b5)]=_0xea6e14==null?void 0x0:_0xea6e14[_0xddeab2(0x2b5)]);}static[_0x29bde7(0x399)](_0x55a5f0,_0x5a2b77){const _0x115991=_0x29bde7,{text:_0x4735b,color:_0x51d243}=_0x5a2b77;_0x55a5f0[_0x115991(0x317)](),_0x55a5f0[_0x115991(0x356)]=_0x115991(0x397);const _0x4e0753=_0x55a5f0[_0x115991(0x1d2)](_0x4735b)[_0x115991(0x393)],_0x125730=Math[_0x115991(0x1a7)](_0x4e0753+0x2*_0x221ad0,_0x4afbb1);_0x314ac8(_0x55a5f0,{'height':_0x3ad07c,'radius':0x4,'width':_0x125730,'fill':_0x51d243}),_0x55a5f0['fillStyle']='#FFF';const _0x32b9a1=_0x221ad0,_0x2e37c7=_0x3ad07c-_0x5ef308,_0xfc4fc5=_0x4afbb1-0x2*_0x221ad0;if(_0x4e0753>_0xfc4fc5){let _0x195510='',_0x58803e=0x0;for(const _0xaf6479 of _0x4735b){const _0x5404cf=_0x55a5f0[_0x115991(0x1d2)](_0xaf6479)['width'];if(_0x58803e+_0x5404cf<=_0xfc4fc5-_0x55a5f0['measureText'](_0x115991(0xe0))[_0x115991(0x393)])_0x195510+=_0xaf6479,_0x58803e+=_0x5404cf;else{_0x195510+='...';break;}}_0x55a5f0['fillText'](_0x195510,_0x32b9a1,_0x2e37c7);}else _0x55a5f0[_0x115991(0x15a)](_0x4735b,_0x32b9a1,_0x2e37c7);_0x55a5f0['restore']();}[_0x29bde7(0x121)](_0x2e2c96){const _0xdc63b7=_0x29bde7;_0xb13f21[_0xdc63b7(0x399)](_0x2e2c96,this);}}const _0x576984=_0x29bde7(0x296),_0x1d1b28=_0x29bde7(0xc1),_0x10b1db=_0x29bde7(0x13f),_0x4b09c8=0x6,_0x4564fc=1.5,_0x59a3b3=0x4,_0x3debe4=1.5,_0xfd59bb=_0x29bde7(0x14d);class _0x544971{constructor(_0x5c210e,_0x1be163,_0x472a3e,_0x3006cd){const _0x3df967=_0x29bde7;_0x9f87fa(this,'_shapes',[]),_0x9f87fa(this,_0x3df967(0x1e0),null),_0x9f87fa(this,'_textBubble',null),_0x9f87fa(this,_0x3df967(0x2a3),null),_0x9f87fa(this,_0x3df967(0x32b),null),_0x9f87fa(this,_0x3df967(0x139),null),(this['_cursor']=_0x5c210e,this['_scene']=_0x1be163,this['_docSkeleton']=_0x472a3e,this['_document']=_0x3006cd,this[_0x3df967(0x192)]());}set[_0x29bde7(0xfc)](_0x19af79){const _0x2da6b9=_0x29bde7;_0x19af79?(this['_anchorDot']&&this['_anchorDot'][_0x2da6b9(0x1db)](),this[_0x2da6b9(0x2f2)]&&this[_0x2da6b9(0x2f2)][_0x2da6b9(0x16f)]()):(this['_anchorDot']&&this[_0x2da6b9(0x2a3)][_0x2da6b9(0x16f)](),this[_0x2da6b9(0x2f2)]&&this['_textBubble']['hide']());}[_0x29bde7(0x19f)](){const _0x46ce7a=_0x29bde7;for(const _0x26d093 of this[_0x46ce7a(0xca)])_0x26d093[_0x46ce7a(0x19f)]();this[_0x46ce7a(0x2f2)]&&this[_0x46ce7a(0x2f2)][_0x46ce7a(0x19f)](),this[_0x46ce7a(0x2a3)]&&this[_0x46ce7a(0x2a3)][_0x46ce7a(0x19f)](),this[_0x46ce7a(0x1e0)]&&this[_0x46ce7a(0x1e0)][_0x46ce7a(0x19f)](),this[_0x46ce7a(0x139)]&&this[_0x46ce7a(0x139)]();}['_render'](){const _0x1fdfe9=_0x29bde7;var _0x2afc87;const {_docSkeleton:_0xc41b26,_document:_0x3ae2e3}=this,{color:_0x414d6e,name:_0x478b36,ranges:_0x511a91}=this[_0x1fdfe9(0x175)],_0x16a598=_0x3ae2e3[_0x1fdfe9(0x295)](),{docsLeft:_0x251af4,docsTop:_0x2692bd}=_0x16a598,_0x46a766=new _0x9d9b14[(_0x1fdfe9(0x32d))](_0x16a598,_0xc41b26);for(const {startOffset:_0x28f588,endOffset:_0x517be2,rangeType:_0x5ce289,segmentId:_0x44024d,segmentPage:_0x37d0f6,collapsed:_0x1789c2,isActive:_0x20dcd0}of _0x511a91){const _0x3240be=_0xc41b26['findNodePositionByCharIndex'](_0x28f588,!0x0,_0x44024d,_0x37d0f6);let _0x102b79=_0xc41b26[_0x1fdfe9(0x173)](_0x517be2,!0x0,_0x44024d,_0x37d0f6);if(_0x102b79==null&&(_0x102b79=_0xc41b26[_0x1fdfe9(0x173)](_0x517be2-0x1,!0x1,_0x44024d,_0x37d0f6)),_0x20dcd0){const {contentBoxPointGroup:_0x5f4b4b}=_0x46a766[_0x1fdfe9(0x2f1)](_0x102b79,_0x102b79);if(_0x5f4b4b[_0x1fdfe9(0x257)]===0x0)continue;this[_0x1fdfe9(0x389)](_0x414d6e,_0x5f4b4b,_0x251af4,_0x2692bd,_0x478b36),this['_eventUnsubscribe']=this[_0x1fdfe9(0x33e)]();}if(_0x3240be&&_0x102b79){if(_0x5ce289===_0x3a09c4[_0x1fdfe9(0x11c)][_0x1fdfe9(0x223)]){const _0x2cec86=new _0x9d9b14[(_0x1fdfe9(0xbe))](_0x16a598,_0xc41b26),{pointGroup:_0x47a5f6}=(_0x2afc87=_0x2cec86['getRangePointData'](_0x3240be,_0x102b79))!=null?_0x2afc87:{};if(_0x47a5f6==null||_0x47a5f6[_0x1fdfe9(0x257)]===0x0)continue;this[_0x1fdfe9(0x233)](_0x414d6e,_0x47a5f6,_0x251af4,_0x2692bd);}else{if(!_0x1789c2){const {borderBoxPointGroup:_0x1a6290}=_0x46a766[_0x1fdfe9(0x2f1)](_0x3240be,_0x102b79);if(_0x1a6290[_0x1fdfe9(0x257)]===0x0)continue;this[_0x1fdfe9(0x292)](_0x414d6e,_0x1a6290,_0x251af4,_0x2692bd);}}}}}[_0x29bde7(0x389)](_0x232110,_0x3557cc,_0xc439cb,_0x19f45e,_0x5cd9df){const _0x5d295b=_0x29bde7,_0x4f08b1=this[_0x5d295b(0x128)](_0x3557cc),{left:_0x357a0f,top:_0x254e85,height:_0x3ea74f}=_0x4f08b1,_0x256591=this['_getScale'](),_0x37392d=_0x3debe4/_0x256591,_0x5d0e17=new _0x271b4b[(_0x5d295b(0x326))](_0x576984+_0x3a09c4[_0x5d295b(0x382)](_0x4b09c8),{'left':_0x357a0f+_0xc439cb-_0x37392d,'top':_0x254e85+_0x19f45e,'height':_0x3ea74f,'width':_0x4564fc,'fill':_0x232110||_0x271b4b[_0x5d295b(0x241)](_0x3a09c4[_0x5d295b(0x38a)][_0x5d295b(0xd1)],0x0),'strokeWidth':_0x37392d,'stroke':_0xfd59bb,'evented':!0x0});this['_anchor']=_0x5d0e17,this[_0x5d295b(0x2ea)][_0x5d295b(0x396)](_0x5d0e17,_0x9d9b14[_0x5d295b(0x20b)]);const _0x1271e5=new _0x271b4b['Rect'](_0x576984+_0x3a09c4['generateRandomId'](_0x4b09c8),{'left':_0x357a0f+_0xc439cb-_0x37392d,'top':_0x254e85+_0x19f45e-_0x59a3b3/0x2,'height':_0x59a3b3,'width':_0x59a3b3,'fill':_0x232110||_0x271b4b[_0x5d295b(0x241)](_0x3a09c4[_0x5d295b(0x38a)][_0x5d295b(0xd1)],0x0),'strokeWidth':0x0,'stroke':_0x232110||_0x271b4b['getColor'](_0x3a09c4['COLORS'][_0x5d295b(0xd1)],0x0),'evented':!0x1});this[_0x5d295b(0x2a3)]=_0x1271e5,this[_0x5d295b(0x2ea)][_0x5d295b(0x396)](_0x1271e5,_0x9d9b14[_0x5d295b(0x20b)]);const _0xd876ef=new _0xb13f21(_0x576984+_0x3a09c4[_0x5d295b(0x382)](_0x4b09c8),{'left':_0x357a0f+_0xc439cb-_0x37392d,'top':_0x254e85+_0x19f45e-_0x3ad07c,'text':_0x5cd9df,'color':_0x232110});this[_0x5d295b(0x2f2)]=_0xd876ef,this[_0x5d295b(0x2ea)][_0x5d295b(0x396)](_0xd876ef,_0x9d9b14[_0x5d295b(0x20b)]),this[_0x5d295b(0xfc)]=!0x1;}['_handleHover'](){const _0x507d67=_0x29bde7,_0x1efc7d=this[_0x507d67(0x1e0)][_0x507d67(0x320)]['subscribeEvent'](()=>{const _0x269f55=_0x507d67;this[_0x269f55(0xfc)]=!0x0;}),_0x5f25f2=this[_0x507d67(0x1e0)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x228edb=_0x507d67;this[_0x228edb(0x32b)]&&clearTimeout(this[_0x228edb(0x32b)]),this[_0x228edb(0x32b)]=setTimeout(()=>{const _0x4ddab5=_0x228edb;this[_0x4ddab5(0xfc)]=!0x1;},0x7d0);});return()=>{const _0x2da018=_0x507d67;_0x1efc7d[_0x2da018(0x2b7)](),_0x5f25f2[_0x2da018(0x2b7)]();};}[_0x29bde7(0x292)](_0xcbeaf9,_0x24409b,_0x1a0689,_0x2a0946){const _0x51d7cf=_0x29bde7,_0x12f80f=new _0x3a09c4[(_0x51d7cf(0x2f3))](_0xcbeaf9)[_0x51d7cf(0x138)](0.2)['toRgbString'](),_0x305ab6=new _0x271b4b[(_0x51d7cf(0x26f))](_0x1d1b28+_0x3a09c4[_0x51d7cf(0x382)](_0x4b09c8),{'pointsGroup':_0x24409b,'fill':_0x12f80f||_0x271b4b[_0x51d7cf(0x241)](_0x3a09c4[_0x51d7cf(0x38a)][_0x51d7cf(0xd1)],0.2),'left':_0x1a0689,'top':_0x2a0946,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x305ab6),this[_0x51d7cf(0x2ea)][_0x51d7cf(0x396)](_0x305ab6,_0x9d9b14[_0x51d7cf(0x20b)]);}[_0x29bde7(0x233)](_0x1cf7c8,_0x41acac,_0x4e40e7,_0x2f30a1){const _0x4a848b=_0x29bde7,_0x3b9fcb=new _0x3a09c4['ColorKit'](_0x1cf7c8)['setAlpha'](0.2)[_0x4a848b(0x249)](),_0x471b14=new _0x271b4b[(_0x4a848b(0x26f))](_0x10b1db+_0x3a09c4[_0x4a848b(0x382)](_0x4b09c8),{'pointsGroup':_0x41acac,'fill':_0x3b9fcb||_0x271b4b['getColor'](_0x3a09c4['COLORS'][_0x4a848b(0xd1)],0.2),'left':_0x4e40e7,'top':_0x2f30a1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4a848b(0xca)][_0x4a848b(0x174)](_0x471b14),this[_0x4a848b(0x2ea)][_0x4a848b(0x396)](_0x471b14,_0x9d9b14[_0x4a848b(0x20b)]);}['_getAnchorBounding'](_0x5b7ec){const _0x1559c3=_0x5b7ec[0x0],_0x562452=_0x1559c3[0x0],_0xabfa07=_0x1559c3[0x2],{x:_0x4bd49e,y:_0x481d14}=_0x562452,{x:_0x41756d,y:_0x27fe0a}=_0xabfa07;return{'left':_0x4bd49e,'top':_0x481d14,'width':_0x41756d-_0x4bd49e,'height':_0x27fe0a-_0x481d14};}['_getScale'](){const _0x37b4b0=_0x29bde7,{scaleX:_0x3a70f3,scaleY:_0x55992f}=this[_0x37b4b0(0x2ea)]['getAncestorScale']();return Math['max'](_0x3a70f3,_0x55992f);}}var _0x2e0a2e=Object[_0x29bde7(0x224)],_0xf368bb=(_0x4cbfcb,_0x3f9482,_0x2dadcf,_0x4a076c)=>{for(var _0x51c50e=_0x4a076c>0x1?void 0x0:_0x4a076c?_0x2e0a2e(_0x3f9482,_0x2dadcf):_0x3f9482,_0x44a4d0=_0x4cbfcb['length']-0x1,_0xab0f3b;_0x44a4d0>=0x0;_0x44a4d0--)(_0xab0f3b=_0x4cbfcb[_0x44a4d0])&&(_0x51c50e=_0xab0f3b(_0x51c50e)||_0x51c50e);return _0x51c50e;},_0x9203be=(_0x2c5e4b,_0x5811dc)=>(_0x21152a,_0x24d69e)=>_0x5811dc(_0x21152a,_0x24d69e,_0x2c5e4b);let _0x4ec09a=class extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(_0x34636e,_0x32d985,_0x300d63,_0x2cd2f4,_0x5a4aad){const _0x12f6ce=_0x29bde7;super(),_0x9f87fa(this,_0x12f6ce(0x124),[]),_0x9f87fa(this,_0x12f6ce(0x2f5),[]),(this[_0x12f6ce(0x1dc)]=_0x34636e,this['_docSkeletonManagerService']=_0x32d985,this[_0x12f6ce(0x27d)]=_0x300d63,this[_0x12f6ce(0x114)]=_0x2cd2f4,this[_0x12f6ce(0x286)]=_0x5a4aad,this[_0x12f6ce(0x34b)]());}['_init'](){const _0x1c0317=_0x29bde7,_0x584cf9=this[_0x1c0317(0x1dc)][_0x1c0317(0x3a8)],_0x816b14=this[_0x1c0317(0x332)];this[_0x1c0317(0x28e)](_0x41fba3[_0x1c0317(0x227)]([this[_0x1c0317(0x27d)][_0x1c0317(0x238)](_0x584cf9),this['_themeService'][_0x1c0317(0x226)]])[_0x1c0317(0x2e5)](_0x360399[_0x1c0317(0x20c)](([_0xa4c5ef,_0x1da424])=>({'skeleton':_0x816b14['getSkeleton'](),'cursors':[..._0xa4c5ef['values']()][_0x1c0317(0x253)](_0x78f409=>({..._0x78f409,'color':this['_themeService'][_0x1c0317(0xda)](_0x78f409[_0x1c0317(0x2a6)])}))})))[_0x1c0317(0x359)](_0x4c91d2=>{const _0x11ea0c=_0x1c0317;if(this[_0x11ea0c(0x30b)](),_0x4c91d2){const {skeleton:_0x586069,cursors:_0x52e314}=_0x4c91d2;this[_0x11ea0c(0xcf)](_0x586069,_0x52e314);}})),this[_0x1c0317(0x220)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x231b48,_0x4a75a4){const _0x1e160f=_0x29bde7,{scene:_0x1dba02,mainComponent:_0x51135b}=this['_context'],_0x41da39=_0x4a75a4[_0x1e160f(0x20c)](_0x173184=>new _0x544971(_0x173184,_0x1dba02,_0x231b48,_0x51135b));this['_cursorShapes']=_0x41da39,this[_0x1e160f(0x2f5)]=_0x4a75a4;}['_refreshCollabCursors'](){const _0x1a321b=_0x29bde7;this[_0x1a321b(0x30b)]();const {scene:_0x3c2f6d,mainComponent:_0x4fc845}=this[_0x1a321b(0x1dc)],_0x1d116e=this['_docSkeletonManagerService'][_0x1a321b(0x184)](),_0x461525=this[_0x1a321b(0x2f5)]['map'](_0x636d24=>new _0x544971(_0x636d24,_0x3c2f6d,_0x1d116e,_0x4fc845));this[_0x1a321b(0x124)]=_0x461525;}['_removeCollabCursors'](){const _0x22bc5f=_0x29bde7;this[_0x22bc5f(0x124)]['forEach'](_0x5b7b69=>_0x5b7b69[_0x22bc5f(0x19f)]()),this[_0x22bc5f(0x124)]=[];}['_initCommandExecutedListener'](){const _0x322076=_0x29bde7,_0x2b8933=[_0x9d9b14[_0x322076(0x12d)]['id']];this[_0x322076(0x28e)](this[_0x322076(0x114)][_0x322076(0x1af)](_0x271a3c=>{const _0x4f710d=_0x322076;_0x2b8933[_0x4f710d(0xf3)](_0x271a3c['id'])&&_0x271a3c[_0x4f710d(0x32e)][_0x4f710d(0x3a8)]===this[_0x4f710d(0x1dc)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x29bde7(0x220)](){const _0x2f66a7=_0x29bde7;this['disposeWithMe'](_0x3a09c4[_0x2f66a7(0x1c4)](this['_context'][_0x2f66a7(0x24c)][_0x2f66a7(0xe2)])[_0x2f66a7(0x2e5)](_0x360399[_0x2f66a7(0x30e)](_0x36dd83=>_0x36dd83[_0x2f66a7(0x1d7)]===_0x271b4b[_0x2f66a7(0x1bb)][_0x2f66a7(0x268)]),_0x360399[_0x2f66a7(0x2bf)](0x10))[_0x2f66a7(0x359)](()=>{const _0x4d6f49=_0x2f66a7;this[_0x4d6f49(0xc4)]();}));}};_0x4ec09a=_0xf368bb([_0x9203be(0x1,_0x3a09c4[_0x29bde7(0xdb)](_0x4995f4[_0x29bde7(0x2da)])),_0x9203be(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x2763d1)),_0x9203be(0x3,_0x3a09c4['ICommandService']),_0x9203be(0x4,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x13a)]))],_0x4ec09a);const _0x5b7afe=0x1,_0x407b6e=1.5;class _0x526d2d extends _0x271b4b[_0x29bde7(0x157)]{constructor(_0x8c7dcf,_0x110cc5){const _0x2f85da=_0x29bde7;super(_0x8c7dcf,_0x110cc5),_0x9f87fa(this,_0x2f85da(0x14f)),_0x9f87fa(this,'_hovered',!0x1),_0x9f87fa(this,_0x2f85da(0x31a)),_0x9f87fa(this,_0x2f85da(0x372),''),_0x9f87fa(this,_0x2f85da(0x182),_0x2f85da(0xea)),_0x9f87fa(this,_0x2f85da(0x12a)),(_0x110cc5&&this[_0x2f85da(0x1a1)](_0x110cc5),this['onPointerEnter$'][_0x2f85da(0x1be)](()=>this[_0x2f85da(0x1a1)]({'hovered':!0x0})),this[_0x2f85da(0x252)][_0x2f85da(0x1be)](()=>this[_0x2f85da(0x1a1)]({'hovered':!0x1})));}[_0x29bde7(0x1a1)](_0x1be9bc){const _0x27232e=_0x29bde7;var _0x17aa54,_0x27dfe3,_0x4112a1,_0x338c46,_0x97b0fc,_0x251153;this[_0x27232e(0x14f)]=(_0x17aa54=_0x1be9bc[_0x27232e(0x2a6)])!=null?_0x17aa54:this[_0x27232e(0x14f)],this[_0x27232e(0x361)]=(_0x27dfe3=_0x1be9bc['hovered'])!=null?_0x27dfe3:this[_0x27232e(0x361)],this[_0x27232e(0x31a)]=(_0x4112a1=_0x1be9bc[_0x27232e(0x285)])!=null?_0x4112a1:this['_range'],this[_0x27232e(0x372)]=(_0x338c46=_0x1be9bc['name'])!=null?_0x338c46:this[_0x27232e(0x372)],this['_labelPosition']=(_0x97b0fc=_0x1be9bc[_0x27232e(0x2e7)])!=null?_0x97b0fc:this[_0x27232e(0x182)],this['_backgroundColor']=(_0x251153=_0x1be9bc['backgroundColor'])!=null?_0x251153:this[_0x27232e(0x12a)],this[_0x27232e(0x275)]({'width':_0x1be9bc[_0x27232e(0x393)],'height':_0x1be9bc['height']});}[_0x29bde7(0x199)](_0x30a776){const _0x3fa98b=_0x29bde7,{row:_0x1143c6,column:_0xaae917}=_0x30a776;if(_0x1143c6>=this[_0x3fa98b(0x31a)]['startRow']&&_0x1143c6<=this[_0x3fa98b(0x31a)][_0x3fa98b(0x1e6)]&&_0xaae917>=this[_0x3fa98b(0x31a)][_0x3fa98b(0x15d)]&&_0xaae917<=this[_0x3fa98b(0x31a)][_0x3fa98b(0x1a9)]){this[_0x3fa98b(0x1a1)]({'hovered':!0x0});return;}this[_0x3fa98b(0x1a1)]({'hovered':!0x1});}['triggerDblclick'](_0x90ab2){return!0x1;}[_0x29bde7(0x121)](_0x4dc10d){const _0x5e5c3a=_0x29bde7;_0x271b4b[_0x5e5c3a(0x326)]['drawWith'](_0x4dc10d,{'width':this['width'],'height':this[_0x5e5c3a(0x2bc)],'strokeWidth':_0x407b6e,'stroke':this[_0x5e5c3a(0x14f)],'evented':!0x1,'fill':this[_0x5e5c3a(0x12a)]}),this[_0x5e5c3a(0x361)]&&(_0x4dc10d['save'](),_0x4dc10d[_0x5e5c3a(0x229)](0x1,0x0,0x0,0x1,this[_0x5e5c3a(0x393)],this['_labelPosition']===_0x5e5c3a(0x29f)?0x0:-_0x3ad07c),_0xb13f21[_0x5e5c3a(0x399)](_0x4dc10d,{'text':this[_0x5e5c3a(0x372)],'color':this['_color']}),_0x4dc10d[_0x5e5c3a(0x271)]());}}var _0x16a55b=Object[_0x29bde7(0x224)],_0x1c0456=(_0x17dfd5,_0x3b593b,_0x2c916f,_0x4ef92d)=>{for(var _0x17bd27=_0x4ef92d>0x1?void 0x0:_0x4ef92d?_0x16a55b(_0x3b593b,_0x2c916f):_0x3b593b,_0x5508ef=_0x17dfd5['length']-0x1,_0x470be4;_0x5508ef>=0x0;_0x5508ef--)(_0x470be4=_0x17dfd5[_0x5508ef])&&(_0x17bd27=_0x470be4(_0x17bd27)||_0x17bd27);return _0x17bd27;},_0x423606=(_0x59ab5a,_0x15455b)=>(_0x3e2590,_0x24b57e)=>_0x15455b(_0x3e2590,_0x24b57e,_0x59ab5a);const _0x20bda2=0x1389;let _0x27259b=class extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(_0x265b11,_0x4c59e3,_0x5f28bb,_0x1896b9){const _0x5db528=_0x29bde7;super(),_0x9f87fa(this,'_cursors',new Set()),_0x9f87fa(this,_0x5db528(0x1cd),null),(this['_context']=_0x265b11,this[_0x5db528(0x101)]=_0x4c59e3,this['_collabCursorController']=_0x5f28bb,this['_themeService']=_0x1896b9,this[_0x5db528(0x34b)]());}[_0x29bde7(0x34b)](){const _0x296cb6=_0x29bde7;this[_0x296cb6(0x101)][_0x296cb6(0x103)][_0x296cb6(0x2e5)](_0x360399['takeUntil'](this['dispose$']),_0x360399[_0x296cb6(0x2f8)](_0x394cef=>{const _0x28daea=_0x296cb6;if(_0x394cef){const _0x540861=_0x394cef[_0x28daea(0x25d)];return _0x41fba3[_0x28daea(0x227)](this[_0x28daea(0x27d)][_0x28daea(0x238)](this[_0x28daea(0x1dc)][_0x28daea(0x3a8)]),this['_themeService'][_0x28daea(0x226)])[_0x28daea(0x2e5)](_0x360399[_0x28daea(0x20c)](([_0x391d4a,_0x556693])=>{const _0x3243b1=new Map();return _0x391d4a['forEach']((_0x4f3ce3,_0x23313e)=>{const _0x48fec0=_0x3fad;if(_0x4f3ce3['sheetID']===_0x540861){const _0x3c1275={..._0x4f3ce3};_0x3c1275[_0x48fec0(0x2a6)]=this['_themeService']['getColorFromTheme'](_0x4f3ce3[_0x48fec0(0x2a6)]),_0x3243b1[_0x48fec0(0x2d5)](_0x23313e,_0x3c1275);}}),{'skeleton':_0x394cef,'cursors':_0x3243b1};}));}return _0x41fba3['of']({'skeleton':null,'cursors':new Map()});}))[_0x296cb6(0x359)](({skeleton:_0x26566c,cursors:_0x43db7a})=>{const _0x4e99b0=_0x296cb6;this[_0x4e99b0(0x30b)](),_0x26566c&&this['_updateCollabCursors'](_0x26566c,_0x43db7a);}),this['_sheetSkeletonManagerService']['currentSkeleton$']['subscribe'](_0x5b1065=>{const _0x2ec879=_0x296cb6;if(_0x5b1065==null)return;const {skeleton:_0x461401}=_0x5b1065,{scene:_0x361528}=this[_0x2ec879(0x1dc)];_0x361528[_0x2ec879(0x327)]['subscribeEvent'](_0x3a09c4[_0x2ec879(0x3a6)](_0x2d783e=>{const _0x227887=_0x2ec879;var _0xa9cea9,_0x290d73;const {offsetX:_0x5b6c5a,offsetY:_0x31c953}=_0x2d783e,{x:_0x4fb5f2,y:_0x35f800}=_0x361528[_0x227887(0x337)](_0x271b4b[_0x227887(0x166)]['FromArray']([_0x5b6c5a,_0x31c953])),{scaleX:_0x424bd0,scaleY:_0x490992}=_0x361528[_0x227887(0x108)](),_0x2ee426=_0x361528[_0x227887(0x39a)](_0x271b4b['SHEET_VIEWPORT_KEY'][_0x227887(0x1e8)]),_0x5119cb=_0x361528['getVpScrollXYInfoByPosToVp'](_0x271b4b[_0x227887(0x166)][_0x227887(0x183)]([_0x4fb5f2,_0x35f800]),_0x2ee426),_0x421b25=_0x461401[_0x227887(0x230)](_0x5b6c5a,_0x31c953,_0x424bd0,_0x490992,_0x5119cb);((_0xa9cea9=this[_0x227887(0x1cd)])==null?void 0x0:_0xa9cea9[_0x227887(0x1e2)])===_0x421b25[_0x227887(0x1e2)]&&((_0x290d73=this['_lastPointer'])==null?void 0x0:_0x290d73[_0x227887(0x2ed)])===_0x421b25[_0x227887(0x2ed)]||this[_0x227887(0x2f5)][_0x227887(0x27c)](_0x1e6df1=>{_0x1e6df1['onMouseMove'](_0x421b25);});},0x64));});}[_0x29bde7(0xcf)](_0x52c013,_0x539cec){const _0x29d0e3=_0x29bde7;var _0x4295c4;const _0x5aa635=(_0x4295c4=this[_0x29d0e3(0x101)][_0x29d0e3(0x228)]())==null?void 0x0:_0x4295c4[_0x29d0e3(0x39d)];if(!_0x5aa635)return;const _0x512e8f=this[_0x29d0e3(0x2df)]();if(!_0x512e8f)return;this['_cursors'][_0x29d0e3(0x27c)](_0x1d48ae=>{const _0x3a3e24=_0x29d0e3;_0x1d48ae[_0x3a3e24(0x12b)]();});const {scene:_0x4fe874}=_0x512e8f,_0x1ce790=_0x149313(Array['from'](_0x539cec[_0x29d0e3(0x2a1)]()))[_0x29d0e3(0x20c)](_0x260674=>{const _0x4f126c=_0x29d0e3,{color:_0x3c36f4,range:_0x41cd54,name:_0x116191,selection:_0x26d2e8,sheetID:_0x410c76}=_0x260674,{startColumn:_0x79dc81,startRow:_0x2cc771,endColumn:_0x3bd07a,endRow:_0x633d6a}=_0x41cd54,_0x5da82a=_0x577dad['getCoordByCell'](_0x2cc771,_0x79dc81,_0x4fe874,_0x5aa635),_0x2cefcb=_0x577dad[_0x4f126c(0x335)](_0x633d6a,_0x3bd07a,_0x4fe874,_0x5aa635),{columnHeaderHeightAndMarginTop:_0x1ab6c6}=_0x5aa635,{startX:_0x957c82,startY:_0x4a43b6}=_0x5da82a,{endX:_0x2ee712,endY:_0x4e28a4}=_0x2cefcb,_0x1f7642=_0x2ee712-_0x957c82,_0x23698d=_0x4e28a4-_0x4a43b6,_0x3d770b={'labelPosition':_0x4a43b6-_0x1ab6c6>=_0x3ad07c?_0x4f126c(0xea):_0x4f126c(0x29f),'sheetID':_0x410c76,'range':_0x41cd54,'color':_0x3c36f4,'name':_0x116191,'selection':_0x26d2e8,'left':_0x957c82,'top':_0x4a43b6,'width':_0x1f7642,'height':_0x23698d,'evented':!0x1,'zIndex':_0x20bda2};return new _0x526d2d(_0x116191,_0x3d770b);});_0x4fe874[_0x29d0e3(0x38f)](_0x1ce790,_0x5b7afe),this[_0x29d0e3(0x2f5)]=new Set(_0x1ce790);}[_0x29bde7(0x30b)](){const _0x25825d=_0x29bde7;var _0x47796d;(_0x47796d=this['_cursors'])==null||_0x47796d[_0x25825d(0x27c)](_0x4c3464=>_0x4c3464[_0x25825d(0x19f)]());}['_getSheetObject'](){const _0x3513ab=_0x29bde7;return _0x577dad[_0x3513ab(0x120)](this[_0x3513ab(0x1dc)][_0x3513ab(0x22e)],this['_context']);}};_0x27259b=_0x1c0456([_0x423606(0x1,_0x3a09c4['Inject'](_0x577dad['SheetSkeletonManagerService'])),_0x423606(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x2763d1)),_0x423606(0x3,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x13a)]))],_0x27259b);function _0x149313(_0x468862){const _0x47f526=_0x29bde7,_0x2cae6b=new Map();return _0x468862['forEach'](_0x5e0be0=>{const _0x316ab6=_0x3fad;if(_0x2cae6b['has'](_0x5e0be0[_0x316ab6(0x18a)])){const _0x21d45d=_0x2cae6b[_0x316ab6(0x31d)](_0x5e0be0[_0x316ab6(0x18a)]);_0x21d45d[_0x316ab6(0x15b)]+=',\x20'+_0x5e0be0['name'];}else _0x2cae6b[_0x316ab6(0x2d5)](_0x5e0be0['selection'],_0x5e0be0);}),Array[_0x47f526(0xc9)](_0x2cae6b[_0x47f526(0x2a1)]());}var _0x5148f1=Object[_0x29bde7(0x224)],_0xac81cc=(_0x38838a,_0x1dbaa4,_0x17d60a,_0x4e196b)=>{for(var _0x2476e2=_0x4e196b>0x1?void 0x0:_0x4e196b?_0x5148f1(_0x1dbaa4,_0x17d60a):_0x1dbaa4,_0x4d6155=_0x38838a['length']-0x1,_0x1a8819;_0x4d6155>=0x0;_0x4d6155--)(_0x1a8819=_0x38838a[_0x4d6155])&&(_0x2476e2=_0x1a8819(_0x2476e2)||_0x2476e2);return _0x2476e2;},_0x46b179=(_0x2a1f91,_0xc1fae1)=>(_0x4c3511,_0xe4b076)=>_0xc1fae1(_0x4c3511,_0xe4b076,_0x2a1f91);let _0x2ee8d7=class extends _0x3a09c4[_0x29bde7(0x191)]{constructor(_0x4decdb,_0x165174,_0x3268f4,_0x53fda2,_0x566582,_0x179dec){const _0x3773ac=_0x29bde7;super(),this[_0x3773ac(0x265)]=_0x4decdb,this[_0x3773ac(0x2c7)]=_0x165174,this[_0x3773ac(0x180)]=_0x3268f4,this[_0x3773ac(0x388)]=_0x53fda2,this[_0x3773ac(0x1d6)]=_0x566582,this[_0x3773ac(0x142)]=_0x179dec,this['_setupBeforeClosingHandler'](),this[_0x3773ac(0x23f)]();}[_0x29bde7(0x133)](){const _0xecd386=_0x29bde7;this['disposeWithMe'](this[_0xecd386(0x265)]['registerBeforeClose'](()=>{const _0x212f30=_0xecd386;if(this[_0x212f30(0x2c7)][_0x212f30(0x36f)][_0x212f30(0xe4)])return this[_0x212f30(0x142)]['t'](_0x212f30(0x1c2));}));}['_initEvent'](){const _0x230e6d=_0x29bde7;this[_0x230e6d(0x28e)](this[_0x230e6d(0x180)][_0x230e6d(0xe3)][_0x230e6d(0x359)](_0x1a3f55=>{const _0x20a5c6=_0x230e6d;_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)]['OTHER_CLIENT_EDITING']&&this[_0x20a5c6(0x388)]['show']({'type':_0x2a2db6['MessageType'][_0x20a5c6(0x314)],'content':this[_0x20a5c6(0x142)]['t'](_0x20a5c6(0xc3))}),_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)][_0x20a5c6(0x107)]&&this[_0x20a5c6(0x388)][_0x20a5c6(0x16f)]({'type':_0x2a2db6[_0x20a5c6(0x34a)][_0x20a5c6(0x314)],'content':this[_0x20a5c6(0x142)]['t'](_0x20a5c6(0x30f))}),_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)]['PERMISSION_DENIED']&&this[_0x20a5c6(0x1d6)][_0x20a5c6(0x16f)]({'title':this[_0x20a5c6(0x142)]['t'](_0x20a5c6(0xe6)),'content':this[_0x20a5c6(0x142)]['t']('permission.content'),'type':_0x20a5c6(0x34f),'duration':0x0}),_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)][_0x20a5c6(0x37a)]&&this[_0x20a5c6(0x388)]['show']({'type':_0x2a2db6[_0x20a5c6(0x34a)]['Error'],'content':this['_localeService']['t'](_0x20a5c6(0x30f))+'('+_0x1a3f55[_0x20a5c6(0x215)]+')'}),_0x1a3f55['id']===_0x5e7c26['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x20a5c6(0x388)][_0x20a5c6(0x16f)]({'type':_0x2a2db6['MessageType'][_0x20a5c6(0x314)],'content':this[_0x20a5c6(0x142)]['t'](_0x1a3f55['data']||'')}),_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)]['SOCKET_FAILED_RETRY']&&this[_0x20a5c6(0x388)][_0x20a5c6(0x16f)]({'type':_0x2a2db6[_0x20a5c6(0x34a)]['Warning'],'content':this[_0x20a5c6(0x142)]['t']('session.will-retry')}),_0x1a3f55['id']===_0x5e7c26['CollaborationUIEventId'][_0x20a5c6(0x20e)]&&this[_0x20a5c6(0x388)][_0x20a5c6(0x16f)]({'type':_0x2a2db6[_0x20a5c6(0x34a)]['Error'],'content':this[_0x20a5c6(0x142)]['t']('session.connection-failed')}),_0x1a3f55['id']===_0x5e7c26[_0x20a5c6(0x284)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x20a5c6(0x388)]['show']({'type':_0x2a2db6['MessageType'][_0x20a5c6(0x29c)],'content':this[_0x20a5c6(0x142)]['t'](_0x20a5c6(0x334))});}));}};_0x2ee8d7=_0xac81cc([_0x46b179(0x0,_0x592aaf['IBeforeCloseService']),_0x46b179(0x1,_0x5e7c26[_0x29bde7(0x355)]),_0x46b179(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x5e7c26[_0x29bde7(0x18d)])),_0x46b179(0x3,_0x592aaf[_0x29bde7(0x236)]),_0x46b179(0x4,_0x592aaf['INotificationService']),_0x46b179(0x5,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x36c)]))],_0x2ee8d7);var _0x19fc27=Object['getOwnPropertyDescriptor'],_0x21ee04=(_0x4df1a1,_0x31b6a8,_0x464c23,_0x3d4d72)=>{for(var _0x4117c7=_0x3d4d72>0x1?void 0x0:_0x3d4d72?_0x19fc27(_0x31b6a8,_0x464c23):_0x31b6a8,_0x189eca=_0x4df1a1['length']-0x1,_0x323889;_0x189eca>=0x0;_0x189eca--)(_0x323889=_0x4df1a1[_0x189eca])&&(_0x4117c7=_0x323889(_0x4117c7)||_0x4117c7);return _0x4117c7;},_0x3f2815=(_0x10580b,_0x588e8c)=>(_0x3f81ea,_0x15eedc)=>_0x588e8c(_0x3f81ea,_0x15eedc,_0x10580b);let _0x32a527=class extends _0x3a09c4['Disposable']{constructor(_0x46a485,_0x3416b6,_0x336e1d,_0x121a3b){const _0x4ccb85=_0x29bde7;super(),_0x9f87fa(this,'_memberID'),(this['_injector']=_0x46a485,this['_httpService']=_0x3416b6,this[_0x4ccb85(0x28c)]=_0x336e1d,this[_0x4ccb85(0x222)]=_0x121a3b,this[_0x4ccb85(0x34b)]());}[_0x29bde7(0x34b)](){const _0x34cdb1=_0x29bde7;this[_0x34cdb1(0x391)](),this[_0x34cdb1(0xf2)](),this['_monkeyPatchLogService'](),this[_0x34cdb1(0x390)]();}[_0x29bde7(0x390)](){const _0x40be7c=_0x29bde7;this[_0x40be7c(0x28e)](this['_collaborationSessionService'][_0x40be7c(0x392)][_0x40be7c(0x359)](_0x29cf5b=>{const _0x300d7f=_0x40be7c;this['_memberID']=_0x29cf5b==null?void 0x0:_0x29cf5b[_0x300d7f(0x105)];}));}['_initWindowErrorListener'](){const _0x269f6d=_0x29bde7,_0x2dfd29=_0x52308f=>{const _0xc12670=_0x3fad;var _0x4b30c7;this['_uploadLog'](_0xc12670(0x34f),_0xc12670(0x24f)+_0x52308f[_0xc12670(0x127)]+_0xc12670(0x2d3)+_0x52308f[_0xc12670(0x16e)]+':'+_0x52308f[_0xc12670(0x1dd)]+':'+_0x52308f[_0xc12670(0x123)]+'\x0a'+(((_0x4b30c7=_0x52308f[_0xc12670(0x34f)])==null?void 0x0:_0x4b30c7[_0xc12670(0x27f)])||''));};window[_0x269f6d(0x23e)]('error',_0x2dfd29),this['disposeWithMe'](()=>{const _0x5a6530=_0x269f6d;window[_0x5a6530(0x21c)]('error',_0x2dfd29);});}[_0x29bde7(0xf2)](){const _0x421304=_0x29bde7,_0x5037d3=_0x4de7a7=>{const _0x248ede=_0x3fad;this[_0x248ede(0x27b)](_0x248ede(0x34f),'[Unhandled\x20Rejection]:\x20'+_0x4de7a7[_0x248ede(0x16b)]);};window[_0x421304(0x23e)](_0x421304(0x118),_0x5037d3),this[_0x421304(0x28e)](()=>{const _0x5d3cd5=_0x421304;window[_0x5d3cd5(0x21c)](_0x5d3cd5(0x118),_0x5037d3);});}[_0x29bde7(0x291)](){const _0x452b58=_0x29bde7,_0x306448=this[_0x452b58(0x28c)]['error']['bind'](this[_0x452b58(0x28c)]);this['_logService']['error']=(..._0x5659a6)=>{const _0x558c69=_0x452b58,_0x2e2201=_0x5659a6[_0x558c69(0x20c)](_0x4d67d1=>_0x4d67d1 instanceof Error?_0x4d67d1[_0x558c69(0x127)]+'\x0a'+_0x4d67d1['stack']:String(_0x4d67d1))['join']('\x20');this[_0x558c69(0x27b)](_0x558c69(0x34f),_0x558c69(0x33d)+_0x2e2201),_0x306448(..._0x5659a6);},this[_0x452b58(0x28e)](()=>{this['_logService']['error']=_0x306448;});}['_uploadLog'](_0x2ba37b,_0x3ea335){const _0x15b994=_0x29bde7;try{const _0x3a9d68={'userId':this['_memberID'],'logLabel':_0x2ba37b,'content':_0x3ea335};this['_httpService'][_0x15b994(0x279)](_0x15b994(0x11a),{'body':_0x3a9d68})[_0x15b994(0x2a5)](()=>{});}catch{}}};_0x32a527=_0x21ee04([_0x3f2815(0x0,_0x3a09c4['Inject'](_0x3a09c4[_0x29bde7(0x304)])),_0x3f2815(0x1,_0x3a09c4[_0x29bde7(0xdb)](_0x20de86[_0x29bde7(0x258)])),_0x3f2815(0x2,_0x3a09c4[_0x29bde7(0x1da)]),_0x3f2815(0x3,_0x3a09c4['Inject'](_0x5e7c26['CollaborationSessionService']))],_0x32a527);const _0x2d74b1=_0x29bde7(0x2e1),_0x2c5eff={};var _0x3cba64=Object[_0x29bde7(0x224)],_0x51b25a=(_0x4a6cd2,_0x490862,_0x3c0353,_0x496da8)=>{const _0x484a22=_0x29bde7;for(var _0x9aee0e=_0x496da8>0x1?void 0x0:_0x496da8?_0x3cba64(_0x490862,_0x3c0353):_0x490862,_0xa5ba32=_0x4a6cd2[_0x484a22(0x257)]-0x1,_0x590c3c;_0xa5ba32>=0x0;_0xa5ba32--)(_0x590c3c=_0x4a6cd2[_0xa5ba32])&&(_0x9aee0e=_0x590c3c(_0x9aee0e)||_0x9aee0e);return _0x9aee0e;},_0x18d7b0=(_0x4d44a1,_0x446d6f)=>(_0x5eb091,_0x440b52)=>_0x446d6f(_0x5eb091,_0x440b52,_0x4d44a1);let _0x5e0130=class{constructor(_0x46ac11,_0x49180f){const _0x147723=_0x29bde7;this[_0x147723(0x289)]=_0x46ac11,this[_0x147723(0x146)]=_0x49180f;}[_0x29bde7(0x346)](_0x31be42){const _0x1fd5f4=_0x29bde7;this[_0x1fd5f4(0x25c)](_0x31be42),this[_0x1fd5f4(0x2b9)](_0x31be42);}[_0x29bde7(0x145)](_0x363631){const _0x29cf6e=_0x29bde7,{unitID:_0x527aae}=_0x363631,_0x355805=this[_0x29cf6e(0x146)][_0x29cf6e(0x11f)](_0x527aae)[_0x29cf6e(0x240)](_0x9d9b14[_0x29cf6e(0x129)]),{redoCache:_0x4a4ca1}=_0x355805[_0x29cf6e(0x344)]();if(_0x4a4ca1['length']===0x0)return _0x363631;let _0x539830=_0x3a09c4[_0x29cf6e(0x379)]['deepClone'](_0x363631[_0x29cf6e(0xd6)][0x0]);for(let _0xf484e=0x0;_0xf484e<_0x4a4ca1[_0x29cf6e(0x257)];_0xf484e++){const _0x393f9d={'id':_0x29cf6e(0x2cb),'params':{..._0x4a4ca1[_0xf484e]}},_0x116539=this[_0x29cf6e(0x289)][_0x29cf6e(0x1f8)](_0x539830,_0x393f9d,!0x1);if(_0x5e9418[_0x29cf6e(0x273)](_0x116539))throw _0x116539['error'];_0x539830=_0x116539[_0x29cf6e(0x39c)];}return{..._0x3a09c4[_0x29cf6e(0x379)][_0x29cf6e(0x329)](_0x363631),'mutations':[_0x539830]};}[_0x29bde7(0x25c)](_0x1ad039){const _0x3fb531=_0x29bde7,{unitID:_0x8bc2f8}=_0x1ad039,_0x3a4260=this[_0x3fb531(0x146)][_0x3fb531(0x11f)](_0x8bc2f8)['with'](_0x9d9b14['DocIMEInputManagerService']),{undoCache:_0x4b405c,redoCache:_0x4e4199}=_0x3a4260[_0x3fb531(0x344)]();if(_0x4b405c['length']===0x0||_0x4e4199[_0x3fb531(0x257)]===0x0)return;const _0xc9069f=[],_0x34bc50=[];let _0x102345=_0x3a09c4[_0x3fb531(0x379)][_0x3fb531(0x329)](_0x1ad039['mutations'][0x0]),_0x16e30d=_0x3a09c4[_0x3fb531(0x379)][_0x3fb531(0x329)](_0x1ad039[_0x3fb531(0xd6)][0x0]);for(let _0x56d1cb=_0x4b405c[_0x3fb531(0x257)]-0x1;_0x56d1cb>=0x0;_0x56d1cb--){const _0x45d03e={'id':_0x3fb531(0x2cb),'params':{..._0x4b405c[_0x56d1cb]}},_0x4b4bf9={'id':_0x3fb531(0x2cb),'params':{..._0x4e4199[_0x56d1cb]}},_0x304759=this[_0x3fb531(0x289)][_0x3fb531(0x1f8)](_0x102345,_0x45d03e,!0x1),_0x2ab12b=this[_0x3fb531(0x289)][_0x3fb531(0x1f8)](_0x16e30d,_0x4b4bf9,!0x1);if(_0x5e9418[_0x3fb531(0x273)](_0x304759))throw _0x304759[_0x3fb531(0x34f)];if(_0x5e9418[_0x3fb531(0x273)](_0x2ab12b))throw _0x2ab12b['error'];_0xc9069f[_0x3fb531(0x178)](_0x304759[_0x3fb531(0x2e4)]['params']),_0x34bc50[_0x3fb531(0x178)](_0x2ab12b['m2Prime'][_0x3fb531(0x32e)]),_0x102345=_0x304759[_0x3fb531(0x39c)],_0x16e30d=_0x2ab12b[_0x3fb531(0x39c)];}_0x3a4260[_0x3fb531(0x260)]({'undoCache':_0xc9069f,'redoCache':_0x34bc50});}[_0x29bde7(0x2b9)](_0x361b1a){const _0x4e253a=_0x29bde7,{unitID:_0x3fa9eb}=_0x361b1a,_0x4ad21b=this[_0x4e253a(0x146)]['getRenderById'](_0x3fa9eb)[_0x4e253a(0x240)](_0x9d9b14['DocIMEInputManagerService']),_0x57afc8=_0x4ad21b['getActiveRange']();if(_0x57afc8==null)return;const _0x19201b=[{'id':_0x4e253a(0x2cb),'params':{'unitId':_0x361b1a[_0x4e253a(0xee)],'actions':null,'textRanges':[_0x57afc8]}}],_0x596121=this['_transformService'][_0x4e253a(0xf8)](_0x361b1a,_0x19201b);if(!_0x5e9418['isTransformMutationsWithChangesetSuccess'](_0x596121))throw _0x596121[_0x4e253a(0x34f)];const _0x51de96=_0x596121[_0x4e253a(0x2e4)][0x0][_0x4e253a(0x32e)][_0x4e253a(0x1e4)];Array[_0x4e253a(0x106)](_0x51de96)&&_0x51de96[_0x4e253a(0x257)]&&_0x4ad21b['setActiveRange'](_0x51de96[0x0]);}};_0x5e0130=_0x51b25a([_0x18d7b0(0x0,_0x5e9418['ITransformService']),_0x18d7b0(0x1,_0x271b4b[_0x29bde7(0xde)])],_0x5e0130);var _0x30175c=Object[_0x29bde7(0x224)],_0xe6434d=(_0x471187,_0x2c77be,_0x5f1d88,_0x5642e3)=>{const _0x4ca838=_0x29bde7;for(var _0x20d0c4=_0x5642e3>0x1?void 0x0:_0x5642e3?_0x30175c(_0x2c77be,_0x5f1d88):_0x2c77be,_0x2c1fa4=_0x471187[_0x4ca838(0x257)]-0x1,_0x446dc4;_0x2c1fa4>=0x0;_0x2c1fa4--)(_0x446dc4=_0x471187[_0x2c1fa4])&&(_0x20d0c4=_0x446dc4(_0x20d0c4)||_0x20d0c4);return _0x20d0c4;},_0x21662e=(_0x445231,_0x404cc8)=>(_0x19d142,_0x2841f1)=>_0x404cc8(_0x19d142,_0x2841f1,_0x445231);let _0xc132fe=class{constructor(_0x4d1833,_0xb8780,_0x1a7f94){const _0x3fd455=_0x29bde7;this[_0x3fd455(0x247)]=_0x4d1833,this[_0x3fd455(0x289)]=_0xb8780,this['_docStateChangeManagerService']=_0x1a7f94;}[_0x29bde7(0x266)](_0x951add){this['_transformHistoryAndStateStack'](_0x951add);}[_0x29bde7(0x145)](_0x1fe947){const _0x1463be=_0x29bde7,{unitID:_0x452286}=_0x1fe947,{collaboration:_0x1e5729}=this['_docStateChangeManagerService'][_0x1463be(0x2f7)](_0x452286);if(_0x1e5729[_0x1463be(0x257)]===0x0)return _0x1fe947;let _0x4d3727=_0x3a09c4[_0x1463be(0x379)]['deepClone'](_0x1fe947[_0x1463be(0xd6)][0x0]);for(let _0x15588b=0x0;_0x15588b<_0x1e5729[_0x1463be(0x257)];_0x15588b++){const _0x53120f={'id':_0x1463be(0x2cb),'params':{'unitId':_0x1e5729[_0x15588b][_0x1463be(0x3a8)],..._0x1e5729[_0x15588b]['redoState']}},_0x1a9230=this[_0x1463be(0x289)][_0x1463be(0x1f8)](_0x4d3727,_0x53120f,!0x1);if(_0x5e9418[_0x1463be(0x273)](_0x1a9230))throw _0x1a9230[_0x1463be(0x34f)];_0x4d3727=_0x1a9230['m1Prime'];}return{..._0x3a09c4[_0x1463be(0x379)][_0x1463be(0x329)](_0x1fe947),'mutations':[_0x4d3727]};}[_0x29bde7(0x36d)](_0x36608a){const _0xdb503b=_0x29bde7,{unitID:_0x1bbe6f}=_0x36608a,{history:_0x181d1e,collaboration:_0x1fe449}=this[_0xdb503b(0x1c3)]['getStateCache'](_0x1bbe6f);if(_0x181d1e[_0xdb503b(0x257)]===0x0&&_0x1fe449[_0xdb503b(0x257)]===0x0)return;const _0x5df06a=[],_0x48bec6=[];let _0x2a1738=_0x3a09c4[_0xdb503b(0x379)][_0xdb503b(0x329)](_0x36608a[_0xdb503b(0xd6)][0x0]),_0x46eacb=_0x3a09c4[_0xdb503b(0x379)][_0xdb503b(0x329)](_0x36608a[_0xdb503b(0xd6)][0x0]);for(let _0x1a6a85=_0x181d1e[_0xdb503b(0x257)]-0x1;_0x1a6a85>=0x0;_0x1a6a85--){const _0x312f8e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x181d1e[_0x1a6a85][_0xdb503b(0x3a8)],..._0x181d1e[_0x1a6a85][_0xdb503b(0xcd)]}},_0x1a4215={'id':_0xdb503b(0x2cb),'params':{'unitId':_0x181d1e[_0x1a6a85]['unitId'],..._0x181d1e[_0x1a6a85][_0xdb503b(0x2a7)]}},_0x212c06=this['_transformService']['transformMutation'](_0x2a1738,_0x312f8e,!0x1),_0x121780=this['_transformService'][_0xdb503b(0x1f8)](_0x46eacb,_0x1a4215,!0x1);if(_0x5e9418['isTransformMutationFailure'](_0x212c06))throw _0x212c06[_0xdb503b(0x34f)];if(_0x5e9418[_0xdb503b(0x273)](_0x121780))throw _0x121780[_0xdb503b(0x34f)];_0x5df06a['unshift']({..._0x181d1e[_0x1a6a85],'undoState':_0x212c06[_0xdb503b(0x2e4)][_0xdb503b(0x32e)],'redoState':_0x121780['m2Prime'][_0xdb503b(0x32e)]}),_0x2a1738=_0x212c06[_0xdb503b(0x39c)],_0x46eacb=_0x121780[_0xdb503b(0x39c)];}_0x2a1738=_0x3a09c4[_0xdb503b(0x379)][_0xdb503b(0x329)](_0x36608a[_0xdb503b(0xd6)][0x0]),_0x46eacb=_0x3a09c4[_0xdb503b(0x379)][_0xdb503b(0x329)](_0x36608a['mutations'][0x0]);for(let _0x3eecd4=_0x1fe449[_0xdb503b(0x257)]-0x1;_0x3eecd4>=0x0;_0x3eecd4--){const _0x1abe45={'id':_0xdb503b(0x2cb),'params':{'unitId':_0x1fe449[_0x3eecd4][_0xdb503b(0x3a8)],..._0x1fe449[_0x3eecd4][_0xdb503b(0xcd)]}},_0x5fecfe={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1fe449[_0x3eecd4][_0xdb503b(0x3a8)],..._0x1fe449[_0x3eecd4][_0xdb503b(0x2a7)]}},_0x473a58=this[_0xdb503b(0x289)][_0xdb503b(0x1f8)](_0x2a1738,_0x1abe45,!0x1),_0xf5921a=this[_0xdb503b(0x289)][_0xdb503b(0x1f8)](_0x46eacb,_0x5fecfe,!0x1);if(_0x5e9418[_0xdb503b(0x273)](_0x473a58))throw _0x473a58[_0xdb503b(0x34f)];if(_0x5e9418[_0xdb503b(0x273)](_0xf5921a))throw _0xf5921a[_0xdb503b(0x34f)];_0x48bec6[_0xdb503b(0x178)]({..._0x1fe449[_0x3eecd4],'undoState':_0x473a58[_0xdb503b(0x2e4)][_0xdb503b(0x32e)],'redoState':_0xf5921a[_0xdb503b(0x2e4)]['params']}),_0x2a1738=_0x473a58['m1Prime'],_0x46eacb=_0xf5921a[_0xdb503b(0x39c)];}this[_0xdb503b(0x1c3)][_0xdb503b(0x112)](_0x1bbe6f,{'history':_0x5df06a,'collaboration':_0x48bec6});}};_0xc132fe=_0xe6434d([_0x21662e(0x0,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x304)])),_0x21662e(0x1,_0x5e9418[_0x29bde7(0x237)]),_0x21662e(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x9d9b14['DocStateChangeManagerService']))],_0xc132fe);var _0x4e3357=Object['getOwnPropertyDescriptor'],_0x488474=(_0xdaf1e1,_0x1c8191,_0x4f8528,_0x440258)=>{const _0xea4b78=_0x29bde7;for(var _0x5aeca5=_0x440258>0x1?void 0x0:_0x440258?_0x4e3357(_0x1c8191,_0x4f8528):_0x1c8191,_0x1a17d1=_0xdaf1e1[_0xea4b78(0x257)]-0x1,_0x546ccf;_0x1a17d1>=0x0;_0x1a17d1--)(_0x546ccf=_0xdaf1e1[_0x1a17d1])&&(_0x5aeca5=_0x546ccf(_0x5aeca5)||_0x5aeca5);return _0x5aeca5;},_0x375f2d=(_0x34f72a,_0x1c8754)=>(_0x43b805,_0x27c4ee)=>_0x1c8754(_0x43b805,_0x27c4ee,_0x34f72a);let _0x3628e2=class{constructor(_0x206071,_0x80ed11){const _0x202272=_0x29bde7;this[_0x202272(0x247)]=_0x206071,this[_0x202272(0x289)]=_0x80ed11;}['transformSelections'](_0x4f2465){const _0x92e285=_0x29bde7;var _0x2daa7c;const _0xce762d=this[_0x92e285(0x247)]['get'](_0x4995f4[_0x92e285(0x1fa)]),_0x530f86=(_0x2daa7c=_0xce762d['getDocRanges']())!=null?_0x2daa7c:[];if(_0x530f86[_0x92e285(0x257)]===0x0)return;const _0x20c844=_0x4f2465['unitID'],_0x340d69=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x20c844,'actions':null,'textRanges':_0x530f86}}],_0x5c9d93=this['_transformService'][_0x92e285(0xf8)](_0x4f2465,_0x340d69);if(!_0x5e9418[_0x92e285(0x328)](_0x5c9d93))throw _0x5c9d93['error'];const _0x3e528e=_0x5c9d93[_0x92e285(0x2e4)][0x0]['params'][_0x92e285(0x1e4)];Array['isArray'](_0x3e528e)&&_0x3e528e['length']&&_0xce762d[_0x92e285(0x12f)](_0x3e528e,{'unitId':_0x20c844,'subUnitId':_0x20c844},!0x1);}};_0x3628e2=_0x488474([_0x375f2d(0x0,_0x3a09c4['Inject'](_0x3a09c4[_0x29bde7(0x304)])),_0x375f2d(0x1,_0x5e9418[_0x29bde7(0x237)])],_0x3628e2);var _0x405e8b=Object[_0x29bde7(0x224)],_0x77179d=(_0xf3d97,_0x22e5c6,_0x5bb703,_0x38cc92)=>{const _0x1bf41f=_0x29bde7;for(var _0x208496=_0x38cc92>0x1?void 0x0:_0x38cc92?_0x405e8b(_0x22e5c6,_0x5bb703):_0x22e5c6,_0x47f74f=_0xf3d97[_0x1bf41f(0x257)]-0x1,_0x1d59f6;_0x47f74f>=0x0;_0x47f74f--)(_0x1d59f6=_0xf3d97[_0x47f74f])&&(_0x208496=_0x1d59f6(_0x208496)||_0x208496);return _0x208496;},_0x4f961f=(_0x3c3af0,_0x1eec20)=>(_0x15cd8e,_0x3c6593)=>_0x1eec20(_0x15cd8e,_0x3c6593,_0x3c3af0);let _0x30a1d6=class extends _0x3a09c4[_0x29bde7(0x191)]{constructor(_0x5928fd,_0x45ed03,_0x4fcb60,_0x90e601,_0xf1aa05,_0x1ac937,_0x53f9db,_0x104782){const _0x5470a5=_0x29bde7;super(),_0x9f87fa(this,_0x5470a5(0x2d7),new _0x41fba3[(_0x5470a5(0x31e))](_0x5e7c26[_0x5470a5(0x10f)][_0x5470a5(0x305)])),(this[_0x5470a5(0x1c3)]=_0x5928fd,this[_0x5470a5(0x364)]=_0x45ed03,this[_0x5470a5(0x371)]=_0x4fcb60,this['_docTransformStateCacheService']=_0x90e601,this['_docTransformSelectionsService']=_0xf1aa05,this[_0x5470a5(0x333)]=_0x1ac937,this[_0x5470a5(0x388)]=_0x53f9db,this[_0x5470a5(0x142)]=_0x104782,this[_0x5470a5(0x164)]());}[_0x29bde7(0x164)](){const _0x57b943=_0x29bde7;this[_0x57b943(0x28e)](this['_collaborationController'][_0x57b943(0x29e)][_0x57b943(0x359)](_0x259004=>{const _0x6a0de=_0x57b943,_0x324414=this['_docStateChangeManagerService']['docStateChange$'][_0x6a0de(0x359)](_0x976e3c=>{const _0x28eb6b=_0x6a0de;if(_0x976e3c==null)return;const {unitId:_0xb11880,redoState:_0x36001e,commandId:_0x37232c}=_0x976e3c;if(_0xb11880!==_0x259004[_0x28eb6b(0xee)])return;const _0x4af2ba={'id':_0x37232c,'type':_0x3a09c4['CommandType'][_0x28eb6b(0x171)],'params':{'unitId':_0xb11880,'actions':_0x36001e[_0x28eb6b(0x1f2)],'textRanges':null}};_0x259004[_0x28eb6b(0x205)](_0x4af2ba);});if(_0x259004[_0x6a0de(0x28e)](_0x324414),_0x259004 instanceof _0x5e7c26[_0x6a0de(0xdd)]){const _0xc989bf={'onTransformIME':_0x3f3e83=>this[_0x6a0de(0x371)]['transformIMECache'](_0x3f3e83),'onTransformState':_0x441681=>this[_0x6a0de(0x26b)][_0x6a0de(0x266)](_0x441681),'onTransformSelections':_0x4aca1c=>this[_0x6a0de(0x1d3)][_0x6a0de(0x3a4)](_0x4aca1c),'onSyncEditingCollabCursor':_0x447912=>this[_0x6a0de(0x333)][_0x6a0de(0x17b)](_0x447912),'onTransformRemoteChangesetByIMECache':_0x22098b=>this['_docTransformIMECacheService'][_0x6a0de(0x145)](_0x22098b),'onTransformRemoteChangesetByStateCache':_0x44e168=>this['_docTransformStateCacheService'][_0x6a0de(0x145)](_0x44e168)};_0x259004['addHandlerCallback'](_0xc989bf);}}));}};_0x30a1d6=_0x77179d([_0x4f961f(0x0,_0x3a09c4[_0x29bde7(0xdb)](_0x9d9b14[_0x29bde7(0x2dd)])),_0x4f961f(0x1,_0x3a09c4['Inject'](_0x5e7c26[_0x29bde7(0x1aa)])),_0x4f961f(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x5e0130)),_0x4f961f(0x3,_0x3a09c4[_0x29bde7(0xdb)](_0xc132fe)),_0x4f961f(0x4,_0x3a09c4[_0x29bde7(0xdb)](_0x3628e2)),_0x4f961f(0x5,_0x3a09c4[_0x29bde7(0xdb)](_0x3d295c)),_0x4f961f(0x6,_0x592aaf[_0x29bde7(0x236)]),_0x4f961f(0x7,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4['LocaleService']))],_0x30a1d6);var _0x2b04bc=(_0x2abc76=>(_0x2abc76[_0x2abc76[_0x29bde7(0x37c)]=0x0]=_0x29bde7(0x37c),_0x2abc76[_0x2abc76['OK']=0x1]='OK',_0x2abc76[_0x2abc76[_0x29bde7(0x22d)]=0x2]='INTERNAL_ERROR',_0x2abc76[_0x2abc76[_0x29bde7(0x1fd)]=0x3]='PERMISSION_DENIED',_0x2abc76[_0x2abc76[_0x29bde7(0x1ff)]=0x4]=_0x29bde7(0x1ff),_0x2abc76[_0x2abc76[_0x29bde7(0x225)]=0x5]=_0x29bde7(0x225),_0x2abc76[_0x2abc76[_0x29bde7(0x34e)]=0x6]=_0x29bde7(0x34e),_0x2abc76[_0x2abc76[_0x29bde7(0x17d)]=0x7]=_0x29bde7(0x17d),_0x2abc76[_0x2abc76[_0x29bde7(0x12e)]=0x8]='TOO_MANY_REQUESTS',_0x2abc76[_0x2abc76['COMPLETION_FINISHED']=0x9]=_0x29bde7(0x136),_0x2abc76[_0x2abc76[_0x29bde7(0x23d)]=0xa]=_0x29bde7(0x23d),_0x2abc76[_0x2abc76[_0x29bde7(0x102)]=0xb]=_0x29bde7(0x102),_0x2abc76[_0x2abc76['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x29bde7(0x365),_0x2abc76[_0x2abc76[_0x29bde7(0x2fc)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x2abc76[_0x2abc76[_0x29bde7(0x38e)]=0xe]=_0x29bde7(0x38e),_0x2abc76[_0x2abc76[_0x29bde7(0x10d)]=0xf]=_0x29bde7(0x10d),_0x2abc76[_0x2abc76[_0x29bde7(0x1b1)]=0x10]=_0x29bde7(0x1b1),_0x2abc76[_0x2abc76[_0x29bde7(0x302)]=0x64]=_0x29bde7(0x302),_0x2abc76[_0x2abc76['ERROR_AGAIN']=0x65]=_0x29bde7(0x21a),_0x2abc76[_0x2abc76[_0x29bde7(0x262)]=0xc9]=_0x29bde7(0x262),_0x2abc76[_0x2abc76[_0x29bde7(0x1e7)]=0xca]=_0x29bde7(0x1e7),_0x2abc76[_0x2abc76[_0x29bde7(0x13e)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2abc76[_0x2abc76[_0x29bde7(0x354)]=0x1771]=_0x29bde7(0x354),_0x2abc76[_0x2abc76[_0x29bde7(0x2e2)]=0x1772]=_0x29bde7(0x2e2),_0x2abc76[_0x2abc76[_0x29bde7(0x297)]=0x1773]=_0x29bde7(0x297),_0x2abc76[_0x2abc76['APPLY_REJECT']=0x1b59]=_0x29bde7(0x18c),_0x2abc76[_0x2abc76[_0x29bde7(0xf5)]=0x1b5a]=_0x29bde7(0xf5),_0x2abc76[_0x2abc76['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x29bde7(0xfd),_0x2abc76[_0x2abc76[_0x29bde7(0x375)]=0x1b5c]=_0x29bde7(0x375),_0x2abc76[_0x2abc76[_0x29bde7(0x2bb)]=0x1b5d]=_0x29bde7(0x2bb),_0x2abc76[_0x2abc76[_0x29bde7(0x300)]=0x1f41]=_0x29bde7(0x300),_0x2abc76[_0x2abc76[_0x29bde7(0x10a)]=0x2329]=_0x29bde7(0x10a),_0x2abc76[_0x2abc76[_0x29bde7(0x115)]=0x232a]=_0x29bde7(0x115),_0x2abc76[_0x2abc76[_0x29bde7(0x331)]=0x232b]=_0x29bde7(0x331),_0x2abc76[_0x2abc76[_0x29bde7(0x2d2)]=0x232c]=_0x29bde7(0x2d2),_0x2abc76[_0x2abc76[_0x29bde7(0x2eb)]=0x232d]=_0x29bde7(0x2eb),_0x2abc76[_0x2abc76[_0x29bde7(0x188)]=0x2711]=_0x29bde7(0x188),_0x2abc76[_0x2abc76['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x29bde7(0x244),_0x2abc76[_0x2abc76[_0x29bde7(0x22b)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2abc76[_0x2abc76['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x29bde7(0x2d0),_0x2abc76[_0x2abc76[_0x29bde7(0x1f9)]=0x271a]=_0x29bde7(0x1f9),_0x2abc76[_0x2abc76[_0x29bde7(0x282)]=0x271b]=_0x29bde7(0x282),_0x2abc76[_0x2abc76[_0x29bde7(0x290)]=0x271c]=_0x29bde7(0x290),_0x2abc76[_0x2abc76[_0x29bde7(0x280)]=0x271d]=_0x29bde7(0x280),_0x2abc76[_0x2abc76[_0x29bde7(0x2c2)]=0x271e]=_0x29bde7(0x2c2),_0x2abc76[_0x2abc76[_0x29bde7(0xe9)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x2abc76[_0x2abc76[_0x29bde7(0x2e6)]=0x2720]=_0x29bde7(0x2e6),_0x2abc76[_0x2abc76[_0x29bde7(0x350)]=0x2af9]=_0x29bde7(0x350),_0x2abc76[_0x2abc76['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x29bde7(0x25a),_0x2abc76[_0x2abc76[_0x29bde7(0x169)]=0x2ee2]=_0x29bde7(0x169),_0x2abc76[_0x2abc76[_0x29bde7(0x2a9)]=0x2ee3]=_0x29bde7(0x2a9),_0x2abc76[_0x2abc76['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x2abc76[_0x2abc76['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x29bde7(0x202),_0x2abc76[_0x2abc76[_0x29bde7(0x176)]=0x32c9]=_0x29bde7(0x176),_0x2abc76[_0x2abc76[_0x29bde7(0x204)]=0x32ca]=_0x29bde7(0x204),_0x2abc76[_0x2abc76[_0x29bde7(0x134)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2abc76[_0x2abc76[_0x29bde7(0x144)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x2abc76[_0x2abc76[_0x29bde7(0x263)]=0x36b2]=_0x29bde7(0x263),_0x2abc76[_0x2abc76[_0x29bde7(0x26c)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x2abc76[_0x2abc76[_0x29bde7(0x150)]=0x36b4]=_0x29bde7(0x150),_0x2abc76[_0x2abc76[_0x29bde7(0x2a4)]=0x36b5]=_0x29bde7(0x2a4),_0x2abc76[_0x2abc76[_0x29bde7(0x1ba)]=0x36b6]=_0x29bde7(0x1ba),_0x2abc76[_0x2abc76[_0x29bde7(0x162)]=0x36b7]=_0x29bde7(0x162),_0x2abc76[_0x2abc76[_0x29bde7(0x1bd)]=0x36b8]=_0x29bde7(0x1bd),_0x2abc76[_0x2abc76[_0x29bde7(0x19a)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x2abc76[_0x2abc76[_0x29bde7(0x179)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x2abc76[_0x2abc76[_0x29bde7(0x1fb)]=0x3717]=_0x29bde7(0x1fb),_0x2abc76[_0x2abc76[_0x29bde7(0x13d)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x2abc76[_0x2abc76[_0x29bde7(0x11d)]=0x3a99]=_0x29bde7(0x11d),_0x2abc76[_0x2abc76['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x2abc76[_0x2abc76[_0x29bde7(0xef)]=0x3a9b]=_0x29bde7(0xef),_0x2abc76[_0x2abc76[_0x29bde7(0x14a)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x2abc76[_0x2abc76[_0x29bde7(0x1fe)]=0x3a9d]=_0x29bde7(0x1fe),_0x2abc76[_0x2abc76[_0x29bde7(0x1f6)]=0x3a9e]=_0x29bde7(0x1f6),_0x2abc76[_0x2abc76[_0x29bde7(0x147)]=0x3a9f]=_0x29bde7(0x147),_0x2abc76[_0x2abc76[_0x29bde7(0x2cc)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x2abc76[_0x2abc76[_0x29bde7(0x35d)]=-0x1]=_0x29bde7(0x35d),_0x2abc76))(_0x2b04bc||{});function _0x541d21(_0x1033dd){const _0xcc7aca=_0x29bde7;var _0x20c779,_0x3a0d01;const _0xa49bd=(_0x20c779=_0x1033dd[_0xcc7aca(0x1cb)])==null?void 0x0:_0x20c779[_0xcc7aca(0x135)],_0x473bff=((_0x3a0d01=_0x1033dd['stageInfo'])==null?void 0x0:_0x3a0d01[_0xcc7aca(0x27e)])||0x0;return _0xa49bd===_0x3202a1[_0xcc7aca(0xd3)][_0xcc7aca(0x1ed)]&&_0x473bff>0x0;}function _0x3dbd8b(_0x127b5c){const _0x377898=_0x29bde7;return _0x127b5c[_0x377898(0x22a)]===_0x3202a1[_0x377898(0x159)]['SUCCESS'];}var _0x46379b=Object['getOwnPropertyDescriptor'],_0x1dfd3c=(_0x327ece,_0x5405c2,_0x59ecf8,_0x49de0d)=>{const _0x1f8d10=_0x29bde7;for(var _0x267fd0=_0x49de0d>0x1?void 0x0:_0x49de0d?_0x46379b(_0x5405c2,_0x59ecf8):_0x5405c2,_0x142276=_0x327ece[_0x1f8d10(0x257)]-0x1,_0x2e66bf;_0x142276>=0x0;_0x142276--)(_0x2e66bf=_0x327ece[_0x142276])&&(_0x267fd0=_0x2e66bf(_0x267fd0)||_0x267fd0);return _0x267fd0;},_0x55e2d6=(_0x49744f,_0x4a733a)=>(_0x1d7186,_0x3ab44b)=>_0x4a733a(_0x1d7186,_0x3ab44b,_0x49744f);const _0x417e1d=_0x29bde7(0xc2),_0x4e7f71=_0x29bde7(0x2af),_0x47b146=_0x29bde7(0x2e0);let _0x353926=class extends _0x3a09c4[_0x29bde7(0x191)]{constructor(_0x32adfd,_0x47335e,_0x3c097a,_0x8a3673,_0x520ca4,_0x188019,_0x1d8d74){const _0x5a2d7c=_0x29bde7;super(),_0x9f87fa(this,_0x5a2d7c(0x377),null),_0x9f87fa(this,'_maxFormulaLimit',0x0),_0x9f87fa(this,_0x5a2d7c(0x321),0x0),_0x9f87fa(this,_0x5a2d7c(0x298),[]),_0x9f87fa(this,_0x5a2d7c(0x309),0x0),(this[_0x5a2d7c(0x388)]=_0x32adfd,this[_0x5a2d7c(0x114)]=_0x47335e,this[_0x5a2d7c(0x219)]=_0x3c097a,this[_0x5a2d7c(0x37f)]=_0x8a3673,this[_0x5a2d7c(0x1ab)]=_0x520ca4,this[_0x5a2d7c(0x28c)]=_0x188019,this['_localeService']=_0x1d8d74,this[_0x5a2d7c(0x1c0)]());}[_0x29bde7(0x1c0)](){const _0x7fcf32=_0x29bde7;this[_0x7fcf32(0x28e)](this[_0x7fcf32(0x114)][_0x7fcf32(0x303)]((_0x5ea7de,_0x15236e)=>{const _0x3bee13=_0x7fcf32;var _0x36e788;if(_0x5ea7de['id']!==_0x3202a1[_0x3bee13(0x2e3)]['id'])return;const _0x43cc5e=_0x5ea7de[_0x3bee13(0x32e)];if(!this[_0x3bee13(0x385)]((_0x36e788=_0x43cc5e[_0x3bee13(0x378)])!=null?_0x36e788:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x3bee13(0xfe)](_0x5ea7de,_0x15236e),this[_0x3bee13(0x217)](),new _0x3a09c4[(_0x3bee13(0x2b0))]();})),this[_0x7fcf32(0x28e)](this['_commandService']['onCommandExecuted']((_0x57d299,_0x44268b)=>{const _0x218ad3=_0x7fcf32;if(_0x57d299['id']!==_0x3202a1[_0x218ad3(0x395)]['id'])return;const _0x4b1205=_0x57d299[_0x218ad3(0x32e)];if(_0x541d21(_0x4b1205)){const _0x204129=_0x3a09c4[_0x218ad3(0x382)]();this[_0x218ad3(0x298)][_0x218ad3(0x174)](_0x204129),this[_0x218ad3(0x2c6)](_0x204129);}else{if(_0x3dbd8b(_0x4b1205)&&this['_taskIds'][_0x218ad3(0x257)]>0x0){const _0xadfb32=this['_taskIds'][_0x218ad3(0x28a)]();this[_0x218ad3(0x3a0)](_0xadfb32);}}}));}['dispose'](){const _0x298b96=_0x29bde7;super[_0x298b96(0x19f)](),this[_0x298b96(0x2ab)](),this['_taskIds']=[],this[_0x298b96(0x321)]=0x0,this[_0x298b96(0x32c)]=0x0,this[_0x298b96(0x309)]=0x0;}async[_0x29bde7(0xfe)](_0x1ef5cf,_0x57834a){const _0x48cf07=_0x29bde7;for(let _0xd69dac=0x0;_0xd69dac<0x1e;_0xd69dac++)try{if(await this[_0x48cf07(0x1bf)](),this[_0x48cf07(0x24b)]()){this[_0x48cf07(0x209)](_0x1ef5cf,_0x57834a),this[_0x48cf07(0x388)][_0x48cf07(0x16f)]({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x2a2db6[_0x48cf07(0x34a)][_0x48cf07(0x2d8)]});return;}await new Promise(_0x2b02fc=>{const _0x1e39ae=_0x48cf07;this['_pollingInterval']=window[_0x1e39ae(0x338)](_0x2b02fc,0x3e8);});}catch(_0x2fd45e){this[_0x48cf07(0x28c)]['error'](_0x2fd45e);}this[_0x48cf07(0x388)][_0x48cf07(0x16f)]({'content':this['_localeService']['t'](_0x48cf07(0x37d)),'type':_0x2a2db6[_0x48cf07(0x34a)][_0x48cf07(0x29c)]});}[_0x29bde7(0x209)](_0x382c07,_0x2293e9){const _0x5cbc0c=_0x29bde7;try{this['_commandService'][_0x5cbc0c(0x104)](_0x382c07['id'],_0x382c07[_0x5cbc0c(0x32e)],_0x2293e9);}catch(_0x43c8db){this[_0x5cbc0c(0x28c)]['error'](_0x43c8db);}}[_0x29bde7(0xc5)](_0x1d380e,_0x13f2e4){const _0x4f46c8=_0x29bde7;_0x13f2e4<this[_0x4f46c8(0x309)]||(this[_0x4f46c8(0x309)]=_0x13f2e4,this['_maxFormulaLimit']=Number[_0x4f46c8(0x186)](_0x1d380e[_0x4f46c8(0x152)]),this[_0x4f46c8(0x321)]=Number[_0x4f46c8(0x186)](_0x1d380e[_0x4f46c8(0x29b)]));}async[_0x29bde7(0x2c6)](_0x122bde){const _0x36f003=_0x29bde7;var _0x3c9801,_0x75dd4e;const _0x83ecaf=Date[_0x36f003(0xf6)]();try{const _0x564a38=((_0x3c9801=this[_0x36f003(0x219)][_0x36f003(0x19d)](_0x5e7c26[_0x36f003(0x2c3)]))==null?void 0x0:_0x3c9801[_0x36f003(0x235)])||_0x4e7f71,_0x1dd61d=(await this[_0x36f003(0x37f)][_0x36f003(0x279)](_0x564a38,{'body':JSON[_0x36f003(0x1d5)]({'taskId':_0x122bde})}))[_0x36f003(0x221)];if(((_0x75dd4e=_0x1dd61d[_0x36f003(0x34f)])==null?void 0x0:_0x75dd4e['code'])!==_0x2b04bc['OK'])return;this[_0x36f003(0xc5)](_0x1dd61d[_0x36f003(0x207)],_0x83ecaf);}catch(_0x5cf12f){this['_logService'][_0x36f003(0x34f)](_0x5cf12f);}}async[_0x29bde7(0x1bf)](_0x4fd1ea){const _0x4577b6=_0x29bde7;var _0x27d13c,_0x59a78;const _0x3dbd22=Date[_0x4577b6(0xf6)]();try{const _0x22c263=((_0x27d13c=this[_0x4577b6(0x219)]['getConfig'](_0x5e7c26[_0x4577b6(0x2c3)]))==null?void 0x0:_0x27d13c[_0x4577b6(0x1c8)])||_0x417e1d,_0x113b01=_0x4fd1ea?_0x22c263+_0x4577b6(0x100)+encodeURIComponent(_0x4fd1ea):_0x22c263,_0x34b497=(await this[_0x4577b6(0x37f)][_0x4577b6(0x31d)](_0x113b01))[_0x4577b6(0x221)];if(((_0x59a78=_0x34b497['error'])==null?void 0x0:_0x59a78['code'])!==_0x2b04bc['OK'])return;this[_0x4577b6(0xc5)](_0x34b497[_0x4577b6(0x207)],_0x3dbd22);}catch(_0x5723fb){this[_0x4577b6(0x28c)][_0x4577b6(0x34f)](_0x5723fb);}}async[_0x29bde7(0x3a0)](_0x4928ed){const _0xb0c2e1=_0x29bde7;var _0x1651cc,_0x1ce4a9;const _0x2409c6=Date[_0xb0c2e1(0xf6)]();try{const _0x4f3d9d=((_0x1651cc=this[_0xb0c2e1(0x219)][_0xb0c2e1(0x19d)](_0x5e7c26['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x1651cc[_0xb0c2e1(0x196)])||_0x47b146,_0x349498=(await this['_httpService'][_0xb0c2e1(0x279)](_0x4f3d9d,{'body':JSON[_0xb0c2e1(0x1d5)]({'taskId':_0x4928ed})}))[_0xb0c2e1(0x221)];if(((_0x1ce4a9=_0x349498['error'])==null?void 0x0:_0x1ce4a9[_0xb0c2e1(0xd4)])!==_0x2b04bc['OK'])return;this['_setFormulaLimitStatus'](_0x349498['limitInfo'],_0x2409c6);}catch(_0xd2377e){this[_0xb0c2e1(0x28c)][_0xb0c2e1(0x34f)](_0xd2377e);}}[_0x29bde7(0x24b)](){const _0x4c3c87=_0x29bde7;return this[_0x4c3c87(0x32c)]===0x0?!0x0:this[_0x4c3c87(0x32c)]-this[_0x4c3c87(0x321)]>0x0;}[_0x29bde7(0x2ab)](){const _0x4b7a52=_0x29bde7;this[_0x4b7a52(0x377)]&&(clearTimeout(this[_0x4b7a52(0x377)]),this[_0x4b7a52(0x377)]=null);}[_0x29bde7(0x217)](){const _0x4025c3=_0x29bde7;this[_0x4025c3(0x388)][_0x4025c3(0x16f)]({'content':this[_0x4025c3(0x142)]['t'](_0x4025c3(0xf4)),'type':_0x2a2db6['MessageType'][_0x4025c3(0x2f6)]});}['_hasFormulaInDirtyRanges'](_0x28f628){const _0x1af6a6=_0x29bde7;for(const _0x29ac28 of _0x28f628){const {unitId:_0x5af3a7,sheetId:_0x122c18,range:_0x970384}=_0x29ac28,_0x5572ac=this[_0x1af6a6(0x1ab)][_0x1af6a6(0x1e1)](_0x5af3a7);if(!_0x5572ac)continue;const _0x1388dc=_0x5572ac[_0x1af6a6(0x2cf)](_0x122c18);if(!_0x1388dc)continue;const _0x4d3588=_0x1388dc[_0x1af6a6(0x218)]();for(let _0x5afd4d=_0x970384[_0x1af6a6(0x21b)];_0x5afd4d<=_0x970384[_0x1af6a6(0x1e6)];_0x5afd4d++)for(let _0x735523=_0x970384[_0x1af6a6(0x15d)];_0x735523<=_0x970384[_0x1af6a6(0x1a9)];_0x735523++){const _0x5b8960=_0x4d3588[_0x1af6a6(0x2ff)](_0x5afd4d,_0x735523);if(_0x5b8960&&(_0x3a09c4[_0x1af6a6(0x32a)](_0x5b8960['f'])||_0x3a09c4[_0x1af6a6(0x251)](_0x5b8960['si'])))return!0x0;}}return!0x1;}};_0x353926=_0x1dfd3c([_0x55e2d6(0x0,_0x3a09c4[_0x29bde7(0xdb)](_0x592aaf[_0x29bde7(0x236)])),_0x55e2d6(0x1,_0x3a09c4[_0x29bde7(0x339)]),_0x55e2d6(0x2,_0x3a09c4[_0x29bde7(0x1f3)]),_0x55e2d6(0x3,_0x3a09c4[_0x29bde7(0xdb)](_0x20de86['HTTPService'])),_0x55e2d6(0x4,_0x3a09c4[_0x29bde7(0x294)]),_0x55e2d6(0x5,_0x3a09c4[_0x29bde7(0x1da)]),_0x55e2d6(0x6,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x36c)]))],_0x353926);var _0x5e6e28=Object[_0x29bde7(0x224)],_0x36d557=(_0x4c2ccf,_0x8e5ba5,_0x4478e1,_0xb68c4c)=>{const _0x363a85=_0x29bde7;for(var _0x5ebd13=_0xb68c4c>0x1?void 0x0:_0xb68c4c?_0x5e6e28(_0x8e5ba5,_0x4478e1):_0x8e5ba5,_0x4c05b9=_0x4c2ccf[_0x363a85(0x257)]-0x1,_0x39c86e;_0x4c05b9>=0x0;_0x4c05b9--)(_0x39c86e=_0x4c2ccf[_0x4c05b9])&&(_0x5ebd13=_0x39c86e(_0x5ebd13)||_0x5ebd13);return _0x5ebd13;},_0x287ce9=(_0x43e1f9,_0x30459e)=>(_0x2bd312,_0x154b5b)=>_0x30459e(_0x2bd312,_0x154b5b,_0x43e1f9);let _0x10ebcc=class extends _0x3a09c4[_0x29bde7(0x191)]{constructor(_0x4a1415,_0x3aae6c,_0x5e160d){const _0x20a91d=_0x29bde7;super(),_0x9f87fa(this,_0x20a91d(0x23c),new Map()),_0x9f87fa(this,_0x20a91d(0x374),new Map()),_0x9f87fa(this,_0x20a91d(0xf1),!0x1),(this[_0x20a91d(0x219)]=_0x4a1415,this[_0x20a91d(0x1a4)]=_0x3aae6c,this[_0x20a91d(0x352)]=_0x5e160d);}[_0x29bde7(0x269)](){const _0x278245=_0x29bde7;this[_0x278245(0xf1)]=!0x0;}[_0x29bde7(0x1b5)](){const _0xd56cd2=_0x29bde7;this[_0xd56cd2(0xf1)]=!0x1;}get[_0x29bde7(0x36f)](){const _0x7f8b47=_0x29bde7;return this[_0x7f8b47(0x374)];}['dispose'](){const _0xf9898a=_0x29bde7;this['exhaustSavingTask']()[_0xf9898a(0x189)](()=>super[_0xf9898a(0x19f)]());}async[_0x29bde7(0x370)](_0x46af0b){const _0x4c6fa5=_0x29bde7;return this[_0x4c6fa5(0xf1)]?null:this[_0x4c6fa5(0x1a4)][_0x4c6fa5(0x131)](_0x5e7c26[_0x4c6fa5(0x2b6)](_0x46af0b));}async[_0x29bde7(0x288)](_0x5b9eb,_0x3d1c4a){const _0x5c6875=_0x29bde7;return!!this['_localStorageService'][_0x5c6875(0x35f)](_0x5b9eb,_0x3d1c4a);}[_0x29bde7(0x35a)](_0x5de9ba,_0x73c898,_0x3fbb4c,_0xcb84c2){const _0x83fe4f=_0x29bde7,_0x22a8d1=this['_revisionService'][_0x83fe4f(0x24e)](_0x5de9ba);this[_0x83fe4f(0x23c)]['set'](_0x5de9ba,{'unitID':_0x5de9ba,'type':_0x73c898,'awaitingChangeset':_0x3fbb4c,'mutations':_0xcb84c2,'rev':_0x22a8d1}),this['_saveTaskMap']['has'](_0x5de9ba)||this[_0x83fe4f(0x21e)](_0x5de9ba);}[_0x29bde7(0x21e)](_0x18df72){const _0x2c74ae=_0x29bde7,_0x296285=this['_getSaveTimeout']();_0x296285===0x0?this[_0x2c74ae(0x22c)](_0x18df72):this[_0x2c74ae(0x374)][_0x2c74ae(0x2d5)](_0x18df72,setTimeout(()=>this['_saveCache'](_0x18df72),_0x296285));}[_0x29bde7(0x2d9)](){const _0x453438=_0x29bde7;var _0x21168b;return(_0x21168b=this[_0x453438(0x219)][_0x453438(0x19d)](_0x5e7c26[_0x453438(0x201)]))!=null?_0x21168b:_0x5e7c26[_0x453438(0x155)];}[_0x29bde7(0x22c)](_0x45ab3f){const _0x1d77fe=_0x29bde7,_0x54070d=this[_0x1d77fe(0x374)]['get'](_0x45ab3f);return _0x54070d!==void 0x0&&window[_0x1d77fe(0x2fa)](_0x54070d),this[_0x1d77fe(0x1a4)][_0x1d77fe(0x35f)](_0x5e7c26[_0x1d77fe(0x2b6)](_0x45ab3f),this[_0x1d77fe(0x23c)]['get'](_0x45ab3f))[_0x1d77fe(0x189)](()=>this[_0x1d77fe(0x374)][_0x1d77fe(0x35e)](_0x45ab3f));}async[_0x29bde7(0x1d8)](){const _0x40ebc0=_0x29bde7,_0x3f4958=[];this[_0x40ebc0(0x374)][_0x40ebc0(0x27c)]((_0x150a76,_0x38638c)=>{const _0x52e278=_0x40ebc0;window[_0x52e278(0x2fa)](_0x150a76),_0x3f4958[_0x52e278(0x174)](this[_0x52e278(0x22c)](_0x38638c)[_0x52e278(0x189)](()=>{const _0x371c28=_0x52e278;this[_0x371c28(0x374)][_0x371c28(0x35e)](_0x38638c);}));}),await Promise[_0x40ebc0(0x25f)](_0x3f4958);}};_0x10ebcc=_0x36d557([_0x287ce9(0x0,_0x3a09c4[_0x29bde7(0x1f3)]),_0x287ce9(0x1,_0x3a09c4[_0x29bde7(0x315)]),_0x287ce9(0x2,_0x3a09c4[_0x29bde7(0xdb)](_0x5e9418[_0x29bde7(0x11e)]))],_0x10ebcc);class _0x18c0ae extends _0x3a09c4[_0x29bde7(0x2ad)]{constructor(){const _0xfa6ab9=_0x29bde7;super(),_0x9f87fa(this,_0xfa6ab9(0x2a8)),this['urlChange$']=_0x41fba3[_0xfa6ab9(0x18f)](window,'popstate')[_0xfa6ab9(0x2e5)](_0x41fba3[_0xfa6ab9(0x306)](this['dispose$']),_0x41fba3['shareReplay'](0x1),_0x41fba3[_0xfa6ab9(0xfa)](void 0x0));}[_0x29bde7(0x343)](_0x293c15,_0x58ebd6,_0x187a54=!0x1){const _0x5a188f=_0x29bde7,_0x5f1f2a=new URL(window[_0x5a188f(0x113)]['href']);_0x5f1f2a['searchParams'][_0x5a188f(0x2d5)](_0x293c15,_0x58ebd6),_0x187a54?window['history'][_0x5a188f(0x28f)]('','',_0x5f1f2a['toString']()):window[_0x5a188f(0x206)][_0x5a188f(0x132)]('','',_0x5f1f2a[_0x5a188f(0x349)]());}[_0x29bde7(0x272)](_0x3e3b87,_0x487dfb=!0x1){const _0x3b690f=_0x29bde7,_0xddaaf7=new URL(window[_0x3b690f(0x113)][_0x3b690f(0x234)]);_0xddaaf7['searchParams'][_0x3b690f(0x35e)](_0x3e3b87),_0x487dfb?window[_0x3b690f(0x206)]['replaceState']('','',_0xddaaf7[_0x3b690f(0x349)]()):window[_0x3b690f(0x206)][_0x3b690f(0x132)]('','',_0xddaaf7[_0x3b690f(0x349)]());}[_0x29bde7(0x154)](_0x4a7ea5){const _0x4dcdc6=_0x29bde7;var _0x4e3022;return(_0x4e3022=new URL(window['location'][_0x4dcdc6(0x234)])['searchParams'][_0x4dcdc6(0x31d)](_0x4a7ea5))!=null?_0x4e3022:void 0x0;}}var _0x40d0a6=Object[_0x29bde7(0x340)],_0x4cf4cb=Object['getOwnPropertyDescriptor'],_0x4e65bd=(_0x3bed3f,_0x417391,_0x17c5b2)=>_0x417391 in _0x3bed3f?_0x40d0a6(_0x3bed3f,_0x417391,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x17c5b2}):_0x3bed3f[_0x417391]=_0x17c5b2,_0x362661=(_0x3d7015,_0x1a0a69,_0x4b50b4,_0x3ab994)=>{for(var _0xbe30bb=_0x3ab994>0x1?void 0x0:_0x3ab994?_0x4cf4cb(_0x1a0a69,_0x4b50b4):_0x1a0a69,_0x21aa17=_0x3d7015['length']-0x1,_0x5d7aa9;_0x21aa17>=0x0;_0x21aa17--)(_0x5d7aa9=_0x3d7015[_0x21aa17])&&(_0xbe30bb=_0x5d7aa9(_0xbe30bb)||_0xbe30bb);return _0xbe30bb;},_0x6ce988=(_0x859eb4,_0x59af9e)=>(_0x25350f,_0x2a4772)=>_0x59af9e(_0x25350f,_0x2a4772,_0x859eb4),_0xa9b818=(_0x5b9cb2,_0x1bc10d,_0x4e5f5e)=>_0x4e65bd(_0x5b9cb2,_0x1bc10d+'',_0x4e5f5e);const _0x4a74e3=_0x29bde7(0x1df);_0x1e8a5b[_0x29bde7(0xf9)]=class extends _0x3a09c4['Plugin']{constructor(_0x133867=_0x2c5eff,_0x2c50f6,_0x17fd8a,_0x18cbc8){const _0x395517=_0x29bde7;super(),this[_0x395517(0x194)]=_0x133867,this[_0x395517(0x146)]=_0x2c50f6,this[_0x395517(0x247)]=_0x17fd8a,this[_0x395517(0x219)]=_0x18cbc8;const {..._0x262aba}=_0x3a09c4['merge']({},_0x2c5eff,this[_0x395517(0x194)]);this['_configService'][_0x395517(0x3af)](_0x2d74b1,_0x262aba);}[_0x29bde7(0x347)](){const _0x3249a5=_0x29bde7;this[_0x3249a5(0x33f)](),this[_0x3249a5(0x23a)]();}['onRendered'](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x4f50d8=_0x29bde7;var _0x1a73fb;const _0x28e67a=[[_0x1acd06],[_0x353926],[_0x3628e2],[_0x5e0130],[_0xc132fe],[_0x3d295c],[_0x5c7e96,{'useClass':_0x18c0ae}],[_0x20de86['ISocketService'],{'useClass':_0x20de86[_0x4f50d8(0x2ca)]}],[_0x5e7c26[_0x4f50d8(0x355)],{'useClass':_0x10ebcc}],[_0x1e8a5b[_0x4f50d8(0x3a9)]],[_0x30a1d6],[_0x2ee8d7],[_0x2763d1],[_0x43ac4d],[_0x1e8a5b[_0x4f50d8(0x242)]]];this['_config'][_0x4f50d8(0x3aa)]&&_0x28e67a[_0x4f50d8(0x174)]([_0x32a527]),_0x3a09c4[_0x4f50d8(0x39b)](this[_0x4f50d8(0x247)],_0x3a09c4[_0x4f50d8(0x2c0)](_0x28e67a,(_0x1a73fb=this[_0x4f50d8(0x194)])==null?void 0x0:_0x1a73fb[_0x4f50d8(0x14c)]));}[_0x29bde7(0xd0)](){const _0x43c60c=_0x29bde7;this[_0x43c60c(0x28e)](this[_0x43c60c(0x146)]['registerRenderModule'](_0x3a09c4[_0x43c60c(0x30d)][_0x43c60c(0xec)],[_0x4ec09a])),this[_0x43c60c(0x28e)](this[_0x43c60c(0x146)][_0x43c60c(0x17a)](_0x3a09c4[_0x43c60c(0x30d)][_0x43c60c(0x2aa)],[_0x27259b]));}[_0x29bde7(0x23a)](){const _0x13fc16=_0x29bde7;_0x3a09c4['touchDependencies'](this['_injector'],[[_0x2763d1],[_0x1e8a5b[_0x13fc16(0x3a9)]],[_0x30a1d6],[_0x2ee8d7],[_0x1e8a5b['CollaborationDataLoaderController']],[_0x353926]]),this[_0x13fc16(0x194)][_0x13fc16(0x3aa)]&&_0x3a09c4[_0x13fc16(0x387)](this[_0x13fc16(0x247)],[[_0x32a527]]);}},_0xa9b818(_0x1e8a5b[_0x29bde7(0xf9)],_0x29bde7(0x2ee),_0x4a74e3),_0x1e8a5b[_0x29bde7(0xf9)]=_0x362661([_0x3a09c4[_0x29bde7(0x2b3)](_0x5e7c26['UniverCollaborationClientPlugin']),_0x6ce988(0x1,_0x271b4b[_0x29bde7(0xde)]),_0x6ce988(0x2,_0x3a09c4['Inject'](_0x3a09c4['Injector'])),_0x6ce988(0x3,_0x3a09c4['IConfigService'])],_0x1e8a5b[_0x29bde7(0xf9)]);var _0x58f851=Object['getOwnPropertyDescriptor'],_0x515c24=(_0x1393e3,_0x1eedb2,_0x42718c,_0x2ecd75)=>{for(var _0x374c44=_0x2ecd75>0x1?void 0x0:_0x2ecd75?_0x58f851(_0x1eedb2,_0x42718c):_0x1eedb2,_0x2f1f24=_0x1393e3['length']-0x1,_0x36db24;_0x2f1f24>=0x0;_0x2f1f24--)(_0x36db24=_0x1393e3[_0x2f1f24])&&(_0x374c44=_0x36db24(_0x374c44)||_0x374c44);return _0x374c44;},_0x349abe=(_0x4f04bd,_0x2eca08)=>(_0x3e37fb,_0x534a3e)=>_0x2eca08(_0x3e37fb,_0x534a3e,_0x4f04bd);_0x1e8a5b[_0x29bde7(0x13c)]=class extends _0x5e7c26['CollaborationSocketService']{constructor(_0x5a00a7,_0x42748a,_0x2883d4,_0x361ebf,_0x19f007){super(_0x5a00a7,_0x42748a,_0x2883d4,_0x361ebf,_0x19f007);}async[_0x29bde7(0x10e)](_0x2722fb){const _0x170255=_0x29bde7,_0x3fbae5=await this['_getSessionTicket'](),_0x3d751a=this['_createSocketURL'](_0x2722fb,_0x3fbae5);return this[_0x170255(0x278)](_0x3d751a);}[_0x29bde7(0x18b)](_0x2acf11,_0x3d2f68){const _0x8b325b=_0x29bde7,_0xff6a03=typeof window>'u'?new URL(_0x2acf11):new URL(_0x2acf11,window['location'][_0x8b325b(0x2be)]);_0xff6a03[_0x8b325b(0x254)]['set']('sessionTicket',_0x3d2f68);const _0x38ac96=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x38ac96[_0x8b325b(0x31d)](_0x8b325b(0x200))&&_0xff6a03[_0x8b325b(0x254)][_0x8b325b(0x2d5)](_0x8b325b(0x200),_0x38ac96['get'](_0x8b325b(0x200))),_0xff6a03[_0x8b325b(0x349)]();}async[_0x29bde7(0x29d)](){const _0x5b2f3b=_0x29bde7;var _0x46c27c,_0x571d12,_0x1b47e9;const _0x3b8afd=this['_configService']['getConfig'](_0x5e7c26[_0x5b2f3b(0x2c3)]),_0x28d8d4=(_0x46c27c=_0x3b8afd==null?void 0x0:_0x3b8afd[_0x5b2f3b(0xe8)])!=null?_0x46c27c:_0x5e7c26[_0x5b2f3b(0x16d)];return(_0x1b47e9=(_0x571d12=(await this[_0x5b2f3b(0x37f)][_0x5b2f3b(0x31d)](_0x28d8d4,{'headers':{'Content-Type':_0x5b2f3b(0x1d0)}}))['body'])==null?void 0x0:_0x571d12[_0x5b2f3b(0x394)])!=null?_0x1b47e9:'';}},_0x1e8a5b['BrowserCollaborationSocketService']=_0x515c24([_0x349abe(0x0,_0x3a09c4[_0x29bde7(0xdb)](_0x3a09c4[_0x29bde7(0x304)])),_0x349abe(0x1,_0x3a09c4['Inject'](_0x20de86['HTTPService'])),_0x349abe(0x2,_0x3a09c4[_0x29bde7(0x1f3)]),_0x349abe(0x3,_0x3a09c4['ILogService']),_0x349abe(0x4,_0x5e9418['ISnapshotServerService'])],_0x1e8a5b[_0x29bde7(0x13c)]);var _0x3f6a8a=Object[_0x29bde7(0x224)],_0x798b80=(_0x3107e3,_0x11ede5,_0x60ba4e,_0x2f701d)=>{const _0x1d2085=_0x29bde7;for(var _0x6a827c=_0x2f701d>0x1?void 0x0:_0x2f701d?_0x3f6a8a(_0x11ede5,_0x60ba4e):_0x11ede5,_0x1cce90=_0x3107e3[_0x1d2085(0x257)]-0x1,_0x2bc55e;_0x1cce90>=0x0;_0x1cce90--)(_0x2bc55e=_0x3107e3[_0x1cce90])&&(_0x6a827c=_0x2bc55e(_0x6a827c)||_0x6a827c);return _0x6a827c;},_0x1b5bce=(_0x1d814a,_0x243f25)=>(_0x1cf4ad,_0x4c3959)=>_0x243f25(_0x1cf4ad,_0x4c3959,_0x1d814a);_0x1e8a5b[_0x29bde7(0x125)]=class extends _0x3a09c4['Disposable']{constructor(_0xed5a70,_0x2ee3b3,_0x46b998){const _0x454fe5=_0x29bde7;super(),this[_0x454fe5(0x1ad)]=_0xed5a70,this[_0x454fe5(0x37f)]=_0x2ee3b3,this[_0x454fe5(0x219)]=_0x46b998;}async['runOnServer'](_0xa81255,_0x4001ef,_0x4db5fd,..._0x2637ee){const _0x3d3569=_0x29bde7;var _0x58e2f3,_0x1c8760,_0x16fed7,_0x2b5764;const _0x20b803=this['_instanceService'][_0x3d3569(0x1bc)]();if(!_0x20b803)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1dba06=((_0x58e2f3=this[_0x3d3569(0x219)][_0x3d3569(0x19d)](_0x5e7c26['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x58e2f3:_0x5e7c26[_0x3d3569(0x2d1)])+'/'+_0xa81255+'/run/'+_0x4001ef,_0x24a444=new URL(window[_0x3d3569(0x113)][_0x3d3569(0x234)]),_0x3f4bdb={'scriptId':_0xa81255,'runId':(_0x1c8760=_0x24a444[_0x3d3569(0x254)][_0x3d3569(0x31d)](_0x3d3569(0x200)))!=null?_0x1c8760:'','function':_0x4001ef,'unitId':_0x20b803[_0x3d3569(0x348)](),'argsOfFunction':JSON['stringify'](_0x2637ee),'invokeId':(_0x16fed7=_0x4db5fd[_0x3d3569(0x2bd)])!=null?_0x16fed7:'','executionId':(_0x2b5764=_0x4db5fd[_0x3d3569(0x319)])!=null?_0x2b5764:''};try{const _0x2d40a4=await this[_0x3d3569(0x37f)][_0x3d3569(0x279)](_0x1dba06,{'body':_0x3f4bdb});return _0x2d40a4[_0x3d3569(0x221)][_0x3d3569(0x34f)]&&_0x2d40a4[_0x3d3569(0x221)][_0x3d3569(0x34f)]['code']!==_0x2b04bc['OK']?_0x3d3569(0x2cd):_0x2d40a4[_0x3d3569(0x221)][_0x3d3569(0x324)];}catch{return _0x3d3569(0x2cd);}}},_0x1e8a5b[_0x29bde7(0x125)]=_0x798b80([_0x1b5bce(0x0,_0x3a09c4[_0x29bde7(0x294)]),_0x1b5bce(0x1,_0x3a09c4[_0x29bde7(0xdb)](_0x20de86[_0x29bde7(0x258)])),_0x1b5bce(0x2,_0x3a09c4[_0x29bde7(0x1f3)])],_0x1e8a5b[_0x29bde7(0x125)]);const _0x568b98=0x7530,_0x476747=_0x29bde7(0x26a);class _0x5a1ef8 extends _0x3a09c4[_0x29bde7(0x191)]{constructor(){const _0x152e36=_0x29bde7;super(),_0x9f87fa(this,_0x152e36(0x11b),_0x3a09c4[_0x152e36(0x382)]()),_0x9f87fa(this,_0x152e36(0x2dc),new Set()),_0x9f87fa(this,_0x152e36(0x367),new Map()),_0x9f87fa(this,_0x152e36(0x26d),null),_0x9f87fa(this,_0x152e36(0x1b3),new Map()),_0x9f87fa(this,_0x152e36(0x31c),new Map()),this['_init']();}[_0x29bde7(0x19f)](){const _0x17e505=_0x29bde7;super[_0x17e505(0x19f)](),this[_0x17e505(0x1b3)]['forEach']((_0x227c02,_0x3bc3cf)=>this[_0x17e505(0x177)](_0x3bc3cf)),this[_0x17e505(0x26d)]&&window[_0x17e505(0x2d6)](this[_0x17e505(0x26d)]);}[_0x29bde7(0x208)](_0xac6b7d){const _0x3b18d1=_0x29bde7;return this['_ensureSubject'](_0xac6b7d)[_0x3b18d1(0x2e5)](_0x41fba3[_0x3b18d1(0x34c)]());}[_0x29bde7(0x19e)](_0x6f973b){const _0x2dfc7b=_0x29bde7;this[_0x2dfc7b(0x2dc)][_0x2dfc7b(0xe4)]===0x0&&this[_0x2dfc7b(0x2f9)](),this[_0x2dfc7b(0x2dc)]['add'](_0x6f973b),this[_0x2dfc7b(0x362)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x6f973b],'isForwarded':!0x1});}[_0x29bde7(0x1ef)](_0x1a490e){const _0x29f810=_0x29bde7;this[_0x29f810(0x2dc)]['delete'](_0x1a490e),this['_selfUnitIDs'][_0x29f810(0xe4)]===0x0&&this[_0x29f810(0x26d)]&&window['clearInterval'](this[_0x29f810(0x26d)]);}[_0x29bde7(0x34b)](){const _0x34e0ec=_0x29bde7;this[_0x34e0ec(0x28e)](_0x3a09c4['toDisposable'](_0x41fba3['fromEvent'](window,_0x34e0ec(0x16c))[_0x34e0ec(0x359)](_0xe351ff=>{const _0x59214a=_0x34e0ec;if(_0xe351ff[_0x59214a(0x2b8)]!==_0x476747||!_0xe351ff['newValue'])return;const _0x51a041=JSON[_0x59214a(0x1de)](_0xe351ff[_0x59214a(0x232)]);this['_handleEvent'](_0x51a041);}))),window[_0x34e0ec(0x23e)]('unload',()=>this[_0x34e0ec(0x362)]({'type':0x1,'memberID':this[_0x34e0ec(0x11b)],'unitIDs':Array[_0x34e0ec(0xc9)](this[_0x34e0ec(0x2dc)])}));}[_0x29bde7(0x3a7)](_0x5763cc){const _0x32827b=_0x29bde7;switch(_0x5763cc[_0x32827b(0x1d7)]){case 0x0:this['_handleJoinEvent'](_0x5763cc);break;case 0x1:this[_0x32827b(0x1a6)](_0x5763cc);break;case 0x2:this[_0x32827b(0x2c5)](_0x5763cc);break;}}['_handleJoinEvent'](_0x1153e6){const _0x4ee3a5=_0x29bde7,{unitIDs:_0x1f5bbf,memberID:_0x200a64,isForwarded:_0x7e41bc}=_0x1153e6;_0x1f5bbf[_0x4ee3a5(0x27c)](_0x38f07d=>{const _0x2073b3=_0x4ee3a5;if(!_0x7e41bc&&this['_unitOnClients']['has'](_0x38f07d)&&this[_0x2073b3(0x322)](_0x38f07d)['next'](_0x5e7c26[_0x2073b3(0x30a)]['OTHER_CLIENTS_EDITING']),!this[_0x2073b3(0x367)][_0x2073b3(0x38d)](_0x38f07d)||!this['_unitOnClients'][_0x2073b3(0x31d)](_0x38f07d)['has'](_0x200a64)){const _0x4e72d6=this['_unitOnClients'][_0x2073b3(0x31d)](_0x38f07d)||new Set();_0x4e72d6[_0x2073b3(0x2b2)](_0x200a64),this[_0x2073b3(0x367)][_0x2073b3(0x2d5)](_0x38f07d,_0x4e72d6),this[_0x2073b3(0x20f)](_0x200a64);}}),_0x7e41bc||this['_send']({'type':0x0,'memberID':this[_0x4ee3a5(0x11b)],'unitIDs':[...this[_0x4ee3a5(0x2dc)]],'isForwarded':!0x0});}[_0x29bde7(0x20f)](_0x23646e){const _0x1c9721=_0x29bde7;this['_removeClearOtherTimer'](_0x23646e);const _0x1580a8=window[_0x1c9721(0x338)](()=>{const _0xa94e3c=_0x1c9721;this[_0xa94e3c(0x367)][_0xa94e3c(0x27c)](_0x58a876=>{const _0x54fea0=_0xa94e3c;_0x58a876[_0x54fea0(0x35e)](_0x23646e);});},_0x568b98*0x2);this[_0x1c9721(0x1b3)][_0x1c9721(0x2d5)](_0x23646e,_0x1580a8);}['_removeClearOtherTimer'](_0x29595){const _0x2f4fd1=_0x29bde7;if(this['_clearOtherTimers'][_0x2f4fd1(0x38d)](_0x29595)){const _0xfa1747=this[_0x2f4fd1(0x1b3)]['get'](_0x29595);_0xfa1747&&window[_0x2f4fd1(0x2fa)](_0xfa1747),this[_0x2f4fd1(0x1b3)][_0x2f4fd1(0x2d5)](_0x29595,null);}}[_0x29bde7(0x1a6)](_0x3ec245){const _0x634342=_0x29bde7,{memberID:_0x52529e,unitIDs:_0x5212aa}=_0x3ec245;_0x5212aa[_0x634342(0x27c)](_0x10ccbd=>{const _0x46faf0=_0x634342;var _0x49540a;const _0x83a62e=this[_0x46faf0(0x367)][_0x46faf0(0x31d)](_0x10ccbd);_0x83a62e&&(_0x83a62e[_0x46faf0(0x35e)](_0x52529e),(_0x49540a=this[_0x46faf0(0x322)](_0x10ccbd))==null||_0x49540a[_0x46faf0(0x1ea)](_0x83a62e[_0x46faf0(0xe4)]===0x0?_0x5e7c26[_0x46faf0(0x30a)][_0x46faf0(0x380)]:_0x5e7c26[_0x46faf0(0x30a)][_0x46faf0(0xcb)]));}),this[_0x634342(0x177)](_0x52529e);}[_0x29bde7(0x2c5)](_0xf91ef0){const _0x271436=_0x29bde7;this[_0x271436(0x20f)](_0xf91ef0[_0x271436(0x105)]);}['_send'](_0x577e97){localStorage['setItem'](_0x476747,JSON['stringify'](_0x577e97));}[_0x29bde7(0x2f9)](){const _0x3f8e08=_0x29bde7;this[_0x3f8e08(0x26d)]=window['setInterval'](()=>{const _0xdbfa94=_0x3f8e08;this['_send']({'type':0x2,'memberID':this[_0xdbfa94(0x11b)]});},_0x568b98);}[_0x29bde7(0x322)](_0x5aa104){const _0x4ea97c=_0x29bde7;return this[_0x4ea97c(0x31c)][_0x4ea97c(0x38d)](_0x5aa104)||this[_0x4ea97c(0x31c)][_0x4ea97c(0x2d5)](_0x5aa104,new _0x41fba3[(_0x4ea97c(0x31e))](_0x5e7c26['UnitStatus']['NO_OTHER_CLIENTS_EDITING'])),this[_0x4ea97c(0x31c)][_0x4ea97c(0x31d)](_0x5aa104);}}_0x1e8a5b[_0x29bde7(0x250)]=_0x5c7e96,_0x1e8a5b[_0x29bde7(0x1b6)]=_0x526d2d,_0x1e8a5b[_0x29bde7(0x10c)]=_0x5a1ef8,_0x1e8a5b[_0x29bde7(0x15e)]=_0x18c0ae,Object['defineProperty'](_0x1e8a5b,Symbol[_0x29bde7(0x3b1)],{'value':'Module'});}));
1
+ function _0x1f30(){const _0x144e7f=['status$','generateRandomId','DocStateChangeManagerService','COLORS','_backgroundColor','_saveCache','evenodd','HEADER_MENU','totalFormulasToCalculate','collaboration.closeRoom','permission.title','ILogService','UniverCollaborationClientPlugin','closePath','_applyCommand','collaboration.single-unit.warning','Tooltip','enableFrontendLog','BehaviorSubject','/run/','SetSelectionsOperation','flatMap','type','asObservable','_cursors','Tools','0\x200\x2016\x2016','startsWith','FromArray','translate(.97)','fill','eventID','onRendered','getRenderById','substring','_dataLoaderService','add','0\x200\x2017\x2016','message','_hasFormulaInDirtyRanges','unload','forEach','_createSocketURL','UniverUi','onMouseMove','override','10aSfSzp','handleDeleteRangeMoveLeft','storage','registerRenderModule','addEventListener','_eventUnsubscribe','_clearPolling','InsertRowCommandId','LOCAL_CACHE_INTERVAL_KEY','cursorInfo','DEFAULT_WS_SESSION_TICKET_URL','next','ColorKit','pipe','IUniverInstanceService','LOGIN_TOKEN_PROCESSING_FAILED','getCurrentRevOfUnit','hide','1223nLDiKI','[CollaborationDataLoaderController]','UNIVER_DOC','unitId','merge','purple.300','react','_selfUnitIDs','_themeService','startColumn','createInstance','?taskId=','_disabled','addObjects','isTransformMutationsWithChangesetSuccess','session.collaboration-timeout','DesktopCollaborationStatusDisplayController','data','getUndoRedoMutationParamsCache','transformMutation','getUnitStatus$','loadOfflineData','@univerjs-pro/collaboration','_commandService','transformMutationsWithChangeset','UNAUTHENTICATED','url(#off-line-icon_clip0_910_343)','CollaborationStatus','_setupBeforeClosingHandler','UniverDesign','Disposable','http://www.w3.org/2000/svg','CONNECTOR_DATA_TOO_LARGE','UniverDocs','sheetID','BrowserCollaborationSocketService','_saveTaskMap','JOIN_ROOM_FAILED','ENTITLE_CAN_NOT_BUY_LOWER_OTP','textRanges','NOT_COLLAB','SetWorksheetActivateCommand','_entityInit$','MessageType','_lastResponseTimestamp','red.300','OnLineIcon','LOGIN_FAILED','findNodePositionByCharIndex','INTERNAL_ERROR','docStateChange$','UniverDocsUi','UniverSheets','436imFbpv','2040XCtVqP','saveOfflineData','[Window\x20Error]:\x20','toDisposable','runRefRangeMutations','PERMISSION_DENIED','black','_context','formula.calculation.waiting','resize','unitID','_uiPartsService','_getAnchorBounding','max','includes','find','_drawTextRange','some','send','debug','split','PENDING','_startSheetCollabCursor','length','ONLINE','_clearOtherTimers','ENTITLE_COUPON_USED_UP','FormulaExecuteStageType','IRemoteInstanceService','onLocalMutation','backgroundColor','then','disableLocalCache','RxDisposable','_registerRenderDependencies','imageSourceType','isFormulaString','_lastPointer','combineLatest','_render','colorChannel1','_cachedData','DOC_RANGE_TYPE','_getSessionTicket','APPLY_PERMISSION_DENIED','_logService','ENTITLE_COUPON_EXPIRED','runOnServer','complete','APPLY_REVISION_CONFILICT','values','RemoveColCommandId','m1Prime','_pollingInterval','currentSkeleton$','delete','measureText','RemoteUniscriptService','_updateSubUnitFromURLParams','UniverDrawing','YUUMI_RATE_OVER_LIMIT','USER_NOT_FOUND','getDocRanges','event$','UniverIcon','pluginName','IImageIoService','_ensureSubject','OTHER_CLIENT_EDITING','_httpService','arc','mask','YUUMI_ASYNCIO_CANCELLED','replace','CollaborationUIEventId','_scheduleClearOtherTimer','join','_transformPreviousActiveRange','drawWith','memberID','div','_unitStatus','_config','_toggleOffline','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_syncEditingCollabCursorService','_refRangeService','name','_drawAnchor','getConfig','handleMoveRange','object','clearTimeout','formula.calculation.started','roomMembers$','location','colno','@univerjs-pro/collaboration-client','AUTHORIZE_CODE_ILLEGAL','UNDEFINED','DeleteRangeMoveLeftCommandId','Warning','ranges','SYNCED','12970432Ydlqmc','INVALID_ARGUMENT','REDEMPTION_CODE_NOT_STARTED','_memberID','_checkAndWaitForCalculationPermission','RECT','InsertRangeMoveDownCommandId','from','rxjs','CollaborationDataLoaderController','_removeClearOtherTimer','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','registerRefRange','OffLineIcon','actions','redoState','enableLocalCache','/universer-api/license/formula/limit/done','67520LmgVLa','_setFormulaLimitStatus','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','...','_beforeCloseService','_onCursorUpdate','post','invokeId','ICommandService','EMAIL_VERIFY_CODE_MISMATCH','shareReplay','getActiveSheet','functionsExecutedState','AWAITING_WITH_PENDING','_id','parse','APPLY_REJECT','6609474JJFrTC','createElement','getItem','_currentUsage','HTTPService','@univerjs/network','_color','getMergeData','CHANGESET_REVISION_CONFILICT','UniverCore','SetFormulaCalculationStartMutation','column','attrs','_updateURLWithCurrentState','handleInsertRow','REDEMPTION_CODE_FULLY_REDEEMED','IBeforeCloseService','assignAColorForMemberID','useObservable','_scheduleHeartbeat','CanceledError','_initStatusComponent','defs','_updateLocalCursor','INVITE_CODE_ALREADY_BOUND','REDEMPTION_INVALID_CODE','transformByState','YUUMI_URL_COL_OUT_OF_RANGE','function','deepClone','NOT_FOUND','_getMergeRange','_send','stageInfo','getRangePointData','xlink:href','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','init','defIds','color','_configService','throttleTime','Vector2','YUUMI_ALL_TABLES_IS_INVALID','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_instanceService','collabCursorState$','font','UnitStatus','CommandType','univerjs-icon\x20univerjs-icon-','38030643zYVsMR','APPLY_DUPLICATED','key','[LogService\x20Error]:\x20','on-line-icon_clip0_910_349','dirtyRanges','string','whenReady','_toggleOnline','handleInsertRangeMoveRight','_localeService','_initWindowErrorListener','row','newValue','tag','setStateCache','path','session.will-retry','DocSelectionManagerService','_releaseCalculationLimit','YUUMI_UNABLE_LOAD_URL','idSuffix','svg','Error','executeCommand','SNAPSHOT_INVALID_SNAPSHOT','DataLoaderService','displayName','_removeCollabCursors','Rect','source','exports','_handleJoinEvent','_docSkeleton','NodePositionConvertToRectRange','UniverInstanceType','MOBILE_HAS_BEEN_BOUND','fromEvent','getRelativeToViewportCoord','REDEMPTION_CODE_INACTIVE','onPointerLeave$','YUUMI_SUBSCRIPTION_NOT_FOUND','_initCommandExecutedListener','_unitOnClients','getUniverSheetInstance','getTypeOfUnitDisposed$','blue.400','_hideTimer','setAlpha','RemoveRowCommandId','filter','startRow','ticket','ENTITLE_DUP_SUBSCRIPTION','MemberService','unshift','createSocket','_initUnhandledRejectionListener','assign','shift','clsx','_docTransformSelectionsService','_notificationService','ILocalCacheService','_injector','uni.network.url-service','_startDocCollabCursor','CURRENT_STATUS_CANNOT_OPERATE','unit','ITransformService','off-line-icon','use','unsubscribe','fromEventSubject','DeleteRangeMoveUpCommandId','setShapeProps','_checkCalculationAvailable','M0\x200H16V16H0z','collab-client.tooltip.reconnect','_anchor','code','collabStatus.conflict','_getSaveTimeout','_renderManagerService','_transformService','unhandledrejection','LICENSE_EXPORT_SIZE_EXCEEDED','origin','setConfig','random','VIEW_MAIN','BuiltInUIPart','_initDependencies','skeleton','height','_maxFormulaLimit','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','makeDirty','INVITE_CODE_HAS_BEEN_UES','getCellPositionByOffset','dispose$','getUnit','_scene','doc.mutation.rich-text-editing','size','SUBMIT_CHANGESET_TIMEOUT','min','defineProperty','saveTaskMap','getSkeleton','USERS_LEAVE','USER_NOT_INVITED_CODE','InsertRangeMoveRightCommandId','CollaborationEvent','InsertColCommandId','REDEMPTION_USER_REDEEM_TIMES_EXCEED','onCommandExecuted','takeUntil','_hovered','CLOSE_ROOM','_revisionService','_transformUndoRedoStack','disposeWithMe','ENTITLE_CHAT_LIMIT_EXCEED','ENSURE_SNAPSHOT_EXECUTION','parseInt','SheetSkeletonManagerService','moveTo','stage','pushState','updateOfflineData','UniverProCollaborationClient','transformStateCache','_initResize','getStateCache','setTimeout','_colorIndex','removeEventListener','_memberService','beforeCommandExecuted','_handleEvent','ISocketService','_collaborationUIEventService','url(#on-line-icon_clip0_910_349)','_initStatusListener','AWAITING','mutations','getSheetId','sessionStatus$','distinctUntilChanged','transformSelections','_roomMembers$','Subject','_messageService','error','url(#$1','@univerjs/drawing','entries','collabStatus.syncing','ISnapshotServerService','_showGuardMessage','getOffsetConfig','UNRECOGNIZED','getSheetObject','_handleHover','transformRemoteChangeset','isTransformMutationFailure','getCoordByCell','wsSessionTicketUrl','Optional','getCollabCursors$','amd','_startCalculationLimit','_cursorInfo$','collabStatus.fetchMiss','_collaborationSessionService','CollaborationController','replaceDocRanges','_localStorageService','white','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','APPLY_NON_SEQUENTIAL_REVISION','_collaborationController','_anchorDot','current','getMemberID','_initEvent','currentTheme$','width','getTypeOfUnitAdded$','startFormulaLimitUrl','_drawRectRange','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','exhaustSavingTask','ERROR_AGAIN','rxjs/operators','clipPath','OTHER_CLIENTS_EDITING','fillText','getformulaLimitStatusUrl','UniverProCollaboration','roomMembers','EffectRefRangId','toStringTag','setInterval','LocaleService','fillStyle','ENTITLE_INVALID_COUPON_CODE','IURLService','requireSession','children','map','getValue','INVALID_INVITE_CODE','mapTo','stack','_session','/universer-api/license/formula/limit/start','UPDATE_CURSOR','_heartbeatTimer','_handleLeaveEvent','show','SUCCESS','_docClipboardService','selections','/universer-api/license/formula/limit/status','[RemoteUniscriptService]:\x20no\x20focused\x20unit','SNAPSHOT_HAS_BEEN_REMOVED','_collabCursorController','maxFormulaLimit','UniverSheetsUi','ENTITLE_INSUFFICIENT_QUOTA','m2Prime','_getFormulaLimitStatus','addObject','getUnitId','_getScale','top','UniverCollaborationClientUIPlugin','onPointerMove$','_getSheetObject','_document','toString','debounce','round','lineTo','_localCacheService','@univerjs/design','CONFLICT','removeParam','clearInterval','TEXT_RANGE_LAYER_INDEX','subscribeEvent','off-line-icon_clip0_910_343','forwardRef','UniverEngineFormula','NodePositionConvertToCursor','catch','PY_RUNTIME_SCRIPT_ERROR','lineno','Unknown\x20user','sheetId','on-line-icon','limitInfo','collab-text-range-','SetTextSelectionsOperation','setActiveRange','_collabCursorState$','getCurrent','beginPath','@univerjs/core','green.600','ENTITLE_REPORT_LIMIT_EXCEED','DocCollaborationEntity','deserializeRangeWithSheet','WECHAT_HAS_BEEN_BOUND','ENTITLE_USE_COUPON_NOT_1ST_TRADE','toRgbString','OFFLINE','reason','_transformHistoryAndStateStack','Plugin','result','DependentOn','collaboration.offline-data-not-saved','disposeUnit','body','_onRefRangeChange','FormulaExecutedStateType','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','@univerjs/sheets-ui','LICENSE_MAX_UNITS_EXCEEDED','debounceTime','ALREADY_EXISTS','DocIMEInputManagerService','setItem','setParam','executionId','_status$','WebURLService','subunit','none','CollaborationUIEventService','_docSkeletonManagerService','restore','_monkeyPatchLogService','symbol','history','IMessageService','CollaborationSessionService','getColorFromTheme','onPointerEnter$','handleInsertRangeMoveDown','_onCursorDelete','getCellMatrix','currentColor','_docSyncEditingCollabCursorService','1em','Workbook','endRow','_online','currentUsage','stringify','Module','_textBubble','now','isActive','_refreshCollabCursors','search','subscribe','onStarting','_taskIds','MOBILE_VERIFY_CODE_MISMATCH','isEditing','switchMap','IRenderManagerService','RegularPolygon','setUndoRedoMutationParamsCache','_univerInstanceService','@univerjs/docs-ui','operators','jiqing.500','REDEMPTION_CODE_HAS_BEEN_CREATED','YUUMI_NO_CUBOID_FOR_QUESTION','Injector','_handleHeartbeatEvent','serializeRangeWithSheet','_imageIoService','START_CALCULATION','isArray','collabStatus.offline','touchDependencies','DocSkeletonManagerService','collabStatus.synced','DATA_SOURCE_TOO_LARGE','SheetsSelectionsService','React','INVITE_CODE_REQUIRED','dispose','_setupSubUnitSync','with','syncEditingCollabCursor','subUnitId','react/jsx-runtime','_colorAssignService','SOCKET_FAILED_RETRY','_init','_range','set','cursorInfo$','_scheduleSaving','push','IConfigService','UNIVER_SHEET','text','getFocusedUnit','@univerjs/sheets','SetDocZoomRatioOperation','_labelPosition','transformIMECache','@univerjs/engine-render','getSheetBySheetId','get','_initCommandInterceptor','_collabSessionService','save','endColumn','Inject','_docStateChangeManagerService','COMPLETION_FINISHED','TRANSFORM_CHANGE_OBSERVABLE_TYPE','/universer-api/frontend/logs','getMember','SetFormulaCalculationNotificationMutation','has','params','_updateCollabCursors','_urlService','_cursor','EMAIL_HAS_BEEN_BOUND','getLocalCacheKey','IUIPartsService','getOwnPropertyDescriptor','_name','searchParams','_draw','_assignedColors','_uploadLog','REDEMPTION_USER_NOT_ELIGIBLE','editingUnit','_doCreateSocket','3415986kBKNKB','jsx','ACTIVE_UNIT_EVENT_CHANNEL','5870396VZSIYw','contains','_registerDependencies','getColor','LICENSE_IMPORT_SIZE_EXCEEDED','Shape','href','_initEntityListener','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','TOO_MANY_REQUESTS','collab-rect-range-','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getViewport','urlChange$','ThemeService','[Unhandled\x20Rejection]:\x20','getVpScrollXYInfoByPosToVp','_hover','YUUMI_AI_RUN_FAILED','SessionStatus','LICENSE_DISTRO_REJECTED','runId','USER_IS_ANONYMOUS','connectInjector','_sheetSkeletonManagerService','session.connection-failed','_entities','_docTransformStateCacheService','Failed','RichTextEditingMutation','_shapes','collab-text-anchor-','getCurrentUnitForType','PAYMENT_CHANNEL_NOT_SUPPORT','Rectangle','getAncestorScale','bottom','selection','_docTransformIMECacheService','getParam'];_0x1f30=function(){return _0x144e7f;};return _0x1f30();}function _0x2163(_0x36a24c,_0x5f8c48){_0x36a24c=_0x36a24c-0x198;const _0x1f3066=_0x1f30();let _0x2163e9=_0x1f3066[_0x36a24c];return _0x2163e9;}(function(_0x541fd9,_0x486123){const _0x45b5df=_0x2163,_0x414479=_0x541fd9();while(!![]){try{const _0x4c15b4=parseInt(_0x45b5df(0x39c))/0x1*(parseInt(_0x45b5df(0x3d2))/0x2)+-parseInt(_0x45b5df(0x331))/0x3+parseInt(_0x45b5df(0x3d1))/0x4*(parseInt(_0x45b5df(0x44c))/0x5)+parseInt(_0x45b5df(0x45d))/0x6+parseInt(_0x45b5df(0x334))/0x7+parseInt(_0x45b5df(0x43a))/0x8+parseInt(_0x45b5df(0x490))/0x9*(-parseInt(_0x45b5df(0x38a))/0xa);if(_0x4c15b4===_0x486123)break;else _0x414479['push'](_0x414479['shift']());}catch(_0x4439ad){_0x414479['push'](_0x414479['shift']());}}}(_0x1f30,0xdfc8a),function(_0x3cf91d,_0x3c3210){const _0x4d152e=_0x2163;typeof exports==_0x4d152e(0x42d)&&typeof module<'u'?_0x3c3210(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==_0x4d152e(0x479)&&define[_0x4d152e(0x241)]?define([_0x4d152e(0x1b5),_0x4d152e(0x301),_0x4d152e(0x433),_0x4d152e(0x2a4),'@univerjs/ui',_0x4d152e(0x442),_0x4d152e(0x28d),_0x4d152e(0x3a2),'@univerjs/rpc',_0x4d152e(0x30e),_0x4d152e(0x312),_0x4d152e(0x462),_0x4d152e(0x2e9),_0x4d152e(0x232),_0x4d152e(0x3b2),'@univerjs/docs','@univerjs/engine-formula',_0x4d152e(0x259),_0x4d152e(0x2b8)],_0x3c3210):(_0x3cf91d=typeof globalThis<'u'?globalThis:_0x3cf91d||self,_0x3c3210(_0x3cf91d['UniverProCollaborationClientUi']={},_0x3cf91d[_0x4d152e(0x2fa)],_0x3cf91d[_0x4d152e(0x219)],_0x3cf91d[_0x4d152e(0x466)],_0x3cf91d[_0x4d152e(0x387)],_0x3cf91d[_0x4d152e(0x442)],_0x3cf91d[_0x4d152e(0x3b9)],_0x3cf91d['React'],_0x3cf91d['UniverRpc'],_0x3cf91d[_0x4d152e(0x3d0)],_0x3cf91d['UniverEngineRender'],_0x3cf91d['UniverNetwork'],_0x3cf91d[_0x4d152e(0x3cf)],_0x3cf91d[_0x4d152e(0x40d)],_0x3cf91d[_0x4d152e(0x25e)],_0x3cf91d[_0x4d152e(0x3bd)],_0x3cf91d[_0x4d152e(0x295)],_0x3cf91d[_0x4d152e(0x442)][_0x4d152e(0x2ea)],_0x3cf91d[_0x4d152e(0x27c)]));}(this,function(_0x109cc1,_0x3d7e11,_0x463ba0,_0x4ce188,_0x577183,_0x4d6cca,_0x523600,_0x29b3ac,_0x5aaaee,_0x1fcf92,_0xcd5ffc,_0x1d4876,_0x1bfa4c,_0x31c46d,_0x5f3c3e,_0x4ebf52,_0xf94d0f,_0x133836,_0x406458){'use strict';const _0x28c363=_0x2163;var _0x4ff067=Object[_0x28c363(0x201)],_0xf5aeaf=(_0x2c6513,_0x1de0e3,_0x5dd025)=>_0x1de0e3 in _0x2c6513?_0x4ff067(_0x2c6513,_0x1de0e3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5dd025}):_0x2c6513[_0x1de0e3]=_0x5dd025,_0x2002db=(_0x3d50b8,_0x5e0f05,_0x1d13dd)=>_0xf5aeaf(_0x3d50b8,typeof _0x5e0f05!=_0x28c363(0x2c8)?_0x5e0f05+'':_0x5e0f05,_0x1d13dd);function _0x3735e6({ref:_0x2f2530,..._0x5c8326}){const _0x10de19=_0x28c363,{icon:_0x5d9797,id:_0x468ac6,className:_0x3163ec,extend:_0x195ffb,..._0x2b27bf}=_0x5c8326,_0xda3322=(_0x10de19(0x48f)+_0x468ac6+'\x20'+(_0x3163ec||''))['trim'](),_0xc51ca8=_0x29b3ac['useRef']('_'+_0x2e5f45());return _0x49dea5(_0x5d9797,''+_0x468ac6,{'defIds':_0x5d9797[_0x10de19(0x483)],'idSuffix':_0xc51ca8[_0x10de19(0x24e)]},{'ref':_0x2f2530,'className':_0xda3322,..._0x2b27bf},_0x195ffb);}function _0x49dea5(_0x312c7b,_0x1c9b4a,_0xcdc1c2,_0x117774,_0x652577){const _0x5e51ac=_0x28c363;return _0x29b3ac['createElement'](_0x312c7b['tag'],{'key':_0x1c9b4a,..._0x39af35(_0x312c7b,_0xcdc1c2,_0x652577),..._0x117774},(_0x414693(_0x312c7b,_0xcdc1c2)[_0x5e51ac(0x268)]||[])[_0x5e51ac(0x269)]((_0x222ab5,_0xa8741c)=>_0x49dea5(_0x222ab5,_0x1c9b4a+'-'+_0x312c7b[_0x5e51ac(0x1a4)]+'-'+_0xa8741c,_0xcdc1c2,void 0x0,_0x652577)));}function _0x39af35(_0x46f528,_0x231388,_0x2afced){const _0x365be7=_0x28c363,_0xcdf056={..._0x46f528[_0x365be7(0x469)]};_0x2afced!=null&&_0x2afced[_0x365be7(0x3fa)]&&_0xcdf056['fill']==='colorChannel1'&&(_0xcdf056[_0x365be7(0x37a)]=_0x2afced[_0x365be7(0x3fa)]),_0x46f528[_0x365be7(0x1a4)]===_0x365be7(0x419)&&_0xcdf056['id']&&(_0xcdf056['id']=_0xcdf056['id']+_0x231388[_0x365be7(0x1ab)]),Object['entries'](_0xcdf056)[_0x365be7(0x385)](([_0x4a95ee,_0x1ed9d0])=>{const _0x1806d6=_0x365be7;_0x4a95ee===_0x1806d6(0x419)&&typeof _0x1ed9d0=='string'&&(_0xcdf056[_0x4a95ee]=_0x1ed9d0[_0x1806d6(0x41b)](/url\(#(.*)\)/,_0x1806d6(0x231)+_0x231388[_0x1806d6(0x1ab)]+')'));});const {defIds:_0x38c757}=_0x231388;return!_0x38c757||_0x38c757[_0x365be7(0x3e9)]===0x0||(_0x46f528[_0x365be7(0x1a4)]===_0x365be7(0x1dd)&&_0xcdf056[_0x365be7(0x480)]&&(_0xcdf056[_0x365be7(0x480)]=_0xcdf056[_0x365be7(0x480)]+_0x231388[_0x365be7(0x1ab)]),Object[_0x365be7(0x233)](_0xcdf056)['forEach'](([_0x539257,_0x29e631])=>{const _0xdb7e9f=_0x365be7;typeof _0x29e631=='string'&&(_0xcdf056[_0x539257]=_0x29e631['replace'](/url\(#(.*)\)/,_0xdb7e9f(0x231)+_0x231388['idSuffix']+')'));})),_0xcdf056;}function _0x414693(_0x46a2ed,_0x572ae4){const _0x4adb15=_0x28c363;var _0x449b57;const {defIds:_0x2b019c}=_0x572ae4;return!_0x2b019c||_0x2b019c['length']===0x0?_0x46a2ed:_0x46a2ed['tag']===_0x4adb15(0x473)&&((_0x449b57=_0x46a2ed['children'])!=null&&_0x449b57[_0x4adb15(0x3e9)])?{..._0x46a2ed,'children':_0x46a2ed[_0x4adb15(0x268)][_0x4adb15(0x269)](_0x178fe6=>typeof _0x178fe6[_0x4adb15(0x469)]['id']==_0x4adb15(0x19c)&&_0x2b019c&&_0x2b019c[_0x4adb15(0x3e0)](_0x178fe6[_0x4adb15(0x469)]['id'])?{..._0x178fe6,'attrs':{..._0x178fe6[_0x4adb15(0x469)],'id':_0x178fe6[_0x4adb15(0x469)]['id']+_0x572ae4[_0x4adb15(0x1ab)]}}:_0x178fe6)}:_0x46a2ed;}function _0x2e5f45(){const _0x298f54=_0x28c363;return Math[_0x298f54(0x1ef)]()[_0x298f54(0x288)](0x24)[_0x298f54(0x37e)](0x2,0x8);}_0x3735e6[_0x28c363(0x1b1)]=_0x28c363(0x412);const _0x5ab5f3={'tag':_0x28c363(0x1ac),'attrs':{'xmlns':_0x28c363(0x3bb),'fill':_0x28c363(0x2c3),'viewBox':_0x28c363(0x376),'width':_0x28c363(0x2d3),'height':_0x28c363(0x2d3)},'children':[{'tag':'g','attrs':{'clipPath':_0x28c363(0x3b6)},'children':[{'tag':_0x28c363(0x1a6),'attrs':{'stroke':_0x28c363(0x2d1),'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':_0x28c363(0x28a),'strokeLinejoin':_0x28c363(0x28a),'strokeWidth':1.2}}]},{'tag':_0x28c363(0x473),'attrs':{},'children':[{'tag':_0x28c363(0x25a),'attrs':{'id':_0x28c363(0x293)},'children':[{'tag':'path','attrs':{'fill':_0x28c363(0x249),'d':_0x28c363(0x1e3)}}]}]}],'defIds':[_0x28c363(0x293)]},_0x4f7356=_0x29b3ac[_0x28c363(0x294)](function(_0x37be74,_0x4d0202){const _0x37ffcb=_0x28c363;return _0x29b3ac[_0x37ffcb(0x45e)](_0x3735e6,Object[_0x37ffcb(0x1d0)]({},_0x37be74,{'id':_0x37ffcb(0x1dc),'ref':_0x4d0202,'icon':_0x5ab5f3}));});_0x4f7356['displayName']=_0x28c363(0x447);const _0x454177={'tag':_0x28c363(0x1ac),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x28c363(0x2c3),'viewBox':_0x28c363(0x381),'width':_0x28c363(0x2d3),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x28c363(0x225)},'children':[{'tag':_0x28c363(0x1a6),'attrs':{'stroke':_0x28c363(0x2d1),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x28c363(0x28a),'strokeLinejoin':_0x28c363(0x28a),'strokeWidth':1.2}}]},{'tag':_0x28c363(0x473),'attrs':{},'children':[{'tag':_0x28c363(0x25a),'attrs':{'id':_0x28c363(0x19a)},'children':[{'tag':'path','attrs':{'fill':_0x28c363(0x249),'d':_0x28c363(0x1e3),'transform':_0x28c363(0x379)}}]}]}],'defIds':[_0x28c363(0x19a)]},_0x29c408=_0x29b3ac['forwardRef'](function(_0x1d1616,_0x5c0c4e){const _0x3fd110=_0x28c363;return _0x29b3ac[_0x3fd110(0x45e)](_0x3735e6,Object['assign']({},_0x1d1616,{'id':_0x3fd110(0x29c),'ref':_0x5c0c4e,'icon':_0x454177}));});_0x29c408[_0x28c363(0x1b1)]=_0x28c363(0x3ca);function _0x4127e1(_0x2cbd38){const _0x22e4be=_0x28c363;switch(_0x2cbd38){case _0x463ba0['CollaborationStatus']['OFFLINE']:return _0x22e4be(0x2f4);case _0x463ba0[_0x22e4be(0x3b7)]['CONFLICT']:return _0x22e4be(0x1e7);case _0x463ba0[_0x22e4be(0x3b7)]['FETCH_MISS']:return _0x22e4be(0x244);case _0x463ba0[_0x22e4be(0x3b7)][_0x22e4be(0x3c4)]:return'collabStatus.notCollab';case _0x463ba0[_0x22e4be(0x3b7)][_0x22e4be(0x227)]:case _0x463ba0[_0x22e4be(0x3b7)][_0x22e4be(0x459)]:return _0x22e4be(0x234);case _0x463ba0['CollaborationStatus'][_0x22e4be(0x439)]:case _0x463ba0[_0x22e4be(0x3b7)][_0x22e4be(0x3e7)]:return _0x22e4be(0x2f7);}}function _0x466448(_0x3a449d){const _0x38bb80=_0x28c363,{status$:_0x2f8940}=_0x3a449d,_0x5b9d0f=_0x577183[_0x38bb80(0x46f)](_0x2f8940,_0x463ba0['CollaborationStatus']['NOT_COLLAB']),_0x18df60=_0x577183['useDependency'](_0x4ce188[_0x38bb80(0x263)]),_0x37ed8d=_0x577183['useDependency'](_0x463ba0[_0x38bb80(0x2cb)]),_0x4c61f3=_0x5b9d0f!==_0x463ba0[_0x38bb80(0x3b7)][_0x38bb80(0x2ac)],_0xe502c6=_0x18df60['t'](_0x4127e1(_0x5b9d0f)),_0x4d7de6=_0x4c61f3?_0x3d7e11['jsx'](_0x29c408,{}):_0x3d7e11[_0x38bb80(0x332)](_0x4f7356,{}),_0x28d0bb=_0x29b3ac['useCallback'](()=>{_0x4c61f3||_0x37ed8d['reconnect']();},[_0x4c61f3,_0x37ed8d]);function _0x54a851(){const _0x1db42c=_0x38bb80;return _0x3d7e11['jsxs'](_0x1db42c(0x422),{'className':'univer-flex\x20univer-items-center','onClick':_0x28d0bb,'children':[_0x3d7e11[_0x1db42c(0x332)]('div',{'className':_0x523600[_0x1db42c(0x1d2)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x4c61f3,'univer-text-red-500':!_0x4c61f3}),'children':_0x4d7de6}),_0x3d7e11[_0x1db42c(0x332)](_0x1db42c(0x422),{'className':_0x1db42c(0x24a),'children':_0xe502c6})]});}return _0x4c61f3?_0x54a851():_0x3d7e11[_0x38bb80(0x332)](_0x523600[_0x38bb80(0x36c)],{'title':_0x18df60['t'](_0x38bb80(0x1e4)),'children':_0x54a851()});}var _0x29cc3a=Object['getOwnPropertyDescriptor'],_0x2c0dfe=(_0x35349a,_0x3138d5,_0x4352d3,_0x4e2ba1)=>{const _0x70e69a=_0x28c363;for(var _0x4ddea7=_0x4e2ba1>0x1?void 0x0:_0x4e2ba1?_0x29cc3a(_0x3138d5,_0x4352d3):_0x3138d5,_0x202fb4=_0x35349a[_0x70e69a(0x3e9)]-0x1,_0x418f8c;_0x202fb4>=0x0;_0x202fb4--)(_0x418f8c=_0x35349a[_0x202fb4])&&(_0x4ddea7=_0x418f8c(_0x4ddea7)||_0x4ddea7);return _0x4ddea7;},_0x3e25e7=(_0x3d34f2,_0x391b88)=>(_0x12e9ec,_0x10af42)=>_0x391b88(_0x12e9ec,_0x10af42,_0x3d34f2);_0x109cc1['DesktopCollaborationStatusDisplayController']=class extends _0x4ce188['Disposable']{constructor(_0x548ff3,_0x59ee79,_0x1db328,_0x120473){const _0x563d66=_0x28c363;super(),_0x2002db(this,_0x563d66(0x2c0),new _0x4d6cca[(_0x563d66(0x36e))](_0x463ba0['CollaborationStatus'][_0x563d66(0x3c4)])),(this[_0x563d66(0x2e8)]=_0x548ff3,this[_0x563d66(0x1d6)]=_0x59ee79,this[_0x563d66(0x24c)]=_0x1db328,this[_0x563d66(0x3dd)]=_0x120473,this[_0x563d66(0x472)](),this[_0x563d66(0x226)]());}[_0x28c363(0x226)](){const _0x10d6ed=_0x28c363;this['disposeWithMe'](this[_0x10d6ed(0x2e8)]['focused$'][_0x10d6ed(0x397)](_0x4d6cca[_0x10d6ed(0x2e4)](()=>{const _0x42dfb1=_0x10d6ed,_0x24da62=this['_univerInstanceService'][_0x42dfb1(0x30d)]();return _0x24da62?this['_collaborationController']['getCollabEntity$'](_0x24da62[_0x42dfb1(0x281)]()):_0x4d6cca['of'](null);}),_0x4d6cca[_0x10d6ed(0x2e4)](_0x1437cf=>_0x1437cf?_0x1437cf[_0x10d6ed(0x35c)]:_0x4d6cca['of'](_0x463ba0['CollaborationStatus'][_0x10d6ed(0x3c4)])))[_0x10d6ed(0x2df)](_0x1cca20=>{const _0x37ad53=_0x10d6ed;this[_0x37ad53(0x2c0)][_0x37ad53(0x395)](_0x1cca20);}));}[_0x28c363(0x472)](){const _0x26f12e=_0x28c363;this[_0x26f12e(0x210)](this[_0x26f12e(0x3dd)]['registerComponent'](_0x577183[_0x26f12e(0x1f1)][_0x26f12e(0x363)],()=>_0x577183[_0x26f12e(0x34b)](_0x45d1cf({'status$':this['_status$'][_0x26f12e(0x373)]()}),this['_injector'])));}},_0x109cc1[_0x28c363(0x3ac)]=_0x2c0dfe([_0x3e25e7(0x0,_0x4ce188[_0x28c363(0x398)]),_0x3e25e7(0x1,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x2ee)])),_0x3e25e7(0x2,_0x4ce188[_0x28c363(0x319)](_0x463ba0[_0x28c363(0x246)])),_0x3e25e7(0x3,_0x577183[_0x28c363(0x327)])],_0x109cc1[_0x28c363(0x3ac)]);function _0x45d1cf(_0x1b3cf0){const {status$:_0x5dc0ef}=_0x1b3cf0;return function(){const _0x553d86=_0x2163;return _0x3d7e11[_0x553d86(0x332)](_0x466448,{'status$':_0x5dc0ef});};}const _0x204646=_0x4ce188['createIdentifier'](_0x28c363(0x1d7));var _0x2d9acb=Object[_0x28c363(0x328)],_0x4a9e8c=(_0x14c9e3,_0xd715e,_0x2b7858,_0x5f1ee1)=>{const _0x4aa59f=_0x28c363;for(var _0x5981b6=_0x5f1ee1>0x1?void 0x0:_0x5f1ee1?_0x2d9acb(_0xd715e,_0x2b7858):_0xd715e,_0xcad15f=_0x14c9e3[_0x4aa59f(0x3e9)]-0x1,_0x46e82e;_0xcad15f>=0x0;_0xcad15f--)(_0x46e82e=_0x14c9e3[_0xcad15f])&&(_0x5981b6=_0x46e82e(_0x5981b6)||_0x5981b6);return _0x5981b6;},_0x5b9760=(_0xe34b9,_0x4e7358)=>(_0x15e131,_0x1db19b)=>_0x4e7358(_0x15e131,_0x1db19b,_0xe34b9);_0x109cc1[_0x28c363(0x443)]=class extends _0x4ce188['RxDisposable']{constructor(_0x550cda,_0x382e69,_0x3d7231,_0x2ab9b0,_0x429153){const _0x133f1d=_0x28c363;super(),this['_urlService']=_0x550cda,this[_0x133f1d(0x3ff)]=_0x382e69,this[_0x133f1d(0x3b3)]=_0x3d7231,this[_0x133f1d(0x37f)]=_0x2ab9b0,_0x429153?_0x429153==null||_0x429153[_0x133f1d(0x19d)]()[_0x133f1d(0x3f1)](()=>this[_0x133f1d(0x304)]()):(this[_0x133f1d(0x3ff)][_0x133f1d(0x3e5)](_0x133f1d(0x39d),_0x133f1d(0x33c)),this[_0x133f1d(0x304)]());}async[_0x28c363(0x304)](){const _0x458b0c=_0x28c363,_0x4b6a3e=this['_urlService']['getParam']('unit'),_0xdaa84=this['_urlService'][_0x458b0c(0x35b)](_0x458b0c(0x372)),_0x48a23a=this[_0x458b0c(0x323)][_0x458b0c(0x35b)](_0x458b0c(0x2c2));if(!_0x4b6a3e||!_0xdaa84){this['_logService'][_0x458b0c(0x3e5)](_0x458b0c(0x39d),_0x458b0c(0x33f));return;}const _0x3d9b01=await this['_dataLoaderService']['loadUnit'](_0x4b6a3e,Number(_0xdaa84),_0x48a23a);_0x3d9b01&&_0x3d9b01 instanceof _0x4ce188[_0x458b0c(0x2d4)]&&this['_setupSubUnitSync'](_0x3d9b01);}async[_0x28c363(0x2fd)](_0x29a816){const _0x3dbc37=_0x28c363;await this[_0x3dbc37(0x40c)](_0x29a816),_0x29a816['activeSheet$'][_0x3dbc37(0x397)](_0x4d6cca[_0x3dbc37(0x20b)](this[_0x3dbc37(0x1fa)]))['subscribe'](_0x4a7772=>{_0x4a7772&&this['_updateURLWithCurrentState'](_0x4a7772);}),this[_0x3dbc37(0x323)][_0x3dbc37(0x341)][_0x3dbc37(0x397)](_0x4d6cca['takeUntil'](this[_0x3dbc37(0x1fa)]))[_0x3dbc37(0x2df)](()=>this['_updateSubUnitFromURLParams'](_0x29a816));}['_updateURLWithCurrentState'](_0x187edd,_0xc1d051=!0x1){const _0xbc2db=_0x28c363,_0x223bab=this[_0xbc2db(0x323)][_0xbc2db(0x35b)](_0xbc2db(0x2c2));_0x187edd[_0xbc2db(0x229)]()!==_0x223bab&&this['_urlService'][_0xbc2db(0x2be)](_0xbc2db(0x2c2),_0x187edd[_0xbc2db(0x229)](),_0xc1d051);}async['_updateSubUnitFromURLParams'](_0x590816){const _0x4533c4=_0x28c363;var _0x34c69e;const _0x3c3f2c=this['_urlService'][_0x4533c4(0x35b)](_0x4533c4(0x2c2));if(!_0x3c3f2c||!_0x590816[_0x4533c4(0x313)](_0x3c3f2c)){const _0x257d01=_0x590816['getUnhiddenWorksheets']()[0x0],_0x124f14=_0x590816['getSheetBySheetId'](_0x257d01);if(!_0x124f14)return;this[_0x4533c4(0x46a)](_0x124f14,!0x0),await this[_0x4533c4(0x3b3)][_0x4533c4(0x1ae)](_0x1fcf92[_0x4533c4(0x3c5)]['id'],{'unitId':_0x590816['getUnitId'](),'subUnitId':_0x257d01});return;}((_0x34c69e=_0x590816[_0x4533c4(0x457)]())==null?void 0x0:_0x34c69e[_0x4533c4(0x229)]())!==_0x3c3f2c&&await this['_commandService']['executeCommand'](_0x1fcf92[_0x4533c4(0x3c5)]['id'],{'unitId':_0x590816['getUnitId'](),'subUnitId':_0x3c3f2c});}},_0x109cc1['CollaborationDataLoaderController']=_0x4a9e8c([_0x5b9760(0x0,_0x204646),_0x5b9760(0x1,_0x4ce188[_0x28c363(0x367)]),_0x5b9760(0x2,_0x4ce188['ICommandService']),_0x5b9760(0x3,_0x4ce188[_0x28c363(0x319)](_0x463ba0[_0x28c363(0x1b0)])),_0x5b9760(0x4,_0x4ce188[_0x28c363(0x23f)](_0x5aaaee[_0x28c363(0x3ee)]))],_0x109cc1['CollaborationDataLoaderController']);var _0x1322f3=Object['getOwnPropertyDescriptor'],_0x20f952=(_0x13691c,_0x183f9e,_0x2e2323,_0x906436)=>{for(var _0x166b0e=_0x906436>0x1?void 0x0:_0x906436?_0x1322f3(_0x183f9e,_0x2e2323):_0x183f9e,_0x1aaa61=_0x13691c['length']-0x1,_0x547188;_0x1aaa61>=0x0;_0x1aaa61--)(_0x547188=_0x13691c[_0x1aaa61])&&(_0x166b0e=_0x547188(_0x166b0e)||_0x166b0e);return _0x166b0e;},_0x1c6190=(_0x1ca324,_0x55a123)=>(_0x18b992,_0x16ff3f)=>_0x55a123(_0x18b992,_0x16ff3f,_0x1ca324);let _0x288851=class extends _0x4ce188[_0x28c363(0x3f3)]{constructor(_0xc87200,_0x5c359b){const _0x55cd16=_0x28c363;super(),this[_0x55cd16(0x275)]=_0xc87200,this[_0x55cd16(0x2f1)]=_0x5c359b,this[_0x55cd16(0x304)]();}[_0x28c363(0x304)](){const _0x5c9e1d=_0x28c363,_0xc96039=this;this['disposeWithMe'](this[_0x5c9e1d(0x275)]['addClipboardHook']({'onBeforePasteImage':async _0x464539=>{const _0x26c265=_0x5c9e1d,_0x5e59cc=await _0xc96039['_imageIoService']['saveImage'](_0x464539);return _0x5e59cc?{'source':_0x5e59cc[_0x26c265(0x1b4)],'imageSourceType':_0x5e59cc[_0x26c265(0x3f5)]}:null;}}));}};_0x288851=_0x20f952([_0x1c6190(0x0,_0x1bfa4c['IDocClipboardService']),_0x1c6190(0x1,_0x31c46d[_0x28c363(0x414)])],_0x288851);const _0x7590f5=[_0x28c363(0x3a1),_0x28c363(0x2eb),_0x28c363(0x2a5),_0x28c363(0x3c9),_0x28c363(0x1c4),'yellow.400'];class _0x5937ca extends _0x4ce188[_0x28c363(0x3ba)]{constructor(){super(...arguments),_0x2002db(this,'_assignedColors',new Map()),_0x2002db(this,'_colorIndex',0x0);}[_0x28c363(0x46e)](_0x282e8c){const _0x429c35=_0x28c363;if(this['_assignedColors']['has'](_0x282e8c))return this[_0x429c35(0x32c)][_0x429c35(0x314)](_0x282e8c);const _0xcefbba=_0x7590f5[this[_0x429c35(0x21e)]];return this[_0x429c35(0x21e)]=(this['_colorIndex']+0x1)%_0x7590f5['length'],this[_0x429c35(0x32c)][_0x429c35(0x306)](_0x282e8c,_0xcefbba),_0xcefbba;}}function _0x10a2e2(_0xb73db1){const _0x1eeb22=_0x28c363;let _0x134675='';for(const _0x2e238f of _0xb73db1){const {startOffset:_0x3a0d0e,endOffset:_0x56b9b4,isActive:_0x2e2f14,rangeType:_0x55a8a3,segmentId:_0x1a4387,segmentPage:_0x2e4a89}=_0x2e238f;_0x134675[_0x1eeb22(0x3e9)]&&(_0x134675+=','),_0x134675+=_0x3a0d0e+':'+_0x56b9b4+':'+(_0x2e2f14?'1':'0')+':'+_0x55a8a3+':'+_0x1a4387+':'+_0x2e4a89;}return _0x134675;}function _0x57accd(_0x204702){const _0x277624=_0x28c363,_0x1eabaf=_0x204702[_0x277624(0x3e6)](','),_0x8c21a8=[];for(const _0x4b87f1 of _0x1eabaf){const [_0x32bf0c,_0x4a2bcd,_0x8a8261,_0x212a61,_0x343095,_0x257ddd]=_0x4b87f1[_0x277624(0x3e6)](':');_0x8c21a8[_0x277624(0x309)]({'startOffset':Number(_0x32bf0c),'endOffset':Number(_0x4a2bcd),'collapsed':_0x32bf0c===_0x4a2bcd,'isActive':_0x8a8261==='1','rangeType':_0x212a61===_0x4ce188[_0x277624(0x3fc)]['TEXT']?_0x4ce188[_0x277624(0x3fc)]['TEXT']:_0x4ce188[_0x277624(0x3fc)][_0x277624(0x43f)],'segmentId':typeof _0x343095==_0x277624(0x19c)?String(_0x343095):'','segmentPage':Number(_0x257ddd!=null?_0x257ddd:-0x1)});}return _0x8c21a8[_0x277624(0x3e3)](_0x246ff8=>_0x246ff8[_0x277624(0x2dc)])||(_0x8c21a8[0x0]['isActive']=!0x0),_0x8c21a8;}class _0x53ce46 extends _0x4ce188[_0x28c363(0x3f3)]{constructor(){const _0x5e3b53=_0x28c363;super(...arguments),_0x2002db(this,_0x5e3b53(0x2a1),new _0x4d6cca[(_0x5e3b53(0x36e))](null)),_0x2002db(this,_0x5e3b53(0x48b),this['_collabCursorState$']['asObservable']());}[_0x28c363(0x2ff)](_0x2311d8){const _0x24b3ad=_0x28c363,{unitID:_0x4b49ef,memberID:_0x2adf39,textRanges:_0x33ac34}=_0x2311d8,_0x22e023=_0x10a2e2(_0x33ac34);if(_0x22e023==='')return;const _0x33bbcd={'unitID':_0x4b49ef,'memberID':_0x2adf39,'selection':_0x22e023};this[_0x24b3ad(0x2a1)][_0x24b3ad(0x395)](_0x33bbcd);}}var _0x1b6d9f=Object[_0x28c363(0x328)],_0x3d3717=(_0x1e994c,_0x3cc13a,_0x485941,_0x346c0e)=>{for(var _0x155deb=_0x346c0e>0x1?void 0x0:_0x346c0e?_0x1b6d9f(_0x3cc13a,_0x485941):_0x3cc13a,_0x106954=_0x1e994c['length']-0x1,_0x4dd9c3;_0x106954>=0x0;_0x106954--)(_0x4dd9c3=_0x1e994c[_0x106954])&&(_0x155deb=_0x4dd9c3(_0x155deb)||_0x155deb);return _0x155deb;},_0xca0963=(_0x5e678f,_0x397edf)=>(_0x56f656,_0x38710c)=>_0x397edf(_0x56f656,_0x38710c,_0x5e678f);const _0x5ef029=0x12c,_0x184cdd=0x64;let _0x33dd8a=class extends _0x4ce188['RxDisposable']{constructor(_0x48036b,_0x46d634,_0x230f74,_0x2bddab,_0x734b35,_0x25330a,_0x36325,_0x5397f2,_0x4a4c88){const _0x12a29f=_0x28c363;super(),_0x2002db(this,_0x12a29f(0x2d6),!0x1),_0x2002db(this,_0x12a29f(0x304),!0x1),_0x2002db(this,_0x12a29f(0x243),new _0x4d6cca[(_0x12a29f(0x36e))](new Map())),_0x2002db(this,_0x12a29f(0x307),this[_0x12a29f(0x243)]['asObservable']()),_0x2002db(this,_0x12a29f(0x22d),new _0x4d6cca[(_0x12a29f(0x36e))]([])),_0x2002db(this,_0x12a29f(0x430),this[_0x12a29f(0x22d)][_0x12a29f(0x397)](_0x4d6cca[_0x12a29f(0x2ba)](_0x5ef029))),_0x2002db(this,'_updateLocalCursor',_0x4ce188['debounce'](_0x36fa17=>{const _0x1bfa58=_0x12a29f,_0x157689={'eventID':_0x5f3c3e[_0x1bfa58(0x207)][_0x1bfa58(0x270)],'data':{'unitID':this[_0x1bfa58(0x3dc)],'memberID':this[_0x1bfa58(0x26e)][_0x1bfa58(0x24f)](),'selection':_0x10a2e2(_0x36fa17)}};this['_session']['send'](_0x157689,this[_0x1bfa58(0x3dc)]);},_0x184cdd)),(this['unitID']=_0x48036b,this[_0x12a29f(0x26e)]=_0x46d634,this['_injector']=_0x230f74,this[_0x12a29f(0x302)]=_0x2bddab,this[_0x12a29f(0x220)]=_0x734b35,this[_0x12a29f(0x427)]=_0x25330a,this[_0x12a29f(0x1ea)]=_0x36325,this[_0x12a29f(0x2e8)]=_0x5397f2,this[_0x12a29f(0x3b3)]=_0x4a4c88);}get['cursorInfo'](){const _0x2e6f1c=_0x28c363;return this['_cursorInfo$'][_0x2e6f1c(0x26a)]();}get[_0x28c363(0x25f)](){const _0x57b620=_0x28c363;return this[_0x57b620(0x22d)][_0x57b620(0x26a)]();}[_0x28c363(0x2fc)](){const _0x1f8d52=_0x28c363;super[_0x1f8d52(0x2fc)](),this['_cursorInfo$']['next'](new Map()),this[_0x1f8d52(0x243)][_0x1f8d52(0x402)](),this[_0x1f8d52(0x22d)][_0x1f8d52(0x395)]([]),this[_0x1f8d52(0x22d)][_0x1f8d52(0x402)]();}[_0x28c363(0x482)](){const _0x5e6afa=_0x28c363;this['_init']||(this[_0x5e6afa(0x304)]=!0x0,this[_0x5e6afa(0x26e)][_0x5e6afa(0x22a)][_0x5e6afa(0x397)](_0x4d6cca[_0x5e6afa(0x20b)](this[_0x5e6afa(0x1fa)]))['subscribe'](_0x59fdfc=>{const _0x13e1bc=_0x5e6afa;_0x59fdfc===_0x463ba0[_0x13e1bc(0x347)][_0x13e1bc(0x3ea)]?this[_0x13e1bc(0x19e)]():this[_0x13e1bc(0x425)]();}),this[_0x5e6afa(0x26e)][_0x5e6afa(0x411)][_0x5e6afa(0x397)](_0x4d6cca[_0x5e6afa(0x20b)](this[_0x5e6afa(0x1fa)]))[_0x5e6afa(0x2df)](_0x281bb2=>{const _0x1f6b5b=_0x5e6afa,_0x3432b6=_0x281bb2[_0x1f6b5b(0x37b)];_0x3432b6===_0x5f3c3e['CollaborationEvent'][_0x1f6b5b(0x270)]&&this[_0x1f6b5b(0x451)](_0x281bb2),_0x3432b6===_0x5f3c3e['CollaborationEvent'][_0x1f6b5b(0x204)]&&this[_0x1f6b5b(0x2cf)](_0x281bb2);}),this[_0x5e6afa(0x210)](this[_0x5e6afa(0x3b3)][_0x5e6afa(0x20a)](_0x1f6e0d=>{const _0x4104ad=_0x5e6afa,_0x4cf502=_0x1f6e0d[_0x4104ad(0x321)];_0x4cf502!=null&&this[_0x4104ad(0x2d6)]&&_0x1f6e0d['id']===_0x4ebf52[_0x4104ad(0x29f)]['id']&&_0x4cf502[_0x4104ad(0x39f)]===this[_0x4104ad(0x3dc)]&&_0x4cf502[_0x4104ad(0x2e3)]===!0x1&&_0x4cf502[_0x4104ad(0x438)][_0x4104ad(0x3e9)]>0x0&&this[_0x4104ad(0x474)](_0x4cf502[_0x4104ad(0x438)]);})),this[_0x5e6afa(0x427)][_0x5e6afa(0x48b)][_0x5e6afa(0x397)](_0x4d6cca['takeUntil'](this[_0x5e6afa(0x1fa)]))[_0x5e6afa(0x2df)](_0x4172a3=>{const _0x300613=_0x5e6afa;if((_0x4172a3==null?void 0x0:_0x4172a3[_0x300613(0x3dc)])!==this['unitID'])return;const _0x41b647={'eventID':_0x5f3c3e[_0x300613(0x207)][_0x300613(0x270)],'data':_0x4172a3};this[_0x300613(0x451)](_0x41b647);}),this['disposeWithMe'](this[_0x5e6afa(0x3b3)][_0x5e6afa(0x20a)](_0x5d668e=>{const _0x1e4775=_0x5e6afa;if(_0x5d668e[_0x1e4775(0x321)]==null)return;const _0x4860aa=_0x5d668e[_0x1e4775(0x321)];if(_0x5d668e['id']!==_0x4ebf52[_0x1e4775(0x351)]['id']||_0x4860aa[_0x1e4775(0x39f)]!==this['unitID'])return;const _0x288dcc={'id':'doc.mutation.rich-text-editing','params':_0x4860aa},_0x336a68=this[_0x1e4775(0x393)];for(const [_0x1c0a7e,_0x5094ac]of _0x336a68){const _0x5c41a1={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5094ac[_0x1e4775(0x438)]}},_0x5a484b=this[_0x1e4775(0x1ea)][_0x1e4775(0x3af)](_0x288dcc,_0x5c41a1,!0x1);if(_0x5f3c3e['isTransformMutationFailure'](_0x5a484b))throw _0x5a484b[_0x1e4775(0x230)];_0x336a68[_0x1e4775(0x306)](_0x1c0a7e,{..._0x5094ac,'ranges':_0x5a484b[_0x1e4775(0x27e)]['params']['textRanges']});}queueMicrotask(()=>{const _0x3f1159=_0x1e4775;this[_0x3f1159(0x243)][_0x3f1159(0x395)](_0x336a68);});})));}[_0x28c363(0x451)](_0x1b4055){const _0x5839bf=_0x28c363;var _0x4b652a,_0x1ab7f1;const {memberID:_0x31f8ce,selection:_0xc89563}=_0x1b4055['data'],_0x1f7b9a=_0x57accd(_0xc89563),_0xbeb6be=(_0x1ab7f1=(_0x4b652a=this['_memberService'][_0x5839bf(0x31e)](this[_0x5839bf(0x3dc)],_0x31f8ce))==null?void 0x0:_0x4b652a[_0x5839bf(0x429)])!=null?_0x1ab7f1:_0x5839bf(0x29a),_0x29667a={'color':this[_0x5839bf(0x302)]['assignAColorForMemberID'](_0x31f8ce),'name':_0xbeb6be,'ranges':_0x1f7b9a},_0x363882=this['cursorInfo'];_0x363882[_0x5839bf(0x306)](_0x31f8ce,_0x29667a),this[_0x5839bf(0x243)][_0x5839bf(0x395)](_0x363882);}['_onCursorDelete'](_0x4697f0){const _0x574c5a=_0x28c363,{memberID:_0x2b4df1}=_0x4697f0[_0x574c5a(0x3ad)],_0x2e0f8c=this[_0x574c5a(0x393)];_0x2e0f8c[_0x574c5a(0x409)](_0x2b4df1),this[_0x574c5a(0x243)][_0x574c5a(0x395)](_0x2e0f8c);}['_toggleOnline'](){const _0x24b635=_0x28c363;var _0x11b14b;if(this[_0x24b635(0x2d6)]=!0x0,((_0x11b14b=this['_univerInstanceService'][_0x24b635(0x30d)]())==null?void 0x0:_0x11b14b[_0x24b635(0x281)]())!==this[_0x24b635(0x3dc)])return;const _0x4ce4d4=this[_0x24b635(0x1d6)][_0x24b635(0x314)](_0x4ebf52[_0x24b635(0x1a8)])['getDocRanges']();Array[_0x24b635(0x2f3)](_0x4ce4d4)&&_0x4ce4d4[_0x24b635(0x3e9)]>0x0&&this[_0x24b635(0x474)](_0x4ce4d4);}['_toggleOffline'](){const _0x3eda52=_0x28c363;this[_0x3eda52(0x2d6)]=!0x1;}};_0x33dd8a=_0x3d3717([_0xca0963(0x2,_0x4ce188[_0x28c363(0x319)](_0x4ce188['Injector'])),_0xca0963(0x3,_0x4ce188[_0x28c363(0x319)](_0x5937ca)),_0xca0963(0x4,_0x4ce188[_0x28c363(0x319)](_0x463ba0[_0x28c363(0x1cc)])),_0xca0963(0x5,_0x4ce188[_0x28c363(0x319)](_0x53ce46)),_0xca0963(0x6,_0x5f3c3e[_0x28c363(0x1db)]),_0xca0963(0x7,_0x4ce188['IUniverInstanceService']),_0xca0963(0x8,_0x4ce188['ICommandService'])],_0x33dd8a);var _0x59492f=Object[_0x28c363(0x328)],_0x6a781c=(_0x2ed28b,_0x1c7462,_0x3500f0,_0xffc8e6)=>{const _0x474e7a=_0x28c363;for(var _0x3ad363=_0xffc8e6>0x1?void 0x0:_0xffc8e6?_0x59492f(_0x1c7462,_0x3500f0):_0x1c7462,_0x3b7b94=_0x2ed28b[_0x474e7a(0x3e9)]-0x1,_0x377d82;_0x3b7b94>=0x0;_0x3b7b94--)(_0x377d82=_0x2ed28b[_0x3b7b94])&&(_0x3ad363=_0x377d82(_0x3ad363)||_0x3ad363);return _0x3ad363;},_0x5558d0=(_0x21cb0e,_0x31740d)=>(_0x33df5c,_0x4a65d4)=>_0x31740d(_0x33df5c,_0x4a65d4,_0x21cb0e);const _0x60940e=0x12c,_0x27d173=0x64,_0x2e9a4=()=>{let _0x50a6d0=[],_0x246c64=!0x1;return _0x70b62b=>{_0x50a6d0['push'](_0x70b62b),_0x246c64||(_0x246c64=!0x0,setTimeout(()=>{const _0x1a9799=_0x2163;_0x50a6d0[_0x1a9799(0x385)](_0x24eb30=>_0x24eb30()),_0x50a6d0=[],_0x246c64=!0x1;}));};};let _0x328aa2=class extends _0x4ce188[_0x28c363(0x3f3)]{constructor(_0x2f1468,_0x1aebf1,_0x231363,_0x47b6d6,_0x1b6c94,_0x1f9ee7,_0x4363f1,_0x560d9f){const _0x442ded=_0x28c363;super(),_0x2002db(this,_0x442ded(0x2d6),!0x1),_0x2002db(this,_0x442ded(0x304),!0x1),_0x2002db(this,'_cursorInfo$',new _0x4d6cca[(_0x442ded(0x36e))](new Map())),_0x2002db(this,'cursorInfo$',this[_0x442ded(0x243)][_0x442ded(0x373)]()),_0x2002db(this,_0x442ded(0x22d),new _0x4d6cca['BehaviorSubject']([])),_0x2002db(this,_0x442ded(0x430),this[_0x442ded(0x22d)][_0x442ded(0x397)](_0x4d6cca[_0x442ded(0x2ba)](_0x60940e))),_0x2002db(this,'_updateLocalCursor',_0x4ce188[_0x442ded(0x289)]((_0x3f07f5,_0x102fb4)=>{const _0x2e491c=_0x442ded,_0x3b8d84={'eventID':_0x5f3c3e[_0x2e491c(0x207)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x2e491c(0x3dc)],'memberID':this[_0x2e491c(0x26e)][_0x2e491c(0x24f)](),'selection':_0xf94d0f[_0x2e491c(0x2f0)](_0x3f07f5,_0x102fb4['range'])}};this[_0x2e491c(0x26e)][_0x2e491c(0x3e4)](_0x3b8d84,this[_0x2e491c(0x3dc)]);},_0x27d173)),(this[_0x442ded(0x3dc)]=_0x2f1468,this[_0x442ded(0x26e)]=_0x1aebf1,this['_injector']=_0x231363,this[_0x442ded(0x302)]=_0x47b6d6,this['_memberService']=_0x1b6c94,this[_0x442ded(0x2e8)]=_0x1f9ee7,this[_0x442ded(0x3b3)]=_0x4363f1,this['_refRangeService']=_0x560d9f);}get[_0x28c363(0x393)](){const _0x5af44f=_0x28c363;return this[_0x5af44f(0x243)]['getValue']();}get[_0x28c363(0x25f)](){const _0x48d6f0=_0x28c363;return this[_0x48d6f0(0x22d)][_0x48d6f0(0x26a)]();}['dispose'](){const _0x3edf5b=_0x28c363;super[_0x3edf5b(0x2fc)](),this[_0x3edf5b(0x243)]['next'](new Map()),this[_0x3edf5b(0x243)][_0x3edf5b(0x402)](),this[_0x3edf5b(0x22d)]['next']([]),this[_0x3edf5b(0x22d)]['complete']();}[_0x28c363(0x482)](){const _0x2ccbf2=_0x28c363;this['_init']||(this[_0x2ccbf2(0x304)]=!0x0,this['_session'][_0x2ccbf2(0x22a)][_0x2ccbf2(0x397)](_0x4d6cca[_0x2ccbf2(0x20b)](this['dispose$']))[_0x2ccbf2(0x2df)](_0x19a66a=>{const _0x12cb5b=_0x2ccbf2;_0x19a66a===_0x463ba0[_0x12cb5b(0x347)]['ONLINE']?this['_toggleOnline']():this[_0x12cb5b(0x425)]();}),this[_0x2ccbf2(0x26e)]['event$'][_0x2ccbf2(0x397)](_0x4d6cca[_0x2ccbf2(0x20b)](this[_0x2ccbf2(0x1fa)]))[_0x2ccbf2(0x2df)](_0x445cea=>{const _0x22e9e4=_0x2ccbf2,_0x2514eb=_0x445cea['eventID'];_0x2514eb===_0x5f3c3e[_0x22e9e4(0x207)]['UPDATE_CURSOR']&&this[_0x22e9e4(0x451)](_0x445cea),_0x2514eb===_0x5f3c3e[_0x22e9e4(0x207)][_0x22e9e4(0x204)]&&this[_0x22e9e4(0x2cf)](_0x445cea);}),this[_0x2ccbf2(0x2b5)](),this[_0x2ccbf2(0x210)](this[_0x2ccbf2(0x3b3)][_0x2ccbf2(0x20a)](_0x55998e=>{const _0x173ee0=_0x2ccbf2;if(this[_0x173ee0(0x2d6)]&&_0x55998e['id']===_0x1fcf92[_0x173ee0(0x370)]['id']&&_0x55998e[_0x173ee0(0x321)][_0x173ee0(0x39f)]===this[_0x173ee0(0x3dc)]){const _0x1e37dc=_0x55998e[_0x173ee0(0x321)];this['_updateLocalCursor'](_0x1e37dc[_0x173ee0(0x300)],_0x1e37dc[_0x173ee0(0x276)][0x0]);}})));}[_0x28c363(0x451)](_0x42552b){const _0xc78070=_0x28c363;var _0x24e9c6,_0x14157a;const {memberID:_0x185736,selection:_0x555da3}=_0x42552b[_0xc78070(0x3ad)],{sheetName:_0x2c19c7,range:_0x5d25ff}=_0xf94d0f[_0xc78070(0x2a8)](_0x555da3),_0x2cd53={'name':(_0x14157a=(_0x24e9c6=this['_memberService'][_0xc78070(0x31e)](this[_0xc78070(0x3dc)],_0x185736))==null?void 0x0:_0x24e9c6[_0xc78070(0x429)])!=null?_0x14157a:'Unknown\x20user','range':this[_0xc78070(0x47c)](_0x2c19c7,_0x5d25ff),'sheetID':_0x2c19c7,'color':this['_colorAssignService'][_0xc78070(0x46e)](_0x185736),'selection':_0x555da3},_0x4f309f=this[_0xc78070(0x393)];_0x4f309f[_0xc78070(0x306)](_0x185736,_0x2cd53),this[_0xc78070(0x243)][_0xc78070(0x395)](_0x4f309f);}['_onCursorDelete'](_0x3b0e10){const _0x37a0cf=_0x28c363,{memberID:_0x547c2f}=_0x3b0e10[_0x37a0cf(0x3ad)],_0x2f8615=this[_0x37a0cf(0x393)];_0x2f8615['delete'](_0x547c2f),this[_0x37a0cf(0x243)][_0x37a0cf(0x395)](_0x2f8615);}[_0x28c363(0x47c)](_0x7aa476,_0x17ee18){const _0xdcab22=_0x28c363;var _0x2ba3e5,_0x341a31;const _0x261377=(_0x341a31=(_0x2ba3e5=this['_univerInstanceService'][_0xdcab22(0x1c2)](this[_0xdcab22(0x3dc)]))==null?void 0x0:_0x2ba3e5[_0xdcab22(0x313)](_0x7aa476))==null?void 0x0:_0x341a31[_0xdcab22(0x464)]();return(_0x261377==null?void 0x0:_0x261377[_0xdcab22(0x3e1)](_0x17588b=>_0x4ce188[_0xdcab22(0x356)][_0xdcab22(0x335)](_0x17588b,_0x17ee18)))||_0x17ee18;}['_onRefRangeChange'](){const _0x4372d9=_0x28c363,_0x1ffd3a=new _0x4ce188['DisposableCollection'](),_0x1b2730=_0x2e9a4(),_0x5c22b9=()=>{const _0x3c5a19=_0x2163;_0x1ffd3a[_0x3c5a19(0x2fc)]();const _0x402f6b=(_0x3bc1d9,_0x2eecc4,_0x3eee3e,_0x2d6c44)=>{const _0x10d1b5=_0x3c5a19;let _0x17f5e3=[];switch(_0x3bc1d9['id']){case _0x1fcf92[_0x10d1b5(0x260)][_0x10d1b5(0x436)]:{_0x17f5e3=_0x1fcf92[_0x10d1b5(0x38b)](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92['EffectRefRangId'][_0x10d1b5(0x1e0)]:{_0x17f5e3=_0x1fcf92['handleDeleteRangeMoveUp'](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92['EffectRefRangId'][_0x10d1b5(0x208)]:{_0x17f5e3=_0x1fcf92['handleInsertCol'](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92[_0x10d1b5(0x260)][_0x10d1b5(0x440)]:{_0x17f5e3=_0x1fcf92[_0x10d1b5(0x2ce)](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92[_0x10d1b5(0x260)][_0x10d1b5(0x206)]:{_0x17f5e3=_0x1fcf92[_0x10d1b5(0x19f)](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92[_0x10d1b5(0x260)][_0x10d1b5(0x391)]:{_0x17f5e3=_0x1fcf92[_0x10d1b5(0x46b)](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92[_0x10d1b5(0x260)]['MoveRangeCommandId']:{_0x17f5e3=_0x1fcf92[_0x10d1b5(0x42c)](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92['EffectRefRangId'][_0x10d1b5(0x405)]:{_0x17f5e3=_0x1fcf92['handleIRemoveCol'](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92[_0x10d1b5(0x260)][_0x10d1b5(0x1c7)]:{_0x17f5e3=_0x1fcf92['handleIRemoveRow'](_0x3bc1d9,_0x2d6c44);break;}}const _0x2e7429=_0x1fcf92[_0x10d1b5(0x3d6)](_0x17f5e3,_0x2d6c44),_0x2a26d8=this[_0x10d1b5(0x393)][_0x10d1b5(0x314)](_0x2eecc4);if(_0x2a26d8&&_0x2e7429){const _0x2a345d={..._0x2a26d8,'range':_0x2e7429};this[_0x10d1b5(0x393)][_0x10d1b5(0x306)](_0x2eecc4,_0x2a345d),_0x1b2730(()=>{const _0x5b5206=_0x10d1b5,_0x2a13bc=this[_0x5b5206(0x428)][_0x5b5206(0x446)](_0x2e7429,_0x5b0f0d=>(_0x2a13bc[_0x5b5206(0x2fc)](),_0x402f6b(_0x5b0f0d,_0x2eecc4,_0x3eee3e,_0x2e7429)));_0x1ffd3a[_0x5b5206(0x380)](_0x2a13bc);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x3c5a19(0x385)]((_0x10484f,_0x379b41)=>{const _0x27c56b=_0x3c5a19,{range:_0x369a11,sheetID:_0x233a31}=_0x10484f,_0x182310=this[_0x27c56b(0x428)][_0x27c56b(0x446)](_0x369a11,_0x50abe6=>(_0x182310[_0x27c56b(0x2fc)](),_0x402f6b(_0x50abe6,_0x379b41,_0x233a31,_0x369a11)));_0x1ffd3a['add'](_0x182310);});};this[_0x4372d9(0x210)](_0x4ce188[_0x4372d9(0x3d5)](this[_0x4372d9(0x243)][_0x4372d9(0x2df)](()=>{_0x5c22b9();})));}[_0x28c363(0x19e)](){const _0x245b9c=_0x28c363;var _0x2eaddb,_0x3e5228;if(this[_0x245b9c(0x2d6)]=!0x0,((_0x2eaddb=this[_0x245b9c(0x2e8)][_0x245b9c(0x30d)]())==null?void 0x0:_0x2eaddb[_0x245b9c(0x281)]())!==this[_0x245b9c(0x3dc)])return;const _0x3cd57b=(_0x3e5228=this[_0x245b9c(0x1d6)][_0x245b9c(0x314)](_0x1fcf92[_0x245b9c(0x2f9)])['getCurrentSelections']())==null?void 0x0:_0x3e5228[0x0],_0x56e47a=this['_univerInstanceService'][_0x245b9c(0x354)](_0x4ce188['UniverInstanceType'][_0x245b9c(0x30b)])[_0x245b9c(0x457)]();_0x3cd57b&&_0x56e47a&&this[_0x245b9c(0x474)](_0x56e47a[_0x245b9c(0x229)](),_0x3cd57b);}[_0x28c363(0x425)](){const _0x48a4dc=_0x28c363;this[_0x48a4dc(0x2d6)]=!0x1;}};_0x328aa2=_0x6a781c([_0x5558d0(0x2,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x2ee)])),_0x5558d0(0x3,_0x4ce188[_0x28c363(0x319)](_0x5937ca)),_0x5558d0(0x4,_0x4ce188[_0x28c363(0x319)](_0x463ba0[_0x28c363(0x1cc)])),_0x5558d0(0x5,_0x4ce188[_0x28c363(0x398)]),_0x5558d0(0x6,_0x4ce188[_0x28c363(0x454)]),_0x5558d0(0x7,_0x4ce188['Inject'](_0x1fcf92['RefRangeService']))],_0x328aa2);var _0x42e913=Object[_0x28c363(0x328)],_0x806f6a=(_0x374178,_0x4ff83d,_0x401135,_0x15b759)=>{const _0x7abc6b=_0x28c363;for(var _0x136a02=_0x15b759>0x1?void 0x0:_0x15b759?_0x42e913(_0x4ff83d,_0x401135):_0x4ff83d,_0x1a50bc=_0x374178[_0x7abc6b(0x3e9)]-0x1,_0x17e51b;_0x1a50bc>=0x0;_0x1a50bc--)(_0x17e51b=_0x374178[_0x1a50bc])&&(_0x136a02=_0x17e51b(_0x136a02)||_0x136a02);return _0x136a02;},_0x1fce5b=(_0x5da830,_0x392235)=>(_0x151c9d,_0x4a4383)=>_0x392235(_0x151c9d,_0x4a4383,_0x5da830);let _0x2a8919=class extends _0x4ce188['RxDisposable']{constructor(_0x14db15,_0x344eb3,_0x31baab){const _0x3788ea=_0x28c363;super(),_0x2002db(this,_0x3788ea(0x34e),new Map()),_0x2002db(this,_0x3788ea(0x3c6),new _0x4d6cca[(_0x3788ea(0x22e))]()),(this['_univerInstanceService']=_0x14db15,this[_0x3788ea(0x1d6)]=_0x344eb3,this[_0x3788ea(0x316)]=_0x31baab,this['_init']());}['dispose'](){const _0x1ed3af=_0x28c363;super[_0x1ed3af(0x2fc)](),this[_0x1ed3af(0x3c6)]['complete'](),this[_0x1ed3af(0x34e)]['forEach'](_0x12c4bb=>_0x12c4bb[_0x1ed3af(0x2fc)]());}[_0x28c363(0x240)](_0x225e61){const _0x2bc882=_0x28c363;return this[_0x2bc882(0x34e)][_0x2bc882(0x320)](_0x225e61)?this[_0x2bc882(0x34e)]['get'](_0x225e61)['cursorInfo$']:this['_entityInit$'][_0x2bc882(0x397)](_0x4d6cca[_0x2bc882(0x1c8)](_0x2d323d=>_0x2d323d[_0x2bc882(0x3dc)]===_0x225e61),_0x4d6cca['switchMap'](_0x38e125=>_0x38e125[_0x2bc882(0x307)]));}[_0x28c363(0x304)](){const _0x27499c=_0x28c363;this[_0x27499c(0x2e8)][_0x27499c(0x253)](_0x4ce188['UniverInstanceType'][_0x27499c(0x30b)])[_0x27499c(0x397)](_0x4d6cca[_0x27499c(0x20b)](this[_0x27499c(0x1fa)]))[_0x27499c(0x2df)](async _0x304c6f=>{const _0x7c0d34=_0x27499c,_0x21a289=_0x304c6f[_0x7c0d34(0x281)](),_0x48b0d5=await this[_0x7c0d34(0x3e8)](_0x21a289);this['_entityInit$']['next'](_0x48b0d5),this['_entities']['set'](_0x21a289,_0x48b0d5);}),this[_0x27499c(0x2e8)][_0x27499c(0x253)](_0x4ce188[_0x27499c(0x1b9)][_0x27499c(0x39e)])[_0x27499c(0x397)](_0x4d6cca[_0x27499c(0x20b)](this['dispose$']))[_0x27499c(0x397)](_0x4d6cca[_0x27499c(0x1c8)](_0x203e4c=>!_0x203e4c['getUnitId']()[_0x27499c(0x377)]('__')))[_0x27499c(0x2df)](async _0x27ea00=>{const _0x311114=_0x27499c,_0x27e6a6=_0x27ea00['getUnitId'](),_0x5ac1bd=await this[_0x311114(0x1d8)](_0x27e6a6);this[_0x311114(0x3c6)]['next'](_0x5ac1bd),this[_0x311114(0x34e)][_0x311114(0x306)](_0x27e6a6,_0x5ac1bd);}),_0x4d6cca[_0x27499c(0x3a0)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4ce188[_0x27499c(0x1b9)][_0x27499c(0x39e)]),this[_0x27499c(0x2e8)][_0x27499c(0x1c3)](_0x4ce188['UniverInstanceType'][_0x27499c(0x30b)]))[_0x27499c(0x397)](_0x4d6cca[_0x27499c(0x20b)](this[_0x27499c(0x1fa)]))[_0x27499c(0x2df)](_0x2f9228=>{const _0x23c82c=_0x27499c,_0x2d33ba=_0x2f9228[_0x23c82c(0x281)](),_0x32a926=this[_0x23c82c(0x34e)][_0x23c82c(0x314)](_0x2d33ba);_0x32a926&&(_0x32a926[_0x23c82c(0x2fc)](),this[_0x23c82c(0x34e)][_0x23c82c(0x409)](_0x2d33ba));});}async[_0x28c363(0x3e8)](_0x16cf15){const _0xb38bc5=_0x28c363,_0xea1d90=await this[_0xb38bc5(0x316)][_0xb38bc5(0x267)](_0x16cf15),_0x263c54=this[_0xb38bc5(0x1d6)][_0xb38bc5(0x3a6)](_0x328aa2,_0x16cf15,_0xea1d90);return _0x263c54[_0xb38bc5(0x482)](),_0x263c54;}async[_0x28c363(0x1d8)](_0x5ab558){const _0x45274a=_0x28c363,_0x2228f4=await this[_0x45274a(0x316)][_0x45274a(0x267)](_0x5ab558),_0x579e25=this[_0x45274a(0x1d6)][_0x45274a(0x3a6)](_0x33dd8a,_0x5ab558,_0x2228f4);return _0x579e25[_0x45274a(0x482)](),_0x579e25;}};_0x2a8919=_0x806f6a([_0x1fce5b(0x0,_0x4ce188[_0x28c363(0x398)]),_0x1fce5b(0x1,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x2ee)])),_0x1fce5b(0x2,_0x4ce188[_0x28c363(0x319)](_0x463ba0['CollaborationSessionService']))],_0x2a8919);const _0x25350b=0x14,_0x12abee=0xc8,_0x2dfeb6=0x4,_0x4ee7e1=0x5;function _0x2e83ce(_0x1ad3d9,_0x28019f){const _0x37fa21=_0x28c363;let {radius:_0x4e934b,width:_0xa5d991,height:_0x16bdc3}=_0x28019f;_0x4e934b=_0x4e934b!=null?_0x4e934b:0x0,_0xa5d991=_0xa5d991!=null?_0xa5d991:0x1e,_0x16bdc3=_0x16bdc3!=null?_0x16bdc3:0x1e;let _0x53cdac=0x0,_0x5ca536=0x0,_0x63f6d3=0x0;_0x53cdac=_0x5ca536=_0x63f6d3=Math[_0x37fa21(0x200)](_0x4e934b,_0xa5d991/0x2,_0x16bdc3/0x2),_0x1ad3d9[_0x37fa21(0x2a3)](),_0x1ad3d9[_0x37fa21(0x215)](_0x53cdac,0x0),_0x1ad3d9[_0x37fa21(0x28b)](_0xa5d991-_0x5ca536,0x0),_0x1ad3d9['arc'](_0xa5d991-_0x5ca536,_0x5ca536,_0x5ca536,Math['PI']*0x3/0x2,0x0,!0x1),_0x1ad3d9[_0x37fa21(0x28b)](_0xa5d991,_0x16bdc3-_0x63f6d3),_0x1ad3d9[_0x37fa21(0x418)](_0xa5d991-_0x63f6d3,_0x16bdc3-_0x63f6d3,_0x63f6d3,0x0,Math['PI']/0x2,!0x1),_0x1ad3d9[_0x37fa21(0x28b)](0x0,_0x16bdc3),_0x1ad3d9[_0x37fa21(0x28b)](0x0,_0x53cdac),_0x1ad3d9[_0x37fa21(0x418)](_0x53cdac,_0x53cdac,_0x53cdac,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1ad3d9[_0x37fa21(0x369)](),_0x28019f[_0x37fa21(0x37a)]&&(_0x1ad3d9[_0x37fa21(0x317)](),_0x1ad3d9[_0x37fa21(0x264)]=_0x28019f[_0x37fa21(0x37a)],_0x28019f['fillRule']==='evenodd'?_0x1ad3d9[_0x37fa21(0x37a)](_0x37fa21(0x362)):_0x1ad3d9['fill'](),_0x1ad3d9[_0x37fa21(0x2c6)]());}class _0x37a2c3 extends _0xcd5ffc[_0x28c363(0x339)]{constructor(_0x302790,_0x28fc77){const _0x2b84eb=_0x28c363;super(_0x302790,_0x28fc77),_0x2002db(this,_0x2b84eb(0x484)),_0x2002db(this,_0x2b84eb(0x30c)),(this[_0x2b84eb(0x484)]=_0x28fc77==null?void 0x0:_0x28fc77[_0x2b84eb(0x484)],this[_0x2b84eb(0x30c)]=_0x28fc77==null?void 0x0:_0x28fc77[_0x2b84eb(0x30c)]);}static['drawWith'](_0x174a57,_0x269453){const _0x57fe97=_0x28c363,{text:_0x3f60b3,color:_0x4b8451}=_0x269453;_0x174a57[_0x57fe97(0x317)](),_0x174a57[_0x57fe97(0x48c)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x411708=_0x174a57[_0x57fe97(0x40a)](_0x3f60b3)[_0x57fe97(0x252)],_0xed919=Math['min'](_0x411708+0x2*_0x2dfeb6,_0x12abee);_0x2e83ce(_0x174a57,{'height':_0x25350b,'radius':0x4,'width':_0xed919,'fill':_0x4b8451}),_0x174a57['fillStyle']='#FFF';const _0x13f716=_0x2dfeb6,_0x1ec7ee=_0x25350b-_0x4ee7e1,_0x93e1e5=_0x12abee-0x2*_0x2dfeb6;if(_0x411708>_0x93e1e5){let _0x34fbe2='',_0xf75fe9=0x0;for(const _0x32fd3c of _0x3f60b3){const _0x1e576d=_0x174a57['measureText'](_0x32fd3c)[_0x57fe97(0x252)];if(_0xf75fe9+_0x1e576d<=_0x93e1e5-_0x174a57['measureText'](_0x57fe97(0x44f))[_0x57fe97(0x252)])_0x34fbe2+=_0x32fd3c,_0xf75fe9+=_0x1e576d;else{_0x34fbe2+=_0x57fe97(0x44f);break;}}_0x174a57[_0x57fe97(0x25c)](_0x34fbe2,_0x13f716,_0x1ec7ee);}else _0x174a57[_0x57fe97(0x25c)](_0x3f60b3,_0x13f716,_0x1ec7ee);_0x174a57['restore']();}['_draw'](_0x210e88){const _0x47f248=_0x28c363;_0x37a2c3[_0x47f248(0x420)](_0x210e88,this);}}const _0x4f588b=_0x28c363(0x353),_0x27e4da=_0x28c363(0x29e),_0x386a0a=_0x28c363(0x33e),_0x7bb81=0x6,_0x4ff717=1.5,_0x45028c=0x4,_0x595131=1.5,_0x596848='rgba(255,\x20255,\x20255,\x200.01)';class _0x31a71a{constructor(_0xfe212f,_0x1c2424,_0x515492,_0x5b6c56){const _0x2817d1=_0x28c363;_0x2002db(this,_0x2817d1(0x352),[]),_0x2002db(this,'_anchor',null),_0x2002db(this,_0x2817d1(0x2da),null),_0x2002db(this,_0x2817d1(0x24d),null),_0x2002db(this,_0x2817d1(0x1c5),null),_0x2002db(this,_0x2817d1(0x38f),null),(this[_0x2817d1(0x324)]=_0xfe212f,this[_0x2817d1(0x1fc)]=_0x1c2424,this[_0x2817d1(0x1b7)]=_0x515492,this[_0x2817d1(0x287)]=_0x5b6c56,this['_render']());}set[_0x28c363(0x345)](_0x2765a9){const _0x4a5cbf=_0x28c363;_0x2765a9?(this[_0x4a5cbf(0x24d)]&&this[_0x4a5cbf(0x24d)][_0x4a5cbf(0x39b)](),this[_0x4a5cbf(0x2da)]&&this[_0x4a5cbf(0x2da)][_0x4a5cbf(0x273)]()):(this['_anchorDot']&&this[_0x4a5cbf(0x24d)]['show'](),this[_0x4a5cbf(0x2da)]&&this[_0x4a5cbf(0x2da)][_0x4a5cbf(0x39b)]());}['dispose'](){const _0x2f227e=_0x28c363;for(const _0xed479e of this[_0x2f227e(0x352)])_0xed479e[_0x2f227e(0x2fc)]();this[_0x2f227e(0x2da)]&&this[_0x2f227e(0x2da)][_0x2f227e(0x2fc)](),this[_0x2f227e(0x24d)]&&this[_0x2f227e(0x24d)][_0x2f227e(0x2fc)](),this[_0x2f227e(0x1e5)]&&this[_0x2f227e(0x1e5)]['dispose'](),this[_0x2f227e(0x38f)]&&this[_0x2f227e(0x38f)]();}[_0x28c363(0x3f9)](){const _0x563b81=_0x28c363;var _0x60b752;const {_docSkeleton:_0x573e5e,_document:_0x3422f8}=this,{color:_0x338ed3,name:_0x1a177c,ranges:_0x2bb929}=this[_0x563b81(0x324)],_0x5493f3=_0x3422f8[_0x563b81(0x237)](),{docsLeft:_0x13e754,docsTop:_0x24d7ca}=_0x5493f3,_0x4ff3b3=new _0x1bfa4c[(_0x563b81(0x296))](_0x5493f3,_0x573e5e);for(const {startOffset:_0x4c8bfd,endOffset:_0x1bec19,rangeType:_0x572399,segmentId:_0x3058f3,segmentPage:_0x498ff5,collapsed:_0x48f443,isActive:_0x47b935}of _0x2bb929){const _0x4b3c21=_0x573e5e[_0x563b81(0x3cc)](_0x4c8bfd,!0x0,_0x3058f3,_0x498ff5);let _0x5b96dc=_0x573e5e[_0x563b81(0x3cc)](_0x1bec19,!0x0,_0x3058f3,_0x498ff5);if(_0x5b96dc==null&&(_0x5b96dc=_0x573e5e[_0x563b81(0x3cc)](_0x1bec19-0x1,!0x1,_0x3058f3,_0x498ff5)),_0x47b935){const {contentBoxPointGroup:_0xafa4fb}=_0x4ff3b3['getRangePointData'](_0x5b96dc,_0x5b96dc);if(_0xafa4fb['length']===0x0)continue;this[_0x563b81(0x42a)](_0x338ed3,_0xafa4fb,_0x13e754,_0x24d7ca,_0x1a177c),this[_0x563b81(0x38f)]=this[_0x563b81(0x23a)]();}if(_0x4b3c21&&_0x5b96dc){if(_0x572399===_0x4ce188[_0x563b81(0x3fc)][_0x563b81(0x43f)]){const _0x598e7=new _0x1bfa4c[(_0x563b81(0x1b8))](_0x5493f3,_0x573e5e),{pointGroup:_0x2b12b9}=(_0x60b752=_0x598e7['getRangePointData'](_0x4b3c21,_0x5b96dc))!=null?_0x60b752:{};if(_0x2b12b9==null||_0x2b12b9[_0x563b81(0x3e9)]===0x0)continue;this[_0x563b81(0x255)](_0x338ed3,_0x2b12b9,_0x13e754,_0x24d7ca);}else{if(!_0x48f443){const {borderBoxPointGroup:_0x4117f4}=_0x4ff3b3[_0x563b81(0x47f)](_0x4b3c21,_0x5b96dc);if(_0x4117f4[_0x563b81(0x3e9)]===0x0)continue;this[_0x563b81(0x3e2)](_0x338ed3,_0x4117f4,_0x13e754,_0x24d7ca);}}}}}[_0x28c363(0x42a)](_0x408a69,_0x5c5fa7,_0x43a774,_0x2853c9,_0x4d1d65){const _0x14e40e=_0x28c363,_0x481afe=this[_0x14e40e(0x3de)](_0x5c5fa7),{left:_0x4807ab,top:_0xfd9690,height:_0x33b9b6}=_0x481afe,_0x437ebd=this[_0x14e40e(0x282)](),_0x2f5bcf=_0x595131/_0x437ebd,_0xc0d538=new _0xcd5ffc[(_0x14e40e(0x1b3))](_0x4f588b+_0x4ce188[_0x14e40e(0x35d)](_0x7bb81),{'left':_0x4807ab+_0x43a774-_0x2f5bcf,'top':_0xfd9690+_0x2853c9,'height':_0x33b9b6,'width':_0x4ff717,'fill':_0x408a69||_0xcd5ffc['getColor'](_0x4ce188['COLORS'][_0x14e40e(0x3d8)],0x0),'strokeWidth':_0x2f5bcf,'stroke':_0x596848,'evented':!0x0});this['_anchor']=_0xc0d538,this[_0x14e40e(0x1fc)][_0x14e40e(0x280)](_0xc0d538,_0x1bfa4c[_0x14e40e(0x291)]);const _0x1223d0=new _0xcd5ffc[(_0x14e40e(0x1b3))](_0x4f588b+_0x4ce188[_0x14e40e(0x35d)](_0x7bb81),{'left':_0x4807ab+_0x43a774-_0x2f5bcf,'top':_0xfd9690+_0x2853c9-_0x45028c/0x2,'height':_0x45028c,'width':_0x45028c,'fill':_0x408a69||_0xcd5ffc[_0x14e40e(0x337)](_0x4ce188[_0x14e40e(0x35f)][_0x14e40e(0x3d8)],0x0),'strokeWidth':0x0,'stroke':_0x408a69||_0xcd5ffc[_0x14e40e(0x337)](_0x4ce188[_0x14e40e(0x35f)][_0x14e40e(0x3d8)],0x0),'evented':!0x1});this['_anchorDot']=_0x1223d0,this['_scene'][_0x14e40e(0x280)](_0x1223d0,_0x1bfa4c[_0x14e40e(0x291)]);const _0x5ba17a=new _0x37a2c3(_0x4f588b+_0x4ce188[_0x14e40e(0x35d)](_0x7bb81),{'left':_0x4807ab+_0x43a774-_0x2f5bcf,'top':_0xfd9690+_0x2853c9-_0x25350b,'text':_0x4d1d65,'color':_0x408a69});this[_0x14e40e(0x2da)]=_0x5ba17a,this[_0x14e40e(0x1fc)][_0x14e40e(0x280)](_0x5ba17a,_0x1bfa4c['TEXT_RANGE_LAYER_INDEX']),this[_0x14e40e(0x345)]=!0x1;}[_0x28c363(0x23a)](){const _0x4aa573=_0x28c363,_0xe0a416=this[_0x4aa573(0x1e5)][_0x4aa573(0x2cd)][_0x4aa573(0x292)](()=>{this['_hover']=!0x0;}),_0x1a1e58=this[_0x4aa573(0x1e5)][_0x4aa573(0x1be)][_0x4aa573(0x292)](()=>{const _0x1101b3=_0x4aa573;this[_0x1101b3(0x1c5)]&&clearTimeout(this[_0x1101b3(0x1c5)]),this[_0x1101b3(0x1c5)]=setTimeout(()=>{const _0x4828d7=_0x1101b3;this[_0x4828d7(0x345)]=!0x1;},0x7d0);});return()=>{const _0x441abf=_0x4aa573;_0xe0a416[_0x441abf(0x1de)](),_0x1a1e58[_0x441abf(0x1de)]();};}[_0x28c363(0x3e2)](_0x5c9786,_0x3ae510,_0x2781e5,_0x2f8099){const _0x30cfcd=_0x28c363,_0x35f50f=new _0x4ce188['ColorKit'](_0x5c9786)[_0x30cfcd(0x1c6)](0.2)[_0x30cfcd(0x2ab)](),_0x21f2f3=new _0xcd5ffc[(_0x30cfcd(0x2e6))](_0x27e4da+_0x4ce188[_0x30cfcd(0x35d)](_0x7bb81),{'pointsGroup':_0x3ae510,'fill':_0x35f50f||_0xcd5ffc[_0x30cfcd(0x337)](_0x4ce188['COLORS'][_0x30cfcd(0x3d8)],0.2),'left':_0x2781e5,'top':_0x2f8099,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x21f2f3),this['_scene'][_0x30cfcd(0x280)](_0x21f2f3,_0x1bfa4c[_0x30cfcd(0x291)]);}[_0x28c363(0x255)](_0x4d80a3,_0x3d181a,_0x26fdf2,_0x38720d){const _0x24d0c0=_0x28c363,_0x397349=new _0x4ce188[(_0x24d0c0(0x396))](_0x4d80a3)[_0x24d0c0(0x1c6)](0.2)['toRgbString'](),_0x44a723=new _0xcd5ffc[(_0x24d0c0(0x2e6))](_0x386a0a+_0x4ce188[_0x24d0c0(0x35d)](_0x7bb81),{'pointsGroup':_0x3d181a,'fill':_0x397349||_0xcd5ffc['getColor'](_0x4ce188[_0x24d0c0(0x35f)][_0x24d0c0(0x3d8)],0.2),'left':_0x26fdf2,'top':_0x38720d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x24d0c0(0x352)]['push'](_0x44a723),this[_0x24d0c0(0x1fc)][_0x24d0c0(0x280)](_0x44a723,_0x1bfa4c[_0x24d0c0(0x291)]);}['_getAnchorBounding'](_0xfc26d6){const _0x476eba=_0xfc26d6[0x0],_0x4a4df5=_0x476eba[0x0],_0x5834b8=_0x476eba[0x2],{x:_0x24702e,y:_0x5c34a1}=_0x4a4df5,{x:_0x3f1fd5,y:_0x2100d1}=_0x5834b8;return{'left':_0x24702e,'top':_0x5c34a1,'width':_0x3f1fd5-_0x24702e,'height':_0x2100d1-_0x5c34a1};}[_0x28c363(0x282)](){const _0x386b4b=_0x28c363,{scaleX:_0x34780b,scaleY:_0x72fa5e}=this[_0x386b4b(0x1fc)][_0x386b4b(0x357)]();return Math[_0x386b4b(0x3df)](_0x34780b,_0x72fa5e);}}var _0x451609=Object[_0x28c363(0x328)],_0x3959de=(_0x53453e,_0x29a2e0,_0x5a306c,_0x32ef79)=>{for(var _0x5d2d21=_0x32ef79>0x1?void 0x0:_0x32ef79?_0x451609(_0x29a2e0,_0x5a306c):_0x29a2e0,_0x34ca5d=_0x53453e['length']-0x1,_0x4b9d1f;_0x34ca5d>=0x0;_0x34ca5d--)(_0x4b9d1f=_0x53453e[_0x34ca5d])&&(_0x5d2d21=_0x4b9d1f(_0x5d2d21)||_0x5d2d21);return _0x5d2d21;},_0x5b9df3=(_0x224102,_0x239da8)=>(_0x209550,_0x54e60a)=>_0x239da8(_0x209550,_0x54e60a,_0x224102);let _0x2af2e0=class extends _0x4ce188[_0x28c363(0x3f3)]{constructor(_0x24b98a,_0x515582,_0x208d3a,_0x31c810,_0x594515){const _0x44e78e=_0x28c363;super(),_0x2002db(this,'_cursorShapes',[]),_0x2002db(this,_0x44e78e(0x374),[]),(this[_0x44e78e(0x3d9)]=_0x24b98a,this[_0x44e78e(0x2c5)]=_0x515582,this[_0x44e78e(0x27a)]=_0x208d3a,this['_commandService']=_0x31c810,this[_0x44e78e(0x3a4)]=_0x594515,this['_init']());}[_0x28c363(0x304)](){const _0x2dbd0f=_0x28c363,_0x2d464f=this[_0x2dbd0f(0x3d9)][_0x2dbd0f(0x39f)],_0x45ee95=this[_0x2dbd0f(0x2c5)];this[_0x2dbd0f(0x210)](_0x4d6cca[_0x2dbd0f(0x3f8)]([this[_0x2dbd0f(0x27a)][_0x2dbd0f(0x240)](_0x2d464f),this['_themeService']['currentTheme$']])['pipe'](_0x133836['map'](([_0x3732f3,_0x1c129c])=>({'skeleton':_0x45ee95[_0x2dbd0f(0x203)](),'cursors':[..._0x3732f3[_0x2dbd0f(0x404)]()][_0x2dbd0f(0x371)](_0x5d5d66=>({..._0x5d5d66,'color':this[_0x2dbd0f(0x3a4)][_0x2dbd0f(0x2cc)](_0x5d5d66[_0x2dbd0f(0x484)])}))})))[_0x2dbd0f(0x2df)](_0x514295=>{const _0x387303=_0x2dbd0f;if(this[_0x387303(0x1b2)](),_0x514295){const {skeleton:_0x227cad,cursors:_0x417940}=_0x514295;this[_0x387303(0x322)](_0x227cad,_0x417940);}})),this[_0x2dbd0f(0x21b)](),this[_0x2dbd0f(0x1c0)]();}[_0x28c363(0x322)](_0x5d6ba8,_0x20b56f){const {scene:_0xe6a063,mainComponent:_0x255c53}=this['_context'],_0x55f02f=_0x20b56f['map'](_0x2af99f=>new _0x31a71a(_0x2af99f,_0xe6a063,_0x5d6ba8,_0x255c53));this['_cursorShapes']=_0x55f02f,this['_cursors']=_0x20b56f;}[_0x28c363(0x2dd)](){const _0x36834b=_0x28c363;this[_0x36834b(0x1b2)]();const {scene:_0x26fa78,mainComponent:_0x5c0365}=this['_context'],_0x58ab27=this[_0x36834b(0x2c5)][_0x36834b(0x203)](),_0x48d6a5=this['_cursors'][_0x36834b(0x269)](_0x283777=>new _0x31a71a(_0x283777,_0x26fa78,_0x58ab27,_0x5c0365));this['_cursorShapes']=_0x48d6a5;}['_removeCollabCursors'](){const _0x43f6a4=_0x28c363;this['_cursorShapes'][_0x43f6a4(0x385)](_0x317aa9=>_0x317aa9[_0x43f6a4(0x2fc)]()),this['_cursorShapes']=[];}[_0x28c363(0x1c0)](){const _0x50d655=_0x28c363,_0x3145e8=[_0x1bfa4c[_0x50d655(0x30f)]['id']];this['disposeWithMe'](this['_commandService'][_0x50d655(0x20a)](_0x48beaf=>{const _0x2855ad=_0x50d655;_0x3145e8[_0x2855ad(0x3e0)](_0x48beaf['id'])&&_0x48beaf['params'][_0x2855ad(0x39f)]===this[_0x2855ad(0x3d9)][_0x2855ad(0x39f)]&&this[_0x2855ad(0x2dd)]();}));}['_initResize'](){const _0x92a6a6=_0x28c363;this[_0x92a6a6(0x210)](_0x4ce188[_0x92a6a6(0x1df)](this[_0x92a6a6(0x3d9)]['engine']['onTransformChange$'])[_0x92a6a6(0x397)](_0x133836[_0x92a6a6(0x1c8)](_0x5d423a=>_0x5d423a[_0x92a6a6(0x372)]===_0xcd5ffc[_0x92a6a6(0x31c)][_0x92a6a6(0x3db)]),_0x133836[_0x92a6a6(0x486)](0x10))[_0x92a6a6(0x2df)](()=>{const _0x251a0d=_0x92a6a6;this[_0x251a0d(0x2dd)]();}));}};_0x2af2e0=_0x3959de([_0x5b9df3(0x1,_0x4ce188['Inject'](_0x4ebf52[_0x28c363(0x2f6)])),_0x5b9df3(0x2,_0x4ce188[_0x28c363(0x319)](_0x2a8919)),_0x5b9df3(0x3,_0x4ce188[_0x28c363(0x454)]),_0x5b9df3(0x4,_0x4ce188[_0x28c363(0x319)](_0x4ce188['ThemeService']))],_0x2af2e0);const _0x5a36fd=0x1,_0x1f5eaa=1.5;class _0x3b4e84 extends _0xcd5ffc[_0x28c363(0x339)]{constructor(_0x117445,_0x3a78d5){const _0x3e9009=_0x28c363;super(_0x117445,_0x3a78d5),_0x2002db(this,_0x3e9009(0x463)),_0x2002db(this,_0x3e9009(0x20c),!0x1),_0x2002db(this,_0x3e9009(0x305)),_0x2002db(this,'_name',''),_0x2002db(this,_0x3e9009(0x310),_0x3e9009(0x283)),_0x2002db(this,_0x3e9009(0x360)),(_0x3a78d5&&this[_0x3e9009(0x1e1)](_0x3a78d5),this[_0x3e9009(0x2cd)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x3e9009(0x1e1)]({'hovered':!0x1})));}[_0x28c363(0x1e1)](_0x26cf1b){const _0x512ff7=_0x28c363;var _0x50e1c8,_0x18c1c5,_0x4ee10b,_0x3284bf,_0xfbfb8f,_0x2b3919;this[_0x512ff7(0x463)]=(_0x50e1c8=_0x26cf1b[_0x512ff7(0x484)])!=null?_0x50e1c8:this[_0x512ff7(0x463)],this[_0x512ff7(0x20c)]=(_0x18c1c5=_0x26cf1b['hovered'])!=null?_0x18c1c5:this[_0x512ff7(0x20c)],this[_0x512ff7(0x305)]=(_0x4ee10b=_0x26cf1b['range'])!=null?_0x4ee10b:this[_0x512ff7(0x305)],this[_0x512ff7(0x329)]=(_0x3284bf=_0x26cf1b[_0x512ff7(0x429)])!=null?_0x3284bf:this['_name'],this[_0x512ff7(0x310)]=(_0xfbfb8f=_0x26cf1b['labelPosition'])!=null?_0xfbfb8f:this[_0x512ff7(0x310)],this[_0x512ff7(0x360)]=(_0x2b3919=_0x26cf1b[_0x512ff7(0x3f0)])!=null?_0x2b3919:this[_0x512ff7(0x360)],this[_0x512ff7(0x477)]({'width':_0x26cf1b[_0x512ff7(0x252)],'height':_0x26cf1b['height']});}[_0x28c363(0x388)](_0xa95640){const _0x2cf620=_0x28c363,{row:_0x17968f,column:_0x546f17}=_0xa95640;if(_0x17968f>=this[_0x2cf620(0x305)][_0x2cf620(0x1c9)]&&_0x17968f<=this[_0x2cf620(0x305)][_0x2cf620(0x2d5)]&&_0x546f17>=this[_0x2cf620(0x305)][_0x2cf620(0x3a5)]&&_0x546f17<=this[_0x2cf620(0x305)][_0x2cf620(0x318)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x2cf620(0x1e1)]({'hovered':!0x1});}['triggerDblclick'](_0x35bae5){return!0x1;}[_0x28c363(0x32b)](_0x274a59){const _0x4c575e=_0x28c363;_0xcd5ffc[_0x4c575e(0x1b3)][_0x4c575e(0x420)](_0x274a59,{'width':this[_0x4c575e(0x252)],'height':this[_0x4c575e(0x1f4)],'strokeWidth':_0x1f5eaa,'stroke':this[_0x4c575e(0x463)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x4c575e(0x20c)]&&(_0x274a59[_0x4c575e(0x317)](),_0x274a59['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x4c575e(0x310)]===_0x4c575e(0x358)?0x0:-_0x25350b),_0x37a2c3[_0x4c575e(0x420)](_0x274a59,{'text':this[_0x4c575e(0x329)],'color':this[_0x4c575e(0x463)]}),_0x274a59[_0x4c575e(0x2c6)]());}}var _0x217aa0=Object['getOwnPropertyDescriptor'],_0x49f790=(_0x1eaad8,_0x4e88b0,_0x4547c8,_0x566d6c)=>{const _0x160819=_0x28c363;for(var _0x197c7a=_0x566d6c>0x1?void 0x0:_0x566d6c?_0x217aa0(_0x4e88b0,_0x4547c8):_0x4e88b0,_0x41a7a9=_0x1eaad8[_0x160819(0x3e9)]-0x1,_0x582120;_0x41a7a9>=0x0;_0x41a7a9--)(_0x582120=_0x1eaad8[_0x41a7a9])&&(_0x197c7a=_0x582120(_0x197c7a)||_0x197c7a);return _0x197c7a;},_0x43a142=(_0x2c592e,_0x4cfdbc)=>(_0x4ce25d,_0xc0e152)=>_0x4cfdbc(_0x4ce25d,_0xc0e152,_0x2c592e);const _0xbb2a9a=0x1389;let _0x5dc1d7=class extends _0x4ce188[_0x28c363(0x3f3)]{constructor(_0x534551,_0x3ffbcd,_0x2fd374,_0x6c2312){const _0x438668=_0x28c363;super(),_0x2002db(this,_0x438668(0x374),new Set()),_0x2002db(this,'_lastPointer',null),(this[_0x438668(0x3d9)]=_0x534551,this[_0x438668(0x34c)]=_0x3ffbcd,this[_0x438668(0x27a)]=_0x2fd374,this[_0x438668(0x3a4)]=_0x6c2312,this[_0x438668(0x304)]());}['_init'](){const _0x4a31ac=_0x28c363;this[_0x4a31ac(0x34c)][_0x4a31ac(0x408)]['pipe'](_0x133836[_0x4a31ac(0x20b)](this[_0x4a31ac(0x1fa)]),_0x133836[_0x4a31ac(0x2e4)](_0x2d4196=>{const _0x363ba7=_0x4a31ac;if(_0x2d4196){const _0x5450cf=_0x2d4196[_0x363ba7(0x29b)];return _0x4d6cca['combineLatest'](this[_0x363ba7(0x27a)][_0x363ba7(0x240)](this[_0x363ba7(0x3d9)][_0x363ba7(0x39f)]),this['_themeService'][_0x363ba7(0x251)])[_0x363ba7(0x397)](_0x133836[_0x363ba7(0x269)](([_0x348001,_0x304e41])=>{const _0xc93c2f=_0x363ba7,_0x3776e7=new Map();return _0x348001[_0xc93c2f(0x385)]((_0x1a853,_0x2c4ccf)=>{const _0x46080a=_0xc93c2f;if(_0x1a853[_0x46080a(0x3be)]===_0x5450cf){const _0x266627={..._0x1a853};_0x266627['color']=this[_0x46080a(0x3a4)][_0x46080a(0x2cc)](_0x1a853[_0x46080a(0x484)]),_0x3776e7[_0x46080a(0x306)](_0x2c4ccf,_0x266627);}}),{'skeleton':_0x2d4196,'cursors':_0x3776e7};}));}return _0x4d6cca['of']({'skeleton':null,'cursors':new Map()});}))[_0x4a31ac(0x2df)](({skeleton:_0x190896,cursors:_0x3cfb88})=>{const _0x2d6fd5=_0x4a31ac;this['_removeCollabCursors'](),_0x190896&&this[_0x2d6fd5(0x322)](_0x190896,_0x3cfb88);}),this[_0x4a31ac(0x34c)][_0x4a31ac(0x408)]['subscribe'](_0x2eb0ac=>{const _0x363916=_0x4a31ac;if(_0x2eb0ac==null)return;const {skeleton:_0x28a440}=_0x2eb0ac,{scene:_0x4524fd}=this[_0x363916(0x3d9)];_0x4524fd[_0x363916(0x285)][_0x363916(0x292)](_0x4ce188['debounce'](_0x5126a5=>{const _0x976817=_0x363916;var _0x18c2d3,_0x47e984;const {offsetX:_0x4aa8f9,offsetY:_0x47dd30}=_0x5126a5,{x:_0x1dcd18,y:_0x19dd7a}=_0x4524fd[_0x976817(0x1bc)](_0xcd5ffc[_0x976817(0x487)][_0x976817(0x378)]([_0x4aa8f9,_0x47dd30])),{scaleX:_0x1397cb,scaleY:_0x2cb98c}=_0x4524fd['getAncestorScale'](),_0x145080=_0x4524fd[_0x976817(0x340)](_0xcd5ffc['SHEET_VIEWPORT_KEY'][_0x976817(0x1f0)]),_0x3cceca=_0x4524fd[_0x976817(0x344)](_0xcd5ffc['Vector2']['FromArray']([_0x1dcd18,_0x19dd7a]),_0x145080),_0x586a11=_0x28a440[_0x976817(0x1f9)](_0x4aa8f9,_0x47dd30,_0x1397cb,_0x2cb98c,_0x3cceca);((_0x18c2d3=this[_0x976817(0x3f7)])==null?void 0x0:_0x18c2d3[_0x976817(0x468)])===_0x586a11[_0x976817(0x468)]&&((_0x47e984=this['_lastPointer'])==null?void 0x0:_0x47e984[_0x976817(0x1a2)])===_0x586a11[_0x976817(0x1a2)]||this[_0x976817(0x374)][_0x976817(0x385)](_0x2d0c93=>{const _0x371bb9=_0x976817;_0x2d0c93[_0x371bb9(0x388)](_0x586a11);});},0x64));});}[_0x28c363(0x322)](_0x118269,_0x272f32){const _0x1055f5=_0x28c363;var _0x1b8da1;const _0x58c3fb=(_0x1b8da1=this[_0x1055f5(0x34c)][_0x1055f5(0x2a2)]())==null?void 0x0:_0x1b8da1[_0x1055f5(0x1f3)];if(!_0x58c3fb)return;const _0x46c10a=this[_0x1055f5(0x286)]();if(!_0x46c10a)return;this[_0x1055f5(0x374)][_0x1055f5(0x385)](_0x3980b1=>{const _0x39a1e5=_0x1055f5;_0x3980b1[_0x39a1e5(0x1f7)]();});const {scene:_0x3363f6}=_0x46c10a,_0x1ef196=_0x1196c0(Array[_0x1055f5(0x441)](_0x272f32[_0x1055f5(0x404)]()))[_0x1055f5(0x269)](_0xda8c78=>{const _0x56ee3c=_0x1055f5,{color:_0x483e61,range:_0x47ea98,name:_0x41d95d,selection:_0x1971f0,sheetID:_0x3ad2c6}=_0xda8c78,{startColumn:_0x4f8249,startRow:_0x5806a0,endColumn:_0x2ee70d,endRow:_0x4f4a11}=_0x47ea98,_0x37d006=_0x406458[_0x56ee3c(0x23d)](_0x5806a0,_0x4f8249,_0x3363f6,_0x58c3fb),_0x58d85d=_0x406458['getCoordByCell'](_0x4f4a11,_0x2ee70d,_0x3363f6,_0x58c3fb),{columnHeaderHeightAndMarginTop:_0x10dafe}=_0x58c3fb,{startX:_0x2ba513,startY:_0x75fd84}=_0x37d006,{endX:_0x68c066,endY:_0x4578d6}=_0x58d85d,_0x53395c=_0x68c066-_0x2ba513,_0x2d13c7=_0x4578d6-_0x75fd84,_0x15738a={'labelPosition':_0x75fd84-_0x10dafe>=_0x25350b?_0x56ee3c(0x283):_0x56ee3c(0x358),'sheetID':_0x3ad2c6,'range':_0x47ea98,'color':_0x483e61,'name':_0x41d95d,'selection':_0x1971f0,'left':_0x2ba513,'top':_0x75fd84,'width':_0x53395c,'height':_0x2d13c7,'evented':!0x1,'zIndex':_0xbb2a9a};return new _0x3b4e84(_0x41d95d,_0x15738a);});_0x3363f6[_0x1055f5(0x3a9)](_0x1ef196,_0x5a36fd),this[_0x1055f5(0x374)]=new Set(_0x1ef196);}[_0x28c363(0x1b2)](){const _0x4e457a=_0x28c363;var _0x4b1770;(_0x4b1770=this[_0x4e457a(0x374)])==null||_0x4b1770[_0x4e457a(0x385)](_0x580fb2=>_0x580fb2['dispose']());}[_0x28c363(0x286)](){const _0x348945=_0x28c363;return _0x406458[_0x348945(0x239)](this[_0x348945(0x3d9)][_0x348945(0x1da)],this[_0x348945(0x3d9)]);}};_0x5dc1d7=_0x49f790([_0x43a142(0x1,_0x4ce188[_0x28c363(0x319)](_0x406458[_0x28c363(0x214)])),_0x43a142(0x2,_0x4ce188[_0x28c363(0x319)](_0x2a8919)),_0x43a142(0x3,_0x4ce188['Inject'](_0x4ce188[_0x28c363(0x342)]))],_0x5dc1d7);function _0x1196c0(_0x40c22d){const _0x2f317c=_0x28c363,_0x89313e=new Map();return _0x40c22d[_0x2f317c(0x385)](_0x40906f=>{const _0x4b56a5=_0x2f317c;if(_0x89313e[_0x4b56a5(0x320)](_0x40906f['selection'])){const _0x39c44a=_0x89313e[_0x4b56a5(0x314)](_0x40906f[_0x4b56a5(0x359)]);_0x39c44a['name']+=',\x20'+_0x40906f[_0x4b56a5(0x429)];}else _0x89313e['set'](_0x40906f[_0x4b56a5(0x359)],_0x40906f);}),Array['from'](_0x89313e['values']());}var _0x2ea302=Object[_0x28c363(0x328)],_0x33897b=(_0x49aa6e,_0x3e72d6,_0x3b5876,_0x2581bc)=>{const _0x5875d4=_0x28c363;for(var _0x41cca1=_0x2581bc>0x1?void 0x0:_0x2581bc?_0x2ea302(_0x3e72d6,_0x3b5876):_0x3e72d6,_0x4fb4a0=_0x49aa6e[_0x5875d4(0x3e9)]-0x1,_0x18d7ca;_0x4fb4a0>=0x0;_0x4fb4a0--)(_0x18d7ca=_0x49aa6e[_0x4fb4a0])&&(_0x41cca1=_0x18d7ca(_0x41cca1)||_0x41cca1);return _0x41cca1;},_0x332728=(_0x19011a,_0x8ad69f)=>(_0xe15c4e,_0x4413ed)=>_0x8ad69f(_0xe15c4e,_0x4413ed,_0x19011a);let _0x35c423=class extends _0x4ce188[_0x28c363(0x3ba)]{constructor(_0x15e0fb,_0x3f4095,_0x4e1f47,_0x24b09c,_0x5a5dac,_0x37a2b6){const _0x5cd3c3=_0x28c363;super(),this['_beforeCloseService']=_0x15e0fb,this[_0x5cd3c3(0x28c)]=_0x3f4095,this[_0x5cd3c3(0x224)]=_0x4e1f47,this[_0x5cd3c3(0x22f)]=_0x24b09c,this[_0x5cd3c3(0x1d4)]=_0x5a5dac,this[_0x5cd3c3(0x1a0)]=_0x37a2b6,this[_0x5cd3c3(0x3b8)](),this[_0x5cd3c3(0x250)]();}['_setupBeforeClosingHandler'](){const _0x2c38b6=_0x28c363;this[_0x2c38b6(0x210)](this[_0x2c38b6(0x450)]['registerBeforeClose'](()=>{const _0x2df508=_0x2c38b6;if(this[_0x2df508(0x28c)]['saveTaskMap'][_0x2df508(0x1fe)])return this[_0x2df508(0x1a0)]['t'](_0x2df508(0x2b2));}));}['_initEvent'](){const _0x5a68ff=_0x28c363;this['disposeWithMe'](this[_0x5a68ff(0x224)]['event$'][_0x5a68ff(0x2df)](_0x25ecb5=>{const _0x3cac16=_0x5a68ff;_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)][_0x3cac16(0x416)]&&this[_0x3cac16(0x22f)][_0x3cac16(0x273)]({'type':_0x523600[_0x3cac16(0x3c7)]['Warning'],'content':this[_0x3cac16(0x1a0)]['t'](_0x3cac16(0x36b))}),_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)][_0x3cac16(0x20d)]&&this[_0x3cac16(0x22f)][_0x3cac16(0x273)]({'type':_0x523600[_0x3cac16(0x3c7)]['Warning'],'content':this[_0x3cac16(0x1a0)]['t'](_0x3cac16(0x365))}),_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)]['PERMISSION_DENIED']&&this['_notificationService'][_0x3cac16(0x273)]({'title':this[_0x3cac16(0x1a0)]['t'](_0x3cac16(0x366)),'content':this[_0x3cac16(0x1a0)]['t']('permission.content'),'type':'error','duration':0x0}),_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)][_0x3cac16(0x28e)]&&this[_0x3cac16(0x22f)]['show']({'type':_0x523600[_0x3cac16(0x3c7)][_0x3cac16(0x1ad)],'content':this[_0x3cac16(0x1a0)]['t']('collaboration.closeRoom')+'('+_0x25ecb5[_0x3cac16(0x3ad)]+')'}),_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)][_0x3cac16(0x3c1)]&&this['_messageService'][_0x3cac16(0x273)]({'type':_0x523600['MessageType'][_0x3cac16(0x437)],'content':this[_0x3cac16(0x1a0)]['t'](_0x25ecb5[_0x3cac16(0x3ad)]||'')}),_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)][_0x3cac16(0x303)]&&this[_0x3cac16(0x22f)]['show']({'type':_0x523600[_0x3cac16(0x3c7)]['Warning'],'content':this[_0x3cac16(0x1a0)]['t'](_0x3cac16(0x1a7))}),_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)]['SOCKET_FAILED']&&this['_messageService'][_0x3cac16(0x273)]({'type':_0x523600['MessageType'][_0x3cac16(0x1ad)],'content':this['_localeService']['t'](_0x3cac16(0x34d))}),_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)][_0x3cac16(0x1ff)]&&this['_messageService'][_0x3cac16(0x273)]({'type':_0x523600['MessageType'][_0x3cac16(0x1ad)],'content':this['_localeService']['t'](_0x3cac16(0x3ab))});}));}};_0x35c423=_0x33897b([_0x332728(0x0,_0x577183[_0x28c363(0x46d)]),_0x332728(0x1,_0x463ba0['ILocalCacheService']),_0x332728(0x2,_0x4ce188[_0x28c363(0x319)](_0x463ba0[_0x28c363(0x2c4)])),_0x332728(0x3,_0x577183[_0x28c363(0x2ca)]),_0x332728(0x4,_0x577183['INotificationService']),_0x332728(0x5,_0x4ce188[_0x28c363(0x319)](_0x4ce188['LocaleService']))],_0x35c423);var _0x335ea8=Object['getOwnPropertyDescriptor'],_0x2c939f=(_0x457298,_0x26bd49,_0x461e62,_0x2f34c3)=>{const _0x3d3520=_0x28c363;for(var _0x20fc9d=_0x2f34c3>0x1?void 0x0:_0x2f34c3?_0x335ea8(_0x26bd49,_0x461e62):_0x26bd49,_0x14377f=_0x457298[_0x3d3520(0x3e9)]-0x1,_0x42485b;_0x14377f>=0x0;_0x14377f--)(_0x42485b=_0x457298[_0x14377f])&&(_0x20fc9d=_0x42485b(_0x20fc9d)||_0x20fc9d);return _0x20fc9d;},_0xf6f714=(_0x18186c,_0x3614d5)=>(_0x465589,_0x53fd3e)=>_0x3614d5(_0x465589,_0x53fd3e,_0x18186c);let _0x1e2184=class extends _0x4ce188[_0x28c363(0x3ba)]{constructor(_0x2eb5ff,_0x2e2b69,_0x1e770e,_0x180ada){const _0x1dc2b3=_0x28c363;super(),_0x2002db(this,_0x1dc2b3(0x43d)),(this[_0x1dc2b3(0x1d6)]=_0x2eb5ff,this[_0x1dc2b3(0x417)]=_0x2e2b69,this[_0x1dc2b3(0x3ff)]=_0x1e770e,this['_collaborationSessionService']=_0x180ada,this[_0x1dc2b3(0x304)]());}[_0x28c363(0x304)](){const _0x54579d=_0x28c363;this[_0x54579d(0x1a1)](),this[_0x54579d(0x1cf)](),this[_0x54579d(0x2c7)](),this['_initUserListener']();}['_initUserListener'](){const _0x37a7b3=_0x28c363;this[_0x37a7b3(0x210)](this[_0x37a7b3(0x245)]['socket$'][_0x37a7b3(0x2df)](_0x1a48cd=>{const _0x28ddb8=_0x37a7b3;this[_0x28ddb8(0x43d)]=_0x1a48cd==null?void 0x0:_0x1a48cd['memberID'];}));}[_0x28c363(0x1a1)](){const _0x26a18a=_0x28c363,_0x4a5457=_0x19b7ec=>{const _0x5a8b0f=_0x2163;var _0x3d0071;this[_0x5a8b0f(0x32d)]('error',_0x5a8b0f(0x3d4)+_0x19b7ec[_0x5a8b0f(0x382)]+'\x20at\x20'+_0x19b7ec['filename']+':'+_0x19b7ec[_0x5a8b0f(0x299)]+':'+_0x19b7ec[_0x5a8b0f(0x432)]+'\x0a'+(((_0x3d0071=_0x19b7ec['error'])==null?void 0x0:_0x3d0071['stack'])||''));};window['addEventListener'](_0x26a18a(0x230),_0x4a5457),this[_0x26a18a(0x210)](()=>{const _0x2be5fa=_0x26a18a;window[_0x2be5fa(0x21f)](_0x2be5fa(0x230),_0x4a5457);});}[_0x28c363(0x1cf)](){const _0x173889=_0x28c363,_0xcc4cea=_0x598551=>{const _0x284ea4=_0x2163;this['_uploadLog'](_0x284ea4(0x230),_0x284ea4(0x343)+_0x598551[_0x284ea4(0x2ad)]);};window[_0x173889(0x38e)]('unhandledrejection',_0xcc4cea),this['disposeWithMe'](()=>{const _0x38cb66=_0x173889;window['removeEventListener'](_0x38cb66(0x1eb),_0xcc4cea);});}[_0x28c363(0x2c7)](){const _0x22254a=_0x28c363,_0x789511=this[_0x22254a(0x3ff)]['error']['bind'](this[_0x22254a(0x3ff)]);this[_0x22254a(0x3ff)][_0x22254a(0x230)]=(..._0x3b2961)=>{const _0xe01bbc=_0x22254a,_0x3bd8f5=_0x3b2961[_0xe01bbc(0x269)](_0x182880=>_0x182880 instanceof Error?_0x182880['message']+'\x0a'+_0x182880[_0xe01bbc(0x26d)]:String(_0x182880))[_0xe01bbc(0x41e)]('\x20');this[_0xe01bbc(0x32d)](_0xe01bbc(0x230),_0xe01bbc(0x199)+_0x3bd8f5),_0x789511(..._0x3b2961);},this[_0x22254a(0x210)](()=>{this['_logService']['error']=_0x789511;});}[_0x28c363(0x32d)](_0x4bc78c,_0x35b9ad){const _0x38e5ca=_0x28c363;try{const _0x10b86c={'userId':this[_0x38e5ca(0x43d)],'logLabel':_0x4bc78c,'content':_0x35b9ad};this[_0x38e5ca(0x417)][_0x38e5ca(0x452)](_0x38e5ca(0x31d),{'body':_0x10b86c})[_0x38e5ca(0x297)](()=>{});}catch{}}};_0x1e2184=_0x2c939f([_0xf6f714(0x0,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x2ee)])),_0xf6f714(0x1,_0x4ce188[_0x28c363(0x319)](_0x1d4876[_0x28c363(0x461)])),_0xf6f714(0x2,_0x4ce188[_0x28c363(0x367)]),_0xf6f714(0x3,_0x4ce188[_0x28c363(0x319)](_0x463ba0[_0x28c363(0x2cb)]))],_0x1e2184);const _0xe3ab6a='collaboration-client-ui.config',_0x52a5e9={};var _0x5e70d4=Object[_0x28c363(0x328)],_0x27fb5d=(_0x2cd688,_0x56ce52,_0x38bf32,_0x2e945b)=>{for(var _0x408ae4=_0x2e945b>0x1?void 0x0:_0x2e945b?_0x5e70d4(_0x56ce52,_0x38bf32):_0x56ce52,_0x240617=_0x2cd688['length']-0x1,_0x3b06db;_0x240617>=0x0;_0x240617--)(_0x3b06db=_0x2cd688[_0x240617])&&(_0x408ae4=_0x3b06db(_0x408ae4)||_0x408ae4);return _0x408ae4;},_0x46a373=(_0x361cba,_0x22cf5a)=>(_0x422509,_0x307d3d)=>_0x22cf5a(_0x422509,_0x307d3d,_0x361cba);let _0x4289c1=class{constructor(_0x4614b6,_0x558670){const _0x2dea37=_0x28c363;this[_0x2dea37(0x1ea)]=_0x4614b6,this[_0x2dea37(0x1e9)]=_0x558670;}[_0x28c363(0x311)](_0x1194d3){const _0xfe5922=_0x28c363;this[_0xfe5922(0x20f)](_0x1194d3),this[_0xfe5922(0x41f)](_0x1194d3);}[_0x28c363(0x23b)](_0x4f6b93){const _0x476efc=_0x28c363,{unitID:_0x540f0e}=_0x4f6b93,_0x4e2750=this[_0x476efc(0x1e9)][_0x476efc(0x37d)](_0x540f0e)[_0x476efc(0x2fe)](_0x1bfa4c[_0x476efc(0x2bc)]),{redoCache:_0xc70c08}=_0x4e2750[_0x476efc(0x3ae)]();if(_0xc70c08[_0x476efc(0x3e9)]===0x0)return _0x4f6b93;let _0x4b5e8c=_0x4ce188[_0x476efc(0x375)][_0x476efc(0x47a)](_0x4f6b93[_0x476efc(0x228)][0x0]);for(let _0x2f56cb=0x0;_0x2f56cb<_0xc70c08[_0x476efc(0x3e9)];_0x2f56cb++){const _0x2bbf06={'id':_0x476efc(0x1fd),'params':{..._0xc70c08[_0x2f56cb]}},_0xf9ac89=this[_0x476efc(0x1ea)][_0x476efc(0x3af)](_0x4b5e8c,_0x2bbf06,!0x1);if(_0x5f3c3e['isTransformMutationFailure'](_0xf9ac89))throw _0xf9ac89[_0x476efc(0x230)];_0x4b5e8c=_0xf9ac89[_0x476efc(0x406)];}return{..._0x4ce188[_0x476efc(0x375)][_0x476efc(0x47a)](_0x4f6b93),'mutations':[_0x4b5e8c]};}[_0x28c363(0x20f)](_0x7d8ceb){const _0x29b51d=_0x28c363,{unitID:_0x1c9dd8}=_0x7d8ceb,_0x3a6c21=this['_renderManagerService'][_0x29b51d(0x37d)](_0x1c9dd8)[_0x29b51d(0x2fe)](_0x1bfa4c[_0x29b51d(0x2bc)]),{undoCache:_0x3cf122,redoCache:_0x1b572b}=_0x3a6c21[_0x29b51d(0x3ae)]();if(_0x3cf122[_0x29b51d(0x3e9)]===0x0||_0x1b572b[_0x29b51d(0x3e9)]===0x0)return;const _0x2d529a=[],_0x4568c8=[];let _0x8a0de9=_0x4ce188[_0x29b51d(0x375)][_0x29b51d(0x47a)](_0x7d8ceb[_0x29b51d(0x228)][0x0]),_0x465418=_0x4ce188['Tools'][_0x29b51d(0x47a)](_0x7d8ceb[_0x29b51d(0x228)][0x0]);for(let _0x865aa4=_0x3cf122['length']-0x1;_0x865aa4>=0x0;_0x865aa4--){const _0x54d896={'id':'doc.mutation.rich-text-editing','params':{..._0x3cf122[_0x865aa4]}},_0x39c8a9={'id':'doc.mutation.rich-text-editing','params':{..._0x1b572b[_0x865aa4]}},_0x16d0b6=this[_0x29b51d(0x1ea)][_0x29b51d(0x3af)](_0x8a0de9,_0x54d896,!0x1),_0x4a1d99=this[_0x29b51d(0x1ea)][_0x29b51d(0x3af)](_0x465418,_0x39c8a9,!0x1);if(_0x5f3c3e[_0x29b51d(0x23c)](_0x16d0b6))throw _0x16d0b6[_0x29b51d(0x230)];if(_0x5f3c3e[_0x29b51d(0x23c)](_0x4a1d99))throw _0x4a1d99[_0x29b51d(0x230)];_0x2d529a[_0x29b51d(0x1cd)](_0x16d0b6[_0x29b51d(0x27e)][_0x29b51d(0x321)]),_0x4568c8['unshift'](_0x4a1d99[_0x29b51d(0x27e)][_0x29b51d(0x321)]),_0x8a0de9=_0x16d0b6[_0x29b51d(0x406)],_0x465418=_0x4a1d99[_0x29b51d(0x406)];}_0x3a6c21[_0x29b51d(0x2e7)]({'undoCache':_0x2d529a,'redoCache':_0x4568c8});}[_0x28c363(0x41f)](_0x8d0e9){const _0x2c870b=_0x28c363,{unitID:_0x29ed12}=_0x8d0e9,_0x1f4b39=this[_0x2c870b(0x1e9)][_0x2c870b(0x37d)](_0x29ed12)[_0x2c870b(0x2fe)](_0x1bfa4c[_0x2c870b(0x2bc)]),_0x4cd0e1=_0x1f4b39['getActiveRange']();if(_0x4cd0e1==null)return;const _0x28af32=[{'id':_0x2c870b(0x1fd),'params':{'unitId':_0x8d0e9['unitID'],'actions':null,'textRanges':[_0x4cd0e1]}}],_0x66061e=this[_0x2c870b(0x1ea)][_0x2c870b(0x3b4)](_0x8d0e9,_0x28af32);if(!_0x5f3c3e[_0x2c870b(0x3aa)](_0x66061e))throw _0x66061e[_0x2c870b(0x230)];const _0x3e87ba=_0x66061e[_0x2c870b(0x27e)][0x0][_0x2c870b(0x321)]['textRanges'];Array[_0x2c870b(0x2f3)](_0x3e87ba)&&_0x3e87ba[_0x2c870b(0x3e9)]&&_0x1f4b39[_0x2c870b(0x2a0)](_0x3e87ba[0x0]);}};_0x4289c1=_0x27fb5d([_0x46a373(0x0,_0x5f3c3e[_0x28c363(0x1db)]),_0x46a373(0x1,_0xcd5ffc[_0x28c363(0x2e5)])],_0x4289c1);var _0x442d7b=Object[_0x28c363(0x328)],_0x2fa2f5=(_0x23be53,_0xa9b661,_0x5afbf1,_0x193aee)=>{const _0x1e3892=_0x28c363;for(var _0x2d054c=_0x193aee>0x1?void 0x0:_0x193aee?_0x442d7b(_0xa9b661,_0x5afbf1):_0xa9b661,_0x85fef9=_0x23be53[_0x1e3892(0x3e9)]-0x1,_0x56285f;_0x85fef9>=0x0;_0x85fef9--)(_0x56285f=_0x23be53[_0x85fef9])&&(_0x2d054c=_0x56285f(_0x2d054c)||_0x2d054c);return _0x2d054c;},_0x36bae0=(_0x486050,_0x2e05e5)=>(_0x12ffb6,_0x29ce72)=>_0x2e05e5(_0x12ffb6,_0x29ce72,_0x486050);let _0x3f4111=class{constructor(_0x4f316d,_0x342249,_0x4fc20a){const _0x20cbc2=_0x28c363;this[_0x20cbc2(0x1d6)]=_0x4f316d,this[_0x20cbc2(0x1ea)]=_0x342249,this[_0x20cbc2(0x31a)]=_0x4fc20a;}[_0x28c363(0x21a)](_0xe5e418){const _0x55d963=_0x28c363;this[_0x55d963(0x2ae)](_0xe5e418);}[_0x28c363(0x23b)](_0x26c948){const _0x259b28=_0x28c363,{unitID:_0x4faccd}=_0x26c948,{collaboration:_0x328a5b}=this[_0x259b28(0x31a)][_0x259b28(0x21c)](_0x4faccd);if(_0x328a5b['length']===0x0)return _0x26c948;let _0x461576=_0x4ce188[_0x259b28(0x375)][_0x259b28(0x47a)](_0x26c948[_0x259b28(0x228)][0x0]);for(let _0x464a72=0x0;_0x464a72<_0x328a5b[_0x259b28(0x3e9)];_0x464a72++){const _0x64eec6={'id':_0x259b28(0x1fd),'params':{'unitId':_0x328a5b[_0x464a72]['unitId'],..._0x328a5b[_0x464a72]['redoState']}},_0x19fe91=this[_0x259b28(0x1ea)][_0x259b28(0x3af)](_0x461576,_0x64eec6,!0x1);if(_0x5f3c3e[_0x259b28(0x23c)](_0x19fe91))throw _0x19fe91[_0x259b28(0x230)];_0x461576=_0x19fe91[_0x259b28(0x406)];}return{..._0x4ce188[_0x259b28(0x375)][_0x259b28(0x47a)](_0x26c948),'mutations':[_0x461576]};}['_transformHistoryAndStateStack'](_0x1bae99){const _0x48c9a2=_0x28c363,{unitID:_0x308d36}=_0x1bae99,{history:_0x4d6004,collaboration:_0x331df3}=this[_0x48c9a2(0x31a)][_0x48c9a2(0x21c)](_0x308d36);if(_0x4d6004[_0x48c9a2(0x3e9)]===0x0&&_0x331df3['length']===0x0)return;const _0xa8034a=[],_0xb0c0a4=[];let _0x252e71=_0x4ce188[_0x48c9a2(0x375)][_0x48c9a2(0x47a)](_0x1bae99[_0x48c9a2(0x228)][0x0]),_0x18a739=_0x4ce188[_0x48c9a2(0x375)]['deepClone'](_0x1bae99['mutations'][0x0]);for(let _0x5f23ef=_0x4d6004['length']-0x1;_0x5f23ef>=0x0;_0x5f23ef--){const _0x37fabe={'id':_0x48c9a2(0x1fd),'params':{'unitId':_0x4d6004[_0x5f23ef][_0x48c9a2(0x39f)],..._0x4d6004[_0x5f23ef]['undoState']}},_0x337165={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4d6004[_0x5f23ef][_0x48c9a2(0x39f)],..._0x4d6004[_0x5f23ef]['redoState']}},_0x4a9ac6=this['_transformService'][_0x48c9a2(0x3af)](_0x252e71,_0x37fabe,!0x1),_0x65b439=this[_0x48c9a2(0x1ea)][_0x48c9a2(0x3af)](_0x18a739,_0x337165,!0x1);if(_0x5f3c3e['isTransformMutationFailure'](_0x4a9ac6))throw _0x4a9ac6[_0x48c9a2(0x230)];if(_0x5f3c3e[_0x48c9a2(0x23c)](_0x65b439))throw _0x65b439[_0x48c9a2(0x230)];_0xa8034a[_0x48c9a2(0x1cd)]({..._0x4d6004[_0x5f23ef],'undoState':_0x4a9ac6[_0x48c9a2(0x27e)][_0x48c9a2(0x321)],'redoState':_0x65b439[_0x48c9a2(0x27e)]['params']}),_0x252e71=_0x4a9ac6[_0x48c9a2(0x406)],_0x18a739=_0x65b439['m1Prime'];}_0x252e71=_0x4ce188[_0x48c9a2(0x375)][_0x48c9a2(0x47a)](_0x1bae99[_0x48c9a2(0x228)][0x0]),_0x18a739=_0x4ce188['Tools'][_0x48c9a2(0x47a)](_0x1bae99[_0x48c9a2(0x228)][0x0]);for(let _0x2665ad=_0x331df3[_0x48c9a2(0x3e9)]-0x1;_0x2665ad>=0x0;_0x2665ad--){const _0x4c4e42={'id':_0x48c9a2(0x1fd),'params':{'unitId':_0x331df3[_0x2665ad][_0x48c9a2(0x39f)],..._0x331df3[_0x2665ad]['undoState']}},_0x2c6dee={'id':_0x48c9a2(0x1fd),'params':{'unitId':_0x331df3[_0x2665ad][_0x48c9a2(0x39f)],..._0x331df3[_0x2665ad][_0x48c9a2(0x449)]}},_0x1a563f=this[_0x48c9a2(0x1ea)][_0x48c9a2(0x3af)](_0x252e71,_0x4c4e42,!0x1),_0x2ec2c2=this['_transformService'][_0x48c9a2(0x3af)](_0x18a739,_0x2c6dee,!0x1);if(_0x5f3c3e[_0x48c9a2(0x23c)](_0x1a563f))throw _0x1a563f[_0x48c9a2(0x230)];if(_0x5f3c3e[_0x48c9a2(0x23c)](_0x2ec2c2))throw _0x2ec2c2[_0x48c9a2(0x230)];_0xb0c0a4[_0x48c9a2(0x1cd)]({..._0x331df3[_0x2665ad],'undoState':_0x1a563f[_0x48c9a2(0x27e)][_0x48c9a2(0x321)],'redoState':_0x2ec2c2[_0x48c9a2(0x27e)][_0x48c9a2(0x321)]}),_0x252e71=_0x1a563f[_0x48c9a2(0x406)],_0x18a739=_0x2ec2c2[_0x48c9a2(0x406)];}this[_0x48c9a2(0x31a)][_0x48c9a2(0x1a5)](_0x308d36,{'history':_0xa8034a,'collaboration':_0xb0c0a4});}};_0x3f4111=_0x2fa2f5([_0x36bae0(0x0,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x2ee)])),_0x36bae0(0x1,_0x5f3c3e[_0x28c363(0x1db)]),_0x36bae0(0x2,_0x4ce188[_0x28c363(0x319)](_0x1bfa4c[_0x28c363(0x35e)]))],_0x3f4111);var _0x4384bd=Object['getOwnPropertyDescriptor'],_0x1ad86c=(_0x3baaaa,_0x1a9350,_0x38bcac,_0x2fdcd4)=>{const _0x2cef2f=_0x28c363;for(var _0x4409fa=_0x2fdcd4>0x1?void 0x0:_0x2fdcd4?_0x4384bd(_0x1a9350,_0x38bcac):_0x1a9350,_0x54a7e1=_0x3baaaa[_0x2cef2f(0x3e9)]-0x1,_0x18e167;_0x54a7e1>=0x0;_0x54a7e1--)(_0x18e167=_0x3baaaa[_0x54a7e1])&&(_0x4409fa=_0x18e167(_0x4409fa)||_0x4409fa);return _0x4409fa;},_0x4ff607=(_0x570c93,_0x25614f)=>(_0x422599,_0x565ae2)=>_0x25614f(_0x422599,_0x565ae2,_0x570c93);let _0x2c9efa=class{constructor(_0x47cef0,_0x4904b0){const _0x37e54b=_0x28c363;this['_injector']=_0x47cef0,this[_0x37e54b(0x1ea)]=_0x4904b0;}[_0x28c363(0x22c)](_0x471289){const _0x1f4051=_0x28c363;var _0x585999;const _0x353468=this[_0x1f4051(0x1d6)]['get'](_0x4ebf52['DocSelectionManagerService']),_0x48248f=(_0x585999=_0x353468[_0x1f4051(0x410)]())!=null?_0x585999:[];if(_0x48248f[_0x1f4051(0x3e9)]===0x0)return;const _0x5c0416=_0x471289[_0x1f4051(0x3dc)],_0x341e98=[{'id':_0x1f4051(0x1fd),'params':{'unitId':_0x5c0416,'actions':null,'textRanges':_0x48248f}}],_0x2d4176=this['_transformService'][_0x1f4051(0x3b4)](_0x471289,_0x341e98);if(!_0x5f3c3e['isTransformMutationsWithChangesetSuccess'](_0x2d4176))throw _0x2d4176[_0x1f4051(0x230)];const _0x16372e=_0x2d4176[_0x1f4051(0x27e)][0x0]['params'][_0x1f4051(0x3c3)];Array[_0x1f4051(0x2f3)](_0x16372e)&&_0x16372e[_0x1f4051(0x3e9)]&&_0x353468[_0x1f4051(0x247)](_0x16372e,{'unitId':_0x5c0416,'subUnitId':_0x5c0416},!0x1);}};_0x2c9efa=_0x1ad86c([_0x4ff607(0x0,_0x4ce188[_0x28c363(0x319)](_0x4ce188['Injector'])),_0x4ff607(0x1,_0x5f3c3e[_0x28c363(0x1db)])],_0x2c9efa);var _0x5c24d0=Object['getOwnPropertyDescriptor'],_0x254394=(_0x3f19f5,_0x39da72,_0x3b6122,_0x516bca)=>{for(var _0xc079f6=_0x516bca>0x1?void 0x0:_0x516bca?_0x5c24d0(_0x39da72,_0x3b6122):_0x39da72,_0x28e9d3=_0x3f19f5['length']-0x1,_0x1e20e8;_0x28e9d3>=0x0;_0x28e9d3--)(_0x1e20e8=_0x3f19f5[_0x28e9d3])&&(_0xc079f6=_0x1e20e8(_0xc079f6)||_0xc079f6);return _0xc079f6;},_0x3ad6aa=(_0x3db62f,_0x9c589d)=>(_0x2f6540,_0x54720f)=>_0x9c589d(_0x2f6540,_0x54720f,_0x3db62f);let _0x4613c6=class extends _0x4ce188['Disposable']{constructor(_0x4a284d,_0x41ae42,_0x11c266,_0x1a102a,_0x4f5e98,_0x51652c,_0x5c052e,_0x1e5f4d){const _0x2006d6=_0x28c363;super(),_0x2002db(this,_0x2006d6(0x2c0),new _0x4d6cca['BehaviorSubject'](_0x463ba0[_0x2006d6(0x3b7)][_0x2006d6(0x3c4)])),(this[_0x2006d6(0x31a)]=_0x4a284d,this[_0x2006d6(0x24c)]=_0x41ae42,this[_0x2006d6(0x35a)]=_0x11c266,this[_0x2006d6(0x34f)]=_0x1a102a,this[_0x2006d6(0x1d3)]=_0x4f5e98,this[_0x2006d6(0x2d2)]=_0x51652c,this['_messageService']=_0x5c052e,this[_0x2006d6(0x1a0)]=_0x1e5f4d,this[_0x2006d6(0x33b)]());}['_initEntityListener'](){const _0x2a51e7=_0x28c363;this['disposeWithMe'](this[_0x2a51e7(0x24c)]['entityInit$'][_0x2a51e7(0x2df)](_0x2cc5aa=>{const _0x44ff22=_0x2a51e7,_0x11ba51=this[_0x44ff22(0x31a)][_0x44ff22(0x3ce)][_0x44ff22(0x2df)](_0x2114e4=>{const _0x1c9c59=_0x44ff22;if(_0x2114e4==null)return;const {unitId:_0x5aa149,redoState:_0x55b7c2,commandId:_0x42a7b5}=_0x2114e4;if(_0x5aa149!==_0x2cc5aa[_0x1c9c59(0x3dc)])return;const _0x565501={'id':_0x42a7b5,'type':_0x4ce188[_0x1c9c59(0x48e)]['MUTATION'],'params':{'unitId':_0x5aa149,'actions':_0x55b7c2[_0x1c9c59(0x448)],'textRanges':null}};_0x2cc5aa[_0x1c9c59(0x3ef)](_0x565501);});if(_0x2cc5aa[_0x44ff22(0x210)](_0x11ba51),_0x2cc5aa instanceof _0x463ba0[_0x44ff22(0x2a7)]){const _0x37c669={'onTransformIME':_0x355c49=>this[_0x44ff22(0x35a)][_0x44ff22(0x311)](_0x355c49),'onTransformState':_0x351f69=>this['_docTransformStateCacheService'][_0x44ff22(0x21a)](_0x351f69),'onTransformSelections':_0x41decd=>this['_docTransformSelectionsService'][_0x44ff22(0x22c)](_0x41decd),'onSyncEditingCollabCursor':_0x3ca6f5=>this[_0x44ff22(0x2d2)]['syncEditingCollabCursor'](_0x3ca6f5),'onTransformRemoteChangesetByIMECache':_0x54114a=>this[_0x44ff22(0x35a)][_0x44ff22(0x23b)](_0x54114a),'onTransformRemoteChangesetByStateCache':_0x20638a=>this[_0x44ff22(0x34f)][_0x44ff22(0x23b)](_0x20638a)};_0x2cc5aa['addHandlerCallback'](_0x37c669);}}));}};_0x4613c6=_0x254394([_0x3ad6aa(0x0,_0x4ce188[_0x28c363(0x319)](_0x1bfa4c['DocStateChangeManagerService'])),_0x3ad6aa(0x1,_0x4ce188[_0x28c363(0x319)](_0x463ba0[_0x28c363(0x246)])),_0x3ad6aa(0x2,_0x4ce188[_0x28c363(0x319)](_0x4289c1)),_0x3ad6aa(0x3,_0x4ce188['Inject'](_0x3f4111)),_0x3ad6aa(0x4,_0x4ce188[_0x28c363(0x319)](_0x2c9efa)),_0x3ad6aa(0x5,_0x4ce188[_0x28c363(0x319)](_0x53ce46)),_0x3ad6aa(0x6,_0x577183['IMessageService']),_0x3ad6aa(0x7,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x263)]))],_0x4613c6);var _0x3e28d9=(_0x436eff=>(_0x436eff[_0x436eff[_0x28c363(0x435)]=0x0]=_0x28c363(0x435),_0x436eff[_0x436eff['OK']=0x1]='OK',_0x436eff[_0x436eff[_0x28c363(0x3cd)]=0x2]=_0x28c363(0x3cd),_0x436eff[_0x436eff[_0x28c363(0x3d7)]=0x3]=_0x28c363(0x3d7),_0x436eff[_0x436eff[_0x28c363(0x47b)]=0x4]=_0x28c363(0x47b),_0x436eff[_0x436eff[_0x28c363(0x3b5)]=0x5]=_0x28c363(0x3b5),_0x436eff[_0x436eff[_0x28c363(0x2bb)]=0x6]=_0x28c363(0x2bb),_0x436eff[_0x436eff[_0x28c363(0x43b)]=0x7]=_0x28c363(0x43b),_0x436eff[_0x436eff[_0x28c363(0x33d)]=0x8]=_0x28c363(0x33d),_0x436eff[_0x436eff[_0x28c363(0x31b)]=0x9]=_0x28c363(0x31b),_0x436eff[_0x436eff[_0x28c363(0x3cb)]=0xa]='LOGIN_FAILED',_0x436eff[_0x436eff[_0x28c363(0x2e2)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x436eff[_0x436eff[_0x28c363(0x489)]=0xc]=_0x28c363(0x489),_0x436eff[_0x436eff[_0x28c363(0x455)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x436eff[_0x436eff['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x28c363(0x256),_0x436eff[_0x436eff[_0x28c363(0x434)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x436eff[_0x436eff[_0x28c363(0x399)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x436eff[_0x436eff[_0x28c363(0x1d9)]=0x64]=_0x28c363(0x1d9),_0x436eff[_0x436eff['ERROR_AGAIN']=0x65]=_0x28c363(0x258),_0x436eff[_0x436eff[_0x28c363(0x40f)]=0xc9]=_0x28c363(0x40f),_0x436eff[_0x436eff[_0x28c363(0x34a)]=0xca]=_0x28c363(0x34a),_0x436eff[_0x436eff['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x28c363(0x465),_0x436eff[_0x436eff['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x28c363(0x1af),_0x436eff[_0x436eff['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x28c363(0x279),_0x436eff[_0x436eff['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x28c363(0x212),_0x436eff[_0x436eff[_0x28c363(0x45c)]=0x1b59]=_0x28c363(0x45c),_0x436eff[_0x436eff[_0x28c363(0x24b)]=0x1b5a]=_0x28c363(0x24b),_0x436eff[_0x436eff[_0x28c363(0x403)]=0x1b5b]=_0x28c363(0x403),_0x436eff[_0x436eff['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x28c363(0x3fe),_0x436eff[_0x436eff[_0x28c363(0x491)]=0x1b5d]=_0x28c363(0x491),_0x436eff[_0x436eff[_0x28c363(0x3bc)]=0x1f41]=_0x28c363(0x3bc),_0x436eff[_0x436eff[_0x28c363(0x2b9)]=0x2329]=_0x28c363(0x2b9),_0x436eff[_0x436eff[_0x28c363(0x44e)]=0x232a]=_0x28c363(0x44e),_0x436eff[_0x436eff[_0x28c363(0x338)]=0x232b]=_0x28c363(0x338),_0x436eff[_0x436eff[_0x28c363(0x1ec)]=0x232c]=_0x28c363(0x1ec),_0x436eff[_0x436eff[_0x28c363(0x348)]=0x232d]=_0x28c363(0x348),_0x436eff[_0x436eff[_0x28c363(0x1aa)]=0x2711]=_0x28c363(0x1aa),_0x436eff[_0x436eff[_0x28c363(0x478)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x436eff[_0x436eff['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x28c363(0x40e),_0x436eff[_0x436eff[_0x28c363(0x1bf)]=0x2714]=_0x28c363(0x1bf),_0x436eff[_0x436eff[_0x28c363(0x2ed)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x436eff[_0x436eff[_0x28c363(0x41a)]=0x271b]=_0x28c363(0x41a),_0x436eff[_0x436eff['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x436eff[_0x436eff[_0x28c363(0x488)]=0x271d]=_0x28c363(0x488),_0x436eff[_0x436eff[_0x28c363(0x2b7)]=0x271e]=_0x28c363(0x2b7),_0x436eff[_0x436eff[_0x28c363(0x346)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x436eff[_0x436eff['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x436eff[_0x436eff[_0x28c363(0x298)]=0x2af9]=_0x28c363(0x298),_0x436eff[_0x436eff[_0x28c363(0x1f8)]=0x2ee1]=_0x28c363(0x1f8),_0x436eff[_0x436eff[_0x28c363(0x26b)]=0x2ee2]='INVALID_INVITE_CODE',_0x436eff[_0x436eff[_0x28c363(0x2fb)]=0x2ee3]=_0x28c363(0x2fb),_0x436eff[_0x436eff[_0x28c363(0x205)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x436eff[_0x436eff['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x28c363(0x475),_0x436eff[_0x436eff[_0x28c363(0x2a9)]=0x32c9]=_0x28c363(0x2a9),_0x436eff[_0x436eff[_0x28c363(0x1ba)]=0x32ca]=_0x28c363(0x1ba),_0x436eff[_0x436eff[_0x28c363(0x325)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x436eff[_0x436eff[_0x28c363(0x3c2)]=0x36b1]=_0x28c363(0x3c2),_0x436eff[_0x436eff[_0x28c363(0x445)]=0x36b2]=_0x28c363(0x445),_0x436eff[_0x436eff[_0x28c363(0x1cb)]=0x36b3]=_0x28c363(0x1cb),_0x436eff[_0x436eff['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x28c363(0x355),_0x436eff[_0x436eff[_0x28c363(0x265)]=0x36b5]=_0x28c363(0x265),_0x436eff[_0x436eff[_0x28c363(0x400)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x436eff[_0x436eff[_0x28c363(0x3ec)]=0x36b7]=_0x28c363(0x3ec),_0x436eff[_0x436eff[_0x28c363(0x2aa)]=0x36b8]=_0x28c363(0x2aa),_0x436eff[_0x436eff['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x28c363(0x211),_0x436eff[_0x436eff[_0x28c363(0x2a6)]=0x3716]=_0x28c363(0x2a6),_0x436eff[_0x436eff[_0x28c363(0x27d)]=0x3717]=_0x28c363(0x27d),_0x436eff[_0x436eff['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x436eff[_0x436eff[_0x28c363(0x476)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x436eff[_0x436eff['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x28c363(0x1bd),_0x436eff[_0x436eff['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x28c363(0x46c),_0x436eff[_0x436eff[_0x28c363(0x43c)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x436eff[_0x436eff[_0x28c363(0x32e)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x436eff[_0x436eff[_0x28c363(0x209)]=0x3a9e]=_0x28c363(0x209),_0x436eff[_0x436eff['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x28c363(0x2ec),_0x436eff[_0x436eff[_0x28c363(0x2f8)]=0x3e81]=_0x28c363(0x2f8),_0x436eff[_0x436eff['UNRECOGNIZED']=-0x1]=_0x28c363(0x238),_0x436eff))(_0x3e28d9||{});function _0x3a12fb(_0x287fc2){const _0x24248c=_0x28c363;var _0x1bf4f3,_0x55b221;const _0x484e0f=(_0x1bf4f3=_0x287fc2['stageInfo'])==null?void 0x0:_0x1bf4f3[_0x24248c(0x216)],_0x54a48c=((_0x55b221=_0x287fc2[_0x24248c(0x47e)])==null?void 0x0:_0x55b221[_0x24248c(0x364)])||0x0;return _0x484e0f===_0xf94d0f[_0x24248c(0x3ed)][_0x24248c(0x2f2)]&&_0x54a48c>0x0;}function _0x2be548(_0x499736){const _0x24b171=_0x28c363;return _0x499736[_0x24b171(0x458)]===_0xf94d0f[_0x24b171(0x2b6)][_0x24b171(0x274)];}var _0x3b99aa=Object[_0x28c363(0x328)],_0x26126a=(_0x159087,_0x433372,_0x1941a4,_0x4e5745)=>{for(var _0x4f1220=_0x4e5745>0x1?void 0x0:_0x4e5745?_0x3b99aa(_0x433372,_0x1941a4):_0x433372,_0x1306d1=_0x159087['length']-0x1,_0x4a9bc1;_0x1306d1>=0x0;_0x1306d1--)(_0x4a9bc1=_0x159087[_0x1306d1])&&(_0x4f1220=_0x4a9bc1(_0x4f1220)||_0x4f1220);return _0x4f1220;},_0x56c89d=(_0x1e9456,_0x8b831a)=>(_0x5c50ae,_0x44b3d0)=>_0x8b831a(_0x5c50ae,_0x44b3d0,_0x1e9456);const _0x54dbdf=_0x28c363(0x277),_0x4bae55=_0x28c363(0x26f),_0x3201a1=_0x28c363(0x44b);let _0x3c389e=class extends _0x4ce188['Disposable']{constructor(_0x1c9e6b,_0xf8f707,_0x4c8dab,_0x5e1b7e,_0x5dc0e6,_0x1a85c1,_0x155a1b){const _0x2d5411=_0x28c363;super(),_0x2002db(this,'_pollingInterval',null),_0x2002db(this,_0x2d5411(0x1f5),0x0),_0x2002db(this,_0x2d5411(0x460),0x0),_0x2002db(this,_0x2d5411(0x2e1),[]),_0x2002db(this,_0x2d5411(0x3c8),0x0),(this[_0x2d5411(0x22f)]=_0x1c9e6b,this['_commandService']=_0xf8f707,this[_0x2d5411(0x485)]=_0x4c8dab,this[_0x2d5411(0x417)]=_0x5e1b7e,this[_0x2d5411(0x2e8)]=_0x5dc0e6,this[_0x2d5411(0x3ff)]=_0x1a85c1,this['_localeService']=_0x155a1b,this[_0x2d5411(0x315)]());}[_0x28c363(0x315)](){const _0x585267=_0x28c363;this[_0x585267(0x210)](this[_0x585267(0x3b3)][_0x585267(0x221)]((_0x25fcbc,_0x291cf5)=>{const _0x5da90f=_0x585267;var _0x2d3b2c;if(_0x25fcbc['id']!==_0xf94d0f[_0x5da90f(0x467)]['id'])return;const _0x5e07c1=_0x25fcbc['params'];if(!this[_0x5da90f(0x383)]((_0x2d3b2c=_0x5e07c1[_0x5da90f(0x19b)])!=null?_0x2d3b2c:[]))return;if(!this[_0x5da90f(0x1e2)]())throw this[_0x5da90f(0x43e)](_0x25fcbc,_0x291cf5),this[_0x5da90f(0x236)](),new _0x4ce188[(_0x5da90f(0x471))]();})),this[_0x585267(0x210)](this[_0x585267(0x3b3)][_0x585267(0x20a)]((_0x4bd952,_0x51d75a)=>{const _0x5b1999=_0x585267;if(_0x4bd952['id']!==_0xf94d0f[_0x5b1999(0x31f)]['id'])return;const _0x4e5887=_0x4bd952[_0x5b1999(0x321)];if(_0x3a12fb(_0x4e5887)){const _0x3dde8d=_0x4ce188[_0x5b1999(0x35d)]();this[_0x5b1999(0x2e1)][_0x5b1999(0x309)](_0x3dde8d),this[_0x5b1999(0x242)](_0x3dde8d);}else{if(_0x2be548(_0x4e5887)&&this[_0x5b1999(0x2e1)][_0x5b1999(0x3e9)]>0x0){const _0x50d7d9=this[_0x5b1999(0x2e1)][_0x5b1999(0x1d1)]();this[_0x5b1999(0x1a9)](_0x50d7d9);}}}));}['dispose'](){const _0x12512c=_0x28c363;super[_0x12512c(0x2fc)](),this[_0x12512c(0x390)](),this[_0x12512c(0x2e1)]=[],this[_0x12512c(0x460)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x12512c(0x3c8)]=0x0;}async[_0x28c363(0x43e)](_0x31a431,_0x250625){const _0x231c22=_0x28c363;for(let _0x530348=0x0;_0x530348<0x1e;_0x530348++)try{if(await this['_getFormulaLimitStatus'](),this['_checkCalculationAvailable']()){this['_applyCommand'](_0x31a431,_0x250625),this[_0x231c22(0x22f)][_0x231c22(0x273)]({'content':this[_0x231c22(0x1a0)]['t'](_0x231c22(0x42f)),'type':_0x523600['MessageType']['Success']});return;}await new Promise(_0x3a231a=>{const _0x44ec1b=_0x231c22;this['_pollingInterval']=window[_0x44ec1b(0x21d)](_0x3a231a,0x3e8);});}catch(_0x28f0e8){this[_0x231c22(0x3ff)][_0x231c22(0x230)](_0x28f0e8);}this['_messageService'][_0x231c22(0x273)]({'content':this[_0x231c22(0x1a0)]['t']('formula.calculation.unable'),'type':_0x523600[_0x231c22(0x3c7)]['Error']});}[_0x28c363(0x36a)](_0x4fa65c,_0xc49773){const _0x563429=_0x28c363;try{this[_0x563429(0x3b3)][_0x563429(0x1ae)](_0x4fa65c['id'],_0x4fa65c[_0x563429(0x321)],_0xc49773);}catch(_0x1040a5){this['_logService'][_0x563429(0x230)](_0x1040a5);}}[_0x28c363(0x44d)](_0x1e7b79,_0x2733b8){const _0x383676=_0x28c363;_0x2733b8<this[_0x383676(0x3c8)]||(this[_0x383676(0x3c8)]=_0x2733b8,this[_0x383676(0x1f5)]=Number[_0x383676(0x213)](_0x1e7b79[_0x383676(0x27b)]),this[_0x383676(0x460)]=Number[_0x383676(0x213)](_0x1e7b79[_0x383676(0x2d7)]));}async[_0x28c363(0x242)](_0x1b1687){const _0x417dd6=_0x28c363;var _0x5b63e2,_0x16e5bd;const _0x514f09=Date[_0x417dd6(0x2db)]();try{const _0x38af72=((_0x5b63e2=this[_0x417dd6(0x485)][_0x417dd6(0x42b)](_0x463ba0[_0x417dd6(0x1f6)]))==null?void 0x0:_0x5b63e2[_0x417dd6(0x254)])||_0x4bae55,_0x98d5a7=(await this['_httpService'][_0x417dd6(0x452)](_0x38af72,{'body':JSON[_0x417dd6(0x2d8)]({'taskId':_0x1b1687})}))[_0x417dd6(0x2b4)];if(((_0x16e5bd=_0x98d5a7['error'])==null?void 0x0:_0x16e5bd[_0x417dd6(0x1e6)])!==_0x3e28d9['OK'])return;this[_0x417dd6(0x44d)](_0x98d5a7['limitInfo'],_0x514f09);}catch(_0x1fee1c){this[_0x417dd6(0x3ff)][_0x417dd6(0x230)](_0x1fee1c);}}async[_0x28c363(0x27f)](_0x4c55d3){const _0x5af737=_0x28c363;var _0x2c5de5,_0x540486;const _0x7b0a02=Date['now']();try{const _0x48a0be=((_0x2c5de5=this[_0x5af737(0x485)][_0x5af737(0x42b)](_0x463ba0[_0x5af737(0x1f6)]))==null?void 0x0:_0x2c5de5[_0x5af737(0x25d)])||_0x54dbdf,_0x27955e=_0x4c55d3?_0x48a0be+_0x5af737(0x3a7)+encodeURIComponent(_0x4c55d3):_0x48a0be,_0x12ddde=(await this[_0x5af737(0x417)][_0x5af737(0x314)](_0x27955e))['body'];if(((_0x540486=_0x12ddde[_0x5af737(0x230)])==null?void 0x0:_0x540486['code'])!==_0x3e28d9['OK'])return;this['_setFormulaLimitStatus'](_0x12ddde['limitInfo'],_0x7b0a02);}catch(_0x5f5077){this[_0x5af737(0x3ff)][_0x5af737(0x230)](_0x5f5077);}}async[_0x28c363(0x1a9)](_0x398955){const _0x41156=_0x28c363;var _0x57e3a6,_0xdb32d5;const _0x312e75=Date['now']();try{const _0x4c3424=((_0x57e3a6=this[_0x41156(0x485)]['getConfig'](_0x463ba0[_0x41156(0x1f6)]))==null?void 0x0:_0x57e3a6['releaseFormulaLimitUrl'])||_0x3201a1,_0x34ea83=(await this['_httpService'][_0x41156(0x452)](_0x4c3424,{'body':JSON[_0x41156(0x2d8)]({'taskId':_0x398955})}))[_0x41156(0x2b4)];if(((_0xdb32d5=_0x34ea83['error'])==null?void 0x0:_0xdb32d5['code'])!==_0x3e28d9['OK'])return;this[_0x41156(0x44d)](_0x34ea83[_0x41156(0x29d)],_0x312e75);}catch(_0x4c36c2){this[_0x41156(0x3ff)]['error'](_0x4c36c2);}}['_checkCalculationAvailable'](){const _0x51848b=_0x28c363;return this[_0x51848b(0x1f5)]===0x0?!0x0:this[_0x51848b(0x1f5)]-this[_0x51848b(0x460)]>0x0;}[_0x28c363(0x390)](){const _0x20d42a=_0x28c363;this[_0x20d42a(0x407)]&&(clearTimeout(this[_0x20d42a(0x407)]),this['_pollingInterval']=null);}[_0x28c363(0x236)](){const _0x4966bd=_0x28c363;this[_0x4966bd(0x22f)][_0x4966bd(0x273)]({'content':this[_0x4966bd(0x1a0)]['t'](_0x4966bd(0x3da)),'type':_0x523600[_0x4966bd(0x3c7)]['Loading']});}[_0x28c363(0x383)](_0xe1ed6b){const _0x4e592c=_0x28c363;for(const _0x136619 of _0xe1ed6b){const {unitId:_0x12038c,sheetId:_0xdd8371,range:_0x180a4e}=_0x136619,_0x22f5fa=this[_0x4e592c(0x2e8)][_0x4e592c(0x1fb)](_0x12038c);if(!_0x22f5fa)continue;const _0x71ac4=_0x22f5fa[_0x4e592c(0x313)](_0xdd8371);if(!_0x71ac4)continue;const _0x1c77db=_0x71ac4[_0x4e592c(0x2d0)]();for(let _0x44c82e=_0x180a4e[_0x4e592c(0x1c9)];_0x44c82e<=_0x180a4e[_0x4e592c(0x2d5)];_0x44c82e++)for(let _0x12a9ea=_0x180a4e[_0x4e592c(0x3a5)];_0x12a9ea<=_0x180a4e[_0x4e592c(0x318)];_0x12a9ea++){const _0x4ca7ea=_0x1c77db[_0x4e592c(0x26a)](_0x44c82e,_0x12a9ea);if(_0x4ca7ea&&(_0x4ce188[_0x4e592c(0x3f6)](_0x4ca7ea['f'])||_0x4ce188['isFormulaId'](_0x4ca7ea['si'])))return!0x0;}}return!0x1;}};_0x3c389e=_0x26126a([_0x56c89d(0x0,_0x4ce188[_0x28c363(0x319)](_0x577183[_0x28c363(0x2ca)])),_0x56c89d(0x1,_0x4ce188[_0x28c363(0x454)]),_0x56c89d(0x2,_0x4ce188['IConfigService']),_0x56c89d(0x3,_0x4ce188[_0x28c363(0x319)](_0x1d4876['HTTPService'])),_0x56c89d(0x4,_0x4ce188['IUniverInstanceService']),_0x56c89d(0x5,_0x4ce188[_0x28c363(0x367)]),_0x56c89d(0x6,_0x4ce188[_0x28c363(0x319)](_0x4ce188['LocaleService']))],_0x3c389e);var _0x18ddfa=Object['getOwnPropertyDescriptor'],_0x1532f7=(_0x8309f1,_0x3b6e52,_0x2fa6ef,_0x56bac2)=>{const _0xb9c740=_0x28c363;for(var _0x2086cf=_0x56bac2>0x1?void 0x0:_0x56bac2?_0x18ddfa(_0x3b6e52,_0x2fa6ef):_0x3b6e52,_0x14a22e=_0x8309f1[_0xb9c740(0x3e9)]-0x1,_0x1ba283;_0x14a22e>=0x0;_0x14a22e--)(_0x1ba283=_0x8309f1[_0x14a22e])&&(_0x2086cf=_0x1ba283(_0x2086cf)||_0x2086cf);return _0x2086cf;},_0x1f2646=(_0x43e53a,_0x3ed5a7)=>(_0x2026ef,_0x358f6d)=>_0x3ed5a7(_0x2026ef,_0x358f6d,_0x43e53a);let _0x102e99=class extends _0x4ce188[_0x28c363(0x3ba)]{constructor(_0x1a5ebc,_0x4b5c6d,_0x259a4b){const _0x5d5437=_0x28c363;super(),_0x2002db(this,_0x5d5437(0x3fb),new Map()),_0x2002db(this,_0x5d5437(0x3c0),new Map()),_0x2002db(this,_0x5d5437(0x3a8),!0x1),(this[_0x5d5437(0x485)]=_0x1a5ebc,this[_0x5d5437(0x248)]=_0x4b5c6d,this[_0x5d5437(0x20e)]=_0x259a4b);}[_0x28c363(0x3f2)](){const _0x1f2efe=_0x28c363;this[_0x1f2efe(0x3a8)]=!0x0;}[_0x28c363(0x44a)](){this['_disabled']=!0x1;}get[_0x28c363(0x202)](){return this['_saveTaskMap'];}['dispose'](){const _0x1fe2aa=_0x28c363;this['exhaustSavingTask']()[_0x1fe2aa(0x3f1)](()=>super['dispose']());}async[_0x28c363(0x3b1)](_0x33e975){const _0x2d3da2=_0x28c363;return this[_0x2d3da2(0x3a8)]?null:this[_0x2d3da2(0x248)][_0x2d3da2(0x45f)](_0x463ba0['getLocalCacheKey'](_0x33e975));}async[_0x28c363(0x3d3)](_0x2060c4,_0x2788c1){const _0x2511dd=_0x28c363;return!!this['_localStorageService'][_0x2511dd(0x2bd)](_0x2060c4,_0x2788c1);}[_0x28c363(0x218)](_0x289685,_0x438d36,_0x43554b,_0x307c8c){const _0x20be54=_0x28c363,_0x1a8078=this[_0x20be54(0x20e)][_0x20be54(0x39a)](_0x289685);this[_0x20be54(0x3fb)][_0x20be54(0x306)](_0x289685,{'unitID':_0x289685,'type':_0x438d36,'awaitingChangeset':_0x43554b,'mutations':_0x307c8c,'rev':_0x1a8078}),this[_0x20be54(0x3c0)]['has'](_0x289685)||this[_0x20be54(0x308)](_0x289685);}[_0x28c363(0x308)](_0x53c230){const _0x3af4c2=_0x28c363,_0x38530c=this[_0x3af4c2(0x1e8)]();_0x38530c===0x0?this[_0x3af4c2(0x361)](_0x53c230):this[_0x3af4c2(0x3c0)]['set'](_0x53c230,setTimeout(()=>this[_0x3af4c2(0x361)](_0x53c230),_0x38530c));}[_0x28c363(0x1e8)](){const _0x5ab243=_0x28c363;var _0x1828a7;return(_0x1828a7=this[_0x5ab243(0x485)][_0x5ab243(0x42b)](_0x463ba0[_0x5ab243(0x392)]))!=null?_0x1828a7:_0x463ba0['LOCAL_CACHE_INTERVAL'];}[_0x28c363(0x361)](_0x4ca25c){const _0x3ecd0e=_0x28c363,_0x5d960e=this['_saveTaskMap'][_0x3ecd0e(0x314)](_0x4ca25c);return _0x5d960e!==void 0x0&&window[_0x3ecd0e(0x42e)](_0x5d960e),this[_0x3ecd0e(0x248)][_0x3ecd0e(0x2bd)](_0x463ba0[_0x3ecd0e(0x326)](_0x4ca25c),this[_0x3ecd0e(0x3fb)][_0x3ecd0e(0x314)](_0x4ca25c))['then'](()=>this[_0x3ecd0e(0x3c0)][_0x3ecd0e(0x409)](_0x4ca25c));}async[_0x28c363(0x257)](){const _0x352c3f=_0x28c363,_0x262b95=[];this['_saveTaskMap'][_0x352c3f(0x385)]((_0x394fcc,_0x4cfe6c)=>{const _0x411b04=_0x352c3f;window[_0x411b04(0x42e)](_0x394fcc),_0x262b95[_0x411b04(0x309)](this[_0x411b04(0x361)](_0x4cfe6c)[_0x411b04(0x3f1)](()=>{const _0x5d54b8=_0x411b04;this[_0x5d54b8(0x3c0)][_0x5d54b8(0x409)](_0x4cfe6c);}));}),await Promise['all'](_0x262b95);}};_0x102e99=_0x1532f7([_0x1f2646(0x0,_0x4ce188[_0x28c363(0x30a)]),_0x1f2646(0x1,_0x4ce188['ILocalStorageService']),_0x1f2646(0x2,_0x4ce188[_0x28c363(0x319)](_0x5f3c3e['RevisionService']))],_0x102e99);class _0x9a2c00 extends _0x4ce188[_0x28c363(0x3f3)]{constructor(){const _0x3d804a=_0x28c363;super(),_0x2002db(this,_0x3d804a(0x341)),this['urlChange$']=_0x4d6cca['fromEvent'](window,'popstate')[_0x3d804a(0x397)](_0x4d6cca[_0x3d804a(0x20b)](this[_0x3d804a(0x1fa)]),_0x4d6cca[_0x3d804a(0x456)](0x1),_0x4d6cca[_0x3d804a(0x26c)](void 0x0));}[_0x28c363(0x2be)](_0x394d4c,_0x17aced,_0x3e4be7=!0x1){const _0x89cfe3=_0x28c363,_0x18b3d2=new URL(window['location'][_0x89cfe3(0x33a)]);_0x18b3d2['searchParams'][_0x89cfe3(0x306)](_0x394d4c,_0x17aced),_0x3e4be7?window[_0x89cfe3(0x2c9)]['replaceState']('','',_0x18b3d2['toString']()):window[_0x89cfe3(0x2c9)]['pushState']('','',_0x18b3d2['toString']());}[_0x28c363(0x28f)](_0x1a0c28,_0x5a7df4=!0x1){const _0x7683d3=_0x28c363,_0x185278=new URL(window['location'][_0x7683d3(0x33a)]);_0x185278[_0x7683d3(0x32a)]['delete'](_0x1a0c28),_0x5a7df4?window[_0x7683d3(0x2c9)]['replaceState']('','',_0x185278[_0x7683d3(0x288)]()):window['history'][_0x7683d3(0x217)]('','',_0x185278[_0x7683d3(0x288)]());}[_0x28c363(0x35b)](_0x328f61){const _0x373b94=_0x28c363;var _0x6eed6d;return(_0x6eed6d=new URL(window[_0x373b94(0x431)][_0x373b94(0x33a)])[_0x373b94(0x32a)][_0x373b94(0x314)](_0x328f61))!=null?_0x6eed6d:void 0x0;}}var _0xc25f4e=Object['defineProperty'],_0x3e7f9b=Object[_0x28c363(0x328)],_0x23e167=(_0x30aa08,_0x241426,_0x34cb91)=>_0x241426 in _0x30aa08?_0xc25f4e(_0x30aa08,_0x241426,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x34cb91}):_0x30aa08[_0x241426]=_0x34cb91,_0x574c82=(_0x1338e2,_0x5d59f1,_0x75f1ce,_0x4d550f)=>{const _0x142e46=_0x28c363;for(var _0x4ecc39=_0x4d550f>0x1?void 0x0:_0x4d550f?_0x3e7f9b(_0x5d59f1,_0x75f1ce):_0x5d59f1,_0x9447ce=_0x1338e2[_0x142e46(0x3e9)]-0x1,_0x2ec141;_0x9447ce>=0x0;_0x9447ce--)(_0x2ec141=_0x1338e2[_0x9447ce])&&(_0x4ecc39=_0x2ec141(_0x4ecc39)||_0x4ecc39);return _0x4ecc39;},_0x2b153c=(_0xb167c4,_0x5b996a)=>(_0x50947,_0x54fca4)=>_0x5b996a(_0x50947,_0x54fca4,_0xb167c4),_0x48d32e=(_0x491146,_0x34f6d4,_0x2f081e)=>_0x23e167(_0x491146,_0x34f6d4+'',_0x2f081e);const _0x13f050=_0x28c363(0x426);_0x109cc1[_0x28c363(0x284)]=class extends _0x4ce188[_0x28c363(0x2af)]{constructor(_0x51c425=_0x52a5e9,_0x1eb3b0,_0x820aed,_0x4aaf85){const _0x5b57ca=_0x28c363;super(),this[_0x5b57ca(0x424)]=_0x51c425,this['_renderManagerService']=_0x1eb3b0,this[_0x5b57ca(0x1d6)]=_0x820aed,this[_0x5b57ca(0x485)]=_0x4aaf85;const {..._0x34ae89}=_0x4ce188[_0x5b57ca(0x3a0)]({},_0x52a5e9,this['_config']);this['_configService'][_0x5b57ca(0x1ee)](_0xe3ab6a,_0x34ae89);}[_0x28c363(0x2e0)](){const _0x1ce7ba=_0x28c363;this[_0x1ce7ba(0x336)](),this[_0x1ce7ba(0x1f2)]();}[_0x28c363(0x37c)](){const _0x2e0e94=_0x28c363;this[_0x2e0e94(0x3f4)]();}[_0x28c363(0x336)](){const _0x329a11=_0x28c363;var _0x322378;const _0x26ec07=[[_0x5937ca],[_0x3c389e],[_0x2c9efa],[_0x4289c1],[_0x3f4111],[_0x53ce46],[_0x204646,{'useClass':_0x9a2c00}],[_0x1d4876[_0x329a11(0x223)],{'useClass':_0x1d4876['WebSocketService']}],[_0x463ba0[_0x329a11(0x1d5)],{'useClass':_0x102e99}],[_0x109cc1['DesktopCollaborationStatusDisplayController']],[_0x4613c6],[_0x35c423],[_0x2a8919],[_0x288851],[_0x109cc1['CollaborationDataLoaderController']]];this[_0x329a11(0x424)]['enableFrontendLog']&&_0x26ec07['push']([_0x1e2184]),_0x4ce188['registerDependencies'](this[_0x329a11(0x1d6)],_0x4ce188['mergeOverrideWithDependencies'](_0x26ec07,(_0x322378=this[_0x329a11(0x424)])==null?void 0x0:_0x322378[_0x329a11(0x389)]));}['_registerRenderDependencies'](){const _0x512f08=_0x28c363;this[_0x512f08(0x210)](this[_0x512f08(0x1e9)][_0x512f08(0x38d)](_0x4ce188['UniverInstanceType']['UNIVER_DOC'],[_0x2af2e0])),this[_0x512f08(0x210)](this[_0x512f08(0x1e9)]['registerRenderModule'](_0x4ce188[_0x512f08(0x1b9)][_0x512f08(0x30b)],[_0x5dc1d7]));}[_0x28c363(0x1f2)](){const _0x422ecc=_0x28c363;_0x4ce188[_0x422ecc(0x2f5)](this[_0x422ecc(0x1d6)],[[_0x2a8919],[_0x109cc1[_0x422ecc(0x3ac)]],[_0x4613c6],[_0x35c423],[_0x109cc1[_0x422ecc(0x443)]],[_0x3c389e]]),this[_0x422ecc(0x424)][_0x422ecc(0x36d)]&&_0x4ce188[_0x422ecc(0x2f5)](this[_0x422ecc(0x1d6)],[[_0x1e2184]]);}},_0x48d32e(_0x109cc1['UniverCollaborationClientUIPlugin'],_0x28c363(0x413),_0x13f050),_0x109cc1['UniverCollaborationClientUIPlugin']=_0x574c82([_0x4ce188[_0x28c363(0x2b1)](_0x463ba0[_0x28c363(0x368)]),_0x2b153c(0x1,_0xcd5ffc[_0x28c363(0x2e5)]),_0x2b153c(0x2,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x2ee)])),_0x2b153c(0x3,_0x4ce188[_0x28c363(0x30a)])],_0x109cc1[_0x28c363(0x284)]);var _0x54e371=Object['getOwnPropertyDescriptor'],_0x21f088=(_0x941301,_0x5ddb22,_0x5380e7,_0x2cbe94)=>{const _0x577608=_0x28c363;for(var _0x805392=_0x2cbe94>0x1?void 0x0:_0x2cbe94?_0x54e371(_0x5ddb22,_0x5380e7):_0x5ddb22,_0x2527bd=_0x941301[_0x577608(0x3e9)]-0x1,_0x37c89f;_0x2527bd>=0x0;_0x2527bd--)(_0x37c89f=_0x941301[_0x2527bd])&&(_0x805392=_0x37c89f(_0x805392)||_0x805392);return _0x805392;},_0x517ad6=(_0x3526df,_0x13e727)=>(_0x28addc,_0x291eda)=>_0x13e727(_0x28addc,_0x291eda,_0x3526df);_0x109cc1[_0x28c363(0x3bf)]=class extends _0x463ba0['CollaborationSocketService']{constructor(_0x331ec5,_0xea1c6,_0xff027f,_0x2ad3e9,_0x55d356){super(_0x331ec5,_0xea1c6,_0xff027f,_0x2ad3e9,_0x55d356);}async[_0x28c363(0x1ce)](_0xc96eaa){const _0x1a0ba3=_0x28c363,_0x2755f4=await this[_0x1a0ba3(0x3fd)](),_0x2dcd08=this['_createSocketURL'](_0xc96eaa,_0x2755f4);return this[_0x1a0ba3(0x330)](_0x2dcd08);}[_0x28c363(0x386)](_0x1ea50e,_0x114da7){const _0x1630dc=_0x28c363,_0xcbc9fe=typeof window>'u'?new URL(_0x1ea50e):new URL(_0x1ea50e,window['location'][_0x1630dc(0x1ed)]);_0xcbc9fe[_0x1630dc(0x32a)][_0x1630dc(0x306)]('sessionTicket',_0x114da7);const _0x394084=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1630dc(0x431)][_0x1630dc(0x2de)]);return _0x394084[_0x1630dc(0x314)](_0x1630dc(0x349))&&_0xcbc9fe[_0x1630dc(0x32a)][_0x1630dc(0x306)](_0x1630dc(0x349),_0x394084['get']('runId')),_0xcbc9fe['toString']();}async[_0x28c363(0x3fd)](){const _0x4c3b95=_0x28c363;var _0xa6b5e7,_0x284122,_0x1b0fbe;const _0x1432c2=this['_configService']['getConfig'](_0x463ba0[_0x4c3b95(0x1f6)]),_0x9ec75a=(_0xa6b5e7=_0x1432c2==null?void 0x0:_0x1432c2[_0x4c3b95(0x23e)])!=null?_0xa6b5e7:_0x463ba0[_0x4c3b95(0x394)];return(_0x1b0fbe=(_0x284122=(await this[_0x4c3b95(0x417)][_0x4c3b95(0x314)](_0x9ec75a,{'headers':{'Content-Type':'application/json'}}))[_0x4c3b95(0x2b4)])==null?void 0x0:_0x284122[_0x4c3b95(0x1ca)])!=null?_0x1b0fbe:'';}},_0x109cc1[_0x28c363(0x3bf)]=_0x21f088([_0x517ad6(0x0,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x2ee)])),_0x517ad6(0x1,_0x4ce188[_0x28c363(0x319)](_0x1d4876[_0x28c363(0x461)])),_0x517ad6(0x2,_0x4ce188['IConfigService']),_0x517ad6(0x3,_0x4ce188[_0x28c363(0x367)]),_0x517ad6(0x4,_0x5f3c3e[_0x28c363(0x235)])],_0x109cc1[_0x28c363(0x3bf)]);var _0x5bf8cc=Object[_0x28c363(0x328)],_0x3a5105=(_0x232911,_0x3e9502,_0x983ea6,_0x3942d3)=>{const _0x5a0ddf=_0x28c363;for(var _0x169ba9=_0x3942d3>0x1?void 0x0:_0x3942d3?_0x5bf8cc(_0x3e9502,_0x983ea6):_0x3e9502,_0x3b41c5=_0x232911[_0x5a0ddf(0x3e9)]-0x1,_0x4fc389;_0x3b41c5>=0x0;_0x3b41c5--)(_0x4fc389=_0x232911[_0x3b41c5])&&(_0x169ba9=_0x4fc389(_0x169ba9)||_0x169ba9);return _0x169ba9;},_0x20a694=(_0x400f63,_0x1991de)=>(_0x121520,_0x1e1456)=>_0x1991de(_0x121520,_0x1e1456,_0x400f63);_0x109cc1['RemoteUniscriptService']=class extends _0x4ce188[_0x28c363(0x3ba)]{constructor(_0x4b64f9,_0x54f4a1,_0x540dad){const _0x1b9540=_0x28c363;super(),this[_0x1b9540(0x48a)]=_0x4b64f9,this[_0x1b9540(0x417)]=_0x54f4a1,this[_0x1b9540(0x485)]=_0x540dad;}async[_0x28c363(0x401)](_0x46d46a,_0x424f36,_0x2cb119,..._0x5b5111){const _0x1b1ea4=_0x28c363;var _0x578e6c,_0x11ede1,_0x5df489,_0x4f7b24;const _0x2f69ea=this[_0x1b1ea4(0x48a)][_0x1b1ea4(0x30d)]();if(!_0x2f69ea)throw new Error(_0x1b1ea4(0x278));const _0x5caa33=((_0x578e6c=this[_0x1b1ea4(0x485)]['getConfig'](_0x463ba0[_0x1b1ea4(0x481)]))!=null?_0x578e6c:_0x463ba0['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x46d46a+_0x1b1ea4(0x36f)+_0x424f36,_0x1fad06=new URL(window['location']['href']),_0x24d793={'scriptId':_0x46d46a,'runId':(_0x11ede1=_0x1fad06[_0x1b1ea4(0x32a)][_0x1b1ea4(0x314)](_0x1b1ea4(0x349)))!=null?_0x11ede1:'','function':_0x424f36,'unitId':_0x2f69ea[_0x1b1ea4(0x281)](),'argsOfFunction':JSON[_0x1b1ea4(0x2d8)](_0x5b5111),'invokeId':(_0x5df489=_0x2cb119[_0x1b1ea4(0x453)])!=null?_0x5df489:'','executionId':(_0x4f7b24=_0x2cb119[_0x1b1ea4(0x2bf)])!=null?_0x4f7b24:''};try{const _0x1fc1e3=await this[_0x1b1ea4(0x417)]['post'](_0x5caa33,{'body':_0x24d793});return _0x1fc1e3[_0x1b1ea4(0x2b4)][_0x1b1ea4(0x230)]&&_0x1fc1e3[_0x1b1ea4(0x2b4)]['error']['code']!==_0x3e28d9['OK']?'Failed':_0x1fc1e3[_0x1b1ea4(0x2b4)][_0x1b1ea4(0x2b0)];}catch{return _0x1b1ea4(0x350);}}},_0x109cc1[_0x28c363(0x40b)]=_0x3a5105([_0x20a694(0x0,_0x4ce188['IUniverInstanceService']),_0x20a694(0x1,_0x4ce188['Inject'](_0x1d4876[_0x28c363(0x461)])),_0x20a694(0x2,_0x4ce188['IConfigService'])],_0x109cc1['RemoteUniscriptService']);const _0x5334c6=0x7530,_0x5c1113=_0x28c363(0x333);class _0x3c1ac2 extends _0x4ce188['Disposable']{constructor(){const _0x357132=_0x28c363;super(),_0x2002db(this,_0x357132(0x45a),_0x4ce188['generateRandomId']()),_0x2002db(this,'_selfUnitIDs',new Set()),_0x2002db(this,'_unitOnClients',new Map()),_0x2002db(this,_0x357132(0x271),null),_0x2002db(this,_0x357132(0x3eb),new Map()),_0x2002db(this,_0x357132(0x423),new Map()),this[_0x357132(0x304)]();}[_0x28c363(0x2fc)](){const _0x90099a=_0x28c363;super[_0x90099a(0x2fc)](),this['_clearOtherTimers'][_0x90099a(0x385)]((_0x8a7ef2,_0x4e00ca)=>this[_0x90099a(0x444)](_0x4e00ca)),this[_0x90099a(0x271)]&&window['clearInterval'](this[_0x90099a(0x271)]);}[_0x28c363(0x3b0)](_0x28089e){const _0x44106f=_0x28c363;return this['_ensureSubject'](_0x28089e)[_0x44106f(0x397)](_0x4d6cca[_0x44106f(0x22b)]());}[_0x28c363(0x32f)](_0x3b02c2){const _0x13211f=_0x28c363;this[_0x13211f(0x3a3)]['size']===0x0&&this[_0x13211f(0x470)](),this[_0x13211f(0x3a3)][_0x13211f(0x380)](_0x3b02c2),this[_0x13211f(0x47d)]({'type':0x0,'memberID':this[_0x13211f(0x45a)],'unitIDs':[_0x3b02c2],'isForwarded':!0x1});}[_0x28c363(0x2b3)](_0x50b84f){const _0x40e6f6=_0x28c363;this[_0x40e6f6(0x3a3)]['delete'](_0x50b84f),this[_0x40e6f6(0x3a3)][_0x40e6f6(0x1fe)]===0x0&&this[_0x40e6f6(0x271)]&&window[_0x40e6f6(0x290)](this[_0x40e6f6(0x271)]);}[_0x28c363(0x304)](){const _0x5dc161=_0x28c363;this[_0x5dc161(0x210)](_0x4ce188[_0x5dc161(0x3d5)](_0x4d6cca[_0x5dc161(0x1bb)](window,_0x5dc161(0x38c))[_0x5dc161(0x2df)](_0x5352ba=>{const _0x439a9f=_0x5dc161;if(_0x5352ba[_0x439a9f(0x198)]!==_0x5c1113||!_0x5352ba[_0x439a9f(0x1a3)])return;const _0x16ab7b=JSON[_0x439a9f(0x45b)](_0x5352ba['newValue']);this['_handleEvent'](_0x16ab7b);}))),window[_0x5dc161(0x38e)](_0x5dc161(0x384),()=>this[_0x5dc161(0x47d)]({'type':0x1,'memberID':this[_0x5dc161(0x45a)],'unitIDs':Array[_0x5dc161(0x441)](this[_0x5dc161(0x3a3)])}));}[_0x28c363(0x222)](_0x3865cf){const _0x194266=_0x28c363;switch(_0x3865cf['type']){case 0x0:this[_0x194266(0x1b6)](_0x3865cf);break;case 0x1:this[_0x194266(0x272)](_0x3865cf);break;case 0x2:this[_0x194266(0x2ef)](_0x3865cf);break;}}[_0x28c363(0x1b6)](_0x1e6e01){const _0xb2c244=_0x28c363,{unitIDs:_0x24d3e1,memberID:_0x5745b1,isForwarded:_0x104dff}=_0x1e6e01;_0x24d3e1[_0xb2c244(0x385)](_0x2858e4=>{const _0x4bda91=_0xb2c244;if(!_0x104dff&&this[_0x4bda91(0x1c1)]['has'](_0x2858e4)&&this[_0x4bda91(0x415)](_0x2858e4)['next'](_0x463ba0[_0x4bda91(0x48d)]['OTHER_CLIENTS_EDITING']),!this[_0x4bda91(0x1c1)][_0x4bda91(0x320)](_0x2858e4)||!this['_unitOnClients'][_0x4bda91(0x314)](_0x2858e4)[_0x4bda91(0x320)](_0x5745b1)){const _0x2ce5d8=this[_0x4bda91(0x1c1)][_0x4bda91(0x314)](_0x2858e4)||new Set();_0x2ce5d8[_0x4bda91(0x380)](_0x5745b1),this['_unitOnClients'][_0x4bda91(0x306)](_0x2858e4,_0x2ce5d8),this[_0x4bda91(0x41d)](_0x5745b1);}}),_0x104dff||this[_0xb2c244(0x47d)]({'type':0x0,'memberID':this[_0xb2c244(0x45a)],'unitIDs':[...this[_0xb2c244(0x3a3)]],'isForwarded':!0x0});}[_0x28c363(0x41d)](_0xcf7441){const _0x35d333=_0x28c363;this['_removeClearOtherTimer'](_0xcf7441);const _0x5d78c6=window[_0x35d333(0x21d)](()=>{const _0x1df104=_0x35d333;this[_0x1df104(0x1c1)][_0x1df104(0x385)](_0x14f917=>{_0x14f917['delete'](_0xcf7441);});},_0x5334c6*0x2);this[_0x35d333(0x3eb)]['set'](_0xcf7441,_0x5d78c6);}[_0x28c363(0x444)](_0x304240){const _0x55ea1c=_0x28c363;if(this[_0x55ea1c(0x3eb)][_0x55ea1c(0x320)](_0x304240)){const _0x5020ad=this[_0x55ea1c(0x3eb)]['get'](_0x304240);_0x5020ad&&window[_0x55ea1c(0x42e)](_0x5020ad),this[_0x55ea1c(0x3eb)][_0x55ea1c(0x306)](_0x304240,null);}}[_0x28c363(0x272)](_0x151086){const _0x3f5c3e=_0x28c363,{memberID:_0xd50f9a,unitIDs:_0xfac1ae}=_0x151086;_0xfac1ae[_0x3f5c3e(0x385)](_0x4fbd8d=>{const _0x55e8d1=_0x3f5c3e;var _0x3dbfbc;const _0x165dfb=this[_0x55e8d1(0x1c1)]['get'](_0x4fbd8d);_0x165dfb&&(_0x165dfb[_0x55e8d1(0x409)](_0xd50f9a),(_0x3dbfbc=this['_ensureSubject'](_0x4fbd8d))==null||_0x3dbfbc['next'](_0x165dfb[_0x55e8d1(0x1fe)]===0x0?_0x463ba0[_0x55e8d1(0x48d)]['NO_OTHER_CLIENTS_EDITING']:_0x463ba0[_0x55e8d1(0x48d)][_0x55e8d1(0x25b)]));}),this[_0x3f5c3e(0x444)](_0xd50f9a);}[_0x28c363(0x2ef)](_0xefc3a5){const _0x574198=_0x28c363;this[_0x574198(0x41d)](_0xefc3a5[_0x574198(0x421)]);}[_0x28c363(0x47d)](_0x486fe1){const _0x6037c2=_0x28c363;localStorage[_0x6037c2(0x2bd)](_0x5c1113,JSON['stringify'](_0x486fe1));}['_scheduleHeartbeat'](){const _0x1f0eb8=_0x28c363;this[_0x1f0eb8(0x271)]=window[_0x1f0eb8(0x262)](()=>{const _0x1a3acb=_0x1f0eb8;this[_0x1a3acb(0x47d)]({'type':0x2,'memberID':this[_0x1a3acb(0x45a)]});},_0x5334c6);}[_0x28c363(0x415)](_0x523d2e){const _0x3d177f=_0x28c363;return this['_unitStatus'][_0x3d177f(0x320)](_0x523d2e)||this['_unitStatus'][_0x3d177f(0x306)](_0x523d2e,new _0x4d6cca[(_0x3d177f(0x36e))](_0x463ba0[_0x3d177f(0x48d)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x3d177f(0x423)][_0x3d177f(0x314)](_0x523d2e);}}_0x109cc1[_0x28c363(0x266)]=_0x204646,_0x109cc1['SheetCollabCursorShape']=_0x3b4e84,_0x109cc1['WebBrowserSingleActiveUnitService']=_0x3c1ac2,_0x109cc1[_0x28c363(0x2c1)]=_0x9a2c00,Object['defineProperty'](_0x109cc1,Symbol[_0x28c363(0x261)],{'value':_0x28c363(0x2d9)});}));