@univerjs-pro/collaboration-client-ui 0.12.2-nightly.202511241159 → 0.12.2-nightly.202511290905
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 +17 -17
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x2cbe(){const _0x20862d=['entries','getMergeData','WebSocketService','univerjs-icon\x20univerjs-icon-','undoState','TRANSFORM_CHANGE_OBSERVABLE_TYPE','source','assignAColorForMemberID','post','REDEMPTION_INVALID_CODE','_drawTextRange','864335LzJAUN','Optional','color','unshift','makeDirty','memberID','engine','length','_scheduleHeartbeat','includes','CHANGESET_REVISION_CONFILICT','_docTransformStateCacheService','combineLatest','Inject','OTHER_CLIENT_EDITING','useObservable','_range','fillRule','roomMembers$','2008LvEXyL','Unknown\x20user','Warning','getLocalCacheKey','UniverSheetsUi','ISnapshotServerService','trim','getDocRanges','setAlpha','_docSkeletonManagerService','getMember','function','collabStatus.notCollab','lineTo','_registerDependencies','shift','addHandlerCallback','_backgroundColor','M0\x200H16V16H0z','debounce','_transformService','_unitStatus','Tooltip','setShapeProps','INVALID_ARGUMENT','CollaborationUIEventId','NO_OTHER_CLIENTS_EDITING','_releaseCalculationLimit','0\x200\x2016\x2016','_logService','_online','currentTheme$','_id','loadOfflineData','Error','YUUMI_ALL_TABLES_IS_INVALID','IConfigService','_labelPosition','ONLINE','history','_createSocketURL','@univerjs/ui','getParam','51741wCGrLJ','FromArray','AWAITING_WITH_PENDING','filter','row','_document','_initCommandExecutedListener','UniverCore','DATA_SOURCE_TOO_LARGE','unit','FETCH_MISS','_docSkeleton','_saveCache','MoveRangeCommandId','push','transformIMECache','m1Prime','_dataLoaderService','SheetSkeletonManagerService','_removeClearOtherTimer','currentUsage','exhaustSavingTask','isTransformMutationsWithChangesetSuccess','getformulaLimitStatusUrl','clearTimeout','ENTITLE_CHAT_LIMIT_EXCEED','height','next','bind','CollaborationEvent','evenodd','replaceDocRanges','INVALID_INVITE_CODE','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','DocSelectionManagerService','unitID','YUUMI_URL_COL_OUT_OF_RANGE','subscribeEvent','YUUMI_NO_CUBOID_FOR_QUESTION','isEditing','IBeforeCloseService','handleIRemoveRow','_getFormulaLimitStatus','enableFrontendLog','rxjs/operators','CollaborationStatus','uni.network.url-service','_initStatusListener','handleDeleteRangeMoveLeft','_configService','send','UniverInstanceType','init','ALREADY_EXISTS','arc','_handleJoinEvent','_scene','measureText','INTERNAL_ERROR','startColumn','UniverCollaborationClientPlugin','_cachedData','symbol','toDisposable','_checkAndWaitForCalculationPermission','ColorKit','maxFormulaLimit','collabStatus.conflict','type','_collabSessionService','MOBILE_VERIFY_CODE_MISMATCH','@univerjs-pro/collaboration','purple.300','_revisionService','_hideTimer','USER_IS_ANONYMOUS','debug','syncEditingCollabCursor','with','?taskId=','children','forEach','executeCommand','@univerjs/drawing','REDEMPTION_CODE_FULLY_REDEEMED','fill','WebBrowserSingleActiveUnitService','clsx','_session','registerRefRange','BrowserCollaborationSocketService','Plugin','roomMembers','@univerjs/docs-ui','unsubscribe','catch','_docStateChangeManagerService','UniverRpc','UPDATE_CURSOR','_sheetSkeletonManagerService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','location','UniverSheets','_textBubble','displayName','getActiveSheet','urlChange$','22ixpWvp','IUniverInstanceService','SessionStatus','REDEMPTION_CODE_HAS_BEEN_CREATED','getSheetId','focused$','NodePositionConvertToRectRange','dispose$','LOCAL_CACHE_INTERVAL','formula.calculation.waiting','green.600','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','CollaborationController','TOO_MANY_REQUESTS','hide','round','ERROR_AGAIN','_refreshCollabCursors','_transformPreviousActiveRange','getMemberID','activeSheet$','getUniverSheetInstance','LICENSE_EXPORT_SIZE_EXCEEDED','NOT_COLLAB','path','_collaborationController','textRanges','_ensureSubject','onRendered','UNIVER_SHEET','_handleEvent','stringify','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','triggerDblclick','TEXT','27903RWzRUT','_localeService','current','size','_taskIds','_cursor','pushState','OTHER_CLIENTS_EDITING','ENTITLE_REPORT_LIMIT_EXCEED','1em','collab-rect-range-','jiqing.500','getSheetObject','BehaviorSubject','getSheetBySheetId','UniverProCollaborationClient','UniverDocs','APPLY_REJECT','unload','defIds','CanceledError','INVITE_CODE_REQUIRED','runId','toString','column','_docTransformSelectionsService','REDEMPTION_USER_NOT_ELIGIBLE','_eventUnsubscribe','_initResize','getCurrentUnitForType','some','_beforeCloseService','ILocalCacheService','IRenderManagerService','_getMergeRange','UNIVER_DOC','USER_NOT_INVITED_CODE','_send','limitInfo','collabStatus.offline','_clearOtherTimers','_removeCollabCursors','getUnit','_syncEditingCollabCursorService','m2Prime','_initDependencies','override','debounceTime','OFFLINE','_context','YUUMI_ASYNCIO_CANCELLED','getUnitId','COMPLETION_FINISHED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','sheetID','AWAITING','replaceState','_hovered','univer-flex\x20univer-items-center','bottom','findNodePositionByCharIndex','RemoteUniscriptService','collaboration-client.offline-data-not-saved','getVpScrollXYInfoByPosToVp','collaboration-client-ui.config','complete','RemoveColCommandId','handleDeleteRangeMoveUp','handleIRemoveCol','url(#$1','_draw','string','wsSessionTicketUrl','getUndoRedoMutationParamsCache','DesktopCollaborationStatusDisplayController','ticket','onPointerLeave$','MUTATION','handleInsertRow','_currentUsage','text','collabCursorState$','44DQXjYN','_themeService','Disposable','ENSURE_SNAPSHOT_EXECUTION','off-line-icon_clip0_910_343','font','DataLoaderService','reason','getSkeleton','moveTo','IMessageService','_hover','YUUMI_RATE_OVER_LIMIT','deepClone','getUnitStatus$','_getScale','width','_handleHover','imageSourceType','_setupBeforeClosingHandler','_initStatusComponent','defineProperty','tag','unhandledrejection','APPLY_NON_SEQUENTIAL_REVISION','_assignedColors','SNAPSHOT_INVALID_SNAPSHOT','eventID','sheetId','@univerjs/design','sessionStatus$','onLocalMutation','_name','delete','beginPath','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','defs','_collaborationSessionService','cursorInfo$','_memberID','parseInt','addEventListener','registerComponent','getCurrent','_maxFormulaLimit','_getAnchorBounding','addObjects','DeleteRangeMoveUpCommandId','onStarting','add','find','getValue','docStateChange$','_docTransformIMECacheService','CONNECTOR_DATA_TOO_LARGE','_setFormulaLimitStatus','xlink:href','mutations','getActiveRange','COLORS','stage','useDependency','_onCursorUpdate','_roomMembers$','72uIEHcI','Failed','Rect','_onCursorDelete','setInterval','DocIMEInputManagerService','isArray','createElement','_scheduleClearOtherTimer','split','on-line-icon_clip0_910_349','NodePositionConvertToCursor','ITransformService','endColumn','LOCAL_CACHE_INTERVAL_KEY','Success','stageInfo','_cursorInfo$','isFormulaId','Subject','getStateCache','getRenderById','white','UnitStatus','DOC_RANGE_TYPE','_updateSubUnitFromURLParams','dispose','RevisionService','backgroundColor','FormulaExecuteStageType','_anchorDot','_monkeyPatchLogService','TEXT_RANGE_LAYER_INDEX','Workbook','mapTo','getCurrentRevOfUnit','setItem','ISocketService','_shapes','getCollabEntity$','throttleTime','SheetsSelectionsService','@univerjs/rpc','collab-text-range-','addObject','SUBMIT_CHANGESET_TIMEOUT','DisposableCollection','fromEvent','_render','setParam','handleInsertCol','get','YUUMI_SUBSCRIPTION_NOT_FOUND','Vector2','/universer-api/license/formula/limit/done','setTimeout','getCellPositionByOffset','resize','onPointerMove$','CollaborationDataLoaderController','_docClipboardService','handleInsertRangeMoveRight','href','createIdentifier','merge','UniverDesign','doc.mutation.rich-text-editing','LICENSE_IMPORT_SIZE_EXCEEDED','JOIN_ROOM_FAILED','collaboration.closeRoom','invokeId','_collabCursorController','Injector','toRgbString','searchParams','InsertRowCommandId','result','params','data','ICommandService','redoState','SetFormulaCalculationStartMutation','getTypeOfUnitAdded$','1179980lNbXMf','removeEventListener','Tools','UniverProCollaborationClientUi','getRangePointData','MOBILE_HAS_BEEN_BOUND','OnLineIcon','save','_httpService','_disabled','_startDocCollabCursor','setStateCache','/universer-api/frontend/logs','PAYMENT_CHANNEL_NOT_SUPPORT','RxDisposable','code','/universer-api/license/formula/limit/status','transformMutationsWithChangeset','event$','_cursorShapes','top','_univerInstanceService','saveTaskMap','session.connection-failed','hovered','CollaborationSessionService','_status$','_toggleOnline','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','url(#off-line-icon_clip0_910_343)','0\x200\x2017\x2016','clearInterval','_injector','_clearPolling','RECT','LICENSE_DISTRO_REJECTED','connectInjector','getOwnPropertyDescriptor','#FFF','EMAIL_VERIFY_CODE_MISMATCH','collabStatus.syncing','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','executionId','createInstance','react/jsx-runtime','getTypeOfUnitDisposed$','PENDING','idSuffix','_initEntityListener','SetDocZoomRatioOperation','PERMISSION_DENIED','newValue','getCollabCursors$','cursorInfo','mask','whenReady','off-line-icon','popstate','_scheduleSaving','runOnServer','replace','_init','_getSessionTicket','setUndoRedoMutationParamsCache','@univerjs/core','IRemoteInstanceService','@univerjs/sheets-ui','set','_getSaveTimeout','_uploadLog','url(#on-line-icon_clip0_910_349)','DependentOn','_lastResponseTimestamp','ENTITLE_CAN_NOT_BUY_LOWER_OTP','serializeRangeWithSheet','INVITE_CODE_HAS_BEEN_UES','getColor','LOGIN_TOKEN_PROCESSING_FAILED','...','_pollingInterval','now','getColorFromTheme','_initUserListener','attrs','DEFAULT_WS_SESSION_TICKET_URL','SOCKET_FAILED_RETRY','transformStateCache','startsWith','selections','currentColor','1568436hVimfS','_instanceService','lineno','REDEMPTION_CODE_INACTIVE','/universer-api/license/formula/limit/start','totalFormulasToCalculate','@univerjs/sheets','UNAUTHENTICATED','transformRemoteChangeset','skeleton','_messageService','/run/','IDocClipboardService','forwardRef','UniverNetwork','LOGIN_FAILED','WebURLService','AUTHORIZE_CODE_ILLEGAL','updateOfflineData','YUUMI_AI_RUN_FAILED','_applyCommand','collaboration.single-unit.warning','currentSkeleton$','_color','yellow.400','subunit','_initUnhandledRejectionListener','DocStateChangeManagerService','range','getRelativeToViewportCoord','registerBeforeClose','_entities','_cursors','_transformHistoryAndStateStack','clipPath','actions','_docSyncEditingCollabCursorService','then','http://www.w3.org/2000/svg','ranges','isTransformMutationFailure','_memberService','ILocalStorageService','406795WAtdYm','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getCellMatrix','DeleteRangeMoveLeftCommandId','CollaborationUIEventService','disableLocalCache','Loading','_hasFormulaInDirtyRanges','blue.400','CONFLICT','UniverIcon','INVITE_CODE_ALREADY_BOUND','_collaborationUIEventService','BuiltInUIPart','permission.content','startRow','_localStorageService','getAncestorScale','transform','Rectangle','translate(.97)','socket$','getViewport','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ACTIVE_UNIT_EVENT_CHANNEL','UNDEFINED','SetTextSelectionsOperation','colorChannel1','collab-text-anchor-','SetWorksheetActivateCommand','Module','_commandService','asObservable','onCommandExecuted','Shape','SUCCESS','InsertRangeMoveDownCommandId','releaseFormulaLimitUrl','mergeOverrideWithDependencies','restore','_saveTaskMap','@univerjs/engine-formula','_entityInit$','PY_RUNTIME_SCRIPT_ERROR','map','drawWith','_anchor','UniverEngineRender','28Xcddgl','origin','_collabCursorState$','_imageIoService','fromEventSubject','_heartbeatTimer','_initEvent','_localCacheService','@univerjs/network','touchDependencies','endRow','onTransformChange$','UniverDrawing','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_transformUndoRedoStack','_selfUnitIDs','isActive','UniverCollaborationClientUIPlugin','_toggleOffline','getFocusedUnit','getConfig','CommandType','assign','_showGuardMessage','getCurrentSelections','[Window\x20Error]:\x20','NOT_FOUND','IURLService','CLOSE_ROOM','onMouseMove','APPLY_PERMISSION_DENIED','transformMutation','APPLY_REVISION_CONFILICT','ENTITLE_DUP_SUBSCRIPTION','body','random','[RemoteUniscriptService]:\x20no\x20focused\x20unit','addClipboardHook','show','entityInit$','_colorAssignService','_updateCollabCursors','_lastPointer','deserializeRangeWithSheet','_updateLocalCursor','pipe','removeParam','name','rxjs','registerDependencies','_unitOnClients','[CollaborationDataLoaderController]','_startSheetCollabCursor','loadUnit','_drawRectRange','handleMoveRange','HTTPService','message','unitId','17385888tUVCWm','subUnitId','collabStatus.synced','error','SetSelectionsOperation','generateRandomId','[Unhandled\x20Rejection]:\x20','DocSkeletonManagerService','_urlService','RegularPolygon','disposeWithMe','_checkCalculationAvailable','black','enableLocalCache','YUUMI_UNABLE_LOAD_URL','LocaleService','values','UniverProCollaboration','colno','_refRangeService','subscribe','session.collaboration-timeout','getCoordByCell','jsx','react','React','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','SheetCollabCursorShape','UNRECOGNIZED','selection','onPointerEnter$','max','transformSelections','_uiPartsService','CURRENT_STATUS_CANNOT_OPERATE','useCallback','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_renderManagerService','amd','join','UniverUi','getUnhiddenWorksheets','HEADER_MENU','_colorIndex','_handleLeaveEvent','EMAIL_HAS_BEEN_BOUND','_initCommandInterceptor','switchMap','toStringTag','RemoveRowCommandId','_drawAnchor','CollaborationSocketService','APPLY_DUPLICATED','svg','REDEMPTION_USER_REDEEM_TIMES_EXCEED','has','_registerRenderDependencies','ENTITLE_INSUFFICIENT_QUOTA','_setupSubUnitSync','registerRenderModule','ENTITLE_NEED_BILLING_ADDRESS','takeUntil','div','_updateURLWithCurrentState','saveOfflineData','SYNCED','none','MessageType','_config','MemberService','requireSession','disposeUnit','SetFormulaCalculationNotificationMutation','WECHAT_HAS_BEEN_BOUND','VIEW_MAIN','useRef','EffectRefRangId','key','[LogService\x20Error]:\x20','ILogService','\x20at\x20','from','DocCollaborationEntity','getOffsetConfig'];_0x2cbe=function(){return _0x20862d;};return _0x2cbe();}function _0x35b2(_0x1928cb,_0xd0ca41){const _0x2cbe44=_0x2cbe();return _0x35b2=function(_0x35b274,_0x5ae71d){_0x35b274=_0x35b274-0xed;let _0x257ffb=_0x2cbe44[_0x35b274];return _0x257ffb;},_0x35b2(_0x1928cb,_0xd0ca41);}(function(_0x1bd9e0,_0x43cef4){const _0x30717d=_0x35b2,_0x43b998=_0x1bd9e0();while(!![]){try{const _0x52fa89=-parseInt(_0x30717d(0x26c))/0x1+parseInt(_0x30717d(0x3ca))/0x2*(-parseInt(_0x30717d(0x338))/0x3)+-parseInt(_0x30717d(0x38a))/0x4*(-parseInt(_0x30717d(0x1a0))/0x5)+-parseInt(_0x30717d(0x175))/0x6*(-parseInt(_0x30717d(0x1d0))/0x7)+parseInt(_0x30717d(0x27f))/0x8*(parseInt(_0x30717d(0x2aa))/0x9)+-parseInt(_0x30717d(0x11b))/0xa*(-parseInt(_0x30717d(0x315))/0xb)+-parseInt(_0x30717d(0x20c))/0xc;if(_0x52fa89===_0x43cef4)break;else _0x43b998['push'](_0x43b998['shift']());}catch(_0x2bde34){_0x43b998['push'](_0x43b998['shift']());}}}(_0x2cbe,0xed335),function(_0x3f5093,_0x57b85f){const _0x4cbcd6=_0x35b2;typeof exports=='object'&&typeof module<'u'?_0x57b85f(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==_0x4cbcd6(0x28a)&&define[_0x4cbcd6(0x233)]?define(['exports',_0x4cbcd6(0x147),'@univerjs-pro/collaboration-client',_0x4cbcd6(0x15b),_0x4cbcd6(0x2a8),_0x4cbcd6(0x201),_0x4cbcd6(0x3a7),_0x4cbcd6(0x224),_0x4cbcd6(0xf2),_0x4cbcd6(0x17b),'@univerjs/engine-render',_0x4cbcd6(0x1d8),_0x4cbcd6(0x307),_0x4cbcd6(0x2fd),_0x4cbcd6(0x2f1),'@univerjs/docs',_0x4cbcd6(0x1c9),_0x4cbcd6(0x2d6),_0x4cbcd6(0x15d)],_0x57b85f):(_0x3f5093=typeof globalThis<'u'?globalThis:_0x3f5093||self,_0x57b85f(_0x3f5093[_0x4cbcd6(0x11e)]={},_0x3f5093[_0x4cbcd6(0x225)],_0x3f5093[_0x4cbcd6(0x347)],_0x3f5093[_0x4cbcd6(0x2b1)],_0x3f5093[_0x4cbcd6(0x235)],_0x3f5093[_0x4cbcd6(0x201)],_0x3f5093[_0x4cbcd6(0x109)],_0x3f5093[_0x4cbcd6(0x225)],_0x3f5093[_0x4cbcd6(0x30b)],_0x3f5093[_0x4cbcd6(0x310)],_0x3f5093[_0x4cbcd6(0x1cf)],_0x3f5093[_0x4cbcd6(0x183)],_0x3f5093['UniverDocsUi'],_0x3f5093[_0x4cbcd6(0x1dc)],_0x3f5093[_0x4cbcd6(0x21d)],_0x3f5093[_0x4cbcd6(0x348)],_0x3f5093['UniverEngineFormula'],_0x3f5093[_0x4cbcd6(0x201)]['operators'],_0x3f5093[_0x4cbcd6(0x283)]));}(this,function(_0x159e3d,_0xa7982b,_0x27635d,_0xfde5a2,_0x1dd723,_0x52a223,_0x2eee56,_0x450fbb,_0x56983f,_0x44123e,_0x12ef37,_0x47e21f,_0x5f2683,_0x1c297c,_0x1d08ae,_0x3c17d2,_0x2d45f6,_0x4871f9,_0x209116){'use strict';const _0x31f2ea=_0x35b2;var _0xcd0f72=Object[_0x31f2ea(0x39f)],_0x1fa59c=(_0x3251fc,_0x42f1e9,_0x2d18f4)=>_0x42f1e9 in _0x3251fc?_0xcd0f72(_0x3251fc,_0x42f1e9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d18f4}):_0x3251fc[_0x42f1e9]=_0x2d18f4,_0x25ee06=(_0x3f7b5b,_0x277959,_0x24953f)=>_0x1fa59c(_0x3f7b5b,typeof _0x277959!=_0x31f2ea(0x2e8)?_0x277959+'':_0x277959,_0x24953f);function _0x583906({ref:_0x52652f,..._0x245b17}){const _0x26ac20=_0x31f2ea,{icon:_0x22cdec,id:_0x1b8bf5,className:_0x117fb8,extend:_0x3c110a,..._0x2e51d4}=_0x245b17,_0xc39000=(_0x26ac20(0x264)+_0x1b8bf5+'\x20'+(_0x117fb8||''))[_0x26ac20(0x285)](),_0x1ee365=_0x450fbb[_0x26ac20(0x258)]('_'+_0x15600d());return _0x461751(_0x22cdec,''+_0x1b8bf5,{'defIds':_0x22cdec[_0x26ac20(0x34b)],'idSuffix':_0x1ee365[_0x26ac20(0x33a)]},{'ref':_0x52652f,'className':_0xc39000,..._0x2e51d4},_0x3c110a);}function _0x461751(_0x4e0672,_0x4b774b,_0x161c1d,_0xcb15e1,_0x2e75b3){const _0xb01dfe=_0x31f2ea;return _0x450fbb[_0xb01dfe(0x3d1)](_0x4e0672['tag'],{'key':_0x4b774b,..._0x298aef(_0x4e0672,_0x161c1d,_0x2e75b3),..._0xcb15e1},(_0x4fabfe(_0x4e0672,_0x161c1d)[_0xb01dfe(0x2fa)]||[])[_0xb01dfe(0x1cc)]((_0x52dd1c,_0x3928b7)=>_0x461751(_0x52dd1c,_0x4b774b+'-'+_0x4e0672['tag']+'-'+_0x3928b7,_0x161c1d,void 0x0,_0x2e75b3)));}function _0x298aef(_0x4f75fe,_0x4c9b32,_0x3f4826){const _0x3e9df2=_0x31f2ea,_0x4ea38c={..._0x4f75fe['attrs']};_0x3f4826!=null&&_0x3f4826[_0x3e9df2(0x1bb)]&&_0x4ea38c[_0x3e9df2(0x2ff)]===_0x3e9df2(0x1bb)&&(_0x4ea38c[_0x3e9df2(0x2ff)]=_0x3f4826[_0x3e9df2(0x1bb)]),_0x4f75fe['tag']===_0x3e9df2(0x151)&&_0x4ea38c['id']&&(_0x4ea38c['id']=_0x4ea38c['id']+_0x4c9b32[_0x3e9df2(0x14a)]),Object['entries'](_0x4ea38c)['forEach'](([_0x366673,_0x4db62f])=>{const _0x5d782c=_0x3e9df2;_0x366673===_0x5d782c(0x151)&&typeof _0x4db62f==_0x5d782c(0x37f)&&(_0x4ea38c[_0x366673]=_0x4db62f[_0x5d782c(0x157)](/url\(#(.*)\)/,_0x5d782c(0x37d)+_0x4c9b32[_0x5d782c(0x14a)]+')'));});const {defIds:_0x1dacb0}=_0x4c9b32;return!_0x1dacb0||_0x1dacb0[_0x3e9df2(0x273)]===0x0||(_0x4f75fe[_0x3e9df2(0x3a0)]==='use'&&_0x4ea38c[_0x3e9df2(0x3c2)]&&(_0x4ea38c[_0x3e9df2(0x3c2)]=_0x4ea38c['xlink:href']+_0x4c9b32[_0x3e9df2(0x14a)]),Object[_0x3e9df2(0x261)](_0x4ea38c)['forEach'](([_0x18e034,_0xb42c71])=>{const _0x50776a=_0x3e9df2;typeof _0xb42c71=='string'&&(_0x4ea38c[_0x18e034]=_0xb42c71['replace'](/url\(#(.*)\)/,'url(#$1'+_0x4c9b32[_0x50776a(0x14a)]+')'));})),_0x4ea38c;}function _0x4fabfe(_0x414e60,_0x94071e){const _0x3bcf89=_0x31f2ea;var _0x242743;const {defIds:_0x177d98}=_0x94071e;return!_0x177d98||_0x177d98[_0x3bcf89(0x273)]===0x0?_0x414e60:_0x414e60[_0x3bcf89(0x3a0)]===_0x3bcf89(0x3ae)&&((_0x242743=_0x414e60[_0x3bcf89(0x2fa)])!=null&&_0x242743['length'])?{..._0x414e60,'children':_0x414e60[_0x3bcf89(0x2fa)]['map'](_0x5ba747=>typeof _0x5ba747['attrs']['id']==_0x3bcf89(0x37f)&&_0x177d98&&_0x177d98[_0x3bcf89(0x275)](_0x5ba747['attrs']['id'])?{..._0x5ba747,'attrs':{..._0x5ba747['attrs'],'id':_0x5ba747[_0x3bcf89(0x16e)]['id']+_0x94071e[_0x3bcf89(0x14a)]}}:_0x5ba747)}:_0x414e60;}function _0x15600d(){const _0x21b582=_0x31f2ea;return Math[_0x21b582(0x1f4)]()[_0x21b582(0x34f)](0x24)['substring'](0x2,0x8);}_0x583906['displayName']=_0x31f2ea(0x1aa);const _0x48c202={'tag':_0x31f2ea(0x242),'attrs':{'xmlns':_0x31f2ea(0x19b),'fill':_0x31f2ea(0x24f),'viewBox':_0x31f2ea(0x29b),'width':_0x31f2ea(0x341),'height':_0x31f2ea(0x341)},'children':[{'tag':'g','attrs':{'clipPath':_0x31f2ea(0x138)},'children':[{'tag':'path','attrs':{'stroke':_0x31f2ea(0x174),'d':_0x31f2ea(0x3ad),'strokeLinecap':_0x31f2ea(0x324),'strokeLinejoin':_0x31f2ea(0x324),'strokeWidth':1.2}}]},{'tag':_0x31f2ea(0x3ae),'attrs':{},'children':[{'tag':_0x31f2ea(0x197),'attrs':{'id':_0x31f2ea(0x38e)},'children':[{'tag':_0x31f2ea(0x32d),'attrs':{'fill':_0x31f2ea(0x3e0),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x31f2ea(0x38e)]},_0x2ccef3=_0x450fbb[_0x31f2ea(0x182)](function(_0x29cdaa,_0x57f2ff){const _0x446e6e=_0x31f2ea;return _0x450fbb[_0x446e6e(0x3d1)](_0x583906,Object[_0x446e6e(0x1e7)]({},_0x29cdaa,{'id':_0x446e6e(0x153),'ref':_0x57f2ff,'icon':_0x48c202}));});_0x2ccef3[_0x31f2ea(0x312)]='OffLineIcon';const _0x1de48c={'tag':'svg','attrs':{'xmlns':_0x31f2ea(0x19b),'fill':_0x31f2ea(0x24f),'viewBox':_0x31f2ea(0x139),'width':_0x31f2ea(0x341),'height':_0x31f2ea(0x341)},'children':[{'tag':'g','attrs':{'clipPath':_0x31f2ea(0x161)},'children':[{'tag':'path','attrs':{'stroke':_0x31f2ea(0x174),'d':_0x31f2ea(0x335),'strokeLinecap':_0x31f2ea(0x324),'strokeLinejoin':_0x31f2ea(0x324),'strokeWidth':1.2}}]},{'tag':_0x31f2ea(0x3ae),'attrs':{},'children':[{'tag':_0x31f2ea(0x197),'attrs':{'id':_0x31f2ea(0x3d4)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x31f2ea(0x291),'transform':_0x31f2ea(0x1b4)}}]}]}],'defIds':[_0x31f2ea(0x3d4)]},_0x3ac156=_0x450fbb['forwardRef'](function(_0x50a057,_0x590104){const _0x3ca06f=_0x31f2ea;return _0x450fbb[_0x3ca06f(0x3d1)](_0x583906,Object[_0x3ca06f(0x1e7)]({},_0x50a057,{'id':'on-line-icon','ref':_0x590104,'icon':_0x1de48c}));});_0x3ac156[_0x31f2ea(0x312)]=_0x31f2ea(0x121);function _0x3c6603(_0x55e596){const _0x41ae8d=_0x31f2ea;switch(_0x55e596){case _0x27635d[_0x41ae8d(0x2d7)][_0x41ae8d(0x368)]:return _0x41ae8d(0x35f);case _0x27635d[_0x41ae8d(0x2d7)][_0x41ae8d(0x1a9)]:return _0x41ae8d(0x2ed);case _0x27635d[_0x41ae8d(0x2d7)][_0x41ae8d(0x2b4)]:return'collabStatus.fetchMiss';case _0x27635d[_0x41ae8d(0x2d7)]['NOT_COLLAB']:return _0x41ae8d(0x28b);case _0x27635d[_0x41ae8d(0x2d7)][_0x41ae8d(0x36f)]:case _0x27635d[_0x41ae8d(0x2d7)][_0x41ae8d(0x2ac)]:return _0x41ae8d(0x143);case _0x27635d['CollaborationStatus'][_0x41ae8d(0x24e)]:case _0x27635d['CollaborationStatus'][_0x41ae8d(0x149)]:return _0x41ae8d(0x20e);}}function _0x1976a1(_0xa886f7){const _0x4a9a4e=_0x31f2ea,{status$:_0x4640a0}=_0xa886f7,_0x5b9f71=_0x1dd723[_0x4a9a4e(0x27b)](_0x4640a0,_0x27635d['CollaborationStatus'][_0x4a9a4e(0x32c)]),_0x2bb235=_0x1dd723[_0x4a9a4e(0x3c7)](_0xfde5a2[_0x4a9a4e(0x21b)]),_0x48c092=_0x1dd723['useDependency'](_0x27635d[_0x4a9a4e(0x134)]),_0x5699a0=_0x5b9f71!==_0x27635d[_0x4a9a4e(0x2d7)][_0x4a9a4e(0x368)],_0x2168fa=_0x2bb235['t'](_0x3c6603(_0x5b9f71)),_0x49a609=_0x5699a0?_0xa7982b[_0x4a9a4e(0x223)](_0x3ac156,{}):_0xa7982b[_0x4a9a4e(0x223)](_0x2ccef3,{}),_0x15f2f3=_0x450fbb[_0x4a9a4e(0x230)](()=>{_0x5699a0||_0x48c092['reconnect']();},[_0x5699a0,_0x48c092]);function _0x16e3ab(){const _0x53777a=_0x4a9a4e;return _0xa7982b['jsxs'](_0x53777a(0x24b),{'className':_0x53777a(0x372),'onClick':_0x15f2f3,'children':[_0xa7982b[_0x53777a(0x223)](_0x53777a(0x24b),{'className':_0x2eee56[_0x53777a(0x301)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x5699a0,'univer-text-red-500':!_0x5699a0}),'children':_0x49a609}),_0xa7982b['jsx'](_0x53777a(0x24b),{'className':_0x53777a(0x30e),'children':_0x2168fa})]});}return _0x5699a0?_0x16e3ab():_0xa7982b['jsx'](_0x2eee56[_0x4a9a4e(0x295)],{'title':_0x2bb235['t']('collab-client.tooltip.reconnect'),'children':_0x16e3ab()});}var _0x1c59f8=Object[_0x31f2ea(0x140)],_0x484a5e=(_0x2607b7,_0xdcf6f2,_0x3f3a71,_0xc3a318)=>{const _0x16d137=_0x31f2ea;for(var _0x4bc8ca=_0xc3a318>0x1?void 0x0:_0xc3a318?_0x1c59f8(_0xdcf6f2,_0x3f3a71):_0xdcf6f2,_0x4db3ca=_0x2607b7[_0x16d137(0x273)]-0x1,_0x195169;_0x4db3ca>=0x0;_0x4db3ca--)(_0x195169=_0x2607b7[_0x4db3ca])&&(_0x4bc8ca=_0x195169(_0x4bc8ca)||_0x4bc8ca);return _0x4bc8ca;},_0x2697a9=(_0x48daa1,_0x70e310)=>(_0x13f512,_0x50b3b9)=>_0x70e310(_0x13f512,_0x50b3b9,_0x48daa1);_0x159e3d['DesktopCollaborationStatusDisplayController']=class extends _0xfde5a2['Disposable']{constructor(_0x40afec,_0x33c64e,_0x2a3c6a,_0x575341){const _0x1d04c9=_0x31f2ea;super(),_0x25ee06(this,_0x1d04c9(0x135),new _0x52a223['BehaviorSubject'](_0x27635d[_0x1d04c9(0x2d7)]['NOT_COLLAB'])),(this[_0x1d04c9(0x130)]=_0x40afec,this['_injector']=_0x33c64e,this[_0x1d04c9(0x32e)]=_0x2a3c6a,this[_0x1d04c9(0x22e)]=_0x575341,this['_initStatusComponent'](),this[_0x1d04c9(0x2d9)]());}['_initStatusListener'](){const _0x5ee14f=_0x31f2ea;this[_0x5ee14f(0x216)](this['_univerInstanceService'][_0x5ee14f(0x31a)][_0x5ee14f(0x1fe)](_0x52a223[_0x5ee14f(0x23c)](()=>{const _0x19deb0=_0x5ee14f,_0x39ce3a=this[_0x19deb0(0x130)][_0x19deb0(0x1e4)]();return _0x39ce3a?this[_0x19deb0(0x32e)][_0x19deb0(0xef)](_0x39ce3a[_0x19deb0(0x36b)]()):_0x52a223['of'](null);}),_0x52a223[_0x5ee14f(0x23c)](_0x13dc08=>_0x13dc08?_0x13dc08['status$']:_0x52a223['of'](_0x27635d[_0x5ee14f(0x2d7)][_0x5ee14f(0x32c)])))[_0x5ee14f(0x220)](_0x49b6f9=>{this['_status$']['next'](_0x49b6f9);}));}[_0x31f2ea(0x39e)](){const _0x5efd24=_0x31f2ea;this[_0x5efd24(0x216)](this['_uiPartsService'][_0x5efd24(0x3b4)](_0x1dd723[_0x5efd24(0x1ad)][_0x5efd24(0x237)],()=>_0x1dd723[_0x5efd24(0x13f)](_0x5e4d0c({'status$':this[_0x5efd24(0x135)]['asObservable']()}),this[_0x5efd24(0x13b)])));}},_0x159e3d['DesktopCollaborationStatusDisplayController']=_0x484a5e([_0x2697a9(0x0,_0xfde5a2['IUniverInstanceService']),_0x2697a9(0x1,_0xfde5a2[_0x31f2ea(0x279)](_0xfde5a2['Injector'])),_0x2697a9(0x2,_0xfde5a2[_0x31f2ea(0x279)](_0x27635d[_0x31f2ea(0x321)])),_0x2697a9(0x3,_0x1dd723['IUIPartsService'])],_0x159e3d[_0x31f2ea(0x382)]);function _0x5e4d0c(_0x38cfea){const {status$:_0x5b18b5}=_0x38cfea;return function(){return _0xa7982b['jsx'](_0x1976a1,{'status$':_0x5b18b5});};}const _0x4e0db9=_0xfde5a2[_0x31f2ea(0x107)](_0x31f2ea(0x2d8));var _0x341cee=Object[_0x31f2ea(0x140)],_0x18a561=(_0x2c94ee,_0x5ded7c,_0x9cfc3b,_0x312461)=>{const _0x14d555=_0x31f2ea;for(var _0x4548bb=_0x312461>0x1?void 0x0:_0x312461?_0x341cee(_0x5ded7c,_0x9cfc3b):_0x5ded7c,_0x3294df=_0x2c94ee[_0x14d555(0x273)]-0x1,_0x3717b5;_0x3294df>=0x0;_0x3294df--)(_0x3717b5=_0x2c94ee[_0x3294df])&&(_0x4548bb=_0x3717b5(_0x4548bb)||_0x4548bb);return _0x4548bb;},_0x573b83=(_0x5f20a1,_0x2d4453)=>(_0x2fc5ab,_0x1e0be2)=>_0x2d4453(_0x2fc5ab,_0x1e0be2,_0x5f20a1);_0x159e3d[_0x31f2ea(0x103)]=class extends _0xfde5a2['RxDisposable']{constructor(_0x14e563,_0x229afb,_0xc0b95b,_0x1dadec,_0x4077ee){const _0x4e1ac7=_0x31f2ea;super(),this[_0x4e1ac7(0x214)]=_0x14e563,this[_0x4e1ac7(0x29c)]=_0x229afb,this[_0x4e1ac7(0x1bf)]=_0xc0b95b,this[_0x4e1ac7(0x2bb)]=_0x1dadec,_0x4077ee?_0x4077ee==null||_0x4077ee[_0x4e1ac7(0x152)]()[_0x4e1ac7(0x19a)](()=>this['_init']()):(this[_0x4e1ac7(0x29c)][_0x4e1ac7(0x2f6)](_0x4e1ac7(0x204),_0x4e1ac7(0x320)),this[_0x4e1ac7(0x158)]());}async[_0x31f2ea(0x158)](){const _0x18337e=_0x31f2ea,_0x14b2ff=this[_0x18337e(0x214)][_0x18337e(0x2a9)](_0x18337e(0x2b3)),_0x1b465f=this['_urlService'][_0x18337e(0x2a9)](_0x18337e(0x2ee)),_0x4d36e6=this[_0x18337e(0x214)][_0x18337e(0x2a9)](_0x18337e(0x18e));if(!_0x14b2ff||!_0x1b465f){this[_0x18337e(0x29c)][_0x18337e(0x2f6)](_0x18337e(0x204),_0x18337e(0x226));return;}const _0x15b99f=await this[_0x18337e(0x2bb)][_0x18337e(0x206)](_0x14b2ff,Number(_0x1b465f),_0x4d36e6);_0x15b99f&&_0x15b99f instanceof _0xfde5a2[_0x18337e(0x3eb)]&&this[_0x18337e(0x247)](_0x15b99f);}async[_0x31f2ea(0x247)](_0x2ce0c6){const _0xcbf1d6=_0x31f2ea;await this[_0xcbf1d6(0x3e3)](_0x2ce0c6),_0x2ce0c6[_0xcbf1d6(0x329)][_0xcbf1d6(0x1fe)](_0x52a223[_0xcbf1d6(0x24a)](this[_0xcbf1d6(0x31c)]))[_0xcbf1d6(0x220)](_0x572a79=>{_0x572a79&&this['_updateURLWithCurrentState'](_0x572a79);}),this[_0xcbf1d6(0x214)][_0xcbf1d6(0x314)]['pipe'](_0x52a223[_0xcbf1d6(0x24a)](this[_0xcbf1d6(0x31c)]))[_0xcbf1d6(0x220)](()=>this[_0xcbf1d6(0x3e3)](_0x2ce0c6));}[_0x31f2ea(0x24c)](_0x19aefb,_0x6df225=!0x1){const _0x198d76=_0x31f2ea,_0xbfad99=this[_0x198d76(0x214)]['getParam'](_0x198d76(0x18e));_0x19aefb[_0x198d76(0x319)]()!==_0xbfad99&&this[_0x198d76(0x214)]['setParam'](_0x198d76(0x18e),_0x19aefb[_0x198d76(0x319)](),_0x6df225);}async[_0x31f2ea(0x3e3)](_0x17fc21){const _0x5a0711=_0x31f2ea;var _0x2b2551;const _0x24cace=this[_0x5a0711(0x214)][_0x5a0711(0x2a9)](_0x5a0711(0x18e));if(!_0x24cace||!_0x17fc21[_0x5a0711(0x346)](_0x24cace)){const _0x169fa7=_0x17fc21[_0x5a0711(0x236)]()[0x0],_0x1cc305=_0x17fc21[_0x5a0711(0x346)](_0x169fa7);if(!_0x1cc305)return;this[_0x5a0711(0x24c)](_0x1cc305,!0x0),await this[_0x5a0711(0x1bf)]['executeCommand'](_0x44123e[_0x5a0711(0x1bd)]['id'],{'unitId':_0x17fc21[_0x5a0711(0x36b)](),'subUnitId':_0x169fa7});return;}((_0x2b2551=_0x17fc21[_0x5a0711(0x313)]())==null?void 0x0:_0x2b2551['getSheetId']())!==_0x24cace&&await this[_0x5a0711(0x1bf)]['executeCommand'](_0x44123e[_0x5a0711(0x1bd)]['id'],{'unitId':_0x17fc21[_0x5a0711(0x36b)](),'subUnitId':_0x24cace});}},_0x159e3d[_0x31f2ea(0x103)]=_0x18a561([_0x573b83(0x0,_0x4e0db9),_0x573b83(0x1,_0xfde5a2['ILogService']),_0x573b83(0x2,_0xfde5a2[_0x31f2ea(0x117)]),_0x573b83(0x3,_0xfde5a2[_0x31f2ea(0x279)](_0x27635d[_0x31f2ea(0x390)])),_0x573b83(0x4,_0xfde5a2[_0x31f2ea(0x26d)](_0x56983f[_0x31f2ea(0x15c)]))],_0x159e3d[_0x31f2ea(0x103)]);var _0x32fc62=Object[_0x31f2ea(0x140)],_0x5a7a5d=(_0x207a79,_0x4607e4,_0x24f244,_0x11d2ee)=>{for(var _0x9416c5=_0x11d2ee>0x1?void 0x0:_0x11d2ee?_0x32fc62(_0x4607e4,_0x24f244):_0x4607e4,_0xa2e9fd=_0x207a79['length']-0x1,_0x15fae8;_0xa2e9fd>=0x0;_0xa2e9fd--)(_0x15fae8=_0x207a79[_0xa2e9fd])&&(_0x9416c5=_0x15fae8(_0x9416c5)||_0x9416c5);return _0x9416c5;},_0x742dfd=(_0xe7ea15,_0x11a699)=>(_0x2b13a0,_0x2f457c)=>_0x11a699(_0x2b13a0,_0x2f457c,_0xe7ea15);let _0x5c2270=class extends _0xfde5a2[_0x31f2ea(0x129)]{constructor(_0x19b7d3,_0x2b0fa3){const _0x1dd398=_0x31f2ea;super(),this[_0x1dd398(0x104)]=_0x19b7d3,this[_0x1dd398(0x1d3)]=_0x2b0fa3,this[_0x1dd398(0x158)]();}[_0x31f2ea(0x158)](){const _0x3f203e=_0x31f2ea,_0x48951a=this;this[_0x3f203e(0x216)](this[_0x3f203e(0x104)][_0x3f203e(0x1f6)]({'onBeforePasteImage':async _0x421dcc=>{const _0x7d22c0=_0x3f203e,_0x532e0c=await _0x48951a[_0x7d22c0(0x1d3)]['saveImage'](_0x421dcc);return _0x532e0c?{'source':_0x532e0c[_0x7d22c0(0x267)],'imageSourceType':_0x532e0c[_0x7d22c0(0x39c)]}:null;}}));}};_0x5c2270=_0x5a7a5d([_0x742dfd(0x0,_0x5f2683[_0x31f2ea(0x181)]),_0x742dfd(0x1,_0x1c297c['IImageIoService'])],_0x5c2270);const _0x25aa62=[_0x31f2ea(0x2f2),_0x31f2ea(0x343),_0x31f2ea(0x31f),'red.300',_0x31f2ea(0x1a8),_0x31f2ea(0x18d)];class _0x55865d extends _0xfde5a2[_0x31f2ea(0x38c)]{constructor(){const _0x4327bb=_0x31f2ea;super(...arguments),_0x25ee06(this,_0x4327bb(0x3a3),new Map()),_0x25ee06(this,_0x4327bb(0x238),0x0);}[_0x31f2ea(0x268)](_0x113d87){const _0x179cfc=_0x31f2ea;if(this[_0x179cfc(0x3a3)][_0x179cfc(0x244)](_0x113d87))return this[_0x179cfc(0x3a3)]['get'](_0x113d87);const _0x3aac65=_0x25aa62[this['_colorIndex']];return this[_0x179cfc(0x238)]=(this[_0x179cfc(0x238)]+0x1)%_0x25aa62['length'],this[_0x179cfc(0x3a3)][_0x179cfc(0x15e)](_0x113d87,_0x3aac65),_0x3aac65;}}function _0x140aaa(_0x57b61c){const _0x5d780f=_0x31f2ea;let _0x14a282='';for(const _0x39ac23 of _0x57b61c){const {startOffset:_0x922edd,endOffset:_0x3eb5f2,isActive:_0x116ea0,rangeType:_0x300fa6,segmentId:_0x2367a0,segmentPage:_0x4fee3c}=_0x39ac23;_0x14a282[_0x5d780f(0x273)]&&(_0x14a282+=','),_0x14a282+=_0x922edd+':'+_0x3eb5f2+':'+(_0x116ea0?'1':'0')+':'+_0x300fa6+':'+_0x2367a0+':'+_0x4fee3c;}return _0x14a282;}function _0x2d5ac9(_0x13571d){const _0x374df9=_0x31f2ea,_0x1ac6e8=_0x13571d[_0x374df9(0x3d3)](','),_0x4dc827=[];for(const _0x2761f2 of _0x1ac6e8){const [_0x4d681c,_0x39875b,_0x1dab18,_0x337768,_0x7847f4,_0x5d3856]=_0x2761f2[_0x374df9(0x3d3)](':');_0x4dc827[_0x374df9(0x2b8)]({'startOffset':Number(_0x4d681c),'endOffset':Number(_0x39875b),'collapsed':_0x4d681c===_0x39875b,'isActive':_0x1dab18==='1','rangeType':_0x337768===_0xfde5a2['DOC_RANGE_TYPE'][_0x374df9(0x337)]?_0xfde5a2[_0x374df9(0x3e2)][_0x374df9(0x337)]:_0xfde5a2['DOC_RANGE_TYPE'][_0x374df9(0x13d)],'segmentId':typeof _0x7847f4=='string'?String(_0x7847f4):'','segmentPage':Number(_0x5d3856!=null?_0x5d3856:-0x1)});}return _0x4dc827[_0x374df9(0x356)](_0xdc5822=>_0xdc5822[_0x374df9(0x1e1)])||(_0x4dc827[0x0][_0x374df9(0x1e1)]=!0x0),_0x4dc827;}class _0x1e8b6e extends _0xfde5a2[_0x31f2ea(0x129)]{constructor(){const _0x515295=_0x31f2ea;super(...arguments),_0x25ee06(this,_0x515295(0x1d2),new _0x52a223[(_0x515295(0x345))](null)),_0x25ee06(this,_0x515295(0x389),this[_0x515295(0x1d2)][_0x515295(0x1c0)]());}['syncEditingCollabCursor'](_0xbf5807){const _0x38fd64=_0x31f2ea,{unitID:_0x549476,memberID:_0x595ae9,textRanges:_0x33eb28}=_0xbf5807,_0x1754a1=_0x140aaa(_0x33eb28);if(_0x1754a1==='')return;const _0x34e7da={'unitID':_0x549476,'memberID':_0x595ae9,'selection':_0x1754a1};this[_0x38fd64(0x1d2)]['next'](_0x34e7da);}}var _0x168954=Object['getOwnPropertyDescriptor'],_0x4bec10=(_0x96dc18,_0x40b7d5,_0x31c659,_0x5d21ec)=>{const _0x3614c7=_0x31f2ea;for(var _0x10d737=_0x5d21ec>0x1?void 0x0:_0x5d21ec?_0x168954(_0x40b7d5,_0x31c659):_0x40b7d5,_0x4ff7be=_0x96dc18[_0x3614c7(0x273)]-0x1,_0xc22f40;_0x4ff7be>=0x0;_0x4ff7be--)(_0xc22f40=_0x96dc18[_0x4ff7be])&&(_0x10d737=_0xc22f40(_0x10d737)||_0x10d737);return _0x10d737;},_0x4c72bb=(_0x2380c0,_0x2e0638)=>(_0x5b6972,_0x23c7f0)=>_0x2e0638(_0x5b6972,_0x23c7f0,_0x2380c0);const _0x155547=0x12c,_0x4fd8d0=0x64;let _0x162b0d=class extends _0xfde5a2[_0x31f2ea(0x129)]{constructor(_0x1a32ba,_0x2abf4d,_0x1a97a6,_0x33d308,_0x35257d,_0x52fe05,_0x577ad5,_0x2fc807,_0x3ec019){const _0x11d7d2=_0x31f2ea;super(),_0x25ee06(this,_0x11d7d2(0x29d),!0x1),_0x25ee06(this,_0x11d7d2(0x158),!0x1),_0x25ee06(this,_0x11d7d2(0x3db),new _0x52a223['BehaviorSubject'](new Map())),_0x25ee06(this,_0x11d7d2(0x3b0),this[_0x11d7d2(0x3db)][_0x11d7d2(0x1c0)]()),_0x25ee06(this,_0x11d7d2(0x3c9),new _0x52a223[(_0x11d7d2(0x345))]([])),_0x25ee06(this,'roomMembers$',this[_0x11d7d2(0x3c9)][_0x11d7d2(0x1fe)](_0x52a223['debounceTime'](_0x155547))),_0x25ee06(this,_0x11d7d2(0x1fd),_0xfde5a2[_0x11d7d2(0x292)](_0x4185cc=>{const _0x3308ec=_0x11d7d2,_0xc2f8fb={'eventID':_0x1d08ae[_0x3308ec(0x2c7)][_0x3308ec(0x30c)],'data':{'unitID':this[_0x3308ec(0x2cd)],'memberID':this[_0x3308ec(0x302)][_0x3308ec(0x328)](),'selection':_0x140aaa(_0x4185cc)}};this[_0x3308ec(0x302)][_0x3308ec(0x2dc)](_0xc2f8fb,this[_0x3308ec(0x2cd)]);},_0x4fd8d0)),(this[_0x11d7d2(0x2cd)]=_0x1a32ba,this[_0x11d7d2(0x302)]=_0x2abf4d,this[_0x11d7d2(0x13b)]=_0x1a97a6,this['_colorAssignService']=_0x33d308,this[_0x11d7d2(0x19e)]=_0x35257d,this[_0x11d7d2(0x363)]=_0x52fe05,this[_0x11d7d2(0x293)]=_0x577ad5,this[_0x11d7d2(0x130)]=_0x2fc807,this[_0x11d7d2(0x1bf)]=_0x3ec019);}get[_0x31f2ea(0x150)](){const _0x3ba955=_0x31f2ea;return this[_0x3ba955(0x3db)][_0x3ba955(0x3bd)]();}get[_0x31f2ea(0x306)](){const _0x3ef0f1=_0x31f2ea;return this[_0x3ef0f1(0x3c9)]['getValue']();}[_0x31f2ea(0x3e4)](){const _0x358360=_0x31f2ea;super[_0x358360(0x3e4)](),this[_0x358360(0x3db)]['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x358360(0x3c9)][_0x358360(0x2c5)]([]),this['_roomMembers$'][_0x358360(0x379)]();}[_0x31f2ea(0x2de)](){const _0x3ca8a8=_0x31f2ea;this[_0x3ca8a8(0x158)]||(this[_0x3ca8a8(0x158)]=!0x0,this[_0x3ca8a8(0x302)][_0x3ca8a8(0x3a8)][_0x3ca8a8(0x1fe)](_0x52a223['takeUntil'](this[_0x3ca8a8(0x31c)]))[_0x3ca8a8(0x220)](_0x1f3e73=>{const _0x54cf6b=_0x3ca8a8;_0x1f3e73===_0x27635d[_0x54cf6b(0x317)][_0x54cf6b(0x2a5)]?this['_toggleOnline']():this[_0x54cf6b(0x1e3)]();}),this['_session'][_0x3ca8a8(0x12d)][_0x3ca8a8(0x1fe)](_0x52a223[_0x3ca8a8(0x24a)](this[_0x3ca8a8(0x31c)]))[_0x3ca8a8(0x220)](_0x2726e9=>{const _0x4d31ec=_0x3ca8a8,_0x4d04af=_0x2726e9['eventID'];_0x4d04af===_0x1d08ae[_0x4d31ec(0x2c7)][_0x4d31ec(0x30c)]&&this[_0x4d31ec(0x3c8)](_0x2726e9),_0x4d04af===_0x1d08ae[_0x4d31ec(0x2c7)]['USERS_LEAVE']&&this[_0x4d31ec(0x3cd)](_0x2726e9);}),this[_0x3ca8a8(0x216)](this['_commandService'][_0x3ca8a8(0x1c1)](_0x104e94=>{const _0x4129d0=_0x3ca8a8,_0x1d743d=_0x104e94[_0x4129d0(0x115)];_0x1d743d!=null&&this['_online']&&_0x104e94['id']===_0x3c17d2[_0x4129d0(0x1ba)]['id']&&_0x1d743d[_0x4129d0(0x20b)]===this[_0x4129d0(0x2cd)]&&_0x1d743d[_0x4129d0(0x2d1)]===!0x1&&_0x1d743d[_0x4129d0(0x19c)][_0x4129d0(0x273)]>0x0&&this[_0x4129d0(0x1fd)](_0x1d743d[_0x4129d0(0x19c)]);})),this[_0x3ca8a8(0x363)][_0x3ca8a8(0x389)][_0x3ca8a8(0x1fe)](_0x52a223['takeUntil'](this[_0x3ca8a8(0x31c)]))[_0x3ca8a8(0x220)](_0x23aebb=>{const _0x1eef6d=_0x3ca8a8;if((_0x23aebb==null?void 0x0:_0x23aebb[_0x1eef6d(0x2cd)])!==this[_0x1eef6d(0x2cd)])return;const _0x231f52={'eventID':_0x1d08ae[_0x1eef6d(0x2c7)][_0x1eef6d(0x30c)],'data':_0x23aebb};this['_onCursorUpdate'](_0x231f52);}),this['disposeWithMe'](this[_0x3ca8a8(0x1bf)][_0x3ca8a8(0x1c1)](_0x34cb27=>{const _0x14f2a8=_0x3ca8a8;if(_0x34cb27['params']==null)return;const _0xb6cd55=_0x34cb27['params'];if(_0x34cb27['id']!==_0x3c17d2['RichTextEditingMutation']['id']||_0xb6cd55[_0x14f2a8(0x20b)]!==this[_0x14f2a8(0x2cd)])return;const _0x52d16e={'id':'doc.mutation.rich-text-editing','params':_0xb6cd55},_0x4e2056=this[_0x14f2a8(0x150)];for(const [_0x370cde,_0x59608b]of _0x4e2056){const _0x2baa23={'id':_0x14f2a8(0x10a),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x59608b['ranges']}},_0x51a8d0=this[_0x14f2a8(0x293)][_0x14f2a8(0x1f0)](_0x52d16e,_0x2baa23,!0x1);if(_0x1d08ae[_0x14f2a8(0x19d)](_0x51a8d0))throw _0x51a8d0[_0x14f2a8(0x20f)];_0x4e2056['set'](_0x370cde,{..._0x59608b,'ranges':_0x51a8d0[_0x14f2a8(0x364)]['params'][_0x14f2a8(0x32f)]});}queueMicrotask(()=>{const _0x54f5b7=_0x14f2a8;this[_0x54f5b7(0x3db)][_0x54f5b7(0x2c5)](_0x4e2056);});})));}[_0x31f2ea(0x3c8)](_0x3f69b6){const _0x50aaab=_0x31f2ea;var _0x344677,_0x5f024f;const {memberID:_0x5489c9,selection:_0x183ad3}=_0x3f69b6[_0x50aaab(0x116)],_0x3aa345=_0x2d5ac9(_0x183ad3),_0xa1f942=(_0x5f024f=(_0x344677=this[_0x50aaab(0x19e)][_0x50aaab(0x289)](this[_0x50aaab(0x2cd)],_0x5489c9))==null?void 0x0:_0x344677[_0x50aaab(0x200)])!=null?_0x5f024f:_0x50aaab(0x280),_0x59eb62={'color':this['_colorAssignService'][_0x50aaab(0x268)](_0x5489c9),'name':_0xa1f942,'ranges':_0x3aa345},_0x1a1aa3=this['cursorInfo'];_0x1a1aa3['set'](_0x5489c9,_0x59eb62),this[_0x50aaab(0x3db)][_0x50aaab(0x2c5)](_0x1a1aa3);}[_0x31f2ea(0x3cd)](_0x4316b1){const _0xc7bdbf=_0x31f2ea,{memberID:_0x2aa946}=_0x4316b1[_0xc7bdbf(0x116)],_0x3d1c5f=this[_0xc7bdbf(0x150)];_0x3d1c5f[_0xc7bdbf(0x3ab)](_0x2aa946),this[_0xc7bdbf(0x3db)]['next'](_0x3d1c5f);}[_0x31f2ea(0x136)](){const _0x37c3e5=_0x31f2ea;var _0x38759f;if(this[_0x37c3e5(0x29d)]=!0x0,((_0x38759f=this[_0x37c3e5(0x130)][_0x37c3e5(0x1e4)]())==null?void 0x0:_0x38759f[_0x37c3e5(0x36b)]())!==this[_0x37c3e5(0x2cd)])return;const _0x2bd76c=this[_0x37c3e5(0x13b)][_0x37c3e5(0xfb)](_0x3c17d2[_0x37c3e5(0x2cc)])['getDocRanges']();Array['isArray'](_0x2bd76c)&&_0x2bd76c[_0x37c3e5(0x273)]>0x0&&this[_0x37c3e5(0x1fd)](_0x2bd76c);}[_0x31f2ea(0x1e3)](){const _0x1956b8=_0x31f2ea;this[_0x1956b8(0x29d)]=!0x1;}};_0x162b0d=_0x4bec10([_0x4c72bb(0x2,_0xfde5a2['Inject'](_0xfde5a2['Injector'])),_0x4c72bb(0x3,_0xfde5a2[_0x31f2ea(0x279)](_0x55865d)),_0x4c72bb(0x4,_0xfde5a2['Inject'](_0x27635d[_0x31f2ea(0x252)])),_0x4c72bb(0x5,_0xfde5a2[_0x31f2ea(0x279)](_0x1e8b6e)),_0x4c72bb(0x6,_0x1d08ae['ITransformService']),_0x4c72bb(0x7,_0xfde5a2[_0x31f2ea(0x316)]),_0x4c72bb(0x8,_0xfde5a2[_0x31f2ea(0x117)])],_0x162b0d);var _0x210fdb=Object['getOwnPropertyDescriptor'],_0x2e6195=(_0x517f93,_0x22f66c,_0x29ad84,_0x1de9cd)=>{const _0x1e05b6=_0x31f2ea;for(var _0x27fba0=_0x1de9cd>0x1?void 0x0:_0x1de9cd?_0x210fdb(_0x22f66c,_0x29ad84):_0x22f66c,_0x3bcffd=_0x517f93[_0x1e05b6(0x273)]-0x1,_0x1da86e;_0x3bcffd>=0x0;_0x3bcffd--)(_0x1da86e=_0x517f93[_0x3bcffd])&&(_0x27fba0=_0x1da86e(_0x27fba0)||_0x27fba0);return _0x27fba0;},_0x3cc3cc=(_0x1c77b7,_0x54c00e)=>(_0x249152,_0x3b2ed1)=>_0x54c00e(_0x249152,_0x3b2ed1,_0x1c77b7);const _0x58d203=0x12c,_0x4fa8fe=0x64,_0x5b9164=()=>{let _0x27f249=[],_0xbc7e5=!0x1;return _0x25fb1b=>{const _0x55e92b=_0x35b2;_0x27f249[_0x55e92b(0x2b8)](_0x25fb1b),_0xbc7e5||(_0xbc7e5=!0x0,setTimeout(()=>{const _0x1d880d=_0x55e92b;_0x27f249[_0x1d880d(0x2fb)](_0x985d79=>_0x985d79()),_0x27f249=[],_0xbc7e5=!0x1;}));};};let _0x5bf8d1=class extends _0xfde5a2['RxDisposable']{constructor(_0x15dfc3,_0x3428a0,_0xf19263,_0x25a34a,_0x50c2f6,_0x19957d,_0x42ca5e,_0x1d4aa1){const _0x32e68a=_0x31f2ea;super(),_0x25ee06(this,'_online',!0x1),_0x25ee06(this,'_init',!0x1),_0x25ee06(this,'_cursorInfo$',new _0x52a223[(_0x32e68a(0x345))](new Map())),_0x25ee06(this,_0x32e68a(0x3b0),this['_cursorInfo$'][_0x32e68a(0x1c0)]()),_0x25ee06(this,'_roomMembers$',new _0x52a223['BehaviorSubject']([])),_0x25ee06(this,_0x32e68a(0x27e),this[_0x32e68a(0x3c9)]['pipe'](_0x52a223[_0x32e68a(0x367)](_0x58d203))),_0x25ee06(this,_0x32e68a(0x1fd),_0xfde5a2[_0x32e68a(0x292)]((_0x1ef027,_0x114131)=>{const _0x12b1d2=_0x32e68a,_0x35779f={'eventID':_0x1d08ae[_0x12b1d2(0x2c7)][_0x12b1d2(0x30c)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x12b1d2(0x328)](),'selection':_0x2d45f6[_0x12b1d2(0x165)](_0x1ef027,_0x114131[_0x12b1d2(0x191)])}};this[_0x12b1d2(0x302)]['send'](_0x35779f,this['unitID']);},_0x4fa8fe)),(this[_0x32e68a(0x2cd)]=_0x15dfc3,this['_session']=_0x3428a0,this[_0x32e68a(0x13b)]=_0xf19263,this[_0x32e68a(0x1f9)]=_0x25a34a,this[_0x32e68a(0x19e)]=_0x50c2f6,this[_0x32e68a(0x130)]=_0x19957d,this[_0x32e68a(0x1bf)]=_0x42ca5e,this['_refRangeService']=_0x1d4aa1);}get['cursorInfo'](){const _0x50256d=_0x31f2ea;return this[_0x50256d(0x3db)]['getValue']();}get[_0x31f2ea(0x306)](){const _0x39b0c8=_0x31f2ea;return this[_0x39b0c8(0x3c9)][_0x39b0c8(0x3bd)]();}[_0x31f2ea(0x3e4)](){const _0x2c0c49=_0x31f2ea;super[_0x2c0c49(0x3e4)](),this[_0x2c0c49(0x3db)][_0x2c0c49(0x2c5)](new Map()),this['_cursorInfo$']['complete'](),this[_0x2c0c49(0x3c9)][_0x2c0c49(0x2c5)]([]),this[_0x2c0c49(0x3c9)][_0x2c0c49(0x379)]();}['init'](){const _0xf1700a=_0x31f2ea;this[_0xf1700a(0x158)]||(this[_0xf1700a(0x158)]=!0x0,this[_0xf1700a(0x302)][_0xf1700a(0x3a8)][_0xf1700a(0x1fe)](_0x52a223[_0xf1700a(0x24a)](this[_0xf1700a(0x31c)]))[_0xf1700a(0x220)](_0x163f0f=>{const _0x42e7ab=_0xf1700a;_0x163f0f===_0x27635d[_0x42e7ab(0x317)][_0x42e7ab(0x2a5)]?this[_0x42e7ab(0x136)]():this[_0x42e7ab(0x1e3)]();}),this[_0xf1700a(0x302)][_0xf1700a(0x12d)][_0xf1700a(0x1fe)](_0x52a223[_0xf1700a(0x24a)](this[_0xf1700a(0x31c)]))[_0xf1700a(0x220)](_0x1fb0c4=>{const _0x77b33c=_0xf1700a,_0x576875=_0x1fb0c4[_0x77b33c(0x3a5)];_0x576875===_0x1d08ae[_0x77b33c(0x2c7)][_0x77b33c(0x30c)]&&this[_0x77b33c(0x3c8)](_0x1fb0c4),_0x576875===_0x1d08ae['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x1fb0c4);}),this['_onRefRangeChange'](),this[_0xf1700a(0x216)](this['_commandService'][_0xf1700a(0x1c1)](_0x4bbafe=>{const _0x5e9301=_0xf1700a;if(this[_0x5e9301(0x29d)]&&_0x4bbafe['id']===_0x44123e[_0x5e9301(0x210)]['id']&&_0x4bbafe['params'][_0x5e9301(0x20b)]===this[_0x5e9301(0x2cd)]){const _0x197885=_0x4bbafe[_0x5e9301(0x115)];this[_0x5e9301(0x1fd)](_0x197885[_0x5e9301(0x20d)],_0x197885[_0x5e9301(0x173)][0x0]);}})));}['_onCursorUpdate'](_0x1cc971){const _0x390dcd=_0x31f2ea;var _0x33554c,_0x841647;const {memberID:_0xef416,selection:_0x1c6986}=_0x1cc971[_0x390dcd(0x116)],{sheetName:_0x6a976d,range:_0x3f2dcb}=_0x2d45f6[_0x390dcd(0x1fc)](_0x1c6986),_0x4fa1aa={'name':(_0x841647=(_0x33554c=this[_0x390dcd(0x19e)][_0x390dcd(0x289)](this['unitID'],_0xef416))==null?void 0x0:_0x33554c[_0x390dcd(0x200)])!=null?_0x841647:_0x390dcd(0x280),'range':this[_0x390dcd(0x35a)](_0x6a976d,_0x3f2dcb),'sheetID':_0x6a976d,'color':this[_0x390dcd(0x1f9)][_0x390dcd(0x268)](_0xef416),'selection':_0x1c6986},_0x4c33f7=this[_0x390dcd(0x150)];_0x4c33f7[_0x390dcd(0x15e)](_0xef416,_0x4fa1aa),this[_0x390dcd(0x3db)][_0x390dcd(0x2c5)](_0x4c33f7);}[_0x31f2ea(0x3cd)](_0x53aee5){const _0x1b52c6=_0x31f2ea,{memberID:_0x4d6f50}=_0x53aee5[_0x1b52c6(0x116)],_0x542ebb=this[_0x1b52c6(0x150)];_0x542ebb[_0x1b52c6(0x3ab)](_0x4d6f50),this[_0x1b52c6(0x3db)][_0x1b52c6(0x2c5)](_0x542ebb);}['_getMergeRange'](_0x571cda,_0x3b60a4){const _0x5056de=_0x31f2ea;var _0x3d4e39,_0x309285;const _0x28ff66=(_0x309285=(_0x3d4e39=this[_0x5056de(0x130)][_0x5056de(0x32a)](this[_0x5056de(0x2cd)]))==null?void 0x0:_0x3d4e39[_0x5056de(0x346)](_0x571cda))==null?void 0x0:_0x309285[_0x5056de(0x262)]();return(_0x28ff66==null?void 0x0:_0x28ff66[_0x5056de(0x3bc)](_0x4b3ddf=>_0xfde5a2[_0x5056de(0x1b3)]['contains'](_0x4b3ddf,_0x3b60a4)))||_0x3b60a4;}['_onRefRangeChange'](){const _0x27abe3=_0x31f2ea,_0x230a83=new _0xfde5a2[(_0x27abe3(0xf6))](),_0x35e84e=_0x5b9164(),_0x21b313=()=>{const _0x2a64c3=_0x27abe3;_0x230a83['dispose']();const _0x2b8abf=(_0x39b9a0,_0x585e94,_0x11428d,_0x3fb32c)=>{const _0x3fd909=_0x35b2;let _0x55253f=[];switch(_0x39b9a0['id']){case _0x44123e[_0x3fd909(0x259)][_0x3fd909(0x1a3)]:{_0x55253f=_0x44123e[_0x3fd909(0x2da)](_0x39b9a0,_0x3fb32c);break;}case _0x44123e[_0x3fd909(0x259)][_0x3fd909(0x3b9)]:{_0x55253f=_0x44123e[_0x3fd909(0x37b)](_0x39b9a0,_0x3fb32c);break;}case _0x44123e[_0x3fd909(0x259)]['InsertColCommandId']:{_0x55253f=_0x44123e[_0x3fd909(0xfa)](_0x39b9a0,_0x3fb32c);break;}case _0x44123e[_0x3fd909(0x259)][_0x3fd909(0x1c4)]:{_0x55253f=_0x44123e['handleInsertRangeMoveDown'](_0x39b9a0,_0x3fb32c);break;}case _0x44123e[_0x3fd909(0x259)]['InsertRangeMoveRightCommandId']:{_0x55253f=_0x44123e[_0x3fd909(0x105)](_0x39b9a0,_0x3fb32c);break;}case _0x44123e[_0x3fd909(0x259)][_0x3fd909(0x113)]:{_0x55253f=_0x44123e[_0x3fd909(0x386)](_0x39b9a0,_0x3fb32c);break;}case _0x44123e['EffectRefRangId'][_0x3fd909(0x2b7)]:{_0x55253f=_0x44123e[_0x3fd909(0x208)](_0x39b9a0,_0x3fb32c);break;}case _0x44123e[_0x3fd909(0x259)][_0x3fd909(0x37a)]:{_0x55253f=_0x44123e[_0x3fd909(0x37c)](_0x39b9a0,_0x3fb32c);break;}case _0x44123e['EffectRefRangId'][_0x3fd909(0x23e)]:{_0x55253f=_0x44123e[_0x3fd909(0x2d3)](_0x39b9a0,_0x3fb32c);break;}}const _0x192cd1=_0x44123e['runRefRangeMutations'](_0x55253f,_0x3fb32c),_0x26f660=this[_0x3fd909(0x150)][_0x3fd909(0xfb)](_0x585e94);if(_0x26f660&&_0x192cd1){const _0x348a7c={..._0x26f660,'range':_0x192cd1};this[_0x3fd909(0x150)]['set'](_0x585e94,_0x348a7c),_0x35e84e(()=>{const _0x33973a=_0x3fd909,_0x1236b6=this[_0x33973a(0x21f)]['registerRefRange'](_0x192cd1,_0x25a3d6=>(_0x1236b6[_0x33973a(0x3e4)](),_0x2b8abf(_0x25a3d6,_0x585e94,_0x11428d,_0x192cd1)));_0x230a83[_0x33973a(0x3bb)](_0x1236b6);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x2a64c3(0x2fb)]((_0x5b4bfe,_0x3e7e91)=>{const _0xe78bf5=_0x2a64c3,{range:_0x27263b,sheetID:_0x43a0fe}=_0x5b4bfe,_0x27a6bb=this['_refRangeService'][_0xe78bf5(0x303)](_0x27263b,_0x5d0c0a=>(_0x27a6bb[_0xe78bf5(0x3e4)](),_0x2b8abf(_0x5d0c0a,_0x3e7e91,_0x43a0fe,_0x27263b)));_0x230a83[_0xe78bf5(0x3bb)](_0x27a6bb);});};this[_0x27abe3(0x216)](_0xfde5a2[_0x27abe3(0x2e9)](this['_cursorInfo$'][_0x27abe3(0x220)](()=>{_0x21b313();})));}['_toggleOnline'](){const _0x3c7e11=_0x31f2ea;var _0x4a8657,_0x1ea541;if(this[_0x3c7e11(0x29d)]=!0x0,((_0x4a8657=this['_univerInstanceService'][_0x3c7e11(0x1e4)]())==null?void 0x0:_0x4a8657['getUnitId']())!==this[_0x3c7e11(0x2cd)])return;const _0x2673a3=(_0x1ea541=this[_0x3c7e11(0x13b)][_0x3c7e11(0xfb)](_0x44123e[_0x3c7e11(0xf1)])[_0x3c7e11(0x1e9)]())==null?void 0x0:_0x1ea541[0x0],_0x34f76d=this[_0x3c7e11(0x130)][_0x3c7e11(0x355)](_0xfde5a2[_0x3c7e11(0x2dd)]['UNIVER_SHEET'])[_0x3c7e11(0x313)]();_0x2673a3&&_0x34f76d&&this['_updateLocalCursor'](_0x34f76d[_0x3c7e11(0x319)](),_0x2673a3);}[_0x31f2ea(0x1e3)](){const _0x15d9c5=_0x31f2ea;this[_0x15d9c5(0x29d)]=!0x1;}};_0x5bf8d1=_0x2e6195([_0x3cc3cc(0x2,_0xfde5a2[_0x31f2ea(0x279)](_0xfde5a2[_0x31f2ea(0x110)])),_0x3cc3cc(0x3,_0xfde5a2['Inject'](_0x55865d)),_0x3cc3cc(0x4,_0xfde5a2[_0x31f2ea(0x279)](_0x27635d[_0x31f2ea(0x252)])),_0x3cc3cc(0x5,_0xfde5a2[_0x31f2ea(0x316)]),_0x3cc3cc(0x6,_0xfde5a2['ICommandService']),_0x3cc3cc(0x7,_0xfde5a2[_0x31f2ea(0x279)](_0x44123e['RefRangeService']))],_0x5bf8d1);var _0x90f4ee=Object['getOwnPropertyDescriptor'],_0x5d4aeb=(_0xf926a2,_0x38be6c,_0x23e1fb,_0x5c1a0e)=>{for(var _0x578cdb=_0x5c1a0e>0x1?void 0x0:_0x5c1a0e?_0x90f4ee(_0x38be6c,_0x23e1fb):_0x38be6c,_0x3a1e4a=_0xf926a2['length']-0x1,_0x4b767;_0x3a1e4a>=0x0;_0x3a1e4a--)(_0x4b767=_0xf926a2[_0x3a1e4a])&&(_0x578cdb=_0x4b767(_0x578cdb)||_0x578cdb);return _0x578cdb;},_0x3d364b=(_0x1471d8,_0x3cc622)=>(_0x280235,_0x50368e)=>_0x3cc622(_0x280235,_0x50368e,_0x1471d8);let _0x3d40e5=class extends _0xfde5a2[_0x31f2ea(0x129)]{constructor(_0x3ac90b,_0x45653d,_0x39d47e){const _0x2e60bc=_0x31f2ea;super(),_0x25ee06(this,_0x2e60bc(0x194),new Map()),_0x25ee06(this,_0x2e60bc(0x1ca),new _0x52a223[(_0x2e60bc(0x3dd))]()),(this[_0x2e60bc(0x130)]=_0x3ac90b,this[_0x2e60bc(0x13b)]=_0x45653d,this[_0x2e60bc(0x2ef)]=_0x39d47e,this['_init']());}[_0x31f2ea(0x3e4)](){const _0x53ed60=_0x31f2ea;super[_0x53ed60(0x3e4)](),this['_entityInit$'][_0x53ed60(0x379)](),this[_0x53ed60(0x194)][_0x53ed60(0x2fb)](_0x1f138a=>_0x1f138a['dispose']());}[_0x31f2ea(0x14f)](_0x338115){const _0x213fc9=_0x31f2ea;return this['_entities'][_0x213fc9(0x244)](_0x338115)?this[_0x213fc9(0x194)]['get'](_0x338115)[_0x213fc9(0x3b0)]:this[_0x213fc9(0x1ca)][_0x213fc9(0x1fe)](_0x52a223[_0x213fc9(0x2ad)](_0x276443=>_0x276443['unitID']===_0x338115),_0x52a223[_0x213fc9(0x23c)](_0x2e47c7=>_0x2e47c7[_0x213fc9(0x3b0)]));}[_0x31f2ea(0x158)](){const _0x12bf44=_0x31f2ea;this['_univerInstanceService'][_0x12bf44(0x11a)](_0xfde5a2[_0x12bf44(0x2dd)][_0x12bf44(0x332)])[_0x12bf44(0x1fe)](_0x52a223[_0x12bf44(0x24a)](this[_0x12bf44(0x31c)]))['subscribe'](async _0x59aa49=>{const _0x573da8=_0x12bf44,_0x55266c=_0x59aa49[_0x573da8(0x36b)](),_0x2c87ff=await this[_0x573da8(0x205)](_0x55266c);this['_entityInit$'][_0x573da8(0x2c5)](_0x2c87ff),this[_0x573da8(0x194)][_0x573da8(0x15e)](_0x55266c,_0x2c87ff);}),this[_0x12bf44(0x130)][_0x12bf44(0x11a)](_0xfde5a2[_0x12bf44(0x2dd)][_0x12bf44(0x35b)])[_0x12bf44(0x1fe)](_0x52a223[_0x12bf44(0x24a)](this[_0x12bf44(0x31c)]))['pipe'](_0x52a223[_0x12bf44(0x2ad)](_0x8e45cd=>!_0x8e45cd[_0x12bf44(0x36b)]()[_0x12bf44(0x172)]('__')))[_0x12bf44(0x220)](async _0x171f9f=>{const _0xf03528=_0x12bf44,_0x1b6847=_0x171f9f[_0xf03528(0x36b)](),_0x567568=await this[_0xf03528(0x125)](_0x1b6847);this[_0xf03528(0x1ca)][_0xf03528(0x2c5)](_0x567568),this[_0xf03528(0x194)][_0xf03528(0x15e)](_0x1b6847,_0x567568);}),_0x52a223[_0x12bf44(0x108)](this[_0x12bf44(0x130)]['getTypeOfUnitDisposed$'](_0xfde5a2[_0x12bf44(0x2dd)][_0x12bf44(0x35b)]),this[_0x12bf44(0x130)][_0x12bf44(0x148)](_0xfde5a2[_0x12bf44(0x2dd)][_0x12bf44(0x332)]))['pipe'](_0x52a223[_0x12bf44(0x24a)](this['dispose$']))[_0x12bf44(0x220)](_0x5064c1=>{const _0x5e996c=_0x12bf44,_0x2fa65e=_0x5064c1[_0x5e996c(0x36b)](),_0x2a23e2=this[_0x5e996c(0x194)][_0x5e996c(0xfb)](_0x2fa65e);_0x2a23e2&&(_0x2a23e2['dispose'](),this[_0x5e996c(0x194)][_0x5e996c(0x3ab)](_0x2fa65e));});}async[_0x31f2ea(0x205)](_0x8198d2){const _0x309979=_0x31f2ea,_0xf5a906=await this[_0x309979(0x2ef)][_0x309979(0x253)](_0x8198d2),_0x31fa22=this['_injector'][_0x309979(0x146)](_0x5bf8d1,_0x8198d2,_0xf5a906);return _0x31fa22['init'](),_0x31fa22;}async['_startDocCollabCursor'](_0x10686b){const _0x255588=_0x31f2ea,_0x1c9e91=await this[_0x255588(0x2ef)][_0x255588(0x253)](_0x10686b),_0x9ec153=this[_0x255588(0x13b)][_0x255588(0x146)](_0x162b0d,_0x10686b,_0x1c9e91);return _0x9ec153[_0x255588(0x2de)](),_0x9ec153;}};_0x3d40e5=_0x5d4aeb([_0x3d364b(0x0,_0xfde5a2[_0x31f2ea(0x316)]),_0x3d364b(0x1,_0xfde5a2[_0x31f2ea(0x279)](_0xfde5a2['Injector'])),_0x3d364b(0x2,_0xfde5a2[_0x31f2ea(0x279)](_0x27635d[_0x31f2ea(0x134)]))],_0x3d40e5);const _0x206436=0x14,_0x41ce23=0xc8,_0x37ac7a=0x4,_0x305f0f=0x5;function _0x8c239f(_0x4a074a,_0x1cfacb){const _0x489b78=_0x31f2ea;let {radius:_0x15699a,width:_0x1e8844,height:_0x565d86}=_0x1cfacb;_0x15699a=_0x15699a!=null?_0x15699a:0x0,_0x1e8844=_0x1e8844!=null?_0x1e8844:0x1e,_0x565d86=_0x565d86!=null?_0x565d86:0x1e;let _0x407a47=0x0,_0x4c85a1=0x0,_0x153602=0x0;_0x407a47=_0x4c85a1=_0x153602=Math['min'](_0x15699a,_0x1e8844/0x2,_0x565d86/0x2),_0x4a074a[_0x489b78(0x3ac)](),_0x4a074a[_0x489b78(0x393)](_0x407a47,0x0),_0x4a074a['lineTo'](_0x1e8844-_0x4c85a1,0x0),_0x4a074a['arc'](_0x1e8844-_0x4c85a1,_0x4c85a1,_0x4c85a1,Math['PI']*0x3/0x2,0x0,!0x1),_0x4a074a[_0x489b78(0x28c)](_0x1e8844,_0x565d86-_0x153602),_0x4a074a[_0x489b78(0x2e0)](_0x1e8844-_0x153602,_0x565d86-_0x153602,_0x153602,0x0,Math['PI']/0x2,!0x1),_0x4a074a[_0x489b78(0x28c)](0x0,_0x565d86),_0x4a074a['lineTo'](0x0,_0x407a47),_0x4a074a[_0x489b78(0x2e0)](_0x407a47,_0x407a47,_0x407a47,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4a074a['closePath'](),_0x1cfacb[_0x489b78(0x2ff)]&&(_0x4a074a['save'](),_0x4a074a['fillStyle']=_0x1cfacb[_0x489b78(0x2ff)],_0x1cfacb[_0x489b78(0x27d)]===_0x489b78(0x2c8)?_0x4a074a[_0x489b78(0x2ff)](_0x489b78(0x2c8)):_0x4a074a[_0x489b78(0x2ff)](),_0x4a074a[_0x489b78(0x1c7)]());}class _0x41ede9 extends _0x12ef37['Shape']{constructor(_0x15476a,_0xd98ea2){const _0x2452ee=_0x31f2ea;super(_0x15476a,_0xd98ea2),_0x25ee06(this,'color'),_0x25ee06(this,_0x2452ee(0x388)),(this['color']=_0xd98ea2==null?void 0x0:_0xd98ea2[_0x2452ee(0x26e)],this[_0x2452ee(0x388)]=_0xd98ea2==null?void 0x0:_0xd98ea2[_0x2452ee(0x388)]);}static[_0x31f2ea(0x1cd)](_0x132ffd,_0x3197c6){const _0x58bacb=_0x31f2ea,{text:_0x4f8732,color:_0xb3871d}=_0x3197c6;_0x132ffd['save'](),_0x132ffd[_0x58bacb(0x38f)]=_0x58bacb(0x144);const _0xb40967=_0x132ffd[_0x58bacb(0x2e3)](_0x4f8732)['width'],_0x23e9b9=Math['min'](_0xb40967+0x2*_0x37ac7a,_0x41ce23);_0x8c239f(_0x132ffd,{'height':_0x206436,'radius':0x4,'width':_0x23e9b9,'fill':_0xb3871d}),_0x132ffd['fillStyle']=_0x58bacb(0x141);const _0x150a89=_0x37ac7a,_0x1e5202=_0x206436-_0x305f0f,_0x5bf3c2=_0x41ce23-0x2*_0x37ac7a;if(_0xb40967>_0x5bf3c2){let _0x882af1='',_0x1abbc1=0x0;for(const _0x170e6a of _0x4f8732){const _0x4dc32d=_0x132ffd[_0x58bacb(0x2e3)](_0x170e6a)[_0x58bacb(0x39a)];if(_0x1abbc1+_0x4dc32d<=_0x5bf3c2-_0x132ffd[_0x58bacb(0x2e3)](_0x58bacb(0x169))[_0x58bacb(0x39a)])_0x882af1+=_0x170e6a,_0x1abbc1+=_0x4dc32d;else{_0x882af1+=_0x58bacb(0x169);break;}}_0x132ffd['fillText'](_0x882af1,_0x150a89,_0x1e5202);}else _0x132ffd['fillText'](_0x4f8732,_0x150a89,_0x1e5202);_0x132ffd['restore']();}[_0x31f2ea(0x37e)](_0x48d7fa){const _0x407866=_0x31f2ea;_0x41ede9[_0x407866(0x1cd)](_0x48d7fa,this);}}const _0x269cd5=_0x31f2ea(0x1bc),_0x319975=_0x31f2ea(0xf3),_0x45c978=_0x31f2ea(0x342),_0xddafeb=0x6,_0x3292fd=1.5,_0x5a62da=0x4,_0x4f4247=1.5,_0x1ae80b='rgba(255,\x20255,\x20255,\x200.01)';class _0x3fdfad{constructor(_0x2c5c32,_0x5cf2ca,_0x3e2465,_0x22f6c9){const _0x4a4f87=_0x31f2ea;_0x25ee06(this,_0x4a4f87(0xee),[]),_0x25ee06(this,_0x4a4f87(0x1ce),null),_0x25ee06(this,_0x4a4f87(0x311),null),_0x25ee06(this,_0x4a4f87(0x3e8),null),_0x25ee06(this,_0x4a4f87(0x2f4),null),_0x25ee06(this,_0x4a4f87(0x353),null),(this[_0x4a4f87(0x33d)]=_0x2c5c32,this[_0x4a4f87(0x2e2)]=_0x5cf2ca,this[_0x4a4f87(0x2b5)]=_0x3e2465,this[_0x4a4f87(0x2af)]=_0x22f6c9,this[_0x4a4f87(0xf8)]());}set[_0x31f2ea(0x395)](_0x149fdc){const _0x363207=_0x31f2ea;_0x149fdc?(this[_0x363207(0x3e8)]&&this[_0x363207(0x3e8)][_0x363207(0x323)](),this['_textBubble']&&this[_0x363207(0x311)][_0x363207(0x1f7)]()):(this[_0x363207(0x3e8)]&&this[_0x363207(0x3e8)]['show'](),this[_0x363207(0x311)]&&this[_0x363207(0x311)][_0x363207(0x323)]());}['dispose'](){const _0x212301=_0x31f2ea;for(const _0x10812b of this[_0x212301(0xee)])_0x10812b[_0x212301(0x3e4)]();this['_textBubble']&&this[_0x212301(0x311)][_0x212301(0x3e4)](),this[_0x212301(0x3e8)]&&this[_0x212301(0x3e8)][_0x212301(0x3e4)](),this[_0x212301(0x1ce)]&&this[_0x212301(0x1ce)][_0x212301(0x3e4)](),this['_eventUnsubscribe']&&this[_0x212301(0x353)]();}[_0x31f2ea(0xf8)](){const _0x1085d5=_0x31f2ea;var _0x52450e;const {_docSkeleton:_0x3606a0,_document:_0x1bbb0b}=this,{color:_0x3df2f9,name:_0x58e47b,ranges:_0x46dd86}=this[_0x1085d5(0x33d)],_0x435885=_0x1bbb0b[_0x1085d5(0x260)](),{docsLeft:_0x439ae5,docsTop:_0x4e1ee2}=_0x435885,_0x15d855=new _0x5f2683[(_0x1085d5(0x3d5))](_0x435885,_0x3606a0);for(const {startOffset:_0x53cc6b,endOffset:_0x301ca7,rangeType:_0x2dbb90,segmentId:_0x4a368e,segmentPage:_0x4195e7,collapsed:_0x10dc1c,isActive:_0x10b271}of _0x46dd86){const _0x100340=_0x3606a0[_0x1085d5(0x374)](_0x53cc6b,!0x0,_0x4a368e,_0x4195e7);let _0x41a8a3=_0x3606a0[_0x1085d5(0x374)](_0x301ca7,!0x0,_0x4a368e,_0x4195e7);if(_0x41a8a3==null&&(_0x41a8a3=_0x3606a0[_0x1085d5(0x374)](_0x301ca7-0x1,!0x1,_0x4a368e,_0x4195e7)),_0x10b271){const {contentBoxPointGroup:_0x32b6a6}=_0x15d855[_0x1085d5(0x11f)](_0x41a8a3,_0x41a8a3);if(_0x32b6a6[_0x1085d5(0x273)]===0x0)continue;this[_0x1085d5(0x23f)](_0x3df2f9,_0x32b6a6,_0x439ae5,_0x4e1ee2,_0x58e47b),this[_0x1085d5(0x353)]=this[_0x1085d5(0x39b)]();}if(_0x100340&&_0x41a8a3){if(_0x2dbb90===_0xfde5a2[_0x1085d5(0x3e2)][_0x1085d5(0x13d)]){const _0x17935c=new _0x5f2683[(_0x1085d5(0x31b))](_0x435885,_0x3606a0),{pointGroup:_0x5d12aa}=(_0x52450e=_0x17935c[_0x1085d5(0x11f)](_0x100340,_0x41a8a3))!=null?_0x52450e:{};if(_0x5d12aa==null||_0x5d12aa[_0x1085d5(0x273)]===0x0)continue;this[_0x1085d5(0x207)](_0x3df2f9,_0x5d12aa,_0x439ae5,_0x4e1ee2);}else{if(!_0x10dc1c){const {borderBoxPointGroup:_0x3565ad}=_0x15d855['getRangePointData'](_0x100340,_0x41a8a3);if(_0x3565ad[_0x1085d5(0x273)]===0x0)continue;this[_0x1085d5(0x26b)](_0x3df2f9,_0x3565ad,_0x439ae5,_0x4e1ee2);}}}}}[_0x31f2ea(0x23f)](_0x46a202,_0x545a5b,_0xd9f935,_0x13ada2,_0x2fbfff){const _0x13c9fe=_0x31f2ea,_0x8b6976=this['_getAnchorBounding'](_0x545a5b),{left:_0x1db0e6,top:_0x8343e8,height:_0x337ec4}=_0x8b6976,_0x177853=this['_getScale'](),_0x3fe1d8=_0x4f4247/_0x177853,_0xac3a7f=new _0x12ef37[(_0x13c9fe(0x3cc))](_0x269cd5+_0xfde5a2[_0x13c9fe(0x211)](_0xddafeb),{'left':_0x1db0e6+_0xd9f935-_0x3fe1d8,'top':_0x8343e8+_0x13ada2,'height':_0x337ec4,'width':_0x3292fd,'fill':_0x46a202||_0x12ef37[_0x13c9fe(0x167)](_0xfde5a2['COLORS'][_0x13c9fe(0x218)],0x0),'strokeWidth':_0x3fe1d8,'stroke':_0x1ae80b,'evented':!0x0});this[_0x13c9fe(0x1ce)]=_0xac3a7f,this[_0x13c9fe(0x2e2)][_0x13c9fe(0xf4)](_0xac3a7f,_0x5f2683[_0x13c9fe(0x3ea)]);const _0x197c00=new _0x12ef37[(_0x13c9fe(0x3cc))](_0x269cd5+_0xfde5a2[_0x13c9fe(0x211)](_0xddafeb),{'left':_0x1db0e6+_0xd9f935-_0x3fe1d8,'top':_0x8343e8+_0x13ada2-_0x5a62da/0x2,'height':_0x5a62da,'width':_0x5a62da,'fill':_0x46a202||_0x12ef37['getColor'](_0xfde5a2['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x46a202||_0x12ef37['getColor'](_0xfde5a2[_0x13c9fe(0x3c5)][_0x13c9fe(0x218)],0x0),'evented':!0x1});this[_0x13c9fe(0x3e8)]=_0x197c00,this['_scene']['addObject'](_0x197c00,_0x5f2683[_0x13c9fe(0x3ea)]);const _0x5d1dde=new _0x41ede9(_0x269cd5+_0xfde5a2[_0x13c9fe(0x211)](_0xddafeb),{'left':_0x1db0e6+_0xd9f935-_0x3fe1d8,'top':_0x8343e8+_0x13ada2-_0x206436,'text':_0x2fbfff,'color':_0x46a202});this[_0x13c9fe(0x311)]=_0x5d1dde,this[_0x13c9fe(0x2e2)][_0x13c9fe(0xf4)](_0x5d1dde,_0x5f2683['TEXT_RANGE_LAYER_INDEX']),this[_0x13c9fe(0x395)]=!0x1;}[_0x31f2ea(0x39b)](){const _0x2ba44b=_0x31f2ea,_0x280519=this[_0x2ba44b(0x1ce)][_0x2ba44b(0x22b)][_0x2ba44b(0x2cf)](()=>{const _0x31b629=_0x2ba44b;this[_0x31b629(0x395)]=!0x0;}),_0x5d5ae1=this[_0x2ba44b(0x1ce)]['onPointerLeave$'][_0x2ba44b(0x2cf)](()=>{const _0x23ddad=_0x2ba44b;this['_hideTimer']&&clearTimeout(this[_0x23ddad(0x2f4)]),this[_0x23ddad(0x2f4)]=setTimeout(()=>{const _0x396f69=_0x23ddad;this[_0x396f69(0x395)]=!0x1;},0x7d0);});return()=>{const _0x132319=_0x2ba44b;_0x280519[_0x132319(0x308)](),_0x5d5ae1[_0x132319(0x308)]();};}[_0x31f2ea(0x26b)](_0x773638,_0x5792c0,_0x23c64f,_0x4dd358){const _0x393bd0=_0x31f2ea,_0x376240=new _0xfde5a2[(_0x393bd0(0x2eb))](_0x773638)[_0x393bd0(0x287)](0.2)['toRgbString'](),_0x559a89=new _0x12ef37[(_0x393bd0(0x215))](_0x319975+_0xfde5a2[_0x393bd0(0x211)](_0xddafeb),{'pointsGroup':_0x5792c0,'fill':_0x376240||_0x12ef37[_0x393bd0(0x167)](_0xfde5a2[_0x393bd0(0x3c5)][_0x393bd0(0x218)],0.2),'left':_0x23c64f,'top':_0x4dd358,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x393bd0(0xee)][_0x393bd0(0x2b8)](_0x559a89),this[_0x393bd0(0x2e2)][_0x393bd0(0xf4)](_0x559a89,_0x5f2683[_0x393bd0(0x3ea)]);}['_drawRectRange'](_0x30f184,_0x1e9331,_0x563bfc,_0x18966a){const _0x30768c=_0x31f2ea,_0x50a083=new _0xfde5a2[(_0x30768c(0x2eb))](_0x30f184)[_0x30768c(0x287)](0.2)[_0x30768c(0x111)](),_0x58939c=new _0x12ef37[(_0x30768c(0x215))](_0x45c978+_0xfde5a2[_0x30768c(0x211)](_0xddafeb),{'pointsGroup':_0x1e9331,'fill':_0x50a083||_0x12ef37[_0x30768c(0x167)](_0xfde5a2[_0x30768c(0x3c5)][_0x30768c(0x218)],0.2),'left':_0x563bfc,'top':_0x18966a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x30768c(0x2b8)](_0x58939c),this[_0x30768c(0x2e2)][_0x30768c(0xf4)](_0x58939c,_0x5f2683[_0x30768c(0x3ea)]);}[_0x31f2ea(0x3b7)](_0x1b72e5){const _0x2e546f=_0x1b72e5[0x0],_0x2f140e=_0x2e546f[0x0],_0x42b54a=_0x2e546f[0x2],{x:_0x4edb8a,y:_0x336241}=_0x2f140e,{x:_0x448b99,y:_0x3f6aac}=_0x42b54a;return{'left':_0x4edb8a,'top':_0x336241,'width':_0x448b99-_0x4edb8a,'height':_0x3f6aac-_0x336241};}[_0x31f2ea(0x399)](){const _0x120666=_0x31f2ea,{scaleX:_0x44e82b,scaleY:_0x4dbaa3}=this[_0x120666(0x2e2)]['getAncestorScale']();return Math[_0x120666(0x22c)](_0x44e82b,_0x4dbaa3);}}var _0x28728b=Object[_0x31f2ea(0x140)],_0x96cb8d=(_0x4b7d1c,_0x20ef52,_0x2083a1,_0x235a7f)=>{const _0xf6da25=_0x31f2ea;for(var _0x581ac3=_0x235a7f>0x1?void 0x0:_0x235a7f?_0x28728b(_0x20ef52,_0x2083a1):_0x20ef52,_0x57343e=_0x4b7d1c[_0xf6da25(0x273)]-0x1,_0x3ef4a7;_0x57343e>=0x0;_0x57343e--)(_0x3ef4a7=_0x4b7d1c[_0x57343e])&&(_0x581ac3=_0x3ef4a7(_0x581ac3)||_0x581ac3);return _0x581ac3;},_0x171b5d=(_0x1a9692,_0x3ab416)=>(_0x410cf3,_0x4406b4)=>_0x3ab416(_0x410cf3,_0x4406b4,_0x1a9692);let _0x362b37=class extends _0xfde5a2[_0x31f2ea(0x129)]{constructor(_0x4aa9ae,_0xf4bc23,_0x4c8a6a,_0x2ffd82,_0x340bf5){const _0x490499=_0x31f2ea;super(),_0x25ee06(this,_0x490499(0x12e),[]),_0x25ee06(this,_0x490499(0x195),[]),(this['_context']=_0x4aa9ae,this[_0x490499(0x288)]=_0xf4bc23,this[_0x490499(0x10f)]=_0x4c8a6a,this[_0x490499(0x1bf)]=_0x2ffd82,this[_0x490499(0x38b)]=_0x340bf5,this[_0x490499(0x158)]());}['_init'](){const _0x1cc0b2=_0x31f2ea,_0x1c252b=this[_0x1cc0b2(0x369)]['unitId'],_0x55a47d=this[_0x1cc0b2(0x288)];this[_0x1cc0b2(0x216)](_0x52a223[_0x1cc0b2(0x278)]([this[_0x1cc0b2(0x10f)][_0x1cc0b2(0x14f)](_0x1c252b),this['_themeService'][_0x1cc0b2(0x29e)]])['pipe'](_0x4871f9[_0x1cc0b2(0x1cc)](([_0x342150,_0x12f826])=>({'skeleton':_0x55a47d[_0x1cc0b2(0x392)](),'cursors':[..._0x342150[_0x1cc0b2(0x21c)]()]['flatMap'](_0x577809=>({..._0x577809,'color':this[_0x1cc0b2(0x38b)]['getColorFromTheme'](_0x577809['color'])}))})))[_0x1cc0b2(0x220)](_0x2290bb=>{const _0x2a8c14=_0x1cc0b2;if(this['_removeCollabCursors'](),_0x2290bb){const {skeleton:_0x307563,cursors:_0x1c178e}=_0x2290bb;this[_0x2a8c14(0x1fa)](_0x307563,_0x1c178e);}})),this[_0x1cc0b2(0x354)](),this[_0x1cc0b2(0x2b0)]();}['_updateCollabCursors'](_0x2801c9,_0x7efc53){const _0x304ddc=_0x31f2ea,{scene:_0x1a71ce,mainComponent:_0x3228cb}=this['_context'],_0x569769=_0x7efc53[_0x304ddc(0x1cc)](_0x5a7714=>new _0x3fdfad(_0x5a7714,_0x1a71ce,_0x2801c9,_0x3228cb));this[_0x304ddc(0x12e)]=_0x569769,this[_0x304ddc(0x195)]=_0x7efc53;}[_0x31f2ea(0x326)](){const _0x16f1af=_0x31f2ea;this[_0x16f1af(0x361)]();const {scene:_0xff307f,mainComponent:_0x3cb057}=this[_0x16f1af(0x369)],_0x5552e3=this[_0x16f1af(0x288)][_0x16f1af(0x392)](),_0x4067d0=this[_0x16f1af(0x195)][_0x16f1af(0x1cc)](_0x49cd54=>new _0x3fdfad(_0x49cd54,_0xff307f,_0x5552e3,_0x3cb057));this[_0x16f1af(0x12e)]=_0x4067d0;}[_0x31f2ea(0x361)](){const _0x255c4f=_0x31f2ea;this[_0x255c4f(0x12e)][_0x255c4f(0x2fb)](_0x161447=>_0x161447[_0x255c4f(0x3e4)]()),this[_0x255c4f(0x12e)]=[];}[_0x31f2ea(0x2b0)](){const _0x240b44=_0x31f2ea,_0x78163f=[_0x5f2683[_0x240b44(0x14c)]['id']];this[_0x240b44(0x216)](this[_0x240b44(0x1bf)]['onCommandExecuted'](_0x38e5a8=>{const _0x3846f0=_0x240b44;_0x78163f['includes'](_0x38e5a8['id'])&&_0x38e5a8[_0x3846f0(0x115)][_0x3846f0(0x20b)]===this['_context']['unitId']&&this['_refreshCollabCursors']();}));}[_0x31f2ea(0x354)](){const _0x1a8eb6=_0x31f2ea;this[_0x1a8eb6(0x216)](_0xfde5a2[_0x1a8eb6(0x1d4)](this[_0x1a8eb6(0x369)][_0x1a8eb6(0x272)][_0x1a8eb6(0x1db)])[_0x1a8eb6(0x1fe)](_0x4871f9['filter'](_0x375ee2=>_0x375ee2[_0x1a8eb6(0x2ee)]===_0x12ef37[_0x1a8eb6(0x266)][_0x1a8eb6(0x101)]),_0x4871f9[_0x1a8eb6(0xf0)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x362b37=_0x96cb8d([_0x171b5d(0x1,_0xfde5a2['Inject'](_0x3c17d2[_0x31f2ea(0x213)])),_0x171b5d(0x2,_0xfde5a2[_0x31f2ea(0x279)](_0x3d40e5)),_0x171b5d(0x3,_0xfde5a2[_0x31f2ea(0x117)]),_0x171b5d(0x4,_0xfde5a2[_0x31f2ea(0x279)](_0xfde5a2['ThemeService']))],_0x362b37);const _0x2a2faf=0x1,_0xe9aa8d=1.5;class _0x4671e4 extends _0x12ef37[_0x31f2ea(0x1c2)]{constructor(_0x5532a7,_0x1f41cf){const _0x14f720=_0x31f2ea;super(_0x5532a7,_0x1f41cf),_0x25ee06(this,_0x14f720(0x18c)),_0x25ee06(this,_0x14f720(0x371),!0x1),_0x25ee06(this,_0x14f720(0x27c)),_0x25ee06(this,_0x14f720(0x3aa),''),_0x25ee06(this,_0x14f720(0x2a4),_0x14f720(0x12f)),_0x25ee06(this,_0x14f720(0x290)),(_0x1f41cf&&this[_0x14f720(0x296)](_0x1f41cf),this['onPointerEnter$'][_0x14f720(0x2cf)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x14f720(0x384)]['subscribeEvent'](()=>this[_0x14f720(0x296)]({'hovered':!0x1})));}[_0x31f2ea(0x296)](_0x555374){const _0x12b48d=_0x31f2ea;var _0x275735,_0x3cd31e,_0x2a6938,_0x364cbf,_0x1579de,_0x460596;this['_color']=(_0x275735=_0x555374[_0x12b48d(0x26e)])!=null?_0x275735:this[_0x12b48d(0x18c)],this[_0x12b48d(0x371)]=(_0x3cd31e=_0x555374[_0x12b48d(0x133)])!=null?_0x3cd31e:this[_0x12b48d(0x371)],this[_0x12b48d(0x27c)]=(_0x2a6938=_0x555374['range'])!=null?_0x2a6938:this[_0x12b48d(0x27c)],this[_0x12b48d(0x3aa)]=(_0x364cbf=_0x555374[_0x12b48d(0x200)])!=null?_0x364cbf:this[_0x12b48d(0x3aa)],this[_0x12b48d(0x2a4)]=(_0x1579de=_0x555374['labelPosition'])!=null?_0x1579de:this[_0x12b48d(0x2a4)],this[_0x12b48d(0x290)]=(_0x460596=_0x555374[_0x12b48d(0x3e6)])!=null?_0x460596:this[_0x12b48d(0x290)],this['transformByState']({'width':_0x555374[_0x12b48d(0x39a)],'height':_0x555374['height']});}['onMouseMove'](_0x1406e0){const _0x565a2f=_0x31f2ea,{row:_0x1990d2,column:_0x11a99f}=_0x1406e0;if(_0x1990d2>=this[_0x565a2f(0x27c)][_0x565a2f(0x1af)]&&_0x1990d2<=this[_0x565a2f(0x27c)]['endRow']&&_0x11a99f>=this[_0x565a2f(0x27c)][_0x565a2f(0x2e5)]&&_0x11a99f<=this[_0x565a2f(0x27c)][_0x565a2f(0x3d7)]){this[_0x565a2f(0x296)]({'hovered':!0x0});return;}this[_0x565a2f(0x296)]({'hovered':!0x1});}[_0x31f2ea(0x336)](_0x44944e){return!0x1;}[_0x31f2ea(0x37e)](_0x2f1391){const _0x35ac61=_0x31f2ea;_0x12ef37[_0x35ac61(0x3cc)]['drawWith'](_0x2f1391,{'width':this[_0x35ac61(0x39a)],'height':this[_0x35ac61(0x2c4)],'strokeWidth':_0xe9aa8d,'stroke':this[_0x35ac61(0x18c)],'evented':!0x1,'fill':this[_0x35ac61(0x290)]}),this['_hovered']&&(_0x2f1391[_0x35ac61(0x122)](),_0x2f1391[_0x35ac61(0x1b2)](0x1,0x0,0x0,0x1,this[_0x35ac61(0x39a)],this[_0x35ac61(0x2a4)]===_0x35ac61(0x373)?0x0:-_0x206436),_0x41ede9['drawWith'](_0x2f1391,{'text':this[_0x35ac61(0x3aa)],'color':this[_0x35ac61(0x18c)]}),_0x2f1391[_0x35ac61(0x1c7)]());}}var _0x5eca48=Object[_0x31f2ea(0x140)],_0x4e640d=(_0xd724a0,_0x573203,_0x3a8215,_0x5455a3)=>{for(var _0x5e91b9=_0x5455a3>0x1?void 0x0:_0x5455a3?_0x5eca48(_0x573203,_0x3a8215):_0x573203,_0x5b940f=_0xd724a0['length']-0x1,_0x40ec34;_0x5b940f>=0x0;_0x5b940f--)(_0x40ec34=_0xd724a0[_0x5b940f])&&(_0x5e91b9=_0x40ec34(_0x5e91b9)||_0x5e91b9);return _0x5e91b9;},_0x52f1ef=(_0x3a79b1,_0x1d0757)=>(_0x2c9607,_0x377cf7)=>_0x1d0757(_0x2c9607,_0x377cf7,_0x3a79b1);const _0x2b8ac9=0x1389;let _0x36393a=class extends _0xfde5a2['RxDisposable']{constructor(_0x2c2a6c,_0x1f74a9,_0x1076ab,_0x570e11){const _0x4329e5=_0x31f2ea;super(),_0x25ee06(this,_0x4329e5(0x195),new Set()),_0x25ee06(this,'_lastPointer',null),(this[_0x4329e5(0x369)]=_0x2c2a6c,this['_sheetSkeletonManagerService']=_0x1f74a9,this[_0x4329e5(0x10f)]=_0x1076ab,this[_0x4329e5(0x38b)]=_0x570e11,this[_0x4329e5(0x158)]());}[_0x31f2ea(0x158)](){const _0x58c809=_0x31f2ea;this['_sheetSkeletonManagerService'][_0x58c809(0x18b)][_0x58c809(0x1fe)](_0x4871f9[_0x58c809(0x24a)](this['dispose$']),_0x4871f9[_0x58c809(0x23c)](_0x16f50b=>{const _0x969122=_0x58c809;if(_0x16f50b){const _0x1ee22a=_0x16f50b[_0x969122(0x3a6)];return _0x52a223[_0x969122(0x278)](this[_0x969122(0x10f)][_0x969122(0x14f)](this[_0x969122(0x369)][_0x969122(0x20b)]),this[_0x969122(0x38b)][_0x969122(0x29e)])[_0x969122(0x1fe)](_0x4871f9[_0x969122(0x1cc)](([_0x13d661,_0x5f2019])=>{const _0x3f158e=_0x969122,_0x14a200=new Map();return _0x13d661[_0x3f158e(0x2fb)]((_0x23c01b,_0x58492a)=>{const _0x59fcbe=_0x3f158e;if(_0x23c01b[_0x59fcbe(0x36e)]===_0x1ee22a){const _0x5491aa={..._0x23c01b};_0x5491aa['color']=this[_0x59fcbe(0x38b)][_0x59fcbe(0x16c)](_0x23c01b[_0x59fcbe(0x26e)]),_0x14a200['set'](_0x58492a,_0x5491aa);}}),{'skeleton':_0x16f50b,'cursors':_0x14a200};}));}return _0x52a223['of']({'skeleton':null,'cursors':new Map()});}))[_0x58c809(0x220)](({skeleton:_0x4efa59,cursors:_0x238825})=>{const _0x56d5e3=_0x58c809;this['_removeCollabCursors'](),_0x4efa59&&this[_0x56d5e3(0x1fa)](_0x4efa59,_0x238825);}),this[_0x58c809(0x30d)][_0x58c809(0x18b)][_0x58c809(0x220)](_0x382dec=>{const _0x12219b=_0x58c809;if(_0x382dec==null)return;const {skeleton:_0x3d5380}=_0x382dec,{scene:_0x556604}=this[_0x12219b(0x369)];_0x556604[_0x12219b(0x102)][_0x12219b(0x2cf)](_0xfde5a2[_0x12219b(0x292)](_0x4063b2=>{const _0x485842=_0x12219b;var _0x1ef35f,_0x1f0980;const {offsetX:_0x2d3ea5,offsetY:_0x3b675b}=_0x4063b2,{x:_0x63b79a,y:_0x21b643}=_0x556604[_0x485842(0x192)](_0x12ef37['Vector2'][_0x485842(0x2ab)]([_0x2d3ea5,_0x3b675b])),{scaleX:_0x1cdef7,scaleY:_0x184857}=_0x556604[_0x485842(0x1b1)](),_0x386137=_0x556604[_0x485842(0x1b6)](_0x12ef37['SHEET_VIEWPORT_KEY'][_0x485842(0x257)]),_0x130d81=_0x556604[_0x485842(0x377)](_0x12ef37[_0x485842(0xfd)][_0x485842(0x2ab)]([_0x63b79a,_0x21b643]),_0x386137),_0x436cba=_0x3d5380[_0x485842(0x100)](_0x2d3ea5,_0x3b675b,_0x1cdef7,_0x184857,_0x130d81);((_0x1ef35f=this['_lastPointer'])==null?void 0x0:_0x1ef35f[_0x485842(0x350)])===_0x436cba['column']&&((_0x1f0980=this[_0x485842(0x1fb)])==null?void 0x0:_0x1f0980[_0x485842(0x2ae)])===_0x436cba[_0x485842(0x2ae)]||this[_0x485842(0x195)][_0x485842(0x2fb)](_0x33a86f=>{const _0x10fc45=_0x485842;_0x33a86f[_0x10fc45(0x1ee)](_0x436cba);});},0x64));});}[_0x31f2ea(0x1fa)](_0x5960f8,_0x4cb1d1){const _0x2e83a8=_0x31f2ea;var _0x477d85;const _0x2d6cbd=(_0x477d85=this[_0x2e83a8(0x30d)][_0x2e83a8(0x3b5)]())==null?void 0x0:_0x477d85[_0x2e83a8(0x17e)];if(!_0x2d6cbd)return;const _0x4e0055=this['_getSheetObject']();if(!_0x4e0055)return;this[_0x2e83a8(0x195)][_0x2e83a8(0x2fb)](_0x1c8398=>{const _0x1ec4ca=_0x2e83a8;_0x1c8398[_0x1ec4ca(0x270)]();});const {scene:_0x5efc61}=_0x4e0055,_0x677635=_0x1ecede(Array[_0x2e83a8(0x25e)](_0x4cb1d1[_0x2e83a8(0x21c)]()))['map'](_0x58486e=>{const _0x235a82=_0x2e83a8,{color:_0x58c995,range:_0x5a3835,name:_0x398d5f,selection:_0x391f36,sheetID:_0x37f29d}=_0x58486e,{startColumn:_0x24ba64,startRow:_0xa73d5b,endColumn:_0x2e749d,endRow:_0x226dca}=_0x5a3835,_0x4a8991=_0x209116[_0x235a82(0x222)](_0xa73d5b,_0x24ba64,_0x5efc61,_0x2d6cbd),_0xa93274=_0x209116[_0x235a82(0x222)](_0x226dca,_0x2e749d,_0x5efc61,_0x2d6cbd),{columnHeaderHeightAndMarginTop:_0x55493b}=_0x2d6cbd,{startX:_0x27c692,startY:_0x34af18}=_0x4a8991,{endX:_0x44ae5,endY:_0x368848}=_0xa93274,_0x32dc1e=_0x44ae5-_0x27c692,_0x4a9157=_0x368848-_0x34af18,_0x38b714={'labelPosition':_0x34af18-_0x55493b>=_0x206436?'top':'bottom','sheetID':_0x37f29d,'range':_0x5a3835,'color':_0x58c995,'name':_0x398d5f,'selection':_0x391f36,'left':_0x27c692,'top':_0x34af18,'width':_0x32dc1e,'height':_0x4a9157,'evented':!0x1,'zIndex':_0x2b8ac9};return new _0x4671e4(_0x398d5f,_0x38b714);});_0x5efc61[_0x2e83a8(0x3b8)](_0x677635,_0x2a2faf),this['_cursors']=new Set(_0x677635);}[_0x31f2ea(0x361)](){const _0x296108=_0x31f2ea;var _0x4fc5d9;(_0x4fc5d9=this[_0x296108(0x195)])==null||_0x4fc5d9[_0x296108(0x2fb)](_0x27f7cd=>_0x27f7cd['dispose']());}['_getSheetObject'](){const _0x2c45e1=_0x31f2ea;return _0x209116[_0x2c45e1(0x344)](this[_0x2c45e1(0x369)][_0x2c45e1(0x2b3)],this['_context']);}};_0x36393a=_0x4e640d([_0x52f1ef(0x1,_0xfde5a2[_0x31f2ea(0x279)](_0x209116[_0x31f2ea(0x2bc)])),_0x52f1ef(0x2,_0xfde5a2[_0x31f2ea(0x279)](_0x3d40e5)),_0x52f1ef(0x3,_0xfde5a2[_0x31f2ea(0x279)](_0xfde5a2['ThemeService']))],_0x36393a);function _0x1ecede(_0x399f0b){const _0xf4f404=_0x31f2ea,_0x540272=new Map();return _0x399f0b[_0xf4f404(0x2fb)](_0x5f33e7=>{const _0x1af2a4=_0xf4f404;if(_0x540272['has'](_0x5f33e7[_0x1af2a4(0x22a)])){const _0x519d0b=_0x540272['get'](_0x5f33e7['selection']);_0x519d0b[_0x1af2a4(0x200)]+=',\x20'+_0x5f33e7[_0x1af2a4(0x200)];}else _0x540272[_0x1af2a4(0x15e)](_0x5f33e7['selection'],_0x5f33e7);}),Array[_0xf4f404(0x25e)](_0x540272[_0xf4f404(0x21c)]());}var _0x511261=Object[_0x31f2ea(0x140)],_0x343c8f=(_0x5173c5,_0x4d0b6f,_0x2d8820,_0x4e8ac9)=>{const _0x508d3f=_0x31f2ea;for(var _0x5fad30=_0x4e8ac9>0x1?void 0x0:_0x4e8ac9?_0x511261(_0x4d0b6f,_0x2d8820):_0x4d0b6f,_0x4e1361=_0x5173c5[_0x508d3f(0x273)]-0x1,_0x26e950;_0x4e1361>=0x0;_0x4e1361--)(_0x26e950=_0x5173c5[_0x4e1361])&&(_0x5fad30=_0x26e950(_0x5fad30)||_0x5fad30);return _0x5fad30;},_0x3c6700=(_0x28ec5e,_0x2b4b62)=>(_0xc4db84,_0x1332fe)=>_0x2b4b62(_0xc4db84,_0x1332fe,_0x28ec5e);let _0x2e487d=class extends _0xfde5a2[_0x31f2ea(0x38c)]{constructor(_0x2ad706,_0x3ab05e,_0x488742,_0x300a0b,_0x5990cb,_0x3fd7ab){const _0x15d714=_0x31f2ea;super(),this[_0x15d714(0x357)]=_0x2ad706,this[_0x15d714(0x1d7)]=_0x3ab05e,this[_0x15d714(0x1ac)]=_0x488742,this[_0x15d714(0x17f)]=_0x300a0b,this['_notificationService']=_0x5990cb,this[_0x15d714(0x339)]=_0x3fd7ab,this[_0x15d714(0x39d)](),this[_0x15d714(0x1d6)]();}['_setupBeforeClosingHandler'](){const _0x3c71c8=_0x31f2ea;this['disposeWithMe'](this['_beforeCloseService'][_0x3c71c8(0x193)](()=>{const _0x53de14=_0x3c71c8;if(this[_0x53de14(0x1d7)][_0x53de14(0x131)]['size'])return this[_0x53de14(0x339)]['t'](_0x53de14(0x376));}));}[_0x31f2ea(0x1d6)](){const _0x11c779=_0x31f2ea;this[_0x11c779(0x216)](this[_0x11c779(0x1ac)][_0x11c779(0x12d)][_0x11c779(0x220)](_0x5095de=>{const _0x1ff947=_0x11c779;_0x5095de['id']===_0x27635d[_0x1ff947(0x298)][_0x1ff947(0x27a)]&&this['_messageService'][_0x1ff947(0x1f7)]({'type':_0x2eee56[_0x1ff947(0x250)]['Warning'],'content':this[_0x1ff947(0x339)]['t'](_0x1ff947(0x18a))}),_0x5095de['id']===_0x27635d[_0x1ff947(0x298)][_0x1ff947(0x1ed)]&&this[_0x1ff947(0x17f)]['show']({'type':_0x2eee56[_0x1ff947(0x250)][_0x1ff947(0x281)],'content':this[_0x1ff947(0x339)]['t'](_0x1ff947(0x10d))}),_0x5095de['id']===_0x27635d['CollaborationUIEventId'][_0x1ff947(0x14d)]&&this['_notificationService'][_0x1ff947(0x1f7)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x1ff947(0x339)]['t'](_0x1ff947(0x1ae)),'type':'error','duration':0x0}),_0x5095de['id']===_0x27635d[_0x1ff947(0x298)][_0x1ff947(0x1a9)]&&this[_0x1ff947(0x17f)][_0x1ff947(0x1f7)]({'type':_0x2eee56[_0x1ff947(0x250)]['Error'],'content':this[_0x1ff947(0x339)]['t'](_0x1ff947(0x10d))+'('+_0x5095de[_0x1ff947(0x116)]+')'}),_0x5095de['id']===_0x27635d[_0x1ff947(0x298)][_0x1ff947(0x10c)]&&this[_0x1ff947(0x17f)]['show']({'type':_0x2eee56[_0x1ff947(0x250)]['Warning'],'content':this[_0x1ff947(0x339)]['t'](_0x5095de[_0x1ff947(0x116)]||'')}),_0x5095de['id']===_0x27635d['CollaborationUIEventId'][_0x1ff947(0x170)]&&this['_messageService']['show']({'type':_0x2eee56['MessageType'][_0x1ff947(0x281)],'content':this[_0x1ff947(0x339)]['t']('session.will-retry')}),_0x5095de['id']===_0x27635d[_0x1ff947(0x298)]['SOCKET_FAILED']&&this['_messageService']['show']({'type':_0x2eee56[_0x1ff947(0x250)]['Error'],'content':this[_0x1ff947(0x339)]['t'](_0x1ff947(0x132))}),_0x5095de['id']===_0x27635d[_0x1ff947(0x298)][_0x1ff947(0xf5)]&&this[_0x1ff947(0x17f)][_0x1ff947(0x1f7)]({'type':_0x2eee56[_0x1ff947(0x250)][_0x1ff947(0x2a1)],'content':this['_localeService']['t'](_0x1ff947(0x221))});}));}};_0x2e487d=_0x343c8f([_0x3c6700(0x0,_0x1dd723[_0x31f2ea(0x2d2)]),_0x3c6700(0x1,_0x27635d[_0x31f2ea(0x358)]),_0x3c6700(0x2,_0xfde5a2['Inject'](_0x27635d[_0x31f2ea(0x1a4)])),_0x3c6700(0x3,_0x1dd723['IMessageService']),_0x3c6700(0x4,_0x1dd723['INotificationService']),_0x3c6700(0x5,_0xfde5a2['Inject'](_0xfde5a2[_0x31f2ea(0x21b)]))],_0x2e487d);var _0x1c6843=Object['getOwnPropertyDescriptor'],_0x3d581a=(_0x1dca58,_0x138ca0,_0x452df7,_0x1f2e75)=>{const _0x33d10e=_0x31f2ea;for(var _0x1a7573=_0x1f2e75>0x1?void 0x0:_0x1f2e75?_0x1c6843(_0x138ca0,_0x452df7):_0x138ca0,_0x23ed15=_0x1dca58[_0x33d10e(0x273)]-0x1,_0x2158ce;_0x23ed15>=0x0;_0x23ed15--)(_0x2158ce=_0x1dca58[_0x23ed15])&&(_0x1a7573=_0x2158ce(_0x1a7573)||_0x1a7573);return _0x1a7573;},_0xfe6f8b=(_0x427f1e,_0x6324aa)=>(_0x5c2b34,_0x537738)=>_0x6324aa(_0x5c2b34,_0x537738,_0x427f1e);let _0x3f03d4=class extends _0xfde5a2['Disposable']{constructor(_0x5531b8,_0x1ad9e3,_0x1754c3,_0x1fd103){const _0x3d547e=_0x31f2ea;super(),_0x25ee06(this,'_memberID'),(this['_injector']=_0x5531b8,this[_0x3d547e(0x123)]=_0x1ad9e3,this[_0x3d547e(0x29c)]=_0x1754c3,this[_0x3d547e(0x3af)]=_0x1fd103,this['_init']());}[_0x31f2ea(0x158)](){const _0x113e69=_0x31f2ea;this['_initWindowErrorListener'](),this[_0x113e69(0x18f)](),this['_monkeyPatchLogService'](),this[_0x113e69(0x16d)]();}[_0x31f2ea(0x16d)](){const _0x32066b=_0x31f2ea;this[_0x32066b(0x216)](this[_0x32066b(0x3af)][_0x32066b(0x1b5)][_0x32066b(0x220)](_0x5c4600=>{const _0x6a4480=_0x32066b;this[_0x6a4480(0x3b1)]=_0x5c4600==null?void 0x0:_0x5c4600[_0x6a4480(0x271)];}));}['_initWindowErrorListener'](){const _0x44d0c1=_0x31f2ea,_0x2f485a=_0x12d9a8=>{const _0x5eb824=_0x35b2;var _0x1ec816;this[_0x5eb824(0x160)](_0x5eb824(0x20f),_0x5eb824(0x1ea)+_0x12d9a8[_0x5eb824(0x20a)]+_0x5eb824(0x25d)+_0x12d9a8['filename']+':'+_0x12d9a8[_0x5eb824(0x177)]+':'+_0x12d9a8[_0x5eb824(0x21e)]+'\x0a'+(((_0x1ec816=_0x12d9a8[_0x5eb824(0x20f)])==null?void 0x0:_0x1ec816['stack'])||''));};window[_0x44d0c1(0x3b3)]('error',_0x2f485a),this[_0x44d0c1(0x216)](()=>{const _0x4d4295=_0x44d0c1;window['removeEventListener'](_0x4d4295(0x20f),_0x2f485a);});}[_0x31f2ea(0x18f)](){const _0x190008=_0x31f2ea,_0x2baddc=_0x5e4b14=>{const _0x302509=_0x35b2;this[_0x302509(0x160)](_0x302509(0x20f),_0x302509(0x212)+_0x5e4b14[_0x302509(0x391)]);};window['addEventListener'](_0x190008(0x3a1),_0x2baddc),this['disposeWithMe'](()=>{const _0x5cde8a=_0x190008;window[_0x5cde8a(0x11c)](_0x5cde8a(0x3a1),_0x2baddc);});}[_0x31f2ea(0x3e9)](){const _0x3ab9ab=_0x31f2ea,_0x5787a8=this[_0x3ab9ab(0x29c)][_0x3ab9ab(0x20f)][_0x3ab9ab(0x2c6)](this[_0x3ab9ab(0x29c)]);this['_logService'][_0x3ab9ab(0x20f)]=(..._0x25b631)=>{const _0x23372f=_0x3ab9ab,_0x5f3cbc=_0x25b631[_0x23372f(0x1cc)](_0x3a4a5e=>_0x3a4a5e instanceof Error?_0x3a4a5e[_0x23372f(0x20a)]+'\x0a'+_0x3a4a5e['stack']:String(_0x3a4a5e))[_0x23372f(0x234)]('\x20');this[_0x23372f(0x160)](_0x23372f(0x20f),_0x23372f(0x25b)+_0x5f3cbc),_0x5787a8(..._0x25b631);},this[_0x3ab9ab(0x216)](()=>{const _0x129970=_0x3ab9ab;this[_0x129970(0x29c)][_0x129970(0x20f)]=_0x5787a8;});}[_0x31f2ea(0x160)](_0xdcf31c,_0x20fc39){const _0x3f5a34=_0x31f2ea;try{const _0x401722={'userId':this[_0x3f5a34(0x3b1)],'logLabel':_0xdcf31c,'content':_0x20fc39};this[_0x3f5a34(0x123)][_0x3f5a34(0x269)](_0x3f5a34(0x127),{'body':_0x401722})[_0x3f5a34(0x309)](()=>{});}catch{}}};_0x3f03d4=_0x3d581a([_0xfe6f8b(0x0,_0xfde5a2[_0x31f2ea(0x279)](_0xfde5a2['Injector'])),_0xfe6f8b(0x1,_0xfde5a2['Inject'](_0x47e21f[_0x31f2ea(0x209)])),_0xfe6f8b(0x2,_0xfde5a2[_0x31f2ea(0x25c)]),_0xfe6f8b(0x3,_0xfde5a2[_0x31f2ea(0x279)](_0x27635d[_0x31f2ea(0x134)]))],_0x3f03d4);const _0x348dba=_0x31f2ea(0x378),_0x3deaab={};var _0x347ece=Object[_0x31f2ea(0x140)],_0x498125=(_0x4cb284,_0x39ceec,_0x3746b4,_0x137581)=>{const _0x70c835=_0x31f2ea;for(var _0x537e74=_0x137581>0x1?void 0x0:_0x137581?_0x347ece(_0x39ceec,_0x3746b4):_0x39ceec,_0x433366=_0x4cb284[_0x70c835(0x273)]-0x1,_0x3c9aa2;_0x433366>=0x0;_0x433366--)(_0x3c9aa2=_0x4cb284[_0x433366])&&(_0x537e74=_0x3c9aa2(_0x537e74)||_0x537e74);return _0x537e74;},_0x28a32e=(_0x32931c,_0x2367b1)=>(_0x9510ef,_0x4aeddc)=>_0x2367b1(_0x9510ef,_0x4aeddc,_0x32931c);let _0x2b4140=class{constructor(_0x3bc909,_0x11a2ef){const _0x543e2a=_0x31f2ea;this[_0x543e2a(0x293)]=_0x3bc909,this['_renderManagerService']=_0x11a2ef;}['transformIMECache'](_0x745af8){const _0x305467=_0x31f2ea;this[_0x305467(0x1df)](_0x745af8),this[_0x305467(0x327)](_0x745af8);}[_0x31f2ea(0x17d)](_0x33f974){const _0x2a9611=_0x31f2ea,{unitID:_0x38fb88}=_0x33f974,_0x52eb64=this[_0x2a9611(0x232)][_0x2a9611(0x3df)](_0x38fb88)[_0x2a9611(0x2f8)](_0x5f2683[_0x2a9611(0x3cf)]),{redoCache:_0x34101a}=_0x52eb64['getUndoRedoMutationParamsCache']();if(_0x34101a['length']===0x0)return _0x33f974;let _0xfb586d=_0xfde5a2[_0x2a9611(0x11d)][_0x2a9611(0x397)](_0x33f974['mutations'][0x0]);for(let _0x653746=0x0;_0x653746<_0x34101a['length'];_0x653746++){const _0x52290a={'id':'doc.mutation.rich-text-editing','params':{..._0x34101a[_0x653746]}},_0x36ac09=this[_0x2a9611(0x293)][_0x2a9611(0x1f0)](_0xfb586d,_0x52290a,!0x1);if(_0x1d08ae['isTransformMutationFailure'](_0x36ac09))throw _0x36ac09['error'];_0xfb586d=_0x36ac09['m1Prime'];}return{..._0xfde5a2['Tools'][_0x2a9611(0x397)](_0x33f974),'mutations':[_0xfb586d]};}['_transformUndoRedoStack'](_0x2953b7){const _0xa901e5=_0x31f2ea,{unitID:_0x4b4161}=_0x2953b7,_0x5cbd74=this[_0xa901e5(0x232)][_0xa901e5(0x3df)](_0x4b4161)['with'](_0x5f2683[_0xa901e5(0x3cf)]),{undoCache:_0x400876,redoCache:_0x16aed7}=_0x5cbd74[_0xa901e5(0x381)]();if(_0x400876[_0xa901e5(0x273)]===0x0||_0x16aed7['length']===0x0)return;const _0x421288=[],_0x2c9ea8=[];let _0x3d254b=_0xfde5a2['Tools'][_0xa901e5(0x397)](_0x2953b7[_0xa901e5(0x3c3)][0x0]),_0x2d54c5=_0xfde5a2[_0xa901e5(0x11d)][_0xa901e5(0x397)](_0x2953b7[_0xa901e5(0x3c3)][0x0]);for(let _0x4ccbb0=_0x400876[_0xa901e5(0x273)]-0x1;_0x4ccbb0>=0x0;_0x4ccbb0--){const _0x2a001b={'id':_0xa901e5(0x10a),'params':{..._0x400876[_0x4ccbb0]}},_0x2113cf={'id':'doc.mutation.rich-text-editing','params':{..._0x16aed7[_0x4ccbb0]}},_0x3ca34c=this[_0xa901e5(0x293)]['transformMutation'](_0x3d254b,_0x2a001b,!0x1),_0x38ed57=this[_0xa901e5(0x293)][_0xa901e5(0x1f0)](_0x2d54c5,_0x2113cf,!0x1);if(_0x1d08ae[_0xa901e5(0x19d)](_0x3ca34c))throw _0x3ca34c[_0xa901e5(0x20f)];if(_0x1d08ae[_0xa901e5(0x19d)](_0x38ed57))throw _0x38ed57[_0xa901e5(0x20f)];_0x421288['unshift'](_0x3ca34c[_0xa901e5(0x364)][_0xa901e5(0x115)]),_0x2c9ea8[_0xa901e5(0x26f)](_0x38ed57['m2Prime'][_0xa901e5(0x115)]),_0x3d254b=_0x3ca34c[_0xa901e5(0x2ba)],_0x2d54c5=_0x38ed57[_0xa901e5(0x2ba)];}_0x5cbd74[_0xa901e5(0x15a)]({'undoCache':_0x421288,'redoCache':_0x2c9ea8});}['_transformPreviousActiveRange'](_0x42fc88){const _0x599f9b=_0x31f2ea,{unitID:_0x2527ba}=_0x42fc88,_0x2c586b=this[_0x599f9b(0x232)][_0x599f9b(0x3df)](_0x2527ba)[_0x599f9b(0x2f8)](_0x5f2683[_0x599f9b(0x3cf)]),_0x1fc586=_0x2c586b[_0x599f9b(0x3c4)]();if(_0x1fc586==null)return;const _0x5e7f42=[{'id':_0x599f9b(0x10a),'params':{'unitId':_0x42fc88[_0x599f9b(0x2cd)],'actions':null,'textRanges':[_0x1fc586]}}],_0xbf0e0e=this[_0x599f9b(0x293)][_0x599f9b(0x12c)](_0x42fc88,_0x5e7f42);if(!_0x1d08ae[_0x599f9b(0x2c0)](_0xbf0e0e))throw _0xbf0e0e[_0x599f9b(0x20f)];const _0x578675=_0xbf0e0e[_0x599f9b(0x364)][0x0][_0x599f9b(0x115)][_0x599f9b(0x32f)];Array[_0x599f9b(0x3d0)](_0x578675)&&_0x578675[_0x599f9b(0x273)]&&_0x2c586b['setActiveRange'](_0x578675[0x0]);}};_0x2b4140=_0x498125([_0x28a32e(0x0,_0x1d08ae['ITransformService']),_0x28a32e(0x1,_0x12ef37[_0x31f2ea(0x359)])],_0x2b4140);var _0xd6e2b6=Object[_0x31f2ea(0x140)],_0x1e74a8=(_0xa26f5d,_0x3dd2bb,_0x5305dc,_0x92ad15)=>{for(var _0x691952=_0x92ad15>0x1?void 0x0:_0x92ad15?_0xd6e2b6(_0x3dd2bb,_0x5305dc):_0x3dd2bb,_0x3a6587=_0xa26f5d['length']-0x1,_0x23ee59;_0x3a6587>=0x0;_0x3a6587--)(_0x23ee59=_0xa26f5d[_0x3a6587])&&(_0x691952=_0x23ee59(_0x691952)||_0x691952);return _0x691952;},_0x1c98d6=(_0x2cb46d,_0xcae22a)=>(_0x1764a5,_0x565aa0)=>_0xcae22a(_0x1764a5,_0x565aa0,_0x2cb46d);let _0x1860b7=class{constructor(_0x2773f2,_0x4317c8,_0x1289aa){const _0x58101f=_0x31f2ea;this[_0x58101f(0x13b)]=_0x2773f2,this[_0x58101f(0x293)]=_0x4317c8,this['_docStateChangeManagerService']=_0x1289aa;}[_0x31f2ea(0x171)](_0x329c82){const _0x44f688=_0x31f2ea;this[_0x44f688(0x196)](_0x329c82);}['transformRemoteChangeset'](_0x4ec46f){const _0x5e0e26=_0x31f2ea,{unitID:_0x1bae80}=_0x4ec46f,{collaboration:_0x52b4da}=this['_docStateChangeManagerService'][_0x5e0e26(0x3de)](_0x1bae80);if(_0x52b4da['length']===0x0)return _0x4ec46f;let _0x2257c8=_0xfde5a2['Tools'][_0x5e0e26(0x397)](_0x4ec46f[_0x5e0e26(0x3c3)][0x0]);for(let _0xb49cbd=0x0;_0xb49cbd<_0x52b4da['length'];_0xb49cbd++){const _0x280dca={'id':_0x5e0e26(0x10a),'params':{'unitId':_0x52b4da[_0xb49cbd][_0x5e0e26(0x20b)],..._0x52b4da[_0xb49cbd][_0x5e0e26(0x118)]}},_0x50b5cb=this[_0x5e0e26(0x293)][_0x5e0e26(0x1f0)](_0x2257c8,_0x280dca,!0x1);if(_0x1d08ae['isTransformMutationFailure'](_0x50b5cb))throw _0x50b5cb[_0x5e0e26(0x20f)];_0x2257c8=_0x50b5cb[_0x5e0e26(0x2ba)];}return{..._0xfde5a2[_0x5e0e26(0x11d)][_0x5e0e26(0x397)](_0x4ec46f),'mutations':[_0x2257c8]};}[_0x31f2ea(0x196)](_0x1f9d72){const _0x10ccba=_0x31f2ea,{unitID:_0x418eef}=_0x1f9d72,{history:_0xe87ab2,collaboration:_0x1d9143}=this[_0x10ccba(0x30a)][_0x10ccba(0x3de)](_0x418eef);if(_0xe87ab2[_0x10ccba(0x273)]===0x0&&_0x1d9143[_0x10ccba(0x273)]===0x0)return;const _0x5cc255=[],_0x47578f=[];let _0x3cb78b=_0xfde5a2['Tools']['deepClone'](_0x1f9d72[_0x10ccba(0x3c3)][0x0]),_0x49478f=_0xfde5a2[_0x10ccba(0x11d)][_0x10ccba(0x397)](_0x1f9d72[_0x10ccba(0x3c3)][0x0]);for(let _0x19f435=_0xe87ab2[_0x10ccba(0x273)]-0x1;_0x19f435>=0x0;_0x19f435--){const _0x36bf8d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xe87ab2[_0x19f435][_0x10ccba(0x20b)],..._0xe87ab2[_0x19f435][_0x10ccba(0x265)]}},_0x526b1f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xe87ab2[_0x19f435][_0x10ccba(0x20b)],..._0xe87ab2[_0x19f435][_0x10ccba(0x118)]}},_0xc30366=this[_0x10ccba(0x293)]['transformMutation'](_0x3cb78b,_0x36bf8d,!0x1),_0x4440c5=this[_0x10ccba(0x293)][_0x10ccba(0x1f0)](_0x49478f,_0x526b1f,!0x1);if(_0x1d08ae[_0x10ccba(0x19d)](_0xc30366))throw _0xc30366['error'];if(_0x1d08ae[_0x10ccba(0x19d)](_0x4440c5))throw _0x4440c5[_0x10ccba(0x20f)];_0x5cc255['unshift']({..._0xe87ab2[_0x19f435],'undoState':_0xc30366[_0x10ccba(0x364)][_0x10ccba(0x115)],'redoState':_0x4440c5[_0x10ccba(0x364)][_0x10ccba(0x115)]}),_0x3cb78b=_0xc30366[_0x10ccba(0x2ba)],_0x49478f=_0x4440c5[_0x10ccba(0x2ba)];}_0x3cb78b=_0xfde5a2['Tools'][_0x10ccba(0x397)](_0x1f9d72['mutations'][0x0]),_0x49478f=_0xfde5a2[_0x10ccba(0x11d)][_0x10ccba(0x397)](_0x1f9d72[_0x10ccba(0x3c3)][0x0]);for(let _0x1d1dfd=_0x1d9143[_0x10ccba(0x273)]-0x1;_0x1d1dfd>=0x0;_0x1d1dfd--){const _0x4df4ab={'id':_0x10ccba(0x10a),'params':{'unitId':_0x1d9143[_0x1d1dfd][_0x10ccba(0x20b)],..._0x1d9143[_0x1d1dfd]['undoState']}},_0x17ef05={'id':_0x10ccba(0x10a),'params':{'unitId':_0x1d9143[_0x1d1dfd][_0x10ccba(0x20b)],..._0x1d9143[_0x1d1dfd]['redoState']}},_0x3e3a98=this['_transformService']['transformMutation'](_0x3cb78b,_0x4df4ab,!0x1),_0x3e621e=this[_0x10ccba(0x293)]['transformMutation'](_0x49478f,_0x17ef05,!0x1);if(_0x1d08ae[_0x10ccba(0x19d)](_0x3e3a98))throw _0x3e3a98[_0x10ccba(0x20f)];if(_0x1d08ae['isTransformMutationFailure'](_0x3e621e))throw _0x3e621e['error'];_0x47578f[_0x10ccba(0x26f)]({..._0x1d9143[_0x1d1dfd],'undoState':_0x3e3a98[_0x10ccba(0x364)]['params'],'redoState':_0x3e621e[_0x10ccba(0x364)][_0x10ccba(0x115)]}),_0x3cb78b=_0x3e3a98[_0x10ccba(0x2ba)],_0x49478f=_0x3e621e[_0x10ccba(0x2ba)];}this[_0x10ccba(0x30a)][_0x10ccba(0x126)](_0x418eef,{'history':_0x5cc255,'collaboration':_0x47578f});}};_0x1860b7=_0x1e74a8([_0x1c98d6(0x0,_0xfde5a2[_0x31f2ea(0x279)](_0xfde5a2[_0x31f2ea(0x110)])),_0x1c98d6(0x1,_0x1d08ae[_0x31f2ea(0x3d6)]),_0x1c98d6(0x2,_0xfde5a2['Inject'](_0x5f2683[_0x31f2ea(0x190)]))],_0x1860b7);var _0x41f349=Object[_0x31f2ea(0x140)],_0x40d48b=(_0x4bf037,_0x1f6a4c,_0xe365e7,_0x1b439d)=>{const _0x41f57d=_0x31f2ea;for(var _0x41d67e=_0x1b439d>0x1?void 0x0:_0x1b439d?_0x41f349(_0x1f6a4c,_0xe365e7):_0x1f6a4c,_0x39a626=_0x4bf037[_0x41f57d(0x273)]-0x1,_0x11a3c1;_0x39a626>=0x0;_0x39a626--)(_0x11a3c1=_0x4bf037[_0x39a626])&&(_0x41d67e=_0x11a3c1(_0x41d67e)||_0x41d67e);return _0x41d67e;},_0xa7eafc=(_0x4b7d15,_0x4e5513)=>(_0x4b276c,_0x5f1a21)=>_0x4e5513(_0x4b276c,_0x5f1a21,_0x4b7d15);let _0x3addf5=class{constructor(_0x33f704,_0x5f3fc9){const _0x261ccb=_0x31f2ea;this[_0x261ccb(0x13b)]=_0x33f704,this['_transformService']=_0x5f3fc9;}[_0x31f2ea(0x22d)](_0x4b788b){const _0x76263=_0x31f2ea;var _0x75e226;const _0x4de4fc=this[_0x76263(0x13b)][_0x76263(0xfb)](_0x3c17d2[_0x76263(0x2cc)]),_0x198b87=(_0x75e226=_0x4de4fc[_0x76263(0x286)]())!=null?_0x75e226:[];if(_0x198b87['length']===0x0)return;const _0x54a29f=_0x4b788b['unitID'],_0x27db61=[{'id':_0x76263(0x10a),'params':{'unitId':_0x54a29f,'actions':null,'textRanges':_0x198b87}}],_0x294807=this['_transformService'][_0x76263(0x12c)](_0x4b788b,_0x27db61);if(!_0x1d08ae[_0x76263(0x2c0)](_0x294807))throw _0x294807[_0x76263(0x20f)];const _0x5332ae=_0x294807[_0x76263(0x364)][0x0]['params'][_0x76263(0x32f)];Array[_0x76263(0x3d0)](_0x5332ae)&&_0x5332ae['length']&&_0x4de4fc[_0x76263(0x2c9)](_0x5332ae,{'unitId':_0x54a29f,'subUnitId':_0x54a29f},!0x1);}};_0x3addf5=_0x40d48b([_0xa7eafc(0x0,_0xfde5a2[_0x31f2ea(0x279)](_0xfde5a2[_0x31f2ea(0x110)])),_0xa7eafc(0x1,_0x1d08ae[_0x31f2ea(0x3d6)])],_0x3addf5);var _0x56b7d3=Object['getOwnPropertyDescriptor'],_0x3af20f=(_0x1f6593,_0x44dc80,_0x3f5e5d,_0x55ebd3)=>{for(var _0x908a8f=_0x55ebd3>0x1?void 0x0:_0x55ebd3?_0x56b7d3(_0x44dc80,_0x3f5e5d):_0x44dc80,_0x4a2d3a=_0x1f6593['length']-0x1,_0x13f43f;_0x4a2d3a>=0x0;_0x4a2d3a--)(_0x13f43f=_0x1f6593[_0x4a2d3a])&&(_0x908a8f=_0x13f43f(_0x908a8f)||_0x908a8f);return _0x908a8f;},_0x8d2fd6=(_0x42440a,_0x2e01d6)=>(_0x371644,_0x20a0c0)=>_0x2e01d6(_0x371644,_0x20a0c0,_0x42440a);let _0x46e126=class extends _0xfde5a2['Disposable']{constructor(_0x118c3c,_0x812a1d,_0x24c9d4,_0x269a76,_0x194aff,_0x49f31e,_0x2c9cd3,_0x18371b){const _0x30f477=_0x31f2ea;super(),_0x25ee06(this,_0x30f477(0x135),new _0x52a223[(_0x30f477(0x345))](_0x27635d['CollaborationStatus'][_0x30f477(0x32c)])),(this[_0x30f477(0x30a)]=_0x118c3c,this[_0x30f477(0x32e)]=_0x812a1d,this[_0x30f477(0x3bf)]=_0x24c9d4,this[_0x30f477(0x277)]=_0x269a76,this[_0x30f477(0x351)]=_0x194aff,this[_0x30f477(0x199)]=_0x49f31e,this['_messageService']=_0x2c9cd3,this[_0x30f477(0x339)]=_0x18371b,this[_0x30f477(0x14b)]());}[_0x31f2ea(0x14b)](){const _0x3de1ab=_0x31f2ea;this[_0x3de1ab(0x216)](this[_0x3de1ab(0x32e)][_0x3de1ab(0x1f8)][_0x3de1ab(0x220)](_0x235931=>{const _0x245bdd=_0x3de1ab,_0x5a8965=this[_0x245bdd(0x30a)][_0x245bdd(0x3be)][_0x245bdd(0x220)](_0x432217=>{const _0x155bb3=_0x245bdd;if(_0x432217==null)return;const {unitId:_0x21d898,redoState:_0x4d0c57,commandId:_0x3ec62e}=_0x432217;if(_0x21d898!==_0x235931[_0x155bb3(0x2cd)])return;const _0x4eebb1={'id':_0x3ec62e,'type':_0xfde5a2[_0x155bb3(0x1e6)][_0x155bb3(0x385)],'params':{'unitId':_0x21d898,'actions':_0x4d0c57[_0x155bb3(0x198)],'textRanges':null}};_0x235931[_0x155bb3(0x3a9)](_0x4eebb1);});if(_0x235931['disposeWithMe'](_0x5a8965),_0x235931 instanceof _0x27635d[_0x245bdd(0x25f)]){const _0x4e29a4={'onTransformIME':_0x1a57b5=>this['_docTransformIMECacheService'][_0x245bdd(0x2b9)](_0x1a57b5),'onTransformState':_0x35c751=>this[_0x245bdd(0x277)]['transformStateCache'](_0x35c751),'onTransformSelections':_0x1c58bf=>this[_0x245bdd(0x351)][_0x245bdd(0x22d)](_0x1c58bf),'onSyncEditingCollabCursor':_0x4257f6=>this[_0x245bdd(0x199)][_0x245bdd(0x2f7)](_0x4257f6),'onTransformRemoteChangesetByIMECache':_0x4e287c=>this[_0x245bdd(0x3bf)][_0x245bdd(0x17d)](_0x4e287c),'onTransformRemoteChangesetByStateCache':_0x2cb80b=>this[_0x245bdd(0x277)][_0x245bdd(0x17d)](_0x2cb80b)};_0x235931[_0x245bdd(0x28f)](_0x4e29a4);}}));}};_0x46e126=_0x3af20f([_0x8d2fd6(0x0,_0xfde5a2[_0x31f2ea(0x279)](_0x5f2683[_0x31f2ea(0x190)])),_0x8d2fd6(0x1,_0xfde5a2[_0x31f2ea(0x279)](_0x27635d[_0x31f2ea(0x321)])),_0x8d2fd6(0x2,_0xfde5a2['Inject'](_0x2b4140)),_0x8d2fd6(0x3,_0xfde5a2[_0x31f2ea(0x279)](_0x1860b7)),_0x8d2fd6(0x4,_0xfde5a2[_0x31f2ea(0x279)](_0x3addf5)),_0x8d2fd6(0x5,_0xfde5a2[_0x31f2ea(0x279)](_0x1e8b6e)),_0x8d2fd6(0x6,_0x1dd723[_0x31f2ea(0x394)]),_0x8d2fd6(0x7,_0xfde5a2['Inject'](_0xfde5a2[_0x31f2ea(0x21b)]))],_0x46e126);var _0x1433b8=(_0xc9f9fa=>(_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x1b9)]=0x0]=_0x31f2ea(0x1b9),_0xc9f9fa[_0xc9f9fa['OK']=0x1]='OK',_0xc9f9fa[_0xc9f9fa['INTERNAL_ERROR']=0x2]=_0x31f2ea(0x2e4),_0xc9f9fa[_0xc9f9fa['PERMISSION_DENIED']=0x3]=_0x31f2ea(0x14d),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x1eb)]=0x4]=_0x31f2ea(0x1eb),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x17c)]=0x5]=_0x31f2ea(0x17c),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x2df)]=0x6]=_0x31f2ea(0x2df),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x297)]=0x7]=_0x31f2ea(0x297),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x322)]=0x8]=_0x31f2ea(0x322),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x36c)]=0x9]='COMPLETION_FINISHED',_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x184)]=0xa]='LOGIN_FAILED',_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x2f0)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x231)]=0xc]=_0x31f2ea(0x231),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x142)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x1dd)]=0xe]=_0x31f2ea(0x1dd),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x186)]=0xf]=_0x31f2ea(0x186),_0xc9f9fa[_0xc9f9fa['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x31f2ea(0x168),_0xc9f9fa[_0xc9f9fa['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x31f2ea(0x22f),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x325)]=0x65]='ERROR_AGAIN',_0xc9f9fa[_0xc9f9fa['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x2f5)]=0xca]=_0x31f2ea(0x2f5),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x276)]=0x1389]=_0x31f2ea(0x276),_0xc9f9fa[_0xc9f9fa['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x31f2ea(0x3a4),_0xc9f9fa[_0xc9f9fa['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x38d)]=0x1773]=_0x31f2ea(0x38d),_0xc9f9fa[_0xc9f9fa['APPLY_REJECT']=0x1b59]=_0x31f2ea(0x349),_0xc9f9fa[_0xc9f9fa['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x31f2ea(0x3a2),_0xc9f9fa[_0xc9f9fa['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x31f2ea(0x1f1),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x1ef)]=0x1b5c]=_0x31f2ea(0x1ef),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x241)]=0x1b5d]=_0x31f2ea(0x241),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x3c0)]=0x1f41]=_0x31f2ea(0x3c0),_0xc9f9fa[_0xc9f9fa['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x1b7)]=0x232a]=_0x31f2ea(0x1b7),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x10b)]=0x232b]=_0x31f2ea(0x10b),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x32b)]=0x232c]=_0x31f2ea(0x32b),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x13e)]=0x232d]=_0x31f2ea(0x13e),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x21a)]=0x2711]=_0x31f2ea(0x21a),_0xc9f9fa[_0xc9f9fa['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x31f2ea(0x2ce),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x396)]=0x2713]=_0x31f2ea(0x396),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0xfc)]=0x2714]=_0x31f2ea(0xfc),_0xc9f9fa[_0xc9f9fa['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x31f2ea(0x2d0),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x36a)]=0x271b]=_0x31f2ea(0x36a),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x1a1)]=0x271c]=_0x31f2ea(0x1a1),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x2a2)]=0x271d]=_0x31f2ea(0x2a2),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x2cb)]=0x271e]=_0x31f2ea(0x2cb),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x188)]=0x271f]=_0x31f2ea(0x188),_0xc9f9fa[_0xc9f9fa['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x1cb)]=0x2af9]=_0x31f2ea(0x1cb),_0xc9f9fa[_0xc9f9fa['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x31f2ea(0x166),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x2ca)]=0x2ee2]=_0x31f2ea(0x2ca),_0xc9f9fa[_0xc9f9fa['INVITE_CODE_REQUIRED']=0x2ee3]=_0x31f2ea(0x34d),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x35c)]=0x2ee4]=_0x31f2ea(0x35c),_0xc9f9fa[_0xc9f9fa['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x31f2ea(0x1ab),_0xc9f9fa[_0xc9f9fa['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x31f2ea(0x256),_0xc9f9fa[_0xc9f9fa['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x31f2ea(0x120),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x23a)]=0x32cb]=_0x31f2ea(0x23a),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x164)]=0x36b1]=_0x31f2ea(0x164),_0xc9f9fa[_0xc9f9fa['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x31f2ea(0x137),_0xc9f9fa[_0xc9f9fa['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x31f2ea(0x1f2),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x128)]=0x36b4]=_0x31f2ea(0x128),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x2c3)]=0x3715]=_0x31f2ea(0x2c3),_0xc9f9fa[_0xc9f9fa['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x31f2ea(0x340),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x246)]=0x3717]=_0x31f2ea(0x246),_0xc9f9fa[_0xc9f9fa['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x31f2ea(0x249),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x26a)]=0x3a99]=_0x31f2ea(0x26a),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x178)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x2fe)]=0x3a9b]=_0x31f2ea(0x2fe),_0xc9f9fa[_0xc9f9fa['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x352)]=0x3a9d]=_0x31f2ea(0x352),_0xc9f9fa[_0xc9f9fa['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x31f2ea(0x243),_0xc9f9fa[_0xc9f9fa['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x31f2ea(0x318),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x2b2)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x229)]=-0x1]=_0x31f2ea(0x229),_0xc9f9fa))(_0x1433b8||{});function _0x3a6ae0(_0x27f4a2){const _0x4cfcc8=_0x31f2ea;var _0x4b84e6,_0x528803;const _0x3131b2=(_0x4b84e6=_0x27f4a2[_0x4cfcc8(0x3da)])==null?void 0x0:_0x4b84e6[_0x4cfcc8(0x3c6)],_0x459eb0=((_0x528803=_0x27f4a2[_0x4cfcc8(0x3da)])==null?void 0x0:_0x528803[_0x4cfcc8(0x17a)])||0x0;return _0x3131b2===_0x2d45f6[_0x4cfcc8(0x3e7)]['START_CALCULATION']&&_0x459eb0>0x0;}function _0x439aaa(_0x5946aa){const _0x1996f7=_0x31f2ea;return _0x5946aa['functionsExecutedState']===_0x2d45f6['FormulaExecutedStateType'][_0x1996f7(0x1c3)];}var _0x55187c=Object[_0x31f2ea(0x140)],_0x232883=(_0x340371,_0x22af5c,_0x248154,_0x1e6099)=>{const _0x3dd548=_0x31f2ea;for(var _0x5e65bb=_0x1e6099>0x1?void 0x0:_0x1e6099?_0x55187c(_0x22af5c,_0x248154):_0x22af5c,_0x56006a=_0x340371[_0x3dd548(0x273)]-0x1,_0x5c7b95;_0x56006a>=0x0;_0x56006a--)(_0x5c7b95=_0x340371[_0x56006a])&&(_0x5e65bb=_0x5c7b95(_0x5e65bb)||_0x5e65bb);return _0x5e65bb;},_0x14f918=(_0x424901,_0x5659a5)=>(_0x52c254,_0x5901b7)=>_0x5659a5(_0x52c254,_0x5901b7,_0x424901);const _0x542d76=_0x31f2ea(0x12b),_0x3649cb=_0x31f2ea(0x179),_0x3ac4e2=_0x31f2ea(0xfe);let _0x48e247=class extends _0xfde5a2[_0x31f2ea(0x38c)]{constructor(_0x22373e,_0x2b58a7,_0x4dfd52,_0x191c91,_0x312a23,_0x644b52,_0x36aa9e){const _0x67fc5=_0x31f2ea;super(),_0x25ee06(this,_0x67fc5(0x16a),null),_0x25ee06(this,_0x67fc5(0x3b6),0x0),_0x25ee06(this,'_currentUsage',0x0),_0x25ee06(this,'_taskIds',[]),_0x25ee06(this,_0x67fc5(0x163),0x0),(this[_0x67fc5(0x17f)]=_0x22373e,this['_commandService']=_0x2b58a7,this[_0x67fc5(0x2db)]=_0x4dfd52,this['_httpService']=_0x191c91,this[_0x67fc5(0x130)]=_0x312a23,this['_logService']=_0x644b52,this[_0x67fc5(0x339)]=_0x36aa9e,this['_initCommandInterceptor']());}[_0x31f2ea(0x23b)](){const _0x59c9c2=_0x31f2ea;this[_0x59c9c2(0x216)](this[_0x59c9c2(0x1bf)]['beforeCommandExecuted']((_0xd73366,_0x656533)=>{const _0x5379fc=_0x59c9c2;var _0x772eb5;if(_0xd73366['id']!==_0x2d45f6[_0x5379fc(0x119)]['id'])return;const _0x4d9223=_0xd73366[_0x5379fc(0x115)];if(!this[_0x5379fc(0x1a7)]((_0x772eb5=_0x4d9223['dirtyRanges'])!=null?_0x772eb5:[]))return;if(!this[_0x5379fc(0x217)]())throw this[_0x5379fc(0x2ea)](_0xd73366,_0x656533),this[_0x5379fc(0x1e8)](),new _0xfde5a2[(_0x5379fc(0x34c))]();})),this[_0x59c9c2(0x216)](this[_0x59c9c2(0x1bf)][_0x59c9c2(0x1c1)]((_0x3f7e1c,_0x2e6bba)=>{const _0x3643f7=_0x59c9c2;if(_0x3f7e1c['id']!==_0x2d45f6[_0x3643f7(0x255)]['id'])return;const _0x15c331=_0x3f7e1c[_0x3643f7(0x115)];if(_0x3a6ae0(_0x15c331)){const _0x332c66=_0xfde5a2['generateRandomId']();this['_taskIds'][_0x3643f7(0x2b8)](_0x332c66),this['_startCalculationLimit'](_0x332c66);}else{if(_0x439aaa(_0x15c331)&&this['_taskIds']['length']>0x0){const _0x492359=this[_0x3643f7(0x33c)][_0x3643f7(0x28e)]();this[_0x3643f7(0x29a)](_0x492359);}}}));}[_0x31f2ea(0x3e4)](){const _0x4c42c1=_0x31f2ea;super[_0x4c42c1(0x3e4)](),this['_clearPolling'](),this[_0x4c42c1(0x33c)]=[],this[_0x4c42c1(0x387)]=0x0,this[_0x4c42c1(0x3b6)]=0x0,this[_0x4c42c1(0x163)]=0x0;}async[_0x31f2ea(0x2ea)](_0x4081a7,_0x2d5b52){const _0x80fc5c=_0x31f2ea;for(let _0x5efadd=0x0;_0x5efadd<0x1e;_0x5efadd++)try{if(await this[_0x80fc5c(0x2d4)](),this[_0x80fc5c(0x217)]()){this[_0x80fc5c(0x189)](_0x4081a7,_0x2d5b52),this[_0x80fc5c(0x17f)][_0x80fc5c(0x1f7)]({'content':this[_0x80fc5c(0x339)]['t']('formula.calculation.started'),'type':_0x2eee56[_0x80fc5c(0x250)][_0x80fc5c(0x3d9)]});return;}await new Promise(_0x14f21c=>{const _0x27acf8=_0x80fc5c;this[_0x27acf8(0x16a)]=window[_0x27acf8(0xff)](_0x14f21c,0x3e8);});}catch(_0xa2bf4b){this[_0x80fc5c(0x29c)][_0x80fc5c(0x20f)](_0xa2bf4b);}this[_0x80fc5c(0x17f)][_0x80fc5c(0x1f7)]({'content':this[_0x80fc5c(0x339)]['t']('formula.calculation.unable'),'type':_0x2eee56[_0x80fc5c(0x250)][_0x80fc5c(0x2a1)]});}['_applyCommand'](_0x39c8b9,_0x500eb3){const _0x3c360b=_0x31f2ea;try{this[_0x3c360b(0x1bf)][_0x3c360b(0x2fc)](_0x39c8b9['id'],_0x39c8b9[_0x3c360b(0x115)],_0x500eb3);}catch(_0x30c9fc){this[_0x3c360b(0x29c)]['error'](_0x30c9fc);}}[_0x31f2ea(0x3c1)](_0x76e50d,_0x27bd48){const _0x47a012=_0x31f2ea;_0x27bd48<this[_0x47a012(0x163)]||(this[_0x47a012(0x163)]=_0x27bd48,this[_0x47a012(0x3b6)]=Number[_0x47a012(0x3b2)](_0x76e50d[_0x47a012(0x2ec)]),this[_0x47a012(0x387)]=Number[_0x47a012(0x3b2)](_0x76e50d[_0x47a012(0x2be)]));}async['_startCalculationLimit'](_0x48e6b0){const _0x47eb35=_0x31f2ea;var _0x2764e8,_0x236cdd;const _0xb1b3d4=Date[_0x47eb35(0x16b)]();try{const _0x250561=((_0x2764e8=this[_0x47eb35(0x2db)]['getConfig'](_0x27635d[_0x47eb35(0x1de)]))==null?void 0x0:_0x2764e8['startFormulaLimitUrl'])||_0x3649cb,_0x1c6bbe=(await this[_0x47eb35(0x123)][_0x47eb35(0x269)](_0x250561,{'body':JSON[_0x47eb35(0x334)]({'taskId':_0x48e6b0})}))[_0x47eb35(0x1f3)];if(((_0x236cdd=_0x1c6bbe['error'])==null?void 0x0:_0x236cdd['code'])!==_0x1433b8['OK'])return;this['_setFormulaLimitStatus'](_0x1c6bbe['limitInfo'],_0xb1b3d4);}catch(_0x36717a){this[_0x47eb35(0x29c)]['error'](_0x36717a);}}async[_0x31f2ea(0x2d4)](_0x4d114d){const _0x288d95=_0x31f2ea;var _0xc7aafb,_0xb0c055;const _0x25f2df=Date['now']();try{const _0x46ba83=((_0xc7aafb=this[_0x288d95(0x2db)][_0x288d95(0x1e5)](_0x27635d[_0x288d95(0x1de)]))==null?void 0x0:_0xc7aafb[_0x288d95(0x2c1)])||_0x542d76,_0x605ff3=_0x4d114d?_0x46ba83+_0x288d95(0x2f9)+encodeURIComponent(_0x4d114d):_0x46ba83,_0x3d3ac8=(await this[_0x288d95(0x123)][_0x288d95(0xfb)](_0x605ff3))[_0x288d95(0x1f3)];if(((_0xb0c055=_0x3d3ac8['error'])==null?void 0x0:_0xb0c055[_0x288d95(0x12a)])!==_0x1433b8['OK'])return;this[_0x288d95(0x3c1)](_0x3d3ac8[_0x288d95(0x35e)],_0x25f2df);}catch(_0x183aee){this[_0x288d95(0x29c)]['error'](_0x183aee);}}async['_releaseCalculationLimit'](_0x557324){const _0x2111c6=_0x31f2ea;var _0x59fabf,_0x50e398;const _0x158fa6=Date[_0x2111c6(0x16b)]();try{const _0x1ad949=((_0x59fabf=this[_0x2111c6(0x2db)][_0x2111c6(0x1e5)](_0x27635d[_0x2111c6(0x1de)]))==null?void 0x0:_0x59fabf[_0x2111c6(0x1c5)])||_0x3ac4e2,_0x2c1a87=(await this[_0x2111c6(0x123)][_0x2111c6(0x269)](_0x1ad949,{'body':JSON[_0x2111c6(0x334)]({'taskId':_0x557324})}))[_0x2111c6(0x1f3)];if(((_0x50e398=_0x2c1a87['error'])==null?void 0x0:_0x50e398['code'])!==_0x1433b8['OK'])return;this[_0x2111c6(0x3c1)](_0x2c1a87[_0x2111c6(0x35e)],_0x158fa6);}catch(_0x1de2b1){this['_logService'][_0x2111c6(0x20f)](_0x1de2b1);}}[_0x31f2ea(0x217)](){const _0x4e7ecf=_0x31f2ea;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x4e7ecf(0x3b6)]-this[_0x4e7ecf(0x387)]>0x0;}[_0x31f2ea(0x13c)](){const _0x3b18fa=_0x31f2ea;this[_0x3b18fa(0x16a)]&&(clearTimeout(this['_pollingInterval']),this[_0x3b18fa(0x16a)]=null);}[_0x31f2ea(0x1e8)](){const _0x21d2cf=_0x31f2ea;this['_messageService'][_0x21d2cf(0x1f7)]({'content':this[_0x21d2cf(0x339)]['t'](_0x21d2cf(0x31e)),'type':_0x2eee56[_0x21d2cf(0x250)][_0x21d2cf(0x1a6)]});}[_0x31f2ea(0x1a7)](_0x49b4ed){const _0x5fc885=_0x31f2ea;for(const _0x1e4929 of _0x49b4ed){const {unitId:_0x3d3ea7,sheetId:_0x11eea2,range:_0x1d75fc}=_0x1e4929,_0x4e54f7=this[_0x5fc885(0x130)][_0x5fc885(0x362)](_0x3d3ea7);if(!_0x4e54f7)continue;const _0x51fd00=_0x4e54f7['getSheetBySheetId'](_0x11eea2);if(!_0x51fd00)continue;const _0x2d5f3f=_0x51fd00[_0x5fc885(0x1a2)]();for(let _0x14bc2c=_0x1d75fc[_0x5fc885(0x1af)];_0x14bc2c<=_0x1d75fc[_0x5fc885(0x1da)];_0x14bc2c++)for(let _0x16ba4e=_0x1d75fc['startColumn'];_0x16ba4e<=_0x1d75fc[_0x5fc885(0x3d7)];_0x16ba4e++){const _0x4154f1=_0x2d5f3f[_0x5fc885(0x3bd)](_0x14bc2c,_0x16ba4e);if(_0x4154f1&&(_0xfde5a2['isFormulaString'](_0x4154f1['f'])||_0xfde5a2[_0x5fc885(0x3dc)](_0x4154f1['si'])))return!0x0;}}return!0x1;}};_0x48e247=_0x232883([_0x14f918(0x0,_0xfde5a2['Inject'](_0x1dd723[_0x31f2ea(0x394)])),_0x14f918(0x1,_0xfde5a2['ICommandService']),_0x14f918(0x2,_0xfde5a2[_0x31f2ea(0x2a3)]),_0x14f918(0x3,_0xfde5a2['Inject'](_0x47e21f[_0x31f2ea(0x209)])),_0x14f918(0x4,_0xfde5a2[_0x31f2ea(0x316)]),_0x14f918(0x5,_0xfde5a2[_0x31f2ea(0x25c)]),_0x14f918(0x6,_0xfde5a2[_0x31f2ea(0x279)](_0xfde5a2[_0x31f2ea(0x21b)]))],_0x48e247);var _0x5a202e=Object['getOwnPropertyDescriptor'],_0x26edaf=(_0x2a6e5e,_0x119cb8,_0x5ca2d1,_0x32f79a)=>{const _0x30e040=_0x31f2ea;for(var _0x5dde85=_0x32f79a>0x1?void 0x0:_0x32f79a?_0x5a202e(_0x119cb8,_0x5ca2d1):_0x119cb8,_0x1566c0=_0x2a6e5e[_0x30e040(0x273)]-0x1,_0x51cd57;_0x1566c0>=0x0;_0x1566c0--)(_0x51cd57=_0x2a6e5e[_0x1566c0])&&(_0x5dde85=_0x51cd57(_0x5dde85)||_0x5dde85);return _0x5dde85;},_0x574b48=(_0x3477c9,_0x2cc5e9)=>(_0x2c8220,_0xbfcc5b)=>_0x2cc5e9(_0x2c8220,_0xbfcc5b,_0x3477c9);let _0x39d75b=class extends _0xfde5a2['Disposable']{constructor(_0x2e9dc9,_0x4fcb1b,_0x130bb6){const _0x458296=_0x31f2ea;super(),_0x25ee06(this,'_cachedData',new Map()),_0x25ee06(this,_0x458296(0x1c8),new Map()),_0x25ee06(this,_0x458296(0x124),!0x1),(this['_configService']=_0x2e9dc9,this[_0x458296(0x1b0)]=_0x4fcb1b,this[_0x458296(0x2f3)]=_0x130bb6);}[_0x31f2ea(0x1a5)](){const _0x5a658f=_0x31f2ea;this[_0x5a658f(0x124)]=!0x0;}[_0x31f2ea(0x219)](){const _0x4c0fc5=_0x31f2ea;this[_0x4c0fc5(0x124)]=!0x1;}get[_0x31f2ea(0x131)](){const _0x178bfc=_0x31f2ea;return this[_0x178bfc(0x1c8)];}[_0x31f2ea(0x3e4)](){const _0x19256e=_0x31f2ea;this[_0x19256e(0x2bf)]()[_0x19256e(0x19a)](()=>super['dispose']());}async[_0x31f2ea(0x2a0)](_0x222955){const _0xc5bc7f=_0x31f2ea;return this[_0xc5bc7f(0x124)]?null:this[_0xc5bc7f(0x1b0)]['getItem'](_0x27635d[_0xc5bc7f(0x282)](_0x222955));}async[_0x31f2ea(0x24d)](_0x2dd6d6,_0x3a5f6d){const _0x1d0e2a=_0x31f2ea;return!!this[_0x1d0e2a(0x1b0)][_0x1d0e2a(0x3ee)](_0x2dd6d6,_0x3a5f6d);}[_0x31f2ea(0x187)](_0xdcf659,_0x4841c1,_0xaf2178,_0x4fb215){const _0x439888=_0x31f2ea,_0x5644d5=this['_revisionService'][_0x439888(0x3ed)](_0xdcf659);this['_cachedData'][_0x439888(0x15e)](_0xdcf659,{'unitID':_0xdcf659,'type':_0x4841c1,'awaitingChangeset':_0xaf2178,'mutations':_0x4fb215,'rev':_0x5644d5}),this[_0x439888(0x1c8)][_0x439888(0x244)](_0xdcf659)||this[_0x439888(0x155)](_0xdcf659);}[_0x31f2ea(0x155)](_0x8e8642){const _0x42a932=_0x31f2ea,_0x2b90c6=this[_0x42a932(0x15f)]();_0x2b90c6===0x0?this['_saveCache'](_0x8e8642):this[_0x42a932(0x1c8)][_0x42a932(0x15e)](_0x8e8642,setTimeout(()=>this[_0x42a932(0x2b6)](_0x8e8642),_0x2b90c6));}['_getSaveTimeout'](){const _0x650a0f=_0x31f2ea;var _0x30d67f;return(_0x30d67f=this[_0x650a0f(0x2db)][_0x650a0f(0x1e5)](_0x27635d[_0x650a0f(0x3d8)]))!=null?_0x30d67f:_0x27635d[_0x650a0f(0x31d)];}[_0x31f2ea(0x2b6)](_0x1cc64f){const _0x3c2fc4=_0x31f2ea,_0x35f2bc=this['_saveTaskMap']['get'](_0x1cc64f);return _0x35f2bc!==void 0x0&&window[_0x3c2fc4(0x2c2)](_0x35f2bc),this[_0x3c2fc4(0x1b0)][_0x3c2fc4(0x3ee)](_0x27635d[_0x3c2fc4(0x282)](_0x1cc64f),this[_0x3c2fc4(0x2e7)][_0x3c2fc4(0xfb)](_0x1cc64f))[_0x3c2fc4(0x19a)](()=>this['_saveTaskMap']['delete'](_0x1cc64f));}async['exhaustSavingTask'](){const _0xb9bac4=_0x31f2ea,_0x20833d=[];this['_saveTaskMap'][_0xb9bac4(0x2fb)]((_0xc5133a,_0x111e25)=>{const _0x5aa774=_0xb9bac4;window[_0x5aa774(0x2c2)](_0xc5133a),_0x20833d['push'](this[_0x5aa774(0x2b6)](_0x111e25)[_0x5aa774(0x19a)](()=>{const _0x2d5926=_0x5aa774;this[_0x2d5926(0x1c8)][_0x2d5926(0x3ab)](_0x111e25);}));}),await Promise['all'](_0x20833d);}};_0x39d75b=_0x26edaf([_0x574b48(0x0,_0xfde5a2[_0x31f2ea(0x2a3)]),_0x574b48(0x1,_0xfde5a2[_0x31f2ea(0x19f)]),_0x574b48(0x2,_0xfde5a2[_0x31f2ea(0x279)](_0x1d08ae[_0x31f2ea(0x3e5)]))],_0x39d75b);class _0x1b5d46 extends _0xfde5a2[_0x31f2ea(0x129)]{constructor(){const _0x7558=_0x31f2ea;super(),_0x25ee06(this,_0x7558(0x314)),this[_0x7558(0x314)]=_0x52a223['fromEvent'](window,_0x7558(0x154))['pipe'](_0x52a223[_0x7558(0x24a)](this['dispose$']),_0x52a223['shareReplay'](0x1),_0x52a223[_0x7558(0x3ec)](void 0x0));}[_0x31f2ea(0xf9)](_0x4dd4c4,_0x819d72,_0x15d094=!0x1){const _0x1fac7b=_0x31f2ea,_0x593bca=new URL(window[_0x1fac7b(0x30f)][_0x1fac7b(0x106)]);_0x593bca[_0x1fac7b(0x112)]['set'](_0x4dd4c4,_0x819d72),_0x15d094?window[_0x1fac7b(0x2a6)][_0x1fac7b(0x370)]('','',_0x593bca[_0x1fac7b(0x34f)]()):window['history'][_0x1fac7b(0x33e)]('','',_0x593bca[_0x1fac7b(0x34f)]());}[_0x31f2ea(0x1ff)](_0x432cb7,_0x31c8be=!0x1){const _0x3e9e35=_0x31f2ea,_0x32a63b=new URL(window[_0x3e9e35(0x30f)][_0x3e9e35(0x106)]);_0x32a63b[_0x3e9e35(0x112)][_0x3e9e35(0x3ab)](_0x432cb7),_0x31c8be?window['history']['replaceState']('','',_0x32a63b['toString']()):window[_0x3e9e35(0x2a6)][_0x3e9e35(0x33e)]('','',_0x32a63b[_0x3e9e35(0x34f)]());}['getParam'](_0xbda421){const _0x40717c=_0x31f2ea;var _0x4025bb;return(_0x4025bb=new URL(window[_0x40717c(0x30f)][_0x40717c(0x106)])['searchParams']['get'](_0xbda421))!=null?_0x4025bb:void 0x0;}}var _0x4a553d=Object[_0x31f2ea(0x39f)],_0xd50372=Object['getOwnPropertyDescriptor'],_0x2138c5=(_0x515e59,_0x344c4b,_0x1a96b0)=>_0x344c4b in _0x515e59?_0x4a553d(_0x515e59,_0x344c4b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a96b0}):_0x515e59[_0x344c4b]=_0x1a96b0,_0x228e70=(_0x16ffd6,_0x2f4afd,_0x35726e,_0x417581)=>{for(var _0xa068a1=_0x417581>0x1?void 0x0:_0x417581?_0xd50372(_0x2f4afd,_0x35726e):_0x2f4afd,_0x41e8e6=_0x16ffd6['length']-0x1,_0x30fcee;_0x41e8e6>=0x0;_0x41e8e6--)(_0x30fcee=_0x16ffd6[_0x41e8e6])&&(_0xa068a1=_0x30fcee(_0xa068a1)||_0xa068a1);return _0xa068a1;},_0x360ecb=(_0x57755a,_0x31049f)=>(_0x494ddd,_0x500608)=>_0x31049f(_0x494ddd,_0x500608,_0x57755a),_0x52a690=(_0x2261d8,_0x36c23e,_0x15ff43)=>_0x2138c5(_0x2261d8,_0x36c23e+'',_0x15ff43);const _0x1a58a3=_0x31f2ea(0x36d);_0x159e3d[_0x31f2ea(0x1e2)]=class extends _0xfde5a2[_0x31f2ea(0x305)]{constructor(_0x3611af=_0x3deaab,_0xbd2083,_0x5ed1f0,_0x2b791a){const _0x590f51=_0x31f2ea;super(),this['_config']=_0x3611af,this[_0x590f51(0x232)]=_0xbd2083,this[_0x590f51(0x13b)]=_0x5ed1f0,this[_0x590f51(0x2db)]=_0x2b791a;const {..._0xe4051b}=_0xfde5a2[_0x590f51(0x108)]({},_0x3deaab,this[_0x590f51(0x251)]);this[_0x590f51(0x2db)]['setConfig'](_0x348dba,_0xe4051b);}[_0x31f2ea(0x3ba)](){const _0x2bf2a6=_0x31f2ea;this[_0x2bf2a6(0x28d)](),this[_0x2bf2a6(0x365)]();}[_0x31f2ea(0x331)](){const _0x218c0b=_0x31f2ea;this[_0x218c0b(0x245)]();}[_0x31f2ea(0x28d)](){const _0xd769ef=_0x31f2ea;var _0x4dfe28;const _0x41bcc2=[[_0x55865d],[_0x48e247],[_0x3addf5],[_0x2b4140],[_0x1860b7],[_0x1e8b6e],[_0x4e0db9,{'useClass':_0x1b5d46}],[_0x47e21f[_0xd769ef(0xed)],{'useClass':_0x47e21f[_0xd769ef(0x263)]}],[_0x27635d[_0xd769ef(0x358)],{'useClass':_0x39d75b}],[_0x159e3d['DesktopCollaborationStatusDisplayController']],[_0x46e126],[_0x2e487d],[_0x3d40e5],[_0x5c2270],[_0x159e3d[_0xd769ef(0x103)]]];this[_0xd769ef(0x251)][_0xd769ef(0x2d5)]&&_0x41bcc2[_0xd769ef(0x2b8)]([_0x3f03d4]),_0xfde5a2[_0xd769ef(0x202)](this[_0xd769ef(0x13b)],_0xfde5a2[_0xd769ef(0x1c6)](_0x41bcc2,(_0x4dfe28=this[_0xd769ef(0x251)])==null?void 0x0:_0x4dfe28[_0xd769ef(0x366)]));}[_0x31f2ea(0x245)](){const _0x5d9431=_0x31f2ea;this[_0x5d9431(0x216)](this[_0x5d9431(0x232)][_0x5d9431(0x248)](_0xfde5a2[_0x5d9431(0x2dd)][_0x5d9431(0x35b)],[_0x362b37])),this['disposeWithMe'](this['_renderManagerService'][_0x5d9431(0x248)](_0xfde5a2['UniverInstanceType']['UNIVER_SHEET'],[_0x36393a]));}[_0x31f2ea(0x365)](){const _0x10dc4b=_0x31f2ea;_0xfde5a2[_0x10dc4b(0x1d9)](this['_injector'],[[_0x3d40e5],[_0x159e3d[_0x10dc4b(0x382)]],[_0x46e126],[_0x2e487d],[_0x159e3d['CollaborationDataLoaderController']],[_0x48e247]]),this[_0x10dc4b(0x251)][_0x10dc4b(0x2d5)]&&_0xfde5a2[_0x10dc4b(0x1d9)](this['_injector'],[[_0x3f03d4]]);}},_0x52a690(_0x159e3d[_0x31f2ea(0x1e2)],'pluginName',_0x1a58a3),_0x159e3d[_0x31f2ea(0x1e2)]=_0x228e70([_0xfde5a2[_0x31f2ea(0x162)](_0x27635d[_0x31f2ea(0x2e6)]),_0x360ecb(0x1,_0x12ef37[_0x31f2ea(0x359)]),_0x360ecb(0x2,_0xfde5a2['Inject'](_0xfde5a2[_0x31f2ea(0x110)])),_0x360ecb(0x3,_0xfde5a2[_0x31f2ea(0x2a3)])],_0x159e3d[_0x31f2ea(0x1e2)]);var _0x1ef4e2=Object[_0x31f2ea(0x140)],_0x49e0b8=(_0x3fc191,_0x468ac5,_0x35c2d0,_0x346d0b)=>{for(var _0x5a430b=_0x346d0b>0x1?void 0x0:_0x346d0b?_0x1ef4e2(_0x468ac5,_0x35c2d0):_0x468ac5,_0x532d39=_0x3fc191['length']-0x1,_0x2221e8;_0x532d39>=0x0;_0x532d39--)(_0x2221e8=_0x3fc191[_0x532d39])&&(_0x5a430b=_0x2221e8(_0x5a430b)||_0x5a430b);return _0x5a430b;},_0x564612=(_0x1b5418,_0x32be8f)=>(_0x1e2b1b,_0x3947a7)=>_0x32be8f(_0x1e2b1b,_0x3947a7,_0x1b5418);_0x159e3d[_0x31f2ea(0x304)]=class extends _0x27635d[_0x31f2ea(0x240)]{constructor(_0x213d27,_0x5b3d36,_0x2c354b,_0x2718d3,_0x2ecf88){super(_0x213d27,_0x5b3d36,_0x2c354b,_0x2718d3,_0x2ecf88);}async['createSocket'](_0x23301c){const _0x22c622=_0x31f2ea,_0x5f577b=await this[_0x22c622(0x159)](),_0xf4b461=this[_0x22c622(0x2a7)](_0x23301c,_0x5f577b);return this['_doCreateSocket'](_0xf4b461);}[_0x31f2ea(0x2a7)](_0x4277a5,_0x1df3e7){const _0x5e1cab=_0x31f2ea,_0x1272d9=typeof window>'u'?new URL(_0x4277a5):new URL(_0x4277a5,window[_0x5e1cab(0x30f)][_0x5e1cab(0x1d1)]);_0x1272d9[_0x5e1cab(0x112)][_0x5e1cab(0x15e)]('sessionTicket',_0x1df3e7);const _0xbf3794=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5e1cab(0x30f)]['search']);return _0xbf3794[_0x5e1cab(0xfb)]('runId')&&_0x1272d9[_0x5e1cab(0x112)][_0x5e1cab(0x15e)](_0x5e1cab(0x34e),_0xbf3794[_0x5e1cab(0xfb)](_0x5e1cab(0x34e))),_0x1272d9[_0x5e1cab(0x34f)]();}async[_0x31f2ea(0x159)](){const _0x532fe1=_0x31f2ea;var _0x419cbf,_0x2e7acb,_0x58a21b;const _0x33d5db=this['_configService'][_0x532fe1(0x1e5)](_0x27635d[_0x532fe1(0x1de)]),_0x1412a6=(_0x419cbf=_0x33d5db==null?void 0x0:_0x33d5db[_0x532fe1(0x380)])!=null?_0x419cbf:_0x27635d[_0x532fe1(0x16f)];return(_0x58a21b=(_0x2e7acb=(await this[_0x532fe1(0x123)][_0x532fe1(0xfb)](_0x1412a6,{'headers':{'Content-Type':'application/json'}}))[_0x532fe1(0x1f3)])==null?void 0x0:_0x2e7acb[_0x532fe1(0x383)])!=null?_0x58a21b:'';}},_0x159e3d[_0x31f2ea(0x304)]=_0x49e0b8([_0x564612(0x0,_0xfde5a2[_0x31f2ea(0x279)](_0xfde5a2[_0x31f2ea(0x110)])),_0x564612(0x1,_0xfde5a2['Inject'](_0x47e21f[_0x31f2ea(0x209)])),_0x564612(0x2,_0xfde5a2[_0x31f2ea(0x2a3)]),_0x564612(0x3,_0xfde5a2[_0x31f2ea(0x25c)]),_0x564612(0x4,_0x1d08ae[_0x31f2ea(0x284)])],_0x159e3d[_0x31f2ea(0x304)]);var _0x38e52a=Object[_0x31f2ea(0x140)],_0x25ed6c=(_0x34b41a,_0x4a66a1,_0x5a71e8,_0x39875e)=>{const _0x3c460a=_0x31f2ea;for(var _0x399537=_0x39875e>0x1?void 0x0:_0x39875e?_0x38e52a(_0x4a66a1,_0x5a71e8):_0x4a66a1,_0x4c9288=_0x34b41a[_0x3c460a(0x273)]-0x1,_0x1532e5;_0x4c9288>=0x0;_0x4c9288--)(_0x1532e5=_0x34b41a[_0x4c9288])&&(_0x399537=_0x1532e5(_0x399537)||_0x399537);return _0x399537;},_0x2513a2=(_0x171cef,_0x579170)=>(_0x2687fe,_0x3b98dd)=>_0x579170(_0x2687fe,_0x3b98dd,_0x171cef);_0x159e3d[_0x31f2ea(0x375)]=class extends _0xfde5a2[_0x31f2ea(0x38c)]{constructor(_0xb3d02f,_0x571a5a,_0x2c33ac){const _0x1eb13e=_0x31f2ea;super(),this[_0x1eb13e(0x176)]=_0xb3d02f,this[_0x1eb13e(0x123)]=_0x571a5a,this[_0x1eb13e(0x2db)]=_0x2c33ac;}async[_0x31f2ea(0x156)](_0x4107a1,_0x453158,_0x5060b2,..._0x3dce95){const _0xbd40e8=_0x31f2ea;var _0x10fc29,_0x4d92f3,_0x241225,_0x22d05f;const _0x505b9a=this['_instanceService'][_0xbd40e8(0x1e4)]();if(!_0x505b9a)throw new Error(_0xbd40e8(0x1f5));const _0x5a57f0=((_0x10fc29=this['_configService'][_0xbd40e8(0x1e5)](_0x27635d[_0xbd40e8(0x227)]))!=null?_0x10fc29:_0x27635d['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x4107a1+_0xbd40e8(0x180)+_0x453158,_0xb358a=new URL(window[_0xbd40e8(0x30f)][_0xbd40e8(0x106)]),_0x1df062={'scriptId':_0x4107a1,'runId':(_0x4d92f3=_0xb358a[_0xbd40e8(0x112)][_0xbd40e8(0xfb)](_0xbd40e8(0x34e)))!=null?_0x4d92f3:'','function':_0x453158,'unitId':_0x505b9a[_0xbd40e8(0x36b)](),'argsOfFunction':JSON[_0xbd40e8(0x334)](_0x3dce95),'invokeId':(_0x241225=_0x5060b2[_0xbd40e8(0x10e)])!=null?_0x241225:'','executionId':(_0x22d05f=_0x5060b2[_0xbd40e8(0x145)])!=null?_0x22d05f:''};try{const _0x46e4cc=await this[_0xbd40e8(0x123)][_0xbd40e8(0x269)](_0x5a57f0,{'body':_0x1df062});return _0x46e4cc['body'][_0xbd40e8(0x20f)]&&_0x46e4cc[_0xbd40e8(0x1f3)][_0xbd40e8(0x20f)][_0xbd40e8(0x12a)]!==_0x1433b8['OK']?_0xbd40e8(0x3cb):_0x46e4cc[_0xbd40e8(0x1f3)][_0xbd40e8(0x114)];}catch{return _0xbd40e8(0x3cb);}}},_0x159e3d[_0x31f2ea(0x375)]=_0x25ed6c([_0x2513a2(0x0,_0xfde5a2[_0x31f2ea(0x316)]),_0x2513a2(0x1,_0xfde5a2[_0x31f2ea(0x279)](_0x47e21f['HTTPService'])),_0x2513a2(0x2,_0xfde5a2['IConfigService'])],_0x159e3d[_0x31f2ea(0x375)]);const _0x4e76c5=0x7530,_0x23cf21=_0x31f2ea(0x1b8);class _0x27c613 extends _0xfde5a2[_0x31f2ea(0x38c)]{constructor(){const _0xaea9a9=_0x31f2ea;super(),_0x25ee06(this,'_id',_0xfde5a2[_0xaea9a9(0x211)]()),_0x25ee06(this,_0xaea9a9(0x1e0),new Set()),_0x25ee06(this,'_unitOnClients',new Map()),_0x25ee06(this,'_heartbeatTimer',null),_0x25ee06(this,_0xaea9a9(0x360),new Map()),_0x25ee06(this,_0xaea9a9(0x294),new Map()),this[_0xaea9a9(0x158)]();}[_0x31f2ea(0x3e4)](){const _0x42ba38=_0x31f2ea;super[_0x42ba38(0x3e4)](),this[_0x42ba38(0x360)]['forEach']((_0x20f99f,_0x3c38e1)=>this[_0x42ba38(0x2bd)](_0x3c38e1)),this[_0x42ba38(0x1d5)]&&window[_0x42ba38(0x13a)](this['_heartbeatTimer']);}[_0x31f2ea(0x398)](_0x2ed975){return this['_ensureSubject'](_0x2ed975)['pipe'](_0x52a223['distinctUntilChanged']());}['editingUnit'](_0x41ee7e){const _0x25794e=_0x31f2ea;this[_0x25794e(0x1e0)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x25794e(0x1e0)][_0x25794e(0x3bb)](_0x41ee7e),this['_send']({'type':0x0,'memberID':this[_0x25794e(0x29f)],'unitIDs':[_0x41ee7e],'isForwarded':!0x1});}[_0x31f2ea(0x254)](_0xbd2db2){const _0x2595f8=_0x31f2ea;this[_0x2595f8(0x1e0)][_0x2595f8(0x3ab)](_0xbd2db2),this[_0x2595f8(0x1e0)][_0x2595f8(0x33b)]===0x0&&this[_0x2595f8(0x1d5)]&&window[_0x2595f8(0x13a)](this[_0x2595f8(0x1d5)]);}['_init'](){const _0x429a89=_0x31f2ea;this[_0x429a89(0x216)](_0xfde5a2['toDisposable'](_0x52a223[_0x429a89(0xf7)](window,'storage')[_0x429a89(0x220)](_0x4ce87d=>{const _0x9d6d15=_0x429a89;if(_0x4ce87d[_0x9d6d15(0x25a)]!==_0x23cf21||!_0x4ce87d[_0x9d6d15(0x14e)])return;const _0x3d245f=JSON['parse'](_0x4ce87d[_0x9d6d15(0x14e)]);this[_0x9d6d15(0x333)](_0x3d245f);}))),window[_0x429a89(0x3b3)](_0x429a89(0x34a),()=>this[_0x429a89(0x35d)]({'type':0x1,'memberID':this[_0x429a89(0x29f)],'unitIDs':Array[_0x429a89(0x25e)](this[_0x429a89(0x1e0)])}));}[_0x31f2ea(0x333)](_0x27d4de){const _0x304551=_0x31f2ea;switch(_0x27d4de[_0x304551(0x2ee)]){case 0x0:this[_0x304551(0x2e1)](_0x27d4de);break;case 0x1:this['_handleLeaveEvent'](_0x27d4de);break;case 0x2:this['_handleHeartbeatEvent'](_0x27d4de);break;}}['_handleJoinEvent'](_0x3789b2){const _0x11dc46=_0x31f2ea,{unitIDs:_0x761ea2,memberID:_0x5e943a,isForwarded:_0x134823}=_0x3789b2;_0x761ea2[_0x11dc46(0x2fb)](_0x517555=>{const _0x31da23=_0x11dc46;if(!_0x134823&&this[_0x31da23(0x203)][_0x31da23(0x244)](_0x517555)&&this[_0x31da23(0x330)](_0x517555)[_0x31da23(0x2c5)](_0x27635d[_0x31da23(0x3e1)][_0x31da23(0x33f)]),!this['_unitOnClients'][_0x31da23(0x244)](_0x517555)||!this[_0x31da23(0x203)][_0x31da23(0xfb)](_0x517555)['has'](_0x5e943a)){const _0x21e599=this['_unitOnClients']['get'](_0x517555)||new Set();_0x21e599[_0x31da23(0x3bb)](_0x5e943a),this['_unitOnClients'][_0x31da23(0x15e)](_0x517555,_0x21e599),this[_0x31da23(0x3d2)](_0x5e943a);}}),_0x134823||this[_0x11dc46(0x35d)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x11dc46(0x1e0)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x5cea1b){const _0x402e2a=_0x31f2ea;this[_0x402e2a(0x2bd)](_0x5cea1b);const _0x3a3a26=window[_0x402e2a(0xff)](()=>{const _0x290676=_0x402e2a;this[_0x290676(0x203)][_0x290676(0x2fb)](_0xc73bc6=>{const _0x99581f=_0x290676;_0xc73bc6[_0x99581f(0x3ab)](_0x5cea1b);});},_0x4e76c5*0x2);this[_0x402e2a(0x360)][_0x402e2a(0x15e)](_0x5cea1b,_0x3a3a26);}[_0x31f2ea(0x2bd)](_0x307e68){const _0x17de99=_0x31f2ea;if(this[_0x17de99(0x360)][_0x17de99(0x244)](_0x307e68)){const _0xd9f2a9=this[_0x17de99(0x360)][_0x17de99(0xfb)](_0x307e68);_0xd9f2a9&&window['clearTimeout'](_0xd9f2a9),this[_0x17de99(0x360)]['set'](_0x307e68,null);}}[_0x31f2ea(0x239)](_0x580923){const _0x1a0a74=_0x31f2ea,{memberID:_0x37028f,unitIDs:_0x103277}=_0x580923;_0x103277[_0x1a0a74(0x2fb)](_0x17598d=>{const _0x2951bc=_0x1a0a74;var _0x4a624c;const _0x3faac0=this[_0x2951bc(0x203)][_0x2951bc(0xfb)](_0x17598d);_0x3faac0&&(_0x3faac0['delete'](_0x37028f),(_0x4a624c=this[_0x2951bc(0x330)](_0x17598d))==null||_0x4a624c[_0x2951bc(0x2c5)](_0x3faac0[_0x2951bc(0x33b)]===0x0?_0x27635d[_0x2951bc(0x3e1)][_0x2951bc(0x299)]:_0x27635d[_0x2951bc(0x3e1)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x37028f);}['_handleHeartbeatEvent'](_0x31dffd){const _0x45a866=_0x31f2ea;this[_0x45a866(0x3d2)](_0x31dffd[_0x45a866(0x271)]);}[_0x31f2ea(0x35d)](_0x544ba6){const _0x43b93e=_0x31f2ea;localStorage[_0x43b93e(0x3ee)](_0x23cf21,JSON[_0x43b93e(0x334)](_0x544ba6));}[_0x31f2ea(0x274)](){const _0x3076c4=_0x31f2ea;this[_0x3076c4(0x1d5)]=window[_0x3076c4(0x3ce)](()=>{const _0x3abb17=_0x3076c4;this[_0x3abb17(0x35d)]({'type':0x2,'memberID':this['_id']});},_0x4e76c5);}[_0x31f2ea(0x330)](_0x29a9c6){const _0xb99a3e=_0x31f2ea;return this['_unitStatus'][_0xb99a3e(0x244)](_0x29a9c6)||this[_0xb99a3e(0x294)][_0xb99a3e(0x15e)](_0x29a9c6,new _0x52a223[(_0xb99a3e(0x345))](_0x27635d[_0xb99a3e(0x3e1)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0xb99a3e(0xfb)](_0x29a9c6);}}_0x159e3d[_0x31f2ea(0x1ec)]=_0x4e0db9,_0x159e3d[_0x31f2ea(0x228)]=_0x4671e4,_0x159e3d[_0x31f2ea(0x300)]=_0x27c613,_0x159e3d[_0x31f2ea(0x185)]=_0x1b5d46,Object[_0x31f2ea(0x39f)](_0x159e3d,Symbol[_0x31f2ea(0x23d)],{'value':_0x31f2ea(0x1be)});}));
|
|
1
|
+
function _0x4944(_0x461be3,_0x76a425){const _0x5124cb=_0x5124();return _0x4944=function(_0x494489,_0x30de93){_0x494489=_0x494489-0xf9;let _0xd9c09c=_0x5124cb[_0x494489];return _0xd9c09c;},_0x4944(_0x461be3,_0x76a425);}(function(_0x22912d,_0x5bf3fa){const _0x53c927=_0x4944,_0x2c3be4=_0x22912d();while(!![]){try{const _0xfdf807=-parseInt(_0x53c927(0x2e5))/0x1*(parseInt(_0x53c927(0x20a))/0x2)+parseInt(_0x53c927(0x32a))/0x3+parseInt(_0x53c927(0x147))/0x4*(parseInt(_0x53c927(0x2b3))/0x5)+parseInt(_0x53c927(0x200))/0x6+-parseInt(_0x53c927(0x384))/0x7*(parseInt(_0x53c927(0x2ee))/0x8)+parseInt(_0x53c927(0x1fe))/0x9+-parseInt(_0x53c927(0x312))/0xa*(parseInt(_0x53c927(0x37b))/0xb);if(_0xfdf807===_0x5bf3fa)break;else _0x2c3be4['push'](_0x2c3be4['shift']());}catch(_0x2ccc7b){_0x2c3be4['push'](_0x2c3be4['shift']());}}}(_0x5124,0xdce69),function(_0x2d0617,_0x2b844b){const _0x43b584=_0x4944;typeof exports==_0x43b584(0x310)&&typeof module<'u'?_0x2b844b(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==_0x43b584(0x13d)&&define[_0x43b584(0x2cb)]?define([_0x43b584(0x39e),'react/jsx-runtime',_0x43b584(0x3af),_0x43b584(0x14b),_0x43b584(0x22a),'rxjs','@univerjs/design',_0x43b584(0x20d),_0x43b584(0x19a),_0x43b584(0x26d),_0x43b584(0x2c1),_0x43b584(0x266),'@univerjs/docs-ui',_0x43b584(0x199),_0x43b584(0x353),'@univerjs/docs',_0x43b584(0x23b),_0x43b584(0x374),_0x43b584(0x1b4)],_0x2b844b):(_0x2d0617=typeof globalThis<'u'?globalThis:_0x2d0617||self,_0x2b844b(_0x2d0617[_0x43b584(0x24d)]={},_0x2d0617[_0x43b584(0x2d0)],_0x2d0617[_0x43b584(0x10e)],_0x2d0617[_0x43b584(0x2fb)],_0x2d0617[_0x43b584(0x19f)],_0x2d0617['rxjs'],_0x2d0617[_0x43b584(0x287)],_0x2d0617['React'],_0x2d0617[_0x43b584(0x3de)],_0x2d0617['UniverSheets'],_0x2d0617[_0x43b584(0x381)],_0x2d0617[_0x43b584(0x28a)],_0x2d0617[_0x43b584(0x2e0)],_0x2d0617[_0x43b584(0x2da)],_0x2d0617[_0x43b584(0x296)],_0x2d0617[_0x43b584(0x3a3)],_0x2d0617['UniverEngineFormula'],_0x2d0617['rxjs'][_0x43b584(0x28d)],_0x2d0617[_0x43b584(0x248)]));}(this,function(_0x1dc582,_0x510a6e,_0x5a33af,_0xdb2415,_0x339e42,_0x5bb37b,_0xffb326,_0x856dba,_0x2aadee,_0x5d16b0,_0x7c9b89,_0x553b7e,_0x4abee5,_0x48ad96,_0x1b3789,_0x5e9ade,_0x7b5b07,_0xf7042a,_0x427b04){'use strict';const _0x41fa7f=_0x4944;var _0x6fdb19=Object[_0x41fa7f(0x148)],_0x43a4a4=(_0x13aacb,_0x2d9c08,_0x2899e2)=>_0x2d9c08 in _0x13aacb?_0x6fdb19(_0x13aacb,_0x2d9c08,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2899e2}):_0x13aacb[_0x2d9c08]=_0x2899e2,_0x356879=(_0x4d7343,_0x58b386,_0x3f2f56)=>_0x43a4a4(_0x4d7343,typeof _0x58b386!=_0x41fa7f(0x236)?_0x58b386+'':_0x58b386,_0x3f2f56);function _0x5ef291({ref:_0x1269eb,..._0x21a81e}){const _0xda9261=_0x41fa7f,{icon:_0x5903b6,id:_0x130024,className:_0x21431c,extend:_0x27db26,..._0xf883fe}=_0x21a81e,_0x562763=(_0xda9261(0x150)+_0x130024+'\x20'+(_0x21431c||''))[_0xda9261(0x167)](),_0x127f94=_0x856dba[_0xda9261(0x10d)]('_'+_0x3f2043());return _0x1dad2d(_0x5903b6,''+_0x130024,{'defIds':_0x5903b6[_0xda9261(0x19d)],'idSuffix':_0x127f94[_0xda9261(0x34d)]},{'ref':_0x1269eb,'className':_0x562763,..._0xf883fe},_0x27db26);}function _0x1dad2d(_0x411fd5,_0x808e60,_0x2a6de1,_0x29a665,_0x5de42c){const _0x1cf533=_0x41fa7f;return _0x856dba[_0x1cf533(0x16e)](_0x411fd5['tag'],{'key':_0x808e60,..._0x2e3bb4(_0x411fd5,_0x2a6de1,_0x5de42c),..._0x29a665},(_0x3879c2(_0x411fd5,_0x2a6de1)[_0x1cf533(0x334)]||[])['map']((_0x1e7745,_0x32ead5)=>_0x1dad2d(_0x1e7745,_0x808e60+'-'+_0x411fd5[_0x1cf533(0x3e0)]+'-'+_0x32ead5,_0x2a6de1,void 0x0,_0x5de42c)));}function _0x2e3bb4(_0x5c6e4f,_0x455aff,_0x3fae19){const _0x125820=_0x41fa7f,_0x5d499a={..._0x5c6e4f[_0x125820(0x198)]};_0x3fae19!=null&&_0x3fae19[_0x125820(0x267)]&&_0x5d499a[_0x125820(0x18b)]==='colorChannel1'&&(_0x5d499a[_0x125820(0x18b)]=_0x3fae19[_0x125820(0x267)]),_0x5c6e4f[_0x125820(0x3e0)]===_0x125820(0x308)&&_0x5d499a['id']&&(_0x5d499a['id']=_0x5d499a['id']+_0x455aff[_0x125820(0x2a6)]),Object[_0x125820(0x118)](_0x5d499a)[_0x125820(0x270)](([_0x3f0376,_0x4b053e])=>{const _0x16f1a3=_0x125820;_0x3f0376===_0x16f1a3(0x308)&&typeof _0x4b053e=='string'&&(_0x5d499a[_0x3f0376]=_0x4b053e[_0x16f1a3(0x2c6)](/url\(#(.*)\)/,_0x16f1a3(0x11d)+_0x455aff[_0x16f1a3(0x2a6)]+')'));});const {defIds:_0x232016}=_0x455aff;return!_0x232016||_0x232016[_0x125820(0x26c)]===0x0||(_0x5c6e4f[_0x125820(0x3e0)]===_0x125820(0x32f)&&_0x5d499a[_0x125820(0x1f7)]&&(_0x5d499a[_0x125820(0x1f7)]=_0x5d499a[_0x125820(0x1f7)]+_0x455aff[_0x125820(0x2a6)]),Object[_0x125820(0x118)](_0x5d499a)[_0x125820(0x270)](([_0x5affde,_0x25ea22])=>{const _0x38e0ad=_0x125820;typeof _0x25ea22=='string'&&(_0x5d499a[_0x5affde]=_0x25ea22[_0x38e0ad(0x2c6)](/url\(#(.*)\)/,_0x38e0ad(0x11d)+_0x455aff[_0x38e0ad(0x2a6)]+')'));})),_0x5d499a;}function _0x3879c2(_0x319200,_0x20f8c7){const _0x102732=_0x41fa7f;var _0x6de88;const {defIds:_0x593ed4}=_0x20f8c7;return!_0x593ed4||_0x593ed4[_0x102732(0x26c)]===0x0?_0x319200:_0x319200['tag']===_0x102732(0x2ef)&&((_0x6de88=_0x319200['children'])!=null&&_0x6de88[_0x102732(0x26c)])?{..._0x319200,'children':_0x319200[_0x102732(0x334)][_0x102732(0x311)](_0x4d7755=>typeof _0x4d7755['attrs']['id']==_0x102732(0x329)&&_0x593ed4&&_0x593ed4[_0x102732(0x21d)](_0x4d7755[_0x102732(0x198)]['id'])?{..._0x4d7755,'attrs':{..._0x4d7755[_0x102732(0x198)],'id':_0x4d7755[_0x102732(0x198)]['id']+_0x20f8c7[_0x102732(0x2a6)]}}:_0x4d7755)}:_0x319200;}function _0x3f2043(){const _0xac0ac6=_0x41fa7f;return Math[_0xac0ac6(0x360)]()[_0xac0ac6(0x22c)](0x24)[_0xac0ac6(0x3b1)](0x2,0x8);}_0x5ef291[_0x41fa7f(0x160)]=_0x41fa7f(0x216);const _0x1c0d12={'tag':_0x41fa7f(0x187),'attrs':{'xmlns':_0x41fa7f(0x264),'fill':_0x41fa7f(0x212),'viewBox':_0x41fa7f(0x16c),'width':_0x41fa7f(0x346),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x41fa7f(0x3cc)},'children':[{'tag':_0x41fa7f(0x1ad),'attrs':{'stroke':_0x41fa7f(0x3df),'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':_0x41fa7f(0x196),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x41fa7f(0x2ef),'attrs':{},'children':[{'tag':_0x41fa7f(0x3c0),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x41fa7f(0x1ad),'attrs':{'fill':_0x41fa7f(0x1c4),'d':_0x41fa7f(0x364)}}]}]}],'defIds':[_0x41fa7f(0x1f2)]},_0x543b0c=_0x856dba['forwardRef'](function(_0x3c88d6,_0x571ebb){const _0x43ae1b=_0x41fa7f;return _0x856dba[_0x43ae1b(0x16e)](_0x5ef291,Object[_0x43ae1b(0x3b4)]({},_0x3c88d6,{'id':'off-line-icon','ref':_0x571ebb,'icon':_0x1c0d12}));});_0x543b0c[_0x41fa7f(0x160)]='OffLineIcon';const _0xd81b27={'tag':_0x41fa7f(0x187),'attrs':{'xmlns':_0x41fa7f(0x264),'fill':_0x41fa7f(0x212),'viewBox':'0\x200\x2017\x2016','width':_0x41fa7f(0x346),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x41fa7f(0x3df),'d':_0x41fa7f(0x299),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x41fa7f(0x2ef),'attrs':{},'children':[{'tag':_0x41fa7f(0x3c0),'attrs':{'id':_0x41fa7f(0x2a8)},'children':[{'tag':_0x41fa7f(0x1ad),'attrs':{'fill':_0x41fa7f(0x1c4),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x41fa7f(0x2a8)]},_0x223269=_0x856dba[_0x41fa7f(0x174)](function(_0x492e3c,_0x5d9780){const _0x2e4a7b=_0x41fa7f;return _0x856dba['createElement'](_0x5ef291,Object[_0x2e4a7b(0x3b4)]({},_0x492e3c,{'id':_0x2e4a7b(0x181),'ref':_0x5d9780,'icon':_0xd81b27}));});_0x223269[_0x41fa7f(0x160)]=_0x41fa7f(0x339);function _0x59d28e(_0x45e6ca){const _0xec31a1=_0x41fa7f;switch(_0x45e6ca){case _0x5a33af[_0xec31a1(0x1ef)][_0xec31a1(0x142)]:return _0xec31a1(0x31a);case _0x5a33af[_0xec31a1(0x1ef)][_0xec31a1(0x1af)]:return'collabStatus.conflict';case _0x5a33af[_0xec31a1(0x1ef)][_0xec31a1(0x36d)]:return _0xec31a1(0x2d9);case _0x5a33af[_0xec31a1(0x1ef)][_0xec31a1(0x163)]:return _0xec31a1(0x14f);case _0x5a33af[_0xec31a1(0x1ef)]['AWAITING']:case _0x5a33af[_0xec31a1(0x1ef)][_0xec31a1(0x2a5)]:return _0xec31a1(0x28f);case _0x5a33af['CollaborationStatus'][_0xec31a1(0x11e)]:case _0x5a33af[_0xec31a1(0x1ef)][_0xec31a1(0x3bf)]:return _0xec31a1(0x101);}}function _0x5661ec(_0x59b5f7){const _0x254069=_0x41fa7f,{status$:_0x5d509c}=_0x59b5f7,_0x24b2e7=_0x339e42[_0x254069(0x224)](_0x5d509c,_0x5a33af['CollaborationStatus']['NOT_COLLAB']),_0x831df1=_0x339e42['useDependency'](_0xdb2415[_0x254069(0x17f)]),_0x514650=_0x339e42[_0x254069(0x1a5)](_0x5a33af['CollaborationSessionService']),_0x5bdd19=_0x24b2e7!==_0x5a33af[_0x254069(0x1ef)][_0x254069(0x142)],_0xa5e466=_0x831df1['t'](_0x59d28e(_0x24b2e7)),_0x313e9b=_0x5bdd19?_0x510a6e[_0x254069(0x2d2)](_0x223269,{}):_0x510a6e[_0x254069(0x2d2)](_0x543b0c,{}),_0x478ece=_0x856dba['useCallback'](()=>{const _0x3e2f93=_0x254069;_0x5bdd19||_0x514650[_0x3e2f93(0x3d9)]();},[_0x5bdd19,_0x514650]);function _0x49659e(){const _0x4997d7=_0x254069;return _0x510a6e['jsxs'](_0x4997d7(0x215),{'className':'univer-flex\x20univer-items-center','onClick':_0x478ece,'children':[_0x510a6e[_0x4997d7(0x2d2)]('div',{'className':_0xffb326[_0x4997d7(0x15d)](_0x4997d7(0x309),{'univer-text-green-500':_0x5bdd19,'univer-text-red-500':!_0x5bdd19}),'children':_0x313e9b}),_0x510a6e['jsx'](_0x4997d7(0x215),{'className':_0x4997d7(0x3b7),'children':_0xa5e466})]});}return _0x5bdd19?_0x49659e():_0x510a6e[_0x254069(0x2d2)](_0xffb326[_0x254069(0x324)],{'title':_0x831df1['t'](_0x254069(0x1ff)),'children':_0x49659e()});}var _0x377343=Object['getOwnPropertyDescriptor'],_0x579604=(_0x51f115,_0xc42e90,_0x5de10d,_0x5bc9fe)=>{const _0x304257=_0x41fa7f;for(var _0x4eabb0=_0x5bc9fe>0x1?void 0x0:_0x5bc9fe?_0x377343(_0xc42e90,_0x5de10d):_0xc42e90,_0x16d0b3=_0x51f115[_0x304257(0x26c)]-0x1,_0x631fb8;_0x16d0b3>=0x0;_0x16d0b3--)(_0x631fb8=_0x51f115[_0x16d0b3])&&(_0x4eabb0=_0x631fb8(_0x4eabb0)||_0x4eabb0);return _0x4eabb0;},_0x236a60=(_0x22be0e,_0x46be52)=>(_0x20dc9f,_0x4dabde)=>_0x46be52(_0x20dc9f,_0x4dabde,_0x22be0e);_0x1dc582[_0x41fa7f(0x33e)]=class extends _0xdb2415['Disposable']{constructor(_0x3b68bd,_0x22a85e,_0x5f136e,_0x4045ca){const _0x1c38d3=_0x41fa7f;super(),_0x356879(this,_0x1c38d3(0x134),new _0x5bb37b[(_0x1c38d3(0x204))](_0x5a33af[_0x1c38d3(0x1ef)][_0x1c38d3(0x163)])),(this['_univerInstanceService']=_0x3b68bd,this[_0x1c38d3(0x2e4)]=_0x22a85e,this[_0x1c38d3(0x144)]=_0x5f136e,this[_0x1c38d3(0x14e)]=_0x4045ca,this[_0x1c38d3(0x197)](),this[_0x1c38d3(0x3ba)]());}['_initStatusListener'](){const _0x2a9519=_0x41fa7f;this['disposeWithMe'](this[_0x2a9519(0x27e)][_0x2a9519(0x1d3)][_0x2a9519(0x25c)](_0x5bb37b[_0x2a9519(0x19e)](()=>{const _0x391446=_0x2a9519,_0x3defc2=this['_univerInstanceService']['getFocusedUnit']();return _0x3defc2?this['_collaborationController']['getCollabEntity$'](_0x3defc2[_0x391446(0x225)]()):_0x5bb37b['of'](null);}),_0x5bb37b[_0x2a9519(0x19e)](_0x45a0ed=>_0x45a0ed?_0x45a0ed[_0x2a9519(0x11f)]:_0x5bb37b['of'](_0x5a33af[_0x2a9519(0x1ef)][_0x2a9519(0x163)])))['subscribe'](_0x3696df=>{const _0xcb762c=_0x2a9519;this['_status$'][_0xcb762c(0x3b5)](_0x3696df);}));}[_0x41fa7f(0x197)](){const _0x199df5=_0x41fa7f;this[_0x199df5(0x31e)](this[_0x199df5(0x14e)][_0x199df5(0x2d6)](_0x339e42[_0x199df5(0x321)][_0x199df5(0x3e3)],()=>_0x339e42['connectInjector'](_0x2f68cb({'status$':this[_0x199df5(0x134)][_0x199df5(0x1c0)]()}),this[_0x199df5(0x2e4)])));}},_0x1dc582[_0x41fa7f(0x33e)]=_0x579604([_0x236a60(0x0,_0xdb2415[_0x41fa7f(0x1b6)]),_0x236a60(0x1,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415['Injector'])),_0x236a60(0x2,_0xdb2415[_0x41fa7f(0x37a)](_0x5a33af[_0x41fa7f(0x18f)])),_0x236a60(0x3,_0x339e42['IUIPartsService'])],_0x1dc582['DesktopCollaborationStatusDisplayController']);function _0x2f68cb(_0x37ddc4){const {status$:_0x3ab2cb}=_0x37ddc4;return function(){const _0x1bdeaf=_0x4944;return _0x510a6e[_0x1bdeaf(0x2d2)](_0x5661ec,{'status$':_0x3ab2cb});};}const _0x2976d6=_0xdb2415[_0x41fa7f(0x3a2)](_0x41fa7f(0x269));var _0xde86ef=Object[_0x41fa7f(0x194)],_0x550eac=(_0xdde7e3,_0x225839,_0x20c0aa,_0x43da22)=>{for(var _0x284aa2=_0x43da22>0x1?void 0x0:_0x43da22?_0xde86ef(_0x225839,_0x20c0aa):_0x225839,_0x101765=_0xdde7e3['length']-0x1,_0x490d66;_0x101765>=0x0;_0x101765--)(_0x490d66=_0xdde7e3[_0x101765])&&(_0x284aa2=_0x490d66(_0x284aa2)||_0x284aa2);return _0x284aa2;},_0x5c1733=(_0x2cb40d,_0x14a286)=>(_0x162932,_0x4a9c71)=>_0x14a286(_0x162932,_0x4a9c71,_0x2cb40d);_0x1dc582['CollaborationDataLoaderController']=class extends _0xdb2415[_0x41fa7f(0x1d1)]{constructor(_0xa0ccd4,_0x1157ac,_0x647edd,_0x3a572b,_0x11e64c){const _0x55ce6a=_0x41fa7f;super(),this[_0x55ce6a(0x29d)]=_0xa0ccd4,this['_logService']=_0x1157ac,this[_0x55ce6a(0x2c7)]=_0x647edd,this[_0x55ce6a(0x3c7)]=_0x3a572b,_0x11e64c?_0x11e64c==null||_0x11e64c['whenReady']()['then'](()=>this[_0x55ce6a(0x33f)]()):(this[_0x55ce6a(0x2ec)][_0x55ce6a(0x394)](_0x55ce6a(0x155),_0x55ce6a(0x207)),this[_0x55ce6a(0x33f)]());}async['_init'](){const _0x3bbb94=_0x41fa7f,_0x400067=this[_0x3bbb94(0x29d)]['getParam']('unit'),_0x56105c=this['_urlService'][_0x3bbb94(0x2ff)](_0x3bbb94(0x17a)),_0x1d9a73=this[_0x3bbb94(0x29d)]['getParam'](_0x3bbb94(0x24f));if(!_0x400067||!_0x56105c){this[_0x3bbb94(0x2ec)][_0x3bbb94(0x394)](_0x3bbb94(0x155),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0xa5ef41=await this['_dataLoaderService'][_0x3bbb94(0x2c5)](_0x400067,Number(_0x56105c),_0x1d9a73);_0xa5ef41&&_0xa5ef41 instanceof _0xdb2415[_0x3bbb94(0x38c)]&&this[_0x3bbb94(0x303)](_0xa5ef41);}async[_0x41fa7f(0x303)](_0x4ae59c){const _0x2dc213=_0x41fa7f;await this[_0x2dc213(0x135)](_0x4ae59c),_0x4ae59c[_0x2dc213(0x1ee)][_0x2dc213(0x25c)](_0x5bb37b[_0x2dc213(0x285)](this['dispose$']))[_0x2dc213(0x31f)](_0x5b31d7=>{_0x5b31d7&&this['_updateURLWithCurrentState'](_0x5b31d7);}),this[_0x2dc213(0x29d)][_0x2dc213(0x256)][_0x2dc213(0x25c)](_0x5bb37b[_0x2dc213(0x285)](this[_0x2dc213(0x119)]))[_0x2dc213(0x31f)](()=>this['_updateSubUnitFromURLParams'](_0x4ae59c));}[_0x41fa7f(0x247)](_0x11cbd2,_0x370038=!0x1){const _0x1e1aeb=_0x41fa7f,_0x5685b4=this[_0x1e1aeb(0x29d)][_0x1e1aeb(0x2ff)](_0x1e1aeb(0x24f));_0x11cbd2[_0x1e1aeb(0x1c8)]()!==_0x5685b4&&this[_0x1e1aeb(0x29d)][_0x1e1aeb(0x2f1)](_0x1e1aeb(0x24f),_0x11cbd2[_0x1e1aeb(0x1c8)](),_0x370038);}async[_0x41fa7f(0x135)](_0xb39061){const _0x349e8e=_0x41fa7f;var _0x223361;const _0x16711b=this[_0x349e8e(0x29d)]['getParam'](_0x349e8e(0x24f));if(!_0x16711b||!_0xb39061[_0x349e8e(0x28b)](_0x16711b)){const _0x1a08c0=_0xb39061[_0x349e8e(0x2f9)]()[0x0],_0x2bda33=_0xb39061[_0x349e8e(0x28b)](_0x1a08c0);if(!_0x2bda33)return;this['_updateURLWithCurrentState'](_0x2bda33,!0x0),await this[_0x349e8e(0x2c7)]['executeCommand'](_0x5d16b0[_0x349e8e(0x2ad)]['id'],{'unitId':_0xb39061[_0x349e8e(0x225)](),'subUnitId':_0x1a08c0});return;}((_0x223361=_0xb39061[_0x349e8e(0x34c)]())==null?void 0x0:_0x223361['getSheetId']())!==_0x16711b&&await this['_commandService'][_0x349e8e(0x172)](_0x5d16b0['SetWorksheetActivateCommand']['id'],{'unitId':_0xb39061[_0x349e8e(0x225)](),'subUnitId':_0x16711b});}},_0x1dc582[_0x41fa7f(0x10b)]=_0x550eac([_0x5c1733(0x0,_0x2976d6),_0x5c1733(0x1,_0xdb2415[_0x41fa7f(0x230)]),_0x5c1733(0x2,_0xdb2415['ICommandService']),_0x5c1733(0x3,_0xdb2415[_0x41fa7f(0x37a)](_0x5a33af[_0x41fa7f(0x1ed)])),_0x5c1733(0x4,_0xdb2415[_0x41fa7f(0x223)](_0x2aadee[_0x41fa7f(0x3bc)]))],_0x1dc582[_0x41fa7f(0x10b)]);var _0x36689e=Object[_0x41fa7f(0x194)],_0x57c6e9=(_0x279ac5,_0x3f16d5,_0x19540e,_0x16076f)=>{const _0x21ff63=_0x41fa7f;for(var _0x1455ca=_0x16076f>0x1?void 0x0:_0x16076f?_0x36689e(_0x3f16d5,_0x19540e):_0x3f16d5,_0x56a81a=_0x279ac5[_0x21ff63(0x26c)]-0x1,_0x7b8586;_0x56a81a>=0x0;_0x56a81a--)(_0x7b8586=_0x279ac5[_0x56a81a])&&(_0x1455ca=_0x7b8586(_0x1455ca)||_0x1455ca);return _0x1455ca;},_0xf72621=(_0x3e1c7c,_0x1e2c67)=>(_0x2ba6cb,_0xb1bd6e)=>_0x1e2c67(_0x2ba6cb,_0xb1bd6e,_0x3e1c7c);let _0xb90e08=class extends _0xdb2415['RxDisposable']{constructor(_0x1770f6,_0x22106a){const _0x3eb4c0=_0x41fa7f;super(),this[_0x3eb4c0(0xff)]=_0x1770f6,this[_0x3eb4c0(0x39c)]=_0x22106a,this[_0x3eb4c0(0x33f)]();}['_init'](){const _0x2d985c=_0x41fa7f,_0x3d9b52=this;this[_0x2d985c(0x31e)](this['_docClipboardService'][_0x2d985c(0x178)]({'onBeforePasteImage':async _0x1d4c0a=>{const _0x471ad4=_0x2d985c,_0x4d1b2f=await _0x3d9b52[_0x471ad4(0x39c)][_0x471ad4(0x271)](_0x1d4c0a);return _0x4d1b2f?{'source':_0x4d1b2f[_0x471ad4(0x1f5)],'imageSourceType':_0x4d1b2f[_0x471ad4(0x30a)]}:null;}}));}};_0xb90e08=_0x57c6e9([_0xf72621(0x0,_0x4abee5[_0x41fa7f(0x338)]),_0xf72621(0x1,_0x48ad96[_0x41fa7f(0x16a)])],_0xb90e08);const _0xa49ba=[_0x41fa7f(0x23a),'jiqing.500',_0x41fa7f(0x195),_0x41fa7f(0x313),'blue.400','yellow.400'];class _0x54f54d extends _0xdb2415[_0x41fa7f(0x37d)]{constructor(){const _0xc1edde=_0x41fa7f;super(...arguments),_0x356879(this,'_assignedColors',new Map()),_0x356879(this,_0xc1edde(0x369),0x0);}[_0x41fa7f(0x29f)](_0x4d4d4a){const _0x4509b2=_0x41fa7f;if(this['_assignedColors'][_0x4509b2(0x246)](_0x4d4d4a))return this[_0x4509b2(0x20c)]['get'](_0x4d4d4a);const _0x23c287=_0xa49ba[this[_0x4509b2(0x369)]];return this[_0x4509b2(0x369)]=(this[_0x4509b2(0x369)]+0x1)%_0xa49ba[_0x4509b2(0x26c)],this[_0x4509b2(0x20c)][_0x4509b2(0x238)](_0x4d4d4a,_0x23c287),_0x23c287;}}function _0x49d4ce(_0x4567b8){let _0x42e0c8='';for(const _0x686b46 of _0x4567b8){const {startOffset:_0x26e145,endOffset:_0x163892,isActive:_0x502502,rangeType:_0xc3990c,segmentId:_0x2b3755,segmentPage:_0x149102}=_0x686b46;_0x42e0c8['length']&&(_0x42e0c8+=','),_0x42e0c8+=_0x26e145+':'+_0x163892+':'+(_0x502502?'1':'0')+':'+_0xc3990c+':'+_0x2b3755+':'+_0x149102;}return _0x42e0c8;}function _0x553eef(_0x56c943){const _0x333c9a=_0x41fa7f,_0x264a4c=_0x56c943['split'](','),_0x3d8b29=[];for(const _0x10f2de of _0x264a4c){const [_0x33a3fa,_0x4205a4,_0x3bdece,_0x5c1bc4,_0xce82df,_0x5c8b33]=_0x10f2de['split'](':');_0x3d8b29[_0x333c9a(0x3dd)]({'startOffset':Number(_0x33a3fa),'endOffset':Number(_0x4205a4),'collapsed':_0x33a3fa===_0x4205a4,'isActive':_0x3bdece==='1','rangeType':_0x5c1bc4===_0xdb2415[_0x333c9a(0x1e9)][_0x333c9a(0x1aa)]?_0xdb2415['DOC_RANGE_TYPE'][_0x333c9a(0x1aa)]:_0xdb2415[_0x333c9a(0x1e9)][_0x333c9a(0x15f)],'segmentId':typeof _0xce82df==_0x333c9a(0x329)?String(_0xce82df):'','segmentPage':Number(_0x5c8b33!=null?_0x5c8b33:-0x1)});}return _0x3d8b29[_0x333c9a(0x31c)](_0x4b2a0c=>_0x4b2a0c[_0x333c9a(0x1b8)])||(_0x3d8b29[0x0]['isActive']=!0x0),_0x3d8b29;}class _0x3dcaca extends _0xdb2415['RxDisposable']{constructor(){const _0x2483f=_0x41fa7f;super(...arguments),_0x356879(this,_0x2483f(0x149),new _0x5bb37b['BehaviorSubject'](null)),_0x356879(this,_0x2483f(0x14c),this[_0x2483f(0x149)]['asObservable']());}['syncEditingCollabCursor'](_0x3dcc19){const _0xc85e25=_0x41fa7f,{unitID:_0x46faf9,memberID:_0x2c5cba,textRanges:_0x404d39}=_0x3dcc19,_0x10de63=_0x49d4ce(_0x404d39);if(_0x10de63==='')return;const _0x3b354f={'unitID':_0x46faf9,'memberID':_0x2c5cba,'selection':_0x10de63};this[_0xc85e25(0x149)]['next'](_0x3b354f);}}var _0x102601=Object['getOwnPropertyDescriptor'],_0x348bd0=(_0x53d4b5,_0x27875d,_0x2fdac6,_0xad7912)=>{const _0x50256c=_0x41fa7f;for(var _0x2e29f9=_0xad7912>0x1?void 0x0:_0xad7912?_0x102601(_0x27875d,_0x2fdac6):_0x27875d,_0x5aeeac=_0x53d4b5[_0x50256c(0x26c)]-0x1,_0x56151f;_0x5aeeac>=0x0;_0x5aeeac--)(_0x56151f=_0x53d4b5[_0x5aeeac])&&(_0x2e29f9=_0x56151f(_0x2e29f9)||_0x2e29f9);return _0x2e29f9;},_0x1f10b4=(_0x327841,_0x3cfba0)=>(_0xf7d396,_0x4c2c78)=>_0x3cfba0(_0xf7d396,_0x4c2c78,_0x327841);const _0x7bd743=0x12c,_0x55f324=0x64;let _0x284db1=class extends _0xdb2415[_0x41fa7f(0x1d1)]{constructor(_0x1741f7,_0x1e35cf,_0x100479,_0x41ebac,_0x3f9fbc,_0x5086e5,_0x4f1d8f,_0x30493f,_0x3318dc){const _0x382ba9=_0x41fa7f;super(),_0x356879(this,_0x382ba9(0x1a2),!0x1),_0x356879(this,'_init',!0x1),_0x356879(this,_0x382ba9(0x36f),new _0x5bb37b['BehaviorSubject'](new Map())),_0x356879(this,_0x382ba9(0x33d),this[_0x382ba9(0x36f)][_0x382ba9(0x1c0)]()),_0x356879(this,_0x382ba9(0x3da),new _0x5bb37b[(_0x382ba9(0x204))]([])),_0x356879(this,_0x382ba9(0x3e2),this['_roomMembers$'][_0x382ba9(0x25c)](_0x5bb37b[_0x382ba9(0x345)](_0x7bd743))),_0x356879(this,_0x382ba9(0x15c),_0xdb2415['debounce'](_0x59e077=>{const _0x40e5e7=_0x382ba9,_0x3d3497={'eventID':_0x1b3789['CollaborationEvent'][_0x40e5e7(0x297)],'data':{'unitID':this[_0x40e5e7(0x281)],'memberID':this['_session'][_0x40e5e7(0x38f)](),'selection':_0x49d4ce(_0x59e077)}};this[_0x40e5e7(0x24a)]['send'](_0x3d3497,this['unitID']);},_0x55f324)),(this[_0x382ba9(0x281)]=_0x1741f7,this[_0x382ba9(0x24a)]=_0x1e35cf,this[_0x382ba9(0x2e4)]=_0x100479,this[_0x382ba9(0x2a1)]=_0x41ebac,this['_memberService']=_0x3f9fbc,this[_0x382ba9(0x19b)]=_0x5086e5,this[_0x382ba9(0x3cb)]=_0x4f1d8f,this[_0x382ba9(0x27e)]=_0x30493f,this[_0x382ba9(0x2c7)]=_0x3318dc);}get[_0x41fa7f(0x1f6)](){const _0x52cd3f=_0x41fa7f;return this[_0x52cd3f(0x36f)][_0x52cd3f(0x2e2)]();}get[_0x41fa7f(0x1f4)](){const _0x2e6a8f=_0x41fa7f;return this['_roomMembers$'][_0x2e6a8f(0x2e2)]();}[_0x41fa7f(0x1b9)](){const _0x2a1401=_0x41fa7f;super[_0x2a1401(0x1b9)](),this[_0x2a1401(0x36f)][_0x2a1401(0x3b5)](new Map()),this[_0x2a1401(0x36f)][_0x2a1401(0x3d5)](),this[_0x2a1401(0x3da)][_0x2a1401(0x3b5)]([]),this[_0x2a1401(0x3da)][_0x2a1401(0x3d5)]();}[_0x41fa7f(0x22f)](){const _0x3ba160=_0x41fa7f;this[_0x3ba160(0x33f)]||(this[_0x3ba160(0x33f)]=!0x0,this[_0x3ba160(0x24a)][_0x3ba160(0x27b)][_0x3ba160(0x25c)](_0x5bb37b[_0x3ba160(0x285)](this[_0x3ba160(0x119)]))[_0x3ba160(0x31f)](_0x5eaaba=>{const _0x2aad35=_0x3ba160;_0x5eaaba===_0x5a33af[_0x2aad35(0x11b)][_0x2aad35(0x1d9)]?this[_0x2aad35(0x110)]():this[_0x2aad35(0x1d4)]();}),this[_0x3ba160(0x24a)][_0x3ba160(0x173)]['pipe'](_0x5bb37b[_0x3ba160(0x285)](this[_0x3ba160(0x119)]))[_0x3ba160(0x31f)](_0x5d5dd8=>{const _0x377d08=_0x3ba160,_0xe1a19f=_0x5d5dd8[_0x377d08(0x1d0)];_0xe1a19f===_0x1b3789[_0x377d08(0x276)][_0x377d08(0x297)]&&this[_0x377d08(0x2a7)](_0x5d5dd8),_0xe1a19f===_0x1b3789[_0x377d08(0x276)][_0x377d08(0x127)]&&this[_0x377d08(0x292)](_0x5d5dd8);}),this[_0x3ba160(0x31e)](this[_0x3ba160(0x2c7)]['onCommandExecuted'](_0x14b573=>{const _0x3747c7=_0x3ba160,_0x479203=_0x14b573[_0x3747c7(0x34a)];_0x479203!=null&&this[_0x3747c7(0x1a2)]&&_0x14b573['id']===_0x5e9ade['SetTextSelectionsOperation']['id']&&_0x479203[_0x3747c7(0x392)]===this['unitID']&&_0x479203[_0x3747c7(0x27f)]===!0x1&&_0x479203[_0x3747c7(0x1c1)][_0x3747c7(0x26c)]>0x0&&this[_0x3747c7(0x15c)](_0x479203[_0x3747c7(0x1c1)]);})),this[_0x3ba160(0x19b)][_0x3ba160(0x14c)][_0x3ba160(0x25c)](_0x5bb37b[_0x3ba160(0x285)](this['dispose$']))['subscribe'](_0x34acb6=>{const _0x3fd4e0=_0x3ba160;if((_0x34acb6==null?void 0x0:_0x34acb6['unitID'])!==this[_0x3fd4e0(0x281)])return;const _0x5b924a={'eventID':_0x1b3789[_0x3fd4e0(0x276)]['UPDATE_CURSOR'],'data':_0x34acb6};this['_onCursorUpdate'](_0x5b924a);}),this['disposeWithMe'](this['_commandService'][_0x3ba160(0x191)](_0x5be230=>{const _0x4b3941=_0x3ba160;if(_0x5be230[_0x4b3941(0x34a)]==null)return;const _0x35e474=_0x5be230[_0x4b3941(0x34a)];if(_0x5be230['id']!==_0x5e9ade['RichTextEditingMutation']['id']||_0x35e474[_0x4b3941(0x392)]!==this['unitID'])return;const _0x5794d0={'id':'doc.mutation.rich-text-editing','params':_0x35e474},_0x8b186f=this[_0x4b3941(0x1f6)];for(const [_0x2c02b4,_0x303617]of _0x8b186f){const _0x562e73={'id':_0x4b3941(0x1e5),'params':{'unitId':this[_0x4b3941(0x281)],'actions':null,'textRanges':_0x303617[_0x4b3941(0x1c1)]}},_0x337afd=this[_0x4b3941(0x3cb)][_0x4b3941(0x393)](_0x5794d0,_0x562e73,!0x1);if(_0x1b3789[_0x4b3941(0x1e4)](_0x337afd))throw _0x337afd[_0x4b3941(0x399)];_0x8b186f[_0x4b3941(0x238)](_0x2c02b4,{..._0x303617,'ranges':_0x337afd['m2Prime']['params'][_0x4b3941(0x2f5)]});}queueMicrotask(()=>{const _0x3eada3=_0x4b3941;this[_0x3eada3(0x36f)]['next'](_0x8b186f);});})));}[_0x41fa7f(0x2a7)](_0x212eee){const _0x1cf4af=_0x41fa7f;var _0x2d9483,_0x39d619;const {memberID:_0x11037b,selection:_0x1b3daf}=_0x212eee[_0x1cf4af(0x36c)],_0x5a2e94=_0x553eef(_0x1b3daf),_0x428439=(_0x39d619=(_0x2d9483=this['_memberService']['getMember'](this['unitID'],_0x11037b))==null?void 0x0:_0x2d9483['name'])!=null?_0x39d619:_0x1cf4af(0x337),_0x50da53={'color':this[_0x1cf4af(0x2a1)]['assignAColorForMemberID'](_0x11037b),'name':_0x428439,'ranges':_0x5a2e94},_0x383a37=this[_0x1cf4af(0x1f6)];_0x383a37[_0x1cf4af(0x238)](_0x11037b,_0x50da53),this[_0x1cf4af(0x36f)][_0x1cf4af(0x3b5)](_0x383a37);}[_0x41fa7f(0x292)](_0x36543a){const _0x9c9f68=_0x41fa7f,{memberID:_0x1435f9}=_0x36543a[_0x9c9f68(0x36c)],_0x5f0317=this[_0x9c9f68(0x1f6)];_0x5f0317[_0x9c9f68(0x349)](_0x1435f9),this[_0x9c9f68(0x36f)][_0x9c9f68(0x3b5)](_0x5f0317);}[_0x41fa7f(0x110)](){const _0x26f0a0=_0x41fa7f;var _0xdaaa9a;if(this[_0x26f0a0(0x1a2)]=!0x0,((_0xdaaa9a=this['_univerInstanceService'][_0x26f0a0(0x2be)]())==null?void 0x0:_0xdaaa9a[_0x26f0a0(0x225)]())!==this[_0x26f0a0(0x281)])return;const _0x57149a=this[_0x26f0a0(0x2e4)]['get'](_0x5e9ade[_0x26f0a0(0x29a)])['getDocRanges']();Array[_0x26f0a0(0x219)](_0x57149a)&&_0x57149a[_0x26f0a0(0x26c)]>0x0&&this[_0x26f0a0(0x15c)](_0x57149a);}[_0x41fa7f(0x1d4)](){const _0x13485f=_0x41fa7f;this[_0x13485f(0x1a2)]=!0x1;}};_0x284db1=_0x348bd0([_0x1f10b4(0x2,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415[_0x41fa7f(0x277)])),_0x1f10b4(0x3,_0xdb2415[_0x41fa7f(0x37a)](_0x54f54d)),_0x1f10b4(0x4,_0xdb2415[_0x41fa7f(0x37a)](_0x5a33af[_0x41fa7f(0x3b9)])),_0x1f10b4(0x5,_0xdb2415[_0x41fa7f(0x37a)](_0x3dcaca)),_0x1f10b4(0x6,_0x1b3789[_0x41fa7f(0x389)]),_0x1f10b4(0x7,_0xdb2415[_0x41fa7f(0x1b6)]),_0x1f10b4(0x8,_0xdb2415[_0x41fa7f(0x104)])],_0x284db1);var _0x2135c5=Object[_0x41fa7f(0x194)],_0x395ce6=(_0x2079df,_0x72688a,_0x2055bc,_0x310f30)=>{for(var _0x43a0ed=_0x310f30>0x1?void 0x0:_0x310f30?_0x2135c5(_0x72688a,_0x2055bc):_0x72688a,_0x4a0c2f=_0x2079df['length']-0x1,_0x2733b9;_0x4a0c2f>=0x0;_0x4a0c2f--)(_0x2733b9=_0x2079df[_0x4a0c2f])&&(_0x43a0ed=_0x2733b9(_0x43a0ed)||_0x43a0ed);return _0x43a0ed;},_0x4ba7e7=(_0x17131f,_0x27fc42)=>(_0x532871,_0x4c3515)=>_0x27fc42(_0x532871,_0x4c3515,_0x17131f);const _0x3a137c=0x12c,_0x354484=0x64,_0x244efb=()=>{let _0x501068=[],_0x86a9ab=!0x1;return _0x54a3c7=>{const _0x53857d=_0x4944;_0x501068[_0x53857d(0x3dd)](_0x54a3c7),_0x86a9ab||(_0x86a9ab=!0x0,setTimeout(()=>{const _0x3a8e08=_0x53857d;_0x501068[_0x3a8e08(0x270)](_0x306894=>_0x306894()),_0x501068=[],_0x86a9ab=!0x1;}));};};let _0x237592=class extends _0xdb2415[_0x41fa7f(0x1d1)]{constructor(_0x1be30d,_0x1d55d0,_0x5d7b0f,_0x1eddb1,_0x591aef,_0x42e283,_0xb482a4,_0x47e012){const _0xd5e409=_0x41fa7f;super(),_0x356879(this,_0xd5e409(0x1a2),!0x1),_0x356879(this,'_init',!0x1),_0x356879(this,_0xd5e409(0x36f),new _0x5bb37b[(_0xd5e409(0x204))](new Map())),_0x356879(this,_0xd5e409(0x33d),this['_cursorInfo$'][_0xd5e409(0x1c0)]()),_0x356879(this,_0xd5e409(0x3da),new _0x5bb37b['BehaviorSubject']([])),_0x356879(this,_0xd5e409(0x3e2),this[_0xd5e409(0x3da)][_0xd5e409(0x25c)](_0x5bb37b['debounceTime'](_0x3a137c))),_0x356879(this,_0xd5e409(0x15c),_0xdb2415[_0xd5e409(0x2dc)]((_0x544889,_0x59a11a)=>{const _0x7c853b=_0xd5e409,_0x463918={'eventID':_0x1b3789[_0x7c853b(0x276)][_0x7c853b(0x297)],'data':{'unitID':this[_0x7c853b(0x281)],'memberID':this[_0x7c853b(0x24a)][_0x7c853b(0x38f)](),'selection':_0x7b5b07[_0x7c853b(0x300)](_0x544889,_0x59a11a[_0x7c853b(0x154)])}};this[_0x7c853b(0x24a)][_0x7c853b(0x1cc)](_0x463918,this[_0x7c853b(0x281)]);},_0x354484)),(this[_0xd5e409(0x281)]=_0x1be30d,this[_0xd5e409(0x24a)]=_0x1d55d0,this['_injector']=_0x5d7b0f,this[_0xd5e409(0x2a1)]=_0x1eddb1,this[_0xd5e409(0x1be)]=_0x591aef,this[_0xd5e409(0x27e)]=_0x42e283,this[_0xd5e409(0x2c7)]=_0xb482a4,this[_0xd5e409(0x2bd)]=_0x47e012);}get[_0x41fa7f(0x1f6)](){const _0x5700fb=_0x41fa7f;return this[_0x5700fb(0x36f)]['getValue']();}get['roomMembers'](){const _0x38d6e6=_0x41fa7f;return this[_0x38d6e6(0x3da)]['getValue']();}[_0x41fa7f(0x1b9)](){const _0x284276=_0x41fa7f;super['dispose'](),this[_0x284276(0x36f)]['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x284276(0x3da)][_0x284276(0x3b5)]([]),this[_0x284276(0x3da)]['complete']();}[_0x41fa7f(0x22f)](){const _0x74c453=_0x41fa7f;this[_0x74c453(0x33f)]||(this[_0x74c453(0x33f)]=!0x0,this['_session'][_0x74c453(0x27b)][_0x74c453(0x25c)](_0x5bb37b[_0x74c453(0x285)](this['dispose$']))[_0x74c453(0x31f)](_0x1778c4=>{const _0x53b974=_0x74c453;_0x1778c4===_0x5a33af['SessionStatus'][_0x53b974(0x1d9)]?this[_0x53b974(0x110)]():this[_0x53b974(0x1d4)]();}),this[_0x74c453(0x24a)][_0x74c453(0x173)][_0x74c453(0x25c)](_0x5bb37b['takeUntil'](this[_0x74c453(0x119)]))[_0x74c453(0x31f)](_0x281f16=>{const _0x3284b0=_0x74c453,_0x9e2d00=_0x281f16[_0x3284b0(0x1d0)];_0x9e2d00===_0x1b3789[_0x3284b0(0x276)][_0x3284b0(0x297)]&&this['_onCursorUpdate'](_0x281f16),_0x9e2d00===_0x1b3789[_0x3284b0(0x276)][_0x3284b0(0x127)]&&this[_0x3284b0(0x292)](_0x281f16);}),this[_0x74c453(0x387)](),this[_0x74c453(0x31e)](this[_0x74c453(0x2c7)][_0x74c453(0x191)](_0x31bdbf=>{const _0x4cea5e=_0x74c453;if(this[_0x4cea5e(0x1a2)]&&_0x31bdbf['id']===_0x5d16b0[_0x4cea5e(0x2df)]['id']&&_0x31bdbf[_0x4cea5e(0x34a)][_0x4cea5e(0x392)]===this[_0x4cea5e(0x281)]){const _0x143a4f=_0x31bdbf[_0x4cea5e(0x34a)];this[_0x4cea5e(0x15c)](_0x143a4f['subUnitId'],_0x143a4f[_0x4cea5e(0x344)][0x0]);}})));}[_0x41fa7f(0x2a7)](_0x3ab142){const _0x234144=_0x41fa7f;var _0x32c9e8,_0x1d9bf9;const {memberID:_0x4c410b,selection:_0x1577ce}=_0x3ab142['data'],{sheetName:_0x1b8b10,range:_0x5c37e9}=_0x7b5b07[_0x234144(0x1a8)](_0x1577ce),_0x18331d={'name':(_0x1d9bf9=(_0x32c9e8=this[_0x234144(0x1be)][_0x234144(0x3c3)](this['unitID'],_0x4c410b))==null?void 0x0:_0x32c9e8[_0x234144(0x2b1)])!=null?_0x1d9bf9:_0x234144(0x337),'range':this[_0x234144(0x295)](_0x1b8b10,_0x5c37e9),'sheetID':_0x1b8b10,'color':this[_0x234144(0x2a1)]['assignAColorForMemberID'](_0x4c410b),'selection':_0x1577ce},_0x43d8c8=this['cursorInfo'];_0x43d8c8['set'](_0x4c410b,_0x18331d),this[_0x234144(0x36f)][_0x234144(0x3b5)](_0x43d8c8);}['_onCursorDelete'](_0x29f5eb){const _0x28a893=_0x41fa7f,{memberID:_0x4ea43a}=_0x29f5eb[_0x28a893(0x36c)],_0x132aed=this[_0x28a893(0x1f6)];_0x132aed[_0x28a893(0x349)](_0x4ea43a),this[_0x28a893(0x36f)][_0x28a893(0x3b5)](_0x132aed);}[_0x41fa7f(0x295)](_0x180c8f,_0x2b42c0){const _0x5885e4=_0x41fa7f;var _0x25af43,_0x2097d4;const _0x3eb2ee=(_0x2097d4=(_0x25af43=this[_0x5885e4(0x27e)][_0x5885e4(0x123)](this[_0x5885e4(0x281)]))==null?void 0x0:_0x25af43[_0x5885e4(0x28b)](_0x180c8f))==null?void 0x0:_0x2097d4[_0x5885e4(0x1e0)]();return(_0x3eb2ee==null?void 0x0:_0x3eb2ee[_0x5885e4(0x397)](_0x438c13=>_0xdb2415['Rectangle'][_0x5885e4(0x385)](_0x438c13,_0x2b42c0)))||_0x2b42c0;}['_onRefRangeChange'](){const _0x163ff8=_0x41fa7f,_0x1567ec=new _0xdb2415[(_0x163ff8(0x39f))](),_0x126278=_0x244efb(),_0x476e95=()=>{const _0x21fafb=_0x163ff8;_0x1567ec['dispose']();const _0x2fa558=(_0x578a9c,_0x1a3d3f,_0x4dec43,_0x5d06be)=>{const _0x129f11=_0x4944;let _0x2d0689=[];switch(_0x578a9c['id']){case _0x5d16b0[_0x129f11(0x1df)][_0x129f11(0x1fa)]:{_0x2d0689=_0x5d16b0['handleDeleteRangeMoveLeft'](_0x578a9c,_0x5d06be);break;}case _0x5d16b0['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x2d0689=_0x5d16b0['handleDeleteRangeMoveUp'](_0x578a9c,_0x5d06be);break;}case _0x5d16b0[_0x129f11(0x1df)]['InsertColCommandId']:{_0x2d0689=_0x5d16b0['handleInsertCol'](_0x578a9c,_0x5d06be);break;}case _0x5d16b0[_0x129f11(0x1df)][_0x129f11(0x179)]:{_0x2d0689=_0x5d16b0['handleInsertRangeMoveDown'](_0x578a9c,_0x5d06be);break;}case _0x5d16b0['EffectRefRangId'][_0x129f11(0x139)]:{_0x2d0689=_0x5d16b0[_0x129f11(0x388)](_0x578a9c,_0x5d06be);break;}case _0x5d16b0['EffectRefRangId'][_0x129f11(0x348)]:{_0x2d0689=_0x5d16b0['handleInsertRow'](_0x578a9c,_0x5d06be);break;}case _0x5d16b0[_0x129f11(0x1df)][_0x129f11(0x278)]:{_0x2d0689=_0x5d16b0[_0x129f11(0x368)](_0x578a9c,_0x5d06be);break;}case _0x5d16b0['EffectRefRangId'][_0x129f11(0x284)]:{_0x2d0689=_0x5d16b0[_0x129f11(0x357)](_0x578a9c,_0x5d06be);break;}case _0x5d16b0['EffectRefRangId'][_0x129f11(0x131)]:{_0x2d0689=_0x5d16b0[_0x129f11(0x22e)](_0x578a9c,_0x5d06be);break;}}const _0x10ec19=_0x5d16b0['runRefRangeMutations'](_0x2d0689,_0x5d06be),_0x46410d=this[_0x129f11(0x1f6)]['get'](_0x1a3d3f);if(_0x46410d&&_0x10ec19){const _0x1a5d1e={..._0x46410d,'range':_0x10ec19};this[_0x129f11(0x1f6)][_0x129f11(0x238)](_0x1a3d3f,_0x1a5d1e),_0x126278(()=>{const _0xfe646=_0x129f11,_0x52422c=this[_0xfe646(0x2bd)]['registerRefRange'](_0x10ec19,_0x181f4d=>(_0x52422c[_0xfe646(0x1b9)](),_0x2fa558(_0x181f4d,_0x1a3d3f,_0x4dec43,_0x10ec19)));_0x1567ec[_0xfe646(0x12e)](_0x52422c);});}return{'redos':[],'undos':[]};};this[_0x21fafb(0x1f6)][_0x21fafb(0x270)]((_0x21ed73,_0x458394)=>{const _0x976ce7=_0x21fafb,{range:_0x5039a7,sheetID:_0x230c68}=_0x21ed73,_0x586ded=this[_0x976ce7(0x2bd)][_0x976ce7(0x3ad)](_0x5039a7,_0x1f50b2=>(_0x586ded[_0x976ce7(0x1b9)](),_0x2fa558(_0x1f50b2,_0x458394,_0x230c68,_0x5039a7)));_0x1567ec['add'](_0x586ded);});};this[_0x163ff8(0x31e)](_0xdb2415['toDisposable'](this[_0x163ff8(0x36f)][_0x163ff8(0x31f)](()=>{_0x476e95();})));}['_toggleOnline'](){const _0x2d3bbf=_0x41fa7f;var _0x18a26a,_0x3dee85;if(this[_0x2d3bbf(0x1a2)]=!0x0,((_0x18a26a=this[_0x2d3bbf(0x27e)][_0x2d3bbf(0x2be)]())==null?void 0x0:_0x18a26a[_0x2d3bbf(0x225)]())!==this[_0x2d3bbf(0x281)])return;const _0x398757=(_0x3dee85=this[_0x2d3bbf(0x2e4)][_0x2d3bbf(0x3a4)](_0x5d16b0[_0x2d3bbf(0x32e)])['getCurrentSelections']())==null?void 0x0:_0x3dee85[0x0],_0x1c82cb=this[_0x2d3bbf(0x27e)][_0x2d3bbf(0x335)](_0xdb2415[_0x2d3bbf(0x2f0)][_0x2d3bbf(0x2f4)])['getActiveSheet']();_0x398757&&_0x1c82cb&&this[_0x2d3bbf(0x15c)](_0x1c82cb['getSheetId'](),_0x398757);}[_0x41fa7f(0x1d4)](){this['_online']=!0x1;}};_0x237592=_0x395ce6([_0x4ba7e7(0x2,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415[_0x41fa7f(0x277)])),_0x4ba7e7(0x3,_0xdb2415[_0x41fa7f(0x37a)](_0x54f54d)),_0x4ba7e7(0x4,_0xdb2415[_0x41fa7f(0x37a)](_0x5a33af[_0x41fa7f(0x3b9)])),_0x4ba7e7(0x5,_0xdb2415['IUniverInstanceService']),_0x4ba7e7(0x6,_0xdb2415['ICommandService']),_0x4ba7e7(0x7,_0xdb2415[_0x41fa7f(0x37a)](_0x5d16b0[_0x41fa7f(0x3cf)]))],_0x237592);var _0xcce55f=Object[_0x41fa7f(0x194)],_0x4fc4cc=(_0x41ac38,_0x190655,_0x342fda,_0xd58dab)=>{const _0x108bb3=_0x41fa7f;for(var _0x1bae7c=_0xd58dab>0x1?void 0x0:_0xd58dab?_0xcce55f(_0x190655,_0x342fda):_0x190655,_0x4fc7d5=_0x41ac38[_0x108bb3(0x26c)]-0x1,_0x4b779c;_0x4fc7d5>=0x0;_0x4fc7d5--)(_0x4b779c=_0x41ac38[_0x4fc7d5])&&(_0x1bae7c=_0x4b779c(_0x1bae7c)||_0x1bae7c);return _0x1bae7c;},_0x4f2e54=(_0x1ecd94,_0x3c8397)=>(_0x21834e,_0x31567b)=>_0x3c8397(_0x21834e,_0x31567b,_0x1ecd94);let _0xa0f1ba=class extends _0xdb2415['RxDisposable']{constructor(_0xf0e3f0,_0x5ca2c9,_0x42c9b1){const _0x30651a=_0x41fa7f;super(),_0x356879(this,_0x30651a(0x316),new Map()),_0x356879(this,_0x30651a(0x2b5),new _0x5bb37b['Subject']()),(this[_0x30651a(0x27e)]=_0xf0e3f0,this[_0x30651a(0x2e4)]=_0x5ca2c9,this[_0x30651a(0x38a)]=_0x42c9b1,this[_0x30651a(0x33f)]());}[_0x41fa7f(0x1b9)](){const _0x411e79=_0x41fa7f;super[_0x411e79(0x1b9)](),this['_entityInit$'][_0x411e79(0x3d5)](),this[_0x411e79(0x316)]['forEach'](_0x3c8a0a=>_0x3c8a0a[_0x411e79(0x1b9)]());}[_0x41fa7f(0x2a4)](_0x1433ae){const _0x41bc7a=_0x41fa7f;return this[_0x41bc7a(0x316)][_0x41bc7a(0x246)](_0x1433ae)?this[_0x41bc7a(0x316)][_0x41bc7a(0x3a4)](_0x1433ae)['cursorInfo$']:this[_0x41bc7a(0x2b5)][_0x41bc7a(0x25c)](_0x5bb37b['filter'](_0x5ebf62=>_0x5ebf62[_0x41bc7a(0x281)]===_0x1433ae),_0x5bb37b[_0x41bc7a(0x19e)](_0x545339=>_0x545339[_0x41bc7a(0x33d)]));}[_0x41fa7f(0x33f)](){const _0xabd3e8=_0x41fa7f;this['_univerInstanceService'][_0xabd3e8(0x325)](_0xdb2415[_0xabd3e8(0x2f0)][_0xabd3e8(0x2f4)])[_0xabd3e8(0x25c)](_0x5bb37b['takeUntil'](this[_0xabd3e8(0x119)]))[_0xabd3e8(0x31f)](async _0x348363=>{const _0xda1b98=_0xabd3e8,_0x1c20c5=_0x348363[_0xda1b98(0x225)](),_0x491a0b=await this[_0xda1b98(0x3d6)](_0x1c20c5);this[_0xda1b98(0x2b5)][_0xda1b98(0x3b5)](_0x491a0b),this[_0xda1b98(0x316)]['set'](_0x1c20c5,_0x491a0b);}),this[_0xabd3e8(0x27e)][_0xabd3e8(0x325)](_0xdb2415[_0xabd3e8(0x2f0)][_0xabd3e8(0x315)])[_0xabd3e8(0x25c)](_0x5bb37b['takeUntil'](this['dispose$']))[_0xabd3e8(0x25c)](_0x5bb37b[_0xabd3e8(0x232)](_0x36e8ba=>!_0x36e8ba[_0xabd3e8(0x225)]()['startsWith']('__')))['subscribe'](async _0xa44a98=>{const _0x3762fc=_0xabd3e8,_0x4d608e=_0xa44a98['getUnitId'](),_0x1b31a6=await this[_0x3762fc(0x32c)](_0x4d608e);this[_0x3762fc(0x2b5)][_0x3762fc(0x3b5)](_0x1b31a6),this[_0x3762fc(0x316)][_0x3762fc(0x238)](_0x4d608e,_0x1b31a6);}),_0x5bb37b[_0xabd3e8(0x25f)](this[_0xabd3e8(0x27e)][_0xabd3e8(0x240)](_0xdb2415[_0xabd3e8(0x2f0)]['UNIVER_DOC']),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0xdb2415['UniverInstanceType'][_0xabd3e8(0x2f4)]))[_0xabd3e8(0x25c)](_0x5bb37b['takeUntil'](this['dispose$']))[_0xabd3e8(0x31f)](_0x3b63a1=>{const _0x23c3f4=_0xabd3e8,_0x5a1df5=_0x3b63a1[_0x23c3f4(0x225)](),_0x4421ae=this[_0x23c3f4(0x316)][_0x23c3f4(0x3a4)](_0x5a1df5);_0x4421ae&&(_0x4421ae[_0x23c3f4(0x1b9)](),this[_0x23c3f4(0x316)][_0x23c3f4(0x349)](_0x5a1df5));});}async['_startSheetCollabCursor'](_0x12d300){const _0x4ece69=_0x41fa7f,_0x5eb495=await this[_0x4ece69(0x38a)]['requireSession'](_0x12d300),_0x40e1dd=this[_0x4ece69(0x2e4)][_0x4ece69(0x2ca)](_0x237592,_0x12d300,_0x5eb495);return _0x40e1dd[_0x4ece69(0x22f)](),_0x40e1dd;}async[_0x41fa7f(0x32c)](_0x320074){const _0x104032=_0x41fa7f,_0x3d1b1b=await this[_0x104032(0x38a)][_0x104032(0x351)](_0x320074),_0x4a6229=this[_0x104032(0x2e4)]['createInstance'](_0x284db1,_0x320074,_0x3d1b1b);return _0x4a6229['init'](),_0x4a6229;}};_0xa0f1ba=_0x4fc4cc([_0x4f2e54(0x0,_0xdb2415[_0x41fa7f(0x1b6)]),_0x4f2e54(0x1,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415[_0x41fa7f(0x277)])),_0x4f2e54(0x2,_0xdb2415[_0x41fa7f(0x37a)](_0x5a33af[_0x41fa7f(0x107)]))],_0xa0f1ba);const _0x39a30f=0x14,_0x221c7b=0xc8,_0xab4be3=0x4,_0x4148cb=0x5;function _0x6ccbfd(_0x1acef2,_0x552059){const _0x38b4bb=_0x41fa7f;let {radius:_0x827c08,width:_0x38f8d1,height:_0x3dc8d7}=_0x552059;_0x827c08=_0x827c08!=null?_0x827c08:0x0,_0x38f8d1=_0x38f8d1!=null?_0x38f8d1:0x1e,_0x3dc8d7=_0x3dc8d7!=null?_0x3dc8d7:0x1e;let _0x1951a2=0x0,_0x4441e1=0x0,_0x1e5e45=0x0;_0x1951a2=_0x4441e1=_0x1e5e45=Math[_0x38b4bb(0x302)](_0x827c08,_0x38f8d1/0x2,_0x3dc8d7/0x2),_0x1acef2[_0x38b4bb(0x183)](),_0x1acef2[_0x38b4bb(0x38e)](_0x1951a2,0x0),_0x1acef2[_0x38b4bb(0x103)](_0x38f8d1-_0x4441e1,0x0),_0x1acef2[_0x38b4bb(0x380)](_0x38f8d1-_0x4441e1,_0x4441e1,_0x4441e1,Math['PI']*0x3/0x2,0x0,!0x1),_0x1acef2[_0x38b4bb(0x103)](_0x38f8d1,_0x3dc8d7-_0x1e5e45),_0x1acef2['arc'](_0x38f8d1-_0x1e5e45,_0x3dc8d7-_0x1e5e45,_0x1e5e45,0x0,Math['PI']/0x2,!0x1),_0x1acef2['lineTo'](0x0,_0x3dc8d7),_0x1acef2['lineTo'](0x0,_0x1951a2),_0x1acef2[_0x38b4bb(0x380)](_0x1951a2,_0x1951a2,_0x1951a2,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1acef2['closePath'](),_0x552059[_0x38b4bb(0x18b)]&&(_0x1acef2['save'](),_0x1acef2[_0x38b4bb(0x323)]=_0x552059[_0x38b4bb(0x18b)],_0x552059['fillRule']===_0x38b4bb(0x2e3)?_0x1acef2[_0x38b4bb(0x18b)](_0x38b4bb(0x2e3)):_0x1acef2[_0x38b4bb(0x18b)](),_0x1acef2[_0x38b4bb(0x1ac)]());}class _0x1c80eb extends _0x7c9b89[_0x41fa7f(0x128)]{constructor(_0x5bc7af,_0x70f18d){const _0x5bf24d=_0x41fa7f;super(_0x5bc7af,_0x70f18d),_0x356879(this,_0x5bf24d(0x2fa)),_0x356879(this,_0x5bf24d(0x129)),(this[_0x5bf24d(0x2fa)]=_0x70f18d==null?void 0x0:_0x70f18d[_0x5bf24d(0x2fa)],this[_0x5bf24d(0x129)]=_0x70f18d==null?void 0x0:_0x70f18d['text']);}static[_0x41fa7f(0x28c)](_0x118849,_0x5e003a){const _0x5a0cc2=_0x41fa7f,{text:_0x389206,color:_0x36b9e4}=_0x5e003a;_0x118849[_0x5a0cc2(0x23f)](),_0x118849[_0x5a0cc2(0x30f)]=_0x5a0cc2(0x120);const _0x184171=_0x118849[_0x5a0cc2(0x185)](_0x389206)[_0x5a0cc2(0x1d5)],_0x2820c6=Math[_0x5a0cc2(0x302)](_0x184171+0x2*_0xab4be3,_0x221c7b);_0x6ccbfd(_0x118849,{'height':_0x39a30f,'radius':0x4,'width':_0x2820c6,'fill':_0x36b9e4}),_0x118849[_0x5a0cc2(0x323)]=_0x5a0cc2(0x243);const _0x31654f=_0xab4be3,_0x10e10c=_0x39a30f-_0x4148cb,_0x1229af=_0x221c7b-0x2*_0xab4be3;if(_0x184171>_0x1229af){let _0x5c0330='',_0x36b3ea=0x0;for(const _0x2e71ca of _0x389206){const _0x24aaa3=_0x118849[_0x5a0cc2(0x185)](_0x2e71ca)[_0x5a0cc2(0x1d5)];if(_0x36b3ea+_0x24aaa3<=_0x1229af-_0x118849[_0x5a0cc2(0x185)](_0x5a0cc2(0x362))[_0x5a0cc2(0x1d5)])_0x5c0330+=_0x2e71ca,_0x36b3ea+=_0x24aaa3;else{_0x5c0330+=_0x5a0cc2(0x362);break;}}_0x118849[_0x5a0cc2(0x166)](_0x5c0330,_0x31654f,_0x10e10c);}else _0x118849[_0x5a0cc2(0x166)](_0x389206,_0x31654f,_0x10e10c);_0x118849[_0x5a0cc2(0x1ac)]();}[_0x41fa7f(0x2c4)](_0x2a3557){const _0x4da168=_0x41fa7f;_0x1c80eb[_0x4da168(0x28c)](_0x2a3557,this);}}const _0x55882b=_0x41fa7f(0x33a),_0x277d53=_0x41fa7f(0x1c2),_0x1551dc='collab-rect-range-',_0x5ea91d=0x6,_0xb56194=1.5,_0xfec3a6=0x4,_0x3738ca=1.5,_0x24d547=_0x41fa7f(0x365);class _0x277fdb{constructor(_0x1b5cc0,_0x2ebbd7,_0x3b7ba1,_0xe35db3){const _0xfeb88=_0x41fa7f;_0x356879(this,'_shapes',[]),_0x356879(this,_0xfeb88(0x347),null),_0x356879(this,_0xfeb88(0x331),null),_0x356879(this,_0xfeb88(0x12b),null),_0x356879(this,_0xfeb88(0x239),null),_0x356879(this,_0xfeb88(0x280),null),(this[_0xfeb88(0x213)]=_0x1b5cc0,this['_scene']=_0x2ebbd7,this['_docSkeleton']=_0x3b7ba1,this[_0xfeb88(0x146)]=_0xe35db3,this[_0xfeb88(0x226)]());}set[_0x41fa7f(0x1f9)](_0x3d469c){const _0x104cc3=_0x41fa7f;_0x3d469c?(this['_anchorDot']&&this['_anchorDot']['hide'](),this['_textBubble']&&this[_0x104cc3(0x331)][_0x104cc3(0x186)]()):(this[_0x104cc3(0x12b)]&&this['_anchorDot'][_0x104cc3(0x186)](),this[_0x104cc3(0x331)]&&this[_0x104cc3(0x331)]['hide']());}['dispose'](){const _0x14f665=_0x41fa7f;for(const _0x55e5cf of this[_0x14f665(0x391)])_0x55e5cf[_0x14f665(0x1b9)]();this[_0x14f665(0x331)]&&this[_0x14f665(0x331)]['dispose'](),this[_0x14f665(0x12b)]&&this[_0x14f665(0x12b)]['dispose'](),this['_anchor']&&this[_0x14f665(0x347)][_0x14f665(0x1b9)](),this[_0x14f665(0x280)]&&this['_eventUnsubscribe']();}[_0x41fa7f(0x226)](){const _0x3ed7e7=_0x41fa7f;var _0x2b9a72;const {_docSkeleton:_0x2fc670,_document:_0x771ec2}=this,{color:_0x5f2059,name:_0x15c276,ranges:_0xb312e8}=this[_0x3ed7e7(0x213)],_0x3d5099=_0x771ec2[_0x3ed7e7(0x13e)](),{docsLeft:_0xf74a8f,docsTop:_0x4fb2f1}=_0x3d5099,_0x246aab=new _0x4abee5['NodePositionConvertToCursor'](_0x3d5099,_0x2fc670);for(const {startOffset:_0x794fa0,endOffset:_0xac7e2c,rangeType:_0x4d31c0,segmentId:_0xa778f0,segmentPage:_0x16eb4f,collapsed:_0x3647ad,isActive:_0x2101bd}of _0xb312e8){const _0x36d78e=_0x2fc670['findNodePositionByCharIndex'](_0x794fa0,!0x0,_0xa778f0,_0x16eb4f);let _0x4ea6b8=_0x2fc670[_0x3ed7e7(0x3b2)](_0xac7e2c,!0x0,_0xa778f0,_0x16eb4f);if(_0x4ea6b8==null&&(_0x4ea6b8=_0x2fc670[_0x3ed7e7(0x3b2)](_0xac7e2c-0x1,!0x1,_0xa778f0,_0x16eb4f)),_0x2101bd){const {contentBoxPointGroup:_0x4d1680}=_0x246aab[_0x3ed7e7(0x2de)](_0x4ea6b8,_0x4ea6b8);if(_0x4d1680[_0x3ed7e7(0x26c)]===0x0)continue;this[_0x3ed7e7(0x22d)](_0x5f2059,_0x4d1680,_0xf74a8f,_0x4fb2f1,_0x15c276),this[_0x3ed7e7(0x280)]=this['_handleHover']();}if(_0x36d78e&&_0x4ea6b8){if(_0x4d31c0===_0xdb2415['DOC_RANGE_TYPE'][_0x3ed7e7(0x15f)]){const _0x4c058b=new _0x4abee5['NodePositionConvertToRectRange'](_0x3d5099,_0x2fc670),{pointGroup:_0x46c30b}=(_0x2b9a72=_0x4c058b['getRangePointData'](_0x36d78e,_0x4ea6b8))!=null?_0x2b9a72:{};if(_0x46c30b==null||_0x46c30b['length']===0x0)continue;this[_0x3ed7e7(0x24e)](_0x5f2059,_0x46c30b,_0xf74a8f,_0x4fb2f1);}else{if(!_0x3647ad){const {borderBoxPointGroup:_0x2a3df5}=_0x246aab[_0x3ed7e7(0x2de)](_0x36d78e,_0x4ea6b8);if(_0x2a3df5[_0x3ed7e7(0x26c)]===0x0)continue;this[_0x3ed7e7(0x156)](_0x5f2059,_0x2a3df5,_0xf74a8f,_0x4fb2f1);}}}}}[_0x41fa7f(0x22d)](_0x4d2d02,_0x2ca276,_0xbd46e1,_0x4e30f6,_0x5e36a8){const _0x4fc918=_0x41fa7f,_0x237c54=this[_0x4fc918(0x18c)](_0x2ca276),{left:_0x4cc8d7,top:_0x325868,height:_0x494a01}=_0x237c54,_0x184529=this[_0x4fc918(0x377)](),_0x3fe94f=_0x3738ca/_0x184529,_0x35c8c1=new _0x7c9b89['Rect'](_0x55882b+_0xdb2415['generateRandomId'](_0x5ea91d),{'left':_0x4cc8d7+_0xbd46e1-_0x3fe94f,'top':_0x325868+_0x4e30f6,'height':_0x494a01,'width':_0xb56194,'fill':_0x4d2d02||_0x7c9b89['getColor'](_0xdb2415[_0x4fc918(0x159)][_0x4fc918(0x375)],0x0),'strokeWidth':_0x3fe94f,'stroke':_0x24d547,'evented':!0x0});this[_0x4fc918(0x347)]=_0x35c8c1,this['_scene'][_0x4fc918(0x130)](_0x35c8c1,_0x4abee5['TEXT_RANGE_LAYER_INDEX']);const _0x7c7f54=new _0x7c9b89[(_0x4fc918(0x3c9))](_0x55882b+_0xdb2415['generateRandomId'](_0x5ea91d),{'left':_0x4cc8d7+_0xbd46e1-_0x3fe94f,'top':_0x325868+_0x4e30f6-_0xfec3a6/0x2,'height':_0xfec3a6,'width':_0xfec3a6,'fill':_0x4d2d02||_0x7c9b89[_0x4fc918(0x3a7)](_0xdb2415[_0x4fc918(0x159)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x4d2d02||_0x7c9b89[_0x4fc918(0x3a7)](_0xdb2415[_0x4fc918(0x159)][_0x4fc918(0x375)],0x0),'evented':!0x1});this['_anchorDot']=_0x7c7f54,this[_0x4fc918(0x1ce)][_0x4fc918(0x130)](_0x7c7f54,_0x4abee5[_0x4fc918(0x20f)]);const _0x95d087=new _0x1c80eb(_0x55882b+_0xdb2415[_0x4fc918(0x1c5)](_0x5ea91d),{'left':_0x4cc8d7+_0xbd46e1-_0x3fe94f,'top':_0x325868+_0x4e30f6-_0x39a30f,'text':_0x5e36a8,'color':_0x4d2d02});this['_textBubble']=_0x95d087,this[_0x4fc918(0x1ce)][_0x4fc918(0x130)](_0x95d087,_0x4abee5[_0x4fc918(0x20f)]),this[_0x4fc918(0x1f9)]=!0x1;}[_0x41fa7f(0x180)](){const _0x2b7f19=_0x41fa7f,_0xad7311=this[_0x2b7f19(0x347)][_0x2b7f19(0x2e6)][_0x2b7f19(0x38b)](()=>{const _0x3fe2f0=_0x2b7f19;this[_0x3fe2f0(0x1f9)]=!0x0;}),_0x5134ce=this['_anchor'][_0x2b7f19(0x1fd)][_0x2b7f19(0x38b)](()=>{const _0x51cead=_0x2b7f19;this[_0x51cead(0x239)]&&clearTimeout(this[_0x51cead(0x239)]),this[_0x51cead(0x239)]=setTimeout(()=>{const _0xd33d5=_0x51cead;this[_0xd33d5(0x1f9)]=!0x1;},0x7d0);});return()=>{_0xad7311['unsubscribe'](),_0x5134ce['unsubscribe']();};}['_drawTextRange'](_0x4842c1,_0x3fd8ba,_0x3583df,_0x3b2c57){const _0x221040=_0x41fa7f,_0x4afc76=new _0xdb2415[(_0x221040(0x2c2))](_0x4842c1)[_0x221040(0x359)](0.2)[_0x221040(0x1c7)](),_0x55a7c8=new _0x7c9b89[(_0x221040(0x2b2))](_0x277d53+_0xdb2415[_0x221040(0x1c5)](_0x5ea91d),{'pointsGroup':_0x3fd8ba,'fill':_0x4afc76||_0x7c9b89[_0x221040(0x3a7)](_0xdb2415['COLORS'][_0x221040(0x375)],0.2),'left':_0x3583df,'top':_0x3b2c57,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x221040(0x391)]['push'](_0x55a7c8),this['_scene'][_0x221040(0x130)](_0x55a7c8,_0x4abee5[_0x221040(0x20f)]);}[_0x41fa7f(0x24e)](_0x3742b9,_0x286680,_0x5028f1,_0xd1e2){const _0x52ee35=_0x41fa7f,_0x371144=new _0xdb2415[(_0x52ee35(0x2c2))](_0x3742b9)[_0x52ee35(0x359)](0.2)[_0x52ee35(0x1c7)](),_0x5278dd=new _0x7c9b89['RegularPolygon'](_0x1551dc+_0xdb2415['generateRandomId'](_0x5ea91d),{'pointsGroup':_0x286680,'fill':_0x371144||_0x7c9b89[_0x52ee35(0x3a7)](_0xdb2415[_0x52ee35(0x159)][_0x52ee35(0x375)],0.2),'left':_0x5028f1,'top':_0xd1e2,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x52ee35(0x3dd)](_0x5278dd),this[_0x52ee35(0x1ce)][_0x52ee35(0x130)](_0x5278dd,_0x4abee5['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0xd50640){const _0x2ff103=_0xd50640[0x0],_0x67d6fa=_0x2ff103[0x0],_0x26fbd9=_0x2ff103[0x2],{x:_0x2f42a4,y:_0x45274a}=_0x67d6fa,{x:_0x2ca981,y:_0x274c8b}=_0x26fbd9;return{'left':_0x2f42a4,'top':_0x45274a,'width':_0x2ca981-_0x2f42a4,'height':_0x274c8b-_0x45274a};}['_getScale'](){const _0x15e8cc=_0x41fa7f,{scaleX:_0x4fd8f8,scaleY:_0x3472dc}=this[_0x15e8cc(0x1ce)][_0x15e8cc(0x37c)]();return Math[_0x15e8cc(0x3d7)](_0x4fd8f8,_0x3472dc);}}var _0xe41ea0=Object['getOwnPropertyDescriptor'],_0xc90376=(_0x2ab268,_0x483956,_0x58d83c,_0x32bf5f)=>{const _0x245d2b=_0x41fa7f;for(var _0x32dd92=_0x32bf5f>0x1?void 0x0:_0x32bf5f?_0xe41ea0(_0x483956,_0x58d83c):_0x483956,_0x40efdc=_0x2ab268[_0x245d2b(0x26c)]-0x1,_0x54a574;_0x40efdc>=0x0;_0x40efdc--)(_0x54a574=_0x2ab268[_0x40efdc])&&(_0x32dd92=_0x54a574(_0x32dd92)||_0x32dd92);return _0x32dd92;},_0x25fc38=(_0x4098f4,_0x5e8e35)=>(_0x185f65,_0x5ac74c)=>_0x5e8e35(_0x185f65,_0x5ac74c,_0x4098f4);let _0x1ba6f3=class extends _0xdb2415[_0x41fa7f(0x1d1)]{constructor(_0x31448e,_0x2f14d8,_0xa9ae61,_0xd27ba0,_0x1cd26d){const _0x6cc955=_0x41fa7f;super(),_0x356879(this,'_cursorShapes',[]),_0x356879(this,_0x6cc955(0x1a9),[]),(this[_0x6cc955(0x2a0)]=_0x31448e,this[_0x6cc955(0x314)]=_0x2f14d8,this[_0x6cc955(0x1bc)]=_0xa9ae61,this[_0x6cc955(0x2c7)]=_0xd27ba0,this[_0x6cc955(0x326)]=_0x1cd26d,this[_0x6cc955(0x33f)]());}[_0x41fa7f(0x33f)](){const _0x1e43da=_0x41fa7f,_0x591923=this[_0x1e43da(0x2a0)][_0x1e43da(0x392)],_0x1102e3=this[_0x1e43da(0x314)];this[_0x1e43da(0x31e)](_0x5bb37b[_0x1e43da(0x2b9)]([this[_0x1e43da(0x1bc)][_0x1e43da(0x2a4)](_0x591923),this[_0x1e43da(0x326)][_0x1e43da(0x2f7)]])['pipe'](_0xf7042a[_0x1e43da(0x311)](([_0x1df03d,_0x13259e])=>({'skeleton':_0x1102e3[_0x1e43da(0x169)](),'cursors':[..._0x1df03d[_0x1e43da(0x39b)]()][_0x1e43da(0x371)](_0x4cba5d=>({..._0x4cba5d,'color':this[_0x1e43da(0x326)][_0x1e43da(0x2d3)](_0x4cba5d[_0x1e43da(0x2fa)])}))})))['subscribe'](_0x5b6c98=>{const _0x447a1e=_0x1e43da;if(this[_0x447a1e(0x17e)](),_0x5b6c98){const {skeleton:_0x19ff5d,cursors:_0x48d3cb}=_0x5b6c98;this['_updateCollabCursors'](_0x19ff5d,_0x48d3cb);}})),this['_initResize'](),this[_0x1e43da(0x306)]();}[_0x41fa7f(0x112)](_0x3ef664,_0x53a234){const _0x3e0166=_0x41fa7f,{scene:_0x2eb3aa,mainComponent:_0x5a1c30}=this[_0x3e0166(0x2a0)],_0x4434e5=_0x53a234[_0x3e0166(0x311)](_0x2b3c8d=>new _0x277fdb(_0x2b3c8d,_0x2eb3aa,_0x3ef664,_0x5a1c30));this['_cursorShapes']=_0x4434e5,this[_0x3e0166(0x1a9)]=_0x53a234;}[_0x41fa7f(0x16b)](){const _0x33497d=_0x41fa7f;this[_0x33497d(0x17e)]();const {scene:_0x1a418b,mainComponent:_0x54bfff}=this[_0x33497d(0x2a0)],_0xa9834d=this[_0x33497d(0x314)][_0x33497d(0x169)](),_0x2aa166=this[_0x33497d(0x1a9)][_0x33497d(0x311)](_0x35260b=>new _0x277fdb(_0x35260b,_0x1a418b,_0xa9834d,_0x54bfff));this[_0x33497d(0x21e)]=_0x2aa166;}[_0x41fa7f(0x17e)](){const _0x38f1ba=_0x41fa7f;this[_0x38f1ba(0x21e)]['forEach'](_0x186d7c=>_0x186d7c['dispose']()),this[_0x38f1ba(0x21e)]=[];}[_0x41fa7f(0x306)](){const _0x2b7ae2=_0x41fa7f,_0x3955ba=[_0x4abee5['SetDocZoomRatioOperation']['id']];this[_0x2b7ae2(0x31e)](this[_0x2b7ae2(0x2c7)][_0x2b7ae2(0x191)](_0x424669=>{const _0xe03613=_0x2b7ae2;_0x3955ba[_0xe03613(0x21d)](_0x424669['id'])&&_0x424669[_0xe03613(0x34a)][_0xe03613(0x392)]===this[_0xe03613(0x2a0)][_0xe03613(0x392)]&&this[_0xe03613(0x16b)]();}));}[_0x41fa7f(0x25a)](){const _0x24ecf6=_0x41fa7f;this['disposeWithMe'](_0xdb2415[_0x24ecf6(0x1b7)](this[_0x24ecf6(0x2a0)][_0x24ecf6(0x176)]['onTransformChange$'])[_0x24ecf6(0x25c)](_0xf7042a[_0x24ecf6(0x232)](_0x12450c=>_0x12450c[_0x24ecf6(0x17a)]===_0x7c9b89[_0x24ecf6(0x11c)]['resize']),_0xf7042a[_0x24ecf6(0x3ce)](0x10))['subscribe'](()=>{const _0x4f970e=_0x24ecf6;this[_0x4f970e(0x16b)]();}));}};_0x1ba6f3=_0xc90376([_0x25fc38(0x1,_0xdb2415['Inject'](_0x5e9ade[_0x41fa7f(0x170)])),_0x25fc38(0x2,_0xdb2415[_0x41fa7f(0x37a)](_0xa0f1ba)),_0x25fc38(0x3,_0xdb2415['ICommandService']),_0x25fc38(0x4,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415['ThemeService']))],_0x1ba6f3);const _0x513646=0x1,_0x5b0b79=1.5;class _0x2d04ac extends _0x7c9b89['Shape']{constructor(_0x1bf760,_0x2adfa7){const _0x1a048f=_0x41fa7f;super(_0x1bf760,_0x2adfa7),_0x356879(this,_0x1a048f(0x1d6)),_0x356879(this,_0x1a048f(0x2e1),!0x1),_0x356879(this,_0x1a048f(0x27a)),_0x356879(this,_0x1a048f(0x234),''),_0x356879(this,_0x1a048f(0x3b6),_0x1a048f(0x209)),_0x356879(this,'_backgroundColor'),(_0x2adfa7&&this[_0x1a048f(0x3d0)](_0x2adfa7),this[_0x1a048f(0x2e6)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x1a048f(0x1fd)][_0x1a048f(0x38b)](()=>this[_0x1a048f(0x3d0)]({'hovered':!0x1})));}['setShapeProps'](_0x5b19cc){const _0x295757=_0x41fa7f;var _0x50b3e9,_0x4fb9d7,_0x5dfb60,_0x48679b,_0x262e8c,_0x1c82ec;this[_0x295757(0x1d6)]=(_0x50b3e9=_0x5b19cc[_0x295757(0x2fa)])!=null?_0x50b3e9:this[_0x295757(0x1d6)],this[_0x295757(0x2e1)]=(_0x4fb9d7=_0x5b19cc[_0x295757(0x2b8)])!=null?_0x4fb9d7:this['_hovered'],this[_0x295757(0x27a)]=(_0x5dfb60=_0x5b19cc['range'])!=null?_0x5dfb60:this[_0x295757(0x27a)],this[_0x295757(0x234)]=(_0x48679b=_0x5b19cc[_0x295757(0x2b1)])!=null?_0x48679b:this['_name'],this[_0x295757(0x3b6)]=(_0x262e8c=_0x5b19cc[_0x295757(0x133)])!=null?_0x262e8c:this[_0x295757(0x3b6)],this[_0x295757(0x1a6)]=(_0x1c82ec=_0x5b19cc[_0x295757(0x1bd)])!=null?_0x1c82ec:this[_0x295757(0x1a6)],this['transformByState']({'width':_0x5b19cc['width'],'height':_0x5b19cc[_0x295757(0x106)]});}[_0x41fa7f(0x259)](_0x3f1315){const _0x15f4d0=_0x41fa7f,{row:_0x459a43,column:_0x3476d9}=_0x3f1315;if(_0x459a43>=this[_0x15f4d0(0x27a)][_0x15f4d0(0x137)]&&_0x459a43<=this[_0x15f4d0(0x27a)][_0x15f4d0(0x14a)]&&_0x3476d9>=this[_0x15f4d0(0x27a)][_0x15f4d0(0x12a)]&&_0x3476d9<=this['_range'][_0x15f4d0(0x350)]){this[_0x15f4d0(0x3d0)]({'hovered':!0x0});return;}this[_0x15f4d0(0x3d0)]({'hovered':!0x1});}['triggerDblclick'](_0x196695){return!0x1;}[_0x41fa7f(0x2c4)](_0x25f802){const _0xf0a65b=_0x41fa7f;_0x7c9b89[_0xf0a65b(0x3c9)]['drawWith'](_0x25f802,{'width':this[_0xf0a65b(0x1d5)],'height':this[_0xf0a65b(0x106)],'strokeWidth':_0x5b0b79,'stroke':this[_0xf0a65b(0x1d6)],'evented':!0x1,'fill':this[_0xf0a65b(0x1a6)]}),this[_0xf0a65b(0x2e1)]&&(_0x25f802[_0xf0a65b(0x23f)](),_0x25f802[_0xf0a65b(0x2af)](0x1,0x0,0x0,0x1,this['width'],this[_0xf0a65b(0x3b6)]===_0xf0a65b(0x35b)?0x0:-_0x39a30f),_0x1c80eb[_0xf0a65b(0x28c)](_0x25f802,{'text':this['_name'],'color':this['_color']}),_0x25f802[_0xf0a65b(0x1ac)]());}}var _0x2380d6=Object[_0x41fa7f(0x194)],_0x214103=(_0x275ed4,_0x19de4e,_0x13496b,_0x42a822)=>{const _0x1bbcc4=_0x41fa7f;for(var _0x9fc54=_0x42a822>0x1?void 0x0:_0x42a822?_0x2380d6(_0x19de4e,_0x13496b):_0x19de4e,_0x5664ff=_0x275ed4[_0x1bbcc4(0x26c)]-0x1,_0x14bf73;_0x5664ff>=0x0;_0x5664ff--)(_0x14bf73=_0x275ed4[_0x5664ff])&&(_0x9fc54=_0x14bf73(_0x9fc54)||_0x9fc54);return _0x9fc54;},_0x234a2b=(_0x550da8,_0x27d0bf)=>(_0x28c843,_0x239cc0)=>_0x27d0bf(_0x28c843,_0x239cc0,_0x550da8);const _0x4b416c=0x1389;let _0x267f0b=class extends _0xdb2415['RxDisposable']{constructor(_0x1ad383,_0x1dc497,_0x47e1a9,_0x1c3226){const _0x434b65=_0x41fa7f;super(),_0x356879(this,_0x434b65(0x1a9),new Set()),_0x356879(this,_0x434b65(0x2b7),null),(this[_0x434b65(0x2a0)]=_0x1ad383,this[_0x434b65(0x2ba)]=_0x1dc497,this[_0x434b65(0x1bc)]=_0x47e1a9,this[_0x434b65(0x326)]=_0x1c3226,this['_init']());}[_0x41fa7f(0x33f)](){const _0x3736b7=_0x41fa7f;this[_0x3736b7(0x2ba)][_0x3736b7(0x298)][_0x3736b7(0x25c)](_0xf7042a[_0x3736b7(0x285)](this[_0x3736b7(0x119)]),_0xf7042a['switchMap'](_0x26ab5f=>{const _0x26db39=_0x3736b7;if(_0x26ab5f){const _0x142052=_0x26ab5f[_0x26db39(0x1c3)];return _0x5bb37b[_0x26db39(0x2b9)](this[_0x26db39(0x1bc)][_0x26db39(0x2a4)](this[_0x26db39(0x2a0)][_0x26db39(0x392)]),this[_0x26db39(0x326)][_0x26db39(0x2f7)])[_0x26db39(0x25c)](_0xf7042a[_0x26db39(0x311)](([_0x5e9f53,_0x1835e6])=>{const _0xcf3345=new Map();return _0x5e9f53['forEach']((_0x2a864f,_0x1f281b)=>{const _0xf17993=_0x4944;if(_0x2a864f[_0xf17993(0x2b4)]===_0x142052){const _0x510330={..._0x2a864f};_0x510330[_0xf17993(0x2fa)]=this[_0xf17993(0x326)][_0xf17993(0x2d3)](_0x2a864f['color']),_0xcf3345[_0xf17993(0x238)](_0x1f281b,_0x510330);}}),{'skeleton':_0x26ab5f,'cursors':_0xcf3345};}));}return _0x5bb37b['of']({'skeleton':null,'cursors':new Map()});}))[_0x3736b7(0x31f)](({skeleton:_0x1860b2,cursors:_0x49ba94})=>{const _0x1caaca=_0x3736b7;this[_0x1caaca(0x17e)](),_0x1860b2&&this[_0x1caaca(0x112)](_0x1860b2,_0x49ba94);}),this['_sheetSkeletonManagerService'][_0x3736b7(0x298)][_0x3736b7(0x31f)](_0x43843e=>{const _0x28053e=_0x3736b7;if(_0x43843e==null)return;const {skeleton:_0xc1d4bc}=_0x43843e,{scene:_0x15cbc4}=this[_0x28053e(0x2a0)];_0x15cbc4['onPointerMove$'][_0x28053e(0x38b)](_0xdb2415[_0x28053e(0x2dc)](_0x28f2be=>{const _0x293803=_0x28053e;var _0xfa81d0,_0x447715;const {offsetX:_0x1481ca,offsetY:_0x226a0a}=_0x28f2be,{x:_0x2d9ed7,y:_0x468ac5}=_0x15cbc4[_0x293803(0x114)](_0x7c9b89[_0x293803(0x356)][_0x293803(0x2cd)]([_0x1481ca,_0x226a0a])),{scaleX:_0x391a3f,scaleY:_0x54fe07}=_0x15cbc4[_0x293803(0x37c)](),_0x521022=_0x15cbc4[_0x293803(0x249)](_0x7c9b89['SHEET_VIEWPORT_KEY'][_0x293803(0x182)]),_0x137e86=_0x15cbc4[_0x293803(0x32d)](_0x7c9b89['Vector2'][_0x293803(0x2cd)]([_0x2d9ed7,_0x468ac5]),_0x521022),_0x127acf=_0xc1d4bc[_0x293803(0xf9)](_0x1481ca,_0x226a0a,_0x391a3f,_0x54fe07,_0x137e86);((_0xfa81d0=this[_0x293803(0x2b7)])==null?void 0x0:_0xfa81d0[_0x293803(0x35a)])===_0x127acf[_0x293803(0x35a)]&&((_0x447715=this[_0x293803(0x2b7)])==null?void 0x0:_0x447715[_0x293803(0x379)])===_0x127acf[_0x293803(0x379)]||this[_0x293803(0x1a9)][_0x293803(0x270)](_0x43fc43=>{const _0x74333=_0x293803;_0x43fc43[_0x74333(0x259)](_0x127acf);});},0x64));});}[_0x41fa7f(0x112)](_0x319582,_0x45c573){const _0x5a99dc=_0x41fa7f;var _0x3bca55;const _0x54cce2=(_0x3bca55=this[_0x5a99dc(0x2ba)][_0x5a99dc(0x32b)]())==null?void 0x0:_0x3bca55[_0x5a99dc(0x218)];if(!_0x54cce2)return;const _0x5c3081=this[_0x5a99dc(0x1ca)]();if(!_0x5c3081)return;this[_0x5a99dc(0x1a9)]['forEach'](_0x5e5fb7=>{const _0x29e095=_0x5a99dc;_0x5e5fb7[_0x29e095(0x193)]();});const {scene:_0x2e2519}=_0x5c3081,_0x28f1e6=_0x25b5ba(Array[_0x5a99dc(0x2a2)](_0x45c573[_0x5a99dc(0x39b)]()))[_0x5a99dc(0x311)](_0x45a275=>{const _0x1021ce=_0x5a99dc,{color:_0x495800,range:_0x3fb9d3,name:_0x3e5eb2,selection:_0x5336f5,sheetID:_0x42b2c3}=_0x45a275,{startColumn:_0x1fb6ed,startRow:_0x5b4259,endColumn:_0x25e95a,endRow:_0x124bc9}=_0x3fb9d3,_0x3d0b6e=_0x427b04[_0x1021ce(0x1cf)](_0x5b4259,_0x1fb6ed,_0x2e2519,_0x54cce2),_0x51d7fe=_0x427b04[_0x1021ce(0x1cf)](_0x124bc9,_0x25e95a,_0x2e2519,_0x54cce2),{columnHeaderHeightAndMarginTop:_0xa112aa}=_0x54cce2,{startX:_0x4cb7fc,startY:_0xaa2b5c}=_0x3d0b6e,{endX:_0x5cc1e9,endY:_0x3b7c79}=_0x51d7fe,_0x4729c0=_0x5cc1e9-_0x4cb7fc,_0x14354c=_0x3b7c79-_0xaa2b5c,_0x426724={'labelPosition':_0xaa2b5c-_0xa112aa>=_0x39a30f?_0x1021ce(0x209):'bottom','sheetID':_0x42b2c3,'range':_0x3fb9d3,'color':_0x495800,'name':_0x3e5eb2,'selection':_0x5336f5,'left':_0x4cb7fc,'top':_0xaa2b5c,'width':_0x4729c0,'height':_0x14354c,'evented':!0x1,'zIndex':_0x4b416c};return new _0x2d04ac(_0x3e5eb2,_0x426724);});_0x2e2519[_0x5a99dc(0x17b)](_0x28f1e6,_0x513646),this[_0x5a99dc(0x1a9)]=new Set(_0x28f1e6);}[_0x41fa7f(0x17e)](){const _0x567509=_0x41fa7f;var _0x5edf63;(_0x5edf63=this['_cursors'])==null||_0x5edf63[_0x567509(0x270)](_0x40947a=>_0x40947a[_0x567509(0x1b9)]());}[_0x41fa7f(0x1ca)](){const _0x42892b=_0x41fa7f;return _0x427b04[_0x42892b(0x190)](this[_0x42892b(0x2a0)][_0x42892b(0x3a1)],this['_context']);}};_0x267f0b=_0x214103([_0x234a2b(0x1,_0xdb2415[_0x41fa7f(0x37a)](_0x427b04[_0x41fa7f(0x235)])),_0x234a2b(0x2,_0xdb2415[_0x41fa7f(0x37a)](_0xa0f1ba)),_0x234a2b(0x3,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415['ThemeService']))],_0x267f0b);function _0x25b5ba(_0x26b270){const _0x5e328c=_0x41fa7f,_0x37f4ef=new Map();return _0x26b270[_0x5e328c(0x270)](_0x5e0f2e=>{const _0x12cf83=_0x5e328c;if(_0x37f4ef[_0x12cf83(0x246)](_0x5e0f2e[_0x12cf83(0x1ba)])){const _0x22d852=_0x37f4ef[_0x12cf83(0x3a4)](_0x5e0f2e['selection']);_0x22d852['name']+=',\x20'+_0x5e0f2e[_0x12cf83(0x2b1)];}else _0x37f4ef[_0x12cf83(0x238)](_0x5e0f2e['selection'],_0x5e0f2e);}),Array[_0x5e328c(0x2a2)](_0x37f4ef[_0x5e328c(0x39b)]());}var _0x43bd34=Object[_0x41fa7f(0x194)],_0x4c6cdb=(_0x2a76e7,_0x4ee4d0,_0x1469df,_0x52faa2)=>{const _0x3d57d8=_0x41fa7f;for(var _0x410330=_0x52faa2>0x1?void 0x0:_0x52faa2?_0x43bd34(_0x4ee4d0,_0x1469df):_0x4ee4d0,_0x850d1d=_0x2a76e7[_0x3d57d8(0x26c)]-0x1,_0x555be3;_0x850d1d>=0x0;_0x850d1d--)(_0x555be3=_0x2a76e7[_0x850d1d])&&(_0x410330=_0x555be3(_0x410330)||_0x410330);return _0x410330;},_0x3b7ca7=(_0x115bdf,_0x51869e)=>(_0x4e1981,_0x90b3ca)=>_0x51869e(_0x4e1981,_0x90b3ca,_0x115bdf);let _0x375bf7=class extends _0xdb2415['Disposable']{constructor(_0x223b02,_0x235279,_0x97cb77,_0x559611,_0x57efe7,_0x404809){const _0x38542d=_0x41fa7f;super(),this[_0x38542d(0x3a5)]=_0x223b02,this['_localCacheService']=_0x235279,this[_0x38542d(0x290)]=_0x97cb77,this[_0x38542d(0x1db)]=_0x559611,this[_0x38542d(0x320)]=_0x57efe7,this[_0x38542d(0x1d8)]=_0x404809,this['_setupBeforeClosingHandler'](),this[_0x38542d(0x245)]();}[_0x41fa7f(0x1e1)](){const _0x1fe78a=_0x41fa7f;this[_0x1fe78a(0x31e)](this[_0x1fe78a(0x3a5)][_0x1fe78a(0x217)](()=>{const _0x4972e=_0x1fe78a;if(this[_0x4972e(0x31b)][_0x4972e(0x255)]['size'])return this[_0x4972e(0x1d8)]['t'](_0x4972e(0x1bf));}));}[_0x41fa7f(0x245)](){const _0x502aaa=_0x41fa7f;this[_0x502aaa(0x31e)](this[_0x502aaa(0x290)][_0x502aaa(0x173)][_0x502aaa(0x31f)](_0x209151=>{const _0x5a023b=_0x502aaa;_0x209151['id']===_0x5a33af[_0x5a023b(0x2ab)][_0x5a023b(0x3ca)]&&this[_0x5a023b(0x1db)][_0x5a023b(0x186)]({'type':_0xffb326['MessageType']['Warning'],'content':this[_0x5a023b(0x1d8)]['t']('collaboration.single-unit.warning')}),_0x209151['id']===_0x5a33af[_0x5a023b(0x2ab)][_0x5a023b(0x1f8)]&&this[_0x5a023b(0x1db)][_0x5a023b(0x186)]({'type':_0xffb326[_0x5a023b(0x13f)]['Warning'],'content':this[_0x5a023b(0x1d8)]['t'](_0x5a023b(0x31d))}),_0x209151['id']===_0x5a33af[_0x5a023b(0x2ab)][_0x5a023b(0x21f)]&&this[_0x5a023b(0x320)][_0x5a023b(0x186)]({'title':this[_0x5a023b(0x1d8)]['t'](_0x5a023b(0x132)),'content':this[_0x5a023b(0x1d8)]['t'](_0x5a023b(0x36a)),'type':_0x5a023b(0x399),'duration':0x0}),_0x209151['id']===_0x5a33af[_0x5a023b(0x2ab)][_0x5a023b(0x1af)]&&this[_0x5a023b(0x1db)][_0x5a023b(0x186)]({'type':_0xffb326[_0x5a023b(0x13f)][_0x5a023b(0x373)],'content':this[_0x5a023b(0x1d8)]['t']('collaboration.closeRoom')+'('+_0x209151[_0x5a023b(0x36c)]+')'}),_0x209151['id']===_0x5a33af[_0x5a023b(0x2ab)][_0x5a023b(0x1cb)]&&this['_messageService'][_0x5a023b(0x186)]({'type':_0xffb326[_0x5a023b(0x13f)][_0x5a023b(0x177)],'content':this[_0x5a023b(0x1d8)]['t'](_0x209151[_0x5a023b(0x36c)]||'')}),_0x209151['id']===_0x5a33af[_0x5a023b(0x2ab)][_0x5a023b(0x26b)]&&this[_0x5a023b(0x1db)][_0x5a023b(0x186)]({'type':_0xffb326[_0x5a023b(0x13f)][_0x5a023b(0x177)],'content':this['_localeService']['t'](_0x5a023b(0x228))}),_0x209151['id']===_0x5a33af['CollaborationUIEventId'][_0x5a023b(0x2c9)]&&this[_0x5a023b(0x1db)][_0x5a023b(0x186)]({'type':_0xffb326['MessageType']['Error'],'content':this[_0x5a023b(0x1d8)]['t'](_0x5a023b(0x2aa))}),_0x209151['id']===_0x5a33af['CollaborationUIEventId'][_0x5a023b(0x157)]&&this['_messageService'][_0x5a023b(0x186)]({'type':_0xffb326[_0x5a023b(0x13f)][_0x5a023b(0x373)],'content':this['_localeService']['t'](_0x5a023b(0x113))});}));}};_0x375bf7=_0x4c6cdb([_0x3b7ca7(0x0,_0x339e42[_0x41fa7f(0x376)]),_0x3b7ca7(0x1,_0x5a33af[_0x41fa7f(0x383)]),_0x3b7ca7(0x2,_0xdb2415['Inject'](_0x5a33af['CollaborationUIEventService'])),_0x3b7ca7(0x3,_0x339e42[_0x41fa7f(0x25d)]),_0x3b7ca7(0x4,_0x339e42[_0x41fa7f(0x35e)]),_0x3b7ca7(0x5,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415[_0x41fa7f(0x17f)]))],_0x375bf7);var _0x56d265=Object[_0x41fa7f(0x194)],_0x3f2749=(_0x488a1e,_0x2c77e6,_0x3fd907,_0xf29ac3)=>{const _0x2a9b77=_0x41fa7f;for(var _0x42b446=_0xf29ac3>0x1?void 0x0:_0xf29ac3?_0x56d265(_0x2c77e6,_0x3fd907):_0x2c77e6,_0x522dbb=_0x488a1e[_0x2a9b77(0x26c)]-0x1,_0x3757fb;_0x522dbb>=0x0;_0x522dbb--)(_0x3757fb=_0x488a1e[_0x522dbb])&&(_0x42b446=_0x3757fb(_0x42b446)||_0x42b446);return _0x42b446;},_0x4dc717=(_0x5a5b72,_0x37d412)=>(_0x1f6d23,_0x2791ad)=>_0x37d412(_0x1f6d23,_0x2791ad,_0x5a5b72);let _0x34fedc=class extends _0xdb2415[_0x41fa7f(0x37d)]{constructor(_0x97badb,_0x3336f4,_0x37c44f,_0x16ac43){const _0x5b4ab4=_0x41fa7f;super(),_0x356879(this,_0x5b4ab4(0x18a)),(this[_0x5b4ab4(0x2e4)]=_0x97badb,this[_0x5b4ab4(0x23e)]=_0x3336f4,this[_0x5b4ab4(0x2ec)]=_0x37c44f,this['_collaborationSessionService']=_0x16ac43,this[_0x5b4ab4(0x33f)]());}[_0x41fa7f(0x33f)](){const _0x5ea78f=_0x41fa7f;this[_0x5ea78f(0x3c4)](),this[_0x5ea78f(0x231)](),this[_0x5ea78f(0x117)](),this[_0x5ea78f(0x21c)]();}[_0x41fa7f(0x21c)](){const _0x7693d3=_0x41fa7f;this[_0x7693d3(0x31e)](this[_0x7693d3(0x221)][_0x7693d3(0x14d)]['subscribe'](_0x14c7f9=>{const _0x4483c7=_0x7693d3;this[_0x4483c7(0x18a)]=_0x14c7f9==null?void 0x0:_0x14c7f9['memberID'];}));}[_0x41fa7f(0x3c4)](){const _0x3f1452=_0x41fa7f,_0x4c0bbc=_0x14e5af=>{const _0x5aa03d=_0x4944;var _0x5b9d25;this[_0x5aa03d(0x136)](_0x5aa03d(0x399),_0x5aa03d(0x3c5)+_0x14e5af[_0x5aa03d(0x333)]+_0x5aa03d(0x2b0)+_0x14e5af[_0x5aa03d(0x328)]+':'+_0x14e5af[_0x5aa03d(0x2fe)]+':'+_0x14e5af[_0x5aa03d(0xfe)]+'\x0a'+(((_0x5b9d25=_0x14e5af[_0x5aa03d(0x399)])==null?void 0x0:_0x5b9d25[_0x5aa03d(0x2d1)])||''));};window[_0x3f1452(0x13a)](_0x3f1452(0x399),_0x4c0bbc),this[_0x3f1452(0x31e)](()=>{const _0x33b77d=_0x3f1452;window[_0x33b77d(0x10c)](_0x33b77d(0x399),_0x4c0bbc);});}[_0x41fa7f(0x231)](){const _0x536914=_0x41fa7f,_0x213dc9=_0x375ff3=>{const _0x3ec552=_0x4944;this['_uploadLog']('error',_0x3ec552(0x1c6)+_0x375ff3[_0x3ec552(0x3ab)]);};window[_0x536914(0x13a)](_0x536914(0x244),_0x213dc9),this[_0x536914(0x31e)](()=>{const _0x37554e=_0x536914;window[_0x37554e(0x10c)]('unhandledrejection',_0x213dc9);});}[_0x41fa7f(0x117)](){const _0x16ffb4=_0x41fa7f,_0x303199=this[_0x16ffb4(0x2ec)][_0x16ffb4(0x399)][_0x16ffb4(0x265)](this['_logService']);this['_logService']['error']=(..._0x2f02d6)=>{const _0x44218d=_0x16ffb4,_0x202e34=_0x2f02d6[_0x44218d(0x311)](_0x42f91b=>_0x42f91b instanceof Error?_0x42f91b[_0x44218d(0x333)]+'\x0a'+_0x42f91b[_0x44218d(0x2d1)]:String(_0x42f91b))[_0x44218d(0x307)]('\x20');this[_0x44218d(0x136)](_0x44218d(0x399),_0x44218d(0x1e6)+_0x202e34),_0x303199(..._0x2f02d6);},this['disposeWithMe'](()=>{const _0x2fe703=_0x16ffb4;this[_0x2fe703(0x2ec)][_0x2fe703(0x399)]=_0x303199;});}[_0x41fa7f(0x136)](_0x2c8ba2,_0x1e5c26){const _0x3d659c=_0x41fa7f;try{const _0x98f983={'userId':this[_0x3d659c(0x18a)],'logLabel':_0x2c8ba2,'content':_0x1e5c26};this[_0x3d659c(0x23e)][_0x3d659c(0x11a)]('/universer-api/frontend/logs',{'body':_0x98f983})['catch'](()=>{});}catch{}}};_0x34fedc=_0x3f2749([_0x4dc717(0x0,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415['Injector'])),_0x4dc717(0x1,_0xdb2415['Inject'](_0x553b7e[_0x41fa7f(0x258)])),_0x4dc717(0x2,_0xdb2415[_0x41fa7f(0x230)]),_0x4dc717(0x3,_0xdb2415[_0x41fa7f(0x37a)](_0x5a33af[_0x41fa7f(0x107)]))],_0x34fedc);const _0x58498a=_0x41fa7f(0x289),_0x232bc8={};var _0xf4cd70=Object[_0x41fa7f(0x194)],_0x1e1c51=(_0x5ae5b0,_0x35fbd4,_0x3189f5,_0x2aa6e7)=>{for(var _0x3a0b13=_0x2aa6e7>0x1?void 0x0:_0x2aa6e7?_0xf4cd70(_0x35fbd4,_0x3189f5):_0x35fbd4,_0x4c337c=_0x5ae5b0['length']-0x1,_0x121537;_0x4c337c>=0x0;_0x4c337c--)(_0x121537=_0x5ae5b0[_0x4c337c])&&(_0x3a0b13=_0x121537(_0x3a0b13)||_0x3a0b13);return _0x3a0b13;},_0x29cdf6=(_0x2209af,_0x4e96e0)=>(_0x4c3cc7,_0x32441d)=>_0x4e96e0(_0x4c3cc7,_0x32441d,_0x2209af);let _0x3b67da=class{constructor(_0x3ee090,_0x25a40c){const _0x38526f=_0x41fa7f;this[_0x38526f(0x3cb)]=_0x3ee090,this[_0x38526f(0x10f)]=_0x25a40c;}['transformIMECache'](_0x3afce8){const _0x159bab=_0x41fa7f;this[_0x159bab(0x202)](_0x3afce8),this[_0x159bab(0x27c)](_0x3afce8);}[_0x41fa7f(0x3e4)](_0xeb081f){const _0xe86b98=_0x41fa7f,{unitID:_0x459323}=_0xeb081f,_0x5ea9b2=this['_renderManagerService'][_0xe86b98(0x3aa)](_0x459323)[_0xe86b98(0x34f)](_0x4abee5[_0xe86b98(0x241)]),{redoCache:_0x42766b}=_0x5ea9b2[_0xe86b98(0x2bc)]();if(_0x42766b[_0xe86b98(0x26c)]===0x0)return _0xeb081f;let _0x3ab861=_0xdb2415['Tools'][_0xe86b98(0x305)](_0xeb081f['mutations'][0x0]);for(let _0x6c75ec=0x0;_0x6c75ec<_0x42766b[_0xe86b98(0x26c)];_0x6c75ec++){const _0x20f1c0={'id':'doc.mutation.rich-text-editing','params':{..._0x42766b[_0x6c75ec]}},_0x4a63f3=this[_0xe86b98(0x3cb)][_0xe86b98(0x393)](_0x3ab861,_0x20f1c0,!0x1);if(_0x1b3789[_0xe86b98(0x1e4)](_0x4a63f3))throw _0x4a63f3[_0xe86b98(0x399)];_0x3ab861=_0x4a63f3['m1Prime'];}return{..._0xdb2415[_0xe86b98(0x1da)][_0xe86b98(0x305)](_0xeb081f),'mutations':[_0x3ab861]};}[_0x41fa7f(0x202)](_0xb84bdb){const _0xed9e35=_0x41fa7f,{unitID:_0x50a4f1}=_0xb84bdb,_0x429fe6=this[_0xed9e35(0x10f)][_0xed9e35(0x3aa)](_0x50a4f1)[_0xed9e35(0x34f)](_0x4abee5['DocIMEInputManagerService']),{undoCache:_0x3749ee,redoCache:_0x48ef4d}=_0x429fe6[_0xed9e35(0x2bc)]();if(_0x3749ee['length']===0x0||_0x48ef4d[_0xed9e35(0x26c)]===0x0)return;const _0x2ac551=[],_0x45fa11=[];let _0x6effe2=_0xdb2415[_0xed9e35(0x1da)]['deepClone'](_0xb84bdb[_0xed9e35(0x1b5)][0x0]),_0x53bbe2=_0xdb2415[_0xed9e35(0x1da)][_0xed9e35(0x305)](_0xb84bdb[_0xed9e35(0x1b5)][0x0]);for(let _0x164743=_0x3749ee[_0xed9e35(0x26c)]-0x1;_0x164743>=0x0;_0x164743--){const _0x1f3a5c={'id':_0xed9e35(0x1e5),'params':{..._0x3749ee[_0x164743]}},_0x5d72f3={'id':'doc.mutation.rich-text-editing','params':{..._0x48ef4d[_0x164743]}},_0x403519=this['_transformService'][_0xed9e35(0x393)](_0x6effe2,_0x1f3a5c,!0x1),_0x41ff05=this['_transformService'][_0xed9e35(0x393)](_0x53bbe2,_0x5d72f3,!0x1);if(_0x1b3789['isTransformMutationFailure'](_0x403519))throw _0x403519[_0xed9e35(0x399)];if(_0x1b3789[_0xed9e35(0x1e4)](_0x41ff05))throw _0x41ff05[_0xed9e35(0x399)];_0x2ac551[_0xed9e35(0x2e7)](_0x403519['m2Prime'][_0xed9e35(0x34a)]),_0x45fa11[_0xed9e35(0x2e7)](_0x41ff05[_0xed9e35(0x28e)][_0xed9e35(0x34a)]),_0x6effe2=_0x403519[_0xed9e35(0x37e)],_0x53bbe2=_0x41ff05[_0xed9e35(0x37e)];}_0x429fe6[_0xed9e35(0x273)]({'undoCache':_0x2ac551,'redoCache':_0x45fa11});}[_0x41fa7f(0x27c)](_0x1a95e2){const _0x3e8d63=_0x41fa7f,{unitID:_0x14d0db}=_0x1a95e2,_0xcb942e=this[_0x3e8d63(0x10f)][_0x3e8d63(0x3aa)](_0x14d0db)[_0x3e8d63(0x34f)](_0x4abee5[_0x3e8d63(0x241)]),_0x576541=_0xcb942e['getActiveRange']();if(_0x576541==null)return;const _0x1f2b4e=[{'id':_0x3e8d63(0x1e5),'params':{'unitId':_0x1a95e2[_0x3e8d63(0x281)],'actions':null,'textRanges':[_0x576541]}}],_0x472158=this['_transformService'][_0x3e8d63(0x229)](_0x1a95e2,_0x1f2b4e);if(!_0x1b3789[_0x3e8d63(0x15e)](_0x472158))throw _0x472158[_0x3e8d63(0x399)];const _0xf2bf82=_0x472158[_0x3e8d63(0x28e)][0x0][_0x3e8d63(0x34a)][_0x3e8d63(0x2f5)];Array['isArray'](_0xf2bf82)&&_0xf2bf82[_0x3e8d63(0x26c)]&&_0xcb942e['setActiveRange'](_0xf2bf82[0x0]);}};_0x3b67da=_0x1e1c51([_0x29cdf6(0x0,_0x1b3789[_0x41fa7f(0x389)]),_0x29cdf6(0x1,_0x7c9b89[_0x41fa7f(0x2e8)])],_0x3b67da);var _0x29c902=Object['getOwnPropertyDescriptor'],_0x447bcb=(_0x406449,_0x2e04d8,_0x120737,_0x4d9a01)=>{const _0x6e3593=_0x41fa7f;for(var _0x13f7af=_0x4d9a01>0x1?void 0x0:_0x4d9a01?_0x29c902(_0x2e04d8,_0x120737):_0x2e04d8,_0x17e256=_0x406449[_0x6e3593(0x26c)]-0x1,_0x49f32c;_0x17e256>=0x0;_0x17e256--)(_0x49f32c=_0x406449[_0x17e256])&&(_0x13f7af=_0x49f32c(_0x13f7af)||_0x13f7af);return _0x13f7af;},_0x535a4b=(_0x5edeb3,_0x1b5833)=>(_0x60f695,_0x1572e3)=>_0x1b5833(_0x60f695,_0x1572e3,_0x5edeb3);let _0x354c67=class{constructor(_0x50a100,_0x40b682,_0x10f5e8){const _0x325278=_0x41fa7f;this['_injector']=_0x50a100,this[_0x325278(0x3cb)]=_0x40b682,this['_docStateChangeManagerService']=_0x10f5e8;}[_0x41fa7f(0x153)](_0x2f9df9){const _0x3ea1ce=_0x41fa7f;this[_0x3ea1ce(0x121)](_0x2f9df9);}['transformRemoteChangeset'](_0x3631b7){const _0x559b32=_0x41fa7f,{unitID:_0x1d2a81}=_0x3631b7,{collaboration:_0x12dcee}=this[_0x559b32(0x1bb)][_0x559b32(0x3dc)](_0x1d2a81);if(_0x12dcee[_0x559b32(0x26c)]===0x0)return _0x3631b7;let _0x1383ee=_0xdb2415['Tools']['deepClone'](_0x3631b7[_0x559b32(0x1b5)][0x0]);for(let _0x412f3e=0x0;_0x412f3e<_0x12dcee[_0x559b32(0x26c)];_0x412f3e++){const _0x1d0bcc={'id':_0x559b32(0x1e5),'params':{'unitId':_0x12dcee[_0x412f3e][_0x559b32(0x392)],..._0x12dcee[_0x412f3e][_0x559b32(0x1d7)]}},_0x4f414b=this[_0x559b32(0x3cb)]['transformMutation'](_0x1383ee,_0x1d0bcc,!0x1);if(_0x1b3789['isTransformMutationFailure'](_0x4f414b))throw _0x4f414b[_0x559b32(0x399)];_0x1383ee=_0x4f414b['m1Prime'];}return{..._0xdb2415[_0x559b32(0x1da)][_0x559b32(0x305)](_0x3631b7),'mutations':[_0x1383ee]};}[_0x41fa7f(0x121)](_0x108e9b){const _0x31461f=_0x41fa7f,{unitID:_0x50118f}=_0x108e9b,{history:_0xe4bfd2,collaboration:_0x4c95d4}=this['_docStateChangeManagerService']['getStateCache'](_0x50118f);if(_0xe4bfd2['length']===0x0&&_0x4c95d4[_0x31461f(0x26c)]===0x0)return;const _0x22c397=[],_0x114553=[];let _0x302802=_0xdb2415[_0x31461f(0x1da)]['deepClone'](_0x108e9b['mutations'][0x0]),_0x3a84df=_0xdb2415[_0x31461f(0x1da)][_0x31461f(0x305)](_0x108e9b[_0x31461f(0x1b5)][0x0]);for(let _0x4f0bfe=_0xe4bfd2[_0x31461f(0x26c)]-0x1;_0x4f0bfe>=0x0;_0x4f0bfe--){const _0x5f3167={'id':_0x31461f(0x1e5),'params':{'unitId':_0xe4bfd2[_0x4f0bfe][_0x31461f(0x392)],..._0xe4bfd2[_0x4f0bfe]['undoState']}},_0x444e67={'id':_0x31461f(0x1e5),'params':{'unitId':_0xe4bfd2[_0x4f0bfe]['unitId'],..._0xe4bfd2[_0x4f0bfe]['redoState']}},_0x5176f9=this['_transformService'][_0x31461f(0x393)](_0x302802,_0x5f3167,!0x1),_0xe1605d=this['_transformService']['transformMutation'](_0x3a84df,_0x444e67,!0x1);if(_0x1b3789[_0x31461f(0x1e4)](_0x5176f9))throw _0x5176f9['error'];if(_0x1b3789['isTransformMutationFailure'](_0xe1605d))throw _0xe1605d[_0x31461f(0x399)];_0x22c397['unshift']({..._0xe4bfd2[_0x4f0bfe],'undoState':_0x5176f9[_0x31461f(0x28e)][_0x31461f(0x34a)],'redoState':_0xe1605d[_0x31461f(0x28e)][_0x31461f(0x34a)]}),_0x302802=_0x5176f9['m1Prime'],_0x3a84df=_0xe1605d['m1Prime'];}_0x302802=_0xdb2415[_0x31461f(0x1da)][_0x31461f(0x305)](_0x108e9b[_0x31461f(0x1b5)][0x0]),_0x3a84df=_0xdb2415['Tools'][_0x31461f(0x305)](_0x108e9b[_0x31461f(0x1b5)][0x0]);for(let _0x24d7ab=_0x4c95d4[_0x31461f(0x26c)]-0x1;_0x24d7ab>=0x0;_0x24d7ab--){const _0x52dc2c={'id':_0x31461f(0x1e5),'params':{'unitId':_0x4c95d4[_0x24d7ab][_0x31461f(0x392)],..._0x4c95d4[_0x24d7ab]['undoState']}},_0x4cb3c4={'id':_0x31461f(0x1e5),'params':{'unitId':_0x4c95d4[_0x24d7ab]['unitId'],..._0x4c95d4[_0x24d7ab][_0x31461f(0x1d7)]}},_0x587562=this[_0x31461f(0x3cb)][_0x31461f(0x393)](_0x302802,_0x52dc2c,!0x1),_0x3632f9=this[_0x31461f(0x3cb)]['transformMutation'](_0x3a84df,_0x4cb3c4,!0x1);if(_0x1b3789['isTransformMutationFailure'](_0x587562))throw _0x587562['error'];if(_0x1b3789[_0x31461f(0x1e4)](_0x3632f9))throw _0x3632f9['error'];_0x114553[_0x31461f(0x2e7)]({..._0x4c95d4[_0x24d7ab],'undoState':_0x587562['m2Prime'][_0x31461f(0x34a)],'redoState':_0x3632f9[_0x31461f(0x28e)][_0x31461f(0x34a)]}),_0x302802=_0x587562[_0x31461f(0x37e)],_0x3a84df=_0x3632f9[_0x31461f(0x37e)];}this[_0x31461f(0x1bb)][_0x31461f(0xfd)](_0x50118f,{'history':_0x22c397,'collaboration':_0x114553});}};_0x354c67=_0x447bcb([_0x535a4b(0x0,_0xdb2415['Inject'](_0xdb2415[_0x41fa7f(0x277)])),_0x535a4b(0x1,_0x1b3789[_0x41fa7f(0x389)]),_0x535a4b(0x2,_0xdb2415[_0x41fa7f(0x37a)](_0x4abee5[_0x41fa7f(0x39d)]))],_0x354c67);var _0x3f1645=Object['getOwnPropertyDescriptor'],_0x5742a7=(_0x406371,_0xc5fcdd,_0x53576e,_0x489f4a)=>{const _0x306554=_0x41fa7f;for(var _0x28ba8c=_0x489f4a>0x1?void 0x0:_0x489f4a?_0x3f1645(_0xc5fcdd,_0x53576e):_0xc5fcdd,_0x34fded=_0x406371[_0x306554(0x26c)]-0x1,_0x297bdc;_0x34fded>=0x0;_0x34fded--)(_0x297bdc=_0x406371[_0x34fded])&&(_0x28ba8c=_0x297bdc(_0x28ba8c)||_0x28ba8c);return _0x28ba8c;},_0x23ce97=(_0x2b104d,_0x87345b)=>(_0x2ae659,_0x4d845f)=>_0x87345b(_0x2ae659,_0x4d845f,_0x2b104d);let _0x508056=class{constructor(_0x41bd32,_0x1d4dc0){this['_injector']=_0x41bd32,this['_transformService']=_0x1d4dc0;}['transformSelections'](_0x379d5e){const _0x5da7a1=_0x41fa7f;var _0x4bf1a5;const _0x1f9d11=this[_0x5da7a1(0x2e4)][_0x5da7a1(0x3a4)](_0x5e9ade['DocSelectionManagerService']),_0x21e1e9=(_0x4bf1a5=_0x1f9d11['getDocRanges']())!=null?_0x4bf1a5:[];if(_0x21e1e9[_0x5da7a1(0x26c)]===0x0)return;const _0x500cd1=_0x379d5e[_0x5da7a1(0x281)],_0x106d0f=[{'id':_0x5da7a1(0x1e5),'params':{'unitId':_0x500cd1,'actions':null,'textRanges':_0x21e1e9}}],_0x18b3d7=this['_transformService'][_0x5da7a1(0x229)](_0x379d5e,_0x106d0f);if(!_0x1b3789['isTransformMutationsWithChangesetSuccess'](_0x18b3d7))throw _0x18b3d7[_0x5da7a1(0x399)];const _0x4a1820=_0x18b3d7[_0x5da7a1(0x28e)][0x0][_0x5da7a1(0x34a)][_0x5da7a1(0x2f5)];Array[_0x5da7a1(0x219)](_0x4a1820)&&_0x4a1820[_0x5da7a1(0x26c)]&&_0x1f9d11['replaceDocRanges'](_0x4a1820,{'unitId':_0x500cd1,'subUnitId':_0x500cd1},!0x1);}};_0x508056=_0x5742a7([_0x23ce97(0x0,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415[_0x41fa7f(0x277)])),_0x23ce97(0x1,_0x1b3789[_0x41fa7f(0x389)])],_0x508056);var _0x162dc2=Object[_0x41fa7f(0x194)],_0x35c0a3=(_0x3f380b,_0x1371f0,_0x545547,_0x50fb85)=>{const _0x5b77c2=_0x41fa7f;for(var _0x483939=_0x50fb85>0x1?void 0x0:_0x50fb85?_0x162dc2(_0x1371f0,_0x545547):_0x1371f0,_0x2fddfa=_0x3f380b[_0x5b77c2(0x26c)]-0x1,_0xb1636b;_0x2fddfa>=0x0;_0x2fddfa--)(_0xb1636b=_0x3f380b[_0x2fddfa])&&(_0x483939=_0xb1636b(_0x483939)||_0x483939);return _0x483939;},_0x4478bf=(_0x57c014,_0x5ad244)=>(_0x32bd4f,_0x1226ab)=>_0x5ad244(_0x32bd4f,_0x1226ab,_0x57c014);let _0x294d98=class extends _0xdb2415['Disposable']{constructor(_0x58a68f,_0x59d18c,_0x2b5db5,_0x4279f5,_0x5a7842,_0x4a1111,_0x4bf304,_0x49a078){const _0x4acf4c=_0x41fa7f;super(),_0x356879(this,'_status$',new _0x5bb37b[(_0x4acf4c(0x204))](_0x5a33af[_0x4acf4c(0x1ef)][_0x4acf4c(0x163)])),(this[_0x4acf4c(0x1bb)]=_0x58a68f,this[_0x4acf4c(0x144)]=_0x59d18c,this[_0x4acf4c(0x29e)]=_0x2b5db5,this['_docTransformStateCacheService']=_0x4279f5,this[_0x4acf4c(0x152)]=_0x5a7842,this[_0x4acf4c(0x111)]=_0x4a1111,this['_messageService']=_0x4bf304,this[_0x4acf4c(0x1d8)]=_0x49a078,this[_0x4acf4c(0x188)]());}[_0x41fa7f(0x188)](){const _0x1d6a35=_0x41fa7f;this['disposeWithMe'](this[_0x1d6a35(0x144)][_0x1d6a35(0x208)][_0x1d6a35(0x31f)](_0x2fae72=>{const _0x3c6242=_0x1d6a35,_0x26a5d5=this[_0x3c6242(0x1bb)][_0x3c6242(0x145)][_0x3c6242(0x31f)](_0x229c90=>{const _0x2b040d=_0x3c6242;if(_0x229c90==null)return;const {unitId:_0x34cd2d,redoState:_0x343fba,commandId:_0x5bc9ad}=_0x229c90;if(_0x34cd2d!==_0x2fae72[_0x2b040d(0x281)])return;const _0x278aa5={'id':_0x5bc9ad,'type':_0xdb2415[_0x2b040d(0x1f0)][_0x2b040d(0x363)],'params':{'unitId':_0x34cd2d,'actions':_0x343fba[_0x2b040d(0x1ab)],'textRanges':null}};_0x2fae72[_0x2b040d(0x330)](_0x278aa5);});if(_0x2fae72[_0x3c6242(0x31e)](_0x26a5d5),_0x2fae72 instanceof _0x5a33af[_0x3c6242(0x222)]){const _0x3d7cfc={'onTransformIME':_0x4bb483=>this[_0x3c6242(0x29e)][_0x3c6242(0x1e8)](_0x4bb483),'onTransformState':_0x959dcc=>this[_0x3c6242(0xfc)][_0x3c6242(0x153)](_0x959dcc),'onTransformSelections':_0x18a61b=>this[_0x3c6242(0x152)][_0x3c6242(0x2cc)](_0x18a61b),'onSyncEditingCollabCursor':_0x5d08a8=>this[_0x3c6242(0x111)][_0x3c6242(0x140)](_0x5d08a8),'onTransformRemoteChangesetByIMECache':_0x4b2d39=>this[_0x3c6242(0x29e)][_0x3c6242(0x3e4)](_0x4b2d39),'onTransformRemoteChangesetByStateCache':_0x56fa56=>this[_0x3c6242(0xfc)][_0x3c6242(0x3e4)](_0x56fa56)};_0x2fae72[_0x3c6242(0x294)](_0x3d7cfc);}}));}};_0x294d98=_0x35c0a3([_0x4478bf(0x0,_0xdb2415[_0x41fa7f(0x37a)](_0x4abee5[_0x41fa7f(0x39d)])),_0x4478bf(0x1,_0xdb2415['Inject'](_0x5a33af[_0x41fa7f(0x18f)])),_0x4478bf(0x2,_0xdb2415[_0x41fa7f(0x37a)](_0x3b67da)),_0x4478bf(0x3,_0xdb2415[_0x41fa7f(0x37a)](_0x354c67)),_0x4478bf(0x4,_0xdb2415[_0x41fa7f(0x37a)](_0x508056)),_0x4478bf(0x5,_0xdb2415[_0x41fa7f(0x37a)](_0x3dcaca)),_0x4478bf(0x6,_0x339e42[_0x41fa7f(0x25d)]),_0x4478bf(0x7,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415[_0x41fa7f(0x17f)]))],_0x294d98);var _0x4edfd6=(_0x46f527=>(_0x46f527[_0x46f527[_0x41fa7f(0x16f)]=0x0]='UNDEFINED',_0x46f527[_0x46f527['OK']=0x1]='OK',_0x46f527[_0x46f527[_0x41fa7f(0x30c)]=0x2]=_0x41fa7f(0x30c),_0x46f527[_0x46f527[_0x41fa7f(0x21f)]=0x3]='PERMISSION_DENIED',_0x46f527[_0x46f527['NOT_FOUND']=0x4]=_0x41fa7f(0x33c),_0x46f527[_0x46f527[_0x41fa7f(0x301)]=0x5]='UNAUTHENTICATED',_0x46f527[_0x46f527['ALREADY_EXISTS']=0x6]=_0x41fa7f(0x151),_0x46f527[_0x46f527[_0x41fa7f(0x343)]=0x7]=_0x41fa7f(0x343),_0x46f527[_0x46f527[_0x41fa7f(0x291)]=0x8]=_0x41fa7f(0x291),_0x46f527[_0x46f527[_0x41fa7f(0x205)]=0x9]=_0x41fa7f(0x205),_0x46f527[_0x46f527['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x46f527[_0x46f527['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x41fa7f(0x3ae),_0x46f527[_0x46f527['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x41fa7f(0x203),_0x46f527[_0x46f527['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x41fa7f(0x263),_0x46f527[_0x46f527[_0x41fa7f(0x2d7)]=0xe]=_0x41fa7f(0x2d7),_0x46f527[_0x46f527[_0x41fa7f(0x30e)]=0xf]=_0x41fa7f(0x30e),_0x46f527[_0x46f527[_0x41fa7f(0x3e1)]=0x10]=_0x41fa7f(0x3e1),_0x46f527[_0x46f527[_0x41fa7f(0x2fd)]=0x64]=_0x41fa7f(0x2fd),_0x46f527[_0x46f527[_0x41fa7f(0x189)]=0x65]=_0x41fa7f(0x189),_0x46f527[_0x46f527[_0x41fa7f(0x319)]=0xc9]=_0x41fa7f(0x319),_0x46f527[_0x46f527[_0x41fa7f(0x352)]=0xca]=_0x41fa7f(0x352),_0x46f527[_0x46f527[_0x41fa7f(0x125)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x46f527[_0x46f527[_0x41fa7f(0x13c)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x46f527[_0x46f527['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x41fa7f(0x22b),_0x46f527[_0x46f527[_0x41fa7f(0x168)]=0x1773]=_0x41fa7f(0x168),_0x46f527[_0x46f527[_0x41fa7f(0x396)]=0x1b59]=_0x41fa7f(0x396),_0x46f527[_0x46f527['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x41fa7f(0x3ac),_0x46f527[_0x46f527[_0x41fa7f(0x250)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x46f527[_0x46f527[_0x41fa7f(0x2ac)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x46f527[_0x46f527[_0x41fa7f(0x13b)]=0x1b5d]=_0x41fa7f(0x13b),_0x46f527[_0x46f527['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x41fa7f(0x3a9),_0x46f527[_0x46f527[_0x41fa7f(0x115)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x46f527[_0x46f527[_0x41fa7f(0x1d2)]=0x232a]=_0x41fa7f(0x1d2),_0x46f527[_0x46f527[_0x41fa7f(0x304)]=0x232b]=_0x41fa7f(0x304),_0x46f527[_0x46f527['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x46f527[_0x46f527[_0x41fa7f(0x27d)]=0x232d]=_0x41fa7f(0x27d),_0x46f527[_0x46f527[_0x41fa7f(0x3db)]=0x2711]=_0x41fa7f(0x3db),_0x46f527[_0x46f527[_0x41fa7f(0x1eb)]=0x2712]=_0x41fa7f(0x1eb),_0x46f527[_0x46f527['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x41fa7f(0x2a9),_0x46f527[_0x46f527[_0x41fa7f(0x318)]=0x2714]=_0x41fa7f(0x318),_0x46f527[_0x46f527[_0x41fa7f(0x1a0)]=0x271a]=_0x41fa7f(0x1a0),_0x46f527[_0x46f527['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x46f527[_0x46f527[_0x41fa7f(0xfb)]=0x271c]=_0x41fa7f(0xfb),_0x46f527[_0x46f527['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x41fa7f(0x253),_0x46f527[_0x46f527['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x46f527[_0x46f527[_0x41fa7f(0x3e5)]=0x271f]=_0x41fa7f(0x3e5),_0x46f527[_0x46f527[_0x41fa7f(0x26f)]=0x2720]=_0x41fa7f(0x26f),_0x46f527[_0x46f527[_0x41fa7f(0x2ea)]=0x2af9]=_0x41fa7f(0x2ea),_0x46f527[_0x46f527[_0x41fa7f(0x372)]=0x2ee1]=_0x41fa7f(0x372),_0x46f527[_0x46f527[_0x41fa7f(0x3d8)]=0x2ee2]=_0x41fa7f(0x3d8),_0x46f527[_0x46f527['INVITE_CODE_REQUIRED']=0x2ee3]=_0x41fa7f(0x105),_0x46f527[_0x46f527[_0x41fa7f(0x2d5)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x46f527[_0x46f527[_0x41fa7f(0x17d)]=0x2ee5]=_0x41fa7f(0x17d),_0x46f527[_0x46f527[_0x41fa7f(0x25b)]=0x32c9]=_0x41fa7f(0x25b),_0x46f527[_0x46f527[_0x41fa7f(0x358)]=0x32ca]=_0x41fa7f(0x358),_0x46f527[_0x46f527['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x46f527[_0x46f527[_0x41fa7f(0x317)]=0x36b1]=_0x41fa7f(0x317),_0x46f527[_0x46f527[_0x41fa7f(0x12d)]=0x36b2]=_0x41fa7f(0x12d),_0x46f527[_0x46f527[_0x41fa7f(0x37f)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x46f527[_0x46f527[_0x41fa7f(0x3a0)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x46f527[_0x46f527[_0x41fa7f(0x341)]=0x3715]=_0x41fa7f(0x341),_0x46f527[_0x46f527[_0x41fa7f(0x165)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x46f527[_0x46f527[_0x41fa7f(0x1ae)]=0x3717]=_0x41fa7f(0x1ae),_0x46f527[_0x46f527[_0x41fa7f(0x322)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x46f527[_0x46f527[_0x41fa7f(0x361)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x46f527[_0x46f527[_0x41fa7f(0x2d4)]=0x3a9a]=_0x41fa7f(0x2d4),_0x46f527[_0x46f527['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x41fa7f(0x1a7),_0x46f527[_0x46f527[_0x41fa7f(0x23d)]=0x3a9c]=_0x41fa7f(0x23d),_0x46f527[_0x46f527['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x41fa7f(0x122),_0x46f527[_0x46f527[_0x41fa7f(0x2f6)]=0x3a9e]=_0x41fa7f(0x2f6),_0x46f527[_0x46f527[_0x41fa7f(0x26e)]=0x3a9f]=_0x41fa7f(0x26e),_0x46f527[_0x46f527[_0x41fa7f(0x175)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x46f527[_0x46f527[_0x41fa7f(0x171)]=-0x1]=_0x41fa7f(0x171),_0x46f527))(_0x4edfd6||{});function _0x7ecb32(_0x3c6675){const _0x5d459d=_0x41fa7f;var _0x130459,_0x5b2e47;const _0x2d700e=(_0x130459=_0x3c6675['stageInfo'])==null?void 0x0:_0x130459['stage'],_0x5815cf=((_0x5b2e47=_0x3c6675[_0x5d459d(0x12c)])==null?void 0x0:_0x5b2e47[_0x5d459d(0x3d2)])||0x0;return _0x2d700e===_0x7b5b07[_0x5d459d(0x21a)]['START_CALCULATION']&&_0x5815cf>0x0;}function _0x47cd57(_0x3eb5ff){const _0x4d47d4=_0x41fa7f;return _0x3eb5ff[_0x4d47d4(0x2db)]===_0x7b5b07[_0x4d47d4(0x1a4)][_0x4d47d4(0x382)];}var _0x455b56=Object[_0x41fa7f(0x194)],_0x563e0b=(_0x1a7c67,_0x1b67e4,_0x48ebbb,_0x4f7234)=>{for(var _0x234b54=_0x4f7234>0x1?void 0x0:_0x4f7234?_0x455b56(_0x1b67e4,_0x48ebbb):_0x1b67e4,_0x196a26=_0x1a7c67['length']-0x1,_0x3789ab;_0x196a26>=0x0;_0x196a26--)(_0x3789ab=_0x1a7c67[_0x196a26])&&(_0x234b54=_0x3789ab(_0x234b54)||_0x234b54);return _0x234b54;},_0x482799=(_0xdd4e6b,_0x4d9b4f)=>(_0x2e59c4,_0x382bcb)=>_0x4d9b4f(_0x2e59c4,_0x382bcb,_0xdd4e6b);const _0x43a1ae=_0x41fa7f(0x39a),_0x4765e6='/universer-api/license/formula/limit/start',_0x28909e=_0x41fa7f(0x3c6);let _0x324e6d=class extends _0xdb2415[_0x41fa7f(0x37d)]{constructor(_0x278608,_0xadfd67,_0x4307f2,_0x4ed7d9,_0x16b200,_0x401cba,_0xdbe38d){const _0x3ab7a4=_0x41fa7f;super(),_0x356879(this,_0x3ab7a4(0x3a6),null),_0x356879(this,'_maxFormulaLimit',0x0),_0x356879(this,_0x3ab7a4(0x366),0x0),_0x356879(this,_0x3ab7a4(0x268),[]),_0x356879(this,_0x3ab7a4(0x1ec),0x0),(this[_0x3ab7a4(0x1db)]=_0x278608,this[_0x3ab7a4(0x2c7)]=_0xadfd67,this['_configService']=_0x4307f2,this[_0x3ab7a4(0x23e)]=_0x4ed7d9,this['_univerInstanceService']=_0x16b200,this['_logService']=_0x401cba,this[_0x3ab7a4(0x1d8)]=_0xdbe38d,this[_0x3ab7a4(0x336)]());}[_0x41fa7f(0x336)](){const _0x3d7cb1=_0x41fa7f;this[_0x3d7cb1(0x31e)](this['_commandService'][_0x3d7cb1(0x29b)]((_0x8405ff,_0x5098b5)=>{const _0x408ccd=_0x3d7cb1;var _0x4b4f0e;if(_0x8405ff['id']!==_0x7b5b07[_0x408ccd(0x20e)]['id'])return;const _0x1ed9f4=_0x8405ff[_0x408ccd(0x34a)];if(!this[_0x408ccd(0x260)]((_0x4b4f0e=_0x1ed9f4[_0x408ccd(0x367)])!=null?_0x4b4f0e:[]))return;if(!this[_0x408ccd(0x21b)]())throw this['_checkAndWaitForCalculationPermission'](_0x8405ff,_0x5098b5),this[_0x408ccd(0x34b)](),new _0xdb2415['CanceledError']();})),this[_0x3d7cb1(0x31e)](this[_0x3d7cb1(0x2c7)][_0x3d7cb1(0x191)]((_0x2bcb90,_0x23f80a)=>{const _0x2e07f5=_0x3d7cb1;if(_0x2bcb90['id']!==_0x7b5b07[_0x2e07f5(0x395)]['id'])return;const _0x44fbc5=_0x2bcb90['params'];if(_0x7ecb32(_0x44fbc5)){const _0x2e3834=_0xdb2415[_0x2e07f5(0x1c5)]();this[_0x2e07f5(0x268)][_0x2e07f5(0x3dd)](_0x2e3834),this['_startCalculationLimit'](_0x2e3834);}else{if(_0x47cd57(_0x44fbc5)&&this[_0x2e07f5(0x268)]['length']>0x0){const _0x55c1fb=this[_0x2e07f5(0x268)]['shift']();this[_0x2e07f5(0x141)](_0x55c1fb);}}}));}['dispose'](){const _0xbf4061=_0x41fa7f;super[_0xbf4061(0x1b9)](),this[_0xbf4061(0x1fc)](),this['_taskIds']=[],this[_0xbf4061(0x366)]=0x0,this[_0xbf4061(0x3d4)]=0x0,this[_0xbf4061(0x1ec)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x220fe8,_0x3f6a34){const _0x186a44=_0x41fa7f;for(let _0x319a4c=0x0;_0x319a4c<0x1e;_0x319a4c++)try{if(await this[_0x186a44(0x274)](),this['_checkCalculationAvailable']()){this['_applyCommand'](_0x220fe8,_0x3f6a34),this[_0x186a44(0x1db)][_0x186a44(0x186)]({'content':this['_localeService']['t'](_0x186a44(0x116)),'type':_0xffb326[_0x186a44(0x13f)][_0x186a44(0x1e3)]});return;}await new Promise(_0x1e2cea=>{const _0x4793b4=_0x186a44;this[_0x4793b4(0x3a6)]=window[_0x4793b4(0x1b2)](_0x1e2cea,0x3e8);});}catch(_0x559d07){this[_0x186a44(0x2ec)][_0x186a44(0x399)](_0x559d07);}this[_0x186a44(0x1db)][_0x186a44(0x186)]({'content':this['_localeService']['t'](_0x186a44(0x3a8)),'type':_0xffb326[_0x186a44(0x13f)][_0x186a44(0x373)]});}[_0x41fa7f(0x3b0)](_0x2d8f1e,_0x258d91){const _0x3226e1=_0x41fa7f;try{this['_commandService'][_0x3226e1(0x172)](_0x2d8f1e['id'],_0x2d8f1e[_0x3226e1(0x34a)],_0x258d91);}catch(_0x4afb31){this['_logService'][_0x3226e1(0x399)](_0x4afb31);}}[_0x41fa7f(0x2fc)](_0x38a7d0,_0x39714b){const _0x388a8b=_0x41fa7f;_0x39714b<this[_0x388a8b(0x1ec)]||(this[_0x388a8b(0x1ec)]=_0x39714b,this[_0x388a8b(0x3d4)]=Number[_0x388a8b(0x1e2)](_0x38a7d0[_0x388a8b(0x35c)]),this[_0x388a8b(0x366)]=Number[_0x388a8b(0x1e2)](_0x38a7d0[_0x388a8b(0x1b3)]));}async[_0x41fa7f(0x3c1)](_0x4820df){const _0x3d7a0d=_0x41fa7f;var _0x419d6a,_0x42b90b;const _0x42c4be=Date[_0x3d7a0d(0x164)]();try{const _0x133024=((_0x419d6a=this['_configService'][_0x3d7a0d(0x102)](_0x5a33af[_0x3d7a0d(0x2cf)]))==null?void 0x0:_0x419d6a[_0x3d7a0d(0x1cd)])||_0x4765e6,_0x194e01=(await this[_0x3d7a0d(0x23e)][_0x3d7a0d(0x11a)](_0x133024,{'body':JSON[_0x3d7a0d(0x109)]({'taskId':_0x4820df})}))[_0x3d7a0d(0x332)];if(((_0x42b90b=_0x194e01['error'])==null?void 0x0:_0x42b90b['code'])!==_0x4edfd6['OK'])return;this[_0x3d7a0d(0x2fc)](_0x194e01[_0x3d7a0d(0x257)],_0x42c4be);}catch(_0x3ed16f){this[_0x3d7a0d(0x2ec)][_0x3d7a0d(0x399)](_0x3ed16f);}}async[_0x41fa7f(0x274)](_0x2f7d89){const _0x46d2b5=_0x41fa7f;var _0x1c17d5,_0x4dda42;const _0x1602e2=Date[_0x46d2b5(0x164)]();try{const _0x32c000=((_0x1c17d5=this[_0x46d2b5(0x1ea)]['getConfig'](_0x5a33af[_0x46d2b5(0x2cf)]))==null?void 0x0:_0x1c17d5[_0x46d2b5(0xfa)])||_0x43a1ae,_0xe7eceb=_0x2f7d89?_0x32c000+_0x46d2b5(0x3b3)+encodeURIComponent(_0x2f7d89):_0x32c000,_0x5f1f9f=(await this['_httpService'][_0x46d2b5(0x3a4)](_0xe7eceb))[_0x46d2b5(0x332)];if(((_0x4dda42=_0x5f1f9f['error'])==null?void 0x0:_0x4dda42[_0x46d2b5(0x2f8)])!==_0x4edfd6['OK'])return;this['_setFormulaLimitStatus'](_0x5f1f9f['limitInfo'],_0x1602e2);}catch(_0x3a028a){this[_0x46d2b5(0x2ec)][_0x46d2b5(0x399)](_0x3a028a);}}async[_0x41fa7f(0x141)](_0x2c6bbb){const _0x5b8a9a=_0x41fa7f;var _0x32177b,_0x530d7f;const _0x40eda4=Date[_0x5b8a9a(0x164)]();try{const _0x596864=((_0x32177b=this[_0x5b8a9a(0x1ea)][_0x5b8a9a(0x102)](_0x5a33af[_0x5b8a9a(0x2cf)]))==null?void 0x0:_0x32177b[_0x5b8a9a(0x2c3)])||_0x28909e,_0xad994c=(await this[_0x5b8a9a(0x23e)][_0x5b8a9a(0x11a)](_0x596864,{'body':JSON[_0x5b8a9a(0x109)]({'taskId':_0x2c6bbb})}))['body'];if(((_0x530d7f=_0xad994c[_0x5b8a9a(0x399)])==null?void 0x0:_0x530d7f[_0x5b8a9a(0x2f8)])!==_0x4edfd6['OK'])return;this[_0x5b8a9a(0x2fc)](_0xad994c[_0x5b8a9a(0x257)],_0x40eda4);}catch(_0x3f44d2){this[_0x5b8a9a(0x2ec)][_0x5b8a9a(0x399)](_0x3f44d2);}}[_0x41fa7f(0x21b)](){const _0x5c1617=_0x41fa7f;return this[_0x5c1617(0x3d4)]===0x0?!0x0:this[_0x5c1617(0x3d4)]-this[_0x5c1617(0x366)]>0x0;}[_0x41fa7f(0x1fc)](){const _0x5a338c=_0x41fa7f;this[_0x5a338c(0x3a6)]&&(clearTimeout(this['_pollingInterval']),this[_0x5a338c(0x3a6)]=null);}[_0x41fa7f(0x34b)](){const _0xe7ab7c=_0x41fa7f;this[_0xe7ab7c(0x1db)][_0xe7ab7c(0x186)]({'content':this[_0xe7ab7c(0x1d8)]['t'](_0xe7ab7c(0x35d)),'type':_0xffb326[_0xe7ab7c(0x13f)]['Loading']});}[_0x41fa7f(0x260)](_0x2d44b0){const _0xb4dacc=_0x41fa7f;for(const _0x28f65c of _0x2d44b0){const {unitId:_0x388ba4,sheetId:_0x3bcaba,range:_0xc16811}=_0x28f65c,_0x28d27e=this[_0xb4dacc(0x27e)][_0xb4dacc(0x242)](_0x388ba4);if(!_0x28d27e)continue;const _0x33f273=_0x28d27e['getSheetBySheetId'](_0x3bcaba);if(!_0x33f273)continue;const _0xa7e394=_0x33f273[_0xb4dacc(0x1dd)]();for(let _0x327b44=_0xc16811['startRow'];_0x327b44<=_0xc16811[_0xb4dacc(0x14a)];_0x327b44++)for(let _0xf0034=_0xc16811['startColumn'];_0xf0034<=_0xc16811[_0xb4dacc(0x350)];_0xf0034++){const _0x4628ec=_0xa7e394[_0xb4dacc(0x2e2)](_0x327b44,_0xf0034);if(_0x4628ec&&(_0xdb2415[_0xb4dacc(0x3c2)](_0x4628ec['f'])||_0xdb2415[_0xb4dacc(0x288)](_0x4628ec['si'])))return!0x0;}}return!0x1;}};_0x324e6d=_0x563e0b([_0x482799(0x0,_0xdb2415['Inject'](_0x339e42[_0x41fa7f(0x25d)])),_0x482799(0x1,_0xdb2415['ICommandService']),_0x482799(0x2,_0xdb2415['IConfigService']),_0x482799(0x3,_0xdb2415[_0x41fa7f(0x37a)](_0x553b7e[_0x41fa7f(0x258)])),_0x482799(0x4,_0xdb2415[_0x41fa7f(0x1b6)]),_0x482799(0x5,_0xdb2415['ILogService']),_0x482799(0x6,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415[_0x41fa7f(0x17f)]))],_0x324e6d);var _0x8febbd=Object['getOwnPropertyDescriptor'],_0x337377=(_0x716d63,_0x46e92e,_0x1a3834,_0x496f7e)=>{const _0x104eab=_0x41fa7f;for(var _0x5c1a97=_0x496f7e>0x1?void 0x0:_0x496f7e?_0x8febbd(_0x46e92e,_0x1a3834):_0x46e92e,_0x5f2ab7=_0x716d63[_0x104eab(0x26c)]-0x1,_0x5eedde;_0x5f2ab7>=0x0;_0x5f2ab7--)(_0x5eedde=_0x716d63[_0x5f2ab7])&&(_0x5c1a97=_0x5eedde(_0x5c1a97)||_0x5c1a97);return _0x5c1a97;},_0x300240=(_0x3910e4,_0x2044f3)=>(_0xf7f20a,_0x3d6270)=>_0x2044f3(_0xf7f20a,_0x3d6270,_0x3910e4);let _0x217e1d=class extends _0xdb2415[_0x41fa7f(0x37d)]{constructor(_0x1314e6,_0x2129ba,_0x71b46f){const _0x54242d=_0x41fa7f;super(),_0x356879(this,_0x54242d(0x1fb),new Map()),_0x356879(this,_0x54242d(0x220),new Map()),_0x356879(this,'_disabled',!0x1),(this[_0x54242d(0x1ea)]=_0x1314e6,this['_localStorageService']=_0x2129ba,this[_0x54242d(0x252)]=_0x71b46f);}[_0x41fa7f(0x201)](){const _0x1cd9e2=_0x41fa7f;this[_0x1cd9e2(0x35f)]=!0x0;}[_0x41fa7f(0x233)](){this['_disabled']=!0x1;}get[_0x41fa7f(0x255)](){const _0x43df91=_0x41fa7f;return this[_0x43df91(0x220)];}[_0x41fa7f(0x1b9)](){const _0x2cbe22=_0x41fa7f;this[_0x2cbe22(0x23c)]()[_0x2cbe22(0x36e)](()=>super[_0x2cbe22(0x1b9)]());}async[_0x41fa7f(0x138)](_0x1f79fc){const _0x3a9feb=_0x41fa7f;return this[_0x3a9feb(0x35f)]?null:this[_0x3a9feb(0x2ae)]['getItem'](_0x5a33af[_0x3a9feb(0x3b8)](_0x1f79fc));}async[_0x41fa7f(0x143)](_0x240c20,_0x38cf47){const _0x55c2ef=_0x41fa7f;return!!this[_0x55c2ef(0x2ae)][_0x55c2ef(0x126)](_0x240c20,_0x38cf47);}[_0x41fa7f(0x2b6)](_0x147179,_0x271987,_0x411051,_0x22f7b4){const _0x52bfc7=_0x41fa7f,_0x6f0555=this[_0x52bfc7(0x252)][_0x52bfc7(0x2bb)](_0x147179);this[_0x52bfc7(0x1fb)][_0x52bfc7(0x238)](_0x147179,{'unitID':_0x147179,'type':_0x271987,'awaitingChangeset':_0x411051,'mutations':_0x22f7b4,'rev':_0x6f0555}),this['_saveTaskMap'][_0x52bfc7(0x246)](_0x147179)||this['_scheduleSaving'](_0x147179);}[_0x41fa7f(0x34e)](_0x18d10a){const _0x2d7bb5=_0x41fa7f,_0x1efa46=this[_0x2d7bb5(0x390)]();_0x1efa46===0x0?this[_0x2d7bb5(0x108)](_0x18d10a):this[_0x2d7bb5(0x220)][_0x2d7bb5(0x238)](_0x18d10a,setTimeout(()=>this['_saveCache'](_0x18d10a),_0x1efa46));}[_0x41fa7f(0x390)](){const _0x230c20=_0x41fa7f;var _0x4ef316;return(_0x4ef316=this[_0x230c20(0x1ea)][_0x230c20(0x102)](_0x5a33af['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x4ef316:_0x5a33af['LOCAL_CACHE_INTERVAL'];}[_0x41fa7f(0x108)](_0x51c8a5){const _0x5ca265=_0x41fa7f,_0x1c7a6f=this[_0x5ca265(0x220)][_0x5ca265(0x3a4)](_0x51c8a5);return _0x1c7a6f!==void 0x0&&window['clearTimeout'](_0x1c7a6f),this[_0x5ca265(0x2ae)][_0x5ca265(0x126)](_0x5a33af['getLocalCacheKey'](_0x51c8a5),this[_0x5ca265(0x1fb)][_0x5ca265(0x3a4)](_0x51c8a5))[_0x5ca265(0x36e)](()=>this[_0x5ca265(0x220)][_0x5ca265(0x349)](_0x51c8a5));}async['exhaustSavingTask'](){const _0x283912=_0x41fa7f,_0x5bae99=[];this[_0x283912(0x220)][_0x283912(0x270)]((_0x4cbd3f,_0x236c73)=>{const _0x37de91=_0x283912;window['clearTimeout'](_0x4cbd3f),_0x5bae99[_0x37de91(0x3dd)](this['_saveCache'](_0x236c73)[_0x37de91(0x36e)](()=>{const _0x1c4c5e=_0x37de91;this[_0x1c4c5e(0x220)][_0x1c4c5e(0x349)](_0x236c73);}));}),await Promise[_0x283912(0x2c0)](_0x5bae99);}};_0x217e1d=_0x337377([_0x300240(0x0,_0xdb2415['IConfigService']),_0x300240(0x1,_0xdb2415['ILocalStorageService']),_0x300240(0x2,_0xdb2415[_0x41fa7f(0x37a)](_0x1b3789['RevisionService']))],_0x217e1d);class _0x46c748 extends _0xdb2415[_0x41fa7f(0x1d1)]{constructor(){const _0x238cb4=_0x41fa7f;super(),_0x356879(this,_0x238cb4(0x256)),this['urlChange$']=_0x5bb37b['fromEvent'](window,'popstate')['pipe'](_0x5bb37b[_0x238cb4(0x285)](this['dispose$']),_0x5bb37b['shareReplay'](0x1),_0x5bb37b[_0x238cb4(0x3c8)](void 0x0));}[_0x41fa7f(0x2f1)](_0x8a61be,_0xd729a,_0x1553c9=!0x1){const _0x5a9bf9=_0x41fa7f,_0x2f93c1=new URL(window[_0x5a9bf9(0x1a3)]['href']);_0x2f93c1['searchParams'][_0x5a9bf9(0x238)](_0x8a61be,_0xd729a),_0x1553c9?window[_0x5a9bf9(0x378)][_0x5a9bf9(0x2f2)]('','',_0x2f93c1[_0x5a9bf9(0x22c)]()):window[_0x5a9bf9(0x378)][_0x5a9bf9(0x2dd)]('','',_0x2f93c1[_0x5a9bf9(0x22c)]());}['removeParam'](_0x5d60b3,_0x5e9a47=!0x1){const _0x1b8ca0=_0x41fa7f,_0x3eb64f=new URL(window['location'][_0x1b8ca0(0x2bf)]);_0x3eb64f['searchParams'][_0x1b8ca0(0x349)](_0x5d60b3),_0x5e9a47?window[_0x1b8ca0(0x378)][_0x1b8ca0(0x2f2)]('','',_0x3eb64f[_0x1b8ca0(0x22c)]()):window['history']['pushState']('','',_0x3eb64f[_0x1b8ca0(0x22c)]());}['getParam'](_0x770714){const _0x3bdd40=_0x41fa7f;var _0x38218a;return(_0x38218a=new URL(window[_0x3bdd40(0x1a3)][_0x3bdd40(0x2bf)])['searchParams']['get'](_0x770714))!=null?_0x38218a:void 0x0;}}var _0x603108=Object[_0x41fa7f(0x148)],_0x1da270=Object[_0x41fa7f(0x194)],_0x2bceab=(_0x58f5ed,_0x377637,_0x5e4cf7)=>_0x377637 in _0x58f5ed?_0x603108(_0x58f5ed,_0x377637,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5e4cf7}):_0x58f5ed[_0x377637]=_0x5e4cf7,_0x5528e4=(_0x2f4096,_0x5e517b,_0x5525d2,_0xb68a29)=>{const _0x277d36=_0x41fa7f;for(var _0x5d1e97=_0xb68a29>0x1?void 0x0:_0xb68a29?_0x1da270(_0x5e517b,_0x5525d2):_0x5e517b,_0x371ef6=_0x2f4096[_0x277d36(0x26c)]-0x1,_0x40cb8;_0x371ef6>=0x0;_0x371ef6--)(_0x40cb8=_0x2f4096[_0x371ef6])&&(_0x5d1e97=_0x40cb8(_0x5d1e97)||_0x5d1e97);return _0x5d1e97;},_0x13a67b=(_0x4efb3e,_0x10e302)=>(_0x12d219,_0x36fad9)=>_0x10e302(_0x12d219,_0x36fad9,_0x4efb3e),_0x1a1852=(_0x372637,_0xfa022d,_0x3697f2)=>_0x2bceab(_0x372637,_0xfa022d+'',_0x3697f2);const _0x47be37=_0x41fa7f(0x1e7);_0x1dc582[_0x41fa7f(0x206)]=class extends _0xdb2415['Plugin']{constructor(_0x1af9e2=_0x232bc8,_0x51aade,_0x2b4590,_0x489066){const _0x30bc12=_0x41fa7f;super(),this[_0x30bc12(0x286)]=_0x1af9e2,this[_0x30bc12(0x10f)]=_0x51aade,this[_0x30bc12(0x2e4)]=_0x2b4590,this[_0x30bc12(0x1ea)]=_0x489066;const {..._0x4dd6f7}=_0xdb2415[_0x30bc12(0x25f)]({},_0x232bc8,this[_0x30bc12(0x286)]);this[_0x30bc12(0x1ea)][_0x30bc12(0x18e)](_0x58498a,_0x4dd6f7);}['onStarting'](){const _0x5665ba=_0x41fa7f;this[_0x5665ba(0x210)](),this[_0x5665ba(0x279)]();}[_0x41fa7f(0x214)](){const _0x15ecdb=_0x41fa7f;this[_0x15ecdb(0x3bb)]();}[_0x41fa7f(0x210)](){const _0x534d6e=_0x41fa7f;var _0x43bf4e;const _0x122405=[[_0x54f54d],[_0x324e6d],[_0x508056],[_0x3b67da],[_0x354c67],[_0x3dcaca],[_0x2976d6,{'useClass':_0x46c748}],[_0x553b7e['ISocketService'],{'useClass':_0x553b7e[_0x534d6e(0x10a)]}],[_0x5a33af['ILocalCacheService'],{'useClass':_0x217e1d}],[_0x1dc582[_0x534d6e(0x33e)]],[_0x294d98],[_0x375bf7],[_0xa0f1ba],[_0xb90e08],[_0x1dc582[_0x534d6e(0x10b)]]];this[_0x534d6e(0x286)]['enableFrontendLog']&&_0x122405[_0x534d6e(0x3dd)]([_0x34fedc]),_0xdb2415['registerDependencies'](this[_0x534d6e(0x2e4)],_0xdb2415[_0x534d6e(0x251)](_0x122405,(_0x43bf4e=this['_config'])==null?void 0x0:_0x43bf4e[_0x534d6e(0x33b)]));}['_registerRenderDependencies'](){const _0x3ad064=_0x41fa7f;this[_0x3ad064(0x31e)](this[_0x3ad064(0x10f)]['registerRenderModule'](_0xdb2415['UniverInstanceType'][_0x3ad064(0x315)],[_0x1ba6f3])),this[_0x3ad064(0x31e)](this['_renderManagerService'][_0x3ad064(0x161)](_0xdb2415[_0x3ad064(0x2f0)]['UNIVER_SHEET'],[_0x267f0b]));}[_0x41fa7f(0x279)](){const _0x28d320=_0x41fa7f;_0xdb2415[_0x28d320(0x283)](this[_0x28d320(0x2e4)],[[_0xa0f1ba],[_0x1dc582[_0x28d320(0x33e)]],[_0x294d98],[_0x375bf7],[_0x1dc582[_0x28d320(0x10b)]],[_0x324e6d]]),this['_config'][_0x28d320(0x24b)]&&_0xdb2415['touchDependencies'](this[_0x28d320(0x2e4)],[[_0x34fedc]]);}},_0x1a1852(_0x1dc582['UniverCollaborationClientUIPlugin'],_0x41fa7f(0x162),_0x47be37),_0x1dc582[_0x41fa7f(0x206)]=_0x5528e4([_0xdb2415[_0x41fa7f(0x2f3)](_0x5a33af[_0x41fa7f(0x20b)]),_0x13a67b(0x1,_0x7c9b89['IRenderManagerService']),_0x13a67b(0x2,_0xdb2415['Inject'](_0xdb2415[_0x41fa7f(0x277)])),_0x13a67b(0x3,_0xdb2415[_0x41fa7f(0x2e9)])],_0x1dc582[_0x41fa7f(0x206)]);var _0x364f0d=Object[_0x41fa7f(0x194)],_0x4339a1=(_0x509204,_0x567b01,_0x52dd47,_0x21fa42)=>{const _0xf6279d=_0x41fa7f;for(var _0x4f1b5f=_0x21fa42>0x1?void 0x0:_0x21fa42?_0x364f0d(_0x567b01,_0x52dd47):_0x567b01,_0x4aa96c=_0x509204[_0xf6279d(0x26c)]-0x1,_0x47cf2d;_0x4aa96c>=0x0;_0x4aa96c--)(_0x47cf2d=_0x509204[_0x4aa96c])&&(_0x4f1b5f=_0x47cf2d(_0x4f1b5f)||_0x4f1b5f);return _0x4f1b5f;},_0x45667d=(_0x597f9c,_0x7a3f0f)=>(_0x382d27,_0x5edd2f)=>_0x7a3f0f(_0x382d27,_0x5edd2f,_0x597f9c);_0x1dc582[_0x41fa7f(0x342)]=class extends _0x5a33af['CollaborationSocketService']{constructor(_0x3aed87,_0x4fe7d4,_0x2efff3,_0x4d2a21,_0x39135d){super(_0x3aed87,_0x4fe7d4,_0x2efff3,_0x4d2a21,_0x39135d);}async[_0x41fa7f(0x30b)](_0x1806f7){const _0x2764ef=_0x41fa7f,_0x32fb4a=await this[_0x2764ef(0x227)](),_0x25f8bb=this[_0x2764ef(0x184)](_0x1806f7,_0x32fb4a);return this['_doCreateSocket'](_0x25f8bb);}[_0x41fa7f(0x184)](_0x3db489,_0x164be2){const _0x484359=_0x41fa7f,_0x1cc203=typeof window>'u'?new URL(_0x3db489):new URL(_0x3db489,window[_0x484359(0x1a3)][_0x484359(0x340)]);_0x1cc203[_0x484359(0x254)]['set'](_0x484359(0x19c),_0x164be2);const _0x5da1e4=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x484359(0x1a3)][_0x484359(0x1a1)]);return _0x5da1e4[_0x484359(0x3a4)]('runId')&&_0x1cc203[_0x484359(0x254)][_0x484359(0x238)](_0x484359(0x398),_0x5da1e4[_0x484359(0x3a4)](_0x484359(0x398))),_0x1cc203['toString']();}async[_0x41fa7f(0x227)](){const _0x24b064=_0x41fa7f;var _0x2eae72,_0x415cb6,_0x3bd7d4;const _0x4dd46f=this[_0x24b064(0x1ea)][_0x24b064(0x102)](_0x5a33af[_0x24b064(0x2cf)]),_0x5250c6=(_0x2eae72=_0x4dd46f==null?void 0x0:_0x4dd46f['wsSessionTicketUrl'])!=null?_0x2eae72:_0x5a33af[_0x24b064(0x293)];return(_0x3bd7d4=(_0x415cb6=(await this[_0x24b064(0x23e)][_0x24b064(0x3a4)](_0x5250c6,{'headers':{'Content-Type':_0x24b064(0x2d8)}}))['body'])==null?void 0x0:_0x415cb6[_0x24b064(0x237)])!=null?_0x3bd7d4:'';}},_0x1dc582[_0x41fa7f(0x342)]=_0x4339a1([_0x45667d(0x0,_0xdb2415[_0x41fa7f(0x37a)](_0xdb2415[_0x41fa7f(0x277)])),_0x45667d(0x1,_0xdb2415[_0x41fa7f(0x37a)](_0x553b7e[_0x41fa7f(0x258)])),_0x45667d(0x2,_0xdb2415['IConfigService']),_0x45667d(0x3,_0xdb2415['ILogService']),_0x45667d(0x4,_0x1b3789[_0x41fa7f(0x124)])],_0x1dc582[_0x41fa7f(0x342)]);var _0x59ee28=Object[_0x41fa7f(0x194)],_0x281e28=(_0x3a55d5,_0x5cd513,_0x3c0e7d,_0x23c344)=>{const _0x4631ad=_0x41fa7f;for(var _0x12af6e=_0x23c344>0x1?void 0x0:_0x23c344?_0x59ee28(_0x5cd513,_0x3c0e7d):_0x5cd513,_0x429573=_0x3a55d5[_0x4631ad(0x26c)]-0x1,_0x422264;_0x429573>=0x0;_0x429573--)(_0x422264=_0x3a55d5[_0x429573])&&(_0x12af6e=_0x422264(_0x12af6e)||_0x12af6e);return _0x12af6e;},_0x44b694=(_0x4024e7,_0x47428c)=>(_0xd7915c,_0x4c6b54)=>_0x47428c(_0xd7915c,_0x4c6b54,_0x4024e7);_0x1dc582[_0x41fa7f(0x17c)]=class extends _0xdb2415[_0x41fa7f(0x37d)]{constructor(_0x4aff2c,_0xa93a3,_0x56a8fa){const _0x3486aa=_0x41fa7f;super(),this[_0x3486aa(0x327)]=_0x4aff2c,this[_0x3486aa(0x23e)]=_0xa93a3,this['_configService']=_0x56a8fa;}async[_0x41fa7f(0x2ed)](_0x519ca9,_0x4f0267,_0x24764c,..._0x1d5cb9){const _0xf20930=_0x41fa7f;var _0x35dfa3,_0x5c69ae,_0x3ed102,_0x3252da;const _0x5f3ea8=this['_instanceService'][_0xf20930(0x2be)]();if(!_0x5f3ea8)throw new Error(_0xf20930(0x1c9));const _0x45f61e=((_0x35dfa3=this[_0xf20930(0x1ea)][_0xf20930(0x102)](_0x5a33af['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x35dfa3:_0x5a33af[_0xf20930(0x1b0)])+'/'+_0x519ca9+_0xf20930(0x3d1)+_0x4f0267,_0x1a7487=new URL(window[_0xf20930(0x1a3)][_0xf20930(0x2bf)]),_0x2c44bf={'scriptId':_0x519ca9,'runId':(_0x5c69ae=_0x1a7487[_0xf20930(0x254)][_0xf20930(0x3a4)](_0xf20930(0x398)))!=null?_0x5c69ae:'','function':_0x4f0267,'unitId':_0x5f3ea8[_0xf20930(0x225)](),'argsOfFunction':JSON[_0xf20930(0x109)](_0x1d5cb9),'invokeId':(_0x3ed102=_0x24764c[_0xf20930(0x3cd)])!=null?_0x3ed102:'','executionId':(_0x3252da=_0x24764c[_0xf20930(0x158)])!=null?_0x3252da:''};try{const _0x4c69a9=await this['_httpService'][_0xf20930(0x11a)](_0x45f61e,{'body':_0x2c44bf});return _0x4c69a9[_0xf20930(0x332)][_0xf20930(0x399)]&&_0x4c69a9[_0xf20930(0x332)][_0xf20930(0x399)]['code']!==_0x4edfd6['OK']?_0xf20930(0x1dc):_0x4c69a9[_0xf20930(0x332)]['result'];}catch{return'Failed';}}},_0x1dc582[_0x41fa7f(0x17c)]=_0x281e28([_0x44b694(0x0,_0xdb2415[_0x41fa7f(0x1b6)]),_0x44b694(0x1,_0xdb2415[_0x41fa7f(0x37a)](_0x553b7e[_0x41fa7f(0x258)])),_0x44b694(0x2,_0xdb2415[_0x41fa7f(0x2e9)])],_0x1dc582[_0x41fa7f(0x17c)]);const _0x42de53=0x7530,_0x218b7d=_0x41fa7f(0x18d);class _0x261f1a extends _0xdb2415[_0x41fa7f(0x37d)]{constructor(){const _0x21cce8=_0x41fa7f;super(),_0x356879(this,_0x21cce8(0x282),_0xdb2415['generateRandomId']()),_0x356879(this,_0x21cce8(0x16d),new Set()),_0x356879(this,_0x21cce8(0x12f),new Map()),_0x356879(this,_0x21cce8(0x36b),null),_0x356879(this,_0x21cce8(0x1f1),new Map()),_0x356879(this,_0x21cce8(0x29c),new Map()),this[_0x21cce8(0x33f)]();}[_0x41fa7f(0x1b9)](){const _0x29a2b1=_0x41fa7f;super['dispose'](),this[_0x29a2b1(0x1f1)][_0x29a2b1(0x270)]((_0xe3ecc0,_0x59a6ff)=>this[_0x29a2b1(0x355)](_0x59a6ff)),this[_0x29a2b1(0x36b)]&&window[_0x29a2b1(0x24c)](this[_0x29a2b1(0x36b)]);}['getUnitStatus$'](_0x26f305){const _0x1774ee=_0x41fa7f;return this[_0x1774ee(0x2ce)](_0x26f305)['pipe'](_0x5bb37b[_0x1774ee(0x30d)]());}[_0x41fa7f(0x1f3)](_0x414195){const _0x488543=_0x41fa7f;this['_selfUnitIDs'][_0x488543(0x26a)]===0x0&&this[_0x488543(0x15a)](),this[_0x488543(0x16d)][_0x488543(0x12e)](_0x414195),this[_0x488543(0x3bd)]({'type':0x0,'memberID':this[_0x488543(0x282)],'unitIDs':[_0x414195],'isForwarded':!0x1});}[_0x41fa7f(0x354)](_0x373628){const _0x4e3130=_0x41fa7f;this['_selfUnitIDs'][_0x4e3130(0x349)](_0x373628),this[_0x4e3130(0x16d)]['size']===0x0&&this[_0x4e3130(0x36b)]&&window[_0x4e3130(0x24c)](this[_0x4e3130(0x36b)]);}['_init'](){const _0x437664=_0x41fa7f;this[_0x437664(0x31e)](_0xdb2415[_0x437664(0x2eb)](_0x5bb37b['fromEvent'](window,_0x437664(0x386))[_0x437664(0x31f)](_0x38e7e9=>{const _0x811599=_0x437664;if(_0x38e7e9[_0x811599(0x370)]!==_0x218b7d||!_0x38e7e9['newValue'])return;const _0x5b0798=JSON[_0x811599(0x3be)](_0x38e7e9[_0x811599(0x272)]);this[_0x811599(0x38d)](_0x5b0798);}))),window[_0x437664(0x13a)]('unload',()=>this[_0x437664(0x3bd)]({'type':0x1,'memberID':this[_0x437664(0x282)],'unitIDs':Array[_0x437664(0x2a2)](this['_selfUnitIDs'])}));}[_0x41fa7f(0x38d)](_0x3751e3){const _0x54c512=_0x41fa7f;switch(_0x3751e3[_0x54c512(0x17a)]){case 0x0:this[_0x54c512(0x275)](_0x3751e3);break;case 0x1:this[_0x54c512(0x1de)](_0x3751e3);break;case 0x2:this['_handleHeartbeatEvent'](_0x3751e3);break;}}[_0x41fa7f(0x275)](_0x462b67){const _0x1a350a=_0x41fa7f,{unitIDs:_0xd458b5,memberID:_0x252617,isForwarded:_0x346dde}=_0x462b67;_0xd458b5[_0x1a350a(0x270)](_0x512f12=>{const _0x2b0d6c=_0x1a350a;if(!_0x346dde&&this['_unitOnClients'][_0x2b0d6c(0x246)](_0x512f12)&&this[_0x2b0d6c(0x2ce)](_0x512f12)[_0x2b0d6c(0x3b5)](_0x5a33af[_0x2b0d6c(0x2a3)]['OTHER_CLIENTS_EDITING']),!this[_0x2b0d6c(0x12f)]['has'](_0x512f12)||!this[_0x2b0d6c(0x12f)][_0x2b0d6c(0x3a4)](_0x512f12)[_0x2b0d6c(0x246)](_0x252617)){const _0x224a75=this[_0x2b0d6c(0x12f)][_0x2b0d6c(0x3a4)](_0x512f12)||new Set();_0x224a75[_0x2b0d6c(0x12e)](_0x252617),this[_0x2b0d6c(0x12f)]['set'](_0x512f12,_0x224a75),this['_scheduleClearOtherTimer'](_0x252617);}}),_0x346dde||this[_0x1a350a(0x3bd)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x41fa7f(0x3d3)](_0x1a5023){const _0xfca101=_0x41fa7f;this[_0xfca101(0x355)](_0x1a5023);const _0x25f389=window['setTimeout'](()=>{const _0x35e075=_0xfca101;this['_unitOnClients'][_0x35e075(0x270)](_0x4f793e=>{_0x4f793e['delete'](_0x1a5023);});},_0x42de53*0x2);this[_0xfca101(0x1f1)]['set'](_0x1a5023,_0x25f389);}[_0x41fa7f(0x355)](_0x321023){const _0x155fcc=_0x41fa7f;if(this[_0x155fcc(0x1f1)][_0x155fcc(0x246)](_0x321023)){const _0x3a3708=this[_0x155fcc(0x1f1)]['get'](_0x321023);_0x3a3708&&window['clearTimeout'](_0x3a3708),this['_clearOtherTimers'][_0x155fcc(0x238)](_0x321023,null);}}[_0x41fa7f(0x1de)](_0x15fe5d){const _0x413202=_0x41fa7f,{memberID:_0x215f72,unitIDs:_0xcc1c62}=_0x15fe5d;_0xcc1c62[_0x413202(0x270)](_0x12d464=>{const _0x586846=_0x413202;var _0x55af35;const _0x31de19=this['_unitOnClients']['get'](_0x12d464);_0x31de19&&(_0x31de19[_0x586846(0x349)](_0x215f72),(_0x55af35=this[_0x586846(0x2ce)](_0x12d464))==null||_0x55af35[_0x586846(0x3b5)](_0x31de19[_0x586846(0x26a)]===0x0?_0x5a33af[_0x586846(0x2a3)]['NO_OTHER_CLIENTS_EDITING']:_0x5a33af[_0x586846(0x2a3)]['OTHER_CLIENTS_EDITING']));}),this[_0x413202(0x355)](_0x215f72);}[_0x41fa7f(0x192)](_0x177751){const _0xb7f3bf=_0x41fa7f;this[_0xb7f3bf(0x3d3)](_0x177751['memberID']);}[_0x41fa7f(0x3bd)](_0x54180f){const _0x2c5bf2=_0x41fa7f;localStorage[_0x2c5bf2(0x126)](_0x218b7d,JSON[_0x2c5bf2(0x109)](_0x54180f));}[_0x41fa7f(0x15a)](){const _0x20ab4f=_0x41fa7f;this['_heartbeatTimer']=window[_0x20ab4f(0x1b1)](()=>{const _0xdb9a40=_0x20ab4f;this[_0xdb9a40(0x3bd)]({'type':0x2,'memberID':this['_id']});},_0x42de53);}[_0x41fa7f(0x2ce)](_0x3a211b){const _0x1960d6=_0x41fa7f;return this['_unitStatus']['has'](_0x3a211b)||this[_0x1960d6(0x29c)][_0x1960d6(0x238)](_0x3a211b,new _0x5bb37b['BehaviorSubject'](_0x5a33af['UnitStatus'][_0x1960d6(0x262)])),this[_0x1960d6(0x29c)][_0x1960d6(0x3a4)](_0x3a211b);}}_0x1dc582[_0x41fa7f(0x211)]=_0x2976d6,_0x1dc582[_0x41fa7f(0x15b)]=_0x2d04ac,_0x1dc582[_0x41fa7f(0x2c8)]=_0x261f1a,_0x1dc582[_0x41fa7f(0x100)]=_0x46c748,Object[_0x41fa7f(0x148)](_0x1dc582,Symbol[_0x41fa7f(0x261)],{'value':_0x41fa7f(0x25e)});}));function _0x5124(){const _0x1bb8d1=['CollaborationEvent','Injector','MoveRangeCommandId','_initDependencies','_range','sessionStatus$','_transformPreviousActiveRange','LICENSE_DISTRO_REJECTED','_univerInstanceService','isEditing','_eventUnsubscribe','unitID','_id','touchDependencies','RemoveColCommandId','takeUntil','_config','UniverDesign','isFormulaId','collaboration-client-ui.config','UniverNetwork','getSheetBySheetId','drawWith','operators','m2Prime','collabStatus.syncing','_collaborationUIEventService','TOO_MANY_REQUESTS','_onCursorDelete','DEFAULT_WS_SESSION_TICKET_URL','addHandlerCallback','_getMergeRange','UniverProCollaboration','UPDATE_CURSOR','currentSkeleton$','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','DocSelectionManagerService','beforeCommandExecuted','_unitStatus','_urlService','_docTransformIMECacheService','assignAColorForMemberID','_context','_colorAssignService','from','UnitStatus','getCollabCursors$','AWAITING_WITH_PENDING','idSuffix','_onCursorUpdate','on-line-icon_clip0_910_349','YUUMI_RATE_OVER_LIMIT','session.connection-failed','CollaborationUIEventId','APPLY_PERMISSION_DENIED','SetWorksheetActivateCommand','_localStorageService','transform','\x20at\x20','name','RegularPolygon','545FjkhmQ','sheetID','_entityInit$','updateOfflineData','_lastPointer','hovered','combineLatest','_sheetSkeletonManagerService','getCurrentRevOfUnit','getUndoRedoMutationParamsCache','_refRangeService','getFocusedUnit','href','all','@univerjs/engine-render','ColorKit','releaseFormulaLimitUrl','_draw','loadUnit','replace','_commandService','WebBrowserSingleActiveUnitService','SOCKET_FAILED','createInstance','amd','transformSelections','FromArray','_ensureSubject','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','React','stack','jsx','getColorFromTheme','REDEMPTION_CODE_INACTIVE','USER_NOT_INVITED_CODE','registerComponent','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','application/json','collabStatus.fetchMiss','UniverDrawing','functionsExecutedState','debounce','pushState','getRangePointData','SetSelectionsOperation','UniverDocsUi','_hovered','getValue','evenodd','_injector','77bvOmoT','onPointerEnter$','unshift','IRenderManagerService','IConfigService','PY_RUNTIME_SCRIPT_ERROR','toDisposable','_logService','runOnServer','72PBtcYb','defs','UniverInstanceType','setParam','replaceState','DependentOn','UNIVER_SHEET','textRanges','REDEMPTION_USER_REDEEM_TIMES_EXCEED','currentTheme$','code','getUnhiddenWorksheets','color','UniverCore','_setFormulaLimitStatus','CURRENT_STATUS_CANNOT_OPERATE','lineno','getParam','serializeRangeWithSheet','UNAUTHENTICATED','min','_setupSubUnitSync','LICENSE_IMPORT_SIZE_EXCEEDED','deepClone','_initCommandExecutedListener','join','mask','univer-mr-2\x20univer-flex\x20univer-text-xl','imageSourceType','createSocket','INTERNAL_ERROR','distinctUntilChanged','AUTHORIZE_CODE_ILLEGAL','font','object','map','2450kmDGwB','red.300','_docSkeletonManagerService','UNIVER_DOC','_entities','ENTITLE_CAN_NOT_BUY_LOWER_OTP','YUUMI_SUBSCRIPTION_NOT_FOUND','USER_NOT_FOUND','collabStatus.offline','_localCacheService','some','collaboration.closeRoom','disposeWithMe','subscribe','_notificationService','BuiltInUIPart','ENTITLE_NEED_BILLING_ADDRESS','fillStyle','Tooltip','getTypeOfUnitAdded$','_themeService','_instanceService','filename','string','4948074kPocyY','getCurrent','_startDocCollabCursor','getVpScrollXYInfoByPosToVp','SheetsSelectionsService','use','onLocalMutation','_textBubble','body','message','children','getCurrentUnitForType','_initCommandInterceptor','Unknown\x20user','IDocClipboardService','OnLineIcon','collab-text-anchor-','override','NOT_FOUND','cursorInfo$','DesktopCollaborationStatusDisplayController','_init','origin','ENTITLE_CHAT_LIMIT_EXCEED','BrowserCollaborationSocketService','INVALID_ARGUMENT','selections','debounceTime','1em','_anchor','InsertRowCommandId','delete','params','_showGuardMessage','getActiveSheet','current','_scheduleSaving','with','endColumn','requireSession','USER_IS_ANONYMOUS','@univerjs-pro/collaboration','disposeUnit','_removeClearOtherTimer','Vector2','handleIRemoveCol','MOBILE_HAS_BEEN_BOUND','setAlpha','column','bottom','maxFormulaLimit','formula.calculation.waiting','INotificationService','_disabled','random','REDEMPTION_INVALID_CODE','...','MUTATION','M0\x200H16V16H0z','rgba(255,\x20255,\x20255,\x200.01)','_currentUsage','dirtyRanges','handleMoveRange','_colorIndex','permission.content','_heartbeatTimer','data','FETCH_MISS','then','_cursorInfo$','key','flatMap','INVITE_CODE_HAS_BEEN_UES','Error','rxjs/operators','black','IBeforeCloseService','_getScale','history','row','Inject','43923vvNNxq','getAncestorScale','Disposable','m1Prime','ENTITLE_DUP_SUBSCRIPTION','arc','UniverEngineRender','SUCCESS','ILocalCacheService','1299949IITacC','contains','storage','_onRefRangeChange','handleInsertRangeMoveRight','ITransformService','_collabSessionService','subscribeEvent','Workbook','_handleEvent','moveTo','getMemberID','_getSaveTimeout','_shapes','unitId','transformMutation','debug','SetFormulaCalculationNotificationMutation','APPLY_REJECT','find','runId','error','/universer-api/license/formula/limit/status','values','_imageIoService','DocStateChangeManagerService','exports','DisposableCollection','PAYMENT_CHANNEL_NOT_SUPPORT','unit','createIdentifier','UniverDocs','get','_beforeCloseService','_pollingInterval','getColor','formula.calculation.unable','CONNECTOR_DATA_TOO_LARGE','getRenderById','reason','APPLY_NON_SEQUENTIAL_REVISION','registerRefRange','MOBILE_VERIFY_CODE_MISMATCH','@univerjs-pro/collaboration-client','_applyCommand','substring','findNodePositionByCharIndex','?taskId=','assign','next','_labelPosition','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getLocalCacheKey','MemberService','_initStatusListener','_registerRenderDependencies','IRemoteInstanceService','_send','parse','PENDING','clipPath','_startCalculationLimit','isFormulaString','getMember','_initWindowErrorListener','[Window\x20Error]:\x20','/universer-api/license/formula/limit/done','_dataLoaderService','mapTo','Rect','OTHER_CLIENT_EDITING','_transformService','url(#off-line-icon_clip0_910_343)','invokeId','throttleTime','RefRangeService','setShapeProps','/run/','totalFormulasToCalculate','_scheduleClearOtherTimer','_maxFormulaLimit','complete','_startSheetCollabCursor','max','INVALID_INVITE_CODE','reconnect','_roomMembers$','YUUMI_UNABLE_LOAD_URL','getStateCache','push','UniverRpc','currentColor','tag','LOGIN_TOKEN_PROCESSING_FAILED','roomMembers$','HEADER_MENU','transformRemoteChangeset','YUUMI_AI_RUN_FAILED','getCellPositionByOffset','getformulaLimitStatusUrl','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_docTransformStateCacheService','setStateCache','colno','_docClipboardService','WebURLService','collabStatus.synced','getConfig','lineTo','ICommandService','INVITE_CODE_REQUIRED','height','CollaborationSessionService','_saveCache','stringify','WebSocketService','CollaborationDataLoaderController','removeEventListener','useRef','UniverProCollaborationClient','_renderManagerService','_toggleOnline','_docSyncEditingCollabCursorService','_updateCollabCursors','session.collaboration-timeout','getRelativeToViewportCoord','LICENSE_MAX_UNITS_EXCEEDED','formula.calculation.started','_monkeyPatchLogService','entries','dispose$','post','SessionStatus','TRANSFORM_CHANGE_OBSERVABLE_TYPE','url(#$1','SYNCED','status$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_transformHistoryAndStateStack','REDEMPTION_USER_NOT_ELIGIBLE','getUniverSheetInstance','ISnapshotServerService','CHANGESET_REVISION_CONFILICT','setItem','USERS_LEAVE','Shape','text','startColumn','_anchorDot','stageInfo','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','add','_unitOnClients','addObject','RemoveRowCommandId','permission.title','labelPosition','_status$','_updateSubUnitFromURLParams','_uploadLog','startRow','loadOfflineData','InsertRangeMoveRightCommandId','addEventListener','APPLY_DUPLICATED','SNAPSHOT_INVALID_SNAPSHOT','function','getOffsetConfig','MessageType','syncEditingCollabCursor','_releaseCalculationLimit','OFFLINE','saveOfflineData','_collaborationController','docStateChange$','_document','50056eTZovF','defineProperty','_collabCursorState$','endRow','@univerjs/core','collabCursorState$','socket$','_uiPartsService','collabStatus.notCollab','univerjs-icon\x20univerjs-icon-','ALREADY_EXISTS','_docTransformSelectionsService','transformStateCache','range','[CollaborationDataLoaderController]','_drawTextRange','SUBMIT_CHANGESET_TIMEOUT','executionId','COLORS','_scheduleHeartbeat','SheetCollabCursorShape','_updateLocalCursor','clsx','isTransformMutationsWithChangesetSuccess','RECT','displayName','registerRenderModule','pluginName','NOT_COLLAB','now','ENTITLE_REPORT_LIMIT_EXCEED','fillText','trim','ENSURE_SNAPSHOT_EXECUTION','getSkeleton','IImageIoService','_refreshCollabCursors','0\x200\x2016\x2016','_selfUnitIDs','createElement','UNDEFINED','DocSkeletonManagerService','UNRECOGNIZED','executeCommand','event$','forwardRef','DATA_SOURCE_TOO_LARGE','engine','Warning','addClipboardHook','InsertRangeMoveDownCommandId','type','addObjects','RemoteUniscriptService','INVITE_CODE_ALREADY_BOUND','_removeCollabCursors','LocaleService','_handleHover','on-line-icon','VIEW_MAIN','beginPath','_createSocketURL','measureText','show','svg','_initEntityListener','ERROR_AGAIN','_memberID','fill','_getAnchorBounding','ACTIVE_UNIT_EVENT_CHANNEL','setConfig','CollaborationController','getSheetObject','onCommandExecuted','_handleHeartbeatEvent','makeDirty','getOwnPropertyDescriptor','green.600','round','_initStatusComponent','attrs','@univerjs/drawing','@univerjs/rpc','_syncEditingCollabCursorService','sessionTicket','defIds','switchMap','UniverUi','YUUMI_NO_CUBOID_FOR_QUESTION','search','_online','location','FormulaExecutedStateType','useDependency','_backgroundColor','REDEMPTION_CODE_FULLY_REDEEMED','deserializeRangeWithSheet','_cursors','TEXT','actions','restore','path','ENTITLE_INSUFFICIENT_QUOTA','CONFLICT','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','setInterval','setTimeout','currentUsage','@univerjs/sheets-ui','mutations','IUniverInstanceService','fromEventSubject','isActive','dispose','selection','_docStateChangeManagerService','_collabCursorController','backgroundColor','_memberService','collaboration-client.offline-data-not-saved','asObservable','ranges','collab-text-range-','sheetId','white','generateRandomId','[Unhandled\x20Rejection]:\x20','toRgbString','getSheetId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_getSheetObject','JOIN_ROOM_FAILED','send','startFormulaLimitUrl','_scene','getCoordByCell','eventID','RxDisposable','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','focused$','_toggleOffline','width','_color','redoState','_localeService','ONLINE','Tools','_messageService','Failed','getCellMatrix','_handleLeaveEvent','EffectRefRangId','getMergeData','_setupBeforeClosingHandler','parseInt','Success','isTransformMutationFailure','doc.mutation.rich-text-editing','[LogService\x20Error]:\x20','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','transformIMECache','DOC_RANGE_TYPE','_configService','YUUMI_URL_COL_OUT_OF_RANGE','_lastResponseTimestamp','DataLoaderService','activeSheet$','CollaborationStatus','CommandType','_clearOtherTimers','off-line-icon_clip0_910_343','editingUnit','roomMembers','source','cursorInfo','xlink:href','CLOSE_ROOM','_hover','DeleteRangeMoveLeftCommandId','_cachedData','_clearPolling','onPointerLeave$','4837437hZMydU','collab-client.tooltip.reconnect','4391076tdCpfc','disableLocalCache','_transformUndoRedoStack','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','BehaviorSubject','COMPLETION_FINISHED','UniverCollaborationClientUIPlugin','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','entityInit$','top','18916aZhJhr','UniverCollaborationClientPlugin','_assignedColors','react','SetFormulaCalculationStartMutation','TEXT_RANGE_LAYER_INDEX','_registerDependencies','IURLService','none','_cursor','onRendered','div','UniverIcon','registerBeforeClose','skeleton','isArray','FormulaExecuteStageType','_checkCalculationAvailable','_initUserListener','includes','_cursorShapes','PERMISSION_DENIED','_saveTaskMap','_collaborationSessionService','DocCollaborationEntity','Optional','useObservable','getUnitId','_render','_getSessionTicket','session.will-retry','transformMutationsWithChangeset','@univerjs/ui','SNAPSHOT_HAS_BEEN_REMOVED','toString','_drawAnchor','handleIRemoveRow','init','ILogService','_initUnhandledRejectionListener','filter','enableLocalCache','_name','SheetSkeletonManagerService','symbol','ticket','set','_hideTimer','purple.300','@univerjs/engine-formula','exhaustSavingTask','REDEMPTION_CODE_NOT_STARTED','_httpService','save','getTypeOfUnitDisposed$','DocIMEInputManagerService','getUnit','#FFF','unhandledrejection','_initEvent','has','_updateURLWithCurrentState','UniverSheetsUi','getViewport','_session','enableFrontendLog','clearInterval','UniverProCollaborationClientUi','_drawRectRange','subunit','APPLY_REVISION_CONFILICT','mergeOverrideWithDependencies','_revisionService','YUUMI_ALL_TABLES_IS_INVALID','searchParams','saveTaskMap','urlChange$','limitInfo','HTTPService','onMouseMove','_initResize','WECHAT_HAS_BEEN_BOUND','pipe','IMessageService','Module','merge','_hasFormulaInDirtyRanges','toStringTag','NO_OTHER_CLIENTS_EDITING','EMAIL_VERIFY_CODE_MISMATCH','http://www.w3.org/2000/svg','bind','@univerjs/network','colorChannel1','_taskIds','uni.network.url-service','size','SOCKET_FAILED_RETRY','length','@univerjs/sheets','REDEMPTION_CODE_HAS_BEEN_CREATED','YUUMI_CONNECTOR_URL_NOT_FOUND','forEach','saveImage','newValue','setUndoRedoMutationParamsCache','_getFormulaLimitStatus','_handleJoinEvent'];_0x5124=function(){return _0x1bb8d1;};return _0x5124();}
|