@univerjs-pro/collaboration-client-ui 0.12.2-nightly.202511290732 → 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 +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x3d56(_0x485b49,_0x5eefec){const _0x5cddb5=_0x5cdd();return _0x3d56=function(_0x3d56c5,_0x54aa3d){_0x3d56c5=_0x3d56c5-0xda;let _0x5f1c5f=_0x5cddb5[_0x3d56c5];return _0x5f1c5f;},_0x3d56(_0x485b49,_0x5eefec);}function _0x5cdd(){const _0x3f724b=['removeEventListener','121618EyahJy','_maxFormulaLimit','handleMoveRange','_uploadLog','Injector','white','getCollabCursors$','RxDisposable','push','transformMutation','_session','_shapes','textRanges','Optional','UNRECOGNIZED','_onCursorDelete','_beforeCloseService','takeUntil','_setFormulaLimitStatus','updateOfflineData','_textBubble','_entityInit$','ILogService','toDisposable','_checkAndWaitForCalculationPermission','moveTo','bottom','getOwnPropertyDescriptor','_render','_uiPartsService','MOBILE_VERIFY_CODE_MISMATCH','_transformService','React','roomMembers$','setItem','_releaseCalculationLimit','Vector2','MessageType','_onCursorUpdate','WebSocketService','_updateSubUnitFromURLParams','CONNECTOR_DATA_TOO_LARGE','_localeService','INTERNAL_ERROR','_ensureSubject','EMAIL_HAS_BEEN_BOUND','location','switchMap','executionId','getCellPositionByOffset','UNIVER_SHEET','message','[CollaborationDataLoaderController]','clearInterval','pipe','getVpScrollXYInfoByPosToVp','_initResize','_toggleOnline','[RemoteUniscriptService]:\x20no\x20focused\x20unit','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','init','substring','MUTATION','AWAITING','UniverInstanceType','params','_getScale','REDEMPTION_USER_REDEEM_TIMES_EXCEED','replace','toStringTag','getRelativeToViewportCoord','_dataLoaderService','parseInt','setTimeout','UniverNetwork','getMemberID','symbol','FormulaExecuteStageType','NodePositionConvertToCursor','_labelPosition','SOCKET_FAILED_RETRY','INVALID_ARGUMENT','source','on-line-icon','undoState','_handleHover','USER_IS_ANONYMOUS','url(#$1','_commandService','_unitOnClients','NOT_COLLAB','useRef','actions','collab-text-range-','UniverDrawing','_transformPreviousActiveRange','_monkeyPatchLogService','_startCalculationLimit','fillText','sheetID','defIds','addClipboardHook','BrowserCollaborationSocketService','CONFLICT','href','transformStateCache','getAncestorScale','LICENSE_DISTRO_REJECTED','distinctUntilChanged','_notificationService','key','replaceState','getSheetBySheetId','stack','Unknown\x20user','_startDocCollabCursor','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','COMPLETION_FINISHED','1em','WebURLService','restore','registerRenderModule','hide','row','_handleHeartbeatEvent','CollaborationController','limitInfo','SetDocZoomRatioOperation','CollaborationSocketService','PENDING','SetSelectionsOperation','_cursor','colorChannel1','_hasFormulaInDirtyRanges','TEXT_RANGE_LAYER_INDEX','red.300','bind','random','Rectangle','CollaborationDataLoaderController','unitId','@univerjs/core','_getSaveTimeout','SetFormulaCalculationNotificationMutation','saveTaskMap','FETCH_MISS','size','delete','_colorIndex','NodePositionConvertToRectRange','subunit','react/jsx-runtime','MemberService','disposeUnit','saveImage','ENTITLE_CAN_NOT_BUY_LOWER_OTP','TRANSFORM_CHANGE_OBSERVABLE_TYPE','addObjects','_clearOtherTimers','collabStatus.syncing','EMAIL_VERIFY_CODE_MISMATCH','DocSelectionManagerService','_lastPointer','sheetId','ERROR_AGAIN','_init','text','_applyCommand','getCellMatrix','transformIMECache','set','reconnect','ThemeService','m1Prime','fromEvent','YUUMI_CONNECTOR_URL_NOT_FOUND','REDEMPTION_CODE_HAS_BEEN_CREATED','Tools','defineProperty','entries','ISnapshotServerService','IUIPartsService','collaboration.single-unit.warning','debounce','registerRefRange','_initUnhandledRejectionListener','_createSocketURL','LOCAL_CACHE_INTERVAL','toRgbString','USERS_LEAVE','getSheetObject','forwardRef','TOO_MANY_REQUESTS','height','measureText','YUUMI_RATE_OVER_LIMIT','onStarting','LOGIN_TOKEN_PROCESSING_FAILED','then','focused$','_disabled','result','YUUMI_TABLE_NOT_FOUND_IN_UNIT','invokeId','getColorFromTheme','Shape','path','runOnServer','dispose$','isArray','children','jsxs','SetWorksheetActivateCommand','contains','_lastResponseTimestamp','add','YUUMI_URL_COL_OUT_OF_RANGE','url(#on-line-icon_clip0_910_349)','enableFrontendLog','EffectRefRangId','_handleJoinEvent','_urlService','none','join','removeParam','_univerInstanceService','_cursors','SUCCESS','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','UniverCore','stageInfo','INVITE_CODE_REQUIRED','on-line-icon_clip0_910_349','throttleTime','_cursorShapes','IBeforeCloseService','endColumn','getSkeleton','hovered','univerjs-icon\x20univerjs-icon-','selections','_initEvent','event$','UniverCollaborationClientUIPlugin','unitID','asObservable','DeleteRangeMoveUpCommandId','clsx','_updateURLWithCurrentState','ENTITLE_DUP_SUBSCRIPTION','YUUMI_UNABLE_LOAD_URL','ranges','drawWith','DocStateChangeManagerService','_collabCursorController','REDEMPTION_CODE_NOT_STARTED','xlink:href','REDEMPTION_USER_NOT_ELIGIBLE','handleInsertRow','INVALID_INVITE_CODE','0\x200\x2017\x2016','arc','RevisionService','IDocClipboardService','UNAUTHENTICATED','m2Prime','_updateCollabCursors','RECT','@univerjs/docs-ui','_sheetSkeletonManagerService','Error','#FFF','_docTransformSelectionsService','_send','_docTransformStateCacheService','NOT_FOUND','addObject','forEach','top','isTransformMutationFailure','_injector','setConfig','handleIRemoveCol','getUnitId','flatMap','_hovered','getConfig','_cursorInfo$','totalFormulasToCalculate','transformRemoteChangeset','trim','IURLService','_document','PAYMENT_CHANNEL_NOT_SUPPORT','column','YUUMI_ALL_TABLES_IS_INVALID','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','WebBrowserSingleActiveUnitService','jiqing.500','dispose','@univerjs/docs','USER_NOT_FOUND','_assignedColors','next','_unitStatus','_messageService','619576APzBJp','currentTheme$','RemoteUniscriptService','onTransformChange$','_saveCache','defs','Rect','Plugin','_status$','collaboration-client-ui.config','_themeService','saveOfflineData','INVITE_CODE_ALREADY_BOUND','_transformHistoryAndStateStack','_scene','_entities','DOC_RANGE_TYPE','CollaborationStatus','assign','_refRangeService','_instanceService','unsubscribe','doc.mutation.rich-text-editing','/universer-api/license/formula/limit/start','_removeCollabCursors','debug','_selfUnitIDs','stringify','IRenderManagerService','_getSessionTicket','_scheduleHeartbeat','OTHER_CLIENTS_EDITING','SUBMIT_CHANGESET_TIMEOUT','[LogService\x20Error]:\x20','from','makeDirty','_getMergeRange','function','DesktopCollaborationStatusDisplayController','@univerjs/rpc','816954UQpAjo','_getAnchorBounding','REDEMPTION_INVALID_CODE','@univerjs/sheets-ui','skeleton','current','_initDependencies','_registerRenderDependencies','_getSheetObject','closePath','@univerjs/ui','reason','newValue','merge','createSocket','max','SheetsSelectionsService','releaseFormulaLimitUrl','startRow','ITransformService','syncEditingCollabCursor','OFFLINE','runId','_docClipboardService','setParam','MOBILE_HAS_BEEN_BOUND','COLORS','generateRandomId','startColumn','debounceTime','show','NO_OTHER_CLIENTS_EDITING','filter','pluginName','_collabCursorState$','replaceDocRanges','_colorAssignService','width','getCurrentSelections','_drawTextRange','getParam','_initStatusListener','toString','isFormulaString','_docSyncEditingCollabCursorService','_toggleOffline','@univerjs-pro/collaboration','handleInsertRangeMoveRight','RichTextEditingMutation','use','getUnit','rgba(255,\x20255,\x20255,\x200.01)','sessionTicket','ONLINE','getRangePointData','SessionStatus','YUUMI_NO_CUBOID_FOR_QUESTION','ALREADY_EXISTS','UNIVER_DOC','_initCommandExecutedListener','ColorKit','onRendered','UPDATE_CURSOR','pushState','onCommandExecuted','START_CALCULATION','handleInsertCol','exhaustSavingTask','now','_hideTimer','override','fillStyle','Module','session.will-retry','UniverRpc','onPointerLeave$','entityInit$','rxjs','ICommandService','requireSession','UniverProCollaborationClientUi','CanceledError','TEXT','BuiltInUIPart','getUndoRedoMutationParamsCache','_setupSubUnitSync','@univerjs/sheets','session.collaboration-timeout','_anchor','HEADER_MENU','code','addEventListener','filename','univer-flex\x20univer-items-center','useDependency','REDEMPTION_CODE_FULLY_REDEEMED','REDEMPTION_CODE_INACTIVE','serializeRangeWithSheet','IRemoteInstanceService','collaboration-client.offline-data-not-saved','ISocketService','_onRefRangeChange','eventID','mutations','history','post','transformSelections','loadOfflineData','_getFormulaLimitStatus','green.600','clipPath','Warning','YUUMI_AI_RUN_FAILED','subscribeEvent','434738creVHm','CollaborationSessionService','UniverDocsUi','dirtyRanges','_heartbeatTimer','@univerjs/design','setInterval','CHANGESET_REVISION_CONFILICT','SHEET_VIEWPORT_KEY','SYNCED','collabStatus.offline','ENSURE_SNAPSHOT_EXECUTION','Disposable','DeleteRangeMoveLeftCommandId','has','useCallback','_docTransformIMECacheService','mask','_refreshCollabCursors','RemoveRowCommandId','engine','session.connection-failed','font','setAlpha','blue.400','complete','Workbook','UNDEFINED','IConfigService','_localCacheService','CollaborationEvent','send','executeCommand','getCurrentUnitForType','idSuffix','handleDeleteRangeMoveUp','_renderManagerService','_initUserListener','getStateCache','_logService','isTransformMutationsWithChangesetSuccess','[Unhandled\x20Rejection]:\x20','DocIMEInputManagerService','_handleLeaveEvent','search','round','getSheetId','getCollabEntity$','subscribe','DataLoaderService','collaboration.closeRoom','uni.network.url-service','_pollingInterval','whenReady','_memberID','tag','VIEW_MAIN','_scheduleClearOtherTimer','_updateLocalCursor','memberID','shift','evenodd','_name','imageSourceType','RefRangeService','UniverDocs','body','off-line-icon_clip0_910_343','isActive','_saveTaskMap','collabCursorState$','displayName','setActiveRange','APPLY_NON_SEQUENTIAL_REVISION','http://www.w3.org/2000/svg','_configService','application/json','?taskId=','data','backgroundColor','APPLY_REVISION_CONFILICT','1932126TeGghP','0\x200\x2016\x2016','USER_NOT_INVITED_CODE','_localStorageService','RegularPolygon','split','_removeClearOtherTimer','_roomMembers$','SNAPSHOT_INVALID_SNAPSHOT','cursorInfo$','_initEntityListener','_startSheetCollabCursor','selection','_setupBeforeClosingHandler','permission.title','CollaborationUIEventService','object','error','exports','ENTITLE_INSUFFICIENT_QUOTA','length','_handleEvent','25VPoIBp','combineLatest','formula.calculation.waiting','some','CURRENT_STATUS_CANNOT_OPERATE','Failed','OnLineIcon','loadUnit','_currentUsage','onPointerMove$','_drawAnchor','_httpService','enableLocalCache','_range','registerComponent','fillRule','map','CollaborationUIEventId','_checkCalculationAvailable','clearTimeout','div','unshift','functionsExecutedState','/run/','getMergeData','UnitStatus','attrs','DocSkeletonManagerService','SheetCollabCursorShape','_scheduleSaving','InsertRowCommandId','assignAColorForMemberID','BehaviorSubject','_docSkeletonManagerService','getformulaLimitStatusUrl','1564640ZvkdCX','with','maxFormulaLimit','_syncEditingCollabCursorService','save','PERMISSION_DENIED','LOGIN_FAILED','url(#off-line-icon_clip0_910_343)','_registerDependencies','_hover','getActiveRange','127932bfXXYz','_collaborationController','_initStatusComponent','color','name','APPLY_DUPLICATED','Inject','OTHER_CLIENT_EDITING','@univerjs/engine-render','collab-text-anchor-','transformByState','runRefRangeMutations','translate(.97)','_id','stage','get','transformMutationsWithChangeset','UniverIcon','_color','APPLY_REJECT','fill','getOffsetConfig','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_drawRectRange','unit','_config','getRenderById','Subject','unhandledrejection','amd','labelPosition','resize','collabStatus.fetchMiss','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','DocCollaborationEntity','storage','_memberService','LICENSE_MAX_UNITS_EXCEEDED','_cachedData','IUniverInstanceService','LICENSE_IMPORT_SIZE_EXCEEDED','_online','searchParams','IMessageService','redoState','createIdentifier','origin','getFocusedUnit','@univerjs/network','_collabSessionService','min','INVITE_CODE_HAS_BEEN_UES','purple.300','setUndoRedoMutationParamsCache','UniverEngineFormula','useObservable','@univerjs-pro/collaboration-client','collabStatus.notCollab','jsx','_draw','LICENSE_EXPORT_SIZE_EXCEEDED','IImageIoService','getActiveSheet','_backgroundColor','startsWith','LocaleService','getViewport','yellow.400','disableLocalCache','getColor','...','HTTPService','YUUMI_SUBSCRIPTION_NOT_FOUND','WECHAT_HAS_BEEN_BOUND','createElement','string','_docStateChangeManagerService','cursorInfo','PY_RUNTIME_SCRIPT_ERROR','collabStatus.synced','_initWindowErrorListener','disposeWithMe','_collaborationSessionService','onMouseMove','urlChange$','subUnitId','onPointerEnter$','APPLY_PERMISSION_DENIED','beginPath','getDocRanges','RemoveColCommandId','black','getItem','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','DEFAULT_WS_SESSION_TICKET_URL','findNodePositionByCharIndex','ENTITLE_NEED_BILLING_ADDRESS','InsertRangeMoveRightCommandId','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','shareReplay','AUTHORIZE_CODE_ILLEGAL','Loading','FormulaExecutedStateType','deserializeRangeWithSheet','_anchorDot','lineTo','values','touchDependencies','_revisionService','collab-client.tooltip.reconnect','isEditing','socket$','_showGuardMessage','univer-mr-2\x20univer-flex\x20univer-text-xl','deepClone','DATA_SOURCE_TOO_LARGE','_initCommandInterceptor','createInstance','_context','getCoordByCell','_eventUnsubscribe','range','connectInjector','_taskIds','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','endRow','roomMembers','OffLineIcon','getValue','getCurrentRevOfUnit','_clearPolling','SNAPSHOT_HAS_BEEN_REMOVED','getMember','handleDeleteRangeMoveLeft','FromArray','registerDependencies','setShapeProps','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','YUUMI_ASYNCIO_CANCELLED','MoveRangeCommandId','type'];_0x5cdd=function(){return _0x3f724b;};return _0x5cdd();}(function(_0x560802,_0x389100){const _0x511be6=_0x3d56,_0x47e40f=_0x560802();while(!![]){try{const _0x58fbb4=parseInt(_0x511be6(0x12a))/0x1+-parseInt(_0x511be6(0x1c4))/0x2+parseInt(_0x511be6(0x215))/0x3+-parseInt(_0x511be6(0x259))/0x4+parseInt(_0x511be6(0x22b))/0x5*(-parseInt(_0x511be6(0x152))/0x6)+-parseInt(_0x511be6(0x2e8))/0x7+parseInt(_0x511be6(0x24e))/0x8;if(_0x58fbb4===_0x389100)break;else _0x47e40f['push'](_0x47e40f['shift']());}catch(_0x3ed30a){_0x47e40f['push'](_0x47e40f['shift']());}}}(_0x5cdd,0x7cebd),function(_0x13a225,_0xb99651){const _0x34743e=_0x3d56;typeof exports==_0x34743e(0x225)&&typeof module<'u'?_0xb99651(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==_0x34743e(0x14f)&&define[_0x34743e(0x276)]?define([_0x34743e(0x227),_0x34743e(0x37f),_0x34743e(0x292),_0x34743e(0x375),_0x34743e(0x15c),_0x34743e(0x19f),_0x34743e(0x1c9),'react',_0x34743e(0x151),_0x34743e(0x1a8),_0x34743e(0x261),_0x34743e(0x28a),_0x34743e(0x104),'@univerjs/drawing',_0x34743e(0x180),_0x34743e(0x124),'@univerjs/engine-formula','rxjs/operators',_0x34743e(0x155)],_0xb99651):(_0x13a225=typeof globalThis<'u'?globalThis:_0x13a225||self,_0xb99651(_0x13a225[_0x34743e(0x1a2)]={},_0x13a225[_0x34743e(0x308)],_0x13a225['UniverProCollaborationClient'],_0x13a225[_0x34743e(0xdd)],_0x13a225['UniverUi'],_0x13a225[_0x34743e(0x19f)],_0x13a225['UniverDesign'],_0x13a225[_0x34743e(0x308)],_0x13a225[_0x34743e(0x19c)],_0x13a225['UniverSheets'],_0x13a225['UniverEngineRender'],_0x13a225[_0x34743e(0x332)],_0x13a225[_0x34743e(0x1c6)],_0x13a225[_0x34743e(0x346)],_0x13a225['UniverProCollaboration'],_0x13a225[_0x34743e(0x205)],_0x13a225[_0x34743e(0x290)],_0x13a225['rxjs']['operators'],_0x13a225['UniverSheetsUi']));}(this,function(_0x42c0de,_0x25213b,_0x59d2d1,_0x50235c,_0x9fcbd4,_0x4c6442,_0x775e7b,_0x21a17a,_0xd9ac66,_0x4cd203,_0x1a4c38,_0x5751e7,_0x2d3daa,_0x265313,_0x482dc8,_0x4a4656,_0x5554c2,_0x1611fd,_0x5a2d49){'use strict';const _0x43ec4c=_0x3d56;var _0x28dca1=Object[_0x43ec4c(0x39a)],_0x2adf5d=(_0xdddde5,_0x2a95fe,_0x503bb7)=>_0x2a95fe in _0xdddde5?_0x28dca1(_0xdddde5,_0x2a95fe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x503bb7}):_0xdddde5[_0x2a95fe]=_0x503bb7,_0x4cf7ca=(_0x439717,_0x56bebc,_0x1f334f)=>_0x2adf5d(_0x439717,typeof _0x56bebc!=_0x43ec4c(0x334)?_0x56bebc+'':_0x56bebc,_0x1f334f);function _0x1530e0({ref:_0x2c6588,..._0x1d5359}){const _0x106f1b=_0x43ec4c,{icon:_0x13ebac,id:_0x183bf0,className:_0x206497,extend:_0x107405,..._0x285415}=_0x1d5359,_0x26e031=(_0x106f1b(0xe7)+_0x183bf0+'\x20'+(_0x206497||''))[_0x106f1b(0x11a)](),_0x2efc34=_0x21a17a[_0x106f1b(0x343)]('_'+_0x2ead08());return _0x2f54ae(_0x13ebac,''+_0x183bf0,{'defIds':_0x13ebac[_0x106f1b(0x34c)],'idSuffix':_0x2efc34[_0x106f1b(0x157)]},{'ref':_0x2c6588,'className':_0x26e031,..._0x285415},_0x107405);}function _0x2f54ae(_0x22c9ea,_0x262148,_0x1586b8,_0x1092ef,_0x244b70){const _0xce2385=_0x43ec4c;return _0x21a17a[_0xce2385(0x2a4)](_0x22c9ea[_0xce2385(0x1fb)],{'key':_0x262148,..._0xb28f52(_0x22c9ea,_0x1586b8,_0x244b70),..._0x1092ef},(_0x3f8697(_0x22c9ea,_0x1586b8)[_0xce2385(0x3ba)]||[])[_0xce2385(0x23b)]((_0x22441f,_0x1912a3)=>_0x2f54ae(_0x22441f,_0x262148+'-'+_0x22c9ea[_0xce2385(0x1fb)]+'-'+_0x1912a3,_0x1586b8,void 0x0,_0x244b70)));}function _0xb28f52(_0x76ce9a,_0x4d8958,_0x5d9cf4){const _0x4ef834=_0x43ec4c,_0x132a0f={..._0x76ce9a[_0x4ef834(0x245)]};_0x5d9cf4!=null&&_0x5d9cf4[_0x4ef834(0x36c)]&&_0x132a0f['fill']==='colorChannel1'&&(_0x132a0f[_0x4ef834(0x26d)]=_0x5d9cf4[_0x4ef834(0x36c)]),_0x76ce9a[_0x4ef834(0x1fb)]===_0x4ef834(0x1d5)&&_0x132a0f['id']&&(_0x132a0f['id']=_0x132a0f['id']+_0x4d8958[_0x4ef834(0x1e6)]),Object[_0x4ef834(0x39b)](_0x132a0f)[_0x4ef834(0x10d)](([_0x281e61,_0x4e5f55])=>{const _0x3db007=_0x4ef834;_0x281e61===_0x3db007(0x1d5)&&typeof _0x4e5f55==_0x3db007(0x2a5)&&(_0x132a0f[_0x281e61]=_0x4e5f55[_0x3db007(0x32c)](/url\(#(.*)\)/,_0x3db007(0x33f)+_0x4d8958[_0x3db007(0x1e6)]+')'));});const {defIds:_0x566ac6}=_0x4d8958;return!_0x566ac6||_0x566ac6[_0x4ef834(0x229)]===0x0||(_0x76ce9a[_0x4ef834(0x1fb)]===_0x4ef834(0x183)&&_0x132a0f[_0x4ef834(0xf8)]&&(_0x132a0f['xlink:href']=_0x132a0f[_0x4ef834(0xf8)]+_0x4d8958['idSuffix']),Object[_0x4ef834(0x39b)](_0x132a0f)['forEach'](([_0x15e877,_0x3d66b0])=>{const _0x2b5c35=_0x4ef834;typeof _0x3d66b0=='string'&&(_0x132a0f[_0x15e877]=_0x3d66b0[_0x2b5c35(0x32c)](/url\(#(.*)\)/,_0x2b5c35(0x33f)+_0x4d8958[_0x2b5c35(0x1e6)]+')'));})),_0x132a0f;}function _0x3f8697(_0x25dff3,_0x5e140f){const _0x3134ef=_0x43ec4c;var _0x21dbab;const {defIds:_0x3843e8}=_0x5e140f;return!_0x3843e8||_0x3843e8[_0x3134ef(0x229)]===0x0?_0x25dff3:_0x25dff3[_0x3134ef(0x1fb)]==='defs'&&((_0x21dbab=_0x25dff3['children'])!=null&&_0x21dbab[_0x3134ef(0x229)])?{..._0x25dff3,'children':_0x25dff3['children'][_0x3134ef(0x23b)](_0x1196b6=>typeof _0x1196b6['attrs']['id']=='string'&&_0x3843e8&&_0x3843e8['includes'](_0x1196b6[_0x3134ef(0x245)]['id'])?{..._0x1196b6,'attrs':{..._0x1196b6[_0x3134ef(0x245)],'id':_0x1196b6[_0x3134ef(0x245)]['id']+_0x5e140f['idSuffix']}}:_0x1196b6)}:_0x25dff3;}function _0x2ead08(){const _0x5d25e6=_0x43ec4c;return Math[_0x5d25e6(0x371)]()[_0x5d25e6(0x17c)](0x24)[_0x5d25e6(0x325)](0x2,0x8);}_0x1530e0[_0x43ec4c(0x20b)]=_0x43ec4c(0x26a);const _0x1d6b30={'tag':'svg','attrs':{'xmlns':_0x43ec4c(0x20e),'fill':'none','viewBox':_0x43ec4c(0x216),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x43ec4c(0x255)},'children':[{'tag':_0x43ec4c(0x3b6),'attrs':{'stroke':'currentColor','d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x43ec4c(0x1f1),'strokeLinejoin':_0x43ec4c(0x1f1),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x43ec4c(0x1c0),'attrs':{'id':_0x43ec4c(0x207)},'children':[{'tag':_0x43ec4c(0x3b6),'attrs':{'fill':_0x43ec4c(0x2ed),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x43ec4c(0x207)]},_0x1e2a2e=_0x21a17a[_0x43ec4c(0x3a7)](function(_0x38261e,_0x162e1a){const _0x4b8a53=_0x43ec4c;return _0x21a17a[_0x4b8a53(0x2a4)](_0x1530e0,Object[_0x4b8a53(0x13c)]({},_0x38261e,{'id':'off-line-icon','ref':_0x162e1a,'icon':_0x1d6b30}));});_0x1e2a2e[_0x43ec4c(0x20b)]=_0x43ec4c(0x2d9);const _0x19447c={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x43ec4c(0x3c6),'viewBox':_0x43ec4c(0xfc),'width':_0x43ec4c(0x35e),'height':_0x43ec4c(0x35e)},'children':[{'tag':'g','attrs':{'clipPath':_0x43ec4c(0x3c1)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x43ec4c(0x120),'strokeLinecap':'round','strokeLinejoin':_0x43ec4c(0x1f1),'strokeWidth':1.2}}]},{'tag':_0x43ec4c(0x12f),'attrs':{},'children':[{'tag':_0x43ec4c(0x1c0),'attrs':{'id':_0x43ec4c(0xe0)},'children':[{'tag':'path','attrs':{'fill':_0x43ec4c(0x2ed),'d':'M0\x200H16V16H0z','transform':_0x43ec4c(0x265)}}]}]}],'defIds':[_0x43ec4c(0xe0)]},_0x26453e=_0x21a17a[_0x43ec4c(0x3a7)](function(_0x54a5b3,_0x464a2b){const _0x23a344=_0x43ec4c;return _0x21a17a[_0x23a344(0x2a4)](_0x1530e0,Object[_0x23a344(0x13c)]({},_0x54a5b3,{'id':_0x23a344(0x33b),'ref':_0x464a2b,'icon':_0x19447c}));});_0x26453e[_0x43ec4c(0x20b)]=_0x43ec4c(0x231);function _0x38b922(_0x2a19de){const _0xeb4275=_0x43ec4c;switch(_0x2a19de){case _0x59d2d1[_0xeb4275(0x13b)]['OFFLINE']:return _0xeb4275(0x1ce);case _0x59d2d1[_0xeb4275(0x13b)][_0xeb4275(0x34f)]:return'collabStatus.conflict';case _0x59d2d1[_0xeb4275(0x13b)][_0xeb4275(0x379)]:return _0xeb4275(0x279);case _0x59d2d1[_0xeb4275(0x13b)]['NOT_COLLAB']:return _0xeb4275(0x293);case _0x59d2d1['CollaborationStatus'][_0xeb4275(0x327)]:case _0x59d2d1['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0xeb4275(0x387);case _0x59d2d1[_0xeb4275(0x13b)][_0xeb4275(0x1cd)]:case _0x59d2d1[_0xeb4275(0x13b)][_0xeb4275(0x369)]:return _0xeb4275(0x2a9);}}function _0x59bcd5(_0x170068){const _0x3b63d9=_0x43ec4c,{status$:_0x34d7d2}=_0x170068,_0x5691b2=_0x9fcbd4[_0x3b63d9(0x291)](_0x34d7d2,_0x59d2d1[_0x3b63d9(0x13b)][_0x3b63d9(0x342)]),_0x5ac01d=_0x9fcbd4[_0x3b63d9(0x1b0)](_0x50235c[_0x3b63d9(0x29b)]),_0x1f4c6a=_0x9fcbd4[_0x3b63d9(0x1b0)](_0x59d2d1[_0x3b63d9(0x1c5)]),_0x4960a6=_0x5691b2!==_0x59d2d1[_0x3b63d9(0x13b)][_0x3b63d9(0x167)],_0x318fa1=_0x5ac01d['t'](_0x38b922(_0x5691b2)),_0xfebefc=_0x4960a6?_0x25213b['jsx'](_0x26453e,{}):_0x25213b[_0x3b63d9(0x294)](_0x1e2a2e,{}),_0x4084b3=_0x21a17a[_0x3b63d9(0x1d3)](()=>{const _0x34f47c=_0x3b63d9;_0x4960a6||_0x1f4c6a[_0x34f47c(0x393)]();},[_0x4960a6,_0x1f4c6a]);function _0xd724ff(){const _0x4a8dc0=_0x3b63d9;return _0x25213b[_0x4a8dc0(0x3bb)]('div',{'className':_0x4a8dc0(0x1af),'onClick':_0x4084b3,'children':[_0x25213b[_0x4a8dc0(0x294)](_0x4a8dc0(0x23f),{'className':_0x775e7b[_0x4a8dc0(0xef)](_0x4a8dc0(0x2cb),{'univer-text-green-500':_0x4960a6,'univer-text-red-500':!_0x4960a6}),'children':_0xfebefc}),_0x25213b[_0x4a8dc0(0x294)](_0x4a8dc0(0x23f),{'className':_0x4a8dc0(0x2e3),'children':_0x318fa1})]});}return _0x4960a6?_0xd724ff():_0x25213b[_0x3b63d9(0x294)](_0x775e7b['Tooltip'],{'title':_0x5ac01d['t'](_0x3b63d9(0x2c7)),'children':_0xd724ff()});}var _0x3e9d6c=Object[_0x43ec4c(0x303)],_0x5a4356=(_0x5081fe,_0x595159,_0x339f77,_0x169f6b)=>{for(var _0x44833f=_0x169f6b>0x1?void 0x0:_0x169f6b?_0x3e9d6c(_0x595159,_0x339f77):_0x595159,_0x2dbb0c=_0x5081fe['length']-0x1,_0x2ecb12;_0x2dbb0c>=0x0;_0x2dbb0c--)(_0x2ecb12=_0x5081fe[_0x2dbb0c])&&(_0x44833f=_0x2ecb12(_0x44833f)||_0x44833f);return _0x44833f;},_0x85a676=(_0x4c8687,_0x30f382)=>(_0x3b317c,_0xd0fd20)=>_0x30f382(_0x3b317c,_0xd0fd20,_0x4c8687);_0x42c0de[_0x43ec4c(0x150)]=class extends _0x50235c['Disposable']{constructor(_0x17f597,_0x431b41,_0x4e3e80,_0x1feed8){const _0x53fdd1=_0x43ec4c;super(),_0x4cf7ca(this,_0x53fdd1(0x132),new _0x4c6442[(_0x53fdd1(0x24b))](_0x59d2d1['CollaborationStatus'][_0x53fdd1(0x342)])),(this[_0x53fdd1(0x3c9)]=_0x17f597,this['_injector']=_0x431b41,this['_collaborationController']=_0x4e3e80,this['_uiPartsService']=_0x1feed8,this[_0x53fdd1(0x25b)](),this[_0x53fdd1(0x17b)]());}[_0x43ec4c(0x17b)](){const _0x4f72b8=_0x43ec4c;this['disposeWithMe'](this[_0x4f72b8(0x3c9)][_0x4f72b8(0x3af)][_0x4f72b8(0x31e)](_0x4c6442[_0x4f72b8(0x317)](()=>{const _0x3cbe58=_0x4f72b8,_0x2b048d=this[_0x3cbe58(0x3c9)][_0x3cbe58(0x289)]();return _0x2b048d?this[_0x3cbe58(0x25a)][_0x3cbe58(0x1f3)](_0x2b048d[_0x3cbe58(0x113)]()):_0x4c6442['of'](null);}),_0x4c6442[_0x4f72b8(0x317)](_0x5416d2=>_0x5416d2?_0x5416d2['status$']:_0x4c6442['of'](_0x59d2d1[_0x4f72b8(0x13b)][_0x4f72b8(0x342)])))[_0x4f72b8(0x1f4)](_0x521e7f=>{const _0x4a1473=_0x4f72b8;this[_0x4a1473(0x132)]['next'](_0x521e7f);}));}[_0x43ec4c(0x25b)](){const _0x1dbe73=_0x43ec4c;this['disposeWithMe'](this[_0x1dbe73(0x305)][_0x1dbe73(0x239)](_0x9fcbd4[_0x1dbe73(0x1a5)][_0x1dbe73(0x1ab)],()=>_0x9fcbd4[_0x1dbe73(0x2d4)](_0x32fd7f({'status$':this[_0x1dbe73(0x132)][_0x1dbe73(0xed)]()}),this['_injector'])));}},_0x42c0de[_0x43ec4c(0x150)]=_0x5a4356([_0x85a676(0x0,_0x50235c[_0x43ec4c(0x281)]),_0x85a676(0x1,_0x50235c[_0x43ec4c(0x25f)](_0x50235c[_0x43ec4c(0x2ec)])),_0x85a676(0x2,_0x50235c[_0x43ec4c(0x25f)](_0x59d2d1[_0x43ec4c(0x365)])),_0x85a676(0x3,_0x9fcbd4[_0x43ec4c(0x39d)])],_0x42c0de[_0x43ec4c(0x150)]);function _0x32fd7f(_0x2858af){const {status$:_0x590485}=_0x2858af;return function(){return _0x25213b['jsx'](_0x59bcd5,{'status$':_0x590485});};}const _0x24c3fe=_0x50235c[_0x43ec4c(0x287)](_0x43ec4c(0x1f7));var _0x173f97=Object['getOwnPropertyDescriptor'],_0x3ae7e0=(_0x2541de,_0x46d1ef,_0x460091,_0x59f7fc)=>{const _0x30edf2=_0x43ec4c;for(var _0x15da87=_0x59f7fc>0x1?void 0x0:_0x59f7fc?_0x173f97(_0x46d1ef,_0x460091):_0x46d1ef,_0x3095d5=_0x2541de[_0x30edf2(0x229)]-0x1,_0x2d9b90;_0x3095d5>=0x0;_0x3095d5--)(_0x2d9b90=_0x2541de[_0x3095d5])&&(_0x15da87=_0x2d9b90(_0x15da87)||_0x15da87);return _0x15da87;},_0x3732f3=(_0x204432,_0xacbcb6)=>(_0x24cd91,_0x37cfcd)=>_0xacbcb6(_0x24cd91,_0x37cfcd,_0x204432);_0x42c0de[_0x43ec4c(0x373)]=class extends _0x50235c['RxDisposable']{constructor(_0x106386,_0x5a1bf9,_0x29056d,_0x54378d,_0x2d0255){const _0x144d88=_0x43ec4c;super(),this[_0x144d88(0x3c5)]=_0x106386,this[_0x144d88(0x1eb)]=_0x5a1bf9,this['_commandService']=_0x29056d,this['_dataLoaderService']=_0x54378d,_0x2d0255?_0x2d0255==null||_0x2d0255[_0x144d88(0x1f9)]()['then'](()=>this['_init']()):(this[_0x144d88(0x1eb)][_0x144d88(0x143)](_0x144d88(0x31c),_0x144d88(0xdc)),this[_0x144d88(0x38d)]());}async['_init'](){const _0xb996cd=_0x43ec4c,_0x579c65=this[_0xb996cd(0x3c5)][_0xb996cd(0x17a)](_0xb996cd(0x271)),_0x2979c4=this[_0xb996cd(0x3c5)]['getParam'](_0xb996cd(0x2e6)),_0x2a4dc9=this[_0xb996cd(0x3c5)][_0xb996cd(0x17a)](_0xb996cd(0x37e));if(!_0x579c65||!_0x2979c4){this[_0xb996cd(0x1eb)]['debug'](_0xb996cd(0x31c),_0xb996cd(0x323));return;}const _0x154e61=await this[_0xb996cd(0x32f)][_0xb996cd(0x232)](_0x579c65,Number(_0x2979c4),_0x2a4dc9);_0x154e61&&_0x154e61 instanceof _0x50235c[_0xb996cd(0x1de)]&&this[_0xb996cd(0x1a7)](_0x154e61);}async[_0x43ec4c(0x1a7)](_0x406aff){const _0xdb904=_0x43ec4c;await this[_0xdb904(0x310)](_0x406aff),_0x406aff['activeSheet$'][_0xdb904(0x31e)](_0x4c6442[_0xdb904(0x2f9)](this[_0xdb904(0x3b8)]))[_0xdb904(0x1f4)](_0x2dbb61=>{_0x2dbb61&&this['_updateURLWithCurrentState'](_0x2dbb61);}),this[_0xdb904(0x3c5)]['urlChange$'][_0xdb904(0x31e)](_0x4c6442['takeUntil'](this[_0xdb904(0x3b8)]))[_0xdb904(0x1f4)](()=>this[_0xdb904(0x310)](_0x406aff));}['_updateURLWithCurrentState'](_0x1ef441,_0x232ea4=!0x1){const _0x3ea69f=_0x43ec4c,_0x161729=this[_0x3ea69f(0x3c5)]['getParam']('subunit');_0x1ef441[_0x3ea69f(0x1f2)]()!==_0x161729&&this[_0x3ea69f(0x3c5)][_0x3ea69f(0x16a)](_0x3ea69f(0x37e),_0x1ef441[_0x3ea69f(0x1f2)](),_0x232ea4);}async[_0x43ec4c(0x310)](_0x41e98b){const _0x1b037a=_0x43ec4c;var _0x283feb;const _0x373338=this[_0x1b037a(0x3c5)]['getParam']('subunit');if(!_0x373338||!_0x41e98b[_0x1b037a(0x358)](_0x373338)){const _0x2924e1=_0x41e98b['getUnhiddenWorksheets']()[0x0],_0x3ea962=_0x41e98b[_0x1b037a(0x358)](_0x2924e1);if(!_0x3ea962)return;this[_0x1b037a(0xf0)](_0x3ea962,!0x0),await this[_0x1b037a(0x340)][_0x1b037a(0x1e4)](_0x4cd203[_0x1b037a(0x3bc)]['id'],{'unitId':_0x41e98b[_0x1b037a(0x113)](),'subUnitId':_0x2924e1});return;}((_0x283feb=_0x41e98b[_0x1b037a(0x298)]())==null?void 0x0:_0x283feb[_0x1b037a(0x1f2)]())!==_0x373338&&await this[_0x1b037a(0x340)]['executeCommand'](_0x4cd203[_0x1b037a(0x3bc)]['id'],{'unitId':_0x41e98b[_0x1b037a(0x113)](),'subUnitId':_0x373338});}},_0x42c0de[_0x43ec4c(0x373)]=_0x3ae7e0([_0x3732f3(0x0,_0x24c3fe),_0x3732f3(0x1,_0x50235c[_0x43ec4c(0x2fe)]),_0x3732f3(0x2,_0x50235c[_0x43ec4c(0x1a0)]),_0x3732f3(0x3,_0x50235c[_0x43ec4c(0x25f)](_0x59d2d1[_0x43ec4c(0x1f5)])),_0x3732f3(0x4,_0x50235c[_0x43ec4c(0x2f5)](_0xd9ac66[_0x43ec4c(0x1b4)]))],_0x42c0de[_0x43ec4c(0x373)]);var _0x479367=Object[_0x43ec4c(0x303)],_0x596a0d=(_0x512387,_0x253fbb,_0x3aef38,_0x148af5)=>{const _0x1162d1=_0x43ec4c;for(var _0xbb238e=_0x148af5>0x1?void 0x0:_0x148af5?_0x479367(_0x253fbb,_0x3aef38):_0x253fbb,_0x13896e=_0x512387[_0x1162d1(0x229)]-0x1,_0x5d57a4;_0x13896e>=0x0;_0x13896e--)(_0x5d57a4=_0x512387[_0x13896e])&&(_0xbb238e=_0x5d57a4(_0xbb238e)||_0xbb238e);return _0xbb238e;},_0x5e1f2f=(_0x46fade,_0x2380ba)=>(_0x2e4802,_0x1cd8d6)=>_0x2380ba(_0x2e4802,_0x1cd8d6,_0x46fade);let _0x31f559=class extends _0x50235c[_0x43ec4c(0x2ef)]{constructor(_0x4e2057,_0x85ba0a){const _0x225c7a=_0x43ec4c;super(),this[_0x225c7a(0x169)]=_0x4e2057,this['_imageIoService']=_0x85ba0a,this[_0x225c7a(0x38d)]();}[_0x43ec4c(0x38d)](){const _0x3402dd=_0x43ec4c,_0x2becf8=this;this[_0x3402dd(0x2ab)](this[_0x3402dd(0x169)][_0x3402dd(0x34d)]({'onBeforePasteImage':async _0x282b33=>{const _0x154730=_0x3402dd,_0x170a79=await _0x2becf8['_imageIoService'][_0x154730(0x382)](_0x282b33);return _0x170a79?{'source':_0x170a79[_0x154730(0x33a)],'imageSourceType':_0x170a79[_0x154730(0x203)]}:null;}}));}};_0x31f559=_0x596a0d([_0x5e1f2f(0x0,_0x2d3daa[_0x43ec4c(0xff)]),_0x5e1f2f(0x1,_0x265313[_0x43ec4c(0x297)])],_0x31f559);const _0x5e6355=[_0x43ec4c(0x28e),_0x43ec4c(0x122),_0x43ec4c(0x1bf),_0x43ec4c(0x36f),_0x43ec4c(0x1dc),_0x43ec4c(0x29d)];class _0x3be8cc extends _0x50235c[_0x43ec4c(0x1d0)]{constructor(){const _0x136fd7=_0x43ec4c;super(...arguments),_0x4cf7ca(this,_0x136fd7(0x126),new Map()),_0x4cf7ca(this,_0x136fd7(0x37c),0x0);}[_0x43ec4c(0x24a)](_0x1cb918){const _0x39c624=_0x43ec4c;if(this[_0x39c624(0x126)]['has'](_0x1cb918))return this['_assignedColors'][_0x39c624(0x268)](_0x1cb918);const _0x5870b8=_0x5e6355[this[_0x39c624(0x37c)]];return this[_0x39c624(0x37c)]=(this[_0x39c624(0x37c)]+0x1)%_0x5e6355[_0x39c624(0x229)],this[_0x39c624(0x126)][_0x39c624(0x392)](_0x1cb918,_0x5870b8),_0x5870b8;}}function _0x4ce6ba(_0x21dad9){const _0x594d60=_0x43ec4c;let _0x1548b3='';for(const _0x4abfa3 of _0x21dad9){const {startOffset:_0xeb220f,endOffset:_0x5603f0,isActive:_0x215221,rangeType:_0x20dc18,segmentId:_0x29fa47,segmentPage:_0x118e6f}=_0x4abfa3;_0x1548b3[_0x594d60(0x229)]&&(_0x1548b3+=','),_0x1548b3+=_0xeb220f+':'+_0x5603f0+':'+(_0x215221?'1':'0')+':'+_0x20dc18+':'+_0x29fa47+':'+_0x118e6f;}return _0x1548b3;}function _0x180c71(_0x5b90a2){const _0x47f5c6=_0x43ec4c,_0x155109=_0x5b90a2[_0x47f5c6(0x21a)](','),_0x3a88ca=[];for(const _0x4ed9d5 of _0x155109){const [_0x17da9a,_0xfffc5e,_0x5ef5a7,_0x5f5b9f,_0x287fab,_0x9dd71e]=_0x4ed9d5[_0x47f5c6(0x21a)](':');_0x3a88ca['push']({'startOffset':Number(_0x17da9a),'endOffset':Number(_0xfffc5e),'collapsed':_0x17da9a===_0xfffc5e,'isActive':_0x5ef5a7==='1','rangeType':_0x5f5b9f===_0x50235c[_0x47f5c6(0x13a)][_0x47f5c6(0x1a4)]?_0x50235c[_0x47f5c6(0x13a)][_0x47f5c6(0x1a4)]:_0x50235c[_0x47f5c6(0x13a)][_0x47f5c6(0x103)],'segmentId':typeof _0x287fab==_0x47f5c6(0x2a5)?String(_0x287fab):'','segmentPage':Number(_0x9dd71e!=null?_0x9dd71e:-0x1)});}return _0x3a88ca[_0x47f5c6(0x22e)](_0x3aa4d1=>_0x3aa4d1[_0x47f5c6(0x208)])||(_0x3a88ca[0x0]['isActive']=!0x0),_0x3a88ca;}class _0x154e78 extends _0x50235c[_0x43ec4c(0x2ef)]{constructor(){const _0x2aee61=_0x43ec4c;super(...arguments),_0x4cf7ca(this,_0x2aee61(0x174),new _0x4c6442['BehaviorSubject'](null)),_0x4cf7ca(this,_0x2aee61(0x20a),this[_0x2aee61(0x174)][_0x2aee61(0xed)]());}[_0x43ec4c(0x166)](_0x473f57){const _0x4b1980=_0x43ec4c,{unitID:_0x3f2c52,memberID:_0x448aea,textRanges:_0x20e8a3}=_0x473f57,_0x130361=_0x4ce6ba(_0x20e8a3);if(_0x130361==='')return;const _0x917ae8={'unitID':_0x3f2c52,'memberID':_0x448aea,'selection':_0x130361};this[_0x4b1980(0x174)][_0x4b1980(0x127)](_0x917ae8);}}var _0x2b9f38=Object['getOwnPropertyDescriptor'],_0x35ff58=(_0x593239,_0x294ebd,_0x14bdf0,_0x19b359)=>{const _0x328aa4=_0x43ec4c;for(var _0x2b1887=_0x19b359>0x1?void 0x0:_0x19b359?_0x2b9f38(_0x294ebd,_0x14bdf0):_0x294ebd,_0x4de38b=_0x593239[_0x328aa4(0x229)]-0x1,_0x3fb1ed;_0x4de38b>=0x0;_0x4de38b--)(_0x3fb1ed=_0x593239[_0x4de38b])&&(_0x2b1887=_0x3fb1ed(_0x2b1887)||_0x2b1887);return _0x2b1887;},_0x2f0beb=(_0x288635,_0xec0544)=>(_0xae3a4f,_0x5f53ed)=>_0xec0544(_0xae3a4f,_0x5f53ed,_0x288635);const _0x2a1fb0=0x12c,_0x4a19a1=0x64;let _0x18fa7b=class extends _0x50235c['RxDisposable']{constructor(_0x431ad5,_0x4750e3,_0x509172,_0x1ad12d,_0x2a5b7e,_0x53b28a,_0x586cee,_0x2b0dac,_0x7b86e4){const _0x28244e=_0x43ec4c;super(),_0x4cf7ca(this,_0x28244e(0x283),!0x1),_0x4cf7ca(this,'_init',!0x1),_0x4cf7ca(this,'_cursorInfo$',new _0x4c6442[(_0x28244e(0x24b))](new Map())),_0x4cf7ca(this,_0x28244e(0x21e),this[_0x28244e(0x117)]['asObservable']()),_0x4cf7ca(this,_0x28244e(0x21c),new _0x4c6442[(_0x28244e(0x24b))]([])),_0x4cf7ca(this,'roomMembers$',this[_0x28244e(0x21c)]['pipe'](_0x4c6442[_0x28244e(0x16f)](_0x2a1fb0))),_0x4cf7ca(this,_0x28244e(0x1fe),_0x50235c[_0x28244e(0x39f)](_0x1c29b5=>{const _0x47e7f5=_0x28244e,_0x31cee2={'eventID':_0x482dc8['CollaborationEvent'][_0x47e7f5(0x190)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x47e7f5(0x333)](),'selection':_0x4ce6ba(_0x1c29b5)}};this[_0x47e7f5(0x2f2)][_0x47e7f5(0x1e3)](_0x31cee2,this[_0x47e7f5(0xec)]);},_0x4a19a1)),(this[_0x28244e(0xec)]=_0x431ad5,this[_0x28244e(0x2f2)]=_0x4750e3,this[_0x28244e(0x110)]=_0x509172,this['_colorAssignService']=_0x1ad12d,this[_0x28244e(0x27e)]=_0x2a5b7e,this[_0x28244e(0x251)]=_0x53b28a,this[_0x28244e(0x307)]=_0x586cee,this[_0x28244e(0x3c9)]=_0x2b0dac,this[_0x28244e(0x340)]=_0x7b86e4);}get[_0x43ec4c(0x2a7)](){const _0x252dec=_0x43ec4c;return this[_0x252dec(0x117)][_0x252dec(0x2da)]();}get[_0x43ec4c(0x2d8)](){const _0x3db0ee=_0x43ec4c;return this['_roomMembers$'][_0x3db0ee(0x2da)]();}['dispose'](){const _0x52f330=_0x43ec4c;super[_0x52f330(0x123)](),this[_0x52f330(0x117)][_0x52f330(0x127)](new Map()),this[_0x52f330(0x117)][_0x52f330(0x1dd)](),this[_0x52f330(0x21c)][_0x52f330(0x127)]([]),this[_0x52f330(0x21c)][_0x52f330(0x1dd)]();}[_0x43ec4c(0x324)](){const _0x1cc2e4=_0x43ec4c;this[_0x1cc2e4(0x38d)]||(this['_init']=!0x0,this[_0x1cc2e4(0x2f2)]['sessionStatus$'][_0x1cc2e4(0x31e)](_0x4c6442[_0x1cc2e4(0x2f9)](this[_0x1cc2e4(0x3b8)]))[_0x1cc2e4(0x1f4)](_0x48bc36=>{const _0x159d1a=_0x1cc2e4;_0x48bc36===_0x59d2d1['SessionStatus']['ONLINE']?this[_0x159d1a(0x321)]():this[_0x159d1a(0x17f)]();}),this[_0x1cc2e4(0x2f2)]['event$'][_0x1cc2e4(0x31e)](_0x4c6442[_0x1cc2e4(0x2f9)](this['dispose$']))['subscribe'](_0x5d46d8=>{const _0x527a54=_0x1cc2e4,_0x4bb519=_0x5d46d8[_0x527a54(0x1b8)];_0x4bb519===_0x482dc8[_0x527a54(0x1e2)][_0x527a54(0x190)]&&this[_0x527a54(0x30e)](_0x5d46d8),_0x4bb519===_0x482dc8[_0x527a54(0x1e2)][_0x527a54(0x3a5)]&&this['_onCursorDelete'](_0x5d46d8);}),this['disposeWithMe'](this[_0x1cc2e4(0x340)][_0x1cc2e4(0x192)](_0x10366c=>{const _0x264852=_0x1cc2e4,_0x37746e=_0x10366c[_0x264852(0x329)];_0x37746e!=null&&this[_0x264852(0x283)]&&_0x10366c['id']===_0x4a4656['SetTextSelectionsOperation']['id']&&_0x37746e[_0x264852(0x374)]===this[_0x264852(0xec)]&&_0x37746e[_0x264852(0x2c8)]===!0x1&&_0x37746e[_0x264852(0xf3)]['length']>0x0&&this[_0x264852(0x1fe)](_0x37746e[_0x264852(0xf3)]);})),this[_0x1cc2e4(0x251)][_0x1cc2e4(0x20a)]['pipe'](_0x4c6442[_0x1cc2e4(0x2f9)](this[_0x1cc2e4(0x3b8)]))[_0x1cc2e4(0x1f4)](_0x1a0fc0=>{const _0x194393=_0x1cc2e4;if((_0x1a0fc0==null?void 0x0:_0x1a0fc0[_0x194393(0xec)])!==this[_0x194393(0xec)])return;const _0x48ad19={'eventID':_0x482dc8[_0x194393(0x1e2)][_0x194393(0x190)],'data':_0x1a0fc0};this['_onCursorUpdate'](_0x48ad19);}),this[_0x1cc2e4(0x2ab)](this[_0x1cc2e4(0x340)][_0x1cc2e4(0x192)](_0x5e3eff=>{const _0x3624cd=_0x1cc2e4;if(_0x5e3eff['params']==null)return;const _0x174999=_0x5e3eff['params'];if(_0x5e3eff['id']!==_0x4a4656[_0x3624cd(0x182)]['id']||_0x174999[_0x3624cd(0x374)]!==this[_0x3624cd(0xec)])return;const _0x2eb3de={'id':_0x3624cd(0x140),'params':_0x174999},_0x7270b4=this['cursorInfo'];for(const [_0x3c3a3c,_0x1ca5e2]of _0x7270b4){const _0x2f3fe1={'id':_0x3624cd(0x140),'params':{'unitId':this[_0x3624cd(0xec)],'actions':null,'textRanges':_0x1ca5e2['ranges']}},_0x5eac81=this['_transformService']['transformMutation'](_0x2eb3de,_0x2f3fe1,!0x1);if(_0x482dc8['isTransformMutationFailure'](_0x5eac81))throw _0x5eac81[_0x3624cd(0x226)];_0x7270b4['set'](_0x3c3a3c,{..._0x1ca5e2,'ranges':_0x5eac81[_0x3624cd(0x101)][_0x3624cd(0x329)][_0x3624cd(0x2f4)]});}queueMicrotask(()=>{const _0xed1f60=_0x3624cd;this[_0xed1f60(0x117)][_0xed1f60(0x127)](_0x7270b4);});})));}[_0x43ec4c(0x30e)](_0x3623fa){const _0x315e61=_0x43ec4c;var _0x24b94c,_0x37c371;const {memberID:_0x120d38,selection:_0x43e2da}=_0x3623fa[_0x315e61(0x212)],_0x5de2a8=_0x180c71(_0x43e2da),_0x40d235=(_0x37c371=(_0x24b94c=this['_memberService'][_0x315e61(0x2de)](this[_0x315e61(0xec)],_0x120d38))==null?void 0x0:_0x24b94c[_0x315e61(0x25d)])!=null?_0x37c371:_0x315e61(0x35a),_0x20a361={'color':this[_0x315e61(0x176)][_0x315e61(0x24a)](_0x120d38),'name':_0x40d235,'ranges':_0x5de2a8},_0x1b956b=this[_0x315e61(0x2a7)];_0x1b956b[_0x315e61(0x392)](_0x120d38,_0x20a361),this[_0x315e61(0x117)][_0x315e61(0x127)](_0x1b956b);}[_0x43ec4c(0x2f7)](_0x3870f7){const _0x5a1ab9=_0x43ec4c,{memberID:_0x31dccf}=_0x3870f7['data'],_0x43e6e2=this[_0x5a1ab9(0x2a7)];_0x43e6e2[_0x5a1ab9(0x37b)](_0x31dccf),this[_0x5a1ab9(0x117)]['next'](_0x43e6e2);}[_0x43ec4c(0x321)](){const _0x58c54d=_0x43ec4c;var _0x122143;if(this[_0x58c54d(0x283)]=!0x0,((_0x122143=this[_0x58c54d(0x3c9)][_0x58c54d(0x289)]())==null?void 0x0:_0x122143[_0x58c54d(0x113)]())!==this[_0x58c54d(0xec)])return;const _0x559b1c=this[_0x58c54d(0x110)][_0x58c54d(0x268)](_0x4a4656['DocSelectionManagerService'])[_0x58c54d(0x2b3)]();Array['isArray'](_0x559b1c)&&_0x559b1c[_0x58c54d(0x229)]>0x0&&this[_0x58c54d(0x1fe)](_0x559b1c);}[_0x43ec4c(0x17f)](){const _0x2776d4=_0x43ec4c;this[_0x2776d4(0x283)]=!0x1;}};_0x18fa7b=_0x35ff58([_0x2f0beb(0x2,_0x50235c['Inject'](_0x50235c[_0x43ec4c(0x2ec)])),_0x2f0beb(0x3,_0x50235c[_0x43ec4c(0x25f)](_0x3be8cc)),_0x2f0beb(0x4,_0x50235c[_0x43ec4c(0x25f)](_0x59d2d1[_0x43ec4c(0x380)])),_0x2f0beb(0x5,_0x50235c[_0x43ec4c(0x25f)](_0x154e78)),_0x2f0beb(0x6,_0x482dc8['ITransformService']),_0x2f0beb(0x7,_0x50235c[_0x43ec4c(0x281)]),_0x2f0beb(0x8,_0x50235c[_0x43ec4c(0x1a0)])],_0x18fa7b);var _0x1fcc94=Object[_0x43ec4c(0x303)],_0x34335e=(_0x41c0f4,_0x26f800,_0x1e020f,_0x1d88f4)=>{const _0x3b795d=_0x43ec4c;for(var _0x349175=_0x1d88f4>0x1?void 0x0:_0x1d88f4?_0x1fcc94(_0x26f800,_0x1e020f):_0x26f800,_0x1c6750=_0x41c0f4[_0x3b795d(0x229)]-0x1,_0x27cc76;_0x1c6750>=0x0;_0x1c6750--)(_0x27cc76=_0x41c0f4[_0x1c6750])&&(_0x349175=_0x27cc76(_0x349175)||_0x349175);return _0x349175;},_0x213bda=(_0x305943,_0x4ac5be)=>(_0x484a83,_0x9c2015)=>_0x4ac5be(_0x484a83,_0x9c2015,_0x305943);const _0x372b13=0x12c,_0x107736=0x64,_0xfdadae=()=>{let _0x437917=[],_0x3588fe=!0x1;return _0x8f1c5f=>{const _0x11d0a0=_0x3d56;_0x437917[_0x11d0a0(0x2f0)](_0x8f1c5f),_0x3588fe||(_0x3588fe=!0x0,setTimeout(()=>{const _0x1fcd0b=_0x11d0a0;_0x437917[_0x1fcd0b(0x10d)](_0x3e0882=>_0x3e0882()),_0x437917=[],_0x3588fe=!0x1;}));};};let _0x3dc319=class extends _0x50235c[_0x43ec4c(0x2ef)]{constructor(_0x2774ae,_0x50b8d4,_0x1b2680,_0x25802f,_0x315ba9,_0x33e9cb,_0x134ca9,_0x57f167){const _0x5f45ea=_0x43ec4c;super(),_0x4cf7ca(this,_0x5f45ea(0x283),!0x1),_0x4cf7ca(this,_0x5f45ea(0x38d),!0x1),_0x4cf7ca(this,_0x5f45ea(0x117),new _0x4c6442[(_0x5f45ea(0x24b))](new Map())),_0x4cf7ca(this,'cursorInfo$',this[_0x5f45ea(0x117)]['asObservable']()),_0x4cf7ca(this,_0x5f45ea(0x21c),new _0x4c6442['BehaviorSubject']([])),_0x4cf7ca(this,_0x5f45ea(0x309),this[_0x5f45ea(0x21c)][_0x5f45ea(0x31e)](_0x4c6442[_0x5f45ea(0x16f)](_0x372b13))),_0x4cf7ca(this,_0x5f45ea(0x1fe),_0x50235c[_0x5f45ea(0x39f)]((_0x5a263b,_0x499ec9)=>{const _0xced5f6=_0x5f45ea,_0x4806f4={'eventID':_0x482dc8[_0xced5f6(0x1e2)][_0xced5f6(0x190)],'data':{'unitID':this['unitID'],'memberID':this[_0xced5f6(0x2f2)][_0xced5f6(0x333)](),'selection':_0x5554c2[_0xced5f6(0x1b3)](_0x5a263b,_0x499ec9[_0xced5f6(0x2d3)])}};this['_session'][_0xced5f6(0x1e3)](_0x4806f4,this['unitID']);},_0x107736)),(this[_0x5f45ea(0xec)]=_0x2774ae,this[_0x5f45ea(0x2f2)]=_0x50b8d4,this['_injector']=_0x1b2680,this[_0x5f45ea(0x176)]=_0x25802f,this[_0x5f45ea(0x27e)]=_0x315ba9,this['_univerInstanceService']=_0x33e9cb,this[_0x5f45ea(0x340)]=_0x134ca9,this[_0x5f45ea(0x13d)]=_0x57f167);}get[_0x43ec4c(0x2a7)](){const _0x4be9a5=_0x43ec4c;return this[_0x4be9a5(0x117)][_0x4be9a5(0x2da)]();}get['roomMembers'](){const _0x1c6b57=_0x43ec4c;return this['_roomMembers$'][_0x1c6b57(0x2da)]();}['dispose'](){const _0x1bbe27=_0x43ec4c;super[_0x1bbe27(0x123)](),this[_0x1bbe27(0x117)]['next'](new Map()),this[_0x1bbe27(0x117)][_0x1bbe27(0x1dd)](),this[_0x1bbe27(0x21c)][_0x1bbe27(0x127)]([]),this['_roomMembers$'][_0x1bbe27(0x1dd)]();}['init'](){const _0x298a5e=_0x43ec4c;this[_0x298a5e(0x38d)]||(this[_0x298a5e(0x38d)]=!0x0,this['_session']['sessionStatus$'][_0x298a5e(0x31e)](_0x4c6442[_0x298a5e(0x2f9)](this[_0x298a5e(0x3b8)]))[_0x298a5e(0x1f4)](_0x19bc49=>{const _0x5a4b37=_0x298a5e;_0x19bc49===_0x59d2d1[_0x5a4b37(0x189)][_0x5a4b37(0x187)]?this[_0x5a4b37(0x321)]():this['_toggleOffline']();}),this['_session']['event$']['pipe'](_0x4c6442[_0x298a5e(0x2f9)](this['dispose$']))['subscribe'](_0x5db55d=>{const _0x35e1a8=_0x298a5e,_0x2e96d4=_0x5db55d[_0x35e1a8(0x1b8)];_0x2e96d4===_0x482dc8[_0x35e1a8(0x1e2)][_0x35e1a8(0x190)]&&this['_onCursorUpdate'](_0x5db55d),_0x2e96d4===_0x482dc8[_0x35e1a8(0x1e2)][_0x35e1a8(0x3a5)]&&this[_0x35e1a8(0x2f7)](_0x5db55d);}),this[_0x298a5e(0x1b7)](),this[_0x298a5e(0x2ab)](this['_commandService'][_0x298a5e(0x192)](_0xb943b8=>{const _0x53bcdc=_0x298a5e;if(this[_0x53bcdc(0x283)]&&_0xb943b8['id']===_0x4cd203[_0x53bcdc(0x36a)]['id']&&_0xb943b8[_0x53bcdc(0x329)]['unitId']===this['unitID']){const _0x7e2b42=_0xb943b8[_0x53bcdc(0x329)];this['_updateLocalCursor'](_0x7e2b42[_0x53bcdc(0x2af)],_0x7e2b42[_0x53bcdc(0xe8)][0x0]);}})));}[_0x43ec4c(0x30e)](_0xaa480b){const _0x525967=_0x43ec4c;var _0x1e2e28,_0x4c215e;const {memberID:_0x46764e,selection:_0x86b295}=_0xaa480b[_0x525967(0x212)],{sheetName:_0x21595f,range:_0x2e5f15}=_0x5554c2[_0x525967(0x2c1)](_0x86b295),_0x315a81={'name':(_0x4c215e=(_0x1e2e28=this['_memberService'][_0x525967(0x2de)](this['unitID'],_0x46764e))==null?void 0x0:_0x1e2e28['name'])!=null?_0x4c215e:_0x525967(0x35a),'range':this[_0x525967(0x14e)](_0x21595f,_0x2e5f15),'sheetID':_0x21595f,'color':this[_0x525967(0x176)][_0x525967(0x24a)](_0x46764e),'selection':_0x86b295},_0x11e021=this[_0x525967(0x2a7)];_0x11e021[_0x525967(0x392)](_0x46764e,_0x315a81),this['_cursorInfo$']['next'](_0x11e021);}['_onCursorDelete'](_0x3dd1a9){const _0x34c08b=_0x43ec4c,{memberID:_0x3aa115}=_0x3dd1a9[_0x34c08b(0x212)],_0x4f7d9a=this[_0x34c08b(0x2a7)];_0x4f7d9a[_0x34c08b(0x37b)](_0x3aa115),this[_0x34c08b(0x117)]['next'](_0x4f7d9a);}[_0x43ec4c(0x14e)](_0x500b35,_0x5770d7){const _0x5f201a=_0x43ec4c;var _0x3c591e,_0x32de9e;const _0x2f0287=(_0x32de9e=(_0x3c591e=this[_0x5f201a(0x3c9)]['getUniverSheetInstance'](this[_0x5f201a(0xec)]))==null?void 0x0:_0x3c591e[_0x5f201a(0x358)](_0x500b35))==null?void 0x0:_0x32de9e[_0x5f201a(0x243)]();return(_0x2f0287==null?void 0x0:_0x2f0287['find'](_0x5cc1f8=>_0x50235c[_0x5f201a(0x372)][_0x5f201a(0x3bd)](_0x5cc1f8,_0x5770d7)))||_0x5770d7;}[_0x43ec4c(0x1b7)](){const _0x346e9f=_0x43ec4c,_0xdaa36d=new _0x50235c['DisposableCollection'](),_0x2c532d=_0xfdadae(),_0x4886ce=()=>{const _0x1fdb8c=_0x3d56;_0xdaa36d[_0x1fdb8c(0x123)]();const _0x20f5bf=(_0x3a84d9,_0x2eb9d4,_0x334109,_0x37c52c)=>{const _0x541397=_0x1fdb8c;let _0x1d7207=[];switch(_0x3a84d9['id']){case _0x4cd203['EffectRefRangId'][_0x541397(0x1d1)]:{_0x1d7207=_0x4cd203[_0x541397(0x2df)](_0x3a84d9,_0x37c52c);break;}case _0x4cd203['EffectRefRangId'][_0x541397(0xee)]:{_0x1d7207=_0x4cd203[_0x541397(0x1e7)](_0x3a84d9,_0x37c52c);break;}case _0x4cd203[_0x541397(0x3c3)]['InsertColCommandId']:{_0x1d7207=_0x4cd203[_0x541397(0x194)](_0x3a84d9,_0x37c52c);break;}case _0x4cd203[_0x541397(0x3c3)]['InsertRangeMoveDownCommandId']:{_0x1d7207=_0x4cd203['handleInsertRangeMoveDown'](_0x3a84d9,_0x37c52c);break;}case _0x4cd203['EffectRefRangId'][_0x541397(0x2bb)]:{_0x1d7207=_0x4cd203[_0x541397(0x181)](_0x3a84d9,_0x37c52c);break;}case _0x4cd203['EffectRefRangId'][_0x541397(0x249)]:{_0x1d7207=_0x4cd203[_0x541397(0xfa)](_0x3a84d9,_0x37c52c);break;}case _0x4cd203['EffectRefRangId'][_0x541397(0x2e5)]:{_0x1d7207=_0x4cd203[_0x541397(0x2ea)](_0x3a84d9,_0x37c52c);break;}case _0x4cd203[_0x541397(0x3c3)][_0x541397(0x2b4)]:{_0x1d7207=_0x4cd203[_0x541397(0x112)](_0x3a84d9,_0x37c52c);break;}case _0x4cd203[_0x541397(0x3c3)][_0x541397(0x1d7)]:{_0x1d7207=_0x4cd203['handleIRemoveRow'](_0x3a84d9,_0x37c52c);break;}}const _0x288889=_0x4cd203[_0x541397(0x264)](_0x1d7207,_0x37c52c),_0x83ab9c=this[_0x541397(0x2a7)][_0x541397(0x268)](_0x2eb9d4);if(_0x83ab9c&&_0x288889){const _0x5c0309={..._0x83ab9c,'range':_0x288889};this['cursorInfo']['set'](_0x2eb9d4,_0x5c0309),_0x2c532d(()=>{const _0x45e694=_0x541397,_0x3ad700=this[_0x45e694(0x13d)]['registerRefRange'](_0x288889,_0x4e8ea8=>(_0x3ad700[_0x45e694(0x123)](),_0x20f5bf(_0x4e8ea8,_0x2eb9d4,_0x334109,_0x288889)));_0xdaa36d['add'](_0x3ad700);});}return{'redos':[],'undos':[]};};this[_0x1fdb8c(0x2a7)][_0x1fdb8c(0x10d)]((_0x22b1e9,_0x4f124a)=>{const _0x1e0187=_0x1fdb8c,{range:_0x2c1e12,sheetID:_0x27b849}=_0x22b1e9,_0x46dc80=this[_0x1e0187(0x13d)][_0x1e0187(0x3a0)](_0x2c1e12,_0x250638=>(_0x46dc80[_0x1e0187(0x123)](),_0x20f5bf(_0x250638,_0x4f124a,_0x27b849,_0x2c1e12)));_0xdaa36d['add'](_0x46dc80);});};this['disposeWithMe'](_0x50235c[_0x346e9f(0x2ff)](this[_0x346e9f(0x117)][_0x346e9f(0x1f4)](()=>{_0x4886ce();})));}[_0x43ec4c(0x321)](){const _0x2104b1=_0x43ec4c;var _0x3009a1,_0x1b3935;if(this['_online']=!0x0,((_0x3009a1=this['_univerInstanceService'][_0x2104b1(0x289)]())==null?void 0x0:_0x3009a1[_0x2104b1(0x113)]())!==this[_0x2104b1(0xec)])return;const _0x3316b0=(_0x1b3935=this[_0x2104b1(0x110)][_0x2104b1(0x268)](_0x4cd203[_0x2104b1(0x162)])[_0x2104b1(0x178)]())==null?void 0x0:_0x1b3935[0x0],_0x4bb311=this[_0x2104b1(0x3c9)][_0x2104b1(0x1e5)](_0x50235c[_0x2104b1(0x328)]['UNIVER_SHEET'])[_0x2104b1(0x298)]();_0x3316b0&&_0x4bb311&&this['_updateLocalCursor'](_0x4bb311[_0x2104b1(0x1f2)](),_0x3316b0);}[_0x43ec4c(0x17f)](){const _0x4657d9=_0x43ec4c;this[_0x4657d9(0x283)]=!0x1;}};_0x3dc319=_0x34335e([_0x213bda(0x2,_0x50235c[_0x43ec4c(0x25f)](_0x50235c[_0x43ec4c(0x2ec)])),_0x213bda(0x3,_0x50235c[_0x43ec4c(0x25f)](_0x3be8cc)),_0x213bda(0x4,_0x50235c[_0x43ec4c(0x25f)](_0x59d2d1[_0x43ec4c(0x380)])),_0x213bda(0x5,_0x50235c[_0x43ec4c(0x281)]),_0x213bda(0x6,_0x50235c[_0x43ec4c(0x1a0)]),_0x213bda(0x7,_0x50235c[_0x43ec4c(0x25f)](_0x4cd203[_0x43ec4c(0x204)]))],_0x3dc319);var _0x24e35b=Object[_0x43ec4c(0x303)],_0x3e3272=(_0x54d1c3,_0xc1d18f,_0x1beeff,_0x4027d8)=>{const _0x4627da=_0x43ec4c;for(var _0x505c92=_0x4027d8>0x1?void 0x0:_0x4027d8?_0x24e35b(_0xc1d18f,_0x1beeff):_0xc1d18f,_0x126269=_0x54d1c3[_0x4627da(0x229)]-0x1,_0x50076a;_0x126269>=0x0;_0x126269--)(_0x50076a=_0x54d1c3[_0x126269])&&(_0x505c92=_0x50076a(_0x505c92)||_0x505c92);return _0x505c92;},_0x319f55=(_0x4d5982,_0x4b5350)=>(_0x508021,_0x15e09e)=>_0x4b5350(_0x508021,_0x15e09e,_0x4d5982);let _0xa39003=class extends _0x50235c['RxDisposable']{constructor(_0xeeee1,_0x5c259e,_0x45441d){const _0x1c9e14=_0x43ec4c;super(),_0x4cf7ca(this,_0x1c9e14(0x139),new Map()),_0x4cf7ca(this,_0x1c9e14(0x2fd),new _0x4c6442[(_0x1c9e14(0x274))]()),(this[_0x1c9e14(0x3c9)]=_0xeeee1,this[_0x1c9e14(0x110)]=_0x5c259e,this['_collabSessionService']=_0x45441d,this[_0x1c9e14(0x38d)]());}[_0x43ec4c(0x123)](){const _0x8d05df=_0x43ec4c;super[_0x8d05df(0x123)](),this[_0x8d05df(0x2fd)][_0x8d05df(0x1dd)](),this[_0x8d05df(0x139)][_0x8d05df(0x10d)](_0x4b0c4a=>_0x4b0c4a[_0x8d05df(0x123)]());}[_0x43ec4c(0x2ee)](_0xccd7b8){const _0x3ce4a0=_0x43ec4c;return this['_entities'][_0x3ce4a0(0x1d2)](_0xccd7b8)?this[_0x3ce4a0(0x139)]['get'](_0xccd7b8)[_0x3ce4a0(0x21e)]:this[_0x3ce4a0(0x2fd)][_0x3ce4a0(0x31e)](_0x4c6442[_0x3ce4a0(0x172)](_0x1ce62b=>_0x1ce62b['unitID']===_0xccd7b8),_0x4c6442[_0x3ce4a0(0x317)](_0x31fb17=>_0x31fb17[_0x3ce4a0(0x21e)]));}['_init'](){const _0x38ed5c=_0x43ec4c;this[_0x38ed5c(0x3c9)]['getTypeOfUnitAdded$'](_0x50235c[_0x38ed5c(0x328)][_0x38ed5c(0x31a)])[_0x38ed5c(0x31e)](_0x4c6442[_0x38ed5c(0x2f9)](this[_0x38ed5c(0x3b8)]))[_0x38ed5c(0x1f4)](async _0x50bd3d=>{const _0x356367=_0x38ed5c,_0x8c9c1d=_0x50bd3d['getUnitId'](),_0x4b1c4b=await this[_0x356367(0x220)](_0x8c9c1d);this[_0x356367(0x2fd)]['next'](_0x4b1c4b),this[_0x356367(0x139)][_0x356367(0x392)](_0x8c9c1d,_0x4b1c4b);}),this[_0x38ed5c(0x3c9)]['getTypeOfUnitAdded$'](_0x50235c['UniverInstanceType'][_0x38ed5c(0x18c)])[_0x38ed5c(0x31e)](_0x4c6442[_0x38ed5c(0x2f9)](this['dispose$']))[_0x38ed5c(0x31e)](_0x4c6442[_0x38ed5c(0x172)](_0x416a74=>!_0x416a74[_0x38ed5c(0x113)]()[_0x38ed5c(0x29a)]('__')))['subscribe'](async _0x1a4737=>{const _0x3da302=_0x38ed5c,_0x398c0f=_0x1a4737['getUnitId'](),_0x5251a4=await this[_0x3da302(0x35b)](_0x398c0f);this[_0x3da302(0x2fd)][_0x3da302(0x127)](_0x5251a4),this[_0x3da302(0x139)][_0x3da302(0x392)](_0x398c0f,_0x5251a4);}),_0x4c6442[_0x38ed5c(0x15f)](this[_0x38ed5c(0x3c9)]['getTypeOfUnitDisposed$'](_0x50235c[_0x38ed5c(0x328)][_0x38ed5c(0x18c)]),this[_0x38ed5c(0x3c9)]['getTypeOfUnitDisposed$'](_0x50235c[_0x38ed5c(0x328)][_0x38ed5c(0x31a)]))['pipe'](_0x4c6442[_0x38ed5c(0x2f9)](this[_0x38ed5c(0x3b8)]))[_0x38ed5c(0x1f4)](_0x4de3db=>{const _0x1d9dc6=_0x38ed5c,_0x2e6107=_0x4de3db['getUnitId'](),_0x51880c=this[_0x1d9dc6(0x139)][_0x1d9dc6(0x268)](_0x2e6107);_0x51880c&&(_0x51880c[_0x1d9dc6(0x123)](),this[_0x1d9dc6(0x139)]['delete'](_0x2e6107));});}async[_0x43ec4c(0x220)](_0x213ac3){const _0x5ea2dd=_0x43ec4c,_0xc20356=await this[_0x5ea2dd(0x28b)]['requireSession'](_0x213ac3),_0xebc831=this[_0x5ea2dd(0x110)]['createInstance'](_0x3dc319,_0x213ac3,_0xc20356);return _0xebc831[_0x5ea2dd(0x324)](),_0xebc831;}async['_startDocCollabCursor'](_0x469db4){const _0x56003b=_0x43ec4c,_0x36a7cb=await this[_0x56003b(0x28b)][_0x56003b(0x1a1)](_0x469db4),_0x128898=this[_0x56003b(0x110)][_0x56003b(0x2cf)](_0x18fa7b,_0x469db4,_0x36a7cb);return _0x128898[_0x56003b(0x324)](),_0x128898;}};_0xa39003=_0x3e3272([_0x319f55(0x0,_0x50235c[_0x43ec4c(0x281)]),_0x319f55(0x1,_0x50235c[_0x43ec4c(0x25f)](_0x50235c[_0x43ec4c(0x2ec)])),_0x319f55(0x2,_0x50235c[_0x43ec4c(0x25f)](_0x59d2d1['CollaborationSessionService']))],_0xa39003);const _0x17490d=0x14,_0x481715=0xc8,_0x56049f=0x4,_0x3df532=0x5;function _0x29e66a(_0x33d1d8,_0xf2d916){const _0xf3b1d5=_0x43ec4c;let {radius:_0x232eee,width:_0x4377dc,height:_0x570719}=_0xf2d916;_0x232eee=_0x232eee!=null?_0x232eee:0x0,_0x4377dc=_0x4377dc!=null?_0x4377dc:0x1e,_0x570719=_0x570719!=null?_0x570719:0x1e;let _0x200adb=0x0,_0x2f116e=0x0,_0xfd0932=0x0;_0x200adb=_0x2f116e=_0xfd0932=Math[_0xf3b1d5(0x28c)](_0x232eee,_0x4377dc/0x2,_0x570719/0x2),_0x33d1d8[_0xf3b1d5(0x2b2)](),_0x33d1d8[_0xf3b1d5(0x301)](_0x200adb,0x0),_0x33d1d8['lineTo'](_0x4377dc-_0x2f116e,0x0),_0x33d1d8[_0xf3b1d5(0xfd)](_0x4377dc-_0x2f116e,_0x2f116e,_0x2f116e,Math['PI']*0x3/0x2,0x0,!0x1),_0x33d1d8[_0xf3b1d5(0x2c3)](_0x4377dc,_0x570719-_0xfd0932),_0x33d1d8['arc'](_0x4377dc-_0xfd0932,_0x570719-_0xfd0932,_0xfd0932,0x0,Math['PI']/0x2,!0x1),_0x33d1d8[_0xf3b1d5(0x2c3)](0x0,_0x570719),_0x33d1d8['lineTo'](0x0,_0x200adb),_0x33d1d8['arc'](_0x200adb,_0x200adb,_0x200adb,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x33d1d8[_0xf3b1d5(0x15b)](),_0xf2d916[_0xf3b1d5(0x26d)]&&(_0x33d1d8[_0xf3b1d5(0x252)](),_0x33d1d8[_0xf3b1d5(0x199)]=_0xf2d916[_0xf3b1d5(0x26d)],_0xf2d916[_0xf3b1d5(0x23a)]===_0xf3b1d5(0x201)?_0x33d1d8['fill'](_0xf3b1d5(0x201)):_0x33d1d8[_0xf3b1d5(0x26d)](),_0x33d1d8[_0xf3b1d5(0x360)]());}class _0x343a97 extends _0x1a4c38['Shape']{constructor(_0x203d02,_0x550462){const _0x2eaf58=_0x43ec4c;super(_0x203d02,_0x550462),_0x4cf7ca(this,_0x2eaf58(0x25c)),_0x4cf7ca(this,_0x2eaf58(0x38e)),(this[_0x2eaf58(0x25c)]=_0x550462==null?void 0x0:_0x550462[_0x2eaf58(0x25c)],this['text']=_0x550462==null?void 0x0:_0x550462[_0x2eaf58(0x38e)]);}static[_0x43ec4c(0xf4)](_0x3478a6,_0x42307b){const _0x25d9e3=_0x43ec4c,{text:_0x3b9569,color:_0x510366}=_0x42307b;_0x3478a6[_0x25d9e3(0x252)](),_0x3478a6[_0x25d9e3(0x1da)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x553f78=_0x3478a6[_0x25d9e3(0x3aa)](_0x3b9569)[_0x25d9e3(0x177)],_0x47cc09=Math[_0x25d9e3(0x28c)](_0x553f78+0x2*_0x56049f,_0x481715);_0x29e66a(_0x3478a6,{'height':_0x17490d,'radius':0x4,'width':_0x47cc09,'fill':_0x510366}),_0x3478a6[_0x25d9e3(0x199)]=_0x25d9e3(0x107);const _0xa6f637=_0x56049f,_0x5a9942=_0x17490d-_0x3df532,_0x2126ad=_0x481715-0x2*_0x56049f;if(_0x553f78>_0x2126ad){let _0x416a8d='',_0x12d32f=0x0;for(const _0x594ccf of _0x3b9569){const _0x3dcfac=_0x3478a6[_0x25d9e3(0x3aa)](_0x594ccf)[_0x25d9e3(0x177)];if(_0x12d32f+_0x3dcfac<=_0x2126ad-_0x3478a6[_0x25d9e3(0x3aa)](_0x25d9e3(0x2a0))[_0x25d9e3(0x177)])_0x416a8d+=_0x594ccf,_0x12d32f+=_0x3dcfac;else{_0x416a8d+=_0x25d9e3(0x2a0);break;}}_0x3478a6[_0x25d9e3(0x34a)](_0x416a8d,_0xa6f637,_0x5a9942);}else _0x3478a6[_0x25d9e3(0x34a)](_0x3b9569,_0xa6f637,_0x5a9942);_0x3478a6[_0x25d9e3(0x360)]();}[_0x43ec4c(0x295)](_0x1783c0){_0x343a97['drawWith'](_0x1783c0,this);}}const _0x5dc112=_0x43ec4c(0x262),_0x5c3ef3=_0x43ec4c(0x345),_0x3537b6='collab-rect-range-',_0x474917=0x6,_0x484040=1.5,_0x39f28f=0x4,_0x35cf1a=1.5,_0x316f=_0x43ec4c(0x185);class _0x3198e5{constructor(_0x2721ad,_0x149a4d,_0x58254c,_0x462a17){const _0x243ccb=_0x43ec4c;_0x4cf7ca(this,'_shapes',[]),_0x4cf7ca(this,'_anchor',null),_0x4cf7ca(this,_0x243ccb(0x2fc),null),_0x4cf7ca(this,_0x243ccb(0x2c2),null),_0x4cf7ca(this,_0x243ccb(0x197),null),_0x4cf7ca(this,_0x243ccb(0x2d2),null),(this['_cursor']=_0x2721ad,this[_0x243ccb(0x138)]=_0x149a4d,this['_docSkeleton']=_0x58254c,this[_0x243ccb(0x11c)]=_0x462a17,this[_0x243ccb(0x304)]());}set[_0x43ec4c(0x257)](_0x2ebe41){const _0xb635a6=_0x43ec4c;_0x2ebe41?(this[_0xb635a6(0x2c2)]&&this[_0xb635a6(0x2c2)][_0xb635a6(0x362)](),this['_textBubble']&&this['_textBubble'][_0xb635a6(0x170)]()):(this[_0xb635a6(0x2c2)]&&this[_0xb635a6(0x2c2)]['show'](),this[_0xb635a6(0x2fc)]&&this['_textBubble'][_0xb635a6(0x362)]());}[_0x43ec4c(0x123)](){const _0xd9afbd=_0x43ec4c;for(const _0x205b77 of this[_0xd9afbd(0x2f3)])_0x205b77[_0xd9afbd(0x123)]();this['_textBubble']&&this[_0xd9afbd(0x2fc)]['dispose'](),this[_0xd9afbd(0x2c2)]&&this['_anchorDot'][_0xd9afbd(0x123)](),this['_anchor']&&this[_0xd9afbd(0x1aa)][_0xd9afbd(0x123)](),this[_0xd9afbd(0x2d2)]&&this[_0xd9afbd(0x2d2)]();}[_0x43ec4c(0x304)](){const _0xd1f7dc=_0x43ec4c;var _0x1414db;const {_docSkeleton:_0x387041,_document:_0x563668}=this,{color:_0x59e23d,name:_0x49cabb,ranges:_0x33091d}=this[_0xd1f7dc(0x36b)],_0x1076ad=_0x563668[_0xd1f7dc(0x26e)](),{docsLeft:_0x413d32,docsTop:_0x431983}=_0x1076ad,_0x2cd651=new _0x2d3daa[(_0xd1f7dc(0x336))](_0x1076ad,_0x387041);for(const {startOffset:_0x4e2a96,endOffset:_0x1ea37e,rangeType:_0xae1bcc,segmentId:_0x4d3598,segmentPage:_0x2c3f0a,collapsed:_0x5d5456,isActive:_0x3bb83a}of _0x33091d){const _0x2e29c6=_0x387041[_0xd1f7dc(0x2b9)](_0x4e2a96,!0x0,_0x4d3598,_0x2c3f0a);let _0x578379=_0x387041[_0xd1f7dc(0x2b9)](_0x1ea37e,!0x0,_0x4d3598,_0x2c3f0a);if(_0x578379==null&&(_0x578379=_0x387041[_0xd1f7dc(0x2b9)](_0x1ea37e-0x1,!0x1,_0x4d3598,_0x2c3f0a)),_0x3bb83a){const {contentBoxPointGroup:_0x1fbc9d}=_0x2cd651[_0xd1f7dc(0x188)](_0x578379,_0x578379);if(_0x1fbc9d['length']===0x0)continue;this[_0xd1f7dc(0x235)](_0x59e23d,_0x1fbc9d,_0x413d32,_0x431983,_0x49cabb),this['_eventUnsubscribe']=this[_0xd1f7dc(0x33d)]();}if(_0x2e29c6&&_0x578379){if(_0xae1bcc===_0x50235c['DOC_RANGE_TYPE']['RECT']){const _0x55d683=new _0x2d3daa[(_0xd1f7dc(0x37d))](_0x1076ad,_0x387041),{pointGroup:_0x1152bd}=(_0x1414db=_0x55d683[_0xd1f7dc(0x188)](_0x2e29c6,_0x578379))!=null?_0x1414db:{};if(_0x1152bd==null||_0x1152bd['length']===0x0)continue;this[_0xd1f7dc(0x270)](_0x59e23d,_0x1152bd,_0x413d32,_0x431983);}else{if(!_0x5d5456){const {borderBoxPointGroup:_0x1643b1}=_0x2cd651[_0xd1f7dc(0x188)](_0x2e29c6,_0x578379);if(_0x1643b1[_0xd1f7dc(0x229)]===0x0)continue;this['_drawTextRange'](_0x59e23d,_0x1643b1,_0x413d32,_0x431983);}}}}}['_drawAnchor'](_0x22f6d9,_0x15a782,_0x46080c,_0x51830e,_0x52882e){const _0x31fc38=_0x43ec4c,_0x53cc3b=this[_0x31fc38(0x153)](_0x15a782),{left:_0xeaf2e0,top:_0x44e4c1,height:_0x172ba1}=_0x53cc3b,_0x261049=this[_0x31fc38(0x32a)](),_0x46dc78=_0x35cf1a/_0x261049,_0x25f78f=new _0x1a4c38[(_0x31fc38(0x130))](_0x5dc112+_0x50235c[_0x31fc38(0x16d)](_0x474917),{'left':_0xeaf2e0+_0x46080c-_0x46dc78,'top':_0x44e4c1+_0x51830e,'height':_0x172ba1,'width':_0x484040,'fill':_0x22f6d9||_0x1a4c38[_0x31fc38(0x29f)](_0x50235c['COLORS'][_0x31fc38(0x2b5)],0x0),'strokeWidth':_0x46dc78,'stroke':_0x316f,'evented':!0x0});this[_0x31fc38(0x1aa)]=_0x25f78f,this['_scene']['addObject'](_0x25f78f,_0x2d3daa['TEXT_RANGE_LAYER_INDEX']);const _0x18f189=new _0x1a4c38['Rect'](_0x5dc112+_0x50235c[_0x31fc38(0x16d)](_0x474917),{'left':_0xeaf2e0+_0x46080c-_0x46dc78,'top':_0x44e4c1+_0x51830e-_0x39f28f/0x2,'height':_0x39f28f,'width':_0x39f28f,'fill':_0x22f6d9||_0x1a4c38[_0x31fc38(0x29f)](_0x50235c[_0x31fc38(0x16c)][_0x31fc38(0x2b5)],0x0),'strokeWidth':0x0,'stroke':_0x22f6d9||_0x1a4c38[_0x31fc38(0x29f)](_0x50235c[_0x31fc38(0x16c)][_0x31fc38(0x2b5)],0x0),'evented':!0x1});this[_0x31fc38(0x2c2)]=_0x18f189,this[_0x31fc38(0x138)]['addObject'](_0x18f189,_0x2d3daa['TEXT_RANGE_LAYER_INDEX']);const _0x29f9ac=new _0x343a97(_0x5dc112+_0x50235c[_0x31fc38(0x16d)](_0x474917),{'left':_0xeaf2e0+_0x46080c-_0x46dc78,'top':_0x44e4c1+_0x51830e-_0x17490d,'text':_0x52882e,'color':_0x22f6d9});this['_textBubble']=_0x29f9ac,this['_scene'][_0x31fc38(0x10c)](_0x29f9ac,_0x2d3daa[_0x31fc38(0x36e)]),this[_0x31fc38(0x257)]=!0x1;}[_0x43ec4c(0x33d)](){const _0x52ac35=_0x43ec4c,_0x337db7=this['_anchor']['onPointerEnter$'][_0x52ac35(0x1c3)](()=>{const _0x407daf=_0x52ac35;this[_0x407daf(0x257)]=!0x0;}),_0x2e8a9a=this[_0x52ac35(0x1aa)]['onPointerLeave$'][_0x52ac35(0x1c3)](()=>{const _0x4e0d6b=_0x52ac35;this['_hideTimer']&&clearTimeout(this[_0x4e0d6b(0x197)]),this[_0x4e0d6b(0x197)]=setTimeout(()=>{const _0x4f07ca=_0x4e0d6b;this[_0x4f07ca(0x257)]=!0x1;},0x7d0);});return()=>{const _0x2858c3=_0x52ac35;_0x337db7[_0x2858c3(0x13f)](),_0x2e8a9a[_0x2858c3(0x13f)]();};}[_0x43ec4c(0x179)](_0x45cd48,_0x5e5bd1,_0x5b3f2f,_0x3779cf){const _0x636918=_0x43ec4c,_0x572bcf=new _0x50235c[(_0x636918(0x18e))](_0x45cd48)['setAlpha'](0.2)['toRgbString'](),_0x28c7e0=new _0x1a4c38[(_0x636918(0x219))](_0x5c3ef3+_0x50235c[_0x636918(0x16d)](_0x474917),{'pointsGroup':_0x5e5bd1,'fill':_0x572bcf||_0x1a4c38[_0x636918(0x29f)](_0x50235c[_0x636918(0x16c)][_0x636918(0x2b5)],0.2),'left':_0x5b3f2f,'top':_0x3779cf,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x636918(0x2f3)]['push'](_0x28c7e0),this[_0x636918(0x138)]['addObject'](_0x28c7e0,_0x2d3daa['TEXT_RANGE_LAYER_INDEX']);}[_0x43ec4c(0x270)](_0x548dd6,_0xac2734,_0xc8b604,_0x12550b){const _0x5ea369=_0x43ec4c,_0x58ce5c=new _0x50235c[(_0x5ea369(0x18e))](_0x548dd6)[_0x5ea369(0x1db)](0.2)[_0x5ea369(0x3a4)](),_0xe4428b=new _0x1a4c38['RegularPolygon'](_0x3537b6+_0x50235c[_0x5ea369(0x16d)](_0x474917),{'pointsGroup':_0xac2734,'fill':_0x58ce5c||_0x1a4c38[_0x5ea369(0x29f)](_0x50235c[_0x5ea369(0x16c)][_0x5ea369(0x2b5)],0.2),'left':_0xc8b604,'top':_0x12550b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5ea369(0x2f3)][_0x5ea369(0x2f0)](_0xe4428b),this['_scene'][_0x5ea369(0x10c)](_0xe4428b,_0x2d3daa[_0x5ea369(0x36e)]);}[_0x43ec4c(0x153)](_0x3b8c8b){const _0x2d1d20=_0x3b8c8b[0x0],_0x3a408b=_0x2d1d20[0x0],_0x4192ae=_0x2d1d20[0x2],{x:_0x405cc4,y:_0x2b0064}=_0x3a408b,{x:_0x4f791a,y:_0x2de9bc}=_0x4192ae;return{'left':_0x405cc4,'top':_0x2b0064,'width':_0x4f791a-_0x405cc4,'height':_0x2de9bc-_0x2b0064};}[_0x43ec4c(0x32a)](){const _0x18939d=_0x43ec4c,{scaleX:_0x487676,scaleY:_0x3459dd}=this['_scene']['getAncestorScale']();return Math[_0x18939d(0x161)](_0x487676,_0x3459dd);}}var _0xde7b16=Object['getOwnPropertyDescriptor'],_0x4b1bf4=(_0x3161dd,_0x269089,_0x40c941,_0x46f388)=>{const _0x2e5ebd=_0x43ec4c;for(var _0xb83178=_0x46f388>0x1?void 0x0:_0x46f388?_0xde7b16(_0x269089,_0x40c941):_0x269089,_0x157e95=_0x3161dd[_0x2e5ebd(0x229)]-0x1,_0x3cde79;_0x157e95>=0x0;_0x157e95--)(_0x3cde79=_0x3161dd[_0x157e95])&&(_0xb83178=_0x3cde79(_0xb83178)||_0xb83178);return _0xb83178;},_0xf3f428=(_0x4980ed,_0x2e4205)=>(_0x2ef6a8,_0x32fa67)=>_0x2e4205(_0x2ef6a8,_0x32fa67,_0x4980ed);let _0x1444e1=class extends _0x50235c[_0x43ec4c(0x2ef)]{constructor(_0x6453d5,_0x448222,_0x3f7e12,_0x397873,_0x20cbf4){const _0x519cfa=_0x43ec4c;super(),_0x4cf7ca(this,_0x519cfa(0xe2),[]),_0x4cf7ca(this,_0x519cfa(0xda),[]),(this[_0x519cfa(0x2d0)]=_0x6453d5,this[_0x519cfa(0x24c)]=_0x448222,this['_collabCursorController']=_0x3f7e12,this[_0x519cfa(0x340)]=_0x397873,this[_0x519cfa(0x134)]=_0x20cbf4,this[_0x519cfa(0x38d)]());}[_0x43ec4c(0x38d)](){const _0x24cdf4=_0x43ec4c,_0xbb6e24=this[_0x24cdf4(0x2d0)]['unitId'],_0x42047d=this['_docSkeletonManagerService'];this[_0x24cdf4(0x2ab)](_0x4c6442['combineLatest']([this[_0x24cdf4(0xf6)][_0x24cdf4(0x2ee)](_0xbb6e24),this[_0x24cdf4(0x134)][_0x24cdf4(0x12b)]])['pipe'](_0x1611fd[_0x24cdf4(0x23b)](([_0x295aad,_0x4d5617])=>({'skeleton':_0x42047d[_0x24cdf4(0xe5)](),'cursors':[..._0x295aad['values']()][_0x24cdf4(0x114)](_0x44c147=>({..._0x44c147,'color':this['_themeService'][_0x24cdf4(0x3b4)](_0x44c147['color'])}))})))[_0x24cdf4(0x1f4)](_0x57ce9b=>{if(this['_removeCollabCursors'](),_0x57ce9b){const {skeleton:_0x2342c3,cursors:_0x2e2c03}=_0x57ce9b;this['_updateCollabCursors'](_0x2342c3,_0x2e2c03);}})),this[_0x24cdf4(0x320)](),this[_0x24cdf4(0x18d)]();}[_0x43ec4c(0x102)](_0x48d52f,_0x4b882f){const _0x30a4a5=_0x43ec4c,{scene:_0x2f66f2,mainComponent:_0x5b4964}=this['_context'],_0x4f1169=_0x4b882f[_0x30a4a5(0x23b)](_0x3b38c0=>new _0x3198e5(_0x3b38c0,_0x2f66f2,_0x48d52f,_0x5b4964));this[_0x30a4a5(0xe2)]=_0x4f1169,this[_0x30a4a5(0xda)]=_0x4b882f;}['_refreshCollabCursors'](){const _0x66cff5=_0x43ec4c;this[_0x66cff5(0x142)]();const {scene:_0x43b180,mainComponent:_0x290263}=this[_0x66cff5(0x2d0)],_0x2ddb49=this[_0x66cff5(0x24c)]['getSkeleton'](),_0x35b6b5=this['_cursors'][_0x66cff5(0x23b)](_0x2b6889=>new _0x3198e5(_0x2b6889,_0x43b180,_0x2ddb49,_0x290263));this[_0x66cff5(0xe2)]=_0x35b6b5;}['_removeCollabCursors'](){const _0x3ec111=_0x43ec4c;this[_0x3ec111(0xe2)][_0x3ec111(0x10d)](_0x242157=>_0x242157[_0x3ec111(0x123)]()),this[_0x3ec111(0xe2)]=[];}[_0x43ec4c(0x18d)](){const _0x10ad4c=_0x43ec4c,_0x37b9c4=[_0x2d3daa[_0x10ad4c(0x367)]['id']];this[_0x10ad4c(0x2ab)](this[_0x10ad4c(0x340)][_0x10ad4c(0x192)](_0x3c1008=>{const _0x178fa0=_0x10ad4c;_0x37b9c4['includes'](_0x3c1008['id'])&&_0x3c1008[_0x178fa0(0x329)][_0x178fa0(0x374)]===this['_context'][_0x178fa0(0x374)]&&this['_refreshCollabCursors']();}));}[_0x43ec4c(0x320)](){const _0x4dd730=_0x43ec4c;this['disposeWithMe'](_0x50235c['fromEventSubject'](this[_0x4dd730(0x2d0)][_0x4dd730(0x1d8)][_0x4dd730(0x12d)])[_0x4dd730(0x31e)](_0x1611fd[_0x4dd730(0x172)](_0x3f851f=>_0x3f851f['type']===_0x1a4c38[_0x4dd730(0x384)][_0x4dd730(0x278)]),_0x1611fd[_0x4dd730(0xe1)](0x10))[_0x4dd730(0x1f4)](()=>{const _0x4e2721=_0x4dd730;this[_0x4e2721(0x1d6)]();}));}};_0x1444e1=_0x4b1bf4([_0xf3f428(0x1,_0x50235c[_0x43ec4c(0x25f)](_0x4a4656[_0x43ec4c(0x246)])),_0xf3f428(0x2,_0x50235c['Inject'](_0xa39003)),_0xf3f428(0x3,_0x50235c['ICommandService']),_0xf3f428(0x4,_0x50235c[_0x43ec4c(0x25f)](_0x50235c['ThemeService']))],_0x1444e1);const _0x416d1c=0x1,_0x3c4145=1.5;class _0x6396e6 extends _0x1a4c38[_0x43ec4c(0x3b5)]{constructor(_0x34a9e3,_0x5e8c2c){const _0x37e3bc=_0x43ec4c;super(_0x34a9e3,_0x5e8c2c),_0x4cf7ca(this,_0x37e3bc(0x26b)),_0x4cf7ca(this,'_hovered',!0x1),_0x4cf7ca(this,'_range'),_0x4cf7ca(this,_0x37e3bc(0x202),''),_0x4cf7ca(this,_0x37e3bc(0x337),'top'),_0x4cf7ca(this,_0x37e3bc(0x299)),(_0x5e8c2c&&this[_0x37e3bc(0x2e2)](_0x5e8c2c),this[_0x37e3bc(0x2b0)][_0x37e3bc(0x1c3)](()=>this[_0x37e3bc(0x2e2)]({'hovered':!0x0})),this[_0x37e3bc(0x19d)][_0x37e3bc(0x1c3)](()=>this[_0x37e3bc(0x2e2)]({'hovered':!0x1})));}[_0x43ec4c(0x2e2)](_0x3cdf9c){const _0x629ff2=_0x43ec4c;var _0x4caf80,_0x3d9853,_0x593c54,_0x19e832,_0x2cee09,_0x36a215;this[_0x629ff2(0x26b)]=(_0x4caf80=_0x3cdf9c[_0x629ff2(0x25c)])!=null?_0x4caf80:this['_color'],this[_0x629ff2(0x115)]=(_0x3d9853=_0x3cdf9c[_0x629ff2(0xe6)])!=null?_0x3d9853:this[_0x629ff2(0x115)],this[_0x629ff2(0x238)]=(_0x593c54=_0x3cdf9c[_0x629ff2(0x2d3)])!=null?_0x593c54:this['_range'],this[_0x629ff2(0x202)]=(_0x19e832=_0x3cdf9c[_0x629ff2(0x25d)])!=null?_0x19e832:this[_0x629ff2(0x202)],this[_0x629ff2(0x337)]=(_0x2cee09=_0x3cdf9c[_0x629ff2(0x277)])!=null?_0x2cee09:this['_labelPosition'],this[_0x629ff2(0x299)]=(_0x36a215=_0x3cdf9c[_0x629ff2(0x213)])!=null?_0x36a215:this[_0x629ff2(0x299)],this[_0x629ff2(0x263)]({'width':_0x3cdf9c[_0x629ff2(0x177)],'height':_0x3cdf9c[_0x629ff2(0x3a9)]});}[_0x43ec4c(0x2ad)](_0x4d30c8){const _0x9802=_0x43ec4c,{row:_0x1ab8f1,column:_0xdb7e49}=_0x4d30c8;if(_0x1ab8f1>=this[_0x9802(0x238)][_0x9802(0x164)]&&_0x1ab8f1<=this[_0x9802(0x238)][_0x9802(0x2d7)]&&_0xdb7e49>=this[_0x9802(0x238)][_0x9802(0x16e)]&&_0xdb7e49<=this[_0x9802(0x238)][_0x9802(0xe4)]){this[_0x9802(0x2e2)]({'hovered':!0x0});return;}this[_0x9802(0x2e2)]({'hovered':!0x1});}['triggerDblclick'](_0x2d6ba0){return!0x1;}[_0x43ec4c(0x295)](_0x38154f){const _0x272a68=_0x43ec4c;_0x1a4c38[_0x272a68(0x130)][_0x272a68(0xf4)](_0x38154f,{'width':this[_0x272a68(0x177)],'height':this[_0x272a68(0x3a9)],'strokeWidth':_0x3c4145,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x272a68(0x299)]}),this[_0x272a68(0x115)]&&(_0x38154f['save'](),_0x38154f['transform'](0x1,0x0,0x0,0x1,this[_0x272a68(0x177)],this['_labelPosition']==='bottom'?0x0:-_0x17490d),_0x343a97[_0x272a68(0xf4)](_0x38154f,{'text':this['_name'],'color':this['_color']}),_0x38154f[_0x272a68(0x360)]());}}var _0x14ea80=Object[_0x43ec4c(0x303)],_0x599a9b=(_0x3e27d3,_0x4cd5e4,_0x87da72,_0x335834)=>{const _0x44e943=_0x43ec4c;for(var _0x397c4b=_0x335834>0x1?void 0x0:_0x335834?_0x14ea80(_0x4cd5e4,_0x87da72):_0x4cd5e4,_0x443454=_0x3e27d3[_0x44e943(0x229)]-0x1,_0x91259c;_0x443454>=0x0;_0x443454--)(_0x91259c=_0x3e27d3[_0x443454])&&(_0x397c4b=_0x91259c(_0x397c4b)||_0x397c4b);return _0x397c4b;},_0x140ed8=(_0x3b0465,_0x123508)=>(_0x2ad377,_0x360e6f)=>_0x123508(_0x2ad377,_0x360e6f,_0x3b0465);const _0x2d521f=0x1389;let _0x2a140e=class extends _0x50235c['RxDisposable']{constructor(_0x40dd37,_0x48b8b2,_0xd84e67,_0x3d3d1a){const _0xc03e14=_0x43ec4c;super(),_0x4cf7ca(this,'_cursors',new Set()),_0x4cf7ca(this,_0xc03e14(0x38a),null),(this['_context']=_0x40dd37,this[_0xc03e14(0x105)]=_0x48b8b2,this['_collabCursorController']=_0xd84e67,this[_0xc03e14(0x134)]=_0x3d3d1a,this['_init']());}[_0x43ec4c(0x38d)](){const _0x1f037=_0x43ec4c;this['_sheetSkeletonManagerService']['currentSkeleton$']['pipe'](_0x1611fd['takeUntil'](this['dispose$']),_0x1611fd[_0x1f037(0x317)](_0x483dc5=>{const _0x5a776a=_0x1f037;if(_0x483dc5){const _0xb8ce61=_0x483dc5[_0x5a776a(0x38b)];return _0x4c6442[_0x5a776a(0x22c)](this[_0x5a776a(0xf6)][_0x5a776a(0x2ee)](this['_context'][_0x5a776a(0x374)]),this[_0x5a776a(0x134)][_0x5a776a(0x12b)])[_0x5a776a(0x31e)](_0x1611fd[_0x5a776a(0x23b)](([_0x26d2f2,_0x4c9b69])=>{const _0x2c5113=_0x5a776a,_0x18e92c=new Map();return _0x26d2f2[_0x2c5113(0x10d)]((_0x4b2b90,_0x4cea94)=>{const _0x4aa077=_0x2c5113;if(_0x4b2b90[_0x4aa077(0x34b)]===_0xb8ce61){const _0x1f4b3e={..._0x4b2b90};_0x1f4b3e[_0x4aa077(0x25c)]=this[_0x4aa077(0x134)][_0x4aa077(0x3b4)](_0x4b2b90[_0x4aa077(0x25c)]),_0x18e92c['set'](_0x4cea94,_0x1f4b3e);}}),{'skeleton':_0x483dc5,'cursors':_0x18e92c};}));}return _0x4c6442['of']({'skeleton':null,'cursors':new Map()});}))[_0x1f037(0x1f4)](({skeleton:_0x24ac02,cursors:_0x10eec6})=>{const _0xdb845b=_0x1f037;this[_0xdb845b(0x142)](),_0x24ac02&&this[_0xdb845b(0x102)](_0x24ac02,_0x10eec6);}),this[_0x1f037(0x105)]['currentSkeleton$'][_0x1f037(0x1f4)](_0xc4286b=>{const _0x5be213=_0x1f037;if(_0xc4286b==null)return;const {skeleton:_0x2143a4}=_0xc4286b,{scene:_0x4855c5}=this['_context'];_0x4855c5[_0x5be213(0x234)][_0x5be213(0x1c3)](_0x50235c[_0x5be213(0x39f)](_0x2cbd4d=>{const _0x50b743=_0x5be213;var _0x2f1fc0,_0x49ca31;const {offsetX:_0xb6f8a8,offsetY:_0x50677c}=_0x2cbd4d,{x:_0x1a8ca8,y:_0x2c1f1e}=_0x4855c5[_0x50b743(0x32e)](_0x1a4c38[_0x50b743(0x30c)][_0x50b743(0x2e0)]([_0xb6f8a8,_0x50677c])),{scaleX:_0x2a9bb4,scaleY:_0x102bdc}=_0x4855c5[_0x50b743(0x352)](),_0x320024=_0x4855c5[_0x50b743(0x29c)](_0x1a4c38[_0x50b743(0x1cc)][_0x50b743(0x1fc)]),_0x465041=_0x4855c5[_0x50b743(0x31f)](_0x1a4c38[_0x50b743(0x30c)][_0x50b743(0x2e0)]([_0x1a8ca8,_0x2c1f1e]),_0x320024),_0xc1ae31=_0x2143a4[_0x50b743(0x319)](_0xb6f8a8,_0x50677c,_0x2a9bb4,_0x102bdc,_0x465041);((_0x2f1fc0=this[_0x50b743(0x38a)])==null?void 0x0:_0x2f1fc0[_0x50b743(0x11e)])===_0xc1ae31[_0x50b743(0x11e)]&&((_0x49ca31=this[_0x50b743(0x38a)])==null?void 0x0:_0x49ca31[_0x50b743(0x363)])===_0xc1ae31[_0x50b743(0x363)]||this[_0x50b743(0xda)]['forEach'](_0xcf8233=>{const _0x4588ff=_0x50b743;_0xcf8233[_0x4588ff(0x2ad)](_0xc1ae31);});},0x64));});}[_0x43ec4c(0x102)](_0x1606df,_0x1784be){const _0x3351a6=_0x43ec4c;var _0x2097bc;const _0x3397f3=(_0x2097bc=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x2097bc[_0x3351a6(0x156)];if(!_0x3397f3)return;const _0x12b284=this['_getSheetObject']();if(!_0x12b284)return;this[_0x3351a6(0xda)][_0x3351a6(0x10d)](_0x2c0cba=>{const _0x1d46df=_0x3351a6;_0x2c0cba[_0x1d46df(0x14d)]();});const {scene:_0x242644}=_0x12b284,_0x336b87=_0x20eb28(Array[_0x3351a6(0x14c)](_0x1784be[_0x3351a6(0x2c4)]()))['map'](_0x5ddfee=>{const _0x5a2658=_0x3351a6,{color:_0x15a406,range:_0x566618,name:_0x2058f5,selection:_0x5a2f92,sheetID:_0x4dccf4}=_0x5ddfee,{startColumn:_0x91a452,startRow:_0x2c81c3,endColumn:_0x20f426,endRow:_0x224a3c}=_0x566618,_0x5291eb=_0x5a2d49['getCoordByCell'](_0x2c81c3,_0x91a452,_0x242644,_0x3397f3),_0x1ba44a=_0x5a2d49[_0x5a2658(0x2d1)](_0x224a3c,_0x20f426,_0x242644,_0x3397f3),{columnHeaderHeightAndMarginTop:_0x1767b2}=_0x3397f3,{startX:_0x24b883,startY:_0x4c4ba3}=_0x5291eb,{endX:_0x458ca2,endY:_0x498814}=_0x1ba44a,_0x3c8019=_0x458ca2-_0x24b883,_0x424e31=_0x498814-_0x4c4ba3,_0x39112a={'labelPosition':_0x4c4ba3-_0x1767b2>=_0x17490d?_0x5a2658(0x10e):_0x5a2658(0x302),'sheetID':_0x4dccf4,'range':_0x566618,'color':_0x15a406,'name':_0x2058f5,'selection':_0x5a2f92,'left':_0x24b883,'top':_0x4c4ba3,'width':_0x3c8019,'height':_0x424e31,'evented':!0x1,'zIndex':_0x2d521f};return new _0x6396e6(_0x2058f5,_0x39112a);});_0x242644[_0x3351a6(0x385)](_0x336b87,_0x416d1c),this[_0x3351a6(0xda)]=new Set(_0x336b87);}[_0x43ec4c(0x142)](){const _0x10d9dc=_0x43ec4c;var _0x13e8f6;(_0x13e8f6=this[_0x10d9dc(0xda)])==null||_0x13e8f6[_0x10d9dc(0x10d)](_0x32e535=>_0x32e535[_0x10d9dc(0x123)]());}[_0x43ec4c(0x15a)](){const _0xd8aee2=_0x43ec4c;return _0x5a2d49[_0xd8aee2(0x3a6)](this[_0xd8aee2(0x2d0)][_0xd8aee2(0x271)],this[_0xd8aee2(0x2d0)]);}};_0x2a140e=_0x599a9b([_0x140ed8(0x1,_0x50235c[_0x43ec4c(0x25f)](_0x5a2d49['SheetSkeletonManagerService'])),_0x140ed8(0x2,_0x50235c[_0x43ec4c(0x25f)](_0xa39003)),_0x140ed8(0x3,_0x50235c['Inject'](_0x50235c[_0x43ec4c(0x394)]))],_0x2a140e);function _0x20eb28(_0x259203){const _0xcaff6=_0x43ec4c,_0x5bc891=new Map();return _0x259203['forEach'](_0x48a05f=>{const _0x3c23fa=_0x3d56;if(_0x5bc891['has'](_0x48a05f[_0x3c23fa(0x221)])){const _0x54ce11=_0x5bc891[_0x3c23fa(0x268)](_0x48a05f[_0x3c23fa(0x221)]);_0x54ce11['name']+=',\x20'+_0x48a05f[_0x3c23fa(0x25d)];}else _0x5bc891[_0x3c23fa(0x392)](_0x48a05f[_0x3c23fa(0x221)],_0x48a05f);}),Array[_0xcaff6(0x14c)](_0x5bc891[_0xcaff6(0x2c4)]());}var _0x481b90=Object[_0x43ec4c(0x303)],_0x3e957=(_0x11ead0,_0x2857a9,_0x43a8ef,_0x204341)=>{for(var _0x408e46=_0x204341>0x1?void 0x0:_0x204341?_0x481b90(_0x2857a9,_0x43a8ef):_0x2857a9,_0x1b9470=_0x11ead0['length']-0x1,_0x311964;_0x1b9470>=0x0;_0x1b9470--)(_0x311964=_0x11ead0[_0x1b9470])&&(_0x408e46=_0x311964(_0x408e46)||_0x408e46);return _0x408e46;},_0x370170=(_0x18a341,_0x21a9f0)=>(_0x5ad412,_0x54c3fc)=>_0x21a9f0(_0x5ad412,_0x54c3fc,_0x18a341);let _0x1dab61=class extends _0x50235c[_0x43ec4c(0x1d0)]{constructor(_0x49a7a4,_0x6a0470,_0x2cf3c2,_0x27a6e5,_0x1a89e7,_0x294928){const _0xd60c31=_0x43ec4c;super(),this['_beforeCloseService']=_0x49a7a4,this[_0xd60c31(0x1e1)]=_0x6a0470,this['_collaborationUIEventService']=_0x2cf3c2,this[_0xd60c31(0x129)]=_0x27a6e5,this[_0xd60c31(0x355)]=_0x1a89e7,this['_localeService']=_0x294928,this[_0xd60c31(0x222)](),this[_0xd60c31(0xe9)]();}[_0x43ec4c(0x222)](){const _0x250cd2=_0x43ec4c;this[_0x250cd2(0x2ab)](this[_0x250cd2(0x2f8)]['registerBeforeClose'](()=>{const _0x39faf8=_0x250cd2;if(this[_0x39faf8(0x1e1)]['saveTaskMap'][_0x39faf8(0x37a)])return this['_localeService']['t'](_0x39faf8(0x1b5));}));}[_0x43ec4c(0xe9)](){const _0x2c5216=_0x43ec4c;this[_0x2c5216(0x2ab)](this['_collaborationUIEventService'][_0x2c5216(0xea)]['subscribe'](_0x1c0b10=>{const _0x5ca733=_0x2c5216;_0x1c0b10['id']===_0x59d2d1[_0x5ca733(0x23c)][_0x5ca733(0x260)]&&this[_0x5ca733(0x129)][_0x5ca733(0x170)]({'type':_0x775e7b[_0x5ca733(0x30d)][_0x5ca733(0x1c1)],'content':this['_localeService']['t'](_0x5ca733(0x39e))}),_0x1c0b10['id']===_0x59d2d1[_0x5ca733(0x23c)]['CLOSE_ROOM']&&this['_messageService'][_0x5ca733(0x170)]({'type':_0x775e7b['MessageType'][_0x5ca733(0x1c1)],'content':this['_localeService']['t'](_0x5ca733(0x1f6))}),_0x1c0b10['id']===_0x59d2d1[_0x5ca733(0x23c)][_0x5ca733(0x253)]&&this[_0x5ca733(0x355)][_0x5ca733(0x170)]({'title':this[_0x5ca733(0x312)]['t'](_0x5ca733(0x223)),'content':this['_localeService']['t']('permission.content'),'type':'error','duration':0x0}),_0x1c0b10['id']===_0x59d2d1[_0x5ca733(0x23c)][_0x5ca733(0x34f)]&&this[_0x5ca733(0x129)][_0x5ca733(0x170)]({'type':_0x775e7b[_0x5ca733(0x30d)]['Error'],'content':this[_0x5ca733(0x312)]['t'](_0x5ca733(0x1f6))+'('+_0x1c0b10[_0x5ca733(0x212)]+')'}),_0x1c0b10['id']===_0x59d2d1['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x5ca733(0x129)][_0x5ca733(0x170)]({'type':_0x775e7b['MessageType'][_0x5ca733(0x1c1)],'content':this['_localeService']['t'](_0x1c0b10[_0x5ca733(0x212)]||'')}),_0x1c0b10['id']===_0x59d2d1[_0x5ca733(0x23c)][_0x5ca733(0x338)]&&this[_0x5ca733(0x129)][_0x5ca733(0x170)]({'type':_0x775e7b[_0x5ca733(0x30d)]['Warning'],'content':this['_localeService']['t'](_0x5ca733(0x19b))}),_0x1c0b10['id']===_0x59d2d1['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x5ca733(0x129)][_0x5ca733(0x170)]({'type':_0x775e7b[_0x5ca733(0x30d)][_0x5ca733(0x106)],'content':this[_0x5ca733(0x312)]['t'](_0x5ca733(0x1d9))}),_0x1c0b10['id']===_0x59d2d1[_0x5ca733(0x23c)][_0x5ca733(0x14a)]&&this[_0x5ca733(0x129)]['show']({'type':_0x775e7b['MessageType'][_0x5ca733(0x106)],'content':this['_localeService']['t'](_0x5ca733(0x1a9))});}));}};_0x1dab61=_0x3e957([_0x370170(0x0,_0x9fcbd4[_0x43ec4c(0xe3)]),_0x370170(0x1,_0x59d2d1['ILocalCacheService']),_0x370170(0x2,_0x50235c[_0x43ec4c(0x25f)](_0x59d2d1[_0x43ec4c(0x224)])),_0x370170(0x3,_0x9fcbd4['IMessageService']),_0x370170(0x4,_0x9fcbd4['INotificationService']),_0x370170(0x5,_0x50235c[_0x43ec4c(0x25f)](_0x50235c[_0x43ec4c(0x29b)]))],_0x1dab61);var _0x37febe=Object[_0x43ec4c(0x303)],_0x3833f3=(_0x2e7c27,_0x31dc2e,_0x310aef,_0x44f58e)=>{const _0x10f994=_0x43ec4c;for(var _0x2062f3=_0x44f58e>0x1?void 0x0:_0x44f58e?_0x37febe(_0x31dc2e,_0x310aef):_0x31dc2e,_0x38f446=_0x2e7c27[_0x10f994(0x229)]-0x1,_0x2f1883;_0x38f446>=0x0;_0x38f446--)(_0x2f1883=_0x2e7c27[_0x38f446])&&(_0x2062f3=_0x2f1883(_0x2062f3)||_0x2062f3);return _0x2062f3;},_0xd28e16=(_0x1a011b,_0x320d2c)=>(_0x50caab,_0x427994)=>_0x320d2c(_0x50caab,_0x427994,_0x1a011b);let _0x4ef95c=class extends _0x50235c[_0x43ec4c(0x1d0)]{constructor(_0x4dd26e,_0x133126,_0x3605bb,_0x3c57c8){const _0x503fb5=_0x43ec4c;super(),_0x4cf7ca(this,_0x503fb5(0x1fa)),(this['_injector']=_0x4dd26e,this[_0x503fb5(0x236)]=_0x133126,this['_logService']=_0x3605bb,this[_0x503fb5(0x2ac)]=_0x3c57c8,this['_init']());}[_0x43ec4c(0x38d)](){const _0x2c6ca0=_0x43ec4c;this['_initWindowErrorListener'](),this[_0x2c6ca0(0x3a1)](),this['_monkeyPatchLogService'](),this['_initUserListener']();}[_0x43ec4c(0x1e9)](){const _0x15546a=_0x43ec4c;this[_0x15546a(0x2ab)](this['_collaborationSessionService'][_0x15546a(0x2c9)][_0x15546a(0x1f4)](_0x312760=>{const _0x162fdb=_0x15546a;this[_0x162fdb(0x1fa)]=_0x312760==null?void 0x0:_0x312760[_0x162fdb(0x1ff)];}));}[_0x43ec4c(0x2aa)](){const _0x44cb0b=_0x43ec4c,_0x19352c=_0x9b5ccd=>{const _0x2aeca4=_0x3d56;var _0x33b92d;this[_0x2aeca4(0x2eb)](_0x2aeca4(0x226),'[Window\x20Error]:\x20'+_0x9b5ccd[_0x2aeca4(0x31b)]+'\x20at\x20'+_0x9b5ccd[_0x2aeca4(0x1ae)]+':'+_0x9b5ccd['lineno']+':'+_0x9b5ccd['colno']+'\x0a'+(((_0x33b92d=_0x9b5ccd['error'])==null?void 0x0:_0x33b92d['stack'])||''));};window['addEventListener']('error',_0x19352c),this[_0x44cb0b(0x2ab)](()=>{const _0x1d01b3=_0x44cb0b;window[_0x1d01b3(0x2e7)](_0x1d01b3(0x226),_0x19352c);});}[_0x43ec4c(0x3a1)](){const _0x4e04fd=_0x43ec4c,_0x1aaa41=_0x2ffe07=>{const _0x530431=_0x3d56;this[_0x530431(0x2eb)](_0x530431(0x226),_0x530431(0x1ed)+_0x2ffe07[_0x530431(0x15d)]);};window[_0x4e04fd(0x1ad)](_0x4e04fd(0x275),_0x1aaa41),this['disposeWithMe'](()=>{const _0x2faf5b=_0x4e04fd;window[_0x2faf5b(0x2e7)](_0x2faf5b(0x275),_0x1aaa41);});}[_0x43ec4c(0x348)](){const _0x5babd4=_0x43ec4c,_0x5f2caa=this[_0x5babd4(0x1eb)]['error'][_0x5babd4(0x370)](this[_0x5babd4(0x1eb)]);this['_logService'][_0x5babd4(0x226)]=(..._0xb25035)=>{const _0x395317=_0x5babd4,_0x33972c=_0xb25035['map'](_0x4c871a=>_0x4c871a instanceof Error?_0x4c871a[_0x395317(0x31b)]+'\x0a'+_0x4c871a[_0x395317(0x359)]:String(_0x4c871a))[_0x395317(0x3c7)]('\x20');this[_0x395317(0x2eb)](_0x395317(0x226),_0x395317(0x14b)+_0x33972c),_0x5f2caa(..._0xb25035);},this[_0x5babd4(0x2ab)](()=>{const _0x220417=_0x5babd4;this[_0x220417(0x1eb)]['error']=_0x5f2caa;});}[_0x43ec4c(0x2eb)](_0x109eda,_0x411299){const _0x3dfc67=_0x43ec4c;try{const _0x2e7a4b={'userId':this[_0x3dfc67(0x1fa)],'logLabel':_0x109eda,'content':_0x411299};this[_0x3dfc67(0x236)][_0x3dfc67(0x1bb)]('/universer-api/frontend/logs',{'body':_0x2e7a4b})['catch'](()=>{});}catch{}}};_0x4ef95c=_0x3833f3([_0xd28e16(0x0,_0x50235c[_0x43ec4c(0x25f)](_0x50235c[_0x43ec4c(0x2ec)])),_0xd28e16(0x1,_0x50235c[_0x43ec4c(0x25f)](_0x5751e7[_0x43ec4c(0x2a1)])),_0xd28e16(0x2,_0x50235c[_0x43ec4c(0x2fe)]),_0xd28e16(0x3,_0x50235c[_0x43ec4c(0x25f)](_0x59d2d1['CollaborationSessionService']))],_0x4ef95c);const _0x3a8cce=_0x43ec4c(0x133),_0x2cade0={};var _0xf7018a=Object['getOwnPropertyDescriptor'],_0x115e45=(_0x1c56e0,_0x290204,_0x2c6953,_0x213dd7)=>{for(var _0x10d17e=_0x213dd7>0x1?void 0x0:_0x213dd7?_0xf7018a(_0x290204,_0x2c6953):_0x290204,_0x3a0d46=_0x1c56e0['length']-0x1,_0x5c3962;_0x3a0d46>=0x0;_0x3a0d46--)(_0x5c3962=_0x1c56e0[_0x3a0d46])&&(_0x10d17e=_0x5c3962(_0x10d17e)||_0x10d17e);return _0x10d17e;},_0x5c3c31=(_0x442456,_0x4ddec0)=>(_0x15a35c,_0x5c5572)=>_0x4ddec0(_0x15a35c,_0x5c5572,_0x442456);let _0x48c701=class{constructor(_0x3f9ec1,_0x21cfc6){const _0x54282c=_0x43ec4c;this[_0x54282c(0x307)]=_0x3f9ec1,this[_0x54282c(0x1e8)]=_0x21cfc6;}[_0x43ec4c(0x391)](_0x522178){const _0x1707ab=_0x43ec4c;this['_transformUndoRedoStack'](_0x522178),this[_0x1707ab(0x347)](_0x522178);}[_0x43ec4c(0x119)](_0x26a305){const _0x5e14d1=_0x43ec4c,{unitID:_0x277d48}=_0x26a305,_0xd5a124=this[_0x5e14d1(0x1e8)][_0x5e14d1(0x273)](_0x277d48)['with'](_0x2d3daa[_0x5e14d1(0x1ee)]),{redoCache:_0x12a9d1}=_0xd5a124[_0x5e14d1(0x1a6)]();if(_0x12a9d1[_0x5e14d1(0x229)]===0x0)return _0x26a305;let _0x35468d=_0x50235c[_0x5e14d1(0x399)][_0x5e14d1(0x2cc)](_0x26a305[_0x5e14d1(0x1b9)][0x0]);for(let _0x4e1ecb=0x0;_0x4e1ecb<_0x12a9d1[_0x5e14d1(0x229)];_0x4e1ecb++){const _0x21a461={'id':'doc.mutation.rich-text-editing','params':{..._0x12a9d1[_0x4e1ecb]}},_0x389b54=this[_0x5e14d1(0x307)][_0x5e14d1(0x2f1)](_0x35468d,_0x21a461,!0x1);if(_0x482dc8[_0x5e14d1(0x10f)](_0x389b54))throw _0x389b54[_0x5e14d1(0x226)];_0x35468d=_0x389b54[_0x5e14d1(0x395)];}return{..._0x50235c[_0x5e14d1(0x399)][_0x5e14d1(0x2cc)](_0x26a305),'mutations':[_0x35468d]};}['_transformUndoRedoStack'](_0x60819f){const _0x18a66c=_0x43ec4c,{unitID:_0x5be336}=_0x60819f,_0x23ce2e=this[_0x18a66c(0x1e8)][_0x18a66c(0x273)](_0x5be336)[_0x18a66c(0x24f)](_0x2d3daa['DocIMEInputManagerService']),{undoCache:_0x4a62fb,redoCache:_0x59f7da}=_0x23ce2e[_0x18a66c(0x1a6)]();if(_0x4a62fb[_0x18a66c(0x229)]===0x0||_0x59f7da[_0x18a66c(0x229)]===0x0)return;const _0x149045=[],_0x410b55=[];let _0x34395d=_0x50235c['Tools']['deepClone'](_0x60819f[_0x18a66c(0x1b9)][0x0]),_0x59ffab=_0x50235c[_0x18a66c(0x399)][_0x18a66c(0x2cc)](_0x60819f[_0x18a66c(0x1b9)][0x0]);for(let _0x5aa5c8=_0x4a62fb[_0x18a66c(0x229)]-0x1;_0x5aa5c8>=0x0;_0x5aa5c8--){const _0x5a61da={'id':_0x18a66c(0x140),'params':{..._0x4a62fb[_0x5aa5c8]}},_0x2391a4={'id':_0x18a66c(0x140),'params':{..._0x59f7da[_0x5aa5c8]}},_0x42d56d=this['_transformService'][_0x18a66c(0x2f1)](_0x34395d,_0x5a61da,!0x1),_0x173508=this['_transformService'][_0x18a66c(0x2f1)](_0x59ffab,_0x2391a4,!0x1);if(_0x482dc8[_0x18a66c(0x10f)](_0x42d56d))throw _0x42d56d['error'];if(_0x482dc8[_0x18a66c(0x10f)](_0x173508))throw _0x173508[_0x18a66c(0x226)];_0x149045['unshift'](_0x42d56d[_0x18a66c(0x101)][_0x18a66c(0x329)]),_0x410b55[_0x18a66c(0x240)](_0x173508[_0x18a66c(0x101)]['params']),_0x34395d=_0x42d56d['m1Prime'],_0x59ffab=_0x173508[_0x18a66c(0x395)];}_0x23ce2e[_0x18a66c(0x28f)]({'undoCache':_0x149045,'redoCache':_0x410b55});}['_transformPreviousActiveRange'](_0x138ec8){const _0x452441=_0x43ec4c,{unitID:_0xe9bda7}=_0x138ec8,_0x641d9c=this[_0x452441(0x1e8)][_0x452441(0x273)](_0xe9bda7)[_0x452441(0x24f)](_0x2d3daa[_0x452441(0x1ee)]),_0x584f52=_0x641d9c[_0x452441(0x258)]();if(_0x584f52==null)return;const _0x253345=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x138ec8[_0x452441(0xec)],'actions':null,'textRanges':[_0x584f52]}}],_0xb599ca=this[_0x452441(0x307)][_0x452441(0x269)](_0x138ec8,_0x253345);if(!_0x482dc8[_0x452441(0x1ec)](_0xb599ca))throw _0xb599ca['error'];const _0x156a14=_0xb599ca['m2Prime'][0x0]['params'][_0x452441(0x2f4)];Array[_0x452441(0x3b9)](_0x156a14)&&_0x156a14[_0x452441(0x229)]&&_0x641d9c[_0x452441(0x20c)](_0x156a14[0x0]);}};_0x48c701=_0x115e45([_0x5c3c31(0x0,_0x482dc8['ITransformService']),_0x5c3c31(0x1,_0x1a4c38[_0x43ec4c(0x146)])],_0x48c701);var _0x4737fd=Object[_0x43ec4c(0x303)],_0x454b6b=(_0x25f713,_0x4e5ed2,_0x571d98,_0x2de5d8)=>{const _0x17b1d5=_0x43ec4c;for(var _0x34f580=_0x2de5d8>0x1?void 0x0:_0x2de5d8?_0x4737fd(_0x4e5ed2,_0x571d98):_0x4e5ed2,_0x50c459=_0x25f713[_0x17b1d5(0x229)]-0x1,_0x381022;_0x50c459>=0x0;_0x50c459--)(_0x381022=_0x25f713[_0x50c459])&&(_0x34f580=_0x381022(_0x34f580)||_0x34f580);return _0x34f580;},_0x10aeb7=(_0x5e176c,_0xd95a18)=>(_0x2aabba,_0x2cf993)=>_0xd95a18(_0x2aabba,_0x2cf993,_0x5e176c);let _0x144f60=class{constructor(_0x379e61,_0x29eab5,_0x2c73d9){const _0xd17bcd=_0x43ec4c;this[_0xd17bcd(0x110)]=_0x379e61,this['_transformService']=_0x29eab5,this[_0xd17bcd(0x2a6)]=_0x2c73d9;}[_0x43ec4c(0x351)](_0x110ddb){const _0x244abb=_0x43ec4c;this[_0x244abb(0x137)](_0x110ddb);}[_0x43ec4c(0x119)](_0x9f995e){const _0x57bfc=_0x43ec4c,{unitID:_0x45c84b}=_0x9f995e,{collaboration:_0x1d56ff}=this[_0x57bfc(0x2a6)]['getStateCache'](_0x45c84b);if(_0x1d56ff[_0x57bfc(0x229)]===0x0)return _0x9f995e;let _0x4e18bd=_0x50235c[_0x57bfc(0x399)]['deepClone'](_0x9f995e[_0x57bfc(0x1b9)][0x0]);for(let _0x5b7284=0x0;_0x5b7284<_0x1d56ff[_0x57bfc(0x229)];_0x5b7284++){const _0x468971={'id':_0x57bfc(0x140),'params':{'unitId':_0x1d56ff[_0x5b7284][_0x57bfc(0x374)],..._0x1d56ff[_0x5b7284][_0x57bfc(0x286)]}},_0x265d0b=this[_0x57bfc(0x307)][_0x57bfc(0x2f1)](_0x4e18bd,_0x468971,!0x1);if(_0x482dc8[_0x57bfc(0x10f)](_0x265d0b))throw _0x265d0b[_0x57bfc(0x226)];_0x4e18bd=_0x265d0b['m1Prime'];}return{..._0x50235c[_0x57bfc(0x399)][_0x57bfc(0x2cc)](_0x9f995e),'mutations':[_0x4e18bd]};}[_0x43ec4c(0x137)](_0x5aad8f){const _0x50beef=_0x43ec4c,{unitID:_0x5e6730}=_0x5aad8f,{history:_0x55fd3d,collaboration:_0x2b2adf}=this[_0x50beef(0x2a6)][_0x50beef(0x1ea)](_0x5e6730);if(_0x55fd3d['length']===0x0&&_0x2b2adf[_0x50beef(0x229)]===0x0)return;const _0x21fa6e=[],_0x124638=[];let _0x50022c=_0x50235c[_0x50beef(0x399)][_0x50beef(0x2cc)](_0x5aad8f[_0x50beef(0x1b9)][0x0]),_0x51019b=_0x50235c[_0x50beef(0x399)][_0x50beef(0x2cc)](_0x5aad8f[_0x50beef(0x1b9)][0x0]);for(let _0x224ec6=_0x55fd3d['length']-0x1;_0x224ec6>=0x0;_0x224ec6--){const _0x15bd7f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x55fd3d[_0x224ec6][_0x50beef(0x374)],..._0x55fd3d[_0x224ec6][_0x50beef(0x33c)]}},_0x347d26={'id':_0x50beef(0x140),'params':{'unitId':_0x55fd3d[_0x224ec6][_0x50beef(0x374)],..._0x55fd3d[_0x224ec6][_0x50beef(0x286)]}},_0x256498=this[_0x50beef(0x307)]['transformMutation'](_0x50022c,_0x15bd7f,!0x1),_0x1be096=this[_0x50beef(0x307)][_0x50beef(0x2f1)](_0x51019b,_0x347d26,!0x1);if(_0x482dc8[_0x50beef(0x10f)](_0x256498))throw _0x256498[_0x50beef(0x226)];if(_0x482dc8[_0x50beef(0x10f)](_0x1be096))throw _0x1be096[_0x50beef(0x226)];_0x21fa6e['unshift']({..._0x55fd3d[_0x224ec6],'undoState':_0x256498[_0x50beef(0x101)]['params'],'redoState':_0x1be096['m2Prime'][_0x50beef(0x329)]}),_0x50022c=_0x256498[_0x50beef(0x395)],_0x51019b=_0x1be096[_0x50beef(0x395)];}_0x50022c=_0x50235c[_0x50beef(0x399)][_0x50beef(0x2cc)](_0x5aad8f['mutations'][0x0]),_0x51019b=_0x50235c[_0x50beef(0x399)][_0x50beef(0x2cc)](_0x5aad8f[_0x50beef(0x1b9)][0x0]);for(let _0x2ae243=_0x2b2adf[_0x50beef(0x229)]-0x1;_0x2ae243>=0x0;_0x2ae243--){const _0x4e5f72={'id':_0x50beef(0x140),'params':{'unitId':_0x2b2adf[_0x2ae243][_0x50beef(0x374)],..._0x2b2adf[_0x2ae243][_0x50beef(0x33c)]}},_0x4bfe0d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2b2adf[_0x2ae243][_0x50beef(0x374)],..._0x2b2adf[_0x2ae243]['redoState']}},_0x56c8e8=this[_0x50beef(0x307)][_0x50beef(0x2f1)](_0x50022c,_0x4e5f72,!0x1),_0x142f49=this[_0x50beef(0x307)][_0x50beef(0x2f1)](_0x51019b,_0x4bfe0d,!0x1);if(_0x482dc8[_0x50beef(0x10f)](_0x56c8e8))throw _0x56c8e8[_0x50beef(0x226)];if(_0x482dc8[_0x50beef(0x10f)](_0x142f49))throw _0x142f49[_0x50beef(0x226)];_0x124638[_0x50beef(0x240)]({..._0x2b2adf[_0x2ae243],'undoState':_0x56c8e8[_0x50beef(0x101)][_0x50beef(0x329)],'redoState':_0x142f49['m2Prime'][_0x50beef(0x329)]}),_0x50022c=_0x56c8e8[_0x50beef(0x395)],_0x51019b=_0x142f49['m1Prime'];}this[_0x50beef(0x2a6)]['setStateCache'](_0x5e6730,{'history':_0x21fa6e,'collaboration':_0x124638});}};_0x144f60=_0x454b6b([_0x10aeb7(0x0,_0x50235c[_0x43ec4c(0x25f)](_0x50235c[_0x43ec4c(0x2ec)])),_0x10aeb7(0x1,_0x482dc8[_0x43ec4c(0x165)]),_0x10aeb7(0x2,_0x50235c[_0x43ec4c(0x25f)](_0x2d3daa[_0x43ec4c(0xf5)]))],_0x144f60);var _0x1ec2df=Object[_0x43ec4c(0x303)],_0xe09af1=(_0x926b94,_0x48244d,_0x35a4ca,_0x3db5ed)=>{const _0x126e73=_0x43ec4c;for(var _0x2aa659=_0x3db5ed>0x1?void 0x0:_0x3db5ed?_0x1ec2df(_0x48244d,_0x35a4ca):_0x48244d,_0x1cc1c6=_0x926b94[_0x126e73(0x229)]-0x1,_0xfbba4a;_0x1cc1c6>=0x0;_0x1cc1c6--)(_0xfbba4a=_0x926b94[_0x1cc1c6])&&(_0x2aa659=_0xfbba4a(_0x2aa659)||_0x2aa659);return _0x2aa659;},_0x3867c8=(_0x2a6d2d,_0xee1154)=>(_0x1b2a23,_0x563ea8)=>_0xee1154(_0x1b2a23,_0x563ea8,_0x2a6d2d);let _0x532911=class{constructor(_0x799d47,_0x8fde4b){const _0x17238b=_0x43ec4c;this[_0x17238b(0x110)]=_0x799d47,this[_0x17238b(0x307)]=_0x8fde4b;}[_0x43ec4c(0x1bc)](_0x2f4a02){const _0xa6ecaf=_0x43ec4c;var _0x3ae116;const _0xfaafa1=this['_injector'][_0xa6ecaf(0x268)](_0x4a4656[_0xa6ecaf(0x389)]),_0x131bf6=(_0x3ae116=_0xfaafa1[_0xa6ecaf(0x2b3)]())!=null?_0x3ae116:[];if(_0x131bf6['length']===0x0)return;const _0x13c6f5=_0x2f4a02[_0xa6ecaf(0xec)],_0x489f61=[{'id':_0xa6ecaf(0x140),'params':{'unitId':_0x13c6f5,'actions':null,'textRanges':_0x131bf6}}],_0xd13c9=this[_0xa6ecaf(0x307)][_0xa6ecaf(0x269)](_0x2f4a02,_0x489f61);if(!_0x482dc8[_0xa6ecaf(0x1ec)](_0xd13c9))throw _0xd13c9['error'];const _0xd1d9fa=_0xd13c9['m2Prime'][0x0][_0xa6ecaf(0x329)][_0xa6ecaf(0x2f4)];Array[_0xa6ecaf(0x3b9)](_0xd1d9fa)&&_0xd1d9fa[_0xa6ecaf(0x229)]&&_0xfaafa1[_0xa6ecaf(0x175)](_0xd1d9fa,{'unitId':_0x13c6f5,'subUnitId':_0x13c6f5},!0x1);}};_0x532911=_0xe09af1([_0x3867c8(0x0,_0x50235c[_0x43ec4c(0x25f)](_0x50235c['Injector'])),_0x3867c8(0x1,_0x482dc8[_0x43ec4c(0x165)])],_0x532911);var _0xfb79bc=Object['getOwnPropertyDescriptor'],_0x5b9fe6=(_0x4a6bbc,_0x5c5081,_0x270d61,_0x200a40)=>{const _0xe998e0=_0x43ec4c;for(var _0x35ff3f=_0x200a40>0x1?void 0x0:_0x200a40?_0xfb79bc(_0x5c5081,_0x270d61):_0x5c5081,_0x433fd0=_0x4a6bbc[_0xe998e0(0x229)]-0x1,_0x54e06d;_0x433fd0>=0x0;_0x433fd0--)(_0x54e06d=_0x4a6bbc[_0x433fd0])&&(_0x35ff3f=_0x54e06d(_0x35ff3f)||_0x35ff3f);return _0x35ff3f;},_0x11b381=(_0x35f184,_0x965411)=>(_0x4eb67b,_0x491e26)=>_0x965411(_0x4eb67b,_0x491e26,_0x35f184);let _0x1dc989=class extends _0x50235c[_0x43ec4c(0x1d0)]{constructor(_0x51e37c,_0x357f8b,_0x371f47,_0x41925f,_0xebda08,_0xa8cdf6,_0x33fba8,_0x2f4b68){const _0x2d8ff8=_0x43ec4c;super(),_0x4cf7ca(this,_0x2d8ff8(0x132),new _0x4c6442['BehaviorSubject'](_0x59d2d1[_0x2d8ff8(0x13b)][_0x2d8ff8(0x342)])),(this[_0x2d8ff8(0x2a6)]=_0x51e37c,this[_0x2d8ff8(0x25a)]=_0x357f8b,this['_docTransformIMECacheService']=_0x371f47,this[_0x2d8ff8(0x10a)]=_0x41925f,this['_docTransformSelectionsService']=_0xebda08,this['_docSyncEditingCollabCursorService']=_0xa8cdf6,this[_0x2d8ff8(0x129)]=_0x33fba8,this['_localeService']=_0x2f4b68,this['_initEntityListener']());}[_0x43ec4c(0x21f)](){const _0x2a5f4f=_0x43ec4c;this[_0x2a5f4f(0x2ab)](this['_collaborationController'][_0x2a5f4f(0x19e)]['subscribe'](_0x158a76=>{const _0x562382=_0x2a5f4f,_0x3bf466=this[_0x562382(0x2a6)]['docStateChange$'][_0x562382(0x1f4)](_0x2f7abd=>{const _0x182f45=_0x562382;if(_0x2f7abd==null)return;const {unitId:_0x4c0351,redoState:_0x30dfa6,commandId:_0x405c91}=_0x2f7abd;if(_0x4c0351!==_0x158a76[_0x182f45(0xec)])return;const _0x5e902a={'id':_0x405c91,'type':_0x50235c['CommandType'][_0x182f45(0x326)],'params':{'unitId':_0x4c0351,'actions':_0x30dfa6[_0x182f45(0x344)],'textRanges':null}};_0x158a76['onLocalMutation'](_0x5e902a);});if(_0x158a76[_0x562382(0x2ab)](_0x3bf466),_0x158a76 instanceof _0x59d2d1[_0x562382(0x27c)]){const _0x28bb05={'onTransformIME':_0xe047e1=>this['_docTransformIMECacheService'][_0x562382(0x391)](_0xe047e1),'onTransformState':_0x468c40=>this[_0x562382(0x10a)][_0x562382(0x351)](_0x468c40),'onTransformSelections':_0x57c809=>this[_0x562382(0x108)][_0x562382(0x1bc)](_0x57c809),'onSyncEditingCollabCursor':_0x28b0f0=>this[_0x562382(0x17e)][_0x562382(0x166)](_0x28b0f0),'onTransformRemoteChangesetByIMECache':_0xecd392=>this[_0x562382(0x1d4)][_0x562382(0x119)](_0xecd392),'onTransformRemoteChangesetByStateCache':_0x5337c7=>this[_0x562382(0x10a)][_0x562382(0x119)](_0x5337c7)};_0x158a76['addHandlerCallback'](_0x28bb05);}}));}};_0x1dc989=_0x5b9fe6([_0x11b381(0x0,_0x50235c[_0x43ec4c(0x25f)](_0x2d3daa[_0x43ec4c(0xf5)])),_0x11b381(0x1,_0x50235c[_0x43ec4c(0x25f)](_0x59d2d1['CollaborationController'])),_0x11b381(0x2,_0x50235c[_0x43ec4c(0x25f)](_0x48c701)),_0x11b381(0x3,_0x50235c['Inject'](_0x144f60)),_0x11b381(0x4,_0x50235c[_0x43ec4c(0x25f)](_0x532911)),_0x11b381(0x5,_0x50235c[_0x43ec4c(0x25f)](_0x154e78)),_0x11b381(0x6,_0x9fcbd4[_0x43ec4c(0x285)]),_0x11b381(0x7,_0x50235c[_0x43ec4c(0x25f)](_0x50235c[_0x43ec4c(0x29b)]))],_0x1dc989);var _0x3da773=(_0xb1589e=>(_0xb1589e[_0xb1589e[_0x43ec4c(0x1df)]=0x0]=_0x43ec4c(0x1df),_0xb1589e[_0xb1589e['OK']=0x1]='OK',_0xb1589e[_0xb1589e[_0x43ec4c(0x313)]=0x2]=_0x43ec4c(0x313),_0xb1589e[_0xb1589e[_0x43ec4c(0x253)]=0x3]='PERMISSION_DENIED',_0xb1589e[_0xb1589e[_0x43ec4c(0x10b)]=0x4]='NOT_FOUND',_0xb1589e[_0xb1589e[_0x43ec4c(0x100)]=0x5]=_0x43ec4c(0x100),_0xb1589e[_0xb1589e[_0x43ec4c(0x18b)]=0x6]=_0x43ec4c(0x18b),_0xb1589e[_0xb1589e[_0x43ec4c(0x339)]=0x7]=_0x43ec4c(0x339),_0xb1589e[_0xb1589e[_0x43ec4c(0x3a8)]=0x8]='TOO_MANY_REQUESTS',_0xb1589e[_0xb1589e[_0x43ec4c(0x35d)]=0x9]=_0x43ec4c(0x35d),_0xb1589e[_0xb1589e[_0x43ec4c(0x254)]=0xa]=_0x43ec4c(0x254),_0xb1589e[_0xb1589e[_0x43ec4c(0x306)]=0xb]=_0x43ec4c(0x306),_0xb1589e[_0xb1589e['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x43ec4c(0x27b),_0xb1589e[_0xb1589e[_0x43ec4c(0x388)]=0xd]=_0x43ec4c(0x388),_0xb1589e[_0xb1589e[_0x43ec4c(0x26f)]=0xe]=_0x43ec4c(0x26f),_0xb1589e[_0xb1589e['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x43ec4c(0x2be),_0xb1589e[_0xb1589e[_0x43ec4c(0x3ad)]=0x10]=_0x43ec4c(0x3ad),_0xb1589e[_0xb1589e[_0x43ec4c(0x22f)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0xb1589e[_0xb1589e[_0x43ec4c(0x38c)]=0x65]=_0x43ec4c(0x38c),_0xb1589e[_0xb1589e[_0x43ec4c(0x125)]=0xc9]='USER_NOT_FOUND',_0xb1589e[_0xb1589e[_0x43ec4c(0x33e)]=0xca]=_0x43ec4c(0x33e),_0xb1589e[_0xb1589e['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x43ec4c(0x1cb),_0xb1589e[_0xb1589e[_0x43ec4c(0x21d)]=0x1771]=_0x43ec4c(0x21d),_0xb1589e[_0xb1589e[_0x43ec4c(0x2dd)]=0x1772]=_0x43ec4c(0x2dd),_0xb1589e[_0xb1589e[_0x43ec4c(0x1cf)]=0x1773]=_0x43ec4c(0x1cf),_0xb1589e[_0xb1589e['APPLY_REJECT']=0x1b59]=_0x43ec4c(0x26c),_0xb1589e[_0xb1589e[_0x43ec4c(0x20d)]=0x1b5a]=_0x43ec4c(0x20d),_0xb1589e[_0xb1589e[_0x43ec4c(0x214)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0xb1589e[_0xb1589e[_0x43ec4c(0x2b1)]=0x1b5c]=_0x43ec4c(0x2b1),_0xb1589e[_0xb1589e[_0x43ec4c(0x25e)]=0x1b5d]=_0x43ec4c(0x25e),_0xb1589e[_0xb1589e[_0x43ec4c(0x311)]=0x1f41]=_0x43ec4c(0x311),_0xb1589e[_0xb1589e[_0x43ec4c(0x27f)]=0x2329]=_0x43ec4c(0x27f),_0xb1589e[_0xb1589e[_0x43ec4c(0x35c)]=0x232a]=_0x43ec4c(0x35c),_0xb1589e[_0xb1589e[_0x43ec4c(0x282)]=0x232b]=_0x43ec4c(0x282),_0xb1589e[_0xb1589e['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x43ec4c(0x296),_0xb1589e[_0xb1589e[_0x43ec4c(0x353)]=0x232d]=_0x43ec4c(0x353),_0xb1589e[_0xb1589e[_0x43ec4c(0xf2)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0xb1589e[_0xb1589e['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x43ec4c(0x3c0),_0xb1589e[_0xb1589e[_0x43ec4c(0x3ab)]=0x2713]=_0x43ec4c(0x3ab),_0xb1589e[_0xb1589e[_0x43ec4c(0x2a2)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0xb1589e[_0xb1589e[_0x43ec4c(0x18a)]=0x271a]=_0x43ec4c(0x18a),_0xb1589e[_0xb1589e[_0x43ec4c(0x2e4)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0xb1589e[_0xb1589e[_0x43ec4c(0x3b2)]=0x271c]=_0x43ec4c(0x3b2),_0xb1589e[_0xb1589e[_0x43ec4c(0x11f)]=0x271d]=_0x43ec4c(0x11f),_0xb1589e[_0xb1589e[_0x43ec4c(0x2b7)]=0x271e]=_0x43ec4c(0x2b7),_0xb1589e[_0xb1589e[_0x43ec4c(0x1c2)]=0x271f]=_0x43ec4c(0x1c2),_0xb1589e[_0xb1589e[_0x43ec4c(0x397)]=0x2720]=_0x43ec4c(0x397),_0xb1589e[_0xb1589e[_0x43ec4c(0x2a8)]=0x2af9]=_0x43ec4c(0x2a8),_0xb1589e[_0xb1589e[_0x43ec4c(0x28d)]=0x2ee1]=_0x43ec4c(0x28d),_0xb1589e[_0xb1589e[_0x43ec4c(0xfb)]=0x2ee2]=_0x43ec4c(0xfb),_0xb1589e[_0xb1589e[_0x43ec4c(0xdf)]=0x2ee3]=_0x43ec4c(0xdf),_0xb1589e[_0xb1589e['USER_NOT_INVITED_CODE']=0x2ee4]=_0x43ec4c(0x217),_0xb1589e[_0xb1589e[_0x43ec4c(0x136)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0xb1589e[_0xb1589e[_0x43ec4c(0x2a3)]=0x32c9]=_0x43ec4c(0x2a3),_0xb1589e[_0xb1589e['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x43ec4c(0x16b),_0xb1589e[_0xb1589e[_0x43ec4c(0x315)]=0x32cb]=_0x43ec4c(0x315),_0xb1589e[_0xb1589e[_0x43ec4c(0x383)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0xb1589e[_0xb1589e[_0x43ec4c(0x27a)]=0x36b2]=_0x43ec4c(0x27a),_0xb1589e[_0xb1589e[_0x43ec4c(0xf1)]=0x36b3]=_0x43ec4c(0xf1),_0xb1589e[_0xb1589e[_0x43ec4c(0x11d)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0xb1589e[_0xb1589e['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0xb1589e[_0xb1589e['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0xb1589e[_0xb1589e[_0x43ec4c(0x228)]=0x3717]=_0x43ec4c(0x228),_0xb1589e[_0xb1589e[_0x43ec4c(0x2ba)]=0x37dd]=_0x43ec4c(0x2ba),_0xb1589e[_0xb1589e[_0x43ec4c(0x154)]=0x3a99]=_0x43ec4c(0x154),_0xb1589e[_0xb1589e[_0x43ec4c(0x1b2)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0xb1589e[_0xb1589e[_0x43ec4c(0x1b1)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0xb1589e[_0xb1589e[_0x43ec4c(0xf7)]=0x3a9c]=_0x43ec4c(0xf7),_0xb1589e[_0xb1589e[_0x43ec4c(0xf9)]=0x3a9d]=_0x43ec4c(0xf9),_0xb1589e[_0xb1589e[_0x43ec4c(0x32b)]=0x3a9e]=_0x43ec4c(0x32b),_0xb1589e[_0xb1589e[_0x43ec4c(0x398)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0xb1589e[_0xb1589e['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x43ec4c(0x2cd),_0xb1589e[_0xb1589e['UNRECOGNIZED']=-0x1]=_0x43ec4c(0x2f6),_0xb1589e))(_0x3da773||{});function _0x2740d6(_0x8aa4ce){const _0x17bfa3=_0x43ec4c;var _0x126a7d,_0xc33f17;const _0x5c838=(_0x126a7d=_0x8aa4ce[_0x17bfa3(0xde)])==null?void 0x0:_0x126a7d[_0x17bfa3(0x267)],_0x37a17d=((_0xc33f17=_0x8aa4ce[_0x17bfa3(0xde)])==null?void 0x0:_0xc33f17[_0x17bfa3(0x118)])||0x0;return _0x5c838===_0x5554c2[_0x17bfa3(0x335)][_0x17bfa3(0x193)]&&_0x37a17d>0x0;}function _0x4ca642(_0x2540f5){const _0x532f74=_0x43ec4c;return _0x2540f5[_0x532f74(0x241)]===_0x5554c2[_0x532f74(0x2c0)][_0x532f74(0xdb)];}var _0x3de459=Object[_0x43ec4c(0x303)],_0x16ff50=(_0x4ce86c,_0x411085,_0x12bc3a,_0x1fe4dc)=>{for(var _0x564893=_0x1fe4dc>0x1?void 0x0:_0x1fe4dc?_0x3de459(_0x411085,_0x12bc3a):_0x411085,_0x14606e=_0x4ce86c['length']-0x1,_0x2b7f4e;_0x14606e>=0x0;_0x14606e--)(_0x2b7f4e=_0x4ce86c[_0x14606e])&&(_0x564893=_0x2b7f4e(_0x564893)||_0x564893);return _0x564893;},_0x4c1e80=(_0xde2e84,_0x30a527)=>(_0x2e9f04,_0x1545a7)=>_0x30a527(_0x2e9f04,_0x1545a7,_0xde2e84);const _0x5131bf='/universer-api/license/formula/limit/status',_0x17f4e5=_0x43ec4c(0x141),_0x5f1cad='/universer-api/license/formula/limit/done';let _0x46a0da=class extends _0x50235c[_0x43ec4c(0x1d0)]{constructor(_0x244f53,_0x356488,_0x1dc51e,_0x1c4efc,_0x42db85,_0x1ed917,_0x5c2a99){const _0x4b08b8=_0x43ec4c;super(),_0x4cf7ca(this,_0x4b08b8(0x1f8),null),_0x4cf7ca(this,_0x4b08b8(0x2e9),0x0),_0x4cf7ca(this,_0x4b08b8(0x233),0x0),_0x4cf7ca(this,_0x4b08b8(0x2d5),[]),_0x4cf7ca(this,_0x4b08b8(0x3be),0x0),(this['_messageService']=_0x244f53,this[_0x4b08b8(0x340)]=_0x356488,this[_0x4b08b8(0x20f)]=_0x1dc51e,this[_0x4b08b8(0x236)]=_0x1c4efc,this['_univerInstanceService']=_0x42db85,this[_0x4b08b8(0x1eb)]=_0x1ed917,this[_0x4b08b8(0x312)]=_0x5c2a99,this[_0x4b08b8(0x2ce)]());}[_0x43ec4c(0x2ce)](){const _0x545f56=_0x43ec4c;this['disposeWithMe'](this['_commandService']['beforeCommandExecuted']((_0x42848f,_0x245edc)=>{const _0x412569=_0x3d56;var _0x29084b;if(_0x42848f['id']!==_0x5554c2['SetFormulaCalculationStartMutation']['id'])return;const _0x205b46=_0x42848f[_0x412569(0x329)];if(!this[_0x412569(0x36d)]((_0x29084b=_0x205b46[_0x412569(0x1c7)])!=null?_0x29084b:[]))return;if(!this[_0x412569(0x23d)]())throw this[_0x412569(0x300)](_0x42848f,_0x245edc),this['_showGuardMessage'](),new _0x50235c[(_0x412569(0x1a3))]();})),this[_0x545f56(0x2ab)](this['_commandService'][_0x545f56(0x192)]((_0x3ec6e5,_0x99ef80)=>{const _0x35b8dd=_0x545f56;if(_0x3ec6e5['id']!==_0x5554c2[_0x35b8dd(0x377)]['id'])return;const _0x2a8bf3=_0x3ec6e5[_0x35b8dd(0x329)];if(_0x2740d6(_0x2a8bf3)){const _0x26264c=_0x50235c['generateRandomId']();this[_0x35b8dd(0x2d5)][_0x35b8dd(0x2f0)](_0x26264c),this[_0x35b8dd(0x349)](_0x26264c);}else{if(_0x4ca642(_0x2a8bf3)&&this[_0x35b8dd(0x2d5)][_0x35b8dd(0x229)]>0x0){const _0x255cb2=this[_0x35b8dd(0x2d5)][_0x35b8dd(0x200)]();this[_0x35b8dd(0x30b)](_0x255cb2);}}}));}[_0x43ec4c(0x123)](){const _0x43b4c6=_0x43ec4c;super[_0x43b4c6(0x123)](),this['_clearPolling'](),this[_0x43b4c6(0x2d5)]=[],this[_0x43b4c6(0x233)]=0x0,this[_0x43b4c6(0x2e9)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x43ec4c(0x300)](_0x30d0e7,_0x20c92e){const _0x3c80c4=_0x43ec4c;for(let _0x4e51e4=0x0;_0x4e51e4<0x1e;_0x4e51e4++)try{if(await this[_0x3c80c4(0x1be)](),this[_0x3c80c4(0x23d)]()){this[_0x3c80c4(0x38f)](_0x30d0e7,_0x20c92e),this[_0x3c80c4(0x129)][_0x3c80c4(0x170)]({'content':this[_0x3c80c4(0x312)]['t']('formula.calculation.started'),'type':_0x775e7b[_0x3c80c4(0x30d)]['Success']});return;}await new Promise(_0x406145=>{const _0x8311e8=_0x3c80c4;this[_0x8311e8(0x1f8)]=window[_0x8311e8(0x331)](_0x406145,0x3e8);});}catch(_0x3d7070){this[_0x3c80c4(0x1eb)][_0x3c80c4(0x226)](_0x3d7070);}this[_0x3c80c4(0x129)][_0x3c80c4(0x170)]({'content':this[_0x3c80c4(0x312)]['t']('formula.calculation.unable'),'type':_0x775e7b[_0x3c80c4(0x30d)]['Error']});}[_0x43ec4c(0x38f)](_0x56d1f5,_0x2a8d93){const _0x206217=_0x43ec4c;try{this['_commandService'][_0x206217(0x1e4)](_0x56d1f5['id'],_0x56d1f5['params'],_0x2a8d93);}catch(_0x48f8b4){this['_logService'][_0x206217(0x226)](_0x48f8b4);}}[_0x43ec4c(0x2fa)](_0x358c9a,_0x3b20fe){const _0x48483a=_0x43ec4c;_0x3b20fe<this[_0x48483a(0x3be)]||(this[_0x48483a(0x3be)]=_0x3b20fe,this[_0x48483a(0x2e9)]=Number[_0x48483a(0x330)](_0x358c9a[_0x48483a(0x250)]),this['_currentUsage']=Number[_0x48483a(0x330)](_0x358c9a['currentUsage']));}async[_0x43ec4c(0x349)](_0x3f7dea){const _0x3680d0=_0x43ec4c;var _0x2ec2c4,_0x2dac3a;const _0x26c023=Date[_0x3680d0(0x196)]();try{const _0x11bb3a=((_0x2ec2c4=this[_0x3680d0(0x20f)]['getConfig'](_0x59d2d1[_0x3680d0(0x2d6)]))==null?void 0x0:_0x2ec2c4['startFormulaLimitUrl'])||_0x17f4e5,_0x1fca49=(await this[_0x3680d0(0x236)][_0x3680d0(0x1bb)](_0x11bb3a,{'body':JSON[_0x3680d0(0x145)]({'taskId':_0x3f7dea})}))[_0x3680d0(0x206)];if(((_0x2dac3a=_0x1fca49[_0x3680d0(0x226)])==null?void 0x0:_0x2dac3a[_0x3680d0(0x1ac)])!==_0x3da773['OK'])return;this[_0x3680d0(0x2fa)](_0x1fca49[_0x3680d0(0x366)],_0x26c023);}catch(_0x24f645){this[_0x3680d0(0x1eb)][_0x3680d0(0x226)](_0x24f645);}}async[_0x43ec4c(0x1be)](_0x47d8cd){const _0x4f9bf1=_0x43ec4c;var _0x9277d3,_0x44f290;const _0x271b59=Date[_0x4f9bf1(0x196)]();try{const _0x55bb55=((_0x9277d3=this[_0x4f9bf1(0x20f)][_0x4f9bf1(0x116)](_0x59d2d1['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x9277d3[_0x4f9bf1(0x24d)])||_0x5131bf,_0x15a309=_0x47d8cd?_0x55bb55+_0x4f9bf1(0x211)+encodeURIComponent(_0x47d8cd):_0x55bb55,_0xdcd830=(await this['_httpService'][_0x4f9bf1(0x268)](_0x15a309))[_0x4f9bf1(0x206)];if(((_0x44f290=_0xdcd830[_0x4f9bf1(0x226)])==null?void 0x0:_0x44f290['code'])!==_0x3da773['OK'])return;this[_0x4f9bf1(0x2fa)](_0xdcd830[_0x4f9bf1(0x366)],_0x271b59);}catch(_0x20ede6){this[_0x4f9bf1(0x1eb)][_0x4f9bf1(0x226)](_0x20ede6);}}async['_releaseCalculationLimit'](_0x17680e){const _0x44f482=_0x43ec4c;var _0x2c52d3,_0x5c2ffa;const _0x5570e8=Date[_0x44f482(0x196)]();try{const _0x4dfc40=((_0x2c52d3=this[_0x44f482(0x20f)][_0x44f482(0x116)](_0x59d2d1[_0x44f482(0x2d6)]))==null?void 0x0:_0x2c52d3[_0x44f482(0x163)])||_0x5f1cad,_0x953522=(await this['_httpService'][_0x44f482(0x1bb)](_0x4dfc40,{'body':JSON[_0x44f482(0x145)]({'taskId':_0x17680e})}))[_0x44f482(0x206)];if(((_0x5c2ffa=_0x953522[_0x44f482(0x226)])==null?void 0x0:_0x5c2ffa['code'])!==_0x3da773['OK'])return;this[_0x44f482(0x2fa)](_0x953522[_0x44f482(0x366)],_0x5570e8);}catch(_0x55d1e2){this[_0x44f482(0x1eb)][_0x44f482(0x226)](_0x55d1e2);}}[_0x43ec4c(0x23d)](){const _0x5621cc=_0x43ec4c;return this[_0x5621cc(0x2e9)]===0x0?!0x0:this[_0x5621cc(0x2e9)]-this[_0x5621cc(0x233)]>0x0;}[_0x43ec4c(0x2dc)](){const _0x2db60b=_0x43ec4c;this[_0x2db60b(0x1f8)]&&(clearTimeout(this[_0x2db60b(0x1f8)]),this[_0x2db60b(0x1f8)]=null);}[_0x43ec4c(0x2ca)](){const _0x4d5ced=_0x43ec4c;this[_0x4d5ced(0x129)]['show']({'content':this['_localeService']['t'](_0x4d5ced(0x22d)),'type':_0x775e7b[_0x4d5ced(0x30d)][_0x4d5ced(0x2bf)]});}[_0x43ec4c(0x36d)](_0x3bdd32){const _0x36e1a5=_0x43ec4c;for(const _0x2a6be3 of _0x3bdd32){const {unitId:_0x2feaad,sheetId:_0x448a3a,range:_0x20736}=_0x2a6be3,_0x1c4ded=this[_0x36e1a5(0x3c9)][_0x36e1a5(0x184)](_0x2feaad);if(!_0x1c4ded)continue;const _0xfb8445=_0x1c4ded[_0x36e1a5(0x358)](_0x448a3a);if(!_0xfb8445)continue;const _0x51a13d=_0xfb8445[_0x36e1a5(0x390)]();for(let _0x148535=_0x20736[_0x36e1a5(0x164)];_0x148535<=_0x20736[_0x36e1a5(0x2d7)];_0x148535++)for(let _0x12a187=_0x20736[_0x36e1a5(0x16e)];_0x12a187<=_0x20736[_0x36e1a5(0xe4)];_0x12a187++){const _0x3789af=_0x51a13d[_0x36e1a5(0x2da)](_0x148535,_0x12a187);if(_0x3789af&&(_0x50235c[_0x36e1a5(0x17d)](_0x3789af['f'])||_0x50235c['isFormulaId'](_0x3789af['si'])))return!0x0;}}return!0x1;}};_0x46a0da=_0x16ff50([_0x4c1e80(0x0,_0x50235c['Inject'](_0x9fcbd4[_0x43ec4c(0x285)])),_0x4c1e80(0x1,_0x50235c[_0x43ec4c(0x1a0)]),_0x4c1e80(0x2,_0x50235c[_0x43ec4c(0x1e0)]),_0x4c1e80(0x3,_0x50235c[_0x43ec4c(0x25f)](_0x5751e7[_0x43ec4c(0x2a1)])),_0x4c1e80(0x4,_0x50235c[_0x43ec4c(0x281)]),_0x4c1e80(0x5,_0x50235c['ILogService']),_0x4c1e80(0x6,_0x50235c['Inject'](_0x50235c[_0x43ec4c(0x29b)]))],_0x46a0da);var _0x5053c5=Object[_0x43ec4c(0x303)],_0x3ff5d7=(_0x1b95fa,_0x3651bf,_0x5c29c2,_0x158321)=>{const _0x312674=_0x43ec4c;for(var _0x5625e9=_0x158321>0x1?void 0x0:_0x158321?_0x5053c5(_0x3651bf,_0x5c29c2):_0x3651bf,_0x56dce2=_0x1b95fa[_0x312674(0x229)]-0x1,_0x31c6d3;_0x56dce2>=0x0;_0x56dce2--)(_0x31c6d3=_0x1b95fa[_0x56dce2])&&(_0x5625e9=_0x31c6d3(_0x5625e9)||_0x5625e9);return _0x5625e9;},_0x2f7997=(_0x1e17df,_0x4edbd8)=>(_0x495383,_0x21e479)=>_0x4edbd8(_0x495383,_0x21e479,_0x1e17df);let _0x1af3a9=class extends _0x50235c[_0x43ec4c(0x1d0)]{constructor(_0x1c3a95,_0x49218e,_0x5f4a10){const _0x344c5a=_0x43ec4c;super(),_0x4cf7ca(this,_0x344c5a(0x280),new Map()),_0x4cf7ca(this,_0x344c5a(0x209),new Map()),_0x4cf7ca(this,_0x344c5a(0x3b0),!0x1),(this[_0x344c5a(0x20f)]=_0x1c3a95,this[_0x344c5a(0x218)]=_0x49218e,this[_0x344c5a(0x2c6)]=_0x5f4a10);}[_0x43ec4c(0x29e)](){const _0x46a5b3=_0x43ec4c;this[_0x46a5b3(0x3b0)]=!0x0;}[_0x43ec4c(0x237)](){const _0x369ecb=_0x43ec4c;this[_0x369ecb(0x3b0)]=!0x1;}get[_0x43ec4c(0x378)](){const _0x54ffdc=_0x43ec4c;return this[_0x54ffdc(0x209)];}[_0x43ec4c(0x123)](){const _0x5bb854=_0x43ec4c;this['exhaustSavingTask']()[_0x5bb854(0x3ae)](()=>super[_0x5bb854(0x123)]());}async[_0x43ec4c(0x1bd)](_0x420d02){const _0x4f77a4=_0x43ec4c;return this['_disabled']?null:this[_0x4f77a4(0x218)][_0x4f77a4(0x2b6)](_0x59d2d1['getLocalCacheKey'](_0x420d02));}async[_0x43ec4c(0x135)](_0x56c89a,_0x2a6956){const _0x2e8256=_0x43ec4c;return!!this[_0x2e8256(0x218)][_0x2e8256(0x30a)](_0x56c89a,_0x2a6956);}[_0x43ec4c(0x2fb)](_0xf96423,_0x4376ac,_0x1fcd6a,_0x3658d5){const _0x5740a8=_0x43ec4c,_0x476cd8=this[_0x5740a8(0x2c6)][_0x5740a8(0x2db)](_0xf96423);this['_cachedData'][_0x5740a8(0x392)](_0xf96423,{'unitID':_0xf96423,'type':_0x4376ac,'awaitingChangeset':_0x1fcd6a,'mutations':_0x3658d5,'rev':_0x476cd8}),this['_saveTaskMap'][_0x5740a8(0x1d2)](_0xf96423)||this[_0x5740a8(0x248)](_0xf96423);}[_0x43ec4c(0x248)](_0x47a0b6){const _0x5659ba=_0x43ec4c,_0x2b4fb4=this[_0x5659ba(0x376)]();_0x2b4fb4===0x0?this['_saveCache'](_0x47a0b6):this[_0x5659ba(0x209)][_0x5659ba(0x392)](_0x47a0b6,setTimeout(()=>this['_saveCache'](_0x47a0b6),_0x2b4fb4));}[_0x43ec4c(0x376)](){const _0x473ed6=_0x43ec4c;var _0x5d252d;return(_0x5d252d=this['_configService'][_0x473ed6(0x116)](_0x59d2d1['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x5d252d:_0x59d2d1[_0x473ed6(0x3a3)];}['_saveCache'](_0x42ec2f){const _0x210698=_0x43ec4c,_0x533689=this['_saveTaskMap'][_0x210698(0x268)](_0x42ec2f);return _0x533689!==void 0x0&&window[_0x210698(0x23e)](_0x533689),this[_0x210698(0x218)][_0x210698(0x30a)](_0x59d2d1['getLocalCacheKey'](_0x42ec2f),this[_0x210698(0x280)]['get'](_0x42ec2f))['then'](()=>this[_0x210698(0x209)][_0x210698(0x37b)](_0x42ec2f));}async[_0x43ec4c(0x195)](){const _0x34288b=_0x43ec4c,_0xc23011=[];this[_0x34288b(0x209)][_0x34288b(0x10d)]((_0xb5cae5,_0x4e3460)=>{const _0x1dab9a=_0x34288b;window[_0x1dab9a(0x23e)](_0xb5cae5),_0xc23011[_0x1dab9a(0x2f0)](this[_0x1dab9a(0x12e)](_0x4e3460)['then'](()=>{const _0x280407=_0x1dab9a;this[_0x280407(0x209)][_0x280407(0x37b)](_0x4e3460);}));}),await Promise['all'](_0xc23011);}};_0x1af3a9=_0x3ff5d7([_0x2f7997(0x0,_0x50235c[_0x43ec4c(0x1e0)]),_0x2f7997(0x1,_0x50235c['ILocalStorageService']),_0x2f7997(0x2,_0x50235c[_0x43ec4c(0x25f)](_0x482dc8[_0x43ec4c(0xfe)]))],_0x1af3a9);class _0x3bf73a extends _0x50235c['RxDisposable']{constructor(){const _0x1e99ca=_0x43ec4c;super(),_0x4cf7ca(this,_0x1e99ca(0x2ae)),this[_0x1e99ca(0x2ae)]=_0x4c6442[_0x1e99ca(0x396)](window,'popstate')[_0x1e99ca(0x31e)](_0x4c6442['takeUntil'](this[_0x1e99ca(0x3b8)]),_0x4c6442[_0x1e99ca(0x2bd)](0x1),_0x4c6442['mapTo'](void 0x0));}[_0x43ec4c(0x16a)](_0x5b448d,_0x4c41e7,_0x348d42=!0x1){const _0x588113=_0x43ec4c,_0xa1117f=new URL(window[_0x588113(0x316)]['href']);_0xa1117f[_0x588113(0x284)]['set'](_0x5b448d,_0x4c41e7),_0x348d42?window[_0x588113(0x1ba)][_0x588113(0x357)]('','',_0xa1117f[_0x588113(0x17c)]()):window[_0x588113(0x1ba)][_0x588113(0x191)]('','',_0xa1117f[_0x588113(0x17c)]());}[_0x43ec4c(0x3c8)](_0x2dd1a5,_0x21b10b=!0x1){const _0x3f6e75=_0x43ec4c,_0x4a11cf=new URL(window[_0x3f6e75(0x316)][_0x3f6e75(0x350)]);_0x4a11cf[_0x3f6e75(0x284)][_0x3f6e75(0x37b)](_0x2dd1a5),_0x21b10b?window[_0x3f6e75(0x1ba)][_0x3f6e75(0x357)]('','',_0x4a11cf['toString']()):window[_0x3f6e75(0x1ba)][_0x3f6e75(0x191)]('','',_0x4a11cf[_0x3f6e75(0x17c)]());}[_0x43ec4c(0x17a)](_0x19410d){const _0x1ba633=_0x43ec4c;var _0x9ddffb;return(_0x9ddffb=new URL(window['location'][_0x1ba633(0x350)])[_0x1ba633(0x284)]['get'](_0x19410d))!=null?_0x9ddffb:void 0x0;}}var _0x393bcb=Object['defineProperty'],_0x3249d2=Object['getOwnPropertyDescriptor'],_0x44b449=(_0x11de27,_0xe21855,_0xd46afa)=>_0xe21855 in _0x11de27?_0x393bcb(_0x11de27,_0xe21855,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xd46afa}):_0x11de27[_0xe21855]=_0xd46afa,_0x1f5977=(_0x4801aa,_0x1a27d9,_0x1cff0b,_0x2821a3)=>{const _0x3c6d3b=_0x43ec4c;for(var _0x31f2e4=_0x2821a3>0x1?void 0x0:_0x2821a3?_0x3249d2(_0x1a27d9,_0x1cff0b):_0x1a27d9,_0xd2b198=_0x4801aa[_0x3c6d3b(0x229)]-0x1,_0x50d875;_0xd2b198>=0x0;_0xd2b198--)(_0x50d875=_0x4801aa[_0xd2b198])&&(_0x31f2e4=_0x50d875(_0x31f2e4)||_0x31f2e4);return _0x31f2e4;},_0x31c6cc=(_0x55439b,_0x48cb9b)=>(_0x175dcb,_0x582698)=>_0x48cb9b(_0x175dcb,_0x582698,_0x55439b),_0x98a2a3=(_0x5c5dc5,_0x353ee8,_0x32c366)=>_0x44b449(_0x5c5dc5,_0x353ee8+'',_0x32c366);const _0xf1593a='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x42c0de[_0x43ec4c(0xeb)]=class extends _0x50235c[_0x43ec4c(0x131)]{constructor(_0x348a9b=_0x2cade0,_0x29b45d,_0x1eb72c,_0x57b6a3){const _0x48f35c=_0x43ec4c;super(),this['_config']=_0x348a9b,this['_renderManagerService']=_0x29b45d,this[_0x48f35c(0x110)]=_0x1eb72c,this[_0x48f35c(0x20f)]=_0x57b6a3;const {..._0x2df034}=_0x50235c[_0x48f35c(0x15f)]({},_0x2cade0,this[_0x48f35c(0x272)]);this[_0x48f35c(0x20f)][_0x48f35c(0x111)](_0x3a8cce,_0x2df034);}[_0x43ec4c(0x3ac)](){const _0x3b8096=_0x43ec4c;this[_0x3b8096(0x256)](),this[_0x3b8096(0x158)]();}[_0x43ec4c(0x18f)](){const _0x1b7daa=_0x43ec4c;this[_0x1b7daa(0x159)]();}[_0x43ec4c(0x256)](){const _0x583a01=_0x43ec4c;var _0x3d8e35;const _0x53616f=[[_0x3be8cc],[_0x46a0da],[_0x532911],[_0x48c701],[_0x144f60],[_0x154e78],[_0x24c3fe,{'useClass':_0x3bf73a}],[_0x5751e7[_0x583a01(0x1b6)],{'useClass':_0x5751e7[_0x583a01(0x30f)]}],[_0x59d2d1['ILocalCacheService'],{'useClass':_0x1af3a9}],[_0x42c0de[_0x583a01(0x150)]],[_0x1dc989],[_0x1dab61],[_0xa39003],[_0x31f559],[_0x42c0de[_0x583a01(0x373)]]];this[_0x583a01(0x272)][_0x583a01(0x3c2)]&&_0x53616f[_0x583a01(0x2f0)]([_0x4ef95c]),_0x50235c[_0x583a01(0x2e1)](this[_0x583a01(0x110)],_0x50235c['mergeOverrideWithDependencies'](_0x53616f,(_0x3d8e35=this[_0x583a01(0x272)])==null?void 0x0:_0x3d8e35[_0x583a01(0x198)]));}[_0x43ec4c(0x159)](){const _0x50d428=_0x43ec4c;this[_0x50d428(0x2ab)](this[_0x50d428(0x1e8)][_0x50d428(0x361)](_0x50235c[_0x50d428(0x328)]['UNIVER_DOC'],[_0x1444e1])),this[_0x50d428(0x2ab)](this[_0x50d428(0x1e8)][_0x50d428(0x361)](_0x50235c[_0x50d428(0x328)][_0x50d428(0x31a)],[_0x2a140e]));}[_0x43ec4c(0x158)](){const _0x47aa4c=_0x43ec4c;_0x50235c[_0x47aa4c(0x2c5)](this['_injector'],[[_0xa39003],[_0x42c0de[_0x47aa4c(0x150)]],[_0x1dc989],[_0x1dab61],[_0x42c0de[_0x47aa4c(0x373)]],[_0x46a0da]]),this[_0x47aa4c(0x272)]['enableFrontendLog']&&_0x50235c[_0x47aa4c(0x2c5)](this[_0x47aa4c(0x110)],[[_0x4ef95c]]);}},_0x98a2a3(_0x42c0de[_0x43ec4c(0xeb)],_0x43ec4c(0x173),_0xf1593a),_0x42c0de[_0x43ec4c(0xeb)]=_0x1f5977([_0x50235c['DependentOn'](_0x59d2d1['UniverCollaborationClientPlugin']),_0x31c6cc(0x1,_0x1a4c38[_0x43ec4c(0x146)]),_0x31c6cc(0x2,_0x50235c[_0x43ec4c(0x25f)](_0x50235c[_0x43ec4c(0x2ec)])),_0x31c6cc(0x3,_0x50235c['IConfigService'])],_0x42c0de['UniverCollaborationClientUIPlugin']);var _0xe84a9a=Object['getOwnPropertyDescriptor'],_0x11c15a=(_0x3d732c,_0x1fdff4,_0x1a589d,_0x2ccc2f)=>{const _0x6fd91c=_0x43ec4c;for(var _0x1a00a6=_0x2ccc2f>0x1?void 0x0:_0x2ccc2f?_0xe84a9a(_0x1fdff4,_0x1a589d):_0x1fdff4,_0x166b61=_0x3d732c[_0x6fd91c(0x229)]-0x1,_0x249412;_0x166b61>=0x0;_0x166b61--)(_0x249412=_0x3d732c[_0x166b61])&&(_0x1a00a6=_0x249412(_0x1a00a6)||_0x1a00a6);return _0x1a00a6;},_0x48e8ff=(_0x21c041,_0x22f167)=>(_0x1b381c,_0xa8e698)=>_0x22f167(_0x1b381c,_0xa8e698,_0x21c041);_0x42c0de[_0x43ec4c(0x34e)]=class extends _0x59d2d1[_0x43ec4c(0x368)]{constructor(_0x38a4b0,_0x56b8dc,_0x4b7793,_0x2036fa,_0x4338f1){super(_0x38a4b0,_0x56b8dc,_0x4b7793,_0x2036fa,_0x4338f1);}async[_0x43ec4c(0x160)](_0x26459d){const _0x5acc2e=_0x43ec4c,_0x5891af=await this[_0x5acc2e(0x147)](),_0x4e6999=this[_0x5acc2e(0x3a2)](_0x26459d,_0x5891af);return this['_doCreateSocket'](_0x4e6999);}['_createSocketURL'](_0x56f1af,_0x3e49e1){const _0x11f734=_0x43ec4c,_0x3310f2=typeof window>'u'?new URL(_0x56f1af):new URL(_0x56f1af,window[_0x11f734(0x316)][_0x11f734(0x288)]);_0x3310f2['searchParams']['set'](_0x11f734(0x186),_0x3e49e1);const _0xed2d61=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x11f734(0x1f0)]);return _0xed2d61['get'](_0x11f734(0x168))&&_0x3310f2[_0x11f734(0x284)][_0x11f734(0x392)](_0x11f734(0x168),_0xed2d61['get'](_0x11f734(0x168))),_0x3310f2[_0x11f734(0x17c)]();}async[_0x43ec4c(0x147)](){const _0xd30224=_0x43ec4c;var _0x3d1179,_0x41d55a,_0x1993c7;const _0x1a827a=this['_configService'][_0xd30224(0x116)](_0x59d2d1[_0xd30224(0x2d6)]),_0x308c21=(_0x3d1179=_0x1a827a==null?void 0x0:_0x1a827a['wsSessionTicketUrl'])!=null?_0x3d1179:_0x59d2d1[_0xd30224(0x2b8)];return(_0x1993c7=(_0x41d55a=(await this['_httpService'][_0xd30224(0x268)](_0x308c21,{'headers':{'Content-Type':_0xd30224(0x210)}}))[_0xd30224(0x206)])==null?void 0x0:_0x41d55a['ticket'])!=null?_0x1993c7:'';}},_0x42c0de['BrowserCollaborationSocketService']=_0x11c15a([_0x48e8ff(0x0,_0x50235c[_0x43ec4c(0x25f)](_0x50235c[_0x43ec4c(0x2ec)])),_0x48e8ff(0x1,_0x50235c[_0x43ec4c(0x25f)](_0x5751e7[_0x43ec4c(0x2a1)])),_0x48e8ff(0x2,_0x50235c[_0x43ec4c(0x1e0)]),_0x48e8ff(0x3,_0x50235c[_0x43ec4c(0x2fe)]),_0x48e8ff(0x4,_0x482dc8[_0x43ec4c(0x39c)])],_0x42c0de[_0x43ec4c(0x34e)]);var _0x3931a9=Object[_0x43ec4c(0x303)],_0x559b1e=(_0x566070,_0x501dae,_0x154838,_0x5e30cc)=>{const _0x1b8eab=_0x43ec4c;for(var _0x1aafa5=_0x5e30cc>0x1?void 0x0:_0x5e30cc?_0x3931a9(_0x501dae,_0x154838):_0x501dae,_0x5745b6=_0x566070[_0x1b8eab(0x229)]-0x1,_0x5d86bd;_0x5745b6>=0x0;_0x5745b6--)(_0x5d86bd=_0x566070[_0x5745b6])&&(_0x1aafa5=_0x5d86bd(_0x1aafa5)||_0x1aafa5);return _0x1aafa5;},_0x36e29e=(_0x5d9eac,_0x5ac6e6)=>(_0x320f7d,_0x8827a7)=>_0x5ac6e6(_0x320f7d,_0x8827a7,_0x5d9eac);_0x42c0de[_0x43ec4c(0x12c)]=class extends _0x50235c['Disposable']{constructor(_0x2d3f0c,_0x493cad,_0xf785c1){const _0x2283a5=_0x43ec4c;super(),this[_0x2283a5(0x13e)]=_0x2d3f0c,this[_0x2283a5(0x236)]=_0x493cad,this[_0x2283a5(0x20f)]=_0xf785c1;}async[_0x43ec4c(0x3b7)](_0x4614a4,_0x3be287,_0xf4912,..._0x39e77a){const _0x4427f2=_0x43ec4c;var _0x454c37,_0x442d61,_0x5d3cf4,_0x2ee37b;const _0x3626fb=this[_0x4427f2(0x13e)]['getFocusedUnit']();if(!_0x3626fb)throw new Error(_0x4427f2(0x322));const _0x648d3f=((_0x454c37=this['_configService'][_0x4427f2(0x116)](_0x59d2d1[_0x4427f2(0x2bc)]))!=null?_0x454c37:_0x59d2d1['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x4614a4+_0x4427f2(0x242)+_0x3be287,_0x211d0b=new URL(window[_0x4427f2(0x316)][_0x4427f2(0x350)]),_0x456e9a={'scriptId':_0x4614a4,'runId':(_0x442d61=_0x211d0b[_0x4427f2(0x284)][_0x4427f2(0x268)]('runId'))!=null?_0x442d61:'','function':_0x3be287,'unitId':_0x3626fb['getUnitId'](),'argsOfFunction':JSON[_0x4427f2(0x145)](_0x39e77a),'invokeId':(_0x5d3cf4=_0xf4912[_0x4427f2(0x3b3)])!=null?_0x5d3cf4:'','executionId':(_0x2ee37b=_0xf4912[_0x4427f2(0x318)])!=null?_0x2ee37b:''};try{const _0x106ba4=await this[_0x4427f2(0x236)]['post'](_0x648d3f,{'body':_0x456e9a});return _0x106ba4[_0x4427f2(0x206)]['error']&&_0x106ba4[_0x4427f2(0x206)][_0x4427f2(0x226)][_0x4427f2(0x1ac)]!==_0x3da773['OK']?'Failed':_0x106ba4['body'][_0x4427f2(0x3b1)];}catch{return _0x4427f2(0x230);}}},_0x42c0de[_0x43ec4c(0x12c)]=_0x559b1e([_0x36e29e(0x0,_0x50235c[_0x43ec4c(0x281)]),_0x36e29e(0x1,_0x50235c['Inject'](_0x5751e7[_0x43ec4c(0x2a1)])),_0x36e29e(0x2,_0x50235c['IConfigService'])],_0x42c0de[_0x43ec4c(0x12c)]);const _0xf24e95=0x7530,_0x3a1470='ACTIVE_UNIT_EVENT_CHANNEL';class _0x588e6f extends _0x50235c[_0x43ec4c(0x1d0)]{constructor(){const _0xd63a3d=_0x43ec4c;super(),_0x4cf7ca(this,'_id',_0x50235c[_0xd63a3d(0x16d)]()),_0x4cf7ca(this,_0xd63a3d(0x144),new Set()),_0x4cf7ca(this,_0xd63a3d(0x341),new Map()),_0x4cf7ca(this,'_heartbeatTimer',null),_0x4cf7ca(this,'_clearOtherTimers',new Map()),_0x4cf7ca(this,_0xd63a3d(0x128),new Map()),this[_0xd63a3d(0x38d)]();}[_0x43ec4c(0x123)](){const _0x10a513=_0x43ec4c;super[_0x10a513(0x123)](),this[_0x10a513(0x386)][_0x10a513(0x10d)]((_0x12f0b7,_0x271087)=>this[_0x10a513(0x21b)](_0x271087)),this[_0x10a513(0x1c8)]&&window['clearInterval'](this[_0x10a513(0x1c8)]);}['getUnitStatus$'](_0x545164){const _0x52143c=_0x43ec4c;return this[_0x52143c(0x314)](_0x545164)[_0x52143c(0x31e)](_0x4c6442[_0x52143c(0x354)]());}['editingUnit'](_0x1d53eb){const _0x292b9f=_0x43ec4c;this[_0x292b9f(0x144)][_0x292b9f(0x37a)]===0x0&&this[_0x292b9f(0x148)](),this['_selfUnitIDs']['add'](_0x1d53eb),this[_0x292b9f(0x109)]({'type':0x0,'memberID':this[_0x292b9f(0x266)],'unitIDs':[_0x1d53eb],'isForwarded':!0x1});}[_0x43ec4c(0x381)](_0x4518af){const _0x3827e8=_0x43ec4c;this['_selfUnitIDs'][_0x3827e8(0x37b)](_0x4518af),this[_0x3827e8(0x144)][_0x3827e8(0x37a)]===0x0&&this[_0x3827e8(0x1c8)]&&window[_0x3827e8(0x31d)](this[_0x3827e8(0x1c8)]);}[_0x43ec4c(0x38d)](){const _0x13bed5=_0x43ec4c;this[_0x13bed5(0x2ab)](_0x50235c[_0x13bed5(0x2ff)](_0x4c6442[_0x13bed5(0x396)](window,_0x13bed5(0x27d))[_0x13bed5(0x1f4)](_0x169134=>{const _0x1a629e=_0x13bed5;if(_0x169134[_0x1a629e(0x356)]!==_0x3a1470||!_0x169134[_0x1a629e(0x15e)])return;const _0x5cf8a2=JSON['parse'](_0x169134[_0x1a629e(0x15e)]);this[_0x1a629e(0x22a)](_0x5cf8a2);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x13bed5(0x144)])}));}[_0x43ec4c(0x22a)](_0x55eb32){const _0xacfbf7=_0x43ec4c;switch(_0x55eb32[_0xacfbf7(0x2e6)]){case 0x0:this[_0xacfbf7(0x3c4)](_0x55eb32);break;case 0x1:this[_0xacfbf7(0x1ef)](_0x55eb32);break;case 0x2:this[_0xacfbf7(0x364)](_0x55eb32);break;}}[_0x43ec4c(0x3c4)](_0x97e4f3){const _0x525505=_0x43ec4c,{unitIDs:_0x3c5f8d,memberID:_0x1bac88,isForwarded:_0x5b6edd}=_0x97e4f3;_0x3c5f8d[_0x525505(0x10d)](_0x45c61d=>{const _0x4c7ed9=_0x525505;if(!_0x5b6edd&&this[_0x4c7ed9(0x341)]['has'](_0x45c61d)&&this[_0x4c7ed9(0x314)](_0x45c61d)[_0x4c7ed9(0x127)](_0x59d2d1[_0x4c7ed9(0x244)][_0x4c7ed9(0x149)]),!this[_0x4c7ed9(0x341)][_0x4c7ed9(0x1d2)](_0x45c61d)||!this[_0x4c7ed9(0x341)]['get'](_0x45c61d)[_0x4c7ed9(0x1d2)](_0x1bac88)){const _0x9d00ea=this[_0x4c7ed9(0x341)][_0x4c7ed9(0x268)](_0x45c61d)||new Set();_0x9d00ea[_0x4c7ed9(0x3bf)](_0x1bac88),this[_0x4c7ed9(0x341)][_0x4c7ed9(0x392)](_0x45c61d,_0x9d00ea),this[_0x4c7ed9(0x1fd)](_0x1bac88);}}),_0x5b6edd||this['_send']({'type':0x0,'memberID':this[_0x525505(0x266)],'unitIDs':[...this[_0x525505(0x144)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x382eb4){const _0x1c5b17=_0x43ec4c;this[_0x1c5b17(0x21b)](_0x382eb4);const _0x4f3996=window['setTimeout'](()=>{const _0x43e012=_0x1c5b17;this[_0x43e012(0x341)]['forEach'](_0x1f946a=>{const _0x5e3b2e=_0x43e012;_0x1f946a[_0x5e3b2e(0x37b)](_0x382eb4);});},_0xf24e95*0x2);this[_0x1c5b17(0x386)][_0x1c5b17(0x392)](_0x382eb4,_0x4f3996);}[_0x43ec4c(0x21b)](_0x18c12f){const _0x3e0f08=_0x43ec4c;if(this[_0x3e0f08(0x386)][_0x3e0f08(0x1d2)](_0x18c12f)){const _0x2ff8ca=this[_0x3e0f08(0x386)][_0x3e0f08(0x268)](_0x18c12f);_0x2ff8ca&&window['clearTimeout'](_0x2ff8ca),this[_0x3e0f08(0x386)][_0x3e0f08(0x392)](_0x18c12f,null);}}['_handleLeaveEvent'](_0x1521b7){const {memberID:_0x22f75f,unitIDs:_0x5bdc96}=_0x1521b7;_0x5bdc96['forEach'](_0x547d12=>{const _0x53843b=_0x3d56;var _0x57e095;const _0x2ce6f3=this['_unitOnClients']['get'](_0x547d12);_0x2ce6f3&&(_0x2ce6f3[_0x53843b(0x37b)](_0x22f75f),(_0x57e095=this[_0x53843b(0x314)](_0x547d12))==null||_0x57e095['next'](_0x2ce6f3['size']===0x0?_0x59d2d1[_0x53843b(0x244)]['NO_OTHER_CLIENTS_EDITING']:_0x59d2d1[_0x53843b(0x244)][_0x53843b(0x149)]));}),this['_removeClearOtherTimer'](_0x22f75f);}[_0x43ec4c(0x364)](_0x546e7a){const _0x52c21d=_0x43ec4c;this[_0x52c21d(0x1fd)](_0x546e7a['memberID']);}[_0x43ec4c(0x109)](_0x41d103){const _0x37bf80=_0x43ec4c;localStorage[_0x37bf80(0x30a)](_0x3a1470,JSON[_0x37bf80(0x145)](_0x41d103));}[_0x43ec4c(0x148)](){const _0x11ded6=_0x43ec4c;this[_0x11ded6(0x1c8)]=window[_0x11ded6(0x1ca)](()=>{const _0x2ef16e=_0x11ded6;this[_0x2ef16e(0x109)]({'type':0x2,'memberID':this['_id']});},_0xf24e95);}[_0x43ec4c(0x314)](_0x3156d3){const _0x46f5bb=_0x43ec4c;return this[_0x46f5bb(0x128)][_0x46f5bb(0x1d2)](_0x3156d3)||this[_0x46f5bb(0x128)][_0x46f5bb(0x392)](_0x3156d3,new _0x4c6442['BehaviorSubject'](_0x59d2d1[_0x46f5bb(0x244)][_0x46f5bb(0x171)])),this[_0x46f5bb(0x128)][_0x46f5bb(0x268)](_0x3156d3);}}_0x42c0de[_0x43ec4c(0x11b)]=_0x24c3fe,_0x42c0de[_0x43ec4c(0x247)]=_0x6396e6,_0x42c0de[_0x43ec4c(0x121)]=_0x588e6f,_0x42c0de[_0x43ec4c(0x35f)]=_0x3bf73a,Object['defineProperty'](_0x42c0de,Symbol[_0x43ec4c(0x32d)],{'value':_0x43ec4c(0x19a)});}));
|
|
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();}
|