@univerjs-pro/collaboration-client-ui 0.12.3-experimental.20251205-71d07c3 → 0.12.3-experimental.20251205-8c9a6bf
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x20af(_0xe8b194,_0x239d70){_0xe8b194=_0xe8b194-0xa4;const _0xcc20fd=_0xcc20();let _0x20afb0=_0xcc20fd[_0xe8b194];return _0x20afb0;}function _0xcc20(){const _0x5b60ca=['_initEvent','then','handleMoveRange','color','touchDependencies','_config','INVITE_CODE_ALREADY_BOUND','_entities','amd','UniverCollaborationClientPlugin','ACTIVE_UNIT_EVENT_CHANNEL','random','find','_getSaveTimeout','colorChannel1','_monkeyPatchLogService','clipPath','INVITE_CODE_HAS_BEEN_UES','_logService','registerBeforeClose','APPLY_DUPLICATED','CollaborationStatus','code','ITransformService','_cachedData','_heartbeatTimer','APPLY_PERMISSION_DENIED','FormulaExecuteStageType','popstate','fromEvent','_document','_updateCollabCursors','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','transformIMECache','getformulaLimitStatusUrl','redoState','_docStateChangeManagerService','ENTITLE_REPORT_LIMIT_EXCEED','name','catch','CollaborationEvent','_docClipboardService','_urlService','getRenderById','RevisionService','invokeId','idSuffix','_roomMembers$','on-line-icon_clip0_910_349','defIds','onPointerMove$','CollaborationController','200457PZzbBL','runOnServer','urlChange$','_registerDependencies','collabCursorState$','EMAIL_HAS_BEEN_BOUND','override','Vector2','getLocalCacheKey','dirtyRanges','_startDocCollabCursor','debounceTime','asObservable','uni.network.url-service','http://www.w3.org/2000/svg','Inject','CLOSE_ROOM','getSheetId','permission.content','getCollabEntity$','useCallback','react','url(#$1','width','_beforeCloseService','Warning','Loading','searchParams','m2Prime','LICENSE_DISTRO_REJECTED','yellow.400','DesktopCollaborationStatusDisplayController','assignAColorForMemberID','_scheduleClearOtherTimer','_toggleOffline','exports','ENTITLE_COUPON_EXPIRED','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','DataLoaderService','Disposable','_hover','triggerDblclick','registerDependencies','AWAITING','CanceledError','eventID','UNRECOGNIZED','includes','isTransformMutationFailure','collaboration-client-ui.config','history','fromEventSubject','_anchor','_context','m1Prime','useObservable','LICENSE_IMPORT_SIZE_EXCEEDED','_render','enableLocalCache','rxjs/operators','href','SetDocZoomRatioOperation','MessageType','_sheetSkeletonManagerService','IUniverInstanceService','_ensureSubject','REDEMPTION_USER_NOT_ELIGIBLE','collab-rect-range-','IConfigService','NodePositionConvertToRectRange','RemoveRowCommandId','...','ticket','0\x200\x2016\x2016','arc','_clearOtherTimers','currentUsage','off-line-icon','SheetCollabCursorShape','ThemeService','session.connection-failed','YUUMI_ASYNCIO_CANCELLED','post','USER_NOT_INVITED_CODE','clsx','ILocalCacheService','subscribe','function','_memberID','pushState','IBeforeCloseService','forEach','IImageIoService','limitInfo','collabStatus.conflict','collaboration.offline-data-not-saved','EffectRefRangId','translate(.97)','setActiveRange','_docSkeleton','handleDeleteRangeMoveLeft','3987236iRhBnc','SheetSkeletonManagerService','collabStatus.notCollab','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','lineno','NOT_FOUND','YUUMI_CONNECTOR_URL_NOT_FOUND','_init','addHandlerCallback','_currentUsage','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_send','pipe','YUUMI_RATE_OVER_LIMIT','string','row','RefRangeService','USERS_LEAVE','onPointerLeave$','_initStatusListener','executionId','/universer-api/license/formula/limit/status','currentSkeleton$','TOO_MANY_REQUESTS','currentTheme$','cursorInfo$','[CollaborationDataLoaderController]','selection','labelPosition','serializeRangeWithSheet','7025190nzQSoG','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','TEXT','LocaleService','UniverEngineRender','getCollabCursors$','OffLineIcon','unhandledrejection','WECHAT_HAS_BEEN_BOUND','imageSourceType','_updateSubUnitFromURLParams','handleInsertRow','_initCommandExecutedListener','_assignedColors','_unitOnClients','1529432aJDdlI','handleIRemoveCol','_collaborationUIEventService','SessionStatus','operators','CONFLICT','7204bZcNuv','REDEMPTION_CODE_INACTIVE','pluginName','_startCalculationLimit','MemberService','DOC_RANGE_TYPE','useDependency','measureText','formula.calculation.unable','docStateChange$','collabStatus.fetchMiss','activeSheet$','range','_setupSubUnitSync','OTHER_CLIENTS_EDITING','unshift','join','getCellPositionByOffset','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_messageService','getActiveSheet','collab-text-range-','startColumn','getActiveRange','IMessageService','YUUMI_UNABLE_LOAD_URL','[Unhandled\x20Rejection]:\x20','fillStyle','_memberService','_startSheetCollabCursor','DocSkeletonManagerService','BrowserCollaborationSocketService','runRefRangeMutations','transformStateCache','length','Tooltip','setParam','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','forwardRef','SetSelectionsOperation','startFormulaLimitUrl','startsWith','subscribeEvent','PY_RUNTIME_SCRIPT_ERROR','_handleEvent','LOGIN_FAILED','COMPLETION_FINISHED','onStarting','_toggleOnline','merge','RECT','_clearPolling','Error','setInterval','UNIVER_SHEET','HEADER_MENU','setItem','collabStatus.syncing','type','_removeCollabCursors','_labelPosition','size','isTransformMutationsWithChangesetSuccess','_localStorageService','_initStatusComponent','getUnhiddenWorksheets','RemoteUniscriptService','ranges','RemoveColCommandId','INVALID_ARGUMENT','getOwnPropertyDescriptor','whenReady','UNDEFINED','dispose','undoState','executeCommand','PERMISSION_DENIED','sessionStatus$','memberID','functionsExecutedState','_collaborationController','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_themeService','_collabCursorController','transformSelections','_getScale','getParam','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','/universer-api/frontend/logs','from','UNAUTHENTICATED','_univerInstanceService','bind','_commandService','_transformPreviousActiveRange','MOBILE_VERIFY_CODE_MISMATCH','source','_docSyncEditingCollabCursorService','displayName','DocCollaborationEntity','SHEET_VIEWPORT_KEY','_session','APPLY_NON_SEQUENTIAL_REVISION','column','CollaborationDataLoaderController','_draw','getMergeData','_name','mutations','unit','loadUnit','drawWith','MOBILE_HAS_BEEN_BOUND','with','USER_IS_ANONYMOUS','selections','InsertColCommandId','stringify','OFFLINE','_handleHeartbeatEvent','bottom','toDisposable','now','_getMergeRange','entries','_renderManagerService','YUUMI_NO_CUBOID_FOR_QUESTION','map','REDEMPTION_INVALID_CODE','INVALID_INVITE_CODE','onLocalMutation','mask','_cursors','HTTPService','onRendered','ENTITLE_DUP_SUBSCRIPTION','UniverSheetsUi','SetTextSelectionsOperation','@univerjs/design','unload','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','replaceDocRanges','_pollingInterval','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_collaborationSessionService','OnLineIcon','setAlpha','SNAPSHOT_HAS_BEEN_REMOVED','CollaborationUIEventId','onPointerEnter$','jsx','addObjects','use','_notificationService','_scene','all','_syncEditingCollabCursorService','@univerjs/network','#FFF','ONLINE','UnitStatus','NOT_COLLAB','none','_cursor','CURRENT_STATUS_CANNOT_OPERATE','createElement','_docTransformSelectionsService','_initDependencies','_imageIoService','_updateLocalCursor','_handleHover','_uploadLog','maxFormulaLimit','_docTransformStateCacheService','endRow','_cursorInfo$','location','ENTITLE_NEED_BILLING_ADDRESS','@univerjs/sheets','xlink:href','setConfig','_scheduleSaving','getMember','FromArray','releaseFormulaLimitUrl','ERROR_AGAIN','toStringTag','storage','_removeClearOtherTimer','_getFormulaLimitStatus','backgroundColor','removeParam','@univerjs/docs-ui','getDocRanges','_checkCalculationAvailable','EMAIL_VERIFY_CODE_MISMATCH','init','WebSocketService','@univerjs/engine-formula','colno','_onRefRangeChange','collaboration.single-unit.warning','black','CollaborationSocketService','_initUserListener','OTHER_CLIENT_EDITING','defineProperty','send','_collabSessionService','_drawTextRange','substring','disposeWithMe','SetFormulaCalculationStartMutation','_selfUnitIDs','REDEMPTION_CODE_NOT_STARTED','disableLocalCache','UPDATE_CURSOR','JOIN_ROOM_FAILED','fill','10746855zWkcbS','filter','event$','unitId','formula.calculation.waiting','@univerjs/drawing','evenodd','IRenderManagerService','\x20at\x20','subUnitId','unitID','div','getTypeOfUnitDisposed$','cursorInfo','SOCKET_FAILED','replace','actions','[LogService\x20Error]:\x20','status$','/universer-api/license/formula/limit/start','_configService','deserializeRangeWithSheet','current','addObject','RxDisposable','364623kxQPxI','replaceState','LOCAL_CACHE_INTERVAL_KEY','rxjs','exhaustSavingTask','_uiPartsService','INTERNAL_ERROR','DocSelectionManagerService','defs','collab-client.tooltip.reconnect','DisposableCollection','roomMembers','message','path','transformRemoteChangeset','height','editingUnit','getViewport','_drawRectRange','ISocketService','handleDeleteRangeMoveUp','requireSession','clearTimeout','currentColor','COLORS','isFormulaId','save','_getSessionTicket','ENTITLE_INSUFFICIENT_QUOTA','_scheduleHeartbeat','SheetsSelectionsService','sessionTicket','wsSessionTicketUrl','complete','isArray','RegularPolygon','createSocket','jsxs','getUniverSheetInstance','getUndoRedoMutationParamsCache','getValue','restore','_initUnhandledRejectionListener','_entityInit$','_createSocketURL','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getSheetObject','_colorIndex','NodePositionConvertToCursor','getColor','isEditing','DocIMEInputManagerService','transformMutation','blue.400','@univerjs/rpc','getCurrentSelections','WebURLService','max','_docTransformIMECacheService','_eventUnsubscribe','removeEventListener','attrs','Subject','Tools','Failed','setShapeProps','DependentOn','UniverDrawing','round','onCommandExecuted','getConfig','PAYMENT_CHANNEL_NOT_SUPPORT','React','deepClone','red.300','textRanges','YUUMI_ALL_TABLES_IS_INVALID','_transformService','UniverProCollaborationClientUi','data','_revisionService','getSheetBySheetId','ISnapshotServerService','show','UniverDocsUi','DocStateChangeManagerService','addEventListener','_taskIds','_docSkeletonManagerService','_getSheetObject','YUUMI_SUBSCRIPTION_NOT_FOUND','has','UniverDocs','children','combineLatest','_refRangeService','_onCursorDelete','filename','result','UniverSheets','_lastPointer','Rectangle','getUnitStatus$','trim','react/jsx-runtime','_anchorDot','SUCCESS','getColorFromTheme','ENTITLE_INVALID_COUPON_CODE','sheetId','_transformHistoryAndStateStack','getAncestorScale','_injector','_status$','enableFrontendLog','collaboration.closeRoom','doc.mutation.rich-text-editing','RichTextEditingMutation','_localeService','roomMembers$','hovered','getMemberID','_onCursorUpdate','_shapes','_unitStatus','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','contains','ENTITLE_CHAT_LIMIT_EXCEED','_initCommandInterceptor','isActive','rgba(255,\x20255,\x20255,\x200.01)','getRangePointData','APPLY_REJECT','REDEMPTION_CODE_HAS_BEEN_CREATED','next','univer-flex\x20univer-items-center','hide','startRow','ENTITLE_USE_COUPON_NOT_1ST_TRADE','getVpScrollXYInfoByPosToVp','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_online','stack','syncEditingCollabCursor','registerRenderModule','top','reconnect','getCurrent','error','getCurrentRevOfUnit','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','fillText','engine','_updateURLWithCurrentState','1em','_hideTimer','handleInsertCol','_localCacheService','add','svg','IURLService','useRef','toRgbString','REDEMPTION_USER_REDEEM_TIMES_EXCEED','ILogService','_httpService','UniverCollaborationClientUIPlugin','?taskId=','_colorAssignService','parseInt','APPLY_REVISION_CONFILICT','flatMap','CollaborationSessionService','/universer-api/license/formula/limit/done','symbol','BehaviorSubject','findNodePositionByCharIndex','UniverCore','transformByState','_range','getStateCache','get','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_textBubble','LOGIN_TOKEN_PROCESSING_FAILED','transform','params','takeUntil','IDocClipboardService','TEXT_RANGE_LAYER_INDEX','_drawAnchor','WebBrowserSingleActiveUnitService','text','Unknown\x20user','_checkAndWaitForCalculationPermission','InsertRangeMoveRightCommandId','updateOfflineData','search','key','DeleteRangeMoveLeftCommandId','univerjs-icon\x20univerjs-icon-','M0\x200H16V16H0z','UniverInstanceType','ENTITLE_COUPON_USED_UP','getOffsetConfig','Success','getUnitId','dispose$','assign','disposeUnit','collab-text-anchor-','jiqing.500','_saveCache','YUUMI_URL_COL_OUT_OF_RANGE','url(#off-line-icon_clip0_910_343)','switchMap','body','_getAnchorBounding','YUUMI_AI_RUN_FAILED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','Workbook','_disabled','_maxFormulaLimit','_cursorShapes','Rect','createInstance','REDEMPTION_CODE_FULLY_REDEEMED','lineTo','_releaseCalculationLimit','_hovered','push','entityInit$','focused$','permission.title','addClipboardHook','Shape','@univerjs/sheets-ui','delete','_initResize','/run/','handleInsertRangeMoveRight','_registerRenderDependencies','unsubscribe','_collabCursorState$','UniverUi','object','_instanceService','toString','registerRefRange','_handleJoinEvent','IUIPartsService','@univerjs/core','setUndoRedoMutationParamsCache','LICENSE_MAX_UNITS_EXCEEDED','0\x200\x2017\x2016','white','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_id','debug','font','getFocusedUnit','NO_OTHER_CLIENTS_EDITING','_lastResponseTimestamp','UNIVER_DOC','totalFormulasToCalculate','_saveTaskMap','ENSURE_SNAPSHOT_EXECUTION','split','getCellMatrix','@univerjs-pro/collaboration','DeleteRangeMoveUpCommandId','transformMutationsWithChangeset','UniverProCollaborationClient','5AiMQEf','FETCH_MISS','runId','getCoordByCell','DEFAULT_WS_SESSION_TICKET_URL','1090eMdMHh','SNAPSHOT_INVALID_SNAPSHOT','session.collaboration-timeout','set','BuiltInUIPart','_color','FormulaExecutedStateType','_dataLoaderService','newValue','values','loadOfflineData','tag','Optional','_backgroundColor','20gKqajS','INotificationService','_setFormulaLimitStatus','generateRandomId','min','_initEntityListener','UniverEngineFormula','shareReplay','SetFormulaCalculationNotificationMutation','CommandType','onMouseMove','getRelativeToViewportCoord','beforeCommandExecuted','_initWindowErrorListener','sheetID','_hasFormulaInDirtyRanges','ICommandService','UniverNetwork','setStateCache','url(#on-line-icon_clip0_910_349)','Injector','debounce','parse','getSkeleton','CONNECTOR_DATA_TOO_LARGE','@univerjs/ui','LOCAL_CACHE_INTERVAL','subunit','green.600','ColorKit','_refreshCollabCursors'];_0xcc20=function(){return _0x5b60ca;};return _0xcc20();}(function(_0x16ce6a,_0xc61bde){const _0xeff1f=_0x20af,_0x529868=_0x16ce6a();while(!![]){try{const _0x53acb7=parseInt(_0xeff1f(0x319))/0x1*(parseInt(_0xeff1f(0x101))/0x2)+-parseInt(_0xeff1f(0x1f5))/0x3+-parseInt(_0xeff1f(0xce))/0x4*(-parseInt(_0xeff1f(0x306))/0x5)+-parseInt(_0xeff1f(0xec))/0x6+-parseInt(_0xeff1f(0x1dc))/0x7+parseInt(_0xeff1f(0xfb))/0x8+-parseInt(_0xeff1f(0x36c))/0x9*(-parseInt(_0xeff1f(0x30b))/0xa);if(_0x53acb7===_0xc61bde)break;else _0x529868['push'](_0x529868['shift']());}catch(_0x1a97a0){_0x529868['push'](_0x529868['shift']());}}}(_0xcc20,0xd1fd2),function(_0x41ff9e,_0x2653c4){const _0x1989d1=_0x20af;typeof exports==_0x1989d1(0x2ea)&&typeof module<'u'?_0x2653c4(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x1989d1(0xc0)&&define[_0x1989d1(0x340)]?define([_0x1989d1(0x38f),_0x1989d1(0x25d),'@univerjs-pro/collaboration-client',_0x1989d1(0x2f0),_0x1989d1(0x332),_0x1989d1(0x1f8),_0x1989d1(0x18b),_0x1989d1(0x381),_0x1989d1(0x22b),_0x1989d1(0x1b3),'@univerjs/engine-render',_0x1989d1(0x19e),_0x1989d1(0x1c1),_0x1989d1(0x1e1),_0x1989d1(0x302),'@univerjs/docs',_0x1989d1(0x1c7),_0x1989d1(0xa4),_0x1989d1(0x2e1)],_0x2653c4):(_0x41ff9e=typeof globalThis<'u'?globalThis:_0x41ff9e||self,_0x2653c4(_0x41ff9e[_0x1989d1(0x243)]={},_0x41ff9e[_0x1989d1(0x23d)],_0x41ff9e[_0x1989d1(0x305)],_0x41ff9e[_0x1989d1(0x2a6)],_0x41ff9e[_0x1989d1(0x2e9)],_0x41ff9e[_0x1989d1(0x1f8)],_0x41ff9e['UniverDesign'],_0x41ff9e[_0x1989d1(0x23d)],_0x41ff9e['UniverRpc'],_0x41ff9e[_0x1989d1(0x258)],_0x41ff9e[_0x1989d1(0xf0)],_0x41ff9e[_0x1989d1(0x32a)],_0x41ff9e[_0x1989d1(0x249)],_0x41ff9e[_0x1989d1(0x238)],_0x41ff9e['UniverProCollaboration'],_0x41ff9e[_0x1989d1(0x251)],_0x41ff9e[_0x1989d1(0x31f)],_0x41ff9e['rxjs'][_0x1989d1(0xff)],_0x41ff9e[_0x1989d1(0x189)]));}(this,function(_0x487266,_0x56bdbb,_0x26bc40,_0x717d91,_0x498b33,_0x170cda,_0x203981,_0x33ecf2,_0x2cf533,_0x45a7b5,_0x4a1571,_0x429433,_0x42f0df,_0x3ea70a,_0xdf7641,_0x59e61e,_0x41dddf,_0x5954f8,_0x627437){'use strict';const _0x2a4ba5=_0x20af;var _0x241028=Object[_0x2a4ba5(0x1cf)],_0xcbebb8=(_0x4530d9,_0xa13923,_0x5d63fb)=>_0xa13923 in _0x4530d9?_0x241028(_0x4530d9,_0xa13923,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5d63fb}):_0x4530d9[_0xa13923]=_0x5d63fb,_0x271c55=(_0x1da67e,_0x3166dd,_0x8b0719)=>_0xcbebb8(_0x1da67e,typeof _0x3166dd!=_0x2a4ba5(0x2a3)?_0x3166dd+'':_0x3166dd,_0x8b0719);function _0x21c483({ref:_0x1bf320,..._0x41f258}){const _0x163e09=_0x2a4ba5,{icon:_0x3335c0,id:_0x52f12d,className:_0x207dd2,extend:_0x2ab12b,..._0x193689}=_0x41f258,_0x5762e7=(_0x163e09(0x2bd)+_0x52f12d+'\x20'+(_0x207dd2||''))[_0x163e09(0x25c)](),_0x27a21c=_0x33ecf2[_0x163e09(0x296)]('_'+_0xfff553());return _0x5040e3(_0x3335c0,''+_0x52f12d,{'defIds':_0x3335c0[_0x163e09(0x369)],'idSuffix':_0x27a21c[_0x163e09(0x1f2)]},{'ref':_0x1bf320,'className':_0x5762e7,..._0x193689},_0x2ab12b);}function _0x5040e3(_0xb69cc,_0x495fef,_0x2a4d48,_0xc95059,_0x228218){const _0x3e2613=_0x2a4ba5;return _0x33ecf2[_0x3e2613(0x1a6)](_0xb69cc[_0x3e2613(0x316)],{'key':_0x495fef,..._0x3baa28(_0xb69cc,_0x2a4d48,_0x228218),..._0xc95059},(_0x339420(_0xb69cc,_0x2a4d48)['children']||[])['map']((_0x2ed684,_0x48b8a3)=>_0x5040e3(_0x2ed684,_0x495fef+'-'+_0xb69cc[_0x3e2613(0x316)]+'-'+_0x48b8a3,_0x2a4d48,void 0x0,_0x228218)));}function _0x3baa28(_0x471e1c,_0x4b8852,_0x5dfd70){const _0x3b773c=_0x2a4ba5,_0x4b5328={..._0x471e1c[_0x3b773c(0x232)]};_0x5dfd70!=null&&_0x5dfd70[_0x3b773c(0x346)]&&_0x4b5328[_0x3b773c(0x1db)]===_0x3b773c(0x346)&&(_0x4b5328[_0x3b773c(0x1db)]=_0x5dfd70[_0x3b773c(0x346)]),_0x471e1c['tag']===_0x3b773c(0x184)&&_0x4b5328['id']&&(_0x4b5328['id']=_0x4b5328['id']+_0x4b8852[_0x3b773c(0x366)]),Object['entries'](_0x4b5328)[_0x3b773c(0xc4)](([_0x3cba65,_0x4d65f5])=>{const _0x22eed5=_0x3b773c;_0x3cba65===_0x22eed5(0x184)&&typeof _0x4d65f5==_0x22eed5(0xdc)&&(_0x4b5328[_0x3cba65]=_0x4d65f5[_0x22eed5(0x1eb)](/url\(#(.*)\)/,_0x22eed5(0x382)+_0x4b8852['idSuffix']+')'));});const {defIds:_0x48d04d}=_0x4b8852;return!_0x48d04d||_0x48d04d[_0x3b773c(0x123)]===0x0||(_0x471e1c[_0x3b773c(0x316)]===_0x3b773c(0x199)&&_0x4b5328[_0x3b773c(0x1b4)]&&(_0x4b5328['xlink:href']=_0x4b5328[_0x3b773c(0x1b4)]+_0x4b8852[_0x3b773c(0x366)]),Object[_0x3b773c(0x17d)](_0x4b5328)[_0x3b773c(0xc4)](([_0x454ad6,_0xdbdc5f])=>{const _0x36a5db=_0x3b773c;typeof _0xdbdc5f==_0x36a5db(0xdc)&&(_0x4b5328[_0x454ad6]=_0xdbdc5f['replace'](/url\(#(.*)\)/,_0x36a5db(0x382)+_0x4b8852[_0x36a5db(0x366)]+')'));})),_0x4b5328;}function _0x339420(_0x50bc3f,_0x549dcf){const _0x42defe=_0x2a4ba5;var _0x540480;const {defIds:_0x1aab9e}=_0x549dcf;return!_0x1aab9e||_0x1aab9e[_0x42defe(0x123)]===0x0?_0x50bc3f:_0x50bc3f['tag']===_0x42defe(0x1fd)&&((_0x540480=_0x50bc3f['children'])!=null&&_0x540480[_0x42defe(0x123)])?{..._0x50bc3f,'children':_0x50bc3f[_0x42defe(0x252)]['map'](_0x5efc56=>typeof _0x5efc56[_0x42defe(0x232)]['id']=='string'&&_0x1aab9e&&_0x1aab9e[_0x42defe(0x39b)](_0x5efc56[_0x42defe(0x232)]['id'])?{..._0x5efc56,'attrs':{..._0x5efc56[_0x42defe(0x232)],'id':_0x5efc56[_0x42defe(0x232)]['id']+_0x549dcf[_0x42defe(0x366)]}}:_0x5efc56)}:_0x50bc3f;}function _0xfff553(){const _0x14793c=_0x2a4ba5;return Math[_0x14793c(0x343)]()[_0x14793c(0x2ec)](0x24)[_0x14793c(0x1d3)](0x2,0x8);}_0x21c483[_0x2a4ba5(0x163)]='UniverIcon';const _0x4a6812={'tag':_0x2a4ba5(0x294),'attrs':{'xmlns':_0x2a4ba5(0x37a),'fill':_0x2a4ba5(0x1a3),'viewBox':_0x2a4ba5(0xb2),'width':_0x2a4ba5(0x28f),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2a4ba5(0x2cb)},'children':[{'tag':'path','attrs':{'stroke':_0x2a4ba5(0x20c),'d':_0x2a4ba5(0x28b),'strokeLinecap':_0x2a4ba5(0x239),'strokeLinejoin':_0x2a4ba5(0x239),'strokeWidth':1.2}}]},{'tag':_0x2a4ba5(0x1fd),'attrs':{},'children':[{'tag':_0x2a4ba5(0x348),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x2a4ba5(0x202),'attrs':{'fill':_0x2a4ba5(0x2f4),'d':_0x2a4ba5(0x2be)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x2b94c7=_0x33ecf2['forwardRef'](function(_0x1c055d,_0x259476){const _0x13a411=_0x2a4ba5;return _0x33ecf2[_0x13a411(0x1a6)](_0x21c483,Object[_0x13a411(0x2c5)]({},_0x1c055d,{'id':_0x13a411(0xb6),'ref':_0x259476,'icon':_0x4a6812}));});_0x2b94c7[_0x2a4ba5(0x163)]=_0x2a4ba5(0xf2);const _0x54aeed={'tag':'svg','attrs':{'xmlns':_0x2a4ba5(0x37a),'fill':_0x2a4ba5(0x1a3),'viewBox':_0x2a4ba5(0x2f3),'width':_0x2a4ba5(0x28f),'height':_0x2a4ba5(0x28f)},'children':[{'tag':'g','attrs':{'clipPath':_0x2a4ba5(0x32c)},'children':[{'tag':_0x2a4ba5(0x202),'attrs':{'stroke':_0x2a4ba5(0x20c),'d':_0x2a4ba5(0x391),'strokeLinecap':_0x2a4ba5(0x239),'strokeLinejoin':_0x2a4ba5(0x239),'strokeWidth':1.2}}]},{'tag':_0x2a4ba5(0x1fd),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x2a4ba5(0x202),'attrs':{'fill':_0x2a4ba5(0x2f4),'d':_0x2a4ba5(0x2be),'transform':_0x2a4ba5(0xca)}}]}]}],'defIds':[_0x2a4ba5(0x368)]},_0x2c1f0c=_0x33ecf2[_0x2a4ba5(0x127)](function(_0x4b6570,_0xb14dfd){const _0x16c05c=_0x2a4ba5;return _0x33ecf2[_0x16c05c(0x1a6)](_0x21c483,Object[_0x16c05c(0x2c5)]({},_0x4b6570,{'id':'on-line-icon','ref':_0xb14dfd,'icon':_0x54aeed}));});_0x2c1f0c[_0x2a4ba5(0x163)]=_0x2a4ba5(0x192);function _0x2d3776(_0x2fa18c){const _0x470f69=_0x2a4ba5;switch(_0x2fa18c){case _0x26bc40['CollaborationStatus'][_0x470f69(0x177)]:return'collabStatus.offline';case _0x26bc40['CollaborationStatus'][_0x470f69(0x100)]:return _0x470f69(0xc7);case _0x26bc40[_0x470f69(0x34d)][_0x470f69(0x307)]:return _0x470f69(0x10b);case _0x26bc40['CollaborationStatus'][_0x470f69(0x1a2)]:return _0x470f69(0xd0);case _0x26bc40['CollaborationStatus'][_0x470f69(0x397)]:case _0x26bc40['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x470f69(0x13a);case _0x26bc40[_0x470f69(0x34d)]['SYNCED']:case _0x26bc40['CollaborationStatus']['PENDING']:return'collabStatus.synced';}}function _0x15b136(_0x3698cf){const _0x3669d4=_0x2a4ba5,{status$:_0x3f8c68}=_0x3698cf,_0x4d6355=_0x498b33[_0x3669d4(0x3a3)](_0x3f8c68,_0x26bc40['CollaborationStatus'][_0x3669d4(0x1a2)]),_0x2644a4=_0x498b33[_0x3669d4(0x107)](_0x717d91['LocaleService']),_0x4bdfbe=_0x498b33[_0x3669d4(0x107)](_0x26bc40[_0x3669d4(0x2a1)]),_0x289586=_0x4d6355!==_0x26bc40[_0x3669d4(0x34d)]['OFFLINE'],_0x3007d3=_0x2644a4['t'](_0x2d3776(_0x4d6355)),_0x202a6e=_0x289586?_0x56bdbb['jsx'](_0x2c1f0c,{}):_0x56bdbb[_0x3669d4(0x197)](_0x2b94c7,{}),_0x525a2f=_0x33ecf2[_0x3669d4(0x380)](()=>{const _0x267016=_0x3669d4;_0x289586||_0x4bdfbe[_0x267016(0x287)]();},[_0x289586,_0x4bdfbe]);function _0x5ab85c(){const _0x33ada4=_0x3669d4;return _0x56bdbb[_0x33ada4(0x21a)](_0x33ada4(0x1e7),{'className':_0x33ada4(0x27c),'onClick':_0x525a2f,'children':[_0x56bdbb[_0x33ada4(0x197)](_0x33ada4(0x1e7),{'className':_0x203981[_0x33ada4(0xbd)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x289586,'univer-text-red-500':!_0x289586}),'children':_0x202a6e}),_0x56bdbb[_0x33ada4(0x197)](_0x33ada4(0x1e7),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3007d3})]});}return _0x289586?_0x5ab85c():_0x56bdbb[_0x3669d4(0x197)](_0x203981[_0x3669d4(0x124)],{'title':_0x2644a4['t'](_0x3669d4(0x1fe)),'children':_0x5ab85c()});}var _0x318402=Object['getOwnPropertyDescriptor'],_0x435cf3=(_0x421bc2,_0x103fec,_0x14f251,_0x59bb18)=>{for(var _0x180f54=_0x59bb18>0x1?void 0x0:_0x59bb18?_0x318402(_0x103fec,_0x14f251):_0x103fec,_0x52cdff=_0x421bc2['length']-0x1,_0x30d9cb;_0x52cdff>=0x0;_0x52cdff--)(_0x30d9cb=_0x421bc2[_0x52cdff])&&(_0x180f54=_0x30d9cb(_0x180f54)||_0x180f54);return _0x180f54;},_0x2348e1=(_0x55a5ec,_0xc60512)=>(_0x426436,_0x555a0a)=>_0xc60512(_0x426436,_0x555a0a,_0x55a5ec);_0x487266[_0x2a4ba5(0x38b)]=class extends _0x717d91[_0x2a4ba5(0x393)]{constructor(_0x49e4ae,_0x629219,_0x201b98,_0x250d04){const _0x17f367=_0x2a4ba5;super(),_0x271c55(this,_0x17f367(0x266),new _0x170cda[(_0x17f367(0x2a4))](_0x26bc40['CollaborationStatus']['NOT_COLLAB'])),(this[_0x17f367(0x15c)]=_0x49e4ae,this[_0x17f367(0x265)]=_0x629219,this[_0x17f367(0x151)]=_0x201b98,this[_0x17f367(0x1fa)]=_0x250d04,this[_0x17f367(0x141)](),this[_0x17f367(0xe1)]());}[_0x2a4ba5(0xe1)](){const _0x5bd4b7=_0x2a4ba5;this['disposeWithMe'](this[_0x5bd4b7(0x15c)][_0x5bd4b7(0x2dd)][_0x5bd4b7(0xda)](_0x170cda[_0x5bd4b7(0x2cc)](()=>{const _0x55ef6b=_0x5bd4b7,_0xd468f8=this[_0x55ef6b(0x15c)][_0x55ef6b(0x2f9)]();return _0xd468f8?this[_0x55ef6b(0x151)][_0x55ef6b(0x37f)](_0xd468f8[_0x55ef6b(0x2c3)]()):_0x170cda['of'](null);}),_0x170cda[_0x5bd4b7(0x2cc)](_0x44dc98=>_0x44dc98?_0x44dc98[_0x5bd4b7(0x1ee)]:_0x170cda['of'](_0x26bc40[_0x5bd4b7(0x34d)][_0x5bd4b7(0x1a2)])))[_0x5bd4b7(0xbf)](_0x19d6c3=>{const _0x1e24a2=_0x5bd4b7;this[_0x1e24a2(0x266)]['next'](_0x19d6c3);}));}[_0x2a4ba5(0x141)](){const _0x34ecdf=_0x2a4ba5;this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x498b33[_0x34ecdf(0x30f)][_0x34ecdf(0x138)],()=>_0x498b33['connectInjector'](_0x153887({'status$':this[_0x34ecdf(0x266)][_0x34ecdf(0x378)]()}),this[_0x34ecdf(0x265)])));}},_0x487266[_0x2a4ba5(0x38b)]=_0x435cf3([_0x2348e1(0x0,_0x717d91['IUniverInstanceService']),_0x2348e1(0x1,_0x717d91[_0x2a4ba5(0x37b)](_0x717d91[_0x2a4ba5(0x32d)])),_0x2348e1(0x2,_0x717d91[_0x2a4ba5(0x37b)](_0x26bc40[_0x2a4ba5(0x36b)])),_0x2348e1(0x3,_0x498b33[_0x2a4ba5(0x2ef)])],_0x487266[_0x2a4ba5(0x38b)]);function _0x153887(_0x53faf3){const {status$:_0x58caea}=_0x53faf3;return function(){const _0x4aad68=_0x20af;return _0x56bdbb[_0x4aad68(0x197)](_0x15b136,{'status$':_0x58caea});};}const _0x8c03a2=_0x717d91['createIdentifier'](_0x2a4ba5(0x379));var _0x138230=Object[_0x2a4ba5(0x147)],_0x2ecc3b=(_0xc3457e,_0x5db49f,_0x16f207,_0x149afc)=>{const _0x2bd771=_0x2a4ba5;for(var _0x4020c6=_0x149afc>0x1?void 0x0:_0x149afc?_0x138230(_0x5db49f,_0x16f207):_0x5db49f,_0x3f314d=_0xc3457e[_0x2bd771(0x123)]-0x1,_0x4a0725;_0x3f314d>=0x0;_0x3f314d--)(_0x4a0725=_0xc3457e[_0x3f314d])&&(_0x4020c6=_0x4a0725(_0x4020c6)||_0x4020c6);return _0x4020c6;},_0x317627=(_0x3ea074,_0xff6087)=>(_0x4a2dc5,_0x540a01)=>_0xff6087(_0x4a2dc5,_0x540a01,_0x3ea074);_0x487266[_0x2a4ba5(0x169)]=class extends _0x717d91[_0x2a4ba5(0x1f4)]{constructor(_0x128c18,_0x406f82,_0x1c2232,_0x4d9872,_0x4c0015){const _0x4383f7=_0x2a4ba5;super(),this[_0x4383f7(0x362)]=_0x128c18,this[_0x4383f7(0x34a)]=_0x406f82,this[_0x4383f7(0x15e)]=_0x1c2232,this[_0x4383f7(0x312)]=_0x4d9872,_0x4c0015?_0x4c0015==null||_0x4c0015[_0x4383f7(0x148)]()[_0x4383f7(0x339)](()=>this['_init']()):(this[_0x4383f7(0x34a)][_0x4383f7(0x2f7)](_0x4383f7(0xe8),_0x4383f7(0x126)),this['_init']());}async[_0x2a4ba5(0xd5)](){const _0x4a8ad8=_0x2a4ba5,_0xb2c175=this[_0x4a8ad8(0x362)][_0x4a8ad8(0x157)](_0x4a8ad8(0x16e)),_0x4558e3=this[_0x4a8ad8(0x362)][_0x4a8ad8(0x157)](_0x4a8ad8(0x13b)),_0xc7726b=this[_0x4a8ad8(0x362)][_0x4a8ad8(0x157)]('subunit');if(!_0xb2c175||!_0x4558e3){this[_0x4a8ad8(0x34a)][_0x4a8ad8(0x2f7)](_0x4a8ad8(0xe8),_0x4a8ad8(0x2d0));return;}const _0x182783=await this[_0x4a8ad8(0x312)][_0x4a8ad8(0x16f)](_0xb2c175,Number(_0x4558e3),_0xc7726b);_0x182783&&_0x182783 instanceof _0x717d91[_0x4a8ad8(0x2d1)]&&this[_0x4a8ad8(0x10e)](_0x182783);}async[_0x2a4ba5(0x10e)](_0x506a60){const _0x2bf1af=_0x2a4ba5;await this[_0x2bf1af(0xf6)](_0x506a60),_0x506a60[_0x2bf1af(0x10c)][_0x2bf1af(0xda)](_0x170cda[_0x2bf1af(0x2b0)](this[_0x2bf1af(0x2c4)]))[_0x2bf1af(0xbf)](_0x1dfa1d=>{const _0x4c263f=_0x2bf1af;_0x1dfa1d&&this[_0x4c263f(0x28e)](_0x1dfa1d);}),this[_0x2bf1af(0x362)][_0x2bf1af(0x36e)][_0x2bf1af(0xda)](_0x170cda[_0x2bf1af(0x2b0)](this[_0x2bf1af(0x2c4)]))[_0x2bf1af(0xbf)](()=>this['_updateSubUnitFromURLParams'](_0x506a60));}[_0x2a4ba5(0x28e)](_0x15fdb5,_0x114d82=!0x1){const _0x20ce97=_0x2a4ba5,_0x1be8ba=this[_0x20ce97(0x362)][_0x20ce97(0x157)](_0x20ce97(0x334));_0x15fdb5[_0x20ce97(0x37d)]()!==_0x1be8ba&&this['_urlService'][_0x20ce97(0x125)](_0x20ce97(0x334),_0x15fdb5[_0x20ce97(0x37d)](),_0x114d82);}async['_updateSubUnitFromURLParams'](_0x578773){const _0xd90ca5=_0x2a4ba5;var _0x46b0da;const _0x1bb561=this[_0xd90ca5(0x362)][_0xd90ca5(0x157)](_0xd90ca5(0x334));if(!_0x1bb561||!_0x578773[_0xd90ca5(0x246)](_0x1bb561)){const _0x27c4ee=_0x578773[_0xd90ca5(0x142)]()[0x0],_0x43c019=_0x578773['getSheetBySheetId'](_0x27c4ee);if(!_0x43c019)return;this[_0xd90ca5(0x28e)](_0x43c019,!0x0),await this[_0xd90ca5(0x15e)][_0xd90ca5(0x14c)](_0x45a7b5['SetWorksheetActivateCommand']['id'],{'unitId':_0x578773[_0xd90ca5(0x2c3)](),'subUnitId':_0x27c4ee});return;}((_0x46b0da=_0x578773[_0xd90ca5(0x115)]())==null?void 0x0:_0x46b0da['getSheetId']())!==_0x1bb561&&await this[_0xd90ca5(0x15e)][_0xd90ca5(0x14c)](_0x45a7b5['SetWorksheetActivateCommand']['id'],{'unitId':_0x578773[_0xd90ca5(0x2c3)](),'subUnitId':_0x1bb561});}},_0x487266[_0x2a4ba5(0x169)]=_0x2ecc3b([_0x317627(0x0,_0x8c03a2),_0x317627(0x1,_0x717d91[_0x2a4ba5(0x299)]),_0x317627(0x2,_0x717d91['ICommandService']),_0x317627(0x3,_0x717d91[_0x2a4ba5(0x37b)](_0x26bc40[_0x2a4ba5(0x392)])),_0x317627(0x4,_0x717d91[_0x2a4ba5(0x317)](_0x2cf533['IRemoteInstanceService']))],_0x487266[_0x2a4ba5(0x169)]);var _0x17ee1d=Object['getOwnPropertyDescriptor'],_0x89178=(_0x91fbb7,_0x4e9bcf,_0x1041e9,_0xc6f5c7)=>{for(var _0x19b77e=_0xc6f5c7>0x1?void 0x0:_0xc6f5c7?_0x17ee1d(_0x4e9bcf,_0x1041e9):_0x4e9bcf,_0x4477a3=_0x91fbb7['length']-0x1,_0x3c212b;_0x4477a3>=0x0;_0x4477a3--)(_0x3c212b=_0x91fbb7[_0x4477a3])&&(_0x19b77e=_0x3c212b(_0x19b77e)||_0x19b77e);return _0x19b77e;},_0x200b08=(_0x3f6a2a,_0x2b7407)=>(_0xdd5836,_0x108f45)=>_0x2b7407(_0xdd5836,_0x108f45,_0x3f6a2a);let _0x4fa738=class extends _0x717d91[_0x2a4ba5(0x1f4)]{constructor(_0xe7de6f,_0x108b79){const _0x44a5ec=_0x2a4ba5;super(),this[_0x44a5ec(0x361)]=_0xe7de6f,this[_0x44a5ec(0x1a9)]=_0x108b79,this[_0x44a5ec(0xd5)]();}[_0x2a4ba5(0xd5)](){const _0x447f5b=_0x2a4ba5,_0x4b101f=this;this[_0x447f5b(0x1d4)](this[_0x447f5b(0x361)][_0x447f5b(0x2df)]({'onBeforePasteImage':async _0x1b87f3=>{const _0x22dc4f=_0x447f5b,_0x4c0b9a=await _0x4b101f[_0x22dc4f(0x1a9)]['saveImage'](_0x1b87f3);return _0x4c0b9a?{'source':_0x4c0b9a[_0x22dc4f(0x161)],'imageSourceType':_0x4c0b9a[_0x22dc4f(0xf5)]}:null;}}));}};_0x4fa738=_0x89178([_0x200b08(0x0,_0x42f0df[_0x2a4ba5(0x2b1)]),_0x200b08(0x1,_0x3ea70a[_0x2a4ba5(0xc5)])],_0x4fa738);const _0x314d67=['purple.300',_0x2a4ba5(0x2c8),_0x2a4ba5(0x335),_0x2a4ba5(0x23f),_0x2a4ba5(0x22a),_0x2a4ba5(0x38a)];class _0x170667 extends _0x717d91[_0x2a4ba5(0x393)]{constructor(){const _0x29c5a9=_0x2a4ba5;super(...arguments),_0x271c55(this,'_assignedColors',new Map()),_0x271c55(this,_0x29c5a9(0x224),0x0);}['assignAColorForMemberID'](_0x7e4366){const _0x33a7b7=_0x2a4ba5;if(this['_assignedColors'][_0x33a7b7(0x250)](_0x7e4366))return this['_assignedColors'][_0x33a7b7(0x2aa)](_0x7e4366);const _0x4dec72=_0x314d67[this['_colorIndex']];return this[_0x33a7b7(0x224)]=(this[_0x33a7b7(0x224)]+0x1)%_0x314d67[_0x33a7b7(0x123)],this[_0x33a7b7(0xf9)][_0x33a7b7(0x30e)](_0x7e4366,_0x4dec72),_0x4dec72;}}function _0x4c9e65(_0x36f597){const _0x1de776=_0x2a4ba5;let _0x3af262='';for(const _0x1022f7 of _0x36f597){const {startOffset:_0x372b3b,endOffset:_0x162540,isActive:_0x55dc76,rangeType:_0x560843,segmentId:_0x59734c,segmentPage:_0x167e28}=_0x1022f7;_0x3af262[_0x1de776(0x123)]&&(_0x3af262+=','),_0x3af262+=_0x372b3b+':'+_0x162540+':'+(_0x55dc76?'1':'0')+':'+_0x560843+':'+_0x59734c+':'+_0x167e28;}return _0x3af262;}function _0x278353(_0x5966c3){const _0x45828f=_0x2a4ba5,_0x5eb326=_0x5966c3['split'](','),_0x398e85=[];for(const _0x4b9594 of _0x5eb326){const [_0x53ea60,_0x48b052,_0x1719a1,_0x55c429,_0x27dca1,_0x16c153]=_0x4b9594[_0x45828f(0x300)](':');_0x398e85['push']({'startOffset':Number(_0x53ea60),'endOffset':Number(_0x48b052),'collapsed':_0x53ea60===_0x48b052,'isActive':_0x1719a1==='1','rangeType':_0x55c429===_0x717d91[_0x45828f(0x106)]['TEXT']?_0x717d91[_0x45828f(0x106)][_0x45828f(0xee)]:_0x717d91[_0x45828f(0x106)][_0x45828f(0x133)],'segmentId':typeof _0x27dca1=='string'?String(_0x27dca1):'','segmentPage':Number(_0x16c153!=null?_0x16c153:-0x1)});}return _0x398e85['some'](_0x513781=>_0x513781[_0x45828f(0x276)])||(_0x398e85[0x0][_0x45828f(0x276)]=!0x0),_0x398e85;}class _0x531ef2 extends _0x717d91['RxDisposable']{constructor(){const _0x1aaeba=_0x2a4ba5;super(...arguments),_0x271c55(this,_0x1aaeba(0x2e8),new _0x170cda[(_0x1aaeba(0x2a4))](null)),_0x271c55(this,_0x1aaeba(0x370),this[_0x1aaeba(0x2e8)][_0x1aaeba(0x378)]());}['syncEditingCollabCursor'](_0x2c0a4e){const _0x4d4bc8=_0x2a4ba5,{unitID:_0x25f75f,memberID:_0xc4b803,textRanges:_0x57447f}=_0x2c0a4e,_0x303d89=_0x4c9e65(_0x57447f);if(_0x303d89==='')return;const _0x2ecf9d={'unitID':_0x25f75f,'memberID':_0xc4b803,'selection':_0x303d89};this['_collabCursorState$'][_0x4d4bc8(0x27b)](_0x2ecf9d);}}var _0x4396bb=Object[_0x2a4ba5(0x147)],_0x87c5c0=(_0x6ea66b,_0x1993f9,_0x3688e4,_0x41fbcc)=>{const _0x3bfc70=_0x2a4ba5;for(var _0x22431f=_0x41fbcc>0x1?void 0x0:_0x41fbcc?_0x4396bb(_0x1993f9,_0x3688e4):_0x1993f9,_0x589031=_0x6ea66b[_0x3bfc70(0x123)]-0x1,_0x432d23;_0x589031>=0x0;_0x589031--)(_0x432d23=_0x6ea66b[_0x589031])&&(_0x22431f=_0x432d23(_0x22431f)||_0x22431f);return _0x22431f;},_0x1ff253=(_0x5f21f5,_0x1f348e)=>(_0x5ce0b5,_0x4b9846)=>_0x1f348e(_0x5ce0b5,_0x4b9846,_0x5f21f5);const _0x14a7e7=0x12c,_0x280793=0x64;let _0x4c9987=class extends _0x717d91['RxDisposable']{constructor(_0x463c9c,_0x2f2f7c,_0x217e6b,_0x8c34c6,_0x3e9360,_0x49a1a8,_0xa53310,_0x5cd603,_0x28a26b){const _0x17924c=_0x2a4ba5;super(),_0x271c55(this,'_online',!0x1),_0x271c55(this,_0x17924c(0xd5),!0x1),_0x271c55(this,'_cursorInfo$',new _0x170cda[(_0x17924c(0x2a4))](new Map())),_0x271c55(this,'cursorInfo$',this[_0x17924c(0x1b0)][_0x17924c(0x378)]()),_0x271c55(this,'_roomMembers$',new _0x170cda[(_0x17924c(0x2a4))]([])),_0x271c55(this,'roomMembers$',this['_roomMembers$'][_0x17924c(0xda)](_0x170cda[_0x17924c(0x377)](_0x14a7e7))),_0x271c55(this,_0x17924c(0x1aa),_0x717d91[_0x17924c(0x32e)](_0x41436a=>{const _0x103219=_0x17924c,_0x38d84e={'eventID':_0xdf7641[_0x103219(0x360)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x103219(0x26e)](),'selection':_0x4c9e65(_0x41436a)}};this['_session']['send'](_0x38d84e,this[_0x103219(0x1e6)]);},_0x280793)),(this['unitID']=_0x463c9c,this[_0x17924c(0x166)]=_0x2f2f7c,this[_0x17924c(0x265)]=_0x217e6b,this[_0x17924c(0x29d)]=_0x8c34c6,this[_0x17924c(0x11d)]=_0x3e9360,this[_0x17924c(0x19d)]=_0x49a1a8,this['_transformService']=_0xa53310,this[_0x17924c(0x15c)]=_0x5cd603,this[_0x17924c(0x15e)]=_0x28a26b);}get[_0x2a4ba5(0x1e9)](){const _0x137fff=_0x2a4ba5;return this['_cursorInfo$'][_0x137fff(0x21d)]();}get[_0x2a4ba5(0x200)](){const _0x587b00=_0x2a4ba5;return this[_0x587b00(0x367)]['getValue']();}[_0x2a4ba5(0x14a)](){const _0x313e18=_0x2a4ba5;super[_0x313e18(0x14a)](),this[_0x313e18(0x1b0)]['next'](new Map()),this[_0x313e18(0x1b0)]['complete'](),this[_0x313e18(0x367)]['next']([]),this[_0x313e18(0x367)][_0x313e18(0x216)]();}['init'](){const _0xae5994=_0x2a4ba5;this[_0xae5994(0xd5)]||(this[_0xae5994(0xd5)]=!0x0,this[_0xae5994(0x166)][_0xae5994(0x14e)][_0xae5994(0xda)](_0x170cda['takeUntil'](this[_0xae5994(0x2c4)]))[_0xae5994(0xbf)](_0x2b7c58=>{const _0x97580e=_0xae5994;_0x2b7c58===_0x26bc40[_0x97580e(0xfe)][_0x97580e(0x1a0)]?this[_0x97580e(0x131)]():this[_0x97580e(0x38e)]();}),this['_session'][_0xae5994(0x1de)]['pipe'](_0x170cda[_0xae5994(0x2b0)](this[_0xae5994(0x2c4)]))[_0xae5994(0xbf)](_0x4b3fe1=>{const _0x249012=_0xae5994,_0x347d23=_0x4b3fe1[_0x249012(0x399)];_0x347d23===_0xdf7641['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x249012(0x26f)](_0x4b3fe1),_0x347d23===_0xdf7641[_0x249012(0x360)][_0x249012(0xdf)]&&this[_0x249012(0x255)](_0x4b3fe1);}),this[_0xae5994(0x1d4)](this[_0xae5994(0x15e)][_0xae5994(0x23a)](_0x32b27c=>{const _0xe0bae9=_0xae5994,_0x738b91=_0x32b27c[_0xe0bae9(0x2af)];_0x738b91!=null&&this[_0xe0bae9(0x282)]&&_0x32b27c['id']===_0x59e61e[_0xe0bae9(0x18a)]['id']&&_0x738b91['unitId']===this[_0xe0bae9(0x1e6)]&&_0x738b91[_0xe0bae9(0x227)]===!0x1&&_0x738b91[_0xe0bae9(0x144)][_0xe0bae9(0x123)]>0x0&&this[_0xe0bae9(0x1aa)](_0x738b91[_0xe0bae9(0x144)]);})),this['_syncEditingCollabCursorService'][_0xae5994(0x370)]['pipe'](_0x170cda[_0xae5994(0x2b0)](this['dispose$']))['subscribe'](_0x3cc8c9=>{const _0x56febe=_0xae5994;if((_0x3cc8c9==null?void 0x0:_0x3cc8c9[_0x56febe(0x1e6)])!==this[_0x56febe(0x1e6)])return;const _0x1de0c0={'eventID':_0xdf7641[_0x56febe(0x360)][_0x56febe(0x1d9)],'data':_0x3cc8c9};this['_onCursorUpdate'](_0x1de0c0);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x28727f=>{const _0x40be90=_0xae5994;if(_0x28727f[_0x40be90(0x2af)]==null)return;const _0x18f70d=_0x28727f['params'];if(_0x28727f['id']!==_0x59e61e[_0x40be90(0x26a)]['id']||_0x18f70d[_0x40be90(0x1df)]!==this[_0x40be90(0x1e6)])return;const _0x2e31a0={'id':_0x40be90(0x269),'params':_0x18f70d},_0x10124d=this['cursorInfo'];for(const [_0x2c789e,_0x7775a1]of _0x10124d){const _0x26de16={'id':_0x40be90(0x269),'params':{'unitId':this[_0x40be90(0x1e6)],'actions':null,'textRanges':_0x7775a1[_0x40be90(0x144)]}},_0x271180=this[_0x40be90(0x242)][_0x40be90(0x229)](_0x2e31a0,_0x26de16,!0x1);if(_0xdf7641[_0x40be90(0x39c)](_0x271180))throw _0x271180[_0x40be90(0x289)];_0x10124d[_0x40be90(0x30e)](_0x2c789e,{..._0x7775a1,'ranges':_0x271180[_0x40be90(0x388)][_0x40be90(0x2af)][_0x40be90(0x240)]});}queueMicrotask(()=>{const _0x5d3306=_0x40be90;this['_cursorInfo$'][_0x5d3306(0x27b)](_0x10124d);});})));}[_0x2a4ba5(0x26f)](_0x3f5361){const _0x1aac8d=_0x2a4ba5;var _0x2ec77a,_0x293c9f;const {memberID:_0x1727ff,selection:_0x4723b8}=_0x3f5361[_0x1aac8d(0x244)],_0x53865c=_0x278353(_0x4723b8),_0x3b0a36=(_0x293c9f=(_0x2ec77a=this[_0x1aac8d(0x11d)][_0x1aac8d(0x1b7)](this[_0x1aac8d(0x1e6)],_0x1727ff))==null?void 0x0:_0x2ec77a[_0x1aac8d(0x35e)])!=null?_0x293c9f:_0x1aac8d(0x2b6),_0x1ea192={'color':this['_colorAssignService'][_0x1aac8d(0x38c)](_0x1727ff),'name':_0x3b0a36,'ranges':_0x53865c},_0x54c84f=this[_0x1aac8d(0x1e9)];_0x54c84f[_0x1aac8d(0x30e)](_0x1727ff,_0x1ea192),this[_0x1aac8d(0x1b0)][_0x1aac8d(0x27b)](_0x54c84f);}[_0x2a4ba5(0x255)](_0x5b5bf4){const _0x451cf8=_0x2a4ba5,{memberID:_0x3dba69}=_0x5b5bf4[_0x451cf8(0x244)],_0x103524=this[_0x451cf8(0x1e9)];_0x103524[_0x451cf8(0x2e2)](_0x3dba69),this['_cursorInfo$']['next'](_0x103524);}[_0x2a4ba5(0x131)](){const _0x448754=_0x2a4ba5;var _0x1367bb;if(this[_0x448754(0x282)]=!0x0,((_0x1367bb=this[_0x448754(0x15c)]['getFocusedUnit']())==null?void 0x0:_0x1367bb[_0x448754(0x2c3)]())!==this[_0x448754(0x1e6)])return;const _0x4f846e=this[_0x448754(0x265)]['get'](_0x59e61e['DocSelectionManagerService'])[_0x448754(0x1c2)]();Array[_0x448754(0x217)](_0x4f846e)&&_0x4f846e['length']>0x0&&this['_updateLocalCursor'](_0x4f846e);}[_0x2a4ba5(0x38e)](){const _0x4b5f90=_0x2a4ba5;this[_0x4b5f90(0x282)]=!0x1;}};_0x4c9987=_0x87c5c0([_0x1ff253(0x2,_0x717d91['Inject'](_0x717d91['Injector'])),_0x1ff253(0x3,_0x717d91[_0x2a4ba5(0x37b)](_0x170667)),_0x1ff253(0x4,_0x717d91[_0x2a4ba5(0x37b)](_0x26bc40[_0x2a4ba5(0x105)])),_0x1ff253(0x5,_0x717d91[_0x2a4ba5(0x37b)](_0x531ef2)),_0x1ff253(0x6,_0xdf7641[_0x2a4ba5(0x34f)]),_0x1ff253(0x7,_0x717d91[_0x2a4ba5(0xa9)]),_0x1ff253(0x8,_0x717d91[_0x2a4ba5(0x329)])],_0x4c9987);var _0x47d32c=Object[_0x2a4ba5(0x147)],_0x111b25=(_0x395c5d,_0x2fabca,_0x3eac99,_0x24f80d)=>{const _0x83d1f1=_0x2a4ba5;for(var _0x348b7d=_0x24f80d>0x1?void 0x0:_0x24f80d?_0x47d32c(_0x2fabca,_0x3eac99):_0x2fabca,_0x2149c1=_0x395c5d[_0x83d1f1(0x123)]-0x1,_0x1beea9;_0x2149c1>=0x0;_0x2149c1--)(_0x1beea9=_0x395c5d[_0x2149c1])&&(_0x348b7d=_0x1beea9(_0x348b7d)||_0x348b7d);return _0x348b7d;},_0x2fde7c=(_0x551afd,_0x2d77a6)=>(_0x373669,_0x3e76c2)=>_0x2d77a6(_0x373669,_0x3e76c2,_0x551afd);const _0x59c196=0x12c,_0x11f0a4=0x64,_0x3da812=()=>{let _0x4ca682=[],_0x457452=!0x1;return _0x1b6ab=>{const _0x3b5e98=_0x20af;_0x4ca682[_0x3b5e98(0x2db)](_0x1b6ab),_0x457452||(_0x457452=!0x0,setTimeout(()=>{const _0x5ab0a1=_0x3b5e98;_0x4ca682[_0x5ab0a1(0xc4)](_0x408b69=>_0x408b69()),_0x4ca682=[],_0x457452=!0x1;}));};};let _0x22e870=class extends _0x717d91['RxDisposable']{constructor(_0x2f2c22,_0x50422f,_0x16a224,_0x1e4698,_0x2063d6,_0xc20b32,_0x22dc6c,_0x71ca18){const _0x54e8fe=_0x2a4ba5;super(),_0x271c55(this,'_online',!0x1),_0x271c55(this,'_init',!0x1),_0x271c55(this,_0x54e8fe(0x1b0),new _0x170cda[(_0x54e8fe(0x2a4))](new Map())),_0x271c55(this,'cursorInfo$',this[_0x54e8fe(0x1b0)][_0x54e8fe(0x378)]()),_0x271c55(this,_0x54e8fe(0x367),new _0x170cda['BehaviorSubject']([])),_0x271c55(this,_0x54e8fe(0x26c),this['_roomMembers$'][_0x54e8fe(0xda)](_0x170cda[_0x54e8fe(0x377)](_0x59c196))),_0x271c55(this,_0x54e8fe(0x1aa),_0x717d91[_0x54e8fe(0x32e)]((_0x2e5766,_0x3c3658)=>{const _0x4c5d3c=_0x54e8fe,_0x442f34={'eventID':_0xdf7641['CollaborationEvent'][_0x4c5d3c(0x1d9)],'data':{'unitID':this['unitID'],'memberID':this[_0x4c5d3c(0x166)]['getMemberID'](),'selection':_0x41dddf[_0x4c5d3c(0xeb)](_0x2e5766,_0x3c3658[_0x4c5d3c(0x10d)])}};this[_0x4c5d3c(0x166)][_0x4c5d3c(0x1d0)](_0x442f34,this[_0x4c5d3c(0x1e6)]);},_0x11f0a4)),(this[_0x54e8fe(0x1e6)]=_0x2f2c22,this[_0x54e8fe(0x166)]=_0x50422f,this[_0x54e8fe(0x265)]=_0x16a224,this[_0x54e8fe(0x29d)]=_0x1e4698,this[_0x54e8fe(0x11d)]=_0x2063d6,this[_0x54e8fe(0x15c)]=_0xc20b32,this[_0x54e8fe(0x15e)]=_0x22dc6c,this[_0x54e8fe(0x254)]=_0x71ca18);}get[_0x2a4ba5(0x1e9)](){const _0x40a023=_0x2a4ba5;return this[_0x40a023(0x1b0)][_0x40a023(0x21d)]();}get[_0x2a4ba5(0x200)](){const _0x4a1135=_0x2a4ba5;return this[_0x4a1135(0x367)][_0x4a1135(0x21d)]();}[_0x2a4ba5(0x14a)](){const _0x1ae202=_0x2a4ba5;super[_0x1ae202(0x14a)](),this[_0x1ae202(0x1b0)][_0x1ae202(0x27b)](new Map()),this[_0x1ae202(0x1b0)][_0x1ae202(0x216)](),this['_roomMembers$'][_0x1ae202(0x27b)]([]),this[_0x1ae202(0x367)][_0x1ae202(0x216)]();}[_0x2a4ba5(0x1c5)](){const _0x363bb8=_0x2a4ba5;this[_0x363bb8(0xd5)]||(this[_0x363bb8(0xd5)]=!0x0,this['_session'][_0x363bb8(0x14e)][_0x363bb8(0xda)](_0x170cda[_0x363bb8(0x2b0)](this[_0x363bb8(0x2c4)]))[_0x363bb8(0xbf)](_0x33f7f5=>{const _0x11ca48=_0x363bb8;_0x33f7f5===_0x26bc40[_0x11ca48(0xfe)]['ONLINE']?this[_0x11ca48(0x131)]():this[_0x11ca48(0x38e)]();}),this[_0x363bb8(0x166)][_0x363bb8(0x1de)][_0x363bb8(0xda)](_0x170cda[_0x363bb8(0x2b0)](this[_0x363bb8(0x2c4)]))[_0x363bb8(0xbf)](_0x2b109f=>{const _0x1503b7=_0x363bb8,_0x4b3355=_0x2b109f[_0x1503b7(0x399)];_0x4b3355===_0xdf7641['CollaborationEvent'][_0x1503b7(0x1d9)]&&this[_0x1503b7(0x26f)](_0x2b109f),_0x4b3355===_0xdf7641[_0x1503b7(0x360)][_0x1503b7(0xdf)]&&this[_0x1503b7(0x255)](_0x2b109f);}),this[_0x363bb8(0x1c9)](),this[_0x363bb8(0x1d4)](this[_0x363bb8(0x15e)][_0x363bb8(0x23a)](_0x3e762e=>{const _0x1d4462=_0x363bb8;if(this[_0x1d4462(0x282)]&&_0x3e762e['id']===_0x45a7b5[_0x1d4462(0x128)]['id']&&_0x3e762e['params'][_0x1d4462(0x1df)]===this['unitID']){const _0x59648b=_0x3e762e[_0x1d4462(0x2af)];this[_0x1d4462(0x1aa)](_0x59648b[_0x1d4462(0x1e5)],_0x59648b[_0x1d4462(0x174)][0x0]);}})));}[_0x2a4ba5(0x26f)](_0x44c779){const _0x221501=_0x2a4ba5;var _0x217fd3,_0x5bb37c;const {memberID:_0x3612c8,selection:_0x1bd5bd}=_0x44c779[_0x221501(0x244)],{sheetName:_0x1694e5,range:_0x8bfb7b}=_0x41dddf[_0x221501(0x1f1)](_0x1bd5bd),_0x358bc6={'name':(_0x5bb37c=(_0x217fd3=this['_memberService'][_0x221501(0x1b7)](this['unitID'],_0x3612c8))==null?void 0x0:_0x217fd3[_0x221501(0x35e)])!=null?_0x5bb37c:_0x221501(0x2b6),'range':this['_getMergeRange'](_0x1694e5,_0x8bfb7b),'sheetID':_0x1694e5,'color':this['_colorAssignService'][_0x221501(0x38c)](_0x3612c8),'selection':_0x1bd5bd},_0x500336=this[_0x221501(0x1e9)];_0x500336[_0x221501(0x30e)](_0x3612c8,_0x358bc6),this[_0x221501(0x1b0)][_0x221501(0x27b)](_0x500336);}[_0x2a4ba5(0x255)](_0xa1267){const _0x291284=_0x2a4ba5,{memberID:_0x228eb2}=_0xa1267['data'],_0x277c5c=this[_0x291284(0x1e9)];_0x277c5c[_0x291284(0x2e2)](_0x228eb2),this[_0x291284(0x1b0)][_0x291284(0x27b)](_0x277c5c);}[_0x2a4ba5(0x17c)](_0x54a1ce,_0x108b71){const _0x1db6b8=_0x2a4ba5;var _0x58107d,_0x5d3b8d;const _0x1293c4=(_0x5d3b8d=(_0x58107d=this[_0x1db6b8(0x15c)][_0x1db6b8(0x21b)](this['unitID']))==null?void 0x0:_0x58107d[_0x1db6b8(0x246)](_0x54a1ce))==null?void 0x0:_0x5d3b8d[_0x1db6b8(0x16b)]();return(_0x1293c4==null?void 0x0:_0x1293c4[_0x1db6b8(0x344)](_0x10db79=>_0x717d91[_0x1db6b8(0x25a)][_0x1db6b8(0x273)](_0x10db79,_0x108b71)))||_0x108b71;}[_0x2a4ba5(0x1c9)](){const _0x3940e9=_0x2a4ba5,_0x4a324b=new _0x717d91[(_0x3940e9(0x1ff))](),_0x2aa418=_0x3da812(),_0x2777c3=()=>{const _0x5a881e=_0x3940e9;_0x4a324b[_0x5a881e(0x14a)]();const _0x187293=(_0x478bd4,_0x16d6a2,_0x27a453,_0x3c5ba1)=>{const _0x39dade=_0x5a881e;let _0x251846=[];switch(_0x478bd4['id']){case _0x45a7b5[_0x39dade(0xc9)][_0x39dade(0x2bc)]:{_0x251846=_0x45a7b5[_0x39dade(0xcd)](_0x478bd4,_0x3c5ba1);break;}case _0x45a7b5[_0x39dade(0xc9)][_0x39dade(0x303)]:{_0x251846=_0x45a7b5[_0x39dade(0x209)](_0x478bd4,_0x3c5ba1);break;}case _0x45a7b5[_0x39dade(0xc9)][_0x39dade(0x175)]:{_0x251846=_0x45a7b5[_0x39dade(0x291)](_0x478bd4,_0x3c5ba1);break;}case _0x45a7b5[_0x39dade(0xc9)]['InsertRangeMoveDownCommandId']:{_0x251846=_0x45a7b5['handleInsertRangeMoveDown'](_0x478bd4,_0x3c5ba1);break;}case _0x45a7b5[_0x39dade(0xc9)][_0x39dade(0x2b8)]:{_0x251846=_0x45a7b5[_0x39dade(0x2e5)](_0x478bd4,_0x3c5ba1);break;}case _0x45a7b5[_0x39dade(0xc9)]['InsertRowCommandId']:{_0x251846=_0x45a7b5[_0x39dade(0xf7)](_0x478bd4,_0x3c5ba1);break;}case _0x45a7b5[_0x39dade(0xc9)]['MoveRangeCommandId']:{_0x251846=_0x45a7b5[_0x39dade(0x33a)](_0x478bd4,_0x3c5ba1);break;}case _0x45a7b5[_0x39dade(0xc9)][_0x39dade(0x145)]:{_0x251846=_0x45a7b5[_0x39dade(0xfc)](_0x478bd4,_0x3c5ba1);break;}case _0x45a7b5[_0x39dade(0xc9)][_0x39dade(0xaf)]:{_0x251846=_0x45a7b5['handleIRemoveRow'](_0x478bd4,_0x3c5ba1);break;}}const _0x29878f=_0x45a7b5[_0x39dade(0x121)](_0x251846,_0x3c5ba1),_0x517185=this['cursorInfo'][_0x39dade(0x2aa)](_0x16d6a2);if(_0x517185&&_0x29878f){const _0x63520b={..._0x517185,'range':_0x29878f};this[_0x39dade(0x1e9)][_0x39dade(0x30e)](_0x16d6a2,_0x63520b),_0x2aa418(()=>{const _0x6f1c=_0x39dade,_0x505bda=this[_0x6f1c(0x254)][_0x6f1c(0x2ed)](_0x29878f,_0x31a64f=>(_0x505bda[_0x6f1c(0x14a)](),_0x187293(_0x31a64f,_0x16d6a2,_0x27a453,_0x29878f)));_0x4a324b[_0x6f1c(0x293)](_0x505bda);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x26aa27,_0x465e7e)=>{const _0x50e4e0=_0x5a881e,{range:_0x337b11,sheetID:_0x57ff32}=_0x26aa27,_0x5ce03d=this[_0x50e4e0(0x254)][_0x50e4e0(0x2ed)](_0x337b11,_0x14f925=>(_0x5ce03d[_0x50e4e0(0x14a)](),_0x187293(_0x14f925,_0x465e7e,_0x57ff32,_0x337b11)));_0x4a324b[_0x50e4e0(0x293)](_0x5ce03d);});};this[_0x3940e9(0x1d4)](_0x717d91['toDisposable'](this[_0x3940e9(0x1b0)][_0x3940e9(0xbf)](()=>{_0x2777c3();})));}[_0x2a4ba5(0x131)](){const _0x3da78d=_0x2a4ba5;var _0x35b2b1,_0x106d9c;if(this['_online']=!0x0,((_0x35b2b1=this['_univerInstanceService'][_0x3da78d(0x2f9)]())==null?void 0x0:_0x35b2b1['getUnitId']())!==this[_0x3da78d(0x1e6)])return;const _0x2113aa=(_0x106d9c=this['_injector'][_0x3da78d(0x2aa)](_0x45a7b5[_0x3da78d(0x213)])[_0x3da78d(0x22c)]())==null?void 0x0:_0x106d9c[0x0],_0x3266a0=this[_0x3da78d(0x15c)]['getCurrentUnitForType'](_0x717d91['UniverInstanceType'][_0x3da78d(0x137)])['getActiveSheet']();_0x2113aa&&_0x3266a0&&this[_0x3da78d(0x1aa)](_0x3266a0[_0x3da78d(0x37d)](),_0x2113aa);}[_0x2a4ba5(0x38e)](){const _0x1aade5=_0x2a4ba5;this[_0x1aade5(0x282)]=!0x1;}};_0x22e870=_0x111b25([_0x2fde7c(0x2,_0x717d91['Inject'](_0x717d91[_0x2a4ba5(0x32d)])),_0x2fde7c(0x3,_0x717d91[_0x2a4ba5(0x37b)](_0x170667)),_0x2fde7c(0x4,_0x717d91[_0x2a4ba5(0x37b)](_0x26bc40[_0x2a4ba5(0x105)])),_0x2fde7c(0x5,_0x717d91[_0x2a4ba5(0xa9)]),_0x2fde7c(0x6,_0x717d91[_0x2a4ba5(0x329)]),_0x2fde7c(0x7,_0x717d91[_0x2a4ba5(0x37b)](_0x45a7b5[_0x2a4ba5(0xde)]))],_0x22e870);var _0x1b0d6b=Object[_0x2a4ba5(0x147)],_0x3521db=(_0x4d1257,_0x469f2b,_0x54510d,_0x441d7f)=>{const _0x226a76=_0x2a4ba5;for(var _0x48c952=_0x441d7f>0x1?void 0x0:_0x441d7f?_0x1b0d6b(_0x469f2b,_0x54510d):_0x469f2b,_0x12a93b=_0x4d1257[_0x226a76(0x123)]-0x1,_0xf1a35e;_0x12a93b>=0x0;_0x12a93b--)(_0xf1a35e=_0x4d1257[_0x12a93b])&&(_0x48c952=_0xf1a35e(_0x48c952)||_0x48c952);return _0x48c952;},_0x272b68=(_0x3e7558,_0x44cae3)=>(_0x3d5d97,_0x23e965)=>_0x44cae3(_0x3d5d97,_0x23e965,_0x3e7558);let _0xfbad1b=class extends _0x717d91['RxDisposable']{constructor(_0x3a9890,_0x392e6a,_0x214e0c){const _0x18ed90=_0x2a4ba5;super(),_0x271c55(this,'_entities',new Map()),_0x271c55(this,_0x18ed90(0x220),new _0x170cda[(_0x18ed90(0x233))]()),(this['_univerInstanceService']=_0x3a9890,this['_injector']=_0x392e6a,this['_collabSessionService']=_0x214e0c,this[_0x18ed90(0xd5)]());}[_0x2a4ba5(0x14a)](){const _0x1ade54=_0x2a4ba5;super['dispose'](),this[_0x1ade54(0x220)][_0x1ade54(0x216)](),this[_0x1ade54(0x33f)][_0x1ade54(0xc4)](_0x561b98=>_0x561b98['dispose']());}[_0x2a4ba5(0xf1)](_0x57b7a9){const _0x52485d=_0x2a4ba5;return this[_0x52485d(0x33f)][_0x52485d(0x250)](_0x57b7a9)?this['_entities'][_0x52485d(0x2aa)](_0x57b7a9)[_0x52485d(0xe7)]:this['_entityInit$']['pipe'](_0x170cda['filter'](_0x430f58=>_0x430f58['unitID']===_0x57b7a9),_0x170cda[_0x52485d(0x2cc)](_0x205003=>_0x205003[_0x52485d(0xe7)]));}[_0x2a4ba5(0xd5)](){const _0x3ec604=_0x2a4ba5;this[_0x3ec604(0x15c)]['getTypeOfUnitAdded$'](_0x717d91[_0x3ec604(0x2bf)][_0x3ec604(0x137)])[_0x3ec604(0xda)](_0x170cda[_0x3ec604(0x2b0)](this[_0x3ec604(0x2c4)]))[_0x3ec604(0xbf)](async _0x55d9e9=>{const _0x418f99=_0x3ec604,_0x1e1c49=_0x55d9e9[_0x418f99(0x2c3)](),_0x4a1577=await this[_0x418f99(0x11e)](_0x1e1c49);this[_0x418f99(0x220)][_0x418f99(0x27b)](_0x4a1577),this[_0x418f99(0x33f)][_0x418f99(0x30e)](_0x1e1c49,_0x4a1577);}),this[_0x3ec604(0x15c)]['getTypeOfUnitAdded$'](_0x717d91['UniverInstanceType'][_0x3ec604(0x2fc)])['pipe'](_0x170cda['takeUntil'](this['dispose$']))[_0x3ec604(0xda)](_0x170cda[_0x3ec604(0x1dd)](_0x498cdb=>!_0x498cdb[_0x3ec604(0x2c3)]()[_0x3ec604(0x12a)]('__')))[_0x3ec604(0xbf)](async _0x5956c9=>{const _0x4434cf=_0x3ec604,_0x192e10=_0x5956c9['getUnitId'](),_0x6bc4ce=await this[_0x4434cf(0x376)](_0x192e10);this['_entityInit$'][_0x4434cf(0x27b)](_0x6bc4ce),this[_0x4434cf(0x33f)][_0x4434cf(0x30e)](_0x192e10,_0x6bc4ce);}),_0x170cda[_0x3ec604(0x132)](this[_0x3ec604(0x15c)][_0x3ec604(0x1e8)](_0x717d91[_0x3ec604(0x2bf)][_0x3ec604(0x2fc)]),this[_0x3ec604(0x15c)][_0x3ec604(0x1e8)](_0x717d91[_0x3ec604(0x2bf)]['UNIVER_SHEET']))['pipe'](_0x170cda[_0x3ec604(0x2b0)](this['dispose$']))[_0x3ec604(0xbf)](_0x1a7e37=>{const _0x106835=_0x3ec604,_0x3188b0=_0x1a7e37[_0x106835(0x2c3)](),_0x406871=this[_0x106835(0x33f)][_0x106835(0x2aa)](_0x3188b0);_0x406871&&(_0x406871[_0x106835(0x14a)](),this[_0x106835(0x33f)][_0x106835(0x2e2)](_0x3188b0));});}async[_0x2a4ba5(0x11e)](_0x5b4060){const _0xb70a9c=_0x2a4ba5,_0x2ba4ea=await this[_0xb70a9c(0x1d1)][_0xb70a9c(0x20a)](_0x5b4060),_0x338c43=this[_0xb70a9c(0x265)][_0xb70a9c(0x2d6)](_0x22e870,_0x5b4060,_0x2ba4ea);return _0x338c43['init'](),_0x338c43;}async[_0x2a4ba5(0x376)](_0x56ad60){const _0xa2c48=_0x2a4ba5,_0xa612a1=await this[_0xa2c48(0x1d1)][_0xa2c48(0x20a)](_0x56ad60),_0xe5e619=this[_0xa2c48(0x265)]['createInstance'](_0x4c9987,_0x56ad60,_0xa612a1);return _0xe5e619[_0xa2c48(0x1c5)](),_0xe5e619;}};_0xfbad1b=_0x3521db([_0x272b68(0x0,_0x717d91[_0x2a4ba5(0xa9)]),_0x272b68(0x1,_0x717d91[_0x2a4ba5(0x37b)](_0x717d91[_0x2a4ba5(0x32d)])),_0x272b68(0x2,_0x717d91[_0x2a4ba5(0x37b)](_0x26bc40[_0x2a4ba5(0x2a1)]))],_0xfbad1b);const _0x5b7079=0x14,_0x1e2f55=0xc8,_0xdd04ec=0x4,_0x324c39=0x5;function _0x36e4de(_0x4c261f,_0xc5849){const _0x34d3da=_0x2a4ba5;let {radius:_0x4a767b,width:_0x57fe9c,height:_0x19c72e}=_0xc5849;_0x4a767b=_0x4a767b!=null?_0x4a767b:0x0,_0x57fe9c=_0x57fe9c!=null?_0x57fe9c:0x1e,_0x19c72e=_0x19c72e!=null?_0x19c72e:0x1e;let _0x4ed4e8=0x0,_0x2f2848=0x0,_0x5d7b7a=0x0;_0x4ed4e8=_0x2f2848=_0x5d7b7a=Math[_0x34d3da(0x31d)](_0x4a767b,_0x57fe9c/0x2,_0x19c72e/0x2),_0x4c261f['beginPath'](),_0x4c261f['moveTo'](_0x4ed4e8,0x0),_0x4c261f[_0x34d3da(0x2d8)](_0x57fe9c-_0x2f2848,0x0),_0x4c261f[_0x34d3da(0xb3)](_0x57fe9c-_0x2f2848,_0x2f2848,_0x2f2848,Math['PI']*0x3/0x2,0x0,!0x1),_0x4c261f['lineTo'](_0x57fe9c,_0x19c72e-_0x5d7b7a),_0x4c261f[_0x34d3da(0xb3)](_0x57fe9c-_0x5d7b7a,_0x19c72e-_0x5d7b7a,_0x5d7b7a,0x0,Math['PI']/0x2,!0x1),_0x4c261f[_0x34d3da(0x2d8)](0x0,_0x19c72e),_0x4c261f['lineTo'](0x0,_0x4ed4e8),_0x4c261f[_0x34d3da(0xb3)](_0x4ed4e8,_0x4ed4e8,_0x4ed4e8,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4c261f['closePath'](),_0xc5849[_0x34d3da(0x1db)]&&(_0x4c261f[_0x34d3da(0x20f)](),_0x4c261f[_0x34d3da(0x11c)]=_0xc5849[_0x34d3da(0x1db)],_0xc5849['fillRule']===_0x34d3da(0x1e2)?_0x4c261f[_0x34d3da(0x1db)](_0x34d3da(0x1e2)):_0x4c261f[_0x34d3da(0x1db)](),_0x4c261f[_0x34d3da(0x21e)]());}class _0x264ac3 extends _0x4a1571['Shape']{constructor(_0x5326aa,_0x832ed6){const _0x25a80a=_0x2a4ba5;super(_0x5326aa,_0x832ed6),_0x271c55(this,_0x25a80a(0x33b)),_0x271c55(this,'text'),(this[_0x25a80a(0x33b)]=_0x832ed6==null?void 0x0:_0x832ed6[_0x25a80a(0x33b)],this[_0x25a80a(0x2b5)]=_0x832ed6==null?void 0x0:_0x832ed6[_0x25a80a(0x2b5)]);}static[_0x2a4ba5(0x170)](_0x41f464,_0x4c4e9a){const _0x1a48b3=_0x2a4ba5,{text:_0x5aa7f5,color:_0x5d4d6a}=_0x4c4e9a;_0x41f464[_0x1a48b3(0x20f)](),_0x41f464[_0x1a48b3(0x2f8)]=_0x1a48b3(0xed);const _0x27d1fc=_0x41f464[_0x1a48b3(0x108)](_0x5aa7f5)[_0x1a48b3(0x383)],_0x15ddd6=Math['min'](_0x27d1fc+0x2*_0xdd04ec,_0x1e2f55);_0x36e4de(_0x41f464,{'height':_0x5b7079,'radius':0x4,'width':_0x15ddd6,'fill':_0x5d4d6a}),_0x41f464['fillStyle']=_0x1a48b3(0x19f);const _0x28c8e7=_0xdd04ec,_0x12b3f4=_0x5b7079-_0x324c39,_0x4bbaea=_0x1e2f55-0x2*_0xdd04ec;if(_0x27d1fc>_0x4bbaea){let _0x390e86='',_0x18667f=0x0;for(const _0x4de481 of _0x5aa7f5){const _0xd3bdd5=_0x41f464[_0x1a48b3(0x108)](_0x4de481)['width'];if(_0x18667f+_0xd3bdd5<=_0x4bbaea-_0x41f464[_0x1a48b3(0x108)](_0x1a48b3(0xb0))[_0x1a48b3(0x383)])_0x390e86+=_0x4de481,_0x18667f+=_0xd3bdd5;else{_0x390e86+=_0x1a48b3(0xb0);break;}}_0x41f464[_0x1a48b3(0x28c)](_0x390e86,_0x28c8e7,_0x12b3f4);}else _0x41f464['fillText'](_0x5aa7f5,_0x28c8e7,_0x12b3f4);_0x41f464['restore']();}['_draw'](_0x563924){const _0x557126=_0x2a4ba5;_0x264ac3[_0x557126(0x170)](_0x563924,this);}}const _0x14bb73=_0x2a4ba5(0x2c7),_0x304e63=_0x2a4ba5(0x116),_0x491eb3=_0x2a4ba5(0xac),_0x22c5bc=0x6,_0x1876de=1.5,_0xd22ed3=0x4,_0x1d2bb8=1.5,_0x403502=_0x2a4ba5(0x277);class _0x328b55{constructor(_0x4ef778,_0xeca3b8,_0xc17b90,_0x19ed74){const _0x4f402b=_0x2a4ba5;_0x271c55(this,_0x4f402b(0x270),[]),_0x271c55(this,_0x4f402b(0x3a0),null),_0x271c55(this,_0x4f402b(0x2ac),null),_0x271c55(this,_0x4f402b(0x25e),null),_0x271c55(this,_0x4f402b(0x290),null),_0x271c55(this,_0x4f402b(0x230),null),(this[_0x4f402b(0x1a4)]=_0x4ef778,this['_scene']=_0xeca3b8,this[_0x4f402b(0xcc)]=_0xc17b90,this[_0x4f402b(0x356)]=_0x19ed74,this['_render']());}set[_0x2a4ba5(0x394)](_0x3d542a){const _0x39d872=_0x2a4ba5;_0x3d542a?(this[_0x39d872(0x25e)]&&this[_0x39d872(0x25e)][_0x39d872(0x27d)](),this[_0x39d872(0x2ac)]&&this[_0x39d872(0x2ac)][_0x39d872(0x248)]()):(this[_0x39d872(0x25e)]&&this[_0x39d872(0x25e)][_0x39d872(0x248)](),this[_0x39d872(0x2ac)]&&this[_0x39d872(0x2ac)][_0x39d872(0x27d)]());}[_0x2a4ba5(0x14a)](){const _0x2e41fc=_0x2a4ba5;for(const _0xf852d1 of this[_0x2e41fc(0x270)])_0xf852d1[_0x2e41fc(0x14a)]();this['_textBubble']&&this[_0x2e41fc(0x2ac)][_0x2e41fc(0x14a)](),this[_0x2e41fc(0x25e)]&&this[_0x2e41fc(0x25e)][_0x2e41fc(0x14a)](),this[_0x2e41fc(0x3a0)]&&this[_0x2e41fc(0x3a0)][_0x2e41fc(0x14a)](),this[_0x2e41fc(0x230)]&&this['_eventUnsubscribe']();}[_0x2a4ba5(0x3a5)](){const _0x312e69=_0x2a4ba5;var _0xd47129;const {_docSkeleton:_0x4e4c8f,_document:_0x4fb696}=this,{color:_0x235d59,name:_0x27b47e,ranges:_0x316afc}=this[_0x312e69(0x1a4)],_0x345f78=_0x4fb696[_0x312e69(0x2c1)](),{docsLeft:_0x4e80a9,docsTop:_0x586d8d}=_0x345f78,_0x5af57c=new _0x42f0df[(_0x312e69(0x225))](_0x345f78,_0x4e4c8f);for(const {startOffset:_0xced92c,endOffset:_0x2afec5,rangeType:_0x37ed42,segmentId:_0x5730c2,segmentPage:_0xe7212e,collapsed:_0x12886d,isActive:_0x21de91}of _0x316afc){const _0x4acce3=_0x4e4c8f['findNodePositionByCharIndex'](_0xced92c,!0x0,_0x5730c2,_0xe7212e);let _0x588e43=_0x4e4c8f[_0x312e69(0x2a5)](_0x2afec5,!0x0,_0x5730c2,_0xe7212e);if(_0x588e43==null&&(_0x588e43=_0x4e4c8f['findNodePositionByCharIndex'](_0x2afec5-0x1,!0x1,_0x5730c2,_0xe7212e)),_0x21de91){const {contentBoxPointGroup:_0xf63ccc}=_0x5af57c[_0x312e69(0x278)](_0x588e43,_0x588e43);if(_0xf63ccc[_0x312e69(0x123)]===0x0)continue;this['_drawAnchor'](_0x235d59,_0xf63ccc,_0x4e80a9,_0x586d8d,_0x27b47e),this[_0x312e69(0x230)]=this[_0x312e69(0x1ab)]();}if(_0x4acce3&&_0x588e43){if(_0x37ed42===_0x717d91[_0x312e69(0x106)][_0x312e69(0x133)]){const _0x356bab=new _0x42f0df[(_0x312e69(0xae))](_0x345f78,_0x4e4c8f),{pointGroup:_0x30104c}=(_0xd47129=_0x356bab[_0x312e69(0x278)](_0x4acce3,_0x588e43))!=null?_0xd47129:{};if(_0x30104c==null||_0x30104c[_0x312e69(0x123)]===0x0)continue;this[_0x312e69(0x207)](_0x235d59,_0x30104c,_0x4e80a9,_0x586d8d);}else{if(!_0x12886d){const {borderBoxPointGroup:_0x1794fd}=_0x5af57c['getRangePointData'](_0x4acce3,_0x588e43);if(_0x1794fd[_0x312e69(0x123)]===0x0)continue;this[_0x312e69(0x1d2)](_0x235d59,_0x1794fd,_0x4e80a9,_0x586d8d);}}}}}[_0x2a4ba5(0x2b3)](_0x5e7a97,_0x2a9949,_0x3c1c17,_0x2d9805,_0x20e505){const _0x2bf995=_0x2a4ba5,_0x4f956b=this[_0x2bf995(0x2ce)](_0x2a9949),{left:_0x19a5fa,top:_0x6d653a,height:_0x2a8b1a}=_0x4f956b,_0x300e65=this[_0x2bf995(0x156)](),_0x3d9159=_0x1d2bb8/_0x300e65,_0x41b319=new _0x4a1571[(_0x2bf995(0x2d5))](_0x14bb73+_0x717d91['generateRandomId'](_0x22c5bc),{'left':_0x19a5fa+_0x3c1c17-_0x3d9159,'top':_0x6d653a+_0x2d9805,'height':_0x2a8b1a,'width':_0x1876de,'fill':_0x5e7a97||_0x4a1571[_0x2bf995(0x226)](_0x717d91['COLORS'][_0x2bf995(0x1cb)],0x0),'strokeWidth':_0x3d9159,'stroke':_0x403502,'evented':!0x0});this[_0x2bf995(0x3a0)]=_0x41b319,this[_0x2bf995(0x19b)][_0x2bf995(0x1f3)](_0x41b319,_0x42f0df['TEXT_RANGE_LAYER_INDEX']);const _0x5243f8=new _0x4a1571[(_0x2bf995(0x2d5))](_0x14bb73+_0x717d91[_0x2bf995(0x31c)](_0x22c5bc),{'left':_0x19a5fa+_0x3c1c17-_0x3d9159,'top':_0x6d653a+_0x2d9805-_0xd22ed3/0x2,'height':_0xd22ed3,'width':_0xd22ed3,'fill':_0x5e7a97||_0x4a1571[_0x2bf995(0x226)](_0x717d91[_0x2bf995(0x20d)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x5e7a97||_0x4a1571[_0x2bf995(0x226)](_0x717d91[_0x2bf995(0x20d)]['black'],0x0),'evented':!0x1});this[_0x2bf995(0x25e)]=_0x5243f8,this[_0x2bf995(0x19b)][_0x2bf995(0x1f3)](_0x5243f8,_0x42f0df[_0x2bf995(0x2b2)]);const _0x1d2937=new _0x264ac3(_0x14bb73+_0x717d91[_0x2bf995(0x31c)](_0x22c5bc),{'left':_0x19a5fa+_0x3c1c17-_0x3d9159,'top':_0x6d653a+_0x2d9805-_0x5b7079,'text':_0x20e505,'color':_0x5e7a97});this[_0x2bf995(0x2ac)]=_0x1d2937,this[_0x2bf995(0x19b)]['addObject'](_0x1d2937,_0x42f0df[_0x2bf995(0x2b2)]),this[_0x2bf995(0x394)]=!0x1;}[_0x2a4ba5(0x1ab)](){const _0x2c0577=_0x2a4ba5,_0x53b06e=this[_0x2c0577(0x3a0)][_0x2c0577(0x196)][_0x2c0577(0x12b)](()=>{const _0x597063=_0x2c0577;this[_0x597063(0x394)]=!0x0;}),_0x5851f1=this['_anchor'][_0x2c0577(0xe0)][_0x2c0577(0x12b)](()=>{const _0x51a945=_0x2c0577;this[_0x51a945(0x290)]&&clearTimeout(this[_0x51a945(0x290)]),this[_0x51a945(0x290)]=setTimeout(()=>{const _0x309e03=_0x51a945;this[_0x309e03(0x394)]=!0x1;},0x7d0);});return()=>{const _0x48af88=_0x2c0577;_0x53b06e[_0x48af88(0x2e7)](),_0x5851f1['unsubscribe']();};}[_0x2a4ba5(0x1d2)](_0x4fc454,_0x3744ce,_0x41c6a2,_0x486888){const _0x287211=_0x2a4ba5,_0x42219f=new _0x717d91[(_0x287211(0x336))](_0x4fc454)[_0x287211(0x193)](0.2)[_0x287211(0x297)](),_0x1d9f1a=new _0x4a1571[(_0x287211(0x218))](_0x304e63+_0x717d91['generateRandomId'](_0x22c5bc),{'pointsGroup':_0x3744ce,'fill':_0x42219f||_0x4a1571[_0x287211(0x226)](_0x717d91['COLORS'][_0x287211(0x1cb)],0.2),'left':_0x41c6a2,'top':_0x486888,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x287211(0x270)][_0x287211(0x2db)](_0x1d9f1a),this['_scene']['addObject'](_0x1d9f1a,_0x42f0df['TEXT_RANGE_LAYER_INDEX']);}[_0x2a4ba5(0x207)](_0x484ada,_0x2a343d,_0x1616e5,_0x3fb385){const _0x517f11=_0x2a4ba5,_0x4fbbdc=new _0x717d91['ColorKit'](_0x484ada)[_0x517f11(0x193)](0.2)[_0x517f11(0x297)](),_0x3c448a=new _0x4a1571['RegularPolygon'](_0x491eb3+_0x717d91[_0x517f11(0x31c)](_0x22c5bc),{'pointsGroup':_0x2a343d,'fill':_0x4fbbdc||_0x4a1571[_0x517f11(0x226)](_0x717d91[_0x517f11(0x20d)]['black'],0.2),'left':_0x1616e5,'top':_0x3fb385,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x517f11(0x270)][_0x517f11(0x2db)](_0x3c448a),this[_0x517f11(0x19b)][_0x517f11(0x1f3)](_0x3c448a,_0x42f0df['TEXT_RANGE_LAYER_INDEX']);}[_0x2a4ba5(0x2ce)](_0x3f70a3){const _0x1e79e8=_0x3f70a3[0x0],_0x24d6a1=_0x1e79e8[0x0],_0x157a71=_0x1e79e8[0x2],{x:_0x43542e,y:_0x26bae6}=_0x24d6a1,{x:_0x44b8b3,y:_0x3d3ae3}=_0x157a71;return{'left':_0x43542e,'top':_0x26bae6,'width':_0x44b8b3-_0x43542e,'height':_0x3d3ae3-_0x26bae6};}[_0x2a4ba5(0x156)](){const _0x214212=_0x2a4ba5,{scaleX:_0x56b23c,scaleY:_0x11849a}=this['_scene'][_0x214212(0x264)]();return Math[_0x214212(0x22e)](_0x56b23c,_0x11849a);}}var _0x17eaf6=Object[_0x2a4ba5(0x147)],_0x301dfa=(_0x13407a,_0x54d5a1,_0x3611bc,_0x4b1343)=>{const _0x2ea83e=_0x2a4ba5;for(var _0x516139=_0x4b1343>0x1?void 0x0:_0x4b1343?_0x17eaf6(_0x54d5a1,_0x3611bc):_0x54d5a1,_0x1673d7=_0x13407a[_0x2ea83e(0x123)]-0x1,_0x4a6c29;_0x1673d7>=0x0;_0x1673d7--)(_0x4a6c29=_0x13407a[_0x1673d7])&&(_0x516139=_0x4a6c29(_0x516139)||_0x516139);return _0x516139;},_0x125baa=(_0x514368,_0x390f25)=>(_0xc3cdf5,_0x1a7860)=>_0x390f25(_0xc3cdf5,_0x1a7860,_0x514368);let _0x564a2a=class extends _0x717d91[_0x2a4ba5(0x1f4)]{constructor(_0xb76815,_0x5d6de9,_0x27e99c,_0x3fbaab,_0x2d69aa){const _0x16a002=_0x2a4ba5;super(),_0x271c55(this,_0x16a002(0x2d4),[]),_0x271c55(this,_0x16a002(0x185),[]),(this[_0x16a002(0x3a1)]=_0xb76815,this[_0x16a002(0x24d)]=_0x5d6de9,this[_0x16a002(0x154)]=_0x27e99c,this['_commandService']=_0x3fbaab,this[_0x16a002(0x153)]=_0x2d69aa,this[_0x16a002(0xd5)]());}[_0x2a4ba5(0xd5)](){const _0x1eb2b0=_0x2a4ba5,_0xbf8067=this[_0x1eb2b0(0x3a1)][_0x1eb2b0(0x1df)],_0x478ea9=this['_docSkeletonManagerService'];this[_0x1eb2b0(0x1d4)](_0x170cda['combineLatest']([this[_0x1eb2b0(0x154)][_0x1eb2b0(0xf1)](_0xbf8067),this[_0x1eb2b0(0x153)][_0x1eb2b0(0xe6)]])['pipe'](_0x5954f8[_0x1eb2b0(0x180)](([_0x3666dd,_0x18137d])=>({'skeleton':_0x478ea9[_0x1eb2b0(0x330)](),'cursors':[..._0x3666dd[_0x1eb2b0(0x314)]()][_0x1eb2b0(0x2a0)](_0x2bfe8a=>({..._0x2bfe8a,'color':this[_0x1eb2b0(0x153)]['getColorFromTheme'](_0x2bfe8a['color'])}))})))[_0x1eb2b0(0xbf)](_0x2461c3=>{const _0x42d17d=_0x1eb2b0;if(this[_0x42d17d(0x13c)](),_0x2461c3){const {skeleton:_0x20788f,cursors:_0x4ea1f}=_0x2461c3;this[_0x42d17d(0x357)](_0x20788f,_0x4ea1f);}})),this['_initResize'](),this[_0x1eb2b0(0xf8)]();}[_0x2a4ba5(0x357)](_0x296084,_0x2da0c0){const _0x320964=_0x2a4ba5,{scene:_0x584859,mainComponent:_0x42d6cc}=this[_0x320964(0x3a1)],_0x1a4166=_0x2da0c0[_0x320964(0x180)](_0x307461=>new _0x328b55(_0x307461,_0x584859,_0x296084,_0x42d6cc));this[_0x320964(0x2d4)]=_0x1a4166,this[_0x320964(0x185)]=_0x2da0c0;}[_0x2a4ba5(0x337)](){const _0x5989f3=_0x2a4ba5;this[_0x5989f3(0x13c)]();const {scene:_0x9991f4,mainComponent:_0x990478}=this['_context'],_0x5c3938=this[_0x5989f3(0x24d)][_0x5989f3(0x330)](),_0x14399a=this['_cursors'][_0x5989f3(0x180)](_0x430f14=>new _0x328b55(_0x430f14,_0x9991f4,_0x5c3938,_0x990478));this[_0x5989f3(0x2d4)]=_0x14399a;}[_0x2a4ba5(0x13c)](){const _0x1320db=_0x2a4ba5;this[_0x1320db(0x2d4)][_0x1320db(0xc4)](_0x23bef6=>_0x23bef6[_0x1320db(0x14a)]()),this[_0x1320db(0x2d4)]=[];}['_initCommandExecutedListener'](){const _0x221924=_0x2a4ba5,_0x7a56a9=[_0x42f0df[_0x221924(0xa6)]['id']];this[_0x221924(0x1d4)](this['_commandService']['onCommandExecuted'](_0x405d28=>{const _0x34b802=_0x221924;_0x7a56a9['includes'](_0x405d28['id'])&&_0x405d28[_0x34b802(0x2af)][_0x34b802(0x1df)]===this[_0x34b802(0x3a1)][_0x34b802(0x1df)]&&this[_0x34b802(0x337)]();}));}[_0x2a4ba5(0x2e3)](){const _0xa9c853=_0x2a4ba5;this['disposeWithMe'](_0x717d91[_0xa9c853(0x39f)](this[_0xa9c853(0x3a1)][_0xa9c853(0x28d)]['onTransformChange$'])[_0xa9c853(0xda)](_0x5954f8[_0xa9c853(0x1dd)](_0x79ef=>_0x79ef[_0xa9c853(0x13b)]===_0x4a1571[_0xa9c853(0x222)]['resize']),_0x5954f8['throttleTime'](0x10))[_0xa9c853(0xbf)](()=>{const _0x4181e4=_0xa9c853;this[_0x4181e4(0x337)]();}));}};_0x564a2a=_0x301dfa([_0x125baa(0x1,_0x717d91[_0x2a4ba5(0x37b)](_0x59e61e[_0x2a4ba5(0x11f)])),_0x125baa(0x2,_0x717d91[_0x2a4ba5(0x37b)](_0xfbad1b)),_0x125baa(0x3,_0x717d91[_0x2a4ba5(0x329)]),_0x125baa(0x4,_0x717d91[_0x2a4ba5(0x37b)](_0x717d91[_0x2a4ba5(0xb8)]))],_0x564a2a);const _0x5210be=0x1,_0xdceebe=1.5;class _0x1a2356 extends _0x4a1571[_0x2a4ba5(0x2e0)]{constructor(_0x50c11e,_0x472310){const _0x12e40b=_0x2a4ba5;super(_0x50c11e,_0x472310),_0x271c55(this,'_color'),_0x271c55(this,_0x12e40b(0x2da),!0x1),_0x271c55(this,_0x12e40b(0x2a8)),_0x271c55(this,_0x12e40b(0x16c),''),_0x271c55(this,'_labelPosition',_0x12e40b(0x286)),_0x271c55(this,'_backgroundColor'),(_0x472310&&this[_0x12e40b(0x236)](_0x472310),this[_0x12e40b(0x196)][_0x12e40b(0x12b)](()=>this[_0x12e40b(0x236)]({'hovered':!0x0})),this[_0x12e40b(0xe0)][_0x12e40b(0x12b)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x2a4ba5(0x236)](_0x1bf719){const _0x2d727e=_0x2a4ba5;var _0x5e9d48,_0xfc3016,_0x58c7db,_0x54c847,_0x414411,_0xd816f8;this[_0x2d727e(0x310)]=(_0x5e9d48=_0x1bf719[_0x2d727e(0x33b)])!=null?_0x5e9d48:this[_0x2d727e(0x310)],this[_0x2d727e(0x2da)]=(_0xfc3016=_0x1bf719[_0x2d727e(0x26d)])!=null?_0xfc3016:this[_0x2d727e(0x2da)],this['_range']=(_0x58c7db=_0x1bf719[_0x2d727e(0x10d)])!=null?_0x58c7db:this[_0x2d727e(0x2a8)],this[_0x2d727e(0x16c)]=(_0x54c847=_0x1bf719[_0x2d727e(0x35e)])!=null?_0x54c847:this[_0x2d727e(0x16c)],this[_0x2d727e(0x13d)]=(_0x414411=_0x1bf719[_0x2d727e(0xea)])!=null?_0x414411:this[_0x2d727e(0x13d)],this[_0x2d727e(0x318)]=(_0xd816f8=_0x1bf719[_0x2d727e(0x1bf)])!=null?_0xd816f8:this[_0x2d727e(0x318)],this[_0x2d727e(0x2a7)]({'width':_0x1bf719[_0x2d727e(0x383)],'height':_0x1bf719[_0x2d727e(0x204)]});}['onMouseMove'](_0x52efc0){const _0x3e0aab=_0x2a4ba5,{row:_0x2dbb32,column:_0x1fab51}=_0x52efc0;if(_0x2dbb32>=this[_0x3e0aab(0x2a8)][_0x3e0aab(0x27e)]&&_0x2dbb32<=this[_0x3e0aab(0x2a8)][_0x3e0aab(0x1af)]&&_0x1fab51>=this['_range'][_0x3e0aab(0x117)]&&_0x1fab51<=this[_0x3e0aab(0x2a8)]['endColumn']){this[_0x3e0aab(0x236)]({'hovered':!0x0});return;}this[_0x3e0aab(0x236)]({'hovered':!0x1});}[_0x2a4ba5(0x395)](_0x4a29a7){return!0x1;}[_0x2a4ba5(0x16a)](_0x50ffd2){const _0x2c3e84=_0x2a4ba5;_0x4a1571[_0x2c3e84(0x2d5)][_0x2c3e84(0x170)](_0x50ffd2,{'width':this[_0x2c3e84(0x383)],'height':this[_0x2c3e84(0x204)],'strokeWidth':_0xdceebe,'stroke':this[_0x2c3e84(0x310)],'evented':!0x1,'fill':this[_0x2c3e84(0x318)]}),this['_hovered']&&(_0x50ffd2[_0x2c3e84(0x20f)](),_0x50ffd2[_0x2c3e84(0x2ae)](0x1,0x0,0x0,0x1,this[_0x2c3e84(0x383)],this[_0x2c3e84(0x13d)]===_0x2c3e84(0x179)?0x0:-_0x5b7079),_0x264ac3['drawWith'](_0x50ffd2,{'text':this['_name'],'color':this[_0x2c3e84(0x310)]}),_0x50ffd2['restore']());}}var _0x5ea7f8=Object[_0x2a4ba5(0x147)],_0x38097b=(_0x25cc46,_0x5c7e0c,_0xdab151,_0x315681)=>{const _0x203e29=_0x2a4ba5;for(var _0x32cc31=_0x315681>0x1?void 0x0:_0x315681?_0x5ea7f8(_0x5c7e0c,_0xdab151):_0x5c7e0c,_0x41572f=_0x25cc46[_0x203e29(0x123)]-0x1,_0x1ed003;_0x41572f>=0x0;_0x41572f--)(_0x1ed003=_0x25cc46[_0x41572f])&&(_0x32cc31=_0x1ed003(_0x32cc31)||_0x32cc31);return _0x32cc31;},_0x409113=(_0xc1d286,_0x8fa607)=>(_0xeec2bc,_0x41834f)=>_0x8fa607(_0xeec2bc,_0x41834f,_0xc1d286);const _0x1ba6ee=0x1389;let _0x35d8f7=class extends _0x717d91[_0x2a4ba5(0x1f4)]{constructor(_0x29b9ca,_0x1e2899,_0x696142,_0x36d8eb){const _0x159162=_0x2a4ba5;super(),_0x271c55(this,_0x159162(0x185),new Set()),_0x271c55(this,_0x159162(0x259),null),(this[_0x159162(0x3a1)]=_0x29b9ca,this['_sheetSkeletonManagerService']=_0x1e2899,this['_collabCursorController']=_0x696142,this[_0x159162(0x153)]=_0x36d8eb,this[_0x159162(0xd5)]());}[_0x2a4ba5(0xd5)](){const _0x5d1efc=_0x2a4ba5;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x5d1efc(0xda)](_0x5954f8[_0x5d1efc(0x2b0)](this[_0x5d1efc(0x2c4)]),_0x5954f8['switchMap'](_0x2ac1a2=>{const _0x40fad6=_0x5d1efc;if(_0x2ac1a2){const _0x56f58d=_0x2ac1a2[_0x40fad6(0x262)];return _0x170cda[_0x40fad6(0x253)](this['_collabCursorController'][_0x40fad6(0xf1)](this[_0x40fad6(0x3a1)][_0x40fad6(0x1df)]),this[_0x40fad6(0x153)][_0x40fad6(0xe6)])['pipe'](_0x5954f8[_0x40fad6(0x180)](([_0x53ac8d,_0x5ca587])=>{const _0x25a8c8=_0x40fad6,_0x410c68=new Map();return _0x53ac8d[_0x25a8c8(0xc4)]((_0x251ecc,_0x5ab9c8)=>{const _0x3713c6=_0x25a8c8;if(_0x251ecc[_0x3713c6(0x327)]===_0x56f58d){const _0x3e3599={..._0x251ecc};_0x3e3599[_0x3713c6(0x33b)]=this[_0x3713c6(0x153)][_0x3713c6(0x260)](_0x251ecc[_0x3713c6(0x33b)]),_0x410c68[_0x3713c6(0x30e)](_0x5ab9c8,_0x3e3599);}}),{'skeleton':_0x2ac1a2,'cursors':_0x410c68};}));}return _0x170cda['of']({'skeleton':null,'cursors':new Map()});}))[_0x5d1efc(0xbf)](({skeleton:_0x42a13c,cursors:_0x64a4fa})=>{const _0x8fcfbd=_0x5d1efc;this[_0x8fcfbd(0x13c)](),_0x42a13c&&this[_0x8fcfbd(0x357)](_0x42a13c,_0x64a4fa);}),this[_0x5d1efc(0xa8)][_0x5d1efc(0xe4)][_0x5d1efc(0xbf)](_0xb7e9aa=>{const _0x95559f=_0x5d1efc;if(_0xb7e9aa==null)return;const {skeleton:_0xff705a}=_0xb7e9aa,{scene:_0x4e2f9d}=this[_0x95559f(0x3a1)];_0x4e2f9d[_0x95559f(0x36a)][_0x95559f(0x12b)](_0x717d91[_0x95559f(0x32e)](_0xf7cced=>{const _0x546e33=_0x95559f;var _0x82a71f,_0x4407f5;const {offsetX:_0x263c61,offsetY:_0x41b193}=_0xf7cced,{x:_0x1892b7,y:_0x5bca2e}=_0x4e2f9d[_0x546e33(0x324)](_0x4a1571[_0x546e33(0x373)][_0x546e33(0x1b8)]([_0x263c61,_0x41b193])),{scaleX:_0x22ca6c,scaleY:_0x2fe1e0}=_0x4e2f9d[_0x546e33(0x264)](),_0x162d29=_0x4e2f9d[_0x546e33(0x206)](_0x4a1571[_0x546e33(0x165)]['VIEW_MAIN']),_0x20448b=_0x4e2f9d[_0x546e33(0x280)](_0x4a1571['Vector2'][_0x546e33(0x1b8)]([_0x1892b7,_0x5bca2e]),_0x162d29),_0x3b1313=_0xff705a[_0x546e33(0x112)](_0x263c61,_0x41b193,_0x22ca6c,_0x2fe1e0,_0x20448b);((_0x82a71f=this['_lastPointer'])==null?void 0x0:_0x82a71f[_0x546e33(0x168)])===_0x3b1313[_0x546e33(0x168)]&&((_0x4407f5=this[_0x546e33(0x259)])==null?void 0x0:_0x4407f5['row'])===_0x3b1313[_0x546e33(0xdd)]||this[_0x546e33(0x185)][_0x546e33(0xc4)](_0xc684a0=>{const _0x4e6f4e=_0x546e33;_0xc684a0[_0x4e6f4e(0x323)](_0x3b1313);});},0x64));});}[_0x2a4ba5(0x357)](_0x2e1471,_0x173c19){const _0x19af78=_0x2a4ba5;var _0x5e579d;const _0x11114c=(_0x5e579d=this['_sheetSkeletonManagerService'][_0x19af78(0x288)]())==null?void 0x0:_0x5e579d['skeleton'];if(!_0x11114c)return;const _0x339c11=this['_getSheetObject']();if(!_0x339c11)return;this[_0x19af78(0x185)]['forEach'](_0x2b864c=>{_0x2b864c['makeDirty']();});const {scene:_0xa8dcb2}=_0x339c11,_0x53f470=_0x5218df(Array[_0x19af78(0x15a)](_0x173c19[_0x19af78(0x314)]()))[_0x19af78(0x180)](_0x2e3296=>{const _0x47cf99=_0x19af78,{color:_0x55ca50,range:_0x1428e3,name:_0x26f3fd,selection:_0xfb3bbf,sheetID:_0x15e4b2}=_0x2e3296,{startColumn:_0x1f4ffa,startRow:_0x1ecdee,endColumn:_0x2a910a,endRow:_0x23c265}=_0x1428e3,_0x565818=_0x627437[_0x47cf99(0x309)](_0x1ecdee,_0x1f4ffa,_0xa8dcb2,_0x11114c),_0xe17f26=_0x627437[_0x47cf99(0x309)](_0x23c265,_0x2a910a,_0xa8dcb2,_0x11114c),{columnHeaderHeightAndMarginTop:_0x5a8b75}=_0x11114c,{startX:_0x4f1a61,startY:_0x11dfec}=_0x565818,{endX:_0xf5c800,endY:_0x1bc672}=_0xe17f26,_0x3b44a1=_0xf5c800-_0x4f1a61,_0x315141=_0x1bc672-_0x11dfec,_0x26f88f={'labelPosition':_0x11dfec-_0x5a8b75>=_0x5b7079?_0x47cf99(0x286):'bottom','sheetID':_0x15e4b2,'range':_0x1428e3,'color':_0x55ca50,'name':_0x26f3fd,'selection':_0xfb3bbf,'left':_0x4f1a61,'top':_0x11dfec,'width':_0x3b44a1,'height':_0x315141,'evented':!0x1,'zIndex':_0x1ba6ee};return new _0x1a2356(_0x26f3fd,_0x26f88f);});_0xa8dcb2[_0x19af78(0x198)](_0x53f470,_0x5210be),this[_0x19af78(0x185)]=new Set(_0x53f470);}['_removeCollabCursors'](){var _0x452d55;(_0x452d55=this['_cursors'])==null||_0x452d55['forEach'](_0x1df3f2=>_0x1df3f2['dispose']());}[_0x2a4ba5(0x24e)](){const _0x8b5c29=_0x2a4ba5;return _0x627437[_0x8b5c29(0x223)](this[_0x8b5c29(0x3a1)][_0x8b5c29(0x16e)],this[_0x8b5c29(0x3a1)]);}};_0x35d8f7=_0x38097b([_0x409113(0x1,_0x717d91[_0x2a4ba5(0x37b)](_0x627437[_0x2a4ba5(0xcf)])),_0x409113(0x2,_0x717d91['Inject'](_0xfbad1b)),_0x409113(0x3,_0x717d91['Inject'](_0x717d91[_0x2a4ba5(0xb8)]))],_0x35d8f7);function _0x5218df(_0x3e142b){const _0x371fc4=_0x2a4ba5,_0x137d39=new Map();return _0x3e142b['forEach'](_0x1f5ee6=>{const _0x2f01c4=_0x20af;if(_0x137d39['has'](_0x1f5ee6[_0x2f01c4(0xe9)])){const _0x50c8b7=_0x137d39[_0x2f01c4(0x2aa)](_0x1f5ee6['selection']);_0x50c8b7[_0x2f01c4(0x35e)]+=',\x20'+_0x1f5ee6['name'];}else _0x137d39['set'](_0x1f5ee6['selection'],_0x1f5ee6);}),Array[_0x371fc4(0x15a)](_0x137d39['values']());}var _0x815fe4=Object[_0x2a4ba5(0x147)],_0x509bc3=(_0x9f0417,_0x200f03,_0x1690ed,_0x4768e9)=>{const _0x41915c=_0x2a4ba5;for(var _0x369b70=_0x4768e9>0x1?void 0x0:_0x4768e9?_0x815fe4(_0x200f03,_0x1690ed):_0x200f03,_0x2f4104=_0x9f0417[_0x41915c(0x123)]-0x1,_0x53e9ec;_0x2f4104>=0x0;_0x2f4104--)(_0x53e9ec=_0x9f0417[_0x2f4104])&&(_0x369b70=_0x53e9ec(_0x369b70)||_0x369b70);return _0x369b70;},_0x5e8ba3=(_0x1e51fc,_0x1a7ace)=>(_0x3b724c,_0x1043bc)=>_0x1a7ace(_0x3b724c,_0x1043bc,_0x1e51fc);let _0x1af25f=class extends _0x717d91[_0x2a4ba5(0x393)]{constructor(_0x18570c,_0x34092a,_0x4702dc,_0x3ca7ca,_0xdef69f,_0x21e524){const _0x5d9c36=_0x2a4ba5;super(),this[_0x5d9c36(0x384)]=_0x18570c,this['_localCacheService']=_0x34092a,this[_0x5d9c36(0xfd)]=_0x4702dc,this['_messageService']=_0x3ca7ca,this[_0x5d9c36(0x19a)]=_0xdef69f,this[_0x5d9c36(0x26b)]=_0x21e524,this['_setupBeforeClosingHandler'](),this[_0x5d9c36(0x338)]();}['_setupBeforeClosingHandler'](){const _0x2da86b=_0x2a4ba5;this[_0x2da86b(0x1d4)](this[_0x2da86b(0x384)][_0x2da86b(0x34b)](()=>{const _0x719511=_0x2da86b;if(this[_0x719511(0x292)]['saveTaskMap'][_0x719511(0x13e)])return this[_0x719511(0x26b)]['t'](_0x719511(0xc8));}));}[_0x2a4ba5(0x338)](){const _0x154b38=_0x2a4ba5;this[_0x154b38(0x1d4)](this[_0x154b38(0xfd)][_0x154b38(0x1de)][_0x154b38(0xbf)](_0x33072c=>{const _0x27a2ec=_0x154b38;_0x33072c['id']===_0x26bc40[_0x27a2ec(0x195)][_0x27a2ec(0x1ce)]&&this[_0x27a2ec(0x114)][_0x27a2ec(0x248)]({'type':_0x203981[_0x27a2ec(0xa7)][_0x27a2ec(0x385)],'content':this['_localeService']['t'](_0x27a2ec(0x1ca))}),_0x33072c['id']===_0x26bc40[_0x27a2ec(0x195)][_0x27a2ec(0x37c)]&&this[_0x27a2ec(0x114)][_0x27a2ec(0x248)]({'type':_0x203981['MessageType'][_0x27a2ec(0x385)],'content':this[_0x27a2ec(0x26b)]['t']('collaboration.closeRoom')}),_0x33072c['id']===_0x26bc40['CollaborationUIEventId'][_0x27a2ec(0x14d)]&&this['_notificationService'][_0x27a2ec(0x248)]({'title':this[_0x27a2ec(0x26b)]['t'](_0x27a2ec(0x2de)),'content':this[_0x27a2ec(0x26b)]['t'](_0x27a2ec(0x37e)),'type':_0x27a2ec(0x289),'duration':0x0}),_0x33072c['id']===_0x26bc40['CollaborationUIEventId'][_0x27a2ec(0x100)]&&this[_0x27a2ec(0x114)][_0x27a2ec(0x248)]({'type':_0x203981[_0x27a2ec(0xa7)][_0x27a2ec(0x135)],'content':this['_localeService']['t'](_0x27a2ec(0x268))+'('+_0x33072c['data']+')'}),_0x33072c['id']===_0x26bc40[_0x27a2ec(0x195)][_0x27a2ec(0x1da)]&&this[_0x27a2ec(0x114)][_0x27a2ec(0x248)]({'type':_0x203981[_0x27a2ec(0xa7)][_0x27a2ec(0x385)],'content':this[_0x27a2ec(0x26b)]['t'](_0x33072c[_0x27a2ec(0x244)]||'')}),_0x33072c['id']===_0x26bc40['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x27a2ec(0x114)]['show']({'type':_0x203981[_0x27a2ec(0xa7)][_0x27a2ec(0x385)],'content':this['_localeService']['t']('session.will-retry')}),_0x33072c['id']===_0x26bc40[_0x27a2ec(0x195)][_0x27a2ec(0x1ea)]&&this[_0x27a2ec(0x114)][_0x27a2ec(0x248)]({'type':_0x203981[_0x27a2ec(0xa7)][_0x27a2ec(0x135)],'content':this[_0x27a2ec(0x26b)]['t'](_0x27a2ec(0xb9))}),_0x33072c['id']===_0x26bc40[_0x27a2ec(0x195)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x27a2ec(0x248)]({'type':_0x203981[_0x27a2ec(0xa7)][_0x27a2ec(0x135)],'content':this['_localeService']['t'](_0x27a2ec(0x30d))});}));}};_0x1af25f=_0x509bc3([_0x5e8ba3(0x0,_0x498b33[_0x2a4ba5(0xc3)]),_0x5e8ba3(0x1,_0x26bc40[_0x2a4ba5(0xbe)]),_0x5e8ba3(0x2,_0x717d91[_0x2a4ba5(0x37b)](_0x26bc40['CollaborationUIEventService'])),_0x5e8ba3(0x3,_0x498b33[_0x2a4ba5(0x119)]),_0x5e8ba3(0x4,_0x498b33[_0x2a4ba5(0x31a)]),_0x5e8ba3(0x5,_0x717d91[_0x2a4ba5(0x37b)](_0x717d91[_0x2a4ba5(0xef)]))],_0x1af25f);var _0x3869e4=Object[_0x2a4ba5(0x147)],_0x3fc7a7=(_0x255ad8,_0x3b5d90,_0x4d9212,_0x5da867)=>{const _0x46e053=_0x2a4ba5;for(var _0x5d95f3=_0x5da867>0x1?void 0x0:_0x5da867?_0x3869e4(_0x3b5d90,_0x4d9212):_0x3b5d90,_0x4b8855=_0x255ad8[_0x46e053(0x123)]-0x1,_0x1fe250;_0x4b8855>=0x0;_0x4b8855--)(_0x1fe250=_0x255ad8[_0x4b8855])&&(_0x5d95f3=_0x1fe250(_0x5d95f3)||_0x5d95f3);return _0x5d95f3;},_0x207521=(_0x212bd6,_0x11ceb4)=>(_0x165d8a,_0x45169a)=>_0x11ceb4(_0x165d8a,_0x45169a,_0x212bd6);let _0x5625b4=class extends _0x717d91['Disposable']{constructor(_0x2cf668,_0x5e68c6,_0x286db2,_0x550cb4){const _0x15ba65=_0x2a4ba5;super(),_0x271c55(this,_0x15ba65(0xc1)),(this[_0x15ba65(0x265)]=_0x2cf668,this[_0x15ba65(0x29a)]=_0x5e68c6,this[_0x15ba65(0x34a)]=_0x286db2,this['_collaborationSessionService']=_0x550cb4,this['_init']());}['_init'](){const _0x52f456=_0x2a4ba5;this[_0x52f456(0x326)](),this[_0x52f456(0x21f)](),this[_0x52f456(0x347)](),this[_0x52f456(0x1cd)]();}[_0x2a4ba5(0x1cd)](){const _0x1e52b6=_0x2a4ba5;this[_0x1e52b6(0x1d4)](this[_0x1e52b6(0x191)]['socket$'][_0x1e52b6(0xbf)](_0x4a44e7=>{this['_memberID']=_0x4a44e7==null?void 0x0:_0x4a44e7['memberID'];}));}[_0x2a4ba5(0x326)](){const _0x40af80=_0x2a4ba5,_0x40e50e=_0x38142f=>{const _0x1a30fe=_0x20af;var _0x28b29c;this[_0x1a30fe(0x1ac)](_0x1a30fe(0x289),'[Window\x20Error]:\x20'+_0x38142f[_0x1a30fe(0x201)]+_0x1a30fe(0x1e4)+_0x38142f[_0x1a30fe(0x256)]+':'+_0x38142f[_0x1a30fe(0xd2)]+':'+_0x38142f[_0x1a30fe(0x1c8)]+'\x0a'+(((_0x28b29c=_0x38142f[_0x1a30fe(0x289)])==null?void 0x0:_0x28b29c[_0x1a30fe(0x283)])||''));};window['addEventListener'](_0x40af80(0x289),_0x40e50e),this[_0x40af80(0x1d4)](()=>{const _0x2de513=_0x40af80;window['removeEventListener'](_0x2de513(0x289),_0x40e50e);});}[_0x2a4ba5(0x21f)](){const _0x5a0ef8=_0x2a4ba5,_0xe8e229=_0x3888e6=>{const _0x49744f=_0x20af;this[_0x49744f(0x1ac)](_0x49744f(0x289),_0x49744f(0x11b)+_0x3888e6['reason']);};window[_0x5a0ef8(0x24b)](_0x5a0ef8(0xf3),_0xe8e229),this[_0x5a0ef8(0x1d4)](()=>{const _0x9f65f7=_0x5a0ef8;window[_0x9f65f7(0x231)](_0x9f65f7(0xf3),_0xe8e229);});}['_monkeyPatchLogService'](){const _0x423991=_0x2a4ba5,_0xdfbbb3=this['_logService'][_0x423991(0x289)][_0x423991(0x15d)](this[_0x423991(0x34a)]);this[_0x423991(0x34a)]['error']=(..._0x821964)=>{const _0x32a008=_0x423991,_0x43cd6f=_0x821964['map'](_0x2c7347=>_0x2c7347 instanceof Error?_0x2c7347[_0x32a008(0x201)]+'\x0a'+_0x2c7347[_0x32a008(0x283)]:String(_0x2c7347))[_0x32a008(0x111)]('\x20');this['_uploadLog'](_0x32a008(0x289),_0x32a008(0x1ed)+_0x43cd6f),_0xdfbbb3(..._0x821964);},this[_0x423991(0x1d4)](()=>{const _0x5f83d3=_0x423991;this[_0x5f83d3(0x34a)][_0x5f83d3(0x289)]=_0xdfbbb3;});}[_0x2a4ba5(0x1ac)](_0x4f15ea,_0x59a992){const _0x47386e=_0x2a4ba5;try{const _0x504337={'userId':this[_0x47386e(0xc1)],'logLabel':_0x4f15ea,'content':_0x59a992};this[_0x47386e(0x29a)][_0x47386e(0xbb)](_0x47386e(0x159),{'body':_0x504337})[_0x47386e(0x35f)](()=>{});}catch{}}};_0x5625b4=_0x3fc7a7([_0x207521(0x0,_0x717d91['Inject'](_0x717d91[_0x2a4ba5(0x32d)])),_0x207521(0x1,_0x717d91[_0x2a4ba5(0x37b)](_0x429433[_0x2a4ba5(0x186)])),_0x207521(0x2,_0x717d91[_0x2a4ba5(0x299)]),_0x207521(0x3,_0x717d91[_0x2a4ba5(0x37b)](_0x26bc40[_0x2a4ba5(0x2a1)]))],_0x5625b4);const _0x5b3c14=_0x2a4ba5(0x39d),_0x38a58d={};var _0x40633f=Object[_0x2a4ba5(0x147)],_0x207361=(_0x4e77d7,_0x8e28e3,_0x2c65c6,_0x177900)=>{const _0x122fae=_0x2a4ba5;for(var _0x4d4457=_0x177900>0x1?void 0x0:_0x177900?_0x40633f(_0x8e28e3,_0x2c65c6):_0x8e28e3,_0x127c5d=_0x4e77d7[_0x122fae(0x123)]-0x1,_0x24e11f;_0x127c5d>=0x0;_0x127c5d--)(_0x24e11f=_0x4e77d7[_0x127c5d])&&(_0x4d4457=_0x24e11f(_0x4d4457)||_0x4d4457);return _0x4d4457;},_0x92353e=(_0x40cea9,_0x27adbb)=>(_0x1671c6,_0x2fa476)=>_0x27adbb(_0x1671c6,_0x2fa476,_0x40cea9);let _0x2ce0f2=class{constructor(_0x35a6c3,_0x30cbfe){const _0x36ce59=_0x2a4ba5;this[_0x36ce59(0x242)]=_0x35a6c3,this[_0x36ce59(0x17e)]=_0x30cbfe;}[_0x2a4ba5(0x359)](_0x5ec6ad){const _0x413cf8=_0x2a4ba5;this['_transformUndoRedoStack'](_0x5ec6ad),this[_0x413cf8(0x15f)](_0x5ec6ad);}[_0x2a4ba5(0x203)](_0x12adad){const _0x1ead66=_0x2a4ba5,{unitID:_0x1a44e6}=_0x12adad,_0x2017b5=this[_0x1ead66(0x17e)][_0x1ead66(0x363)](_0x1a44e6)['with'](_0x42f0df['DocIMEInputManagerService']),{redoCache:_0x2b5193}=_0x2017b5[_0x1ead66(0x21c)]();if(_0x2b5193[_0x1ead66(0x123)]===0x0)return _0x12adad;let _0x44972a=_0x717d91[_0x1ead66(0x234)][_0x1ead66(0x23e)](_0x12adad[_0x1ead66(0x16d)][0x0]);for(let _0x47e316=0x0;_0x47e316<_0x2b5193[_0x1ead66(0x123)];_0x47e316++){const _0x5ec810={'id':'doc.mutation.rich-text-editing','params':{..._0x2b5193[_0x47e316]}},_0x25aaa8=this[_0x1ead66(0x242)][_0x1ead66(0x229)](_0x44972a,_0x5ec810,!0x1);if(_0xdf7641[_0x1ead66(0x39c)](_0x25aaa8))throw _0x25aaa8[_0x1ead66(0x289)];_0x44972a=_0x25aaa8[_0x1ead66(0x3a2)];}return{..._0x717d91[_0x1ead66(0x234)]['deepClone'](_0x12adad),'mutations':[_0x44972a]};}['_transformUndoRedoStack'](_0x106717){const _0x5c4374=_0x2a4ba5,{unitID:_0xf44954}=_0x106717,_0x559b98=this[_0x5c4374(0x17e)][_0x5c4374(0x363)](_0xf44954)[_0x5c4374(0x172)](_0x42f0df[_0x5c4374(0x228)]),{undoCache:_0x39ac85,redoCache:_0x23e034}=_0x559b98[_0x5c4374(0x21c)]();if(_0x39ac85[_0x5c4374(0x123)]===0x0||_0x23e034[_0x5c4374(0x123)]===0x0)return;const _0x599fcf=[],_0x298614=[];let _0x5a40d1=_0x717d91['Tools']['deepClone'](_0x106717[_0x5c4374(0x16d)][0x0]),_0x2a9550=_0x717d91['Tools']['deepClone'](_0x106717[_0x5c4374(0x16d)][0x0]);for(let _0x21d812=_0x39ac85['length']-0x1;_0x21d812>=0x0;_0x21d812--){const _0x2113b6={'id':_0x5c4374(0x269),'params':{..._0x39ac85[_0x21d812]}},_0x21eb52={'id':_0x5c4374(0x269),'params':{..._0x23e034[_0x21d812]}},_0x2a72b1=this[_0x5c4374(0x242)][_0x5c4374(0x229)](_0x5a40d1,_0x2113b6,!0x1),_0x552698=this['_transformService'][_0x5c4374(0x229)](_0x2a9550,_0x21eb52,!0x1);if(_0xdf7641[_0x5c4374(0x39c)](_0x2a72b1))throw _0x2a72b1[_0x5c4374(0x289)];if(_0xdf7641['isTransformMutationFailure'](_0x552698))throw _0x552698[_0x5c4374(0x289)];_0x599fcf['unshift'](_0x2a72b1[_0x5c4374(0x388)]['params']),_0x298614[_0x5c4374(0x110)](_0x552698['m2Prime']['params']),_0x5a40d1=_0x2a72b1[_0x5c4374(0x3a2)],_0x2a9550=_0x552698['m1Prime'];}_0x559b98[_0x5c4374(0x2f1)]({'undoCache':_0x599fcf,'redoCache':_0x298614});}[_0x2a4ba5(0x15f)](_0x431152){const _0x205a1f=_0x2a4ba5,{unitID:_0x1e1f50}=_0x431152,_0x48986=this[_0x205a1f(0x17e)][_0x205a1f(0x363)](_0x1e1f50)[_0x205a1f(0x172)](_0x42f0df[_0x205a1f(0x228)]),_0x537a5f=_0x48986[_0x205a1f(0x118)]();if(_0x537a5f==null)return;const _0x5e36a8=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x431152[_0x205a1f(0x1e6)],'actions':null,'textRanges':[_0x537a5f]}}],_0xe5fa91=this[_0x205a1f(0x242)][_0x205a1f(0x304)](_0x431152,_0x5e36a8);if(!_0xdf7641[_0x205a1f(0x13f)](_0xe5fa91))throw _0xe5fa91[_0x205a1f(0x289)];const _0x1c5bc0=_0xe5fa91['m2Prime'][0x0][_0x205a1f(0x2af)][_0x205a1f(0x240)];Array[_0x205a1f(0x217)](_0x1c5bc0)&&_0x1c5bc0['length']&&_0x48986[_0x205a1f(0xcb)](_0x1c5bc0[0x0]);}};_0x2ce0f2=_0x207361([_0x92353e(0x0,_0xdf7641[_0x2a4ba5(0x34f)]),_0x92353e(0x1,_0x4a1571[_0x2a4ba5(0x1e3)])],_0x2ce0f2);var _0x3a3c4f=Object[_0x2a4ba5(0x147)],_0x199cad=(_0x48453b,_0x495de7,_0x500b5c,_0x46549d)=>{const _0x5a2e82=_0x2a4ba5;for(var _0x47ee7e=_0x46549d>0x1?void 0x0:_0x46549d?_0x3a3c4f(_0x495de7,_0x500b5c):_0x495de7,_0x62e6b3=_0x48453b[_0x5a2e82(0x123)]-0x1,_0x1efbef;_0x62e6b3>=0x0;_0x62e6b3--)(_0x1efbef=_0x48453b[_0x62e6b3])&&(_0x47ee7e=_0x1efbef(_0x47ee7e)||_0x47ee7e);return _0x47ee7e;},_0x97530c=(_0x443283,_0x446cbd)=>(_0x30930b,_0x3cfd47)=>_0x446cbd(_0x30930b,_0x3cfd47,_0x443283);let _0xd02882=class{constructor(_0x730125,_0x5845bb,_0x309095){const _0x47fcbe=_0x2a4ba5;this['_injector']=_0x730125,this[_0x47fcbe(0x242)]=_0x5845bb,this['_docStateChangeManagerService']=_0x309095;}[_0x2a4ba5(0x122)](_0x242af8){const _0xdf72d8=_0x2a4ba5;this[_0xdf72d8(0x263)](_0x242af8);}[_0x2a4ba5(0x203)](_0x282e59){const _0x2b1ff5=_0x2a4ba5,{unitID:_0x37abcb}=_0x282e59,{collaboration:_0x6f662b}=this[_0x2b1ff5(0x35c)][_0x2b1ff5(0x2a9)](_0x37abcb);if(_0x6f662b[_0x2b1ff5(0x123)]===0x0)return _0x282e59;let _0x52b089=_0x717d91[_0x2b1ff5(0x234)][_0x2b1ff5(0x23e)](_0x282e59[_0x2b1ff5(0x16d)][0x0]);for(let _0x4fc1be=0x0;_0x4fc1be<_0x6f662b[_0x2b1ff5(0x123)];_0x4fc1be++){const _0x383af0={'id':_0x2b1ff5(0x269),'params':{'unitId':_0x6f662b[_0x4fc1be][_0x2b1ff5(0x1df)],..._0x6f662b[_0x4fc1be][_0x2b1ff5(0x35b)]}},_0x1e54ba=this[_0x2b1ff5(0x242)][_0x2b1ff5(0x229)](_0x52b089,_0x383af0,!0x1);if(_0xdf7641[_0x2b1ff5(0x39c)](_0x1e54ba))throw _0x1e54ba['error'];_0x52b089=_0x1e54ba[_0x2b1ff5(0x3a2)];}return{..._0x717d91[_0x2b1ff5(0x234)][_0x2b1ff5(0x23e)](_0x282e59),'mutations':[_0x52b089]};}[_0x2a4ba5(0x263)](_0x2201e0){const _0x511c6e=_0x2a4ba5,{unitID:_0x534de6}=_0x2201e0,{history:_0xb08b21,collaboration:_0x58f26c}=this[_0x511c6e(0x35c)][_0x511c6e(0x2a9)](_0x534de6);if(_0xb08b21[_0x511c6e(0x123)]===0x0&&_0x58f26c[_0x511c6e(0x123)]===0x0)return;const _0x3f1486=[],_0x4c297c=[];let _0x1dd98c=_0x717d91[_0x511c6e(0x234)][_0x511c6e(0x23e)](_0x2201e0[_0x511c6e(0x16d)][0x0]),_0xc5c83d=_0x717d91[_0x511c6e(0x234)]['deepClone'](_0x2201e0[_0x511c6e(0x16d)][0x0]);for(let _0x11d7df=_0xb08b21[_0x511c6e(0x123)]-0x1;_0x11d7df>=0x0;_0x11d7df--){const _0x5c6d5b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xb08b21[_0x11d7df][_0x511c6e(0x1df)],..._0xb08b21[_0x11d7df][_0x511c6e(0x14b)]}},_0x5b5717={'id':_0x511c6e(0x269),'params':{'unitId':_0xb08b21[_0x11d7df][_0x511c6e(0x1df)],..._0xb08b21[_0x11d7df][_0x511c6e(0x35b)]}},_0x3753fc=this[_0x511c6e(0x242)]['transformMutation'](_0x1dd98c,_0x5c6d5b,!0x1),_0x798874=this['_transformService'][_0x511c6e(0x229)](_0xc5c83d,_0x5b5717,!0x1);if(_0xdf7641[_0x511c6e(0x39c)](_0x3753fc))throw _0x3753fc[_0x511c6e(0x289)];if(_0xdf7641[_0x511c6e(0x39c)](_0x798874))throw _0x798874['error'];_0x3f1486[_0x511c6e(0x110)]({..._0xb08b21[_0x11d7df],'undoState':_0x3753fc[_0x511c6e(0x388)][_0x511c6e(0x2af)],'redoState':_0x798874['m2Prime'][_0x511c6e(0x2af)]}),_0x1dd98c=_0x3753fc['m1Prime'],_0xc5c83d=_0x798874[_0x511c6e(0x3a2)];}_0x1dd98c=_0x717d91[_0x511c6e(0x234)]['deepClone'](_0x2201e0['mutations'][0x0]),_0xc5c83d=_0x717d91[_0x511c6e(0x234)][_0x511c6e(0x23e)](_0x2201e0[_0x511c6e(0x16d)][0x0]);for(let _0x312d0f=_0x58f26c['length']-0x1;_0x312d0f>=0x0;_0x312d0f--){const _0x7fc697={'id':_0x511c6e(0x269),'params':{'unitId':_0x58f26c[_0x312d0f][_0x511c6e(0x1df)],..._0x58f26c[_0x312d0f][_0x511c6e(0x14b)]}},_0xd40e51={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x58f26c[_0x312d0f]['unitId'],..._0x58f26c[_0x312d0f][_0x511c6e(0x35b)]}},_0x536091=this[_0x511c6e(0x242)][_0x511c6e(0x229)](_0x1dd98c,_0x7fc697,!0x1),_0x33ef2c=this[_0x511c6e(0x242)]['transformMutation'](_0xc5c83d,_0xd40e51,!0x1);if(_0xdf7641['isTransformMutationFailure'](_0x536091))throw _0x536091[_0x511c6e(0x289)];if(_0xdf7641['isTransformMutationFailure'](_0x33ef2c))throw _0x33ef2c[_0x511c6e(0x289)];_0x4c297c[_0x511c6e(0x110)]({..._0x58f26c[_0x312d0f],'undoState':_0x536091[_0x511c6e(0x388)][_0x511c6e(0x2af)],'redoState':_0x33ef2c['m2Prime']['params']}),_0x1dd98c=_0x536091[_0x511c6e(0x3a2)],_0xc5c83d=_0x33ef2c[_0x511c6e(0x3a2)];}this[_0x511c6e(0x35c)][_0x511c6e(0x32b)](_0x534de6,{'history':_0x3f1486,'collaboration':_0x4c297c});}};_0xd02882=_0x199cad([_0x97530c(0x0,_0x717d91[_0x2a4ba5(0x37b)](_0x717d91[_0x2a4ba5(0x32d)])),_0x97530c(0x1,_0xdf7641[_0x2a4ba5(0x34f)]),_0x97530c(0x2,_0x717d91['Inject'](_0x42f0df[_0x2a4ba5(0x24a)]))],_0xd02882);var _0x582167=Object[_0x2a4ba5(0x147)],_0x59a0bb=(_0x48e877,_0x1d40b0,_0x5161b6,_0x63af2)=>{for(var _0x5b96aa=_0x63af2>0x1?void 0x0:_0x63af2?_0x582167(_0x1d40b0,_0x5161b6):_0x1d40b0,_0x4c26af=_0x48e877['length']-0x1,_0x53cb39;_0x4c26af>=0x0;_0x4c26af--)(_0x53cb39=_0x48e877[_0x4c26af])&&(_0x5b96aa=_0x53cb39(_0x5b96aa)||_0x5b96aa);return _0x5b96aa;},_0x9a800d=(_0x2d5757,_0x29b367)=>(_0x4ca696,_0x4162f8)=>_0x29b367(_0x4ca696,_0x4162f8,_0x2d5757);let _0x32cc87=class{constructor(_0x19d268,_0x118260){const _0x314b5d=_0x2a4ba5;this[_0x314b5d(0x265)]=_0x19d268,this['_transformService']=_0x118260;}[_0x2a4ba5(0x155)](_0x428dfc){const _0x19e72a=_0x2a4ba5;var _0x21490c;const _0x5ce961=this['_injector']['get'](_0x59e61e[_0x19e72a(0x1fc)]),_0x24f4bc=(_0x21490c=_0x5ce961[_0x19e72a(0x1c2)]())!=null?_0x21490c:[];if(_0x24f4bc[_0x19e72a(0x123)]===0x0)return;const _0x3d5c74=_0x428dfc[_0x19e72a(0x1e6)],_0x575dc4=[{'id':_0x19e72a(0x269),'params':{'unitId':_0x3d5c74,'actions':null,'textRanges':_0x24f4bc}}],_0x4b3aa2=this['_transformService'][_0x19e72a(0x304)](_0x428dfc,_0x575dc4);if(!_0xdf7641[_0x19e72a(0x13f)](_0x4b3aa2))throw _0x4b3aa2[_0x19e72a(0x289)];const _0x2d8328=_0x4b3aa2['m2Prime'][0x0][_0x19e72a(0x2af)][_0x19e72a(0x240)];Array[_0x19e72a(0x217)](_0x2d8328)&&_0x2d8328[_0x19e72a(0x123)]&&_0x5ce961[_0x19e72a(0x18e)](_0x2d8328,{'unitId':_0x3d5c74,'subUnitId':_0x3d5c74},!0x1);}};_0x32cc87=_0x59a0bb([_0x9a800d(0x0,_0x717d91[_0x2a4ba5(0x37b)](_0x717d91[_0x2a4ba5(0x32d)])),_0x9a800d(0x1,_0xdf7641[_0x2a4ba5(0x34f)])],_0x32cc87);var _0x5616b1=Object[_0x2a4ba5(0x147)],_0x4092b2=(_0x1728eb,_0x3ec6f8,_0x553c9a,_0xdafe7)=>{for(var _0xb47ce=_0xdafe7>0x1?void 0x0:_0xdafe7?_0x5616b1(_0x3ec6f8,_0x553c9a):_0x3ec6f8,_0x258638=_0x1728eb['length']-0x1,_0x3f1507;_0x258638>=0x0;_0x258638--)(_0x3f1507=_0x1728eb[_0x258638])&&(_0xb47ce=_0x3f1507(_0xb47ce)||_0xb47ce);return _0xb47ce;},_0x17491c=(_0x3cc27d,_0x391f1d)=>(_0x5f463e,_0xfe7d94)=>_0x391f1d(_0x5f463e,_0xfe7d94,_0x3cc27d);let _0x2f987a=class extends _0x717d91[_0x2a4ba5(0x393)]{constructor(_0x420e8b,_0xa59597,_0x481595,_0xb2fe0d,_0x48273e,_0x4cc2ca,_0x34e8af,_0x4df721){const _0xec551=_0x2a4ba5;super(),_0x271c55(this,_0xec551(0x266),new _0x170cda[(_0xec551(0x2a4))](_0x26bc40[_0xec551(0x34d)][_0xec551(0x1a2)])),(this[_0xec551(0x35c)]=_0x420e8b,this[_0xec551(0x151)]=_0xa59597,this['_docTransformIMECacheService']=_0x481595,this[_0xec551(0x1ae)]=_0xb2fe0d,this[_0xec551(0x1a7)]=_0x48273e,this['_docSyncEditingCollabCursorService']=_0x4cc2ca,this[_0xec551(0x114)]=_0x34e8af,this[_0xec551(0x26b)]=_0x4df721,this['_initEntityListener']());}[_0x2a4ba5(0x31e)](){const _0x494356=_0x2a4ba5;this['disposeWithMe'](this[_0x494356(0x151)][_0x494356(0x2dc)]['subscribe'](_0x6c8a7=>{const _0x1ae479=_0x494356,_0x3e7a8b=this[_0x1ae479(0x35c)][_0x1ae479(0x10a)][_0x1ae479(0xbf)](_0x2bf79f=>{const _0xc114f6=_0x1ae479;if(_0x2bf79f==null)return;const {unitId:_0x3d8755,redoState:_0x3a0ad1,commandId:_0x35a7ee}=_0x2bf79f;if(_0x3d8755!==_0x6c8a7[_0xc114f6(0x1e6)])return;const _0x17884b={'id':_0x35a7ee,'type':_0x717d91[_0xc114f6(0x322)]['MUTATION'],'params':{'unitId':_0x3d8755,'actions':_0x3a0ad1[_0xc114f6(0x1ec)],'textRanges':null}};_0x6c8a7[_0xc114f6(0x183)](_0x17884b);});if(_0x6c8a7['disposeWithMe'](_0x3e7a8b),_0x6c8a7 instanceof _0x26bc40[_0x1ae479(0x164)]){const _0x56a878={'onTransformIME':_0x44c598=>this['_docTransformIMECacheService'][_0x1ae479(0x359)](_0x44c598),'onTransformState':_0x203169=>this[_0x1ae479(0x1ae)]['transformStateCache'](_0x203169),'onTransformSelections':_0x6f9f48=>this[_0x1ae479(0x1a7)][_0x1ae479(0x155)](_0x6f9f48),'onSyncEditingCollabCursor':_0x4c760f=>this[_0x1ae479(0x162)][_0x1ae479(0x284)](_0x4c760f),'onTransformRemoteChangesetByIMECache':_0x6838ba=>this[_0x1ae479(0x22f)][_0x1ae479(0x203)](_0x6838ba),'onTransformRemoteChangesetByStateCache':_0x51e808=>this[_0x1ae479(0x1ae)][_0x1ae479(0x203)](_0x51e808)};_0x6c8a7[_0x1ae479(0xd6)](_0x56a878);}}));}};_0x2f987a=_0x4092b2([_0x17491c(0x0,_0x717d91[_0x2a4ba5(0x37b)](_0x42f0df[_0x2a4ba5(0x24a)])),_0x17491c(0x1,_0x717d91[_0x2a4ba5(0x37b)](_0x26bc40[_0x2a4ba5(0x36b)])),_0x17491c(0x2,_0x717d91['Inject'](_0x2ce0f2)),_0x17491c(0x3,_0x717d91['Inject'](_0xd02882)),_0x17491c(0x4,_0x717d91[_0x2a4ba5(0x37b)](_0x32cc87)),_0x17491c(0x5,_0x717d91['Inject'](_0x531ef2)),_0x17491c(0x6,_0x498b33[_0x2a4ba5(0x119)]),_0x17491c(0x7,_0x717d91[_0x2a4ba5(0x37b)](_0x717d91[_0x2a4ba5(0xef)]))],_0x2f987a);var _0xdbd9a9=(_0x539583=>(_0x539583[_0x539583[_0x2a4ba5(0x149)]=0x0]=_0x2a4ba5(0x149),_0x539583[_0x539583['OK']=0x1]='OK',_0x539583[_0x539583[_0x2a4ba5(0x1fb)]=0x2]=_0x2a4ba5(0x1fb),_0x539583[_0x539583[_0x2a4ba5(0x14d)]=0x3]=_0x2a4ba5(0x14d),_0x539583[_0x539583[_0x2a4ba5(0xd3)]=0x4]=_0x2a4ba5(0xd3),_0x539583[_0x539583['UNAUTHENTICATED']=0x5]=_0x2a4ba5(0x15b),_0x539583[_0x539583['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x539583[_0x539583[_0x2a4ba5(0x146)]=0x7]='INVALID_ARGUMENT',_0x539583[_0x539583[_0x2a4ba5(0xe5)]=0x8]=_0x2a4ba5(0xe5),_0x539583[_0x539583['COMPLETION_FINISHED']=0x9]=_0x2a4ba5(0x12f),_0x539583[_0x539583[_0x2a4ba5(0x12e)]=0xa]=_0x2a4ba5(0x12e),_0x539583[_0x539583[_0x2a4ba5(0x160)]=0xb]=_0x2a4ba5(0x160),_0x539583[_0x539583[_0x2a4ba5(0x158)]=0xc]=_0x2a4ba5(0x158),_0x539583[_0x539583[_0x2a4ba5(0x1c4)]=0xd]=_0x2a4ba5(0x1c4),_0x539583[_0x539583[_0x2a4ba5(0x2ab)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x539583[_0x539583['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x539583[_0x539583[_0x2a4ba5(0x2ad)]=0x10]=_0x2a4ba5(0x2ad),_0x539583[_0x539583[_0x2a4ba5(0x1a5)]=0x64]=_0x2a4ba5(0x1a5),_0x539583[_0x539583[_0x2a4ba5(0x1ba)]=0x65]=_0x2a4ba5(0x1ba),_0x539583[_0x539583['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x539583[_0x539583[_0x2a4ba5(0x173)]=0xca]=_0x2a4ba5(0x173),_0x539583[_0x539583['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x539583[_0x539583[_0x2a4ba5(0x30c)]=0x1771]=_0x2a4ba5(0x30c),_0x539583[_0x539583[_0x2a4ba5(0x194)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x539583[_0x539583['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x2a4ba5(0x2ff),_0x539583[_0x539583[_0x2a4ba5(0x279)]=0x1b59]=_0x2a4ba5(0x279),_0x539583[_0x539583[_0x2a4ba5(0x167)]=0x1b5a]=_0x2a4ba5(0x167),_0x539583[_0x539583[_0x2a4ba5(0x29f)]=0x1b5b]=_0x2a4ba5(0x29f),_0x539583[_0x539583[_0x2a4ba5(0x352)]=0x1b5c]=_0x2a4ba5(0x352),_0x539583[_0x539583[_0x2a4ba5(0x34c)]=0x1b5d]=_0x2a4ba5(0x34c),_0x539583[_0x539583[_0x2a4ba5(0x331)]=0x1f41]=_0x2a4ba5(0x331),_0x539583[_0x539583[_0x2a4ba5(0x2f2)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x539583[_0x539583[_0x2a4ba5(0x113)]=0x232a]=_0x2a4ba5(0x113),_0x539583[_0x539583['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2a4ba5(0x3a4),_0x539583[_0x539583['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x539583[_0x539583['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2a4ba5(0x389),_0x539583[_0x539583[_0x2a4ba5(0x11a)]=0x2711]=_0x2a4ba5(0x11a),_0x539583[_0x539583[_0x2a4ba5(0x2ca)]=0x2712]=_0x2a4ba5(0x2ca),_0x539583[_0x539583['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x2a4ba5(0xdb),_0x539583[_0x539583['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x2a4ba5(0x24f),_0x539583[_0x539583[_0x2a4ba5(0x17f)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x539583[_0x539583['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x2a4ba5(0xba),_0x539583[_0x539583[_0x2a4ba5(0x152)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x539583[_0x539583[_0x2a4ba5(0x241)]=0x271d]=_0x2a4ba5(0x241),_0x539583[_0x539583[_0x2a4ba5(0x2f5)]=0x271e]=_0x2a4ba5(0x2f5),_0x539583[_0x539583['YUUMI_AI_RUN_FAILED']=0x271f]=_0x2a4ba5(0x2cf),_0x539583[_0x539583[_0x2a4ba5(0xd4)]=0x2720]=_0x2a4ba5(0xd4),_0x539583[_0x539583[_0x2a4ba5(0x12c)]=0x2af9]=_0x2a4ba5(0x12c),_0x539583[_0x539583['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x2a4ba5(0x349),_0x539583[_0x539583[_0x2a4ba5(0x182)]=0x2ee2]=_0x2a4ba5(0x182),_0x539583[_0x539583['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x539583[_0x539583[_0x2a4ba5(0xbc)]=0x2ee4]=_0x2a4ba5(0xbc),_0x539583[_0x539583[_0x2a4ba5(0x33e)]=0x2ee5]=_0x2a4ba5(0x33e),_0x539583[_0x539583[_0x2a4ba5(0xf4)]=0x32c9]=_0x2a4ba5(0xf4),_0x539583[_0x539583['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x2a4ba5(0x171),_0x539583[_0x539583[_0x2a4ba5(0x371)]=0x32cb]=_0x2a4ba5(0x371),_0x539583[_0x539583[_0x2a4ba5(0x281)]=0x36b1]=_0x2a4ba5(0x281),_0x539583[_0x539583['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x2a4ba5(0xd1),_0x539583[_0x539583[_0x2a4ba5(0x188)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x539583[_0x539583[_0x2a4ba5(0x23c)]=0x36b4]=_0x2a4ba5(0x23c),_0x539583[_0x539583['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x2a4ba5(0x261),_0x539583[_0x539583[_0x2a4ba5(0x390)]=0x36b6]=_0x2a4ba5(0x390),_0x539583[_0x539583[_0x2a4ba5(0x2c0)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x539583[_0x539583[_0x2a4ba5(0x27f)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x539583[_0x539583[_0x2a4ba5(0x274)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x539583[_0x539583[_0x2a4ba5(0x35d)]=0x3716]=_0x2a4ba5(0x35d),_0x539583[_0x539583[_0x2a4ba5(0x211)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x539583[_0x539583[_0x2a4ba5(0x1b2)]=0x37dd]=_0x2a4ba5(0x1b2),_0x539583[_0x539583['REDEMPTION_INVALID_CODE']=0x3a99]=_0x2a4ba5(0x181),_0x539583[_0x539583[_0x2a4ba5(0x102)]=0x3a9a]=_0x2a4ba5(0x102),_0x539583[_0x539583[_0x2a4ba5(0x2d7)]=0x3a9b]=_0x2a4ba5(0x2d7),_0x539583[_0x539583[_0x2a4ba5(0x1d7)]=0x3a9c]=_0x2a4ba5(0x1d7),_0x539583[_0x539583[_0x2a4ba5(0xab)]=0x3a9d]=_0x2a4ba5(0xab),_0x539583[_0x539583[_0x2a4ba5(0x298)]=0x3a9e]=_0x2a4ba5(0x298),_0x539583[_0x539583[_0x2a4ba5(0x27a)]=0x3a9f]=_0x2a4ba5(0x27a),_0x539583[_0x539583['DATA_SOURCE_TOO_LARGE']=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x539583[_0x539583[_0x2a4ba5(0x39a)]=-0x1]=_0x2a4ba5(0x39a),_0x539583))(_0xdbd9a9||{});function _0x230673(_0x459e95){const _0x4c01ef=_0x2a4ba5;var _0x113078,_0xfc6454;const _0x473bfa=(_0x113078=_0x459e95['stageInfo'])==null?void 0x0:_0x113078['stage'],_0x1c5634=((_0xfc6454=_0x459e95['stageInfo'])==null?void 0x0:_0xfc6454[_0x4c01ef(0x2fd)])||0x0;return _0x473bfa===_0x41dddf[_0x4c01ef(0x353)]['START_CALCULATION']&&_0x1c5634>0x0;}function _0xf5574c(_0x58ee18){const _0x494f92=_0x2a4ba5;return _0x58ee18[_0x494f92(0x150)]===_0x41dddf[_0x494f92(0x311)][_0x494f92(0x25f)];}var _0x3a59e8=Object[_0x2a4ba5(0x147)],_0x4003ce=(_0x488e49,_0x5d5302,_0x5c402a,_0x589bfd)=>{const _0x3edf8e=_0x2a4ba5;for(var _0x55a684=_0x589bfd>0x1?void 0x0:_0x589bfd?_0x3a59e8(_0x5d5302,_0x5c402a):_0x5d5302,_0xaae03c=_0x488e49[_0x3edf8e(0x123)]-0x1,_0x5d1b12;_0xaae03c>=0x0;_0xaae03c--)(_0x5d1b12=_0x488e49[_0xaae03c])&&(_0x55a684=_0x5d1b12(_0x55a684)||_0x55a684);return _0x55a684;},_0x15e783=(_0x44b9b7,_0xea7499)=>(_0x317775,_0x1b90a9)=>_0xea7499(_0x317775,_0x1b90a9,_0x44b9b7);const _0xa61727=_0x2a4ba5(0xe3),_0x44be6a=_0x2a4ba5(0x1ef),_0x496969=_0x2a4ba5(0x2a2);let _0x3ab3a2=class extends _0x717d91[_0x2a4ba5(0x393)]{constructor(_0x1f76c6,_0x336e80,_0x44a0d2,_0x107546,_0xbfd9bc,_0x2e04fd,_0x280385){const _0x11eff2=_0x2a4ba5;super(),_0x271c55(this,_0x11eff2(0x18f),null),_0x271c55(this,_0x11eff2(0x2d3),0x0),_0x271c55(this,_0x11eff2(0xd7),0x0),_0x271c55(this,_0x11eff2(0x24c),[]),_0x271c55(this,'_lastResponseTimestamp',0x0),(this[_0x11eff2(0x114)]=_0x1f76c6,this[_0x11eff2(0x15e)]=_0x336e80,this['_configService']=_0x44a0d2,this[_0x11eff2(0x29a)]=_0x107546,this[_0x11eff2(0x15c)]=_0xbfd9bc,this['_logService']=_0x2e04fd,this[_0x11eff2(0x26b)]=_0x280385,this[_0x11eff2(0x275)]());}[_0x2a4ba5(0x275)](){const _0x5c2328=_0x2a4ba5;this[_0x5c2328(0x1d4)](this[_0x5c2328(0x15e)][_0x5c2328(0x325)]((_0x196dba,_0x2bf57b)=>{const _0x34b6ee=_0x5c2328;var _0x549552;if(_0x196dba['id']!==_0x41dddf[_0x34b6ee(0x1d5)]['id'])return;const _0x44e768=_0x196dba[_0x34b6ee(0x2af)];if(!this[_0x34b6ee(0x328)]((_0x549552=_0x44e768[_0x34b6ee(0x375)])!=null?_0x549552:[]))return;if(!this[_0x34b6ee(0x1c3)]())throw this[_0x34b6ee(0x2b7)](_0x196dba,_0x2bf57b),this['_showGuardMessage'](),new _0x717d91[(_0x34b6ee(0x398))]();})),this[_0x5c2328(0x1d4)](this[_0x5c2328(0x15e)][_0x5c2328(0x23a)]((_0xfb2741,_0x319857)=>{const _0x27f861=_0x5c2328;if(_0xfb2741['id']!==_0x41dddf[_0x27f861(0x321)]['id'])return;const _0x584854=_0xfb2741[_0x27f861(0x2af)];if(_0x230673(_0x584854)){const _0x6a9db2=_0x717d91['generateRandomId']();this[_0x27f861(0x24c)][_0x27f861(0x2db)](_0x6a9db2),this[_0x27f861(0x104)](_0x6a9db2);}else{if(_0xf5574c(_0x584854)&&this['_taskIds'][_0x27f861(0x123)]>0x0){const _0x31ee8f=this[_0x27f861(0x24c)]['shift']();this['_releaseCalculationLimit'](_0x31ee8f);}}}));}[_0x2a4ba5(0x14a)](){const _0x9226a5=_0x2a4ba5;super[_0x9226a5(0x14a)](),this[_0x9226a5(0x134)](),this['_taskIds']=[],this[_0x9226a5(0xd7)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x9226a5(0x2fb)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x2ec5bd,_0x3ff874){const _0x4f402e=_0x2a4ba5;for(let _0x575d5f=0x0;_0x575d5f<0x1e;_0x575d5f++)try{if(await this[_0x4f402e(0x1be)](),this[_0x4f402e(0x1c3)]()){this['_applyCommand'](_0x2ec5bd,_0x3ff874),this['_messageService']['show']({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x203981[_0x4f402e(0xa7)][_0x4f402e(0x2c2)]});return;}await new Promise(_0x451a17=>{this['_pollingInterval']=window['setTimeout'](_0x451a17,0x3e8);});}catch(_0x4070b9){this['_logService'][_0x4f402e(0x289)](_0x4070b9);}this[_0x4f402e(0x114)][_0x4f402e(0x248)]({'content':this[_0x4f402e(0x26b)]['t'](_0x4f402e(0x109)),'type':_0x203981[_0x4f402e(0xa7)][_0x4f402e(0x135)]});}['_applyCommand'](_0x5cd072,_0x5cd342){const _0x1aaefd=_0x2a4ba5;try{this[_0x1aaefd(0x15e)][_0x1aaefd(0x14c)](_0x5cd072['id'],_0x5cd072[_0x1aaefd(0x2af)],_0x5cd342);}catch(_0x2dcc09){this[_0x1aaefd(0x34a)][_0x1aaefd(0x289)](_0x2dcc09);}}[_0x2a4ba5(0x31b)](_0x53fad1,_0x4b5b02){const _0x15d0ca=_0x2a4ba5;_0x4b5b02<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x4b5b02,this[_0x15d0ca(0x2d3)]=Number[_0x15d0ca(0x29e)](_0x53fad1[_0x15d0ca(0x1ad)]),this[_0x15d0ca(0xd7)]=Number[_0x15d0ca(0x29e)](_0x53fad1[_0x15d0ca(0xb5)]));}async[_0x2a4ba5(0x104)](_0x21879f){const _0xab0aef=_0x2a4ba5;var _0x3d0712,_0x2db186;const _0x2963ec=Date[_0xab0aef(0x17b)]();try{const _0x5519fc=((_0x3d0712=this[_0xab0aef(0x1f0)][_0xab0aef(0x23b)](_0x26bc40['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x3d0712[_0xab0aef(0x129)])||_0x44be6a,_0x3da90f=(await this[_0xab0aef(0x29a)]['post'](_0x5519fc,{'body':JSON[_0xab0aef(0x176)]({'taskId':_0x21879f})}))[_0xab0aef(0x2cd)];if(((_0x2db186=_0x3da90f['error'])==null?void 0x0:_0x2db186[_0xab0aef(0x34e)])!==_0xdbd9a9['OK'])return;this[_0xab0aef(0x31b)](_0x3da90f[_0xab0aef(0xc6)],_0x2963ec);}catch(_0x5f0882){this[_0xab0aef(0x34a)]['error'](_0x5f0882);}}async[_0x2a4ba5(0x1be)](_0x382380){const _0x1671e=_0x2a4ba5;var _0x1fa3c5,_0x312deb;const _0x56da71=Date[_0x1671e(0x17b)]();try{const _0x74c6b4=((_0x1fa3c5=this['_configService'][_0x1671e(0x23b)](_0x26bc40[_0x1671e(0x18d)]))==null?void 0x0:_0x1fa3c5[_0x1671e(0x35a)])||_0xa61727,_0x37d897=_0x382380?_0x74c6b4+_0x1671e(0x29c)+encodeURIComponent(_0x382380):_0x74c6b4,_0x30330a=(await this[_0x1671e(0x29a)]['get'](_0x37d897))['body'];if(((_0x312deb=_0x30330a['error'])==null?void 0x0:_0x312deb[_0x1671e(0x34e)])!==_0xdbd9a9['OK'])return;this[_0x1671e(0x31b)](_0x30330a['limitInfo'],_0x56da71);}catch(_0x386485){this[_0x1671e(0x34a)][_0x1671e(0x289)](_0x386485);}}async[_0x2a4ba5(0x2d9)](_0x22764d){const _0x36723d=_0x2a4ba5;var _0x1135cb,_0x9b9f40;const _0x168399=Date[_0x36723d(0x17b)]();try{const _0x6f9944=((_0x1135cb=this[_0x36723d(0x1f0)][_0x36723d(0x23b)](_0x26bc40['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x1135cb[_0x36723d(0x1b9)])||_0x496969,_0x1015a5=(await this['_httpService'][_0x36723d(0xbb)](_0x6f9944,{'body':JSON[_0x36723d(0x176)]({'taskId':_0x22764d})}))['body'];if(((_0x9b9f40=_0x1015a5[_0x36723d(0x289)])==null?void 0x0:_0x9b9f40[_0x36723d(0x34e)])!==_0xdbd9a9['OK'])return;this[_0x36723d(0x31b)](_0x1015a5['limitInfo'],_0x168399);}catch(_0x6c36a5){this[_0x36723d(0x34a)]['error'](_0x6c36a5);}}[_0x2a4ba5(0x1c3)](){const _0x116fb1=_0x2a4ba5;return this[_0x116fb1(0x2d3)]===0x0?!0x0:this[_0x116fb1(0x2d3)]-this[_0x116fb1(0xd7)]>0x0;}[_0x2a4ba5(0x134)](){const _0x28a310=_0x2a4ba5;this[_0x28a310(0x18f)]&&(clearTimeout(this[_0x28a310(0x18f)]),this[_0x28a310(0x18f)]=null);}['_showGuardMessage'](){const _0x42bb21=_0x2a4ba5;this['_messageService'][_0x42bb21(0x248)]({'content':this['_localeService']['t'](_0x42bb21(0x1e0)),'type':_0x203981['MessageType'][_0x42bb21(0x386)]});}[_0x2a4ba5(0x328)](_0x43d680){const _0x22e5b9=_0x2a4ba5;for(const _0x396598 of _0x43d680){const {unitId:_0x14afe7,sheetId:_0x34888a,range:_0x13ba06}=_0x396598,_0x417539=this[_0x22e5b9(0x15c)]['getUnit'](_0x14afe7);if(!_0x417539)continue;const _0x24e077=_0x417539[_0x22e5b9(0x246)](_0x34888a);if(!_0x24e077)continue;const _0xe6a05b=_0x24e077[_0x22e5b9(0x301)]();for(let _0x376ef0=_0x13ba06[_0x22e5b9(0x27e)];_0x376ef0<=_0x13ba06[_0x22e5b9(0x1af)];_0x376ef0++)for(let _0x8b6668=_0x13ba06['startColumn'];_0x8b6668<=_0x13ba06['endColumn'];_0x8b6668++){const _0x2f9cde=_0xe6a05b[_0x22e5b9(0x21d)](_0x376ef0,_0x8b6668);if(_0x2f9cde&&(_0x717d91['isFormulaString'](_0x2f9cde['f'])||_0x717d91[_0x22e5b9(0x20e)](_0x2f9cde['si'])))return!0x0;}}return!0x1;}};_0x3ab3a2=_0x4003ce([_0x15e783(0x0,_0x717d91[_0x2a4ba5(0x37b)](_0x498b33[_0x2a4ba5(0x119)])),_0x15e783(0x1,_0x717d91[_0x2a4ba5(0x329)]),_0x15e783(0x2,_0x717d91['IConfigService']),_0x15e783(0x3,_0x717d91[_0x2a4ba5(0x37b)](_0x429433[_0x2a4ba5(0x186)])),_0x15e783(0x4,_0x717d91[_0x2a4ba5(0xa9)]),_0x15e783(0x5,_0x717d91[_0x2a4ba5(0x299)]),_0x15e783(0x6,_0x717d91[_0x2a4ba5(0x37b)](_0x717d91['LocaleService']))],_0x3ab3a2);var _0x3f37a7=Object[_0x2a4ba5(0x147)],_0x439585=(_0x742437,_0x10f9c4,_0x1645f7,_0x5f0412)=>{for(var _0x534001=_0x5f0412>0x1?void 0x0:_0x5f0412?_0x3f37a7(_0x10f9c4,_0x1645f7):_0x10f9c4,_0x2c5b20=_0x742437['length']-0x1,_0x317cd9;_0x2c5b20>=0x0;_0x2c5b20--)(_0x317cd9=_0x742437[_0x2c5b20])&&(_0x534001=_0x317cd9(_0x534001)||_0x534001);return _0x534001;},_0x4add5c=(_0x3c5833,_0x3e7dd1)=>(_0xb4b089,_0xff3064)=>_0x3e7dd1(_0xb4b089,_0xff3064,_0x3c5833);let _0x8dc633=class extends _0x717d91[_0x2a4ba5(0x393)]{constructor(_0x2a0ece,_0x385137,_0x1eb3ac){const _0x1e26a2=_0x2a4ba5;super(),_0x271c55(this,_0x1e26a2(0x350),new Map()),_0x271c55(this,'_saveTaskMap',new Map()),_0x271c55(this,_0x1e26a2(0x2d2),!0x1),(this[_0x1e26a2(0x1f0)]=_0x2a0ece,this['_localStorageService']=_0x385137,this['_revisionService']=_0x1eb3ac);}[_0x2a4ba5(0x1d8)](){const _0x64ef4d=_0x2a4ba5;this[_0x64ef4d(0x2d2)]=!0x0;}[_0x2a4ba5(0x3a6)](){const _0x49af74=_0x2a4ba5;this[_0x49af74(0x2d2)]=!0x1;}get['saveTaskMap'](){const _0x14c253=_0x2a4ba5;return this[_0x14c253(0x2fe)];}[_0x2a4ba5(0x14a)](){const _0x1a867a=_0x2a4ba5;this[_0x1a867a(0x1f9)]()[_0x1a867a(0x339)](()=>super[_0x1a867a(0x14a)]());}async[_0x2a4ba5(0x315)](_0x439c8b){const _0x3eb511=_0x2a4ba5;return this[_0x3eb511(0x2d2)]?null:this[_0x3eb511(0x140)]['getItem'](_0x26bc40['getLocalCacheKey'](_0x439c8b));}async['saveOfflineData'](_0x3ce5ce,_0x62f692){const _0x1a17c5=_0x2a4ba5;return!!this[_0x1a17c5(0x140)][_0x1a17c5(0x139)](_0x3ce5ce,_0x62f692);}[_0x2a4ba5(0x2b9)](_0x4e2316,_0x3e6086,_0x41e16d,_0x2fea03){const _0x38c775=_0x2a4ba5,_0x2826cb=this[_0x38c775(0x245)][_0x38c775(0x28a)](_0x4e2316);this['_cachedData'][_0x38c775(0x30e)](_0x4e2316,{'unitID':_0x4e2316,'type':_0x3e6086,'awaitingChangeset':_0x41e16d,'mutations':_0x2fea03,'rev':_0x2826cb}),this[_0x38c775(0x2fe)][_0x38c775(0x250)](_0x4e2316)||this[_0x38c775(0x1b6)](_0x4e2316);}['_scheduleSaving'](_0x306de2){const _0x3805ed=_0x2a4ba5,_0xe20d01=this[_0x3805ed(0x345)]();_0xe20d01===0x0?this['_saveCache'](_0x306de2):this['_saveTaskMap'][_0x3805ed(0x30e)](_0x306de2,setTimeout(()=>this[_0x3805ed(0x2c9)](_0x306de2),_0xe20d01));}['_getSaveTimeout'](){const _0x5db42e=_0x2a4ba5;var _0x1d7b8a;return(_0x1d7b8a=this['_configService']['getConfig'](_0x26bc40[_0x5db42e(0x1f7)]))!=null?_0x1d7b8a:_0x26bc40[_0x5db42e(0x333)];}[_0x2a4ba5(0x2c9)](_0x3c914f){const _0x4f5084=_0x2a4ba5,_0x371c43=this[_0x4f5084(0x2fe)][_0x4f5084(0x2aa)](_0x3c914f);return _0x371c43!==void 0x0&&window[_0x4f5084(0x20b)](_0x371c43),this[_0x4f5084(0x140)][_0x4f5084(0x139)](_0x26bc40[_0x4f5084(0x374)](_0x3c914f),this['_cachedData'][_0x4f5084(0x2aa)](_0x3c914f))[_0x4f5084(0x339)](()=>this['_saveTaskMap'][_0x4f5084(0x2e2)](_0x3c914f));}async[_0x2a4ba5(0x1f9)](){const _0x2e1795=_0x2a4ba5,_0x357e44=[];this[_0x2e1795(0x2fe)][_0x2e1795(0xc4)]((_0x2279f6,_0x27c98c)=>{const _0x2bf1ca=_0x2e1795;window[_0x2bf1ca(0x20b)](_0x2279f6),_0x357e44['push'](this[_0x2bf1ca(0x2c9)](_0x27c98c)[_0x2bf1ca(0x339)](()=>{const _0x1ac817=_0x2bf1ca;this[_0x1ac817(0x2fe)][_0x1ac817(0x2e2)](_0x27c98c);}));}),await Promise[_0x2e1795(0x19c)](_0x357e44);}};_0x8dc633=_0x439585([_0x4add5c(0x0,_0x717d91['IConfigService']),_0x4add5c(0x1,_0x717d91['ILocalStorageService']),_0x4add5c(0x2,_0x717d91['Inject'](_0xdf7641[_0x2a4ba5(0x364)]))],_0x8dc633);class _0x326a84 extends _0x717d91[_0x2a4ba5(0x1f4)]{constructor(){const _0x2646bd=_0x2a4ba5;super(),_0x271c55(this,_0x2646bd(0x36e)),this[_0x2646bd(0x36e)]=_0x170cda[_0x2646bd(0x355)](window,_0x2646bd(0x354))['pipe'](_0x170cda[_0x2646bd(0x2b0)](this[_0x2646bd(0x2c4)]),_0x170cda[_0x2646bd(0x320)](0x1),_0x170cda['mapTo'](void 0x0));}[_0x2a4ba5(0x125)](_0x40e08a,_0x5e5795,_0x112988=!0x1){const _0x27e82f=_0x2a4ba5,_0x800dc7=new URL(window[_0x27e82f(0x1b1)][_0x27e82f(0xa5)]);_0x800dc7[_0x27e82f(0x387)][_0x27e82f(0x30e)](_0x40e08a,_0x5e5795),_0x112988?window['history'][_0x27e82f(0x1f6)]('','',_0x800dc7['toString']()):window[_0x27e82f(0x39e)][_0x27e82f(0xc2)]('','',_0x800dc7['toString']());}[_0x2a4ba5(0x1c0)](_0x398038,_0x2324e8=!0x1){const _0x2b7ebb=_0x2a4ba5,_0x348244=new URL(window[_0x2b7ebb(0x1b1)][_0x2b7ebb(0xa5)]);_0x348244['searchParams'][_0x2b7ebb(0x2e2)](_0x398038),_0x2324e8?window[_0x2b7ebb(0x39e)][_0x2b7ebb(0x1f6)]('','',_0x348244[_0x2b7ebb(0x2ec)]()):window[_0x2b7ebb(0x39e)][_0x2b7ebb(0xc2)]('','',_0x348244[_0x2b7ebb(0x2ec)]());}[_0x2a4ba5(0x157)](_0x87f489){const _0x172834=_0x2a4ba5;var _0x471659;return(_0x471659=new URL(window[_0x172834(0x1b1)][_0x172834(0xa5)])[_0x172834(0x387)][_0x172834(0x2aa)](_0x87f489))!=null?_0x471659:void 0x0;}}var _0xdd2c4d=Object[_0x2a4ba5(0x1cf)],_0x41f14c=Object['getOwnPropertyDescriptor'],_0x71dcdd=(_0x1d3d6f,_0x823981,_0x1e0ade)=>_0x823981 in _0x1d3d6f?_0xdd2c4d(_0x1d3d6f,_0x823981,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e0ade}):_0x1d3d6f[_0x823981]=_0x1e0ade,_0x480f0e=(_0x67aca7,_0x5c0780,_0x2ab59a,_0x8278da)=>{const _0x2b8cce=_0x2a4ba5;for(var _0x59b696=_0x8278da>0x1?void 0x0:_0x8278da?_0x41f14c(_0x5c0780,_0x2ab59a):_0x5c0780,_0x2d77e0=_0x67aca7[_0x2b8cce(0x123)]-0x1,_0x82aed1;_0x2d77e0>=0x0;_0x2d77e0--)(_0x82aed1=_0x67aca7[_0x2d77e0])&&(_0x59b696=_0x82aed1(_0x59b696)||_0x59b696);return _0x59b696;},_0x277ca1=(_0x93294e,_0xff7333)=>(_0x11bbbb,_0x1637ee)=>_0xff7333(_0x11bbbb,_0x1637ee,_0x93294e),_0x4cd5bd=(_0x459771,_0x53fce3,_0x5bf69e)=>_0x71dcdd(_0x459771,_0x53fce3+'',_0x5bf69e);const _0x266299=_0x2a4ba5(0x190);_0x487266['UniverCollaborationClientUIPlugin']=class extends _0x717d91['Plugin']{constructor(_0x1cf872=_0x38a58d,_0x37f074,_0x1e4a80,_0x140199){const _0x104794=_0x2a4ba5;super(),this[_0x104794(0x33d)]=_0x1cf872,this[_0x104794(0x17e)]=_0x37f074,this[_0x104794(0x265)]=_0x1e4a80,this['_configService']=_0x140199;const {..._0x26b913}=_0x717d91[_0x104794(0x132)]({},_0x38a58d,this['_config']);this[_0x104794(0x1f0)][_0x104794(0x1b5)](_0x5b3c14,_0x26b913);}[_0x2a4ba5(0x130)](){const _0x3ad789=_0x2a4ba5;this['_registerDependencies'](),this[_0x3ad789(0x1a8)]();}[_0x2a4ba5(0x187)](){this['_registerRenderDependencies']();}[_0x2a4ba5(0x36f)](){const _0x294e56=_0x2a4ba5;var _0x154368;const _0x2806b0=[[_0x170667],[_0x3ab3a2],[_0x32cc87],[_0x2ce0f2],[_0xd02882],[_0x531ef2],[_0x8c03a2,{'useClass':_0x326a84}],[_0x429433[_0x294e56(0x208)],{'useClass':_0x429433[_0x294e56(0x1c6)]}],[_0x26bc40['ILocalCacheService'],{'useClass':_0x8dc633}],[_0x487266['DesktopCollaborationStatusDisplayController']],[_0x2f987a],[_0x1af25f],[_0xfbad1b],[_0x4fa738],[_0x487266['CollaborationDataLoaderController']]];this[_0x294e56(0x33d)][_0x294e56(0x267)]&&_0x2806b0[_0x294e56(0x2db)]([_0x5625b4]),_0x717d91[_0x294e56(0x396)](this[_0x294e56(0x265)],_0x717d91['mergeOverrideWithDependencies'](_0x2806b0,(_0x154368=this[_0x294e56(0x33d)])==null?void 0x0:_0x154368[_0x294e56(0x372)]));}[_0x2a4ba5(0x2e6)](){const _0x5c9585=_0x2a4ba5;this[_0x5c9585(0x1d4)](this['_renderManagerService']['registerRenderModule'](_0x717d91[_0x5c9585(0x2bf)][_0x5c9585(0x2fc)],[_0x564a2a])),this[_0x5c9585(0x1d4)](this[_0x5c9585(0x17e)][_0x5c9585(0x285)](_0x717d91[_0x5c9585(0x2bf)][_0x5c9585(0x137)],[_0x35d8f7]));}[_0x2a4ba5(0x1a8)](){const _0x51d838=_0x2a4ba5;_0x717d91['touchDependencies'](this[_0x51d838(0x265)],[[_0xfbad1b],[_0x487266[_0x51d838(0x38b)]],[_0x2f987a],[_0x1af25f],[_0x487266[_0x51d838(0x169)]],[_0x3ab3a2]]),this[_0x51d838(0x33d)][_0x51d838(0x267)]&&_0x717d91[_0x51d838(0x33c)](this[_0x51d838(0x265)],[[_0x5625b4]]);}},_0x4cd5bd(_0x487266[_0x2a4ba5(0x29b)],_0x2a4ba5(0x103),_0x266299),_0x487266[_0x2a4ba5(0x29b)]=_0x480f0e([_0x717d91[_0x2a4ba5(0x237)](_0x26bc40[_0x2a4ba5(0x341)]),_0x277ca1(0x1,_0x4a1571[_0x2a4ba5(0x1e3)]),_0x277ca1(0x2,_0x717d91[_0x2a4ba5(0x37b)](_0x717d91[_0x2a4ba5(0x32d)])),_0x277ca1(0x3,_0x717d91['IConfigService'])],_0x487266[_0x2a4ba5(0x29b)]);var _0x3809a2=Object[_0x2a4ba5(0x147)],_0x24bb5e=(_0x57d9d8,_0x5c0341,_0x2ecd58,_0x30b045)=>{const _0x40cd64=_0x2a4ba5;for(var _0x20a683=_0x30b045>0x1?void 0x0:_0x30b045?_0x3809a2(_0x5c0341,_0x2ecd58):_0x5c0341,_0x3a6ee8=_0x57d9d8[_0x40cd64(0x123)]-0x1,_0x39f7aa;_0x3a6ee8>=0x0;_0x3a6ee8--)(_0x39f7aa=_0x57d9d8[_0x3a6ee8])&&(_0x20a683=_0x39f7aa(_0x20a683)||_0x20a683);return _0x20a683;},_0x13e3aa=(_0x1bfe90,_0x39ca1c)=>(_0xe35a34,_0x1f23ee)=>_0x39ca1c(_0xe35a34,_0x1f23ee,_0x1bfe90);_0x487266[_0x2a4ba5(0x120)]=class extends _0x26bc40[_0x2a4ba5(0x1cc)]{constructor(_0x30c623,_0x5ed851,_0x4b9fca,_0x5a4451,_0x58d737){super(_0x30c623,_0x5ed851,_0x4b9fca,_0x5a4451,_0x58d737);}async[_0x2a4ba5(0x219)](_0x85d4ae){const _0x1fc404=_0x2a4ba5,_0x495968=await this[_0x1fc404(0x210)](),_0x228123=this['_createSocketURL'](_0x85d4ae,_0x495968);return this['_doCreateSocket'](_0x228123);}[_0x2a4ba5(0x221)](_0x1e36c7,_0x24656c){const _0x3355a8=_0x2a4ba5,_0x2968d2=typeof window>'u'?new URL(_0x1e36c7):new URL(_0x1e36c7,window['location']['origin']);_0x2968d2[_0x3355a8(0x387)][_0x3355a8(0x30e)](_0x3355a8(0x214),_0x24656c);const _0x4c3ee9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x3355a8(0x2ba)]);return _0x4c3ee9['get'](_0x3355a8(0x308))&&_0x2968d2[_0x3355a8(0x387)]['set']('runId',_0x4c3ee9[_0x3355a8(0x2aa)]('runId')),_0x2968d2['toString']();}async['_getSessionTicket'](){const _0x47922a=_0x2a4ba5;var _0x8aeb07,_0x147d1e,_0x5943ce;const _0x4e590d=this[_0x47922a(0x1f0)][_0x47922a(0x23b)](_0x26bc40['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x2f23b6=(_0x8aeb07=_0x4e590d==null?void 0x0:_0x4e590d[_0x47922a(0x215)])!=null?_0x8aeb07:_0x26bc40[_0x47922a(0x30a)];return(_0x5943ce=(_0x147d1e=(await this['_httpService'][_0x47922a(0x2aa)](_0x2f23b6,{'headers':{'Content-Type':'application/json'}}))[_0x47922a(0x2cd)])==null?void 0x0:_0x147d1e[_0x47922a(0xb1)])!=null?_0x5943ce:'';}},_0x487266['BrowserCollaborationSocketService']=_0x24bb5e([_0x13e3aa(0x0,_0x717d91['Inject'](_0x717d91[_0x2a4ba5(0x32d)])),_0x13e3aa(0x1,_0x717d91['Inject'](_0x429433[_0x2a4ba5(0x186)])),_0x13e3aa(0x2,_0x717d91['IConfigService']),_0x13e3aa(0x3,_0x717d91[_0x2a4ba5(0x299)]),_0x13e3aa(0x4,_0xdf7641[_0x2a4ba5(0x247)])],_0x487266[_0x2a4ba5(0x120)]);var _0x3ce548=Object[_0x2a4ba5(0x147)],_0x577caa=(_0x5ac627,_0x424a6b,_0x2e26fe,_0x25a58e)=>{const _0x327a7e=_0x2a4ba5;for(var _0x330e99=_0x25a58e>0x1?void 0x0:_0x25a58e?_0x3ce548(_0x424a6b,_0x2e26fe):_0x424a6b,_0x433f65=_0x5ac627[_0x327a7e(0x123)]-0x1,_0x482190;_0x433f65>=0x0;_0x433f65--)(_0x482190=_0x5ac627[_0x433f65])&&(_0x330e99=_0x482190(_0x330e99)||_0x330e99);return _0x330e99;},_0x467673=(_0x10eee7,_0x201bec)=>(_0x4ac385,_0x43bfb5)=>_0x201bec(_0x4ac385,_0x43bfb5,_0x10eee7);_0x487266['RemoteUniscriptService']=class extends _0x717d91[_0x2a4ba5(0x393)]{constructor(_0x46d5c2,_0x35073c,_0x58c997){const _0x10bd43=_0x2a4ba5;super(),this[_0x10bd43(0x2eb)]=_0x46d5c2,this[_0x10bd43(0x29a)]=_0x35073c,this[_0x10bd43(0x1f0)]=_0x58c997;}async[_0x2a4ba5(0x36d)](_0x4be77c,_0x45f2a2,_0x3f38c0,..._0xa4306b){const _0x215b7b=_0x2a4ba5;var _0x24e99c,_0x22c598,_0x534d46,_0x433d1d;const _0x129686=this['_instanceService'][_0x215b7b(0x2f9)]();if(!_0x129686)throw new Error(_0x215b7b(0xd8));const _0x2c9116=((_0x24e99c=this[_0x215b7b(0x1f0)]['getConfig'](_0x26bc40[_0x215b7b(0x272)]))!=null?_0x24e99c:_0x26bc40[_0x215b7b(0x358)])+'/'+_0x4be77c+_0x215b7b(0x2e4)+_0x45f2a2,_0x1c04d6=new URL(window[_0x215b7b(0x1b1)][_0x215b7b(0xa5)]),_0x4d96b4={'scriptId':_0x4be77c,'runId':(_0x22c598=_0x1c04d6[_0x215b7b(0x387)][_0x215b7b(0x2aa)]('runId'))!=null?_0x22c598:'','function':_0x45f2a2,'unitId':_0x129686[_0x215b7b(0x2c3)](),'argsOfFunction':JSON['stringify'](_0xa4306b),'invokeId':(_0x534d46=_0x3f38c0[_0x215b7b(0x365)])!=null?_0x534d46:'','executionId':(_0x433d1d=_0x3f38c0[_0x215b7b(0xe2)])!=null?_0x433d1d:''};try{const _0x4109c9=await this[_0x215b7b(0x29a)][_0x215b7b(0xbb)](_0x2c9116,{'body':_0x4d96b4});return _0x4109c9[_0x215b7b(0x2cd)]['error']&&_0x4109c9[_0x215b7b(0x2cd)][_0x215b7b(0x289)][_0x215b7b(0x34e)]!==_0xdbd9a9['OK']?_0x215b7b(0x235):_0x4109c9[_0x215b7b(0x2cd)][_0x215b7b(0x257)];}catch{return'Failed';}}},_0x487266[_0x2a4ba5(0x143)]=_0x577caa([_0x467673(0x0,_0x717d91['IUniverInstanceService']),_0x467673(0x1,_0x717d91[_0x2a4ba5(0x37b)](_0x429433[_0x2a4ba5(0x186)])),_0x467673(0x2,_0x717d91[_0x2a4ba5(0xad)])],_0x487266['RemoteUniscriptService']);const _0x5c6335=0x7530,_0x5d9315=_0x2a4ba5(0x342);class _0x2e07cd extends _0x717d91['Disposable']{constructor(){const _0x54ed6e=_0x2a4ba5;super(),_0x271c55(this,'_id',_0x717d91[_0x54ed6e(0x31c)]()),_0x271c55(this,_0x54ed6e(0x1d6),new Set()),_0x271c55(this,'_unitOnClients',new Map()),_0x271c55(this,_0x54ed6e(0x351),null),_0x271c55(this,_0x54ed6e(0xb4),new Map()),_0x271c55(this,'_unitStatus',new Map()),this[_0x54ed6e(0xd5)]();}[_0x2a4ba5(0x14a)](){const _0x37b2cb=_0x2a4ba5;super[_0x37b2cb(0x14a)](),this[_0x37b2cb(0xb4)][_0x37b2cb(0xc4)]((_0x533f3f,_0x14d46c)=>this['_removeClearOtherTimer'](_0x14d46c)),this[_0x37b2cb(0x351)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x2a4ba5(0x25b)](_0x515011){const _0x139c39=_0x2a4ba5;return this[_0x139c39(0xaa)](_0x515011)[_0x139c39(0xda)](_0x170cda['distinctUntilChanged']());}[_0x2a4ba5(0x205)](_0x177ccf){const _0x423812=_0x2a4ba5;this[_0x423812(0x1d6)][_0x423812(0x13e)]===0x0&&this[_0x423812(0x212)](),this[_0x423812(0x1d6)][_0x423812(0x293)](_0x177ccf),this[_0x423812(0xd9)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x177ccf],'isForwarded':!0x1});}[_0x2a4ba5(0x2c6)](_0x59e5b7){const _0x3b909d=_0x2a4ba5;this[_0x3b909d(0x1d6)][_0x3b909d(0x2e2)](_0x59e5b7),this['_selfUnitIDs'][_0x3b909d(0x13e)]===0x0&&this[_0x3b909d(0x351)]&&window['clearInterval'](this[_0x3b909d(0x351)]);}[_0x2a4ba5(0xd5)](){const _0x3ab9d3=_0x2a4ba5;this[_0x3ab9d3(0x1d4)](_0x717d91[_0x3ab9d3(0x17a)](_0x170cda[_0x3ab9d3(0x355)](window,_0x3ab9d3(0x1bc))[_0x3ab9d3(0xbf)](_0x223fa4=>{const _0x4534eb=_0x3ab9d3;if(_0x223fa4[_0x4534eb(0x2bb)]!==_0x5d9315||!_0x223fa4[_0x4534eb(0x313)])return;const _0x394cbc=JSON[_0x4534eb(0x32f)](_0x223fa4['newValue']);this[_0x4534eb(0x12d)](_0x394cbc);}))),window[_0x3ab9d3(0x24b)](_0x3ab9d3(0x18c),()=>this[_0x3ab9d3(0xd9)]({'type':0x1,'memberID':this[_0x3ab9d3(0x2f6)],'unitIDs':Array[_0x3ab9d3(0x15a)](this[_0x3ab9d3(0x1d6)])}));}[_0x2a4ba5(0x12d)](_0x440f09){const _0x3d4502=_0x2a4ba5;switch(_0x440f09[_0x3d4502(0x13b)]){case 0x0:this[_0x3d4502(0x2ee)](_0x440f09);break;case 0x1:this['_handleLeaveEvent'](_0x440f09);break;case 0x2:this[_0x3d4502(0x178)](_0x440f09);break;}}['_handleJoinEvent'](_0x4e4a16){const _0x46bf05=_0x2a4ba5,{unitIDs:_0x476a10,memberID:_0x2b9f7f,isForwarded:_0x17cb87}=_0x4e4a16;_0x476a10[_0x46bf05(0xc4)](_0xc4ec12=>{const _0x59853f=_0x46bf05;if(!_0x17cb87&&this[_0x59853f(0xfa)][_0x59853f(0x250)](_0xc4ec12)&&this[_0x59853f(0xaa)](_0xc4ec12)[_0x59853f(0x27b)](_0x26bc40[_0x59853f(0x1a1)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x59853f(0x250)](_0xc4ec12)||!this[_0x59853f(0xfa)][_0x59853f(0x2aa)](_0xc4ec12)[_0x59853f(0x250)](_0x2b9f7f)){const _0x22f819=this[_0x59853f(0xfa)][_0x59853f(0x2aa)](_0xc4ec12)||new Set();_0x22f819[_0x59853f(0x293)](_0x2b9f7f),this['_unitOnClients'][_0x59853f(0x30e)](_0xc4ec12,_0x22f819),this[_0x59853f(0x38d)](_0x2b9f7f);}}),_0x17cb87||this[_0x46bf05(0xd9)]({'type':0x0,'memberID':this[_0x46bf05(0x2f6)],'unitIDs':[...this[_0x46bf05(0x1d6)]],'isForwarded':!0x0});}[_0x2a4ba5(0x38d)](_0x29b864){const _0x3856af=_0x2a4ba5;this['_removeClearOtherTimer'](_0x29b864);const _0x78f081=window['setTimeout'](()=>{const _0x397f81=_0x20af;this[_0x397f81(0xfa)][_0x397f81(0xc4)](_0x59bc63=>{const _0x27fda0=_0x397f81;_0x59bc63[_0x27fda0(0x2e2)](_0x29b864);});},_0x5c6335*0x2);this['_clearOtherTimers'][_0x3856af(0x30e)](_0x29b864,_0x78f081);}[_0x2a4ba5(0x1bd)](_0xbcc9a4){const _0x463472=_0x2a4ba5;if(this[_0x463472(0xb4)][_0x463472(0x250)](_0xbcc9a4)){const _0x1da28d=this[_0x463472(0xb4)][_0x463472(0x2aa)](_0xbcc9a4);_0x1da28d&&window[_0x463472(0x20b)](_0x1da28d),this[_0x463472(0xb4)][_0x463472(0x30e)](_0xbcc9a4,null);}}['_handleLeaveEvent'](_0x58327d){const _0xa5f251=_0x2a4ba5,{memberID:_0x5191ef,unitIDs:_0xb9c681}=_0x58327d;_0xb9c681[_0xa5f251(0xc4)](_0x547a47=>{const _0x2952d3=_0xa5f251;var _0x3bbd5b;const _0x534aac=this[_0x2952d3(0xfa)][_0x2952d3(0x2aa)](_0x547a47);_0x534aac&&(_0x534aac[_0x2952d3(0x2e2)](_0x5191ef),(_0x3bbd5b=this['_ensureSubject'](_0x547a47))==null||_0x3bbd5b[_0x2952d3(0x27b)](_0x534aac[_0x2952d3(0x13e)]===0x0?_0x26bc40[_0x2952d3(0x1a1)][_0x2952d3(0x2fa)]:_0x26bc40[_0x2952d3(0x1a1)][_0x2952d3(0x10f)]));}),this[_0xa5f251(0x1bd)](_0x5191ef);}[_0x2a4ba5(0x178)](_0x288569){const _0x3afff1=_0x2a4ba5;this[_0x3afff1(0x38d)](_0x288569[_0x3afff1(0x14f)]);}[_0x2a4ba5(0xd9)](_0x1b64f1){const _0x435bad=_0x2a4ba5;localStorage[_0x435bad(0x139)](_0x5d9315,JSON[_0x435bad(0x176)](_0x1b64f1));}[_0x2a4ba5(0x212)](){const _0x44ac99=_0x2a4ba5;this[_0x44ac99(0x351)]=window[_0x44ac99(0x136)](()=>{const _0x31b3f5=_0x44ac99;this[_0x31b3f5(0xd9)]({'type':0x2,'memberID':this[_0x31b3f5(0x2f6)]});},_0x5c6335);}[_0x2a4ba5(0xaa)](_0xf60318){const _0x512231=_0x2a4ba5;return this[_0x512231(0x271)][_0x512231(0x250)](_0xf60318)||this[_0x512231(0x271)][_0x512231(0x30e)](_0xf60318,new _0x170cda[(_0x512231(0x2a4))](_0x26bc40[_0x512231(0x1a1)][_0x512231(0x2fa)])),this[_0x512231(0x271)][_0x512231(0x2aa)](_0xf60318);}}_0x487266[_0x2a4ba5(0x295)]=_0x8c03a2,_0x487266[_0x2a4ba5(0xb7)]=_0x1a2356,_0x487266[_0x2a4ba5(0x2b4)]=_0x2e07cd,_0x487266[_0x2a4ba5(0x22d)]=_0x326a84,Object[_0x2a4ba5(0x1cf)](_0x487266,Symbol[_0x2a4ba5(0x1bb)],{'value':'Module'});}));
|
|
1
|
+
function _0x5833(_0x30586c,_0x4f2611){_0x30586c=_0x30586c-0x108;const _0x520a0e=_0x520a();let _0x583330=_0x520a0e[_0x30586c];return _0x583330;}(function(_0x32d6af,_0xa905a5){const _0x3e765c=_0x5833,_0x58f836=_0x32d6af();while(!![]){try{const _0x2ea93c=-parseInt(_0x3e765c(0x263))/0x1+-parseInt(_0x3e765c(0x17e))/0x2*(-parseInt(_0x3e765c(0x145))/0x3)+parseInt(_0x3e765c(0x1b1))/0x4+parseInt(_0x3e765c(0x278))/0x5*(parseInt(_0x3e765c(0x1fd))/0x6)+-parseInt(_0x3e765c(0x1d1))/0x7+parseInt(_0x3e765c(0x1d5))/0x8*(parseInt(_0x3e765c(0x285))/0x9)+-parseInt(_0x3e765c(0x186))/0xa*(-parseInt(_0x3e765c(0x2b2))/0xb);if(_0x2ea93c===_0xa905a5)break;else _0x58f836['push'](_0x58f836['shift']());}catch(_0x357fe7){_0x58f836['push'](_0x58f836['shift']());}}}(_0x520a,0x44a60),function(_0x5dcd53,_0x304d5c){const _0x10e2d8=_0x5833;typeof exports==_0x10e2d8(0x372)&&typeof module<'u'?_0x304d5c(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==_0x10e2d8(0x1b0)&&define[_0x10e2d8(0x3f1)]?define([_0x10e2d8(0x30e),_0x10e2d8(0x3b3),_0x10e2d8(0x135),'@univerjs/core','@univerjs/ui',_0x10e2d8(0x374),_0x10e2d8(0x3e6),_0x10e2d8(0x15f),'@univerjs/rpc',_0x10e2d8(0x3eb),'@univerjs/engine-render','@univerjs/network','@univerjs/docs-ui',_0x10e2d8(0x12d),'@univerjs-pro/collaboration',_0x10e2d8(0x2ef),_0x10e2d8(0x21d),'rxjs/operators',_0x10e2d8(0x323)],_0x304d5c):(_0x5dcd53=typeof globalThis<'u'?globalThis:_0x5dcd53||self,_0x304d5c(_0x5dcd53[_0x10e2d8(0x326)]={},_0x5dcd53[_0x10e2d8(0x2b9)],_0x5dcd53[_0x10e2d8(0x266)],_0x5dcd53[_0x10e2d8(0x2a5)],_0x5dcd53[_0x10e2d8(0x34a)],_0x5dcd53[_0x10e2d8(0x374)],_0x5dcd53[_0x10e2d8(0x1ed)],_0x5dcd53['React'],_0x5dcd53['UniverRpc'],_0x5dcd53[_0x10e2d8(0x3a6)],_0x5dcd53[_0x10e2d8(0x2b7)],_0x5dcd53['UniverNetwork'],_0x5dcd53[_0x10e2d8(0x311)],_0x5dcd53[_0x10e2d8(0x193)],_0x5dcd53[_0x10e2d8(0x15a)],_0x5dcd53[_0x10e2d8(0x232)],_0x5dcd53[_0x10e2d8(0x29e)],_0x5dcd53[_0x10e2d8(0x374)][_0x10e2d8(0x3ed)],_0x5dcd53[_0x10e2d8(0x268)]));}(this,function(_0x23f96a,_0x56f8e0,_0x40f345,_0x99a487,_0x3ebdd3,_0xf18ada,_0xdfb808,_0x24e254,_0x52bf9f,_0x1e6c76,_0x4b6de8,_0xb43dfb,_0x2afbb3,_0xba1fc8,_0x1d0b4f,_0x2d04b0,_0x7369e4,_0x4f8855,_0x31a5a7){'use strict';const _0x42caba=_0x5833;var _0x76e751=Object[_0x42caba(0x321)],_0x5c1d79=(_0x14a026,_0x188201,_0x37532d)=>_0x188201 in _0x14a026?_0x76e751(_0x14a026,_0x188201,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x37532d}):_0x14a026[_0x188201]=_0x37532d,_0x450946=(_0x5079ec,_0x33855f,_0x3e107e)=>_0x5c1d79(_0x5079ec,typeof _0x33855f!=_0x42caba(0x180)?_0x33855f+'':_0x33855f,_0x3e107e);function _0x365323({ref:_0x5d0263,..._0xf2ddfa}){const _0x4c692c=_0x42caba,{icon:_0x398384,id:_0x25cc43,className:_0x380a80,extend:_0x31702c,..._0x347032}=_0xf2ddfa,_0x4aed5e=(_0x4c692c(0x132)+_0x25cc43+'\x20'+(_0x380a80||''))[_0x4c692c(0x3cb)](),_0x5bdd7c=_0x24e254[_0x4c692c(0x246)]('_'+_0xcd1b20());return _0x377bf1(_0x398384,''+_0x25cc43,{'defIds':_0x398384[_0x4c692c(0x144)],'idSuffix':_0x5bdd7c[_0x4c692c(0x14d)]},{'ref':_0x5d0263,'className':_0x4aed5e,..._0x347032},_0x31702c);}function _0x377bf1(_0x5bbd0a,_0x18bd69,_0x121ffc,_0x34bf7e,_0x29b21f){const _0x32709a=_0x42caba;return _0x24e254[_0x32709a(0x229)](_0x5bbd0a[_0x32709a(0x1a6)],{'key':_0x18bd69,..._0x309c26(_0x5bbd0a,_0x121ffc,_0x29b21f),..._0x34bf7e},(_0x473eb8(_0x5bbd0a,_0x121ffc)[_0x32709a(0x131)]||[])['map']((_0xa9fe4c,_0x5b10dd)=>_0x377bf1(_0xa9fe4c,_0x18bd69+'-'+_0x5bbd0a['tag']+'-'+_0x5b10dd,_0x121ffc,void 0x0,_0x29b21f)));}function _0x309c26(_0x4dfc77,_0x4f4197,_0x4e177e){const _0x4b1e24=_0x42caba,_0x5b7bad={..._0x4dfc77[_0x4b1e24(0x1ab)]};_0x4e177e!=null&&_0x4e177e['colorChannel1']&&_0x5b7bad['fill']===_0x4b1e24(0x2fb)&&(_0x5b7bad[_0x4b1e24(0x1bb)]=_0x4e177e[_0x4b1e24(0x2fb)]),_0x4dfc77[_0x4b1e24(0x1a6)]===_0x4b1e24(0x31c)&&_0x5b7bad['id']&&(_0x5b7bad['id']=_0x5b7bad['id']+_0x4f4197[_0x4b1e24(0x2a1)]),Object[_0x4b1e24(0x1cf)](_0x5b7bad)[_0x4b1e24(0x2e5)](([_0x27ea69,_0x1ef1c6])=>{const _0x34c40d=_0x4b1e24;_0x27ea69===_0x34c40d(0x31c)&&typeof _0x1ef1c6=='string'&&(_0x5b7bad[_0x27ea69]=_0x1ef1c6['replace'](/url\(#(.*)\)/,_0x34c40d(0x3be)+_0x4f4197['idSuffix']+')'));});const {defIds:_0xb0934c}=_0x4f4197;return!_0xb0934c||_0xb0934c[_0x4b1e24(0x1f4)]===0x0||(_0x4dfc77['tag']==='use'&&_0x5b7bad[_0x4b1e24(0x158)]&&(_0x5b7bad[_0x4b1e24(0x158)]=_0x5b7bad[_0x4b1e24(0x158)]+_0x4f4197[_0x4b1e24(0x2a1)]),Object[_0x4b1e24(0x1cf)](_0x5b7bad)[_0x4b1e24(0x2e5)](([_0x25f6f5,_0x68f30b])=>{const _0x4b0f65=_0x4b1e24;typeof _0x68f30b==_0x4b0f65(0x307)&&(_0x5b7bad[_0x25f6f5]=_0x68f30b[_0x4b0f65(0x190)](/url\(#(.*)\)/,_0x4b0f65(0x3be)+_0x4f4197[_0x4b0f65(0x2a1)]+')'));})),_0x5b7bad;}function _0x473eb8(_0x4a2a88,_0x3169bf){const _0x3079d0=_0x42caba;var _0x166be8;const {defIds:_0x4e7ea7}=_0x3169bf;return!_0x4e7ea7||_0x4e7ea7[_0x3079d0(0x1f4)]===0x0?_0x4a2a88:_0x4a2a88['tag']===_0x3079d0(0x365)&&((_0x166be8=_0x4a2a88[_0x3079d0(0x131)])!=null&&_0x166be8[_0x3079d0(0x1f4)])?{..._0x4a2a88,'children':_0x4a2a88[_0x3079d0(0x131)][_0x3079d0(0x139)](_0x2a248d=>typeof _0x2a248d['attrs']['id']==_0x3079d0(0x307)&&_0x4e7ea7&&_0x4e7ea7[_0x3079d0(0x2f0)](_0x2a248d[_0x3079d0(0x1ab)]['id'])?{..._0x2a248d,'attrs':{..._0x2a248d[_0x3079d0(0x1ab)],'id':_0x2a248d[_0x3079d0(0x1ab)]['id']+_0x3169bf[_0x3079d0(0x2a1)]}}:_0x2a248d)}:_0x4a2a88;}function _0xcd1b20(){const _0x45bb83=_0x42caba;return Math[_0x45bb83(0x147)]()[_0x45bb83(0x2df)](0x24)['substring'](0x2,0x8);}_0x365323['displayName']=_0x42caba(0x3d1);const _0x44f037={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x42caba(0x14b),'viewBox':_0x42caba(0x3ce),'width':_0x42caba(0x31f),'height':_0x42caba(0x31f)},'children':[{'tag':'g','attrs':{'clipPath':_0x42caba(0x3df)},'children':[{'tag':_0x42caba(0x2a9),'attrs':{'stroke':_0x42caba(0x34c),'d':_0x42caba(0x142),'strokeLinecap':'round','strokeLinejoin':_0x42caba(0x281),'strokeWidth':1.2}}]},{'tag':_0x42caba(0x365),'attrs':{},'children':[{'tag':_0x42caba(0x396),'attrs':{'id':_0x42caba(0x24b)},'children':[{'tag':'path','attrs':{'fill':_0x42caba(0x23b),'d':_0x42caba(0x143)}}]}]}],'defIds':[_0x42caba(0x24b)]},_0x34401d=_0x24e254[_0x42caba(0x181)](function(_0x2ad812,_0x32d614){const _0x1b3bb8=_0x42caba;return _0x24e254[_0x1b3bb8(0x229)](_0x365323,Object[_0x1b3bb8(0x1c5)]({},_0x2ad812,{'id':'off-line-icon','ref':_0x32d614,'icon':_0x44f037}));});_0x34401d[_0x42caba(0x13f)]=_0x42caba(0x148);const _0x3716d6={'tag':_0x42caba(0x13a),'attrs':{'xmlns':_0x42caba(0x174),'fill':_0x42caba(0x14b),'viewBox':_0x42caba(0x1d9),'width':_0x42caba(0x31f),'height':_0x42caba(0x31f)},'children':[{'tag':'g','attrs':{'clipPath':_0x42caba(0x23d)},'children':[{'tag':'path','attrs':{'stroke':_0x42caba(0x34c),'d':_0x42caba(0x2b0),'strokeLinecap':_0x42caba(0x281),'strokeLinejoin':_0x42caba(0x281),'strokeWidth':1.2}}]},{'tag':_0x42caba(0x365),'attrs':{},'children':[{'tag':_0x42caba(0x396),'attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x42caba(0x2a9),'attrs':{'fill':_0x42caba(0x23b),'d':_0x42caba(0x143),'transform':'translate(.97)'}}]}]}],'defIds':[_0x42caba(0x357)]},_0x2998c0=_0x24e254[_0x42caba(0x181)](function(_0x382e47,_0x1a7bd7){const _0x5ad4ce=_0x42caba;return _0x24e254[_0x5ad4ce(0x229)](_0x365323,Object['assign']({},_0x382e47,{'id':_0x5ad4ce(0x157),'ref':_0x1a7bd7,'icon':_0x3716d6}));});_0x2998c0[_0x42caba(0x13f)]='OnLineIcon';function _0x21667f(_0x359917){const _0x25f0c2=_0x42caba;switch(_0x359917){case _0x40f345['CollaborationStatus']['OFFLINE']:return _0x25f0c2(0x2a4);case _0x40f345[_0x25f0c2(0x3cf)][_0x25f0c2(0x24a)]:return _0x25f0c2(0x2a8);case _0x40f345[_0x25f0c2(0x3cf)][_0x25f0c2(0x235)]:return _0x25f0c2(0x3ba);case _0x40f345[_0x25f0c2(0x3cf)][_0x25f0c2(0x293)]:return _0x25f0c2(0x34d);case _0x40f345['CollaborationStatus'][_0x25f0c2(0x375)]:case _0x40f345[_0x25f0c2(0x3cf)]['AWAITING_WITH_PENDING']:return _0x25f0c2(0x39b);case _0x40f345[_0x25f0c2(0x3cf)]['SYNCED']:case _0x40f345['CollaborationStatus']['PENDING']:return _0x25f0c2(0x168);}}function _0x1d8aba(_0xbd8c1e){const _0x38eb11=_0x42caba,{status$:_0xa737f1}=_0xbd8c1e,_0x567dcc=_0x3ebdd3[_0x38eb11(0x288)](_0xa737f1,_0x40f345[_0x38eb11(0x3cf)][_0x38eb11(0x293)]),_0x5f2bdf=_0x3ebdd3[_0x38eb11(0x2bf)](_0x99a487[_0x38eb11(0x35d)]),_0x38ad86=_0x3ebdd3[_0x38eb11(0x2bf)](_0x40f345['CollaborationSessionService']),_0xbad5f1=_0x567dcc!==_0x40f345[_0x38eb11(0x3cf)][_0x38eb11(0x3c7)],_0x50d381=_0x5f2bdf['t'](_0x21667f(_0x567dcc)),_0x56f642=_0xbad5f1?_0x56f8e0[_0x38eb11(0x198)](_0x2998c0,{}):_0x56f8e0[_0x38eb11(0x198)](_0x34401d,{}),_0x40805b=_0x24e254['useCallback'](()=>{_0xbad5f1||_0x38ad86['reconnect']();},[_0xbad5f1,_0x38ad86]);function _0x25a4cc(){const _0x255403=_0x38eb11;return _0x56f8e0[_0x255403(0x2dd)](_0x255403(0x21f),{'className':_0x255403(0x3a3),'onClick':_0x40805b,'children':[_0x56f8e0[_0x255403(0x198)](_0x255403(0x21f),{'className':_0xdfb808[_0x255403(0x3b4)](_0x255403(0x1f5),{'univer-text-green-500':_0xbad5f1,'univer-text-red-500':!_0xbad5f1}),'children':_0x56f642}),_0x56f8e0[_0x255403(0x198)](_0x255403(0x21f),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x50d381})]});}return _0xbad5f1?_0x25a4cc():_0x56f8e0['jsx'](_0xdfb808[_0x38eb11(0x265)],{'title':_0x5f2bdf['t']('collab-client.tooltip.reconnect'),'children':_0x25a4cc()});}var _0x26e07a=Object[_0x42caba(0x27d)],_0x355e6c=(_0x2a05de,_0x3f73d0,_0x3ec381,_0x16258a)=>{const _0x4c114f=_0x42caba;for(var _0x285b27=_0x16258a>0x1?void 0x0:_0x16258a?_0x26e07a(_0x3f73d0,_0x3ec381):_0x3f73d0,_0x543cfc=_0x2a05de[_0x4c114f(0x1f4)]-0x1,_0x341afb;_0x543cfc>=0x0;_0x543cfc--)(_0x341afb=_0x2a05de[_0x543cfc])&&(_0x285b27=_0x341afb(_0x285b27)||_0x285b27);return _0x285b27;},_0x3ab8b2=(_0x58a668,_0x2025d3)=>(_0x3158c6,_0x5c7cb0)=>_0x2025d3(_0x3158c6,_0x5c7cb0,_0x58a668);_0x23f96a[_0x42caba(0x254)]=class extends _0x99a487[_0x42caba(0x238)]{constructor(_0x4a7b61,_0x30aeb5,_0x1e445a,_0x18cf1b){const _0x552934=_0x42caba;super(),_0x450946(this,'_status$',new _0xf18ada[(_0x552934(0x1c2))](_0x40f345[_0x552934(0x3cf)][_0x552934(0x293)])),(this[_0x552934(0x2c0)]=_0x4a7b61,this['_injector']=_0x30aeb5,this['_collaborationController']=_0x1e445a,this['_uiPartsService']=_0x18cf1b,this[_0x552934(0x165)](),this[_0x552934(0x25e)]());}['_initStatusListener'](){const _0x304083=_0x42caba;this['disposeWithMe'](this[_0x304083(0x2c0)][_0x304083(0x2ab)][_0x304083(0x1cd)](_0xf18ada['switchMap'](()=>{const _0x3fc274=_0x304083,_0x19acff=this[_0x3fc274(0x2c0)]['getFocusedUnit']();return _0x19acff?this['_collaborationController'][_0x3fc274(0x29c)](_0x19acff[_0x3fc274(0x359)]()):_0xf18ada['of'](null);}),_0xf18ada[_0x304083(0x35b)](_0x3192df=>_0x3192df?_0x3192df[_0x304083(0x206)]:_0xf18ada['of'](_0x40f345[_0x304083(0x3cf)]['NOT_COLLAB'])))[_0x304083(0x222)](_0x13a574=>{const _0x57648a=_0x304083;this[_0x57648a(0x3e5)]['next'](_0x13a574);}));}['_initStatusComponent'](){const _0x40a897=_0x42caba;this[_0x40a897(0x170)](this[_0x40a897(0x253)][_0x40a897(0x1bd)](_0x3ebdd3[_0x40a897(0x184)][_0x40a897(0x28a)],()=>_0x3ebdd3['connectInjector'](_0x5b6f7b({'status$':this['_status$'][_0x40a897(0x154)]()}),this['_injector'])));}},_0x23f96a[_0x42caba(0x254)]=_0x355e6c([_0x3ab8b2(0x0,_0x99a487[_0x42caba(0x14f)]),_0x3ab8b2(0x1,_0x99a487[_0x42caba(0x2ac)](_0x99a487[_0x42caba(0x2be)])),_0x3ab8b2(0x2,_0x99a487[_0x42caba(0x2ac)](_0x40f345[_0x42caba(0x1f7)])),_0x3ab8b2(0x3,_0x3ebdd3[_0x42caba(0x252)])],_0x23f96a['DesktopCollaborationStatusDisplayController']);function _0x5b6f7b(_0x2fd73f){const {status$:_0x1fe326}=_0x2fd73f;return function(){const _0x4393b8=_0x5833;return _0x56f8e0[_0x4393b8(0x198)](_0x1d8aba,{'status$':_0x1fe326});};}const _0x2eaaa6=_0x99a487[_0x42caba(0x2db)](_0x42caba(0x12b));var _0x85530=Object[_0x42caba(0x27d)],_0x3c6f2c=(_0x387f64,_0x4ecc32,_0x49b7f3,_0x424eab)=>{const _0x268292=_0x42caba;for(var _0x4aa0a5=_0x424eab>0x1?void 0x0:_0x424eab?_0x85530(_0x4ecc32,_0x49b7f3):_0x4ecc32,_0x36c18f=_0x387f64[_0x268292(0x1f4)]-0x1,_0x35677;_0x36c18f>=0x0;_0x36c18f--)(_0x35677=_0x387f64[_0x36c18f])&&(_0x4aa0a5=_0x35677(_0x4aa0a5)||_0x4aa0a5);return _0x4aa0a5;},_0x1ae8a9=(_0x10e028,_0x4ba6c6)=>(_0x31e2b7,_0x581c8f)=>_0x4ba6c6(_0x31e2b7,_0x581c8f,_0x10e028);_0x23f96a[_0x42caba(0x216)]=class extends _0x99a487['RxDisposable']{constructor(_0x5597f7,_0x302b5f,_0x42f15b,_0x532eb3,_0x2a15c4){const _0x22a6ae=_0x42caba;super(),this['_urlService']=_0x5597f7,this['_logService']=_0x302b5f,this[_0x22a6ae(0x390)]=_0x42f15b,this[_0x22a6ae(0x10e)]=_0x532eb3,_0x2a15c4?_0x2a15c4==null||_0x2a15c4[_0x22a6ae(0x2a2)]()['then'](()=>this[_0x22a6ae(0x273)]()):(this[_0x22a6ae(0x27c)][_0x22a6ae(0x204)](_0x22a6ae(0x2b8),_0x22a6ae(0x121)),this[_0x22a6ae(0x273)]());}async[_0x42caba(0x273)](){const _0x3fc8e5=_0x42caba,_0xd22b81=this[_0x3fc8e5(0x227)][_0x3fc8e5(0x37f)](_0x3fc8e5(0x393)),_0x43d175=this['_urlService']['getParam'](_0x3fc8e5(0x2d7)),_0x3851e7=this[_0x3fc8e5(0x227)][_0x3fc8e5(0x37f)](_0x3fc8e5(0x26a));if(!_0xd22b81||!_0x43d175){this['_logService'][_0x3fc8e5(0x204)](_0x3fc8e5(0x2b8),_0x3fc8e5(0x20a));return;}const _0x3307c3=await this['_dataLoaderService'][_0x3fc8e5(0x244)](_0xd22b81,Number(_0x43d175),_0x3851e7);_0x3307c3&&_0x3307c3 instanceof _0x99a487[_0x3fc8e5(0x250)]&&this['_setupSubUnitSync'](_0x3307c3);}async[_0x42caba(0x35f)](_0x5ad612){const _0x1a1ea0=_0x42caba;await this['_updateSubUnitFromURLParams'](_0x5ad612),_0x5ad612[_0x1a1ea0(0x1c0)][_0x1a1ea0(0x1cd)](_0xf18ada[_0x1a1ea0(0x141)](this[_0x1a1ea0(0x1ef)]))['subscribe'](_0x4f1f95=>{const _0x7f11c7=_0x1a1ea0;_0x4f1f95&&this[_0x7f11c7(0x2bc)](_0x4f1f95);}),this['_urlService']['urlChange$']['pipe'](_0xf18ada[_0x1a1ea0(0x141)](this['dispose$']))[_0x1a1ea0(0x222)](()=>this[_0x1a1ea0(0x349)](_0x5ad612));}[_0x42caba(0x2bc)](_0xff19d,_0x794fb5=!0x1){const _0x8a2343=_0x42caba,_0x5106eb=this[_0x8a2343(0x227)][_0x8a2343(0x37f)](_0x8a2343(0x26a));_0xff19d[_0x8a2343(0x2b6)]()!==_0x5106eb&&this[_0x8a2343(0x227)][_0x8a2343(0x27b)](_0x8a2343(0x26a),_0xff19d['getSheetId'](),_0x794fb5);}async[_0x42caba(0x349)](_0x287da3){const _0x47e95d=_0x42caba;var _0x3613f4;const _0x48c6d2=this[_0x47e95d(0x227)][_0x47e95d(0x37f)](_0x47e95d(0x26a));if(!_0x48c6d2||!_0x287da3[_0x47e95d(0x287)](_0x48c6d2)){const _0x24f19f=_0x287da3['getUnhiddenWorksheets']()[0x0],_0x373bf7=_0x287da3['getSheetBySheetId'](_0x24f19f);if(!_0x373bf7)return;this['_updateURLWithCurrentState'](_0x373bf7,!0x0),await this[_0x47e95d(0x390)]['executeCommand'](_0x1e6c76[_0x47e95d(0x33f)]['id'],{'unitId':_0x287da3[_0x47e95d(0x359)](),'subUnitId':_0x24f19f});return;}((_0x3613f4=_0x287da3['getActiveSheet']())==null?void 0x0:_0x3613f4['getSheetId']())!==_0x48c6d2&&await this[_0x47e95d(0x390)][_0x47e95d(0x28d)](_0x1e6c76[_0x47e95d(0x33f)]['id'],{'unitId':_0x287da3[_0x47e95d(0x359)](),'subUnitId':_0x48c6d2});}},_0x23f96a['CollaborationDataLoaderController']=_0x3c6f2c([_0x1ae8a9(0x0,_0x2eaaa6),_0x1ae8a9(0x1,_0x99a487[_0x42caba(0x2e3)]),_0x1ae8a9(0x2,_0x99a487['ICommandService']),_0x1ae8a9(0x3,_0x99a487[_0x42caba(0x2ac)](_0x40f345[_0x42caba(0x2ca)])),_0x1ae8a9(0x4,_0x99a487[_0x42caba(0x2fd)](_0x52bf9f[_0x42caba(0x16f)]))],_0x23f96a[_0x42caba(0x216)]);var _0x1efe45=Object[_0x42caba(0x27d)],_0x3658c7=(_0x3d5e53,_0x2662fa,_0x975813,_0x52db65)=>{const _0x178b4c=_0x42caba;for(var _0x50fef4=_0x52db65>0x1?void 0x0:_0x52db65?_0x1efe45(_0x2662fa,_0x975813):_0x2662fa,_0x1d5656=_0x3d5e53[_0x178b4c(0x1f4)]-0x1,_0x504207;_0x1d5656>=0x0;_0x1d5656--)(_0x504207=_0x3d5e53[_0x1d5656])&&(_0x50fef4=_0x504207(_0x50fef4)||_0x50fef4);return _0x50fef4;},_0x3514bd=(_0x1cad99,_0x184bb4)=>(_0x47e47b,_0x4138bd)=>_0x184bb4(_0x47e47b,_0x4138bd,_0x1cad99);let _0x47f8da=class extends _0x99a487['RxDisposable']{constructor(_0x295358,_0x4c775e){const _0x4e7fa2=_0x42caba;super(),this[_0x4e7fa2(0x32b)]=_0x295358,this[_0x4e7fa2(0x2ea)]=_0x4c775e,this['_init']();}[_0x42caba(0x273)](){const _0x61d184=_0x42caba,_0x1f452d=this;this[_0x61d184(0x170)](this[_0x61d184(0x32b)][_0x61d184(0x2cd)]({'onBeforePasteImage':async _0x305367=>{const _0x37247e=_0x61d184,_0xb4b6c2=await _0x1f452d[_0x37247e(0x2ea)][_0x37247e(0x2d2)](_0x305367);return _0xb4b6c2?{'source':_0xb4b6c2[_0x37247e(0x353)],'imageSourceType':_0xb4b6c2['imageSourceType']}:null;}}));}};_0x47f8da=_0x3658c7([_0x3514bd(0x0,_0x2afbb3['IDocClipboardService']),_0x3514bd(0x1,_0xba1fc8[_0x42caba(0x15e)])],_0x47f8da);const _0x185656=[_0x42caba(0x24d),_0x42caba(0x234),'green.600',_0x42caba(0x373),'blue.400',_0x42caba(0x1a5)];class _0x2dbe1f extends _0x99a487[_0x42caba(0x238)]{constructor(){const _0x3baada=_0x42caba;super(...arguments),_0x450946(this,'_assignedColors',new Map()),_0x450946(this,_0x3baada(0x30b),0x0);}[_0x42caba(0x2af)](_0x18700a){const _0x48ac08=_0x42caba;if(this['_assignedColors'][_0x48ac08(0x185)](_0x18700a))return this['_assignedColors']['get'](_0x18700a);const _0x24be3c=_0x185656[this[_0x48ac08(0x30b)]];return this[_0x48ac08(0x30b)]=(this[_0x48ac08(0x30b)]+0x1)%_0x185656['length'],this[_0x48ac08(0x241)][_0x48ac08(0x2ff)](_0x18700a,_0x24be3c),_0x24be3c;}}function _0x1b89d1(_0xfa697f){const _0x325b7e=_0x42caba;let _0x235e92='';for(const _0x575599 of _0xfa697f){const {startOffset:_0x1a3d97,endOffset:_0x394fca,isActive:_0x3e7d18,rangeType:_0x3f78d0,segmentId:_0x15cc81,segmentPage:_0xcfd6e7}=_0x575599;_0x235e92[_0x325b7e(0x1f4)]&&(_0x235e92+=','),_0x235e92+=_0x1a3d97+':'+_0x394fca+':'+(_0x3e7d18?'1':'0')+':'+_0x3f78d0+':'+_0x15cc81+':'+_0xcfd6e7;}return _0x235e92;}function _0x432c8d(_0x4b5be7){const _0x2f7317=_0x42caba,_0x293131=_0x4b5be7[_0x2f7317(0x146)](','),_0xbc9f8e=[];for(const _0x556d07 of _0x293131){const [_0x4bb40b,_0x1089a6,_0x32dc9b,_0x3af489,_0x509663,_0x1e2216]=_0x556d07['split'](':');_0xbc9f8e[_0x2f7317(0x242)]({'startOffset':Number(_0x4bb40b),'endOffset':Number(_0x1089a6),'collapsed':_0x4bb40b===_0x1089a6,'isActive':_0x32dc9b==='1','rangeType':_0x3af489===_0x99a487[_0x2f7317(0x21b)]['TEXT']?_0x99a487[_0x2f7317(0x21b)][_0x2f7317(0x230)]:_0x99a487[_0x2f7317(0x21b)]['RECT'],'segmentId':typeof _0x509663==_0x2f7317(0x307)?String(_0x509663):'','segmentPage':Number(_0x1e2216!=null?_0x1e2216:-0x1)});}return _0xbc9f8e[_0x2f7317(0x33d)](_0x95145f=>_0x95145f[_0x2f7317(0x18e)])||(_0xbc9f8e[0x0]['isActive']=!0x0),_0xbc9f8e;}class _0x151704 extends _0x99a487[_0x42caba(0x178)]{constructor(){const _0xeb0781=_0x42caba;super(...arguments),_0x450946(this,_0xeb0781(0x1fc),new _0xf18ada['BehaviorSubject'](null)),_0x450946(this,_0xeb0781(0x2d0),this[_0xeb0781(0x1fc)][_0xeb0781(0x154)]());}[_0x42caba(0x12c)](_0x20d4c6){const _0x2e47f5=_0x42caba,{unitID:_0x1356da,memberID:_0xf0f558,textRanges:_0x4eb4fe}=_0x20d4c6,_0x373932=_0x1b89d1(_0x4eb4fe);if(_0x373932==='')return;const _0x34f586={'unitID':_0x1356da,'memberID':_0xf0f558,'selection':_0x373932};this[_0x2e47f5(0x1fc)][_0x2e47f5(0x1ba)](_0x34f586);}}var _0x292158=Object[_0x42caba(0x27d)],_0x25ef79=(_0x584117,_0xe39874,_0x497533,_0x54fc30)=>{const _0x20f97e=_0x42caba;for(var _0x1e183f=_0x54fc30>0x1?void 0x0:_0x54fc30?_0x292158(_0xe39874,_0x497533):_0xe39874,_0x302c74=_0x584117[_0x20f97e(0x1f4)]-0x1,_0x1e7857;_0x302c74>=0x0;_0x302c74--)(_0x1e7857=_0x584117[_0x302c74])&&(_0x1e183f=_0x1e7857(_0x1e183f)||_0x1e183f);return _0x1e183f;},_0x3ea4db=(_0x4fe40b,_0x4bdfa0)=>(_0x1ebad3,_0x2bc290)=>_0x4bdfa0(_0x1ebad3,_0x2bc290,_0x4fe40b);const _0xe0f9d1=0x12c,_0x4a197b=0x64;let _0x5b726f=class extends _0x99a487[_0x42caba(0x178)]{constructor(_0x46e6f9,_0x1faa45,_0x4220c2,_0x3bb859,_0x147a7b,_0x35b9eb,_0x57399f,_0x57050f,_0xa53e59){const _0x1a5dff=_0x42caba;super(),_0x450946(this,_0x1a5dff(0x217),!0x1),_0x450946(this,'_init',!0x1),_0x450946(this,_0x1a5dff(0x32e),new _0xf18ada[(_0x1a5dff(0x1c2))](new Map())),_0x450946(this,'cursorInfo$',this[_0x1a5dff(0x32e)][_0x1a5dff(0x154)]()),_0x450946(this,'_roomMembers$',new _0xf18ada[(_0x1a5dff(0x1c2))]([])),_0x450946(this,_0x1a5dff(0x1e6),this[_0x1a5dff(0x39a)][_0x1a5dff(0x1cd)](_0xf18ada[_0x1a5dff(0x194)](_0xe0f9d1))),_0x450946(this,_0x1a5dff(0x290),_0x99a487[_0x1a5dff(0x1aa)](_0x2e91a4=>{const _0x5d41be=_0x1a5dff,_0x17514a={'eventID':_0x1d0b4f[_0x5d41be(0x2f3)][_0x5d41be(0x207)],'data':{'unitID':this[_0x5d41be(0x392)],'memberID':this[_0x5d41be(0x169)][_0x5d41be(0x218)](),'selection':_0x1b89d1(_0x2e91a4)}};this['_session']['send'](_0x17514a,this[_0x5d41be(0x392)]);},_0x4a197b)),(this[_0x1a5dff(0x392)]=_0x46e6f9,this[_0x1a5dff(0x169)]=_0x1faa45,this[_0x1a5dff(0x3b2)]=_0x4220c2,this[_0x1a5dff(0x354)]=_0x3bb859,this[_0x1a5dff(0x2c7)]=_0x147a7b,this[_0x1a5dff(0x18f)]=_0x35b9eb,this[_0x1a5dff(0x17a)]=_0x57399f,this['_univerInstanceService']=_0x57050f,this['_commandService']=_0xa53e59);}get[_0x42caba(0x1ae)](){const _0x4d16a7=_0x42caba;return this['_cursorInfo$'][_0x4d16a7(0x279)]();}get[_0x42caba(0x1d3)](){const _0xacc1be=_0x42caba;return this[_0xacc1be(0x39a)][_0xacc1be(0x279)]();}[_0x42caba(0x310)](){const _0x18b450=_0x42caba;super['dispose'](),this[_0x18b450(0x32e)][_0x18b450(0x1ba)](new Map()),this['_cursorInfo$'][_0x18b450(0x2cc)](),this[_0x18b450(0x39a)][_0x18b450(0x1ba)]([]),this[_0x18b450(0x39a)]['complete']();}[_0x42caba(0x1ce)](){const _0x20f646=_0x42caba;this[_0x20f646(0x273)]||(this['_init']=!0x0,this['_session'][_0x20f646(0x258)][_0x20f646(0x1cd)](_0xf18ada[_0x20f646(0x141)](this[_0x20f646(0x1ef)]))[_0x20f646(0x222)](_0x19b3ce=>{const _0x2a7350=_0x20f646;_0x19b3ce===_0x40f345['SessionStatus']['ONLINE']?this['_toggleOnline']():this[_0x2a7350(0x325)]();}),this[_0x20f646(0x169)][_0x20f646(0x166)][_0x20f646(0x1cd)](_0xf18ada[_0x20f646(0x141)](this[_0x20f646(0x1ef)]))[_0x20f646(0x222)](_0xfa2ff4=>{const _0x5e6079=_0x20f646,_0x5872fd=_0xfa2ff4[_0x5e6079(0x1f1)];_0x5872fd===_0x1d0b4f[_0x5e6079(0x2f3)][_0x5e6079(0x207)]&&this[_0x5e6079(0x3ea)](_0xfa2ff4),_0x5872fd===_0x1d0b4f[_0x5e6079(0x2f3)][_0x5e6079(0x28b)]&&this['_onCursorDelete'](_0xfa2ff4);}),this[_0x20f646(0x170)](this[_0x20f646(0x390)][_0x20f646(0x29f)](_0x5028ad=>{const _0x5dab54=_0x20f646,_0x4f370d=_0x5028ad[_0x5dab54(0x3a2)];_0x4f370d!=null&&this['_online']&&_0x5028ad['id']===_0x2d04b0[_0x5dab54(0x1b4)]['id']&&_0x4f370d['unitId']===this[_0x5dab54(0x392)]&&_0x4f370d[_0x5dab54(0x2a7)]===!0x1&&_0x4f370d[_0x5dab54(0x3f0)][_0x5dab54(0x1f4)]>0x0&&this[_0x5dab54(0x290)](_0x4f370d[_0x5dab54(0x3f0)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x20f646(0x1cd)](_0xf18ada[_0x20f646(0x141)](this['dispose$']))[_0x20f646(0x222)](_0x3ecd89=>{const _0x35bfa1=_0x20f646;if((_0x3ecd89==null?void 0x0:_0x3ecd89[_0x35bfa1(0x392)])!==this[_0x35bfa1(0x392)])return;const _0x1eb4d7={'eventID':_0x1d0b4f[_0x35bfa1(0x2f3)][_0x35bfa1(0x207)],'data':_0x3ecd89};this[_0x35bfa1(0x3ea)](_0x1eb4d7);}),this[_0x20f646(0x170)](this[_0x20f646(0x390)][_0x20f646(0x29f)](_0x483701=>{const _0x54fe2d=_0x20f646;if(_0x483701[_0x54fe2d(0x3a2)]==null)return;const _0x4a942a=_0x483701[_0x54fe2d(0x3a2)];if(_0x483701['id']!==_0x2d04b0[_0x54fe2d(0x2e1)]['id']||_0x4a942a[_0x54fe2d(0x1c6)]!==this[_0x54fe2d(0x392)])return;const _0x2e24f0={'id':_0x54fe2d(0x205),'params':_0x4a942a},_0x1370ff=this[_0x54fe2d(0x1ae)];for(const [_0x482e08,_0xe74b11]of _0x1370ff){const _0x19a638={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x54fe2d(0x392)],'actions':null,'textRanges':_0xe74b11['ranges']}},_0xc84fae=this[_0x54fe2d(0x17a)]['transformMutation'](_0x2e24f0,_0x19a638,!0x1);if(_0x1d0b4f['isTransformMutationFailure'](_0xc84fae))throw _0xc84fae['error'];_0x1370ff[_0x54fe2d(0x2ff)](_0x482e08,{..._0xe74b11,'ranges':_0xc84fae[_0x54fe2d(0x35e)][_0x54fe2d(0x3a2)][_0x54fe2d(0x248)]});}queueMicrotask(()=>{const _0x4239d7=_0x54fe2d;this['_cursorInfo$'][_0x4239d7(0x1ba)](_0x1370ff);});})));}[_0x42caba(0x3ea)](_0x3a04e6){const _0x2f598b=_0x42caba;var _0x28c26e,_0x17bab9;const {memberID:_0x2560b4,selection:_0x226845}=_0x3a04e6[_0x2f598b(0x343)],_0x118d13=_0x432c8d(_0x226845),_0x38ff9b=(_0x17bab9=(_0x28c26e=this[_0x2f598b(0x2c7)]['getMember'](this['unitID'],_0x2560b4))==null?void 0x0:_0x28c26e[_0x2f598b(0x3ab)])!=null?_0x17bab9:'Unknown\x20user',_0x568757={'color':this[_0x2f598b(0x354)][_0x2f598b(0x2af)](_0x2560b4),'name':_0x38ff9b,'ranges':_0x118d13},_0x4dd9a3=this['cursorInfo'];_0x4dd9a3['set'](_0x2560b4,_0x568757),this[_0x2f598b(0x32e)][_0x2f598b(0x1ba)](_0x4dd9a3);}[_0x42caba(0x17b)](_0x395adb){const _0x11b7be=_0x42caba,{memberID:_0x145ce6}=_0x395adb[_0x11b7be(0x343)],_0x5ed392=this['cursorInfo'];_0x5ed392[_0x11b7be(0x192)](_0x145ce6),this[_0x11b7be(0x32e)][_0x11b7be(0x1ba)](_0x5ed392);}['_toggleOnline'](){const _0x527636=_0x42caba;var _0x41f84d;if(this[_0x527636(0x217)]=!0x0,((_0x41f84d=this[_0x527636(0x2c0)]['getFocusedUnit']())==null?void 0x0:_0x41f84d[_0x527636(0x359)]())!==this[_0x527636(0x392)])return;const _0x4f275d=this[_0x527636(0x3b2)][_0x527636(0x394)](_0x2d04b0[_0x527636(0x35c)])['getDocRanges']();Array['isArray'](_0x4f275d)&&_0x4f275d[_0x527636(0x1f4)]>0x0&&this[_0x527636(0x290)](_0x4f275d);}[_0x42caba(0x325)](){this['_online']=!0x1;}};_0x5b726f=_0x25ef79([_0x3ea4db(0x2,_0x99a487[_0x42caba(0x2ac)](_0x99a487['Injector'])),_0x3ea4db(0x3,_0x99a487[_0x42caba(0x2ac)](_0x2dbe1f)),_0x3ea4db(0x4,_0x99a487[_0x42caba(0x2ac)](_0x40f345['MemberService'])),_0x3ea4db(0x5,_0x99a487[_0x42caba(0x2ac)](_0x151704)),_0x3ea4db(0x6,_0x1d0b4f['ITransformService']),_0x3ea4db(0x7,_0x99a487[_0x42caba(0x14f)]),_0x3ea4db(0x8,_0x99a487[_0x42caba(0x277)])],_0x5b726f);var _0x4e7a3a=Object[_0x42caba(0x27d)],_0x39a13d=(_0x30a40d,_0x311ef9,_0x3ef719,_0x1f41c4)=>{const _0x360627=_0x42caba;for(var _0x3f6bce=_0x1f41c4>0x1?void 0x0:_0x1f41c4?_0x4e7a3a(_0x311ef9,_0x3ef719):_0x311ef9,_0x41a7cd=_0x30a40d[_0x360627(0x1f4)]-0x1,_0x24ac26;_0x41a7cd>=0x0;_0x41a7cd--)(_0x24ac26=_0x30a40d[_0x41a7cd])&&(_0x3f6bce=_0x24ac26(_0x3f6bce)||_0x3f6bce);return _0x3f6bce;},_0x323e4f=(_0x202d62,_0x2c9ca6)=>(_0x2c5cc3,_0x5481cc)=>_0x2c9ca6(_0x2c5cc3,_0x5481cc,_0x202d62);const _0x400d6f=0x12c,_0x5254fc=0x64,_0x3a936c=()=>{let _0x5498e2=[],_0x110c93=!0x1;return _0x5bc222=>{const _0x474148=_0x5833;_0x5498e2[_0x474148(0x242)](_0x5bc222),_0x110c93||(_0x110c93=!0x0,setTimeout(()=>{_0x5498e2['forEach'](_0x5c0565=>_0x5c0565()),_0x5498e2=[],_0x110c93=!0x1;}));};};let _0x580a68=class extends _0x99a487[_0x42caba(0x178)]{constructor(_0x171eda,_0x168969,_0x5a5473,_0xc0d255,_0x1bd4f4,_0x100e74,_0x257590,_0x3a25f0){const _0x32a0c5=_0x42caba;super(),_0x450946(this,'_online',!0x1),_0x450946(this,_0x32a0c5(0x273),!0x1),_0x450946(this,_0x32a0c5(0x32e),new _0xf18ada[(_0x32a0c5(0x1c2))](new Map())),_0x450946(this,'cursorInfo$',this['_cursorInfo$'][_0x32a0c5(0x154)]()),_0x450946(this,_0x32a0c5(0x39a),new _0xf18ada[(_0x32a0c5(0x1c2))]([])),_0x450946(this,_0x32a0c5(0x1e6),this['_roomMembers$'][_0x32a0c5(0x1cd)](_0xf18ada[_0x32a0c5(0x194)](_0x400d6f))),_0x450946(this,_0x32a0c5(0x290),_0x99a487[_0x32a0c5(0x1aa)]((_0x1734dd,_0x16b309)=>{const _0x20aed2=_0x32a0c5,_0x11cf6b={'eventID':_0x1d0b4f[_0x20aed2(0x2f3)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x20aed2(0x169)][_0x20aed2(0x218)](),'selection':_0x7369e4['serializeRangeWithSheet'](_0x1734dd,_0x16b309[_0x20aed2(0x25b)])}};this[_0x20aed2(0x169)][_0x20aed2(0x1dd)](_0x11cf6b,this['unitID']);},_0x5254fc)),(this[_0x32a0c5(0x392)]=_0x171eda,this[_0x32a0c5(0x169)]=_0x168969,this[_0x32a0c5(0x3b2)]=_0x5a5473,this[_0x32a0c5(0x354)]=_0xc0d255,this[_0x32a0c5(0x2c7)]=_0x1bd4f4,this[_0x32a0c5(0x2c0)]=_0x100e74,this['_commandService']=_0x257590,this[_0x32a0c5(0x211)]=_0x3a25f0);}get[_0x42caba(0x1ae)](){const _0x277a04=_0x42caba;return this[_0x277a04(0x32e)][_0x277a04(0x279)]();}get[_0x42caba(0x1d3)](){const _0x351098=_0x42caba;return this[_0x351098(0x39a)][_0x351098(0x279)]();}[_0x42caba(0x310)](){const _0x16b141=_0x42caba;super[_0x16b141(0x310)](),this[_0x16b141(0x32e)][_0x16b141(0x1ba)](new Map()),this[_0x16b141(0x32e)][_0x16b141(0x2cc)](),this[_0x16b141(0x39a)]['next']([]),this[_0x16b141(0x39a)][_0x16b141(0x2cc)]();}['init'](){const _0x355d3d=_0x42caba;this[_0x355d3d(0x273)]||(this[_0x355d3d(0x273)]=!0x0,this[_0x355d3d(0x169)][_0x355d3d(0x258)][_0x355d3d(0x1cd)](_0xf18ada[_0x355d3d(0x141)](this[_0x355d3d(0x1ef)]))['subscribe'](_0x3849f8=>{const _0x51f8c5=_0x355d3d;_0x3849f8===_0x40f345[_0x51f8c5(0x2c2)][_0x51f8c5(0x3ad)]?this[_0x51f8c5(0x1b9)]():this[_0x51f8c5(0x325)]();}),this[_0x355d3d(0x169)][_0x355d3d(0x166)][_0x355d3d(0x1cd)](_0xf18ada[_0x355d3d(0x141)](this[_0x355d3d(0x1ef)]))[_0x355d3d(0x222)](_0x5983dd=>{const _0xbaa297=_0x355d3d,_0x5ab04e=_0x5983dd[_0xbaa297(0x1f1)];_0x5ab04e===_0x1d0b4f[_0xbaa297(0x2f3)][_0xbaa297(0x207)]&&this[_0xbaa297(0x3ea)](_0x5983dd),_0x5ab04e===_0x1d0b4f['CollaborationEvent'][_0xbaa297(0x28b)]&&this[_0xbaa297(0x17b)](_0x5983dd);}),this[_0x355d3d(0x387)](),this['disposeWithMe'](this[_0x355d3d(0x390)][_0x355d3d(0x29f)](_0x36dfb6=>{const _0x7beed2=_0x355d3d;if(this[_0x7beed2(0x217)]&&_0x36dfb6['id']===_0x1e6c76['SetSelectionsOperation']['id']&&_0x36dfb6[_0x7beed2(0x3a2)][_0x7beed2(0x1c6)]===this['unitID']){const _0x4108ba=_0x36dfb6['params'];this['_updateLocalCursor'](_0x4108ba[_0x7beed2(0x3ee)],_0x4108ba[_0x7beed2(0x388)][0x0]);}})));}[_0x42caba(0x3ea)](_0x27acee){const _0xf4801a=_0x42caba;var _0x55aa73,_0x13c962;const {memberID:_0x51c8eb,selection:_0x3dea5c}=_0x27acee[_0xf4801a(0x343)],{sheetName:_0x2978bf,range:_0x140e38}=_0x7369e4[_0xf4801a(0x39e)](_0x3dea5c),_0x2354ca={'name':(_0x13c962=(_0x55aa73=this[_0xf4801a(0x2c7)][_0xf4801a(0x338)](this['unitID'],_0x51c8eb))==null?void 0x0:_0x55aa73[_0xf4801a(0x3ab)])!=null?_0x13c962:'Unknown\x20user','range':this['_getMergeRange'](_0x2978bf,_0x140e38),'sheetID':_0x2978bf,'color':this[_0xf4801a(0x354)][_0xf4801a(0x2af)](_0x51c8eb),'selection':_0x3dea5c},_0xab5f41=this[_0xf4801a(0x1ae)];_0xab5f41[_0xf4801a(0x2ff)](_0x51c8eb,_0x2354ca),this[_0xf4801a(0x32e)][_0xf4801a(0x1ba)](_0xab5f41);}[_0x42caba(0x17b)](_0x596851){const _0x29dc58=_0x42caba,{memberID:_0xefe6fb}=_0x596851['data'],_0x588eb9=this[_0x29dc58(0x1ae)];_0x588eb9[_0x29dc58(0x192)](_0xefe6fb),this[_0x29dc58(0x32e)][_0x29dc58(0x1ba)](_0x588eb9);}[_0x42caba(0x328)](_0x4a6c86,_0x251e63){const _0x20ddd3=_0x42caba;var _0x2427b0,_0x2b39af;const _0x28ea0d=(_0x2b39af=(_0x2427b0=this[_0x20ddd3(0x2c0)][_0x20ddd3(0x155)](this['unitID']))==null?void 0x0:_0x2427b0[_0x20ddd3(0x287)](_0x4a6c86))==null?void 0x0:_0x2b39af[_0x20ddd3(0x25a)]();return(_0x28ea0d==null?void 0x0:_0x28ea0d[_0x20ddd3(0x380)](_0x5b1bcf=>_0x99a487['Rectangle'][_0x20ddd3(0x308)](_0x5b1bcf,_0x251e63)))||_0x251e63;}[_0x42caba(0x387)](){const _0x5c7d8c=_0x42caba,_0x57be39=new _0x99a487[(_0x5c7d8c(0x322))](),_0xede9e1=_0x3a936c(),_0x4ec1a3=()=>{const _0x1f64d3=_0x5c7d8c;_0x57be39['dispose']();const _0x2320dc=(_0x2e6db4,_0x2aaf25,_0x5e8eb0,_0x359816)=>{const _0x3019d7=_0x5833;let _0x124f0a=[];switch(_0x2e6db4['id']){case _0x1e6c76[_0x3019d7(0x1c4)]['DeleteRangeMoveLeftCommandId']:{_0x124f0a=_0x1e6c76['handleDeleteRangeMoveLeft'](_0x2e6db4,_0x359816);break;}case _0x1e6c76[_0x3019d7(0x1c4)][_0x3019d7(0x125)]:{_0x124f0a=_0x1e6c76[_0x3019d7(0x191)](_0x2e6db4,_0x359816);break;}case _0x1e6c76[_0x3019d7(0x1c4)]['InsertColCommandId']:{_0x124f0a=_0x1e6c76[_0x3019d7(0x333)](_0x2e6db4,_0x359816);break;}case _0x1e6c76['EffectRefRangId'][_0x3019d7(0x22e)]:{_0x124f0a=_0x1e6c76['handleInsertRangeMoveDown'](_0x2e6db4,_0x359816);break;}case _0x1e6c76[_0x3019d7(0x1c4)][_0x3019d7(0x3b7)]:{_0x124f0a=_0x1e6c76[_0x3019d7(0x36b)](_0x2e6db4,_0x359816);break;}case _0x1e6c76[_0x3019d7(0x1c4)][_0x3019d7(0x2d8)]:{_0x124f0a=_0x1e6c76['handleInsertRow'](_0x2e6db4,_0x359816);break;}case _0x1e6c76['EffectRefRangId'][_0x3019d7(0x320)]:{_0x124f0a=_0x1e6c76[_0x3019d7(0x22c)](_0x2e6db4,_0x359816);break;}case _0x1e6c76[_0x3019d7(0x1c4)][_0x3019d7(0x22f)]:{_0x124f0a=_0x1e6c76[_0x3019d7(0x337)](_0x2e6db4,_0x359816);break;}case _0x1e6c76['EffectRefRangId'][_0x3019d7(0x37a)]:{_0x124f0a=_0x1e6c76[_0x3019d7(0x1d7)](_0x2e6db4,_0x359816);break;}}const _0x8f00c3=_0x1e6c76[_0x3019d7(0x123)](_0x124f0a,_0x359816),_0xf21432=this['cursorInfo']['get'](_0x2aaf25);if(_0xf21432&&_0x8f00c3){const _0x26cc2c={..._0xf21432,'range':_0x8f00c3};this[_0x3019d7(0x1ae)]['set'](_0x2aaf25,_0x26cc2c),_0xede9e1(()=>{const _0x50d651=_0x3019d7,_0x3ef985=this[_0x50d651(0x211)][_0x50d651(0x1a8)](_0x8f00c3,_0x5ed527=>(_0x3ef985['dispose'](),_0x2320dc(_0x5ed527,_0x2aaf25,_0x5e8eb0,_0x8f00c3)));_0x57be39[_0x50d651(0x1df)](_0x3ef985);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x1f64d3(0x2e5)]((_0x17d53b,_0x46b789)=>{const _0x37c7d1=_0x1f64d3,{range:_0x316b23,sheetID:_0x264c62}=_0x17d53b,_0x73b030=this[_0x37c7d1(0x211)]['registerRefRange'](_0x316b23,_0x3cf7bc=>(_0x73b030[_0x37c7d1(0x310)](),_0x2320dc(_0x3cf7bc,_0x46b789,_0x264c62,_0x316b23)));_0x57be39[_0x37c7d1(0x1df)](_0x73b030);});};this['disposeWithMe'](_0x99a487['toDisposable'](this[_0x5c7d8c(0x32e)][_0x5c7d8c(0x222)](()=>{_0x4ec1a3();})));}['_toggleOnline'](){const _0x5b3f8c=_0x42caba;var _0x3fbc4c,_0x443c4f;if(this[_0x5b3f8c(0x217)]=!0x0,((_0x3fbc4c=this[_0x5b3f8c(0x2c0)]['getFocusedUnit']())==null?void 0x0:_0x3fbc4c[_0x5b3f8c(0x359)]())!==this[_0x5b3f8c(0x392)])return;const _0x2a57e3=(_0x443c4f=this[_0x5b3f8c(0x3b2)][_0x5b3f8c(0x394)](_0x1e6c76['SheetsSelectionsService'])[_0x5b3f8c(0x332)]())==null?void 0x0:_0x443c4f[0x0],_0x374202=this[_0x5b3f8c(0x2c0)]['getCurrentUnitForType'](_0x99a487['UniverInstanceType']['UNIVER_SHEET'])[_0x5b3f8c(0x163)]();_0x2a57e3&&_0x374202&&this[_0x5b3f8c(0x290)](_0x374202['getSheetId'](),_0x2a57e3);}[_0x42caba(0x325)](){const _0x2a1fa4=_0x42caba;this[_0x2a1fa4(0x217)]=!0x1;}};_0x580a68=_0x39a13d([_0x323e4f(0x2,_0x99a487[_0x42caba(0x2ac)](_0x99a487[_0x42caba(0x2be)])),_0x323e4f(0x3,_0x99a487[_0x42caba(0x2ac)](_0x2dbe1f)),_0x323e4f(0x4,_0x99a487['Inject'](_0x40f345[_0x42caba(0x32d)])),_0x323e4f(0x5,_0x99a487[_0x42caba(0x14f)]),_0x323e4f(0x6,_0x99a487['ICommandService']),_0x323e4f(0x7,_0x99a487[_0x42caba(0x2ac)](_0x1e6c76[_0x42caba(0x167)]))],_0x580a68);var _0x49f6e2=Object['getOwnPropertyDescriptor'],_0x578a2b=(_0x105cc7,_0x26ebaa,_0x49b48b,_0x529d24)=>{for(var _0x3e1a96=_0x529d24>0x1?void 0x0:_0x529d24?_0x49f6e2(_0x26ebaa,_0x49b48b):_0x26ebaa,_0x3d7762=_0x105cc7['length']-0x1,_0x562ee7;_0x3d7762>=0x0;_0x3d7762--)(_0x562ee7=_0x105cc7[_0x3d7762])&&(_0x3e1a96=_0x562ee7(_0x3e1a96)||_0x3e1a96);return _0x3e1a96;},_0x49a0a4=(_0x433626,_0x5a8efc)=>(_0x230506,_0x3d719d)=>_0x5a8efc(_0x230506,_0x3d719d,_0x433626);let _0x550d1c=class extends _0x99a487[_0x42caba(0x178)]{constructor(_0x1d3422,_0x5d6494,_0x21b6f4){const _0x44eb1a=_0x42caba;super(),_0x450946(this,_0x44eb1a(0x38b),new Map()),_0x450946(this,'_entityInit$',new _0xf18ada[(_0x44eb1a(0x3bb))]()),(this[_0x44eb1a(0x2c0)]=_0x1d3422,this[_0x44eb1a(0x3b2)]=_0x5d6494,this[_0x44eb1a(0x3c2)]=_0x21b6f4,this[_0x44eb1a(0x273)]());}[_0x42caba(0x310)](){const _0x53e61e=_0x42caba;super[_0x53e61e(0x310)](),this[_0x53e61e(0x173)]['complete'](),this[_0x53e61e(0x38b)][_0x53e61e(0x2e5)](_0xf63376=>_0xf63376[_0x53e61e(0x310)]());}[_0x42caba(0x199)](_0x46be7b){const _0x8c0847=_0x42caba;return this[_0x8c0847(0x38b)]['has'](_0x46be7b)?this[_0x8c0847(0x38b)][_0x8c0847(0x394)](_0x46be7b)[_0x8c0847(0x236)]:this[_0x8c0847(0x173)][_0x8c0847(0x1cd)](_0xf18ada[_0x8c0847(0x1de)](_0x5f3f68=>_0x5f3f68[_0x8c0847(0x392)]===_0x46be7b),_0xf18ada[_0x8c0847(0x35b)](_0x3add51=>_0x3add51[_0x8c0847(0x236)]));}[_0x42caba(0x273)](){const _0x50f7b2=_0x42caba;this[_0x50f7b2(0x2c0)]['getTypeOfUnitAdded$'](_0x99a487[_0x50f7b2(0x1b8)][_0x50f7b2(0x2f9)])[_0x50f7b2(0x1cd)](_0xf18ada[_0x50f7b2(0x141)](this[_0x50f7b2(0x1ef)]))['subscribe'](async _0x3ee739=>{const _0x374ad1=_0x50f7b2,_0x4d9193=_0x3ee739[_0x374ad1(0x359)](),_0x1d8300=await this[_0x374ad1(0x2a0)](_0x4d9193);this[_0x374ad1(0x173)][_0x374ad1(0x1ba)](_0x1d8300),this[_0x374ad1(0x38b)][_0x374ad1(0x2ff)](_0x4d9193,_0x1d8300);}),this[_0x50f7b2(0x2c0)]['getTypeOfUnitAdded$'](_0x99a487[_0x50f7b2(0x1b8)][_0x50f7b2(0x22a)])[_0x50f7b2(0x1cd)](_0xf18ada['takeUntil'](this[_0x50f7b2(0x1ef)]))[_0x50f7b2(0x1cd)](_0xf18ada[_0x50f7b2(0x1de)](_0x1d190c=>!_0x1d190c['getUnitId']()[_0x50f7b2(0x3c6)]('__')))[_0x50f7b2(0x222)](async _0x28f10f=>{const _0x1debf0=_0x50f7b2,_0x23be95=_0x28f10f['getUnitId'](),_0x34d848=await this['_startDocCollabCursor'](_0x23be95);this[_0x1debf0(0x173)][_0x1debf0(0x1ba)](_0x34d848),this[_0x1debf0(0x38b)][_0x1debf0(0x2ff)](_0x23be95,_0x34d848);}),_0xf18ada[_0x50f7b2(0x28c)](this['_univerInstanceService'][_0x50f7b2(0x1e1)](_0x99a487[_0x50f7b2(0x1b8)][_0x50f7b2(0x22a)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x99a487['UniverInstanceType']['UNIVER_SHEET']))[_0x50f7b2(0x1cd)](_0xf18ada['takeUntil'](this[_0x50f7b2(0x1ef)]))[_0x50f7b2(0x222)](_0x11181c=>{const _0x3482ec=_0x50f7b2,_0x24ff97=_0x11181c['getUnitId'](),_0x29dd67=this[_0x3482ec(0x38b)][_0x3482ec(0x394)](_0x24ff97);_0x29dd67&&(_0x29dd67[_0x3482ec(0x310)](),this[_0x3482ec(0x38b)][_0x3482ec(0x192)](_0x24ff97));});}async['_startSheetCollabCursor'](_0xeec388){const _0x34c424=_0x42caba,_0x4b1b9f=await this['_collabSessionService'][_0x34c424(0x334)](_0xeec388),_0x5e7a1d=this[_0x34c424(0x3b2)][_0x34c424(0x280)](_0x580a68,_0xeec388,_0x4b1b9f);return _0x5e7a1d[_0x34c424(0x1ce)](),_0x5e7a1d;}async[_0x42caba(0x30a)](_0x813731){const _0x102f46=_0x42caba,_0x2fba28=await this[_0x102f46(0x3c2)]['requireSession'](_0x813731),_0x3521d1=this[_0x102f46(0x3b2)]['createInstance'](_0x5b726f,_0x813731,_0x2fba28);return _0x3521d1[_0x102f46(0x1ce)](),_0x3521d1;}};_0x550d1c=_0x578a2b([_0x49a0a4(0x0,_0x99a487[_0x42caba(0x14f)]),_0x49a0a4(0x1,_0x99a487[_0x42caba(0x2ac)](_0x99a487[_0x42caba(0x2be)])),_0x49a0a4(0x2,_0x99a487[_0x42caba(0x2ac)](_0x40f345[_0x42caba(0x3b1)]))],_0x550d1c);const _0x2206e4=0x14,_0x53bf10=0xc8,_0x32c7e3=0x4,_0x14f19e=0x5;function _0x2a5b61(_0x4a2f63,_0x2184cc){const _0x68847c=_0x42caba;let {radius:_0x17dccf,width:_0x4cbff2,height:_0x3f1fa0}=_0x2184cc;_0x17dccf=_0x17dccf!=null?_0x17dccf:0x0,_0x4cbff2=_0x4cbff2!=null?_0x4cbff2:0x1e,_0x3f1fa0=_0x3f1fa0!=null?_0x3f1fa0:0x1e;let _0x37fe97=0x0,_0x4619c1=0x0,_0x16f5c9=0x0;_0x37fe97=_0x4619c1=_0x16f5c9=Math['min'](_0x17dccf,_0x4cbff2/0x2,_0x3f1fa0/0x2),_0x4a2f63['beginPath'](),_0x4a2f63[_0x68847c(0x16b)](_0x37fe97,0x0),_0x4a2f63['lineTo'](_0x4cbff2-_0x4619c1,0x0),_0x4a2f63[_0x68847c(0x2f1)](_0x4cbff2-_0x4619c1,_0x4619c1,_0x4619c1,Math['PI']*0x3/0x2,0x0,!0x1),_0x4a2f63[_0x68847c(0x1e0)](_0x4cbff2,_0x3f1fa0-_0x16f5c9),_0x4a2f63[_0x68847c(0x2f1)](_0x4cbff2-_0x16f5c9,_0x3f1fa0-_0x16f5c9,_0x16f5c9,0x0,Math['PI']/0x2,!0x1),_0x4a2f63[_0x68847c(0x1e0)](0x0,_0x3f1fa0),_0x4a2f63[_0x68847c(0x1e0)](0x0,_0x37fe97),_0x4a2f63[_0x68847c(0x2f1)](_0x37fe97,_0x37fe97,_0x37fe97,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4a2f63[_0x68847c(0x134)](),_0x2184cc['fill']&&(_0x4a2f63[_0x68847c(0x183)](),_0x4a2f63[_0x68847c(0x160)]=_0x2184cc[_0x68847c(0x1bb)],_0x2184cc[_0x68847c(0x257)]===_0x68847c(0x38c)?_0x4a2f63[_0x68847c(0x1bb)](_0x68847c(0x38c)):_0x4a2f63['fill'](),_0x4a2f63['restore']());}class _0x27d9e3 extends _0x4b6de8[_0x42caba(0x1ca)]{constructor(_0x3a046f,_0x2731cd){const _0x579db7=_0x42caba;super(_0x3a046f,_0x2731cd),_0x450946(this,_0x579db7(0x172)),_0x450946(this,_0x579db7(0x36e)),(this['color']=_0x2731cd==null?void 0x0:_0x2731cd[_0x579db7(0x172)],this[_0x579db7(0x36e)]=_0x2731cd==null?void 0x0:_0x2731cd[_0x579db7(0x36e)]);}static[_0x42caba(0x1f3)](_0x5875b5,_0x36b392){const _0x54446b=_0x42caba,{text:_0x40a876,color:_0x4d177b}=_0x36b392;_0x5875b5[_0x54446b(0x183)](),_0x5875b5['font']=_0x54446b(0x38a);const _0x387a5d=_0x5875b5[_0x54446b(0x3a4)](_0x40a876)['width'],_0x5c3670=Math[_0x54446b(0x369)](_0x387a5d+0x2*_0x32c7e3,_0x53bf10);_0x2a5b61(_0x5875b5,{'height':_0x2206e4,'radius':0x4,'width':_0x5c3670,'fill':_0x4d177b}),_0x5875b5[_0x54446b(0x160)]=_0x54446b(0x1d8);const _0x191f71=_0x32c7e3,_0x52b58d=_0x2206e4-_0x14f19e,_0xad536e=_0x53bf10-0x2*_0x32c7e3;if(_0x387a5d>_0xad536e){let _0x4183e6='',_0x364893=0x0;for(const _0x22403f of _0x40a876){const _0x236c37=_0x5875b5[_0x54446b(0x3a4)](_0x22403f)[_0x54446b(0x214)];if(_0x364893+_0x236c37<=_0xad536e-_0x5875b5[_0x54446b(0x3a4)](_0x54446b(0x23c))['width'])_0x4183e6+=_0x22403f,_0x364893+=_0x236c37;else{_0x4183e6+=_0x54446b(0x23c);break;}}_0x5875b5[_0x54446b(0x1cc)](_0x4183e6,_0x191f71,_0x52b58d);}else _0x5875b5[_0x54446b(0x1cc)](_0x40a876,_0x191f71,_0x52b58d);_0x5875b5[_0x54446b(0x255)]();}[_0x42caba(0x12f)](_0x2c3972){const _0x26fa4d=_0x42caba;_0x27d9e3[_0x26fa4d(0x1f3)](_0x2c3972,this);}}const _0x5490d6=_0x42caba(0x24c),_0x4ab9de='collab-text-range-',_0xe34627=_0x42caba(0x3c1),_0x260daa=0x6,_0x5211e4=1.5,_0x1403b6=0x4,_0x4b4d7e=1.5,_0x15ecc8=_0x42caba(0x351);class _0x503cb4{constructor(_0x4af0b8,_0x451dd8,_0x195e00,_0x2d16c4){const _0xdd6212=_0x42caba;_0x450946(this,_0xdd6212(0x3d6),[]),_0x450946(this,_0xdd6212(0x245),null),_0x450946(this,_0xdd6212(0x162),null),_0x450946(this,_0xdd6212(0x38e),null),_0x450946(this,_0xdd6212(0x1f9),null),_0x450946(this,'_eventUnsubscribe',null),(this['_cursor']=_0x4af0b8,this[_0xdd6212(0x31e)]=_0x451dd8,this[_0xdd6212(0x12a)]=_0x195e00,this[_0xdd6212(0x175)]=_0x2d16c4,this[_0xdd6212(0x33b)]());}set['_hover'](_0x253a1c){const _0x3399ce=_0x42caba;_0x253a1c?(this[_0x3399ce(0x38e)]&&this['_anchorDot'][_0x3399ce(0x17d)](),this[_0x3399ce(0x162)]&&this[_0x3399ce(0x162)][_0x3399ce(0x176)]()):(this[_0x3399ce(0x38e)]&&this[_0x3399ce(0x38e)][_0x3399ce(0x176)](),this[_0x3399ce(0x162)]&&this[_0x3399ce(0x162)][_0x3399ce(0x17d)]());}[_0x42caba(0x310)](){const _0x155d10=_0x42caba;for(const _0x4353e4 of this[_0x155d10(0x3d6)])_0x4353e4[_0x155d10(0x310)]();this[_0x155d10(0x162)]&&this['_textBubble'][_0x155d10(0x310)](),this[_0x155d10(0x38e)]&&this[_0x155d10(0x38e)][_0x155d10(0x310)](),this[_0x155d10(0x245)]&&this['_anchor'][_0x155d10(0x310)](),this['_eventUnsubscribe']&&this[_0x155d10(0x360)]();}[_0x42caba(0x33b)](){const _0x34fcc1=_0x42caba;var _0x3da5aa;const {_docSkeleton:_0x944dd6,_document:_0x4d2dff}=this,{color:_0x231ed5,name:_0x3bb836,ranges:_0xcfc929}=this[_0x34fcc1(0x3bf)],_0x26e638=_0x4d2dff['getOffsetConfig'](),{docsLeft:_0x133ba6,docsTop:_0x241dee}=_0x26e638,_0x254a01=new _0x2afbb3['NodePositionConvertToCursor'](_0x26e638,_0x944dd6);for(const {startOffset:_0x463829,endOffset:_0x36cb1e,rangeType:_0x4eac4f,segmentId:_0x4dd186,segmentPage:_0x421423,collapsed:_0x2720ec,isActive:_0x27014b}of _0xcfc929){const _0x41e4e1=_0x944dd6['findNodePositionByCharIndex'](_0x463829,!0x0,_0x4dd186,_0x421423);let _0x3e75fc=_0x944dd6['findNodePositionByCharIndex'](_0x36cb1e,!0x0,_0x4dd186,_0x421423);if(_0x3e75fc==null&&(_0x3e75fc=_0x944dd6[_0x34fcc1(0x2eb)](_0x36cb1e-0x1,!0x1,_0x4dd186,_0x421423)),_0x27014b){const {contentBoxPointGroup:_0x12e67c}=_0x254a01['getRangePointData'](_0x3e75fc,_0x3e75fc);if(_0x12e67c[_0x34fcc1(0x1f4)]===0x0)continue;this[_0x34fcc1(0x3ec)](_0x231ed5,_0x12e67c,_0x133ba6,_0x241dee,_0x3bb836),this[_0x34fcc1(0x360)]=this['_handleHover']();}if(_0x41e4e1&&_0x3e75fc){if(_0x4eac4f===_0x99a487[_0x34fcc1(0x21b)][_0x34fcc1(0x3cc)]){const _0x11248d=new _0x2afbb3[(_0x34fcc1(0x1c7))](_0x26e638,_0x944dd6),{pointGroup:_0x5e8c5e}=(_0x3da5aa=_0x11248d['getRangePointData'](_0x41e4e1,_0x3e75fc))!=null?_0x3da5aa:{};if(_0x5e8c5e==null||_0x5e8c5e[_0x34fcc1(0x1f4)]===0x0)continue;this[_0x34fcc1(0x370)](_0x231ed5,_0x5e8c5e,_0x133ba6,_0x241dee);}else{if(!_0x2720ec){const {borderBoxPointGroup:_0x4c85c8}=_0x254a01['getRangePointData'](_0x41e4e1,_0x3e75fc);if(_0x4c85c8[_0x34fcc1(0x1f4)]===0x0)continue;this['_drawTextRange'](_0x231ed5,_0x4c85c8,_0x133ba6,_0x241dee);}}}}}['_drawAnchor'](_0x4755f3,_0x394d14,_0xb2f09a,_0x57340e,_0x49f96a){const _0x1b8cc4=_0x42caba,_0x890e06=this[_0x1b8cc4(0x346)](_0x394d14),{left:_0xefd138,top:_0x1e524f,height:_0x21e729}=_0x890e06,_0x1fb4a4=this[_0x1b8cc4(0x1b7)](),_0x33400d=_0x4b4d7e/_0x1fb4a4,_0x456f87=new _0x4b6de8[(_0x1b8cc4(0x220))](_0x5490d6+_0x99a487[_0x1b8cc4(0x10b)](_0x260daa),{'left':_0xefd138+_0xb2f09a-_0x33400d,'top':_0x1e524f+_0x57340e,'height':_0x21e729,'width':_0x5211e4,'fill':_0x4755f3||_0x4b6de8[_0x1b8cc4(0x3b0)](_0x99a487['COLORS']['black'],0x0),'strokeWidth':_0x33400d,'stroke':_0x15ecc8,'evented':!0x0});this['_anchor']=_0x456f87,this[_0x1b8cc4(0x31e)][_0x1b8cc4(0x3e1)](_0x456f87,_0x2afbb3[_0x1b8cc4(0x1c1)]);const _0x3b96fe=new _0x4b6de8['Rect'](_0x5490d6+_0x99a487[_0x1b8cc4(0x10b)](_0x260daa),{'left':_0xefd138+_0xb2f09a-_0x33400d,'top':_0x1e524f+_0x57340e-_0x1403b6/0x2,'height':_0x1403b6,'width':_0x1403b6,'fill':_0x4755f3||_0x4b6de8['getColor'](_0x99a487[_0x1b8cc4(0x1b5)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x4755f3||_0x4b6de8[_0x1b8cc4(0x3b0)](_0x99a487[_0x1b8cc4(0x1b5)][_0x1b8cc4(0x384)],0x0),'evented':!0x1});this[_0x1b8cc4(0x38e)]=_0x3b96fe,this[_0x1b8cc4(0x31e)][_0x1b8cc4(0x3e1)](_0x3b96fe,_0x2afbb3[_0x1b8cc4(0x1c1)]);const _0x3bdc4d=new _0x27d9e3(_0x5490d6+_0x99a487[_0x1b8cc4(0x10b)](_0x260daa),{'left':_0xefd138+_0xb2f09a-_0x33400d,'top':_0x1e524f+_0x57340e-_0x2206e4,'text':_0x49f96a,'color':_0x4755f3});this['_textBubble']=_0x3bdc4d,this[_0x1b8cc4(0x31e)][_0x1b8cc4(0x3e1)](_0x3bdc4d,_0x2afbb3['TEXT_RANGE_LAYER_INDEX']),this[_0x1b8cc4(0x1d4)]=!0x1;}[_0x42caba(0x398)](){const _0x4f11d0=_0x42caba,_0x561ba0=this['_anchor'][_0x4f11d0(0x15b)][_0x4f11d0(0x1d6)](()=>{const _0x5ee797=_0x4f11d0;this[_0x5ee797(0x1d4)]=!0x0;}),_0x1f36a9=this[_0x4f11d0(0x245)][_0x4f11d0(0x3a5)]['subscribeEvent'](()=>{const _0x12ba49=_0x4f11d0;this['_hideTimer']&&clearTimeout(this[_0x12ba49(0x1f9)]),this['_hideTimer']=setTimeout(()=>{const _0x57a8d1=_0x12ba49;this[_0x57a8d1(0x1d4)]=!0x1;},0x7d0);});return()=>{_0x561ba0['unsubscribe'](),_0x1f36a9['unsubscribe']();};}[_0x42caba(0x17c)](_0x2bcb57,_0x2f096d,_0x2dd89b,_0x36978a){const _0x4b07e6=_0x42caba,_0x10286a=new _0x99a487[(_0x4b07e6(0x27a))](_0x2bcb57)[_0x4b07e6(0x1ad)](0.2)['toRgbString'](),_0x44d4ff=new _0x4b6de8['RegularPolygon'](_0x4ab9de+_0x99a487[_0x4b07e6(0x10b)](_0x260daa),{'pointsGroup':_0x2f096d,'fill':_0x10286a||_0x4b6de8[_0x4b07e6(0x3b0)](_0x99a487[_0x4b07e6(0x1b5)]['black'],0.2),'left':_0x2dd89b,'top':_0x36978a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4b07e6(0x3d6)][_0x4b07e6(0x242)](_0x44d4ff),this[_0x4b07e6(0x31e)]['addObject'](_0x44d4ff,_0x2afbb3['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x2a1c43,_0x25964d,_0x2391e2,_0x1d9ad0){const _0x157967=_0x42caba,_0x4a14bb=new _0x99a487['ColorKit'](_0x2a1c43)[_0x157967(0x1ad)](0.2)[_0x157967(0x3d0)](),_0x13e832=new _0x4b6de8[(_0x157967(0x1a2))](_0xe34627+_0x99a487['generateRandomId'](_0x260daa),{'pointsGroup':_0x25964d,'fill':_0x4a14bb||_0x4b6de8['getColor'](_0x99a487['COLORS'][_0x157967(0x384)],0.2),'left':_0x2391e2,'top':_0x1d9ad0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x157967(0x3d6)][_0x157967(0x242)](_0x13e832),this['_scene'][_0x157967(0x3e1)](_0x13e832,_0x2afbb3[_0x157967(0x1c1)]);}[_0x42caba(0x346)](_0x1c919e){const _0xcd705f=_0x1c919e[0x0],_0x529ea4=_0xcd705f[0x0],_0x2212cd=_0xcd705f[0x2],{x:_0x1c36cb,y:_0x1b6a72}=_0x529ea4,{x:_0x1933cc,y:_0x372c14}=_0x2212cd;return{'left':_0x1c36cb,'top':_0x1b6a72,'width':_0x1933cc-_0x1c36cb,'height':_0x372c14-_0x1b6a72};}[_0x42caba(0x1b7)](){const _0x4be436=_0x42caba,{scaleX:_0x4e910c,scaleY:_0x1e3464}=this[_0x4be436(0x31e)][_0x4be436(0x3dd)]();return Math[_0x4be436(0x1a4)](_0x4e910c,_0x1e3464);}}var _0x55d01a=Object[_0x42caba(0x27d)],_0x5aca4e=(_0x1d95e7,_0x3b51ca,_0xb95d36,_0x499b58)=>{const _0x35df30=_0x42caba;for(var _0x1b1d80=_0x499b58>0x1?void 0x0:_0x499b58?_0x55d01a(_0x3b51ca,_0xb95d36):_0x3b51ca,_0x381f80=_0x1d95e7[_0x35df30(0x1f4)]-0x1,_0x5ea9d0;_0x381f80>=0x0;_0x381f80--)(_0x5ea9d0=_0x1d95e7[_0x381f80])&&(_0x1b1d80=_0x5ea9d0(_0x1b1d80)||_0x1b1d80);return _0x1b1d80;},_0x499290=(_0x57e731,_0x3085a3)=>(_0xdbf95e,_0x495f6b)=>_0x3085a3(_0xdbf95e,_0x495f6b,_0x57e731);let _0x459cb5=class extends _0x99a487[_0x42caba(0x178)]{constructor(_0x5a1dd2,_0x513e66,_0xa04a11,_0x3d8a4e,_0x39c39d){const _0x545173=_0x42caba;super(),_0x450946(this,_0x545173(0x237),[]),_0x450946(this,_0x545173(0x32f),[]),(this['_context']=_0x5a1dd2,this[_0x545173(0x1c8)]=_0x513e66,this[_0x545173(0x341)]=_0xa04a11,this[_0x545173(0x390)]=_0x3d8a4e,this[_0x545173(0x202)]=_0x39c39d,this['_init']());}['_init'](){const _0x1b6cc9=_0x42caba,_0x17079a=this['_context'][_0x1b6cc9(0x1c6)],_0x103efc=this[_0x1b6cc9(0x1c8)];this[_0x1b6cc9(0x170)](_0xf18ada[_0x1b6cc9(0x3b5)]([this[_0x1b6cc9(0x341)][_0x1b6cc9(0x199)](_0x17079a),this['_themeService'][_0x1b6cc9(0x30c)]])['pipe'](_0x4f8855[_0x1b6cc9(0x139)](([_0x2a057d,_0x338a94])=>({'skeleton':_0x103efc[_0x1b6cc9(0x389)](),'cursors':[..._0x2a057d[_0x1b6cc9(0x212)]()][_0x1b6cc9(0x2b4)](_0x181ff3=>({..._0x181ff3,'color':this[_0x1b6cc9(0x202)][_0x1b6cc9(0x37e)](_0x181ff3[_0x1b6cc9(0x172)])}))})))[_0x1b6cc9(0x222)](_0x293328=>{const _0x2aa33c=_0x1b6cc9;if(this[_0x2aa33c(0x109)](),_0x293328){const {skeleton:_0x9303e,cursors:_0x4c002d}=_0x293328;this['_updateCollabCursors'](_0x9303e,_0x4c002d);}})),this[_0x1b6cc9(0x3b8)](),this['_initCommandExecutedListener']();}[_0x42caba(0x1b6)](_0x191c28,_0x5ab3f3){const _0xae3548=_0x42caba,{scene:_0xcf59df,mainComponent:_0x26613e}=this[_0xae3548(0x368)],_0x1668a6=_0x5ab3f3['map'](_0x30723d=>new _0x503cb4(_0x30723d,_0xcf59df,_0x191c28,_0x26613e));this['_cursorShapes']=_0x1668a6,this[_0xae3548(0x32f)]=_0x5ab3f3;}[_0x42caba(0x16e)](){const _0x257982=_0x42caba;this['_removeCollabCursors']();const {scene:_0x3138ad,mainComponent:_0xa52903}=this[_0x257982(0x368)],_0x279f84=this[_0x257982(0x1c8)][_0x257982(0x389)](),_0x4bd265=this['_cursors'][_0x257982(0x139)](_0x5655c3=>new _0x503cb4(_0x5655c3,_0x3138ad,_0x279f84,_0xa52903));this['_cursorShapes']=_0x4bd265;}[_0x42caba(0x109)](){const _0x47ccfc=_0x42caba;this[_0x47ccfc(0x237)][_0x47ccfc(0x2e5)](_0x2c2321=>_0x2c2321[_0x47ccfc(0x310)]()),this['_cursorShapes']=[];}[_0x42caba(0x2ee)](){const _0x29b299=_0x42caba,_0x136a05=[_0x2afbb3['SetDocZoomRatioOperation']['id']];this[_0x29b299(0x170)](this[_0x29b299(0x390)]['onCommandExecuted'](_0x366aef=>{const _0x2f916e=_0x29b299;_0x136a05[_0x2f916e(0x2f0)](_0x366aef['id'])&&_0x366aef['params'][_0x2f916e(0x1c6)]===this[_0x2f916e(0x368)]['unitId']&&this[_0x2f916e(0x16e)]();}));}[_0x42caba(0x3b8)](){const _0x3bec35=_0x42caba;this[_0x3bec35(0x170)](_0x99a487['fromEventSubject'](this[_0x3bec35(0x368)][_0x3bec35(0x399)][_0x3bec35(0x25d)])[_0x3bec35(0x1cd)](_0x4f8855['filter'](_0x49b6d8=>_0x49b6d8[_0x3bec35(0x2d7)]===_0x4b6de8['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x3bec35(0x189)]),_0x4f8855[_0x3bec35(0x30d)](0x10))[_0x3bec35(0x222)](()=>{this['_refreshCollabCursors']();}));}};_0x459cb5=_0x5aca4e([_0x499290(0x1,_0x99a487[_0x42caba(0x2ac)](_0x2d04b0[_0x42caba(0x2c4)])),_0x499290(0x2,_0x99a487['Inject'](_0x550d1c)),_0x499290(0x3,_0x99a487[_0x42caba(0x277)]),_0x499290(0x4,_0x99a487[_0x42caba(0x2ac)](_0x99a487['ThemeService']))],_0x459cb5);const _0x52aac3=0x1,_0x3f8611=1.5;class _0x232e7e extends _0x4b6de8[_0x42caba(0x1ca)]{constructor(_0x3f1a1f,_0xb01a1f){const _0x2aea8c=_0x42caba;super(_0x3f1a1f,_0xb01a1f),_0x450946(this,_0x2aea8c(0x2b1)),_0x450946(this,'_hovered',!0x1),_0x450946(this,_0x2aea8c(0x3c3)),_0x450946(this,_0x2aea8c(0x14e),''),_0x450946(this,_0x2aea8c(0x112),_0x2aea8c(0x221)),_0x450946(this,_0x2aea8c(0x296)),(_0xb01a1f&&this['setShapeProps'](_0xb01a1f),this[_0x2aea8c(0x15b)][_0x2aea8c(0x1d6)](()=>this[_0x2aea8c(0x318)]({'hovered':!0x0})),this[_0x2aea8c(0x3a5)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x3d8a83){const _0x9918da=_0x42caba;var _0x239f9b,_0x138df3,_0x5cd3bc,_0x3d4dbb,_0x2b92cb,_0x558300;this['_color']=(_0x239f9b=_0x3d8a83[_0x9918da(0x172)])!=null?_0x239f9b:this[_0x9918da(0x2b1)],this[_0x9918da(0x378)]=(_0x138df3=_0x3d8a83[_0x9918da(0x3af)])!=null?_0x138df3:this[_0x9918da(0x378)],this['_range']=(_0x5cd3bc=_0x3d8a83[_0x9918da(0x25b)])!=null?_0x5cd3bc:this[_0x9918da(0x3c3)],this[_0x9918da(0x14e)]=(_0x3d4dbb=_0x3d8a83[_0x9918da(0x3ab)])!=null?_0x3d4dbb:this[_0x9918da(0x14e)],this[_0x9918da(0x112)]=(_0x2b92cb=_0x3d8a83[_0x9918da(0x2c5)])!=null?_0x2b92cb:this[_0x9918da(0x112)],this['_backgroundColor']=(_0x558300=_0x3d8a83[_0x9918da(0x33c)])!=null?_0x558300:this['_backgroundColor'],this[_0x9918da(0x299)]({'width':_0x3d8a83[_0x9918da(0x214)],'height':_0x3d8a83[_0x9918da(0x319)]});}['onMouseMove'](_0x87c2a3){const _0x570221=_0x42caba,{row:_0x2e2f60,column:_0x3a8037}=_0x87c2a3;if(_0x2e2f60>=this[_0x570221(0x3c3)][_0x570221(0x20e)]&&_0x2e2f60<=this[_0x570221(0x3c3)]['endRow']&&_0x3a8037>=this[_0x570221(0x3c3)][_0x570221(0x39d)]&&_0x3a8037<=this[_0x570221(0x3c3)]['endColumn']){this[_0x570221(0x318)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x42caba(0x3a0)](_0x12aac1){return!0x1;}['_draw'](_0x458b30){const _0x29bd4e=_0x42caba;_0x4b6de8[_0x29bd4e(0x220)][_0x29bd4e(0x1f3)](_0x458b30,{'width':this[_0x29bd4e(0x214)],'height':this[_0x29bd4e(0x319)],'strokeWidth':_0x3f8611,'stroke':this[_0x29bd4e(0x2b1)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x458b30['save'](),_0x458b30['transform'](0x1,0x0,0x0,0x1,this[_0x29bd4e(0x214)],this[_0x29bd4e(0x112)]===_0x29bd4e(0x1da)?0x0:-_0x2206e4),_0x27d9e3[_0x29bd4e(0x1f3)](_0x458b30,{'text':this[_0x29bd4e(0x14e)],'color':this[_0x29bd4e(0x2b1)]}),_0x458b30[_0x29bd4e(0x255)]());}}var _0x463e44=Object[_0x42caba(0x27d)],_0x262cfd=(_0x18d593,_0x1467f9,_0x266b5b,_0x1917c5)=>{const _0x18ba10=_0x42caba;for(var _0x9aceaa=_0x1917c5>0x1?void 0x0:_0x1917c5?_0x463e44(_0x1467f9,_0x266b5b):_0x1467f9,_0x29d9dc=_0x18d593[_0x18ba10(0x1f4)]-0x1,_0x23e8c9;_0x29d9dc>=0x0;_0x29d9dc--)(_0x23e8c9=_0x18d593[_0x29d9dc])&&(_0x9aceaa=_0x23e8c9(_0x9aceaa)||_0x9aceaa);return _0x9aceaa;},_0x83315=(_0x1578d8,_0x4906f5)=>(_0x34c91a,_0x843c33)=>_0x4906f5(_0x34c91a,_0x843c33,_0x1578d8);const _0x4c2212=0x1389;let _0x4db1a0=class extends _0x99a487['RxDisposable']{constructor(_0x42d25e,_0x4145cf,_0x4bc792,_0x1f612e){const _0x51be4d=_0x42caba;super(),_0x450946(this,_0x51be4d(0x32f),new Set()),_0x450946(this,_0x51be4d(0x196),null),(this[_0x51be4d(0x368)]=_0x42d25e,this[_0x51be4d(0x19a)]=_0x4145cf,this[_0x51be4d(0x341)]=_0x4bc792,this[_0x51be4d(0x202)]=_0x1f612e,this['_init']());}[_0x42caba(0x273)](){const _0x18b139=_0x42caba;this[_0x18b139(0x19a)][_0x18b139(0x182)][_0x18b139(0x1cd)](_0x4f8855[_0x18b139(0x141)](this[_0x18b139(0x1ef)]),_0x4f8855[_0x18b139(0x35b)](_0x1238f2=>{const _0x47a760=_0x18b139;if(_0x1238f2){const _0x2d50c6=_0x1238f2['sheetId'];return _0xf18ada[_0x47a760(0x3b5)](this['_collabCursorController']['getCollabCursors$'](this['_context'][_0x47a760(0x1c6)]),this[_0x47a760(0x202)][_0x47a760(0x30c)])[_0x47a760(0x1cd)](_0x4f8855[_0x47a760(0x139)](([_0x3bbbd1,_0x545054])=>{const _0x55f5c8=_0x47a760,_0x5b0870=new Map();return _0x3bbbd1[_0x55f5c8(0x2e5)]((_0x23ead0,_0x40eacf)=>{const _0x22a069=_0x55f5c8;if(_0x23ead0[_0x22a069(0x10f)]===_0x2d50c6){const _0x426e0b={..._0x23ead0};_0x426e0b[_0x22a069(0x172)]=this[_0x22a069(0x202)][_0x22a069(0x37e)](_0x23ead0['color']),_0x5b0870['set'](_0x40eacf,_0x426e0b);}}),{'skeleton':_0x1238f2,'cursors':_0x5b0870};}));}return _0xf18ada['of']({'skeleton':null,'cursors':new Map()});}))[_0x18b139(0x222)](({skeleton:_0x801a3a,cursors:_0x28f338})=>{this['_removeCollabCursors'](),_0x801a3a&&this['_updateCollabCursors'](_0x801a3a,_0x28f338);}),this[_0x18b139(0x19a)][_0x18b139(0x182)]['subscribe'](_0x5afeaa=>{const _0x342507=_0x18b139;if(_0x5afeaa==null)return;const {skeleton:_0x335677}=_0x5afeaa,{scene:_0x419c16}=this[_0x342507(0x368)];_0x419c16[_0x342507(0x223)][_0x342507(0x1d6)](_0x99a487[_0x342507(0x1aa)](_0x30b577=>{const _0x3e847b=_0x342507;var _0x287db5,_0x3a8928;const {offsetX:_0xf51349,offsetY:_0x2370bd}=_0x30b577,{x:_0xa0cd7f,y:_0x1c0daf}=_0x419c16[_0x3e847b(0x140)](_0x4b6de8[_0x3e847b(0x31a)][_0x3e847b(0x270)]([_0xf51349,_0x2370bd])),{scaleX:_0x323d71,scaleY:_0x1470b5}=_0x419c16[_0x3e847b(0x3dd)](),_0x39e14f=_0x419c16[_0x3e847b(0x329)](_0x4b6de8[_0x3e847b(0x276)][_0x3e847b(0x2d9)]),_0x56e156=_0x419c16[_0x3e847b(0x305)](_0x4b6de8[_0x3e847b(0x31a)][_0x3e847b(0x270)]([_0xa0cd7f,_0x1c0daf]),_0x39e14f),_0x28fcbb=_0x335677[_0x3e847b(0x12e)](_0xf51349,_0x2370bd,_0x323d71,_0x1470b5,_0x56e156);((_0x287db5=this[_0x3e847b(0x196)])==null?void 0x0:_0x287db5[_0x3e847b(0x10a)])===_0x28fcbb[_0x3e847b(0x10a)]&&((_0x3a8928=this[_0x3e847b(0x196)])==null?void 0x0:_0x3a8928['row'])===_0x28fcbb[_0x3e847b(0x126)]||this['_cursors'][_0x3e847b(0x2e5)](_0x2c7a4d=>{const _0x55e596=_0x3e847b;_0x2c7a4d[_0x55e596(0x344)](_0x28fcbb);});},0x64));});}[_0x42caba(0x1b6)](_0x2f7bd7,_0x366fad){const _0x1ba229=_0x42caba;var _0x5ad0e3;const _0x21b0ed=(_0x5ad0e3=this[_0x1ba229(0x19a)][_0x1ba229(0x3a7)]())==null?void 0x0:_0x5ad0e3[_0x1ba229(0x1bc)];if(!_0x21b0ed)return;const _0x3a910a=this[_0x1ba229(0x345)]();if(!_0x3a910a)return;this['_cursors'][_0x1ba229(0x2e5)](_0x47c988=>{_0x47c988['makeDirty']();});const {scene:_0x218ef9}=_0x3a910a,_0x3f7385=_0x85a335(Array[_0x1ba229(0x283)](_0x366fad[_0x1ba229(0x212)]()))[_0x1ba229(0x139)](_0x2fc6ff=>{const _0x17b379=_0x1ba229,{color:_0x3b8857,range:_0x57ba58,name:_0x1b28ae,selection:_0x14c52f,sheetID:_0x165c44}=_0x2fc6ff,{startColumn:_0x58269d,startRow:_0x2a512a,endColumn:_0x4e4a2f,endRow:_0x444c3e}=_0x57ba58,_0x581e9f=_0x31a5a7[_0x17b379(0x282)](_0x2a512a,_0x58269d,_0x218ef9,_0x21b0ed),_0x36e7f5=_0x31a5a7[_0x17b379(0x282)](_0x444c3e,_0x4e4a2f,_0x218ef9,_0x21b0ed),{columnHeaderHeightAndMarginTop:_0x100674}=_0x21b0ed,{startX:_0x1b5b06,startY:_0x2744a}=_0x581e9f,{endX:_0x5b7701,endY:_0x3cb69f}=_0x36e7f5,_0x38ca5b=_0x5b7701-_0x1b5b06,_0x452386=_0x3cb69f-_0x2744a,_0x249adc={'labelPosition':_0x2744a-_0x100674>=_0x2206e4?_0x17b379(0x221):'bottom','sheetID':_0x165c44,'range':_0x57ba58,'color':_0x3b8857,'name':_0x1b28ae,'selection':_0x14c52f,'left':_0x1b5b06,'top':_0x2744a,'width':_0x38ca5b,'height':_0x452386,'evented':!0x1,'zIndex':_0x4c2212};return new _0x232e7e(_0x1b28ae,_0x249adc);});_0x218ef9[_0x1ba229(0x138)](_0x3f7385,_0x52aac3),this[_0x1ba229(0x32f)]=new Set(_0x3f7385);}[_0x42caba(0x109)](){const _0x2c0b8d=_0x42caba;var _0x57136e;(_0x57136e=this[_0x2c0b8d(0x32f)])==null||_0x57136e[_0x2c0b8d(0x2e5)](_0x164360=>_0x164360[_0x2c0b8d(0x310)]());}[_0x42caba(0x345)](){const _0x357982=_0x42caba;return _0x31a5a7[_0x357982(0x26d)](this['_context'][_0x357982(0x393)],this[_0x357982(0x368)]);}};_0x4db1a0=_0x262cfd([_0x83315(0x1,_0x99a487[_0x42caba(0x2ac)](_0x31a5a7['SheetSkeletonManagerService'])),_0x83315(0x2,_0x99a487[_0x42caba(0x2ac)](_0x550d1c)),_0x83315(0x3,_0x99a487['Inject'](_0x99a487[_0x42caba(0x347)]))],_0x4db1a0);function _0x85a335(_0x25f48d){const _0x3b2a7b=_0x42caba,_0x5f4950=new Map();return _0x25f48d[_0x3b2a7b(0x2e5)](_0x224f9f=>{const _0x5279de=_0x3b2a7b;if(_0x5f4950[_0x5279de(0x185)](_0x224f9f[_0x5279de(0x27f)])){const _0x16e628=_0x5f4950[_0x5279de(0x394)](_0x224f9f['selection']);_0x16e628[_0x5279de(0x3ab)]+=',\x20'+_0x224f9f[_0x5279de(0x3ab)];}else _0x5f4950[_0x5279de(0x2ff)](_0x224f9f['selection'],_0x224f9f);}),Array[_0x3b2a7b(0x283)](_0x5f4950['values']());}var _0x1d1e8c=Object[_0x42caba(0x27d)],_0x54cbb9=(_0x435c4f,_0x3367ed,_0x59a02d,_0x21cb07)=>{const _0x318782=_0x42caba;for(var _0x1fec6a=_0x21cb07>0x1?void 0x0:_0x21cb07?_0x1d1e8c(_0x3367ed,_0x59a02d):_0x3367ed,_0x2c9bfd=_0x435c4f[_0x318782(0x1f4)]-0x1,_0x294de9;_0x2c9bfd>=0x0;_0x2c9bfd--)(_0x294de9=_0x435c4f[_0x2c9bfd])&&(_0x1fec6a=_0x294de9(_0x1fec6a)||_0x1fec6a);return _0x1fec6a;},_0x12c3c2=(_0x5b5a9f,_0x43745b)=>(_0x248359,_0xdf4841)=>_0x43745b(_0x248359,_0xdf4841,_0x5b5a9f);let _0x54c86a=class extends _0x99a487[_0x42caba(0x238)]{constructor(_0x46c6ae,_0x370b7e,_0x3a3fe2,_0x3e39e3,_0x352d2f,_0x1c8b36){const _0x237791=_0x42caba;super(),this['_beforeCloseService']=_0x46c6ae,this['_localCacheService']=_0x370b7e,this[_0x237791(0x3db)]=_0x3a3fe2,this[_0x237791(0x361)]=_0x3e39e3,this[_0x237791(0x108)]=_0x352d2f,this[_0x237791(0x213)]=_0x1c8b36,this[_0x237791(0x2e7)](),this[_0x237791(0x13b)]();}['_setupBeforeClosingHandler'](){const _0x5757f9=_0x42caba;this[_0x5757f9(0x170)](this[_0x5757f9(0x11c)][_0x5757f9(0x3e2)](()=>{const _0xd17024=_0x5757f9;if(this['_localCacheService'][_0xd17024(0x13c)][_0xd17024(0x21c)])return this[_0xd17024(0x213)]['t']('collaboration.offline-data-not-saved');}));}[_0x42caba(0x13b)](){const _0x3b825f=_0x42caba;this[_0x3b825f(0x170)](this[_0x3b825f(0x3db)]['event$'][_0x3b825f(0x222)](_0xab945d=>{const _0x44b116=_0x3b825f;_0xab945d['id']===_0x40f345[_0x44b116(0x2c1)][_0x44b116(0x2e4)]&&this[_0x44b116(0x361)][_0x44b116(0x176)]({'type':_0xdfb808[_0x44b116(0x36d)][_0x44b116(0x314)],'content':this[_0x44b116(0x213)]['t']('collaboration.single-unit.warning')}),_0xab945d['id']===_0x40f345[_0x44b116(0x2c1)][_0x44b116(0x1fa)]&&this['_messageService'][_0x44b116(0x176)]({'type':_0xdfb808['MessageType']['Warning'],'content':this[_0x44b116(0x213)]['t']('collaboration.closeRoom')}),_0xab945d['id']===_0x40f345['CollaborationUIEventId'][_0x44b116(0x1fb)]&&this[_0x44b116(0x108)]['show']({'title':this[_0x44b116(0x213)]['t']('permission.title'),'content':this[_0x44b116(0x213)]['t'](_0x44b116(0x17f)),'type':_0x44b116(0x233),'duration':0x0}),_0xab945d['id']===_0x40f345[_0x44b116(0x2c1)][_0x44b116(0x24a)]&&this[_0x44b116(0x361)]['show']({'type':_0xdfb808[_0x44b116(0x36d)][_0x44b116(0x2c6)],'content':this[_0x44b116(0x213)]['t'](_0x44b116(0x1f0))+'('+_0xab945d[_0x44b116(0x343)]+')'}),_0xab945d['id']===_0x40f345[_0x44b116(0x2c1)][_0x44b116(0x1be)]&&this[_0x44b116(0x361)][_0x44b116(0x176)]({'type':_0xdfb808[_0x44b116(0x36d)]['Warning'],'content':this['_localeService']['t'](_0xab945d[_0x44b116(0x343)]||'')}),_0xab945d['id']===_0x40f345[_0x44b116(0x2c1)]['SOCKET_FAILED_RETRY']&&this[_0x44b116(0x361)][_0x44b116(0x176)]({'type':_0xdfb808[_0x44b116(0x36d)]['Warning'],'content':this[_0x44b116(0x213)]['t'](_0x44b116(0x20f))}),_0xab945d['id']===_0x40f345[_0x44b116(0x2c1)][_0x44b116(0x3b6)]&&this[_0x44b116(0x361)][_0x44b116(0x176)]({'type':_0xdfb808['MessageType']['Error'],'content':this[_0x44b116(0x213)]['t'](_0x44b116(0x129))}),_0xab945d['id']===_0x40f345[_0x44b116(0x2c1)][_0x44b116(0x177)]&&this[_0x44b116(0x361)][_0x44b116(0x176)]({'type':_0xdfb808[_0x44b116(0x36d)][_0x44b116(0x2c6)],'content':this[_0x44b116(0x213)]['t'](_0x44b116(0x3dc))});}));}};_0x54c86a=_0x54cbb9([_0x12c3c2(0x0,_0x3ebdd3[_0x42caba(0x339)]),_0x12c3c2(0x1,_0x40f345[_0x42caba(0x2da)]),_0x12c3c2(0x2,_0x99a487[_0x42caba(0x2ac)](_0x40f345['CollaborationUIEventService'])),_0x12c3c2(0x3,_0x3ebdd3[_0x42caba(0x3d7)]),_0x12c3c2(0x4,_0x3ebdd3[_0x42caba(0x2c9)]),_0x12c3c2(0x5,_0x99a487['Inject'](_0x99a487['LocaleService']))],_0x54c86a);var _0x449bad=Object[_0x42caba(0x27d)],_0x4b8caa=(_0x3121ac,_0xce286b,_0x3d7352,_0x24405d)=>{const _0x477b04=_0x42caba;for(var _0x4fae62=_0x24405d>0x1?void 0x0:_0x24405d?_0x449bad(_0xce286b,_0x3d7352):_0xce286b,_0x4e28ff=_0x3121ac[_0x477b04(0x1f4)]-0x1,_0x3af723;_0x4e28ff>=0x0;_0x4e28ff--)(_0x3af723=_0x3121ac[_0x4e28ff])&&(_0x4fae62=_0x3af723(_0x4fae62)||_0x4fae62);return _0x4fae62;},_0x395709=(_0x317776,_0x1059ab)=>(_0x27f75b,_0x2a310c)=>_0x1059ab(_0x27f75b,_0x2a310c,_0x317776);let _0x4dd5ae=class extends _0x99a487['Disposable']{constructor(_0x5bfc80,_0x505cd1,_0x2feaa0,_0x3a3dbe){const _0xdaecd2=_0x42caba;super(),_0x450946(this,_0xdaecd2(0x3ca)),(this[_0xdaecd2(0x3b2)]=_0x5bfc80,this['_httpService']=_0x505cd1,this[_0xdaecd2(0x27c)]=_0x2feaa0,this['_collaborationSessionService']=_0x3a3dbe,this[_0xdaecd2(0x273)]());}[_0x42caba(0x273)](){const _0xf91489=_0x42caba;this['_initWindowErrorListener'](),this[_0xf91489(0x29a)](),this['_monkeyPatchLogService'](),this[_0xf91489(0x383)]();}[_0x42caba(0x383)](){const _0x2cc7de=_0x42caba;this[_0x2cc7de(0x170)](this[_0x2cc7de(0x31b)][_0x2cc7de(0x201)][_0x2cc7de(0x222)](_0x2dee52=>{const _0x4f669e=_0x2cc7de;this[_0x4f669e(0x3ca)]=_0x2dee52==null?void 0x0:_0x2dee52[_0x4f669e(0x3c0)];}));}['_initWindowErrorListener'](){const _0x12a150=_0x42caba,_0x3c462f=_0x1efe31=>{const _0x29b127=_0x5833;var _0x5f01bd;this['_uploadLog']('error',_0x29b127(0x3c8)+_0x1efe31[_0x29b127(0x3a8)]+_0x29b127(0x1e8)+_0x1efe31['filename']+':'+_0x1efe31[_0x29b127(0x2fe)]+':'+_0x1efe31['colno']+'\x0a'+(((_0x5f01bd=_0x1efe31[_0x29b127(0x233)])==null?void 0x0:_0x5f01bd[_0x29b127(0x31d)])||''));};window[_0x12a150(0x2dc)](_0x12a150(0x233),_0x3c462f),this['disposeWithMe'](()=>{const _0x18cdd5=_0x12a150;window[_0x18cdd5(0x1a9)](_0x18cdd5(0x233),_0x3c462f);});}[_0x42caba(0x29a)](){const _0x466481=_0x42caba,_0x21b550=_0x53f428=>{const _0x58e0dc=_0x5833;this[_0x58e0dc(0x3ac)](_0x58e0dc(0x233),_0x58e0dc(0x26e)+_0x53f428[_0x58e0dc(0x26c)]);};window[_0x466481(0x2dc)]('unhandledrejection',_0x21b550),this[_0x466481(0x170)](()=>{const _0x1784c6=_0x466481;window['removeEventListener'](_0x1784c6(0x331),_0x21b550);});}[_0x42caba(0x32c)](){const _0x39947a=_0x42caba,_0x201dc6=this[_0x39947a(0x27c)][_0x39947a(0x233)][_0x39947a(0x37d)](this[_0x39947a(0x27c)]);this['_logService'][_0x39947a(0x233)]=(..._0xa547ef)=>{const _0x1886d8=_0x39947a,_0x83779c=_0xa547ef[_0x1886d8(0x139)](_0x5cc265=>_0x5cc265 instanceof Error?_0x5cc265[_0x1886d8(0x3a8)]+'\x0a'+_0x5cc265[_0x1886d8(0x31d)]:String(_0x5cc265))[_0x1886d8(0x371)]('\x20');this[_0x1886d8(0x3ac)](_0x1886d8(0x233),_0x1886d8(0x2d1)+_0x83779c),_0x201dc6(..._0xa547ef);},this[_0x39947a(0x170)](()=>{const _0x28cd81=_0x39947a;this[_0x28cd81(0x27c)]['error']=_0x201dc6;});}[_0x42caba(0x3ac)](_0x271c89,_0xc4234){const _0x4ab95e=_0x42caba;try{const _0x275e9b={'userId':this[_0x4ab95e(0x3ca)],'logLabel':_0x271c89,'content':_0xc4234};this[_0x4ab95e(0x3a9)][_0x4ab95e(0x39c)](_0x4ab95e(0x11f),{'body':_0x275e9b})[_0x4ab95e(0x33e)](()=>{});}catch{}}};_0x4dd5ae=_0x4b8caa([_0x395709(0x0,_0x99a487[_0x42caba(0x2ac)](_0x99a487[_0x42caba(0x2be)])),_0x395709(0x1,_0x99a487[_0x42caba(0x2ac)](_0xb43dfb['HTTPService'])),_0x395709(0x2,_0x99a487[_0x42caba(0x2e3)]),_0x395709(0x3,_0x99a487[_0x42caba(0x2ac)](_0x40f345['CollaborationSessionService']))],_0x4dd5ae);const _0x2a0609='collaboration-client-ui.config',_0x326bbf={};var _0x35fa5f=Object[_0x42caba(0x27d)],_0x841b8c=(_0x2e81a7,_0x36c23e,_0x3b1a28,_0x5069c1)=>{const _0x5904c1=_0x42caba;for(var _0x4f1732=_0x5069c1>0x1?void 0x0:_0x5069c1?_0x35fa5f(_0x36c23e,_0x3b1a28):_0x36c23e,_0x3a1ad7=_0x2e81a7[_0x5904c1(0x1f4)]-0x1,_0x2158b1;_0x3a1ad7>=0x0;_0x3a1ad7--)(_0x2158b1=_0x2e81a7[_0x3a1ad7])&&(_0x4f1732=_0x2158b1(_0x4f1732)||_0x4f1732);return _0x4f1732;},_0x3efac9=(_0x36ddc7,_0x57f284)=>(_0x112eec,_0x4427f1)=>_0x57f284(_0x112eec,_0x4427f1,_0x36ddc7);let _0x2f7c5c=class{constructor(_0x3d1d87,_0x3e38e9){this['_transformService']=_0x3d1d87,this['_renderManagerService']=_0x3e38e9;}[_0x42caba(0x335)](_0x1fdae3){const _0x579306=_0x42caba;this[_0x579306(0x3c9)](_0x1fdae3),this[_0x579306(0x153)](_0x1fdae3);}[_0x42caba(0x3de)](_0x48388d){const _0x2fd303=_0x42caba,{unitID:_0x4ab2fd}=_0x48388d,_0x242fd0=this[_0x2fd303(0x16d)][_0x2fd303(0x2f4)](_0x4ab2fd)[_0x2fd303(0x187)](_0x2afbb3[_0x2fd303(0x3a1)]),{redoCache:_0x1f58c4}=_0x242fd0[_0x2fd303(0x342)]();if(_0x1f58c4['length']===0x0)return _0x48388d;let _0x511b2f=_0x99a487[_0x2fd303(0x303)][_0x2fd303(0x385)](_0x48388d[_0x2fd303(0x226)][0x0]);for(let _0x2e59e4=0x0;_0x2e59e4<_0x1f58c4[_0x2fd303(0x1f4)];_0x2e59e4++){const _0x429fb9={'id':_0x2fd303(0x205),'params':{..._0x1f58c4[_0x2e59e4]}},_0x523c7b=this[_0x2fd303(0x17a)][_0x2fd303(0x1ac)](_0x511b2f,_0x429fb9,!0x1);if(_0x1d0b4f[_0x2fd303(0x113)](_0x523c7b))throw _0x523c7b['error'];_0x511b2f=_0x523c7b['m1Prime'];}return{..._0x99a487[_0x2fd303(0x303)][_0x2fd303(0x385)](_0x48388d),'mutations':[_0x511b2f]};}[_0x42caba(0x3c9)](_0x2eef08){const _0x27d225=_0x42caba,{unitID:_0x2a1590}=_0x2eef08,_0x49c779=this[_0x27d225(0x16d)][_0x27d225(0x2f4)](_0x2a1590)[_0x27d225(0x187)](_0x2afbb3[_0x27d225(0x3a1)]),{undoCache:_0x14220a,redoCache:_0x6eb2eb}=_0x49c779['getUndoRedoMutationParamsCache']();if(_0x14220a[_0x27d225(0x1f4)]===0x0||_0x6eb2eb['length']===0x0)return;const _0x17313a=[],_0x5be98a=[];let _0x394444=_0x99a487[_0x27d225(0x303)][_0x27d225(0x385)](_0x2eef08['mutations'][0x0]),_0x388a7b=_0x99a487['Tools'][_0x27d225(0x385)](_0x2eef08[_0x27d225(0x226)][0x0]);for(let _0x416a20=_0x14220a['length']-0x1;_0x416a20>=0x0;_0x416a20--){const _0x45fd8a={'id':_0x27d225(0x205),'params':{..._0x14220a[_0x416a20]}},_0x2a3009={'id':_0x27d225(0x205),'params':{..._0x6eb2eb[_0x416a20]}},_0x295183=this[_0x27d225(0x17a)][_0x27d225(0x1ac)](_0x394444,_0x45fd8a,!0x1),_0x4f820e=this[_0x27d225(0x17a)][_0x27d225(0x1ac)](_0x388a7b,_0x2a3009,!0x1);if(_0x1d0b4f[_0x27d225(0x113)](_0x295183))throw _0x295183[_0x27d225(0x233)];if(_0x1d0b4f[_0x27d225(0x113)](_0x4f820e))throw _0x4f820e[_0x27d225(0x233)];_0x17313a[_0x27d225(0x2cf)](_0x295183['m2Prime'][_0x27d225(0x3a2)]),_0x5be98a[_0x27d225(0x2cf)](_0x4f820e[_0x27d225(0x35e)][_0x27d225(0x3a2)]),_0x394444=_0x295183[_0x27d225(0x330)],_0x388a7b=_0x4f820e['m1Prime'];}_0x49c779['setUndoRedoMutationParamsCache']({'undoCache':_0x17313a,'redoCache':_0x5be98a});}['_transformPreviousActiveRange'](_0x5d041c){const _0x38d107=_0x42caba,{unitID:_0x302427}=_0x5d041c,_0x15442f=this[_0x38d107(0x16d)]['getRenderById'](_0x302427)[_0x38d107(0x187)](_0x2afbb3[_0x38d107(0x3a1)]),_0x2860c5=_0x15442f[_0x38d107(0x30f)]();if(_0x2860c5==null)return;const _0x1abe87=[{'id':_0x38d107(0x205),'params':{'unitId':_0x5d041c[_0x38d107(0x392)],'actions':null,'textRanges':[_0x2860c5]}}],_0x35b81e=this[_0x38d107(0x17a)][_0x38d107(0x21a)](_0x5d041c,_0x1abe87);if(!_0x1d0b4f[_0x38d107(0x1af)](_0x35b81e))throw _0x35b81e['error'];const _0x3bf0e0=_0x35b81e[_0x38d107(0x35e)][0x0]['params']['textRanges'];Array[_0x38d107(0x292)](_0x3bf0e0)&&_0x3bf0e0[_0x38d107(0x1f4)]&&_0x15442f[_0x38d107(0x16a)](_0x3bf0e0[0x0]);}};_0x2f7c5c=_0x841b8c([_0x3efac9(0x0,_0x1d0b4f[_0x42caba(0x3e4)]),_0x3efac9(0x1,_0x4b6de8[_0x42caba(0x128)])],_0x2f7c5c);var _0x186efd=Object['getOwnPropertyDescriptor'],_0x4d13f1=(_0x400ab4,_0x456c81,_0x53980e,_0x593142)=>{const _0x29744d=_0x42caba;for(var _0x522859=_0x593142>0x1?void 0x0:_0x593142?_0x186efd(_0x456c81,_0x53980e):_0x456c81,_0x13833e=_0x400ab4[_0x29744d(0x1f4)]-0x1,_0x50e866;_0x13833e>=0x0;_0x13833e--)(_0x50e866=_0x400ab4[_0x13833e])&&(_0x522859=_0x50e866(_0x522859)||_0x522859);return _0x522859;},_0xd0e5c8=(_0x42644f,_0x102e93)=>(_0x1d1580,_0x4a7caa)=>_0x102e93(_0x1d1580,_0x4a7caa,_0x42644f);let _0xf67027=class{constructor(_0xc2f8d0,_0x8a48d9,_0x55678d){const _0x3a1cc5=_0x42caba;this[_0x3a1cc5(0x3b2)]=_0xc2f8d0,this['_transformService']=_0x8a48d9,this[_0x3a1cc5(0x19d)]=_0x55678d;}[_0x42caba(0x2ae)](_0x271123){const _0x404b65=_0x42caba;this[_0x404b65(0x15d)](_0x271123);}[_0x42caba(0x3de)](_0x17fe22){const _0x2e6e9f=_0x42caba,{unitID:_0x1663b2}=_0x17fe22,{collaboration:_0x1e9769}=this[_0x2e6e9f(0x19d)][_0x2e6e9f(0x271)](_0x1663b2);if(_0x1e9769[_0x2e6e9f(0x1f4)]===0x0)return _0x17fe22;let _0x37c6c0=_0x99a487['Tools'][_0x2e6e9f(0x385)](_0x17fe22[_0x2e6e9f(0x226)][0x0]);for(let _0x1fe2df=0x0;_0x1fe2df<_0x1e9769[_0x2e6e9f(0x1f4)];_0x1fe2df++){const _0x220220={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1e9769[_0x1fe2df][_0x2e6e9f(0x1c6)],..._0x1e9769[_0x1fe2df][_0x2e6e9f(0x114)]}},_0x5073d1=this[_0x2e6e9f(0x17a)][_0x2e6e9f(0x1ac)](_0x37c6c0,_0x220220,!0x1);if(_0x1d0b4f[_0x2e6e9f(0x113)](_0x5073d1))throw _0x5073d1[_0x2e6e9f(0x233)];_0x37c6c0=_0x5073d1[_0x2e6e9f(0x330)];}return{..._0x99a487[_0x2e6e9f(0x303)][_0x2e6e9f(0x385)](_0x17fe22),'mutations':[_0x37c6c0]};}[_0x42caba(0x15d)](_0x474f51){const _0x4c53cf=_0x42caba,{unitID:_0x2462c8}=_0x474f51,{history:_0x27069e,collaboration:_0x308da8}=this['_docStateChangeManagerService'][_0x4c53cf(0x271)](_0x2462c8);if(_0x27069e[_0x4c53cf(0x1f4)]===0x0&&_0x308da8[_0x4c53cf(0x1f4)]===0x0)return;const _0x51f01d=[],_0x4011ef=[];let _0x4d5414=_0x99a487['Tools'][_0x4c53cf(0x385)](_0x474f51['mutations'][0x0]),_0x605b94=_0x99a487[_0x4c53cf(0x303)][_0x4c53cf(0x385)](_0x474f51[_0x4c53cf(0x226)][0x0]);for(let _0x533561=_0x27069e[_0x4c53cf(0x1f4)]-0x1;_0x533561>=0x0;_0x533561--){const _0x45f82e={'id':_0x4c53cf(0x205),'params':{'unitId':_0x27069e[_0x533561]['unitId'],..._0x27069e[_0x533561][_0x4c53cf(0x1c9)]}},_0x1fb748={'id':_0x4c53cf(0x205),'params':{'unitId':_0x27069e[_0x533561][_0x4c53cf(0x1c6)],..._0x27069e[_0x533561][_0x4c53cf(0x114)]}},_0x11bc88=this[_0x4c53cf(0x17a)][_0x4c53cf(0x1ac)](_0x4d5414,_0x45f82e,!0x1),_0x488cb0=this[_0x4c53cf(0x17a)]['transformMutation'](_0x605b94,_0x1fb748,!0x1);if(_0x1d0b4f[_0x4c53cf(0x113)](_0x11bc88))throw _0x11bc88[_0x4c53cf(0x233)];if(_0x1d0b4f[_0x4c53cf(0x113)](_0x488cb0))throw _0x488cb0[_0x4c53cf(0x233)];_0x51f01d[_0x4c53cf(0x2cf)]({..._0x27069e[_0x533561],'undoState':_0x11bc88[_0x4c53cf(0x35e)]['params'],'redoState':_0x488cb0[_0x4c53cf(0x35e)][_0x4c53cf(0x3a2)]}),_0x4d5414=_0x11bc88[_0x4c53cf(0x330)],_0x605b94=_0x488cb0[_0x4c53cf(0x330)];}_0x4d5414=_0x99a487[_0x4c53cf(0x303)][_0x4c53cf(0x385)](_0x474f51[_0x4c53cf(0x226)][0x0]),_0x605b94=_0x99a487[_0x4c53cf(0x303)]['deepClone'](_0x474f51[_0x4c53cf(0x226)][0x0]);for(let _0x4c60d0=_0x308da8['length']-0x1;_0x4c60d0>=0x0;_0x4c60d0--){const _0x509f3f={'id':_0x4c53cf(0x205),'params':{'unitId':_0x308da8[_0x4c60d0][_0x4c53cf(0x1c6)],..._0x308da8[_0x4c60d0][_0x4c53cf(0x1c9)]}},_0x3f58ff={'id':_0x4c53cf(0x205),'params':{'unitId':_0x308da8[_0x4c60d0][_0x4c53cf(0x1c6)],..._0x308da8[_0x4c60d0][_0x4c53cf(0x114)]}},_0x2d88fc=this[_0x4c53cf(0x17a)]['transformMutation'](_0x4d5414,_0x509f3f,!0x1),_0xdb7d48=this[_0x4c53cf(0x17a)][_0x4c53cf(0x1ac)](_0x605b94,_0x3f58ff,!0x1);if(_0x1d0b4f['isTransformMutationFailure'](_0x2d88fc))throw _0x2d88fc[_0x4c53cf(0x233)];if(_0x1d0b4f[_0x4c53cf(0x113)](_0xdb7d48))throw _0xdb7d48[_0x4c53cf(0x233)];_0x4011ef['unshift']({..._0x308da8[_0x4c60d0],'undoState':_0x2d88fc['m2Prime']['params'],'redoState':_0xdb7d48[_0x4c53cf(0x35e)][_0x4c53cf(0x3a2)]}),_0x4d5414=_0x2d88fc[_0x4c53cf(0x330)],_0x605b94=_0xdb7d48['m1Prime'];}this[_0x4c53cf(0x19d)]['setStateCache'](_0x2462c8,{'history':_0x51f01d,'collaboration':_0x4011ef});}};_0xf67027=_0x4d13f1([_0xd0e5c8(0x0,_0x99a487[_0x42caba(0x2ac)](_0x99a487['Injector'])),_0xd0e5c8(0x1,_0x1d0b4f['ITransformService']),_0xd0e5c8(0x2,_0x99a487[_0x42caba(0x2ac)](_0x2afbb3[_0x42caba(0x2a6)]))],_0xf67027);var _0xc8aa01=Object[_0x42caba(0x27d)],_0x2c6e0a=(_0x367a77,_0x17ee02,_0x4a9a0f,_0x347fe1)=>{const _0x22a307=_0x42caba;for(var _0x56a82f=_0x347fe1>0x1?void 0x0:_0x347fe1?_0xc8aa01(_0x17ee02,_0x4a9a0f):_0x17ee02,_0x46794c=_0x367a77[_0x22a307(0x1f4)]-0x1,_0xbaa816;_0x46794c>=0x0;_0x46794c--)(_0xbaa816=_0x367a77[_0x46794c])&&(_0x56a82f=_0xbaa816(_0x56a82f)||_0x56a82f);return _0x56a82f;},_0x5760ab=(_0x1bda41,_0x1bf4c3)=>(_0x1dbde1,_0x596b75)=>_0x1bf4c3(_0x1dbde1,_0x596b75,_0x1bda41);let _0x5db7b4=class{constructor(_0x272311,_0x12db12){this['_injector']=_0x272311,this['_transformService']=_0x12db12;}['transformSelections'](_0x598bca){const _0x596574=_0x42caba;var _0x2d2352;const _0x1c8144=this[_0x596574(0x3b2)][_0x596574(0x394)](_0x2d04b0[_0x596574(0x35c)]),_0x4923fa=(_0x2d2352=_0x1c8144[_0x596574(0x1a7)]())!=null?_0x2d2352:[];if(_0x4923fa['length']===0x0)return;const _0x241c6c=_0x598bca[_0x596574(0x392)],_0x543533=[{'id':_0x596574(0x205),'params':{'unitId':_0x241c6c,'actions':null,'textRanges':_0x4923fa}}],_0x51ae63=this['_transformService']['transformMutationsWithChangeset'](_0x598bca,_0x543533);if(!_0x1d0b4f[_0x596574(0x1af)](_0x51ae63))throw _0x51ae63[_0x596574(0x233)];const _0x279b33=_0x51ae63['m2Prime'][0x0][_0x596574(0x3a2)][_0x596574(0x248)];Array[_0x596574(0x292)](_0x279b33)&&_0x279b33[_0x596574(0x1f4)]&&_0x1c8144[_0x596574(0x309)](_0x279b33,{'unitId':_0x241c6c,'subUnitId':_0x241c6c},!0x1);}};_0x5db7b4=_0x2c6e0a([_0x5760ab(0x0,_0x99a487[_0x42caba(0x2ac)](_0x99a487[_0x42caba(0x2be)])),_0x5760ab(0x1,_0x1d0b4f['ITransformService'])],_0x5db7b4);var _0x5e18bb=Object[_0x42caba(0x27d)],_0x761dd4=(_0x316328,_0x3e08a5,_0x59c6ca,_0x2a003c)=>{for(var _0x2938ab=_0x2a003c>0x1?void 0x0:_0x2a003c?_0x5e18bb(_0x3e08a5,_0x59c6ca):_0x3e08a5,_0x45e777=_0x316328['length']-0x1,_0x2df735;_0x45e777>=0x0;_0x45e777--)(_0x2df735=_0x316328[_0x45e777])&&(_0x2938ab=_0x2df735(_0x2938ab)||_0x2938ab);return _0x2938ab;},_0x4b8bc8=(_0x379990,_0x57d754)=>(_0x5f13fb,_0x39fa65)=>_0x57d754(_0x5f13fb,_0x39fa65,_0x379990);let _0x494724=class extends _0x99a487[_0x42caba(0x238)]{constructor(_0x3e95e6,_0x4a85c1,_0x597549,_0x41a81b,_0x1a4221,_0x525944,_0x50de3e,_0xfe8977){const _0x47ad08=_0x42caba;super(),_0x450946(this,_0x47ad08(0x3e5),new _0xf18ada[(_0x47ad08(0x1c2))](_0x40f345[_0x47ad08(0x3cf)][_0x47ad08(0x293)])),(this[_0x47ad08(0x19d)]=_0x3e95e6,this['_collaborationController']=_0x4a85c1,this[_0x47ad08(0x2d6)]=_0x597549,this[_0x47ad08(0x219)]=_0x41a81b,this['_docTransformSelectionsService']=_0x1a4221,this['_docSyncEditingCollabCursorService']=_0x525944,this[_0x47ad08(0x361)]=_0x50de3e,this[_0x47ad08(0x213)]=_0xfe8977,this[_0x47ad08(0x2ba)]());}[_0x42caba(0x2ba)](){const _0x25c5fc=_0x42caba;this[_0x25c5fc(0x170)](this[_0x25c5fc(0x362)][_0x25c5fc(0x2e6)][_0x25c5fc(0x222)](_0x399885=>{const _0x1a1204=_0x25c5fc,_0x3943e1=this['_docStateChangeManagerService']['docStateChange$'][_0x1a1204(0x222)](_0x5e8685=>{const _0x5c3e57=_0x1a1204;if(_0x5e8685==null)return;const {unitId:_0x5d13d5,redoState:_0x21dee6,commandId:_0x268c6e}=_0x5e8685;if(_0x5d13d5!==_0x399885[_0x5c3e57(0x392)])return;const _0xd63c14={'id':_0x268c6e,'type':_0x99a487['CommandType']['MUTATION'],'params':{'unitId':_0x5d13d5,'actions':_0x21dee6['actions'],'textRanges':null}};_0x399885['onLocalMutation'](_0xd63c14);});if(_0x399885[_0x1a1204(0x170)](_0x3943e1),_0x399885 instanceof _0x40f345['DocCollaborationEntity']){const _0x403f77={'onTransformIME':_0x340afd=>this['_docTransformIMECacheService'][_0x1a1204(0x335)](_0x340afd),'onTransformState':_0x15b512=>this[_0x1a1204(0x219)]['transformStateCache'](_0x15b512),'onTransformSelections':_0x32bba8=>this['_docTransformSelectionsService'][_0x1a1204(0x295)](_0x32bba8),'onSyncEditingCollabCursor':_0x30a0fb=>this['_docSyncEditingCollabCursorService'][_0x1a1204(0x12c)](_0x30a0fb),'onTransformRemoteChangesetByIMECache':_0xbee9db=>this[_0x1a1204(0x2d6)]['transformRemoteChangeset'](_0xbee9db),'onTransformRemoteChangesetByStateCache':_0x2431bd=>this['_docTransformStateCacheService'][_0x1a1204(0x3de)](_0x2431bd)};_0x399885[_0x1a1204(0x1e7)](_0x403f77);}}));}};_0x494724=_0x761dd4([_0x4b8bc8(0x0,_0x99a487[_0x42caba(0x2ac)](_0x2afbb3[_0x42caba(0x2a6)])),_0x4b8bc8(0x1,_0x99a487[_0x42caba(0x2ac)](_0x40f345['CollaborationController'])),_0x4b8bc8(0x2,_0x99a487[_0x42caba(0x2ac)](_0x2f7c5c)),_0x4b8bc8(0x3,_0x99a487[_0x42caba(0x2ac)](_0xf67027)),_0x4b8bc8(0x4,_0x99a487['Inject'](_0x5db7b4)),_0x4b8bc8(0x5,_0x99a487[_0x42caba(0x2ac)](_0x151704)),_0x4b8bc8(0x6,_0x3ebdd3[_0x42caba(0x3d7)]),_0x4b8bc8(0x7,_0x99a487[_0x42caba(0x2ac)](_0x99a487[_0x42caba(0x35d)]))],_0x494724);var _0x34d078=(_0x14e0d0=>(_0x14e0d0[_0x14e0d0[_0x42caba(0x2d5)]=0x0]=_0x42caba(0x2d5),_0x14e0d0[_0x14e0d0['OK']=0x1]='OK',_0x14e0d0[_0x14e0d0[_0x42caba(0x200)]=0x2]=_0x42caba(0x200),_0x14e0d0[_0x14e0d0[_0x42caba(0x1fb)]=0x3]=_0x42caba(0x1fb),_0x14e0d0[_0x14e0d0['NOT_FOUND']=0x4]='NOT_FOUND',_0x14e0d0[_0x14e0d0[_0x42caba(0x272)]=0x5]='UNAUTHENTICATED',_0x14e0d0[_0x14e0d0[_0x42caba(0x3ae)]=0x6]=_0x42caba(0x3ae),_0x14e0d0[_0x14e0d0[_0x42caba(0x195)]=0x7]=_0x42caba(0x195),_0x14e0d0[_0x14e0d0['TOO_MANY_REQUESTS']=0x8]=_0x42caba(0x350),_0x14e0d0[_0x14e0d0['COMPLETION_FINISHED']=0x9]=_0x42caba(0x301),_0x14e0d0[_0x14e0d0[_0x42caba(0x2e8)]=0xa]=_0x42caba(0x2e8),_0x14e0d0[_0x14e0d0[_0x42caba(0x340)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x14e0d0[_0x14e0d0[_0x42caba(0x317)]=0xc]=_0x42caba(0x317),_0x14e0d0[_0x14e0d0[_0x42caba(0x327)]=0xd]=_0x42caba(0x327),_0x14e0d0[_0x14e0d0['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x42caba(0x302),_0x14e0d0[_0x14e0d0[_0x42caba(0x1db)]=0xf]=_0x42caba(0x1db),_0x14e0d0[_0x14e0d0[_0x42caba(0x3d2)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x14e0d0[_0x14e0d0['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x42caba(0x20c),_0x14e0d0[_0x14e0d0[_0x42caba(0x1fe)]=0x65]=_0x42caba(0x1fe),_0x14e0d0[_0x14e0d0[_0x42caba(0x37c)]=0xc9]='USER_NOT_FOUND',_0x14e0d0[_0x14e0d0[_0x42caba(0x22b)]=0xca]=_0x42caba(0x22b),_0x14e0d0[_0x14e0d0[_0x42caba(0x209)]=0x1389]=_0x42caba(0x209),_0x14e0d0[_0x14e0d0[_0x42caba(0x2bd)]=0x1771]=_0x42caba(0x2bd),_0x14e0d0[_0x14e0d0[_0x42caba(0x377)]=0x1772]=_0x42caba(0x377),_0x14e0d0[_0x14e0d0[_0x42caba(0x367)]=0x1773]=_0x42caba(0x367),_0x14e0d0[_0x14e0d0[_0x42caba(0x19e)]=0x1b59]=_0x42caba(0x19e),_0x14e0d0[_0x14e0d0['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x14e0d0[_0x14e0d0['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x42caba(0x224),_0x14e0d0[_0x14e0d0[_0x42caba(0x313)]=0x1b5c]=_0x42caba(0x313),_0x14e0d0[_0x14e0d0[_0x42caba(0x3d8)]=0x1b5d]=_0x42caba(0x3d8),_0x14e0d0[_0x14e0d0[_0x42caba(0x366)]=0x1f41]=_0x42caba(0x366),_0x14e0d0[_0x14e0d0[_0x42caba(0x304)]=0x2329]=_0x42caba(0x304),_0x14e0d0[_0x14e0d0[_0x42caba(0x161)]=0x232a]=_0x42caba(0x161),_0x14e0d0[_0x14e0d0[_0x42caba(0x324)]=0x232b]=_0x42caba(0x324),_0x14e0d0[_0x14e0d0[_0x42caba(0x386)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x14e0d0[_0x14e0d0[_0x42caba(0x1ff)]=0x232d]=_0x42caba(0x1ff),_0x14e0d0[_0x14e0d0[_0x42caba(0x376)]=0x2711]=_0x42caba(0x376),_0x14e0d0[_0x14e0d0[_0x42caba(0x215)]=0x2712]=_0x42caba(0x215),_0x14e0d0[_0x14e0d0[_0x42caba(0x11d)]=0x2713]=_0x42caba(0x11d),_0x14e0d0[_0x14e0d0['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x14e0d0[_0x14e0d0[_0x42caba(0x395)]=0x271a]=_0x42caba(0x395),_0x14e0d0[_0x14e0d0[_0x42caba(0x19b)]=0x271b]=_0x42caba(0x19b),_0x14e0d0[_0x14e0d0[_0x42caba(0x1d2)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x14e0d0[_0x14e0d0[_0x42caba(0x2ec)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x14e0d0[_0x14e0d0[_0x42caba(0x274)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x14e0d0[_0x14e0d0[_0x42caba(0x26f)]=0x271f]=_0x42caba(0x26f),_0x14e0d0[_0x14e0d0[_0x42caba(0x117)]=0x2720]=_0x42caba(0x117),_0x14e0d0[_0x14e0d0[_0x42caba(0x149)]=0x2af9]=_0x42caba(0x149),_0x14e0d0[_0x14e0d0[_0x42caba(0x23f)]=0x2ee1]=_0x42caba(0x23f),_0x14e0d0[_0x14e0d0['INVALID_INVITE_CODE']=0x2ee2]=_0x42caba(0x3e9),_0x14e0d0[_0x14e0d0['INVITE_CODE_REQUIRED']=0x2ee3]=_0x42caba(0x259),_0x14e0d0[_0x14e0d0[_0x42caba(0x32a)]=0x2ee4]=_0x42caba(0x32a),_0x14e0d0[_0x14e0d0[_0x42caba(0x2bb)]=0x2ee5]=_0x42caba(0x2bb),_0x14e0d0[_0x14e0d0['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x14e0d0[_0x14e0d0[_0x42caba(0x286)]=0x32ca]=_0x42caba(0x286),_0x14e0d0[_0x14e0d0['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x14e0d0[_0x14e0d0[_0x42caba(0x37b)]=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x14e0d0[_0x14e0d0[_0x42caba(0x3d5)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x14e0d0[_0x14e0d0['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x14e0d0[_0x14e0d0[_0x42caba(0x2f6)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x14e0d0[_0x14e0d0[_0x42caba(0x2d3)]=0x36b5]=_0x42caba(0x2d3),_0x14e0d0[_0x14e0d0[_0x42caba(0x18a)]=0x36b6]=_0x42caba(0x18a),_0x14e0d0[_0x14e0d0[_0x42caba(0x3b9)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x14e0d0[_0x14e0d0[_0x42caba(0x122)]=0x36b8]=_0x42caba(0x122),_0x14e0d0[_0x14e0d0[_0x42caba(0x2f2)]=0x3715]=_0x42caba(0x2f2),_0x14e0d0[_0x14e0d0[_0x42caba(0x36a)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x14e0d0[_0x14e0d0[_0x42caba(0x3d9)]=0x3717]=_0x42caba(0x3d9),_0x14e0d0[_0x14e0d0[_0x42caba(0x358)]=0x37dd]=_0x42caba(0x358),_0x14e0d0[_0x14e0d0[_0x42caba(0x118)]=0x3a99]=_0x42caba(0x118),_0x14e0d0[_0x14e0d0[_0x42caba(0x249)]=0x3a9a]=_0x42caba(0x249),_0x14e0d0[_0x14e0d0['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x14e0d0[_0x14e0d0[_0x42caba(0x3d3)]=0x3a9c]=_0x42caba(0x3d3),_0x14e0d0[_0x14e0d0[_0x42caba(0x239)]=0x3a9d]=_0x42caba(0x239),_0x14e0d0[_0x14e0d0[_0x42caba(0x289)]=0x3a9e]=_0x42caba(0x289),_0x14e0d0[_0x14e0d0['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x14e0d0[_0x14e0d0[_0x42caba(0x298)]=0x3e81]=_0x42caba(0x298),_0x14e0d0[_0x14e0d0['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x14e0d0))(_0x34d078||{});function _0x7d739d(_0x1f16e1){const _0x378ead=_0x42caba;var _0x2b9220,_0x3a0dea;const _0x38b7f7=(_0x2b9220=_0x1f16e1['stageInfo'])==null?void 0x0:_0x2b9220[_0x378ead(0x25c)],_0x48ea96=((_0x3a0dea=_0x1f16e1[_0x378ead(0x1ea)])==null?void 0x0:_0x3a0dea['totalFormulasToCalculate'])||0x0;return _0x38b7f7===_0x7369e4[_0x378ead(0x26b)][_0x378ead(0x11b)]&&_0x48ea96>0x0;}function _0x5de4b5(_0x3a0813){const _0x275d73=_0x42caba;return _0x3a0813[_0x275d73(0x1e9)]===_0x7369e4[_0x275d73(0x159)][_0x275d73(0x381)];}var _0x3d089b=Object[_0x42caba(0x27d)],_0x16e44d=(_0x4f8928,_0x390027,_0x50e494,_0x2b1308)=>{const _0x5c4c0e=_0x42caba;for(var _0x2263ac=_0x2b1308>0x1?void 0x0:_0x2b1308?_0x3d089b(_0x390027,_0x50e494):_0x390027,_0x2fdcc2=_0x4f8928[_0x5c4c0e(0x1f4)]-0x1,_0x5b923d;_0x2fdcc2>=0x0;_0x2fdcc2--)(_0x5b923d=_0x4f8928[_0x2fdcc2])&&(_0x2263ac=_0x5b923d(_0x2263ac)||_0x2263ac);return _0x2263ac;},_0x4fa34c=(_0x35d3c3,_0x3d43b1)=>(_0x2dab98,_0x123d88)=>_0x3d43b1(_0x2dab98,_0x123d88,_0x35d3c3);const _0x5f507f=_0x42caba(0x210),_0x119aad=_0x42caba(0x208),_0x9ec6e2=_0x42caba(0x3e3);let _0x1f6973=class extends _0x99a487[_0x42caba(0x238)]{constructor(_0x228618,_0x2f010f,_0x33c848,_0x323760,_0x1b34b1,_0x1a99ec,_0x41ec79){const _0x237d69=_0x42caba;super(),_0x450946(this,'_pollingInterval',null),_0x450946(this,_0x237d69(0x18d),0x0),_0x450946(this,'_currentUsage',0x0),_0x450946(this,_0x237d69(0x312),[]),_0x450946(this,_0x237d69(0x27e),0x0),(this['_messageService']=_0x228618,this[_0x237d69(0x390)]=_0x2f010f,this[_0x237d69(0x364)]=_0x33c848,this['_httpService']=_0x323760,this[_0x237d69(0x2c0)]=_0x1b34b1,this[_0x237d69(0x27c)]=_0x1a99ec,this[_0x237d69(0x213)]=_0x41ec79,this[_0x237d69(0x3bd)]());}[_0x42caba(0x3bd)](){const _0x34df9b=_0x42caba;this[_0x34df9b(0x170)](this[_0x34df9b(0x390)][_0x34df9b(0x2aa)]((_0x6f5650,_0x5a3165)=>{const _0x4c57d9=_0x34df9b;var _0x2bfa62;if(_0x6f5650['id']!==_0x7369e4[_0x4c57d9(0x1e4)]['id'])return;const _0x47b40b=_0x6f5650[_0x4c57d9(0x3a2)];if(!this[_0x4c57d9(0x19c)]((_0x2bfa62=_0x47b40b[_0x4c57d9(0x151)])!=null?_0x2bfa62:[]))return;if(!this['_checkCalculationAvailable']())throw this[_0x4c57d9(0x2e0)](_0x6f5650,_0x5a3165),this[_0x4c57d9(0x130)](),new _0x99a487[(_0x4c57d9(0x291))]();})),this[_0x34df9b(0x170)](this[_0x34df9b(0x390)][_0x34df9b(0x29f)]((_0x2718f8,_0x6a370c)=>{const _0x53e825=_0x34df9b;if(_0x2718f8['id']!==_0x7369e4['SetFormulaCalculationNotificationMutation']['id'])return;const _0x352a1e=_0x2718f8[_0x53e825(0x3a2)];if(_0x7d739d(_0x352a1e)){const _0x3dedf0=_0x99a487[_0x53e825(0x10b)]();this[_0x53e825(0x312)][_0x53e825(0x242)](_0x3dedf0),this[_0x53e825(0x133)](_0x3dedf0);}else{if(_0x5de4b5(_0x352a1e)&&this[_0x53e825(0x312)][_0x53e825(0x1f4)]>0x0){const _0x41bea0=this[_0x53e825(0x312)]['shift']();this['_releaseCalculationLimit'](_0x41bea0);}}}));}[_0x42caba(0x310)](){const _0x495291=_0x42caba;super[_0x495291(0x310)](),this[_0x495291(0x3aa)](),this['_taskIds']=[],this[_0x495291(0x3c5)]=0x0,this[_0x495291(0x18d)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x42caba(0x2e0)](_0x1ac289,_0x108492){const _0x2812db=_0x42caba;for(let _0x3c37ac=0x0;_0x3c37ac<0x1e;_0x3c37ac++)try{if(await this['_getFormulaLimitStatus'](),this[_0x2812db(0x179)]()){this[_0x2812db(0x1f8)](_0x1ac289,_0x108492),this[_0x2812db(0x361)][_0x2812db(0x176)]({'content':this[_0x2812db(0x213)]['t'](_0x2812db(0x336)),'type':_0xdfb808[_0x2812db(0x36d)]['Success']});return;}await new Promise(_0x1ed796=>{const _0x2da345=_0x2812db;this['_pollingInterval']=window[_0x2da345(0x2de)](_0x1ed796,0x3e8);});}catch(_0x109e12){this[_0x2812db(0x27c)]['error'](_0x109e12);}this[_0x2812db(0x361)][_0x2812db(0x176)]({'content':this[_0x2812db(0x213)]['t'](_0x2812db(0x391)),'type':_0xdfb808[_0x2812db(0x36d)][_0x2812db(0x2c6)]});}[_0x42caba(0x1f8)](_0x6198f8,_0x4b0ba2){const _0x27d33e=_0x42caba;try{this[_0x27d33e(0x390)][_0x27d33e(0x28d)](_0x6198f8['id'],_0x6198f8[_0x27d33e(0x3a2)],_0x4b0ba2);}catch(_0x39489d){this['_logService'][_0x27d33e(0x233)](_0x39489d);}}[_0x42caba(0x3e0)](_0x38dff9,_0xdd9a98){const _0xaeb242=_0x42caba;_0xdd9a98<this['_lastResponseTimestamp']||(this[_0xaeb242(0x27e)]=_0xdd9a98,this[_0xaeb242(0x18d)]=Number['parseInt'](_0x38dff9[_0xaeb242(0x1b3)]),this[_0xaeb242(0x3c5)]=Number[_0xaeb242(0x1d0)](_0x38dff9[_0xaeb242(0x29d)]));}async[_0x42caba(0x133)](_0x53dab1){const _0x419513=_0x42caba;var _0x458f85,_0x562af2;const _0x354f19=Date[_0x419513(0x2d4)]();try{const _0x104854=((_0x458f85=this[_0x419513(0x364)][_0x419513(0x15c)](_0x40f345[_0x419513(0x34e)]))==null?void 0x0:_0x458f85[_0x419513(0x2f7)])||_0x119aad,_0x52ef87=(await this[_0x419513(0x3a9)]['post'](_0x104854,{'body':JSON[_0x419513(0x24f)]({'taskId':_0x53dab1})}))[_0x419513(0x1cb)];if(((_0x562af2=_0x52ef87[_0x419513(0x233)])==null?void 0x0:_0x562af2[_0x419513(0x34b)])!==_0x34d078['OK'])return;this['_setFormulaLimitStatus'](_0x52ef87[_0x419513(0x2f5)],_0x354f19);}catch(_0x225081){this['_logService']['error'](_0x225081);}}async[_0x42caba(0x1b2)](_0x127284){const _0x311f09=_0x42caba;var _0x130138,_0x327e53;const _0x4fb336=Date[_0x311f09(0x2d4)]();try{const _0x38fd25=((_0x130138=this[_0x311f09(0x364)][_0x311f09(0x15c)](_0x40f345['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x130138[_0x311f09(0x38f)])||_0x5f507f,_0x55e771=_0x127284?_0x38fd25+_0x311f09(0x188)+encodeURIComponent(_0x127284):_0x38fd25,_0x443323=(await this[_0x311f09(0x3a9)][_0x311f09(0x394)](_0x55e771))[_0x311f09(0x1cb)];if(((_0x327e53=_0x443323[_0x311f09(0x233)])==null?void 0x0:_0x327e53[_0x311f09(0x34b)])!==_0x34d078['OK'])return;this[_0x311f09(0x3e0)](_0x443323[_0x311f09(0x2f5)],_0x4fb336);}catch(_0x29d54b){this[_0x311f09(0x27c)][_0x311f09(0x233)](_0x29d54b);}}async[_0x42caba(0x24e)](_0x22ad2a){const _0x263a9c=_0x42caba;var _0x572749,_0x5afaa2;const _0x1bb9a3=Date[_0x263a9c(0x2d4)]();try{const _0x2bbc94=((_0x572749=this[_0x263a9c(0x364)]['getConfig'](_0x40f345[_0x263a9c(0x34e)]))==null?void 0x0:_0x572749[_0x263a9c(0x197)])||_0x9ec6e2,_0x1d767f=(await this[_0x263a9c(0x3a9)][_0x263a9c(0x39c)](_0x2bbc94,{'body':JSON['stringify']({'taskId':_0x22ad2a})}))[_0x263a9c(0x1cb)];if(((_0x5afaa2=_0x1d767f[_0x263a9c(0x233)])==null?void 0x0:_0x5afaa2['code'])!==_0x34d078['OK'])return;this[_0x263a9c(0x3e0)](_0x1d767f[_0x263a9c(0x2f5)],_0x1bb9a3);}catch(_0x1ee565){this[_0x263a9c(0x27c)]['error'](_0x1ee565);}}[_0x42caba(0x179)](){const _0x4a32bc=_0x42caba;return this[_0x4a32bc(0x18d)]===0x0?!0x0:this[_0x4a32bc(0x18d)]-this[_0x4a32bc(0x3c5)]>0x0;}[_0x42caba(0x3aa)](){const _0x2d2463=_0x42caba;this['_pollingInterval']&&(clearTimeout(this[_0x2d2463(0x111)]),this[_0x2d2463(0x111)]=null);}[_0x42caba(0x130)](){const _0x4add5e=_0x42caba;this[_0x4add5e(0x361)][_0x4add5e(0x176)]({'content':this[_0x4add5e(0x213)]['t'](_0x4add5e(0x13d)),'type':_0xdfb808['MessageType'][_0x4add5e(0x355)]});}['_hasFormulaInDirtyRanges'](_0x5c6163){const _0x3afe8f=_0x42caba;for(const _0x415ba8 of _0x5c6163){const {unitId:_0xa08c34,sheetId:_0x51ac76,range:_0x545bad}=_0x415ba8,_0x423160=this[_0x3afe8f(0x2c0)][_0x3afe8f(0x2ed)](_0xa08c34);if(!_0x423160)continue;const _0x11216b=_0x423160[_0x3afe8f(0x287)](_0x51ac76);if(!_0x11216b)continue;const _0x3842be=_0x11216b[_0x3afe8f(0x1a1)]();for(let _0x10ceba=_0x545bad[_0x3afe8f(0x20e)];_0x10ceba<=_0x545bad[_0x3afe8f(0x1c3)];_0x10ceba++)for(let _0x54c28c=_0x545bad[_0x3afe8f(0x39d)];_0x54c28c<=_0x545bad[_0x3afe8f(0x14a)];_0x54c28c++){const _0x2011ce=_0x3842be[_0x3afe8f(0x279)](_0x10ceba,_0x54c28c);if(_0x2011ce&&(_0x99a487['isFormulaString'](_0x2011ce['f'])||_0x99a487[_0x3afe8f(0x2ad)](_0x2011ce['si'])))return!0x0;}}return!0x1;}};_0x1f6973=_0x16e44d([_0x4fa34c(0x0,_0x99a487[_0x42caba(0x2ac)](_0x3ebdd3['IMessageService'])),_0x4fa34c(0x1,_0x99a487[_0x42caba(0x277)]),_0x4fa34c(0x2,_0x99a487[_0x42caba(0x20d)]),_0x4fa34c(0x3,_0x99a487[_0x42caba(0x2ac)](_0xb43dfb[_0x42caba(0x2c3)])),_0x4fa34c(0x4,_0x99a487[_0x42caba(0x14f)]),_0x4fa34c(0x5,_0x99a487[_0x42caba(0x2e3)]),_0x4fa34c(0x6,_0x99a487['Inject'](_0x99a487['LocaleService']))],_0x1f6973);var _0x12a4db=Object[_0x42caba(0x27d)],_0x32410d=(_0x38105c,_0x559079,_0x5449eb,_0x2e9e41)=>{const _0x13a483=_0x42caba;for(var _0x5f1dd0=_0x2e9e41>0x1?void 0x0:_0x2e9e41?_0x12a4db(_0x559079,_0x5449eb):_0x559079,_0x22aba3=_0x38105c[_0x13a483(0x1f4)]-0x1,_0xfcd872;_0x22aba3>=0x0;_0x22aba3--)(_0xfcd872=_0x38105c[_0x22aba3])&&(_0x5f1dd0=_0xfcd872(_0x5f1dd0)||_0x5f1dd0);return _0x5f1dd0;},_0x55d959=(_0x328e1f,_0x2ceced)=>(_0x11c11e,_0x152249)=>_0x2ceced(_0x11c11e,_0x152249,_0x328e1f);let _0x90aec9=class extends _0x99a487[_0x42caba(0x238)]{constructor(_0x576d03,_0xc20246,_0x29890b){const _0x42bdf5=_0x42caba;super(),_0x450946(this,'_cachedData',new Map()),_0x450946(this,_0x42bdf5(0x315),new Map()),_0x450946(this,'_disabled',!0x1),(this[_0x42bdf5(0x364)]=_0x576d03,this[_0x42bdf5(0x267)]=_0xc20246,this[_0x42bdf5(0x379)]=_0x29890b);}[_0x42caba(0x18c)](){const _0x5d2562=_0x42caba;this[_0x5d2562(0x35a)]=!0x0;}[_0x42caba(0x300)](){const _0x117026=_0x42caba;this[_0x117026(0x35a)]=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x42caba(0x310)](){const _0x7c8676=_0x42caba;this[_0x7c8676(0x256)]()['then'](()=>super[_0x7c8676(0x310)]());}async[_0x42caba(0x269)](_0x1d37bc){const _0x360d71=_0x42caba;return this[_0x360d71(0x35a)]?null:this[_0x360d71(0x267)][_0x360d71(0x110)](_0x40f345[_0x360d71(0x352)](_0x1d37bc));}async[_0x42caba(0x38d)](_0x439850,_0x12e47a){const _0x304fc4=_0x42caba;return!!this[_0x304fc4(0x267)][_0x304fc4(0x2fc)](_0x439850,_0x12e47a);}[_0x42caba(0x2a3)](_0x2ba0f1,_0x21e576,_0xf35ddb,_0x4dd44b){const _0x17bf72=_0x42caba,_0x913614=this['_revisionService'][_0x17bf72(0x39f)](_0x2ba0f1);this['_cachedData']['set'](_0x2ba0f1,{'unitID':_0x2ba0f1,'type':_0x21e576,'awaitingChangeset':_0xf35ddb,'mutations':_0x4dd44b,'rev':_0x913614}),this[_0x17bf72(0x315)][_0x17bf72(0x185)](_0x2ba0f1)||this[_0x17bf72(0x124)](_0x2ba0f1);}[_0x42caba(0x124)](_0x1b6331){const _0x187f80=_0x42caba,_0x5371ec=this[_0x187f80(0x2b3)]();_0x5371ec===0x0?this[_0x187f80(0x2fa)](_0x1b6331):this['_saveTaskMap'][_0x187f80(0x2ff)](_0x1b6331,setTimeout(()=>this[_0x187f80(0x2fa)](_0x1b6331),_0x5371ec));}[_0x42caba(0x2b3)](){const _0x16ffb2=_0x42caba;var _0x1241bc;return(_0x1241bc=this[_0x16ffb2(0x364)][_0x16ffb2(0x15c)](_0x40f345[_0x16ffb2(0x261)]))!=null?_0x1241bc:_0x40f345[_0x16ffb2(0x33a)];}[_0x42caba(0x2fa)](_0x35f146){const _0x372ccb=_0x42caba,_0x5b9cc9=this[_0x372ccb(0x315)][_0x372ccb(0x394)](_0x35f146);return _0x5b9cc9!==void 0x0&&window[_0x372ccb(0x316)](_0x5b9cc9),this[_0x372ccb(0x267)]['setItem'](_0x40f345[_0x372ccb(0x352)](_0x35f146),this[_0x372ccb(0x1ee)][_0x372ccb(0x394)](_0x35f146))[_0x372ccb(0x152)](()=>this[_0x372ccb(0x315)][_0x372ccb(0x192)](_0x35f146));}async[_0x42caba(0x256)](){const _0x48c575=_0x42caba,_0x312c5f=[];this[_0x48c575(0x315)][_0x48c575(0x2e5)]((_0x3fe624,_0x1313e0)=>{const _0x2a6b8d=_0x48c575;window[_0x2a6b8d(0x316)](_0x3fe624),_0x312c5f[_0x2a6b8d(0x242)](this[_0x2a6b8d(0x2fa)](_0x1313e0)[_0x2a6b8d(0x152)](()=>{const _0x4ce8b3=_0x2a6b8d;this[_0x4ce8b3(0x315)]['delete'](_0x1313e0);}));}),await Promise[_0x48c575(0x115)](_0x312c5f);}};_0x90aec9=_0x32410d([_0x55d959(0x0,_0x99a487[_0x42caba(0x20d)]),_0x55d959(0x1,_0x99a487['ILocalStorageService']),_0x55d959(0x2,_0x99a487[_0x42caba(0x2ac)](_0x1d0b4f[_0x42caba(0x3e7)]))],_0x90aec9);class _0x36a969 extends _0x99a487[_0x42caba(0x178)]{constructor(){const _0x51a4eb=_0x42caba;super(),_0x450946(this,'urlChange$'),this['urlChange$']=_0xf18ada['fromEvent'](window,_0x51a4eb(0x1bf))[_0x51a4eb(0x1cd)](_0xf18ada[_0x51a4eb(0x141)](this['dispose$']),_0xf18ada['shareReplay'](0x1),_0xf18ada[_0x51a4eb(0x3ef)](void 0x0));}['setParam'](_0x3cc346,_0x7f77c3,_0x511b28=!0x1){const _0x2b3f99=_0x42caba,_0x3659e0=new URL(window[_0x2b3f99(0x171)]['href']);_0x3659e0[_0x2b3f99(0x2f8)]['set'](_0x3cc346,_0x7f77c3),_0x511b28?window['history'][_0x2b3f99(0x36f)]('','',_0x3659e0[_0x2b3f99(0x2df)]()):window[_0x2b3f99(0x25f)]['pushState']('','',_0x3659e0[_0x2b3f99(0x2df)]());}[_0x42caba(0x348)](_0x2d9eaf,_0x57f6fc=!0x1){const _0x46a742=_0x42caba,_0x5ea070=new URL(window[_0x46a742(0x171)]['href']);_0x5ea070['searchParams'][_0x46a742(0x192)](_0x2d9eaf),_0x57f6fc?window[_0x46a742(0x25f)]['replaceState']('','',_0x5ea070['toString']()):window[_0x46a742(0x25f)][_0x46a742(0x225)]('','',_0x5ea070[_0x46a742(0x2df)]());}[_0x42caba(0x37f)](_0x37f094){const _0x2ec506=_0x42caba;var _0x3a05b3;return(_0x3a05b3=new URL(window[_0x2ec506(0x171)][_0x2ec506(0x21e)])[_0x2ec506(0x2f8)][_0x2ec506(0x394)](_0x37f094))!=null?_0x3a05b3:void 0x0;}}var _0x77162b=Object['defineProperty'],_0x281362=Object['getOwnPropertyDescriptor'],_0x2afe0d=(_0x2e3dac,_0x20e692,_0x5a0e91)=>_0x20e692 in _0x2e3dac?_0x77162b(_0x2e3dac,_0x20e692,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5a0e91}):_0x2e3dac[_0x20e692]=_0x5a0e91,_0x4bb996=(_0x172f97,_0x226472,_0x5ec46a,_0x56f921)=>{const _0x3e47c0=_0x42caba;for(var _0x3577b2=_0x56f921>0x1?void 0x0:_0x56f921?_0x281362(_0x226472,_0x5ec46a):_0x226472,_0x43d6e2=_0x172f97[_0x3e47c0(0x1f4)]-0x1,_0xc64237;_0x43d6e2>=0x0;_0x43d6e2--)(_0xc64237=_0x172f97[_0x43d6e2])&&(_0x3577b2=_0xc64237(_0x3577b2)||_0x3577b2);return _0x3577b2;},_0x1c5263=(_0x55bf94,_0x2e4296)=>(_0x30e53e,_0x2a3a41)=>_0x2e4296(_0x30e53e,_0x2a3a41,_0x55bf94),_0x39c477=(_0xc61edd,_0x14e5bd,_0x29ca4d)=>_0x2afe0d(_0xc61edd,_0x14e5bd+'',_0x29ca4d);const _0xfcfa8d='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x23f96a['UniverCollaborationClientUIPlugin']=class extends _0x99a487[_0x42caba(0x260)]{constructor(_0x317635=_0x326bbf,_0x1493a8,_0x253617,_0x35826b){const _0xec049a=_0x42caba;super(),this[_0xec049a(0x28f)]=_0x317635,this['_renderManagerService']=_0x1493a8,this[_0xec049a(0x3b2)]=_0x253617,this[_0xec049a(0x364)]=_0x35826b;const {..._0x6b81f1}=_0x99a487['merge']({},_0x326bbf,this[_0xec049a(0x28f)]);this['_configService'][_0xec049a(0x18b)](_0x2a0609,_0x6b81f1);}['onStarting'](){const _0x4465e6=_0x42caba;this['_registerDependencies'](),this[_0x4465e6(0x3bc)]();}['onRendered'](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x284724=_0x42caba;var _0x5418fd;const _0x1a7d75=[[_0x2dbe1f],[_0x1f6973],[_0x5db7b4],[_0x2f7c5c],[_0xf67027],[_0x151704],[_0x2eaaa6,{'useClass':_0x36a969}],[_0xb43dfb['ISocketService'],{'useClass':_0xb43dfb[_0x284724(0x284)]}],[_0x40f345[_0x284724(0x2da)],{'useClass':_0x90aec9}],[_0x23f96a[_0x284724(0x254)]],[_0x494724],[_0x54c86a],[_0x550d1c],[_0x47f8da],[_0x23f96a[_0x284724(0x216)]]];this[_0x284724(0x28f)][_0x284724(0x1e5)]&&_0x1a7d75[_0x284724(0x242)]([_0x4dd5ae]),_0x99a487[_0x284724(0x2e2)](this['_injector'],_0x99a487[_0x284724(0x228)](_0x1a7d75,(_0x5418fd=this[_0x284724(0x28f)])==null?void 0x0:_0x5418fd[_0x284724(0x23e)]));}[_0x42caba(0x1f2)](){const _0x5cef27=_0x42caba;this[_0x5cef27(0x170)](this[_0x5cef27(0x16d)][_0x5cef27(0x1a0)](_0x99a487[_0x5cef27(0x1b8)][_0x5cef27(0x22a)],[_0x459cb5])),this['disposeWithMe'](this[_0x5cef27(0x16d)][_0x5cef27(0x1a0)](_0x99a487[_0x5cef27(0x1b8)]['UNIVER_SHEET'],[_0x4db1a0]));}[_0x42caba(0x3bc)](){const _0x18035a=_0x42caba;_0x99a487[_0x18035a(0x164)](this[_0x18035a(0x3b2)],[[_0x550d1c],[_0x23f96a[_0x18035a(0x254)]],[_0x494724],[_0x54c86a],[_0x23f96a['CollaborationDataLoaderController']],[_0x1f6973]]),this['_config'][_0x18035a(0x1e5)]&&_0x99a487[_0x18035a(0x164)](this[_0x18035a(0x3b2)],[[_0x4dd5ae]]);}},_0x39c477(_0x23f96a[_0x42caba(0x19f)],'pluginName',_0xfcfa8d),_0x23f96a[_0x42caba(0x19f)]=_0x4bb996([_0x99a487['DependentOn'](_0x40f345[_0x42caba(0x22d)]),_0x1c5263(0x1,_0x4b6de8['IRenderManagerService']),_0x1c5263(0x2,_0x99a487['Inject'](_0x99a487[_0x42caba(0x2be)])),_0x1c5263(0x3,_0x99a487[_0x42caba(0x20d)])],_0x23f96a[_0x42caba(0x19f)]);var _0x1059ee=Object[_0x42caba(0x27d)],_0x40a8c8=(_0x3e19b9,_0x5d0ece,_0x2c751c,_0x434ac1)=>{const _0x4c1cc0=_0x42caba;for(var _0x20022f=_0x434ac1>0x1?void 0x0:_0x434ac1?_0x1059ee(_0x5d0ece,_0x2c751c):_0x5d0ece,_0x254545=_0x3e19b9[_0x4c1cc0(0x1f4)]-0x1,_0x1a475a;_0x254545>=0x0;_0x254545--)(_0x1a475a=_0x3e19b9[_0x254545])&&(_0x20022f=_0x1a475a(_0x20022f)||_0x20022f);return _0x20022f;},_0x598f33=(_0x13dee0,_0x4ed21c)=>(_0xe9f6aa,_0x147aff)=>_0x4ed21c(_0xe9f6aa,_0x147aff,_0x13dee0);_0x23f96a[_0x42caba(0x10c)]=class extends _0x40f345[_0x42caba(0x297)]{constructor(_0x346168,_0x388ee0,_0x526f54,_0x5f2b15,_0x4c9a91){super(_0x346168,_0x388ee0,_0x526f54,_0x5f2b15,_0x4c9a91);}async[_0x42caba(0x116)](_0x28c4c3){const _0x30b156=_0x42caba,_0x182394=await this[_0x30b156(0x29b)](),_0x2b9c0e=this[_0x30b156(0x275)](_0x28c4c3,_0x182394);return this[_0x30b156(0x23a)](_0x2b9c0e);}[_0x42caba(0x275)](_0x66947f,_0x4d2246){const _0x500cc4=_0x42caba,_0x54cf3c=typeof window>'u'?new URL(_0x66947f):new URL(_0x66947f,window['location'][_0x500cc4(0x34f)]);_0x54cf3c[_0x500cc4(0x2f8)][_0x500cc4(0x2ff)](_0x500cc4(0x1ec),_0x4d2246);const _0x515721=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x500cc4(0x171)][_0x500cc4(0x397)]);return _0x515721[_0x500cc4(0x394)](_0x500cc4(0x294))&&_0x54cf3c[_0x500cc4(0x2f8)][_0x500cc4(0x2ff)]('runId',_0x515721[_0x500cc4(0x394)](_0x500cc4(0x294))),_0x54cf3c[_0x500cc4(0x2df)]();}async['_getSessionTicket'](){const _0x2a24d3=_0x42caba;var _0x421087,_0x45d5c5,_0x204e88;const _0x3818a3=this['_configService'][_0x2a24d3(0x15c)](_0x40f345['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x53f23a=(_0x421087=_0x3818a3==null?void 0x0:_0x3818a3['wsSessionTicketUrl'])!=null?_0x421087:_0x40f345[_0x2a24d3(0x203)];return(_0x204e88=(_0x45d5c5=(await this['_httpService'][_0x2a24d3(0x394)](_0x53f23a,{'headers':{'Content-Type':_0x2a24d3(0x3d4)}}))['body'])==null?void 0x0:_0x45d5c5['ticket'])!=null?_0x204e88:'';}},_0x23f96a[_0x42caba(0x10c)]=_0x40a8c8([_0x598f33(0x0,_0x99a487['Inject'](_0x99a487[_0x42caba(0x2be)])),_0x598f33(0x1,_0x99a487[_0x42caba(0x2ac)](_0xb43dfb[_0x42caba(0x2c3)])),_0x598f33(0x2,_0x99a487['IConfigService']),_0x598f33(0x3,_0x99a487[_0x42caba(0x2e3)]),_0x598f33(0x4,_0x1d0b4f[_0x42caba(0x3e8)])],_0x23f96a[_0x42caba(0x10c)]);var _0x312934=Object[_0x42caba(0x27d)],_0x56a8ee=(_0x3c57b2,_0x58575d,_0x29352f,_0x5c0889)=>{const _0x57ea78=_0x42caba;for(var _0x257219=_0x5c0889>0x1?void 0x0:_0x5c0889?_0x312934(_0x58575d,_0x29352f):_0x58575d,_0x14d881=_0x3c57b2[_0x57ea78(0x1f4)]-0x1,_0x219061;_0x14d881>=0x0;_0x14d881--)(_0x219061=_0x3c57b2[_0x14d881])&&(_0x257219=_0x219061(_0x257219)||_0x257219);return _0x257219;},_0x2d88ed=(_0x3d2d15,_0x5a56e4)=>(_0x3260de,_0xa7e4b)=>_0x5a56e4(_0x3260de,_0xa7e4b,_0x3d2d15);_0x23f96a[_0x42caba(0x10d)]=class extends _0x99a487[_0x42caba(0x238)]{constructor(_0x30a6c1,_0x4993b9,_0x521119){const _0x140bcb=_0x42caba;super(),this[_0x140bcb(0x240)]=_0x30a6c1,this[_0x140bcb(0x3a9)]=_0x4993b9,this[_0x140bcb(0x364)]=_0x521119;}async['runOnServer'](_0x4250ea,_0xe223fb,_0x34eec7,..._0x3d1d74){const _0x4f6f56=_0x42caba;var _0x3aa21c,_0x3ab2bf,_0x21c597,_0x3387c9;const _0x4b4c3c=this[_0x4f6f56(0x240)][_0x4f6f56(0x137)]();if(!_0x4b4c3c)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x4d6076=((_0x3aa21c=this['_configService'][_0x4f6f56(0x15c)](_0x40f345['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x3aa21c:_0x40f345[_0x4f6f56(0x262)])+'/'+_0x4250ea+'/run/'+_0xe223fb,_0x2a2c27=new URL(window['location'][_0x4f6f56(0x21e)]),_0x5d72ef={'scriptId':_0x4250ea,'runId':(_0x3ab2bf=_0x2a2c27['searchParams']['get']('runId'))!=null?_0x3ab2bf:'','function':_0xe223fb,'unitId':_0x4b4c3c[_0x4f6f56(0x359)](),'argsOfFunction':JSON[_0x4f6f56(0x24f)](_0x3d1d74),'invokeId':(_0x21c597=_0x34eec7[_0x4f6f56(0x11a)])!=null?_0x21c597:'','executionId':(_0x3387c9=_0x34eec7[_0x4f6f56(0x119)])!=null?_0x3387c9:''};try{const _0x30e372=await this[_0x4f6f56(0x3a9)][_0x4f6f56(0x39c)](_0x4d6076,{'body':_0x5d72ef});return _0x30e372[_0x4f6f56(0x1cb)][_0x4f6f56(0x233)]&&_0x30e372[_0x4f6f56(0x1cb)][_0x4f6f56(0x233)][_0x4f6f56(0x34b)]!==_0x34d078['OK']?_0x4f6f56(0x2e9):_0x30e372[_0x4f6f56(0x1cb)][_0x4f6f56(0x14c)];}catch{return _0x4f6f56(0x2e9);}}},_0x23f96a[_0x42caba(0x10d)]=_0x56a8ee([_0x2d88ed(0x0,_0x99a487[_0x42caba(0x14f)]),_0x2d88ed(0x1,_0x99a487[_0x42caba(0x2ac)](_0xb43dfb['HTTPService'])),_0x2d88ed(0x2,_0x99a487[_0x42caba(0x20d)])],_0x23f96a[_0x42caba(0x10d)]);const _0x56d46a=0x7530,_0x18731e=_0x42caba(0x247);class _0xfe5c1d extends _0x99a487[_0x42caba(0x238)]{constructor(){const _0x5282b6=_0x42caba;super(),_0x450946(this,_0x5282b6(0x120),_0x99a487[_0x5282b6(0x10b)]()),_0x450946(this,'_selfUnitIDs',new Set()),_0x450946(this,_0x5282b6(0x1a3),new Map()),_0x450946(this,_0x5282b6(0x156),null),_0x450946(this,_0x5282b6(0x20b),new Map()),_0x450946(this,'_unitStatus',new Map()),this[_0x5282b6(0x273)]();}['dispose'](){const _0x3ba2f3=_0x42caba;super['dispose'](),this[_0x3ba2f3(0x20b)][_0x3ba2f3(0x2e5)]((_0x30d7f7,_0x169363)=>this['_removeClearOtherTimer'](_0x169363)),this[_0x3ba2f3(0x156)]&&window[_0x3ba2f3(0x243)](this[_0x3ba2f3(0x156)]);}['getUnitStatus$'](_0x1054f7){const _0x5ef5cc=_0x42caba;return this['_ensureSubject'](_0x1054f7)[_0x5ef5cc(0x1cd)](_0xf18ada[_0x5ef5cc(0x306)]());}[_0x42caba(0x1eb)](_0x52ba88){const _0x44d5c3=_0x42caba;this['_selfUnitIDs'][_0x44d5c3(0x21c)]===0x0&&this[_0x44d5c3(0x356)](),this['_selfUnitIDs']['add'](_0x52ba88),this['_send']({'type':0x0,'memberID':this[_0x44d5c3(0x120)],'unitIDs':[_0x52ba88],'isForwarded':!0x1});}[_0x42caba(0x3da)](_0x50ef18){const _0x3c5f1c=_0x42caba;this[_0x3c5f1c(0x2b5)][_0x3c5f1c(0x192)](_0x50ef18),this[_0x3c5f1c(0x2b5)][_0x3c5f1c(0x21c)]===0x0&&this[_0x3c5f1c(0x156)]&&window[_0x3c5f1c(0x243)](this[_0x3c5f1c(0x156)]);}['_init'](){const _0x5bd92d=_0x42caba;this[_0x5bd92d(0x170)](_0x99a487['toDisposable'](_0xf18ada[_0x5bd92d(0x28e)](window,_0x5bd92d(0x11e))['subscribe'](_0x215885=>{const _0x4902f9=_0x5bd92d;if(_0x215885[_0x4902f9(0x382)]!==_0x18731e||!_0x215885[_0x4902f9(0x1e3)])return;const _0x5d0b39=JSON['parse'](_0x215885['newValue']);this[_0x4902f9(0x1dc)](_0x5d0b39);}))),window[_0x5bd92d(0x2dc)](_0x5bd92d(0x3c4),()=>this[_0x5bd92d(0x150)]({'type':0x1,'memberID':this[_0x5bd92d(0x120)],'unitIDs':Array[_0x5bd92d(0x283)](this[_0x5bd92d(0x2b5)])}));}[_0x42caba(0x1dc)](_0x1d9f1c){const _0x8d16ba=_0x42caba;switch(_0x1d9f1c[_0x8d16ba(0x2d7)]){case 0x0:this[_0x8d16ba(0x1e2)](_0x1d9f1c);break;case 0x1:this[_0x8d16ba(0x16c)](_0x1d9f1c);break;case 0x2:this[_0x8d16ba(0x36c)](_0x1d9f1c);break;}}[_0x42caba(0x1e2)](_0xbd3658){const _0x3224d1=_0x42caba,{unitIDs:_0x74b785,memberID:_0x5f1205,isForwarded:_0x2fcb18}=_0xbd3658;_0x74b785['forEach'](_0x5bc923=>{const _0x1b982f=_0x5833;if(!_0x2fcb18&&this[_0x1b982f(0x1a3)][_0x1b982f(0x185)](_0x5bc923)&&this[_0x1b982f(0x13e)](_0x5bc923)[_0x1b982f(0x1ba)](_0x40f345[_0x1b982f(0x363)][_0x1b982f(0x127)]),!this[_0x1b982f(0x1a3)][_0x1b982f(0x185)](_0x5bc923)||!this[_0x1b982f(0x1a3)]['get'](_0x5bc923)[_0x1b982f(0x185)](_0x5f1205)){const _0x3d7841=this['_unitOnClients'][_0x1b982f(0x394)](_0x5bc923)||new Set();_0x3d7841[_0x1b982f(0x1df)](_0x5f1205),this[_0x1b982f(0x1a3)][_0x1b982f(0x2ff)](_0x5bc923,_0x3d7841),this[_0x1b982f(0x251)](_0x5f1205);}}),_0x2fcb18||this[_0x3224d1(0x150)]({'type':0x0,'memberID':this[_0x3224d1(0x120)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x42caba(0x251)](_0x55540c){const _0x3c5264=_0x42caba;this['_removeClearOtherTimer'](_0x55540c);const _0x1975d1=window['setTimeout'](()=>{const _0x2bf54d=_0x5833;this[_0x2bf54d(0x1a3)][_0x2bf54d(0x2e5)](_0x5a0a34=>{_0x5a0a34['delete'](_0x55540c);});},_0x56d46a*0x2);this['_clearOtherTimers'][_0x3c5264(0x2ff)](_0x55540c,_0x1975d1);}[_0x42caba(0x136)](_0x114ccb){const _0x301eac=_0x42caba;if(this[_0x301eac(0x20b)][_0x301eac(0x185)](_0x114ccb)){const _0x100938=this[_0x301eac(0x20b)][_0x301eac(0x394)](_0x114ccb);_0x100938&&window['clearTimeout'](_0x100938),this[_0x301eac(0x20b)][_0x301eac(0x2ff)](_0x114ccb,null);}}['_handleLeaveEvent'](_0x43918d){const _0xc41147=_0x42caba,{memberID:_0x356ca0,unitIDs:_0x4117ec}=_0x43918d;_0x4117ec['forEach'](_0x5a9e7d=>{const _0x1814c6=_0x5833;var _0x446dfc;const _0x4c54ce=this[_0x1814c6(0x1a3)]['get'](_0x5a9e7d);_0x4c54ce&&(_0x4c54ce[_0x1814c6(0x192)](_0x356ca0),(_0x446dfc=this[_0x1814c6(0x13e)](_0x5a9e7d))==null||_0x446dfc[_0x1814c6(0x1ba)](_0x4c54ce[_0x1814c6(0x21c)]===0x0?_0x40f345[_0x1814c6(0x363)][_0x1814c6(0x2c8)]:_0x40f345['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0xc41147(0x136)](_0x356ca0);}[_0x42caba(0x36c)](_0x2cfa2b){const _0x255122=_0x42caba;this[_0x255122(0x251)](_0x2cfa2b[_0x255122(0x3c0)]);}[_0x42caba(0x150)](_0x47e4ee){const _0x3874c8=_0x42caba;localStorage[_0x3874c8(0x2fc)](_0x18731e,JSON[_0x3874c8(0x24f)](_0x47e4ee));}[_0x42caba(0x356)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x4f3ed4=_0x5833;this[_0x4f3ed4(0x150)]({'type':0x2,'memberID':this[_0x4f3ed4(0x120)]});},_0x56d46a);}[_0x42caba(0x13e)](_0x39c735){const _0xd8c758=_0x42caba;return this[_0xd8c758(0x3cd)][_0xd8c758(0x185)](_0x39c735)||this[_0xd8c758(0x3cd)][_0xd8c758(0x2ff)](_0x39c735,new _0xf18ada[(_0xd8c758(0x1c2))](_0x40f345[_0xd8c758(0x363)][_0xd8c758(0x2c8)])),this[_0xd8c758(0x3cd)][_0xd8c758(0x394)](_0x39c735);}}_0x23f96a[_0x42caba(0x264)]=_0x2eaaa6,_0x23f96a['SheetCollabCursorShape']=_0x232e7e,_0x23f96a[_0x42caba(0x2ce)]=_0xfe5c1d,_0x23f96a[_0x42caba(0x2cb)]=_0x36a969,Object[_0x42caba(0x321)](_0x23f96a,Symbol[_0x42caba(0x231)],{'value':_0x42caba(0x1f6)});}));function _0x520a(){const _0x285a33=['saveImage','ENTITLE_INVALID_COUPON_CODE','now','UNDEFINED','_docTransformIMECacheService','type','InsertRowCommandId','VIEW_MAIN','ILocalCacheService','createIdentifier','addEventListener','jsxs','setTimeout','toString','_checkAndWaitForCalculationPermission','RichTextEditingMutation','registerDependencies','ILogService','OTHER_CLIENT_EDITING','forEach','entityInit$','_setupBeforeClosingHandler','LOGIN_FAILED','Failed','_imageIoService','findNodePositionByCharIndex','YUUMI_ALL_TABLES_IS_INVALID','getUnit','_initCommandExecutedListener','@univerjs/docs','includes','arc','ENTITLE_CHAT_LIMIT_EXCEED','CollaborationEvent','getRenderById','limitInfo','PAYMENT_CHANNEL_NOT_SUPPORT','startFormulaLimitUrl','searchParams','UNIVER_SHEET','_saveCache','colorChannel1','setItem','Optional','lineno','set','enableLocalCache','COMPLETION_FINISHED','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','Tools','LICENSE_MAX_UNITS_EXCEEDED','getVpScrollXYInfoByPosToVp','distinctUntilChanged','string','contains','replaceDocRanges','_startDocCollabCursor','_colorIndex','currentTheme$','throttleTime','exports','getActiveRange','dispose','UniverDocsUi','_taskIds','APPLY_PERMISSION_DENIED','Warning','_saveTaskMap','clearTimeout','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','setShapeProps','height','Vector2','_collaborationSessionService','mask','stack','_scene','1em','MoveRangeCommandId','defineProperty','DisposableCollection','@univerjs/sheets-ui','LICENSE_IMPORT_SIZE_EXCEEDED','_toggleOffline','UniverProCollaborationClientUi','EMAIL_VERIFY_CODE_MISMATCH','_getMergeRange','getViewport','USER_NOT_INVITED_CODE','_docClipboardService','_monkeyPatchLogService','MemberService','_cursorInfo$','_cursors','m1Prime','unhandledrejection','getCurrentSelections','handleInsertCol','requireSession','transformIMECache','formula.calculation.started','handleIRemoveCol','getMember','IBeforeCloseService','LOCAL_CACHE_INTERVAL','_render','backgroundColor','some','catch','SetWorksheetActivateCommand','MOBILE_VERIFY_CODE_MISMATCH','_collabCursorController','getUndoRedoMutationParamsCache','data','onMouseMove','_getSheetObject','_getAnchorBounding','ThemeService','removeParam','_updateSubUnitFromURLParams','UniverUi','code','currentColor','collabStatus.notCollab','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','origin','TOO_MANY_REQUESTS','rgba(255,\x20255,\x20255,\x200.01)','getLocalCacheKey','source','_colorAssignService','Loading','_scheduleHeartbeat','on-line-icon_clip0_910_349','ENTITLE_NEED_BILLING_ADDRESS','getUnitId','_disabled','switchMap','DocSelectionManagerService','LocaleService','m2Prime','_setupSubUnitSync','_eventUnsubscribe','_messageService','_collaborationController','UnitStatus','_configService','defs','CONNECTOR_DATA_TOO_LARGE','ENSURE_SNAPSHOT_EXECUTION','_context','min','ENTITLE_REPORT_LIMIT_EXCEED','handleInsertRangeMoveRight','_handleHeartbeatEvent','MessageType','text','replaceState','_drawRectRange','join','object','red.300','rxjs','AWAITING','YUUMI_UNABLE_LOAD_URL','SNAPSHOT_HAS_BEEN_REMOVED','_hovered','_revisionService','RemoveRowCommandId','ENTITLE_CAN_NOT_BUY_LOWER_OTP','USER_NOT_FOUND','bind','getColorFromTheme','getParam','find','SUCCESS','key','_initUserListener','black','deepClone','LICENSE_EXPORT_SIZE_EXCEEDED','_onRefRangeChange','selections','getSkeleton','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_entities','evenodd','saveOfflineData','_anchorDot','getformulaLimitStatusUrl','_commandService','formula.calculation.unable','unitID','unit','get','YUUMI_NO_CUBOID_FOR_QUESTION','clipPath','search','_handleHover','engine','_roomMembers$','collabStatus.syncing','post','startColumn','deserializeRangeWithSheet','getCurrentRevOfUnit','triggerDblclick','DocIMEInputManagerService','params','univer-flex\x20univer-items-center','measureText','onPointerLeave$','UniverSheets','getCurrent','message','_httpService','_clearPolling','name','_uploadLog','ONLINE','ALREADY_EXISTS','hovered','getColor','CollaborationSessionService','_injector','react/jsx-runtime','clsx','combineLatest','SOCKET_FAILED','InsertRangeMoveRightCommandId','_initResize','ENTITLE_COUPON_USED_UP','collabStatus.fetchMiss','Subject','_initDependencies','_initCommandInterceptor','url(#$1','_cursor','memberID','collab-rect-range-','_collabSessionService','_range','unload','_currentUsage','startsWith','OFFLINE','[Window\x20Error]:\x20','_transformUndoRedoStack','_memberID','trim','RECT','_unitStatus','0\x200\x2016\x2016','CollaborationStatus','toRgbString','UniverIcon','LOGIN_TOKEN_PROCESSING_FAILED','REDEMPTION_CODE_NOT_STARTED','application/json','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_shapes','IMessageService','APPLY_DUPLICATED','ENTITLE_INSUFFICIENT_QUOTA','disposeUnit','_collaborationUIEventService','session.collaboration-timeout','getAncestorScale','transformRemoteChangeset','url(#off-line-icon_clip0_910_343)','_setFormulaLimitStatus','addObject','registerBeforeClose','/universer-api/license/formula/limit/done','ITransformService','_status$','@univerjs/design','RevisionService','ISnapshotServerService','INVALID_INVITE_CODE','_onCursorUpdate','@univerjs/sheets','_drawAnchor','operators','subUnitId','mapTo','ranges','amd','_notificationService','_removeCollabCursors','column','generateRandomId','BrowserCollaborationSocketService','RemoteUniscriptService','_dataLoaderService','sheetID','getItem','_pollingInterval','_labelPosition','isTransformMutationFailure','redoState','all','createSocket','YUUMI_CONNECTOR_URL_NOT_FOUND','REDEMPTION_INVALID_CODE','executionId','invokeId','START_CALCULATION','_beforeCloseService','YUUMI_RATE_OVER_LIMIT','storage','/universer-api/frontend/logs','_id','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','ENTITLE_USE_COUPON_NOT_1ST_TRADE','runRefRangeMutations','_scheduleSaving','DeleteRangeMoveUpCommandId','row','OTHER_CLIENTS_EDITING','IRenderManagerService','session.connection-failed','_docSkeleton','uni.network.url-service','syncEditingCollabCursor','@univerjs/drawing','getCellPositionByOffset','_draw','_showGuardMessage','children','univerjs-icon\x20univerjs-icon-','_startCalculationLimit','closePath','@univerjs-pro/collaboration-client','_removeClearOtherTimer','getFocusedUnit','addObjects','map','svg','_initEvent','saveTaskMap','formula.calculation.waiting','_ensureSubject','displayName','getRelativeToViewportCoord','takeUntil','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','M0\x200H16V16H0z','defIds','423426QEFomh','split','random','OffLineIcon','PY_RUNTIME_SCRIPT_ERROR','endColumn','none','result','current','_name','IUniverInstanceService','_send','dirtyRanges','then','_transformPreviousActiveRange','asObservable','getUniverSheetInstance','_heartbeatTimer','on-line-icon','xlink:href','FormulaExecutedStateType','UniverProCollaboration','onPointerEnter$','getConfig','_transformHistoryAndStateStack','IImageIoService','react','fillStyle','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_textBubble','getActiveSheet','touchDependencies','_initStatusComponent','event$','RefRangeService','collabStatus.synced','_session','setActiveRange','moveTo','_handleLeaveEvent','_renderManagerService','_refreshCollabCursors','IRemoteInstanceService','disposeWithMe','location','color','_entityInit$','http://www.w3.org/2000/svg','_document','show','SUBMIT_CHANGESET_TIMEOUT','RxDisposable','_checkCalculationAvailable','_transformService','_onCursorDelete','_drawTextRange','hide','6uNgZPL','permission.content','symbol','forwardRef','currentSkeleton$','save','BuiltInUIPart','has','39110RFTKaO','with','?taskId=','resize','ENTITLE_COUPON_EXPIRED','setConfig','disableLocalCache','_maxFormulaLimit','isActive','_syncEditingCollabCursorService','replace','handleDeleteRangeMoveUp','delete','UniverDrawing','debounceTime','INVALID_ARGUMENT','_lastPointer','releaseFormulaLimitUrl','jsx','getCollabCursors$','_sheetSkeletonManagerService','YUUMI_ASYNCIO_CANCELLED','_hasFormulaInDirtyRanges','_docStateChangeManagerService','APPLY_REJECT','UniverCollaborationClientUIPlugin','registerRenderModule','getCellMatrix','RegularPolygon','_unitOnClients','max','yellow.400','tag','getDocRanges','registerRefRange','removeEventListener','debounce','attrs','transformMutation','setAlpha','cursorInfo','isTransformMutationsWithChangesetSuccess','function','1354932IrJYFD','_getFormulaLimitStatus','maxFormulaLimit','SetTextSelectionsOperation','COLORS','_updateCollabCursors','_getScale','UniverInstanceType','_toggleOnline','next','fill','skeleton','registerComponent','JOIN_ROOM_FAILED','popstate','activeSheet$','TEXT_RANGE_LAYER_INDEX','BehaviorSubject','endRow','EffectRefRangId','assign','unitId','NodePositionConvertToRectRange','_docSkeletonManagerService','undoState','Shape','body','fillText','pipe','init','entries','parseInt','3539088APobCo','YUUMI_TABLE_NOT_FOUND_IN_UNIT','roomMembers','_hover','3014384PwylQJ','subscribeEvent','handleIRemoveRow','#FFF','0\x200\x2017\x2016','bottom','AUTHORIZE_CODE_ILLEGAL','_handleEvent','send','filter','add','lineTo','getTypeOfUnitDisposed$','_handleJoinEvent','newValue','SetFormulaCalculationStartMutation','enableFrontendLog','roomMembers$','addHandlerCallback','\x20at\x20','functionsExecutedState','stageInfo','editingUnit','sessionTicket','UniverDesign','_cachedData','dispose$','collaboration.closeRoom','eventID','_registerRenderDependencies','drawWith','length','univer-mr-2\x20univer-flex\x20univer-text-xl','Module','CollaborationController','_applyCommand','_hideTimer','CLOSE_ROOM','PERMISSION_DENIED','_collabCursorState$','78QGzujY','ERROR_AGAIN','LICENSE_DISTRO_REJECTED','INTERNAL_ERROR','socket$','_themeService','DEFAULT_WS_SESSION_TICKET_URL','debug','doc.mutation.rich-text-editing','status$','UPDATE_CURSOR','/universer-api/license/formula/limit/start','CHANGESET_REVISION_CONFILICT','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_clearOtherTimers','CURRENT_STATUS_CANNOT_OPERATE','IConfigService','startRow','session.will-retry','/universer-api/license/formula/limit/status','_refRangeService','values','_localeService','width','YUUMI_URL_COL_OUT_OF_RANGE','CollaborationDataLoaderController','_online','getMemberID','_docTransformStateCacheService','transformMutationsWithChangeset','DOC_RANGE_TYPE','size','@univerjs/engine-formula','href','div','Rect','top','subscribe','onPointerMove$','APPLY_REVISION_CONFILICT','pushState','mutations','_urlService','mergeOverrideWithDependencies','createElement','UNIVER_DOC','USER_IS_ANONYMOUS','handleMoveRange','UniverCollaborationClientPlugin','InsertRangeMoveDownCommandId','RemoveColCommandId','TEXT','toStringTag','UniverDocs','error','jiqing.500','FETCH_MISS','cursorInfo$','_cursorShapes','Disposable','REDEMPTION_USER_NOT_ELIGIBLE','_doCreateSocket','white','...','url(#on-line-icon_clip0_910_349)','override','INVITE_CODE_HAS_BEEN_UES','_instanceService','_assignedColors','push','clearInterval','loadUnit','_anchor','useRef','ACTIVE_UNIT_EVENT_CHANNEL','textRanges','REDEMPTION_CODE_INACTIVE','CONFLICT','off-line-icon_clip0_910_343','collab-text-anchor-','purple.300','_releaseCalculationLimit','stringify','Workbook','_scheduleClearOtherTimer','IUIPartsService','_uiPartsService','DesktopCollaborationStatusDisplayController','restore','exhaustSavingTask','fillRule','sessionStatus$','INVITE_CODE_REQUIRED','getMergeData','range','stage','onTransformChange$','_initStatusListener','history','Plugin','LOCAL_CACHE_INTERVAL_KEY','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','486816AekYcv','IURLService','Tooltip','UniverProCollaborationClient','_localStorageService','UniverSheetsUi','loadOfflineData','subunit','FormulaExecuteStageType','reason','getSheetObject','[Unhandled\x20Rejection]:\x20','YUUMI_AI_RUN_FAILED','FromArray','getStateCache','UNAUTHENTICATED','_init','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_createSocketURL','SHEET_VIEWPORT_KEY','ICommandService','21695bCymDW','getValue','ColorKit','setParam','_logService','getOwnPropertyDescriptor','_lastResponseTimestamp','selection','createInstance','round','getCoordByCell','from','WebSocketService','9VlAopx','MOBILE_HAS_BEEN_BOUND','getSheetBySheetId','useObservable','REDEMPTION_USER_REDEEM_TIMES_EXCEED','HEADER_MENU','USERS_LEAVE','merge','executeCommand','fromEvent','_config','_updateLocalCursor','CanceledError','isArray','NOT_COLLAB','runId','transformSelections','_backgroundColor','CollaborationSocketService','DATA_SOURCE_TOO_LARGE','transformByState','_initUnhandledRejectionListener','_getSessionTicket','getCollabEntity$','currentUsage','UniverEngineFormula','onCommandExecuted','_startSheetCollabCursor','idSuffix','whenReady','updateOfflineData','collabStatus.offline','UniverCore','DocStateChangeManagerService','isEditing','collabStatus.conflict','path','beforeCommandExecuted','focused$','Inject','isFormulaId','transformStateCache','assignAColorForMemberID','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','_color','220dJKEmP','_getSaveTimeout','flatMap','_selfUnitIDs','getSheetId','UniverEngineRender','[CollaborationDataLoaderController]','React','_initEntityListener','INVITE_CODE_ALREADY_BOUND','_updateURLWithCurrentState','SNAPSHOT_INVALID_SNAPSHOT','Injector','useDependency','_univerInstanceService','CollaborationUIEventId','SessionStatus','HTTPService','DocSkeletonManagerService','labelPosition','Error','_memberService','NO_OTHER_CLIENTS_EDITING','INotificationService','DataLoaderService','WebURLService','complete','addClipboardHook','WebBrowserSingleActiveUnitService','unshift','collabCursorState$','[LogService\x20Error]:\x20'];_0x520a=function(){return _0x285a33;};return _0x520a();}
|