@univerjs-pro/collaboration-client-ui 0.12.2-experimental.20251129-0fa20cd → 0.12.2-experimental.20251202-45172c6
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.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x4477(_0x248b0e,_0x444d84){const _0x83a3ad=_0x83a3();return _0x4477=function(_0x44776e,_0x27475d){_0x44776e=_0x44776e-0x13c;let _0xea4902=_0x83a3ad[_0x44776e];return _0xea4902;},_0x4477(_0x248b0e,_0x444d84);}function _0x83a3(){const _0x29c9b7=['ENTITLE_CAN_NOT_BUY_LOWER_OTP','YUUMI_CONNECTOR_URL_NOT_FOUND','currentTheme$','AUTHORIZE_CODE_ILLEGAL','_saveTaskMap','_eventUnsubscribe','NodePositionConvertToCursor','object','toDisposable','REDEMPTION_USER_NOT_ELIGIBLE','getValue','handleInsertCol','CollaborationDataLoaderController','Shape','asObservable','NO_OTHER_CLIENTS_EDITING','INVALID_ARGUMENT','white','send','doc.mutation.rich-text-editing','stageInfo','_ensureSubject','_textBubble','getAncestorScale','SetWorksheetActivateCommand','SessionStatus','Success','CHANGESET_REVISION_CONFILICT','getUnit','url(#$1','collabStatus.notCollab','[LogService\x20Error]:\x20','ISocketService','clearInterval','dirtyRanges','_drawRectRange','attrs','_taskIds','_hasFormulaInDirtyRanges','214902pNWmtn','INVALID_INVITE_CODE','MOBILE_HAS_BEEN_BOUND','IDocClipboardService','_toggleOnline','onRendered','onPointerEnter$','fromEvent','clipPath','RegularPolygon','registerBeforeClose','transformMutationsWithChangeset','MemberService','Inject','_cursors','touchDependencies','ThemeService','focused$','toString','_initUserListener','_setupBeforeClosingHandler','formula.calculation.waiting','_collaborationSessionService','_currentUsage','_labelPosition','switchMap','isFormulaId','maxFormulaLimit','useRef','useCallback','assignAColorForMemberID','parseInt','_doCreateSocket','_startDocCollabCursor','getSheetObject','_scheduleClearOtherTimer','evenodd','trim','bind','docStateChange$','debounce','SetFormulaCalculationStartMutation','_sheetSkeletonManagerService','runOnServer','TOO_MANY_REQUESTS','session.connection-failed','generateRandomId','off-line-icon','params','session.will-retry','_onCursorUpdate','_httpService','getParam','ICommandService','getCellMatrix','_getSheetObject','_heartbeatTimer','@univerjs/sheets','handleInsertRangeMoveDown','has','Loading','string','NOT_COLLAB','_docTransformStateCacheService','@univerjs/network','createIdentifier','operators','fillText','UnitStatus','transform','_themeService','M0\x200H16V16H0z','_memberID','hovered','executionId','green.600','_docSyncEditingCollabCursorService','@univerjs/design','WebSocketService','mutations','/universer-api/license/formula/limit/done','displayName','_pollingInterval','Disposable','Error','loadUnit','getSheetBySheetId','ITransformService','_checkAndWaitForCalculationPermission','LOGIN_FAILED','_docTransformSelectionsService','React','red.300','?taskId=','text','_injector','_init','APPLY_PERMISSION_DENIED','min','roomMembers','replaceState','pluginName','isEditing','USER_NOT_FOUND','_drawAnchor','INTERNAL_ERROR','collaboration.closeRoom','_docTransformIMECacheService','PY_RUNTIME_SCRIPT_ERROR','_handleJoinEvent','BrowserCollaborationSocketService','_beforeCloseService','xlink:href','now','LICENSE_MAX_UNITS_EXCEEDED','reason','_initEntityListener','setShapeProps','CONNECTOR_DATA_TOO_LARGE','_onRefRangeChange','_initWindowErrorListener','_refreshCollabCursors','merge','mergeOverrideWithDependencies','SNAPSHOT_INVALID_SNAPSHOT','_initEvent','memberID','symbol','_refRangeService','APPLY_REVISION_CONFILICT','transformSelections','UniverDocsUi','UNRECOGNIZED','startFormulaLimitUrl','MessageType','getformulaLimitStatusUrl','sessionStatus$','MUTATION','combineLatest','onCommandExecuted','engine','addObjects','_unitStatus','REDEMPTION_INVALID_CODE','popstate','_collabSessionService','REDEMPTION_CODE_NOT_STARTED','moveTo','fillRule','_getAnchorBounding','handleDeleteRangeMoveUp','jsxs','translate(.97)','handleMoveRange','205OFLQAo','FormulaExecutedStateType','handleDeleteRangeMoveLeft','RECT','handleInsertRow','UniverEngineRender','subunit','UniverInstanceType','OFFLINE','toStringTag','_hovered','urlChange$','transformByState','_collabCursorController','_registerRenderDependencies','UPDATE_CURSOR','getCoordByCell','_instanceService','_updateCollabCursors','getCurrentRevOfUnit','takeUntil','Optional','_dataLoaderService','includes','searchParams','CollaborationUIEventService','WebURLService','_status$','SUBMIT_CHANGESET_TIMEOUT','row','_assignedColors','7sGnnvK','throttleTime','YUUMI_RATE_OVER_LIMIT','enableFrontendLog','_applyCommand','isFormulaString','exhaustSavingTask','@univerjs/core','COMPLETION_FINISHED','PERMISSION_DENIED','reconnect','transformMutation','ILogService','type','_id','yellow.400','_unitOnClients','_initStatusComponent','defineProperty','UniverCollaborationClientUIPlugin','onPointerLeave$','cursorInfo','_clearPolling','getStateCache','DataLoaderService','contains','VIEW_MAIN','_scene','setStateCache','setTimeout','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','map','jiqing.500','_handleEvent','LOCAL_CACHE_INTERVAL','_updateLocalCursor','UNIVER_DOC','flatMap','amd','path','fill','origin','SheetsSelectionsService','_initCommandInterceptor','wsSessionTicketUrl','ENTITLE_DUP_SUBSCRIPTION','blue.400','YUUMI_AI_RUN_FAILED','onPointerMove$','CollaborationSessionService','newValue','ILocalStorageService','_handleLeaveEvent','result','uni.network.url-service','location','UniverCore','_maxFormulaLimit','saveOfflineData','getOwnPropertyDescriptor','permission.content','BuiltInUIPart','collabStatus.fetchMiss','runId','_collaborationController','CollaborationController','CollaborationStatus','_transformUndoRedoStack','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','application/json','DEFAULT_WS_SESSION_TICKET_URL','http://www.w3.org/2000/svg','_selfUnitIDs','_clearOtherTimers','error','Failed','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','cursorInfo$','off-line-icon_clip0_910_343','_memberService','_backgroundColor','_initDependencies','UniverDrawing','init','_scheduleSaving','getCellPositionByOffset','getVpScrollXYInfoByPosToVp','addObject','collab-text-range-','_transformPreviousActiveRange','BehaviorSubject','DATA_SOURCE_TOO_LARGE','getUndoRedoMutationParamsCache','actions','releaseFormulaLimitUrl','_send','YUUMI_ASYNCIO_CANCELLED','startRow','UniverIcon','colno','OTHER_CLIENTS_EDITING','MOBILE_VERIFY_CODE_MISMATCH','_removeClearOtherTimer','isActive','currentColor','addHandlerCallback','registerDependencies','debounceTime','setAlpha','IMessageService','getRenderById','@univerjs-pro/collaboration','_urlService','...','START_CALCULATION','NodePositionConvertToRectRange','SYNCED','_renderManagerService','CLOSE_ROOM','_saveCache','RevisionService','_monkeyPatchLogService','replace','EMAIL_VERIFY_CODE_MISMATCH','shift','_revisionService','subUnitId','_roomMembers$','_session','_localeService','body','_startCalculationLimit','@univerjs-pro/collaboration-client','_docSkeletonManagerService','getLocalCacheKey','INVITE_CODE_ALREADY_BOUND','EMAIL_HAS_BEEN_BOUND','Injector','getUnitId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','transformRemoteChangeset','SetFormulaCalculationNotificationMutation','Vector2','getTypeOfUnitAdded$','YUUMI_ALL_TABLES_IS_INVALID','use','getRelativeToViewportCoord','_docStateChangeManagerService','YUUMI_SUBSCRIPTION_NOT_FOUND','set','collabStatus.syncing','useDependency','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','handleIRemoveRow','forEach','CURRENT_STATUS_CANNOT_OPERATE','_transformService','_getScale','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','fillStyle','requireSession','width','status$','selection','ALREADY_EXISTS','UNDEFINED','_online','m2Prime','FromArray','data','from','_context','isArray','ONLINE','DisposableCollection','_initCommandExecutedListener','length','_imageIoService','endColumn','assign','jsx','unitId','APPLY_REJECT','_initResize','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_syncEditingCollabCursorService','subscribe','children','_univerInstanceService','setUndoRedoMutationParamsCache','ENTITLE_REPORT_LIMIT_EXCEED','INVITE_CODE_HAS_BEEN_UES','mapTo','editingUnit','_range','REDEMPTION_USER_REDEEM_TIMES_EXCEED','clearTimeout','InsertColCommandId','INVITE_CODE_REQUIRED','CollaborationEvent','IRenderManagerService','syncEditingCollabCursor','getActiveSheet','univerjs-icon\x20univerjs-icon-','ColorKit','96932unEpkr','ISnapshotServerService','FormulaExecuteStageType','@univerjs/engine-render','getActiveRange','get','size','IBeforeCloseService','12804319pTJVgY','show','_initStatusListener','getRangePointData','_checkCalculationAvailable','REDEMPTION_CODE_FULLY_REDEEMED','getTypeOfUnitDisposed$','RxDisposable','getFocusedUnit','getUnhiddenWorksheets','name','href','svg','DocSkeletonManagerService','PAYMENT_CHANNEL_NOT_SUPPORT','saveImage','getDocRanges','roomMembers$','exports','SetTextSelectionsOperation','collab-rect-range-','_colorAssignService','createSocket','_name','height','_shapes','removeEventListener','[CollaborationDataLoaderController]','LICENSE_EXPORT_SIZE_EXCEEDED','endRow','idSuffix','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_cursor','addEventListener','getMember','_registerDependencies','dispose','measureText','tag','_handleHover','[Unhandled\x20Rejection]:\x20','all','@univerjs/docs-ui','OffLineIcon','_getFormulaLimitStatus','_uiPartsService','_logService','react/jsx-runtime','HTTPService','eventID','next','UniverCollaborationClientPlugin','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ERROR_AGAIN','react','beginPath','UniverDocs','DocSelectionManagerService','getConfig','_releaseCalculationLimit','enableLocalCache','_localCacheService','_lastResponseTimestamp','TEXT_RANGE_LAYER_INDEX','_uploadLog','getMemberID','ENTITLE_NEED_BILLING_ADDRESS','round','IUniverInstanceService','unsubscribe','_updateSubUnitFromURLParams','getCollabCursors$','runRefRangeMutations','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','unload','REDEMPTION_CODE_INACTIVE','getSheetId','startColumn','DesktopCollaborationStatusDisplayController','/universer-api/frontend/logs','deserializeRangeWithSheet','InsertRangeMoveDownCommandId','loadOfflineData','_draw','UNIVER_SHEET','_hideTimer','closePath','labelPosition','160mmOHIK','CONFLICT','14cZKHAa','findNodePositionByCharIndex','_localStorageService','div','color','collabCursorState$','transformIMECache','stack','[Window\x20Error]:\x20','OTHER_CLIENT_EDITING','YUUMI_UNABLE_LOAD_URL','onMouseMove','_onCursorDelete','0\x200\x2016\x2016','history','code','_entities','undoState','_color','shareReplay','_anchorDot','UniverRpc','@univerjs/rpc','_lastPointer','addClipboardHook','setItem','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_createSocketURL','APPLY_DUPLICATED','APPLY_NON_SEQUENTIAL_REVISION','Unknown\x20user','search','bottom','IConfigService','entityInit$','with','getColor','totalFormulasToCalculate','defs','transformStateCache','limitInfo','registerRenderModule','deepClone','createElement','collaboration-client-ui.config','1657150wubVEy','_collabCursorState$','filter','_drawTextRange','event$','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','collab-text-anchor-','YUUMI_NO_CUBOID_FOR_QUESTION','Tools','functionsExecutedState','USER_IS_ANONYMOUS','message','374172ymbBXh','delete','OnLineIcon','LICENSE_DISTRO_REJECTED','getColorFromTheme','_showGuardMessage','makeDirty','then','_commandService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','createInstance','url(#on-line-icon_clip0_910_349)','unshift','_colorIndex','collaboration.single-unit.warning','_handleHeartbeatEvent','add','post','DOC_RANGE_TYPE','push','parse','COLORS','REDEMPTION_CODE_HAS_BEEN_CREATED','_initUnhandledRejectionListener','drawWith','IUIPartsService','DocCollaborationEntity','_transformHistoryAndStateStack','range','find','disableLocalCache','selections','currentUsage','LocaleService','Warning','USER_NOT_INVITED_CODE','imageSourceType','EffectRefRangId','_anchor','INotificationService','_disabled','_configService','stringify','Module','triggerDblclick','registerRefRange','textRanges','RemoteUniscriptService','setConfig','m1Prime','defIds','some','@univerjs/engine-formula','_config','_hover','restore','InsertRangeMoveRightCommandId','#FFF','backgroundColor','unitID','complete','_getMergeRange','mask','UniverEngineFormula','DocIMEInputManagerService','_docClipboardService','ticket','function','CollaborationUIEventId','_cursorInfo$','colorChannel1','replaceDocRanges','ENTITLE_INSUFFICIENT_QUOTA','column','handleInsertRangeMoveRight','sheetId','/run/','ranges','PENDING','unit','lineno','_entityInit$','redoState','_getSessionTicket','TEXT','RemoveRowCommandId','SNAPSHOT_HAS_BEEN_REMOVED','LICENSE_IMPORT_SIZE_EXCEEDED','stage','_removeCollabCursors','lineTo','collabStatus.synced','dispose$','SetSelectionsOperation','5604276STCirk','_scheduleHeartbeat','rxjs','_setupSubUnitSync','DocStateChangeManagerService','MoveRangeCommandId','@univerjs/ui','pipe','USERS_LEAVE','/universer-api/license/formula/limit/start','LOGIN_TOKEN_PROCESSING_FAILED','save','currentSkeleton$','activeSheet$','debug','_render','_updateURLWithCurrentState','_setFormulaLimitStatus','Rect','unhandledrejection','socket$','storage','Plugin','fromEventSubject','CollaborationSocketService','onStarting','ILocalCacheService','pushState','_cursorShapes','random','arc','override','WECHAT_HAS_BEEN_BOUND','key','toRgbString','isTransformMutationFailure','subscribeEvent','beforeCommandExecuted','setInterval','saveTaskMap','DependentOn','getViewport','entries','_toggleOffline','_startSheetCollabCursor','Subject','AWAITING','SHEET_VIEWPORT_KEY','_messageService','collab-client.tooltip.reconnect','UniverProCollaboration','collaboration-client.offline-data-not-saved','setActiveRange','permission.title','1em','serializeRangeWithSheet','clsx','DeleteRangeMoveLeftCommandId','values','_cachedData','UniverDesign','SUCCESS','SetDocZoomRatioOperation','disposeWithMe','hide','setParam','none','InsertRowCommandId','285909HSbrnL','black','NOT_FOUND','executeCommand','ENTITLE_CHAT_LIMIT_EXCEED'];_0x83a3=function(){return _0x29c9b7;};return _0x83a3();}(function(_0x4cd4a9,_0x4e3e01){const _0x6f007e=_0x4477,_0x50e29b=_0x4cd4a9();while(!![]){try{const _0x1c74cb=-parseInt(_0x6f007e(0x1b8))/0x1+parseInt(_0x6f007e(0x17f))/0x2*(-parseInt(_0x6f007e(0x25a))/0x3)+-parseInt(_0x6f007e(0x40c))/0x4*(parseInt(_0x6f007e(0x320))/0x5)+-parseInt(_0x6f007e(0x216))/0x6*(-parseInt(_0x6f007e(0x33f))/0x7)+-parseInt(_0x6f007e(0x17d))/0x8*(-parseInt(_0x6f007e(0x286))/0x9)+parseInt(_0x6f007e(0x1ac))/0xa+parseInt(_0x6f007e(0x414))/0xb;if(_0x1c74cb===_0x4e3e01)break;else _0x50e29b['push'](_0x50e29b['shift']());}catch(_0x2a87f1){_0x50e29b['push'](_0x50e29b['shift']());}}}(_0x83a3,0xac7c8),function(_0x539284,_0x4c28db){const _0x156b2b=_0x4477;typeof exports==_0x156b2b(0x266)&&typeof module<'u'?_0x4c28db(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x156b2b(0x1fb)&&define[_0x156b2b(0x365)]?define([_0x156b2b(0x426),_0x156b2b(0x154),_0x156b2b(0x3c3),_0x156b2b(0x346),_0x156b2b(0x21c),_0x156b2b(0x218),_0x156b2b(0x2d3),_0x156b2b(0x15b),_0x156b2b(0x195),_0x156b2b(0x2bf),_0x156b2b(0x40f),_0x156b2b(0x2c6),_0x156b2b(0x14f),'@univerjs/drawing',_0x156b2b(0x3ae),'@univerjs/docs',_0x156b2b(0x1ec),'rxjs/operators','@univerjs/sheets-ui'],_0x4c28db):(_0x539284=typeof globalThis<'u'?globalThis:_0x539284||self,_0x4c28db(_0x539284['UniverProCollaborationClientUi']={},_0x539284[_0x156b2b(0x2e1)],_0x539284['UniverProCollaborationClient'],_0x539284[_0x156b2b(0x377)],_0x539284['UniverUi'],_0x539284['rxjs'],_0x539284[_0x156b2b(0x252)],_0x539284['React'],_0x539284[_0x156b2b(0x194)],_0x539284['UniverSheets'],_0x539284[_0x156b2b(0x325)],_0x539284['UniverNetwork'],_0x539284[_0x156b2b(0x309)],_0x539284[_0x156b2b(0x391)],_0x539284[_0x156b2b(0x248)],_0x539284[_0x156b2b(0x15d)],_0x539284[_0x156b2b(0x1f7)],_0x539284['rxjs'][_0x156b2b(0x2c8)],_0x539284['UniverSheetsUi']));}(this,function(_0x48baf1,_0x325513,_0x422a84,_0x158180,_0x1d6c76,_0x2f7dc8,_0x41e1ef,_0x322443,_0x1fbc0d,_0x338dc5,_0x191500,_0xcb5e7f,_0x4d94eb,_0x3c0e8e,_0x2af364,_0x17205f,_0x2ec42f,_0xa81663,_0x21df69){'use strict';const _0x375cdd=_0x4477;var _0x4ddc11=Object[_0x375cdd(0x351)],_0x43f7cb=(_0x247360,_0x1b3cd9,_0x3ce337)=>_0x1b3cd9 in _0x247360?_0x4ddc11(_0x247360,_0x1b3cd9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ce337}):_0x247360[_0x1b3cd9]=_0x3ce337,_0x5a9a8a=(_0x38a21b,_0x569f48,_0x418b94)=>_0x43f7cb(_0x38a21b,typeof _0x569f48!=_0x375cdd(0x305)?_0x569f48+'':_0x569f48,_0x418b94);function _0x45830a({ref:_0x21e17f,..._0x4b3df0}){const _0xecde82=_0x375cdd,{icon:_0x4dbe61,id:_0x3c629d,className:_0x3b1373,extend:_0x566668,..._0x3ad0cc}=_0x4b3df0,_0x4431e4=(_0xecde82(0x40a)+_0x3c629d+'\x20'+(_0x3b1373||''))[_0xecde82(0x2ab)](),_0xad5f94=_0x322443[_0xecde82(0x2a2)]('_'+_0x535144());return _0x244b06(_0x4dbe61,''+_0x3c629d,{'defIds':_0x4dbe61[_0xecde82(0x1ea)],'idSuffix':_0xad5f94['current']},{'ref':_0x21e17f,'className':_0x4431e4,..._0x3ad0cc},_0x566668);}function _0x244b06(_0x8f79,_0x4fce18,_0x41b91a,_0x2fe20e,_0x4d196c){const _0x3d4325=_0x375cdd;return _0x322443['createElement'](_0x8f79[_0x3d4325(0x14b)],{'key':_0x4fce18,..._0x4d5439(_0x8f79,_0x41b91a,_0x4d196c),..._0x2fe20e},(_0x2ce44e(_0x8f79,_0x41b91a)[_0x3d4325(0x3fa)]||[])[_0x3d4325(0x35e)]((_0x31a6f9,_0xf0b386)=>_0x244b06(_0x31a6f9,_0x4fce18+'-'+_0x8f79[_0x3d4325(0x14b)]+'-'+_0xf0b386,_0x41b91a,void 0x0,_0x4d196c)));}function _0x4d5439(_0x18cd1e,_0x36f067,_0x500714){const _0x597569=_0x375cdd,_0x433c20={..._0x18cd1e[_0x597569(0x283)]};_0x500714!=null&&_0x500714[_0x597569(0x1fe)]&&_0x433c20[_0x597569(0x367)]==='colorChannel1'&&(_0x433c20[_0x597569(0x367)]=_0x500714['colorChannel1']),_0x18cd1e['tag']===_0x597569(0x1f6)&&_0x433c20['id']&&(_0x433c20['id']=_0x433c20['id']+_0x36f067[_0x597569(0x143)]),Object['entries'](_0x433c20)[_0x597569(0x3d9)](([_0x1a68ad,_0x58392e])=>{const _0xcdfa81=_0x597569;_0x1a68ad===_0xcdfa81(0x1f6)&&typeof _0x58392e=='string'&&(_0x433c20[_0x1a68ad]=_0x58392e[_0xcdfa81(0x3b9)](/url\(#(.*)\)/,_0xcdfa81(0x27c)+_0x36f067['idSuffix']+')'));});const {defIds:_0x5304c7}=_0x36f067;return!_0x5304c7||_0x5304c7['length']===0x0||(_0x18cd1e[_0x597569(0x14b)]===_0x597569(0x3d0)&&_0x433c20[_0x597569(0x2f6)]&&(_0x433c20[_0x597569(0x2f6)]=_0x433c20['xlink:href']+_0x36f067['idSuffix']),Object[_0x597569(0x240)](_0x433c20)['forEach'](([_0x462b2b,_0x394096])=>{const _0xef90cb=_0x597569;typeof _0x394096==_0xef90cb(0x2c3)&&(_0x433c20[_0x462b2b]=_0x394096[_0xef90cb(0x3b9)](/url\(#(.*)\)/,_0xef90cb(0x27c)+_0x36f067[_0xef90cb(0x143)]+')'));})),_0x433c20;}function _0x2ce44e(_0x16eb64,_0x41acd3){const _0x25dfae=_0x375cdd;var _0x55d7f2;const {defIds:_0x457afc}=_0x41acd3;return!_0x457afc||_0x457afc['length']===0x0?_0x16eb64:_0x16eb64['tag']===_0x25dfae(0x1a5)&&((_0x55d7f2=_0x16eb64[_0x25dfae(0x3fa)])!=null&&_0x55d7f2[_0x25dfae(0x3ef)])?{..._0x16eb64,'children':_0x16eb64['children'][_0x25dfae(0x35e)](_0x14f917=>typeof _0x14f917[_0x25dfae(0x283)]['id']=='string'&&_0x457afc&&_0x457afc[_0x25dfae(0x337)](_0x14f917[_0x25dfae(0x283)]['id'])?{..._0x14f917,'attrs':{..._0x14f917[_0x25dfae(0x283)],'id':_0x14f917[_0x25dfae(0x283)]['id']+_0x41acd3[_0x25dfae(0x143)]}}:_0x14f917)}:_0x16eb64;}function _0x535144(){const _0x565663=_0x375cdd;return Math[_0x565663(0x233)]()[_0x565663(0x298)](0x24)['substring'](0x2,0x8);}_0x45830a[_0x375cdd(0x2d7)]=_0x375cdd(0x3a1);const _0x32a1c1={'tag':_0x375cdd(0x420),'attrs':{'xmlns':_0x375cdd(0x386),'fill':'none','viewBox':_0x375cdd(0x18c),'width':'1em','height':_0x375cdd(0x24c)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x375cdd(0x3a7),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x375cdd(0x168),'strokeLinejoin':_0x375cdd(0x168),'strokeWidth':1.2}}]},{'tag':_0x375cdd(0x1a5),'attrs':{},'children':[{'tag':_0x375cdd(0x28e),'attrs':{'id':_0x375cdd(0x38d)},'children':[{'tag':'path','attrs':{'fill':_0x375cdd(0x270),'d':_0x375cdd(0x2cd)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x3bf761=_0x322443['forwardRef'](function(_0x4d07cc,_0x53a2f6){const _0xe9163c=_0x375cdd;return _0x322443[_0xe9163c(0x1aa)](_0x45830a,Object[_0xe9163c(0x3f2)]({},_0x4d07cc,{'id':_0xe9163c(0x2b5),'ref':_0x53a2f6,'icon':_0x32a1c1}));});_0x3bf761['displayName']=_0x375cdd(0x150);const _0x30f097={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x375cdd(0x258),'viewBox':'0\x200\x2017\x2016','width':_0x375cdd(0x24c),'height':_0x375cdd(0x24c)},'children':[{'tag':'g','attrs':{'clipPath':_0x375cdd(0x1c3)},'children':[{'tag':_0x375cdd(0x366),'attrs':{'stroke':_0x375cdd(0x3a7),'d':_0x375cdd(0x1b1),'strokeLinecap':_0x375cdd(0x168),'strokeLinejoin':_0x375cdd(0x168),'strokeWidth':1.2}}]},{'tag':_0x375cdd(0x1a5),'attrs':{},'children':[{'tag':_0x375cdd(0x28e),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x375cdd(0x366),'attrs':{'fill':_0x375cdd(0x270),'d':_0x375cdd(0x2cd),'transform':_0x375cdd(0x31e)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x4bd584=_0x322443['forwardRef'](function(_0x55408e,_0x5492fc){const _0x223b45=_0x375cdd;return _0x322443['createElement'](_0x45830a,Object[_0x223b45(0x3f2)]({},_0x55408e,{'id':'on-line-icon','ref':_0x5492fc,'icon':_0x30f097}));});_0x4bd584[_0x375cdd(0x2d7)]=_0x375cdd(0x1ba);function _0x1d4872(_0x3e5542){const _0x472bc0=_0x375cdd;switch(_0x3e5542){case _0x422a84[_0x472bc0(0x381)][_0x472bc0(0x328)]:return'collabStatus.offline';case _0x422a84[_0x472bc0(0x381)][_0x472bc0(0x17e)]:return'collabStatus.conflict';case _0x422a84['CollaborationStatus']['FETCH_MISS']:return _0x472bc0(0x37d);case _0x422a84['CollaborationStatus'][_0x472bc0(0x2c4)]:return _0x472bc0(0x27d);case _0x422a84['CollaborationStatus'][_0x472bc0(0x244)]:case _0x422a84[_0x472bc0(0x381)]['AWAITING_WITH_PENDING']:return _0x472bc0(0x3d5);case _0x422a84[_0x472bc0(0x381)][_0x472bc0(0x3b3)]:case _0x422a84[_0x472bc0(0x381)][_0x472bc0(0x206)]:return _0x472bc0(0x213);}}function _0x1daa8c(_0x4f1ac2){const _0x47db3f=_0x375cdd,{status$:_0x4cec61}=_0x4f1ac2,_0x4a1d1b=_0x1d6c76['useObservable'](_0x4cec61,_0x422a84[_0x47db3f(0x381)][_0x47db3f(0x2c4)]),_0xd52067=_0x1d6c76[_0x47db3f(0x3d6)](_0x158180[_0x47db3f(0x1d9)]),_0x26b3e0=_0x1d6c76['useDependency'](_0x422a84[_0x47db3f(0x370)]),_0x321aeb=_0x4a1d1b!==_0x422a84[_0x47db3f(0x381)][_0x47db3f(0x328)],_0x2de602=_0xd52067['t'](_0x1d4872(_0x4a1d1b)),_0x196b18=_0x321aeb?_0x325513[_0x47db3f(0x3f3)](_0x4bd584,{}):_0x325513[_0x47db3f(0x3f3)](_0x3bf761,{}),_0x58b37b=_0x322443[_0x47db3f(0x2a3)](()=>{const _0x442e8d=_0x47db3f;_0x321aeb||_0x26b3e0[_0x442e8d(0x349)]();},[_0x321aeb,_0x26b3e0]);function _0x458034(){const _0x74129b=_0x47db3f;return _0x325513[_0x74129b(0x31d)](_0x74129b(0x182),{'className':'univer-flex\x20univer-items-center','onClick':_0x58b37b,'children':[_0x325513[_0x74129b(0x3f3)](_0x74129b(0x182),{'className':_0x41e1ef[_0x74129b(0x24e)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x321aeb,'univer-text-red-500':!_0x321aeb}),'children':_0x196b18}),_0x325513[_0x74129b(0x3f3)](_0x74129b(0x182),{'className':_0x74129b(0x38b),'children':_0x2de602})]});}return _0x321aeb?_0x458034():_0x325513[_0x47db3f(0x3f3)](_0x41e1ef['Tooltip'],{'title':_0xd52067['t'](_0x47db3f(0x247)),'children':_0x458034()});}var _0x13202e=Object[_0x375cdd(0x37a)],_0x943fa0=(_0x362b68,_0x218342,_0xa34d2f,_0x289c76)=>{for(var _0x4c528e=_0x289c76>0x1?void 0x0:_0x289c76?_0x13202e(_0x218342,_0xa34d2f):_0x218342,_0x2571e9=_0x362b68['length']-0x1,_0x423b2e;_0x2571e9>=0x0;_0x2571e9--)(_0x423b2e=_0x362b68[_0x2571e9])&&(_0x4c528e=_0x423b2e(_0x4c528e)||_0x4c528e);return _0x4c528e;},_0x3c1ea6=(_0x2651f3,_0x141830)=>(_0x192117,_0x4c2d43)=>_0x141830(_0x192117,_0x4c2d43,_0x2651f3);_0x48baf1[_0x375cdd(0x173)]=class extends _0x158180[_0x375cdd(0x2d9)]{constructor(_0xe19cde,_0x51e26f,_0x3f9ec0,_0x531117){const _0xf9cb69=_0x375cdd;super(),_0x5a9a8a(this,'_status$',new _0x2f7dc8[(_0xf9cb69(0x399))](_0x422a84[_0xf9cb69(0x381)]['NOT_COLLAB'])),(this[_0xf9cb69(0x3fb)]=_0xe19cde,this['_injector']=_0x51e26f,this['_collaborationController']=_0x3f9ec0,this[_0xf9cb69(0x152)]=_0x531117,this[_0xf9cb69(0x350)](),this['_initStatusListener']());}[_0x375cdd(0x416)](){const _0x49daff=_0x375cdd;this[_0x49daff(0x255)](this[_0x49daff(0x3fb)][_0x49daff(0x297)][_0x49daff(0x21d)](_0x2f7dc8['switchMap'](()=>{const _0x2e1fbb=_0x49daff,_0x3e6db1=this[_0x2e1fbb(0x3fb)][_0x2e1fbb(0x41c)]();return _0x3e6db1?this[_0x2e1fbb(0x37f)]['getCollabEntity$'](_0x3e6db1[_0x2e1fbb(0x3c9)]()):_0x2f7dc8['of'](null);}),_0x2f7dc8[_0x49daff(0x29f)](_0x210c2c=>_0x210c2c?_0x210c2c[_0x49daff(0x3e1)]:_0x2f7dc8['of'](_0x422a84[_0x49daff(0x381)][_0x49daff(0x2c4)])))[_0x49daff(0x3f9)](_0x2078ba=>{const _0x29ea68=_0x49daff;this[_0x29ea68(0x33b)][_0x29ea68(0x157)](_0x2078ba);}));}['_initStatusComponent'](){const _0x6d99c1=_0x375cdd;this[_0x6d99c1(0x255)](this['_uiPartsService']['registerComponent'](_0x1d6c76[_0x6d99c1(0x37c)]['HEADER_MENU'],()=>_0x1d6c76['connectInjector'](_0x47f65f({'status$':this['_status$'][_0x6d99c1(0x26d)]()}),this[_0x6d99c1(0x2e5)])));}},_0x48baf1[_0x375cdd(0x173)]=_0x943fa0([_0x3c1ea6(0x0,_0x158180[_0x375cdd(0x169)]),_0x3c1ea6(0x1,_0x158180[_0x375cdd(0x293)](_0x158180[_0x375cdd(0x3c8)])),_0x3c1ea6(0x2,_0x158180['Inject'](_0x422a84['CollaborationController'])),_0x3c1ea6(0x3,_0x1d6c76[_0x375cdd(0x1d1)])],_0x48baf1['DesktopCollaborationStatusDisplayController']);function _0x47f65f(_0x2bbd25){const {status$:_0x1f96ad}=_0x2bbd25;return function(){const _0x2422a2=_0x4477;return _0x325513[_0x2422a2(0x3f3)](_0x1daa8c,{'status$':_0x1f96ad});};}const _0xa2b67a=_0x158180[_0x375cdd(0x2c7)](_0x375cdd(0x375));var _0x580898=Object[_0x375cdd(0x37a)],_0x5be41f=(_0x576365,_0x27ff2b,_0x5e87a6,_0x272d5b)=>{const _0x519537=_0x375cdd;for(var _0x191b30=_0x272d5b>0x1?void 0x0:_0x272d5b?_0x580898(_0x27ff2b,_0x5e87a6):_0x27ff2b,_0x5b86b7=_0x576365[_0x519537(0x3ef)]-0x1,_0x167332;_0x5b86b7>=0x0;_0x5b86b7--)(_0x167332=_0x576365[_0x5b86b7])&&(_0x191b30=_0x167332(_0x191b30)||_0x191b30);return _0x191b30;},_0x2b1236=(_0x1a4db7,_0x4d4347)=>(_0x274319,_0x375303)=>_0x4d4347(_0x274319,_0x375303,_0x1a4db7);_0x48baf1[_0x375cdd(0x26b)]=class extends _0x158180['RxDisposable']{constructor(_0x1bd6bb,_0x30f4ce,_0x22bcd3,_0x21bdf4,_0x404887){const _0x2db475=_0x375cdd;super(),this[_0x2db475(0x3af)]=_0x1bd6bb,this[_0x2db475(0x153)]=_0x30f4ce,this[_0x2db475(0x1c0)]=_0x22bcd3,this['_dataLoaderService']=_0x21bdf4,_0x404887?_0x404887==null||_0x404887['whenReady']()[_0x2db475(0x1bf)](()=>this[_0x2db475(0x2e6)]()):(this[_0x2db475(0x153)][_0x2db475(0x224)](_0x2db475(0x140),_0x2db475(0x16e)),this['_init']());}async['_init'](){const _0x4e8624=_0x375cdd,_0x1cc618=this[_0x4e8624(0x3af)]['getParam'](_0x4e8624(0x207)),_0x424fd5=this[_0x4e8624(0x3af)]['getParam']('type'),_0x276b4c=this[_0x4e8624(0x3af)][_0x4e8624(0x2ba)](_0x4e8624(0x326));if(!_0x1cc618||!_0x424fd5){this[_0x4e8624(0x153)][_0x4e8624(0x224)](_0x4e8624(0x140),_0x4e8624(0x1c1));return;}const _0x15282c=await this[_0x4e8624(0x336)][_0x4e8624(0x2db)](_0x1cc618,Number(_0x424fd5),_0x276b4c);_0x15282c&&_0x15282c instanceof _0x158180['Workbook']&&this[_0x4e8624(0x219)](_0x15282c);}async['_setupSubUnitSync'](_0x2b76a5){const _0x299c6a=_0x375cdd;await this[_0x299c6a(0x16b)](_0x2b76a5),_0x2b76a5[_0x299c6a(0x223)][_0x299c6a(0x21d)](_0x2f7dc8[_0x299c6a(0x334)](this[_0x299c6a(0x214)]))[_0x299c6a(0x3f9)](_0x563996=>{const _0xa31b87=_0x299c6a;_0x563996&&this[_0xa31b87(0x226)](_0x563996);}),this[_0x299c6a(0x3af)][_0x299c6a(0x32b)]['pipe'](_0x2f7dc8[_0x299c6a(0x334)](this[_0x299c6a(0x214)]))[_0x299c6a(0x3f9)](()=>this[_0x299c6a(0x16b)](_0x2b76a5));}[_0x375cdd(0x226)](_0x14049f,_0x387fb2=!0x1){const _0x1c00c6=_0x375cdd,_0x5a1cca=this[_0x1c00c6(0x3af)][_0x1c00c6(0x2ba)]('subunit');_0x14049f[_0x1c00c6(0x171)]()!==_0x5a1cca&&this[_0x1c00c6(0x3af)][_0x1c00c6(0x257)](_0x1c00c6(0x326),_0x14049f[_0x1c00c6(0x171)](),_0x387fb2);}async[_0x375cdd(0x16b)](_0x9ef13c){const _0x1445d2=_0x375cdd;var _0x44bd80;const _0xf9bf07=this[_0x1445d2(0x3af)][_0x1445d2(0x2ba)](_0x1445d2(0x326));if(!_0xf9bf07||!_0x9ef13c[_0x1445d2(0x2dc)](_0xf9bf07)){const _0x473bed=_0x9ef13c[_0x1445d2(0x41d)]()[0x0],_0x15bdb1=_0x9ef13c[_0x1445d2(0x2dc)](_0x473bed);if(!_0x15bdb1)return;this[_0x1445d2(0x226)](_0x15bdb1,!0x0),await this[_0x1445d2(0x1c0)][_0x1445d2(0x25d)](_0x338dc5[_0x1445d2(0x277)]['id'],{'unitId':_0x9ef13c[_0x1445d2(0x3c9)](),'subUnitId':_0x473bed});return;}((_0x44bd80=_0x9ef13c[_0x1445d2(0x409)]())==null?void 0x0:_0x44bd80[_0x1445d2(0x171)]())!==_0xf9bf07&&await this[_0x1445d2(0x1c0)][_0x1445d2(0x25d)](_0x338dc5['SetWorksheetActivateCommand']['id'],{'unitId':_0x9ef13c[_0x1445d2(0x3c9)](),'subUnitId':_0xf9bf07});}},_0x48baf1['CollaborationDataLoaderController']=_0x5be41f([_0x2b1236(0x0,_0xa2b67a),_0x2b1236(0x1,_0x158180['ILogService']),_0x2b1236(0x2,_0x158180[_0x375cdd(0x2bb)]),_0x2b1236(0x3,_0x158180[_0x375cdd(0x293)](_0x422a84[_0x375cdd(0x357)])),_0x2b1236(0x4,_0x158180[_0x375cdd(0x335)](_0x1fbc0d['IRemoteInstanceService']))],_0x48baf1['CollaborationDataLoaderController']);var _0x2613c1=Object[_0x375cdd(0x37a)],_0x5e9c2a=(_0x5e3a17,_0xb0675,_0x277223,_0x57475e)=>{const _0x476a76=_0x375cdd;for(var _0x10b726=_0x57475e>0x1?void 0x0:_0x57475e?_0x2613c1(_0xb0675,_0x277223):_0xb0675,_0x5c1a69=_0x5e3a17[_0x476a76(0x3ef)]-0x1,_0x94265b;_0x5c1a69>=0x0;_0x5c1a69--)(_0x94265b=_0x5e3a17[_0x5c1a69])&&(_0x10b726=_0x94265b(_0x10b726)||_0x10b726);return _0x10b726;},_0x23bdb9=(_0x28e957,_0x4a414a)=>(_0x1c606d,_0x52f519)=>_0x4a414a(_0x1c606d,_0x52f519,_0x28e957);let _0x302e4a=class extends _0x158180[_0x375cdd(0x41b)]{constructor(_0x4a5a13,_0x4ba16d){const _0x328407=_0x375cdd;super(),this['_docClipboardService']=_0x4a5a13,this[_0x328407(0x3f0)]=_0x4ba16d,this['_init']();}['_init'](){const _0x28a7ee=_0x375cdd,_0x2dcd71=this;this[_0x28a7ee(0x255)](this[_0x28a7ee(0x1f9)][_0x28a7ee(0x197)]({'onBeforePasteImage':async _0x3e9154=>{const _0x59841a=_0x28a7ee,_0x55e432=await _0x2dcd71[_0x59841a(0x3f0)][_0x59841a(0x423)](_0x3e9154);return _0x55e432?{'source':_0x55e432['source'],'imageSourceType':_0x55e432[_0x59841a(0x1dc)]}:null;}}));}};_0x302e4a=_0x5e9c2a([_0x23bdb9(0x0,_0x4d94eb[_0x375cdd(0x289)]),_0x23bdb9(0x1,_0x3c0e8e['IImageIoService'])],_0x302e4a);const _0x5f62fa=['purple.300',_0x375cdd(0x35f),_0x375cdd(0x2d1),_0x375cdd(0x2e2),_0x375cdd(0x36d),_0x375cdd(0x34e)];class _0x4f84ef extends _0x158180[_0x375cdd(0x2d9)]{constructor(){const _0x1e4fe8=_0x375cdd;super(...arguments),_0x5a9a8a(this,_0x1e4fe8(0x33e),new Map()),_0x5a9a8a(this,_0x1e4fe8(0x1c5),0x0);}[_0x375cdd(0x2a4)](_0x14694c){const _0x18190b=_0x375cdd;if(this[_0x18190b(0x33e)][_0x18190b(0x2c1)](_0x14694c))return this[_0x18190b(0x33e)][_0x18190b(0x411)](_0x14694c);const _0x412559=_0x5f62fa[this[_0x18190b(0x1c5)]];return this[_0x18190b(0x1c5)]=(this['_colorIndex']+0x1)%_0x5f62fa[_0x18190b(0x3ef)],this[_0x18190b(0x33e)][_0x18190b(0x3d4)](_0x14694c,_0x412559),_0x412559;}}function _0x26b13d(_0x961276){const _0x15b1a6=_0x375cdd;let _0x1543da='';for(const _0x532913 of _0x961276){const {startOffset:_0x282977,endOffset:_0x18b55a,isActive:_0x106acb,rangeType:_0x851bc6,segmentId:_0x3cc05b,segmentPage:_0x2c963d}=_0x532913;_0x1543da[_0x15b1a6(0x3ef)]&&(_0x1543da+=','),_0x1543da+=_0x282977+':'+_0x18b55a+':'+(_0x106acb?'1':'0')+':'+_0x851bc6+':'+_0x3cc05b+':'+_0x2c963d;}return _0x1543da;}function _0x4d5bb6(_0x447a87){const _0x3bc139=_0x375cdd,_0x56377f=_0x447a87['split'](','),_0xb57478=[];for(const _0x1e0145 of _0x56377f){const [_0x49290d,_0x278b37,_0x6c5c8,_0x327718,_0x4a5800,_0x592dc1]=_0x1e0145['split'](':');_0xb57478['push']({'startOffset':Number(_0x49290d),'endOffset':Number(_0x278b37),'collapsed':_0x49290d===_0x278b37,'isActive':_0x6c5c8==='1','rangeType':_0x327718===_0x158180[_0x3bc139(0x1ca)]['TEXT']?_0x158180['DOC_RANGE_TYPE'][_0x3bc139(0x20c)]:_0x158180[_0x3bc139(0x1ca)]['RECT'],'segmentId':typeof _0x4a5800==_0x3bc139(0x2c3)?String(_0x4a5800):'','segmentPage':Number(_0x592dc1!=null?_0x592dc1:-0x1)});}return _0xb57478[_0x3bc139(0x1eb)](_0x15068e=>_0x15068e[_0x3bc139(0x3a6)])||(_0xb57478[0x0][_0x3bc139(0x3a6)]=!0x0),_0xb57478;}class _0x279437 extends _0x158180[_0x375cdd(0x41b)]{constructor(){const _0x1e9056=_0x375cdd;super(...arguments),_0x5a9a8a(this,_0x1e9056(0x1ad),new _0x2f7dc8[(_0x1e9056(0x399))](null)),_0x5a9a8a(this,_0x1e9056(0x184),this[_0x1e9056(0x1ad)][_0x1e9056(0x26d)]());}[_0x375cdd(0x408)](_0x471ce4){const _0x1812a0=_0x375cdd,{unitID:_0x14cc67,memberID:_0x3758b7,textRanges:_0x27a0c5}=_0x471ce4,_0x406cc2=_0x26b13d(_0x27a0c5);if(_0x406cc2==='')return;const _0x491955={'unitID':_0x14cc67,'memberID':_0x3758b7,'selection':_0x406cc2};this[_0x1812a0(0x1ad)][_0x1812a0(0x157)](_0x491955);}}var _0x56775f=Object['getOwnPropertyDescriptor'],_0x154e3a=(_0x5cb106,_0x14a5c4,_0x59903b,_0x1697bf)=>{const _0x5256a7=_0x375cdd;for(var _0x3f1324=_0x1697bf>0x1?void 0x0:_0x1697bf?_0x56775f(_0x14a5c4,_0x59903b):_0x14a5c4,_0x19e23b=_0x5cb106[_0x5256a7(0x3ef)]-0x1,_0x257000;_0x19e23b>=0x0;_0x19e23b--)(_0x257000=_0x5cb106[_0x19e23b])&&(_0x3f1324=_0x257000(_0x3f1324)||_0x3f1324);return _0x3f1324;},_0x513152=(_0x4a243b,_0x4b5a80)=>(_0x6b77e1,_0xef611c)=>_0x4b5a80(_0x6b77e1,_0xef611c,_0x4a243b);const _0x3d64bf=0x12c,_0x2f64d4=0x64;let _0x19d28c=class extends _0x158180[_0x375cdd(0x41b)]{constructor(_0x8d18db,_0x5f57d7,_0x457b17,_0x1b281a,_0x409fff,_0x7be234,_0x23fe49,_0x34274e,_0xc68130){const _0x33423f=_0x375cdd;super(),_0x5a9a8a(this,_0x33423f(0x3e5),!0x1),_0x5a9a8a(this,_0x33423f(0x2e6),!0x1),_0x5a9a8a(this,_0x33423f(0x1fd),new _0x2f7dc8[(_0x33423f(0x399))](new Map())),_0x5a9a8a(this,_0x33423f(0x38c),this['_cursorInfo$'][_0x33423f(0x26d)]()),_0x5a9a8a(this,_0x33423f(0x3be),new _0x2f7dc8[(_0x33423f(0x399))]([])),_0x5a9a8a(this,_0x33423f(0x425),this[_0x33423f(0x3be)]['pipe'](_0x2f7dc8[_0x33423f(0x3aa)](_0x3d64bf))),_0x5a9a8a(this,_0x33423f(0x362),_0x158180[_0x33423f(0x2ae)](_0x675977=>{const _0x152731=_0x33423f,_0xedf741={'eventID':_0x2af364[_0x152731(0x406)][_0x152731(0x32f)],'data':{'unitID':this[_0x152731(0x1f3)],'memberID':this[_0x152731(0x3bf)][_0x152731(0x166)](),'selection':_0x26b13d(_0x675977)}};this['_session'][_0x152731(0x271)](_0xedf741,this['unitID']);},_0x2f64d4)),(this[_0x33423f(0x1f3)]=_0x8d18db,this[_0x33423f(0x3bf)]=_0x5f57d7,this[_0x33423f(0x2e5)]=_0x457b17,this[_0x33423f(0x429)]=_0x1b281a,this[_0x33423f(0x38e)]=_0x409fff,this[_0x33423f(0x3f8)]=_0x7be234,this['_transformService']=_0x23fe49,this[_0x33423f(0x3fb)]=_0x34274e,this['_commandService']=_0xc68130);}get[_0x375cdd(0x354)](){const _0x2690da=_0x375cdd;return this[_0x2690da(0x1fd)][_0x2690da(0x269)]();}get[_0x375cdd(0x2e9)](){const _0x19ea87=_0x375cdd;return this['_roomMembers$'][_0x19ea87(0x269)]();}[_0x375cdd(0x149)](){const _0x41782c=_0x375cdd;super['dispose'](),this['_cursorInfo$'][_0x41782c(0x157)](new Map()),this[_0x41782c(0x1fd)][_0x41782c(0x1f4)](),this[_0x41782c(0x3be)][_0x41782c(0x157)]([]),this[_0x41782c(0x3be)]['complete']();}[_0x375cdd(0x392)](){const _0x555966=_0x375cdd;this[_0x555966(0x2e6)]||(this[_0x555966(0x2e6)]=!0x0,this[_0x555966(0x3bf)][_0x555966(0x30e)]['pipe'](_0x2f7dc8[_0x555966(0x334)](this[_0x555966(0x214)]))[_0x555966(0x3f9)](_0x43a65e=>{const _0x5190ab=_0x555966;_0x43a65e===_0x422a84['SessionStatus'][_0x5190ab(0x3ec)]?this[_0x5190ab(0x28a)]():this[_0x5190ab(0x241)]();}),this['_session']['event$'][_0x555966(0x21d)](_0x2f7dc8['takeUntil'](this['dispose$']))[_0x555966(0x3f9)](_0x283fb7=>{const _0x2348dd=_0x555966,_0x959f82=_0x283fb7['eventID'];_0x959f82===_0x2af364[_0x2348dd(0x406)]['UPDATE_CURSOR']&&this[_0x2348dd(0x2b8)](_0x283fb7),_0x959f82===_0x2af364[_0x2348dd(0x406)][_0x2348dd(0x21e)]&&this[_0x2348dd(0x18b)](_0x283fb7);}),this[_0x555966(0x255)](this['_commandService'][_0x555966(0x311)](_0x3165a7=>{const _0x32885c=_0x555966,_0xffb5c6=_0x3165a7[_0x32885c(0x2b6)];_0xffb5c6!=null&&this[_0x32885c(0x3e5)]&&_0x3165a7['id']===_0x17205f[_0x32885c(0x427)]['id']&&_0xffb5c6[_0x32885c(0x3f4)]===this[_0x32885c(0x1f3)]&&_0xffb5c6[_0x32885c(0x2ec)]===!0x1&&_0xffb5c6['ranges'][_0x32885c(0x3ef)]>0x0&&this[_0x32885c(0x362)](_0xffb5c6[_0x32885c(0x205)]);})),this[_0x555966(0x3f8)][_0x555966(0x184)][_0x555966(0x21d)](_0x2f7dc8[_0x555966(0x334)](this[_0x555966(0x214)]))[_0x555966(0x3f9)](_0x290878=>{const _0x12049d=_0x555966;if((_0x290878==null?void 0x0:_0x290878['unitID'])!==this[_0x12049d(0x1f3)])return;const _0x214a8f={'eventID':_0x2af364['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x290878};this[_0x12049d(0x2b8)](_0x214a8f);}),this[_0x555966(0x255)](this[_0x555966(0x1c0)][_0x555966(0x311)](_0x5087cb=>{const _0x29e2a3=_0x555966;if(_0x5087cb[_0x29e2a3(0x2b6)]==null)return;const _0x18e2fe=_0x5087cb[_0x29e2a3(0x2b6)];if(_0x5087cb['id']!==_0x17205f['RichTextEditingMutation']['id']||_0x18e2fe[_0x29e2a3(0x3f4)]!==this[_0x29e2a3(0x1f3)])return;const _0x5e3c58={'id':'doc.mutation.rich-text-editing','params':_0x18e2fe},_0x11d65c=this[_0x29e2a3(0x354)];for(const [_0x5af9b4,_0x347990]of _0x11d65c){const _0x5a872a={'id':_0x29e2a3(0x272),'params':{'unitId':this[_0x29e2a3(0x1f3)],'actions':null,'textRanges':_0x347990[_0x29e2a3(0x205)]}},_0x34a961=this['_transformService'][_0x29e2a3(0x34a)](_0x5e3c58,_0x5a872a,!0x1);if(_0x2af364[_0x29e2a3(0x239)](_0x34a961))throw _0x34a961[_0x29e2a3(0x389)];_0x11d65c[_0x29e2a3(0x3d4)](_0x5af9b4,{..._0x347990,'ranges':_0x34a961[_0x29e2a3(0x3e6)][_0x29e2a3(0x2b6)][_0x29e2a3(0x1e6)]});}queueMicrotask(()=>{const _0x5b3368=_0x29e2a3;this['_cursorInfo$'][_0x5b3368(0x157)](_0x11d65c);});})));}[_0x375cdd(0x2b8)](_0x2724f8){const _0x5056eb=_0x375cdd;var _0x92fc3d,_0xe08e68;const {memberID:_0x49b4ac,selection:_0xbe5cab}=_0x2724f8[_0x5056eb(0x3e8)],_0x3e3755=_0x4d5bb6(_0xbe5cab),_0x5e22c7=(_0xe08e68=(_0x92fc3d=this['_memberService'][_0x5056eb(0x147)](this['unitID'],_0x49b4ac))==null?void 0x0:_0x92fc3d['name'])!=null?_0xe08e68:_0x5056eb(0x19d),_0x21ea71={'color':this[_0x5056eb(0x429)][_0x5056eb(0x2a4)](_0x49b4ac),'name':_0x5e22c7,'ranges':_0x3e3755},_0x84ff0f=this[_0x5056eb(0x354)];_0x84ff0f[_0x5056eb(0x3d4)](_0x49b4ac,_0x21ea71),this[_0x5056eb(0x1fd)][_0x5056eb(0x157)](_0x84ff0f);}[_0x375cdd(0x18b)](_0x3e23a7){const _0x3cef2b=_0x375cdd,{memberID:_0x2fb1a3}=_0x3e23a7['data'],_0xc8b01b=this[_0x3cef2b(0x354)];_0xc8b01b[_0x3cef2b(0x1b9)](_0x2fb1a3),this['_cursorInfo$'][_0x3cef2b(0x157)](_0xc8b01b);}[_0x375cdd(0x28a)](){const _0x5e8481=_0x375cdd;var _0x1fc032;if(this[_0x5e8481(0x3e5)]=!0x0,((_0x1fc032=this[_0x5e8481(0x3fb)][_0x5e8481(0x41c)]())==null?void 0x0:_0x1fc032[_0x5e8481(0x3c9)]())!==this[_0x5e8481(0x1f3)])return;const _0x2972c9=this[_0x5e8481(0x2e5)]['get'](_0x17205f[_0x5e8481(0x15e)])[_0x5e8481(0x424)]();Array[_0x5e8481(0x3eb)](_0x2972c9)&&_0x2972c9[_0x5e8481(0x3ef)]>0x0&&this[_0x5e8481(0x362)](_0x2972c9);}[_0x375cdd(0x241)](){const _0x41fc99=_0x375cdd;this[_0x41fc99(0x3e5)]=!0x1;}};_0x19d28c=_0x154e3a([_0x513152(0x2,_0x158180[_0x375cdd(0x293)](_0x158180[_0x375cdd(0x3c8)])),_0x513152(0x3,_0x158180[_0x375cdd(0x293)](_0x4f84ef)),_0x513152(0x4,_0x158180[_0x375cdd(0x293)](_0x422a84[_0x375cdd(0x292)])),_0x513152(0x5,_0x158180[_0x375cdd(0x293)](_0x279437)),_0x513152(0x6,_0x2af364[_0x375cdd(0x2dd)]),_0x513152(0x7,_0x158180[_0x375cdd(0x169)]),_0x513152(0x8,_0x158180[_0x375cdd(0x2bb)])],_0x19d28c);var _0x52ea9d=Object['getOwnPropertyDescriptor'],_0x32197f=(_0xb30b66,_0x28ea9c,_0x42ec7e,_0x4bc003)=>{for(var _0x28e30c=_0x4bc003>0x1?void 0x0:_0x4bc003?_0x52ea9d(_0x28ea9c,_0x42ec7e):_0x28ea9c,_0x1442fc=_0xb30b66['length']-0x1,_0x2aebae;_0x1442fc>=0x0;_0x1442fc--)(_0x2aebae=_0xb30b66[_0x1442fc])&&(_0x28e30c=_0x2aebae(_0x28e30c)||_0x28e30c);return _0x28e30c;},_0x9c3088=(_0x5418e7,_0x56cd29)=>(_0x172bfa,_0x3d5bb1)=>_0x56cd29(_0x172bfa,_0x3d5bb1,_0x5418e7);const _0x3db862=0x12c,_0x2cccfe=0x64,_0x2d72d8=()=>{let _0x26fae1=[],_0xb66e1e=!0x1;return _0x27cdb9=>{const _0x5964f7=_0x4477;_0x26fae1[_0x5964f7(0x1cb)](_0x27cdb9),_0xb66e1e||(_0xb66e1e=!0x0,setTimeout(()=>{_0x26fae1['forEach'](_0x82119f=>_0x82119f()),_0x26fae1=[],_0xb66e1e=!0x1;}));};};let _0x283a8e=class extends _0x158180[_0x375cdd(0x41b)]{constructor(_0x308843,_0x2bdd0d,_0x2abd14,_0xf95bc7,_0xc5f911,_0x4bbd82,_0x147949,_0x35e5fc){const _0x31f1b3=_0x375cdd;super(),_0x5a9a8a(this,_0x31f1b3(0x3e5),!0x1),_0x5a9a8a(this,_0x31f1b3(0x2e6),!0x1),_0x5a9a8a(this,_0x31f1b3(0x1fd),new _0x2f7dc8['BehaviorSubject'](new Map())),_0x5a9a8a(this,'cursorInfo$',this['_cursorInfo$'][_0x31f1b3(0x26d)]()),_0x5a9a8a(this,_0x31f1b3(0x3be),new _0x2f7dc8[(_0x31f1b3(0x399))]([])),_0x5a9a8a(this,_0x31f1b3(0x425),this[_0x31f1b3(0x3be)][_0x31f1b3(0x21d)](_0x2f7dc8['debounceTime'](_0x3db862))),_0x5a9a8a(this,_0x31f1b3(0x362),_0x158180[_0x31f1b3(0x2ae)]((_0xa38598,_0x3b0762)=>{const _0x3d57c2=_0x31f1b3,_0x21e9fa={'eventID':_0x2af364[_0x3d57c2(0x406)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x3d57c2(0x1f3)],'memberID':this[_0x3d57c2(0x3bf)][_0x3d57c2(0x166)](),'selection':_0x2ec42f[_0x3d57c2(0x24d)](_0xa38598,_0x3b0762[_0x3d57c2(0x1d4)])}};this[_0x3d57c2(0x3bf)][_0x3d57c2(0x271)](_0x21e9fa,this['unitID']);},_0x2cccfe)),(this[_0x31f1b3(0x1f3)]=_0x308843,this[_0x31f1b3(0x3bf)]=_0x2bdd0d,this[_0x31f1b3(0x2e5)]=_0x2abd14,this[_0x31f1b3(0x429)]=_0xf95bc7,this[_0x31f1b3(0x38e)]=_0xc5f911,this[_0x31f1b3(0x3fb)]=_0x4bbd82,this[_0x31f1b3(0x1c0)]=_0x147949,this['_refRangeService']=_0x35e5fc);}get['cursorInfo'](){const _0x3b9091=_0x375cdd;return this['_cursorInfo$'][_0x3b9091(0x269)]();}get['roomMembers'](){const _0x352c86=_0x375cdd;return this[_0x352c86(0x3be)][_0x352c86(0x269)]();}['dispose'](){const _0x34df18=_0x375cdd;super['dispose'](),this[_0x34df18(0x1fd)][_0x34df18(0x157)](new Map()),this[_0x34df18(0x1fd)][_0x34df18(0x1f4)](),this['_roomMembers$'][_0x34df18(0x157)]([]),this[_0x34df18(0x3be)][_0x34df18(0x1f4)]();}['init'](){const _0x264767=_0x375cdd;this['_init']||(this[_0x264767(0x2e6)]=!0x0,this[_0x264767(0x3bf)][_0x264767(0x30e)]['pipe'](_0x2f7dc8[_0x264767(0x334)](this[_0x264767(0x214)]))[_0x264767(0x3f9)](_0x2dd3b8=>{const _0x2d5b70=_0x264767;_0x2dd3b8===_0x422a84[_0x2d5b70(0x278)][_0x2d5b70(0x3ec)]?this[_0x2d5b70(0x28a)]():this[_0x2d5b70(0x241)]();}),this[_0x264767(0x3bf)][_0x264767(0x1b0)][_0x264767(0x21d)](_0x2f7dc8[_0x264767(0x334)](this['dispose$']))[_0x264767(0x3f9)](_0x1a4828=>{const _0x546b63=_0x264767,_0xcfb18f=_0x1a4828[_0x546b63(0x156)];_0xcfb18f===_0x2af364[_0x546b63(0x406)][_0x546b63(0x32f)]&&this[_0x546b63(0x2b8)](_0x1a4828),_0xcfb18f===_0x2af364[_0x546b63(0x406)][_0x546b63(0x21e)]&&this['_onCursorDelete'](_0x1a4828);}),this[_0x264767(0x2fd)](),this[_0x264767(0x255)](this[_0x264767(0x1c0)][_0x264767(0x311)](_0x4946d2=>{const _0x18ed59=_0x264767;if(this['_online']&&_0x4946d2['id']===_0x338dc5[_0x18ed59(0x215)]['id']&&_0x4946d2[_0x18ed59(0x2b6)][_0x18ed59(0x3f4)]===this[_0x18ed59(0x1f3)]){const _0xd9c9e5=_0x4946d2[_0x18ed59(0x2b6)];this[_0x18ed59(0x362)](_0xd9c9e5[_0x18ed59(0x3bd)],_0xd9c9e5[_0x18ed59(0x1d7)][0x0]);}})));}[_0x375cdd(0x2b8)](_0x298245){const _0x4ea693=_0x375cdd;var _0x54b118,_0x531c1a;const {memberID:_0x5de62d,selection:_0x6990ad}=_0x298245[_0x4ea693(0x3e8)],{sheetName:_0x2a5eea,range:_0x7131ac}=_0x2ec42f[_0x4ea693(0x175)](_0x6990ad),_0x533f85={'name':(_0x531c1a=(_0x54b118=this[_0x4ea693(0x38e)]['getMember'](this[_0x4ea693(0x1f3)],_0x5de62d))==null?void 0x0:_0x54b118[_0x4ea693(0x41e)])!=null?_0x531c1a:'Unknown\x20user','range':this['_getMergeRange'](_0x2a5eea,_0x7131ac),'sheetID':_0x2a5eea,'color':this[_0x4ea693(0x429)]['assignAColorForMemberID'](_0x5de62d),'selection':_0x6990ad},_0xbd4296=this[_0x4ea693(0x354)];_0xbd4296[_0x4ea693(0x3d4)](_0x5de62d,_0x533f85),this[_0x4ea693(0x1fd)][_0x4ea693(0x157)](_0xbd4296);}['_onCursorDelete'](_0x3dec94){const _0x2b90ac=_0x375cdd,{memberID:_0x29c8c3}=_0x3dec94[_0x2b90ac(0x3e8)],_0x274410=this['cursorInfo'];_0x274410[_0x2b90ac(0x1b9)](_0x29c8c3),this[_0x2b90ac(0x1fd)][_0x2b90ac(0x157)](_0x274410);}[_0x375cdd(0x1f5)](_0x145873,_0x2dff2d){const _0x1266fc=_0x375cdd;var _0x37ca7f,_0x194972;const _0x5ab3ae=(_0x194972=(_0x37ca7f=this[_0x1266fc(0x3fb)]['getUniverSheetInstance'](this[_0x1266fc(0x1f3)]))==null?void 0x0:_0x37ca7f[_0x1266fc(0x2dc)](_0x145873))==null?void 0x0:_0x194972['getMergeData']();return(_0x5ab3ae==null?void 0x0:_0x5ab3ae[_0x1266fc(0x1d5)](_0x6fda01=>_0x158180['Rectangle'][_0x1266fc(0x358)](_0x6fda01,_0x2dff2d)))||_0x2dff2d;}['_onRefRangeChange'](){const _0x2b2b05=_0x375cdd,_0x48d9a5=new _0x158180[(_0x2b2b05(0x3ed))](),_0x2acdf8=_0x2d72d8(),_0x4d06ab=()=>{const _0x29eb3d=_0x2b2b05;_0x48d9a5['dispose']();const _0x561985=(_0x28808a,_0x3c305a,_0xed2386,_0x13de6f)=>{const _0x410658=_0x4477;let _0x1e7877=[];switch(_0x28808a['id']){case _0x338dc5[_0x410658(0x1dd)][_0x410658(0x24f)]:{_0x1e7877=_0x338dc5[_0x410658(0x322)](_0x28808a,_0x13de6f);break;}case _0x338dc5[_0x410658(0x1dd)]['DeleteRangeMoveUpCommandId']:{_0x1e7877=_0x338dc5[_0x410658(0x31c)](_0x28808a,_0x13de6f);break;}case _0x338dc5[_0x410658(0x1dd)][_0x410658(0x404)]:{_0x1e7877=_0x338dc5[_0x410658(0x26a)](_0x28808a,_0x13de6f);break;}case _0x338dc5[_0x410658(0x1dd)][_0x410658(0x176)]:{_0x1e7877=_0x338dc5[_0x410658(0x2c0)](_0x28808a,_0x13de6f);break;}case _0x338dc5['EffectRefRangId'][_0x410658(0x1f0)]:{_0x1e7877=_0x338dc5[_0x410658(0x202)](_0x28808a,_0x13de6f);break;}case _0x338dc5[_0x410658(0x1dd)][_0x410658(0x259)]:{_0x1e7877=_0x338dc5[_0x410658(0x324)](_0x28808a,_0x13de6f);break;}case _0x338dc5[_0x410658(0x1dd)][_0x410658(0x21b)]:{_0x1e7877=_0x338dc5[_0x410658(0x31f)](_0x28808a,_0x13de6f);break;}case _0x338dc5[_0x410658(0x1dd)]['RemoveColCommandId']:{_0x1e7877=_0x338dc5['handleIRemoveCol'](_0x28808a,_0x13de6f);break;}case _0x338dc5[_0x410658(0x1dd)][_0x410658(0x20d)]:{_0x1e7877=_0x338dc5[_0x410658(0x3d8)](_0x28808a,_0x13de6f);break;}}const _0x532862=_0x338dc5[_0x410658(0x16d)](_0x1e7877,_0x13de6f),_0x1b6552=this['cursorInfo'][_0x410658(0x411)](_0x3c305a);if(_0x1b6552&&_0x532862){const _0x5d34fe={..._0x1b6552,'range':_0x532862};this[_0x410658(0x354)][_0x410658(0x3d4)](_0x3c305a,_0x5d34fe),_0x2acdf8(()=>{const _0x263a0e=_0x410658,_0x55e219=this[_0x263a0e(0x306)][_0x263a0e(0x1e5)](_0x532862,_0x4315cc=>(_0x55e219['dispose'](),_0x561985(_0x4315cc,_0x3c305a,_0xed2386,_0x532862)));_0x48d9a5[_0x263a0e(0x1c8)](_0x55e219);});}return{'redos':[],'undos':[]};};this[_0x29eb3d(0x354)][_0x29eb3d(0x3d9)]((_0x154cdd,_0x42af4b)=>{const _0x3ed2d4=_0x29eb3d,{range:_0x514c58,sheetID:_0x148d98}=_0x154cdd,_0x14b685=this[_0x3ed2d4(0x306)][_0x3ed2d4(0x1e5)](_0x514c58,_0x12b2a5=>(_0x14b685[_0x3ed2d4(0x149)](),_0x561985(_0x12b2a5,_0x42af4b,_0x148d98,_0x514c58)));_0x48d9a5['add'](_0x14b685);});};this['disposeWithMe'](_0x158180['toDisposable'](this[_0x2b2b05(0x1fd)][_0x2b2b05(0x3f9)](()=>{_0x4d06ab();})));}[_0x375cdd(0x28a)](){const _0x24da9b=_0x375cdd;var _0x1ff120,_0x5a06b8;if(this['_online']=!0x0,((_0x1ff120=this[_0x24da9b(0x3fb)][_0x24da9b(0x41c)]())==null?void 0x0:_0x1ff120[_0x24da9b(0x3c9)]())!==this[_0x24da9b(0x1f3)])return;const _0x29d3ee=(_0x5a06b8=this['_injector']['get'](_0x338dc5[_0x24da9b(0x369)])['getCurrentSelections']())==null?void 0x0:_0x5a06b8[0x0],_0x417496=this[_0x24da9b(0x3fb)]['getCurrentUnitForType'](_0x158180[_0x24da9b(0x327)][_0x24da9b(0x179)])['getActiveSheet']();_0x29d3ee&&_0x417496&&this['_updateLocalCursor'](_0x417496[_0x24da9b(0x171)](),_0x29d3ee);}[_0x375cdd(0x241)](){const _0x525e69=_0x375cdd;this[_0x525e69(0x3e5)]=!0x1;}};_0x283a8e=_0x32197f([_0x9c3088(0x2,_0x158180[_0x375cdd(0x293)](_0x158180[_0x375cdd(0x3c8)])),_0x9c3088(0x3,_0x158180[_0x375cdd(0x293)](_0x4f84ef)),_0x9c3088(0x4,_0x158180[_0x375cdd(0x293)](_0x422a84['MemberService'])),_0x9c3088(0x5,_0x158180[_0x375cdd(0x169)]),_0x9c3088(0x6,_0x158180[_0x375cdd(0x2bb)]),_0x9c3088(0x7,_0x158180['Inject'](_0x338dc5['RefRangeService']))],_0x283a8e);var _0x288164=Object[_0x375cdd(0x37a)],_0x14d76c=(_0x43983b,_0x38ea91,_0x3d7c07,_0x2152a3)=>{const _0x172432=_0x375cdd;for(var _0x52f830=_0x2152a3>0x1?void 0x0:_0x2152a3?_0x288164(_0x38ea91,_0x3d7c07):_0x38ea91,_0x113920=_0x43983b[_0x172432(0x3ef)]-0x1,_0x5884d3;_0x113920>=0x0;_0x113920--)(_0x5884d3=_0x43983b[_0x113920])&&(_0x52f830=_0x5884d3(_0x52f830)||_0x52f830);return _0x52f830;},_0x255597=(_0x50a0f6,_0x1545ee)=>(_0x4285f5,_0x5cac7d)=>_0x1545ee(_0x4285f5,_0x5cac7d,_0x50a0f6);let _0x112360=class extends _0x158180['RxDisposable']{constructor(_0x5b71a5,_0x4f3054,_0x404727){const _0x1566e5=_0x375cdd;super(),_0x5a9a8a(this,'_entities',new Map()),_0x5a9a8a(this,_0x1566e5(0x209),new _0x2f7dc8[(_0x1566e5(0x243))]()),(this[_0x1566e5(0x3fb)]=_0x5b71a5,this['_injector']=_0x4f3054,this[_0x1566e5(0x317)]=_0x404727,this['_init']());}[_0x375cdd(0x149)](){const _0x2b07da=_0x375cdd;super[_0x2b07da(0x149)](),this[_0x2b07da(0x209)][_0x2b07da(0x1f4)](),this[_0x2b07da(0x18f)]['forEach'](_0x138e0f=>_0x138e0f[_0x2b07da(0x149)]());}['getCollabCursors$'](_0x526b88){const _0x425dfb=_0x375cdd;return this['_entities'][_0x425dfb(0x2c1)](_0x526b88)?this['_entities']['get'](_0x526b88)[_0x425dfb(0x38c)]:this['_entityInit$'][_0x425dfb(0x21d)](_0x2f7dc8[_0x425dfb(0x1ae)](_0x1723b0=>_0x1723b0[_0x425dfb(0x1f3)]===_0x526b88),_0x2f7dc8[_0x425dfb(0x29f)](_0x5924db=>_0x5924db['cursorInfo$']));}[_0x375cdd(0x2e6)](){const _0x33772a=_0x375cdd;this[_0x33772a(0x3fb)]['getTypeOfUnitAdded$'](_0x158180[_0x33772a(0x327)][_0x33772a(0x179)])['pipe'](_0x2f7dc8['takeUntil'](this['dispose$']))['subscribe'](async _0x4d035b=>{const _0x390472=_0x33772a,_0x27d0c9=_0x4d035b[_0x390472(0x3c9)](),_0x5cc7a3=await this[_0x390472(0x242)](_0x27d0c9);this[_0x390472(0x209)][_0x390472(0x157)](_0x5cc7a3),this[_0x390472(0x18f)][_0x390472(0x3d4)](_0x27d0c9,_0x5cc7a3);}),this[_0x33772a(0x3fb)][_0x33772a(0x3ce)](_0x158180[_0x33772a(0x327)][_0x33772a(0x363)])[_0x33772a(0x21d)](_0x2f7dc8[_0x33772a(0x334)](this[_0x33772a(0x214)]))[_0x33772a(0x21d)](_0x2f7dc8['filter'](_0x1e8562=>!_0x1e8562[_0x33772a(0x3c9)]()['startsWith']('__')))['subscribe'](async _0x4666c0=>{const _0x246806=_0x33772a,_0x30035e=_0x4666c0[_0x246806(0x3c9)](),_0x1d17c9=await this[_0x246806(0x2a7)](_0x30035e);this[_0x246806(0x209)]['next'](_0x1d17c9),this['_entities'][_0x246806(0x3d4)](_0x30035e,_0x1d17c9);}),_0x2f7dc8[_0x33772a(0x300)](this['_univerInstanceService'][_0x33772a(0x41a)](_0x158180[_0x33772a(0x327)][_0x33772a(0x363)]),this[_0x33772a(0x3fb)][_0x33772a(0x41a)](_0x158180[_0x33772a(0x327)]['UNIVER_SHEET']))[_0x33772a(0x21d)](_0x2f7dc8[_0x33772a(0x334)](this[_0x33772a(0x214)]))['subscribe'](_0x155b1c=>{const _0x3fb296=_0x33772a,_0x23d506=_0x155b1c[_0x3fb296(0x3c9)](),_0x5c7b28=this[_0x3fb296(0x18f)][_0x3fb296(0x411)](_0x23d506);_0x5c7b28&&(_0x5c7b28[_0x3fb296(0x149)](),this[_0x3fb296(0x18f)]['delete'](_0x23d506));});}async['_startSheetCollabCursor'](_0x5dd272){const _0x301ba2=_0x375cdd,_0x9a5e6f=await this['_collabSessionService'][_0x301ba2(0x3df)](_0x5dd272),_0x5a0c9b=this[_0x301ba2(0x2e5)][_0x301ba2(0x1c2)](_0x283a8e,_0x5dd272,_0x9a5e6f);return _0x5a0c9b[_0x301ba2(0x392)](),_0x5a0c9b;}async[_0x375cdd(0x2a7)](_0x320f23){const _0xa55994=_0x375cdd,_0x352bc2=await this[_0xa55994(0x317)][_0xa55994(0x3df)](_0x320f23),_0x5dbcf8=this[_0xa55994(0x2e5)]['createInstance'](_0x19d28c,_0x320f23,_0x352bc2);return _0x5dbcf8[_0xa55994(0x392)](),_0x5dbcf8;}};_0x112360=_0x14d76c([_0x255597(0x0,_0x158180['IUniverInstanceService']),_0x255597(0x1,_0x158180[_0x375cdd(0x293)](_0x158180[_0x375cdd(0x3c8)])),_0x255597(0x2,_0x158180['Inject'](_0x422a84[_0x375cdd(0x370)]))],_0x112360);const _0x3eaec9=0x14,_0x3b6f0b=0xc8,_0x3e831d=0x4,_0x146c09=0x5;function _0xefaceb(_0x191151,_0x432993){const _0x3fb419=_0x375cdd;let {radius:_0x3f91a0,width:_0x39fb6f,height:_0x4110b4}=_0x432993;_0x3f91a0=_0x3f91a0!=null?_0x3f91a0:0x0,_0x39fb6f=_0x39fb6f!=null?_0x39fb6f:0x1e,_0x4110b4=_0x4110b4!=null?_0x4110b4:0x1e;let _0x2f35f1=0x0,_0x9f728a=0x0,_0x4d43a3=0x0;_0x2f35f1=_0x9f728a=_0x4d43a3=Math[_0x3fb419(0x2e8)](_0x3f91a0,_0x39fb6f/0x2,_0x4110b4/0x2),_0x191151[_0x3fb419(0x15c)](),_0x191151[_0x3fb419(0x319)](_0x2f35f1,0x0),_0x191151['lineTo'](_0x39fb6f-_0x9f728a,0x0),_0x191151[_0x3fb419(0x234)](_0x39fb6f-_0x9f728a,_0x9f728a,_0x9f728a,Math['PI']*0x3/0x2,0x0,!0x1),_0x191151['lineTo'](_0x39fb6f,_0x4110b4-_0x4d43a3),_0x191151[_0x3fb419(0x234)](_0x39fb6f-_0x4d43a3,_0x4110b4-_0x4d43a3,_0x4d43a3,0x0,Math['PI']/0x2,!0x1),_0x191151[_0x3fb419(0x212)](0x0,_0x4110b4),_0x191151[_0x3fb419(0x212)](0x0,_0x2f35f1),_0x191151['arc'](_0x2f35f1,_0x2f35f1,_0x2f35f1,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x191151[_0x3fb419(0x17b)](),_0x432993[_0x3fb419(0x367)]&&(_0x191151['save'](),_0x191151[_0x3fb419(0x3de)]=_0x432993[_0x3fb419(0x367)],_0x432993[_0x3fb419(0x31a)]===_0x3fb419(0x2aa)?_0x191151[_0x3fb419(0x367)]('evenodd'):_0x191151[_0x3fb419(0x367)](),_0x191151[_0x3fb419(0x1ef)]());}class _0xeacd8d extends _0x191500[_0x375cdd(0x26c)]{constructor(_0x1ce12e,_0x148e4d){const _0x44de7e=_0x375cdd;super(_0x1ce12e,_0x148e4d),_0x5a9a8a(this,'color'),_0x5a9a8a(this,_0x44de7e(0x2e4)),(this[_0x44de7e(0x183)]=_0x148e4d==null?void 0x0:_0x148e4d[_0x44de7e(0x183)],this[_0x44de7e(0x2e4)]=_0x148e4d==null?void 0x0:_0x148e4d[_0x44de7e(0x2e4)]);}static['drawWith'](_0x441218,_0x2412cd){const _0x519014=_0x375cdd,{text:_0x4c0247,color:_0x25d1fd}=_0x2412cd;_0x441218[_0x519014(0x221)](),_0x441218['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1a144f=_0x441218['measureText'](_0x4c0247)[_0x519014(0x3e0)],_0x40b232=Math[_0x519014(0x2e8)](_0x1a144f+0x2*_0x3e831d,_0x3b6f0b);_0xefaceb(_0x441218,{'height':_0x3eaec9,'radius':0x4,'width':_0x40b232,'fill':_0x25d1fd}),_0x441218['fillStyle']=_0x519014(0x1f1);const _0x2f6d0c=_0x3e831d,_0x18d212=_0x3eaec9-_0x146c09,_0x7e802e=_0x3b6f0b-0x2*_0x3e831d;if(_0x1a144f>_0x7e802e){let _0xf06fbb='',_0x4401ad=0x0;for(const _0x53edb9 of _0x4c0247){const _0x11ad24=_0x441218[_0x519014(0x14a)](_0x53edb9)['width'];if(_0x4401ad+_0x11ad24<=_0x7e802e-_0x441218[_0x519014(0x14a)](_0x519014(0x3b0))['width'])_0xf06fbb+=_0x53edb9,_0x4401ad+=_0x11ad24;else{_0xf06fbb+=_0x519014(0x3b0);break;}}_0x441218[_0x519014(0x2c9)](_0xf06fbb,_0x2f6d0c,_0x18d212);}else _0x441218[_0x519014(0x2c9)](_0x4c0247,_0x2f6d0c,_0x18d212);_0x441218[_0x519014(0x1ef)]();}[_0x375cdd(0x178)](_0x5cbdfd){const _0x766f6d=_0x375cdd;_0xeacd8d[_0x766f6d(0x1d0)](_0x5cbdfd,this);}}const _0x24725c=_0x375cdd(0x1b2),_0x4422ba=_0x375cdd(0x397),_0x3980e7=_0x375cdd(0x428),_0x5ec3da=0x6,_0x3d4245=1.5,_0xed9b2b=0x4,_0x59b84c=1.5,_0x369f94='rgba(255,\x20255,\x20255,\x200.01)';class _0x136062{constructor(_0x9a8c64,_0x11da15,_0x47d17e,_0x37b4f6){const _0xd47815=_0x375cdd;_0x5a9a8a(this,_0xd47815(0x13e),[]),_0x5a9a8a(this,_0xd47815(0x1de),null),_0x5a9a8a(this,_0xd47815(0x275),null),_0x5a9a8a(this,_0xd47815(0x193),null),_0x5a9a8a(this,_0xd47815(0x17a),null),_0x5a9a8a(this,_0xd47815(0x264),null),(this[_0xd47815(0x145)]=_0x9a8c64,this[_0xd47815(0x35a)]=_0x11da15,this['_docSkeleton']=_0x47d17e,this['_document']=_0x37b4f6,this[_0xd47815(0x225)]());}set[_0x375cdd(0x1ee)](_0x489274){const _0x4ab78b=_0x375cdd;_0x489274?(this[_0x4ab78b(0x193)]&&this[_0x4ab78b(0x193)][_0x4ab78b(0x256)](),this[_0x4ab78b(0x275)]&&this[_0x4ab78b(0x275)]['show']()):(this[_0x4ab78b(0x193)]&&this[_0x4ab78b(0x193)]['show'](),this[_0x4ab78b(0x275)]&&this[_0x4ab78b(0x275)][_0x4ab78b(0x256)]());}[_0x375cdd(0x149)](){const _0x5e71a0=_0x375cdd;for(const _0x35f7d9 of this[_0x5e71a0(0x13e)])_0x35f7d9[_0x5e71a0(0x149)]();this['_textBubble']&&this[_0x5e71a0(0x275)]['dispose'](),this[_0x5e71a0(0x193)]&&this['_anchorDot'][_0x5e71a0(0x149)](),this['_anchor']&&this[_0x5e71a0(0x1de)]['dispose'](),this[_0x5e71a0(0x264)]&&this['_eventUnsubscribe']();}[_0x375cdd(0x225)](){const _0x36d81e=_0x375cdd;var _0x1a210f;const {_docSkeleton:_0x23d38c,_document:_0x4ead5a}=this,{color:_0x23be6e,name:_0x243fb9,ranges:_0x486ad1}=this[_0x36d81e(0x145)],_0xa6568a=_0x4ead5a['getOffsetConfig'](),{docsLeft:_0x1efcd0,docsTop:_0x8a66c1}=_0xa6568a,_0x56e43d=new _0x4d94eb[(_0x36d81e(0x265))](_0xa6568a,_0x23d38c);for(const {startOffset:_0x2c879,endOffset:_0xcc4b7a,rangeType:_0x52b1c5,segmentId:_0x3fbb49,segmentPage:_0xbab963,collapsed:_0x3223ef,isActive:_0x4e8d19}of _0x486ad1){const _0x4bf746=_0x23d38c[_0x36d81e(0x180)](_0x2c879,!0x0,_0x3fbb49,_0xbab963);let _0x931d5b=_0x23d38c['findNodePositionByCharIndex'](_0xcc4b7a,!0x0,_0x3fbb49,_0xbab963);if(_0x931d5b==null&&(_0x931d5b=_0x23d38c[_0x36d81e(0x180)](_0xcc4b7a-0x1,!0x1,_0x3fbb49,_0xbab963)),_0x4e8d19){const {contentBoxPointGroup:_0x2aa65a}=_0x56e43d[_0x36d81e(0x417)](_0x931d5b,_0x931d5b);if(_0x2aa65a['length']===0x0)continue;this[_0x36d81e(0x2ee)](_0x23be6e,_0x2aa65a,_0x1efcd0,_0x8a66c1,_0x243fb9),this[_0x36d81e(0x264)]=this[_0x36d81e(0x14c)]();}if(_0x4bf746&&_0x931d5b){if(_0x52b1c5===_0x158180[_0x36d81e(0x1ca)][_0x36d81e(0x323)]){const _0x39dfe0=new _0x4d94eb[(_0x36d81e(0x3b2))](_0xa6568a,_0x23d38c),{pointGroup:_0x2b4a5d}=(_0x1a210f=_0x39dfe0[_0x36d81e(0x417)](_0x4bf746,_0x931d5b))!=null?_0x1a210f:{};if(_0x2b4a5d==null||_0x2b4a5d[_0x36d81e(0x3ef)]===0x0)continue;this[_0x36d81e(0x282)](_0x23be6e,_0x2b4a5d,_0x1efcd0,_0x8a66c1);}else{if(!_0x3223ef){const {borderBoxPointGroup:_0x5ef127}=_0x56e43d[_0x36d81e(0x417)](_0x4bf746,_0x931d5b);if(_0x5ef127[_0x36d81e(0x3ef)]===0x0)continue;this[_0x36d81e(0x1af)](_0x23be6e,_0x5ef127,_0x1efcd0,_0x8a66c1);}}}}}[_0x375cdd(0x2ee)](_0x4d3ed6,_0x2061fc,_0x4db6d9,_0x41242b,_0x12187f){const _0x58cca6=_0x375cdd,_0xc707e3=this[_0x58cca6(0x31b)](_0x2061fc),{left:_0x4036a9,top:_0x2fd6b2,height:_0x370062}=_0xc707e3,_0x38e074=this[_0x58cca6(0x3dc)](),_0x2a18ba=_0x59b84c/_0x38e074,_0x4d992b=new _0x191500[(_0x58cca6(0x228))](_0x24725c+_0x158180[_0x58cca6(0x2b4)](_0x5ec3da),{'left':_0x4036a9+_0x4db6d9-_0x2a18ba,'top':_0x2fd6b2+_0x41242b,'height':_0x370062,'width':_0x3d4245,'fill':_0x4d3ed6||_0x191500[_0x58cca6(0x1a3)](_0x158180[_0x58cca6(0x1cd)][_0x58cca6(0x25b)],0x0),'strokeWidth':_0x2a18ba,'stroke':_0x369f94,'evented':!0x0});this[_0x58cca6(0x1de)]=_0x4d992b,this[_0x58cca6(0x35a)][_0x58cca6(0x396)](_0x4d992b,_0x4d94eb[_0x58cca6(0x164)]);const _0x5cf303=new _0x191500[(_0x58cca6(0x228))](_0x24725c+_0x158180[_0x58cca6(0x2b4)](_0x5ec3da),{'left':_0x4036a9+_0x4db6d9-_0x2a18ba,'top':_0x2fd6b2+_0x41242b-_0xed9b2b/0x2,'height':_0xed9b2b,'width':_0xed9b2b,'fill':_0x4d3ed6||_0x191500['getColor'](_0x158180[_0x58cca6(0x1cd)][_0x58cca6(0x25b)],0x0),'strokeWidth':0x0,'stroke':_0x4d3ed6||_0x191500['getColor'](_0x158180[_0x58cca6(0x1cd)][_0x58cca6(0x25b)],0x0),'evented':!0x1});this[_0x58cca6(0x193)]=_0x5cf303,this['_scene'][_0x58cca6(0x396)](_0x5cf303,_0x4d94eb[_0x58cca6(0x164)]);const _0x409dc3=new _0xeacd8d(_0x24725c+_0x158180[_0x58cca6(0x2b4)](_0x5ec3da),{'left':_0x4036a9+_0x4db6d9-_0x2a18ba,'top':_0x2fd6b2+_0x41242b-_0x3eaec9,'text':_0x12187f,'color':_0x4d3ed6});this[_0x58cca6(0x275)]=_0x409dc3,this['_scene'][_0x58cca6(0x396)](_0x409dc3,_0x4d94eb[_0x58cca6(0x164)]),this[_0x58cca6(0x1ee)]=!0x1;}[_0x375cdd(0x14c)](){const _0x27ba0f=_0x375cdd,_0x188663=this[_0x27ba0f(0x1de)][_0x27ba0f(0x28c)][_0x27ba0f(0x23a)](()=>{const _0x4c3356=_0x27ba0f;this[_0x4c3356(0x1ee)]=!0x0;}),_0x28157d=this[_0x27ba0f(0x1de)]['onPointerLeave$'][_0x27ba0f(0x23a)](()=>{const _0x12f988=_0x27ba0f;this[_0x12f988(0x17a)]&&clearTimeout(this[_0x12f988(0x17a)]),this['_hideTimer']=setTimeout(()=>{const _0x256ec4=_0x12f988;this[_0x256ec4(0x1ee)]=!0x1;},0x7d0);});return()=>{const _0x6bbda6=_0x27ba0f;_0x188663[_0x6bbda6(0x16a)](),_0x28157d[_0x6bbda6(0x16a)]();};}[_0x375cdd(0x1af)](_0x33c99a,_0x1bf9cb,_0x17b40d,_0x5a7f30){const _0x27bca9=_0x375cdd,_0xa67eee=new _0x158180[(_0x27bca9(0x40b))](_0x33c99a)[_0x27bca9(0x3ab)](0.2)['toRgbString'](),_0x164402=new _0x191500[(_0x27bca9(0x28f))](_0x4422ba+_0x158180[_0x27bca9(0x2b4)](_0x5ec3da),{'pointsGroup':_0x1bf9cb,'fill':_0xa67eee||_0x191500['getColor'](_0x158180['COLORS']['black'],0.2),'left':_0x17b40d,'top':_0x5a7f30,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x27bca9(0x1cb)](_0x164402),this['_scene']['addObject'](_0x164402,_0x4d94eb[_0x27bca9(0x164)]);}[_0x375cdd(0x282)](_0x3675b3,_0x310ec7,_0x52e3b7,_0x691601){const _0x2af008=_0x375cdd,_0x175278=new _0x158180[(_0x2af008(0x40b))](_0x3675b3)[_0x2af008(0x3ab)](0.2)[_0x2af008(0x238)](),_0x36cd02=new _0x191500[(_0x2af008(0x28f))](_0x3980e7+_0x158180[_0x2af008(0x2b4)](_0x5ec3da),{'pointsGroup':_0x310ec7,'fill':_0x175278||_0x191500[_0x2af008(0x1a3)](_0x158180[_0x2af008(0x1cd)][_0x2af008(0x25b)],0.2),'left':_0x52e3b7,'top':_0x691601,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x2af008(0x1cb)](_0x36cd02),this[_0x2af008(0x35a)][_0x2af008(0x396)](_0x36cd02,_0x4d94eb[_0x2af008(0x164)]);}[_0x375cdd(0x31b)](_0x1cd176){const _0x5c7759=_0x1cd176[0x0],_0x4b2b7e=_0x5c7759[0x0],_0x299f20=_0x5c7759[0x2],{x:_0x13df6b,y:_0x26ded1}=_0x4b2b7e,{x:_0x3e04f0,y:_0x4a6bee}=_0x299f20;return{'left':_0x13df6b,'top':_0x26ded1,'width':_0x3e04f0-_0x13df6b,'height':_0x4a6bee-_0x26ded1};}[_0x375cdd(0x3dc)](){const _0x169986=_0x375cdd,{scaleX:_0x11b58e,scaleY:_0x83525d}=this[_0x169986(0x35a)][_0x169986(0x276)]();return Math['max'](_0x11b58e,_0x83525d);}}var _0x4cc3df=Object['getOwnPropertyDescriptor'],_0x5ad54e=(_0xb6c8f2,_0xd2b150,_0x41e54c,_0x2f16a6)=>{const _0x1887bc=_0x375cdd;for(var _0xff7133=_0x2f16a6>0x1?void 0x0:_0x2f16a6?_0x4cc3df(_0xd2b150,_0x41e54c):_0xd2b150,_0x2d00fb=_0xb6c8f2[_0x1887bc(0x3ef)]-0x1,_0x18eba2;_0x2d00fb>=0x0;_0x2d00fb--)(_0x18eba2=_0xb6c8f2[_0x2d00fb])&&(_0xff7133=_0x18eba2(_0xff7133)||_0xff7133);return _0xff7133;},_0x345a30=(_0x5dc9f7,_0x3d31ff)=>(_0x35829f,_0x13f668)=>_0x3d31ff(_0x35829f,_0x13f668,_0x5dc9f7);let _0x3235e9=class extends _0x158180[_0x375cdd(0x41b)]{constructor(_0x2e2ccc,_0x2ced80,_0xf76ee3,_0x18fe23,_0x2a0b68){const _0x3564b6=_0x375cdd;super(),_0x5a9a8a(this,_0x3564b6(0x232),[]),_0x5a9a8a(this,_0x3564b6(0x294),[]),(this['_context']=_0x2e2ccc,this[_0x3564b6(0x3c4)]=_0x2ced80,this[_0x3564b6(0x32d)]=_0xf76ee3,this['_commandService']=_0x18fe23,this['_themeService']=_0x2a0b68,this[_0x3564b6(0x2e6)]());}[_0x375cdd(0x2e6)](){const _0x1d754c=_0x375cdd,_0x263223=this['_context'][_0x1d754c(0x3f4)],_0xe08897=this[_0x1d754c(0x3c4)];this['disposeWithMe'](_0x2f7dc8[_0x1d754c(0x310)]([this['_collabCursorController']['getCollabCursors$'](_0x263223),this[_0x1d754c(0x2cc)][_0x1d754c(0x261)]])['pipe'](_0xa81663[_0x1d754c(0x35e)](([_0x4348b1,_0x1546b5])=>({'skeleton':_0xe08897['getSkeleton'](),'cursors':[..._0x4348b1[_0x1d754c(0x250)]()][_0x1d754c(0x364)](_0x4ace5f=>({..._0x4ace5f,'color':this[_0x1d754c(0x2cc)][_0x1d754c(0x1bc)](_0x4ace5f[_0x1d754c(0x183)])}))})))[_0x1d754c(0x3f9)](_0x3da660=>{const _0x69fef0=_0x1d754c;if(this[_0x69fef0(0x211)](),_0x3da660){const {skeleton:_0x54b5b1,cursors:_0xbca466}=_0x3da660;this[_0x69fef0(0x332)](_0x54b5b1,_0xbca466);}})),this['_initResize'](),this[_0x1d754c(0x3ee)]();}['_updateCollabCursors'](_0x2afc64,_0x5a92e9){const _0x146347=_0x375cdd,{scene:_0x5b9eee,mainComponent:_0xaa6338}=this['_context'],_0x339f1c=_0x5a92e9[_0x146347(0x35e)](_0x220638=>new _0x136062(_0x220638,_0x5b9eee,_0x2afc64,_0xaa6338));this[_0x146347(0x232)]=_0x339f1c,this[_0x146347(0x294)]=_0x5a92e9;}[_0x375cdd(0x2ff)](){const _0x6d63f=_0x375cdd;this[_0x6d63f(0x211)]();const {scene:_0x49484c,mainComponent:_0x4ffb23}=this['_context'],_0x319b7a=this[_0x6d63f(0x3c4)]['getSkeleton'](),_0x160382=this['_cursors'][_0x6d63f(0x35e)](_0x338f63=>new _0x136062(_0x338f63,_0x49484c,_0x319b7a,_0x4ffb23));this['_cursorShapes']=_0x160382;}[_0x375cdd(0x211)](){const _0x415bae=_0x375cdd;this[_0x415bae(0x232)][_0x415bae(0x3d9)](_0xea7504=>_0xea7504['dispose']()),this[_0x415bae(0x232)]=[];}[_0x375cdd(0x3ee)](){const _0x454e72=_0x375cdd,_0x5ea345=[_0x4d94eb[_0x454e72(0x254)]['id']];this[_0x454e72(0x255)](this[_0x454e72(0x1c0)][_0x454e72(0x311)](_0x385e60=>{const _0x1d54a8=_0x454e72;_0x5ea345[_0x1d54a8(0x337)](_0x385e60['id'])&&_0x385e60[_0x1d54a8(0x2b6)][_0x1d54a8(0x3f4)]===this['_context'][_0x1d54a8(0x3f4)]&&this['_refreshCollabCursors']();}));}[_0x375cdd(0x3f6)](){const _0x3d980e=_0x375cdd;this['disposeWithMe'](_0x158180[_0x3d980e(0x22d)](this['_context'][_0x3d980e(0x312)]['onTransformChange$'])[_0x3d980e(0x21d)](_0xa81663['filter'](_0x16bf68=>_0x16bf68[_0x3d980e(0x34c)]===_0x191500['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0xa81663[_0x3d980e(0x340)](0x10))[_0x3d980e(0x3f9)](()=>{const _0x464a4f=_0x3d980e;this[_0x464a4f(0x2ff)]();}));}};_0x3235e9=_0x5ad54e([_0x345a30(0x1,_0x158180[_0x375cdd(0x293)](_0x17205f[_0x375cdd(0x421)])),_0x345a30(0x2,_0x158180[_0x375cdd(0x293)](_0x112360)),_0x345a30(0x3,_0x158180[_0x375cdd(0x2bb)]),_0x345a30(0x4,_0x158180[_0x375cdd(0x293)](_0x158180['ThemeService']))],_0x3235e9);const _0x27fb33=0x1,_0x56fadd=1.5;class _0x47bfd3 extends _0x191500['Shape']{constructor(_0x4745ee,_0x1b4781){const _0x31390f=_0x375cdd;super(_0x4745ee,_0x1b4781),_0x5a9a8a(this,_0x31390f(0x191)),_0x5a9a8a(this,_0x31390f(0x32a),!0x1),_0x5a9a8a(this,'_range'),_0x5a9a8a(this,'_name',''),_0x5a9a8a(this,_0x31390f(0x29e),'top'),_0x5a9a8a(this,_0x31390f(0x38f)),(_0x1b4781&&this['setShapeProps'](_0x1b4781),this[_0x31390f(0x28c)][_0x31390f(0x23a)](()=>this[_0x31390f(0x2fb)]({'hovered':!0x0})),this[_0x31390f(0x353)][_0x31390f(0x23a)](()=>this[_0x31390f(0x2fb)]({'hovered':!0x1})));}['setShapeProps'](_0x7d2f10){const _0x3cb7a9=_0x375cdd;var _0x49b439,_0x3c310c,_0x17007a,_0x29498b,_0xff44a6,_0x4487b1;this[_0x3cb7a9(0x191)]=(_0x49b439=_0x7d2f10[_0x3cb7a9(0x183)])!=null?_0x49b439:this[_0x3cb7a9(0x191)],this[_0x3cb7a9(0x32a)]=(_0x3c310c=_0x7d2f10[_0x3cb7a9(0x2cf)])!=null?_0x3c310c:this['_hovered'],this[_0x3cb7a9(0x401)]=(_0x17007a=_0x7d2f10[_0x3cb7a9(0x1d4)])!=null?_0x17007a:this[_0x3cb7a9(0x401)],this[_0x3cb7a9(0x13c)]=(_0x29498b=_0x7d2f10['name'])!=null?_0x29498b:this[_0x3cb7a9(0x13c)],this['_labelPosition']=(_0xff44a6=_0x7d2f10[_0x3cb7a9(0x17c)])!=null?_0xff44a6:this[_0x3cb7a9(0x29e)],this[_0x3cb7a9(0x38f)]=(_0x4487b1=_0x7d2f10[_0x3cb7a9(0x1f2)])!=null?_0x4487b1:this[_0x3cb7a9(0x38f)],this[_0x3cb7a9(0x32c)]({'width':_0x7d2f10[_0x3cb7a9(0x3e0)],'height':_0x7d2f10[_0x3cb7a9(0x13d)]});}[_0x375cdd(0x18a)](_0x1e2b08){const _0x3e6271=_0x375cdd,{row:_0x4846db,column:_0x18d6f2}=_0x1e2b08;if(_0x4846db>=this['_range'][_0x3e6271(0x3a0)]&&_0x4846db<=this['_range'][_0x3e6271(0x142)]&&_0x18d6f2>=this[_0x3e6271(0x401)][_0x3e6271(0x172)]&&_0x18d6f2<=this['_range'][_0x3e6271(0x3f1)]){this[_0x3e6271(0x2fb)]({'hovered':!0x0});return;}this[_0x3e6271(0x2fb)]({'hovered':!0x1});}[_0x375cdd(0x1e4)](_0x3b74a8){return!0x1;}[_0x375cdd(0x178)](_0x36ad21){const _0x2c4fd7=_0x375cdd;_0x191500[_0x2c4fd7(0x228)][_0x2c4fd7(0x1d0)](_0x36ad21,{'width':this[_0x2c4fd7(0x3e0)],'height':this['height'],'strokeWidth':_0x56fadd,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x2c4fd7(0x38f)]}),this[_0x2c4fd7(0x32a)]&&(_0x36ad21[_0x2c4fd7(0x221)](),_0x36ad21[_0x2c4fd7(0x2cb)](0x1,0x0,0x0,0x1,this[_0x2c4fd7(0x3e0)],this['_labelPosition']===_0x2c4fd7(0x19f)?0x0:-_0x3eaec9),_0xeacd8d[_0x2c4fd7(0x1d0)](_0x36ad21,{'text':this[_0x2c4fd7(0x13c)],'color':this[_0x2c4fd7(0x191)]}),_0x36ad21[_0x2c4fd7(0x1ef)]());}}var _0x436fad=Object[_0x375cdd(0x37a)],_0x206eaf=(_0x5bdfc0,_0x322c27,_0x452d88,_0x5d479c)=>{const _0x569bba=_0x375cdd;for(var _0x11fe04=_0x5d479c>0x1?void 0x0:_0x5d479c?_0x436fad(_0x322c27,_0x452d88):_0x322c27,_0x5877b6=_0x5bdfc0[_0x569bba(0x3ef)]-0x1,_0x42798d;_0x5877b6>=0x0;_0x5877b6--)(_0x42798d=_0x5bdfc0[_0x5877b6])&&(_0x11fe04=_0x42798d(_0x11fe04)||_0x11fe04);return _0x11fe04;},_0xd5befc=(_0x587773,_0xba56a7)=>(_0x16c92a,_0x5e144a)=>_0xba56a7(_0x16c92a,_0x5e144a,_0x587773);const _0x245642=0x1389;let _0x1f6ced=class extends _0x158180[_0x375cdd(0x41b)]{constructor(_0x312592,_0x180f8d,_0x15ffdc,_0x21a357){const _0x4e9d6c=_0x375cdd;super(),_0x5a9a8a(this,_0x4e9d6c(0x294),new Set()),_0x5a9a8a(this,'_lastPointer',null),(this[_0x4e9d6c(0x3ea)]=_0x312592,this[_0x4e9d6c(0x2b0)]=_0x180f8d,this[_0x4e9d6c(0x32d)]=_0x15ffdc,this[_0x4e9d6c(0x2cc)]=_0x21a357,this['_init']());}['_init'](){const _0x214f21=_0x375cdd;this['_sheetSkeletonManagerService']['currentSkeleton$']['pipe'](_0xa81663[_0x214f21(0x334)](this[_0x214f21(0x214)]),_0xa81663[_0x214f21(0x29f)](_0x22e0c6=>{const _0x5d8230=_0x214f21;if(_0x22e0c6){const _0x2ba951=_0x22e0c6[_0x5d8230(0x203)];return _0x2f7dc8['combineLatest'](this['_collabCursorController'][_0x5d8230(0x16c)](this[_0x5d8230(0x3ea)][_0x5d8230(0x3f4)]),this['_themeService']['currentTheme$'])[_0x5d8230(0x21d)](_0xa81663[_0x5d8230(0x35e)](([_0x18769f,_0x5039e0])=>{const _0x1f647c=_0x5d8230,_0x1d3383=new Map();return _0x18769f[_0x1f647c(0x3d9)]((_0x58a044,_0x4e1f07)=>{const _0x4d3ea1=_0x1f647c;if(_0x58a044['sheetID']===_0x2ba951){const _0x3c2a23={..._0x58a044};_0x3c2a23[_0x4d3ea1(0x183)]=this[_0x4d3ea1(0x2cc)][_0x4d3ea1(0x1bc)](_0x58a044[_0x4d3ea1(0x183)]),_0x1d3383[_0x4d3ea1(0x3d4)](_0x4e1f07,_0x3c2a23);}}),{'skeleton':_0x22e0c6,'cursors':_0x1d3383};}));}return _0x2f7dc8['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0xdfefee,cursors:_0x283d2f})=>{const _0x4677be=_0x214f21;this['_removeCollabCursors'](),_0xdfefee&&this[_0x4677be(0x332)](_0xdfefee,_0x283d2f);}),this[_0x214f21(0x2b0)][_0x214f21(0x222)][_0x214f21(0x3f9)](_0x1d8791=>{const _0x439645=_0x214f21;if(_0x1d8791==null)return;const {skeleton:_0x2fd335}=_0x1d8791,{scene:_0x11f23c}=this['_context'];_0x11f23c[_0x439645(0x36f)][_0x439645(0x23a)](_0x158180[_0x439645(0x2ae)](_0x2f182f=>{const _0xaf74c7=_0x439645;var _0x48e38c,_0x352d18;const {offsetX:_0xef4b04,offsetY:_0x29ba11}=_0x2f182f,{x:_0x49ec6e,y:_0x5497de}=_0x11f23c[_0xaf74c7(0x3d1)](_0x191500[_0xaf74c7(0x3cd)][_0xaf74c7(0x3e7)]([_0xef4b04,_0x29ba11])),{scaleX:_0x419ee2,scaleY:_0x3a73ee}=_0x11f23c[_0xaf74c7(0x276)](),_0x500a53=_0x11f23c[_0xaf74c7(0x23f)](_0x191500[_0xaf74c7(0x245)][_0xaf74c7(0x359)]),_0x168a2d=_0x11f23c[_0xaf74c7(0x395)](_0x191500[_0xaf74c7(0x3cd)][_0xaf74c7(0x3e7)]([_0x49ec6e,_0x5497de]),_0x500a53),_0x93591d=_0x2fd335[_0xaf74c7(0x394)](_0xef4b04,_0x29ba11,_0x419ee2,_0x3a73ee,_0x168a2d);((_0x48e38c=this['_lastPointer'])==null?void 0x0:_0x48e38c['column'])===_0x93591d[_0xaf74c7(0x201)]&&((_0x352d18=this[_0xaf74c7(0x196)])==null?void 0x0:_0x352d18['row'])===_0x93591d[_0xaf74c7(0x33d)]||this[_0xaf74c7(0x294)][_0xaf74c7(0x3d9)](_0x1b1a5b=>{const _0xcb9826=_0xaf74c7;_0x1b1a5b[_0xcb9826(0x18a)](_0x93591d);});},0x64));});}[_0x375cdd(0x332)](_0x4e31c1,_0x7ebbd){const _0x1cb305=_0x375cdd;var _0x3dd164;const _0x194bcd=(_0x3dd164=this[_0x1cb305(0x2b0)]['getCurrent']())==null?void 0x0:_0x3dd164['skeleton'];if(!_0x194bcd)return;const _0x47db94=this[_0x1cb305(0x2bd)]();if(!_0x47db94)return;this[_0x1cb305(0x294)][_0x1cb305(0x3d9)](_0x50b283=>{const _0x24f2ab=_0x1cb305;_0x50b283[_0x24f2ab(0x1be)]();});const {scene:_0x1d18bb}=_0x47db94,_0x2d655d=_0x47fcbd(Array[_0x1cb305(0x3e9)](_0x7ebbd[_0x1cb305(0x250)]()))[_0x1cb305(0x35e)](_0x1dac27=>{const _0x270da8=_0x1cb305,{color:_0x222e9d,range:_0x28216b,name:_0x11c1ec,selection:_0x36b8c4,sheetID:_0x3d37f4}=_0x1dac27,{startColumn:_0x34b403,startRow:_0x37ec6f,endColumn:_0x525d01,endRow:_0x3de866}=_0x28216b,_0x2bc328=_0x21df69[_0x270da8(0x330)](_0x37ec6f,_0x34b403,_0x1d18bb,_0x194bcd),_0x15914d=_0x21df69[_0x270da8(0x330)](_0x3de866,_0x525d01,_0x1d18bb,_0x194bcd),{columnHeaderHeightAndMarginTop:_0x19e269}=_0x194bcd,{startX:_0x547250,startY:_0x566832}=_0x2bc328,{endX:_0x4381eb,endY:_0x38eed2}=_0x15914d,_0x422227=_0x4381eb-_0x547250,_0x247925=_0x38eed2-_0x566832,_0x5d6c21={'labelPosition':_0x566832-_0x19e269>=_0x3eaec9?'top':'bottom','sheetID':_0x3d37f4,'range':_0x28216b,'color':_0x222e9d,'name':_0x11c1ec,'selection':_0x36b8c4,'left':_0x547250,'top':_0x566832,'width':_0x422227,'height':_0x247925,'evented':!0x1,'zIndex':_0x245642};return new _0x47bfd3(_0x11c1ec,_0x5d6c21);});_0x1d18bb[_0x1cb305(0x313)](_0x2d655d,_0x27fb33),this[_0x1cb305(0x294)]=new Set(_0x2d655d);}[_0x375cdd(0x211)](){const _0x3fa096=_0x375cdd;var _0x588c67;(_0x588c67=this[_0x3fa096(0x294)])==null||_0x588c67[_0x3fa096(0x3d9)](_0x19596d=>_0x19596d[_0x3fa096(0x149)]());}['_getSheetObject'](){const _0x522634=_0x375cdd;return _0x21df69[_0x522634(0x2a8)](this[_0x522634(0x3ea)][_0x522634(0x207)],this[_0x522634(0x3ea)]);}};_0x1f6ced=_0x206eaf([_0xd5befc(0x1,_0x158180[_0x375cdd(0x293)](_0x21df69['SheetSkeletonManagerService'])),_0xd5befc(0x2,_0x158180['Inject'](_0x112360)),_0xd5befc(0x3,_0x158180[_0x375cdd(0x293)](_0x158180[_0x375cdd(0x296)]))],_0x1f6ced);function _0x47fcbd(_0x166699){const _0x4f95bd=_0x375cdd,_0x5ca4df=new Map();return _0x166699['forEach'](_0x5beb1f=>{const _0x4db860=_0x4477;if(_0x5ca4df[_0x4db860(0x2c1)](_0x5beb1f[_0x4db860(0x3e2)])){const _0x92b09d=_0x5ca4df[_0x4db860(0x411)](_0x5beb1f[_0x4db860(0x3e2)]);_0x92b09d['name']+=',\x20'+_0x5beb1f[_0x4db860(0x41e)];}else _0x5ca4df[_0x4db860(0x3d4)](_0x5beb1f[_0x4db860(0x3e2)],_0x5beb1f);}),Array['from'](_0x5ca4df[_0x4f95bd(0x250)]());}var _0x1f2abb=Object[_0x375cdd(0x37a)],_0x548e0f=(_0x13e6eb,_0x515052,_0x41a391,_0x24e684)=>{for(var _0x5935cd=_0x24e684>0x1?void 0x0:_0x24e684?_0x1f2abb(_0x515052,_0x41a391):_0x515052,_0xb761c9=_0x13e6eb['length']-0x1,_0x5378cd;_0xb761c9>=0x0;_0xb761c9--)(_0x5378cd=_0x13e6eb[_0xb761c9])&&(_0x5935cd=_0x5378cd(_0x5935cd)||_0x5935cd);return _0x5935cd;},_0x21ea41=(_0x1427c3,_0x4ddf95)=>(_0x3fba99,_0x4d4da6)=>_0x4ddf95(_0x3fba99,_0x4d4da6,_0x1427c3);let _0x42ab39=class extends _0x158180['Disposable']{constructor(_0x228e35,_0x3ec88c,_0x3a613c,_0x77ca58,_0xf02620,_0x4da596){const _0x1d2c2c=_0x375cdd;super(),this[_0x1d2c2c(0x2f5)]=_0x228e35,this[_0x1d2c2c(0x162)]=_0x3ec88c,this['_collaborationUIEventService']=_0x3a613c,this[_0x1d2c2c(0x246)]=_0x77ca58,this['_notificationService']=_0xf02620,this['_localeService']=_0x4da596,this['_setupBeforeClosingHandler'](),this[_0x1d2c2c(0x303)]();}[_0x375cdd(0x29a)](){const _0x32d8a9=_0x375cdd;this[_0x32d8a9(0x255)](this[_0x32d8a9(0x2f5)][_0x32d8a9(0x290)](()=>{const _0x115ae0=_0x32d8a9;if(this[_0x115ae0(0x162)]['saveTaskMap'][_0x115ae0(0x412)])return this[_0x115ae0(0x3c0)]['t'](_0x115ae0(0x249));}));}[_0x375cdd(0x303)](){const _0x76a7e9=_0x375cdd;this['disposeWithMe'](this['_collaborationUIEventService'][_0x76a7e9(0x1b0)]['subscribe'](_0x45aa43=>{const _0x329057=_0x76a7e9;_0x45aa43['id']===_0x422a84[_0x329057(0x1fc)][_0x329057(0x188)]&&this[_0x329057(0x246)][_0x329057(0x415)]({'type':_0x41e1ef[_0x329057(0x30c)][_0x329057(0x1da)],'content':this[_0x329057(0x3c0)]['t'](_0x329057(0x1c6))}),_0x45aa43['id']===_0x422a84[_0x329057(0x1fc)][_0x329057(0x3b5)]&&this[_0x329057(0x246)]['show']({'type':_0x41e1ef[_0x329057(0x30c)]['Warning'],'content':this[_0x329057(0x3c0)]['t'](_0x329057(0x2f0))}),_0x45aa43['id']===_0x422a84[_0x329057(0x1fc)][_0x329057(0x348)]&&this['_notificationService'][_0x329057(0x415)]({'title':this[_0x329057(0x3c0)]['t'](_0x329057(0x24b)),'content':this[_0x329057(0x3c0)]['t'](_0x329057(0x37b)),'type':_0x329057(0x389),'duration':0x0}),_0x45aa43['id']===_0x422a84[_0x329057(0x1fc)][_0x329057(0x17e)]&&this[_0x329057(0x246)][_0x329057(0x415)]({'type':_0x41e1ef[_0x329057(0x30c)][_0x329057(0x2da)],'content':this['_localeService']['t'](_0x329057(0x2f0))+'('+_0x45aa43['data']+')'}),_0x45aa43['id']===_0x422a84[_0x329057(0x1fc)]['JOIN_ROOM_FAILED']&&this[_0x329057(0x246)][_0x329057(0x415)]({'type':_0x41e1ef[_0x329057(0x30c)][_0x329057(0x1da)],'content':this[_0x329057(0x3c0)]['t'](_0x45aa43[_0x329057(0x3e8)]||'')}),_0x45aa43['id']===_0x422a84[_0x329057(0x1fc)]['SOCKET_FAILED_RETRY']&&this[_0x329057(0x246)][_0x329057(0x415)]({'type':_0x41e1ef['MessageType']['Warning'],'content':this[_0x329057(0x3c0)]['t'](_0x329057(0x2b7))}),_0x45aa43['id']===_0x422a84[_0x329057(0x1fc)]['SOCKET_FAILED']&&this[_0x329057(0x246)][_0x329057(0x415)]({'type':_0x41e1ef[_0x329057(0x30c)]['Error'],'content':this['_localeService']['t'](_0x329057(0x2b3))}),_0x45aa43['id']===_0x422a84[_0x329057(0x1fc)][_0x329057(0x33c)]&&this['_messageService'][_0x329057(0x415)]({'type':_0x41e1ef[_0x329057(0x30c)][_0x329057(0x2da)],'content':this[_0x329057(0x3c0)]['t']('session.collaboration-timeout')});}));}};_0x42ab39=_0x548e0f([_0x21ea41(0x0,_0x1d6c76[_0x375cdd(0x413)]),_0x21ea41(0x1,_0x422a84[_0x375cdd(0x230)]),_0x21ea41(0x2,_0x158180[_0x375cdd(0x293)](_0x422a84[_0x375cdd(0x339)])),_0x21ea41(0x3,_0x1d6c76[_0x375cdd(0x3ac)]),_0x21ea41(0x4,_0x1d6c76[_0x375cdd(0x1df)]),_0x21ea41(0x5,_0x158180[_0x375cdd(0x293)](_0x158180[_0x375cdd(0x1d9)]))],_0x42ab39);var _0x90a008=Object[_0x375cdd(0x37a)],_0x364467=(_0x3ab428,_0x48f8d6,_0x2846c3,_0x5908c3)=>{const _0x20b561=_0x375cdd;for(var _0x1740b2=_0x5908c3>0x1?void 0x0:_0x5908c3?_0x90a008(_0x48f8d6,_0x2846c3):_0x48f8d6,_0x11255f=_0x3ab428[_0x20b561(0x3ef)]-0x1,_0x170d87;_0x11255f>=0x0;_0x11255f--)(_0x170d87=_0x3ab428[_0x11255f])&&(_0x1740b2=_0x170d87(_0x1740b2)||_0x1740b2);return _0x1740b2;},_0xc2c47=(_0x27cb83,_0x17d211)=>(_0xae1f0f,_0x49b3b1)=>_0x17d211(_0xae1f0f,_0x49b3b1,_0x27cb83);let _0x1d931b=class extends _0x158180[_0x375cdd(0x2d9)]{constructor(_0x3c217d,_0x6a5df8,_0x3e1ce7,_0x5662b2){const _0x59a7bd=_0x375cdd;super(),_0x5a9a8a(this,'_memberID'),(this[_0x59a7bd(0x2e5)]=_0x3c217d,this['_httpService']=_0x6a5df8,this['_logService']=_0x3e1ce7,this[_0x59a7bd(0x29c)]=_0x5662b2,this[_0x59a7bd(0x2e6)]());}[_0x375cdd(0x2e6)](){const _0x48502a=_0x375cdd;this[_0x48502a(0x2fe)](),this[_0x48502a(0x1cf)](),this[_0x48502a(0x3b8)](),this['_initUserListener']();}[_0x375cdd(0x299)](){const _0xb6d07e=_0x375cdd;this[_0xb6d07e(0x255)](this[_0xb6d07e(0x29c)][_0xb6d07e(0x22a)][_0xb6d07e(0x3f9)](_0x50d168=>{const _0x307b44=_0xb6d07e;this[_0x307b44(0x2ce)]=_0x50d168==null?void 0x0:_0x50d168[_0x307b44(0x304)];}));}[_0x375cdd(0x2fe)](){const _0x36304e=_0x375cdd,_0x848562=_0x398032=>{const _0x15e3fd=_0x4477;var _0x4473d0;this[_0x15e3fd(0x165)](_0x15e3fd(0x389),_0x15e3fd(0x187)+_0x398032['message']+'\x20at\x20'+_0x398032['filename']+':'+_0x398032[_0x15e3fd(0x208)]+':'+_0x398032[_0x15e3fd(0x3a2)]+'\x0a'+(((_0x4473d0=_0x398032[_0x15e3fd(0x389)])==null?void 0x0:_0x4473d0[_0x15e3fd(0x186)])||''));};window[_0x36304e(0x146)](_0x36304e(0x389),_0x848562),this[_0x36304e(0x255)](()=>{const _0x265048=_0x36304e;window['removeEventListener'](_0x265048(0x389),_0x848562);});}[_0x375cdd(0x1cf)](){const _0x4d2cb8=_0x375cdd,_0x279dc4=_0x11942a=>{const _0x28eee0=_0x4477;this[_0x28eee0(0x165)]('error',_0x28eee0(0x14d)+_0x11942a[_0x28eee0(0x2f9)]);};window['addEventListener'](_0x4d2cb8(0x229),_0x279dc4),this[_0x4d2cb8(0x255)](()=>{const _0x6c5c7=_0x4d2cb8;window[_0x6c5c7(0x13f)](_0x6c5c7(0x229),_0x279dc4);});}[_0x375cdd(0x3b8)](){const _0x1dcce4=_0x375cdd,_0x331911=this['_logService'][_0x1dcce4(0x389)][_0x1dcce4(0x2ac)](this[_0x1dcce4(0x153)]);this['_logService']['error']=(..._0x32ebcb)=>{const _0x208e76=_0x1dcce4,_0x1a43da=_0x32ebcb[_0x208e76(0x35e)](_0x34abb2=>_0x34abb2 instanceof Error?_0x34abb2[_0x208e76(0x1b7)]+'\x0a'+_0x34abb2[_0x208e76(0x186)]:String(_0x34abb2))['join']('\x20');this[_0x208e76(0x165)](_0x208e76(0x389),_0x208e76(0x27e)+_0x1a43da),_0x331911(..._0x32ebcb);},this['disposeWithMe'](()=>{const _0x273bb3=_0x1dcce4;this[_0x273bb3(0x153)][_0x273bb3(0x389)]=_0x331911;});}[_0x375cdd(0x165)](_0x27af9e,_0x14bbf8){const _0x5f01fb=_0x375cdd;try{const _0x52586d={'userId':this['_memberID'],'logLabel':_0x27af9e,'content':_0x14bbf8};this[_0x5f01fb(0x2b9)][_0x5f01fb(0x1c9)](_0x5f01fb(0x174),{'body':_0x52586d})['catch'](()=>{});}catch{}}};_0x1d931b=_0x364467([_0xc2c47(0x0,_0x158180[_0x375cdd(0x293)](_0x158180[_0x375cdd(0x3c8)])),_0xc2c47(0x1,_0x158180[_0x375cdd(0x293)](_0xcb5e7f[_0x375cdd(0x155)])),_0xc2c47(0x2,_0x158180['ILogService']),_0xc2c47(0x3,_0x158180[_0x375cdd(0x293)](_0x422a84[_0x375cdd(0x370)]))],_0x1d931b);const _0x51e52e=_0x375cdd(0x1ab),_0x447a95={};var _0x17709b=Object[_0x375cdd(0x37a)],_0x16cd55=(_0x20dd7b,_0x3edfa5,_0x4fab19,_0x1d095f)=>{for(var _0x41b681=_0x1d095f>0x1?void 0x0:_0x1d095f?_0x17709b(_0x3edfa5,_0x4fab19):_0x3edfa5,_0x1fdee4=_0x20dd7b['length']-0x1,_0x5af79d;_0x1fdee4>=0x0;_0x1fdee4--)(_0x5af79d=_0x20dd7b[_0x1fdee4])&&(_0x41b681=_0x5af79d(_0x41b681)||_0x41b681);return _0x41b681;},_0x5a1bc0=(_0x1588b5,_0x2238e5)=>(_0x13c622,_0x541024)=>_0x2238e5(_0x13c622,_0x541024,_0x1588b5);let _0x315d9a=class{constructor(_0xedc707,_0x42cb19){const _0x3e4422=_0x375cdd;this[_0x3e4422(0x3db)]=_0xedc707,this['_renderManagerService']=_0x42cb19;}[_0x375cdd(0x185)](_0x3de67e){this['_transformUndoRedoStack'](_0x3de67e),this['_transformPreviousActiveRange'](_0x3de67e);}['transformRemoteChangeset'](_0x5f0ce3){const _0x39847d=_0x375cdd,{unitID:_0x3d5dc9}=_0x5f0ce3,_0x2637f7=this[_0x39847d(0x3b4)]['getRenderById'](_0x3d5dc9)['with'](_0x4d94eb[_0x39847d(0x1f8)]),{redoCache:_0x3cbf4b}=_0x2637f7[_0x39847d(0x39b)]();if(_0x3cbf4b['length']===0x0)return _0x5f0ce3;let _0x359e61=_0x158180[_0x39847d(0x1b4)][_0x39847d(0x1a9)](_0x5f0ce3[_0x39847d(0x2d5)][0x0]);for(let _0x3ac047=0x0;_0x3ac047<_0x3cbf4b['length'];_0x3ac047++){const _0xfaf898={'id':_0x39847d(0x272),'params':{..._0x3cbf4b[_0x3ac047]}},_0x5deaf6=this[_0x39847d(0x3db)]['transformMutation'](_0x359e61,_0xfaf898,!0x1);if(_0x2af364[_0x39847d(0x239)](_0x5deaf6))throw _0x5deaf6['error'];_0x359e61=_0x5deaf6[_0x39847d(0x1e9)];}return{..._0x158180['Tools'][_0x39847d(0x1a9)](_0x5f0ce3),'mutations':[_0x359e61]};}[_0x375cdd(0x382)](_0x39fb00){const _0x53e08b=_0x375cdd,{unitID:_0x4683b8}=_0x39fb00,_0x276bbf=this[_0x53e08b(0x3b4)][_0x53e08b(0x3ad)](_0x4683b8)[_0x53e08b(0x1a2)](_0x4d94eb['DocIMEInputManagerService']),{undoCache:_0x34ae3f,redoCache:_0x1b6bca}=_0x276bbf[_0x53e08b(0x39b)]();if(_0x34ae3f[_0x53e08b(0x3ef)]===0x0||_0x1b6bca[_0x53e08b(0x3ef)]===0x0)return;const _0x2085be=[],_0x41791c=[];let _0x1b67d7=_0x158180[_0x53e08b(0x1b4)][_0x53e08b(0x1a9)](_0x39fb00['mutations'][0x0]),_0x186404=_0x158180[_0x53e08b(0x1b4)][_0x53e08b(0x1a9)](_0x39fb00['mutations'][0x0]);for(let _0x3ed797=_0x34ae3f[_0x53e08b(0x3ef)]-0x1;_0x3ed797>=0x0;_0x3ed797--){const _0x1701e1={'id':_0x53e08b(0x272),'params':{..._0x34ae3f[_0x3ed797]}},_0x4a5093={'id':_0x53e08b(0x272),'params':{..._0x1b6bca[_0x3ed797]}},_0x44bee2=this[_0x53e08b(0x3db)][_0x53e08b(0x34a)](_0x1b67d7,_0x1701e1,!0x1),_0x499aaa=this[_0x53e08b(0x3db)]['transformMutation'](_0x186404,_0x4a5093,!0x1);if(_0x2af364[_0x53e08b(0x239)](_0x44bee2))throw _0x44bee2[_0x53e08b(0x389)];if(_0x2af364[_0x53e08b(0x239)](_0x499aaa))throw _0x499aaa[_0x53e08b(0x389)];_0x2085be[_0x53e08b(0x1c4)](_0x44bee2[_0x53e08b(0x3e6)][_0x53e08b(0x2b6)]),_0x41791c[_0x53e08b(0x1c4)](_0x499aaa[_0x53e08b(0x3e6)][_0x53e08b(0x2b6)]),_0x1b67d7=_0x44bee2[_0x53e08b(0x1e9)],_0x186404=_0x499aaa[_0x53e08b(0x1e9)];}_0x276bbf[_0x53e08b(0x3fc)]({'undoCache':_0x2085be,'redoCache':_0x41791c});}[_0x375cdd(0x398)](_0x2d5abc){const _0xb63750=_0x375cdd,{unitID:_0x3c9f97}=_0x2d5abc,_0x369daa=this['_renderManagerService'][_0xb63750(0x3ad)](_0x3c9f97)[_0xb63750(0x1a2)](_0x4d94eb[_0xb63750(0x1f8)]),_0x27cf63=_0x369daa[_0xb63750(0x410)]();if(_0x27cf63==null)return;const _0x4b37d2=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2d5abc[_0xb63750(0x1f3)],'actions':null,'textRanges':[_0x27cf63]}}],_0x43eba3=this[_0xb63750(0x3db)][_0xb63750(0x291)](_0x2d5abc,_0x4b37d2);if(!_0x2af364['isTransformMutationsWithChangesetSuccess'](_0x43eba3))throw _0x43eba3['error'];const _0x3b3724=_0x43eba3[_0xb63750(0x3e6)][0x0][_0xb63750(0x2b6)][_0xb63750(0x1e6)];Array[_0xb63750(0x3eb)](_0x3b3724)&&_0x3b3724[_0xb63750(0x3ef)]&&_0x369daa[_0xb63750(0x24a)](_0x3b3724[0x0]);}};_0x315d9a=_0x16cd55([_0x5a1bc0(0x0,_0x2af364['ITransformService']),_0x5a1bc0(0x1,_0x191500[_0x375cdd(0x407)])],_0x315d9a);var _0x652c95=Object[_0x375cdd(0x37a)],_0x3142ad=(_0x544fea,_0x340d24,_0x57ac94,_0x2541dd)=>{for(var _0x331503=_0x2541dd>0x1?void 0x0:_0x2541dd?_0x652c95(_0x340d24,_0x57ac94):_0x340d24,_0x2e9a51=_0x544fea['length']-0x1,_0x529420;_0x2e9a51>=0x0;_0x2e9a51--)(_0x529420=_0x544fea[_0x2e9a51])&&(_0x331503=_0x529420(_0x331503)||_0x331503);return _0x331503;},_0x3cab05=(_0x30fd07,_0x4f4919)=>(_0x3fb225,_0x22e03c)=>_0x4f4919(_0x3fb225,_0x22e03c,_0x30fd07);let _0x5434c5=class{constructor(_0x5ce908,_0x3bb36f,_0x3a3b83){const _0x356ffc=_0x375cdd;this[_0x356ffc(0x2e5)]=_0x5ce908,this[_0x356ffc(0x3db)]=_0x3bb36f,this[_0x356ffc(0x3d2)]=_0x3a3b83;}[_0x375cdd(0x1a6)](_0x2aec9a){const _0x4942b3=_0x375cdd;this[_0x4942b3(0x1d3)](_0x2aec9a);}[_0x375cdd(0x3cb)](_0x2f7fed){const _0x316c8d=_0x375cdd,{unitID:_0x1815ff}=_0x2f7fed,{collaboration:_0x39c5ca}=this[_0x316c8d(0x3d2)]['getStateCache'](_0x1815ff);if(_0x39c5ca[_0x316c8d(0x3ef)]===0x0)return _0x2f7fed;let _0x3f6fd1=_0x158180[_0x316c8d(0x1b4)]['deepClone'](_0x2f7fed[_0x316c8d(0x2d5)][0x0]);for(let _0x87f83d=0x0;_0x87f83d<_0x39c5ca[_0x316c8d(0x3ef)];_0x87f83d++){const _0x3b5fd2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x39c5ca[_0x87f83d]['unitId'],..._0x39c5ca[_0x87f83d][_0x316c8d(0x20a)]}},_0x26b25a=this[_0x316c8d(0x3db)][_0x316c8d(0x34a)](_0x3f6fd1,_0x3b5fd2,!0x1);if(_0x2af364[_0x316c8d(0x239)](_0x26b25a))throw _0x26b25a[_0x316c8d(0x389)];_0x3f6fd1=_0x26b25a[_0x316c8d(0x1e9)];}return{..._0x158180[_0x316c8d(0x1b4)][_0x316c8d(0x1a9)](_0x2f7fed),'mutations':[_0x3f6fd1]};}[_0x375cdd(0x1d3)](_0x3da7a8){const _0x4e3532=_0x375cdd,{unitID:_0x32fb43}=_0x3da7a8,{history:_0xca01a1,collaboration:_0x4158b7}=this[_0x4e3532(0x3d2)][_0x4e3532(0x356)](_0x32fb43);if(_0xca01a1[_0x4e3532(0x3ef)]===0x0&&_0x4158b7[_0x4e3532(0x3ef)]===0x0)return;const _0x224a60=[],_0x5e3525=[];let _0x120462=_0x158180[_0x4e3532(0x1b4)][_0x4e3532(0x1a9)](_0x3da7a8[_0x4e3532(0x2d5)][0x0]),_0x55b2e5=_0x158180[_0x4e3532(0x1b4)][_0x4e3532(0x1a9)](_0x3da7a8[_0x4e3532(0x2d5)][0x0]);for(let _0x47eb8f=_0xca01a1['length']-0x1;_0x47eb8f>=0x0;_0x47eb8f--){const _0x44ade6={'id':_0x4e3532(0x272),'params':{'unitId':_0xca01a1[_0x47eb8f][_0x4e3532(0x3f4)],..._0xca01a1[_0x47eb8f][_0x4e3532(0x190)]}},_0x155913={'id':_0x4e3532(0x272),'params':{'unitId':_0xca01a1[_0x47eb8f][_0x4e3532(0x3f4)],..._0xca01a1[_0x47eb8f][_0x4e3532(0x20a)]}},_0x5f3ee6=this[_0x4e3532(0x3db)]['transformMutation'](_0x120462,_0x44ade6,!0x1),_0x2e5925=this[_0x4e3532(0x3db)][_0x4e3532(0x34a)](_0x55b2e5,_0x155913,!0x1);if(_0x2af364['isTransformMutationFailure'](_0x5f3ee6))throw _0x5f3ee6[_0x4e3532(0x389)];if(_0x2af364[_0x4e3532(0x239)](_0x2e5925))throw _0x2e5925[_0x4e3532(0x389)];_0x224a60['unshift']({..._0xca01a1[_0x47eb8f],'undoState':_0x5f3ee6[_0x4e3532(0x3e6)]['params'],'redoState':_0x2e5925[_0x4e3532(0x3e6)][_0x4e3532(0x2b6)]}),_0x120462=_0x5f3ee6[_0x4e3532(0x1e9)],_0x55b2e5=_0x2e5925[_0x4e3532(0x1e9)];}_0x120462=_0x158180[_0x4e3532(0x1b4)][_0x4e3532(0x1a9)](_0x3da7a8[_0x4e3532(0x2d5)][0x0]),_0x55b2e5=_0x158180[_0x4e3532(0x1b4)][_0x4e3532(0x1a9)](_0x3da7a8[_0x4e3532(0x2d5)][0x0]);for(let _0x49bc85=_0x4158b7[_0x4e3532(0x3ef)]-0x1;_0x49bc85>=0x0;_0x49bc85--){const _0x408d72={'id':_0x4e3532(0x272),'params':{'unitId':_0x4158b7[_0x49bc85][_0x4e3532(0x3f4)],..._0x4158b7[_0x49bc85][_0x4e3532(0x190)]}},_0x376d65={'id':_0x4e3532(0x272),'params':{'unitId':_0x4158b7[_0x49bc85][_0x4e3532(0x3f4)],..._0x4158b7[_0x49bc85][_0x4e3532(0x20a)]}},_0x11d494=this[_0x4e3532(0x3db)]['transformMutation'](_0x120462,_0x408d72,!0x1),_0x1092ef=this[_0x4e3532(0x3db)][_0x4e3532(0x34a)](_0x55b2e5,_0x376d65,!0x1);if(_0x2af364[_0x4e3532(0x239)](_0x11d494))throw _0x11d494[_0x4e3532(0x389)];if(_0x2af364['isTransformMutationFailure'](_0x1092ef))throw _0x1092ef[_0x4e3532(0x389)];_0x5e3525[_0x4e3532(0x1c4)]({..._0x4158b7[_0x49bc85],'undoState':_0x11d494[_0x4e3532(0x3e6)]['params'],'redoState':_0x1092ef['m2Prime'][_0x4e3532(0x2b6)]}),_0x120462=_0x11d494[_0x4e3532(0x1e9)],_0x55b2e5=_0x1092ef['m1Prime'];}this[_0x4e3532(0x3d2)][_0x4e3532(0x35b)](_0x32fb43,{'history':_0x224a60,'collaboration':_0x5e3525});}};_0x5434c5=_0x3142ad([_0x3cab05(0x0,_0x158180[_0x375cdd(0x293)](_0x158180[_0x375cdd(0x3c8)])),_0x3cab05(0x1,_0x2af364[_0x375cdd(0x2dd)]),_0x3cab05(0x2,_0x158180[_0x375cdd(0x293)](_0x4d94eb[_0x375cdd(0x21a)]))],_0x5434c5);var _0x76a787=Object[_0x375cdd(0x37a)],_0x15b2d2=(_0x80fb0,_0x29d0f5,_0x3310de,_0x34b6d4)=>{const _0x2719cf=_0x375cdd;for(var _0x3fa5ab=_0x34b6d4>0x1?void 0x0:_0x34b6d4?_0x76a787(_0x29d0f5,_0x3310de):_0x29d0f5,_0x3d4265=_0x80fb0[_0x2719cf(0x3ef)]-0x1,_0x16ea81;_0x3d4265>=0x0;_0x3d4265--)(_0x16ea81=_0x80fb0[_0x3d4265])&&(_0x3fa5ab=_0x16ea81(_0x3fa5ab)||_0x3fa5ab);return _0x3fa5ab;},_0x46730f=(_0x5c34c2,_0xa43efb)=>(_0x43b739,_0x3747e4)=>_0xa43efb(_0x43b739,_0x3747e4,_0x5c34c2);let _0x32826b=class{constructor(_0x12129f,_0x621d43){const _0x13582e=_0x375cdd;this[_0x13582e(0x2e5)]=_0x12129f,this[_0x13582e(0x3db)]=_0x621d43;}[_0x375cdd(0x308)](_0x3989cc){const _0x38b478=_0x375cdd;var _0x396a83;const _0x18cdbf=this[_0x38b478(0x2e5)]['get'](_0x17205f['DocSelectionManagerService']),_0x254ef1=(_0x396a83=_0x18cdbf[_0x38b478(0x424)]())!=null?_0x396a83:[];if(_0x254ef1[_0x38b478(0x3ef)]===0x0)return;const _0x799c05=_0x3989cc[_0x38b478(0x1f3)],_0x22a901=[{'id':_0x38b478(0x272),'params':{'unitId':_0x799c05,'actions':null,'textRanges':_0x254ef1}}],_0x429b80=this[_0x38b478(0x3db)][_0x38b478(0x291)](_0x3989cc,_0x22a901);if(!_0x2af364['isTransformMutationsWithChangesetSuccess'](_0x429b80))throw _0x429b80['error'];const _0x54a91d=_0x429b80[_0x38b478(0x3e6)][0x0][_0x38b478(0x2b6)][_0x38b478(0x1e6)];Array[_0x38b478(0x3eb)](_0x54a91d)&&_0x54a91d[_0x38b478(0x3ef)]&&_0x18cdbf[_0x38b478(0x1ff)](_0x54a91d,{'unitId':_0x799c05,'subUnitId':_0x799c05},!0x1);}};_0x32826b=_0x15b2d2([_0x46730f(0x0,_0x158180['Inject'](_0x158180[_0x375cdd(0x3c8)])),_0x46730f(0x1,_0x2af364['ITransformService'])],_0x32826b);var _0x567f9e=Object[_0x375cdd(0x37a)],_0x1d85f2=(_0x5b80fa,_0x55a52f,_0x4a8968,_0x20777b)=>{const _0x27af75=_0x375cdd;for(var _0x2d1298=_0x20777b>0x1?void 0x0:_0x20777b?_0x567f9e(_0x55a52f,_0x4a8968):_0x55a52f,_0x358bec=_0x5b80fa[_0x27af75(0x3ef)]-0x1,_0x215cd1;_0x358bec>=0x0;_0x358bec--)(_0x215cd1=_0x5b80fa[_0x358bec])&&(_0x2d1298=_0x215cd1(_0x2d1298)||_0x2d1298);return _0x2d1298;},_0x565cd8=(_0x4ac188,_0x5db5ee)=>(_0x3ce0ad,_0x5262e5)=>_0x5db5ee(_0x3ce0ad,_0x5262e5,_0x4ac188);let _0x48a823=class extends _0x158180[_0x375cdd(0x2d9)]{constructor(_0x2f79da,_0xeb062c,_0x114c1f,_0x794e8d,_0x59149f,_0x17a2a3,_0x52eb64,_0x5e522d){const _0x55ab05=_0x375cdd;super(),_0x5a9a8a(this,'_status$',new _0x2f7dc8[(_0x55ab05(0x399))](_0x422a84[_0x55ab05(0x381)][_0x55ab05(0x2c4)])),(this[_0x55ab05(0x3d2)]=_0x2f79da,this[_0x55ab05(0x37f)]=_0xeb062c,this['_docTransformIMECacheService']=_0x114c1f,this[_0x55ab05(0x2c5)]=_0x794e8d,this[_0x55ab05(0x2e0)]=_0x59149f,this[_0x55ab05(0x2d2)]=_0x17a2a3,this[_0x55ab05(0x246)]=_0x52eb64,this['_localeService']=_0x5e522d,this['_initEntityListener']());}[_0x375cdd(0x2fa)](){const _0x53bedb=_0x375cdd;this[_0x53bedb(0x255)](this[_0x53bedb(0x37f)][_0x53bedb(0x1a1)][_0x53bedb(0x3f9)](_0x12a968=>{const _0x50a9f2=_0x53bedb,_0x2ec8a0=this[_0x50a9f2(0x3d2)][_0x50a9f2(0x2ad)][_0x50a9f2(0x3f9)](_0x16b002=>{const _0x19a0c3=_0x50a9f2;if(_0x16b002==null)return;const {unitId:_0x4d36c2,redoState:_0x581cdd,commandId:_0x4c5364}=_0x16b002;if(_0x4d36c2!==_0x12a968[_0x19a0c3(0x1f3)])return;const _0x55b7fd={'id':_0x4c5364,'type':_0x158180['CommandType'][_0x19a0c3(0x30f)],'params':{'unitId':_0x4d36c2,'actions':_0x581cdd[_0x19a0c3(0x39c)],'textRanges':null}};_0x12a968['onLocalMutation'](_0x55b7fd);});if(_0x12a968[_0x50a9f2(0x255)](_0x2ec8a0),_0x12a968 instanceof _0x422a84[_0x50a9f2(0x1d2)]){const _0x188066={'onTransformIME':_0x45d1ba=>this[_0x50a9f2(0x2f1)][_0x50a9f2(0x185)](_0x45d1ba),'onTransformState':_0xcda961=>this['_docTransformStateCacheService']['transformStateCache'](_0xcda961),'onTransformSelections':_0x58fd51=>this[_0x50a9f2(0x2e0)][_0x50a9f2(0x308)](_0x58fd51),'onSyncEditingCollabCursor':_0x6ea705=>this['_docSyncEditingCollabCursorService'][_0x50a9f2(0x408)](_0x6ea705),'onTransformRemoteChangesetByIMECache':_0x58cb30=>this[_0x50a9f2(0x2f1)][_0x50a9f2(0x3cb)](_0x58cb30),'onTransformRemoteChangesetByStateCache':_0x253076=>this[_0x50a9f2(0x2c5)]['transformRemoteChangeset'](_0x253076)};_0x12a968[_0x50a9f2(0x3a8)](_0x188066);}}));}};_0x48a823=_0x1d85f2([_0x565cd8(0x0,_0x158180[_0x375cdd(0x293)](_0x4d94eb['DocStateChangeManagerService'])),_0x565cd8(0x1,_0x158180['Inject'](_0x422a84[_0x375cdd(0x380)])),_0x565cd8(0x2,_0x158180[_0x375cdd(0x293)](_0x315d9a)),_0x565cd8(0x3,_0x158180[_0x375cdd(0x293)](_0x5434c5)),_0x565cd8(0x4,_0x158180[_0x375cdd(0x293)](_0x32826b)),_0x565cd8(0x5,_0x158180['Inject'](_0x279437)),_0x565cd8(0x6,_0x1d6c76[_0x375cdd(0x3ac)]),_0x565cd8(0x7,_0x158180[_0x375cdd(0x293)](_0x158180['LocaleService']))],_0x48a823);var _0x19dbdd=(_0x4fe23f=>(_0x4fe23f[_0x4fe23f[_0x375cdd(0x3e4)]=0x0]=_0x375cdd(0x3e4),_0x4fe23f[_0x4fe23f['OK']=0x1]='OK',_0x4fe23f[_0x4fe23f['INTERNAL_ERROR']=0x2]=_0x375cdd(0x2ef),_0x4fe23f[_0x4fe23f['PERMISSION_DENIED']=0x3]=_0x375cdd(0x348),_0x4fe23f[_0x4fe23f[_0x375cdd(0x25c)]=0x4]=_0x375cdd(0x25c),_0x4fe23f[_0x4fe23f['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x4fe23f[_0x4fe23f['ALREADY_EXISTS']=0x6]=_0x375cdd(0x3e3),_0x4fe23f[_0x4fe23f[_0x375cdd(0x26f)]=0x7]='INVALID_ARGUMENT',_0x4fe23f[_0x4fe23f['TOO_MANY_REQUESTS']=0x8]=_0x375cdd(0x2b2),_0x4fe23f[_0x4fe23f['COMPLETION_FINISHED']=0x9]=_0x375cdd(0x347),_0x4fe23f[_0x4fe23f['LOGIN_FAILED']=0xa]=_0x375cdd(0x2df),_0x4fe23f[_0x4fe23f[_0x375cdd(0x3a4)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x4fe23f[_0x4fe23f['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4fe23f[_0x4fe23f[_0x375cdd(0x3ba)]=0xd]=_0x375cdd(0x3ba),_0x4fe23f[_0x4fe23f['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x375cdd(0x3d7),_0x4fe23f[_0x4fe23f[_0x375cdd(0x262)]=0xf]=_0x375cdd(0x262),_0x4fe23f[_0x4fe23f[_0x375cdd(0x220)]=0x10]=_0x375cdd(0x220),_0x4fe23f[_0x4fe23f[_0x375cdd(0x3da)]=0x64]=_0x375cdd(0x3da),_0x4fe23f[_0x4fe23f['ERROR_AGAIN']=0x65]=_0x375cdd(0x15a),_0x4fe23f[_0x4fe23f[_0x375cdd(0x2ed)]=0xc9]=_0x375cdd(0x2ed),_0x4fe23f[_0x4fe23f[_0x375cdd(0x1b6)]=0xca]='USER_IS_ANONYMOUS',_0x4fe23f[_0x4fe23f[_0x375cdd(0x27a)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4fe23f[_0x4fe23f['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x375cdd(0x302),_0x4fe23f[_0x4fe23f[_0x375cdd(0x20e)]=0x1772]=_0x375cdd(0x20e),_0x4fe23f[_0x4fe23f['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4fe23f[_0x4fe23f[_0x375cdd(0x3f5)]=0x1b59]=_0x375cdd(0x3f5),_0x4fe23f[_0x4fe23f[_0x375cdd(0x19c)]=0x1b5a]=_0x375cdd(0x19c),_0x4fe23f[_0x4fe23f[_0x375cdd(0x307)]=0x1b5b]=_0x375cdd(0x307),_0x4fe23f[_0x4fe23f[_0x375cdd(0x2e7)]=0x1b5c]=_0x375cdd(0x2e7),_0x4fe23f[_0x4fe23f[_0x375cdd(0x19b)]=0x1b5d]=_0x375cdd(0x19b),_0x4fe23f[_0x4fe23f[_0x375cdd(0x2fc)]=0x1f41]=_0x375cdd(0x2fc),_0x4fe23f[_0x4fe23f[_0x375cdd(0x2f8)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4fe23f[_0x4fe23f[_0x375cdd(0x159)]=0x232a]=_0x375cdd(0x159),_0x4fe23f[_0x4fe23f[_0x375cdd(0x20f)]=0x232b]=_0x375cdd(0x20f),_0x4fe23f[_0x4fe23f[_0x375cdd(0x141)]=0x232c]=_0x375cdd(0x141),_0x4fe23f[_0x4fe23f[_0x375cdd(0x1bb)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x4fe23f[_0x4fe23f['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x375cdd(0x189),_0x4fe23f[_0x4fe23f['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x4fe23f[_0x4fe23f[_0x375cdd(0x341)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4fe23f[_0x4fe23f[_0x375cdd(0x3d3)]=0x2714]=_0x375cdd(0x3d3),_0x4fe23f[_0x4fe23f['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x375cdd(0x1b3),_0x4fe23f[_0x4fe23f[_0x375cdd(0x39f)]=0x271b]=_0x375cdd(0x39f),_0x4fe23f[_0x4fe23f[_0x375cdd(0x144)]=0x271c]=_0x375cdd(0x144),_0x4fe23f[_0x4fe23f[_0x375cdd(0x3cf)]=0x271d]=_0x375cdd(0x3cf),_0x4fe23f[_0x4fe23f[_0x375cdd(0x383)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x4fe23f[_0x4fe23f[_0x375cdd(0x36e)]=0x271f]=_0x375cdd(0x36e),_0x4fe23f[_0x4fe23f[_0x375cdd(0x260)]=0x2720]=_0x375cdd(0x260),_0x4fe23f[_0x4fe23f[_0x375cdd(0x2f2)]=0x2af9]=_0x375cdd(0x2f2),_0x4fe23f[_0x4fe23f[_0x375cdd(0x3fe)]=0x2ee1]=_0x375cdd(0x3fe),_0x4fe23f[_0x4fe23f[_0x375cdd(0x287)]=0x2ee2]='INVALID_INVITE_CODE',_0x4fe23f[_0x4fe23f[_0x375cdd(0x405)]=0x2ee3]=_0x375cdd(0x405),_0x4fe23f[_0x4fe23f['USER_NOT_INVITED_CODE']=0x2ee4]=_0x375cdd(0x1db),_0x4fe23f[_0x4fe23f[_0x375cdd(0x3c6)]=0x2ee5]=_0x375cdd(0x3c6),_0x4fe23f[_0x4fe23f['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x375cdd(0x236),_0x4fe23f[_0x4fe23f[_0x375cdd(0x288)]=0x32ca]=_0x375cdd(0x288),_0x4fe23f[_0x4fe23f[_0x375cdd(0x3c7)]=0x32cb]=_0x375cdd(0x3c7),_0x4fe23f[_0x4fe23f[_0x375cdd(0x25f)]=0x36b1]=_0x375cdd(0x25f),_0x4fe23f[_0x4fe23f[_0x375cdd(0x3dd)]=0x36b2]=_0x375cdd(0x3dd),_0x4fe23f[_0x4fe23f[_0x375cdd(0x36c)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x4fe23f[_0x4fe23f[_0x375cdd(0x422)]=0x36b4]=_0x375cdd(0x422),_0x4fe23f[_0x4fe23f[_0x375cdd(0x25e)]=0x3715]=_0x375cdd(0x25e),_0x4fe23f[_0x4fe23f[_0x375cdd(0x3fd)]=0x3716]=_0x375cdd(0x3fd),_0x4fe23f[_0x4fe23f[_0x375cdd(0x200)]=0x3717]=_0x375cdd(0x200),_0x4fe23f[_0x4fe23f[_0x375cdd(0x167)]=0x37dd]=_0x375cdd(0x167),_0x4fe23f[_0x4fe23f[_0x375cdd(0x315)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x4fe23f[_0x4fe23f[_0x375cdd(0x170)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x4fe23f[_0x4fe23f[_0x375cdd(0x419)]=0x3a9b]=_0x375cdd(0x419),_0x4fe23f[_0x4fe23f[_0x375cdd(0x318)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x4fe23f[_0x4fe23f['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x375cdd(0x268),_0x4fe23f[_0x4fe23f[_0x375cdd(0x402)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x4fe23f[_0x4fe23f[_0x375cdd(0x1ce)]=0x3a9f]=_0x375cdd(0x1ce),_0x4fe23f[_0x4fe23f['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x375cdd(0x39a),_0x4fe23f[_0x4fe23f['UNRECOGNIZED']=-0x1]=_0x375cdd(0x30a),_0x4fe23f))(_0x19dbdd||{});function _0x47e270(_0x3f47a0){const _0x565e5b=_0x375cdd;var _0x8db953,_0xe89467;const _0x303e88=(_0x8db953=_0x3f47a0[_0x565e5b(0x273)])==null?void 0x0:_0x8db953[_0x565e5b(0x210)],_0x53333d=((_0xe89467=_0x3f47a0['stageInfo'])==null?void 0x0:_0xe89467[_0x565e5b(0x1a4)])||0x0;return _0x303e88===_0x2ec42f[_0x565e5b(0x40e)][_0x565e5b(0x3b1)]&&_0x53333d>0x0;}function _0x236a22(_0x581eab){const _0x20905e=_0x375cdd;return _0x581eab[_0x20905e(0x1b5)]===_0x2ec42f[_0x20905e(0x321)][_0x20905e(0x253)];}var _0x402a5c=Object[_0x375cdd(0x37a)],_0x3d836c=(_0x4416a5,_0x8694eb,_0xdd1aed,_0x4c452a)=>{const _0x441564=_0x375cdd;for(var _0x90ddd0=_0x4c452a>0x1?void 0x0:_0x4c452a?_0x402a5c(_0x8694eb,_0xdd1aed):_0x8694eb,_0x5eca65=_0x4416a5[_0x441564(0x3ef)]-0x1,_0x13c651;_0x5eca65>=0x0;_0x5eca65--)(_0x13c651=_0x4416a5[_0x5eca65])&&(_0x90ddd0=_0x13c651(_0x90ddd0)||_0x90ddd0);return _0x90ddd0;},_0xfd3403=(_0xb3ad91,_0x1663d2)=>(_0xb4149b,_0x305d07)=>_0x1663d2(_0xb4149b,_0x305d07,_0xb3ad91);const _0x5f30e4='/universer-api/license/formula/limit/status',_0x475278=_0x375cdd(0x21f),_0x12e9ad=_0x375cdd(0x2d6);let _0x4d482b=class extends _0x158180[_0x375cdd(0x2d9)]{constructor(_0x2e5e4d,_0x2da018,_0x443ea9,_0x1f07d6,_0x666212,_0x2d4b06,_0x2699a2){const _0x125e0f=_0x375cdd;super(),_0x5a9a8a(this,_0x125e0f(0x2d8),null),_0x5a9a8a(this,'_maxFormulaLimit',0x0),_0x5a9a8a(this,_0x125e0f(0x29d),0x0),_0x5a9a8a(this,_0x125e0f(0x284),[]),_0x5a9a8a(this,_0x125e0f(0x163),0x0),(this[_0x125e0f(0x246)]=_0x2e5e4d,this[_0x125e0f(0x1c0)]=_0x2da018,this[_0x125e0f(0x1e1)]=_0x443ea9,this['_httpService']=_0x1f07d6,this[_0x125e0f(0x3fb)]=_0x666212,this['_logService']=_0x2d4b06,this[_0x125e0f(0x3c0)]=_0x2699a2,this[_0x125e0f(0x36a)]());}[_0x375cdd(0x36a)](){const _0x24e1c7=_0x375cdd;this['disposeWithMe'](this[_0x24e1c7(0x1c0)][_0x24e1c7(0x23b)]((_0x2d2d24,_0xe4a265)=>{const _0xf0ebe2=_0x24e1c7;var _0x141892;if(_0x2d2d24['id']!==_0x2ec42f[_0xf0ebe2(0x2af)]['id'])return;const _0x23e1b4=_0x2d2d24['params'];if(!this['_hasFormulaInDirtyRanges']((_0x141892=_0x23e1b4[_0xf0ebe2(0x281)])!=null?_0x141892:[]))return;if(!this[_0xf0ebe2(0x418)]())throw this[_0xf0ebe2(0x2de)](_0x2d2d24,_0xe4a265),this[_0xf0ebe2(0x1bd)](),new _0x158180['CanceledError']();})),this['disposeWithMe'](this[_0x24e1c7(0x1c0)][_0x24e1c7(0x311)]((_0x1de017,_0x5caf63)=>{const _0x36fea3=_0x24e1c7;if(_0x1de017['id']!==_0x2ec42f[_0x36fea3(0x3cc)]['id'])return;const _0x779007=_0x1de017['params'];if(_0x47e270(_0x779007)){const _0x3311fb=_0x158180[_0x36fea3(0x2b4)]();this[_0x36fea3(0x284)][_0x36fea3(0x1cb)](_0x3311fb),this[_0x36fea3(0x3c2)](_0x3311fb);}else{if(_0x236a22(_0x779007)&&this[_0x36fea3(0x284)][_0x36fea3(0x3ef)]>0x0){const _0x239d78=this['_taskIds'][_0x36fea3(0x3bb)]();this['_releaseCalculationLimit'](_0x239d78);}}}));}[_0x375cdd(0x149)](){const _0x17bc8b=_0x375cdd;super[_0x17bc8b(0x149)](),this[_0x17bc8b(0x355)](),this[_0x17bc8b(0x284)]=[],this['_currentUsage']=0x0,this[_0x17bc8b(0x378)]=0x0,this[_0x17bc8b(0x163)]=0x0;}async[_0x375cdd(0x2de)](_0x54e26e,_0x392fc9){const _0x78de4c=_0x375cdd;for(let _0x50dfb7=0x0;_0x50dfb7<0x1e;_0x50dfb7++)try{if(await this[_0x78de4c(0x151)](),this[_0x78de4c(0x418)]()){this[_0x78de4c(0x343)](_0x54e26e,_0x392fc9),this[_0x78de4c(0x246)]['show']({'content':this[_0x78de4c(0x3c0)]['t']('formula.calculation.started'),'type':_0x41e1ef['MessageType'][_0x78de4c(0x279)]});return;}await new Promise(_0x2fe621=>{this['_pollingInterval']=window['setTimeout'](_0x2fe621,0x3e8);});}catch(_0x221c53){this[_0x78de4c(0x153)][_0x78de4c(0x389)](_0x221c53);}this[_0x78de4c(0x246)][_0x78de4c(0x415)]({'content':this[_0x78de4c(0x3c0)]['t']('formula.calculation.unable'),'type':_0x41e1ef[_0x78de4c(0x30c)][_0x78de4c(0x2da)]});}['_applyCommand'](_0x33bc59,_0x3bfa55){const _0x1c69b8=_0x375cdd;try{this[_0x1c69b8(0x1c0)]['executeCommand'](_0x33bc59['id'],_0x33bc59['params'],_0x3bfa55);}catch(_0xeae011){this[_0x1c69b8(0x153)][_0x1c69b8(0x389)](_0xeae011);}}[_0x375cdd(0x227)](_0x27c747,_0x40c010){const _0x1e6dba=_0x375cdd;_0x40c010<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x40c010,this[_0x1e6dba(0x378)]=Number[_0x1e6dba(0x2a5)](_0x27c747[_0x1e6dba(0x2a1)]),this[_0x1e6dba(0x29d)]=Number['parseInt'](_0x27c747[_0x1e6dba(0x1d8)]));}async['_startCalculationLimit'](_0xdb3d63){const _0x4a621e=_0x375cdd;var _0x2a529b,_0xc3d182;const _0x57bbdd=Date[_0x4a621e(0x2f7)]();try{const _0x1229d8=((_0x2a529b=this[_0x4a621e(0x1e1)]['getConfig'](_0x422a84[_0x4a621e(0x35d)]))==null?void 0x0:_0x2a529b[_0x4a621e(0x30b)])||_0x475278,_0x359b7c=(await this[_0x4a621e(0x2b9)][_0x4a621e(0x1c9)](_0x1229d8,{'body':JSON[_0x4a621e(0x1e2)]({'taskId':_0xdb3d63})}))[_0x4a621e(0x3c1)];if(((_0xc3d182=_0x359b7c[_0x4a621e(0x389)])==null?void 0x0:_0xc3d182[_0x4a621e(0x18e)])!==_0x19dbdd['OK'])return;this[_0x4a621e(0x227)](_0x359b7c['limitInfo'],_0x57bbdd);}catch(_0x1f3a35){this[_0x4a621e(0x153)]['error'](_0x1f3a35);}}async[_0x375cdd(0x151)](_0x482b91){const _0x53e6dd=_0x375cdd;var _0x148cbf,_0x547272;const _0x5bfbe1=Date['now']();try{const _0x5134a9=((_0x148cbf=this[_0x53e6dd(0x1e1)]['getConfig'](_0x422a84['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x148cbf[_0x53e6dd(0x30d)])||_0x5f30e4,_0xb7dda3=_0x482b91?_0x5134a9+_0x53e6dd(0x2e3)+encodeURIComponent(_0x482b91):_0x5134a9,_0x2468c2=(await this[_0x53e6dd(0x2b9)][_0x53e6dd(0x411)](_0xb7dda3))[_0x53e6dd(0x3c1)];if(((_0x547272=_0x2468c2[_0x53e6dd(0x389)])==null?void 0x0:_0x547272[_0x53e6dd(0x18e)])!==_0x19dbdd['OK'])return;this[_0x53e6dd(0x227)](_0x2468c2[_0x53e6dd(0x1a7)],_0x5bfbe1);}catch(_0x173396){this[_0x53e6dd(0x153)][_0x53e6dd(0x389)](_0x173396);}}async[_0x375cdd(0x160)](_0x402bd1){const _0x2969a7=_0x375cdd;var _0x2f7f35,_0x19b1e5;const _0x4cb61c=Date[_0x2969a7(0x2f7)]();try{const _0x383a36=((_0x2f7f35=this[_0x2969a7(0x1e1)][_0x2969a7(0x15f)](_0x422a84[_0x2969a7(0x35d)]))==null?void 0x0:_0x2f7f35[_0x2969a7(0x39d)])||_0x12e9ad,_0x4057a1=(await this['_httpService']['post'](_0x383a36,{'body':JSON[_0x2969a7(0x1e2)]({'taskId':_0x402bd1})}))[_0x2969a7(0x3c1)];if(((_0x19b1e5=_0x4057a1[_0x2969a7(0x389)])==null?void 0x0:_0x19b1e5[_0x2969a7(0x18e)])!==_0x19dbdd['OK'])return;this[_0x2969a7(0x227)](_0x4057a1[_0x2969a7(0x1a7)],_0x4cb61c);}catch(_0x1fbf32){this['_logService'][_0x2969a7(0x389)](_0x1fbf32);}}[_0x375cdd(0x418)](){const _0x245acf=_0x375cdd;return this[_0x245acf(0x378)]===0x0?!0x0:this[_0x245acf(0x378)]-this[_0x245acf(0x29d)]>0x0;}['_clearPolling'](){const _0x16cee8=_0x375cdd;this[_0x16cee8(0x2d8)]&&(clearTimeout(this['_pollingInterval']),this[_0x16cee8(0x2d8)]=null);}[_0x375cdd(0x1bd)](){const _0x1eaa1e=_0x375cdd;this['_messageService']['show']({'content':this[_0x1eaa1e(0x3c0)]['t'](_0x1eaa1e(0x29b)),'type':_0x41e1ef[_0x1eaa1e(0x30c)][_0x1eaa1e(0x2c2)]});}[_0x375cdd(0x285)](_0x5e5499){const _0x296d94=_0x375cdd;for(const _0x2f61c8 of _0x5e5499){const {unitId:_0x2f556b,sheetId:_0x202690,range:_0xa35c8d}=_0x2f61c8,_0x3a9477=this[_0x296d94(0x3fb)][_0x296d94(0x27b)](_0x2f556b);if(!_0x3a9477)continue;const _0x2de8bd=_0x3a9477[_0x296d94(0x2dc)](_0x202690);if(!_0x2de8bd)continue;const _0x23b8b6=_0x2de8bd[_0x296d94(0x2bc)]();for(let _0x52da8d=_0xa35c8d['startRow'];_0x52da8d<=_0xa35c8d['endRow'];_0x52da8d++)for(let _0x128ed9=_0xa35c8d[_0x296d94(0x172)];_0x128ed9<=_0xa35c8d[_0x296d94(0x3f1)];_0x128ed9++){const _0x3e10bc=_0x23b8b6[_0x296d94(0x269)](_0x52da8d,_0x128ed9);if(_0x3e10bc&&(_0x158180[_0x296d94(0x344)](_0x3e10bc['f'])||_0x158180[_0x296d94(0x2a0)](_0x3e10bc['si'])))return!0x0;}}return!0x1;}};_0x4d482b=_0x3d836c([_0xfd3403(0x0,_0x158180[_0x375cdd(0x293)](_0x1d6c76['IMessageService'])),_0xfd3403(0x1,_0x158180['ICommandService']),_0xfd3403(0x2,_0x158180[_0x375cdd(0x1a0)]),_0xfd3403(0x3,_0x158180[_0x375cdd(0x293)](_0xcb5e7f['HTTPService'])),_0xfd3403(0x4,_0x158180['IUniverInstanceService']),_0xfd3403(0x5,_0x158180[_0x375cdd(0x34b)]),_0xfd3403(0x6,_0x158180[_0x375cdd(0x293)](_0x158180['LocaleService']))],_0x4d482b);var _0x24dfaa=Object['getOwnPropertyDescriptor'],_0x220a6f=(_0x2af588,_0x567ea2,_0x143e57,_0x35b9d4)=>{const _0x62a89=_0x375cdd;for(var _0x308834=_0x35b9d4>0x1?void 0x0:_0x35b9d4?_0x24dfaa(_0x567ea2,_0x143e57):_0x567ea2,_0x258a05=_0x2af588[_0x62a89(0x3ef)]-0x1,_0x4813ef;_0x258a05>=0x0;_0x258a05--)(_0x4813ef=_0x2af588[_0x258a05])&&(_0x308834=_0x4813ef(_0x308834)||_0x308834);return _0x308834;},_0x4bc17f=(_0x5b6753,_0x2b1bed)=>(_0x4a9115,_0x414dce)=>_0x2b1bed(_0x4a9115,_0x414dce,_0x5b6753);let _0x215a2e=class extends _0x158180['Disposable']{constructor(_0xbae414,_0x425503,_0x2c6a31){const _0x1033b6=_0x375cdd;super(),_0x5a9a8a(this,_0x1033b6(0x251),new Map()),_0x5a9a8a(this,_0x1033b6(0x263),new Map()),_0x5a9a8a(this,_0x1033b6(0x1e0),!0x1),(this[_0x1033b6(0x1e1)]=_0xbae414,this[_0x1033b6(0x181)]=_0x425503,this[_0x1033b6(0x3bc)]=_0x2c6a31);}[_0x375cdd(0x1d6)](){const _0x2611e3=_0x375cdd;this[_0x2611e3(0x1e0)]=!0x0;}[_0x375cdd(0x161)](){const _0x1b37e7=_0x375cdd;this[_0x1b37e7(0x1e0)]=!0x1;}get[_0x375cdd(0x23d)](){const _0x4d16dc=_0x375cdd;return this[_0x4d16dc(0x263)];}[_0x375cdd(0x149)](){const _0x49c581=_0x375cdd;this[_0x49c581(0x345)]()[_0x49c581(0x1bf)](()=>super[_0x49c581(0x149)]());}async[_0x375cdd(0x177)](_0x351ff2){const _0x31d616=_0x375cdd;return this[_0x31d616(0x1e0)]?null:this[_0x31d616(0x181)]['getItem'](_0x422a84['getLocalCacheKey'](_0x351ff2));}async[_0x375cdd(0x379)](_0x4b889b,_0x30c3c3){const _0x599417=_0x375cdd;return!!this[_0x599417(0x181)][_0x599417(0x198)](_0x4b889b,_0x30c3c3);}['updateOfflineData'](_0x38326e,_0x48e094,_0x3e3c8,_0x1be081){const _0x4a50ac=_0x375cdd,_0x1110cc=this[_0x4a50ac(0x3bc)][_0x4a50ac(0x333)](_0x38326e);this['_cachedData'][_0x4a50ac(0x3d4)](_0x38326e,{'unitID':_0x38326e,'type':_0x48e094,'awaitingChangeset':_0x3e3c8,'mutations':_0x1be081,'rev':_0x1110cc}),this[_0x4a50ac(0x263)]['has'](_0x38326e)||this[_0x4a50ac(0x393)](_0x38326e);}[_0x375cdd(0x393)](_0xe8cd33){const _0x5ad8f9=_0x375cdd,_0x3669e5=this['_getSaveTimeout']();_0x3669e5===0x0?this[_0x5ad8f9(0x3b6)](_0xe8cd33):this['_saveTaskMap'][_0x5ad8f9(0x3d4)](_0xe8cd33,setTimeout(()=>this[_0x5ad8f9(0x3b6)](_0xe8cd33),_0x3669e5));}['_getSaveTimeout'](){const _0x4be9db=_0x375cdd;var _0x248e0e;return(_0x248e0e=this[_0x4be9db(0x1e1)][_0x4be9db(0x15f)](_0x422a84['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x248e0e:_0x422a84[_0x4be9db(0x361)];}['_saveCache'](_0x549682){const _0x52dd79=_0x375cdd,_0x2e9bdb=this['_saveTaskMap'][_0x52dd79(0x411)](_0x549682);return _0x2e9bdb!==void 0x0&&window[_0x52dd79(0x403)](_0x2e9bdb),this[_0x52dd79(0x181)][_0x52dd79(0x198)](_0x422a84[_0x52dd79(0x3c5)](_0x549682),this[_0x52dd79(0x251)][_0x52dd79(0x411)](_0x549682))[_0x52dd79(0x1bf)](()=>this['_saveTaskMap'][_0x52dd79(0x1b9)](_0x549682));}async[_0x375cdd(0x345)](){const _0x570e41=_0x375cdd,_0x537bf5=[];this[_0x570e41(0x263)][_0x570e41(0x3d9)]((_0x1152e6,_0x1b818c)=>{const _0x514a68=_0x570e41;window['clearTimeout'](_0x1152e6),_0x537bf5[_0x514a68(0x1cb)](this[_0x514a68(0x3b6)](_0x1b818c)[_0x514a68(0x1bf)](()=>{const _0x441a26=_0x514a68;this[_0x441a26(0x263)][_0x441a26(0x1b9)](_0x1b818c);}));}),await Promise[_0x570e41(0x14e)](_0x537bf5);}};_0x215a2e=_0x220a6f([_0x4bc17f(0x0,_0x158180['IConfigService']),_0x4bc17f(0x1,_0x158180[_0x375cdd(0x372)]),_0x4bc17f(0x2,_0x158180['Inject'](_0x2af364[_0x375cdd(0x3b7)]))],_0x215a2e);class _0x157cbf extends _0x158180[_0x375cdd(0x41b)]{constructor(){const _0x3f7497=_0x375cdd;super(),_0x5a9a8a(this,_0x3f7497(0x32b)),this[_0x3f7497(0x32b)]=_0x2f7dc8[_0x3f7497(0x28d)](window,_0x3f7497(0x316))['pipe'](_0x2f7dc8[_0x3f7497(0x334)](this[_0x3f7497(0x214)]),_0x2f7dc8[_0x3f7497(0x192)](0x1),_0x2f7dc8[_0x3f7497(0x3ff)](void 0x0));}[_0x375cdd(0x257)](_0x42f428,_0x549d45,_0x1bd87a=!0x1){const _0x49bbbb=_0x375cdd,_0x1fb9e2=new URL(window['location']['href']);_0x1fb9e2[_0x49bbbb(0x338)][_0x49bbbb(0x3d4)](_0x42f428,_0x549d45),_0x1bd87a?window['history'][_0x49bbbb(0x2ea)]('','',_0x1fb9e2[_0x49bbbb(0x298)]()):window[_0x49bbbb(0x18d)][_0x49bbbb(0x231)]('','',_0x1fb9e2[_0x49bbbb(0x298)]());}['removeParam'](_0x1203f5,_0x169261=!0x1){const _0x353738=_0x375cdd,_0x108ee5=new URL(window[_0x353738(0x376)][_0x353738(0x41f)]);_0x108ee5[_0x353738(0x338)][_0x353738(0x1b9)](_0x1203f5),_0x169261?window[_0x353738(0x18d)][_0x353738(0x2ea)]('','',_0x108ee5['toString']()):window[_0x353738(0x18d)]['pushState']('','',_0x108ee5['toString']());}[_0x375cdd(0x2ba)](_0x513419){const _0x3b8048=_0x375cdd;var _0x4a2a8b;return(_0x4a2a8b=new URL(window['location'][_0x3b8048(0x41f)])[_0x3b8048(0x338)]['get'](_0x513419))!=null?_0x4a2a8b:void 0x0;}}var _0x222e7b=Object[_0x375cdd(0x351)],_0x143958=Object[_0x375cdd(0x37a)],_0x3f7a0a=(_0x39410b,_0x331ca2,_0xa9227e)=>_0x331ca2 in _0x39410b?_0x222e7b(_0x39410b,_0x331ca2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xa9227e}):_0x39410b[_0x331ca2]=_0xa9227e,_0x438f0d=(_0x1d7b50,_0x434f2,_0x6a9606,_0xb75bbf)=>{const _0x1289be=_0x375cdd;for(var _0x248e50=_0xb75bbf>0x1?void 0x0:_0xb75bbf?_0x143958(_0x434f2,_0x6a9606):_0x434f2,_0x502262=_0x1d7b50[_0x1289be(0x3ef)]-0x1,_0x4a0d35;_0x502262>=0x0;_0x502262--)(_0x4a0d35=_0x1d7b50[_0x502262])&&(_0x248e50=_0x4a0d35(_0x248e50)||_0x248e50);return _0x248e50;},_0x48aefd=(_0x57caf2,_0x245d43)=>(_0x22cdcb,_0x42d7a1)=>_0x245d43(_0x22cdcb,_0x42d7a1,_0x57caf2),_0x287cc8=(_0x32820d,_0x56423d,_0x1ad79b)=>_0x3f7a0a(_0x32820d,_0x56423d+'',_0x1ad79b);const _0x43ee24=_0x375cdd(0x3f7);_0x48baf1[_0x375cdd(0x352)]=class extends _0x158180[_0x375cdd(0x22c)]{constructor(_0x574590=_0x447a95,_0x134e7f,_0x1a8613,_0x5540ab){const _0x1f6774=_0x375cdd;super(),this['_config']=_0x574590,this[_0x1f6774(0x3b4)]=_0x134e7f,this[_0x1f6774(0x2e5)]=_0x1a8613,this[_0x1f6774(0x1e1)]=_0x5540ab;const {..._0x2319f9}=_0x158180[_0x1f6774(0x300)]({},_0x447a95,this[_0x1f6774(0x1ed)]);this[_0x1f6774(0x1e1)][_0x1f6774(0x1e8)](_0x51e52e,_0x2319f9);}[_0x375cdd(0x22f)](){const _0xcf2486=_0x375cdd;this[_0xcf2486(0x148)](),this[_0xcf2486(0x390)]();}[_0x375cdd(0x28b)](){const _0x3b8ac5=_0x375cdd;this[_0x3b8ac5(0x32e)]();}[_0x375cdd(0x148)](){const _0x20b38f=_0x375cdd;var _0x33dfb8;const _0x48197c=[[_0x4f84ef],[_0x4d482b],[_0x32826b],[_0x315d9a],[_0x5434c5],[_0x279437],[_0xa2b67a,{'useClass':_0x157cbf}],[_0xcb5e7f[_0x20b38f(0x27f)],{'useClass':_0xcb5e7f[_0x20b38f(0x2d4)]}],[_0x422a84[_0x20b38f(0x230)],{'useClass':_0x215a2e}],[_0x48baf1[_0x20b38f(0x173)]],[_0x48a823],[_0x42ab39],[_0x112360],[_0x302e4a],[_0x48baf1[_0x20b38f(0x26b)]]];this[_0x20b38f(0x1ed)]['enableFrontendLog']&&_0x48197c[_0x20b38f(0x1cb)]([_0x1d931b]),_0x158180[_0x20b38f(0x3a9)](this['_injector'],_0x158180[_0x20b38f(0x301)](_0x48197c,(_0x33dfb8=this[_0x20b38f(0x1ed)])==null?void 0x0:_0x33dfb8[_0x20b38f(0x235)]));}['_registerRenderDependencies'](){const _0x2a3af0=_0x375cdd;this[_0x2a3af0(0x255)](this[_0x2a3af0(0x3b4)]['registerRenderModule'](_0x158180[_0x2a3af0(0x327)]['UNIVER_DOC'],[_0x3235e9])),this['disposeWithMe'](this[_0x2a3af0(0x3b4)][_0x2a3af0(0x1a8)](_0x158180[_0x2a3af0(0x327)]['UNIVER_SHEET'],[_0x1f6ced]));}['_initDependencies'](){const _0x51b840=_0x375cdd;_0x158180['touchDependencies'](this[_0x51b840(0x2e5)],[[_0x112360],[_0x48baf1[_0x51b840(0x173)]],[_0x48a823],[_0x42ab39],[_0x48baf1['CollaborationDataLoaderController']],[_0x4d482b]]),this[_0x51b840(0x1ed)][_0x51b840(0x342)]&&_0x158180[_0x51b840(0x295)](this['_injector'],[[_0x1d931b]]);}},_0x287cc8(_0x48baf1[_0x375cdd(0x352)],_0x375cdd(0x2eb),_0x43ee24),_0x48baf1[_0x375cdd(0x352)]=_0x438f0d([_0x158180[_0x375cdd(0x23e)](_0x422a84[_0x375cdd(0x158)]),_0x48aefd(0x1,_0x191500[_0x375cdd(0x407)]),_0x48aefd(0x2,_0x158180[_0x375cdd(0x293)](_0x158180[_0x375cdd(0x3c8)])),_0x48aefd(0x3,_0x158180[_0x375cdd(0x1a0)])],_0x48baf1['UniverCollaborationClientUIPlugin']);var _0x3c47b9=Object['getOwnPropertyDescriptor'],_0x1712c5=(_0x568a6b,_0x59f177,_0x429554,_0x20b2d1)=>{const _0x13a56d=_0x375cdd;for(var _0x31e238=_0x20b2d1>0x1?void 0x0:_0x20b2d1?_0x3c47b9(_0x59f177,_0x429554):_0x59f177,_0x28f3ae=_0x568a6b[_0x13a56d(0x3ef)]-0x1,_0x4bdbb4;_0x28f3ae>=0x0;_0x28f3ae--)(_0x4bdbb4=_0x568a6b[_0x28f3ae])&&(_0x31e238=_0x4bdbb4(_0x31e238)||_0x31e238);return _0x31e238;},_0x209fa2=(_0x456ff1,_0x313737)=>(_0x1d2989,_0x1905b2)=>_0x313737(_0x1d2989,_0x1905b2,_0x456ff1);_0x48baf1[_0x375cdd(0x2f4)]=class extends _0x422a84[_0x375cdd(0x22e)]{constructor(_0x5322fb,_0x15abca,_0x275131,_0x312d7a,_0x3940d9){super(_0x5322fb,_0x15abca,_0x275131,_0x312d7a,_0x3940d9);}async[_0x375cdd(0x42a)](_0x4bb640){const _0x335197=_0x375cdd,_0x29b8d4=await this[_0x335197(0x20b)](),_0xee5e4f=this[_0x335197(0x19a)](_0x4bb640,_0x29b8d4);return this[_0x335197(0x2a6)](_0xee5e4f);}[_0x375cdd(0x19a)](_0x29de24,_0x190295){const _0x1a7f86=_0x375cdd,_0x365817=typeof window>'u'?new URL(_0x29de24):new URL(_0x29de24,window[_0x1a7f86(0x376)][_0x1a7f86(0x368)]);_0x365817[_0x1a7f86(0x338)][_0x1a7f86(0x3d4)]('sessionTicket',_0x190295);const _0x1f8523=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1a7f86(0x376)][_0x1a7f86(0x19e)]);return _0x1f8523[_0x1a7f86(0x411)](_0x1a7f86(0x37e))&&_0x365817['searchParams']['set'](_0x1a7f86(0x37e),_0x1f8523[_0x1a7f86(0x411)]('runId')),_0x365817[_0x1a7f86(0x298)]();}async['_getSessionTicket'](){const _0x71daf5=_0x375cdd;var _0x36f304,_0x599eac,_0x226635;const _0x56bcab=this[_0x71daf5(0x1e1)][_0x71daf5(0x15f)](_0x422a84[_0x71daf5(0x35d)]),_0x36dd26=(_0x36f304=_0x56bcab==null?void 0x0:_0x56bcab[_0x71daf5(0x36b)])!=null?_0x36f304:_0x422a84[_0x71daf5(0x385)];return(_0x226635=(_0x599eac=(await this[_0x71daf5(0x2b9)]['get'](_0x36dd26,{'headers':{'Content-Type':_0x71daf5(0x384)}}))[_0x71daf5(0x3c1)])==null?void 0x0:_0x599eac[_0x71daf5(0x1fa)])!=null?_0x226635:'';}},_0x48baf1[_0x375cdd(0x2f4)]=_0x1712c5([_0x209fa2(0x0,_0x158180['Inject'](_0x158180[_0x375cdd(0x3c8)])),_0x209fa2(0x1,_0x158180[_0x375cdd(0x293)](_0xcb5e7f[_0x375cdd(0x155)])),_0x209fa2(0x2,_0x158180[_0x375cdd(0x1a0)]),_0x209fa2(0x3,_0x158180[_0x375cdd(0x34b)]),_0x209fa2(0x4,_0x2af364[_0x375cdd(0x40d)])],_0x48baf1[_0x375cdd(0x2f4)]);var _0xaaa787=Object[_0x375cdd(0x37a)],_0xf0dfb3=(_0x3fc953,_0x4078c2,_0x4fc363,_0x6bdc64)=>{const _0x5c8f53=_0x375cdd;for(var _0x7b2aac=_0x6bdc64>0x1?void 0x0:_0x6bdc64?_0xaaa787(_0x4078c2,_0x4fc363):_0x4078c2,_0x3e32de=_0x3fc953[_0x5c8f53(0x3ef)]-0x1,_0x564c2a;_0x3e32de>=0x0;_0x3e32de--)(_0x564c2a=_0x3fc953[_0x3e32de])&&(_0x7b2aac=_0x564c2a(_0x7b2aac)||_0x7b2aac);return _0x7b2aac;},_0x2ba335=(_0x5ee460,_0x41a908)=>(_0x555193,_0x3b2f4f)=>_0x41a908(_0x555193,_0x3b2f4f,_0x5ee460);_0x48baf1[_0x375cdd(0x1e7)]=class extends _0x158180[_0x375cdd(0x2d9)]{constructor(_0x586a73,_0x1541ce,_0x20ec9f){const _0xd8f206=_0x375cdd;super(),this['_instanceService']=_0x586a73,this[_0xd8f206(0x2b9)]=_0x1541ce,this[_0xd8f206(0x1e1)]=_0x20ec9f;}async[_0x375cdd(0x2b1)](_0x558ea1,_0x65a6a6,_0x516fb5,..._0x3c22e4){const _0xda54c8=_0x375cdd;var _0x311028,_0x3b5824,_0x177c3c,_0x6cabb7;const _0xabac75=this[_0xda54c8(0x331)][_0xda54c8(0x41c)]();if(!_0xabac75)throw new Error(_0xda54c8(0x3ca));const _0x15fa8d=((_0x311028=this[_0xda54c8(0x1e1)][_0xda54c8(0x15f)](_0x422a84[_0xda54c8(0x199)]))!=null?_0x311028:_0x422a84['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x558ea1+_0xda54c8(0x204)+_0x65a6a6,_0x197f0c=new URL(window['location'][_0xda54c8(0x41f)]),_0x3068a5={'scriptId':_0x558ea1,'runId':(_0x3b5824=_0x197f0c['searchParams'][_0xda54c8(0x411)](_0xda54c8(0x37e)))!=null?_0x3b5824:'','function':_0x65a6a6,'unitId':_0xabac75[_0xda54c8(0x3c9)](),'argsOfFunction':JSON[_0xda54c8(0x1e2)](_0x3c22e4),'invokeId':(_0x177c3c=_0x516fb5['invokeId'])!=null?_0x177c3c:'','executionId':(_0x6cabb7=_0x516fb5[_0xda54c8(0x2d0)])!=null?_0x6cabb7:''};try{const _0x5a875e=await this[_0xda54c8(0x2b9)][_0xda54c8(0x1c9)](_0x15fa8d,{'body':_0x3068a5});return _0x5a875e[_0xda54c8(0x3c1)]['error']&&_0x5a875e[_0xda54c8(0x3c1)][_0xda54c8(0x389)][_0xda54c8(0x18e)]!==_0x19dbdd['OK']?_0xda54c8(0x38a):_0x5a875e[_0xda54c8(0x3c1)][_0xda54c8(0x374)];}catch{return _0xda54c8(0x38a);}}},_0x48baf1['RemoteUniscriptService']=_0xf0dfb3([_0x2ba335(0x0,_0x158180['IUniverInstanceService']),_0x2ba335(0x1,_0x158180['Inject'](_0xcb5e7f[_0x375cdd(0x155)])),_0x2ba335(0x2,_0x158180[_0x375cdd(0x1a0)])],_0x48baf1[_0x375cdd(0x1e7)]);const _0x2594d5=0x7530,_0x1f9c0a='ACTIVE_UNIT_EVENT_CHANNEL';class _0x4c70e0 extends _0x158180[_0x375cdd(0x2d9)]{constructor(){const _0xe4bd08=_0x375cdd;super(),_0x5a9a8a(this,_0xe4bd08(0x34d),_0x158180[_0xe4bd08(0x2b4)]()),_0x5a9a8a(this,_0xe4bd08(0x387),new Set()),_0x5a9a8a(this,_0xe4bd08(0x34f),new Map()),_0x5a9a8a(this,_0xe4bd08(0x2be),null),_0x5a9a8a(this,_0xe4bd08(0x388),new Map()),_0x5a9a8a(this,_0xe4bd08(0x314),new Map()),this['_init']();}[_0x375cdd(0x149)](){const _0x3d208f=_0x375cdd;super[_0x3d208f(0x149)](),this[_0x3d208f(0x388)][_0x3d208f(0x3d9)]((_0x3b4367,_0x31749e)=>this['_removeClearOtherTimer'](_0x31749e)),this[_0x3d208f(0x2be)]&&window[_0x3d208f(0x280)](this[_0x3d208f(0x2be)]);}['getUnitStatus$'](_0x5699c6){const _0x18e80d=_0x375cdd;return this[_0x18e80d(0x274)](_0x5699c6)[_0x18e80d(0x21d)](_0x2f7dc8['distinctUntilChanged']());}[_0x375cdd(0x400)](_0x22a059){const _0x374cd6=_0x375cdd;this[_0x374cd6(0x387)][_0x374cd6(0x412)]===0x0&&this[_0x374cd6(0x217)](),this['_selfUnitIDs'][_0x374cd6(0x1c8)](_0x22a059),this[_0x374cd6(0x39e)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x22a059],'isForwarded':!0x1});}['disposeUnit'](_0x4c6848){const _0x5b1fa2=_0x375cdd;this[_0x5b1fa2(0x387)]['delete'](_0x4c6848),this['_selfUnitIDs'][_0x5b1fa2(0x412)]===0x0&&this[_0x5b1fa2(0x2be)]&&window[_0x5b1fa2(0x280)](this[_0x5b1fa2(0x2be)]);}['_init'](){const _0x140099=_0x375cdd;this[_0x140099(0x255)](_0x158180[_0x140099(0x267)](_0x2f7dc8[_0x140099(0x28d)](window,_0x140099(0x22b))['subscribe'](_0x57c76b=>{const _0x42c4de=_0x140099;if(_0x57c76b[_0x42c4de(0x237)]!==_0x1f9c0a||!_0x57c76b[_0x42c4de(0x371)])return;const _0xf30d62=JSON[_0x42c4de(0x1cc)](_0x57c76b[_0x42c4de(0x371)]);this[_0x42c4de(0x360)](_0xf30d62);}))),window[_0x140099(0x146)](_0x140099(0x16f),()=>this[_0x140099(0x39e)]({'type':0x1,'memberID':this[_0x140099(0x34d)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x375cdd(0x360)](_0xb9075){const _0x53f8c2=_0x375cdd;switch(_0xb9075[_0x53f8c2(0x34c)]){case 0x0:this[_0x53f8c2(0x2f3)](_0xb9075);break;case 0x1:this[_0x53f8c2(0x373)](_0xb9075);break;case 0x2:this[_0x53f8c2(0x1c7)](_0xb9075);break;}}[_0x375cdd(0x2f3)](_0x562ccd){const _0xc3fda4=_0x375cdd,{unitIDs:_0x59a8f5,memberID:_0x4c8364,isForwarded:_0x5c3ba6}=_0x562ccd;_0x59a8f5[_0xc3fda4(0x3d9)](_0x4a17ca=>{const _0x5d5f15=_0xc3fda4;if(!_0x5c3ba6&&this['_unitOnClients'][_0x5d5f15(0x2c1)](_0x4a17ca)&&this[_0x5d5f15(0x274)](_0x4a17ca)[_0x5d5f15(0x157)](_0x422a84[_0x5d5f15(0x2ca)][_0x5d5f15(0x3a3)]),!this[_0x5d5f15(0x34f)][_0x5d5f15(0x2c1)](_0x4a17ca)||!this[_0x5d5f15(0x34f)]['get'](_0x4a17ca)[_0x5d5f15(0x2c1)](_0x4c8364)){const _0xcc2ff6=this[_0x5d5f15(0x34f)][_0x5d5f15(0x411)](_0x4a17ca)||new Set();_0xcc2ff6[_0x5d5f15(0x1c8)](_0x4c8364),this[_0x5d5f15(0x34f)][_0x5d5f15(0x3d4)](_0x4a17ca,_0xcc2ff6),this[_0x5d5f15(0x2a9)](_0x4c8364);}}),_0x5c3ba6||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0xc3fda4(0x387)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x51e3cc){const _0x2006d8=_0x375cdd;this[_0x2006d8(0x3a5)](_0x51e3cc);const _0x320340=window[_0x2006d8(0x35c)](()=>{const _0x126f22=_0x2006d8;this[_0x126f22(0x34f)]['forEach'](_0xbe3031=>{_0xbe3031['delete'](_0x51e3cc);});},_0x2594d5*0x2);this[_0x2006d8(0x388)][_0x2006d8(0x3d4)](_0x51e3cc,_0x320340);}[_0x375cdd(0x3a5)](_0x16e4d3){const _0x4f7a61=_0x375cdd;if(this['_clearOtherTimers'][_0x4f7a61(0x2c1)](_0x16e4d3)){const _0x31efa5=this['_clearOtherTimers'][_0x4f7a61(0x411)](_0x16e4d3);_0x31efa5&&window['clearTimeout'](_0x31efa5),this[_0x4f7a61(0x388)]['set'](_0x16e4d3,null);}}[_0x375cdd(0x373)](_0x1f7498){const _0x4e1ab8=_0x375cdd,{memberID:_0x4cf1c2,unitIDs:_0x3e696b}=_0x1f7498;_0x3e696b[_0x4e1ab8(0x3d9)](_0xb30e3b=>{const _0x1270cd=_0x4e1ab8;var _0x4c1064;const _0x5703ac=this[_0x1270cd(0x34f)][_0x1270cd(0x411)](_0xb30e3b);_0x5703ac&&(_0x5703ac[_0x1270cd(0x1b9)](_0x4cf1c2),(_0x4c1064=this['_ensureSubject'](_0xb30e3b))==null||_0x4c1064[_0x1270cd(0x157)](_0x5703ac[_0x1270cd(0x412)]===0x0?_0x422a84[_0x1270cd(0x2ca)][_0x1270cd(0x26e)]:_0x422a84[_0x1270cd(0x2ca)][_0x1270cd(0x3a3)]));}),this['_removeClearOtherTimer'](_0x4cf1c2);}[_0x375cdd(0x1c7)](_0x172f44){const _0xf6d962=_0x375cdd;this[_0xf6d962(0x2a9)](_0x172f44[_0xf6d962(0x304)]);}[_0x375cdd(0x39e)](_0x5e76c5){const _0x8a4608=_0x375cdd;localStorage['setItem'](_0x1f9c0a,JSON[_0x8a4608(0x1e2)](_0x5e76c5));}['_scheduleHeartbeat'](){const _0x497a74=_0x375cdd;this[_0x497a74(0x2be)]=window[_0x497a74(0x23c)](()=>{const _0x3be4d9=_0x497a74;this[_0x3be4d9(0x39e)]({'type':0x2,'memberID':this['_id']});},_0x2594d5);}['_ensureSubject'](_0x45fa47){const _0x4870c8=_0x375cdd;return this['_unitStatus'][_0x4870c8(0x2c1)](_0x45fa47)||this[_0x4870c8(0x314)][_0x4870c8(0x3d4)](_0x45fa47,new _0x2f7dc8['BehaviorSubject'](_0x422a84[_0x4870c8(0x2ca)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x4870c8(0x314)]['get'](_0x45fa47);}}_0x48baf1['IURLService']=_0xa2b67a,_0x48baf1['SheetCollabCursorShape']=_0x47bfd3,_0x48baf1['WebBrowserSingleActiveUnitService']=_0x4c70e0,_0x48baf1[_0x375cdd(0x33a)]=_0x157cbf,Object[_0x375cdd(0x351)](_0x48baf1,Symbol[_0x375cdd(0x329)],{'value':_0x375cdd(0x1e3)});}));
|
|
1
|
+
function _0xe84b(_0xef347a,_0x517dd6){const _0x253448=_0x2534();return _0xe84b=function(_0xe84b35,_0x228784){_0xe84b35=_0xe84b35-0xc0;let _0x5a6036=_0x253448[_0xe84b35];return _0x5a6036;},_0xe84b(_0xef347a,_0x517dd6);}function _0x2534(){const _0x597335=['RECT','CommandType','entries','_render','search','application/json','_updateLocalCursor','syncEditingCollabCursor','USER_NOT_FOUND','toDisposable','getLocalCacheKey','textRanges','function','DependentOn','getCellPositionByOffset','_docTransformSelectionsService','react','getOffsetConfig','actions','BuiltInUIPart','TOO_MANY_REQUESTS','_getSessionTicket','from','_toggleOnline','collaboration-client-ui.config','FETCH_MISS','addEventListener','getUnitStatus$','getRenderById','Error','UnitStatus','collabCursorState$','#FFF','APPLY_PERMISSION_DENIED','Plugin','_showGuardMessage','UniverUi','SUBMIT_CHANGESET_TIMEOUT','_themeService','urlChange$','UniverProCollaborationClientUi','_onCursorUpdate','type','CollaborationDataLoaderController','YUUMI_AI_RUN_FAILED','OffLineIcon','_ensureSubject','IRemoteInstanceService','location','exhaustSavingTask','_online','_clearPolling','_httpService','rxjs','runOnServer','IRenderManagerService','_colorAssignService','15125175fNOpdh','ranges','SetFormulaCalculationStartMutation','IConfigService','UniverProCollaboration','Injector','@univerjs/core','backgroundColor','row','createElement','transformMutationsWithChangeset','message','_entities','executionId','\x20at\x20','undoState','updateOfflineData','_pollingInterval','getRelativeToViewportCoord','transformRemoteChangeset','APPLY_REVISION_CONFILICT','MOBILE_VERIFY_CODE_MISMATCH','result','stack','_onCursorDelete','collabStatus.notCollab','getParam','getViewport','addObjects','min','AUTHORIZE_CODE_ILLEGAL','history','ColorKit','MUTATION','getColor','_checkCalculationAvailable','SessionStatus','DEFAULT_WS_SESSION_TICKET_URL','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','unsubscribe','_collaborationUIEventService','INVITE_CODE_REQUIRED','forwardRef','distinctUntilChanged','SetWorksheetActivateCommand','off-line-icon_clip0_910_343','_beforeCloseService','_removeClearOtherTimer','_range','_injector','url(#on-line-icon_clip0_910_349)','values','ICommandService','getTypeOfUnitDisposed$','m1Prime','7sCjCNd','on-line-icon_clip0_910_349','dispose','_doCreateSocket','REDEMPTION_CODE_FULLY_REDEEMED','enableLocalCache','enableFrontendLog','_send','labelPosition','getColorFromTheme','size','isFormulaString','MoveRangeCommandId','DeleteRangeMoveUpCommandId','_collaborationController','_renderManagerService','code','LOGIN_FAILED','entityInit$','setActiveRange','MOBILE_HAS_BEEN_BOUND','YUUMI_URL_COL_OUT_OF_RANGE','registerRenderModule','displayName','Shape','svg','operators','arc','transformMutation','INVITE_CODE_HAS_BEEN_UES','SheetsSelectionsService','collabStatus.fetchMiss','PERMISSION_DENIED','max','SHEET_VIEWPORT_KEY','restore','onMouseMove','exports','blue.400','socket$','INVALID_ARGUMENT','length','setInterval','IURLService','UniverProCollaborationClient','_handleHeartbeatEvent','_docTransformStateCacheService','clearInterval','origin','IUniverInstanceService','sheetID','UniverCore','range','body','getMemberID','_registerDependencies','SetFormulaCalculationNotificationMutation','LICENSE_EXPORT_SIZE_EXCEEDED','_initCommandInterceptor','_eventUnsubscribe','tag','EffectRefRangId','onCommandExecuted','handleDeleteRangeMoveUp','[CollaborationDataLoaderController]','YUUMI_ASYNCIO_CANCELLED','yellow.400','@univerjs/docs','drawWith','_handleEvent','debounce','subscribeEvent','RegularPolygon','_name','DesktopCollaborationStatusDisplayController','runRefRangeMutations','UNIVER_DOC','delete','TEXT_RANGE_LAYER_INDEX','sessionStatus$','clipPath','_anchorDot','YUUMI_UNABLE_LOAD_URL','UNIVER_SHEET','pluginName','getFocusedUnit','handleInsertRangeMoveRight','SetTextSelectionsOperation','includes','APPLY_REJECT','executeCommand','RemoteUniscriptService','DataLoaderService','collabStatus.offline','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getActiveSheet','_localStorageService','@univerjs/rpc','fillRule','SYNCED','_getMergeRange','_transformHistoryAndStateStack','getUnitId','_cursorShapes','_monkeyPatchLogService','_revisionService','WebSocketService','text','removeParam','_registerRenderDependencies','_assignedColors','Workbook','1em','@univerjs/docs-ui','SetSelectionsOperation','_startSheetCollabCursor','show','ILocalStorageService','generateRandomId','REDEMPTION_CODE_NOT_STARTED','transformStateCache','ONLINE','createInstance','UniverCollaborationClientUIPlugin','fromEventSubject','catch','transformByState','UniverInstanceType','totalFormulasToCalculate','_docSkeletonManagerService','lineno','fill','_startDocCollabCursor','2519480tgKIFK','purple.300','ENTITLE_INSUFFICIENT_QUOTA','_handleJoinEvent','disposeWithMe','onTransformChange$','getSheetId','send','_getSaveTimeout','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','sheetId','href','CollaborationEvent','_lastPointer','VIEW_MAIN','parseInt','bind','IMessageService','startColumn','getCurrentRevOfUnit','INTERNAL_ERROR','set','findNodePositionByCharIndex','DocCollaborationEntity','EMAIL_VERIFY_CODE_MISMATCH','CollaborationUIEventId','functionsExecutedState','red.300','Rectangle','CHANGESET_REVISION_CONFILICT','url(#off-line-icon_clip0_910_343)','_collabCursorState$','formula.calculation.unable','NOT_FOUND','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','OTHER_CLIENT_EDITING','roomMembers$','collaboration-client.offline-data-not-saved','_initCommandExecutedListener','currentSkeleton$','disableLocalCache','beforeCommandExecuted','evenodd','pushState','current','Tooltip','DOC_RANGE_TYPE','DocStateChangeManagerService','post','onRendered','touchDependencies','TEXT','unitId','ThemeService','Warning','ENTITLE_REPORT_LIMIT_EXCEED','SheetSkeletonManagerService','getValue','rxjs/operators','clearTimeout','height','IBeforeCloseService','get','subunit','unload','with','split','getCollabCursors$','onPointerEnter$','forEach','UniverEngineFormula','/run/','RemoveColCommandId','CURRENT_STATUS_CANNOT_OPERATE','toString','black','Vector2','collab-rect-range-','registerDependencies','error','imageSourceType','_initUnhandledRejectionListener','SetDocZoomRatioOperation','UniverDrawing','_syncEditingCollabCursorService','registerRefRange','_applyCommand','selection','init','isEditing','isActive','redoState','AWAITING','getUnit','Unknown\x20user','runId','unhandledrejection','moveTo','NodePositionConvertToCursor','LICENSE_MAX_UNITS_EXCEEDED','_draw','REDEMPTION_USER_NOT_ELIGIBLE','_docStateChangeManagerService','save','_colorIndex','activeSheet$','Failed','addClipboardHook','_initStatusComponent','cursorInfo','xlink:href','DocIMEInputManagerService','_scheduleSaving','UniverIcon','isTransformMutationFailure','color','saveTaskMap','fillText','_unitStatus','Success','REDEMPTION_CODE_HAS_BEEN_CREATED','registerBeforeClose','CONNECTOR_DATA_TOO_LARGE','COLORS','column','CONFLICT','_saveCache','_context','registerComponent','now','UniverDesign','loadOfflineData','_roomMembers$','cursorInfo$','_textBubble','width','Tools','eventID','USER_IS_ANONYMOUS','InsertColCommandId','children','getConfig','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','UNDEFINED','Disposable','_selfUnitIDs','_lastResponseTimestamp','override','SNAPSHOT_HAS_BEEN_REMOVED','Subject','UniverRpc','REDEMPTION_INVALID_CODE','_initUserListener','INVITE_CODE_ALREADY_BOUND','filter','newValue','_setupBeforeClosingHandler','bottom','focused$','RemoveRowCommandId','measureText','key','_memberID','permission.content','requireSession','fromEvent','_drawAnchor','assignAColorForMemberID','_drawRectRange','collabStatus.synced','add','useRef','Rect','debug','handleDeleteRangeMoveLeft','_scheduleHeartbeat','UniverNetwork','univerjs-icon\x20univerjs-icon-','setTimeout','...','_configService','ILogService','jsx','resize','getSheetBySheetId','object','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','lineTo','replaceDocRanges','UPDATE_CURSOR','_heartbeatTimer','WECHAT_HAS_BEEN_BOUND','data','parse','react/jsx-runtime','PAYMENT_CHANNEL_NOT_SUPPORT','ENTITLE_CAN_NOT_BUY_LOWER_OTP','searchParams','ERROR_AGAIN','unitID','_scheduleClearOtherTimer','3368296iHSKqN','_updateURLWithCurrentState','dirtyRanges','_hideTimer','_session','getAncestorScale','endRow','OTHER_CLIENTS_EDITING','permission.title','throttleTime','_checkAndWaitForCalculationPermission','IDocClipboardService','_messageService','_shapes','dispose$','subscribe','getOwnPropertyDescriptor','substring','switchMap','_cursorInfo$','onPointerMove$','stringify','maxFormulaLimit','jsxs','shift','START_CALCULATION','CollaborationSessionService','_hasFormulaInDirtyRanges','EMAIL_HAS_BEEN_BOUND','removeEventListener','_maxFormulaLimit','_refreshCollabCursors','memberID','?taskId=','ITransformService','closePath','getMergeData','_getSheetObject','_onRefRangeChange','_collabSessionService','replaceState','getCoordByCell','all','saveImage','event$','_entityInit$','idSuffix','YUUMI_ALL_TABLES_IS_INVALID','_document','_logService','_localeService','_toggleOffline','_docClipboardService','5347988TpYpcx','createIdentifier','1083006LcbXrw','toRgbString','startRow','name','join','_drawTextRange','_status$','_localCacheService','YUUMI_SUBSCRIPTION_NOT_FOUND','_clearOtherTimers','m2Prime','makeDirty','getCellMatrix','getUniverSheetInstance','USER_NOT_INVITED_CODE','getCurrentUnitForType','InsertRangeMoveRightCommandId','_handleLeaveEvent','onPointerLeave$','getMember','2117436zAZCfr','off-line-icon','rgba(255,\x20255,\x20255,\x200.01)','collab-text-range-','0\x200\x2016\x2016','translate(.97)','white','none','_unitOnClients','clsx','RichTextEditingMutation','_initWindowErrorListener','DisposableCollection','_cursor','defIds','transformIMECache','CollaborationStatus','CanceledError','limitInfo','editingUnit','_taskIds','USERS_LEAVE','AWAITING_WITH_PENDING','@univerjs/engine-render','NOT_COLLAB','push','addObject','DATA_SOURCE_TOO_LARGE','getCurrent','SOCKET_FAILED_RETRY','unshift','_backgroundColor','contains','univer-mr-2\x20univer-flex\x20univer-text-xl','@univerjs/drawing','startFormulaLimitUrl','_instanceService','popstate','_collabCursorController','currentTheme$','defineProperty','_memberService','getActiveRange','_urlService','WebBrowserSingleActiveUnitService','UNAUTHENTICATED','InsertRowCommandId','handleIRemoveCol','Inject','BrowserCollaborationSocketService','releaseFormulaLimitUrl','LocaleService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_getAnchorBounding','mask','serializeRangeWithSheet','transformSelections','Optional','_setupSubUnitSync','transform','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_updateSubUnitFromURLParams','@univerjs-pro/collaboration','_initEntityListener','_hover','addHandlerCallback','getTypeOfUnitAdded$','_anchor','collabStatus.syncing','UniverEngineRender','ENTITLE_CHAT_LIMIT_EXCEED','_startCalculationLimit','REDEMPTION_CODE_INACTIVE','_color','asObservable','SNAPSHOT_INVALID_SNAPSHOT','Loading','_docSkeleton','has','deepClone','1397994RCFdaK','UNRECOGNIZED','_removeCollabCursors','collaboration.closeRoom','unit','_initDependencies','setAlpha','NO_OTHER_CLIENTS_EDITING','getVpScrollXYInfoByPosToVp','pipe','INotificationService','_initResize','ENTITLE_NEED_BILLING_ADDRESS','params','[LogService\x20Error]:\x20','mutations','_uploadLog','combineLatest','DocSelectionManagerService','getStateCache','MemberService','_handleHover','_univerInstanceService','reason','_refRangeService','_initStatusListener','_cursors','_docTransformIMECacheService','defs','hide','DocSkeletonManagerService','setParam','BehaviorSubject','status$','next','_init','YUUMI_RATE_OVER_LIMIT','getDocRanges','onStarting','beginPath','Module','disposeUnit','MessageType','getRangePointData','_imageIoService','_transformPreviousActiveRange','debounceTime','map','HTTPService','5CHEqvz','COMPLETION_FINISHED','[Unhandled\x20Rejection]:\x20','_dataLoaderService','path','isArray','filename','stage','ISnapshotServerService','_id','url(#$1','endColumn','_transformService','isTransformMutationsWithChangesetSuccess','jiqing.500','getformulaLimitStatusUrl','useCallback','IUIPartsService','storage','then','LOCAL_CACHE_INTERVAL','ticket','_cachedData','getUndoRedoMutationParamsCache','_currentUsage','div','ENSURE_SNAPSHOT_EXECUTION','string','takeUntil','WebURLService','CollaborationController','some','roomMembers','NodePositionConvertToRectRange','mergeOverrideWithDependencies','createSocket','collab-text-anchor-','_uiPartsService','APPLY_DUPLICATED','_scene','univer-flex\x20univer-items-center','INVALID_INVITE_CODE','FromArray','REDEMPTION_USER_REDEEM_TIMES_EXCEED','JOIN_ROOM_FAILED','RxDisposable','assign','/universer-api/license/formula/limit/done','YUUMI_CONNECTOR_URL_NOT_FOUND','setShapeProps','colorChannel1','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','0\x200\x2017\x2016','font','@univerjs-pro/collaboration-client','_setFormulaLimitStatus','_hovered','replace','_releaseCalculationLimit','collaboration.single-unit.warning','collab-client.tooltip.reconnect','LOCAL_CACHE_INTERVAL_KEY','top','_getScale','_collaborationSessionService','_disabled','_sheetSkeletonManagerService','flatMap','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','RevisionService','onLocalMutation','CLOSE_ROOM','LICENSE_DISTRO_REJECTED','_initEvent','PENDING','@univerjs/sheets','_notificationService','skeleton','_labelPosition','React','[RemoteUniscriptService]:\x20no\x20focused\x20unit','useDependency','complete','round','ILocalCacheService','setItem','_updateCollabCursors','attrs','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getSkeleton','_config','M0\x200H16V16H0z','getSheetObject','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','shareReplay','getCurrentSelections','SheetCollabCursorShape','UniverSheetsUi','_createSocketURL','currentColor','doc.mutation.rich-text-editing','/universer-api/license/formula/limit/start','LICENSE_IMPORT_SIZE_EXCEEDED','_commandService','_saveTaskMap','TRANSFORM_CHANGE_OBSERVABLE_TYPE','PY_RUNTIME_SCRIPT_ERROR'];_0x2534=function(){return _0x597335;};return _0x2534();}(function(_0x350420,_0x2f6620){const _0x34c0a4=_0xe84b,_0x31772e=_0x350420();while(!![]){try{const _0x97fb2f=-parseInt(_0x34c0a4(0x1a5))/0x1+-parseInt(_0x34c0a4(0x39a))/0x2+parseInt(_0x34c0a4(0x1b9))/0x3+-parseInt(_0x34c0a4(0x1a3))/0x4*(-parseInt(_0x34c0a4(0x23a))/0x5)+-parseInt(_0x34c0a4(0x209))/0x6+-parseInt(_0x34c0a4(0x315))/0x7*(parseInt(_0x34c0a4(0x16e))/0x8)+parseInt(_0x34c0a4(0x2de))/0x9;if(_0x97fb2f===_0x2f6620)break;else _0x31772e['push'](_0x31772e['shift']());}catch(_0x3e5f1b){_0x31772e['push'](_0x31772e['shift']());}}}(_0x2534,0xb164a),function(_0x4a261e,_0x16bd3c){const _0x1c91a9=_0xe84b;typeof exports==_0x1c91a9(0x15e)&&typeof module<'u'?_0x16bd3c(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x1c91a9(0x2b1)&&define['amd']?define([_0x1c91a9(0x33a),_0x1c91a9(0x167),_0x1c91a9(0x270),_0x1c91a9(0x2e4),'@univerjs/ui',_0x1c91a9(0x2da),'@univerjs/design',_0x1c91a9(0x2b5),_0x1c91a9(0x376),_0x1c91a9(0x285),_0x1c91a9(0x1d0),'@univerjs/network',_0x1c91a9(0x386),_0x1c91a9(0x1db),_0x1c91a9(0x1f7),_0x1c91a9(0x358),'@univerjs/engine-formula',_0x1c91a9(0xdf),'@univerjs/sheets-ui'],_0x16bd3c):(_0x4a261e=typeof globalThis<'u'?globalThis:_0x4a261e||self,_0x16bd3c(_0x4a261e[_0x1c91a9(0x2cd)]={},_0x4a261e[_0x1c91a9(0x289)],_0x4a261e[_0x1c91a9(0x341)],_0x4a261e[_0x1c91a9(0x348)],_0x4a261e[_0x1c91a9(0x2c9)],_0x4a261e[_0x1c91a9(0x2da)],_0x4a261e[_0x1c91a9(0x127)],_0x4a261e[_0x1c91a9(0x289)],_0x4a261e[_0x1c91a9(0x13b)],_0x4a261e['UniverSheets'],_0x4a261e[_0x1c91a9(0x1fe)],_0x4a261e[_0x1c91a9(0x155)],_0x4a261e['UniverDocsUi'],_0x4a261e[_0x1c91a9(0xf8)],_0x4a261e[_0x1c91a9(0x2e2)],_0x4a261e['UniverDocs'],_0x4a261e[_0x1c91a9(0xeb)],_0x4a261e[_0x1c91a9(0x2da)][_0x1c91a9(0x32f)],_0x4a261e[_0x1c91a9(0x29b)]));}(this,function(_0x978c78,_0x122d59,_0x250214,_0x1121b6,_0x1c0cb7,_0xf2ac11,_0x50d683,_0x1709bc,_0xd99031,_0x3f9144,_0x42a824,_0x24e2e1,_0x509b22,_0x19f064,_0x271c6b,_0x5ead8d,_0x564ab7,_0x12b9a5,_0x1ac3ed){'use strict';const _0x8e1915=_0xe84b;var _0x1e8d01=Object[_0x8e1915(0x1e1)],_0xdaf53e=(_0x25dd67,_0x26f1fe,_0x2a7dd6)=>_0x26f1fe in _0x25dd67?_0x1e8d01(_0x25dd67,_0x26f1fe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2a7dd6}):_0x25dd67[_0x26f1fe]=_0x2a7dd6,_0xdf3e66=(_0x1e2e56,_0x2dfafa,_0x597057)=>_0xdaf53e(_0x1e2e56,typeof _0x2dfafa!='symbol'?_0x2dfafa+'':_0x2dfafa,_0x597057);function _0x321dd3({ref:_0x89577a,..._0x4ebaed}){const _0x4404de=_0x8e1915,{icon:_0x488a30,id:_0x143f85,className:_0x43a7e2,extend:_0x52c9c7,..._0x1b2375}=_0x4ebaed,_0x11d13b=(_0x4404de(0x156)+_0x143f85+'\x20'+(_0x43a7e2||''))['trim'](),_0x5834cd=_0x1709bc[_0x4404de(0x150)]('_'+_0x119cc0());return _0x5b3d50(_0x488a30,''+_0x143f85,{'defIds':_0x488a30[_0x4404de(0x1c7)],'idSuffix':_0x5834cd[_0x4404de(0xd1)]},{'ref':_0x89577a,'className':_0x11d13b,..._0x1b2375},_0x52c9c7);}function _0x5b3d50(_0x22942e,_0x3434a8,_0x10148b,_0x2845d3,_0x20b4d1){const _0x5e6bb0=_0x8e1915;return _0x1709bc['createElement'](_0x22942e['tag'],{'key':_0x3434a8,..._0x4ba961(_0x22942e,_0x10148b,_0x20b4d1),..._0x2845d3},(_0x15e812(_0x22942e,_0x10148b)['children']||[])[_0x5e6bb0(0x238)]((_0xfb560d,_0x574ca5)=>_0x5b3d50(_0xfb560d,_0x3434a8+'-'+_0x22942e[_0x5e6bb0(0x351)]+'-'+_0x574ca5,_0x10148b,void 0x0,_0x20b4d1)));}function _0x4ba961(_0x446b44,_0x1ed53f,_0x3e2c43){const _0xb890cb=_0x8e1915,_0x248e61={..._0x446b44[_0xb890cb(0x291)]};_0x3e2c43!=null&&_0x3e2c43[_0xb890cb(0x26c)]&&_0x248e61[_0xb890cb(0x398)]===_0xb890cb(0x26c)&&(_0x248e61['fill']=_0x3e2c43['colorChannel1']),_0x446b44['tag']==='mask'&&_0x248e61['id']&&(_0x248e61['id']=_0x248e61['id']+_0x1ed53f['idSuffix']),Object['entries'](_0x248e61)['forEach'](([_0x10fabe,_0x4484ce])=>{const _0x3658c6=_0xb890cb;_0x10fabe===_0x3658c6(0x1ef)&&typeof _0x4484ce==_0x3658c6(0x255)&&(_0x248e61[_0x10fabe]=_0x4484ce[_0x3658c6(0x273)](/url\(#(.*)\)/,_0x3658c6(0x244)+_0x1ed53f[_0x3658c6(0x19c)]+')'));});const {defIds:_0x41c5c3}=_0x1ed53f;return!_0x41c5c3||_0x41c5c3['length']===0x0||(_0x446b44[_0xb890cb(0x351)]==='use'&&_0x248e61[_0xb890cb(0x113)]&&(_0x248e61[_0xb890cb(0x113)]=_0x248e61[_0xb890cb(0x113)]+_0x1ed53f[_0xb890cb(0x19c)]),Object[_0xb890cb(0x2a7)](_0x248e61)[_0xb890cb(0xea)](([_0x387dac,_0x590617])=>{const _0x4bcda2=_0xb890cb;typeof _0x590617==_0x4bcda2(0x255)&&(_0x248e61[_0x387dac]=_0x590617[_0x4bcda2(0x273)](/url\(#(.*)\)/,_0x4bcda2(0x244)+_0x1ed53f[_0x4bcda2(0x19c)]+')'));})),_0x248e61;}function _0x15e812(_0x538445,_0xa18553){const _0xfe2df5=_0x8e1915;var _0x14d9fc;const {defIds:_0xd5d08f}=_0xa18553;return!_0xd5d08f||_0xd5d08f['length']===0x0?_0x538445:_0x538445['tag']===_0xfe2df5(0x225)&&((_0x14d9fc=_0x538445[_0xfe2df5(0x131)])!=null&&_0x14d9fc[_0xfe2df5(0x33e)])?{..._0x538445,'children':_0x538445[_0xfe2df5(0x131)]['map'](_0x5e6842=>typeof _0x5e6842[_0xfe2df5(0x291)]['id']==_0xfe2df5(0x255)&&_0xd5d08f&&_0xd5d08f[_0xfe2df5(0x36d)](_0x5e6842['attrs']['id'])?{..._0x5e6842,'attrs':{..._0x5e6842[_0xfe2df5(0x291)],'id':_0x5e6842['attrs']['id']+_0xa18553['idSuffix']}}:_0x5e6842)}:_0x538445;}function _0x119cc0(){const _0x211389=_0x8e1915;return Math['random']()[_0x211389(0xef)](0x24)[_0x211389(0x17f)](0x2,0x8);}_0x321dd3[_0x8e1915(0x32c)]=_0x8e1915(0x116);const _0x55c19a={'tag':_0x8e1915(0x32e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x8e1915(0x1c0),'viewBox':_0x8e1915(0x1bd),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x8e1915(0xc3)},'children':[{'tag':_0x8e1915(0x23e),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x8e1915(0x28d),'strokeLinejoin':_0x8e1915(0x28d),'strokeWidth':1.2}}]},{'tag':_0x8e1915(0x225),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x8e1915(0x30b)},'children':[{'tag':_0x8e1915(0x23e),'attrs':{'fill':_0x8e1915(0x1bf),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x8e1915(0x30b)]},_0x2d3b43=_0x1709bc[_0x8e1915(0x308)](function(_0x38cb08,_0x12ddb6){const _0x36b696=_0x8e1915;return _0x1709bc[_0x36b696(0x2e7)](_0x321dd3,Object['assign']({},_0x38cb08,{'id':_0x36b696(0x1ba),'ref':_0x12ddb6,'icon':_0x55c19a}));});_0x2d3b43['displayName']=_0x8e1915(0x2d2);const _0xe5d0cc={'tag':_0x8e1915(0x32e),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x8e1915(0x1c0),'viewBox':_0x8e1915(0x26e),'width':'1em','height':_0x8e1915(0x385)},'children':[{'tag':'g','attrs':{'clipPath':_0x8e1915(0x310)},'children':[{'tag':_0x8e1915(0x23e),'attrs':{'stroke':_0x8e1915(0x29d),'d':_0x8e1915(0x133),'strokeLinecap':_0x8e1915(0x28d),'strokeLinejoin':_0x8e1915(0x28d),'strokeWidth':1.2}}]},{'tag':_0x8e1915(0x225),'attrs':{},'children':[{'tag':_0x8e1915(0x365),'attrs':{'id':_0x8e1915(0x316)},'children':[{'tag':_0x8e1915(0x23e),'attrs':{'fill':'white','d':_0x8e1915(0x295),'transform':_0x8e1915(0x1be)}}]}]}],'defIds':[_0x8e1915(0x316)]},_0x4db5b7=_0x1709bc['forwardRef'](function(_0xfc1050,_0x4b085f){const _0xf517a8=_0x8e1915;return _0x1709bc[_0xf517a8(0x2e7)](_0x321dd3,Object[_0xf517a8(0x268)]({},_0xfc1050,{'id':'on-line-icon','ref':_0x4b085f,'icon':_0xe5d0cc}));});_0x4db5b7[_0x8e1915(0x32c)]='OnLineIcon';function _0x4eb002(_0xd003d2){const _0x58187a=_0x8e1915;switch(_0xd003d2){case _0x250214[_0x58187a(0x1c9)]['OFFLINE']:return _0x58187a(0x372);case _0x250214[_0x58187a(0x1c9)][_0x58187a(0x122)]:return'collabStatus.conflict';case _0x250214[_0x58187a(0x1c9)][_0x58187a(0x2be)]:return _0x58187a(0x334);case _0x250214['CollaborationStatus']['NOT_COLLAB']:return _0x58187a(0x2f7);case _0x250214['CollaborationStatus'][_0x58187a(0x101)]:case _0x250214[_0x58187a(0x1c9)][_0x58187a(0x1cf)]:return _0x58187a(0x1fd);case _0x250214[_0x58187a(0x1c9)][_0x58187a(0x378)]:case _0x250214[_0x58187a(0x1c9)][_0x58187a(0x284)]:return _0x58187a(0x14e);}}function _0x8da27a(_0x59a156){const _0x1b6ac0=_0x8e1915,{status$:_0x4a4c5f}=_0x59a156,_0x5bda81=_0x1c0cb7['useObservable'](_0x4a4c5f,_0x250214[_0x1b6ac0(0x1c9)][_0x1b6ac0(0x1d1)]),_0x164ef9=_0x1c0cb7[_0x1b6ac0(0x28b)](_0x1121b6['LocaleService']),_0x537ab5=_0x1c0cb7[_0x1b6ac0(0x28b)](_0x250214[_0x1b6ac0(0x188)]),_0x485774=_0x5bda81!==_0x250214[_0x1b6ac0(0x1c9)]['OFFLINE'],_0x3f169d=_0x164ef9['t'](_0x4eb002(_0x5bda81)),_0x2a5c9d=_0x485774?_0x122d59[_0x1b6ac0(0x15b)](_0x4db5b7,{}):_0x122d59[_0x1b6ac0(0x15b)](_0x2d3b43,{}),_0x3b1836=_0x1709bc[_0x1b6ac0(0x24a)](()=>{_0x485774||_0x537ab5['reconnect']();},[_0x485774,_0x537ab5]);function _0x49a1c9(){const _0x6c014b=_0x1b6ac0;return _0x122d59[_0x6c014b(0x185)]('div',{'className':_0x6c014b(0x262),'onClick':_0x3b1836,'children':[_0x122d59[_0x6c014b(0x15b)](_0x6c014b(0x253),{'className':_0x50d683[_0x6c014b(0x1c2)](_0x6c014b(0x1da),{'univer-text-green-500':_0x485774,'univer-text-red-500':!_0x485774}),'children':_0x2a5c9d}),_0x122d59[_0x6c014b(0x15b)]('div',{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3f169d})]});}return _0x485774?_0x49a1c9():_0x122d59[_0x1b6ac0(0x15b)](_0x50d683[_0x1b6ac0(0xd2)],{'title':_0x164ef9['t'](_0x1b6ac0(0x276)),'children':_0x49a1c9()});}var _0x3c85ad=Object['getOwnPropertyDescriptor'],_0x50dfd8=(_0x38fd1e,_0x597af7,_0x4afd66,_0x525598)=>{const _0x7a04df=_0x8e1915;for(var _0x21a2bc=_0x525598>0x1?void 0x0:_0x525598?_0x3c85ad(_0x597af7,_0x4afd66):_0x597af7,_0x5d639e=_0x38fd1e[_0x7a04df(0x33e)]-0x1,_0x1fbf9f;_0x5d639e>=0x0;_0x5d639e--)(_0x1fbf9f=_0x38fd1e[_0x5d639e])&&(_0x21a2bc=_0x1fbf9f(_0x21a2bc)||_0x21a2bc);return _0x21a2bc;},_0xde6c44=(_0x228d24,_0x10d34a)=>(_0x2e9a95,_0x194830)=>_0x10d34a(_0x2e9a95,_0x194830,_0x228d24);_0x978c78['DesktopCollaborationStatusDisplayController']=class extends _0x1121b6['Disposable']{constructor(_0x19fcae,_0x43bc76,_0x1ac664,_0x5d99d2){const _0xd2e1a1=_0x8e1915;super(),_0xdf3e66(this,_0xd2e1a1(0x1ab),new _0xf2ac11[(_0xd2e1a1(0x229))](_0x250214[_0xd2e1a1(0x1c9)][_0xd2e1a1(0x1d1)])),(this[_0xd2e1a1(0x21f)]=_0x19fcae,this[_0xd2e1a1(0x30f)]=_0x43bc76,this['_collaborationController']=_0x1ac664,this[_0xd2e1a1(0x25f)]=_0x5d99d2,this['_initStatusComponent'](),this[_0xd2e1a1(0x222)]());}[_0x8e1915(0x222)](){const _0x4e00cb=_0x8e1915;this[_0x4e00cb(0x39e)](this[_0x4e00cb(0x21f)][_0x4e00cb(0x143)][_0x4e00cb(0x212)](_0xf2ac11[_0x4e00cb(0x180)](()=>{const _0x27cead=_0x4e00cb,_0x150cc8=this['_univerInstanceService']['getFocusedUnit']();return _0x150cc8?this['_collaborationController']['getCollabEntity$'](_0x150cc8[_0x27cead(0x37b)]()):_0xf2ac11['of'](null);}),_0xf2ac11[_0x4e00cb(0x180)](_0x3f1565=>_0x3f1565?_0x3f1565[_0x4e00cb(0x22a)]:_0xf2ac11['of'](_0x250214['CollaborationStatus'][_0x4e00cb(0x1d1)])))[_0x4e00cb(0x17d)](_0x3b49a7=>{const _0x2f3040=_0x4e00cb;this[_0x2f3040(0x1ab)][_0x2f3040(0x22b)](_0x3b49a7);}));}[_0x8e1915(0x111)](){const _0x52040e=_0x8e1915;this['disposeWithMe'](this['_uiPartsService'][_0x52040e(0x125)](_0x1c0cb7[_0x52040e(0x2b8)]['HEADER_MENU'],()=>_0x1c0cb7['connectInjector'](_0x2d7eba({'status$':this[_0x52040e(0x1ab)][_0x52040e(0x203)]()}),this[_0x52040e(0x30f)])));}},_0x978c78[_0x8e1915(0x35f)]=_0x50dfd8([_0xde6c44(0x0,_0x1121b6[_0x8e1915(0x346)]),_0xde6c44(0x1,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0x2e3)])),_0xde6c44(0x2,_0x1121b6[_0x8e1915(0x1e9)](_0x250214['CollaborationController'])),_0xde6c44(0x3,_0x1c0cb7[_0x8e1915(0x24b)])],_0x978c78[_0x8e1915(0x35f)]);function _0x2d7eba(_0x586af5){const {status$:_0x2ce7a0}=_0x586af5;return function(){const _0x6052ed=_0xe84b;return _0x122d59[_0x6052ed(0x15b)](_0x8da27a,{'status$':_0x2ce7a0});};}const _0x34bcdd=_0x1121b6[_0x8e1915(0x1a4)]('uni.network.url-service');var _0xcc8286=Object[_0x8e1915(0x17e)],_0x1c162b=(_0x64228b,_0x7b78c6,_0x208217,_0x4120d4)=>{const _0x199821=_0x8e1915;for(var _0xd7177e=_0x4120d4>0x1?void 0x0:_0x4120d4?_0xcc8286(_0x7b78c6,_0x208217):_0x7b78c6,_0xe372b4=_0x64228b[_0x199821(0x33e)]-0x1,_0x2caf73;_0xe372b4>=0x0;_0xe372b4--)(_0x2caf73=_0x64228b[_0xe372b4])&&(_0xd7177e=_0x2caf73(_0xd7177e)||_0xd7177e);return _0xd7177e;},_0x5082d4=(_0x3057de,_0x568733)=>(_0x38c9a8,_0xa61d40)=>_0x568733(_0x38c9a8,_0xa61d40,_0x3057de);_0x978c78[_0x8e1915(0x2d0)]=class extends _0x1121b6['RxDisposable']{constructor(_0x2f6ebe,_0x2efc51,_0x472a94,_0x5de81b,_0x11b363){const _0xe1d2f9=_0x8e1915;super(),this[_0xe1d2f9(0x1e4)]=_0x2f6ebe,this[_0xe1d2f9(0x19f)]=_0x2efc51,this[_0xe1d2f9(0x2a1)]=_0x472a94,this['_dataLoaderService']=_0x5de81b,_0x11b363?_0x11b363==null||_0x11b363['whenReady']()['then'](()=>this['_init']()):(this[_0xe1d2f9(0x19f)][_0xe1d2f9(0x152)](_0xe1d2f9(0x355),_0xe1d2f9(0xc7)),this['_init']());}async[_0x8e1915(0x22c)](){const _0x16b170=_0x8e1915,_0xc6b47f=this[_0x16b170(0x1e4)][_0x16b170(0x2f8)](_0x16b170(0x20d)),_0x29cb17=this[_0x16b170(0x1e4)][_0x16b170(0x2f8)](_0x16b170(0x2cf)),_0x4d4ad6=this[_0x16b170(0x1e4)][_0x16b170(0x2f8)]('subunit');if(!_0xc6b47f||!_0x29cb17){this[_0x16b170(0x19f)][_0x16b170(0x152)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x293894=await this[_0x16b170(0x23d)]['loadUnit'](_0xc6b47f,Number(_0x29cb17),_0x4d4ad6);_0x293894&&_0x293894 instanceof _0x1121b6[_0x16b170(0x384)]&&this[_0x16b170(0x1f3)](_0x293894);}async[_0x8e1915(0x1f3)](_0x4b9853){const _0x2063f1=_0x8e1915;await this[_0x2063f1(0x1f6)](_0x4b9853),_0x4b9853[_0x2063f1(0x10e)][_0x2063f1(0x212)](_0xf2ac11['takeUntil'](this[_0x2063f1(0x17c)]))[_0x2063f1(0x17d)](_0xeee115=>{const _0x46650c=_0x2063f1;_0xeee115&&this[_0x46650c(0x16f)](_0xeee115);}),this[_0x2063f1(0x1e4)][_0x2063f1(0x2cc)][_0x2063f1(0x212)](_0xf2ac11['takeUntil'](this[_0x2063f1(0x17c)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x4b9853));}['_updateURLWithCurrentState'](_0x1b0e35,_0x4cb681=!0x1){const _0x257ee5=_0x8e1915,_0x4b885d=this[_0x257ee5(0x1e4)][_0x257ee5(0x2f8)]('subunit');_0x1b0e35[_0x257ee5(0x3a0)]()!==_0x4b885d&&this['_urlService'][_0x257ee5(0x228)](_0x257ee5(0xe4),_0x1b0e35[_0x257ee5(0x3a0)](),_0x4cb681);}async['_updateSubUnitFromURLParams'](_0x153967){const _0x189565=_0x8e1915;var _0xdb5b2a;const _0x454126=this['_urlService'][_0x189565(0x2f8)](_0x189565(0xe4));if(!_0x454126||!_0x153967[_0x189565(0x15d)](_0x454126)){const _0x5cbe37=_0x153967['getUnhiddenWorksheets']()[0x0],_0x5bf6c5=_0x153967[_0x189565(0x15d)](_0x5cbe37);if(!_0x5bf6c5)return;this[_0x189565(0x16f)](_0x5bf6c5,!0x0),await this[_0x189565(0x2a1)][_0x189565(0x36f)](_0x3f9144[_0x189565(0x30a)]['id'],{'unitId':_0x153967['getUnitId'](),'subUnitId':_0x5cbe37});return;}((_0xdb5b2a=_0x153967[_0x189565(0x374)]())==null?void 0x0:_0xdb5b2a[_0x189565(0x3a0)]())!==_0x454126&&await this[_0x189565(0x2a1)]['executeCommand'](_0x3f9144['SetWorksheetActivateCommand']['id'],{'unitId':_0x153967[_0x189565(0x37b)](),'subUnitId':_0x454126});}},_0x978c78[_0x8e1915(0x2d0)]=_0x1c162b([_0x5082d4(0x0,_0x34bcdd),_0x5082d4(0x1,_0x1121b6[_0x8e1915(0x15a)]),_0x5082d4(0x2,_0x1121b6[_0x8e1915(0x312)]),_0x5082d4(0x3,_0x1121b6['Inject'](_0x250214[_0x8e1915(0x371)])),_0x5082d4(0x4,_0x1121b6[_0x8e1915(0x1f2)](_0xd99031[_0x8e1915(0x2d4)]))],_0x978c78['CollaborationDataLoaderController']);var _0x16e77d=Object[_0x8e1915(0x17e)],_0x18e748=(_0xffb8f4,_0x7335b0,_0x5384af,_0x35110b)=>{for(var _0x5d6a33=_0x35110b>0x1?void 0x0:_0x35110b?_0x16e77d(_0x7335b0,_0x5384af):_0x7335b0,_0x3fa463=_0xffb8f4['length']-0x1,_0x35c69a;_0x3fa463>=0x0;_0x3fa463--)(_0x35c69a=_0xffb8f4[_0x3fa463])&&(_0x5d6a33=_0x35c69a(_0x5d6a33)||_0x5d6a33);return _0x5d6a33;},_0x2d9a86=(_0x1f310c,_0x47c3b4)=>(_0x128923,_0x3267f3)=>_0x47c3b4(_0x128923,_0x3267f3,_0x1f310c);let _0x248341=class extends _0x1121b6[_0x8e1915(0x267)]{constructor(_0x39f114,_0xdccc47){const _0x495826=_0x8e1915;super(),this[_0x495826(0x1a2)]=_0x39f114,this[_0x495826(0x235)]=_0xdccc47,this['_init']();}[_0x8e1915(0x22c)](){const _0x42f25a=_0x8e1915,_0x3fcb29=this;this['disposeWithMe'](this[_0x42f25a(0x1a2)][_0x42f25a(0x110)]({'onBeforePasteImage':async _0x50ad2f=>{const _0x5ea33b=_0x42f25a,_0x5c1c0a=await _0x3fcb29[_0x5ea33b(0x235)][_0x5ea33b(0x199)](_0x50ad2f);return _0x5c1c0a?{'source':_0x5c1c0a['source'],'imageSourceType':_0x5c1c0a[_0x5ea33b(0xf5)]}:null;}}));}};_0x248341=_0x18e748([_0x2d9a86(0x0,_0x509b22[_0x8e1915(0x179)]),_0x2d9a86(0x1,_0x19f064['IImageIoService'])],_0x248341);const _0x3f2d60=[_0x8e1915(0x39b),_0x8e1915(0x248),'green.600',_0x8e1915(0xc0),_0x8e1915(0x33b),_0x8e1915(0x357)];class _0x3f7ec8 extends _0x1121b6[_0x8e1915(0x135)]{constructor(){const _0x51ff3e=_0x8e1915;super(...arguments),_0xdf3e66(this,'_assignedColors',new Map()),_0xdf3e66(this,_0x51ff3e(0x10d),0x0);}[_0x8e1915(0x14c)](_0x2f12e1){const _0x48fa32=_0x8e1915;if(this['_assignedColors'][_0x48fa32(0x207)](_0x2f12e1))return this[_0x48fa32(0x383)][_0x48fa32(0xe3)](_0x2f12e1);const _0x906736=_0x3f2d60[this[_0x48fa32(0x10d)]];return this[_0x48fa32(0x10d)]=(this[_0x48fa32(0x10d)]+0x1)%_0x3f2d60[_0x48fa32(0x33e)],this[_0x48fa32(0x383)][_0x48fa32(0x3af)](_0x2f12e1,_0x906736),_0x906736;}}function _0x587d11(_0x4471fb){const _0x42f653=_0x8e1915;let _0x5f44f5='';for(const _0x5615eb of _0x4471fb){const {startOffset:_0x5e7081,endOffset:_0x32c689,isActive:_0x1def21,rangeType:_0xf987da,segmentId:_0x37d3a4,segmentPage:_0x2c324b}=_0x5615eb;_0x5f44f5[_0x42f653(0x33e)]&&(_0x5f44f5+=','),_0x5f44f5+=_0x5e7081+':'+_0x32c689+':'+(_0x1def21?'1':'0')+':'+_0xf987da+':'+_0x37d3a4+':'+_0x2c324b;}return _0x5f44f5;}function _0x353533(_0x210929){const _0x26a5d0=_0x8e1915,_0x1614da=_0x210929[_0x26a5d0(0xe7)](','),_0x2f1ab3=[];for(const _0x235b81 of _0x1614da){const [_0x3fc779,_0x5e2f37,_0x2ed532,_0x19ba64,_0x5a91d8,_0x285039]=_0x235b81[_0x26a5d0(0xe7)](':');_0x2f1ab3[_0x26a5d0(0x1d2)]({'startOffset':Number(_0x3fc779),'endOffset':Number(_0x5e2f37),'collapsed':_0x3fc779===_0x5e2f37,'isActive':_0x2ed532==='1','rangeType':_0x19ba64===_0x1121b6[_0x26a5d0(0xd3)][_0x26a5d0(0xd8)]?_0x1121b6[_0x26a5d0(0xd3)]['TEXT']:_0x1121b6[_0x26a5d0(0xd3)][_0x26a5d0(0x2a5)],'segmentId':typeof _0x5a91d8==_0x26a5d0(0x255)?String(_0x5a91d8):'','segmentPage':Number(_0x285039!=null?_0x285039:-0x1)});}return _0x2f1ab3[_0x26a5d0(0x259)](_0xdc5e44=>_0xdc5e44[_0x26a5d0(0xff)])||(_0x2f1ab3[0x0][_0x26a5d0(0xff)]=!0x0),_0x2f1ab3;}class _0x343dd9 extends _0x1121b6[_0x8e1915(0x267)]{constructor(){const _0x35affe=_0x8e1915;super(...arguments),_0xdf3e66(this,_0x35affe(0xc4),new _0xf2ac11[(_0x35affe(0x229))](null)),_0xdf3e66(this,_0x35affe(0x2c4),this[_0x35affe(0xc4)]['asObservable']());}[_0x8e1915(0x2ac)](_0x549c98){const _0x584531=_0x8e1915,{unitID:_0x12ec61,memberID:_0xbd5ad5,textRanges:_0x586bc9}=_0x549c98,_0x77196d=_0x587d11(_0x586bc9);if(_0x77196d==='')return;const _0x400364={'unitID':_0x12ec61,'memberID':_0xbd5ad5,'selection':_0x77196d};this[_0x584531(0xc4)][_0x584531(0x22b)](_0x400364);}}var _0x5bc9af=Object[_0x8e1915(0x17e)],_0x52b34f=(_0x2b0842,_0x187dab,_0x21c90f,_0x3c44d1)=>{for(var _0x23e46d=_0x3c44d1>0x1?void 0x0:_0x3c44d1?_0x5bc9af(_0x187dab,_0x21c90f):_0x187dab,_0x293ef3=_0x2b0842['length']-0x1,_0x1b5735;_0x293ef3>=0x0;_0x293ef3--)(_0x1b5735=_0x2b0842[_0x293ef3])&&(_0x23e46d=_0x1b5735(_0x23e46d)||_0x23e46d);return _0x23e46d;},_0x11152a=(_0xa039d,_0x30d89f)=>(_0x4267a7,_0x17204d)=>_0x30d89f(_0x4267a7,_0x17204d,_0xa039d);const _0x2ae3b7=0x12c,_0x5ebdf2=0x64;let _0x1a6b98=class extends _0x1121b6['RxDisposable']{constructor(_0x56ba66,_0x258c04,_0x54305e,_0x1cc733,_0x1176a4,_0x386589,_0x3d39bc,_0x563930,_0x276b5f){const _0x52e595=_0x8e1915;super(),_0xdf3e66(this,'_online',!0x1),_0xdf3e66(this,_0x52e595(0x22c),!0x1),_0xdf3e66(this,_0x52e595(0x181),new _0xf2ac11[(_0x52e595(0x229))](new Map())),_0xdf3e66(this,_0x52e595(0x12a),this[_0x52e595(0x181)][_0x52e595(0x203)]()),_0xdf3e66(this,_0x52e595(0x129),new _0xf2ac11['BehaviorSubject']([])),_0xdf3e66(this,_0x52e595(0xc9),this[_0x52e595(0x129)][_0x52e595(0x212)](_0xf2ac11[_0x52e595(0x237)](_0x2ae3b7))),_0xdf3e66(this,_0x52e595(0x2ab),_0x1121b6['debounce'](_0x20bc77=>{const _0x1aacca=_0x52e595,_0x348773={'eventID':_0x271c6b[_0x1aacca(0x3a6)][_0x1aacca(0x162)],'data':{'unitID':this[_0x1aacca(0x16c)],'memberID':this[_0x1aacca(0x172)][_0x1aacca(0x34b)](),'selection':_0x587d11(_0x20bc77)}};this[_0x1aacca(0x172)][_0x1aacca(0x3a1)](_0x348773,this[_0x1aacca(0x16c)]);},_0x5ebdf2)),(this[_0x52e595(0x16c)]=_0x56ba66,this[_0x52e595(0x172)]=_0x258c04,this[_0x52e595(0x30f)]=_0x54305e,this[_0x52e595(0x2dd)]=_0x1cc733,this[_0x52e595(0x1e2)]=_0x1176a4,this[_0x52e595(0xf9)]=_0x386589,this['_transformService']=_0x3d39bc,this[_0x52e595(0x21f)]=_0x563930,this[_0x52e595(0x2a1)]=_0x276b5f);}get[_0x8e1915(0x112)](){const _0x37efce=_0x8e1915;return this[_0x37efce(0x181)][_0x37efce(0xde)]();}get[_0x8e1915(0x25a)](){const _0x5e9cd1=_0x8e1915;return this[_0x5e9cd1(0x129)][_0x5e9cd1(0xde)]();}[_0x8e1915(0x317)](){const _0x4051e1=_0x8e1915;super[_0x4051e1(0x317)](),this[_0x4051e1(0x181)]['next'](new Map()),this['_cursorInfo$']['complete'](),this['_roomMembers$'][_0x4051e1(0x22b)]([]),this[_0x4051e1(0x129)][_0x4051e1(0x28c)]();}[_0x8e1915(0xfd)](){const _0x4f5ca3=_0x8e1915;this[_0x4f5ca3(0x22c)]||(this[_0x4f5ca3(0x22c)]=!0x0,this[_0x4f5ca3(0x172)][_0x4f5ca3(0x364)][_0x4f5ca3(0x212)](_0xf2ac11[_0x4f5ca3(0x256)](this[_0x4f5ca3(0x17c)]))[_0x4f5ca3(0x17d)](_0x53ff20=>{const _0x3a9a88=_0x4f5ca3;_0x53ff20===_0x250214['SessionStatus'][_0x3a9a88(0x38e)]?this[_0x3a9a88(0x2bc)]():this[_0x3a9a88(0x1a1)]();}),this[_0x4f5ca3(0x172)][_0x4f5ca3(0x19a)][_0x4f5ca3(0x212)](_0xf2ac11['takeUntil'](this[_0x4f5ca3(0x17c)]))[_0x4f5ca3(0x17d)](_0x2d1202=>{const _0x5bb086=_0x4f5ca3,_0x1514c2=_0x2d1202[_0x5bb086(0x12e)];_0x1514c2===_0x271c6b['CollaborationEvent'][_0x5bb086(0x162)]&&this['_onCursorUpdate'](_0x2d1202),_0x1514c2===_0x271c6b[_0x5bb086(0x3a6)][_0x5bb086(0x1ce)]&&this[_0x5bb086(0x2f6)](_0x2d1202);}),this[_0x4f5ca3(0x39e)](this[_0x4f5ca3(0x2a1)][_0x4f5ca3(0x353)](_0x424de0=>{const _0x1fe4d2=_0x4f5ca3,_0x158061=_0x424de0[_0x1fe4d2(0x216)];_0x158061!=null&&this[_0x1fe4d2(0x2d7)]&&_0x424de0['id']===_0x5ead8d[_0x1fe4d2(0x36c)]['id']&&_0x158061[_0x1fe4d2(0xd9)]===this['unitID']&&_0x158061[_0x1fe4d2(0xfe)]===!0x1&&_0x158061[_0x1fe4d2(0x2df)][_0x1fe4d2(0x33e)]>0x0&&this[_0x1fe4d2(0x2ab)](_0x158061[_0x1fe4d2(0x2df)]);})),this[_0x4f5ca3(0xf9)][_0x4f5ca3(0x2c4)]['pipe'](_0xf2ac11[_0x4f5ca3(0x256)](this[_0x4f5ca3(0x17c)]))[_0x4f5ca3(0x17d)](_0x27d609=>{const _0x10e9de=_0x4f5ca3;if((_0x27d609==null?void 0x0:_0x27d609[_0x10e9de(0x16c)])!==this[_0x10e9de(0x16c)])return;const _0x3946db={'eventID':_0x271c6b['CollaborationEvent'][_0x10e9de(0x162)],'data':_0x27d609};this[_0x10e9de(0x2ce)](_0x3946db);}),this['disposeWithMe'](this[_0x4f5ca3(0x2a1)][_0x4f5ca3(0x353)](_0x25a066=>{const _0xc4915c=_0x4f5ca3;if(_0x25a066[_0xc4915c(0x216)]==null)return;const _0x40addd=_0x25a066['params'];if(_0x25a066['id']!==_0x5ead8d[_0xc4915c(0x1c3)]['id']||_0x40addd[_0xc4915c(0xd9)]!==this[_0xc4915c(0x16c)])return;const _0x268fbe={'id':_0xc4915c(0x29e),'params':_0x40addd},_0xb9ed5=this[_0xc4915c(0x112)];for(const [_0x9a85a4,_0x435602]of _0xb9ed5){const _0x17581d={'id':_0xc4915c(0x29e),'params':{'unitId':this[_0xc4915c(0x16c)],'actions':null,'textRanges':_0x435602[_0xc4915c(0x2df)]}},_0x393d61=this[_0xc4915c(0x246)][_0xc4915c(0x331)](_0x268fbe,_0x17581d,!0x1);if(_0x271c6b[_0xc4915c(0x117)](_0x393d61))throw _0x393d61[_0xc4915c(0xf4)];_0xb9ed5[_0xc4915c(0x3af)](_0x9a85a4,{..._0x435602,'ranges':_0x393d61['m2Prime'][_0xc4915c(0x216)][_0xc4915c(0x2b0)]});}queueMicrotask(()=>{this['_cursorInfo$']['next'](_0xb9ed5);});})));}[_0x8e1915(0x2ce)](_0x27179c){const _0x4a7890=_0x8e1915;var _0x327959,_0x599b60;const {memberID:_0x2a25bf,selection:_0x1a57b0}=_0x27179c[_0x4a7890(0x165)],_0x81165c=_0x353533(_0x1a57b0),_0x199cb8=(_0x599b60=(_0x327959=this[_0x4a7890(0x1e2)][_0x4a7890(0x1b8)](this[_0x4a7890(0x16c)],_0x2a25bf))==null?void 0x0:_0x327959[_0x4a7890(0x1a8)])!=null?_0x599b60:_0x4a7890(0x103),_0x2cfd4a={'color':this[_0x4a7890(0x2dd)]['assignAColorForMemberID'](_0x2a25bf),'name':_0x199cb8,'ranges':_0x81165c},_0x1f9c12=this[_0x4a7890(0x112)];_0x1f9c12['set'](_0x2a25bf,_0x2cfd4a),this[_0x4a7890(0x181)]['next'](_0x1f9c12);}[_0x8e1915(0x2f6)](_0x58ca09){const _0x48b097=_0x8e1915,{memberID:_0x17fab2}=_0x58ca09[_0x48b097(0x165)],_0x4467d4=this[_0x48b097(0x112)];_0x4467d4['delete'](_0x17fab2),this[_0x48b097(0x181)]['next'](_0x4467d4);}['_toggleOnline'](){const _0x1cb224=_0x8e1915;var _0x199b0f;if(this['_online']=!0x0,((_0x199b0f=this[_0x1cb224(0x21f)]['getFocusedUnit']())==null?void 0x0:_0x199b0f['getUnitId']())!==this[_0x1cb224(0x16c)])return;const _0x427b9d=this[_0x1cb224(0x30f)][_0x1cb224(0xe3)](_0x5ead8d['DocSelectionManagerService'])[_0x1cb224(0x22e)]();Array[_0x1cb224(0x23f)](_0x427b9d)&&_0x427b9d[_0x1cb224(0x33e)]>0x0&&this[_0x1cb224(0x2ab)](_0x427b9d);}[_0x8e1915(0x1a1)](){const _0x2e36af=_0x8e1915;this[_0x2e36af(0x2d7)]=!0x1;}};_0x1a6b98=_0x52b34f([_0x11152a(0x2,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0x2e3)])),_0x11152a(0x3,_0x1121b6[_0x8e1915(0x1e9)](_0x3f7ec8)),_0x11152a(0x4,_0x1121b6[_0x8e1915(0x1e9)](_0x250214[_0x8e1915(0x21d)])),_0x11152a(0x5,_0x1121b6['Inject'](_0x343dd9)),_0x11152a(0x6,_0x271c6b['ITransformService']),_0x11152a(0x7,_0x1121b6['IUniverInstanceService']),_0x11152a(0x8,_0x1121b6[_0x8e1915(0x312)])],_0x1a6b98);var _0x266dcb=Object[_0x8e1915(0x17e)],_0x5b4a19=(_0x302208,_0x303d26,_0x40cf78,_0x5547a6)=>{const _0xea35b3=_0x8e1915;for(var _0x2d79d6=_0x5547a6>0x1?void 0x0:_0x5547a6?_0x266dcb(_0x303d26,_0x40cf78):_0x303d26,_0x2e00af=_0x302208[_0xea35b3(0x33e)]-0x1,_0x125e9c;_0x2e00af>=0x0;_0x2e00af--)(_0x125e9c=_0x302208[_0x2e00af])&&(_0x2d79d6=_0x125e9c(_0x2d79d6)||_0x2d79d6);return _0x2d79d6;},_0x96957a=(_0x1fbdeb,_0x1cc00a)=>(_0x1876d7,_0x11abcb)=>_0x1cc00a(_0x1876d7,_0x11abcb,_0x1fbdeb);const _0x2ce67b=0x12c,_0x11f59a=0x64,_0x407acb=()=>{let _0x34a87c=[],_0x2e303b=!0x1;return _0xf460f8=>{_0x34a87c['push'](_0xf460f8),_0x2e303b||(_0x2e303b=!0x0,setTimeout(()=>{const _0x199103=_0xe84b;_0x34a87c[_0x199103(0xea)](_0x1cdb72=>_0x1cdb72()),_0x34a87c=[],_0x2e303b=!0x1;}));};};let _0x2a45b9=class extends _0x1121b6[_0x8e1915(0x267)]{constructor(_0x4d5973,_0x16b3be,_0x57d897,_0x3420fe,_0x2a0722,_0x17769f,_0x59e2eb,_0x808d66){const _0x6aaf87=_0x8e1915;super(),_0xdf3e66(this,_0x6aaf87(0x2d7),!0x1),_0xdf3e66(this,'_init',!0x1),_0xdf3e66(this,_0x6aaf87(0x181),new _0xf2ac11[(_0x6aaf87(0x229))](new Map())),_0xdf3e66(this,'cursorInfo$',this[_0x6aaf87(0x181)][_0x6aaf87(0x203)]()),_0xdf3e66(this,'_roomMembers$',new _0xf2ac11[(_0x6aaf87(0x229))]([])),_0xdf3e66(this,'roomMembers$',this[_0x6aaf87(0x129)][_0x6aaf87(0x212)](_0xf2ac11[_0x6aaf87(0x237)](_0x2ce67b))),_0xdf3e66(this,_0x6aaf87(0x2ab),_0x1121b6[_0x6aaf87(0x35b)]((_0x442bb3,_0x5a48dd)=>{const _0x5becba=_0x6aaf87,_0x585a74={'eventID':_0x271c6b[_0x5becba(0x3a6)][_0x5becba(0x162)],'data':{'unitID':this[_0x5becba(0x16c)],'memberID':this['_session'][_0x5becba(0x34b)](),'selection':_0x564ab7[_0x5becba(0x1f0)](_0x442bb3,_0x5a48dd['range'])}};this['_session'][_0x5becba(0x3a1)](_0x585a74,this[_0x5becba(0x16c)]);},_0x11f59a)),(this[_0x6aaf87(0x16c)]=_0x4d5973,this[_0x6aaf87(0x172)]=_0x16b3be,this[_0x6aaf87(0x30f)]=_0x57d897,this[_0x6aaf87(0x2dd)]=_0x3420fe,this[_0x6aaf87(0x1e2)]=_0x2a0722,this['_univerInstanceService']=_0x17769f,this[_0x6aaf87(0x2a1)]=_0x59e2eb,this[_0x6aaf87(0x221)]=_0x808d66);}get[_0x8e1915(0x112)](){const _0x526fe0=_0x8e1915;return this[_0x526fe0(0x181)][_0x526fe0(0xde)]();}get[_0x8e1915(0x25a)](){const _0x1426d3=_0x8e1915;return this[_0x1426d3(0x129)][_0x1426d3(0xde)]();}['dispose'](){const _0x4a987e=_0x8e1915;super['dispose'](),this[_0x4a987e(0x181)][_0x4a987e(0x22b)](new Map()),this[_0x4a987e(0x181)][_0x4a987e(0x28c)](),this[_0x4a987e(0x129)][_0x4a987e(0x22b)]([]),this[_0x4a987e(0x129)][_0x4a987e(0x28c)]();}[_0x8e1915(0xfd)](){const _0x541b11=_0x8e1915;this[_0x541b11(0x22c)]||(this[_0x541b11(0x22c)]=!0x0,this[_0x541b11(0x172)]['sessionStatus$'][_0x541b11(0x212)](_0xf2ac11['takeUntil'](this[_0x541b11(0x17c)]))[_0x541b11(0x17d)](_0x3ef387=>{const _0x4f1325=_0x541b11;_0x3ef387===_0x250214[_0x4f1325(0x302)][_0x4f1325(0x38e)]?this[_0x4f1325(0x2bc)]():this[_0x4f1325(0x1a1)]();}),this[_0x541b11(0x172)][_0x541b11(0x19a)][_0x541b11(0x212)](_0xf2ac11[_0x541b11(0x256)](this[_0x541b11(0x17c)]))['subscribe'](_0x3baa24=>{const _0x5ea12c=_0x541b11,_0x1f46ca=_0x3baa24[_0x5ea12c(0x12e)];_0x1f46ca===_0x271c6b[_0x5ea12c(0x3a6)][_0x5ea12c(0x162)]&&this[_0x5ea12c(0x2ce)](_0x3baa24),_0x1f46ca===_0x271c6b[_0x5ea12c(0x3a6)][_0x5ea12c(0x1ce)]&&this[_0x5ea12c(0x2f6)](_0x3baa24);}),this[_0x541b11(0x194)](),this[_0x541b11(0x39e)](this[_0x541b11(0x2a1)][_0x541b11(0x353)](_0x11910b=>{const _0x303e4d=_0x541b11;if(this[_0x303e4d(0x2d7)]&&_0x11910b['id']===_0x3f9144[_0x303e4d(0x387)]['id']&&_0x11910b[_0x303e4d(0x216)][_0x303e4d(0xd9)]===this[_0x303e4d(0x16c)]){const _0x13cab9=_0x11910b[_0x303e4d(0x216)];this['_updateLocalCursor'](_0x13cab9['subUnitId'],_0x13cab9['selections'][0x0]);}})));}['_onCursorUpdate'](_0x45950a){const _0x4f4a70=_0x8e1915;var _0x29936,_0x31c843;const {memberID:_0xc8db8c,selection:_0x5c5114}=_0x45950a[_0x4f4a70(0x165)],{sheetName:_0x4a0340,range:_0x12e451}=_0x564ab7['deserializeRangeWithSheet'](_0x5c5114),_0x333e28={'name':(_0x31c843=(_0x29936=this[_0x4f4a70(0x1e2)][_0x4f4a70(0x1b8)](this['unitID'],_0xc8db8c))==null?void 0x0:_0x29936[_0x4f4a70(0x1a8)])!=null?_0x31c843:_0x4f4a70(0x103),'range':this[_0x4f4a70(0x379)](_0x4a0340,_0x12e451),'sheetID':_0x4a0340,'color':this[_0x4f4a70(0x2dd)][_0x4f4a70(0x14c)](_0xc8db8c),'selection':_0x5c5114},_0x28f17b=this[_0x4f4a70(0x112)];_0x28f17b[_0x4f4a70(0x3af)](_0xc8db8c,_0x333e28),this[_0x4f4a70(0x181)][_0x4f4a70(0x22b)](_0x28f17b);}[_0x8e1915(0x2f6)](_0x378258){const _0x19bdac=_0x8e1915,{memberID:_0x2b78e4}=_0x378258['data'],_0xfe1aa5=this[_0x19bdac(0x112)];_0xfe1aa5[_0x19bdac(0x362)](_0x2b78e4),this[_0x19bdac(0x181)][_0x19bdac(0x22b)](_0xfe1aa5);}['_getMergeRange'](_0x4a0052,_0x1d12c0){const _0x2de011=_0x8e1915;var _0xc51af4,_0x269aa6;const _0x57c64e=(_0x269aa6=(_0xc51af4=this['_univerInstanceService'][_0x2de011(0x1b2)](this[_0x2de011(0x16c)]))==null?void 0x0:_0xc51af4[_0x2de011(0x15d)](_0x4a0052))==null?void 0x0:_0x269aa6[_0x2de011(0x192)]();return(_0x57c64e==null?void 0x0:_0x57c64e['find'](_0x2436a3=>_0x1121b6[_0x2de011(0xc1)][_0x2de011(0x1d9)](_0x2436a3,_0x1d12c0)))||_0x1d12c0;}[_0x8e1915(0x194)](){const _0x43f257=_0x8e1915,_0x4073a4=new _0x1121b6[(_0x43f257(0x1c5))](),_0x5aceba=_0x407acb(),_0x55bac1=()=>{const _0x12b094=_0x43f257;_0x4073a4['dispose']();const _0x4e69f1=(_0x5affce,_0x393ff8,_0x4f704b,_0x18923b)=>{const _0x4efc82=_0xe84b;let _0x487967=[];switch(_0x5affce['id']){case _0x3f9144[_0x4efc82(0x352)]['DeleteRangeMoveLeftCommandId']:{_0x487967=_0x3f9144[_0x4efc82(0x153)](_0x5affce,_0x18923b);break;}case _0x3f9144[_0x4efc82(0x352)][_0x4efc82(0x322)]:{_0x487967=_0x3f9144[_0x4efc82(0x354)](_0x5affce,_0x18923b);break;}case _0x3f9144[_0x4efc82(0x352)][_0x4efc82(0x130)]:{_0x487967=_0x3f9144['handleInsertCol'](_0x5affce,_0x18923b);break;}case _0x3f9144[_0x4efc82(0x352)]['InsertRangeMoveDownCommandId']:{_0x487967=_0x3f9144['handleInsertRangeMoveDown'](_0x5affce,_0x18923b);break;}case _0x3f9144['EffectRefRangId'][_0x4efc82(0x1b5)]:{_0x487967=_0x3f9144[_0x4efc82(0x36b)](_0x5affce,_0x18923b);break;}case _0x3f9144[_0x4efc82(0x352)][_0x4efc82(0x1e7)]:{_0x487967=_0x3f9144['handleInsertRow'](_0x5affce,_0x18923b);break;}case _0x3f9144[_0x4efc82(0x352)][_0x4efc82(0x321)]:{_0x487967=_0x3f9144['handleMoveRange'](_0x5affce,_0x18923b);break;}case _0x3f9144['EffectRefRangId'][_0x4efc82(0xed)]:{_0x487967=_0x3f9144[_0x4efc82(0x1e8)](_0x5affce,_0x18923b);break;}case _0x3f9144[_0x4efc82(0x352)][_0x4efc82(0x144)]:{_0x487967=_0x3f9144['handleIRemoveRow'](_0x5affce,_0x18923b);break;}}const _0x48b340=_0x3f9144[_0x4efc82(0x360)](_0x487967,_0x18923b),_0x2dc573=this['cursorInfo'][_0x4efc82(0xe3)](_0x393ff8);if(_0x2dc573&&_0x48b340){const _0x2d46c8={..._0x2dc573,'range':_0x48b340};this[_0x4efc82(0x112)][_0x4efc82(0x3af)](_0x393ff8,_0x2d46c8),_0x5aceba(()=>{const _0x3ab8a2=_0x4efc82,_0x4e78ef=this[_0x3ab8a2(0x221)][_0x3ab8a2(0xfa)](_0x48b340,_0x577b84=>(_0x4e78ef[_0x3ab8a2(0x317)](),_0x4e69f1(_0x577b84,_0x393ff8,_0x4f704b,_0x48b340)));_0x4073a4[_0x3ab8a2(0x14f)](_0x4e78ef);});}return{'redos':[],'undos':[]};};this[_0x12b094(0x112)]['forEach']((_0x296745,_0x2d9f7b)=>{const _0xdecdbd=_0x12b094,{range:_0x450cf6,sheetID:_0x414bef}=_0x296745,_0x569336=this[_0xdecdbd(0x221)]['registerRefRange'](_0x450cf6,_0x16edb0=>(_0x569336['dispose'](),_0x4e69f1(_0x16edb0,_0x2d9f7b,_0x414bef,_0x450cf6)));_0x4073a4['add'](_0x569336);});};this[_0x43f257(0x39e)](_0x1121b6[_0x43f257(0x2ae)](this[_0x43f257(0x181)][_0x43f257(0x17d)](()=>{_0x55bac1();})));}[_0x8e1915(0x2bc)](){const _0x51d708=_0x8e1915;var _0x5ded0e,_0x2e65b;if(this['_online']=!0x0,((_0x5ded0e=this[_0x51d708(0x21f)][_0x51d708(0x36a)]())==null?void 0x0:_0x5ded0e[_0x51d708(0x37b)]())!==this['unitID'])return;const _0x4f25bc=(_0x2e65b=this['_injector'][_0x51d708(0xe3)](_0x3f9144[_0x51d708(0x333)])[_0x51d708(0x299)]())==null?void 0x0:_0x2e65b[0x0],_0x1af08c=this[_0x51d708(0x21f)][_0x51d708(0x1b4)](_0x1121b6[_0x51d708(0x394)][_0x51d708(0x368)])['getActiveSheet']();_0x4f25bc&&_0x1af08c&&this['_updateLocalCursor'](_0x1af08c['getSheetId'](),_0x4f25bc);}[_0x8e1915(0x1a1)](){const _0x267b63=_0x8e1915;this[_0x267b63(0x2d7)]=!0x1;}};_0x2a45b9=_0x5b4a19([_0x96957a(0x2,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0x2e3)])),_0x96957a(0x3,_0x1121b6[_0x8e1915(0x1e9)](_0x3f7ec8)),_0x96957a(0x4,_0x1121b6['Inject'](_0x250214[_0x8e1915(0x21d)])),_0x96957a(0x5,_0x1121b6[_0x8e1915(0x346)]),_0x96957a(0x6,_0x1121b6[_0x8e1915(0x312)]),_0x96957a(0x7,_0x1121b6[_0x8e1915(0x1e9)](_0x3f9144['RefRangeService']))],_0x2a45b9);var _0x5bb8d4=Object[_0x8e1915(0x17e)],_0x1079b3=(_0x570d7c,_0x1e569a,_0x2a574e,_0x1f42ad)=>{for(var _0x3c4625=_0x1f42ad>0x1?void 0x0:_0x1f42ad?_0x5bb8d4(_0x1e569a,_0x2a574e):_0x1e569a,_0x4ae8f4=_0x570d7c['length']-0x1,_0x48e40e;_0x4ae8f4>=0x0;_0x4ae8f4--)(_0x48e40e=_0x570d7c[_0x4ae8f4])&&(_0x3c4625=_0x48e40e(_0x3c4625)||_0x3c4625);return _0x3c4625;},_0x245e35=(_0x375d94,_0x3c7faa)=>(_0x101bad,_0x1de5d6)=>_0x3c7faa(_0x101bad,_0x1de5d6,_0x375d94);let _0x2ddf05=class extends _0x1121b6[_0x8e1915(0x267)]{constructor(_0x5eaa41,_0x11a2c2,_0x3ef199){const _0x7104e1=_0x8e1915;super(),_0xdf3e66(this,'_entities',new Map()),_0xdf3e66(this,_0x7104e1(0x19b),new _0xf2ac11[(_0x7104e1(0x13a))]()),(this['_univerInstanceService']=_0x5eaa41,this[_0x7104e1(0x30f)]=_0x11a2c2,this[_0x7104e1(0x195)]=_0x3ef199,this[_0x7104e1(0x22c)]());}['dispose'](){const _0x17417d=_0x8e1915;super[_0x17417d(0x317)](),this[_0x17417d(0x19b)]['complete'](),this['_entities'][_0x17417d(0xea)](_0x19a321=>_0x19a321[_0x17417d(0x317)]());}[_0x8e1915(0xe8)](_0x227189){const _0x8d7a11=_0x8e1915;return this[_0x8d7a11(0x2ea)][_0x8d7a11(0x207)](_0x227189)?this[_0x8d7a11(0x2ea)][_0x8d7a11(0xe3)](_0x227189)[_0x8d7a11(0x12a)]:this[_0x8d7a11(0x19b)]['pipe'](_0xf2ac11['filter'](_0x5d7bce=>_0x5d7bce[_0x8d7a11(0x16c)]===_0x227189),_0xf2ac11[_0x8d7a11(0x180)](_0x1d2aa7=>_0x1d2aa7['cursorInfo$']));}[_0x8e1915(0x22c)](){const _0x5714ad=_0x8e1915;this[_0x5714ad(0x21f)][_0x5714ad(0x1fb)](_0x1121b6['UniverInstanceType']['UNIVER_SHEET'])[_0x5714ad(0x212)](_0xf2ac11['takeUntil'](this[_0x5714ad(0x17c)]))[_0x5714ad(0x17d)](async _0x1dbb21=>{const _0x1a38ca=_0x5714ad,_0xde4b00=_0x1dbb21[_0x1a38ca(0x37b)](),_0x501adc=await this[_0x1a38ca(0x388)](_0xde4b00);this[_0x1a38ca(0x19b)][_0x1a38ca(0x22b)](_0x501adc),this[_0x1a38ca(0x2ea)][_0x1a38ca(0x3af)](_0xde4b00,_0x501adc);}),this['_univerInstanceService'][_0x5714ad(0x1fb)](_0x1121b6[_0x5714ad(0x394)][_0x5714ad(0x361)])[_0x5714ad(0x212)](_0xf2ac11[_0x5714ad(0x256)](this[_0x5714ad(0x17c)]))[_0x5714ad(0x212)](_0xf2ac11[_0x5714ad(0x13f)](_0x3fc508=>!_0x3fc508[_0x5714ad(0x37b)]()['startsWith']('__')))[_0x5714ad(0x17d)](async _0xd45c2e=>{const _0x2760a2=_0x5714ad,_0x51eefb=_0xd45c2e['getUnitId'](),_0x44e55d=await this[_0x2760a2(0x399)](_0x51eefb);this[_0x2760a2(0x19b)][_0x2760a2(0x22b)](_0x44e55d),this[_0x2760a2(0x2ea)][_0x2760a2(0x3af)](_0x51eefb,_0x44e55d);}),_0xf2ac11['merge'](this[_0x5714ad(0x21f)][_0x5714ad(0x313)](_0x1121b6[_0x5714ad(0x394)][_0x5714ad(0x361)]),this[_0x5714ad(0x21f)][_0x5714ad(0x313)](_0x1121b6[_0x5714ad(0x394)][_0x5714ad(0x368)]))['pipe'](_0xf2ac11['takeUntil'](this[_0x5714ad(0x17c)]))[_0x5714ad(0x17d)](_0x9589e7=>{const _0x3028fe=_0x5714ad,_0x85ea07=_0x9589e7[_0x3028fe(0x37b)](),_0x5afb8c=this[_0x3028fe(0x2ea)]['get'](_0x85ea07);_0x5afb8c&&(_0x5afb8c['dispose'](),this[_0x3028fe(0x2ea)][_0x3028fe(0x362)](_0x85ea07));});}async['_startSheetCollabCursor'](_0x4fbf5b){const _0x45f6da=_0x8e1915,_0xf188e3=await this[_0x45f6da(0x195)][_0x45f6da(0x149)](_0x4fbf5b),_0x3f51d5=this['_injector'][_0x45f6da(0x38f)](_0x2a45b9,_0x4fbf5b,_0xf188e3);return _0x3f51d5[_0x45f6da(0xfd)](),_0x3f51d5;}async['_startDocCollabCursor'](_0x1f3b16){const _0x2ac657=_0x8e1915,_0x4e8be3=await this['_collabSessionService'][_0x2ac657(0x149)](_0x1f3b16),_0x20a4f5=this[_0x2ac657(0x30f)][_0x2ac657(0x38f)](_0x1a6b98,_0x1f3b16,_0x4e8be3);return _0x20a4f5[_0x2ac657(0xfd)](),_0x20a4f5;}};_0x2ddf05=_0x1079b3([_0x245e35(0x0,_0x1121b6[_0x8e1915(0x346)]),_0x245e35(0x1,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0x2e3)])),_0x245e35(0x2,_0x1121b6['Inject'](_0x250214[_0x8e1915(0x188)]))],_0x2ddf05);const _0x568256=0x14,_0xb8504=0xc8,_0x12ab12=0x4,_0x4c220c=0x5;function _0x230f99(_0x2624bf,_0xec414d){const _0x5ef5c5=_0x8e1915;let {radius:_0x120c1c,width:_0x2a7a06,height:_0x54283f}=_0xec414d;_0x120c1c=_0x120c1c!=null?_0x120c1c:0x0,_0x2a7a06=_0x2a7a06!=null?_0x2a7a06:0x1e,_0x54283f=_0x54283f!=null?_0x54283f:0x1e;let _0xf7db90=0x0,_0x2cfe1b=0x0,_0x2ba9af=0x0;_0xf7db90=_0x2cfe1b=_0x2ba9af=Math[_0x5ef5c5(0x2fb)](_0x120c1c,_0x2a7a06/0x2,_0x54283f/0x2),_0x2624bf[_0x5ef5c5(0x230)](),_0x2624bf[_0x5ef5c5(0x106)](_0xf7db90,0x0),_0x2624bf['lineTo'](_0x2a7a06-_0x2cfe1b,0x0),_0x2624bf[_0x5ef5c5(0x330)](_0x2a7a06-_0x2cfe1b,_0x2cfe1b,_0x2cfe1b,Math['PI']*0x3/0x2,0x0,!0x1),_0x2624bf[_0x5ef5c5(0x160)](_0x2a7a06,_0x54283f-_0x2ba9af),_0x2624bf[_0x5ef5c5(0x330)](_0x2a7a06-_0x2ba9af,_0x54283f-_0x2ba9af,_0x2ba9af,0x0,Math['PI']/0x2,!0x1),_0x2624bf[_0x5ef5c5(0x160)](0x0,_0x54283f),_0x2624bf[_0x5ef5c5(0x160)](0x0,_0xf7db90),_0x2624bf['arc'](_0xf7db90,_0xf7db90,_0xf7db90,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2624bf[_0x5ef5c5(0x191)](),_0xec414d[_0x5ef5c5(0x398)]&&(_0x2624bf[_0x5ef5c5(0x10c)](),_0x2624bf['fillStyle']=_0xec414d['fill'],_0xec414d[_0x5ef5c5(0x377)]==='evenodd'?_0x2624bf['fill'](_0x5ef5c5(0xcf)):_0x2624bf[_0x5ef5c5(0x398)](),_0x2624bf['restore']());}class _0x13de89 extends _0x42a824[_0x8e1915(0x32d)]{constructor(_0x2f5e94,_0x2a553b){const _0x116b05=_0x8e1915;super(_0x2f5e94,_0x2a553b),_0xdf3e66(this,'color'),_0xdf3e66(this,_0x116b05(0x380)),(this[_0x116b05(0x118)]=_0x2a553b==null?void 0x0:_0x2a553b[_0x116b05(0x118)],this['text']=_0x2a553b==null?void 0x0:_0x2a553b['text']);}static[_0x8e1915(0x359)](_0x52d2c2,_0x405d4a){const _0x425fb3=_0x8e1915,{text:_0xaaed60,color:_0x32321f}=_0x405d4a;_0x52d2c2[_0x425fb3(0x10c)](),_0x52d2c2[_0x425fb3(0x26f)]=_0x425fb3(0x373);const _0x318dc2=_0x52d2c2[_0x425fb3(0x145)](_0xaaed60)[_0x425fb3(0x12c)],_0x45f3d1=Math[_0x425fb3(0x2fb)](_0x318dc2+0x2*_0x12ab12,_0xb8504);_0x230f99(_0x52d2c2,{'height':_0x568256,'radius':0x4,'width':_0x45f3d1,'fill':_0x32321f}),_0x52d2c2['fillStyle']=_0x425fb3(0x2c5);const _0x15f710=_0x12ab12,_0x55acb6=_0x568256-_0x4c220c,_0x3b240b=_0xb8504-0x2*_0x12ab12;if(_0x318dc2>_0x3b240b){let _0x46d4cb='',_0x433a3e=0x0;for(const _0xe4178b of _0xaaed60){const _0x52313d=_0x52d2c2[_0x425fb3(0x145)](_0xe4178b)[_0x425fb3(0x12c)];if(_0x433a3e+_0x52313d<=_0x3b240b-_0x52d2c2[_0x425fb3(0x145)](_0x425fb3(0x158))[_0x425fb3(0x12c)])_0x46d4cb+=_0xe4178b,_0x433a3e+=_0x52313d;else{_0x46d4cb+='...';break;}}_0x52d2c2[_0x425fb3(0x11a)](_0x46d4cb,_0x15f710,_0x55acb6);}else _0x52d2c2[_0x425fb3(0x11a)](_0xaaed60,_0x15f710,_0x55acb6);_0x52d2c2[_0x425fb3(0x338)]();}[_0x8e1915(0x109)](_0x5ac698){_0x13de89['drawWith'](_0x5ac698,this);}}const _0xe3f24a=_0x8e1915(0x25e),_0x1e3948=_0x8e1915(0x1bc),_0x360a5c=_0x8e1915(0xf2),_0x5de191=0x6,_0x21df3e=1.5,_0x5f1024=0x4,_0x481442=1.5,_0x356823=_0x8e1915(0x1bb);class _0x202fbb{constructor(_0x5b1520,_0x469add,_0x3305eb,_0x2c7604){const _0x4f1dcd=_0x8e1915;_0xdf3e66(this,_0x4f1dcd(0x17b),[]),_0xdf3e66(this,_0x4f1dcd(0x1fc),null),_0xdf3e66(this,'_textBubble',null),_0xdf3e66(this,_0x4f1dcd(0x366),null),_0xdf3e66(this,_0x4f1dcd(0x171),null),_0xdf3e66(this,_0x4f1dcd(0x350),null),(this[_0x4f1dcd(0x1c6)]=_0x5b1520,this[_0x4f1dcd(0x261)]=_0x469add,this[_0x4f1dcd(0x206)]=_0x3305eb,this[_0x4f1dcd(0x19e)]=_0x2c7604,this[_0x4f1dcd(0x2a8)]());}set[_0x8e1915(0x1f9)](_0x4ae333){const _0x46ab9d=_0x8e1915;_0x4ae333?(this[_0x46ab9d(0x366)]&&this['_anchorDot'][_0x46ab9d(0x226)](),this[_0x46ab9d(0x12b)]&&this[_0x46ab9d(0x12b)][_0x46ab9d(0x389)]()):(this['_anchorDot']&&this[_0x46ab9d(0x366)][_0x46ab9d(0x389)](),this[_0x46ab9d(0x12b)]&&this[_0x46ab9d(0x12b)][_0x46ab9d(0x226)]());}['dispose'](){const _0x281435=_0x8e1915;for(const _0x150125 of this[_0x281435(0x17b)])_0x150125[_0x281435(0x317)]();this[_0x281435(0x12b)]&&this[_0x281435(0x12b)]['dispose'](),this[_0x281435(0x366)]&&this['_anchorDot'][_0x281435(0x317)](),this[_0x281435(0x1fc)]&&this[_0x281435(0x1fc)][_0x281435(0x317)](),this[_0x281435(0x350)]&&this[_0x281435(0x350)]();}['_render'](){const _0x50dbbf=_0x8e1915;var _0x2e1403;const {_docSkeleton:_0x516f0c,_document:_0x1b0632}=this,{color:_0x1fd782,name:_0x9b70c5,ranges:_0x99f2fd}=this['_cursor'],_0x455bd0=_0x1b0632[_0x50dbbf(0x2b6)](),{docsLeft:_0x1b3e1d,docsTop:_0x2ae540}=_0x455bd0,_0x2c5ee9=new _0x509b22[(_0x50dbbf(0x107))](_0x455bd0,_0x516f0c);for(const {startOffset:_0x4a7f11,endOffset:_0x28f8ab,rangeType:_0x51c52f,segmentId:_0x171bc8,segmentPage:_0x219f2c,collapsed:_0x17674a,isActive:_0x3e2f01}of _0x99f2fd){const _0x14162f=_0x516f0c[_0x50dbbf(0x3b0)](_0x4a7f11,!0x0,_0x171bc8,_0x219f2c);let _0x331406=_0x516f0c[_0x50dbbf(0x3b0)](_0x28f8ab,!0x0,_0x171bc8,_0x219f2c);if(_0x331406==null&&(_0x331406=_0x516f0c[_0x50dbbf(0x3b0)](_0x28f8ab-0x1,!0x1,_0x171bc8,_0x219f2c)),_0x3e2f01){const {contentBoxPointGroup:_0x5d9c10}=_0x2c5ee9[_0x50dbbf(0x234)](_0x331406,_0x331406);if(_0x5d9c10[_0x50dbbf(0x33e)]===0x0)continue;this[_0x50dbbf(0x14b)](_0x1fd782,_0x5d9c10,_0x1b3e1d,_0x2ae540,_0x9b70c5),this[_0x50dbbf(0x350)]=this['_handleHover']();}if(_0x14162f&&_0x331406){if(_0x51c52f===_0x1121b6[_0x50dbbf(0xd3)]['RECT']){const _0xc7ce59=new _0x509b22[(_0x50dbbf(0x25b))](_0x455bd0,_0x516f0c),{pointGroup:_0x3c1889}=(_0x2e1403=_0xc7ce59[_0x50dbbf(0x234)](_0x14162f,_0x331406))!=null?_0x2e1403:{};if(_0x3c1889==null||_0x3c1889[_0x50dbbf(0x33e)]===0x0)continue;this[_0x50dbbf(0x14d)](_0x1fd782,_0x3c1889,_0x1b3e1d,_0x2ae540);}else{if(!_0x17674a){const {borderBoxPointGroup:_0x40d357}=_0x2c5ee9[_0x50dbbf(0x234)](_0x14162f,_0x331406);if(_0x40d357[_0x50dbbf(0x33e)]===0x0)continue;this[_0x50dbbf(0x1aa)](_0x1fd782,_0x40d357,_0x1b3e1d,_0x2ae540);}}}}}[_0x8e1915(0x14b)](_0x3c8db9,_0x20a618,_0xe0d58f,_0x2de4fd,_0x2e39cb){const _0x568960=_0x8e1915,_0x53ebda=this[_0x568960(0x1ee)](_0x20a618),{left:_0x553092,top:_0x12309a,height:_0x2ae61a}=_0x53ebda,_0x342402=this[_0x568960(0x279)](),_0x1ebcc1=_0x481442/_0x342402,_0x51ad9c=new _0x42a824[(_0x568960(0x151))](_0xe3f24a+_0x1121b6[_0x568960(0x38b)](_0x5de191),{'left':_0x553092+_0xe0d58f-_0x1ebcc1,'top':_0x12309a+_0x2de4fd,'height':_0x2ae61a,'width':_0x21df3e,'fill':_0x3c8db9||_0x42a824[_0x568960(0x300)](_0x1121b6['COLORS']['black'],0x0),'strokeWidth':_0x1ebcc1,'stroke':_0x356823,'evented':!0x0});this['_anchor']=_0x51ad9c,this[_0x568960(0x261)]['addObject'](_0x51ad9c,_0x509b22[_0x568960(0x363)]);const _0x114d0a=new _0x42a824['Rect'](_0xe3f24a+_0x1121b6[_0x568960(0x38b)](_0x5de191),{'left':_0x553092+_0xe0d58f-_0x1ebcc1,'top':_0x12309a+_0x2de4fd-_0x5f1024/0x2,'height':_0x5f1024,'width':_0x5f1024,'fill':_0x3c8db9||_0x42a824[_0x568960(0x300)](_0x1121b6['COLORS'][_0x568960(0xf0)],0x0),'strokeWidth':0x0,'stroke':_0x3c8db9||_0x42a824['getColor'](_0x1121b6[_0x568960(0x120)]['black'],0x0),'evented':!0x1});this[_0x568960(0x366)]=_0x114d0a,this[_0x568960(0x261)][_0x568960(0x1d3)](_0x114d0a,_0x509b22[_0x568960(0x363)]);const _0x5a679a=new _0x13de89(_0xe3f24a+_0x1121b6['generateRandomId'](_0x5de191),{'left':_0x553092+_0xe0d58f-_0x1ebcc1,'top':_0x12309a+_0x2de4fd-_0x568256,'text':_0x2e39cb,'color':_0x3c8db9});this[_0x568960(0x12b)]=_0x5a679a,this[_0x568960(0x261)][_0x568960(0x1d3)](_0x5a679a,_0x509b22[_0x568960(0x363)]),this['_hover']=!0x1;}[_0x8e1915(0x21e)](){const _0x227d60=_0x8e1915,_0x297378=this['_anchor'][_0x227d60(0xe9)][_0x227d60(0x35c)](()=>{const _0xe61c0e=_0x227d60;this[_0xe61c0e(0x1f9)]=!0x0;}),_0xee2707=this[_0x227d60(0x1fc)][_0x227d60(0x1b7)][_0x227d60(0x35c)](()=>{const _0x46cea9=_0x227d60;this[_0x46cea9(0x171)]&&clearTimeout(this[_0x46cea9(0x171)]),this[_0x46cea9(0x171)]=setTimeout(()=>{const _0x383eca=_0x46cea9;this[_0x383eca(0x1f9)]=!0x1;},0x7d0);});return()=>{const _0x1df435=_0x227d60;_0x297378[_0x1df435(0x305)](),_0xee2707[_0x1df435(0x305)]();};}[_0x8e1915(0x1aa)](_0x393e19,_0x4cd698,_0x29e5c6,_0xedb8ad){const _0x5c8b40=_0x8e1915,_0x1689c2=new _0x1121b6['ColorKit'](_0x393e19)['setAlpha'](0.2)[_0x5c8b40(0x1a6)](),_0x4e4a6a=new _0x42a824[(_0x5c8b40(0x35d))](_0x1e3948+_0x1121b6[_0x5c8b40(0x38b)](_0x5de191),{'pointsGroup':_0x4cd698,'fill':_0x1689c2||_0x42a824[_0x5c8b40(0x300)](_0x1121b6[_0x5c8b40(0x120)][_0x5c8b40(0xf0)],0.2),'left':_0x29e5c6,'top':_0xedb8ad,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5c8b40(0x1d2)](_0x4e4a6a),this[_0x5c8b40(0x261)][_0x5c8b40(0x1d3)](_0x4e4a6a,_0x509b22[_0x5c8b40(0x363)]);}['_drawRectRange'](_0x37dcf7,_0x2b9d1d,_0x415fa4,_0x148838){const _0x42ceac=_0x8e1915,_0x464ce4=new _0x1121b6[(_0x42ceac(0x2fe))](_0x37dcf7)[_0x42ceac(0x20f)](0.2)['toRgbString'](),_0x4460fc=new _0x42a824[(_0x42ceac(0x35d))](_0x360a5c+_0x1121b6[_0x42ceac(0x38b)](_0x5de191),{'pointsGroup':_0x2b9d1d,'fill':_0x464ce4||_0x42a824[_0x42ceac(0x300)](_0x1121b6['COLORS'][_0x42ceac(0xf0)],0.2),'left':_0x415fa4,'top':_0x148838,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x42ceac(0x17b)][_0x42ceac(0x1d2)](_0x4460fc),this['_scene']['addObject'](_0x4460fc,_0x509b22['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x539174){const _0x56b23a=_0x539174[0x0],_0x53a591=_0x56b23a[0x0],_0x6515f3=_0x56b23a[0x2],{x:_0x1aab03,y:_0x1feaa1}=_0x53a591,{x:_0x18669b,y:_0x46e667}=_0x6515f3;return{'left':_0x1aab03,'top':_0x1feaa1,'width':_0x18669b-_0x1aab03,'height':_0x46e667-_0x1feaa1};}[_0x8e1915(0x279)](){const _0x19ab26=_0x8e1915,{scaleX:_0xbfb9d0,scaleY:_0xb9ce20}=this['_scene'][_0x19ab26(0x173)]();return Math[_0x19ab26(0x336)](_0xbfb9d0,_0xb9ce20);}}var _0x463a36=Object['getOwnPropertyDescriptor'],_0x49b3bf=(_0x25d987,_0x3023b4,_0x1134bd,_0x27fc3a)=>{const _0x18ebe7=_0x8e1915;for(var _0x2e26d1=_0x27fc3a>0x1?void 0x0:_0x27fc3a?_0x463a36(_0x3023b4,_0x1134bd):_0x3023b4,_0x4bffdc=_0x25d987[_0x18ebe7(0x33e)]-0x1,_0x460bd4;_0x4bffdc>=0x0;_0x4bffdc--)(_0x460bd4=_0x25d987[_0x4bffdc])&&(_0x2e26d1=_0x460bd4(_0x2e26d1)||_0x2e26d1);return _0x2e26d1;},_0x2a049b=(_0x39a21a,_0x503131)=>(_0x22e004,_0x5e58cd)=>_0x503131(_0x22e004,_0x5e58cd,_0x39a21a);let _0x3decd5=class extends _0x1121b6[_0x8e1915(0x267)]{constructor(_0x42fa79,_0x434380,_0x181747,_0x54c2eb,_0x310770){const _0x55fb13=_0x8e1915;super(),_0xdf3e66(this,_0x55fb13(0x37c),[]),_0xdf3e66(this,_0x55fb13(0x223),[]),(this[_0x55fb13(0x124)]=_0x42fa79,this[_0x55fb13(0x396)]=_0x434380,this['_collabCursorController']=_0x181747,this[_0x55fb13(0x2a1)]=_0x54c2eb,this[_0x55fb13(0x2cb)]=_0x310770,this['_init']());}[_0x8e1915(0x22c)](){const _0x3f7254=_0x8e1915,_0xac1b99=this['_context'][_0x3f7254(0xd9)],_0x550e03=this[_0x3f7254(0x396)];this[_0x3f7254(0x39e)](_0xf2ac11[_0x3f7254(0x21a)]([this['_collabCursorController'][_0x3f7254(0xe8)](_0xac1b99),this[_0x3f7254(0x2cb)][_0x3f7254(0x1e0)]])['pipe'](_0x12b9a5[_0x3f7254(0x238)](([_0x98e6d6,_0x37665f])=>({'skeleton':_0x550e03[_0x3f7254(0x293)](),'cursors':[..._0x98e6d6[_0x3f7254(0x311)]()][_0x3f7254(0x27d)](_0x1b82a1=>({..._0x1b82a1,'color':this[_0x3f7254(0x2cb)][_0x3f7254(0x31e)](_0x1b82a1[_0x3f7254(0x118)])}))})))['subscribe'](_0x4e63a3=>{const _0xcab2b2=_0x3f7254;if(this[_0xcab2b2(0x20b)](),_0x4e63a3){const {skeleton:_0xd86435,cursors:_0x282525}=_0x4e63a3;this['_updateCollabCursors'](_0xd86435,_0x282525);}})),this[_0x3f7254(0x214)](),this[_0x3f7254(0xcb)]();}[_0x8e1915(0x290)](_0x4ee9b1,_0x38eef0){const _0x136f74=_0x8e1915,{scene:_0x4608df,mainComponent:_0x40b5b0}=this[_0x136f74(0x124)],_0xb24f3f=_0x38eef0[_0x136f74(0x238)](_0x1e728f=>new _0x202fbb(_0x1e728f,_0x4608df,_0x4ee9b1,_0x40b5b0));this[_0x136f74(0x37c)]=_0xb24f3f,this[_0x136f74(0x223)]=_0x38eef0;}['_refreshCollabCursors'](){const _0x5e4cb7=_0x8e1915;this['_removeCollabCursors']();const {scene:_0x56ba44,mainComponent:_0x1698a7}=this[_0x5e4cb7(0x124)],_0x13b8ee=this[_0x5e4cb7(0x396)][_0x5e4cb7(0x293)](),_0xb3bc48=this['_cursors'][_0x5e4cb7(0x238)](_0x4b6a14=>new _0x202fbb(_0x4b6a14,_0x56ba44,_0x13b8ee,_0x1698a7));this[_0x5e4cb7(0x37c)]=_0xb3bc48;}[_0x8e1915(0x20b)](){const _0x10fee4=_0x8e1915;this[_0x10fee4(0x37c)][_0x10fee4(0xea)](_0x48a44e=>_0x48a44e[_0x10fee4(0x317)]()),this[_0x10fee4(0x37c)]=[];}[_0x8e1915(0xcb)](){const _0x294a90=_0x8e1915,_0x2f1b5a=[_0x509b22[_0x294a90(0xf7)]['id']];this['disposeWithMe'](this[_0x294a90(0x2a1)][_0x294a90(0x353)](_0x4c3312=>{const _0x2708c5=_0x294a90;_0x2f1b5a[_0x2708c5(0x36d)](_0x4c3312['id'])&&_0x4c3312['params'][_0x2708c5(0xd9)]===this[_0x2708c5(0x124)][_0x2708c5(0xd9)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x4831ae=_0x8e1915;this[_0x4831ae(0x39e)](_0x1121b6[_0x4831ae(0x391)](this[_0x4831ae(0x124)]['engine'][_0x4831ae(0x39f)])[_0x4831ae(0x212)](_0x12b9a5[_0x4831ae(0x13f)](_0x9d3c01=>_0x9d3c01['type']===_0x42a824[_0x4831ae(0x2a3)][_0x4831ae(0x15c)]),_0x12b9a5[_0x4831ae(0x177)](0x10))[_0x4831ae(0x17d)](()=>{const _0x3f4cc7=_0x4831ae;this[_0x3f4cc7(0x18d)]();}));}};_0x3decd5=_0x49b3bf([_0x2a049b(0x1,_0x1121b6[_0x8e1915(0x1e9)](_0x5ead8d[_0x8e1915(0x227)])),_0x2a049b(0x2,_0x1121b6[_0x8e1915(0x1e9)](_0x2ddf05)),_0x2a049b(0x3,_0x1121b6[_0x8e1915(0x312)]),_0x2a049b(0x4,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0xda)]))],_0x3decd5);const _0x5483c3=0x1,_0x24c4e4=1.5;class _0x40acb1 extends _0x42a824[_0x8e1915(0x32d)]{constructor(_0x183f77,_0x411581){const _0x4cac51=_0x8e1915;super(_0x183f77,_0x411581),_0xdf3e66(this,_0x4cac51(0x202)),_0xdf3e66(this,_0x4cac51(0x272),!0x1),_0xdf3e66(this,_0x4cac51(0x30e)),_0xdf3e66(this,_0x4cac51(0x35e),''),_0xdf3e66(this,'_labelPosition',_0x4cac51(0x278)),_0xdf3e66(this,_0x4cac51(0x1d8)),(_0x411581&&this['setShapeProps'](_0x411581),this['onPointerEnter$'][_0x4cac51(0x35c)](()=>this[_0x4cac51(0x26b)]({'hovered':!0x0})),this[_0x4cac51(0x1b7)][_0x4cac51(0x35c)](()=>this[_0x4cac51(0x26b)]({'hovered':!0x1})));}['setShapeProps'](_0x2c650b){const _0x39ba27=_0x8e1915;var _0x4aac91,_0x31ebe2,_0x26bf16,_0xca0371,_0x2beb03,_0x4a9751;this[_0x39ba27(0x202)]=(_0x4aac91=_0x2c650b[_0x39ba27(0x118)])!=null?_0x4aac91:this[_0x39ba27(0x202)],this['_hovered']=(_0x31ebe2=_0x2c650b['hovered'])!=null?_0x31ebe2:this['_hovered'],this['_range']=(_0x26bf16=_0x2c650b[_0x39ba27(0x349)])!=null?_0x26bf16:this[_0x39ba27(0x30e)],this['_name']=(_0xca0371=_0x2c650b[_0x39ba27(0x1a8)])!=null?_0xca0371:this[_0x39ba27(0x35e)],this[_0x39ba27(0x288)]=(_0x2beb03=_0x2c650b[_0x39ba27(0x31d)])!=null?_0x2beb03:this[_0x39ba27(0x288)],this['_backgroundColor']=(_0x4a9751=_0x2c650b[_0x39ba27(0x2e5)])!=null?_0x4a9751:this[_0x39ba27(0x1d8)],this[_0x39ba27(0x393)]({'width':_0x2c650b[_0x39ba27(0x12c)],'height':_0x2c650b[_0x39ba27(0xe1)]});}[_0x8e1915(0x339)](_0x4c8dde){const _0x1054e3=_0x8e1915,{row:_0x2fb42c,column:_0x5859bf}=_0x4c8dde;if(_0x2fb42c>=this[_0x1054e3(0x30e)][_0x1054e3(0x1a7)]&&_0x2fb42c<=this[_0x1054e3(0x30e)]['endRow']&&_0x5859bf>=this[_0x1054e3(0x30e)][_0x1054e3(0x3ac)]&&_0x5859bf<=this[_0x1054e3(0x30e)][_0x1054e3(0x245)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x1054e3(0x26b)]({'hovered':!0x1});}['triggerDblclick'](_0x48c585){return!0x1;}['_draw'](_0x35810e){const _0x28951c=_0x8e1915;_0x42a824[_0x28951c(0x151)][_0x28951c(0x359)](_0x35810e,{'width':this['width'],'height':this[_0x28951c(0xe1)],'strokeWidth':_0x24c4e4,'stroke':this[_0x28951c(0x202)],'evented':!0x1,'fill':this[_0x28951c(0x1d8)]}),this[_0x28951c(0x272)]&&(_0x35810e['save'](),_0x35810e[_0x28951c(0x1f4)](0x1,0x0,0x0,0x1,this[_0x28951c(0x12c)],this[_0x28951c(0x288)]===_0x28951c(0x142)?0x0:-_0x568256),_0x13de89[_0x28951c(0x359)](_0x35810e,{'text':this['_name'],'color':this[_0x28951c(0x202)]}),_0x35810e[_0x28951c(0x338)]());}}var _0x1b8dd6=Object[_0x8e1915(0x17e)],_0x3bb5e8=(_0x15ca22,_0x3d2e5c,_0x10ed8b,_0x43a005)=>{const _0x1d5da1=_0x8e1915;for(var _0x43fb26=_0x43a005>0x1?void 0x0:_0x43a005?_0x1b8dd6(_0x3d2e5c,_0x10ed8b):_0x3d2e5c,_0x310db7=_0x15ca22[_0x1d5da1(0x33e)]-0x1,_0x5c2d17;_0x310db7>=0x0;_0x310db7--)(_0x5c2d17=_0x15ca22[_0x310db7])&&(_0x43fb26=_0x5c2d17(_0x43fb26)||_0x43fb26);return _0x43fb26;},_0x18c571=(_0x312a39,_0x331f3f)=>(_0x57e934,_0x125d72)=>_0x331f3f(_0x57e934,_0x125d72,_0x312a39);const _0x4f369d=0x1389;let _0x57fc11=class extends _0x1121b6[_0x8e1915(0x267)]{constructor(_0x295df4,_0xb48330,_0x2bde24,_0x2e540e){const _0x41f8a6=_0x8e1915;super(),_0xdf3e66(this,_0x41f8a6(0x223),new Set()),_0xdf3e66(this,_0x41f8a6(0x3a7),null),(this[_0x41f8a6(0x124)]=_0x295df4,this[_0x41f8a6(0x27c)]=_0xb48330,this[_0x41f8a6(0x1df)]=_0x2bde24,this['_themeService']=_0x2e540e,this['_init']());}[_0x8e1915(0x22c)](){const _0x508723=_0x8e1915;this['_sheetSkeletonManagerService'][_0x508723(0xcc)][_0x508723(0x212)](_0x12b9a5['takeUntil'](this[_0x508723(0x17c)]),_0x12b9a5[_0x508723(0x180)](_0x3ede42=>{const _0x3183e2=_0x508723;if(_0x3ede42){const _0x43ed58=_0x3ede42[_0x3183e2(0x3a4)];return _0xf2ac11[_0x3183e2(0x21a)](this['_collabCursorController'][_0x3183e2(0xe8)](this[_0x3183e2(0x124)][_0x3183e2(0xd9)]),this[_0x3183e2(0x2cb)]['currentTheme$'])[_0x3183e2(0x212)](_0x12b9a5[_0x3183e2(0x238)](([_0xb330e9,_0x2c2397])=>{const _0x5099ec=new Map();return _0xb330e9['forEach']((_0x4b0a4b,_0x173764)=>{const _0x5e5b00=_0xe84b;if(_0x4b0a4b[_0x5e5b00(0x347)]===_0x43ed58){const _0x180016={..._0x4b0a4b};_0x180016[_0x5e5b00(0x118)]=this[_0x5e5b00(0x2cb)][_0x5e5b00(0x31e)](_0x4b0a4b[_0x5e5b00(0x118)]),_0x5099ec[_0x5e5b00(0x3af)](_0x173764,_0x180016);}}),{'skeleton':_0x3ede42,'cursors':_0x5099ec};}));}return _0xf2ac11['of']({'skeleton':null,'cursors':new Map()});}))[_0x508723(0x17d)](({skeleton:_0x38b4c1,cursors:_0x2e3c96})=>{const _0x4a6ee8=_0x508723;this[_0x4a6ee8(0x20b)](),_0x38b4c1&&this['_updateCollabCursors'](_0x38b4c1,_0x2e3c96);}),this[_0x508723(0x27c)][_0x508723(0xcc)][_0x508723(0x17d)](_0x507d0f=>{const _0x49523d=_0x508723;if(_0x507d0f==null)return;const {skeleton:_0x5216de}=_0x507d0f,{scene:_0x2d712c}=this[_0x49523d(0x124)];_0x2d712c[_0x49523d(0x182)][_0x49523d(0x35c)](_0x1121b6['debounce'](_0x5c9d88=>{const _0x41e2bf=_0x49523d;var _0x303077,_0x4efca7;const {offsetX:_0x48e864,offsetY:_0x5c6715}=_0x5c9d88,{x:_0x5eb659,y:_0x2c7dde}=_0x2d712c[_0x41e2bf(0x2f0)](_0x42a824[_0x41e2bf(0xf1)][_0x41e2bf(0x264)]([_0x48e864,_0x5c6715])),{scaleX:_0x5c9433,scaleY:_0x5a8440}=_0x2d712c['getAncestorScale'](),_0x5b9ef4=_0x2d712c[_0x41e2bf(0x2f9)](_0x42a824[_0x41e2bf(0x337)][_0x41e2bf(0x3a8)]),_0x44f822=_0x2d712c[_0x41e2bf(0x211)](_0x42a824['Vector2'][_0x41e2bf(0x264)]([_0x5eb659,_0x2c7dde]),_0x5b9ef4),_0x2fa752=_0x5216de[_0x41e2bf(0x2b3)](_0x48e864,_0x5c6715,_0x5c9433,_0x5a8440,_0x44f822);((_0x303077=this[_0x41e2bf(0x3a7)])==null?void 0x0:_0x303077['column'])===_0x2fa752[_0x41e2bf(0x121)]&&((_0x4efca7=this[_0x41e2bf(0x3a7)])==null?void 0x0:_0x4efca7[_0x41e2bf(0x2e6)])===_0x2fa752['row']||this[_0x41e2bf(0x223)]['forEach'](_0x25e6d8=>{const _0x506eb7=_0x41e2bf;_0x25e6d8[_0x506eb7(0x339)](_0x2fa752);});},0x64));});}[_0x8e1915(0x290)](_0x2da1bf,_0x18dd1f){const _0x51a508=_0x8e1915;var _0x23548f;const _0x244de9=(_0x23548f=this[_0x51a508(0x27c)][_0x51a508(0x1d5)]())==null?void 0x0:_0x23548f[_0x51a508(0x287)];if(!_0x244de9)return;const _0x13b15c=this[_0x51a508(0x193)]();if(!_0x13b15c)return;this[_0x51a508(0x223)][_0x51a508(0xea)](_0x2ae9c2=>{const _0x7a833b=_0x51a508;_0x2ae9c2[_0x7a833b(0x1b0)]();});const {scene:_0xbca1ed}=_0x13b15c,_0x5e4f29=_0x7a596b(Array['from'](_0x18dd1f[_0x51a508(0x311)]()))[_0x51a508(0x238)](_0x395fc0=>{const _0x2cba2f=_0x51a508,{color:_0x57fe99,range:_0x32eef5,name:_0x170211,selection:_0x29171e,sheetID:_0x2183ba}=_0x395fc0,{startColumn:_0x223946,startRow:_0x558288,endColumn:_0x5e55f3,endRow:_0xde5eb7}=_0x32eef5,_0x7c1992=_0x1ac3ed[_0x2cba2f(0x197)](_0x558288,_0x223946,_0xbca1ed,_0x244de9),_0x7cbeab=_0x1ac3ed['getCoordByCell'](_0xde5eb7,_0x5e55f3,_0xbca1ed,_0x244de9),{columnHeaderHeightAndMarginTop:_0xadefa8}=_0x244de9,{startX:_0x1770ec,startY:_0x3ac061}=_0x7c1992,{endX:_0x1ba69c,endY:_0x2ef578}=_0x7cbeab,_0x26e478=_0x1ba69c-_0x1770ec,_0x39df2c=_0x2ef578-_0x3ac061,_0x334e33={'labelPosition':_0x3ac061-_0xadefa8>=_0x568256?'top':_0x2cba2f(0x142),'sheetID':_0x2183ba,'range':_0x32eef5,'color':_0x57fe99,'name':_0x170211,'selection':_0x29171e,'left':_0x1770ec,'top':_0x3ac061,'width':_0x26e478,'height':_0x39df2c,'evented':!0x1,'zIndex':_0x4f369d};return new _0x40acb1(_0x170211,_0x334e33);});_0xbca1ed[_0x51a508(0x2fa)](_0x5e4f29,_0x5483c3),this['_cursors']=new Set(_0x5e4f29);}['_removeCollabCursors'](){const _0x57e5f8=_0x8e1915;var _0x994c0;(_0x994c0=this[_0x57e5f8(0x223)])==null||_0x994c0['forEach'](_0x45e2cd=>_0x45e2cd['dispose']());}['_getSheetObject'](){const _0x27de01=_0x8e1915;return _0x1ac3ed[_0x27de01(0x296)](this[_0x27de01(0x124)][_0x27de01(0x20d)],this[_0x27de01(0x124)]);}};_0x57fc11=_0x3bb5e8([_0x18c571(0x1,_0x1121b6[_0x8e1915(0x1e9)](_0x1ac3ed[_0x8e1915(0xdd)])),_0x18c571(0x2,_0x1121b6[_0x8e1915(0x1e9)](_0x2ddf05)),_0x18c571(0x3,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0xda)]))],_0x57fc11);function _0x7a596b(_0x39d131){const _0x3da880=_0x8e1915,_0x35abbe=new Map();return _0x39d131[_0x3da880(0xea)](_0x3ce3eb=>{const _0x1d2b73=_0x3da880;if(_0x35abbe[_0x1d2b73(0x207)](_0x3ce3eb[_0x1d2b73(0xfc)])){const _0x2753b4=_0x35abbe[_0x1d2b73(0xe3)](_0x3ce3eb[_0x1d2b73(0xfc)]);_0x2753b4['name']+=',\x20'+_0x3ce3eb[_0x1d2b73(0x1a8)];}else _0x35abbe[_0x1d2b73(0x3af)](_0x3ce3eb[_0x1d2b73(0xfc)],_0x3ce3eb);}),Array[_0x3da880(0x2bb)](_0x35abbe[_0x3da880(0x311)]());}var _0x53ce8d=Object[_0x8e1915(0x17e)],_0x3c7086=(_0x138274,_0x2e8c7c,_0x38fdbe,_0x3a817f)=>{const _0x366c6a=_0x8e1915;for(var _0x1c6573=_0x3a817f>0x1?void 0x0:_0x3a817f?_0x53ce8d(_0x2e8c7c,_0x38fdbe):_0x2e8c7c,_0x3efef1=_0x138274[_0x366c6a(0x33e)]-0x1,_0x4482cf;_0x3efef1>=0x0;_0x3efef1--)(_0x4482cf=_0x138274[_0x3efef1])&&(_0x1c6573=_0x4482cf(_0x1c6573)||_0x1c6573);return _0x1c6573;},_0x5a16f1=(_0x4ac502,_0x3cab1b)=>(_0x2fc36b,_0xb5175c)=>_0x3cab1b(_0x2fc36b,_0xb5175c,_0x4ac502);let _0x49a6f3=class extends _0x1121b6[_0x8e1915(0x135)]{constructor(_0x127b73,_0x255632,_0x3a7a1b,_0x4898e6,_0x15f708,_0xa06baf){const _0x286420=_0x8e1915;super(),this['_beforeCloseService']=_0x127b73,this[_0x286420(0x1ac)]=_0x255632,this['_collaborationUIEventService']=_0x3a7a1b,this['_messageService']=_0x4898e6,this[_0x286420(0x286)]=_0x15f708,this[_0x286420(0x1a0)]=_0xa06baf,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x8e1915(0x141)](){const _0x1304a2=_0x8e1915;this['disposeWithMe'](this[_0x1304a2(0x30c)][_0x1304a2(0x11e)](()=>{const _0x591e67=_0x1304a2;if(this[_0x591e67(0x1ac)][_0x591e67(0x119)][_0x591e67(0x31f)])return this[_0x591e67(0x1a0)]['t'](_0x591e67(0xca));}));}[_0x8e1915(0x283)](){const _0x20a203=_0x8e1915;this[_0x20a203(0x39e)](this[_0x20a203(0x306)]['event$']['subscribe'](_0x2cded5=>{const _0x260eb9=_0x20a203;_0x2cded5['id']===_0x250214[_0x260eb9(0x3b3)][_0x260eb9(0xc8)]&&this['_messageService'][_0x260eb9(0x389)]({'type':_0x50d683['MessageType']['Warning'],'content':this[_0x260eb9(0x1a0)]['t'](_0x260eb9(0x275))}),_0x2cded5['id']===_0x250214['CollaborationUIEventId'][_0x260eb9(0x281)]&&this[_0x260eb9(0x17a)]['show']({'type':_0x50d683[_0x260eb9(0x233)]['Warning'],'content':this[_0x260eb9(0x1a0)]['t']('collaboration.closeRoom')}),_0x2cded5['id']===_0x250214[_0x260eb9(0x3b3)][_0x260eb9(0x335)]&&this['_notificationService'][_0x260eb9(0x389)]({'title':this[_0x260eb9(0x1a0)]['t'](_0x260eb9(0x176)),'content':this[_0x260eb9(0x1a0)]['t'](_0x260eb9(0x148)),'type':_0x260eb9(0xf4),'duration':0x0}),_0x2cded5['id']===_0x250214[_0x260eb9(0x3b3)][_0x260eb9(0x122)]&&this[_0x260eb9(0x17a)]['show']({'type':_0x50d683[_0x260eb9(0x233)][_0x260eb9(0x2c2)],'content':this[_0x260eb9(0x1a0)]['t'](_0x260eb9(0x20c))+'('+_0x2cded5[_0x260eb9(0x165)]+')'}),_0x2cded5['id']===_0x250214[_0x260eb9(0x3b3)][_0x260eb9(0x266)]&&this[_0x260eb9(0x17a)][_0x260eb9(0x389)]({'type':_0x50d683['MessageType'][_0x260eb9(0xdb)],'content':this[_0x260eb9(0x1a0)]['t'](_0x2cded5[_0x260eb9(0x165)]||'')}),_0x2cded5['id']===_0x250214['CollaborationUIEventId'][_0x260eb9(0x1d6)]&&this[_0x260eb9(0x17a)][_0x260eb9(0x389)]({'type':_0x50d683[_0x260eb9(0x233)][_0x260eb9(0xdb)],'content':this[_0x260eb9(0x1a0)]['t']('session.will-retry')}),_0x2cded5['id']===_0x250214[_0x260eb9(0x3b3)]['SOCKET_FAILED']&&this[_0x260eb9(0x17a)][_0x260eb9(0x389)]({'type':_0x50d683[_0x260eb9(0x233)][_0x260eb9(0x2c2)],'content':this['_localeService']['t']('session.connection-failed')}),_0x2cded5['id']===_0x250214['CollaborationUIEventId'][_0x260eb9(0x2ca)]&&this[_0x260eb9(0x17a)][_0x260eb9(0x389)]({'type':_0x50d683[_0x260eb9(0x233)][_0x260eb9(0x2c2)],'content':this[_0x260eb9(0x1a0)]['t']('session.collaboration-timeout')});}));}};_0x49a6f3=_0x3c7086([_0x5a16f1(0x0,_0x1c0cb7[_0x8e1915(0xe2)]),_0x5a16f1(0x1,_0x250214[_0x8e1915(0x28e)]),_0x5a16f1(0x2,_0x1121b6['Inject'](_0x250214['CollaborationUIEventService'])),_0x5a16f1(0x3,_0x1c0cb7['IMessageService']),_0x5a16f1(0x4,_0x1c0cb7[_0x8e1915(0x213)]),_0x5a16f1(0x5,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0x1ec)]))],_0x49a6f3);var _0x5c13e8=Object[_0x8e1915(0x17e)],_0x5dfa8c=(_0x54f9a0,_0x20ac04,_0x562fa4,_0x253459)=>{for(var _0x4881ee=_0x253459>0x1?void 0x0:_0x253459?_0x5c13e8(_0x20ac04,_0x562fa4):_0x20ac04,_0xe7213b=_0x54f9a0['length']-0x1,_0x53a127;_0xe7213b>=0x0;_0xe7213b--)(_0x53a127=_0x54f9a0[_0xe7213b])&&(_0x4881ee=_0x53a127(_0x4881ee)||_0x4881ee);return _0x4881ee;},_0x216017=(_0x2fc15a,_0x1bf6c1)=>(_0x1299fa,_0xa3931)=>_0x1bf6c1(_0x1299fa,_0xa3931,_0x2fc15a);let _0x3c92a1=class extends _0x1121b6[_0x8e1915(0x135)]{constructor(_0x2c1cef,_0x57e179,_0x5dc0f4,_0x5bdee0){const _0x1eeb90=_0x8e1915;super(),_0xdf3e66(this,_0x1eeb90(0x147)),(this[_0x1eeb90(0x30f)]=_0x2c1cef,this[_0x1eeb90(0x2d9)]=_0x57e179,this[_0x1eeb90(0x19f)]=_0x5dc0f4,this[_0x1eeb90(0x27a)]=_0x5bdee0,this['_init']());}[_0x8e1915(0x22c)](){const _0x4428f6=_0x8e1915;this[_0x4428f6(0x1c4)](),this[_0x4428f6(0xf6)](),this[_0x4428f6(0x37d)](),this[_0x4428f6(0x13d)]();}['_initUserListener'](){const _0x2a172c=_0x8e1915;this[_0x2a172c(0x39e)](this['_collaborationSessionService'][_0x2a172c(0x33c)][_0x2a172c(0x17d)](_0x28fb72=>{const _0x5a73d6=_0x2a172c;this[_0x5a73d6(0x147)]=_0x28fb72==null?void 0x0:_0x28fb72[_0x5a73d6(0x18e)];}));}['_initWindowErrorListener'](){const _0x52c48f=_0x8e1915,_0x16ecb1=_0x5a20fc=>{const _0x1a8345=_0xe84b;var _0x1f7db8;this[_0x1a8345(0x219)](_0x1a8345(0xf4),'[Window\x20Error]:\x20'+_0x5a20fc[_0x1a8345(0x2e9)]+_0x1a8345(0x2ec)+_0x5a20fc[_0x1a8345(0x240)]+':'+_0x5a20fc[_0x1a8345(0x397)]+':'+_0x5a20fc['colno']+'\x0a'+(((_0x1f7db8=_0x5a20fc[_0x1a8345(0xf4)])==null?void 0x0:_0x1f7db8[_0x1a8345(0x2f5)])||''));};window[_0x52c48f(0x2bf)](_0x52c48f(0xf4),_0x16ecb1),this[_0x52c48f(0x39e)](()=>{const _0x4b620f=_0x52c48f;window['removeEventListener'](_0x4b620f(0xf4),_0x16ecb1);});}[_0x8e1915(0xf6)](){const _0x57112c=_0x8e1915,_0xcf58b=_0x1f22ec=>{const _0x658e7=_0xe84b;this['_uploadLog'](_0x658e7(0xf4),_0x658e7(0x23c)+_0x1f22ec[_0x658e7(0x220)]);};window[_0x57112c(0x2bf)](_0x57112c(0x105),_0xcf58b),this[_0x57112c(0x39e)](()=>{const _0x2c879c=_0x57112c;window[_0x2c879c(0x18b)](_0x2c879c(0x105),_0xcf58b);});}[_0x8e1915(0x37d)](){const _0xfb2af8=_0x8e1915,_0x498fe2=this[_0xfb2af8(0x19f)][_0xfb2af8(0xf4)][_0xfb2af8(0x3aa)](this[_0xfb2af8(0x19f)]);this[_0xfb2af8(0x19f)]['error']=(..._0x2b3611)=>{const _0x2e7d9e=_0xfb2af8,_0x121ba7=_0x2b3611['map'](_0x1929d5=>_0x1929d5 instanceof Error?_0x1929d5[_0x2e7d9e(0x2e9)]+'\x0a'+_0x1929d5[_0x2e7d9e(0x2f5)]:String(_0x1929d5))[_0x2e7d9e(0x1a9)]('\x20');this[_0x2e7d9e(0x219)]('error',_0x2e7d9e(0x217)+_0x121ba7),_0x498fe2(..._0x2b3611);},this[_0xfb2af8(0x39e)](()=>{const _0x1ffa7f=_0xfb2af8;this['_logService'][_0x1ffa7f(0xf4)]=_0x498fe2;});}[_0x8e1915(0x219)](_0x4b28aa,_0x29529a){const _0x41fb37=_0x8e1915;try{const _0x307e5d={'userId':this[_0x41fb37(0x147)],'logLabel':_0x4b28aa,'content':_0x29529a};this[_0x41fb37(0x2d9)][_0x41fb37(0xd5)]('/universer-api/frontend/logs',{'body':_0x307e5d})[_0x41fb37(0x392)](()=>{});}catch{}}};_0x3c92a1=_0x5dfa8c([_0x216017(0x0,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0x2e3)])),_0x216017(0x1,_0x1121b6[_0x8e1915(0x1e9)](_0x24e2e1[_0x8e1915(0x239)])),_0x216017(0x2,_0x1121b6[_0x8e1915(0x15a)]),_0x216017(0x3,_0x1121b6[_0x8e1915(0x1e9)](_0x250214[_0x8e1915(0x188)]))],_0x3c92a1);const _0x4b7b62=_0x8e1915(0x2bd),_0x55c3aa={};var _0x534b85=Object[_0x8e1915(0x17e)],_0x59bea3=(_0x5df3c2,_0x2f6ff8,_0x428250,_0x135cc8)=>{for(var _0x31e4c3=_0x135cc8>0x1?void 0x0:_0x135cc8?_0x534b85(_0x2f6ff8,_0x428250):_0x2f6ff8,_0x4529aa=_0x5df3c2['length']-0x1,_0x29d541;_0x4529aa>=0x0;_0x4529aa--)(_0x29d541=_0x5df3c2[_0x4529aa])&&(_0x31e4c3=_0x29d541(_0x31e4c3)||_0x31e4c3);return _0x31e4c3;},_0x312097=(_0x11fb7c,_0x1f721e)=>(_0x52c6cb,_0x4c701f)=>_0x1f721e(_0x52c6cb,_0x4c701f,_0x11fb7c);let _0x4c9319=class{constructor(_0x3fc393,_0x33ebb6){const _0x35fcbf=_0x8e1915;this[_0x35fcbf(0x246)]=_0x3fc393,this[_0x35fcbf(0x324)]=_0x33ebb6;}[_0x8e1915(0x1c8)](_0x36f001){this['_transformUndoRedoStack'](_0x36f001),this['_transformPreviousActiveRange'](_0x36f001);}['transformRemoteChangeset'](_0x4862b7){const _0x12b100=_0x8e1915,{unitID:_0x2208bd}=_0x4862b7,_0x3b7d44=this[_0x12b100(0x324)][_0x12b100(0x2c1)](_0x2208bd)[_0x12b100(0xe6)](_0x509b22[_0x12b100(0x114)]),{redoCache:_0x4f387c}=_0x3b7d44[_0x12b100(0x251)]();if(_0x4f387c[_0x12b100(0x33e)]===0x0)return _0x4862b7;let _0x5e6c3f=_0x1121b6[_0x12b100(0x12d)][_0x12b100(0x208)](_0x4862b7[_0x12b100(0x218)][0x0]);for(let _0x2d99bb=0x0;_0x2d99bb<_0x4f387c[_0x12b100(0x33e)];_0x2d99bb++){const _0x1f55ee={'id':_0x12b100(0x29e),'params':{..._0x4f387c[_0x2d99bb]}},_0x32e2d0=this[_0x12b100(0x246)]['transformMutation'](_0x5e6c3f,_0x1f55ee,!0x1);if(_0x271c6b['isTransformMutationFailure'](_0x32e2d0))throw _0x32e2d0[_0x12b100(0xf4)];_0x5e6c3f=_0x32e2d0[_0x12b100(0x314)];}return{..._0x1121b6[_0x12b100(0x12d)][_0x12b100(0x208)](_0x4862b7),'mutations':[_0x5e6c3f]};}['_transformUndoRedoStack'](_0x8b7ed3){const _0x106a98=_0x8e1915,{unitID:_0xd6c9a2}=_0x8b7ed3,_0x1b913=this[_0x106a98(0x324)][_0x106a98(0x2c1)](_0xd6c9a2)[_0x106a98(0xe6)](_0x509b22[_0x106a98(0x114)]),{undoCache:_0x124cfa,redoCache:_0x39370a}=_0x1b913['getUndoRedoMutationParamsCache']();if(_0x124cfa[_0x106a98(0x33e)]===0x0||_0x39370a[_0x106a98(0x33e)]===0x0)return;const _0xaabaef=[],_0xf615de=[];let _0x2771cd=_0x1121b6['Tools'][_0x106a98(0x208)](_0x8b7ed3[_0x106a98(0x218)][0x0]),_0x6f735f=_0x1121b6[_0x106a98(0x12d)][_0x106a98(0x208)](_0x8b7ed3[_0x106a98(0x218)][0x0]);for(let _0x525954=_0x124cfa[_0x106a98(0x33e)]-0x1;_0x525954>=0x0;_0x525954--){const _0x57e897={'id':_0x106a98(0x29e),'params':{..._0x124cfa[_0x525954]}},_0x3d1e17={'id':'doc.mutation.rich-text-editing','params':{..._0x39370a[_0x525954]}},_0x69e475=this['_transformService'][_0x106a98(0x331)](_0x2771cd,_0x57e897,!0x1),_0x244df1=this[_0x106a98(0x246)][_0x106a98(0x331)](_0x6f735f,_0x3d1e17,!0x1);if(_0x271c6b[_0x106a98(0x117)](_0x69e475))throw _0x69e475['error'];if(_0x271c6b[_0x106a98(0x117)](_0x244df1))throw _0x244df1[_0x106a98(0xf4)];_0xaabaef[_0x106a98(0x1d7)](_0x69e475['m2Prime']['params']),_0xf615de[_0x106a98(0x1d7)](_0x244df1[_0x106a98(0x1af)][_0x106a98(0x216)]),_0x2771cd=_0x69e475[_0x106a98(0x314)],_0x6f735f=_0x244df1[_0x106a98(0x314)];}_0x1b913['setUndoRedoMutationParamsCache']({'undoCache':_0xaabaef,'redoCache':_0xf615de});}[_0x8e1915(0x236)](_0x170429){const _0x45c0c4=_0x8e1915,{unitID:_0x5eee7a}=_0x170429,_0x369f50=this['_renderManagerService'][_0x45c0c4(0x2c1)](_0x5eee7a)[_0x45c0c4(0xe6)](_0x509b22['DocIMEInputManagerService']),_0x232b2a=_0x369f50[_0x45c0c4(0x1e3)]();if(_0x232b2a==null)return;const _0x125587=[{'id':_0x45c0c4(0x29e),'params':{'unitId':_0x170429[_0x45c0c4(0x16c)],'actions':null,'textRanges':[_0x232b2a]}}],_0x59f362=this[_0x45c0c4(0x246)][_0x45c0c4(0x2e8)](_0x170429,_0x125587);if(!_0x271c6b[_0x45c0c4(0x247)](_0x59f362))throw _0x59f362[_0x45c0c4(0xf4)];const _0x401d11=_0x59f362[_0x45c0c4(0x1af)][0x0][_0x45c0c4(0x216)][_0x45c0c4(0x2b0)];Array['isArray'](_0x401d11)&&_0x401d11['length']&&_0x369f50[_0x45c0c4(0x328)](_0x401d11[0x0]);}};_0x4c9319=_0x59bea3([_0x312097(0x0,_0x271c6b['ITransformService']),_0x312097(0x1,_0x42a824[_0x8e1915(0x2dc)])],_0x4c9319);var _0x4def12=Object[_0x8e1915(0x17e)],_0x24ae61=(_0x3ab5bb,_0x829df8,_0x5d32b5,_0x4c86eb)=>{const _0x1b5ea0=_0x8e1915;for(var _0x3630a5=_0x4c86eb>0x1?void 0x0:_0x4c86eb?_0x4def12(_0x829df8,_0x5d32b5):_0x829df8,_0x94ae98=_0x3ab5bb[_0x1b5ea0(0x33e)]-0x1,_0xab86ca;_0x94ae98>=0x0;_0x94ae98--)(_0xab86ca=_0x3ab5bb[_0x94ae98])&&(_0x3630a5=_0xab86ca(_0x3630a5)||_0x3630a5);return _0x3630a5;},_0xaf6ac1=(_0x42d033,_0x3e3746)=>(_0x5257f0,_0x217bc1)=>_0x3e3746(_0x5257f0,_0x217bc1,_0x42d033);let _0x275ae7=class{constructor(_0x249f8b,_0x45dbba,_0xf67a77){const _0x436385=_0x8e1915;this[_0x436385(0x30f)]=_0x249f8b,this['_transformService']=_0x45dbba,this[_0x436385(0x10b)]=_0xf67a77;}['transformStateCache'](_0x1d8db0){const _0x3a8394=_0x8e1915;this[_0x3a8394(0x37a)](_0x1d8db0);}[_0x8e1915(0x2f1)](_0x2cdff3){const _0x4f67d2=_0x8e1915,{unitID:_0xb4561b}=_0x2cdff3,{collaboration:_0x569535}=this[_0x4f67d2(0x10b)][_0x4f67d2(0x21c)](_0xb4561b);if(_0x569535[_0x4f67d2(0x33e)]===0x0)return _0x2cdff3;let _0x3b12f9=_0x1121b6['Tools'][_0x4f67d2(0x208)](_0x2cdff3[_0x4f67d2(0x218)][0x0]);for(let _0x77479a=0x0;_0x77479a<_0x569535[_0x4f67d2(0x33e)];_0x77479a++){const _0x39a81b={'id':_0x4f67d2(0x29e),'params':{'unitId':_0x569535[_0x77479a][_0x4f67d2(0xd9)],..._0x569535[_0x77479a][_0x4f67d2(0x100)]}},_0x1e9ef4=this[_0x4f67d2(0x246)]['transformMutation'](_0x3b12f9,_0x39a81b,!0x1);if(_0x271c6b[_0x4f67d2(0x117)](_0x1e9ef4))throw _0x1e9ef4[_0x4f67d2(0xf4)];_0x3b12f9=_0x1e9ef4[_0x4f67d2(0x314)];}return{..._0x1121b6[_0x4f67d2(0x12d)][_0x4f67d2(0x208)](_0x2cdff3),'mutations':[_0x3b12f9]};}['_transformHistoryAndStateStack'](_0x49b4eb){const _0x1f3b91=_0x8e1915,{unitID:_0x595417}=_0x49b4eb,{history:_0x581ae0,collaboration:_0x270f2c}=this[_0x1f3b91(0x10b)]['getStateCache'](_0x595417);if(_0x581ae0['length']===0x0&&_0x270f2c[_0x1f3b91(0x33e)]===0x0)return;const _0x1f51d4=[],_0x45457c=[];let _0x1fd998=_0x1121b6['Tools'][_0x1f3b91(0x208)](_0x49b4eb[_0x1f3b91(0x218)][0x0]),_0x145a4f=_0x1121b6['Tools']['deepClone'](_0x49b4eb[_0x1f3b91(0x218)][0x0]);for(let _0x25c232=_0x581ae0[_0x1f3b91(0x33e)]-0x1;_0x25c232>=0x0;_0x25c232--){const _0x1381d3={'id':_0x1f3b91(0x29e),'params':{'unitId':_0x581ae0[_0x25c232][_0x1f3b91(0xd9)],..._0x581ae0[_0x25c232]['undoState']}},_0xe8faea={'id':_0x1f3b91(0x29e),'params':{'unitId':_0x581ae0[_0x25c232][_0x1f3b91(0xd9)],..._0x581ae0[_0x25c232][_0x1f3b91(0x100)]}},_0xe3561e=this['_transformService'][_0x1f3b91(0x331)](_0x1fd998,_0x1381d3,!0x1),_0x215eea=this[_0x1f3b91(0x246)][_0x1f3b91(0x331)](_0x145a4f,_0xe8faea,!0x1);if(_0x271c6b['isTransformMutationFailure'](_0xe3561e))throw _0xe3561e['error'];if(_0x271c6b[_0x1f3b91(0x117)](_0x215eea))throw _0x215eea[_0x1f3b91(0xf4)];_0x1f51d4[_0x1f3b91(0x1d7)]({..._0x581ae0[_0x25c232],'undoState':_0xe3561e[_0x1f3b91(0x1af)]['params'],'redoState':_0x215eea[_0x1f3b91(0x1af)]['params']}),_0x1fd998=_0xe3561e[_0x1f3b91(0x314)],_0x145a4f=_0x215eea[_0x1f3b91(0x314)];}_0x1fd998=_0x1121b6[_0x1f3b91(0x12d)]['deepClone'](_0x49b4eb[_0x1f3b91(0x218)][0x0]),_0x145a4f=_0x1121b6[_0x1f3b91(0x12d)][_0x1f3b91(0x208)](_0x49b4eb[_0x1f3b91(0x218)][0x0]);for(let _0x431a24=_0x270f2c['length']-0x1;_0x431a24>=0x0;_0x431a24--){const _0x45866b={'id':_0x1f3b91(0x29e),'params':{'unitId':_0x270f2c[_0x431a24][_0x1f3b91(0xd9)],..._0x270f2c[_0x431a24][_0x1f3b91(0x2ed)]}},_0x5efde0={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x270f2c[_0x431a24][_0x1f3b91(0xd9)],..._0x270f2c[_0x431a24][_0x1f3b91(0x100)]}},_0x282c49=this[_0x1f3b91(0x246)][_0x1f3b91(0x331)](_0x1fd998,_0x45866b,!0x1),_0x2d21f7=this[_0x1f3b91(0x246)][_0x1f3b91(0x331)](_0x145a4f,_0x5efde0,!0x1);if(_0x271c6b['isTransformMutationFailure'](_0x282c49))throw _0x282c49[_0x1f3b91(0xf4)];if(_0x271c6b[_0x1f3b91(0x117)](_0x2d21f7))throw _0x2d21f7[_0x1f3b91(0xf4)];_0x45457c[_0x1f3b91(0x1d7)]({..._0x270f2c[_0x431a24],'undoState':_0x282c49['m2Prime'][_0x1f3b91(0x216)],'redoState':_0x2d21f7[_0x1f3b91(0x1af)][_0x1f3b91(0x216)]}),_0x1fd998=_0x282c49[_0x1f3b91(0x314)],_0x145a4f=_0x2d21f7[_0x1f3b91(0x314)];}this['_docStateChangeManagerService']['setStateCache'](_0x595417,{'history':_0x1f51d4,'collaboration':_0x45457c});}};_0x275ae7=_0x24ae61([_0xaf6ac1(0x0,_0x1121b6['Inject'](_0x1121b6[_0x8e1915(0x2e3)])),_0xaf6ac1(0x1,_0x271c6b[_0x8e1915(0x190)]),_0xaf6ac1(0x2,_0x1121b6[_0x8e1915(0x1e9)](_0x509b22['DocStateChangeManagerService']))],_0x275ae7);var _0x5488b4=Object[_0x8e1915(0x17e)],_0x499b91=(_0x187609,_0x1a2984,_0x3a65e1,_0x4edbc8)=>{const _0x2fb763=_0x8e1915;for(var _0x4b53b0=_0x4edbc8>0x1?void 0x0:_0x4edbc8?_0x5488b4(_0x1a2984,_0x3a65e1):_0x1a2984,_0x2ecfb3=_0x187609[_0x2fb763(0x33e)]-0x1,_0x46aea4;_0x2ecfb3>=0x0;_0x2ecfb3--)(_0x46aea4=_0x187609[_0x2ecfb3])&&(_0x4b53b0=_0x46aea4(_0x4b53b0)||_0x4b53b0);return _0x4b53b0;},_0x11ff10=(_0x5955b8,_0x20dfce)=>(_0x50d690,_0x706c6e)=>_0x20dfce(_0x50d690,_0x706c6e,_0x5955b8);let _0x2e67b4=class{constructor(_0x3ab72a,_0x49f5e2){const _0x1c03a1=_0x8e1915;this[_0x1c03a1(0x30f)]=_0x3ab72a,this[_0x1c03a1(0x246)]=_0x49f5e2;}[_0x8e1915(0x1f1)](_0x15f289){const _0x2baffa=_0x8e1915;var _0x37d5b4;const _0x29a217=this['_injector'][_0x2baffa(0xe3)](_0x5ead8d[_0x2baffa(0x21b)]),_0x156a8b=(_0x37d5b4=_0x29a217['getDocRanges']())!=null?_0x37d5b4:[];if(_0x156a8b[_0x2baffa(0x33e)]===0x0)return;const _0x493eb8=_0x15f289['unitID'],_0x5a1160=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x493eb8,'actions':null,'textRanges':_0x156a8b}}],_0x249b89=this[_0x2baffa(0x246)]['transformMutationsWithChangeset'](_0x15f289,_0x5a1160);if(!_0x271c6b[_0x2baffa(0x247)](_0x249b89))throw _0x249b89[_0x2baffa(0xf4)];const _0xb57d2=_0x249b89['m2Prime'][0x0][_0x2baffa(0x216)]['textRanges'];Array[_0x2baffa(0x23f)](_0xb57d2)&&_0xb57d2[_0x2baffa(0x33e)]&&_0x29a217[_0x2baffa(0x161)](_0xb57d2,{'unitId':_0x493eb8,'subUnitId':_0x493eb8},!0x1);}};_0x2e67b4=_0x499b91([_0x11ff10(0x0,_0x1121b6['Inject'](_0x1121b6[_0x8e1915(0x2e3)])),_0x11ff10(0x1,_0x271c6b[_0x8e1915(0x190)])],_0x2e67b4);var _0x39ab78=Object[_0x8e1915(0x17e)],_0x450970=(_0x48ddd1,_0x36c76d,_0xbef4e5,_0x141f43)=>{for(var _0xd3fc84=_0x141f43>0x1?void 0x0:_0x141f43?_0x39ab78(_0x36c76d,_0xbef4e5):_0x36c76d,_0x1e5733=_0x48ddd1['length']-0x1,_0x2a9396;_0x1e5733>=0x0;_0x1e5733--)(_0x2a9396=_0x48ddd1[_0x1e5733])&&(_0xd3fc84=_0x2a9396(_0xd3fc84)||_0xd3fc84);return _0xd3fc84;},_0x59c628=(_0x25a01b,_0x27dc68)=>(_0x300ed2,_0x3234e5)=>_0x27dc68(_0x300ed2,_0x3234e5,_0x25a01b);let _0x5f1a44=class extends _0x1121b6['Disposable']{constructor(_0x2ff23e,_0x430f6d,_0x362064,_0x4817b3,_0x46e5b0,_0x1b9323,_0x171bf3,_0x5dd43e){const _0x5639aa=_0x8e1915;super(),_0xdf3e66(this,_0x5639aa(0x1ab),new _0xf2ac11[(_0x5639aa(0x229))](_0x250214[_0x5639aa(0x1c9)]['NOT_COLLAB'])),(this[_0x5639aa(0x10b)]=_0x2ff23e,this[_0x5639aa(0x323)]=_0x430f6d,this['_docTransformIMECacheService']=_0x362064,this['_docTransformStateCacheService']=_0x4817b3,this['_docTransformSelectionsService']=_0x46e5b0,this['_docSyncEditingCollabCursorService']=_0x1b9323,this['_messageService']=_0x171bf3,this[_0x5639aa(0x1a0)]=_0x5dd43e,this[_0x5639aa(0x1f8)]());}[_0x8e1915(0x1f8)](){const _0x44838d=_0x8e1915;this[_0x44838d(0x39e)](this[_0x44838d(0x323)][_0x44838d(0x327)]['subscribe'](_0x68afef=>{const _0x4c8f56=_0x44838d,_0x14e365=this[_0x4c8f56(0x10b)]['docStateChange$']['subscribe'](_0x28a486=>{const _0x175bf7=_0x4c8f56;if(_0x28a486==null)return;const {unitId:_0x115d75,redoState:_0x2576cf,commandId:_0x571f2a}=_0x28a486;if(_0x115d75!==_0x68afef[_0x175bf7(0x16c)])return;const _0x1dad4a={'id':_0x571f2a,'type':_0x1121b6[_0x175bf7(0x2a6)][_0x175bf7(0x2ff)],'params':{'unitId':_0x115d75,'actions':_0x2576cf[_0x175bf7(0x2b7)],'textRanges':null}};_0x68afef[_0x175bf7(0x280)](_0x1dad4a);});if(_0x68afef[_0x4c8f56(0x39e)](_0x14e365),_0x68afef instanceof _0x250214[_0x4c8f56(0x3b1)]){const _0x52acc1={'onTransformIME':_0x4a7ef0=>this[_0x4c8f56(0x224)][_0x4c8f56(0x1c8)](_0x4a7ef0),'onTransformState':_0x5b2d0c=>this[_0x4c8f56(0x343)][_0x4c8f56(0x38d)](_0x5b2d0c),'onTransformSelections':_0x4698e3=>this[_0x4c8f56(0x2b4)]['transformSelections'](_0x4698e3),'onSyncEditingCollabCursor':_0x33a0fa=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x33a0fa),'onTransformRemoteChangesetByIMECache':_0x2cbc58=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x2cbc58),'onTransformRemoteChangesetByStateCache':_0x3f6c52=>this[_0x4c8f56(0x343)]['transformRemoteChangeset'](_0x3f6c52)};_0x68afef[_0x4c8f56(0x1fa)](_0x52acc1);}}));}};_0x5f1a44=_0x450970([_0x59c628(0x0,_0x1121b6[_0x8e1915(0x1e9)](_0x509b22[_0x8e1915(0xd4)])),_0x59c628(0x1,_0x1121b6[_0x8e1915(0x1e9)](_0x250214[_0x8e1915(0x258)])),_0x59c628(0x2,_0x1121b6[_0x8e1915(0x1e9)](_0x4c9319)),_0x59c628(0x3,_0x1121b6[_0x8e1915(0x1e9)](_0x275ae7)),_0x59c628(0x4,_0x1121b6[_0x8e1915(0x1e9)](_0x2e67b4)),_0x59c628(0x5,_0x1121b6[_0x8e1915(0x1e9)](_0x343dd9)),_0x59c628(0x6,_0x1c0cb7[_0x8e1915(0x3ab)]),_0x59c628(0x7,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0x1ec)]))],_0x5f1a44);var _0x16ca9b=(_0x55944f=>(_0x55944f[_0x55944f[_0x8e1915(0x134)]=0x0]='UNDEFINED',_0x55944f[_0x55944f['OK']=0x1]='OK',_0x55944f[_0x55944f['INTERNAL_ERROR']=0x2]=_0x8e1915(0x3ae),_0x55944f[_0x55944f['PERMISSION_DENIED']=0x3]=_0x8e1915(0x335),_0x55944f[_0x55944f['NOT_FOUND']=0x4]=_0x8e1915(0xc6),_0x55944f[_0x55944f['UNAUTHENTICATED']=0x5]=_0x8e1915(0x1e6),_0x55944f[_0x55944f['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x55944f[_0x55944f[_0x8e1915(0x33d)]=0x7]=_0x8e1915(0x33d),_0x55944f[_0x55944f[_0x8e1915(0x2b9)]=0x8]=_0x8e1915(0x2b9),_0x55944f[_0x55944f[_0x8e1915(0x23b)]=0x9]=_0x8e1915(0x23b),_0x55944f[_0x55944f[_0x8e1915(0x326)]=0xa]=_0x8e1915(0x326),_0x55944f[_0x55944f['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x8e1915(0x2f3),_0x55944f[_0x55944f['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x8e1915(0x297),_0x55944f[_0x55944f[_0x8e1915(0x3b2)]=0xd]=_0x8e1915(0x3b2),_0x55944f[_0x55944f['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x55944f[_0x55944f[_0x8e1915(0x2fc)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x55944f[_0x55944f['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x55944f[_0x55944f[_0x8e1915(0xee)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x55944f[_0x55944f[_0x8e1915(0x16b)]=0x65]=_0x8e1915(0x16b),_0x55944f[_0x55944f['USER_NOT_FOUND']=0xc9]=_0x8e1915(0x2ad),_0x55944f[_0x55944f[_0x8e1915(0x12f)]=0xca]=_0x8e1915(0x12f),_0x55944f[_0x55944f['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x8e1915(0xc2),_0x55944f[_0x55944f[_0x8e1915(0x204)]=0x1771]=_0x8e1915(0x204),_0x55944f[_0x55944f[_0x8e1915(0x139)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x55944f[_0x55944f[_0x8e1915(0x254)]=0x1773]=_0x8e1915(0x254),_0x55944f[_0x55944f[_0x8e1915(0x36e)]=0x1b59]=_0x8e1915(0x36e),_0x55944f[_0x55944f['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x55944f[_0x55944f[_0x8e1915(0x2f2)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x55944f[_0x55944f[_0x8e1915(0x2c6)]=0x1b5c]=_0x8e1915(0x2c6),_0x55944f[_0x55944f[_0x8e1915(0x260)]=0x1b5d]=_0x8e1915(0x260),_0x55944f[_0x55944f[_0x8e1915(0x11f)]=0x1f41]=_0x8e1915(0x11f),_0x55944f[_0x55944f[_0x8e1915(0x108)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x55944f[_0x55944f['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x8e1915(0x26d),_0x55944f[_0x55944f[_0x8e1915(0x2a0)]=0x232b]=_0x8e1915(0x2a0),_0x55944f[_0x55944f[_0x8e1915(0x34e)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x55944f[_0x55944f['LICENSE_DISTRO_REJECTED']=0x232d]=_0x8e1915(0x282),_0x55944f[_0x55944f[_0x8e1915(0x367)]=0x2711]=_0x8e1915(0x367),_0x55944f[_0x55944f[_0x8e1915(0x32a)]=0x2712]=_0x8e1915(0x32a),_0x55944f[_0x55944f['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x8e1915(0x22d),_0x55944f[_0x55944f[_0x8e1915(0x1ad)]=0x2714]=_0x8e1915(0x1ad),_0x55944f[_0x55944f['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x55944f[_0x55944f['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x8e1915(0x356),_0x55944f[_0x55944f[_0x8e1915(0x292)]=0x271c]=_0x8e1915(0x292),_0x55944f[_0x55944f[_0x8e1915(0x19d)]=0x271d]=_0x8e1915(0x19d),_0x55944f[_0x55944f[_0x8e1915(0x15f)]=0x271e]=_0x8e1915(0x15f),_0x55944f[_0x55944f[_0x8e1915(0x2d1)]=0x271f]=_0x8e1915(0x2d1),_0x55944f[_0x55944f[_0x8e1915(0x26a)]=0x2720]=_0x8e1915(0x26a),_0x55944f[_0x55944f[_0x8e1915(0x2a4)]=0x2af9]=_0x8e1915(0x2a4),_0x55944f[_0x55944f[_0x8e1915(0x332)]=0x2ee1]=_0x8e1915(0x332),_0x55944f[_0x55944f[_0x8e1915(0x263)]=0x2ee2]=_0x8e1915(0x263),_0x55944f[_0x55944f[_0x8e1915(0x307)]=0x2ee3]=_0x8e1915(0x307),_0x55944f[_0x55944f[_0x8e1915(0x1b3)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x55944f[_0x55944f[_0x8e1915(0x13e)]=0x2ee5]=_0x8e1915(0x13e),_0x55944f[_0x55944f[_0x8e1915(0x164)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x55944f[_0x55944f['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x8e1915(0x329),_0x55944f[_0x55944f[_0x8e1915(0x18a)]=0x32cb]=_0x8e1915(0x18a),_0x55944f[_0x55944f[_0x8e1915(0x169)]=0x36b1]=_0x8e1915(0x169),_0x55944f[_0x55944f[_0x8e1915(0x1f5)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x55944f[_0x55944f['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x55944f[_0x55944f[_0x8e1915(0x168)]=0x36b4]=_0x8e1915(0x168),_0x55944f[_0x55944f[_0x8e1915(0x1ff)]=0x3715]=_0x8e1915(0x1ff),_0x55944f[_0x55944f[_0x8e1915(0xdc)]=0x3716]=_0x8e1915(0xdc),_0x55944f[_0x55944f[_0x8e1915(0x39c)]=0x3717]=_0x8e1915(0x39c),_0x55944f[_0x55944f[_0x8e1915(0x215)]=0x37dd]=_0x8e1915(0x215),_0x55944f[_0x55944f[_0x8e1915(0x13c)]=0x3a99]=_0x8e1915(0x13c),_0x55944f[_0x55944f[_0x8e1915(0x201)]=0x3a9a]=_0x8e1915(0x201),_0x55944f[_0x55944f[_0x8e1915(0x319)]=0x3a9b]=_0x8e1915(0x319),_0x55944f[_0x55944f[_0x8e1915(0x38c)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x55944f[_0x55944f[_0x8e1915(0x10a)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x55944f[_0x55944f[_0x8e1915(0x265)]=0x3a9e]=_0x8e1915(0x265),_0x55944f[_0x55944f['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x8e1915(0x11d),_0x55944f[_0x55944f[_0x8e1915(0x1d4)]=0x3e81]=_0x8e1915(0x1d4),_0x55944f[_0x55944f[_0x8e1915(0x20a)]=-0x1]=_0x8e1915(0x20a),_0x55944f))(_0x16ca9b||{});function _0x16dbbc(_0x277fa0){const _0x3b336a=_0x8e1915;var _0x3364db,_0x3b2320;const _0x5305aa=(_0x3364db=_0x277fa0['stageInfo'])==null?void 0x0:_0x3364db[_0x3b336a(0x241)],_0xb8682=((_0x3b2320=_0x277fa0['stageInfo'])==null?void 0x0:_0x3b2320[_0x3b336a(0x395)])||0x0;return _0x5305aa===_0x564ab7['FormulaExecuteStageType'][_0x3b336a(0x187)]&&_0xb8682>0x0;}function _0x4e0afc(_0x5b6f2d){const _0x17f440=_0x8e1915;return _0x5b6f2d[_0x17f440(0x3b4)]===_0x564ab7['FormulaExecutedStateType']['SUCCESS'];}var _0x42d938=Object[_0x8e1915(0x17e)],_0xfbf118=(_0x5bb4b0,_0x1f0a7a,_0x4aba36,_0x2f56e9)=>{const _0x2df427=_0x8e1915;for(var _0x4ff155=_0x2f56e9>0x1?void 0x0:_0x2f56e9?_0x42d938(_0x1f0a7a,_0x4aba36):_0x1f0a7a,_0x387dce=_0x5bb4b0[_0x2df427(0x33e)]-0x1,_0x6db732;_0x387dce>=0x0;_0x387dce--)(_0x6db732=_0x5bb4b0[_0x387dce])&&(_0x4ff155=_0x6db732(_0x4ff155)||_0x4ff155);return _0x4ff155;},_0x543504=(_0x256669,_0xdb44ba)=>(_0x12f829,_0x3e7355)=>_0xdb44ba(_0x12f829,_0x3e7355,_0x256669);const _0x2db60b='/universer-api/license/formula/limit/status',_0x3e88a0=_0x8e1915(0x29f),_0x1dd434=_0x8e1915(0x269);let _0x104612=class extends _0x1121b6[_0x8e1915(0x135)]{constructor(_0x13d726,_0x5b29d3,_0x38cc44,_0x1d8485,_0x90a820,_0x405ea5,_0x8384f){const _0x238873=_0x8e1915;super(),_0xdf3e66(this,'_pollingInterval',null),_0xdf3e66(this,_0x238873(0x18c),0x0),_0xdf3e66(this,_0x238873(0x252),0x0),_0xdf3e66(this,_0x238873(0x1cd),[]),_0xdf3e66(this,_0x238873(0x137),0x0),(this['_messageService']=_0x13d726,this['_commandService']=_0x5b29d3,this[_0x238873(0x159)]=_0x38cc44,this[_0x238873(0x2d9)]=_0x1d8485,this[_0x238873(0x21f)]=_0x90a820,this[_0x238873(0x19f)]=_0x405ea5,this[_0x238873(0x1a0)]=_0x8384f,this[_0x238873(0x34f)]());}[_0x8e1915(0x34f)](){const _0xade7ac=_0x8e1915;this['disposeWithMe'](this['_commandService'][_0xade7ac(0xce)]((_0x275930,_0x54b871)=>{const _0x1650a9=_0xade7ac;var _0x61e1bd;if(_0x275930['id']!==_0x564ab7[_0x1650a9(0x2e0)]['id'])return;const _0xd57273=_0x275930[_0x1650a9(0x216)];if(!this[_0x1650a9(0x189)]((_0x61e1bd=_0xd57273[_0x1650a9(0x170)])!=null?_0x61e1bd:[]))return;if(!this[_0x1650a9(0x301)]())throw this[_0x1650a9(0x178)](_0x275930,_0x54b871),this[_0x1650a9(0x2c8)](),new _0x1121b6[(_0x1650a9(0x1ca))]();})),this['disposeWithMe'](this[_0xade7ac(0x2a1)][_0xade7ac(0x353)]((_0x46935d,_0x234892)=>{const _0x37afaf=_0xade7ac;if(_0x46935d['id']!==_0x564ab7[_0x37afaf(0x34d)]['id'])return;const _0x5b1981=_0x46935d[_0x37afaf(0x216)];if(_0x16dbbc(_0x5b1981)){const _0x338459=_0x1121b6[_0x37afaf(0x38b)]();this[_0x37afaf(0x1cd)]['push'](_0x338459),this[_0x37afaf(0x200)](_0x338459);}else{if(_0x4e0afc(_0x5b1981)&&this[_0x37afaf(0x1cd)][_0x37afaf(0x33e)]>0x0){const _0x11e861=this[_0x37afaf(0x1cd)][_0x37afaf(0x186)]();this[_0x37afaf(0x274)](_0x11e861);}}}));}[_0x8e1915(0x317)](){const _0x598916=_0x8e1915;super[_0x598916(0x317)](),this[_0x598916(0x2d8)](),this[_0x598916(0x1cd)]=[],this[_0x598916(0x252)]=0x0,this[_0x598916(0x18c)]=0x0,this[_0x598916(0x137)]=0x0;}async[_0x8e1915(0x178)](_0x4b782c,_0x480a58){const _0x52ff0c=_0x8e1915;for(let _0x36a4fa=0x0;_0x36a4fa<0x1e;_0x36a4fa++)try{if(await this['_getFormulaLimitStatus'](),this['_checkCalculationAvailable']()){this[_0x52ff0c(0xfb)](_0x4b782c,_0x480a58),this[_0x52ff0c(0x17a)][_0x52ff0c(0x389)]({'content':this[_0x52ff0c(0x1a0)]['t']('formula.calculation.started'),'type':_0x50d683['MessageType'][_0x52ff0c(0x11c)]});return;}await new Promise(_0x593447=>{const _0x5169e9=_0x52ff0c;this['_pollingInterval']=window[_0x5169e9(0x157)](_0x593447,0x3e8);});}catch(_0x1acce4){this[_0x52ff0c(0x19f)][_0x52ff0c(0xf4)](_0x1acce4);}this[_0x52ff0c(0x17a)][_0x52ff0c(0x389)]({'content':this[_0x52ff0c(0x1a0)]['t'](_0x52ff0c(0xc5)),'type':_0x50d683[_0x52ff0c(0x233)]['Error']});}['_applyCommand'](_0x29e9b3,_0x23f00e){const _0x3403ec=_0x8e1915;try{this[_0x3403ec(0x2a1)][_0x3403ec(0x36f)](_0x29e9b3['id'],_0x29e9b3['params'],_0x23f00e);}catch(_0x178811){this[_0x3403ec(0x19f)]['error'](_0x178811);}}[_0x8e1915(0x271)](_0x22d918,_0x399763){const _0x1faa23=_0x8e1915;_0x399763<this[_0x1faa23(0x137)]||(this[_0x1faa23(0x137)]=_0x399763,this[_0x1faa23(0x18c)]=Number[_0x1faa23(0x3a9)](_0x22d918[_0x1faa23(0x184)]),this[_0x1faa23(0x252)]=Number['parseInt'](_0x22d918['currentUsage']));}async['_startCalculationLimit'](_0x554bb2){const _0x383910=_0x8e1915;var _0x1e1787,_0x2e2667;const _0x2088e0=Date['now']();try{const _0x10ba23=((_0x1e1787=this['_configService'][_0x383910(0x132)](_0x250214[_0x383910(0x304)]))==null?void 0x0:_0x1e1787[_0x383910(0x1dc)])||_0x3e88a0,_0xe97de4=(await this['_httpService'][_0x383910(0xd5)](_0x10ba23,{'body':JSON[_0x383910(0x183)]({'taskId':_0x554bb2})}))[_0x383910(0x34a)];if(((_0x2e2667=_0xe97de4[_0x383910(0xf4)])==null?void 0x0:_0x2e2667[_0x383910(0x325)])!==_0x16ca9b['OK'])return;this['_setFormulaLimitStatus'](_0xe97de4['limitInfo'],_0x2088e0);}catch(_0x44e6c3){this[_0x383910(0x19f)][_0x383910(0xf4)](_0x44e6c3);}}async['_getFormulaLimitStatus'](_0x5d34bc){const _0x3a3402=_0x8e1915;var _0x27a024,_0x34f071;const _0x4cf694=Date[_0x3a3402(0x126)]();try{const _0x3ece07=((_0x27a024=this[_0x3a3402(0x159)][_0x3a3402(0x132)](_0x250214[_0x3a3402(0x304)]))==null?void 0x0:_0x27a024[_0x3a3402(0x249)])||_0x2db60b,_0x11494c=_0x5d34bc?_0x3ece07+_0x3a3402(0x18f)+encodeURIComponent(_0x5d34bc):_0x3ece07,_0xc4350f=(await this[_0x3a3402(0x2d9)][_0x3a3402(0xe3)](_0x11494c))[_0x3a3402(0x34a)];if(((_0x34f071=_0xc4350f[_0x3a3402(0xf4)])==null?void 0x0:_0x34f071[_0x3a3402(0x325)])!==_0x16ca9b['OK'])return;this[_0x3a3402(0x271)](_0xc4350f[_0x3a3402(0x1cb)],_0x4cf694);}catch(_0x1a414b){this[_0x3a3402(0x19f)][_0x3a3402(0xf4)](_0x1a414b);}}async[_0x8e1915(0x274)](_0x15ba92){const _0xf8ca6e=_0x8e1915;var _0x134e80,_0x2bf637;const _0x4b61ad=Date['now']();try{const _0x1bafdb=((_0x134e80=this[_0xf8ca6e(0x159)][_0xf8ca6e(0x132)](_0x250214[_0xf8ca6e(0x304)]))==null?void 0x0:_0x134e80[_0xf8ca6e(0x1eb)])||_0x1dd434,_0x27a6bd=(await this[_0xf8ca6e(0x2d9)][_0xf8ca6e(0xd5)](_0x1bafdb,{'body':JSON[_0xf8ca6e(0x183)]({'taskId':_0x15ba92})}))['body'];if(((_0x2bf637=_0x27a6bd[_0xf8ca6e(0xf4)])==null?void 0x0:_0x2bf637['code'])!==_0x16ca9b['OK'])return;this['_setFormulaLimitStatus'](_0x27a6bd[_0xf8ca6e(0x1cb)],_0x4b61ad);}catch(_0x357fa6){this[_0xf8ca6e(0x19f)]['error'](_0x357fa6);}}[_0x8e1915(0x301)](){const _0x1b377b=_0x8e1915;return this[_0x1b377b(0x18c)]===0x0?!0x0:this['_maxFormulaLimit']-this['_currentUsage']>0x0;}['_clearPolling'](){const _0x518262=_0x8e1915;this[_0x518262(0x2ef)]&&(clearTimeout(this[_0x518262(0x2ef)]),this[_0x518262(0x2ef)]=null);}[_0x8e1915(0x2c8)](){const _0x32ba12=_0x8e1915;this[_0x32ba12(0x17a)][_0x32ba12(0x389)]({'content':this[_0x32ba12(0x1a0)]['t']('formula.calculation.waiting'),'type':_0x50d683['MessageType'][_0x32ba12(0x205)]});}[_0x8e1915(0x189)](_0x50b4eb){const _0xc47503=_0x8e1915;for(const _0x57ecb9 of _0x50b4eb){const {unitId:_0x4c1b5d,sheetId:_0x1cf538,range:_0x5c2722}=_0x57ecb9,_0x3965f9=this[_0xc47503(0x21f)][_0xc47503(0x102)](_0x4c1b5d);if(!_0x3965f9)continue;const _0x2258e4=_0x3965f9[_0xc47503(0x15d)](_0x1cf538);if(!_0x2258e4)continue;const _0x5e1531=_0x2258e4[_0xc47503(0x1b1)]();for(let _0xc63f29=_0x5c2722[_0xc47503(0x1a7)];_0xc63f29<=_0x5c2722[_0xc47503(0x174)];_0xc63f29++)for(let _0x1dd198=_0x5c2722[_0xc47503(0x3ac)];_0x1dd198<=_0x5c2722[_0xc47503(0x245)];_0x1dd198++){const _0xb6c918=_0x5e1531[_0xc47503(0xde)](_0xc63f29,_0x1dd198);if(_0xb6c918&&(_0x1121b6[_0xc47503(0x320)](_0xb6c918['f'])||_0x1121b6['isFormulaId'](_0xb6c918['si'])))return!0x0;}}return!0x1;}};_0x104612=_0xfbf118([_0x543504(0x0,_0x1121b6['Inject'](_0x1c0cb7[_0x8e1915(0x3ab)])),_0x543504(0x1,_0x1121b6[_0x8e1915(0x312)]),_0x543504(0x2,_0x1121b6[_0x8e1915(0x2e1)]),_0x543504(0x3,_0x1121b6[_0x8e1915(0x1e9)](_0x24e2e1[_0x8e1915(0x239)])),_0x543504(0x4,_0x1121b6[_0x8e1915(0x346)]),_0x543504(0x5,_0x1121b6['ILogService']),_0x543504(0x6,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0x1ec)]))],_0x104612);var _0x29d556=Object[_0x8e1915(0x17e)],_0x83b6c3=(_0x499b62,_0x3ae1ed,_0xf87899,_0x1460ff)=>{for(var _0xe1c0e9=_0x1460ff>0x1?void 0x0:_0x1460ff?_0x29d556(_0x3ae1ed,_0xf87899):_0x3ae1ed,_0x3e95a7=_0x499b62['length']-0x1,_0x41b3c6;_0x3e95a7>=0x0;_0x3e95a7--)(_0x41b3c6=_0x499b62[_0x3e95a7])&&(_0xe1c0e9=_0x41b3c6(_0xe1c0e9)||_0xe1c0e9);return _0xe1c0e9;},_0xd00847=(_0x3a6b2a,_0x29ea0e)=>(_0x3eba8d,_0x1684fe)=>_0x29ea0e(_0x3eba8d,_0x1684fe,_0x3a6b2a);let _0x5aef11=class extends _0x1121b6[_0x8e1915(0x135)]{constructor(_0x2373e1,_0x131ac3,_0x35ae4f){const _0x2f52f0=_0x8e1915;super(),_0xdf3e66(this,_0x2f52f0(0x250),new Map()),_0xdf3e66(this,'_saveTaskMap',new Map()),_0xdf3e66(this,_0x2f52f0(0x27b),!0x1),(this[_0x2f52f0(0x159)]=_0x2373e1,this[_0x2f52f0(0x375)]=_0x131ac3,this[_0x2f52f0(0x37e)]=_0x35ae4f);}[_0x8e1915(0xcd)](){const _0x4fe1c7=_0x8e1915;this[_0x4fe1c7(0x27b)]=!0x0;}[_0x8e1915(0x31a)](){const _0x21d955=_0x8e1915;this[_0x21d955(0x27b)]=!0x1;}get[_0x8e1915(0x119)](){const _0x39122f=_0x8e1915;return this[_0x39122f(0x2a2)];}[_0x8e1915(0x317)](){const _0x2108e2=_0x8e1915;this[_0x2108e2(0x2d6)]()['then'](()=>super[_0x2108e2(0x317)]());}async[_0x8e1915(0x128)](_0x136354){const _0x52111a=_0x8e1915;return this['_disabled']?null:this[_0x52111a(0x375)]['getItem'](_0x250214[_0x52111a(0x2af)](_0x136354));}async['saveOfflineData'](_0x3abfee,_0x3fd8cf){const _0x4b3b8c=_0x8e1915;return!!this[_0x4b3b8c(0x375)][_0x4b3b8c(0x28f)](_0x3abfee,_0x3fd8cf);}[_0x8e1915(0x2ee)](_0x59dc46,_0x2e35d9,_0x1c7eff,_0x598101){const _0x290622=_0x8e1915,_0x57b788=this[_0x290622(0x37e)][_0x290622(0x3ad)](_0x59dc46);this['_cachedData'][_0x290622(0x3af)](_0x59dc46,{'unitID':_0x59dc46,'type':_0x2e35d9,'awaitingChangeset':_0x1c7eff,'mutations':_0x598101,'rev':_0x57b788}),this['_saveTaskMap'][_0x290622(0x207)](_0x59dc46)||this[_0x290622(0x115)](_0x59dc46);}['_scheduleSaving'](_0x404daf){const _0x4e00d8=_0x8e1915,_0x4a8688=this[_0x4e00d8(0x3a2)]();_0x4a8688===0x0?this['_saveCache'](_0x404daf):this[_0x4e00d8(0x2a2)]['set'](_0x404daf,setTimeout(()=>this[_0x4e00d8(0x123)](_0x404daf),_0x4a8688));}[_0x8e1915(0x3a2)](){const _0x2d1db3=_0x8e1915;var _0x45d59f;return(_0x45d59f=this[_0x2d1db3(0x159)][_0x2d1db3(0x132)](_0x250214[_0x2d1db3(0x277)]))!=null?_0x45d59f:_0x250214[_0x2d1db3(0x24e)];}[_0x8e1915(0x123)](_0x4f5f01){const _0x40a614=_0x8e1915,_0x1809d3=this['_saveTaskMap']['get'](_0x4f5f01);return _0x1809d3!==void 0x0&&window[_0x40a614(0xe0)](_0x1809d3),this['_localStorageService']['setItem'](_0x250214[_0x40a614(0x2af)](_0x4f5f01),this[_0x40a614(0x250)][_0x40a614(0xe3)](_0x4f5f01))[_0x40a614(0x24d)](()=>this[_0x40a614(0x2a2)]['delete'](_0x4f5f01));}async[_0x8e1915(0x2d6)](){const _0x349e2b=_0x8e1915,_0x149f1=[];this[_0x349e2b(0x2a2)][_0x349e2b(0xea)]((_0x5301e5,_0x209edf)=>{const _0x4dca2e=_0x349e2b;window[_0x4dca2e(0xe0)](_0x5301e5),_0x149f1['push'](this[_0x4dca2e(0x123)](_0x209edf)['then'](()=>{const _0x32ad89=_0x4dca2e;this[_0x32ad89(0x2a2)][_0x32ad89(0x362)](_0x209edf);}));}),await Promise[_0x349e2b(0x198)](_0x149f1);}};_0x5aef11=_0x83b6c3([_0xd00847(0x0,_0x1121b6[_0x8e1915(0x2e1)]),_0xd00847(0x1,_0x1121b6[_0x8e1915(0x38a)]),_0xd00847(0x2,_0x1121b6[_0x8e1915(0x1e9)](_0x271c6b[_0x8e1915(0x27f)]))],_0x5aef11);class _0x47dd8e extends _0x1121b6[_0x8e1915(0x267)]{constructor(){const _0x1dafe0=_0x8e1915;super(),_0xdf3e66(this,'urlChange$'),this['urlChange$']=_0xf2ac11[_0x1dafe0(0x14a)](window,_0x1dafe0(0x1de))[_0x1dafe0(0x212)](_0xf2ac11[_0x1dafe0(0x256)](this[_0x1dafe0(0x17c)]),_0xf2ac11[_0x1dafe0(0x298)](0x1),_0xf2ac11['mapTo'](void 0x0));}[_0x8e1915(0x228)](_0x563824,_0x2f4cb6,_0x5b8d02=!0x1){const _0x3c8067=_0x8e1915,_0x38efe7=new URL(window['location'][_0x3c8067(0x3a5)]);_0x38efe7['searchParams']['set'](_0x563824,_0x2f4cb6),_0x5b8d02?window[_0x3c8067(0x2fd)][_0x3c8067(0x196)]('','',_0x38efe7['toString']()):window['history'][_0x3c8067(0xd0)]('','',_0x38efe7['toString']());}[_0x8e1915(0x381)](_0x58a4b4,_0x62db69=!0x1){const _0x3e47a4=_0x8e1915,_0x26216b=new URL(window[_0x3e47a4(0x2d5)][_0x3e47a4(0x3a5)]);_0x26216b[_0x3e47a4(0x16a)]['delete'](_0x58a4b4),_0x62db69?window[_0x3e47a4(0x2fd)]['replaceState']('','',_0x26216b[_0x3e47a4(0xef)]()):window[_0x3e47a4(0x2fd)][_0x3e47a4(0xd0)]('','',_0x26216b[_0x3e47a4(0xef)]());}[_0x8e1915(0x2f8)](_0x4b9721){const _0x2bb555=_0x8e1915;var _0x4a3ed8;return(_0x4a3ed8=new URL(window[_0x2bb555(0x2d5)][_0x2bb555(0x3a5)])[_0x2bb555(0x16a)][_0x2bb555(0xe3)](_0x4b9721))!=null?_0x4a3ed8:void 0x0;}}var _0x540bff=Object[_0x8e1915(0x1e1)],_0x11b218=Object[_0x8e1915(0x17e)],_0x5f1b41=(_0x527de7,_0x5b6ae2,_0x567e6e)=>_0x5b6ae2 in _0x527de7?_0x540bff(_0x527de7,_0x5b6ae2,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x567e6e}):_0x527de7[_0x5b6ae2]=_0x567e6e,_0x4f6c4d=(_0xffb0bf,_0x5d945e,_0x234d1a,_0x3b45bd)=>{for(var _0x29ccf1=_0x3b45bd>0x1?void 0x0:_0x3b45bd?_0x11b218(_0x5d945e,_0x234d1a):_0x5d945e,_0x5b5477=_0xffb0bf['length']-0x1,_0x83d640;_0x5b5477>=0x0;_0x5b5477--)(_0x83d640=_0xffb0bf[_0x5b5477])&&(_0x29ccf1=_0x83d640(_0x29ccf1)||_0x29ccf1);return _0x29ccf1;},_0x598e35=(_0x41dc98,_0xbe2f53)=>(_0x4eb328,_0x4fbdf4)=>_0xbe2f53(_0x4eb328,_0x4fbdf4,_0x41dc98),_0x4c1a36=(_0x72342d,_0x5de12c,_0x3e48ec)=>_0x5f1b41(_0x72342d,_0x5de12c+'',_0x3e48ec);const _0x563432=_0x8e1915(0x1ed);_0x978c78[_0x8e1915(0x390)]=class extends _0x1121b6[_0x8e1915(0x2c7)]{constructor(_0x2cdd3e=_0x55c3aa,_0x1966a7,_0x40c9b8,_0x3fba8f){const _0x2ea144=_0x8e1915;super(),this['_config']=_0x2cdd3e,this[_0x2ea144(0x324)]=_0x1966a7,this[_0x2ea144(0x30f)]=_0x40c9b8,this[_0x2ea144(0x159)]=_0x3fba8f;const {..._0x7079ec}=_0x1121b6['merge']({},_0x55c3aa,this[_0x2ea144(0x294)]);this[_0x2ea144(0x159)]['setConfig'](_0x4b7b62,_0x7079ec);}[_0x8e1915(0x22f)](){const _0x5cdb32=_0x8e1915;this[_0x5cdb32(0x34c)](),this[_0x5cdb32(0x20e)]();}[_0x8e1915(0xd6)](){const _0x2aeca0=_0x8e1915;this[_0x2aeca0(0x382)]();}[_0x8e1915(0x34c)](){const _0x39df66=_0x8e1915;var _0x45922e;const _0x4da5fa=[[_0x3f7ec8],[_0x104612],[_0x2e67b4],[_0x4c9319],[_0x275ae7],[_0x343dd9],[_0x34bcdd,{'useClass':_0x47dd8e}],[_0x24e2e1['ISocketService'],{'useClass':_0x24e2e1[_0x39df66(0x37f)]}],[_0x250214['ILocalCacheService'],{'useClass':_0x5aef11}],[_0x978c78[_0x39df66(0x35f)]],[_0x5f1a44],[_0x49a6f3],[_0x2ddf05],[_0x248341],[_0x978c78[_0x39df66(0x2d0)]]];this[_0x39df66(0x294)][_0x39df66(0x31b)]&&_0x4da5fa[_0x39df66(0x1d2)]([_0x3c92a1]),_0x1121b6[_0x39df66(0xf3)](this['_injector'],_0x1121b6[_0x39df66(0x25c)](_0x4da5fa,(_0x45922e=this[_0x39df66(0x294)])==null?void 0x0:_0x45922e[_0x39df66(0x138)]));}[_0x8e1915(0x382)](){const _0x992126=_0x8e1915;this[_0x992126(0x39e)](this[_0x992126(0x324)][_0x992126(0x32b)](_0x1121b6['UniverInstanceType']['UNIVER_DOC'],[_0x3decd5])),this[_0x992126(0x39e)](this[_0x992126(0x324)][_0x992126(0x32b)](_0x1121b6['UniverInstanceType']['UNIVER_SHEET'],[_0x57fc11]));}[_0x8e1915(0x20e)](){const _0x5281cf=_0x8e1915;_0x1121b6[_0x5281cf(0xd7)](this[_0x5281cf(0x30f)],[[_0x2ddf05],[_0x978c78[_0x5281cf(0x35f)]],[_0x5f1a44],[_0x49a6f3],[_0x978c78[_0x5281cf(0x2d0)]],[_0x104612]]),this['_config'][_0x5281cf(0x31b)]&&_0x1121b6['touchDependencies'](this[_0x5281cf(0x30f)],[[_0x3c92a1]]);}},_0x4c1a36(_0x978c78[_0x8e1915(0x390)],_0x8e1915(0x369),_0x563432),_0x978c78[_0x8e1915(0x390)]=_0x4f6c4d([_0x1121b6[_0x8e1915(0x2b2)](_0x250214['UniverCollaborationClientPlugin']),_0x598e35(0x1,_0x42a824['IRenderManagerService']),_0x598e35(0x2,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6[_0x8e1915(0x2e3)])),_0x598e35(0x3,_0x1121b6[_0x8e1915(0x2e1)])],_0x978c78[_0x8e1915(0x390)]);var _0x6cf713=Object['getOwnPropertyDescriptor'],_0x21711f=(_0x1969e7,_0x34ce03,_0x212717,_0x572462)=>{for(var _0x15ede4=_0x572462>0x1?void 0x0:_0x572462?_0x6cf713(_0x34ce03,_0x212717):_0x34ce03,_0x23c064=_0x1969e7['length']-0x1,_0x4cc088;_0x23c064>=0x0;_0x23c064--)(_0x4cc088=_0x1969e7[_0x23c064])&&(_0x15ede4=_0x4cc088(_0x15ede4)||_0x15ede4);return _0x15ede4;},_0xdc9720=(_0xa0208b,_0xf52ae7)=>(_0xee8469,_0x302112)=>_0xf52ae7(_0xee8469,_0x302112,_0xa0208b);_0x978c78[_0x8e1915(0x1ea)]=class extends _0x250214['CollaborationSocketService']{constructor(_0x460783,_0x5b47d8,_0x3a38f9,_0x5177c9,_0x4a2616){super(_0x460783,_0x5b47d8,_0x3a38f9,_0x5177c9,_0x4a2616);}async[_0x8e1915(0x25d)](_0x4074e0){const _0x53fc68=_0x8e1915,_0xdb205a=await this[_0x53fc68(0x2ba)](),_0x3499e6=this[_0x53fc68(0x29c)](_0x4074e0,_0xdb205a);return this[_0x53fc68(0x318)](_0x3499e6);}[_0x8e1915(0x29c)](_0x5cf497,_0x27d79d){const _0x2f2730=_0x8e1915,_0x10f4b7=typeof window>'u'?new URL(_0x5cf497):new URL(_0x5cf497,window[_0x2f2730(0x2d5)][_0x2f2730(0x345)]);_0x10f4b7[_0x2f2730(0x16a)]['set']('sessionTicket',_0x27d79d);const _0x356689=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x2f2730(0x2a9)]);return _0x356689[_0x2f2730(0xe3)](_0x2f2730(0x104))&&_0x10f4b7[_0x2f2730(0x16a)][_0x2f2730(0x3af)](_0x2f2730(0x104),_0x356689[_0x2f2730(0xe3)](_0x2f2730(0x104))),_0x10f4b7[_0x2f2730(0xef)]();}async['_getSessionTicket'](){const _0x523b5b=_0x8e1915;var _0x6ecbfd,_0x2104e3,_0x360465;const _0x251505=this[_0x523b5b(0x159)][_0x523b5b(0x132)](_0x250214[_0x523b5b(0x304)]),_0x44d323=(_0x6ecbfd=_0x251505==null?void 0x0:_0x251505['wsSessionTicketUrl'])!=null?_0x6ecbfd:_0x250214[_0x523b5b(0x303)];return(_0x360465=(_0x2104e3=(await this['_httpService'][_0x523b5b(0xe3)](_0x44d323,{'headers':{'Content-Type':_0x523b5b(0x2aa)}}))['body'])==null?void 0x0:_0x2104e3[_0x523b5b(0x24f)])!=null?_0x360465:'';}},_0x978c78[_0x8e1915(0x1ea)]=_0x21711f([_0xdc9720(0x0,_0x1121b6[_0x8e1915(0x1e9)](_0x1121b6['Injector'])),_0xdc9720(0x1,_0x1121b6[_0x8e1915(0x1e9)](_0x24e2e1[_0x8e1915(0x239)])),_0xdc9720(0x2,_0x1121b6[_0x8e1915(0x2e1)]),_0xdc9720(0x3,_0x1121b6[_0x8e1915(0x15a)]),_0xdc9720(0x4,_0x271c6b[_0x8e1915(0x242)])],_0x978c78['BrowserCollaborationSocketService']);var _0x1efab8=Object[_0x8e1915(0x17e)],_0x2981c2=(_0xa67e69,_0x4c5c7b,_0x4896d2,_0xf795bf)=>{const _0x1480a4=_0x8e1915;for(var _0x374fd1=_0xf795bf>0x1?void 0x0:_0xf795bf?_0x1efab8(_0x4c5c7b,_0x4896d2):_0x4c5c7b,_0x5aebc3=_0xa67e69[_0x1480a4(0x33e)]-0x1,_0x334263;_0x5aebc3>=0x0;_0x5aebc3--)(_0x334263=_0xa67e69[_0x5aebc3])&&(_0x374fd1=_0x334263(_0x374fd1)||_0x374fd1);return _0x374fd1;},_0xbe2581=(_0x465ec4,_0x589135)=>(_0x490f1c,_0x50dc89)=>_0x589135(_0x490f1c,_0x50dc89,_0x465ec4);_0x978c78[_0x8e1915(0x370)]=class extends _0x1121b6[_0x8e1915(0x135)]{constructor(_0x53432a,_0x11f029,_0x159008){const _0x4eab82=_0x8e1915;super(),this[_0x4eab82(0x1dd)]=_0x53432a,this['_httpService']=_0x11f029,this[_0x4eab82(0x159)]=_0x159008;}async[_0x8e1915(0x2db)](_0x1af984,_0x5f627d,_0x2b6264,..._0x3b9df0){const _0x40c687=_0x8e1915;var _0x105539,_0x4992eb,_0x1f2656,_0x55edca;const _0x3213b8=this['_instanceService'][_0x40c687(0x36a)]();if(!_0x3213b8)throw new Error(_0x40c687(0x28a));const _0x443112=((_0x105539=this[_0x40c687(0x159)]['getConfig'](_0x250214[_0x40c687(0x27e)]))!=null?_0x105539:_0x250214[_0x40c687(0x3a3)])+'/'+_0x1af984+_0x40c687(0xec)+_0x5f627d,_0x112cfc=new URL(window[_0x40c687(0x2d5)]['href']),_0x52ffe7={'scriptId':_0x1af984,'runId':(_0x4992eb=_0x112cfc['searchParams'][_0x40c687(0xe3)](_0x40c687(0x104)))!=null?_0x4992eb:'','function':_0x5f627d,'unitId':_0x3213b8[_0x40c687(0x37b)](),'argsOfFunction':JSON['stringify'](_0x3b9df0),'invokeId':(_0x1f2656=_0x2b6264['invokeId'])!=null?_0x1f2656:'','executionId':(_0x55edca=_0x2b6264[_0x40c687(0x2eb)])!=null?_0x55edca:''};try{const _0x218d98=await this['_httpService']['post'](_0x443112,{'body':_0x52ffe7});return _0x218d98[_0x40c687(0x34a)][_0x40c687(0xf4)]&&_0x218d98[_0x40c687(0x34a)]['error'][_0x40c687(0x325)]!==_0x16ca9b['OK']?_0x40c687(0x10f):_0x218d98[_0x40c687(0x34a)][_0x40c687(0x2f4)];}catch{return _0x40c687(0x10f);}}},_0x978c78[_0x8e1915(0x370)]=_0x2981c2([_0xbe2581(0x0,_0x1121b6[_0x8e1915(0x346)]),_0xbe2581(0x1,_0x1121b6[_0x8e1915(0x1e9)](_0x24e2e1[_0x8e1915(0x239)])),_0xbe2581(0x2,_0x1121b6[_0x8e1915(0x2e1)])],_0x978c78[_0x8e1915(0x370)]);const _0x21388c=0x7530,_0x90c80b='ACTIVE_UNIT_EVENT_CHANNEL';class _0x5077dc extends _0x1121b6[_0x8e1915(0x135)]{constructor(){const _0xec4c0f=_0x8e1915;super(),_0xdf3e66(this,_0xec4c0f(0x243),_0x1121b6['generateRandomId']()),_0xdf3e66(this,'_selfUnitIDs',new Set()),_0xdf3e66(this,_0xec4c0f(0x1c1),new Map()),_0xdf3e66(this,_0xec4c0f(0x163),null),_0xdf3e66(this,_0xec4c0f(0x1ae),new Map()),_0xdf3e66(this,_0xec4c0f(0x11b),new Map()),this['_init']();}[_0x8e1915(0x317)](){const _0x3d72e4=_0x8e1915;super[_0x3d72e4(0x317)](),this[_0x3d72e4(0x1ae)]['forEach']((_0xec24bb,_0x4d51a4)=>this['_removeClearOtherTimer'](_0x4d51a4)),this[_0x3d72e4(0x163)]&&window[_0x3d72e4(0x344)](this[_0x3d72e4(0x163)]);}[_0x8e1915(0x2c0)](_0x4ffbc4){const _0x131bdb=_0x8e1915;return this['_ensureSubject'](_0x4ffbc4)[_0x131bdb(0x212)](_0xf2ac11[_0x131bdb(0x309)]());}[_0x8e1915(0x1cc)](_0x10f380){const _0x2f517f=_0x8e1915;this['_selfUnitIDs']['size']===0x0&&this[_0x2f517f(0x154)](),this[_0x2f517f(0x136)]['add'](_0x10f380),this['_send']({'type':0x0,'memberID':this[_0x2f517f(0x243)],'unitIDs':[_0x10f380],'isForwarded':!0x1});}[_0x8e1915(0x232)](_0x2c662b){const _0xe2b677=_0x8e1915;this[_0xe2b677(0x136)][_0xe2b677(0x362)](_0x2c662b),this[_0xe2b677(0x136)][_0xe2b677(0x31f)]===0x0&&this[_0xe2b677(0x163)]&&window[_0xe2b677(0x344)](this[_0xe2b677(0x163)]);}[_0x8e1915(0x22c)](){const _0x2e7a64=_0x8e1915;this['disposeWithMe'](_0x1121b6[_0x2e7a64(0x2ae)](_0xf2ac11[_0x2e7a64(0x14a)](window,_0x2e7a64(0x24c))[_0x2e7a64(0x17d)](_0x3d9eb9=>{const _0x3dd21d=_0x2e7a64;if(_0x3d9eb9[_0x3dd21d(0x146)]!==_0x90c80b||!_0x3d9eb9[_0x3dd21d(0x140)])return;const _0x1ab392=JSON[_0x3dd21d(0x166)](_0x3d9eb9[_0x3dd21d(0x140)]);this[_0x3dd21d(0x35a)](_0x1ab392);}))),window[_0x2e7a64(0x2bf)](_0x2e7a64(0xe5),()=>this[_0x2e7a64(0x31c)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x2e7a64(0x2bb)](this[_0x2e7a64(0x136)])}));}[_0x8e1915(0x35a)](_0x233d88){const _0x2f4fc2=_0x8e1915;switch(_0x233d88[_0x2f4fc2(0x2cf)]){case 0x0:this[_0x2f4fc2(0x39d)](_0x233d88);break;case 0x1:this[_0x2f4fc2(0x1b6)](_0x233d88);break;case 0x2:this[_0x2f4fc2(0x342)](_0x233d88);break;}}['_handleJoinEvent'](_0x1c4c80){const _0x591325=_0x8e1915,{unitIDs:_0x38f631,memberID:_0x546be3,isForwarded:_0x153338}=_0x1c4c80;_0x38f631[_0x591325(0xea)](_0x57f8b2=>{const _0x1fcc04=_0x591325;if(!_0x153338&&this[_0x1fcc04(0x1c1)][_0x1fcc04(0x207)](_0x57f8b2)&&this[_0x1fcc04(0x2d3)](_0x57f8b2)[_0x1fcc04(0x22b)](_0x250214[_0x1fcc04(0x2c3)][_0x1fcc04(0x175)]),!this['_unitOnClients'][_0x1fcc04(0x207)](_0x57f8b2)||!this[_0x1fcc04(0x1c1)]['get'](_0x57f8b2)[_0x1fcc04(0x207)](_0x546be3)){const _0x17f90e=this[_0x1fcc04(0x1c1)][_0x1fcc04(0xe3)](_0x57f8b2)||new Set();_0x17f90e['add'](_0x546be3),this[_0x1fcc04(0x1c1)][_0x1fcc04(0x3af)](_0x57f8b2,_0x17f90e),this[_0x1fcc04(0x16d)](_0x546be3);}}),_0x153338||this[_0x591325(0x31c)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x591325(0x136)]],'isForwarded':!0x0});}[_0x8e1915(0x16d)](_0x1fc133){const _0x566f4b=_0x8e1915;this['_removeClearOtherTimer'](_0x1fc133);const _0x385630=window[_0x566f4b(0x157)](()=>{this['_unitOnClients']['forEach'](_0x41ec17=>{_0x41ec17['delete'](_0x1fc133);});},_0x21388c*0x2);this[_0x566f4b(0x1ae)][_0x566f4b(0x3af)](_0x1fc133,_0x385630);}[_0x8e1915(0x30d)](_0x4a843c){const _0x172081=_0x8e1915;if(this[_0x172081(0x1ae)][_0x172081(0x207)](_0x4a843c)){const _0x399f3a=this[_0x172081(0x1ae)][_0x172081(0xe3)](_0x4a843c);_0x399f3a&&window[_0x172081(0xe0)](_0x399f3a),this[_0x172081(0x1ae)][_0x172081(0x3af)](_0x4a843c,null);}}['_handleLeaveEvent'](_0x17a9c6){const _0x408d62=_0x8e1915,{memberID:_0x3ab845,unitIDs:_0x569c83}=_0x17a9c6;_0x569c83[_0x408d62(0xea)](_0x2307d5=>{const _0x1e4429=_0x408d62;var _0x1f035d;const _0x126eea=this[_0x1e4429(0x1c1)]['get'](_0x2307d5);_0x126eea&&(_0x126eea['delete'](_0x3ab845),(_0x1f035d=this['_ensureSubject'](_0x2307d5))==null||_0x1f035d[_0x1e4429(0x22b)](_0x126eea[_0x1e4429(0x31f)]===0x0?_0x250214[_0x1e4429(0x2c3)][_0x1e4429(0x210)]:_0x250214[_0x1e4429(0x2c3)]['OTHER_CLIENTS_EDITING']));}),this[_0x408d62(0x30d)](_0x3ab845);}[_0x8e1915(0x342)](_0x90a84){const _0x5dd584=_0x8e1915;this[_0x5dd584(0x16d)](_0x90a84[_0x5dd584(0x18e)]);}[_0x8e1915(0x31c)](_0xcf10ef){const _0x4f726f=_0x8e1915;localStorage['setItem'](_0x90c80b,JSON[_0x4f726f(0x183)](_0xcf10ef));}[_0x8e1915(0x154)](){const _0x5ef118=_0x8e1915;this['_heartbeatTimer']=window[_0x5ef118(0x33f)](()=>{const _0x364d00=_0x5ef118;this[_0x364d00(0x31c)]({'type':0x2,'memberID':this[_0x364d00(0x243)]});},_0x21388c);}[_0x8e1915(0x2d3)](_0xbbbfaa){const _0x163f03=_0x8e1915;return this[_0x163f03(0x11b)][_0x163f03(0x207)](_0xbbbfaa)||this[_0x163f03(0x11b)][_0x163f03(0x3af)](_0xbbbfaa,new _0xf2ac11[(_0x163f03(0x229))](_0x250214['UnitStatus'][_0x163f03(0x210)])),this[_0x163f03(0x11b)]['get'](_0xbbbfaa);}}_0x978c78[_0x8e1915(0x340)]=_0x34bcdd,_0x978c78[_0x8e1915(0x29a)]=_0x40acb1,_0x978c78[_0x8e1915(0x1e5)]=_0x5077dc,_0x978c78[_0x8e1915(0x257)]=_0x47dd8e,Object[_0x8e1915(0x1e1)](_0x978c78,Symbol['toStringTag'],{'value':_0x8e1915(0x231)});}));
|