@univerjs-pro/collaboration-client-ui 0.10.12 → 0.10.13-nightly.202510290902
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/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/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/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/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 +19 -19
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x513e(_0x1842c5,_0x2be88b){const _0x56dbb1=_0x56db();return _0x513e=function(_0x513ee6,_0x2d6fd6){_0x513ee6=_0x513ee6-0xed;let _0x2b4a16=_0x56dbb1[_0x513ee6];return _0x2b4a16;},_0x513e(_0x1842c5,_0x2be88b);}function _0x56db(){const _0x3e7259=['useObservable','_hideTimer','setActiveRange','_httpService','_config','override','TEXT','debounceTime','_document','_drawTextRange','isActive','clsx','lineTo','DocIMEInputManagerService','exports','_colorAssignService','YUUMI_NO_CUBOID_FOR_QUESTION','forEach','_logService','_syncEditingCollabCursorService','getTypeOfUnitAdded$','setParam','round','WebSocketService','_showGuardMessage','params','dispose$','_injector','@univerjs/sheets-ui','entries','_dataLoaderService','unitId','length','_unitStatus','CanceledError','_removeCollabCursors','getViewport','RemoveColCommandId','activeSheet$','switchMap','#FFF','_handleLeaveEvent','closePath','UniverDocsUi','unit','currentColor','AUTHORIZE_CODE_ILLEGAL','stringify','onPointerEnter$','concat','_color','_revisionService','uni.network.url-service','none','some','OnLineIcon','2545450wqyeZW','mergeOverrideWithDependencies','ONLINE','getFocusedUnit','unload','touchDependencies','UNIVER_SHEET','cursorInfo$','newValue','collabStatus.fetchMiss','addClipboardHook','_onCursorUpdate','_toggleOnline','Module','IConfigService','RichTextEditingMutation','APPLY_PERMISSION_DENIED','redoState','object','deepClone','DisposableCollection','_getMergeRange','_initStatusComponent','Error','_scheduleHeartbeat','_collaborationController','executeCommand','_getScale','_startCalculationLimit','_updateCollabCursors','MOBILE_HAS_BEEN_BOUND','drawWith','YUUMI_AI_RUN_FAILED','_init','_cursors','getSheetObject','NOT_FOUND','moveTo','restore','searchParams','_setupBeforeClosingHandler','_transformPreviousActiveRange','RemoteUniscriptService','_range','_docTransformIMECacheService','INTERNAL_ERROR','USERS_LEAVE','onRendered','getStateCache','RxDisposable','collabStatus.synced','_registerRenderDependencies','@univerjs/docs','_hasFormulaInDirtyRanges','SessionStatus','REDEMPTION_USER_REDEEM_TIMES_EXCEED','translate(.97)','_labelPosition','_name','_selfUnitIDs','IURLService','history','top','_docStateChangeManagerService','React','_applyCommand','5278097VxXTrR','isFormulaId','height','parse','_cachedData','disposeWithMe','generateRandomId','defIds','_initResize','LICENSE_IMPORT_SIZE_EXCEEDED','RemoveRowCommandId','then','selection','useDependency','InsertRangeMoveRightCommandId','Failed','SetFormulaCalculationNotificationMutation','_context','getTypeOfUnitDisposed$','defineProperty','_initStatusListener','storage','DeleteRangeMoveUpCommandId','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getAncestorScale','_hovered','from','formula.calculation.waiting','prototype','0\x200\x2017\x2016','imageSourceType','JOIN_ROOM_FAILED','location','onPointerMove$','syncEditingCollabCursor','width','hide','@univerjs/design','ITransformService','getVpScrollXYInfoByPosToVp','setShapeProps','roomMembers','transformRemoteChangeset','CONNECTOR_DATA_TOO_LARGE','getColorFromTheme','loadUnit','getCoordByCell','setTimeout','_memberService','string','REDEMPTION_CODE_HAS_BEEN_CREATED','COLORS','CollaborationController','handleInsertRangeMoveDown','div','getOwnPropertyDescriptor','includes','fill','_toggleOffline','isTransformMutationFailure','_cursor','UniverInstanceType','getParam','_online','white','INVALID_ARGUMENT','MoveRangeCommandId','CLOSE_ROOM','runId','IMessageService','PAYMENT_CHANNEL_NOT_SUPPORT','substring','jsx','YUUMI_ASYNCIO_CANCELLED','_collabCursorState$','_getFormulaLimitStatus','NOT_COLLAB','getCurrentUnitForType','permission.content','WebURLService','pipe','IUniverInstanceService','OFFLINE','UniverIcon','collabStatus.offline','clearTimeout','LICENSE_DISTRO_REJECTED','_refreshCollabCursors','onPointerLeave$','send','combineLatest','getOwnPropertySymbols','startsWith','OTHER_CLIENT_EDITING','UniverDocs','IRenderManagerService','ENSURE_SNAPSHOT_EXECUTION','actions','transformSelections','children','addHandlerCallback','skeleton','CollaborationDataLoaderController','resize','AWAITING_WITH_PENDING','exhaustSavingTask','[CollaborationDataLoaderController]','yellow.400','column','href','docStateChange$','_initEvent','CollaborationEvent','ERROR_AGAIN','mutations','assignAColorForMemberID','labelPosition','YUUMI_RATE_OVER_LIMIT','replaceState','LocaleService','formula.calculation.unable','_lastResponseTimestamp','_lastPointer','YUUMI_UNABLE_LOAD_URL','SUBMIT_CHANGESET_TIMEOUT','whenReady','231HUmPmS','REDEMPTION_INVALID_CODE','_scheduleClearOtherTimer','sheetID','EMAIL_VERIFY_CODE_MISMATCH','xlink:href','textRanges','collaboration-client-ui.config','_maxFormulaLimit','size','1em','selections','cursorInfo','className','createIdentifier','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','text','INotificationService','_collaborationUIEventService','addObject','values','_uiPartsService','_initCommandExecutedListener','font','_handleHeartbeatEvent','_initDependencies','getCurrentRevOfUnit','flatMap','SNAPSHOT_INVALID_SNAPSHOT','distinctUntilChanged','startRow','Success','1838aMoiBM','IImageIoService','getSkeleton','addEventListener','isArray','addObjects','disableLocalCache','getValue','_unitOnClients','_renderManagerService','ILocalCacheService','color','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','status$','_removeClearOtherTimer','_anchor','CONFLICT','ILogService','_transformUndoRedoStack','sheetId','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_backgroundColor','transformMutation','getMergeData','_univerInstanceService','init','REDEMPTION_CODE_INACTIVE','USER_NOT_INVITED_CODE','SetDocZoomRatioOperation','UNIVER_DOC','@univerjs/docs-ui','UniverSheets','find','setConfig','post','InsertRangeMoveDownCommandId','data','collabStatus.conflict','ENTITLE_NEED_BILLING_ADDRESS','event$','UniverDesign','set','replace','_assignedColors','onMouseMove','_docTransformSelectionsService','contains','_drawRectRange','11487XcLYrB','key','_send','engine','_disabled','YUUMI_CONNECTOR_URL_NOT_FOUND','AWAITING','code','APPLY_DUPLICATED','REDEMPTION_CODE_NOT_STARTED','UniverCollaborationClientUIPlugin','collabCursorState$','@univerjs/core','UPDATE_CURSOR','getCellPositionByOffset','saveImage','registerRenderModule','serializeRangeWithSheet','PENDING','name','@univerjs/rpc','delete','_registerDependencies','apply','attrs','symbol','on-line-icon_clip0_910_349','isTransformMutationsWithChangesetSuccess','createElement','_messageService','getLocalCacheKey','/universer-api/license/formula/limit/status','DEFAULT_WS_SESSION_TICKET_URL','_localCacheService','fillRule','UniverSheetsUi','CollaborationStatus','displayName','_shapes','ACTIVE_UNIT_EVENT_CHANNEL','_getSheetObject','throttleTime','memberID','collab-client.tooltip.reconnect','UniverProCollaborationClientUi','_handleJoinEvent','_setupSubUnitSync','SheetsSelectionsService','call','subUnitId','CHANGESET_REVISION_CONFILICT','runOnServer','reconnect','function','with','InsertColCommandId','collab-text-range-','COMPLETION_FINISHED','_drawAnchor','now','requireSession','_clearOtherTimers','assign','Disposable','error','ranges','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','/universer-api/license/formula/limit/done','YUUMI_URL_COL_OUT_OF_RANGE','startColumn','ALREADY_EXISTS','FormulaExecuteStageType','ColorKit','currentSkeleton$','green.600','LICENSE_MAX_UNITS_EXCEEDED','_cursorInfo$','connectInjector','DocSelectionManagerService','RECT','startFormulaLimitUrl','SYNCED','getSheetBySheetId','getRenderById','CollaborationSocketService','getUnhiddenWorksheets','getCurrentSelections','stage','unitID','UniverCore','tag','transform','jsxs','@univerjs/network','BehaviorSubject','permission.title','EffectRefRangId','HTTPService','BrowserCollaborationSocketService','asObservable','_draw','shift','TRANSFORM_CHANGE_OBSERVABLE_TYPE','hovered','runRefRangeMutations','icon','mask','_status$','SNAPSHOT_HAS_BEEN_REMOVED','defs','_beforeCloseService','@univerjs/engine-formula','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','add','_roomMembers$','_saveTaskMap','_onRefRangeChange','getUndoRedoMutationParamsCache','_ensureSubject','MemberService','session.collaboration-timeout','UniverUi','rxjs','url(#off-line-icon_clip0_910_343)','Rectangle','CollaborationUIEventId','blue.400','collab-text-anchor-','setUndoRedoMutationParamsCache','NodePositionConvertToCursor','fromEvent','setAlpha','PERMISSION_DENIED','_docClipboardService','colorChannel1','getActiveSheet','svg','_onCursorDelete','M0\x200H16V16H0z','arc','_getAnchorBounding','APPLY_NON_SEQUENTIAL_REVISION','toRgbString','random','_collabCursorController','currentTheme$','jiqing.500','_saveCache','takeUntil','dispose','getformulaLimitStatusUrl','popstate','CommandType','saveTaskMap','UniverDrawing','...','findNodePositionByCharIndex','m1Prime','undoState','SOCKET_FAILED_RETRY','INVITE_CODE_REQUIRED','SetWorksheetActivateCommand','_sheetSkeletonManagerService','on-line-icon','EMAIL_HAS_BEEN_BOUND','push','pushState','_transformService','handleMoveRange','INVITE_CODE_HAS_BEEN_UES','ILocalStorageService','totalFormulasToCalculate','Unknown\x20user','univer-flex\x20univer-items-center','getItem','entityInit$','REDEMPTION_USER_NOT_ELIGIBLE','mapTo','UniverProCollaborationClient','_id','transformByState','forwardRef','ENTITLE_CAN_NOT_BUY_LOWER_OTP','m2Prime','url(#$1','fillText','_localStorageService','FormulaExecutedStateType','black','_updateLocalCursor','_commandService','save','?taskId=','handleDeleteRangeMoveLeft','roomMembers$','SOCKET_FAILED','APPLY_REVISION_CONFILICT','CURRENT_STATUS_CANNOT_OPERATE','fillStyle','off-line-icon_clip0_910_343','clearInterval','enableLocalCache','START_CALCULATION','DOC_RANGE_TYPE','subscribeEvent','trim','ThemeService','_clearPolling','UniverEngineFormula','_pollingInterval','formula.calculation.started','USER_NOT_FOUND','getUnit','application/json','handleInsertCol','LICENSE_EXPORT_SIZE_EXCEEDED','_transformHistoryAndStateStack','handleIRemoveCol','eventID','_startSheetCollabCursor','onCommandExecuted','idSuffix','RevisionService','_collabSessionService','Injector','WECHAT_HAS_BEEN_BOUND','_updateURLWithCurrentState','parseInt','Subject','DeleteRangeMoveLeftCommandId','indexOf','@univerjs/ui','UniverRpc','evenodd','removeParam','getColor','rxjs/operators','off-line-icon','setStateCache','UNAUTHENTICATED','source','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','show','1188zRnZcZ','709bpWZmx','disposeUnit','_heartbeatTimer','NO_OTHER_CLIENTS_EDITING','next','_instanceService','_urlService','collaboration-client.offline-data-not-saved','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','shareReplay','MUTATION','beforeCommandExecuted','_currentUsage','_entities','DataLoaderService','subscribe','9umoBib','toStringTag','Inject','extend','operators','beginPath','351296uKNKpl','endRow','DesktopCollaborationStatusDisplayController','_handleEvent','path','createSocket','currentUsage','_scene','APPLY_REJECT','use','red.300','toDisposable','isFormulaString','clipPath','FETCH_MISS','OTHER_CLIENTS_EDITING','Vector2','focused$','_configService','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','limitInfo','_setFormulaLimitStatus','_releaseCalculationLimit','transformStateCache','sessionTicket','PY_RUNTIME_SCRIPT_ERROR','transformIMECache','univerjs-icon\x20univerjs-icon-','doc.mutation.rich-text-editing','has','WebBrowserSingleActiveUnitService','USER_IS_ANONYMOUS','_docTransformStateCacheService','DocStateChangeManagerService','type','getActiveRange','measureText','setItem','REDEMPTION_CODE_FULLY_REDEEMED','UnitStatus','complete','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','Loading','subunit','react/jsx-runtime','getDocRanges','RefRangeService','_initEntityListener','Rect','_updateSubUnitFromURLParams','_docSyncEditingCollabCursorService','_taskIds','unshift','_notificationService','_initCommandInterceptor','onStarting','handleIRemoveRow','bottom','getMember','min','DependentOn','_handleHover','map','_localeService','ENTITLE_DUP_SUBSCRIPTION','Warning','TEXT_RANGE_LAYER_INDEX','debounce','UNRECOGNIZED','_colorIndex','_imageIoService','collaboration.closeRoom','origin','_session','13932ZLxsyc','getSheetId','FromArray','MessageType','getCollabCursors$','getUniverSheetInstance','_checkAndWaitForCalculationPermission','purple.300','hasOwnProperty','body','SetSelectionsOperation','INVALID_INVITE_CODE','Tools','debug','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','onLocalMutation','_entityInit$','SheetSkeletonManagerService','1942435BincxM','_hover','getUnitId','getCollabEntity$','_createSocketURL','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_cursorShapes','current','getConfig','max','_render','_getSaveTimeout','filter','ICommandService','toString','get','ISnapshotServerService','YUUMI_ALL_TABLES_IS_INVALID','ISocketService','SHEET_VIEWPORT_KEY','_refRangeService','_textBubble','_eventUnsubscribe','ENTITLE_CHAT_LIMIT_EXCEED','range','split','LOGIN_FAILED','_anchorDot','rgba(255,\x20255,\x20255,\x200.01)','LOGIN_TOKEN_PROCESSING_FAILED','endColumn','UniverProCollaboration','_docSkeletonManagerService','_docSkeleton','_getSessionTicket','CollaborationSessionService','unsubscribe','useCallback','_scheduleSaving','registerRefRange','_themeService','loadOfflineData','getMemberID','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.'];_0x56db=function(){return _0x3e7259;};return _0x56db();}(function(_0x2b6456,_0x599088){const _0x372eaa=_0x513e,_0x56f19d=_0x2b6456();while(!![]){try{const _0x5c54cc=parseInt(_0x372eaa(0x260))/0x1*(parseInt(_0x372eaa(0x13c))/0x2)+parseInt(_0x372eaa(0x11c))/0x3*(-parseInt(_0x372eaa(0x2c0))/0x4)+-parseInt(_0x372eaa(0x2d2))/0x5+-parseInt(_0x372eaa(0x25f))/0x6*(-parseInt(_0x372eaa(0x16c))/0x7)+-parseInt(_0x372eaa(0x276))/0x8+parseInt(_0x372eaa(0x270))/0x9*(-parseInt(_0x372eaa(0x336))/0xa)+parseInt(_0x372eaa(0x378))/0xb;if(_0x5c54cc===_0x599088)break;else _0x56f19d['push'](_0x56f19d['shift']());}catch(_0xb684ab){_0x56f19d['push'](_0x56f19d['shift']());}}}(_0x56db,0x7a5bd),function(_0x35f860,_0x326eb1){const _0x45cdcf=_0x513e;typeof exports==_0x45cdcf(0x348)&&typeof module<'u'?_0x326eb1(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==_0x45cdcf(0x1a1)&&define['amd']?define([_0x45cdcf(0x30c),_0x45cdcf(0x2a2),'@univerjs-pro/collaboration-client',_0x45cdcf(0x178),_0x45cdcf(0x253),_0x45cdcf(0x1e6),_0x45cdcf(0x39d),'react',_0x45cdcf(0x180),'@univerjs/sheets','@univerjs/engine-render',_0x45cdcf(0x1c9),_0x45cdcf(0x15a),'@univerjs/drawing','@univerjs-pro/collaboration',_0x45cdcf(0x36a),_0x45cdcf(0x1db),_0x45cdcf(0x258),_0x45cdcf(0x31a)],_0x326eb1):(_0x35f860=typeof globalThis<'u'?globalThis:_0x35f860||self,_0x326eb1(_0x35f860[_0x45cdcf(0x198)]={},_0x35f860[_0x45cdcf(0x376)],_0x35f860[_0x45cdcf(0x21e)],_0x35f860[_0x45cdcf(0x1c5)],_0x35f860[_0x45cdcf(0x1e5)],_0x35f860[_0x45cdcf(0x1e6)],_0x35f860[_0x45cdcf(0x164)],_0x35f860['React'],_0x35f860[_0x45cdcf(0x254)],_0x35f860[_0x45cdcf(0x15b)],_0x35f860['UniverEngineRender'],_0x35f860['UniverNetwork'],_0x35f860[_0x45cdcf(0x329)],_0x35f860[_0x45cdcf(0x206)],_0x35f860[_0x45cdcf(0x2f1)],_0x35f860[_0x45cdcf(0xfc)],_0x35f860[_0x45cdcf(0x23c)],_0x35f860[_0x45cdcf(0x1e6)][_0x45cdcf(0x274)],_0x35f860[_0x45cdcf(0x18f)]));}(this,function(_0x1e0a34,_0x27d4ff,_0x24c19b,_0x20afdc,_0x351287,_0x388e9f,_0x1e0555,_0x333f4a,_0x44fd1d,_0xecf1fb,_0x314741,_0x12e6c2,_0x4c9f55,_0x515276,_0x5d9b62,_0x52be1c,_0x5892b7,_0x309597,_0x28415e){'use strict';const _0x1bfb44=_0x513e;var _0x585670=Object[_0x1bfb44(0x38b)],_0x2af35e=(_0x4af6ce,_0x4ffddf,_0x2db5c8)=>_0x4ffddf in _0x4af6ce?_0x585670(_0x4af6ce,_0x4ffddf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2db5c8}):_0x4af6ce[_0x4ffddf]=_0x2db5c8,_0x46e3b1=(_0x4264fc,_0x597ed3,_0x10f47a)=>_0x2af35e(_0x4264fc,typeof _0x597ed3!=_0x1bfb44(0x185)?_0x597ed3+'':_0x597ed3,_0x10f47a),_0x1245a4=function(){const _0x3460f3=_0x1bfb44;return _0x1245a4=Object['assign']||function(_0x300e71){const _0x2f0d55=_0x513e;for(var _0x3c8db5,_0x1b0786=0x1,_0x58f89f=arguments[_0x2f0d55(0x31e)];_0x1b0786<_0x58f89f;_0x1b0786++){_0x3c8db5=arguments[_0x1b0786];for(var _0x41175b in _0x3c8db5)Object[_0x2f0d55(0x394)][_0x2f0d55(0x2c8)][_0x2f0d55(0x19c)](_0x3c8db5,_0x41175b)&&(_0x300e71[_0x41175b]=_0x3c8db5[_0x41175b]);}return _0x300e71;},_0x1245a4[_0x3460f3(0x183)](this,arguments);},_0x568d81=function(_0x26ee96,_0x35096e){const _0x518cfa=_0x1bfb44;var _0x19cd26={};for(var _0xc2ae61 in _0x26ee96)Object[_0x518cfa(0x394)]['hasOwnProperty'][_0x518cfa(0x19c)](_0x26ee96,_0xc2ae61)&&_0x35096e[_0x518cfa(0x252)](_0xc2ae61)<0x0&&(_0x19cd26[_0xc2ae61]=_0x26ee96[_0xc2ae61]);if(_0x26ee96!=null&&typeof Object[_0x518cfa(0xf9)]=='function'){for(var _0x4405e5=0x0,_0xc2ae61=Object[_0x518cfa(0xf9)](_0x26ee96);_0x4405e5<_0xc2ae61[_0x518cfa(0x31e)];_0x4405e5++)_0x35096e['indexOf'](_0xc2ae61[_0x4405e5])<0x0&&Object[_0x518cfa(0x394)]['propertyIsEnumerable'][_0x518cfa(0x19c)](_0x26ee96,_0xc2ae61[_0x4405e5])&&(_0x19cd26[_0xc2ae61[_0x4405e5]]=_0x26ee96[_0xc2ae61[_0x4405e5]]);}return _0x19cd26;},_0x779480=_0x333f4a[_0x1bfb44(0x221)](function(_0x3cfcb2,_0x324e8d){const _0xdc6fc1=_0x1bfb44;var _0x14a97f=_0x3cfcb2[_0xdc6fc1(0x1d5)],_0x588588=_0x3cfcb2['id'],_0x1c9d6d=_0x3cfcb2[_0xdc6fc1(0x129)],_0x57b948=_0x3cfcb2[_0xdc6fc1(0x273)],_0x26c4c9=_0x568d81(_0x3cfcb2,[_0xdc6fc1(0x1d5),'id',_0xdc6fc1(0x129),_0xdc6fc1(0x273)]),_0xed4cd6=_0xdc6fc1(0x291)['concat'](_0x588588,'\x20')[_0xdc6fc1(0x32f)](_0x1c9d6d||'')[_0xdc6fc1(0x239)](),_0x46f398=_0x333f4a['useRef']('_'[_0xdc6fc1(0x32f)](_0x1783ae()));return _0x2b957b(_0x14a97f,''['concat'](_0x588588),{'defIds':_0x14a97f[_0xdc6fc1(0x37f)],'idSuffix':_0x46f398[_0xdc6fc1(0x2d9)]},_0x1245a4({'ref':_0x324e8d,'className':_0xed4cd6},_0x26c4c9),_0x57b948);});function _0x2b957b(_0x28d26b,_0x480a1c,_0x16ee47,_0x5203f9,_0x2fa80e){const _0x2893d3=_0x1bfb44;return _0x333f4a[_0x2893d3(0x188)](_0x28d26b[_0x2893d3(0x1c6)],_0x1245a4(_0x1245a4({'key':_0x480a1c},_0x174e4b(_0x28d26b,_0x16ee47,_0x2fa80e)),_0x5203f9),(_0x4be73d(_0x28d26b,_0x16ee47)[_0x2893d3(0x101)]||[])[_0x2893d3(0x2b4)](function(_0x369d28,_0x54c367){const _0x4602ed=_0x2893d3;return _0x2b957b(_0x369d28,''['concat'](_0x480a1c,'-')[_0x4602ed(0x32f)](_0x28d26b[_0x4602ed(0x1c6)],'-')[_0x4602ed(0x32f)](_0x54c367),_0x16ee47,void 0x0,_0x2fa80e);}));}function _0x174e4b(_0x3a2bcd,_0xb7d4b1,_0x4063af){const _0x1b73f5=_0x1bfb44;var _0x54cc4a=_0x1245a4({},_0x3a2bcd[_0x1b73f5(0x184)]);_0x4063af!=null&&_0x4063af[_0x1b73f5(0x1f2)]&&_0x54cc4a[_0x1b73f5(0x3b1)]==='colorChannel1'&&(_0x54cc4a[_0x1b73f5(0x3b1)]=_0x4063af[_0x1b73f5(0x1f2)]),_0x3a2bcd[_0x1b73f5(0x1c6)]===_0x1b73f5(0x1d6)&&_0x54cc4a['id']&&(_0x54cc4a['id']=_0x54cc4a['id']+_0xb7d4b1['idSuffix']),Object[_0x1b73f5(0x31b)](_0x54cc4a)[_0x1b73f5(0x30f)](function(_0x192256){const _0xcf27b5=_0x1b73f5;var _0xbcae7=_0x192256[0x0],_0x50306d=_0x192256[0x1];_0xbcae7===_0xcf27b5(0x1d6)&&typeof _0x50306d==_0xcf27b5(0x3a9)&&(_0x54cc4a[_0xbcae7]=_0x50306d['replace'](/url\(#(.*)\)/,_0xcf27b5(0x224)[_0xcf27b5(0x32f)](_0xb7d4b1[_0xcf27b5(0x249)],')')));});var _0x16a70f=_0xb7d4b1[_0x1b73f5(0x37f)];return!_0x16a70f||_0x16a70f[_0x1b73f5(0x31e)]===0x0||(_0x3a2bcd['tag']===_0x1b73f5(0x27f)&&_0x54cc4a[_0x1b73f5(0x121)]&&(_0x54cc4a[_0x1b73f5(0x121)]=_0x54cc4a[_0x1b73f5(0x121)]+_0xb7d4b1[_0x1b73f5(0x249)]),Object[_0x1b73f5(0x31b)](_0x54cc4a)[_0x1b73f5(0x30f)](function(_0x20d9ee){const _0x23a816=_0x1b73f5;var _0x85460c=_0x20d9ee[0x0],_0x25615e=_0x20d9ee[0x1];typeof _0x25615e==_0x23a816(0x3a9)&&(_0x54cc4a[_0x85460c]=_0x25615e[_0x23a816(0x166)](/url\(#(.*)\)/,'url(#$1'[_0x23a816(0x32f)](_0xb7d4b1[_0x23a816(0x249)],')')));})),_0x54cc4a;}function _0x4be73d(_0x2b0cfb,_0x32b618){const _0x740d7b=_0x1bfb44;var _0x3867ec,_0x54f9d6=_0x32b618[_0x740d7b(0x37f)];return!_0x54f9d6||_0x54f9d6[_0x740d7b(0x31e)]===0x0?_0x2b0cfb:_0x2b0cfb['tag']===_0x740d7b(0x1d9)&&(!((_0x3867ec=_0x2b0cfb[_0x740d7b(0x101)])===null||_0x3867ec===void 0x0)&&_0x3867ec['length'])?_0x1245a4(_0x1245a4({},_0x2b0cfb),{'children':_0x2b0cfb[_0x740d7b(0x101)][_0x740d7b(0x2b4)](function(_0x6125c9){const _0x49d529=_0x740d7b;return typeof _0x6125c9[_0x49d529(0x184)]['id']==_0x49d529(0x3a9)&&_0x54f9d6&&_0x54f9d6[_0x49d529(0x3b0)](_0x6125c9[_0x49d529(0x184)]['id'])?_0x1245a4(_0x1245a4({},_0x6125c9),{'attrs':_0x1245a4(_0x1245a4({},_0x6125c9['attrs']),{'id':_0x6125c9[_0x49d529(0x184)]['id']+_0x32b618['idSuffix']})}):_0x6125c9;})}):_0x2b0cfb;}function _0x1783ae(){const _0x26f8f5=_0x1bfb44;return Math[_0x26f8f5(0x1fb)]()[_0x26f8f5(0x2e0)](0x24)[_0x26f8f5(0x3bf)](0x2,0x8);}_0x779480['displayName']=_0x1bfb44(0xf1);var _0x34ed98={'tag':_0x1bfb44(0x1f4),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1bfb44(0x333),'viewBox':'0\x200\x2016\x2016','width':_0x1bfb44(0x126),'height':_0x1bfb44(0x126)},'children':[{'tag':'g','attrs':{'clipPath':_0x1bfb44(0x1e7)},'children':[{'tag':_0x1bfb44(0x27a),'attrs':{'stroke':_0x1bfb44(0x32b),'d':_0x1bfb44(0x289),'strokeLinecap':_0x1bfb44(0x314),'strokeLinejoin':_0x1bfb44(0x314),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1bfb44(0x283),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x1bfb44(0x27a),'attrs':{'fill':_0x1bfb44(0x3b8),'d':_0x1bfb44(0x1f6)}}]}]}],'defIds':[_0x1bfb44(0x233)]},_0x558722=_0x333f4a['forwardRef'](function(_0x9c77a8,_0x513e15){const _0x10c70d=_0x1bfb44;return _0x333f4a['createElement'](_0x779480,Object[_0x10c70d(0x1aa)]({},_0x9c77a8,{'id':_0x10c70d(0x259),'ref':_0x513e15,'icon':_0x34ed98}));});_0x558722[_0x1bfb44(0x191)]='OffLineIcon';var _0x125f43={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1bfb44(0x333),'viewBox':_0x1bfb44(0x395),'width':_0x1bfb44(0x126),'height':_0x1bfb44(0x126)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x1bfb44(0x27a),'attrs':{'stroke':_0x1bfb44(0x32b),'d':_0x1bfb44(0x25d),'strokeLinecap':_0x1bfb44(0x314),'strokeLinejoin':_0x1bfb44(0x314),'strokeWidth':1.2}}]},{'tag':_0x1bfb44(0x1d9),'attrs':{},'children':[{'tag':_0x1bfb44(0x283),'attrs':{'id':_0x1bfb44(0x186)},'children':[{'tag':_0x1bfb44(0x27a),'attrs':{'fill':_0x1bfb44(0x3b8),'d':_0x1bfb44(0x1f6),'transform':_0x1bfb44(0x36e)}}]}]}],'defIds':[_0x1bfb44(0x186)]},_0x392f5f=_0x333f4a[_0x1bfb44(0x221)](function(_0x138b57,_0x1da675){const _0x576612=_0x1bfb44;return _0x333f4a[_0x576612(0x188)](_0x779480,Object['assign']({},_0x138b57,{'id':_0x576612(0x20f),'ref':_0x1da675,'icon':_0x125f43}));});_0x392f5f[_0x1bfb44(0x191)]=_0x1bfb44(0x335);function _0x1055ce(_0x5698fb){const _0x162ff3=_0x1bfb44;switch(_0x5698fb){case _0x24c19b['CollaborationStatus'][_0x162ff3(0xf0)]:return _0x162ff3(0xf2);case _0x24c19b[_0x162ff3(0x190)]['CONFLICT']:return _0x162ff3(0x161);case _0x24c19b['CollaborationStatus'][_0x162ff3(0x284)]:return _0x162ff3(0x33f);case _0x24c19b['CollaborationStatus'][_0x162ff3(0x3c4)]:return'collabStatus.notCollab';case _0x24c19b[_0x162ff3(0x190)][_0x162ff3(0x172)]:case _0x24c19b[_0x162ff3(0x190)][_0x162ff3(0x106)]:return'collabStatus.syncing';case _0x24c19b['CollaborationStatus'][_0x162ff3(0x1bd)]:case _0x24c19b['CollaborationStatus'][_0x162ff3(0x17e)]:return _0x162ff3(0x368);}}function _0x355a77(_0x1a5e6d){const _0x70f199=_0x1bfb44,{status$:_0x78194a}=_0x1a5e6d,_0x1a131b=_0x351287[_0x70f199(0x2fe)](_0x78194a,_0x24c19b[_0x70f199(0x190)][_0x70f199(0x3c4)]),_0x2547d1=_0x351287['useDependency'](_0x20afdc[_0x70f199(0x115)]),_0x32ecb7=_0x351287[_0x70f199(0x385)](_0x24c19b[_0x70f199(0x2f5)]),_0x3ba3dd=_0x1a131b!==_0x24c19b['CollaborationStatus']['OFFLINE'],_0x45eda7=_0x2547d1['t'](_0x1055ce(_0x1a131b)),_0x5ce372=_0x3ba3dd?_0x27d4ff['jsx'](_0x392f5f,{}):_0x27d4ff[_0x70f199(0x3c0)](_0x558722,{}),_0x2b5dc0=_0x333f4a[_0x70f199(0x2f7)](()=>{const _0x2d2bc6=_0x70f199;_0x3ba3dd||_0x32ecb7[_0x2d2bc6(0x1a0)]();},[_0x3ba3dd,_0x32ecb7]);function _0x5e551e(){const _0x1baf98=_0x70f199;return _0x27d4ff[_0x1baf98(0x1c8)](_0x1baf98(0x3ae),{'className':_0x1baf98(0x219),'onClick':_0x2b5dc0,'children':[_0x27d4ff[_0x1baf98(0x3c0)]('div',{'className':_0x1e0555[_0x1baf98(0x309)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x3ba3dd,'univer-text-red-500':!_0x3ba3dd}),'children':_0x5ce372}),_0x27d4ff[_0x1baf98(0x3c0)](_0x1baf98(0x3ae),{'className':_0x1baf98(0x1dc),'children':_0x45eda7})]});}return _0x3ba3dd?_0x5e551e():_0x27d4ff['jsx'](_0x1e0555['Tooltip'],{'title':_0x2547d1['t'](_0x70f199(0x197)),'children':_0x5e551e()});}var _0x474dfe=Object['getOwnPropertyDescriptor'],_0x2a5508=(_0x3ebe2d,_0x54ae2b,_0x37da11,_0x26da89)=>{for(var _0x190f2b=_0x26da89>0x1?void 0x0:_0x26da89?_0x474dfe(_0x54ae2b,_0x37da11):_0x54ae2b,_0x5cf1bf=_0x3ebe2d['length']-0x1,_0x1f2970;_0x5cf1bf>=0x0;_0x5cf1bf--)(_0x1f2970=_0x3ebe2d[_0x5cf1bf])&&(_0x190f2b=_0x1f2970(_0x190f2b)||_0x190f2b);return _0x190f2b;},_0x3a8d27=(_0x43ad9e,_0x40cfe3)=>(_0x3525a3,_0x480187)=>_0x40cfe3(_0x3525a3,_0x480187,_0x43ad9e);_0x1e0a34[_0x1bfb44(0x278)]=class extends _0x20afdc[_0x1bfb44(0x1ab)]{constructor(_0x5aae33,_0xeafd68,_0x28df07,_0x35b576){const _0x229884=_0x1bfb44;super(),_0x46e3b1(this,_0x229884(0x1d7),new _0x388e9f[(_0x229884(0x1ca))](_0x24c19b[_0x229884(0x190)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x5aae33,this[_0x229884(0x319)]=_0xeafd68,this['_collaborationController']=_0x28df07,this[_0x229884(0x131)]=_0x35b576,this[_0x229884(0x34c)](),this['_initStatusListener']());}[_0x1bfb44(0x38c)](){const _0xf1dfd6=_0x1bfb44;this[_0xf1dfd6(0x37d)](this[_0xf1dfd6(0x154)][_0xf1dfd6(0x287)][_0xf1dfd6(0xee)](_0x388e9f[_0xf1dfd6(0x325)](()=>{const _0x356f25=_0xf1dfd6,_0x3db1df=this[_0x356f25(0x154)][_0x356f25(0x339)]();return _0x3db1df?this['_collaborationController'][_0x356f25(0x2d5)](_0x3db1df[_0x356f25(0x2d4)]()):_0x388e9f['of'](null);}),_0x388e9f[_0xf1dfd6(0x325)](_0x534690=>_0x534690?_0x534690[_0xf1dfd6(0x149)]:_0x388e9f['of'](_0x24c19b[_0xf1dfd6(0x190)][_0xf1dfd6(0x3c4)])))[_0xf1dfd6(0x26f)](_0x18239b=>{const _0x19ee2e=_0xf1dfd6;this[_0x19ee2e(0x1d7)][_0x19ee2e(0x264)](_0x18239b);}));}[_0x1bfb44(0x34c)](){const _0x231947=_0x1bfb44;this[_0x231947(0x37d)](this[_0x231947(0x131)]['registerComponent'](_0x351287['BuiltInUIPart']['HEADER_MENU'],()=>_0x351287[_0x231947(0x1b9)](_0x2f844f({'status$':this['_status$'][_0x231947(0x1cf)]()}),this[_0x231947(0x319)])));}},_0x1e0a34[_0x1bfb44(0x278)]=_0x2a5508([_0x3a8d27(0x0,_0x20afdc[_0x1bfb44(0xef)]),_0x3a8d27(0x1,_0x20afdc[_0x1bfb44(0x272)](_0x20afdc[_0x1bfb44(0x24c)])),_0x3a8d27(0x2,_0x20afdc[_0x1bfb44(0x272)](_0x24c19b[_0x1bfb44(0x3ac)])),_0x3a8d27(0x3,_0x351287['IUIPartsService'])],_0x1e0a34['DesktopCollaborationStatusDisplayController']);function _0x2f844f(_0x77555a){const {status$:_0x5a6c35}=_0x77555a;return function(){const _0x18ffa5=_0x513e;return _0x27d4ff[_0x18ffa5(0x3c0)](_0x355a77,{'status$':_0x5a6c35});};}const _0x562000=_0x20afdc[_0x1bfb44(0x12a)](_0x1bfb44(0x332));var _0x4e6585=Object[_0x1bfb44(0x3af)],_0x5acf67=(_0x15814e,_0x560e8f,_0x6ca113,_0x404d23)=>{for(var _0x352f1a=_0x404d23>0x1?void 0x0:_0x404d23?_0x4e6585(_0x560e8f,_0x6ca113):_0x560e8f,_0x4bbd55=_0x15814e['length']-0x1,_0x431e0c;_0x4bbd55>=0x0;_0x4bbd55--)(_0x431e0c=_0x15814e[_0x4bbd55])&&(_0x352f1a=_0x431e0c(_0x352f1a)||_0x352f1a);return _0x352f1a;},_0x5380bc=(_0x3cfcd2,_0x10f03f)=>(_0x1190bf,_0x42fb55)=>_0x10f03f(_0x1190bf,_0x42fb55,_0x3cfcd2);_0x1e0a34[_0x1bfb44(0x104)]=class extends _0x20afdc[_0x1bfb44(0x367)]{constructor(_0x30fbda,_0x62729,_0x93b189,_0x20336f,_0x269c34){const _0xbd2442=_0x1bfb44;super(),this[_0xbd2442(0x266)]=_0x30fbda,this[_0xbd2442(0x310)]=_0x62729,this[_0xbd2442(0x22a)]=_0x93b189,this['_dataLoaderService']=_0x20336f,_0x269c34?_0x269c34==null||_0x269c34[_0xbd2442(0x11b)]()['then'](()=>this['_init']()):(this[_0xbd2442(0x310)]['debug'](_0xbd2442(0x108),_0xbd2442(0x2ce)),this[_0xbd2442(0x357)]());}async['_init'](){const _0x33756f=_0x1bfb44,_0x224b89=this[_0x33756f(0x266)][_0x33756f(0x3b6)](_0x33756f(0x32a)),_0x1895ea=this[_0x33756f(0x266)][_0x33756f(0x3b6)](_0x33756f(0x298)),_0x144801=this[_0x33756f(0x266)][_0x33756f(0x3b6)](_0x33756f(0x2a1));if(!_0x224b89||!_0x1895ea){this[_0x33756f(0x310)][_0x33756f(0x2cd)](_0x33756f(0x108),_0x33756f(0x2fd));return;}const _0x38d0eb=await this[_0x33756f(0x31c)][_0x33756f(0x3a5)](_0x224b89,Number(_0x1895ea),_0x144801);_0x38d0eb&&_0x38d0eb instanceof _0x20afdc['Workbook']&&this[_0x33756f(0x19a)](_0x38d0eb);}async[_0x1bfb44(0x19a)](_0x3d7072){const _0x12edfd=_0x1bfb44;await this[_0x12edfd(0x2a7)](_0x3d7072),_0x3d7072[_0x12edfd(0x324)][_0x12edfd(0xee)](_0x388e9f['takeUntil'](this[_0x12edfd(0x318)]))[_0x12edfd(0x26f)](_0xfe2339=>{const _0x1b17c6=_0x12edfd;_0xfe2339&&this[_0x1b17c6(0x24e)](_0xfe2339);}),this[_0x12edfd(0x266)]['urlChange$'][_0x12edfd(0xee)](_0x388e9f[_0x12edfd(0x200)](this[_0x12edfd(0x318)]))[_0x12edfd(0x26f)](()=>this[_0x12edfd(0x2a7)](_0x3d7072));}[_0x1bfb44(0x24e)](_0x13c54d,_0x3087d4=!0x1){const _0x5f2244=_0x1bfb44,_0x5c1385=this[_0x5f2244(0x266)][_0x5f2244(0x3b6)]('subunit');_0x13c54d[_0x5f2244(0x2c1)]()!==_0x5c1385&&this['_urlService'][_0x5f2244(0x313)](_0x5f2244(0x2a1),_0x13c54d['getSheetId'](),_0x3087d4);}async[_0x1bfb44(0x2a7)](_0x11a09d){const _0x2055e3=_0x1bfb44;var _0x16c45f;const _0xabead4=this[_0x2055e3(0x266)][_0x2055e3(0x3b6)](_0x2055e3(0x2a1));if(!_0xabead4||!_0x11a09d[_0x2055e3(0x1be)](_0xabead4)){const _0x371af4=_0x11a09d[_0x2055e3(0x1c1)]()[0x0],_0x3b6f56=_0x11a09d['getSheetBySheetId'](_0x371af4);if(!_0x3b6f56)return;this[_0x2055e3(0x24e)](_0x3b6f56,!0x0),await this[_0x2055e3(0x22a)][_0x2055e3(0x350)](_0xecf1fb[_0x2055e3(0x20d)]['id'],{'unitId':_0x11a09d[_0x2055e3(0x2d4)](),'subUnitId':_0x371af4});return;}((_0x16c45f=_0x11a09d[_0x2055e3(0x1f3)]())==null?void 0x0:_0x16c45f[_0x2055e3(0x2c1)]())!==_0xabead4&&await this['_commandService']['executeCommand'](_0xecf1fb['SetWorksheetActivateCommand']['id'],{'unitId':_0x11a09d[_0x2055e3(0x2d4)](),'subUnitId':_0xabead4});}},_0x1e0a34['CollaborationDataLoaderController']=_0x5acf67([_0x5380bc(0x0,_0x562000),_0x5380bc(0x1,_0x20afdc[_0x1bfb44(0x14d)]),_0x5380bc(0x2,_0x20afdc[_0x1bfb44(0x2df)]),_0x5380bc(0x3,_0x20afdc['Inject'](_0x24c19b[_0x1bfb44(0x26e)])),_0x5380bc(0x4,_0x20afdc['Optional'](_0x44fd1d['IRemoteInstanceService']))],_0x1e0a34[_0x1bfb44(0x104)]);var _0x20043c=Object['getOwnPropertyDescriptor'],_0xa17e77=(_0x271ecf,_0x4bed31,_0x4e5c7f,_0x34ad3a)=>{const _0x14e8f9=_0x1bfb44;for(var _0x459ab1=_0x34ad3a>0x1?void 0x0:_0x34ad3a?_0x20043c(_0x4bed31,_0x4e5c7f):_0x4bed31,_0x4f94ba=_0x271ecf[_0x14e8f9(0x31e)]-0x1,_0x194823;_0x4f94ba>=0x0;_0x4f94ba--)(_0x194823=_0x271ecf[_0x4f94ba])&&(_0x459ab1=_0x194823(_0x459ab1)||_0x459ab1);return _0x459ab1;},_0x8ca4fc=(_0x3f0068,_0x5e0b94)=>(_0x4c135e,_0x5efd8a)=>_0x5e0b94(_0x4c135e,_0x5efd8a,_0x3f0068);let _0xdd87ee=class extends _0x20afdc[_0x1bfb44(0x367)]{constructor(_0x1fb7e4,_0x4b6c21){const _0x4b1136=_0x1bfb44;super(),this[_0x4b1136(0x1f1)]=_0x1fb7e4,this[_0x4b1136(0x2bc)]=_0x4b6c21,this[_0x4b1136(0x357)]();}[_0x1bfb44(0x357)](){const _0x516a82=_0x1bfb44,_0xea1424=this;this[_0x516a82(0x37d)](this['_docClipboardService'][_0x516a82(0x340)]({'onBeforePasteImage':async _0x1dc675=>{const _0x41c63d=_0x516a82,_0x5c76a7=await _0xea1424[_0x41c63d(0x2bc)][_0x41c63d(0x17b)](_0x1dc675);return _0x5c76a7?{'source':_0x5c76a7[_0x41c63d(0x25c)],'imageSourceType':_0x5c76a7[_0x41c63d(0x396)]}:null;}}));}};_0xdd87ee=_0xa17e77([_0x8ca4fc(0x0,_0x4c9f55['IDocClipboardService']),_0x8ca4fc(0x1,_0x515276[_0x1bfb44(0x13d)])],_0xdd87ee);const _0x5351e1=[_0x1bfb44(0x2c7),_0x1bfb44(0x1fe),_0x1bfb44(0x1b6),_0x1bfb44(0x280),_0x1bfb44(0x1ea),_0x1bfb44(0x109)];class _0x16366d extends _0x20afdc['Disposable']{constructor(){const _0xee93e=_0x1bfb44;super(...arguments),_0x46e3b1(this,_0xee93e(0x167),new Map()),_0x46e3b1(this,_0xee93e(0x2bb),0x0);}[_0x1bfb44(0x111)](_0x1b8455){const _0x3c123d=_0x1bfb44;if(this['_assignedColors']['has'](_0x1b8455))return this[_0x3c123d(0x167)][_0x3c123d(0x2e1)](_0x1b8455);const _0x90ea94=_0x5351e1[this[_0x3c123d(0x2bb)]];return this[_0x3c123d(0x2bb)]=(this[_0x3c123d(0x2bb)]+0x1)%_0x5351e1['length'],this[_0x3c123d(0x167)]['set'](_0x1b8455,_0x90ea94),_0x90ea94;}}function _0x5290fc(_0x4930c4){let _0x192f66='';for(const _0x5dbeae of _0x4930c4){const {startOffset:_0x39ec3d,endOffset:_0x3005ba,isActive:_0x2154db,rangeType:_0x565cd8,segmentId:_0x260b4e,segmentPage:_0x5844d0}=_0x5dbeae;_0x192f66['length']&&(_0x192f66+=','),_0x192f66+=_0x39ec3d+':'+_0x3005ba+':'+(_0x2154db?'1':'0')+':'+_0x565cd8+':'+_0x260b4e+':'+_0x5844d0;}return _0x192f66;}function _0x240331(_0x1188b9){const _0x123698=_0x1bfb44,_0x19cd97=_0x1188b9[_0x123698(0x2eb)](','),_0xeb1d3b=[];for(const _0x2fb3c5 of _0x19cd97){const [_0x12e152,_0x304687,_0x568f45,_0x6dcd92,_0x7ba2fe,_0x357ed9]=_0x2fb3c5[_0x123698(0x2eb)](':');_0xeb1d3b['push']({'startOffset':Number(_0x12e152),'endOffset':Number(_0x304687),'collapsed':_0x12e152===_0x304687,'isActive':_0x568f45==='1','rangeType':_0x6dcd92===_0x20afdc['DOC_RANGE_TYPE']['TEXT']?_0x20afdc[_0x123698(0x237)][_0x123698(0x304)]:_0x20afdc['DOC_RANGE_TYPE'][_0x123698(0x1bb)],'segmentId':typeof _0x7ba2fe==_0x123698(0x3a9)?String(_0x7ba2fe):'','segmentPage':Number(_0x357ed9!=null?_0x357ed9:-0x1)});}return _0xeb1d3b[_0x123698(0x334)](_0x27920a=>_0x27920a[_0x123698(0x308)])||(_0xeb1d3b[0x0][_0x123698(0x308)]=!0x0),_0xeb1d3b;}class _0x2a0bd extends _0x20afdc[_0x1bfb44(0x367)]{constructor(){const _0x1ccc4c=_0x1bfb44;super(...arguments),_0x46e3b1(this,_0x1ccc4c(0x3c2),new _0x388e9f[(_0x1ccc4c(0x1ca))](null)),_0x46e3b1(this,_0x1ccc4c(0x177),this[_0x1ccc4c(0x3c2)][_0x1ccc4c(0x1cf)]());}[_0x1bfb44(0x39a)](_0x239be9){const _0x396f72=_0x1bfb44,{unitID:_0x2c2e8b,memberID:_0x2580e8,textRanges:_0x1952aa}=_0x239be9,_0x336940=_0x5290fc(_0x1952aa);if(_0x336940==='')return;const _0x45b14c={'unitID':_0x2c2e8b,'memberID':_0x2580e8,'selection':_0x336940};this[_0x396f72(0x3c2)]['next'](_0x45b14c);}}var _0x33a76d=Object[_0x1bfb44(0x3af)],_0x3ee934=(_0x33addf,_0x44dea7,_0x206849,_0x9c6b9a)=>{const _0x2846a4=_0x1bfb44;for(var _0x19ef10=_0x9c6b9a>0x1?void 0x0:_0x9c6b9a?_0x33a76d(_0x44dea7,_0x206849):_0x44dea7,_0x1fe200=_0x33addf[_0x2846a4(0x31e)]-0x1,_0x5331cd;_0x1fe200>=0x0;_0x1fe200--)(_0x5331cd=_0x33addf[_0x1fe200])&&(_0x19ef10=_0x5331cd(_0x19ef10)||_0x19ef10);return _0x19ef10;},_0x585ae8=(_0x1cbe15,_0x5b4d7f)=>(_0x4d42d6,_0x12f76a)=>_0x5b4d7f(_0x4d42d6,_0x12f76a,_0x1cbe15);const _0x2519f8=0x12c,_0x489da2=0x64;let _0x12fca2=class extends _0x20afdc['RxDisposable']{constructor(_0x422092,_0xdf977,_0x22a791,_0x2e9a4f,_0x1087c1,_0x3a4b84,_0x32f478,_0x5ef077,_0x255972){const _0x679ec7=_0x1bfb44;super(),_0x46e3b1(this,_0x679ec7(0x3b7),!0x1),_0x46e3b1(this,_0x679ec7(0x357),!0x1),_0x46e3b1(this,'_cursorInfo$',new _0x388e9f[(_0x679ec7(0x1ca))](new Map())),_0x46e3b1(this,_0x679ec7(0x33d),this[_0x679ec7(0x1b8)][_0x679ec7(0x1cf)]()),_0x46e3b1(this,_0x679ec7(0x1de),new _0x388e9f[(_0x679ec7(0x1ca))]([])),_0x46e3b1(this,_0x679ec7(0x22e),this[_0x679ec7(0x1de)]['pipe'](_0x388e9f[_0x679ec7(0x305)](_0x2519f8))),_0x46e3b1(this,_0x679ec7(0x229),_0x20afdc['debounce'](_0x4bffe4=>{const _0x1943b3=_0x679ec7,_0x516138={'eventID':_0x5d9b62[_0x1943b3(0x10e)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x1943b3(0x1c4)],'memberID':this[_0x1943b3(0x2bf)]['getMemberID'](),'selection':_0x5290fc(_0x4bffe4)}};this[_0x1943b3(0x2bf)]['send'](_0x516138,this[_0x1943b3(0x1c4)]);},_0x489da2)),(this['unitID']=_0x422092,this[_0x679ec7(0x2bf)]=_0xdf977,this['_injector']=_0x22a791,this['_colorAssignService']=_0x2e9a4f,this[_0x679ec7(0x3a8)]=_0x1087c1,this[_0x679ec7(0x311)]=_0x3a4b84,this['_transformService']=_0x32f478,this[_0x679ec7(0x154)]=_0x5ef077,this['_commandService']=_0x255972);}get[_0x1bfb44(0x128)](){const _0x978d63=_0x1bfb44;return this[_0x978d63(0x1b8)][_0x978d63(0x143)]();}get[_0x1bfb44(0x3a1)](){const _0x53f3df=_0x1bfb44;return this[_0x53f3df(0x1de)]['getValue']();}[_0x1bfb44(0x201)](){const _0x2868c2=_0x1bfb44;super[_0x2868c2(0x201)](),this[_0x2868c2(0x1b8)][_0x2868c2(0x264)](new Map()),this[_0x2868c2(0x1b8)]['complete'](),this[_0x2868c2(0x1de)]['next']([]),this[_0x2868c2(0x1de)][_0x2868c2(0x29e)]();}[_0x1bfb44(0x155)](){const _0x292ae6=_0x1bfb44;this[_0x292ae6(0x357)]||(this[_0x292ae6(0x357)]=!0x0,this['_session']['sessionStatus$'][_0x292ae6(0xee)](_0x388e9f['takeUntil'](this[_0x292ae6(0x318)]))[_0x292ae6(0x26f)](_0x204e78=>{const _0x2b2832=_0x292ae6;_0x204e78===_0x24c19b['SessionStatus'][_0x2b2832(0x338)]?this['_toggleOnline']():this[_0x2b2832(0x3b2)]();}),this['_session'][_0x292ae6(0x163)][_0x292ae6(0xee)](_0x388e9f[_0x292ae6(0x200)](this[_0x292ae6(0x318)]))[_0x292ae6(0x26f)](_0x1675e2=>{const _0x2f006b=_0x292ae6,_0x22fdf8=_0x1675e2[_0x2f006b(0x246)];_0x22fdf8===_0x5d9b62['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x2f006b(0x341)](_0x1675e2),_0x22fdf8===_0x5d9b62[_0x2f006b(0x10e)][_0x2f006b(0x364)]&&this[_0x2f006b(0x1f5)](_0x1675e2);}),this['disposeWithMe'](this[_0x292ae6(0x22a)][_0x292ae6(0x248)](_0x4ee0fd=>{const _0x4bc8f2=_0x292ae6,_0x581f92=_0x4ee0fd['params'];_0x581f92!=null&&this[_0x4bc8f2(0x3b7)]&&_0x4ee0fd['id']===_0x52be1c['SetTextSelectionsOperation']['id']&&_0x581f92[_0x4bc8f2(0x31d)]===this['unitID']&&_0x581f92['isEditing']===!0x1&&_0x581f92[_0x4bc8f2(0x1ad)]['length']>0x0&&this[_0x4bc8f2(0x229)](_0x581f92['ranges']);})),this[_0x292ae6(0x311)][_0x292ae6(0x177)][_0x292ae6(0xee)](_0x388e9f[_0x292ae6(0x200)](this[_0x292ae6(0x318)]))['subscribe'](_0x268671=>{const _0x3c550c=_0x292ae6;if((_0x268671==null?void 0x0:_0x268671['unitID'])!==this[_0x3c550c(0x1c4)])return;const _0x31169a={'eventID':_0x5d9b62[_0x3c550c(0x10e)][_0x3c550c(0x179)],'data':_0x268671};this['_onCursorUpdate'](_0x31169a);}),this[_0x292ae6(0x37d)](this[_0x292ae6(0x22a)][_0x292ae6(0x248)](_0x245323=>{const _0x395377=_0x292ae6;if(_0x245323[_0x395377(0x317)]==null)return;const _0xdcf8a0=_0x245323[_0x395377(0x317)];if(_0x245323['id']!==_0x52be1c[_0x395377(0x345)]['id']||_0xdcf8a0['unitId']!==this[_0x395377(0x1c4)])return;const _0x3577d0={'id':'doc.mutation.rich-text-editing','params':_0xdcf8a0},_0xf1629b=this[_0x395377(0x128)];for(const [_0x462b4f,_0x338ee6]of _0xf1629b){const _0x567710={'id':_0x395377(0x292),'params':{'unitId':this[_0x395377(0x1c4)],'actions':null,'textRanges':_0x338ee6[_0x395377(0x1ad)]}},_0x476ddf=this[_0x395377(0x213)]['transformMutation'](_0x3577d0,_0x567710,!0x1);if(_0x5d9b62[_0x395377(0x3b3)](_0x476ddf))throw _0x476ddf['error'];_0xf1629b['set'](_0x462b4f,{..._0x338ee6,'ranges':_0x476ddf[_0x395377(0x223)][_0x395377(0x317)]['textRanges']});}queueMicrotask(()=>{const _0x276f8e=_0x395377;this[_0x276f8e(0x1b8)][_0x276f8e(0x264)](_0xf1629b);});})));}['_onCursorUpdate'](_0x3de0f4){const _0x452cd6=_0x1bfb44;var _0x3a1598,_0x12c96a;const {memberID:_0x5093d1,selection:_0x3e65db}=_0x3de0f4[_0x452cd6(0x160)],_0x3e7a58=_0x240331(_0x3e65db),_0x243fa1=(_0x12c96a=(_0x3a1598=this[_0x452cd6(0x3a8)][_0x452cd6(0x2b0)](this[_0x452cd6(0x1c4)],_0x5093d1))==null?void 0x0:_0x3a1598[_0x452cd6(0x17f)])!=null?_0x12c96a:_0x452cd6(0x218),_0x5ec1ac={'color':this[_0x452cd6(0x30d)][_0x452cd6(0x111)](_0x5093d1),'name':_0x243fa1,'ranges':_0x3e7a58},_0x5cfef0=this[_0x452cd6(0x128)];_0x5cfef0[_0x452cd6(0x165)](_0x5093d1,_0x5ec1ac),this[_0x452cd6(0x1b8)][_0x452cd6(0x264)](_0x5cfef0);}[_0x1bfb44(0x1f5)](_0x599d3d){const _0x2e3ca4=_0x1bfb44,{memberID:_0xaf1487}=_0x599d3d[_0x2e3ca4(0x160)],_0x119edf=this[_0x2e3ca4(0x128)];_0x119edf[_0x2e3ca4(0x181)](_0xaf1487),this[_0x2e3ca4(0x1b8)][_0x2e3ca4(0x264)](_0x119edf);}['_toggleOnline'](){const _0x3e8a0d=_0x1bfb44;var _0x37ce4b;if(this['_online']=!0x0,((_0x37ce4b=this[_0x3e8a0d(0x154)]['getFocusedUnit']())==null?void 0x0:_0x37ce4b[_0x3e8a0d(0x2d4)]())!==this[_0x3e8a0d(0x1c4)])return;const _0x4c853b=this['_injector']['get'](_0x52be1c['DocSelectionManagerService'])[_0x3e8a0d(0x2a3)]();Array[_0x3e8a0d(0x140)](_0x4c853b)&&_0x4c853b[_0x3e8a0d(0x31e)]>0x0&&this[_0x3e8a0d(0x229)](_0x4c853b);}[_0x1bfb44(0x3b2)](){const _0x11dbc7=_0x1bfb44;this[_0x11dbc7(0x3b7)]=!0x1;}};_0x12fca2=_0x3ee934([_0x585ae8(0x2,_0x20afdc['Inject'](_0x20afdc[_0x1bfb44(0x24c)])),_0x585ae8(0x3,_0x20afdc[_0x1bfb44(0x272)](_0x16366d)),_0x585ae8(0x4,_0x20afdc['Inject'](_0x24c19b[_0x1bfb44(0x1e3)])),_0x585ae8(0x5,_0x20afdc[_0x1bfb44(0x272)](_0x2a0bd)),_0x585ae8(0x6,_0x5d9b62['ITransformService']),_0x585ae8(0x7,_0x20afdc[_0x1bfb44(0xef)]),_0x585ae8(0x8,_0x20afdc[_0x1bfb44(0x2df)])],_0x12fca2);var _0x352533=Object['getOwnPropertyDescriptor'],_0xbe3023=(_0x15ec3b,_0x59a2f1,_0x2cc58a,_0x3e807a)=>{const _0x2dd0cb=_0x1bfb44;for(var _0x6a4a3=_0x3e807a>0x1?void 0x0:_0x3e807a?_0x352533(_0x59a2f1,_0x2cc58a):_0x59a2f1,_0x113f75=_0x15ec3b[_0x2dd0cb(0x31e)]-0x1,_0x4280c8;_0x113f75>=0x0;_0x113f75--)(_0x4280c8=_0x15ec3b[_0x113f75])&&(_0x6a4a3=_0x4280c8(_0x6a4a3)||_0x6a4a3);return _0x6a4a3;},_0x485139=(_0xd6e9a5,_0x7d6e24)=>(_0x1e3bb7,_0x4442d9)=>_0x7d6e24(_0x1e3bb7,_0x4442d9,_0xd6e9a5);const _0x5f3c91=0x12c,_0x29d943=0x64,_0x4466a5=()=>{let _0x473bc8=[],_0x1d8f7b=!0x1;return _0x2b70da=>{const _0x550e2a=_0x513e;_0x473bc8[_0x550e2a(0x211)](_0x2b70da),_0x1d8f7b||(_0x1d8f7b=!0x0,setTimeout(()=>{_0x473bc8['forEach'](_0x4ae655=>_0x4ae655()),_0x473bc8=[],_0x1d8f7b=!0x1;}));};};let _0x547fbf=class extends _0x20afdc[_0x1bfb44(0x367)]{constructor(_0x17a0bd,_0x4e9ad1,_0x98484,_0x590cba,_0x407d5d,_0x24f467,_0x5a30d1,_0x27d1a5){const _0x21b628=_0x1bfb44;super(),_0x46e3b1(this,_0x21b628(0x3b7),!0x1),_0x46e3b1(this,_0x21b628(0x357),!0x1),_0x46e3b1(this,'_cursorInfo$',new _0x388e9f['BehaviorSubject'](new Map())),_0x46e3b1(this,'cursorInfo$',this[_0x21b628(0x1b8)][_0x21b628(0x1cf)]()),_0x46e3b1(this,_0x21b628(0x1de),new _0x388e9f[(_0x21b628(0x1ca))]([])),_0x46e3b1(this,_0x21b628(0x22e),this[_0x21b628(0x1de)]['pipe'](_0x388e9f['debounceTime'](_0x5f3c91))),_0x46e3b1(this,_0x21b628(0x229),_0x20afdc[_0x21b628(0x2b9)]((_0x16b1ed,_0x46ac0e)=>{const _0xf8a319=_0x21b628,_0x1dbdd6={'eventID':_0x5d9b62[_0xf8a319(0x10e)]['UPDATE_CURSOR'],'data':{'unitID':this[_0xf8a319(0x1c4)],'memberID':this['_session'][_0xf8a319(0x2fc)](),'selection':_0x5892b7[_0xf8a319(0x17d)](_0x16b1ed,_0x46ac0e[_0xf8a319(0x2ea)])}};this[_0xf8a319(0x2bf)][_0xf8a319(0xf7)](_0x1dbdd6,this[_0xf8a319(0x1c4)]);},_0x29d943)),(this[_0x21b628(0x1c4)]=_0x17a0bd,this[_0x21b628(0x2bf)]=_0x4e9ad1,this[_0x21b628(0x319)]=_0x98484,this['_colorAssignService']=_0x590cba,this[_0x21b628(0x3a8)]=_0x407d5d,this['_univerInstanceService']=_0x24f467,this['_commandService']=_0x5a30d1,this[_0x21b628(0x2e6)]=_0x27d1a5);}get[_0x1bfb44(0x128)](){const _0x51fa36=_0x1bfb44;return this[_0x51fa36(0x1b8)]['getValue']();}get[_0x1bfb44(0x3a1)](){const _0x72155d=_0x1bfb44;return this[_0x72155d(0x1de)][_0x72155d(0x143)]();}[_0x1bfb44(0x201)](){const _0x40bbe2=_0x1bfb44;super[_0x40bbe2(0x201)](),this['_cursorInfo$'][_0x40bbe2(0x264)](new Map()),this[_0x40bbe2(0x1b8)][_0x40bbe2(0x29e)](),this['_roomMembers$'][_0x40bbe2(0x264)]([]),this[_0x40bbe2(0x1de)][_0x40bbe2(0x29e)]();}[_0x1bfb44(0x155)](){const _0x22a327=_0x1bfb44;this[_0x22a327(0x357)]||(this[_0x22a327(0x357)]=!0x0,this[_0x22a327(0x2bf)]['sessionStatus$']['pipe'](_0x388e9f[_0x22a327(0x200)](this[_0x22a327(0x318)]))[_0x22a327(0x26f)](_0x2f6e66=>{const _0x513645=_0x22a327;_0x2f6e66===_0x24c19b[_0x513645(0x36c)][_0x513645(0x338)]?this[_0x513645(0x342)]():this[_0x513645(0x3b2)]();}),this['_session'][_0x22a327(0x163)][_0x22a327(0xee)](_0x388e9f['takeUntil'](this['dispose$']))[_0x22a327(0x26f)](_0x5d5931=>{const _0x4bda26=_0x22a327,_0x337f8c=_0x5d5931['eventID'];_0x337f8c===_0x5d9b62[_0x4bda26(0x10e)]['UPDATE_CURSOR']&&this[_0x4bda26(0x341)](_0x5d5931),_0x337f8c===_0x5d9b62[_0x4bda26(0x10e)]['USERS_LEAVE']&&this[_0x4bda26(0x1f5)](_0x5d5931);}),this[_0x22a327(0x1e0)](),this['disposeWithMe'](this[_0x22a327(0x22a)]['onCommandExecuted'](_0x298b02=>{const _0x160382=_0x22a327;if(this[_0x160382(0x3b7)]&&_0x298b02['id']===_0xecf1fb[_0x160382(0x2ca)]['id']&&_0x298b02[_0x160382(0x317)][_0x160382(0x31d)]===this['unitID']){const _0x26dcd7=_0x298b02[_0x160382(0x317)];this['_updateLocalCursor'](_0x26dcd7[_0x160382(0x19d)],_0x26dcd7[_0x160382(0x127)][0x0]);}})));}[_0x1bfb44(0x341)](_0x73dbcd){const _0x498b36=_0x1bfb44;var _0x5330e3,_0x30e40a;const {memberID:_0x1fc973,selection:_0x3f2f29}=_0x73dbcd[_0x498b36(0x160)],{sheetName:_0x5bd0c8,range:_0x1ca72e}=_0x5892b7['deserializeRangeWithSheet'](_0x3f2f29),_0x5cfef3={'name':(_0x30e40a=(_0x5330e3=this[_0x498b36(0x3a8)][_0x498b36(0x2b0)](this[_0x498b36(0x1c4)],_0x1fc973))==null?void 0x0:_0x5330e3[_0x498b36(0x17f)])!=null?_0x30e40a:_0x498b36(0x218),'range':this[_0x498b36(0x34b)](_0x5bd0c8,_0x1ca72e),'sheetID':_0x5bd0c8,'color':this[_0x498b36(0x30d)][_0x498b36(0x111)](_0x1fc973),'selection':_0x3f2f29},_0x2e636a=this[_0x498b36(0x128)];_0x2e636a[_0x498b36(0x165)](_0x1fc973,_0x5cfef3),this[_0x498b36(0x1b8)][_0x498b36(0x264)](_0x2e636a);}[_0x1bfb44(0x1f5)](_0x25afb9){const _0x36b2ba=_0x1bfb44,{memberID:_0x36392d}=_0x25afb9['data'],_0x4e7080=this[_0x36b2ba(0x128)];_0x4e7080[_0x36b2ba(0x181)](_0x36392d),this[_0x36b2ba(0x1b8)]['next'](_0x4e7080);}[_0x1bfb44(0x34b)](_0x390d23,_0x22be25){const _0x42ab3f=_0x1bfb44;var _0x4af6fd,_0x402c3e;const _0x1c3214=(_0x402c3e=(_0x4af6fd=this[_0x42ab3f(0x154)][_0x42ab3f(0x2c5)](this[_0x42ab3f(0x1c4)]))==null?void 0x0:_0x4af6fd[_0x42ab3f(0x1be)](_0x390d23))==null?void 0x0:_0x402c3e[_0x42ab3f(0x153)]();return(_0x1c3214==null?void 0x0:_0x1c3214[_0x42ab3f(0x15c)](_0x1ef7e3=>_0x20afdc[_0x42ab3f(0x1e8)][_0x42ab3f(0x16a)](_0x1ef7e3,_0x22be25)))||_0x22be25;}['_onRefRangeChange'](){const _0x5a519d=_0x1bfb44,_0x362ea9=new _0x20afdc[(_0x5a519d(0x34a))](),_0x16a691=_0x4466a5(),_0x1fd9f8=()=>{const _0x35a9dc=_0x5a519d;_0x362ea9['dispose']();const _0x442038=(_0x12df0a,_0x4dba01,_0x1a29ca,_0x3db296)=>{const _0x5eeba7=_0x513e;let _0x33c7de=[];switch(_0x12df0a['id']){case _0xecf1fb[_0x5eeba7(0x1cc)][_0x5eeba7(0x251)]:{_0x33c7de=_0xecf1fb[_0x5eeba7(0x22d)](_0x12df0a,_0x3db296);break;}case _0xecf1fb[_0x5eeba7(0x1cc)][_0x5eeba7(0x38e)]:{_0x33c7de=_0xecf1fb['handleDeleteRangeMoveUp'](_0x12df0a,_0x3db296);break;}case _0xecf1fb[_0x5eeba7(0x1cc)][_0x5eeba7(0x1a3)]:{_0x33c7de=_0xecf1fb[_0x5eeba7(0x242)](_0x12df0a,_0x3db296);break;}case _0xecf1fb[_0x5eeba7(0x1cc)][_0x5eeba7(0x15f)]:{_0x33c7de=_0xecf1fb[_0x5eeba7(0x3ad)](_0x12df0a,_0x3db296);break;}case _0xecf1fb[_0x5eeba7(0x1cc)][_0x5eeba7(0x386)]:{_0x33c7de=_0xecf1fb['handleInsertRangeMoveRight'](_0x12df0a,_0x3db296);break;}case _0xecf1fb[_0x5eeba7(0x1cc)]['InsertRowCommandId']:{_0x33c7de=_0xecf1fb['handleInsertRow'](_0x12df0a,_0x3db296);break;}case _0xecf1fb[_0x5eeba7(0x1cc)][_0x5eeba7(0x3ba)]:{_0x33c7de=_0xecf1fb[_0x5eeba7(0x214)](_0x12df0a,_0x3db296);break;}case _0xecf1fb[_0x5eeba7(0x1cc)][_0x5eeba7(0x323)]:{_0x33c7de=_0xecf1fb[_0x5eeba7(0x245)](_0x12df0a,_0x3db296);break;}case _0xecf1fb[_0x5eeba7(0x1cc)][_0x5eeba7(0x382)]:{_0x33c7de=_0xecf1fb[_0x5eeba7(0x2ae)](_0x12df0a,_0x3db296);break;}}const _0x43de92=_0xecf1fb[_0x5eeba7(0x1d4)](_0x33c7de,_0x3db296),_0xaad7ee=this[_0x5eeba7(0x128)][_0x5eeba7(0x2e1)](_0x4dba01);if(_0xaad7ee&&_0x43de92){const _0x55461f={..._0xaad7ee,'range':_0x43de92};this[_0x5eeba7(0x128)][_0x5eeba7(0x165)](_0x4dba01,_0x55461f),_0x16a691(()=>{const _0x11aa59=_0x5eeba7,_0x2dca33=this[_0x11aa59(0x2e6)]['registerRefRange'](_0x43de92,_0x3cb1cf=>(_0x2dca33[_0x11aa59(0x201)](),_0x442038(_0x3cb1cf,_0x4dba01,_0x1a29ca,_0x43de92)));_0x362ea9['add'](_0x2dca33);});}return{'redos':[],'undos':[]};};this[_0x35a9dc(0x128)][_0x35a9dc(0x30f)]((_0xa7f3dc,_0x450dc7)=>{const _0x136011=_0x35a9dc,{range:_0x1c9976,sheetID:_0x13ed3d}=_0xa7f3dc,_0x537f5b=this['_refRangeService'][_0x136011(0x2f9)](_0x1c9976,_0x2823c8=>(_0x537f5b['dispose'](),_0x442038(_0x2823c8,_0x450dc7,_0x13ed3d,_0x1c9976)));_0x362ea9['add'](_0x537f5b);});};this['disposeWithMe'](_0x20afdc[_0x5a519d(0x281)](this[_0x5a519d(0x1b8)][_0x5a519d(0x26f)](()=>{_0x1fd9f8();})));}[_0x1bfb44(0x342)](){const _0xbfd8f9=_0x1bfb44;var _0x25c2d2,_0x513571;if(this[_0xbfd8f9(0x3b7)]=!0x0,((_0x25c2d2=this[_0xbfd8f9(0x154)][_0xbfd8f9(0x339)]())==null?void 0x0:_0x25c2d2[_0xbfd8f9(0x2d4)]())!==this['unitID'])return;const _0x1e71d7=(_0x513571=this[_0xbfd8f9(0x319)][_0xbfd8f9(0x2e1)](_0xecf1fb[_0xbfd8f9(0x19b)])[_0xbfd8f9(0x1c2)]())==null?void 0x0:_0x513571[0x0],_0x15f9c4=this[_0xbfd8f9(0x154)][_0xbfd8f9(0x3c5)](_0x20afdc['UniverInstanceType'][_0xbfd8f9(0x33c)])[_0xbfd8f9(0x1f3)]();_0x1e71d7&&_0x15f9c4&&this[_0xbfd8f9(0x229)](_0x15f9c4[_0xbfd8f9(0x2c1)](),_0x1e71d7);}[_0x1bfb44(0x3b2)](){const _0x2c2bad=_0x1bfb44;this[_0x2c2bad(0x3b7)]=!0x1;}};_0x547fbf=_0xbe3023([_0x485139(0x2,_0x20afdc[_0x1bfb44(0x272)](_0x20afdc['Injector'])),_0x485139(0x3,_0x20afdc['Inject'](_0x16366d)),_0x485139(0x4,_0x20afdc[_0x1bfb44(0x272)](_0x24c19b[_0x1bfb44(0x1e3)])),_0x485139(0x5,_0x20afdc['IUniverInstanceService']),_0x485139(0x6,_0x20afdc[_0x1bfb44(0x2df)]),_0x485139(0x7,_0x20afdc['Inject'](_0xecf1fb[_0x1bfb44(0x2a4)]))],_0x547fbf);var _0x5eb0c0=Object[_0x1bfb44(0x3af)],_0x52f01e=(_0x427ae1,_0x5f3f21,_0x271523,_0x6c489f)=>{const _0x7e2710=_0x1bfb44;for(var _0x35ae5d=_0x6c489f>0x1?void 0x0:_0x6c489f?_0x5eb0c0(_0x5f3f21,_0x271523):_0x5f3f21,_0x4b5632=_0x427ae1[_0x7e2710(0x31e)]-0x1,_0x472d54;_0x4b5632>=0x0;_0x4b5632--)(_0x472d54=_0x427ae1[_0x4b5632])&&(_0x35ae5d=_0x472d54(_0x35ae5d)||_0x35ae5d);return _0x35ae5d;},_0x120587=(_0x1334ea,_0xb8480d)=>(_0x4d220a,_0x1e8d11)=>_0xb8480d(_0x4d220a,_0x1e8d11,_0x1334ea);let _0x43654b=class extends _0x20afdc[_0x1bfb44(0x367)]{constructor(_0x187b00,_0x4b6c99,_0x3e614a){const _0x4229c5=_0x1bfb44;super(),_0x46e3b1(this,_0x4229c5(0x26d),new Map()),_0x46e3b1(this,_0x4229c5(0x2d0),new _0x388e9f[(_0x4229c5(0x250))]()),(this[_0x4229c5(0x154)]=_0x187b00,this['_injector']=_0x4b6c99,this[_0x4229c5(0x24b)]=_0x3e614a,this[_0x4229c5(0x357)]());}[_0x1bfb44(0x201)](){const _0x474617=_0x1bfb44;super['dispose'](),this['_entityInit$'][_0x474617(0x29e)](),this[_0x474617(0x26d)]['forEach'](_0x3b0faa=>_0x3b0faa[_0x474617(0x201)]());}[_0x1bfb44(0x2c4)](_0x31e0a7){const _0x1d072b=_0x1bfb44;return this['_entities'][_0x1d072b(0x293)](_0x31e0a7)?this['_entities']['get'](_0x31e0a7)[_0x1d072b(0x33d)]:this[_0x1d072b(0x2d0)]['pipe'](_0x388e9f[_0x1d072b(0x2de)](_0x3bb3ae=>_0x3bb3ae['unitID']===_0x31e0a7),_0x388e9f[_0x1d072b(0x325)](_0xb2cf68=>_0xb2cf68[_0x1d072b(0x33d)]));}['_init'](){const _0x405d2b=_0x1bfb44;this[_0x405d2b(0x154)][_0x405d2b(0x312)](_0x20afdc['UniverInstanceType'][_0x405d2b(0x33c)])[_0x405d2b(0xee)](_0x388e9f['takeUntil'](this['dispose$']))['subscribe'](async _0x3b1b13=>{const _0x17ed08=_0x405d2b,_0x1fd13a=_0x3b1b13['getUnitId'](),_0x4fb49b=await this[_0x17ed08(0x247)](_0x1fd13a);this[_0x17ed08(0x2d0)]['next'](_0x4fb49b),this['_entities'][_0x17ed08(0x165)](_0x1fd13a,_0x4fb49b);}),this[_0x405d2b(0x154)]['getTypeOfUnitAdded$'](_0x20afdc[_0x405d2b(0x3b5)][_0x405d2b(0x159)])[_0x405d2b(0xee)](_0x388e9f['takeUntil'](this['dispose$']))[_0x405d2b(0xee)](_0x388e9f['filter'](_0x228b5f=>!_0x228b5f['getUnitId']()[_0x405d2b(0xfa)]('__')))[_0x405d2b(0x26f)](async _0x3a347e=>{const _0x2ca2f2=_0x405d2b,_0x5b18d3=_0x3a347e[_0x2ca2f2(0x2d4)](),_0x1ce250=await this['_startDocCollabCursor'](_0x5b18d3);this[_0x2ca2f2(0x2d0)][_0x2ca2f2(0x264)](_0x1ce250),this[_0x2ca2f2(0x26d)]['set'](_0x5b18d3,_0x1ce250);}),_0x388e9f['merge'](this[_0x405d2b(0x154)][_0x405d2b(0x38a)](_0x20afdc[_0x405d2b(0x3b5)][_0x405d2b(0x159)]),this[_0x405d2b(0x154)][_0x405d2b(0x38a)](_0x20afdc[_0x405d2b(0x3b5)][_0x405d2b(0x33c)]))[_0x405d2b(0xee)](_0x388e9f[_0x405d2b(0x200)](this[_0x405d2b(0x318)]))[_0x405d2b(0x26f)](_0x84d3d9=>{const _0x223e8d=_0x405d2b,_0x425097=_0x84d3d9[_0x223e8d(0x2d4)](),_0x45a002=this[_0x223e8d(0x26d)][_0x223e8d(0x2e1)](_0x425097);_0x45a002&&(_0x45a002[_0x223e8d(0x201)](),this[_0x223e8d(0x26d)][_0x223e8d(0x181)](_0x425097));});}async[_0x1bfb44(0x247)](_0x2c250b){const _0x237b10=_0x1bfb44,_0x2b84c5=await this[_0x237b10(0x24b)][_0x237b10(0x1a8)](_0x2c250b),_0x31a452=this[_0x237b10(0x319)]['createInstance'](_0x547fbf,_0x2c250b,_0x2b84c5);return _0x31a452['init'](),_0x31a452;}async['_startDocCollabCursor'](_0x549c64){const _0x38f01e=_0x1bfb44,_0x27f7ec=await this[_0x38f01e(0x24b)][_0x38f01e(0x1a8)](_0x549c64),_0x34dbc2=this[_0x38f01e(0x319)]['createInstance'](_0x12fca2,_0x549c64,_0x27f7ec);return _0x34dbc2[_0x38f01e(0x155)](),_0x34dbc2;}};_0x43654b=_0x52f01e([_0x120587(0x0,_0x20afdc[_0x1bfb44(0xef)]),_0x120587(0x1,_0x20afdc[_0x1bfb44(0x272)](_0x20afdc['Injector'])),_0x120587(0x2,_0x20afdc[_0x1bfb44(0x272)](_0x24c19b[_0x1bfb44(0x2f5)]))],_0x43654b);const _0x332cee=0x14,_0x469bcd=0xc8,_0x4c8ccb=0x4,_0x28c5fe=0x5;function _0x3d70a5(_0x359866,_0x5d8383){const _0x48532e=_0x1bfb44;let {radius:_0x5d8002,width:_0x1971be,height:_0x5cd273}=_0x5d8383;_0x5d8002=_0x5d8002!=null?_0x5d8002:0x0,_0x1971be=_0x1971be!=null?_0x1971be:0x1e,_0x5cd273=_0x5cd273!=null?_0x5cd273:0x1e;let _0x1fa036=0x0,_0x143f9e=0x0,_0x4a357a=0x0;_0x1fa036=_0x143f9e=_0x4a357a=Math[_0x48532e(0x2b1)](_0x5d8002,_0x1971be/0x2,_0x5cd273/0x2),_0x359866[_0x48532e(0x275)](),_0x359866[_0x48532e(0x35b)](_0x1fa036,0x0),_0x359866[_0x48532e(0x30a)](_0x1971be-_0x143f9e,0x0),_0x359866['arc'](_0x1971be-_0x143f9e,_0x143f9e,_0x143f9e,Math['PI']*0x3/0x2,0x0,!0x1),_0x359866[_0x48532e(0x30a)](_0x1971be,_0x5cd273-_0x4a357a),_0x359866[_0x48532e(0x1f7)](_0x1971be-_0x4a357a,_0x5cd273-_0x4a357a,_0x4a357a,0x0,Math['PI']/0x2,!0x1),_0x359866[_0x48532e(0x30a)](0x0,_0x5cd273),_0x359866['lineTo'](0x0,_0x1fa036),_0x359866['arc'](_0x1fa036,_0x1fa036,_0x1fa036,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x359866[_0x48532e(0x328)](),_0x5d8383[_0x48532e(0x3b1)]&&(_0x359866['save'](),_0x359866['fillStyle']=_0x5d8383[_0x48532e(0x3b1)],_0x5d8383[_0x48532e(0x18e)]===_0x48532e(0x255)?_0x359866[_0x48532e(0x3b1)]('evenodd'):_0x359866[_0x48532e(0x3b1)](),_0x359866[_0x48532e(0x35c)]());}class _0x47a55f extends _0x314741['Shape']{constructor(_0x14da08,_0x1ad252){const _0x1a87a6=_0x1bfb44;super(_0x14da08,_0x1ad252),_0x46e3b1(this,_0x1a87a6(0x147)),_0x46e3b1(this,'text'),(this[_0x1a87a6(0x147)]=_0x1ad252==null?void 0x0:_0x1ad252['color'],this['text']=_0x1ad252==null?void 0x0:_0x1ad252[_0x1a87a6(0x12c)]);}static[_0x1bfb44(0x355)](_0xa96a05,_0x3d4841){const _0x24c983=_0x1bfb44,{text:_0x3d9009,color:_0x4d660e}=_0x3d4841;_0xa96a05[_0x24c983(0x22b)](),_0xa96a05[_0x24c983(0x133)]=_0x24c983(0x148);const _0x299622=_0xa96a05[_0x24c983(0x29a)](_0x3d9009)['width'],_0x15c24f=Math[_0x24c983(0x2b1)](_0x299622+0x2*_0x4c8ccb,_0x469bcd);_0x3d70a5(_0xa96a05,{'height':_0x332cee,'radius':0x4,'width':_0x15c24f,'fill':_0x4d660e}),_0xa96a05[_0x24c983(0x232)]=_0x24c983(0x326);const _0x44fb63=_0x4c8ccb,_0x137659=_0x332cee-_0x28c5fe,_0x3022cf=_0x469bcd-0x2*_0x4c8ccb;if(_0x299622>_0x3022cf){let _0xaba69d='',_0x2fa8d1=0x0;for(const _0x13c074 of _0x3d9009){const _0xcb1dbc=_0xa96a05[_0x24c983(0x29a)](_0x13c074)[_0x24c983(0x39b)];if(_0x2fa8d1+_0xcb1dbc<=_0x3022cf-_0xa96a05['measureText'](_0x24c983(0x207))[_0x24c983(0x39b)])_0xaba69d+=_0x13c074,_0x2fa8d1+=_0xcb1dbc;else{_0xaba69d+=_0x24c983(0x207);break;}}_0xa96a05[_0x24c983(0x225)](_0xaba69d,_0x44fb63,_0x137659);}else _0xa96a05['fillText'](_0x3d9009,_0x44fb63,_0x137659);_0xa96a05[_0x24c983(0x35c)]();}['_draw'](_0x3a0b6b){const _0x42b75b=_0x1bfb44;_0x47a55f[_0x42b75b(0x355)](_0x3a0b6b,this);}}const _0x253773=_0x1bfb44(0x1eb),_0x2b2eaf=_0x1bfb44(0x1a4),_0x2cbf99='collab-rect-range-',_0x2181ba=0x6,_0xef2a66=1.5,_0x36ff2b=0x4,_0x4097b0=1.5,_0xa02184=_0x1bfb44(0x2ee);class _0xea52fe{constructor(_0x278743,_0x81d4d3,_0x2e03ca,_0x85f483){const _0x1ce0b4=_0x1bfb44;_0x46e3b1(this,_0x1ce0b4(0x192),[]),_0x46e3b1(this,'_anchor',null),_0x46e3b1(this,'_textBubble',null),_0x46e3b1(this,_0x1ce0b4(0x2ed),null),_0x46e3b1(this,_0x1ce0b4(0x2ff),null),_0x46e3b1(this,_0x1ce0b4(0x2e8),null),(this[_0x1ce0b4(0x3b4)]=_0x278743,this[_0x1ce0b4(0x27d)]=_0x81d4d3,this[_0x1ce0b4(0x2f3)]=_0x2e03ca,this[_0x1ce0b4(0x306)]=_0x85f483,this[_0x1ce0b4(0x2dc)]());}set['_hover'](_0x5b89b0){const _0x4d7924=_0x1bfb44;_0x5b89b0?(this[_0x4d7924(0x2ed)]&&this[_0x4d7924(0x2ed)][_0x4d7924(0x39c)](),this['_textBubble']&&this[_0x4d7924(0x2e7)]['show']()):(this[_0x4d7924(0x2ed)]&&this['_anchorDot']['show'](),this[_0x4d7924(0x2e7)]&&this[_0x4d7924(0x2e7)][_0x4d7924(0x39c)]());}[_0x1bfb44(0x201)](){const _0x57dd9c=_0x1bfb44;for(const _0x57929c of this[_0x57dd9c(0x192)])_0x57929c[_0x57dd9c(0x201)]();this[_0x57dd9c(0x2e7)]&&this['_textBubble'][_0x57dd9c(0x201)](),this[_0x57dd9c(0x2ed)]&&this[_0x57dd9c(0x2ed)][_0x57dd9c(0x201)](),this[_0x57dd9c(0x14b)]&&this[_0x57dd9c(0x14b)]['dispose'](),this[_0x57dd9c(0x2e8)]&&this[_0x57dd9c(0x2e8)]();}[_0x1bfb44(0x2dc)](){const _0x14ac46=_0x1bfb44;var _0x2b1eb8;const {_docSkeleton:_0x5ea63a,_document:_0xa2a48}=this,{color:_0x5cae2e,name:_0x14eba9,ranges:_0x459718}=this[_0x14ac46(0x3b4)],_0x1849dc=_0xa2a48['getOffsetConfig'](),{docsLeft:_0x80457c,docsTop:_0x1fe911}=_0x1849dc,_0x36f7c5=new _0x4c9f55[(_0x14ac46(0x1ed))](_0x1849dc,_0x5ea63a);for(const {startOffset:_0xb2bdcc,endOffset:_0x212943,rangeType:_0x2d885b,segmentId:_0x76af3e,segmentPage:_0x5b3922,collapsed:_0x214087,isActive:_0x98f8ce}of _0x459718){const _0x9eacc1=_0x5ea63a['findNodePositionByCharIndex'](_0xb2bdcc,!0x0,_0x76af3e,_0x5b3922);let _0x3760eb=_0x5ea63a[_0x14ac46(0x208)](_0x212943,!0x0,_0x76af3e,_0x5b3922);if(_0x3760eb==null&&(_0x3760eb=_0x5ea63a[_0x14ac46(0x208)](_0x212943-0x1,!0x1,_0x76af3e,_0x5b3922)),_0x98f8ce){const {contentBoxPointGroup:_0x3022dd}=_0x36f7c5['getRangePointData'](_0x3760eb,_0x3760eb);if(_0x3022dd[_0x14ac46(0x31e)]===0x0)continue;this[_0x14ac46(0x1a6)](_0x5cae2e,_0x3022dd,_0x80457c,_0x1fe911,_0x14eba9),this[_0x14ac46(0x2e8)]=this[_0x14ac46(0x2b3)]();}if(_0x9eacc1&&_0x3760eb){if(_0x2d885b===_0x20afdc[_0x14ac46(0x237)]['RECT']){const _0x222836=new _0x4c9f55['NodePositionConvertToRectRange'](_0x1849dc,_0x5ea63a),{pointGroup:_0x5b8acb}=(_0x2b1eb8=_0x222836['getRangePointData'](_0x9eacc1,_0x3760eb))!=null?_0x2b1eb8:{};if(_0x5b8acb==null||_0x5b8acb[_0x14ac46(0x31e)]===0x0)continue;this[_0x14ac46(0x16b)](_0x5cae2e,_0x5b8acb,_0x80457c,_0x1fe911);}else{if(!_0x214087){const {borderBoxPointGroup:_0x358f75}=_0x36f7c5['getRangePointData'](_0x9eacc1,_0x3760eb);if(_0x358f75['length']===0x0)continue;this[_0x14ac46(0x307)](_0x5cae2e,_0x358f75,_0x80457c,_0x1fe911);}}}}}[_0x1bfb44(0x1a6)](_0x11ac2a,_0x9c8b6,_0x373ee8,_0x559206,_0x459ead){const _0x4fbf67=_0x1bfb44,_0x3c6fec=this[_0x4fbf67(0x1f8)](_0x9c8b6),{left:_0x11858b,top:_0x1cc9ea,height:_0x448582}=_0x3c6fec,_0x4677b0=this[_0x4fbf67(0x351)](),_0x15a0ad=_0x4097b0/_0x4677b0,_0x333a27=new _0x314741['Rect'](_0x253773+_0x20afdc[_0x4fbf67(0x37e)](_0x2181ba),{'left':_0x11858b+_0x373ee8-_0x15a0ad,'top':_0x1cc9ea+_0x559206,'height':_0x448582,'width':_0xef2a66,'fill':_0x11ac2a||_0x314741[_0x4fbf67(0x257)](_0x20afdc[_0x4fbf67(0x3ab)]['black'],0x0),'strokeWidth':_0x15a0ad,'stroke':_0xa02184,'evented':!0x0});this[_0x4fbf67(0x14b)]=_0x333a27,this[_0x4fbf67(0x27d)][_0x4fbf67(0x12f)](_0x333a27,_0x4c9f55[_0x4fbf67(0x2b8)]);const _0x79fa9d=new _0x314741[(_0x4fbf67(0x2a6))](_0x253773+_0x20afdc['generateRandomId'](_0x2181ba),{'left':_0x11858b+_0x373ee8-_0x15a0ad,'top':_0x1cc9ea+_0x559206-_0x36ff2b/0x2,'height':_0x36ff2b,'width':_0x36ff2b,'fill':_0x11ac2a||_0x314741[_0x4fbf67(0x257)](_0x20afdc['COLORS'][_0x4fbf67(0x228)],0x0),'strokeWidth':0x0,'stroke':_0x11ac2a||_0x314741[_0x4fbf67(0x257)](_0x20afdc[_0x4fbf67(0x3ab)][_0x4fbf67(0x228)],0x0),'evented':!0x1});this[_0x4fbf67(0x2ed)]=_0x79fa9d,this['_scene'][_0x4fbf67(0x12f)](_0x79fa9d,_0x4c9f55[_0x4fbf67(0x2b8)]);const _0x174ce8=new _0x47a55f(_0x253773+_0x20afdc['generateRandomId'](_0x2181ba),{'left':_0x11858b+_0x373ee8-_0x15a0ad,'top':_0x1cc9ea+_0x559206-_0x332cee,'text':_0x459ead,'color':_0x11ac2a});this[_0x4fbf67(0x2e7)]=_0x174ce8,this['_scene'][_0x4fbf67(0x12f)](_0x174ce8,_0x4c9f55[_0x4fbf67(0x2b8)]),this[_0x4fbf67(0x2d3)]=!0x1;}['_handleHover'](){const _0x5b8db1=_0x1bfb44,_0x11131e=this[_0x5b8db1(0x14b)][_0x5b8db1(0x32e)]['subscribeEvent'](()=>{const _0x3a3fab=_0x5b8db1;this[_0x3a3fab(0x2d3)]=!0x0;}),_0x3a116b=this['_anchor']['onPointerLeave$'][_0x5b8db1(0x238)](()=>{const _0x533025=_0x5b8db1;this[_0x533025(0x2ff)]&&clearTimeout(this['_hideTimer']),this[_0x533025(0x2ff)]=setTimeout(()=>{const _0x1c99fb=_0x533025;this[_0x1c99fb(0x2d3)]=!0x1;},0x7d0);});return()=>{const _0x3436d7=_0x5b8db1;_0x11131e['unsubscribe'](),_0x3a116b[_0x3436d7(0x2f6)]();};}[_0x1bfb44(0x307)](_0x4ca095,_0x25d1b5,_0x1ebe4f,_0x43dc92){const _0xfeaa0=_0x1bfb44,_0x26a651=new _0x20afdc[(_0xfeaa0(0x1b4))](_0x4ca095)[_0xfeaa0(0x1ef)](0.2)[_0xfeaa0(0x1fa)](),_0x9aeaa8=new _0x314741['RegularPolygon'](_0x2b2eaf+_0x20afdc['generateRandomId'](_0x2181ba),{'pointsGroup':_0x25d1b5,'fill':_0x26a651||_0x314741[_0xfeaa0(0x257)](_0x20afdc['COLORS'][_0xfeaa0(0x228)],0.2),'left':_0x1ebe4f,'top':_0x43dc92,'evented':!0x1,'debounceParentDirty':!0x1});this[_0xfeaa0(0x192)][_0xfeaa0(0x211)](_0x9aeaa8),this[_0xfeaa0(0x27d)][_0xfeaa0(0x12f)](_0x9aeaa8,_0x4c9f55[_0xfeaa0(0x2b8)]);}[_0x1bfb44(0x16b)](_0x20ae41,_0x5ddc51,_0xc7041d,_0x1b2d1e){const _0x4e6f35=_0x1bfb44,_0x4d3d0b=new _0x20afdc['ColorKit'](_0x20ae41)['setAlpha'](0.2)[_0x4e6f35(0x1fa)](),_0xd5c53d=new _0x314741['RegularPolygon'](_0x2cbf99+_0x20afdc[_0x4e6f35(0x37e)](_0x2181ba),{'pointsGroup':_0x5ddc51,'fill':_0x4d3d0b||_0x314741[_0x4e6f35(0x257)](_0x20afdc[_0x4e6f35(0x3ab)][_0x4e6f35(0x228)],0.2),'left':_0xc7041d,'top':_0x1b2d1e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4e6f35(0x192)]['push'](_0xd5c53d),this['_scene'][_0x4e6f35(0x12f)](_0xd5c53d,_0x4c9f55[_0x4e6f35(0x2b8)]);}[_0x1bfb44(0x1f8)](_0x25785e){const _0x4924ea=_0x25785e[0x0],_0x57c11c=_0x4924ea[0x0],_0x1863e1=_0x4924ea[0x2],{x:_0x401619,y:_0x4da6ea}=_0x57c11c,{x:_0x2cabbc,y:_0x1f0626}=_0x1863e1;return{'left':_0x401619,'top':_0x4da6ea,'width':_0x2cabbc-_0x401619,'height':_0x1f0626-_0x4da6ea};}[_0x1bfb44(0x351)](){const _0x5b6803=_0x1bfb44,{scaleX:_0x5e1565,scaleY:_0x35a97f}=this['_scene']['getAncestorScale']();return Math[_0x5b6803(0x2db)](_0x5e1565,_0x35a97f);}}var _0x4c6ddf=Object[_0x1bfb44(0x3af)],_0x446495=(_0x4fecff,_0x32c363,_0x1d5b67,_0x282b49)=>{for(var _0x172664=_0x282b49>0x1?void 0x0:_0x282b49?_0x4c6ddf(_0x32c363,_0x1d5b67):_0x32c363,_0x32b8b3=_0x4fecff['length']-0x1,_0x55fa71;_0x32b8b3>=0x0;_0x32b8b3--)(_0x55fa71=_0x4fecff[_0x32b8b3])&&(_0x172664=_0x55fa71(_0x172664)||_0x172664);return _0x172664;},_0xfe6331=(_0x43da94,_0x771088)=>(_0x278b02,_0x267f04)=>_0x771088(_0x278b02,_0x267f04,_0x43da94);let _0x568f40=class extends _0x20afdc['RxDisposable']{constructor(_0x1d1402,_0x77ffba,_0x23a87c,_0x2cde07,_0x4215e5){const _0x2cf014=_0x1bfb44;super(),_0x46e3b1(this,_0x2cf014(0x2d8),[]),_0x46e3b1(this,_0x2cf014(0x358),[]),(this['_context']=_0x1d1402,this[_0x2cf014(0x2f2)]=_0x77ffba,this[_0x2cf014(0x1fc)]=_0x23a87c,this[_0x2cf014(0x22a)]=_0x2cde07,this[_0x2cf014(0x2fa)]=_0x4215e5,this['_init']());}[_0x1bfb44(0x357)](){const _0x912e6b=_0x1bfb44,_0x55d277=this[_0x912e6b(0x389)]['unitId'],_0x247905=this[_0x912e6b(0x2f2)];this[_0x912e6b(0x37d)](_0x388e9f[_0x912e6b(0xf8)]([this[_0x912e6b(0x1fc)][_0x912e6b(0x2c4)](_0x55d277),this['_themeService'][_0x912e6b(0x1fd)]])[_0x912e6b(0xee)](_0x309597['map'](([_0x21f558,_0x4b18d5])=>({'skeleton':_0x247905[_0x912e6b(0x13e)](),'cursors':[..._0x21f558['values']()][_0x912e6b(0x137)](_0x682853=>({..._0x682853,'color':this[_0x912e6b(0x2fa)][_0x912e6b(0x3a4)](_0x682853[_0x912e6b(0x147)])}))})))[_0x912e6b(0x26f)](_0x5a57c0=>{const _0x370342=_0x912e6b;if(this['_removeCollabCursors'](),_0x5a57c0){const {skeleton:_0x10d689,cursors:_0x2def86}=_0x5a57c0;this[_0x370342(0x353)](_0x10d689,_0x2def86);}})),this[_0x912e6b(0x380)](),this[_0x912e6b(0x132)]();}['_updateCollabCursors'](_0x4a39fa,_0x31a275){const _0x2fa2d6=_0x1bfb44,{scene:_0x40c358,mainComponent:_0x39d5f6}=this[_0x2fa2d6(0x389)],_0x3191f1=_0x31a275['map'](_0x32bda4=>new _0xea52fe(_0x32bda4,_0x40c358,_0x4a39fa,_0x39d5f6));this[_0x2fa2d6(0x2d8)]=_0x3191f1,this[_0x2fa2d6(0x358)]=_0x31a275;}[_0x1bfb44(0xf5)](){const _0x3806af=_0x1bfb44;this[_0x3806af(0x321)]();const {scene:_0x21a6ba,mainComponent:_0x39b593}=this[_0x3806af(0x389)],_0x5db4c3=this[_0x3806af(0x2f2)]['getSkeleton'](),_0x5a3477=this[_0x3806af(0x358)]['map'](_0x48da59=>new _0xea52fe(_0x48da59,_0x21a6ba,_0x5db4c3,_0x39b593));this['_cursorShapes']=_0x5a3477;}[_0x1bfb44(0x321)](){const _0x38c8c3=_0x1bfb44;this['_cursorShapes'][_0x38c8c3(0x30f)](_0x2d6c4c=>_0x2d6c4c['dispose']()),this[_0x38c8c3(0x2d8)]=[];}[_0x1bfb44(0x132)](){const _0x550ccd=_0x1bfb44,_0x25b6ea=[_0x4c9f55[_0x550ccd(0x158)]['id']];this[_0x550ccd(0x37d)](this['_commandService'][_0x550ccd(0x248)](_0x491ba=>{const _0x571e7d=_0x550ccd;_0x25b6ea[_0x571e7d(0x3b0)](_0x491ba['id'])&&_0x491ba[_0x571e7d(0x317)][_0x571e7d(0x31d)]===this[_0x571e7d(0x389)]['unitId']&&this[_0x571e7d(0xf5)]();}));}[_0x1bfb44(0x380)](){const _0x37659d=_0x1bfb44;this['disposeWithMe'](_0x20afdc['fromEventSubject'](this[_0x37659d(0x389)][_0x37659d(0x16f)]['onTransformChange$'])['pipe'](_0x309597['filter'](_0x1426b8=>_0x1426b8[_0x37659d(0x298)]===_0x314741[_0x37659d(0x1d2)][_0x37659d(0x105)]),_0x309597[_0x37659d(0x195)](0x10))[_0x37659d(0x26f)](()=>{const _0x25f3a2=_0x37659d;this[_0x25f3a2(0xf5)]();}));}};_0x568f40=_0x446495([_0xfe6331(0x1,_0x20afdc[_0x1bfb44(0x272)](_0x52be1c['DocSkeletonManagerService'])),_0xfe6331(0x2,_0x20afdc[_0x1bfb44(0x272)](_0x43654b)),_0xfe6331(0x3,_0x20afdc[_0x1bfb44(0x2df)]),_0xfe6331(0x4,_0x20afdc[_0x1bfb44(0x272)](_0x20afdc[_0x1bfb44(0x23a)]))],_0x568f40);const _0x1cdc0c=0x1,_0x1284ec=1.5;class _0x240cae extends _0x314741['Shape']{constructor(_0x7d79,_0x46479f){const _0x311eb7=_0x1bfb44;super(_0x7d79,_0x46479f),_0x46e3b1(this,_0x311eb7(0x330)),_0x46e3b1(this,_0x311eb7(0x391),!0x1),_0x46e3b1(this,_0x311eb7(0x361)),_0x46e3b1(this,_0x311eb7(0x370),''),_0x46e3b1(this,_0x311eb7(0x36f),_0x311eb7(0x374)),_0x46e3b1(this,'_backgroundColor'),(_0x46479f&&this[_0x311eb7(0x3a0)](_0x46479f),this[_0x311eb7(0x32e)][_0x311eb7(0x238)](()=>this[_0x311eb7(0x3a0)]({'hovered':!0x0})),this[_0x311eb7(0xf6)][_0x311eb7(0x238)](()=>this[_0x311eb7(0x3a0)]({'hovered':!0x1})));}['setShapeProps'](_0x387062){const _0xefdc7a=_0x1bfb44;var _0x502980,_0x54d9a9,_0x4af305,_0x53bdef,_0x576a16,_0x2187d4;this[_0xefdc7a(0x330)]=(_0x502980=_0x387062[_0xefdc7a(0x147)])!=null?_0x502980:this[_0xefdc7a(0x330)],this['_hovered']=(_0x54d9a9=_0x387062[_0xefdc7a(0x1d3)])!=null?_0x54d9a9:this[_0xefdc7a(0x391)],this[_0xefdc7a(0x361)]=(_0x4af305=_0x387062['range'])!=null?_0x4af305:this[_0xefdc7a(0x361)],this[_0xefdc7a(0x370)]=(_0x53bdef=_0x387062[_0xefdc7a(0x17f)])!=null?_0x53bdef:this[_0xefdc7a(0x370)],this[_0xefdc7a(0x36f)]=(_0x576a16=_0x387062[_0xefdc7a(0x112)])!=null?_0x576a16:this['_labelPosition'],this[_0xefdc7a(0x151)]=(_0x2187d4=_0x387062['backgroundColor'])!=null?_0x2187d4:this[_0xefdc7a(0x151)],this[_0xefdc7a(0x220)]({'width':_0x387062[_0xefdc7a(0x39b)],'height':_0x387062[_0xefdc7a(0x37a)]});}[_0x1bfb44(0x168)](_0x402285){const _0x3d7bc9=_0x1bfb44,{row:_0x5ee38f,column:_0x36afc4}=_0x402285;if(_0x5ee38f>=this[_0x3d7bc9(0x361)][_0x3d7bc9(0x13a)]&&_0x5ee38f<=this[_0x3d7bc9(0x361)][_0x3d7bc9(0x277)]&&_0x36afc4>=this['_range'][_0x3d7bc9(0x1b1)]&&_0x36afc4<=this[_0x3d7bc9(0x361)][_0x3d7bc9(0x2f0)]){this[_0x3d7bc9(0x3a0)]({'hovered':!0x0});return;}this[_0x3d7bc9(0x3a0)]({'hovered':!0x1});}['triggerDblclick'](_0xa59dfd){return!0x1;}[_0x1bfb44(0x1d0)](_0x3977e5){const _0x2584e8=_0x1bfb44;_0x314741[_0x2584e8(0x2a6)][_0x2584e8(0x355)](_0x3977e5,{'width':this['width'],'height':this[_0x2584e8(0x37a)],'strokeWidth':_0x1284ec,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x2584e8(0x151)]}),this['_hovered']&&(_0x3977e5[_0x2584e8(0x22b)](),_0x3977e5[_0x2584e8(0x1c7)](0x1,0x0,0x0,0x1,this[_0x2584e8(0x39b)],this[_0x2584e8(0x36f)]===_0x2584e8(0x2af)?0x0:-_0x332cee),_0x47a55f[_0x2584e8(0x355)](_0x3977e5,{'text':this[_0x2584e8(0x370)],'color':this[_0x2584e8(0x330)]}),_0x3977e5[_0x2584e8(0x35c)]());}}var _0x336c67=Object['getOwnPropertyDescriptor'],_0xd555f6=(_0x1e6169,_0x12afb5,_0x43aed7,_0x7db443)=>{const _0x3c7b0b=_0x1bfb44;for(var _0x6dd3a7=_0x7db443>0x1?void 0x0:_0x7db443?_0x336c67(_0x12afb5,_0x43aed7):_0x12afb5,_0x1f6a04=_0x1e6169[_0x3c7b0b(0x31e)]-0x1,_0x3c0870;_0x1f6a04>=0x0;_0x1f6a04--)(_0x3c0870=_0x1e6169[_0x1f6a04])&&(_0x6dd3a7=_0x3c0870(_0x6dd3a7)||_0x6dd3a7);return _0x6dd3a7;},_0x4f9af6=(_0x24082f,_0x2cf775)=>(_0x25e3e7,_0x510c81)=>_0x2cf775(_0x25e3e7,_0x510c81,_0x24082f);const _0x30b14f=0x1389;let _0x35edad=class extends _0x20afdc['RxDisposable']{constructor(_0x4212da,_0x503da9,_0x1d4714,_0x1c664b){const _0x40d23f=_0x1bfb44;super(),_0x46e3b1(this,_0x40d23f(0x358),new Set()),_0x46e3b1(this,'_lastPointer',null),(this['_context']=_0x4212da,this['_sheetSkeletonManagerService']=_0x503da9,this[_0x40d23f(0x1fc)]=_0x1d4714,this[_0x40d23f(0x2fa)]=_0x1c664b,this['_init']());}['_init'](){const _0x480505=_0x1bfb44;this[_0x480505(0x20e)][_0x480505(0x1b5)][_0x480505(0xee)](_0x309597[_0x480505(0x200)](this[_0x480505(0x318)]),_0x309597[_0x480505(0x325)](_0x18786b=>{const _0x153f77=_0x480505;if(_0x18786b){const _0x5af46a=_0x18786b[_0x153f77(0x14f)];return _0x388e9f['combineLatest'](this[_0x153f77(0x1fc)][_0x153f77(0x2c4)](this['_context'][_0x153f77(0x31d)]),this[_0x153f77(0x2fa)][_0x153f77(0x1fd)])[_0x153f77(0xee)](_0x309597['map'](([_0x5c2673,_0x5487e6])=>{const _0x3496dc=_0x153f77,_0x3d0da7=new Map();return _0x5c2673[_0x3496dc(0x30f)]((_0x306e64,_0x22152f)=>{const _0x464a0d=_0x3496dc;if(_0x306e64[_0x464a0d(0x11f)]===_0x5af46a){const _0x3a05f0={..._0x306e64};_0x3a05f0[_0x464a0d(0x147)]=this['_themeService'][_0x464a0d(0x3a4)](_0x306e64['color']),_0x3d0da7['set'](_0x22152f,_0x3a05f0);}}),{'skeleton':_0x18786b,'cursors':_0x3d0da7};}));}return _0x388e9f['of']({'skeleton':null,'cursors':new Map()});}))[_0x480505(0x26f)](({skeleton:_0x59e589,cursors:_0x91ca45})=>{const _0x261a2d=_0x480505;this[_0x261a2d(0x321)](),_0x59e589&&this[_0x261a2d(0x353)](_0x59e589,_0x91ca45);}),this['_sheetSkeletonManagerService'][_0x480505(0x1b5)][_0x480505(0x26f)](_0x1e915b=>{const _0x4a9f7e=_0x480505;if(_0x1e915b==null)return;const {skeleton:_0x4d05ce}=_0x1e915b,{scene:_0x29287b}=this['_context'];_0x29287b[_0x4a9f7e(0x399)][_0x4a9f7e(0x238)](_0x20afdc[_0x4a9f7e(0x2b9)](_0x5edc4b=>{const _0x10116d=_0x4a9f7e;var _0x5917e8,_0x3e693d;const {offsetX:_0x49d8ef,offsetY:_0x36e846}=_0x5edc4b,{x:_0x2f4b82,y:_0x56ffb3}=_0x29287b['getRelativeToViewportCoord'](_0x314741[_0x10116d(0x286)][_0x10116d(0x2c2)]([_0x49d8ef,_0x36e846])),{scaleX:_0x562c26,scaleY:_0x5f1ae3}=_0x29287b[_0x10116d(0x390)](),_0xbd6690=_0x29287b[_0x10116d(0x322)](_0x314741[_0x10116d(0x2e5)]['VIEW_MAIN']),_0x1eed14=_0x29287b[_0x10116d(0x39f)](_0x314741['Vector2'][_0x10116d(0x2c2)]([_0x2f4b82,_0x56ffb3]),_0xbd6690),_0x1435f2=_0x4d05ce[_0x10116d(0x17a)](_0x49d8ef,_0x36e846,_0x562c26,_0x5f1ae3,_0x1eed14);((_0x5917e8=this[_0x10116d(0x118)])==null?void 0x0:_0x5917e8[_0x10116d(0x10a)])===_0x1435f2[_0x10116d(0x10a)]&&((_0x3e693d=this[_0x10116d(0x118)])==null?void 0x0:_0x3e693d['row'])===_0x1435f2['row']||this[_0x10116d(0x358)]['forEach'](_0x347c9b=>{const _0x46adb0=_0x10116d;_0x347c9b[_0x46adb0(0x168)](_0x1435f2);});},0x64));});}[_0x1bfb44(0x353)](_0x2f95a1,_0x58d9a5){const _0x161b17=_0x1bfb44;var _0x43ceee;const _0x23a362=(_0x43ceee=this[_0x161b17(0x20e)]['getCurrent']())==null?void 0x0:_0x43ceee[_0x161b17(0x103)];if(!_0x23a362)return;const _0x48d93a=this[_0x161b17(0x194)]();if(!_0x48d93a)return;this['_cursors'][_0x161b17(0x30f)](_0x1d5862=>{_0x1d5862['makeDirty']();});const {scene:_0x2bae02}=_0x48d93a,_0x1f273e=_0x53df95(Array[_0x161b17(0x392)](_0x58d9a5[_0x161b17(0x130)]()))[_0x161b17(0x2b4)](_0x4d7ab7=>{const _0x119dcb=_0x161b17,{color:_0x265b73,range:_0x589f31,name:_0x7169b2,selection:_0xe7b0fb,sheetID:_0x277291}=_0x4d7ab7,{startColumn:_0x57ab63,startRow:_0x1d1c94,endColumn:_0x460722,endRow:_0x1eecf7}=_0x589f31,_0x437ca4=_0x28415e['getCoordByCell'](_0x1d1c94,_0x57ab63,_0x2bae02,_0x23a362),_0x27fd0a=_0x28415e[_0x119dcb(0x3a6)](_0x1eecf7,_0x460722,_0x2bae02,_0x23a362),{columnHeaderHeightAndMarginTop:_0xf27a9b}=_0x23a362,{startX:_0x11d1ac,startY:_0x3a198d}=_0x437ca4,{endX:_0x5ec242,endY:_0x16d00a}=_0x27fd0a,_0xffc53b=_0x5ec242-_0x11d1ac,_0x54aaf4=_0x16d00a-_0x3a198d,_0xcfb3e0={'labelPosition':_0x3a198d-_0xf27a9b>=_0x332cee?_0x119dcb(0x374):_0x119dcb(0x2af),'sheetID':_0x277291,'range':_0x589f31,'color':_0x265b73,'name':_0x7169b2,'selection':_0xe7b0fb,'left':_0x11d1ac,'top':_0x3a198d,'width':_0xffc53b,'height':_0x54aaf4,'evented':!0x1,'zIndex':_0x30b14f};return new _0x240cae(_0x7169b2,_0xcfb3e0);});_0x2bae02[_0x161b17(0x141)](_0x1f273e,_0x1cdc0c),this[_0x161b17(0x358)]=new Set(_0x1f273e);}[_0x1bfb44(0x321)](){const _0x5acd82=_0x1bfb44;var _0x2d5e0a;(_0x2d5e0a=this[_0x5acd82(0x358)])==null||_0x2d5e0a[_0x5acd82(0x30f)](_0x5518cd=>_0x5518cd[_0x5acd82(0x201)]());}[_0x1bfb44(0x194)](){const _0x10345e=_0x1bfb44;return _0x28415e[_0x10345e(0x359)](this[_0x10345e(0x389)][_0x10345e(0x32a)],this['_context']);}};_0x35edad=_0xd555f6([_0x4f9af6(0x1,_0x20afdc['Inject'](_0x28415e[_0x1bfb44(0x2d1)])),_0x4f9af6(0x2,_0x20afdc['Inject'](_0x43654b)),_0x4f9af6(0x3,_0x20afdc[_0x1bfb44(0x272)](_0x20afdc[_0x1bfb44(0x23a)]))],_0x35edad);function _0x53df95(_0x1a4622){const _0x22d543=_0x1bfb44,_0x765028=new Map();return _0x1a4622[_0x22d543(0x30f)](_0x52d5b1=>{const _0x36d69f=_0x22d543;if(_0x765028[_0x36d69f(0x293)](_0x52d5b1[_0x36d69f(0x384)])){const _0x16399f=_0x765028[_0x36d69f(0x2e1)](_0x52d5b1[_0x36d69f(0x384)]);_0x16399f[_0x36d69f(0x17f)]+=',\x20'+_0x52d5b1[_0x36d69f(0x17f)];}else _0x765028[_0x36d69f(0x165)](_0x52d5b1['selection'],_0x52d5b1);}),Array[_0x22d543(0x392)](_0x765028[_0x22d543(0x130)]());}var _0x39d27=Object[_0x1bfb44(0x3af)],_0x3b1d3b=(_0x1043dd,_0x3f70ea,_0x339f05,_0x137a72)=>{const _0x236235=_0x1bfb44;for(var _0x266184=_0x137a72>0x1?void 0x0:_0x137a72?_0x39d27(_0x3f70ea,_0x339f05):_0x3f70ea,_0x305f69=_0x1043dd[_0x236235(0x31e)]-0x1,_0x580bdd;_0x305f69>=0x0;_0x305f69--)(_0x580bdd=_0x1043dd[_0x305f69])&&(_0x266184=_0x580bdd(_0x266184)||_0x266184);return _0x266184;},_0x3ca687=(_0x2b3ae4,_0x44cc01)=>(_0x452cd7,_0x304fb6)=>_0x44cc01(_0x452cd7,_0x304fb6,_0x2b3ae4);let _0x2037e7=class extends _0x20afdc[_0x1bfb44(0x1ab)]{constructor(_0x52075f,_0x223968,_0x3ec9ff,_0x566a1b,_0x4bd694,_0x265a15){const _0x4a2c3f=_0x1bfb44;super(),this[_0x4a2c3f(0x1da)]=_0x52075f,this[_0x4a2c3f(0x18d)]=_0x223968,this['_collaborationUIEventService']=_0x3ec9ff,this[_0x4a2c3f(0x189)]=_0x566a1b,this[_0x4a2c3f(0x2ab)]=_0x4bd694,this[_0x4a2c3f(0x2b5)]=_0x265a15,this['_setupBeforeClosingHandler'](),this['_initEvent']();}[_0x1bfb44(0x35e)](){const _0x379920=_0x1bfb44;this['disposeWithMe'](this[_0x379920(0x1da)]['registerBeforeClose'](()=>{const _0x3047fb=_0x379920;if(this['_localCacheService'][_0x3047fb(0x205)][_0x3047fb(0x125)])return this[_0x3047fb(0x2b5)]['t'](_0x3047fb(0x267));}));}[_0x1bfb44(0x10d)](){const _0xb82c6b=_0x1bfb44;this[_0xb82c6b(0x37d)](this[_0xb82c6b(0x12e)][_0xb82c6b(0x163)][_0xb82c6b(0x26f)](_0x5d57d6=>{const _0x33a3ee=_0xb82c6b;_0x5d57d6['id']===_0x24c19b['CollaborationUIEventId'][_0x33a3ee(0xfb)]&&this[_0x33a3ee(0x189)][_0x33a3ee(0x25e)]({'type':_0x1e0555[_0x33a3ee(0x2c3)][_0x33a3ee(0x2b7)],'content':this[_0x33a3ee(0x2b5)]['t']('collaboration.single-unit.warning')}),_0x5d57d6['id']===_0x24c19b[_0x33a3ee(0x1e9)][_0x33a3ee(0x3bb)]&&this[_0x33a3ee(0x189)][_0x33a3ee(0x25e)]({'type':_0x1e0555[_0x33a3ee(0x2c3)]['Warning'],'content':this[_0x33a3ee(0x2b5)]['t'](_0x33a3ee(0x2bd))}),_0x5d57d6['id']===_0x24c19b['CollaborationUIEventId'][_0x33a3ee(0x1f0)]&&this['_notificationService'][_0x33a3ee(0x25e)]({'title':this[_0x33a3ee(0x2b5)]['t'](_0x33a3ee(0x1cb)),'content':this[_0x33a3ee(0x2b5)]['t'](_0x33a3ee(0x3c6)),'type':_0x33a3ee(0x1ac),'duration':0x0}),_0x5d57d6['id']===_0x24c19b[_0x33a3ee(0x1e9)][_0x33a3ee(0x14c)]&&this['_messageService']['show']({'type':_0x1e0555[_0x33a3ee(0x2c3)][_0x33a3ee(0x34d)],'content':this[_0x33a3ee(0x2b5)]['t'](_0x33a3ee(0x2bd))+'('+_0x5d57d6[_0x33a3ee(0x160)]+')'}),_0x5d57d6['id']===_0x24c19b[_0x33a3ee(0x1e9)][_0x33a3ee(0x397)]&&this[_0x33a3ee(0x189)][_0x33a3ee(0x25e)]({'type':_0x1e0555[_0x33a3ee(0x2c3)][_0x33a3ee(0x2b7)],'content':this[_0x33a3ee(0x2b5)]['t'](_0x5d57d6[_0x33a3ee(0x160)]||'')}),_0x5d57d6['id']===_0x24c19b['CollaborationUIEventId'][_0x33a3ee(0x20b)]&&this[_0x33a3ee(0x189)][_0x33a3ee(0x25e)]({'type':_0x1e0555[_0x33a3ee(0x2c3)][_0x33a3ee(0x2b7)],'content':this[_0x33a3ee(0x2b5)]['t']('session.will-retry')}),_0x5d57d6['id']===_0x24c19b['CollaborationUIEventId'][_0x33a3ee(0x22f)]&&this[_0x33a3ee(0x189)][_0x33a3ee(0x25e)]({'type':_0x1e0555[_0x33a3ee(0x2c3)][_0x33a3ee(0x34d)],'content':this['_localeService']['t']('session.connection-failed')}),_0x5d57d6['id']===_0x24c19b[_0x33a3ee(0x1e9)][_0x33a3ee(0x11a)]&&this[_0x33a3ee(0x189)][_0x33a3ee(0x25e)]({'type':_0x1e0555[_0x33a3ee(0x2c3)][_0x33a3ee(0x34d)],'content':this[_0x33a3ee(0x2b5)]['t'](_0x33a3ee(0x1e4))});}));}};_0x2037e7=_0x3b1d3b([_0x3ca687(0x0,_0x351287['IBeforeCloseService']),_0x3ca687(0x1,_0x24c19b[_0x1bfb44(0x146)]),_0x3ca687(0x2,_0x20afdc['Inject'](_0x24c19b['CollaborationUIEventService'])),_0x3ca687(0x3,_0x351287[_0x1bfb44(0x3bd)]),_0x3ca687(0x4,_0x351287[_0x1bfb44(0x12d)]),_0x3ca687(0x5,_0x20afdc['Inject'](_0x20afdc['LocaleService']))],_0x2037e7);const _0x5db899=_0x1bfb44(0x123),_0x276987={};var _0x1a2635=Object[_0x1bfb44(0x3af)],_0x3037d7=(_0x11b53c,_0x1c3fef,_0x11dec0,_0x15f791)=>{const _0x5b36ed=_0x1bfb44;for(var _0x23218e=_0x15f791>0x1?void 0x0:_0x15f791?_0x1a2635(_0x1c3fef,_0x11dec0):_0x1c3fef,_0x48e64c=_0x11b53c[_0x5b36ed(0x31e)]-0x1,_0x4e788c;_0x48e64c>=0x0;_0x48e64c--)(_0x4e788c=_0x11b53c[_0x48e64c])&&(_0x23218e=_0x4e788c(_0x23218e)||_0x23218e);return _0x23218e;},_0x32b3a8=(_0x595fa1,_0x3cd4b4)=>(_0x2509e6,_0x202b2a)=>_0x3cd4b4(_0x2509e6,_0x202b2a,_0x595fa1);let _0x2cf8cc=class{constructor(_0x3b1110,_0x58da39){const _0x38f744=_0x1bfb44;this[_0x38f744(0x213)]=_0x3b1110,this[_0x38f744(0x145)]=_0x58da39;}['transformIMECache'](_0x1632e3){const _0x42b91b=_0x1bfb44;this[_0x42b91b(0x14e)](_0x1632e3),this[_0x42b91b(0x35f)](_0x1632e3);}['transformRemoteChangeset'](_0x1b043b){const _0x2f6b93=_0x1bfb44,{unitID:_0x5e597d}=_0x1b043b,_0x525a9a=this[_0x2f6b93(0x145)][_0x2f6b93(0x1bf)](_0x5e597d)[_0x2f6b93(0x1a2)](_0x4c9f55[_0x2f6b93(0x30b)]),{redoCache:_0x3f1dfc}=_0x525a9a[_0x2f6b93(0x1e1)]();if(_0x3f1dfc[_0x2f6b93(0x31e)]===0x0)return _0x1b043b;let _0xa5a271=_0x20afdc[_0x2f6b93(0x2cc)][_0x2f6b93(0x349)](_0x1b043b[_0x2f6b93(0x110)][0x0]);for(let _0x1533f7=0x0;_0x1533f7<_0x3f1dfc[_0x2f6b93(0x31e)];_0x1533f7++){const _0x17207e={'id':'doc.mutation.rich-text-editing','params':{..._0x3f1dfc[_0x1533f7]}},_0xd6f362=this[_0x2f6b93(0x213)][_0x2f6b93(0x152)](_0xa5a271,_0x17207e,!0x1);if(_0x5d9b62[_0x2f6b93(0x3b3)](_0xd6f362))throw _0xd6f362[_0x2f6b93(0x1ac)];_0xa5a271=_0xd6f362['m1Prime'];}return{..._0x20afdc[_0x2f6b93(0x2cc)]['deepClone'](_0x1b043b),'mutations':[_0xa5a271]};}[_0x1bfb44(0x14e)](_0x44a926){const _0x484ec0=_0x1bfb44,{unitID:_0x1d131a}=_0x44a926,_0x4607e9=this[_0x484ec0(0x145)][_0x484ec0(0x1bf)](_0x1d131a)[_0x484ec0(0x1a2)](_0x4c9f55[_0x484ec0(0x30b)]),{undoCache:_0x58dc9a,redoCache:_0x28fdf1}=_0x4607e9['getUndoRedoMutationParamsCache']();if(_0x58dc9a[_0x484ec0(0x31e)]===0x0||_0x28fdf1[_0x484ec0(0x31e)]===0x0)return;const _0x34775f=[],_0x462c43=[];let _0x3960bd=_0x20afdc[_0x484ec0(0x2cc)][_0x484ec0(0x349)](_0x44a926['mutations'][0x0]),_0xfe859f=_0x20afdc[_0x484ec0(0x2cc)]['deepClone'](_0x44a926['mutations'][0x0]);for(let _0x1c56c3=_0x58dc9a[_0x484ec0(0x31e)]-0x1;_0x1c56c3>=0x0;_0x1c56c3--){const _0x5b20cc={'id':'doc.mutation.rich-text-editing','params':{..._0x58dc9a[_0x1c56c3]}},_0x5a5cc2={'id':_0x484ec0(0x292),'params':{..._0x28fdf1[_0x1c56c3]}},_0x52881a=this[_0x484ec0(0x213)]['transformMutation'](_0x3960bd,_0x5b20cc,!0x1),_0x5a31ad=this['_transformService']['transformMutation'](_0xfe859f,_0x5a5cc2,!0x1);if(_0x5d9b62[_0x484ec0(0x3b3)](_0x52881a))throw _0x52881a[_0x484ec0(0x1ac)];if(_0x5d9b62[_0x484ec0(0x3b3)](_0x5a31ad))throw _0x5a31ad[_0x484ec0(0x1ac)];_0x34775f[_0x484ec0(0x2aa)](_0x52881a['m2Prime'][_0x484ec0(0x317)]),_0x462c43[_0x484ec0(0x2aa)](_0x5a31ad[_0x484ec0(0x223)]['params']),_0x3960bd=_0x52881a[_0x484ec0(0x209)],_0xfe859f=_0x5a31ad['m1Prime'];}_0x4607e9[_0x484ec0(0x1ec)]({'undoCache':_0x34775f,'redoCache':_0x462c43});}[_0x1bfb44(0x35f)](_0x540d9e){const _0x593ea6=_0x1bfb44,{unitID:_0x33dabb}=_0x540d9e,_0x3e0246=this[_0x593ea6(0x145)][_0x593ea6(0x1bf)](_0x33dabb)[_0x593ea6(0x1a2)](_0x4c9f55['DocIMEInputManagerService']),_0x4708d9=_0x3e0246[_0x593ea6(0x299)]();if(_0x4708d9==null)return;const _0x588abe=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x540d9e[_0x593ea6(0x1c4)],'actions':null,'textRanges':[_0x4708d9]}}],_0x559ac9=this[_0x593ea6(0x213)]['transformMutationsWithChangeset'](_0x540d9e,_0x588abe);if(!_0x5d9b62['isTransformMutationsWithChangesetSuccess'](_0x559ac9))throw _0x559ac9[_0x593ea6(0x1ac)];const _0x432ded=_0x559ac9[_0x593ea6(0x223)][0x0][_0x593ea6(0x317)][_0x593ea6(0x122)];Array[_0x593ea6(0x140)](_0x432ded)&&_0x432ded[_0x593ea6(0x31e)]&&_0x3e0246[_0x593ea6(0x300)](_0x432ded[0x0]);}};_0x2cf8cc=_0x3037d7([_0x32b3a8(0x0,_0x5d9b62[_0x1bfb44(0x39e)]),_0x32b3a8(0x1,_0x314741['IRenderManagerService'])],_0x2cf8cc);var _0xbef7ed=Object[_0x1bfb44(0x3af)],_0x2812a4=(_0x4bc063,_0xbdb857,_0x114a5e,_0x449005)=>{const _0x322bd3=_0x1bfb44;for(var _0x409e60=_0x449005>0x1?void 0x0:_0x449005?_0xbef7ed(_0xbdb857,_0x114a5e):_0xbdb857,_0x21779b=_0x4bc063[_0x322bd3(0x31e)]-0x1,_0x29f54c;_0x21779b>=0x0;_0x21779b--)(_0x29f54c=_0x4bc063[_0x21779b])&&(_0x409e60=_0x29f54c(_0x409e60)||_0x409e60);return _0x409e60;},_0x5a5389=(_0x118a0c,_0x312d20)=>(_0x3d333a,_0xa0c366)=>_0x312d20(_0x3d333a,_0xa0c366,_0x118a0c);let _0x4c9bc9=class{constructor(_0x7fb203,_0x40bf05,_0x5cf54e){this['_injector']=_0x7fb203,this['_transformService']=_0x40bf05,this['_docStateChangeManagerService']=_0x5cf54e;}[_0x1bfb44(0x28d)](_0x4ea123){const _0x4f0337=_0x1bfb44;this[_0x4f0337(0x244)](_0x4ea123);}['transformRemoteChangeset'](_0x107547){const _0x5ba09d=_0x1bfb44,{unitID:_0x5bf846}=_0x107547,{collaboration:_0x2c897a}=this[_0x5ba09d(0x375)][_0x5ba09d(0x366)](_0x5bf846);if(_0x2c897a[_0x5ba09d(0x31e)]===0x0)return _0x107547;let _0x48dcb9=_0x20afdc[_0x5ba09d(0x2cc)][_0x5ba09d(0x349)](_0x107547['mutations'][0x0]);for(let _0x4273e9=0x0;_0x4273e9<_0x2c897a[_0x5ba09d(0x31e)];_0x4273e9++){const _0x56f398={'id':_0x5ba09d(0x292),'params':{'unitId':_0x2c897a[_0x4273e9]['unitId'],..._0x2c897a[_0x4273e9]['redoState']}},_0x3e3a73=this['_transformService'][_0x5ba09d(0x152)](_0x48dcb9,_0x56f398,!0x1);if(_0x5d9b62[_0x5ba09d(0x3b3)](_0x3e3a73))throw _0x3e3a73[_0x5ba09d(0x1ac)];_0x48dcb9=_0x3e3a73[_0x5ba09d(0x209)];}return{..._0x20afdc[_0x5ba09d(0x2cc)][_0x5ba09d(0x349)](_0x107547),'mutations':[_0x48dcb9]};}[_0x1bfb44(0x244)](_0x44946d){const _0x3947bc=_0x1bfb44,{unitID:_0x3aaab8}=_0x44946d,{history:_0x2df991,collaboration:_0x14f1e2}=this['_docStateChangeManagerService']['getStateCache'](_0x3aaab8);if(_0x2df991[_0x3947bc(0x31e)]===0x0&&_0x14f1e2[_0x3947bc(0x31e)]===0x0)return;const _0x3c6e87=[],_0x4fd18c=[];let _0x31fbe8=_0x20afdc[_0x3947bc(0x2cc)][_0x3947bc(0x349)](_0x44946d[_0x3947bc(0x110)][0x0]),_0x1be736=_0x20afdc[_0x3947bc(0x2cc)][_0x3947bc(0x349)](_0x44946d[_0x3947bc(0x110)][0x0]);for(let _0x1a9f6d=_0x2df991[_0x3947bc(0x31e)]-0x1;_0x1a9f6d>=0x0;_0x1a9f6d--){const _0x31b10d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2df991[_0x1a9f6d][_0x3947bc(0x31d)],..._0x2df991[_0x1a9f6d]['undoState']}},_0x578bd3={'id':_0x3947bc(0x292),'params':{'unitId':_0x2df991[_0x1a9f6d][_0x3947bc(0x31d)],..._0x2df991[_0x1a9f6d][_0x3947bc(0x347)]}},_0x5c2ccc=this[_0x3947bc(0x213)][_0x3947bc(0x152)](_0x31fbe8,_0x31b10d,!0x1),_0x3e8409=this[_0x3947bc(0x213)][_0x3947bc(0x152)](_0x1be736,_0x578bd3,!0x1);if(_0x5d9b62[_0x3947bc(0x3b3)](_0x5c2ccc))throw _0x5c2ccc[_0x3947bc(0x1ac)];if(_0x5d9b62['isTransformMutationFailure'](_0x3e8409))throw _0x3e8409[_0x3947bc(0x1ac)];_0x3c6e87[_0x3947bc(0x2aa)]({..._0x2df991[_0x1a9f6d],'undoState':_0x5c2ccc[_0x3947bc(0x223)][_0x3947bc(0x317)],'redoState':_0x3e8409[_0x3947bc(0x223)][_0x3947bc(0x317)]}),_0x31fbe8=_0x5c2ccc[_0x3947bc(0x209)],_0x1be736=_0x3e8409[_0x3947bc(0x209)];}_0x31fbe8=_0x20afdc['Tools'][_0x3947bc(0x349)](_0x44946d[_0x3947bc(0x110)][0x0]),_0x1be736=_0x20afdc[_0x3947bc(0x2cc)][_0x3947bc(0x349)](_0x44946d[_0x3947bc(0x110)][0x0]);for(let _0x124da4=_0x14f1e2[_0x3947bc(0x31e)]-0x1;_0x124da4>=0x0;_0x124da4--){const _0x4a7f2a={'id':_0x3947bc(0x292),'params':{'unitId':_0x14f1e2[_0x124da4][_0x3947bc(0x31d)],..._0x14f1e2[_0x124da4][_0x3947bc(0x20a)]}},_0x5045d7={'id':_0x3947bc(0x292),'params':{'unitId':_0x14f1e2[_0x124da4][_0x3947bc(0x31d)],..._0x14f1e2[_0x124da4][_0x3947bc(0x347)]}},_0x1eb4f5=this[_0x3947bc(0x213)]['transformMutation'](_0x31fbe8,_0x4a7f2a,!0x1),_0x588361=this['_transformService'][_0x3947bc(0x152)](_0x1be736,_0x5045d7,!0x1);if(_0x5d9b62[_0x3947bc(0x3b3)](_0x1eb4f5))throw _0x1eb4f5[_0x3947bc(0x1ac)];if(_0x5d9b62['isTransformMutationFailure'](_0x588361))throw _0x588361['error'];_0x4fd18c[_0x3947bc(0x2aa)]({..._0x14f1e2[_0x124da4],'undoState':_0x1eb4f5[_0x3947bc(0x223)]['params'],'redoState':_0x588361[_0x3947bc(0x223)][_0x3947bc(0x317)]}),_0x31fbe8=_0x1eb4f5[_0x3947bc(0x209)],_0x1be736=_0x588361[_0x3947bc(0x209)];}this[_0x3947bc(0x375)][_0x3947bc(0x25a)](_0x3aaab8,{'history':_0x3c6e87,'collaboration':_0x4fd18c});}};_0x4c9bc9=_0x2812a4([_0x5a5389(0x0,_0x20afdc[_0x1bfb44(0x272)](_0x20afdc[_0x1bfb44(0x24c)])),_0x5a5389(0x1,_0x5d9b62[_0x1bfb44(0x39e)]),_0x5a5389(0x2,_0x20afdc[_0x1bfb44(0x272)](_0x4c9f55[_0x1bfb44(0x297)]))],_0x4c9bc9);var _0xaf92b8=Object['getOwnPropertyDescriptor'],_0x2496c3=(_0x3d129c,_0x1f94e1,_0x2c9431,_0x338116)=>{for(var _0x18a4c5=_0x338116>0x1?void 0x0:_0x338116?_0xaf92b8(_0x1f94e1,_0x2c9431):_0x1f94e1,_0x4df4a3=_0x3d129c['length']-0x1,_0x58f037;_0x4df4a3>=0x0;_0x4df4a3--)(_0x58f037=_0x3d129c[_0x4df4a3])&&(_0x18a4c5=_0x58f037(_0x18a4c5)||_0x18a4c5);return _0x18a4c5;},_0x1e06a2=(_0x4ff08d,_0x85e80a)=>(_0x1f0fb8,_0x2570fa)=>_0x85e80a(_0x1f0fb8,_0x2570fa,_0x4ff08d);let _0x34b5db=class{constructor(_0x173bcc,_0x24f4d1){const _0x292136=_0x1bfb44;this[_0x292136(0x319)]=_0x173bcc,this[_0x292136(0x213)]=_0x24f4d1;}[_0x1bfb44(0x100)](_0xa411c5){const _0x27a357=_0x1bfb44;var _0x4f3f1d;const _0x2e4a8c=this[_0x27a357(0x319)][_0x27a357(0x2e1)](_0x52be1c[_0x27a357(0x1ba)]),_0x53ea6c=(_0x4f3f1d=_0x2e4a8c[_0x27a357(0x2a3)]())!=null?_0x4f3f1d:[];if(_0x53ea6c[_0x27a357(0x31e)]===0x0)return;const _0x1b0668=_0xa411c5[_0x27a357(0x1c4)],_0x3d5b5f=[{'id':_0x27a357(0x292),'params':{'unitId':_0x1b0668,'actions':null,'textRanges':_0x53ea6c}}],_0x4cfd20=this[_0x27a357(0x213)]['transformMutationsWithChangeset'](_0xa411c5,_0x3d5b5f);if(!_0x5d9b62[_0x27a357(0x187)](_0x4cfd20))throw _0x4cfd20[_0x27a357(0x1ac)];const _0x40d85=_0x4cfd20[_0x27a357(0x223)][0x0]['params'][_0x27a357(0x122)];Array[_0x27a357(0x140)](_0x40d85)&&_0x40d85[_0x27a357(0x31e)]&&_0x2e4a8c['replaceDocRanges'](_0x40d85,{'unitId':_0x1b0668,'subUnitId':_0x1b0668},!0x1);}};_0x34b5db=_0x2496c3([_0x1e06a2(0x0,_0x20afdc['Inject'](_0x20afdc[_0x1bfb44(0x24c)])),_0x1e06a2(0x1,_0x5d9b62['ITransformService'])],_0x34b5db);var _0x315323=Object[_0x1bfb44(0x3af)],_0x385f06=(_0x205d4c,_0x356666,_0x5b681b,_0x1537a8)=>{const _0x2cf516=_0x1bfb44;for(var _0x2175ee=_0x1537a8>0x1?void 0x0:_0x1537a8?_0x315323(_0x356666,_0x5b681b):_0x356666,_0x5cf3c5=_0x205d4c[_0x2cf516(0x31e)]-0x1,_0x5757e7;_0x5cf3c5>=0x0;_0x5cf3c5--)(_0x5757e7=_0x205d4c[_0x5cf3c5])&&(_0x2175ee=_0x5757e7(_0x2175ee)||_0x2175ee);return _0x2175ee;},_0x4c2900=(_0x44dd1e,_0x46b8e0)=>(_0x5b99b1,_0x46474c)=>_0x46b8e0(_0x5b99b1,_0x46474c,_0x44dd1e);let _0x403fb4=class extends _0x20afdc[_0x1bfb44(0x1ab)]{constructor(_0xd4bd30,_0x37e784,_0x27e32d,_0x435e5b,_0x4b1c9e,_0x9aea9a,_0x1641c6,_0x4593b8){const _0x154550=_0x1bfb44;super(),_0x46e3b1(this,'_status$',new _0x388e9f[(_0x154550(0x1ca))](_0x24c19b[_0x154550(0x190)][_0x154550(0x3c4)])),(this[_0x154550(0x375)]=_0xd4bd30,this[_0x154550(0x34f)]=_0x37e784,this[_0x154550(0x362)]=_0x27e32d,this['_docTransformStateCacheService']=_0x435e5b,this[_0x154550(0x169)]=_0x4b1c9e,this['_docSyncEditingCollabCursorService']=_0x9aea9a,this[_0x154550(0x189)]=_0x1641c6,this[_0x154550(0x2b5)]=_0x4593b8,this[_0x154550(0x2a5)]());}[_0x1bfb44(0x2a5)](){const _0x3681e7=_0x1bfb44;this[_0x3681e7(0x37d)](this[_0x3681e7(0x34f)][_0x3681e7(0x21b)][_0x3681e7(0x26f)](_0x435070=>{const _0x724684=_0x3681e7,_0xa450f=this[_0x724684(0x375)][_0x724684(0x10c)][_0x724684(0x26f)](_0xcba65a=>{const _0x38fa48=_0x724684;if(_0xcba65a==null)return;const {unitId:_0x5c8438,redoState:_0x3c9d58,commandId:_0x48d3f5}=_0xcba65a;if(_0x5c8438!==_0x435070[_0x38fa48(0x1c4)])return;const _0x301729={'id':_0x48d3f5,'type':_0x20afdc[_0x38fa48(0x204)][_0x38fa48(0x26a)],'params':{'unitId':_0x5c8438,'actions':_0x3c9d58[_0x38fa48(0xff)],'textRanges':null}};_0x435070[_0x38fa48(0x2cf)](_0x301729);});if(_0x435070[_0x724684(0x37d)](_0xa450f),_0x435070 instanceof _0x24c19b['DocCollaborationEntity']){const _0x53f3f6={'onTransformIME':_0xc1663f=>this[_0x724684(0x362)][_0x724684(0x290)](_0xc1663f),'onTransformState':_0x439521=>this[_0x724684(0x296)][_0x724684(0x28d)](_0x439521),'onTransformSelections':_0x56180a=>this['_docTransformSelectionsService']['transformSelections'](_0x56180a),'onSyncEditingCollabCursor':_0x1281f0=>this[_0x724684(0x2a8)][_0x724684(0x39a)](_0x1281f0),'onTransformRemoteChangesetByIMECache':_0x155b57=>this[_0x724684(0x362)][_0x724684(0x3a2)](_0x155b57),'onTransformRemoteChangesetByStateCache':_0x5ded44=>this[_0x724684(0x296)][_0x724684(0x3a2)](_0x5ded44)};_0x435070[_0x724684(0x102)](_0x53f3f6);}}));}};_0x403fb4=_0x385f06([_0x4c2900(0x0,_0x20afdc[_0x1bfb44(0x272)](_0x4c9f55[_0x1bfb44(0x297)])),_0x4c2900(0x1,_0x20afdc['Inject'](_0x24c19b[_0x1bfb44(0x3ac)])),_0x4c2900(0x2,_0x20afdc['Inject'](_0x2cf8cc)),_0x4c2900(0x3,_0x20afdc[_0x1bfb44(0x272)](_0x4c9bc9)),_0x4c2900(0x4,_0x20afdc[_0x1bfb44(0x272)](_0x34b5db)),_0x4c2900(0x5,_0x20afdc['Inject'](_0x2a0bd)),_0x4c2900(0x6,_0x351287[_0x1bfb44(0x3bd)]),_0x4c2900(0x7,_0x20afdc['Inject'](_0x20afdc[_0x1bfb44(0x115)]))],_0x403fb4);var _0x18e87c=(_0x2a517d=>(_0x2a517d[_0x2a517d['UNDEFINED']=0x0]='UNDEFINED',_0x2a517d[_0x2a517d['OK']=0x1]='OK',_0x2a517d[_0x2a517d[_0x1bfb44(0x363)]=0x2]='INTERNAL_ERROR',_0x2a517d[_0x2a517d['PERMISSION_DENIED']=0x3]=_0x1bfb44(0x1f0),_0x2a517d[_0x2a517d[_0x1bfb44(0x35a)]=0x4]=_0x1bfb44(0x35a),_0x2a517d[_0x2a517d[_0x1bfb44(0x25b)]=0x5]=_0x1bfb44(0x25b),_0x2a517d[_0x2a517d[_0x1bfb44(0x1b2)]=0x6]=_0x1bfb44(0x1b2),_0x2a517d[_0x2a517d[_0x1bfb44(0x3b9)]=0x7]='INVALID_ARGUMENT',_0x2a517d[_0x2a517d['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x2a517d[_0x2a517d['COMPLETION_FINISHED']=0x9]=_0x1bfb44(0x1a5),_0x2a517d[_0x2a517d[_0x1bfb44(0x2ec)]=0xa]=_0x1bfb44(0x2ec),_0x2a517d[_0x2a517d['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x2a517d[_0x2a517d[_0x1bfb44(0x38f)]=0xc]=_0x1bfb44(0x38f),_0x2a517d[_0x2a517d['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x1bfb44(0x120),_0x2a517d[_0x2a517d[_0x1bfb44(0x29f)]=0xe]=_0x1bfb44(0x29f),_0x2a517d[_0x2a517d[_0x1bfb44(0x32c)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x2a517d[_0x2a517d['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x1bfb44(0x2ef),_0x2a517d[_0x2a517d[_0x1bfb44(0x231)]=0x64]=_0x1bfb44(0x231),_0x2a517d[_0x2a517d['ERROR_AGAIN']=0x65]=_0x1bfb44(0x10f),_0x2a517d[_0x2a517d[_0x1bfb44(0x23f)]=0xc9]='USER_NOT_FOUND',_0x2a517d[_0x2a517d[_0x1bfb44(0x295)]=0xca]=_0x1bfb44(0x295),_0x2a517d[_0x2a517d['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x1bfb44(0x19e),_0x2a517d[_0x2a517d[_0x1bfb44(0x138)]=0x1771]=_0x1bfb44(0x138),_0x2a517d[_0x2a517d[_0x1bfb44(0x1d8)]=0x1772]=_0x1bfb44(0x1d8),_0x2a517d[_0x2a517d[_0x1bfb44(0xfe)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2a517d[_0x2a517d[_0x1bfb44(0x27e)]=0x1b59]=_0x1bfb44(0x27e),_0x2a517d[_0x2a517d['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x1bfb44(0x1f9),_0x2a517d[_0x2a517d[_0x1bfb44(0x230)]=0x1b5b]=_0x1bfb44(0x230),_0x2a517d[_0x2a517d[_0x1bfb44(0x346)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x2a517d[_0x2a517d[_0x1bfb44(0x174)]=0x1b5d]='APPLY_DUPLICATED',_0x2a517d[_0x2a517d[_0x1bfb44(0x3a3)]=0x1f41]=_0x1bfb44(0x3a3),_0x2a517d[_0x2a517d[_0x1bfb44(0x1b7)]=0x2329]=_0x1bfb44(0x1b7),_0x2a517d[_0x2a517d['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2a517d[_0x2a517d[_0x1bfb44(0x381)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2a517d[_0x2a517d[_0x1bfb44(0x243)]=0x232c]=_0x1bfb44(0x243),_0x2a517d[_0x2a517d['LICENSE_DISTRO_REJECTED']=0x232d]=_0x1bfb44(0xf4),_0x2a517d[_0x2a517d[_0x1bfb44(0x119)]=0x2711]=_0x1bfb44(0x119),_0x2a517d[_0x2a517d['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x1bfb44(0x1b0),_0x2a517d[_0x2a517d[_0x1bfb44(0x113)]=0x2713]=_0x1bfb44(0x113),_0x2a517d[_0x2a517d['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x2a517d[_0x2a517d['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x1bfb44(0x30e),_0x2a517d[_0x2a517d['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x1bfb44(0x3c1),_0x2a517d[_0x2a517d[_0x1bfb44(0x150)]=0x271c]=_0x1bfb44(0x150),_0x2a517d[_0x2a517d[_0x1bfb44(0x2e3)]=0x271d]=_0x1bfb44(0x2e3),_0x2a517d[_0x2a517d[_0x1bfb44(0x1ae)]=0x271e]=_0x1bfb44(0x1ae),_0x2a517d[_0x2a517d[_0x1bfb44(0x356)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x2a517d[_0x2a517d[_0x1bfb44(0x171)]=0x2720]=_0x1bfb44(0x171),_0x2a517d[_0x2a517d['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x1bfb44(0x28f),_0x2a517d[_0x2a517d['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x1bfb44(0x215),_0x2a517d[_0x2a517d[_0x1bfb44(0x2cb)]=0x2ee2]=_0x1bfb44(0x2cb),_0x2a517d[_0x2a517d[_0x1bfb44(0x20c)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2a517d[_0x2a517d[_0x1bfb44(0x157)]=0x2ee4]=_0x1bfb44(0x157),_0x2a517d[_0x2a517d['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x2a517d[_0x2a517d[_0x1bfb44(0x24d)]=0x32c9]=_0x1bfb44(0x24d),_0x2a517d[_0x2a517d[_0x1bfb44(0x354)]=0x32ca]=_0x1bfb44(0x354),_0x2a517d[_0x2a517d['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x1bfb44(0x210),_0x2a517d[_0x2a517d[_0x1bfb44(0x222)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x2a517d[_0x2a517d['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x1bfb44(0x2d7),_0x2a517d[_0x2a517d['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x1bfb44(0x2b6),_0x2a517d[_0x2a517d['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x1bfb44(0x3be),_0x2a517d[_0x2a517d['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x1bfb44(0x2e9),_0x2a517d[_0x2a517d['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x2a517d[_0x2a517d[_0x1bfb44(0x162)]=0x37dd]=_0x1bfb44(0x162),_0x2a517d[_0x2a517d[_0x1bfb44(0x11d)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x2a517d[_0x2a517d[_0x1bfb44(0x156)]=0x3a9a]=_0x1bfb44(0x156),_0x2a517d[_0x2a517d[_0x1bfb44(0x29c)]=0x3a9b]=_0x1bfb44(0x29c),_0x2a517d[_0x2a517d['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]=_0x1bfb44(0x175),_0x2a517d[_0x2a517d[_0x1bfb44(0x21c)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x2a517d[_0x2a517d[_0x1bfb44(0x36d)]=0x3a9e]=_0x1bfb44(0x36d),_0x2a517d[_0x2a517d[_0x1bfb44(0x3aa)]=0x3a9f]=_0x1bfb44(0x3aa),_0x2a517d[_0x2a517d[_0x1bfb44(0x2ba)]=-0x1]=_0x1bfb44(0x2ba),_0x2a517d))(_0x18e87c||{});function _0x256729(_0xfa959d){const _0x5075ae=_0x1bfb44;var _0x4482ee,_0x4ca36d;const _0x1fcb9d=(_0x4482ee=_0xfa959d['stageInfo'])==null?void 0x0:_0x4482ee[_0x5075ae(0x1c3)],_0x3be16e=((_0x4ca36d=_0xfa959d['stageInfo'])==null?void 0x0:_0x4ca36d[_0x5075ae(0x217)])||0x0;return _0x1fcb9d===_0x5892b7[_0x5075ae(0x1b3)][_0x5075ae(0x236)]&&_0x3be16e>0x0;}function _0x37d9f4(_0x306b6c){const _0x2fd559=_0x1bfb44;return _0x306b6c['functionsExecutedState']===_0x5892b7[_0x2fd559(0x227)]['SUCCESS'];}var _0x4be633=Object[_0x1bfb44(0x3af)],_0x3943b7=(_0x131637,_0x57d78d,_0x42f255,_0x5f5318)=>{for(var _0x57e3fa=_0x5f5318>0x1?void 0x0:_0x5f5318?_0x4be633(_0x57d78d,_0x42f255):_0x57d78d,_0xfb894f=_0x131637['length']-0x1,_0x458f83;_0xfb894f>=0x0;_0xfb894f--)(_0x458f83=_0x131637[_0xfb894f])&&(_0x57e3fa=_0x458f83(_0x57e3fa)||_0x57e3fa);return _0x57e3fa;},_0x5b4266=(_0x51d367,_0x1d21e0)=>(_0x5ced6c,_0x4684e4)=>_0x1d21e0(_0x5ced6c,_0x4684e4,_0x51d367);const _0x1fa58c=_0x1bfb44(0x18b),_0x199220='/universer-api/license/formula/limit/start',_0x6fef7=_0x1bfb44(0x1af);let _0x475265=class extends _0x20afdc['Disposable']{constructor(_0xd4d1e1,_0x134260,_0x2b4367,_0x19d797,_0x262157,_0x3d9b79,_0x38b69d){const _0x50068e=_0x1bfb44;super(),_0x46e3b1(this,_0x50068e(0x23d),null),_0x46e3b1(this,_0x50068e(0x124),0x0),_0x46e3b1(this,'_currentUsage',0x0),_0x46e3b1(this,_0x50068e(0x2a9),[]),_0x46e3b1(this,_0x50068e(0x117),0x0),(this['_messageService']=_0xd4d1e1,this[_0x50068e(0x22a)]=_0x134260,this[_0x50068e(0x288)]=_0x2b4367,this[_0x50068e(0x301)]=_0x19d797,this['_univerInstanceService']=_0x262157,this[_0x50068e(0x310)]=_0x3d9b79,this[_0x50068e(0x2b5)]=_0x38b69d,this[_0x50068e(0x2ac)]());}[_0x1bfb44(0x2ac)](){const _0x2b0297=_0x1bfb44;this[_0x2b0297(0x37d)](this[_0x2b0297(0x22a)][_0x2b0297(0x26b)]((_0x34536b,_0x39a810)=>{const _0x2d585b=_0x2b0297;if(_0x34536b['id']!==_0x5892b7['SetFormulaCalculationStartMutation']['id'])return;const _0x1eefd9=_0x34536b[_0x2d585b(0x317)];if(!this[_0x2d585b(0x36b)](_0x1eefd9['dirtyRanges']))return;if(!this['_checkCalculationAvailable']())throw this[_0x2d585b(0x2c6)](_0x34536b,_0x39a810),this[_0x2d585b(0x316)](),new _0x20afdc[(_0x2d585b(0x320))]();})),this[_0x2b0297(0x37d)](this[_0x2b0297(0x22a)][_0x2b0297(0x248)]((_0x147440,_0x9055f0)=>{const _0x59b8eb=_0x2b0297;if(_0x147440['id']!==_0x5892b7[_0x59b8eb(0x388)]['id'])return;const _0x44a398=_0x147440[_0x59b8eb(0x317)];if(_0x256729(_0x44a398)){const _0x50eaf6=_0x20afdc[_0x59b8eb(0x37e)]();this['_taskIds']['push'](_0x50eaf6),this[_0x59b8eb(0x352)](_0x50eaf6);}else{if(_0x37d9f4(_0x44a398)&&this['_taskIds']['length']>0x0){const _0x1587cd=this['_taskIds'][_0x59b8eb(0x1d1)]();this[_0x59b8eb(0x28c)](_0x1587cd);}}}));}['dispose'](){const _0x4bacd0=_0x1bfb44;super[_0x4bacd0(0x201)](),this[_0x4bacd0(0x23b)](),this[_0x4bacd0(0x2a9)]=[],this[_0x4bacd0(0x26c)]=0x0,this[_0x4bacd0(0x124)]=0x0,this[_0x4bacd0(0x117)]=0x0;}async[_0x1bfb44(0x2c6)](_0x4e248f,_0x193d55){const _0x2b00bd=_0x1bfb44;for(let _0x3dd9be=0x0;_0x3dd9be<0x1e;_0x3dd9be++)try{if(await this[_0x2b00bd(0x3c3)](),this['_checkCalculationAvailable']()){this[_0x2b00bd(0x377)](_0x4e248f,_0x193d55),this['_messageService'][_0x2b00bd(0x25e)]({'content':this[_0x2b00bd(0x2b5)]['t'](_0x2b00bd(0x23e)),'type':_0x1e0555[_0x2b00bd(0x2c3)][_0x2b00bd(0x13b)]});return;}await new Promise(_0x5d7474=>{const _0x39f520=_0x2b00bd;this['_pollingInterval']=window[_0x39f520(0x3a7)](_0x5d7474,0x3e8);});}catch(_0x114e98){this['_logService'][_0x2b00bd(0x1ac)](_0x114e98);}this[_0x2b00bd(0x189)][_0x2b00bd(0x25e)]({'content':this[_0x2b00bd(0x2b5)]['t'](_0x2b00bd(0x116)),'type':_0x1e0555[_0x2b00bd(0x2c3)][_0x2b00bd(0x34d)]});}['_applyCommand'](_0x37229b,_0x3b8240){const _0x3afcea=_0x1bfb44;try{this[_0x3afcea(0x22a)][_0x3afcea(0x350)](_0x37229b['id'],_0x37229b[_0x3afcea(0x317)],_0x3b8240);}catch(_0x5886f3){this['_logService'][_0x3afcea(0x1ac)](_0x5886f3);}}[_0x1bfb44(0x28b)](_0x330ff1,_0x4cd3a3){const _0x47a67c=_0x1bfb44;_0x4cd3a3<this[_0x47a67c(0x117)]||(this[_0x47a67c(0x117)]=_0x4cd3a3,this[_0x47a67c(0x124)]=Number['parseInt'](_0x330ff1['maxFormulaLimit']),this['_currentUsage']=Number[_0x47a67c(0x24f)](_0x330ff1[_0x47a67c(0x27c)]));}async['_startCalculationLimit'](_0x3333da){const _0x2ca902=_0x1bfb44;var _0x3523d2,_0x2308a6;const _0x515404=Date[_0x2ca902(0x1a7)]();try{const _0x5dbddc=((_0x3523d2=this[_0x2ca902(0x288)][_0x2ca902(0x2da)](_0x24c19b[_0x2ca902(0x268)]))==null?void 0x0:_0x3523d2[_0x2ca902(0x1bc)])||_0x199220,_0x1376e8=(await this[_0x2ca902(0x301)]['post'](_0x5dbddc,{'body':JSON[_0x2ca902(0x32d)]({'taskId':_0x3333da})}))[_0x2ca902(0x2c9)];if(((_0x2308a6=_0x1376e8['error'])==null?void 0x0:_0x2308a6[_0x2ca902(0x173)])!==_0x18e87c['OK'])return;this[_0x2ca902(0x28b)](_0x1376e8[_0x2ca902(0x28a)],_0x515404);}catch(_0x475d3e){this[_0x2ca902(0x310)]['error'](_0x475d3e);}}async[_0x1bfb44(0x3c3)](_0x4f93f3){const _0x17c4f6=_0x1bfb44;var _0x5270fa,_0x563203;const _0xe57dbf=Date[_0x17c4f6(0x1a7)]();try{const _0x26e3d2=((_0x5270fa=this[_0x17c4f6(0x288)]['getConfig'](_0x24c19b[_0x17c4f6(0x268)]))==null?void 0x0:_0x5270fa[_0x17c4f6(0x202)])||_0x1fa58c,_0x4e49ef=_0x4f93f3?_0x26e3d2+_0x17c4f6(0x22c)+encodeURIComponent(_0x4f93f3):_0x26e3d2,_0x4c0bc9=(await this[_0x17c4f6(0x301)]['get'](_0x4e49ef))[_0x17c4f6(0x2c9)];if(((_0x563203=_0x4c0bc9['error'])==null?void 0x0:_0x563203[_0x17c4f6(0x173)])!==_0x18e87c['OK'])return;this[_0x17c4f6(0x28b)](_0x4c0bc9[_0x17c4f6(0x28a)],_0xe57dbf);}catch(_0x15a4b3){this[_0x17c4f6(0x310)][_0x17c4f6(0x1ac)](_0x15a4b3);}}async[_0x1bfb44(0x28c)](_0xd72491){const _0x4b354b=_0x1bfb44;var _0x48fcb2,_0x96b177;const _0xcb29ba=Date[_0x4b354b(0x1a7)]();try{const _0x3ee0ba=((_0x48fcb2=this[_0x4b354b(0x288)][_0x4b354b(0x2da)](_0x24c19b[_0x4b354b(0x268)]))==null?void 0x0:_0x48fcb2['releaseFormulaLimitUrl'])||_0x6fef7,_0x26ac70=(await this[_0x4b354b(0x301)][_0x4b354b(0x15e)](_0x3ee0ba,{'body':JSON[_0x4b354b(0x32d)]({'taskId':_0xd72491})}))[_0x4b354b(0x2c9)];if(((_0x96b177=_0x26ac70[_0x4b354b(0x1ac)])==null?void 0x0:_0x96b177[_0x4b354b(0x173)])!==_0x18e87c['OK'])return;this[_0x4b354b(0x28b)](_0x26ac70[_0x4b354b(0x28a)],_0xcb29ba);}catch(_0x5173d7){this['_logService']['error'](_0x5173d7);}}['_checkCalculationAvailable'](){const _0x249912=_0x1bfb44;return this[_0x249912(0x124)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x249912(0x26c)]>0x0;}[_0x1bfb44(0x23b)](){const _0x49a9bc=_0x1bfb44;this[_0x49a9bc(0x23d)]&&(clearTimeout(this[_0x49a9bc(0x23d)]),this[_0x49a9bc(0x23d)]=null);}[_0x1bfb44(0x316)](){const _0x23a39f=_0x1bfb44;this[_0x23a39f(0x189)]['show']({'content':this['_localeService']['t'](_0x23a39f(0x393)),'type':_0x1e0555['MessageType'][_0x23a39f(0x2a0)]});}[_0x1bfb44(0x36b)](_0x87221b){const _0x3d6096=_0x1bfb44;for(const _0x1dd4d6 of _0x87221b){const {unitId:_0x1f678e,sheetId:_0x51348b,range:_0x2c0a9c}=_0x1dd4d6,_0x3871c9=this[_0x3d6096(0x154)][_0x3d6096(0x240)](_0x1f678e);if(!_0x3871c9)continue;const _0x28e81f=_0x3871c9[_0x3d6096(0x1be)](_0x51348b);if(!_0x28e81f)continue;const _0x4d78be=_0x28e81f['getCellMatrix']();for(let _0x4b008f=_0x2c0a9c[_0x3d6096(0x13a)];_0x4b008f<=_0x2c0a9c[_0x3d6096(0x277)];_0x4b008f++)for(let _0x5c32b4=_0x2c0a9c[_0x3d6096(0x1b1)];_0x5c32b4<=_0x2c0a9c[_0x3d6096(0x2f0)];_0x5c32b4++){const _0x48d834=_0x4d78be['getValue'](_0x4b008f,_0x5c32b4);if(_0x48d834&&(_0x20afdc[_0x3d6096(0x282)](_0x48d834['f'])||_0x20afdc[_0x3d6096(0x379)](_0x48d834['si'])))return!0x0;}}return!0x1;}};_0x475265=_0x3943b7([_0x5b4266(0x0,_0x20afdc['Inject'](_0x351287['IMessageService'])),_0x5b4266(0x1,_0x20afdc['ICommandService']),_0x5b4266(0x2,_0x20afdc[_0x1bfb44(0x344)]),_0x5b4266(0x3,_0x20afdc[_0x1bfb44(0x272)](_0x12e6c2[_0x1bfb44(0x1cd)])),_0x5b4266(0x4,_0x20afdc[_0x1bfb44(0xef)]),_0x5b4266(0x5,_0x20afdc['ILogService']),_0x5b4266(0x6,_0x20afdc[_0x1bfb44(0x272)](_0x20afdc['LocaleService']))],_0x475265);var _0x5975fa=Object[_0x1bfb44(0x3af)],_0x16b62e=(_0x3458b5,_0x418b05,_0x4a15b2,_0x142d5c)=>{const _0x7a1da1=_0x1bfb44;for(var _0x42a0d3=_0x142d5c>0x1?void 0x0:_0x142d5c?_0x5975fa(_0x418b05,_0x4a15b2):_0x418b05,_0x4e7896=_0x3458b5[_0x7a1da1(0x31e)]-0x1,_0x943907;_0x4e7896>=0x0;_0x4e7896--)(_0x943907=_0x3458b5[_0x4e7896])&&(_0x42a0d3=_0x943907(_0x42a0d3)||_0x42a0d3);return _0x42a0d3;},_0x49ebd9=(_0x3e2fe3,_0x519487)=>(_0x258fd2,_0x3ee307)=>_0x519487(_0x258fd2,_0x3ee307,_0x3e2fe3);let _0x4b4544=class extends _0x20afdc[_0x1bfb44(0x1ab)]{constructor(_0x4b2026,_0x296d89,_0x3ca479){const _0x3d9bf6=_0x1bfb44;super(),_0x46e3b1(this,'_cachedData',new Map()),_0x46e3b1(this,_0x3d9bf6(0x1df),new Map()),_0x46e3b1(this,_0x3d9bf6(0x170),!0x1),(this[_0x3d9bf6(0x288)]=_0x4b2026,this[_0x3d9bf6(0x226)]=_0x296d89,this[_0x3d9bf6(0x331)]=_0x3ca479);}[_0x1bfb44(0x142)](){const _0x377649=_0x1bfb44;this[_0x377649(0x170)]=!0x0;}[_0x1bfb44(0x235)](){const _0x356917=_0x1bfb44;this[_0x356917(0x170)]=!0x1;}get['saveTaskMap'](){const _0x6fa2d1=_0x1bfb44;return this[_0x6fa2d1(0x1df)];}['dispose'](){const _0x1afc50=_0x1bfb44;this[_0x1afc50(0x107)]()[_0x1afc50(0x383)](()=>super[_0x1afc50(0x201)]());}async[_0x1bfb44(0x2fb)](_0x110f5e){const _0x531662=_0x1bfb44;return this[_0x531662(0x170)]?null:this[_0x531662(0x226)][_0x531662(0x21a)](_0x24c19b[_0x531662(0x18a)](_0x110f5e));}async['saveOfflineData'](_0xa274c8,_0x42ccd6){const _0x1b123a=_0x1bfb44;return!!this['_localStorageService'][_0x1b123a(0x29b)](_0xa274c8,_0x42ccd6);}['updateOfflineData'](_0x202e86,_0x4f8a42,_0x46ea9f,_0x270884){const _0x435fd3=_0x1bfb44,_0x707fa8=this[_0x435fd3(0x331)][_0x435fd3(0x136)](_0x202e86);this[_0x435fd3(0x37c)]['set'](_0x202e86,{'unitID':_0x202e86,'type':_0x4f8a42,'awaitingChangeset':_0x46ea9f,'mutations':_0x270884,'rev':_0x707fa8}),this['_saveTaskMap']['has'](_0x202e86)||this[_0x435fd3(0x2f8)](_0x202e86);}['_scheduleSaving'](_0x7e368c){const _0x5ab97b=_0x1bfb44,_0x42f596=this['_getSaveTimeout']();_0x42f596===0x0?this[_0x5ab97b(0x1ff)](_0x7e368c):this['_saveTaskMap']['set'](_0x7e368c,setTimeout(()=>this['_saveCache'](_0x7e368c),_0x42f596));}[_0x1bfb44(0x2dd)](){const _0x5eb3e9=_0x1bfb44;var _0x84eb60;return(_0x84eb60=this[_0x5eb3e9(0x288)][_0x5eb3e9(0x2da)](_0x24c19b['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x84eb60:_0x24c19b['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0xd0457d){const _0x426ed2=_0x1bfb44,_0x1d5696=this[_0x426ed2(0x1df)][_0x426ed2(0x2e1)](_0xd0457d);return _0x1d5696!==void 0x0&&window['clearTimeout'](_0x1d5696),this[_0x426ed2(0x226)][_0x426ed2(0x29b)](_0x24c19b['getLocalCacheKey'](_0xd0457d),this['_cachedData'][_0x426ed2(0x2e1)](_0xd0457d))['then'](()=>this[_0x426ed2(0x1df)][_0x426ed2(0x181)](_0xd0457d));}async['exhaustSavingTask'](){const _0x1bc425=_0x1bfb44,_0x212db1=[];this[_0x1bc425(0x1df)][_0x1bc425(0x30f)]((_0x11309b,_0x4de096)=>{const _0x41b0a1=_0x1bc425;window['clearTimeout'](_0x11309b),_0x212db1[_0x41b0a1(0x211)](this[_0x41b0a1(0x1ff)](_0x4de096)[_0x41b0a1(0x383)](()=>{const _0x1465c6=_0x41b0a1;this[_0x1465c6(0x1df)][_0x1465c6(0x181)](_0x4de096);}));}),await Promise['all'](_0x212db1);}};_0x4b4544=_0x16b62e([_0x49ebd9(0x0,_0x20afdc[_0x1bfb44(0x344)]),_0x49ebd9(0x1,_0x20afdc[_0x1bfb44(0x216)]),_0x49ebd9(0x2,_0x20afdc[_0x1bfb44(0x272)](_0x5d9b62[_0x1bfb44(0x24a)]))],_0x4b4544);class _0x2cbf92 extends _0x20afdc['RxDisposable']{constructor(){const _0x5acc0c=_0x1bfb44;super(),_0x46e3b1(this,'urlChange$'),this['urlChange$']=_0x388e9f[_0x5acc0c(0x1ee)](window,_0x5acc0c(0x203))[_0x5acc0c(0xee)](_0x388e9f[_0x5acc0c(0x200)](this['dispose$']),_0x388e9f[_0x5acc0c(0x269)](0x1),_0x388e9f[_0x5acc0c(0x21d)](void 0x0));}[_0x1bfb44(0x313)](_0x339a0f,_0xc477bb,_0x532634=!0x1){const _0x2f9f20=_0x1bfb44,_0x373a2d=new URL(window[_0x2f9f20(0x398)][_0x2f9f20(0x10b)]);_0x373a2d[_0x2f9f20(0x35d)]['set'](_0x339a0f,_0xc477bb),_0x532634?window[_0x2f9f20(0x373)][_0x2f9f20(0x114)]('','',_0x373a2d[_0x2f9f20(0x2e0)]()):window[_0x2f9f20(0x373)][_0x2f9f20(0x212)]('','',_0x373a2d[_0x2f9f20(0x2e0)]());}[_0x1bfb44(0x256)](_0xad2d79,_0xe8914e=!0x1){const _0x3e9b9f=_0x1bfb44,_0x1bf492=new URL(window[_0x3e9b9f(0x398)][_0x3e9b9f(0x10b)]);_0x1bf492[_0x3e9b9f(0x35d)]['delete'](_0xad2d79),_0xe8914e?window[_0x3e9b9f(0x373)]['replaceState']('','',_0x1bf492[_0x3e9b9f(0x2e0)]()):window[_0x3e9b9f(0x373)][_0x3e9b9f(0x212)]('','',_0x1bf492[_0x3e9b9f(0x2e0)]());}['getParam'](_0x3f9d5f){const _0x4f3656=_0x1bfb44;var _0x3db832;return(_0x3db832=new URL(window[_0x4f3656(0x398)][_0x4f3656(0x10b)])[_0x4f3656(0x35d)][_0x4f3656(0x2e1)](_0x3f9d5f))!=null?_0x3db832:void 0x0;}}var _0x5152c2=Object[_0x1bfb44(0x38b)],_0x2b16f7=Object[_0x1bfb44(0x3af)],_0x3a65ce=(_0x50bf30,_0x364cae,_0x4c4f45)=>_0x364cae in _0x50bf30?_0x5152c2(_0x50bf30,_0x364cae,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4c4f45}):_0x50bf30[_0x364cae]=_0x4c4f45,_0x9a3c67=(_0x5001ce,_0x36c71d,_0x4125e4,_0x28558d)=>{const _0x317ba5=_0x1bfb44;for(var _0x23a500=_0x28558d>0x1?void 0x0:_0x28558d?_0x2b16f7(_0x36c71d,_0x4125e4):_0x36c71d,_0x55027a=_0x5001ce[_0x317ba5(0x31e)]-0x1,_0x2096b5;_0x55027a>=0x0;_0x55027a--)(_0x2096b5=_0x5001ce[_0x55027a])&&(_0x23a500=_0x2096b5(_0x23a500)||_0x23a500);return _0x23a500;},_0x4f20c7=(_0x359722,_0x2e808d)=>(_0x4c16d2,_0x1c2b52)=>_0x2e808d(_0x4c16d2,_0x1c2b52,_0x359722),_0x3b367f=(_0x3dff46,_0x28eb93,_0x970eda)=>_0x3a65ce(_0x3dff46,_0x28eb93+'',_0x970eda);const _0x1524eb='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x1e0a34[_0x1bfb44(0x176)]=class extends _0x20afdc['Plugin']{constructor(_0x3337ff=_0x276987,_0x46ed0d,_0x2a0d90,_0x53f429){const _0x3cceae=_0x1bfb44;super(),this[_0x3cceae(0x302)]=_0x3337ff,this[_0x3cceae(0x145)]=_0x46ed0d,this[_0x3cceae(0x319)]=_0x2a0d90,this[_0x3cceae(0x288)]=_0x53f429;const {..._0x3051cb}=_0x20afdc['merge']({},_0x276987,this[_0x3cceae(0x302)]);this['_configService'][_0x3cceae(0x15d)](_0x5db899,_0x3051cb);}[_0x1bfb44(0x2ad)](){const _0x2981bf=_0x1bfb44;this[_0x2981bf(0x182)](),this['_initDependencies']();}[_0x1bfb44(0x365)](){const _0x40b7d0=_0x1bfb44;this[_0x40b7d0(0x369)]();}[_0x1bfb44(0x182)](){const _0x52e6de=_0x1bfb44;var _0x2240d5;const _0x4811a9=[[_0x16366d],[_0x475265],[_0x34b5db],[_0x2cf8cc],[_0x4c9bc9],[_0x2a0bd],[_0x562000,{'useClass':_0x2cbf92}],[_0x12e6c2[_0x52e6de(0x2e4)],{'useClass':_0x12e6c2[_0x52e6de(0x315)]}],[_0x24c19b[_0x52e6de(0x146)],{'useClass':_0x4b4544}],[_0x1e0a34[_0x52e6de(0x278)]],[_0x403fb4],[_0x2037e7],[_0x43654b],[_0xdd87ee],[_0x1e0a34[_0x52e6de(0x104)]]];_0x20afdc['registerDependencies'](this[_0x52e6de(0x319)],_0x20afdc[_0x52e6de(0x337)](_0x4811a9,(_0x2240d5=this['_config'])==null?void 0x0:_0x2240d5[_0x52e6de(0x303)]));}[_0x1bfb44(0x369)](){const _0x1b0f54=_0x1bfb44;this[_0x1b0f54(0x37d)](this['_renderManagerService']['registerRenderModule'](_0x20afdc[_0x1b0f54(0x3b5)]['UNIVER_DOC'],[_0x568f40])),this[_0x1b0f54(0x37d)](this['_renderManagerService'][_0x1b0f54(0x17c)](_0x20afdc[_0x1b0f54(0x3b5)]['UNIVER_SHEET'],[_0x35edad]));}[_0x1bfb44(0x135)](){const _0xa7e220=_0x1bfb44;_0x20afdc[_0xa7e220(0x33b)](this['_injector'],[[_0x43654b],[_0x1e0a34['DesktopCollaborationStatusDisplayController']],[_0x403fb4],[_0x2037e7],[_0x1e0a34[_0xa7e220(0x104)]],[_0x475265]]);}},_0x3b367f(_0x1e0a34[_0x1bfb44(0x176)],'pluginName',_0x1524eb),_0x1e0a34[_0x1bfb44(0x176)]=_0x9a3c67([_0x20afdc[_0x1bfb44(0x2b2)](_0x24c19b['UniverCollaborationClientPlugin']),_0x4f20c7(0x1,_0x314741[_0x1bfb44(0xfd)]),_0x4f20c7(0x2,_0x20afdc[_0x1bfb44(0x272)](_0x20afdc['Injector'])),_0x4f20c7(0x3,_0x20afdc['IConfigService'])],_0x1e0a34[_0x1bfb44(0x176)]);var _0x26e098=Object[_0x1bfb44(0x3af)],_0x43f8a7=(_0x3ac881,_0x4fde2b,_0x3baa5e,_0x3bd24e)=>{for(var _0x1b02ac=_0x3bd24e>0x1?void 0x0:_0x3bd24e?_0x26e098(_0x4fde2b,_0x3baa5e):_0x4fde2b,_0x3b5496=_0x3ac881['length']-0x1,_0x4d134e;_0x3b5496>=0x0;_0x3b5496--)(_0x4d134e=_0x3ac881[_0x3b5496])&&(_0x1b02ac=_0x4d134e(_0x1b02ac)||_0x1b02ac);return _0x1b02ac;},_0x2d9cbc=(_0x2b024b,_0x5952b8)=>(_0x440915,_0x92c035)=>_0x5952b8(_0x440915,_0x92c035,_0x2b024b);_0x1e0a34[_0x1bfb44(0x1ce)]=class extends _0x24c19b[_0x1bfb44(0x1c0)]{constructor(_0x3aa151,_0x1954af,_0x3344d2,_0x353b59,_0x55830a){super(_0x3aa151,_0x1954af,_0x3344d2,_0x353b59,_0x55830a);}async[_0x1bfb44(0x27b)](_0x288fed){const _0x608f2f=_0x1bfb44,_0x28bce7=await this['_getSessionTicket'](),_0x21ea2d=this[_0x608f2f(0x2d6)](_0x288fed,_0x28bce7);return this['_doCreateSocket'](_0x21ea2d);}[_0x1bfb44(0x2d6)](_0x5b915b,_0x3184eb){const _0x49e7fc=_0x1bfb44,_0x57ceb3=typeof window>'u'?new URL(_0x5b915b):new URL(_0x5b915b,window[_0x49e7fc(0x398)][_0x49e7fc(0x2be)]);_0x57ceb3[_0x49e7fc(0x35d)][_0x49e7fc(0x165)](_0x49e7fc(0x28e),_0x3184eb);const _0x5069c5=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x49e7fc(0x398)]['search']);return _0x5069c5[_0x49e7fc(0x2e1)]('runId')&&_0x57ceb3[_0x49e7fc(0x35d)][_0x49e7fc(0x165)]('runId',_0x5069c5[_0x49e7fc(0x2e1)](_0x49e7fc(0x3bc))),_0x57ceb3['toString']();}async[_0x1bfb44(0x2f4)](){const _0x1a2c9f=_0x1bfb44;var _0x129ad7,_0x399b31,_0x27021b;const _0x53d9e9=this[_0x1a2c9f(0x288)]['getConfig'](_0x24c19b[_0x1a2c9f(0x268)]),_0x192cf8=(_0x129ad7=_0x53d9e9==null?void 0x0:_0x53d9e9['wsSessionTicketUrl'])!=null?_0x129ad7:_0x24c19b[_0x1a2c9f(0x18c)];return(_0x27021b=(_0x399b31=(await this[_0x1a2c9f(0x301)]['get'](_0x192cf8,{'headers':{'Content-Type':_0x1a2c9f(0x241)}}))[_0x1a2c9f(0x2c9)])==null?void 0x0:_0x399b31['ticket'])!=null?_0x27021b:'';}},_0x1e0a34[_0x1bfb44(0x1ce)]=_0x43f8a7([_0x2d9cbc(0x0,_0x20afdc['Inject'](_0x20afdc[_0x1bfb44(0x24c)])),_0x2d9cbc(0x1,_0x20afdc[_0x1bfb44(0x272)](_0x12e6c2['HTTPService'])),_0x2d9cbc(0x2,_0x20afdc[_0x1bfb44(0x344)]),_0x2d9cbc(0x3,_0x20afdc['ILogService']),_0x2d9cbc(0x4,_0x5d9b62[_0x1bfb44(0x2e2)])],_0x1e0a34[_0x1bfb44(0x1ce)]);var _0x46911a=Object[_0x1bfb44(0x3af)],_0x533ec8=(_0x5b5f21,_0x3b5136,_0x14f461,_0x139441)=>{const _0x1ec924=_0x1bfb44;for(var _0x24f1f8=_0x139441>0x1?void 0x0:_0x139441?_0x46911a(_0x3b5136,_0x14f461):_0x3b5136,_0x16a64a=_0x5b5f21[_0x1ec924(0x31e)]-0x1,_0x6e4f23;_0x16a64a>=0x0;_0x16a64a--)(_0x6e4f23=_0x5b5f21[_0x16a64a])&&(_0x24f1f8=_0x6e4f23(_0x24f1f8)||_0x24f1f8);return _0x24f1f8;},_0x13b1fa=(_0x12ad88,_0x2e31e7)=>(_0x53adbe,_0x5d3132)=>_0x2e31e7(_0x53adbe,_0x5d3132,_0x12ad88);_0x1e0a34[_0x1bfb44(0x360)]=class extends _0x20afdc[_0x1bfb44(0x1ab)]{constructor(_0x5358b7,_0x1115a9,_0x1196c9){const _0xe521ad=_0x1bfb44;super(),this[_0xe521ad(0x265)]=_0x5358b7,this[_0xe521ad(0x301)]=_0x1115a9,this[_0xe521ad(0x288)]=_0x1196c9;}async[_0x1bfb44(0x19f)](_0x2d1b73,_0x107619,_0x206390,..._0x5c920e){const _0x533146=_0x1bfb44;var _0x13d323,_0x6bfdc8,_0x180956,_0x416913;const _0x18bed9=this[_0x533146(0x265)][_0x533146(0x339)]();if(!_0x18bed9)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x3ef3bd=((_0x13d323=this['_configService']['getConfig'](_0x24c19b[_0x533146(0x12b)]))!=null?_0x13d323:_0x24c19b['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x2d1b73+'/run/'+_0x107619,_0x2841f2=new URL(window[_0x533146(0x398)]['href']),_0x52f769={'scriptId':_0x2d1b73,'runId':(_0x6bfdc8=_0x2841f2[_0x533146(0x35d)][_0x533146(0x2e1)]('runId'))!=null?_0x6bfdc8:'','function':_0x107619,'unitId':_0x18bed9[_0x533146(0x2d4)](),'argsOfFunction':JSON[_0x533146(0x32d)](_0x5c920e),'invokeId':(_0x180956=_0x206390['invokeId'])!=null?_0x180956:'','executionId':(_0x416913=_0x206390['executionId'])!=null?_0x416913:''};try{const _0x17f941=await this[_0x533146(0x301)]['post'](_0x3ef3bd,{'body':_0x52f769});return _0x17f941[_0x533146(0x2c9)][_0x533146(0x1ac)]&&_0x17f941[_0x533146(0x2c9)][_0x533146(0x1ac)][_0x533146(0x173)]!==_0x18e87c['OK']?'Failed':_0x17f941[_0x533146(0x2c9)]['result'];}catch{return _0x533146(0x387);}}},_0x1e0a34['RemoteUniscriptService']=_0x533ec8([_0x13b1fa(0x0,_0x20afdc['IUniverInstanceService']),_0x13b1fa(0x1,_0x20afdc['Inject'](_0x12e6c2[_0x1bfb44(0x1cd)])),_0x13b1fa(0x2,_0x20afdc[_0x1bfb44(0x344)])],_0x1e0a34[_0x1bfb44(0x360)]);const _0x2ba88d=0x7530,_0x3538da=_0x1bfb44(0x193);class _0x140673 extends _0x20afdc[_0x1bfb44(0x1ab)]{constructor(){const _0x59a55a=_0x1bfb44;super(),_0x46e3b1(this,_0x59a55a(0x21f),_0x20afdc[_0x59a55a(0x37e)]()),_0x46e3b1(this,_0x59a55a(0x371),new Set()),_0x46e3b1(this,_0x59a55a(0x144),new Map()),_0x46e3b1(this,'_heartbeatTimer',null),_0x46e3b1(this,'_clearOtherTimers',new Map()),_0x46e3b1(this,_0x59a55a(0x31f),new Map()),this[_0x59a55a(0x357)]();}[_0x1bfb44(0x201)](){const _0x636ccd=_0x1bfb44;super[_0x636ccd(0x201)](),this[_0x636ccd(0x1a9)][_0x636ccd(0x30f)]((_0x44eb3d,_0x5563bc)=>this['_removeClearOtherTimer'](_0x5563bc)),this['_heartbeatTimer']&&window[_0x636ccd(0x234)](this[_0x636ccd(0x262)]);}['getUnitStatus$'](_0x56da1b){const _0x5491ba=_0x1bfb44;return this[_0x5491ba(0x1e2)](_0x56da1b)[_0x5491ba(0xee)](_0x388e9f[_0x5491ba(0x139)]());}['editingUnit'](_0x3ccc70){const _0x453cf8=_0x1bfb44;this[_0x453cf8(0x371)][_0x453cf8(0x125)]===0x0&&this[_0x453cf8(0x34e)](),this[_0x453cf8(0x371)][_0x453cf8(0x1dd)](_0x3ccc70),this[_0x453cf8(0x16e)]({'type':0x0,'memberID':this[_0x453cf8(0x21f)],'unitIDs':[_0x3ccc70],'isForwarded':!0x1});}[_0x1bfb44(0x261)](_0x1eb6e8){const _0x2d9937=_0x1bfb44;this[_0x2d9937(0x371)][_0x2d9937(0x181)](_0x1eb6e8),this[_0x2d9937(0x371)][_0x2d9937(0x125)]===0x0&&this[_0x2d9937(0x262)]&&window[_0x2d9937(0x234)](this['_heartbeatTimer']);}[_0x1bfb44(0x357)](){const _0x1e6ca3=_0x1bfb44;this['disposeWithMe'](_0x20afdc['toDisposable'](_0x388e9f['fromEvent'](window,_0x1e6ca3(0x38d))[_0x1e6ca3(0x26f)](_0x6bd8e3=>{const _0x51efe2=_0x1e6ca3;if(_0x6bd8e3[_0x51efe2(0x16d)]!==_0x3538da||!_0x6bd8e3['newValue'])return;const _0x4665c5=JSON[_0x51efe2(0x37b)](_0x6bd8e3[_0x51efe2(0x33e)]);this[_0x51efe2(0x279)](_0x4665c5);}))),window[_0x1e6ca3(0x13f)](_0x1e6ca3(0x33a),()=>this['_send']({'type':0x1,'memberID':this[_0x1e6ca3(0x21f)],'unitIDs':Array[_0x1e6ca3(0x392)](this[_0x1e6ca3(0x371)])}));}[_0x1bfb44(0x279)](_0x466d3c){const _0x2a4423=_0x1bfb44;switch(_0x466d3c[_0x2a4423(0x298)]){case 0x0:this[_0x2a4423(0x199)](_0x466d3c);break;case 0x1:this[_0x2a4423(0x327)](_0x466d3c);break;case 0x2:this[_0x2a4423(0x134)](_0x466d3c);break;}}['_handleJoinEvent'](_0x1951f7){const _0x53cd82=_0x1bfb44,{unitIDs:_0x360c9c,memberID:_0x2ca68d,isForwarded:_0xca59cb}=_0x1951f7;_0x360c9c[_0x53cd82(0x30f)](_0x1c284e=>{const _0x5bbff8=_0x53cd82;if(!_0xca59cb&&this[_0x5bbff8(0x144)][_0x5bbff8(0x293)](_0x1c284e)&&this[_0x5bbff8(0x1e2)](_0x1c284e)[_0x5bbff8(0x264)](_0x24c19b[_0x5bbff8(0x29d)][_0x5bbff8(0x285)]),!this['_unitOnClients'][_0x5bbff8(0x293)](_0x1c284e)||!this['_unitOnClients'][_0x5bbff8(0x2e1)](_0x1c284e)[_0x5bbff8(0x293)](_0x2ca68d)){const _0x1b3a43=this[_0x5bbff8(0x144)][_0x5bbff8(0x2e1)](_0x1c284e)||new Set();_0x1b3a43['add'](_0x2ca68d),this[_0x5bbff8(0x144)][_0x5bbff8(0x165)](_0x1c284e,_0x1b3a43),this['_scheduleClearOtherTimer'](_0x2ca68d);}}),_0xca59cb||this[_0x53cd82(0x16e)]({'type':0x0,'memberID':this[_0x53cd82(0x21f)],'unitIDs':[...this[_0x53cd82(0x371)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x1d3600){const _0x5d47fe=_0x1bfb44;this[_0x5d47fe(0x14a)](_0x1d3600);const _0x5caa86=window[_0x5d47fe(0x3a7)](()=>{const _0x5ba827=_0x5d47fe;this[_0x5ba827(0x144)][_0x5ba827(0x30f)](_0x1b53e8=>{_0x1b53e8['delete'](_0x1d3600);});},_0x2ba88d*0x2);this[_0x5d47fe(0x1a9)][_0x5d47fe(0x165)](_0x1d3600,_0x5caa86);}[_0x1bfb44(0x14a)](_0x56fd7d){const _0x1d7442=_0x1bfb44;if(this[_0x1d7442(0x1a9)][_0x1d7442(0x293)](_0x56fd7d)){const _0x100341=this[_0x1d7442(0x1a9)]['get'](_0x56fd7d);_0x100341&&window[_0x1d7442(0xf3)](_0x100341),this[_0x1d7442(0x1a9)][_0x1d7442(0x165)](_0x56fd7d,null);}}[_0x1bfb44(0x327)](_0x4f8dc7){const _0x3467d3=_0x1bfb44,{memberID:_0x2a61a1,unitIDs:_0x515b3a}=_0x4f8dc7;_0x515b3a[_0x3467d3(0x30f)](_0x163cd4=>{const _0x4a5fac=_0x3467d3;var _0x44d5da;const _0x4c7e83=this[_0x4a5fac(0x144)][_0x4a5fac(0x2e1)](_0x163cd4);_0x4c7e83&&(_0x4c7e83[_0x4a5fac(0x181)](_0x2a61a1),(_0x44d5da=this[_0x4a5fac(0x1e2)](_0x163cd4))==null||_0x44d5da[_0x4a5fac(0x264)](_0x4c7e83[_0x4a5fac(0x125)]===0x0?_0x24c19b['UnitStatus'][_0x4a5fac(0x263)]:_0x24c19b['UnitStatus'][_0x4a5fac(0x285)]));}),this[_0x3467d3(0x14a)](_0x2a61a1);}[_0x1bfb44(0x134)](_0x2a30e6){const _0x49d56b=_0x1bfb44;this[_0x49d56b(0x11e)](_0x2a30e6[_0x49d56b(0x196)]);}[_0x1bfb44(0x16e)](_0xedac9c){const _0xfff886=_0x1bfb44;localStorage['setItem'](_0x3538da,JSON[_0xfff886(0x32d)](_0xedac9c));}[_0x1bfb44(0x34e)](){const _0x8abf17=_0x1bfb44;this[_0x8abf17(0x262)]=window['setInterval'](()=>{const _0x114706=_0x8abf17;this[_0x114706(0x16e)]({'type':0x2,'memberID':this['_id']});},_0x2ba88d);}[_0x1bfb44(0x1e2)](_0x51aa8f){const _0x203cb6=_0x1bfb44;return this[_0x203cb6(0x31f)][_0x203cb6(0x293)](_0x51aa8f)||this[_0x203cb6(0x31f)][_0x203cb6(0x165)](_0x51aa8f,new _0x388e9f[(_0x203cb6(0x1ca))](_0x24c19b[_0x203cb6(0x29d)][_0x203cb6(0x263)])),this[_0x203cb6(0x31f)][_0x203cb6(0x2e1)](_0x51aa8f);}}_0x1e0a34[_0x1bfb44(0x372)]=_0x562000,_0x1e0a34['SheetCollabCursorShape']=_0x240cae,_0x1e0a34[_0x1bfb44(0x294)]=_0x140673,_0x1e0a34[_0x1bfb44(0xed)]=_0x2cbf92,Object[_0x1bfb44(0x38b)](_0x1e0a34,Symbol[_0x1bfb44(0x271)],{'value':_0x1bfb44(0x343)});}));
|
|
1
|
+
function _0x153f(_0x29d622,_0x5ae453){const _0x2c9c9e=_0x2c9c();return _0x153f=function(_0x153f1b,_0x6f9d8a){_0x153f1b=_0x153f1b-0xfc;let _0x1fc7ab=_0x2c9c9e[_0x153f1b];return _0x1fc7ab;},_0x153f(_0x29d622,_0x5ae453);}(function(_0x20a505,_0x142e0a){const _0x1a9ce0=_0x153f,_0x9cb48d=_0x20a505();while(!![]){try{const _0x2fb6a4=parseInt(_0x1a9ce0(0x391))/0x1+parseInt(_0x1a9ce0(0x29d))/0x2+-parseInt(_0x1a9ce0(0x278))/0x3*(parseInt(_0x1a9ce0(0x38d))/0x4)+-parseInt(_0x1a9ce0(0x191))/0x5*(-parseInt(_0x1a9ce0(0x120))/0x6)+parseInt(_0x1a9ce0(0x1a7))/0x7*(parseInt(_0x1a9ce0(0x256))/0x8)+-parseInt(_0x1a9ce0(0x1ba))/0x9+-parseInt(_0x1a9ce0(0x20d))/0xa;if(_0x2fb6a4===_0x142e0a)break;else _0x9cb48d['push'](_0x9cb48d['shift']());}catch(_0x504ce6){_0x9cb48d['push'](_0x9cb48d['shift']());}}}(_0x2c9c,0x261cb),function(_0x3af378,_0x8c7a7d){const _0x387245=_0x153f;typeof exports=='object'&&typeof module<'u'?_0x8c7a7d(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=='function'&&define[_0x387245(0x270)]?define([_0x387245(0x230),'react/jsx-runtime','@univerjs-pro/collaboration-client',_0x387245(0x15f),'@univerjs/ui',_0x387245(0x209),_0x387245(0x1b8),_0x387245(0x36a),'@univerjs/rpc','@univerjs/sheets',_0x387245(0x361),_0x387245(0x2bc),_0x387245(0x102),_0x387245(0x1a8),_0x387245(0x106),'@univerjs/docs',_0x387245(0x2a7),_0x387245(0x28f),_0x387245(0x1b3)],_0x8c7a7d):(_0x3af378=typeof globalThis<'u'?globalThis:_0x3af378||self,_0x8c7a7d(_0x3af378[_0x387245(0x195)]={},_0x3af378[_0x387245(0x212)],_0x3af378['UniverProCollaborationClient'],_0x3af378[_0x387245(0x328)],_0x3af378[_0x387245(0x12f)],_0x3af378[_0x387245(0x209)],_0x3af378[_0x387245(0x38b)],_0x3af378['React'],_0x3af378['UniverRpc'],_0x3af378[_0x387245(0x1f3)],_0x3af378['UniverEngineRender'],_0x3af378[_0x387245(0x3b1)],_0x3af378['UniverDocsUi'],_0x3af378['UniverDrawing'],_0x3af378[_0x387245(0x1e8)],_0x3af378[_0x387245(0x368)],_0x3af378['UniverEngineFormula'],_0x3af378[_0x387245(0x209)][_0x387245(0x37f)],_0x3af378[_0x387245(0x390)]));}(this,function(_0x3b6773,_0x5016f0,_0x191332,_0x4680af,_0x38a45b,_0x172b9a,_0x42eb8c,_0x53129e,_0x5b2373,_0x200ea9,_0x3d68e7,_0xb226e0,_0x55f3bb,_0x4cd6cc,_0x680f14,_0x4f8be8,_0x244a11,_0x353212,_0x3489ca){'use strict';const _0x40fc9b=_0x153f;var _0x2ea27f=Object[_0x40fc9b(0x37e)],_0x431ed5=(_0x2f96c8,_0x4f506f,_0x5dadf0)=>_0x4f506f in _0x2f96c8?_0x2ea27f(_0x2f96c8,_0x4f506f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5dadf0}):_0x2f96c8[_0x4f506f]=_0x5dadf0,_0x166045=(_0x38a44b,_0x5e7f7e,_0x5c44be)=>_0x431ed5(_0x38a44b,typeof _0x5e7f7e!=_0x40fc9b(0x19f)?_0x5e7f7e+'':_0x5e7f7e,_0x5c44be);function _0x1416b4({ref:_0x3ea4d1,..._0x261d09}){const _0x4c48b9=_0x40fc9b,{icon:_0x408f86,id:_0x2e654b,className:_0x261302,extend:_0xc95841,..._0x19dc29}=_0x261d09,_0x1d62ef=(_0x4c48b9(0x384)+_0x2e654b+'\x20'+(_0x261302||''))['trim'](),_0x25a1d9=_0x53129e[_0x4c48b9(0x360)]('_'+_0x4b769f());return _0x366038(_0x408f86,''+_0x2e654b,{'defIds':_0x408f86['defIds'],'idSuffix':_0x25a1d9['current']},{'ref':_0x3ea4d1,'className':_0x1d62ef,..._0x19dc29},_0xc95841);}function _0x366038(_0x10dfb5,_0x249d18,_0x155376,_0x5e58e1,_0x451776){const _0x14c36e=_0x40fc9b;return _0x53129e['createElement'](_0x10dfb5[_0x14c36e(0x365)],{'key':_0x249d18,..._0x43771a(_0x10dfb5,_0x155376,_0x451776),..._0x5e58e1},(_0x32443a(_0x10dfb5,_0x155376)[_0x14c36e(0x2b7)]||[])[_0x14c36e(0x1bc)]((_0x290ec1,_0x2a371e)=>_0x366038(_0x290ec1,_0x249d18+'-'+_0x10dfb5[_0x14c36e(0x365)]+'-'+_0x2a371e,_0x155376,void 0x0,_0x451776)));}function _0x43771a(_0x3f8dc1,_0x35d772,_0x308f3e){const _0x28c5a1=_0x40fc9b,_0x329d29={..._0x3f8dc1['attrs']};_0x308f3e!=null&&_0x308f3e[_0x28c5a1(0x353)]&&_0x329d29[_0x28c5a1(0x3ad)]==='colorChannel1'&&(_0x329d29[_0x28c5a1(0x3ad)]=_0x308f3e['colorChannel1']),_0x3f8dc1[_0x28c5a1(0x365)]===_0x28c5a1(0x159)&&_0x329d29['id']&&(_0x329d29['id']=_0x329d29['id']+_0x35d772[_0x28c5a1(0x240)]),Object[_0x28c5a1(0x26b)](_0x329d29)[_0x28c5a1(0x1a5)](([_0x3d3caa,_0x3aea1d])=>{const _0x4a5c1a=_0x28c5a1;_0x3d3caa==='mask'&&typeof _0x3aea1d==_0x4a5c1a(0x13b)&&(_0x329d29[_0x3d3caa]=_0x3aea1d['replace'](/url\(#(.*)\)/,_0x4a5c1a(0x163)+_0x35d772['idSuffix']+')'));});const {defIds:_0x2b3938}=_0x35d772;return!_0x2b3938||_0x2b3938['length']===0x0||(_0x3f8dc1[_0x28c5a1(0x365)]===_0x28c5a1(0x236)&&_0x329d29[_0x28c5a1(0x396)]&&(_0x329d29['xlink:href']=_0x329d29[_0x28c5a1(0x396)]+_0x35d772[_0x28c5a1(0x240)]),Object[_0x28c5a1(0x26b)](_0x329d29)[_0x28c5a1(0x1a5)](([_0x5b3543,_0x4835e3])=>{const _0x4c951d=_0x28c5a1;typeof _0x4835e3==_0x4c951d(0x13b)&&(_0x329d29[_0x5b3543]=_0x4835e3[_0x4c951d(0x389)](/url\(#(.*)\)/,'url(#$1'+_0x35d772[_0x4c951d(0x240)]+')'));})),_0x329d29;}function _0x32443a(_0x4d13b1,_0x448118){const _0x126c62=_0x40fc9b;var _0x3d630a;const {defIds:_0x55a05e}=_0x448118;return!_0x55a05e||_0x55a05e[_0x126c62(0x35c)]===0x0?_0x4d13b1:_0x4d13b1[_0x126c62(0x365)]===_0x126c62(0x188)&&((_0x3d630a=_0x4d13b1[_0x126c62(0x2b7)])!=null&&_0x3d630a[_0x126c62(0x35c)])?{..._0x4d13b1,'children':_0x4d13b1[_0x126c62(0x2b7)][_0x126c62(0x1bc)](_0x16247d=>typeof _0x16247d['attrs']['id']==_0x126c62(0x13b)&&_0x55a05e&&_0x55a05e[_0x126c62(0x34c)](_0x16247d[_0x126c62(0x343)]['id'])?{..._0x16247d,'attrs':{..._0x16247d[_0x126c62(0x343)],'id':_0x16247d['attrs']['id']+_0x448118[_0x126c62(0x240)]}}:_0x16247d)}:_0x4d13b1;}function _0x4b769f(){const _0x25f1de=_0x40fc9b;return Math[_0x25f1de(0x2b9)]()['toString'](0x24)['substring'](0x2,0x8);}_0x1416b4[_0x40fc9b(0x194)]='UniverIcon';const _0xb148d0={'tag':_0x40fc9b(0x262),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x40fc9b(0x175),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x40fc9b(0x2cc)},'children':[{'tag':'g','attrs':{'clipPath':_0x40fc9b(0x23e)},'children':[{'tag':_0x40fc9b(0x16c),'attrs':{'stroke':_0x40fc9b(0x10b),'d':_0x40fc9b(0x344),'strokeLinecap':_0x40fc9b(0x145),'strokeLinejoin':_0x40fc9b(0x145),'strokeWidth':1.2}}]},{'tag':_0x40fc9b(0x188),'attrs':{},'children':[{'tag':_0x40fc9b(0x245),'attrs':{'id':_0x40fc9b(0x2ae)},'children':[{'tag':_0x40fc9b(0x16c),'attrs':{'fill':_0x40fc9b(0x2a6),'d':_0x40fc9b(0x34a)}}]}]}],'defIds':[_0x40fc9b(0x2ae)]},_0xf4419=_0x53129e[_0x40fc9b(0x147)](function(_0x16a832,_0xb96991){const _0x121cfc=_0x40fc9b;return _0x53129e['createElement'](_0x1416b4,Object[_0x121cfc(0xfe)]({},_0x16a832,{'id':_0x121cfc(0x249),'ref':_0xb96991,'icon':_0xb148d0}));});_0xf4419[_0x40fc9b(0x194)]=_0x40fc9b(0x3a2);const _0x3fde85={'tag':_0x40fc9b(0x262),'attrs':{'xmlns':_0x40fc9b(0x1ac),'fill':_0x40fc9b(0x175),'viewBox':'0\x200\x2017\x2016','width':_0x40fc9b(0x2cc),'height':_0x40fc9b(0x2cc)},'children':[{'tag':'g','attrs':{'clipPath':_0x40fc9b(0x320)},'children':[{'tag':_0x40fc9b(0x16c),'attrs':{'stroke':_0x40fc9b(0x10b),'d':_0x40fc9b(0x132),'strokeLinecap':_0x40fc9b(0x145),'strokeLinejoin':_0x40fc9b(0x145),'strokeWidth':1.2}}]},{'tag':_0x40fc9b(0x188),'attrs':{},'children':[{'tag':_0x40fc9b(0x245),'attrs':{'id':_0x40fc9b(0x301)},'children':[{'tag':_0x40fc9b(0x16c),'attrs':{'fill':'white','d':_0x40fc9b(0x34a),'transform':_0x40fc9b(0x394)}}]}]}],'defIds':[_0x40fc9b(0x301)]},_0x318d94=_0x53129e['forwardRef'](function(_0x1ab3a4,_0x5ede7f){const _0x3df843=_0x40fc9b;return _0x53129e['createElement'](_0x1416b4,Object[_0x3df843(0xfe)]({},_0x1ab3a4,{'id':_0x3df843(0x380),'ref':_0x5ede7f,'icon':_0x3fde85}));});_0x318d94[_0x40fc9b(0x194)]='OnLineIcon';function _0x551b81(_0x3166a5){const _0x33283f=_0x40fc9b;switch(_0x3166a5){case _0x191332[_0x33283f(0x303)]['OFFLINE']:return'collabStatus.offline';case _0x191332['CollaborationStatus'][_0x33283f(0x2e7)]:return _0x33283f(0x21a);case _0x191332[_0x33283f(0x303)]['FETCH_MISS']:return _0x33283f(0x1c8);case _0x191332[_0x33283f(0x303)][_0x33283f(0x1fc)]:return'collabStatus.notCollab';case _0x191332[_0x33283f(0x303)][_0x33283f(0x2a3)]:case _0x191332[_0x33283f(0x303)][_0x33283f(0x285)]:return'collabStatus.syncing';case _0x191332[_0x33283f(0x303)][_0x33283f(0x2fe)]:case _0x191332['CollaborationStatus'][_0x33283f(0x2f7)]:return _0x33283f(0x1f5);}}function _0x40d264(_0x2f6595){const _0x515bb7=_0x40fc9b,{status$:_0xa16f39}=_0x2f6595,_0x2e312c=_0x38a45b[_0x515bb7(0x12a)](_0xa16f39,_0x191332[_0x515bb7(0x303)][_0x515bb7(0x1fc)]),_0x4001bc=_0x38a45b[_0x515bb7(0x37c)](_0x4680af[_0x515bb7(0x2ec)]),_0x39f1f5=_0x38a45b[_0x515bb7(0x37c)](_0x191332[_0x515bb7(0x3b2)]),_0xdd9b57=_0x2e312c!==_0x191332[_0x515bb7(0x303)][_0x515bb7(0x383)],_0x4101f6=_0x4001bc['t'](_0x551b81(_0x2e312c)),_0x3fee21=_0xdd9b57?_0x5016f0['jsx'](_0x318d94,{}):_0x5016f0[_0x515bb7(0x215)](_0xf4419,{}),_0x229f78=_0x53129e[_0x515bb7(0x192)](()=>{const _0x1ce378=_0x515bb7;_0xdd9b57||_0x39f1f5[_0x1ce378(0x1b0)]();},[_0xdd9b57,_0x39f1f5]);function _0x7bf6c(){const _0x53c44b=_0x515bb7;return _0x5016f0['jsxs'](_0x53c44b(0x17c),{'className':'univer-flex\x20univer-items-center','onClick':_0x229f78,'children':[_0x5016f0[_0x53c44b(0x215)]('div',{'className':_0x42eb8c[_0x53c44b(0x18e)](_0x53c44b(0x114),{'univer-text-green-500':_0xdd9b57,'univer-text-red-500':!_0xdd9b57}),'children':_0x3fee21}),_0x5016f0[_0x53c44b(0x215)](_0x53c44b(0x17c),{'className':_0x53c44b(0x33a),'children':_0x4101f6})]});}return _0xdd9b57?_0x7bf6c():_0x5016f0[_0x515bb7(0x215)](_0x42eb8c[_0x515bb7(0x1ce)],{'title':_0x4001bc['t'](_0x515bb7(0x294)),'children':_0x7bf6c()});}var _0x2986b7=Object[_0x40fc9b(0x251)],_0x28973c=(_0x55c4a6,_0x4a72d3,_0xeff865,_0x1e0f8f)=>{const _0x468132=_0x40fc9b;for(var _0x44f786=_0x1e0f8f>0x1?void 0x0:_0x1e0f8f?_0x2986b7(_0x4a72d3,_0xeff865):_0x4a72d3,_0x4f0e73=_0x55c4a6[_0x468132(0x35c)]-0x1,_0x575617;_0x4f0e73>=0x0;_0x4f0e73--)(_0x575617=_0x55c4a6[_0x4f0e73])&&(_0x44f786=_0x575617(_0x44f786)||_0x44f786);return _0x44f786;},_0x159a1d=(_0x373b80,_0x361a63)=>(_0x4eddf5,_0x37ac14)=>_0x361a63(_0x4eddf5,_0x37ac14,_0x373b80);_0x3b6773[_0x40fc9b(0x24b)]=class extends _0x4680af['Disposable']{constructor(_0x3a8341,_0x4a5734,_0x3295e6,_0x149173){const _0x5e5e52=_0x40fc9b;super(),_0x166045(this,_0x5e5e52(0x2b8),new _0x172b9a[(_0x5e5e52(0x119))](_0x191332[_0x5e5e52(0x303)][_0x5e5e52(0x1fc)])),(this[_0x5e5e52(0x20b)]=_0x3a8341,this['_injector']=_0x4a5734,this['_collaborationController']=_0x3295e6,this[_0x5e5e52(0x16e)]=_0x149173,this['_initStatusComponent'](),this[_0x5e5e52(0x1b1)]());}['_initStatusListener'](){const _0x5214b5=_0x40fc9b;this[_0x5214b5(0x219)](this[_0x5214b5(0x20b)][_0x5214b5(0x18f)]['pipe'](_0x172b9a[_0x5214b5(0x13a)](()=>{const _0x3728ac=_0x5214b5,_0x4ceab1=this[_0x3728ac(0x20b)][_0x3728ac(0x3b4)]();return _0x4ceab1?this[_0x3728ac(0x2ba)]['getCollabEntity$'](_0x4ceab1[_0x3728ac(0x386)]()):_0x172b9a['of'](null);}),_0x172b9a[_0x5214b5(0x13a)](_0x2f4956=>_0x2f4956?_0x2f4956['status$']:_0x172b9a['of'](_0x191332['CollaborationStatus'][_0x5214b5(0x1fc)])))[_0x5214b5(0x2a1)](_0x238d3c=>{const _0x340217=_0x5214b5;this[_0x340217(0x2b8)][_0x340217(0x1ae)](_0x238d3c);}));}[_0x40fc9b(0x300)](){const _0x2a26f9=_0x40fc9b;this['disposeWithMe'](this['_uiPartsService'][_0x2a26f9(0x190)](_0x38a45b[_0x2a26f9(0x1cf)][_0x2a26f9(0x324)],()=>_0x38a45b[_0x2a26f9(0x118)](_0x1159ca({'status$':this[_0x2a26f9(0x2b8)][_0x2a26f9(0x1e9)]()}),this[_0x2a26f9(0x101)])));}},_0x3b6773[_0x40fc9b(0x24b)]=_0x28973c([_0x159a1d(0x0,_0x4680af[_0x40fc9b(0x326)]),_0x159a1d(0x1,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x2be)])),_0x159a1d(0x2,_0x4680af[_0x40fc9b(0x203)](_0x191332[_0x40fc9b(0x1dd)])),_0x159a1d(0x3,_0x38a45b[_0x40fc9b(0x2cd)])],_0x3b6773[_0x40fc9b(0x24b)]);function _0x1159ca(_0x32153a){const {status$:_0x3199ce}=_0x32153a;return function(){const _0x214eb5=_0x153f;return _0x5016f0[_0x214eb5(0x215)](_0x40d264,{'status$':_0x3199ce});};}const _0x952001=_0x4680af['createIdentifier'](_0x40fc9b(0x2df));var _0x1b2f21=Object['getOwnPropertyDescriptor'],_0x1b7256=(_0x991b3a,_0x453878,_0x51d727,_0x4ec89b)=>{const _0x361f56=_0x40fc9b;for(var _0x552119=_0x4ec89b>0x1?void 0x0:_0x4ec89b?_0x1b2f21(_0x453878,_0x51d727):_0x453878,_0x531e73=_0x991b3a[_0x361f56(0x35c)]-0x1,_0x53ed18;_0x531e73>=0x0;_0x531e73--)(_0x53ed18=_0x991b3a[_0x531e73])&&(_0x552119=_0x53ed18(_0x552119)||_0x552119);return _0x552119;},_0x2740ec=(_0x160d38,_0x4c9118)=>(_0x9260f8,_0x50c700)=>_0x4c9118(_0x9260f8,_0x50c700,_0x160d38);_0x3b6773[_0x40fc9b(0x2fb)]=class extends _0x4680af['RxDisposable']{constructor(_0x412080,_0x408082,_0x46f41f,_0x555069,_0x2c17f3){const _0x319fa4=_0x40fc9b;super(),this[_0x319fa4(0x2c9)]=_0x412080,this[_0x319fa4(0x105)]=_0x408082,this[_0x319fa4(0x35e)]=_0x46f41f,this[_0x319fa4(0x1ee)]=_0x555069,_0x2c17f3?_0x2c17f3==null||_0x2c17f3[_0x319fa4(0x20c)]()[_0x319fa4(0x34f)](()=>this[_0x319fa4(0x263)]()):(this['_logService']['debug'](_0x319fa4(0x2e3),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x40fc9b(0x263)](){const _0x50ca95=_0x40fc9b,_0x45224c=this[_0x50ca95(0x2c9)][_0x50ca95(0x3a7)]('unit'),_0x3e79b5=this['_urlService'][_0x50ca95(0x3a7)](_0x50ca95(0x131)),_0x2a8ed2=this['_urlService'][_0x50ca95(0x3a7)](_0x50ca95(0x388));if(!_0x45224c||!_0x3e79b5){this[_0x50ca95(0x105)]['debug'](_0x50ca95(0x2e3),_0x50ca95(0x171));return;}const _0xae983b=await this[_0x50ca95(0x1ee)][_0x50ca95(0x133)](_0x45224c,Number(_0x3e79b5),_0x2a8ed2);_0xae983b&&_0xae983b instanceof _0x4680af[_0x50ca95(0x2b5)]&&this[_0x50ca95(0x32b)](_0xae983b);}async[_0x40fc9b(0x32b)](_0x2e07e5){const _0x205d49=_0x40fc9b;await this[_0x205d49(0x1f9)](_0x2e07e5),_0x2e07e5[_0x205d49(0x1c4)][_0x205d49(0x1d3)](_0x172b9a[_0x205d49(0x385)](this[_0x205d49(0x2cb)]))[_0x205d49(0x2a1)](_0x366ab5=>{const _0x1ce0f8=_0x205d49;_0x366ab5&&this[_0x1ce0f8(0x204)](_0x366ab5);}),this[_0x205d49(0x2c9)][_0x205d49(0x35f)]['pipe'](_0x172b9a[_0x205d49(0x385)](this['dispose$']))[_0x205d49(0x2a1)](()=>this['_updateSubUnitFromURLParams'](_0x2e07e5));}[_0x40fc9b(0x204)](_0x14cd5a,_0x26ca4a=!0x1){const _0x4e93c5=_0x40fc9b,_0x363e8e=this['_urlService'][_0x4e93c5(0x3a7)]('subunit');_0x14cd5a[_0x4e93c5(0x17f)]()!==_0x363e8e&&this[_0x4e93c5(0x2c9)]['setParam'](_0x4e93c5(0x388),_0x14cd5a['getSheetId'](),_0x26ca4a);}async['_updateSubUnitFromURLParams'](_0x2f5ce1){const _0x489f1d=_0x40fc9b;var _0x349c81;const _0x409798=this['_urlService'][_0x489f1d(0x3a7)]('subunit');if(!_0x409798||!_0x2f5ce1['getSheetBySheetId'](_0x409798)){const _0x531b6e=_0x2f5ce1[_0x489f1d(0x280)]()[0x0],_0x11a606=_0x2f5ce1[_0x489f1d(0x1cd)](_0x531b6e);if(!_0x11a606)return;this['_updateURLWithCurrentState'](_0x11a606,!0x0),await this['_commandService'][_0x489f1d(0x1c0)](_0x200ea9[_0x489f1d(0x252)]['id'],{'unitId':_0x2f5ce1[_0x489f1d(0x386)](),'subUnitId':_0x531b6e});return;}((_0x349c81=_0x2f5ce1[_0x489f1d(0x354)]())==null?void 0x0:_0x349c81[_0x489f1d(0x17f)]())!==_0x409798&&await this['_commandService']['executeCommand'](_0x200ea9['SetWorksheetActivateCommand']['id'],{'unitId':_0x2f5ce1[_0x489f1d(0x386)](),'subUnitId':_0x409798});}},_0x3b6773[_0x40fc9b(0x2fb)]=_0x1b7256([_0x2740ec(0x0,_0x952001),_0x2740ec(0x1,_0x4680af[_0x40fc9b(0x3a9)]),_0x2740ec(0x2,_0x4680af['ICommandService']),_0x2740ec(0x3,_0x4680af[_0x40fc9b(0x203)](_0x191332[_0x40fc9b(0x255)])),_0x2740ec(0x4,_0x4680af[_0x40fc9b(0x228)](_0x5b2373['IRemoteInstanceService']))],_0x3b6773[_0x40fc9b(0x2fb)]);var _0x4eaf2a=Object[_0x40fc9b(0x251)],_0x179974=(_0x5509a7,_0x5a2093,_0x4f000a,_0x40e477)=>{const _0x3e6f0a=_0x40fc9b;for(var _0x1c0b0e=_0x40e477>0x1?void 0x0:_0x40e477?_0x4eaf2a(_0x5a2093,_0x4f000a):_0x5a2093,_0x3be700=_0x5509a7[_0x3e6f0a(0x35c)]-0x1,_0x196233;_0x3be700>=0x0;_0x3be700--)(_0x196233=_0x5509a7[_0x3be700])&&(_0x1c0b0e=_0x196233(_0x1c0b0e)||_0x1c0b0e);return _0x1c0b0e;},_0x3b9bea=(_0x491814,_0x9deb32)=>(_0x4af1fe,_0xca1fba)=>_0x9deb32(_0x4af1fe,_0xca1fba,_0x491814);let _0x444da9=class extends _0x4680af[_0x40fc9b(0x2f0)]{constructor(_0x32a119,_0x5ce974){const _0x4ce636=_0x40fc9b;super(),this['_docClipboardService']=_0x32a119,this['_imageIoService']=_0x5ce974,this[_0x4ce636(0x263)]();}[_0x40fc9b(0x263)](){const _0x5d6969=_0x40fc9b,_0x8923dd=this;this[_0x5d6969(0x219)](this[_0x5d6969(0xff)][_0x5d6969(0x335)]({'onBeforePasteImage':async _0x26bda1=>{const _0x4af71c=_0x5d6969,_0x34edf6=await _0x8923dd[_0x4af71c(0x268)]['saveImage'](_0x26bda1);return _0x34edf6?{'source':_0x34edf6[_0x4af71c(0x232)],'imageSourceType':_0x34edf6[_0x4af71c(0x113)]}:null;}}));}};_0x444da9=_0x179974([_0x3b9bea(0x0,_0x55f3bb[_0x40fc9b(0x121)]),_0x3b9bea(0x1,_0x4cd6cc['IImageIoService'])],_0x444da9);const _0x33aa07=[_0x40fc9b(0x366),'jiqing.500',_0x40fc9b(0x26e),'red.300',_0x40fc9b(0xfd),'yellow.400'];class _0x38773a extends _0x4680af[_0x40fc9b(0x39a)]{constructor(){const _0x26fde9=_0x40fc9b;super(...arguments),_0x166045(this,_0x26fde9(0x1e2),new Map()),_0x166045(this,_0x26fde9(0x342),0x0);}[_0x40fc9b(0x20e)](_0x49ae0b){const _0x3fb750=_0x40fc9b;if(this[_0x3fb750(0x1e2)][_0x3fb750(0x393)](_0x49ae0b))return this[_0x3fb750(0x1e2)]['get'](_0x49ae0b);const _0x1c61ec=_0x33aa07[this[_0x3fb750(0x342)]];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x33aa07[_0x3fb750(0x35c)],this[_0x3fb750(0x1e2)][_0x3fb750(0x210)](_0x49ae0b,_0x1c61ec),_0x1c61ec;}}function _0x191fc2(_0x46c9c1){const _0x253726=_0x40fc9b;let _0xb2a76='';for(const _0x37b13c of _0x46c9c1){const {startOffset:_0xb0d9ac,endOffset:_0x21de0e,isActive:_0x18a5c9,rangeType:_0x1481f5,segmentId:_0x58c5de,segmentPage:_0x767b03}=_0x37b13c;_0xb2a76[_0x253726(0x35c)]&&(_0xb2a76+=','),_0xb2a76+=_0xb0d9ac+':'+_0x21de0e+':'+(_0x18a5c9?'1':'0')+':'+_0x1481f5+':'+_0x58c5de+':'+_0x767b03;}return _0xb2a76;}function _0x35f471(_0x3213c2){const _0x3b9e79=_0x40fc9b,_0x69469b=_0x3213c2[_0x3b9e79(0x2f6)](','),_0x41eb8b=[];for(const _0x35c261 of _0x69469b){const [_0x46025d,_0x27dacb,_0x425cfc,_0x365b97,_0x2298f1,_0x5957e2]=_0x35c261['split'](':');_0x41eb8b[_0x3b9e79(0x2c3)]({'startOffset':Number(_0x46025d),'endOffset':Number(_0x27dacb),'collapsed':_0x46025d===_0x27dacb,'isActive':_0x425cfc==='1','rangeType':_0x365b97===_0x4680af[_0x3b9e79(0x197)][_0x3b9e79(0x298)]?_0x4680af['DOC_RANGE_TYPE'][_0x3b9e79(0x298)]:_0x4680af['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x2298f1==_0x3b9e79(0x13b)?String(_0x2298f1):'','segmentPage':Number(_0x5957e2!=null?_0x5957e2:-0x1)});}return _0x41eb8b[_0x3b9e79(0x1bd)](_0x2ed210=>_0x2ed210['isActive'])||(_0x41eb8b[0x0][_0x3b9e79(0x2e6)]=!0x0),_0x41eb8b;}class _0x5ac381 extends _0x4680af['RxDisposable']{constructor(){const _0x54abb3=_0x40fc9b;super(...arguments),_0x166045(this,_0x54abb3(0x291),new _0x172b9a[(_0x54abb3(0x119))](null)),_0x166045(this,_0x54abb3(0x116),this[_0x54abb3(0x291)][_0x54abb3(0x1e9)]());}['syncEditingCollabCursor'](_0x34ad20){const _0x147b43=_0x40fc9b,{unitID:_0x31adae,memberID:_0x229c1d,textRanges:_0x46f33f}=_0x34ad20,_0x25b725=_0x191fc2(_0x46f33f);if(_0x25b725==='')return;const _0x4d9f75={'unitID':_0x31adae,'memberID':_0x229c1d,'selection':_0x25b725};this[_0x147b43(0x291)][_0x147b43(0x1ae)](_0x4d9f75);}}var _0x331288=Object[_0x40fc9b(0x251)],_0x417feb=(_0x3019eb,_0x236a8b,_0x263e60,_0x1af8a4)=>{const _0x1738bf=_0x40fc9b;for(var _0x31f2df=_0x1af8a4>0x1?void 0x0:_0x1af8a4?_0x331288(_0x236a8b,_0x263e60):_0x236a8b,_0x38153b=_0x3019eb[_0x1738bf(0x35c)]-0x1,_0x7ac67c;_0x38153b>=0x0;_0x38153b--)(_0x7ac67c=_0x3019eb[_0x38153b])&&(_0x31f2df=_0x7ac67c(_0x31f2df)||_0x31f2df);return _0x31f2df;},_0x36652e=(_0x3730e9,_0x1ee590)=>(_0x3d01e1,_0x2646cc)=>_0x1ee590(_0x3d01e1,_0x2646cc,_0x3730e9);const _0x246efd=0x12c,_0x254c4e=0x64;let _0x4877be=class extends _0x4680af[_0x40fc9b(0x2f0)]{constructor(_0x33e30e,_0x59519d,_0x1a6b8d,_0x2f5eec,_0x12f59b,_0x52ca8a,_0x40bd7b,_0x2c16c5,_0x1f6967){const _0x41e3d6=_0x40fc9b;super(),_0x166045(this,_0x41e3d6(0x1a9),!0x1),_0x166045(this,_0x41e3d6(0x263),!0x1),_0x166045(this,_0x41e3d6(0x295),new _0x172b9a[(_0x41e3d6(0x119))](new Map())),_0x166045(this,_0x41e3d6(0x2e9),this[_0x41e3d6(0x295)][_0x41e3d6(0x1e9)]()),_0x166045(this,_0x41e3d6(0x392),new _0x172b9a[(_0x41e3d6(0x119))]([])),_0x166045(this,_0x41e3d6(0x23c),this[_0x41e3d6(0x392)][_0x41e3d6(0x1d3)](_0x172b9a[_0x41e3d6(0x196)](_0x246efd))),_0x166045(this,_0x41e3d6(0x142),_0x4680af['debounce'](_0x5058c1=>{const _0x372640=_0x41e3d6,_0x1723f6={'eventID':_0x680f14['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x372640(0x36f)][_0x372640(0x2dd)](),'selection':_0x191fc2(_0x5058c1)}};this[_0x372640(0x36f)][_0x372640(0x292)](_0x1723f6,this[_0x372640(0x1d7)]);},_0x254c4e)),(this[_0x41e3d6(0x1d7)]=_0x33e30e,this[_0x41e3d6(0x36f)]=_0x59519d,this[_0x41e3d6(0x101)]=_0x1a6b8d,this['_colorAssignService']=_0x2f5eec,this[_0x41e3d6(0x334)]=_0x12f59b,this[_0x41e3d6(0x198)]=_0x52ca8a,this[_0x41e3d6(0x3b8)]=_0x40bd7b,this[_0x41e3d6(0x20b)]=_0x2c16c5,this[_0x41e3d6(0x35e)]=_0x1f6967);}get[_0x40fc9b(0x19b)](){const _0x5b3438=_0x40fc9b;return this[_0x5b3438(0x295)]['getValue']();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x40fc9b(0x250)](){const _0x13cc1f=_0x40fc9b;super[_0x13cc1f(0x250)](),this['_cursorInfo$'][_0x13cc1f(0x1ae)](new Map()),this[_0x13cc1f(0x295)][_0x13cc1f(0x358)](),this[_0x13cc1f(0x392)]['next']([]),this['_roomMembers$'][_0x13cc1f(0x358)]();}[_0x40fc9b(0x1e5)](){const _0x437b3b=_0x40fc9b;this[_0x437b3b(0x263)]||(this[_0x437b3b(0x263)]=!0x0,this[_0x437b3b(0x36f)][_0x437b3b(0x381)][_0x437b3b(0x1d3)](_0x172b9a[_0x437b3b(0x385)](this['dispose$']))['subscribe'](_0x8e77c1=>{const _0x361980=_0x437b3b;_0x8e77c1===_0x191332['SessionStatus'][_0x361980(0x2ed)]?this[_0x361980(0x1bb)]():this[_0x361980(0x30b)]();}),this[_0x437b3b(0x36f)][_0x437b3b(0x2d9)][_0x437b3b(0x1d3)](_0x172b9a['takeUntil'](this[_0x437b3b(0x2cb)]))[_0x437b3b(0x2a1)](_0x3dcdc9=>{const _0x98db33=_0x437b3b,_0x46f975=_0x3dcdc9[_0x98db33(0x214)];_0x46f975===_0x680f14[_0x98db33(0x261)]['UPDATE_CURSOR']&&this[_0x98db33(0x10d)](_0x3dcdc9),_0x46f975===_0x680f14[_0x98db33(0x261)][_0x98db33(0xfc)]&&this[_0x98db33(0x23b)](_0x3dcdc9);}),this[_0x437b3b(0x219)](this['_commandService'][_0x437b3b(0x2e4)](_0x4fc310=>{const _0x3303be=_0x437b3b,_0x30cb37=_0x4fc310['params'];_0x30cb37!=null&&this[_0x3303be(0x1a9)]&&_0x4fc310['id']===_0x4f8be8['SetTextSelectionsOperation']['id']&&_0x30cb37[_0x3303be(0x1c6)]===this['unitID']&&_0x30cb37[_0x3303be(0x3a3)]===!0x1&&_0x30cb37[_0x3303be(0x2fd)][_0x3303be(0x35c)]>0x0&&this[_0x3303be(0x142)](_0x30cb37[_0x3303be(0x2fd)]);})),this['_syncEditingCollabCursorService'][_0x437b3b(0x116)]['pipe'](_0x172b9a[_0x437b3b(0x385)](this[_0x437b3b(0x2cb)]))[_0x437b3b(0x2a1)](_0x1adf2c=>{const _0x360c8f=_0x437b3b;if((_0x1adf2c==null?void 0x0:_0x1adf2c[_0x360c8f(0x1d7)])!==this['unitID'])return;const _0x4b54a8={'eventID':_0x680f14[_0x360c8f(0x261)][_0x360c8f(0x117)],'data':_0x1adf2c};this[_0x360c8f(0x10d)](_0x4b54a8);}),this[_0x437b3b(0x219)](this['_commandService'][_0x437b3b(0x2e4)](_0x28333f=>{const _0x2e1c16=_0x437b3b;if(_0x28333f[_0x2e1c16(0x1be)]==null)return;const _0x37acb0=_0x28333f[_0x2e1c16(0x1be)];if(_0x28333f['id']!==_0x4f8be8['RichTextEditingMutation']['id']||_0x37acb0[_0x2e1c16(0x1c6)]!==this[_0x2e1c16(0x1d7)])return;const _0x2b483a={'id':_0x2e1c16(0x2fa),'params':_0x37acb0},_0x134989=this['cursorInfo'];for(const [_0x196a5a,_0x574903]of _0x134989){const _0x41432c={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x2e1c16(0x1d7)],'actions':null,'textRanges':_0x574903[_0x2e1c16(0x2fd)]}},_0x44e977=this['_transformService']['transformMutation'](_0x2b483a,_0x41432c,!0x1);if(_0x680f14['isTransformMutationFailure'](_0x44e977))throw _0x44e977['error'];_0x134989[_0x2e1c16(0x210)](_0x196a5a,{..._0x574903,'ranges':_0x44e977[_0x2e1c16(0x336)][_0x2e1c16(0x1be)][_0x2e1c16(0x21e)]});}queueMicrotask(()=>{const _0x32e4d1=_0x2e1c16;this['_cursorInfo$'][_0x32e4d1(0x1ae)](_0x134989);});})));}[_0x40fc9b(0x10d)](_0x26003a){const _0x1f301c=_0x40fc9b;var _0x22985f,_0x310ec9;const {memberID:_0x1fec33,selection:_0x33cee7}=_0x26003a[_0x1f301c(0x1e3)],_0x12ba0a=_0x35f471(_0x33cee7),_0x291865=(_0x310ec9=(_0x22985f=this[_0x1f301c(0x334)][_0x1f301c(0x16b)](this[_0x1f301c(0x1d7)],_0x1fec33))==null?void 0x0:_0x22985f['name'])!=null?_0x310ec9:_0x1f301c(0x345),_0x428a97={'color':this[_0x1f301c(0x32f)]['assignAColorForMemberID'](_0x1fec33),'name':_0x291865,'ranges':_0x12ba0a},_0x39826f=this[_0x1f301c(0x19b)];_0x39826f[_0x1f301c(0x210)](_0x1fec33,_0x428a97),this['_cursorInfo$']['next'](_0x39826f);}[_0x40fc9b(0x23b)](_0x17249e){const _0x42d1d5=_0x40fc9b,{memberID:_0x4aa3c5}=_0x17249e[_0x42d1d5(0x1e3)],_0x560416=this[_0x42d1d5(0x19b)];_0x560416['delete'](_0x4aa3c5),this[_0x42d1d5(0x295)]['next'](_0x560416);}[_0x40fc9b(0x1bb)](){const _0xaf68f=_0x40fc9b;var _0x30f707;if(this['_online']=!0x0,((_0x30f707=this[_0xaf68f(0x20b)][_0xaf68f(0x3b4)]())==null?void 0x0:_0x30f707[_0xaf68f(0x386)]())!==this['unitID'])return;const _0x2b670e=this[_0xaf68f(0x101)][_0xaf68f(0x2f2)](_0x4f8be8['DocSelectionManagerService'])['getDocRanges']();Array['isArray'](_0x2b670e)&&_0x2b670e[_0xaf68f(0x35c)]>0x0&&this['_updateLocalCursor'](_0x2b670e);}[_0x40fc9b(0x30b)](){const _0x3adf2d=_0x40fc9b;this[_0x3adf2d(0x1a9)]=!0x1;}};_0x4877be=_0x417feb([_0x36652e(0x2,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x2be)])),_0x36652e(0x3,_0x4680af[_0x40fc9b(0x203)](_0x38773a)),_0x36652e(0x4,_0x4680af[_0x40fc9b(0x203)](_0x191332[_0x40fc9b(0x248)])),_0x36652e(0x5,_0x4680af[_0x40fc9b(0x203)](_0x5ac381)),_0x36652e(0x6,_0x680f14[_0x40fc9b(0x2f1)]),_0x36652e(0x7,_0x4680af[_0x40fc9b(0x326)]),_0x36652e(0x8,_0x4680af['ICommandService'])],_0x4877be);var _0xc7bca5=Object[_0x40fc9b(0x251)],_0x37f851=(_0xef24d2,_0x13384d,_0x138689,_0x421126)=>{const _0x3db71b=_0x40fc9b;for(var _0x1c5e0e=_0x421126>0x1?void 0x0:_0x421126?_0xc7bca5(_0x13384d,_0x138689):_0x13384d,_0x52bb42=_0xef24d2[_0x3db71b(0x35c)]-0x1,_0x182d45;_0x52bb42>=0x0;_0x52bb42--)(_0x182d45=_0xef24d2[_0x52bb42])&&(_0x1c5e0e=_0x182d45(_0x1c5e0e)||_0x1c5e0e);return _0x1c5e0e;},_0x1f644f=(_0x3f426c,_0x206688)=>(_0x26cfbe,_0x149c83)=>_0x206688(_0x26cfbe,_0x149c83,_0x3f426c);const _0x2e0553=0x12c,_0x2487b3=0x64,_0x51fb50=()=>{let _0xb369bf=[],_0x535621=!0x1;return _0x10f500=>{const _0x5172e6=_0x153f;_0xb369bf[_0x5172e6(0x2c3)](_0x10f500),_0x535621||(_0x535621=!0x0,setTimeout(()=>{_0xb369bf['forEach'](_0x4e5f99=>_0x4e5f99()),_0xb369bf=[],_0x535621=!0x1;}));};};let _0x4c0640=class extends _0x4680af[_0x40fc9b(0x2f0)]{constructor(_0x1a3229,_0x393271,_0x2bbc9e,_0x29792,_0x1259a8,_0x4b871d,_0x13ad19,_0x5646dd){const _0x152701=_0x40fc9b;super(),_0x166045(this,'_online',!0x1),_0x166045(this,'_init',!0x1),_0x166045(this,_0x152701(0x295),new _0x172b9a[(_0x152701(0x119))](new Map())),_0x166045(this,_0x152701(0x2e9),this[_0x152701(0x295)]['asObservable']()),_0x166045(this,_0x152701(0x392),new _0x172b9a['BehaviorSubject']([])),_0x166045(this,_0x152701(0x23c),this[_0x152701(0x392)][_0x152701(0x1d3)](_0x172b9a[_0x152701(0x196)](_0x2e0553))),_0x166045(this,'_updateLocalCursor',_0x4680af['debounce']((_0x29053c,_0x2fdc08)=>{const _0x5d4526=_0x152701,_0x10b905={'eventID':_0x680f14[_0x5d4526(0x261)][_0x5d4526(0x117)],'data':{'unitID':this[_0x5d4526(0x1d7)],'memberID':this['_session'][_0x5d4526(0x2dd)](),'selection':_0x244a11[_0x5d4526(0x316)](_0x29053c,_0x2fdc08[_0x5d4526(0x2c7)])}};this['_session'][_0x5d4526(0x292)](_0x10b905,this[_0x5d4526(0x1d7)]);},_0x2487b3)),(this['unitID']=_0x1a3229,this[_0x152701(0x36f)]=_0x393271,this['_injector']=_0x2bbc9e,this['_colorAssignService']=_0x29792,this[_0x152701(0x334)]=_0x1259a8,this[_0x152701(0x20b)]=_0x4b871d,this[_0x152701(0x35e)]=_0x13ad19,this[_0x152701(0x1b7)]=_0x5646dd);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get[_0x40fc9b(0x2da)](){const _0x2d4adc=_0x40fc9b;return this[_0x2d4adc(0x392)][_0x2d4adc(0x38e)]();}[_0x40fc9b(0x250)](){const _0x121cf3=_0x40fc9b;super[_0x121cf3(0x250)](),this['_cursorInfo$']['next'](new Map()),this[_0x121cf3(0x295)][_0x121cf3(0x358)](),this[_0x121cf3(0x392)][_0x121cf3(0x1ae)]([]),this[_0x121cf3(0x392)][_0x121cf3(0x358)]();}[_0x40fc9b(0x1e5)](){const _0x64c794=_0x40fc9b;this[_0x64c794(0x263)]||(this[_0x64c794(0x263)]=!0x0,this[_0x64c794(0x36f)][_0x64c794(0x381)][_0x64c794(0x1d3)](_0x172b9a[_0x64c794(0x385)](this[_0x64c794(0x2cb)]))[_0x64c794(0x2a1)](_0x24a7d2=>{const _0x6a39e5=_0x64c794;_0x24a7d2===_0x191332[_0x6a39e5(0x2dc)][_0x6a39e5(0x2ed)]?this[_0x6a39e5(0x1bb)]():this[_0x6a39e5(0x30b)]();}),this[_0x64c794(0x36f)][_0x64c794(0x2d9)][_0x64c794(0x1d3)](_0x172b9a[_0x64c794(0x385)](this[_0x64c794(0x2cb)]))[_0x64c794(0x2a1)](_0xfc909a=>{const _0x5089cc=_0x64c794,_0x208d47=_0xfc909a[_0x5089cc(0x214)];_0x208d47===_0x680f14[_0x5089cc(0x261)]['UPDATE_CURSOR']&&this[_0x5089cc(0x10d)](_0xfc909a),_0x208d47===_0x680f14['CollaborationEvent'][_0x5089cc(0xfc)]&&this[_0x5089cc(0x23b)](_0xfc909a);}),this[_0x64c794(0x29b)](),this[_0x64c794(0x219)](this[_0x64c794(0x35e)][_0x64c794(0x2e4)](_0x36f803=>{const _0x30cd62=_0x64c794;if(this[_0x30cd62(0x1a9)]&&_0x36f803['id']===_0x200ea9[_0x30cd62(0x302)]['id']&&_0x36f803[_0x30cd62(0x1be)][_0x30cd62(0x1c6)]===this['unitID']){const _0x3fadd4=_0x36f803[_0x30cd62(0x1be)];this[_0x30cd62(0x142)](_0x3fadd4['subUnitId'],_0x3fadd4[_0x30cd62(0x2d0)][0x0]);}})));}[_0x40fc9b(0x10d)](_0x23f916){const _0x240036=_0x40fc9b;var _0x1e65db,_0x4dd1cd;const {memberID:_0x135115,selection:_0x15a81a}=_0x23f916[_0x240036(0x1e3)],{sheetName:_0x2c4388,range:_0x116796}=_0x244a11[_0x240036(0x31d)](_0x15a81a),_0x1b9a6b={'name':(_0x4dd1cd=(_0x1e65db=this[_0x240036(0x334)]['getMember'](this[_0x240036(0x1d7)],_0x135115))==null?void 0x0:_0x1e65db[_0x240036(0x211)])!=null?_0x4dd1cd:_0x240036(0x345),'range':this[_0x240036(0x170)](_0x2c4388,_0x116796),'sheetID':_0x2c4388,'color':this[_0x240036(0x32f)][_0x240036(0x20e)](_0x135115),'selection':_0x15a81a},_0x9c0f4d=this['cursorInfo'];_0x9c0f4d['set'](_0x135115,_0x1b9a6b),this['_cursorInfo$'][_0x240036(0x1ae)](_0x9c0f4d);}[_0x40fc9b(0x23b)](_0x3247ce){const _0xcf7634=_0x40fc9b,{memberID:_0x2d134c}=_0x3247ce[_0xcf7634(0x1e3)],_0x12b31d=this[_0xcf7634(0x19b)];_0x12b31d['delete'](_0x2d134c),this[_0xcf7634(0x295)][_0xcf7634(0x1ae)](_0x12b31d);}[_0x40fc9b(0x170)](_0x4b3d9d,_0x89c21){const _0x5c94ca=_0x40fc9b;var _0x4c572f,_0x1300f1;const _0x71df24=(_0x1300f1=(_0x4c572f=this['_univerInstanceService'][_0x5c94ca(0x260)](this[_0x5c94ca(0x1d7)]))==null?void 0x0:_0x4c572f[_0x5c94ca(0x1cd)](_0x4b3d9d))==null?void 0x0:_0x1300f1[_0x5c94ca(0x158)]();return(_0x71df24==null?void 0x0:_0x71df24[_0x5c94ca(0x1e6)](_0x13333a=>_0x4680af[_0x5c94ca(0x182)][_0x5c94ca(0x225)](_0x13333a,_0x89c21)))||_0x89c21;}['_onRefRangeChange'](){const _0x259178=_0x40fc9b,_0x4cde4e=new _0x4680af[(_0x259178(0x16a))](),_0x2b5a48=_0x51fb50(),_0x8c3fcd=()=>{const _0x1d3cf3=_0x259178;_0x4cde4e[_0x1d3cf3(0x250)]();const _0x5d99ce=(_0x296d90,_0xceb2c1,_0x55ff93,_0x2a355f)=>{const _0x5d374d=_0x1d3cf3;let _0x277be2=[];switch(_0x296d90['id']){case _0x200ea9[_0x5d374d(0x364)]['DeleteRangeMoveLeftCommandId']:{_0x277be2=_0x200ea9[_0x5d374d(0x359)](_0x296d90,_0x2a355f);break;}case _0x200ea9[_0x5d374d(0x364)][_0x5d374d(0x1cb)]:{_0x277be2=_0x200ea9['handleDeleteRangeMoveUp'](_0x296d90,_0x2a355f);break;}case _0x200ea9[_0x5d374d(0x364)][_0x5d374d(0x2a5)]:{_0x277be2=_0x200ea9[_0x5d374d(0x3a8)](_0x296d90,_0x2a355f);break;}case _0x200ea9[_0x5d374d(0x364)][_0x5d374d(0x309)]:{_0x277be2=_0x200ea9[_0x5d374d(0x371)](_0x296d90,_0x2a355f);break;}case _0x200ea9['EffectRefRangId'][_0x5d374d(0x234)]:{_0x277be2=_0x200ea9['handleInsertRangeMoveRight'](_0x296d90,_0x2a355f);break;}case _0x200ea9[_0x5d374d(0x364)]['InsertRowCommandId']:{_0x277be2=_0x200ea9[_0x5d374d(0x323)](_0x296d90,_0x2a355f);break;}case _0x200ea9[_0x5d374d(0x364)]['MoveRangeCommandId']:{_0x277be2=_0x200ea9[_0x5d374d(0x373)](_0x296d90,_0x2a355f);break;}case _0x200ea9['EffectRefRangId']['RemoveColCommandId']:{_0x277be2=_0x200ea9['handleIRemoveCol'](_0x296d90,_0x2a355f);break;}case _0x200ea9[_0x5d374d(0x364)]['RemoveRowCommandId']:{_0x277be2=_0x200ea9[_0x5d374d(0x23d)](_0x296d90,_0x2a355f);break;}}const _0x47147b=_0x200ea9['runRefRangeMutations'](_0x277be2,_0x2a355f),_0x4df949=this[_0x5d374d(0x19b)]['get'](_0xceb2c1);if(_0x4df949&&_0x47147b){const _0x1196d0={..._0x4df949,'range':_0x47147b};this[_0x5d374d(0x19b)][_0x5d374d(0x210)](_0xceb2c1,_0x1196d0),_0x2b5a48(()=>{const _0x53f881=_0x5d374d,_0x581338=this[_0x53f881(0x1b7)][_0x53f881(0x27b)](_0x47147b,_0x2aed5c=>(_0x581338[_0x53f881(0x250)](),_0x5d99ce(_0x2aed5c,_0xceb2c1,_0x55ff93,_0x47147b)));_0x4cde4e[_0x53f881(0x2b4)](_0x581338);});}return{'redos':[],'undos':[]};};this[_0x1d3cf3(0x19b)][_0x1d3cf3(0x1a5)]((_0x44968b,_0x2c9f18)=>{const _0x268528=_0x1d3cf3,{range:_0x48bb29,sheetID:_0x445f06}=_0x44968b,_0x4174d5=this[_0x268528(0x1b7)][_0x268528(0x27b)](_0x48bb29,_0x4b6b63=>(_0x4174d5[_0x268528(0x250)](),_0x5d99ce(_0x4b6b63,_0x2c9f18,_0x445f06,_0x48bb29)));_0x4cde4e['add'](_0x4174d5);});};this[_0x259178(0x219)](_0x4680af['toDisposable'](this[_0x259178(0x295)][_0x259178(0x2a1)](()=>{_0x8c3fcd();})));}[_0x40fc9b(0x1bb)](){const _0x590732=_0x40fc9b;var _0xceea8e,_0x71c967;if(this[_0x590732(0x1a9)]=!0x0,((_0xceea8e=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0xceea8e[_0x590732(0x386)]())!==this[_0x590732(0x1d7)])return;const _0x3a1455=(_0x71c967=this[_0x590732(0x101)][_0x590732(0x2f2)](_0x200ea9[_0x590732(0x141)])[_0x590732(0x17b)]())==null?void 0x0:_0x71c967[0x0],_0x584c90=this[_0x590732(0x20b)]['getCurrentUnitForType'](_0x4680af[_0x590732(0x376)][_0x590732(0x2f3)])[_0x590732(0x354)]();_0x3a1455&&_0x584c90&&this[_0x590732(0x142)](_0x584c90['getSheetId'](),_0x3a1455);}[_0x40fc9b(0x30b)](){this['_online']=!0x1;}};_0x4c0640=_0x37f851([_0x1f644f(0x2,_0x4680af[_0x40fc9b(0x203)](_0x4680af['Injector'])),_0x1f644f(0x3,_0x4680af[_0x40fc9b(0x203)](_0x38773a)),_0x1f644f(0x4,_0x4680af[_0x40fc9b(0x203)](_0x191332['MemberService'])),_0x1f644f(0x5,_0x4680af[_0x40fc9b(0x326)]),_0x1f644f(0x6,_0x4680af[_0x40fc9b(0x107)]),_0x1f644f(0x7,_0x4680af[_0x40fc9b(0x203)](_0x200ea9[_0x40fc9b(0x1a4)]))],_0x4c0640);var _0x4c34de=Object[_0x40fc9b(0x251)],_0xd4115=(_0x5a5fa2,_0x3fdf82,_0x21ee5a,_0xe66b8c)=>{const _0x3b577e=_0x40fc9b;for(var _0x3cbcea=_0xe66b8c>0x1?void 0x0:_0xe66b8c?_0x4c34de(_0x3fdf82,_0x21ee5a):_0x3fdf82,_0x4442fa=_0x5a5fa2[_0x3b577e(0x35c)]-0x1,_0x106268;_0x4442fa>=0x0;_0x4442fa--)(_0x106268=_0x5a5fa2[_0x4442fa])&&(_0x3cbcea=_0x106268(_0x3cbcea)||_0x3cbcea);return _0x3cbcea;},_0x4ffc80=(_0x59ae20,_0x4b3a5f)=>(_0x51e690,_0xa95c6d)=>_0x4b3a5f(_0x51e690,_0xa95c6d,_0x59ae20);let _0x3b8110=class extends _0x4680af[_0x40fc9b(0x2f0)]{constructor(_0x3d97c0,_0x42df8a,_0x33d6da){const _0x546e8c=_0x40fc9b;super(),_0x166045(this,_0x546e8c(0x115),new Map()),_0x166045(this,_0x546e8c(0x1ec),new _0x172b9a[(_0x546e8c(0x35b))]()),(this[_0x546e8c(0x20b)]=_0x3d97c0,this[_0x546e8c(0x101)]=_0x42df8a,this[_0x546e8c(0x2ea)]=_0x33d6da,this[_0x546e8c(0x263)]());}['dispose'](){const _0x520cc0=_0x40fc9b;super[_0x520cc0(0x250)](),this['_entityInit$'][_0x520cc0(0x358)](),this[_0x520cc0(0x115)]['forEach'](_0x543360=>_0x543360[_0x520cc0(0x250)]());}[_0x40fc9b(0x14c)](_0x3da8e2){const _0xb46274=_0x40fc9b;return this[_0xb46274(0x115)][_0xb46274(0x393)](_0x3da8e2)?this['_entities'][_0xb46274(0x2f2)](_0x3da8e2)[_0xb46274(0x2e9)]:this[_0xb46274(0x1ec)]['pipe'](_0x172b9a[_0xb46274(0x160)](_0x84040c=>_0x84040c['unitID']===_0x3da8e2),_0x172b9a['switchMap'](_0x8f0758=>_0x8f0758['cursorInfo$']));}['_init'](){const _0x50b200=_0x40fc9b;this[_0x50b200(0x20b)]['getTypeOfUnitAdded$'](_0x4680af[_0x50b200(0x376)][_0x50b200(0x2f3)])[_0x50b200(0x1d3)](_0x172b9a[_0x50b200(0x385)](this[_0x50b200(0x2cb)]))[_0x50b200(0x2a1)](async _0x32d167=>{const _0x555a98=_0x50b200,_0x5d926b=_0x32d167['getUnitId'](),_0x1b25f2=await this['_startSheetCollabCursor'](_0x5d926b);this[_0x555a98(0x1ec)][_0x555a98(0x1ae)](_0x1b25f2),this[_0x555a98(0x115)]['set'](_0x5d926b,_0x1b25f2);}),this[_0x50b200(0x20b)][_0x50b200(0x179)](_0x4680af[_0x50b200(0x376)][_0x50b200(0x1a2)])['pipe'](_0x172b9a[_0x50b200(0x385)](this[_0x50b200(0x2cb)]))['pipe'](_0x172b9a['filter'](_0x520476=>!_0x520476[_0x50b200(0x386)]()[_0x50b200(0x1a1)]('__')))[_0x50b200(0x2a1)](async _0x3c1512=>{const _0x4734a5=_0x50b200,_0x3ebcd8=_0x3c1512[_0x4734a5(0x386)](),_0x4c4e9e=await this[_0x4734a5(0x128)](_0x3ebcd8);this[_0x4734a5(0x1ec)]['next'](_0x4c4e9e),this[_0x4734a5(0x115)][_0x4734a5(0x210)](_0x3ebcd8,_0x4c4e9e);}),_0x172b9a[_0x50b200(0x29f)](this[_0x50b200(0x20b)]['getTypeOfUnitDisposed$'](_0x4680af[_0x50b200(0x376)][_0x50b200(0x1a2)]),this[_0x50b200(0x20b)]['getTypeOfUnitDisposed$'](_0x4680af['UniverInstanceType'][_0x50b200(0x2f3)]))[_0x50b200(0x1d3)](_0x172b9a[_0x50b200(0x385)](this['dispose$']))[_0x50b200(0x2a1)](_0x432439=>{const _0x4abecc=_0x50b200,_0x29d223=_0x432439[_0x4abecc(0x386)](),_0x3239ee=this[_0x4abecc(0x115)][_0x4abecc(0x2f2)](_0x29d223);_0x3239ee&&(_0x3239ee['dispose'](),this[_0x4abecc(0x115)][_0x4abecc(0x329)](_0x29d223));});}async[_0x40fc9b(0x297)](_0x339ca3){const _0x92dcc8=_0x40fc9b,_0x55fe21=await this[_0x92dcc8(0x2ea)]['requireSession'](_0x339ca3),_0x4f475f=this[_0x92dcc8(0x101)][_0x92dcc8(0x357)](_0x4c0640,_0x339ca3,_0x55fe21);return _0x4f475f[_0x92dcc8(0x1e5)](),_0x4f475f;}async[_0x40fc9b(0x128)](_0x266b2e){const _0x2560ed=_0x40fc9b,_0x1c23f5=await this[_0x2560ed(0x2ea)][_0x2560ed(0x351)](_0x266b2e),_0x516e3f=this[_0x2560ed(0x101)][_0x2560ed(0x357)](_0x4877be,_0x266b2e,_0x1c23f5);return _0x516e3f['init'](),_0x516e3f;}};_0x3b8110=_0xd4115([_0x4ffc80(0x0,_0x4680af['IUniverInstanceService']),_0x4ffc80(0x1,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x2be)])),_0x4ffc80(0x2,_0x4680af[_0x40fc9b(0x203)](_0x191332[_0x40fc9b(0x3b2)]))],_0x3b8110);const _0x1daaf4=0x14,_0x24893f=0xc8,_0x4abd95=0x4,_0x41b8f0=0x5;function _0x498ba3(_0x2a4d6c,_0x5e8070){const _0x231521=_0x40fc9b;let {radius:_0x14c54f,width:_0x6288f4,height:_0x433f72}=_0x5e8070;_0x14c54f=_0x14c54f!=null?_0x14c54f:0x0,_0x6288f4=_0x6288f4!=null?_0x6288f4:0x1e,_0x433f72=_0x433f72!=null?_0x433f72:0x1e;let _0x169000=0x0,_0x695865=0x0,_0x2cc75d=0x0;_0x169000=_0x695865=_0x2cc75d=Math[_0x231521(0x322)](_0x14c54f,_0x6288f4/0x2,_0x433f72/0x2),_0x2a4d6c[_0x231521(0x272)](),_0x2a4d6c[_0x231521(0x15b)](_0x169000,0x0),_0x2a4d6c[_0x231521(0x274)](_0x6288f4-_0x695865,0x0),_0x2a4d6c[_0x231521(0x150)](_0x6288f4-_0x695865,_0x695865,_0x695865,Math['PI']*0x3/0x2,0x0,!0x1),_0x2a4d6c[_0x231521(0x274)](_0x6288f4,_0x433f72-_0x2cc75d),_0x2a4d6c[_0x231521(0x150)](_0x6288f4-_0x2cc75d,_0x433f72-_0x2cc75d,_0x2cc75d,0x0,Math['PI']/0x2,!0x1),_0x2a4d6c[_0x231521(0x274)](0x0,_0x433f72),_0x2a4d6c[_0x231521(0x274)](0x0,_0x169000),_0x2a4d6c[_0x231521(0x150)](_0x169000,_0x169000,_0x169000,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2a4d6c[_0x231521(0x2a9)](),_0x5e8070[_0x231521(0x3ad)]&&(_0x2a4d6c[_0x231521(0x31e)](),_0x2a4d6c[_0x231521(0x19d)]=_0x5e8070[_0x231521(0x3ad)],_0x5e8070[_0x231521(0x31c)]===_0x231521(0x2d8)?_0x2a4d6c['fill'](_0x231521(0x2d8)):_0x2a4d6c['fill'](),_0x2a4d6c['restore']());}class _0x218e2e extends _0x3d68e7[_0x40fc9b(0x2de)]{constructor(_0xc2b593,_0x3a2b5b){const _0x455bae=_0x40fc9b;super(_0xc2b593,_0x3a2b5b),_0x166045(this,'color'),_0x166045(this,'text'),(this[_0x455bae(0x112)]=_0x3a2b5b==null?void 0x0:_0x3a2b5b[_0x455bae(0x112)],this[_0x455bae(0x243)]=_0x3a2b5b==null?void 0x0:_0x3a2b5b[_0x455bae(0x243)]);}static['drawWith'](_0x209f83,_0x1f97e1){const _0x573c3f=_0x40fc9b,{text:_0x251b3b,color:_0x3a3d19}=_0x1f97e1;_0x209f83['save'](),_0x209f83[_0x573c3f(0x22b)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x3a8526=_0x209f83[_0x573c3f(0x2af)](_0x251b3b)[_0x573c3f(0x16d)],_0x3340a3=Math[_0x573c3f(0x322)](_0x3a8526+0x2*_0x4abd95,_0x24893f);_0x498ba3(_0x209f83,{'height':_0x1daaf4,'radius':0x4,'width':_0x3340a3,'fill':_0x3a3d19}),_0x209f83[_0x573c3f(0x19d)]=_0x573c3f(0x139);const _0x3ae895=_0x4abd95,_0x920570=_0x1daaf4-_0x41b8f0,_0x27e22d=_0x24893f-0x2*_0x4abd95;if(_0x3a8526>_0x27e22d){let _0x4ccef3='',_0x465b19=0x0;for(const _0xd232ce of _0x251b3b){const _0xca9c6=_0x209f83[_0x573c3f(0x2af)](_0xd232ce)[_0x573c3f(0x16d)];if(_0x465b19+_0xca9c6<=_0x27e22d-_0x209f83[_0x573c3f(0x2af)](_0x573c3f(0x1f4))[_0x573c3f(0x16d)])_0x4ccef3+=_0xd232ce,_0x465b19+=_0xca9c6;else{_0x4ccef3+=_0x573c3f(0x1f4);break;}}_0x209f83[_0x573c3f(0x31a)](_0x4ccef3,_0x3ae895,_0x920570);}else _0x209f83[_0x573c3f(0x31a)](_0x251b3b,_0x3ae895,_0x920570);_0x209f83[_0x573c3f(0x1f0)]();}['_draw'](_0x3cbf21){const _0xd04ef6=_0x40fc9b;_0x218e2e[_0xd04ef6(0x168)](_0x3cbf21,this);}}const _0x20fbd2=_0x40fc9b(0x3a6),_0x4d8294=_0x40fc9b(0x223),_0x499a78=_0x40fc9b(0x2e1),_0x4676d2=0x6,_0x293f2f=1.5,_0x39c1da=0x4,_0x124f51=1.5,_0x17e6b1=_0x40fc9b(0x319);class _0x382299{constructor(_0x3ea785,_0x13acc7,_0x3615db,_0x306987){const _0x3b0c02=_0x40fc9b;_0x166045(this,_0x3b0c02(0x2ad),[]),_0x166045(this,_0x3b0c02(0x1a3),null),_0x166045(this,_0x3b0c02(0x36b),null),_0x166045(this,_0x3b0c02(0x19a),null),_0x166045(this,'_hideTimer',null),_0x166045(this,'_eventUnsubscribe',null),(this[_0x3b0c02(0x266)]=_0x3ea785,this[_0x3b0c02(0x193)]=_0x13acc7,this[_0x3b0c02(0x1e0)]=_0x3615db,this['_document']=_0x306987,this[_0x3b0c02(0x287)]());}set[_0x40fc9b(0x1c9)](_0x15633f){const _0x247f1d=_0x40fc9b;_0x15633f?(this[_0x247f1d(0x19a)]&&this[_0x247f1d(0x19a)][_0x247f1d(0x17e)](),this[_0x247f1d(0x36b)]&&this[_0x247f1d(0x36b)][_0x247f1d(0x1b4)]()):(this[_0x247f1d(0x19a)]&&this[_0x247f1d(0x19a)][_0x247f1d(0x1b4)](),this[_0x247f1d(0x36b)]&&this[_0x247f1d(0x36b)]['hide']());}[_0x40fc9b(0x250)](){const _0x2c66eb=_0x40fc9b;for(const _0x2528dc of this[_0x2c66eb(0x2ad)])_0x2528dc[_0x2c66eb(0x250)]();this[_0x2c66eb(0x36b)]&&this[_0x2c66eb(0x36b)][_0x2c66eb(0x250)](),this[_0x2c66eb(0x19a)]&&this[_0x2c66eb(0x19a)]['dispose'](),this[_0x2c66eb(0x1a3)]&&this[_0x2c66eb(0x1a3)]['dispose'](),this[_0x2c66eb(0x269)]&&this[_0x2c66eb(0x269)]();}[_0x40fc9b(0x287)](){const _0x1c6e00=_0x40fc9b;var _0x839885;const {_docSkeleton:_0x62f2ac,_document:_0x5b613d}=this,{color:_0x5e2e18,name:_0x184df4,ranges:_0x55f76a}=this[_0x1c6e00(0x266)],_0x233c13=_0x5b613d[_0x1c6e00(0x369)](),{docsLeft:_0x1942f7,docsTop:_0x2d1a74}=_0x233c13,_0x2b2f60=new _0x55f3bb[(_0x1c6e00(0x2ca))](_0x233c13,_0x62f2ac);for(const {startOffset:_0x3bd046,endOffset:_0x3d986c,rangeType:_0x546100,segmentId:_0x24d59c,segmentPage:_0x14927d,collapsed:_0x5acffc,isActive:_0x362dd2}of _0x55f76a){const _0x294653=_0x62f2ac[_0x1c6e00(0x37b)](_0x3bd046,!0x0,_0x24d59c,_0x14927d);let _0x164e49=_0x62f2ac[_0x1c6e00(0x37b)](_0x3d986c,!0x0,_0x24d59c,_0x14927d);if(_0x164e49==null&&(_0x164e49=_0x62f2ac[_0x1c6e00(0x37b)](_0x3d986c-0x1,!0x1,_0x24d59c,_0x14927d)),_0x362dd2){const {contentBoxPointGroup:_0x3fc91a}=_0x2b2f60['getRangePointData'](_0x164e49,_0x164e49);if(_0x3fc91a['length']===0x0)continue;this[_0x1c6e00(0x166)](_0x5e2e18,_0x3fc91a,_0x1942f7,_0x2d1a74,_0x184df4),this['_eventUnsubscribe']=this[_0x1c6e00(0x325)]();}if(_0x294653&&_0x164e49){if(_0x546100===_0x4680af[_0x1c6e00(0x197)][_0x1c6e00(0x155)]){const _0xd6b8e7=new _0x55f3bb[(_0x1c6e00(0x2c6))](_0x233c13,_0x62f2ac),{pointGroup:_0x15146f}=(_0x839885=_0xd6b8e7['getRangePointData'](_0x294653,_0x164e49))!=null?_0x839885:{};if(_0x15146f==null||_0x15146f[_0x1c6e00(0x35c)]===0x0)continue;this[_0x1c6e00(0x26c)](_0x5e2e18,_0x15146f,_0x1942f7,_0x2d1a74);}else{if(!_0x5acffc){const {borderBoxPointGroup:_0x2f947c}=_0x2b2f60['getRangePointData'](_0x294653,_0x164e49);if(_0x2f947c[_0x1c6e00(0x35c)]===0x0)continue;this[_0x1c6e00(0x32d)](_0x5e2e18,_0x2f947c,_0x1942f7,_0x2d1a74);}}}}}[_0x40fc9b(0x166)](_0x467ce6,_0x1ee8ec,_0x4848e4,_0x41c57c,_0x20bb1a){const _0x3a2675=_0x40fc9b,_0x43a807=this[_0x3a2675(0x224)](_0x1ee8ec),{left:_0x5b3ea1,top:_0x42946c,height:_0x6715d2}=_0x43a807,_0x11c441=this['_getScale'](),_0x5ccd5d=_0x124f51/_0x11c441,_0x583467=new _0x3d68e7['Rect'](_0x20fbd2+_0x4680af[_0x3a2675(0x157)](_0x4676d2),{'left':_0x5b3ea1+_0x4848e4-_0x5ccd5d,'top':_0x42946c+_0x41c57c,'height':_0x6715d2,'width':_0x293f2f,'fill':_0x467ce6||_0x3d68e7[_0x3a2675(0x313)](_0x4680af[_0x3a2675(0x2d4)]['black'],0x0),'strokeWidth':_0x5ccd5d,'stroke':_0x17e6b1,'evented':!0x0});this[_0x3a2675(0x1a3)]=_0x583467,this['_scene'][_0x3a2675(0x1d4)](_0x583467,_0x55f3bb[_0x3a2675(0x25f)]);const _0x3a04d5=new _0x3d68e7[(_0x3a2675(0x21c))](_0x20fbd2+_0x4680af[_0x3a2675(0x157)](_0x4676d2),{'left':_0x5b3ea1+_0x4848e4-_0x5ccd5d,'top':_0x42946c+_0x41c57c-_0x39c1da/0x2,'height':_0x39c1da,'width':_0x39c1da,'fill':_0x467ce6||_0x3d68e7['getColor'](_0x4680af[_0x3a2675(0x2d4)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x467ce6||_0x3d68e7[_0x3a2675(0x313)](_0x4680af[_0x3a2675(0x2d4)][_0x3a2675(0x286)],0x0),'evented':!0x1});this[_0x3a2675(0x19a)]=_0x3a04d5,this[_0x3a2675(0x193)]['addObject'](_0x3a04d5,_0x55f3bb[_0x3a2675(0x25f)]);const _0x497426=new _0x218e2e(_0x20fbd2+_0x4680af[_0x3a2675(0x157)](_0x4676d2),{'left':_0x5b3ea1+_0x4848e4-_0x5ccd5d,'top':_0x42946c+_0x41c57c-_0x1daaf4,'text':_0x20bb1a,'color':_0x467ce6});this[_0x3a2675(0x36b)]=_0x497426,this[_0x3a2675(0x193)][_0x3a2675(0x1d4)](_0x497426,_0x55f3bb[_0x3a2675(0x25f)]),this[_0x3a2675(0x1c9)]=!0x1;}['_handleHover'](){const _0x1e7088=_0x40fc9b,_0x311d2b=this['_anchor'][_0x1e7088(0x30c)]['subscribeEvent'](()=>{const _0x373c64=_0x1e7088;this[_0x373c64(0x1c9)]=!0x0;}),_0x34d94c=this[_0x1e7088(0x1a3)][_0x1e7088(0x28c)][_0x1e7088(0x10c)](()=>{const _0x3c190b=_0x1e7088;this[_0x3c190b(0x149)]&&clearTimeout(this[_0x3c190b(0x149)]),this['_hideTimer']=setTimeout(()=>{const _0x286652=_0x3c190b;this[_0x286652(0x1c9)]=!0x1;},0x7d0);});return()=>{const _0x147cae=_0x1e7088;_0x311d2b[_0x147cae(0x2bf)](),_0x34d94c['unsubscribe']();};}[_0x40fc9b(0x32d)](_0x50bd95,_0x38ba01,_0xe1a465,_0x1ac053){const _0x2cccbc=_0x40fc9b,_0x495dcf=new _0x4680af[(_0x2cccbc(0x136))](_0x50bd95)[_0x2cccbc(0x2e2)](0.2)[_0x2cccbc(0x3a5)](),_0x1d1ae4=new _0x3d68e7[(_0x2cccbc(0x26d))](_0x4d8294+_0x4680af[_0x2cccbc(0x157)](_0x4676d2),{'pointsGroup':_0x38ba01,'fill':_0x495dcf||_0x3d68e7[_0x2cccbc(0x313)](_0x4680af[_0x2cccbc(0x2d4)]['black'],0.2),'left':_0xe1a465,'top':_0x1ac053,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2cccbc(0x2ad)][_0x2cccbc(0x2c3)](_0x1d1ae4),this['_scene'][_0x2cccbc(0x1d4)](_0x1d1ae4,_0x55f3bb['TEXT_RANGE_LAYER_INDEX']);}[_0x40fc9b(0x26c)](_0x2bbf2d,_0x284627,_0x511006,_0x468c41){const _0x2b22e5=_0x40fc9b,_0x2d1689=new _0x4680af[(_0x2b22e5(0x136))](_0x2bbf2d)[_0x2b22e5(0x2e2)](0.2)[_0x2b22e5(0x3a5)](),_0x1f2115=new _0x3d68e7['RegularPolygon'](_0x499a78+_0x4680af[_0x2b22e5(0x157)](_0x4676d2),{'pointsGroup':_0x284627,'fill':_0x2d1689||_0x3d68e7[_0x2b22e5(0x313)](_0x4680af[_0x2b22e5(0x2d4)][_0x2b22e5(0x286)],0.2),'left':_0x511006,'top':_0x468c41,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2b22e5(0x2ad)][_0x2b22e5(0x2c3)](_0x1f2115),this[_0x2b22e5(0x193)][_0x2b22e5(0x1d4)](_0x1f2115,_0x55f3bb[_0x2b22e5(0x25f)]);}['_getAnchorBounding'](_0x2c9ee8){const _0x57fa1d=_0x2c9ee8[0x0],_0x145955=_0x57fa1d[0x0],_0x20130e=_0x57fa1d[0x2],{x:_0x411ff1,y:_0x5e4836}=_0x145955,{x:_0x2bae39,y:_0x22b7f2}=_0x20130e;return{'left':_0x411ff1,'top':_0x5e4836,'width':_0x2bae39-_0x411ff1,'height':_0x22b7f2-_0x5e4836};}[_0x40fc9b(0x265)](){const _0x4a9e40=_0x40fc9b,{scaleX:_0xaa3124,scaleY:_0x42edce}=this[_0x4a9e40(0x193)][_0x4a9e40(0x330)]();return Math['max'](_0xaa3124,_0x42edce);}}var _0x17c846=Object[_0x40fc9b(0x251)],_0x149ee2=(_0x392005,_0x24f6ad,_0x298259,_0x4e79ae)=>{const _0x5295ce=_0x40fc9b;for(var _0x483311=_0x4e79ae>0x1?void 0x0:_0x4e79ae?_0x17c846(_0x24f6ad,_0x298259):_0x24f6ad,_0x1633d9=_0x392005[_0x5295ce(0x35c)]-0x1,_0x1299c7;_0x1633d9>=0x0;_0x1633d9--)(_0x1299c7=_0x392005[_0x1633d9])&&(_0x483311=_0x1299c7(_0x483311)||_0x483311);return _0x483311;},_0x110a1b=(_0x232eae,_0x3c0882)=>(_0x2fbd28,_0x191c1a)=>_0x3c0882(_0x2fbd28,_0x191c1a,_0x232eae);let _0x5ec101=class extends _0x4680af[_0x40fc9b(0x2f0)]{constructor(_0x416ae8,_0x1a5bda,_0x1c027b,_0x3ce7ed,_0x4c971e){const _0x5202c4=_0x40fc9b;super(),_0x166045(this,_0x5202c4(0x153),[]),_0x166045(this,_0x5202c4(0x169),[]),(this['_context']=_0x416ae8,this[_0x5202c4(0x213)]=_0x1a5bda,this['_collabCursorController']=_0x1c027b,this[_0x5202c4(0x35e)]=_0x3ce7ed,this['_themeService']=_0x4c971e,this[_0x5202c4(0x263)]());}[_0x40fc9b(0x263)](){const _0x23d3b7=_0x40fc9b,_0x41d7d3=this[_0x23d3b7(0x1ed)][_0x23d3b7(0x1c6)],_0x56ef0c=this[_0x23d3b7(0x213)];this[_0x23d3b7(0x219)](_0x172b9a[_0x23d3b7(0x18c)]([this[_0x23d3b7(0x206)][_0x23d3b7(0x14c)](_0x41d7d3),this[_0x23d3b7(0x27d)][_0x23d3b7(0x1fd)]])[_0x23d3b7(0x1d3)](_0x353212[_0x23d3b7(0x1bc)](([_0x3bd799,_0x336226])=>({'skeleton':_0x56ef0c[_0x23d3b7(0x28b)](),'cursors':[..._0x3bd799[_0x23d3b7(0x1c3)]()]['flatMap'](_0x3d92c1=>({..._0x3d92c1,'color':this['_themeService']['getColorFromTheme'](_0x3d92c1[_0x23d3b7(0x112)])}))})))[_0x23d3b7(0x2a1)](_0x160eb1=>{const _0x56ff94=_0x23d3b7;if(this[_0x56ff94(0x39f)](),_0x160eb1){const {skeleton:_0xef2bfd,cursors:_0x2e1141}=_0x160eb1;this[_0x56ff94(0x1ff)](_0xef2bfd,_0x2e1141);}})),this[_0x23d3b7(0x199)](),this['_initCommandExecutedListener']();}[_0x40fc9b(0x1ff)](_0x5b5891,_0x5e4579){const _0x5d6bad=_0x40fc9b,{scene:_0xb5cad2,mainComponent:_0x54a029}=this['_context'],_0x23b5a9=_0x5e4579[_0x5d6bad(0x1bc)](_0x5aa05e=>new _0x382299(_0x5aa05e,_0xb5cad2,_0x5b5891,_0x54a029));this['_cursorShapes']=_0x23b5a9,this[_0x5d6bad(0x169)]=_0x5e4579;}[_0x40fc9b(0x33f)](){const _0x457c42=_0x40fc9b;this[_0x457c42(0x39f)]();const {scene:_0x514a76,mainComponent:_0x34af06}=this[_0x457c42(0x1ed)],_0x1fe2e0=this[_0x457c42(0x213)][_0x457c42(0x28b)](),_0xf229e5=this[_0x457c42(0x169)][_0x457c42(0x1bc)](_0x45e4ef=>new _0x382299(_0x45e4ef,_0x514a76,_0x1fe2e0,_0x34af06));this[_0x457c42(0x153)]=_0xf229e5;}[_0x40fc9b(0x39f)](){const _0x30c872=_0x40fc9b;this['_cursorShapes'][_0x30c872(0x1a5)](_0xa1f533=>_0xa1f533['dispose']()),this[_0x30c872(0x153)]=[];}[_0x40fc9b(0x2aa)](){const _0x25145c=_0x40fc9b,_0x7d2e5=[_0x55f3bb[_0x25145c(0x167)]['id']];this[_0x25145c(0x219)](this[_0x25145c(0x35e)][_0x25145c(0x2e4)](_0x54c253=>{const _0x23d3ac=_0x25145c;_0x7d2e5[_0x23d3ac(0x34c)](_0x54c253['id'])&&_0x54c253[_0x23d3ac(0x1be)][_0x23d3ac(0x1c6)]===this['_context']['unitId']&&this[_0x23d3ac(0x33f)]();}));}[_0x40fc9b(0x199)](){const _0x3a2955=_0x40fc9b;this[_0x3a2955(0x219)](_0x4680af['fromEventSubject'](this['_context']['engine'][_0x3a2955(0x222)])[_0x3a2955(0x1d3)](_0x353212['filter'](_0x58bec3=>_0x58bec3[_0x3a2955(0x131)]===_0x3d68e7[_0x3a2955(0x227)][_0x3a2955(0x152)]),_0x353212[_0x3a2955(0x387)](0x10))[_0x3a2955(0x2a1)](()=>{const _0x258dc2=_0x3a2955;this[_0x258dc2(0x33f)]();}));}};_0x5ec101=_0x149ee2([_0x110a1b(0x1,_0x4680af[_0x40fc9b(0x203)](_0x4f8be8[_0x40fc9b(0x127)])),_0x110a1b(0x2,_0x4680af[_0x40fc9b(0x203)](_0x3b8110)),_0x110a1b(0x3,_0x4680af['ICommandService']),_0x110a1b(0x4,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x264)]))],_0x5ec101);const _0x42505a=0x1,_0x3abb80=1.5;class _0x1576e2 extends _0x3d68e7[_0x40fc9b(0x2de)]{constructor(_0x227b85,_0x55efa7){const _0x1fd42c=_0x40fc9b;super(_0x227b85,_0x55efa7),_0x166045(this,_0x1fd42c(0x3ae)),_0x166045(this,_0x1fd42c(0x2d1),!0x1),_0x166045(this,_0x1fd42c(0x296)),_0x166045(this,_0x1fd42c(0x144),''),_0x166045(this,'_labelPosition',_0x1fd42c(0x311)),_0x166045(this,_0x1fd42c(0x242)),(_0x55efa7&&this[_0x1fd42c(0x12b)](_0x55efa7),this[_0x1fd42c(0x30c)]['subscribeEvent'](()=>this[_0x1fd42c(0x12b)]({'hovered':!0x0})),this['onPointerLeave$'][_0x1fd42c(0x10c)](()=>this[_0x1fd42c(0x12b)]({'hovered':!0x1})));}[_0x40fc9b(0x12b)](_0x1202af){const _0x19d5eb=_0x40fc9b;var _0x411e31,_0x3cb629,_0x232bef,_0x2ac8c,_0x19e8eb,_0xe2d7c0;this[_0x19d5eb(0x3ae)]=(_0x411e31=_0x1202af['color'])!=null?_0x411e31:this[_0x19d5eb(0x3ae)],this['_hovered']=(_0x3cb629=_0x1202af[_0x19d5eb(0x350)])!=null?_0x3cb629:this[_0x19d5eb(0x2d1)],this[_0x19d5eb(0x296)]=(_0x232bef=_0x1202af[_0x19d5eb(0x2c7)])!=null?_0x232bef:this['_range'],this[_0x19d5eb(0x144)]=(_0x2ac8c=_0x1202af[_0x19d5eb(0x211)])!=null?_0x2ac8c:this[_0x19d5eb(0x144)],this['_labelPosition']=(_0x19e8eb=_0x1202af['labelPosition'])!=null?_0x19e8eb:this[_0x19d5eb(0x356)],this[_0x19d5eb(0x242)]=(_0xe2d7c0=_0x1202af['backgroundColor'])!=null?_0xe2d7c0:this['_backgroundColor'],this[_0x19d5eb(0x2b3)]({'width':_0x1202af['width'],'height':_0x1202af[_0x19d5eb(0x137)]});}['onMouseMove'](_0x2f8e1b){const _0xac806d=_0x40fc9b,{row:_0x3fe9eb,column:_0x3d06ac}=_0x2f8e1b;if(_0x3fe9eb>=this['_range'][_0xac806d(0x148)]&&_0x3fe9eb<=this[_0xac806d(0x296)][_0xac806d(0x3b5)]&&_0x3d06ac>=this[_0xac806d(0x296)][_0xac806d(0x333)]&&_0x3d06ac<=this[_0xac806d(0x296)]['endColumn']){this[_0xac806d(0x12b)]({'hovered':!0x0});return;}this[_0xac806d(0x12b)]({'hovered':!0x1});}[_0x40fc9b(0x14a)](_0x4b3c9e){return!0x1;}[_0x40fc9b(0x1c7)](_0x5e57eb){const _0x5b034f=_0x40fc9b;_0x3d68e7[_0x5b034f(0x21c)]['drawWith'](_0x5e57eb,{'width':this['width'],'height':this['height'],'strokeWidth':_0x3abb80,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x5b034f(0x242)]}),this[_0x5b034f(0x2d1)]&&(_0x5e57eb[_0x5b034f(0x31e)](),_0x5e57eb[_0x5b034f(0x1b2)](0x1,0x0,0x0,0x1,this[_0x5b034f(0x16d)],this[_0x5b034f(0x356)]===_0x5b034f(0x18a)?0x0:-_0x1daaf4),_0x218e2e['drawWith'](_0x5e57eb,{'text':this[_0x5b034f(0x144)],'color':this['_color']}),_0x5e57eb['restore']());}}var _0x186a87=Object[_0x40fc9b(0x251)],_0x4151d5=(_0x2c31b3,_0x2fc06e,_0x40e3ae,_0x97fb52)=>{const _0x51ccbe=_0x40fc9b;for(var _0x1a38b5=_0x97fb52>0x1?void 0x0:_0x97fb52?_0x186a87(_0x2fc06e,_0x40e3ae):_0x2fc06e,_0x2f50c6=_0x2c31b3[_0x51ccbe(0x35c)]-0x1,_0x537d27;_0x2f50c6>=0x0;_0x2f50c6--)(_0x537d27=_0x2c31b3[_0x2f50c6])&&(_0x1a38b5=_0x537d27(_0x1a38b5)||_0x1a38b5);return _0x1a38b5;},_0x106f2c=(_0x1c4694,_0x550c4e)=>(_0x1714a7,_0x1d3572)=>_0x550c4e(_0x1714a7,_0x1d3572,_0x1c4694);const _0x48e5c5=0x1389;let _0x433c42=class extends _0x4680af[_0x40fc9b(0x2f0)]{constructor(_0x5a2a0b,_0x3478e2,_0x349af5,_0x398254){const _0x245652=_0x40fc9b;super(),_0x166045(this,_0x245652(0x169),new Set()),_0x166045(this,'_lastPointer',null),(this['_context']=_0x5a2a0b,this[_0x245652(0x109)]=_0x3478e2,this[_0x245652(0x206)]=_0x349af5,this[_0x245652(0x27d)]=_0x398254,this['_init']());}[_0x40fc9b(0x263)](){const _0x389b82=_0x40fc9b;this[_0x389b82(0x109)]['currentSkeleton$']['pipe'](_0x353212[_0x389b82(0x385)](this[_0x389b82(0x2cb)]),_0x353212['switchMap'](_0x28aa2f=>{const _0xa33d08=_0x389b82;if(_0x28aa2f){const _0x32ae7a=_0x28aa2f['sheetId'];return _0x172b9a['combineLatest'](this[_0xa33d08(0x206)][_0xa33d08(0x14c)](this[_0xa33d08(0x1ed)]['unitId']),this[_0xa33d08(0x27d)][_0xa33d08(0x1fd)])[_0xa33d08(0x1d3)](_0x353212[_0xa33d08(0x1bc)](([_0x5d6363,_0x15baa1])=>{const _0x2f988a=_0xa33d08,_0x5904fd=new Map();return _0x5d6363[_0x2f988a(0x1a5)]((_0x5842c2,_0x6f9698)=>{const _0x20e7ed=_0x2f988a;if(_0x5842c2[_0x20e7ed(0x35d)]===_0x32ae7a){const _0x4f3a40={..._0x5842c2};_0x4f3a40['color']=this[_0x20e7ed(0x27d)][_0x20e7ed(0x19c)](_0x5842c2[_0x20e7ed(0x112)]),_0x5904fd[_0x20e7ed(0x210)](_0x6f9698,_0x4f3a40);}}),{'skeleton':_0x28aa2f,'cursors':_0x5904fd};}));}return _0x172b9a['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x2c837d,cursors:_0x16da78})=>{const _0x3e48ee=_0x389b82;this[_0x3e48ee(0x39f)](),_0x2c837d&&this[_0x3e48ee(0x1ff)](_0x2c837d,_0x16da78);}),this[_0x389b82(0x109)][_0x389b82(0x2a8)][_0x389b82(0x2a1)](_0xdc574a=>{const _0x3ff87e=_0x389b82;if(_0xdc574a==null)return;const {skeleton:_0x3ff1a2}=_0xdc574a,{scene:_0x364b23}=this[_0x3ff87e(0x1ed)];_0x364b23[_0x3ff87e(0x258)][_0x3ff87e(0x10c)](_0x4680af[_0x3ff87e(0x332)](_0x1dfb3b=>{const _0x268dbf=_0x3ff87e;var _0x18ca46,_0x4a75f9;const {offsetX:_0x46aed7,offsetY:_0x14f387}=_0x1dfb3b,{x:_0x27e068,y:_0x1e7675}=_0x364b23['getRelativeToViewportCoord'](_0x3d68e7[_0x268dbf(0x123)][_0x268dbf(0x11e)]([_0x46aed7,_0x14f387])),{scaleX:_0x57bb8b,scaleY:_0x3c0841}=_0x364b23['getAncestorScale'](),_0x1fa8ea=_0x364b23[_0x268dbf(0x30d)](_0x3d68e7['SHEET_VIEWPORT_KEY'][_0x268dbf(0x306)]),_0x11c6d5=_0x364b23['getVpScrollXYInfoByPosToVp'](_0x3d68e7[_0x268dbf(0x123)][_0x268dbf(0x11e)]([_0x27e068,_0x1e7675]),_0x1fa8ea),_0x4f49b3=_0x3ff1a2[_0x268dbf(0x3b9)](_0x46aed7,_0x14f387,_0x57bb8b,_0x3c0841,_0x11c6d5);((_0x18ca46=this[_0x268dbf(0x30f)])==null?void 0x0:_0x18ca46[_0x268dbf(0x1db)])===_0x4f49b3['column']&&((_0x4a75f9=this['_lastPointer'])==null?void 0x0:_0x4a75f9['row'])===_0x4f49b3[_0x268dbf(0x2c1)]||this['_cursors'][_0x268dbf(0x1a5)](_0x55c481=>{const _0x19e2eb=_0x268dbf;_0x55c481[_0x19e2eb(0x27f)](_0x4f49b3);});},0x64));});}[_0x40fc9b(0x1ff)](_0x57297e,_0xd47e73){const _0x52bbc8=_0x40fc9b;var _0x5cb54;const _0x3d2a46=(_0x5cb54=this[_0x52bbc8(0x109)][_0x52bbc8(0x293)]())==null?void 0x0:_0x5cb54[_0x52bbc8(0x22d)];if(!_0x3d2a46)return;const _0x429db6=this['_getSheetObject']();if(!_0x429db6)return;this[_0x52bbc8(0x169)]['forEach'](_0x3bd9a8=>{const _0x4d8d5f=_0x52bbc8;_0x3bd9a8[_0x4d8d5f(0x172)]();});const {scene:_0x50e900}=_0x429db6,_0x31a91d=_0x4ab1b3(Array[_0x52bbc8(0x3b0)](_0xd47e73[_0x52bbc8(0x1c3)]()))[_0x52bbc8(0x1bc)](_0xe3adce=>{const _0x5db930=_0x52bbc8,{color:_0x5349dd,range:_0x238637,name:_0x46d254,selection:_0x4f82a9,sheetID:_0x26757a}=_0xe3adce,{startColumn:_0x1cc987,startRow:_0x519b68,endColumn:_0x16a43c,endRow:_0x925b04}=_0x238637,_0x73b24c=_0x3489ca[_0x5db930(0x2ce)](_0x519b68,_0x1cc987,_0x50e900,_0x3d2a46),_0x3ebb9c=_0x3489ca['getCoordByCell'](_0x925b04,_0x16a43c,_0x50e900,_0x3d2a46),{columnHeaderHeightAndMarginTop:_0x2acb55}=_0x3d2a46,{startX:_0x5f4f1b,startY:_0xdac1ba}=_0x73b24c,{endX:_0x594e48,endY:_0x4b6f9a}=_0x3ebb9c,_0x327638=_0x594e48-_0x5f4f1b,_0x5c302a=_0x4b6f9a-_0xdac1ba,_0xac9254={'labelPosition':_0xdac1ba-_0x2acb55>=_0x1daaf4?'top':_0x5db930(0x18a),'sheetID':_0x26757a,'range':_0x238637,'color':_0x5349dd,'name':_0x46d254,'selection':_0x4f82a9,'left':_0x5f4f1b,'top':_0xdac1ba,'width':_0x327638,'height':_0x5c302a,'evented':!0x1,'zIndex':_0x48e5c5};return new _0x1576e2(_0x46d254,_0xac9254);});_0x50e900[_0x52bbc8(0x1e1)](_0x31a91d,_0x42505a),this['_cursors']=new Set(_0x31a91d);}[_0x40fc9b(0x39f)](){const _0x38b811=_0x40fc9b;var _0x29f03f;(_0x29f03f=this[_0x38b811(0x169)])==null||_0x29f03f['forEach'](_0x2c1eb3=>_0x2c1eb3[_0x38b811(0x250)]());}[_0x40fc9b(0x238)](){const _0x1ab068=_0x40fc9b;return _0x3489ca[_0x1ab068(0x20a)](this[_0x1ab068(0x1ed)][_0x1ab068(0x25c)],this[_0x1ab068(0x1ed)]);}};_0x433c42=_0x4151d5([_0x106f2c(0x1,_0x4680af['Inject'](_0x3489ca[_0x40fc9b(0x352)])),_0x106f2c(0x2,_0x4680af[_0x40fc9b(0x203)](_0x3b8110)),_0x106f2c(0x3,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x264)]))],_0x433c42);function _0x4ab1b3(_0x6a52d5){const _0xa0e994=_0x40fc9b,_0x13938b=new Map();return _0x6a52d5['forEach'](_0x2fb5e6=>{const _0x5c9f1c=_0x153f;if(_0x13938b[_0x5c9f1c(0x393)](_0x2fb5e6[_0x5c9f1c(0x33e)])){const _0x1f0238=_0x13938b[_0x5c9f1c(0x2f2)](_0x2fb5e6['selection']);_0x1f0238['name']+=',\x20'+_0x2fb5e6['name'];}else _0x13938b[_0x5c9f1c(0x210)](_0x2fb5e6[_0x5c9f1c(0x33e)],_0x2fb5e6);}),Array[_0xa0e994(0x3b0)](_0x13938b[_0xa0e994(0x1c3)]());}var _0x186db4=Object[_0x40fc9b(0x251)],_0x298306=(_0x3b66bb,_0x3bd5c4,_0x5833df,_0x1c4144)=>{for(var _0x24d8ee=_0x1c4144>0x1?void 0x0:_0x1c4144?_0x186db4(_0x3bd5c4,_0x5833df):_0x3bd5c4,_0x6368b7=_0x3b66bb['length']-0x1,_0xfd4fae;_0x6368b7>=0x0;_0x6368b7--)(_0xfd4fae=_0x3b66bb[_0x6368b7])&&(_0x24d8ee=_0xfd4fae(_0x24d8ee)||_0x24d8ee);return _0x24d8ee;},_0x25d7a6=(_0x59285c,_0xfecbbf)=>(_0x3839dd,_0x49d3fd)=>_0xfecbbf(_0x3839dd,_0x49d3fd,_0x59285c);let _0x55dfa9=class extends _0x4680af[_0x40fc9b(0x39a)]{constructor(_0x27f130,_0x3e7d08,_0x116a96,_0x1b4fb2,_0x5aea06,_0x39391b){const _0x2a39df=_0x40fc9b;super(),this[_0x2a39df(0x29c)]=_0x27f130,this[_0x2a39df(0x1a6)]=_0x3e7d08,this['_collaborationUIEventService']=_0x116a96,this[_0x2a39df(0x375)]=_0x1b4fb2,this['_notificationService']=_0x5aea06,this[_0x2a39df(0x2cf)]=_0x39391b,this['_setupBeforeClosingHandler'](),this[_0x2a39df(0x282)]();}['_setupBeforeClosingHandler'](){const _0x19d6af=_0x40fc9b;this[_0x19d6af(0x219)](this[_0x19d6af(0x29c)][_0x19d6af(0x21d)](()=>{const _0x4f60a2=_0x19d6af;if(this[_0x4f60a2(0x1a6)][_0x4f60a2(0x2d3)][_0x4f60a2(0x174)])return this[_0x4f60a2(0x2cf)]['t'](_0x4f60a2(0x165));}));}[_0x40fc9b(0x282)](){const _0x36940c=_0x40fc9b;this[_0x36940c(0x219)](this[_0x36940c(0x184)][_0x36940c(0x2d9)][_0x36940c(0x2a1)](_0x1d5d34=>{const _0x404ce1=_0x36940c;_0x1d5d34['id']===_0x191332[_0x404ce1(0x25d)]['OTHER_CLIENT_EDITING']&&this[_0x404ce1(0x375)][_0x404ce1(0x1b4)]({'type':_0x42eb8c[_0x404ce1(0x17a)][_0x404ce1(0x36d)],'content':this[_0x404ce1(0x2cf)]['t'](_0x404ce1(0x284))}),_0x1d5d34['id']===_0x191332[_0x404ce1(0x25d)][_0x404ce1(0x35a)]&&this[_0x404ce1(0x375)][_0x404ce1(0x1b4)]({'type':_0x42eb8c[_0x404ce1(0x17a)][_0x404ce1(0x36d)],'content':this[_0x404ce1(0x2cf)]['t'](_0x404ce1(0x12e))}),_0x1d5d34['id']===_0x191332[_0x404ce1(0x25d)][_0x404ce1(0x1df)]&&this[_0x404ce1(0x1af)][_0x404ce1(0x1b4)]({'title':this[_0x404ce1(0x2cf)]['t'](_0x404ce1(0x1f8)),'content':this[_0x404ce1(0x2cf)]['t']('permission.content'),'type':_0x404ce1(0x111),'duration':0x0}),_0x1d5d34['id']===_0x191332[_0x404ce1(0x25d)][_0x404ce1(0x2e7)]&&this[_0x404ce1(0x375)][_0x404ce1(0x1b4)]({'type':_0x42eb8c[_0x404ce1(0x17a)][_0x404ce1(0x1d8)],'content':this['_localeService']['t'](_0x404ce1(0x12e))+'('+_0x1d5d34['data']+')'}),_0x1d5d34['id']===_0x191332['CollaborationUIEventId'][_0x404ce1(0x2bb)]&&this[_0x404ce1(0x375)][_0x404ce1(0x1b4)]({'type':_0x42eb8c[_0x404ce1(0x17a)][_0x404ce1(0x36d)],'content':this[_0x404ce1(0x2cf)]['t'](_0x1d5d34[_0x404ce1(0x1e3)]||'')}),_0x1d5d34['id']===_0x191332['CollaborationUIEventId'][_0x404ce1(0x3b7)]&&this[_0x404ce1(0x375)][_0x404ce1(0x1b4)]({'type':_0x42eb8c[_0x404ce1(0x17a)][_0x404ce1(0x36d)],'content':this[_0x404ce1(0x2cf)]['t'](_0x404ce1(0x33d))}),_0x1d5d34['id']===_0x191332[_0x404ce1(0x25d)][_0x404ce1(0x104)]&&this[_0x404ce1(0x375)][_0x404ce1(0x1b4)]({'type':_0x42eb8c[_0x404ce1(0x17a)]['Error'],'content':this[_0x404ce1(0x2cf)]['t'](_0x404ce1(0x241))}),_0x1d5d34['id']===_0x191332[_0x404ce1(0x25d)][_0x404ce1(0x1ad)]&&this[_0x404ce1(0x375)][_0x404ce1(0x1b4)]({'type':_0x42eb8c[_0x404ce1(0x17a)][_0x404ce1(0x1d8)],'content':this[_0x404ce1(0x2cf)]['t']('session.collaboration-timeout')});}));}};_0x55dfa9=_0x298306([_0x25d7a6(0x0,_0x38a45b['IBeforeCloseService']),_0x25d7a6(0x1,_0x191332[_0x40fc9b(0x281)]),_0x25d7a6(0x2,_0x4680af[_0x40fc9b(0x203)](_0x191332['CollaborationUIEventService'])),_0x25d7a6(0x3,_0x38a45b['IMessageService']),_0x25d7a6(0x4,_0x38a45b[_0x40fc9b(0x331)]),_0x25d7a6(0x5,_0x4680af['Inject'](_0x4680af[_0x40fc9b(0x2ec)]))],_0x55dfa9);const _0x668921='collaboration-client-ui.config',_0x11ea6e={};var _0xafdd0a=Object[_0x40fc9b(0x251)],_0x88c3a8=(_0x258873,_0x5ab387,_0x301f0e,_0x477978)=>{const _0x4d1576=_0x40fc9b;for(var _0x185509=_0x477978>0x1?void 0x0:_0x477978?_0xafdd0a(_0x5ab387,_0x301f0e):_0x5ab387,_0x4639e9=_0x258873[_0x4d1576(0x35c)]-0x1,_0x4b981d;_0x4639e9>=0x0;_0x4639e9--)(_0x4b981d=_0x258873[_0x4639e9])&&(_0x185509=_0x4b981d(_0x185509)||_0x185509);return _0x185509;},_0x5d6ac2=(_0xd36e87,_0x962788)=>(_0xb1d0e2,_0x3ee059)=>_0x962788(_0xb1d0e2,_0x3ee059,_0xd36e87);let _0x22ee97=class{constructor(_0x3cea4b,_0x3a9b72){const _0x3f8e7d=_0x40fc9b;this[_0x3f8e7d(0x3b8)]=_0x3cea4b,this[_0x3f8e7d(0x14e)]=_0x3a9b72;}[_0x40fc9b(0x3b3)](_0x27c597){const _0x2657f6=_0x40fc9b;this[_0x2657f6(0x2db)](_0x27c597),this['_transformPreviousActiveRange'](_0x27c597);}[_0x40fc9b(0x276)](_0x5aa717){const _0x502604=_0x40fc9b,{unitID:_0x287fa3}=_0x5aa717,_0x120fd3=this[_0x502604(0x14e)][_0x502604(0x28a)](_0x287fa3)[_0x502604(0x1c2)](_0x55f3bb[_0x502604(0x28e)]),{redoCache:_0x350f74}=_0x120fd3[_0x502604(0x21b)]();if(_0x350f74[_0x502604(0x35c)]===0x0)return _0x5aa717;let _0x4d56c4=_0x4680af['Tools'][_0x502604(0x317)](_0x5aa717[_0x502604(0x24e)][0x0]);for(let _0x12f591=0x0;_0x12f591<_0x350f74[_0x502604(0x35c)];_0x12f591++){const _0x3868e7={'id':_0x502604(0x2fa),'params':{..._0x350f74[_0x12f591]}},_0x313729=this[_0x502604(0x3b8)][_0x502604(0x37d)](_0x4d56c4,_0x3868e7,!0x1);if(_0x680f14[_0x502604(0x2ab)](_0x313729))throw _0x313729[_0x502604(0x111)];_0x4d56c4=_0x313729['m1Prime'];}return{..._0x4680af[_0x502604(0x151)][_0x502604(0x317)](_0x5aa717),'mutations':[_0x4d56c4]};}[_0x40fc9b(0x2db)](_0x5e38e7){const _0x2df550=_0x40fc9b,{unitID:_0x50b1b7}=_0x5e38e7,_0x2d985e=this[_0x2df550(0x14e)]['getRenderById'](_0x50b1b7)[_0x2df550(0x1c2)](_0x55f3bb[_0x2df550(0x28e)]),{undoCache:_0x56d840,redoCache:_0x5a6bc9}=_0x2d985e[_0x2df550(0x21b)]();if(_0x56d840[_0x2df550(0x35c)]===0x0||_0x5a6bc9[_0x2df550(0x35c)]===0x0)return;const _0x1cef73=[],_0x32a83b=[];let _0x51528e=_0x4680af['Tools']['deepClone'](_0x5e38e7['mutations'][0x0]),_0x189a8e=_0x4680af['Tools'][_0x2df550(0x317)](_0x5e38e7[_0x2df550(0x24e)][0x0]);for(let _0x25759b=_0x56d840['length']-0x1;_0x25759b>=0x0;_0x25759b--){const _0x2edb71={'id':_0x2df550(0x2fa),'params':{..._0x56d840[_0x25759b]}},_0x866c4a={'id':_0x2df550(0x2fa),'params':{..._0x5a6bc9[_0x25759b]}},_0xff7f90=this[_0x2df550(0x3b8)][_0x2df550(0x37d)](_0x51528e,_0x2edb71,!0x1),_0x351dc5=this[_0x2df550(0x3b8)][_0x2df550(0x37d)](_0x189a8e,_0x866c4a,!0x1);if(_0x680f14['isTransformMutationFailure'](_0xff7f90))throw _0xff7f90['error'];if(_0x680f14[_0x2df550(0x2ab)](_0x351dc5))throw _0x351dc5[_0x2df550(0x111)];_0x1cef73['unshift'](_0xff7f90[_0x2df550(0x336)][_0x2df550(0x1be)]),_0x32a83b[_0x2df550(0x22c)](_0x351dc5['m2Prime'][_0x2df550(0x1be)]),_0x51528e=_0xff7f90[_0x2df550(0x283)],_0x189a8e=_0x351dc5[_0x2df550(0x283)];}_0x2d985e[_0x2df550(0x347)]({'undoCache':_0x1cef73,'redoCache':_0x32a83b});}[_0x40fc9b(0x38f)](_0x1c9c53){const _0x53d78b=_0x40fc9b,{unitID:_0x17fee5}=_0x1c9c53,_0x46014a=this[_0x53d78b(0x14e)]['getRenderById'](_0x17fee5)[_0x53d78b(0x1c2)](_0x55f3bb[_0x53d78b(0x28e)]),_0x3f102d=_0x46014a[_0x53d78b(0x1ea)]();if(_0x3f102d==null)return;const _0x106bb5=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1c9c53[_0x53d78b(0x1d7)],'actions':null,'textRanges':[_0x3f102d]}}],_0x390faa=this[_0x53d78b(0x3b8)]['transformMutationsWithChangeset'](_0x1c9c53,_0x106bb5);if(!_0x680f14[_0x53d78b(0x277)](_0x390faa))throw _0x390faa['error'];const _0x265a7a=_0x390faa[_0x53d78b(0x336)][0x0][_0x53d78b(0x1be)][_0x53d78b(0x21e)];Array['isArray'](_0x265a7a)&&_0x265a7a[_0x53d78b(0x35c)]&&_0x46014a['setActiveRange'](_0x265a7a[0x0]);}};_0x22ee97=_0x88c3a8([_0x5d6ac2(0x0,_0x680f14['ITransformService']),_0x5d6ac2(0x1,_0x3d68e7['IRenderManagerService'])],_0x22ee97);var _0x39d5e8=Object['getOwnPropertyDescriptor'],_0x5ccbab=(_0x29cd7a,_0x1286ae,_0x1b01ff,_0x529ecf)=>{const _0xeb141a=_0x40fc9b;for(var _0x50e8c2=_0x529ecf>0x1?void 0x0:_0x529ecf?_0x39d5e8(_0x1286ae,_0x1b01ff):_0x1286ae,_0x478b91=_0x29cd7a[_0xeb141a(0x35c)]-0x1,_0x2ba2b0;_0x478b91>=0x0;_0x478b91--)(_0x2ba2b0=_0x29cd7a[_0x478b91])&&(_0x50e8c2=_0x2ba2b0(_0x50e8c2)||_0x50e8c2);return _0x50e8c2;},_0x2d7fe6=(_0x358035,_0x4d9572)=>(_0x33a57f,_0x4ff873)=>_0x4d9572(_0x33a57f,_0x4ff873,_0x358035);let _0xb3d4fd=class{constructor(_0x356077,_0xe54c86,_0x275059){const _0x5c3e77=_0x40fc9b;this[_0x5c3e77(0x101)]=_0x356077,this[_0x5c3e77(0x3b8)]=_0xe54c86,this[_0x5c3e77(0x18b)]=_0x275059;}[_0x40fc9b(0x2c5)](_0x1f09d4){const _0x2f22b2=_0x40fc9b;this[_0x2f22b2(0x39e)](_0x1f09d4);}[_0x40fc9b(0x276)](_0x7e0c01){const _0x444266=_0x40fc9b,{unitID:_0x1f4f1e}=_0x7e0c01,{collaboration:_0x50b13c}=this[_0x444266(0x18b)]['getStateCache'](_0x1f4f1e);if(_0x50b13c[_0x444266(0x35c)]===0x0)return _0x7e0c01;let _0x4b1a9e=_0x4680af[_0x444266(0x151)][_0x444266(0x317)](_0x7e0c01[_0x444266(0x24e)][0x0]);for(let _0x2923af=0x0;_0x2923af<_0x50b13c[_0x444266(0x35c)];_0x2923af++){const _0x5815c3={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x50b13c[_0x2923af][_0x444266(0x1c6)],..._0x50b13c[_0x2923af][_0x444266(0x337)]}},_0x2f9a19=this[_0x444266(0x3b8)]['transformMutation'](_0x4b1a9e,_0x5815c3,!0x1);if(_0x680f14[_0x444266(0x2ab)](_0x2f9a19))throw _0x2f9a19['error'];_0x4b1a9e=_0x2f9a19[_0x444266(0x283)];}return{..._0x4680af[_0x444266(0x151)][_0x444266(0x317)](_0x7e0c01),'mutations':[_0x4b1a9e]};}[_0x40fc9b(0x39e)](_0x3681cd){const _0x7f2218=_0x40fc9b,{unitID:_0x15eb23}=_0x3681cd,{history:_0x10906a,collaboration:_0x121f0f}=this[_0x7f2218(0x18b)]['getStateCache'](_0x15eb23);if(_0x10906a[_0x7f2218(0x35c)]===0x0&&_0x121f0f[_0x7f2218(0x35c)]===0x0)return;const _0x318f6a=[],_0x308564=[];let _0x2a285f=_0x4680af[_0x7f2218(0x151)][_0x7f2218(0x317)](_0x3681cd[_0x7f2218(0x24e)][0x0]),_0x3cdaf9=_0x4680af[_0x7f2218(0x151)]['deepClone'](_0x3681cd[_0x7f2218(0x24e)][0x0]);for(let _0x440b98=_0x10906a['length']-0x1;_0x440b98>=0x0;_0x440b98--){const _0x1582d6={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x10906a[_0x440b98][_0x7f2218(0x1c6)],..._0x10906a[_0x440b98][_0x7f2218(0x19e)]}},_0x511262={'id':_0x7f2218(0x2fa),'params':{'unitId':_0x10906a[_0x440b98][_0x7f2218(0x1c6)],..._0x10906a[_0x440b98][_0x7f2218(0x337)]}},_0x25eea0=this[_0x7f2218(0x3b8)][_0x7f2218(0x37d)](_0x2a285f,_0x1582d6,!0x1),_0x380dad=this[_0x7f2218(0x3b8)][_0x7f2218(0x37d)](_0x3cdaf9,_0x511262,!0x1);if(_0x680f14['isTransformMutationFailure'](_0x25eea0))throw _0x25eea0[_0x7f2218(0x111)];if(_0x680f14[_0x7f2218(0x2ab)](_0x380dad))throw _0x380dad[_0x7f2218(0x111)];_0x318f6a[_0x7f2218(0x22c)]({..._0x10906a[_0x440b98],'undoState':_0x25eea0['m2Prime']['params'],'redoState':_0x380dad[_0x7f2218(0x336)][_0x7f2218(0x1be)]}),_0x2a285f=_0x25eea0[_0x7f2218(0x283)],_0x3cdaf9=_0x380dad['m1Prime'];}_0x2a285f=_0x4680af[_0x7f2218(0x151)][_0x7f2218(0x317)](_0x3681cd[_0x7f2218(0x24e)][0x0]),_0x3cdaf9=_0x4680af[_0x7f2218(0x151)][_0x7f2218(0x317)](_0x3681cd['mutations'][0x0]);for(let _0x2daa0e=_0x121f0f['length']-0x1;_0x2daa0e>=0x0;_0x2daa0e--){const _0x15198b={'id':_0x7f2218(0x2fa),'params':{'unitId':_0x121f0f[_0x2daa0e][_0x7f2218(0x1c6)],..._0x121f0f[_0x2daa0e][_0x7f2218(0x19e)]}},_0x409042={'id':_0x7f2218(0x2fa),'params':{'unitId':_0x121f0f[_0x2daa0e][_0x7f2218(0x1c6)],..._0x121f0f[_0x2daa0e][_0x7f2218(0x337)]}},_0xc5d437=this[_0x7f2218(0x3b8)][_0x7f2218(0x37d)](_0x2a285f,_0x15198b,!0x1),_0x2a6097=this['_transformService']['transformMutation'](_0x3cdaf9,_0x409042,!0x1);if(_0x680f14[_0x7f2218(0x2ab)](_0xc5d437))throw _0xc5d437[_0x7f2218(0x111)];if(_0x680f14[_0x7f2218(0x2ab)](_0x2a6097))throw _0x2a6097[_0x7f2218(0x111)];_0x308564[_0x7f2218(0x22c)]({..._0x121f0f[_0x2daa0e],'undoState':_0xc5d437['m2Prime'][_0x7f2218(0x1be)],'redoState':_0x2a6097[_0x7f2218(0x336)][_0x7f2218(0x1be)]}),_0x2a285f=_0xc5d437[_0x7f2218(0x283)],_0x3cdaf9=_0x2a6097[_0x7f2218(0x283)];}this[_0x7f2218(0x18b)][_0x7f2218(0x100)](_0x15eb23,{'history':_0x318f6a,'collaboration':_0x308564});}};_0xb3d4fd=_0x5ccbab([_0x2d7fe6(0x0,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x2be)])),_0x2d7fe6(0x1,_0x680f14[_0x40fc9b(0x2f1)]),_0x2d7fe6(0x2,_0x4680af[_0x40fc9b(0x203)](_0x55f3bb['DocStateChangeManagerService']))],_0xb3d4fd);var _0x4f5880=Object[_0x40fc9b(0x251)],_0x25be11=(_0x282bfa,_0x2767eb,_0x11fd66,_0x121f86)=>{const _0x2d3ae3=_0x40fc9b;for(var _0x41e7fb=_0x121f86>0x1?void 0x0:_0x121f86?_0x4f5880(_0x2767eb,_0x11fd66):_0x2767eb,_0x1981df=_0x282bfa[_0x2d3ae3(0x35c)]-0x1,_0x45d811;_0x1981df>=0x0;_0x1981df--)(_0x45d811=_0x282bfa[_0x1981df])&&(_0x41e7fb=_0x45d811(_0x41e7fb)||_0x41e7fb);return _0x41e7fb;},_0x242b9e=(_0x4d3a81,_0x3f2bae)=>(_0x2cdda8,_0x4d62b3)=>_0x3f2bae(_0x2cdda8,_0x4d62b3,_0x4d3a81);let _0x37e093=class{constructor(_0x1453c3,_0x2348dc){const _0xa4a446=_0x40fc9b;this[_0xa4a446(0x101)]=_0x1453c3,this[_0xa4a446(0x3b8)]=_0x2348dc;}[_0x40fc9b(0x34e)](_0x1831e4){const _0x5af261=_0x40fc9b;var _0xcb0b03;const _0x246cf0=this['_injector'][_0x5af261(0x2f2)](_0x4f8be8[_0x5af261(0x2b2)]),_0x1b3366=(_0xcb0b03=_0x246cf0[_0x5af261(0x1e7)]())!=null?_0xcb0b03:[];if(_0x1b3366[_0x5af261(0x35c)]===0x0)return;const _0x5b4474=_0x1831e4[_0x5af261(0x1d7)],_0x4d1178=[{'id':_0x5af261(0x2fa),'params':{'unitId':_0x5b4474,'actions':null,'textRanges':_0x1b3366}}],_0x56432b=this[_0x5af261(0x3b8)][_0x5af261(0x229)](_0x1831e4,_0x4d1178);if(!_0x680f14[_0x5af261(0x277)](_0x56432b))throw _0x56432b[_0x5af261(0x111)];const _0x9a55a2=_0x56432b['m2Prime'][0x0][_0x5af261(0x1be)][_0x5af261(0x21e)];Array[_0x5af261(0x32e)](_0x9a55a2)&&_0x9a55a2[_0x5af261(0x35c)]&&_0x246cf0[_0x5af261(0x1d9)](_0x9a55a2,{'unitId':_0x5b4474,'subUnitId':_0x5b4474},!0x1);}};_0x37e093=_0x25be11([_0x242b9e(0x0,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x2be)])),_0x242b9e(0x1,_0x680f14[_0x40fc9b(0x2f1)])],_0x37e093);var _0x135a73=Object[_0x40fc9b(0x251)],_0x20aa9e=(_0x409788,_0x49b44f,_0x59a58f,_0x596156)=>{for(var _0xe6a9cf=_0x596156>0x1?void 0x0:_0x596156?_0x135a73(_0x49b44f,_0x59a58f):_0x49b44f,_0xd3779a=_0x409788['length']-0x1,_0x1fe32a;_0xd3779a>=0x0;_0xd3779a--)(_0x1fe32a=_0x409788[_0xd3779a])&&(_0xe6a9cf=_0x1fe32a(_0xe6a9cf)||_0xe6a9cf);return _0xe6a9cf;},_0x4b6230=(_0x43ccf2,_0x4f96ef)=>(_0x5aeab0,_0x4fee8f)=>_0x4f96ef(_0x5aeab0,_0x4fee8f,_0x43ccf2);let _0x5d3063=class extends _0x4680af[_0x40fc9b(0x39a)]{constructor(_0x9c49d9,_0x52c0d0,_0x466a69,_0x131588,_0x1d323d,_0x4cfe5c,_0x4daae1,_0x2805f3){const _0x20f597=_0x40fc9b;super(),_0x166045(this,'_status$',new _0x172b9a[(_0x20f597(0x119))](_0x191332[_0x20f597(0x303)][_0x20f597(0x1fc)])),(this[_0x20f597(0x18b)]=_0x9c49d9,this[_0x20f597(0x2ba)]=_0x52c0d0,this[_0x20f597(0x27c)]=_0x466a69,this[_0x20f597(0x1eb)]=_0x131588,this['_docTransformSelectionsService']=_0x1d323d,this['_docSyncEditingCollabCursorService']=_0x4cfe5c,this[_0x20f597(0x375)]=_0x4daae1,this[_0x20f597(0x2cf)]=_0x2805f3,this[_0x20f597(0x1da)]());}[_0x40fc9b(0x1da)](){const _0x52996e=_0x40fc9b;this[_0x52996e(0x219)](this[_0x52996e(0x2ba)][_0x52996e(0x2f8)][_0x52996e(0x2a1)](_0x5f0469=>{const _0xebef28=_0x52996e,_0x1e9a75=this[_0xebef28(0x18b)]['docStateChange$'][_0xebef28(0x2a1)](_0x2c3465=>{const _0x579bee=_0xebef28;if(_0x2c3465==null)return;const {unitId:_0x540a9a,redoState:_0x34f198,commandId:_0x321b78}=_0x2c3465;if(_0x540a9a!==_0x5f0469['unitID'])return;const _0x52dfec={'id':_0x321b78,'type':_0x4680af[_0x579bee(0x205)][_0x579bee(0x218)],'params':{'unitId':_0x540a9a,'actions':_0x34f198[_0x579bee(0x156)],'textRanges':null}};_0x5f0469[_0x579bee(0x395)](_0x52dfec);});if(_0x5f0469[_0xebef28(0x219)](_0x1e9a75),_0x5f0469 instanceof _0x191332['DocCollaborationEntity']){const _0x58261c={'onTransformIME':_0x544145=>this[_0xebef28(0x27c)]['transformIMECache'](_0x544145),'onTransformState':_0x489764=>this[_0xebef28(0x1eb)][_0xebef28(0x2c5)](_0x489764),'onTransformSelections':_0x4ff60a=>this[_0xebef28(0x24f)][_0xebef28(0x34e)](_0x4ff60a),'onSyncEditingCollabCursor':_0x476588=>this['_docSyncEditingCollabCursorService'][_0xebef28(0x1e4)](_0x476588),'onTransformRemoteChangesetByIMECache':_0x2c5dd9=>this[_0xebef28(0x27c)][_0xebef28(0x276)](_0x2c5dd9),'onTransformRemoteChangesetByStateCache':_0x2080b5=>this[_0xebef28(0x1eb)]['transformRemoteChangeset'](_0x2080b5)};_0x5f0469[_0xebef28(0x2d5)](_0x58261c);}}));}};_0x5d3063=_0x20aa9e([_0x4b6230(0x0,_0x4680af['Inject'](_0x55f3bb[_0x40fc9b(0x2b0)])),_0x4b6230(0x1,_0x4680af[_0x40fc9b(0x203)](_0x191332[_0x40fc9b(0x1dd)])),_0x4b6230(0x2,_0x4680af[_0x40fc9b(0x203)](_0x22ee97)),_0x4b6230(0x3,_0x4680af['Inject'](_0xb3d4fd)),_0x4b6230(0x4,_0x4680af[_0x40fc9b(0x203)](_0x37e093)),_0x4b6230(0x5,_0x4680af['Inject'](_0x5ac381)),_0x4b6230(0x6,_0x38a45b['IMessageService']),_0x4b6230(0x7,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x2ec)]))],_0x5d3063);var _0x40f27c=(_0x53b353=>(_0x53b353[_0x53b353[_0x40fc9b(0x21f)]=0x0]='UNDEFINED',_0x53b353[_0x53b353['OK']=0x1]='OK',_0x53b353[_0x53b353[_0x40fc9b(0x37a)]=0x2]=_0x40fc9b(0x37a),_0x53b353[_0x53b353[_0x40fc9b(0x1df)]=0x3]=_0x40fc9b(0x1df),_0x53b353[_0x53b353[_0x40fc9b(0x2f5)]=0x4]=_0x40fc9b(0x2f5),_0x53b353[_0x53b353[_0x40fc9b(0x1ab)]=0x5]=_0x40fc9b(0x1ab),_0x53b353[_0x53b353[_0x40fc9b(0x24c)]=0x6]=_0x40fc9b(0x24c),_0x53b353[_0x53b353[_0x40fc9b(0x221)]=0x7]=_0x40fc9b(0x221),_0x53b353[_0x53b353[_0x40fc9b(0x235)]=0x8]=_0x40fc9b(0x235),_0x53b353[_0x53b353['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x53b353[_0x53b353[_0x40fc9b(0x1c1)]=0xa]=_0x40fc9b(0x1c1),_0x53b353[_0x53b353[_0x40fc9b(0x399)]=0xb]=_0x40fc9b(0x399),_0x53b353[_0x53b353[_0x40fc9b(0x308)]=0xc]=_0x40fc9b(0x308),_0x53b353[_0x53b353[_0x40fc9b(0x14b)]=0xd]=_0x40fc9b(0x14b),_0x53b353[_0x53b353[_0x40fc9b(0x103)]=0xe]=_0x40fc9b(0x103),_0x53b353[_0x53b353[_0x40fc9b(0x1f7)]=0xf]=_0x40fc9b(0x1f7),_0x53b353[_0x53b353['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x53b353[_0x53b353[_0x40fc9b(0x2d6)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x53b353[_0x53b353[_0x40fc9b(0x1d0)]=0x65]=_0x40fc9b(0x1d0),_0x53b353[_0x53b353[_0x40fc9b(0x1fa)]=0xc9]=_0x40fc9b(0x1fa),_0x53b353[_0x53b353['USER_IS_ANONYMOUS']=0xca]=_0x40fc9b(0x135),_0x53b353[_0x53b353[_0x40fc9b(0x11f)]=0x1389]=_0x40fc9b(0x11f),_0x53b353[_0x53b353['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x53b353[_0x53b353[_0x40fc9b(0x31f)]=0x1772]=_0x40fc9b(0x31f),_0x53b353[_0x53b353[_0x40fc9b(0x2d7)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x53b353[_0x53b353['APPLY_REJECT']=0x1b59]='APPLY_REJECT',_0x53b353[_0x53b353['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x40fc9b(0x39d),_0x53b353[_0x53b353[_0x40fc9b(0x14d)]=0x1b5b]=_0x40fc9b(0x14d),_0x53b353[_0x53b353[_0x40fc9b(0x374)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x53b353[_0x53b353[_0x40fc9b(0x154)]=0x1b5d]='APPLY_DUPLICATED',_0x53b353[_0x53b353[_0x40fc9b(0x2b6)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x53b353[_0x53b353[_0x40fc9b(0x290)]=0x2329]=_0x40fc9b(0x290),_0x53b353[_0x53b353['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x53b353[_0x53b353[_0x40fc9b(0x24a)]=0x232b]=_0x40fc9b(0x24a),_0x53b353[_0x53b353['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x40fc9b(0x13e),_0x53b353[_0x53b353['LICENSE_DISTRO_REJECTED']=0x232d]=_0x40fc9b(0x355),_0x53b353[_0x53b353[_0x40fc9b(0x3af)]=0x2711]=_0x40fc9b(0x3af),_0x53b353[_0x53b353['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x40fc9b(0x1b6),_0x53b353[_0x53b353[_0x40fc9b(0x233)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x53b353[_0x53b353[_0x40fc9b(0x312)]=0x2714]=_0x40fc9b(0x312),_0x53b353[_0x53b353['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x40fc9b(0x125),_0x53b353[_0x53b353['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x40fc9b(0x348),_0x53b353[_0x53b353[_0x40fc9b(0x217)]=0x271c]=_0x40fc9b(0x217),_0x53b353[_0x53b353['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x53b353[_0x53b353[_0x40fc9b(0x318)]=0x271e]=_0x40fc9b(0x318),_0x53b353[_0x53b353['YUUMI_AI_RUN_FAILED']=0x271f]=_0x40fc9b(0x108),_0x53b353[_0x53b353['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x40fc9b(0x12c),_0x53b353[_0x53b353[_0x40fc9b(0x338)]=0x2af9]=_0x40fc9b(0x338),_0x53b353[_0x53b353[_0x40fc9b(0x2e5)]=0x2ee1]=_0x40fc9b(0x2e5),_0x53b353[_0x53b353[_0x40fc9b(0x377)]=0x2ee2]=_0x40fc9b(0x377),_0x53b353[_0x53b353['INVITE_CODE_REQUIRED']=0x2ee3]=_0x40fc9b(0x2d2),_0x53b353[_0x53b353[_0x40fc9b(0x2b1)]=0x2ee4]=_0x40fc9b(0x2b1),_0x53b353[_0x53b353[_0x40fc9b(0x29a)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x53b353[_0x53b353[_0x40fc9b(0x14f)]=0x32c9]=_0x40fc9b(0x14f),_0x53b353[_0x53b353[_0x40fc9b(0x134)]=0x32ca]=_0x40fc9b(0x134),_0x53b353[_0x53b353[_0x40fc9b(0x1d6)]=0x32cb]=_0x40fc9b(0x1d6),_0x53b353[_0x53b353[_0x40fc9b(0x220)]=0x36b1]=_0x40fc9b(0x220),_0x53b353[_0x53b353[_0x40fc9b(0x162)]=0x36b2]=_0x40fc9b(0x162),_0x53b353[_0x53b353['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x53b353[_0x53b353['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x40fc9b(0x36c),_0x53b353[_0x53b353[_0x40fc9b(0x12d)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x53b353[_0x53b353[_0x40fc9b(0x1d2)]=0x3716]=_0x40fc9b(0x1d2),_0x53b353[_0x53b353[_0x40fc9b(0x1fe)]=0x37dd]=_0x40fc9b(0x1fe),_0x53b353[_0x53b353[_0x40fc9b(0x341)]=0x3a99]=_0x40fc9b(0x341),_0x53b353[_0x53b353[_0x40fc9b(0x1cc)]=0x3a9a]=_0x40fc9b(0x1cc),_0x53b353[_0x53b353['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x40fc9b(0x33b),_0x53b353[_0x53b353[_0x40fc9b(0x140)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x53b353[_0x53b353[_0x40fc9b(0x164)]=0x3a9d]=_0x40fc9b(0x164),_0x53b353[_0x53b353['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x40fc9b(0x38c),_0x53b353[_0x53b353['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x53b353[_0x53b353['UNRECOGNIZED']=-0x1]=_0x40fc9b(0x1c5),_0x53b353))(_0x40f27c||{});function _0x22bd49(_0x857d01){const _0x1cca0f=_0x40fc9b;var _0x1568f7,_0x1106f0;const _0xcdf665=(_0x1568f7=_0x857d01[_0x1cca0f(0x321)])==null?void 0x0:_0x1568f7[_0x1cca0f(0x275)],_0x227f87=((_0x1106f0=_0x857d01[_0x1cca0f(0x321)])==null?void 0x0:_0x1106f0[_0x1cca0f(0x180)])||0x0;return _0xcdf665===_0x244a11[_0x1cca0f(0x177)][_0x1cca0f(0x346)]&&_0x227f87>0x0;}function _0x4a9bd7(_0x5e02e5){const _0x3fe796=_0x40fc9b;return _0x5e02e5[_0x3fe796(0x363)]===_0x244a11[_0x3fe796(0x1ca)]['SUCCESS'];}var _0x21a3e7=Object[_0x40fc9b(0x251)],_0x5468f4=(_0x3d8a32,_0x4e6064,_0x57f089,_0xab38f4)=>{const _0x26e17a=_0x40fc9b;for(var _0x4f619b=_0xab38f4>0x1?void 0x0:_0xab38f4?_0x21a3e7(_0x4e6064,_0x57f089):_0x4e6064,_0x58b643=_0x3d8a32[_0x26e17a(0x35c)]-0x1,_0x4ab89c;_0x58b643>=0x0;_0x58b643--)(_0x4ab89c=_0x3d8a32[_0x58b643])&&(_0x4f619b=_0x4ab89c(_0x4f619b)||_0x4f619b);return _0x4f619b;},_0x776d12=(_0xad9246,_0x5854af)=>(_0x15993c,_0x3ce381)=>_0x5854af(_0x15993c,_0x3ce381,_0xad9246);const _0x59dfe1=_0x40fc9b(0x2fc),_0x353414=_0x40fc9b(0x2c0),_0xde68e7='/universer-api/license/formula/limit/done';let _0x3405d6=class extends _0x4680af[_0x40fc9b(0x39a)]{constructor(_0x4d3aa2,_0x5d0e8d,_0x177edc,_0x1854d4,_0x31e776,_0x189474,_0x3bdb59){const _0x5e91f0=_0x40fc9b;super(),_0x166045(this,'_pollingInterval',null),_0x166045(this,_0x5e91f0(0x257),0x0),_0x166045(this,_0x5e91f0(0x38a),0x0),_0x166045(this,_0x5e91f0(0x173),[]),_0x166045(this,_0x5e91f0(0x1f1),0x0),(this[_0x5e91f0(0x375)]=_0x4d3aa2,this[_0x5e91f0(0x35e)]=_0x5d0e8d,this[_0x5e91f0(0x2e8)]=_0x177edc,this[_0x5e91f0(0x15a)]=_0x1854d4,this['_univerInstanceService']=_0x31e776,this[_0x5e91f0(0x105)]=_0x189474,this[_0x5e91f0(0x2cf)]=_0x3bdb59,this[_0x5e91f0(0x1b5)]());}[_0x40fc9b(0x1b5)](){const _0x3fb61a=_0x40fc9b;this[_0x3fb61a(0x219)](this[_0x3fb61a(0x35e)]['beforeCommandExecuted']((_0x447905,_0x125bb5)=>{const _0x55e643=_0x3fb61a;if(_0x447905['id']!==_0x244a11['SetFormulaCalculationStartMutation']['id'])return;const _0x1c2147=_0x447905[_0x55e643(0x1be)];if(!this[_0x55e643(0x253)](_0x1c2147[_0x55e643(0x3b6)]))return;if(!this[_0x55e643(0x1b9)]())throw this[_0x55e643(0x247)](_0x447905,_0x125bb5),this[_0x55e643(0x25b)](),new _0x4680af[(_0x55e643(0x226))]();})),this[_0x3fb61a(0x219)](this['_commandService']['onCommandExecuted']((_0x1f393d,_0x1a10bc)=>{const _0xd10fc3=_0x3fb61a;if(_0x1f393d['id']!==_0x244a11[_0xd10fc3(0x288)]['id'])return;const _0x3d7174=_0x1f393d[_0xd10fc3(0x1be)];if(_0x22bd49(_0x3d7174)){const _0x5e60c7=_0x4680af['generateRandomId']();this[_0xd10fc3(0x173)][_0xd10fc3(0x2c3)](_0x5e60c7),this[_0xd10fc3(0x271)](_0x5e60c7);}else{if(_0x4a9bd7(_0x3d7174)&&this[_0xd10fc3(0x173)]['length']>0x0){const _0x444b4d=this[_0xd10fc3(0x173)][_0xd10fc3(0x398)]();this[_0xd10fc3(0x2ee)](_0x444b4d);}}}));}['dispose'](){const _0x4ef3a9=_0x40fc9b;super['dispose'](),this[_0x4ef3a9(0x254)](),this['_taskIds']=[],this[_0x4ef3a9(0x38a)]=0x0,this[_0x4ef3a9(0x257)]=0x0,this[_0x4ef3a9(0x1f1)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x161ee3,_0x1acde9){const _0x334c9b=_0x40fc9b;for(let _0x387194=0x0;_0x387194<0x1e;_0x387194++)try{if(await this[_0x334c9b(0x246)](),this[_0x334c9b(0x1b9)]()){this['_applyCommand'](_0x161ee3,_0x1acde9),this[_0x334c9b(0x375)][_0x334c9b(0x1b4)]({'content':this[_0x334c9b(0x2cf)]['t'](_0x334c9b(0x26f)),'type':_0x42eb8c[_0x334c9b(0x17a)][_0x334c9b(0x22e)]});return;}await new Promise(_0x58593c=>{const _0x473b60=_0x334c9b;this[_0x473b60(0x178)]=window[_0x473b60(0x11a)](_0x58593c,0x3e8);});}catch(_0x46d330){this[_0x334c9b(0x105)][_0x334c9b(0x111)](_0x46d330);}this[_0x334c9b(0x375)][_0x334c9b(0x1b4)]({'content':this[_0x334c9b(0x2cf)]['t']('formula.calculation.unable'),'type':_0x42eb8c[_0x334c9b(0x17a)][_0x334c9b(0x1d8)]});}[_0x40fc9b(0x216)](_0x143927,_0x42c95e){const _0x28981c=_0x40fc9b;try{this[_0x28981c(0x35e)][_0x28981c(0x1c0)](_0x143927['id'],_0x143927[_0x28981c(0x1be)],_0x42c95e);}catch(_0x163234){this['_logService'][_0x28981c(0x111)](_0x163234);}}[_0x40fc9b(0x2c2)](_0xc189d,_0x332ccd){const _0x17fd0f=_0x40fc9b;_0x332ccd<this[_0x17fd0f(0x1f1)]||(this['_lastResponseTimestamp']=_0x332ccd,this[_0x17fd0f(0x257)]=Number[_0x17fd0f(0x24d)](_0xc189d[_0x17fd0f(0x2ac)]),this[_0x17fd0f(0x38a)]=Number[_0x17fd0f(0x24d)](_0xc189d[_0x17fd0f(0x36e)]));}async['_startCalculationLimit'](_0x50f3fc){const _0x485ea6=_0x40fc9b;var _0x95cee0,_0x3dea73;const _0x42b1a6=Date[_0x485ea6(0x231)]();try{const _0x3dfbbf=((_0x95cee0=this[_0x485ea6(0x2e8)][_0x485ea6(0x339)](_0x191332['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x95cee0[_0x485ea6(0x1f6)])||_0x353414,_0xc182c2=(await this['_httpService']['post'](_0x3dfbbf,{'body':JSON['stringify']({'taskId':_0x50f3fc})}))[_0x485ea6(0x259)];if(((_0x3dea73=_0xc182c2['error'])==null?void 0x0:_0x3dea73['code'])!==_0x40f27c['OK'])return;this[_0x485ea6(0x2c2)](_0xc182c2[_0x485ea6(0x122)],_0x42b1a6);}catch(_0x50bd08){this[_0x485ea6(0x105)]['error'](_0x50bd08);}}async[_0x40fc9b(0x246)](_0x4dd2e2){const _0x4fef59=_0x40fc9b;var _0x21d734,_0x25bafc;const _0x3a657d=Date[_0x4fef59(0x231)]();try{const _0x30f784=((_0x21d734=this['_configService'][_0x4fef59(0x339)](_0x191332[_0x4fef59(0x310)]))==null?void 0x0:_0x21d734['getformulaLimitStatusUrl'])||_0x59dfe1,_0x2a3a04=_0x4dd2e2?_0x30f784+_0x4fef59(0x185)+encodeURIComponent(_0x4dd2e2):_0x30f784,_0x24e504=(await this[_0x4fef59(0x15a)]['get'](_0x2a3a04))[_0x4fef59(0x259)];if(((_0x25bafc=_0x24e504[_0x4fef59(0x111)])==null?void 0x0:_0x25bafc[_0x4fef59(0x397)])!==_0x40f27c['OK'])return;this[_0x4fef59(0x2c2)](_0x24e504[_0x4fef59(0x122)],_0x3a657d);}catch(_0x50752b){this[_0x4fef59(0x105)]['error'](_0x50752b);}}async[_0x40fc9b(0x2ee)](_0x70ff15){const _0x58f569=_0x40fc9b;var _0x185f10,_0x5c1996;const _0x247ddd=Date[_0x58f569(0x231)]();try{const _0x23dccb=((_0x185f10=this[_0x58f569(0x2e8)][_0x58f569(0x339)](_0x191332[_0x58f569(0x310)]))==null?void 0x0:_0x185f10[_0x58f569(0x129)])||_0xde68e7,_0x263123=(await this[_0x58f569(0x15a)][_0x58f569(0x143)](_0x23dccb,{'body':JSON[_0x58f569(0x27a)]({'taskId':_0x70ff15})}))[_0x58f569(0x259)];if(((_0x5c1996=_0x263123[_0x58f569(0x111)])==null?void 0x0:_0x5c1996['code'])!==_0x40f27c['OK'])return;this[_0x58f569(0x2c2)](_0x263123['limitInfo'],_0x247ddd);}catch(_0x22fef1){this[_0x58f569(0x105)][_0x58f569(0x111)](_0x22fef1);}}[_0x40fc9b(0x1b9)](){const _0x2ac0f9=_0x40fc9b;return this[_0x2ac0f9(0x257)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x2ac0f9(0x38a)]>0x0;}[_0x40fc9b(0x254)](){const _0x4917b4=_0x40fc9b;this[_0x4917b4(0x178)]&&(clearTimeout(this['_pollingInterval']),this[_0x4917b4(0x178)]=null);}['_showGuardMessage'](){const _0x3e4777=_0x40fc9b;this[_0x3e4777(0x375)][_0x3e4777(0x1b4)]({'content':this['_localeService']['t']('formula.calculation.waiting'),'type':_0x42eb8c['MessageType'][_0x3e4777(0x349)]});}[_0x40fc9b(0x253)](_0x399a8d){const _0x4deee6=_0x40fc9b;for(const _0x268447 of _0x399a8d){const {unitId:_0x4fc03e,sheetId:_0x3c0923,range:_0x2b5074}=_0x268447,_0x4b4a7a=this[_0x4deee6(0x20b)]['getUnit'](_0x4fc03e);if(!_0x4b4a7a)continue;const _0x3c4033=_0x4b4a7a['getSheetBySheetId'](_0x3c0923);if(!_0x3c4033)continue;const _0x3433c5=_0x3c4033[_0x4deee6(0x378)]();for(let _0x16ca8c=_0x2b5074['startRow'];_0x16ca8c<=_0x2b5074[_0x4deee6(0x3b5)];_0x16ca8c++)for(let _0x1378c0=_0x2b5074[_0x4deee6(0x333)];_0x1378c0<=_0x2b5074[_0x4deee6(0x2a4)];_0x1378c0++){const _0x52248e=_0x3433c5[_0x4deee6(0x38e)](_0x16ca8c,_0x1378c0);if(_0x52248e&&(_0x4680af[_0x4deee6(0x22a)](_0x52248e['f'])||_0x4680af[_0x4deee6(0x200)](_0x52248e['si'])))return!0x0;}}return!0x1;}};_0x3405d6=_0x5468f4([_0x776d12(0x0,_0x4680af[_0x40fc9b(0x203)](_0x38a45b['IMessageService'])),_0x776d12(0x1,_0x4680af['ICommandService']),_0x776d12(0x2,_0x4680af[_0x40fc9b(0x340)]),_0x776d12(0x3,_0x4680af[_0x40fc9b(0x203)](_0xb226e0[_0x40fc9b(0x2ff)])),_0x776d12(0x4,_0x4680af[_0x40fc9b(0x326)]),_0x776d12(0x5,_0x4680af['ILogService']),_0x776d12(0x6,_0x4680af['Inject'](_0x4680af[_0x40fc9b(0x2ec)]))],_0x3405d6);var _0x4ca121=Object['getOwnPropertyDescriptor'],_0x26e4b7=(_0x48736a,_0x99e8a5,_0x311d72,_0x2a60ed)=>{for(var _0xab4b0a=_0x2a60ed>0x1?void 0x0:_0x2a60ed?_0x4ca121(_0x99e8a5,_0x311d72):_0x99e8a5,_0x289a4c=_0x48736a['length']-0x1,_0x22d0f5;_0x289a4c>=0x0;_0x289a4c--)(_0x22d0f5=_0x48736a[_0x289a4c])&&(_0xab4b0a=_0x22d0f5(_0xab4b0a)||_0xab4b0a);return _0xab4b0a;},_0x48dd70=(_0x35b7d7,_0x5c2ff5)=>(_0x469710,_0x2cf5b4)=>_0x5c2ff5(_0x469710,_0x2cf5b4,_0x35b7d7);let _0x7ca7a4=class extends _0x4680af['Disposable']{constructor(_0x48caf2,_0x422457,_0x2bf18d){const _0x5d98e3=_0x40fc9b;super(),_0x166045(this,'_cachedData',new Map()),_0x166045(this,_0x5d98e3(0x237),new Map()),_0x166045(this,_0x5d98e3(0x202),!0x1),(this[_0x5d98e3(0x2e8)]=_0x48caf2,this[_0x5d98e3(0x1d1)]=_0x422457,this[_0x5d98e3(0x189)]=_0x2bf18d);}[_0x40fc9b(0x2bd)](){const _0x5eaf9e=_0x40fc9b;this[_0x5eaf9e(0x202)]=!0x0;}[_0x40fc9b(0x15e)](){const _0x1cf43d=_0x40fc9b;this[_0x1cf43d(0x202)]=!0x1;}get[_0x40fc9b(0x2d3)](){return this['_saveTaskMap'];}[_0x40fc9b(0x250)](){const _0x1f2747=_0x40fc9b;this[_0x1f2747(0x18d)]()[_0x1f2747(0x34f)](()=>super[_0x1f2747(0x250)]());}async['loadOfflineData'](_0x317050){const _0x3bbe3b=_0x40fc9b;return this['_disabled']?null:this[_0x3bbe3b(0x1d1)]['getItem'](_0x191332[_0x3bbe3b(0x244)](_0x317050));}async[_0x40fc9b(0x10e)](_0x3fc197,_0x583543){const _0x19425d=_0x40fc9b;return!!this[_0x19425d(0x1d1)][_0x19425d(0x370)](_0x3fc197,_0x583543);}['updateOfflineData'](_0x556250,_0x29395f,_0x1f60fb,_0xe6b01e){const _0xdb6669=_0x40fc9b,_0x433d8f=this[_0xdb6669(0x189)][_0xdb6669(0x25a)](_0x556250);this[_0xdb6669(0x26a)][_0xdb6669(0x210)](_0x556250,{'unitID':_0x556250,'type':_0x29395f,'awaitingChangeset':_0x1f60fb,'mutations':_0xe6b01e,'rev':_0x433d8f}),this[_0xdb6669(0x237)]['has'](_0x556250)||this[_0xdb6669(0x34d)](_0x556250);}[_0x40fc9b(0x34d)](_0x39f04c){const _0x4330df=_0x40fc9b,_0xa87973=this[_0x4330df(0x315)]();_0xa87973===0x0?this['_saveCache'](_0x39f04c):this['_saveTaskMap']['set'](_0x39f04c,setTimeout(()=>this[_0x4330df(0x30e)](_0x39f04c),_0xa87973));}[_0x40fc9b(0x315)](){const _0x2c71d2=_0x40fc9b;var _0x21e909;return(_0x21e909=this[_0x2c71d2(0x2e8)]['getConfig'](_0x191332['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x21e909:_0x191332[_0x2c71d2(0x11d)];}[_0x40fc9b(0x30e)](_0x459352){const _0x498f36=_0x40fc9b,_0x30dd62=this[_0x498f36(0x237)][_0x498f36(0x2f2)](_0x459352);return _0x30dd62!==void 0x0&&window[_0x498f36(0x3a4)](_0x30dd62),this[_0x498f36(0x1d1)][_0x498f36(0x370)](_0x191332['getLocalCacheKey'](_0x459352),this[_0x498f36(0x26a)]['get'](_0x459352))['then'](()=>this[_0x498f36(0x237)][_0x498f36(0x329)](_0x459352));}async[_0x40fc9b(0x18d)](){const _0x370b0f=_0x40fc9b,_0xa7a2f8=[];this['_saveTaskMap'][_0x370b0f(0x1a5)]((_0x43fe28,_0x28a852)=>{const _0x458be6=_0x370b0f;window[_0x458be6(0x3a4)](_0x43fe28),_0xa7a2f8[_0x458be6(0x2c3)](this[_0x458be6(0x30e)](_0x28a852)[_0x458be6(0x34f)](()=>{const _0x5300ce=_0x458be6;this[_0x5300ce(0x237)][_0x5300ce(0x329)](_0x28a852);}));}),await Promise['all'](_0xa7a2f8);}};_0x7ca7a4=_0x26e4b7([_0x48dd70(0x0,_0x4680af['IConfigService']),_0x48dd70(0x1,_0x4680af[_0x40fc9b(0x239)]),_0x48dd70(0x2,_0x4680af[_0x40fc9b(0x203)](_0x680f14[_0x40fc9b(0x13f)]))],_0x7ca7a4);class _0x35e70f extends _0x4680af[_0x40fc9b(0x2f0)]{constructor(){const _0x2910da=_0x40fc9b;super(),_0x166045(this,'urlChange$'),this['urlChange$']=_0x172b9a[_0x2910da(0x273)](window,_0x2910da(0x2c8))['pipe'](_0x172b9a[_0x2910da(0x385)](this[_0x2910da(0x2cb)]),_0x172b9a['shareReplay'](0x1),_0x172b9a[_0x2910da(0x17d)](void 0x0));}['setParam'](_0x776fe4,_0x69c353,_0x59f2f1=!0x1){const _0x2b7484=_0x40fc9b,_0x918c89=new URL(window[_0x2b7484(0x11b)][_0x2b7484(0x32a)]);_0x918c89[_0x2b7484(0x34b)][_0x2b7484(0x210)](_0x776fe4,_0x69c353),_0x59f2f1?window[_0x2b7484(0x1aa)]['replaceState']('','',_0x918c89[_0x2b7484(0x327)]()):window[_0x2b7484(0x1aa)][_0x2b7484(0x2eb)]('','',_0x918c89[_0x2b7484(0x327)]());}[_0x40fc9b(0x10f)](_0x4b8ee0,_0x2cf9a7=!0x1){const _0x23fe0b=_0x40fc9b,_0xe07ddf=new URL(window[_0x23fe0b(0x11b)]['href']);_0xe07ddf[_0x23fe0b(0x34b)][_0x23fe0b(0x329)](_0x4b8ee0),_0x2cf9a7?window[_0x23fe0b(0x1aa)]['replaceState']('','',_0xe07ddf[_0x23fe0b(0x327)]()):window['history'][_0x23fe0b(0x2eb)]('','',_0xe07ddf['toString']());}['getParam'](_0xcc0e33){const _0x4e2728=_0x40fc9b;var _0x3d5ffb;return(_0x3d5ffb=new URL(window[_0x4e2728(0x11b)][_0x4e2728(0x32a)])[_0x4e2728(0x34b)][_0x4e2728(0x2f2)](_0xcc0e33))!=null?_0x3d5ffb:void 0x0;}}var _0x58e980=Object[_0x40fc9b(0x37e)],_0x254e38=Object['getOwnPropertyDescriptor'],_0x536de7=(_0x545687,_0x248a7d,_0x522764)=>_0x248a7d in _0x545687?_0x58e980(_0x545687,_0x248a7d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x522764}):_0x545687[_0x248a7d]=_0x522764,_0x183eb3=(_0x4470a3,_0xdf31da,_0x69bc0a,_0x410f1d)=>{for(var _0x5742f4=_0x410f1d>0x1?void 0x0:_0x410f1d?_0x254e38(_0xdf31da,_0x69bc0a):_0xdf31da,_0x2fedf7=_0x4470a3['length']-0x1,_0x24dd5b;_0x2fedf7>=0x0;_0x2fedf7--)(_0x24dd5b=_0x4470a3[_0x2fedf7])&&(_0x5742f4=_0x24dd5b(_0x5742f4)||_0x5742f4);return _0x5742f4;},_0xc4f0d1=(_0x4ae94,_0x169818)=>(_0x24bef9,_0x163540)=>_0x169818(_0x24bef9,_0x163540,_0x4ae94),_0x54635e=(_0xc6263c,_0x24db26,_0x5eda75)=>_0x536de7(_0xc6263c,_0x24db26+'',_0x5eda75);const _0x2bce8d=_0x40fc9b(0x130);_0x3b6773[_0x40fc9b(0x126)]=class extends _0x4680af[_0x40fc9b(0x382)]{constructor(_0x12bbc4=_0x11ea6e,_0x262dec,_0x319906,_0x433d35){const _0x48a00f=_0x40fc9b;super(),this[_0x48a00f(0x13d)]=_0x12bbc4,this[_0x48a00f(0x14e)]=_0x262dec,this[_0x48a00f(0x101)]=_0x319906,this[_0x48a00f(0x2e8)]=_0x433d35;const {..._0x4ab840}=_0x4680af['merge']({},_0x11ea6e,this[_0x48a00f(0x13d)]);this['_configService']['setConfig'](_0x668921,_0x4ab840);}[_0x40fc9b(0x29e)](){const _0x4e3be4=_0x40fc9b;this[_0x4e3be4(0x2ef)](),this[_0x4e3be4(0x183)]();}[_0x40fc9b(0x3a0)](){const _0x6ccd7e=_0x40fc9b;this[_0x6ccd7e(0x207)]();}[_0x40fc9b(0x2ef)](){const _0x503fd3=_0x40fc9b;var _0x5d0f17;const _0x2b0198=[[_0x38773a],[_0x3405d6],[_0x37e093],[_0x22ee97],[_0xb3d4fd],[_0x5ac381],[_0x952001,{'useClass':_0x35e70f}],[_0xb226e0[_0x503fd3(0x110)],{'useClass':_0xb226e0[_0x503fd3(0x2f9)]}],[_0x191332[_0x503fd3(0x281)],{'useClass':_0x7ca7a4}],[_0x3b6773[_0x503fd3(0x24b)]],[_0x5d3063],[_0x55dfa9],[_0x3b8110],[_0x444da9],[_0x3b6773[_0x503fd3(0x2fb)]]];_0x4680af['registerDependencies'](this[_0x503fd3(0x101)],_0x4680af[_0x503fd3(0x176)](_0x2b0198,(_0x5d0f17=this['_config'])==null?void 0x0:_0x5d0f17['override']));}[_0x40fc9b(0x207)](){const _0x113ebc=_0x40fc9b;this[_0x113ebc(0x219)](this['_renderManagerService'][_0x113ebc(0x2a2)](_0x4680af['UniverInstanceType']['UNIVER_DOC'],[_0x5ec101])),this[_0x113ebc(0x219)](this[_0x113ebc(0x14e)]['registerRenderModule'](_0x4680af[_0x113ebc(0x376)][_0x113ebc(0x2f3)],[_0x433c42]));}[_0x40fc9b(0x183)](){const _0x4a829f=_0x40fc9b;_0x4680af[_0x4a829f(0x33c)](this[_0x4a829f(0x101)],[[_0x3b8110],[_0x3b6773[_0x4a829f(0x24b)]],[_0x5d3063],[_0x55dfa9],[_0x3b6773[_0x4a829f(0x2fb)]],[_0x3405d6]]);}},_0x54635e(_0x3b6773[_0x40fc9b(0x126)],_0x40fc9b(0x124),_0x2bce8d),_0x3b6773[_0x40fc9b(0x126)]=_0x183eb3([_0x4680af[_0x40fc9b(0x28d)](_0x191332[_0x40fc9b(0x372)]),_0xc4f0d1(0x1,_0x3d68e7[_0x40fc9b(0x379)]),_0xc4f0d1(0x2,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x2be)])),_0xc4f0d1(0x3,_0x4680af[_0x40fc9b(0x340)])],_0x3b6773[_0x40fc9b(0x126)]);var _0x500ed5=Object['getOwnPropertyDescriptor'],_0x3f2497=(_0x20d9fb,_0x112227,_0x4ee2aa,_0x360872)=>{const _0x3ee2d5=_0x40fc9b;for(var _0x361d6b=_0x360872>0x1?void 0x0:_0x360872?_0x500ed5(_0x112227,_0x4ee2aa):_0x112227,_0x3af070=_0x20d9fb[_0x3ee2d5(0x35c)]-0x1,_0x39d2ee;_0x3af070>=0x0;_0x3af070--)(_0x39d2ee=_0x20d9fb[_0x3af070])&&(_0x361d6b=_0x39d2ee(_0x361d6b)||_0x361d6b);return _0x361d6b;},_0x364d69=(_0x24bfb2,_0x464e0d)=>(_0x2e2668,_0x56dd11)=>_0x464e0d(_0x2e2668,_0x56dd11,_0x24bfb2);_0x3b6773[_0x40fc9b(0x1bf)]=class extends _0x191332[_0x40fc9b(0x362)]{constructor(_0x35df38,_0x4d0836,_0x57f693,_0x5709e3,_0x2fd639){super(_0x35df38,_0x4d0836,_0x57f693,_0x5709e3,_0x2fd639);}async[_0x40fc9b(0x367)](_0x3fde42){const _0x5e98b3=_0x40fc9b,_0x129c69=await this['_getSessionTicket'](),_0x329a9f=this[_0x5e98b3(0x20f)](_0x3fde42,_0x129c69);return this[_0x5e98b3(0x3ac)](_0x329a9f);}['_createSocketURL'](_0x3dd91b,_0x5a529e){const _0x3955e6=_0x40fc9b,_0x39a46f=typeof window>'u'?new URL(_0x3dd91b):new URL(_0x3dd91b,window[_0x3955e6(0x11b)]['origin']);_0x39a46f[_0x3955e6(0x34b)][_0x3955e6(0x210)](_0x3955e6(0x181),_0x5a529e);const _0x1d9215=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x3955e6(0x32c)]);return _0x1d9215[_0x3955e6(0x2f2)](_0x3955e6(0x146))&&_0x39a46f[_0x3955e6(0x34b)][_0x3955e6(0x210)]('runId',_0x1d9215[_0x3955e6(0x2f2)](_0x3955e6(0x146))),_0x39a46f['toString']();}async[_0x40fc9b(0x1fb)](){const _0x42c2a1=_0x40fc9b;var _0x542d0f,_0x22b4c0,_0x3e8f09;const _0x3aec72=this[_0x42c2a1(0x2e8)][_0x42c2a1(0x339)](_0x191332[_0x42c2a1(0x310)]),_0x18ff3a=(_0x542d0f=_0x3aec72==null?void 0x0:_0x3aec72[_0x42c2a1(0x161)])!=null?_0x542d0f:_0x191332['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x3e8f09=(_0x22b4c0=(await this['_httpService']['get'](_0x18ff3a,{'headers':{'Content-Type':'application/json'}}))[_0x42c2a1(0x259)])==null?void 0x0:_0x22b4c0['ticket'])!=null?_0x3e8f09:'';}},_0x3b6773[_0x40fc9b(0x1bf)]=_0x3f2497([_0x364d69(0x0,_0x4680af[_0x40fc9b(0x203)](_0x4680af[_0x40fc9b(0x2be)])),_0x364d69(0x1,_0x4680af['Inject'](_0xb226e0['HTTPService'])),_0x364d69(0x2,_0x4680af[_0x40fc9b(0x340)]),_0x364d69(0x3,_0x4680af[_0x40fc9b(0x3a9)]),_0x364d69(0x4,_0x680f14[_0x40fc9b(0x299)])],_0x3b6773[_0x40fc9b(0x1bf)]);var _0x2f8190=Object['getOwnPropertyDescriptor'],_0x279088=(_0x2a70f4,_0xb63cb8,_0x29972c,_0x42cf1a)=>{const _0x449cc0=_0x40fc9b;for(var _0x24d861=_0x42cf1a>0x1?void 0x0:_0x42cf1a?_0x2f8190(_0xb63cb8,_0x29972c):_0xb63cb8,_0x569529=_0x2a70f4[_0x449cc0(0x35c)]-0x1,_0xfcfa5b;_0x569529>=0x0;_0x569529--)(_0xfcfa5b=_0x2a70f4[_0x569529])&&(_0x24d861=_0xfcfa5b(_0x24d861)||_0x24d861);return _0x24d861;},_0x17ce48=(_0x3cb715,_0x58e498)=>(_0x3ea783,_0x506f67)=>_0x58e498(_0x3ea783,_0x506f67,_0x3cb715);_0x3b6773[_0x40fc9b(0x201)]=class extends _0x4680af['Disposable']{constructor(_0x393157,_0x54f9fb,_0x1b5607){const _0x2fdbd7=_0x40fc9b;super(),this['_instanceService']=_0x393157,this[_0x2fdbd7(0x15a)]=_0x54f9fb,this['_configService']=_0x1b5607;}async[_0x40fc9b(0x31b)](_0x47c1c8,_0x468b3b,_0x30009f,..._0x16fcdd){const _0x373de0=_0x40fc9b;var _0x475bd8,_0x1ac269,_0x2dace7,_0x3b3326;const _0x5f2847=this[_0x373de0(0x314)]['getFocusedUnit']();if(!_0x5f2847)throw new Error(_0x373de0(0x23a));const _0x54552f=((_0x475bd8=this[_0x373de0(0x2e8)]['getConfig'](_0x191332[_0x373de0(0x39b)]))!=null?_0x475bd8:_0x191332[_0x373de0(0x2e0)])+'/'+_0x47c1c8+'/run/'+_0x468b3b,_0x58bd98=new URL(window[_0x373de0(0x11b)]['href']),_0x43a458={'scriptId':_0x47c1c8,'runId':(_0x1ac269=_0x58bd98[_0x373de0(0x34b)][_0x373de0(0x2f2)]('runId'))!=null?_0x1ac269:'','function':_0x468b3b,'unitId':_0x5f2847[_0x373de0(0x386)](),'argsOfFunction':JSON[_0x373de0(0x27a)](_0x16fcdd),'invokeId':(_0x2dace7=_0x30009f['invokeId'])!=null?_0x2dace7:'','executionId':(_0x3b3326=_0x30009f['executionId'])!=null?_0x3b3326:''};try{const _0x2e6c07=await this[_0x373de0(0x15a)][_0x373de0(0x143)](_0x54552f,{'body':_0x43a458});return _0x2e6c07[_0x373de0(0x259)][_0x373de0(0x111)]&&_0x2e6c07[_0x373de0(0x259)][_0x373de0(0x111)][_0x373de0(0x397)]!==_0x40f27c['OK']?_0x373de0(0x307):_0x2e6c07[_0x373de0(0x259)][_0x373de0(0x11c)];}catch{return _0x373de0(0x307);}}},_0x3b6773['RemoteUniscriptService']=_0x279088([_0x17ce48(0x0,_0x4680af['IUniverInstanceService']),_0x17ce48(0x1,_0x4680af[_0x40fc9b(0x203)](_0xb226e0[_0x40fc9b(0x2ff)])),_0x17ce48(0x2,_0x4680af[_0x40fc9b(0x340)])],_0x3b6773['RemoteUniscriptService']);const _0x40ab1b=0x7530,_0x4826b7='ACTIVE_UNIT_EVENT_CHANNEL';class _0x126ee4 extends _0x4680af[_0x40fc9b(0x39a)]{constructor(){const _0x5adad2=_0x40fc9b;super(),_0x166045(this,_0x5adad2(0x138),_0x4680af[_0x5adad2(0x157)]()),_0x166045(this,_0x5adad2(0x25e),new Set()),_0x166045(this,'_unitOnClients',new Map()),_0x166045(this,_0x5adad2(0x1de),null),_0x166045(this,_0x5adad2(0x186),new Map()),_0x166045(this,'_unitStatus',new Map()),this[_0x5adad2(0x263)]();}[_0x40fc9b(0x250)](){const _0x486a5a=_0x40fc9b;super[_0x486a5a(0x250)](),this['_clearOtherTimers'][_0x486a5a(0x1a5)]((_0x1639db,_0x361464)=>this['_removeClearOtherTimer'](_0x361464)),this['_heartbeatTimer']&&window[_0x486a5a(0x208)](this[_0x486a5a(0x1de)]);}['getUnitStatus$'](_0x4553b4){return this['_ensureSubject'](_0x4553b4)['pipe'](_0x172b9a['distinctUntilChanged']());}[_0x40fc9b(0x1a0)](_0x4cea1b){const _0x887b8d=_0x40fc9b;this[_0x887b8d(0x25e)]['size']===0x0&&this[_0x887b8d(0x10a)](),this['_selfUnitIDs']['add'](_0x4cea1b),this[_0x887b8d(0x289)]({'type':0x0,'memberID':this[_0x887b8d(0x138)],'unitIDs':[_0x4cea1b],'isForwarded':!0x1});}['disposeUnit'](_0x113e8e){const _0xb40c94=_0x40fc9b;this[_0xb40c94(0x25e)]['delete'](_0x113e8e),this[_0xb40c94(0x25e)][_0xb40c94(0x174)]===0x0&&this['_heartbeatTimer']&&window[_0xb40c94(0x208)](this['_heartbeatTimer']);}[_0x40fc9b(0x263)](){const _0x47cdd5=_0x40fc9b;this[_0x47cdd5(0x219)](_0x4680af[_0x47cdd5(0x27e)](_0x172b9a['fromEvent'](window,_0x47cdd5(0x267))[_0x47cdd5(0x2a1)](_0x2c879e=>{const _0x5b4040=_0x47cdd5;if(_0x2c879e[_0x5b4040(0x15d)]!==_0x4826b7||!_0x2c879e[_0x5b4040(0x3a1)])return;const _0x410cd5=JSON['parse'](_0x2c879e[_0x5b4040(0x3a1)]);this[_0x5b4040(0x279)](_0x410cd5);}))),window[_0x47cdd5(0x304)](_0x47cdd5(0x1f2),()=>this[_0x47cdd5(0x289)]({'type':0x1,'memberID':this[_0x47cdd5(0x138)],'unitIDs':Array['from'](this[_0x47cdd5(0x25e)])}));}[_0x40fc9b(0x279)](_0x880653){const _0x2d446a=_0x40fc9b;switch(_0x880653['type']){case 0x0:this[_0x2d446a(0x2c4)](_0x880653);break;case 0x1:this[_0x2d446a(0x1d5)](_0x880653);break;case 0x2:this[_0x2d446a(0x2a0)](_0x880653);break;}}[_0x40fc9b(0x2c4)](_0x37fba5){const _0x432869=_0x40fc9b,{unitIDs:_0x57699d,memberID:_0x219bec,isForwarded:_0x2746be}=_0x37fba5;_0x57699d[_0x432869(0x1a5)](_0x504b07=>{const _0x14261b=_0x432869;if(!_0x2746be&&this[_0x14261b(0x1ef)]['has'](_0x504b07)&&this[_0x14261b(0x15c)](_0x504b07)[_0x14261b(0x1ae)](_0x191332[_0x14261b(0x3ab)][_0x14261b(0x305)]),!this[_0x14261b(0x1ef)][_0x14261b(0x393)](_0x504b07)||!this[_0x14261b(0x1ef)][_0x14261b(0x2f2)](_0x504b07)[_0x14261b(0x393)](_0x219bec)){const _0x93576a=this[_0x14261b(0x1ef)][_0x14261b(0x2f2)](_0x504b07)||new Set();_0x93576a['add'](_0x219bec),this['_unitOnClients']['set'](_0x504b07,_0x93576a),this[_0x14261b(0x13c)](_0x219bec);}}),_0x2746be||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x432869(0x25e)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0xbd81b3){const _0x29c277=_0x40fc9b;this['_removeClearOtherTimer'](_0xbd81b3);const _0x1ae465=window[_0x29c277(0x11a)](()=>{const _0x542f80=_0x29c277;this[_0x542f80(0x1ef)][_0x542f80(0x1a5)](_0x5974b1=>{const _0x7cb647=_0x542f80;_0x5974b1[_0x7cb647(0x329)](_0xbd81b3);});},_0x40ab1b*0x2);this[_0x29c277(0x186)][_0x29c277(0x210)](_0xbd81b3,_0x1ae465);}[_0x40fc9b(0x16f)](_0x5b6da1){const _0x26beab=_0x40fc9b;if(this['_clearOtherTimers'][_0x26beab(0x393)](_0x5b6da1)){const _0x5afa30=this[_0x26beab(0x186)]['get'](_0x5b6da1);_0x5afa30&&window['clearTimeout'](_0x5afa30),this['_clearOtherTimers'][_0x26beab(0x210)](_0x5b6da1,null);}}[_0x40fc9b(0x1d5)](_0x4d4ce5){const _0x352eb1=_0x40fc9b,{memberID:_0xe52ae1,unitIDs:_0x454b65}=_0x4d4ce5;_0x454b65[_0x352eb1(0x1a5)](_0x309a4b=>{const _0x4b6038=_0x352eb1;var _0x5935e4;const _0x888359=this[_0x4b6038(0x1ef)]['get'](_0x309a4b);_0x888359&&(_0x888359[_0x4b6038(0x329)](_0xe52ae1),(_0x5935e4=this['_ensureSubject'](_0x309a4b))==null||_0x5935e4['next'](_0x888359['size']===0x0?_0x191332[_0x4b6038(0x3ab)][_0x4b6038(0x187)]:_0x191332['UnitStatus'][_0x4b6038(0x305)]));}),this[_0x352eb1(0x16f)](_0xe52ae1);}['_handleHeartbeatEvent'](_0x578b4f){const _0x20dede=_0x40fc9b;this[_0x20dede(0x13c)](_0x578b4f[_0x20dede(0x3aa)]);}[_0x40fc9b(0x289)](_0x2f5d29){const _0x13bfe7=_0x40fc9b;localStorage[_0x13bfe7(0x370)](_0x4826b7,JSON[_0x13bfe7(0x27a)](_0x2f5d29));}[_0x40fc9b(0x10a)](){const _0x334be8=_0x40fc9b;this[_0x334be8(0x1de)]=window[_0x334be8(0x23f)](()=>{const _0x4f51ee=_0x334be8;this[_0x4f51ee(0x289)]({'type':0x2,'memberID':this[_0x4f51ee(0x138)]});},_0x40ab1b);}[_0x40fc9b(0x15c)](_0x2a8324){const _0x348cb3=_0x40fc9b;return this[_0x348cb3(0x2f4)]['has'](_0x2a8324)||this[_0x348cb3(0x2f4)]['set'](_0x2a8324,new _0x172b9a[(_0x348cb3(0x119))](_0x191332[_0x348cb3(0x3ab)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0x348cb3(0x2f2)](_0x2a8324);}}_0x3b6773[_0x40fc9b(0x30a)]=_0x952001,_0x3b6773[_0x40fc9b(0x39c)]=_0x1576e2,_0x3b6773['WebBrowserSingleActiveUnitService']=_0x126ee4,_0x3b6773[_0x40fc9b(0x22f)]=_0x35e70f,Object[_0x40fc9b(0x37e)](_0x3b6773,Symbol['toStringTag'],{'value':_0x40fc9b(0x1dc)});}));function _0x2c9c(){const _0x124ba8=['_handleEvent','stringify','registerRefRange','_docTransformIMECacheService','_themeService','toDisposable','onMouseMove','getUnhiddenWorksheets','ILocalCacheService','_initEvent','m1Prime','collaboration.single-unit.warning','AWAITING_WITH_PENDING','black','_render','SetFormulaCalculationNotificationMutation','_send','getRenderById','getSkeleton','onPointerLeave$','DependentOn','DocIMEInputManagerService','rxjs/operators','LICENSE_MAX_UNITS_EXCEEDED','_collabCursorState$','send','getCurrent','collab-client.tooltip.reconnect','_cursorInfo$','_range','_startSheetCollabCursor','TEXT','ISnapshotServerService','INVITE_CODE_ALREADY_BOUND','_onRefRangeChange','_beforeCloseService','294562AcxauC','onStarting','merge','_handleHeartbeatEvent','subscribe','registerRenderModule','AWAITING','endColumn','InsertColCommandId','white','@univerjs/engine-formula','currentSkeleton$','closePath','_initCommandExecutedListener','isTransformMutationFailure','maxFormulaLimit','_shapes','off-line-icon_clip0_910_343','measureText','DocStateChangeManagerService','USER_NOT_INVITED_CODE','DocSelectionManagerService','transformByState','add','Workbook','CONNECTOR_DATA_TOO_LARGE','children','_status$','random','_collaborationController','JOIN_ROOM_FAILED','@univerjs/network','disableLocalCache','Injector','unsubscribe','/universer-api/license/formula/limit/start','row','_setFormulaLimitStatus','push','_handleJoinEvent','transformStateCache','NodePositionConvertToRectRange','range','popstate','_urlService','NodePositionConvertToCursor','dispose$','1em','IUIPartsService','getCoordByCell','_localeService','selections','_hovered','INVITE_CODE_REQUIRED','saveTaskMap','COLORS','addHandlerCallback','CURRENT_STATUS_CANNOT_OPERATE','ENSURE_SNAPSHOT_EXECUTION','evenodd','event$','roomMembers','_transformUndoRedoStack','SessionStatus','getMemberID','Shape','uni.network.url-service','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','collab-rect-range-','setAlpha','[CollaborationDataLoaderController]','onCommandExecuted','INVITE_CODE_HAS_BEEN_UES','isActive','CONFLICT','_configService','cursorInfo$','_collabSessionService','pushState','LocaleService','ONLINE','_releaseCalculationLimit','_registerDependencies','RxDisposable','ITransformService','get','UNIVER_SHEET','_unitStatus','NOT_FOUND','split','PENDING','entityInit$','WebSocketService','doc.mutation.rich-text-editing','CollaborationDataLoaderController','/universer-api/license/formula/limit/status','ranges','SYNCED','HTTPService','_initStatusComponent','on-line-icon_clip0_910_349','SetSelectionsOperation','CollaborationStatus','addEventListener','OTHER_CLIENTS_EDITING','VIEW_MAIN','Failed','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','InsertRangeMoveDownCommandId','IURLService','_toggleOffline','onPointerEnter$','getViewport','_saveCache','_lastPointer','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','top','YUUMI_SUBSCRIPTION_NOT_FOUND','getColor','_instanceService','_getSaveTimeout','serializeRangeWithSheet','deepClone','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','rgba(255,\x20255,\x20255,\x200.01)','fillText','runOnServer','fillRule','deserializeRangeWithSheet','save','SNAPSHOT_HAS_BEEN_REMOVED','url(#on-line-icon_clip0_910_349)','stageInfo','min','handleInsertRow','HEADER_MENU','_handleHover','IUniverInstanceService','toString','UniverCore','delete','href','_setupSubUnitSync','search','_drawTextRange','isArray','_colorAssignService','getAncestorScale','INotificationService','debounce','startColumn','_memberService','addClipboardHook','m2Prime','redoState','PY_RUNTIME_SCRIPT_ERROR','getConfig','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','REDEMPTION_CODE_FULLY_REDEEMED','touchDependencies','session.will-retry','selection','_refreshCollabCursors','IConfigService','REDEMPTION_INVALID_CODE','_colorIndex','attrs','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','Unknown\x20user','START_CALCULATION','setUndoRedoMutationParamsCache','YUUMI_ASYNCIO_CANCELLED','Loading','M0\x200H16V16H0z','searchParams','includes','_scheduleSaving','transformSelections','then','hovered','requireSession','SheetSkeletonManagerService','colorChannel1','getActiveSheet','LICENSE_DISTRO_REJECTED','_labelPosition','createInstance','complete','handleDeleteRangeMoveLeft','CLOSE_ROOM','Subject','length','sheetID','_commandService','urlChange$','useRef','@univerjs/engine-render','CollaborationSocketService','functionsExecutedState','EffectRefRangId','tag','purple.300','createSocket','UniverDocs','getOffsetConfig','react','_textBubble','PAYMENT_CHANNEL_NOT_SUPPORT','Warning','currentUsage','_session','setItem','handleInsertRangeMoveDown','UniverCollaborationClientPlugin','handleMoveRange','APPLY_PERMISSION_DENIED','_messageService','UniverInstanceType','INVALID_INVITE_CODE','getCellMatrix','IRenderManagerService','INTERNAL_ERROR','findNodePositionByCharIndex','useDependency','transformMutation','defineProperty','operators','on-line-icon','sessionStatus$','Plugin','OFFLINE','univerjs-icon\x20univerjs-icon-','takeUntil','getUnitId','throttleTime','subunit','replace','_currentUsage','UniverDesign','REDEMPTION_USER_REDEEM_TIMES_EXCEED','2628zwjrSP','getValue','_transformPreviousActiveRange','UniverSheetsUi','110786RvhKSx','_roomMembers$','has','translate(.97)','onLocalMutation','xlink:href','code','shift','MOBILE_VERIFY_CODE_MISMATCH','Disposable','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','SheetCollabCursorShape','APPLY_NON_SEQUENTIAL_REVISION','_transformHistoryAndStateStack','_removeCollabCursors','onRendered','newValue','OffLineIcon','isEditing','clearTimeout','toRgbString','collab-text-anchor-','getParam','handleInsertCol','ILogService','memberID','UnitStatus','_doCreateSocket','fill','_color','YUUMI_UNABLE_LOAD_URL','from','UniverNetwork','CollaborationSessionService','transformIMECache','getFocusedUnit','endRow','dirtyRanges','SOCKET_FAILED_RETRY','_transformService','getCellPositionByOffset','USERS_LEAVE','blue.400','assign','_docClipboardService','setStateCache','_injector','@univerjs/docs-ui','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','SOCKET_FAILED','_logService','@univerjs-pro/collaboration','ICommandService','YUUMI_AI_RUN_FAILED','_sheetSkeletonManagerService','_scheduleHeartbeat','currentColor','subscribeEvent','_onCursorUpdate','saveOfflineData','removeParam','ISocketService','error','color','imageSourceType','univer-mr-2\x20univer-flex\x20univer-text-xl','_entities','collabCursorState$','UPDATE_CURSOR','connectInjector','BehaviorSubject','setTimeout','location','result','LOCAL_CACHE_INTERVAL','FromArray','CHANGESET_REVISION_CONFILICT','222354lNXCIc','IDocClipboardService','limitInfo','Vector2','pluginName','YUUMI_NO_CUBOID_FOR_QUESTION','UniverCollaborationClientUIPlugin','DocSkeletonManagerService','_startDocCollabCursor','releaseFormulaLimitUrl','useObservable','setShapeProps','YUUMI_CONNECTOR_URL_NOT_FOUND','ENTITLE_CHAT_LIMIT_EXCEED','collaboration.closeRoom','UniverUi','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','type','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','loadUnit','MOBILE_HAS_BEEN_BOUND','USER_IS_ANONYMOUS','ColorKit','height','_id','#FFF','switchMap','string','_scheduleClearOtherTimer','_config','LICENSE_EXPORT_SIZE_EXCEEDED','RevisionService','REDEMPTION_CODE_NOT_STARTED','SheetsSelectionsService','_updateLocalCursor','post','_name','round','runId','forwardRef','startRow','_hideTimer','triggerDblclick','EMAIL_VERIFY_CODE_MISMATCH','getCollabCursors$','APPLY_REVISION_CONFILICT','_renderManagerService','WECHAT_HAS_BEEN_BOUND','arc','Tools','resize','_cursorShapes','APPLY_DUPLICATED','RECT','actions','generateRandomId','getMergeData','mask','_httpService','moveTo','_ensureSubject','key','enableLocalCache','@univerjs/core','filter','wsSessionTicketUrl','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','url(#$1','REDEMPTION_USER_NOT_ELIGIBLE','collaboration-client.offline-data-not-saved','_drawAnchor','SetDocZoomRatioOperation','drawWith','_cursors','DisposableCollection','getMember','path','width','_uiPartsService','_removeClearOtherTimer','_getMergeRange','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','makeDirty','_taskIds','size','none','mergeOverrideWithDependencies','FormulaExecuteStageType','_pollingInterval','getTypeOfUnitAdded$','MessageType','getCurrentSelections','div','mapTo','hide','getSheetId','totalFormulasToCalculate','sessionTicket','Rectangle','_initDependencies','_collaborationUIEventService','?taskId=','_clearOtherTimers','NO_OTHER_CLIENTS_EDITING','defs','_revisionService','bottom','_docStateChangeManagerService','combineLatest','exhaustSavingTask','clsx','focused$','registerComponent','15JNaXwA','useCallback','_scene','displayName','UniverProCollaborationClientUi','debounceTime','DOC_RANGE_TYPE','_syncEditingCollabCursorService','_initResize','_anchorDot','cursorInfo','getColorFromTheme','fillStyle','undoState','symbol','editingUnit','startsWith','UNIVER_DOC','_anchor','RefRangeService','forEach','_localCacheService','51611jFFaTO','@univerjs/drawing','_online','history','UNAUTHENTICATED','http://www.w3.org/2000/svg','SUBMIT_CHANGESET_TIMEOUT','next','_notificationService','reconnect','_initStatusListener','transform','@univerjs/sheets-ui','show','_initCommandInterceptor','YUUMI_URL_COL_OUT_OF_RANGE','_refRangeService','@univerjs/design','_checkCalculationAvailable','1225098IXPJkb','_toggleOnline','map','some','params','BrowserCollaborationSocketService','executeCommand','LOGIN_FAILED','with','values','activeSheet$','UNRECOGNIZED','unitId','_draw','collabStatus.fetchMiss','_hover','FormulaExecutedStateType','DeleteRangeMoveUpCommandId','REDEMPTION_CODE_INACTIVE','getSheetBySheetId','Tooltip','BuiltInUIPart','ERROR_AGAIN','_localStorageService','ENTITLE_REPORT_LIMIT_EXCEED','pipe','addObject','_handleLeaveEvent','EMAIL_HAS_BEEN_BOUND','unitID','Error','replaceDocRanges','_initEntityListener','column','Module','CollaborationController','_heartbeatTimer','PERMISSION_DENIED','_docSkeleton','addObjects','_assignedColors','data','syncEditingCollabCursor','init','find','getDocRanges','UniverProCollaboration','asObservable','getActiveRange','_docTransformStateCacheService','_entityInit$','_context','_dataLoaderService','_unitOnClients','restore','_lastResponseTimestamp','unload','UniverSheets','...','collabStatus.synced','startFormulaLimitUrl','AUTHORIZE_CODE_ILLEGAL','permission.title','_updateSubUnitFromURLParams','USER_NOT_FOUND','_getSessionTicket','NOT_COLLAB','currentTheme$','ENTITLE_NEED_BILLING_ADDRESS','_updateCollabCursors','isFormulaId','RemoteUniscriptService','_disabled','Inject','_updateURLWithCurrentState','CommandType','_collabCursorController','_registerRenderDependencies','clearInterval','rxjs','getSheetObject','_univerInstanceService','whenReady','926370WUMaUL','assignAColorForMemberID','_createSocketURL','set','name','React','_docSkeletonManagerService','eventID','jsx','_applyCommand','YUUMI_TABLE_NOT_FOUND_IN_UNIT','MUTATION','disposeWithMe','collabStatus.conflict','getUndoRedoMutationParamsCache','Rect','registerBeforeClose','textRanges','UNDEFINED','ENTITLE_CAN_NOT_BUY_LOWER_OTP','INVALID_ARGUMENT','onTransformChange$','collab-text-range-','_getAnchorBounding','contains','CanceledError','TRANSFORM_CHANGE_OBSERVABLE_TYPE','Optional','transformMutationsWithChangeset','isFormulaString','font','unshift','skeleton','Success','WebURLService','exports','now','source','YUUMI_RATE_OVER_LIMIT','InsertRangeMoveRightCommandId','TOO_MANY_REQUESTS','use','_saveTaskMap','_getSheetObject','ILocalStorageService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_onCursorDelete','roomMembers$','handleIRemoveRow','url(#off-line-icon_clip0_910_343)','setInterval','idSuffix','session.connection-failed','_backgroundColor','text','getLocalCacheKey','clipPath','_getFormulaLimitStatus','_checkAndWaitForCalculationPermission','MemberService','off-line-icon','LICENSE_IMPORT_SIZE_EXCEEDED','DesktopCollaborationStatusDisplayController','ALREADY_EXISTS','parseInt','mutations','_docTransformSelectionsService','dispose','getOwnPropertyDescriptor','SetWorksheetActivateCommand','_hasFormulaInDirtyRanges','_clearPolling','DataLoaderService','136XfKnNS','_maxFormulaLimit','onPointerMove$','body','getCurrentRevOfUnit','_showGuardMessage','unit','CollaborationUIEventId','_selfUnitIDs','TEXT_RANGE_LAYER_INDEX','getUniverSheetInstance','CollaborationEvent','svg','_init','ThemeService','_getScale','_cursor','storage','_imageIoService','_eventUnsubscribe','_cachedData','entries','_drawRectRange','RegularPolygon','green.600','formula.calculation.started','amd','_startCalculationLimit','beginPath','fromEvent','lineTo','stage','transformRemoteChangeset','isTransformMutationsWithChangesetSuccess','501PtBmBH'];_0x2c9c=function(){return _0x124ba8;};return _0x2c9c();}
|