@univerjs-pro/collaboration-client-ui 0.15.2 → 0.15.3-insiders.20260131-cbd5fac
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/sk-SK.js +1 -0
- 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/sk-SK.js +1 -0
- 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/sk-SK.js +1 -0
- 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/types/locale/sk-SK.d.ts +3 -0
- 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/sk-SK.js +1 -0
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +17 -17
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x506f(_0x128d54,_0xba99de){_0x128d54=_0x128d54-0x15d;const _0x277499=_0x2774();let _0x506fd4=_0x277499[_0x128d54];return _0x506fd4;}function _0x2774(){const _0x17689c=['ENTITLE_REPORT_LIMIT_EXCEED','getCurrentSelections','PAYMENT_CHANNEL_NOT_SUPPORT','activeSheet$','UniverCollaborationClientPlugin','CONNECTOR_DATA_TOO_LARGE','IRenderManagerService','forwardRef','_lastResponseTimestamp','getTypeOfUnitAdded$','_document','ENTITLE_CHAT_LIMIT_EXCEED','_transformUndoRedoStack','beforeCommandExecuted','ENTITLE_USE_COUPON_NOT_1ST_TRADE','UNDEFINED','useRef','round','CURRENT_STATUS_CANNOT_OPERATE','_collabCursorState$','CHANGESET_REVISION_CONFILICT','lineTo','M0\x200H16V16H0z','univerjs-icon\x20univerjs-icon-','getRelativeToViewportCoord','_initResize','FETCH_MISS','_taskIds','_cursorShapes','origin','_releaseCalculationLimit','React','_docStateChangeManagerService','getUnitStatus$','CanceledError','send','filename','show','catch','Loading','getRenderById','startFormulaLimitUrl','createIdentifier','OnLineIcon','InsertRangeMoveRightCommandId','_ensureSubject','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','AWAITING','_cursorInfo$','operators','_collabCursorController','Failed','defs','INVITE_CODE_ALREADY_BOUND','_cursors','getUnit','_getScale','IImageIoService','saveTaskMap','setConfig','join','LocaleService','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','getParam','distinctUntilChanged','Plugin','setShapeProps','_heartbeatTimer','handleIRemoveCol','UniverIcon','_backgroundColor','getMergeData','UniverProCollaborationClient','YUUMI_AI_RUN_FAILED','ILocalStorageService','DATA_SOURCE_TOO_LARGE','collaboration.single-unit.warning','event$','map','has','@univerjs/sheets-ui','SheetSkeletonManagerService','NodePositionConvertToCursor','on-line-icon','_setFormulaLimitStatus','UniverNetwork','UniverRpc','BuiltInUIPart','_updateSubUnitFromURLParams','REDEMPTION_CODE_NOT_STARTED','ACTIVE_UNIT_EVENT_CHANNEL','override','_clearOtherTimers','InsertRangeMoveDownCommandId','search','UniverCore','RegularPolygon','SheetCollabCursorShape','setStateCache','_colorIndex','_uploadLog','clearInterval','drawWith','getLocalCacheKey','PY_RUNTIME_SCRIPT_ERROR','_docTransformIMECacheService','arc','Subject','ENTITLE_NEED_BILLING_ADDRESS','body','getTypeOfUnitDisposed$','@univerjs/core','RemoveRowCommandId','BrowserCollaborationSocketService','forEach','DocStateChangeManagerService','CollaborationStatus','_checkCalculationAvailable','SessionStatus','ERROR_AGAIN','UPDATE_CURSOR','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','mapTo','_entities','_notificationService','RECT','SetFormulaCalculationStartMutation','useDependency','executionId','_applyCommand','translate(.97)','saveOfflineData','USER_IS_ANONYMOUS','@univerjs/docs-ui','random','height','@univerjs/network','onPointerLeave$','_onRefRangeChange','MOBILE_HAS_BEEN_BOUND','generateRandomId','0\x200\x2016\x2016','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','ITransformService','SNAPSHOT_INVALID_SNAPSHOT','getViewport','onTransformChange$','_context','_scene','_transformService','exhaustSavingTask','_session','imageSourceType','1168asoYKE','_doCreateSocket','FromArray','endRow','params','collaboration-client-ui.config','DesktopCollaborationStatusDisplayController','asObservable','REDEMPTION_CODE_HAS_BEEN_CREATED','docStateChange$','InsertColCommandId','_collabSessionService','_initUnhandledRejectionListener','onCommandExecuted','actions','IDocClipboardService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','@univerjs/sheets','_hovered','getCurrentUnitForType','switchMap','formula.calculation.unable','editingUnit','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','getSkeleton','IConfigService','addEventListener','reconnect','url(#$1','LICENSE_EXPORT_SIZE_EXCEEDED','_themeService','_status$','purple.300','_localStorageService','USERS_LEAVE','CollaborationController','debounce','history','_initEvent','undoState','session.collaboration-timeout','collabStatus.conflict','startRow','roomMembers$','/universer-api/license/formula/limit/status','START_CALCULATION','entityInit$','_selfUnitIDs','getCellMatrix','_uiPartsService','handleInsertRangeMoveRight','getOffsetConfig','_urlService','getValue','isTransformMutationsWithChangesetSuccess','href','_unitOnClients','IUniverInstanceService','closePath','_registerDependencies','OffLineIcon','_getAnchorBounding','url(#off-line-icon_clip0_910_343)','YUUMI_ASYNCIO_CANCELLED','_disabled','reason','clearTimeout','then','_configService','setTimeout','getCellPositionByOffset','onLocalMutation','eventID','_localCacheService','Module','138355hfnckS','merge','assignAColorForMemberID','displayName','permission.content','getCurrentRevOfUnit','_showGuardMessage','CommandType','getformulaLimitStatusUrl','_initEntityListener','dispose','doc.mutation.rich-text-editing','PENDING','deserializeRangeWithSheet','loadOfflineData','_color','YUUMI_ALL_TABLES_IS_INVALID','CollaborationUIEventService','getColor','DataLoaderService','with','getCoordByCell','pushState','Unknown\x20user','path','0\x200\x2017\x2016','m1Prime','error','amd','SetWorksheetActivateCommand','_renderManagerService','LICENSE_DISTRO_REJECTED','name','_config','YUUMI_CONNECTOR_URL_NOT_FOUND','fillRule','_draw','_lastPointer','ALREADY_EXISTS','column','text','unit','currentTheme$','RemoteUniscriptService','UnitStatus','INVITE_CODE_REQUIRED','LOCAL_CACHE_INTERVAL','runOnServer','#FFF','handleInsertRow','UNIVER_SHEET','LICENSE_IMPORT_SIZE_EXCEEDED','colorChannel1','EMAIL_HAS_BEEN_BOUND','toDisposable','TOO_MANY_REQUESTS','urlChange$','skeleton','registerBeforeClose','ONLINE','EffectRefRangId','COLORS','YUUMI_UNABLE_LOAD_URL','status$','UniverProCollaborationClientUi','isArray','ENTITLE_CAN_NOT_BUY_LOWER_OTP','values','ranges','serializeRangeWithSheet','getSheetBySheetId','_cursor','_anchorDot','off-line-icon_clip0_910_343','registerRenderModule','application/json','DeleteRangeMoveUpCommandId','roomMembers','handleDeleteRangeMoveUp','parseInt','onRendered','_onCursorDelete','message','searchParams','_onCursorUpdate','collaboration.closeRoom','unhandledrejection','_setupBeforeClosingHandler','http://www.w3.org/2000/svg','entries','ISocketService','9302knBzLC','mergeOverrideWithDependencies','top','collabStatus.notCollab','_unitStatus','[CollaborationDataLoaderController]','_instanceService','YUUMI_NO_CUBOID_FOR_QUESTION','getCollabCursors$','getStateCache','black','getMember','saveImage','REDEMPTION_CODE_INACTIVE','getDocRanges','disposeWithMe','_handleHeartbeatEvent','fill','functionsExecutedState','UNIVER_DOC','_collaborationController','getMemberID','IRemoteInstanceService','getUndoRedoMutationParamsCache','_id','children','_getSaveTimeout','LICENSE_MAX_UNITS_EXCEEDED','mutations','permission.title','Injector','_handleJoinEvent','connectInjector','_entityInit$','labelPosition','object','getUnitId','_getSessionTicket','PERMISSION_DENIED','combineLatest','location','CLOSE_ROOM','_currentUsage','_getMergeRange','white','bind','TEXT','_refreshCollabCursors','_scheduleHeartbeat','currentColor','onPointerEnter$','LOGIN_TOKEN_PROCESSING_FAILED','beginPath','init','setParam','div','CollaborationSessionService','length','DependentOn','delete','unshift','idSuffix','_docClipboardService','COMPLETION_FINISHED','handleDeleteRangeMoveLeft','fillText','getColorFromTheme','bottom','DocIMEInputManagerService','_toggleOffline','session.will-retry','_saveCache','_beforeCloseService','USER_NOT_FOUND','_toggleOnline','[LogService\x20Error]:\x20','APPLY_DUPLICATED','transformIMECache','restore','registerDependencies','get','socket$','redoState','?taskId=','code','SheetsSelectionsService','_docSkeletonManagerService','yellow.400','Tooltip','INotificationService','key','_init','OFFLINE','touchDependencies','transformSelections','ENTITLE_INVALID_COUPON_CODE','_hasFormulaInDirtyRanges','addHandlerCallback','Warning','LOGIN_FAILED','ThemeService','fromEvent','_transformHistoryAndStateStack','fillStyle','_getSheetObject','@univerjs/docs','DOC_RANGE_TYPE','CollaborationUIEventId','_docTransformStateCacheService','_send','stringify','YUUMI_SUBSCRIPTION_NOT_FOUND','_checkAndWaitForCalculationPermission','_initUserListener','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_clearPolling','tag','_pollingInterval','WebURLService','save','createSocket','post','_httpService','_anchor','parse','Success','APPLY_REJECT','removeEventListener','getCollabEntity$','NOT_COLLAB','sheetID','USER_NOT_INVITED_CODE','_startCalculationLimit','ENTITLE_COUPON_EXPIRED','INTERNAL_ERROR','ENTITLE_INSUFFICIENT_QUOTA','storage','toRgbString','116068NhvvVE','_eventUnsubscribe','REDEMPTION_USER_NOT_ELIGIBLE','1em','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','mask','addClipboardHook','ENTITLE_DUP_SUBSCRIPTION','substring','Inject','defIds','svg','makeDirty','NO_OTHER_CLIENTS_EDITING','dispose$','1269955hVWIaF','createElement','SYNCED','enableFrontendLog','6NQuKbN','transformMutation','_updateCollabCursors','handleInsertRangeMoveDown','runId','stack','ICommandService','INVITE_CODE_HAS_BEEN_UES','UniverSheets','transformRemoteChangeset','Tools','stageInfo','jsx','replaceDocRanges','defineProperty','collab-client.tooltip.reconnect','disableLocalCache','startColumn','_refRangeService','whenReady','_memberService','none','newValue','_createSocketURL','maxFormulaLimit','getActiveSheet','cursorInfo','unload','ISnapshotServerService','REDEMPTION_INVALID_CODE','[RemoteUniscriptService]:\x20no\x20focused\x20unit','handleMoveRange','popstate','@univerjs-pro/collaboration-client','UniverDrawing','jsxs','_hideTimer','REDEMPTION_CODE_FULLY_REDEEMED','...','@univerjs/engine-render','_handleEvent','NOT_FOUND','_colorAssignService','_logService','_cachedData','JOIN_ROOM_FAILED','_startSheetCollabCursor','clsx','fromEventSubject','EMAIL_VERIFY_CODE_MISMATCH','toString','sessionTicket','dirtyRanges','_initCommandExecutedListener','_registerRenderDependencies','session.connection-failed','function','sheetId','_monkeyPatchLogService','ENSURE_SNAPSHOT_EXECUTION','UNRECOGNIZED','_commandService','INVALID_INVITE_CODE','CollaborationSocketService','_hover','includes','hide','InsertRowCommandId','deepClone','getUnhiddenWorksheets','UniverInstanceType','_injector','_name','pluginName','getRangePointData','UniverCollaborationClientUIPlugin','off-line-icon','collab-text-range-','SHEET_VIEWPORT_KEY','RxDisposable','m2Prime','26SZUlaz','Disposable','onMouseMove','endColumn','4089536HBVdfn','type','assign','getItem','_drawRectRange','registerComponent','_assignedColors','CollaborationDataLoaderController','range','removeParam','4861680QMztCM','executeCommand','_messageService','getConfig','_saveTaskMap','uni.network.url-service','66sAPJLq','_collaborationSessionService','useObservable','_startDocCollabCursor','set','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','getFocusedUnit','limitInfo','REDEMPTION_USER_REDEEM_TIMES_EXCEED','cursorInfo$','source','_handleLeaveEvent','_getFormulaLimitStatus','measureText','getUniverSheetInstance','_dataLoaderService','onStarting','color','DocSkeletonManagerService','Shape','isActive','_scheduleSaving','IBeforeCloseService','replace','_initStatusListener','setActiveRange','Rect','_textBubble','add','_updateLocalCursor','collabStatus.fetchMiss','@univerjs/engine-formula','27774aDlRXg','CollaborationEvent','findNodePositionByCharIndex','_shapes','_removeCollabCursors','registerRefRange','MessageType','_labelPosition','_docTransformSelectionsService','transform','row','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','runRefRangeMutations','max','subUnitId','addObject','getAncestorScale','find','BehaviorSubject','_revisionService','OTHER_CLIENT_EDITING','subscribeEvent','releaseFormulaLimitUrl','string','MOBILE_VERIFY_CODE_MISMATCH','memberID','ColorKit','evenodd','loadUnit','_roomMembers$','CONFLICT','react','_localeService','red.300','APPLY_NON_SEQUENTIAL_REVISION','attrs','HTTPService','univer-mr-2\x20univer-flex\x20univer-text-xl','MUTATION','_transformPreviousActiveRange','UNAUTHENTICATED','YUUMI_RATE_OVER_LIMIT','sessionStatus$','blue.400','subunit','isTransformMutationFailure','createInstance','/run/','addObjects','_removeClearOtherTimer','SNAPSHOT_HAS_BEEN_REMOVED','takeUntil','width','unitID','@univerjs/drawing','xlink:href','colno','on-line-icon_clip0_910_349','flatMap','UniverProCollaboration','MemberService','currentSkeleton$','Workbook','url(#on-line-icon_clip0_910_349)','APPLY_REVISION_CONFILICT','data','_sheetSkeletonManagerService','collab-text-anchor-','subscribe','collabCursorState$','disposeUnit','_docSyncEditingCollabCursorService','setAlpha','ILogService','WECHAT_HAS_BEEN_BOUND','SetFormulaCalculationNotificationMutation','AWAITING_WITH_PENDING','isFormulaString','APPLY_PERMISSION_DENIED','_drawTextRange','_memberID','size','@univerjs-pro/collaboration','transformMutationsWithChangeset','isEditing','SetSelectionsOperation','min','NodePositionConvertToRectRange','rxjs','TEXT_RANGE_LAYER_INDEX','collabStatus.syncing','UniverDocsUi','green.600','_initDependencies','_handleHover','_imageIoService','exports','invokeId','_syncEditingCollabCursorService','pipe','IMessageService','@univerjs/rpc','_range','_univerInstanceService','ENTITLE_COUPON_USED_UP','replaceState','Error','OTHER_CLIENTS_EDITING','from','_online','setItem','HEADER_MENU','collab-rect-range-','debug','updateOfflineData','INVALID_ARGUMENT','getSheetId','_collaborationUIEventService','RemoveColCommandId','UniverUi','YUUMI_URL_COL_OUT_OF_RANGE','onPointerMove$','_initWindowErrorListener','getVpScrollXYInfoByPosToVp','symbol','transformStateCache','_setupSubUnitSync','enableLocalCache','_render','getOwnPropertyDescriptor','AUTHORIZE_CODE_ILLEGAL','triggerDblclick','syncEditingCollabCursor','_maxFormulaLimit','unitId','getCurrent','_scheduleClearOtherTimer','filter','next','complete','push','some','selection','/universer-api/license/formula/limit/start','textRanges','focused$','now'];_0x2774=function(){return _0x17689c;};return _0x2774();}(function(_0x339ca1,_0x472cf0){const _0x1e662f=_0x506f,_0x189c7f=_0x339ca1();while(!![]){try{const _0x149dff=parseInt(_0x1e662f(0x1df))/0x1*(parseInt(_0x1e662f(0x3e5))/0x2)+-parseInt(_0x1e662f(0x1f3))/0x3*(parseInt(_0x1e662f(0x17b))/0x4)+parseInt(_0x1e662f(0x18a))/0x5+parseInt(_0x1e662f(0x18e))/0x6*(parseInt(_0x1e662f(0x38a))/0x7)+parseInt(_0x1e662f(0x33f))/0x8*(parseInt(_0x1e662f(0x213))/0x9)+parseInt(_0x1e662f(0x1ed))/0xa+-parseInt(_0x1e662f(0x1e3))/0xb;if(_0x149dff===_0x472cf0)break;else _0x189c7f['push'](_0x189c7f['shift']());}catch(_0x43d0e5){_0x189c7f['push'](_0x189c7f['shift']());}}}(_0x2774,0x4e6e8),function(_0x591dfb,_0x360524){const _0x37df27=_0x506f;typeof exports==_0x37df27(0x408)&&typeof module<'u'?_0x360524(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==_0x37df27(0x1c6)&&define[_0x37df27(0x3a6)]?define([_0x37df27(0x273),'react/jsx-runtime',_0x37df27(0x1af),_0x37df27(0x315),'@univerjs/ui',_0x37df27(0x26b),'@univerjs/design',_0x37df27(0x232),_0x37df27(0x278),_0x37df27(0x350),_0x37df27(0x1b5),_0x37df27(0x32e),_0x37df27(0x32b),_0x37df27(0x249),_0x37df27(0x265),_0x37df27(0x44e),_0x37df27(0x212),'rxjs/operators',_0x37df27(0x2f6)],_0x360524):(_0x591dfb=typeof globalThis<'u'?globalThis:_0x591dfb||self,_0x360524(_0x591dfb[_0x37df27(0x3ca)]={},_0x591dfb['React'],_0x591dfb[_0x37df27(0x2ee)],_0x591dfb[_0x37df27(0x305)],_0x591dfb[_0x37df27(0x28a)],_0x591dfb[_0x37df27(0x26b)],_0x591dfb['UniverDesign'],_0x591dfb[_0x37df27(0x2c5)],_0x591dfb[_0x37df27(0x2fc)],_0x591dfb[_0x37df27(0x196)],_0x591dfb['UniverEngineRender'],_0x591dfb[_0x37df27(0x2fb)],_0x591dfb[_0x37df27(0x26e)],_0x591dfb[_0x37df27(0x1b0)],_0x591dfb[_0x37df27(0x24e)],_0x591dfb['UniverDocs'],_0x591dfb['UniverEngineFormula'],_0x591dfb['rxjs'][_0x37df27(0x2d7)],_0x591dfb['UniverSheetsUi']));}(this,function(_0x3f1a0c,_0x1b1822,_0x322f7a,_0x43d412,_0x5bd884,_0x7c0c7e,_0x312745,_0x56703a,_0x578897,_0x54f415,_0x317937,_0x5bb6d0,_0x17664f,_0x136636,_0x399202,_0x18b0ac,_0x49d49e,_0x39fe90,_0xd46b9b){'use strict';const _0x326f66=_0x506f;var _0x25376f=Object['defineProperty'],_0x5c48d6=(_0x14a739,_0x67e99e,_0x21e63c)=>_0x67e99e in _0x14a739?_0x25376f(_0x14a739,_0x67e99e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x21e63c}):_0x14a739[_0x67e99e]=_0x21e63c,_0xe37f1=(_0x111d07,_0x531527,_0x16376b)=>_0x5c48d6(_0x111d07,typeof _0x531527!=_0x326f66(0x28f)?_0x531527+'':_0x531527,_0x16376b);function _0xf6a3a5({ref:_0x4ba21f,..._0x9d6648}){const _0x5834c0=_0x326f66,{icon:_0x513308,id:_0x45224f,className:_0x129835,extend:_0x23ae9e,..._0x390d3a}=_0x9d6648,_0x3e4375=(_0x5834c0(0x2bd)+_0x45224f+'\x20'+(_0x129835||''))['trim'](),_0x3de7f2=_0x56703a[_0x5834c0(0x2b6)]('_'+_0x5e2c6d());return _0x22b8e2(_0x513308,''+_0x45224f,{'defIds':_0x513308[_0x5834c0(0x185)],'idSuffix':_0x3de7f2['current']},{'ref':_0x4ba21f,'className':_0x3e4375,..._0x390d3a},_0x23ae9e);}function _0x22b8e2(_0x221d65,_0x26b37c,_0x6330b9,_0x312990,_0x56aa87){const _0xc1cca9=_0x326f66;return _0x56703a['createElement'](_0x221d65[_0xc1cca9(0x165)],{'key':_0x26b37c,..._0x5be630(_0x221d65,_0x6330b9,_0x56aa87),..._0x312990},(_0x7ef59e(_0x221d65,_0x6330b9)[_0xc1cca9(0x3fe)]||[])['map']((_0x1115e6,_0x3cbf0a)=>_0x22b8e2(_0x1115e6,_0x26b37c+'-'+_0x221d65[_0xc1cca9(0x165)]+'-'+_0x3cbf0a,_0x6330b9,void 0x0,_0x56aa87)));}function _0x5be630(_0x1aebc5,_0x393fbe,_0x362df6){const _0x5a427b=_0x326f66,_0x44d42b={..._0x1aebc5[_0x5a427b(0x236)]};_0x362df6!=null&&_0x362df6['colorChannel1']&&_0x44d42b['fill']==='colorChannel1'&&(_0x44d42b[_0x5a427b(0x3f6)]=_0x362df6[_0x5a427b(0x3be)]),_0x1aebc5[_0x5a427b(0x165)]===_0x5a427b(0x180)&&_0x44d42b['id']&&(_0x44d42b['id']=_0x44d42b['id']+_0x393fbe[_0x5a427b(0x422)]),Object[_0x5a427b(0x3e3)](_0x44d42b)[_0x5a427b(0x318)](([_0x5af702,_0x5d3939])=>{const _0x5f1689=_0x5a427b;_0x5af702===_0x5f1689(0x180)&&typeof _0x5d3939==_0x5f1689(0x22a)&&(_0x44d42b[_0x5af702]=_0x5d3939[_0x5f1689(0x20a)](/url\(#(.*)\)/,'url(#$1'+_0x393fbe[_0x5f1689(0x422)]+')'));});const {defIds:_0x27c59a}=_0x393fbe;return!_0x27c59a||_0x27c59a[_0x5a427b(0x41e)]===0x0||(_0x1aebc5[_0x5a427b(0x165)]==='use'&&_0x44d42b[_0x5a427b(0x24a)]&&(_0x44d42b[_0x5a427b(0x24a)]=_0x44d42b[_0x5a427b(0x24a)]+_0x393fbe[_0x5a427b(0x422)]),Object[_0x5a427b(0x3e3)](_0x44d42b)[_0x5a427b(0x318)](([_0x539cb2,_0x432f63])=>{const _0x4caeb7=_0x5a427b;typeof _0x432f63==_0x4caeb7(0x22a)&&(_0x44d42b[_0x539cb2]=_0x432f63[_0x4caeb7(0x20a)](/url\(#(.*)\)/,_0x4caeb7(0x35b)+_0x393fbe[_0x4caeb7(0x422)]+')'));})),_0x44d42b;}function _0x7ef59e(_0x4fff06,_0x1ab76c){const _0x12843a=_0x326f66;var _0x154285;const {defIds:_0x2b9ef8}=_0x1ab76c;return!_0x2b9ef8||_0x2b9ef8[_0x12843a(0x41e)]===0x0?_0x4fff06:_0x4fff06[_0x12843a(0x165)]==='defs'&&((_0x154285=_0x4fff06['children'])!=null&&_0x154285[_0x12843a(0x41e)])?{..._0x4fff06,'children':_0x4fff06['children']['map'](_0x1a5b23=>typeof _0x1a5b23['attrs']['id']=='string'&&_0x2b9ef8&&_0x2b9ef8[_0x12843a(0x1cf)](_0x1a5b23[_0x12843a(0x236)]['id'])?{..._0x1a5b23,'attrs':{..._0x1a5b23[_0x12843a(0x236)],'id':_0x1a5b23[_0x12843a(0x236)]['id']+_0x1ab76c[_0x12843a(0x422)]}}:_0x1a5b23)}:_0x4fff06;}function _0x5e2c6d(){const _0x212f01=_0x326f66;return Math[_0x212f01(0x32c)]()[_0x212f01(0x1c0)](0x24)[_0x212f01(0x183)](0x2,0x8);}_0xf6a3a5['displayName']=_0x326f66(0x2eb);const _0x620d08={'tag':_0x326f66(0x186),'attrs':{'xmlns':_0x326f66(0x3e2),'fill':_0x326f66(0x1a3),'viewBox':_0x326f66(0x333),'width':_0x326f66(0x17e),'height':_0x326f66(0x17e)},'children':[{'tag':'g','attrs':{'clipPath':_0x326f66(0x37d)},'children':[{'tag':_0x326f66(0x3a2),'attrs':{'stroke':_0x326f66(0x416),'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':'round','strokeLinejoin':_0x326f66(0x2b7),'strokeWidth':1.2}}]},{'tag':_0x326f66(0x2da),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x326f66(0x3d3)},'children':[{'tag':_0x326f66(0x3a2),'attrs':{'fill':_0x326f66(0x411),'d':_0x326f66(0x2bc)}}]}]}],'defIds':[_0x326f66(0x3d3)]},_0x4f9195=_0x56703a[_0x326f66(0x2ad)](function(_0x484cb6,_0x473333){const _0x3b0103=_0x326f66;return _0x56703a[_0x3b0103(0x18b)](_0xf6a3a5,Object[_0x3b0103(0x1e5)]({},_0x484cb6,{'id':_0x3b0103(0x1da),'ref':_0x473333,'icon':_0x620d08}));});_0x4f9195[_0x326f66(0x38d)]=_0x326f66(0x37b);const _0x4ee788={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x326f66(0x3a3),'width':_0x326f66(0x17e),'height':_0x326f66(0x17e)},'children':[{'tag':'g','attrs':{'clipPath':_0x326f66(0x252)},'children':[{'tag':_0x326f66(0x3a2),'attrs':{'stroke':_0x326f66(0x416),'d':_0x326f66(0x2e4),'strokeLinecap':_0x326f66(0x2b7),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x326f66(0x2da),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x326f66(0x3a2),'attrs':{'fill':_0x326f66(0x411),'d':_0x326f66(0x2bc),'transform':_0x326f66(0x328)}}]}]}],'defIds':[_0x326f66(0x24c)]},_0x4b505b=_0x56703a[_0x326f66(0x2ad)](function(_0x2b70cc,_0x3b3d46){const _0xa9f9f=_0x326f66;return _0x56703a[_0xa9f9f(0x18b)](_0xf6a3a5,Object[_0xa9f9f(0x1e5)]({},_0x2b70cc,{'id':_0xa9f9f(0x2f9),'ref':_0x3b3d46,'icon':_0x4ee788}));});_0x4b505b[_0x326f66(0x38d)]=_0x326f66(0x2d1);function _0x5f4d38(_0x114577){const _0x431f3b=_0x326f66;switch(_0x114577){case _0x322f7a[_0x431f3b(0x31a)][_0x431f3b(0x441)]:return'collabStatus.offline';case _0x322f7a[_0x431f3b(0x31a)][_0x431f3b(0x231)]:return _0x431f3b(0x368);case _0x322f7a['CollaborationStatus'][_0x431f3b(0x2c0)]:return _0x431f3b(0x211);case _0x322f7a[_0x431f3b(0x31a)][_0x431f3b(0x172)]:return _0x431f3b(0x3e8);case _0x322f7a['CollaborationStatus'][_0x431f3b(0x2d5)]:case _0x322f7a[_0x431f3b(0x31a)][_0x431f3b(0x25f)]:return _0x431f3b(0x26d);case _0x322f7a[_0x431f3b(0x31a)][_0x431f3b(0x18c)]:case _0x322f7a[_0x431f3b(0x31a)][_0x431f3b(0x396)]:return'collabStatus.synced';}}function _0x52490c(_0x471eb5){const _0x273bc6=_0x326f66,{status$:_0x5649ba}=_0x471eb5,_0x35a0b2=_0x5bd884[_0x273bc6(0x1f5)](_0x5649ba,_0x322f7a[_0x273bc6(0x31a)][_0x273bc6(0x172)]),_0xdc8297=_0x5bd884[_0x273bc6(0x325)](_0x43d412[_0x273bc6(0x2e3)]),_0x1024bb=_0x5bd884['useDependency'](_0x322f7a[_0x273bc6(0x41d)]),_0x5e76c3=_0x35a0b2!==_0x322f7a[_0x273bc6(0x31a)][_0x273bc6(0x441)],_0x1cff71=_0xdc8297['t'](_0x5f4d38(_0x35a0b2)),_0x5e2a63=_0x5e76c3?_0x1b1822[_0x273bc6(0x19a)](_0x4b505b,{}):_0x1b1822[_0x273bc6(0x19a)](_0x4f9195,{}),_0x16539f=_0x56703a['useCallback'](()=>{const _0x4a41df=_0x273bc6;_0x5e76c3||_0x1024bb[_0x4a41df(0x35a)]();},[_0x5e76c3,_0x1024bb]);function _0x497228(){const _0x21f7fd=_0x273bc6;return _0x1b1822[_0x21f7fd(0x1b1)](_0x21f7fd(0x41c),{'className':'univer-flex\x20univer-items-center','onClick':_0x16539f,'children':[_0x1b1822['jsx']('div',{'className':_0x312745[_0x21f7fd(0x1bd)](_0x21f7fd(0x238),{'univer-text-green-500':_0x5e76c3,'univer-text-red-500':!_0x5e76c3}),'children':_0x5e2a63}),_0x1b1822[_0x21f7fd(0x19a)](_0x21f7fd(0x41c),{'className':_0x21f7fd(0x356),'children':_0x1cff71})]});}return _0x5e76c3?_0x497228():_0x1b1822[_0x273bc6(0x19a)](_0x312745[_0x273bc6(0x43d)],{'title':_0xdc8297['t'](_0x273bc6(0x19d)),'children':_0x497228()});}var _0x1333e9=Object[_0x326f66(0x294)],_0x451a75=(_0x144d73,_0x52c052,_0xc74a0d,_0x2e40f7)=>{const _0x3396d7=_0x326f66;for(var _0x548057=_0x2e40f7>0x1?void 0x0:_0x2e40f7?_0x1333e9(_0x52c052,_0xc74a0d):_0x52c052,_0xad68e1=_0x144d73[_0x3396d7(0x41e)]-0x1,_0xcaac1c;_0xad68e1>=0x0;_0xad68e1--)(_0xcaac1c=_0x144d73[_0xad68e1])&&(_0x548057=_0xcaac1c(_0x548057)||_0x548057);return _0x548057;},_0x187b8c=(_0x93c8cc,_0x18d9db)=>(_0x4b9e5b,_0x4936f8)=>_0x18d9db(_0x4b9e5b,_0x4936f8,_0x93c8cc);_0x3f1a0c[_0x326f66(0x345)]=class extends _0x43d412[_0x326f66(0x1e0)]{constructor(_0x466a8f,_0xc3afb8,_0x54a09e,_0x296179){const _0x282070=_0x326f66;super(),_0xe37f1(this,_0x282070(0x35e),new _0x7c0c7e[(_0x282070(0x225))](_0x322f7a[_0x282070(0x31a)][_0x282070(0x172)])),(this[_0x282070(0x27a)]=_0x466a8f,this[_0x282070(0x1d5)]=_0xc3afb8,this['_collaborationController']=_0x54a09e,this[_0x282070(0x370)]=_0x296179,this['_initStatusComponent'](),this[_0x282070(0x20b)]());}[_0x326f66(0x20b)](){const _0x5d911e=_0x326f66;this['disposeWithMe'](this[_0x5d911e(0x27a)][_0x5d911e(0x2a4)][_0x5d911e(0x276)](_0x7c0c7e[_0x5d911e(0x353)](()=>{const _0x23b297=_0x5d911e,_0x953d66=this[_0x23b297(0x27a)]['getFocusedUnit']();return _0x953d66?this[_0x23b297(0x3f9)][_0x23b297(0x171)](_0x953d66['getUnitId']()):_0x7c0c7e['of'](null);}),_0x7c0c7e[_0x5d911e(0x353)](_0xd575ee=>_0xd575ee?_0xd575ee[_0x5d911e(0x3c9)]:_0x7c0c7e['of'](_0x322f7a['CollaborationStatus']['NOT_COLLAB'])))[_0x5d911e(0x257)](_0x526e6f=>{const _0x2ba87a=_0x5d911e;this['_status$'][_0x2ba87a(0x29d)](_0x526e6f);}));}['_initStatusComponent'](){const _0x2e62aa=_0x326f66;this[_0x2e62aa(0x3f4)](this[_0x2e62aa(0x370)][_0x2e62aa(0x1e8)](_0x5bd884[_0x2e62aa(0x2fd)][_0x2e62aa(0x282)],()=>_0x5bd884[_0x2e62aa(0x405)](_0x36d8c7({'status$':this[_0x2e62aa(0x35e)][_0x2e62aa(0x346)]()}),this[_0x2e62aa(0x1d5)])));}},_0x3f1a0c['DesktopCollaborationStatusDisplayController']=_0x451a75([_0x187b8c(0x0,_0x43d412['IUniverInstanceService']),_0x187b8c(0x1,_0x43d412['Inject'](_0x43d412[_0x326f66(0x403)])),_0x187b8c(0x2,_0x43d412['Inject'](_0x322f7a[_0x326f66(0x362)])),_0x187b8c(0x3,_0x5bd884['IUIPartsService'])],_0x3f1a0c[_0x326f66(0x345)]);function _0x36d8c7(_0x3f5dfa){const {status$:_0x1d7198}=_0x3f5dfa;return function(){const _0x1ba0c5=_0x506f;return _0x1b1822[_0x1ba0c5(0x19a)](_0x52490c,{'status$':_0x1d7198});};}const _0x25a17d=_0x43d412[_0x326f66(0x2d0)](_0x326f66(0x1f2));var _0x44272c=Object[_0x326f66(0x294)],_0xba7bc4=(_0x4f7d23,_0x42e515,_0x1e6acd,_0x28be66)=>{for(var _0x15f86c=_0x28be66>0x1?void 0x0:_0x28be66?_0x44272c(_0x42e515,_0x1e6acd):_0x42e515,_0x489617=_0x4f7d23['length']-0x1,_0x202cb8;_0x489617>=0x0;_0x489617--)(_0x202cb8=_0x4f7d23[_0x489617])&&(_0x15f86c=_0x202cb8(_0x15f86c)||_0x15f86c);return _0x15f86c;},_0x330a0d=(_0x174db4,_0x573a05)=>(_0x5eaa4a,_0x4dfe79)=>_0x573a05(_0x5eaa4a,_0x4dfe79,_0x174db4);_0x3f1a0c[_0x326f66(0x1ea)]=class extends _0x43d412[_0x326f66(0x1dd)]{constructor(_0x1c0c71,_0x5c4fd8,_0x5be705,_0x5c0c25,_0x40a382){const _0x107dce=_0x326f66;super(),this['_urlService']=_0x1c0c71,this[_0x107dce(0x1b9)]=_0x5c4fd8,this[_0x107dce(0x1cb)]=_0x5be705,this[_0x107dce(0x202)]=_0x5c0c25,_0x40a382?_0x40a382==null||_0x40a382[_0x107dce(0x1a1)]()[_0x107dce(0x382)](()=>this[_0x107dce(0x440)]()):(this[_0x107dce(0x1b9)][_0x107dce(0x284)](_0x107dce(0x3ea),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x107dce(0x440)]());}async['_init'](){const _0x28f9d8=_0x326f66,_0x99f966=this[_0x28f9d8(0x373)][_0x28f9d8(0x2e5)](_0x28f9d8(0x3b3)),_0x4f124e=this[_0x28f9d8(0x373)][_0x28f9d8(0x2e5)]('type'),_0x2e2319=this[_0x28f9d8(0x373)][_0x28f9d8(0x2e5)](_0x28f9d8(0x23f));if(!_0x99f966||!_0x4f124e){this[_0x28f9d8(0x1b9)][_0x28f9d8(0x284)](_0x28f9d8(0x3ea),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x3b9983=await this[_0x28f9d8(0x202)][_0x28f9d8(0x22f)](_0x99f966,Number(_0x4f124e),_0x2e2319);_0x3b9983&&_0x3b9983 instanceof _0x43d412[_0x28f9d8(0x251)]&&this[_0x28f9d8(0x291)](_0x3b9983);}async[_0x326f66(0x291)](_0x3e2028){const _0x2255fb=_0x326f66;await this[_0x2255fb(0x2fe)](_0x3e2028),_0x3e2028[_0x2255fb(0x2a9)][_0x2255fb(0x276)](_0x7c0c7e[_0x2255fb(0x246)](this['dispose$']))[_0x2255fb(0x257)](_0x436af6=>{_0x436af6&&this['_updateURLWithCurrentState'](_0x436af6);}),this[_0x2255fb(0x373)][_0x2255fb(0x3c2)][_0x2255fb(0x276)](_0x7c0c7e[_0x2255fb(0x246)](this['dispose$']))[_0x2255fb(0x257)](()=>this[_0x2255fb(0x2fe)](_0x3e2028));}['_updateURLWithCurrentState'](_0x109019,_0x462b43=!0x1){const _0x323448=_0x326f66,_0x31191c=this[_0x323448(0x373)][_0x323448(0x2e5)](_0x323448(0x23f));_0x109019['getSheetId']()!==_0x31191c&&this[_0x323448(0x373)][_0x323448(0x41b)](_0x323448(0x23f),_0x109019[_0x323448(0x287)](),_0x462b43);}async[_0x326f66(0x2fe)](_0x4f2ad1){const _0x3f5cd6=_0x326f66;var _0x252d14;const _0xc99fbb=this[_0x3f5cd6(0x373)][_0x3f5cd6(0x2e5)](_0x3f5cd6(0x23f));if(!_0xc99fbb||!_0x4f2ad1[_0x3f5cd6(0x3d0)](_0xc99fbb)){const _0x43ba0e=_0x4f2ad1[_0x3f5cd6(0x1d3)]()[0x0],_0x45452d=_0x4f2ad1[_0x3f5cd6(0x3d0)](_0x43ba0e);if(!_0x45452d)return;this['_updateURLWithCurrentState'](_0x45452d,!0x0),await this[_0x3f5cd6(0x1cb)]['executeCommand'](_0x54f415[_0x3f5cd6(0x3a7)]['id'],{'unitId':_0x4f2ad1[_0x3f5cd6(0x409)](),'subUnitId':_0x43ba0e});return;}((_0x252d14=_0x4f2ad1[_0x3f5cd6(0x1a7)]())==null?void 0x0:_0x252d14[_0x3f5cd6(0x287)]())!==_0xc99fbb&&await this[_0x3f5cd6(0x1cb)][_0x3f5cd6(0x1ee)](_0x54f415[_0x3f5cd6(0x3a7)]['id'],{'unitId':_0x4f2ad1[_0x3f5cd6(0x409)](),'subUnitId':_0xc99fbb});}},_0x3f1a0c[_0x326f66(0x1ea)]=_0xba7bc4([_0x330a0d(0x0,_0x25a17d),_0x330a0d(0x1,_0x43d412[_0x326f66(0x25c)]),_0x330a0d(0x2,_0x43d412['ICommandService']),_0x330a0d(0x3,_0x43d412['Inject'](_0x322f7a[_0x326f66(0x39d)])),_0x330a0d(0x4,_0x43d412['Optional'](_0x578897[_0x326f66(0x3fb)]))],_0x3f1a0c[_0x326f66(0x1ea)]);var _0x223ff4=Object[_0x326f66(0x294)],_0x2e84f8=(_0x1f28d9,_0x21dd43,_0x3b64de,_0x1180bb)=>{for(var _0x10ecde=_0x1180bb>0x1?void 0x0:_0x1180bb?_0x223ff4(_0x21dd43,_0x3b64de):_0x21dd43,_0x279a77=_0x1f28d9['length']-0x1,_0x1c29d0;_0x279a77>=0x0;_0x279a77--)(_0x1c29d0=_0x1f28d9[_0x279a77])&&(_0x10ecde=_0x1c29d0(_0x10ecde)||_0x10ecde);return _0x10ecde;},_0x4735ea=(_0x31e508,_0xfdf706)=>(_0x56d2eb,_0xd357cc)=>_0xfdf706(_0x56d2eb,_0xd357cc,_0x31e508);let _0x45f5c1=class extends _0x43d412[_0x326f66(0x1dd)]{constructor(_0x18668b,_0x428bde){const _0x32bcab=_0x326f66;super(),this[_0x32bcab(0x423)]=_0x18668b,this[_0x32bcab(0x272)]=_0x428bde,this[_0x32bcab(0x440)]();}[_0x326f66(0x440)](){const _0x338159=_0x326f66,_0x2a200f=this;this['disposeWithMe'](this[_0x338159(0x423)][_0x338159(0x181)]({'onBeforePasteImage':async _0x2f873b=>{const _0x2103d6=_0x338159,_0x3131ab=await _0x2a200f[_0x2103d6(0x272)][_0x2103d6(0x3f1)](_0x2f873b);return _0x3131ab?{'source':_0x3131ab[_0x2103d6(0x1fd)],'imageSourceType':_0x3131ab[_0x2103d6(0x33e)]}:null;}}));}};_0x45f5c1=_0x2e84f8([_0x4735ea(0x0,_0x17664f[_0x326f66(0x34e)]),_0x4735ea(0x1,_0x136636[_0x326f66(0x2df)])],_0x45f5c1);const _0x3e6f84=[_0x326f66(0x35f),'jiqing.500',_0x326f66(0x26f),_0x326f66(0x234),_0x326f66(0x23e),_0x326f66(0x43c)];class _0xe0d8fb extends _0x43d412[_0x326f66(0x1e0)]{constructor(){const _0x1e883b=_0x326f66;super(...arguments),_0xe37f1(this,_0x1e883b(0x1e9),new Map()),_0xe37f1(this,_0x1e883b(0x309),0x0);}[_0x326f66(0x38c)](_0x85ebe3){const _0x2ff489=_0x326f66;if(this[_0x2ff489(0x1e9)][_0x2ff489(0x2f5)](_0x85ebe3))return this[_0x2ff489(0x1e9)][_0x2ff489(0x435)](_0x85ebe3);const _0x46189b=_0x3e6f84[this['_colorIndex']];return this[_0x2ff489(0x309)]=(this[_0x2ff489(0x309)]+0x1)%_0x3e6f84[_0x2ff489(0x41e)],this[_0x2ff489(0x1e9)][_0x2ff489(0x1f7)](_0x85ebe3,_0x46189b),_0x46189b;}}function _0x3574b4(_0x335c88){let _0x62c82e='';for(const _0x44074e of _0x335c88){const {startOffset:_0x4df724,endOffset:_0x85fe2e,isActive:_0xba1ca,rangeType:_0x3871c8,segmentId:_0x52e53c,segmentPage:_0x231687}=_0x44074e;_0x62c82e['length']&&(_0x62c82e+=','),_0x62c82e+=_0x4df724+':'+_0x85fe2e+':'+(_0xba1ca?'1':'0')+':'+_0x3871c8+':'+_0x52e53c+':'+_0x231687;}return _0x62c82e;}function _0x462164(_0x1b12c1){const _0x1b1cae=_0x326f66,_0x27a31e=_0x1b12c1['split'](','),_0x5d4a68=[];for(const _0x3a0aae of _0x27a31e){const [_0x2416bc,_0x3bb530,_0xed1d,_0x1de989,_0x5d1268,_0x1486eb]=_0x3a0aae['split'](':');_0x5d4a68[_0x1b1cae(0x29f)]({'startOffset':Number(_0x2416bc),'endOffset':Number(_0x3bb530),'collapsed':_0x2416bc===_0x3bb530,'isActive':_0xed1d==='1','rangeType':_0x1de989===_0x43d412['DOC_RANGE_TYPE'][_0x1b1cae(0x413)]?_0x43d412['DOC_RANGE_TYPE'][_0x1b1cae(0x413)]:_0x43d412[_0x1b1cae(0x44f)][_0x1b1cae(0x323)],'segmentId':typeof _0x5d1268==_0x1b1cae(0x22a)?String(_0x5d1268):'','segmentPage':Number(_0x1486eb!=null?_0x1486eb:-0x1)});}return _0x5d4a68[_0x1b1cae(0x2a0)](_0x281a0a=>_0x281a0a[_0x1b1cae(0x207)])||(_0x5d4a68[0x0][_0x1b1cae(0x207)]=!0x0),_0x5d4a68;}class _0x557965 extends _0x43d412['RxDisposable']{constructor(){const _0x2f1fa0=_0x326f66;super(...arguments),_0xe37f1(this,_0x2f1fa0(0x2b9),new _0x7c0c7e[(_0x2f1fa0(0x225))](null)),_0xe37f1(this,_0x2f1fa0(0x258),this[_0x2f1fa0(0x2b9)][_0x2f1fa0(0x346)]());}[_0x326f66(0x297)](_0xf3fb6f){const _0x3f6c27=_0x326f66,{unitID:_0x210f8b,memberID:_0x5a95a9,textRanges:_0x34b507}=_0xf3fb6f,_0x53e95a=_0x3574b4(_0x34b507);if(_0x53e95a==='')return;const _0x20392e={'unitID':_0x210f8b,'memberID':_0x5a95a9,'selection':_0x53e95a};this[_0x3f6c27(0x2b9)][_0x3f6c27(0x29d)](_0x20392e);}}var _0x105998=Object[_0x326f66(0x294)],_0x27d49c=(_0x1d26a1,_0x4745be,_0x1b9b69,_0x328c62)=>{const _0x4c1b6b=_0x326f66;for(var _0x114ed6=_0x328c62>0x1?void 0x0:_0x328c62?_0x105998(_0x4745be,_0x1b9b69):_0x4745be,_0x4641f3=_0x1d26a1[_0x4c1b6b(0x41e)]-0x1,_0x290453;_0x4641f3>=0x0;_0x4641f3--)(_0x290453=_0x1d26a1[_0x4641f3])&&(_0x114ed6=_0x290453(_0x114ed6)||_0x114ed6);return _0x114ed6;},_0x197128=(_0x5cf9b,_0x47aa5b)=>(_0x4ea840,_0x2457bc)=>_0x47aa5b(_0x4ea840,_0x2457bc,_0x5cf9b);const _0x3fa13b=0x12c,_0x2f488a=0x64;let _0x29000d=class extends _0x43d412['RxDisposable']{constructor(_0x3be51e,_0x4b2209,_0x31d514,_0x41bc6d,_0x469ec4,_0x1a3374,_0xac6afb,_0x8e5d11,_0xaaa32d){const _0x17e16e=_0x326f66;super(),_0xe37f1(this,_0x17e16e(0x280),!0x1),_0xe37f1(this,_0x17e16e(0x440),!0x1),_0xe37f1(this,_0x17e16e(0x2d6),new _0x7c0c7e[(_0x17e16e(0x225))](new Map())),_0xe37f1(this,_0x17e16e(0x1fc),this[_0x17e16e(0x2d6)]['asObservable']()),_0xe37f1(this,_0x17e16e(0x230),new _0x7c0c7e[(_0x17e16e(0x225))]([])),_0xe37f1(this,_0x17e16e(0x36a),this[_0x17e16e(0x230)][_0x17e16e(0x276)](_0x7c0c7e['debounceTime'](_0x3fa13b))),_0xe37f1(this,_0x17e16e(0x210),_0x43d412[_0x17e16e(0x363)](_0x39ffc5=>{const _0x207db7=_0x17e16e,_0x328b58={'eventID':_0x399202[_0x207db7(0x214)][_0x207db7(0x31e)],'data':{'unitID':this['unitID'],'memberID':this[_0x207db7(0x33d)][_0x207db7(0x3fa)](),'selection':_0x3574b4(_0x39ffc5)}};this[_0x207db7(0x33d)]['send'](_0x328b58,this[_0x207db7(0x248)]);},_0x2f488a)),(this[_0x17e16e(0x248)]=_0x3be51e,this['_session']=_0x4b2209,this[_0x17e16e(0x1d5)]=_0x31d514,this[_0x17e16e(0x1b8)]=_0x41bc6d,this[_0x17e16e(0x1a2)]=_0x469ec4,this[_0x17e16e(0x275)]=_0x1a3374,this[_0x17e16e(0x33b)]=_0xac6afb,this[_0x17e16e(0x27a)]=_0x8e5d11,this[_0x17e16e(0x1cb)]=_0xaaa32d);}get[_0x326f66(0x1a8)](){const _0x52ecdd=_0x326f66;return this[_0x52ecdd(0x2d6)][_0x52ecdd(0x374)]();}get[_0x326f66(0x3d7)](){const _0x15e335=_0x326f66;return this[_0x15e335(0x230)][_0x15e335(0x374)]();}['dispose'](){const _0x4afbc9=_0x326f66;super[_0x4afbc9(0x394)](),this['_cursorInfo$'][_0x4afbc9(0x29d)](new Map()),this[_0x4afbc9(0x2d6)][_0x4afbc9(0x29e)](),this[_0x4afbc9(0x230)]['next']([]),this[_0x4afbc9(0x230)][_0x4afbc9(0x29e)]();}[_0x326f66(0x41a)](){const _0x46bafd=_0x326f66;this[_0x46bafd(0x440)]||(this[_0x46bafd(0x440)]=!0x0,this[_0x46bafd(0x33d)][_0x46bafd(0x23d)][_0x46bafd(0x276)](_0x7c0c7e[_0x46bafd(0x246)](this['dispose$']))['subscribe'](_0x950d80=>{const _0x20d57b=_0x46bafd;_0x950d80===_0x322f7a['SessionStatus'][_0x20d57b(0x3c5)]?this[_0x20d57b(0x42f)]():this['_toggleOffline']();}),this[_0x46bafd(0x33d)][_0x46bafd(0x2f3)]['pipe'](_0x7c0c7e[_0x46bafd(0x246)](this[_0x46bafd(0x189)]))[_0x46bafd(0x257)](_0x2275ad=>{const _0x12a49e=_0x46bafd,_0x5ee3df=_0x2275ad['eventID'];_0x5ee3df===_0x399202['CollaborationEvent'][_0x12a49e(0x31e)]&&this[_0x12a49e(0x3de)](_0x2275ad),_0x5ee3df===_0x399202[_0x12a49e(0x214)][_0x12a49e(0x361)]&&this['_onCursorDelete'](_0x2275ad);}),this[_0x46bafd(0x3f4)](this[_0x46bafd(0x1cb)][_0x46bafd(0x34c)](_0x49bf22=>{const _0x36cffd=_0x46bafd,_0x42c41d=_0x49bf22[_0x36cffd(0x343)];_0x42c41d!=null&&this[_0x36cffd(0x280)]&&_0x49bf22['id']===_0x18b0ac['SetTextSelectionsOperation']['id']&&_0x42c41d[_0x36cffd(0x299)]===this['unitID']&&_0x42c41d[_0x36cffd(0x267)]===!0x1&&_0x42c41d['ranges'][_0x36cffd(0x41e)]>0x0&&this[_0x36cffd(0x210)](_0x42c41d[_0x36cffd(0x3ce)]);})),this[_0x46bafd(0x275)][_0x46bafd(0x258)][_0x46bafd(0x276)](_0x7c0c7e[_0x46bafd(0x246)](this[_0x46bafd(0x189)]))[_0x46bafd(0x257)](_0xac346a=>{const _0x494b22=_0x46bafd;if((_0xac346a==null?void 0x0:_0xac346a[_0x494b22(0x248)])!==this[_0x494b22(0x248)])return;const _0x71fe9d={'eventID':_0x399202[_0x494b22(0x214)]['UPDATE_CURSOR'],'data':_0xac346a};this[_0x494b22(0x3de)](_0x71fe9d);}),this[_0x46bafd(0x3f4)](this[_0x46bafd(0x1cb)][_0x46bafd(0x34c)](_0x395f1a=>{const _0x14b4d3=_0x46bafd;if(_0x395f1a[_0x14b4d3(0x343)]==null)return;const _0x40b586=_0x395f1a[_0x14b4d3(0x343)];if(_0x395f1a['id']!==_0x18b0ac['RichTextEditingMutation']['id']||_0x40b586[_0x14b4d3(0x299)]!==this[_0x14b4d3(0x248)])return;const _0x45d9c7={'id':_0x14b4d3(0x395),'params':_0x40b586},_0x52f167=this[_0x14b4d3(0x1a8)];for(const [_0x2bc828,_0x1f2237]of _0x52f167){const _0x4bdc68={'id':_0x14b4d3(0x395),'params':{'unitId':this[_0x14b4d3(0x248)],'actions':null,'textRanges':_0x1f2237[_0x14b4d3(0x3ce)]}},_0x464965=this[_0x14b4d3(0x33b)][_0x14b4d3(0x18f)](_0x45d9c7,_0x4bdc68,!0x1);if(_0x399202['isTransformMutationFailure'](_0x464965))throw _0x464965[_0x14b4d3(0x3a5)];_0x52f167[_0x14b4d3(0x1f7)](_0x2bc828,{..._0x1f2237,'ranges':_0x464965[_0x14b4d3(0x1de)][_0x14b4d3(0x343)][_0x14b4d3(0x2a3)]});}queueMicrotask(()=>{const _0x70930a=_0x14b4d3;this[_0x70930a(0x2d6)][_0x70930a(0x29d)](_0x52f167);});})));}[_0x326f66(0x3de)](_0x4afae8){const _0x2bece8=_0x326f66;var _0x60d295,_0x305fa3;const {memberID:_0x5c57b6,selection:_0x11d62f}=_0x4afae8[_0x2bece8(0x254)],_0x204d8e=_0x462164(_0x11d62f),_0x4deece=(_0x305fa3=(_0x60d295=this[_0x2bece8(0x1a2)][_0x2bece8(0x3f0)](this[_0x2bece8(0x248)],_0x5c57b6))==null?void 0x0:_0x60d295['name'])!=null?_0x305fa3:_0x2bece8(0x3a1),_0x5a670a={'color':this[_0x2bece8(0x1b8)]['assignAColorForMemberID'](_0x5c57b6),'name':_0x4deece,'ranges':_0x204d8e},_0x1de418=this['cursorInfo'];_0x1de418[_0x2bece8(0x1f7)](_0x5c57b6,_0x5a670a),this[_0x2bece8(0x2d6)][_0x2bece8(0x29d)](_0x1de418);}[_0x326f66(0x3db)](_0x4002ec){const _0x73262=_0x326f66,{memberID:_0x59270d}=_0x4002ec[_0x73262(0x254)],_0x348f32=this[_0x73262(0x1a8)];_0x348f32[_0x73262(0x420)](_0x59270d),this['_cursorInfo$'][_0x73262(0x29d)](_0x348f32);}['_toggleOnline'](){const _0x260c80=_0x326f66;var _0x47fd9f;if(this['_online']=!0x0,((_0x47fd9f=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x47fd9f['getUnitId']())!==this[_0x260c80(0x248)])return;const _0x17c1fe=this[_0x260c80(0x1d5)][_0x260c80(0x435)](_0x18b0ac['DocSelectionManagerService'])[_0x260c80(0x3f3)]();Array[_0x260c80(0x3cb)](_0x17c1fe)&&_0x17c1fe[_0x260c80(0x41e)]>0x0&&this[_0x260c80(0x210)](_0x17c1fe);}[_0x326f66(0x42a)](){const _0x1d2014=_0x326f66;this[_0x1d2014(0x280)]=!0x1;}};_0x29000d=_0x27d49c([_0x197128(0x2,_0x43d412[_0x326f66(0x184)](_0x43d412['Injector'])),_0x197128(0x3,_0x43d412[_0x326f66(0x184)](_0xe0d8fb)),_0x197128(0x4,_0x43d412[_0x326f66(0x184)](_0x322f7a[_0x326f66(0x24f)])),_0x197128(0x5,_0x43d412[_0x326f66(0x184)](_0x557965)),_0x197128(0x6,_0x399202['ITransformService']),_0x197128(0x7,_0x43d412[_0x326f66(0x378)]),_0x197128(0x8,_0x43d412['ICommandService'])],_0x29000d);var _0x5109d1=Object['getOwnPropertyDescriptor'],_0x17b041=(_0x13aa1c,_0x16fe88,_0x527211,_0x45d839)=>{for(var _0x367697=_0x45d839>0x1?void 0x0:_0x45d839?_0x5109d1(_0x16fe88,_0x527211):_0x16fe88,_0x389d26=_0x13aa1c['length']-0x1,_0x18f780;_0x389d26>=0x0;_0x389d26--)(_0x18f780=_0x13aa1c[_0x389d26])&&(_0x367697=_0x18f780(_0x367697)||_0x367697);return _0x367697;},_0x14ec24=(_0x1b1e7f,_0x47f237)=>(_0xc90d68,_0x112f2a)=>_0x47f237(_0xc90d68,_0x112f2a,_0x1b1e7f);const _0x3884c6=0x12c,_0x175197=0x64,_0x5b9b84=()=>{let _0x23328a=[],_0xff0e0e=!0x1;return _0x3c9840=>{const _0x1641d3=_0x506f;_0x23328a[_0x1641d3(0x29f)](_0x3c9840),_0xff0e0e||(_0xff0e0e=!0x0,setTimeout(()=>{const _0x156c24=_0x1641d3;_0x23328a[_0x156c24(0x318)](_0x25f137=>_0x25f137()),_0x23328a=[],_0xff0e0e=!0x1;}));};};let _0x3137ba=class extends _0x43d412[_0x326f66(0x1dd)]{constructor(_0x11208b,_0x1f0d4c,_0x20d12e,_0x4047cb,_0x3b215d,_0x1817b8,_0x13e925,_0xa65b74){const _0x1826f2=_0x326f66;super(),_0xe37f1(this,'_online',!0x1),_0xe37f1(this,_0x1826f2(0x440),!0x1),_0xe37f1(this,_0x1826f2(0x2d6),new _0x7c0c7e[(_0x1826f2(0x225))](new Map())),_0xe37f1(this,_0x1826f2(0x1fc),this[_0x1826f2(0x2d6)][_0x1826f2(0x346)]()),_0xe37f1(this,'_roomMembers$',new _0x7c0c7e[(_0x1826f2(0x225))]([])),_0xe37f1(this,_0x1826f2(0x36a),this[_0x1826f2(0x230)][_0x1826f2(0x276)](_0x7c0c7e['debounceTime'](_0x3884c6))),_0xe37f1(this,_0x1826f2(0x210),_0x43d412[_0x1826f2(0x363)]((_0xe0026b,_0xc1a362)=>{const _0x28d51a=_0x1826f2,_0x4b0d96={'eventID':_0x399202[_0x28d51a(0x214)][_0x28d51a(0x31e)],'data':{'unitID':this[_0x28d51a(0x248)],'memberID':this['_session'][_0x28d51a(0x3fa)](),'selection':_0x49d49e[_0x28d51a(0x3cf)](_0xe0026b,_0xc1a362[_0x28d51a(0x1eb)])}};this[_0x28d51a(0x33d)][_0x28d51a(0x2c9)](_0x4b0d96,this[_0x28d51a(0x248)]);},_0x175197)),(this['unitID']=_0x11208b,this[_0x1826f2(0x33d)]=_0x1f0d4c,this['_injector']=_0x20d12e,this[_0x1826f2(0x1b8)]=_0x4047cb,this['_memberService']=_0x3b215d,this['_univerInstanceService']=_0x1817b8,this[_0x1826f2(0x1cb)]=_0x13e925,this[_0x1826f2(0x1a0)]=_0xa65b74);}get[_0x326f66(0x1a8)](){const _0x23ef9a=_0x326f66;return this[_0x23ef9a(0x2d6)][_0x23ef9a(0x374)]();}get[_0x326f66(0x3d7)](){return this['_roomMembers$']['getValue']();}[_0x326f66(0x394)](){const _0x280cd8=_0x326f66;super['dispose'](),this[_0x280cd8(0x2d6)][_0x280cd8(0x29d)](new Map()),this['_cursorInfo$'][_0x280cd8(0x29e)](),this['_roomMembers$'][_0x280cd8(0x29d)]([]),this['_roomMembers$'][_0x280cd8(0x29e)]();}[_0x326f66(0x41a)](){const _0x3d7f11=_0x326f66;this[_0x3d7f11(0x440)]||(this['_init']=!0x0,this[_0x3d7f11(0x33d)][_0x3d7f11(0x23d)][_0x3d7f11(0x276)](_0x7c0c7e[_0x3d7f11(0x246)](this[_0x3d7f11(0x189)]))[_0x3d7f11(0x257)](_0x4cfce4=>{const _0x5f5b93=_0x3d7f11;_0x4cfce4===_0x322f7a[_0x5f5b93(0x31c)][_0x5f5b93(0x3c5)]?this[_0x5f5b93(0x42f)]():this[_0x5f5b93(0x42a)]();}),this[_0x3d7f11(0x33d)][_0x3d7f11(0x2f3)][_0x3d7f11(0x276)](_0x7c0c7e[_0x3d7f11(0x246)](this[_0x3d7f11(0x189)]))[_0x3d7f11(0x257)](_0x5efa60=>{const _0x3066b6=_0x3d7f11,_0xa3f497=_0x5efa60[_0x3066b6(0x387)];_0xa3f497===_0x399202[_0x3066b6(0x214)]['UPDATE_CURSOR']&&this[_0x3066b6(0x3de)](_0x5efa60),_0xa3f497===_0x399202[_0x3066b6(0x214)][_0x3066b6(0x361)]&&this[_0x3066b6(0x3db)](_0x5efa60);}),this[_0x3d7f11(0x330)](),this['disposeWithMe'](this[_0x3d7f11(0x1cb)]['onCommandExecuted'](_0x5a5166=>{const _0x5690ff=_0x3d7f11;if(this[_0x5690ff(0x280)]&&_0x5a5166['id']===_0x54f415[_0x5690ff(0x268)]['id']&&_0x5a5166[_0x5690ff(0x343)][_0x5690ff(0x299)]===this[_0x5690ff(0x248)]){const _0x3f5d01=_0x5a5166[_0x5690ff(0x343)];this[_0x5690ff(0x210)](_0x3f5d01[_0x5690ff(0x221)],_0x3f5d01['selections'][0x0]);}})));}[_0x326f66(0x3de)](_0x48a199){const _0x1bcee5=_0x326f66;var _0x52628a,_0x4f7ea8;const {memberID:_0x5d1a94,selection:_0xe33800}=_0x48a199[_0x1bcee5(0x254)],{sheetName:_0x53887b,range:_0x10d5c8}=_0x49d49e[_0x1bcee5(0x397)](_0xe33800),_0x1304d9={'name':(_0x4f7ea8=(_0x52628a=this[_0x1bcee5(0x1a2)][_0x1bcee5(0x3f0)](this[_0x1bcee5(0x248)],_0x5d1a94))==null?void 0x0:_0x52628a[_0x1bcee5(0x3aa)])!=null?_0x4f7ea8:_0x1bcee5(0x3a1),'range':this[_0x1bcee5(0x410)](_0x53887b,_0x10d5c8),'sheetID':_0x53887b,'color':this[_0x1bcee5(0x1b8)][_0x1bcee5(0x38c)](_0x5d1a94),'selection':_0xe33800},_0x4d392b=this[_0x1bcee5(0x1a8)];_0x4d392b['set'](_0x5d1a94,_0x1304d9),this[_0x1bcee5(0x2d6)][_0x1bcee5(0x29d)](_0x4d392b);}[_0x326f66(0x3db)](_0x41a374){const _0x208145=_0x326f66,{memberID:_0x354efe}=_0x41a374['data'],_0xe1b59c=this[_0x208145(0x1a8)];_0xe1b59c[_0x208145(0x420)](_0x354efe),this[_0x208145(0x2d6)][_0x208145(0x29d)](_0xe1b59c);}['_getMergeRange'](_0x3b2b5c,_0xe0633){const _0x4d1942=_0x326f66;var _0x4521c3,_0x5fbea4;const _0x1a550c=(_0x5fbea4=(_0x4521c3=this[_0x4d1942(0x27a)][_0x4d1942(0x201)](this[_0x4d1942(0x248)]))==null?void 0x0:_0x4521c3['getSheetBySheetId'](_0x3b2b5c))==null?void 0x0:_0x5fbea4[_0x4d1942(0x2ed)]();return(_0x1a550c==null?void 0x0:_0x1a550c[_0x4d1942(0x224)](_0x236f3a=>_0x43d412['Rectangle']['contains'](_0x236f3a,_0xe0633)))||_0xe0633;}[_0x326f66(0x330)](){const _0x1003b2=_0x326f66,_0x5e20f8=new _0x43d412['DisposableCollection'](),_0x33a2e2=_0x5b9b84(),_0x2d2687=()=>{const _0x3c4ac3=_0x506f;_0x5e20f8[_0x3c4ac3(0x394)]();const _0x339320=(_0x3a1d10,_0x13a996,_0x191402,_0x4b53ac)=>{const _0x2ef126=_0x3c4ac3;let _0x499ec1=[];switch(_0x3a1d10['id']){case _0x54f415[_0x2ef126(0x3c6)]['DeleteRangeMoveLeftCommandId']:{_0x499ec1=_0x54f415[_0x2ef126(0x425)](_0x3a1d10,_0x4b53ac);break;}case _0x54f415['EffectRefRangId'][_0x2ef126(0x3d6)]:{_0x499ec1=_0x54f415[_0x2ef126(0x3d8)](_0x3a1d10,_0x4b53ac);break;}case _0x54f415['EffectRefRangId'][_0x2ef126(0x349)]:{_0x499ec1=_0x54f415['handleInsertCol'](_0x3a1d10,_0x4b53ac);break;}case _0x54f415[_0x2ef126(0x3c6)][_0x2ef126(0x303)]:{_0x499ec1=_0x54f415[_0x2ef126(0x191)](_0x3a1d10,_0x4b53ac);break;}case _0x54f415[_0x2ef126(0x3c6)][_0x2ef126(0x2d2)]:{_0x499ec1=_0x54f415[_0x2ef126(0x371)](_0x3a1d10,_0x4b53ac);break;}case _0x54f415['EffectRefRangId'][_0x2ef126(0x1d1)]:{_0x499ec1=_0x54f415[_0x2ef126(0x3bb)](_0x3a1d10,_0x4b53ac);break;}case _0x54f415[_0x2ef126(0x3c6)]['MoveRangeCommandId']:{_0x499ec1=_0x54f415[_0x2ef126(0x1ad)](_0x3a1d10,_0x4b53ac);break;}case _0x54f415[_0x2ef126(0x3c6)][_0x2ef126(0x289)]:{_0x499ec1=_0x54f415[_0x2ef126(0x2ea)](_0x3a1d10,_0x4b53ac);break;}case _0x54f415[_0x2ef126(0x3c6)][_0x2ef126(0x316)]:{_0x499ec1=_0x54f415['handleIRemoveRow'](_0x3a1d10,_0x4b53ac);break;}}const _0x605697=_0x54f415[_0x2ef126(0x21f)](_0x499ec1,_0x4b53ac),_0x12d19c=this[_0x2ef126(0x1a8)][_0x2ef126(0x435)](_0x13a996);if(_0x12d19c&&_0x605697){const _0xe2158d={..._0x12d19c,'range':_0x605697};this[_0x2ef126(0x1a8)][_0x2ef126(0x1f7)](_0x13a996,_0xe2158d),_0x33a2e2(()=>{const _0xf3b472=_0x2ef126,_0x491e5a=this[_0xf3b472(0x1a0)][_0xf3b472(0x218)](_0x605697,_0x37331b=>(_0x491e5a[_0xf3b472(0x394)](),_0x339320(_0x37331b,_0x13a996,_0x191402,_0x605697)));_0x5e20f8[_0xf3b472(0x20f)](_0x491e5a);});}return{'redos':[],'undos':[]};};this[_0x3c4ac3(0x1a8)][_0x3c4ac3(0x318)]((_0x29bc40,_0xb6a380)=>{const _0x31c6df=_0x3c4ac3,{range:_0x543a66,sheetID:_0x2e0fc5}=_0x29bc40,_0x562d95=this[_0x31c6df(0x1a0)][_0x31c6df(0x218)](_0x543a66,_0x96f9a0=>(_0x562d95[_0x31c6df(0x394)](),_0x339320(_0x96f9a0,_0xb6a380,_0x2e0fc5,_0x543a66)));_0x5e20f8['add'](_0x562d95);});};this[_0x1003b2(0x3f4)](_0x43d412[_0x1003b2(0x3c0)](this[_0x1003b2(0x2d6)][_0x1003b2(0x257)](()=>{_0x2d2687();})));}[_0x326f66(0x42f)](){const _0x1cad4f=_0x326f66;var _0x118eaa,_0x1c757c;if(this[_0x1cad4f(0x280)]=!0x0,((_0x118eaa=this[_0x1cad4f(0x27a)]['getFocusedUnit']())==null?void 0x0:_0x118eaa[_0x1cad4f(0x409)]())!==this[_0x1cad4f(0x248)])return;const _0xd52375=(_0x1c757c=this[_0x1cad4f(0x1d5)][_0x1cad4f(0x435)](_0x54f415[_0x1cad4f(0x43a)])[_0x1cad4f(0x2a7)]())==null?void 0x0:_0x1c757c[0x0],_0x58408f=this[_0x1cad4f(0x27a)][_0x1cad4f(0x352)](_0x43d412[_0x1cad4f(0x1d4)][_0x1cad4f(0x3bc)])[_0x1cad4f(0x1a7)]();_0xd52375&&_0x58408f&&this[_0x1cad4f(0x210)](_0x58408f[_0x1cad4f(0x287)](),_0xd52375);}[_0x326f66(0x42a)](){const _0x29ecab=_0x326f66;this[_0x29ecab(0x280)]=!0x1;}};_0x3137ba=_0x17b041([_0x14ec24(0x2,_0x43d412[_0x326f66(0x184)](_0x43d412[_0x326f66(0x403)])),_0x14ec24(0x3,_0x43d412['Inject'](_0xe0d8fb)),_0x14ec24(0x4,_0x43d412['Inject'](_0x322f7a[_0x326f66(0x24f)])),_0x14ec24(0x5,_0x43d412[_0x326f66(0x378)]),_0x14ec24(0x6,_0x43d412['ICommandService']),_0x14ec24(0x7,_0x43d412[_0x326f66(0x184)](_0x54f415['RefRangeService']))],_0x3137ba);var _0x41d82d=Object[_0x326f66(0x294)],_0x58c7cd=(_0x132287,_0x4f664e,_0x20a4d2,_0x4ff0b5)=>{for(var _0x3fdb60=_0x4ff0b5>0x1?void 0x0:_0x4ff0b5?_0x41d82d(_0x4f664e,_0x20a4d2):_0x4f664e,_0x513b01=_0x132287['length']-0x1,_0x268cab;_0x513b01>=0x0;_0x513b01--)(_0x268cab=_0x132287[_0x513b01])&&(_0x3fdb60=_0x268cab(_0x3fdb60)||_0x3fdb60);return _0x3fdb60;},_0x186adb=(_0x58b713,_0x20513d)=>(_0x51d0dc,_0x5d7455)=>_0x20513d(_0x51d0dc,_0x5d7455,_0x58b713);let _0x30ef43=class extends _0x43d412[_0x326f66(0x1dd)]{constructor(_0x13f6d7,_0x114a10,_0x3e5fa8){const _0xd7b65f=_0x326f66;super(),_0xe37f1(this,_0xd7b65f(0x321),new Map()),_0xe37f1(this,_0xd7b65f(0x406),new _0x7c0c7e[(_0xd7b65f(0x311))]()),(this[_0xd7b65f(0x27a)]=_0x13f6d7,this[_0xd7b65f(0x1d5)]=_0x114a10,this[_0xd7b65f(0x34a)]=_0x3e5fa8,this['_init']());}[_0x326f66(0x394)](){const _0x4d0077=_0x326f66;super['dispose'](),this[_0x4d0077(0x406)][_0x4d0077(0x29e)](),this[_0x4d0077(0x321)][_0x4d0077(0x318)](_0xfc3ec3=>_0xfc3ec3[_0x4d0077(0x394)]());}[_0x326f66(0x3ed)](_0x212e5f){const _0x6204e9=_0x326f66;return this[_0x6204e9(0x321)][_0x6204e9(0x2f5)](_0x212e5f)?this[_0x6204e9(0x321)][_0x6204e9(0x435)](_0x212e5f)[_0x6204e9(0x1fc)]:this[_0x6204e9(0x406)][_0x6204e9(0x276)](_0x7c0c7e[_0x6204e9(0x29c)](_0x1ed898=>_0x1ed898[_0x6204e9(0x248)]===_0x212e5f),_0x7c0c7e['switchMap'](_0x1e343e=>_0x1e343e[_0x6204e9(0x1fc)]));}[_0x326f66(0x440)](){const _0x5578cd=_0x326f66;this[_0x5578cd(0x27a)][_0x5578cd(0x2af)](_0x43d412[_0x5578cd(0x1d4)][_0x5578cd(0x3bc)])['pipe'](_0x7c0c7e[_0x5578cd(0x246)](this[_0x5578cd(0x189)]))['subscribe'](async _0x19c6e3=>{const _0x39d688=_0x5578cd,_0x128793=_0x19c6e3[_0x39d688(0x409)](),_0x1f9bed=await this['_startSheetCollabCursor'](_0x128793);this[_0x39d688(0x406)][_0x39d688(0x29d)](_0x1f9bed),this['_entities']['set'](_0x128793,_0x1f9bed);}),this[_0x5578cd(0x27a)][_0x5578cd(0x2af)](_0x43d412[_0x5578cd(0x1d4)][_0x5578cd(0x3f8)])['pipe'](_0x7c0c7e['takeUntil'](this[_0x5578cd(0x189)]))['pipe'](_0x7c0c7e['filter'](_0x3174cc=>!_0x3174cc[_0x5578cd(0x409)]()['startsWith']('__')))[_0x5578cd(0x257)](async _0x2d050b=>{const _0xbfc562=_0x5578cd,_0x5832b7=_0x2d050b[_0xbfc562(0x409)](),_0x3dd9e2=await this[_0xbfc562(0x1f6)](_0x5832b7);this[_0xbfc562(0x406)][_0xbfc562(0x29d)](_0x3dd9e2),this[_0xbfc562(0x321)]['set'](_0x5832b7,_0x3dd9e2);}),_0x7c0c7e['merge'](this[_0x5578cd(0x27a)]['getTypeOfUnitDisposed$'](_0x43d412[_0x5578cd(0x1d4)][_0x5578cd(0x3f8)]),this[_0x5578cd(0x27a)][_0x5578cd(0x314)](_0x43d412[_0x5578cd(0x1d4)][_0x5578cd(0x3bc)]))['pipe'](_0x7c0c7e['takeUntil'](this[_0x5578cd(0x189)]))[_0x5578cd(0x257)](_0x2a5278=>{const _0x1bea13=_0x5578cd,_0x236488=_0x2a5278[_0x1bea13(0x409)](),_0x1c9e29=this[_0x1bea13(0x321)][_0x1bea13(0x435)](_0x236488);_0x1c9e29&&(_0x1c9e29['dispose'](),this[_0x1bea13(0x321)][_0x1bea13(0x420)](_0x236488));});}async[_0x326f66(0x1bc)](_0x4ab7b4){const _0xeb506b=_0x326f66,_0x25d4ca=await this[_0xeb506b(0x34a)]['requireSession'](_0x4ab7b4),_0x5eb52a=this[_0xeb506b(0x1d5)]['createInstance'](_0x3137ba,_0x4ab7b4,_0x25d4ca);return _0x5eb52a[_0xeb506b(0x41a)](),_0x5eb52a;}async[_0x326f66(0x1f6)](_0x3bad98){const _0x49092e=_0x326f66,_0x16ff05=await this[_0x49092e(0x34a)]['requireSession'](_0x3bad98),_0x2e13c6=this[_0x49092e(0x1d5)][_0x49092e(0x241)](_0x29000d,_0x3bad98,_0x16ff05);return _0x2e13c6[_0x49092e(0x41a)](),_0x2e13c6;}};_0x30ef43=_0x58c7cd([_0x186adb(0x0,_0x43d412['IUniverInstanceService']),_0x186adb(0x1,_0x43d412['Inject'](_0x43d412[_0x326f66(0x403)])),_0x186adb(0x2,_0x43d412[_0x326f66(0x184)](_0x322f7a[_0x326f66(0x41d)]))],_0x30ef43);const _0x25c497=0x14,_0x52138b=0xc8,_0x32c3b1=0x4,_0x4cb9f6=0x5;function _0x2eb75b(_0x4ba3a6,_0x5889e1){const _0x2721d1=_0x326f66;let {radius:_0x461085,width:_0x5f51a1,height:_0x53fcf7}=_0x5889e1;_0x461085=_0x461085!=null?_0x461085:0x0,_0x5f51a1=_0x5f51a1!=null?_0x5f51a1:0x1e,_0x53fcf7=_0x53fcf7!=null?_0x53fcf7:0x1e;let _0x4bed39=0x0,_0x413a0c=0x0,_0x1c9f8d=0x0;_0x4bed39=_0x413a0c=_0x1c9f8d=Math[_0x2721d1(0x269)](_0x461085,_0x5f51a1/0x2,_0x53fcf7/0x2),_0x4ba3a6[_0x2721d1(0x419)](),_0x4ba3a6['moveTo'](_0x4bed39,0x0),_0x4ba3a6[_0x2721d1(0x2bb)](_0x5f51a1-_0x413a0c,0x0),_0x4ba3a6[_0x2721d1(0x310)](_0x5f51a1-_0x413a0c,_0x413a0c,_0x413a0c,Math['PI']*0x3/0x2,0x0,!0x1),_0x4ba3a6[_0x2721d1(0x2bb)](_0x5f51a1,_0x53fcf7-_0x1c9f8d),_0x4ba3a6[_0x2721d1(0x310)](_0x5f51a1-_0x1c9f8d,_0x53fcf7-_0x1c9f8d,_0x1c9f8d,0x0,Math['PI']/0x2,!0x1),_0x4ba3a6['lineTo'](0x0,_0x53fcf7),_0x4ba3a6[_0x2721d1(0x2bb)](0x0,_0x4bed39),_0x4ba3a6['arc'](_0x4bed39,_0x4bed39,_0x4bed39,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4ba3a6[_0x2721d1(0x379)](),_0x5889e1[_0x2721d1(0x3f6)]&&(_0x4ba3a6[_0x2721d1(0x168)](),_0x4ba3a6[_0x2721d1(0x44c)]=_0x5889e1[_0x2721d1(0x3f6)],_0x5889e1[_0x2721d1(0x3ad)]==='evenodd'?_0x4ba3a6[_0x2721d1(0x3f6)](_0x2721d1(0x22e)):_0x4ba3a6[_0x2721d1(0x3f6)](),_0x4ba3a6[_0x2721d1(0x433)]());}class _0x23ab1e extends _0x317937[_0x326f66(0x206)]{constructor(_0x17fc56,_0x4f4b6f){const _0x4cffd3=_0x326f66;super(_0x17fc56,_0x4f4b6f),_0xe37f1(this,_0x4cffd3(0x204)),_0xe37f1(this,'text'),(this[_0x4cffd3(0x204)]=_0x4f4b6f==null?void 0x0:_0x4f4b6f[_0x4cffd3(0x204)],this[_0x4cffd3(0x3b2)]=_0x4f4b6f==null?void 0x0:_0x4f4b6f[_0x4cffd3(0x3b2)]);}static[_0x326f66(0x30c)](_0x588b2a,_0x21d390){const _0x1e8532=_0x326f66,{text:_0x151f3b,color:_0x15a77c}=_0x21d390;_0x588b2a[_0x1e8532(0x168)](),_0x588b2a['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x24d6cf=_0x588b2a[_0x1e8532(0x200)](_0x151f3b)[_0x1e8532(0x247)],_0x373fbc=Math[_0x1e8532(0x269)](_0x24d6cf+0x2*_0x32c3b1,_0x52138b);_0x2eb75b(_0x588b2a,{'height':_0x25c497,'radius':0x4,'width':_0x373fbc,'fill':_0x15a77c}),_0x588b2a[_0x1e8532(0x44c)]=_0x1e8532(0x3ba);const _0x26f738=_0x32c3b1,_0x19f718=_0x25c497-_0x4cb9f6,_0x15fc13=_0x52138b-0x2*_0x32c3b1;if(_0x24d6cf>_0x15fc13){let _0x2b8a48='',_0x4cc254=0x0;for(const _0x586009 of _0x151f3b){const _0x11f34a=_0x588b2a[_0x1e8532(0x200)](_0x586009)[_0x1e8532(0x247)];if(_0x4cc254+_0x11f34a<=_0x15fc13-_0x588b2a[_0x1e8532(0x200)](_0x1e8532(0x1b4))[_0x1e8532(0x247)])_0x2b8a48+=_0x586009,_0x4cc254+=_0x11f34a;else{_0x2b8a48+=_0x1e8532(0x1b4);break;}}_0x588b2a[_0x1e8532(0x426)](_0x2b8a48,_0x26f738,_0x19f718);}else _0x588b2a[_0x1e8532(0x426)](_0x151f3b,_0x26f738,_0x19f718);_0x588b2a[_0x1e8532(0x433)]();}[_0x326f66(0x3ae)](_0x27c22b){const _0x525eef=_0x326f66;_0x23ab1e[_0x525eef(0x30c)](_0x27c22b,this);}}const _0x4727a6=_0x326f66(0x256),_0x17b471=_0x326f66(0x1db),_0x237e09=_0x326f66(0x283),_0x4d7ff6=0x6,_0x7ea0dd=1.5,_0x24a554=0x4,_0x41f53a=1.5,_0x16668a='rgba(255,\x20255,\x20255,\x200.01)';class _0x27d2c9{constructor(_0x483827,_0x11ca46,_0x22b939,_0x1688a8){const _0x2cde87=_0x326f66;_0xe37f1(this,_0x2cde87(0x216),[]),_0xe37f1(this,_0x2cde87(0x16c),null),_0xe37f1(this,_0x2cde87(0x20e),null),_0xe37f1(this,_0x2cde87(0x3d2),null),_0xe37f1(this,_0x2cde87(0x1b2),null),_0xe37f1(this,'_eventUnsubscribe',null),(this[_0x2cde87(0x3d1)]=_0x483827,this[_0x2cde87(0x33a)]=_0x11ca46,this['_docSkeleton']=_0x22b939,this[_0x2cde87(0x2b0)]=_0x1688a8,this[_0x2cde87(0x293)]());}set[_0x326f66(0x1ce)](_0x1c8b0d){const _0x2f5837=_0x326f66;_0x1c8b0d?(this[_0x2f5837(0x3d2)]&&this[_0x2f5837(0x3d2)][_0x2f5837(0x1d0)](),this['_textBubble']&&this[_0x2f5837(0x20e)][_0x2f5837(0x2cb)]()):(this['_anchorDot']&&this[_0x2f5837(0x3d2)]['show'](),this[_0x2f5837(0x20e)]&&this[_0x2f5837(0x20e)][_0x2f5837(0x1d0)]());}[_0x326f66(0x394)](){const _0x44b495=_0x326f66;for(const _0x37a80e of this[_0x44b495(0x216)])_0x37a80e[_0x44b495(0x394)]();this['_textBubble']&&this[_0x44b495(0x20e)][_0x44b495(0x394)](),this[_0x44b495(0x3d2)]&&this[_0x44b495(0x3d2)][_0x44b495(0x394)](),this[_0x44b495(0x16c)]&&this['_anchor'][_0x44b495(0x394)](),this[_0x44b495(0x17c)]&&this['_eventUnsubscribe']();}[_0x326f66(0x293)](){const _0x1343c6=_0x326f66;var _0x4f1f24;const {_docSkeleton:_0x2b2781,_document:_0x2ce87c}=this,{color:_0x867a07,name:_0x1cab19,ranges:_0xce4c05}=this[_0x1343c6(0x3d1)],_0x26eb6c=_0x2ce87c[_0x1343c6(0x372)](),{docsLeft:_0x286324,docsTop:_0x380ffe}=_0x26eb6c,_0x20ee91=new _0x17664f[(_0x1343c6(0x2f8))](_0x26eb6c,_0x2b2781);for(const {startOffset:_0x1cb0ce,endOffset:_0x435ba4,rangeType:_0x304e58,segmentId:_0x45f340,segmentPage:_0x5e8f67,collapsed:_0x5e1b9c,isActive:_0x3fcda1}of _0xce4c05){const _0xe1ad0a=_0x2b2781[_0x1343c6(0x215)](_0x1cb0ce,!0x0,_0x45f340,_0x5e8f67);let _0xa4ac07=_0x2b2781['findNodePositionByCharIndex'](_0x435ba4,!0x0,_0x45f340,_0x5e8f67);if(_0xa4ac07==null&&(_0xa4ac07=_0x2b2781[_0x1343c6(0x215)](_0x435ba4-0x1,!0x1,_0x45f340,_0x5e8f67)),_0x3fcda1){const {contentBoxPointGroup:_0x2e074f}=_0x20ee91[_0x1343c6(0x1d8)](_0xa4ac07,_0xa4ac07);if(_0x2e074f[_0x1343c6(0x41e)]===0x0)continue;this['_drawAnchor'](_0x867a07,_0x2e074f,_0x286324,_0x380ffe,_0x1cab19),this[_0x1343c6(0x17c)]=this[_0x1343c6(0x271)]();}if(_0xe1ad0a&&_0xa4ac07){if(_0x304e58===_0x43d412[_0x1343c6(0x44f)][_0x1343c6(0x323)]){const _0x3a2c66=new _0x17664f[(_0x1343c6(0x26a))](_0x26eb6c,_0x2b2781),{pointGroup:_0x2925f1}=(_0x4f1f24=_0x3a2c66[_0x1343c6(0x1d8)](_0xe1ad0a,_0xa4ac07))!=null?_0x4f1f24:{};if(_0x2925f1==null||_0x2925f1['length']===0x0)continue;this['_drawRectRange'](_0x867a07,_0x2925f1,_0x286324,_0x380ffe);}else{if(!_0x5e1b9c){const {borderBoxPointGroup:_0xe4a22f}=_0x20ee91[_0x1343c6(0x1d8)](_0xe1ad0a,_0xa4ac07);if(_0xe4a22f['length']===0x0)continue;this['_drawTextRange'](_0x867a07,_0xe4a22f,_0x286324,_0x380ffe);}}}}}['_drawAnchor'](_0x43f071,_0x38a7ef,_0x3ec7e7,_0x2f9457,_0x20c162){const _0x191584=_0x326f66,_0x1a6b3c=this['_getAnchorBounding'](_0x38a7ef),{left:_0xf6885d,top:_0x5822f5,height:_0x1bcfe1}=_0x1a6b3c,_0x2c9a1a=this[_0x191584(0x2de)](),_0x524a39=_0x41f53a/_0x2c9a1a,_0x24182e=new _0x317937['Rect'](_0x4727a6+_0x43d412[_0x191584(0x332)](_0x4d7ff6),{'left':_0xf6885d+_0x3ec7e7-_0x524a39,'top':_0x5822f5+_0x2f9457,'height':_0x1bcfe1,'width':_0x7ea0dd,'fill':_0x43f071||_0x317937['getColor'](_0x43d412['COLORS'][_0x191584(0x3ef)],0x0),'strokeWidth':_0x524a39,'stroke':_0x16668a,'evented':!0x0});this[_0x191584(0x16c)]=_0x24182e,this['_scene'][_0x191584(0x222)](_0x24182e,_0x17664f[_0x191584(0x26c)]);const _0x10e75b=new _0x317937[(_0x191584(0x20d))](_0x4727a6+_0x43d412['generateRandomId'](_0x4d7ff6),{'left':_0xf6885d+_0x3ec7e7-_0x524a39,'top':_0x5822f5+_0x2f9457-_0x24a554/0x2,'height':_0x24a554,'width':_0x24a554,'fill':_0x43f071||_0x317937[_0x191584(0x39c)](_0x43d412[_0x191584(0x3c7)][_0x191584(0x3ef)],0x0),'strokeWidth':0x0,'stroke':_0x43f071||_0x317937[_0x191584(0x39c)](_0x43d412['COLORS'][_0x191584(0x3ef)],0x0),'evented':!0x1});this[_0x191584(0x3d2)]=_0x10e75b,this['_scene'][_0x191584(0x222)](_0x10e75b,_0x17664f['TEXT_RANGE_LAYER_INDEX']);const _0x280e5a=new _0x23ab1e(_0x4727a6+_0x43d412[_0x191584(0x332)](_0x4d7ff6),{'left':_0xf6885d+_0x3ec7e7-_0x524a39,'top':_0x5822f5+_0x2f9457-_0x25c497,'text':_0x20c162,'color':_0x43f071});this[_0x191584(0x20e)]=_0x280e5a,this[_0x191584(0x33a)][_0x191584(0x222)](_0x280e5a,_0x17664f[_0x191584(0x26c)]),this[_0x191584(0x1ce)]=!0x1;}[_0x326f66(0x271)](){const _0x5f198c=_0x326f66,_0x433518=this[_0x5f198c(0x16c)][_0x5f198c(0x417)][_0x5f198c(0x228)](()=>{const _0x2554b2=_0x5f198c;this[_0x2554b2(0x1ce)]=!0x0;}),_0x3a7574=this[_0x5f198c(0x16c)][_0x5f198c(0x32f)][_0x5f198c(0x228)](()=>{const _0x556668=_0x5f198c;this['_hideTimer']&&clearTimeout(this[_0x556668(0x1b2)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{_0x433518['unsubscribe'](),_0x3a7574['unsubscribe']();};}[_0x326f66(0x262)](_0x743ab2,_0x13a83a,_0x4a9c6d,_0x35063b){const _0x12d65f=_0x326f66,_0xdf1a14=new _0x43d412[(_0x12d65f(0x22d))](_0x743ab2)[_0x12d65f(0x25b)](0.2)[_0x12d65f(0x17a)](),_0x1280e5=new _0x317937[(_0x12d65f(0x306))](_0x17b471+_0x43d412[_0x12d65f(0x332)](_0x4d7ff6),{'pointsGroup':_0x13a83a,'fill':_0xdf1a14||_0x317937['getColor'](_0x43d412[_0x12d65f(0x3c7)][_0x12d65f(0x3ef)],0.2),'left':_0x4a9c6d,'top':_0x35063b,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x12d65f(0x29f)](_0x1280e5),this[_0x12d65f(0x33a)][_0x12d65f(0x222)](_0x1280e5,_0x17664f['TEXT_RANGE_LAYER_INDEX']);}[_0x326f66(0x1e7)](_0x438ae8,_0x2b23ef,_0x3e1312,_0x153288){const _0x4ed20e=_0x326f66,_0x2fd524=new _0x43d412[(_0x4ed20e(0x22d))](_0x438ae8)['setAlpha'](0.2)[_0x4ed20e(0x17a)](),_0x41d7f7=new _0x317937[(_0x4ed20e(0x306))](_0x237e09+_0x43d412['generateRandomId'](_0x4d7ff6),{'pointsGroup':_0x2b23ef,'fill':_0x2fd524||_0x317937[_0x4ed20e(0x39c)](_0x43d412[_0x4ed20e(0x3c7)][_0x4ed20e(0x3ef)],0.2),'left':_0x3e1312,'top':_0x153288,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4ed20e(0x29f)](_0x41d7f7),this[_0x4ed20e(0x33a)][_0x4ed20e(0x222)](_0x41d7f7,_0x17664f[_0x4ed20e(0x26c)]);}[_0x326f66(0x37c)](_0x7082e8){const _0x3ec45e=_0x7082e8[0x0],_0x501862=_0x3ec45e[0x0],_0x4b1cb6=_0x3ec45e[0x2],{x:_0x136694,y:_0x230432}=_0x501862,{x:_0x1ef726,y:_0x37aaa4}=_0x4b1cb6;return{'left':_0x136694,'top':_0x230432,'width':_0x1ef726-_0x136694,'height':_0x37aaa4-_0x230432};}[_0x326f66(0x2de)](){const _0x1bb943=_0x326f66,{scaleX:_0x54a581,scaleY:_0x1cb036}=this[_0x1bb943(0x33a)][_0x1bb943(0x223)]();return Math[_0x1bb943(0x220)](_0x54a581,_0x1cb036);}}var _0x2d3673=Object[_0x326f66(0x294)],_0x4e8f5c=(_0x34039b,_0x3a8f6f,_0x5b958e,_0x5d807f)=>{for(var _0x1c321e=_0x5d807f>0x1?void 0x0:_0x5d807f?_0x2d3673(_0x3a8f6f,_0x5b958e):_0x3a8f6f,_0x43552b=_0x34039b['length']-0x1,_0x959736;_0x43552b>=0x0;_0x43552b--)(_0x959736=_0x34039b[_0x43552b])&&(_0x1c321e=_0x959736(_0x1c321e)||_0x1c321e);return _0x1c321e;},_0x30c817=(_0x3361f7,_0x42701c)=>(_0x2462ad,_0x28c699)=>_0x42701c(_0x2462ad,_0x28c699,_0x3361f7);let _0x53898c=class extends _0x43d412[_0x326f66(0x1dd)]{constructor(_0x51818a,_0x1e08d8,_0xd645b7,_0x2335ca,_0x5b90b9){const _0x3b2ce4=_0x326f66;super(),_0xe37f1(this,'_cursorShapes',[]),_0xe37f1(this,'_cursors',[]),(this[_0x3b2ce4(0x339)]=_0x51818a,this['_docSkeletonManagerService']=_0x1e08d8,this[_0x3b2ce4(0x2d8)]=_0xd645b7,this[_0x3b2ce4(0x1cb)]=_0x2335ca,this['_themeService']=_0x5b90b9,this['_init']());}[_0x326f66(0x440)](){const _0x165d39=_0x326f66,_0x1a402d=this[_0x165d39(0x339)][_0x165d39(0x299)],_0x50dbb7=this[_0x165d39(0x43b)];this[_0x165d39(0x3f4)](_0x7c0c7e['combineLatest']([this[_0x165d39(0x2d8)][_0x165d39(0x3ed)](_0x1a402d),this['_themeService'][_0x165d39(0x3b4)]])['pipe'](_0x39fe90[_0x165d39(0x2f4)](([_0x21a6ea,_0x3898b9])=>({'skeleton':_0x50dbb7[_0x165d39(0x357)](),'cursors':[..._0x21a6ea['values']()][_0x165d39(0x24d)](_0x3d7244=>({..._0x3d7244,'color':this[_0x165d39(0x35d)][_0x165d39(0x427)](_0x3d7244[_0x165d39(0x204)])}))})))[_0x165d39(0x257)](_0x41eeee=>{const _0x304862=_0x165d39;if(this['_removeCollabCursors'](),_0x41eeee){const {skeleton:_0xf08cdc,cursors:_0x431fe0}=_0x41eeee;this[_0x304862(0x190)](_0xf08cdc,_0x431fe0);}})),this[_0x165d39(0x2bf)](),this[_0x165d39(0x1c3)]();}['_updateCollabCursors'](_0x1711e2,_0x3eaee1){const _0x51f8f4=_0x326f66,{scene:_0x56f1ef,mainComponent:_0xb7cde4}=this[_0x51f8f4(0x339)],_0x2600b4=_0x3eaee1[_0x51f8f4(0x2f4)](_0x4e8eed=>new _0x27d2c9(_0x4e8eed,_0x56f1ef,_0x1711e2,_0xb7cde4));this[_0x51f8f4(0x2c2)]=_0x2600b4,this[_0x51f8f4(0x2dc)]=_0x3eaee1;}[_0x326f66(0x414)](){const _0x386e87=_0x326f66;this[_0x386e87(0x217)]();const {scene:_0x3e1283,mainComponent:_0x40fe09}=this[_0x386e87(0x339)],_0x48805a=this['_docSkeletonManagerService'][_0x386e87(0x357)](),_0x5f2480=this[_0x386e87(0x2dc)][_0x386e87(0x2f4)](_0x5e892e=>new _0x27d2c9(_0x5e892e,_0x3e1283,_0x48805a,_0x40fe09));this[_0x386e87(0x2c2)]=_0x5f2480;}[_0x326f66(0x217)](){const _0x427c57=_0x326f66;this[_0x427c57(0x2c2)][_0x427c57(0x318)](_0x936d50=>_0x936d50[_0x427c57(0x394)]()),this[_0x427c57(0x2c2)]=[];}['_initCommandExecutedListener'](){const _0x1c6dee=_0x326f66,_0x1065fb=[_0x17664f['SetDocZoomRatioOperation']['id']];this[_0x1c6dee(0x3f4)](this[_0x1c6dee(0x1cb)]['onCommandExecuted'](_0x90c332=>{const _0xb83a98=_0x1c6dee;_0x1065fb['includes'](_0x90c332['id'])&&_0x90c332[_0xb83a98(0x343)][_0xb83a98(0x299)]===this[_0xb83a98(0x339)][_0xb83a98(0x299)]&&this[_0xb83a98(0x414)]();}));}[_0x326f66(0x2bf)](){const _0x29ee12=_0x326f66;this[_0x29ee12(0x3f4)](_0x43d412[_0x29ee12(0x1be)](this[_0x29ee12(0x339)]['engine'][_0x29ee12(0x338)])[_0x29ee12(0x276)](_0x39fe90['filter'](_0xdddaa2=>_0xdddaa2[_0x29ee12(0x1e4)]===_0x317937[_0x29ee12(0x34f)]['resize']),_0x39fe90['throttleTime'](0x10))[_0x29ee12(0x257)](()=>{const _0x16ccdc=_0x29ee12;this[_0x16ccdc(0x414)]();}));}};_0x53898c=_0x4e8f5c([_0x30c817(0x1,_0x43d412[_0x326f66(0x184)](_0x18b0ac[_0x326f66(0x205)])),_0x30c817(0x2,_0x43d412[_0x326f66(0x184)](_0x30ef43)),_0x30c817(0x3,_0x43d412[_0x326f66(0x194)]),_0x30c817(0x4,_0x43d412['Inject'](_0x43d412['ThemeService']))],_0x53898c);const _0x5e2402=0x1,_0x5bf623=1.5;class _0x21a13a extends _0x317937[_0x326f66(0x206)]{constructor(_0x258280,_0x4f7eb5){const _0x1a30b5=_0x326f66;super(_0x258280,_0x4f7eb5),_0xe37f1(this,_0x1a30b5(0x399)),_0xe37f1(this,_0x1a30b5(0x351),!0x1),_0xe37f1(this,_0x1a30b5(0x279)),_0xe37f1(this,_0x1a30b5(0x1d6),''),_0xe37f1(this,_0x1a30b5(0x21a),_0x1a30b5(0x3e7)),_0xe37f1(this,_0x1a30b5(0x2ec)),(_0x4f7eb5&&this['setShapeProps'](_0x4f7eb5),this[_0x1a30b5(0x417)][_0x1a30b5(0x228)](()=>this[_0x1a30b5(0x2e8)]({'hovered':!0x0})),this[_0x1a30b5(0x32f)][_0x1a30b5(0x228)](()=>this[_0x1a30b5(0x2e8)]({'hovered':!0x1})));}[_0x326f66(0x2e8)](_0x3dad20){const _0x1cc553=_0x326f66;var _0x2a5585,_0x28b097,_0x46e686,_0x240855,_0x4c4855,_0x16e010;this[_0x1cc553(0x399)]=(_0x2a5585=_0x3dad20['color'])!=null?_0x2a5585:this[_0x1cc553(0x399)],this[_0x1cc553(0x351)]=(_0x28b097=_0x3dad20['hovered'])!=null?_0x28b097:this[_0x1cc553(0x351)],this['_range']=(_0x46e686=_0x3dad20[_0x1cc553(0x1eb)])!=null?_0x46e686:this[_0x1cc553(0x279)],this[_0x1cc553(0x1d6)]=(_0x240855=_0x3dad20[_0x1cc553(0x3aa)])!=null?_0x240855:this['_name'],this[_0x1cc553(0x21a)]=(_0x4c4855=_0x3dad20[_0x1cc553(0x407)])!=null?_0x4c4855:this[_0x1cc553(0x21a)],this['_backgroundColor']=(_0x16e010=_0x3dad20['backgroundColor'])!=null?_0x16e010:this[_0x1cc553(0x2ec)],this['transformByState']({'width':_0x3dad20[_0x1cc553(0x247)],'height':_0x3dad20['height']});}[_0x326f66(0x1e1)](_0xdd889f){const _0x2a590a=_0x326f66,{row:_0x1f6128,column:_0xfd292e}=_0xdd889f;if(_0x1f6128>=this[_0x2a590a(0x279)][_0x2a590a(0x369)]&&_0x1f6128<=this[_0x2a590a(0x279)]['endRow']&&_0xfd292e>=this[_0x2a590a(0x279)][_0x2a590a(0x19f)]&&_0xfd292e<=this[_0x2a590a(0x279)][_0x2a590a(0x1e2)]){this[_0x2a590a(0x2e8)]({'hovered':!0x0});return;}this[_0x2a590a(0x2e8)]({'hovered':!0x1});}[_0x326f66(0x296)](_0x55cbf6){return!0x1;}['_draw'](_0x5468c5){const _0x4a65f0=_0x326f66;_0x317937['Rect'][_0x4a65f0(0x30c)](_0x5468c5,{'width':this[_0x4a65f0(0x247)],'height':this[_0x4a65f0(0x32d)],'strokeWidth':_0x5bf623,'stroke':this[_0x4a65f0(0x399)],'evented':!0x1,'fill':this[_0x4a65f0(0x2ec)]}),this[_0x4a65f0(0x351)]&&(_0x5468c5[_0x4a65f0(0x168)](),_0x5468c5[_0x4a65f0(0x21c)](0x1,0x0,0x0,0x1,this[_0x4a65f0(0x247)],this['_labelPosition']===_0x4a65f0(0x428)?0x0:-_0x25c497),_0x23ab1e[_0x4a65f0(0x30c)](_0x5468c5,{'text':this[_0x4a65f0(0x1d6)],'color':this[_0x4a65f0(0x399)]}),_0x5468c5[_0x4a65f0(0x433)]());}}var _0x12c06d=Object['getOwnPropertyDescriptor'],_0x39c8af=(_0x4079c8,_0x3bce49,_0x2c16f2,_0x842289)=>{const _0x1a3111=_0x326f66;for(var _0x4fd0bb=_0x842289>0x1?void 0x0:_0x842289?_0x12c06d(_0x3bce49,_0x2c16f2):_0x3bce49,_0x255a70=_0x4079c8[_0x1a3111(0x41e)]-0x1,_0x13942b;_0x255a70>=0x0;_0x255a70--)(_0x13942b=_0x4079c8[_0x255a70])&&(_0x4fd0bb=_0x13942b(_0x4fd0bb)||_0x4fd0bb);return _0x4fd0bb;},_0x1061c7=(_0x35f9f8,_0x2e68fc)=>(_0x1339ff,_0x400205)=>_0x2e68fc(_0x1339ff,_0x400205,_0x35f9f8);const _0x5f1d6c=0x1389;let _0x29b976=class extends _0x43d412[_0x326f66(0x1dd)]{constructor(_0x4850df,_0x610164,_0x5c4ae9,_0xfccddb){const _0x5c8faa=_0x326f66;super(),_0xe37f1(this,'_cursors',new Set()),_0xe37f1(this,_0x5c8faa(0x3af),null),(this[_0x5c8faa(0x339)]=_0x4850df,this[_0x5c8faa(0x255)]=_0x610164,this[_0x5c8faa(0x2d8)]=_0x5c4ae9,this[_0x5c8faa(0x35d)]=_0xfccddb,this[_0x5c8faa(0x440)]());}['_init'](){const _0x244e9d=_0x326f66;this[_0x244e9d(0x255)][_0x244e9d(0x250)][_0x244e9d(0x276)](_0x39fe90[_0x244e9d(0x246)](this[_0x244e9d(0x189)]),_0x39fe90[_0x244e9d(0x353)](_0x529be3=>{const _0x4ccdc1=_0x244e9d;if(_0x529be3){const _0xd070c9=_0x529be3[_0x4ccdc1(0x1c7)];return _0x7c0c7e[_0x4ccdc1(0x40c)](this[_0x4ccdc1(0x2d8)][_0x4ccdc1(0x3ed)](this[_0x4ccdc1(0x339)][_0x4ccdc1(0x299)]),this[_0x4ccdc1(0x35d)]['currentTheme$'])[_0x4ccdc1(0x276)](_0x39fe90['map'](([_0x52fdd9,_0x42ccc0])=>{const _0x335452=new Map();return _0x52fdd9['forEach']((_0x407792,_0x39b51f)=>{const _0x472c92=_0x506f;if(_0x407792[_0x472c92(0x173)]===_0xd070c9){const _0x32b21f={..._0x407792};_0x32b21f['color']=this[_0x472c92(0x35d)]['getColorFromTheme'](_0x407792[_0x472c92(0x204)]),_0x335452[_0x472c92(0x1f7)](_0x39b51f,_0x32b21f);}}),{'skeleton':_0x529be3,'cursors':_0x335452};}));}return _0x7c0c7e['of']({'skeleton':null,'cursors':new Map()});}))[_0x244e9d(0x257)](({skeleton:_0x32e6f4,cursors:_0x27a574})=>{const _0x5158e8=_0x244e9d;this[_0x5158e8(0x217)](),_0x32e6f4&&this['_updateCollabCursors'](_0x32e6f4,_0x27a574);}),this['_sheetSkeletonManagerService'][_0x244e9d(0x250)]['subscribe'](_0x2e3bd=>{const _0x5be29e=_0x244e9d;if(_0x2e3bd==null)return;const {skeleton:_0x114bfb}=_0x2e3bd,{scene:_0x496cb1}=this[_0x5be29e(0x339)];_0x496cb1[_0x5be29e(0x28c)][_0x5be29e(0x228)](_0x43d412[_0x5be29e(0x363)](_0x4d92c6=>{const _0x4c5e40=_0x5be29e;var _0x5f1d97,_0x688893;const {offsetX:_0xd1c308,offsetY:_0x4c58f8}=_0x4d92c6,{x:_0x7b3902,y:_0x2deb5a}=_0x496cb1[_0x4c5e40(0x2be)](_0x317937['Vector2'][_0x4c5e40(0x341)]([_0xd1c308,_0x4c58f8])),{scaleX:_0x19a731,scaleY:_0x289adb}=_0x496cb1[_0x4c5e40(0x223)](),_0x4e958b=_0x496cb1[_0x4c5e40(0x337)](_0x317937[_0x4c5e40(0x1dc)]['VIEW_MAIN']),_0x482cc0=_0x496cb1[_0x4c5e40(0x28e)](_0x317937['Vector2'][_0x4c5e40(0x341)]([_0x7b3902,_0x2deb5a]),_0x4e958b),_0x28e32a=_0x114bfb[_0x4c5e40(0x385)](_0xd1c308,_0x4c58f8,_0x19a731,_0x289adb,_0x482cc0);((_0x5f1d97=this[_0x4c5e40(0x3af)])==null?void 0x0:_0x5f1d97[_0x4c5e40(0x3b1)])===_0x28e32a[_0x4c5e40(0x3b1)]&&((_0x688893=this['_lastPointer'])==null?void 0x0:_0x688893['row'])===_0x28e32a[_0x4c5e40(0x21d)]||this['_cursors'][_0x4c5e40(0x318)](_0x53ce1e=>{const _0x1d6c67=_0x4c5e40;_0x53ce1e[_0x1d6c67(0x1e1)](_0x28e32a);});},0x64));});}[_0x326f66(0x190)](_0x28d9c5,_0x479fdf){const _0x5ec27d=_0x326f66;var _0x24316a;const _0x1a8843=(_0x24316a=this[_0x5ec27d(0x255)][_0x5ec27d(0x29a)]())==null?void 0x0:_0x24316a[_0x5ec27d(0x3c3)];if(!_0x1a8843)return;const _0xb004ef=this[_0x5ec27d(0x44d)]();if(!_0xb004ef)return;this[_0x5ec27d(0x2dc)]['forEach'](_0x4777c5=>{const _0x59bf5b=_0x5ec27d;_0x4777c5[_0x59bf5b(0x187)]();});const {scene:_0x33ef7b}=_0xb004ef,_0x3bf9fe=_0x3a59d1(Array['from'](_0x479fdf[_0x5ec27d(0x3cd)]()))[_0x5ec27d(0x2f4)](_0xeadaa8=>{const _0x2b69a8=_0x5ec27d,{color:_0x26f26d,range:_0x1f72a5,name:_0x579f0b,selection:_0x4e389f,sheetID:_0x3746b2}=_0xeadaa8,{startColumn:_0x273df7,startRow:_0x3f81f5,endColumn:_0x439c93,endRow:_0x3c6be1}=_0x1f72a5,_0x31a1a1=_0xd46b9b[_0x2b69a8(0x39f)](_0x3f81f5,_0x273df7,_0x33ef7b,_0x1a8843),_0x16f515=_0xd46b9b[_0x2b69a8(0x39f)](_0x3c6be1,_0x439c93,_0x33ef7b,_0x1a8843),{columnHeaderHeightAndMarginTop:_0x5bcdca}=_0x1a8843,{startX:_0x42117c,startY:_0x293599}=_0x31a1a1,{endX:_0x4d6707,endY:_0x100cc8}=_0x16f515,_0x5de8c6=_0x4d6707-_0x42117c,_0x19834d=_0x100cc8-_0x293599,_0x14ef8f={'labelPosition':_0x293599-_0x5bcdca>=_0x25c497?_0x2b69a8(0x3e7):_0x2b69a8(0x428),'sheetID':_0x3746b2,'range':_0x1f72a5,'color':_0x26f26d,'name':_0x579f0b,'selection':_0x4e389f,'left':_0x42117c,'top':_0x293599,'width':_0x5de8c6,'height':_0x19834d,'evented':!0x1,'zIndex':_0x5f1d6c};return new _0x21a13a(_0x579f0b,_0x14ef8f);});_0x33ef7b[_0x5ec27d(0x243)](_0x3bf9fe,_0x5e2402),this[_0x5ec27d(0x2dc)]=new Set(_0x3bf9fe);}[_0x326f66(0x217)](){const _0x5f6d03=_0x326f66;var _0x498e1e;(_0x498e1e=this[_0x5f6d03(0x2dc)])==null||_0x498e1e[_0x5f6d03(0x318)](_0x3bd9b1=>_0x3bd9b1[_0x5f6d03(0x394)]());}[_0x326f66(0x44d)](){const _0x4f0b57=_0x326f66;return _0xd46b9b['getSheetObject'](this['_context'][_0x4f0b57(0x3b3)],this[_0x4f0b57(0x339)]);}};_0x29b976=_0x39c8af([_0x1061c7(0x1,_0x43d412['Inject'](_0xd46b9b[_0x326f66(0x2f7)])),_0x1061c7(0x2,_0x43d412[_0x326f66(0x184)](_0x30ef43)),_0x1061c7(0x3,_0x43d412[_0x326f66(0x184)](_0x43d412[_0x326f66(0x449)]))],_0x29b976);function _0x3a59d1(_0x5420f5){const _0x4c6f52=_0x326f66,_0x2422dd=new Map();return _0x5420f5[_0x4c6f52(0x318)](_0x4993a1=>{const _0x105a33=_0x4c6f52;if(_0x2422dd[_0x105a33(0x2f5)](_0x4993a1['selection'])){const _0x2590c9=_0x2422dd[_0x105a33(0x435)](_0x4993a1[_0x105a33(0x2a1)]);_0x2590c9['name']+=',\x20'+_0x4993a1[_0x105a33(0x3aa)];}else _0x2422dd['set'](_0x4993a1[_0x105a33(0x2a1)],_0x4993a1);}),Array[_0x4c6f52(0x27f)](_0x2422dd['values']());}var _0x43ecb3=Object[_0x326f66(0x294)],_0x3fff42=(_0x916d5b,_0x4ecf77,_0x37621f,_0x3fa6d6)=>{const _0x5410f4=_0x326f66;for(var _0x57666a=_0x3fa6d6>0x1?void 0x0:_0x3fa6d6?_0x43ecb3(_0x4ecf77,_0x37621f):_0x4ecf77,_0x40111f=_0x916d5b[_0x5410f4(0x41e)]-0x1,_0x40f56b;_0x40111f>=0x0;_0x40111f--)(_0x40f56b=_0x916d5b[_0x40111f])&&(_0x57666a=_0x40f56b(_0x57666a)||_0x57666a);return _0x57666a;},_0x45f77e=(_0x2dd374,_0x35e122)=>(_0x275366,_0x18bcda)=>_0x35e122(_0x275366,_0x18bcda,_0x2dd374);let _0x19e657=class extends _0x43d412[_0x326f66(0x1e0)]{constructor(_0x52bd16,_0x279c74,_0xb1928b,_0xfdf50c,_0x526ea8,_0x4cb935){const _0x72be69=_0x326f66;super(),this[_0x72be69(0x42d)]=_0x52bd16,this['_localCacheService']=_0x279c74,this[_0x72be69(0x288)]=_0xb1928b,this[_0x72be69(0x1ef)]=_0xfdf50c,this[_0x72be69(0x322)]=_0x526ea8,this[_0x72be69(0x233)]=_0x4cb935,this[_0x72be69(0x3e1)](),this[_0x72be69(0x365)]();}[_0x326f66(0x3e1)](){const _0x1fc866=_0x326f66;this['disposeWithMe'](this[_0x1fc866(0x42d)][_0x1fc866(0x3c4)](()=>{const _0x440503=_0x1fc866;if(this[_0x440503(0x388)][_0x440503(0x2e0)][_0x440503(0x264)])return this[_0x440503(0x233)]['t']('collaboration.offline-data-not-saved');}));}[_0x326f66(0x365)](){const _0x1fa48d=_0x326f66;this[_0x1fa48d(0x3f4)](this[_0x1fa48d(0x288)][_0x1fa48d(0x2f3)][_0x1fa48d(0x257)](_0x13bde4=>{const _0x34d9c5=_0x1fa48d;_0x13bde4['id']===_0x322f7a[_0x34d9c5(0x450)][_0x34d9c5(0x227)]&&this[_0x34d9c5(0x1ef)]['show']({'type':_0x312745[_0x34d9c5(0x219)][_0x34d9c5(0x447)],'content':this[_0x34d9c5(0x233)]['t'](_0x34d9c5(0x2f2))}),_0x13bde4['id']===_0x322f7a[_0x34d9c5(0x450)][_0x34d9c5(0x40e)]&&this[_0x34d9c5(0x1ef)][_0x34d9c5(0x2cb)]({'type':_0x312745['MessageType']['Warning'],'content':this[_0x34d9c5(0x233)]['t']('collaboration.closeRoom')}),_0x13bde4['id']===_0x322f7a[_0x34d9c5(0x450)][_0x34d9c5(0x40b)]&&this['_notificationService'][_0x34d9c5(0x2cb)]({'title':this['_localeService']['t'](_0x34d9c5(0x402)),'content':this[_0x34d9c5(0x233)]['t'](_0x34d9c5(0x38e)),'type':_0x34d9c5(0x3a5),'duration':0x0}),_0x13bde4['id']===_0x322f7a[_0x34d9c5(0x450)][_0x34d9c5(0x231)]&&this['_messageService']['show']({'type':_0x312745[_0x34d9c5(0x219)][_0x34d9c5(0x27d)],'content':this[_0x34d9c5(0x233)]['t'](_0x34d9c5(0x3df))+'('+_0x13bde4[_0x34d9c5(0x254)]+')'}),_0x13bde4['id']===_0x322f7a[_0x34d9c5(0x450)][_0x34d9c5(0x1bb)]&&this[_0x34d9c5(0x1ef)][_0x34d9c5(0x2cb)]({'type':_0x312745[_0x34d9c5(0x219)]['Warning'],'content':this[_0x34d9c5(0x233)]['t'](_0x13bde4[_0x34d9c5(0x254)]||'')}),_0x13bde4['id']===_0x322f7a['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this['_messageService']['show']({'type':_0x312745[_0x34d9c5(0x219)]['Warning'],'content':this['_localeService']['t'](_0x34d9c5(0x42b))}),_0x13bde4['id']===_0x322f7a['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x34d9c5(0x1ef)]['show']({'type':_0x312745[_0x34d9c5(0x219)][_0x34d9c5(0x27d)],'content':this[_0x34d9c5(0x233)]['t'](_0x34d9c5(0x1c5))}),_0x13bde4['id']===_0x322f7a[_0x34d9c5(0x450)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x34d9c5(0x1ef)][_0x34d9c5(0x2cb)]({'type':_0x312745[_0x34d9c5(0x219)][_0x34d9c5(0x27d)],'content':this[_0x34d9c5(0x233)]['t'](_0x34d9c5(0x367))});}));}};_0x19e657=_0x3fff42([_0x45f77e(0x0,_0x5bd884[_0x326f66(0x209)]),_0x45f77e(0x1,_0x322f7a['ILocalCacheService']),_0x45f77e(0x2,_0x43d412[_0x326f66(0x184)](_0x322f7a[_0x326f66(0x39b)])),_0x45f77e(0x3,_0x5bd884[_0x326f66(0x277)]),_0x45f77e(0x4,_0x5bd884[_0x326f66(0x43e)]),_0x45f77e(0x5,_0x43d412['Inject'](_0x43d412[_0x326f66(0x2e3)]))],_0x19e657);var _0x1f04f0=Object['getOwnPropertyDescriptor'],_0xa7b520=(_0x682075,_0xec9c6e,_0x497c69,_0x4609b2)=>{const _0x241de9=_0x326f66;for(var _0x406e79=_0x4609b2>0x1?void 0x0:_0x4609b2?_0x1f04f0(_0xec9c6e,_0x497c69):_0xec9c6e,_0x4aac6e=_0x682075[_0x241de9(0x41e)]-0x1,_0x5c083c;_0x4aac6e>=0x0;_0x4aac6e--)(_0x5c083c=_0x682075[_0x4aac6e])&&(_0x406e79=_0x5c083c(_0x406e79)||_0x406e79);return _0x406e79;},_0x4dc4eb=(_0xefaff6,_0x498b9e)=>(_0x682df2,_0x49d935)=>_0x498b9e(_0x682df2,_0x49d935,_0xefaff6);let _0xafd165=class extends _0x43d412[_0x326f66(0x1e0)]{constructor(_0x204419,_0x72ec1d,_0x4f66b5,_0x1d5e42){const _0x26438d=_0x326f66;super(),_0xe37f1(this,_0x26438d(0x263)),(this[_0x26438d(0x1d5)]=_0x204419,this[_0x26438d(0x16b)]=_0x72ec1d,this[_0x26438d(0x1b9)]=_0x4f66b5,this[_0x26438d(0x1f4)]=_0x1d5e42,this['_init']());}[_0x326f66(0x440)](){const _0x37ebe=_0x326f66;this[_0x37ebe(0x28d)](),this['_initUnhandledRejectionListener'](),this[_0x37ebe(0x1c8)](),this[_0x37ebe(0x162)]();}[_0x326f66(0x162)](){const _0x172864=_0x326f66;this[_0x172864(0x3f4)](this[_0x172864(0x1f4)][_0x172864(0x436)][_0x172864(0x257)](_0x514334=>{const _0x553179=_0x172864;this[_0x553179(0x263)]=_0x514334==null?void 0x0:_0x514334['memberID'];}));}[_0x326f66(0x28d)](){const _0x659e6e=_0x326f66,_0x3e9205=_0x159acd=>{const _0x4dbf4c=_0x506f;var _0x21260f;this[_0x4dbf4c(0x30a)]('error','[Window\x20Error]:\x20'+_0x159acd[_0x4dbf4c(0x3dc)]+'\x20at\x20'+_0x159acd[_0x4dbf4c(0x2ca)]+':'+_0x159acd['lineno']+':'+_0x159acd[_0x4dbf4c(0x24b)]+'\x0a'+(((_0x21260f=_0x159acd[_0x4dbf4c(0x3a5)])==null?void 0x0:_0x21260f[_0x4dbf4c(0x193)])||''));};window[_0x659e6e(0x359)](_0x659e6e(0x3a5),_0x3e9205),this[_0x659e6e(0x3f4)](()=>{const _0x27c27=_0x659e6e;window[_0x27c27(0x170)]('error',_0x3e9205);});}[_0x326f66(0x34b)](){const _0x5ba2d8=_0x326f66,_0x400e27=_0xddfda4=>{const _0x227ca3=_0x506f;this[_0x227ca3(0x30a)]('error','[Unhandled\x20Rejection]:\x20'+_0xddfda4[_0x227ca3(0x380)]);};window[_0x5ba2d8(0x359)](_0x5ba2d8(0x3e0),_0x400e27),this[_0x5ba2d8(0x3f4)](()=>{const _0x4af48d=_0x5ba2d8;window[_0x4af48d(0x170)](_0x4af48d(0x3e0),_0x400e27);});}['_monkeyPatchLogService'](){const _0x54201f=_0x326f66,_0x54ade6=this[_0x54201f(0x1b9)][_0x54201f(0x3a5)][_0x54201f(0x412)](this['_logService']);this[_0x54201f(0x1b9)][_0x54201f(0x3a5)]=(..._0x22f30d)=>{const _0x3da10e=_0x54201f,_0x4ae13c=_0x22f30d[_0x3da10e(0x2f4)](_0x594741=>_0x594741 instanceof Error?_0x594741[_0x3da10e(0x3dc)]+'\x0a'+_0x594741[_0x3da10e(0x193)]:String(_0x594741))[_0x3da10e(0x2e2)]('\x20');this[_0x3da10e(0x30a)](_0x3da10e(0x3a5),_0x3da10e(0x430)+_0x4ae13c),_0x54ade6(..._0x22f30d);},this[_0x54201f(0x3f4)](()=>{const _0x4c6e15=_0x54201f;this[_0x4c6e15(0x1b9)][_0x4c6e15(0x3a5)]=_0x54ade6;});}[_0x326f66(0x30a)](_0x40711c,_0x483aad){const _0x57493e=_0x326f66;try{const _0x23196c={'userId':this[_0x57493e(0x263)],'logLabel':_0x40711c,'content':_0x483aad};this['_httpService']['post']('/universer-api/frontend/logs',{'body':_0x23196c})[_0x57493e(0x2cc)](()=>{});}catch{}}};_0xafd165=_0xa7b520([_0x4dc4eb(0x0,_0x43d412[_0x326f66(0x184)](_0x43d412[_0x326f66(0x403)])),_0x4dc4eb(0x1,_0x43d412[_0x326f66(0x184)](_0x5bb6d0['HTTPService'])),_0x4dc4eb(0x2,_0x43d412['ILogService']),_0x4dc4eb(0x3,_0x43d412[_0x326f66(0x184)](_0x322f7a['CollaborationSessionService']))],_0xafd165);const _0x190675=_0x326f66(0x344),_0x26d491={};var _0x48314f=Object[_0x326f66(0x294)],_0x3cedd2=(_0x5633a7,_0x36f8d5,_0x1333db,_0x52e56e)=>{for(var _0x1963e1=_0x52e56e>0x1?void 0x0:_0x52e56e?_0x48314f(_0x36f8d5,_0x1333db):_0x36f8d5,_0x4759b4=_0x5633a7['length']-0x1,_0x3bb94d;_0x4759b4>=0x0;_0x4759b4--)(_0x3bb94d=_0x5633a7[_0x4759b4])&&(_0x1963e1=_0x3bb94d(_0x1963e1)||_0x1963e1);return _0x1963e1;},_0x39c474=(_0x1fa0d5,_0x1117e4)=>(_0x52aca8,_0xcc6c94)=>_0x1117e4(_0x52aca8,_0xcc6c94,_0x1fa0d5);let _0x486dfe=class{constructor(_0x158d1e,_0x1ee1b1){const _0x1accfc=_0x326f66;this[_0x1accfc(0x33b)]=_0x158d1e,this['_renderManagerService']=_0x1ee1b1;}[_0x326f66(0x432)](_0x1f984c){const _0x1efab6=_0x326f66;this['_transformUndoRedoStack'](_0x1f984c),this[_0x1efab6(0x23a)](_0x1f984c);}[_0x326f66(0x197)](_0x41ac86){const _0x162bde=_0x326f66,{unitID:_0x4cf8ed}=_0x41ac86,_0x80b170=this['_renderManagerService']['getRenderById'](_0x4cf8ed)[_0x162bde(0x39e)](_0x17664f['DocIMEInputManagerService']),{redoCache:_0x4eba40}=_0x80b170[_0x162bde(0x3fc)]();if(_0x4eba40[_0x162bde(0x41e)]===0x0)return _0x41ac86;let _0x2d9090=_0x43d412[_0x162bde(0x198)][_0x162bde(0x1d2)](_0x41ac86[_0x162bde(0x401)][0x0]);for(let _0x54d6ab=0x0;_0x54d6ab<_0x4eba40[_0x162bde(0x41e)];_0x54d6ab++){const _0x3611bc={'id':_0x162bde(0x395),'params':{..._0x4eba40[_0x54d6ab]}},_0x4b529f=this[_0x162bde(0x33b)][_0x162bde(0x18f)](_0x2d9090,_0x3611bc,!0x1);if(_0x399202[_0x162bde(0x240)](_0x4b529f))throw _0x4b529f[_0x162bde(0x3a5)];_0x2d9090=_0x4b529f[_0x162bde(0x3a4)];}return{..._0x43d412[_0x162bde(0x198)][_0x162bde(0x1d2)](_0x41ac86),'mutations':[_0x2d9090]};}[_0x326f66(0x2b2)](_0x261235){const _0x103647=_0x326f66,{unitID:_0x5d1679}=_0x261235,_0x31b99f=this[_0x103647(0x3a8)]['getRenderById'](_0x5d1679)[_0x103647(0x39e)](_0x17664f[_0x103647(0x429)]),{undoCache:_0xb93525,redoCache:_0x7f8986}=_0x31b99f[_0x103647(0x3fc)]();if(_0xb93525[_0x103647(0x41e)]===0x0||_0x7f8986[_0x103647(0x41e)]===0x0)return;const _0x105dfc=[],_0x4cc94d=[];let _0x2100c9=_0x43d412[_0x103647(0x198)][_0x103647(0x1d2)](_0x261235['mutations'][0x0]),_0x4b2528=_0x43d412[_0x103647(0x198)]['deepClone'](_0x261235['mutations'][0x0]);for(let _0x1eed3c=_0xb93525[_0x103647(0x41e)]-0x1;_0x1eed3c>=0x0;_0x1eed3c--){const _0x434edd={'id':_0x103647(0x395),'params':{..._0xb93525[_0x1eed3c]}},_0x51f93b={'id':_0x103647(0x395),'params':{..._0x7f8986[_0x1eed3c]}},_0x4b4ef0=this[_0x103647(0x33b)][_0x103647(0x18f)](_0x2100c9,_0x434edd,!0x1),_0x40ff79=this['_transformService'][_0x103647(0x18f)](_0x4b2528,_0x51f93b,!0x1);if(_0x399202[_0x103647(0x240)](_0x4b4ef0))throw _0x4b4ef0['error'];if(_0x399202[_0x103647(0x240)](_0x40ff79))throw _0x40ff79[_0x103647(0x3a5)];_0x105dfc[_0x103647(0x421)](_0x4b4ef0[_0x103647(0x1de)]['params']),_0x4cc94d[_0x103647(0x421)](_0x40ff79[_0x103647(0x1de)][_0x103647(0x343)]),_0x2100c9=_0x4b4ef0['m1Prime'],_0x4b2528=_0x40ff79[_0x103647(0x3a4)];}_0x31b99f['setUndoRedoMutationParamsCache']({'undoCache':_0x105dfc,'redoCache':_0x4cc94d});}['_transformPreviousActiveRange'](_0x1d71f1){const _0x2d9044=_0x326f66,{unitID:_0x485789}=_0x1d71f1,_0x4ed736=this[_0x2d9044(0x3a8)][_0x2d9044(0x2ce)](_0x485789)[_0x2d9044(0x39e)](_0x17664f[_0x2d9044(0x429)]),_0x45e0c8=_0x4ed736['getActiveRange']();if(_0x45e0c8==null)return;const _0x39cfe6=[{'id':_0x2d9044(0x395),'params':{'unitId':_0x1d71f1['unitID'],'actions':null,'textRanges':[_0x45e0c8]}}],_0x33554b=this[_0x2d9044(0x33b)]['transformMutationsWithChangeset'](_0x1d71f1,_0x39cfe6);if(!_0x399202[_0x2d9044(0x375)](_0x33554b))throw _0x33554b['error'];const _0x21a7af=_0x33554b[_0x2d9044(0x1de)][0x0][_0x2d9044(0x343)]['textRanges'];Array['isArray'](_0x21a7af)&&_0x21a7af[_0x2d9044(0x41e)]&&_0x4ed736[_0x2d9044(0x20c)](_0x21a7af[0x0]);}};_0x486dfe=_0x3cedd2([_0x39c474(0x0,_0x399202['ITransformService']),_0x39c474(0x1,_0x317937[_0x326f66(0x2ac)])],_0x486dfe);var _0x3a1a79=Object[_0x326f66(0x294)],_0x41fdea=(_0x170fb0,_0x451a87,_0xc1c4ff,_0x10e5e8)=>{const _0x33d4c4=_0x326f66;for(var _0x2bf58f=_0x10e5e8>0x1?void 0x0:_0x10e5e8?_0x3a1a79(_0x451a87,_0xc1c4ff):_0x451a87,_0x387bdd=_0x170fb0[_0x33d4c4(0x41e)]-0x1,_0x2de95;_0x387bdd>=0x0;_0x387bdd--)(_0x2de95=_0x170fb0[_0x387bdd])&&(_0x2bf58f=_0x2de95(_0x2bf58f)||_0x2bf58f);return _0x2bf58f;},_0x2db3ae=(_0x479065,_0x13a28f)=>(_0x2ad703,_0x49814d)=>_0x13a28f(_0x2ad703,_0x49814d,_0x479065);let _0x5ce3b4=class{constructor(_0x3790c0,_0x1e56a3,_0x1f142d){const _0xe044d0=_0x326f66;this[_0xe044d0(0x1d5)]=_0x3790c0,this[_0xe044d0(0x33b)]=_0x1e56a3,this[_0xe044d0(0x2c6)]=_0x1f142d;}[_0x326f66(0x290)](_0x507fc7){this['_transformHistoryAndStateStack'](_0x507fc7);}['transformRemoteChangeset'](_0x21e052){const _0x3d9709=_0x326f66,{unitID:_0x590157}=_0x21e052,{collaboration:_0x533193}=this[_0x3d9709(0x2c6)][_0x3d9709(0x3ee)](_0x590157);if(_0x533193[_0x3d9709(0x41e)]===0x0)return _0x21e052;let _0x16d53c=_0x43d412['Tools'][_0x3d9709(0x1d2)](_0x21e052[_0x3d9709(0x401)][0x0]);for(let _0x46a04f=0x0;_0x46a04f<_0x533193[_0x3d9709(0x41e)];_0x46a04f++){const _0x3b45ce={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x533193[_0x46a04f][_0x3d9709(0x299)],..._0x533193[_0x46a04f][_0x3d9709(0x437)]}},_0x1b2af8=this['_transformService'][_0x3d9709(0x18f)](_0x16d53c,_0x3b45ce,!0x1);if(_0x399202[_0x3d9709(0x240)](_0x1b2af8))throw _0x1b2af8[_0x3d9709(0x3a5)];_0x16d53c=_0x1b2af8['m1Prime'];}return{..._0x43d412[_0x3d9709(0x198)][_0x3d9709(0x1d2)](_0x21e052),'mutations':[_0x16d53c]};}[_0x326f66(0x44b)](_0x3c1e7e){const _0x41bca9=_0x326f66,{unitID:_0x4cc38f}=_0x3c1e7e,{history:_0x23e2c4,collaboration:_0x164dd5}=this[_0x41bca9(0x2c6)][_0x41bca9(0x3ee)](_0x4cc38f);if(_0x23e2c4[_0x41bca9(0x41e)]===0x0&&_0x164dd5[_0x41bca9(0x41e)]===0x0)return;const _0x514240=[],_0x4702b3=[];let _0x5638c9=_0x43d412['Tools'][_0x41bca9(0x1d2)](_0x3c1e7e[_0x41bca9(0x401)][0x0]),_0x56c251=_0x43d412[_0x41bca9(0x198)]['deepClone'](_0x3c1e7e[_0x41bca9(0x401)][0x0]);for(let _0x1c2ad3=_0x23e2c4[_0x41bca9(0x41e)]-0x1;_0x1c2ad3>=0x0;_0x1c2ad3--){const _0x202b94={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x23e2c4[_0x1c2ad3][_0x41bca9(0x299)],..._0x23e2c4[_0x1c2ad3][_0x41bca9(0x366)]}},_0x210301={'id':_0x41bca9(0x395),'params':{'unitId':_0x23e2c4[_0x1c2ad3][_0x41bca9(0x299)],..._0x23e2c4[_0x1c2ad3]['redoState']}},_0x49b3d2=this[_0x41bca9(0x33b)]['transformMutation'](_0x5638c9,_0x202b94,!0x1),_0x5fbfa2=this[_0x41bca9(0x33b)][_0x41bca9(0x18f)](_0x56c251,_0x210301,!0x1);if(_0x399202[_0x41bca9(0x240)](_0x49b3d2))throw _0x49b3d2[_0x41bca9(0x3a5)];if(_0x399202[_0x41bca9(0x240)](_0x5fbfa2))throw _0x5fbfa2[_0x41bca9(0x3a5)];_0x514240['unshift']({..._0x23e2c4[_0x1c2ad3],'undoState':_0x49b3d2[_0x41bca9(0x1de)][_0x41bca9(0x343)],'redoState':_0x5fbfa2[_0x41bca9(0x1de)][_0x41bca9(0x343)]}),_0x5638c9=_0x49b3d2[_0x41bca9(0x3a4)],_0x56c251=_0x5fbfa2['m1Prime'];}_0x5638c9=_0x43d412[_0x41bca9(0x198)][_0x41bca9(0x1d2)](_0x3c1e7e[_0x41bca9(0x401)][0x0]),_0x56c251=_0x43d412[_0x41bca9(0x198)]['deepClone'](_0x3c1e7e[_0x41bca9(0x401)][0x0]);for(let _0x4e7445=_0x164dd5[_0x41bca9(0x41e)]-0x1;_0x4e7445>=0x0;_0x4e7445--){const _0x54cddc={'id':_0x41bca9(0x395),'params':{'unitId':_0x164dd5[_0x4e7445][_0x41bca9(0x299)],..._0x164dd5[_0x4e7445][_0x41bca9(0x366)]}},_0x5022ff={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x164dd5[_0x4e7445][_0x41bca9(0x299)],..._0x164dd5[_0x4e7445]['redoState']}},_0x1a09c4=this['_transformService'][_0x41bca9(0x18f)](_0x5638c9,_0x54cddc,!0x1),_0x331ca4=this[_0x41bca9(0x33b)][_0x41bca9(0x18f)](_0x56c251,_0x5022ff,!0x1);if(_0x399202[_0x41bca9(0x240)](_0x1a09c4))throw _0x1a09c4[_0x41bca9(0x3a5)];if(_0x399202[_0x41bca9(0x240)](_0x331ca4))throw _0x331ca4[_0x41bca9(0x3a5)];_0x4702b3[_0x41bca9(0x421)]({..._0x164dd5[_0x4e7445],'undoState':_0x1a09c4['m2Prime'][_0x41bca9(0x343)],'redoState':_0x331ca4['m2Prime'][_0x41bca9(0x343)]}),_0x5638c9=_0x1a09c4[_0x41bca9(0x3a4)],_0x56c251=_0x331ca4[_0x41bca9(0x3a4)];}this[_0x41bca9(0x2c6)][_0x41bca9(0x308)](_0x4cc38f,{'history':_0x514240,'collaboration':_0x4702b3});}};_0x5ce3b4=_0x41fdea([_0x2db3ae(0x0,_0x43d412[_0x326f66(0x184)](_0x43d412[_0x326f66(0x403)])),_0x2db3ae(0x1,_0x399202[_0x326f66(0x335)]),_0x2db3ae(0x2,_0x43d412[_0x326f66(0x184)](_0x17664f[_0x326f66(0x319)]))],_0x5ce3b4);var _0x298501=Object[_0x326f66(0x294)],_0x2e22b6=(_0x36b505,_0x3b4d1d,_0x37f186,_0x328738)=>{const _0xf3e8fc=_0x326f66;for(var _0x59117c=_0x328738>0x1?void 0x0:_0x328738?_0x298501(_0x3b4d1d,_0x37f186):_0x3b4d1d,_0x289298=_0x36b505[_0xf3e8fc(0x41e)]-0x1,_0xaf1051;_0x289298>=0x0;_0x289298--)(_0xaf1051=_0x36b505[_0x289298])&&(_0x59117c=_0xaf1051(_0x59117c)||_0x59117c);return _0x59117c;},_0x16e357=(_0x16d10a,_0x44290d)=>(_0x4942b2,_0x42c0b4)=>_0x44290d(_0x4942b2,_0x42c0b4,_0x16d10a);let _0xcada2b=class{constructor(_0x41bf55,_0x3d92d1){const _0x40f918=_0x326f66;this[_0x40f918(0x1d5)]=_0x41bf55,this['_transformService']=_0x3d92d1;}[_0x326f66(0x443)](_0x10474b){const _0x1ba792=_0x326f66;var _0x2fd9c5;const _0x3103b7=this[_0x1ba792(0x1d5)][_0x1ba792(0x435)](_0x18b0ac['DocSelectionManagerService']),_0x1d896d=(_0x2fd9c5=_0x3103b7[_0x1ba792(0x3f3)]())!=null?_0x2fd9c5:[];if(_0x1d896d[_0x1ba792(0x41e)]===0x0)return;const _0x2757ff=_0x10474b[_0x1ba792(0x248)],_0x3cba14=[{'id':_0x1ba792(0x395),'params':{'unitId':_0x2757ff,'actions':null,'textRanges':_0x1d896d}}],_0x397d26=this[_0x1ba792(0x33b)][_0x1ba792(0x266)](_0x10474b,_0x3cba14);if(!_0x399202[_0x1ba792(0x375)](_0x397d26))throw _0x397d26[_0x1ba792(0x3a5)];const _0x5ca92a=_0x397d26[_0x1ba792(0x1de)][0x0][_0x1ba792(0x343)][_0x1ba792(0x2a3)];Array[_0x1ba792(0x3cb)](_0x5ca92a)&&_0x5ca92a[_0x1ba792(0x41e)]&&_0x3103b7[_0x1ba792(0x19b)](_0x5ca92a,{'unitId':_0x2757ff,'subUnitId':_0x2757ff},!0x1);}};_0xcada2b=_0x2e22b6([_0x16e357(0x0,_0x43d412[_0x326f66(0x184)](_0x43d412['Injector'])),_0x16e357(0x1,_0x399202[_0x326f66(0x335)])],_0xcada2b);var _0x41df35=Object['getOwnPropertyDescriptor'],_0x5e55a5=(_0x8a23e,_0x3a3b20,_0x4ff56c,_0x1d3291)=>{for(var _0x4336b3=_0x1d3291>0x1?void 0x0:_0x1d3291?_0x41df35(_0x3a3b20,_0x4ff56c):_0x3a3b20,_0x125be2=_0x8a23e['length']-0x1,_0x3b9756;_0x125be2>=0x0;_0x125be2--)(_0x3b9756=_0x8a23e[_0x125be2])&&(_0x4336b3=_0x3b9756(_0x4336b3)||_0x4336b3);return _0x4336b3;},_0x2047c2=(_0x1df60f,_0x6d7ca9)=>(_0x5e6f5c,_0x3037b5)=>_0x6d7ca9(_0x5e6f5c,_0x3037b5,_0x1df60f);let _0x55f5b8=class extends _0x43d412[_0x326f66(0x1e0)]{constructor(_0x1995c3,_0x39becf,_0x438c0b,_0x3580e0,_0x506bb2,_0x5d8056,_0x41e8ad,_0x40f401){const _0x2ffaca=_0x326f66;super(),_0xe37f1(this,_0x2ffaca(0x35e),new _0x7c0c7e[(_0x2ffaca(0x225))](_0x322f7a[_0x2ffaca(0x31a)][_0x2ffaca(0x172)])),(this[_0x2ffaca(0x2c6)]=_0x1995c3,this[_0x2ffaca(0x3f9)]=_0x39becf,this[_0x2ffaca(0x30f)]=_0x438c0b,this[_0x2ffaca(0x15d)]=_0x3580e0,this[_0x2ffaca(0x21b)]=_0x506bb2,this[_0x2ffaca(0x25a)]=_0x5d8056,this['_messageService']=_0x41e8ad,this[_0x2ffaca(0x233)]=_0x40f401,this[_0x2ffaca(0x393)]());}['_initEntityListener'](){const _0x259070=_0x326f66;this[_0x259070(0x3f4)](this[_0x259070(0x3f9)][_0x259070(0x36d)][_0x259070(0x257)](_0x2373ab=>{const _0x338a43=_0x259070,_0x2ca03b=this[_0x338a43(0x2c6)][_0x338a43(0x348)][_0x338a43(0x257)](_0x12133b=>{const _0x64c271=_0x338a43;if(_0x12133b==null)return;const {unitId:_0x739353,redoState:_0x469240,commandId:_0xe2b82d}=_0x12133b;if(_0x739353!==_0x2373ab[_0x64c271(0x248)])return;const _0x403aef={'id':_0xe2b82d,'type':_0x43d412[_0x64c271(0x391)][_0x64c271(0x239)],'params':{'unitId':_0x739353,'actions':_0x469240[_0x64c271(0x34d)],'textRanges':null}};_0x2373ab[_0x64c271(0x386)](_0x403aef);});if(_0x2373ab[_0x338a43(0x3f4)](_0x2ca03b),_0x2373ab instanceof _0x322f7a['DocCollaborationEntity']){const _0x67ef4d={'onTransformIME':_0x4fbe96=>this[_0x338a43(0x30f)][_0x338a43(0x432)](_0x4fbe96),'onTransformState':_0x5c20a8=>this[_0x338a43(0x15d)]['transformStateCache'](_0x5c20a8),'onTransformSelections':_0x55fc40=>this[_0x338a43(0x21b)][_0x338a43(0x443)](_0x55fc40),'onSyncEditingCollabCursor':_0x2cf750=>this['_docSyncEditingCollabCursorService'][_0x338a43(0x297)](_0x2cf750),'onTransformRemoteChangesetByIMECache':_0x10418e=>this[_0x338a43(0x30f)][_0x338a43(0x197)](_0x10418e),'onTransformRemoteChangesetByStateCache':_0x5f1de0=>this[_0x338a43(0x15d)][_0x338a43(0x197)](_0x5f1de0)};_0x2373ab[_0x338a43(0x446)](_0x67ef4d);}}));}};_0x55f5b8=_0x5e55a5([_0x2047c2(0x0,_0x43d412[_0x326f66(0x184)](_0x17664f[_0x326f66(0x319)])),_0x2047c2(0x1,_0x43d412['Inject'](_0x322f7a[_0x326f66(0x362)])),_0x2047c2(0x2,_0x43d412['Inject'](_0x486dfe)),_0x2047c2(0x3,_0x43d412[_0x326f66(0x184)](_0x5ce3b4)),_0x2047c2(0x4,_0x43d412[_0x326f66(0x184)](_0xcada2b)),_0x2047c2(0x5,_0x43d412[_0x326f66(0x184)](_0x557965)),_0x2047c2(0x6,_0x5bd884['IMessageService']),_0x2047c2(0x7,_0x43d412[_0x326f66(0x184)](_0x43d412['LocaleService']))],_0x55f5b8);var _0xbce51a=(_0x2af47c=>(_0x2af47c[_0x2af47c[_0x326f66(0x2b5)]=0x0]=_0x326f66(0x2b5),_0x2af47c[_0x2af47c['OK']=0x1]='OK',_0x2af47c[_0x2af47c[_0x326f66(0x177)]=0x2]=_0x326f66(0x177),_0x2af47c[_0x2af47c[_0x326f66(0x40b)]=0x3]=_0x326f66(0x40b),_0x2af47c[_0x2af47c[_0x326f66(0x1b7)]=0x4]='NOT_FOUND',_0x2af47c[_0x2af47c['UNAUTHENTICATED']=0x5]=_0x326f66(0x23b),_0x2af47c[_0x2af47c['ALREADY_EXISTS']=0x6]=_0x326f66(0x3b0),_0x2af47c[_0x2af47c[_0x326f66(0x286)]=0x7]=_0x326f66(0x286),_0x2af47c[_0x2af47c[_0x326f66(0x3c1)]=0x8]=_0x326f66(0x3c1),_0x2af47c[_0x2af47c[_0x326f66(0x424)]=0x9]=_0x326f66(0x424),_0x2af47c[_0x2af47c[_0x326f66(0x448)]=0xa]=_0x326f66(0x448),_0x2af47c[_0x2af47c[_0x326f66(0x22b)]=0xb]=_0x326f66(0x22b),_0x2af47c[_0x2af47c['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x326f66(0x21e),_0x2af47c[_0x2af47c['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x326f66(0x1bf),_0x2af47c[_0x2af47c[_0x326f66(0x334)]=0xe]=_0x326f66(0x334),_0x2af47c[_0x2af47c[_0x326f66(0x295)]=0xf]=_0x326f66(0x295),_0x2af47c[_0x2af47c['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x326f66(0x418),_0x2af47c[_0x2af47c[_0x326f66(0x2b8)]=0x64]=_0x326f66(0x2b8),_0x2af47c[_0x2af47c[_0x326f66(0x31d)]=0x65]='ERROR_AGAIN',_0x2af47c[_0x2af47c[_0x326f66(0x42e)]=0xc9]=_0x326f66(0x42e),_0x2af47c[_0x2af47c[_0x326f66(0x32a)]=0xca]=_0x326f66(0x32a),_0x2af47c[_0x2af47c[_0x326f66(0x2ba)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2af47c[_0x2af47c[_0x326f66(0x336)]=0x1771]=_0x326f66(0x336),_0x2af47c[_0x2af47c[_0x326f66(0x245)]=0x1772]=_0x326f66(0x245),_0x2af47c[_0x2af47c['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x326f66(0x1c9),_0x2af47c[_0x2af47c[_0x326f66(0x16f)]=0x1b59]=_0x326f66(0x16f),_0x2af47c[_0x2af47c[_0x326f66(0x235)]=0x1b5a]=_0x326f66(0x235),_0x2af47c[_0x2af47c[_0x326f66(0x253)]=0x1b5b]=_0x326f66(0x253),_0x2af47c[_0x2af47c['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x326f66(0x261),_0x2af47c[_0x2af47c[_0x326f66(0x431)]=0x1b5d]='APPLY_DUPLICATED',_0x2af47c[_0x2af47c['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x326f66(0x2ab),_0x2af47c[_0x2af47c[_0x326f66(0x400)]=0x2329]=_0x326f66(0x400),_0x2af47c[_0x2af47c[_0x326f66(0x2d4)]=0x232a]=_0x326f66(0x2d4),_0x2af47c[_0x2af47c[_0x326f66(0x3bd)]=0x232b]=_0x326f66(0x3bd),_0x2af47c[_0x2af47c[_0x326f66(0x35c)]=0x232c]=_0x326f66(0x35c),_0x2af47c[_0x2af47c[_0x326f66(0x3a9)]=0x232d]=_0x326f66(0x3a9),_0x2af47c[_0x2af47c[_0x326f66(0x3c8)]=0x2711]=_0x326f66(0x3c8),_0x2af47c[_0x2af47c['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x326f66(0x28b),_0x2af47c[_0x2af47c[_0x326f66(0x23c)]=0x2713]=_0x326f66(0x23c),_0x2af47c[_0x2af47c[_0x326f66(0x160)]=0x2714]=_0x326f66(0x160),_0x2af47c[_0x2af47c[_0x326f66(0x3ec)]=0x271a]=_0x326f66(0x3ec),_0x2af47c[_0x2af47c[_0x326f66(0x37e)]=0x271b]=_0x326f66(0x37e),_0x2af47c[_0x2af47c[_0x326f66(0x163)]=0x271c]=_0x326f66(0x163),_0x2af47c[_0x2af47c['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x326f66(0x39a),_0x2af47c[_0x2af47c[_0x326f66(0x17f)]=0x271e]=_0x326f66(0x17f),_0x2af47c[_0x2af47c[_0x326f66(0x2ef)]=0x271f]=_0x326f66(0x2ef),_0x2af47c[_0x2af47c[_0x326f66(0x3ac)]=0x2720]=_0x326f66(0x3ac),_0x2af47c[_0x2af47c[_0x326f66(0x30e)]=0x2af9]=_0x326f66(0x30e),_0x2af47c[_0x2af47c[_0x326f66(0x195)]=0x2ee1]=_0x326f66(0x195),_0x2af47c[_0x2af47c[_0x326f66(0x1cc)]=0x2ee2]=_0x326f66(0x1cc),_0x2af47c[_0x2af47c[_0x326f66(0x3b7)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2af47c[_0x2af47c[_0x326f66(0x174)]=0x2ee4]=_0x326f66(0x174),_0x2af47c[_0x2af47c[_0x326f66(0x2db)]=0x2ee5]=_0x326f66(0x2db),_0x2af47c[_0x2af47c[_0x326f66(0x25d)]=0x32c9]=_0x326f66(0x25d),_0x2af47c[_0x2af47c[_0x326f66(0x331)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x2af47c[_0x2af47c[_0x326f66(0x3bf)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2af47c[_0x2af47c[_0x326f66(0x3cc)]=0x36b1]=_0x326f66(0x3cc),_0x2af47c[_0x2af47c[_0x326f66(0x1f8)]=0x36b2]=_0x326f66(0x1f8),_0x2af47c[_0x2af47c['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x326f66(0x182),_0x2af47c[_0x2af47c[_0x326f66(0x2a8)]=0x36b4]=_0x326f66(0x2a8),_0x2af47c[_0x2af47c[_0x326f66(0x444)]=0x36b5]=_0x326f66(0x444),_0x2af47c[_0x2af47c[_0x326f66(0x176)]=0x36b6]=_0x326f66(0x176),_0x2af47c[_0x2af47c[_0x326f66(0x27b)]=0x36b7]=_0x326f66(0x27b),_0x2af47c[_0x2af47c[_0x326f66(0x2b4)]=0x36b8]=_0x326f66(0x2b4),_0x2af47c[_0x2af47c[_0x326f66(0x2b1)]=0x3715]=_0x326f66(0x2b1),_0x2af47c[_0x2af47c[_0x326f66(0x2a6)]=0x3716]=_0x326f66(0x2a6),_0x2af47c[_0x2af47c[_0x326f66(0x178)]=0x3717]=_0x326f66(0x178),_0x2af47c[_0x2af47c[_0x326f66(0x312)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x2af47c[_0x2af47c[_0x326f66(0x1ab)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x2af47c[_0x2af47c[_0x326f66(0x3f2)]=0x3a9a]=_0x326f66(0x3f2),_0x2af47c[_0x2af47c['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x326f66(0x1b3),_0x2af47c[_0x2af47c[_0x326f66(0x2ff)]=0x3a9c]=_0x326f66(0x2ff),_0x2af47c[_0x2af47c[_0x326f66(0x17d)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x2af47c[_0x2af47c[_0x326f66(0x1fb)]=0x3a9e]=_0x326f66(0x1fb),_0x2af47c[_0x2af47c['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x326f66(0x347),_0x2af47c[_0x2af47c[_0x326f66(0x2f1)]=0x3e81]=_0x326f66(0x2f1),_0x2af47c[_0x2af47c['UNRECOGNIZED']=-0x1]=_0x326f66(0x1ca),_0x2af47c))(_0xbce51a||{});function _0x1e6822(_0x5aac93){const _0x48f992=_0x326f66;var _0x52d9a0,_0x157fba;const _0x3a351a=(_0x52d9a0=_0x5aac93[_0x48f992(0x199)])==null?void 0x0:_0x52d9a0['stage'],_0x595a29=((_0x157fba=_0x5aac93[_0x48f992(0x199)])==null?void 0x0:_0x157fba['totalFormulasToCalculate'])||0x0;return _0x3a351a===_0x49d49e['FormulaExecuteStageType'][_0x48f992(0x36c)]&&_0x595a29>0x0;}function _0x4d6df2(_0x4ad7bb){const _0x5148ff=_0x326f66;return _0x4ad7bb[_0x5148ff(0x3f7)]===_0x49d49e['FormulaExecutedStateType']['SUCCESS'];}var _0x2116db=Object['getOwnPropertyDescriptor'],_0x37743d=(_0x161433,_0x24fae3,_0x4189aa,_0x10ee39)=>{const _0x5552b4=_0x326f66;for(var _0x30d44e=_0x10ee39>0x1?void 0x0:_0x10ee39?_0x2116db(_0x24fae3,_0x4189aa):_0x24fae3,_0x1782f1=_0x161433[_0x5552b4(0x41e)]-0x1,_0x1cbc80;_0x1782f1>=0x0;_0x1782f1--)(_0x1cbc80=_0x161433[_0x1782f1])&&(_0x30d44e=_0x1cbc80(_0x30d44e)||_0x30d44e);return _0x30d44e;},_0xfcddfc=(_0x4c0e17,_0x529dcf)=>(_0x3950b0,_0x21fb48)=>_0x529dcf(_0x3950b0,_0x21fb48,_0x4c0e17);const _0x1bab4b=_0x326f66(0x36b),_0x338161=_0x326f66(0x2a2),_0x116d0a='/universer-api/license/formula/limit/done';let _0x409d8b=class extends _0x43d412[_0x326f66(0x1e0)]{constructor(_0x41311e,_0x5a0ccd,_0x349557,_0x21c8ad,_0x2f3bdf,_0x47e90a,_0x486bed){const _0x45f5b9=_0x326f66;super(),_0xe37f1(this,_0x45f5b9(0x166),null),_0xe37f1(this,'_maxFormulaLimit',0x0),_0xe37f1(this,'_currentUsage',0x0),_0xe37f1(this,'_taskIds',[]),_0xe37f1(this,_0x45f5b9(0x2ae),0x0),(this['_messageService']=_0x41311e,this[_0x45f5b9(0x1cb)]=_0x5a0ccd,this['_configService']=_0x349557,this['_httpService']=_0x21c8ad,this[_0x45f5b9(0x27a)]=_0x2f3bdf,this[_0x45f5b9(0x1b9)]=_0x47e90a,this[_0x45f5b9(0x233)]=_0x486bed,this['_initCommandInterceptor']());}['_initCommandInterceptor'](){const _0x4adbf3=_0x326f66;this[_0x4adbf3(0x3f4)](this[_0x4adbf3(0x1cb)][_0x4adbf3(0x2b3)]((_0x44c6d2,_0x3fc316)=>{const _0x42d500=_0x4adbf3;var _0x5eb809;if(_0x44c6d2['id']!==_0x49d49e[_0x42d500(0x324)]['id'])return;const _0x2afc=_0x44c6d2[_0x42d500(0x343)];if(!this[_0x42d500(0x445)]((_0x5eb809=_0x2afc[_0x42d500(0x1c2)])!=null?_0x5eb809:[]))return;if(!this[_0x42d500(0x31b)]())throw this[_0x42d500(0x161)](_0x44c6d2,_0x3fc316),this['_showGuardMessage'](),new _0x43d412[(_0x42d500(0x2c8))]();})),this['disposeWithMe'](this[_0x4adbf3(0x1cb)][_0x4adbf3(0x34c)]((_0x53d975,_0x4de726)=>{const _0x27750e=_0x4adbf3;if(_0x53d975['id']!==_0x49d49e[_0x27750e(0x25e)]['id'])return;const _0x1feb91=_0x53d975[_0x27750e(0x343)];if(_0x1e6822(_0x1feb91)){const _0x18e536=_0x43d412[_0x27750e(0x332)]();this[_0x27750e(0x2c1)][_0x27750e(0x29f)](_0x18e536),this[_0x27750e(0x175)](_0x18e536);}else{if(_0x4d6df2(_0x1feb91)&&this['_taskIds'][_0x27750e(0x41e)]>0x0){const _0x58b6db=this[_0x27750e(0x2c1)]['shift']();this[_0x27750e(0x2c4)](_0x58b6db);}}}));}['dispose'](){const _0xcfbb15=_0x326f66;super[_0xcfbb15(0x394)](),this[_0xcfbb15(0x164)](),this[_0xcfbb15(0x2c1)]=[],this['_currentUsage']=0x0,this[_0xcfbb15(0x298)]=0x0,this[_0xcfbb15(0x2ae)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x1b8993,_0x4e18f0){const _0x392732=_0x326f66;for(let _0x250864=0x0;_0x250864<0x1e;_0x250864++)try{if(await this[_0x392732(0x1ff)](),this[_0x392732(0x31b)]()){this['_applyCommand'](_0x1b8993,_0x4e18f0),this[_0x392732(0x1ef)]['show']({'content':this[_0x392732(0x233)]['t']('formula.calculation.started'),'type':_0x312745['MessageType'][_0x392732(0x16e)]});return;}await new Promise(_0x2c096a=>{const _0x43c4d4=_0x392732;this['_pollingInterval']=window[_0x43c4d4(0x384)](_0x2c096a,0x3e8);});}catch(_0x1b79f3){this[_0x392732(0x1b9)]['error'](_0x1b79f3);}this[_0x392732(0x1ef)]['show']({'content':this[_0x392732(0x233)]['t'](_0x392732(0x354)),'type':_0x312745['MessageType'][_0x392732(0x27d)]});}[_0x326f66(0x327)](_0x588c18,_0x4fd301){const _0x244764=_0x326f66;try{this[_0x244764(0x1cb)][_0x244764(0x1ee)](_0x588c18['id'],_0x588c18[_0x244764(0x343)],_0x4fd301);}catch(_0x4ac423){this[_0x244764(0x1b9)][_0x244764(0x3a5)](_0x4ac423);}}['_setFormulaLimitStatus'](_0x3e74cd,_0xa6a1df){const _0x1d2332=_0x326f66;_0xa6a1df<this['_lastResponseTimestamp']||(this[_0x1d2332(0x2ae)]=_0xa6a1df,this[_0x1d2332(0x298)]=Number[_0x1d2332(0x3d9)](_0x3e74cd[_0x1d2332(0x1a6)]),this[_0x1d2332(0x40f)]=Number[_0x1d2332(0x3d9)](_0x3e74cd['currentUsage']));}async['_startCalculationLimit'](_0x25775c){const _0x23c16f=_0x326f66;var _0x1457f6,_0x25288b;const _0x197e8d=Date['now']();try{const _0x229dd8=((_0x1457f6=this[_0x23c16f(0x383)][_0x23c16f(0x1f0)](_0x322f7a[_0x23c16f(0x31f)]))==null?void 0x0:_0x1457f6[_0x23c16f(0x2cf)])||_0x338161,_0x32c48c=(await this['_httpService'][_0x23c16f(0x16a)](_0x229dd8,{'body':JSON[_0x23c16f(0x15f)]({'taskId':_0x25775c})}))[_0x23c16f(0x313)];if(((_0x25288b=_0x32c48c[_0x23c16f(0x3a5)])==null?void 0x0:_0x25288b[_0x23c16f(0x439)])!==_0xbce51a['OK'])return;this[_0x23c16f(0x2fa)](_0x32c48c[_0x23c16f(0x1fa)],_0x197e8d);}catch(_0x966a85){this[_0x23c16f(0x1b9)]['error'](_0x966a85);}}async[_0x326f66(0x1ff)](_0x1b62eb){const _0x51de4b=_0x326f66;var _0x191b25,_0x58a09a;const _0x37865e=Date[_0x51de4b(0x2a5)]();try{const _0x349459=((_0x191b25=this[_0x51de4b(0x383)][_0x51de4b(0x1f0)](_0x322f7a[_0x51de4b(0x31f)]))==null?void 0x0:_0x191b25[_0x51de4b(0x392)])||_0x1bab4b,_0xfa7ac5=_0x1b62eb?_0x349459+_0x51de4b(0x438)+encodeURIComponent(_0x1b62eb):_0x349459,_0x3eaef8=(await this[_0x51de4b(0x16b)][_0x51de4b(0x435)](_0xfa7ac5))[_0x51de4b(0x313)];if(((_0x58a09a=_0x3eaef8[_0x51de4b(0x3a5)])==null?void 0x0:_0x58a09a[_0x51de4b(0x439)])!==_0xbce51a['OK'])return;this[_0x51de4b(0x2fa)](_0x3eaef8[_0x51de4b(0x1fa)],_0x37865e);}catch(_0x1e5cd8){this[_0x51de4b(0x1b9)][_0x51de4b(0x3a5)](_0x1e5cd8);}}async['_releaseCalculationLimit'](_0x5ca903){const _0xc48886=_0x326f66;var _0x53586c,_0x412809;const _0x33a865=Date[_0xc48886(0x2a5)]();try{const _0xb5291a=((_0x53586c=this[_0xc48886(0x383)][_0xc48886(0x1f0)](_0x322f7a['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x53586c[_0xc48886(0x229)])||_0x116d0a,_0x192f8e=(await this[_0xc48886(0x16b)][_0xc48886(0x16a)](_0xb5291a,{'body':JSON['stringify']({'taskId':_0x5ca903})}))[_0xc48886(0x313)];if(((_0x412809=_0x192f8e[_0xc48886(0x3a5)])==null?void 0x0:_0x412809[_0xc48886(0x439)])!==_0xbce51a['OK'])return;this[_0xc48886(0x2fa)](_0x192f8e[_0xc48886(0x1fa)],_0x33a865);}catch(_0x59d8bd){this['_logService']['error'](_0x59d8bd);}}[_0x326f66(0x31b)](){const _0x2cbeb6=_0x326f66;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x2cbeb6(0x298)]-this[_0x2cbeb6(0x40f)]>0x0;}[_0x326f66(0x164)](){const _0x416d97=_0x326f66;this['_pollingInterval']&&(clearTimeout(this['_pollingInterval']),this[_0x416d97(0x166)]=null);}[_0x326f66(0x390)](){const _0x4dfa72=_0x326f66;this[_0x4dfa72(0x1ef)][_0x4dfa72(0x2cb)]({'content':this[_0x4dfa72(0x233)]['t']('formula.calculation.waiting'),'type':_0x312745['MessageType'][_0x4dfa72(0x2cd)]});}['_hasFormulaInDirtyRanges'](_0x29e27d){const _0x2b62c9=_0x326f66;for(const _0xcff10 of _0x29e27d){const {unitId:_0x1d5c51,sheetId:_0x2f3123,range:_0x5d2238}=_0xcff10,_0x400b29=this['_univerInstanceService'][_0x2b62c9(0x2dd)](_0x1d5c51);if(!_0x400b29)continue;const _0x4d75c3=_0x400b29[_0x2b62c9(0x3d0)](_0x2f3123);if(!_0x4d75c3)continue;const _0x325c85=_0x4d75c3[_0x2b62c9(0x36f)]();for(let _0x52197d=_0x5d2238['startRow'];_0x52197d<=_0x5d2238[_0x2b62c9(0x342)];_0x52197d++)for(let _0x1437e4=_0x5d2238[_0x2b62c9(0x19f)];_0x1437e4<=_0x5d2238[_0x2b62c9(0x1e2)];_0x1437e4++){const _0x338329=_0x325c85['getValue'](_0x52197d,_0x1437e4);if(_0x338329&&(_0x43d412[_0x2b62c9(0x260)](_0x338329['f'])||_0x43d412['isFormulaId'](_0x338329['si'])))return!0x0;}}return!0x1;}};_0x409d8b=_0x37743d([_0xfcddfc(0x0,_0x43d412['Inject'](_0x5bd884['IMessageService'])),_0xfcddfc(0x1,_0x43d412[_0x326f66(0x194)]),_0xfcddfc(0x2,_0x43d412['IConfigService']),_0xfcddfc(0x3,_0x43d412[_0x326f66(0x184)](_0x5bb6d0[_0x326f66(0x237)])),_0xfcddfc(0x4,_0x43d412[_0x326f66(0x378)]),_0xfcddfc(0x5,_0x43d412[_0x326f66(0x25c)]),_0xfcddfc(0x6,_0x43d412[_0x326f66(0x184)](_0x43d412[_0x326f66(0x2e3)]))],_0x409d8b);var _0x14582b=Object[_0x326f66(0x294)],_0x3f2d40=(_0x33a1fb,_0x9e8e31,_0x3d7a21,_0xfbed6c)=>{const _0x124732=_0x326f66;for(var _0x31ef2f=_0xfbed6c>0x1?void 0x0:_0xfbed6c?_0x14582b(_0x9e8e31,_0x3d7a21):_0x9e8e31,_0x78a99a=_0x33a1fb[_0x124732(0x41e)]-0x1,_0x259a73;_0x78a99a>=0x0;_0x78a99a--)(_0x259a73=_0x33a1fb[_0x78a99a])&&(_0x31ef2f=_0x259a73(_0x31ef2f)||_0x31ef2f);return _0x31ef2f;},_0x3ba2f4=(_0x505c09,_0x4427ea)=>(_0x201583,_0xf69c8e)=>_0x4427ea(_0x201583,_0xf69c8e,_0x505c09);let _0x5ea543=class extends _0x43d412[_0x326f66(0x1e0)]{constructor(_0x4d9509,_0x3b8ed6,_0x39a0f6){const _0x32cc5c=_0x326f66;super(),_0xe37f1(this,_0x32cc5c(0x1ba),new Map()),_0xe37f1(this,_0x32cc5c(0x1f1),new Map()),_0xe37f1(this,'_disabled',!0x1),(this[_0x32cc5c(0x383)]=_0x4d9509,this[_0x32cc5c(0x360)]=_0x3b8ed6,this[_0x32cc5c(0x226)]=_0x39a0f6);}[_0x326f66(0x19e)](){this['_disabled']=!0x0;}[_0x326f66(0x292)](){const _0x5e82d8=_0x326f66;this[_0x5e82d8(0x37f)]=!0x1;}get[_0x326f66(0x2e0)](){const _0x596895=_0x326f66;return this[_0x596895(0x1f1)];}[_0x326f66(0x394)](){const _0x266142=_0x326f66;this['exhaustSavingTask']()[_0x266142(0x382)](()=>super['dispose']());}async[_0x326f66(0x398)](_0x179cb8){const _0x472e20=_0x326f66;return this[_0x472e20(0x37f)]?null:this['_localStorageService'][_0x472e20(0x1e6)](_0x322f7a[_0x472e20(0x30d)](_0x179cb8));}async[_0x326f66(0x329)](_0x23fca6,_0x20c011){const _0x1ad020=_0x326f66;return!!this[_0x1ad020(0x360)][_0x1ad020(0x281)](_0x23fca6,_0x20c011);}[_0x326f66(0x285)](_0x376a3b,_0x2e0b5c,_0x30bed5,_0x58eaeb){const _0x1ff134=_0x326f66,_0x5af315=this[_0x1ff134(0x226)][_0x1ff134(0x38f)](_0x376a3b);this[_0x1ff134(0x1ba)][_0x1ff134(0x1f7)](_0x376a3b,{'unitID':_0x376a3b,'type':_0x2e0b5c,'awaitingChangeset':_0x30bed5,'mutations':_0x58eaeb,'rev':_0x5af315}),this['_saveTaskMap'][_0x1ff134(0x2f5)](_0x376a3b)||this[_0x1ff134(0x208)](_0x376a3b);}['_scheduleSaving'](_0x14e090){const _0x196034=_0x326f66,_0xdbf9c5=this[_0x196034(0x3ff)]();_0xdbf9c5===0x0?this[_0x196034(0x42c)](_0x14e090):this[_0x196034(0x1f1)]['set'](_0x14e090,setTimeout(()=>this[_0x196034(0x42c)](_0x14e090),_0xdbf9c5));}[_0x326f66(0x3ff)](){const _0x5d4606=_0x326f66;var _0x24b438;return(_0x24b438=this[_0x5d4606(0x383)][_0x5d4606(0x1f0)](_0x322f7a['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x24b438:_0x322f7a[_0x5d4606(0x3b8)];}[_0x326f66(0x42c)](_0x3ccc99){const _0x48a004=_0x326f66,_0x57df1c=this[_0x48a004(0x1f1)][_0x48a004(0x435)](_0x3ccc99);return _0x57df1c!==void 0x0&&window['clearTimeout'](_0x57df1c),this[_0x48a004(0x360)][_0x48a004(0x281)](_0x322f7a[_0x48a004(0x30d)](_0x3ccc99),this[_0x48a004(0x1ba)][_0x48a004(0x435)](_0x3ccc99))[_0x48a004(0x382)](()=>this[_0x48a004(0x1f1)]['delete'](_0x3ccc99));}async[_0x326f66(0x33c)](){const _0x49efbe=_0x326f66,_0x52e487=[];this[_0x49efbe(0x1f1)][_0x49efbe(0x318)]((_0x577ab8,_0x230e3c)=>{const _0x5f24b4=_0x49efbe;window[_0x5f24b4(0x381)](_0x577ab8),_0x52e487[_0x5f24b4(0x29f)](this['_saveCache'](_0x230e3c)[_0x5f24b4(0x382)](()=>{const _0x26dd46=_0x5f24b4;this[_0x26dd46(0x1f1)][_0x26dd46(0x420)](_0x230e3c);}));}),await Promise['all'](_0x52e487);}};_0x5ea543=_0x3f2d40([_0x3ba2f4(0x0,_0x43d412[_0x326f66(0x358)]),_0x3ba2f4(0x1,_0x43d412[_0x326f66(0x2f0)]),_0x3ba2f4(0x2,_0x43d412[_0x326f66(0x184)](_0x399202['RevisionService']))],_0x5ea543);class _0x5cba98 extends _0x43d412[_0x326f66(0x1dd)]{constructor(){const _0x52f0f1=_0x326f66;super(),_0xe37f1(this,_0x52f0f1(0x3c2)),this[_0x52f0f1(0x3c2)]=_0x7c0c7e[_0x52f0f1(0x44a)](window,_0x52f0f1(0x1ae))['pipe'](_0x7c0c7e['takeUntil'](this[_0x52f0f1(0x189)]),_0x7c0c7e['shareReplay'](0x1),_0x7c0c7e[_0x52f0f1(0x320)](void 0x0));}[_0x326f66(0x41b)](_0x2a3bf4,_0x63119a,_0x2cfdbf=!0x1){const _0x75f44f=_0x326f66,_0x26381d=new URL(window[_0x75f44f(0x40d)][_0x75f44f(0x376)]);_0x26381d[_0x75f44f(0x3dd)]['set'](_0x2a3bf4,_0x63119a),_0x2cfdbf?window['history'][_0x75f44f(0x27c)]('','',_0x26381d[_0x75f44f(0x1c0)]()):window[_0x75f44f(0x364)][_0x75f44f(0x3a0)]('','',_0x26381d[_0x75f44f(0x1c0)]());}[_0x326f66(0x1ec)](_0x49a6cb,_0xbe24b1=!0x1){const _0x1bc279=_0x326f66,_0x3b26ce=new URL(window[_0x1bc279(0x40d)][_0x1bc279(0x376)]);_0x3b26ce[_0x1bc279(0x3dd)][_0x1bc279(0x420)](_0x49a6cb),_0xbe24b1?window['history'][_0x1bc279(0x27c)]('','',_0x3b26ce[_0x1bc279(0x1c0)]()):window[_0x1bc279(0x364)]['pushState']('','',_0x3b26ce[_0x1bc279(0x1c0)]());}[_0x326f66(0x2e5)](_0xd4e146){const _0x319ae4=_0x326f66;var _0x4bb8c5;return(_0x4bb8c5=new URL(window[_0x319ae4(0x40d)][_0x319ae4(0x376)])[_0x319ae4(0x3dd)][_0x319ae4(0x435)](_0xd4e146))!=null?_0x4bb8c5:void 0x0;}}var _0xa63685=Object[_0x326f66(0x19c)],_0x11fde8=Object[_0x326f66(0x294)],_0x48fc65=(_0x5143aa,_0x4b8b4f,_0xe6efc5)=>_0x4b8b4f in _0x5143aa?_0xa63685(_0x5143aa,_0x4b8b4f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xe6efc5}):_0x5143aa[_0x4b8b4f]=_0xe6efc5,_0xbfc658=(_0xba46c9,_0x5369be,_0x212b6b,_0x30c6a0)=>{const _0x140fb8=_0x326f66;for(var _0x4d3b9e=_0x30c6a0>0x1?void 0x0:_0x30c6a0?_0x11fde8(_0x5369be,_0x212b6b):_0x5369be,_0x8a01cf=_0xba46c9[_0x140fb8(0x41e)]-0x1,_0x16f0a6;_0x8a01cf>=0x0;_0x8a01cf--)(_0x16f0a6=_0xba46c9[_0x8a01cf])&&(_0x4d3b9e=_0x16f0a6(_0x4d3b9e)||_0x4d3b9e);return _0x4d3b9e;},_0x131ab0=(_0x5cbc7f,_0x243c54)=>(_0x41f6d6,_0x757b85)=>_0x243c54(_0x41f6d6,_0x757b85,_0x5cbc7f),_0x1ed22a=(_0x38f7ca,_0x59ea7f,_0xf3ba57)=>_0x48fc65(_0x38f7ca,_0x59ea7f+'',_0xf3ba57);const _0x8f9d93='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x3f1a0c[_0x326f66(0x1d9)]=class extends _0x43d412[_0x326f66(0x2e7)]{constructor(_0x13bb7c=_0x26d491,_0xce2dbb,_0x3bdcf0,_0x3f5d94){const _0x48da45=_0x326f66;super(),this[_0x48da45(0x3ab)]=_0x13bb7c,this[_0x48da45(0x3a8)]=_0xce2dbb,this[_0x48da45(0x1d5)]=_0x3bdcf0,this['_configService']=_0x3f5d94;const {..._0x2cbee0}=_0x43d412[_0x48da45(0x38b)]({},_0x26d491,this[_0x48da45(0x3ab)]);this[_0x48da45(0x383)][_0x48da45(0x2e1)](_0x190675,_0x2cbee0);}[_0x326f66(0x203)](){const _0x49a407=_0x326f66;this[_0x49a407(0x37a)](),this[_0x49a407(0x270)]();}[_0x326f66(0x3da)](){const _0x28aacb=_0x326f66;this[_0x28aacb(0x1c4)]();}['_registerDependencies'](){const _0x28263e=_0x326f66;var _0x1c493d;const _0x100907=[[_0xe0d8fb],[_0x409d8b],[_0xcada2b],[_0x486dfe],[_0x5ce3b4],[_0x557965],[_0x25a17d,{'useClass':_0x5cba98}],[_0x5bb6d0[_0x28263e(0x3e4)],{'useClass':_0x5bb6d0['WebSocketService']}],[_0x322f7a['ILocalCacheService'],{'useClass':_0x5ea543}],[_0x3f1a0c['DesktopCollaborationStatusDisplayController']],[_0x55f5b8],[_0x19e657],[_0x30ef43],[_0x45f5c1],[_0x3f1a0c[_0x28263e(0x1ea)]]];this[_0x28263e(0x3ab)][_0x28263e(0x18d)]&&_0x100907['push']([_0xafd165]),_0x43d412[_0x28263e(0x434)](this[_0x28263e(0x1d5)],_0x43d412[_0x28263e(0x3e6)](_0x100907,(_0x1c493d=this[_0x28263e(0x3ab)])==null?void 0x0:_0x1c493d[_0x28263e(0x301)]));}[_0x326f66(0x1c4)](){const _0x6a8fa5=_0x326f66;this[_0x6a8fa5(0x3f4)](this[_0x6a8fa5(0x3a8)][_0x6a8fa5(0x3d4)](_0x43d412['UniverInstanceType'][_0x6a8fa5(0x3f8)],[_0x53898c])),this['disposeWithMe'](this[_0x6a8fa5(0x3a8)][_0x6a8fa5(0x3d4)](_0x43d412[_0x6a8fa5(0x1d4)][_0x6a8fa5(0x3bc)],[_0x29b976]));}[_0x326f66(0x270)](){const _0x2a4298=_0x326f66;_0x43d412[_0x2a4298(0x442)](this['_injector'],[[_0x30ef43],[_0x3f1a0c['DesktopCollaborationStatusDisplayController']],[_0x55f5b8],[_0x19e657],[_0x3f1a0c[_0x2a4298(0x1ea)]],[_0x409d8b]]),this[_0x2a4298(0x3ab)][_0x2a4298(0x18d)]&&_0x43d412[_0x2a4298(0x442)](this[_0x2a4298(0x1d5)],[[_0xafd165]]);}},_0x1ed22a(_0x3f1a0c[_0x326f66(0x1d9)],_0x326f66(0x1d7),_0x8f9d93),_0x3f1a0c['UniverCollaborationClientUIPlugin']=_0xbfc658([_0x43d412[_0x326f66(0x41f)](_0x322f7a[_0x326f66(0x2aa)]),_0x131ab0(0x1,_0x317937[_0x326f66(0x2ac)]),_0x131ab0(0x2,_0x43d412[_0x326f66(0x184)](_0x43d412[_0x326f66(0x403)])),_0x131ab0(0x3,_0x43d412[_0x326f66(0x358)])],_0x3f1a0c[_0x326f66(0x1d9)]);var _0x34f796=Object['getOwnPropertyDescriptor'],_0xef91b4=(_0x119b49,_0x4022fb,_0xb14c11,_0x4f357f)=>{for(var _0x33a895=_0x4f357f>0x1?void 0x0:_0x4f357f?_0x34f796(_0x4022fb,_0xb14c11):_0x4022fb,_0x2d1ca9=_0x119b49['length']-0x1,_0xdcd7fe;_0x2d1ca9>=0x0;_0x2d1ca9--)(_0xdcd7fe=_0x119b49[_0x2d1ca9])&&(_0x33a895=_0xdcd7fe(_0x33a895)||_0x33a895);return _0x33a895;},_0x269cb8=(_0x5b134b,_0x48593c)=>(_0x49bafb,_0xf3db76)=>_0x48593c(_0x49bafb,_0xf3db76,_0x5b134b);_0x3f1a0c[_0x326f66(0x317)]=class extends _0x322f7a[_0x326f66(0x1cd)]{constructor(_0x1651d8,_0x380110,_0x41ead0,_0x22bd91,_0x4c94cd){super(_0x1651d8,_0x380110,_0x41ead0,_0x22bd91,_0x4c94cd);}async[_0x326f66(0x169)](_0x4f9f56){const _0x1e8da3=_0x326f66,_0x1d7704=await this[_0x1e8da3(0x40a)](),_0x48160c=this['_createSocketURL'](_0x4f9f56,_0x1d7704);return this[_0x1e8da3(0x340)](_0x48160c);}[_0x326f66(0x1a5)](_0x5cf8c0,_0x8f8b2e){const _0x2ee8fa=_0x326f66,_0x2b328e=typeof window>'u'?new URL(_0x5cf8c0):new URL(_0x5cf8c0,window[_0x2ee8fa(0x40d)][_0x2ee8fa(0x2c3)]);_0x2b328e[_0x2ee8fa(0x3dd)]['set'](_0x2ee8fa(0x1c1),_0x8f8b2e);const _0x431951=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2ee8fa(0x40d)][_0x2ee8fa(0x304)]);return _0x431951[_0x2ee8fa(0x435)](_0x2ee8fa(0x192))&&_0x2b328e['searchParams']['set'](_0x2ee8fa(0x192),_0x431951[_0x2ee8fa(0x435)]('runId')),_0x2b328e[_0x2ee8fa(0x1c0)]();}async[_0x326f66(0x40a)](){const _0x513449=_0x326f66;var _0x552352,_0x33fcf2,_0x160bf2;const _0x10048b=this[_0x513449(0x383)][_0x513449(0x1f0)](_0x322f7a[_0x513449(0x31f)]),_0x3051a5=(_0x552352=_0x10048b==null?void 0x0:_0x10048b['wsSessionTicketUrl'])!=null?_0x552352:_0x322f7a['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x160bf2=(_0x33fcf2=(await this[_0x513449(0x16b)][_0x513449(0x435)](_0x3051a5,{'headers':{'Content-Type':_0x513449(0x3d5)}}))[_0x513449(0x313)])==null?void 0x0:_0x33fcf2['ticket'])!=null?_0x160bf2:'';}},_0x3f1a0c['BrowserCollaborationSocketService']=_0xef91b4([_0x269cb8(0x0,_0x43d412[_0x326f66(0x184)](_0x43d412[_0x326f66(0x403)])),_0x269cb8(0x1,_0x43d412[_0x326f66(0x184)](_0x5bb6d0['HTTPService'])),_0x269cb8(0x2,_0x43d412['IConfigService']),_0x269cb8(0x3,_0x43d412[_0x326f66(0x25c)]),_0x269cb8(0x4,_0x399202[_0x326f66(0x1aa)])],_0x3f1a0c[_0x326f66(0x317)]);var _0x41ed82=Object[_0x326f66(0x294)],_0x5d85c5=(_0x2c4509,_0x2d3a5e,_0x154668,_0x217eb3)=>{const _0x5643a0=_0x326f66;for(var _0x5bac3f=_0x217eb3>0x1?void 0x0:_0x217eb3?_0x41ed82(_0x2d3a5e,_0x154668):_0x2d3a5e,_0x4ea911=_0x2c4509[_0x5643a0(0x41e)]-0x1,_0x37e687;_0x4ea911>=0x0;_0x4ea911--)(_0x37e687=_0x2c4509[_0x4ea911])&&(_0x5bac3f=_0x37e687(_0x5bac3f)||_0x5bac3f);return _0x5bac3f;},_0x1b4cd2=(_0x447a35,_0x241861)=>(_0x41b99e,_0x3a4304)=>_0x241861(_0x41b99e,_0x3a4304,_0x447a35);_0x3f1a0c[_0x326f66(0x3b5)]=class extends _0x43d412[_0x326f66(0x1e0)]{constructor(_0x9527d9,_0x8cbc69,_0x3bf9be){const _0x2628bd=_0x326f66;super(),this[_0x2628bd(0x3eb)]=_0x9527d9,this[_0x2628bd(0x16b)]=_0x8cbc69,this[_0x2628bd(0x383)]=_0x3bf9be;}async[_0x326f66(0x3b9)](_0x404c29,_0x322693,_0x17324a,..._0x5b5d21){const _0x53dfe0=_0x326f66;var _0x4293b8,_0x494f43,_0x516e7f,_0x53ae73;const _0x242f8c=this['_instanceService'][_0x53dfe0(0x1f9)]();if(!_0x242f8c)throw new Error(_0x53dfe0(0x1ac));const _0x446638=((_0x4293b8=this[_0x53dfe0(0x383)][_0x53dfe0(0x1f0)](_0x322f7a['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x4293b8:_0x322f7a['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x404c29+_0x53dfe0(0x242)+_0x322693,_0x140195=new URL(window[_0x53dfe0(0x40d)][_0x53dfe0(0x376)]),_0x217a40={'scriptId':_0x404c29,'runId':(_0x494f43=_0x140195['searchParams'][_0x53dfe0(0x435)](_0x53dfe0(0x192)))!=null?_0x494f43:'','function':_0x322693,'unitId':_0x242f8c[_0x53dfe0(0x409)](),'argsOfFunction':JSON['stringify'](_0x5b5d21),'invokeId':(_0x516e7f=_0x17324a[_0x53dfe0(0x274)])!=null?_0x516e7f:'','executionId':(_0x53ae73=_0x17324a[_0x53dfe0(0x326)])!=null?_0x53ae73:''};try{const _0x24c388=await this[_0x53dfe0(0x16b)][_0x53dfe0(0x16a)](_0x446638,{'body':_0x217a40});return _0x24c388[_0x53dfe0(0x313)][_0x53dfe0(0x3a5)]&&_0x24c388[_0x53dfe0(0x313)][_0x53dfe0(0x3a5)][_0x53dfe0(0x439)]!==_0xbce51a['OK']?_0x53dfe0(0x2d9):_0x24c388[_0x53dfe0(0x313)]['result'];}catch{return'Failed';}}},_0x3f1a0c[_0x326f66(0x3b5)]=_0x5d85c5([_0x1b4cd2(0x0,_0x43d412['IUniverInstanceService']),_0x1b4cd2(0x1,_0x43d412[_0x326f66(0x184)](_0x5bb6d0[_0x326f66(0x237)])),_0x1b4cd2(0x2,_0x43d412[_0x326f66(0x358)])],_0x3f1a0c[_0x326f66(0x3b5)]);const _0x53ec5c=0x7530,_0x1100c6=_0x326f66(0x300);class _0x2a46f9 extends _0x43d412[_0x326f66(0x1e0)]{constructor(){const _0x45631a=_0x326f66;super(),_0xe37f1(this,_0x45631a(0x3fd),_0x43d412[_0x45631a(0x332)]()),_0xe37f1(this,'_selfUnitIDs',new Set()),_0xe37f1(this,_0x45631a(0x377),new Map()),_0xe37f1(this,_0x45631a(0x2e9),null),_0xe37f1(this,_0x45631a(0x302),new Map()),_0xe37f1(this,_0x45631a(0x3e9),new Map()),this['_init']();}[_0x326f66(0x394)](){const _0x1c077e=_0x326f66;super[_0x1c077e(0x394)](),this[_0x1c077e(0x302)][_0x1c077e(0x318)]((_0x1ec5f3,_0x5a3391)=>this[_0x1c077e(0x244)](_0x5a3391)),this[_0x1c077e(0x2e9)]&&window[_0x1c077e(0x30b)](this['_heartbeatTimer']);}[_0x326f66(0x2c7)](_0x5347a2){const _0x45b257=_0x326f66;return this[_0x45b257(0x2d3)](_0x5347a2)[_0x45b257(0x276)](_0x7c0c7e[_0x45b257(0x2e6)]());}[_0x326f66(0x355)](_0x53c161){const _0xa9c9ea=_0x326f66;this[_0xa9c9ea(0x36e)][_0xa9c9ea(0x264)]===0x0&&this[_0xa9c9ea(0x415)](),this['_selfUnitIDs'][_0xa9c9ea(0x20f)](_0x53c161),this['_send']({'type':0x0,'memberID':this[_0xa9c9ea(0x3fd)],'unitIDs':[_0x53c161],'isForwarded':!0x1});}[_0x326f66(0x259)](_0x15f40d){const _0x5efcce=_0x326f66;this[_0x5efcce(0x36e)]['delete'](_0x15f40d),this['_selfUnitIDs']['size']===0x0&&this[_0x5efcce(0x2e9)]&&window[_0x5efcce(0x30b)](this[_0x5efcce(0x2e9)]);}[_0x326f66(0x440)](){const _0x98a7ca=_0x326f66;this['disposeWithMe'](_0x43d412[_0x98a7ca(0x3c0)](_0x7c0c7e[_0x98a7ca(0x44a)](window,_0x98a7ca(0x179))[_0x98a7ca(0x257)](_0x401598=>{const _0x2e4a8f=_0x98a7ca;if(_0x401598[_0x2e4a8f(0x43f)]!==_0x1100c6||!_0x401598['newValue'])return;const _0x5c56a2=JSON[_0x2e4a8f(0x16d)](_0x401598[_0x2e4a8f(0x1a4)]);this[_0x2e4a8f(0x1b6)](_0x5c56a2);}))),window[_0x98a7ca(0x359)](_0x98a7ca(0x1a9),()=>this[_0x98a7ca(0x15e)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x98a7ca(0x27f)](this['_selfUnitIDs'])}));}[_0x326f66(0x1b6)](_0x379930){const _0x3af43d=_0x326f66;switch(_0x379930[_0x3af43d(0x1e4)]){case 0x0:this[_0x3af43d(0x404)](_0x379930);break;case 0x1:this[_0x3af43d(0x1fe)](_0x379930);break;case 0x2:this[_0x3af43d(0x3f5)](_0x379930);break;}}[_0x326f66(0x404)](_0xafa655){const _0x4c23ec=_0x326f66,{unitIDs:_0x3cb728,memberID:_0x1118f9,isForwarded:_0x40a61e}=_0xafa655;_0x3cb728[_0x4c23ec(0x318)](_0x50d3d0=>{const _0x4c64cb=_0x4c23ec;if(!_0x40a61e&&this['_unitOnClients'][_0x4c64cb(0x2f5)](_0x50d3d0)&&this[_0x4c64cb(0x2d3)](_0x50d3d0)['next'](_0x322f7a[_0x4c64cb(0x3b6)][_0x4c64cb(0x27e)]),!this[_0x4c64cb(0x377)][_0x4c64cb(0x2f5)](_0x50d3d0)||!this['_unitOnClients'][_0x4c64cb(0x435)](_0x50d3d0)[_0x4c64cb(0x2f5)](_0x1118f9)){const _0x4a8692=this[_0x4c64cb(0x377)][_0x4c64cb(0x435)](_0x50d3d0)||new Set();_0x4a8692['add'](_0x1118f9),this[_0x4c64cb(0x377)][_0x4c64cb(0x1f7)](_0x50d3d0,_0x4a8692),this[_0x4c64cb(0x29b)](_0x1118f9);}}),_0x40a61e||this[_0x4c23ec(0x15e)]({'type':0x0,'memberID':this[_0x4c23ec(0x3fd)],'unitIDs':[...this[_0x4c23ec(0x36e)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x9474ab){const _0x4cfed1=_0x326f66;this[_0x4cfed1(0x244)](_0x9474ab);const _0x30d89a=window['setTimeout'](()=>{const _0xe2deab=_0x4cfed1;this[_0xe2deab(0x377)][_0xe2deab(0x318)](_0x1c776f=>{const _0x1452ad=_0xe2deab;_0x1c776f[_0x1452ad(0x420)](_0x9474ab);});},_0x53ec5c*0x2);this['_clearOtherTimers'][_0x4cfed1(0x1f7)](_0x9474ab,_0x30d89a);}[_0x326f66(0x244)](_0x1e909b){const _0x1a78e3=_0x326f66;if(this['_clearOtherTimers'][_0x1a78e3(0x2f5)](_0x1e909b)){const _0xe649f2=this[_0x1a78e3(0x302)][_0x1a78e3(0x435)](_0x1e909b);_0xe649f2&&window[_0x1a78e3(0x381)](_0xe649f2),this['_clearOtherTimers'][_0x1a78e3(0x1f7)](_0x1e909b,null);}}[_0x326f66(0x1fe)](_0x2cb1fa){const _0x5c3aab=_0x326f66,{memberID:_0x336a80,unitIDs:_0x4bbff8}=_0x2cb1fa;_0x4bbff8[_0x5c3aab(0x318)](_0x21dcbe=>{const _0x4ea2bd=_0x5c3aab;var _0xb52cc4;const _0x43662d=this['_unitOnClients'][_0x4ea2bd(0x435)](_0x21dcbe);_0x43662d&&(_0x43662d[_0x4ea2bd(0x420)](_0x336a80),(_0xb52cc4=this[_0x4ea2bd(0x2d3)](_0x21dcbe))==null||_0xb52cc4[_0x4ea2bd(0x29d)](_0x43662d[_0x4ea2bd(0x264)]===0x0?_0x322f7a[_0x4ea2bd(0x3b6)][_0x4ea2bd(0x188)]:_0x322f7a['UnitStatus'][_0x4ea2bd(0x27e)]));}),this[_0x5c3aab(0x244)](_0x336a80);}[_0x326f66(0x3f5)](_0x4eb8e1){const _0x106bdb=_0x326f66;this[_0x106bdb(0x29b)](_0x4eb8e1[_0x106bdb(0x22c)]);}[_0x326f66(0x15e)](_0x323be0){const _0x279b33=_0x326f66;localStorage['setItem'](_0x1100c6,JSON[_0x279b33(0x15f)](_0x323be0));}[_0x326f66(0x415)](){const _0x49c606=_0x326f66;this[_0x49c606(0x2e9)]=window['setInterval'](()=>{const _0xd259e6=_0x49c606;this[_0xd259e6(0x15e)]({'type':0x2,'memberID':this[_0xd259e6(0x3fd)]});},_0x53ec5c);}[_0x326f66(0x2d3)](_0x267cbc){const _0x220e0b=_0x326f66;return this[_0x220e0b(0x3e9)]['has'](_0x267cbc)||this['_unitStatus'][_0x220e0b(0x1f7)](_0x267cbc,new _0x7c0c7e[(_0x220e0b(0x225))](_0x322f7a['UnitStatus'][_0x220e0b(0x188)])),this[_0x220e0b(0x3e9)][_0x220e0b(0x435)](_0x267cbc);}}_0x3f1a0c['IURLService']=_0x25a17d,_0x3f1a0c[_0x326f66(0x307)]=_0x21a13a,_0x3f1a0c['WebBrowserSingleActiveUnitService']=_0x2a46f9,_0x3f1a0c[_0x326f66(0x167)]=_0x5cba98,Object[_0x326f66(0x19c)](_0x3f1a0c,Symbol['toStringTag'],{'value':_0x326f66(0x389)});}));
|
|
1
|
+
function _0x2057(){const _0x92711d=['search','_handleLeaveEvent','REDEMPTION_USER_NOT_ELIGIBLE','newValue','@univerjs-pro/collaboration-client','OTHER_CLIENTS_EDITING','beginPath','send','getParam','getColorFromTheme','_beforeCloseService','_hover','UNIVER_DOC','ENTITLE_COUPON_USED_UP','SYNCED','onLocalMutation','SetFormulaCalculationStartMutation','_collaborationSessionService','CONFLICT','onPointerMove$','collab-text-anchor-','width','_collaborationUIEventService','getActiveRange','_getFormulaLimitStatus','_updateSubUnitFromURLParams','YUUMI_TABLE_NOT_FOUND_IN_UNIT','REDEMPTION_CODE_FULLY_REDEEMED','DeleteRangeMoveUpCommandId','_send','row','generateRandomId','setTimeout','_clearPolling','removeEventListener','_lastPointer','svg','OnLineIcon','green.600','TOO_MANY_REQUESTS','926233jLLGLi','/universer-api/license/formula/limit/done','#FFF','unitID','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','wsSessionTicketUrl','name','Optional','OffLineIcon','_logService','REDEMPTION_INVALID_CODE','touchDependencies','_scheduleHeartbeat','code','subscribeEvent','collaboration.closeRoom','_session','isTransformMutationsWithChangesetSuccess','_hideTimer','clsx','RemoveRowCommandId','SheetsSelectionsService','values','tag','Subject','color','getCellPositionByOffset','throttleTime','disableLocalCache','max','MOBILE_VERIFY_CODE_MISMATCH','Plugin','Warning','UniverDocsUi','handleDeleteRangeMoveLeft','BrowserCollaborationSocketService','_selfUnitIDs','operators','_render','RegularPolygon','_eventUnsubscribe','get','ISnapshotServerService','handleInsertRangeMoveDown','UnitStatus','React','_name','from','getStateCache','object','enableLocalCache','/universer-api/license/formula/limit/status','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_onCursorUpdate','makeDirty','stage','m1Prime','pipe','popstate','_startDocCollabCursor','onRendered','react/jsx-runtime','univerjs-icon\x20univerjs-icon-','33pfLhId','_imageIoService','_hasFormulaInDirtyRanges','_entityInit$','useRef','APPLY_REJECT','disposeWithMe','getActiveSheet','defineProperty','FETCH_MISS','unitId','_initStatusComponent','getMemberID','Loading','_labelPosition','onCommandExecuted','requireSession','round','REDEMPTION_USER_REDEEM_TIMES_EXCEED','@univerjs/rpc','addHandlerCallback','PY_RUNTIME_SCRIPT_ERROR','startColumn','addEventListener','set','CollaborationUIEventService','clearInterval','skeleton','_docSyncEditingCollabCursorService','getRelativeToViewportCoord','cursorInfo$','REDEMPTION_CODE_INACTIVE','_maxFormulaLimit','text','disposeUnit','storage','div','getCurrentUnitForType','UniverEngineRender','reason','SetDocZoomRatioOperation','_univerInstanceService','CollaborationStatus','useDependency','REDEMPTION_CODE_NOT_STARTED','enableFrontendLog','ENTITLE_NEED_BILLING_ADDRESS','collabStatus.offline','RxDisposable','_status$','endColumn','getCurrentRevOfUnit','_transformService','url(#off-line-icon_clip0_910_343)','setItem','application/json','209538WOEMzh','path','HTTPService','_messageService','_initEvent','_transformHistoryAndStateStack','@univerjs/network','SetFormulaCalculationNotificationMutation','delete','@univerjs/docs','_showGuardMessage','triggerDblclick','0\x200\x2016\x2016','getRenderById','doc.mutation.rich-text-editing','EffectRefRangId','_uiPartsService','_removeCollabCursors','getOwnPropertyDescriptor','_toggleOffline','_sheetSkeletonManagerService','collabCursorState$','EMAIL_HAS_BEEN_BOUND','message','UniverUi','DataLoaderService','origin','ILogService','INVITE_CODE_ALREADY_BOUND','entityInit$','getTypeOfUnitAdded$','permission.content','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','addObjects','SetWorksheetActivateCommand','setStateCache','eventID','getRangePointData','debug','ONLINE','formula.calculation.started','_disabled','unit','length','_getScale','_getMergeRange','_localeService','_revisionService','permission.title','top','_draw','_collabCursorController','_releaseCalculationLimit','defIds','addObject','dispose','mask','isEditing','formula.calculation.unable','DisposableCollection','_docTransformIMECacheService','_color','YUUMI_AI_RUN_FAILED','UniverCollaborationClientUIPlugin','maxFormulaLimit','ThemeService','font','dispose$','Unknown\x20user','setAlpha','Error','_checkAndWaitForCalculationPermission','_init','then','getSheetObject','Rect','beforeCommandExecuted','redoState','href','collaboration.offline-data-not-saved','entries','parseInt','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','string','@univerjs/sheets-ui','CONNECTOR_DATA_TOO_LARGE','_onCursorDelete','_updateLocalCursor','_collaborationController','DocStateChangeManagerService','replaceState','DocSkeletonManagerService','@univerjs/design','MessageType','APPLY_REVISION_CONFILICT','PERMISSION_DENIED','USERS_LEAVE','_initResize','isArray','endRow','ENTITLE_CHAT_LIMIT_EXCEED','onMouseMove','\x20at\x20','currentUsage','closePath','_cursorInfo$','switchMap','235246ypOSYW','_setFormulaLimitStatus','getUniverSheetInstance','SessionStatus','YUUMI_ASYNCIO_CANCELLED','getItem','setActiveRange','SheetCollabCursorShape','Shape','_docSkeletonManagerService','fromEvent','YUUMI_CONNECTOR_URL_NOT_FOUND','uni.network.url-service','off-line-icon_clip0_910_343','react','ILocalStorageService','/universer-api/frontend/logs','_updateURLWithCurrentState','UPDATE_CURSOR','_collabCursorState$','_entities','colorChannel1','@univerjs/engine-render','white','_anchor','CollaborationUIEventId','...','DependentOn','_collabSessionService','[CollaborationDataLoaderController]','ENTITLE_DUP_SUBSCRIPTION','_unitStatus','replace','YUUMI_RATE_OVER_LIMIT','symbol','_syncEditingCollabCursorService','INTERNAL_ERROR','yellow.400','_scene','fillStyle','replaceDocRanges','getViewport','INVALID_ARGUMENT','UniverProCollaboration','forEach','_heartbeatTimer','ENTITLE_COUPON_EXPIRED','_docStateChangeManagerService','currentColor','_id','cursorInfo','_removeClearOtherTimer','_roomMembers$','SOCKET_FAILED_RETRY','LOGIN_FAILED','post','addClipboardHook','registerRefRange','_cursors','collab-text-range-','FromArray','data','@univerjs/engine-formula','registerDependencies','JOIN_ROOM_FAILED','attrs','UniverDrawing','IURLService','pushState','executeCommand','textRanges','restore','Module','14078710sONsjy','MOBILE_HAS_BEEN_BOUND','_getSessionTicket','getLocalCacheKey','_docTransformSelectionsService','stack','with','getFormulaLimitStatusUrl','createElement','_anchorDot','_online','M0\x200H16V16H0z','ILocalCacheService','CLOSE_ROOM','WebBrowserSingleActiveUnitService','toDisposable','subUnitId','collaboration.single-unit.warning','Vector2','_themeService','getMember','clearTimeout','collabStatus.conflict','Tools','_applyCommand','univer-mr-2\x20univer-flex\x20univer-text-xl','jsx','complete','setParam','sessionTicket','AUTHORIZE_CODE_ILLEGAL','_startCalculationLimit','_clearOtherTimers','whenReady','handleMoveRange','params','rxjs','DOC_RANGE_TYPE','setInterval','trim','DesktopCollaborationStatusDisplayController','history','getAncestorScale','_getAnchorBounding','collabStatus.synced','startsWith','INVITE_CODE_HAS_BEEN_UES','ENTITLE_INVALID_COUPON_CODE','_startSheetCollabCursor','currentSkeleton$','CollaborationSocketService','transform','UniverProCollaborationClient','reconnect','_createSocketURL','setConfig','amd','ALREADY_EXISTS','arc','show','defs','stageInfo','Workbook','debounceTime','NOT_COLLAB','exports','_uploadLog','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_drawTextRange','MemberService','url(#on-line-icon_clip0_910_349)','_docSkeleton','ICommandService','BehaviorSubject','VIEW_MAIN','getUndoRedoMutationParamsCache','flatMap','_range','transformIMECache','getCurrent','getUnitId','DocSelectionManagerService','deepClone','removeParam','some','size','_initWindowErrorListener','_scheduleSaving','YUUMI_ALL_TABLES_IS_INVALID','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','fillText','isFormulaId','LOGIN_TOKEN_PROCESSING_FAILED','getSheetId','DEFAULT_WS_SESSION_TICKET_URL','hide','RefRangeService','findNodePositionByCharIndex','asObservable','createSocket','actions','setUndoRedoMutationParamsCache','SNAPSHOT_HAS_BEEN_REMOVED','onPointerLeave$','useCallback','_memberService','subscribe','DATA_SOURCE_TOO_LARGE','AWAITING','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','subunit','toRgbString','contains','UniverSheets','_setupSubUnitSync','_initUnhandledRejectionListener','UniverCollaborationClientPlugin','functionsExecutedState','body','bottom','_handleEvent','_refreshCollabCursors','_cachedData','status$','runOnServer','ENTITLE_CAN_NOT_BUY_LOWER_OTP','Disposable','BuiltInUIPart','REDEMPTION_CODE_HAS_BEEN_CREATED','USER_IS_ANONYMOUS','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','setShapeProps','onPointerEnter$','SOCKET_FAILED','ERROR_AGAIN','isActive','MoveRangeCommandId','isFormulaString','_checkCalculationAvailable','_colorIndex','handleIRemoveCol','collab-rect-range-','_unitOnClients','InsertRangeMoveDownCommandId','_initStatusListener','@univerjs/sheets','_instanceService','drawWith','saveTaskMap','function','unsubscribe','_httpService','error','getCollabCursors$','isTransformMutationFailure','purple.300','SetSelectionsOperation','split','LOCAL_CACHE_INTERVAL_KEY','SNAPSHOT_INVALID_SNAPSHOT','collabStatus.notCollab','runId','session.collaboration-timeout','stringify','url(#$1','_backgroundColor','ENTITLE_USE_COUPON_NOT_1ST_TRADE','EMAIL_VERIFY_CODE_MISMATCH','getFocusedUnit','_initUserListener','pluginName','resize','CollaborationEvent','@univerjs/docs-ui','collab-client.tooltip.reconnect','save','2372668zQyJoK','_configService','getTypeOfUnitDisposed$','8112865SXVThW','mergeOverrideWithDependencies','RemoveColCommandId','RECT','measureText','now','lineTo','_docClipboardService','_updateCollabCursors','getUnitStatus$','IMessageService','InsertColCommandId','_setupBeforeClosingHandler','ticket','_localCacheService','_initCommandInterceptor','TEXT_RANGE_LAYER_INDEX','ColorKit','InsertRowCommandId','engine','transformStateCache','min','TEXT','_memberID','_drawRectRange','xlink:href','event$','YUUMI_URL_COL_OUT_OF_RANGE','WECHAT_HAS_BEEN_BOUND','ACTIVE_UNIT_EVENT_CHANNEL','[RemoteUniscriptService]:\x20no\x20focused\x20unit','formula.calculation.waiting','getSkeleton','merge','shift','_saveTaskMap','shareReplay','includes','LICENSE_MAX_UNITS_EXCEEDED','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','_monkeyPatchLogService','NodePositionConvertToRectRange','fill','UniverInstanceType','getSheetBySheetId','sheetId','socket$','mutations','m2Prime','none','_drawAnchor','8JlOszX','executionId','unshift','@univerjs/drawing','colno','_initCommandExecutedListener','_initEntityListener','_saveCache','INVITE_CODE_REQUIRED','_registerRenderDependencies','use','sessionStatus$','SetTextSelectionsOperation','push','collabStatus.fetchMiss','getDocRanges','sheetID','_toggleOnline','FormulaExecutedStateType','_dataLoaderService','_currentUsage','init','_textBubble','COLORS','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','Injector','height','_lastResponseTimestamp','handleIRemoveRow','result','LocaleService','YUUMI_NO_CUBOID_FOR_QUESTION','IImageIoService','_ensureSubject','_injector','collaboration-client-ui.config','_transformUndoRedoStack','getConfig','_assignedColors','range','RichTextEditingMutation','RemoteUniscriptService','getCoordByCell','CHANGESET_REVISION_CONFILICT','random','current','CollaborationDataLoaderController','Failed','IRenderManagerService','displayName','LICENSE_DISTRO_REJECTED','transformRemoteChangeset','UniverEngineFormula','APPLY_DUPLICATED','toString','/run/','UNRECOGNIZED','black','_colorAssignService','saveOfflineData','currentTheme$','idSuffix','CURRENT_STATUS_CANNOT_OPERATE','UNIVER_SHEET','_handleHeartbeatEvent','limitInfo','type','_cursorShapes','_hovered','assignAColorForMemberID','HEADER_MENU','/universer-api/license/formula/limit/start','APPLY_NON_SEQUENTIAL_REVISION','_doCreateSocket','[Window\x20Error]:\x20','_context','IBeforeCloseService','[Unhandled\x20Rejection]:\x20','_notificationService','CollaborationSessionService','_config','backgroundColor','YUUMI_SUBSCRIPTION_NOT_FOUND','join','startRow','registerComponent','substring','roomMembers','updateOfflineData','SUBMIT_CHANGESET_TIMEOUT','DocIMEInputManagerService','_pollingInterval','selection','UNAUTHENTICATED','has','ITransformService','UNDEFINED','selections','http://www.w3.org/2000/svg','NOT_FOUND','UniverCore','_localStorageService','takeUntil','assign','APPLY_PERMISSION_DENIED','handleInsertRow','_handleJoinEvent','location','CommandType','labelPosition','fromEventSubject','_commandService','USER_NOT_FOUND','evenodd','session.will-retry','_docTransformStateCacheService','loadOfflineData','getValue','_initDependencies','searchParams','DocCollaborationEntity','SHEET_VIEWPORT_KEY','LICENSE_EXPORT_SIZE_EXCEEDED','_urlService','exhaustSavingTask','filename','getMergeData','_shapes','AWAITING_WITH_PENDING','_scheduleClearOtherTimer','getColor','rgba(255,\x20255,\x20255,\x200.01)','1em','urlChange$','combineLatest','LICENSE_IMPORT_SIZE_EXCEEDED','_handleHover','debounce','_onRefRangeChange','_taskIds','transformMutation','IUniverInstanceService','Success','forwardRef','filter','INVALID_INVITE_CODE','OFFLINE','_registerDependencies','_transformPreviousActiveRange','INotificationService','Inject','find','handleInsertRangeMoveRight','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','12596697DLNThy','_document','bind','map','onStarting','children','unhandledrejection','MUTATION','saveImage','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','activeSheet$','add','@univerjs/core','transformMutationsWithChangeset','next','memberID','connectInjector','column','session.connection-failed','blue.400','transformSelections','onTransformChange$','217KpRTqj','ranges','NO_OTHER_CLIENTS_EDITING','registerRenderModule','IConfigService','_renderManagerService','dirtyRanges','_refRangeService','YUUMI_UNABLE_LOAD_URL'];_0x2057=function(){return _0x92711d;};return _0x2057();}function _0x1ca4(_0x537cf0,_0x5daa7f){_0x537cf0=_0x537cf0-0x158;const _0x20578f=_0x2057();let _0x1ca479=_0x20578f[_0x537cf0];return _0x1ca479;}(function(_0x1ef8b2,_0x2322c0){const _0x28d088=_0x1ca4,_0x5b9934=_0x1ef8b2();while(!![]){try{const _0x29917d=-parseInt(_0x28d088(0x328))/0x1+-parseInt(_0x28d088(0x40a))/0x2*(-parseInt(_0x28d088(0x367))/0x3)+parseInt(_0x28d088(0x211))/0x4+parseInt(_0x28d088(0x214))/0x5+-parseInt(_0x28d088(0x39f))/0x6*(-parseInt(_0x28d088(0x2f7))/0x7)+-parseInt(_0x28d088(0x247))/0x8*(parseInt(_0x28d088(0x2e1))/0x9)+-parseInt(_0x28d088(0x161))/0xa;if(_0x29917d===_0x2322c0)break;else _0x5b9934['push'](_0x5b9934['shift']());}catch(_0x165b45){_0x5b9934['push'](_0x5b9934['shift']());}}}(_0x2057,0xd1965),function(_0x5e5e7e,_0x5b51b9){const _0x4d9f21=_0x1ca4;typeof exports==_0x4d9f21(0x359)&&typeof module<'u'?_0x5b51b9(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==_0x4d9f21(0x1f6)&&define[_0x4d9f21(0x199)]?define([_0x4d9f21(0x1a2),_0x4d9f21(0x365),_0x4d9f21(0x304),_0x4d9f21(0x2ed),'@univerjs/ui','rxjs',_0x4d9f21(0x3fb),_0x4d9f21(0x418),_0x4d9f21(0x37a),_0x4d9f21(0x1f2),_0x4d9f21(0x420),_0x4d9f21(0x3a5),_0x4d9f21(0x20e),_0x4d9f21(0x24a),'@univerjs-pro/collaboration',_0x4d9f21(0x3a8),_0x4d9f21(0x448),'rxjs/operators',_0x4d9f21(0x3f3)],_0x5b51b9):(_0x5e5e7e=typeof globalThis<'u'?globalThis:_0x5e5e7e||self,_0x5b51b9(_0x5e5e7e['UniverProCollaborationClientUi']={},_0x5e5e7e[_0x4d9f21(0x355)],_0x5e5e7e[_0x4d9f21(0x195)],_0x5e5e7e[_0x4d9f21(0x2ab)],_0x5e5e7e[_0x4d9f21(0x3b7)],_0x5e5e7e[_0x4d9f21(0x185)],_0x5e5e7e['UniverDesign'],_0x5e5e7e['React'],_0x5e5e7e['UniverRpc'],_0x5e5e7e[_0x4d9f21(0x1d2)],_0x5e5e7e[_0x4d9f21(0x38d)],_0x5e5e7e['UniverNetwork'],_0x5e5e7e[_0x4d9f21(0x349)],_0x5e5e7e[_0x4d9f21(0x15a)],_0x5e5e7e[_0x4d9f21(0x435)],_0x5e5e7e['UniverDocs'],_0x5e5e7e[_0x4d9f21(0x27b)],_0x5e5e7e[_0x4d9f21(0x185)][_0x4d9f21(0x34d)],_0x5e5e7e['UniverSheetsUi']));}(this,function(_0x247a8b,_0x41c333,_0x2a58e2,_0x3ca32a,_0x32fdb4,_0x467ef2,_0x22c154,_0x1f0bc3,_0x5e048c,_0x83dc80,_0x10484c,_0x478e27,_0xf059ad,_0x4cc2a1,_0x20e756,_0xc476c0,_0x42906f,_0x4a78c7,_0xdb04ec){'use strict';const _0x5a5ea1=_0x1ca4;var _0x32a2b0=Object[_0x5a5ea1(0x36f)],_0x2a6e3b=(_0x19ce8b,_0xb7611d,_0x34fac0)=>_0xb7611d in _0x19ce8b?_0x32a2b0(_0x19ce8b,_0xb7611d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x34fac0}):_0x19ce8b[_0xb7611d]=_0x34fac0,_0x144f01=(_0x175218,_0x4efc24,_0x97562c)=>_0x2a6e3b(_0x175218,typeof _0x4efc24!=_0x5a5ea1(0x42c)?_0x4efc24+'':_0x4efc24,_0x97562c);function _0x41dffc({ref:_0x165a59,..._0x48e312}){const _0x46aa35=_0x5a5ea1,{icon:_0x2d2ec3,id:_0x28eebf,className:_0xac529f,extend:_0x2080dd,..._0x335923}=_0x48e312,_0x998a7b=(_0x46aa35(0x366)+_0x28eebf+'\x20'+(_0xac529f||''))[_0x46aa35(0x188)](),_0x51476c=_0x1f0bc3[_0x46aa35(0x36b)]('_'+_0x4b7970());return _0xb05c53(_0x2d2ec3,''+_0x28eebf,{'defIds':_0x2d2ec3[_0x46aa35(0x3d4)],'idSuffix':_0x51476c[_0x46aa35(0x274)]},{'ref':_0x165a59,'className':_0x998a7b,..._0x335923},_0x2080dd);}function _0xb05c53(_0x1ea433,_0x7bad79,_0x238e3b,_0x4f8cfe,_0x4e8002){const _0x8307f=_0x5a5ea1;return _0x1f0bc3[_0x8307f(0x169)](_0x1ea433[_0x8307f(0x33f)],{'key':_0x7bad79,..._0x4b4f4b(_0x1ea433,_0x238e3b,_0x4e8002),..._0x4f8cfe},(_0x51630c(_0x1ea433,_0x238e3b)[_0x8307f(0x2e6)]||[])[_0x8307f(0x2e4)]((_0x15262d,_0x313fa1)=>_0xb05c53(_0x15262d,_0x7bad79+'-'+_0x1ea433[_0x8307f(0x33f)]+'-'+_0x313fa1,_0x238e3b,void 0x0,_0x4e8002)));}function _0x4b4f4b(_0xb84a53,_0x36fe99,_0x368af5){const _0x33ee15=_0x5a5ea1,_0xc7c872={..._0xb84a53[_0x33ee15(0x159)]};_0x368af5!=null&&_0x368af5[_0x33ee15(0x41f)]&&_0xc7c872['fill']===_0x33ee15(0x41f)&&(_0xc7c872[_0x33ee15(0x23e)]=_0x368af5[_0x33ee15(0x41f)]),_0xb84a53[_0x33ee15(0x33f)]===_0x33ee15(0x3d7)&&_0xc7c872['id']&&(_0xc7c872['id']=_0xc7c872['id']+_0x36fe99[_0x33ee15(0x284)]),Object['entries'](_0xc7c872)['forEach'](([_0x2dbb00,_0x43140b])=>{const _0x5490be=_0x33ee15;_0x2dbb00===_0x5490be(0x3d7)&&typeof _0x43140b==_0x5490be(0x3f2)&&(_0xc7c872[_0x2dbb00]=_0x43140b['replace'](/url\(#(.*)\)/,_0x5490be(0x205)+_0x36fe99[_0x5490be(0x284)]+')'));});const {defIds:_0x271dd4}=_0x36fe99;return!_0x271dd4||_0x271dd4[_0x33ee15(0x3ca)]===0x0||(_0xb84a53['tag']===_0x33ee15(0x251)&&_0xc7c872[_0x33ee15(0x22d)]&&(_0xc7c872[_0x33ee15(0x22d)]=_0xc7c872[_0x33ee15(0x22d)]+_0x36fe99[_0x33ee15(0x284)]),Object[_0x33ee15(0x3ef)](_0xc7c872)[_0x33ee15(0x436)](([_0x193d03,_0x97373e])=>{const _0x1bd2ae=_0x33ee15;typeof _0x97373e=='string'&&(_0xc7c872[_0x193d03]=_0x97373e[_0x1bd2ae(0x42a)](/url\(#(.*)\)/,_0x1bd2ae(0x205)+_0x36fe99[_0x1bd2ae(0x284)]+')'));})),_0xc7c872;}function _0x51630c(_0x12f5a4,_0x3d2603){const _0x3d1bc1=_0x5a5ea1;var _0xf02e0f;const {defIds:_0x10e92b}=_0x3d2603;return!_0x10e92b||_0x10e92b[_0x3d1bc1(0x3ca)]===0x0?_0x12f5a4:_0x12f5a4['tag']==='defs'&&((_0xf02e0f=_0x12f5a4['children'])!=null&&_0xf02e0f[_0x3d1bc1(0x3ca)])?{..._0x12f5a4,'children':_0x12f5a4[_0x3d1bc1(0x2e6)][_0x3d1bc1(0x2e4)](_0x100458=>typeof _0x100458[_0x3d1bc1(0x159)]['id']==_0x3d1bc1(0x3f2)&&_0x10e92b&&_0x10e92b[_0x3d1bc1(0x239)](_0x100458[_0x3d1bc1(0x159)]['id'])?{..._0x100458,'attrs':{..._0x100458['attrs'],'id':_0x100458[_0x3d1bc1(0x159)]['id']+_0x3d2603['idSuffix']}}:_0x100458)}:_0x12f5a4;}function _0x4b7970(){const _0x4b2b88=_0x5a5ea1;return Math[_0x4b2b88(0x273)]()[_0x4b2b88(0x27d)](0x24)[_0x4b2b88(0x29d)](0x2,0x8);}_0x41dffc[_0x5a5ea1(0x278)]='UniverIcon';const _0x4d223f={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5a5ea1(0x245),'viewBox':_0x5a5ea1(0x3ab),'width':_0x5a5ea1(0x2cb),'height':_0x5a5ea1(0x2cb)},'children':[{'tag':'g','attrs':{'clipPath':_0x5a5ea1(0x39c)},'children':[{'tag':'path','attrs':{'stroke':_0x5a5ea1(0x43a),'d':_0x5a5ea1(0x23b),'strokeLinecap':_0x5a5ea1(0x378),'strokeLinejoin':_0x5a5ea1(0x378),'strokeWidth':1.2}}]},{'tag':_0x5a5ea1(0x19d),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5a5ea1(0x417)},'children':[{'tag':_0x5a5ea1(0x3a0),'attrs':{'fill':'white','d':_0x5a5ea1(0x16c)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x4d4834=_0x1f0bc3[_0x5a5ea1(0x2d6)](function(_0x265b55,_0xc3bce0){const _0x2a5f8c=_0x5a5ea1;return _0x1f0bc3[_0x2a5f8c(0x169)](_0x41dffc,Object['assign']({},_0x265b55,{'id':'off-line-icon','ref':_0xc3bce0,'icon':_0x4d223f}));});_0x4d4834[_0x5a5ea1(0x278)]=_0x5a5ea1(0x330);const _0xe6f830={'tag':_0x5a5ea1(0x324),'attrs':{'xmlns':_0x5a5ea1(0x2a9),'fill':'none','viewBox':'0\x200\x2017\x2016','width':_0x5a5ea1(0x2cb),'height':_0x5a5ea1(0x2cb)},'children':[{'tag':'g','attrs':{'clipPath':_0x5a5ea1(0x1a7)},'children':[{'tag':_0x5a5ea1(0x3a0),'attrs':{'stroke':_0x5a5ea1(0x43a),'d':_0x5a5ea1(0x1e3),'strokeLinecap':'round','strokeLinejoin':_0x5a5ea1(0x378),'strokeWidth':1.2}}]},{'tag':_0x5a5ea1(0x19d),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x5a5ea1(0x3a0),'attrs':{'fill':_0x5a5ea1(0x421),'d':_0x5a5ea1(0x16c),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x676522=_0x1f0bc3[_0x5a5ea1(0x2d6)](function(_0x2ed305,_0x10b7b4){const _0x52ab4e=_0x5a5ea1;return _0x1f0bc3[_0x52ab4e(0x169)](_0x41dffc,Object[_0x52ab4e(0x2ae)]({},_0x2ed305,{'id':'on-line-icon','ref':_0x10b7b4,'icon':_0xe6f830}));});_0x676522[_0x5a5ea1(0x278)]=_0x5a5ea1(0x325);function _0x1bee7c(_0xf1eded){const _0x2e42eb=_0x5a5ea1;switch(_0xf1eded){case _0x2a58e2[_0x2e42eb(0x391)][_0x2e42eb(0x2d9)]:return _0x2e42eb(0x396);case _0x2a58e2[_0x2e42eb(0x391)]['CONFLICT']:return _0x2e42eb(0x177);case _0x2a58e2['CollaborationStatus'][_0x2e42eb(0x370)]:return _0x2e42eb(0x255);case _0x2a58e2[_0x2e42eb(0x391)][_0x2e42eb(0x1a1)]:return _0x2e42eb(0x201);case _0x2a58e2['CollaborationStatus'][_0x2e42eb(0x1cd)]:case _0x2a58e2['CollaborationStatus'][_0x2e42eb(0x2c7)]:return'collabStatus.syncing';case _0x2a58e2[_0x2e42eb(0x391)][_0x2e42eb(0x30e)]:case _0x2a58e2[_0x2e42eb(0x391)]['PENDING']:return _0x2e42eb(0x18d);}}function _0x1b17b0(_0x451e00){const _0x1b778d=_0x5a5ea1,{status$:_0x907476}=_0x451e00,_0x3a484f=_0x32fdb4['useObservable'](_0x907476,_0x2a58e2[_0x1b778d(0x391)][_0x1b778d(0x1a1)]),_0x27b77f=_0x32fdb4[_0x1b778d(0x392)](_0x3ca32a[_0x1b778d(0x265)]),_0x27899f=_0x32fdb4[_0x1b778d(0x392)](_0x2a58e2[_0x1b778d(0x296)]),_0x228c24=_0x3a484f!==_0x2a58e2['CollaborationStatus']['OFFLINE'],_0x344ff8=_0x27b77f['t'](_0x1bee7c(_0x3a484f)),_0x5b1676=_0x228c24?_0x41c333[_0x1b778d(0x17b)](_0x676522,{}):_0x41c333[_0x1b778d(0x17b)](_0x4d4834,{}),_0x29e055=_0x1f0bc3[_0x1b778d(0x1c9)](()=>{const _0xf5c34c=_0x1b778d;_0x228c24||_0x27899f[_0xf5c34c(0x196)]();},[_0x228c24,_0x27899f]);function _0x378a77(){const _0x210fab=_0x1b778d;return _0x41c333['jsxs'](_0x210fab(0x38b),{'className':'univer-flex\x20univer-items-center','onClick':_0x29e055,'children':[_0x41c333[_0x210fab(0x17b)]('div',{'className':_0x22c154[_0x210fab(0x33b)](_0x210fab(0x17a),{'univer-text-green-500':_0x228c24,'univer-text-red-500':!_0x228c24}),'children':_0x5b1676}),_0x41c333[_0x210fab(0x17b)](_0x210fab(0x38b),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x344ff8})]});}return _0x228c24?_0x378a77():_0x41c333[_0x1b778d(0x17b)](_0x22c154['Tooltip'],{'title':_0x27b77f['t'](_0x1b778d(0x20f)),'children':_0x378a77()});}var _0x47cd60=Object[_0x5a5ea1(0x3b1)],_0x30e3b2=(_0x52075a,_0x8672ec,_0x147466,_0x89a4f1)=>{const _0x5ddc41=_0x5a5ea1;for(var _0x59055d=_0x89a4f1>0x1?void 0x0:_0x89a4f1?_0x47cd60(_0x8672ec,_0x147466):_0x8672ec,_0x28de37=_0x52075a[_0x5ddc41(0x3ca)]-0x1,_0x581075;_0x28de37>=0x0;_0x28de37--)(_0x581075=_0x52075a[_0x28de37])&&(_0x59055d=_0x581075(_0x59055d)||_0x59055d);return _0x59055d;},_0x5c425e=(_0x1d8a2a,_0x1c65af)=>(_0x213a24,_0x3f101d)=>_0x1c65af(_0x213a24,_0x3f101d,_0x1d8a2a);_0x247a8b[_0x5a5ea1(0x189)]=class extends _0x3ca32a[_0x5a5ea1(0x1df)]{constructor(_0x368a80,_0x545dc8,_0x3c5ad7,_0x23253b){const _0x141886=_0x5a5ea1;super(),_0x144f01(this,'_status$',new _0x467ef2[(_0x141886(0x1aa))](_0x2a58e2[_0x141886(0x391)][_0x141886(0x1a1)])),(this['_univerInstanceService']=_0x368a80,this[_0x141886(0x269)]=_0x545dc8,this[_0x141886(0x3f7)]=_0x3c5ad7,this[_0x141886(0x3af)]=_0x23253b,this[_0x141886(0x372)](),this[_0x141886(0x1f1)]());}['_initStatusListener'](){const _0x50e777=_0x5a5ea1;this[_0x50e777(0x36d)](this['_univerInstanceService']['focused$']['pipe'](_0x467ef2[_0x50e777(0x409)](()=>{const _0x2804c4=_0x50e777,_0x497732=this[_0x2804c4(0x390)][_0x2804c4(0x209)]();return _0x497732?this['_collaborationController']['getCollabEntity$'](_0x497732[_0x2804c4(0x1b1)]()):_0x467ef2['of'](null);}),_0x467ef2[_0x50e777(0x409)](_0x19f05f=>_0x19f05f?_0x19f05f[_0x50e777(0x1dc)]:_0x467ef2['of'](_0x2a58e2[_0x50e777(0x391)]['NOT_COLLAB'])))[_0x50e777(0x1cb)](_0x3b6ecc=>{const _0x2d0dcb=_0x50e777;this[_0x2d0dcb(0x398)][_0x2d0dcb(0x2ef)](_0x3b6ecc);}));}['_initStatusComponent'](){const _0x469902=_0x5a5ea1;this['disposeWithMe'](this[_0x469902(0x3af)][_0x469902(0x29c)](_0x32fdb4[_0x469902(0x1e0)][_0x469902(0x28d)],()=>_0x32fdb4[_0x469902(0x2f1)](_0x430b2f({'status$':this['_status$'][_0x469902(0x1c3)]()}),this[_0x469902(0x269)])));}},_0x247a8b['DesktopCollaborationStatusDisplayController']=_0x30e3b2([_0x5c425e(0x0,_0x3ca32a['IUniverInstanceService']),_0x5c425e(0x1,_0x3ca32a['Inject'](_0x3ca32a[_0x5a5ea1(0x260)])),_0x5c425e(0x2,_0x3ca32a[_0x5a5ea1(0x2dd)](_0x2a58e2['CollaborationController'])),_0x5c425e(0x3,_0x32fdb4['IUIPartsService'])],_0x247a8b[_0x5a5ea1(0x189)]);function _0x430b2f(_0x248920){const {status$:_0x59a19b}=_0x248920;return function(){const _0x348328=_0x1ca4;return _0x41c333[_0x348328(0x17b)](_0x1b17b0,{'status$':_0x59a19b});};}const _0x3a7ad0=_0x3ca32a['createIdentifier'](_0x5a5ea1(0x416));var _0x39d1a3=Object[_0x5a5ea1(0x3b1)],_0x39a6d2=(_0x33ca58,_0x3de4f8,_0x1d571f,_0x45149e)=>{const _0x41f8f5=_0x5a5ea1;for(var _0x232ff0=_0x45149e>0x1?void 0x0:_0x45149e?_0x39d1a3(_0x3de4f8,_0x1d571f):_0x3de4f8,_0x1eebd6=_0x33ca58[_0x41f8f5(0x3ca)]-0x1,_0x1907b7;_0x1eebd6>=0x0;_0x1eebd6--)(_0x1907b7=_0x33ca58[_0x1eebd6])&&(_0x232ff0=_0x1907b7(_0x232ff0)||_0x232ff0);return _0x232ff0;},_0xbf97a6=(_0x12e037,_0x18d6a9)=>(_0x319012,_0x338d16)=>_0x18d6a9(_0x319012,_0x338d16,_0x12e037);_0x247a8b[_0x5a5ea1(0x275)]=class extends _0x3ca32a[_0x5a5ea1(0x397)]{constructor(_0x3346ff,_0xa8821b,_0x2e75be,_0x47bd26,_0xf7657f){const _0x57c615=_0x5a5ea1;super(),this[_0x57c615(0x2c2)]=_0x3346ff,this[_0x57c615(0x331)]=_0xa8821b,this['_commandService']=_0x2e75be,this[_0x57c615(0x25a)]=_0x47bd26,_0xf7657f?_0xf7657f==null||_0xf7657f[_0x57c615(0x182)]()['then'](()=>this[_0x57c615(0x3e7)]()):(this[_0x57c615(0x331)][_0x57c615(0x3c5)](_0x57c615(0x427),_0x57c615(0x1a4)),this[_0x57c615(0x3e7)]());}async[_0x5a5ea1(0x3e7)](){const _0x54df34=_0x5a5ea1,_0x442ec7=this[_0x54df34(0x2c2)][_0x54df34(0x308)](_0x54df34(0x3c9)),_0x5833b7=this['_urlService'][_0x54df34(0x308)]('type'),_0x346f48=this[_0x54df34(0x2c2)][_0x54df34(0x308)]('subunit');if(!_0x442ec7||!_0x5833b7){this[_0x54df34(0x331)][_0x54df34(0x3c5)]('[CollaborationDataLoaderController]',_0x54df34(0x35c));return;}const _0x29f57d=await this[_0x54df34(0x25a)]['loadUnit'](_0x442ec7,Number(_0x5833b7),_0x346f48);_0x29f57d&&_0x29f57d instanceof _0x3ca32a[_0x54df34(0x19f)]&&this[_0x54df34(0x1d3)](_0x29f57d);}async[_0x5a5ea1(0x1d3)](_0x187797){const _0xb0211=_0x5a5ea1;await this[_0xb0211(0x319)](_0x187797),_0x187797[_0xb0211(0x2eb)][_0xb0211(0x361)](_0x467ef2[_0xb0211(0x2ad)](this[_0xb0211(0x3e2)]))[_0xb0211(0x1cb)](_0x225f39=>{const _0x1b9ac9=_0xb0211;_0x225f39&&this[_0x1b9ac9(0x41b)](_0x225f39);}),this[_0xb0211(0x2c2)][_0xb0211(0x2cc)][_0xb0211(0x361)](_0x467ef2[_0xb0211(0x2ad)](this[_0xb0211(0x3e2)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x187797));}['_updateURLWithCurrentState'](_0x523db5,_0x3d8e00=!0x1){const _0x17cb32=_0x5a5ea1,_0x31b641=this[_0x17cb32(0x2c2)][_0x17cb32(0x308)](_0x17cb32(0x1cf));_0x523db5[_0x17cb32(0x1be)]()!==_0x31b641&&this[_0x17cb32(0x2c2)][_0x17cb32(0x17d)](_0x17cb32(0x1cf),_0x523db5[_0x17cb32(0x1be)](),_0x3d8e00);}async[_0x5a5ea1(0x319)](_0x64d3fb){const _0x2e2b46=_0x5a5ea1;var _0x227cd3;const _0x4f2685=this[_0x2e2b46(0x2c2)][_0x2e2b46(0x308)](_0x2e2b46(0x1cf));if(!_0x4f2685||!_0x64d3fb[_0x2e2b46(0x240)](_0x4f2685)){const _0x4a90d0=_0x64d3fb['getUnhiddenWorksheets']()[0x0],_0x32c29e=_0x64d3fb[_0x2e2b46(0x240)](_0x4a90d0);if(!_0x32c29e)return;this[_0x2e2b46(0x41b)](_0x32c29e,!0x0),await this[_0x2e2b46(0x2b6)][_0x2e2b46(0x15d)](_0x83dc80[_0x2e2b46(0x3c1)]['id'],{'unitId':_0x64d3fb[_0x2e2b46(0x1b1)](),'subUnitId':_0x4a90d0});return;}((_0x227cd3=_0x64d3fb[_0x2e2b46(0x36e)]())==null?void 0x0:_0x227cd3[_0x2e2b46(0x1be)]())!==_0x4f2685&&await this[_0x2e2b46(0x2b6)][_0x2e2b46(0x15d)](_0x83dc80['SetWorksheetActivateCommand']['id'],{'unitId':_0x64d3fb[_0x2e2b46(0x1b1)](),'subUnitId':_0x4f2685});}},_0x247a8b[_0x5a5ea1(0x275)]=_0x39a6d2([_0xbf97a6(0x0,_0x3a7ad0),_0xbf97a6(0x1,_0x3ca32a['ILogService']),_0xbf97a6(0x2,_0x3ca32a['ICommandService']),_0xbf97a6(0x3,_0x3ca32a[_0x5a5ea1(0x2dd)](_0x2a58e2[_0x5a5ea1(0x3b8)])),_0xbf97a6(0x4,_0x3ca32a[_0x5a5ea1(0x32f)](_0x5e048c['IRemoteInstanceService']))],_0x247a8b['CollaborationDataLoaderController']);var _0xd2c1a8=Object[_0x5a5ea1(0x3b1)],_0x5b8cce=(_0x4caffe,_0x4ea022,_0x41eb2b,_0x48e356)=>{const _0x9077c=_0x5a5ea1;for(var _0x562098=_0x48e356>0x1?void 0x0:_0x48e356?_0xd2c1a8(_0x4ea022,_0x41eb2b):_0x4ea022,_0x271d9c=_0x4caffe[_0x9077c(0x3ca)]-0x1,_0x252851;_0x271d9c>=0x0;_0x271d9c--)(_0x252851=_0x4caffe[_0x271d9c])&&(_0x562098=_0x252851(_0x562098)||_0x562098);return _0x562098;},_0x2031fc=(_0x234d8c,_0x8eac9)=>(_0x279f78,_0x391561)=>_0x8eac9(_0x279f78,_0x391561,_0x234d8c);let _0x530f86=class extends _0x3ca32a[_0x5a5ea1(0x397)]{constructor(_0x1fd33b,_0x4e7769){const _0x33c125=_0x5a5ea1;super(),this[_0x33c125(0x21b)]=_0x1fd33b,this[_0x33c125(0x368)]=_0x4e7769,this[_0x33c125(0x3e7)]();}[_0x5a5ea1(0x3e7)](){const _0x4b9ce6=_0x5a5ea1,_0x3900e3=this;this[_0x4b9ce6(0x36d)](this[_0x4b9ce6(0x21b)][_0x4b9ce6(0x442)]({'onBeforePasteImage':async _0x1456fa=>{const _0x7703d8=_0x4b9ce6,_0x30d3e8=await _0x3900e3[_0x7703d8(0x368)][_0x7703d8(0x2e9)](_0x1456fa);return _0x30d3e8?{'source':_0x30d3e8['source'],'imageSourceType':_0x30d3e8['imageSourceType']}:null;}}));}};_0x530f86=_0x5b8cce([_0x2031fc(0x0,_0xf059ad['IDocClipboardService']),_0x2031fc(0x1,_0x4cc2a1[_0x5a5ea1(0x267)])],_0x530f86);const _0x340a9e=[_0x5a5ea1(0x1fc),'jiqing.500',_0x5a5ea1(0x326),'red.300',_0x5a5ea1(0x2f4),_0x5a5ea1(0x42f)];class _0x157123 extends _0x3ca32a[_0x5a5ea1(0x1df)]{constructor(){const _0x11e119=_0x5a5ea1;super(...arguments),_0x144f01(this,_0x11e119(0x26d),new Map()),_0x144f01(this,_0x11e119(0x1ec),0x0);}[_0x5a5ea1(0x28c)](_0xde23da){const _0x3a2ead=_0x5a5ea1;if(this[_0x3a2ead(0x26d)][_0x3a2ead(0x2a5)](_0xde23da))return this[_0x3a2ead(0x26d)]['get'](_0xde23da);const _0x23e0a6=_0x340a9e[this['_colorIndex']];return this[_0x3a2ead(0x1ec)]=(this[_0x3a2ead(0x1ec)]+0x1)%_0x340a9e[_0x3a2ead(0x3ca)],this[_0x3a2ead(0x26d)][_0x3a2ead(0x37f)](_0xde23da,_0x23e0a6),_0x23e0a6;}}function _0x421c9e(_0x5a5162){const _0x5b9779=_0x5a5ea1;let _0x166fbd='';for(const _0x21e937 of _0x5a5162){const {startOffset:_0x4fd90c,endOffset:_0x3e6531,isActive:_0x36e2df,rangeType:_0x500c0e,segmentId:_0x1b1d9e,segmentPage:_0x33266e}=_0x21e937;_0x166fbd[_0x5b9779(0x3ca)]&&(_0x166fbd+=','),_0x166fbd+=_0x4fd90c+':'+_0x3e6531+':'+(_0x36e2df?'1':'0')+':'+_0x500c0e+':'+_0x1b1d9e+':'+_0x33266e;}return _0x166fbd;}function _0x49a220(_0x273ed8){const _0xbb19be=_0x5a5ea1,_0x274f4c=_0x273ed8['split'](','),_0x341eae=[];for(const _0x2518e0 of _0x274f4c){const [_0x3a0d60,_0x5b9954,_0x551a09,_0x4c9e9f,_0x4ab162,_0x359b18]=_0x2518e0[_0xbb19be(0x1fe)](':');_0x341eae['push']({'startOffset':Number(_0x3a0d60),'endOffset':Number(_0x5b9954),'collapsed':_0x3a0d60===_0x5b9954,'isActive':_0x551a09==='1','rangeType':_0x4c9e9f===_0x3ca32a[_0xbb19be(0x186)][_0xbb19be(0x22a)]?_0x3ca32a['DOC_RANGE_TYPE'][_0xbb19be(0x22a)]:_0x3ca32a['DOC_RANGE_TYPE'][_0xbb19be(0x217)],'segmentId':typeof _0x4ab162=='string'?String(_0x4ab162):'','segmentPage':Number(_0x359b18!=null?_0x359b18:-0x1)});}return _0x341eae[_0xbb19be(0x1b5)](_0x328fae=>_0x328fae[_0xbb19be(0x1e8)])||(_0x341eae[0x0][_0xbb19be(0x1e8)]=!0x0),_0x341eae;}class _0x2883dc extends _0x3ca32a[_0x5a5ea1(0x397)]{constructor(){const _0xd2cfb0=_0x5a5ea1;super(...arguments),_0x144f01(this,_0xd2cfb0(0x41d),new _0x467ef2[(_0xd2cfb0(0x1aa))](null)),_0x144f01(this,_0xd2cfb0(0x3b4),this[_0xd2cfb0(0x41d)]['asObservable']());}['syncEditingCollabCursor'](_0x5e7f24){const _0xfade9=_0x5a5ea1,{unitID:_0x26a0dc,memberID:_0x5c883b,textRanges:_0x50bbb4}=_0x5e7f24,_0x4b3393=_0x421c9e(_0x50bbb4);if(_0x4b3393==='')return;const _0x49c92f={'unitID':_0x26a0dc,'memberID':_0x5c883b,'selection':_0x4b3393};this[_0xfade9(0x41d)]['next'](_0x49c92f);}}var _0x47cb3a=Object[_0x5a5ea1(0x3b1)],_0x556e79=(_0x59feb7,_0x1b1a0f,_0x5cb4c8,_0x5bf00e)=>{for(var _0x57389b=_0x5bf00e>0x1?void 0x0:_0x5bf00e?_0x47cb3a(_0x1b1a0f,_0x5cb4c8):_0x1b1a0f,_0x206170=_0x59feb7['length']-0x1,_0xc19ae;_0x206170>=0x0;_0x206170--)(_0xc19ae=_0x59feb7[_0x206170])&&(_0x57389b=_0xc19ae(_0x57389b)||_0x57389b);return _0x57389b;},_0x4a5260=(_0xb1107f,_0x10d11)=>(_0x1aee27,_0x439f49)=>_0x10d11(_0x1aee27,_0x439f49,_0xb1107f);const _0x328fc6=0x12c,_0x8b6b56=0x64;let _0x58b3db=class extends _0x3ca32a[_0x5a5ea1(0x397)]{constructor(_0x22afc4,_0x3d72b7,_0x50db8a,_0x2082e8,_0x257b04,_0x7420c7,_0x1782b8,_0x21b31f,_0xe152a7){const _0x1fbe88=_0x5a5ea1;super(),_0x144f01(this,_0x1fbe88(0x16b),!0x1),_0x144f01(this,_0x1fbe88(0x3e7),!0x1),_0x144f01(this,'_cursorInfo$',new _0x467ef2[(_0x1fbe88(0x1aa))](new Map())),_0x144f01(this,_0x1fbe88(0x385),this[_0x1fbe88(0x408)][_0x1fbe88(0x1c3)]()),_0x144f01(this,_0x1fbe88(0x43e),new _0x467ef2[(_0x1fbe88(0x1aa))]([])),_0x144f01(this,'roomMembers$',this['_roomMembers$']['pipe'](_0x467ef2[_0x1fbe88(0x1a0)](_0x328fc6))),_0x144f01(this,_0x1fbe88(0x3f6),_0x3ca32a[_0x1fbe88(0x2d0)](_0x3b95bf=>{const _0x5be746=_0x1fbe88,_0x2934d9={'eventID':_0x20e756[_0x5be746(0x20d)][_0x5be746(0x41c)],'data':{'unitID':this[_0x5be746(0x32b)],'memberID':this[_0x5be746(0x338)][_0x5be746(0x373)](),'selection':_0x421c9e(_0x3b95bf)}};this[_0x5be746(0x338)][_0x5be746(0x307)](_0x2934d9,this[_0x5be746(0x32b)]);},_0x8b6b56)),(this[_0x1fbe88(0x32b)]=_0x22afc4,this[_0x1fbe88(0x338)]=_0x3d72b7,this[_0x1fbe88(0x269)]=_0x50db8a,this[_0x1fbe88(0x281)]=_0x2082e8,this[_0x1fbe88(0x1ca)]=_0x257b04,this[_0x1fbe88(0x42d)]=_0x7420c7,this['_transformService']=_0x1782b8,this[_0x1fbe88(0x390)]=_0x21b31f,this[_0x1fbe88(0x2b6)]=_0xe152a7);}get['cursorInfo'](){const _0x2e7952=_0x5a5ea1;return this['_cursorInfo$'][_0x2e7952(0x2bc)]();}get[_0x5a5ea1(0x29e)](){const _0x237264=_0x5a5ea1;return this[_0x237264(0x43e)]['getValue']();}['dispose'](){const _0x23b92b=_0x5a5ea1;super['dispose'](),this[_0x23b92b(0x408)][_0x23b92b(0x2ef)](new Map()),this[_0x23b92b(0x408)][_0x23b92b(0x17c)](),this['_roomMembers$']['next']([]),this['_roomMembers$']['complete']();}[_0x5a5ea1(0x25c)](){const _0x154c67=_0x5a5ea1;this['_init']||(this['_init']=!0x0,this['_session']['sessionStatus$']['pipe'](_0x467ef2[_0x154c67(0x2ad)](this[_0x154c67(0x3e2)]))[_0x154c67(0x1cb)](_0x316939=>{const _0x1fab0b=_0x154c67;_0x316939===_0x2a58e2[_0x1fab0b(0x40d)][_0x1fab0b(0x3c6)]?this[_0x1fab0b(0x258)]():this[_0x1fab0b(0x3b2)]();}),this[_0x154c67(0x338)][_0x154c67(0x22e)][_0x154c67(0x361)](_0x467ef2[_0x154c67(0x2ad)](this[_0x154c67(0x3e2)]))[_0x154c67(0x1cb)](_0xb1292c=>{const _0x5282d4=_0x154c67,_0x98506f=_0xb1292c[_0x5282d4(0x3c3)];_0x98506f===_0x20e756[_0x5282d4(0x20d)]['UPDATE_CURSOR']&&this[_0x5282d4(0x35d)](_0xb1292c),_0x98506f===_0x20e756['CollaborationEvent'][_0x5282d4(0x3ff)]&&this[_0x5282d4(0x3f5)](_0xb1292c);}),this[_0x154c67(0x36d)](this[_0x154c67(0x2b6)]['onCommandExecuted'](_0x2d7ccc=>{const _0x5d2952=_0x154c67,_0x302c9c=_0x2d7ccc['params'];_0x302c9c!=null&&this[_0x5d2952(0x16b)]&&_0x2d7ccc['id']===_0xc476c0[_0x5d2952(0x253)]['id']&&_0x302c9c[_0x5d2952(0x371)]===this[_0x5d2952(0x32b)]&&_0x302c9c[_0x5d2952(0x3d8)]===!0x1&&_0x302c9c[_0x5d2952(0x2f8)]['length']>0x0&&this[_0x5d2952(0x3f6)](_0x302c9c[_0x5d2952(0x2f8)]);})),this[_0x154c67(0x42d)][_0x154c67(0x3b4)][_0x154c67(0x361)](_0x467ef2['takeUntil'](this[_0x154c67(0x3e2)]))['subscribe'](_0x39300a=>{const _0x11a5e2=_0x154c67;if((_0x39300a==null?void 0x0:_0x39300a[_0x11a5e2(0x32b)])!==this[_0x11a5e2(0x32b)])return;const _0x5e76a3={'eventID':_0x20e756[_0x11a5e2(0x20d)]['UPDATE_CURSOR'],'data':_0x39300a};this['_onCursorUpdate'](_0x5e76a3);}),this[_0x154c67(0x36d)](this['_commandService'][_0x154c67(0x376)](_0x15193a=>{const _0x4dea11=_0x154c67;if(_0x15193a[_0x4dea11(0x184)]==null)return;const _0x404662=_0x15193a[_0x4dea11(0x184)];if(_0x15193a['id']!==_0xc476c0[_0x4dea11(0x26f)]['id']||_0x404662['unitId']!==this[_0x4dea11(0x32b)])return;const _0x2e9bf9={'id':_0x4dea11(0x3ad),'params':_0x404662},_0x9c0e25=this[_0x4dea11(0x43c)];for(const [_0xa3f35,_0x46836d]of _0x9c0e25){const _0x50da5b={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x4dea11(0x32b)],'actions':null,'textRanges':_0x46836d['ranges']}},_0x23bb42=this[_0x4dea11(0x39b)][_0x4dea11(0x2d3)](_0x2e9bf9,_0x50da5b,!0x1);if(_0x20e756[_0x4dea11(0x1fb)](_0x23bb42))throw _0x23bb42['error'];_0x9c0e25[_0x4dea11(0x37f)](_0xa3f35,{..._0x46836d,'ranges':_0x23bb42[_0x4dea11(0x244)]['params'][_0x4dea11(0x15e)]});}queueMicrotask(()=>{const _0x5b9a4d=_0x4dea11;this[_0x5b9a4d(0x408)][_0x5b9a4d(0x2ef)](_0x9c0e25);});})));}['_onCursorUpdate'](_0x142814){const _0x2dd385=_0x5a5ea1;var _0x599471,_0x96d6f4;const {memberID:_0x5a24b2,selection:_0x4a0268}=_0x142814[_0x2dd385(0x447)],_0x2bc49f=_0x49a220(_0x4a0268),_0x17747=(_0x96d6f4=(_0x599471=this[_0x2dd385(0x1ca)][_0x2dd385(0x175)](this['unitID'],_0x5a24b2))==null?void 0x0:_0x599471[_0x2dd385(0x32e)])!=null?_0x96d6f4:_0x2dd385(0x3e3),_0x591a01={'color':this[_0x2dd385(0x281)]['assignAColorForMemberID'](_0x5a24b2),'name':_0x17747,'ranges':_0x2bc49f},_0x51f8e0=this['cursorInfo'];_0x51f8e0[_0x2dd385(0x37f)](_0x5a24b2,_0x591a01),this[_0x2dd385(0x408)][_0x2dd385(0x2ef)](_0x51f8e0);}[_0x5a5ea1(0x3f5)](_0x526eac){const _0x1680a7=_0x5a5ea1,{memberID:_0x4a5680}=_0x526eac['data'],_0x4bc465=this[_0x1680a7(0x43c)];_0x4bc465[_0x1680a7(0x3a7)](_0x4a5680),this[_0x1680a7(0x408)][_0x1680a7(0x2ef)](_0x4bc465);}[_0x5a5ea1(0x258)](){const _0x239f03=_0x5a5ea1;var _0x4de9f6;if(this[_0x239f03(0x16b)]=!0x0,((_0x4de9f6=this[_0x239f03(0x390)][_0x239f03(0x209)]())==null?void 0x0:_0x4de9f6[_0x239f03(0x1b1)]())!==this['unitID'])return;const _0x53e584=this['_injector'][_0x239f03(0x351)](_0xc476c0['DocSelectionManagerService'])['getDocRanges']();Array[_0x239f03(0x401)](_0x53e584)&&_0x53e584[_0x239f03(0x3ca)]>0x0&&this['_updateLocalCursor'](_0x53e584);}[_0x5a5ea1(0x3b2)](){this['_online']=!0x1;}};_0x58b3db=_0x556e79([_0x4a5260(0x2,_0x3ca32a['Inject'](_0x3ca32a[_0x5a5ea1(0x260)])),_0x4a5260(0x3,_0x3ca32a[_0x5a5ea1(0x2dd)](_0x157123)),_0x4a5260(0x4,_0x3ca32a['Inject'](_0x2a58e2[_0x5a5ea1(0x1a6)])),_0x4a5260(0x5,_0x3ca32a['Inject'](_0x2883dc)),_0x4a5260(0x6,_0x20e756[_0x5a5ea1(0x2a6)]),_0x4a5260(0x7,_0x3ca32a[_0x5a5ea1(0x2d4)]),_0x4a5260(0x8,_0x3ca32a[_0x5a5ea1(0x1a9)])],_0x58b3db);var _0x4393a0=Object['getOwnPropertyDescriptor'],_0x178fcf=(_0x124b87,_0x472a04,_0x12fdc4,_0x4096b0)=>{const _0x810885=_0x5a5ea1;for(var _0x4f529a=_0x4096b0>0x1?void 0x0:_0x4096b0?_0x4393a0(_0x472a04,_0x12fdc4):_0x472a04,_0x31bfa1=_0x124b87[_0x810885(0x3ca)]-0x1,_0x595135;_0x31bfa1>=0x0;_0x31bfa1--)(_0x595135=_0x124b87[_0x31bfa1])&&(_0x4f529a=_0x595135(_0x4f529a)||_0x4f529a);return _0x4f529a;},_0x532ed0=(_0x35b79d,_0x445874)=>(_0x3f3847,_0x42b19d)=>_0x445874(_0x3f3847,_0x42b19d,_0x35b79d);const _0x7cbaaa=0x12c,_0x56d3d7=0x64,_0x476bc1=()=>{let _0x533d0b=[],_0x3a689c=!0x1;return _0x789f59=>{const _0x4867ea=_0x1ca4;_0x533d0b[_0x4867ea(0x254)](_0x789f59),_0x3a689c||(_0x3a689c=!0x0,setTimeout(()=>{_0x533d0b['forEach'](_0x3eaba8=>_0x3eaba8()),_0x533d0b=[],_0x3a689c=!0x1;}));};};let _0x1457f3=class extends _0x3ca32a[_0x5a5ea1(0x397)]{constructor(_0x1a2d25,_0x236465,_0x35a8d0,_0x27a4ff,_0x238db9,_0x500579,_0x1bd515,_0x20acea){const _0x4a510b=_0x5a5ea1;super(),_0x144f01(this,'_online',!0x1),_0x144f01(this,'_init',!0x1),_0x144f01(this,_0x4a510b(0x408),new _0x467ef2[(_0x4a510b(0x1aa))](new Map())),_0x144f01(this,'cursorInfo$',this['_cursorInfo$'][_0x4a510b(0x1c3)]()),_0x144f01(this,_0x4a510b(0x43e),new _0x467ef2[(_0x4a510b(0x1aa))]([])),_0x144f01(this,'roomMembers$',this['_roomMembers$'][_0x4a510b(0x361)](_0x467ef2[_0x4a510b(0x1a0)](_0x7cbaaa))),_0x144f01(this,_0x4a510b(0x3f6),_0x3ca32a[_0x4a510b(0x2d0)]((_0x59f70c,_0x41c442)=>{const _0x1dde5e=_0x4a510b,_0x2a3def={'eventID':_0x20e756['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x1dde5e(0x32b)],'memberID':this[_0x1dde5e(0x338)][_0x1dde5e(0x373)](),'selection':_0x42906f['serializeRangeWithSheet'](_0x59f70c,_0x41c442[_0x1dde5e(0x26e)])}};this[_0x1dde5e(0x338)][_0x1dde5e(0x307)](_0x2a3def,this[_0x1dde5e(0x32b)]);},_0x56d3d7)),(this['unitID']=_0x1a2d25,this[_0x4a510b(0x338)]=_0x236465,this['_injector']=_0x35a8d0,this[_0x4a510b(0x281)]=_0x27a4ff,this['_memberService']=_0x238db9,this[_0x4a510b(0x390)]=_0x500579,this[_0x4a510b(0x2b6)]=_0x1bd515,this[_0x4a510b(0x2fe)]=_0x20acea);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x5a5ea1(0x29e)](){const _0xba324c=_0x5a5ea1;return this[_0xba324c(0x43e)][_0xba324c(0x2bc)]();}['dispose'](){const _0x11a45c=_0x5a5ea1;super[_0x11a45c(0x3d6)](),this[_0x11a45c(0x408)][_0x11a45c(0x2ef)](new Map()),this[_0x11a45c(0x408)][_0x11a45c(0x17c)](),this['_roomMembers$']['next']([]),this[_0x11a45c(0x43e)]['complete']();}[_0x5a5ea1(0x25c)](){const _0x32c76a=_0x5a5ea1;this[_0x32c76a(0x3e7)]||(this['_init']=!0x0,this[_0x32c76a(0x338)][_0x32c76a(0x252)][_0x32c76a(0x361)](_0x467ef2[_0x32c76a(0x2ad)](this['dispose$']))[_0x32c76a(0x1cb)](_0x2d8a42=>{const _0xfec99d=_0x32c76a;_0x2d8a42===_0x2a58e2['SessionStatus'][_0xfec99d(0x3c6)]?this[_0xfec99d(0x258)]():this[_0xfec99d(0x3b2)]();}),this[_0x32c76a(0x338)][_0x32c76a(0x22e)][_0x32c76a(0x361)](_0x467ef2['takeUntil'](this['dispose$']))[_0x32c76a(0x1cb)](_0x2d9393=>{const _0x259209=_0x32c76a,_0x455a97=_0x2d9393[_0x259209(0x3c3)];_0x455a97===_0x20e756[_0x259209(0x20d)][_0x259209(0x41c)]&&this[_0x259209(0x35d)](_0x2d9393),_0x455a97===_0x20e756[_0x259209(0x20d)][_0x259209(0x3ff)]&&this[_0x259209(0x3f5)](_0x2d9393);}),this[_0x32c76a(0x2d1)](),this[_0x32c76a(0x36d)](this[_0x32c76a(0x2b6)]['onCommandExecuted'](_0x5e19eb=>{const _0x300a82=_0x32c76a;if(this['_online']&&_0x5e19eb['id']===_0x83dc80[_0x300a82(0x1fd)]['id']&&_0x5e19eb[_0x300a82(0x184)][_0x300a82(0x371)]===this[_0x300a82(0x32b)]){const _0x1dc8a5=_0x5e19eb[_0x300a82(0x184)];this[_0x300a82(0x3f6)](_0x1dc8a5[_0x300a82(0x171)],_0x1dc8a5[_0x300a82(0x2a8)][0x0]);}})));}[_0x5a5ea1(0x35d)](_0x24fac4){const _0xe495b3=_0x5a5ea1;var _0x19ca03,_0xd1c706;const {memberID:_0x55e0b7,selection:_0x337385}=_0x24fac4[_0xe495b3(0x447)],{sheetName:_0x4b7252,range:_0x4e6b7b}=_0x42906f['deserializeRangeWithSheet'](_0x337385),_0x283c74={'name':(_0xd1c706=(_0x19ca03=this[_0xe495b3(0x1ca)][_0xe495b3(0x175)](this[_0xe495b3(0x32b)],_0x55e0b7))==null?void 0x0:_0x19ca03[_0xe495b3(0x32e)])!=null?_0xd1c706:_0xe495b3(0x3e3),'range':this[_0xe495b3(0x3cc)](_0x4b7252,_0x4e6b7b),'sheetID':_0x4b7252,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x55e0b7),'selection':_0x337385},_0x37b572=this[_0xe495b3(0x43c)];_0x37b572['set'](_0x55e0b7,_0x283c74),this[_0xe495b3(0x408)]['next'](_0x37b572);}[_0x5a5ea1(0x3f5)](_0x38964c){const _0x2beba3=_0x5a5ea1,{memberID:_0xb3bb8d}=_0x38964c[_0x2beba3(0x447)],_0x31f806=this[_0x2beba3(0x43c)];_0x31f806['delete'](_0xb3bb8d),this['_cursorInfo$'][_0x2beba3(0x2ef)](_0x31f806);}[_0x5a5ea1(0x3cc)](_0x524c2a,_0x495ed1){const _0x13fe7f=_0x5a5ea1;var _0x5048da,_0x216e51;const _0x4317d7=(_0x216e51=(_0x5048da=this[_0x13fe7f(0x390)][_0x13fe7f(0x40c)](this[_0x13fe7f(0x32b)]))==null?void 0x0:_0x5048da[_0x13fe7f(0x240)](_0x524c2a))==null?void 0x0:_0x216e51[_0x13fe7f(0x2c5)]();return(_0x4317d7==null?void 0x0:_0x4317d7[_0x13fe7f(0x2de)](_0x1f87e4=>_0x3ca32a['Rectangle'][_0x13fe7f(0x1d1)](_0x1f87e4,_0x495ed1)))||_0x495ed1;}[_0x5a5ea1(0x2d1)](){const _0x204d77=_0x5a5ea1,_0x147a14=new _0x3ca32a[(_0x204d77(0x3da))](),_0x33de7d=_0x476bc1(),_0x693c00=()=>{const _0x331b54=_0x204d77;_0x147a14['dispose']();const _0x1d433a=(_0x295198,_0x27fc20,_0x2800a4,_0x475e37)=>{const _0x3bc154=_0x1ca4;let _0x2c2ccc=[];switch(_0x295198['id']){case _0x83dc80['EffectRefRangId']['DeleteRangeMoveLeftCommandId']:{_0x2c2ccc=_0x83dc80[_0x3bc154(0x34a)](_0x295198,_0x475e37);break;}case _0x83dc80[_0x3bc154(0x3ae)][_0x3bc154(0x31c)]:{_0x2c2ccc=_0x83dc80['handleDeleteRangeMoveUp'](_0x295198,_0x475e37);break;}case _0x83dc80['EffectRefRangId'][_0x3bc154(0x21f)]:{_0x2c2ccc=_0x83dc80['handleInsertCol'](_0x295198,_0x475e37);break;}case _0x83dc80[_0x3bc154(0x3ae)][_0x3bc154(0x1f0)]:{_0x2c2ccc=_0x83dc80[_0x3bc154(0x353)](_0x295198,_0x475e37);break;}case _0x83dc80['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x2c2ccc=_0x83dc80[_0x3bc154(0x2df)](_0x295198,_0x475e37);break;}case _0x83dc80[_0x3bc154(0x3ae)][_0x3bc154(0x226)]:{_0x2c2ccc=_0x83dc80[_0x3bc154(0x2b0)](_0x295198,_0x475e37);break;}case _0x83dc80['EffectRefRangId'][_0x3bc154(0x1e9)]:{_0x2c2ccc=_0x83dc80[_0x3bc154(0x183)](_0x295198,_0x475e37);break;}case _0x83dc80[_0x3bc154(0x3ae)][_0x3bc154(0x216)]:{_0x2c2ccc=_0x83dc80[_0x3bc154(0x1ed)](_0x295198,_0x475e37);break;}case _0x83dc80['EffectRefRangId'][_0x3bc154(0x33c)]:{_0x2c2ccc=_0x83dc80[_0x3bc154(0x263)](_0x295198,_0x475e37);break;}}const _0x15644d=_0x83dc80['runRefRangeMutations'](_0x2c2ccc,_0x475e37),_0x26ae5a=this[_0x3bc154(0x43c)][_0x3bc154(0x351)](_0x27fc20);if(_0x26ae5a&&_0x15644d){const _0x246da7={..._0x26ae5a,'range':_0x15644d};this[_0x3bc154(0x43c)][_0x3bc154(0x37f)](_0x27fc20,_0x246da7),_0x33de7d(()=>{const _0x34daca=_0x3bc154,_0x5c1248=this[_0x34daca(0x2fe)]['registerRefRange'](_0x15644d,_0x1d4407=>(_0x5c1248[_0x34daca(0x3d6)](),_0x1d433a(_0x1d4407,_0x27fc20,_0x2800a4,_0x15644d)));_0x147a14[_0x34daca(0x2ec)](_0x5c1248);});}return{'redos':[],'undos':[]};};this[_0x331b54(0x43c)][_0x331b54(0x436)]((_0x32ad0,_0x197feb)=>{const _0x4456ed=_0x331b54,{range:_0x19dac8,sheetID:_0x5bb83a}=_0x32ad0,_0x45cb8c=this['_refRangeService'][_0x4456ed(0x443)](_0x19dac8,_0x5b5dd6=>(_0x45cb8c[_0x4456ed(0x3d6)](),_0x1d433a(_0x5b5dd6,_0x197feb,_0x5bb83a,_0x19dac8)));_0x147a14[_0x4456ed(0x2ec)](_0x45cb8c);});};this[_0x204d77(0x36d)](_0x3ca32a[_0x204d77(0x170)](this[_0x204d77(0x408)][_0x204d77(0x1cb)](()=>{_0x693c00();})));}[_0x5a5ea1(0x258)](){const _0xfa4763=_0x5a5ea1;var _0x477c1f,_0x44a168;if(this[_0xfa4763(0x16b)]=!0x0,((_0x477c1f=this[_0xfa4763(0x390)][_0xfa4763(0x209)]())==null?void 0x0:_0x477c1f[_0xfa4763(0x1b1)]())!==this[_0xfa4763(0x32b)])return;const _0x427fae=(_0x44a168=this[_0xfa4763(0x269)]['get'](_0x83dc80[_0xfa4763(0x33d)])['getCurrentSelections']())==null?void 0x0:_0x44a168[0x0],_0x56713b=this[_0xfa4763(0x390)][_0xfa4763(0x38c)](_0x3ca32a['UniverInstanceType'][_0xfa4763(0x286)])[_0xfa4763(0x36e)]();_0x427fae&&_0x56713b&&this[_0xfa4763(0x3f6)](_0x56713b[_0xfa4763(0x1be)](),_0x427fae);}['_toggleOffline'](){const _0x169575=_0x5a5ea1;this[_0x169575(0x16b)]=!0x1;}};_0x1457f3=_0x178fcf([_0x532ed0(0x2,_0x3ca32a[_0x5a5ea1(0x2dd)](_0x3ca32a[_0x5a5ea1(0x260)])),_0x532ed0(0x3,_0x3ca32a['Inject'](_0x157123)),_0x532ed0(0x4,_0x3ca32a[_0x5a5ea1(0x2dd)](_0x2a58e2[_0x5a5ea1(0x1a6)])),_0x532ed0(0x5,_0x3ca32a['IUniverInstanceService']),_0x532ed0(0x6,_0x3ca32a[_0x5a5ea1(0x1a9)]),_0x532ed0(0x7,_0x3ca32a['Inject'](_0x83dc80[_0x5a5ea1(0x1c1)]))],_0x1457f3);var _0x491be4=Object[_0x5a5ea1(0x3b1)],_0xf615ac=(_0x1ee779,_0x157cfd,_0xfd12fe,_0x901658)=>{for(var _0x42a10e=_0x901658>0x1?void 0x0:_0x901658?_0x491be4(_0x157cfd,_0xfd12fe):_0x157cfd,_0x595828=_0x1ee779['length']-0x1,_0x1f43d9;_0x595828>=0x0;_0x595828--)(_0x1f43d9=_0x1ee779[_0x595828])&&(_0x42a10e=_0x1f43d9(_0x42a10e)||_0x42a10e);return _0x42a10e;},_0x4a6b17=(_0x60da36,_0x20c676)=>(_0x524644,_0x2b6ca6)=>_0x20c676(_0x524644,_0x2b6ca6,_0x60da36);let _0xdaf07d=class extends _0x3ca32a['RxDisposable']{constructor(_0x2bb415,_0xab11ab,_0x5e0f97){const _0x3c0f0a=_0x5a5ea1;super(),_0x144f01(this,_0x3c0f0a(0x41e),new Map()),_0x144f01(this,'_entityInit$',new _0x467ef2[(_0x3c0f0a(0x340))]()),(this[_0x3c0f0a(0x390)]=_0x2bb415,this[_0x3c0f0a(0x269)]=_0xab11ab,this[_0x3c0f0a(0x426)]=_0x5e0f97,this[_0x3c0f0a(0x3e7)]());}[_0x5a5ea1(0x3d6)](){const _0x30ad9b=_0x5a5ea1;super['dispose'](),this[_0x30ad9b(0x36a)]['complete'](),this[_0x30ad9b(0x41e)][_0x30ad9b(0x436)](_0x6677eb=>_0x6677eb[_0x30ad9b(0x3d6)]());}['getCollabCursors$'](_0x450e41){const _0xc7f80f=_0x5a5ea1;return this[_0xc7f80f(0x41e)][_0xc7f80f(0x2a5)](_0x450e41)?this[_0xc7f80f(0x41e)][_0xc7f80f(0x351)](_0x450e41)[_0xc7f80f(0x385)]:this['_entityInit$'][_0xc7f80f(0x361)](_0x467ef2[_0xc7f80f(0x2d7)](_0x108451=>_0x108451[_0xc7f80f(0x32b)]===_0x450e41),_0x467ef2[_0xc7f80f(0x409)](_0x3d2109=>_0x3d2109[_0xc7f80f(0x385)]));}[_0x5a5ea1(0x3e7)](){const _0x43453a=_0x5a5ea1;this[_0x43453a(0x390)][_0x43453a(0x3bd)](_0x3ca32a[_0x43453a(0x23f)][_0x43453a(0x286)])[_0x43453a(0x361)](_0x467ef2['takeUntil'](this[_0x43453a(0x3e2)]))[_0x43453a(0x1cb)](async _0x498ed9=>{const _0x1bf925=_0x43453a,_0x159bf9=_0x498ed9[_0x1bf925(0x1b1)](),_0xaa8b9a=await this[_0x1bf925(0x191)](_0x159bf9);this[_0x1bf925(0x36a)]['next'](_0xaa8b9a),this[_0x1bf925(0x41e)][_0x1bf925(0x37f)](_0x159bf9,_0xaa8b9a);}),this[_0x43453a(0x390)]['getTypeOfUnitAdded$'](_0x3ca32a['UniverInstanceType']['UNIVER_DOC'])['pipe'](_0x467ef2[_0x43453a(0x2ad)](this[_0x43453a(0x3e2)]))[_0x43453a(0x361)](_0x467ef2['filter'](_0x39dcb9=>!_0x39dcb9[_0x43453a(0x1b1)]()[_0x43453a(0x18e)]('__')))['subscribe'](async _0x955e4d=>{const _0x5306a9=_0x43453a,_0x376b7b=_0x955e4d[_0x5306a9(0x1b1)](),_0x2d4240=await this['_startDocCollabCursor'](_0x376b7b);this[_0x5306a9(0x36a)][_0x5306a9(0x2ef)](_0x2d4240),this[_0x5306a9(0x41e)]['set'](_0x376b7b,_0x2d4240);}),_0x467ef2['merge'](this['_univerInstanceService'][_0x43453a(0x213)](_0x3ca32a[_0x43453a(0x23f)][_0x43453a(0x30c)]),this[_0x43453a(0x390)][_0x43453a(0x213)](_0x3ca32a[_0x43453a(0x23f)][_0x43453a(0x286)]))[_0x43453a(0x361)](_0x467ef2[_0x43453a(0x2ad)](this[_0x43453a(0x3e2)]))[_0x43453a(0x1cb)](_0x32c1be=>{const _0x594809=_0x43453a,_0x3af563=_0x32c1be[_0x594809(0x1b1)](),_0x626435=this[_0x594809(0x41e)][_0x594809(0x351)](_0x3af563);_0x626435&&(_0x626435[_0x594809(0x3d6)](),this[_0x594809(0x41e)]['delete'](_0x3af563));});}async['_startSheetCollabCursor'](_0x148e9e){const _0x22395a=_0x5a5ea1,_0x5a7682=await this['_collabSessionService'][_0x22395a(0x377)](_0x148e9e),_0x3089a8=this['_injector']['createInstance'](_0x1457f3,_0x148e9e,_0x5a7682);return _0x3089a8[_0x22395a(0x25c)](),_0x3089a8;}async[_0x5a5ea1(0x363)](_0x5ec969){const _0x463b1d=_0x5a5ea1,_0x46aafe=await this[_0x463b1d(0x426)][_0x463b1d(0x377)](_0x5ec969),_0x4d4b4f=this['_injector']['createInstance'](_0x58b3db,_0x5ec969,_0x46aafe);return _0x4d4b4f['init'](),_0x4d4b4f;}};_0xdaf07d=_0xf615ac([_0x4a6b17(0x0,_0x3ca32a[_0x5a5ea1(0x2d4)]),_0x4a6b17(0x1,_0x3ca32a[_0x5a5ea1(0x2dd)](_0x3ca32a[_0x5a5ea1(0x260)])),_0x4a6b17(0x2,_0x3ca32a[_0x5a5ea1(0x2dd)](_0x2a58e2[_0x5a5ea1(0x296)]))],_0xdaf07d);const _0x451bb5=0x14,_0x100e11=0xc8,_0x5c8a54=0x4,_0x5c5236=0x5;function _0x55df8d(_0x2b2d17,_0x253d8a){const _0x25c061=_0x5a5ea1;let {radius:_0x28b777,width:_0x35cbd0,height:_0x52b69a}=_0x253d8a;_0x28b777=_0x28b777!=null?_0x28b777:0x0,_0x35cbd0=_0x35cbd0!=null?_0x35cbd0:0x1e,_0x52b69a=_0x52b69a!=null?_0x52b69a:0x1e;let _0x2b6436=0x0,_0x1a4cb4=0x0,_0x50aced=0x0;_0x2b6436=_0x1a4cb4=_0x50aced=Math[_0x25c061(0x229)](_0x28b777,_0x35cbd0/0x2,_0x52b69a/0x2),_0x2b2d17[_0x25c061(0x306)](),_0x2b2d17['moveTo'](_0x2b6436,0x0),_0x2b2d17[_0x25c061(0x21a)](_0x35cbd0-_0x1a4cb4,0x0),_0x2b2d17[_0x25c061(0x19b)](_0x35cbd0-_0x1a4cb4,_0x1a4cb4,_0x1a4cb4,Math['PI']*0x3/0x2,0x0,!0x1),_0x2b2d17[_0x25c061(0x21a)](_0x35cbd0,_0x52b69a-_0x50aced),_0x2b2d17[_0x25c061(0x19b)](_0x35cbd0-_0x50aced,_0x52b69a-_0x50aced,_0x50aced,0x0,Math['PI']/0x2,!0x1),_0x2b2d17[_0x25c061(0x21a)](0x0,_0x52b69a),_0x2b2d17[_0x25c061(0x21a)](0x0,_0x2b6436),_0x2b2d17[_0x25c061(0x19b)](_0x2b6436,_0x2b6436,_0x2b6436,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2b2d17[_0x25c061(0x407)](),_0x253d8a[_0x25c061(0x23e)]&&(_0x2b2d17['save'](),_0x2b2d17[_0x25c061(0x431)]=_0x253d8a['fill'],_0x253d8a['fillRule']===_0x25c061(0x2b8)?_0x2b2d17['fill'](_0x25c061(0x2b8)):_0x2b2d17['fill'](),_0x2b2d17['restore']());}class _0x95f77a extends _0x10484c[_0x5a5ea1(0x412)]{constructor(_0x4a107e,_0x356082){const _0x5f2731=_0x5a5ea1;super(_0x4a107e,_0x356082),_0x144f01(this,'color'),_0x144f01(this,_0x5f2731(0x388)),(this[_0x5f2731(0x341)]=_0x356082==null?void 0x0:_0x356082[_0x5f2731(0x341)],this['text']=_0x356082==null?void 0x0:_0x356082[_0x5f2731(0x388)]);}static[_0x5a5ea1(0x1f4)](_0x18b609,_0x41a566){const _0x3f41d4=_0x5a5ea1,{text:_0x4fab5e,color:_0x4b6e00}=_0x41a566;_0x18b609[_0x3f41d4(0x210)](),_0x18b609[_0x3f41d4(0x3e1)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x327965=_0x18b609['measureText'](_0x4fab5e)[_0x3f41d4(0x315)],_0xdbdc=Math[_0x3f41d4(0x229)](_0x327965+0x2*_0x5c8a54,_0x100e11);_0x55df8d(_0x18b609,{'height':_0x451bb5,'radius':0x4,'width':_0xdbdc,'fill':_0x4b6e00}),_0x18b609[_0x3f41d4(0x431)]=_0x3f41d4(0x32a);const _0x14f456=_0x5c8a54,_0x3066fe=_0x451bb5-_0x5c5236,_0x3a43b2=_0x100e11-0x2*_0x5c8a54;if(_0x327965>_0x3a43b2){let _0x33c6c6='',_0x4e126d=0x0;for(const _0x991ce9 of _0x4fab5e){const _0x43fef6=_0x18b609[_0x3f41d4(0x218)](_0x991ce9)['width'];if(_0x4e126d+_0x43fef6<=_0x3a43b2-_0x18b609[_0x3f41d4(0x218)](_0x3f41d4(0x424))[_0x3f41d4(0x315)])_0x33c6c6+=_0x991ce9,_0x4e126d+=_0x43fef6;else{_0x33c6c6+=_0x3f41d4(0x424);break;}}_0x18b609[_0x3f41d4(0x1bb)](_0x33c6c6,_0x14f456,_0x3066fe);}else _0x18b609[_0x3f41d4(0x1bb)](_0x4fab5e,_0x14f456,_0x3066fe);_0x18b609[_0x3f41d4(0x15f)]();}[_0x5a5ea1(0x3d1)](_0x21448d){_0x95f77a['drawWith'](_0x21448d,this);}}const _0x2e6d1=_0x5a5ea1(0x314),_0x4a9534=_0x5a5ea1(0x445),_0x556e03=_0x5a5ea1(0x1ee),_0x34a175=0x6,_0x302b09=1.5,_0x58459a=0x4,_0x5c13fa=1.5,_0x3ee607=_0x5a5ea1(0x2ca);class _0x310c23{constructor(_0x2bd0e0,_0x5d878c,_0xd4f077,_0x86ece2){const _0x52816c=_0x5a5ea1;_0x144f01(this,_0x52816c(0x2c6),[]),_0x144f01(this,_0x52816c(0x422),null),_0x144f01(this,'_textBubble',null),_0x144f01(this,'_anchorDot',null),_0x144f01(this,_0x52816c(0x33a),null),_0x144f01(this,_0x52816c(0x350),null),(this['_cursor']=_0x2bd0e0,this[_0x52816c(0x430)]=_0x5d878c,this[_0x52816c(0x1a8)]=_0xd4f077,this[_0x52816c(0x2e2)]=_0x86ece2,this[_0x52816c(0x34e)]());}set[_0x5a5ea1(0x30b)](_0x3a72a9){const _0x4f5d8a=_0x5a5ea1;_0x3a72a9?(this[_0x4f5d8a(0x16a)]&&this[_0x4f5d8a(0x16a)][_0x4f5d8a(0x1c0)](),this[_0x4f5d8a(0x25d)]&&this[_0x4f5d8a(0x25d)][_0x4f5d8a(0x19c)]()):(this[_0x4f5d8a(0x16a)]&&this[_0x4f5d8a(0x16a)][_0x4f5d8a(0x19c)](),this[_0x4f5d8a(0x25d)]&&this['_textBubble'][_0x4f5d8a(0x1c0)]());}[_0x5a5ea1(0x3d6)](){const _0x4cc446=_0x5a5ea1;for(const _0x8356df of this[_0x4cc446(0x2c6)])_0x8356df[_0x4cc446(0x3d6)]();this[_0x4cc446(0x25d)]&&this['_textBubble'][_0x4cc446(0x3d6)](),this[_0x4cc446(0x16a)]&&this[_0x4cc446(0x16a)]['dispose'](),this[_0x4cc446(0x422)]&&this[_0x4cc446(0x422)][_0x4cc446(0x3d6)](),this[_0x4cc446(0x350)]&&this['_eventUnsubscribe']();}[_0x5a5ea1(0x34e)](){const _0x12a651=_0x5a5ea1;var _0x2a7a36;const {_docSkeleton:_0x5bddfc,_document:_0x3f7d1c}=this,{color:_0x29bdbb,name:_0x53c5be,ranges:_0x59b1fe}=this['_cursor'],_0x2d878c=_0x3f7d1c['getOffsetConfig'](),{docsLeft:_0x4f05af,docsTop:_0x3ed3f0}=_0x2d878c,_0x1e0f49=new _0xf059ad['NodePositionConvertToCursor'](_0x2d878c,_0x5bddfc);for(const {startOffset:_0x1bbc43,endOffset:_0x20b1b6,rangeType:_0x120960,segmentId:_0x459981,segmentPage:_0x5dc639,collapsed:_0x4b1d95,isActive:_0x1fd033}of _0x59b1fe){const _0x24c20a=_0x5bddfc['findNodePositionByCharIndex'](_0x1bbc43,!0x0,_0x459981,_0x5dc639);let _0x259117=_0x5bddfc[_0x12a651(0x1c2)](_0x20b1b6,!0x0,_0x459981,_0x5dc639);if(_0x259117==null&&(_0x259117=_0x5bddfc[_0x12a651(0x1c2)](_0x20b1b6-0x1,!0x1,_0x459981,_0x5dc639)),_0x1fd033){const {contentBoxPointGroup:_0x190bf9}=_0x1e0f49[_0x12a651(0x3c4)](_0x259117,_0x259117);if(_0x190bf9[_0x12a651(0x3ca)]===0x0)continue;this['_drawAnchor'](_0x29bdbb,_0x190bf9,_0x4f05af,_0x3ed3f0,_0x53c5be),this[_0x12a651(0x350)]=this[_0x12a651(0x2cf)]();}if(_0x24c20a&&_0x259117){if(_0x120960===_0x3ca32a['DOC_RANGE_TYPE'][_0x12a651(0x217)]){const _0xf90a2d=new _0xf059ad[(_0x12a651(0x23d))](_0x2d878c,_0x5bddfc),{pointGroup:_0x2810d5}=(_0x2a7a36=_0xf90a2d[_0x12a651(0x3c4)](_0x24c20a,_0x259117))!=null?_0x2a7a36:{};if(_0x2810d5==null||_0x2810d5['length']===0x0)continue;this['_drawRectRange'](_0x29bdbb,_0x2810d5,_0x4f05af,_0x3ed3f0);}else{if(!_0x4b1d95){const {borderBoxPointGroup:_0x51f827}=_0x1e0f49[_0x12a651(0x3c4)](_0x24c20a,_0x259117);if(_0x51f827[_0x12a651(0x3ca)]===0x0)continue;this['_drawTextRange'](_0x29bdbb,_0x51f827,_0x4f05af,_0x3ed3f0);}}}}}[_0x5a5ea1(0x246)](_0x121da2,_0x3b142f,_0x275454,_0x510eab,_0x3b0c1b){const _0x2ce211=_0x5a5ea1,_0x408fa3=this[_0x2ce211(0x18c)](_0x3b142f),{left:_0xaecc18,top:_0xc125d0,height:_0xe8fd1a}=_0x408fa3,_0x134c90=this[_0x2ce211(0x3cb)](),_0x30da82=_0x5c13fa/_0x134c90,_0x1d6b42=new _0x10484c[(_0x2ce211(0x3ea))](_0x2e6d1+_0x3ca32a[_0x2ce211(0x31f)](_0x34a175),{'left':_0xaecc18+_0x275454-_0x30da82,'top':_0xc125d0+_0x510eab,'height':_0xe8fd1a,'width':_0x302b09,'fill':_0x121da2||_0x10484c['getColor'](_0x3ca32a[_0x2ce211(0x25e)][_0x2ce211(0x280)],0x0),'strokeWidth':_0x30da82,'stroke':_0x3ee607,'evented':!0x0});this[_0x2ce211(0x422)]=_0x1d6b42,this['_scene'][_0x2ce211(0x3d5)](_0x1d6b42,_0xf059ad[_0x2ce211(0x224)]);const _0x21f086=new _0x10484c['Rect'](_0x2e6d1+_0x3ca32a['generateRandomId'](_0x34a175),{'left':_0xaecc18+_0x275454-_0x30da82,'top':_0xc125d0+_0x510eab-_0x58459a/0x2,'height':_0x58459a,'width':_0x58459a,'fill':_0x121da2||_0x10484c[_0x2ce211(0x2c9)](_0x3ca32a[_0x2ce211(0x25e)][_0x2ce211(0x280)],0x0),'strokeWidth':0x0,'stroke':_0x121da2||_0x10484c[_0x2ce211(0x2c9)](_0x3ca32a[_0x2ce211(0x25e)][_0x2ce211(0x280)],0x0),'evented':!0x1});this[_0x2ce211(0x16a)]=_0x21f086,this['_scene']['addObject'](_0x21f086,_0xf059ad[_0x2ce211(0x224)]);const _0x3ab723=new _0x95f77a(_0x2e6d1+_0x3ca32a[_0x2ce211(0x31f)](_0x34a175),{'left':_0xaecc18+_0x275454-_0x30da82,'top':_0xc125d0+_0x510eab-_0x451bb5,'text':_0x3b0c1b,'color':_0x121da2});this[_0x2ce211(0x25d)]=_0x3ab723,this[_0x2ce211(0x430)][_0x2ce211(0x3d5)](_0x3ab723,_0xf059ad[_0x2ce211(0x224)]),this['_hover']=!0x1;}[_0x5a5ea1(0x2cf)](){const _0x12edca=_0x5a5ea1,_0x773d9c=this[_0x12edca(0x422)][_0x12edca(0x1e5)]['subscribeEvent'](()=>{const _0x338c01=_0x12edca;this[_0x338c01(0x30b)]=!0x0;}),_0x2594cb=this[_0x12edca(0x422)][_0x12edca(0x1c8)][_0x12edca(0x336)](()=>{const _0x4a6aab=_0x12edca;this['_hideTimer']&&clearTimeout(this[_0x4a6aab(0x33a)]),this[_0x4a6aab(0x33a)]=setTimeout(()=>{const _0x52308a=_0x4a6aab;this[_0x52308a(0x30b)]=!0x1;},0x7d0);});return()=>{const _0x1b29ab=_0x12edca;_0x773d9c['unsubscribe'](),_0x2594cb[_0x1b29ab(0x1f7)]();};}[_0x5a5ea1(0x1a5)](_0x50aedf,_0x2b2f7e,_0x49ae29,_0x154e53){const _0x580668=_0x5a5ea1,_0xc7b7ef=new _0x3ca32a[(_0x580668(0x225))](_0x50aedf)[_0x580668(0x3e4)](0.2)[_0x580668(0x1d0)](),_0x39463e=new _0x10484c[(_0x580668(0x34f))](_0x4a9534+_0x3ca32a['generateRandomId'](_0x34a175),{'pointsGroup':_0x2b2f7e,'fill':_0xc7b7ef||_0x10484c[_0x580668(0x2c9)](_0x3ca32a[_0x580668(0x25e)][_0x580668(0x280)],0.2),'left':_0x49ae29,'top':_0x154e53,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x580668(0x2c6)][_0x580668(0x254)](_0x39463e),this['_scene']['addObject'](_0x39463e,_0xf059ad[_0x580668(0x224)]);}[_0x5a5ea1(0x22c)](_0x41ebf6,_0x4611f2,_0x408b09,_0x37b3fc){const _0x402a2d=_0x5a5ea1,_0xb719f2=new _0x3ca32a['ColorKit'](_0x41ebf6)['setAlpha'](0.2)[_0x402a2d(0x1d0)](),_0x93d9c2=new _0x10484c['RegularPolygon'](_0x556e03+_0x3ca32a[_0x402a2d(0x31f)](_0x34a175),{'pointsGroup':_0x4611f2,'fill':_0xb719f2||_0x10484c[_0x402a2d(0x2c9)](_0x3ca32a['COLORS'][_0x402a2d(0x280)],0.2),'left':_0x408b09,'top':_0x37b3fc,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x402a2d(0x254)](_0x93d9c2),this[_0x402a2d(0x430)][_0x402a2d(0x3d5)](_0x93d9c2,_0xf059ad['TEXT_RANGE_LAYER_INDEX']);}[_0x5a5ea1(0x18c)](_0x17740b){const _0x9d26e8=_0x17740b[0x0],_0x1db10f=_0x9d26e8[0x0],_0xc581bb=_0x9d26e8[0x2],{x:_0x348b16,y:_0x2825d1}=_0x1db10f,{x:_0x510ffb,y:_0x43a5e}=_0xc581bb;return{'left':_0x348b16,'top':_0x2825d1,'width':_0x510ffb-_0x348b16,'height':_0x43a5e-_0x2825d1};}[_0x5a5ea1(0x3cb)](){const _0x509b6a=_0x5a5ea1,{scaleX:_0x15bbf8,scaleY:_0x3bbd8e}=this[_0x509b6a(0x430)][_0x509b6a(0x18b)]();return Math[_0x509b6a(0x345)](_0x15bbf8,_0x3bbd8e);}}var _0x5b74d2=Object[_0x5a5ea1(0x3b1)],_0x579d57=(_0x325256,_0x47b9c4,_0x1dea5b,_0x2832dc)=>{const _0x2acaad=_0x5a5ea1;for(var _0x547782=_0x2832dc>0x1?void 0x0:_0x2832dc?_0x5b74d2(_0x47b9c4,_0x1dea5b):_0x47b9c4,_0x5d2a33=_0x325256[_0x2acaad(0x3ca)]-0x1,_0x25bdf5;_0x5d2a33>=0x0;_0x5d2a33--)(_0x25bdf5=_0x325256[_0x5d2a33])&&(_0x547782=_0x25bdf5(_0x547782)||_0x547782);return _0x547782;},_0x21a011=(_0x228c9d,_0x2c6a2f)=>(_0x1ca5f4,_0x327c81)=>_0x2c6a2f(_0x1ca5f4,_0x327c81,_0x228c9d);let _0x1ae47a=class extends _0x3ca32a[_0x5a5ea1(0x397)]{constructor(_0x202483,_0x301d16,_0x408457,_0x949bc3,_0x18d228){const _0x52feda=_0x5a5ea1;super(),_0x144f01(this,_0x52feda(0x28a),[]),_0x144f01(this,_0x52feda(0x444),[]),(this['_context']=_0x202483,this[_0x52feda(0x413)]=_0x301d16,this['_collabCursorController']=_0x408457,this[_0x52feda(0x2b6)]=_0x949bc3,this[_0x52feda(0x174)]=_0x18d228,this['_init']());}[_0x5a5ea1(0x3e7)](){const _0x101d33=_0x5a5ea1,_0x11d0fe=this[_0x101d33(0x292)][_0x101d33(0x371)],_0x1db81d=this[_0x101d33(0x413)];this[_0x101d33(0x36d)](_0x467ef2[_0x101d33(0x2cd)]([this[_0x101d33(0x3d2)][_0x101d33(0x1fa)](_0x11d0fe),this[_0x101d33(0x174)][_0x101d33(0x283)]])[_0x101d33(0x361)](_0x4a78c7[_0x101d33(0x2e4)](([_0xbc3fe9,_0x2855eb])=>({'skeleton':_0x1db81d[_0x101d33(0x234)](),'cursors':[..._0xbc3fe9[_0x101d33(0x33e)]()][_0x101d33(0x1ad)](_0x1b74a6=>({..._0x1b74a6,'color':this[_0x101d33(0x174)][_0x101d33(0x309)](_0x1b74a6[_0x101d33(0x341)])}))})))[_0x101d33(0x1cb)](_0x5c55c2=>{const _0x344c25=_0x101d33;if(this['_removeCollabCursors'](),_0x5c55c2){const {skeleton:_0x5229af,cursors:_0x65f865}=_0x5c55c2;this[_0x344c25(0x21c)](_0x5229af,_0x65f865);}})),this['_initResize'](),this[_0x101d33(0x24c)]();}['_updateCollabCursors'](_0x262ae2,_0xf40550){const _0x54267e=_0x5a5ea1,{scene:_0x505fbf,mainComponent:_0x2f1326}=this[_0x54267e(0x292)],_0x229ed6=_0xf40550['map'](_0x1b991d=>new _0x310c23(_0x1b991d,_0x505fbf,_0x262ae2,_0x2f1326));this[_0x54267e(0x28a)]=_0x229ed6,this[_0x54267e(0x444)]=_0xf40550;}[_0x5a5ea1(0x1da)](){const _0x13ad63=_0x5a5ea1;this[_0x13ad63(0x3b0)]();const {scene:_0x174111,mainComponent:_0x11d59f}=this[_0x13ad63(0x292)],_0x3dddb6=this[_0x13ad63(0x413)][_0x13ad63(0x234)](),_0x4b1820=this['_cursors'][_0x13ad63(0x2e4)](_0x3c55c4=>new _0x310c23(_0x3c55c4,_0x174111,_0x3dddb6,_0x11d59f));this[_0x13ad63(0x28a)]=_0x4b1820;}['_removeCollabCursors'](){const _0x38a36a=_0x5a5ea1;this[_0x38a36a(0x28a)][_0x38a36a(0x436)](_0x5436f6=>_0x5436f6[_0x38a36a(0x3d6)]()),this['_cursorShapes']=[];}[_0x5a5ea1(0x24c)](){const _0x52bcfe=_0x5a5ea1,_0x2421a4=[_0xf059ad[_0x52bcfe(0x38f)]['id']];this[_0x52bcfe(0x36d)](this['_commandService'][_0x52bcfe(0x376)](_0x2ebdd2=>{const _0x520305=_0x52bcfe;_0x2421a4['includes'](_0x2ebdd2['id'])&&_0x2ebdd2[_0x520305(0x184)][_0x520305(0x371)]===this[_0x520305(0x292)][_0x520305(0x371)]&&this[_0x520305(0x1da)]();}));}[_0x5a5ea1(0x400)](){const _0x4ad54a=_0x5a5ea1;this['disposeWithMe'](_0x3ca32a[_0x4ad54a(0x2b5)](this[_0x4ad54a(0x292)][_0x4ad54a(0x227)][_0x4ad54a(0x2f6)])[_0x4ad54a(0x361)](_0x4a78c7['filter'](_0x46f8ed=>_0x46f8ed[_0x4ad54a(0x289)]===_0x10484c['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x4ad54a(0x20c)]),_0x4a78c7[_0x4ad54a(0x343)](0x10))[_0x4ad54a(0x1cb)](()=>{const _0x43e84f=_0x4ad54a;this[_0x43e84f(0x1da)]();}));}};_0x1ae47a=_0x579d57([_0x21a011(0x1,_0x3ca32a[_0x5a5ea1(0x2dd)](_0xc476c0[_0x5a5ea1(0x3fa)])),_0x21a011(0x2,_0x3ca32a['Inject'](_0xdaf07d)),_0x21a011(0x3,_0x3ca32a[_0x5a5ea1(0x1a9)]),_0x21a011(0x4,_0x3ca32a['Inject'](_0x3ca32a[_0x5a5ea1(0x3e0)]))],_0x1ae47a);const _0x1bfd03=0x1,_0x155185=1.5;class _0x289df0 extends _0x10484c[_0x5a5ea1(0x412)]{constructor(_0x4594f8,_0x85db41){const _0x3f73c1=_0x5a5ea1;super(_0x4594f8,_0x85db41),_0x144f01(this,_0x3f73c1(0x3dc)),_0x144f01(this,'_hovered',!0x1),_0x144f01(this,_0x3f73c1(0x1ae)),_0x144f01(this,_0x3f73c1(0x356),''),_0x144f01(this,_0x3f73c1(0x375),_0x3f73c1(0x3d0)),_0x144f01(this,_0x3f73c1(0x206)),(_0x85db41&&this[_0x3f73c1(0x1e4)](_0x85db41),this[_0x3f73c1(0x1e5)]['subscribeEvent'](()=>this[_0x3f73c1(0x1e4)]({'hovered':!0x0})),this[_0x3f73c1(0x1c8)][_0x3f73c1(0x336)](()=>this[_0x3f73c1(0x1e4)]({'hovered':!0x1})));}[_0x5a5ea1(0x1e4)](_0x3c1d8a){const _0x5a4d00=_0x5a5ea1;var _0x39ef15,_0x44f872,_0x4a3472,_0xcbcc54,_0x2f3fba,_0x14edad;this['_color']=(_0x39ef15=_0x3c1d8a['color'])!=null?_0x39ef15:this[_0x5a4d00(0x3dc)],this['_hovered']=(_0x44f872=_0x3c1d8a['hovered'])!=null?_0x44f872:this[_0x5a4d00(0x28b)],this[_0x5a4d00(0x1ae)]=(_0x4a3472=_0x3c1d8a['range'])!=null?_0x4a3472:this[_0x5a4d00(0x1ae)],this[_0x5a4d00(0x356)]=(_0xcbcc54=_0x3c1d8a['name'])!=null?_0xcbcc54:this[_0x5a4d00(0x356)],this['_labelPosition']=(_0x2f3fba=_0x3c1d8a[_0x5a4d00(0x2b4)])!=null?_0x2f3fba:this['_labelPosition'],this[_0x5a4d00(0x206)]=(_0x14edad=_0x3c1d8a[_0x5a4d00(0x298)])!=null?_0x14edad:this[_0x5a4d00(0x206)],this['transformByState']({'width':_0x3c1d8a[_0x5a4d00(0x315)],'height':_0x3c1d8a['height']});}['onMouseMove'](_0x21aeee){const _0x1fbdce=_0x5a5ea1,{row:_0x4fb962,column:_0x170797}=_0x21aeee;if(_0x4fb962>=this[_0x1fbdce(0x1ae)][_0x1fbdce(0x29b)]&&_0x4fb962<=this[_0x1fbdce(0x1ae)]['endRow']&&_0x170797>=this[_0x1fbdce(0x1ae)]['startColumn']&&_0x170797<=this['_range'][_0x1fbdce(0x399)]){this[_0x1fbdce(0x1e4)]({'hovered':!0x0});return;}this[_0x1fbdce(0x1e4)]({'hovered':!0x1});}[_0x5a5ea1(0x3aa)](_0x194667){return!0x1;}[_0x5a5ea1(0x3d1)](_0x582e3c){const _0x5ebf49=_0x5a5ea1;_0x10484c[_0x5ebf49(0x3ea)][_0x5ebf49(0x1f4)](_0x582e3c,{'width':this[_0x5ebf49(0x315)],'height':this[_0x5ebf49(0x261)],'strokeWidth':_0x155185,'stroke':this[_0x5ebf49(0x3dc)],'evented':!0x1,'fill':this[_0x5ebf49(0x206)]}),this['_hovered']&&(_0x582e3c[_0x5ebf49(0x210)](),_0x582e3c[_0x5ebf49(0x194)](0x1,0x0,0x0,0x1,this[_0x5ebf49(0x315)],this[_0x5ebf49(0x375)]===_0x5ebf49(0x1d8)?0x0:-_0x451bb5),_0x95f77a[_0x5ebf49(0x1f4)](_0x582e3c,{'text':this[_0x5ebf49(0x356)],'color':this[_0x5ebf49(0x3dc)]}),_0x582e3c['restore']());}}var _0x12f286=Object['getOwnPropertyDescriptor'],_0x130fe5=(_0x2a8e67,_0x1c4bf8,_0x26af4d,_0xf3d95)=>{const _0x411e8d=_0x5a5ea1;for(var _0x1351f5=_0xf3d95>0x1?void 0x0:_0xf3d95?_0x12f286(_0x1c4bf8,_0x26af4d):_0x1c4bf8,_0x873471=_0x2a8e67[_0x411e8d(0x3ca)]-0x1,_0x4ced77;_0x873471>=0x0;_0x873471--)(_0x4ced77=_0x2a8e67[_0x873471])&&(_0x1351f5=_0x4ced77(_0x1351f5)||_0x1351f5);return _0x1351f5;},_0x59d6ef=(_0x208424,_0xf3ce1a)=>(_0x568722,_0x6fa8c4)=>_0xf3ce1a(_0x568722,_0x6fa8c4,_0x208424);const _0x36de63=0x1389;let _0x2005e5=class extends _0x3ca32a[_0x5a5ea1(0x397)]{constructor(_0x3e9fcf,_0x44c1b7,_0x157011,_0xab164c){const _0x2e597f=_0x5a5ea1;super(),_0x144f01(this,_0x2e597f(0x444),new Set()),_0x144f01(this,_0x2e597f(0x323),null),(this[_0x2e597f(0x292)]=_0x3e9fcf,this['_sheetSkeletonManagerService']=_0x44c1b7,this[_0x2e597f(0x3d2)]=_0x157011,this['_themeService']=_0xab164c,this[_0x2e597f(0x3e7)]());}['_init'](){const _0x2926d7=_0x5a5ea1;this['_sheetSkeletonManagerService'][_0x2926d7(0x192)][_0x2926d7(0x361)](_0x4a78c7[_0x2926d7(0x2ad)](this[_0x2926d7(0x3e2)]),_0x4a78c7[_0x2926d7(0x409)](_0x1024a8=>{const _0x27ee8d=_0x2926d7;if(_0x1024a8){const _0x291fbc=_0x1024a8[_0x27ee8d(0x241)];return _0x467ef2['combineLatest'](this[_0x27ee8d(0x3d2)][_0x27ee8d(0x1fa)](this[_0x27ee8d(0x292)][_0x27ee8d(0x371)]),this[_0x27ee8d(0x174)]['currentTheme$'])[_0x27ee8d(0x361)](_0x4a78c7[_0x27ee8d(0x2e4)](([_0x268a0b,_0x95cb58])=>{const _0x47968c=_0x27ee8d,_0xce397e=new Map();return _0x268a0b[_0x47968c(0x436)]((_0x5ab57a,_0x3d24a9)=>{const _0x2305f2=_0x47968c;if(_0x5ab57a[_0x2305f2(0x257)]===_0x291fbc){const _0x157e4a={..._0x5ab57a};_0x157e4a[_0x2305f2(0x341)]=this[_0x2305f2(0x174)][_0x2305f2(0x309)](_0x5ab57a[_0x2305f2(0x341)]),_0xce397e[_0x2305f2(0x37f)](_0x3d24a9,_0x157e4a);}}),{'skeleton':_0x1024a8,'cursors':_0xce397e};}));}return _0x467ef2['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x4c4b5c,cursors:_0x18ffee})=>{const _0x656aec=_0x2926d7;this[_0x656aec(0x3b0)](),_0x4c4b5c&&this[_0x656aec(0x21c)](_0x4c4b5c,_0x18ffee);}),this[_0x2926d7(0x3b3)][_0x2926d7(0x192)]['subscribe'](_0x2fde35=>{const _0x303dfc=_0x2926d7;if(_0x2fde35==null)return;const {skeleton:_0x2bfdb9}=_0x2fde35,{scene:_0x4d0dac}=this[_0x303dfc(0x292)];_0x4d0dac[_0x303dfc(0x313)][_0x303dfc(0x336)](_0x3ca32a[_0x303dfc(0x2d0)](_0xafeab6=>{const _0x2b1081=_0x303dfc;var _0x1ebdfc,_0x519bf7;const {offsetX:_0x57e2d1,offsetY:_0x4cfd84}=_0xafeab6,{x:_0x10b990,y:_0x3c9a00}=_0x4d0dac[_0x2b1081(0x384)](_0x10484c[_0x2b1081(0x173)][_0x2b1081(0x446)]([_0x57e2d1,_0x4cfd84])),{scaleX:_0x2d6280,scaleY:_0x2faf7c}=_0x4d0dac[_0x2b1081(0x18b)](),_0x164861=_0x4d0dac[_0x2b1081(0x433)](_0x10484c[_0x2b1081(0x2c0)][_0x2b1081(0x1ab)]),_0x320b90=_0x4d0dac['getVpScrollXYInfoByPosToVp'](_0x10484c[_0x2b1081(0x173)][_0x2b1081(0x446)]([_0x10b990,_0x3c9a00]),_0x164861),_0x32bf8f=_0x2bfdb9[_0x2b1081(0x342)](_0x57e2d1,_0x4cfd84,_0x2d6280,_0x2faf7c,_0x320b90);((_0x1ebdfc=this[_0x2b1081(0x323)])==null?void 0x0:_0x1ebdfc[_0x2b1081(0x2f2)])===_0x32bf8f[_0x2b1081(0x2f2)]&&((_0x519bf7=this['_lastPointer'])==null?void 0x0:_0x519bf7[_0x2b1081(0x31e)])===_0x32bf8f[_0x2b1081(0x31e)]||this[_0x2b1081(0x444)][_0x2b1081(0x436)](_0x52555f=>{const _0x525d63=_0x2b1081;_0x52555f[_0x525d63(0x404)](_0x32bf8f);});},0x64));});}['_updateCollabCursors'](_0x1d6258,_0x4fd9c4){const _0x53afa7=_0x5a5ea1;var _0xe18b9;const _0x1f0696=(_0xe18b9=this[_0x53afa7(0x3b3)][_0x53afa7(0x1b0)]())==null?void 0x0:_0xe18b9[_0x53afa7(0x382)];if(!_0x1f0696)return;const _0x108d1e=this['_getSheetObject']();if(!_0x108d1e)return;this[_0x53afa7(0x444)]['forEach'](_0x263fe1=>{const _0x44a41d=_0x53afa7;_0x263fe1[_0x44a41d(0x35e)]();});const {scene:_0x3e3ab5}=_0x108d1e,_0x18a590=_0xc664c7(Array['from'](_0x4fd9c4[_0x53afa7(0x33e)]()))[_0x53afa7(0x2e4)](_0x5ec142=>{const _0x1fc9d6=_0x53afa7,{color:_0x2873d5,range:_0x55a0f3,name:_0x5d3f43,selection:_0x24be48,sheetID:_0x453bae}=_0x5ec142,{startColumn:_0x3a2970,startRow:_0x4d8b8c,endColumn:_0x4e64a2,endRow:_0x15b412}=_0x55a0f3,_0x40e392=_0xdb04ec[_0x1fc9d6(0x271)](_0x4d8b8c,_0x3a2970,_0x3e3ab5,_0x1f0696),_0x22ce57=_0xdb04ec[_0x1fc9d6(0x271)](_0x15b412,_0x4e64a2,_0x3e3ab5,_0x1f0696),{columnHeaderHeightAndMarginTop:_0x9fda13}=_0x1f0696,{startX:_0x3b433c,startY:_0x582b5c}=_0x40e392,{endX:_0x4627d2,endY:_0x54e55a}=_0x22ce57,_0x293604=_0x4627d2-_0x3b433c,_0x2eeb36=_0x54e55a-_0x582b5c,_0x5aa6a2={'labelPosition':_0x582b5c-_0x9fda13>=_0x451bb5?_0x1fc9d6(0x3d0):'bottom','sheetID':_0x453bae,'range':_0x55a0f3,'color':_0x2873d5,'name':_0x5d3f43,'selection':_0x24be48,'left':_0x3b433c,'top':_0x582b5c,'width':_0x293604,'height':_0x2eeb36,'evented':!0x1,'zIndex':_0x36de63};return new _0x289df0(_0x5d3f43,_0x5aa6a2);});_0x3e3ab5[_0x53afa7(0x3c0)](_0x18a590,_0x1bfd03),this['_cursors']=new Set(_0x18a590);}[_0x5a5ea1(0x3b0)](){const _0x3634f2=_0x5a5ea1;var _0x1ae5e4;(_0x1ae5e4=this[_0x3634f2(0x444)])==null||_0x1ae5e4['forEach'](_0x456ecb=>_0x456ecb[_0x3634f2(0x3d6)]());}['_getSheetObject'](){const _0x12e362=_0x5a5ea1;return _0xdb04ec[_0x12e362(0x3e9)](this[_0x12e362(0x292)]['unit'],this['_context']);}};_0x2005e5=_0x130fe5([_0x59d6ef(0x1,_0x3ca32a[_0x5a5ea1(0x2dd)](_0xdb04ec['SheetSkeletonManagerService'])),_0x59d6ef(0x2,_0x3ca32a['Inject'](_0xdaf07d)),_0x59d6ef(0x3,_0x3ca32a[_0x5a5ea1(0x2dd)](_0x3ca32a[_0x5a5ea1(0x3e0)]))],_0x2005e5);function _0xc664c7(_0x189ac6){const _0x201225=_0x5a5ea1,_0x1337bb=new Map();return _0x189ac6[_0x201225(0x436)](_0x3d4794=>{const _0x42d153=_0x201225;if(_0x1337bb[_0x42d153(0x2a5)](_0x3d4794['selection'])){const _0x40ae18=_0x1337bb[_0x42d153(0x351)](_0x3d4794[_0x42d153(0x2a3)]);_0x40ae18['name']+=',\x20'+_0x3d4794[_0x42d153(0x32e)];}else _0x1337bb['set'](_0x3d4794[_0x42d153(0x2a3)],_0x3d4794);}),Array[_0x201225(0x357)](_0x1337bb[_0x201225(0x33e)]());}var _0xa68f8e=Object[_0x5a5ea1(0x3b1)],_0x24f91f=(_0x4e1d66,_0x1f8863,_0x2f543b,_0x2c8422)=>{const _0x45b05e=_0x5a5ea1;for(var _0x551be3=_0x2c8422>0x1?void 0x0:_0x2c8422?_0xa68f8e(_0x1f8863,_0x2f543b):_0x1f8863,_0x4ca754=_0x4e1d66[_0x45b05e(0x3ca)]-0x1,_0x2af7e8;_0x4ca754>=0x0;_0x4ca754--)(_0x2af7e8=_0x4e1d66[_0x4ca754])&&(_0x551be3=_0x2af7e8(_0x551be3)||_0x551be3);return _0x551be3;},_0x2fcccb=(_0x38ae39,_0x572869)=>(_0x42ce69,_0x51018e)=>_0x572869(_0x42ce69,_0x51018e,_0x38ae39);let _0x2175be=class extends _0x3ca32a[_0x5a5ea1(0x1df)]{constructor(_0x162fd8,_0x462349,_0x3fc568,_0x4761ee,_0x28081c,_0x4c99be){const _0x408ec6=_0x5a5ea1;super(),this[_0x408ec6(0x30a)]=_0x162fd8,this[_0x408ec6(0x222)]=_0x462349,this[_0x408ec6(0x316)]=_0x3fc568,this[_0x408ec6(0x3a2)]=_0x4761ee,this[_0x408ec6(0x295)]=_0x28081c,this[_0x408ec6(0x3cd)]=_0x4c99be,this[_0x408ec6(0x220)](),this[_0x408ec6(0x3a3)]();}[_0x5a5ea1(0x220)](){const _0x2c2baa=_0x5a5ea1;this[_0x2c2baa(0x36d)](this[_0x2c2baa(0x30a)]['registerBeforeClose'](()=>{const _0x59f38d=_0x2c2baa;if(this[_0x59f38d(0x222)][_0x59f38d(0x1f5)][_0x59f38d(0x1b6)])return this['_localeService']['t'](_0x59f38d(0x3ee));}));}[_0x5a5ea1(0x3a3)](){const _0x4a16d7=_0x5a5ea1;this[_0x4a16d7(0x36d)](this['_collaborationUIEventService'][_0x4a16d7(0x22e)]['subscribe'](_0x15c9fe=>{const _0x4e308f=_0x4a16d7;_0x15c9fe['id']===_0x2a58e2[_0x4e308f(0x423)]['OTHER_CLIENT_EDITING']&&this[_0x4e308f(0x3a2)][_0x4e308f(0x19c)]({'type':_0x22c154['MessageType']['Warning'],'content':this[_0x4e308f(0x3cd)]['t'](_0x4e308f(0x172))}),_0x15c9fe['id']===_0x2a58e2[_0x4e308f(0x423)][_0x4e308f(0x16e)]&&this[_0x4e308f(0x3a2)]['show']({'type':_0x22c154[_0x4e308f(0x3fc)][_0x4e308f(0x348)],'content':this['_localeService']['t'](_0x4e308f(0x337))}),_0x15c9fe['id']===_0x2a58e2[_0x4e308f(0x423)]['PERMISSION_DENIED']&&this[_0x4e308f(0x295)][_0x4e308f(0x19c)]({'title':this['_localeService']['t'](_0x4e308f(0x3cf)),'content':this[_0x4e308f(0x3cd)]['t'](_0x4e308f(0x3be)),'type':'error','duration':0x0}),_0x15c9fe['id']===_0x2a58e2[_0x4e308f(0x423)][_0x4e308f(0x312)]&&this[_0x4e308f(0x3a2)][_0x4e308f(0x19c)]({'type':_0x22c154[_0x4e308f(0x3fc)][_0x4e308f(0x3e5)],'content':this[_0x4e308f(0x3cd)]['t'](_0x4e308f(0x337))+'('+_0x15c9fe[_0x4e308f(0x447)]+')'}),_0x15c9fe['id']===_0x2a58e2[_0x4e308f(0x423)][_0x4e308f(0x158)]&&this[_0x4e308f(0x3a2)][_0x4e308f(0x19c)]({'type':_0x22c154['MessageType'][_0x4e308f(0x348)],'content':this['_localeService']['t'](_0x15c9fe['data']||'')}),_0x15c9fe['id']===_0x2a58e2[_0x4e308f(0x423)][_0x4e308f(0x43f)]&&this[_0x4e308f(0x3a2)][_0x4e308f(0x19c)]({'type':_0x22c154[_0x4e308f(0x3fc)][_0x4e308f(0x348)],'content':this[_0x4e308f(0x3cd)]['t'](_0x4e308f(0x2b9))}),_0x15c9fe['id']===_0x2a58e2['CollaborationUIEventId'][_0x4e308f(0x1e6)]&&this['_messageService'][_0x4e308f(0x19c)]({'type':_0x22c154[_0x4e308f(0x3fc)]['Error'],'content':this[_0x4e308f(0x3cd)]['t'](_0x4e308f(0x2f3))}),_0x15c9fe['id']===_0x2a58e2[_0x4e308f(0x423)][_0x4e308f(0x2a0)]&&this['_messageService'][_0x4e308f(0x19c)]({'type':_0x22c154[_0x4e308f(0x3fc)]['Error'],'content':this[_0x4e308f(0x3cd)]['t'](_0x4e308f(0x203))});}));}};_0x2175be=_0x24f91f([_0x2fcccb(0x0,_0x32fdb4[_0x5a5ea1(0x293)]),_0x2fcccb(0x1,_0x2a58e2[_0x5a5ea1(0x16d)]),_0x2fcccb(0x2,_0x3ca32a[_0x5a5ea1(0x2dd)](_0x2a58e2[_0x5a5ea1(0x380)])),_0x2fcccb(0x3,_0x32fdb4['IMessageService']),_0x2fcccb(0x4,_0x32fdb4[_0x5a5ea1(0x2dc)]),_0x2fcccb(0x5,_0x3ca32a[_0x5a5ea1(0x2dd)](_0x3ca32a[_0x5a5ea1(0x265)]))],_0x2175be);var _0x38e158=Object[_0x5a5ea1(0x3b1)],_0x18a784=(_0x10cc1a,_0x3a4df9,_0x5f0ec8,_0x5e2759)=>{const _0x26b963=_0x5a5ea1;for(var _0x1d1b98=_0x5e2759>0x1?void 0x0:_0x5e2759?_0x38e158(_0x3a4df9,_0x5f0ec8):_0x3a4df9,_0x478a9e=_0x10cc1a[_0x26b963(0x3ca)]-0x1,_0x24f98d;_0x478a9e>=0x0;_0x478a9e--)(_0x24f98d=_0x10cc1a[_0x478a9e])&&(_0x1d1b98=_0x24f98d(_0x1d1b98)||_0x1d1b98);return _0x1d1b98;},_0x404541=(_0x3dda4e,_0xc0e65c)=>(_0x28c520,_0x21763d)=>_0xc0e65c(_0x28c520,_0x21763d,_0x3dda4e);let _0x3e68e5=class extends _0x3ca32a[_0x5a5ea1(0x1df)]{constructor(_0x9f4654,_0x3ad61b,_0x212bd9,_0x4291dd){const _0x3e8fd8=_0x5a5ea1;super(),_0x144f01(this,'_memberID'),(this[_0x3e8fd8(0x269)]=_0x9f4654,this[_0x3e8fd8(0x1f8)]=_0x3ad61b,this[_0x3e8fd8(0x331)]=_0x212bd9,this[_0x3e8fd8(0x311)]=_0x4291dd,this[_0x3e8fd8(0x3e7)]());}[_0x5a5ea1(0x3e7)](){const _0x1eb114=_0x5a5ea1;this[_0x1eb114(0x1b7)](),this[_0x1eb114(0x1d4)](),this[_0x1eb114(0x23c)](),this[_0x1eb114(0x20a)]();}[_0x5a5ea1(0x20a)](){const _0x388922=_0x5a5ea1;this[_0x388922(0x36d)](this['_collaborationSessionService'][_0x388922(0x242)]['subscribe'](_0x101797=>{const _0x4ae50f=_0x388922;this[_0x4ae50f(0x22b)]=_0x101797==null?void 0x0:_0x101797[_0x4ae50f(0x2f0)];}));}[_0x5a5ea1(0x1b7)](){const _0x475714=_0x5a5ea1,_0x48ea52=_0x557dc0=>{const _0x561e7e=_0x1ca4;var _0x52ae17;this[_0x561e7e(0x1a3)]('error',_0x561e7e(0x291)+_0x557dc0[_0x561e7e(0x3b6)]+_0x561e7e(0x405)+_0x557dc0[_0x561e7e(0x2c4)]+':'+_0x557dc0['lineno']+':'+_0x557dc0[_0x561e7e(0x24b)]+'\x0a'+(((_0x52ae17=_0x557dc0['error'])==null?void 0x0:_0x52ae17['stack'])||''));};window['addEventListener'](_0x475714(0x1f9),_0x48ea52),this[_0x475714(0x36d)](()=>{const _0x1c3c30=_0x475714;window[_0x1c3c30(0x322)]('error',_0x48ea52);});}[_0x5a5ea1(0x1d4)](){const _0x14165a=_0x5a5ea1,_0x2585e8=_0x8ca9a8=>{const _0x5c557e=_0x1ca4;this[_0x5c557e(0x1a3)](_0x5c557e(0x1f9),_0x5c557e(0x294)+_0x8ca9a8[_0x5c557e(0x38e)]);};window[_0x14165a(0x37e)](_0x14165a(0x2e7),_0x2585e8),this['disposeWithMe'](()=>{const _0x282d70=_0x14165a;window[_0x282d70(0x322)](_0x282d70(0x2e7),_0x2585e8);});}[_0x5a5ea1(0x23c)](){const _0xad8e6e=_0x5a5ea1,_0x3358c3=this[_0xad8e6e(0x331)][_0xad8e6e(0x1f9)][_0xad8e6e(0x2e3)](this[_0xad8e6e(0x331)]);this[_0xad8e6e(0x331)]['error']=(..._0x4e9092)=>{const _0x334e83=_0xad8e6e,_0x20b9ee=_0x4e9092[_0x334e83(0x2e4)](_0x180f1b=>_0x180f1b instanceof Error?_0x180f1b[_0x334e83(0x3b6)]+'\x0a'+_0x180f1b[_0x334e83(0x166)]:String(_0x180f1b))[_0x334e83(0x29a)]('\x20');this[_0x334e83(0x1a3)](_0x334e83(0x1f9),'[LogService\x20Error]:\x20'+_0x20b9ee),_0x3358c3(..._0x4e9092);},this[_0xad8e6e(0x36d)](()=>{const _0x28bc17=_0xad8e6e;this['_logService'][_0x28bc17(0x1f9)]=_0x3358c3;});}[_0x5a5ea1(0x1a3)](_0x4abac0,_0x28b67e){const _0x4fac4f=_0x5a5ea1;try{const _0x3ad5d6={'userId':this[_0x4fac4f(0x22b)],'logLabel':_0x4abac0,'content':_0x28b67e};this[_0x4fac4f(0x1f8)][_0x4fac4f(0x441)](_0x4fac4f(0x41a),{'body':_0x3ad5d6})['catch'](()=>{});}catch{}}};_0x3e68e5=_0x18a784([_0x404541(0x0,_0x3ca32a['Inject'](_0x3ca32a[_0x5a5ea1(0x260)])),_0x404541(0x1,_0x3ca32a[_0x5a5ea1(0x2dd)](_0x478e27[_0x5a5ea1(0x3a1)])),_0x404541(0x2,_0x3ca32a[_0x5a5ea1(0x3ba)]),_0x404541(0x3,_0x3ca32a[_0x5a5ea1(0x2dd)](_0x2a58e2[_0x5a5ea1(0x296)]))],_0x3e68e5);const _0x5db0f4=_0x5a5ea1(0x26a),_0x54dd5d={};var _0x5a21dd=Object[_0x5a5ea1(0x3b1)],_0x130d60=(_0x3ecbb7,_0x55530e,_0x569ed7,_0x443a52)=>{for(var _0x1ba11d=_0x443a52>0x1?void 0x0:_0x443a52?_0x5a21dd(_0x55530e,_0x569ed7):_0x55530e,_0x40c2c9=_0x3ecbb7['length']-0x1,_0xe51a33;_0x40c2c9>=0x0;_0x40c2c9--)(_0xe51a33=_0x3ecbb7[_0x40c2c9])&&(_0x1ba11d=_0xe51a33(_0x1ba11d)||_0x1ba11d);return _0x1ba11d;},_0x2e3060=(_0x38c74d,_0x12ae14)=>(_0x8e13bf,_0x243a94)=>_0x12ae14(_0x8e13bf,_0x243a94,_0x38c74d);let _0x3a004a=class{constructor(_0x1bd438,_0x19a33d){const _0x2c53eb=_0x5a5ea1;this[_0x2c53eb(0x39b)]=_0x1bd438,this['_renderManagerService']=_0x19a33d;}['transformIMECache'](_0x139dd3){const _0x10d0b7=_0x5a5ea1;this[_0x10d0b7(0x26b)](_0x139dd3),this[_0x10d0b7(0x2db)](_0x139dd3);}[_0x5a5ea1(0x27a)](_0x3bff73){const _0x431eeb=_0x5a5ea1,{unitID:_0x52d2ef}=_0x3bff73,_0x165536=this['_renderManagerService']['getRenderById'](_0x52d2ef)[_0x431eeb(0x167)](_0xf059ad[_0x431eeb(0x2a1)]),{redoCache:_0x38ac0c}=_0x165536['getUndoRedoMutationParamsCache']();if(_0x38ac0c[_0x431eeb(0x3ca)]===0x0)return _0x3bff73;let _0x3ca78c=_0x3ca32a['Tools']['deepClone'](_0x3bff73[_0x431eeb(0x243)][0x0]);for(let _0x50fd82=0x0;_0x50fd82<_0x38ac0c[_0x431eeb(0x3ca)];_0x50fd82++){const _0x4ad1b9={'id':_0x431eeb(0x3ad),'params':{..._0x38ac0c[_0x50fd82]}},_0x1a27bd=this['_transformService'][_0x431eeb(0x2d3)](_0x3ca78c,_0x4ad1b9,!0x1);if(_0x20e756[_0x431eeb(0x1fb)](_0x1a27bd))throw _0x1a27bd['error'];_0x3ca78c=_0x1a27bd[_0x431eeb(0x360)];}return{..._0x3ca32a[_0x431eeb(0x178)]['deepClone'](_0x3bff73),'mutations':[_0x3ca78c]};}[_0x5a5ea1(0x26b)](_0x2f4bdb){const _0x558c13=_0x5a5ea1,{unitID:_0x2988cb}=_0x2f4bdb,_0x2c017e=this['_renderManagerService'][_0x558c13(0x3ac)](_0x2988cb)[_0x558c13(0x167)](_0xf059ad[_0x558c13(0x2a1)]),{undoCache:_0xca1755,redoCache:_0x4de7ae}=_0x2c017e[_0x558c13(0x1ac)]();if(_0xca1755[_0x558c13(0x3ca)]===0x0||_0x4de7ae[_0x558c13(0x3ca)]===0x0)return;const _0x2a82b7=[],_0x2c3dfe=[];let _0x3d0bf8=_0x3ca32a[_0x558c13(0x178)][_0x558c13(0x1b3)](_0x2f4bdb[_0x558c13(0x243)][0x0]),_0x31a011=_0x3ca32a[_0x558c13(0x178)][_0x558c13(0x1b3)](_0x2f4bdb[_0x558c13(0x243)][0x0]);for(let _0x527ffc=_0xca1755['length']-0x1;_0x527ffc>=0x0;_0x527ffc--){const _0x358ec2={'id':_0x558c13(0x3ad),'params':{..._0xca1755[_0x527ffc]}},_0x3a74c7={'id':'doc.mutation.rich-text-editing','params':{..._0x4de7ae[_0x527ffc]}},_0x357e5a=this[_0x558c13(0x39b)][_0x558c13(0x2d3)](_0x3d0bf8,_0x358ec2,!0x1),_0x5e5080=this['_transformService'][_0x558c13(0x2d3)](_0x31a011,_0x3a74c7,!0x1);if(_0x20e756['isTransformMutationFailure'](_0x357e5a))throw _0x357e5a[_0x558c13(0x1f9)];if(_0x20e756[_0x558c13(0x1fb)](_0x5e5080))throw _0x5e5080[_0x558c13(0x1f9)];_0x2a82b7[_0x558c13(0x249)](_0x357e5a['m2Prime']['params']),_0x2c3dfe[_0x558c13(0x249)](_0x5e5080['m2Prime']['params']),_0x3d0bf8=_0x357e5a[_0x558c13(0x360)],_0x31a011=_0x5e5080[_0x558c13(0x360)];}_0x2c017e[_0x558c13(0x1c6)]({'undoCache':_0x2a82b7,'redoCache':_0x2c3dfe});}[_0x5a5ea1(0x2db)](_0x2ce091){const _0x4e0069=_0x5a5ea1,{unitID:_0x194e42}=_0x2ce091,_0x1ee201=this[_0x4e0069(0x2fc)][_0x4e0069(0x3ac)](_0x194e42)[_0x4e0069(0x167)](_0xf059ad[_0x4e0069(0x2a1)]),_0x5c554f=_0x1ee201[_0x4e0069(0x317)]();if(_0x5c554f==null)return;const _0x4e7e92=[{'id':_0x4e0069(0x3ad),'params':{'unitId':_0x2ce091[_0x4e0069(0x32b)],'actions':null,'textRanges':[_0x5c554f]}}],_0x568369=this[_0x4e0069(0x39b)][_0x4e0069(0x2ee)](_0x2ce091,_0x4e7e92);if(!_0x20e756[_0x4e0069(0x339)](_0x568369))throw _0x568369[_0x4e0069(0x1f9)];const _0xf84bd2=_0x568369['m2Prime'][0x0][_0x4e0069(0x184)][_0x4e0069(0x15e)];Array['isArray'](_0xf84bd2)&&_0xf84bd2[_0x4e0069(0x3ca)]&&_0x1ee201[_0x4e0069(0x410)](_0xf84bd2[0x0]);}};_0x3a004a=_0x130d60([_0x2e3060(0x0,_0x20e756[_0x5a5ea1(0x2a6)]),_0x2e3060(0x1,_0x10484c[_0x5a5ea1(0x277)])],_0x3a004a);var _0x391046=Object['getOwnPropertyDescriptor'],_0x241b2c=(_0x3a0698,_0x33dcc7,_0x4f40db,_0x583dab)=>{const _0x3c55b3=_0x5a5ea1;for(var _0x108268=_0x583dab>0x1?void 0x0:_0x583dab?_0x391046(_0x33dcc7,_0x4f40db):_0x33dcc7,_0xbb87cc=_0x3a0698[_0x3c55b3(0x3ca)]-0x1,_0x515804;_0xbb87cc>=0x0;_0xbb87cc--)(_0x515804=_0x3a0698[_0xbb87cc])&&(_0x108268=_0x515804(_0x108268)||_0x108268);return _0x108268;},_0x52171d=(_0x4daeca,_0x18c13e)=>(_0xd1cfbb,_0x5bebf8)=>_0x18c13e(_0xd1cfbb,_0x5bebf8,_0x4daeca);let _0x45be5f=class{constructor(_0x4d4551,_0x1e960d,_0x217270){const _0x3a7b60=_0x5a5ea1;this['_injector']=_0x4d4551,this[_0x3a7b60(0x39b)]=_0x1e960d,this[_0x3a7b60(0x439)]=_0x217270;}[_0x5a5ea1(0x228)](_0xfd5f34){const _0x31eda4=_0x5a5ea1;this[_0x31eda4(0x3a4)](_0xfd5f34);}[_0x5a5ea1(0x27a)](_0x4cda7d){const _0x10697c=_0x5a5ea1,{unitID:_0xcad07b}=_0x4cda7d,{collaboration:_0x25e845}=this[_0x10697c(0x439)][_0x10697c(0x358)](_0xcad07b);if(_0x25e845['length']===0x0)return _0x4cda7d;let _0x251432=_0x3ca32a[_0x10697c(0x178)][_0x10697c(0x1b3)](_0x4cda7d['mutations'][0x0]);for(let _0x30f8b6=0x0;_0x30f8b6<_0x25e845[_0x10697c(0x3ca)];_0x30f8b6++){const _0x2cb477={'id':_0x10697c(0x3ad),'params':{'unitId':_0x25e845[_0x30f8b6]['unitId'],..._0x25e845[_0x30f8b6]['redoState']}},_0x2c295c=this['_transformService'][_0x10697c(0x2d3)](_0x251432,_0x2cb477,!0x1);if(_0x20e756[_0x10697c(0x1fb)](_0x2c295c))throw _0x2c295c[_0x10697c(0x1f9)];_0x251432=_0x2c295c[_0x10697c(0x360)];}return{..._0x3ca32a[_0x10697c(0x178)][_0x10697c(0x1b3)](_0x4cda7d),'mutations':[_0x251432]};}[_0x5a5ea1(0x3a4)](_0x245a73){const _0xfcccf8=_0x5a5ea1,{unitID:_0x14e1da}=_0x245a73,{history:_0x49b4df,collaboration:_0x19e98d}=this[_0xfcccf8(0x439)][_0xfcccf8(0x358)](_0x14e1da);if(_0x49b4df['length']===0x0&&_0x19e98d[_0xfcccf8(0x3ca)]===0x0)return;const _0x4fc5e7=[],_0x2d8f34=[];let _0x596029=_0x3ca32a['Tools'][_0xfcccf8(0x1b3)](_0x245a73[_0xfcccf8(0x243)][0x0]),_0x1e563f=_0x3ca32a[_0xfcccf8(0x178)][_0xfcccf8(0x1b3)](_0x245a73[_0xfcccf8(0x243)][0x0]);for(let _0x9f510d=_0x49b4df['length']-0x1;_0x9f510d>=0x0;_0x9f510d--){const _0x2313e2={'id':_0xfcccf8(0x3ad),'params':{'unitId':_0x49b4df[_0x9f510d][_0xfcccf8(0x371)],..._0x49b4df[_0x9f510d]['undoState']}},_0xdf3665={'id':_0xfcccf8(0x3ad),'params':{'unitId':_0x49b4df[_0x9f510d][_0xfcccf8(0x371)],..._0x49b4df[_0x9f510d][_0xfcccf8(0x3ec)]}},_0x4c7670=this[_0xfcccf8(0x39b)][_0xfcccf8(0x2d3)](_0x596029,_0x2313e2,!0x1),_0x215264=this['_transformService'][_0xfcccf8(0x2d3)](_0x1e563f,_0xdf3665,!0x1);if(_0x20e756[_0xfcccf8(0x1fb)](_0x4c7670))throw _0x4c7670[_0xfcccf8(0x1f9)];if(_0x20e756[_0xfcccf8(0x1fb)](_0x215264))throw _0x215264[_0xfcccf8(0x1f9)];_0x4fc5e7[_0xfcccf8(0x249)]({..._0x49b4df[_0x9f510d],'undoState':_0x4c7670['m2Prime']['params'],'redoState':_0x215264[_0xfcccf8(0x244)][_0xfcccf8(0x184)]}),_0x596029=_0x4c7670[_0xfcccf8(0x360)],_0x1e563f=_0x215264['m1Prime'];}_0x596029=_0x3ca32a[_0xfcccf8(0x178)][_0xfcccf8(0x1b3)](_0x245a73[_0xfcccf8(0x243)][0x0]),_0x1e563f=_0x3ca32a['Tools'][_0xfcccf8(0x1b3)](_0x245a73['mutations'][0x0]);for(let _0x25ef14=_0x19e98d['length']-0x1;_0x25ef14>=0x0;_0x25ef14--){const _0x19880e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x19e98d[_0x25ef14][_0xfcccf8(0x371)],..._0x19e98d[_0x25ef14]['undoState']}},_0x13ac16={'id':_0xfcccf8(0x3ad),'params':{'unitId':_0x19e98d[_0x25ef14][_0xfcccf8(0x371)],..._0x19e98d[_0x25ef14][_0xfcccf8(0x3ec)]}},_0x31955f=this['_transformService']['transformMutation'](_0x596029,_0x19880e,!0x1),_0x547d95=this[_0xfcccf8(0x39b)][_0xfcccf8(0x2d3)](_0x1e563f,_0x13ac16,!0x1);if(_0x20e756[_0xfcccf8(0x1fb)](_0x31955f))throw _0x31955f[_0xfcccf8(0x1f9)];if(_0x20e756[_0xfcccf8(0x1fb)](_0x547d95))throw _0x547d95[_0xfcccf8(0x1f9)];_0x2d8f34[_0xfcccf8(0x249)]({..._0x19e98d[_0x25ef14],'undoState':_0x31955f[_0xfcccf8(0x244)]['params'],'redoState':_0x547d95[_0xfcccf8(0x244)][_0xfcccf8(0x184)]}),_0x596029=_0x31955f[_0xfcccf8(0x360)],_0x1e563f=_0x547d95[_0xfcccf8(0x360)];}this[_0xfcccf8(0x439)][_0xfcccf8(0x3c2)](_0x14e1da,{'history':_0x4fc5e7,'collaboration':_0x2d8f34});}};_0x45be5f=_0x241b2c([_0x52171d(0x0,_0x3ca32a['Inject'](_0x3ca32a[_0x5a5ea1(0x260)])),_0x52171d(0x1,_0x20e756[_0x5a5ea1(0x2a6)]),_0x52171d(0x2,_0x3ca32a[_0x5a5ea1(0x2dd)](_0xf059ad[_0x5a5ea1(0x3f8)]))],_0x45be5f);var _0x573660=Object['getOwnPropertyDescriptor'],_0x5d21b3=(_0x15226d,_0x424b79,_0x272cf3,_0x2ac716)=>{const _0x527fb6=_0x5a5ea1;for(var _0x5ddedd=_0x2ac716>0x1?void 0x0:_0x2ac716?_0x573660(_0x424b79,_0x272cf3):_0x424b79,_0x3a2c56=_0x15226d[_0x527fb6(0x3ca)]-0x1,_0x5678cd;_0x3a2c56>=0x0;_0x3a2c56--)(_0x5678cd=_0x15226d[_0x3a2c56])&&(_0x5ddedd=_0x5678cd(_0x5ddedd)||_0x5ddedd);return _0x5ddedd;},_0x386769=(_0x46f4a7,_0x41d6f1)=>(_0xd9a25d,_0x23e9c4)=>_0x41d6f1(_0xd9a25d,_0x23e9c4,_0x46f4a7);let _0x14ddaa=class{constructor(_0x47890f,_0x3c12f3){const _0x347941=_0x5a5ea1;this[_0x347941(0x269)]=_0x47890f,this['_transformService']=_0x3c12f3;}[_0x5a5ea1(0x2f5)](_0x7ed0e5){const _0x5e053c=_0x5a5ea1;var _0xf22c84;const _0x3d2581=this['_injector'][_0x5e053c(0x351)](_0xc476c0[_0x5e053c(0x1b2)]),_0xc4fbd3=(_0xf22c84=_0x3d2581[_0x5e053c(0x256)]())!=null?_0xf22c84:[];if(_0xc4fbd3[_0x5e053c(0x3ca)]===0x0)return;const _0x249733=_0x7ed0e5[_0x5e053c(0x32b)],_0x4468b5=[{'id':_0x5e053c(0x3ad),'params':{'unitId':_0x249733,'actions':null,'textRanges':_0xc4fbd3}}],_0x10420c=this[_0x5e053c(0x39b)]['transformMutationsWithChangeset'](_0x7ed0e5,_0x4468b5);if(!_0x20e756[_0x5e053c(0x339)](_0x10420c))throw _0x10420c[_0x5e053c(0x1f9)];const _0x150918=_0x10420c[_0x5e053c(0x244)][0x0][_0x5e053c(0x184)][_0x5e053c(0x15e)];Array[_0x5e053c(0x401)](_0x150918)&&_0x150918[_0x5e053c(0x3ca)]&&_0x3d2581[_0x5e053c(0x432)](_0x150918,{'unitId':_0x249733,'subUnitId':_0x249733},!0x1);}};_0x14ddaa=_0x5d21b3([_0x386769(0x0,_0x3ca32a['Inject'](_0x3ca32a[_0x5a5ea1(0x260)])),_0x386769(0x1,_0x20e756[_0x5a5ea1(0x2a6)])],_0x14ddaa);var _0x3ecceb=Object[_0x5a5ea1(0x3b1)],_0x44b1c7=(_0x4da9a1,_0x1d7064,_0x4dc4cb,_0x179547)=>{for(var _0x12e2dd=_0x179547>0x1?void 0x0:_0x179547?_0x3ecceb(_0x1d7064,_0x4dc4cb):_0x1d7064,_0x4d0574=_0x4da9a1['length']-0x1,_0x264e3f;_0x4d0574>=0x0;_0x4d0574--)(_0x264e3f=_0x4da9a1[_0x4d0574])&&(_0x12e2dd=_0x264e3f(_0x12e2dd)||_0x12e2dd);return _0x12e2dd;},_0xaf1592=(_0x158c6f,_0x5a5fba)=>(_0x16c557,_0x183dc4)=>_0x5a5fba(_0x16c557,_0x183dc4,_0x158c6f);let _0x3c186a=class extends _0x3ca32a[_0x5a5ea1(0x1df)]{constructor(_0x3af649,_0x503820,_0x1c3d63,_0x1fb3f9,_0x1d3b65,_0x149c09,_0x267394,_0x3be39e){const _0xf9f643=_0x5a5ea1;super(),_0x144f01(this,_0xf9f643(0x398),new _0x467ef2[(_0xf9f643(0x1aa))](_0x2a58e2[_0xf9f643(0x391)]['NOT_COLLAB'])),(this[_0xf9f643(0x439)]=_0x3af649,this[_0xf9f643(0x3f7)]=_0x503820,this[_0xf9f643(0x3db)]=_0x1c3d63,this[_0xf9f643(0x2ba)]=_0x1fb3f9,this['_docTransformSelectionsService']=_0x1d3b65,this[_0xf9f643(0x383)]=_0x149c09,this[_0xf9f643(0x3a2)]=_0x267394,this['_localeService']=_0x3be39e,this[_0xf9f643(0x24d)]());}[_0x5a5ea1(0x24d)](){const _0x3590de=_0x5a5ea1;this['disposeWithMe'](this['_collaborationController'][_0x3590de(0x3bc)][_0x3590de(0x1cb)](_0x590c6b=>{const _0x45a0ab=_0x3590de,_0x51ea88=this['_docStateChangeManagerService']['docStateChange$'][_0x45a0ab(0x1cb)](_0x335109=>{const _0x569b5e=_0x45a0ab;if(_0x335109==null)return;const {unitId:_0x1f9538,redoState:_0x11efe4,commandId:_0x2a8478}=_0x335109;if(_0x1f9538!==_0x590c6b[_0x569b5e(0x32b)])return;const _0x14643f={'id':_0x2a8478,'type':_0x3ca32a[_0x569b5e(0x2b3)][_0x569b5e(0x2e8)],'params':{'unitId':_0x1f9538,'actions':_0x11efe4[_0x569b5e(0x1c5)],'textRanges':null}};_0x590c6b[_0x569b5e(0x30f)](_0x14643f);});if(_0x590c6b[_0x45a0ab(0x36d)](_0x51ea88),_0x590c6b instanceof _0x2a58e2[_0x45a0ab(0x2bf)]){const _0xb55fae={'onTransformIME':_0x175568=>this[_0x45a0ab(0x3db)][_0x45a0ab(0x1af)](_0x175568),'onTransformState':_0x12e79c=>this[_0x45a0ab(0x2ba)][_0x45a0ab(0x228)](_0x12e79c),'onTransformSelections':_0x1c37c9=>this[_0x45a0ab(0x165)][_0x45a0ab(0x2f5)](_0x1c37c9),'onSyncEditingCollabCursor':_0x37756f=>this[_0x45a0ab(0x383)]['syncEditingCollabCursor'](_0x37756f),'onTransformRemoteChangesetByIMECache':_0x165dd5=>this[_0x45a0ab(0x3db)][_0x45a0ab(0x27a)](_0x165dd5),'onTransformRemoteChangesetByStateCache':_0xac557c=>this['_docTransformStateCacheService'][_0x45a0ab(0x27a)](_0xac557c)};_0x590c6b[_0x45a0ab(0x37b)](_0xb55fae);}}));}};_0x3c186a=_0x44b1c7([_0xaf1592(0x0,_0x3ca32a['Inject'](_0xf059ad['DocStateChangeManagerService'])),_0xaf1592(0x1,_0x3ca32a[_0x5a5ea1(0x2dd)](_0x2a58e2['CollaborationController'])),_0xaf1592(0x2,_0x3ca32a[_0x5a5ea1(0x2dd)](_0x3a004a)),_0xaf1592(0x3,_0x3ca32a[_0x5a5ea1(0x2dd)](_0x45be5f)),_0xaf1592(0x4,_0x3ca32a[_0x5a5ea1(0x2dd)](_0x14ddaa)),_0xaf1592(0x5,_0x3ca32a[_0x5a5ea1(0x2dd)](_0x2883dc)),_0xaf1592(0x6,_0x32fdb4[_0x5a5ea1(0x21e)]),_0xaf1592(0x7,_0x3ca32a[_0x5a5ea1(0x2dd)](_0x3ca32a['LocaleService']))],_0x3c186a);var _0x5a198e=(_0xd2358c=>(_0xd2358c[_0xd2358c[_0x5a5ea1(0x2a7)]=0x0]=_0x5a5ea1(0x2a7),_0xd2358c[_0xd2358c['OK']=0x1]='OK',_0xd2358c[_0xd2358c[_0x5a5ea1(0x42e)]=0x2]=_0x5a5ea1(0x42e),_0xd2358c[_0xd2358c[_0x5a5ea1(0x3fe)]=0x3]=_0x5a5ea1(0x3fe),_0xd2358c[_0xd2358c['NOT_FOUND']=0x4]=_0x5a5ea1(0x2aa),_0xd2358c[_0xd2358c[_0x5a5ea1(0x2a4)]=0x5]=_0x5a5ea1(0x2a4),_0xd2358c[_0xd2358c[_0x5a5ea1(0x19a)]=0x6]=_0x5a5ea1(0x19a),_0xd2358c[_0xd2358c[_0x5a5ea1(0x434)]=0x7]='INVALID_ARGUMENT',_0xd2358c[_0xd2358c[_0x5a5ea1(0x327)]=0x8]=_0x5a5ea1(0x327),_0xd2358c[_0xd2358c['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0xd2358c[_0xd2358c['LOGIN_FAILED']=0xa]=_0x5a5ea1(0x440),_0xd2358c[_0xd2358c[_0x5a5ea1(0x346)]=0xb]=_0x5a5ea1(0x346),_0xd2358c[_0xd2358c['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x5a5ea1(0x32c),_0xd2358c[_0xd2358c['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x5a5ea1(0x208),_0xd2358c[_0xd2358c[_0x5a5ea1(0x3bf)]=0xe]=_0x5a5ea1(0x3bf),_0xd2358c[_0xd2358c[_0x5a5ea1(0x17f)]=0xf]=_0x5a5ea1(0x17f),_0xd2358c[_0xd2358c[_0x5a5ea1(0x1bd)]=0x10]=_0x5a5ea1(0x1bd),_0xd2358c[_0xd2358c['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x5a5ea1(0x285),_0xd2358c[_0xd2358c['ERROR_AGAIN']=0x65]=_0x5a5ea1(0x1e7),_0xd2358c[_0xd2358c['USER_NOT_FOUND']=0xc9]=_0x5a5ea1(0x2b7),_0xd2358c[_0xd2358c[_0x5a5ea1(0x1e2)]=0xca]=_0x5a5ea1(0x1e2),_0xd2358c[_0xd2358c[_0x5a5ea1(0x272)]=0x1389]=_0x5a5ea1(0x272),_0xd2358c[_0xd2358c['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x5a5ea1(0x200),_0xd2358c[_0xd2358c[_0x5a5ea1(0x1c7)]=0x1772]=_0x5a5ea1(0x1c7),_0xd2358c[_0xd2358c['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0xd2358c[_0xd2358c[_0x5a5ea1(0x36c)]=0x1b59]=_0x5a5ea1(0x36c),_0xd2358c[_0xd2358c[_0x5a5ea1(0x28f)]=0x1b5a]=_0x5a5ea1(0x28f),_0xd2358c[_0xd2358c[_0x5a5ea1(0x3fd)]=0x1b5b]=_0x5a5ea1(0x3fd),_0xd2358c[_0xd2358c['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x5a5ea1(0x2af),_0xd2358c[_0xd2358c[_0x5a5ea1(0x27c)]=0x1b5d]='APPLY_DUPLICATED',_0xd2358c[_0xd2358c[_0x5a5ea1(0x3f4)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0xd2358c[_0xd2358c[_0x5a5ea1(0x23a)]=0x2329]=_0x5a5ea1(0x23a),_0xd2358c[_0xd2358c[_0x5a5ea1(0x25f)]=0x232a]=_0x5a5ea1(0x25f),_0xd2358c[_0xd2358c[_0x5a5ea1(0x2ce)]=0x232b]=_0x5a5ea1(0x2ce),_0xd2358c[_0xd2358c[_0x5a5ea1(0x2c1)]=0x232c]=_0x5a5ea1(0x2c1),_0xd2358c[_0xd2358c[_0x5a5ea1(0x279)]=0x232d]=_0x5a5ea1(0x279),_0xd2358c[_0xd2358c['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x5a5ea1(0x2ff),_0xd2358c[_0xd2358c[_0x5a5ea1(0x22f)]=0x2712]=_0x5a5ea1(0x22f),_0xd2358c[_0xd2358c[_0x5a5ea1(0x42b)]=0x2713]=_0x5a5ea1(0x42b),_0xd2358c[_0xd2358c[_0x5a5ea1(0x299)]=0x2714]=_0x5a5ea1(0x299),_0xd2358c[_0xd2358c[_0x5a5ea1(0x266)]=0x271a]=_0x5a5ea1(0x266),_0xd2358c[_0xd2358c[_0x5a5ea1(0x40e)]=0x271b]=_0x5a5ea1(0x40e),_0xd2358c[_0xd2358c['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x5a5ea1(0x31a),_0xd2358c[_0xd2358c[_0x5a5ea1(0x1b9)]=0x271d]=_0x5a5ea1(0x1b9),_0xd2358c[_0xd2358c[_0x5a5ea1(0x2e0)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0xd2358c[_0xd2358c[_0x5a5ea1(0x3dd)]=0x271f]=_0x5a5ea1(0x3dd),_0xd2358c[_0xd2358c['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x5a5ea1(0x415),_0xd2358c[_0xd2358c['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x5a5ea1(0x37c),_0xd2358c[_0xd2358c[_0x5a5ea1(0x18f)]=0x2ee1]=_0x5a5ea1(0x18f),_0xd2358c[_0xd2358c[_0x5a5ea1(0x2d8)]=0x2ee2]=_0x5a5ea1(0x2d8),_0xd2358c[_0xd2358c[_0x5a5ea1(0x24f)]=0x2ee3]=_0x5a5ea1(0x24f),_0xd2358c[_0xd2358c['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0xd2358c[_0xd2358c[_0x5a5ea1(0x3bb)]=0x2ee5]=_0x5a5ea1(0x3bb),_0xd2358c[_0xd2358c[_0x5a5ea1(0x230)]=0x32c9]=_0x5a5ea1(0x230),_0xd2358c[_0xd2358c['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x5a5ea1(0x162),_0xd2358c[_0xd2358c['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x5a5ea1(0x3b5),_0xd2358c[_0xd2358c[_0x5a5ea1(0x1de)]=0x36b1]=_0x5a5ea1(0x1de),_0xd2358c[_0xd2358c[_0x5a5ea1(0x1ba)]=0x36b2]=_0x5a5ea1(0x1ba),_0xd2358c[_0xd2358c['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x5a5ea1(0x428),_0xd2358c[_0xd2358c['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0xd2358c[_0xd2358c[_0x5a5ea1(0x190)]=0x36b5]=_0x5a5ea1(0x190),_0xd2358c[_0xd2358c[_0x5a5ea1(0x438)]=0x36b6]=_0x5a5ea1(0x438),_0xd2358c[_0xd2358c[_0x5a5ea1(0x30d)]=0x36b7]=_0x5a5ea1(0x30d),_0xd2358c[_0xd2358c[_0x5a5ea1(0x207)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0xd2358c[_0xd2358c[_0x5a5ea1(0x403)]=0x3715]=_0x5a5ea1(0x403),_0xd2358c[_0xd2358c['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0xd2358c[_0xd2358c['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0xd2358c[_0xd2358c[_0x5a5ea1(0x395)]=0x37dd]=_0x5a5ea1(0x395),_0xd2358c[_0xd2358c['REDEMPTION_INVALID_CODE']=0x3a99]=_0x5a5ea1(0x332),_0xd2358c[_0xd2358c['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x5a5ea1(0x386),_0xd2358c[_0xd2358c[_0x5a5ea1(0x31b)]=0x3a9b]=_0x5a5ea1(0x31b),_0xd2358c[_0xd2358c['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x5a5ea1(0x393),_0xd2358c[_0xd2358c[_0x5a5ea1(0x302)]=0x3a9d]=_0x5a5ea1(0x302),_0xd2358c[_0xd2358c[_0x5a5ea1(0x379)]=0x3a9e]=_0x5a5ea1(0x379),_0xd2358c[_0xd2358c[_0x5a5ea1(0x1e1)]=0x3a9f]=_0x5a5ea1(0x1e1),_0xd2358c[_0xd2358c[_0x5a5ea1(0x1cc)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0xd2358c[_0xd2358c['UNRECOGNIZED']=-0x1]=_0x5a5ea1(0x27f),_0xd2358c))(_0x5a198e||{});function _0x3ca33e(_0x30e91b){const _0x5a8df7=_0x5a5ea1;var _0x4cc3d8,_0x41c983;const _0x3ed884=(_0x4cc3d8=_0x30e91b[_0x5a8df7(0x19e)])==null?void 0x0:_0x4cc3d8[_0x5a8df7(0x35f)],_0x2305d3=((_0x41c983=_0x30e91b['stageInfo'])==null?void 0x0:_0x41c983['totalFormulasToCalculate'])||0x0;return _0x3ed884===_0x42906f['FormulaExecuteStageType']['START_CALCULATION']&&_0x2305d3>0x0;}function _0xb8f920(_0x41aa32){const _0x5b6aeb=_0x5a5ea1;return _0x41aa32[_0x5b6aeb(0x1d6)]===_0x42906f[_0x5b6aeb(0x259)]['SUCCESS'];}var _0x2e5ffc=Object[_0x5a5ea1(0x3b1)],_0x5eb5b8=(_0x4a8991,_0x3c00d0,_0x458268,_0x16baec)=>{const _0x22f20c=_0x5a5ea1;for(var _0x28c8d7=_0x16baec>0x1?void 0x0:_0x16baec?_0x2e5ffc(_0x3c00d0,_0x458268):_0x3c00d0,_0x5b5ecb=_0x4a8991[_0x22f20c(0x3ca)]-0x1,_0x1e9ef8;_0x5b5ecb>=0x0;_0x5b5ecb--)(_0x1e9ef8=_0x4a8991[_0x5b5ecb])&&(_0x28c8d7=_0x1e9ef8(_0x28c8d7)||_0x28c8d7);return _0x28c8d7;},_0x19ccb5=(_0x13acac,_0x41b6cf)=>(_0x9ad57a,_0x445bfc)=>_0x41b6cf(_0x9ad57a,_0x445bfc,_0x13acac);const _0x4b2ddc=_0x5a5ea1(0x35b),_0x5578d6=_0x5a5ea1(0x28e),_0x4abccc=_0x5a5ea1(0x329);let _0x3e5b60=class extends _0x3ca32a[_0x5a5ea1(0x1df)]{constructor(_0x297907,_0x20225e,_0x3b1282,_0x97f8,_0x1ebb3c,_0x1195f4,_0x2ca055){const _0x20dbeb=_0x5a5ea1;super(),_0x144f01(this,'_pollingInterval',null),_0x144f01(this,_0x20dbeb(0x387),0x0),_0x144f01(this,_0x20dbeb(0x25b),0x0),_0x144f01(this,_0x20dbeb(0x2d2),[]),_0x144f01(this,_0x20dbeb(0x262),0x0),(this[_0x20dbeb(0x3a2)]=_0x297907,this[_0x20dbeb(0x2b6)]=_0x20225e,this[_0x20dbeb(0x212)]=_0x3b1282,this['_httpService']=_0x97f8,this['_univerInstanceService']=_0x1ebb3c,this['_logService']=_0x1195f4,this[_0x20dbeb(0x3cd)]=_0x2ca055,this['_initCommandInterceptor']());}[_0x5a5ea1(0x223)](){const _0x4366be=_0x5a5ea1;this[_0x4366be(0x36d)](this['_commandService'][_0x4366be(0x3eb)]((_0x41a315,_0x3962b)=>{const _0x4a984b=_0x4366be;var _0x3e7e2b;if(_0x41a315['id']!==_0x42906f[_0x4a984b(0x310)]['id'])return;const _0x2b6ded=_0x41a315[_0x4a984b(0x184)];if(!this[_0x4a984b(0x369)]((_0x3e7e2b=_0x2b6ded[_0x4a984b(0x2fd)])!=null?_0x3e7e2b:[]))return;if(!this[_0x4a984b(0x1eb)]())throw this[_0x4a984b(0x3e6)](_0x41a315,_0x3962b),this[_0x4a984b(0x3a9)](),new _0x3ca32a['CanceledError']();})),this[_0x4366be(0x36d)](this[_0x4366be(0x2b6)][_0x4366be(0x376)]((_0x50175b,_0x590a43)=>{const _0x439201=_0x4366be;if(_0x50175b['id']!==_0x42906f[_0x439201(0x3a6)]['id'])return;const _0x289428=_0x50175b['params'];if(_0x3ca33e(_0x289428)){const _0x28cc9f=_0x3ca32a[_0x439201(0x31f)]();this[_0x439201(0x2d2)]['push'](_0x28cc9f),this[_0x439201(0x180)](_0x28cc9f);}else{if(_0xb8f920(_0x289428)&&this[_0x439201(0x2d2)]['length']>0x0){const _0x1be8a8=this['_taskIds'][_0x439201(0x236)]();this[_0x439201(0x3d3)](_0x1be8a8);}}}));}[_0x5a5ea1(0x3d6)](){const _0x1ef3d5=_0x5a5ea1;super[_0x1ef3d5(0x3d6)](),this[_0x1ef3d5(0x321)](),this[_0x1ef3d5(0x2d2)]=[],this[_0x1ef3d5(0x25b)]=0x0,this[_0x1ef3d5(0x387)]=0x0,this[_0x1ef3d5(0x262)]=0x0;}async[_0x5a5ea1(0x3e6)](_0x4f442b,_0x5375b9){const _0x1b6633=_0x5a5ea1;for(let _0x79062b=0x0;_0x79062b<0x1e;_0x79062b++)try{if(await this[_0x1b6633(0x318)](),this['_checkCalculationAvailable']()){this[_0x1b6633(0x179)](_0x4f442b,_0x5375b9),this[_0x1b6633(0x3a2)][_0x1b6633(0x19c)]({'content':this[_0x1b6633(0x3cd)]['t'](_0x1b6633(0x3c7)),'type':_0x22c154[_0x1b6633(0x3fc)][_0x1b6633(0x2d5)]});return;}await new Promise(_0x44cc3f=>{this['_pollingInterval']=window['setTimeout'](_0x44cc3f,0x3e8);});}catch(_0x5b148e){this[_0x1b6633(0x331)]['error'](_0x5b148e);}this[_0x1b6633(0x3a2)][_0x1b6633(0x19c)]({'content':this['_localeService']['t'](_0x1b6633(0x3d9)),'type':_0x22c154[_0x1b6633(0x3fc)][_0x1b6633(0x3e5)]});}[_0x5a5ea1(0x179)](_0x4f92ac,_0x52034e){const _0x154dd3=_0x5a5ea1;try{this[_0x154dd3(0x2b6)]['executeCommand'](_0x4f92ac['id'],_0x4f92ac['params'],_0x52034e);}catch(_0xae1cea){this[_0x154dd3(0x331)][_0x154dd3(0x1f9)](_0xae1cea);}}[_0x5a5ea1(0x40b)](_0x46b889,_0x121c4d){const _0xd40d39=_0x5a5ea1;_0x121c4d<this[_0xd40d39(0x262)]||(this['_lastResponseTimestamp']=_0x121c4d,this[_0xd40d39(0x387)]=Number['parseInt'](_0x46b889[_0xd40d39(0x3df)]),this[_0xd40d39(0x25b)]=Number[_0xd40d39(0x3f0)](_0x46b889[_0xd40d39(0x406)]));}async[_0x5a5ea1(0x180)](_0xe1cccd){const _0x11a50d=_0x5a5ea1;var _0x531808,_0x195bce;const _0x495637=Date[_0x11a50d(0x219)]();try{const _0x103139=((_0x531808=this[_0x11a50d(0x212)][_0x11a50d(0x26c)](_0x2a58e2[_0x11a50d(0x2ea)]))==null?void 0x0:_0x531808['startFormulaLimitUrl'])||_0x5578d6,_0x5ab23c=(await this['_httpService'][_0x11a50d(0x441)](_0x103139,{'body':JSON['stringify']({'taskId':_0xe1cccd})}))[_0x11a50d(0x1d7)];if(((_0x195bce=_0x5ab23c[_0x11a50d(0x1f9)])==null?void 0x0:_0x195bce[_0x11a50d(0x335)])!==_0x5a198e['OK'])return;this[_0x11a50d(0x40b)](_0x5ab23c[_0x11a50d(0x288)],_0x495637);}catch(_0x1d49ff){this['_logService'][_0x11a50d(0x1f9)](_0x1d49ff);}}async[_0x5a5ea1(0x318)](_0xcdf5d5){const _0x270a77=_0x5a5ea1;var _0x4d8f83,_0x4516bd;const _0x4197c1=Date[_0x270a77(0x219)]();try{const _0x59d41c=((_0x4d8f83=this['_configService']['getConfig'](_0x2a58e2['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x4d8f83[_0x270a77(0x168)])||_0x4b2ddc,_0x2d6477=_0xcdf5d5?_0x59d41c+'?taskId='+encodeURIComponent(_0xcdf5d5):_0x59d41c,_0x141041=(await this[_0x270a77(0x1f8)][_0x270a77(0x351)](_0x2d6477))[_0x270a77(0x1d7)];if(((_0x4516bd=_0x141041[_0x270a77(0x1f9)])==null?void 0x0:_0x4516bd[_0x270a77(0x335)])!==_0x5a198e['OK'])return;this[_0x270a77(0x40b)](_0x141041[_0x270a77(0x288)],_0x4197c1);}catch(_0x4aacba){this[_0x270a77(0x331)][_0x270a77(0x1f9)](_0x4aacba);}}async['_releaseCalculationLimit'](_0x5f49a7){const _0x27975b=_0x5a5ea1;var _0x2cbce5,_0x45e502;const _0x3f4c19=Date[_0x27975b(0x219)]();try{const _0x1b5351=((_0x2cbce5=this[_0x27975b(0x212)][_0x27975b(0x26c)](_0x2a58e2[_0x27975b(0x2ea)]))==null?void 0x0:_0x2cbce5['releaseFormulaLimitUrl'])||_0x4abccc,_0x197520=(await this['_httpService'][_0x27975b(0x441)](_0x1b5351,{'body':JSON[_0x27975b(0x204)]({'taskId':_0x5f49a7})}))[_0x27975b(0x1d7)];if(((_0x45e502=_0x197520[_0x27975b(0x1f9)])==null?void 0x0:_0x45e502[_0x27975b(0x335)])!==_0x5a198e['OK'])return;this[_0x27975b(0x40b)](_0x197520[_0x27975b(0x288)],_0x3f4c19);}catch(_0x4a9d71){this[_0x27975b(0x331)][_0x27975b(0x1f9)](_0x4a9d71);}}['_checkCalculationAvailable'](){const _0x53c70d=_0x5a5ea1;return this['_maxFormulaLimit']===0x0?!0x0:this['_maxFormulaLimit']-this[_0x53c70d(0x25b)]>0x0;}[_0x5a5ea1(0x321)](){const _0x1400f1=_0x5a5ea1;this[_0x1400f1(0x2a2)]&&(clearTimeout(this[_0x1400f1(0x2a2)]),this[_0x1400f1(0x2a2)]=null);}[_0x5a5ea1(0x3a9)](){const _0x328091=_0x5a5ea1;this[_0x328091(0x3a2)][_0x328091(0x19c)]({'content':this[_0x328091(0x3cd)]['t'](_0x328091(0x233)),'type':_0x22c154['MessageType'][_0x328091(0x374)]});}[_0x5a5ea1(0x369)](_0x589fba){const _0x29200a=_0x5a5ea1;for(const _0x3cb5d8 of _0x589fba){const {unitId:_0x43286f,sheetId:_0x2dbed4,range:_0x91b738}=_0x3cb5d8,_0xc19688=this['_univerInstanceService']['getUnit'](_0x43286f);if(!_0xc19688)continue;const _0x450f01=_0xc19688['getSheetBySheetId'](_0x2dbed4);if(!_0x450f01)continue;const _0x5683e9=_0x450f01['getCellMatrix']();for(let _0x951d2e=_0x91b738['startRow'];_0x951d2e<=_0x91b738[_0x29200a(0x402)];_0x951d2e++)for(let _0x5ec29e=_0x91b738[_0x29200a(0x37d)];_0x5ec29e<=_0x91b738[_0x29200a(0x399)];_0x5ec29e++){const _0x48b925=_0x5683e9[_0x29200a(0x2bc)](_0x951d2e,_0x5ec29e);if(_0x48b925&&(_0x3ca32a[_0x29200a(0x1ea)](_0x48b925['f'])||_0x3ca32a[_0x29200a(0x1bc)](_0x48b925['si'])))return!0x0;}}return!0x1;}};_0x3e5b60=_0x5eb5b8([_0x19ccb5(0x0,_0x3ca32a[_0x5a5ea1(0x2dd)](_0x32fdb4[_0x5a5ea1(0x21e)])),_0x19ccb5(0x1,_0x3ca32a['ICommandService']),_0x19ccb5(0x2,_0x3ca32a['IConfigService']),_0x19ccb5(0x3,_0x3ca32a['Inject'](_0x478e27['HTTPService'])),_0x19ccb5(0x4,_0x3ca32a['IUniverInstanceService']),_0x19ccb5(0x5,_0x3ca32a['ILogService']),_0x19ccb5(0x6,_0x3ca32a[_0x5a5ea1(0x2dd)](_0x3ca32a['LocaleService']))],_0x3e5b60);var _0x5e859a=Object[_0x5a5ea1(0x3b1)],_0x71e607=(_0x5b52ea,_0x29a3c5,_0x31d966,_0x1b26da)=>{const _0x2cb7fd=_0x5a5ea1;for(var _0x5ccab7=_0x1b26da>0x1?void 0x0:_0x1b26da?_0x5e859a(_0x29a3c5,_0x31d966):_0x29a3c5,_0x47afc5=_0x5b52ea[_0x2cb7fd(0x3ca)]-0x1,_0x340b05;_0x47afc5>=0x0;_0x47afc5--)(_0x340b05=_0x5b52ea[_0x47afc5])&&(_0x5ccab7=_0x340b05(_0x5ccab7)||_0x5ccab7);return _0x5ccab7;},_0x4dae0c=(_0x1a399d,_0x58743e)=>(_0x4e9e48,_0x5916e1)=>_0x58743e(_0x4e9e48,_0x5916e1,_0x1a399d);let _0xae1372=class extends _0x3ca32a['Disposable']{constructor(_0x5cdec2,_0x3ffa96,_0x251097){const _0x480eae=_0x5a5ea1;super(),_0x144f01(this,'_cachedData',new Map()),_0x144f01(this,'_saveTaskMap',new Map()),_0x144f01(this,_0x480eae(0x3c8),!0x1),(this[_0x480eae(0x212)]=_0x5cdec2,this['_localStorageService']=_0x3ffa96,this[_0x480eae(0x3ce)]=_0x251097);}[_0x5a5ea1(0x344)](){const _0x1613a7=_0x5a5ea1;this[_0x1613a7(0x3c8)]=!0x0;}[_0x5a5ea1(0x35a)](){const _0x432d4e=_0x5a5ea1;this[_0x432d4e(0x3c8)]=!0x1;}get[_0x5a5ea1(0x1f5)](){const _0x2dabca=_0x5a5ea1;return this[_0x2dabca(0x237)];}[_0x5a5ea1(0x3d6)](){const _0x4680b1=_0x5a5ea1;this[_0x4680b1(0x2c3)]()[_0x4680b1(0x3e8)](()=>super['dispose']());}async[_0x5a5ea1(0x2bb)](_0x2fb917){const _0x473d39=_0x5a5ea1;return this[_0x473d39(0x3c8)]?null:this[_0x473d39(0x2ac)][_0x473d39(0x40f)](_0x2a58e2[_0x473d39(0x164)](_0x2fb917));}async[_0x5a5ea1(0x282)](_0x54836b,_0x313baa){const _0x28d23e=_0x5a5ea1;return!!this['_localStorageService'][_0x28d23e(0x39d)](_0x54836b,_0x313baa);}[_0x5a5ea1(0x29f)](_0x228daf,_0x4dacfe,_0x46ce6f,_0x401b76){const _0x2fd11a=_0x5a5ea1,_0x1b1645=this[_0x2fd11a(0x3ce)][_0x2fd11a(0x39a)](_0x228daf);this[_0x2fd11a(0x1db)][_0x2fd11a(0x37f)](_0x228daf,{'unitID':_0x228daf,'type':_0x4dacfe,'awaitingChangeset':_0x46ce6f,'mutations':_0x401b76,'rev':_0x1b1645}),this[_0x2fd11a(0x237)][_0x2fd11a(0x2a5)](_0x228daf)||this[_0x2fd11a(0x1b8)](_0x228daf);}['_scheduleSaving'](_0x21c81e){const _0x5bb0a5=_0x5a5ea1,_0x4d8c13=this['_getSaveTimeout']();_0x4d8c13===0x0?this[_0x5bb0a5(0x24e)](_0x21c81e):this[_0x5bb0a5(0x237)][_0x5bb0a5(0x37f)](_0x21c81e,setTimeout(()=>this['_saveCache'](_0x21c81e),_0x4d8c13));}['_getSaveTimeout'](){const _0x215c48=_0x5a5ea1;var _0x1a28e0;return(_0x1a28e0=this['_configService'][_0x215c48(0x26c)](_0x2a58e2[_0x215c48(0x1ff)]))!=null?_0x1a28e0:_0x2a58e2['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x25b2dc){const _0x4923ab=_0x5a5ea1,_0x5310b1=this['_saveTaskMap']['get'](_0x25b2dc);return _0x5310b1!==void 0x0&&window['clearTimeout'](_0x5310b1),this[_0x4923ab(0x2ac)][_0x4923ab(0x39d)](_0x2a58e2[_0x4923ab(0x164)](_0x25b2dc),this['_cachedData'][_0x4923ab(0x351)](_0x25b2dc))[_0x4923ab(0x3e8)](()=>this[_0x4923ab(0x237)][_0x4923ab(0x3a7)](_0x25b2dc));}async[_0x5a5ea1(0x2c3)](){const _0x4f2963=_0x5a5ea1,_0x13a56a=[];this[_0x4f2963(0x237)][_0x4f2963(0x436)]((_0x3809c5,_0x55d257)=>{const _0x117766=_0x4f2963;window[_0x117766(0x176)](_0x3809c5),_0x13a56a[_0x117766(0x254)](this[_0x117766(0x24e)](_0x55d257)['then'](()=>{const _0x36c2c4=_0x117766;this[_0x36c2c4(0x237)][_0x36c2c4(0x3a7)](_0x55d257);}));}),await Promise['all'](_0x13a56a);}};_0xae1372=_0x71e607([_0x4dae0c(0x0,_0x3ca32a[_0x5a5ea1(0x2fb)]),_0x4dae0c(0x1,_0x3ca32a[_0x5a5ea1(0x419)]),_0x4dae0c(0x2,_0x3ca32a[_0x5a5ea1(0x2dd)](_0x20e756['RevisionService']))],_0xae1372);class _0x1a460a extends _0x3ca32a['RxDisposable']{constructor(){const _0x3ace79=_0x5a5ea1;super(),_0x144f01(this,_0x3ace79(0x2cc)),this[_0x3ace79(0x2cc)]=_0x467ef2[_0x3ace79(0x414)](window,_0x3ace79(0x362))['pipe'](_0x467ef2[_0x3ace79(0x2ad)](this[_0x3ace79(0x3e2)]),_0x467ef2[_0x3ace79(0x238)](0x1),_0x467ef2['mapTo'](void 0x0));}['setParam'](_0x46dd6a,_0x47f5f5,_0x396e38=!0x1){const _0x84635e=_0x5a5ea1,_0x1a48f3=new URL(window[_0x84635e(0x2b2)][_0x84635e(0x3ed)]);_0x1a48f3[_0x84635e(0x2be)]['set'](_0x46dd6a,_0x47f5f5),_0x396e38?window['history']['replaceState']('','',_0x1a48f3[_0x84635e(0x27d)]()):window[_0x84635e(0x18a)][_0x84635e(0x15c)]('','',_0x1a48f3[_0x84635e(0x27d)]());}[_0x5a5ea1(0x1b4)](_0x1ef119,_0x421e01=!0x1){const _0x417f2e=_0x5a5ea1,_0x25ad62=new URL(window[_0x417f2e(0x2b2)][_0x417f2e(0x3ed)]);_0x25ad62[_0x417f2e(0x2be)]['delete'](_0x1ef119),_0x421e01?window[_0x417f2e(0x18a)][_0x417f2e(0x3f9)]('','',_0x25ad62[_0x417f2e(0x27d)]()):window['history']['pushState']('','',_0x25ad62['toString']());}[_0x5a5ea1(0x308)](_0x5cd612){const _0x2f513f=_0x5a5ea1;var _0x19ad46;return(_0x19ad46=new URL(window[_0x2f513f(0x2b2)][_0x2f513f(0x3ed)])[_0x2f513f(0x2be)][_0x2f513f(0x351)](_0x5cd612))!=null?_0x19ad46:void 0x0;}}var _0x33adaf=Object[_0x5a5ea1(0x36f)],_0x20373d=Object[_0x5a5ea1(0x3b1)],_0x3968d1=(_0x4dc42e,_0x1bd6a5,_0x304895)=>_0x1bd6a5 in _0x4dc42e?_0x33adaf(_0x4dc42e,_0x1bd6a5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x304895}):_0x4dc42e[_0x1bd6a5]=_0x304895,_0x3b8401=(_0x1b9f6a,_0x27a89b,_0x6cef85,_0x589295)=>{const _0x1f30bd=_0x5a5ea1;for(var _0x4b5d4a=_0x589295>0x1?void 0x0:_0x589295?_0x20373d(_0x27a89b,_0x6cef85):_0x27a89b,_0x534e18=_0x1b9f6a[_0x1f30bd(0x3ca)]-0x1,_0x145b8e;_0x534e18>=0x0;_0x534e18--)(_0x145b8e=_0x1b9f6a[_0x534e18])&&(_0x4b5d4a=_0x145b8e(_0x4b5d4a)||_0x4b5d4a);return _0x4b5d4a;},_0x59f273=(_0x272185,_0x42bbd9)=>(_0x4e9a64,_0x5eac2c)=>_0x42bbd9(_0x4e9a64,_0x5eac2c,_0x272185),_0x249e8d=(_0x1a2860,_0x1dec09,_0xd2fe70)=>_0x3968d1(_0x1a2860,_0x1dec09+'',_0xd2fe70);const _0x155dea=_0x5a5ea1(0x3f1);_0x247a8b[_0x5a5ea1(0x3de)]=class extends _0x3ca32a[_0x5a5ea1(0x347)]{constructor(_0x507088=_0x54dd5d,_0x1ef818,_0x3ba1bd,_0x54a046){const _0x1b5bd7=_0x5a5ea1;super(),this[_0x1b5bd7(0x297)]=_0x507088,this[_0x1b5bd7(0x2fc)]=_0x1ef818,this[_0x1b5bd7(0x269)]=_0x3ba1bd,this['_configService']=_0x54a046;const {..._0x587821}=_0x3ca32a[_0x1b5bd7(0x235)]({},_0x54dd5d,this[_0x1b5bd7(0x297)]);this[_0x1b5bd7(0x212)][_0x1b5bd7(0x198)](_0x5db0f4,_0x587821);}[_0x5a5ea1(0x2e5)](){const _0x51bcfb=_0x5a5ea1;this[_0x51bcfb(0x2da)](),this[_0x51bcfb(0x2bd)]();}[_0x5a5ea1(0x364)](){const _0x427d7e=_0x5a5ea1;this[_0x427d7e(0x250)]();}[_0x5a5ea1(0x2da)](){const _0x7aeb77=_0x5a5ea1;var _0x16522a;const _0x2666b=[[_0x157123],[_0x3e5b60],[_0x14ddaa],[_0x3a004a],[_0x45be5f],[_0x2883dc],[_0x3a7ad0,{'useClass':_0x1a460a}],[_0x478e27['ISocketService'],{'useClass':_0x478e27['WebSocketService']}],[_0x2a58e2[_0x7aeb77(0x16d)],{'useClass':_0xae1372}],[_0x247a8b[_0x7aeb77(0x189)]],[_0x3c186a],[_0x2175be],[_0xdaf07d],[_0x530f86],[_0x247a8b['CollaborationDataLoaderController']]];this[_0x7aeb77(0x297)][_0x7aeb77(0x394)]&&_0x2666b[_0x7aeb77(0x254)]([_0x3e68e5]),_0x3ca32a[_0x7aeb77(0x449)](this['_injector'],_0x3ca32a[_0x7aeb77(0x215)](_0x2666b,(_0x16522a=this[_0x7aeb77(0x297)])==null?void 0x0:_0x16522a['override']));}[_0x5a5ea1(0x250)](){const _0x378367=_0x5a5ea1;this[_0x378367(0x36d)](this[_0x378367(0x2fc)][_0x378367(0x2fa)](_0x3ca32a[_0x378367(0x23f)][_0x378367(0x30c)],[_0x1ae47a])),this[_0x378367(0x36d)](this['_renderManagerService']['registerRenderModule'](_0x3ca32a[_0x378367(0x23f)][_0x378367(0x286)],[_0x2005e5]));}[_0x5a5ea1(0x2bd)](){const _0x5011a4=_0x5a5ea1;_0x3ca32a['touchDependencies'](this[_0x5011a4(0x269)],[[_0xdaf07d],[_0x247a8b['DesktopCollaborationStatusDisplayController']],[_0x3c186a],[_0x2175be],[_0x247a8b[_0x5011a4(0x275)]],[_0x3e5b60]]),this[_0x5011a4(0x297)][_0x5011a4(0x394)]&&_0x3ca32a[_0x5011a4(0x333)](this[_0x5011a4(0x269)],[[_0x3e68e5]]);}},_0x249e8d(_0x247a8b[_0x5a5ea1(0x3de)],_0x5a5ea1(0x20b),_0x155dea),_0x247a8b['UniverCollaborationClientUIPlugin']=_0x3b8401([_0x3ca32a[_0x5a5ea1(0x425)](_0x2a58e2[_0x5a5ea1(0x1d5)]),_0x59f273(0x1,_0x10484c[_0x5a5ea1(0x277)]),_0x59f273(0x2,_0x3ca32a['Inject'](_0x3ca32a[_0x5a5ea1(0x260)])),_0x59f273(0x3,_0x3ca32a[_0x5a5ea1(0x2fb)])],_0x247a8b[_0x5a5ea1(0x3de)]);var _0x361146=Object['getOwnPropertyDescriptor'],_0x189f5b=(_0x471ed3,_0x529571,_0xe2c40,_0x243c4f)=>{const _0x1b9edc=_0x5a5ea1;for(var _0x595927=_0x243c4f>0x1?void 0x0:_0x243c4f?_0x361146(_0x529571,_0xe2c40):_0x529571,_0x15c070=_0x471ed3[_0x1b9edc(0x3ca)]-0x1,_0x45620f;_0x15c070>=0x0;_0x15c070--)(_0x45620f=_0x471ed3[_0x15c070])&&(_0x595927=_0x45620f(_0x595927)||_0x595927);return _0x595927;},_0x47ffa7=(_0x11ceab,_0x194f23)=>(_0x20c2a8,_0x11060a)=>_0x194f23(_0x20c2a8,_0x11060a,_0x11ceab);_0x247a8b['BrowserCollaborationSocketService']=class extends _0x2a58e2[_0x5a5ea1(0x193)]{constructor(_0x4aa184,_0x332f31,_0xa7f5c0,_0x34e898,_0x1cf7ec){super(_0x4aa184,_0x332f31,_0xa7f5c0,_0x34e898,_0x1cf7ec);}async[_0x5a5ea1(0x1c4)](_0x214f16){const _0x57ebb3=_0x5a5ea1,_0x181b3a=await this[_0x57ebb3(0x163)](),_0x24dde6=this[_0x57ebb3(0x197)](_0x214f16,_0x181b3a);return this[_0x57ebb3(0x290)](_0x24dde6);}[_0x5a5ea1(0x197)](_0x1ec932,_0x4259ac){const _0x4c57f8=_0x5a5ea1,_0x4e786e=typeof window>'u'?new URL(_0x1ec932):new URL(_0x1ec932,window['location'][_0x4c57f8(0x3b9)]);_0x4e786e[_0x4c57f8(0x2be)]['set'](_0x4c57f8(0x17e),_0x4259ac);const _0x41bdaf=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x4c57f8(0x300)]);return _0x41bdaf['get'](_0x4c57f8(0x202))&&_0x4e786e[_0x4c57f8(0x2be)][_0x4c57f8(0x37f)](_0x4c57f8(0x202),_0x41bdaf[_0x4c57f8(0x351)](_0x4c57f8(0x202))),_0x4e786e[_0x4c57f8(0x27d)]();}async[_0x5a5ea1(0x163)](){const _0x32f2ad=_0x5a5ea1;var _0x1c4c24,_0x133ebf,_0x1098b8;const _0x2b890a=this[_0x32f2ad(0x212)][_0x32f2ad(0x26c)](_0x2a58e2[_0x32f2ad(0x2ea)]),_0x493299=(_0x1c4c24=_0x2b890a==null?void 0x0:_0x2b890a[_0x32f2ad(0x32d)])!=null?_0x1c4c24:_0x2a58e2[_0x32f2ad(0x1bf)];return(_0x1098b8=(_0x133ebf=(await this[_0x32f2ad(0x1f8)]['get'](_0x493299,{'headers':{'Content-Type':_0x32f2ad(0x39e)}}))[_0x32f2ad(0x1d7)])==null?void 0x0:_0x133ebf[_0x32f2ad(0x221)])!=null?_0x1098b8:'';}},_0x247a8b[_0x5a5ea1(0x34b)]=_0x189f5b([_0x47ffa7(0x0,_0x3ca32a['Inject'](_0x3ca32a[_0x5a5ea1(0x260)])),_0x47ffa7(0x1,_0x3ca32a[_0x5a5ea1(0x2dd)](_0x478e27['HTTPService'])),_0x47ffa7(0x2,_0x3ca32a[_0x5a5ea1(0x2fb)]),_0x47ffa7(0x3,_0x3ca32a[_0x5a5ea1(0x3ba)]),_0x47ffa7(0x4,_0x20e756[_0x5a5ea1(0x352)])],_0x247a8b['BrowserCollaborationSocketService']);var _0x41522e=Object[_0x5a5ea1(0x3b1)],_0x569505=(_0x325758,_0x1ddcc8,_0x4f9c6d,_0x249c6b)=>{const _0x38637b=_0x5a5ea1;for(var _0x1379de=_0x249c6b>0x1?void 0x0:_0x249c6b?_0x41522e(_0x1ddcc8,_0x4f9c6d):_0x1ddcc8,_0x107e75=_0x325758[_0x38637b(0x3ca)]-0x1,_0x3a1037;_0x107e75>=0x0;_0x107e75--)(_0x3a1037=_0x325758[_0x107e75])&&(_0x1379de=_0x3a1037(_0x1379de)||_0x1379de);return _0x1379de;},_0x14e164=(_0x1776ce,_0x32b09b)=>(_0xe938ce,_0x3713fc)=>_0x32b09b(_0xe938ce,_0x3713fc,_0x1776ce);_0x247a8b[_0x5a5ea1(0x270)]=class extends _0x3ca32a['Disposable']{constructor(_0x4d4d80,_0x3baff0,_0x1b9519){const _0x5ac134=_0x5a5ea1;super(),this[_0x5ac134(0x1f3)]=_0x4d4d80,this[_0x5ac134(0x1f8)]=_0x3baff0,this[_0x5ac134(0x212)]=_0x1b9519;}async[_0x5a5ea1(0x1dd)](_0x3e7ed6,_0x14cbdf,_0x2354a0,..._0x131d05){const _0x58e791=_0x5a5ea1;var _0x395fef,_0x2c63c1,_0xbb3d46,_0x30f1f5;const _0x3ccecc=this[_0x58e791(0x1f3)]['getFocusedUnit']();if(!_0x3ccecc)throw new Error(_0x58e791(0x232));const _0x46f40d=((_0x395fef=this[_0x58e791(0x212)][_0x58e791(0x26c)](_0x2a58e2['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x395fef:_0x2a58e2[_0x58e791(0x1ce)])+'/'+_0x3e7ed6+_0x58e791(0x27e)+_0x14cbdf,_0x368f5a=new URL(window[_0x58e791(0x2b2)][_0x58e791(0x3ed)]),_0x802498={'scriptId':_0x3e7ed6,'runId':(_0x2c63c1=_0x368f5a[_0x58e791(0x2be)][_0x58e791(0x351)](_0x58e791(0x202)))!=null?_0x2c63c1:'','function':_0x14cbdf,'unitId':_0x3ccecc[_0x58e791(0x1b1)](),'argsOfFunction':JSON[_0x58e791(0x204)](_0x131d05),'invokeId':(_0xbb3d46=_0x2354a0['invokeId'])!=null?_0xbb3d46:'','executionId':(_0x30f1f5=_0x2354a0[_0x58e791(0x248)])!=null?_0x30f1f5:''};try{const _0x10edfe=await this[_0x58e791(0x1f8)][_0x58e791(0x441)](_0x46f40d,{'body':_0x802498});return _0x10edfe['body'][_0x58e791(0x1f9)]&&_0x10edfe[_0x58e791(0x1d7)]['error']['code']!==_0x5a198e['OK']?_0x58e791(0x276):_0x10edfe[_0x58e791(0x1d7)][_0x58e791(0x264)];}catch{return _0x58e791(0x276);}}},_0x247a8b['RemoteUniscriptService']=_0x569505([_0x14e164(0x0,_0x3ca32a[_0x5a5ea1(0x2d4)]),_0x14e164(0x1,_0x3ca32a['Inject'](_0x478e27['HTTPService'])),_0x14e164(0x2,_0x3ca32a[_0x5a5ea1(0x2fb)])],_0x247a8b[_0x5a5ea1(0x270)]);const _0x1d5b04=0x7530,_0x3636b6=_0x5a5ea1(0x231);class _0x2f4a17 extends _0x3ca32a[_0x5a5ea1(0x1df)]{constructor(){const _0x1f4f20=_0x5a5ea1;super(),_0x144f01(this,'_id',_0x3ca32a[_0x1f4f20(0x31f)]()),_0x144f01(this,_0x1f4f20(0x34c),new Set()),_0x144f01(this,_0x1f4f20(0x1ef),new Map()),_0x144f01(this,'_heartbeatTimer',null),_0x144f01(this,'_clearOtherTimers',new Map()),_0x144f01(this,_0x1f4f20(0x429),new Map()),this[_0x1f4f20(0x3e7)]();}['dispose'](){const _0x176385=_0x5a5ea1;super[_0x176385(0x3d6)](),this[_0x176385(0x181)][_0x176385(0x436)]((_0x418232,_0x416b0c)=>this[_0x176385(0x43d)](_0x416b0c)),this[_0x176385(0x437)]&&window[_0x176385(0x381)](this[_0x176385(0x437)]);}[_0x5a5ea1(0x21d)](_0x2204fd){return this['_ensureSubject'](_0x2204fd)['pipe'](_0x467ef2['distinctUntilChanged']());}['editingUnit'](_0x2754cd){const _0x1ddb75=_0x5a5ea1;this[_0x1ddb75(0x34c)][_0x1ddb75(0x1b6)]===0x0&&this[_0x1ddb75(0x334)](),this[_0x1ddb75(0x34c)][_0x1ddb75(0x2ec)](_0x2754cd),this[_0x1ddb75(0x31d)]({'type':0x0,'memberID':this[_0x1ddb75(0x43b)],'unitIDs':[_0x2754cd],'isForwarded':!0x1});}[_0x5a5ea1(0x389)](_0x5408a3){const _0x354717=_0x5a5ea1;this['_selfUnitIDs'][_0x354717(0x3a7)](_0x5408a3),this['_selfUnitIDs'][_0x354717(0x1b6)]===0x0&&this['_heartbeatTimer']&&window[_0x354717(0x381)](this['_heartbeatTimer']);}[_0x5a5ea1(0x3e7)](){const _0x41d582=_0x5a5ea1;this[_0x41d582(0x36d)](_0x3ca32a['toDisposable'](_0x467ef2['fromEvent'](window,_0x41d582(0x38a))['subscribe'](_0x24996d=>{const _0x236fd3=_0x41d582;if(_0x24996d['key']!==_0x3636b6||!_0x24996d[_0x236fd3(0x303)])return;const _0x2de324=JSON['parse'](_0x24996d['newValue']);this[_0x236fd3(0x1d9)](_0x2de324);}))),window[_0x41d582(0x37e)]('unload',()=>this[_0x41d582(0x31d)]({'type':0x1,'memberID':this[_0x41d582(0x43b)],'unitIDs':Array[_0x41d582(0x357)](this[_0x41d582(0x34c)])}));}[_0x5a5ea1(0x1d9)](_0x5b1b03){const _0x2e1c71=_0x5a5ea1;switch(_0x5b1b03['type']){case 0x0:this[_0x2e1c71(0x2b1)](_0x5b1b03);break;case 0x1:this[_0x2e1c71(0x301)](_0x5b1b03);break;case 0x2:this[_0x2e1c71(0x287)](_0x5b1b03);break;}}[_0x5a5ea1(0x2b1)](_0x4dc85c){const _0x47db92=_0x5a5ea1,{unitIDs:_0x50baac,memberID:_0x514141,isForwarded:_0x6052e8}=_0x4dc85c;_0x50baac[_0x47db92(0x436)](_0x364210=>{const _0x2b87d6=_0x47db92;if(!_0x6052e8&&this[_0x2b87d6(0x1ef)][_0x2b87d6(0x2a5)](_0x364210)&&this[_0x2b87d6(0x268)](_0x364210)['next'](_0x2a58e2[_0x2b87d6(0x354)]['OTHER_CLIENTS_EDITING']),!this[_0x2b87d6(0x1ef)][_0x2b87d6(0x2a5)](_0x364210)||!this[_0x2b87d6(0x1ef)][_0x2b87d6(0x351)](_0x364210)[_0x2b87d6(0x2a5)](_0x514141)){const _0x118aad=this['_unitOnClients'][_0x2b87d6(0x351)](_0x364210)||new Set();_0x118aad[_0x2b87d6(0x2ec)](_0x514141),this[_0x2b87d6(0x1ef)][_0x2b87d6(0x37f)](_0x364210,_0x118aad),this['_scheduleClearOtherTimer'](_0x514141);}}),_0x6052e8||this[_0x47db92(0x31d)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x47db92(0x34c)]],'isForwarded':!0x0});}[_0x5a5ea1(0x2c8)](_0x5d2eca){const _0xc20346=_0x5a5ea1;this['_removeClearOtherTimer'](_0x5d2eca);const _0x4c7ef1=window[_0xc20346(0x320)](()=>{const _0x42cc6c=_0xc20346;this[_0x42cc6c(0x1ef)]['forEach'](_0x5a61a0=>{_0x5a61a0['delete'](_0x5d2eca);});},_0x1d5b04*0x2);this['_clearOtherTimers'][_0xc20346(0x37f)](_0x5d2eca,_0x4c7ef1);}[_0x5a5ea1(0x43d)](_0x272b4c){const _0x3db0f5=_0x5a5ea1;if(this[_0x3db0f5(0x181)][_0x3db0f5(0x2a5)](_0x272b4c)){const _0x392312=this['_clearOtherTimers'][_0x3db0f5(0x351)](_0x272b4c);_0x392312&&window[_0x3db0f5(0x176)](_0x392312),this[_0x3db0f5(0x181)][_0x3db0f5(0x37f)](_0x272b4c,null);}}[_0x5a5ea1(0x301)](_0x5ec259){const _0x527f63=_0x5a5ea1,{memberID:_0x36b94a,unitIDs:_0x16105d}=_0x5ec259;_0x16105d[_0x527f63(0x436)](_0x48a64d=>{const _0x1fbad2=_0x527f63;var _0xa7daa8;const _0x2a7975=this[_0x1fbad2(0x1ef)][_0x1fbad2(0x351)](_0x48a64d);_0x2a7975&&(_0x2a7975[_0x1fbad2(0x3a7)](_0x36b94a),(_0xa7daa8=this[_0x1fbad2(0x268)](_0x48a64d))==null||_0xa7daa8[_0x1fbad2(0x2ef)](_0x2a7975[_0x1fbad2(0x1b6)]===0x0?_0x2a58e2[_0x1fbad2(0x354)][_0x1fbad2(0x2f9)]:_0x2a58e2[_0x1fbad2(0x354)][_0x1fbad2(0x305)]));}),this['_removeClearOtherTimer'](_0x36b94a);}[_0x5a5ea1(0x287)](_0x203b81){const _0x8f17a8=_0x5a5ea1;this[_0x8f17a8(0x2c8)](_0x203b81['memberID']);}[_0x5a5ea1(0x31d)](_0x1058c3){const _0x3d7a5c=_0x5a5ea1;localStorage[_0x3d7a5c(0x39d)](_0x3636b6,JSON['stringify'](_0x1058c3));}[_0x5a5ea1(0x334)](){const _0x3659a7=_0x5a5ea1;this[_0x3659a7(0x437)]=window[_0x3659a7(0x187)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x1d5b04);}['_ensureSubject'](_0x41f22a){const _0x21deae=_0x5a5ea1;return this[_0x21deae(0x429)]['has'](_0x41f22a)||this[_0x21deae(0x429)]['set'](_0x41f22a,new _0x467ef2[(_0x21deae(0x1aa))](_0x2a58e2[_0x21deae(0x354)][_0x21deae(0x2f9)])),this[_0x21deae(0x429)][_0x21deae(0x351)](_0x41f22a);}}_0x247a8b[_0x5a5ea1(0x15b)]=_0x3a7ad0,_0x247a8b[_0x5a5ea1(0x411)]=_0x289df0,_0x247a8b[_0x5a5ea1(0x16f)]=_0x2f4a17,_0x247a8b['WebURLService']=_0x1a460a,Object[_0x5a5ea1(0x36f)](_0x247a8b,Symbol['toStringTag'],{'value':_0x5a5ea1(0x160)});}));
|