@univerjs-pro/collaboration-client-ui 0.12.4-insiders.20251213-692494c → 0.13.0

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 +16 -16
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x5b29(){const _0x3baa75=['getFocusedUnit','white','getCurrentUnitForType','beforeCommandExecuted','defIds','7574412LtbVMq','_cursor','createSocket','DesktopCollaborationStatusDisplayController','location','touchDependencies','INVITE_CODE_ALREADY_BOUND','_logService','setActiveRange','HEADER_MENU','_handleLeaveEvent','ONLINE','selections','_getMergeRange','backgroundColor','isTransformMutationFailure','getDocRanges','/universer-api/license/formula/limit/status','idSuffix','_saveCache','setConfig','TEXT_RANGE_LAYER_INDEX','asObservable','collabStatus.fetchMiss','data','currentColor','attrs','SYNCED','_shapes','moveTo','unhandledrejection','_docStateChangeManagerService','memberID','_removeCollabCursors','_drawRectRange','findNodePositionByCharIndex','_localStorageService','_initUserListener','amd','_setupSubUnitSync','INVALID_ARGUMENT','_initWindowErrorListener','ILocalStorageService','with','_updateLocalCursor','getCurrentSelections','limitInfo','cursorInfo$','APPLY_REJECT','_handleHover','labelPosition','RxDisposable','off-line-icon','black','path','getValue','UniverSheets','_unitStatus','mutations','ENTITLE_REPORT_LIMIT_EXCEED','getUniverSheetInstance','distinctUntilChanged','_hasFormulaInDirtyRanges','resize','m2Prime','OnLineIcon','ALREADY_EXISTS','red.300','MemberService','UNDEFINED','_initUnhandledRejectionListener','stage','_currentUsage','skeleton','_scheduleSaving','_drawAnchor','_configService','saveTaskMap','_color','_releaseCalculationLimit','save','ranges','getAncestorScale','UNIVER_SHEET','throttleTime','collaboration.single-unit.warning','ENTITLE_COUPON_EXPIRED','_getScale','475095qmXkWo','@univerjs/drawing','getSheetId','unit','useCallback','createElement','_context','_renderManagerService','getCurrent','_hovered','result','APPLY_PERMISSION_DENIED','Module','Warning','TOO_MANY_REQUESTS','ICommandService','set','LICENSE_MAX_UNITS_EXCEEDED','YUUMI_CONNECTOR_URL_NOT_FOUND','Workbook','reason','handleDeleteRangeMoveUp','INVITE_CODE_HAS_BEEN_UES','SetDocZoomRatioOperation','href','ColorKit','_initCommandExecutedListener','UNIVER_DOC','registerComponent','pipe','IUniverInstanceService','UniverProCollaborationClient','RECT','fillStyle','unitId','shareReplay','univerjs-icon\x20univerjs-icon-','combineLatest','PAYMENT_CHANNEL_NOT_SUPPORT','body','substring','RemoteUniscriptService','_backgroundColor','clsx','size','_onRefRangeChange','_document','10898200OtVxCy','ENTITLE_CHAT_LIMIT_EXCEED','_colorIndex','params','@univerjs/rpc','onMouseMove','INVALID_INVITE_CODE','_toggleOnline','Tooltip','_messageService','saveImage','_collaborationController','jsx','xlink:href','Injector','runOnServer','_saveTaskMap','contains','_getSheetObject','getLocalCacheKey','hide','_entityInit$','replaceDocRanges','wsSessionTicketUrl','_initCommandInterceptor','div','getMember','getTypeOfUnitDisposed$','_checkCalculationAvailable','unitID','_handleHeartbeatEvent','UniverProCollaborationClientUi','WebSocketService','2pZWOAV','color','_scheduleHeartbeat','formula.calculation.unable','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_uiPartsService','_initStatusListener','UNAUTHENTICATED','has','535jOCEeQ','init','_univerInstanceService','deepClone','_httpService','@univerjs/engine-render','transformSelections','_cursorInfo$','doc.mutation.rich-text-editing','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getSheetBySheetId','ENTITLE_INVALID_COUPON_CODE','ITransformService','DataLoaderService','Failed','executionId','height','EMAIL_VERIFY_CODE_MISMATCH','_scheduleClearOtherTimer','_cursors','unload','onPointerLeave$','handleIRemoveCol','_clearOtherTimers','yellow.400','requireSession','YUUMI_RATE_OVER_LIMIT','DocSkeletonManagerService','on-line-icon_clip0_910_349','REDEMPTION_USER_NOT_ELIGIBLE','CURRENT_STATUS_CANNOT_OPERATE','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','hovered','CollaborationUIEventService','session.will-retry','unshift','Disposable','send','Optional','SetFormulaCalculationStartMutation','_docClipboardService','isArray','getCollabCursors$','YUUMI_UNABLE_LOAD_URL','event$','_collaborationSessionService','APPLY_DUPLICATED','column','isActive','lineno','text','collabStatus.synced','_docTransformSelectionsService','getColorFromTheme','get','unsubscribe','handleDeleteRangeMoveLeft','_checkAndWaitForCalculationPermission','_range','sheetID','useObservable','_drawTextRange','collab-rect-range-','INVITE_CODE_REQUIRED','_transformHistoryAndStateStack','COLORS','endRow','http://www.w3.org/2000/svg','object','InsertColCommandId','LocaleService','getUnit','_anchor','1230046ckEmMs','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','AUTHORIZE_CODE_ILLEGAL','WECHAT_HAS_BEEN_BOUND','ThemeService','NO_OTHER_CLIENTS_EDITING','jsxs','setStateCache','UniverDesign','CollaborationSessionService','getViewport','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_refreshCollabCursors','defineProperty','_notificationService','_onCursorDelete','exports','_docSkeleton','_online','_hover','onRendered','IConfigService','function','UniverUi','_ensureSubject','message','NOT_COLLAB','entityInit$','OTHER_CLIENT_EDITING','totalFormulasToCalculate','origin','_startSheetCollabCursor','fill','onPointerEnter$','UniverDrawing','updateOfflineData','delete','_cachedData','currentTheme$','_docSkeletonManagerService','_initEvent','useRef','find','green.600','registerRefRange','Inject','searchParams','pushState','_themeService','M0\x200H16V16H0z','REDEMPTION_CODE_NOT_STARTED','getStateCache','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','subunit','getformulaLimitStatusUrl','useDependency','eventID','getRelativeToViewportCoord','?taskId=','fillText','SheetsSelectionsService','_assignedColors','_getAnchorBounding','_localCacheService','WebBrowserSingleActiveUnitService','Shape','collaboration.closeRoom','NOT_FOUND','sessionStatus$','SetSelectionsOperation','ENTITLE_CAN_NOT_BUY_LOWER_OTP','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','debounce','ticket','FormulaExecuteStageType','forwardRef','SOCKET_FAILED','engine','@univerjs/design','createIdentifier','_registerDependencies','ENTITLE_INSUFFICIENT_QUOTA','join','_handleEvent','functionsExecutedState','CLOSE_ROOM','IDocClipboardService','beginPath','stringify','selection','RefRangeService','includes','stack','subscribe','key','replaceState','operators','lineTo','REDEMPTION_CODE_FULLY_REDEEMED','merge','YUUMI_URL_COL_OUT_OF_RANGE','USERS_LEAVE','ERROR_AGAIN','handleInsertCol','debug','_status$','isFormulaString','[LogService\x20Error]:\x20','getUnitId','START_CALCULATION','source','TRANSFORM_CHANGE_OBSERVABLE_TYPE','IUIPartsService','BuiltInUIPart','purple.300','formula.calculation.waiting','disposeWithMe','USER_NOT_INVITED_CODE','USER_NOT_FOUND','_initDependencies','redoState','name','add','displayName','push','_lastPointer','_updateCollabCursors','transformMutationsWithChangeset','SheetSkeletonManagerService','Plugin','activeSheet$','getSkeleton','registerDependencies','urlChange$','trim','MessageType','_imageIoService','_onCursorUpdate','InsertRowCommandId','CONNECTOR_DATA_TOO_LARGE','_config','endColumn','IBeforeCloseService','getOwnPropertyDescriptor','type','APPLY_REVISION_CONFILICT','getVpScrollXYInfoByPosToVp','socket$','CollaborationUIEventId','override','formula.calculation.started','map','textRanges','_initResize','OTHER_CLIENTS_EDITING','mask','getMemberID','_maxFormulaLimit','setUndoRedoMutationParamsCache','defs','_dataLoaderService','actions','CONFLICT','_registerRenderDependencies','EMAIL_HAS_BEEN_BOUND','_collaborationUIEventService','length','url(#off-line-icon_clip0_910_343)','_sheetSkeletonManagerService','COMPLETION_FINISHED','_setFormulaLimitStatus','SUBMIT_CHANGESET_TIMEOUT','font','REDEMPTION_INVALID_CODE','React','clearTimeout','colorChannel1','setShapeProps','UniverCollaborationClientUIPlugin','INTERNAL_ERROR','IURLService','YUUMI_SUBSCRIPTION_NOT_FOUND','_colorAssignService','_setupBeforeClosingHandler','Rect','removeEventListener','collabStatus.notCollab','DATA_SOURCE_TOO_LARGE','MoveRangeCommandId','DOC_RANGE_TYPE','_getSessionTicket','random','filter','_labelPosition','storage','LOGIN_FAILED','registerBeforeClose','_taskIds','ILocalCacheService','getOffsetConfig','url(#$1','_entities','toString','getConfig','ISocketService','post','SetFormulaCalculationNotificationMutation','Error','shift','3141873ckJpJB','assignAColorForMemberID','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_initStatusComponent','UniverRpc','_revisionService','PERMISSION_DENIED','LICENSE_DISTRO_REJECTED','collab-text-anchor-','fromEventSubject','width','_selfUnitIDs','UniverEngineRender','_getFormulaLimitStatus','UniverInstanceType','SUCCESS','editingUnit','_docTransformIMECacheService','_cursorShapes','_send','univer-flex\x20univer-items-center','OFFLINE','AWAITING_WITH_PENDING','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_createSocketURL','dispose','drawWith','_eventUnsubscribe','sessionTicket','SNAPSHOT_HAS_BEEN_REMOVED','RegularPolygon','children','switchMap','RemoveRowCommandId','code','getParam','_toggleOffline','bottom','jiqing.500','OffLineIcon','Rectangle','react/jsx-runtime','7FmMBSV','rxjs','UniverNetwork','max','onStarting','toRgbString','sheetId','BehaviorSubject','_anchorDot','filename','_textBubble','UNRECOGNIZED','ACTIVE_UNIT_EVENT_CHANNEL','_collabCursorState$','@univerjs-pro/collaboration','isEditing','tag','_beforeCloseService','CanceledError','UniverCollaborationClientPlugin','dispose$','next','IRemoteInstanceService','maxFormulaLimit','cursorInfo','_handleJoinEvent','focused$','getActiveSheet','UniverDocsUi','setAlpha','history','addObject','IRenderManagerService','makeDirty','measureText','HTTPService','transformMutation','LOGIN_TOKEN_PROCESSING_FAILED','_scene','complete','_name','SetWorksheetActivateCommand','closePath','getCoordByCell','@univerjs/ui','EffectRefRangId','LOCAL_CACHE_INTERVAL','docStateChange$','LICENSE_EXPORT_SIZE_EXCEEDED','SOCKET_FAILED_RETRY','_init','none','UniverEngineFormula','_getSaveTimeout','setTimeout','Unknown\x20user','DocStateChangeManagerService','invokeId','colno','runId','session.connection-failed','BrowserCollaborationSocketService','enableFrontendLog','bind','search','/run/','_updateURLWithCurrentState','getCurrentRevOfUnit','_urlService','addEventListener','UniverIcon','deserializeRangeWithSheet','pluginName','RichTextEditingMutation','SNAPSHOT_INVALID_SNAPSHOT','min','Tools','newValue','stageInfo','onCommandExecuted','addHandlerCallback','symbol','_pollingInterval','CollaborationDataLoaderController','_injector','getTypeOfUnitAdded$','getSheetObject','_applyCommand','m1Prime','_id','univer-mr-2\x20univer-flex\x20univer-text-xl','SheetCollabCursorShape','FETCH_MISS','UnitStatus','setItem','saveOfflineData','now','disableLocalCache','restore','CollaborationController','DeleteRangeMoveLeftCommandId','takeUntil','roomMembers$','1em','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','string','PY_RUNTIME_SCRIPT_ERROR','_syncEditingCollabCursorService','application/json','executeCommand','NodePositionConvertToRectRange','_session','_transformUndoRedoStack','ENTITLE_COUPON_USED_UP','_unitOnClients','connectInjector','then','onTransformChange$','getUndoRedoMutationParamsCache','debounceTime','getCellMatrix','TEXT','getRangePointData','_startCalculationLimit','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','_commandService','startsWith','UPDATE_CURSOR','_render','_uploadLog','SetTextSelectionsOperation','getCollabEntity$','row','_localeService','setParam','entries','REDEMPTION_CODE_INACTIVE','clearInterval','_doCreateSocket','_roomMembers$','9771864puEKtP','USER_IS_ANONYMOUS','parseInt','react','ENTITLE_DUP_SUBSCRIPTION','_transformPreviousActiveRange','isTransformMutationsWithChangesetSuccess','createInstance','Loading','LICENSE_IMPORT_SIZE_EXCEEDED','APPLY_NON_SEQUENTIAL_REVISION','ENTITLE_NEED_BILLING_ADDRESS','DeleteRangeMoveUpCommandId','generateRandomId','IImageIoService','getUnitStatus$','collabStatus.offline','ILogService','assign','split','REDEMPTION_USER_REDEEM_TIMES_EXCEED','collabCursorState$','_instanceService','transformStateCache','serializeRangeWithSheet','_refRangeService','FromArray','catch','CollaborationStatus','replace','MOBILE_HAS_BEEN_BOUND','transform','collabStatus.syncing','addClipboardHook','svg','10504dRZxeN','@univerjs/core','round','0\x200\x2016\x2016','triggerDblclick','YUUMI_ASYNCIO_CANCELLED','Vector2','subscribeEvent','currentSkeleton$','_transformService','_showGuardMessage','CollaborationEvent','values','_collabSessionService','_removeClearOtherTimer','mapTo','translate(.97)','collaboration-client-ui.config','\x20at\x20','handleInsertRangeMoveRight','[CollaborationDataLoaderController]','registerRenderModule','_memberID','transformIMECache','DependentOn','ENSURE_SNAPSHOT_EXECUTION','JOIN_ROOM_FAILED','disposeUnit','_heartbeatTimer','exhaustSavingTask','popstate','DocIMEInputManagerService','_lastResponseTimestamp','...','_docTransformStateCacheService','_disabled','uni.network.url-service','[RemoteUniscriptService]:\x20no\x20focused\x20unit','session.collaboration-timeout','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','toStringTag','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','ISnapshotServerService','handleInsertRangeMoveDown','InsertRangeMoveDownCommandId','roomMembers','_updateSubUnitFromURLParams','from','CHANGESET_REVISION_CONFILICT','getMergeData','show','_draw','YUUMI_AI_RUN_FAILED','_monkeyPatchLogService','enableLocalCache','forEach','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','DocSelectionManagerService','CollaborationSocketService','top','_clearPolling','startColumn','range','_hideTimer','transformRemoteChangeset','toDisposable','VIEW_MAIN','error','@univerjs/sheets-ui','IMessageService','current','LOCAL_CACHE_INTERVAL_KEY','getRenderById','rgba(255,\x20255,\x20255,\x200.01)','_collabCursorController','use','SessionStatus','_startDocCollabCursor'];_0x5b29=function(){return _0x3baa75;};return _0x5b29();}function _0x4b5c(_0x5c52d3,_0x1add54){_0x5c52d3=_0x5c52d3-0x190;const _0x5b293e=_0x5b29();let _0x4b5cf6=_0x5b293e[_0x5c52d3];return _0x4b5cf6;}(function(_0x2842ac,_0x5c39e6){const _0x36562f=_0x4b5c,_0x1400eb=_0x2842ac();while(!![]){try{const _0x5f55fe=-parseInt(_0x36562f(0x465))/0x1*(parseInt(_0x36562f(0x413))/0x2)+-parseInt(_0x36562f(0x3c3))/0x3+parseInt(_0x36562f(0x318))/0x4*(parseInt(_0x36562f(0x41c))/0x5)+-parseInt(_0x36562f(0x36b))/0x6*(-parseInt(_0x36562f(0x269))/0x7)+parseInt(_0x36562f(0x2f5))/0x8+parseInt(_0x36562f(0x23f))/0x9+-parseInt(_0x36562f(0x3f2))/0xa;if(_0x5f55fe===_0x5c39e6)break;else _0x1400eb['push'](_0x1400eb['shift']());}catch(_0x23fca9){_0x1400eb['push'](_0x1400eb['shift']());}}}(_0x5b29,0x9b355),function(_0x47c4f0,_0x19b5f4){const _0x136ad8=_0x4b5c;typeof exports==_0x136ad8(0x460)&&typeof module<'u'?_0x19b5f4(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==_0x136ad8(0x47b)&&define[_0x136ad8(0x391)]?define([_0x136ad8(0x475),_0x136ad8(0x268),'@univerjs-pro/collaboration-client',_0x136ad8(0x319),_0x136ad8(0x295),_0x136ad8(0x26a),_0x136ad8(0x1bc),_0x136ad8(0x2f8),_0x136ad8(0x3f6),'@univerjs/sheets',_0x136ad8(0x421),'@univerjs/network','@univerjs/docs-ui',_0x136ad8(0x3c4),_0x136ad8(0x277),'@univerjs/docs','@univerjs/engine-formula','rxjs/operators',_0x136ad8(0x35c)],_0x19b5f4):(_0x47c4f0=typeof globalThis<'u'?globalThis:_0x47c4f0||self,_0x19b5f4(_0x47c4f0[_0x136ad8(0x411)]={},_0x47c4f0['React'],_0x47c4f0[_0x136ad8(0x3e2)],_0x47c4f0['UniverCore'],_0x47c4f0[_0x136ad8(0x47c)],_0x47c4f0[_0x136ad8(0x26a)],_0x47c4f0[_0x136ad8(0x46d)],_0x47c4f0[_0x136ad8(0x21c)],_0x47c4f0[_0x136ad8(0x243)],_0x47c4f0[_0x136ad8(0x3a3)],_0x47c4f0[_0x136ad8(0x24b)],_0x47c4f0[_0x136ad8(0x26b)],_0x47c4f0[_0x136ad8(0x285)],_0x47c4f0[_0x136ad8(0x190)],_0x47c4f0['UniverProCollaboration'],_0x47c4f0['UniverDocs'],_0x47c4f0[_0x136ad8(0x29d)],_0x47c4f0[_0x136ad8(0x26a)][_0x136ad8(0x1ce)],_0x47c4f0['UniverSheetsUi']));}(this,function(_0x20fff8,_0xd26d51,_0x32b0bb,_0x52f83d,_0x4a72f8,_0x50665a,_0x51c687,_0x4a7b51,_0x4b8328,_0x12de86,_0x1a348d,_0x291485,_0x33e2f,_0xd98a4d,_0x39c01d,_0x37aee0,_0x6db7a0,_0xcc0421,_0x4dab24){'use strict';const _0x16ba6=_0x4b5c;var _0x325dfb=Object['defineProperty'],_0x5305c8=(_0x22e990,_0x4d6e06,_0x48e71d)=>_0x4d6e06 in _0x22e990?_0x325dfb(_0x22e990,_0x4d6e06,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x48e71d}):_0x22e990[_0x4d6e06]=_0x48e71d,_0x4c920e=(_0x39ef20,_0x3674e5,_0xdee65f)=>_0x5305c8(_0x39ef20,typeof _0x3674e5!=_0x16ba6(0x2ba)?_0x3674e5+'':_0x3674e5,_0xdee65f);function _0x5611af({ref:_0x37da54,..._0x31f8b3}){const _0x39c7eb=_0x16ba6,{icon:_0x364a3d,id:_0x58a52c,className:_0x40c7e4,extend:_0x2b7c57,..._0x76a779}=_0x31f8b3,_0x306af8=(_0x39c7eb(0x3e7)+_0x58a52c+'\x20'+(_0x40c7e4||''))[_0x39c7eb(0x1f4)](),_0x25aa5c=_0x4a7b51[_0x39c7eb(0x197)]('_'+_0x407efd());return _0x196c5a(_0x364a3d,''+_0x58a52c,{'defIds':_0x364a3d[_0x39c7eb(0x36a)],'idSuffix':_0x25aa5c[_0x39c7eb(0x35e)]},{'ref':_0x37da54,'className':_0x306af8,..._0x76a779},_0x2b7c57);}function _0x196c5a(_0x55b180,_0x123ff2,_0x5b7d53,_0x391b9d,_0x198869){const _0x2916f5=_0x16ba6;return _0x4a7b51['createElement'](_0x55b180['tag'],{'key':_0x123ff2,..._0x43947e(_0x55b180,_0x5b7d53,_0x198869),..._0x391b9d},(_0x327838(_0x55b180,_0x5b7d53)[_0x2916f5(0x25e)]||[])[_0x2916f5(0x205)]((_0x16b355,_0xd7af71)=>_0x196c5a(_0x16b355,_0x123ff2+'-'+_0x55b180[_0x2916f5(0x279)]+'-'+_0xd7af71,_0x5b7d53,void 0x0,_0x198869)));}function _0x43947e(_0x51b789,_0x1225b2,_0x54dca2){const _0x2b2bd7=_0x16ba6,_0x502ffb={..._0x51b789[_0x2b2bd7(0x385)]};_0x54dca2!=null&&_0x54dca2[_0x2b2bd7(0x21e)]&&_0x502ffb[_0x2b2bd7(0x485)]===_0x2b2bd7(0x21e)&&(_0x502ffb[_0x2b2bd7(0x485)]=_0x54dca2['colorChannel1']),_0x51b789[_0x2b2bd7(0x279)]===_0x2b2bd7(0x209)&&_0x502ffb['id']&&(_0x502ffb['id']=_0x502ffb['id']+_0x1225b2[_0x2b2bd7(0x37d)]),Object[_0x2b2bd7(0x2f0)](_0x502ffb)[_0x2b2bd7(0x34f)](([_0x5c051f,_0xa93489])=>{const _0x17e862=_0x2b2bd7;_0x5c051f===_0x17e862(0x209)&&typeof _0xa93489=='string'&&(_0x502ffb[_0x5c051f]=_0xa93489[_0x17e862(0x312)](/url\(#(.*)\)/,_0x17e862(0x236)+_0x1225b2[_0x17e862(0x37d)]+')'));});const {defIds:_0x2fc98d}=_0x1225b2;return!_0x2fc98d||_0x2fc98d[_0x2b2bd7(0x214)]===0x0||(_0x51b789[_0x2b2bd7(0x279)]===_0x2b2bd7(0x363)&&_0x502ffb[_0x2b2bd7(0x3ff)]&&(_0x502ffb[_0x2b2bd7(0x3ff)]=_0x502ffb['xlink:href']+_0x1225b2['idSuffix']),Object[_0x2b2bd7(0x2f0)](_0x502ffb)[_0x2b2bd7(0x34f)](([_0x41b19f,_0x1abea5])=>{const _0x1a1fe1=_0x2b2bd7;typeof _0x1abea5==_0x1a1fe1(0x2d2)&&(_0x502ffb[_0x41b19f]=_0x1abea5[_0x1a1fe1(0x312)](/url\(#(.*)\)/,_0x1a1fe1(0x236)+_0x1225b2[_0x1a1fe1(0x37d)]+')'));})),_0x502ffb;}function _0x327838(_0x34595d,_0x1b7514){const _0x48396c=_0x16ba6;var _0x4d8481;const {defIds:_0x42ef6f}=_0x1b7514;return!_0x42ef6f||_0x42ef6f[_0x48396c(0x214)]===0x0?_0x34595d:_0x34595d[_0x48396c(0x279)]===_0x48396c(0x20d)&&((_0x4d8481=_0x34595d[_0x48396c(0x25e)])!=null&&_0x4d8481['length'])?{..._0x34595d,'children':_0x34595d[_0x48396c(0x25e)]['map'](_0x4945cc=>typeof _0x4945cc['attrs']['id']=='string'&&_0x42ef6f&&_0x42ef6f[_0x48396c(0x1c9)](_0x4945cc['attrs']['id'])?{..._0x4945cc,'attrs':{..._0x4945cc['attrs'],'id':_0x4945cc[_0x48396c(0x385)]['id']+_0x1b7514[_0x48396c(0x37d)]}}:_0x4945cc)}:_0x34595d;}function _0x407efd(){const _0x19cc4d=_0x16ba6;return Math[_0x19cc4d(0x22d)]()[_0x19cc4d(0x238)](0x24)[_0x19cc4d(0x3eb)](0x2,0x8);}_0x5611af['displayName']=_0x16ba6(0x2af);const _0x1a98fe={'tag':_0x16ba6(0x317),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x16ba6(0x29c),'viewBox':_0x16ba6(0x31b),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x16ba6(0x215)},'children':[{'tag':_0x16ba6(0x3a1),'attrs':{'stroke':'currentColor','d':_0x16ba6(0x466),'strokeLinecap':_0x16ba6(0x31a),'strokeLinejoin':_0x16ba6(0x31a),'strokeWidth':1.2}}]},{'tag':_0x16ba6(0x20d),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x16ba6(0x3a1),'attrs':{'fill':'white','d':_0x16ba6(0x19f)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x48129b=_0x4a7b51[_0x16ba6(0x1b9)](function(_0x1f478d,_0x3e5a1a){const _0x141e58=_0x16ba6;return _0x4a7b51[_0x141e58(0x3c8)](_0x5611af,Object[_0x141e58(0x307)]({},_0x1f478d,{'id':_0x141e58(0x39f),'ref':_0x3e5a1a,'icon':_0x1a98fe}));});_0x48129b[_0x16ba6(0x1e9)]=_0x16ba6(0x266);const _0x51f868={'tag':'svg','attrs':{'xmlns':_0x16ba6(0x45f),'fill':_0x16ba6(0x29c),'viewBox':'0\x200\x2017\x2016','width':_0x16ba6(0x2d0),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x16ba6(0x3a1),'attrs':{'stroke':_0x16ba6(0x384),'d':_0x16ba6(0x2e5),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':_0x16ba6(0x367),'d':_0x16ba6(0x19f),'transform':_0x16ba6(0x328)}}]}]}],'defIds':[_0x16ba6(0x438)]},_0x35952e=_0x4a7b51['forwardRef'](function(_0x3f306d,_0x411e2a){const _0x47ae83=_0x16ba6;return _0x4a7b51[_0x47ae83(0x3c8)](_0x5611af,Object[_0x47ae83(0x307)]({},_0x3f306d,{'id':'on-line-icon','ref':_0x411e2a,'icon':_0x51f868}));});_0x35952e['displayName']=_0x16ba6(0x3ac);function _0x5e5085(_0x3d5766){const _0x2cbd8e=_0x16ba6;switch(_0x3d5766){case _0x32b0bb['CollaborationStatus'][_0x2cbd8e(0x254)]:return _0x2cbd8e(0x305);case _0x32b0bb[_0x2cbd8e(0x311)][_0x2cbd8e(0x210)]:return'collabStatus.conflict';case _0x32b0bb[_0x2cbd8e(0x311)][_0x2cbd8e(0x2c5)]:return _0x2cbd8e(0x382);case _0x32b0bb[_0x2cbd8e(0x311)][_0x2cbd8e(0x47f)]:return _0x2cbd8e(0x228);case _0x32b0bb[_0x2cbd8e(0x311)]['AWAITING']:case _0x32b0bb[_0x2cbd8e(0x311)][_0x2cbd8e(0x255)]:return _0x2cbd8e(0x315);case _0x32b0bb[_0x2cbd8e(0x311)][_0x2cbd8e(0x386)]:case _0x32b0bb[_0x2cbd8e(0x311)]['PENDING']:return _0x2cbd8e(0x44f);}}function _0x19f07b(_0x17956d){const _0x3a967f=_0x16ba6,{status$:_0x153954}=_0x17956d,_0x30428d=_0x4a72f8[_0x3a967f(0x458)](_0x153954,_0x32b0bb[_0x3a967f(0x311)][_0x3a967f(0x47f)]),_0x32be89=_0x4a72f8[_0x3a967f(0x1a5)](_0x52f83d[_0x3a967f(0x462)]),_0xc7d87d=_0x4a72f8[_0x3a967f(0x1a5)](_0x32b0bb[_0x3a967f(0x46e)]),_0xa98083=_0x30428d!==_0x32b0bb[_0x3a967f(0x311)][_0x3a967f(0x254)],_0x19c11e=_0x32be89['t'](_0x5e5085(_0x30428d)),_0x2a2015=_0xa98083?_0xd26d51['jsx'](_0x35952e,{}):_0xd26d51[_0x3a967f(0x3fe)](_0x48129b,{}),_0xdc3a2b=_0x4a7b51[_0x3a967f(0x3c7)](()=>{_0xa98083||_0xc7d87d['reconnect']();},[_0xa98083,_0xc7d87d]);function _0x55621d(){const _0x48c31b=_0x3a967f;return _0xd26d51[_0x48c31b(0x46b)](_0x48c31b(0x40b),{'className':_0x48c31b(0x253),'onClick':_0xdc3a2b,'children':[_0xd26d51[_0x48c31b(0x3fe)](_0x48c31b(0x40b),{'className':_0x51c687[_0x48c31b(0x3ee)](_0x48c31b(0x2c3),{'univer-text-green-500':_0xa98083,'univer-text-red-500':!_0xa98083}),'children':_0x2a2015}),_0xd26d51[_0x48c31b(0x3fe)](_0x48c31b(0x40b),{'className':_0x48c31b(0x425),'children':_0x19c11e})]});}return _0xa98083?_0x55621d():_0xd26d51['jsx'](_0x51c687[_0x3a967f(0x3fa)],{'title':_0x32be89['t']('collab-client.tooltip.reconnect'),'children':_0x55621d()});}var _0x4e0aee=Object['getOwnPropertyDescriptor'],_0x5370df=(_0xf060a0,_0x3765f1,_0x460ba2,_0x104027)=>{for(var _0x2a4c27=_0x104027>0x1?void 0x0:_0x104027?_0x4e0aee(_0x3765f1,_0x460ba2):_0x3765f1,_0x16d1b5=_0xf060a0['length']-0x1,_0x14f049;_0x16d1b5>=0x0;_0x16d1b5--)(_0x14f049=_0xf060a0[_0x16d1b5])&&(_0x2a4c27=_0x14f049(_0x2a4c27)||_0x2a4c27);return _0x2a4c27;},_0x4a3415=(_0x8fc5cf,_0x4695c8)=>(_0x42b78e,_0x3574d1)=>_0x4695c8(_0x42b78e,_0x3574d1,_0x8fc5cf);_0x20fff8['DesktopCollaborationStatusDisplayController']=class extends _0x52f83d[_0x16ba6(0x440)]{constructor(_0x5c8eed,_0x205904,_0x4b31a2,_0x4f470a){const _0x2f73e9=_0x16ba6;super(),_0x4c920e(this,'_status$',new _0x50665a[(_0x2f73e9(0x270))](_0x32b0bb[_0x2f73e9(0x311)][_0x2f73e9(0x47f)])),(this[_0x2f73e9(0x41e)]=_0x5c8eed,this[_0x2f73e9(0x2bd)]=_0x205904,this['_collaborationController']=_0x4b31a2,this[_0x2f73e9(0x418)]=_0x4f470a,this[_0x2f73e9(0x242)](),this[_0x2f73e9(0x419)]());}['_initStatusListener'](){const _0x2328d3=_0x16ba6;this[_0x2328d3(0x1e2)](this[_0x2328d3(0x41e)][_0x2328d3(0x283)][_0x2328d3(0x3e0)](_0x50665a[_0x2328d3(0x25f)](()=>{const _0xf18efe=_0x2328d3,_0x26d8cc=this['_univerInstanceService'][_0xf18efe(0x366)]();return _0x26d8cc?this[_0xf18efe(0x3fd)][_0xf18efe(0x2ec)](_0x26d8cc['getUnitId']()):_0x50665a['of'](null);}),_0x50665a[_0x2328d3(0x25f)](_0x405a02=>_0x405a02?_0x405a02['status$']:_0x50665a['of'](_0x32b0bb[_0x2328d3(0x311)][_0x2328d3(0x47f)])))[_0x2328d3(0x1cb)](_0x2b6156=>{const _0x366c1c=_0x2328d3;this['_status$'][_0x366c1c(0x27e)](_0x2b6156);}));}[_0x16ba6(0x242)](){const _0x3d765c=_0x16ba6;this[_0x3d765c(0x1e2)](this[_0x3d765c(0x418)][_0x3d765c(0x3df)](_0x4a72f8[_0x3d765c(0x1df)][_0x3d765c(0x374)],()=>_0x4a72f8[_0x3d765c(0x2dc)](_0x5cc3e4({'status$':this[_0x3d765c(0x1d7)][_0x3d765c(0x381)]()}),this['_injector'])));}},_0x20fff8[_0x16ba6(0x36e)]=_0x5370df([_0x4a3415(0x0,_0x52f83d[_0x16ba6(0x3e1)]),_0x4a3415(0x1,_0x52f83d[_0x16ba6(0x19b)](_0x52f83d[_0x16ba6(0x400)])),_0x4a3415(0x2,_0x52f83d['Inject'](_0x32b0bb[_0x16ba6(0x2cc)])),_0x4a3415(0x3,_0x4a72f8[_0x16ba6(0x1de)])],_0x20fff8['DesktopCollaborationStatusDisplayController']);function _0x5cc3e4(_0x510d3c){const {status$:_0x2ef16b}=_0x510d3c;return function(){const _0x3abad6=_0x4b5c;return _0xd26d51[_0x3abad6(0x3fe)](_0x19f07b,{'status$':_0x2ef16b});};}const _0x44f89a=_0x52f83d[_0x16ba6(0x1bd)](_0x16ba6(0x33c));var _0x193216=Object[_0x16ba6(0x1fd)],_0x5667bb=(_0x12b7e8,_0x14df8c,_0xd5a806,_0xf8cd11)=>{const _0x2c8f4f=_0x16ba6;for(var _0x4770db=_0xf8cd11>0x1?void 0x0:_0xf8cd11?_0x193216(_0x14df8c,_0xd5a806):_0x14df8c,_0x1922cb=_0x12b7e8[_0x2c8f4f(0x214)]-0x1,_0x4925d2;_0x1922cb>=0x0;_0x1922cb--)(_0x4925d2=_0x12b7e8[_0x1922cb])&&(_0x4770db=_0x4925d2(_0x4770db)||_0x4770db);return _0x4770db;},_0x308b92=(_0x3fe0e9,_0x3e31a6)=>(_0xed7c30,_0x50c448)=>_0x3e31a6(_0xed7c30,_0x50c448,_0x3fe0e9);_0x20fff8[_0x16ba6(0x2bc)]=class extends _0x52f83d[_0x16ba6(0x39e)]{constructor(_0x36872b,_0x37c481,_0x19e3dd,_0x472095,_0x4e08c6){const _0x342b20=_0x16ba6;super(),this[_0x342b20(0x2ad)]=_0x36872b,this['_logService']=_0x37c481,this[_0x342b20(0x2e6)]=_0x19e3dd,this[_0x342b20(0x20e)]=_0x472095,_0x4e08c6?_0x4e08c6==null||_0x4e08c6['whenReady']()[_0x342b20(0x2dd)](()=>this[_0x342b20(0x29b)]()):(this[_0x342b20(0x372)][_0x342b20(0x1d6)](_0x342b20(0x32c),_0x342b20(0x341)),this['_init']());}async['_init'](){const _0x4db7e4=_0x16ba6,_0x497063=this[_0x4db7e4(0x2ad)]['getParam']('unit'),_0x27bcac=this[_0x4db7e4(0x2ad)][_0x4db7e4(0x262)]('type'),_0x4f890d=this[_0x4db7e4(0x2ad)][_0x4db7e4(0x262)](_0x4db7e4(0x1a3));if(!_0x497063||!_0x27bcac){this[_0x4db7e4(0x372)]['debug'](_0x4db7e4(0x32c),_0x4db7e4(0x417));return;}const _0x1e5648=await this[_0x4db7e4(0x20e)]['loadUnit'](_0x497063,Number(_0x27bcac),_0x4f890d);_0x1e5648&&_0x1e5648 instanceof _0x52f83d[_0x4db7e4(0x3d6)]&&this[_0x4db7e4(0x392)](_0x1e5648);}async[_0x16ba6(0x392)](_0x2833c0){const _0x6ada05=_0x16ba6;await this[_0x6ada05(0x346)](_0x2833c0),_0x2833c0[_0x6ada05(0x1f0)]['pipe'](_0x50665a[_0x6ada05(0x2ce)](this[_0x6ada05(0x27d)]))['subscribe'](_0x4454ee=>{const _0x1b856f=_0x6ada05;_0x4454ee&&this[_0x1b856f(0x2ab)](_0x4454ee);}),this[_0x6ada05(0x2ad)]['urlChange$']['pipe'](_0x50665a[_0x6ada05(0x2ce)](this[_0x6ada05(0x27d)]))[_0x6ada05(0x1cb)](()=>this['_updateSubUnitFromURLParams'](_0x2833c0));}['_updateURLWithCurrentState'](_0x2f18a6,_0x41150f=!0x1){const _0x3d214d=_0x16ba6,_0x318c63=this[_0x3d214d(0x2ad)]['getParam'](_0x3d214d(0x1a3));_0x2f18a6[_0x3d214d(0x3c5)]()!==_0x318c63&&this['_urlService'][_0x3d214d(0x2ef)](_0x3d214d(0x1a3),_0x2f18a6[_0x3d214d(0x3c5)](),_0x41150f);}async[_0x16ba6(0x346)](_0x9078c1){const _0x565528=_0x16ba6;var _0x5b4d2d;const _0x1ba96f=this[_0x565528(0x2ad)][_0x565528(0x262)]('subunit');if(!_0x1ba96f||!_0x9078c1['getSheetBySheetId'](_0x1ba96f)){const _0x218c2b=_0x9078c1['getUnhiddenWorksheets']()[0x0],_0x119599=_0x9078c1[_0x565528(0x426)](_0x218c2b);if(!_0x119599)return;this[_0x565528(0x2ab)](_0x119599,!0x0),await this[_0x565528(0x2e6)][_0x565528(0x2d6)](_0x12de86[_0x565528(0x292)]['id'],{'unitId':_0x9078c1[_0x565528(0x1da)](),'subUnitId':_0x218c2b});return;}((_0x5b4d2d=_0x9078c1[_0x565528(0x284)]())==null?void 0x0:_0x5b4d2d[_0x565528(0x3c5)]())!==_0x1ba96f&&await this['_commandService'][_0x565528(0x2d6)](_0x12de86['SetWorksheetActivateCommand']['id'],{'unitId':_0x9078c1[_0x565528(0x1da)](),'subUnitId':_0x1ba96f});}},_0x20fff8['CollaborationDataLoaderController']=_0x5667bb([_0x308b92(0x0,_0x44f89a),_0x308b92(0x1,_0x52f83d[_0x16ba6(0x306)]),_0x308b92(0x2,_0x52f83d[_0x16ba6(0x3d2)]),_0x308b92(0x3,_0x52f83d[_0x16ba6(0x19b)](_0x32b0bb[_0x16ba6(0x429)])),_0x308b92(0x4,_0x52f83d[_0x16ba6(0x442)](_0x4b8328[_0x16ba6(0x27f)]))],_0x20fff8[_0x16ba6(0x2bc)]);var _0x220c1f=Object[_0x16ba6(0x1fd)],_0x3a0ca2=(_0x44967e,_0x4690a1,_0xb14f47,_0x5bf7a1)=>{const _0x38c0c7=_0x16ba6;for(var _0x117f00=_0x5bf7a1>0x1?void 0x0:_0x5bf7a1?_0x220c1f(_0x4690a1,_0xb14f47):_0x4690a1,_0x28cd4a=_0x44967e[_0x38c0c7(0x214)]-0x1,_0x366828;_0x28cd4a>=0x0;_0x28cd4a--)(_0x366828=_0x44967e[_0x28cd4a])&&(_0x117f00=_0x366828(_0x117f00)||_0x117f00);return _0x117f00;},_0x5b67c7=(_0x10148a,_0x56309a)=>(_0x4f4ae7,_0xec1d28)=>_0x56309a(_0x4f4ae7,_0xec1d28,_0x10148a);let _0x2d41ad=class extends _0x52f83d[_0x16ba6(0x39e)]{constructor(_0x214f6c,_0x44b85a){const _0x21830a=_0x16ba6;super(),this[_0x21830a(0x444)]=_0x214f6c,this[_0x21830a(0x1f6)]=_0x44b85a,this[_0x21830a(0x29b)]();}[_0x16ba6(0x29b)](){const _0x53968b=_0x16ba6,_0x2c0eb0=this;this[_0x53968b(0x1e2)](this[_0x53968b(0x444)][_0x53968b(0x316)]({'onBeforePasteImage':async _0x1daa15=>{const _0x5edcb0=_0x53968b,_0x268bd5=await _0x2c0eb0[_0x5edcb0(0x1f6)][_0x5edcb0(0x3fc)](_0x1daa15);return _0x268bd5?{'source':_0x268bd5[_0x5edcb0(0x1dc)],'imageSourceType':_0x268bd5['imageSourceType']}:null;}}));}};_0x2d41ad=_0x3a0ca2([_0x5b67c7(0x0,_0x33e2f[_0x16ba6(0x1c4)]),_0x5b67c7(0x1,_0xd98a4d[_0x16ba6(0x303)])],_0x2d41ad);const _0x193bcc=[_0x16ba6(0x1e0),_0x16ba6(0x265),_0x16ba6(0x199),_0x16ba6(0x3ae),'blue.400',_0x16ba6(0x434)];class _0x23c3c8 extends _0x52f83d[_0x16ba6(0x440)]{constructor(){const _0x384a77=_0x16ba6;super(...arguments),_0x4c920e(this,'_assignedColors',new Map()),_0x4c920e(this,_0x384a77(0x3f4),0x0);}[_0x16ba6(0x240)](_0x48fe5a){const _0x55fb48=_0x16ba6;if(this[_0x55fb48(0x1ab)]['has'](_0x48fe5a))return this[_0x55fb48(0x1ab)][_0x55fb48(0x452)](_0x48fe5a);const _0x5e8624=_0x193bcc[this[_0x55fb48(0x3f4)]];return this['_colorIndex']=(this[_0x55fb48(0x3f4)]+0x1)%_0x193bcc[_0x55fb48(0x214)],this[_0x55fb48(0x1ab)][_0x55fb48(0x3d3)](_0x48fe5a,_0x5e8624),_0x5e8624;}}function _0x526479(_0x4cc3cc){const _0x42616d=_0x16ba6;let _0x16b554='';for(const _0x9984d0 of _0x4cc3cc){const {startOffset:_0x16a568,endOffset:_0x109086,isActive:_0xad0312,rangeType:_0x36e6ee,segmentId:_0x4cd1f2,segmentPage:_0x56c7d}=_0x9984d0;_0x16b554[_0x42616d(0x214)]&&(_0x16b554+=','),_0x16b554+=_0x16a568+':'+_0x109086+':'+(_0xad0312?'1':'0')+':'+_0x36e6ee+':'+_0x4cd1f2+':'+_0x56c7d;}return _0x16b554;}function _0x5ebbd6(_0x5e29c5){const _0x43493f=_0x16ba6,_0x1d12e4=_0x5e29c5[_0x43493f(0x308)](','),_0x20b35f=[];for(const _0x39fcd0 of _0x1d12e4){const [_0x4776b0,_0x1f8e70,_0x4c2e8b,_0x1735fb,_0x5ed324,_0xc3d371]=_0x39fcd0[_0x43493f(0x308)](':');_0x20b35f[_0x43493f(0x1ea)]({'startOffset':Number(_0x4776b0),'endOffset':Number(_0x1f8e70),'collapsed':_0x4776b0===_0x1f8e70,'isActive':_0x4c2e8b==='1','rangeType':_0x1735fb===_0x52f83d[_0x43493f(0x22b)]['TEXT']?_0x52f83d[_0x43493f(0x22b)][_0x43493f(0x2e2)]:_0x52f83d[_0x43493f(0x22b)][_0x43493f(0x3e3)],'segmentId':typeof _0x5ed324==_0x43493f(0x2d2)?String(_0x5ed324):'','segmentPage':Number(_0xc3d371!=null?_0xc3d371:-0x1)});}return _0x20b35f['some'](_0x10b9c9=>_0x10b9c9['isActive'])||(_0x20b35f[0x0][_0x43493f(0x44c)]=!0x0),_0x20b35f;}class _0x597eb8 extends _0x52f83d['RxDisposable']{constructor(){const _0x50bb48=_0x16ba6;super(...arguments),_0x4c920e(this,'_collabCursorState$',new _0x50665a[(_0x50bb48(0x270))](null)),_0x4c920e(this,_0x50bb48(0x30a),this[_0x50bb48(0x276)][_0x50bb48(0x381)]());}['syncEditingCollabCursor'](_0x1ddb19){const _0x3bcc7e=_0x16ba6,{unitID:_0x56aca5,memberID:_0x33d951,textRanges:_0x43659d}=_0x1ddb19,_0x368c55=_0x526479(_0x43659d);if(_0x368c55==='')return;const _0x5134e2={'unitID':_0x56aca5,'memberID':_0x33d951,'selection':_0x368c55};this[_0x3bcc7e(0x276)][_0x3bcc7e(0x27e)](_0x5134e2);}}var _0x3054c2=Object[_0x16ba6(0x1fd)],_0x380e2d=(_0x14087e,_0x306caa,_0x215658,_0x5a3d5a)=>{const _0xeaa9a3=_0x16ba6;for(var _0x3c8bef=_0x5a3d5a>0x1?void 0x0:_0x5a3d5a?_0x3054c2(_0x306caa,_0x215658):_0x306caa,_0x37efd1=_0x14087e[_0xeaa9a3(0x214)]-0x1,_0x2db0ee;_0x37efd1>=0x0;_0x37efd1--)(_0x2db0ee=_0x14087e[_0x37efd1])&&(_0x3c8bef=_0x2db0ee(_0x3c8bef)||_0x3c8bef);return _0x3c8bef;},_0x5a53e6=(_0x35736e,_0x31f845)=>(_0x1e4e3f,_0x2878e4)=>_0x31f845(_0x1e4e3f,_0x2878e4,_0x35736e);const _0xc0adda=0x12c,_0x29cab3=0x64;let _0x261561=class extends _0x52f83d[_0x16ba6(0x39e)]{constructor(_0x17e7bd,_0x53733c,_0xd6fe30,_0x2e1785,_0x3f8a84,_0x2261f2,_0x1eeba8,_0x5c2b00,_0x1b0004){const _0x49269e=_0x16ba6;super(),_0x4c920e(this,_0x49269e(0x477),!0x1),_0x4c920e(this,_0x49269e(0x29b),!0x1),_0x4c920e(this,_0x49269e(0x423),new _0x50665a[(_0x49269e(0x270))](new Map())),_0x4c920e(this,_0x49269e(0x39a),this['_cursorInfo$'][_0x49269e(0x381)]()),_0x4c920e(this,_0x49269e(0x2f4),new _0x50665a[(_0x49269e(0x270))]([])),_0x4c920e(this,_0x49269e(0x2cf),this['_roomMembers$'][_0x49269e(0x3e0)](_0x50665a['debounceTime'](_0xc0adda))),_0x4c920e(this,_0x49269e(0x397),_0x52f83d[_0x49269e(0x1b6)](_0x230045=>{const _0xf81c13=_0x49269e,_0x32f251={'eventID':_0x39c01d['CollaborationEvent'][_0xf81c13(0x2e8)],'data':{'unitID':this[_0xf81c13(0x40f)],'memberID':this[_0xf81c13(0x2d8)][_0xf81c13(0x20a)](),'selection':_0x526479(_0x230045)}};this[_0xf81c13(0x2d8)][_0xf81c13(0x441)](_0x32f251,this[_0xf81c13(0x40f)]);},_0x29cab3)),(this['unitID']=_0x17e7bd,this[_0x49269e(0x2d8)]=_0x53733c,this[_0x49269e(0x2bd)]=_0xd6fe30,this[_0x49269e(0x224)]=_0x2e1785,this['_memberService']=_0x3f8a84,this[_0x49269e(0x2d4)]=_0x2261f2,this['_transformService']=_0x1eeba8,this[_0x49269e(0x41e)]=_0x5c2b00,this[_0x49269e(0x2e6)]=_0x1b0004);}get[_0x16ba6(0x281)](){const _0x4c2a1c=_0x16ba6;return this[_0x4c2a1c(0x423)][_0x4c2a1c(0x3a2)]();}get[_0x16ba6(0x345)](){return this['_roomMembers$']['getValue']();}['dispose'](){const _0x2b48a9=_0x16ba6;super[_0x2b48a9(0x258)](),this[_0x2b48a9(0x423)]['next'](new Map()),this[_0x2b48a9(0x423)]['complete'](),this[_0x2b48a9(0x2f4)]['next']([]),this[_0x2b48a9(0x2f4)][_0x2b48a9(0x290)]();}[_0x16ba6(0x41d)](){const _0xd908e6=_0x16ba6;this['_init']||(this[_0xd908e6(0x29b)]=!0x0,this[_0xd908e6(0x2d8)][_0xd908e6(0x1b2)]['pipe'](_0x50665a[_0xd908e6(0x2ce)](this[_0xd908e6(0x27d)]))[_0xd908e6(0x1cb)](_0x552aa5=>{const _0x223d1d=_0xd908e6;_0x552aa5===_0x32b0bb[_0x223d1d(0x364)][_0x223d1d(0x376)]?this[_0x223d1d(0x3f9)]():this[_0x223d1d(0x263)]();}),this[_0xd908e6(0x2d8)][_0xd908e6(0x448)][_0xd908e6(0x3e0)](_0x50665a['takeUntil'](this[_0xd908e6(0x27d)]))[_0xd908e6(0x1cb)](_0x211c14=>{const _0x359f8c=_0xd908e6,_0xc5588d=_0x211c14['eventID'];_0xc5588d===_0x39c01d['CollaborationEvent'][_0x359f8c(0x2e8)]&&this['_onCursorUpdate'](_0x211c14),_0xc5588d===_0x39c01d[_0x359f8c(0x323)][_0x359f8c(0x1d3)]&&this[_0x359f8c(0x474)](_0x211c14);}),this[_0xd908e6(0x1e2)](this[_0xd908e6(0x2e6)][_0xd908e6(0x2b8)](_0x21b097=>{const _0x5e140c=_0xd908e6,_0x2dcfe=_0x21b097[_0x5e140c(0x3f5)];_0x2dcfe!=null&&this['_online']&&_0x21b097['id']===_0x37aee0[_0x5e140c(0x2eb)]['id']&&_0x2dcfe[_0x5e140c(0x3e5)]===this[_0x5e140c(0x40f)]&&_0x2dcfe[_0x5e140c(0x278)]===!0x1&&_0x2dcfe[_0x5e140c(0x3bc)][_0x5e140c(0x214)]>0x0&&this[_0x5e140c(0x397)](_0x2dcfe[_0x5e140c(0x3bc)]);})),this[_0xd908e6(0x2d4)][_0xd908e6(0x30a)]['pipe'](_0x50665a['takeUntil'](this[_0xd908e6(0x27d)]))[_0xd908e6(0x1cb)](_0x745a24=>{const _0x27b9f8=_0xd908e6;if((_0x745a24==null?void 0x0:_0x745a24['unitID'])!==this[_0x27b9f8(0x40f)])return;const _0x146312={'eventID':_0x39c01d[_0x27b9f8(0x323)]['UPDATE_CURSOR'],'data':_0x745a24};this[_0x27b9f8(0x1f7)](_0x146312);}),this[_0xd908e6(0x1e2)](this[_0xd908e6(0x2e6)][_0xd908e6(0x2b8)](_0x13d690=>{const _0x35f44d=_0xd908e6;if(_0x13d690[_0x35f44d(0x3f5)]==null)return;const _0x5c76cc=_0x13d690[_0x35f44d(0x3f5)];if(_0x13d690['id']!==_0x37aee0[_0x35f44d(0x2b2)]['id']||_0x5c76cc[_0x35f44d(0x3e5)]!==this['unitID'])return;const _0x39341e={'id':_0x35f44d(0x424),'params':_0x5c76cc},_0x3c9cd8=this[_0x35f44d(0x281)];for(const [_0xce6b15,_0x5a0eec]of _0x3c9cd8){const _0x4f622b={'id':_0x35f44d(0x424),'params':{'unitId':this[_0x35f44d(0x40f)],'actions':null,'textRanges':_0x5a0eec[_0x35f44d(0x3bc)]}},_0x6a75f2=this['_transformService'][_0x35f44d(0x28d)](_0x39341e,_0x4f622b,!0x1);if(_0x39c01d[_0x35f44d(0x37a)](_0x6a75f2))throw _0x6a75f2['error'];_0x3c9cd8[_0x35f44d(0x3d3)](_0xce6b15,{..._0x5a0eec,'ranges':_0x6a75f2[_0x35f44d(0x3ab)][_0x35f44d(0x3f5)][_0x35f44d(0x206)]});}queueMicrotask(()=>{const _0x30a7f2=_0x35f44d;this['_cursorInfo$'][_0x30a7f2(0x27e)](_0x3c9cd8);});})));}[_0x16ba6(0x1f7)](_0x43de6b){const _0x24d4c0=_0x16ba6;var _0x13f835,_0x5b42cd;const {memberID:_0xf3505d,selection:_0x23a48c}=_0x43de6b[_0x24d4c0(0x383)],_0x239eb9=_0x5ebbd6(_0x23a48c),_0x4a3d79=(_0x5b42cd=(_0x13f835=this['_memberService'][_0x24d4c0(0x40c)](this['unitID'],_0xf3505d))==null?void 0x0:_0x13f835['name'])!=null?_0x5b42cd:_0x24d4c0(0x2a0),_0x2eacc7={'color':this[_0x24d4c0(0x224)][_0x24d4c0(0x240)](_0xf3505d),'name':_0x4a3d79,'ranges':_0x239eb9},_0x5c8c4b=this[_0x24d4c0(0x281)];_0x5c8c4b[_0x24d4c0(0x3d3)](_0xf3505d,_0x2eacc7),this[_0x24d4c0(0x423)][_0x24d4c0(0x27e)](_0x5c8c4b);}[_0x16ba6(0x474)](_0x2e59cd){const _0x3c385a=_0x16ba6,{memberID:_0x487818}=_0x2e59cd['data'],_0x4ff625=this['cursorInfo'];_0x4ff625[_0x3c385a(0x192)](_0x487818),this[_0x3c385a(0x423)][_0x3c385a(0x27e)](_0x4ff625);}[_0x16ba6(0x3f9)](){const _0x3b3544=_0x16ba6;var _0x32f533;if(this['_online']=!0x0,((_0x32f533=this[_0x3b3544(0x41e)]['getFocusedUnit']())==null?void 0x0:_0x32f533['getUnitId']())!==this[_0x3b3544(0x40f)])return;const _0x452b0d=this['_injector'][_0x3b3544(0x452)](_0x37aee0[_0x3b3544(0x351)])['getDocRanges']();Array[_0x3b3544(0x445)](_0x452b0d)&&_0x452b0d[_0x3b3544(0x214)]>0x0&&this['_updateLocalCursor'](_0x452b0d);}[_0x16ba6(0x263)](){const _0x5bad17=_0x16ba6;this[_0x5bad17(0x477)]=!0x1;}};_0x261561=_0x380e2d([_0x5a53e6(0x2,_0x52f83d[_0x16ba6(0x19b)](_0x52f83d[_0x16ba6(0x400)])),_0x5a53e6(0x3,_0x52f83d['Inject'](_0x23c3c8)),_0x5a53e6(0x4,_0x52f83d['Inject'](_0x32b0bb[_0x16ba6(0x3af)])),_0x5a53e6(0x5,_0x52f83d[_0x16ba6(0x19b)](_0x597eb8)),_0x5a53e6(0x6,_0x39c01d[_0x16ba6(0x428)]),_0x5a53e6(0x7,_0x52f83d[_0x16ba6(0x3e1)]),_0x5a53e6(0x8,_0x52f83d[_0x16ba6(0x3d2)])],_0x261561);var _0xb6045f=Object['getOwnPropertyDescriptor'],_0x1c933b=(_0x4dfebb,_0x354ba0,_0x3edb52,_0x26aa59)=>{const _0x40c50f=_0x16ba6;for(var _0x4eb2bc=_0x26aa59>0x1?void 0x0:_0x26aa59?_0xb6045f(_0x354ba0,_0x3edb52):_0x354ba0,_0x3a5996=_0x4dfebb[_0x40c50f(0x214)]-0x1,_0x19fad3;_0x3a5996>=0x0;_0x3a5996--)(_0x19fad3=_0x4dfebb[_0x3a5996])&&(_0x4eb2bc=_0x19fad3(_0x4eb2bc)||_0x4eb2bc);return _0x4eb2bc;},_0x39d987=(_0x49214e,_0x173202)=>(_0x16ecf7,_0x3f5b0d)=>_0x173202(_0x16ecf7,_0x3f5b0d,_0x49214e);const _0x261bb1=0x12c,_0x556790=0x64,_0x5a38c3=()=>{let _0x418407=[],_0x4ef87e=!0x1;return _0x5b784a=>{const _0x1024fe=_0x4b5c;_0x418407[_0x1024fe(0x1ea)](_0x5b784a),_0x4ef87e||(_0x4ef87e=!0x0,setTimeout(()=>{_0x418407['forEach'](_0x52a8e6=>_0x52a8e6()),_0x418407=[],_0x4ef87e=!0x1;}));};};let _0x1dcd92=class extends _0x52f83d[_0x16ba6(0x39e)]{constructor(_0x11c603,_0x3bc400,_0x5bb38d,_0x205d3f,_0x2e8f8d,_0x46437b,_0x3dd366,_0x372043){const _0x5b5550=_0x16ba6;super(),_0x4c920e(this,_0x5b5550(0x477),!0x1),_0x4c920e(this,_0x5b5550(0x29b),!0x1),_0x4c920e(this,_0x5b5550(0x423),new _0x50665a[(_0x5b5550(0x270))](new Map())),_0x4c920e(this,'cursorInfo$',this[_0x5b5550(0x423)]['asObservable']()),_0x4c920e(this,_0x5b5550(0x2f4),new _0x50665a['BehaviorSubject']([])),_0x4c920e(this,_0x5b5550(0x2cf),this[_0x5b5550(0x2f4)][_0x5b5550(0x3e0)](_0x50665a[_0x5b5550(0x2e0)](_0x261bb1))),_0x4c920e(this,'_updateLocalCursor',_0x52f83d[_0x5b5550(0x1b6)]((_0x4f9ea8,_0x1004e1)=>{const _0x22bc01=_0x5b5550,_0x460db9={'eventID':_0x39c01d[_0x22bc01(0x323)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x22bc01(0x40f)],'memberID':this[_0x22bc01(0x2d8)]['getMemberID'](),'selection':_0x6db7a0[_0x22bc01(0x30d)](_0x4f9ea8,_0x1004e1[_0x22bc01(0x356)])}};this['_session'][_0x22bc01(0x441)](_0x460db9,this[_0x22bc01(0x40f)]);},_0x556790)),(this[_0x5b5550(0x40f)]=_0x11c603,this[_0x5b5550(0x2d8)]=_0x3bc400,this[_0x5b5550(0x2bd)]=_0x5bb38d,this['_colorAssignService']=_0x205d3f,this['_memberService']=_0x2e8f8d,this[_0x5b5550(0x41e)]=_0x46437b,this[_0x5b5550(0x2e6)]=_0x3dd366,this[_0x5b5550(0x30e)]=_0x372043);}get[_0x16ba6(0x281)](){const _0xb1ca51=_0x16ba6;return this[_0xb1ca51(0x423)][_0xb1ca51(0x3a2)]();}get[_0x16ba6(0x345)](){const _0x204b0d=_0x16ba6;return this[_0x204b0d(0x2f4)]['getValue']();}[_0x16ba6(0x258)](){const _0x3685f4=_0x16ba6;super['dispose'](),this[_0x3685f4(0x423)][_0x3685f4(0x27e)](new Map()),this['_cursorInfo$'][_0x3685f4(0x290)](),this['_roomMembers$'][_0x3685f4(0x27e)]([]),this['_roomMembers$']['complete']();}[_0x16ba6(0x41d)](){const _0x371954=_0x16ba6;this['_init']||(this[_0x371954(0x29b)]=!0x0,this[_0x371954(0x2d8)]['sessionStatus$']['pipe'](_0x50665a[_0x371954(0x2ce)](this['dispose$']))['subscribe'](_0x1aea36=>{const _0x4584a7=_0x371954;_0x1aea36===_0x32b0bb[_0x4584a7(0x364)][_0x4584a7(0x376)]?this[_0x4584a7(0x3f9)]():this[_0x4584a7(0x263)]();}),this[_0x371954(0x2d8)][_0x371954(0x448)]['pipe'](_0x50665a['takeUntil'](this[_0x371954(0x27d)]))[_0x371954(0x1cb)](_0x6008d3=>{const _0x14c82e=_0x371954,_0x86434d=_0x6008d3[_0x14c82e(0x1a6)];_0x86434d===_0x39c01d[_0x14c82e(0x323)][_0x14c82e(0x2e8)]&&this[_0x14c82e(0x1f7)](_0x6008d3),_0x86434d===_0x39c01d[_0x14c82e(0x323)]['USERS_LEAVE']&&this[_0x14c82e(0x474)](_0x6008d3);}),this['_onRefRangeChange'](),this[_0x371954(0x1e2)](this['_commandService']['onCommandExecuted'](_0x54770c=>{const _0x3d2d3a=_0x371954;if(this[_0x3d2d3a(0x477)]&&_0x54770c['id']===_0x12de86[_0x3d2d3a(0x1b3)]['id']&&_0x54770c[_0x3d2d3a(0x3f5)][_0x3d2d3a(0x3e5)]===this[_0x3d2d3a(0x40f)]){const _0x1ea9f0=_0x54770c[_0x3d2d3a(0x3f5)];this[_0x3d2d3a(0x397)](_0x1ea9f0['subUnitId'],_0x1ea9f0[_0x3d2d3a(0x377)][0x0]);}})));}[_0x16ba6(0x1f7)](_0xfc79da){const _0x369a09=_0x16ba6;var _0x5b3ad1,_0x238e9a;const {memberID:_0xb12c28,selection:_0x27ef41}=_0xfc79da['data'],{sheetName:_0x3d3c51,range:_0x14cd48}=_0x6db7a0[_0x369a09(0x2b0)](_0x27ef41),_0x55cf4a={'name':(_0x238e9a=(_0x5b3ad1=this['_memberService']['getMember'](this[_0x369a09(0x40f)],_0xb12c28))==null?void 0x0:_0x5b3ad1['name'])!=null?_0x238e9a:'Unknown\x20user','range':this['_getMergeRange'](_0x3d3c51,_0x14cd48),'sheetID':_0x3d3c51,'color':this[_0x369a09(0x224)]['assignAColorForMemberID'](_0xb12c28),'selection':_0x27ef41},_0x4753e5=this[_0x369a09(0x281)];_0x4753e5[_0x369a09(0x3d3)](_0xb12c28,_0x55cf4a),this['_cursorInfo$'][_0x369a09(0x27e)](_0x4753e5);}['_onCursorDelete'](_0x3f705f){const _0x2a2145=_0x16ba6,{memberID:_0x41bd80}=_0x3f705f[_0x2a2145(0x383)],_0x1bf10b=this[_0x2a2145(0x281)];_0x1bf10b['delete'](_0x41bd80),this[_0x2a2145(0x423)]['next'](_0x1bf10b);}[_0x16ba6(0x378)](_0x6ba049,_0x4b4339){const _0x34996a=_0x16ba6;var _0x12c451,_0x570e6f;const _0x4101a9=(_0x570e6f=(_0x12c451=this[_0x34996a(0x41e)][_0x34996a(0x3a7)](this[_0x34996a(0x40f)]))==null?void 0x0:_0x12c451['getSheetBySheetId'](_0x6ba049))==null?void 0x0:_0x570e6f[_0x34996a(0x349)]();return(_0x4101a9==null?void 0x0:_0x4101a9[_0x34996a(0x198)](_0x2fdc09=>_0x52f83d[_0x34996a(0x267)][_0x34996a(0x403)](_0x2fdc09,_0x4b4339)))||_0x4b4339;}[_0x16ba6(0x3f0)](){const _0x478437=_0x16ba6,_0x4ea4d3=new _0x52f83d['DisposableCollection'](),_0x48cfdf=_0x5a38c3(),_0x5dd67c=()=>{const _0x58c3e1=_0x4b5c;_0x4ea4d3[_0x58c3e1(0x258)]();const _0x48a2bb=(_0x543349,_0x4630b6,_0x26f7c9,_0x25f07e)=>{const _0x6893a4=_0x58c3e1;let _0x3b4378=[];switch(_0x543349['id']){case _0x12de86[_0x6893a4(0x296)][_0x6893a4(0x2cd)]:{_0x3b4378=_0x12de86[_0x6893a4(0x454)](_0x543349,_0x25f07e);break;}case _0x12de86[_0x6893a4(0x296)][_0x6893a4(0x301)]:{_0x3b4378=_0x12de86[_0x6893a4(0x3d8)](_0x543349,_0x25f07e);break;}case _0x12de86[_0x6893a4(0x296)][_0x6893a4(0x461)]:{_0x3b4378=_0x12de86[_0x6893a4(0x1d5)](_0x543349,_0x25f07e);break;}case _0x12de86[_0x6893a4(0x296)][_0x6893a4(0x344)]:{_0x3b4378=_0x12de86[_0x6893a4(0x343)](_0x543349,_0x25f07e);break;}case _0x12de86[_0x6893a4(0x296)]['InsertRangeMoveRightCommandId']:{_0x3b4378=_0x12de86[_0x6893a4(0x32b)](_0x543349,_0x25f07e);break;}case _0x12de86['EffectRefRangId'][_0x6893a4(0x1f8)]:{_0x3b4378=_0x12de86['handleInsertRow'](_0x543349,_0x25f07e);break;}case _0x12de86['EffectRefRangId'][_0x6893a4(0x22a)]:{_0x3b4378=_0x12de86['handleMoveRange'](_0x543349,_0x25f07e);break;}case _0x12de86['EffectRefRangId']['RemoveColCommandId']:{_0x3b4378=_0x12de86[_0x6893a4(0x432)](_0x543349,_0x25f07e);break;}case _0x12de86[_0x6893a4(0x296)][_0x6893a4(0x260)]:{_0x3b4378=_0x12de86['handleIRemoveRow'](_0x543349,_0x25f07e);break;}}const _0x3bb949=_0x12de86['runRefRangeMutations'](_0x3b4378,_0x25f07e),_0x219f21=this[_0x6893a4(0x281)][_0x6893a4(0x452)](_0x4630b6);if(_0x219f21&&_0x3bb949){const _0x27c208={..._0x219f21,'range':_0x3bb949};this[_0x6893a4(0x281)][_0x6893a4(0x3d3)](_0x4630b6,_0x27c208),_0x48cfdf(()=>{const _0x20f871=_0x6893a4,_0x672ae6=this[_0x20f871(0x30e)][_0x20f871(0x19a)](_0x3bb949,_0x42800c=>(_0x672ae6['dispose'](),_0x48a2bb(_0x42800c,_0x4630b6,_0x26f7c9,_0x3bb949)));_0x4ea4d3[_0x20f871(0x1e8)](_0x672ae6);});}return{'redos':[],'undos':[]};};this[_0x58c3e1(0x281)]['forEach']((_0x586171,_0xc9abd9)=>{const _0x509a9e=_0x58c3e1,{range:_0x5870a1,sheetID:_0x506abc}=_0x586171,_0x5b494b=this[_0x509a9e(0x30e)][_0x509a9e(0x19a)](_0x5870a1,_0x1e1236=>(_0x5b494b[_0x509a9e(0x258)](),_0x48a2bb(_0x1e1236,_0xc9abd9,_0x506abc,_0x5870a1)));_0x4ea4d3[_0x509a9e(0x1e8)](_0x5b494b);});};this[_0x478437(0x1e2)](_0x52f83d[_0x478437(0x359)](this[_0x478437(0x423)][_0x478437(0x1cb)](()=>{_0x5dd67c();})));}[_0x16ba6(0x3f9)](){const _0x4dafdd=_0x16ba6;var _0x5c5be8,_0x481bdc;if(this[_0x4dafdd(0x477)]=!0x0,((_0x5c5be8=this[_0x4dafdd(0x41e)]['getFocusedUnit']())==null?void 0x0:_0x5c5be8[_0x4dafdd(0x1da)]())!==this[_0x4dafdd(0x40f)])return;const _0x2ea633=(_0x481bdc=this[_0x4dafdd(0x2bd)][_0x4dafdd(0x452)](_0x12de86[_0x4dafdd(0x1aa)])[_0x4dafdd(0x398)]())==null?void 0x0:_0x481bdc[0x0],_0x39a2ca=this[_0x4dafdd(0x41e)][_0x4dafdd(0x368)](_0x52f83d[_0x4dafdd(0x24d)][_0x4dafdd(0x3be)])[_0x4dafdd(0x284)]();_0x2ea633&&_0x39a2ca&&this['_updateLocalCursor'](_0x39a2ca[_0x4dafdd(0x3c5)](),_0x2ea633);}[_0x16ba6(0x263)](){const _0x2e491d=_0x16ba6;this[_0x2e491d(0x477)]=!0x1;}};_0x1dcd92=_0x1c933b([_0x39d987(0x2,_0x52f83d['Inject'](_0x52f83d['Injector'])),_0x39d987(0x3,_0x52f83d[_0x16ba6(0x19b)](_0x23c3c8)),_0x39d987(0x4,_0x52f83d[_0x16ba6(0x19b)](_0x32b0bb['MemberService'])),_0x39d987(0x5,_0x52f83d[_0x16ba6(0x3e1)]),_0x39d987(0x6,_0x52f83d['ICommandService']),_0x39d987(0x7,_0x52f83d['Inject'](_0x12de86[_0x16ba6(0x1c8)]))],_0x1dcd92);var _0xc0b52a=Object[_0x16ba6(0x1fd)],_0x392e34=(_0x12e267,_0x100e81,_0x3d0912,_0x3f2a90)=>{for(var _0x239e61=_0x3f2a90>0x1?void 0x0:_0x3f2a90?_0xc0b52a(_0x100e81,_0x3d0912):_0x100e81,_0x3deee9=_0x12e267['length']-0x1,_0xe06cde;_0x3deee9>=0x0;_0x3deee9--)(_0xe06cde=_0x12e267[_0x3deee9])&&(_0x239e61=_0xe06cde(_0x239e61)||_0x239e61);return _0x239e61;},_0x57729d=(_0x12402b,_0x504a1c)=>(_0x1a779d,_0x54f2a9)=>_0x504a1c(_0x1a779d,_0x54f2a9,_0x12402b);let _0x4806aa=class extends _0x52f83d[_0x16ba6(0x39e)]{constructor(_0x8fe071,_0x308a16,_0x496811){const _0x1fc260=_0x16ba6;super(),_0x4c920e(this,'_entities',new Map()),_0x4c920e(this,_0x1fc260(0x407),new _0x50665a['Subject']()),(this[_0x1fc260(0x41e)]=_0x8fe071,this[_0x1fc260(0x2bd)]=_0x308a16,this[_0x1fc260(0x325)]=_0x496811,this[_0x1fc260(0x29b)]());}[_0x16ba6(0x258)](){const _0x3f1b07=_0x16ba6;super[_0x3f1b07(0x258)](),this[_0x3f1b07(0x407)][_0x3f1b07(0x290)](),this['_entities'][_0x3f1b07(0x34f)](_0x29f37c=>_0x29f37c['dispose']());}['getCollabCursors$'](_0x438661){const _0x1eedea=_0x16ba6;return this[_0x1eedea(0x237)]['has'](_0x438661)?this['_entities'][_0x1eedea(0x452)](_0x438661)[_0x1eedea(0x39a)]:this[_0x1eedea(0x407)][_0x1eedea(0x3e0)](_0x50665a[_0x1eedea(0x22e)](_0x35f3d7=>_0x35f3d7[_0x1eedea(0x40f)]===_0x438661),_0x50665a[_0x1eedea(0x25f)](_0x7803d8=>_0x7803d8[_0x1eedea(0x39a)]));}[_0x16ba6(0x29b)](){const _0x1850d6=_0x16ba6;this[_0x1850d6(0x41e)]['getTypeOfUnitAdded$'](_0x52f83d[_0x1850d6(0x24d)][_0x1850d6(0x3be)])[_0x1850d6(0x3e0)](_0x50665a['takeUntil'](this[_0x1850d6(0x27d)]))[_0x1850d6(0x1cb)](async _0x27f048=>{const _0x5a42bc=_0x1850d6,_0x508853=_0x27f048[_0x5a42bc(0x1da)](),_0xa3c95c=await this['_startSheetCollabCursor'](_0x508853);this[_0x5a42bc(0x407)][_0x5a42bc(0x27e)](_0xa3c95c),this['_entities'][_0x5a42bc(0x3d3)](_0x508853,_0xa3c95c);}),this['_univerInstanceService'][_0x1850d6(0x2be)](_0x52f83d[_0x1850d6(0x24d)][_0x1850d6(0x3de)])[_0x1850d6(0x3e0)](_0x50665a[_0x1850d6(0x2ce)](this[_0x1850d6(0x27d)]))['pipe'](_0x50665a[_0x1850d6(0x22e)](_0x1fb647=>!_0x1fb647[_0x1850d6(0x1da)]()[_0x1850d6(0x2e7)]('__')))['subscribe'](async _0x4e2d4d=>{const _0x269c24=_0x1850d6,_0x4f0d61=_0x4e2d4d[_0x269c24(0x1da)](),_0x1e1d0f=await this[_0x269c24(0x365)](_0x4f0d61);this[_0x269c24(0x407)][_0x269c24(0x27e)](_0x1e1d0f),this[_0x269c24(0x237)]['set'](_0x4f0d61,_0x1e1d0f);}),_0x50665a[_0x1850d6(0x1d1)](this[_0x1850d6(0x41e)][_0x1850d6(0x40d)](_0x52f83d[_0x1850d6(0x24d)][_0x1850d6(0x3de)]),this[_0x1850d6(0x41e)][_0x1850d6(0x40d)](_0x52f83d[_0x1850d6(0x24d)]['UNIVER_SHEET']))['pipe'](_0x50665a[_0x1850d6(0x2ce)](this['dispose$']))[_0x1850d6(0x1cb)](_0x5165c6=>{const _0x1c9ca7=_0x1850d6,_0xbaddc2=_0x5165c6['getUnitId'](),_0x469285=this[_0x1c9ca7(0x237)][_0x1c9ca7(0x452)](_0xbaddc2);_0x469285&&(_0x469285['dispose'](),this[_0x1c9ca7(0x237)][_0x1c9ca7(0x192)](_0xbaddc2));});}async[_0x16ba6(0x484)](_0x346a5d){const _0x101f5f=_0x16ba6,_0x20e00c=await this[_0x101f5f(0x325)]['requireSession'](_0x346a5d),_0xcd5aae=this[_0x101f5f(0x2bd)][_0x101f5f(0x2fc)](_0x1dcd92,_0x346a5d,_0x20e00c);return _0xcd5aae['init'](),_0xcd5aae;}async[_0x16ba6(0x365)](_0x1f3cf6){const _0x90ba9=_0x16ba6,_0x263bae=await this[_0x90ba9(0x325)][_0x90ba9(0x435)](_0x1f3cf6),_0x4e3016=this[_0x90ba9(0x2bd)][_0x90ba9(0x2fc)](_0x261561,_0x1f3cf6,_0x263bae);return _0x4e3016['init'](),_0x4e3016;}};_0x4806aa=_0x392e34([_0x57729d(0x0,_0x52f83d['IUniverInstanceService']),_0x57729d(0x1,_0x52f83d[_0x16ba6(0x19b)](_0x52f83d['Injector'])),_0x57729d(0x2,_0x52f83d[_0x16ba6(0x19b)](_0x32b0bb['CollaborationSessionService']))],_0x4806aa);const _0x5dc715=0x14,_0x378dad=0xc8,_0x424c5b=0x4,_0x3d25fe=0x5;function _0x411f45(_0x37019a,_0x45c24d){const _0x349632=_0x16ba6;let {radius:_0x56d45f,width:_0x416c4c,height:_0x2c9c04}=_0x45c24d;_0x56d45f=_0x56d45f!=null?_0x56d45f:0x0,_0x416c4c=_0x416c4c!=null?_0x416c4c:0x1e,_0x2c9c04=_0x2c9c04!=null?_0x2c9c04:0x1e;let _0x3d5daa=0x0,_0x16cb36=0x0,_0x555f36=0x0;_0x3d5daa=_0x16cb36=_0x555f36=Math['min'](_0x56d45f,_0x416c4c/0x2,_0x2c9c04/0x2),_0x37019a[_0x349632(0x1c5)](),_0x37019a[_0x349632(0x388)](_0x3d5daa,0x0),_0x37019a[_0x349632(0x1cf)](_0x416c4c-_0x16cb36,0x0),_0x37019a['arc'](_0x416c4c-_0x16cb36,_0x16cb36,_0x16cb36,Math['PI']*0x3/0x2,0x0,!0x1),_0x37019a[_0x349632(0x1cf)](_0x416c4c,_0x2c9c04-_0x555f36),_0x37019a['arc'](_0x416c4c-_0x555f36,_0x2c9c04-_0x555f36,_0x555f36,0x0,Math['PI']/0x2,!0x1),_0x37019a[_0x349632(0x1cf)](0x0,_0x2c9c04),_0x37019a['lineTo'](0x0,_0x3d5daa),_0x37019a['arc'](_0x3d5daa,_0x3d5daa,_0x3d5daa,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x37019a[_0x349632(0x293)](),_0x45c24d[_0x349632(0x485)]&&(_0x37019a[_0x349632(0x3bb)](),_0x37019a[_0x349632(0x3e4)]=_0x45c24d[_0x349632(0x485)],_0x45c24d['fillRule']==='evenodd'?_0x37019a['fill']('evenodd'):_0x37019a[_0x349632(0x485)](),_0x37019a[_0x349632(0x2cb)]());}class _0x4c2aef extends _0x1a348d[_0x16ba6(0x1af)]{constructor(_0x1dddb4,_0x217bbd){const _0x3c2d60=_0x16ba6;super(_0x1dddb4,_0x217bbd),_0x4c920e(this,_0x3c2d60(0x414)),_0x4c920e(this,_0x3c2d60(0x44e)),(this[_0x3c2d60(0x414)]=_0x217bbd==null?void 0x0:_0x217bbd[_0x3c2d60(0x414)],this[_0x3c2d60(0x44e)]=_0x217bbd==null?void 0x0:_0x217bbd[_0x3c2d60(0x44e)]);}static[_0x16ba6(0x259)](_0x2bb91e,_0x5cae87){const _0x4f32ac=_0x16ba6,{text:_0x26bc1,color:_0x2f00cb}=_0x5cae87;_0x2bb91e['save'](),_0x2bb91e[_0x4f32ac(0x21a)]=_0x4f32ac(0x350);const _0x20daa7=_0x2bb91e[_0x4f32ac(0x28b)](_0x26bc1)[_0x4f32ac(0x249)],_0x4851d3=Math[_0x4f32ac(0x2b4)](_0x20daa7+0x2*_0x424c5b,_0x378dad);_0x411f45(_0x2bb91e,{'height':_0x5dc715,'radius':0x4,'width':_0x4851d3,'fill':_0x2f00cb}),_0x2bb91e[_0x4f32ac(0x3e4)]='#FFF';const _0x6afa2a=_0x424c5b,_0x2049e3=_0x5dc715-_0x3d25fe,_0x1b2e68=_0x378dad-0x2*_0x424c5b;if(_0x20daa7>_0x1b2e68){let _0x2d135e='',_0x3c624f=0x0;for(const _0x3c05e0 of _0x26bc1){const _0x2fcf4e=_0x2bb91e['measureText'](_0x3c05e0)['width'];if(_0x3c624f+_0x2fcf4e<=_0x1b2e68-_0x2bb91e[_0x4f32ac(0x28b)](_0x4f32ac(0x339))[_0x4f32ac(0x249)])_0x2d135e+=_0x3c05e0,_0x3c624f+=_0x2fcf4e;else{_0x2d135e+=_0x4f32ac(0x339);break;}}_0x2bb91e[_0x4f32ac(0x1a9)](_0x2d135e,_0x6afa2a,_0x2049e3);}else _0x2bb91e['fillText'](_0x26bc1,_0x6afa2a,_0x2049e3);_0x2bb91e[_0x4f32ac(0x2cb)]();}[_0x16ba6(0x34b)](_0x4b4521){const _0x551dc7=_0x16ba6;_0x4c2aef[_0x551dc7(0x259)](_0x4b4521,this);}}const _0x4f2b19=_0x16ba6(0x247),_0x3f2f47='collab-text-range-',_0x3cea62=_0x16ba6(0x45a),_0x567204=0x6,_0x3a0992=1.5,_0x4cb430=0x4,_0x1ac38d=1.5,_0x2e02ad=_0x16ba6(0x361);class _0x1999d4{constructor(_0x123598,_0x73241c,_0x3e1832,_0x3c4c2e){const _0x26907c=_0x16ba6;_0x4c920e(this,_0x26907c(0x387),[]),_0x4c920e(this,_0x26907c(0x464),null),_0x4c920e(this,_0x26907c(0x273),null),_0x4c920e(this,'_anchorDot',null),_0x4c920e(this,'_hideTimer',null),_0x4c920e(this,_0x26907c(0x25a),null),(this[_0x26907c(0x36c)]=_0x123598,this[_0x26907c(0x28f)]=_0x73241c,this[_0x26907c(0x476)]=_0x3e1832,this[_0x26907c(0x3f1)]=_0x3c4c2e,this[_0x26907c(0x2e9)]());}set[_0x16ba6(0x478)](_0xc3744c){const _0x9c5916=_0x16ba6;_0xc3744c?(this['_anchorDot']&&this[_0x9c5916(0x271)]['hide'](),this[_0x9c5916(0x273)]&&this[_0x9c5916(0x273)]['show']()):(this['_anchorDot']&&this[_0x9c5916(0x271)][_0x9c5916(0x34a)](),this[_0x9c5916(0x273)]&&this[_0x9c5916(0x273)][_0x9c5916(0x406)]());}[_0x16ba6(0x258)](){const _0x17374a=_0x16ba6;for(const _0x5bb4a8 of this[_0x17374a(0x387)])_0x5bb4a8['dispose']();this[_0x17374a(0x273)]&&this[_0x17374a(0x273)][_0x17374a(0x258)](),this['_anchorDot']&&this[_0x17374a(0x271)][_0x17374a(0x258)](),this[_0x17374a(0x464)]&&this[_0x17374a(0x464)][_0x17374a(0x258)](),this[_0x17374a(0x25a)]&&this[_0x17374a(0x25a)]();}[_0x16ba6(0x2e9)](){const _0x422959=_0x16ba6;var _0x97a0;const {_docSkeleton:_0x2e506f,_document:_0x5d8a73}=this,{color:_0x1cb507,name:_0x579b62,ranges:_0x25ff04}=this[_0x422959(0x36c)],_0x254953=_0x5d8a73[_0x422959(0x235)](),{docsLeft:_0x6b3c1e,docsTop:_0x42c636}=_0x254953,_0x458afe=new _0x33e2f['NodePositionConvertToCursor'](_0x254953,_0x2e506f);for(const {startOffset:_0x49a8f8,endOffset:_0x335d36,rangeType:_0x4939d4,segmentId:_0x1e609e,segmentPage:_0x590e39,collapsed:_0x5c6c9b,isActive:_0x29ecfa}of _0x25ff04){const _0x1b7f44=_0x2e506f[_0x422959(0x38e)](_0x49a8f8,!0x0,_0x1e609e,_0x590e39);let _0x13fc20=_0x2e506f[_0x422959(0x38e)](_0x335d36,!0x0,_0x1e609e,_0x590e39);if(_0x13fc20==null&&(_0x13fc20=_0x2e506f['findNodePositionByCharIndex'](_0x335d36-0x1,!0x1,_0x1e609e,_0x590e39)),_0x29ecfa){const {contentBoxPointGroup:_0x11720d}=_0x458afe['getRangePointData'](_0x13fc20,_0x13fc20);if(_0x11720d[_0x422959(0x214)]===0x0)continue;this[_0x422959(0x3b6)](_0x1cb507,_0x11720d,_0x6b3c1e,_0x42c636,_0x579b62),this[_0x422959(0x25a)]=this['_handleHover']();}if(_0x1b7f44&&_0x13fc20){if(_0x4939d4===_0x52f83d[_0x422959(0x22b)][_0x422959(0x3e3)]){const _0x389c37=new _0x33e2f[(_0x422959(0x2d7))](_0x254953,_0x2e506f),{pointGroup:_0x3d9176}=(_0x97a0=_0x389c37[_0x422959(0x2e3)](_0x1b7f44,_0x13fc20))!=null?_0x97a0:{};if(_0x3d9176==null||_0x3d9176[_0x422959(0x214)]===0x0)continue;this[_0x422959(0x38d)](_0x1cb507,_0x3d9176,_0x6b3c1e,_0x42c636);}else{if(!_0x5c6c9b){const {borderBoxPointGroup:_0x1e0b14}=_0x458afe[_0x422959(0x2e3)](_0x1b7f44,_0x13fc20);if(_0x1e0b14[_0x422959(0x214)]===0x0)continue;this[_0x422959(0x459)](_0x1cb507,_0x1e0b14,_0x6b3c1e,_0x42c636);}}}}}[_0x16ba6(0x3b6)](_0x518a6f,_0x4e7c48,_0x12bf6e,_0x3d631f,_0x210bef){const _0x2f2f80=_0x16ba6,_0x443459=this[_0x2f2f80(0x1ac)](_0x4e7c48),{left:_0x41d946,top:_0xedbd91,height:_0x5d75d0}=_0x443459,_0x1b11bf=this[_0x2f2f80(0x3c2)](),_0x31675f=_0x1ac38d/_0x1b11bf,_0x32149e=new _0x1a348d[(_0x2f2f80(0x226))](_0x4f2b19+_0x52f83d[_0x2f2f80(0x302)](_0x567204),{'left':_0x41d946+_0x12bf6e-_0x31675f,'top':_0xedbd91+_0x3d631f,'height':_0x5d75d0,'width':_0x3a0992,'fill':_0x518a6f||_0x1a348d['getColor'](_0x52f83d[_0x2f2f80(0x45d)][_0x2f2f80(0x3a0)],0x0),'strokeWidth':_0x31675f,'stroke':_0x2e02ad,'evented':!0x0});this['_anchor']=_0x32149e,this['_scene'][_0x2f2f80(0x288)](_0x32149e,_0x33e2f[_0x2f2f80(0x380)]);const _0x1c1f07=new _0x1a348d[(_0x2f2f80(0x226))](_0x4f2b19+_0x52f83d[_0x2f2f80(0x302)](_0x567204),{'left':_0x41d946+_0x12bf6e-_0x31675f,'top':_0xedbd91+_0x3d631f-_0x4cb430/0x2,'height':_0x4cb430,'width':_0x4cb430,'fill':_0x518a6f||_0x1a348d['getColor'](_0x52f83d[_0x2f2f80(0x45d)][_0x2f2f80(0x3a0)],0x0),'strokeWidth':0x0,'stroke':_0x518a6f||_0x1a348d['getColor'](_0x52f83d[_0x2f2f80(0x45d)][_0x2f2f80(0x3a0)],0x0),'evented':!0x1});this['_anchorDot']=_0x1c1f07,this[_0x2f2f80(0x28f)][_0x2f2f80(0x288)](_0x1c1f07,_0x33e2f[_0x2f2f80(0x380)]);const _0x44075f=new _0x4c2aef(_0x4f2b19+_0x52f83d[_0x2f2f80(0x302)](_0x567204),{'left':_0x41d946+_0x12bf6e-_0x31675f,'top':_0xedbd91+_0x3d631f-_0x5dc715,'text':_0x210bef,'color':_0x518a6f});this['_textBubble']=_0x44075f,this[_0x2f2f80(0x28f)]['addObject'](_0x44075f,_0x33e2f[_0x2f2f80(0x380)]),this[_0x2f2f80(0x478)]=!0x1;}[_0x16ba6(0x39c)](){const _0x311692=_0x16ba6,_0x105413=this[_0x311692(0x464)]['onPointerEnter$'][_0x311692(0x31f)](()=>{const _0x43dbea=_0x311692;this[_0x43dbea(0x478)]=!0x0;}),_0x598c6a=this[_0x311692(0x464)][_0x311692(0x431)][_0x311692(0x31f)](()=>{const _0x17a54d=_0x311692;this[_0x17a54d(0x357)]&&clearTimeout(this[_0x17a54d(0x357)]),this[_0x17a54d(0x357)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x4581fa=_0x311692;_0x105413[_0x4581fa(0x453)](),_0x598c6a[_0x4581fa(0x453)]();};}[_0x16ba6(0x459)](_0x81c505,_0x291041,_0x292960,_0x2598ed){const _0x4cf61c=_0x16ba6,_0x10565f=new _0x52f83d[(_0x4cf61c(0x3dc))](_0x81c505)[_0x4cf61c(0x286)](0.2)[_0x4cf61c(0x26e)](),_0x36b6b0=new _0x1a348d[(_0x4cf61c(0x25d))](_0x3f2f47+_0x52f83d['generateRandomId'](_0x567204),{'pointsGroup':_0x291041,'fill':_0x10565f||_0x1a348d['getColor'](_0x52f83d[_0x4cf61c(0x45d)][_0x4cf61c(0x3a0)],0.2),'left':_0x292960,'top':_0x2598ed,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4cf61c(0x387)][_0x4cf61c(0x1ea)](_0x36b6b0),this[_0x4cf61c(0x28f)][_0x4cf61c(0x288)](_0x36b6b0,_0x33e2f['TEXT_RANGE_LAYER_INDEX']);}[_0x16ba6(0x38d)](_0x2e1b5b,_0x3a1cfc,_0xa08453,_0x526c28){const _0x3e6e25=_0x16ba6,_0x255187=new _0x52f83d[(_0x3e6e25(0x3dc))](_0x2e1b5b)[_0x3e6e25(0x286)](0.2)['toRgbString'](),_0x3a7c08=new _0x1a348d[(_0x3e6e25(0x25d))](_0x3cea62+_0x52f83d['generateRandomId'](_0x567204),{'pointsGroup':_0x3a1cfc,'fill':_0x255187||_0x1a348d['getColor'](_0x52f83d[_0x3e6e25(0x45d)]['black'],0.2),'left':_0xa08453,'top':_0x526c28,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3e6e25(0x387)][_0x3e6e25(0x1ea)](_0x3a7c08),this[_0x3e6e25(0x28f)][_0x3e6e25(0x288)](_0x3a7c08,_0x33e2f[_0x3e6e25(0x380)]);}[_0x16ba6(0x1ac)](_0x4759c7){const _0xd4d1ac=_0x4759c7[0x0],_0x31fa3b=_0xd4d1ac[0x0],_0x433798=_0xd4d1ac[0x2],{x:_0x12ff8f,y:_0xd260aa}=_0x31fa3b,{x:_0x262a70,y:_0x10e96d}=_0x433798;return{'left':_0x12ff8f,'top':_0xd260aa,'width':_0x262a70-_0x12ff8f,'height':_0x10e96d-_0xd260aa};}['_getScale'](){const _0xc1b743=_0x16ba6,{scaleX:_0x5e5da8,scaleY:_0x242bfe}=this[_0xc1b743(0x28f)][_0xc1b743(0x3bd)]();return Math[_0xc1b743(0x26c)](_0x5e5da8,_0x242bfe);}}var _0x566d58=Object[_0x16ba6(0x1fd)],_0x48eefb=(_0x4fa938,_0x31a3b5,_0x46b0e9,_0x584a43)=>{for(var _0x2ca133=_0x584a43>0x1?void 0x0:_0x584a43?_0x566d58(_0x31a3b5,_0x46b0e9):_0x31a3b5,_0x114f68=_0x4fa938['length']-0x1,_0x4693bd;_0x114f68>=0x0;_0x114f68--)(_0x4693bd=_0x4fa938[_0x114f68])&&(_0x2ca133=_0x4693bd(_0x2ca133)||_0x2ca133);return _0x2ca133;},_0x262255=(_0x5ad369,_0x3dbb16)=>(_0x3b536a,_0x31f82a)=>_0x3dbb16(_0x3b536a,_0x31f82a,_0x5ad369);let _0x68a815=class extends _0x52f83d['RxDisposable']{constructor(_0x1e1a2a,_0x5b5806,_0x581f01,_0xd30b45,_0x2b5ec4){const _0x207ba4=_0x16ba6;super(),_0x4c920e(this,_0x207ba4(0x251),[]),_0x4c920e(this,_0x207ba4(0x42f),[]),(this['_context']=_0x1e1a2a,this['_docSkeletonManagerService']=_0x5b5806,this[_0x207ba4(0x362)]=_0x581f01,this['_commandService']=_0xd30b45,this[_0x207ba4(0x19e)]=_0x2b5ec4,this[_0x207ba4(0x29b)]());}['_init'](){const _0x55ac86=_0x16ba6,_0x3c4759=this['_context'][_0x55ac86(0x3e5)],_0x2510c1=this['_docSkeletonManagerService'];this[_0x55ac86(0x1e2)](_0x50665a[_0x55ac86(0x3e8)]([this['_collabCursorController'][_0x55ac86(0x446)](_0x3c4759),this[_0x55ac86(0x19e)]['currentTheme$']])[_0x55ac86(0x3e0)](_0xcc0421['map'](([_0x887ba8,_0x30a680])=>({'skeleton':_0x2510c1[_0x55ac86(0x1f1)](),'cursors':[..._0x887ba8[_0x55ac86(0x324)]()]['flatMap'](_0x5a86a7=>({..._0x5a86a7,'color':this[_0x55ac86(0x19e)][_0x55ac86(0x451)](_0x5a86a7['color'])}))})))[_0x55ac86(0x1cb)](_0x105141=>{const _0x19954e=_0x55ac86;if(this[_0x19954e(0x38c)](),_0x105141){const {skeleton:_0x49dcc1,cursors:_0x7471d3}=_0x105141;this[_0x19954e(0x1ec)](_0x49dcc1,_0x7471d3);}})),this[_0x55ac86(0x207)](),this[_0x55ac86(0x3dd)]();}[_0x16ba6(0x1ec)](_0x43d19a,_0x476276){const _0x5193ad=_0x16ba6,{scene:_0x93f8f8,mainComponent:_0x49f691}=this[_0x5193ad(0x3c9)],_0x1641b6=_0x476276[_0x5193ad(0x205)](_0x8873a3=>new _0x1999d4(_0x8873a3,_0x93f8f8,_0x43d19a,_0x49f691));this[_0x5193ad(0x251)]=_0x1641b6,this[_0x5193ad(0x42f)]=_0x476276;}[_0x16ba6(0x471)](){const _0x3ac0f3=_0x16ba6;this[_0x3ac0f3(0x38c)]();const {scene:_0x15d038,mainComponent:_0x235d0d}=this[_0x3ac0f3(0x3c9)],_0x13d1ba=this[_0x3ac0f3(0x195)]['getSkeleton'](),_0xd42a90=this[_0x3ac0f3(0x42f)][_0x3ac0f3(0x205)](_0xb8280e=>new _0x1999d4(_0xb8280e,_0x15d038,_0x13d1ba,_0x235d0d));this[_0x3ac0f3(0x251)]=_0xd42a90;}['_removeCollabCursors'](){const _0x142a28=_0x16ba6;this[_0x142a28(0x251)][_0x142a28(0x34f)](_0x34f4cd=>_0x34f4cd['dispose']()),this[_0x142a28(0x251)]=[];}[_0x16ba6(0x3dd)](){const _0x54439b=_0x16ba6,_0x11054e=[_0x33e2f[_0x54439b(0x3da)]['id']];this[_0x54439b(0x1e2)](this['_commandService'][_0x54439b(0x2b8)](_0x1b4cc5=>{const _0x238ccf=_0x54439b;_0x11054e[_0x238ccf(0x1c9)](_0x1b4cc5['id'])&&_0x1b4cc5[_0x238ccf(0x3f5)][_0x238ccf(0x3e5)]===this[_0x238ccf(0x3c9)][_0x238ccf(0x3e5)]&&this[_0x238ccf(0x471)]();}));}['_initResize'](){const _0x3ad7e7=_0x16ba6;this[_0x3ad7e7(0x1e2)](_0x52f83d[_0x3ad7e7(0x248)](this['_context'][_0x3ad7e7(0x1bb)][_0x3ad7e7(0x2de)])[_0x3ad7e7(0x3e0)](_0xcc0421['filter'](_0x438bd1=>_0x438bd1['type']===_0x1a348d[_0x3ad7e7(0x1dd)][_0x3ad7e7(0x3aa)]),_0xcc0421[_0x3ad7e7(0x3bf)](0x10))[_0x3ad7e7(0x1cb)](()=>{const _0x3f2555=_0x3ad7e7;this[_0x3f2555(0x471)]();}));}};_0x68a815=_0x48eefb([_0x262255(0x1,_0x52f83d[_0x16ba6(0x19b)](_0x37aee0[_0x16ba6(0x437)])),_0x262255(0x2,_0x52f83d[_0x16ba6(0x19b)](_0x4806aa)),_0x262255(0x3,_0x52f83d['ICommandService']),_0x262255(0x4,_0x52f83d[_0x16ba6(0x19b)](_0x52f83d[_0x16ba6(0x469)]))],_0x68a815);const _0x30decb=0x1,_0x2fa8ac=1.5;class _0x316081 extends _0x1a348d[_0x16ba6(0x1af)]{constructor(_0x337588,_0xeddf38){const _0x5349f3=_0x16ba6;super(_0x337588,_0xeddf38),_0x4c920e(this,'_color'),_0x4c920e(this,_0x5349f3(0x3cc),!0x1),_0x4c920e(this,'_range'),_0x4c920e(this,_0x5349f3(0x291),''),_0x4c920e(this,'_labelPosition','top'),_0x4c920e(this,_0x5349f3(0x3ed)),(_0xeddf38&&this[_0x5349f3(0x21f)](_0xeddf38),this[_0x5349f3(0x486)][_0x5349f3(0x31f)](()=>this[_0x5349f3(0x21f)]({'hovered':!0x0})),this[_0x5349f3(0x431)][_0x5349f3(0x31f)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x16ba6(0x21f)](_0x49144c){const _0x755b09=_0x16ba6;var _0x2e4d1d,_0x19a225,_0x1bd1d4,_0x566eef,_0x2f3cbc,_0x4ee449;this[_0x755b09(0x3b9)]=(_0x2e4d1d=_0x49144c[_0x755b09(0x414)])!=null?_0x2e4d1d:this['_color'],this[_0x755b09(0x3cc)]=(_0x19a225=_0x49144c[_0x755b09(0x43c)])!=null?_0x19a225:this['_hovered'],this[_0x755b09(0x456)]=(_0x1bd1d4=_0x49144c[_0x755b09(0x356)])!=null?_0x1bd1d4:this[_0x755b09(0x456)],this[_0x755b09(0x291)]=(_0x566eef=_0x49144c[_0x755b09(0x1e7)])!=null?_0x566eef:this[_0x755b09(0x291)],this[_0x755b09(0x22f)]=(_0x2f3cbc=_0x49144c[_0x755b09(0x39d)])!=null?_0x2f3cbc:this['_labelPosition'],this['_backgroundColor']=(_0x4ee449=_0x49144c[_0x755b09(0x379)])!=null?_0x4ee449:this[_0x755b09(0x3ed)],this['transformByState']({'width':_0x49144c[_0x755b09(0x249)],'height':_0x49144c[_0x755b09(0x42c)]});}[_0x16ba6(0x3f7)](_0x2be83a){const _0x22d382=_0x16ba6,{row:_0x4827aa,column:_0x4a9377}=_0x2be83a;if(_0x4827aa>=this['_range']['startRow']&&_0x4827aa<=this['_range'][_0x22d382(0x45e)]&&_0x4a9377>=this[_0x22d382(0x456)][_0x22d382(0x355)]&&_0x4a9377<=this[_0x22d382(0x456)][_0x22d382(0x1fb)]){this[_0x22d382(0x21f)]({'hovered':!0x0});return;}this[_0x22d382(0x21f)]({'hovered':!0x1});}[_0x16ba6(0x31c)](_0x471e48){return!0x1;}[_0x16ba6(0x34b)](_0x181148){const _0xb9434f=_0x16ba6;_0x1a348d[_0xb9434f(0x226)]['drawWith'](_0x181148,{'width':this[_0xb9434f(0x249)],'height':this['height'],'strokeWidth':_0x2fa8ac,'stroke':this[_0xb9434f(0x3b9)],'evented':!0x1,'fill':this[_0xb9434f(0x3ed)]}),this[_0xb9434f(0x3cc)]&&(_0x181148[_0xb9434f(0x3bb)](),_0x181148[_0xb9434f(0x314)](0x1,0x0,0x0,0x1,this['width'],this[_0xb9434f(0x22f)]===_0xb9434f(0x264)?0x0:-_0x5dc715),_0x4c2aef['drawWith'](_0x181148,{'text':this[_0xb9434f(0x291)],'color':this[_0xb9434f(0x3b9)]}),_0x181148[_0xb9434f(0x2cb)]());}}var _0xd0e8d5=Object[_0x16ba6(0x1fd)],_0xfffc20=(_0x1ab5b5,_0x47761c,_0x3b1f8a,_0x1f400a)=>{const _0x183583=_0x16ba6;for(var _0x905a10=_0x1f400a>0x1?void 0x0:_0x1f400a?_0xd0e8d5(_0x47761c,_0x3b1f8a):_0x47761c,_0x37933f=_0x1ab5b5[_0x183583(0x214)]-0x1,_0x528fb8;_0x37933f>=0x0;_0x37933f--)(_0x528fb8=_0x1ab5b5[_0x37933f])&&(_0x905a10=_0x528fb8(_0x905a10)||_0x905a10);return _0x905a10;},_0x33c41d=(_0x4bde36,_0x32abb8)=>(_0x42db69,_0x133b8d)=>_0x32abb8(_0x42db69,_0x133b8d,_0x4bde36);const _0x335a1e=0x1389;let _0x5798d8=class extends _0x52f83d[_0x16ba6(0x39e)]{constructor(_0x13b57c,_0x30288a,_0x5ce0c5,_0x335802){const _0xda162f=_0x16ba6;super(),_0x4c920e(this,_0xda162f(0x42f),new Set()),_0x4c920e(this,_0xda162f(0x1eb),null),(this['_context']=_0x13b57c,this[_0xda162f(0x216)]=_0x30288a,this[_0xda162f(0x362)]=_0x5ce0c5,this[_0xda162f(0x19e)]=_0x335802,this[_0xda162f(0x29b)]());}[_0x16ba6(0x29b)](){const _0x437736=_0x16ba6;this[_0x437736(0x216)][_0x437736(0x320)][_0x437736(0x3e0)](_0xcc0421['takeUntil'](this[_0x437736(0x27d)]),_0xcc0421[_0x437736(0x25f)](_0xc8594b=>{const _0x4e360a=_0x437736;if(_0xc8594b){const _0x40111d=_0xc8594b[_0x4e360a(0x26f)];return _0x50665a['combineLatest'](this['_collabCursorController']['getCollabCursors$'](this['_context'][_0x4e360a(0x3e5)]),this[_0x4e360a(0x19e)][_0x4e360a(0x194)])[_0x4e360a(0x3e0)](_0xcc0421[_0x4e360a(0x205)](([_0x5ce6de,_0x1db2af])=>{const _0x5993e4=_0x4e360a,_0x31f4d4=new Map();return _0x5ce6de[_0x5993e4(0x34f)]((_0x4f2749,_0x115081)=>{const _0xd66c4=_0x5993e4;if(_0x4f2749[_0xd66c4(0x457)]===_0x40111d){const _0x48041a={..._0x4f2749};_0x48041a[_0xd66c4(0x414)]=this['_themeService'][_0xd66c4(0x451)](_0x4f2749[_0xd66c4(0x414)]),_0x31f4d4[_0xd66c4(0x3d3)](_0x115081,_0x48041a);}}),{'skeleton':_0xc8594b,'cursors':_0x31f4d4};}));}return _0x50665a['of']({'skeleton':null,'cursors':new Map()});}))[_0x437736(0x1cb)](({skeleton:_0x5ee307,cursors:_0x5ce1e1})=>{const _0x2e14b7=_0x437736;this[_0x2e14b7(0x38c)](),_0x5ee307&&this['_updateCollabCursors'](_0x5ee307,_0x5ce1e1);}),this[_0x437736(0x216)][_0x437736(0x320)][_0x437736(0x1cb)](_0x4de114=>{const _0x43eaa7=_0x437736;if(_0x4de114==null)return;const {skeleton:_0x30d998}=_0x4de114,{scene:_0x42f50c}=this[_0x43eaa7(0x3c9)];_0x42f50c['onPointerMove$'][_0x43eaa7(0x31f)](_0x52f83d[_0x43eaa7(0x1b6)](_0x55e613=>{const _0x4605ed=_0x43eaa7;var _0x2ce106,_0x5187d2;const {offsetX:_0x47faac,offsetY:_0x45487a}=_0x55e613,{x:_0x2e2f78,y:_0x26c192}=_0x42f50c[_0x4605ed(0x1a7)](_0x1a348d[_0x4605ed(0x31e)][_0x4605ed(0x30f)]([_0x47faac,_0x45487a])),{scaleX:_0x5e1d7a,scaleY:_0x395432}=_0x42f50c['getAncestorScale'](),_0x42a4ff=_0x42f50c[_0x4605ed(0x46f)](_0x1a348d['SHEET_VIEWPORT_KEY'][_0x4605ed(0x35a)]),_0x764f0e=_0x42f50c[_0x4605ed(0x200)](_0x1a348d[_0x4605ed(0x31e)][_0x4605ed(0x30f)]([_0x2e2f78,_0x26c192]),_0x42a4ff),_0x31f690=_0x30d998['getCellPositionByOffset'](_0x47faac,_0x45487a,_0x5e1d7a,_0x395432,_0x764f0e);((_0x2ce106=this[_0x4605ed(0x1eb)])==null?void 0x0:_0x2ce106[_0x4605ed(0x44b)])===_0x31f690[_0x4605ed(0x44b)]&&((_0x5187d2=this[_0x4605ed(0x1eb)])==null?void 0x0:_0x5187d2[_0x4605ed(0x2ed)])===_0x31f690['row']||this[_0x4605ed(0x42f)][_0x4605ed(0x34f)](_0x1b883=>{const _0x41c2fc=_0x4605ed;_0x1b883[_0x41c2fc(0x3f7)](_0x31f690);});},0x64));});}[_0x16ba6(0x1ec)](_0x589c2f,_0x4d7177){const _0x56352b=_0x16ba6;var _0x5eed57;const _0x3c7889=(_0x5eed57=this['_sheetSkeletonManagerService'][_0x56352b(0x3cb)]())==null?void 0x0:_0x5eed57[_0x56352b(0x3b4)];if(!_0x3c7889)return;const _0x1480ec=this['_getSheetObject']();if(!_0x1480ec)return;this[_0x56352b(0x42f)]['forEach'](_0x251cc1=>{const _0x37e7e6=_0x56352b;_0x251cc1[_0x37e7e6(0x28a)]();});const {scene:_0x356504}=_0x1480ec,_0x302cb8=_0x1b4e8a(Array[_0x56352b(0x347)](_0x4d7177[_0x56352b(0x324)]()))[_0x56352b(0x205)](_0x21b8ab=>{const _0x521ea5=_0x56352b,{color:_0x1f46e6,range:_0x297964,name:_0x43fd4f,selection:_0x245850,sheetID:_0x233a3c}=_0x21b8ab,{startColumn:_0x5da273,startRow:_0xdab16b,endColumn:_0x59bac3,endRow:_0x569b95}=_0x297964,_0x1ef928=_0x4dab24[_0x521ea5(0x294)](_0xdab16b,_0x5da273,_0x356504,_0x3c7889),_0x4491a3=_0x4dab24['getCoordByCell'](_0x569b95,_0x59bac3,_0x356504,_0x3c7889),{columnHeaderHeightAndMarginTop:_0xfd4250}=_0x3c7889,{startX:_0x33477e,startY:_0x39db0a}=_0x1ef928,{endX:_0x1e9584,endY:_0x3f7aa1}=_0x4491a3,_0x13044d=_0x1e9584-_0x33477e,_0x2e73b5=_0x3f7aa1-_0x39db0a,_0x42d424={'labelPosition':_0x39db0a-_0xfd4250>=_0x5dc715?_0x521ea5(0x353):_0x521ea5(0x264),'sheetID':_0x233a3c,'range':_0x297964,'color':_0x1f46e6,'name':_0x43fd4f,'selection':_0x245850,'left':_0x33477e,'top':_0x39db0a,'width':_0x13044d,'height':_0x2e73b5,'evented':!0x1,'zIndex':_0x335a1e};return new _0x316081(_0x43fd4f,_0x42d424);});_0x356504['addObjects'](_0x302cb8,_0x30decb),this[_0x56352b(0x42f)]=new Set(_0x302cb8);}['_removeCollabCursors'](){const _0x516c15=_0x16ba6;var _0x1615b2;(_0x1615b2=this[_0x516c15(0x42f)])==null||_0x1615b2['forEach'](_0x3518d9=>_0x3518d9['dispose']());}[_0x16ba6(0x404)](){const _0x461fda=_0x16ba6;return _0x4dab24[_0x461fda(0x2bf)](this[_0x461fda(0x3c9)][_0x461fda(0x3c6)],this[_0x461fda(0x3c9)]);}};_0x5798d8=_0xfffc20([_0x33c41d(0x1,_0x52f83d['Inject'](_0x4dab24[_0x16ba6(0x1ee)])),_0x33c41d(0x2,_0x52f83d[_0x16ba6(0x19b)](_0x4806aa)),_0x33c41d(0x3,_0x52f83d[_0x16ba6(0x19b)](_0x52f83d[_0x16ba6(0x469)]))],_0x5798d8);function _0x1b4e8a(_0x4f0945){const _0x5cedd9=_0x16ba6,_0x362763=new Map();return _0x4f0945['forEach'](_0x37e438=>{const _0x24338a=_0x4b5c;if(_0x362763[_0x24338a(0x41b)](_0x37e438[_0x24338a(0x1c7)])){const _0x1b9307=_0x362763[_0x24338a(0x452)](_0x37e438[_0x24338a(0x1c7)]);_0x1b9307['name']+=',\x20'+_0x37e438[_0x24338a(0x1e7)];}else _0x362763[_0x24338a(0x3d3)](_0x37e438[_0x24338a(0x1c7)],_0x37e438);}),Array[_0x5cedd9(0x347)](_0x362763[_0x5cedd9(0x324)]());}var _0x5e94f0=Object['getOwnPropertyDescriptor'],_0x3a5896=(_0x1f09b5,_0x1e72df,_0xca007,_0x17d7d8)=>{const _0x4ffa7e=_0x16ba6;for(var _0xad2c3c=_0x17d7d8>0x1?void 0x0:_0x17d7d8?_0x5e94f0(_0x1e72df,_0xca007):_0x1e72df,_0x236bf7=_0x1f09b5[_0x4ffa7e(0x214)]-0x1,_0x27ec04;_0x236bf7>=0x0;_0x236bf7--)(_0x27ec04=_0x1f09b5[_0x236bf7])&&(_0xad2c3c=_0x27ec04(_0xad2c3c)||_0xad2c3c);return _0xad2c3c;},_0x377150=(_0x38047d,_0x2475b0)=>(_0x5d17ff,_0x2fe2dd)=>_0x2475b0(_0x5d17ff,_0x2fe2dd,_0x38047d);let _0x3b1a8d=class extends _0x52f83d[_0x16ba6(0x440)]{constructor(_0x321c47,_0x972dba,_0xa10e82,_0x404568,_0x178fae,_0x25a609){const _0x2249aa=_0x16ba6;super(),this['_beforeCloseService']=_0x321c47,this['_localCacheService']=_0x972dba,this[_0x2249aa(0x213)]=_0xa10e82,this['_messageService']=_0x404568,this[_0x2249aa(0x473)]=_0x178fae,this[_0x2249aa(0x2ee)]=_0x25a609,this['_setupBeforeClosingHandler'](),this[_0x2249aa(0x196)]();}[_0x16ba6(0x225)](){const _0x5d09ec=_0x16ba6;this[_0x5d09ec(0x1e2)](this[_0x5d09ec(0x27a)][_0x5d09ec(0x232)](()=>{const _0x44f9bd=_0x5d09ec;if(this[_0x44f9bd(0x1ad)]['saveTaskMap'][_0x44f9bd(0x3ef)])return this[_0x44f9bd(0x2ee)]['t']('collaboration.offline-data-not-saved');}));}[_0x16ba6(0x196)](){const _0x4832e4=_0x16ba6;this[_0x4832e4(0x1e2)](this[_0x4832e4(0x213)]['event$'][_0x4832e4(0x1cb)](_0x4f293f=>{const _0x267174=_0x4832e4;_0x4f293f['id']===_0x32b0bb[_0x267174(0x202)][_0x267174(0x481)]&&this[_0x267174(0x3fb)][_0x267174(0x34a)]({'type':_0x51c687[_0x267174(0x1f5)][_0x267174(0x3d0)],'content':this[_0x267174(0x2ee)]['t'](_0x267174(0x3c0))}),_0x4f293f['id']===_0x32b0bb[_0x267174(0x202)][_0x267174(0x1c3)]&&this['_messageService'][_0x267174(0x34a)]({'type':_0x51c687[_0x267174(0x1f5)][_0x267174(0x3d0)],'content':this[_0x267174(0x2ee)]['t'](_0x267174(0x1b0))}),_0x4f293f['id']===_0x32b0bb[_0x267174(0x202)][_0x267174(0x245)]&&this[_0x267174(0x473)][_0x267174(0x34a)]({'title':this[_0x267174(0x2ee)]['t']('permission.title'),'content':this[_0x267174(0x2ee)]['t']('permission.content'),'type':'error','duration':0x0}),_0x4f293f['id']===_0x32b0bb[_0x267174(0x202)][_0x267174(0x210)]&&this[_0x267174(0x3fb)][_0x267174(0x34a)]({'type':_0x51c687[_0x267174(0x1f5)][_0x267174(0x23d)],'content':this[_0x267174(0x2ee)]['t'](_0x267174(0x1b0))+'('+_0x4f293f[_0x267174(0x383)]+')'}),_0x4f293f['id']===_0x32b0bb[_0x267174(0x202)][_0x267174(0x332)]&&this[_0x267174(0x3fb)][_0x267174(0x34a)]({'type':_0x51c687['MessageType'][_0x267174(0x3d0)],'content':this[_0x267174(0x2ee)]['t'](_0x4f293f[_0x267174(0x383)]||'')}),_0x4f293f['id']===_0x32b0bb[_0x267174(0x202)][_0x267174(0x29a)]&&this[_0x267174(0x3fb)]['show']({'type':_0x51c687[_0x267174(0x1f5)][_0x267174(0x3d0)],'content':this[_0x267174(0x2ee)]['t'](_0x267174(0x43e))}),_0x4f293f['id']===_0x32b0bb[_0x267174(0x202)][_0x267174(0x1ba)]&&this['_messageService']['show']({'type':_0x51c687[_0x267174(0x1f5)][_0x267174(0x23d)],'content':this[_0x267174(0x2ee)]['t'](_0x267174(0x2a5))}),_0x4f293f['id']===_0x32b0bb[_0x267174(0x202)][_0x267174(0x219)]&&this['_messageService'][_0x267174(0x34a)]({'type':_0x51c687['MessageType']['Error'],'content':this[_0x267174(0x2ee)]['t'](_0x267174(0x33e))});}));}};_0x3b1a8d=_0x3a5896([_0x377150(0x0,_0x4a72f8[_0x16ba6(0x1fc)]),_0x377150(0x1,_0x32b0bb[_0x16ba6(0x234)]),_0x377150(0x2,_0x52f83d[_0x16ba6(0x19b)](_0x32b0bb[_0x16ba6(0x43d)])),_0x377150(0x3,_0x4a72f8[_0x16ba6(0x35d)]),_0x377150(0x4,_0x4a72f8['INotificationService']),_0x377150(0x5,_0x52f83d[_0x16ba6(0x19b)](_0x52f83d[_0x16ba6(0x462)]))],_0x3b1a8d);var _0x17e8e5=Object['getOwnPropertyDescriptor'],_0x179431=(_0x26896d,_0x180025,_0x192b3d,_0xa98417)=>{for(var _0x21e208=_0xa98417>0x1?void 0x0:_0xa98417?_0x17e8e5(_0x180025,_0x192b3d):_0x180025,_0x29dc80=_0x26896d['length']-0x1,_0x6534d0;_0x29dc80>=0x0;_0x29dc80--)(_0x6534d0=_0x26896d[_0x29dc80])&&(_0x21e208=_0x6534d0(_0x21e208)||_0x21e208);return _0x21e208;},_0x1ffbd8=(_0x98ca15,_0xc6060)=>(_0xfc9a2b,_0x25115f)=>_0xc6060(_0xfc9a2b,_0x25115f,_0x98ca15);let _0x5f128d=class extends _0x52f83d[_0x16ba6(0x440)]{constructor(_0x3e62dd,_0x39e30f,_0x3dce60,_0x4a5517){const _0x1efd2b=_0x16ba6;super(),_0x4c920e(this,_0x1efd2b(0x32e)),(this[_0x1efd2b(0x2bd)]=_0x3e62dd,this['_httpService']=_0x39e30f,this[_0x1efd2b(0x372)]=_0x3dce60,this[_0x1efd2b(0x449)]=_0x4a5517,this[_0x1efd2b(0x29b)]());}[_0x16ba6(0x29b)](){const _0x1eb549=_0x16ba6;this[_0x1eb549(0x394)](),this[_0x1eb549(0x3b1)](),this[_0x1eb549(0x34d)](),this[_0x1eb549(0x390)]();}[_0x16ba6(0x390)](){const _0x4cc47e=_0x16ba6;this[_0x4cc47e(0x1e2)](this[_0x4cc47e(0x449)][_0x4cc47e(0x201)]['subscribe'](_0x591a0f=>{const _0x354670=_0x4cc47e;this[_0x354670(0x32e)]=_0x591a0f==null?void 0x0:_0x591a0f['memberID'];}));}[_0x16ba6(0x394)](){const _0x32ca8c=_0x16ba6,_0x15a319=_0x566514=>{const _0x2da868=_0x4b5c;var _0x46e697;this[_0x2da868(0x2ea)](_0x2da868(0x35b),'[Window\x20Error]:\x20'+_0x566514[_0x2da868(0x47e)]+_0x2da868(0x32a)+_0x566514[_0x2da868(0x272)]+':'+_0x566514[_0x2da868(0x44d)]+':'+_0x566514[_0x2da868(0x2a3)]+'\x0a'+(((_0x46e697=_0x566514[_0x2da868(0x35b)])==null?void 0x0:_0x46e697[_0x2da868(0x1ca)])||''));};window[_0x32ca8c(0x2ae)](_0x32ca8c(0x35b),_0x15a319),this[_0x32ca8c(0x1e2)](()=>{const _0x1a5574=_0x32ca8c;window[_0x1a5574(0x227)]('error',_0x15a319);});}[_0x16ba6(0x3b1)](){const _0x20dd6c=_0x16ba6,_0x3d30b8=_0x40c104=>{const _0x304ece=_0x4b5c;this[_0x304ece(0x2ea)](_0x304ece(0x35b),'[Unhandled\x20Rejection]:\x20'+_0x40c104[_0x304ece(0x3d7)]);};window[_0x20dd6c(0x2ae)]('unhandledrejection',_0x3d30b8),this[_0x20dd6c(0x1e2)](()=>{const _0xd25a50=_0x20dd6c;window[_0xd25a50(0x227)](_0xd25a50(0x389),_0x3d30b8);});}[_0x16ba6(0x34d)](){const _0x525c52=_0x16ba6,_0x43e0a0=this[_0x525c52(0x372)][_0x525c52(0x35b)][_0x525c52(0x2a8)](this[_0x525c52(0x372)]);this['_logService'][_0x525c52(0x35b)]=(..._0x27a2f0)=>{const _0x3e0029=_0x525c52,_0x43741c=_0x27a2f0['map'](_0x31d8f0=>_0x31d8f0 instanceof Error?_0x31d8f0['message']+'\x0a'+_0x31d8f0['stack']:String(_0x31d8f0))[_0x3e0029(0x1c0)]('\x20');this[_0x3e0029(0x2ea)]('error',_0x3e0029(0x1d9)+_0x43741c),_0x43e0a0(..._0x27a2f0);},this['disposeWithMe'](()=>{const _0x8dd452=_0x525c52;this[_0x8dd452(0x372)][_0x8dd452(0x35b)]=_0x43e0a0;});}[_0x16ba6(0x2ea)](_0x4735cb,_0x48adb4){const _0x5c23b9=_0x16ba6;try{const _0x44bfea={'userId':this['_memberID'],'logLabel':_0x4735cb,'content':_0x48adb4};this[_0x5c23b9(0x420)][_0x5c23b9(0x23b)]('/universer-api/frontend/logs',{'body':_0x44bfea})[_0x5c23b9(0x310)](()=>{});}catch{}}};_0x5f128d=_0x179431([_0x1ffbd8(0x0,_0x52f83d[_0x16ba6(0x19b)](_0x52f83d['Injector'])),_0x1ffbd8(0x1,_0x52f83d[_0x16ba6(0x19b)](_0x291485[_0x16ba6(0x28c)])),_0x1ffbd8(0x2,_0x52f83d['ILogService']),_0x1ffbd8(0x3,_0x52f83d[_0x16ba6(0x19b)](_0x32b0bb[_0x16ba6(0x46e)]))],_0x5f128d);const _0x5e659a=_0x16ba6(0x329),_0x320495={};var _0x1c76bc=Object[_0x16ba6(0x1fd)],_0x54580a=(_0x5e2635,_0x964283,_0x493b51,_0x1ff250)=>{for(var _0x32e833=_0x1ff250>0x1?void 0x0:_0x1ff250?_0x1c76bc(_0x964283,_0x493b51):_0x964283,_0x1d49a7=_0x5e2635['length']-0x1,_0xc4759c;_0x1d49a7>=0x0;_0x1d49a7--)(_0xc4759c=_0x5e2635[_0x1d49a7])&&(_0x32e833=_0xc4759c(_0x32e833)||_0x32e833);return _0x32e833;},_0x1a5405=(_0xe1272a,_0xffe11e)=>(_0x28efa8,_0x42128f)=>_0xffe11e(_0x28efa8,_0x42128f,_0xe1272a);let _0x1e935e=class{constructor(_0x2debe2,_0x209910){const _0x593cf7=_0x16ba6;this[_0x593cf7(0x321)]=_0x2debe2,this[_0x593cf7(0x3ca)]=_0x209910;}['transformIMECache'](_0x3fde2a){const _0x5c86b4=_0x16ba6;this[_0x5c86b4(0x2d9)](_0x3fde2a),this[_0x5c86b4(0x2fa)](_0x3fde2a);}[_0x16ba6(0x358)](_0x30aed8){const _0x12bbde=_0x16ba6,{unitID:_0xa7f482}=_0x30aed8,_0x485548=this[_0x12bbde(0x3ca)][_0x12bbde(0x360)](_0xa7f482)[_0x12bbde(0x396)](_0x33e2f[_0x12bbde(0x337)]),{redoCache:_0x5dc60a}=_0x485548[_0x12bbde(0x2df)]();if(_0x5dc60a[_0x12bbde(0x214)]===0x0)return _0x30aed8;let _0x1f5cab=_0x52f83d['Tools']['deepClone'](_0x30aed8[_0x12bbde(0x3a5)][0x0]);for(let _0x890b78=0x0;_0x890b78<_0x5dc60a[_0x12bbde(0x214)];_0x890b78++){const _0x20baf4={'id':_0x12bbde(0x424),'params':{..._0x5dc60a[_0x890b78]}},_0x50e32b=this[_0x12bbde(0x321)][_0x12bbde(0x28d)](_0x1f5cab,_0x20baf4,!0x1);if(_0x39c01d[_0x12bbde(0x37a)](_0x50e32b))throw _0x50e32b[_0x12bbde(0x35b)];_0x1f5cab=_0x50e32b[_0x12bbde(0x2c1)];}return{..._0x52f83d['Tools'][_0x12bbde(0x41f)](_0x30aed8),'mutations':[_0x1f5cab]};}[_0x16ba6(0x2d9)](_0x29b08f){const _0x2de228=_0x16ba6,{unitID:_0x3d554f}=_0x29b08f,_0x878eb3=this[_0x2de228(0x3ca)][_0x2de228(0x360)](_0x3d554f)[_0x2de228(0x396)](_0x33e2f['DocIMEInputManagerService']),{undoCache:_0x10bb88,redoCache:_0x10bb03}=_0x878eb3[_0x2de228(0x2df)]();if(_0x10bb88[_0x2de228(0x214)]===0x0||_0x10bb03[_0x2de228(0x214)]===0x0)return;const _0x316255=[],_0x470696=[];let _0x2bc1dd=_0x52f83d[_0x2de228(0x2b5)]['deepClone'](_0x29b08f[_0x2de228(0x3a5)][0x0]),_0xb8620e=_0x52f83d[_0x2de228(0x2b5)][_0x2de228(0x41f)](_0x29b08f[_0x2de228(0x3a5)][0x0]);for(let _0x41eafe=_0x10bb88[_0x2de228(0x214)]-0x1;_0x41eafe>=0x0;_0x41eafe--){const _0x1f53da={'id':_0x2de228(0x424),'params':{..._0x10bb88[_0x41eafe]}},_0x8e16f2={'id':_0x2de228(0x424),'params':{..._0x10bb03[_0x41eafe]}},_0x3b2c44=this[_0x2de228(0x321)]['transformMutation'](_0x2bc1dd,_0x1f53da,!0x1),_0x39b3ba=this[_0x2de228(0x321)]['transformMutation'](_0xb8620e,_0x8e16f2,!0x1);if(_0x39c01d[_0x2de228(0x37a)](_0x3b2c44))throw _0x3b2c44[_0x2de228(0x35b)];if(_0x39c01d[_0x2de228(0x37a)](_0x39b3ba))throw _0x39b3ba[_0x2de228(0x35b)];_0x316255[_0x2de228(0x43f)](_0x3b2c44[_0x2de228(0x3ab)][_0x2de228(0x3f5)]),_0x470696[_0x2de228(0x43f)](_0x39b3ba[_0x2de228(0x3ab)][_0x2de228(0x3f5)]),_0x2bc1dd=_0x3b2c44[_0x2de228(0x2c1)],_0xb8620e=_0x39b3ba['m1Prime'];}_0x878eb3[_0x2de228(0x20c)]({'undoCache':_0x316255,'redoCache':_0x470696});}[_0x16ba6(0x2fa)](_0x420f3f){const _0xad31cd=_0x16ba6,{unitID:_0x3f6b6f}=_0x420f3f,_0x55e812=this[_0xad31cd(0x3ca)]['getRenderById'](_0x3f6b6f)[_0xad31cd(0x396)](_0x33e2f[_0xad31cd(0x337)]),_0x59ad87=_0x55e812['getActiveRange']();if(_0x59ad87==null)return;const _0x3e128f=[{'id':_0xad31cd(0x424),'params':{'unitId':_0x420f3f[_0xad31cd(0x40f)],'actions':null,'textRanges':[_0x59ad87]}}],_0x45a3a4=this['_transformService'][_0xad31cd(0x1ed)](_0x420f3f,_0x3e128f);if(!_0x39c01d['isTransformMutationsWithChangesetSuccess'](_0x45a3a4))throw _0x45a3a4[_0xad31cd(0x35b)];const _0x461ee8=_0x45a3a4[_0xad31cd(0x3ab)][0x0][_0xad31cd(0x3f5)][_0xad31cd(0x206)];Array['isArray'](_0x461ee8)&&_0x461ee8[_0xad31cd(0x214)]&&_0x55e812[_0xad31cd(0x373)](_0x461ee8[0x0]);}};_0x1e935e=_0x54580a([_0x1a5405(0x0,_0x39c01d[_0x16ba6(0x428)]),_0x1a5405(0x1,_0x1a348d['IRenderManagerService'])],_0x1e935e);var _0x4f8f1d=Object[_0x16ba6(0x1fd)],_0x579ba0=(_0x2450bb,_0x1c8f00,_0x280fcc,_0x2991e5)=>{for(var _0x4b5b8b=_0x2991e5>0x1?void 0x0:_0x2991e5?_0x4f8f1d(_0x1c8f00,_0x280fcc):_0x1c8f00,_0x2060da=_0x2450bb['length']-0x1,_0x3d9802;_0x2060da>=0x0;_0x2060da--)(_0x3d9802=_0x2450bb[_0x2060da])&&(_0x4b5b8b=_0x3d9802(_0x4b5b8b)||_0x4b5b8b);return _0x4b5b8b;},_0x3843fb=(_0x5e2466,_0x105fdd)=>(_0x1f5415,_0x2cb841)=>_0x105fdd(_0x1f5415,_0x2cb841,_0x5e2466);let _0x11a118=class{constructor(_0x129841,_0x4934c7,_0x3cb84c){const _0x4ad041=_0x16ba6;this[_0x4ad041(0x2bd)]=_0x129841,this[_0x4ad041(0x321)]=_0x4934c7,this[_0x4ad041(0x38a)]=_0x3cb84c;}[_0x16ba6(0x30c)](_0x27540d){const _0x413be5=_0x16ba6;this[_0x413be5(0x45c)](_0x27540d);}['transformRemoteChangeset'](_0x30e291){const _0x8623e4=_0x16ba6,{unitID:_0x2096ed}=_0x30e291,{collaboration:_0x577c00}=this[_0x8623e4(0x38a)][_0x8623e4(0x1a1)](_0x2096ed);if(_0x577c00[_0x8623e4(0x214)]===0x0)return _0x30e291;let _0x195d04=_0x52f83d[_0x8623e4(0x2b5)][_0x8623e4(0x41f)](_0x30e291['mutations'][0x0]);for(let _0xf4c964=0x0;_0xf4c964<_0x577c00[_0x8623e4(0x214)];_0xf4c964++){const _0x4c87f1={'id':_0x8623e4(0x424),'params':{'unitId':_0x577c00[_0xf4c964]['unitId'],..._0x577c00[_0xf4c964][_0x8623e4(0x1e6)]}},_0xc0b2f8=this[_0x8623e4(0x321)]['transformMutation'](_0x195d04,_0x4c87f1,!0x1);if(_0x39c01d[_0x8623e4(0x37a)](_0xc0b2f8))throw _0xc0b2f8[_0x8623e4(0x35b)];_0x195d04=_0xc0b2f8[_0x8623e4(0x2c1)];}return{..._0x52f83d[_0x8623e4(0x2b5)][_0x8623e4(0x41f)](_0x30e291),'mutations':[_0x195d04]};}[_0x16ba6(0x45c)](_0x3ea8c2){const _0x45291c=_0x16ba6,{unitID:_0x4a3bb0}=_0x3ea8c2,{history:_0x1c1fa3,collaboration:_0x386dca}=this['_docStateChangeManagerService'][_0x45291c(0x1a1)](_0x4a3bb0);if(_0x1c1fa3[_0x45291c(0x214)]===0x0&&_0x386dca[_0x45291c(0x214)]===0x0)return;const _0x191ce2=[],_0x3fb57d=[];let _0x4513fe=_0x52f83d['Tools'][_0x45291c(0x41f)](_0x3ea8c2[_0x45291c(0x3a5)][0x0]),_0x521afd=_0x52f83d[_0x45291c(0x2b5)][_0x45291c(0x41f)](_0x3ea8c2[_0x45291c(0x3a5)][0x0]);for(let _0x21de64=_0x1c1fa3[_0x45291c(0x214)]-0x1;_0x21de64>=0x0;_0x21de64--){const _0xe56f7b={'id':_0x45291c(0x424),'params':{'unitId':_0x1c1fa3[_0x21de64][_0x45291c(0x3e5)],..._0x1c1fa3[_0x21de64]['undoState']}},_0x31526a={'id':_0x45291c(0x424),'params':{'unitId':_0x1c1fa3[_0x21de64]['unitId'],..._0x1c1fa3[_0x21de64]['redoState']}},_0x206db6=this[_0x45291c(0x321)][_0x45291c(0x28d)](_0x4513fe,_0xe56f7b,!0x1),_0x4cded7=this[_0x45291c(0x321)][_0x45291c(0x28d)](_0x521afd,_0x31526a,!0x1);if(_0x39c01d['isTransformMutationFailure'](_0x206db6))throw _0x206db6['error'];if(_0x39c01d['isTransformMutationFailure'](_0x4cded7))throw _0x4cded7['error'];_0x191ce2[_0x45291c(0x43f)]({..._0x1c1fa3[_0x21de64],'undoState':_0x206db6['m2Prime'][_0x45291c(0x3f5)],'redoState':_0x4cded7[_0x45291c(0x3ab)][_0x45291c(0x3f5)]}),_0x4513fe=_0x206db6[_0x45291c(0x2c1)],_0x521afd=_0x4cded7['m1Prime'];}_0x4513fe=_0x52f83d[_0x45291c(0x2b5)]['deepClone'](_0x3ea8c2[_0x45291c(0x3a5)][0x0]),_0x521afd=_0x52f83d[_0x45291c(0x2b5)][_0x45291c(0x41f)](_0x3ea8c2['mutations'][0x0]);for(let _0x2c8b37=_0x386dca[_0x45291c(0x214)]-0x1;_0x2c8b37>=0x0;_0x2c8b37--){const _0x3083ed={'id':_0x45291c(0x424),'params':{'unitId':_0x386dca[_0x2c8b37][_0x45291c(0x3e5)],..._0x386dca[_0x2c8b37]['undoState']}},_0x5f2748={'id':_0x45291c(0x424),'params':{'unitId':_0x386dca[_0x2c8b37][_0x45291c(0x3e5)],..._0x386dca[_0x2c8b37][_0x45291c(0x1e6)]}},_0x4b3865=this[_0x45291c(0x321)]['transformMutation'](_0x4513fe,_0x3083ed,!0x1),_0x2e48aa=this[_0x45291c(0x321)][_0x45291c(0x28d)](_0x521afd,_0x5f2748,!0x1);if(_0x39c01d['isTransformMutationFailure'](_0x4b3865))throw _0x4b3865[_0x45291c(0x35b)];if(_0x39c01d[_0x45291c(0x37a)](_0x2e48aa))throw _0x2e48aa[_0x45291c(0x35b)];_0x3fb57d[_0x45291c(0x43f)]({..._0x386dca[_0x2c8b37],'undoState':_0x4b3865[_0x45291c(0x3ab)][_0x45291c(0x3f5)],'redoState':_0x2e48aa[_0x45291c(0x3ab)][_0x45291c(0x3f5)]}),_0x4513fe=_0x4b3865['m1Prime'],_0x521afd=_0x2e48aa[_0x45291c(0x2c1)];}this[_0x45291c(0x38a)][_0x45291c(0x46c)](_0x4a3bb0,{'history':_0x191ce2,'collaboration':_0x3fb57d});}};_0x11a118=_0x579ba0([_0x3843fb(0x0,_0x52f83d[_0x16ba6(0x19b)](_0x52f83d['Injector'])),_0x3843fb(0x1,_0x39c01d[_0x16ba6(0x428)]),_0x3843fb(0x2,_0x52f83d[_0x16ba6(0x19b)](_0x33e2f[_0x16ba6(0x2a1)]))],_0x11a118);var _0x6a1a2c=Object[_0x16ba6(0x1fd)],_0x1da8f4=(_0x175e2a,_0x3d11ef,_0x29011d,_0x33832e)=>{const _0x4207da=_0x16ba6;for(var _0x52eb14=_0x33832e>0x1?void 0x0:_0x33832e?_0x6a1a2c(_0x3d11ef,_0x29011d):_0x3d11ef,_0xe909d7=_0x175e2a[_0x4207da(0x214)]-0x1,_0x491d34;_0xe909d7>=0x0;_0xe909d7--)(_0x491d34=_0x175e2a[_0xe909d7])&&(_0x52eb14=_0x491d34(_0x52eb14)||_0x52eb14);return _0x52eb14;},_0x217ee5=(_0x3654ca,_0x112751)=>(_0x3e218e,_0x13d159)=>_0x112751(_0x3e218e,_0x13d159,_0x3654ca);let _0x2595eb=class{constructor(_0x5906c4,_0x5d7623){const _0x9b845e=_0x16ba6;this[_0x9b845e(0x2bd)]=_0x5906c4,this[_0x9b845e(0x321)]=_0x5d7623;}[_0x16ba6(0x422)](_0x1d9006){const _0x464f08=_0x16ba6;var _0x3984b0;const _0x17be0e=this[_0x464f08(0x2bd)]['get'](_0x37aee0[_0x464f08(0x351)]),_0x565299=(_0x3984b0=_0x17be0e[_0x464f08(0x37b)]())!=null?_0x3984b0:[];if(_0x565299[_0x464f08(0x214)]===0x0)return;const _0x5c58c2=_0x1d9006[_0x464f08(0x40f)],_0x4f7439=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5c58c2,'actions':null,'textRanges':_0x565299}}],_0x1e054a=this[_0x464f08(0x321)][_0x464f08(0x1ed)](_0x1d9006,_0x4f7439);if(!_0x39c01d[_0x464f08(0x2fb)](_0x1e054a))throw _0x1e054a[_0x464f08(0x35b)];const _0x326a66=_0x1e054a[_0x464f08(0x3ab)][0x0][_0x464f08(0x3f5)]['textRanges'];Array[_0x464f08(0x445)](_0x326a66)&&_0x326a66[_0x464f08(0x214)]&&_0x17be0e[_0x464f08(0x408)](_0x326a66,{'unitId':_0x5c58c2,'subUnitId':_0x5c58c2},!0x1);}};_0x2595eb=_0x1da8f4([_0x217ee5(0x0,_0x52f83d['Inject'](_0x52f83d['Injector'])),_0x217ee5(0x1,_0x39c01d[_0x16ba6(0x428)])],_0x2595eb);var _0x4554f8=Object[_0x16ba6(0x1fd)],_0x459101=(_0xb066ba,_0x4fdd1d,_0x4b0b36,_0x45c742)=>{const _0x129bbd=_0x16ba6;for(var _0x5b778b=_0x45c742>0x1?void 0x0:_0x45c742?_0x4554f8(_0x4fdd1d,_0x4b0b36):_0x4fdd1d,_0x1fea57=_0xb066ba[_0x129bbd(0x214)]-0x1,_0x5a2d3d;_0x1fea57>=0x0;_0x1fea57--)(_0x5a2d3d=_0xb066ba[_0x1fea57])&&(_0x5b778b=_0x5a2d3d(_0x5b778b)||_0x5b778b);return _0x5b778b;},_0x3eeb61=(_0x5db23f,_0x284633)=>(_0x34f13f,_0x3981a0)=>_0x284633(_0x34f13f,_0x3981a0,_0x5db23f);let _0x5e2b52=class extends _0x52f83d['Disposable']{constructor(_0x3b9822,_0x1702b7,_0x4fe90f,_0x13768f,_0x3b6704,_0x1b403c,_0x260bfa,_0x2dc07e){const _0x5bc5f5=_0x16ba6;super(),_0x4c920e(this,_0x5bc5f5(0x1d7),new _0x50665a[(_0x5bc5f5(0x270))](_0x32b0bb[_0x5bc5f5(0x311)][_0x5bc5f5(0x47f)])),(this['_docStateChangeManagerService']=_0x3b9822,this[_0x5bc5f5(0x3fd)]=_0x1702b7,this[_0x5bc5f5(0x250)]=_0x4fe90f,this[_0x5bc5f5(0x33a)]=_0x13768f,this[_0x5bc5f5(0x450)]=_0x3b6704,this['_docSyncEditingCollabCursorService']=_0x1b403c,this['_messageService']=_0x260bfa,this[_0x5bc5f5(0x2ee)]=_0x2dc07e,this['_initEntityListener']());}['_initEntityListener'](){const _0x22e1da=_0x16ba6;this[_0x22e1da(0x1e2)](this[_0x22e1da(0x3fd)][_0x22e1da(0x480)][_0x22e1da(0x1cb)](_0x424061=>{const _0x14a10a=_0x22e1da,_0x2c2b1c=this[_0x14a10a(0x38a)][_0x14a10a(0x298)]['subscribe'](_0x241d0c=>{const _0x93b5e5=_0x14a10a;if(_0x241d0c==null)return;const {unitId:_0x4cf7e2,redoState:_0x2c5776,commandId:_0x232255}=_0x241d0c;if(_0x4cf7e2!==_0x424061['unitID'])return;const _0x17a02c={'id':_0x232255,'type':_0x52f83d['CommandType']['MUTATION'],'params':{'unitId':_0x4cf7e2,'actions':_0x2c5776[_0x93b5e5(0x20f)],'textRanges':null}};_0x424061['onLocalMutation'](_0x17a02c);});if(_0x424061[_0x14a10a(0x1e2)](_0x2c2b1c),_0x424061 instanceof _0x32b0bb['DocCollaborationEntity']){const _0x17d6d3={'onTransformIME':_0x31a3c7=>this[_0x14a10a(0x250)][_0x14a10a(0x32f)](_0x31a3c7),'onTransformState':_0x4c64fa=>this[_0x14a10a(0x33a)]['transformStateCache'](_0x4c64fa),'onTransformSelections':_0x3e8b61=>this[_0x14a10a(0x450)][_0x14a10a(0x422)](_0x3e8b61),'onSyncEditingCollabCursor':_0x330b2b=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x330b2b),'onTransformRemoteChangesetByIMECache':_0x3c1d59=>this[_0x14a10a(0x250)][_0x14a10a(0x358)](_0x3c1d59),'onTransformRemoteChangesetByStateCache':_0x192c8c=>this[_0x14a10a(0x33a)][_0x14a10a(0x358)](_0x192c8c)};_0x424061[_0x14a10a(0x2b9)](_0x17d6d3);}}));}};_0x5e2b52=_0x459101([_0x3eeb61(0x0,_0x52f83d[_0x16ba6(0x19b)](_0x33e2f['DocStateChangeManagerService'])),_0x3eeb61(0x1,_0x52f83d['Inject'](_0x32b0bb['CollaborationController'])),_0x3eeb61(0x2,_0x52f83d[_0x16ba6(0x19b)](_0x1e935e)),_0x3eeb61(0x3,_0x52f83d[_0x16ba6(0x19b)](_0x11a118)),_0x3eeb61(0x4,_0x52f83d[_0x16ba6(0x19b)](_0x2595eb)),_0x3eeb61(0x5,_0x52f83d['Inject'](_0x597eb8)),_0x3eeb61(0x6,_0x4a72f8['IMessageService']),_0x3eeb61(0x7,_0x52f83d[_0x16ba6(0x19b)](_0x52f83d[_0x16ba6(0x462)]))],_0x5e2b52);var _0x5e3a5d=(_0x4d77a9=>(_0x4d77a9[_0x4d77a9[_0x16ba6(0x3b0)]=0x0]='UNDEFINED',_0x4d77a9[_0x4d77a9['OK']=0x1]='OK',_0x4d77a9[_0x4d77a9[_0x16ba6(0x221)]=0x2]=_0x16ba6(0x221),_0x4d77a9[_0x4d77a9[_0x16ba6(0x245)]=0x3]=_0x16ba6(0x245),_0x4d77a9[_0x4d77a9['NOT_FOUND']=0x4]=_0x16ba6(0x1b1),_0x4d77a9[_0x4d77a9[_0x16ba6(0x41a)]=0x5]=_0x16ba6(0x41a),_0x4d77a9[_0x4d77a9[_0x16ba6(0x3ad)]=0x6]=_0x16ba6(0x3ad),_0x4d77a9[_0x4d77a9[_0x16ba6(0x393)]=0x7]=_0x16ba6(0x393),_0x4d77a9[_0x4d77a9['TOO_MANY_REQUESTS']=0x8]=_0x16ba6(0x3d1),_0x4d77a9[_0x4d77a9[_0x16ba6(0x217)]=0x9]=_0x16ba6(0x217),_0x4d77a9[_0x4d77a9['LOGIN_FAILED']=0xa]=_0x16ba6(0x231),_0x4d77a9[_0x4d77a9['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x4d77a9[_0x4d77a9['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4d77a9[_0x4d77a9['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x16ba6(0x42d),_0x4d77a9[_0x4d77a9[_0x16ba6(0x2d1)]=0xe]=_0x16ba6(0x2d1),_0x4d77a9[_0x4d77a9[_0x16ba6(0x467)]=0xf]=_0x16ba6(0x467),_0x4d77a9[_0x4d77a9[_0x16ba6(0x28e)]=0x10]=_0x16ba6(0x28e),_0x4d77a9[_0x4d77a9[_0x16ba6(0x43a)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x4d77a9[_0x4d77a9[_0x16ba6(0x1d4)]=0x65]='ERROR_AGAIN',_0x4d77a9[_0x4d77a9[_0x16ba6(0x1e4)]=0xc9]=_0x16ba6(0x1e4),_0x4d77a9[_0x4d77a9['USER_IS_ANONYMOUS']=0xca]=_0x16ba6(0x2f6),_0x4d77a9[_0x4d77a9[_0x16ba6(0x348)]=0x1389]=_0x16ba6(0x348),_0x4d77a9[_0x4d77a9['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x16ba6(0x2b3),_0x4d77a9[_0x4d77a9[_0x16ba6(0x25c)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4d77a9[_0x4d77a9[_0x16ba6(0x331)]=0x1773]=_0x16ba6(0x331),_0x4d77a9[_0x4d77a9[_0x16ba6(0x39b)]=0x1b59]=_0x16ba6(0x39b),_0x4d77a9[_0x4d77a9[_0x16ba6(0x2ff)]=0x1b5a]=_0x16ba6(0x2ff),_0x4d77a9[_0x4d77a9[_0x16ba6(0x1ff)]=0x1b5b]=_0x16ba6(0x1ff),_0x4d77a9[_0x4d77a9[_0x16ba6(0x3ce)]=0x1b5c]=_0x16ba6(0x3ce),_0x4d77a9[_0x4d77a9[_0x16ba6(0x44a)]=0x1b5d]=_0x16ba6(0x44a),_0x4d77a9[_0x4d77a9[_0x16ba6(0x1f9)]=0x1f41]=_0x16ba6(0x1f9),_0x4d77a9[_0x4d77a9[_0x16ba6(0x3d4)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4d77a9[_0x4d77a9[_0x16ba6(0x33f)]=0x232a]=_0x16ba6(0x33f),_0x4d77a9[_0x4d77a9[_0x16ba6(0x2fe)]=0x232b]=_0x16ba6(0x2fe),_0x4d77a9[_0x4d77a9['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x16ba6(0x299),_0x4d77a9[_0x4d77a9['LICENSE_DISTRO_REJECTED']=0x232d]=_0x16ba6(0x246),_0x4d77a9[_0x4d77a9[_0x16ba6(0x447)]=0x2711]=_0x16ba6(0x447),_0x4d77a9[_0x4d77a9[_0x16ba6(0x1d2)]=0x2712]=_0x16ba6(0x1d2),_0x4d77a9[_0x4d77a9['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x16ba6(0x436),_0x4d77a9[_0x4d77a9[_0x16ba6(0x223)]=0x2714]=_0x16ba6(0x223),_0x4d77a9[_0x4d77a9['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x4d77a9[_0x4d77a9[_0x16ba6(0x31d)]=0x271b]=_0x16ba6(0x31d),_0x4d77a9[_0x4d77a9[_0x16ba6(0x241)]=0x271c]=_0x16ba6(0x241),_0x4d77a9[_0x4d77a9['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x4d77a9[_0x4d77a9['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x16ba6(0x470),_0x4d77a9[_0x4d77a9[_0x16ba6(0x34c)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x4d77a9[_0x4d77a9[_0x16ba6(0x3d5)]=0x2720]=_0x16ba6(0x3d5),_0x4d77a9[_0x4d77a9[_0x16ba6(0x2d3)]=0x2af9]=_0x16ba6(0x2d3),_0x4d77a9[_0x4d77a9[_0x16ba6(0x3d9)]=0x2ee1]=_0x16ba6(0x3d9),_0x4d77a9[_0x4d77a9['INVALID_INVITE_CODE']=0x2ee2]=_0x16ba6(0x3f8),_0x4d77a9[_0x4d77a9[_0x16ba6(0x45b)]=0x2ee3]=_0x16ba6(0x45b),_0x4d77a9[_0x4d77a9[_0x16ba6(0x1e3)]=0x2ee4]=_0x16ba6(0x1e3),_0x4d77a9[_0x4d77a9['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x16ba6(0x371),_0x4d77a9[_0x4d77a9['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x16ba6(0x468),_0x4d77a9[_0x4d77a9['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x16ba6(0x313),_0x4d77a9[_0x4d77a9['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x16ba6(0x212),_0x4d77a9[_0x4d77a9[_0x16ba6(0x1b4)]=0x36b1]=_0x16ba6(0x1b4),_0x4d77a9[_0x4d77a9[_0x16ba6(0x43b)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x4d77a9[_0x4d77a9[_0x16ba6(0x2f9)]=0x36b3]=_0x16ba6(0x2f9),_0x4d77a9[_0x4d77a9[_0x16ba6(0x3e9)]=0x36b4]=_0x16ba6(0x3e9),_0x4d77a9[_0x4d77a9[_0x16ba6(0x427)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x4d77a9[_0x4d77a9[_0x16ba6(0x3c1)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x4d77a9[_0x4d77a9[_0x16ba6(0x2da)]=0x36b7]=_0x16ba6(0x2da),_0x4d77a9[_0x4d77a9['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x4d77a9[_0x4d77a9[_0x16ba6(0x3f3)]=0x3715]=_0x16ba6(0x3f3),_0x4d77a9[_0x4d77a9['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x16ba6(0x3a6),_0x4d77a9[_0x4d77a9['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x16ba6(0x1bf),_0x4d77a9[_0x4d77a9[_0x16ba6(0x300)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x4d77a9[_0x4d77a9['REDEMPTION_INVALID_CODE']=0x3a99]=_0x16ba6(0x21b),_0x4d77a9[_0x4d77a9[_0x16ba6(0x2f1)]=0x3a9a]=_0x16ba6(0x2f1),_0x4d77a9[_0x4d77a9[_0x16ba6(0x1d0)]=0x3a9b]=_0x16ba6(0x1d0),_0x4d77a9[_0x4d77a9[_0x16ba6(0x1a0)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x4d77a9[_0x4d77a9['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x16ba6(0x439),_0x4d77a9[_0x4d77a9['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x16ba6(0x309),_0x4d77a9[_0x4d77a9['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x4d77a9[_0x4d77a9[_0x16ba6(0x229)]=0x3e81]=_0x16ba6(0x229),_0x4d77a9[_0x4d77a9['UNRECOGNIZED']=-0x1]=_0x16ba6(0x274),_0x4d77a9))(_0x5e3a5d||{});function _0x44b3ef(_0x8d2fef){const _0x1141a3=_0x16ba6;var _0x9cbce6,_0x56cc73;const _0x42a086=(_0x9cbce6=_0x8d2fef[_0x1141a3(0x2b7)])==null?void 0x0:_0x9cbce6[_0x1141a3(0x3b2)],_0x3c5163=((_0x56cc73=_0x8d2fef[_0x1141a3(0x2b7)])==null?void 0x0:_0x56cc73[_0x1141a3(0x482)])||0x0;return _0x42a086===_0x6db7a0[_0x1141a3(0x1b8)][_0x1141a3(0x1db)]&&_0x3c5163>0x0;}function _0x13df60(_0x27ce48){const _0x587001=_0x16ba6;return _0x27ce48[_0x587001(0x1c2)]===_0x6db7a0['FormulaExecutedStateType'][_0x587001(0x24e)];}var _0x2d6076=Object[_0x16ba6(0x1fd)],_0x3fbc0e=(_0x113030,_0x57e645,_0x39dd3b,_0x4b1a6a)=>{const _0x2d9221=_0x16ba6;for(var _0x1cec18=_0x4b1a6a>0x1?void 0x0:_0x4b1a6a?_0x2d6076(_0x57e645,_0x39dd3b):_0x57e645,_0x4f1e89=_0x113030[_0x2d9221(0x214)]-0x1,_0x52720c;_0x4f1e89>=0x0;_0x4f1e89--)(_0x52720c=_0x113030[_0x4f1e89])&&(_0x1cec18=_0x52720c(_0x1cec18)||_0x1cec18);return _0x1cec18;},_0x479985=(_0x2fd19b,_0x38a76d)=>(_0x2a5f0e,_0x4babc7)=>_0x38a76d(_0x2a5f0e,_0x4babc7,_0x2fd19b);const _0x5990a7=_0x16ba6(0x37c),_0xbf4642='/universer-api/license/formula/limit/start',_0x477df2='/universer-api/license/formula/limit/done';let _0x5b19a5=class extends _0x52f83d[_0x16ba6(0x440)]{constructor(_0x38798f,_0x164c15,_0x5da102,_0x5435b7,_0x410254,_0x198aeb,_0xa64301){const _0x3a41b2=_0x16ba6;super(),_0x4c920e(this,_0x3a41b2(0x2bb),null),_0x4c920e(this,_0x3a41b2(0x20b),0x0),_0x4c920e(this,'_currentUsage',0x0),_0x4c920e(this,'_taskIds',[]),_0x4c920e(this,_0x3a41b2(0x338),0x0),(this[_0x3a41b2(0x3fb)]=_0x38798f,this[_0x3a41b2(0x2e6)]=_0x164c15,this[_0x3a41b2(0x3b7)]=_0x5da102,this[_0x3a41b2(0x420)]=_0x5435b7,this[_0x3a41b2(0x41e)]=_0x410254,this[_0x3a41b2(0x372)]=_0x198aeb,this[_0x3a41b2(0x2ee)]=_0xa64301,this[_0x3a41b2(0x40a)]());}[_0x16ba6(0x40a)](){const _0x358182=_0x16ba6;this['disposeWithMe'](this[_0x358182(0x2e6)][_0x358182(0x369)]((_0x23d5f0,_0x586940)=>{const _0x121b7e=_0x358182;var _0x1b6952;if(_0x23d5f0['id']!==_0x6db7a0[_0x121b7e(0x443)]['id'])return;const _0x2c53bb=_0x23d5f0[_0x121b7e(0x3f5)];if(!this[_0x121b7e(0x3a9)]((_0x1b6952=_0x2c53bb['dirtyRanges'])!=null?_0x1b6952:[]))return;if(!this[_0x121b7e(0x40e)]())throw this['_checkAndWaitForCalculationPermission'](_0x23d5f0,_0x586940),this[_0x121b7e(0x322)](),new _0x52f83d[(_0x121b7e(0x27b))]();})),this[_0x358182(0x1e2)](this[_0x358182(0x2e6)][_0x358182(0x2b8)]((_0x55d933,_0x43a55b)=>{const _0x3b6877=_0x358182;if(_0x55d933['id']!==_0x6db7a0[_0x3b6877(0x23c)]['id'])return;const _0x4bda21=_0x55d933[_0x3b6877(0x3f5)];if(_0x44b3ef(_0x4bda21)){const _0x335408=_0x52f83d[_0x3b6877(0x302)]();this[_0x3b6877(0x233)][_0x3b6877(0x1ea)](_0x335408),this[_0x3b6877(0x2e4)](_0x335408);}else{if(_0x13df60(_0x4bda21)&&this[_0x3b6877(0x233)][_0x3b6877(0x214)]>0x0){const _0x13a572=this['_taskIds'][_0x3b6877(0x23e)]();this['_releaseCalculationLimit'](_0x13a572);}}}));}['dispose'](){const _0x4ef5c7=_0x16ba6;super['dispose'](),this['_clearPolling'](),this[_0x4ef5c7(0x233)]=[],this[_0x4ef5c7(0x3b3)]=0x0,this[_0x4ef5c7(0x20b)]=0x0,this[_0x4ef5c7(0x338)]=0x0;}async[_0x16ba6(0x455)](_0x3ae4ad,_0x35a2aa){const _0x51f9a1=_0x16ba6;for(let _0x4b8467=0x0;_0x4b8467<0x1e;_0x4b8467++)try{if(await this[_0x51f9a1(0x24c)](),this[_0x51f9a1(0x40e)]()){this[_0x51f9a1(0x2c0)](_0x3ae4ad,_0x35a2aa),this[_0x51f9a1(0x3fb)][_0x51f9a1(0x34a)]({'content':this[_0x51f9a1(0x2ee)]['t'](_0x51f9a1(0x204)),'type':_0x51c687[_0x51f9a1(0x1f5)]['Success']});return;}await new Promise(_0x32af5a=>{const _0x535cf2=_0x51f9a1;this[_0x535cf2(0x2bb)]=window['setTimeout'](_0x32af5a,0x3e8);});}catch(_0x5d51e8){this[_0x51f9a1(0x372)][_0x51f9a1(0x35b)](_0x5d51e8);}this[_0x51f9a1(0x3fb)][_0x51f9a1(0x34a)]({'content':this[_0x51f9a1(0x2ee)]['t'](_0x51f9a1(0x416)),'type':_0x51c687[_0x51f9a1(0x1f5)][_0x51f9a1(0x23d)]});}[_0x16ba6(0x2c0)](_0x221884,_0x2dfb9e){const _0x754770=_0x16ba6;try{this[_0x754770(0x2e6)]['executeCommand'](_0x221884['id'],_0x221884['params'],_0x2dfb9e);}catch(_0x1ac260){this['_logService'][_0x754770(0x35b)](_0x1ac260);}}[_0x16ba6(0x218)](_0x59ef3,_0x419c4a){const _0x515e73=_0x16ba6;_0x419c4a<this['_lastResponseTimestamp']||(this[_0x515e73(0x338)]=_0x419c4a,this['_maxFormulaLimit']=Number[_0x515e73(0x2f7)](_0x59ef3[_0x515e73(0x280)]),this[_0x515e73(0x3b3)]=Number[_0x515e73(0x2f7)](_0x59ef3['currentUsage']));}async[_0x16ba6(0x2e4)](_0x34f650){const _0x56567c=_0x16ba6;var _0x5c6df5,_0x1edf20;const _0x28f655=Date[_0x56567c(0x2c9)]();try{const _0x3313db=((_0x5c6df5=this[_0x56567c(0x3b7)][_0x56567c(0x239)](_0x32b0bb['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x5c6df5['startFormulaLimitUrl'])||_0xbf4642,_0x130c7b=(await this[_0x56567c(0x420)][_0x56567c(0x23b)](_0x3313db,{'body':JSON[_0x56567c(0x1c6)]({'taskId':_0x34f650})}))['body'];if(((_0x1edf20=_0x130c7b[_0x56567c(0x35b)])==null?void 0x0:_0x1edf20[_0x56567c(0x261)])!==_0x5e3a5d['OK'])return;this[_0x56567c(0x218)](_0x130c7b['limitInfo'],_0x28f655);}catch(_0xea22d0){this[_0x56567c(0x372)]['error'](_0xea22d0);}}async[_0x16ba6(0x24c)](_0x268762){const _0x55a5a0=_0x16ba6;var _0x5251af,_0x2bfae4;const _0x498cfc=Date[_0x55a5a0(0x2c9)]();try{const _0x2a316d=((_0x5251af=this[_0x55a5a0(0x3b7)][_0x55a5a0(0x239)](_0x32b0bb[_0x55a5a0(0x1b5)]))==null?void 0x0:_0x5251af[_0x55a5a0(0x1a4)])||_0x5990a7,_0x417bc9=_0x268762?_0x2a316d+_0x55a5a0(0x1a8)+encodeURIComponent(_0x268762):_0x2a316d,_0x2a29cf=(await this[_0x55a5a0(0x420)][_0x55a5a0(0x452)](_0x417bc9))[_0x55a5a0(0x3ea)];if(((_0x2bfae4=_0x2a29cf[_0x55a5a0(0x35b)])==null?void 0x0:_0x2bfae4[_0x55a5a0(0x261)])!==_0x5e3a5d['OK'])return;this[_0x55a5a0(0x218)](_0x2a29cf['limitInfo'],_0x498cfc);}catch(_0x29ce4a){this[_0x55a5a0(0x372)][_0x55a5a0(0x35b)](_0x29ce4a);}}async[_0x16ba6(0x3ba)](_0x505546){const _0x385f8e=_0x16ba6;var _0x4fe824,_0x66e02f;const _0x1d7c21=Date[_0x385f8e(0x2c9)]();try{const _0x105e41=((_0x4fe824=this[_0x385f8e(0x3b7)][_0x385f8e(0x239)](_0x32b0bb['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x4fe824['releaseFormulaLimitUrl'])||_0x477df2,_0x393023=(await this['_httpService'][_0x385f8e(0x23b)](_0x105e41,{'body':JSON[_0x385f8e(0x1c6)]({'taskId':_0x505546})}))['body'];if(((_0x66e02f=_0x393023['error'])==null?void 0x0:_0x66e02f['code'])!==_0x5e3a5d['OK'])return;this[_0x385f8e(0x218)](_0x393023[_0x385f8e(0x399)],_0x1d7c21);}catch(_0x357074){this[_0x385f8e(0x372)][_0x385f8e(0x35b)](_0x357074);}}[_0x16ba6(0x40e)](){const _0x483f25=_0x16ba6;return this[_0x483f25(0x20b)]===0x0?!0x0:this[_0x483f25(0x20b)]-this[_0x483f25(0x3b3)]>0x0;}[_0x16ba6(0x354)](){const _0x1fdff6=_0x16ba6;this[_0x1fdff6(0x2bb)]&&(clearTimeout(this[_0x1fdff6(0x2bb)]),this[_0x1fdff6(0x2bb)]=null);}[_0x16ba6(0x322)](){const _0xecf647=_0x16ba6;this[_0xecf647(0x3fb)][_0xecf647(0x34a)]({'content':this[_0xecf647(0x2ee)]['t'](_0xecf647(0x1e1)),'type':_0x51c687['MessageType'][_0xecf647(0x2fd)]});}[_0x16ba6(0x3a9)](_0xd957b8){const _0x5ad42f=_0x16ba6;for(const _0x4a3c14 of _0xd957b8){const {unitId:_0x47c13c,sheetId:_0x438dd0,range:_0x4da0e4}=_0x4a3c14,_0x5da3e0=this['_univerInstanceService'][_0x5ad42f(0x463)](_0x47c13c);if(!_0x5da3e0)continue;const _0x208e25=_0x5da3e0[_0x5ad42f(0x426)](_0x438dd0);if(!_0x208e25)continue;const _0x4d29ff=_0x208e25[_0x5ad42f(0x2e1)]();for(let _0x2119bd=_0x4da0e4['startRow'];_0x2119bd<=_0x4da0e4[_0x5ad42f(0x45e)];_0x2119bd++)for(let _0x3b017a=_0x4da0e4['startColumn'];_0x3b017a<=_0x4da0e4[_0x5ad42f(0x1fb)];_0x3b017a++){const _0x91b3bf=_0x4d29ff['getValue'](_0x2119bd,_0x3b017a);if(_0x91b3bf&&(_0x52f83d[_0x5ad42f(0x1d8)](_0x91b3bf['f'])||_0x52f83d['isFormulaId'](_0x91b3bf['si'])))return!0x0;}}return!0x1;}};_0x5b19a5=_0x3fbc0e([_0x479985(0x0,_0x52f83d[_0x16ba6(0x19b)](_0x4a72f8['IMessageService'])),_0x479985(0x1,_0x52f83d[_0x16ba6(0x3d2)]),_0x479985(0x2,_0x52f83d[_0x16ba6(0x47a)]),_0x479985(0x3,_0x52f83d['Inject'](_0x291485[_0x16ba6(0x28c)])),_0x479985(0x4,_0x52f83d['IUniverInstanceService']),_0x479985(0x5,_0x52f83d[_0x16ba6(0x306)]),_0x479985(0x6,_0x52f83d[_0x16ba6(0x19b)](_0x52f83d[_0x16ba6(0x462)]))],_0x5b19a5);var _0x516dff=Object[_0x16ba6(0x1fd)],_0x2ba26e=(_0x370364,_0x525bc1,_0x58094e,_0x36e463)=>{const _0x222450=_0x16ba6;for(var _0x3ffcc3=_0x36e463>0x1?void 0x0:_0x36e463?_0x516dff(_0x525bc1,_0x58094e):_0x525bc1,_0x3aee26=_0x370364[_0x222450(0x214)]-0x1,_0x207b36;_0x3aee26>=0x0;_0x3aee26--)(_0x207b36=_0x370364[_0x3aee26])&&(_0x3ffcc3=_0x207b36(_0x3ffcc3)||_0x3ffcc3);return _0x3ffcc3;},_0x42ebe1=(_0xc9d3e,_0x175847)=>(_0x41bc4e,_0x54b864)=>_0x175847(_0x41bc4e,_0x54b864,_0xc9d3e);let _0x3d2a7f=class extends _0x52f83d[_0x16ba6(0x440)]{constructor(_0x1d8016,_0x272f78,_0x26cc46){const _0x52acee=_0x16ba6;super(),_0x4c920e(this,'_cachedData',new Map()),_0x4c920e(this,_0x52acee(0x402),new Map()),_0x4c920e(this,_0x52acee(0x33b),!0x1),(this['_configService']=_0x1d8016,this[_0x52acee(0x38f)]=_0x272f78,this[_0x52acee(0x244)]=_0x26cc46);}[_0x16ba6(0x2ca)](){const _0x248ad9=_0x16ba6;this[_0x248ad9(0x33b)]=!0x0;}[_0x16ba6(0x34e)](){this['_disabled']=!0x1;}get[_0x16ba6(0x3b8)](){const _0x5c9122=_0x16ba6;return this[_0x5c9122(0x402)];}[_0x16ba6(0x258)](){const _0x3b86ef=_0x16ba6;this[_0x3b86ef(0x335)]()[_0x3b86ef(0x2dd)](()=>super['dispose']());}async['loadOfflineData'](_0x23ee84){const _0x1d0f1e=_0x16ba6;return this[_0x1d0f1e(0x33b)]?null:this[_0x1d0f1e(0x38f)]['getItem'](_0x32b0bb['getLocalCacheKey'](_0x23ee84));}async[_0x16ba6(0x2c8)](_0x3d0860,_0x14952e){const _0x1c4c74=_0x16ba6;return!!this[_0x1c4c74(0x38f)][_0x1c4c74(0x2c7)](_0x3d0860,_0x14952e);}[_0x16ba6(0x191)](_0x1dc174,_0x5cf59e,_0x44b0ca,_0x3877e8){const _0x44558f=_0x16ba6,_0x2c65f4=this[_0x44558f(0x244)][_0x44558f(0x2ac)](_0x1dc174);this[_0x44558f(0x193)][_0x44558f(0x3d3)](_0x1dc174,{'unitID':_0x1dc174,'type':_0x5cf59e,'awaitingChangeset':_0x44b0ca,'mutations':_0x3877e8,'rev':_0x2c65f4}),this[_0x44558f(0x402)]['has'](_0x1dc174)||this[_0x44558f(0x3b5)](_0x1dc174);}[_0x16ba6(0x3b5)](_0x1a0edc){const _0x3ff015=_0x16ba6,_0x51e588=this[_0x3ff015(0x29e)]();_0x51e588===0x0?this[_0x3ff015(0x37e)](_0x1a0edc):this[_0x3ff015(0x402)][_0x3ff015(0x3d3)](_0x1a0edc,setTimeout(()=>this[_0x3ff015(0x37e)](_0x1a0edc),_0x51e588));}['_getSaveTimeout'](){const _0x3e89de=_0x16ba6;var _0x5163f4;return(_0x5163f4=this['_configService'][_0x3e89de(0x239)](_0x32b0bb[_0x3e89de(0x35f)]))!=null?_0x5163f4:_0x32b0bb[_0x3e89de(0x297)];}[_0x16ba6(0x37e)](_0xe1cd1c){const _0x24ec94=_0x16ba6,_0x5a2e8a=this[_0x24ec94(0x402)][_0x24ec94(0x452)](_0xe1cd1c);return _0x5a2e8a!==void 0x0&&window['clearTimeout'](_0x5a2e8a),this[_0x24ec94(0x38f)][_0x24ec94(0x2c7)](_0x32b0bb[_0x24ec94(0x405)](_0xe1cd1c),this[_0x24ec94(0x193)][_0x24ec94(0x452)](_0xe1cd1c))[_0x24ec94(0x2dd)](()=>this[_0x24ec94(0x402)][_0x24ec94(0x192)](_0xe1cd1c));}async[_0x16ba6(0x335)](){const _0x7b4ad8=_0x16ba6,_0x2bea31=[];this['_saveTaskMap'][_0x7b4ad8(0x34f)]((_0xe99a9a,_0x10194e)=>{const _0x127a58=_0x7b4ad8;window['clearTimeout'](_0xe99a9a),_0x2bea31[_0x127a58(0x1ea)](this[_0x127a58(0x37e)](_0x10194e)[_0x127a58(0x2dd)](()=>{const _0xfc37c1=_0x127a58;this[_0xfc37c1(0x402)][_0xfc37c1(0x192)](_0x10194e);}));}),await Promise['all'](_0x2bea31);}};_0x3d2a7f=_0x2ba26e([_0x42ebe1(0x0,_0x52f83d[_0x16ba6(0x47a)]),_0x42ebe1(0x1,_0x52f83d[_0x16ba6(0x395)]),_0x42ebe1(0x2,_0x52f83d[_0x16ba6(0x19b)](_0x39c01d['RevisionService']))],_0x3d2a7f);class _0x455b0f extends _0x52f83d[_0x16ba6(0x39e)]{constructor(){const _0x287873=_0x16ba6;super(),_0x4c920e(this,_0x287873(0x1f3)),this[_0x287873(0x1f3)]=_0x50665a['fromEvent'](window,_0x287873(0x336))[_0x287873(0x3e0)](_0x50665a['takeUntil'](this['dispose$']),_0x50665a[_0x287873(0x3e6)](0x1),_0x50665a[_0x287873(0x327)](void 0x0));}[_0x16ba6(0x2ef)](_0x58f84f,_0x292167,_0x3b593f=!0x1){const _0x26d2bc=_0x16ba6,_0x81f3fe=new URL(window[_0x26d2bc(0x36f)][_0x26d2bc(0x3db)]);_0x81f3fe[_0x26d2bc(0x19c)][_0x26d2bc(0x3d3)](_0x58f84f,_0x292167),_0x3b593f?window['history'][_0x26d2bc(0x1cd)]('','',_0x81f3fe[_0x26d2bc(0x238)]()):window['history'][_0x26d2bc(0x19d)]('','',_0x81f3fe[_0x26d2bc(0x238)]());}['removeParam'](_0x417567,_0x55e045=!0x1){const _0xaba852=_0x16ba6,_0x319c6e=new URL(window[_0xaba852(0x36f)][_0xaba852(0x3db)]);_0x319c6e[_0xaba852(0x19c)]['delete'](_0x417567),_0x55e045?window[_0xaba852(0x287)][_0xaba852(0x1cd)]('','',_0x319c6e[_0xaba852(0x238)]()):window[_0xaba852(0x287)][_0xaba852(0x19d)]('','',_0x319c6e[_0xaba852(0x238)]());}['getParam'](_0x14e672){const _0x14675e=_0x16ba6;var _0x2c48aa;return(_0x2c48aa=new URL(window[_0x14675e(0x36f)]['href'])[_0x14675e(0x19c)][_0x14675e(0x452)](_0x14e672))!=null?_0x2c48aa:void 0x0;}}var _0x4d3285=Object[_0x16ba6(0x472)],_0x1f106e=Object[_0x16ba6(0x1fd)],_0xef7dfe=(_0x538fcb,_0x44b4c1,_0x4c2786)=>_0x44b4c1 in _0x538fcb?_0x4d3285(_0x538fcb,_0x44b4c1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c2786}):_0x538fcb[_0x44b4c1]=_0x4c2786,_0x3ba213=(_0x3bcfbf,_0x4acae3,_0x30459a,_0x1dd3e6)=>{const _0x3cfed2=_0x16ba6;for(var _0x362104=_0x1dd3e6>0x1?void 0x0:_0x1dd3e6?_0x1f106e(_0x4acae3,_0x30459a):_0x4acae3,_0xe186f6=_0x3bcfbf[_0x3cfed2(0x214)]-0x1,_0x83616b;_0xe186f6>=0x0;_0xe186f6--)(_0x83616b=_0x3bcfbf[_0xe186f6])&&(_0x362104=_0x83616b(_0x362104)||_0x362104);return _0x362104;},_0x40318c=(_0x53df01,_0x5e73fc)=>(_0x5220e3,_0x5d9607)=>_0x5e73fc(_0x5220e3,_0x5d9607,_0x53df01),_0x4394a0=(_0x348484,_0xdf47c3,_0x56c5ca)=>_0xef7dfe(_0x348484,_0xdf47c3+'',_0x56c5ca);const _0x288134=_0x16ba6(0x1a2);_0x20fff8[_0x16ba6(0x220)]=class extends _0x52f83d[_0x16ba6(0x1ef)]{constructor(_0x4a8a2f=_0x320495,_0x2d1659,_0x1793d1,_0x979cd2){const _0x3fd05e=_0x16ba6;super(),this[_0x3fd05e(0x1fa)]=_0x4a8a2f,this[_0x3fd05e(0x3ca)]=_0x2d1659,this['_injector']=_0x1793d1,this[_0x3fd05e(0x3b7)]=_0x979cd2;const {..._0x1d540c}=_0x52f83d[_0x3fd05e(0x1d1)]({},_0x320495,this[_0x3fd05e(0x1fa)]);this[_0x3fd05e(0x3b7)][_0x3fd05e(0x37f)](_0x5e659a,_0x1d540c);}[_0x16ba6(0x26d)](){const _0x502ba0=_0x16ba6;this['_registerDependencies'](),this[_0x502ba0(0x1e5)]();}[_0x16ba6(0x479)](){const _0x1e2eec=_0x16ba6;this[_0x1e2eec(0x211)]();}[_0x16ba6(0x1be)](){const _0x54c1c2=_0x16ba6;var _0x3ad2f4;const _0x276eb2=[[_0x23c3c8],[_0x5b19a5],[_0x2595eb],[_0x1e935e],[_0x11a118],[_0x597eb8],[_0x44f89a,{'useClass':_0x455b0f}],[_0x291485[_0x54c1c2(0x23a)],{'useClass':_0x291485[_0x54c1c2(0x412)]}],[_0x32b0bb[_0x54c1c2(0x234)],{'useClass':_0x3d2a7f}],[_0x20fff8['DesktopCollaborationStatusDisplayController']],[_0x5e2b52],[_0x3b1a8d],[_0x4806aa],[_0x2d41ad],[_0x20fff8[_0x54c1c2(0x2bc)]]];this[_0x54c1c2(0x1fa)][_0x54c1c2(0x2a7)]&&_0x276eb2['push']([_0x5f128d]),_0x52f83d[_0x54c1c2(0x1f2)](this[_0x54c1c2(0x2bd)],_0x52f83d['mergeOverrideWithDependencies'](_0x276eb2,(_0x3ad2f4=this[_0x54c1c2(0x1fa)])==null?void 0x0:_0x3ad2f4[_0x54c1c2(0x203)]));}['_registerRenderDependencies'](){const _0x56cbd6=_0x16ba6;this['disposeWithMe'](this[_0x56cbd6(0x3ca)][_0x56cbd6(0x32d)](_0x52f83d[_0x56cbd6(0x24d)][_0x56cbd6(0x3de)],[_0x68a815])),this[_0x56cbd6(0x1e2)](this[_0x56cbd6(0x3ca)]['registerRenderModule'](_0x52f83d[_0x56cbd6(0x24d)][_0x56cbd6(0x3be)],[_0x5798d8]));}[_0x16ba6(0x1e5)](){const _0xda717d=_0x16ba6;_0x52f83d[_0xda717d(0x370)](this[_0xda717d(0x2bd)],[[_0x4806aa],[_0x20fff8[_0xda717d(0x36e)]],[_0x5e2b52],[_0x3b1a8d],[_0x20fff8[_0xda717d(0x2bc)]],[_0x5b19a5]]),this[_0xda717d(0x1fa)]['enableFrontendLog']&&_0x52f83d[_0xda717d(0x370)](this[_0xda717d(0x2bd)],[[_0x5f128d]]);}},_0x4394a0(_0x20fff8[_0x16ba6(0x220)],_0x16ba6(0x2b1),_0x288134),_0x20fff8[_0x16ba6(0x220)]=_0x3ba213([_0x52f83d[_0x16ba6(0x330)](_0x32b0bb[_0x16ba6(0x27c)]),_0x40318c(0x1,_0x1a348d[_0x16ba6(0x289)]),_0x40318c(0x2,_0x52f83d[_0x16ba6(0x19b)](_0x52f83d[_0x16ba6(0x400)])),_0x40318c(0x3,_0x52f83d[_0x16ba6(0x47a)])],_0x20fff8[_0x16ba6(0x220)]);var _0xa57877=Object[_0x16ba6(0x1fd)],_0x3f6d19=(_0x42202,_0x2254c8,_0x282067,_0x1309d6)=>{const _0x1adae7=_0x16ba6;for(var _0x2cbcf8=_0x1309d6>0x1?void 0x0:_0x1309d6?_0xa57877(_0x2254c8,_0x282067):_0x2254c8,_0x1ddf30=_0x42202[_0x1adae7(0x214)]-0x1,_0x137c80;_0x1ddf30>=0x0;_0x1ddf30--)(_0x137c80=_0x42202[_0x1ddf30])&&(_0x2cbcf8=_0x137c80(_0x2cbcf8)||_0x2cbcf8);return _0x2cbcf8;},_0x4003e0=(_0x429c9f,_0x3382a5)=>(_0x46c583,_0x57a8c2)=>_0x3382a5(_0x46c583,_0x57a8c2,_0x429c9f);_0x20fff8[_0x16ba6(0x2a6)]=class extends _0x32b0bb[_0x16ba6(0x352)]{constructor(_0xe08ec3,_0x58c2fa,_0x34b39f,_0x29cdd8,_0xca9efa){super(_0xe08ec3,_0x58c2fa,_0x34b39f,_0x29cdd8,_0xca9efa);}async[_0x16ba6(0x36d)](_0x1b6aef){const _0x278b69=_0x16ba6,_0x2a0ce7=await this[_0x278b69(0x22c)](),_0x1f73b6=this[_0x278b69(0x257)](_0x1b6aef,_0x2a0ce7);return this[_0x278b69(0x2f3)](_0x1f73b6);}[_0x16ba6(0x257)](_0x374591,_0x5a5161){const _0x5e0186=_0x16ba6,_0x5c72cb=typeof window>'u'?new URL(_0x374591):new URL(_0x374591,window[_0x5e0186(0x36f)][_0x5e0186(0x483)]);_0x5c72cb[_0x5e0186(0x19c)][_0x5e0186(0x3d3)](_0x5e0186(0x25b),_0x5a5161);const _0x10917b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x5e0186(0x2a9)]);return _0x10917b[_0x5e0186(0x452)]('runId')&&_0x5c72cb[_0x5e0186(0x19c)][_0x5e0186(0x3d3)](_0x5e0186(0x2a4),_0x10917b[_0x5e0186(0x452)](_0x5e0186(0x2a4))),_0x5c72cb['toString']();}async['_getSessionTicket'](){const _0x4b3d25=_0x16ba6;var _0x44562c,_0xf6bd99,_0x481735;const _0x21d0a0=this['_configService']['getConfig'](_0x32b0bb['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x574b31=(_0x44562c=_0x21d0a0==null?void 0x0:_0x21d0a0[_0x4b3d25(0x409)])!=null?_0x44562c:_0x32b0bb['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x481735=(_0xf6bd99=(await this[_0x4b3d25(0x420)][_0x4b3d25(0x452)](_0x574b31,{'headers':{'Content-Type':_0x4b3d25(0x2d5)}}))['body'])==null?void 0x0:_0xf6bd99[_0x4b3d25(0x1b7)])!=null?_0x481735:'';}},_0x20fff8[_0x16ba6(0x2a6)]=_0x3f6d19([_0x4003e0(0x0,_0x52f83d[_0x16ba6(0x19b)](_0x52f83d['Injector'])),_0x4003e0(0x1,_0x52f83d[_0x16ba6(0x19b)](_0x291485[_0x16ba6(0x28c)])),_0x4003e0(0x2,_0x52f83d[_0x16ba6(0x47a)]),_0x4003e0(0x3,_0x52f83d[_0x16ba6(0x306)]),_0x4003e0(0x4,_0x39c01d[_0x16ba6(0x342)])],_0x20fff8['BrowserCollaborationSocketService']);var _0x4b2736=Object['getOwnPropertyDescriptor'],_0x43daad=(_0x3500c5,_0x4b23cb,_0x15bd65,_0x260381)=>{const _0x47fb9b=_0x16ba6;for(var _0x3ac2ac=_0x260381>0x1?void 0x0:_0x260381?_0x4b2736(_0x4b23cb,_0x15bd65):_0x4b23cb,_0x434311=_0x3500c5[_0x47fb9b(0x214)]-0x1,_0x2c8e51;_0x434311>=0x0;_0x434311--)(_0x2c8e51=_0x3500c5[_0x434311])&&(_0x3ac2ac=_0x2c8e51(_0x3ac2ac)||_0x3ac2ac);return _0x3ac2ac;},_0x5e5fdc=(_0x177ec8,_0x4a2744)=>(_0x11720b,_0x43e559)=>_0x4a2744(_0x11720b,_0x43e559,_0x177ec8);_0x20fff8[_0x16ba6(0x3ec)]=class extends _0x52f83d[_0x16ba6(0x440)]{constructor(_0x164183,_0x5bd804,_0x4bf2ea){const _0x4f0f96=_0x16ba6;super(),this[_0x4f0f96(0x30b)]=_0x164183,this['_httpService']=_0x5bd804,this[_0x4f0f96(0x3b7)]=_0x4bf2ea;}async[_0x16ba6(0x401)](_0x471f7d,_0x79530c,_0x471815,..._0x3720f4){const _0x4bd603=_0x16ba6;var _0x8acde1,_0x3e5423,_0x110cd1,_0x4b366a;const _0xf02f6f=this['_instanceService'][_0x4bd603(0x366)]();if(!_0xf02f6f)throw new Error(_0x4bd603(0x33d));const _0x393118=((_0x8acde1=this[_0x4bd603(0x3b7)]['getConfig'](_0x32b0bb[_0x4bd603(0x256)]))!=null?_0x8acde1:_0x32b0bb['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x471f7d+_0x4bd603(0x2aa)+_0x79530c,_0x15bb30=new URL(window[_0x4bd603(0x36f)][_0x4bd603(0x3db)]),_0x2fd6c7={'scriptId':_0x471f7d,'runId':(_0x3e5423=_0x15bb30[_0x4bd603(0x19c)][_0x4bd603(0x452)](_0x4bd603(0x2a4)))!=null?_0x3e5423:'','function':_0x79530c,'unitId':_0xf02f6f['getUnitId'](),'argsOfFunction':JSON[_0x4bd603(0x1c6)](_0x3720f4),'invokeId':(_0x110cd1=_0x471815[_0x4bd603(0x2a2)])!=null?_0x110cd1:'','executionId':(_0x4b366a=_0x471815[_0x4bd603(0x42b)])!=null?_0x4b366a:''};try{const _0x281e78=await this['_httpService']['post'](_0x393118,{'body':_0x2fd6c7});return _0x281e78[_0x4bd603(0x3ea)][_0x4bd603(0x35b)]&&_0x281e78[_0x4bd603(0x3ea)][_0x4bd603(0x35b)]['code']!==_0x5e3a5d['OK']?_0x4bd603(0x42a):_0x281e78[_0x4bd603(0x3ea)][_0x4bd603(0x3cd)];}catch{return _0x4bd603(0x42a);}}},_0x20fff8[_0x16ba6(0x3ec)]=_0x43daad([_0x5e5fdc(0x0,_0x52f83d['IUniverInstanceService']),_0x5e5fdc(0x1,_0x52f83d[_0x16ba6(0x19b)](_0x291485[_0x16ba6(0x28c)])),_0x5e5fdc(0x2,_0x52f83d[_0x16ba6(0x47a)])],_0x20fff8[_0x16ba6(0x3ec)]);const _0x2b591a=0x7530,_0x48cef6=_0x16ba6(0x275);class _0x5044fa extends _0x52f83d['Disposable']{constructor(){const _0x392d8e=_0x16ba6;super(),_0x4c920e(this,'_id',_0x52f83d[_0x392d8e(0x302)]()),_0x4c920e(this,'_selfUnitIDs',new Set()),_0x4c920e(this,_0x392d8e(0x2db),new Map()),_0x4c920e(this,_0x392d8e(0x334),null),_0x4c920e(this,_0x392d8e(0x433),new Map()),_0x4c920e(this,_0x392d8e(0x3a4),new Map()),this['_init']();}[_0x16ba6(0x258)](){const _0x36b819=_0x16ba6;super[_0x36b819(0x258)](),this[_0x36b819(0x433)][_0x36b819(0x34f)]((_0x2b203d,_0x48c39f)=>this[_0x36b819(0x326)](_0x48c39f)),this[_0x36b819(0x334)]&&window[_0x36b819(0x2f2)](this[_0x36b819(0x334)]);}[_0x16ba6(0x304)](_0x5297a7){const _0xd5ab37=_0x16ba6;return this[_0xd5ab37(0x47d)](_0x5297a7)[_0xd5ab37(0x3e0)](_0x50665a[_0xd5ab37(0x3a8)]());}[_0x16ba6(0x24f)](_0x3a4864){const _0x23dab8=_0x16ba6;this[_0x23dab8(0x24a)][_0x23dab8(0x3ef)]===0x0&&this[_0x23dab8(0x415)](),this[_0x23dab8(0x24a)][_0x23dab8(0x1e8)](_0x3a4864),this['_send']({'type':0x0,'memberID':this[_0x23dab8(0x2c2)],'unitIDs':[_0x3a4864],'isForwarded':!0x1});}[_0x16ba6(0x333)](_0x490a2e){const _0x587d94=_0x16ba6;this[_0x587d94(0x24a)][_0x587d94(0x192)](_0x490a2e),this[_0x587d94(0x24a)][_0x587d94(0x3ef)]===0x0&&this[_0x587d94(0x334)]&&window[_0x587d94(0x2f2)](this[_0x587d94(0x334)]);}[_0x16ba6(0x29b)](){const _0x25fa71=_0x16ba6;this[_0x25fa71(0x1e2)](_0x52f83d[_0x25fa71(0x359)](_0x50665a['fromEvent'](window,_0x25fa71(0x230))[_0x25fa71(0x1cb)](_0x16a1e4=>{const _0x45930a=_0x25fa71;if(_0x16a1e4[_0x45930a(0x1cc)]!==_0x48cef6||!_0x16a1e4[_0x45930a(0x2b6)])return;const _0x27b370=JSON['parse'](_0x16a1e4['newValue']);this[_0x45930a(0x1c1)](_0x27b370);}))),window[_0x25fa71(0x2ae)](_0x25fa71(0x430),()=>this['_send']({'type':0x1,'memberID':this[_0x25fa71(0x2c2)],'unitIDs':Array[_0x25fa71(0x347)](this['_selfUnitIDs'])}));}[_0x16ba6(0x1c1)](_0x4695ab){const _0x168ed3=_0x16ba6;switch(_0x4695ab[_0x168ed3(0x1fe)]){case 0x0:this[_0x168ed3(0x282)](_0x4695ab);break;case 0x1:this[_0x168ed3(0x375)](_0x4695ab);break;case 0x2:this['_handleHeartbeatEvent'](_0x4695ab);break;}}['_handleJoinEvent'](_0x14cd8b){const _0x45d1d7=_0x16ba6,{unitIDs:_0x1003d2,memberID:_0x22ecdf,isForwarded:_0x33e6a6}=_0x14cd8b;_0x1003d2[_0x45d1d7(0x34f)](_0x1b9afa=>{const _0x2d0f94=_0x45d1d7;if(!_0x33e6a6&&this[_0x2d0f94(0x2db)][_0x2d0f94(0x41b)](_0x1b9afa)&&this[_0x2d0f94(0x47d)](_0x1b9afa)[_0x2d0f94(0x27e)](_0x32b0bb[_0x2d0f94(0x2c6)][_0x2d0f94(0x208)]),!this[_0x2d0f94(0x2db)][_0x2d0f94(0x41b)](_0x1b9afa)||!this[_0x2d0f94(0x2db)][_0x2d0f94(0x452)](_0x1b9afa)[_0x2d0f94(0x41b)](_0x22ecdf)){const _0x533a22=this[_0x2d0f94(0x2db)][_0x2d0f94(0x452)](_0x1b9afa)||new Set();_0x533a22['add'](_0x22ecdf),this[_0x2d0f94(0x2db)]['set'](_0x1b9afa,_0x533a22),this[_0x2d0f94(0x42e)](_0x22ecdf);}}),_0x33e6a6||this[_0x45d1d7(0x252)]({'type':0x0,'memberID':this[_0x45d1d7(0x2c2)],'unitIDs':[...this[_0x45d1d7(0x24a)]],'isForwarded':!0x0});}[_0x16ba6(0x42e)](_0x217733){const _0x53884f=_0x16ba6;this[_0x53884f(0x326)](_0x217733);const _0x23c54a=window[_0x53884f(0x29f)](()=>{this['_unitOnClients']['forEach'](_0x39d9e8=>{const _0x2e50ec=_0x4b5c;_0x39d9e8[_0x2e50ec(0x192)](_0x217733);});},_0x2b591a*0x2);this[_0x53884f(0x433)]['set'](_0x217733,_0x23c54a);}[_0x16ba6(0x326)](_0x31b21f){const _0x312afc=_0x16ba6;if(this[_0x312afc(0x433)][_0x312afc(0x41b)](_0x31b21f)){const _0x3b7c90=this['_clearOtherTimers'][_0x312afc(0x452)](_0x31b21f);_0x3b7c90&&window[_0x312afc(0x21d)](_0x3b7c90),this['_clearOtherTimers'][_0x312afc(0x3d3)](_0x31b21f,null);}}['_handleLeaveEvent'](_0x4cf5d5){const _0x2af63e=_0x16ba6,{memberID:_0x4da247,unitIDs:_0x2e92a7}=_0x4cf5d5;_0x2e92a7[_0x2af63e(0x34f)](_0x5f02f1=>{const _0x6958a9=_0x2af63e;var _0x506935;const _0x2372f9=this['_unitOnClients']['get'](_0x5f02f1);_0x2372f9&&(_0x2372f9[_0x6958a9(0x192)](_0x4da247),(_0x506935=this[_0x6958a9(0x47d)](_0x5f02f1))==null||_0x506935[_0x6958a9(0x27e)](_0x2372f9[_0x6958a9(0x3ef)]===0x0?_0x32b0bb[_0x6958a9(0x2c6)][_0x6958a9(0x46a)]:_0x32b0bb['UnitStatus'][_0x6958a9(0x208)]));}),this['_removeClearOtherTimer'](_0x4da247);}[_0x16ba6(0x410)](_0x536eb5){const _0xff541a=_0x16ba6;this[_0xff541a(0x42e)](_0x536eb5[_0xff541a(0x38b)]);}[_0x16ba6(0x252)](_0xe32f4e){const _0x273cee=_0x16ba6;localStorage[_0x273cee(0x2c7)](_0x48cef6,JSON[_0x273cee(0x1c6)](_0xe32f4e));}['_scheduleHeartbeat'](){const _0x5e382f=_0x16ba6;this[_0x5e382f(0x334)]=window['setInterval'](()=>{const _0x10badd=_0x5e382f;this['_send']({'type':0x2,'memberID':this[_0x10badd(0x2c2)]});},_0x2b591a);}[_0x16ba6(0x47d)](_0x3037df){const _0xc9c0d3=_0x16ba6;return this['_unitStatus'][_0xc9c0d3(0x41b)](_0x3037df)||this[_0xc9c0d3(0x3a4)]['set'](_0x3037df,new _0x50665a[(_0xc9c0d3(0x270))](_0x32b0bb[_0xc9c0d3(0x2c6)]['NO_OTHER_CLIENTS_EDITING'])),this[_0xc9c0d3(0x3a4)][_0xc9c0d3(0x452)](_0x3037df);}}_0x20fff8[_0x16ba6(0x222)]=_0x44f89a,_0x20fff8[_0x16ba6(0x2c4)]=_0x316081,_0x20fff8[_0x16ba6(0x1ae)]=_0x5044fa,_0x20fff8['WebURLService']=_0x455b0f,Object[_0x16ba6(0x472)](_0x20fff8,Symbol[_0x16ba6(0x340)],{'value':_0x16ba6(0x3cf)});}));
1
+ function _0x2815(_0x42754c,_0x4cb546){_0x42754c=_0x42754c-0x1a4;const _0x38b8b8=_0x38b8();let _0x281523=_0x38b8b8[_0x42754c];return _0x281523;}(function(_0xc00850,_0x2bf154){const _0x3917ca=_0x2815,_0x21d880=_0xc00850();while(!![]){try{const _0x51f33f=-parseInt(_0x3917ca(0x41a))/0x1*(parseInt(_0x3917ca(0x40a))/0x2)+parseInt(_0x3917ca(0x467))/0x3*(-parseInt(_0x3917ca(0x2df))/0x4)+parseInt(_0x3917ca(0x27e))/0x5+-parseInt(_0x3917ca(0x31c))/0x6+parseInt(_0x3917ca(0x27b))/0x7+parseInt(_0x3917ca(0x3f5))/0x8+parseInt(_0x3917ca(0x20b))/0x9;if(_0x51f33f===_0x2bf154)break;else _0x21d880['push'](_0x21d880['shift']());}catch(_0x2221a9){_0x21d880['push'](_0x21d880['shift']());}}}(_0x38b8,0x617e9),function(_0x4cb0c1,_0x502ffe){const _0xffb3e6=_0x2815;typeof exports=='object'&&typeof module<'u'?_0x502ffe(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define['amd']?define([_0xffb3e6(0x33e),_0xffb3e6(0x351),_0xffb3e6(0x2ad),_0xffb3e6(0x1f5),_0xffb3e6(0x3a4),'rxjs',_0xffb3e6(0x2bf),_0xffb3e6(0x346),_0xffb3e6(0x261),_0xffb3e6(0x44f),_0xffb3e6(0x1f0),'@univerjs/network',_0xffb3e6(0x23e),_0xffb3e6(0x1b2),_0xffb3e6(0x1fc),_0xffb3e6(0x1ba),_0xffb3e6(0x41c),'rxjs/operators',_0xffb3e6(0x402)],_0x502ffe):(_0x4cb0c1=typeof globalThis<'u'?globalThis:_0x4cb0c1||self,_0x502ffe(_0x4cb0c1[_0xffb3e6(0x25c)]={},_0x4cb0c1[_0xffb3e6(0x1cd)],_0x4cb0c1[_0xffb3e6(0x361)],_0x4cb0c1[_0xffb3e6(0x48c)],_0x4cb0c1['UniverUi'],_0x4cb0c1['rxjs'],_0x4cb0c1[_0xffb3e6(0x40f)],_0x4cb0c1[_0xffb3e6(0x1cd)],_0x4cb0c1[_0xffb3e6(0x38e)],_0x4cb0c1[_0xffb3e6(0x3bf)],_0x4cb0c1[_0xffb3e6(0x335)],_0x4cb0c1['UniverNetwork'],_0x4cb0c1['UniverDocsUi'],_0x4cb0c1[_0xffb3e6(0x45c)],_0x4cb0c1['UniverProCollaboration'],_0x4cb0c1[_0xffb3e6(0x32b)],_0x4cb0c1[_0xffb3e6(0x2f3)],_0x4cb0c1[_0xffb3e6(0x332)][_0xffb3e6(0x312)],_0x4cb0c1[_0xffb3e6(0x454)]));}(this,function(_0x5d6189,_0x2b222d,_0x12afa3,_0x3d65d5,_0x47f27f,_0x5f36f4,_0x225058,_0x42a4ad,_0x202486,_0x15fda1,_0x48b1a2,_0x280651,_0x2cb679,_0x532be4,_0x36b4bf,_0x301e8e,_0x5cefe9,_0x4c0e1b,_0x5df617){'use strict';const _0x4e0a0f=_0x2815;var _0x12aaef=Object[_0x4e0a0f(0x1ef)],_0x24c75d=(_0x58c7b4,_0x4a859e,_0x1f737a)=>_0x4a859e in _0x58c7b4?_0x12aaef(_0x58c7b4,_0x4a859e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f737a}):_0x58c7b4[_0x4a859e]=_0x1f737a,_0x519c33=(_0x24744d,_0x469964,_0x3db145)=>_0x24c75d(_0x24744d,typeof _0x469964!=_0x4e0a0f(0x203)?_0x469964+'':_0x469964,_0x3db145);function _0x10e6cb({ref:_0x444bd1,..._0x42ba64}){const _0x5020a6=_0x4e0a0f,{icon:_0x4b468f,id:_0x3a77bb,className:_0x1966af,extend:_0xb4aef9,..._0x2a95ca}=_0x42ba64,_0x4a55ab=(_0x5020a6(0x44d)+_0x3a77bb+'\x20'+(_0x1966af||''))[_0x5020a6(0x3de)](),_0x2c99c6=_0x42a4ad['useRef']('_'+_0x4b26cf());return _0x52a5a3(_0x4b468f,''+_0x3a77bb,{'defIds':_0x4b468f[_0x5020a6(0x26e)],'idSuffix':_0x2c99c6[_0x5020a6(0x1a9)]},{'ref':_0x444bd1,'className':_0x4a55ab,..._0x2a95ca},_0xb4aef9);}function _0x52a5a3(_0x49250b,_0x36f3ea,_0xb295e2,_0x45659c,_0x4ff93a){const _0x3cfc80=_0x4e0a0f;return _0x42a4ad[_0x3cfc80(0x257)](_0x49250b['tag'],{'key':_0x36f3ea,..._0x4e3bcc(_0x49250b,_0xb295e2,_0x4ff93a),..._0x45659c},(_0x55c012(_0x49250b,_0xb295e2)[_0x3cfc80(0x372)]||[])['map']((_0x2cff42,_0x536735)=>_0x52a5a3(_0x2cff42,_0x36f3ea+'-'+_0x49250b[_0x3cfc80(0x3a6)]+'-'+_0x536735,_0xb295e2,void 0x0,_0x4ff93a)));}function _0x4e3bcc(_0x4618be,_0x52cebb,_0x43c42d){const _0x513174=_0x4e0a0f,_0x550ed5={..._0x4618be[_0x513174(0x2c5)]};_0x43c42d!=null&&_0x43c42d[_0x513174(0x447)]&&_0x550ed5['fill']===_0x513174(0x447)&&(_0x550ed5[_0x513174(0x2c7)]=_0x43c42d['colorChannel1']),_0x4618be[_0x513174(0x3a6)]===_0x513174(0x359)&&_0x550ed5['id']&&(_0x550ed5['id']=_0x550ed5['id']+_0x52cebb['idSuffix']),Object[_0x513174(0x31e)](_0x550ed5)['forEach'](([_0x428efd,_0xd90c65])=>{const _0x2409cf=_0x513174;_0x428efd===_0x2409cf(0x359)&&typeof _0xd90c65==_0x2409cf(0x3a7)&&(_0x550ed5[_0x428efd]=_0xd90c65[_0x2409cf(0x313)](/url\(#(.*)\)/,_0x2409cf(0x33f)+_0x52cebb[_0x2409cf(0x1ca)]+')'));});const {defIds:_0x43d3bd}=_0x52cebb;return!_0x43d3bd||_0x43d3bd[_0x513174(0x401)]===0x0||(_0x4618be[_0x513174(0x3a6)]===_0x513174(0x419)&&_0x550ed5[_0x513174(0x1ac)]&&(_0x550ed5[_0x513174(0x1ac)]=_0x550ed5[_0x513174(0x1ac)]+_0x52cebb[_0x513174(0x1ca)]),Object[_0x513174(0x31e)](_0x550ed5)[_0x513174(0x3e9)](([_0x4b0adb,_0x89f3fa])=>{const _0xa7e815=_0x513174;typeof _0x89f3fa=='string'&&(_0x550ed5[_0x4b0adb]=_0x89f3fa[_0xa7e815(0x313)](/url\(#(.*)\)/,_0xa7e815(0x33f)+_0x52cebb['idSuffix']+')'));})),_0x550ed5;}function _0x55c012(_0x18e8a8,_0x368467){const _0x1b5961=_0x4e0a0f;var _0x2a949c;const {defIds:_0x2dddc2}=_0x368467;return!_0x2dddc2||_0x2dddc2[_0x1b5961(0x401)]===0x0?_0x18e8a8:_0x18e8a8[_0x1b5961(0x3a6)]===_0x1b5961(0x412)&&((_0x2a949c=_0x18e8a8[_0x1b5961(0x372)])!=null&&_0x2a949c['length'])?{..._0x18e8a8,'children':_0x18e8a8[_0x1b5961(0x372)][_0x1b5961(0x1a8)](_0x17c877=>typeof _0x17c877['attrs']['id']==_0x1b5961(0x3a7)&&_0x2dddc2&&_0x2dddc2[_0x1b5961(0x27a)](_0x17c877[_0x1b5961(0x2c5)]['id'])?{..._0x17c877,'attrs':{..._0x17c877[_0x1b5961(0x2c5)],'id':_0x17c877['attrs']['id']+_0x368467[_0x1b5961(0x1ca)]}}:_0x17c877)}:_0x18e8a8;}function _0x4b26cf(){const _0x20ace8=_0x4e0a0f;return Math[_0x20ace8(0x3b8)]()[_0x20ace8(0x3af)](0x24)['substring'](0x2,0x8);}_0x10e6cb['displayName']=_0x4e0a0f(0x237);const _0x26b673={'tag':_0x4e0a0f(0x1e9),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4e0a0f(0x2d1),'viewBox':_0x4e0a0f(0x1b3),'width':_0x4e0a0f(0x382),'height':_0x4e0a0f(0x382)},'children':[{'tag':'g','attrs':{'clipPath':_0x4e0a0f(0x2de)},'children':[{'tag':_0x4e0a0f(0x255),'attrs':{'stroke':_0x4e0a0f(0x424),'d':_0x4e0a0f(0x3c9),'strokeLinecap':_0x4e0a0f(0x475),'strokeLinejoin':_0x4e0a0f(0x475),'strokeWidth':1.2}}]},{'tag':_0x4e0a0f(0x412),'attrs':{},'children':[{'tag':_0x4e0a0f(0x459),'attrs':{'id':_0x4e0a0f(0x3cb)},'children':[{'tag':_0x4e0a0f(0x255),'attrs':{'fill':_0x4e0a0f(0x414),'d':_0x4e0a0f(0x3c5)}}]}]}],'defIds':[_0x4e0a0f(0x3cb)]},_0x22a84d=_0x42a4ad[_0x4e0a0f(0x48a)](function(_0x4ce51e,_0x5246ec){const _0x123fb3=_0x4e0a0f;return _0x42a4ad[_0x123fb3(0x257)](_0x10e6cb,Object['assign']({},_0x4ce51e,{'id':_0x123fb3(0x2cb),'ref':_0x5246ec,'icon':_0x26b673}));});_0x22a84d[_0x4e0a0f(0x22d)]=_0x4e0a0f(0x462);const _0x560650={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x4e0a0f(0x2d1),'viewBox':_0x4e0a0f(0x333),'width':_0x4e0a0f(0x382),'height':_0x4e0a0f(0x382)},'children':[{'tag':'g','attrs':{'clipPath':_0x4e0a0f(0x215)},'children':[{'tag':_0x4e0a0f(0x255),'attrs':{'stroke':_0x4e0a0f(0x424),'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':_0x4e0a0f(0x475),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4e0a0f(0x459),'attrs':{'id':_0x4e0a0f(0x3f7)},'children':[{'tag':_0x4e0a0f(0x255),'attrs':{'fill':_0x4e0a0f(0x414),'d':_0x4e0a0f(0x3c5),'transform':_0x4e0a0f(0x1ea)}}]}]}],'defIds':[_0x4e0a0f(0x3f7)]},_0xf09e0=_0x42a4ad[_0x4e0a0f(0x48a)](function(_0x3fe0dd,_0x405e8e){const _0x1350e1=_0x4e0a0f;return _0x42a4ad[_0x1350e1(0x257)](_0x10e6cb,Object[_0x1350e1(0x318)]({},_0x3fe0dd,{'id':_0x1350e1(0x2bd),'ref':_0x405e8e,'icon':_0x560650}));});_0xf09e0[_0x4e0a0f(0x22d)]='OnLineIcon';function _0x487e95(_0x224a65){const _0x455172=_0x4e0a0f;switch(_0x224a65){case _0x12afa3[_0x455172(0x1be)]['OFFLINE']:return'collabStatus.offline';case _0x12afa3[_0x455172(0x1be)][_0x455172(0x302)]:return _0x455172(0x275);case _0x12afa3[_0x455172(0x1be)][_0x455172(0x43f)]:return _0x455172(0x3c7);case _0x12afa3[_0x455172(0x1be)][_0x455172(0x1eb)]:return _0x455172(0x1dd);case _0x12afa3[_0x455172(0x1be)]['AWAITING']:case _0x12afa3['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x455172(0x1ee);case _0x12afa3[_0x455172(0x1be)][_0x455172(0x446)]:case _0x12afa3[_0x455172(0x1be)][_0x455172(0x1de)]:return _0x455172(0x3e5);}}function _0x36b17e(_0x24f4d2){const _0x3d1c6f=_0x4e0a0f,{status$:_0x9b34f4}=_0x24f4d2,_0x589585=_0x47f27f[_0x3d1c6f(0x29d)](_0x9b34f4,_0x12afa3[_0x3d1c6f(0x1be)][_0x3d1c6f(0x1eb)]),_0x223244=_0x47f27f[_0x3d1c6f(0x46a)](_0x3d65d5['LocaleService']),_0x19e72c=_0x47f27f[_0x3d1c6f(0x46a)](_0x12afa3[_0x3d1c6f(0x1e8)]),_0x20bf0b=_0x589585!==_0x12afa3[_0x3d1c6f(0x1be)][_0x3d1c6f(0x39e)],_0x5b760c=_0x223244['t'](_0x487e95(_0x589585)),_0x4b304c=_0x20bf0b?_0x2b222d[_0x3d1c6f(0x3fe)](_0xf09e0,{}):_0x2b222d['jsx'](_0x22a84d,{}),_0x55166b=_0x42a4ad[_0x3d1c6f(0x27c)](()=>{const _0x257be8=_0x3d1c6f;_0x20bf0b||_0x19e72c[_0x257be8(0x246)]();},[_0x20bf0b,_0x19e72c]);function _0xea8472(){const _0x4e13fb=_0x3d1c6f;return _0x2b222d[_0x4e13fb(0x2c2)](_0x4e13fb(0x3ad),{'className':_0x4e13fb(0x45a),'onClick':_0x55166b,'children':[_0x2b222d[_0x4e13fb(0x3fe)](_0x4e13fb(0x3ad),{'className':_0x225058[_0x4e13fb(0x1db)](_0x4e13fb(0x21b),{'univer-text-green-500':_0x20bf0b,'univer-text-red-500':!_0x20bf0b}),'children':_0x4b304c}),_0x2b222d[_0x4e13fb(0x3fe)]('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x5b760c})]});}return _0x20bf0b?_0xea8472():_0x2b222d[_0x3d1c6f(0x3fe)](_0x225058['Tooltip'],{'title':_0x223244['t'](_0x3d1c6f(0x44c)),'children':_0xea8472()});}var _0x587753=Object['getOwnPropertyDescriptor'],_0x4ff46d=(_0x5cef62,_0x536e6e,_0x148ea3,_0x2ec19e)=>{const _0x43788a=_0x4e0a0f;for(var _0x3ea70f=_0x2ec19e>0x1?void 0x0:_0x2ec19e?_0x587753(_0x536e6e,_0x148ea3):_0x536e6e,_0x2a815d=_0x5cef62[_0x43788a(0x401)]-0x1,_0x4beb20;_0x2a815d>=0x0;_0x2a815d--)(_0x4beb20=_0x5cef62[_0x2a815d])&&(_0x3ea70f=_0x4beb20(_0x3ea70f)||_0x3ea70f);return _0x3ea70f;},_0x4903e2=(_0xc71eec,_0x192a93)=>(_0x831f32,_0x53c10a)=>_0x192a93(_0x831f32,_0x53c10a,_0xc71eec);_0x5d6189['DesktopCollaborationStatusDisplayController']=class extends _0x3d65d5['Disposable']{constructor(_0x2aa9cd,_0x1bccb7,_0x4339ba,_0x24c64e){const _0x4356f2=_0x4e0a0f;super(),_0x519c33(this,'_status$',new _0x5f36f4[(_0x4356f2(0x426))](_0x12afa3[_0x4356f2(0x1be)][_0x4356f2(0x1eb)])),(this[_0x4356f2(0x2dc)]=_0x2aa9cd,this[_0x4356f2(0x458)]=_0x1bccb7,this[_0x4356f2(0x30b)]=_0x4339ba,this[_0x4356f2(0x395)]=_0x24c64e,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x4e0a0f(0x232)](){const _0x1ebab5=_0x4e0a0f;this[_0x1ebab5(0x38a)](this[_0x1ebab5(0x2dc)][_0x1ebab5(0x43d)]['pipe'](_0x5f36f4[_0x1ebab5(0x461)](()=>{const _0x4ef192=_0x1ebab5,_0x3bacbd=this[_0x4ef192(0x2dc)][_0x4ef192(0x263)]();return _0x3bacbd?this[_0x4ef192(0x30b)][_0x4ef192(0x3a2)](_0x3bacbd[_0x4ef192(0x347)]()):_0x5f36f4['of'](null);}),_0x5f36f4[_0x1ebab5(0x461)](_0x7e4a74=>_0x7e4a74?_0x7e4a74[_0x1ebab5(0x29c)]:_0x5f36f4['of'](_0x12afa3[_0x1ebab5(0x1be)][_0x1ebab5(0x1eb)])))[_0x1ebab5(0x364)](_0x23bf77=>{const _0xa2806b=_0x1ebab5;this[_0xa2806b(0x39b)][_0xa2806b(0x2a7)](_0x23bf77);}));}[_0x4e0a0f(0x36a)](){const _0x693d35=_0x4e0a0f;this[_0x693d35(0x38a)](this[_0x693d35(0x395)][_0x693d35(0x1bb)](_0x47f27f[_0x693d35(0x2d8)][_0x693d35(0x3d2)],()=>_0x47f27f[_0x693d35(0x1e4)](_0x514fa9({'status$':this[_0x693d35(0x39b)]['asObservable']()}),this[_0x693d35(0x458)])));}},_0x5d6189[_0x4e0a0f(0x3ec)]=_0x4ff46d([_0x4903e2(0x0,_0x3d65d5[_0x4e0a0f(0x2b2)]),_0x4903e2(0x1,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x2c0)])),_0x4903e2(0x2,_0x3d65d5[_0x4e0a0f(0x24b)](_0x12afa3[_0x4e0a0f(0x224)])),_0x4903e2(0x3,_0x47f27f[_0x4e0a0f(0x46c)])],_0x5d6189[_0x4e0a0f(0x3ec)]);function _0x514fa9(_0x4ab5c8){const {status$:_0x594c0f}=_0x4ab5c8;return function(){const _0x2ea328=_0x2815;return _0x2b222d[_0x2ea328(0x3fe)](_0x36b17e,{'status$':_0x594c0f});};}const _0x41d09c=_0x3d65d5[_0x4e0a0f(0x44a)](_0x4e0a0f(0x241));var _0x49b579=Object[_0x4e0a0f(0x373)],_0x532ca5=(_0x2176d5,_0x272a33,_0x475ed2,_0x5f4e38)=>{for(var _0x33d637=_0x5f4e38>0x1?void 0x0:_0x5f4e38?_0x49b579(_0x272a33,_0x475ed2):_0x272a33,_0x399d37=_0x2176d5['length']-0x1,_0x26e140;_0x399d37>=0x0;_0x399d37--)(_0x26e140=_0x2176d5[_0x399d37])&&(_0x33d637=_0x26e140(_0x33d637)||_0x33d637);return _0x33d637;},_0x1621fb=(_0x459fac,_0x451abd)=>(_0x2b3ffc,_0x407444)=>_0x451abd(_0x2b3ffc,_0x407444,_0x459fac);_0x5d6189[_0x4e0a0f(0x36c)]=class extends _0x3d65d5[_0x4e0a0f(0x2c6)]{constructor(_0x3ac172,_0x212a46,_0x40782f,_0x191f41,_0x4e0156){const _0x1528b3=_0x4e0a0f;super(),this[_0x1528b3(0x2ae)]=_0x3ac172,this[_0x1528b3(0x376)]=_0x212a46,this[_0x1528b3(0x3cf)]=_0x40782f,this[_0x1528b3(0x37d)]=_0x191f41,_0x4e0156?_0x4e0156==null||_0x4e0156[_0x1528b3(0x482)]()[_0x1528b3(0x2da)](()=>this[_0x1528b3(0x276)]()):(this[_0x1528b3(0x376)][_0x1528b3(0x1e1)](_0x1528b3(0x34c),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x1528b3(0x276)]());}async['_init'](){const _0x4136c8=_0x4e0a0f,_0x131367=this[_0x4136c8(0x2ae)]['getParam'](_0x4136c8(0x3f1)),_0x532f33=this[_0x4136c8(0x2ae)][_0x4136c8(0x1f3)](_0x4136c8(0x1d3)),_0x31d91e=this[_0x4136c8(0x2ae)]['getParam'](_0x4136c8(0x321));if(!_0x131367||!_0x532f33){this['_logService'][_0x4136c8(0x1e1)](_0x4136c8(0x34c),_0x4136c8(0x21d));return;}const _0x24b288=await this[_0x4136c8(0x37d)]['loadUnit'](_0x131367,Number(_0x532f33),_0x31d91e);_0x24b288&&_0x24b288 instanceof _0x3d65d5['Workbook']&&this[_0x4136c8(0x44e)](_0x24b288);}async['_setupSubUnitSync'](_0x20e614){const _0x438e27=_0x4e0a0f;await this[_0x438e27(0x360)](_0x20e614),_0x20e614[_0x438e27(0x34e)][_0x438e27(0x2c1)](_0x5f36f4['takeUntil'](this[_0x438e27(0x33b)]))['subscribe'](_0x1905db=>{const _0x2b34ea=_0x438e27;_0x1905db&&this[_0x2b34ea(0x2ca)](_0x1905db);}),this[_0x438e27(0x2ae)][_0x438e27(0x427)]['pipe'](_0x5f36f4[_0x438e27(0x308)](this[_0x438e27(0x33b)]))[_0x438e27(0x364)](()=>this[_0x438e27(0x360)](_0x20e614));}['_updateURLWithCurrentState'](_0x89c76d,_0x36fa19=!0x1){const _0x5a0911=_0x4e0a0f,_0x3861ab=this[_0x5a0911(0x2ae)][_0x5a0911(0x1f3)]('subunit');_0x89c76d[_0x5a0911(0x3e6)]()!==_0x3861ab&&this[_0x5a0911(0x2ae)][_0x5a0911(0x1ce)](_0x5a0911(0x321),_0x89c76d['getSheetId'](),_0x36fa19);}async[_0x4e0a0f(0x360)](_0x309c76){const _0x25532a=_0x4e0a0f;var _0x2ff0f3;const _0x3eb514=this['_urlService'][_0x25532a(0x1f3)](_0x25532a(0x321));if(!_0x3eb514||!_0x309c76[_0x25532a(0x30d)](_0x3eb514)){const _0x471a19=_0x309c76[_0x25532a(0x1fb)]()[0x0],_0x389049=_0x309c76[_0x25532a(0x30d)](_0x471a19);if(!_0x389049)return;this[_0x25532a(0x2ca)](_0x389049,!0x0),await this[_0x25532a(0x3cf)][_0x25532a(0x33a)](_0x15fda1['SetWorksheetActivateCommand']['id'],{'unitId':_0x309c76[_0x25532a(0x347)](),'subUnitId':_0x471a19});return;}((_0x2ff0f3=_0x309c76[_0x25532a(0x214)]())==null?void 0x0:_0x2ff0f3['getSheetId']())!==_0x3eb514&&await this[_0x25532a(0x3cf)]['executeCommand'](_0x15fda1[_0x25532a(0x1cc)]['id'],{'unitId':_0x309c76[_0x25532a(0x347)](),'subUnitId':_0x3eb514});}},_0x5d6189['CollaborationDataLoaderController']=_0x532ca5([_0x1621fb(0x0,_0x41d09c),_0x1621fb(0x1,_0x3d65d5['ILogService']),_0x1621fb(0x2,_0x3d65d5['ICommandService']),_0x1621fb(0x3,_0x3d65d5[_0x4e0a0f(0x24b)](_0x12afa3['DataLoaderService'])),_0x1621fb(0x4,_0x3d65d5['Optional'](_0x202486[_0x4e0a0f(0x330)]))],_0x5d6189[_0x4e0a0f(0x36c)]);var _0x3a1788=Object['getOwnPropertyDescriptor'],_0x1fe199=(_0x267512,_0xd570ed,_0x4741ee,_0xc405d8)=>{const _0x26f756=_0x4e0a0f;for(var _0xf4348d=_0xc405d8>0x1?void 0x0:_0xc405d8?_0x3a1788(_0xd570ed,_0x4741ee):_0xd570ed,_0x53aa38=_0x267512[_0x26f756(0x401)]-0x1,_0x333391;_0x53aa38>=0x0;_0x53aa38--)(_0x333391=_0x267512[_0x53aa38])&&(_0xf4348d=_0x333391(_0xf4348d)||_0xf4348d);return _0xf4348d;},_0x19d914=(_0x21e1ef,_0x26854d)=>(_0x449c4a,_0x1736d3)=>_0x26854d(_0x449c4a,_0x1736d3,_0x21e1ef);let _0x4333d5=class extends _0x3d65d5[_0x4e0a0f(0x2c6)]{constructor(_0xca69b8,_0xaa5135){const _0x1ac615=_0x4e0a0f;super(),this[_0x1ac615(0x21c)]=_0xca69b8,this[_0x1ac615(0x2dd)]=_0xaa5135,this[_0x1ac615(0x276)]();}[_0x4e0a0f(0x276)](){const _0x1990b3=_0x4e0a0f,_0x1c8a3f=this;this[_0x1990b3(0x38a)](this[_0x1990b3(0x21c)][_0x1990b3(0x1e0)]({'onBeforePasteImage':async _0x4faf91=>{const _0x1cb939=_0x1990b3,_0x123054=await _0x1c8a3f['_imageIoService'][_0x1cb939(0x22b)](_0x4faf91);return _0x123054?{'source':_0x123054[_0x1cb939(0x28c)],'imageSourceType':_0x123054[_0x1cb939(0x274)]}:null;}}));}};_0x4333d5=_0x1fe199([_0x19d914(0x0,_0x2cb679[_0x4e0a0f(0x38f)]),_0x19d914(0x1,_0x532be4[_0x4e0a0f(0x3d4)])],_0x4333d5);const _0x29c03b=[_0x4e0a0f(0x421),'jiqing.500',_0x4e0a0f(0x311),_0x4e0a0f(0x281),_0x4e0a0f(0x3b2),'yellow.400'];class _0x5b2747 extends _0x3d65d5[_0x4e0a0f(0x293)]{constructor(){const _0x42a1ed=_0x4e0a0f;super(...arguments),_0x519c33(this,_0x42a1ed(0x430),new Map()),_0x519c33(this,_0x42a1ed(0x271),0x0);}[_0x4e0a0f(0x417)](_0x11c29b){const _0x5a7215=_0x4e0a0f;if(this[_0x5a7215(0x430)][_0x5a7215(0x41e)](_0x11c29b))return this[_0x5a7215(0x430)]['get'](_0x11c29b);const _0x5df925=_0x29c03b[this[_0x5a7215(0x271)]];return this[_0x5a7215(0x271)]=(this[_0x5a7215(0x271)]+0x1)%_0x29c03b['length'],this[_0x5a7215(0x430)]['set'](_0x11c29b,_0x5df925),_0x5df925;}}function _0xbc05fe(_0x56cd7c){const _0x414af7=_0x4e0a0f;let _0x4b0244='';for(const _0x439644 of _0x56cd7c){const {startOffset:_0x1f89be,endOffset:_0xb0bf4d,isActive:_0x52818f,rangeType:_0x180919,segmentId:_0x400269,segmentPage:_0x29b80c}=_0x439644;_0x4b0244[_0x414af7(0x401)]&&(_0x4b0244+=','),_0x4b0244+=_0x1f89be+':'+_0xb0bf4d+':'+(_0x52818f?'1':'0')+':'+_0x180919+':'+_0x400269+':'+_0x29b80c;}return _0x4b0244;}function _0x40f323(_0x37af50){const _0x4688ae=_0x4e0a0f,_0x5a8d9e=_0x37af50[_0x4688ae(0x44b)](','),_0x48f932=[];for(const _0x3050ef of _0x5a8d9e){const [_0x447c60,_0x7f3071,_0x4cb807,_0x5491ac,_0x128e3a,_0x30fbf8]=_0x3050ef[_0x4688ae(0x44b)](':');_0x48f932[_0x4688ae(0x1c3)]({'startOffset':Number(_0x447c60),'endOffset':Number(_0x7f3071),'collapsed':_0x447c60===_0x7f3071,'isActive':_0x4cb807==='1','rangeType':_0x5491ac===_0x3d65d5[_0x4688ae(0x29f)][_0x4688ae(0x286)]?_0x3d65d5[_0x4688ae(0x29f)][_0x4688ae(0x286)]:_0x3d65d5[_0x4688ae(0x29f)][_0x4688ae(0x460)],'segmentId':typeof _0x128e3a==_0x4688ae(0x3a7)?String(_0x128e3a):'','segmentPage':Number(_0x30fbf8!=null?_0x30fbf8:-0x1)});}return _0x48f932[_0x4688ae(0x1fd)](_0x304a6d=>_0x304a6d[_0x4688ae(0x423)])||(_0x48f932[0x0][_0x4688ae(0x423)]=!0x0),_0x48f932;}class _0x58e52d extends _0x3d65d5['RxDisposable']{constructor(){const _0x4e8862=_0x4e0a0f;super(...arguments),_0x519c33(this,'_collabCursorState$',new _0x5f36f4[(_0x4e8862(0x426))](null)),_0x519c33(this,_0x4e8862(0x384),this['_collabCursorState$']['asObservable']());}[_0x4e0a0f(0x306)](_0x360a48){const _0x29588d=_0x4e0a0f,{unitID:_0x29ccbc,memberID:_0x5d3e97,textRanges:_0x2c4cee}=_0x360a48,_0x242db6=_0xbc05fe(_0x2c4cee);if(_0x242db6==='')return;const _0x4002be={'unitID':_0x29ccbc,'memberID':_0x5d3e97,'selection':_0x242db6};this[_0x29588d(0x29e)][_0x29588d(0x2a7)](_0x4002be);}}var _0x67cdc9=Object[_0x4e0a0f(0x373)],_0x17136e=(_0x1cf7c4,_0xa531e4,_0x35e702,_0x29996b)=>{const _0x3de2fa=_0x4e0a0f;for(var _0x3fd382=_0x29996b>0x1?void 0x0:_0x29996b?_0x67cdc9(_0xa531e4,_0x35e702):_0xa531e4,_0x543ad5=_0x1cf7c4[_0x3de2fa(0x401)]-0x1,_0x16cd5c;_0x543ad5>=0x0;_0x543ad5--)(_0x16cd5c=_0x1cf7c4[_0x543ad5])&&(_0x3fd382=_0x16cd5c(_0x3fd382)||_0x3fd382);return _0x3fd382;},_0x59fbdd=(_0x546f66,_0x1c2eed)=>(_0x40f541,_0x47a5cb)=>_0x1c2eed(_0x40f541,_0x47a5cb,_0x546f66);const _0x24a6a2=0x12c,_0x2d3cbb=0x64;let _0x420b41=class extends _0x3d65d5[_0x4e0a0f(0x2c6)]{constructor(_0x1f9ac6,_0x3d9fc0,_0x493231,_0x3ddf09,_0x5333ad,_0x433c0a,_0x54bcbe,_0x279fe1,_0x2f41df){const _0x24b6c8=_0x4e0a0f;super(),_0x519c33(this,_0x24b6c8(0x1c7),!0x1),_0x519c33(this,_0x24b6c8(0x276),!0x1),_0x519c33(this,'_cursorInfo$',new _0x5f36f4[(_0x24b6c8(0x426))](new Map())),_0x519c33(this,_0x24b6c8(0x251),this[_0x24b6c8(0x3ef)][_0x24b6c8(0x365)]()),_0x519c33(this,_0x24b6c8(0x2e0),new _0x5f36f4[(_0x24b6c8(0x426))]([])),_0x519c33(this,_0x24b6c8(0x392),this['_roomMembers$']['pipe'](_0x5f36f4[_0x24b6c8(0x445)](_0x24a6a2))),_0x519c33(this,_0x24b6c8(0x26b),_0x3d65d5[_0x24b6c8(0x469)](_0x57053d=>{const _0x42a9ed=_0x24b6c8,_0x53af59={'eventID':_0x36b4bf[_0x42a9ed(0x396)][_0x42a9ed(0x484)],'data':{'unitID':this[_0x42a9ed(0x2b4)],'memberID':this[_0x42a9ed(0x277)]['getMemberID'](),'selection':_0xbc05fe(_0x57053d)}};this[_0x42a9ed(0x277)][_0x42a9ed(0x381)](_0x53af59,this['unitID']);},_0x2d3cbb)),(this[_0x24b6c8(0x2b4)]=_0x1f9ac6,this['_session']=_0x3d9fc0,this[_0x24b6c8(0x458)]=_0x493231,this[_0x24b6c8(0x3f6)]=_0x3ddf09,this[_0x24b6c8(0x457)]=_0x5333ad,this['_syncEditingCollabCursorService']=_0x433c0a,this[_0x24b6c8(0x242)]=_0x54bcbe,this['_univerInstanceService']=_0x279fe1,this[_0x24b6c8(0x3cf)]=_0x2f41df);}get[_0x4e0a0f(0x3a1)](){const _0x52ba4a=_0x4e0a0f;return this[_0x52ba4a(0x3ef)][_0x52ba4a(0x473)]();}get[_0x4e0a0f(0x2d7)](){const _0x3c96df=_0x4e0a0f;return this[_0x3c96df(0x2e0)][_0x3c96df(0x473)]();}[_0x4e0a0f(0x3ab)](){const _0x413088=_0x4e0a0f;super[_0x413088(0x3ab)](),this[_0x413088(0x3ef)][_0x413088(0x2a7)](new Map()),this[_0x413088(0x3ef)][_0x413088(0x440)](),this[_0x413088(0x2e0)][_0x413088(0x2a7)]([]),this['_roomMembers$'][_0x413088(0x440)]();}['init'](){const _0x14a8b2=_0x4e0a0f;this['_init']||(this[_0x14a8b2(0x276)]=!0x0,this[_0x14a8b2(0x277)]['sessionStatus$'][_0x14a8b2(0x2c1)](_0x5f36f4[_0x14a8b2(0x308)](this[_0x14a8b2(0x33b)]))[_0x14a8b2(0x364)](_0x359d32=>{const _0x36ed6d=_0x14a8b2;_0x359d32===_0x12afa3[_0x36ed6d(0x441)][_0x36ed6d(0x3ea)]?this[_0x36ed6d(0x216)]():this[_0x36ed6d(0x1d7)]();}),this[_0x14a8b2(0x277)]['event$'][_0x14a8b2(0x2c1)](_0x5f36f4['takeUntil'](this[_0x14a8b2(0x33b)]))['subscribe'](_0x2473bc=>{const _0x3ce9d7=_0x14a8b2,_0x54bf60=_0x2473bc[_0x3ce9d7(0x320)];_0x54bf60===_0x36b4bf[_0x3ce9d7(0x396)]['UPDATE_CURSOR']&&this[_0x3ce9d7(0x2be)](_0x2473bc),_0x54bf60===_0x36b4bf[_0x3ce9d7(0x396)][_0x3ce9d7(0x386)]&&this[_0x3ce9d7(0x25f)](_0x2473bc);}),this[_0x14a8b2(0x38a)](this[_0x14a8b2(0x3cf)][_0x14a8b2(0x42e)](_0x1e98d9=>{const _0x369b2c=_0x14a8b2,_0x268a7e=_0x1e98d9['params'];_0x268a7e!=null&&this['_online']&&_0x1e98d9['id']===_0x301e8e[_0x369b2c(0x478)]['id']&&_0x268a7e['unitId']===this[_0x369b2c(0x2b4)]&&_0x268a7e[_0x369b2c(0x1c4)]===!0x1&&_0x268a7e[_0x369b2c(0x1c5)][_0x369b2c(0x401)]>0x0&&this['_updateLocalCursor'](_0x268a7e[_0x369b2c(0x1c5)]);})),this['_syncEditingCollabCursorService'][_0x14a8b2(0x384)][_0x14a8b2(0x2c1)](_0x5f36f4[_0x14a8b2(0x308)](this[_0x14a8b2(0x33b)]))[_0x14a8b2(0x364)](_0xec87d3=>{const _0x4649f3=_0x14a8b2;if((_0xec87d3==null?void 0x0:_0xec87d3[_0x4649f3(0x2b4)])!==this[_0x4649f3(0x2b4)])return;const _0x3049ba={'eventID':_0x36b4bf['CollaborationEvent'][_0x4649f3(0x484)],'data':_0xec87d3};this['_onCursorUpdate'](_0x3049ba);}),this['disposeWithMe'](this[_0x14a8b2(0x3cf)][_0x14a8b2(0x42e)](_0x23ebd9=>{const _0x15379e=_0x14a8b2;if(_0x23ebd9[_0x15379e(0x344)]==null)return;const _0x121ca6=_0x23ebd9[_0x15379e(0x344)];if(_0x23ebd9['id']!==_0x301e8e[_0x15379e(0x27f)]['id']||_0x121ca6[_0x15379e(0x3c2)]!==this[_0x15379e(0x2b4)])return;const _0x17ab89={'id':_0x15379e(0x397),'params':_0x121ca6},_0x58bc50=this[_0x15379e(0x3a1)];for(const [_0x178cc3,_0x4ad5b6]of _0x58bc50){const _0x499d24={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x15379e(0x2b4)],'actions':null,'textRanges':_0x4ad5b6[_0x15379e(0x1c5)]}},_0x4087de=this[_0x15379e(0x242)][_0x15379e(0x1fe)](_0x17ab89,_0x499d24,!0x1);if(_0x36b4bf[_0x15379e(0x43e)](_0x4087de))throw _0x4087de[_0x15379e(0x212)];_0x58bc50['set'](_0x178cc3,{..._0x4ad5b6,'ranges':_0x4087de[_0x15379e(0x328)][_0x15379e(0x344)][_0x15379e(0x350)]});}queueMicrotask(()=>{const _0x3afebb=_0x15379e;this[_0x3afebb(0x3ef)][_0x3afebb(0x2a7)](_0x58bc50);});})));}['_onCursorUpdate'](_0x5702c5){const _0x23bfa7=_0x4e0a0f;var _0x271f77,_0x71e3ac;const {memberID:_0x5249ff,selection:_0x36a6d7}=_0x5702c5[_0x23bfa7(0x3fb)],_0x2f7766=_0x40f323(_0x36a6d7),_0x2ca4b1=(_0x71e3ac=(_0x271f77=this['_memberService'][_0x23bfa7(0x439)](this['unitID'],_0x5249ff))==null?void 0x0:_0x271f77[_0x23bfa7(0x483)])!=null?_0x71e3ac:_0x23bfa7(0x3b7),_0x4c07fb={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x5249ff),'name':_0x2ca4b1,'ranges':_0x2f7766},_0x34bf6f=this[_0x23bfa7(0x3a1)];_0x34bf6f[_0x23bfa7(0x33d)](_0x5249ff,_0x4c07fb),this[_0x23bfa7(0x3ef)][_0x23bfa7(0x2a7)](_0x34bf6f);}['_onCursorDelete'](_0x4418a1){const _0x2932ae=_0x4e0a0f,{memberID:_0x3bc704}=_0x4418a1[_0x2932ae(0x3fb)],_0x580e9c=this[_0x2932ae(0x3a1)];_0x580e9c[_0x2932ae(0x32d)](_0x3bc704),this['_cursorInfo$']['next'](_0x580e9c);}['_toggleOnline'](){const _0x43bd54=_0x4e0a0f;var _0x5d0236;if(this['_online']=!0x0,((_0x5d0236=this[_0x43bd54(0x2dc)][_0x43bd54(0x263)]())==null?void 0x0:_0x5d0236[_0x43bd54(0x347)]())!==this[_0x43bd54(0x2b4)])return;const _0x445393=this[_0x43bd54(0x458)][_0x43bd54(0x236)](_0x301e8e['DocSelectionManagerService'])[_0x43bd54(0x316)]();Array['isArray'](_0x445393)&&_0x445393[_0x43bd54(0x401)]>0x0&&this[_0x43bd54(0x26b)](_0x445393);}[_0x4e0a0f(0x1d7)](){const _0x272ede=_0x4e0a0f;this[_0x272ede(0x1c7)]=!0x1;}};_0x420b41=_0x17136e([_0x59fbdd(0x2,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x2c0)])),_0x59fbdd(0x3,_0x3d65d5[_0x4e0a0f(0x24b)](_0x5b2747)),_0x59fbdd(0x4,_0x3d65d5['Inject'](_0x12afa3[_0x4e0a0f(0x1a5)])),_0x59fbdd(0x5,_0x3d65d5[_0x4e0a0f(0x24b)](_0x58e52d)),_0x59fbdd(0x6,_0x36b4bf[_0x4e0a0f(0x291)]),_0x59fbdd(0x7,_0x3d65d5[_0x4e0a0f(0x2b2)]),_0x59fbdd(0x8,_0x3d65d5['ICommandService'])],_0x420b41);var _0x184f2b=Object[_0x4e0a0f(0x373)],_0x2e5d70=(_0x4aa59c,_0x26bc6b,_0x59414c,_0x4b6add)=>{const _0x4de19a=_0x4e0a0f;for(var _0x578373=_0x4b6add>0x1?void 0x0:_0x4b6add?_0x184f2b(_0x26bc6b,_0x59414c):_0x26bc6b,_0x57697a=_0x4aa59c[_0x4de19a(0x401)]-0x1,_0x25b605;_0x57697a>=0x0;_0x57697a--)(_0x25b605=_0x4aa59c[_0x57697a])&&(_0x578373=_0x25b605(_0x578373)||_0x578373);return _0x578373;},_0x1e1e54=(_0xdb1a2a,_0x5e8f27)=>(_0x47185d,_0x2d7685)=>_0x5e8f27(_0x47185d,_0x2d7685,_0xdb1a2a);const _0x2f7de3=0x12c,_0x406c39=0x64,_0x351cca=()=>{let _0x1c0110=[],_0x3500b3=!0x1;return _0x4106f7=>{const _0x40ffb2=_0x2815;_0x1c0110[_0x40ffb2(0x1c3)](_0x4106f7),_0x3500b3||(_0x3500b3=!0x0,setTimeout(()=>{_0x1c0110['forEach'](_0x47a0ed=>_0x47a0ed()),_0x1c0110=[],_0x3500b3=!0x1;}));};};let _0x184e5c=class extends _0x3d65d5['RxDisposable']{constructor(_0x2730ae,_0xe7f841,_0x52f570,_0x527bd2,_0x11e15d,_0x507788,_0x40e9e0,_0x34350a){const _0x1af5c5=_0x4e0a0f;super(),_0x519c33(this,_0x1af5c5(0x1c7),!0x1),_0x519c33(this,_0x1af5c5(0x276),!0x1),_0x519c33(this,_0x1af5c5(0x3ef),new _0x5f36f4[(_0x1af5c5(0x426))](new Map())),_0x519c33(this,_0x1af5c5(0x251),this[_0x1af5c5(0x3ef)][_0x1af5c5(0x365)]()),_0x519c33(this,_0x1af5c5(0x2e0),new _0x5f36f4['BehaviorSubject']([])),_0x519c33(this,_0x1af5c5(0x392),this[_0x1af5c5(0x2e0)][_0x1af5c5(0x2c1)](_0x5f36f4[_0x1af5c5(0x445)](_0x2f7de3))),_0x519c33(this,_0x1af5c5(0x26b),_0x3d65d5[_0x1af5c5(0x469)]((_0x57cc8e,_0x15686d)=>{const _0x128108=_0x1af5c5,_0x484dec={'eventID':_0x36b4bf[_0x128108(0x396)][_0x128108(0x484)],'data':{'unitID':this[_0x128108(0x2b4)],'memberID':this[_0x128108(0x277)][_0x128108(0x3da)](),'selection':_0x5cefe9['serializeRangeWithSheet'](_0x57cc8e,_0x15686d[_0x128108(0x2b7)])}};this['_session'][_0x128108(0x381)](_0x484dec,this[_0x128108(0x2b4)]);},_0x406c39)),(this['unitID']=_0x2730ae,this[_0x1af5c5(0x277)]=_0xe7f841,this[_0x1af5c5(0x458)]=_0x52f570,this[_0x1af5c5(0x3f6)]=_0x527bd2,this[_0x1af5c5(0x457)]=_0x11e15d,this[_0x1af5c5(0x2dc)]=_0x507788,this[_0x1af5c5(0x3cf)]=_0x40e9e0,this[_0x1af5c5(0x3b5)]=_0x34350a);}get[_0x4e0a0f(0x3a1)](){const _0x50460d=_0x4e0a0f;return this[_0x50460d(0x3ef)][_0x50460d(0x473)]();}get[_0x4e0a0f(0x2d7)](){const _0x1a6ab4=_0x4e0a0f;return this[_0x1a6ab4(0x2e0)]['getValue']();}[_0x4e0a0f(0x3ab)](){const _0x342b38=_0x4e0a0f;super[_0x342b38(0x3ab)](),this['_cursorInfo$'][_0x342b38(0x2a7)](new Map()),this[_0x342b38(0x3ef)][_0x342b38(0x440)](),this['_roomMembers$'][_0x342b38(0x2a7)]([]),this[_0x342b38(0x2e0)][_0x342b38(0x440)]();}[_0x4e0a0f(0x265)](){const _0x339f50=_0x4e0a0f;this[_0x339f50(0x276)]||(this['_init']=!0x0,this[_0x339f50(0x277)]['sessionStatus$']['pipe'](_0x5f36f4[_0x339f50(0x308)](this[_0x339f50(0x33b)]))[_0x339f50(0x364)](_0x25e6ec=>{const _0x195c67=_0x339f50;_0x25e6ec===_0x12afa3[_0x195c67(0x441)][_0x195c67(0x3ea)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x339f50(0x277)]['event$']['pipe'](_0x5f36f4[_0x339f50(0x308)](this[_0x339f50(0x33b)]))[_0x339f50(0x364)](_0x3c911e=>{const _0x2da47c=_0x339f50,_0x2cbc17=_0x3c911e[_0x2da47c(0x320)];_0x2cbc17===_0x36b4bf[_0x2da47c(0x396)]['UPDATE_CURSOR']&&this[_0x2da47c(0x2be)](_0x3c911e),_0x2cbc17===_0x36b4bf[_0x2da47c(0x396)]['USERS_LEAVE']&&this[_0x2da47c(0x25f)](_0x3c911e);}),this[_0x339f50(0x465)](),this['disposeWithMe'](this[_0x339f50(0x3cf)][_0x339f50(0x42e)](_0x4902a8=>{const _0x591b39=_0x339f50;if(this[_0x591b39(0x1c7)]&&_0x4902a8['id']===_0x15fda1[_0x591b39(0x32f)]['id']&&_0x4902a8[_0x591b39(0x344)][_0x591b39(0x3c2)]===this[_0x591b39(0x2b4)]){const _0x3ad02c=_0x4902a8[_0x591b39(0x344)];this[_0x591b39(0x26b)](_0x3ad02c[_0x591b39(0x40d)],_0x3ad02c[_0x591b39(0x3d7)][0x0]);}})));}[_0x4e0a0f(0x2be)](_0x6d8e17){const _0x5b556b=_0x4e0a0f;var _0x39a93a,_0x17f441;const {memberID:_0x3849b4,selection:_0x55a029}=_0x6d8e17[_0x5b556b(0x3fb)],{sheetName:_0x4d2e1c,range:_0x304395}=_0x5cefe9['deserializeRangeWithSheet'](_0x55a029),_0x4abf5c={'name':(_0x17f441=(_0x39a93a=this[_0x5b556b(0x457)][_0x5b556b(0x439)](this[_0x5b556b(0x2b4)],_0x3849b4))==null?void 0x0:_0x39a93a[_0x5b556b(0x483)])!=null?_0x17f441:_0x5b556b(0x3b7),'range':this[_0x5b556b(0x3b6)](_0x4d2e1c,_0x304395),'sheetID':_0x4d2e1c,'color':this[_0x5b556b(0x3f6)][_0x5b556b(0x417)](_0x3849b4),'selection':_0x55a029},_0x203e6a=this[_0x5b556b(0x3a1)];_0x203e6a[_0x5b556b(0x33d)](_0x3849b4,_0x4abf5c),this[_0x5b556b(0x3ef)][_0x5b556b(0x2a7)](_0x203e6a);}[_0x4e0a0f(0x25f)](_0x16255d){const _0x14ebfd=_0x4e0a0f,{memberID:_0x1b745c}=_0x16255d[_0x14ebfd(0x3fb)],_0x1fb9df=this[_0x14ebfd(0x3a1)];_0x1fb9df[_0x14ebfd(0x32d)](_0x1b745c),this[_0x14ebfd(0x3ef)][_0x14ebfd(0x2a7)](_0x1fb9df);}[_0x4e0a0f(0x3b6)](_0x5e4a7e,_0x2a1ee4){const _0x12f524=_0x4e0a0f;var _0x496b9b,_0x5cf23a;const _0x59e30b=(_0x5cf23a=(_0x496b9b=this['_univerInstanceService'][_0x12f524(0x1c0)](this['unitID']))==null?void 0x0:_0x496b9b['getSheetBySheetId'](_0x5e4a7e))==null?void 0x0:_0x5cf23a[_0x12f524(0x2b6)]();return(_0x59e30b==null?void 0x0:_0x59e30b[_0x12f524(0x340)](_0x211d6b=>_0x3d65d5[_0x12f524(0x29a)][_0x12f524(0x1bc)](_0x211d6b,_0x2a1ee4)))||_0x2a1ee4;}['_onRefRangeChange'](){const _0x2e4d7f=_0x4e0a0f,_0x3948a5=new _0x3d65d5[(_0x2e4d7f(0x2a3))](),_0xb4672d=_0x351cca(),_0x5a6737=()=>{const _0x4fd607=_0x2e4d7f;_0x3948a5[_0x4fd607(0x3ab)]();const _0x1e6a86=(_0x598151,_0x58936a,_0xd573e9,_0x29bdfd)=>{const _0x5ed474=_0x4fd607;let _0x2cedf1=[];switch(_0x598151['id']){case _0x15fda1[_0x5ed474(0x2f7)][_0x5ed474(0x45d)]:{_0x2cedf1=_0x15fda1[_0x5ed474(0x3c6)](_0x598151,_0x29bdfd);break;}case _0x15fda1[_0x5ed474(0x2f7)][_0x5ed474(0x2b0)]:{_0x2cedf1=_0x15fda1['handleDeleteRangeMoveUp'](_0x598151,_0x29bdfd);break;}case _0x15fda1[_0x5ed474(0x2f7)][_0x5ed474(0x472)]:{_0x2cedf1=_0x15fda1['handleInsertCol'](_0x598151,_0x29bdfd);break;}case _0x15fda1[_0x5ed474(0x2f7)]['InsertRangeMoveDownCommandId']:{_0x2cedf1=_0x15fda1[_0x5ed474(0x292)](_0x598151,_0x29bdfd);break;}case _0x15fda1[_0x5ed474(0x2f7)]['InsertRangeMoveRightCommandId']:{_0x2cedf1=_0x15fda1[_0x5ed474(0x304)](_0x598151,_0x29bdfd);break;}case _0x15fda1['EffectRefRangId'][_0x5ed474(0x3c0)]:{_0x2cedf1=_0x15fda1[_0x5ed474(0x35f)](_0x598151,_0x29bdfd);break;}case _0x15fda1[_0x5ed474(0x2f7)][_0x5ed474(0x27d)]:{_0x2cedf1=_0x15fda1['handleMoveRange'](_0x598151,_0x29bdfd);break;}case _0x15fda1[_0x5ed474(0x2f7)][_0x5ed474(0x2e5)]:{_0x2cedf1=_0x15fda1[_0x5ed474(0x3a5)](_0x598151,_0x29bdfd);break;}case _0x15fda1[_0x5ed474(0x2f7)]['RemoveRowCommandId']:{_0x2cedf1=_0x15fda1['handleIRemoveRow'](_0x598151,_0x29bdfd);break;}}const _0x3667dd=_0x15fda1[_0x5ed474(0x418)](_0x2cedf1,_0x29bdfd),_0x507b3a=this[_0x5ed474(0x3a1)]['get'](_0x58936a);if(_0x507b3a&&_0x3667dd){const _0x5d5df4={..._0x507b3a,'range':_0x3667dd};this[_0x5ed474(0x3a1)]['set'](_0x58936a,_0x5d5df4),_0xb4672d(()=>{const _0x4b7fd6=_0x5ed474,_0x5988ed=this[_0x4b7fd6(0x3b5)][_0x4b7fd6(0x2d5)](_0x3667dd,_0x16aa4f=>(_0x5988ed[_0x4b7fd6(0x3ab)](),_0x1e6a86(_0x16aa4f,_0x58936a,_0xd573e9,_0x3667dd)));_0x3948a5[_0x4b7fd6(0x3f0)](_0x5988ed);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x4fd607(0x3e9)]((_0x5619bf,_0x382e6c)=>{const _0x126a82=_0x4fd607,{range:_0x4dd476,sheetID:_0x375435}=_0x5619bf,_0x15935a=this[_0x126a82(0x3b5)]['registerRefRange'](_0x4dd476,_0x4c1001=>(_0x15935a['dispose'](),_0x1e6a86(_0x4c1001,_0x382e6c,_0x375435,_0x4dd476)));_0x3948a5[_0x126a82(0x3f0)](_0x15935a);});};this[_0x2e4d7f(0x38a)](_0x3d65d5[_0x2e4d7f(0x31b)](this['_cursorInfo$'][_0x2e4d7f(0x364)](()=>{_0x5a6737();})));}['_toggleOnline'](){const _0x327fd3=_0x4e0a0f;var _0x1276c5,_0x2c2586;if(this[_0x327fd3(0x1c7)]=!0x0,((_0x1276c5=this[_0x327fd3(0x2dc)][_0x327fd3(0x263)]())==null?void 0x0:_0x1276c5['getUnitId']())!==this[_0x327fd3(0x2b4)])return;const _0x566d4e=(_0x2c2586=this[_0x327fd3(0x458)][_0x327fd3(0x236)](_0x15fda1['SheetsSelectionsService'])[_0x327fd3(0x22a)]())==null?void 0x0:_0x2c2586[0x0],_0x31ac52=this[_0x327fd3(0x2dc)][_0x327fd3(0x35d)](_0x3d65d5[_0x327fd3(0x307)][_0x327fd3(0x3ac)])[_0x327fd3(0x214)]();_0x566d4e&&_0x31ac52&&this[_0x327fd3(0x26b)](_0x31ac52[_0x327fd3(0x3e6)](),_0x566d4e);}[_0x4e0a0f(0x1d7)](){this['_online']=!0x1;}};_0x184e5c=_0x2e5d70([_0x1e1e54(0x2,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x2c0)])),_0x1e1e54(0x3,_0x3d65d5[_0x4e0a0f(0x24b)](_0x5b2747)),_0x1e1e54(0x4,_0x3d65d5[_0x4e0a0f(0x24b)](_0x12afa3[_0x4e0a0f(0x1a5)])),_0x1e1e54(0x5,_0x3d65d5[_0x4e0a0f(0x2b2)]),_0x1e1e54(0x6,_0x3d65d5[_0x4e0a0f(0x1ad)]),_0x1e1e54(0x7,_0x3d65d5[_0x4e0a0f(0x24b)](_0x15fda1[_0x4e0a0f(0x256)]))],_0x184e5c);var _0xcba188=Object['getOwnPropertyDescriptor'],_0x177813=(_0x237964,_0x1708f4,_0x5eceb1,_0x4dabe4)=>{const _0x1ab79c=_0x4e0a0f;for(var _0x50d65b=_0x4dabe4>0x1?void 0x0:_0x4dabe4?_0xcba188(_0x1708f4,_0x5eceb1):_0x1708f4,_0x5ea82e=_0x237964[_0x1ab79c(0x401)]-0x1,_0x200594;_0x5ea82e>=0x0;_0x5ea82e--)(_0x200594=_0x237964[_0x5ea82e])&&(_0x50d65b=_0x200594(_0x50d65b)||_0x50d65b);return _0x50d65b;},_0x19d85c=(_0x16e646,_0x220c70)=>(_0x535913,_0x5791f6)=>_0x220c70(_0x535913,_0x5791f6,_0x16e646);let _0x1a8b3b=class extends _0x3d65d5[_0x4e0a0f(0x2c6)]{constructor(_0x24c20e,_0x3716b2,_0x7ee558){const _0x153f87=_0x4e0a0f;super(),_0x519c33(this,_0x153f87(0x3b0),new Map()),_0x519c33(this,_0x153f87(0x2eb),new _0x5f36f4[(_0x153f87(0x1f4))]()),(this[_0x153f87(0x2dc)]=_0x24c20e,this[_0x153f87(0x458)]=_0x3716b2,this[_0x153f87(0x252)]=_0x7ee558,this[_0x153f87(0x276)]());}['dispose'](){const _0x5274b0=_0x4e0a0f;super[_0x5274b0(0x3ab)](),this[_0x5274b0(0x2eb)][_0x5274b0(0x440)](),this['_entities'][_0x5274b0(0x3e9)](_0x517d84=>_0x517d84['dispose']());}[_0x4e0a0f(0x28b)](_0x5d4155){const _0x13532c=_0x4e0a0f;return this[_0x13532c(0x3b0)][_0x13532c(0x41e)](_0x5d4155)?this[_0x13532c(0x3b0)]['get'](_0x5d4155)[_0x13532c(0x251)]:this['_entityInit$'][_0x13532c(0x2c1)](_0x5f36f4[_0x13532c(0x2af)](_0x38631e=>_0x38631e[_0x13532c(0x2b4)]===_0x5d4155),_0x5f36f4['switchMap'](_0x44effb=>_0x44effb[_0x13532c(0x251)]));}[_0x4e0a0f(0x276)](){const _0x53af69=_0x4e0a0f;this['_univerInstanceService'][_0x53af69(0x47e)](_0x3d65d5[_0x53af69(0x307)][_0x53af69(0x3ac)])[_0x53af69(0x2c1)](_0x5f36f4['takeUntil'](this[_0x53af69(0x33b)]))[_0x53af69(0x364)](async _0x34ff02=>{const _0x241371=_0x53af69,_0x2dba0c=_0x34ff02[_0x241371(0x347)](),_0xf28859=await this[_0x241371(0x253)](_0x2dba0c);this[_0x241371(0x2eb)][_0x241371(0x2a7)](_0xf28859),this[_0x241371(0x3b0)][_0x241371(0x33d)](_0x2dba0c,_0xf28859);}),this[_0x53af69(0x2dc)]['getTypeOfUnitAdded$'](_0x3d65d5[_0x53af69(0x307)][_0x53af69(0x1c2)])[_0x53af69(0x2c1)](_0x5f36f4[_0x53af69(0x308)](this[_0x53af69(0x33b)]))['pipe'](_0x5f36f4[_0x53af69(0x2af)](_0x54e2e2=>!_0x54e2e2[_0x53af69(0x347)]()[_0x53af69(0x290)]('__')))[_0x53af69(0x364)](async _0x5014f8=>{const _0xa9ec43=_0x53af69,_0x5ed288=_0x5014f8[_0xa9ec43(0x347)](),_0xf2010c=await this['_startDocCollabCursor'](_0x5ed288);this[_0xa9ec43(0x2eb)]['next'](_0xf2010c),this['_entities'][_0xa9ec43(0x33d)](_0x5ed288,_0xf2010c);}),_0x5f36f4['merge'](this[_0x53af69(0x2dc)]['getTypeOfUnitDisposed$'](_0x3d65d5['UniverInstanceType'][_0x53af69(0x1c2)]),this[_0x53af69(0x2dc)]['getTypeOfUnitDisposed$'](_0x3d65d5[_0x53af69(0x307)][_0x53af69(0x3ac)]))['pipe'](_0x5f36f4[_0x53af69(0x308)](this[_0x53af69(0x33b)]))[_0x53af69(0x364)](_0x3b940b=>{const _0x366465=_0x53af69,_0x40df99=_0x3b940b[_0x366465(0x347)](),_0x2590da=this[_0x366465(0x3b0)][_0x366465(0x236)](_0x40df99);_0x2590da&&(_0x2590da[_0x366465(0x3ab)](),this[_0x366465(0x3b0)][_0x366465(0x32d)](_0x40df99));});}async['_startSheetCollabCursor'](_0x175035){const _0x186654=_0x4e0a0f,_0x54f8e6=await this['_collabSessionService']['requireSession'](_0x175035),_0x4c1a16=this[_0x186654(0x458)]['createInstance'](_0x184e5c,_0x175035,_0x54f8e6);return _0x4c1a16[_0x186654(0x265)](),_0x4c1a16;}async[_0x4e0a0f(0x1d2)](_0x5b3f32){const _0x35b08c=_0x4e0a0f,_0x52922b=await this['_collabSessionService'][_0x35b08c(0x2cf)](_0x5b3f32),_0x1c2164=this['_injector']['createInstance'](_0x420b41,_0x5b3f32,_0x52922b);return _0x1c2164[_0x35b08c(0x265)](),_0x1c2164;}};_0x1a8b3b=_0x177813([_0x19d85c(0x0,_0x3d65d5[_0x4e0a0f(0x2b2)]),_0x19d85c(0x1,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5['Injector'])),_0x19d85c(0x2,_0x3d65d5[_0x4e0a0f(0x24b)](_0x12afa3[_0x4e0a0f(0x1e8)]))],_0x1a8b3b);const _0x229689=0x14,_0x83e6a2=0xc8,_0x30c48d=0x4,_0x2baa1d=0x5;function _0x319ccb(_0x627b44,_0x94d701){const _0x4e41ab=_0x4e0a0f;let {radius:_0x415de1,width:_0x1252e3,height:_0x30d341}=_0x94d701;_0x415de1=_0x415de1!=null?_0x415de1:0x0,_0x1252e3=_0x1252e3!=null?_0x1252e3:0x1e,_0x30d341=_0x30d341!=null?_0x30d341:0x1e;let _0x4f883a=0x0,_0x4bb270=0x0,_0x2b80dd=0x0;_0x4f883a=_0x4bb270=_0x2b80dd=Math[_0x4e41ab(0x39c)](_0x415de1,_0x1252e3/0x2,_0x30d341/0x2),_0x627b44[_0x4e41ab(0x266)](),_0x627b44['moveTo'](_0x4f883a,0x0),_0x627b44[_0x4e41ab(0x235)](_0x1252e3-_0x4bb270,0x0),_0x627b44[_0x4e41ab(0x1e7)](_0x1252e3-_0x4bb270,_0x4bb270,_0x4bb270,Math['PI']*0x3/0x2,0x0,!0x1),_0x627b44['lineTo'](_0x1252e3,_0x30d341-_0x2b80dd),_0x627b44[_0x4e41ab(0x1e7)](_0x1252e3-_0x2b80dd,_0x30d341-_0x2b80dd,_0x2b80dd,0x0,Math['PI']/0x2,!0x1),_0x627b44[_0x4e41ab(0x235)](0x0,_0x30d341),_0x627b44[_0x4e41ab(0x235)](0x0,_0x4f883a),_0x627b44[_0x4e41ab(0x1e7)](_0x4f883a,_0x4f883a,_0x4f883a,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x627b44[_0x4e41ab(0x272)](),_0x94d701[_0x4e41ab(0x2c7)]&&(_0x627b44[_0x4e41ab(0x2f8)](),_0x627b44[_0x4e41ab(0x343)]=_0x94d701[_0x4e41ab(0x2c7)],_0x94d701['fillRule']==='evenodd'?_0x627b44[_0x4e41ab(0x2c7)](_0x4e41ab(0x48d)):_0x627b44[_0x4e41ab(0x2c7)](),_0x627b44['restore']());}class _0x5b2f04 extends _0x48b1a2[_0x4e0a0f(0x35b)]{constructor(_0x1877b4,_0xb5126){const _0x3f2347=_0x4e0a0f;super(_0x1877b4,_0xb5126),_0x519c33(this,_0x3f2347(0x1b6)),_0x519c33(this,_0x3f2347(0x1d4)),(this[_0x3f2347(0x1b6)]=_0xb5126==null?void 0x0:_0xb5126[_0x3f2347(0x1b6)],this[_0x3f2347(0x1d4)]=_0xb5126==null?void 0x0:_0xb5126['text']);}static[_0x4e0a0f(0x437)](_0x54dc4d,_0x43c0ab){const _0x401195=_0x4e0a0f,{text:_0x1641a8,color:_0x2735e4}=_0x43c0ab;_0x54dc4d['save'](),_0x54dc4d[_0x401195(0x476)]=_0x401195(0x244);const _0x50e4ff=_0x54dc4d[_0x401195(0x221)](_0x1641a8)['width'],_0x18ade3=Math[_0x401195(0x39c)](_0x50e4ff+0x2*_0x30c48d,_0x83e6a2);_0x319ccb(_0x54dc4d,{'height':_0x229689,'radius':0x4,'width':_0x18ade3,'fill':_0x2735e4}),_0x54dc4d['fillStyle']=_0x401195(0x399);const _0x357372=_0x30c48d,_0x5a3fa5=_0x229689-_0x2baa1d,_0x290063=_0x83e6a2-0x2*_0x30c48d;if(_0x50e4ff>_0x290063){let _0x3e8240='',_0x5a2f57=0x0;for(const _0x469650 of _0x1641a8){const _0x15f404=_0x54dc4d[_0x401195(0x221)](_0x469650)[_0x401195(0x1c9)];if(_0x5a2f57+_0x15f404<=_0x290063-_0x54dc4d[_0x401195(0x221)](_0x401195(0x2fc))[_0x401195(0x1c9)])_0x3e8240+=_0x469650,_0x5a2f57+=_0x15f404;else{_0x3e8240+=_0x401195(0x2fc);break;}}_0x54dc4d[_0x401195(0x288)](_0x3e8240,_0x357372,_0x5a3fa5);}else _0x54dc4d['fillText'](_0x1641a8,_0x357372,_0x5a3fa5);_0x54dc4d[_0x401195(0x2f6)]();}[_0x4e0a0f(0x3aa)](_0x2ab8f5){const _0x5c17ff=_0x4e0a0f;_0x5b2f04[_0x5c17ff(0x437)](_0x2ab8f5,this);}}const _0x50cfe3=_0x4e0a0f(0x468),_0x140d89='collab-text-range-',_0x5e5c20=_0x4e0a0f(0x378),_0x1ac988=0x6,_0x5e4d8c=1.5,_0x444cdb=0x4,_0x58d0e4=1.5,_0x1f38c6=_0x4e0a0f(0x26f);class _0xfd4ff8{constructor(_0x26d56a,_0x2d569e,_0x5ddc46,_0x1e4e37){const _0xe38f79=_0x4e0a0f;_0x519c33(this,_0xe38f79(0x2fb),[]),_0x519c33(this,'_anchor',null),_0x519c33(this,_0xe38f79(0x1d8),null),_0x519c33(this,'_anchorDot',null),_0x519c33(this,'_hideTimer',null),_0x519c33(this,_0xe38f79(0x2e8),null),(this['_cursor']=_0x26d56a,this[_0xe38f79(0x220)]=_0x2d569e,this[_0xe38f79(0x39a)]=_0x5ddc46,this[_0xe38f79(0x452)]=_0x1e4e37,this[_0xe38f79(0x39d)]());}set[_0x4e0a0f(0x366)](_0x5d25b8){const _0x406d2b=_0x4e0a0f;_0x5d25b8?(this[_0x406d2b(0x240)]&&this[_0x406d2b(0x240)][_0x406d2b(0x2a6)](),this[_0x406d2b(0x1d8)]&&this[_0x406d2b(0x1d8)][_0x406d2b(0x480)]()):(this['_anchorDot']&&this['_anchorDot'][_0x406d2b(0x480)](),this[_0x406d2b(0x1d8)]&&this[_0x406d2b(0x1d8)][_0x406d2b(0x2a6)]());}[_0x4e0a0f(0x3ab)](){const _0x281997=_0x4e0a0f;for(const _0xdbd56f of this[_0x281997(0x2fb)])_0xdbd56f[_0x281997(0x3ab)]();this[_0x281997(0x1d8)]&&this['_textBubble'][_0x281997(0x3ab)](),this['_anchorDot']&&this[_0x281997(0x240)][_0x281997(0x3ab)](),this[_0x281997(0x211)]&&this[_0x281997(0x211)][_0x281997(0x3ab)](),this[_0x281997(0x2e8)]&&this[_0x281997(0x2e8)]();}[_0x4e0a0f(0x39d)](){const _0x3d387d=_0x4e0a0f;var _0x2e4ec6;const {_docSkeleton:_0x11ad8e,_document:_0x4d250e}=this,{color:_0x210acb,name:_0x1f8df0,ranges:_0x4ed052}=this[_0x3d387d(0x24f)],_0xa4484f=_0x4d250e['getOffsetConfig'](),{docsLeft:_0x1055ad,docsTop:_0x66eafc}=_0xa4484f,_0x404205=new _0x2cb679[(_0x3d387d(0x28e))](_0xa4484f,_0x11ad8e);for(const {startOffset:_0x346e3c,endOffset:_0x31c63d,rangeType:_0x3c151e,segmentId:_0x134fbe,segmentPage:_0x5030e0,collapsed:_0x11cafc,isActive:_0x2d1e6a}of _0x4ed052){const _0x4a0383=_0x11ad8e[_0x3d387d(0x391)](_0x346e3c,!0x0,_0x134fbe,_0x5030e0);let _0x47f1e8=_0x11ad8e[_0x3d387d(0x391)](_0x31c63d,!0x0,_0x134fbe,_0x5030e0);if(_0x47f1e8==null&&(_0x47f1e8=_0x11ad8e['findNodePositionByCharIndex'](_0x31c63d-0x1,!0x1,_0x134fbe,_0x5030e0)),_0x2d1e6a){const {contentBoxPointGroup:_0x19feec}=_0x404205[_0x3d387d(0x26a)](_0x47f1e8,_0x47f1e8);if(_0x19feec[_0x3d387d(0x401)]===0x0)continue;this['_drawAnchor'](_0x210acb,_0x19feec,_0x1055ad,_0x66eafc,_0x1f8df0),this[_0x3d387d(0x2e8)]=this['_handleHover']();}if(_0x4a0383&&_0x47f1e8){if(_0x3c151e===_0x3d65d5['DOC_RANGE_TYPE'][_0x3d387d(0x460)]){const _0x25b6b7=new _0x2cb679[(_0x3d387d(0x2c3))](_0xa4484f,_0x11ad8e),{pointGroup:_0x299a4b}=(_0x2e4ec6=_0x25b6b7[_0x3d387d(0x26a)](_0x4a0383,_0x47f1e8))!=null?_0x2e4ec6:{};if(_0x299a4b==null||_0x299a4b['length']===0x0)continue;this[_0x3d387d(0x336)](_0x210acb,_0x299a4b,_0x1055ad,_0x66eafc);}else{if(!_0x11cafc){const {borderBoxPointGroup:_0x511e8d}=_0x404205[_0x3d387d(0x26a)](_0x4a0383,_0x47f1e8);if(_0x511e8d[_0x3d387d(0x401)]===0x0)continue;this['_drawTextRange'](_0x210acb,_0x511e8d,_0x1055ad,_0x66eafc);}}}}}[_0x4e0a0f(0x385)](_0x297fd9,_0x106a33,_0x21d938,_0x1d50e2,_0x192b84){const _0x449a4c=_0x4e0a0f,_0x5738dc=this[_0x449a4c(0x223)](_0x106a33),{left:_0x40880b,top:_0x33f2dd,height:_0xef89e6}=_0x5738dc,_0x3ded9a=this[_0x449a4c(0x2fd)](),_0x386119=_0x58d0e4/_0x3ded9a,_0x3a2580=new _0x48b1a2['Rect'](_0x50cfe3+_0x3d65d5[_0x449a4c(0x448)](_0x1ac988),{'left':_0x40880b+_0x21d938-_0x386119,'top':_0x33f2dd+_0x1d50e2,'height':_0xef89e6,'width':_0x5e4d8c,'fill':_0x297fd9||_0x48b1a2['getColor'](_0x3d65d5[_0x449a4c(0x1b4)][_0x449a4c(0x218)],0x0),'strokeWidth':_0x386119,'stroke':_0x1f38c6,'evented':!0x0});this[_0x449a4c(0x211)]=_0x3a2580,this[_0x449a4c(0x220)]['addObject'](_0x3a2580,_0x2cb679[_0x449a4c(0x474)]);const _0x5e7040=new _0x48b1a2[(_0x449a4c(0x37c))](_0x50cfe3+_0x3d65d5[_0x449a4c(0x448)](_0x1ac988),{'left':_0x40880b+_0x21d938-_0x386119,'top':_0x33f2dd+_0x1d50e2-_0x444cdb/0x2,'height':_0x444cdb,'width':_0x444cdb,'fill':_0x297fd9||_0x48b1a2[_0x449a4c(0x226)](_0x3d65d5[_0x449a4c(0x1b4)][_0x449a4c(0x218)],0x0),'strokeWidth':0x0,'stroke':_0x297fd9||_0x48b1a2[_0x449a4c(0x226)](_0x3d65d5[_0x449a4c(0x1b4)][_0x449a4c(0x218)],0x0),'evented':!0x1});this[_0x449a4c(0x240)]=_0x5e7040,this['_scene'][_0x449a4c(0x25e)](_0x5e7040,_0x2cb679[_0x449a4c(0x474)]);const _0x3114bb=new _0x5b2f04(_0x50cfe3+_0x3d65d5[_0x449a4c(0x448)](_0x1ac988),{'left':_0x40880b+_0x21d938-_0x386119,'top':_0x33f2dd+_0x1d50e2-_0x229689,'text':_0x192b84,'color':_0x297fd9});this['_textBubble']=_0x3114bb,this[_0x449a4c(0x220)][_0x449a4c(0x25e)](_0x3114bb,_0x2cb679[_0x449a4c(0x474)]),this[_0x449a4c(0x366)]=!0x1;}[_0x4e0a0f(0x233)](){const _0x6c5d55=_0x4e0a0f,_0xdecd1a=this[_0x6c5d55(0x211)]['onPointerEnter$']['subscribeEvent'](()=>{const _0x449b9d=_0x6c5d55;this[_0x449b9d(0x366)]=!0x0;}),_0x1537da=this[_0x6c5d55(0x211)][_0x6c5d55(0x36b)]['subscribeEvent'](()=>{const _0x9e337d=_0x6c5d55;this[_0x9e337d(0x331)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x5b3277=_0x9e337d;this[_0x5b3277(0x366)]=!0x1;},0x7d0);});return()=>{const _0x4f6319=_0x6c5d55;_0xdecd1a[_0x4f6319(0x21a)](),_0x1537da['unsubscribe']();};}['_drawTextRange'](_0x1dc43c,_0x2d8e85,_0xca5b7,_0x39ad9d){const _0x5bb810=_0x4e0a0f,_0x27f74b=new _0x3d65d5[(_0x5bb810(0x1aa))](_0x1dc43c)[_0x5bb810(0x3b3)](0.2)[_0x5bb810(0x3e2)](),_0x3c46c0=new _0x48b1a2['RegularPolygon'](_0x140d89+_0x3d65d5[_0x5bb810(0x448)](_0x1ac988),{'pointsGroup':_0x2d8e85,'fill':_0x27f74b||_0x48b1a2[_0x5bb810(0x226)](_0x3d65d5[_0x5bb810(0x1b4)][_0x5bb810(0x218)],0.2),'left':_0xca5b7,'top':_0x39ad9d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5bb810(0x2fb)][_0x5bb810(0x1c3)](_0x3c46c0),this[_0x5bb810(0x220)][_0x5bb810(0x25e)](_0x3c46c0,_0x2cb679[_0x5bb810(0x474)]);}[_0x4e0a0f(0x336)](_0x209ad5,_0x9babd1,_0x4ca6ab,_0x19e0a6){const _0x9044f3=_0x4e0a0f,_0x4073e3=new _0x3d65d5['ColorKit'](_0x209ad5)[_0x9044f3(0x3b3)](0.2)[_0x9044f3(0x3e2)](),_0x448245=new _0x48b1a2[(_0x9044f3(0x428))](_0x5e5c20+_0x3d65d5[_0x9044f3(0x448)](_0x1ac988),{'pointsGroup':_0x9babd1,'fill':_0x4073e3||_0x48b1a2[_0x9044f3(0x226)](_0x3d65d5[_0x9044f3(0x1b4)]['black'],0.2),'left':_0x4ca6ab,'top':_0x19e0a6,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x9044f3(0x1c3)](_0x448245),this[_0x9044f3(0x220)][_0x9044f3(0x25e)](_0x448245,_0x2cb679[_0x9044f3(0x474)]);}[_0x4e0a0f(0x223)](_0x906e01){const _0xa09897=_0x906e01[0x0],_0xc870c0=_0xa09897[0x0],_0x3c04fe=_0xa09897[0x2],{x:_0x52b019,y:_0x279e18}=_0xc870c0,{x:_0x3808ca,y:_0x4e6c12}=_0x3c04fe;return{'left':_0x52b019,'top':_0x279e18,'width':_0x3808ca-_0x52b019,'height':_0x4e6c12-_0x279e18};}[_0x4e0a0f(0x2fd)](){const _0x19f7d4=_0x4e0a0f,{scaleX:_0x3581a1,scaleY:_0x2894cf}=this[_0x19f7d4(0x220)]['getAncestorScale']();return Math['max'](_0x3581a1,_0x2894cf);}}var _0x26255b=Object['getOwnPropertyDescriptor'],_0x59857d=(_0x5f4e3b,_0x1894fb,_0x561642,_0x4b5253)=>{for(var _0x1d30bc=_0x4b5253>0x1?void 0x0:_0x4b5253?_0x26255b(_0x1894fb,_0x561642):_0x1894fb,_0x32a53d=_0x5f4e3b['length']-0x1,_0x3d3f37;_0x32a53d>=0x0;_0x32a53d--)(_0x3d3f37=_0x5f4e3b[_0x32a53d])&&(_0x1d30bc=_0x3d3f37(_0x1d30bc)||_0x1d30bc);return _0x1d30bc;},_0x365bd7=(_0x436cb1,_0x1ea3de)=>(_0x4f9972,_0x101563)=>_0x1ea3de(_0x4f9972,_0x101563,_0x436cb1);let _0xfead4d=class extends _0x3d65d5['RxDisposable']{constructor(_0x45f671,_0x5dd99a,_0x5c3a38,_0x1e7cc0,_0x72ddff){const _0x1180bc=_0x4e0a0f;super(),_0x519c33(this,'_cursorShapes',[]),_0x519c33(this,_0x1180bc(0x3f2),[]),(this[_0x1180bc(0x2f5)]=_0x45f671,this[_0x1180bc(0x42b)]=_0x5dd99a,this[_0x1180bc(0x326)]=_0x5c3a38,this[_0x1180bc(0x3cf)]=_0x1e7cc0,this['_themeService']=_0x72ddff,this[_0x1180bc(0x276)]());}['_init'](){const _0x3ba953=_0x4e0a0f,_0x3cdf60=this['_context'][_0x3ba953(0x3c2)],_0x4c4969=this['_docSkeletonManagerService'];this[_0x3ba953(0x38a)](_0x5f36f4[_0x3ba953(0x2ce)]([this[_0x3ba953(0x326)][_0x3ba953(0x28b)](_0x3cdf60),this[_0x3ba953(0x38d)][_0x3ba953(0x387)]])[_0x3ba953(0x2c1)](_0x4c0e1b[_0x3ba953(0x1a8)](([_0x21ed5b,_0x1d526b])=>({'skeleton':_0x4c4969[_0x3ba953(0x42c)](),'cursors':[..._0x21ed5b['values']()][_0x3ba953(0x370)](_0x364fa7=>({..._0x364fa7,'color':this[_0x3ba953(0x38d)][_0x3ba953(0x2e7)](_0x364fa7[_0x3ba953(0x1b6)])}))})))[_0x3ba953(0x364)](_0x125128=>{const _0x8dcf81=_0x3ba953;if(this[_0x8dcf81(0x303)](),_0x125128){const {skeleton:_0x45f7f2,cursors:_0x7a42ea}=_0x125128;this[_0x8dcf81(0x1f2)](_0x45f7f2,_0x7a42ea);}})),this['_initResize'](),this[_0x3ba953(0x2e2)]();}[_0x4e0a0f(0x1f2)](_0x33f740,_0x2dbd05){const _0x2d82a5=_0x4e0a0f,{scene:_0x5356d5,mainComponent:_0x1ecdde}=this['_context'],_0x20287f=_0x2dbd05[_0x2d82a5(0x1a8)](_0x314fb7=>new _0xfd4ff8(_0x314fb7,_0x5356d5,_0x33f740,_0x1ecdde));this[_0x2d82a5(0x3e4)]=_0x20287f,this['_cursors']=_0x2dbd05;}[_0x4e0a0f(0x2d6)](){const _0x33ce00=_0x4e0a0f;this[_0x33ce00(0x303)]();const {scene:_0x409774,mainComponent:_0x52a719}=this[_0x33ce00(0x2f5)],_0xf81a62=this[_0x33ce00(0x42b)][_0x33ce00(0x42c)](),_0x5bb0df=this[_0x33ce00(0x3f2)][_0x33ce00(0x1a8)](_0x89f46f=>new _0xfd4ff8(_0x89f46f,_0x409774,_0xf81a62,_0x52a719));this[_0x33ce00(0x3e4)]=_0x5bb0df;}['_removeCollabCursors'](){const _0x10df7b=_0x4e0a0f;this[_0x10df7b(0x3e4)]['forEach'](_0x56762f=>_0x56762f[_0x10df7b(0x3ab)]()),this['_cursorShapes']=[];}[_0x4e0a0f(0x2e2)](){const _0x2641c8=_0x4e0a0f,_0x3224be=[_0x2cb679['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x2641c8(0x3cf)][_0x2641c8(0x42e)](_0x432e92=>{const _0x22906a=_0x2641c8;_0x3224be['includes'](_0x432e92['id'])&&_0x432e92['params'][_0x22906a(0x3c2)]===this['_context']['unitId']&&this[_0x22906a(0x2d6)]();}));}[_0x4e0a0f(0x3d5)](){const _0x35c78a=_0x4e0a0f;this[_0x35c78a(0x38a)](_0x3d65d5[_0x35c78a(0x34a)](this['_context'][_0x35c78a(0x2e4)]['onTransformChange$'])['pipe'](_0x4c0e1b[_0x35c78a(0x2af)](_0x291202=>_0x291202[_0x35c78a(0x1d3)]===_0x48b1a2[_0x35c78a(0x24e)][_0x35c78a(0x1bd)]),_0x4c0e1b[_0x35c78a(0x3a9)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0xfead4d=_0x59857d([_0x365bd7(0x1,_0x3d65d5[_0x4e0a0f(0x24b)](_0x301e8e['DocSkeletonManagerService'])),_0x365bd7(0x2,_0x3d65d5[_0x4e0a0f(0x24b)](_0x1a8b3b)),_0x365bd7(0x3,_0x3d65d5[_0x4e0a0f(0x1ad)]),_0x365bd7(0x4,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x36f)]))],_0xfead4d);const _0x5e3ed6=0x1,_0x107d1c=1.5;class _0x4e0ebf extends _0x48b1a2[_0x4e0a0f(0x35b)]{constructor(_0x21d49a,_0x2b6474){const _0x4f905e=_0x4e0a0f;super(_0x21d49a,_0x2b6474),_0x519c33(this,_0x4f905e(0x3c4)),_0x519c33(this,_0x4f905e(0x464),!0x1),_0x519c33(this,_0x4f905e(0x32a)),_0x519c33(this,_0x4f905e(0x33c),''),_0x519c33(this,'_labelPosition','top'),_0x519c33(this,'_backgroundColor'),(_0x2b6474&&this[_0x4f905e(0x1da)](_0x2b6474),this[_0x4f905e(0x3df)]['subscribeEvent'](()=>this[_0x4f905e(0x1da)]({'hovered':!0x0})),this[_0x4f905e(0x36b)][_0x4f905e(0x294)](()=>this[_0x4f905e(0x1da)]({'hovered':!0x1})));}[_0x4e0a0f(0x1da)](_0x5b8d5d){const _0x3f2d38=_0x4e0a0f;var _0x1e8cd3,_0x5942bb,_0x212275,_0x419560,_0x163f37,_0x2bdbdd;this[_0x3f2d38(0x3c4)]=(_0x1e8cd3=_0x5b8d5d[_0x3f2d38(0x1b6)])!=null?_0x1e8cd3:this[_0x3f2d38(0x3c4)],this['_hovered']=(_0x5942bb=_0x5b8d5d['hovered'])!=null?_0x5942bb:this['_hovered'],this['_range']=(_0x212275=_0x5b8d5d[_0x3f2d38(0x2b7)])!=null?_0x212275:this['_range'],this[_0x3f2d38(0x33c)]=(_0x419560=_0x5b8d5d[_0x3f2d38(0x483)])!=null?_0x419560:this[_0x3f2d38(0x33c)],this[_0x3f2d38(0x31a)]=(_0x163f37=_0x5b8d5d['labelPosition'])!=null?_0x163f37:this[_0x3f2d38(0x31a)],this[_0x3f2d38(0x393)]=(_0x2bdbdd=_0x5b8d5d[_0x3f2d38(0x2ee)])!=null?_0x2bdbdd:this[_0x3f2d38(0x393)],this[_0x3f2d38(0x2a0)]({'width':_0x5b8d5d[_0x3f2d38(0x1c9)],'height':_0x5b8d5d[_0x3f2d38(0x2c8)]});}[_0x4e0a0f(0x249)](_0x217cd2){const _0x3ddaba=_0x4e0a0f,{row:_0x53b230,column:_0x10a715}=_0x217cd2;if(_0x53b230>=this[_0x3ddaba(0x32a)][_0x3ddaba(0x2e1)]&&_0x53b230<=this['_range']['endRow']&&_0x10a715>=this['_range'][_0x3ddaba(0x3fc)]&&_0x10a715<=this['_range'][_0x3ddaba(0x345)]){this[_0x3ddaba(0x1da)]({'hovered':!0x0});return;}this[_0x3ddaba(0x1da)]({'hovered':!0x1});}[_0x4e0a0f(0x2cd)](_0x1bb40c){return!0x1;}[_0x4e0a0f(0x3aa)](_0x1b62c7){const _0xedfae3=_0x4e0a0f;_0x48b1a2[_0xedfae3(0x37c)][_0xedfae3(0x437)](_0x1b62c7,{'width':this[_0xedfae3(0x1c9)],'height':this['height'],'strokeWidth':_0x107d1c,'stroke':this[_0xedfae3(0x3c4)],'evented':!0x1,'fill':this[_0xedfae3(0x393)]}),this['_hovered']&&(_0x1b62c7['save'](),_0x1b62c7['transform'](0x1,0x0,0x0,0x1,this[_0xedfae3(0x1c9)],this[_0xedfae3(0x31a)]==='bottom'?0x0:-_0x229689),_0x5b2f04[_0xedfae3(0x437)](_0x1b62c7,{'text':this['_name'],'color':this[_0xedfae3(0x3c4)]}),_0x1b62c7[_0xedfae3(0x2f6)]());}}var _0xc88733=Object[_0x4e0a0f(0x373)],_0x2dcaa0=(_0x4e4f77,_0x3fee74,_0x277880,_0x25f177)=>{const _0x4f8af3=_0x4e0a0f;for(var _0x314c19=_0x25f177>0x1?void 0x0:_0x25f177?_0xc88733(_0x3fee74,_0x277880):_0x3fee74,_0x5293a5=_0x4e4f77[_0x4f8af3(0x401)]-0x1,_0x42f1bf;_0x5293a5>=0x0;_0x5293a5--)(_0x42f1bf=_0x4e4f77[_0x5293a5])&&(_0x314c19=_0x42f1bf(_0x314c19)||_0x314c19);return _0x314c19;},_0x4962e8=(_0x1a265d,_0xae2b27)=>(_0xf2da3d,_0x4ea7f9)=>_0xae2b27(_0xf2da3d,_0x4ea7f9,_0x1a265d);const _0x175c5c=0x1389;let _0x1d6ca3=class extends _0x3d65d5['RxDisposable']{constructor(_0xf84033,_0x2bec21,_0x118adf,_0x5db567){const _0x48c101=_0x4e0a0f;super(),_0x519c33(this,'_cursors',new Set()),_0x519c33(this,'_lastPointer',null),(this[_0x48c101(0x2f5)]=_0xf84033,this['_sheetSkeletonManagerService']=_0x2bec21,this['_collabCursorController']=_0x118adf,this[_0x48c101(0x38d)]=_0x5db567,this[_0x48c101(0x276)]());}['_init'](){const _0x191eae=_0x4e0a0f;this[_0x191eae(0x416)][_0x191eae(0x453)][_0x191eae(0x2c1)](_0x4c0e1b['takeUntil'](this[_0x191eae(0x33b)]),_0x4c0e1b[_0x191eae(0x461)](_0x35e4e5=>{const _0x475256=_0x191eae;if(_0x35e4e5){const _0x49cf66=_0x35e4e5[_0x475256(0x358)];return _0x5f36f4[_0x475256(0x2ce)](this['_collabCursorController'][_0x475256(0x28b)](this[_0x475256(0x2f5)][_0x475256(0x3c2)]),this[_0x475256(0x38d)][_0x475256(0x387)])['pipe'](_0x4c0e1b[_0x475256(0x1a8)](([_0x13985c,_0x2dc93b])=>{const _0x42054f=_0x475256,_0x2e3b85=new Map();return _0x13985c[_0x42054f(0x3e9)]((_0x13cf6a,_0x29cc33)=>{const _0x9e0d3c=_0x42054f;if(_0x13cf6a[_0x9e0d3c(0x406)]===_0x49cf66){const _0xdc32df={..._0x13cf6a};_0xdc32df['color']=this['_themeService'][_0x9e0d3c(0x2e7)](_0x13cf6a[_0x9e0d3c(0x1b6)]),_0x2e3b85[_0x9e0d3c(0x33d)](_0x29cc33,_0xdc32df);}}),{'skeleton':_0x35e4e5,'cursors':_0x2e3b85};}));}return _0x5f36f4['of']({'skeleton':null,'cursors':new Map()});}))[_0x191eae(0x364)](({skeleton:_0x52ed5c,cursors:_0x57fb67})=>{const _0x3efb50=_0x191eae;this[_0x3efb50(0x303)](),_0x52ed5c&&this[_0x3efb50(0x1f2)](_0x52ed5c,_0x57fb67);}),this[_0x191eae(0x416)][_0x191eae(0x453)][_0x191eae(0x364)](_0x53163b=>{const _0x58683b=_0x191eae;if(_0x53163b==null)return;const {skeleton:_0x32c0bd}=_0x53163b,{scene:_0xc0e01f}=this[_0x58683b(0x2f5)];_0xc0e01f[_0x58683b(0x3a3)][_0x58683b(0x294)](_0x3d65d5[_0x58683b(0x469)](_0x2258f1=>{const _0x26edf5=_0x58683b;var _0x435fd4,_0x1c8834;const {offsetX:_0x57506b,offsetY:_0x3d5511}=_0x2258f1,{x:_0x3395e7,y:_0x17ed66}=_0xc0e01f[_0x26edf5(0x405)](_0x48b1a2['Vector2'][_0x26edf5(0x298)]([_0x57506b,_0x3d5511])),{scaleX:_0xf32260,scaleY:_0x5275a1}=_0xc0e01f['getAncestorScale'](),_0x149ca4=_0xc0e01f['getViewport'](_0x48b1a2[_0x26edf5(0x295)][_0x26edf5(0x3dd)]),_0x18cc8c=_0xc0e01f['getVpScrollXYInfoByPosToVp'](_0x48b1a2[_0x26edf5(0x2e9)][_0x26edf5(0x298)]([_0x3395e7,_0x17ed66]),_0x149ca4),_0x3d9cd4=_0x32c0bd['getCellPositionByOffset'](_0x57506b,_0x3d5511,_0xf32260,_0x5275a1,_0x18cc8c);((_0x435fd4=this[_0x26edf5(0x39f)])==null?void 0x0:_0x435fd4['column'])===_0x3d9cd4[_0x26edf5(0x26c)]&&((_0x1c8834=this[_0x26edf5(0x39f)])==null?void 0x0:_0x1c8834[_0x26edf5(0x394)])===_0x3d9cd4[_0x26edf5(0x394)]||this['_cursors']['forEach'](_0x3ec7e7=>{const _0x877422=_0x26edf5;_0x3ec7e7[_0x877422(0x249)](_0x3d9cd4);});},0x64));});}['_updateCollabCursors'](_0x3e7040,_0x1e7e61){const _0x266c8e=_0x4e0a0f;var _0x1d9c98;const _0x5dbe7b=(_0x1d9c98=this[_0x266c8e(0x416)]['getCurrent']())==null?void 0x0:_0x1d9c98[_0x266c8e(0x408)];if(!_0x5dbe7b)return;const _0xbac28f=this['_getSheetObject']();if(!_0xbac28f)return;this[_0x266c8e(0x3f2)][_0x266c8e(0x3e9)](_0x123c4b=>{const _0x2ac356=_0x266c8e;_0x123c4b[_0x2ac356(0x3d0)]();});const {scene:_0x3fe52a}=_0xbac28f,_0x383d25=_0x5c2cdd(Array['from'](_0x1e7e61[_0x266c8e(0x3f8)]()))[_0x266c8e(0x1a8)](_0x2f12ba=>{const _0x4ad135=_0x266c8e,{color:_0x5020a3,range:_0x24eb5a,name:_0x22ffee,selection:_0x1c2090,sheetID:_0x27317e}=_0x2f12ba,{startColumn:_0x727c3d,startRow:_0x3f0cfd,endColumn:_0x1a740e,endRow:_0x28ced7}=_0x24eb5a,_0x2841b3=_0x5df617[_0x4ad135(0x352)](_0x3f0cfd,_0x727c3d,_0x3fe52a,_0x5dbe7b),_0x411673=_0x5df617['getCoordByCell'](_0x28ced7,_0x1a740e,_0x3fe52a,_0x5dbe7b),{columnHeaderHeightAndMarginTop:_0x59223f}=_0x5dbe7b,{startX:_0x365eed,startY:_0x444040}=_0x2841b3,{endX:_0x5e74fa,endY:_0x288379}=_0x411673,_0x2e5590=_0x5e74fa-_0x365eed,_0x48a703=_0x288379-_0x444040,_0x232fe0={'labelPosition':_0x444040-_0x59223f>=_0x229689?'top':_0x4ad135(0x41b),'sheetID':_0x27317e,'range':_0x24eb5a,'color':_0x5020a3,'name':_0x22ffee,'selection':_0x1c2090,'left':_0x365eed,'top':_0x444040,'width':_0x2e5590,'height':_0x48a703,'evented':!0x1,'zIndex':_0x175c5c};return new _0x4e0ebf(_0x22ffee,_0x232fe0);});_0x3fe52a[_0x266c8e(0x43b)](_0x383d25,_0x5e3ed6),this[_0x266c8e(0x3f2)]=new Set(_0x383d25);}[_0x4e0a0f(0x303)](){const _0x869132=_0x4e0a0f;var _0x4f37de;(_0x4f37de=this[_0x869132(0x3f2)])==null||_0x4f37de[_0x869132(0x3e9)](_0x14403a=>_0x14403a['dispose']());}[_0x4e0a0f(0x296)](){const _0xb2ef1b=_0x4e0a0f;return _0x5df617[_0xb2ef1b(0x3dc)](this['_context'][_0xb2ef1b(0x3f1)],this['_context']);}};_0x1d6ca3=_0x2dcaa0([_0x4962e8(0x1,_0x3d65d5[_0x4e0a0f(0x24b)](_0x5df617[_0x4e0a0f(0x488)])),_0x4962e8(0x2,_0x3d65d5[_0x4e0a0f(0x24b)](_0x1a8b3b)),_0x4962e8(0x3,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5['ThemeService']))],_0x1d6ca3);function _0x5c2cdd(_0x4321fa){const _0x148863=_0x4e0a0f,_0x5bafbc=new Map();return _0x4321fa[_0x148863(0x3e9)](_0xedc922=>{const _0x1e19ba=_0x148863;if(_0x5bafbc[_0x1e19ba(0x41e)](_0xedc922['selection'])){const _0x43e345=_0x5bafbc['get'](_0xedc922[_0x1e19ba(0x369)]);_0x43e345[_0x1e19ba(0x483)]+=',\x20'+_0xedc922[_0x1e19ba(0x483)];}else _0x5bafbc['set'](_0xedc922[_0x1e19ba(0x369)],_0xedc922);}),Array['from'](_0x5bafbc['values']());}var _0x53e8c5=Object[_0x4e0a0f(0x373)],_0x327629=(_0x53b00b,_0x2a21d1,_0x4f1263,_0x54e75d)=>{const _0x19b78f=_0x4e0a0f;for(var _0x2bfe38=_0x54e75d>0x1?void 0x0:_0x54e75d?_0x53e8c5(_0x2a21d1,_0x4f1263):_0x2a21d1,_0x21ec8a=_0x53b00b[_0x19b78f(0x401)]-0x1,_0x54aea7;_0x21ec8a>=0x0;_0x21ec8a--)(_0x54aea7=_0x53b00b[_0x21ec8a])&&(_0x2bfe38=_0x54aea7(_0x2bfe38)||_0x2bfe38);return _0x2bfe38;},_0x41f273=(_0x1df008,_0x8b95a8)=>(_0x1acd1f,_0x196940)=>_0x8b95a8(_0x1acd1f,_0x196940,_0x1df008);let _0x339ee0=class extends _0x3d65d5[_0x4e0a0f(0x293)]{constructor(_0xee6945,_0x169b84,_0x91797e,_0x396621,_0x4d860e,_0x331c3c){const _0x2e1891=_0x4e0a0f;super(),this[_0x2e1891(0x24a)]=_0xee6945,this['_localCacheService']=_0x169b84,this[_0x2e1891(0x407)]=_0x91797e,this[_0x2e1891(0x231)]=_0x396621,this[_0x2e1891(0x3e3)]=_0x4d860e,this['_localeService']=_0x331c3c,this[_0x2e1891(0x1b8)](),this[_0x2e1891(0x42f)]();}['_setupBeforeClosingHandler'](){const _0x32158e=_0x4e0a0f;this[_0x32158e(0x38a)](this[_0x32158e(0x24a)][_0x32158e(0x2b9)](()=>{const _0x35a23c=_0x32158e;if(this[_0x35a23c(0x279)][_0x35a23c(0x247)][_0x35a23c(0x282)])return this['_localeService']['t']('collaboration.offline-data-not-saved');}));}[_0x4e0a0f(0x42f)](){const _0x471f39=_0x4e0a0f;this['disposeWithMe'](this[_0x471f39(0x407)]['event$'][_0x471f39(0x364)](_0x3983b2=>{const _0xd47893=_0x471f39;_0x3983b2['id']===_0x12afa3[_0xd47893(0x248)]['OTHER_CLIENT_EDITING']&&this[_0xd47893(0x231)]['show']({'type':_0x225058[_0xd47893(0x3bc)][_0xd47893(0x21f)],'content':this[_0xd47893(0x354)]['t'](_0xd47893(0x471))}),_0x3983b2['id']===_0x12afa3[_0xd47893(0x248)][_0xd47893(0x2ed)]&&this[_0xd47893(0x231)][_0xd47893(0x480)]({'type':_0x225058[_0xd47893(0x3bc)]['Warning'],'content':this[_0xd47893(0x354)]['t'](_0xd47893(0x28f))}),_0x3983b2['id']===_0x12afa3['CollaborationUIEventId'][_0xd47893(0x23a)]&&this[_0xd47893(0x3e3)][_0xd47893(0x480)]({'title':this[_0xd47893(0x354)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0xd47893(0x212),'duration':0x0}),_0x3983b2['id']===_0x12afa3['CollaborationUIEventId'][_0xd47893(0x302)]&&this[_0xd47893(0x231)][_0xd47893(0x480)]({'type':_0x225058[_0xd47893(0x3bc)][_0xd47893(0x47a)],'content':this[_0xd47893(0x354)]['t'](_0xd47893(0x28f))+'('+_0x3983b2['data']+')'}),_0x3983b2['id']===_0x12afa3[_0xd47893(0x248)][_0xd47893(0x353)]&&this[_0xd47893(0x231)]['show']({'type':_0x225058[_0xd47893(0x3bc)][_0xd47893(0x21f)],'content':this[_0xd47893(0x354)]['t'](_0x3983b2[_0xd47893(0x3fb)]||'')}),_0x3983b2['id']===_0x12afa3[_0xd47893(0x248)][_0xd47893(0x1cf)]&&this[_0xd47893(0x231)][_0xd47893(0x480)]({'type':_0x225058['MessageType']['Warning'],'content':this[_0xd47893(0x354)]['t']('session.will-retry')}),_0x3983b2['id']===_0x12afa3[_0xd47893(0x248)][_0xd47893(0x3ce)]&&this[_0xd47893(0x231)][_0xd47893(0x480)]({'type':_0x225058[_0xd47893(0x3bc)][_0xd47893(0x47a)],'content':this[_0xd47893(0x354)]['t'](_0xd47893(0x32e))}),_0x3983b2['id']===_0x12afa3[_0xd47893(0x248)][_0xd47893(0x315)]&&this['_messageService'][_0xd47893(0x480)]({'type':_0x225058[_0xd47893(0x3bc)]['Error'],'content':this[_0xd47893(0x354)]['t'](_0xd47893(0x40b))});}));}};_0x339ee0=_0x327629([_0x41f273(0x0,_0x47f27f[_0x4e0a0f(0x348)]),_0x41f273(0x1,_0x12afa3[_0x4e0a0f(0x207)]),_0x41f273(0x2,_0x3d65d5[_0x4e0a0f(0x24b)](_0x12afa3[_0x4e0a0f(0x1e2)])),_0x41f273(0x3,_0x47f27f['IMessageService']),_0x41f273(0x4,_0x47f27f[_0x4e0a0f(0x3e7)]),_0x41f273(0x5,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x1ec)]))],_0x339ee0);var _0x26fda9=Object[_0x4e0a0f(0x373)],_0x1ac167=(_0x2bfd31,_0x3f7882,_0x368891,_0x2f4dda)=>{const _0x2565cc=_0x4e0a0f;for(var _0x11d2ad=_0x2f4dda>0x1?void 0x0:_0x2f4dda?_0x26fda9(_0x3f7882,_0x368891):_0x3f7882,_0x48bd73=_0x2bfd31[_0x2565cc(0x401)]-0x1,_0x26e69e;_0x48bd73>=0x0;_0x48bd73--)(_0x26e69e=_0x2bfd31[_0x48bd73])&&(_0x11d2ad=_0x26e69e(_0x11d2ad)||_0x11d2ad);return _0x11d2ad;},_0xd4ca7a=(_0x4404de,_0x41ee42)=>(_0x1682de,_0x13078e)=>_0x41ee42(_0x1682de,_0x13078e,_0x4404de);let _0xf7fe1c=class extends _0x3d65d5[_0x4e0a0f(0x293)]{constructor(_0x53b494,_0x61bab8,_0x3044d3,_0x1ccc90){const _0x515e38=_0x4e0a0f;super(),_0x519c33(this,_0x515e38(0x30e)),(this[_0x515e38(0x458)]=_0x53b494,this[_0x515e38(0x48e)]=_0x61bab8,this[_0x515e38(0x376)]=_0x3044d3,this[_0x515e38(0x2a1)]=_0x1ccc90,this['_init']());}[_0x4e0a0f(0x276)](){const _0x2839e8=_0x4e0a0f;this[_0x2839e8(0x1af)](),this[_0x2839e8(0x29b)](),this[_0x2839e8(0x20f)](),this[_0x2839e8(0x300)]();}['_initUserListener'](){const _0x559c07=_0x4e0a0f;this[_0x559c07(0x38a)](this[_0x559c07(0x2a1)][_0x559c07(0x2db)][_0x559c07(0x364)](_0x807ae7=>{const _0x31b25e=_0x559c07;this['_memberID']=_0x807ae7==null?void 0x0:_0x807ae7[_0x31b25e(0x367)];}));}[_0x4e0a0f(0x1af)](){const _0x405b78=_0x4e0a0f,_0x1b3974=_0x1f367c=>{const _0x590656=_0x2815;var _0x2472e6;this[_0x590656(0x374)]('error',_0x590656(0x2f1)+_0x1f367c[_0x590656(0x208)]+'\x20at\x20'+_0x1f367c[_0x590656(0x1b1)]+':'+_0x1f367c[_0x590656(0x219)]+':'+_0x1f367c['colno']+'\x0a'+(((_0x2472e6=_0x1f367c[_0x590656(0x212)])==null?void 0x0:_0x2472e6['stack'])||''));};window[_0x405b78(0x1d5)](_0x405b78(0x212),_0x1b3974),this[_0x405b78(0x38a)](()=>{const _0x1bb6ac=_0x405b78;window['removeEventListener'](_0x1bb6ac(0x212),_0x1b3974);});}[_0x4e0a0f(0x29b)](){const _0x3ab10b=_0x4e0a0f,_0x52878e=_0xeeee49=>{const _0x24d04c=_0x2815;this[_0x24d04c(0x374)](_0x24d04c(0x212),_0x24d04c(0x287)+_0xeeee49[_0x24d04c(0x25a)]);};window[_0x3ab10b(0x1d5)](_0x3ab10b(0x2a2),_0x52878e),this[_0x3ab10b(0x38a)](()=>{const _0xe57236=_0x3ab10b;window[_0xe57236(0x1b5)]('unhandledrejection',_0x52878e);});}['_monkeyPatchLogService'](){const _0x803a68=_0x4e0a0f,_0x78fab3=this[_0x803a68(0x376)][_0x803a68(0x212)][_0x803a68(0x2bc)](this[_0x803a68(0x376)]);this[_0x803a68(0x376)][_0x803a68(0x212)]=(..._0x2aefef)=>{const _0x243de8=_0x803a68,_0x598baa=_0x2aefef[_0x243de8(0x1a8)](_0x31dc44=>_0x31dc44 instanceof Error?_0x31dc44[_0x243de8(0x208)]+'\x0a'+_0x31dc44[_0x243de8(0x1a6)]:String(_0x31dc44))[_0x243de8(0x3ca)]('\x20');this[_0x243de8(0x374)]('error',_0x243de8(0x390)+_0x598baa),_0x78fab3(..._0x2aefef);},this[_0x803a68(0x38a)](()=>{const _0x1b4376=_0x803a68;this[_0x1b4376(0x376)][_0x1b4376(0x212)]=_0x78fab3;});}[_0x4e0a0f(0x374)](_0xa18c75,_0x386948){const _0x46cc0e=_0x4e0a0f;try{const _0x5611f0={'userId':this['_memberID'],'logLabel':_0xa18c75,'content':_0x386948};this[_0x46cc0e(0x48e)][_0x46cc0e(0x278)]('/universer-api/frontend/logs',{'body':_0x5611f0})[_0x46cc0e(0x24d)](()=>{});}catch{}}};_0xf7fe1c=_0x1ac167([_0xd4ca7a(0x0,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x2c0)])),_0xd4ca7a(0x1,_0x3d65d5[_0x4e0a0f(0x24b)](_0x280651[_0x4e0a0f(0x37b)])),_0xd4ca7a(0x2,_0x3d65d5[_0x4e0a0f(0x259)]),_0xd4ca7a(0x3,_0x3d65d5['Inject'](_0x12afa3[_0x4e0a0f(0x1e8)]))],_0xf7fe1c);const _0x3f564f='collaboration-client-ui.config',_0x37e97f={};var _0x527e17=Object[_0x4e0a0f(0x373)],_0x464b85=(_0x558aba,_0x83f3e4,_0x29bb5b,_0x55e218)=>{for(var _0x2dde88=_0x55e218>0x1?void 0x0:_0x55e218?_0x527e17(_0x83f3e4,_0x29bb5b):_0x83f3e4,_0x4d6666=_0x558aba['length']-0x1,_0x5dfcf3;_0x4d6666>=0x0;_0x4d6666--)(_0x5dfcf3=_0x558aba[_0x4d6666])&&(_0x2dde88=_0x5dfcf3(_0x2dde88)||_0x2dde88);return _0x2dde88;},_0x1928b2=(_0x23ac35,_0x340749)=>(_0x5e676f,_0x49000f)=>_0x340749(_0x5e676f,_0x49000f,_0x23ac35);let _0x1eb585=class{constructor(_0xdf94ff,_0xbd8260){const _0x3341c1=_0x4e0a0f;this[_0x3341c1(0x242)]=_0xdf94ff,this['_renderManagerService']=_0xbd8260;}[_0x4e0a0f(0x46b)](_0xff9efa){const _0x21288c=_0x4e0a0f;this['_transformUndoRedoStack'](_0xff9efa),this[_0x21288c(0x299)](_0xff9efa);}[_0x4e0a0f(0x21e)](_0x470d66){const _0x1ef232=_0x4e0a0f,{unitID:_0x2bb227}=_0x470d66,_0x4464ec=this[_0x1ef232(0x2e6)][_0x1ef232(0x36e)](_0x2bb227)[_0x1ef232(0x3eb)](_0x2cb679[_0x1ef232(0x2a9)]),{redoCache:_0x4174e4}=_0x4464ec[_0x1ef232(0x3a8)]();if(_0x4174e4[_0x1ef232(0x401)]===0x0)return _0x470d66;let _0x175622=_0x3d65d5[_0x1ef232(0x349)][_0x1ef232(0x41d)](_0x470d66['mutations'][0x0]);for(let _0x517c3e=0x0;_0x517c3e<_0x4174e4[_0x1ef232(0x401)];_0x517c3e++){const _0x19ed5b={'id':'doc.mutation.rich-text-editing','params':{..._0x4174e4[_0x517c3e]}},_0x321c3b=this[_0x1ef232(0x242)][_0x1ef232(0x1fe)](_0x175622,_0x19ed5b,!0x1);if(_0x36b4bf[_0x1ef232(0x43e)](_0x321c3b))throw _0x321c3b['error'];_0x175622=_0x321c3b[_0x1ef232(0x25b)];}return{..._0x3d65d5[_0x1ef232(0x349)][_0x1ef232(0x41d)](_0x470d66),'mutations':[_0x175622]};}[_0x4e0a0f(0x415)](_0x336a8a){const _0x2f4d78=_0x4e0a0f,{unitID:_0x33acd9}=_0x336a8a,_0x35e715=this[_0x2f4d78(0x2e6)][_0x2f4d78(0x36e)](_0x33acd9)[_0x2f4d78(0x3eb)](_0x2cb679['DocIMEInputManagerService']),{undoCache:_0x25f1ba,redoCache:_0x38f5d8}=_0x35e715[_0x2f4d78(0x3a8)]();if(_0x25f1ba[_0x2f4d78(0x401)]===0x0||_0x38f5d8['length']===0x0)return;const _0x420be7=[],_0x52d684=[];let _0x2d4872=_0x3d65d5['Tools'][_0x2f4d78(0x41d)](_0x336a8a[_0x2f4d78(0x2aa)][0x0]),_0xeb619a=_0x3d65d5[_0x2f4d78(0x349)]['deepClone'](_0x336a8a[_0x2f4d78(0x2aa)][0x0]);for(let _0x59e957=_0x25f1ba[_0x2f4d78(0x401)]-0x1;_0x59e957>=0x0;_0x59e957--){const _0x2dcb1f={'id':_0x2f4d78(0x397),'params':{..._0x25f1ba[_0x59e957]}},_0x588ccd={'id':_0x2f4d78(0x397),'params':{..._0x38f5d8[_0x59e957]}},_0x49a42c=this['_transformService'][_0x2f4d78(0x1fe)](_0x2d4872,_0x2dcb1f,!0x1),_0x1efd1d=this[_0x2f4d78(0x242)][_0x2f4d78(0x1fe)](_0xeb619a,_0x588ccd,!0x1);if(_0x36b4bf[_0x2f4d78(0x43e)](_0x49a42c))throw _0x49a42c['error'];if(_0x36b4bf['isTransformMutationFailure'](_0x1efd1d))throw _0x1efd1d[_0x2f4d78(0x212)];_0x420be7['unshift'](_0x49a42c['m2Prime'][_0x2f4d78(0x344)]),_0x52d684[_0x2f4d78(0x2f0)](_0x1efd1d[_0x2f4d78(0x328)][_0x2f4d78(0x344)]),_0x2d4872=_0x49a42c['m1Prime'],_0xeb619a=_0x1efd1d[_0x2f4d78(0x25b)];}_0x35e715[_0x2f4d78(0x3d6)]({'undoCache':_0x420be7,'redoCache':_0x52d684});}[_0x4e0a0f(0x299)](_0x19dfd8){const _0x40929f=_0x4e0a0f,{unitID:_0x5319af}=_0x19dfd8,_0x1ed597=this[_0x40929f(0x2e6)][_0x40929f(0x36e)](_0x5319af)['with'](_0x2cb679[_0x40929f(0x2a9)]),_0x14bdec=_0x1ed597[_0x40929f(0x268)]();if(_0x14bdec==null)return;const _0x2639f9=[{'id':_0x40929f(0x397),'params':{'unitId':_0x19dfd8[_0x40929f(0x2b4)],'actions':null,'textRanges':[_0x14bdec]}}],_0x5e16af=this[_0x40929f(0x242)]['transformMutationsWithChangeset'](_0x19dfd8,_0x2639f9);if(!_0x36b4bf[_0x40929f(0x2d2)](_0x5e16af))throw _0x5e16af[_0x40929f(0x212)];const _0x20bec8=_0x5e16af[_0x40929f(0x328)][0x0]['params']['textRanges'];Array['isArray'](_0x20bec8)&&_0x20bec8[_0x40929f(0x401)]&&_0x1ed597[_0x40929f(0x26d)](_0x20bec8[0x0]);}};_0x1eb585=_0x464b85([_0x1928b2(0x0,_0x36b4bf['ITransformService']),_0x1928b2(0x1,_0x48b1a2[_0x4e0a0f(0x3ee)])],_0x1eb585);var _0x2923c1=Object[_0x4e0a0f(0x373)],_0x182e85=(_0xe56df6,_0x57db74,_0x2311c6,_0x42f970)=>{for(var _0x41b720=_0x42f970>0x1?void 0x0:_0x42f970?_0x2923c1(_0x57db74,_0x2311c6):_0x57db74,_0x3b7194=_0xe56df6['length']-0x1,_0x46a130;_0x3b7194>=0x0;_0x3b7194--)(_0x46a130=_0xe56df6[_0x3b7194])&&(_0x41b720=_0x46a130(_0x41b720)||_0x41b720);return _0x41b720;},_0x326ca9=(_0xce25fb,_0x4ea6ed)=>(_0x593560,_0x350f8d)=>_0x4ea6ed(_0x593560,_0x350f8d,_0xce25fb);let _0x558573=class{constructor(_0x1493fb,_0x46ce62,_0x4a6565){const _0x37c7a7=_0x4e0a0f;this[_0x37c7a7(0x458)]=_0x1493fb,this['_transformService']=_0x46ce62,this[_0x37c7a7(0x2e3)]=_0x4a6565;}[_0x4e0a0f(0x422)](_0x1f5845){const _0x34377b=_0x4e0a0f;this[_0x34377b(0x32c)](_0x1f5845);}['transformRemoteChangeset'](_0x27ed08){const _0x3a50af=_0x4e0a0f,{unitID:_0x33e9ac}=_0x27ed08,{collaboration:_0x271691}=this['_docStateChangeManagerService'][_0x3a50af(0x341)](_0x33e9ac);if(_0x271691[_0x3a50af(0x401)]===0x0)return _0x27ed08;let _0x39d8a5=_0x3d65d5['Tools'][_0x3a50af(0x41d)](_0x27ed08[_0x3a50af(0x2aa)][0x0]);for(let _0x416478=0x0;_0x416478<_0x271691[_0x3a50af(0x401)];_0x416478++){const _0x591781={'id':_0x3a50af(0x397),'params':{'unitId':_0x271691[_0x416478][_0x3a50af(0x3c2)],..._0x271691[_0x416478][_0x3a50af(0x3b4)]}},_0x49c19a=this[_0x3a50af(0x242)][_0x3a50af(0x1fe)](_0x39d8a5,_0x591781,!0x1);if(_0x36b4bf[_0x3a50af(0x43e)](_0x49c19a))throw _0x49c19a[_0x3a50af(0x212)];_0x39d8a5=_0x49c19a[_0x3a50af(0x25b)];}return{..._0x3d65d5[_0x3a50af(0x349)][_0x3a50af(0x41d)](_0x27ed08),'mutations':[_0x39d8a5]};}[_0x4e0a0f(0x32c)](_0x1a40d2){const _0x423c07=_0x4e0a0f,{unitID:_0x17ac4b}=_0x1a40d2,{history:_0xf698af,collaboration:_0x214cfd}=this[_0x423c07(0x2e3)][_0x423c07(0x341)](_0x17ac4b);if(_0xf698af[_0x423c07(0x401)]===0x0&&_0x214cfd[_0x423c07(0x401)]===0x0)return;const _0x4626bf=[],_0x3913bc=[];let _0x596c00=_0x3d65d5[_0x423c07(0x349)][_0x423c07(0x41d)](_0x1a40d2[_0x423c07(0x2aa)][0x0]),_0x2c1f4c=_0x3d65d5[_0x423c07(0x349)][_0x423c07(0x41d)](_0x1a40d2[_0x423c07(0x2aa)][0x0]);for(let _0x89dc7e=_0xf698af['length']-0x1;_0x89dc7e>=0x0;_0x89dc7e--){const _0x3946cf={'id':_0x423c07(0x397),'params':{'unitId':_0xf698af[_0x89dc7e][_0x423c07(0x3c2)],..._0xf698af[_0x89dc7e][_0x423c07(0x1fa)]}},_0x1535ea={'id':_0x423c07(0x397),'params':{'unitId':_0xf698af[_0x89dc7e][_0x423c07(0x3c2)],..._0xf698af[_0x89dc7e][_0x423c07(0x3b4)]}},_0x1b1021=this[_0x423c07(0x242)]['transformMutation'](_0x596c00,_0x3946cf,!0x1),_0x2a1a91=this[_0x423c07(0x242)][_0x423c07(0x1fe)](_0x2c1f4c,_0x1535ea,!0x1);if(_0x36b4bf['isTransformMutationFailure'](_0x1b1021))throw _0x1b1021[_0x423c07(0x212)];if(_0x36b4bf['isTransformMutationFailure'](_0x2a1a91))throw _0x2a1a91[_0x423c07(0x212)];_0x4626bf['unshift']({..._0xf698af[_0x89dc7e],'undoState':_0x1b1021[_0x423c07(0x328)][_0x423c07(0x344)],'redoState':_0x2a1a91[_0x423c07(0x328)][_0x423c07(0x344)]}),_0x596c00=_0x1b1021[_0x423c07(0x25b)],_0x2c1f4c=_0x2a1a91[_0x423c07(0x25b)];}_0x596c00=_0x3d65d5[_0x423c07(0x349)][_0x423c07(0x41d)](_0x1a40d2[_0x423c07(0x2aa)][0x0]),_0x2c1f4c=_0x3d65d5[_0x423c07(0x349)][_0x423c07(0x41d)](_0x1a40d2['mutations'][0x0]);for(let _0x4920a4=_0x214cfd[_0x423c07(0x401)]-0x1;_0x4920a4>=0x0;_0x4920a4--){const _0x4ec906={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x214cfd[_0x4920a4][_0x423c07(0x3c2)],..._0x214cfd[_0x4920a4][_0x423c07(0x1fa)]}},_0x1951c3={'id':_0x423c07(0x397),'params':{'unitId':_0x214cfd[_0x4920a4][_0x423c07(0x3c2)],..._0x214cfd[_0x4920a4][_0x423c07(0x3b4)]}},_0x337735=this[_0x423c07(0x242)][_0x423c07(0x1fe)](_0x596c00,_0x4ec906,!0x1),_0x5d158d=this[_0x423c07(0x242)][_0x423c07(0x1fe)](_0x2c1f4c,_0x1951c3,!0x1);if(_0x36b4bf[_0x423c07(0x43e)](_0x337735))throw _0x337735['error'];if(_0x36b4bf[_0x423c07(0x43e)](_0x5d158d))throw _0x5d158d[_0x423c07(0x212)];_0x3913bc[_0x423c07(0x2f0)]({..._0x214cfd[_0x4920a4],'undoState':_0x337735[_0x423c07(0x328)][_0x423c07(0x344)],'redoState':_0x5d158d['m2Prime'][_0x423c07(0x344)]}),_0x596c00=_0x337735[_0x423c07(0x25b)],_0x2c1f4c=_0x5d158d['m1Prime'];}this[_0x423c07(0x2e3)][_0x423c07(0x3ae)](_0x17ac4b,{'history':_0x4626bf,'collaboration':_0x3913bc});}};_0x558573=_0x182e85([_0x326ca9(0x0,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x2c0)])),_0x326ca9(0x1,_0x36b4bf[_0x4e0a0f(0x291)]),_0x326ca9(0x2,_0x3d65d5['Inject'](_0x2cb679[_0x4e0a0f(0x1f8)]))],_0x558573);var _0x7e9132=Object[_0x4e0a0f(0x373)],_0x4e1137=(_0xd93750,_0x4a1443,_0x329482,_0x454a14)=>{for(var _0xc2352f=_0x454a14>0x1?void 0x0:_0x454a14?_0x7e9132(_0x4a1443,_0x329482):_0x4a1443,_0x496cda=_0xd93750['length']-0x1,_0x536889;_0x496cda>=0x0;_0x496cda--)(_0x536889=_0xd93750[_0x496cda])&&(_0xc2352f=_0x536889(_0xc2352f)||_0xc2352f);return _0xc2352f;},_0x334aac=(_0x2e2eb5,_0x48503a)=>(_0x24fbf9,_0x2100a6)=>_0x48503a(_0x24fbf9,_0x2100a6,_0x2e2eb5);let _0x5c5c0d=class{constructor(_0x373e3c,_0x52922e){const _0x446a8c=_0x4e0a0f;this['_injector']=_0x373e3c,this[_0x446a8c(0x242)]=_0x52922e;}[_0x4e0a0f(0x31d)](_0x95bbe9){const _0x22d269=_0x4e0a0f;var _0x2b51c6;const _0x1c116a=this[_0x22d269(0x458)][_0x22d269(0x236)](_0x301e8e[_0x22d269(0x379)]),_0xdb7f60=(_0x2b51c6=_0x1c116a['getDocRanges']())!=null?_0x2b51c6:[];if(_0xdb7f60[_0x22d269(0x401)]===0x0)return;const _0x1f199d=_0x95bbe9[_0x22d269(0x2b4)],_0x4771da=[{'id':_0x22d269(0x397),'params':{'unitId':_0x1f199d,'actions':null,'textRanges':_0xdb7f60}}],_0x1ec251=this['_transformService'][_0x22d269(0x2cc)](_0x95bbe9,_0x4771da);if(!_0x36b4bf['isTransformMutationsWithChangesetSuccess'](_0x1ec251))throw _0x1ec251['error'];const _0x3e58be=_0x1ec251[_0x22d269(0x328)][0x0][_0x22d269(0x344)][_0x22d269(0x350)];Array[_0x22d269(0x3c1)](_0x3e58be)&&_0x3e58be[_0x22d269(0x401)]&&_0x1c116a['replaceDocRanges'](_0x3e58be,{'unitId':_0x1f199d,'subUnitId':_0x1f199d},!0x1);}};_0x5c5c0d=_0x4e1137([_0x334aac(0x0,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x2c0)])),_0x334aac(0x1,_0x36b4bf['ITransformService'])],_0x5c5c0d);var _0x16c437=Object[_0x4e0a0f(0x373)],_0x14dc63=(_0x200ca4,_0x54d067,_0x591b8a,_0x53dc07)=>{for(var _0x32fb9c=_0x53dc07>0x1?void 0x0:_0x53dc07?_0x16c437(_0x54d067,_0x591b8a):_0x54d067,_0x32bcc5=_0x200ca4['length']-0x1,_0x21b173;_0x32bcc5>=0x0;_0x32bcc5--)(_0x21b173=_0x200ca4[_0x32bcc5])&&(_0x32fb9c=_0x21b173(_0x32fb9c)||_0x32fb9c);return _0x32fb9c;},_0x3cd264=(_0x380b9b,_0x4c8857)=>(_0x4496ca,_0x241bf8)=>_0x4c8857(_0x4496ca,_0x241bf8,_0x380b9b);let _0x46cecc=class extends _0x3d65d5[_0x4e0a0f(0x293)]{constructor(_0x5dbcaf,_0x513d47,_0x5f444f,_0x53432b,_0x40d475,_0x5524cc,_0x4d9cc1,_0x190c62){const _0x18d0d3=_0x4e0a0f;super(),_0x519c33(this,'_status$',new _0x5f36f4[(_0x18d0d3(0x426))](_0x12afa3[_0x18d0d3(0x1be)][_0x18d0d3(0x1eb)])),(this[_0x18d0d3(0x2e3)]=_0x5dbcaf,this[_0x18d0d3(0x30b)]=_0x513d47,this[_0x18d0d3(0x2d0)]=_0x5f444f,this['_docTransformStateCacheService']=_0x53432b,this[_0x18d0d3(0x38b)]=_0x40d475,this[_0x18d0d3(0x3d1)]=_0x5524cc,this['_messageService']=_0x4d9cc1,this[_0x18d0d3(0x354)]=_0x190c62,this[_0x18d0d3(0x443)]());}['_initEntityListener'](){const _0x4c4849=_0x4e0a0f;this['disposeWithMe'](this[_0x4c4849(0x30b)][_0x4c4849(0x3e0)]['subscribe'](_0x5dcacc=>{const _0x198a0e=_0x4c4849,_0xbe1b9d=this[_0x198a0e(0x2e3)][_0x198a0e(0x269)][_0x198a0e(0x364)](_0x1652fc=>{const _0x57538d=_0x198a0e;if(_0x1652fc==null)return;const {unitId:_0x3f42b6,redoState:_0xcfbd4a,commandId:_0x47cdad}=_0x1652fc;if(_0x3f42b6!==_0x5dcacc[_0x57538d(0x2b4)])return;const _0x508266={'id':_0x47cdad,'type':_0x3d65d5[_0x57538d(0x404)][_0x57538d(0x289)],'params':{'unitId':_0x3f42b6,'actions':_0xcfbd4a[_0x57538d(0x3c3)],'textRanges':null}};_0x5dcacc['onLocalMutation'](_0x508266);});if(_0x5dcacc[_0x198a0e(0x38a)](_0xbe1b9d),_0x5dcacc instanceof _0x12afa3[_0x198a0e(0x264)]){const _0x59d04b={'onTransformIME':_0x55b7e0=>this[_0x198a0e(0x2d0)][_0x198a0e(0x46b)](_0x55b7e0),'onTransformState':_0x292f40=>this[_0x198a0e(0x325)][_0x198a0e(0x422)](_0x292f40),'onTransformSelections':_0x472032=>this[_0x198a0e(0x38b)]['transformSelections'](_0x472032),'onSyncEditingCollabCursor':_0x2e6c81=>this[_0x198a0e(0x3d1)][_0x198a0e(0x306)](_0x2e6c81),'onTransformRemoteChangesetByIMECache':_0x2119e2=>this[_0x198a0e(0x2d0)][_0x198a0e(0x21e)](_0x2119e2),'onTransformRemoteChangesetByStateCache':_0x2d72b1=>this[_0x198a0e(0x325)][_0x198a0e(0x21e)](_0x2d72b1)};_0x5dcacc['addHandlerCallback'](_0x59d04b);}}));}};_0x46cecc=_0x14dc63([_0x3cd264(0x0,_0x3d65d5[_0x4e0a0f(0x24b)](_0x2cb679[_0x4e0a0f(0x1f8)])),_0x3cd264(0x1,_0x3d65d5['Inject'](_0x12afa3[_0x4e0a0f(0x224)])),_0x3cd264(0x2,_0x3d65d5[_0x4e0a0f(0x24b)](_0x1eb585)),_0x3cd264(0x3,_0x3d65d5['Inject'](_0x558573)),_0x3cd264(0x4,_0x3d65d5['Inject'](_0x5c5c0d)),_0x3cd264(0x5,_0x3d65d5[_0x4e0a0f(0x24b)](_0x58e52d)),_0x3cd264(0x6,_0x47f27f[_0x4e0a0f(0x2ef)]),_0x3cd264(0x7,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x1ec)]))],_0x46cecc);var _0x38be0f=(_0x65eb20=>(_0x65eb20[_0x65eb20[_0x4e0a0f(0x444)]=0x0]=_0x4e0a0f(0x444),_0x65eb20[_0x65eb20['OK']=0x1]='OK',_0x65eb20[_0x65eb20[_0x4e0a0f(0x338)]=0x2]='INTERNAL_ERROR',_0x65eb20[_0x65eb20['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x65eb20[_0x65eb20['NOT_FOUND']=0x4]='NOT_FOUND',_0x65eb20[_0x65eb20[_0x4e0a0f(0x225)]=0x5]=_0x4e0a0f(0x225),_0x65eb20[_0x65eb20[_0x4e0a0f(0x2a8)]=0x6]=_0x4e0a0f(0x2a8),_0x65eb20[_0x65eb20[_0x4e0a0f(0x20d)]=0x7]=_0x4e0a0f(0x20d),_0x65eb20[_0x65eb20['TOO_MANY_REQUESTS']=0x8]=_0x4e0a0f(0x2c4),_0x65eb20[_0x65eb20['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x65eb20[_0x65eb20['LOGIN_FAILED']=0xa]=_0x4e0a0f(0x2ff),_0x65eb20[_0x65eb20[_0x4e0a0f(0x28d)]=0xb]=_0x4e0a0f(0x28d),_0x65eb20[_0x65eb20['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x65eb20[_0x65eb20[_0x4e0a0f(0x47c)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x65eb20[_0x65eb20[_0x4e0a0f(0x1e3)]=0xe]=_0x4e0a0f(0x1e3),_0x65eb20[_0x65eb20[_0x4e0a0f(0x1ed)]=0xf]=_0x4e0a0f(0x1ed),_0x65eb20[_0x65eb20[_0x4e0a0f(0x243)]=0x10]=_0x4e0a0f(0x243),_0x65eb20[_0x65eb20[_0x4e0a0f(0x2d9)]=0x64]=_0x4e0a0f(0x2d9),_0x65eb20[_0x65eb20['ERROR_AGAIN']=0x65]=_0x4e0a0f(0x487),_0x65eb20[_0x65eb20[_0x4e0a0f(0x258)]=0xc9]='USER_NOT_FOUND',_0x65eb20[_0x65eb20[_0x4e0a0f(0x297)]=0xca]=_0x4e0a0f(0x297),_0x65eb20[_0x65eb20[_0x4e0a0f(0x210)]=0x1389]=_0x4e0a0f(0x210),_0x65eb20[_0x65eb20[_0x4e0a0f(0x2bb)]=0x1771]=_0x4e0a0f(0x2bb),_0x65eb20[_0x65eb20['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4e0a0f(0x433),_0x65eb20[_0x65eb20[_0x4e0a0f(0x2b5)]=0x1773]=_0x4e0a0f(0x2b5),_0x65eb20[_0x65eb20[_0x4e0a0f(0x410)]=0x1b59]='APPLY_REJECT',_0x65eb20[_0x65eb20[_0x4e0a0f(0x24c)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x65eb20[_0x65eb20[_0x4e0a0f(0x1b9)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x65eb20[_0x65eb20[_0x4e0a0f(0x456)]=0x1b5c]=_0x4e0a0f(0x456),_0x65eb20[_0x65eb20['APPLY_DUPLICATED']=0x1b5d]=_0x4e0a0f(0x3cc),_0x65eb20[_0x65eb20[_0x4e0a0f(0x35c)]=0x1f41]=_0x4e0a0f(0x35c),_0x65eb20[_0x65eb20[_0x4e0a0f(0x334)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x65eb20[_0x65eb20[_0x4e0a0f(0x3ed)]=0x232a]=_0x4e0a0f(0x3ed),_0x65eb20[_0x65eb20[_0x4e0a0f(0x449)]=0x232b]=_0x4e0a0f(0x449),_0x65eb20[_0x65eb20[_0x4e0a0f(0x380)]=0x232c]=_0x4e0a0f(0x380),_0x65eb20[_0x65eb20[_0x4e0a0f(0x2ea)]=0x232d]=_0x4e0a0f(0x2ea),_0x65eb20[_0x65eb20['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x65eb20[_0x65eb20[_0x4e0a0f(0x1e6)]=0x2712]=_0x4e0a0f(0x1e6),_0x65eb20[_0x65eb20[_0x4e0a0f(0x238)]=0x2713]=_0x4e0a0f(0x238),_0x65eb20[_0x65eb20['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x4e0a0f(0x322),_0x65eb20[_0x65eb20['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x4e0a0f(0x45e),_0x65eb20[_0x65eb20[_0x4e0a0f(0x28a)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x65eb20[_0x65eb20[_0x4e0a0f(0x436)]=0x271c]=_0x4e0a0f(0x436),_0x65eb20[_0x65eb20[_0x4e0a0f(0x284)]=0x271d]=_0x4e0a0f(0x284),_0x65eb20[_0x65eb20[_0x4e0a0f(0x2fa)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x65eb20[_0x65eb20[_0x4e0a0f(0x30c)]=0x271f]=_0x4e0a0f(0x30c),_0x65eb20[_0x65eb20[_0x4e0a0f(0x2d4)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x65eb20[_0x65eb20[_0x4e0a0f(0x285)]=0x2af9]=_0x4e0a0f(0x285),_0x65eb20[_0x65eb20[_0x4e0a0f(0x1ab)]=0x2ee1]=_0x4e0a0f(0x1ab),_0x65eb20[_0x65eb20[_0x4e0a0f(0x250)]=0x2ee2]='INVALID_INVITE_CODE',_0x65eb20[_0x65eb20[_0x4e0a0f(0x1a4)]=0x2ee3]=_0x4e0a0f(0x1a4),_0x65eb20[_0x65eb20[_0x4e0a0f(0x227)]=0x2ee4]=_0x4e0a0f(0x227),_0x65eb20[_0x65eb20[_0x4e0a0f(0x23d)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x65eb20[_0x65eb20['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x4e0a0f(0x425),_0x65eb20[_0x65eb20['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x4e0a0f(0x442),_0x65eb20[_0x65eb20['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x4e0a0f(0x46d),_0x65eb20[_0x65eb20[_0x4e0a0f(0x20e)]=0x36b1]=_0x4e0a0f(0x20e),_0x65eb20[_0x65eb20[_0x4e0a0f(0x201)]=0x36b2]=_0x4e0a0f(0x201),_0x65eb20[_0x65eb20['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x4e0a0f(0x22e),_0x65eb20[_0x65eb20[_0x4e0a0f(0x2b8)]=0x36b4]=_0x4e0a0f(0x2b8),_0x65eb20[_0x65eb20['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x4e0a0f(0x23f),_0x65eb20[_0x65eb20[_0x4e0a0f(0x37f)]=0x36b6]=_0x4e0a0f(0x37f),_0x65eb20[_0x65eb20['ENTITLE_COUPON_USED_UP']=0x36b7]='ENTITLE_COUPON_USED_UP',_0x65eb20[_0x65eb20[_0x4e0a0f(0x413)]=0x36b8]=_0x4e0a0f(0x413),_0x65eb20[_0x65eb20[_0x4e0a0f(0x319)]=0x3715]=_0x4e0a0f(0x319),_0x65eb20[_0x65eb20['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x65eb20[_0x65eb20[_0x4e0a0f(0x1d0)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x65eb20[_0x65eb20[_0x4e0a0f(0x357)]=0x37dd]=_0x4e0a0f(0x357),_0x65eb20[_0x65eb20['REDEMPTION_INVALID_CODE']=0x3a99]='REDEMPTION_INVALID_CODE',_0x65eb20[_0x65eb20[_0x4e0a0f(0x234)]=0x3a9a]=_0x4e0a0f(0x234),_0x65eb20[_0x65eb20['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x4e0a0f(0x3f4),_0x65eb20[_0x65eb20[_0x4e0a0f(0x3ba)]=0x3a9c]=_0x4e0a0f(0x3ba),_0x65eb20[_0x65eb20['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x4e0a0f(0x47f),_0x65eb20[_0x65eb20[_0x4e0a0f(0x3fd)]=0x3a9e]=_0x4e0a0f(0x3fd),_0x65eb20[_0x65eb20[_0x4e0a0f(0x371)]=0x3a9f]=_0x4e0a0f(0x371),_0x65eb20[_0x65eb20['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x4e0a0f(0x429),_0x65eb20[_0x65eb20[_0x4e0a0f(0x3e8)]=-0x1]=_0x4e0a0f(0x3e8),_0x65eb20))(_0x38be0f||{});function _0x44f109(_0x35b485){const _0x32045a=_0x4e0a0f;var _0x15be4c,_0x1c60d7;const _0x1e0712=(_0x15be4c=_0x35b485['stageInfo'])==null?void 0x0:_0x15be4c['stage'],_0x5258a7=((_0x1c60d7=_0x35b485[_0x32045a(0x1c6)])==null?void 0x0:_0x1c60d7[_0x32045a(0x356)])||0x0;return _0x1e0712===_0x5cefe9[_0x32045a(0x398)][_0x32045a(0x411)]&&_0x5258a7>0x0;}function _0x4a7554(_0x5766c6){const _0x14994f=_0x4e0a0f;return _0x5766c6[_0x14994f(0x479)]===_0x5cefe9[_0x14994f(0x314)][_0x14994f(0x2ec)];}var _0x35245e=Object[_0x4e0a0f(0x373)],_0x2d94ea=(_0x300915,_0x1ef095,_0xd1dca4,_0x1d3dba)=>{const _0x5ed0d7=_0x4e0a0f;for(var _0x557836=_0x1d3dba>0x1?void 0x0:_0x1d3dba?_0x35245e(_0x1ef095,_0xd1dca4):_0x1ef095,_0x4596e4=_0x300915[_0x5ed0d7(0x401)]-0x1,_0x3007f6;_0x4596e4>=0x0;_0x4596e4--)(_0x3007f6=_0x300915[_0x4596e4])&&(_0x557836=_0x3007f6(_0x557836)||_0x557836);return _0x557836;},_0x594317=(_0x2c79e3,_0x2f9f02)=>(_0x2a0bb1,_0x3d53b2)=>_0x2f9f02(_0x2a0bb1,_0x3d53b2,_0x2c79e3);const _0x20a23f=_0x4e0a0f(0x355),_0x32c7b0=_0x4e0a0f(0x254),_0x14b31c='/universer-api/license/formula/limit/done';let _0x38bf51=class extends _0x3d65d5[_0x4e0a0f(0x293)]{constructor(_0xcee4f6,_0x355fd0,_0x54cb38,_0xa276fb,_0x4877cf,_0x374251,_0x52222c){const _0x14fae1=_0x4e0a0f;super(),_0x519c33(this,_0x14fae1(0x3fa),null),_0x519c33(this,_0x14fae1(0x267),0x0),_0x519c33(this,_0x14fae1(0x213),0x0),_0x519c33(this,_0x14fae1(0x305),[]),_0x519c33(this,_0x14fae1(0x217),0x0),(this['_messageService']=_0xcee4f6,this[_0x14fae1(0x3cf)]=_0x355fd0,this[_0x14fae1(0x46e)]=_0x54cb38,this['_httpService']=_0xa276fb,this[_0x14fae1(0x2dc)]=_0x4877cf,this[_0x14fae1(0x376)]=_0x374251,this['_localeService']=_0x52222c,this['_initCommandInterceptor']());}[_0x4e0a0f(0x485)](){const _0x22c359=_0x4e0a0f;this['disposeWithMe'](this['_commandService'][_0x22c359(0x3d9)]((_0x4074cd,_0x547323)=>{const _0x5ca1f2=_0x22c359;var _0xc9681f;if(_0x4074cd['id']!==_0x5cefe9[_0x5ca1f2(0x47d)]['id'])return;const _0x4b832f=_0x4074cd[_0x5ca1f2(0x344)];if(!this[_0x5ca1f2(0x435)]((_0xc9681f=_0x4b832f[_0x5ca1f2(0x3bd)])!=null?_0xc9681f:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x5ca1f2(0x301)](_0x4074cd,_0x547323),this['_showGuardMessage'](),new _0x3d65d5[(_0x5ca1f2(0x3e1))]();})),this['disposeWithMe'](this[_0x22c359(0x3cf)]['onCommandExecuted']((_0x4a15f6,_0xb0eba6)=>{const _0x3ceb78=_0x22c359;if(_0x4a15f6['id']!==_0x5cefe9[_0x3ceb78(0x37e)]['id'])return;const _0x7b3163=_0x4a15f6[_0x3ceb78(0x344)];if(_0x44f109(_0x7b3163)){const _0x206382=_0x3d65d5['generateRandomId']();this[_0x3ceb78(0x305)][_0x3ceb78(0x1c3)](_0x206382),this[_0x3ceb78(0x2f2)](_0x206382);}else{if(_0x4a7554(_0x7b3163)&&this['_taskIds'][_0x3ceb78(0x401)]>0x0){const _0x9a9334=this[_0x3ceb78(0x305)]['shift']();this[_0x3ceb78(0x42a)](_0x9a9334);}}}));}['dispose'](){const _0x5e7e8a=_0x4e0a0f;super[_0x5e7e8a(0x3ab)](),this[_0x5e7e8a(0x375)](),this[_0x5e7e8a(0x305)]=[],this[_0x5e7e8a(0x213)]=0x0,this[_0x5e7e8a(0x267)]=0x0,this[_0x5e7e8a(0x217)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x328715,_0xdb3bb3){const _0x11608c=_0x4e0a0f;for(let _0x249aa7=0x0;_0x249aa7<0x1e;_0x249aa7++)try{if(await this[_0x11608c(0x2c9)](),this['_checkCalculationAvailable']()){this[_0x11608c(0x3f3)](_0x328715,_0xdb3bb3),this[_0x11608c(0x231)]['show']({'content':this[_0x11608c(0x354)]['t'](_0x11608c(0x25d)),'type':_0x225058[_0x11608c(0x3bc)][_0x11608c(0x2f4)]});return;}await new Promise(_0xf4e2c7=>{const _0x1b161d=_0x11608c;this[_0x1b161d(0x3fa)]=window[_0x1b161d(0x3b9)](_0xf4e2c7,0x3e8);});}catch(_0xaca8a0){this[_0x11608c(0x376)][_0x11608c(0x212)](_0xaca8a0);}this[_0x11608c(0x231)][_0x11608c(0x480)]({'content':this[_0x11608c(0x354)]['t'](_0x11608c(0x3f9)),'type':_0x225058[_0x11608c(0x3bc)][_0x11608c(0x47a)]});}[_0x4e0a0f(0x3f3)](_0x20cc13,_0x5a2ace){const _0x269265=_0x4e0a0f;try{this[_0x269265(0x3cf)][_0x269265(0x33a)](_0x20cc13['id'],_0x20cc13[_0x269265(0x344)],_0x5a2ace);}catch(_0x24eaa7){this[_0x269265(0x376)][_0x269265(0x212)](_0x24eaa7);}}[_0x4e0a0f(0x3d3)](_0x334e80,_0x3e55ee){const _0x20a24b=_0x4e0a0f;_0x3e55ee<this['_lastResponseTimestamp']||(this[_0x20a24b(0x217)]=_0x3e55ee,this[_0x20a24b(0x267)]=Number['parseInt'](_0x334e80['maxFormulaLimit']),this[_0x20a24b(0x213)]=Number[_0x20a24b(0x48b)](_0x334e80[_0x20a24b(0x202)]));}async['_startCalculationLimit'](_0x49c401){const _0xfc1586=_0x4e0a0f;var _0x452069,_0x50cb18;const _0x522c59=Date[_0xfc1586(0x388)]();try{const _0x404c15=((_0x452069=this[_0xfc1586(0x46e)][_0xfc1586(0x228)](_0x12afa3[_0xfc1586(0x450)]))==null?void 0x0:_0x452069[_0xfc1586(0x489)])||_0x32c7b0,_0x3bbb4b=(await this['_httpService'][_0xfc1586(0x278)](_0x404c15,{'body':JSON[_0xfc1586(0x260)]({'taskId':_0x49c401})}))['body'];if(((_0x50cb18=_0x3bbb4b[_0xfc1586(0x212)])==null?void 0x0:_0x50cb18[_0xfc1586(0x283)])!==_0x38be0f['OK'])return;this[_0xfc1586(0x3d3)](_0x3bbb4b[_0xfc1586(0x432)],_0x522c59);}catch(_0x497582){this[_0xfc1586(0x376)][_0xfc1586(0x212)](_0x497582);}}async['_getFormulaLimitStatus'](_0x3d4fa6){const _0x11b635=_0x4e0a0f;var _0x470904,_0x54e8cd;const _0x476550=Date['now']();try{const _0x3da849=((_0x470904=this[_0x11b635(0x46e)][_0x11b635(0x228)](_0x12afa3[_0x11b635(0x450)]))==null?void 0x0:_0x470904['getformulaLimitStatusUrl'])||_0x20a23f,_0xdd1161=_0x3d4fa6?_0x3da849+_0x11b635(0x466)+encodeURIComponent(_0x3d4fa6):_0x3da849,_0x459dae=(await this[_0x11b635(0x48e)]['get'](_0xdd1161))[_0x11b635(0x486)];if(((_0x54e8cd=_0x459dae[_0x11b635(0x212)])==null?void 0x0:_0x54e8cd[_0x11b635(0x283)])!==_0x38be0f['OK'])return;this[_0x11b635(0x3d3)](_0x459dae[_0x11b635(0x432)],_0x476550);}catch(_0x189ae5){this[_0x11b635(0x376)][_0x11b635(0x212)](_0x189ae5);}}async[_0x4e0a0f(0x42a)](_0x37bd53){const _0x3f0d91=_0x4e0a0f;var _0x51899a,_0x3eab86;const _0x126b27=Date[_0x3f0d91(0x388)]();try{const _0x2b3a09=((_0x51899a=this[_0x3f0d91(0x46e)]['getConfig'](_0x12afa3[_0x3f0d91(0x450)]))==null?void 0x0:_0x51899a[_0x3f0d91(0x36d)])||_0x14b31c,_0x4080cf=(await this[_0x3f0d91(0x48e)][_0x3f0d91(0x278)](_0x2b3a09,{'body':JSON[_0x3f0d91(0x260)]({'taskId':_0x37bd53})}))['body'];if(((_0x3eab86=_0x4080cf[_0x3f0d91(0x212)])==null?void 0x0:_0x3eab86['code'])!==_0x38be0f['OK'])return;this[_0x3f0d91(0x3d3)](_0x4080cf['limitInfo'],_0x126b27);}catch(_0x29231f){this[_0x3f0d91(0x376)]['error'](_0x29231f);}}[_0x4e0a0f(0x3a0)](){const _0x4cc505=_0x4e0a0f;return this[_0x4cc505(0x267)]===0x0?!0x0:this[_0x4cc505(0x267)]-this[_0x4cc505(0x213)]>0x0;}['_clearPolling'](){const _0x2e9842=_0x4e0a0f;this[_0x2e9842(0x3fa)]&&(clearTimeout(this[_0x2e9842(0x3fa)]),this['_pollingInterval']=null);}[_0x4e0a0f(0x23c)](){const _0x349fbc=_0x4e0a0f;this[_0x349fbc(0x231)][_0x349fbc(0x480)]({'content':this[_0x349fbc(0x354)]['t']('formula.calculation.waiting'),'type':_0x225058['MessageType']['Loading']});}[_0x4e0a0f(0x435)](_0x78812c){const _0x44f996=_0x4e0a0f;for(const _0x430f43 of _0x78812c){const {unitId:_0x55d99d,sheetId:_0x16d682,range:_0x5a5e0e}=_0x430f43,_0x35f6ea=this[_0x44f996(0x2dc)]['getUnit'](_0x55d99d);if(!_0x35f6ea)continue;const _0x140461=_0x35f6ea[_0x44f996(0x30d)](_0x16d682);if(!_0x140461)continue;const _0x3fcbde=_0x140461[_0x44f996(0x1b0)]();for(let _0x3bc37b=_0x5a5e0e[_0x44f996(0x2e1)];_0x3bc37b<=_0x5a5e0e[_0x44f996(0x2fe)];_0x3bc37b++)for(let _0x5977aa=_0x5a5e0e['startColumn'];_0x5977aa<=_0x5a5e0e[_0x44f996(0x345)];_0x5977aa++){const _0x3cd518=_0x3fcbde[_0x44f996(0x473)](_0x3bc37b,_0x5977aa);if(_0x3cd518&&(_0x3d65d5[_0x44f996(0x30a)](_0x3cd518['f'])||_0x3d65d5[_0x44f996(0x47b)](_0x3cd518['si'])))return!0x0;}}return!0x1;}};_0x38bf51=_0x2d94ea([_0x594317(0x0,_0x3d65d5[_0x4e0a0f(0x24b)](_0x47f27f[_0x4e0a0f(0x2ef)])),_0x594317(0x1,_0x3d65d5[_0x4e0a0f(0x1ad)]),_0x594317(0x2,_0x3d65d5[_0x4e0a0f(0x434)]),_0x594317(0x3,_0x3d65d5['Inject'](_0x280651[_0x4e0a0f(0x37b)])),_0x594317(0x4,_0x3d65d5[_0x4e0a0f(0x2b2)]),_0x594317(0x5,_0x3d65d5[_0x4e0a0f(0x259)]),_0x594317(0x6,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5['LocaleService']))],_0x38bf51);var _0x4be8c2=Object[_0x4e0a0f(0x373)],_0x97b2bd=(_0x1be490,_0x1645e6,_0x58ccde,_0x577e81)=>{const _0x4551ad=_0x4e0a0f;for(var _0x1bbfef=_0x577e81>0x1?void 0x0:_0x577e81?_0x4be8c2(_0x1645e6,_0x58ccde):_0x1645e6,_0x6b8d4f=_0x1be490[_0x4551ad(0x401)]-0x1,_0x20d3a5;_0x6b8d4f>=0x0;_0x6b8d4f--)(_0x20d3a5=_0x1be490[_0x6b8d4f])&&(_0x1bbfef=_0x20d3a5(_0x1bbfef)||_0x1bbfef);return _0x1bbfef;},_0x2002ea=(_0x40b868,_0x4d3205)=>(_0x5afca4,_0x527896)=>_0x4d3205(_0x5afca4,_0x527896,_0x40b868);let _0x2f44fc=class extends _0x3d65d5['Disposable']{constructor(_0x41aac7,_0x46476f,_0x4c4467){const _0x6d5129=_0x4e0a0f;super(),_0x519c33(this,_0x6d5129(0x317),new Map()),_0x519c33(this,_0x6d5129(0x40c),new Map()),_0x519c33(this,_0x6d5129(0x35e),!0x1),(this[_0x6d5129(0x46e)]=_0x41aac7,this['_localStorageService']=_0x46476f,this[_0x6d5129(0x337)]=_0x4c4467);}[_0x4e0a0f(0x1d6)](){const _0x39cdbd=_0x4e0a0f;this[_0x39cdbd(0x35e)]=!0x0;}['enableLocalCache'](){const _0x1a1d49=_0x4e0a0f;this[_0x1a1d49(0x35e)]=!0x1;}get[_0x4e0a0f(0x247)](){const _0x431ac2=_0x4e0a0f;return this[_0x431ac2(0x40c)];}[_0x4e0a0f(0x3ab)](){const _0x2822d4=_0x4e0a0f;this['exhaustSavingTask']()[_0x2822d4(0x2da)](()=>super['dispose']());}async['loadOfflineData'](_0x3ffa59){const _0x41b3aa=_0x4e0a0f;return this['_disabled']?null:this['_localStorageService'][_0x41b3aa(0x438)](_0x12afa3[_0x41b3aa(0x40e)](_0x3ffa59));}async['saveOfflineData'](_0x23dd0c,_0x1042f3){const _0x5570d3=_0x4e0a0f;return!!this[_0x5570d3(0x37a)]['setItem'](_0x23dd0c,_0x1042f3);}[_0x4e0a0f(0x2ac)](_0xf56a1,_0x249955,_0x2618db,_0x2916aa){const _0x27fc06=_0x4e0a0f,_0x4b2569=this['_revisionService'][_0x27fc06(0x1df)](_0xf56a1);this[_0x27fc06(0x317)][_0x27fc06(0x33d)](_0xf56a1,{'unitID':_0xf56a1,'type':_0x249955,'awaitingChangeset':_0x2618db,'mutations':_0x2916aa,'rev':_0x4b2569}),this['_saveTaskMap'][_0x27fc06(0x41e)](_0xf56a1)||this[_0x27fc06(0x2b3)](_0xf56a1);}[_0x4e0a0f(0x2b3)](_0x1d1dd0){const _0x8c439b=_0x4e0a0f,_0x3acc68=this[_0x8c439b(0x1f6)]();_0x3acc68===0x0?this[_0x8c439b(0x239)](_0x1d1dd0):this[_0x8c439b(0x40c)][_0x8c439b(0x33d)](_0x1d1dd0,setTimeout(()=>this[_0x8c439b(0x239)](_0x1d1dd0),_0x3acc68));}['_getSaveTimeout'](){const _0x190f00=_0x4e0a0f;var _0x5c5b5e;return(_0x5c5b5e=this['_configService'][_0x190f00(0x228)](_0x12afa3[_0x190f00(0x3d8)]))!=null?_0x5c5b5e:_0x12afa3[_0x190f00(0x1ae)];}[_0x4e0a0f(0x239)](_0x205ac5){const _0x437f97=_0x4e0a0f,_0x281622=this[_0x437f97(0x40c)][_0x437f97(0x236)](_0x205ac5);return _0x281622!==void 0x0&&window[_0x437f97(0x342)](_0x281622),this['_localStorageService'][_0x437f97(0x2f9)](_0x12afa3[_0x437f97(0x40e)](_0x205ac5),this[_0x437f97(0x317)][_0x437f97(0x236)](_0x205ac5))[_0x437f97(0x2da)](()=>this[_0x437f97(0x40c)]['delete'](_0x205ac5));}async[_0x4e0a0f(0x1f1)](){const _0x260e2f=_0x4e0a0f,_0x5bec5a=[];this[_0x260e2f(0x40c)]['forEach']((_0x1e3a30,_0xee1472)=>{const _0x21aa3f=_0x260e2f;window[_0x21aa3f(0x342)](_0x1e3a30),_0x5bec5a['push'](this[_0x21aa3f(0x239)](_0xee1472)[_0x21aa3f(0x2da)](()=>{const _0x251739=_0x21aa3f;this[_0x251739(0x40c)]['delete'](_0xee1472);}));}),await Promise[_0x260e2f(0x1cb)](_0x5bec5a);}};_0x2f44fc=_0x97b2bd([_0x2002ea(0x0,_0x3d65d5['IConfigService']),_0x2002ea(0x1,_0x3d65d5[_0x4e0a0f(0x46f)]),_0x2002ea(0x2,_0x3d65d5['Inject'](_0x36b4bf[_0x4e0a0f(0x35a)]))],_0x2f44fc);class _0x4d959f extends _0x3d65d5['RxDisposable']{constructor(){const _0x1b737b=_0x4e0a0f;super(),_0x519c33(this,_0x1b737b(0x427)),this[_0x1b737b(0x427)]=_0x5f36f4[_0x1b737b(0x222)](window,'popstate')[_0x1b737b(0x2c1)](_0x5f36f4[_0x1b737b(0x308)](this[_0x1b737b(0x33b)]),_0x5f36f4[_0x1b737b(0x2a5)](0x1),_0x5f36f4['mapTo'](void 0x0));}[_0x4e0a0f(0x1ce)](_0x4aa5d0,_0x29c211,_0x4c5150=!0x1){const _0x4bece1=_0x4e0a0f,_0x2f45fe=new URL(window[_0x4bece1(0x34b)]['href']);_0x2f45fe[_0x4bece1(0x3c8)]['set'](_0x4aa5d0,_0x29c211),_0x4c5150?window[_0x4bece1(0x363)][_0x4bece1(0x2ba)]('','',_0x2f45fe[_0x4bece1(0x3af)]()):window[_0x4bece1(0x363)][_0x4bece1(0x270)]('','',_0x2f45fe[_0x4bece1(0x3af)]());}['removeParam'](_0x165ebf,_0x464ead=!0x1){const _0x34ee6b=_0x4e0a0f,_0x483862=new URL(window[_0x34ee6b(0x34b)]['href']);_0x483862[_0x34ee6b(0x3c8)][_0x34ee6b(0x32d)](_0x165ebf),_0x464ead?window[_0x34ee6b(0x363)][_0x34ee6b(0x2ba)]('','',_0x483862[_0x34ee6b(0x3af)]()):window[_0x34ee6b(0x363)][_0x34ee6b(0x270)]('','',_0x483862['toString']());}[_0x4e0a0f(0x1f3)](_0x1400ab){const _0x50a952=_0x4e0a0f;var _0x1d1d0d;return(_0x1d1d0d=new URL(window[_0x50a952(0x34b)]['href'])[_0x50a952(0x3c8)][_0x50a952(0x236)](_0x1400ab))!=null?_0x1d1d0d:void 0x0;}}var _0x359dd7=Object[_0x4e0a0f(0x1ef)],_0x168c31=Object[_0x4e0a0f(0x373)],_0x697e9=(_0x311207,_0x20222e,_0x59a07f)=>_0x20222e in _0x311207?_0x359dd7(_0x311207,_0x20222e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x59a07f}):_0x311207[_0x20222e]=_0x59a07f,_0x3f0498=(_0x380f95,_0x318ac5,_0x5f24b6,_0x37b645)=>{const _0x2e3964=_0x4e0a0f;for(var _0x41d61a=_0x37b645>0x1?void 0x0:_0x37b645?_0x168c31(_0x318ac5,_0x5f24b6):_0x318ac5,_0x3b4673=_0x380f95[_0x2e3964(0x401)]-0x1,_0x3a1f82;_0x3b4673>=0x0;_0x3b4673--)(_0x3a1f82=_0x380f95[_0x3b4673])&&(_0x41d61a=_0x3a1f82(_0x41d61a)||_0x41d61a);return _0x41d61a;},_0x6bba6=(_0x35a3ae,_0x391ffe)=>(_0x4df778,_0x50b9ae)=>_0x391ffe(_0x4df778,_0x50b9ae,_0x35a3ae),_0xb4fc69=(_0x15e0e5,_0x2f37fe,_0x53e9b4)=>_0x697e9(_0x15e0e5,_0x2f37fe+'',_0x53e9b4);const _0x26d521=_0x4e0a0f(0x400);_0x5d6189['UniverCollaborationClientUIPlugin']=class extends _0x3d65d5[_0x4e0a0f(0x1dc)]{constructor(_0xa1c002=_0x37e97f,_0x19aace,_0x2cce88,_0x3a38a4){const _0x597a15=_0x4e0a0f;super(),this['_config']=_0xa1c002,this['_renderManagerService']=_0x19aace,this['_injector']=_0x2cce88,this['_configService']=_0x3a38a4;const {..._0x572f91}=_0x3d65d5['merge']({},_0x37e97f,this[_0x597a15(0x20a)]);this['_configService']['setConfig'](_0x3f564f,_0x572f91);}[_0x4e0a0f(0x1d1)](){const _0x2a5e10=_0x4e0a0f;this[_0x2a5e10(0x206)](),this['_initDependencies']();}['onRendered'](){const _0x39294c=_0x4e0a0f;this[_0x39294c(0x200)]();}[_0x4e0a0f(0x206)](){const _0x274610=_0x4e0a0f;var _0x85d671;const _0x1e1061=[[_0x5b2747],[_0x38bf51],[_0x5c5c0d],[_0x1eb585],[_0x558573],[_0x58e52d],[_0x41d09c,{'useClass':_0x4d959f}],[_0x280651['ISocketService'],{'useClass':_0x280651['WebSocketService']}],[_0x12afa3['ILocalCacheService'],{'useClass':_0x2f44fc}],[_0x5d6189[_0x274610(0x3ec)]],[_0x46cecc],[_0x339ee0],[_0x1a8b3b],[_0x4333d5],[_0x5d6189['CollaborationDataLoaderController']]];this[_0x274610(0x20a)][_0x274610(0x310)]&&_0x1e1061[_0x274610(0x1c3)]([_0xf7fe1c]),_0x3d65d5[_0x274610(0x3db)](this[_0x274610(0x458)],_0x3d65d5[_0x274610(0x451)](_0x1e1061,(_0x85d671=this[_0x274610(0x20a)])==null?void 0x0:_0x85d671[_0x274610(0x2b1)]));}[_0x4e0a0f(0x200)](){const _0x39dbe7=_0x4e0a0f;this['disposeWithMe'](this[_0x39dbe7(0x2e6)][_0x39dbe7(0x1f9)](_0x3d65d5[_0x39dbe7(0x307)][_0x39dbe7(0x1c2)],[_0xfead4d])),this[_0x39dbe7(0x38a)](this[_0x39dbe7(0x2e6)]['registerRenderModule'](_0x3d65d5[_0x39dbe7(0x307)]['UNIVER_SHEET'],[_0x1d6ca3]));}['_initDependencies'](){const _0x1433db=_0x4e0a0f;_0x3d65d5['touchDependencies'](this[_0x1433db(0x458)],[[_0x1a8b3b],[_0x5d6189['DesktopCollaborationStatusDisplayController']],[_0x46cecc],[_0x339ee0],[_0x5d6189[_0x1433db(0x36c)]],[_0x38bf51]]),this[_0x1433db(0x20a)][_0x1433db(0x310)]&&_0x3d65d5[_0x1433db(0x1ff)](this[_0x1433db(0x458)],[[_0xf7fe1c]]);}},_0xb4fc69(_0x5d6189[_0x4e0a0f(0x409)],_0x4e0a0f(0x205),_0x26d521),_0x5d6189[_0x4e0a0f(0x409)]=_0x3f0498([_0x3d65d5[_0x4e0a0f(0x229)](_0x12afa3[_0x4e0a0f(0x2d3)]),_0x6bba6(0x1,_0x48b1a2[_0x4e0a0f(0x3ee)]),_0x6bba6(0x2,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x2c0)])),_0x6bba6(0x3,_0x3d65d5[_0x4e0a0f(0x434)])],_0x5d6189[_0x4e0a0f(0x409)]);var _0x420e19=Object['getOwnPropertyDescriptor'],_0x118156=(_0x2fd2df,_0x3ea0dd,_0x43a2cf,_0x3847e4)=>{const _0x285c83=_0x4e0a0f;for(var _0x12e131=_0x3847e4>0x1?void 0x0:_0x3847e4?_0x420e19(_0x3ea0dd,_0x43a2cf):_0x3ea0dd,_0x288c2d=_0x2fd2df[_0x285c83(0x401)]-0x1,_0x38b514;_0x288c2d>=0x0;_0x288c2d--)(_0x38b514=_0x2fd2df[_0x288c2d])&&(_0x12e131=_0x38b514(_0x12e131)||_0x12e131);return _0x12e131;},_0x14e2a3=(_0x2dc677,_0x19fe64)=>(_0x45da8e,_0x8933f)=>_0x19fe64(_0x45da8e,_0x8933f,_0x2dc677);_0x5d6189[_0x4e0a0f(0x1e5)]=class extends _0x12afa3['CollaborationSocketService']{constructor(_0x40edbf,_0x4bf45c,_0x4403b6,_0x36ca35,_0x301615){super(_0x40edbf,_0x4bf45c,_0x4403b6,_0x36ca35,_0x301615);}async[_0x4e0a0f(0x389)](_0x2d9c36){const _0x14a47d=_0x4e0a0f,_0x22f052=await this['_getSessionTicket'](),_0x229a0f=this['_createSocketURL'](_0x2d9c36,_0x22f052);return this[_0x14a47d(0x45b)](_0x229a0f);}[_0x4e0a0f(0x245)](_0x3fa139,_0x57b526){const _0xc6d18f=_0x4e0a0f,_0x927535=typeof window>'u'?new URL(_0x3fa139):new URL(_0x3fa139,window[_0xc6d18f(0x34b)][_0xc6d18f(0x377)]);_0x927535[_0xc6d18f(0x3c8)][_0xc6d18f(0x33d)](_0xc6d18f(0x323),_0x57b526);const _0x1bfdde=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xc6d18f(0x34b)][_0xc6d18f(0x2a4)]);return _0x1bfdde[_0xc6d18f(0x236)](_0xc6d18f(0x42d))&&_0x927535[_0xc6d18f(0x3c8)][_0xc6d18f(0x33d)](_0xc6d18f(0x42d),_0x1bfdde[_0xc6d18f(0x236)](_0xc6d18f(0x42d))),_0x927535[_0xc6d18f(0x3af)]();}async[_0x4e0a0f(0x431)](){const _0x23a031=_0x4e0a0f;var _0x390da8,_0xa08ee6,_0x2fda6b;const _0x2486ae=this[_0x23a031(0x46e)][_0x23a031(0x228)](_0x12afa3[_0x23a031(0x450)]),_0x284ac6=(_0x390da8=_0x2486ae==null?void 0x0:_0x2486ae[_0x23a031(0x1d9)])!=null?_0x390da8:_0x12afa3[_0x23a031(0x327)];return(_0x2fda6b=(_0xa08ee6=(await this[_0x23a031(0x48e)]['get'](_0x284ac6,{'headers':{'Content-Type':_0x23a031(0x3b1)}}))[_0x23a031(0x486)])==null?void 0x0:_0xa08ee6[_0x23a031(0x273)])!=null?_0x2fda6b:'';}},_0x5d6189['BrowserCollaborationSocketService']=_0x118156([_0x14e2a3(0x0,_0x3d65d5[_0x4e0a0f(0x24b)](_0x3d65d5[_0x4e0a0f(0x2c0)])),_0x14e2a3(0x1,_0x3d65d5[_0x4e0a0f(0x24b)](_0x280651[_0x4e0a0f(0x37b)])),_0x14e2a3(0x2,_0x3d65d5['IConfigService']),_0x14e2a3(0x3,_0x3d65d5[_0x4e0a0f(0x259)]),_0x14e2a3(0x4,_0x36b4bf[_0x4e0a0f(0x43a)])],_0x5d6189['BrowserCollaborationSocketService']);var _0x574c1e=Object['getOwnPropertyDescriptor'],_0x199410=(_0x2e3afe,_0x591e8f,_0x370de8,_0x36dca0)=>{const _0x4330c9=_0x4e0a0f;for(var _0x547fc0=_0x36dca0>0x1?void 0x0:_0x36dca0?_0x574c1e(_0x591e8f,_0x370de8):_0x591e8f,_0x58cccc=_0x2e3afe[_0x4330c9(0x401)]-0x1,_0x277978;_0x58cccc>=0x0;_0x58cccc--)(_0x277978=_0x2e3afe[_0x58cccc])&&(_0x547fc0=_0x277978(_0x547fc0)||_0x547fc0);return _0x547fc0;},_0x311d1d=(_0x1433f1,_0x318314)=>(_0x45bbec,_0x28e426)=>_0x318314(_0x45bbec,_0x28e426,_0x1433f1);_0x5d6189[_0x4e0a0f(0x1c8)]=class extends _0x3d65d5[_0x4e0a0f(0x293)]{constructor(_0x3a934e,_0x4a08dc,_0x2e974d){const _0x276ad5=_0x4e0a0f;super(),this[_0x276ad5(0x280)]=_0x3a934e,this[_0x276ad5(0x48e)]=_0x4a08dc,this[_0x276ad5(0x46e)]=_0x2e974d;}async['runOnServer'](_0x4bc881,_0xa2f92d,_0x50ad0a,..._0x4ab902){const _0x34ba2e=_0x4e0a0f;var _0x3ca1fe,_0x207574,_0x33923b,_0x26cf6c;const _0x52537b=this[_0x34ba2e(0x280)][_0x34ba2e(0x263)]();if(!_0x52537b)throw new Error(_0x34ba2e(0x30f));const _0x1e156e=((_0x3ca1fe=this[_0x34ba2e(0x46e)][_0x34ba2e(0x228)](_0x12afa3[_0x34ba2e(0x1b7)]))!=null?_0x3ca1fe:_0x12afa3[_0x34ba2e(0x204)])+'/'+_0x4bc881+_0x34ba2e(0x368)+_0xa2f92d,_0x997b77=new URL(window[_0x34ba2e(0x34b)][_0x34ba2e(0x3be)]),_0x3a64d1={'scriptId':_0x4bc881,'runId':(_0x207574=_0x997b77['searchParams'][_0x34ba2e(0x236)](_0x34ba2e(0x42d)))!=null?_0x207574:'','function':_0xa2f92d,'unitId':_0x52537b[_0x34ba2e(0x347)](),'argsOfFunction':JSON[_0x34ba2e(0x260)](_0x4ab902),'invokeId':(_0x33923b=_0x50ad0a[_0x34ba2e(0x34f)])!=null?_0x33923b:'','executionId':(_0x26cf6c=_0x50ad0a[_0x34ba2e(0x1bf)])!=null?_0x26cf6c:''};try{const _0x5b49f8=await this[_0x34ba2e(0x48e)]['post'](_0x1e156e,{'body':_0x3a64d1});return _0x5b49f8[_0x34ba2e(0x486)]['error']&&_0x5b49f8['body'][_0x34ba2e(0x212)][_0x34ba2e(0x283)]!==_0x38be0f['OK']?_0x34ba2e(0x43c):_0x5b49f8[_0x34ba2e(0x486)]['result'];}catch{return _0x34ba2e(0x43c);}}},_0x5d6189[_0x4e0a0f(0x1c8)]=_0x199410([_0x311d1d(0x0,_0x3d65d5['IUniverInstanceService']),_0x311d1d(0x1,_0x3d65d5[_0x4e0a0f(0x24b)](_0x280651['HTTPService'])),_0x311d1d(0x2,_0x3d65d5[_0x4e0a0f(0x434)])],_0x5d6189['RemoteUniscriptService']);const _0x37d032=0x7530,_0x362556='ACTIVE_UNIT_EVENT_CHANNEL';class _0x37ee47 extends _0x3d65d5['Disposable']{constructor(){const _0x5e5f91=_0x4e0a0f;super(),_0x519c33(this,_0x5e5f91(0x309),_0x3d65d5[_0x5e5f91(0x448)]()),_0x519c33(this,_0x5e5f91(0x45f),new Set()),_0x519c33(this,_0x5e5f91(0x362),new Map()),_0x519c33(this,'_heartbeatTimer',null),_0x519c33(this,_0x5e5f91(0x41f),new Map()),_0x519c33(this,_0x5e5f91(0x383),new Map()),this[_0x5e5f91(0x276)]();}['dispose'](){const _0x21e009=_0x4e0a0f;super['dispose'](),this[_0x21e009(0x41f)]['forEach']((_0x50cde3,_0x15eead)=>this['_removeClearOtherTimer'](_0x15eead)),this[_0x21e009(0x31f)]&&window[_0x21e009(0x3ff)](this['_heartbeatTimer']);}['getUnitStatus$'](_0x41bb52){const _0xb915f9=_0x4e0a0f;return this[_0xb915f9(0x455)](_0x41bb52)[_0xb915f9(0x2c1)](_0x5f36f4[_0xb915f9(0x3cd)]());}['editingUnit'](_0x298c14){const _0xab654e=_0x4e0a0f;this[_0xab654e(0x45f)][_0xab654e(0x282)]===0x0&&this[_0xab654e(0x230)](),this[_0xab654e(0x45f)][_0xab654e(0x3f0)](_0x298c14),this['_send']({'type':0x0,'memberID':this[_0xab654e(0x309)],'unitIDs':[_0x298c14],'isForwarded':!0x1});}[_0x4e0a0f(0x38c)](_0x393200){const _0x333070=_0x4e0a0f;this['_selfUnitIDs'][_0x333070(0x32d)](_0x393200),this[_0x333070(0x45f)][_0x333070(0x282)]===0x0&&this[_0x333070(0x31f)]&&window[_0x333070(0x3ff)](this[_0x333070(0x31f)]);}[_0x4e0a0f(0x276)](){const _0x350449=_0x4e0a0f;this[_0x350449(0x38a)](_0x3d65d5['toDisposable'](_0x5f36f4[_0x350449(0x222)](window,_0x350449(0x481))[_0x350449(0x364)](_0x1c1d86=>{const _0x535e96=_0x350449;if(_0x1c1d86[_0x535e96(0x22c)]!==_0x362556||!_0x1c1d86[_0x535e96(0x477)])return;const _0x9cf2a2=JSON[_0x535e96(0x470)](_0x1c1d86[_0x535e96(0x477)]);this['_handleEvent'](_0x9cf2a2);}))),window[_0x350449(0x1d5)](_0x350449(0x209),()=>this['_send']({'type':0x1,'memberID':this[_0x350449(0x309)],'unitIDs':Array['from'](this[_0x350449(0x45f)])}));}['_handleEvent'](_0x1194c9){const _0x29fe29=_0x4e0a0f;switch(_0x1194c9[_0x29fe29(0x1d3)]){case 0x0:this[_0x29fe29(0x403)](_0x1194c9);break;case 0x1:this[_0x29fe29(0x1c1)](_0x1194c9);break;case 0x2:this['_handleHeartbeatEvent'](_0x1194c9);break;}}[_0x4e0a0f(0x403)](_0x55a914){const _0x542ed9=_0x4e0a0f,{unitIDs:_0x1e5c49,memberID:_0x2b3672,isForwarded:_0xd564e3}=_0x55a914;_0x1e5c49[_0x542ed9(0x3e9)](_0x3fa1bc=>{const _0xbd5a92=_0x542ed9;if(!_0xd564e3&&this['_unitOnClients'][_0xbd5a92(0x41e)](_0x3fa1bc)&&this['_ensureSubject'](_0x3fa1bc)[_0xbd5a92(0x2a7)](_0x12afa3[_0xbd5a92(0x2ab)][_0xbd5a92(0x262)]),!this[_0xbd5a92(0x362)][_0xbd5a92(0x41e)](_0x3fa1bc)||!this[_0xbd5a92(0x362)][_0xbd5a92(0x236)](_0x3fa1bc)[_0xbd5a92(0x41e)](_0x2b3672)){const _0x571d70=this[_0xbd5a92(0x362)][_0xbd5a92(0x236)](_0x3fa1bc)||new Set();_0x571d70[_0xbd5a92(0x3f0)](_0x2b3672),this['_unitOnClients'][_0xbd5a92(0x33d)](_0x3fa1bc,_0x571d70),this[_0xbd5a92(0x20c)](_0x2b3672);}}),_0xd564e3||this[_0x542ed9(0x22f)]({'type':0x0,'memberID':this[_0x542ed9(0x309)],'unitIDs':[...this[_0x542ed9(0x45f)]],'isForwarded':!0x0});}[_0x4e0a0f(0x20c)](_0x313fab){const _0x2a6699=_0x4e0a0f;this[_0x2a6699(0x463)](_0x313fab);const _0x4ef641=window['setTimeout'](()=>{const _0x292c7c=_0x2a6699;this['_unitOnClients'][_0x292c7c(0x3e9)](_0x5a87e5=>{const _0x30144e=_0x292c7c;_0x5a87e5[_0x30144e(0x32d)](_0x313fab);});},_0x37d032*0x2);this['_clearOtherTimers'][_0x2a6699(0x33d)](_0x313fab,_0x4ef641);}[_0x4e0a0f(0x463)](_0x36d0b0){const _0x417f02=_0x4e0a0f;if(this[_0x417f02(0x41f)]['has'](_0x36d0b0)){const _0x45f041=this[_0x417f02(0x41f)][_0x417f02(0x236)](_0x36d0b0);_0x45f041&&window[_0x417f02(0x342)](_0x45f041),this[_0x417f02(0x41f)][_0x417f02(0x33d)](_0x36d0b0,null);}}[_0x4e0a0f(0x1c1)](_0x421f51){const _0x287e1a=_0x4e0a0f,{memberID:_0x4fd594,unitIDs:_0x1281a0}=_0x421f51;_0x1281a0[_0x287e1a(0x3e9)](_0x581156=>{const _0x59600a=_0x287e1a;var _0x19dd10;const _0x55875d=this['_unitOnClients'][_0x59600a(0x236)](_0x581156);_0x55875d&&(_0x55875d[_0x59600a(0x32d)](_0x4fd594),(_0x19dd10=this[_0x59600a(0x455)](_0x581156))==null||_0x19dd10['next'](_0x55875d[_0x59600a(0x282)]===0x0?_0x12afa3[_0x59600a(0x2ab)][_0x59600a(0x1a7)]:_0x12afa3[_0x59600a(0x2ab)]['OTHER_CLIENTS_EDITING']));}),this[_0x287e1a(0x463)](_0x4fd594);}[_0x4e0a0f(0x34d)](_0x46b6df){const _0x539f5d=_0x4e0a0f;this[_0x539f5d(0x20c)](_0x46b6df[_0x539f5d(0x367)]);}[_0x4e0a0f(0x22f)](_0x18b2a9){const _0x1af0b0=_0x4e0a0f;localStorage[_0x1af0b0(0x2f9)](_0x362556,JSON[_0x1af0b0(0x260)](_0x18b2a9));}[_0x4e0a0f(0x230)](){const _0x4a7af4=_0x4e0a0f;this[_0x4a7af4(0x31f)]=window[_0x4a7af4(0x329)](()=>{const _0x2acca4=_0x4a7af4;this[_0x2acca4(0x22f)]({'type':0x2,'memberID':this[_0x2acca4(0x309)]});},_0x37d032);}['_ensureSubject'](_0x11595d){const _0x40ac80=_0x4e0a0f;return this[_0x40ac80(0x383)][_0x40ac80(0x41e)](_0x11595d)||this[_0x40ac80(0x383)][_0x40ac80(0x33d)](_0x11595d,new _0x5f36f4[(_0x40ac80(0x426))](_0x12afa3['UnitStatus'][_0x40ac80(0x1a7)])),this['_unitStatus'][_0x40ac80(0x236)](_0x11595d);}}_0x5d6189[_0x4e0a0f(0x339)]=_0x41d09c,_0x5d6189[_0x4e0a0f(0x3bb)]=_0x4e0ebf,_0x5d6189[_0x4e0a0f(0x1f7)]=_0x37ee47,_0x5d6189[_0x4e0a0f(0x23b)]=_0x4d959f,Object[_0x4e0a0f(0x1ef)](_0x5d6189,Symbol[_0x4e0a0f(0x324)],{'value':_0x4e0a0f(0x420)});}));function _0x38b8(){const _0x999a11=['collabCursorState$','_drawAnchor','USERS_LEAVE','currentTheme$','now','createSocket','disposeWithMe','_docTransformSelectionsService','disposeUnit','_themeService','UniverRpc','IDocClipboardService','[LogService\x20Error]:\x20','findNodePositionByCharIndex','roomMembers$','_backgroundColor','row','_uiPartsService','CollaborationEvent','doc.mutation.rich-text-editing','FormulaExecuteStageType','#FFF','_docSkeleton','_status$','min','_render','OFFLINE','_lastPointer','_checkCalculationAvailable','cursorInfo','getCollabEntity$','onPointerMove$','@univerjs/ui','handleIRemoveCol','tag','string','getUndoRedoMutationParamsCache','throttleTime','_draw','dispose','UNIVER_SHEET','div','setStateCache','toString','_entities','application/json','blue.400','setAlpha','redoState','_refRangeService','_getMergeRange','Unknown\x20user','random','setTimeout','REDEMPTION_CODE_NOT_STARTED','SheetCollabCursorShape','MessageType','dirtyRanges','href','UniverSheets','InsertRowCommandId','isArray','unitId','actions','_color','M0\x200H16V16H0z','handleDeleteRangeMoveLeft','collabStatus.fetchMiss','searchParams','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','join','off-line-icon_clip0_910_343','APPLY_DUPLICATED','distinctUntilChanged','SOCKET_FAILED','_commandService','makeDirty','_docSyncEditingCollabCursorService','HEADER_MENU','_setFormulaLimitStatus','IImageIoService','_initResize','setUndoRedoMutationParamsCache','selections','LOCAL_CACHE_INTERVAL_KEY','beforeCommandExecuted','getMemberID','registerDependencies','getSheetObject','VIEW_MAIN','trim','onPointerEnter$','entityInit$','CanceledError','toRgbString','_notificationService','_cursorShapes','collabStatus.synced','getSheetId','INotificationService','UNRECOGNIZED','forEach','ONLINE','with','DesktopCollaborationStatusDisplayController','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','IRenderManagerService','_cursorInfo$','add','unit','_cursors','_applyCommand','REDEMPTION_CODE_FULLY_REDEEMED','4363816YWWCTb','_colorAssignService','on-line-icon_clip0_910_349','values','formula.calculation.unable','_pollingInterval','data','startColumn','REDEMPTION_USER_REDEEM_TIMES_EXCEED','jsx','clearInterval','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','length','@univerjs/sheets-ui','_handleJoinEvent','CommandType','getRelativeToViewportCoord','sheetID','_collaborationUIEventService','skeleton','UniverCollaborationClientUIPlugin','523630DAoUKj','session.collaboration-timeout','_saveTaskMap','subUnitId','getLocalCacheKey','UniverDesign','APPLY_REJECT','START_CALCULATION','defs','ENTITLE_USE_COUPON_NOT_1ST_TRADE','white','_transformUndoRedoStack','_sheetSkeletonManagerService','assignAColorForMemberID','runRefRangeMutations','use','2xabuGb','bottom','@univerjs/engine-formula','deepClone','has','_clearOtherTimers','Module','purple.300','transformStateCache','isActive','currentColor','WECHAT_HAS_BEEN_BOUND','BehaviorSubject','urlChange$','RegularPolygon','DATA_SOURCE_TOO_LARGE','_releaseCalculationLimit','_docSkeletonManagerService','getSkeleton','runId','onCommandExecuted','_initEvent','_assignedColors','_getSessionTicket','limitInfo','SNAPSHOT_HAS_BEEN_REMOVED','IConfigService','_hasFormulaInDirtyRanges','YUUMI_TABLE_NOT_FOUND_IN_UNIT','drawWith','getItem','getMember','ISnapshotServerService','addObjects','Failed','focused$','isTransformMutationFailure','FETCH_MISS','complete','SessionStatus','MOBILE_HAS_BEEN_BOUND','_initEntityListener','UNDEFINED','debounceTime','SYNCED','colorChannel1','generateRandomId','LICENSE_IMPORT_SIZE_EXCEEDED','createIdentifier','split','collab-client.tooltip.reconnect','univerjs-icon\x20univerjs-icon-','_setupSubUnitSync','@univerjs/sheets','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','mergeOverrideWithDependencies','_document','currentSkeleton$','UniverSheetsUi','_ensureSubject','APPLY_PERMISSION_DENIED','_memberService','_injector','clipPath','univer-flex\x20univer-items-center','_doCreateSocket','UniverDrawing','DeleteRangeMoveLeftCommandId','YUUMI_NO_CUBOID_FOR_QUESTION','_selfUnitIDs','RECT','switchMap','OffLineIcon','_removeClearOtherTimer','_hovered','_onRefRangeChange','?taskId=','3wzAUCp','collab-text-anchor-','debounce','useDependency','transformIMECache','IUIPartsService','EMAIL_HAS_BEEN_BOUND','_configService','ILocalStorageService','parse','collaboration.single-unit.warning','InsertColCommandId','getValue','TEXT_RANGE_LAYER_INDEX','round','font','newValue','SetTextSelectionsOperation','functionsExecutedState','Error','isFormulaId','EMAIL_VERIFY_CODE_MISMATCH','SetFormulaCalculationStartMutation','getTypeOfUnitAdded$','REDEMPTION_USER_NOT_ELIGIBLE','show','storage','whenReady','name','UPDATE_CURSOR','_initCommandInterceptor','body','ERROR_AGAIN','SheetSkeletonManagerService','startFormulaLimitUrl','forwardRef','parseInt','UniverCore','evenodd','_httpService','INVITE_CODE_REQUIRED','MemberService','stack','NO_OTHER_CLIENTS_EDITING','map','current','ColorKit','INVITE_CODE_HAS_BEEN_UES','xlink:href','ICommandService','LOCAL_CACHE_INTERVAL','_initWindowErrorListener','getCellMatrix','filename','@univerjs/drawing','0\x200\x2016\x2016','COLORS','removeEventListener','color','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_setupBeforeClosingHandler','APPLY_REVISION_CONFILICT','@univerjs/docs','registerComponent','contains','resize','CollaborationStatus','executionId','getUniverSheetInstance','_handleLeaveEvent','UNIVER_DOC','push','isEditing','ranges','stageInfo','_online','RemoteUniscriptService','width','idSuffix','all','SetWorksheetActivateCommand','React','setParam','SOCKET_FAILED_RETRY','ENTITLE_INSUFFICIENT_QUOTA','onStarting','_startDocCollabCursor','type','text','addEventListener','disableLocalCache','_toggleOffline','_textBubble','wsSessionTicketUrl','setShapeProps','clsx','Plugin','collabStatus.notCollab','PENDING','getCurrentRevOfUnit','addClipboardHook','debug','CollaborationUIEventService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','connectInjector','BrowserCollaborationSocketService','YUUMI_URL_COL_OUT_OF_RANGE','arc','CollaborationSessionService','svg','translate(.97)','NOT_COLLAB','LocaleService','AUTHORIZE_CODE_ILLEGAL','collabStatus.syncing','defineProperty','@univerjs/engine-render','exhaustSavingTask','_updateCollabCursors','getParam','Subject','@univerjs/core','_getSaveTimeout','WebBrowserSingleActiveUnitService','DocStateChangeManagerService','registerRenderModule','undoState','getUnhiddenWorksheets','@univerjs-pro/collaboration','some','transformMutation','touchDependencies','_registerRenderDependencies','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','currentUsage','symbol','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','pluginName','_registerDependencies','ILocalCacheService','message','unload','_config','8448021gxeRFd','_scheduleClearOtherTimer','INVALID_ARGUMENT','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_monkeyPatchLogService','CHANGESET_REVISION_CONFILICT','_anchor','error','_currentUsage','getActiveSheet','url(#on-line-icon_clip0_910_349)','_toggleOnline','_lastResponseTimestamp','black','lineno','unsubscribe','univer-mr-2\x20univer-flex\x20univer-text-xl','_docClipboardService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','transformRemoteChangeset','Warning','_scene','measureText','fromEvent','_getAnchorBounding','CollaborationController','UNAUTHENTICATED','getColor','USER_NOT_INVITED_CODE','getConfig','DependentOn','getCurrentSelections','saveImage','key','displayName','ENTITLE_DUP_SUBSCRIPTION','_send','_scheduleHeartbeat','_messageService','_initStatusListener','_handleHover','REDEMPTION_CODE_INACTIVE','lineTo','get','UniverIcon','YUUMI_RATE_OVER_LIMIT','_saveCache','PERMISSION_DENIED','WebURLService','_showGuardMessage','INVITE_CODE_ALREADY_BOUND','@univerjs/docs-ui','ENTITLE_INVALID_COUPON_CODE','_anchorDot','uni.network.url-service','_transformService','LOGIN_TOKEN_PROCESSING_FAILED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_createSocketURL','reconnect','saveTaskMap','CollaborationUIEventId','onMouseMove','_beforeCloseService','Inject','APPLY_NON_SEQUENTIAL_REVISION','catch','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_cursor','INVALID_INVITE_CODE','cursorInfo$','_collabSessionService','_startSheetCollabCursor','/universer-api/license/formula/limit/start','path','RefRangeService','createElement','USER_NOT_FOUND','ILogService','reason','m1Prime','UniverProCollaborationClientUi','formula.calculation.started','addObject','_onCursorDelete','stringify','@univerjs/rpc','OTHER_CLIENTS_EDITING','getFocusedUnit','DocCollaborationEntity','init','beginPath','_maxFormulaLimit','getActiveRange','docStateChange$','getRangePointData','_updateLocalCursor','column','setActiveRange','defIds','rgba(255,\x20255,\x20255,\x200.01)','pushState','_colorIndex','closePath','ticket','imageSourceType','collabStatus.conflict','_init','_session','post','_localCacheService','includes','745269EWyQQE','useCallback','MoveRangeCommandId','3236160waAhIC','RichTextEditingMutation','_instanceService','red.300','size','code','YUUMI_ALL_TABLES_IS_INVALID','PY_RUNTIME_SCRIPT_ERROR','TEXT','[Unhandled\x20Rejection]:\x20','fillText','MUTATION','YUUMI_ASYNCIO_CANCELLED','getCollabCursors$','source','MOBILE_VERIFY_CODE_MISMATCH','NodePositionConvertToCursor','collaboration.closeRoom','startsWith','ITransformService','handleInsertRangeMoveDown','Disposable','subscribeEvent','SHEET_VIEWPORT_KEY','_getSheetObject','USER_IS_ANONYMOUS','FromArray','_transformPreviousActiveRange','Rectangle','_initUnhandledRejectionListener','status$','useObservable','_collabCursorState$','DOC_RANGE_TYPE','transformByState','_collaborationSessionService','unhandledrejection','DisposableCollection','search','shareReplay','hide','next','ALREADY_EXISTS','DocIMEInputManagerService','mutations','UnitStatus','updateOfflineData','@univerjs-pro/collaboration-client','_urlService','filter','DeleteRangeMoveUpCommandId','override','IUniverInstanceService','_scheduleSaving','unitID','ENSURE_SNAPSHOT_EXECUTION','getMergeData','range','PAYMENT_CHANNEL_NOT_SUPPORT','registerBeforeClose','replaceState','SNAPSHOT_INVALID_SNAPSHOT','bind','on-line-icon','_onCursorUpdate','@univerjs/design','Injector','pipe','jsxs','NodePositionConvertToRectRange','TOO_MANY_REQUESTS','attrs','RxDisposable','fill','height','_getFormulaLimitStatus','_updateURLWithCurrentState','off-line-icon','transformMutationsWithChangeset','triggerDblclick','combineLatest','requireSession','_docTransformIMECacheService','none','isTransformMutationsWithChangesetSuccess','UniverCollaborationClientPlugin','YUUMI_CONNECTOR_URL_NOT_FOUND','registerRefRange','_refreshCollabCursors','roomMembers','BuiltInUIPart','CURRENT_STATUS_CANNOT_OPERATE','then','socket$','_univerInstanceService','_imageIoService','url(#off-line-icon_clip0_910_343)','3090764ZeJzrb','_roomMembers$','startRow','_initCommandExecutedListener','_docStateChangeManagerService','engine','RemoveColCommandId','_renderManagerService','getColorFromTheme','_eventUnsubscribe','Vector2','LICENSE_DISTRO_REJECTED','_entityInit$','SUCCESS','CLOSE_ROOM','backgroundColor','IMessageService','unshift','[Window\x20Error]:\x20','_startCalculationLimit','UniverEngineFormula','Success','_context','restore','EffectRefRangId','save','setItem','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_shapes','...','_getScale','endRow','LOGIN_FAILED','_initUserListener','_checkAndWaitForCalculationPermission','CONFLICT','_removeCollabCursors','handleInsertRangeMoveRight','_taskIds','syncEditingCollabCursor','UniverInstanceType','takeUntil','_id','isFormulaString','_collaborationController','YUUMI_AI_RUN_FAILED','getSheetBySheetId','_memberID','[RemoteUniscriptService]:\x20no\x20focused\x20unit','enableFrontendLog','green.600','operators','replace','FormulaExecutedStateType','SUBMIT_CHANGESET_TIMEOUT','getDocRanges','_cachedData','assign','ENTITLE_CHAT_LIMIT_EXCEED','_labelPosition','toDisposable','3253122yQVVpb','transformSelections','entries','_heartbeatTimer','eventID','subunit','YUUMI_SUBSCRIPTION_NOT_FOUND','sessionTicket','toStringTag','_docTransformStateCacheService','_collabCursorController','DEFAULT_WS_SESSION_TICKET_URL','m2Prime','setInterval','_range','UniverDocs','_transformHistoryAndStateStack','delete','session.connection-failed','SetSelectionsOperation','IRemoteInstanceService','_hideTimer','rxjs','0\x200\x2017\x2016','LICENSE_MAX_UNITS_EXCEEDED','UniverEngineRender','_drawRectRange','_revisionService','INTERNAL_ERROR','IURLService','executeCommand','dispose$','_name','set','exports','url(#$1','find','getStateCache','clearTimeout','fillStyle','params','endColumn','react','getUnitId','IBeforeCloseService','Tools','fromEventSubject','location','[CollaborationDataLoaderController]','_handleHeartbeatEvent','activeSheet$','invokeId','textRanges','react/jsx-runtime','getCoordByCell','JOIN_ROOM_FAILED','_localeService','/universer-api/license/formula/limit/status','totalFormulasToCalculate','ENTITLE_NEED_BILLING_ADDRESS','sheetId','mask','RevisionService','Shape','CONNECTOR_DATA_TOO_LARGE','getCurrentUnitForType','_disabled','handleInsertRow','_updateSubUnitFromURLParams','UniverProCollaborationClient','_unitOnClients','history','subscribe','asObservable','_hover','memberID','/run/','selection','_initStatusComponent','onPointerLeave$','CollaborationDataLoaderController','releaseFormulaLimitUrl','getRenderById','ThemeService','flatMap','REDEMPTION_CODE_HAS_BEEN_CREATED','children','getOwnPropertyDescriptor','_uploadLog','_clearPolling','_logService','origin','collab-rect-range-','DocSelectionManagerService','_localStorageService','HTTPService','Rect','_dataLoaderService','SetFormulaCalculationNotificationMutation','ENTITLE_COUPON_EXPIRED','LICENSE_EXPORT_SIZE_EXCEEDED','send','1em','_unitStatus'];_0x38b8=function(){return _0x999a11;};return _0x38b8();}