@univerjs-pro/collaboration-client-ui 0.12.3-experimental.20251205-71d07c3 → 0.12.3-nightly.202512060617
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x20af(_0xe8b194,_0x239d70){_0xe8b194=_0xe8b194-0xa4;const _0xcc20fd=_0xcc20();let _0x20afb0=_0xcc20fd[_0xe8b194];return _0x20afb0;}function _0xcc20(){const _0x5b60ca=['_initEvent','then','handleMoveRange','color','touchDependencies','_config','INVITE_CODE_ALREADY_BOUND','_entities','amd','UniverCollaborationClientPlugin','ACTIVE_UNIT_EVENT_CHANNEL','random','find','_getSaveTimeout','colorChannel1','_monkeyPatchLogService','clipPath','INVITE_CODE_HAS_BEEN_UES','_logService','registerBeforeClose','APPLY_DUPLICATED','CollaborationStatus','code','ITransformService','_cachedData','_heartbeatTimer','APPLY_PERMISSION_DENIED','FormulaExecuteStageType','popstate','fromEvent','_document','_updateCollabCursors','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','transformIMECache','getformulaLimitStatusUrl','redoState','_docStateChangeManagerService','ENTITLE_REPORT_LIMIT_EXCEED','name','catch','CollaborationEvent','_docClipboardService','_urlService','getRenderById','RevisionService','invokeId','idSuffix','_roomMembers$','on-line-icon_clip0_910_349','defIds','onPointerMove$','CollaborationController','200457PZzbBL','runOnServer','urlChange$','_registerDependencies','collabCursorState$','EMAIL_HAS_BEEN_BOUND','override','Vector2','getLocalCacheKey','dirtyRanges','_startDocCollabCursor','debounceTime','asObservable','uni.network.url-service','http://www.w3.org/2000/svg','Inject','CLOSE_ROOM','getSheetId','permission.content','getCollabEntity$','useCallback','react','url(#$1','width','_beforeCloseService','Warning','Loading','searchParams','m2Prime','LICENSE_DISTRO_REJECTED','yellow.400','DesktopCollaborationStatusDisplayController','assignAColorForMemberID','_scheduleClearOtherTimer','_toggleOffline','exports','ENTITLE_COUPON_EXPIRED','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','DataLoaderService','Disposable','_hover','triggerDblclick','registerDependencies','AWAITING','CanceledError','eventID','UNRECOGNIZED','includes','isTransformMutationFailure','collaboration-client-ui.config','history','fromEventSubject','_anchor','_context','m1Prime','useObservable','LICENSE_IMPORT_SIZE_EXCEEDED','_render','enableLocalCache','rxjs/operators','href','SetDocZoomRatioOperation','MessageType','_sheetSkeletonManagerService','IUniverInstanceService','_ensureSubject','REDEMPTION_USER_NOT_ELIGIBLE','collab-rect-range-','IConfigService','NodePositionConvertToRectRange','RemoveRowCommandId','...','ticket','0\x200\x2016\x2016','arc','_clearOtherTimers','currentUsage','off-line-icon','SheetCollabCursorShape','ThemeService','session.connection-failed','YUUMI_ASYNCIO_CANCELLED','post','USER_NOT_INVITED_CODE','clsx','ILocalCacheService','subscribe','function','_memberID','pushState','IBeforeCloseService','forEach','IImageIoService','limitInfo','collabStatus.conflict','collaboration.offline-data-not-saved','EffectRefRangId','translate(.97)','setActiveRange','_docSkeleton','handleDeleteRangeMoveLeft','3987236iRhBnc','SheetSkeletonManagerService','collabStatus.notCollab','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','lineno','NOT_FOUND','YUUMI_CONNECTOR_URL_NOT_FOUND','_init','addHandlerCallback','_currentUsage','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_send','pipe','YUUMI_RATE_OVER_LIMIT','string','row','RefRangeService','USERS_LEAVE','onPointerLeave$','_initStatusListener','executionId','/universer-api/license/formula/limit/status','currentSkeleton$','TOO_MANY_REQUESTS','currentTheme$','cursorInfo$','[CollaborationDataLoaderController]','selection','labelPosition','serializeRangeWithSheet','7025190nzQSoG','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','TEXT','LocaleService','UniverEngineRender','getCollabCursors$','OffLineIcon','unhandledrejection','WECHAT_HAS_BEEN_BOUND','imageSourceType','_updateSubUnitFromURLParams','handleInsertRow','_initCommandExecutedListener','_assignedColors','_unitOnClients','1529432aJDdlI','handleIRemoveCol','_collaborationUIEventService','SessionStatus','operators','CONFLICT','7204bZcNuv','REDEMPTION_CODE_INACTIVE','pluginName','_startCalculationLimit','MemberService','DOC_RANGE_TYPE','useDependency','measureText','formula.calculation.unable','docStateChange$','collabStatus.fetchMiss','activeSheet$','range','_setupSubUnitSync','OTHER_CLIENTS_EDITING','unshift','join','getCellPositionByOffset','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_messageService','getActiveSheet','collab-text-range-','startColumn','getActiveRange','IMessageService','YUUMI_UNABLE_LOAD_URL','[Unhandled\x20Rejection]:\x20','fillStyle','_memberService','_startSheetCollabCursor','DocSkeletonManagerService','BrowserCollaborationSocketService','runRefRangeMutations','transformStateCache','length','Tooltip','setParam','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','forwardRef','SetSelectionsOperation','startFormulaLimitUrl','startsWith','subscribeEvent','PY_RUNTIME_SCRIPT_ERROR','_handleEvent','LOGIN_FAILED','COMPLETION_FINISHED','onStarting','_toggleOnline','merge','RECT','_clearPolling','Error','setInterval','UNIVER_SHEET','HEADER_MENU','setItem','collabStatus.syncing','type','_removeCollabCursors','_labelPosition','size','isTransformMutationsWithChangesetSuccess','_localStorageService','_initStatusComponent','getUnhiddenWorksheets','RemoteUniscriptService','ranges','RemoveColCommandId','INVALID_ARGUMENT','getOwnPropertyDescriptor','whenReady','UNDEFINED','dispose','undoState','executeCommand','PERMISSION_DENIED','sessionStatus$','memberID','functionsExecutedState','_collaborationController','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_themeService','_collabCursorController','transformSelections','_getScale','getParam','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','/universer-api/frontend/logs','from','UNAUTHENTICATED','_univerInstanceService','bind','_commandService','_transformPreviousActiveRange','MOBILE_VERIFY_CODE_MISMATCH','source','_docSyncEditingCollabCursorService','displayName','DocCollaborationEntity','SHEET_VIEWPORT_KEY','_session','APPLY_NON_SEQUENTIAL_REVISION','column','CollaborationDataLoaderController','_draw','getMergeData','_name','mutations','unit','loadUnit','drawWith','MOBILE_HAS_BEEN_BOUND','with','USER_IS_ANONYMOUS','selections','InsertColCommandId','stringify','OFFLINE','_handleHeartbeatEvent','bottom','toDisposable','now','_getMergeRange','entries','_renderManagerService','YUUMI_NO_CUBOID_FOR_QUESTION','map','REDEMPTION_INVALID_CODE','INVALID_INVITE_CODE','onLocalMutation','mask','_cursors','HTTPService','onRendered','ENTITLE_DUP_SUBSCRIPTION','UniverSheetsUi','SetTextSelectionsOperation','@univerjs/design','unload','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','replaceDocRanges','_pollingInterval','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_collaborationSessionService','OnLineIcon','setAlpha','SNAPSHOT_HAS_BEEN_REMOVED','CollaborationUIEventId','onPointerEnter$','jsx','addObjects','use','_notificationService','_scene','all','_syncEditingCollabCursorService','@univerjs/network','#FFF','ONLINE','UnitStatus','NOT_COLLAB','none','_cursor','CURRENT_STATUS_CANNOT_OPERATE','createElement','_docTransformSelectionsService','_initDependencies','_imageIoService','_updateLocalCursor','_handleHover','_uploadLog','maxFormulaLimit','_docTransformStateCacheService','endRow','_cursorInfo$','location','ENTITLE_NEED_BILLING_ADDRESS','@univerjs/sheets','xlink:href','setConfig','_scheduleSaving','getMember','FromArray','releaseFormulaLimitUrl','ERROR_AGAIN','toStringTag','storage','_removeClearOtherTimer','_getFormulaLimitStatus','backgroundColor','removeParam','@univerjs/docs-ui','getDocRanges','_checkCalculationAvailable','EMAIL_VERIFY_CODE_MISMATCH','init','WebSocketService','@univerjs/engine-formula','colno','_onRefRangeChange','collaboration.single-unit.warning','black','CollaborationSocketService','_initUserListener','OTHER_CLIENT_EDITING','defineProperty','send','_collabSessionService','_drawTextRange','substring','disposeWithMe','SetFormulaCalculationStartMutation','_selfUnitIDs','REDEMPTION_CODE_NOT_STARTED','disableLocalCache','UPDATE_CURSOR','JOIN_ROOM_FAILED','fill','10746855zWkcbS','filter','event$','unitId','formula.calculation.waiting','@univerjs/drawing','evenodd','IRenderManagerService','\x20at\x20','subUnitId','unitID','div','getTypeOfUnitDisposed$','cursorInfo','SOCKET_FAILED','replace','actions','[LogService\x20Error]:\x20','status$','/universer-api/license/formula/limit/start','_configService','deserializeRangeWithSheet','current','addObject','RxDisposable','364623kxQPxI','replaceState','LOCAL_CACHE_INTERVAL_KEY','rxjs','exhaustSavingTask','_uiPartsService','INTERNAL_ERROR','DocSelectionManagerService','defs','collab-client.tooltip.reconnect','DisposableCollection','roomMembers','message','path','transformRemoteChangeset','height','editingUnit','getViewport','_drawRectRange','ISocketService','handleDeleteRangeMoveUp','requireSession','clearTimeout','currentColor','COLORS','isFormulaId','save','_getSessionTicket','ENTITLE_INSUFFICIENT_QUOTA','_scheduleHeartbeat','SheetsSelectionsService','sessionTicket','wsSessionTicketUrl','complete','isArray','RegularPolygon','createSocket','jsxs','getUniverSheetInstance','getUndoRedoMutationParamsCache','getValue','restore','_initUnhandledRejectionListener','_entityInit$','_createSocketURL','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getSheetObject','_colorIndex','NodePositionConvertToCursor','getColor','isEditing','DocIMEInputManagerService','transformMutation','blue.400','@univerjs/rpc','getCurrentSelections','WebURLService','max','_docTransformIMECacheService','_eventUnsubscribe','removeEventListener','attrs','Subject','Tools','Failed','setShapeProps','DependentOn','UniverDrawing','round','onCommandExecuted','getConfig','PAYMENT_CHANNEL_NOT_SUPPORT','React','deepClone','red.300','textRanges','YUUMI_ALL_TABLES_IS_INVALID','_transformService','UniverProCollaborationClientUi','data','_revisionService','getSheetBySheetId','ISnapshotServerService','show','UniverDocsUi','DocStateChangeManagerService','addEventListener','_taskIds','_docSkeletonManagerService','_getSheetObject','YUUMI_SUBSCRIPTION_NOT_FOUND','has','UniverDocs','children','combineLatest','_refRangeService','_onCursorDelete','filename','result','UniverSheets','_lastPointer','Rectangle','getUnitStatus$','trim','react/jsx-runtime','_anchorDot','SUCCESS','getColorFromTheme','ENTITLE_INVALID_COUPON_CODE','sheetId','_transformHistoryAndStateStack','getAncestorScale','_injector','_status$','enableFrontendLog','collaboration.closeRoom','doc.mutation.rich-text-editing','RichTextEditingMutation','_localeService','roomMembers$','hovered','getMemberID','_onCursorUpdate','_shapes','_unitStatus','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','contains','ENTITLE_CHAT_LIMIT_EXCEED','_initCommandInterceptor','isActive','rgba(255,\x20255,\x20255,\x200.01)','getRangePointData','APPLY_REJECT','REDEMPTION_CODE_HAS_BEEN_CREATED','next','univer-flex\x20univer-items-center','hide','startRow','ENTITLE_USE_COUPON_NOT_1ST_TRADE','getVpScrollXYInfoByPosToVp','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_online','stack','syncEditingCollabCursor','registerRenderModule','top','reconnect','getCurrent','error','getCurrentRevOfUnit','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','fillText','engine','_updateURLWithCurrentState','1em','_hideTimer','handleInsertCol','_localCacheService','add','svg','IURLService','useRef','toRgbString','REDEMPTION_USER_REDEEM_TIMES_EXCEED','ILogService','_httpService','UniverCollaborationClientUIPlugin','?taskId=','_colorAssignService','parseInt','APPLY_REVISION_CONFILICT','flatMap','CollaborationSessionService','/universer-api/license/formula/limit/done','symbol','BehaviorSubject','findNodePositionByCharIndex','UniverCore','transformByState','_range','getStateCache','get','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_textBubble','LOGIN_TOKEN_PROCESSING_FAILED','transform','params','takeUntil','IDocClipboardService','TEXT_RANGE_LAYER_INDEX','_drawAnchor','WebBrowserSingleActiveUnitService','text','Unknown\x20user','_checkAndWaitForCalculationPermission','InsertRangeMoveRightCommandId','updateOfflineData','search','key','DeleteRangeMoveLeftCommandId','univerjs-icon\x20univerjs-icon-','M0\x200H16V16H0z','UniverInstanceType','ENTITLE_COUPON_USED_UP','getOffsetConfig','Success','getUnitId','dispose$','assign','disposeUnit','collab-text-anchor-','jiqing.500','_saveCache','YUUMI_URL_COL_OUT_OF_RANGE','url(#off-line-icon_clip0_910_343)','switchMap','body','_getAnchorBounding','YUUMI_AI_RUN_FAILED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','Workbook','_disabled','_maxFormulaLimit','_cursorShapes','Rect','createInstance','REDEMPTION_CODE_FULLY_REDEEMED','lineTo','_releaseCalculationLimit','_hovered','push','entityInit$','focused$','permission.title','addClipboardHook','Shape','@univerjs/sheets-ui','delete','_initResize','/run/','handleInsertRangeMoveRight','_registerRenderDependencies','unsubscribe','_collabCursorState$','UniverUi','object','_instanceService','toString','registerRefRange','_handleJoinEvent','IUIPartsService','@univerjs/core','setUndoRedoMutationParamsCache','LICENSE_MAX_UNITS_EXCEEDED','0\x200\x2017\x2016','white','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_id','debug','font','getFocusedUnit','NO_OTHER_CLIENTS_EDITING','_lastResponseTimestamp','UNIVER_DOC','totalFormulasToCalculate','_saveTaskMap','ENSURE_SNAPSHOT_EXECUTION','split','getCellMatrix','@univerjs-pro/collaboration','DeleteRangeMoveUpCommandId','transformMutationsWithChangeset','UniverProCollaborationClient','5AiMQEf','FETCH_MISS','runId','getCoordByCell','DEFAULT_WS_SESSION_TICKET_URL','1090eMdMHh','SNAPSHOT_INVALID_SNAPSHOT','session.collaboration-timeout','set','BuiltInUIPart','_color','FormulaExecutedStateType','_dataLoaderService','newValue','values','loadOfflineData','tag','Optional','_backgroundColor','20gKqajS','INotificationService','_setFormulaLimitStatus','generateRandomId','min','_initEntityListener','UniverEngineFormula','shareReplay','SetFormulaCalculationNotificationMutation','CommandType','onMouseMove','getRelativeToViewportCoord','beforeCommandExecuted','_initWindowErrorListener','sheetID','_hasFormulaInDirtyRanges','ICommandService','UniverNetwork','setStateCache','url(#on-line-icon_clip0_910_349)','Injector','debounce','parse','getSkeleton','CONNECTOR_DATA_TOO_LARGE','@univerjs/ui','LOCAL_CACHE_INTERVAL','subunit','green.600','ColorKit','_refreshCollabCursors'];_0xcc20=function(){return _0x5b60ca;};return _0xcc20();}(function(_0x16ce6a,_0xc61bde){const _0xeff1f=_0x20af,_0x529868=_0x16ce6a();while(!![]){try{const _0x53acb7=parseInt(_0xeff1f(0x319))/0x1*(parseInt(_0xeff1f(0x101))/0x2)+-parseInt(_0xeff1f(0x1f5))/0x3+-parseInt(_0xeff1f(0xce))/0x4*(-parseInt(_0xeff1f(0x306))/0x5)+-parseInt(_0xeff1f(0xec))/0x6+-parseInt(_0xeff1f(0x1dc))/0x7+parseInt(_0xeff1f(0xfb))/0x8+-parseInt(_0xeff1f(0x36c))/0x9*(-parseInt(_0xeff1f(0x30b))/0xa);if(_0x53acb7===_0xc61bde)break;else _0x529868['push'](_0x529868['shift']());}catch(_0x1a97a0){_0x529868['push'](_0x529868['shift']());}}}(_0xcc20,0xd1fd2),function(_0x41ff9e,_0x2653c4){const _0x1989d1=_0x20af;typeof exports==_0x1989d1(0x2ea)&&typeof module<'u'?_0x2653c4(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==_0x1989d1(0xc0)&&define[_0x1989d1(0x340)]?define([_0x1989d1(0x38f),_0x1989d1(0x25d),'@univerjs-pro/collaboration-client',_0x1989d1(0x2f0),_0x1989d1(0x332),_0x1989d1(0x1f8),_0x1989d1(0x18b),_0x1989d1(0x381),_0x1989d1(0x22b),_0x1989d1(0x1b3),'@univerjs/engine-render',_0x1989d1(0x19e),_0x1989d1(0x1c1),_0x1989d1(0x1e1),_0x1989d1(0x302),'@univerjs/docs',_0x1989d1(0x1c7),_0x1989d1(0xa4),_0x1989d1(0x2e1)],_0x2653c4):(_0x41ff9e=typeof globalThis<'u'?globalThis:_0x41ff9e||self,_0x2653c4(_0x41ff9e[_0x1989d1(0x243)]={},_0x41ff9e[_0x1989d1(0x23d)],_0x41ff9e[_0x1989d1(0x305)],_0x41ff9e[_0x1989d1(0x2a6)],_0x41ff9e[_0x1989d1(0x2e9)],_0x41ff9e[_0x1989d1(0x1f8)],_0x41ff9e['UniverDesign'],_0x41ff9e[_0x1989d1(0x23d)],_0x41ff9e['UniverRpc'],_0x41ff9e[_0x1989d1(0x258)],_0x41ff9e[_0x1989d1(0xf0)],_0x41ff9e[_0x1989d1(0x32a)],_0x41ff9e[_0x1989d1(0x249)],_0x41ff9e[_0x1989d1(0x238)],_0x41ff9e['UniverProCollaboration'],_0x41ff9e[_0x1989d1(0x251)],_0x41ff9e[_0x1989d1(0x31f)],_0x41ff9e['rxjs'][_0x1989d1(0xff)],_0x41ff9e[_0x1989d1(0x189)]));}(this,function(_0x487266,_0x56bdbb,_0x26bc40,_0x717d91,_0x498b33,_0x170cda,_0x203981,_0x33ecf2,_0x2cf533,_0x45a7b5,_0x4a1571,_0x429433,_0x42f0df,_0x3ea70a,_0xdf7641,_0x59e61e,_0x41dddf,_0x5954f8,_0x627437){'use strict';const _0x2a4ba5=_0x20af;var _0x241028=Object[_0x2a4ba5(0x1cf)],_0xcbebb8=(_0x4530d9,_0xa13923,_0x5d63fb)=>_0xa13923 in _0x4530d9?_0x241028(_0x4530d9,_0xa13923,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5d63fb}):_0x4530d9[_0xa13923]=_0x5d63fb,_0x271c55=(_0x1da67e,_0x3166dd,_0x8b0719)=>_0xcbebb8(_0x1da67e,typeof _0x3166dd!=_0x2a4ba5(0x2a3)?_0x3166dd+'':_0x3166dd,_0x8b0719);function _0x21c483({ref:_0x1bf320,..._0x41f258}){const _0x163e09=_0x2a4ba5,{icon:_0x3335c0,id:_0x52f12d,className:_0x207dd2,extend:_0x2ab12b,..._0x193689}=_0x41f258,_0x5762e7=(_0x163e09(0x2bd)+_0x52f12d+'\x20'+(_0x207dd2||''))[_0x163e09(0x25c)](),_0x27a21c=_0x33ecf2[_0x163e09(0x296)]('_'+_0xfff553());return _0x5040e3(_0x3335c0,''+_0x52f12d,{'defIds':_0x3335c0[_0x163e09(0x369)],'idSuffix':_0x27a21c[_0x163e09(0x1f2)]},{'ref':_0x1bf320,'className':_0x5762e7,..._0x193689},_0x2ab12b);}function _0x5040e3(_0xb69cc,_0x495fef,_0x2a4d48,_0xc95059,_0x228218){const _0x3e2613=_0x2a4ba5;return _0x33ecf2[_0x3e2613(0x1a6)](_0xb69cc[_0x3e2613(0x316)],{'key':_0x495fef,..._0x3baa28(_0xb69cc,_0x2a4d48,_0x228218),..._0xc95059},(_0x339420(_0xb69cc,_0x2a4d48)['children']||[])['map']((_0x2ed684,_0x48b8a3)=>_0x5040e3(_0x2ed684,_0x495fef+'-'+_0xb69cc[_0x3e2613(0x316)]+'-'+_0x48b8a3,_0x2a4d48,void 0x0,_0x228218)));}function _0x3baa28(_0x471e1c,_0x4b8852,_0x5dfd70){const _0x3b773c=_0x2a4ba5,_0x4b5328={..._0x471e1c[_0x3b773c(0x232)]};_0x5dfd70!=null&&_0x5dfd70[_0x3b773c(0x346)]&&_0x4b5328[_0x3b773c(0x1db)]===_0x3b773c(0x346)&&(_0x4b5328[_0x3b773c(0x1db)]=_0x5dfd70[_0x3b773c(0x346)]),_0x471e1c['tag']===_0x3b773c(0x184)&&_0x4b5328['id']&&(_0x4b5328['id']=_0x4b5328['id']+_0x4b8852[_0x3b773c(0x366)]),Object['entries'](_0x4b5328)[_0x3b773c(0xc4)](([_0x3cba65,_0x4d65f5])=>{const _0x22eed5=_0x3b773c;_0x3cba65===_0x22eed5(0x184)&&typeof _0x4d65f5==_0x22eed5(0xdc)&&(_0x4b5328[_0x3cba65]=_0x4d65f5[_0x22eed5(0x1eb)](/url\(#(.*)\)/,_0x22eed5(0x382)+_0x4b8852['idSuffix']+')'));});const {defIds:_0x48d04d}=_0x4b8852;return!_0x48d04d||_0x48d04d[_0x3b773c(0x123)]===0x0||(_0x471e1c[_0x3b773c(0x316)]===_0x3b773c(0x199)&&_0x4b5328[_0x3b773c(0x1b4)]&&(_0x4b5328['xlink:href']=_0x4b5328[_0x3b773c(0x1b4)]+_0x4b8852[_0x3b773c(0x366)]),Object[_0x3b773c(0x17d)](_0x4b5328)[_0x3b773c(0xc4)](([_0x454ad6,_0xdbdc5f])=>{const _0x36a5db=_0x3b773c;typeof _0xdbdc5f==_0x36a5db(0xdc)&&(_0x4b5328[_0x454ad6]=_0xdbdc5f['replace'](/url\(#(.*)\)/,_0x36a5db(0x382)+_0x4b8852[_0x36a5db(0x366)]+')'));})),_0x4b5328;}function _0x339420(_0x50bc3f,_0x549dcf){const _0x42defe=_0x2a4ba5;var _0x540480;const {defIds:_0x1aab9e}=_0x549dcf;return!_0x1aab9e||_0x1aab9e[_0x42defe(0x123)]===0x0?_0x50bc3f:_0x50bc3f['tag']===_0x42defe(0x1fd)&&((_0x540480=_0x50bc3f['children'])!=null&&_0x540480[_0x42defe(0x123)])?{..._0x50bc3f,'children':_0x50bc3f[_0x42defe(0x252)]['map'](_0x5efc56=>typeof _0x5efc56[_0x42defe(0x232)]['id']=='string'&&_0x1aab9e&&_0x1aab9e[_0x42defe(0x39b)](_0x5efc56[_0x42defe(0x232)]['id'])?{..._0x5efc56,'attrs':{..._0x5efc56[_0x42defe(0x232)],'id':_0x5efc56[_0x42defe(0x232)]['id']+_0x549dcf[_0x42defe(0x366)]}}:_0x5efc56)}:_0x50bc3f;}function _0xfff553(){const _0x14793c=_0x2a4ba5;return Math[_0x14793c(0x343)]()[_0x14793c(0x2ec)](0x24)[_0x14793c(0x1d3)](0x2,0x8);}_0x21c483[_0x2a4ba5(0x163)]='UniverIcon';const _0x4a6812={'tag':_0x2a4ba5(0x294),'attrs':{'xmlns':_0x2a4ba5(0x37a),'fill':_0x2a4ba5(0x1a3),'viewBox':_0x2a4ba5(0xb2),'width':_0x2a4ba5(0x28f),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2a4ba5(0x2cb)},'children':[{'tag':'path','attrs':{'stroke':_0x2a4ba5(0x20c),'d':_0x2a4ba5(0x28b),'strokeLinecap':_0x2a4ba5(0x239),'strokeLinejoin':_0x2a4ba5(0x239),'strokeWidth':1.2}}]},{'tag':_0x2a4ba5(0x1fd),'attrs':{},'children':[{'tag':_0x2a4ba5(0x348),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x2a4ba5(0x202),'attrs':{'fill':_0x2a4ba5(0x2f4),'d':_0x2a4ba5(0x2be)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x2b94c7=_0x33ecf2['forwardRef'](function(_0x1c055d,_0x259476){const _0x13a411=_0x2a4ba5;return _0x33ecf2[_0x13a411(0x1a6)](_0x21c483,Object[_0x13a411(0x2c5)]({},_0x1c055d,{'id':_0x13a411(0xb6),'ref':_0x259476,'icon':_0x4a6812}));});_0x2b94c7[_0x2a4ba5(0x163)]=_0x2a4ba5(0xf2);const _0x54aeed={'tag':'svg','attrs':{'xmlns':_0x2a4ba5(0x37a),'fill':_0x2a4ba5(0x1a3),'viewBox':_0x2a4ba5(0x2f3),'width':_0x2a4ba5(0x28f),'height':_0x2a4ba5(0x28f)},'children':[{'tag':'g','attrs':{'clipPath':_0x2a4ba5(0x32c)},'children':[{'tag':_0x2a4ba5(0x202),'attrs':{'stroke':_0x2a4ba5(0x20c),'d':_0x2a4ba5(0x391),'strokeLinecap':_0x2a4ba5(0x239),'strokeLinejoin':_0x2a4ba5(0x239),'strokeWidth':1.2}}]},{'tag':_0x2a4ba5(0x1fd),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x2a4ba5(0x202),'attrs':{'fill':_0x2a4ba5(0x2f4),'d':_0x2a4ba5(0x2be),'transform':_0x2a4ba5(0xca)}}]}]}],'defIds':[_0x2a4ba5(0x368)]},_0x2c1f0c=_0x33ecf2[_0x2a4ba5(0x127)](function(_0x4b6570,_0xb14dfd){const _0x16c05c=_0x2a4ba5;return _0x33ecf2[_0x16c05c(0x1a6)](_0x21c483,Object[_0x16c05c(0x2c5)]({},_0x4b6570,{'id':'on-line-icon','ref':_0xb14dfd,'icon':_0x54aeed}));});_0x2c1f0c[_0x2a4ba5(0x163)]=_0x2a4ba5(0x192);function _0x2d3776(_0x2fa18c){const _0x470f69=_0x2a4ba5;switch(_0x2fa18c){case _0x26bc40['CollaborationStatus'][_0x470f69(0x177)]:return'collabStatus.offline';case _0x26bc40['CollaborationStatus'][_0x470f69(0x100)]:return _0x470f69(0xc7);case _0x26bc40[_0x470f69(0x34d)][_0x470f69(0x307)]:return _0x470f69(0x10b);case _0x26bc40['CollaborationStatus'][_0x470f69(0x1a2)]:return _0x470f69(0xd0);case _0x26bc40['CollaborationStatus'][_0x470f69(0x397)]:case _0x26bc40['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x470f69(0x13a);case _0x26bc40[_0x470f69(0x34d)]['SYNCED']:case _0x26bc40['CollaborationStatus']['PENDING']:return'collabStatus.synced';}}function _0x15b136(_0x3698cf){const _0x3669d4=_0x2a4ba5,{status$:_0x3f8c68}=_0x3698cf,_0x4d6355=_0x498b33[_0x3669d4(0x3a3)](_0x3f8c68,_0x26bc40['CollaborationStatus'][_0x3669d4(0x1a2)]),_0x2644a4=_0x498b33[_0x3669d4(0x107)](_0x717d91['LocaleService']),_0x4bdfbe=_0x498b33[_0x3669d4(0x107)](_0x26bc40[_0x3669d4(0x2a1)]),_0x289586=_0x4d6355!==_0x26bc40[_0x3669d4(0x34d)]['OFFLINE'],_0x3007d3=_0x2644a4['t'](_0x2d3776(_0x4d6355)),_0x202a6e=_0x289586?_0x56bdbb['jsx'](_0x2c1f0c,{}):_0x56bdbb[_0x3669d4(0x197)](_0x2b94c7,{}),_0x525a2f=_0x33ecf2[_0x3669d4(0x380)](()=>{const _0x267016=_0x3669d4;_0x289586||_0x4bdfbe[_0x267016(0x287)]();},[_0x289586,_0x4bdfbe]);function _0x5ab85c(){const _0x33ada4=_0x3669d4;return _0x56bdbb[_0x33ada4(0x21a)](_0x33ada4(0x1e7),{'className':_0x33ada4(0x27c),'onClick':_0x525a2f,'children':[_0x56bdbb[_0x33ada4(0x197)](_0x33ada4(0x1e7),{'className':_0x203981[_0x33ada4(0xbd)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x289586,'univer-text-red-500':!_0x289586}),'children':_0x202a6e}),_0x56bdbb[_0x33ada4(0x197)](_0x33ada4(0x1e7),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3007d3})]});}return _0x289586?_0x5ab85c():_0x56bdbb[_0x3669d4(0x197)](_0x203981[_0x3669d4(0x124)],{'title':_0x2644a4['t'](_0x3669d4(0x1fe)),'children':_0x5ab85c()});}var _0x318402=Object['getOwnPropertyDescriptor'],_0x435cf3=(_0x421bc2,_0x103fec,_0x14f251,_0x59bb18)=>{for(var _0x180f54=_0x59bb18>0x1?void 0x0:_0x59bb18?_0x318402(_0x103fec,_0x14f251):_0x103fec,_0x52cdff=_0x421bc2['length']-0x1,_0x30d9cb;_0x52cdff>=0x0;_0x52cdff--)(_0x30d9cb=_0x421bc2[_0x52cdff])&&(_0x180f54=_0x30d9cb(_0x180f54)||_0x180f54);return _0x180f54;},_0x2348e1=(_0x55a5ec,_0xc60512)=>(_0x426436,_0x555a0a)=>_0xc60512(_0x426436,_0x555a0a,_0x55a5ec);_0x487266[_0x2a4ba5(0x38b)]=class extends _0x717d91[_0x2a4ba5(0x393)]{constructor(_0x49e4ae,_0x629219,_0x201b98,_0x250d04){const _0x17f367=_0x2a4ba5;super(),_0x271c55(this,_0x17f367(0x266),new _0x170cda[(_0x17f367(0x2a4))](_0x26bc40['CollaborationStatus']['NOT_COLLAB'])),(this[_0x17f367(0x15c)]=_0x49e4ae,this[_0x17f367(0x265)]=_0x629219,this[_0x17f367(0x151)]=_0x201b98,this[_0x17f367(0x1fa)]=_0x250d04,this[_0x17f367(0x141)](),this[_0x17f367(0xe1)]());}[_0x2a4ba5(0xe1)](){const _0x5bd4b7=_0x2a4ba5;this['disposeWithMe'](this[_0x5bd4b7(0x15c)][_0x5bd4b7(0x2dd)][_0x5bd4b7(0xda)](_0x170cda[_0x5bd4b7(0x2cc)](()=>{const _0x55ef6b=_0x5bd4b7,_0xd468f8=this[_0x55ef6b(0x15c)][_0x55ef6b(0x2f9)]();return _0xd468f8?this[_0x55ef6b(0x151)][_0x55ef6b(0x37f)](_0xd468f8[_0x55ef6b(0x2c3)]()):_0x170cda['of'](null);}),_0x170cda[_0x5bd4b7(0x2cc)](_0x44dc98=>_0x44dc98?_0x44dc98[_0x5bd4b7(0x1ee)]:_0x170cda['of'](_0x26bc40[_0x5bd4b7(0x34d)][_0x5bd4b7(0x1a2)])))[_0x5bd4b7(0xbf)](_0x19d6c3=>{const _0x1e24a2=_0x5bd4b7;this[_0x1e24a2(0x266)]['next'](_0x19d6c3);}));}[_0x2a4ba5(0x141)](){const _0x34ecdf=_0x2a4ba5;this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x498b33[_0x34ecdf(0x30f)][_0x34ecdf(0x138)],()=>_0x498b33['connectInjector'](_0x153887({'status$':this[_0x34ecdf(0x266)][_0x34ecdf(0x378)]()}),this[_0x34ecdf(0x265)])));}},_0x487266[_0x2a4ba5(0x38b)]=_0x435cf3([_0x2348e1(0x0,_0x717d91['IUniverInstanceService']),_0x2348e1(0x1,_0x717d91[_0x2a4ba5(0x37b)](_0x717d91[_0x2a4ba5(0x32d)])),_0x2348e1(0x2,_0x717d91[_0x2a4ba5(0x37b)](_0x26bc40[_0x2a4ba5(0x36b)])),_0x2348e1(0x3,_0x498b33[_0x2a4ba5(0x2ef)])],_0x487266[_0x2a4ba5(0x38b)]);function _0x153887(_0x53faf3){const {status$:_0x58caea}=_0x53faf3;return function(){const _0x4aad68=_0x20af;return _0x56bdbb[_0x4aad68(0x197)](_0x15b136,{'status$':_0x58caea});};}const _0x8c03a2=_0x717d91['createIdentifier'](_0x2a4ba5(0x379));var _0x138230=Object[_0x2a4ba5(0x147)],_0x2ecc3b=(_0xc3457e,_0x5db49f,_0x16f207,_0x149afc)=>{const _0x2bd771=_0x2a4ba5;for(var _0x4020c6=_0x149afc>0x1?void 0x0:_0x149afc?_0x138230(_0x5db49f,_0x16f207):_0x5db49f,_0x3f314d=_0xc3457e[_0x2bd771(0x123)]-0x1,_0x4a0725;_0x3f314d>=0x0;_0x3f314d--)(_0x4a0725=_0xc3457e[_0x3f314d])&&(_0x4020c6=_0x4a0725(_0x4020c6)||_0x4020c6);return _0x4020c6;},_0x317627=(_0x3ea074,_0xff6087)=>(_0x4a2dc5,_0x540a01)=>_0xff6087(_0x4a2dc5,_0x540a01,_0x3ea074);_0x487266[_0x2a4ba5(0x169)]=class extends _0x717d91[_0x2a4ba5(0x1f4)]{constructor(_0x128c18,_0x406f82,_0x1c2232,_0x4d9872,_0x4c0015){const _0x4383f7=_0x2a4ba5;super(),this[_0x4383f7(0x362)]=_0x128c18,this[_0x4383f7(0x34a)]=_0x406f82,this[_0x4383f7(0x15e)]=_0x1c2232,this[_0x4383f7(0x312)]=_0x4d9872,_0x4c0015?_0x4c0015==null||_0x4c0015[_0x4383f7(0x148)]()[_0x4383f7(0x339)](()=>this['_init']()):(this[_0x4383f7(0x34a)][_0x4383f7(0x2f7)](_0x4383f7(0xe8),_0x4383f7(0x126)),this['_init']());}async[_0x2a4ba5(0xd5)](){const _0x4a8ad8=_0x2a4ba5,_0xb2c175=this[_0x4a8ad8(0x362)][_0x4a8ad8(0x157)](_0x4a8ad8(0x16e)),_0x4558e3=this[_0x4a8ad8(0x362)][_0x4a8ad8(0x157)](_0x4a8ad8(0x13b)),_0xc7726b=this[_0x4a8ad8(0x362)][_0x4a8ad8(0x157)]('subunit');if(!_0xb2c175||!_0x4558e3){this[_0x4a8ad8(0x34a)][_0x4a8ad8(0x2f7)](_0x4a8ad8(0xe8),_0x4a8ad8(0x2d0));return;}const _0x182783=await this[_0x4a8ad8(0x312)][_0x4a8ad8(0x16f)](_0xb2c175,Number(_0x4558e3),_0xc7726b);_0x182783&&_0x182783 instanceof _0x717d91[_0x4a8ad8(0x2d1)]&&this[_0x4a8ad8(0x10e)](_0x182783);}async[_0x2a4ba5(0x10e)](_0x506a60){const _0x2bf1af=_0x2a4ba5;await this[_0x2bf1af(0xf6)](_0x506a60),_0x506a60[_0x2bf1af(0x10c)][_0x2bf1af(0xda)](_0x170cda[_0x2bf1af(0x2b0)](this[_0x2bf1af(0x2c4)]))[_0x2bf1af(0xbf)](_0x1dfa1d=>{const _0x4c263f=_0x2bf1af;_0x1dfa1d&&this[_0x4c263f(0x28e)](_0x1dfa1d);}),this[_0x2bf1af(0x362)][_0x2bf1af(0x36e)][_0x2bf1af(0xda)](_0x170cda[_0x2bf1af(0x2b0)](this[_0x2bf1af(0x2c4)]))[_0x2bf1af(0xbf)](()=>this['_updateSubUnitFromURLParams'](_0x506a60));}[_0x2a4ba5(0x28e)](_0x15fdb5,_0x114d82=!0x1){const _0x20ce97=_0x2a4ba5,_0x1be8ba=this[_0x20ce97(0x362)][_0x20ce97(0x157)](_0x20ce97(0x334));_0x15fdb5[_0x20ce97(0x37d)]()!==_0x1be8ba&&this['_urlService'][_0x20ce97(0x125)](_0x20ce97(0x334),_0x15fdb5[_0x20ce97(0x37d)](),_0x114d82);}async['_updateSubUnitFromURLParams'](_0x578773){const _0xd90ca5=_0x2a4ba5;var _0x46b0da;const _0x1bb561=this[_0xd90ca5(0x362)][_0xd90ca5(0x157)](_0xd90ca5(0x334));if(!_0x1bb561||!_0x578773[_0xd90ca5(0x246)](_0x1bb561)){const _0x27c4ee=_0x578773[_0xd90ca5(0x142)]()[0x0],_0x43c019=_0x578773['getSheetBySheetId'](_0x27c4ee);if(!_0x43c019)return;this[_0xd90ca5(0x28e)](_0x43c019,!0x0),await this[_0xd90ca5(0x15e)][_0xd90ca5(0x14c)](_0x45a7b5['SetWorksheetActivateCommand']['id'],{'unitId':_0x578773[_0xd90ca5(0x2c3)](),'subUnitId':_0x27c4ee});return;}((_0x46b0da=_0x578773[_0xd90ca5(0x115)]())==null?void 0x0:_0x46b0da['getSheetId']())!==_0x1bb561&&await this[_0xd90ca5(0x15e)][_0xd90ca5(0x14c)](_0x45a7b5['SetWorksheetActivateCommand']['id'],{'unitId':_0x578773[_0xd90ca5(0x2c3)](),'subUnitId':_0x1bb561});}},_0x487266[_0x2a4ba5(0x169)]=_0x2ecc3b([_0x317627(0x0,_0x8c03a2),_0x317627(0x1,_0x717d91[_0x2a4ba5(0x299)]),_0x317627(0x2,_0x717d91['ICommandService']),_0x317627(0x3,_0x717d91[_0x2a4ba5(0x37b)](_0x26bc40[_0x2a4ba5(0x392)])),_0x317627(0x4,_0x717d91[_0x2a4ba5(0x317)](_0x2cf533['IRemoteInstanceService']))],_0x487266[_0x2a4ba5(0x169)]);var _0x17ee1d=Object['getOwnPropertyDescriptor'],_0x89178=(_0x91fbb7,_0x4e9bcf,_0x1041e9,_0xc6f5c7)=>{for(var _0x19b77e=_0xc6f5c7>0x1?void 0x0:_0xc6f5c7?_0x17ee1d(_0x4e9bcf,_0x1041e9):_0x4e9bcf,_0x4477a3=_0x91fbb7['length']-0x1,_0x3c212b;_0x4477a3>=0x0;_0x4477a3--)(_0x3c212b=_0x91fbb7[_0x4477a3])&&(_0x19b77e=_0x3c212b(_0x19b77e)||_0x19b77e);return _0x19b77e;},_0x200b08=(_0x3f6a2a,_0x2b7407)=>(_0xdd5836,_0x108f45)=>_0x2b7407(_0xdd5836,_0x108f45,_0x3f6a2a);let _0x4fa738=class extends _0x717d91[_0x2a4ba5(0x1f4)]{constructor(_0xe7de6f,_0x108b79){const _0x44a5ec=_0x2a4ba5;super(),this[_0x44a5ec(0x361)]=_0xe7de6f,this[_0x44a5ec(0x1a9)]=_0x108b79,this[_0x44a5ec(0xd5)]();}[_0x2a4ba5(0xd5)](){const _0x447f5b=_0x2a4ba5,_0x4b101f=this;this[_0x447f5b(0x1d4)](this[_0x447f5b(0x361)][_0x447f5b(0x2df)]({'onBeforePasteImage':async _0x1b87f3=>{const _0x22dc4f=_0x447f5b,_0x4c0b9a=await _0x4b101f[_0x22dc4f(0x1a9)]['saveImage'](_0x1b87f3);return _0x4c0b9a?{'source':_0x4c0b9a[_0x22dc4f(0x161)],'imageSourceType':_0x4c0b9a[_0x22dc4f(0xf5)]}:null;}}));}};_0x4fa738=_0x89178([_0x200b08(0x0,_0x42f0df[_0x2a4ba5(0x2b1)]),_0x200b08(0x1,_0x3ea70a[_0x2a4ba5(0xc5)])],_0x4fa738);const _0x314d67=['purple.300',_0x2a4ba5(0x2c8),_0x2a4ba5(0x335),_0x2a4ba5(0x23f),_0x2a4ba5(0x22a),_0x2a4ba5(0x38a)];class _0x170667 extends _0x717d91[_0x2a4ba5(0x393)]{constructor(){const _0x29c5a9=_0x2a4ba5;super(...arguments),_0x271c55(this,'_assignedColors',new Map()),_0x271c55(this,_0x29c5a9(0x224),0x0);}['assignAColorForMemberID'](_0x7e4366){const _0x33a7b7=_0x2a4ba5;if(this['_assignedColors'][_0x33a7b7(0x250)](_0x7e4366))return this['_assignedColors'][_0x33a7b7(0x2aa)](_0x7e4366);const _0x4dec72=_0x314d67[this['_colorIndex']];return this[_0x33a7b7(0x224)]=(this[_0x33a7b7(0x224)]+0x1)%_0x314d67[_0x33a7b7(0x123)],this[_0x33a7b7(0xf9)][_0x33a7b7(0x30e)](_0x7e4366,_0x4dec72),_0x4dec72;}}function _0x4c9e65(_0x36f597){const _0x1de776=_0x2a4ba5;let _0x3af262='';for(const _0x1022f7 of _0x36f597){const {startOffset:_0x372b3b,endOffset:_0x162540,isActive:_0x55dc76,rangeType:_0x560843,segmentId:_0x59734c,segmentPage:_0x167e28}=_0x1022f7;_0x3af262[_0x1de776(0x123)]&&(_0x3af262+=','),_0x3af262+=_0x372b3b+':'+_0x162540+':'+(_0x55dc76?'1':'0')+':'+_0x560843+':'+_0x59734c+':'+_0x167e28;}return _0x3af262;}function _0x278353(_0x5966c3){const _0x45828f=_0x2a4ba5,_0x5eb326=_0x5966c3['split'](','),_0x398e85=[];for(const _0x4b9594 of _0x5eb326){const [_0x53ea60,_0x48b052,_0x1719a1,_0x55c429,_0x27dca1,_0x16c153]=_0x4b9594[_0x45828f(0x300)](':');_0x398e85['push']({'startOffset':Number(_0x53ea60),'endOffset':Number(_0x48b052),'collapsed':_0x53ea60===_0x48b052,'isActive':_0x1719a1==='1','rangeType':_0x55c429===_0x717d91[_0x45828f(0x106)]['TEXT']?_0x717d91[_0x45828f(0x106)][_0x45828f(0xee)]:_0x717d91[_0x45828f(0x106)][_0x45828f(0x133)],'segmentId':typeof _0x27dca1=='string'?String(_0x27dca1):'','segmentPage':Number(_0x16c153!=null?_0x16c153:-0x1)});}return _0x398e85['some'](_0x513781=>_0x513781[_0x45828f(0x276)])||(_0x398e85[0x0][_0x45828f(0x276)]=!0x0),_0x398e85;}class _0x531ef2 extends _0x717d91['RxDisposable']{constructor(){const _0x1aaeba=_0x2a4ba5;super(...arguments),_0x271c55(this,_0x1aaeba(0x2e8),new _0x170cda[(_0x1aaeba(0x2a4))](null)),_0x271c55(this,_0x1aaeba(0x370),this[_0x1aaeba(0x2e8)][_0x1aaeba(0x378)]());}['syncEditingCollabCursor'](_0x2c0a4e){const _0x4d4bc8=_0x2a4ba5,{unitID:_0x25f75f,memberID:_0xc4b803,textRanges:_0x57447f}=_0x2c0a4e,_0x303d89=_0x4c9e65(_0x57447f);if(_0x303d89==='')return;const _0x2ecf9d={'unitID':_0x25f75f,'memberID':_0xc4b803,'selection':_0x303d89};this['_collabCursorState$'][_0x4d4bc8(0x27b)](_0x2ecf9d);}}var _0x4396bb=Object[_0x2a4ba5(0x147)],_0x87c5c0=(_0x6ea66b,_0x1993f9,_0x3688e4,_0x41fbcc)=>{const _0x3bfc70=_0x2a4ba5;for(var _0x22431f=_0x41fbcc>0x1?void 0x0:_0x41fbcc?_0x4396bb(_0x1993f9,_0x3688e4):_0x1993f9,_0x589031=_0x6ea66b[_0x3bfc70(0x123)]-0x1,_0x432d23;_0x589031>=0x0;_0x589031--)(_0x432d23=_0x6ea66b[_0x589031])&&(_0x22431f=_0x432d23(_0x22431f)||_0x22431f);return _0x22431f;},_0x1ff253=(_0x5f21f5,_0x1f348e)=>(_0x5ce0b5,_0x4b9846)=>_0x1f348e(_0x5ce0b5,_0x4b9846,_0x5f21f5);const _0x14a7e7=0x12c,_0x280793=0x64;let _0x4c9987=class extends _0x717d91['RxDisposable']{constructor(_0x463c9c,_0x2f2f7c,_0x217e6b,_0x8c34c6,_0x3e9360,_0x49a1a8,_0xa53310,_0x5cd603,_0x28a26b){const _0x17924c=_0x2a4ba5;super(),_0x271c55(this,'_online',!0x1),_0x271c55(this,_0x17924c(0xd5),!0x1),_0x271c55(this,'_cursorInfo$',new _0x170cda[(_0x17924c(0x2a4))](new Map())),_0x271c55(this,'cursorInfo$',this[_0x17924c(0x1b0)][_0x17924c(0x378)]()),_0x271c55(this,'_roomMembers$',new _0x170cda[(_0x17924c(0x2a4))]([])),_0x271c55(this,'roomMembers$',this['_roomMembers$'][_0x17924c(0xda)](_0x170cda[_0x17924c(0x377)](_0x14a7e7))),_0x271c55(this,_0x17924c(0x1aa),_0x717d91[_0x17924c(0x32e)](_0x41436a=>{const _0x103219=_0x17924c,_0x38d84e={'eventID':_0xdf7641[_0x103219(0x360)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x103219(0x26e)](),'selection':_0x4c9e65(_0x41436a)}};this['_session']['send'](_0x38d84e,this[_0x103219(0x1e6)]);},_0x280793)),(this['unitID']=_0x463c9c,this[_0x17924c(0x166)]=_0x2f2f7c,this[_0x17924c(0x265)]=_0x217e6b,this[_0x17924c(0x29d)]=_0x8c34c6,this[_0x17924c(0x11d)]=_0x3e9360,this[_0x17924c(0x19d)]=_0x49a1a8,this['_transformService']=_0xa53310,this[_0x17924c(0x15c)]=_0x5cd603,this[_0x17924c(0x15e)]=_0x28a26b);}get[_0x2a4ba5(0x1e9)](){const _0x137fff=_0x2a4ba5;return this['_cursorInfo$'][_0x137fff(0x21d)]();}get[_0x2a4ba5(0x200)](){const _0x587b00=_0x2a4ba5;return this[_0x587b00(0x367)]['getValue']();}[_0x2a4ba5(0x14a)](){const _0x313e18=_0x2a4ba5;super[_0x313e18(0x14a)](),this[_0x313e18(0x1b0)]['next'](new Map()),this[_0x313e18(0x1b0)]['complete'](),this[_0x313e18(0x367)]['next']([]),this[_0x313e18(0x367)][_0x313e18(0x216)]();}['init'](){const _0xae5994=_0x2a4ba5;this[_0xae5994(0xd5)]||(this[_0xae5994(0xd5)]=!0x0,this[_0xae5994(0x166)][_0xae5994(0x14e)][_0xae5994(0xda)](_0x170cda['takeUntil'](this[_0xae5994(0x2c4)]))[_0xae5994(0xbf)](_0x2b7c58=>{const _0x97580e=_0xae5994;_0x2b7c58===_0x26bc40[_0x97580e(0xfe)][_0x97580e(0x1a0)]?this[_0x97580e(0x131)]():this[_0x97580e(0x38e)]();}),this['_session'][_0xae5994(0x1de)]['pipe'](_0x170cda[_0xae5994(0x2b0)](this[_0xae5994(0x2c4)]))[_0xae5994(0xbf)](_0x4b3fe1=>{const _0x249012=_0xae5994,_0x347d23=_0x4b3fe1[_0x249012(0x399)];_0x347d23===_0xdf7641['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x249012(0x26f)](_0x4b3fe1),_0x347d23===_0xdf7641[_0x249012(0x360)][_0x249012(0xdf)]&&this[_0x249012(0x255)](_0x4b3fe1);}),this[_0xae5994(0x1d4)](this[_0xae5994(0x15e)][_0xae5994(0x23a)](_0x32b27c=>{const _0xe0bae9=_0xae5994,_0x738b91=_0x32b27c[_0xe0bae9(0x2af)];_0x738b91!=null&&this[_0xe0bae9(0x282)]&&_0x32b27c['id']===_0x59e61e[_0xe0bae9(0x18a)]['id']&&_0x738b91['unitId']===this[_0xe0bae9(0x1e6)]&&_0x738b91[_0xe0bae9(0x227)]===!0x1&&_0x738b91[_0xe0bae9(0x144)][_0xe0bae9(0x123)]>0x0&&this[_0xe0bae9(0x1aa)](_0x738b91[_0xe0bae9(0x144)]);})),this['_syncEditingCollabCursorService'][_0xae5994(0x370)]['pipe'](_0x170cda[_0xae5994(0x2b0)](this['dispose$']))['subscribe'](_0x3cc8c9=>{const _0x56febe=_0xae5994;if((_0x3cc8c9==null?void 0x0:_0x3cc8c9[_0x56febe(0x1e6)])!==this[_0x56febe(0x1e6)])return;const _0x1de0c0={'eventID':_0xdf7641[_0x56febe(0x360)][_0x56febe(0x1d9)],'data':_0x3cc8c9};this['_onCursorUpdate'](_0x1de0c0);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x28727f=>{const _0x40be90=_0xae5994;if(_0x28727f[_0x40be90(0x2af)]==null)return;const _0x18f70d=_0x28727f['params'];if(_0x28727f['id']!==_0x59e61e[_0x40be90(0x26a)]['id']||_0x18f70d[_0x40be90(0x1df)]!==this[_0x40be90(0x1e6)])return;const _0x2e31a0={'id':_0x40be90(0x269),'params':_0x18f70d},_0x10124d=this['cursorInfo'];for(const [_0x2c789e,_0x7775a1]of _0x10124d){const _0x26de16={'id':_0x40be90(0x269),'params':{'unitId':this[_0x40be90(0x1e6)],'actions':null,'textRanges':_0x7775a1[_0x40be90(0x144)]}},_0x271180=this[_0x40be90(0x242)][_0x40be90(0x229)](_0x2e31a0,_0x26de16,!0x1);if(_0xdf7641[_0x40be90(0x39c)](_0x271180))throw _0x271180[_0x40be90(0x289)];_0x10124d[_0x40be90(0x30e)](_0x2c789e,{..._0x7775a1,'ranges':_0x271180[_0x40be90(0x388)][_0x40be90(0x2af)][_0x40be90(0x240)]});}queueMicrotask(()=>{const _0x5d3306=_0x40be90;this['_cursorInfo$'][_0x5d3306(0x27b)](_0x10124d);});})));}[_0x2a4ba5(0x26f)](_0x3f5361){const _0x1aac8d=_0x2a4ba5;var _0x2ec77a,_0x293c9f;const {memberID:_0x1727ff,selection:_0x4723b8}=_0x3f5361[_0x1aac8d(0x244)],_0x53865c=_0x278353(_0x4723b8),_0x3b0a36=(_0x293c9f=(_0x2ec77a=this[_0x1aac8d(0x11d)][_0x1aac8d(0x1b7)](this[_0x1aac8d(0x1e6)],_0x1727ff))==null?void 0x0:_0x2ec77a[_0x1aac8d(0x35e)])!=null?_0x293c9f:_0x1aac8d(0x2b6),_0x1ea192={'color':this['_colorAssignService'][_0x1aac8d(0x38c)](_0x1727ff),'name':_0x3b0a36,'ranges':_0x53865c},_0x54c84f=this[_0x1aac8d(0x1e9)];_0x54c84f[_0x1aac8d(0x30e)](_0x1727ff,_0x1ea192),this[_0x1aac8d(0x1b0)][_0x1aac8d(0x27b)](_0x54c84f);}[_0x2a4ba5(0x255)](_0x5b5bf4){const _0x451cf8=_0x2a4ba5,{memberID:_0x3dba69}=_0x5b5bf4[_0x451cf8(0x244)],_0x103524=this[_0x451cf8(0x1e9)];_0x103524[_0x451cf8(0x2e2)](_0x3dba69),this['_cursorInfo$']['next'](_0x103524);}[_0x2a4ba5(0x131)](){const _0x448754=_0x2a4ba5;var _0x1367bb;if(this[_0x448754(0x282)]=!0x0,((_0x1367bb=this[_0x448754(0x15c)]['getFocusedUnit']())==null?void 0x0:_0x1367bb[_0x448754(0x2c3)]())!==this[_0x448754(0x1e6)])return;const _0x4f846e=this[_0x448754(0x265)]['get'](_0x59e61e['DocSelectionManagerService'])[_0x448754(0x1c2)]();Array[_0x448754(0x217)](_0x4f846e)&&_0x4f846e['length']>0x0&&this['_updateLocalCursor'](_0x4f846e);}[_0x2a4ba5(0x38e)](){const _0x4b5f90=_0x2a4ba5;this[_0x4b5f90(0x282)]=!0x1;}};_0x4c9987=_0x87c5c0([_0x1ff253(0x2,_0x717d91['Inject'](_0x717d91['Injector'])),_0x1ff253(0x3,_0x717d91[_0x2a4ba5(0x37b)](_0x170667)),_0x1ff253(0x4,_0x717d91[_0x2a4ba5(0x37b)](_0x26bc40[_0x2a4ba5(0x105)])),_0x1ff253(0x5,_0x717d91[_0x2a4ba5(0x37b)](_0x531ef2)),_0x1ff253(0x6,_0xdf7641[_0x2a4ba5(0x34f)]),_0x1ff253(0x7,_0x717d91[_0x2a4ba5(0xa9)]),_0x1ff253(0x8,_0x717d91[_0x2a4ba5(0x329)])],_0x4c9987);var _0x47d32c=Object[_0x2a4ba5(0x147)],_0x111b25=(_0x395c5d,_0x2fabca,_0x3eac99,_0x24f80d)=>{const _0x83d1f1=_0x2a4ba5;for(var _0x348b7d=_0x24f80d>0x1?void 0x0:_0x24f80d?_0x47d32c(_0x2fabca,_0x3eac99):_0x2fabca,_0x2149c1=_0x395c5d[_0x83d1f1(0x123)]-0x1,_0x1beea9;_0x2149c1>=0x0;_0x2149c1--)(_0x1beea9=_0x395c5d[_0x2149c1])&&(_0x348b7d=_0x1beea9(_0x348b7d)||_0x348b7d);return _0x348b7d;},_0x2fde7c=(_0x551afd,_0x2d77a6)=>(_0x373669,_0x3e76c2)=>_0x2d77a6(_0x373669,_0x3e76c2,_0x551afd);const _0x59c196=0x12c,_0x11f0a4=0x64,_0x3da812=()=>{let _0x4ca682=[],_0x457452=!0x1;return _0x1b6ab=>{const _0x3b5e98=_0x20af;_0x4ca682[_0x3b5e98(0x2db)](_0x1b6ab),_0x457452||(_0x457452=!0x0,setTimeout(()=>{const _0x5ab0a1=_0x3b5e98;_0x4ca682[_0x5ab0a1(0xc4)](_0x408b69=>_0x408b69()),_0x4ca682=[],_0x457452=!0x1;}));};};let _0x22e870=class extends _0x717d91['RxDisposable']{constructor(_0x2f2c22,_0x50422f,_0x16a224,_0x1e4698,_0x2063d6,_0xc20b32,_0x22dc6c,_0x71ca18){const _0x54e8fe=_0x2a4ba5;super(),_0x271c55(this,'_online',!0x1),_0x271c55(this,'_init',!0x1),_0x271c55(this,_0x54e8fe(0x1b0),new _0x170cda[(_0x54e8fe(0x2a4))](new Map())),_0x271c55(this,'cursorInfo$',this[_0x54e8fe(0x1b0)][_0x54e8fe(0x378)]()),_0x271c55(this,_0x54e8fe(0x367),new _0x170cda['BehaviorSubject']([])),_0x271c55(this,_0x54e8fe(0x26c),this['_roomMembers$'][_0x54e8fe(0xda)](_0x170cda[_0x54e8fe(0x377)](_0x59c196))),_0x271c55(this,_0x54e8fe(0x1aa),_0x717d91[_0x54e8fe(0x32e)]((_0x2e5766,_0x3c3658)=>{const _0x4c5d3c=_0x54e8fe,_0x442f34={'eventID':_0xdf7641['CollaborationEvent'][_0x4c5d3c(0x1d9)],'data':{'unitID':this['unitID'],'memberID':this[_0x4c5d3c(0x166)]['getMemberID'](),'selection':_0x41dddf[_0x4c5d3c(0xeb)](_0x2e5766,_0x3c3658[_0x4c5d3c(0x10d)])}};this[_0x4c5d3c(0x166)][_0x4c5d3c(0x1d0)](_0x442f34,this[_0x4c5d3c(0x1e6)]);},_0x11f0a4)),(this[_0x54e8fe(0x1e6)]=_0x2f2c22,this[_0x54e8fe(0x166)]=_0x50422f,this[_0x54e8fe(0x265)]=_0x16a224,this[_0x54e8fe(0x29d)]=_0x1e4698,this[_0x54e8fe(0x11d)]=_0x2063d6,this[_0x54e8fe(0x15c)]=_0xc20b32,this[_0x54e8fe(0x15e)]=_0x22dc6c,this[_0x54e8fe(0x254)]=_0x71ca18);}get[_0x2a4ba5(0x1e9)](){const _0x40a023=_0x2a4ba5;return this[_0x40a023(0x1b0)][_0x40a023(0x21d)]();}get[_0x2a4ba5(0x200)](){const _0x4a1135=_0x2a4ba5;return this[_0x4a1135(0x367)][_0x4a1135(0x21d)]();}[_0x2a4ba5(0x14a)](){const _0x1ae202=_0x2a4ba5;super[_0x1ae202(0x14a)](),this[_0x1ae202(0x1b0)][_0x1ae202(0x27b)](new Map()),this[_0x1ae202(0x1b0)][_0x1ae202(0x216)](),this['_roomMembers$'][_0x1ae202(0x27b)]([]),this[_0x1ae202(0x367)][_0x1ae202(0x216)]();}[_0x2a4ba5(0x1c5)](){const _0x363bb8=_0x2a4ba5;this[_0x363bb8(0xd5)]||(this[_0x363bb8(0xd5)]=!0x0,this['_session'][_0x363bb8(0x14e)][_0x363bb8(0xda)](_0x170cda[_0x363bb8(0x2b0)](this[_0x363bb8(0x2c4)]))[_0x363bb8(0xbf)](_0x33f7f5=>{const _0x11ca48=_0x363bb8;_0x33f7f5===_0x26bc40[_0x11ca48(0xfe)]['ONLINE']?this[_0x11ca48(0x131)]():this[_0x11ca48(0x38e)]();}),this[_0x363bb8(0x166)][_0x363bb8(0x1de)][_0x363bb8(0xda)](_0x170cda[_0x363bb8(0x2b0)](this[_0x363bb8(0x2c4)]))[_0x363bb8(0xbf)](_0x2b109f=>{const _0x1503b7=_0x363bb8,_0x4b3355=_0x2b109f[_0x1503b7(0x399)];_0x4b3355===_0xdf7641['CollaborationEvent'][_0x1503b7(0x1d9)]&&this[_0x1503b7(0x26f)](_0x2b109f),_0x4b3355===_0xdf7641[_0x1503b7(0x360)][_0x1503b7(0xdf)]&&this[_0x1503b7(0x255)](_0x2b109f);}),this[_0x363bb8(0x1c9)](),this[_0x363bb8(0x1d4)](this[_0x363bb8(0x15e)][_0x363bb8(0x23a)](_0x3e762e=>{const _0x1d4462=_0x363bb8;if(this[_0x1d4462(0x282)]&&_0x3e762e['id']===_0x45a7b5[_0x1d4462(0x128)]['id']&&_0x3e762e['params'][_0x1d4462(0x1df)]===this['unitID']){const _0x59648b=_0x3e762e[_0x1d4462(0x2af)];this[_0x1d4462(0x1aa)](_0x59648b[_0x1d4462(0x1e5)],_0x59648b[_0x1d4462(0x174)][0x0]);}})));}[_0x2a4ba5(0x26f)](_0x44c779){const _0x221501=_0x2a4ba5;var _0x217fd3,_0x5bb37c;const {memberID:_0x3612c8,selection:_0x1bd5bd}=_0x44c779[_0x221501(0x244)],{sheetName:_0x1694e5,range:_0x8bfb7b}=_0x41dddf[_0x221501(0x1f1)](_0x1bd5bd),_0x358bc6={'name':(_0x5bb37c=(_0x217fd3=this['_memberService'][_0x221501(0x1b7)](this['unitID'],_0x3612c8))==null?void 0x0:_0x217fd3[_0x221501(0x35e)])!=null?_0x5bb37c:_0x221501(0x2b6),'range':this['_getMergeRange'](_0x1694e5,_0x8bfb7b),'sheetID':_0x1694e5,'color':this['_colorAssignService'][_0x221501(0x38c)](_0x3612c8),'selection':_0x1bd5bd},_0x500336=this[_0x221501(0x1e9)];_0x500336[_0x221501(0x30e)](_0x3612c8,_0x358bc6),this[_0x221501(0x1b0)][_0x221501(0x27b)](_0x500336);}[_0x2a4ba5(0x255)](_0xa1267){const _0x291284=_0x2a4ba5,{memberID:_0x228eb2}=_0xa1267['data'],_0x277c5c=this[_0x291284(0x1e9)];_0x277c5c[_0x291284(0x2e2)](_0x228eb2),this[_0x291284(0x1b0)][_0x291284(0x27b)](_0x277c5c);}[_0x2a4ba5(0x17c)](_0x54a1ce,_0x108b71){const _0x1db6b8=_0x2a4ba5;var _0x58107d,_0x5d3b8d;const _0x1293c4=(_0x5d3b8d=(_0x58107d=this[_0x1db6b8(0x15c)][_0x1db6b8(0x21b)](this['unitID']))==null?void 0x0:_0x58107d[_0x1db6b8(0x246)](_0x54a1ce))==null?void 0x0:_0x5d3b8d[_0x1db6b8(0x16b)]();return(_0x1293c4==null?void 0x0:_0x1293c4[_0x1db6b8(0x344)](_0x10db79=>_0x717d91[_0x1db6b8(0x25a)][_0x1db6b8(0x273)](_0x10db79,_0x108b71)))||_0x108b71;}[_0x2a4ba5(0x1c9)](){const _0x3940e9=_0x2a4ba5,_0x4a324b=new _0x717d91[(_0x3940e9(0x1ff))](),_0x2aa418=_0x3da812(),_0x2777c3=()=>{const _0x5a881e=_0x3940e9;_0x4a324b[_0x5a881e(0x14a)]();const _0x187293=(_0x478bd4,_0x16d6a2,_0x27a453,_0x3c5ba1)=>{const _0x39dade=_0x5a881e;let _0x251846=[];switch(_0x478bd4['id']){case _0x45a7b5[_0x39dade(0xc9)][_0x39dade(0x2bc)]:{_0x251846=_0x45a7b5[_0x39dade(0xcd)](_0x478bd4,_0x3c5ba1);break;}case _0x45a7b5[_0x39dade(0xc9)][_0x39dade(0x303)]:{_0x251846=_0x45a7b5[_0x39dade(0x209)](_0x478bd4,_0x3c5ba1);break;}case _0x45a7b5[_0x39dade(0xc9)][_0x39dade(0x175)]:{_0x251846=_0x45a7b5[_0x39dade(0x291)](_0x478bd4,_0x3c5ba1);break;}case _0x45a7b5[_0x39dade(0xc9)]['InsertRangeMoveDownCommandId']:{_0x251846=_0x45a7b5['handleInsertRangeMoveDown'](_0x478bd4,_0x3c5ba1);break;}case _0x45a7b5[_0x39dade(0xc9)][_0x39dade(0x2b8)]:{_0x251846=_0x45a7b5[_0x39dade(0x2e5)](_0x478bd4,_0x3c5ba1);break;}case _0x45a7b5[_0x39dade(0xc9)]['InsertRowCommandId']:{_0x251846=_0x45a7b5[_0x39dade(0xf7)](_0x478bd4,_0x3c5ba1);break;}case _0x45a7b5[_0x39dade(0xc9)]['MoveRangeCommandId']:{_0x251846=_0x45a7b5[_0x39dade(0x33a)](_0x478bd4,_0x3c5ba1);break;}case _0x45a7b5[_0x39dade(0xc9)][_0x39dade(0x145)]:{_0x251846=_0x45a7b5[_0x39dade(0xfc)](_0x478bd4,_0x3c5ba1);break;}case _0x45a7b5[_0x39dade(0xc9)][_0x39dade(0xaf)]:{_0x251846=_0x45a7b5['handleIRemoveRow'](_0x478bd4,_0x3c5ba1);break;}}const _0x29878f=_0x45a7b5[_0x39dade(0x121)](_0x251846,_0x3c5ba1),_0x517185=this['cursorInfo'][_0x39dade(0x2aa)](_0x16d6a2);if(_0x517185&&_0x29878f){const _0x63520b={..._0x517185,'range':_0x29878f};this[_0x39dade(0x1e9)][_0x39dade(0x30e)](_0x16d6a2,_0x63520b),_0x2aa418(()=>{const _0x6f1c=_0x39dade,_0x505bda=this[_0x6f1c(0x254)][_0x6f1c(0x2ed)](_0x29878f,_0x31a64f=>(_0x505bda[_0x6f1c(0x14a)](),_0x187293(_0x31a64f,_0x16d6a2,_0x27a453,_0x29878f)));_0x4a324b[_0x6f1c(0x293)](_0x505bda);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x26aa27,_0x465e7e)=>{const _0x50e4e0=_0x5a881e,{range:_0x337b11,sheetID:_0x57ff32}=_0x26aa27,_0x5ce03d=this[_0x50e4e0(0x254)][_0x50e4e0(0x2ed)](_0x337b11,_0x14f925=>(_0x5ce03d[_0x50e4e0(0x14a)](),_0x187293(_0x14f925,_0x465e7e,_0x57ff32,_0x337b11)));_0x4a324b[_0x50e4e0(0x293)](_0x5ce03d);});};this[_0x3940e9(0x1d4)](_0x717d91['toDisposable'](this[_0x3940e9(0x1b0)][_0x3940e9(0xbf)](()=>{_0x2777c3();})));}[_0x2a4ba5(0x131)](){const _0x3da78d=_0x2a4ba5;var _0x35b2b1,_0x106d9c;if(this['_online']=!0x0,((_0x35b2b1=this['_univerInstanceService'][_0x3da78d(0x2f9)]())==null?void 0x0:_0x35b2b1['getUnitId']())!==this[_0x3da78d(0x1e6)])return;const _0x2113aa=(_0x106d9c=this['_injector'][_0x3da78d(0x2aa)](_0x45a7b5[_0x3da78d(0x213)])[_0x3da78d(0x22c)]())==null?void 0x0:_0x106d9c[0x0],_0x3266a0=this[_0x3da78d(0x15c)]['getCurrentUnitForType'](_0x717d91['UniverInstanceType'][_0x3da78d(0x137)])['getActiveSheet']();_0x2113aa&&_0x3266a0&&this[_0x3da78d(0x1aa)](_0x3266a0[_0x3da78d(0x37d)](),_0x2113aa);}[_0x2a4ba5(0x38e)](){const _0x1aade5=_0x2a4ba5;this[_0x1aade5(0x282)]=!0x1;}};_0x22e870=_0x111b25([_0x2fde7c(0x2,_0x717d91['Inject'](_0x717d91[_0x2a4ba5(0x32d)])),_0x2fde7c(0x3,_0x717d91[_0x2a4ba5(0x37b)](_0x170667)),_0x2fde7c(0x4,_0x717d91[_0x2a4ba5(0x37b)](_0x26bc40[_0x2a4ba5(0x105)])),_0x2fde7c(0x5,_0x717d91[_0x2a4ba5(0xa9)]),_0x2fde7c(0x6,_0x717d91[_0x2a4ba5(0x329)]),_0x2fde7c(0x7,_0x717d91[_0x2a4ba5(0x37b)](_0x45a7b5[_0x2a4ba5(0xde)]))],_0x22e870);var _0x1b0d6b=Object[_0x2a4ba5(0x147)],_0x3521db=(_0x4d1257,_0x469f2b,_0x54510d,_0x441d7f)=>{const _0x226a76=_0x2a4ba5;for(var _0x48c952=_0x441d7f>0x1?void 0x0:_0x441d7f?_0x1b0d6b(_0x469f2b,_0x54510d):_0x469f2b,_0x12a93b=_0x4d1257[_0x226a76(0x123)]-0x1,_0xf1a35e;_0x12a93b>=0x0;_0x12a93b--)(_0xf1a35e=_0x4d1257[_0x12a93b])&&(_0x48c952=_0xf1a35e(_0x48c952)||_0x48c952);return _0x48c952;},_0x272b68=(_0x3e7558,_0x44cae3)=>(_0x3d5d97,_0x23e965)=>_0x44cae3(_0x3d5d97,_0x23e965,_0x3e7558);let _0xfbad1b=class extends _0x717d91['RxDisposable']{constructor(_0x3a9890,_0x392e6a,_0x214e0c){const _0x18ed90=_0x2a4ba5;super(),_0x271c55(this,'_entities',new Map()),_0x271c55(this,_0x18ed90(0x220),new _0x170cda[(_0x18ed90(0x233))]()),(this['_univerInstanceService']=_0x3a9890,this['_injector']=_0x392e6a,this['_collabSessionService']=_0x214e0c,this[_0x18ed90(0xd5)]());}[_0x2a4ba5(0x14a)](){const _0x1ade54=_0x2a4ba5;super['dispose'](),this[_0x1ade54(0x220)][_0x1ade54(0x216)](),this[_0x1ade54(0x33f)][_0x1ade54(0xc4)](_0x561b98=>_0x561b98['dispose']());}[_0x2a4ba5(0xf1)](_0x57b7a9){const _0x52485d=_0x2a4ba5;return this[_0x52485d(0x33f)][_0x52485d(0x250)](_0x57b7a9)?this['_entities'][_0x52485d(0x2aa)](_0x57b7a9)[_0x52485d(0xe7)]:this['_entityInit$']['pipe'](_0x170cda['filter'](_0x430f58=>_0x430f58['unitID']===_0x57b7a9),_0x170cda[_0x52485d(0x2cc)](_0x205003=>_0x205003[_0x52485d(0xe7)]));}[_0x2a4ba5(0xd5)](){const _0x3ec604=_0x2a4ba5;this[_0x3ec604(0x15c)]['getTypeOfUnitAdded$'](_0x717d91[_0x3ec604(0x2bf)][_0x3ec604(0x137)])[_0x3ec604(0xda)](_0x170cda[_0x3ec604(0x2b0)](this[_0x3ec604(0x2c4)]))[_0x3ec604(0xbf)](async _0x55d9e9=>{const _0x418f99=_0x3ec604,_0x1e1c49=_0x55d9e9[_0x418f99(0x2c3)](),_0x4a1577=await this[_0x418f99(0x11e)](_0x1e1c49);this[_0x418f99(0x220)][_0x418f99(0x27b)](_0x4a1577),this[_0x418f99(0x33f)][_0x418f99(0x30e)](_0x1e1c49,_0x4a1577);}),this[_0x3ec604(0x15c)]['getTypeOfUnitAdded$'](_0x717d91['UniverInstanceType'][_0x3ec604(0x2fc)])['pipe'](_0x170cda['takeUntil'](this['dispose$']))[_0x3ec604(0xda)](_0x170cda[_0x3ec604(0x1dd)](_0x498cdb=>!_0x498cdb[_0x3ec604(0x2c3)]()[_0x3ec604(0x12a)]('__')))[_0x3ec604(0xbf)](async _0x5956c9=>{const _0x4434cf=_0x3ec604,_0x192e10=_0x5956c9['getUnitId'](),_0x6bc4ce=await this[_0x4434cf(0x376)](_0x192e10);this['_entityInit$'][_0x4434cf(0x27b)](_0x6bc4ce),this[_0x4434cf(0x33f)][_0x4434cf(0x30e)](_0x192e10,_0x6bc4ce);}),_0x170cda[_0x3ec604(0x132)](this[_0x3ec604(0x15c)][_0x3ec604(0x1e8)](_0x717d91[_0x3ec604(0x2bf)][_0x3ec604(0x2fc)]),this[_0x3ec604(0x15c)][_0x3ec604(0x1e8)](_0x717d91[_0x3ec604(0x2bf)]['UNIVER_SHEET']))['pipe'](_0x170cda[_0x3ec604(0x2b0)](this['dispose$']))[_0x3ec604(0xbf)](_0x1a7e37=>{const _0x106835=_0x3ec604,_0x3188b0=_0x1a7e37[_0x106835(0x2c3)](),_0x406871=this[_0x106835(0x33f)][_0x106835(0x2aa)](_0x3188b0);_0x406871&&(_0x406871[_0x106835(0x14a)](),this[_0x106835(0x33f)][_0x106835(0x2e2)](_0x3188b0));});}async[_0x2a4ba5(0x11e)](_0x5b4060){const _0xb70a9c=_0x2a4ba5,_0x2ba4ea=await this[_0xb70a9c(0x1d1)][_0xb70a9c(0x20a)](_0x5b4060),_0x338c43=this[_0xb70a9c(0x265)][_0xb70a9c(0x2d6)](_0x22e870,_0x5b4060,_0x2ba4ea);return _0x338c43['init'](),_0x338c43;}async[_0x2a4ba5(0x376)](_0x56ad60){const _0xa2c48=_0x2a4ba5,_0xa612a1=await this[_0xa2c48(0x1d1)][_0xa2c48(0x20a)](_0x56ad60),_0xe5e619=this[_0xa2c48(0x265)]['createInstance'](_0x4c9987,_0x56ad60,_0xa612a1);return _0xe5e619[_0xa2c48(0x1c5)](),_0xe5e619;}};_0xfbad1b=_0x3521db([_0x272b68(0x0,_0x717d91[_0x2a4ba5(0xa9)]),_0x272b68(0x1,_0x717d91[_0x2a4ba5(0x37b)](_0x717d91[_0x2a4ba5(0x32d)])),_0x272b68(0x2,_0x717d91[_0x2a4ba5(0x37b)](_0x26bc40[_0x2a4ba5(0x2a1)]))],_0xfbad1b);const _0x5b7079=0x14,_0x1e2f55=0xc8,_0xdd04ec=0x4,_0x324c39=0x5;function _0x36e4de(_0x4c261f,_0xc5849){const _0x34d3da=_0x2a4ba5;let {radius:_0x4a767b,width:_0x57fe9c,height:_0x19c72e}=_0xc5849;_0x4a767b=_0x4a767b!=null?_0x4a767b:0x0,_0x57fe9c=_0x57fe9c!=null?_0x57fe9c:0x1e,_0x19c72e=_0x19c72e!=null?_0x19c72e:0x1e;let _0x4ed4e8=0x0,_0x2f2848=0x0,_0x5d7b7a=0x0;_0x4ed4e8=_0x2f2848=_0x5d7b7a=Math[_0x34d3da(0x31d)](_0x4a767b,_0x57fe9c/0x2,_0x19c72e/0x2),_0x4c261f['beginPath'](),_0x4c261f['moveTo'](_0x4ed4e8,0x0),_0x4c261f[_0x34d3da(0x2d8)](_0x57fe9c-_0x2f2848,0x0),_0x4c261f[_0x34d3da(0xb3)](_0x57fe9c-_0x2f2848,_0x2f2848,_0x2f2848,Math['PI']*0x3/0x2,0x0,!0x1),_0x4c261f['lineTo'](_0x57fe9c,_0x19c72e-_0x5d7b7a),_0x4c261f[_0x34d3da(0xb3)](_0x57fe9c-_0x5d7b7a,_0x19c72e-_0x5d7b7a,_0x5d7b7a,0x0,Math['PI']/0x2,!0x1),_0x4c261f[_0x34d3da(0x2d8)](0x0,_0x19c72e),_0x4c261f['lineTo'](0x0,_0x4ed4e8),_0x4c261f[_0x34d3da(0xb3)](_0x4ed4e8,_0x4ed4e8,_0x4ed4e8,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4c261f['closePath'](),_0xc5849[_0x34d3da(0x1db)]&&(_0x4c261f[_0x34d3da(0x20f)](),_0x4c261f[_0x34d3da(0x11c)]=_0xc5849[_0x34d3da(0x1db)],_0xc5849['fillRule']===_0x34d3da(0x1e2)?_0x4c261f[_0x34d3da(0x1db)](_0x34d3da(0x1e2)):_0x4c261f[_0x34d3da(0x1db)](),_0x4c261f[_0x34d3da(0x21e)]());}class _0x264ac3 extends _0x4a1571['Shape']{constructor(_0x5326aa,_0x832ed6){const _0x25a80a=_0x2a4ba5;super(_0x5326aa,_0x832ed6),_0x271c55(this,_0x25a80a(0x33b)),_0x271c55(this,'text'),(this[_0x25a80a(0x33b)]=_0x832ed6==null?void 0x0:_0x832ed6[_0x25a80a(0x33b)],this[_0x25a80a(0x2b5)]=_0x832ed6==null?void 0x0:_0x832ed6[_0x25a80a(0x2b5)]);}static[_0x2a4ba5(0x170)](_0x41f464,_0x4c4e9a){const _0x1a48b3=_0x2a4ba5,{text:_0x5aa7f5,color:_0x5d4d6a}=_0x4c4e9a;_0x41f464[_0x1a48b3(0x20f)](),_0x41f464[_0x1a48b3(0x2f8)]=_0x1a48b3(0xed);const _0x27d1fc=_0x41f464[_0x1a48b3(0x108)](_0x5aa7f5)[_0x1a48b3(0x383)],_0x15ddd6=Math['min'](_0x27d1fc+0x2*_0xdd04ec,_0x1e2f55);_0x36e4de(_0x41f464,{'height':_0x5b7079,'radius':0x4,'width':_0x15ddd6,'fill':_0x5d4d6a}),_0x41f464['fillStyle']=_0x1a48b3(0x19f);const _0x28c8e7=_0xdd04ec,_0x12b3f4=_0x5b7079-_0x324c39,_0x4bbaea=_0x1e2f55-0x2*_0xdd04ec;if(_0x27d1fc>_0x4bbaea){let _0x390e86='',_0x18667f=0x0;for(const _0x4de481 of _0x5aa7f5){const _0xd3bdd5=_0x41f464[_0x1a48b3(0x108)](_0x4de481)['width'];if(_0x18667f+_0xd3bdd5<=_0x4bbaea-_0x41f464[_0x1a48b3(0x108)](_0x1a48b3(0xb0))[_0x1a48b3(0x383)])_0x390e86+=_0x4de481,_0x18667f+=_0xd3bdd5;else{_0x390e86+=_0x1a48b3(0xb0);break;}}_0x41f464[_0x1a48b3(0x28c)](_0x390e86,_0x28c8e7,_0x12b3f4);}else _0x41f464['fillText'](_0x5aa7f5,_0x28c8e7,_0x12b3f4);_0x41f464['restore']();}['_draw'](_0x563924){const _0x557126=_0x2a4ba5;_0x264ac3[_0x557126(0x170)](_0x563924,this);}}const _0x14bb73=_0x2a4ba5(0x2c7),_0x304e63=_0x2a4ba5(0x116),_0x491eb3=_0x2a4ba5(0xac),_0x22c5bc=0x6,_0x1876de=1.5,_0xd22ed3=0x4,_0x1d2bb8=1.5,_0x403502=_0x2a4ba5(0x277);class _0x328b55{constructor(_0x4ef778,_0xeca3b8,_0xc17b90,_0x19ed74){const _0x4f402b=_0x2a4ba5;_0x271c55(this,_0x4f402b(0x270),[]),_0x271c55(this,_0x4f402b(0x3a0),null),_0x271c55(this,_0x4f402b(0x2ac),null),_0x271c55(this,_0x4f402b(0x25e),null),_0x271c55(this,_0x4f402b(0x290),null),_0x271c55(this,_0x4f402b(0x230),null),(this[_0x4f402b(0x1a4)]=_0x4ef778,this['_scene']=_0xeca3b8,this[_0x4f402b(0xcc)]=_0xc17b90,this[_0x4f402b(0x356)]=_0x19ed74,this['_render']());}set[_0x2a4ba5(0x394)](_0x3d542a){const _0x39d872=_0x2a4ba5;_0x3d542a?(this[_0x39d872(0x25e)]&&this[_0x39d872(0x25e)][_0x39d872(0x27d)](),this[_0x39d872(0x2ac)]&&this[_0x39d872(0x2ac)][_0x39d872(0x248)]()):(this[_0x39d872(0x25e)]&&this[_0x39d872(0x25e)][_0x39d872(0x248)](),this[_0x39d872(0x2ac)]&&this[_0x39d872(0x2ac)][_0x39d872(0x27d)]());}[_0x2a4ba5(0x14a)](){const _0x2e41fc=_0x2a4ba5;for(const _0xf852d1 of this[_0x2e41fc(0x270)])_0xf852d1[_0x2e41fc(0x14a)]();this['_textBubble']&&this[_0x2e41fc(0x2ac)][_0x2e41fc(0x14a)](),this[_0x2e41fc(0x25e)]&&this[_0x2e41fc(0x25e)][_0x2e41fc(0x14a)](),this[_0x2e41fc(0x3a0)]&&this[_0x2e41fc(0x3a0)][_0x2e41fc(0x14a)](),this[_0x2e41fc(0x230)]&&this['_eventUnsubscribe']();}[_0x2a4ba5(0x3a5)](){const _0x312e69=_0x2a4ba5;var _0xd47129;const {_docSkeleton:_0x4e4c8f,_document:_0x4fb696}=this,{color:_0x235d59,name:_0x27b47e,ranges:_0x316afc}=this[_0x312e69(0x1a4)],_0x345f78=_0x4fb696[_0x312e69(0x2c1)](),{docsLeft:_0x4e80a9,docsTop:_0x586d8d}=_0x345f78,_0x5af57c=new _0x42f0df[(_0x312e69(0x225))](_0x345f78,_0x4e4c8f);for(const {startOffset:_0xced92c,endOffset:_0x2afec5,rangeType:_0x37ed42,segmentId:_0x5730c2,segmentPage:_0xe7212e,collapsed:_0x12886d,isActive:_0x21de91}of _0x316afc){const _0x4acce3=_0x4e4c8f['findNodePositionByCharIndex'](_0xced92c,!0x0,_0x5730c2,_0xe7212e);let _0x588e43=_0x4e4c8f[_0x312e69(0x2a5)](_0x2afec5,!0x0,_0x5730c2,_0xe7212e);if(_0x588e43==null&&(_0x588e43=_0x4e4c8f['findNodePositionByCharIndex'](_0x2afec5-0x1,!0x1,_0x5730c2,_0xe7212e)),_0x21de91){const {contentBoxPointGroup:_0xf63ccc}=_0x5af57c[_0x312e69(0x278)](_0x588e43,_0x588e43);if(_0xf63ccc[_0x312e69(0x123)]===0x0)continue;this['_drawAnchor'](_0x235d59,_0xf63ccc,_0x4e80a9,_0x586d8d,_0x27b47e),this[_0x312e69(0x230)]=this[_0x312e69(0x1ab)]();}if(_0x4acce3&&_0x588e43){if(_0x37ed42===_0x717d91[_0x312e69(0x106)][_0x312e69(0x133)]){const _0x356bab=new _0x42f0df[(_0x312e69(0xae))](_0x345f78,_0x4e4c8f),{pointGroup:_0x30104c}=(_0xd47129=_0x356bab[_0x312e69(0x278)](_0x4acce3,_0x588e43))!=null?_0xd47129:{};if(_0x30104c==null||_0x30104c[_0x312e69(0x123)]===0x0)continue;this[_0x312e69(0x207)](_0x235d59,_0x30104c,_0x4e80a9,_0x586d8d);}else{if(!_0x12886d){const {borderBoxPointGroup:_0x1794fd}=_0x5af57c['getRangePointData'](_0x4acce3,_0x588e43);if(_0x1794fd[_0x312e69(0x123)]===0x0)continue;this[_0x312e69(0x1d2)](_0x235d59,_0x1794fd,_0x4e80a9,_0x586d8d);}}}}}[_0x2a4ba5(0x2b3)](_0x5e7a97,_0x2a9949,_0x3c1c17,_0x2d9805,_0x20e505){const _0x2bf995=_0x2a4ba5,_0x4f956b=this[_0x2bf995(0x2ce)](_0x2a9949),{left:_0x19a5fa,top:_0x6d653a,height:_0x2a8b1a}=_0x4f956b,_0x300e65=this[_0x2bf995(0x156)](),_0x3d9159=_0x1d2bb8/_0x300e65,_0x41b319=new _0x4a1571[(_0x2bf995(0x2d5))](_0x14bb73+_0x717d91['generateRandomId'](_0x22c5bc),{'left':_0x19a5fa+_0x3c1c17-_0x3d9159,'top':_0x6d653a+_0x2d9805,'height':_0x2a8b1a,'width':_0x1876de,'fill':_0x5e7a97||_0x4a1571[_0x2bf995(0x226)](_0x717d91['COLORS'][_0x2bf995(0x1cb)],0x0),'strokeWidth':_0x3d9159,'stroke':_0x403502,'evented':!0x0});this[_0x2bf995(0x3a0)]=_0x41b319,this[_0x2bf995(0x19b)][_0x2bf995(0x1f3)](_0x41b319,_0x42f0df['TEXT_RANGE_LAYER_INDEX']);const _0x5243f8=new _0x4a1571[(_0x2bf995(0x2d5))](_0x14bb73+_0x717d91[_0x2bf995(0x31c)](_0x22c5bc),{'left':_0x19a5fa+_0x3c1c17-_0x3d9159,'top':_0x6d653a+_0x2d9805-_0xd22ed3/0x2,'height':_0xd22ed3,'width':_0xd22ed3,'fill':_0x5e7a97||_0x4a1571[_0x2bf995(0x226)](_0x717d91[_0x2bf995(0x20d)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x5e7a97||_0x4a1571[_0x2bf995(0x226)](_0x717d91[_0x2bf995(0x20d)]['black'],0x0),'evented':!0x1});this[_0x2bf995(0x25e)]=_0x5243f8,this[_0x2bf995(0x19b)][_0x2bf995(0x1f3)](_0x5243f8,_0x42f0df[_0x2bf995(0x2b2)]);const _0x1d2937=new _0x264ac3(_0x14bb73+_0x717d91[_0x2bf995(0x31c)](_0x22c5bc),{'left':_0x19a5fa+_0x3c1c17-_0x3d9159,'top':_0x6d653a+_0x2d9805-_0x5b7079,'text':_0x20e505,'color':_0x5e7a97});this[_0x2bf995(0x2ac)]=_0x1d2937,this[_0x2bf995(0x19b)]['addObject'](_0x1d2937,_0x42f0df[_0x2bf995(0x2b2)]),this[_0x2bf995(0x394)]=!0x1;}[_0x2a4ba5(0x1ab)](){const _0x2c0577=_0x2a4ba5,_0x53b06e=this[_0x2c0577(0x3a0)][_0x2c0577(0x196)][_0x2c0577(0x12b)](()=>{const _0x597063=_0x2c0577;this[_0x597063(0x394)]=!0x0;}),_0x5851f1=this['_anchor'][_0x2c0577(0xe0)][_0x2c0577(0x12b)](()=>{const _0x51a945=_0x2c0577;this[_0x51a945(0x290)]&&clearTimeout(this[_0x51a945(0x290)]),this[_0x51a945(0x290)]=setTimeout(()=>{const _0x309e03=_0x51a945;this[_0x309e03(0x394)]=!0x1;},0x7d0);});return()=>{const _0x48af88=_0x2c0577;_0x53b06e[_0x48af88(0x2e7)](),_0x5851f1['unsubscribe']();};}[_0x2a4ba5(0x1d2)](_0x4fc454,_0x3744ce,_0x41c6a2,_0x486888){const _0x287211=_0x2a4ba5,_0x42219f=new _0x717d91[(_0x287211(0x336))](_0x4fc454)[_0x287211(0x193)](0.2)[_0x287211(0x297)](),_0x1d9f1a=new _0x4a1571[(_0x287211(0x218))](_0x304e63+_0x717d91['generateRandomId'](_0x22c5bc),{'pointsGroup':_0x3744ce,'fill':_0x42219f||_0x4a1571[_0x287211(0x226)](_0x717d91['COLORS'][_0x287211(0x1cb)],0.2),'left':_0x41c6a2,'top':_0x486888,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x287211(0x270)][_0x287211(0x2db)](_0x1d9f1a),this['_scene']['addObject'](_0x1d9f1a,_0x42f0df['TEXT_RANGE_LAYER_INDEX']);}[_0x2a4ba5(0x207)](_0x484ada,_0x2a343d,_0x1616e5,_0x3fb385){const _0x517f11=_0x2a4ba5,_0x4fbbdc=new _0x717d91['ColorKit'](_0x484ada)[_0x517f11(0x193)](0.2)[_0x517f11(0x297)](),_0x3c448a=new _0x4a1571['RegularPolygon'](_0x491eb3+_0x717d91[_0x517f11(0x31c)](_0x22c5bc),{'pointsGroup':_0x2a343d,'fill':_0x4fbbdc||_0x4a1571[_0x517f11(0x226)](_0x717d91[_0x517f11(0x20d)]['black'],0.2),'left':_0x1616e5,'top':_0x3fb385,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x517f11(0x270)][_0x517f11(0x2db)](_0x3c448a),this[_0x517f11(0x19b)][_0x517f11(0x1f3)](_0x3c448a,_0x42f0df['TEXT_RANGE_LAYER_INDEX']);}[_0x2a4ba5(0x2ce)](_0x3f70a3){const _0x1e79e8=_0x3f70a3[0x0],_0x24d6a1=_0x1e79e8[0x0],_0x157a71=_0x1e79e8[0x2],{x:_0x43542e,y:_0x26bae6}=_0x24d6a1,{x:_0x44b8b3,y:_0x3d3ae3}=_0x157a71;return{'left':_0x43542e,'top':_0x26bae6,'width':_0x44b8b3-_0x43542e,'height':_0x3d3ae3-_0x26bae6};}[_0x2a4ba5(0x156)](){const _0x214212=_0x2a4ba5,{scaleX:_0x56b23c,scaleY:_0x11849a}=this['_scene'][_0x214212(0x264)]();return Math[_0x214212(0x22e)](_0x56b23c,_0x11849a);}}var _0x17eaf6=Object[_0x2a4ba5(0x147)],_0x301dfa=(_0x13407a,_0x54d5a1,_0x3611bc,_0x4b1343)=>{const _0x2ea83e=_0x2a4ba5;for(var _0x516139=_0x4b1343>0x1?void 0x0:_0x4b1343?_0x17eaf6(_0x54d5a1,_0x3611bc):_0x54d5a1,_0x1673d7=_0x13407a[_0x2ea83e(0x123)]-0x1,_0x4a6c29;_0x1673d7>=0x0;_0x1673d7--)(_0x4a6c29=_0x13407a[_0x1673d7])&&(_0x516139=_0x4a6c29(_0x516139)||_0x516139);return _0x516139;},_0x125baa=(_0x514368,_0x390f25)=>(_0xc3cdf5,_0x1a7860)=>_0x390f25(_0xc3cdf5,_0x1a7860,_0x514368);let _0x564a2a=class extends _0x717d91[_0x2a4ba5(0x1f4)]{constructor(_0xb76815,_0x5d6de9,_0x27e99c,_0x3fbaab,_0x2d69aa){const _0x16a002=_0x2a4ba5;super(),_0x271c55(this,_0x16a002(0x2d4),[]),_0x271c55(this,_0x16a002(0x185),[]),(this[_0x16a002(0x3a1)]=_0xb76815,this[_0x16a002(0x24d)]=_0x5d6de9,this[_0x16a002(0x154)]=_0x27e99c,this['_commandService']=_0x3fbaab,this[_0x16a002(0x153)]=_0x2d69aa,this[_0x16a002(0xd5)]());}[_0x2a4ba5(0xd5)](){const _0x1eb2b0=_0x2a4ba5,_0xbf8067=this[_0x1eb2b0(0x3a1)][_0x1eb2b0(0x1df)],_0x478ea9=this['_docSkeletonManagerService'];this[_0x1eb2b0(0x1d4)](_0x170cda['combineLatest']([this[_0x1eb2b0(0x154)][_0x1eb2b0(0xf1)](_0xbf8067),this[_0x1eb2b0(0x153)][_0x1eb2b0(0xe6)]])['pipe'](_0x5954f8[_0x1eb2b0(0x180)](([_0x3666dd,_0x18137d])=>({'skeleton':_0x478ea9[_0x1eb2b0(0x330)](),'cursors':[..._0x3666dd[_0x1eb2b0(0x314)]()][_0x1eb2b0(0x2a0)](_0x2bfe8a=>({..._0x2bfe8a,'color':this[_0x1eb2b0(0x153)]['getColorFromTheme'](_0x2bfe8a['color'])}))})))[_0x1eb2b0(0xbf)](_0x2461c3=>{const _0x42d17d=_0x1eb2b0;if(this[_0x42d17d(0x13c)](),_0x2461c3){const {skeleton:_0x20788f,cursors:_0x4ea1f}=_0x2461c3;this[_0x42d17d(0x357)](_0x20788f,_0x4ea1f);}})),this['_initResize'](),this[_0x1eb2b0(0xf8)]();}[_0x2a4ba5(0x357)](_0x296084,_0x2da0c0){const _0x320964=_0x2a4ba5,{scene:_0x584859,mainComponent:_0x42d6cc}=this[_0x320964(0x3a1)],_0x1a4166=_0x2da0c0[_0x320964(0x180)](_0x307461=>new _0x328b55(_0x307461,_0x584859,_0x296084,_0x42d6cc));this[_0x320964(0x2d4)]=_0x1a4166,this[_0x320964(0x185)]=_0x2da0c0;}[_0x2a4ba5(0x337)](){const _0x5989f3=_0x2a4ba5;this[_0x5989f3(0x13c)]();const {scene:_0x9991f4,mainComponent:_0x990478}=this['_context'],_0x5c3938=this[_0x5989f3(0x24d)][_0x5989f3(0x330)](),_0x14399a=this['_cursors'][_0x5989f3(0x180)](_0x430f14=>new _0x328b55(_0x430f14,_0x9991f4,_0x5c3938,_0x990478));this[_0x5989f3(0x2d4)]=_0x14399a;}[_0x2a4ba5(0x13c)](){const _0x1320db=_0x2a4ba5;this[_0x1320db(0x2d4)][_0x1320db(0xc4)](_0x23bef6=>_0x23bef6[_0x1320db(0x14a)]()),this[_0x1320db(0x2d4)]=[];}['_initCommandExecutedListener'](){const _0x221924=_0x2a4ba5,_0x7a56a9=[_0x42f0df[_0x221924(0xa6)]['id']];this[_0x221924(0x1d4)](this['_commandService']['onCommandExecuted'](_0x405d28=>{const _0x34b802=_0x221924;_0x7a56a9['includes'](_0x405d28['id'])&&_0x405d28[_0x34b802(0x2af)][_0x34b802(0x1df)]===this[_0x34b802(0x3a1)][_0x34b802(0x1df)]&&this[_0x34b802(0x337)]();}));}[_0x2a4ba5(0x2e3)](){const _0xa9c853=_0x2a4ba5;this['disposeWithMe'](_0x717d91[_0xa9c853(0x39f)](this[_0xa9c853(0x3a1)][_0xa9c853(0x28d)]['onTransformChange$'])[_0xa9c853(0xda)](_0x5954f8[_0xa9c853(0x1dd)](_0x79ef=>_0x79ef[_0xa9c853(0x13b)]===_0x4a1571[_0xa9c853(0x222)]['resize']),_0x5954f8['throttleTime'](0x10))[_0xa9c853(0xbf)](()=>{const _0x4181e4=_0xa9c853;this[_0x4181e4(0x337)]();}));}};_0x564a2a=_0x301dfa([_0x125baa(0x1,_0x717d91[_0x2a4ba5(0x37b)](_0x59e61e[_0x2a4ba5(0x11f)])),_0x125baa(0x2,_0x717d91[_0x2a4ba5(0x37b)](_0xfbad1b)),_0x125baa(0x3,_0x717d91[_0x2a4ba5(0x329)]),_0x125baa(0x4,_0x717d91[_0x2a4ba5(0x37b)](_0x717d91[_0x2a4ba5(0xb8)]))],_0x564a2a);const _0x5210be=0x1,_0xdceebe=1.5;class _0x1a2356 extends _0x4a1571[_0x2a4ba5(0x2e0)]{constructor(_0x50c11e,_0x472310){const _0x12e40b=_0x2a4ba5;super(_0x50c11e,_0x472310),_0x271c55(this,'_color'),_0x271c55(this,_0x12e40b(0x2da),!0x1),_0x271c55(this,_0x12e40b(0x2a8)),_0x271c55(this,_0x12e40b(0x16c),''),_0x271c55(this,'_labelPosition',_0x12e40b(0x286)),_0x271c55(this,'_backgroundColor'),(_0x472310&&this[_0x12e40b(0x236)](_0x472310),this[_0x12e40b(0x196)][_0x12e40b(0x12b)](()=>this[_0x12e40b(0x236)]({'hovered':!0x0})),this[_0x12e40b(0xe0)][_0x12e40b(0x12b)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x2a4ba5(0x236)](_0x1bf719){const _0x2d727e=_0x2a4ba5;var _0x5e9d48,_0xfc3016,_0x58c7db,_0x54c847,_0x414411,_0xd816f8;this[_0x2d727e(0x310)]=(_0x5e9d48=_0x1bf719[_0x2d727e(0x33b)])!=null?_0x5e9d48:this[_0x2d727e(0x310)],this[_0x2d727e(0x2da)]=(_0xfc3016=_0x1bf719[_0x2d727e(0x26d)])!=null?_0xfc3016:this[_0x2d727e(0x2da)],this['_range']=(_0x58c7db=_0x1bf719[_0x2d727e(0x10d)])!=null?_0x58c7db:this[_0x2d727e(0x2a8)],this[_0x2d727e(0x16c)]=(_0x54c847=_0x1bf719[_0x2d727e(0x35e)])!=null?_0x54c847:this[_0x2d727e(0x16c)],this[_0x2d727e(0x13d)]=(_0x414411=_0x1bf719[_0x2d727e(0xea)])!=null?_0x414411:this[_0x2d727e(0x13d)],this[_0x2d727e(0x318)]=(_0xd816f8=_0x1bf719[_0x2d727e(0x1bf)])!=null?_0xd816f8:this[_0x2d727e(0x318)],this[_0x2d727e(0x2a7)]({'width':_0x1bf719[_0x2d727e(0x383)],'height':_0x1bf719[_0x2d727e(0x204)]});}['onMouseMove'](_0x52efc0){const _0x3e0aab=_0x2a4ba5,{row:_0x2dbb32,column:_0x1fab51}=_0x52efc0;if(_0x2dbb32>=this[_0x3e0aab(0x2a8)][_0x3e0aab(0x27e)]&&_0x2dbb32<=this[_0x3e0aab(0x2a8)][_0x3e0aab(0x1af)]&&_0x1fab51>=this['_range'][_0x3e0aab(0x117)]&&_0x1fab51<=this[_0x3e0aab(0x2a8)]['endColumn']){this[_0x3e0aab(0x236)]({'hovered':!0x0});return;}this[_0x3e0aab(0x236)]({'hovered':!0x1});}[_0x2a4ba5(0x395)](_0x4a29a7){return!0x1;}[_0x2a4ba5(0x16a)](_0x50ffd2){const _0x2c3e84=_0x2a4ba5;_0x4a1571[_0x2c3e84(0x2d5)][_0x2c3e84(0x170)](_0x50ffd2,{'width':this[_0x2c3e84(0x383)],'height':this[_0x2c3e84(0x204)],'strokeWidth':_0xdceebe,'stroke':this[_0x2c3e84(0x310)],'evented':!0x1,'fill':this[_0x2c3e84(0x318)]}),this['_hovered']&&(_0x50ffd2[_0x2c3e84(0x20f)](),_0x50ffd2[_0x2c3e84(0x2ae)](0x1,0x0,0x0,0x1,this[_0x2c3e84(0x383)],this[_0x2c3e84(0x13d)]===_0x2c3e84(0x179)?0x0:-_0x5b7079),_0x264ac3['drawWith'](_0x50ffd2,{'text':this['_name'],'color':this[_0x2c3e84(0x310)]}),_0x50ffd2['restore']());}}var _0x5ea7f8=Object[_0x2a4ba5(0x147)],_0x38097b=(_0x25cc46,_0x5c7e0c,_0xdab151,_0x315681)=>{const _0x203e29=_0x2a4ba5;for(var _0x32cc31=_0x315681>0x1?void 0x0:_0x315681?_0x5ea7f8(_0x5c7e0c,_0xdab151):_0x5c7e0c,_0x41572f=_0x25cc46[_0x203e29(0x123)]-0x1,_0x1ed003;_0x41572f>=0x0;_0x41572f--)(_0x1ed003=_0x25cc46[_0x41572f])&&(_0x32cc31=_0x1ed003(_0x32cc31)||_0x32cc31);return _0x32cc31;},_0x409113=(_0xc1d286,_0x8fa607)=>(_0xeec2bc,_0x41834f)=>_0x8fa607(_0xeec2bc,_0x41834f,_0xc1d286);const _0x1ba6ee=0x1389;let _0x35d8f7=class extends _0x717d91[_0x2a4ba5(0x1f4)]{constructor(_0x29b9ca,_0x1e2899,_0x696142,_0x36d8eb){const _0x159162=_0x2a4ba5;super(),_0x271c55(this,_0x159162(0x185),new Set()),_0x271c55(this,_0x159162(0x259),null),(this[_0x159162(0x3a1)]=_0x29b9ca,this['_sheetSkeletonManagerService']=_0x1e2899,this['_collabCursorController']=_0x696142,this[_0x159162(0x153)]=_0x36d8eb,this[_0x159162(0xd5)]());}[_0x2a4ba5(0xd5)](){const _0x5d1efc=_0x2a4ba5;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x5d1efc(0xda)](_0x5954f8[_0x5d1efc(0x2b0)](this[_0x5d1efc(0x2c4)]),_0x5954f8['switchMap'](_0x2ac1a2=>{const _0x40fad6=_0x5d1efc;if(_0x2ac1a2){const _0x56f58d=_0x2ac1a2[_0x40fad6(0x262)];return _0x170cda[_0x40fad6(0x253)](this['_collabCursorController'][_0x40fad6(0xf1)](this[_0x40fad6(0x3a1)][_0x40fad6(0x1df)]),this[_0x40fad6(0x153)][_0x40fad6(0xe6)])['pipe'](_0x5954f8[_0x40fad6(0x180)](([_0x53ac8d,_0x5ca587])=>{const _0x25a8c8=_0x40fad6,_0x410c68=new Map();return _0x53ac8d[_0x25a8c8(0xc4)]((_0x251ecc,_0x5ab9c8)=>{const _0x3713c6=_0x25a8c8;if(_0x251ecc[_0x3713c6(0x327)]===_0x56f58d){const _0x3e3599={..._0x251ecc};_0x3e3599[_0x3713c6(0x33b)]=this[_0x3713c6(0x153)][_0x3713c6(0x260)](_0x251ecc[_0x3713c6(0x33b)]),_0x410c68[_0x3713c6(0x30e)](_0x5ab9c8,_0x3e3599);}}),{'skeleton':_0x2ac1a2,'cursors':_0x410c68};}));}return _0x170cda['of']({'skeleton':null,'cursors':new Map()});}))[_0x5d1efc(0xbf)](({skeleton:_0x42a13c,cursors:_0x64a4fa})=>{const _0x8fcfbd=_0x5d1efc;this[_0x8fcfbd(0x13c)](),_0x42a13c&&this[_0x8fcfbd(0x357)](_0x42a13c,_0x64a4fa);}),this[_0x5d1efc(0xa8)][_0x5d1efc(0xe4)][_0x5d1efc(0xbf)](_0xb7e9aa=>{const _0x95559f=_0x5d1efc;if(_0xb7e9aa==null)return;const {skeleton:_0xff705a}=_0xb7e9aa,{scene:_0x4e2f9d}=this[_0x95559f(0x3a1)];_0x4e2f9d[_0x95559f(0x36a)][_0x95559f(0x12b)](_0x717d91[_0x95559f(0x32e)](_0xf7cced=>{const _0x546e33=_0x95559f;var _0x82a71f,_0x4407f5;const {offsetX:_0x263c61,offsetY:_0x41b193}=_0xf7cced,{x:_0x1892b7,y:_0x5bca2e}=_0x4e2f9d[_0x546e33(0x324)](_0x4a1571[_0x546e33(0x373)][_0x546e33(0x1b8)]([_0x263c61,_0x41b193])),{scaleX:_0x22ca6c,scaleY:_0x2fe1e0}=_0x4e2f9d[_0x546e33(0x264)](),_0x162d29=_0x4e2f9d[_0x546e33(0x206)](_0x4a1571[_0x546e33(0x165)]['VIEW_MAIN']),_0x20448b=_0x4e2f9d[_0x546e33(0x280)](_0x4a1571['Vector2'][_0x546e33(0x1b8)]([_0x1892b7,_0x5bca2e]),_0x162d29),_0x3b1313=_0xff705a[_0x546e33(0x112)](_0x263c61,_0x41b193,_0x22ca6c,_0x2fe1e0,_0x20448b);((_0x82a71f=this['_lastPointer'])==null?void 0x0:_0x82a71f[_0x546e33(0x168)])===_0x3b1313[_0x546e33(0x168)]&&((_0x4407f5=this[_0x546e33(0x259)])==null?void 0x0:_0x4407f5['row'])===_0x3b1313[_0x546e33(0xdd)]||this[_0x546e33(0x185)][_0x546e33(0xc4)](_0xc684a0=>{const _0x4e6f4e=_0x546e33;_0xc684a0[_0x4e6f4e(0x323)](_0x3b1313);});},0x64));});}[_0x2a4ba5(0x357)](_0x2e1471,_0x173c19){const _0x19af78=_0x2a4ba5;var _0x5e579d;const _0x11114c=(_0x5e579d=this['_sheetSkeletonManagerService'][_0x19af78(0x288)]())==null?void 0x0:_0x5e579d['skeleton'];if(!_0x11114c)return;const _0x339c11=this['_getSheetObject']();if(!_0x339c11)return;this[_0x19af78(0x185)]['forEach'](_0x2b864c=>{_0x2b864c['makeDirty']();});const {scene:_0xa8dcb2}=_0x339c11,_0x53f470=_0x5218df(Array[_0x19af78(0x15a)](_0x173c19[_0x19af78(0x314)]()))[_0x19af78(0x180)](_0x2e3296=>{const _0x47cf99=_0x19af78,{color:_0x55ca50,range:_0x1428e3,name:_0x26f3fd,selection:_0xfb3bbf,sheetID:_0x15e4b2}=_0x2e3296,{startColumn:_0x1f4ffa,startRow:_0x1ecdee,endColumn:_0x2a910a,endRow:_0x23c265}=_0x1428e3,_0x565818=_0x627437[_0x47cf99(0x309)](_0x1ecdee,_0x1f4ffa,_0xa8dcb2,_0x11114c),_0xe17f26=_0x627437[_0x47cf99(0x309)](_0x23c265,_0x2a910a,_0xa8dcb2,_0x11114c),{columnHeaderHeightAndMarginTop:_0x5a8b75}=_0x11114c,{startX:_0x4f1a61,startY:_0x11dfec}=_0x565818,{endX:_0xf5c800,endY:_0x1bc672}=_0xe17f26,_0x3b44a1=_0xf5c800-_0x4f1a61,_0x315141=_0x1bc672-_0x11dfec,_0x26f88f={'labelPosition':_0x11dfec-_0x5a8b75>=_0x5b7079?_0x47cf99(0x286):'bottom','sheetID':_0x15e4b2,'range':_0x1428e3,'color':_0x55ca50,'name':_0x26f3fd,'selection':_0xfb3bbf,'left':_0x4f1a61,'top':_0x11dfec,'width':_0x3b44a1,'height':_0x315141,'evented':!0x1,'zIndex':_0x1ba6ee};return new _0x1a2356(_0x26f3fd,_0x26f88f);});_0xa8dcb2[_0x19af78(0x198)](_0x53f470,_0x5210be),this[_0x19af78(0x185)]=new Set(_0x53f470);}['_removeCollabCursors'](){var _0x452d55;(_0x452d55=this['_cursors'])==null||_0x452d55['forEach'](_0x1df3f2=>_0x1df3f2['dispose']());}[_0x2a4ba5(0x24e)](){const _0x8b5c29=_0x2a4ba5;return _0x627437[_0x8b5c29(0x223)](this[_0x8b5c29(0x3a1)][_0x8b5c29(0x16e)],this[_0x8b5c29(0x3a1)]);}};_0x35d8f7=_0x38097b([_0x409113(0x1,_0x717d91[_0x2a4ba5(0x37b)](_0x627437[_0x2a4ba5(0xcf)])),_0x409113(0x2,_0x717d91['Inject'](_0xfbad1b)),_0x409113(0x3,_0x717d91['Inject'](_0x717d91[_0x2a4ba5(0xb8)]))],_0x35d8f7);function _0x5218df(_0x3e142b){const _0x371fc4=_0x2a4ba5,_0x137d39=new Map();return _0x3e142b['forEach'](_0x1f5ee6=>{const _0x2f01c4=_0x20af;if(_0x137d39['has'](_0x1f5ee6[_0x2f01c4(0xe9)])){const _0x50c8b7=_0x137d39[_0x2f01c4(0x2aa)](_0x1f5ee6['selection']);_0x50c8b7[_0x2f01c4(0x35e)]+=',\x20'+_0x1f5ee6['name'];}else _0x137d39['set'](_0x1f5ee6['selection'],_0x1f5ee6);}),Array[_0x371fc4(0x15a)](_0x137d39['values']());}var _0x815fe4=Object[_0x2a4ba5(0x147)],_0x509bc3=(_0x9f0417,_0x200f03,_0x1690ed,_0x4768e9)=>{const _0x41915c=_0x2a4ba5;for(var _0x369b70=_0x4768e9>0x1?void 0x0:_0x4768e9?_0x815fe4(_0x200f03,_0x1690ed):_0x200f03,_0x2f4104=_0x9f0417[_0x41915c(0x123)]-0x1,_0x53e9ec;_0x2f4104>=0x0;_0x2f4104--)(_0x53e9ec=_0x9f0417[_0x2f4104])&&(_0x369b70=_0x53e9ec(_0x369b70)||_0x369b70);return _0x369b70;},_0x5e8ba3=(_0x1e51fc,_0x1a7ace)=>(_0x3b724c,_0x1043bc)=>_0x1a7ace(_0x3b724c,_0x1043bc,_0x1e51fc);let _0x1af25f=class extends _0x717d91[_0x2a4ba5(0x393)]{constructor(_0x18570c,_0x34092a,_0x4702dc,_0x3ca7ca,_0xdef69f,_0x21e524){const _0x5d9c36=_0x2a4ba5;super(),this[_0x5d9c36(0x384)]=_0x18570c,this['_localCacheService']=_0x34092a,this[_0x5d9c36(0xfd)]=_0x4702dc,this['_messageService']=_0x3ca7ca,this[_0x5d9c36(0x19a)]=_0xdef69f,this[_0x5d9c36(0x26b)]=_0x21e524,this['_setupBeforeClosingHandler'](),this[_0x5d9c36(0x338)]();}['_setupBeforeClosingHandler'](){const _0x2da86b=_0x2a4ba5;this[_0x2da86b(0x1d4)](this[_0x2da86b(0x384)][_0x2da86b(0x34b)](()=>{const _0x719511=_0x2da86b;if(this[_0x719511(0x292)]['saveTaskMap'][_0x719511(0x13e)])return this[_0x719511(0x26b)]['t'](_0x719511(0xc8));}));}[_0x2a4ba5(0x338)](){const _0x154b38=_0x2a4ba5;this[_0x154b38(0x1d4)](this[_0x154b38(0xfd)][_0x154b38(0x1de)][_0x154b38(0xbf)](_0x33072c=>{const _0x27a2ec=_0x154b38;_0x33072c['id']===_0x26bc40[_0x27a2ec(0x195)][_0x27a2ec(0x1ce)]&&this[_0x27a2ec(0x114)][_0x27a2ec(0x248)]({'type':_0x203981[_0x27a2ec(0xa7)][_0x27a2ec(0x385)],'content':this['_localeService']['t'](_0x27a2ec(0x1ca))}),_0x33072c['id']===_0x26bc40[_0x27a2ec(0x195)][_0x27a2ec(0x37c)]&&this[_0x27a2ec(0x114)][_0x27a2ec(0x248)]({'type':_0x203981['MessageType'][_0x27a2ec(0x385)],'content':this[_0x27a2ec(0x26b)]['t']('collaboration.closeRoom')}),_0x33072c['id']===_0x26bc40['CollaborationUIEventId'][_0x27a2ec(0x14d)]&&this['_notificationService'][_0x27a2ec(0x248)]({'title':this[_0x27a2ec(0x26b)]['t'](_0x27a2ec(0x2de)),'content':this[_0x27a2ec(0x26b)]['t'](_0x27a2ec(0x37e)),'type':_0x27a2ec(0x289),'duration':0x0}),_0x33072c['id']===_0x26bc40['CollaborationUIEventId'][_0x27a2ec(0x100)]&&this[_0x27a2ec(0x114)][_0x27a2ec(0x248)]({'type':_0x203981[_0x27a2ec(0xa7)][_0x27a2ec(0x135)],'content':this['_localeService']['t'](_0x27a2ec(0x268))+'('+_0x33072c['data']+')'}),_0x33072c['id']===_0x26bc40[_0x27a2ec(0x195)][_0x27a2ec(0x1da)]&&this[_0x27a2ec(0x114)][_0x27a2ec(0x248)]({'type':_0x203981[_0x27a2ec(0xa7)][_0x27a2ec(0x385)],'content':this[_0x27a2ec(0x26b)]['t'](_0x33072c[_0x27a2ec(0x244)]||'')}),_0x33072c['id']===_0x26bc40['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x27a2ec(0x114)]['show']({'type':_0x203981[_0x27a2ec(0xa7)][_0x27a2ec(0x385)],'content':this['_localeService']['t']('session.will-retry')}),_0x33072c['id']===_0x26bc40[_0x27a2ec(0x195)][_0x27a2ec(0x1ea)]&&this[_0x27a2ec(0x114)][_0x27a2ec(0x248)]({'type':_0x203981[_0x27a2ec(0xa7)][_0x27a2ec(0x135)],'content':this[_0x27a2ec(0x26b)]['t'](_0x27a2ec(0xb9))}),_0x33072c['id']===_0x26bc40[_0x27a2ec(0x195)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x27a2ec(0x248)]({'type':_0x203981[_0x27a2ec(0xa7)][_0x27a2ec(0x135)],'content':this['_localeService']['t'](_0x27a2ec(0x30d))});}));}};_0x1af25f=_0x509bc3([_0x5e8ba3(0x0,_0x498b33[_0x2a4ba5(0xc3)]),_0x5e8ba3(0x1,_0x26bc40[_0x2a4ba5(0xbe)]),_0x5e8ba3(0x2,_0x717d91[_0x2a4ba5(0x37b)](_0x26bc40['CollaborationUIEventService'])),_0x5e8ba3(0x3,_0x498b33[_0x2a4ba5(0x119)]),_0x5e8ba3(0x4,_0x498b33[_0x2a4ba5(0x31a)]),_0x5e8ba3(0x5,_0x717d91[_0x2a4ba5(0x37b)](_0x717d91[_0x2a4ba5(0xef)]))],_0x1af25f);var _0x3869e4=Object[_0x2a4ba5(0x147)],_0x3fc7a7=(_0x255ad8,_0x3b5d90,_0x4d9212,_0x5da867)=>{const _0x46e053=_0x2a4ba5;for(var _0x5d95f3=_0x5da867>0x1?void 0x0:_0x5da867?_0x3869e4(_0x3b5d90,_0x4d9212):_0x3b5d90,_0x4b8855=_0x255ad8[_0x46e053(0x123)]-0x1,_0x1fe250;_0x4b8855>=0x0;_0x4b8855--)(_0x1fe250=_0x255ad8[_0x4b8855])&&(_0x5d95f3=_0x1fe250(_0x5d95f3)||_0x5d95f3);return _0x5d95f3;},_0x207521=(_0x212bd6,_0x11ceb4)=>(_0x165d8a,_0x45169a)=>_0x11ceb4(_0x165d8a,_0x45169a,_0x212bd6);let _0x5625b4=class extends _0x717d91['Disposable']{constructor(_0x2cf668,_0x5e68c6,_0x286db2,_0x550cb4){const _0x15ba65=_0x2a4ba5;super(),_0x271c55(this,_0x15ba65(0xc1)),(this[_0x15ba65(0x265)]=_0x2cf668,this[_0x15ba65(0x29a)]=_0x5e68c6,this[_0x15ba65(0x34a)]=_0x286db2,this['_collaborationSessionService']=_0x550cb4,this['_init']());}['_init'](){const _0x52f456=_0x2a4ba5;this[_0x52f456(0x326)](),this[_0x52f456(0x21f)](),this[_0x52f456(0x347)](),this[_0x52f456(0x1cd)]();}[_0x2a4ba5(0x1cd)](){const _0x1e52b6=_0x2a4ba5;this[_0x1e52b6(0x1d4)](this[_0x1e52b6(0x191)]['socket$'][_0x1e52b6(0xbf)](_0x4a44e7=>{this['_memberID']=_0x4a44e7==null?void 0x0:_0x4a44e7['memberID'];}));}[_0x2a4ba5(0x326)](){const _0x40af80=_0x2a4ba5,_0x40e50e=_0x38142f=>{const _0x1a30fe=_0x20af;var _0x28b29c;this[_0x1a30fe(0x1ac)](_0x1a30fe(0x289),'[Window\x20Error]:\x20'+_0x38142f[_0x1a30fe(0x201)]+_0x1a30fe(0x1e4)+_0x38142f[_0x1a30fe(0x256)]+':'+_0x38142f[_0x1a30fe(0xd2)]+':'+_0x38142f[_0x1a30fe(0x1c8)]+'\x0a'+(((_0x28b29c=_0x38142f[_0x1a30fe(0x289)])==null?void 0x0:_0x28b29c[_0x1a30fe(0x283)])||''));};window['addEventListener'](_0x40af80(0x289),_0x40e50e),this[_0x40af80(0x1d4)](()=>{const _0x2de513=_0x40af80;window['removeEventListener'](_0x2de513(0x289),_0x40e50e);});}[_0x2a4ba5(0x21f)](){const _0x5a0ef8=_0x2a4ba5,_0xe8e229=_0x3888e6=>{const _0x49744f=_0x20af;this[_0x49744f(0x1ac)](_0x49744f(0x289),_0x49744f(0x11b)+_0x3888e6['reason']);};window[_0x5a0ef8(0x24b)](_0x5a0ef8(0xf3),_0xe8e229),this[_0x5a0ef8(0x1d4)](()=>{const _0x9f65f7=_0x5a0ef8;window[_0x9f65f7(0x231)](_0x9f65f7(0xf3),_0xe8e229);});}['_monkeyPatchLogService'](){const _0x423991=_0x2a4ba5,_0xdfbbb3=this['_logService'][_0x423991(0x289)][_0x423991(0x15d)](this[_0x423991(0x34a)]);this[_0x423991(0x34a)]['error']=(..._0x821964)=>{const _0x32a008=_0x423991,_0x43cd6f=_0x821964['map'](_0x2c7347=>_0x2c7347 instanceof Error?_0x2c7347[_0x32a008(0x201)]+'\x0a'+_0x2c7347[_0x32a008(0x283)]:String(_0x2c7347))[_0x32a008(0x111)]('\x20');this['_uploadLog'](_0x32a008(0x289),_0x32a008(0x1ed)+_0x43cd6f),_0xdfbbb3(..._0x821964);},this[_0x423991(0x1d4)](()=>{const _0x5f83d3=_0x423991;this[_0x5f83d3(0x34a)][_0x5f83d3(0x289)]=_0xdfbbb3;});}[_0x2a4ba5(0x1ac)](_0x4f15ea,_0x59a992){const _0x47386e=_0x2a4ba5;try{const _0x504337={'userId':this[_0x47386e(0xc1)],'logLabel':_0x4f15ea,'content':_0x59a992};this[_0x47386e(0x29a)][_0x47386e(0xbb)](_0x47386e(0x159),{'body':_0x504337})[_0x47386e(0x35f)](()=>{});}catch{}}};_0x5625b4=_0x3fc7a7([_0x207521(0x0,_0x717d91['Inject'](_0x717d91[_0x2a4ba5(0x32d)])),_0x207521(0x1,_0x717d91[_0x2a4ba5(0x37b)](_0x429433[_0x2a4ba5(0x186)])),_0x207521(0x2,_0x717d91[_0x2a4ba5(0x299)]),_0x207521(0x3,_0x717d91[_0x2a4ba5(0x37b)](_0x26bc40[_0x2a4ba5(0x2a1)]))],_0x5625b4);const _0x5b3c14=_0x2a4ba5(0x39d),_0x38a58d={};var _0x40633f=Object[_0x2a4ba5(0x147)],_0x207361=(_0x4e77d7,_0x8e28e3,_0x2c65c6,_0x177900)=>{const _0x122fae=_0x2a4ba5;for(var _0x4d4457=_0x177900>0x1?void 0x0:_0x177900?_0x40633f(_0x8e28e3,_0x2c65c6):_0x8e28e3,_0x127c5d=_0x4e77d7[_0x122fae(0x123)]-0x1,_0x24e11f;_0x127c5d>=0x0;_0x127c5d--)(_0x24e11f=_0x4e77d7[_0x127c5d])&&(_0x4d4457=_0x24e11f(_0x4d4457)||_0x4d4457);return _0x4d4457;},_0x92353e=(_0x40cea9,_0x27adbb)=>(_0x1671c6,_0x2fa476)=>_0x27adbb(_0x1671c6,_0x2fa476,_0x40cea9);let _0x2ce0f2=class{constructor(_0x35a6c3,_0x30cbfe){const _0x36ce59=_0x2a4ba5;this[_0x36ce59(0x242)]=_0x35a6c3,this[_0x36ce59(0x17e)]=_0x30cbfe;}[_0x2a4ba5(0x359)](_0x5ec6ad){const _0x413cf8=_0x2a4ba5;this['_transformUndoRedoStack'](_0x5ec6ad),this[_0x413cf8(0x15f)](_0x5ec6ad);}[_0x2a4ba5(0x203)](_0x12adad){const _0x1ead66=_0x2a4ba5,{unitID:_0x1a44e6}=_0x12adad,_0x2017b5=this[_0x1ead66(0x17e)][_0x1ead66(0x363)](_0x1a44e6)['with'](_0x42f0df['DocIMEInputManagerService']),{redoCache:_0x2b5193}=_0x2017b5[_0x1ead66(0x21c)]();if(_0x2b5193[_0x1ead66(0x123)]===0x0)return _0x12adad;let _0x44972a=_0x717d91[_0x1ead66(0x234)][_0x1ead66(0x23e)](_0x12adad[_0x1ead66(0x16d)][0x0]);for(let _0x47e316=0x0;_0x47e316<_0x2b5193[_0x1ead66(0x123)];_0x47e316++){const _0x5ec810={'id':'doc.mutation.rich-text-editing','params':{..._0x2b5193[_0x47e316]}},_0x25aaa8=this[_0x1ead66(0x242)][_0x1ead66(0x229)](_0x44972a,_0x5ec810,!0x1);if(_0xdf7641[_0x1ead66(0x39c)](_0x25aaa8))throw _0x25aaa8[_0x1ead66(0x289)];_0x44972a=_0x25aaa8[_0x1ead66(0x3a2)];}return{..._0x717d91[_0x1ead66(0x234)]['deepClone'](_0x12adad),'mutations':[_0x44972a]};}['_transformUndoRedoStack'](_0x106717){const _0x5c4374=_0x2a4ba5,{unitID:_0xf44954}=_0x106717,_0x559b98=this[_0x5c4374(0x17e)][_0x5c4374(0x363)](_0xf44954)[_0x5c4374(0x172)](_0x42f0df[_0x5c4374(0x228)]),{undoCache:_0x39ac85,redoCache:_0x23e034}=_0x559b98[_0x5c4374(0x21c)]();if(_0x39ac85[_0x5c4374(0x123)]===0x0||_0x23e034[_0x5c4374(0x123)]===0x0)return;const _0x599fcf=[],_0x298614=[];let _0x5a40d1=_0x717d91['Tools']['deepClone'](_0x106717[_0x5c4374(0x16d)][0x0]),_0x2a9550=_0x717d91['Tools']['deepClone'](_0x106717[_0x5c4374(0x16d)][0x0]);for(let _0x21d812=_0x39ac85['length']-0x1;_0x21d812>=0x0;_0x21d812--){const _0x2113b6={'id':_0x5c4374(0x269),'params':{..._0x39ac85[_0x21d812]}},_0x21eb52={'id':_0x5c4374(0x269),'params':{..._0x23e034[_0x21d812]}},_0x2a72b1=this[_0x5c4374(0x242)][_0x5c4374(0x229)](_0x5a40d1,_0x2113b6,!0x1),_0x552698=this['_transformService'][_0x5c4374(0x229)](_0x2a9550,_0x21eb52,!0x1);if(_0xdf7641[_0x5c4374(0x39c)](_0x2a72b1))throw _0x2a72b1[_0x5c4374(0x289)];if(_0xdf7641['isTransformMutationFailure'](_0x552698))throw _0x552698[_0x5c4374(0x289)];_0x599fcf['unshift'](_0x2a72b1[_0x5c4374(0x388)]['params']),_0x298614[_0x5c4374(0x110)](_0x552698['m2Prime']['params']),_0x5a40d1=_0x2a72b1[_0x5c4374(0x3a2)],_0x2a9550=_0x552698['m1Prime'];}_0x559b98[_0x5c4374(0x2f1)]({'undoCache':_0x599fcf,'redoCache':_0x298614});}[_0x2a4ba5(0x15f)](_0x431152){const _0x205a1f=_0x2a4ba5,{unitID:_0x1e1f50}=_0x431152,_0x48986=this[_0x205a1f(0x17e)][_0x205a1f(0x363)](_0x1e1f50)[_0x205a1f(0x172)](_0x42f0df[_0x205a1f(0x228)]),_0x537a5f=_0x48986[_0x205a1f(0x118)]();if(_0x537a5f==null)return;const _0x5e36a8=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x431152[_0x205a1f(0x1e6)],'actions':null,'textRanges':[_0x537a5f]}}],_0xe5fa91=this[_0x205a1f(0x242)][_0x205a1f(0x304)](_0x431152,_0x5e36a8);if(!_0xdf7641[_0x205a1f(0x13f)](_0xe5fa91))throw _0xe5fa91[_0x205a1f(0x289)];const _0x1c5bc0=_0xe5fa91['m2Prime'][0x0][_0x205a1f(0x2af)][_0x205a1f(0x240)];Array[_0x205a1f(0x217)](_0x1c5bc0)&&_0x1c5bc0['length']&&_0x48986[_0x205a1f(0xcb)](_0x1c5bc0[0x0]);}};_0x2ce0f2=_0x207361([_0x92353e(0x0,_0xdf7641[_0x2a4ba5(0x34f)]),_0x92353e(0x1,_0x4a1571[_0x2a4ba5(0x1e3)])],_0x2ce0f2);var _0x3a3c4f=Object[_0x2a4ba5(0x147)],_0x199cad=(_0x48453b,_0x495de7,_0x500b5c,_0x46549d)=>{const _0x5a2e82=_0x2a4ba5;for(var _0x47ee7e=_0x46549d>0x1?void 0x0:_0x46549d?_0x3a3c4f(_0x495de7,_0x500b5c):_0x495de7,_0x62e6b3=_0x48453b[_0x5a2e82(0x123)]-0x1,_0x1efbef;_0x62e6b3>=0x0;_0x62e6b3--)(_0x1efbef=_0x48453b[_0x62e6b3])&&(_0x47ee7e=_0x1efbef(_0x47ee7e)||_0x47ee7e);return _0x47ee7e;},_0x97530c=(_0x443283,_0x446cbd)=>(_0x30930b,_0x3cfd47)=>_0x446cbd(_0x30930b,_0x3cfd47,_0x443283);let _0xd02882=class{constructor(_0x730125,_0x5845bb,_0x309095){const _0x47fcbe=_0x2a4ba5;this['_injector']=_0x730125,this[_0x47fcbe(0x242)]=_0x5845bb,this['_docStateChangeManagerService']=_0x309095;}[_0x2a4ba5(0x122)](_0x242af8){const _0xdf72d8=_0x2a4ba5;this[_0xdf72d8(0x263)](_0x242af8);}[_0x2a4ba5(0x203)](_0x282e59){const _0x2b1ff5=_0x2a4ba5,{unitID:_0x37abcb}=_0x282e59,{collaboration:_0x6f662b}=this[_0x2b1ff5(0x35c)][_0x2b1ff5(0x2a9)](_0x37abcb);if(_0x6f662b[_0x2b1ff5(0x123)]===0x0)return _0x282e59;let _0x52b089=_0x717d91[_0x2b1ff5(0x234)][_0x2b1ff5(0x23e)](_0x282e59[_0x2b1ff5(0x16d)][0x0]);for(let _0x4fc1be=0x0;_0x4fc1be<_0x6f662b[_0x2b1ff5(0x123)];_0x4fc1be++){const _0x383af0={'id':_0x2b1ff5(0x269),'params':{'unitId':_0x6f662b[_0x4fc1be][_0x2b1ff5(0x1df)],..._0x6f662b[_0x4fc1be][_0x2b1ff5(0x35b)]}},_0x1e54ba=this[_0x2b1ff5(0x242)][_0x2b1ff5(0x229)](_0x52b089,_0x383af0,!0x1);if(_0xdf7641[_0x2b1ff5(0x39c)](_0x1e54ba))throw _0x1e54ba['error'];_0x52b089=_0x1e54ba[_0x2b1ff5(0x3a2)];}return{..._0x717d91[_0x2b1ff5(0x234)][_0x2b1ff5(0x23e)](_0x282e59),'mutations':[_0x52b089]};}[_0x2a4ba5(0x263)](_0x2201e0){const _0x511c6e=_0x2a4ba5,{unitID:_0x534de6}=_0x2201e0,{history:_0xb08b21,collaboration:_0x58f26c}=this[_0x511c6e(0x35c)][_0x511c6e(0x2a9)](_0x534de6);if(_0xb08b21[_0x511c6e(0x123)]===0x0&&_0x58f26c[_0x511c6e(0x123)]===0x0)return;const _0x3f1486=[],_0x4c297c=[];let _0x1dd98c=_0x717d91[_0x511c6e(0x234)][_0x511c6e(0x23e)](_0x2201e0[_0x511c6e(0x16d)][0x0]),_0xc5c83d=_0x717d91[_0x511c6e(0x234)]['deepClone'](_0x2201e0[_0x511c6e(0x16d)][0x0]);for(let _0x11d7df=_0xb08b21[_0x511c6e(0x123)]-0x1;_0x11d7df>=0x0;_0x11d7df--){const _0x5c6d5b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xb08b21[_0x11d7df][_0x511c6e(0x1df)],..._0xb08b21[_0x11d7df][_0x511c6e(0x14b)]}},_0x5b5717={'id':_0x511c6e(0x269),'params':{'unitId':_0xb08b21[_0x11d7df][_0x511c6e(0x1df)],..._0xb08b21[_0x11d7df][_0x511c6e(0x35b)]}},_0x3753fc=this[_0x511c6e(0x242)]['transformMutation'](_0x1dd98c,_0x5c6d5b,!0x1),_0x798874=this['_transformService'][_0x511c6e(0x229)](_0xc5c83d,_0x5b5717,!0x1);if(_0xdf7641[_0x511c6e(0x39c)](_0x3753fc))throw _0x3753fc[_0x511c6e(0x289)];if(_0xdf7641[_0x511c6e(0x39c)](_0x798874))throw _0x798874['error'];_0x3f1486[_0x511c6e(0x110)]({..._0xb08b21[_0x11d7df],'undoState':_0x3753fc[_0x511c6e(0x388)][_0x511c6e(0x2af)],'redoState':_0x798874['m2Prime'][_0x511c6e(0x2af)]}),_0x1dd98c=_0x3753fc['m1Prime'],_0xc5c83d=_0x798874[_0x511c6e(0x3a2)];}_0x1dd98c=_0x717d91[_0x511c6e(0x234)]['deepClone'](_0x2201e0['mutations'][0x0]),_0xc5c83d=_0x717d91[_0x511c6e(0x234)][_0x511c6e(0x23e)](_0x2201e0[_0x511c6e(0x16d)][0x0]);for(let _0x312d0f=_0x58f26c['length']-0x1;_0x312d0f>=0x0;_0x312d0f--){const _0x7fc697={'id':_0x511c6e(0x269),'params':{'unitId':_0x58f26c[_0x312d0f][_0x511c6e(0x1df)],..._0x58f26c[_0x312d0f][_0x511c6e(0x14b)]}},_0xd40e51={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x58f26c[_0x312d0f]['unitId'],..._0x58f26c[_0x312d0f][_0x511c6e(0x35b)]}},_0x536091=this[_0x511c6e(0x242)][_0x511c6e(0x229)](_0x1dd98c,_0x7fc697,!0x1),_0x33ef2c=this[_0x511c6e(0x242)]['transformMutation'](_0xc5c83d,_0xd40e51,!0x1);if(_0xdf7641['isTransformMutationFailure'](_0x536091))throw _0x536091[_0x511c6e(0x289)];if(_0xdf7641['isTransformMutationFailure'](_0x33ef2c))throw _0x33ef2c[_0x511c6e(0x289)];_0x4c297c[_0x511c6e(0x110)]({..._0x58f26c[_0x312d0f],'undoState':_0x536091[_0x511c6e(0x388)][_0x511c6e(0x2af)],'redoState':_0x33ef2c['m2Prime']['params']}),_0x1dd98c=_0x536091[_0x511c6e(0x3a2)],_0xc5c83d=_0x33ef2c[_0x511c6e(0x3a2)];}this[_0x511c6e(0x35c)][_0x511c6e(0x32b)](_0x534de6,{'history':_0x3f1486,'collaboration':_0x4c297c});}};_0xd02882=_0x199cad([_0x97530c(0x0,_0x717d91[_0x2a4ba5(0x37b)](_0x717d91[_0x2a4ba5(0x32d)])),_0x97530c(0x1,_0xdf7641[_0x2a4ba5(0x34f)]),_0x97530c(0x2,_0x717d91['Inject'](_0x42f0df[_0x2a4ba5(0x24a)]))],_0xd02882);var _0x582167=Object[_0x2a4ba5(0x147)],_0x59a0bb=(_0x48e877,_0x1d40b0,_0x5161b6,_0x63af2)=>{for(var _0x5b96aa=_0x63af2>0x1?void 0x0:_0x63af2?_0x582167(_0x1d40b0,_0x5161b6):_0x1d40b0,_0x4c26af=_0x48e877['length']-0x1,_0x53cb39;_0x4c26af>=0x0;_0x4c26af--)(_0x53cb39=_0x48e877[_0x4c26af])&&(_0x5b96aa=_0x53cb39(_0x5b96aa)||_0x5b96aa);return _0x5b96aa;},_0x9a800d=(_0x2d5757,_0x29b367)=>(_0x4ca696,_0x4162f8)=>_0x29b367(_0x4ca696,_0x4162f8,_0x2d5757);let _0x32cc87=class{constructor(_0x19d268,_0x118260){const _0x314b5d=_0x2a4ba5;this[_0x314b5d(0x265)]=_0x19d268,this['_transformService']=_0x118260;}[_0x2a4ba5(0x155)](_0x428dfc){const _0x19e72a=_0x2a4ba5;var _0x21490c;const _0x5ce961=this['_injector']['get'](_0x59e61e[_0x19e72a(0x1fc)]),_0x24f4bc=(_0x21490c=_0x5ce961[_0x19e72a(0x1c2)]())!=null?_0x21490c:[];if(_0x24f4bc[_0x19e72a(0x123)]===0x0)return;const _0x3d5c74=_0x428dfc[_0x19e72a(0x1e6)],_0x575dc4=[{'id':_0x19e72a(0x269),'params':{'unitId':_0x3d5c74,'actions':null,'textRanges':_0x24f4bc}}],_0x4b3aa2=this['_transformService'][_0x19e72a(0x304)](_0x428dfc,_0x575dc4);if(!_0xdf7641[_0x19e72a(0x13f)](_0x4b3aa2))throw _0x4b3aa2[_0x19e72a(0x289)];const _0x2d8328=_0x4b3aa2['m2Prime'][0x0][_0x19e72a(0x2af)][_0x19e72a(0x240)];Array[_0x19e72a(0x217)](_0x2d8328)&&_0x2d8328[_0x19e72a(0x123)]&&_0x5ce961[_0x19e72a(0x18e)](_0x2d8328,{'unitId':_0x3d5c74,'subUnitId':_0x3d5c74},!0x1);}};_0x32cc87=_0x59a0bb([_0x9a800d(0x0,_0x717d91[_0x2a4ba5(0x37b)](_0x717d91[_0x2a4ba5(0x32d)])),_0x9a800d(0x1,_0xdf7641[_0x2a4ba5(0x34f)])],_0x32cc87);var _0x5616b1=Object[_0x2a4ba5(0x147)],_0x4092b2=(_0x1728eb,_0x3ec6f8,_0x553c9a,_0xdafe7)=>{for(var _0xb47ce=_0xdafe7>0x1?void 0x0:_0xdafe7?_0x5616b1(_0x3ec6f8,_0x553c9a):_0x3ec6f8,_0x258638=_0x1728eb['length']-0x1,_0x3f1507;_0x258638>=0x0;_0x258638--)(_0x3f1507=_0x1728eb[_0x258638])&&(_0xb47ce=_0x3f1507(_0xb47ce)||_0xb47ce);return _0xb47ce;},_0x17491c=(_0x3cc27d,_0x391f1d)=>(_0x5f463e,_0xfe7d94)=>_0x391f1d(_0x5f463e,_0xfe7d94,_0x3cc27d);let _0x2f987a=class extends _0x717d91[_0x2a4ba5(0x393)]{constructor(_0x420e8b,_0xa59597,_0x481595,_0xb2fe0d,_0x48273e,_0x4cc2ca,_0x34e8af,_0x4df721){const _0xec551=_0x2a4ba5;super(),_0x271c55(this,_0xec551(0x266),new _0x170cda[(_0xec551(0x2a4))](_0x26bc40[_0xec551(0x34d)][_0xec551(0x1a2)])),(this[_0xec551(0x35c)]=_0x420e8b,this[_0xec551(0x151)]=_0xa59597,this['_docTransformIMECacheService']=_0x481595,this[_0xec551(0x1ae)]=_0xb2fe0d,this[_0xec551(0x1a7)]=_0x48273e,this['_docSyncEditingCollabCursorService']=_0x4cc2ca,this[_0xec551(0x114)]=_0x34e8af,this[_0xec551(0x26b)]=_0x4df721,this['_initEntityListener']());}[_0x2a4ba5(0x31e)](){const _0x494356=_0x2a4ba5;this['disposeWithMe'](this[_0x494356(0x151)][_0x494356(0x2dc)]['subscribe'](_0x6c8a7=>{const _0x1ae479=_0x494356,_0x3e7a8b=this[_0x1ae479(0x35c)][_0x1ae479(0x10a)][_0x1ae479(0xbf)](_0x2bf79f=>{const _0xc114f6=_0x1ae479;if(_0x2bf79f==null)return;const {unitId:_0x3d8755,redoState:_0x3a0ad1,commandId:_0x35a7ee}=_0x2bf79f;if(_0x3d8755!==_0x6c8a7[_0xc114f6(0x1e6)])return;const _0x17884b={'id':_0x35a7ee,'type':_0x717d91[_0xc114f6(0x322)]['MUTATION'],'params':{'unitId':_0x3d8755,'actions':_0x3a0ad1[_0xc114f6(0x1ec)],'textRanges':null}};_0x6c8a7[_0xc114f6(0x183)](_0x17884b);});if(_0x6c8a7['disposeWithMe'](_0x3e7a8b),_0x6c8a7 instanceof _0x26bc40[_0x1ae479(0x164)]){const _0x56a878={'onTransformIME':_0x44c598=>this['_docTransformIMECacheService'][_0x1ae479(0x359)](_0x44c598),'onTransformState':_0x203169=>this[_0x1ae479(0x1ae)]['transformStateCache'](_0x203169),'onTransformSelections':_0x6f9f48=>this[_0x1ae479(0x1a7)][_0x1ae479(0x155)](_0x6f9f48),'onSyncEditingCollabCursor':_0x4c760f=>this[_0x1ae479(0x162)][_0x1ae479(0x284)](_0x4c760f),'onTransformRemoteChangesetByIMECache':_0x6838ba=>this[_0x1ae479(0x22f)][_0x1ae479(0x203)](_0x6838ba),'onTransformRemoteChangesetByStateCache':_0x51e808=>this[_0x1ae479(0x1ae)][_0x1ae479(0x203)](_0x51e808)};_0x6c8a7[_0x1ae479(0xd6)](_0x56a878);}}));}};_0x2f987a=_0x4092b2([_0x17491c(0x0,_0x717d91[_0x2a4ba5(0x37b)](_0x42f0df[_0x2a4ba5(0x24a)])),_0x17491c(0x1,_0x717d91[_0x2a4ba5(0x37b)](_0x26bc40[_0x2a4ba5(0x36b)])),_0x17491c(0x2,_0x717d91['Inject'](_0x2ce0f2)),_0x17491c(0x3,_0x717d91['Inject'](_0xd02882)),_0x17491c(0x4,_0x717d91[_0x2a4ba5(0x37b)](_0x32cc87)),_0x17491c(0x5,_0x717d91['Inject'](_0x531ef2)),_0x17491c(0x6,_0x498b33[_0x2a4ba5(0x119)]),_0x17491c(0x7,_0x717d91[_0x2a4ba5(0x37b)](_0x717d91[_0x2a4ba5(0xef)]))],_0x2f987a);var _0xdbd9a9=(_0x539583=>(_0x539583[_0x539583[_0x2a4ba5(0x149)]=0x0]=_0x2a4ba5(0x149),_0x539583[_0x539583['OK']=0x1]='OK',_0x539583[_0x539583[_0x2a4ba5(0x1fb)]=0x2]=_0x2a4ba5(0x1fb),_0x539583[_0x539583[_0x2a4ba5(0x14d)]=0x3]=_0x2a4ba5(0x14d),_0x539583[_0x539583[_0x2a4ba5(0xd3)]=0x4]=_0x2a4ba5(0xd3),_0x539583[_0x539583['UNAUTHENTICATED']=0x5]=_0x2a4ba5(0x15b),_0x539583[_0x539583['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x539583[_0x539583[_0x2a4ba5(0x146)]=0x7]='INVALID_ARGUMENT',_0x539583[_0x539583[_0x2a4ba5(0xe5)]=0x8]=_0x2a4ba5(0xe5),_0x539583[_0x539583['COMPLETION_FINISHED']=0x9]=_0x2a4ba5(0x12f),_0x539583[_0x539583[_0x2a4ba5(0x12e)]=0xa]=_0x2a4ba5(0x12e),_0x539583[_0x539583[_0x2a4ba5(0x160)]=0xb]=_0x2a4ba5(0x160),_0x539583[_0x539583[_0x2a4ba5(0x158)]=0xc]=_0x2a4ba5(0x158),_0x539583[_0x539583[_0x2a4ba5(0x1c4)]=0xd]=_0x2a4ba5(0x1c4),_0x539583[_0x539583[_0x2a4ba5(0x2ab)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x539583[_0x539583['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x539583[_0x539583[_0x2a4ba5(0x2ad)]=0x10]=_0x2a4ba5(0x2ad),_0x539583[_0x539583[_0x2a4ba5(0x1a5)]=0x64]=_0x2a4ba5(0x1a5),_0x539583[_0x539583[_0x2a4ba5(0x1ba)]=0x65]=_0x2a4ba5(0x1ba),_0x539583[_0x539583['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x539583[_0x539583[_0x2a4ba5(0x173)]=0xca]=_0x2a4ba5(0x173),_0x539583[_0x539583['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x539583[_0x539583[_0x2a4ba5(0x30c)]=0x1771]=_0x2a4ba5(0x30c),_0x539583[_0x539583[_0x2a4ba5(0x194)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x539583[_0x539583['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x2a4ba5(0x2ff),_0x539583[_0x539583[_0x2a4ba5(0x279)]=0x1b59]=_0x2a4ba5(0x279),_0x539583[_0x539583[_0x2a4ba5(0x167)]=0x1b5a]=_0x2a4ba5(0x167),_0x539583[_0x539583[_0x2a4ba5(0x29f)]=0x1b5b]=_0x2a4ba5(0x29f),_0x539583[_0x539583[_0x2a4ba5(0x352)]=0x1b5c]=_0x2a4ba5(0x352),_0x539583[_0x539583[_0x2a4ba5(0x34c)]=0x1b5d]=_0x2a4ba5(0x34c),_0x539583[_0x539583[_0x2a4ba5(0x331)]=0x1f41]=_0x2a4ba5(0x331),_0x539583[_0x539583[_0x2a4ba5(0x2f2)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x539583[_0x539583[_0x2a4ba5(0x113)]=0x232a]=_0x2a4ba5(0x113),_0x539583[_0x539583['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2a4ba5(0x3a4),_0x539583[_0x539583['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x539583[_0x539583['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2a4ba5(0x389),_0x539583[_0x539583[_0x2a4ba5(0x11a)]=0x2711]=_0x2a4ba5(0x11a),_0x539583[_0x539583[_0x2a4ba5(0x2ca)]=0x2712]=_0x2a4ba5(0x2ca),_0x539583[_0x539583['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x2a4ba5(0xdb),_0x539583[_0x539583['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x2a4ba5(0x24f),_0x539583[_0x539583[_0x2a4ba5(0x17f)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x539583[_0x539583['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x2a4ba5(0xba),_0x539583[_0x539583[_0x2a4ba5(0x152)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x539583[_0x539583[_0x2a4ba5(0x241)]=0x271d]=_0x2a4ba5(0x241),_0x539583[_0x539583[_0x2a4ba5(0x2f5)]=0x271e]=_0x2a4ba5(0x2f5),_0x539583[_0x539583['YUUMI_AI_RUN_FAILED']=0x271f]=_0x2a4ba5(0x2cf),_0x539583[_0x539583[_0x2a4ba5(0xd4)]=0x2720]=_0x2a4ba5(0xd4),_0x539583[_0x539583[_0x2a4ba5(0x12c)]=0x2af9]=_0x2a4ba5(0x12c),_0x539583[_0x539583['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x2a4ba5(0x349),_0x539583[_0x539583[_0x2a4ba5(0x182)]=0x2ee2]=_0x2a4ba5(0x182),_0x539583[_0x539583['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x539583[_0x539583[_0x2a4ba5(0xbc)]=0x2ee4]=_0x2a4ba5(0xbc),_0x539583[_0x539583[_0x2a4ba5(0x33e)]=0x2ee5]=_0x2a4ba5(0x33e),_0x539583[_0x539583[_0x2a4ba5(0xf4)]=0x32c9]=_0x2a4ba5(0xf4),_0x539583[_0x539583['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x2a4ba5(0x171),_0x539583[_0x539583[_0x2a4ba5(0x371)]=0x32cb]=_0x2a4ba5(0x371),_0x539583[_0x539583[_0x2a4ba5(0x281)]=0x36b1]=_0x2a4ba5(0x281),_0x539583[_0x539583['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x2a4ba5(0xd1),_0x539583[_0x539583[_0x2a4ba5(0x188)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x539583[_0x539583[_0x2a4ba5(0x23c)]=0x36b4]=_0x2a4ba5(0x23c),_0x539583[_0x539583['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x2a4ba5(0x261),_0x539583[_0x539583[_0x2a4ba5(0x390)]=0x36b6]=_0x2a4ba5(0x390),_0x539583[_0x539583[_0x2a4ba5(0x2c0)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x539583[_0x539583[_0x2a4ba5(0x27f)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x539583[_0x539583[_0x2a4ba5(0x274)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x539583[_0x539583[_0x2a4ba5(0x35d)]=0x3716]=_0x2a4ba5(0x35d),_0x539583[_0x539583[_0x2a4ba5(0x211)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x539583[_0x539583[_0x2a4ba5(0x1b2)]=0x37dd]=_0x2a4ba5(0x1b2),_0x539583[_0x539583['REDEMPTION_INVALID_CODE']=0x3a99]=_0x2a4ba5(0x181),_0x539583[_0x539583[_0x2a4ba5(0x102)]=0x3a9a]=_0x2a4ba5(0x102),_0x539583[_0x539583[_0x2a4ba5(0x2d7)]=0x3a9b]=_0x2a4ba5(0x2d7),_0x539583[_0x539583[_0x2a4ba5(0x1d7)]=0x3a9c]=_0x2a4ba5(0x1d7),_0x539583[_0x539583[_0x2a4ba5(0xab)]=0x3a9d]=_0x2a4ba5(0xab),_0x539583[_0x539583[_0x2a4ba5(0x298)]=0x3a9e]=_0x2a4ba5(0x298),_0x539583[_0x539583[_0x2a4ba5(0x27a)]=0x3a9f]=_0x2a4ba5(0x27a),_0x539583[_0x539583['DATA_SOURCE_TOO_LARGE']=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x539583[_0x539583[_0x2a4ba5(0x39a)]=-0x1]=_0x2a4ba5(0x39a),_0x539583))(_0xdbd9a9||{});function _0x230673(_0x459e95){const _0x4c01ef=_0x2a4ba5;var _0x113078,_0xfc6454;const _0x473bfa=(_0x113078=_0x459e95['stageInfo'])==null?void 0x0:_0x113078['stage'],_0x1c5634=((_0xfc6454=_0x459e95['stageInfo'])==null?void 0x0:_0xfc6454[_0x4c01ef(0x2fd)])||0x0;return _0x473bfa===_0x41dddf[_0x4c01ef(0x353)]['START_CALCULATION']&&_0x1c5634>0x0;}function _0xf5574c(_0x58ee18){const _0x494f92=_0x2a4ba5;return _0x58ee18[_0x494f92(0x150)]===_0x41dddf[_0x494f92(0x311)][_0x494f92(0x25f)];}var _0x3a59e8=Object[_0x2a4ba5(0x147)],_0x4003ce=(_0x488e49,_0x5d5302,_0x5c402a,_0x589bfd)=>{const _0x3edf8e=_0x2a4ba5;for(var _0x55a684=_0x589bfd>0x1?void 0x0:_0x589bfd?_0x3a59e8(_0x5d5302,_0x5c402a):_0x5d5302,_0xaae03c=_0x488e49[_0x3edf8e(0x123)]-0x1,_0x5d1b12;_0xaae03c>=0x0;_0xaae03c--)(_0x5d1b12=_0x488e49[_0xaae03c])&&(_0x55a684=_0x5d1b12(_0x55a684)||_0x55a684);return _0x55a684;},_0x15e783=(_0x44b9b7,_0xea7499)=>(_0x317775,_0x1b90a9)=>_0xea7499(_0x317775,_0x1b90a9,_0x44b9b7);const _0xa61727=_0x2a4ba5(0xe3),_0x44be6a=_0x2a4ba5(0x1ef),_0x496969=_0x2a4ba5(0x2a2);let _0x3ab3a2=class extends _0x717d91[_0x2a4ba5(0x393)]{constructor(_0x1f76c6,_0x336e80,_0x44a0d2,_0x107546,_0xbfd9bc,_0x2e04fd,_0x280385){const _0x11eff2=_0x2a4ba5;super(),_0x271c55(this,_0x11eff2(0x18f),null),_0x271c55(this,_0x11eff2(0x2d3),0x0),_0x271c55(this,_0x11eff2(0xd7),0x0),_0x271c55(this,_0x11eff2(0x24c),[]),_0x271c55(this,'_lastResponseTimestamp',0x0),(this[_0x11eff2(0x114)]=_0x1f76c6,this[_0x11eff2(0x15e)]=_0x336e80,this['_configService']=_0x44a0d2,this[_0x11eff2(0x29a)]=_0x107546,this[_0x11eff2(0x15c)]=_0xbfd9bc,this['_logService']=_0x2e04fd,this[_0x11eff2(0x26b)]=_0x280385,this[_0x11eff2(0x275)]());}[_0x2a4ba5(0x275)](){const _0x5c2328=_0x2a4ba5;this[_0x5c2328(0x1d4)](this[_0x5c2328(0x15e)][_0x5c2328(0x325)]((_0x196dba,_0x2bf57b)=>{const _0x34b6ee=_0x5c2328;var _0x549552;if(_0x196dba['id']!==_0x41dddf[_0x34b6ee(0x1d5)]['id'])return;const _0x44e768=_0x196dba[_0x34b6ee(0x2af)];if(!this[_0x34b6ee(0x328)]((_0x549552=_0x44e768[_0x34b6ee(0x375)])!=null?_0x549552:[]))return;if(!this[_0x34b6ee(0x1c3)]())throw this[_0x34b6ee(0x2b7)](_0x196dba,_0x2bf57b),this['_showGuardMessage'](),new _0x717d91[(_0x34b6ee(0x398))]();})),this[_0x5c2328(0x1d4)](this[_0x5c2328(0x15e)][_0x5c2328(0x23a)]((_0xfb2741,_0x319857)=>{const _0x27f861=_0x5c2328;if(_0xfb2741['id']!==_0x41dddf[_0x27f861(0x321)]['id'])return;const _0x584854=_0xfb2741[_0x27f861(0x2af)];if(_0x230673(_0x584854)){const _0x6a9db2=_0x717d91['generateRandomId']();this[_0x27f861(0x24c)][_0x27f861(0x2db)](_0x6a9db2),this[_0x27f861(0x104)](_0x6a9db2);}else{if(_0xf5574c(_0x584854)&&this['_taskIds'][_0x27f861(0x123)]>0x0){const _0x31ee8f=this[_0x27f861(0x24c)]['shift']();this['_releaseCalculationLimit'](_0x31ee8f);}}}));}[_0x2a4ba5(0x14a)](){const _0x9226a5=_0x2a4ba5;super[_0x9226a5(0x14a)](),this[_0x9226a5(0x134)](),this['_taskIds']=[],this[_0x9226a5(0xd7)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x9226a5(0x2fb)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x2ec5bd,_0x3ff874){const _0x4f402e=_0x2a4ba5;for(let _0x575d5f=0x0;_0x575d5f<0x1e;_0x575d5f++)try{if(await this[_0x4f402e(0x1be)](),this[_0x4f402e(0x1c3)]()){this['_applyCommand'](_0x2ec5bd,_0x3ff874),this['_messageService']['show']({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x203981[_0x4f402e(0xa7)][_0x4f402e(0x2c2)]});return;}await new Promise(_0x451a17=>{this['_pollingInterval']=window['setTimeout'](_0x451a17,0x3e8);});}catch(_0x4070b9){this['_logService'][_0x4f402e(0x289)](_0x4070b9);}this[_0x4f402e(0x114)][_0x4f402e(0x248)]({'content':this[_0x4f402e(0x26b)]['t'](_0x4f402e(0x109)),'type':_0x203981[_0x4f402e(0xa7)][_0x4f402e(0x135)]});}['_applyCommand'](_0x5cd072,_0x5cd342){const _0x1aaefd=_0x2a4ba5;try{this[_0x1aaefd(0x15e)][_0x1aaefd(0x14c)](_0x5cd072['id'],_0x5cd072[_0x1aaefd(0x2af)],_0x5cd342);}catch(_0x2dcc09){this[_0x1aaefd(0x34a)][_0x1aaefd(0x289)](_0x2dcc09);}}[_0x2a4ba5(0x31b)](_0x53fad1,_0x4b5b02){const _0x15d0ca=_0x2a4ba5;_0x4b5b02<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x4b5b02,this[_0x15d0ca(0x2d3)]=Number[_0x15d0ca(0x29e)](_0x53fad1[_0x15d0ca(0x1ad)]),this[_0x15d0ca(0xd7)]=Number[_0x15d0ca(0x29e)](_0x53fad1[_0x15d0ca(0xb5)]));}async[_0x2a4ba5(0x104)](_0x21879f){const _0xab0aef=_0x2a4ba5;var _0x3d0712,_0x2db186;const _0x2963ec=Date[_0xab0aef(0x17b)]();try{const _0x5519fc=((_0x3d0712=this[_0xab0aef(0x1f0)][_0xab0aef(0x23b)](_0x26bc40['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x3d0712[_0xab0aef(0x129)])||_0x44be6a,_0x3da90f=(await this[_0xab0aef(0x29a)]['post'](_0x5519fc,{'body':JSON[_0xab0aef(0x176)]({'taskId':_0x21879f})}))[_0xab0aef(0x2cd)];if(((_0x2db186=_0x3da90f['error'])==null?void 0x0:_0x2db186[_0xab0aef(0x34e)])!==_0xdbd9a9['OK'])return;this[_0xab0aef(0x31b)](_0x3da90f[_0xab0aef(0xc6)],_0x2963ec);}catch(_0x5f0882){this[_0xab0aef(0x34a)]['error'](_0x5f0882);}}async[_0x2a4ba5(0x1be)](_0x382380){const _0x1671e=_0x2a4ba5;var _0x1fa3c5,_0x312deb;const _0x56da71=Date[_0x1671e(0x17b)]();try{const _0x74c6b4=((_0x1fa3c5=this['_configService'][_0x1671e(0x23b)](_0x26bc40[_0x1671e(0x18d)]))==null?void 0x0:_0x1fa3c5[_0x1671e(0x35a)])||_0xa61727,_0x37d897=_0x382380?_0x74c6b4+_0x1671e(0x29c)+encodeURIComponent(_0x382380):_0x74c6b4,_0x30330a=(await this[_0x1671e(0x29a)]['get'](_0x37d897))['body'];if(((_0x312deb=_0x30330a['error'])==null?void 0x0:_0x312deb[_0x1671e(0x34e)])!==_0xdbd9a9['OK'])return;this[_0x1671e(0x31b)](_0x30330a['limitInfo'],_0x56da71);}catch(_0x386485){this[_0x1671e(0x34a)][_0x1671e(0x289)](_0x386485);}}async[_0x2a4ba5(0x2d9)](_0x22764d){const _0x36723d=_0x2a4ba5;var _0x1135cb,_0x9b9f40;const _0x168399=Date[_0x36723d(0x17b)]();try{const _0x6f9944=((_0x1135cb=this[_0x36723d(0x1f0)][_0x36723d(0x23b)](_0x26bc40['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x1135cb[_0x36723d(0x1b9)])||_0x496969,_0x1015a5=(await this['_httpService'][_0x36723d(0xbb)](_0x6f9944,{'body':JSON[_0x36723d(0x176)]({'taskId':_0x22764d})}))['body'];if(((_0x9b9f40=_0x1015a5[_0x36723d(0x289)])==null?void 0x0:_0x9b9f40[_0x36723d(0x34e)])!==_0xdbd9a9['OK'])return;this[_0x36723d(0x31b)](_0x1015a5['limitInfo'],_0x168399);}catch(_0x6c36a5){this[_0x36723d(0x34a)]['error'](_0x6c36a5);}}[_0x2a4ba5(0x1c3)](){const _0x116fb1=_0x2a4ba5;return this[_0x116fb1(0x2d3)]===0x0?!0x0:this[_0x116fb1(0x2d3)]-this[_0x116fb1(0xd7)]>0x0;}[_0x2a4ba5(0x134)](){const _0x28a310=_0x2a4ba5;this[_0x28a310(0x18f)]&&(clearTimeout(this[_0x28a310(0x18f)]),this[_0x28a310(0x18f)]=null);}['_showGuardMessage'](){const _0x42bb21=_0x2a4ba5;this['_messageService'][_0x42bb21(0x248)]({'content':this['_localeService']['t'](_0x42bb21(0x1e0)),'type':_0x203981['MessageType'][_0x42bb21(0x386)]});}[_0x2a4ba5(0x328)](_0x43d680){const _0x22e5b9=_0x2a4ba5;for(const _0x396598 of _0x43d680){const {unitId:_0x14afe7,sheetId:_0x34888a,range:_0x13ba06}=_0x396598,_0x417539=this[_0x22e5b9(0x15c)]['getUnit'](_0x14afe7);if(!_0x417539)continue;const _0x24e077=_0x417539[_0x22e5b9(0x246)](_0x34888a);if(!_0x24e077)continue;const _0xe6a05b=_0x24e077[_0x22e5b9(0x301)]();for(let _0x376ef0=_0x13ba06[_0x22e5b9(0x27e)];_0x376ef0<=_0x13ba06[_0x22e5b9(0x1af)];_0x376ef0++)for(let _0x8b6668=_0x13ba06['startColumn'];_0x8b6668<=_0x13ba06['endColumn'];_0x8b6668++){const _0x2f9cde=_0xe6a05b[_0x22e5b9(0x21d)](_0x376ef0,_0x8b6668);if(_0x2f9cde&&(_0x717d91['isFormulaString'](_0x2f9cde['f'])||_0x717d91[_0x22e5b9(0x20e)](_0x2f9cde['si'])))return!0x0;}}return!0x1;}};_0x3ab3a2=_0x4003ce([_0x15e783(0x0,_0x717d91[_0x2a4ba5(0x37b)](_0x498b33[_0x2a4ba5(0x119)])),_0x15e783(0x1,_0x717d91[_0x2a4ba5(0x329)]),_0x15e783(0x2,_0x717d91['IConfigService']),_0x15e783(0x3,_0x717d91[_0x2a4ba5(0x37b)](_0x429433[_0x2a4ba5(0x186)])),_0x15e783(0x4,_0x717d91[_0x2a4ba5(0xa9)]),_0x15e783(0x5,_0x717d91[_0x2a4ba5(0x299)]),_0x15e783(0x6,_0x717d91[_0x2a4ba5(0x37b)](_0x717d91['LocaleService']))],_0x3ab3a2);var _0x3f37a7=Object[_0x2a4ba5(0x147)],_0x439585=(_0x742437,_0x10f9c4,_0x1645f7,_0x5f0412)=>{for(var _0x534001=_0x5f0412>0x1?void 0x0:_0x5f0412?_0x3f37a7(_0x10f9c4,_0x1645f7):_0x10f9c4,_0x2c5b20=_0x742437['length']-0x1,_0x317cd9;_0x2c5b20>=0x0;_0x2c5b20--)(_0x317cd9=_0x742437[_0x2c5b20])&&(_0x534001=_0x317cd9(_0x534001)||_0x534001);return _0x534001;},_0x4add5c=(_0x3c5833,_0x3e7dd1)=>(_0xb4b089,_0xff3064)=>_0x3e7dd1(_0xb4b089,_0xff3064,_0x3c5833);let _0x8dc633=class extends _0x717d91[_0x2a4ba5(0x393)]{constructor(_0x2a0ece,_0x385137,_0x1eb3ac){const _0x1e26a2=_0x2a4ba5;super(),_0x271c55(this,_0x1e26a2(0x350),new Map()),_0x271c55(this,'_saveTaskMap',new Map()),_0x271c55(this,_0x1e26a2(0x2d2),!0x1),(this[_0x1e26a2(0x1f0)]=_0x2a0ece,this['_localStorageService']=_0x385137,this['_revisionService']=_0x1eb3ac);}[_0x2a4ba5(0x1d8)](){const _0x64ef4d=_0x2a4ba5;this[_0x64ef4d(0x2d2)]=!0x0;}[_0x2a4ba5(0x3a6)](){const _0x49af74=_0x2a4ba5;this[_0x49af74(0x2d2)]=!0x1;}get['saveTaskMap'](){const _0x14c253=_0x2a4ba5;return this[_0x14c253(0x2fe)];}[_0x2a4ba5(0x14a)](){const _0x1a867a=_0x2a4ba5;this[_0x1a867a(0x1f9)]()[_0x1a867a(0x339)](()=>super[_0x1a867a(0x14a)]());}async[_0x2a4ba5(0x315)](_0x439c8b){const _0x3eb511=_0x2a4ba5;return this[_0x3eb511(0x2d2)]?null:this[_0x3eb511(0x140)]['getItem'](_0x26bc40['getLocalCacheKey'](_0x439c8b));}async['saveOfflineData'](_0x3ce5ce,_0x62f692){const _0x1a17c5=_0x2a4ba5;return!!this[_0x1a17c5(0x140)][_0x1a17c5(0x139)](_0x3ce5ce,_0x62f692);}[_0x2a4ba5(0x2b9)](_0x4e2316,_0x3e6086,_0x41e16d,_0x2fea03){const _0x38c775=_0x2a4ba5,_0x2826cb=this[_0x38c775(0x245)][_0x38c775(0x28a)](_0x4e2316);this['_cachedData'][_0x38c775(0x30e)](_0x4e2316,{'unitID':_0x4e2316,'type':_0x3e6086,'awaitingChangeset':_0x41e16d,'mutations':_0x2fea03,'rev':_0x2826cb}),this[_0x38c775(0x2fe)][_0x38c775(0x250)](_0x4e2316)||this[_0x38c775(0x1b6)](_0x4e2316);}['_scheduleSaving'](_0x306de2){const _0x3805ed=_0x2a4ba5,_0xe20d01=this[_0x3805ed(0x345)]();_0xe20d01===0x0?this['_saveCache'](_0x306de2):this['_saveTaskMap'][_0x3805ed(0x30e)](_0x306de2,setTimeout(()=>this[_0x3805ed(0x2c9)](_0x306de2),_0xe20d01));}['_getSaveTimeout'](){const _0x5db42e=_0x2a4ba5;var _0x1d7b8a;return(_0x1d7b8a=this['_configService']['getConfig'](_0x26bc40[_0x5db42e(0x1f7)]))!=null?_0x1d7b8a:_0x26bc40[_0x5db42e(0x333)];}[_0x2a4ba5(0x2c9)](_0x3c914f){const _0x4f5084=_0x2a4ba5,_0x371c43=this[_0x4f5084(0x2fe)][_0x4f5084(0x2aa)](_0x3c914f);return _0x371c43!==void 0x0&&window[_0x4f5084(0x20b)](_0x371c43),this[_0x4f5084(0x140)][_0x4f5084(0x139)](_0x26bc40[_0x4f5084(0x374)](_0x3c914f),this['_cachedData'][_0x4f5084(0x2aa)](_0x3c914f))[_0x4f5084(0x339)](()=>this['_saveTaskMap'][_0x4f5084(0x2e2)](_0x3c914f));}async[_0x2a4ba5(0x1f9)](){const _0x2e1795=_0x2a4ba5,_0x357e44=[];this[_0x2e1795(0x2fe)][_0x2e1795(0xc4)]((_0x2279f6,_0x27c98c)=>{const _0x2bf1ca=_0x2e1795;window[_0x2bf1ca(0x20b)](_0x2279f6),_0x357e44['push'](this[_0x2bf1ca(0x2c9)](_0x27c98c)[_0x2bf1ca(0x339)](()=>{const _0x1ac817=_0x2bf1ca;this[_0x1ac817(0x2fe)][_0x1ac817(0x2e2)](_0x27c98c);}));}),await Promise[_0x2e1795(0x19c)](_0x357e44);}};_0x8dc633=_0x439585([_0x4add5c(0x0,_0x717d91['IConfigService']),_0x4add5c(0x1,_0x717d91['ILocalStorageService']),_0x4add5c(0x2,_0x717d91['Inject'](_0xdf7641[_0x2a4ba5(0x364)]))],_0x8dc633);class _0x326a84 extends _0x717d91[_0x2a4ba5(0x1f4)]{constructor(){const _0x2646bd=_0x2a4ba5;super(),_0x271c55(this,_0x2646bd(0x36e)),this[_0x2646bd(0x36e)]=_0x170cda[_0x2646bd(0x355)](window,_0x2646bd(0x354))['pipe'](_0x170cda[_0x2646bd(0x2b0)](this[_0x2646bd(0x2c4)]),_0x170cda[_0x2646bd(0x320)](0x1),_0x170cda['mapTo'](void 0x0));}[_0x2a4ba5(0x125)](_0x40e08a,_0x5e5795,_0x112988=!0x1){const _0x27e82f=_0x2a4ba5,_0x800dc7=new URL(window[_0x27e82f(0x1b1)][_0x27e82f(0xa5)]);_0x800dc7[_0x27e82f(0x387)][_0x27e82f(0x30e)](_0x40e08a,_0x5e5795),_0x112988?window['history'][_0x27e82f(0x1f6)]('','',_0x800dc7['toString']()):window[_0x27e82f(0x39e)][_0x27e82f(0xc2)]('','',_0x800dc7['toString']());}[_0x2a4ba5(0x1c0)](_0x398038,_0x2324e8=!0x1){const _0x2b7ebb=_0x2a4ba5,_0x348244=new URL(window[_0x2b7ebb(0x1b1)][_0x2b7ebb(0xa5)]);_0x348244['searchParams'][_0x2b7ebb(0x2e2)](_0x398038),_0x2324e8?window[_0x2b7ebb(0x39e)][_0x2b7ebb(0x1f6)]('','',_0x348244[_0x2b7ebb(0x2ec)]()):window[_0x2b7ebb(0x39e)][_0x2b7ebb(0xc2)]('','',_0x348244[_0x2b7ebb(0x2ec)]());}[_0x2a4ba5(0x157)](_0x87f489){const _0x172834=_0x2a4ba5;var _0x471659;return(_0x471659=new URL(window[_0x172834(0x1b1)][_0x172834(0xa5)])[_0x172834(0x387)][_0x172834(0x2aa)](_0x87f489))!=null?_0x471659:void 0x0;}}var _0xdd2c4d=Object[_0x2a4ba5(0x1cf)],_0x41f14c=Object['getOwnPropertyDescriptor'],_0x71dcdd=(_0x1d3d6f,_0x823981,_0x1e0ade)=>_0x823981 in _0x1d3d6f?_0xdd2c4d(_0x1d3d6f,_0x823981,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e0ade}):_0x1d3d6f[_0x823981]=_0x1e0ade,_0x480f0e=(_0x67aca7,_0x5c0780,_0x2ab59a,_0x8278da)=>{const _0x2b8cce=_0x2a4ba5;for(var _0x59b696=_0x8278da>0x1?void 0x0:_0x8278da?_0x41f14c(_0x5c0780,_0x2ab59a):_0x5c0780,_0x2d77e0=_0x67aca7[_0x2b8cce(0x123)]-0x1,_0x82aed1;_0x2d77e0>=0x0;_0x2d77e0--)(_0x82aed1=_0x67aca7[_0x2d77e0])&&(_0x59b696=_0x82aed1(_0x59b696)||_0x59b696);return _0x59b696;},_0x277ca1=(_0x93294e,_0xff7333)=>(_0x11bbbb,_0x1637ee)=>_0xff7333(_0x11bbbb,_0x1637ee,_0x93294e),_0x4cd5bd=(_0x459771,_0x53fce3,_0x5bf69e)=>_0x71dcdd(_0x459771,_0x53fce3+'',_0x5bf69e);const _0x266299=_0x2a4ba5(0x190);_0x487266['UniverCollaborationClientUIPlugin']=class extends _0x717d91['Plugin']{constructor(_0x1cf872=_0x38a58d,_0x37f074,_0x1e4a80,_0x140199){const _0x104794=_0x2a4ba5;super(),this[_0x104794(0x33d)]=_0x1cf872,this[_0x104794(0x17e)]=_0x37f074,this[_0x104794(0x265)]=_0x1e4a80,this['_configService']=_0x140199;const {..._0x26b913}=_0x717d91[_0x104794(0x132)]({},_0x38a58d,this['_config']);this[_0x104794(0x1f0)][_0x104794(0x1b5)](_0x5b3c14,_0x26b913);}[_0x2a4ba5(0x130)](){const _0x3ad789=_0x2a4ba5;this['_registerDependencies'](),this[_0x3ad789(0x1a8)]();}[_0x2a4ba5(0x187)](){this['_registerRenderDependencies']();}[_0x2a4ba5(0x36f)](){const _0x294e56=_0x2a4ba5;var _0x154368;const _0x2806b0=[[_0x170667],[_0x3ab3a2],[_0x32cc87],[_0x2ce0f2],[_0xd02882],[_0x531ef2],[_0x8c03a2,{'useClass':_0x326a84}],[_0x429433[_0x294e56(0x208)],{'useClass':_0x429433[_0x294e56(0x1c6)]}],[_0x26bc40['ILocalCacheService'],{'useClass':_0x8dc633}],[_0x487266['DesktopCollaborationStatusDisplayController']],[_0x2f987a],[_0x1af25f],[_0xfbad1b],[_0x4fa738],[_0x487266['CollaborationDataLoaderController']]];this[_0x294e56(0x33d)][_0x294e56(0x267)]&&_0x2806b0[_0x294e56(0x2db)]([_0x5625b4]),_0x717d91[_0x294e56(0x396)](this[_0x294e56(0x265)],_0x717d91['mergeOverrideWithDependencies'](_0x2806b0,(_0x154368=this[_0x294e56(0x33d)])==null?void 0x0:_0x154368[_0x294e56(0x372)]));}[_0x2a4ba5(0x2e6)](){const _0x5c9585=_0x2a4ba5;this[_0x5c9585(0x1d4)](this['_renderManagerService']['registerRenderModule'](_0x717d91[_0x5c9585(0x2bf)][_0x5c9585(0x2fc)],[_0x564a2a])),this[_0x5c9585(0x1d4)](this[_0x5c9585(0x17e)][_0x5c9585(0x285)](_0x717d91[_0x5c9585(0x2bf)][_0x5c9585(0x137)],[_0x35d8f7]));}[_0x2a4ba5(0x1a8)](){const _0x51d838=_0x2a4ba5;_0x717d91['touchDependencies'](this[_0x51d838(0x265)],[[_0xfbad1b],[_0x487266[_0x51d838(0x38b)]],[_0x2f987a],[_0x1af25f],[_0x487266[_0x51d838(0x169)]],[_0x3ab3a2]]),this[_0x51d838(0x33d)][_0x51d838(0x267)]&&_0x717d91[_0x51d838(0x33c)](this[_0x51d838(0x265)],[[_0x5625b4]]);}},_0x4cd5bd(_0x487266[_0x2a4ba5(0x29b)],_0x2a4ba5(0x103),_0x266299),_0x487266[_0x2a4ba5(0x29b)]=_0x480f0e([_0x717d91[_0x2a4ba5(0x237)](_0x26bc40[_0x2a4ba5(0x341)]),_0x277ca1(0x1,_0x4a1571[_0x2a4ba5(0x1e3)]),_0x277ca1(0x2,_0x717d91[_0x2a4ba5(0x37b)](_0x717d91[_0x2a4ba5(0x32d)])),_0x277ca1(0x3,_0x717d91['IConfigService'])],_0x487266[_0x2a4ba5(0x29b)]);var _0x3809a2=Object[_0x2a4ba5(0x147)],_0x24bb5e=(_0x57d9d8,_0x5c0341,_0x2ecd58,_0x30b045)=>{const _0x40cd64=_0x2a4ba5;for(var _0x20a683=_0x30b045>0x1?void 0x0:_0x30b045?_0x3809a2(_0x5c0341,_0x2ecd58):_0x5c0341,_0x3a6ee8=_0x57d9d8[_0x40cd64(0x123)]-0x1,_0x39f7aa;_0x3a6ee8>=0x0;_0x3a6ee8--)(_0x39f7aa=_0x57d9d8[_0x3a6ee8])&&(_0x20a683=_0x39f7aa(_0x20a683)||_0x20a683);return _0x20a683;},_0x13e3aa=(_0x1bfe90,_0x39ca1c)=>(_0xe35a34,_0x1f23ee)=>_0x39ca1c(_0xe35a34,_0x1f23ee,_0x1bfe90);_0x487266[_0x2a4ba5(0x120)]=class extends _0x26bc40[_0x2a4ba5(0x1cc)]{constructor(_0x30c623,_0x5ed851,_0x4b9fca,_0x5a4451,_0x58d737){super(_0x30c623,_0x5ed851,_0x4b9fca,_0x5a4451,_0x58d737);}async[_0x2a4ba5(0x219)](_0x85d4ae){const _0x1fc404=_0x2a4ba5,_0x495968=await this[_0x1fc404(0x210)](),_0x228123=this['_createSocketURL'](_0x85d4ae,_0x495968);return this['_doCreateSocket'](_0x228123);}[_0x2a4ba5(0x221)](_0x1e36c7,_0x24656c){const _0x3355a8=_0x2a4ba5,_0x2968d2=typeof window>'u'?new URL(_0x1e36c7):new URL(_0x1e36c7,window['location']['origin']);_0x2968d2[_0x3355a8(0x387)][_0x3355a8(0x30e)](_0x3355a8(0x214),_0x24656c);const _0x4c3ee9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x3355a8(0x2ba)]);return _0x4c3ee9['get'](_0x3355a8(0x308))&&_0x2968d2[_0x3355a8(0x387)]['set']('runId',_0x4c3ee9[_0x3355a8(0x2aa)]('runId')),_0x2968d2['toString']();}async['_getSessionTicket'](){const _0x47922a=_0x2a4ba5;var _0x8aeb07,_0x147d1e,_0x5943ce;const _0x4e590d=this[_0x47922a(0x1f0)][_0x47922a(0x23b)](_0x26bc40['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x2f23b6=(_0x8aeb07=_0x4e590d==null?void 0x0:_0x4e590d[_0x47922a(0x215)])!=null?_0x8aeb07:_0x26bc40[_0x47922a(0x30a)];return(_0x5943ce=(_0x147d1e=(await this['_httpService'][_0x47922a(0x2aa)](_0x2f23b6,{'headers':{'Content-Type':'application/json'}}))[_0x47922a(0x2cd)])==null?void 0x0:_0x147d1e[_0x47922a(0xb1)])!=null?_0x5943ce:'';}},_0x487266['BrowserCollaborationSocketService']=_0x24bb5e([_0x13e3aa(0x0,_0x717d91['Inject'](_0x717d91[_0x2a4ba5(0x32d)])),_0x13e3aa(0x1,_0x717d91['Inject'](_0x429433[_0x2a4ba5(0x186)])),_0x13e3aa(0x2,_0x717d91['IConfigService']),_0x13e3aa(0x3,_0x717d91[_0x2a4ba5(0x299)]),_0x13e3aa(0x4,_0xdf7641[_0x2a4ba5(0x247)])],_0x487266[_0x2a4ba5(0x120)]);var _0x3ce548=Object[_0x2a4ba5(0x147)],_0x577caa=(_0x5ac627,_0x424a6b,_0x2e26fe,_0x25a58e)=>{const _0x327a7e=_0x2a4ba5;for(var _0x330e99=_0x25a58e>0x1?void 0x0:_0x25a58e?_0x3ce548(_0x424a6b,_0x2e26fe):_0x424a6b,_0x433f65=_0x5ac627[_0x327a7e(0x123)]-0x1,_0x482190;_0x433f65>=0x0;_0x433f65--)(_0x482190=_0x5ac627[_0x433f65])&&(_0x330e99=_0x482190(_0x330e99)||_0x330e99);return _0x330e99;},_0x467673=(_0x10eee7,_0x201bec)=>(_0x4ac385,_0x43bfb5)=>_0x201bec(_0x4ac385,_0x43bfb5,_0x10eee7);_0x487266['RemoteUniscriptService']=class extends _0x717d91[_0x2a4ba5(0x393)]{constructor(_0x46d5c2,_0x35073c,_0x58c997){const _0x10bd43=_0x2a4ba5;super(),this[_0x10bd43(0x2eb)]=_0x46d5c2,this[_0x10bd43(0x29a)]=_0x35073c,this[_0x10bd43(0x1f0)]=_0x58c997;}async[_0x2a4ba5(0x36d)](_0x4be77c,_0x45f2a2,_0x3f38c0,..._0xa4306b){const _0x215b7b=_0x2a4ba5;var _0x24e99c,_0x22c598,_0x534d46,_0x433d1d;const _0x129686=this['_instanceService'][_0x215b7b(0x2f9)]();if(!_0x129686)throw new Error(_0x215b7b(0xd8));const _0x2c9116=((_0x24e99c=this[_0x215b7b(0x1f0)]['getConfig'](_0x26bc40[_0x215b7b(0x272)]))!=null?_0x24e99c:_0x26bc40[_0x215b7b(0x358)])+'/'+_0x4be77c+_0x215b7b(0x2e4)+_0x45f2a2,_0x1c04d6=new URL(window[_0x215b7b(0x1b1)][_0x215b7b(0xa5)]),_0x4d96b4={'scriptId':_0x4be77c,'runId':(_0x22c598=_0x1c04d6[_0x215b7b(0x387)][_0x215b7b(0x2aa)]('runId'))!=null?_0x22c598:'','function':_0x45f2a2,'unitId':_0x129686[_0x215b7b(0x2c3)](),'argsOfFunction':JSON['stringify'](_0xa4306b),'invokeId':(_0x534d46=_0x3f38c0[_0x215b7b(0x365)])!=null?_0x534d46:'','executionId':(_0x433d1d=_0x3f38c0[_0x215b7b(0xe2)])!=null?_0x433d1d:''};try{const _0x4109c9=await this[_0x215b7b(0x29a)][_0x215b7b(0xbb)](_0x2c9116,{'body':_0x4d96b4});return _0x4109c9[_0x215b7b(0x2cd)]['error']&&_0x4109c9[_0x215b7b(0x2cd)][_0x215b7b(0x289)][_0x215b7b(0x34e)]!==_0xdbd9a9['OK']?_0x215b7b(0x235):_0x4109c9[_0x215b7b(0x2cd)][_0x215b7b(0x257)];}catch{return'Failed';}}},_0x487266[_0x2a4ba5(0x143)]=_0x577caa([_0x467673(0x0,_0x717d91['IUniverInstanceService']),_0x467673(0x1,_0x717d91[_0x2a4ba5(0x37b)](_0x429433[_0x2a4ba5(0x186)])),_0x467673(0x2,_0x717d91[_0x2a4ba5(0xad)])],_0x487266['RemoteUniscriptService']);const _0x5c6335=0x7530,_0x5d9315=_0x2a4ba5(0x342);class _0x2e07cd extends _0x717d91['Disposable']{constructor(){const _0x54ed6e=_0x2a4ba5;super(),_0x271c55(this,'_id',_0x717d91[_0x54ed6e(0x31c)]()),_0x271c55(this,_0x54ed6e(0x1d6),new Set()),_0x271c55(this,'_unitOnClients',new Map()),_0x271c55(this,_0x54ed6e(0x351),null),_0x271c55(this,_0x54ed6e(0xb4),new Map()),_0x271c55(this,'_unitStatus',new Map()),this[_0x54ed6e(0xd5)]();}[_0x2a4ba5(0x14a)](){const _0x37b2cb=_0x2a4ba5;super[_0x37b2cb(0x14a)](),this[_0x37b2cb(0xb4)][_0x37b2cb(0xc4)]((_0x533f3f,_0x14d46c)=>this['_removeClearOtherTimer'](_0x14d46c)),this[_0x37b2cb(0x351)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x2a4ba5(0x25b)](_0x515011){const _0x139c39=_0x2a4ba5;return this[_0x139c39(0xaa)](_0x515011)[_0x139c39(0xda)](_0x170cda['distinctUntilChanged']());}[_0x2a4ba5(0x205)](_0x177ccf){const _0x423812=_0x2a4ba5;this[_0x423812(0x1d6)][_0x423812(0x13e)]===0x0&&this[_0x423812(0x212)](),this[_0x423812(0x1d6)][_0x423812(0x293)](_0x177ccf),this[_0x423812(0xd9)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x177ccf],'isForwarded':!0x1});}[_0x2a4ba5(0x2c6)](_0x59e5b7){const _0x3b909d=_0x2a4ba5;this[_0x3b909d(0x1d6)][_0x3b909d(0x2e2)](_0x59e5b7),this['_selfUnitIDs'][_0x3b909d(0x13e)]===0x0&&this[_0x3b909d(0x351)]&&window['clearInterval'](this[_0x3b909d(0x351)]);}[_0x2a4ba5(0xd5)](){const _0x3ab9d3=_0x2a4ba5;this[_0x3ab9d3(0x1d4)](_0x717d91[_0x3ab9d3(0x17a)](_0x170cda[_0x3ab9d3(0x355)](window,_0x3ab9d3(0x1bc))[_0x3ab9d3(0xbf)](_0x223fa4=>{const _0x4534eb=_0x3ab9d3;if(_0x223fa4[_0x4534eb(0x2bb)]!==_0x5d9315||!_0x223fa4[_0x4534eb(0x313)])return;const _0x394cbc=JSON[_0x4534eb(0x32f)](_0x223fa4['newValue']);this[_0x4534eb(0x12d)](_0x394cbc);}))),window[_0x3ab9d3(0x24b)](_0x3ab9d3(0x18c),()=>this[_0x3ab9d3(0xd9)]({'type':0x1,'memberID':this[_0x3ab9d3(0x2f6)],'unitIDs':Array[_0x3ab9d3(0x15a)](this[_0x3ab9d3(0x1d6)])}));}[_0x2a4ba5(0x12d)](_0x440f09){const _0x3d4502=_0x2a4ba5;switch(_0x440f09[_0x3d4502(0x13b)]){case 0x0:this[_0x3d4502(0x2ee)](_0x440f09);break;case 0x1:this['_handleLeaveEvent'](_0x440f09);break;case 0x2:this[_0x3d4502(0x178)](_0x440f09);break;}}['_handleJoinEvent'](_0x4e4a16){const _0x46bf05=_0x2a4ba5,{unitIDs:_0x476a10,memberID:_0x2b9f7f,isForwarded:_0x17cb87}=_0x4e4a16;_0x476a10[_0x46bf05(0xc4)](_0xc4ec12=>{const _0x59853f=_0x46bf05;if(!_0x17cb87&&this[_0x59853f(0xfa)][_0x59853f(0x250)](_0xc4ec12)&&this[_0x59853f(0xaa)](_0xc4ec12)[_0x59853f(0x27b)](_0x26bc40[_0x59853f(0x1a1)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x59853f(0x250)](_0xc4ec12)||!this[_0x59853f(0xfa)][_0x59853f(0x2aa)](_0xc4ec12)[_0x59853f(0x250)](_0x2b9f7f)){const _0x22f819=this[_0x59853f(0xfa)][_0x59853f(0x2aa)](_0xc4ec12)||new Set();_0x22f819[_0x59853f(0x293)](_0x2b9f7f),this['_unitOnClients'][_0x59853f(0x30e)](_0xc4ec12,_0x22f819),this[_0x59853f(0x38d)](_0x2b9f7f);}}),_0x17cb87||this[_0x46bf05(0xd9)]({'type':0x0,'memberID':this[_0x46bf05(0x2f6)],'unitIDs':[...this[_0x46bf05(0x1d6)]],'isForwarded':!0x0});}[_0x2a4ba5(0x38d)](_0x29b864){const _0x3856af=_0x2a4ba5;this['_removeClearOtherTimer'](_0x29b864);const _0x78f081=window['setTimeout'](()=>{const _0x397f81=_0x20af;this[_0x397f81(0xfa)][_0x397f81(0xc4)](_0x59bc63=>{const _0x27fda0=_0x397f81;_0x59bc63[_0x27fda0(0x2e2)](_0x29b864);});},_0x5c6335*0x2);this['_clearOtherTimers'][_0x3856af(0x30e)](_0x29b864,_0x78f081);}[_0x2a4ba5(0x1bd)](_0xbcc9a4){const _0x463472=_0x2a4ba5;if(this[_0x463472(0xb4)][_0x463472(0x250)](_0xbcc9a4)){const _0x1da28d=this[_0x463472(0xb4)][_0x463472(0x2aa)](_0xbcc9a4);_0x1da28d&&window[_0x463472(0x20b)](_0x1da28d),this[_0x463472(0xb4)][_0x463472(0x30e)](_0xbcc9a4,null);}}['_handleLeaveEvent'](_0x58327d){const _0xa5f251=_0x2a4ba5,{memberID:_0x5191ef,unitIDs:_0xb9c681}=_0x58327d;_0xb9c681[_0xa5f251(0xc4)](_0x547a47=>{const _0x2952d3=_0xa5f251;var _0x3bbd5b;const _0x534aac=this[_0x2952d3(0xfa)][_0x2952d3(0x2aa)](_0x547a47);_0x534aac&&(_0x534aac[_0x2952d3(0x2e2)](_0x5191ef),(_0x3bbd5b=this['_ensureSubject'](_0x547a47))==null||_0x3bbd5b[_0x2952d3(0x27b)](_0x534aac[_0x2952d3(0x13e)]===0x0?_0x26bc40[_0x2952d3(0x1a1)][_0x2952d3(0x2fa)]:_0x26bc40[_0x2952d3(0x1a1)][_0x2952d3(0x10f)]));}),this[_0xa5f251(0x1bd)](_0x5191ef);}[_0x2a4ba5(0x178)](_0x288569){const _0x3afff1=_0x2a4ba5;this[_0x3afff1(0x38d)](_0x288569[_0x3afff1(0x14f)]);}[_0x2a4ba5(0xd9)](_0x1b64f1){const _0x435bad=_0x2a4ba5;localStorage[_0x435bad(0x139)](_0x5d9315,JSON[_0x435bad(0x176)](_0x1b64f1));}[_0x2a4ba5(0x212)](){const _0x44ac99=_0x2a4ba5;this[_0x44ac99(0x351)]=window[_0x44ac99(0x136)](()=>{const _0x31b3f5=_0x44ac99;this[_0x31b3f5(0xd9)]({'type':0x2,'memberID':this[_0x31b3f5(0x2f6)]});},_0x5c6335);}[_0x2a4ba5(0xaa)](_0xf60318){const _0x512231=_0x2a4ba5;return this[_0x512231(0x271)][_0x512231(0x250)](_0xf60318)||this[_0x512231(0x271)][_0x512231(0x30e)](_0xf60318,new _0x170cda[(_0x512231(0x2a4))](_0x26bc40[_0x512231(0x1a1)][_0x512231(0x2fa)])),this[_0x512231(0x271)][_0x512231(0x2aa)](_0xf60318);}}_0x487266[_0x2a4ba5(0x295)]=_0x8c03a2,_0x487266[_0x2a4ba5(0xb7)]=_0x1a2356,_0x487266[_0x2a4ba5(0x2b4)]=_0x2e07cd,_0x487266[_0x2a4ba5(0x22d)]=_0x326a84,Object[_0x2a4ba5(0x1cf)](_0x487266,Symbol[_0x2a4ba5(0x1bb)],{'value':'Module'});}));
|
|
1
|
+
function _0x1d45(_0x11637e,_0x377eb2){_0x11637e=_0x11637e-0x11b;const _0x5cb384=_0x5cb3();let _0x1d453f=_0x5cb384[_0x11637e];return _0x1d453f;}function _0x5cb3(){const _0x1819ef=['addEventListener','search','override','_textBubble','getRenderById','touchDependencies','column','with','collaboration.single-unit.warning','SOCKET_FAILED_RETRY','unload','toStringTag','getCellPositionByOffset','SOCKET_FAILED','find','YUUMI_ASYNCIO_CANCELLED','toString','dirtyRanges','_localeService','exhaustSavingTask','data','complete','runId','eventID','_startSheetCollabCursor','NO_OTHER_CLIENTS_EDITING','COLORS','add','_docStateChangeManagerService','black','findNodePositionByCharIndex','IUniverInstanceService','_applyCommand','runOnServer','_setupSubUnitSync','newValue','CommandType','_getAnchorBounding','DocCollaborationEntity','_beforeCloseService','CollaborationDataLoaderController','dispose','_render','IDocClipboardService','delete','connectInjector','unsubscribe','status$','code','CanceledError','handleDeleteRangeMoveLeft','REDEMPTION_CODE_NOT_STARTED','LICENSE_DISTRO_REJECTED','AWAITING','push','_docTransformSelectionsService','DeleteRangeMoveLeftCommandId','distinctUntilChanged','LICENSE_EXPORT_SIZE_EXCEEDED','_drawTextRange','56qFzhzC','APPLY_REVISION_CONFILICT','RxDisposable','_unitStatus','_themeService','REDEMPTION_INVALID_CODE','setInterval','_startCalculationLimit','getformulaLimitStatusUrl','_collaborationController','WebSocketService','EffectRefRangId','getActiveSheet','LocaleService','APPLY_DUPLICATED','params','blue.400','_docTransformStateCacheService','UniverNetwork','@univerjs/engine-formula','searchParams','_backgroundColor','roomMembers','CollaborationStatus','_notificationService','clearTimeout','registerDependencies','Optional','UniverDocs','startFormulaLimitUrl','_commandService','_collabSessionService','storage','unhandledrejection','flatMap','_showGuardMessage','path','setUndoRedoMutationParamsCache','save','history','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','contains','_scheduleClearOtherTimer','yellow.400','loadOfflineData','getParam','_collaborationUIEventService','onRendered','238QVrFJJ','ALREADY_EXISTS','send','Disposable','textRanges','getOwnPropertyDescriptor','TEXT','cursorInfo','split','set','_docTransformIMECacheService','MessageType','IImageIoService','[LogService\x20Error]:\x20','_refreshCollabCursors','YUUMI_URL_COL_OUT_OF_RANGE','clipPath','loadUnit','_collabCursorController','react/jsx-runtime','ENSURE_SNAPSHOT_EXECUTION','InsertRangeMoveDownCommandId','Injector','MoveRangeCommandId','SetFormulaCalculationNotificationMutation','SetDocZoomRatioOperation','isTransformMutationsWithChangesetSuccess','_selfUnitIDs','get','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','getMemberID','_monkeyPatchLogService','_colorIndex','removeParam','_revisionService','transformStateCache','event$','has','_cursor','tag','currentColor','defIds','Workbook','setAlpha','YUUMI_AI_RUN_FAILED','TRANSFORM_CHANGE_OBSERVABLE_TYPE','ENTITLE_DUP_SUBSCRIPTION','registerRenderModule','_toggleOnline','getSheetId','operators','_handleEvent','_session','ticket','Warning','/universer-api/license/formula/limit/start','univer-flex\x20univer-items-center','colorChannel1','UniverProCollaboration','MemberService','_initStatusComponent','[RemoteUniscriptService]:\x20no\x20focused\x20unit','PY_RUNTIME_SCRIPT_ERROR','show','_hideTimer','handleDeleteRangeMoveUp','REDEMPTION_CODE_INACTIVE','string','COMPLETION_FINISHED','REDEMPTION_USER_NOT_ELIGIBLE','ISocketService','assignAColorForMemberID','handleInsertCol','hide','_scheduleHeartbeat','_renderManagerService','filter','ONLINE','_labelPosition','throttleTime','onCommandExecuted','NodePositionConvertToRectRange','useRef','DocIMEInputManagerService','@univerjs/docs-ui','18RdRSoS','NodePositionConvertToCursor','IRenderManagerService','idSuffix','28154nRUOPW','_roomMembers$','fromEventSubject','HTTPService','UNIVER_DOC','Error','function','substring','Failed','replaceState','RefRangeService','_hovered','min','CollaborationSessionService','@univerjs/network','SNAPSHOT_INVALID_SNAPSHOT','getUnit','UniverSheetsUi','_ensureSubject','0\x200\x2016\x2016','height','DocStateChangeManagerService','name','collab-rect-range-','wsSessionTicketUrl','reconnect','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','defs','Rect','currentUsage','WebBrowserSingleActiveUnitService','OFFLINE','_lastResponseTimestamp','Module','closePath','ACTIVE_UNIT_EVENT_CHANNEL','...','_hover','lineTo','triggerDblclick','_initUserListener','_clearOtherTimers','_color','_initEvent','1061700dpMJfN','UniverProCollaborationClient','OTHER_CLIENTS_EDITING','getRangePointData','collaboration-client-ui.config','_initCommandInterceptor','UNRECOGNIZED','_uploadLog','collabStatus.synced','_transformService','getTypeOfUnitAdded$','getRelativeToViewportCoord','_eventUnsubscribe','_pollingInterval','Tools','endColumn','off-line-icon_clip0_910_343','currentTheme$','subscribeEvent','ICommandService','_univerInstanceService','session.connection-failed','CollaborationEvent','maxFormulaLimit','11133ZzQult','startColumn','_getSessionTicket','NOT_FOUND','YUUMI_UNABLE_LOAD_URL','UniverEngineFormula','removeEventListener','handleInsertRangeMoveRight','shareReplay','getColorFromTheme','handleInsertRangeMoveDown','collab-text-range-','_status$','div','_cursors','LICENSE_MAX_UNITS_EXCEEDED','_getScale','cursorInfo$','onLocalMutation','_scheduleSaving','combineLatest','font','color','_config','_injector','clearInterval','shift','setTimeout','WECHAT_HAS_BEEN_BOUND','SessionStatus','transformSelections','collabStatus.fetchMiss','children','selections','getSheetBySheetId','_onRefRangeChange','LICENSE_IMPORT_SIZE_EXCEEDED','RegularPolygon','_syncEditingCollabCursorService','5824FsjjHt','startRow','then','rxjs/operators','parse','collabStatus.notCollab','UniverEngineRender','ENTITLE_INVALID_COUPON_CODE','_initResize','getDocRanges','measureText','_removeCollabCursors','_onCursorUpdate','APPLY_NON_SEQUENTIAL_REVISION','_disabled','createElement','handleIRemoveRow','doc.mutation.rich-text-editing','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','svg','_clearPolling','Unknown\x20user','LOGIN_TOKEN_PROCESSING_FAILED','releaseFormulaLimitUrl','random','functionsExecutedState','xlink:href','_messageService','includes','text','_getSaveTimeout','_cachedData','whenReady','REDEMPTION_CODE_HAS_BEEN_CREATED','_checkAndWaitForCalculationPermission','RevisionService','error','syncEditingCollabCursor','APPLY_PERMISSION_DENIED','_assignedColors','CollaborationUIEventId','isFormulaId','TOO_MANY_REQUESTS','all','subunit','roomMembers$','SheetCollabCursorShape','isEditing','restore','setConfig','_collabCursorState$','_anchor','jiqing.500','popstate','http://www.w3.org/2000/svg','?taskId=','_dataLoaderService','endRow','_docSkeletonManagerService','fillText','_initEntityListener','ENTITLE_REPORT_LIMIT_EXCEED','Loading','ENTITLE_COUPON_USED_UP','15504aogTpV','takeUntil','toDisposable','IBeforeCloseService','fromEvent','10xFXAvl','@univerjs-pro/collaboration-client','EMAIL_HAS_BEEN_BOUND','402608sypJyG','_updateURLWithCurrentState','mutations','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_memberService','INTERNAL_ERROR','ENTITLE_NEED_BILLING_ADDRESS','round','_docSkeleton','entries','getUnitId','_entityInit$','isFormulaString','Success','_drawAnchor','INVALID_ARGUMENT','collabStatus.conflict','UniverInstanceType','disposeWithMe','width','React','IMessageService','_lastPointer','IConfigService','UPDATE_CURSOR','currentSkeleton$','top','permission.title','_currentUsage','getViewport','toRgbString','handleInsertRow','FormulaExecuteStageType','disableLocalCache','mask','bind','evenodd','DOC_RANGE_TYPE','_updateLocalCursor','PERMISSION_DENIED','selection','_docClipboardService','YUUMI_RATE_OVER_LIMIT','m2Prime','parseInt','filename','getTypeOfUnitDisposed$','_checkCalculationAvailable','none','generateRandomId','pushState','unitId','collabStatus.syncing','m1Prime','YUUMI_NO_CUBOID_FOR_QUESTION','transformMutation','mapTo','FromArray','editingUnit','Inject','isActive','deserializeRangeWithSheet','_initStatusListener','UnitStatus','ENTITLE_USE_COUPON_NOT_1ST_TRADE','LOCAL_CACHE_INTERVAL','map','_docSyncEditingCollabCursorService','_refRangeService','getUniverSheetInstance','_createSocketURL','white','_maxFormulaLimit','MOBILE_VERIFY_CODE_MISMATCH','message','unshift','@univerjs/design','onPointerEnter$','init','_heartbeatTimer','_initCommandExecutedListener','replaceDocRanges','clsx','_draw','PENDING','_getSheetObject','_colorAssignService','_configService','_transformUndoRedoStack','url(#$1','saveImage','assign','permission.content','subscribe','MUTATION','RemoteUniscriptService','getActiveRange','setActiveRange','transform','engine','DisposableCollection','entityInit$','session.will-retry','reason','debug','setParam','_scene','getItem','HEADER_MENU','UNAUTHENTICATED','AUTHORIZE_CODE_ILLEGAL','origin','next','fillRule','ILocalStorageService','DATA_SOURCE_TOO_LARGE','onPointerLeave$','INVALID_INVITE_CODE','getUnitStatus$','_urlService','_handleHover','_initUnhandledRejectionListener','_taskIds','join','result','fill','focused$','handleIRemoveCol','_anchorDot','ERROR_AGAIN','debounceTime','getConfig','sheetID','SetSelectionsOperation','stack','key','drawWith','range','USER_NOT_FOUND','INotificationService','deepClone','setShapeProps','UNDEFINED','off-line-icon','178iQICwl','_memberID','mergeOverrideWithDependencies','_releaseCalculationLimit','YUUMI_ALL_TABLES_IS_INVALID','UniverUi','getStateCache','INVITE_CODE_REQUIRED','BehaviorSubject','[Window\x20Error]:\x20','ILogService','/universer-api/license/formula/limit/done','use','_toggleOffline','getCollabCursors$','1em','INVITE_CODE_ALREADY_BOUND','arc','InsertRowCommandId','forwardRef','_collaborationSessionService','CHANGESET_REVISION_CONFILICT','_registerDependencies','_sheetSkeletonManagerService','createSocket','setItem','length','getCurrentSelections','univer-mr-2\x20univer-flex\x20univer-text-xl','_document','/run/','getValue','onStarting','values','subUnitId','_localStorageService','imageSourceType','@univerjs/sheets','purple.300','getFocusedUnit','trim','urlChange$','makeDirty','getMergeData','DesktopCollaborationStatusDisplayController','getAncestorScale','_unitOnClients','SNAPSHOT_HAS_BEEN_REMOVED','createIdentifier','USER_NOT_INVITED_CODE','UniverProCollaborationClientUi','_httpService','SUBMIT_CHANGESET_TIMEOUT','_localCacheService','getCollabEntity$','@univerjs-pro/collaboration','_initDependencies','_transformPreviousActiveRange','_initWindowErrorListener','defineProperty','_onCursorDelete','TEXT_RANGE_LAYER_INDEX','onMouseMove','RECT','startsWith','UniverDrawing','_online','@univerjs/ui','Shape','SetWorksheetActivateCommand','jsx','href','DocSelectionManagerService','_shapes','executeCommand','collab-text-anchor-','UniverCollaborationClientUIPlugin','ColorKit','_uiPartsService','univerjs-icon\x20univerjs-icon-','getColor','isArray','registerBeforeClose','moveTo','addObject','forEach','dispose$','_transformHistoryAndStateStack','UniverSheets','FETCH_MISS','DocSkeletonManagerService','_getFormulaLimitStatus','_removeClearOtherTimer','#FFF','Rectangle','getMember','labelPosition','bottom','START_CALCULATION','_updateSubUnitFromURLParams','attrs','SheetsSelectionsService','application/json','undoState','body','collabCursorState$','formula.calculation.waiting','source','APPLY_REJECT','resize','_name','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UniverCore','2414588knrCLg','YUUMI_CONNECTOR_URL_NOT_FOUND','JOIN_ROOM_FAILED','addObjects','pipe','formula.calculation.unable','10quGpZr','LOCAL_CACHE_INTERVAL_KEY','_updateCollabCursors','post','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','backgroundColor','now','OnLineIcon','_setFormulaLimitStatus','ENTITLE_CHAT_LIMIT_EXCEED','rxjs','_imageIoService','type','requireSession','_init','from','ThemeService','_range','saveTaskMap','max','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','IURLService','EMAIL_VERIFY_CODE_MISMATCH','transformMutationsWithChangeset','_getMergeRange','limitInfo','OTHER_CLIENT_EDITING','debounce','runRefRangeMutations','asObservable','_context','_cursorInfo$','/universer-api/frontend/logs','stringify','IUIPartsService','WebURLService','size','updateOfflineData','fillStyle','redoState','_drawRectRange','collaboration.closeRoom','_startDocCollabCursor','BrowserCollaborationSocketService','location','getUndoRedoMutationParamsCache','SHEET_VIEWPORT_KEY','InsertRangeMoveRightCommandId','lineno','ILocalCacheService','YUUMI_SUBSCRIPTION_NOT_FOUND','_entities','ENTITLE_COUPON_EXPIRED','useDependency','Tooltip','_instanceService','unitID','_logService','getLocalCacheKey','CONFLICT','_doCreateSocket','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CONNECTOR_DATA_TOO_LARGE','unit','enableLocalCache','sessionTicket','url(#off-line-icon_clip0_910_343)','_send','USER_IS_ANONYMOUS','CLOSE_ROOM','setStateCache','_id','useObservable','/universer-api/license/formula/limit/status','collaboration.offline-data-not-saved','row','transformIMECache','_saveCache','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','Subject','LOGIN_FAILED','displayName','transformRemoteChangeset','MOBILE_HAS_BEEN_BOUND','sessionStatus$','_hasFormulaInDirtyRanges','stageInfo','actions','USERS_LEAVE','NOT_COLLAB','CollaborationController','getCurrent','_setupBeforeClosingHandler','_handleHeartbeatEvent','ranges','_handleJoinEvent','ITransformService','DataLoaderService','BuiltInUIPart','@univerjs/sheets-ui','sheetId','_cursorShapes','PAYMENT_CHANNEL_NOT_SUPPORT','invokeId','replace','getCellMatrix','DeleteRangeMoveUpCommandId','isTransformMutationFailure','createInstance','[CollaborationDataLoaderController]','_saveTaskMap','INVITE_CODE_HAS_BEEN_UES','UNIVER_SHEET','switchMap','_registerRenderDependencies','_handleLeaveEvent','CURRENT_STATUS_CANNOT_OPERATE'];_0x5cb3=function(){return _0x1819ef;};return _0x5cb3();}(function(_0x1439f9,_0x1accfe){const _0x503c1a=_0x1d45,_0x13df09=_0x1439f9();while(!![]){try{const _0x5af937=-parseInt(_0x503c1a(0x141))/0x1*(parseInt(_0x503c1a(0x299))/0x2)+-parseInt(_0x503c1a(0x31e))/0x3+parseInt(_0x503c1a(0x3a6))/0x4*(parseInt(_0x503c1a(0x3a3))/0x5)+parseInt(_0x503c1a(0x2ee))/0x6*(parseInt(_0x503c1a(0x2f2))/0x7)+parseInt(_0x503c1a(0x269))/0x8*(-parseInt(_0x503c1a(0x336))/0x9)+-parseInt(_0x503c1a(0x1b8))/0xa*(parseInt(_0x503c1a(0x1b2))/0xb)+parseInt(_0x503c1a(0x39e))/0xc*(parseInt(_0x503c1a(0x35d))/0xd);if(_0x5af937===_0x1accfe)break;else _0x13df09['push'](_0x13df09['shift']());}catch(_0x3db353){_0x13df09['push'](_0x13df09['shift']());}}}(_0x5cb3,0x2e209),function(_0xf4b53a,_0x26be29){const _0x1c4dc6=_0x1d45;typeof exports=='object'&&typeof module<'u'?_0x26be29(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==_0x1c4dc6(0x2f8)&&define['amd']?define(['exports',_0x1c4dc6(0x2ac),_0x1c4dc6(0x3a4),'@univerjs/core',_0x1c4dc6(0x184),'rxjs',_0x1c4dc6(0x3f2),'react','@univerjs/rpc',_0x1c4dc6(0x166),'@univerjs/engine-render',_0x1c4dc6(0x300),_0x1c4dc6(0x2ed),'@univerjs/drawing',_0x1c4dc6(0x178),'@univerjs/docs',_0x1c4dc6(0x27c),_0x1c4dc6(0x360),_0x1c4dc6(0x21b)],_0x26be29):(_0xf4b53a=typeof globalThis<'u'?globalThis:_0xf4b53a||self,_0x26be29(_0xf4b53a[_0x1c4dc6(0x173)]={},_0xf4b53a[_0x1c4dc6(0x3ba)],_0xf4b53a[_0x1c4dc6(0x31f)],_0xf4b53a[_0x1c4dc6(0x1b1)],_0xf4b53a[_0x1c4dc6(0x146)],_0xf4b53a[_0x1c4dc6(0x1c2)],_0xf4b53a['UniverDesign'],_0xf4b53a[_0x1c4dc6(0x3ba)],_0xf4b53a['UniverRpc'],_0xf4b53a[_0x1c4dc6(0x199)],_0xf4b53a[_0x1c4dc6(0x363)],_0xf4b53a[_0x1c4dc6(0x27b)],_0xf4b53a['UniverDocsUi'],_0xf4b53a[_0x1c4dc6(0x182)],_0xf4b53a[_0x1c4dc6(0x2d3)],_0xf4b53a[_0x1c4dc6(0x285)],_0xf4b53a[_0x1c4dc6(0x33b)],_0xf4b53a['rxjs'][_0x1c4dc6(0x2cb)],_0xf4b53a[_0x1c4dc6(0x303)]));}(this,function(_0x5cfa5d,_0x277483,_0x378bf4,_0x1ced2a,_0x19c552,_0x5d9504,_0x52c80f,_0x55c618,_0x519d5f,_0x4cc6da,_0x40ad79,_0x5d4294,_0x2366a5,_0x2a63ae,_0x28eb5b,_0x56412a,_0x900d4,_0x140ef8,_0x1f5a13){'use strict';const _0x5f4777=_0x1d45;var _0x320cb6=Object[_0x5f4777(0x17c)],_0x49dbc8=(_0x4a4bd3,_0x47ba8a,_0x344b48)=>_0x47ba8a in _0x4a4bd3?_0x320cb6(_0x4a4bd3,_0x47ba8a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x344b48}):_0x4a4bd3[_0x47ba8a]=_0x344b48,_0x13969d=(_0x374c45,_0x414052,_0x4ed5cc)=>_0x49dbc8(_0x374c45,typeof _0x414052!='symbol'?_0x414052+'':_0x414052,_0x4ed5cc);function _0x30e2c4({ref:_0x18b5a8,..._0x3e6c13}){const _0x4498ad=_0x5f4777,{icon:_0x1a8457,id:_0x2dad62,className:_0x49abcf,extend:_0x1e7e45,..._0x22e9d9}=_0x3e6c13,_0x1dfa99=(_0x4498ad(0x190)+_0x2dad62+'\x20'+(_0x49abcf||''))[_0x4498ad(0x169)](),_0x1af1cd=_0x55c618[_0x4498ad(0x2eb)]('_'+_0x454485());return _0x3e04a0(_0x1a8457,''+_0x2dad62,{'defIds':_0x1a8457[_0x4498ad(0x2c2)],'idSuffix':_0x1af1cd['current']},{'ref':_0x18b5a8,'className':_0x1dfa99,..._0x22e9d9},_0x1e7e45);}function _0x3e04a0(_0x14f2fc,_0x57e662,_0x10b224,_0x11f5a2,_0x26e97d){const _0x504c4e=_0x5f4777;return _0x55c618[_0x504c4e(0x36c)](_0x14f2fc[_0x504c4e(0x2c0)],{'key':_0x57e662,..._0x1e6d1a(_0x14f2fc,_0x10b224,_0x26e97d),..._0x11f5a2},(_0x1f87df(_0x14f2fc,_0x10b224)[_0x504c4e(0x356)]||[])[_0x504c4e(0x3e8)]((_0x3c2849,_0x4945d4)=>_0x3e04a0(_0x3c2849,_0x57e662+'-'+_0x14f2fc[_0x504c4e(0x2c0)]+'-'+_0x4945d4,_0x10b224,void 0x0,_0x26e97d)));}function _0x1e6d1a(_0x168f4d,_0x3955a2,_0x4628d5){const _0x2bcd01=_0x5f4777,_0x540f6f={..._0x168f4d[_0x2bcd01(0x1a5)]};_0x4628d5!=null&&_0x4628d5[_0x2bcd01(0x2d2)]&&_0x540f6f[_0x2bcd01(0x12e)]==='colorChannel1'&&(_0x540f6f[_0x2bcd01(0x12e)]=_0x4628d5[_0x2bcd01(0x2d2)]),_0x168f4d[_0x2bcd01(0x2c0)]===_0x2bcd01(0x3c8)&&_0x540f6f['id']&&(_0x540f6f['id']=_0x540f6f['id']+_0x3955a2['idSuffix']),Object[_0x2bcd01(0x3af)](_0x540f6f)[_0x2bcd01(0x196)](([_0x58945a,_0x3d245b])=>{const _0x120ee5=_0x2bcd01;_0x58945a===_0x120ee5(0x3c8)&&typeof _0x3d245b==_0x120ee5(0x2dc)&&(_0x540f6f[_0x58945a]=_0x3d245b[_0x120ee5(0x220)](/url\(#(.*)\)/,_0x120ee5(0x3ff)+_0x3955a2[_0x120ee5(0x2f1)]+')'));});const {defIds:_0x462bad}=_0x3955a2;return!_0x462bad||_0x462bad[_0x2bcd01(0x15b)]===0x0||(_0x168f4d[_0x2bcd01(0x2c0)]===_0x2bcd01(0x14d)&&_0x540f6f[_0x2bcd01(0x378)]&&(_0x540f6f['xlink:href']=_0x540f6f[_0x2bcd01(0x378)]+_0x3955a2[_0x2bcd01(0x2f1)]),Object[_0x2bcd01(0x3af)](_0x540f6f)['forEach'](([_0x5d69f0,_0x21426c])=>{const _0x769870=_0x2bcd01;typeof _0x21426c==_0x769870(0x2dc)&&(_0x540f6f[_0x5d69f0]=_0x21426c[_0x769870(0x220)](/url\(#(.*)\)/,_0x769870(0x3ff)+_0x3955a2[_0x769870(0x2f1)]+')'));})),_0x540f6f;}function _0x1f87df(_0x12a756,_0x1ce70d){const _0x4e337a=_0x5f4777;var _0x56d2cf;const {defIds:_0x3914df}=_0x1ce70d;return!_0x3914df||_0x3914df[_0x4e337a(0x15b)]===0x0?_0x12a756:_0x12a756[_0x4e337a(0x2c0)]===_0x4e337a(0x30d)&&((_0x56d2cf=_0x12a756[_0x4e337a(0x356)])!=null&&_0x56d2cf[_0x4e337a(0x15b)])?{..._0x12a756,'children':_0x12a756[_0x4e337a(0x356)][_0x4e337a(0x3e8)](_0x5a4643=>typeof _0x5a4643['attrs']['id']==_0x4e337a(0x2dc)&&_0x3914df&&_0x3914df[_0x4e337a(0x37a)](_0x5a4643[_0x4e337a(0x1a5)]['id'])?{..._0x5a4643,'attrs':{..._0x5a4643[_0x4e337a(0x1a5)],'id':_0x5a4643[_0x4e337a(0x1a5)]['id']+_0x1ce70d[_0x4e337a(0x2f1)]}}:_0x5a4643)}:_0x12a756;}function _0x454485(){const _0x19fb60=_0x5f4777;return Math[_0x19fb60(0x376)]()[_0x19fb60(0x23d)](0x24)[_0x19fb60(0x2f9)](0x2,0x8);}_0x30e2c4[_0x5f4777(0x209)]='UniverIcon';const _0x3a5d12={'tag':_0x5f4777(0x371),'attrs':{'xmlns':_0x5f4777(0x394),'fill':_0x5f4777(0x3d6),'viewBox':_0x5f4777(0x305),'width':_0x5f4777(0x150),'height':_0x5f4777(0x150)},'children':[{'tag':'g','attrs':{'clipPath':_0x5f4777(0x1fa)},'children':[{'tag':'path','attrs':{'stroke':_0x5f4777(0x2c1),'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':_0x5f4777(0x3ad),'strokeLinejoin':_0x5f4777(0x3ad),'strokeWidth':1.2}}]},{'tag':_0x5f4777(0x30d),'attrs':{},'children':[{'tag':_0x5f4777(0x2a9),'attrs':{'id':_0x5f4777(0x32e)},'children':[{'tag':'path','attrs':{'fill':_0x5f4777(0x3ed),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x5f4777(0x32e)]},_0xa67cd8=_0x55c618['forwardRef'](function(_0x50fc1d,_0x4db69d){const _0x2145f0=_0x5f4777;return _0x55c618[_0x2145f0(0x36c)](_0x30e2c4,Object[_0x2145f0(0x401)]({},_0x50fc1d,{'id':_0x2145f0(0x140),'ref':_0x4db69d,'icon':_0x3a5d12}));});_0xa67cd8['displayName']='OffLineIcon';const _0x16cfb8={'tag':_0x5f4777(0x371),'attrs':{'xmlns':_0x5f4777(0x394),'fill':_0x5f4777(0x3d6),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x5f4777(0x150)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x5f4777(0x28d),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x5f4777(0x3ad),'strokeLinejoin':_0x5f4777(0x3ad),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5f4777(0x2a9),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x5f4777(0x28d),'attrs':{'fill':_0x5f4777(0x3ed),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x45a75b=_0x55c618[_0x5f4777(0x154)](function(_0x4c2d63,_0x37a6d9){const _0x3b1705=_0x5f4777;return _0x55c618[_0x3b1705(0x36c)](_0x30e2c4,Object[_0x3b1705(0x401)]({},_0x4c2d63,{'id':'on-line-icon','ref':_0x37a6d9,'icon':_0x16cfb8}));});_0x45a75b[_0x5f4777(0x209)]=_0x5f4777(0x1bf);function _0x1a32e6(_0x587911){const _0x482e9d=_0x5f4777;switch(_0x587911){case _0x378bf4[_0x482e9d(0x280)][_0x482e9d(0x311)]:return'collabStatus.offline';case _0x378bf4[_0x482e9d(0x280)][_0x482e9d(0x1f3)]:return _0x482e9d(0x3b6);case _0x378bf4[_0x482e9d(0x280)][_0x482e9d(0x19a)]:return _0x482e9d(0x355);case _0x378bf4['CollaborationStatus']['NOT_COLLAB']:return _0x482e9d(0x362);case _0x378bf4['CollaborationStatus'][_0x482e9d(0x262)]:case _0x378bf4[_0x482e9d(0x280)]['AWAITING_WITH_PENDING']:return _0x482e9d(0x3da);case _0x378bf4[_0x482e9d(0x280)]['SYNCED']:case _0x378bf4[_0x482e9d(0x280)][_0x482e9d(0x3fa)]:return _0x482e9d(0x326);}}function _0x3a4d0e(_0xd0dd17){const _0x4a06cc=_0x5f4777,{status$:_0x5b9027}=_0xd0dd17,_0x4927fb=_0x19c552[_0x4a06cc(0x200)](_0x5b9027,_0x378bf4['CollaborationStatus'][_0x4a06cc(0x211)]),_0x39f11b=_0x19c552[_0x4a06cc(0x1ed)](_0x1ced2a[_0x4a06cc(0x276)]),_0x4feb56=_0x19c552[_0x4a06cc(0x1ed)](_0x378bf4[_0x4a06cc(0x2ff)]),_0x2efd62=_0x4927fb!==_0x378bf4[_0x4a06cc(0x280)][_0x4a06cc(0x311)],_0x50dd33=_0x39f11b['t'](_0x1a32e6(_0x4927fb)),_0x52118c=_0x2efd62?_0x277483[_0x4a06cc(0x187)](_0x45a75b,{}):_0x277483[_0x4a06cc(0x187)](_0xa67cd8,{}),_0x421d31=_0x55c618['useCallback'](()=>{const _0x4dea6f=_0x4a06cc;_0x2efd62||_0x4feb56[_0x4dea6f(0x30b)]();},[_0x2efd62,_0x4feb56]);function _0x16a1c3(){const _0x55e39a=_0x4a06cc;return _0x277483['jsxs']('div',{'className':_0x55e39a(0x2d1),'onClick':_0x421d31,'children':[_0x277483[_0x55e39a(0x187)](_0x55e39a(0x343),{'className':_0x52c80f[_0x55e39a(0x3f8)](_0x55e39a(0x15d),{'univer-text-green-500':_0x2efd62,'univer-text-red-500':!_0x2efd62}),'children':_0x52118c}),_0x277483[_0x55e39a(0x187)](_0x55e39a(0x343),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x50dd33})]});}return _0x2efd62?_0x16a1c3():_0x277483['jsx'](_0x52c80f[_0x4a06cc(0x1ee)],{'title':_0x39f11b['t']('collab-client.tooltip.reconnect'),'children':_0x16a1c3()});}var _0x224221=Object[_0x5f4777(0x29e)],_0x1a6fa1=(_0x86c885,_0x3fe3e8,_0x27412a,_0x41ab4f)=>{const _0x541ec7=_0x5f4777;for(var _0x1f4292=_0x41ab4f>0x1?void 0x0:_0x41ab4f?_0x224221(_0x3fe3e8,_0x27412a):_0x3fe3e8,_0x6472fd=_0x86c885[_0x541ec7(0x15b)]-0x1,_0x2d1fad;_0x6472fd>=0x0;_0x6472fd--)(_0x2d1fad=_0x86c885[_0x6472fd])&&(_0x1f4292=_0x2d1fad(_0x1f4292)||_0x1f4292);return _0x1f4292;},_0x161d49=(_0x3fc2d9,_0x55e274)=>(_0x4eaa0e,_0x517a01)=>_0x55e274(_0x4eaa0e,_0x517a01,_0x3fc2d9);_0x5cfa5d[_0x5f4777(0x16d)]=class extends _0x1ced2a[_0x5f4777(0x29c)]{constructor(_0x4f971d,_0x324fde,_0x2b275c,_0x4df0cd){const _0xc481af=_0x5f4777;super(),_0x13969d(this,_0xc481af(0x342),new _0x5d9504[(_0xc481af(0x149))](_0x378bf4['CollaborationStatus']['NOT_COLLAB'])),(this['_univerInstanceService']=_0x4f971d,this['_injector']=_0x324fde,this[_0xc481af(0x272)]=_0x2b275c,this[_0xc481af(0x18f)]=_0x4df0cd,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x5f4777(0x3e4)](){const _0x37c4af=_0x5f4777;this[_0x37c4af(0x3b8)](this['_univerInstanceService'][_0x37c4af(0x12f)][_0x37c4af(0x1b6)](_0x5d9504[_0x37c4af(0x229)](()=>{const _0xc567d2=_0x37c4af,_0x362d77=this[_0xc567d2(0x332)][_0xc567d2(0x168)]();return _0x362d77?this['_collaborationController'][_0xc567d2(0x177)](_0x362d77[_0xc567d2(0x3b0)]()):_0x5d9504['of'](null);}),_0x5d9504[_0x37c4af(0x229)](_0x358169=>_0x358169?_0x358169[_0x37c4af(0x25c)]:_0x5d9504['of'](_0x378bf4[_0x37c4af(0x280)][_0x37c4af(0x211)])))[_0x37c4af(0x403)](_0x1aebac=>{const _0x2a8968=_0x37c4af;this[_0x2a8968(0x342)][_0x2a8968(0x121)](_0x1aebac);}));}[_0x5f4777(0x2d5)](){const _0x5651e0=_0x5f4777;this[_0x5651e0(0x3b8)](this['_uiPartsService']['registerComponent'](_0x19c552[_0x5651e0(0x21a)][_0x5651e0(0x11d)],()=>_0x19c552[_0x5651e0(0x25a)](_0x367ad({'status$':this['_status$'][_0x5651e0(0x1d5)]()}),this[_0x5651e0(0x34e)])));}},_0x5cfa5d[_0x5f4777(0x16d)]=_0x1a6fa1([_0x161d49(0x0,_0x1ced2a[_0x5f4777(0x24c)]),_0x161d49(0x1,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x2af)])),_0x161d49(0x2,_0x1ced2a[_0x5f4777(0x3e1)](_0x378bf4[_0x5f4777(0x212)])),_0x161d49(0x3,_0x19c552[_0x5f4777(0x1da)])],_0x5cfa5d[_0x5f4777(0x16d)]);function _0x367ad(_0x12e53a){const {status$:_0x15367f}=_0x12e53a;return function(){const _0x2e2c42=_0x1d45;return _0x277483[_0x2e2c42(0x187)](_0x3a4d0e,{'status$':_0x15367f});};}const _0x44c1af=_0x1ced2a[_0x5f4777(0x171)]('uni.network.url-service');var _0x3c4ad4=Object['getOwnPropertyDescriptor'],_0x421983=(_0x1035ee,_0x1cb7b5,_0x25f718,_0x5788d8)=>{const _0x970cdb=_0x5f4777;for(var _0x4d80ef=_0x5788d8>0x1?void 0x0:_0x5788d8?_0x3c4ad4(_0x1cb7b5,_0x25f718):_0x1cb7b5,_0x35cf8d=_0x1035ee[_0x970cdb(0x15b)]-0x1,_0xeab3e;_0x35cf8d>=0x0;_0x35cf8d--)(_0xeab3e=_0x1035ee[_0x35cf8d])&&(_0x4d80ef=_0xeab3e(_0x4d80ef)||_0x4d80ef);return _0x4d80ef;},_0x3b9902=(_0x9d5fa8,_0x57715a)=>(_0x58c408,_0x3936b2)=>_0x57715a(_0x58c408,_0x3936b2,_0x9d5fa8);_0x5cfa5d['CollaborationDataLoaderController']=class extends _0x1ced2a[_0x5f4777(0x26b)]{constructor(_0x36fff9,_0x290fa8,_0x89c6cb,_0x1eea71,_0x12486a){const _0x23777d=_0x5f4777;super(),this[_0x23777d(0x128)]=_0x36fff9,this['_logService']=_0x290fa8,this[_0x23777d(0x287)]=_0x89c6cb,this[_0x23777d(0x396)]=_0x1eea71,_0x12486a?_0x12486a==null||_0x12486a[_0x23777d(0x37e)]()[_0x23777d(0x35f)](()=>this[_0x23777d(0x1c6)]()):(this['_logService'][_0x23777d(0x40e)](_0x23777d(0x225),_0x23777d(0x36f)),this[_0x23777d(0x1c6)]());}async[_0x5f4777(0x1c6)](){const _0x3b8837=_0x5f4777,_0x5524b2=this[_0x3b8837(0x128)]['getParam'](_0x3b8837(0x1f7)),_0x38cdd1=this[_0x3b8837(0x128)][_0x3b8837(0x296)]('type'),_0x35bee4=this['_urlService'][_0x3b8837(0x296)](_0x3b8837(0x38a));if(!_0x5524b2||!_0x38cdd1){this['_logService'][_0x3b8837(0x40e)](_0x3b8837(0x225),_0x3b8837(0x3a9));return;}const _0x1f5991=await this['_dataLoaderService'][_0x3b8837(0x2aa)](_0x5524b2,Number(_0x38cdd1),_0x35bee4);_0x1f5991&&_0x1f5991 instanceof _0x1ced2a[_0x3b8837(0x2c3)]&&this['_setupSubUnitSync'](_0x1f5991);}async[_0x5f4777(0x24f)](_0x4e2d22){const _0x2e27e8=_0x5f4777;await this['_updateSubUnitFromURLParams'](_0x4e2d22),_0x4e2d22['activeSheet$'][_0x2e27e8(0x1b6)](_0x5d9504[_0x2e27e8(0x39f)](this['dispose$']))['subscribe'](_0x1fc385=>{const _0x2a7daf=_0x2e27e8;_0x1fc385&&this[_0x2a7daf(0x3a7)](_0x1fc385);}),this['_urlService'][_0x2e27e8(0x16a)]['pipe'](_0x5d9504[_0x2e27e8(0x39f)](this['dispose$']))[_0x2e27e8(0x403)](()=>this[_0x2e27e8(0x1a4)](_0x4e2d22));}[_0x5f4777(0x3a7)](_0x45dfe9,_0xcd3145=!0x1){const _0x4762b5=_0x5f4777,_0x1ee761=this[_0x4762b5(0x128)]['getParam'](_0x4762b5(0x38a));_0x45dfe9[_0x4762b5(0x2ca)]()!==_0x1ee761&&this[_0x4762b5(0x128)][_0x4762b5(0x40f)]('subunit',_0x45dfe9[_0x4762b5(0x2ca)](),_0xcd3145);}async[_0x5f4777(0x1a4)](_0xa64b5f){const _0x563785=_0x5f4777;var _0x103485;const _0x23a526=this[_0x563785(0x128)]['getParam'](_0x563785(0x38a));if(!_0x23a526||!_0xa64b5f['getSheetBySheetId'](_0x23a526)){const _0x2ea990=_0xa64b5f['getUnhiddenWorksheets']()[0x0],_0x226e05=_0xa64b5f[_0x563785(0x358)](_0x2ea990);if(!_0x226e05)return;this['_updateURLWithCurrentState'](_0x226e05,!0x0),await this[_0x563785(0x287)][_0x563785(0x18b)](_0x4cc6da[_0x563785(0x186)]['id'],{'unitId':_0xa64b5f['getUnitId'](),'subUnitId':_0x2ea990});return;}((_0x103485=_0xa64b5f[_0x563785(0x275)]())==null?void 0x0:_0x103485[_0x563785(0x2ca)]())!==_0x23a526&&await this['_commandService'][_0x563785(0x18b)](_0x4cc6da[_0x563785(0x186)]['id'],{'unitId':_0xa64b5f['getUnitId'](),'subUnitId':_0x23a526});}},_0x5cfa5d[_0x5f4777(0x255)]=_0x421983([_0x3b9902(0x0,_0x44c1af),_0x3b9902(0x1,_0x1ced2a[_0x5f4777(0x14b)]),_0x3b9902(0x2,_0x1ced2a[_0x5f4777(0x331)]),_0x3b9902(0x3,_0x1ced2a['Inject'](_0x378bf4[_0x5f4777(0x219)])),_0x3b9902(0x4,_0x1ced2a[_0x5f4777(0x284)](_0x519d5f['IRemoteInstanceService']))],_0x5cfa5d[_0x5f4777(0x255)]);var _0x5dbe4f=Object[_0x5f4777(0x29e)],_0x3fac92=(_0x7cce01,_0x1eb97c,_0x33bd4f,_0x40ab98)=>{const _0x3d7405=_0x5f4777;for(var _0x17ee42=_0x40ab98>0x1?void 0x0:_0x40ab98?_0x5dbe4f(_0x1eb97c,_0x33bd4f):_0x1eb97c,_0x58a8ae=_0x7cce01[_0x3d7405(0x15b)]-0x1,_0x54c8c7;_0x58a8ae>=0x0;_0x58a8ae--)(_0x54c8c7=_0x7cce01[_0x58a8ae])&&(_0x17ee42=_0x54c8c7(_0x17ee42)||_0x17ee42);return _0x17ee42;},_0x3ed36a=(_0x5b37c3,_0xe3dceb)=>(_0x1c483f,_0x4509da)=>_0xe3dceb(_0x1c483f,_0x4509da,_0x5b37c3);let _0x566d5c=class extends _0x1ced2a[_0x5f4777(0x26b)]{constructor(_0xeb7185,_0x98c902){const _0x54443c=_0x5f4777;super(),this['_docClipboardService']=_0xeb7185,this[_0x54443c(0x1c3)]=_0x98c902,this[_0x54443c(0x1c6)]();}[_0x5f4777(0x1c6)](){const _0x194b20=_0x5f4777,_0x5114eb=this;this['disposeWithMe'](this[_0x194b20(0x3cf)]['addClipboardHook']({'onBeforePasteImage':async _0x5c7cfd=>{const _0x1f02ff=_0x194b20,_0x50f2c0=await _0x5114eb['_imageIoService'][_0x1f02ff(0x400)](_0x5c7cfd);return _0x50f2c0?{'source':_0x50f2c0[_0x1f02ff(0x1ac)],'imageSourceType':_0x50f2c0[_0x1f02ff(0x165)]}:null;}}));}};_0x566d5c=_0x3fac92([_0x3ed36a(0x0,_0x2366a5[_0x5f4777(0x258)]),_0x3ed36a(0x1,_0x2a63ae[_0x5f4777(0x2a5)])],_0x566d5c);const _0x5306c3=[_0x5f4777(0x167),_0x5f4777(0x392),'green.600','red.300',_0x5f4777(0x279),_0x5f4777(0x294)];class _0x21d2e0 extends _0x1ced2a[_0x5f4777(0x29c)]{constructor(){const _0xbbc763=_0x5f4777;super(...arguments),_0x13969d(this,_0xbbc763(0x385),new Map()),_0x13969d(this,_0xbbc763(0x2b9),0x0);}[_0x5f4777(0x2e0)](_0x4f0f1a){const _0x296990=_0x5f4777;if(this[_0x296990(0x385)][_0x296990(0x2be)](_0x4f0f1a))return this[_0x296990(0x385)][_0x296990(0x2b5)](_0x4f0f1a);const _0x1ddc6a=_0x5306c3[this[_0x296990(0x2b9)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x5306c3[_0x296990(0x15b)],this[_0x296990(0x385)][_0x296990(0x2a2)](_0x4f0f1a,_0x1ddc6a),_0x1ddc6a;}}function _0x5c3f10(_0x2785ec){const _0x167f9f=_0x5f4777;let _0x36baaa='';for(const _0x479b97 of _0x2785ec){const {startOffset:_0x161e47,endOffset:_0x21dd33,isActive:_0x555bab,rangeType:_0x194de2,segmentId:_0x2f1d0b,segmentPage:_0x115297}=_0x479b97;_0x36baaa[_0x167f9f(0x15b)]&&(_0x36baaa+=','),_0x36baaa+=_0x161e47+':'+_0x21dd33+':'+(_0x555bab?'1':'0')+':'+_0x194de2+':'+_0x2f1d0b+':'+_0x115297;}return _0x36baaa;}function _0x56fc98(_0x302a3c){const _0x1b2e11=_0x5f4777,_0x5bbaa7=_0x302a3c[_0x1b2e11(0x2a1)](','),_0x2054f9=[];for(const _0x51d7ce of _0x5bbaa7){const [_0x5b8978,_0x47699b,_0x31dcf3,_0x1a8c68,_0x24a1a4,_0x3a13de]=_0x51d7ce[_0x1b2e11(0x2a1)](':');_0x2054f9[_0x1b2e11(0x263)]({'startOffset':Number(_0x5b8978),'endOffset':Number(_0x47699b),'collapsed':_0x5b8978===_0x47699b,'isActive':_0x31dcf3==='1','rangeType':_0x1a8c68===_0x1ced2a[_0x1b2e11(0x3cb)][_0x1b2e11(0x29f)]?_0x1ced2a[_0x1b2e11(0x3cb)]['TEXT']:_0x1ced2a[_0x1b2e11(0x3cb)]['RECT'],'segmentId':typeof _0x24a1a4==_0x1b2e11(0x2dc)?String(_0x24a1a4):'','segmentPage':Number(_0x3a13de!=null?_0x3a13de:-0x1)});}return _0x2054f9['some'](_0x194b22=>_0x194b22[_0x1b2e11(0x3e2)])||(_0x2054f9[0x0][_0x1b2e11(0x3e2)]=!0x0),_0x2054f9;}class _0x29a65a extends _0x1ced2a[_0x5f4777(0x26b)]{constructor(){const _0x213dc0=_0x5f4777;super(...arguments),_0x13969d(this,_0x213dc0(0x390),new _0x5d9504[(_0x213dc0(0x149))](null)),_0x13969d(this,_0x213dc0(0x1aa),this[_0x213dc0(0x390)][_0x213dc0(0x1d5)]());}[_0x5f4777(0x383)](_0x5731e7){const _0x51e761=_0x5f4777,{unitID:_0x5b1d5f,memberID:_0x36d42a,textRanges:_0x5c3f19}=_0x5731e7,_0x317fe6=_0x5c3f10(_0x5c3f19);if(_0x317fe6==='')return;const _0x12bcad={'unitID':_0x5b1d5f,'memberID':_0x36d42a,'selection':_0x317fe6};this[_0x51e761(0x390)][_0x51e761(0x121)](_0x12bcad);}}var _0x4b04da=Object[_0x5f4777(0x29e)],_0x1a248e=(_0x4a9a1b,_0x1d23f0,_0x471eda,_0x25f838)=>{const _0x2af8e7=_0x5f4777;for(var _0x391f5e=_0x25f838>0x1?void 0x0:_0x25f838?_0x4b04da(_0x1d23f0,_0x471eda):_0x1d23f0,_0xce81f6=_0x4a9a1b[_0x2af8e7(0x15b)]-0x1,_0x3b3c18;_0xce81f6>=0x0;_0xce81f6--)(_0x3b3c18=_0x4a9a1b[_0xce81f6])&&(_0x391f5e=_0x3b3c18(_0x391f5e)||_0x391f5e);return _0x391f5e;},_0x3320ea=(_0x56351c,_0x5a8bee)=>(_0x3c180f,_0x5693e8)=>_0x5a8bee(_0x3c180f,_0x5693e8,_0x56351c);const _0x416a84=0x12c,_0x4fa5b5=0x64;let _0x550b2e=class extends _0x1ced2a[_0x5f4777(0x26b)]{constructor(_0x486784,_0x55076d,_0xfad411,_0x5e694d,_0x2a146e,_0x13ed9a,_0x59028c,_0x19c0da,_0xd67272){const _0x494d44=_0x5f4777;super(),_0x13969d(this,'_online',!0x1),_0x13969d(this,_0x494d44(0x1c6),!0x1),_0x13969d(this,_0x494d44(0x1d7),new _0x5d9504[(_0x494d44(0x149))](new Map())),_0x13969d(this,_0x494d44(0x347),this['_cursorInfo$']['asObservable']()),_0x13969d(this,'_roomMembers$',new _0x5d9504[(_0x494d44(0x149))]([])),_0x13969d(this,_0x494d44(0x38b),this[_0x494d44(0x2f3)][_0x494d44(0x1b6)](_0x5d9504[_0x494d44(0x133)](_0x416a84))),_0x13969d(this,'_updateLocalCursor',_0x1ced2a['debounce'](_0x44dc7=>{const _0x5c5baa=_0x494d44,_0x1306a3={'eventID':_0x28eb5b['CollaborationEvent'][_0x5c5baa(0x3be)],'data':{'unitID':this[_0x5c5baa(0x1f0)],'memberID':this['_session'][_0x5c5baa(0x2b7)](),'selection':_0x5c3f10(_0x44dc7)}};this[_0x5c5baa(0x2cd)][_0x5c5baa(0x29b)](_0x1306a3,this[_0x5c5baa(0x1f0)]);},_0x4fa5b5)),(this[_0x494d44(0x1f0)]=_0x486784,this[_0x494d44(0x2cd)]=_0x55076d,this[_0x494d44(0x34e)]=_0xfad411,this[_0x494d44(0x3fc)]=_0x5e694d,this['_memberService']=_0x2a146e,this[_0x494d44(0x35c)]=_0x13ed9a,this[_0x494d44(0x327)]=_0x59028c,this['_univerInstanceService']=_0x19c0da,this[_0x494d44(0x287)]=_0xd67272);}get['cursorInfo'](){const _0x4cc4f0=_0x5f4777;return this[_0x4cc4f0(0x1d7)][_0x4cc4f0(0x160)]();}get[_0x5f4777(0x27f)](){const _0x5a8dd7=_0x5f4777;return this[_0x5a8dd7(0x2f3)][_0x5a8dd7(0x160)]();}['dispose'](){const _0x24f8d3=_0x5f4777;super[_0x24f8d3(0x256)](),this[_0x24f8d3(0x1d7)][_0x24f8d3(0x121)](new Map()),this[_0x24f8d3(0x1d7)]['complete'](),this[_0x24f8d3(0x2f3)][_0x24f8d3(0x121)]([]),this[_0x24f8d3(0x2f3)][_0x24f8d3(0x242)]();}[_0x5f4777(0x3f4)](){const _0x4afc2a=_0x5f4777;this[_0x4afc2a(0x1c6)]||(this['_init']=!0x0,this[_0x4afc2a(0x2cd)][_0x4afc2a(0x20c)]['pipe'](_0x5d9504[_0x4afc2a(0x39f)](this[_0x4afc2a(0x197)]))[_0x4afc2a(0x403)](_0x12d362=>{const _0xd37f57=_0x4afc2a;_0x12d362===_0x378bf4[_0xd37f57(0x353)]['ONLINE']?this[_0xd37f57(0x2c9)]():this[_0xd37f57(0x14e)]();}),this[_0x4afc2a(0x2cd)][_0x4afc2a(0x2bd)][_0x4afc2a(0x1b6)](_0x5d9504[_0x4afc2a(0x39f)](this['dispose$']))[_0x4afc2a(0x403)](_0x4cdc91=>{const _0x522519=_0x4afc2a,_0x4f45bf=_0x4cdc91[_0x522519(0x244)];_0x4f45bf===_0x28eb5b[_0x522519(0x334)][_0x522519(0x3be)]&&this[_0x522519(0x369)](_0x4cdc91),_0x4f45bf===_0x28eb5b[_0x522519(0x334)]['USERS_LEAVE']&&this[_0x522519(0x17d)](_0x4cdc91);}),this[_0x4afc2a(0x3b8)](this[_0x4afc2a(0x287)][_0x4afc2a(0x2e9)](_0x5d6343=>{const _0x1fa19f=_0x4afc2a,_0x584b22=_0x5d6343[_0x1fa19f(0x278)];_0x584b22!=null&&this['_online']&&_0x5d6343['id']===_0x56412a['SetTextSelectionsOperation']['id']&&_0x584b22[_0x1fa19f(0x3d9)]===this['unitID']&&_0x584b22[_0x1fa19f(0x38d)]===!0x1&&_0x584b22['ranges']['length']>0x0&&this['_updateLocalCursor'](_0x584b22[_0x1fa19f(0x216)]);})),this[_0x4afc2a(0x35c)]['collabCursorState$'][_0x4afc2a(0x1b6)](_0x5d9504[_0x4afc2a(0x39f)](this[_0x4afc2a(0x197)]))[_0x4afc2a(0x403)](_0x46cdb5=>{const _0x5703fe=_0x4afc2a;if((_0x46cdb5==null?void 0x0:_0x46cdb5['unitID'])!==this[_0x5703fe(0x1f0)])return;const _0x5dc65e={'eventID':_0x28eb5b[_0x5703fe(0x334)]['UPDATE_CURSOR'],'data':_0x46cdb5};this[_0x5703fe(0x369)](_0x5dc65e);}),this['disposeWithMe'](this[_0x4afc2a(0x287)][_0x4afc2a(0x2e9)](_0x24c1a0=>{const _0x16b5e2=_0x4afc2a;if(_0x24c1a0[_0x16b5e2(0x278)]==null)return;const _0x36601a=_0x24c1a0['params'];if(_0x24c1a0['id']!==_0x56412a['RichTextEditingMutation']['id']||_0x36601a['unitId']!==this[_0x16b5e2(0x1f0)])return;const _0x2c6bdd={'id':_0x16b5e2(0x36e),'params':_0x36601a},_0x18cd41=this['cursorInfo'];for(const [_0x57914c,_0x1e2abc]of _0x18cd41){const _0x55196b={'id':_0x16b5e2(0x36e),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x1e2abc[_0x16b5e2(0x216)]}},_0x5eba47=this[_0x16b5e2(0x327)][_0x16b5e2(0x3dd)](_0x2c6bdd,_0x55196b,!0x1);if(_0x28eb5b[_0x16b5e2(0x223)](_0x5eba47))throw _0x5eba47['error'];_0x18cd41[_0x16b5e2(0x2a2)](_0x57914c,{..._0x1e2abc,'ranges':_0x5eba47[_0x16b5e2(0x3d1)]['params']['textRanges']});}queueMicrotask(()=>{const _0x3ff21b=_0x16b5e2;this[_0x3ff21b(0x1d7)]['next'](_0x18cd41);});})));}['_onCursorUpdate'](_0x50780c){const _0x287f8d=_0x5f4777;var _0x1005da,_0x5da6a4;const {memberID:_0x14426a,selection:_0xe18f3b}=_0x50780c[_0x287f8d(0x241)],_0x47ef6a=_0x56fc98(_0xe18f3b),_0x1c36e0=(_0x5da6a4=(_0x1005da=this[_0x287f8d(0x3aa)][_0x287f8d(0x1a0)](this[_0x287f8d(0x1f0)],_0x14426a))==null?void 0x0:_0x1005da[_0x287f8d(0x308)])!=null?_0x5da6a4:'Unknown\x20user',_0x3c3d2b={'color':this[_0x287f8d(0x3fc)][_0x287f8d(0x2e0)](_0x14426a),'name':_0x1c36e0,'ranges':_0x47ef6a},_0x56cbf2=this[_0x287f8d(0x2a0)];_0x56cbf2[_0x287f8d(0x2a2)](_0x14426a,_0x3c3d2b),this[_0x287f8d(0x1d7)][_0x287f8d(0x121)](_0x56cbf2);}['_onCursorDelete'](_0x2bfdfa){const _0x201507=_0x5f4777,{memberID:_0x334864}=_0x2bfdfa['data'],_0x3552c2=this[_0x201507(0x2a0)];_0x3552c2[_0x201507(0x259)](_0x334864),this[_0x201507(0x1d7)][_0x201507(0x121)](_0x3552c2);}[_0x5f4777(0x2c9)](){const _0xff1568=_0x5f4777;var _0x1f6667;if(this[_0xff1568(0x183)]=!0x0,((_0x1f6667=this[_0xff1568(0x332)]['getFocusedUnit']())==null?void 0x0:_0x1f6667[_0xff1568(0x3b0)]())!==this[_0xff1568(0x1f0)])return;const _0x25703e=this[_0xff1568(0x34e)][_0xff1568(0x2b5)](_0x56412a[_0xff1568(0x189)])[_0xff1568(0x366)]();Array[_0xff1568(0x192)](_0x25703e)&&_0x25703e[_0xff1568(0x15b)]>0x0&&this['_updateLocalCursor'](_0x25703e);}[_0x5f4777(0x14e)](){const _0x388d28=_0x5f4777;this[_0x388d28(0x183)]=!0x1;}};_0x550b2e=_0x1a248e([_0x3320ea(0x2,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x2af)])),_0x3320ea(0x3,_0x1ced2a[_0x5f4777(0x3e1)](_0x21d2e0)),_0x3320ea(0x4,_0x1ced2a[_0x5f4777(0x3e1)](_0x378bf4['MemberService'])),_0x3320ea(0x5,_0x1ced2a[_0x5f4777(0x3e1)](_0x29a65a)),_0x3320ea(0x6,_0x28eb5b[_0x5f4777(0x218)]),_0x3320ea(0x7,_0x1ced2a['IUniverInstanceService']),_0x3320ea(0x8,_0x1ced2a[_0x5f4777(0x331)])],_0x550b2e);var _0x1a1e61=Object['getOwnPropertyDescriptor'],_0x16ea2d=(_0x68e5b2,_0x5d9d83,_0x2c1cf8,_0x157882)=>{const _0x20417e=_0x5f4777;for(var _0xba7fba=_0x157882>0x1?void 0x0:_0x157882?_0x1a1e61(_0x5d9d83,_0x2c1cf8):_0x5d9d83,_0x29ea31=_0x68e5b2[_0x20417e(0x15b)]-0x1,_0x3bc54c;_0x29ea31>=0x0;_0x29ea31--)(_0x3bc54c=_0x68e5b2[_0x29ea31])&&(_0xba7fba=_0x3bc54c(_0xba7fba)||_0xba7fba);return _0xba7fba;},_0x53b719=(_0x3292d0,_0x655bb5)=>(_0x630245,_0x392524)=>_0x655bb5(_0x630245,_0x392524,_0x3292d0);const _0x87778a=0x12c,_0x45d485=0x64,_0x18acb5=()=>{let _0x43e966=[],_0x2ebdcb=!0x1;return _0x5c9e54=>{const _0x204279=_0x1d45;_0x43e966[_0x204279(0x263)](_0x5c9e54),_0x2ebdcb||(_0x2ebdcb=!0x0,setTimeout(()=>{const _0x40f31c=_0x204279;_0x43e966[_0x40f31c(0x196)](_0x5a57fd=>_0x5a57fd()),_0x43e966=[],_0x2ebdcb=!0x1;}));};};let _0x12a92c=class extends _0x1ced2a['RxDisposable']{constructor(_0x1e8d25,_0x3ef77a,_0x2ace46,_0x22665b,_0x469223,_0x25ad11,_0x460362,_0x1d86f5){const _0x471a77=_0x5f4777;super(),_0x13969d(this,_0x471a77(0x183),!0x1),_0x13969d(this,_0x471a77(0x1c6),!0x1),_0x13969d(this,'_cursorInfo$',new _0x5d9504[(_0x471a77(0x149))](new Map())),_0x13969d(this,_0x471a77(0x347),this[_0x471a77(0x1d7)][_0x471a77(0x1d5)]()),_0x13969d(this,_0x471a77(0x2f3),new _0x5d9504[(_0x471a77(0x149))]([])),_0x13969d(this,_0x471a77(0x38b),this[_0x471a77(0x2f3)][_0x471a77(0x1b6)](_0x5d9504[_0x471a77(0x133)](_0x87778a))),_0x13969d(this,_0x471a77(0x3cc),_0x1ced2a[_0x471a77(0x1d3)]((_0x3ba515,_0x3c3607)=>{const _0x455d8b=_0x471a77,_0x5b5b1d={'eventID':_0x28eb5b[_0x455d8b(0x334)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x455d8b(0x1f0)],'memberID':this[_0x455d8b(0x2cd)][_0x455d8b(0x2b7)](),'selection':_0x900d4['serializeRangeWithSheet'](_0x3ba515,_0x3c3607[_0x455d8b(0x13a)])}};this[_0x455d8b(0x2cd)][_0x455d8b(0x29b)](_0x5b5b1d,this[_0x455d8b(0x1f0)]);},_0x45d485)),(this[_0x471a77(0x1f0)]=_0x1e8d25,this['_session']=_0x3ef77a,this[_0x471a77(0x34e)]=_0x2ace46,this[_0x471a77(0x3fc)]=_0x22665b,this[_0x471a77(0x3aa)]=_0x469223,this[_0x471a77(0x332)]=_0x25ad11,this['_commandService']=_0x460362,this['_refRangeService']=_0x1d86f5);}get[_0x5f4777(0x2a0)](){const _0x2f0a2e=_0x5f4777;return this['_cursorInfo$'][_0x2f0a2e(0x160)]();}get['roomMembers'](){const _0x16e6ee=_0x5f4777;return this[_0x16e6ee(0x2f3)]['getValue']();}[_0x5f4777(0x256)](){const _0x37e9e7=_0x5f4777;super[_0x37e9e7(0x256)](),this[_0x37e9e7(0x1d7)][_0x37e9e7(0x121)](new Map()),this[_0x37e9e7(0x1d7)][_0x37e9e7(0x242)](),this[_0x37e9e7(0x2f3)][_0x37e9e7(0x121)]([]),this[_0x37e9e7(0x2f3)]['complete']();}[_0x5f4777(0x3f4)](){const _0x29edb5=_0x5f4777;this[_0x29edb5(0x1c6)]||(this[_0x29edb5(0x1c6)]=!0x0,this[_0x29edb5(0x2cd)][_0x29edb5(0x20c)]['pipe'](_0x5d9504[_0x29edb5(0x39f)](this[_0x29edb5(0x197)]))[_0x29edb5(0x403)](_0x5735ae=>{const _0x48b431=_0x29edb5;_0x5735ae===_0x378bf4['SessionStatus'][_0x48b431(0x2e6)]?this[_0x48b431(0x2c9)]():this['_toggleOffline']();}),this[_0x29edb5(0x2cd)][_0x29edb5(0x2bd)]['pipe'](_0x5d9504['takeUntil'](this['dispose$']))['subscribe'](_0x164103=>{const _0x85cb5=_0x29edb5,_0x408f39=_0x164103[_0x85cb5(0x244)];_0x408f39===_0x28eb5b[_0x85cb5(0x334)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x164103),_0x408f39===_0x28eb5b[_0x85cb5(0x334)][_0x85cb5(0x210)]&&this[_0x85cb5(0x17d)](_0x164103);}),this[_0x29edb5(0x359)](),this[_0x29edb5(0x3b8)](this[_0x29edb5(0x287)]['onCommandExecuted'](_0x4d95a9=>{const _0x39f66d=_0x29edb5;if(this[_0x39f66d(0x183)]&&_0x4d95a9['id']===_0x4cc6da[_0x39f66d(0x136)]['id']&&_0x4d95a9['params'][_0x39f66d(0x3d9)]===this[_0x39f66d(0x1f0)]){const _0x1d2360=_0x4d95a9[_0x39f66d(0x278)];this[_0x39f66d(0x3cc)](_0x1d2360[_0x39f66d(0x163)],_0x1d2360[_0x39f66d(0x357)][0x0]);}})));}[_0x5f4777(0x369)](_0x290a14){const _0xe3c2a0=_0x5f4777;var _0x289457,_0x6f19fa;const {memberID:_0x34b08d,selection:_0xc5e36e}=_0x290a14[_0xe3c2a0(0x241)],{sheetName:_0x3f83b4,range:_0x528615}=_0x900d4[_0xe3c2a0(0x3e3)](_0xc5e36e),_0x373fd5={'name':(_0x6f19fa=(_0x289457=this[_0xe3c2a0(0x3aa)][_0xe3c2a0(0x1a0)](this[_0xe3c2a0(0x1f0)],_0x34b08d))==null?void 0x0:_0x289457[_0xe3c2a0(0x308)])!=null?_0x6f19fa:_0xe3c2a0(0x373),'range':this[_0xe3c2a0(0x1d0)](_0x3f83b4,_0x528615),'sheetID':_0x3f83b4,'color':this[_0xe3c2a0(0x3fc)][_0xe3c2a0(0x2e0)](_0x34b08d),'selection':_0xc5e36e},_0x486c9a=this[_0xe3c2a0(0x2a0)];_0x486c9a[_0xe3c2a0(0x2a2)](_0x34b08d,_0x373fd5),this[_0xe3c2a0(0x1d7)][_0xe3c2a0(0x121)](_0x486c9a);}[_0x5f4777(0x17d)](_0x3cc8cb){const _0x382e28=_0x5f4777,{memberID:_0x4b2f9f}=_0x3cc8cb[_0x382e28(0x241)],_0x55e722=this[_0x382e28(0x2a0)];_0x55e722[_0x382e28(0x259)](_0x4b2f9f),this[_0x382e28(0x1d7)][_0x382e28(0x121)](_0x55e722);}[_0x5f4777(0x1d0)](_0x44eeee,_0x4f3e0c){const _0x9582a4=_0x5f4777;var _0x157630,_0x3b32fd;const _0x43035f=(_0x3b32fd=(_0x157630=this[_0x9582a4(0x332)][_0x9582a4(0x3eb)](this['unitID']))==null?void 0x0:_0x157630[_0x9582a4(0x358)](_0x44eeee))==null?void 0x0:_0x3b32fd[_0x9582a4(0x16c)]();return(_0x43035f==null?void 0x0:_0x43035f[_0x9582a4(0x23b)](_0x1f41a0=>_0x1ced2a[_0x9582a4(0x19f)][_0x9582a4(0x292)](_0x1f41a0,_0x4f3e0c)))||_0x4f3e0c;}['_onRefRangeChange'](){const _0xd77153=_0x5f4777,_0xab704e=new _0x1ced2a[(_0xd77153(0x40a))](),_0xafc3b7=_0x18acb5(),_0x2d48d7=()=>{const _0x1a7895=_0xd77153;_0xab704e['dispose']();const _0x58c0ad=(_0x37399d,_0x45bb01,_0x46aa92,_0x46c601)=>{const _0xf37e4a=_0x1d45;let _0x5adca2=[];switch(_0x37399d['id']){case _0x4cc6da[_0xf37e4a(0x274)][_0xf37e4a(0x265)]:{_0x5adca2=_0x4cc6da[_0xf37e4a(0x25f)](_0x37399d,_0x46c601);break;}case _0x4cc6da[_0xf37e4a(0x274)][_0xf37e4a(0x222)]:{_0x5adca2=_0x4cc6da[_0xf37e4a(0x2da)](_0x37399d,_0x46c601);break;}case _0x4cc6da[_0xf37e4a(0x274)]['InsertColCommandId']:{_0x5adca2=_0x4cc6da[_0xf37e4a(0x2e1)](_0x37399d,_0x46c601);break;}case _0x4cc6da[_0xf37e4a(0x274)][_0xf37e4a(0x2ae)]:{_0x5adca2=_0x4cc6da[_0xf37e4a(0x340)](_0x37399d,_0x46c601);break;}case _0x4cc6da['EffectRefRangId'][_0xf37e4a(0x1e7)]:{_0x5adca2=_0x4cc6da[_0xf37e4a(0x33d)](_0x37399d,_0x46c601);break;}case _0x4cc6da['EffectRefRangId'][_0xf37e4a(0x153)]:{_0x5adca2=_0x4cc6da[_0xf37e4a(0x3c5)](_0x37399d,_0x46c601);break;}case _0x4cc6da[_0xf37e4a(0x274)][_0xf37e4a(0x2b0)]:{_0x5adca2=_0x4cc6da['handleMoveRange'](_0x37399d,_0x46c601);break;}case _0x4cc6da[_0xf37e4a(0x274)]['RemoveColCommandId']:{_0x5adca2=_0x4cc6da[_0xf37e4a(0x130)](_0x37399d,_0x46c601);break;}case _0x4cc6da[_0xf37e4a(0x274)]['RemoveRowCommandId']:{_0x5adca2=_0x4cc6da[_0xf37e4a(0x36d)](_0x37399d,_0x46c601);break;}}const _0x3e1a6b=_0x4cc6da[_0xf37e4a(0x1d4)](_0x5adca2,_0x46c601),_0x533fb3=this[_0xf37e4a(0x2a0)]['get'](_0x45bb01);if(_0x533fb3&&_0x3e1a6b){const _0x392cbf={..._0x533fb3,'range':_0x3e1a6b};this[_0xf37e4a(0x2a0)]['set'](_0x45bb01,_0x392cbf),_0xafc3b7(()=>{const _0x2dea63=_0xf37e4a,_0x9067f=this[_0x2dea63(0x3ea)]['registerRefRange'](_0x3e1a6b,_0x37518a=>(_0x9067f['dispose'](),_0x58c0ad(_0x37518a,_0x45bb01,_0x46aa92,_0x3e1a6b)));_0xab704e[_0x2dea63(0x248)](_0x9067f);});}return{'redos':[],'undos':[]};};this[_0x1a7895(0x2a0)][_0x1a7895(0x196)]((_0x2b3c96,_0x2f295f)=>{const _0x256430=_0x1a7895,{range:_0x1cc608,sheetID:_0x2dfd27}=_0x2b3c96,_0x609eae=this[_0x256430(0x3ea)]['registerRefRange'](_0x1cc608,_0x550ddd=>(_0x609eae[_0x256430(0x256)](),_0x58c0ad(_0x550ddd,_0x2f295f,_0x2dfd27,_0x1cc608)));_0xab704e[_0x256430(0x248)](_0x609eae);});};this[_0xd77153(0x3b8)](_0x1ced2a[_0xd77153(0x3a0)](this[_0xd77153(0x1d7)][_0xd77153(0x403)](()=>{_0x2d48d7();})));}[_0x5f4777(0x2c9)](){const _0x198b62=_0x5f4777;var _0x2549fd,_0xf7e5a8;if(this[_0x198b62(0x183)]=!0x0,((_0x2549fd=this[_0x198b62(0x332)][_0x198b62(0x168)]())==null?void 0x0:_0x2549fd[_0x198b62(0x3b0)]())!==this['unitID'])return;const _0x42e2b9=(_0xf7e5a8=this[_0x198b62(0x34e)][_0x198b62(0x2b5)](_0x4cc6da[_0x198b62(0x1a6)])[_0x198b62(0x15c)]())==null?void 0x0:_0xf7e5a8[0x0],_0x59ffb4=this[_0x198b62(0x332)]['getCurrentUnitForType'](_0x1ced2a[_0x198b62(0x3b7)][_0x198b62(0x228)])[_0x198b62(0x275)]();_0x42e2b9&&_0x59ffb4&&this[_0x198b62(0x3cc)](_0x59ffb4[_0x198b62(0x2ca)](),_0x42e2b9);}['_toggleOffline'](){this['_online']=!0x1;}};_0x12a92c=_0x16ea2d([_0x53b719(0x2,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x2af)])),_0x53b719(0x3,_0x1ced2a['Inject'](_0x21d2e0)),_0x53b719(0x4,_0x1ced2a[_0x5f4777(0x3e1)](_0x378bf4[_0x5f4777(0x2d4)])),_0x53b719(0x5,_0x1ced2a[_0x5f4777(0x24c)]),_0x53b719(0x6,_0x1ced2a[_0x5f4777(0x331)]),_0x53b719(0x7,_0x1ced2a[_0x5f4777(0x3e1)](_0x4cc6da[_0x5f4777(0x2fc)]))],_0x12a92c);var _0x5a1b81=Object[_0x5f4777(0x29e)],_0x289d67=(_0x2905dd,_0x30cfeb,_0x28f542,_0x2e4a24)=>{for(var _0x11a0f0=_0x2e4a24>0x1?void 0x0:_0x2e4a24?_0x5a1b81(_0x30cfeb,_0x28f542):_0x30cfeb,_0x450b24=_0x2905dd['length']-0x1,_0x3b409e;_0x450b24>=0x0;_0x450b24--)(_0x3b409e=_0x2905dd[_0x450b24])&&(_0x11a0f0=_0x3b409e(_0x11a0f0)||_0x11a0f0);return _0x11a0f0;},_0x34a9c5=(_0x4c7d29,_0x292e2b)=>(_0xfe426d,_0x4e6dc6)=>_0x292e2b(_0xfe426d,_0x4e6dc6,_0x4c7d29);let _0x114331=class extends _0x1ced2a[_0x5f4777(0x26b)]{constructor(_0x27bbbd,_0x5da6bc,_0xbe0be4){const _0x1b82e4=_0x5f4777;super(),_0x13969d(this,_0x1b82e4(0x1eb),new Map()),_0x13969d(this,'_entityInit$',new _0x5d9504[(_0x1b82e4(0x207))]()),(this[_0x1b82e4(0x332)]=_0x27bbbd,this[_0x1b82e4(0x34e)]=_0x5da6bc,this[_0x1b82e4(0x288)]=_0xbe0be4,this[_0x1b82e4(0x1c6)]());}[_0x5f4777(0x256)](){const _0x4e5df2=_0x5f4777;super[_0x4e5df2(0x256)](),this[_0x4e5df2(0x3b1)][_0x4e5df2(0x242)](),this['_entities'][_0x4e5df2(0x196)](_0x507fe6=>_0x507fe6[_0x4e5df2(0x256)]());}[_0x5f4777(0x14f)](_0x400250){const _0xd02818=_0x5f4777;return this[_0xd02818(0x1eb)]['has'](_0x400250)?this[_0xd02818(0x1eb)][_0xd02818(0x2b5)](_0x400250)[_0xd02818(0x347)]:this[_0xd02818(0x3b1)][_0xd02818(0x1b6)](_0x5d9504[_0xd02818(0x2e5)](_0x24fbc1=>_0x24fbc1[_0xd02818(0x1f0)]===_0x400250),_0x5d9504[_0xd02818(0x229)](_0x2a1608=>_0x2a1608['cursorInfo$']));}[_0x5f4777(0x1c6)](){const _0x5e51a3=_0x5f4777;this[_0x5e51a3(0x332)][_0x5e51a3(0x328)](_0x1ced2a[_0x5e51a3(0x3b7)][_0x5e51a3(0x228)])[_0x5e51a3(0x1b6)](_0x5d9504[_0x5e51a3(0x39f)](this[_0x5e51a3(0x197)]))['subscribe'](async _0x1fb25c=>{const _0x40e1f5=_0x5e51a3,_0x3fe0e6=_0x1fb25c[_0x40e1f5(0x3b0)](),_0x3dc361=await this[_0x40e1f5(0x245)](_0x3fe0e6);this[_0x40e1f5(0x3b1)][_0x40e1f5(0x121)](_0x3dc361),this[_0x40e1f5(0x1eb)]['set'](_0x3fe0e6,_0x3dc361);}),this[_0x5e51a3(0x332)][_0x5e51a3(0x328)](_0x1ced2a[_0x5e51a3(0x3b7)][_0x5e51a3(0x2f6)])['pipe'](_0x5d9504[_0x5e51a3(0x39f)](this['dispose$']))[_0x5e51a3(0x1b6)](_0x5d9504['filter'](_0x2c229d=>!_0x2c229d['getUnitId']()[_0x5e51a3(0x181)]('__')))['subscribe'](async _0x3a591f=>{const _0x1d51bb=_0x5e51a3,_0x43eb55=_0x3a591f[_0x1d51bb(0x3b0)](),_0x33fb40=await this[_0x1d51bb(0x1e2)](_0x43eb55);this[_0x1d51bb(0x3b1)][_0x1d51bb(0x121)](_0x33fb40),this[_0x1d51bb(0x1eb)][_0x1d51bb(0x2a2)](_0x43eb55,_0x33fb40);}),_0x5d9504['merge'](this[_0x5e51a3(0x332)][_0x5e51a3(0x3d4)](_0x1ced2a[_0x5e51a3(0x3b7)][_0x5e51a3(0x2f6)]),this['_univerInstanceService'][_0x5e51a3(0x3d4)](_0x1ced2a['UniverInstanceType'][_0x5e51a3(0x228)]))[_0x5e51a3(0x1b6)](_0x5d9504[_0x5e51a3(0x39f)](this['dispose$']))['subscribe'](_0x283b86=>{const _0x6a2020=_0x5e51a3,_0x5a39ac=_0x283b86[_0x6a2020(0x3b0)](),_0x545fec=this['_entities']['get'](_0x5a39ac);_0x545fec&&(_0x545fec['dispose'](),this['_entities']['delete'](_0x5a39ac));});}async[_0x5f4777(0x245)](_0x49733a){const _0x34bbc3=_0x5f4777,_0x257247=await this[_0x34bbc3(0x288)]['requireSession'](_0x49733a),_0x34d1d9=this['_injector'][_0x34bbc3(0x224)](_0x12a92c,_0x49733a,_0x257247);return _0x34d1d9[_0x34bbc3(0x3f4)](),_0x34d1d9;}async[_0x5f4777(0x1e2)](_0xf76aae){const _0x9ce612=_0x5f4777,_0xcd6649=await this[_0x9ce612(0x288)][_0x9ce612(0x1c5)](_0xf76aae),_0x4be544=this[_0x9ce612(0x34e)][_0x9ce612(0x224)](_0x550b2e,_0xf76aae,_0xcd6649);return _0x4be544[_0x9ce612(0x3f4)](),_0x4be544;}};_0x114331=_0x289d67([_0x34a9c5(0x0,_0x1ced2a[_0x5f4777(0x24c)]),_0x34a9c5(0x1,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x2af)])),_0x34a9c5(0x2,_0x1ced2a[_0x5f4777(0x3e1)](_0x378bf4['CollaborationSessionService']))],_0x114331);const _0x121f65=0x14,_0x171229=0xc8,_0x31786f=0x4,_0x4465da=0x5;function _0x4b1af2(_0x3c4990,_0x16e976){const _0x34bf8c=_0x5f4777;let {radius:_0x13681f,width:_0xd00499,height:_0x1da299}=_0x16e976;_0x13681f=_0x13681f!=null?_0x13681f:0x0,_0xd00499=_0xd00499!=null?_0xd00499:0x1e,_0x1da299=_0x1da299!=null?_0x1da299:0x1e;let _0x4d3a3f=0x0,_0x7c6584=0x0,_0x1988cb=0x0;_0x4d3a3f=_0x7c6584=_0x1988cb=Math[_0x34bf8c(0x2fe)](_0x13681f,_0xd00499/0x2,_0x1da299/0x2),_0x3c4990['beginPath'](),_0x3c4990[_0x34bf8c(0x194)](_0x4d3a3f,0x0),_0x3c4990['lineTo'](_0xd00499-_0x7c6584,0x0),_0x3c4990['arc'](_0xd00499-_0x7c6584,_0x7c6584,_0x7c6584,Math['PI']*0x3/0x2,0x0,!0x1),_0x3c4990['lineTo'](_0xd00499,_0x1da299-_0x1988cb),_0x3c4990['arc'](_0xd00499-_0x1988cb,_0x1da299-_0x1988cb,_0x1988cb,0x0,Math['PI']/0x2,!0x1),_0x3c4990[_0x34bf8c(0x318)](0x0,_0x1da299),_0x3c4990['lineTo'](0x0,_0x4d3a3f),_0x3c4990[_0x34bf8c(0x152)](_0x4d3a3f,_0x4d3a3f,_0x4d3a3f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3c4990[_0x34bf8c(0x314)](),_0x16e976[_0x34bf8c(0x12e)]&&(_0x3c4990[_0x34bf8c(0x28f)](),_0x3c4990['fillStyle']=_0x16e976[_0x34bf8c(0x12e)],_0x16e976[_0x34bf8c(0x122)]===_0x34bf8c(0x3ca)?_0x3c4990[_0x34bf8c(0x12e)]('evenodd'):_0x3c4990[_0x34bf8c(0x12e)](),_0x3c4990['restore']());}class _0x4087db extends _0x40ad79[_0x5f4777(0x185)]{constructor(_0x3803ae,_0x51c33b){const _0x53622a=_0x5f4777;super(_0x3803ae,_0x51c33b),_0x13969d(this,_0x53622a(0x34c)),_0x13969d(this,'text'),(this[_0x53622a(0x34c)]=_0x51c33b==null?void 0x0:_0x51c33b[_0x53622a(0x34c)],this['text']=_0x51c33b==null?void 0x0:_0x51c33b[_0x53622a(0x37b)]);}static['drawWith'](_0x1904d0,_0x5de89b){const _0x9cdcfd=_0x5f4777,{text:_0x669cb3,color:_0x1a7605}=_0x5de89b;_0x1904d0[_0x9cdcfd(0x28f)](),_0x1904d0[_0x9cdcfd(0x34b)]=_0x9cdcfd(0x1bc);const _0x472c8c=_0x1904d0[_0x9cdcfd(0x367)](_0x669cb3)['width'],_0x1ccd8a=Math[_0x9cdcfd(0x2fe)](_0x472c8c+0x2*_0x31786f,_0x171229);_0x4b1af2(_0x1904d0,{'height':_0x121f65,'radius':0x4,'width':_0x1ccd8a,'fill':_0x1a7605}),_0x1904d0[_0x9cdcfd(0x1de)]=_0x9cdcfd(0x19e);const _0x160e8b=_0x31786f,_0x38c413=_0x121f65-_0x4465da,_0x2bf94c=_0x171229-0x2*_0x31786f;if(_0x472c8c>_0x2bf94c){let _0x6c253d='',_0x23f98b=0x0;for(const _0x592a00 of _0x669cb3){const _0xd43d1c=_0x1904d0[_0x9cdcfd(0x367)](_0x592a00)[_0x9cdcfd(0x3b9)];if(_0x23f98b+_0xd43d1c<=_0x2bf94c-_0x1904d0[_0x9cdcfd(0x367)](_0x9cdcfd(0x316))['width'])_0x6c253d+=_0x592a00,_0x23f98b+=_0xd43d1c;else{_0x6c253d+=_0x9cdcfd(0x316);break;}}_0x1904d0[_0x9cdcfd(0x399)](_0x6c253d,_0x160e8b,_0x38c413);}else _0x1904d0['fillText'](_0x669cb3,_0x160e8b,_0x38c413);_0x1904d0['restore']();}[_0x5f4777(0x3f9)](_0x765eb2){const _0x3edc59=_0x5f4777;_0x4087db[_0x3edc59(0x139)](_0x765eb2,this);}}const _0x18a3d1=_0x5f4777(0x18c),_0x182168=_0x5f4777(0x341),_0x1cbc9f=_0x5f4777(0x309),_0x365f6a=0x6,_0x2a476b=1.5,_0x4eac9c=0x4,_0x4a0468=1.5,_0x584ddb='rgba(255,\x20255,\x20255,\x200.01)';class _0x46f806{constructor(_0x339f0e,_0x37357b,_0x19026e,_0x17de3e){const _0x1ebb30=_0x5f4777;_0x13969d(this,_0x1ebb30(0x18a),[]),_0x13969d(this,_0x1ebb30(0x391),null),_0x13969d(this,_0x1ebb30(0x230),null),_0x13969d(this,_0x1ebb30(0x131),null),_0x13969d(this,'_hideTimer',null),_0x13969d(this,_0x1ebb30(0x32a),null),(this[_0x1ebb30(0x2bf)]=_0x339f0e,this[_0x1ebb30(0x11b)]=_0x37357b,this[_0x1ebb30(0x3ae)]=_0x19026e,this[_0x1ebb30(0x15e)]=_0x17de3e,this[_0x1ebb30(0x257)]());}set[_0x5f4777(0x317)](_0x130723){const _0x202fee=_0x5f4777;_0x130723?(this[_0x202fee(0x131)]&&this['_anchorDot'][_0x202fee(0x2e2)](),this[_0x202fee(0x230)]&&this['_textBubble']['show']()):(this[_0x202fee(0x131)]&&this['_anchorDot'][_0x202fee(0x2d8)](),this[_0x202fee(0x230)]&&this['_textBubble'][_0x202fee(0x2e2)]());}[_0x5f4777(0x256)](){const _0x16fb28=_0x5f4777;for(const _0x4620e0 of this[_0x16fb28(0x18a)])_0x4620e0[_0x16fb28(0x256)]();this[_0x16fb28(0x230)]&&this[_0x16fb28(0x230)][_0x16fb28(0x256)](),this[_0x16fb28(0x131)]&&this[_0x16fb28(0x131)][_0x16fb28(0x256)](),this[_0x16fb28(0x391)]&&this['_anchor'][_0x16fb28(0x256)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x5f4777(0x257)](){const _0x4bb2d0=_0x5f4777;var _0x2ada2c;const {_docSkeleton:_0x26fec2,_document:_0xb9495f}=this,{color:_0x1d90e0,name:_0x5461ec,ranges:_0x17e902}=this[_0x4bb2d0(0x2bf)],_0x4f242b=_0xb9495f['getOffsetConfig'](),{docsLeft:_0x58f337,docsTop:_0x1e4797}=_0x4f242b,_0x5e5b7b=new _0x2366a5[(_0x4bb2d0(0x2ef))](_0x4f242b,_0x26fec2);for(const {startOffset:_0x4ebd42,endOffset:_0x42ee9d,rangeType:_0x4b227f,segmentId:_0x64a4d,segmentPage:_0x5ecd01,collapsed:_0x1dbcf1,isActive:_0x216bf8}of _0x17e902){const _0x2637fb=_0x26fec2['findNodePositionByCharIndex'](_0x4ebd42,!0x0,_0x64a4d,_0x5ecd01);let _0x5a5a7f=_0x26fec2[_0x4bb2d0(0x24b)](_0x42ee9d,!0x0,_0x64a4d,_0x5ecd01);if(_0x5a5a7f==null&&(_0x5a5a7f=_0x26fec2[_0x4bb2d0(0x24b)](_0x42ee9d-0x1,!0x1,_0x64a4d,_0x5ecd01)),_0x216bf8){const {contentBoxPointGroup:_0x3760cb}=_0x5e5b7b[_0x4bb2d0(0x321)](_0x5a5a7f,_0x5a5a7f);if(_0x3760cb[_0x4bb2d0(0x15b)]===0x0)continue;this[_0x4bb2d0(0x3b4)](_0x1d90e0,_0x3760cb,_0x58f337,_0x1e4797,_0x5461ec),this[_0x4bb2d0(0x32a)]=this[_0x4bb2d0(0x129)]();}if(_0x2637fb&&_0x5a5a7f){if(_0x4b227f===_0x1ced2a[_0x4bb2d0(0x3cb)][_0x4bb2d0(0x180)]){const _0x23a5a0=new _0x2366a5[(_0x4bb2d0(0x2ea))](_0x4f242b,_0x26fec2),{pointGroup:_0x574f62}=(_0x2ada2c=_0x23a5a0['getRangePointData'](_0x2637fb,_0x5a5a7f))!=null?_0x2ada2c:{};if(_0x574f62==null||_0x574f62[_0x4bb2d0(0x15b)]===0x0)continue;this[_0x4bb2d0(0x1e0)](_0x1d90e0,_0x574f62,_0x58f337,_0x1e4797);}else{if(!_0x1dbcf1){const {borderBoxPointGroup:_0x5a1bab}=_0x5e5b7b[_0x4bb2d0(0x321)](_0x2637fb,_0x5a5a7f);if(_0x5a1bab[_0x4bb2d0(0x15b)]===0x0)continue;this['_drawTextRange'](_0x1d90e0,_0x5a1bab,_0x58f337,_0x1e4797);}}}}}[_0x5f4777(0x3b4)](_0x38d414,_0x2dd11b,_0x12ed1b,_0x3220d8,_0x275636){const _0xd67bbd=_0x5f4777,_0x314695=this[_0xd67bbd(0x252)](_0x2dd11b),{left:_0x41631d,top:_0x2a7096,height:_0x123bbd}=_0x314695,_0x4f5848=this['_getScale'](),_0x199ad6=_0x4a0468/_0x4f5848,_0x3f6ca2=new _0x40ad79[(_0xd67bbd(0x30e))](_0x18a3d1+_0x1ced2a[_0xd67bbd(0x3d7)](_0x365f6a),{'left':_0x41631d+_0x12ed1b-_0x199ad6,'top':_0x2a7096+_0x3220d8,'height':_0x123bbd,'width':_0x2a476b,'fill':_0x38d414||_0x40ad79[_0xd67bbd(0x191)](_0x1ced2a['COLORS']['black'],0x0),'strokeWidth':_0x199ad6,'stroke':_0x584ddb,'evented':!0x0});this[_0xd67bbd(0x391)]=_0x3f6ca2,this['_scene'][_0xd67bbd(0x195)](_0x3f6ca2,_0x2366a5[_0xd67bbd(0x17e)]);const _0x1948d9=new _0x40ad79[(_0xd67bbd(0x30e))](_0x18a3d1+_0x1ced2a[_0xd67bbd(0x3d7)](_0x365f6a),{'left':_0x41631d+_0x12ed1b-_0x199ad6,'top':_0x2a7096+_0x3220d8-_0x4eac9c/0x2,'height':_0x4eac9c,'width':_0x4eac9c,'fill':_0x38d414||_0x40ad79[_0xd67bbd(0x191)](_0x1ced2a[_0xd67bbd(0x247)][_0xd67bbd(0x24a)],0x0),'strokeWidth':0x0,'stroke':_0x38d414||_0x40ad79[_0xd67bbd(0x191)](_0x1ced2a[_0xd67bbd(0x247)][_0xd67bbd(0x24a)],0x0),'evented':!0x1});this[_0xd67bbd(0x131)]=_0x1948d9,this[_0xd67bbd(0x11b)][_0xd67bbd(0x195)](_0x1948d9,_0x2366a5[_0xd67bbd(0x17e)]);const _0x4c6d4d=new _0x4087db(_0x18a3d1+_0x1ced2a[_0xd67bbd(0x3d7)](_0x365f6a),{'left':_0x41631d+_0x12ed1b-_0x199ad6,'top':_0x2a7096+_0x3220d8-_0x121f65,'text':_0x275636,'color':_0x38d414});this['_textBubble']=_0x4c6d4d,this[_0xd67bbd(0x11b)][_0xd67bbd(0x195)](_0x4c6d4d,_0x2366a5[_0xd67bbd(0x17e)]),this[_0xd67bbd(0x317)]=!0x1;}[_0x5f4777(0x129)](){const _0x31f0e8=_0x5f4777,_0x3d6fcb=this[_0x31f0e8(0x391)][_0x31f0e8(0x3f3)][_0x31f0e8(0x330)](()=>{const _0x40eb6f=_0x31f0e8;this[_0x40eb6f(0x317)]=!0x0;}),_0x3f5a24=this['_anchor'][_0x31f0e8(0x125)][_0x31f0e8(0x330)](()=>{const _0x2e0d9c=_0x31f0e8;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x2e0d9c(0x2d9)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x574685=_0x31f0e8;_0x3d6fcb[_0x574685(0x25b)](),_0x3f5a24[_0x574685(0x25b)]();};}[_0x5f4777(0x268)](_0x417d7d,_0x41653c,_0x59b5ae,_0x440002){const _0x340330=_0x5f4777,_0x57add3=new _0x1ced2a[(_0x340330(0x18e))](_0x417d7d)[_0x340330(0x2c4)](0.2)[_0x340330(0x3c4)](),_0x325e5c=new _0x40ad79[(_0x340330(0x35b))](_0x182168+_0x1ced2a[_0x340330(0x3d7)](_0x365f6a),{'pointsGroup':_0x41653c,'fill':_0x57add3||_0x40ad79[_0x340330(0x191)](_0x1ced2a[_0x340330(0x247)][_0x340330(0x24a)],0.2),'left':_0x59b5ae,'top':_0x440002,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x340330(0x18a)][_0x340330(0x263)](_0x325e5c),this[_0x340330(0x11b)][_0x340330(0x195)](_0x325e5c,_0x2366a5['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x2ed339,_0x54bf7c,_0x1799c6,_0x251baa){const _0x4283b0=_0x5f4777,_0x245a3a=new _0x1ced2a[(_0x4283b0(0x18e))](_0x2ed339)['setAlpha'](0.2)['toRgbString'](),_0x5a629e=new _0x40ad79['RegularPolygon'](_0x1cbc9f+_0x1ced2a['generateRandomId'](_0x365f6a),{'pointsGroup':_0x54bf7c,'fill':_0x245a3a||_0x40ad79[_0x4283b0(0x191)](_0x1ced2a['COLORS'][_0x4283b0(0x24a)],0.2),'left':_0x1799c6,'top':_0x251baa,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4283b0(0x18a)][_0x4283b0(0x263)](_0x5a629e),this[_0x4283b0(0x11b)][_0x4283b0(0x195)](_0x5a629e,_0x2366a5[_0x4283b0(0x17e)]);}['_getAnchorBounding'](_0x52d4ec){const _0x534de4=_0x52d4ec[0x0],_0x22338d=_0x534de4[0x0],_0x1e1828=_0x534de4[0x2],{x:_0x346484,y:_0x2d7b5e}=_0x22338d,{x:_0x2b5359,y:_0x517b47}=_0x1e1828;return{'left':_0x346484,'top':_0x2d7b5e,'width':_0x2b5359-_0x346484,'height':_0x517b47-_0x2d7b5e};}[_0x5f4777(0x346)](){const _0x29dcc3=_0x5f4777,{scaleX:_0x582f34,scaleY:_0x237548}=this[_0x29dcc3(0x11b)][_0x29dcc3(0x16e)]();return Math[_0x29dcc3(0x1cb)](_0x582f34,_0x237548);}}var _0x4108ef=Object[_0x5f4777(0x29e)],_0x56ec26=(_0x2ca897,_0x60c4b3,_0x1400c6,_0x38ecdd)=>{const _0x560426=_0x5f4777;for(var _0x357cb9=_0x38ecdd>0x1?void 0x0:_0x38ecdd?_0x4108ef(_0x60c4b3,_0x1400c6):_0x60c4b3,_0x4d603d=_0x2ca897[_0x560426(0x15b)]-0x1,_0x561a80;_0x4d603d>=0x0;_0x4d603d--)(_0x561a80=_0x2ca897[_0x4d603d])&&(_0x357cb9=_0x561a80(_0x357cb9)||_0x357cb9);return _0x357cb9;},_0x120ad8=(_0x2be28a,_0x3619ac)=>(_0x3f46f1,_0x3cd64b)=>_0x3619ac(_0x3f46f1,_0x3cd64b,_0x2be28a);let _0x1d2bfc=class extends _0x1ced2a[_0x5f4777(0x26b)]{constructor(_0x2c9cc4,_0x5f5311,_0x12c0f3,_0x4d3656,_0xa0db3b){const _0x50a36a=_0x5f4777;super(),_0x13969d(this,_0x50a36a(0x21d),[]),_0x13969d(this,_0x50a36a(0x344),[]),(this[_0x50a36a(0x1d6)]=_0x2c9cc4,this[_0x50a36a(0x398)]=_0x5f5311,this[_0x50a36a(0x2ab)]=_0x12c0f3,this[_0x50a36a(0x287)]=_0x4d3656,this[_0x50a36a(0x26d)]=_0xa0db3b,this[_0x50a36a(0x1c6)]());}[_0x5f4777(0x1c6)](){const _0x42277b=_0x5f4777,_0xeec3de=this[_0x42277b(0x1d6)][_0x42277b(0x3d9)],_0x5de34d=this[_0x42277b(0x398)];this[_0x42277b(0x3b8)](_0x5d9504[_0x42277b(0x34a)]([this[_0x42277b(0x2ab)][_0x42277b(0x14f)](_0xeec3de),this[_0x42277b(0x26d)][_0x42277b(0x32f)]])[_0x42277b(0x1b6)](_0x140ef8[_0x42277b(0x3e8)](([_0x1e04cf,_0x17ddf8])=>({'skeleton':_0x5de34d['getSkeleton'](),'cursors':[..._0x1e04cf[_0x42277b(0x162)]()][_0x42277b(0x28b)](_0x2af8b9=>({..._0x2af8b9,'color':this[_0x42277b(0x26d)]['getColorFromTheme'](_0x2af8b9[_0x42277b(0x34c)])}))})))[_0x42277b(0x403)](_0x219d5c=>{const _0x69fde3=_0x42277b;if(this[_0x69fde3(0x368)](),_0x219d5c){const {skeleton:_0x387add,cursors:_0x3b5c7c}=_0x219d5c;this[_0x69fde3(0x1ba)](_0x387add,_0x3b5c7c);}})),this[_0x42277b(0x365)](),this[_0x42277b(0x3f6)]();}[_0x5f4777(0x1ba)](_0x438e42,_0x4a21bf){const _0x3ad21a=_0x5f4777,{scene:_0x406ea8,mainComponent:_0x135152}=this[_0x3ad21a(0x1d6)],_0x246a49=_0x4a21bf[_0x3ad21a(0x3e8)](_0x5d2909=>new _0x46f806(_0x5d2909,_0x406ea8,_0x438e42,_0x135152));this[_0x3ad21a(0x21d)]=_0x246a49,this['_cursors']=_0x4a21bf;}[_0x5f4777(0x2a7)](){const _0x486593=_0x5f4777;this[_0x486593(0x368)]();const {scene:_0x2f258c,mainComponent:_0x52e80e}=this[_0x486593(0x1d6)],_0x31aa9b=this[_0x486593(0x398)]['getSkeleton'](),_0x213188=this[_0x486593(0x344)][_0x486593(0x3e8)](_0x373333=>new _0x46f806(_0x373333,_0x2f258c,_0x31aa9b,_0x52e80e));this[_0x486593(0x21d)]=_0x213188;}['_removeCollabCursors'](){const _0x451e70=_0x5f4777;this[_0x451e70(0x21d)][_0x451e70(0x196)](_0x1f8a14=>_0x1f8a14[_0x451e70(0x256)]()),this[_0x451e70(0x21d)]=[];}[_0x5f4777(0x3f6)](){const _0x51145a=_0x5f4777,_0xb0fa0f=[_0x2366a5[_0x51145a(0x2b2)]['id']];this[_0x51145a(0x3b8)](this[_0x51145a(0x287)][_0x51145a(0x2e9)](_0x307190=>{const _0x29fab4=_0x51145a;_0xb0fa0f[_0x29fab4(0x37a)](_0x307190['id'])&&_0x307190[_0x29fab4(0x278)][_0x29fab4(0x3d9)]===this[_0x29fab4(0x1d6)][_0x29fab4(0x3d9)]&&this[_0x29fab4(0x2a7)]();}));}[_0x5f4777(0x365)](){const _0xfacf6a=_0x5f4777;this[_0xfacf6a(0x3b8)](_0x1ced2a[_0xfacf6a(0x2f4)](this['_context'][_0xfacf6a(0x409)]['onTransformChange$'])[_0xfacf6a(0x1b6)](_0x140ef8[_0xfacf6a(0x2e5)](_0x260360=>_0x260360[_0xfacf6a(0x1c4)]===_0x40ad79[_0xfacf6a(0x2c6)][_0xfacf6a(0x1ae)]),_0x140ef8[_0xfacf6a(0x2e8)](0x10))[_0xfacf6a(0x403)](()=>{this['_refreshCollabCursors']();}));}};_0x1d2bfc=_0x56ec26([_0x120ad8(0x1,_0x1ced2a[_0x5f4777(0x3e1)](_0x56412a[_0x5f4777(0x19b)])),_0x120ad8(0x2,_0x1ced2a[_0x5f4777(0x3e1)](_0x114331)),_0x120ad8(0x3,_0x1ced2a[_0x5f4777(0x331)]),_0x120ad8(0x4,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x1c8)]))],_0x1d2bfc);const _0x36566c=0x1,_0xd44dc7=1.5;class _0x1ded08 extends _0x40ad79[_0x5f4777(0x185)]{constructor(_0x3d49a7,_0x43f427){const _0x351c8d=_0x5f4777;super(_0x3d49a7,_0x43f427),_0x13969d(this,_0x351c8d(0x31c)),_0x13969d(this,_0x351c8d(0x2fd),!0x1),_0x13969d(this,'_range'),_0x13969d(this,_0x351c8d(0x1af),''),_0x13969d(this,_0x351c8d(0x2e7),_0x351c8d(0x3c0)),_0x13969d(this,_0x351c8d(0x27e)),(_0x43f427&&this['setShapeProps'](_0x43f427),this[_0x351c8d(0x3f3)]['subscribeEvent'](()=>this[_0x351c8d(0x13e)]({'hovered':!0x0})),this[_0x351c8d(0x125)][_0x351c8d(0x330)](()=>this[_0x351c8d(0x13e)]({'hovered':!0x1})));}['setShapeProps'](_0x21e9f6){const _0x49fc1a=_0x5f4777;var _0x5d05f0,_0x1e8240,_0x593ad6,_0x30994f,_0x55b406,_0x91066;this[_0x49fc1a(0x31c)]=(_0x5d05f0=_0x21e9f6[_0x49fc1a(0x34c)])!=null?_0x5d05f0:this[_0x49fc1a(0x31c)],this[_0x49fc1a(0x2fd)]=(_0x1e8240=_0x21e9f6['hovered'])!=null?_0x1e8240:this['_hovered'],this[_0x49fc1a(0x1c9)]=(_0x593ad6=_0x21e9f6['range'])!=null?_0x593ad6:this['_range'],this[_0x49fc1a(0x1af)]=(_0x30994f=_0x21e9f6['name'])!=null?_0x30994f:this[_0x49fc1a(0x1af)],this[_0x49fc1a(0x2e7)]=(_0x55b406=_0x21e9f6[_0x49fc1a(0x1a1)])!=null?_0x55b406:this[_0x49fc1a(0x2e7)],this[_0x49fc1a(0x27e)]=(_0x91066=_0x21e9f6[_0x49fc1a(0x1bd)])!=null?_0x91066:this['_backgroundColor'],this['transformByState']({'width':_0x21e9f6['width'],'height':_0x21e9f6[_0x49fc1a(0x306)]});}[_0x5f4777(0x17f)](_0x526d7d){const _0x449777=_0x5f4777,{row:_0x3dee2a,column:_0x30674c}=_0x526d7d;if(_0x3dee2a>=this[_0x449777(0x1c9)][_0x449777(0x35e)]&&_0x3dee2a<=this[_0x449777(0x1c9)][_0x449777(0x397)]&&_0x30674c>=this[_0x449777(0x1c9)][_0x449777(0x337)]&&_0x30674c<=this['_range'][_0x449777(0x32d)]){this[_0x449777(0x13e)]({'hovered':!0x0});return;}this[_0x449777(0x13e)]({'hovered':!0x1});}[_0x5f4777(0x319)](_0x53c61d){return!0x1;}[_0x5f4777(0x3f9)](_0x1bcc75){const _0x4a53d6=_0x5f4777;_0x40ad79[_0x4a53d6(0x30e)][_0x4a53d6(0x139)](_0x1bcc75,{'width':this[_0x4a53d6(0x3b9)],'height':this['height'],'strokeWidth':_0xd44dc7,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x1bcc75['save'](),_0x1bcc75[_0x4a53d6(0x408)](0x1,0x0,0x0,0x1,this[_0x4a53d6(0x3b9)],this[_0x4a53d6(0x2e7)]===_0x4a53d6(0x1a2)?0x0:-_0x121f65),_0x4087db[_0x4a53d6(0x139)](_0x1bcc75,{'text':this[_0x4a53d6(0x1af)],'color':this[_0x4a53d6(0x31c)]}),_0x1bcc75[_0x4a53d6(0x38e)]());}}var _0x4e7417=Object[_0x5f4777(0x29e)],_0x1aff11=(_0x6ebf8,_0x235ad5,_0x28de52,_0x154ab5)=>{for(var _0x3ecff7=_0x154ab5>0x1?void 0x0:_0x154ab5?_0x4e7417(_0x235ad5,_0x28de52):_0x235ad5,_0x295a03=_0x6ebf8['length']-0x1,_0x3e7550;_0x295a03>=0x0;_0x295a03--)(_0x3e7550=_0x6ebf8[_0x295a03])&&(_0x3ecff7=_0x3e7550(_0x3ecff7)||_0x3ecff7);return _0x3ecff7;},_0x383762=(_0x217494,_0x49a381)=>(_0x3c5b51,_0xaf583e)=>_0x49a381(_0x3c5b51,_0xaf583e,_0x217494);const _0x470819=0x1389;let _0x389fa1=class extends _0x1ced2a[_0x5f4777(0x26b)]{constructor(_0x537403,_0x585132,_0x32ff8a,_0x386ccc){const _0x391b63=_0x5f4777;super(),_0x13969d(this,_0x391b63(0x344),new Set()),_0x13969d(this,_0x391b63(0x3bc),null),(this[_0x391b63(0x1d6)]=_0x537403,this['_sheetSkeletonManagerService']=_0x585132,this[_0x391b63(0x2ab)]=_0x32ff8a,this[_0x391b63(0x26d)]=_0x386ccc,this[_0x391b63(0x1c6)]());}['_init'](){const _0xf9ee45=_0x5f4777;this[_0xf9ee45(0x158)][_0xf9ee45(0x3bf)][_0xf9ee45(0x1b6)](_0x140ef8[_0xf9ee45(0x39f)](this[_0xf9ee45(0x197)]),_0x140ef8['switchMap'](_0x4c28f3=>{const _0xfdf393=_0xf9ee45;if(_0x4c28f3){const _0x189062=_0x4c28f3[_0xfdf393(0x21c)];return _0x5d9504[_0xfdf393(0x34a)](this[_0xfdf393(0x2ab)]['getCollabCursors$'](this[_0xfdf393(0x1d6)][_0xfdf393(0x3d9)]),this['_themeService']['currentTheme$'])[_0xfdf393(0x1b6)](_0x140ef8[_0xfdf393(0x3e8)](([_0xa32742,_0x25a8c0])=>{const _0xddc9ff=_0xfdf393,_0x2e9ee5=new Map();return _0xa32742[_0xddc9ff(0x196)]((_0x39af5b,_0x1c12b0)=>{const _0x146617=_0xddc9ff;if(_0x39af5b[_0x146617(0x135)]===_0x189062){const _0x4e10c8={..._0x39af5b};_0x4e10c8[_0x146617(0x34c)]=this[_0x146617(0x26d)][_0x146617(0x33f)](_0x39af5b[_0x146617(0x34c)]),_0x2e9ee5[_0x146617(0x2a2)](_0x1c12b0,_0x4e10c8);}}),{'skeleton':_0x4c28f3,'cursors':_0x2e9ee5};}));}return _0x5d9504['of']({'skeleton':null,'cursors':new Map()});}))[_0xf9ee45(0x403)](({skeleton:_0x2e6187,cursors:_0x13b990})=>{const _0x50709b=_0xf9ee45;this[_0x50709b(0x368)](),_0x2e6187&&this['_updateCollabCursors'](_0x2e6187,_0x13b990);}),this['_sheetSkeletonManagerService'][_0xf9ee45(0x3bf)]['subscribe'](_0x4fc71a=>{const _0x2f6047=_0xf9ee45;if(_0x4fc71a==null)return;const {skeleton:_0x59b4c2}=_0x4fc71a,{scene:_0x406e0f}=this[_0x2f6047(0x1d6)];_0x406e0f['onPointerMove$'][_0x2f6047(0x330)](_0x1ced2a[_0x2f6047(0x1d3)](_0x2526a8=>{const _0x29c3f5=_0x2f6047;var _0x537aa8,_0x5d2975;const {offsetX:_0x2f31b0,offsetY:_0x12e2fd}=_0x2526a8,{x:_0x52a11,y:_0x1972b0}=_0x406e0f[_0x29c3f5(0x329)](_0x40ad79['Vector2'][_0x29c3f5(0x3df)]([_0x2f31b0,_0x12e2fd])),{scaleX:_0x42f6d9,scaleY:_0x394a9d}=_0x406e0f[_0x29c3f5(0x16e)](),_0x17ad3c=_0x406e0f[_0x29c3f5(0x3c3)](_0x40ad79[_0x29c3f5(0x1e6)]['VIEW_MAIN']),_0x5c9fc5=_0x406e0f['getVpScrollXYInfoByPosToVp'](_0x40ad79['Vector2']['FromArray']([_0x52a11,_0x1972b0]),_0x17ad3c),_0x5ef360=_0x59b4c2[_0x29c3f5(0x239)](_0x2f31b0,_0x12e2fd,_0x42f6d9,_0x394a9d,_0x5c9fc5);((_0x537aa8=this[_0x29c3f5(0x3bc)])==null?void 0x0:_0x537aa8[_0x29c3f5(0x233)])===_0x5ef360[_0x29c3f5(0x233)]&&((_0x5d2975=this['_lastPointer'])==null?void 0x0:_0x5d2975[_0x29c3f5(0x203)])===_0x5ef360[_0x29c3f5(0x203)]||this[_0x29c3f5(0x344)]['forEach'](_0xad4eda=>{const _0x375d7e=_0x29c3f5;_0xad4eda[_0x375d7e(0x17f)](_0x5ef360);});},0x64));});}['_updateCollabCursors'](_0x312bb0,_0x5ce151){const _0x594311=_0x5f4777;var _0x2d9b39;const _0x1faf87=(_0x2d9b39=this[_0x594311(0x158)][_0x594311(0x213)]())==null?void 0x0:_0x2d9b39['skeleton'];if(!_0x1faf87)return;const _0x25a349=this[_0x594311(0x3fb)]();if(!_0x25a349)return;this[_0x594311(0x344)][_0x594311(0x196)](_0x53ce13=>{const _0x6bc856=_0x594311;_0x53ce13[_0x6bc856(0x16b)]();});const {scene:_0xa6b842}=_0x25a349,_0x5c47d9=_0x2e3171(Array[_0x594311(0x1c7)](_0x5ce151['values']()))[_0x594311(0x3e8)](_0x4e26e9=>{const _0x5be32a=_0x594311,{color:_0x47901d,range:_0x4f1a51,name:_0x47812d,selection:_0x1c7d33,sheetID:_0x12bdd4}=_0x4e26e9,{startColumn:_0xaa0a64,startRow:_0x20ce9f,endColumn:_0x580c9f,endRow:_0x26417d}=_0x4f1a51,_0x593a9c=_0x1f5a13['getCoordByCell'](_0x20ce9f,_0xaa0a64,_0xa6b842,_0x1faf87),_0xea643d=_0x1f5a13['getCoordByCell'](_0x26417d,_0x580c9f,_0xa6b842,_0x1faf87),{columnHeaderHeightAndMarginTop:_0x109650}=_0x1faf87,{startX:_0x536e55,startY:_0x2235a9}=_0x593a9c,{endX:_0x385f1c,endY:_0x399ec4}=_0xea643d,_0xd7597f=_0x385f1c-_0x536e55,_0x29d2fd=_0x399ec4-_0x2235a9,_0x42cb89={'labelPosition':_0x2235a9-_0x109650>=_0x121f65?_0x5be32a(0x3c0):'bottom','sheetID':_0x12bdd4,'range':_0x4f1a51,'color':_0x47901d,'name':_0x47812d,'selection':_0x1c7d33,'left':_0x536e55,'top':_0x2235a9,'width':_0xd7597f,'height':_0x29d2fd,'evented':!0x1,'zIndex':_0x470819};return new _0x1ded08(_0x47812d,_0x42cb89);});_0xa6b842[_0x594311(0x1b5)](_0x5c47d9,_0x36566c),this['_cursors']=new Set(_0x5c47d9);}[_0x5f4777(0x368)](){const _0x1bede8=_0x5f4777;var _0x304696;(_0x304696=this[_0x1bede8(0x344)])==null||_0x304696['forEach'](_0x20a2f7=>_0x20a2f7[_0x1bede8(0x256)]());}['_getSheetObject'](){const _0x496bad=_0x5f4777;return _0x1f5a13['getSheetObject'](this['_context'][_0x496bad(0x1f7)],this[_0x496bad(0x1d6)]);}};_0x389fa1=_0x1aff11([_0x383762(0x1,_0x1ced2a[_0x5f4777(0x3e1)](_0x1f5a13['SheetSkeletonManagerService'])),_0x383762(0x2,_0x1ced2a[_0x5f4777(0x3e1)](_0x114331)),_0x383762(0x3,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x1c8)]))],_0x389fa1);function _0x2e3171(_0x3095df){const _0x203fd1=_0x5f4777,_0x322081=new Map();return _0x3095df[_0x203fd1(0x196)](_0x1ce996=>{const _0x45ae0b=_0x203fd1;if(_0x322081[_0x45ae0b(0x2be)](_0x1ce996[_0x45ae0b(0x3ce)])){const _0x30334c=_0x322081[_0x45ae0b(0x2b5)](_0x1ce996[_0x45ae0b(0x3ce)]);_0x30334c[_0x45ae0b(0x308)]+=',\x20'+_0x1ce996['name'];}else _0x322081['set'](_0x1ce996[_0x45ae0b(0x3ce)],_0x1ce996);}),Array[_0x203fd1(0x1c7)](_0x322081[_0x203fd1(0x162)]());}var _0x63bf74=Object[_0x5f4777(0x29e)],_0x3705e7=(_0x5a5c9f,_0x4ae00a,_0x36103c,_0x1ad340)=>{for(var _0x117186=_0x1ad340>0x1?void 0x0:_0x1ad340?_0x63bf74(_0x4ae00a,_0x36103c):_0x4ae00a,_0x280956=_0x5a5c9f['length']-0x1,_0x333e71;_0x280956>=0x0;_0x280956--)(_0x333e71=_0x5a5c9f[_0x280956])&&(_0x117186=_0x333e71(_0x117186)||_0x117186);return _0x117186;},_0x21d23a=(_0x56c8ba,_0x29f021)=>(_0x38d747,_0x53e261)=>_0x29f021(_0x38d747,_0x53e261,_0x56c8ba);let _0x46dcf1=class extends _0x1ced2a[_0x5f4777(0x29c)]{constructor(_0x5aebf9,_0x147e8a,_0x4a3d7e,_0xd607d7,_0x123da9,_0x2feaed){const _0x4529e6=_0x5f4777;super(),this[_0x4529e6(0x254)]=_0x5aebf9,this[_0x4529e6(0x176)]=_0x147e8a,this[_0x4529e6(0x297)]=_0x4a3d7e,this[_0x4529e6(0x379)]=_0xd607d7,this['_notificationService']=_0x123da9,this[_0x4529e6(0x23f)]=_0x2feaed,this[_0x4529e6(0x214)](),this[_0x4529e6(0x31d)]();}[_0x5f4777(0x214)](){const _0x163add=_0x5f4777;this[_0x163add(0x3b8)](this[_0x163add(0x254)][_0x163add(0x193)](()=>{const _0x4f4f65=_0x163add;if(this[_0x4f4f65(0x176)][_0x4f4f65(0x1ca)]['size'])return this[_0x4f4f65(0x23f)]['t'](_0x4f4f65(0x202));}));}['_initEvent'](){const _0x4cc268=_0x5f4777;this[_0x4cc268(0x3b8)](this['_collaborationUIEventService'][_0x4cc268(0x2bd)][_0x4cc268(0x403)](_0x147ed4=>{const _0x42a62b=_0x4cc268;_0x147ed4['id']===_0x378bf4[_0x42a62b(0x386)][_0x42a62b(0x1d2)]&&this[_0x42a62b(0x379)][_0x42a62b(0x2d8)]({'type':_0x52c80f[_0x42a62b(0x2a4)][_0x42a62b(0x2cf)],'content':this[_0x42a62b(0x23f)]['t'](_0x42a62b(0x235))}),_0x147ed4['id']===_0x378bf4[_0x42a62b(0x386)][_0x42a62b(0x1fd)]&&this[_0x42a62b(0x379)]['show']({'type':_0x52c80f['MessageType'][_0x42a62b(0x2cf)],'content':this['_localeService']['t'](_0x42a62b(0x1e1))}),_0x147ed4['id']===_0x378bf4[_0x42a62b(0x386)][_0x42a62b(0x3cd)]&&this[_0x42a62b(0x281)][_0x42a62b(0x2d8)]({'title':this['_localeService']['t'](_0x42a62b(0x3c1)),'content':this[_0x42a62b(0x23f)]['t'](_0x42a62b(0x402)),'type':_0x42a62b(0x382),'duration':0x0}),_0x147ed4['id']===_0x378bf4['CollaborationUIEventId'][_0x42a62b(0x1f3)]&&this['_messageService'][_0x42a62b(0x2d8)]({'type':_0x52c80f[_0x42a62b(0x2a4)][_0x42a62b(0x2f7)],'content':this[_0x42a62b(0x23f)]['t'](_0x42a62b(0x1e1))+'('+_0x147ed4[_0x42a62b(0x241)]+')'}),_0x147ed4['id']===_0x378bf4[_0x42a62b(0x386)][_0x42a62b(0x1b4)]&&this[_0x42a62b(0x379)][_0x42a62b(0x2d8)]({'type':_0x52c80f['MessageType'][_0x42a62b(0x2cf)],'content':this[_0x42a62b(0x23f)]['t'](_0x147ed4[_0x42a62b(0x241)]||'')}),_0x147ed4['id']===_0x378bf4[_0x42a62b(0x386)][_0x42a62b(0x236)]&&this[_0x42a62b(0x379)][_0x42a62b(0x2d8)]({'type':_0x52c80f[_0x42a62b(0x2a4)][_0x42a62b(0x2cf)],'content':this[_0x42a62b(0x23f)]['t'](_0x42a62b(0x40c))}),_0x147ed4['id']===_0x378bf4['CollaborationUIEventId'][_0x42a62b(0x23a)]&&this['_messageService']['show']({'type':_0x52c80f['MessageType'][_0x42a62b(0x2f7)],'content':this[_0x42a62b(0x23f)]['t'](_0x42a62b(0x333))}),_0x147ed4['id']===_0x378bf4[_0x42a62b(0x386)][_0x42a62b(0x175)]&&this[_0x42a62b(0x379)][_0x42a62b(0x2d8)]({'type':_0x52c80f[_0x42a62b(0x2a4)][_0x42a62b(0x2f7)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x46dcf1=_0x3705e7([_0x21d23a(0x0,_0x19c552[_0x5f4777(0x3a1)]),_0x21d23a(0x1,_0x378bf4['ILocalCacheService']),_0x21d23a(0x2,_0x1ced2a[_0x5f4777(0x3e1)](_0x378bf4['CollaborationUIEventService'])),_0x21d23a(0x3,_0x19c552[_0x5f4777(0x3bb)]),_0x21d23a(0x4,_0x19c552[_0x5f4777(0x13c)]),_0x21d23a(0x5,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x276)]))],_0x46dcf1);var _0x17db85=Object['getOwnPropertyDescriptor'],_0x1fda66=(_0x52c4d9,_0x4bb01b,_0xeae103,_0x47bf16)=>{for(var _0x493bd9=_0x47bf16>0x1?void 0x0:_0x47bf16?_0x17db85(_0x4bb01b,_0xeae103):_0x4bb01b,_0x4195eb=_0x52c4d9['length']-0x1,_0x4a68cb;_0x4195eb>=0x0;_0x4195eb--)(_0x4a68cb=_0x52c4d9[_0x4195eb])&&(_0x493bd9=_0x4a68cb(_0x493bd9)||_0x493bd9);return _0x493bd9;},_0x510efe=(_0x189065,_0x4e9b5e)=>(_0x26be12,_0x3e3f47)=>_0x4e9b5e(_0x26be12,_0x3e3f47,_0x189065);let _0x2f3392=class extends _0x1ced2a['Disposable']{constructor(_0x611c93,_0x35a3b0,_0x330b11,_0x1d4319){const _0x5d7613=_0x5f4777;super(),_0x13969d(this,_0x5d7613(0x142)),(this['_injector']=_0x611c93,this[_0x5d7613(0x174)]=_0x35a3b0,this['_logService']=_0x330b11,this[_0x5d7613(0x155)]=_0x1d4319,this[_0x5d7613(0x1c6)]());}[_0x5f4777(0x1c6)](){const _0x56bc38=_0x5f4777;this[_0x56bc38(0x17b)](),this['_initUnhandledRejectionListener'](),this[_0x56bc38(0x2b8)](),this[_0x56bc38(0x31a)]();}[_0x5f4777(0x31a)](){const _0x26fef7=_0x5f4777;this[_0x26fef7(0x3b8)](this[_0x26fef7(0x155)]['socket$'][_0x26fef7(0x403)](_0x42e342=>{this['_memberID']=_0x42e342==null?void 0x0:_0x42e342['memberID'];}));}[_0x5f4777(0x17b)](){const _0x3ef9e6=_0x5f4777,_0x1522d7=_0x3314aa=>{const _0x138dda=_0x1d45;var _0x41143f;this['_uploadLog'](_0x138dda(0x382),_0x138dda(0x14a)+_0x3314aa[_0x138dda(0x3f0)]+'\x20at\x20'+_0x3314aa[_0x138dda(0x3d3)]+':'+_0x3314aa[_0x138dda(0x1e8)]+':'+_0x3314aa['colno']+'\x0a'+(((_0x41143f=_0x3314aa[_0x138dda(0x382)])==null?void 0x0:_0x41143f[_0x138dda(0x137)])||''));};window[_0x3ef9e6(0x22d)](_0x3ef9e6(0x382),_0x1522d7),this[_0x3ef9e6(0x3b8)](()=>{window['removeEventListener']('error',_0x1522d7);});}[_0x5f4777(0x12a)](){const _0xf967a5=_0x5f4777,_0x4f9647=_0x3e283c=>{const _0x389bd6=_0x1d45;this[_0x389bd6(0x325)]('error','[Unhandled\x20Rejection]:\x20'+_0x3e283c[_0x389bd6(0x40d)]);};window['addEventListener'](_0xf967a5(0x28a),_0x4f9647),this[_0xf967a5(0x3b8)](()=>{const _0x3368f9=_0xf967a5;window[_0x3368f9(0x33c)](_0x3368f9(0x28a),_0x4f9647);});}['_monkeyPatchLogService'](){const _0x5ee80b=_0x5f4777,_0x36ab41=this[_0x5ee80b(0x1f1)][_0x5ee80b(0x382)][_0x5ee80b(0x3c9)](this[_0x5ee80b(0x1f1)]);this[_0x5ee80b(0x1f1)]['error']=(..._0x4b29a2)=>{const _0x2f88ac=_0x5ee80b,_0x4daf54=_0x4b29a2[_0x2f88ac(0x3e8)](_0xafb800=>_0xafb800 instanceof Error?_0xafb800[_0x2f88ac(0x3f0)]+'\x0a'+_0xafb800[_0x2f88ac(0x137)]:String(_0xafb800))[_0x2f88ac(0x12c)]('\x20');this[_0x2f88ac(0x325)](_0x2f88ac(0x382),_0x2f88ac(0x2a6)+_0x4daf54),_0x36ab41(..._0x4b29a2);},this[_0x5ee80b(0x3b8)](()=>{const _0x276642=_0x5ee80b;this[_0x276642(0x1f1)][_0x276642(0x382)]=_0x36ab41;});}['_uploadLog'](_0x139890,_0x7f7b4e){const _0x438141=_0x5f4777;try{const _0x4dcf47={'userId':this[_0x438141(0x142)],'logLabel':_0x139890,'content':_0x7f7b4e};this[_0x438141(0x174)][_0x438141(0x1bb)](_0x438141(0x1d8),{'body':_0x4dcf47})['catch'](()=>{});}catch{}}};_0x2f3392=_0x1fda66([_0x510efe(0x0,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a['Injector'])),_0x510efe(0x1,_0x1ced2a[_0x5f4777(0x3e1)](_0x5d4294[_0x5f4777(0x2f5)])),_0x510efe(0x2,_0x1ced2a[_0x5f4777(0x14b)]),_0x510efe(0x3,_0x1ced2a[_0x5f4777(0x3e1)](_0x378bf4[_0x5f4777(0x2ff)]))],_0x2f3392);const _0x2ebc66=_0x5f4777(0x322),_0x501443={};var _0x426cfa=Object['getOwnPropertyDescriptor'],_0x5985b6=(_0x58a998,_0x1a506a,_0x139fc8,_0x39950f)=>{for(var _0x348650=_0x39950f>0x1?void 0x0:_0x39950f?_0x426cfa(_0x1a506a,_0x139fc8):_0x1a506a,_0x3c1c40=_0x58a998['length']-0x1,_0x40f8af;_0x3c1c40>=0x0;_0x3c1c40--)(_0x40f8af=_0x58a998[_0x3c1c40])&&(_0x348650=_0x40f8af(_0x348650)||_0x348650);return _0x348650;},_0x20b7e5=(_0x2ada4e,_0x1bc6cc)=>(_0x190a01,_0x24adca)=>_0x1bc6cc(_0x190a01,_0x24adca,_0x2ada4e);let _0x446ab5=class{constructor(_0x13a52b,_0x1b8213){const _0x1c8cc9=_0x5f4777;this[_0x1c8cc9(0x327)]=_0x13a52b,this['_renderManagerService']=_0x1b8213;}[_0x5f4777(0x204)](_0x10a4eb){this['_transformUndoRedoStack'](_0x10a4eb),this['_transformPreviousActiveRange'](_0x10a4eb);}[_0x5f4777(0x20a)](_0x5846f2){const _0x326ebd=_0x5f4777,{unitID:_0x4af131}=_0x5846f2,_0x4033dc=this['_renderManagerService'][_0x326ebd(0x231)](_0x4af131)[_0x326ebd(0x234)](_0x2366a5[_0x326ebd(0x2ec)]),{redoCache:_0x2a7a00}=_0x4033dc[_0x326ebd(0x1e5)]();if(_0x2a7a00[_0x326ebd(0x15b)]===0x0)return _0x5846f2;let _0x3291f6=_0x1ced2a[_0x326ebd(0x32c)]['deepClone'](_0x5846f2[_0x326ebd(0x3a8)][0x0]);for(let _0x182dfc=0x0;_0x182dfc<_0x2a7a00['length'];_0x182dfc++){const _0x2452ed={'id':'doc.mutation.rich-text-editing','params':{..._0x2a7a00[_0x182dfc]}},_0x374604=this[_0x326ebd(0x327)][_0x326ebd(0x3dd)](_0x3291f6,_0x2452ed,!0x1);if(_0x28eb5b['isTransformMutationFailure'](_0x374604))throw _0x374604[_0x326ebd(0x382)];_0x3291f6=_0x374604[_0x326ebd(0x3db)];}return{..._0x1ced2a[_0x326ebd(0x32c)][_0x326ebd(0x13d)](_0x5846f2),'mutations':[_0x3291f6]};}[_0x5f4777(0x3fe)](_0x4c9d95){const _0x2db308=_0x5f4777,{unitID:_0x24f0dc}=_0x4c9d95,_0x10acde=this['_renderManagerService']['getRenderById'](_0x24f0dc)[_0x2db308(0x234)](_0x2366a5['DocIMEInputManagerService']),{undoCache:_0x2c0a52,redoCache:_0xa978b1}=_0x10acde[_0x2db308(0x1e5)]();if(_0x2c0a52[_0x2db308(0x15b)]===0x0||_0xa978b1['length']===0x0)return;const _0x22e72e=[],_0x54dbb8=[];let _0x2980c7=_0x1ced2a[_0x2db308(0x32c)]['deepClone'](_0x4c9d95['mutations'][0x0]),_0x4b90bd=_0x1ced2a['Tools'][_0x2db308(0x13d)](_0x4c9d95['mutations'][0x0]);for(let _0x1ad4ff=_0x2c0a52[_0x2db308(0x15b)]-0x1;_0x1ad4ff>=0x0;_0x1ad4ff--){const _0x11218c={'id':'doc.mutation.rich-text-editing','params':{..._0x2c0a52[_0x1ad4ff]}},_0x3de4f3={'id':_0x2db308(0x36e),'params':{..._0xa978b1[_0x1ad4ff]}},_0xa4efab=this[_0x2db308(0x327)][_0x2db308(0x3dd)](_0x2980c7,_0x11218c,!0x1),_0x3650e8=this[_0x2db308(0x327)][_0x2db308(0x3dd)](_0x4b90bd,_0x3de4f3,!0x1);if(_0x28eb5b['isTransformMutationFailure'](_0xa4efab))throw _0xa4efab[_0x2db308(0x382)];if(_0x28eb5b[_0x2db308(0x223)](_0x3650e8))throw _0x3650e8[_0x2db308(0x382)];_0x22e72e[_0x2db308(0x3f1)](_0xa4efab[_0x2db308(0x3d1)][_0x2db308(0x278)]),_0x54dbb8[_0x2db308(0x3f1)](_0x3650e8[_0x2db308(0x3d1)]['params']),_0x2980c7=_0xa4efab[_0x2db308(0x3db)],_0x4b90bd=_0x3650e8[_0x2db308(0x3db)];}_0x10acde[_0x2db308(0x28e)]({'undoCache':_0x22e72e,'redoCache':_0x54dbb8});}[_0x5f4777(0x17a)](_0x77e8d0){const _0x39a921=_0x5f4777,{unitID:_0x4c79a9}=_0x77e8d0,_0x3d74dd=this[_0x39a921(0x2e4)][_0x39a921(0x231)](_0x4c79a9)[_0x39a921(0x234)](_0x2366a5[_0x39a921(0x2ec)]),_0x378a73=_0x3d74dd[_0x39a921(0x406)]();if(_0x378a73==null)return;const _0x20df4b=[{'id':_0x39a921(0x36e),'params':{'unitId':_0x77e8d0['unitID'],'actions':null,'textRanges':[_0x378a73]}}],_0x2ce321=this[_0x39a921(0x327)][_0x39a921(0x1cf)](_0x77e8d0,_0x20df4b);if(!_0x28eb5b[_0x39a921(0x2b3)](_0x2ce321))throw _0x2ce321['error'];const _0x374686=_0x2ce321[_0x39a921(0x3d1)][0x0][_0x39a921(0x278)][_0x39a921(0x29d)];Array['isArray'](_0x374686)&&_0x374686[_0x39a921(0x15b)]&&_0x3d74dd[_0x39a921(0x407)](_0x374686[0x0]);}};_0x446ab5=_0x5985b6([_0x20b7e5(0x0,_0x28eb5b['ITransformService']),_0x20b7e5(0x1,_0x40ad79[_0x5f4777(0x2f0)])],_0x446ab5);var _0x15886d=Object[_0x5f4777(0x29e)],_0x3bd51f=(_0x34b8eb,_0x29501a,_0x43c84e,_0x3f9549)=>{const _0xa3134=_0x5f4777;for(var _0x3e6951=_0x3f9549>0x1?void 0x0:_0x3f9549?_0x15886d(_0x29501a,_0x43c84e):_0x29501a,_0x57c142=_0x34b8eb[_0xa3134(0x15b)]-0x1,_0x163e0e;_0x57c142>=0x0;_0x57c142--)(_0x163e0e=_0x34b8eb[_0x57c142])&&(_0x3e6951=_0x163e0e(_0x3e6951)||_0x3e6951);return _0x3e6951;},_0x609ff6=(_0x2e8bfc,_0x52f7a0)=>(_0x348787,_0x1c00de)=>_0x52f7a0(_0x348787,_0x1c00de,_0x2e8bfc);let _0x4c587c=class{constructor(_0x58e95a,_0x4ee4ec,_0x50a3b7){const _0xa08551=_0x5f4777;this[_0xa08551(0x34e)]=_0x58e95a,this[_0xa08551(0x327)]=_0x4ee4ec,this[_0xa08551(0x249)]=_0x50a3b7;}[_0x5f4777(0x2bc)](_0x18a5b9){const _0x24f2ea=_0x5f4777;this[_0x24f2ea(0x198)](_0x18a5b9);}['transformRemoteChangeset'](_0x1b6e55){const _0x46baa8=_0x5f4777,{unitID:_0x3460a8}=_0x1b6e55,{collaboration:_0x3bcc7c}=this[_0x46baa8(0x249)][_0x46baa8(0x147)](_0x3460a8);if(_0x3bcc7c[_0x46baa8(0x15b)]===0x0)return _0x1b6e55;let _0x289f99=_0x1ced2a['Tools'][_0x46baa8(0x13d)](_0x1b6e55[_0x46baa8(0x3a8)][0x0]);for(let _0x22c2a2=0x0;_0x22c2a2<_0x3bcc7c[_0x46baa8(0x15b)];_0x22c2a2++){const _0x253e34={'id':_0x46baa8(0x36e),'params':{'unitId':_0x3bcc7c[_0x22c2a2]['unitId'],..._0x3bcc7c[_0x22c2a2][_0x46baa8(0x1df)]}},_0x1085cb=this[_0x46baa8(0x327)]['transformMutation'](_0x289f99,_0x253e34,!0x1);if(_0x28eb5b['isTransformMutationFailure'](_0x1085cb))throw _0x1085cb[_0x46baa8(0x382)];_0x289f99=_0x1085cb['m1Prime'];}return{..._0x1ced2a['Tools'][_0x46baa8(0x13d)](_0x1b6e55),'mutations':[_0x289f99]};}['_transformHistoryAndStateStack'](_0x392a4c){const _0x546c64=_0x5f4777,{unitID:_0x207c8a}=_0x392a4c,{history:_0x3c288d,collaboration:_0x19f1b2}=this['_docStateChangeManagerService'][_0x546c64(0x147)](_0x207c8a);if(_0x3c288d['length']===0x0&&_0x19f1b2[_0x546c64(0x15b)]===0x0)return;const _0xc45a26=[],_0x217095=[];let _0x5e392d=_0x1ced2a['Tools'][_0x546c64(0x13d)](_0x392a4c[_0x546c64(0x3a8)][0x0]),_0x2ff283=_0x1ced2a[_0x546c64(0x32c)][_0x546c64(0x13d)](_0x392a4c[_0x546c64(0x3a8)][0x0]);for(let _0x44720f=_0x3c288d['length']-0x1;_0x44720f>=0x0;_0x44720f--){const _0x195ca7={'id':_0x546c64(0x36e),'params':{'unitId':_0x3c288d[_0x44720f][_0x546c64(0x3d9)],..._0x3c288d[_0x44720f][_0x546c64(0x1a8)]}},_0x2adb92={'id':_0x546c64(0x36e),'params':{'unitId':_0x3c288d[_0x44720f]['unitId'],..._0x3c288d[_0x44720f][_0x546c64(0x1df)]}},_0x50029b=this[_0x546c64(0x327)][_0x546c64(0x3dd)](_0x5e392d,_0x195ca7,!0x1),_0x591417=this['_transformService'][_0x546c64(0x3dd)](_0x2ff283,_0x2adb92,!0x1);if(_0x28eb5b[_0x546c64(0x223)](_0x50029b))throw _0x50029b[_0x546c64(0x382)];if(_0x28eb5b[_0x546c64(0x223)](_0x591417))throw _0x591417[_0x546c64(0x382)];_0xc45a26[_0x546c64(0x3f1)]({..._0x3c288d[_0x44720f],'undoState':_0x50029b[_0x546c64(0x3d1)][_0x546c64(0x278)],'redoState':_0x591417['m2Prime'][_0x546c64(0x278)]}),_0x5e392d=_0x50029b[_0x546c64(0x3db)],_0x2ff283=_0x591417[_0x546c64(0x3db)];}_0x5e392d=_0x1ced2a['Tools'][_0x546c64(0x13d)](_0x392a4c[_0x546c64(0x3a8)][0x0]),_0x2ff283=_0x1ced2a['Tools'][_0x546c64(0x13d)](_0x392a4c[_0x546c64(0x3a8)][0x0]);for(let _0x43db06=_0x19f1b2[_0x546c64(0x15b)]-0x1;_0x43db06>=0x0;_0x43db06--){const _0x3fb71f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x19f1b2[_0x43db06][_0x546c64(0x3d9)],..._0x19f1b2[_0x43db06]['undoState']}},_0x4affa8={'id':_0x546c64(0x36e),'params':{'unitId':_0x19f1b2[_0x43db06][_0x546c64(0x3d9)],..._0x19f1b2[_0x43db06]['redoState']}},_0x14ccc2=this['_transformService'][_0x546c64(0x3dd)](_0x5e392d,_0x3fb71f,!0x1),_0x4cbe2a=this[_0x546c64(0x327)][_0x546c64(0x3dd)](_0x2ff283,_0x4affa8,!0x1);if(_0x28eb5b[_0x546c64(0x223)](_0x14ccc2))throw _0x14ccc2['error'];if(_0x28eb5b['isTransformMutationFailure'](_0x4cbe2a))throw _0x4cbe2a[_0x546c64(0x382)];_0x217095[_0x546c64(0x3f1)]({..._0x19f1b2[_0x43db06],'undoState':_0x14ccc2[_0x546c64(0x3d1)][_0x546c64(0x278)],'redoState':_0x4cbe2a['m2Prime'][_0x546c64(0x278)]}),_0x5e392d=_0x14ccc2[_0x546c64(0x3db)],_0x2ff283=_0x4cbe2a[_0x546c64(0x3db)];}this[_0x546c64(0x249)][_0x546c64(0x1fe)](_0x207c8a,{'history':_0xc45a26,'collaboration':_0x217095});}};_0x4c587c=_0x3bd51f([_0x609ff6(0x0,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x2af)])),_0x609ff6(0x1,_0x28eb5b[_0x5f4777(0x218)]),_0x609ff6(0x2,_0x1ced2a['Inject'](_0x2366a5['DocStateChangeManagerService']))],_0x4c587c);var _0x129c0b=Object[_0x5f4777(0x29e)],_0x337979=(_0x4407b1,_0x461671,_0x1302c1,_0x25afba)=>{const _0x356d5c=_0x5f4777;for(var _0x28778a=_0x25afba>0x1?void 0x0:_0x25afba?_0x129c0b(_0x461671,_0x1302c1):_0x461671,_0x4fae6a=_0x4407b1[_0x356d5c(0x15b)]-0x1,_0x23e382;_0x4fae6a>=0x0;_0x4fae6a--)(_0x23e382=_0x4407b1[_0x4fae6a])&&(_0x28778a=_0x23e382(_0x28778a)||_0x28778a);return _0x28778a;},_0x1356c6=(_0x308895,_0x443b10)=>(_0x535ec3,_0x44bb37)=>_0x443b10(_0x535ec3,_0x44bb37,_0x308895);let _0x485ed5=class{constructor(_0x44d61f,_0x330dea){const _0x71eb45=_0x5f4777;this[_0x71eb45(0x34e)]=_0x44d61f,this['_transformService']=_0x330dea;}[_0x5f4777(0x354)](_0x151ada){const _0x48e9fe=_0x5f4777;var _0xff4b0;const _0xb1d177=this['_injector'][_0x48e9fe(0x2b5)](_0x56412a[_0x48e9fe(0x189)]),_0x35aa10=(_0xff4b0=_0xb1d177[_0x48e9fe(0x366)]())!=null?_0xff4b0:[];if(_0x35aa10['length']===0x0)return;const _0x253c0b=_0x151ada[_0x48e9fe(0x1f0)],_0x11e5b7=[{'id':_0x48e9fe(0x36e),'params':{'unitId':_0x253c0b,'actions':null,'textRanges':_0x35aa10}}],_0x563a76=this[_0x48e9fe(0x327)][_0x48e9fe(0x1cf)](_0x151ada,_0x11e5b7);if(!_0x28eb5b[_0x48e9fe(0x2b3)](_0x563a76))throw _0x563a76['error'];const _0x2c8b67=_0x563a76[_0x48e9fe(0x3d1)][0x0]['params']['textRanges'];Array[_0x48e9fe(0x192)](_0x2c8b67)&&_0x2c8b67[_0x48e9fe(0x15b)]&&_0xb1d177[_0x48e9fe(0x3f7)](_0x2c8b67,{'unitId':_0x253c0b,'subUnitId':_0x253c0b},!0x1);}};_0x485ed5=_0x337979([_0x1356c6(0x0,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x2af)])),_0x1356c6(0x1,_0x28eb5b[_0x5f4777(0x218)])],_0x485ed5);var _0x1b744d=Object[_0x5f4777(0x29e)],_0x5e4bc5=(_0x178420,_0x54f6be,_0x79ccbe,_0x436ba9)=>{for(var _0x5bb17e=_0x436ba9>0x1?void 0x0:_0x436ba9?_0x1b744d(_0x54f6be,_0x79ccbe):_0x54f6be,_0x463d5c=_0x178420['length']-0x1,_0x5a6b60;_0x463d5c>=0x0;_0x463d5c--)(_0x5a6b60=_0x178420[_0x463d5c])&&(_0x5bb17e=_0x5a6b60(_0x5bb17e)||_0x5bb17e);return _0x5bb17e;},_0x2ed7c8=(_0xb78021,_0xc2908b)=>(_0x2ee809,_0x571369)=>_0xc2908b(_0x2ee809,_0x571369,_0xb78021);let _0x3bdf42=class extends _0x1ced2a[_0x5f4777(0x29c)]{constructor(_0x4fddc6,_0x11abf2,_0x15a176,_0x322de6,_0x5392e9,_0x5bee02,_0x500a3f,_0x540b6e){const _0x21cf60=_0x5f4777;super(),_0x13969d(this,_0x21cf60(0x342),new _0x5d9504[(_0x21cf60(0x149))](_0x378bf4['CollaborationStatus']['NOT_COLLAB'])),(this[_0x21cf60(0x249)]=_0x4fddc6,this[_0x21cf60(0x272)]=_0x11abf2,this[_0x21cf60(0x2a3)]=_0x15a176,this['_docTransformStateCacheService']=_0x322de6,this['_docTransformSelectionsService']=_0x5392e9,this[_0x21cf60(0x3e9)]=_0x5bee02,this[_0x21cf60(0x379)]=_0x500a3f,this[_0x21cf60(0x23f)]=_0x540b6e,this[_0x21cf60(0x39a)]());}[_0x5f4777(0x39a)](){const _0x437a09=_0x5f4777;this[_0x437a09(0x3b8)](this[_0x437a09(0x272)][_0x437a09(0x40b)]['subscribe'](_0x4476ab=>{const _0x467bd0=_0x437a09,_0x333551=this[_0x467bd0(0x249)]['docStateChange$'][_0x467bd0(0x403)](_0x5b59fc=>{const _0x106422=_0x467bd0;if(_0x5b59fc==null)return;const {unitId:_0x2719f4,redoState:_0x599be8,commandId:_0x12015f}=_0x5b59fc;if(_0x2719f4!==_0x4476ab[_0x106422(0x1f0)])return;const _0x393b46={'id':_0x12015f,'type':_0x1ced2a[_0x106422(0x251)][_0x106422(0x404)],'params':{'unitId':_0x2719f4,'actions':_0x599be8[_0x106422(0x20f)],'textRanges':null}};_0x4476ab[_0x106422(0x348)](_0x393b46);});if(_0x4476ab['disposeWithMe'](_0x333551),_0x4476ab instanceof _0x378bf4[_0x467bd0(0x253)]){const _0x1696d2={'onTransformIME':_0x489fb0=>this[_0x467bd0(0x2a3)][_0x467bd0(0x204)](_0x489fb0),'onTransformState':_0x528af6=>this[_0x467bd0(0x27a)][_0x467bd0(0x2bc)](_0x528af6),'onTransformSelections':_0x2025e5=>this[_0x467bd0(0x264)][_0x467bd0(0x354)](_0x2025e5),'onSyncEditingCollabCursor':_0x2b847b=>this[_0x467bd0(0x3e9)][_0x467bd0(0x383)](_0x2b847b),'onTransformRemoteChangesetByIMECache':_0x3635b8=>this['_docTransformIMECacheService'][_0x467bd0(0x20a)](_0x3635b8),'onTransformRemoteChangesetByStateCache':_0x3ba584=>this[_0x467bd0(0x27a)][_0x467bd0(0x20a)](_0x3ba584)};_0x4476ab['addHandlerCallback'](_0x1696d2);}}));}};_0x3bdf42=_0x5e4bc5([_0x2ed7c8(0x0,_0x1ced2a[_0x5f4777(0x3e1)](_0x2366a5[_0x5f4777(0x307)])),_0x2ed7c8(0x1,_0x1ced2a[_0x5f4777(0x3e1)](_0x378bf4[_0x5f4777(0x212)])),_0x2ed7c8(0x2,_0x1ced2a[_0x5f4777(0x3e1)](_0x446ab5)),_0x2ed7c8(0x3,_0x1ced2a[_0x5f4777(0x3e1)](_0x4c587c)),_0x2ed7c8(0x4,_0x1ced2a[_0x5f4777(0x3e1)](_0x485ed5)),_0x2ed7c8(0x5,_0x1ced2a['Inject'](_0x29a65a)),_0x2ed7c8(0x6,_0x19c552[_0x5f4777(0x3bb)]),_0x2ed7c8(0x7,_0x1ced2a['Inject'](_0x1ced2a['LocaleService']))],_0x3bdf42);var _0x4ee855=(_0x1a8079=>(_0x1a8079[_0x1a8079[_0x5f4777(0x13f)]=0x0]='UNDEFINED',_0x1a8079[_0x1a8079['OK']=0x1]='OK',_0x1a8079[_0x1a8079[_0x5f4777(0x3ab)]=0x2]='INTERNAL_ERROR',_0x1a8079[_0x1a8079[_0x5f4777(0x3cd)]=0x3]=_0x5f4777(0x3cd),_0x1a8079[_0x1a8079['NOT_FOUND']=0x4]=_0x5f4777(0x339),_0x1a8079[_0x1a8079[_0x5f4777(0x11e)]=0x5]=_0x5f4777(0x11e),_0x1a8079[_0x1a8079[_0x5f4777(0x29a)]=0x6]=_0x5f4777(0x29a),_0x1a8079[_0x1a8079[_0x5f4777(0x3b5)]=0x7]='INVALID_ARGUMENT',_0x1a8079[_0x1a8079[_0x5f4777(0x388)]=0x8]='TOO_MANY_REQUESTS',_0x1a8079[_0x1a8079[_0x5f4777(0x2dd)]=0x9]=_0x5f4777(0x2dd),_0x1a8079[_0x1a8079[_0x5f4777(0x208)]=0xa]='LOGIN_FAILED',_0x1a8079[_0x1a8079[_0x5f4777(0x3ef)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x1a8079[_0x1a8079[_0x5f4777(0x30c)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x1a8079[_0x1a8079[_0x5f4777(0x1ce)]=0xd]=_0x5f4777(0x1ce),_0x1a8079[_0x1a8079['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x5f4777(0x1b0),_0x1a8079[_0x1a8079[_0x5f4777(0x11f)]=0xf]=_0x5f4777(0x11f),_0x1a8079[_0x1a8079[_0x5f4777(0x374)]=0x10]=_0x5f4777(0x374),_0x1a8079[_0x1a8079[_0x5f4777(0x22c)]=0x64]=_0x5f4777(0x22c),_0x1a8079[_0x1a8079[_0x5f4777(0x132)]=0x65]='ERROR_AGAIN',_0x1a8079[_0x1a8079['USER_NOT_FOUND']=0xc9]=_0x5f4777(0x13b),_0x1a8079[_0x1a8079[_0x5f4777(0x1fc)]=0xca]='USER_IS_ANONYMOUS',_0x1a8079[_0x1a8079[_0x5f4777(0x156)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x1a8079[_0x1a8079[_0x5f4777(0x301)]=0x1771]=_0x5f4777(0x301),_0x1a8079[_0x1a8079[_0x5f4777(0x170)]=0x1772]=_0x5f4777(0x170),_0x1a8079[_0x1a8079[_0x5f4777(0x2ad)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x1a8079[_0x1a8079[_0x5f4777(0x1ad)]=0x1b59]='APPLY_REJECT',_0x1a8079[_0x1a8079['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x5f4777(0x36a),_0x1a8079[_0x1a8079[_0x5f4777(0x26a)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x1a8079[_0x1a8079[_0x5f4777(0x384)]=0x1b5c]=_0x5f4777(0x384),_0x1a8079[_0x1a8079['APPLY_DUPLICATED']=0x1b5d]=_0x5f4777(0x277),_0x1a8079[_0x1a8079[_0x5f4777(0x1f6)]=0x1f41]=_0x5f4777(0x1f6),_0x1a8079[_0x1a8079[_0x5f4777(0x345)]=0x2329]=_0x5f4777(0x345),_0x1a8079[_0x1a8079[_0x5f4777(0x1cc)]=0x232a]=_0x5f4777(0x1cc),_0x1a8079[_0x1a8079[_0x5f4777(0x35a)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x1a8079[_0x1a8079[_0x5f4777(0x267)]=0x232c]=_0x5f4777(0x267),_0x1a8079[_0x1a8079[_0x5f4777(0x261)]=0x232d]=_0x5f4777(0x261),_0x1a8079[_0x1a8079['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x5f4777(0x33a),_0x1a8079[_0x1a8079[_0x5f4777(0x2a8)]=0x2712]=_0x5f4777(0x2a8),_0x1a8079[_0x1a8079[_0x5f4777(0x3d0)]=0x2713]=_0x5f4777(0x3d0),_0x1a8079[_0x1a8079[_0x5f4777(0x1ea)]=0x2714]=_0x5f4777(0x1ea),_0x1a8079[_0x1a8079[_0x5f4777(0x3dc)]=0x271a]=_0x5f4777(0x3dc),_0x1a8079[_0x1a8079[_0x5f4777(0x23c)]=0x271b]=_0x5f4777(0x23c),_0x1a8079[_0x1a8079[_0x5f4777(0x1f5)]=0x271c]=_0x5f4777(0x1f5),_0x1a8079[_0x1a8079[_0x5f4777(0x145)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x1a8079[_0x1a8079[_0x5f4777(0x2b6)]=0x271e]=_0x5f4777(0x2b6),_0x1a8079[_0x1a8079[_0x5f4777(0x2c5)]=0x271f]=_0x5f4777(0x2c5),_0x1a8079[_0x1a8079[_0x5f4777(0x1b3)]=0x2720]=_0x5f4777(0x1b3),_0x1a8079[_0x1a8079['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x5f4777(0x2d7),_0x1a8079[_0x1a8079[_0x5f4777(0x227)]=0x2ee1]=_0x5f4777(0x227),_0x1a8079[_0x1a8079[_0x5f4777(0x126)]=0x2ee2]='INVALID_INVITE_CODE',_0x1a8079[_0x1a8079['INVITE_CODE_REQUIRED']=0x2ee3]=_0x5f4777(0x148),_0x1a8079[_0x1a8079[_0x5f4777(0x172)]=0x2ee4]=_0x5f4777(0x172),_0x1a8079[_0x1a8079['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x5f4777(0x151),_0x1a8079[_0x1a8079[_0x5f4777(0x352)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x1a8079[_0x1a8079[_0x5f4777(0x20b)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1a8079[_0x1a8079[_0x5f4777(0x3a5)]=0x32cb]=_0x5f4777(0x3a5),_0x1a8079[_0x1a8079['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x1a8079[_0x1a8079[_0x5f4777(0x370)]=0x36b2]=_0x5f4777(0x370),_0x1a8079[_0x1a8079['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x5f4777(0x2c7),_0x1a8079[_0x1a8079[_0x5f4777(0x21e)]=0x36b4]=_0x5f4777(0x21e),_0x1a8079[_0x1a8079[_0x5f4777(0x364)]=0x36b5]=_0x5f4777(0x364),_0x1a8079[_0x1a8079[_0x5f4777(0x1ec)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x1a8079[_0x1a8079[_0x5f4777(0x39d)]=0x36b7]=_0x5f4777(0x39d),_0x1a8079[_0x1a8079[_0x5f4777(0x3e6)]=0x36b8]=_0x5f4777(0x3e6),_0x1a8079[_0x1a8079['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x5f4777(0x1c1),_0x1a8079[_0x1a8079[_0x5f4777(0x39b)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x1a8079[_0x1a8079['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x1a8079[_0x1a8079[_0x5f4777(0x3ac)]=0x37dd]=_0x5f4777(0x3ac),_0x1a8079[_0x1a8079[_0x5f4777(0x26e)]=0x3a99]=_0x5f4777(0x26e),_0x1a8079[_0x1a8079[_0x5f4777(0x2db)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x1a8079[_0x1a8079['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x1a8079[_0x1a8079[_0x5f4777(0x260)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x1a8079[_0x1a8079[_0x5f4777(0x2de)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x1a8079[_0x1a8079['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x1a8079[_0x1a8079[_0x5f4777(0x37f)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x1a8079[_0x1a8079[_0x5f4777(0x124)]=0x3e81]=_0x5f4777(0x124),_0x1a8079[_0x1a8079[_0x5f4777(0x324)]=-0x1]='UNRECOGNIZED',_0x1a8079))(_0x4ee855||{});function _0x15631c(_0x40a443){const _0x261dc8=_0x5f4777;var _0x17df74,_0x166403;const _0xfdcaf0=(_0x17df74=_0x40a443[_0x261dc8(0x20e)])==null?void 0x0:_0x17df74['stage'],_0x588c5f=((_0x166403=_0x40a443[_0x261dc8(0x20e)])==null?void 0x0:_0x166403['totalFormulasToCalculate'])||0x0;return _0xfdcaf0===_0x900d4[_0x261dc8(0x3c6)][_0x261dc8(0x1a3)]&&_0x588c5f>0x0;}function _0x2cdefe(_0x5ee67b){const _0x5113bb=_0x5f4777;return _0x5ee67b[_0x5113bb(0x377)]===_0x900d4['FormulaExecutedStateType']['SUCCESS'];}var _0x102d4e=Object[_0x5f4777(0x29e)],_0x9c7f5=(_0x4c03bd,_0x59db31,_0x52d801,_0x3e6a08)=>{const _0x21a2ce=_0x5f4777;for(var _0x27b50f=_0x3e6a08>0x1?void 0x0:_0x3e6a08?_0x102d4e(_0x59db31,_0x52d801):_0x59db31,_0xc22a6f=_0x4c03bd[_0x21a2ce(0x15b)]-0x1,_0x1b503e;_0xc22a6f>=0x0;_0xc22a6f--)(_0x1b503e=_0x4c03bd[_0xc22a6f])&&(_0x27b50f=_0x1b503e(_0x27b50f)||_0x27b50f);return _0x27b50f;},_0x16d602=(_0x2c68be,_0x2e9893)=>(_0x3c4d2d,_0x115d60)=>_0x2e9893(_0x3c4d2d,_0x115d60,_0x2c68be);const _0x159eb8=_0x5f4777(0x201),_0x59fa94=_0x5f4777(0x2d0),_0x56f97a=_0x5f4777(0x14c);let _0x16d995=class extends _0x1ced2a[_0x5f4777(0x29c)]{constructor(_0x18ea8b,_0x516fe3,_0x2a0aec,_0x71ffa0,_0x4a2408,_0x382903,_0x19455c){const _0x624d8a=_0x5f4777;super(),_0x13969d(this,_0x624d8a(0x32b),null),_0x13969d(this,_0x624d8a(0x3ee),0x0),_0x13969d(this,_0x624d8a(0x3c2),0x0),_0x13969d(this,'_taskIds',[]),_0x13969d(this,_0x624d8a(0x312),0x0),(this['_messageService']=_0x18ea8b,this['_commandService']=_0x516fe3,this['_configService']=_0x2a0aec,this['_httpService']=_0x71ffa0,this[_0x624d8a(0x332)]=_0x4a2408,this['_logService']=_0x382903,this[_0x624d8a(0x23f)]=_0x19455c,this[_0x624d8a(0x323)]());}['_initCommandInterceptor'](){const _0xcf602e=_0x5f4777;this[_0xcf602e(0x3b8)](this[_0xcf602e(0x287)]['beforeCommandExecuted']((_0x337eeb,_0x556725)=>{const _0x1b9510=_0xcf602e;var _0x1e25b9;if(_0x337eeb['id']!==_0x900d4['SetFormulaCalculationStartMutation']['id'])return;const _0x3c0685=_0x337eeb[_0x1b9510(0x278)];if(!this[_0x1b9510(0x20d)]((_0x1e25b9=_0x3c0685[_0x1b9510(0x23e)])!=null?_0x1e25b9:[]))return;if(!this[_0x1b9510(0x3d5)]())throw this[_0x1b9510(0x380)](_0x337eeb,_0x556725),this[_0x1b9510(0x28c)](),new _0x1ced2a[(_0x1b9510(0x25e))]();})),this[_0xcf602e(0x3b8)](this[_0xcf602e(0x287)][_0xcf602e(0x2e9)]((_0x53443f,_0x5dbffe)=>{const _0x3758b6=_0xcf602e;if(_0x53443f['id']!==_0x900d4[_0x3758b6(0x2b1)]['id'])return;const _0x348136=_0x53443f['params'];if(_0x15631c(_0x348136)){const _0x237147=_0x1ced2a[_0x3758b6(0x3d7)]();this[_0x3758b6(0x12b)]['push'](_0x237147),this[_0x3758b6(0x270)](_0x237147);}else{if(_0x2cdefe(_0x348136)&&this['_taskIds'][_0x3758b6(0x15b)]>0x0){const _0x2f0670=this['_taskIds'][_0x3758b6(0x350)]();this['_releaseCalculationLimit'](_0x2f0670);}}}));}[_0x5f4777(0x256)](){const _0x58268b=_0x5f4777;super[_0x58268b(0x256)](),this[_0x58268b(0x372)](),this['_taskIds']=[],this[_0x58268b(0x3c2)]=0x0,this[_0x58268b(0x3ee)]=0x0,this[_0x58268b(0x312)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x5d9aa2,_0x147c33){const _0x5e18d0=_0x5f4777;for(let _0x5b8e94=0x0;_0x5b8e94<0x1e;_0x5b8e94++)try{if(await this[_0x5e18d0(0x19c)](),this[_0x5e18d0(0x3d5)]()){this[_0x5e18d0(0x24d)](_0x5d9aa2,_0x147c33),this[_0x5e18d0(0x379)][_0x5e18d0(0x2d8)]({'content':this[_0x5e18d0(0x23f)]['t']('formula.calculation.started'),'type':_0x52c80f[_0x5e18d0(0x2a4)][_0x5e18d0(0x3b3)]});return;}await new Promise(_0x1e938a=>{const _0xd4380a=_0x5e18d0;this['_pollingInterval']=window[_0xd4380a(0x351)](_0x1e938a,0x3e8);});}catch(_0x473dad){this[_0x5e18d0(0x1f1)]['error'](_0x473dad);}this['_messageService'][_0x5e18d0(0x2d8)]({'content':this[_0x5e18d0(0x23f)]['t'](_0x5e18d0(0x1b7)),'type':_0x52c80f[_0x5e18d0(0x2a4)][_0x5e18d0(0x2f7)]});}[_0x5f4777(0x24d)](_0x27ea7a,_0x32bd0a){const _0x445513=_0x5f4777;try{this[_0x445513(0x287)][_0x445513(0x18b)](_0x27ea7a['id'],_0x27ea7a[_0x445513(0x278)],_0x32bd0a);}catch(_0x10caa3){this[_0x445513(0x1f1)][_0x445513(0x382)](_0x10caa3);}}[_0x5f4777(0x1c0)](_0x29dc1e,_0xedcc68){const _0x5272af=_0x5f4777;_0xedcc68<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0xedcc68,this[_0x5272af(0x3ee)]=Number[_0x5272af(0x3d2)](_0x29dc1e[_0x5272af(0x335)]),this[_0x5272af(0x3c2)]=Number[_0x5272af(0x3d2)](_0x29dc1e[_0x5272af(0x30f)]));}async[_0x5f4777(0x270)](_0x436198){const _0x37cd37=_0x5f4777;var _0x548218,_0x5b3fd4;const _0x54c6b8=Date[_0x37cd37(0x1be)]();try{const _0x40aea0=((_0x548218=this[_0x37cd37(0x3fd)][_0x37cd37(0x134)](_0x378bf4[_0x37cd37(0x291)]))==null?void 0x0:_0x548218[_0x37cd37(0x286)])||_0x59fa94,_0x2ffd8a=(await this[_0x37cd37(0x174)][_0x37cd37(0x1bb)](_0x40aea0,{'body':JSON[_0x37cd37(0x1d9)]({'taskId':_0x436198})}))[_0x37cd37(0x1a9)];if(((_0x5b3fd4=_0x2ffd8a[_0x37cd37(0x382)])==null?void 0x0:_0x5b3fd4[_0x37cd37(0x25d)])!==_0x4ee855['OK'])return;this[_0x37cd37(0x1c0)](_0x2ffd8a[_0x37cd37(0x1d1)],_0x54c6b8);}catch(_0x4f99e9){this['_logService'][_0x37cd37(0x382)](_0x4f99e9);}}async[_0x5f4777(0x19c)](_0x36ddb5){const _0x4048b4=_0x5f4777;var _0x24d5a6,_0x4519e7;const _0x1abb3c=Date[_0x4048b4(0x1be)]();try{const _0x1919c9=((_0x24d5a6=this[_0x4048b4(0x3fd)][_0x4048b4(0x134)](_0x378bf4['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x24d5a6[_0x4048b4(0x271)])||_0x159eb8,_0x4b087e=_0x36ddb5?_0x1919c9+_0x4048b4(0x395)+encodeURIComponent(_0x36ddb5):_0x1919c9,_0x231f2c=(await this['_httpService']['get'](_0x4b087e))[_0x4048b4(0x1a9)];if(((_0x4519e7=_0x231f2c['error'])==null?void 0x0:_0x4519e7[_0x4048b4(0x25d)])!==_0x4ee855['OK'])return;this['_setFormulaLimitStatus'](_0x231f2c[_0x4048b4(0x1d1)],_0x1abb3c);}catch(_0x1f8e09){this[_0x4048b4(0x1f1)]['error'](_0x1f8e09);}}async[_0x5f4777(0x144)](_0x222296){const _0x7e37f1=_0x5f4777;var _0x26fd28,_0x54900b;const _0x49b45e=Date[_0x7e37f1(0x1be)]();try{const _0x322bda=((_0x26fd28=this['_configService']['getConfig'](_0x378bf4[_0x7e37f1(0x291)]))==null?void 0x0:_0x26fd28[_0x7e37f1(0x375)])||_0x56f97a,_0x4ac490=(await this[_0x7e37f1(0x174)][_0x7e37f1(0x1bb)](_0x322bda,{'body':JSON[_0x7e37f1(0x1d9)]({'taskId':_0x222296})}))[_0x7e37f1(0x1a9)];if(((_0x54900b=_0x4ac490['error'])==null?void 0x0:_0x54900b[_0x7e37f1(0x25d)])!==_0x4ee855['OK'])return;this['_setFormulaLimitStatus'](_0x4ac490['limitInfo'],_0x49b45e);}catch(_0x1f6685){this['_logService'][_0x7e37f1(0x382)](_0x1f6685);}}[_0x5f4777(0x3d5)](){const _0x79dae3=_0x5f4777;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x79dae3(0x3ee)]-this[_0x79dae3(0x3c2)]>0x0;}[_0x5f4777(0x372)](){const _0x169729=_0x5f4777;this['_pollingInterval']&&(clearTimeout(this[_0x169729(0x32b)]),this[_0x169729(0x32b)]=null);}['_showGuardMessage'](){const _0x2711d0=_0x5f4777;this[_0x2711d0(0x379)][_0x2711d0(0x2d8)]({'content':this['_localeService']['t'](_0x2711d0(0x1ab)),'type':_0x52c80f[_0x2711d0(0x2a4)][_0x2711d0(0x39c)]});}[_0x5f4777(0x20d)](_0x113f6c){const _0x16872b=_0x5f4777;for(const _0x55439e of _0x113f6c){const {unitId:_0x335150,sheetId:_0xbf8f08,range:_0x3028c4}=_0x55439e,_0x28ee4a=this[_0x16872b(0x332)][_0x16872b(0x302)](_0x335150);if(!_0x28ee4a)continue;const _0x4ba99a=_0x28ee4a['getSheetBySheetId'](_0xbf8f08);if(!_0x4ba99a)continue;const _0x513835=_0x4ba99a[_0x16872b(0x221)]();for(let _0x2d40aa=_0x3028c4[_0x16872b(0x35e)];_0x2d40aa<=_0x3028c4['endRow'];_0x2d40aa++)for(let _0x51b9f7=_0x3028c4['startColumn'];_0x51b9f7<=_0x3028c4['endColumn'];_0x51b9f7++){const _0xc57e5d=_0x513835['getValue'](_0x2d40aa,_0x51b9f7);if(_0xc57e5d&&(_0x1ced2a[_0x16872b(0x3b2)](_0xc57e5d['f'])||_0x1ced2a[_0x16872b(0x387)](_0xc57e5d['si'])))return!0x0;}}return!0x1;}};_0x16d995=_0x9c7f5([_0x16d602(0x0,_0x1ced2a[_0x5f4777(0x3e1)](_0x19c552[_0x5f4777(0x3bb)])),_0x16d602(0x1,_0x1ced2a[_0x5f4777(0x331)]),_0x16d602(0x2,_0x1ced2a['IConfigService']),_0x16d602(0x3,_0x1ced2a[_0x5f4777(0x3e1)](_0x5d4294[_0x5f4777(0x2f5)])),_0x16d602(0x4,_0x1ced2a['IUniverInstanceService']),_0x16d602(0x5,_0x1ced2a['ILogService']),_0x16d602(0x6,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a['LocaleService']))],_0x16d995);var _0x3ec55a=Object[_0x5f4777(0x29e)],_0x3deb65=(_0x45b55c,_0x29d615,_0x226aef,_0x177a54)=>{for(var _0x5b7c0c=_0x177a54>0x1?void 0x0:_0x177a54?_0x3ec55a(_0x29d615,_0x226aef):_0x29d615,_0x3fc2a7=_0x45b55c['length']-0x1,_0x5de469;_0x3fc2a7>=0x0;_0x3fc2a7--)(_0x5de469=_0x45b55c[_0x3fc2a7])&&(_0x5b7c0c=_0x5de469(_0x5b7c0c)||_0x5b7c0c);return _0x5b7c0c;},_0x4ebed9=(_0x384d8d,_0x2d0c56)=>(_0x158151,_0x28f255)=>_0x2d0c56(_0x158151,_0x28f255,_0x384d8d);let _0x124e0d=class extends _0x1ced2a[_0x5f4777(0x29c)]{constructor(_0x31113b,_0xb5e19a,_0x919a5a){const _0x420314=_0x5f4777;super(),_0x13969d(this,'_cachedData',new Map()),_0x13969d(this,_0x420314(0x226),new Map()),_0x13969d(this,'_disabled',!0x1),(this[_0x420314(0x3fd)]=_0x31113b,this[_0x420314(0x164)]=_0xb5e19a,this[_0x420314(0x2bb)]=_0x919a5a);}[_0x5f4777(0x3c7)](){const _0x5e07e4=_0x5f4777;this[_0x5e07e4(0x36b)]=!0x0;}[_0x5f4777(0x1f8)](){const _0x302e8f=_0x5f4777;this[_0x302e8f(0x36b)]=!0x1;}get['saveTaskMap'](){const _0x1eebd1=_0x5f4777;return this[_0x1eebd1(0x226)];}[_0x5f4777(0x256)](){const _0x343fdf=_0x5f4777;this[_0x343fdf(0x240)]()[_0x343fdf(0x35f)](()=>super['dispose']());}async[_0x5f4777(0x295)](_0x407b8d){const _0x1aa189=_0x5f4777;return this['_disabled']?null:this[_0x1aa189(0x164)][_0x1aa189(0x11c)](_0x378bf4[_0x1aa189(0x1f2)](_0x407b8d));}async['saveOfflineData'](_0x555b11,_0x6ad1ab){const _0x20d099=_0x5f4777;return!!this[_0x20d099(0x164)]['setItem'](_0x555b11,_0x6ad1ab);}[_0x5f4777(0x1dd)](_0x64103f,_0x39a313,_0x466aa9,_0x42fc8c){const _0x588936=_0x5f4777,_0x232949=this[_0x588936(0x2bb)]['getCurrentRevOfUnit'](_0x64103f);this[_0x588936(0x37d)][_0x588936(0x2a2)](_0x64103f,{'unitID':_0x64103f,'type':_0x39a313,'awaitingChangeset':_0x466aa9,'mutations':_0x42fc8c,'rev':_0x232949}),this['_saveTaskMap'][_0x588936(0x2be)](_0x64103f)||this[_0x588936(0x349)](_0x64103f);}[_0x5f4777(0x349)](_0x557e44){const _0x3f5dae=_0x5f4777,_0x147cd6=this[_0x3f5dae(0x37c)]();_0x147cd6===0x0?this['_saveCache'](_0x557e44):this[_0x3f5dae(0x226)][_0x3f5dae(0x2a2)](_0x557e44,setTimeout(()=>this[_0x3f5dae(0x205)](_0x557e44),_0x147cd6));}[_0x5f4777(0x37c)](){const _0x4bf25c=_0x5f4777;var _0x206029;return(_0x206029=this[_0x4bf25c(0x3fd)]['getConfig'](_0x378bf4[_0x4bf25c(0x1b9)]))!=null?_0x206029:_0x378bf4[_0x4bf25c(0x3e7)];}[_0x5f4777(0x205)](_0x5dcf4b){const _0xdcbdd4=_0x5f4777,_0x36c538=this['_saveTaskMap'][_0xdcbdd4(0x2b5)](_0x5dcf4b);return _0x36c538!==void 0x0&&window[_0xdcbdd4(0x282)](_0x36c538),this['_localStorageService'][_0xdcbdd4(0x15a)](_0x378bf4[_0xdcbdd4(0x1f2)](_0x5dcf4b),this['_cachedData'][_0xdcbdd4(0x2b5)](_0x5dcf4b))[_0xdcbdd4(0x35f)](()=>this['_saveTaskMap'][_0xdcbdd4(0x259)](_0x5dcf4b));}async[_0x5f4777(0x240)](){const _0x4e1af1=_0x5f4777,_0x5657ee=[];this['_saveTaskMap']['forEach']((_0xa6e55f,_0x16b2aa)=>{const _0x41aaac=_0x1d45;window[_0x41aaac(0x282)](_0xa6e55f),_0x5657ee[_0x41aaac(0x263)](this[_0x41aaac(0x205)](_0x16b2aa)[_0x41aaac(0x35f)](()=>{const _0x351c17=_0x41aaac;this['_saveTaskMap'][_0x351c17(0x259)](_0x16b2aa);}));}),await Promise[_0x4e1af1(0x389)](_0x5657ee);}};_0x124e0d=_0x3deb65([_0x4ebed9(0x0,_0x1ced2a[_0x5f4777(0x3bd)]),_0x4ebed9(0x1,_0x1ced2a[_0x5f4777(0x123)]),_0x4ebed9(0x2,_0x1ced2a['Inject'](_0x28eb5b[_0x5f4777(0x381)]))],_0x124e0d);class _0x288eed extends _0x1ced2a[_0x5f4777(0x26b)]{constructor(){const _0x26d57c=_0x5f4777;super(),_0x13969d(this,_0x26d57c(0x16a)),this[_0x26d57c(0x16a)]=_0x5d9504[_0x26d57c(0x3a2)](window,_0x26d57c(0x393))[_0x26d57c(0x1b6)](_0x5d9504[_0x26d57c(0x39f)](this[_0x26d57c(0x197)]),_0x5d9504[_0x26d57c(0x33e)](0x1),_0x5d9504[_0x26d57c(0x3de)](void 0x0));}[_0x5f4777(0x40f)](_0x119825,_0x2b468c,_0x57b3b5=!0x1){const _0x16e379=_0x5f4777,_0x149d91=new URL(window[_0x16e379(0x1e4)][_0x16e379(0x188)]);_0x149d91[_0x16e379(0x27d)][_0x16e379(0x2a2)](_0x119825,_0x2b468c),_0x57b3b5?window[_0x16e379(0x290)][_0x16e379(0x2fb)]('','',_0x149d91['toString']()):window[_0x16e379(0x290)][_0x16e379(0x3d8)]('','',_0x149d91['toString']());}[_0x5f4777(0x2ba)](_0x129a0f,_0x203f57=!0x1){const _0x54c96b=_0x5f4777,_0x51a457=new URL(window[_0x54c96b(0x1e4)][_0x54c96b(0x188)]);_0x51a457[_0x54c96b(0x27d)][_0x54c96b(0x259)](_0x129a0f),_0x203f57?window[_0x54c96b(0x290)][_0x54c96b(0x2fb)]('','',_0x51a457[_0x54c96b(0x23d)]()):window[_0x54c96b(0x290)][_0x54c96b(0x3d8)]('','',_0x51a457[_0x54c96b(0x23d)]());}[_0x5f4777(0x296)](_0x2f075e){const _0x1b87ed=_0x5f4777;var _0x6386d8;return(_0x6386d8=new URL(window['location'][_0x1b87ed(0x188)])[_0x1b87ed(0x27d)][_0x1b87ed(0x2b5)](_0x2f075e))!=null?_0x6386d8:void 0x0;}}var _0x1398f1=Object[_0x5f4777(0x17c)],_0x35b5e8=Object[_0x5f4777(0x29e)],_0x2cd7b5=(_0x246176,_0x3aac7c,_0x5ac5a9)=>_0x3aac7c in _0x246176?_0x1398f1(_0x246176,_0x3aac7c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5ac5a9}):_0x246176[_0x3aac7c]=_0x5ac5a9,_0x2baff2=(_0x5f5a72,_0x39f586,_0x3428a5,_0x3b3cbb)=>{const _0x185433=_0x5f4777;for(var _0x257c68=_0x3b3cbb>0x1?void 0x0:_0x3b3cbb?_0x35b5e8(_0x39f586,_0x3428a5):_0x39f586,_0x45eca5=_0x5f5a72[_0x185433(0x15b)]-0x1,_0xab038a;_0x45eca5>=0x0;_0x45eca5--)(_0xab038a=_0x5f5a72[_0x45eca5])&&(_0x257c68=_0xab038a(_0x257c68)||_0x257c68);return _0x257c68;},_0x53a4e4=(_0x28c80e,_0x5b457e)=>(_0x5588d2,_0x5dcd52)=>_0x5b457e(_0x5588d2,_0x5dcd52,_0x28c80e),_0xf9c82b=(_0x3030b1,_0x54f86d,_0x105b4d)=>_0x2cd7b5(_0x3030b1,_0x54f86d+'',_0x105b4d);const _0x519b32='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x5cfa5d[_0x5f4777(0x18d)]=class extends _0x1ced2a['Plugin']{constructor(_0x19106c=_0x501443,_0x21064a,_0x5803b8,_0x56d389){const _0x4cca45=_0x5f4777;super(),this['_config']=_0x19106c,this[_0x4cca45(0x2e4)]=_0x21064a,this['_injector']=_0x5803b8,this[_0x4cca45(0x3fd)]=_0x56d389;const {..._0x289ca5}=_0x1ced2a['merge']({},_0x501443,this[_0x4cca45(0x34d)]);this[_0x4cca45(0x3fd)][_0x4cca45(0x38f)](_0x2ebc66,_0x289ca5);}[_0x5f4777(0x161)](){const _0xba1069=_0x5f4777;this['_registerDependencies'](),this[_0xba1069(0x179)]();}[_0x5f4777(0x298)](){const _0x307d69=_0x5f4777;this[_0x307d69(0x22a)]();}[_0x5f4777(0x157)](){const _0x3458a1=_0x5f4777;var _0x24b879;const _0x545aa0=[[_0x21d2e0],[_0x16d995],[_0x485ed5],[_0x446ab5],[_0x4c587c],[_0x29a65a],[_0x44c1af,{'useClass':_0x288eed}],[_0x5d4294[_0x3458a1(0x2df)],{'useClass':_0x5d4294[_0x3458a1(0x273)]}],[_0x378bf4[_0x3458a1(0x1e9)],{'useClass':_0x124e0d}],[_0x5cfa5d[_0x3458a1(0x16d)]],[_0x3bdf42],[_0x46dcf1],[_0x114331],[_0x566d5c],[_0x5cfa5d[_0x3458a1(0x255)]]];this['_config']['enableFrontendLog']&&_0x545aa0[_0x3458a1(0x263)]([_0x2f3392]),_0x1ced2a[_0x3458a1(0x283)](this[_0x3458a1(0x34e)],_0x1ced2a[_0x3458a1(0x143)](_0x545aa0,(_0x24b879=this[_0x3458a1(0x34d)])==null?void 0x0:_0x24b879[_0x3458a1(0x22f)]));}['_registerRenderDependencies'](){const _0x3fd795=_0x5f4777;this[_0x3fd795(0x3b8)](this[_0x3fd795(0x2e4)][_0x3fd795(0x2c8)](_0x1ced2a[_0x3fd795(0x3b7)][_0x3fd795(0x2f6)],[_0x1d2bfc])),this[_0x3fd795(0x3b8)](this[_0x3fd795(0x2e4)][_0x3fd795(0x2c8)](_0x1ced2a[_0x3fd795(0x3b7)][_0x3fd795(0x228)],[_0x389fa1]));}['_initDependencies'](){const _0x28cf72=_0x5f4777;_0x1ced2a[_0x28cf72(0x232)](this['_injector'],[[_0x114331],[_0x5cfa5d[_0x28cf72(0x16d)]],[_0x3bdf42],[_0x46dcf1],[_0x5cfa5d['CollaborationDataLoaderController']],[_0x16d995]]),this[_0x28cf72(0x34d)]['enableFrontendLog']&&_0x1ced2a['touchDependencies'](this[_0x28cf72(0x34e)],[[_0x2f3392]]);}},_0xf9c82b(_0x5cfa5d[_0x5f4777(0x18d)],'pluginName',_0x519b32),_0x5cfa5d[_0x5f4777(0x18d)]=_0x2baff2([_0x1ced2a['DependentOn'](_0x378bf4['UniverCollaborationClientPlugin']),_0x53a4e4(0x1,_0x40ad79[_0x5f4777(0x2f0)]),_0x53a4e4(0x2,_0x1ced2a[_0x5f4777(0x3e1)](_0x1ced2a[_0x5f4777(0x2af)])),_0x53a4e4(0x3,_0x1ced2a[_0x5f4777(0x3bd)])],_0x5cfa5d[_0x5f4777(0x18d)]);var _0x48fe94=Object[_0x5f4777(0x29e)],_0xadc116=(_0x528faf,_0x377973,_0x51b3ff,_0x45b09e)=>{const _0x30acf8=_0x5f4777;for(var _0x28b2ca=_0x45b09e>0x1?void 0x0:_0x45b09e?_0x48fe94(_0x377973,_0x51b3ff):_0x377973,_0x14ede1=_0x528faf[_0x30acf8(0x15b)]-0x1,_0x486877;_0x14ede1>=0x0;_0x14ede1--)(_0x486877=_0x528faf[_0x14ede1])&&(_0x28b2ca=_0x486877(_0x28b2ca)||_0x28b2ca);return _0x28b2ca;},_0x3529d7=(_0x366f0e,_0x1f01cc)=>(_0xaa19b3,_0x8f29bc)=>_0x1f01cc(_0xaa19b3,_0x8f29bc,_0x366f0e);_0x5cfa5d['BrowserCollaborationSocketService']=class extends _0x378bf4['CollaborationSocketService']{constructor(_0x35ff4e,_0x45571e,_0x32e37c,_0x40e1bf,_0x35def2){super(_0x35ff4e,_0x45571e,_0x32e37c,_0x40e1bf,_0x35def2);}async[_0x5f4777(0x159)](_0x5c7b0b){const _0x4ac8ad=_0x5f4777,_0x8d1f7a=await this['_getSessionTicket'](),_0xe02311=this[_0x4ac8ad(0x3ec)](_0x5c7b0b,_0x8d1f7a);return this[_0x4ac8ad(0x1f4)](_0xe02311);}[_0x5f4777(0x3ec)](_0x3d0e08,_0x4c7921){const _0x2a4e4c=_0x5f4777,_0x35fadd=typeof window>'u'?new URL(_0x3d0e08):new URL(_0x3d0e08,window[_0x2a4e4c(0x1e4)][_0x2a4e4c(0x120)]);_0x35fadd['searchParams']['set'](_0x2a4e4c(0x1f9),_0x4c7921);const _0x56ef8c=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x2a4e4c(0x1e4)][_0x2a4e4c(0x22e)]);return _0x56ef8c[_0x2a4e4c(0x2b5)]('runId')&&_0x35fadd[_0x2a4e4c(0x27d)][_0x2a4e4c(0x2a2)](_0x2a4e4c(0x243),_0x56ef8c[_0x2a4e4c(0x2b5)](_0x2a4e4c(0x243))),_0x35fadd['toString']();}async[_0x5f4777(0x338)](){const _0x261f1a=_0x5f4777;var _0x99d70a,_0x291ed6,_0x7ad00d;const _0x210e8f=this[_0x261f1a(0x3fd)][_0x261f1a(0x134)](_0x378bf4[_0x261f1a(0x291)]),_0x1caedc=(_0x99d70a=_0x210e8f==null?void 0x0:_0x210e8f[_0x261f1a(0x30a)])!=null?_0x99d70a:_0x378bf4['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x7ad00d=(_0x291ed6=(await this[_0x261f1a(0x174)][_0x261f1a(0x2b5)](_0x1caedc,{'headers':{'Content-Type':_0x261f1a(0x1a7)}}))[_0x261f1a(0x1a9)])==null?void 0x0:_0x291ed6[_0x261f1a(0x2ce)])!=null?_0x7ad00d:'';}},_0x5cfa5d[_0x5f4777(0x1e3)]=_0xadc116([_0x3529d7(0x0,_0x1ced2a['Inject'](_0x1ced2a[_0x5f4777(0x2af)])),_0x3529d7(0x1,_0x1ced2a[_0x5f4777(0x3e1)](_0x5d4294[_0x5f4777(0x2f5)])),_0x3529d7(0x2,_0x1ced2a[_0x5f4777(0x3bd)]),_0x3529d7(0x3,_0x1ced2a[_0x5f4777(0x14b)]),_0x3529d7(0x4,_0x28eb5b['ISnapshotServerService'])],_0x5cfa5d['BrowserCollaborationSocketService']);var _0x56368e=Object[_0x5f4777(0x29e)],_0x42409f=(_0x207cfb,_0xcb90e9,_0x4ea5da,_0x2e7cd7)=>{const _0x50d370=_0x5f4777;for(var _0x430a33=_0x2e7cd7>0x1?void 0x0:_0x2e7cd7?_0x56368e(_0xcb90e9,_0x4ea5da):_0xcb90e9,_0x4c31f6=_0x207cfb[_0x50d370(0x15b)]-0x1,_0x409e8d;_0x4c31f6>=0x0;_0x4c31f6--)(_0x409e8d=_0x207cfb[_0x4c31f6])&&(_0x430a33=_0x409e8d(_0x430a33)||_0x430a33);return _0x430a33;},_0x2c0745=(_0x2a30f4,_0x58eae2)=>(_0xd344a2,_0x1e443f)=>_0x58eae2(_0xd344a2,_0x1e443f,_0x2a30f4);_0x5cfa5d[_0x5f4777(0x405)]=class extends _0x1ced2a[_0x5f4777(0x29c)]{constructor(_0x27798d,_0x202b66,_0x36c104){const _0x9adff9=_0x5f4777;super(),this[_0x9adff9(0x1ef)]=_0x27798d,this['_httpService']=_0x202b66,this[_0x9adff9(0x3fd)]=_0x36c104;}async[_0x5f4777(0x24e)](_0x5573ec,_0x2cfad3,_0xd33bc2,..._0x1ae7b3){const _0x1def7b=_0x5f4777;var _0x4c94b1,_0x597b8e,_0x1a8d9b,_0x3222d1;const _0x558626=this[_0x1def7b(0x1ef)]['getFocusedUnit']();if(!_0x558626)throw new Error(_0x1def7b(0x2d6));const _0x17376f=((_0x4c94b1=this[_0x1def7b(0x3fd)][_0x1def7b(0x134)](_0x378bf4[_0x1def7b(0x206)]))!=null?_0x4c94b1:_0x378bf4['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x5573ec+_0x1def7b(0x15f)+_0x2cfad3,_0x3db5ba=new URL(window[_0x1def7b(0x1e4)]['href']),_0x3c68ac={'scriptId':_0x5573ec,'runId':(_0x597b8e=_0x3db5ba[_0x1def7b(0x27d)]['get']('runId'))!=null?_0x597b8e:'','function':_0x2cfad3,'unitId':_0x558626[_0x1def7b(0x3b0)](),'argsOfFunction':JSON['stringify'](_0x1ae7b3),'invokeId':(_0x1a8d9b=_0xd33bc2[_0x1def7b(0x21f)])!=null?_0x1a8d9b:'','executionId':(_0x3222d1=_0xd33bc2['executionId'])!=null?_0x3222d1:''};try{const _0x4f37aa=await this[_0x1def7b(0x174)][_0x1def7b(0x1bb)](_0x17376f,{'body':_0x3c68ac});return _0x4f37aa[_0x1def7b(0x1a9)][_0x1def7b(0x382)]&&_0x4f37aa[_0x1def7b(0x1a9)][_0x1def7b(0x382)][_0x1def7b(0x25d)]!==_0x4ee855['OK']?_0x1def7b(0x2fa):_0x4f37aa[_0x1def7b(0x1a9)][_0x1def7b(0x12d)];}catch{return'Failed';}}},_0x5cfa5d['RemoteUniscriptService']=_0x42409f([_0x2c0745(0x0,_0x1ced2a[_0x5f4777(0x24c)]),_0x2c0745(0x1,_0x1ced2a[_0x5f4777(0x3e1)](_0x5d4294[_0x5f4777(0x2f5)])),_0x2c0745(0x2,_0x1ced2a['IConfigService'])],_0x5cfa5d[_0x5f4777(0x405)]);const _0x5521c3=0x7530,_0x232e00=_0x5f4777(0x315);class _0x155589 extends _0x1ced2a[_0x5f4777(0x29c)]{constructor(){const _0x38d317=_0x5f4777;super(),_0x13969d(this,_0x38d317(0x1ff),_0x1ced2a[_0x38d317(0x3d7)]()),_0x13969d(this,_0x38d317(0x2b4),new Set()),_0x13969d(this,'_unitOnClients',new Map()),_0x13969d(this,_0x38d317(0x3f5),null),_0x13969d(this,_0x38d317(0x31b),new Map()),_0x13969d(this,_0x38d317(0x26c),new Map()),this[_0x38d317(0x1c6)]();}['dispose'](){const _0x51a875=_0x5f4777;super[_0x51a875(0x256)](),this[_0x51a875(0x31b)]['forEach']((_0x14af3f,_0x1820a3)=>this[_0x51a875(0x19d)](_0x1820a3)),this['_heartbeatTimer']&&window[_0x51a875(0x34f)](this[_0x51a875(0x3f5)]);}[_0x5f4777(0x127)](_0xc77c01){const _0x20e8c9=_0x5f4777;return this[_0x20e8c9(0x304)](_0xc77c01)[_0x20e8c9(0x1b6)](_0x5d9504[_0x20e8c9(0x266)]());}[_0x5f4777(0x3e0)](_0x1567d9){const _0x49976b=_0x5f4777;this['_selfUnitIDs']['size']===0x0&&this[_0x49976b(0x2e3)](),this[_0x49976b(0x2b4)][_0x49976b(0x248)](_0x1567d9),this[_0x49976b(0x1fb)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x1567d9],'isForwarded':!0x1});}['disposeUnit'](_0x48f752){const _0x133487=_0x5f4777;this[_0x133487(0x2b4)][_0x133487(0x259)](_0x48f752),this[_0x133487(0x2b4)][_0x133487(0x1dc)]===0x0&&this[_0x133487(0x3f5)]&&window[_0x133487(0x34f)](this[_0x133487(0x3f5)]);}[_0x5f4777(0x1c6)](){const _0x29bec6=_0x5f4777;this[_0x29bec6(0x3b8)](_0x1ced2a['toDisposable'](_0x5d9504['fromEvent'](window,_0x29bec6(0x289))[_0x29bec6(0x403)](_0xad474f=>{const _0xe5c761=_0x29bec6;if(_0xad474f[_0xe5c761(0x138)]!==_0x232e00||!_0xad474f[_0xe5c761(0x250)])return;const _0x528f05=JSON[_0xe5c761(0x361)](_0xad474f[_0xe5c761(0x250)]);this[_0xe5c761(0x2cc)](_0x528f05);}))),window[_0x29bec6(0x22d)](_0x29bec6(0x237),()=>this['_send']({'type':0x1,'memberID':this[_0x29bec6(0x1ff)],'unitIDs':Array[_0x29bec6(0x1c7)](this[_0x29bec6(0x2b4)])}));}[_0x5f4777(0x2cc)](_0x3030ab){const _0x28acc3=_0x5f4777;switch(_0x3030ab[_0x28acc3(0x1c4)]){case 0x0:this['_handleJoinEvent'](_0x3030ab);break;case 0x1:this[_0x28acc3(0x22b)](_0x3030ab);break;case 0x2:this['_handleHeartbeatEvent'](_0x3030ab);break;}}[_0x5f4777(0x217)](_0x27765a){const _0x4bb4a9=_0x5f4777,{unitIDs:_0x1e0795,memberID:_0x33a703,isForwarded:_0x35f20b}=_0x27765a;_0x1e0795[_0x4bb4a9(0x196)](_0xcfe7b5=>{const _0x1f88df=_0x4bb4a9;if(!_0x35f20b&&this[_0x1f88df(0x16f)][_0x1f88df(0x2be)](_0xcfe7b5)&&this[_0x1f88df(0x304)](_0xcfe7b5)['next'](_0x378bf4[_0x1f88df(0x3e5)][_0x1f88df(0x320)]),!this[_0x1f88df(0x16f)][_0x1f88df(0x2be)](_0xcfe7b5)||!this[_0x1f88df(0x16f)]['get'](_0xcfe7b5)[_0x1f88df(0x2be)](_0x33a703)){const _0x44f776=this[_0x1f88df(0x16f)]['get'](_0xcfe7b5)||new Set();_0x44f776[_0x1f88df(0x248)](_0x33a703),this[_0x1f88df(0x16f)]['set'](_0xcfe7b5,_0x44f776),this[_0x1f88df(0x293)](_0x33a703);}}),_0x35f20b||this[_0x4bb4a9(0x1fb)]({'type':0x0,'memberID':this[_0x4bb4a9(0x1ff)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5f4777(0x293)](_0x5dba36){const _0x5d8557=_0x5f4777;this[_0x5d8557(0x19d)](_0x5dba36);const _0xbf890b=window[_0x5d8557(0x351)](()=>{const _0x292a78=_0x5d8557;this[_0x292a78(0x16f)][_0x292a78(0x196)](_0x135722=>{const _0x1c3278=_0x292a78;_0x135722[_0x1c3278(0x259)](_0x5dba36);});},_0x5521c3*0x2);this[_0x5d8557(0x31b)]['set'](_0x5dba36,_0xbf890b);}[_0x5f4777(0x19d)](_0x52651a){const _0x49b505=_0x5f4777;if(this['_clearOtherTimers'][_0x49b505(0x2be)](_0x52651a)){const _0x1dd366=this['_clearOtherTimers'][_0x49b505(0x2b5)](_0x52651a);_0x1dd366&&window[_0x49b505(0x282)](_0x1dd366),this['_clearOtherTimers'][_0x49b505(0x2a2)](_0x52651a,null);}}[_0x5f4777(0x22b)](_0xfb0f91){const _0x2f4ad7=_0x5f4777,{memberID:_0x2b9c2a,unitIDs:_0x54a163}=_0xfb0f91;_0x54a163[_0x2f4ad7(0x196)](_0x232845=>{const _0x54763f=_0x2f4ad7;var _0x3ac101;const _0x5d666b=this[_0x54763f(0x16f)][_0x54763f(0x2b5)](_0x232845);_0x5d666b&&(_0x5d666b[_0x54763f(0x259)](_0x2b9c2a),(_0x3ac101=this['_ensureSubject'](_0x232845))==null||_0x3ac101['next'](_0x5d666b[_0x54763f(0x1dc)]===0x0?_0x378bf4[_0x54763f(0x3e5)][_0x54763f(0x246)]:_0x378bf4[_0x54763f(0x3e5)][_0x54763f(0x320)]));}),this[_0x2f4ad7(0x19d)](_0x2b9c2a);}[_0x5f4777(0x215)](_0x5c7312){this['_scheduleClearOtherTimer'](_0x5c7312['memberID']);}[_0x5f4777(0x1fb)](_0x2c1340){const _0x35ffc1=_0x5f4777;localStorage[_0x35ffc1(0x15a)](_0x232e00,JSON[_0x35ffc1(0x1d9)](_0x2c1340));}[_0x5f4777(0x2e3)](){const _0x3578ab=_0x5f4777;this[_0x3578ab(0x3f5)]=window[_0x3578ab(0x26f)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x5521c3);}['_ensureSubject'](_0x250709){const _0x147541=_0x5f4777;return this[_0x147541(0x26c)][_0x147541(0x2be)](_0x250709)||this[_0x147541(0x26c)][_0x147541(0x2a2)](_0x250709,new _0x5d9504[(_0x147541(0x149))](_0x378bf4[_0x147541(0x3e5)][_0x147541(0x246)])),this[_0x147541(0x26c)][_0x147541(0x2b5)](_0x250709);}}_0x5cfa5d[_0x5f4777(0x1cd)]=_0x44c1af,_0x5cfa5d[_0x5f4777(0x38c)]=_0x1ded08,_0x5cfa5d[_0x5f4777(0x310)]=_0x155589,_0x5cfa5d[_0x5f4777(0x1db)]=_0x288eed,Object[_0x5f4777(0x17c)](_0x5cfa5d,Symbol[_0x5f4777(0x238)],{'value':_0x5f4777(0x313)});}));
|