@univerjs-pro/collaboration-client-ui 0.10.14-nightly.202511031023 → 0.10.14-nightly.202511070628
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x28d7(){const _0x3e8daf=['ISocketService','_shapes','getUndoRedoMutationParamsCache','Workbook','UniverCollaborationClientPlugin','post','toRgbString','_colorIndex','_updateURLWithCurrentState','EffectRefRangId','unit','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','endColumn','CONFLICT','REDEMPTION_USER_NOT_ELIGIBLE','min','...','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getOwnPropertyDescriptor','BehaviorSubject','ticket','IMessageService','IRemoteInstanceService','collabStatus.syncing','OFFLINE','_beforeCloseService','_drawTextRange','collabCursorState$','IBeforeCloseService','arc','/run/','1101993CoydmQ','session.connection-failed','addObject','REDEMPTION_CODE_NOT_STARTED','IUniverInstanceService','jsx','ranges','LocaleService','WebSocketService','PAYMENT_CHANNEL_NOT_SUPPORT','createSocket','displayName','currentTheme$','_checkCalculationAvailable','currentUsage','_showGuardMessage','mergeOverrideWithDependencies','_getSessionTicket','startsWith','unsubscribe','SetTextSelectionsOperation','START_CALCULATION','ALREADY_EXISTS','_getFormulaLimitStatus','FETCH_MISS','registerRefRange','OTHER_CLIENT_EDITING','DependentOn','_collabSessionService','onPointerLeave$','isFormulaString','ITransformService','_logService','InsertColCommandId','_currentUsage','urlChange$','whenReady','mutations','React','_transformHistoryAndStateStack','_getSheetObject','_updateLocalCursor','310268jpMoPl','replace','_disabled','UniverProCollaborationClient','_cachedData','cursorInfo$','_assignedColors','collabStatus.notCollab','BuiltInUIPart','_scheduleClearOtherTimer','getColor','Tooltip','LOGIN_FAILED','SetDocZoomRatioOperation','WebBrowserSingleActiveUnitService','totalFormulasToCalculate','width','fromEvent','getUnhiddenWorksheets','YUUMI_CONNECTOR_URL_NOT_FOUND','saveOfflineData','_selfUnitIDs','object','_pollingInterval','@univerjs/ui','CollaborationController','HTTPService','setStateCache','InsertRangeMoveRightCommandId','_transformPreviousActiveRange','attrs','jiqing.500','_send','split','push','ThemeService','_createSocketURL','transform','rxjs/operators','LICENSE_IMPORT_SIZE_EXCEEDED','defs','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','/universer-api/license/formula/limit/status','CURRENT_STATUS_CANNOT_OPERATE','getSheetBySheetId','150VtXhfQ','M0\x200H16V16H0z','_session','_getAnchorBounding','_lastPointer','InsertRowCommandId','subunit','contains','handleDeleteRangeMoveLeft','saveImage','off-line-icon','toString','_removeClearOtherTimer','_hovered','SNAPSHOT_INVALID_SNAPSHOT','collaboration-client-ui.config','WECHAT_HAS_BEEN_BOUND','_checkAndWaitForCalculationPermission','@univerjs-pro/collaboration-client','JOIN_ROOM_FAILED','MemberService','UNDEFINED','2uvbkeu','exhaustSavingTask','requireSession','_updateSubUnitFromURLParams','DATA_SOURCE_TOO_LARGE','fromEventSubject','height','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','runRefRangeMutations','onPointerMove$','univer-mr-2\x20univer-flex\x20univer-text-xl','on-line-icon','UNRECOGNIZED','@univerjs-pro/collaboration','_themeService','UniverProCollaborationClientUi','_initResize','_scheduleSaving','APPLY_REVISION_CONFILICT','range','PERMISSION_DENIED','YUUMI_SUBSCRIPTION_NOT_FOUND','asObservable','then','m2Prime','startColumn','HEADER_MENU','_drawAnchor','MUTATION','YUUMI_URL_COL_OUT_OF_RANGE','size','getCurrent','_handleHeartbeatEvent','getCoordByCell','rxjs','onStarting','RichTextEditingMutation','getSkeleton','BrowserCollaborationSocketService','evenodd','lineTo','MOBILE_VERIFY_CODE_MISMATCH','_httpService','NOT_COLLAB','subscribeEvent','transformRemoteChangeset','ILogService','sheetID','CHANGESET_REVISION_CONFILICT','getValue','Optional','_urlService','assignAColorForMemberID','subscribe','green.600','shift','3069300NdYrJe','resize','UniverDesign','_cursor','USER_IS_ANONYMOUS','restore','clipPath','Subject','getItem','CollaborationSessionService','runId','LOGIN_TOKEN_PROCESSING_FAILED','transformByState','hovered','_entities','assign','EMAIL_HAS_BEEN_BOUND','NO_OTHER_CLIENTS_EDITING','path','_docTransformIMECacheService','debug','UniverEngineRender','triggerDblclick','_initStatusListener','getTypeOfUnitDisposed$','_handleEvent','IConfigService','invokeId','trim','from','ACTIVE_UNIT_EVENT_CHANNEL','_docTransformSelectionsService','_unitStatus','body','INVITE_CODE_REQUIRED','PY_RUNTIME_SCRIPT_ERROR','getActiveSheet','fillRule','stageInfo','addClipboardHook','SOCKET_FAILED_RETRY','sessionStatus$','onLocalMutation','isTransformMutationFailure','_notificationService','CONNECTOR_DATA_TOO_LARGE','beginPath','getMember','show','UniverCollaborationClientUIPlugin','_handleJoinEvent','Inject','_online','_releaseCalculationLimit','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','has','transformStateCache','IURLService','_transformService','set','_localStorageService','serializeRangeWithSheet','name','onMouseMove','add','fillStyle','_saveCache','getCollabEntity$','collab-text-range-','findNodePositionByCharIndex','hide','@univerjs/docs-ui','ISnapshotServerService','SetFormulaCalculationNotificationMutation','289377pnKqta','executionId','rgba(255,\x20255,\x20255,\x200.01)','saveTaskMap','_color','getMemberID','InsertRangeMoveDownCommandId','doc.mutation.rich-text-editing','type','SheetCollabCursorShape','clearInterval','useObservable','YUUMI_TABLE_NOT_FOUND_IN_UNIT','CollaborationUIEventId','@univerjs/engine-formula','deserializeRangeWithSheet','engine','length','_id','_anchorDot','_onCursorDelete','DeleteRangeMoveUpCommandId','selection','setAlpha','_getScale','_hideTimer','stage','UniverDrawing','SOCKET_FAILED','_lastResponseTimestamp','_maxFormulaLimit','replaceState','_clearPolling','_initDependencies','LICENSE_EXPORT_SIZE_EXCEEDED','1em','setItem','_initCommandInterceptor','session.collaboration-timeout','INVALID_INVITE_CODE','Failed','get','Warning','cursorInfo','_collaborationController','getAncestorScale','0\x200\x2017\x2016','REDEMPTION_INVALID_CODE','getUnit','ENTITLE_REPORT_LIMIT_EXCEED','_setupSubUnitSync','YUUMI_ALL_TABLES_IS_INVALID','REDEMPTION_CODE_HAS_BEEN_CREATED','_renderManagerService','createInstance','pushState','purple.300','getLocalCacheKey','USERS_LEAVE','INTERNAL_ERROR','_uiPartsService','unitId','_entityInit$','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getUnitStatus$','fillText','transformMutationsWithChangeset','skeleton','_textBubble','_startDocCollabCursor','merge','focused$','NOT_FOUND','url(#$1','beforeCommandExecuted','defIds','location','_instanceService','collaboration.closeRoom','reconnect','ENTITLE_INSUFFICIENT_QUOTA','registerComponent','getRangePointData','search','_hover','AWAITING','endRow','operators','data','UPDATE_CURSOR','RxDisposable','isTransformMutationsWithChangesetSuccess','_context','formula.calculation.unable','INVITE_CODE_ALREADY_BOUND','_updateCollabCursors','_initStatusComponent','values','DocCollaborationEntity','addHandlerCallback','ERROR_AGAIN','source','bottom','_collabCursorState$','url(#on-line-icon_clip0_910_349)','_initEntityListener','_univerInstanceService','wsSessionTicketUrl','uni.network.url-service','@univerjs/docs','pipe','IUIPartsService','_init','textRanges','backgroundColor','key','onTransformChange$','REDEMPTION_CODE_FULLY_REDEEMED','_clearOtherTimers','setTimeout','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_injector','setShapeProps','closePath','none','_cursorShapes','event$','useRef','formula.calculation.waiting','DocIMEInputManagerService','ONLINE','getRenderById','releaseFormulaLimitUrl','unload','_docSyncEditingCollabCursorService','_ensureSubject','getSheetObject','dispose','toStringTag','setConfig','ColorKit','unshift','syncEditingCollabCursor','IDocClipboardService','updateOfflineData','SYNCED','popstate','transformIMECache','10NQgIez','_labelPosition','RemoteUniscriptService','CollaborationDataLoaderController','maxFormulaLimit','IRenderManagerService','200qErjVZ','shareReplay','_draw','?taskId=','_handleHover','with','_onCursorUpdate','_render','Rectangle','setInterval','_name','generateRandomId','_scene','entries','_document','getCellPositionByOffset','string','_saveTaskMap','setActiveRange','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_initEvent','CollaborationEvent','round','complete','getActiveRange','_memberService','getMergeData','executeCommand','_config','MessageType','getViewport','takeUntil','FormulaExecuteStageType','YUUMI_AI_RUN_FAILED','Rect','SNAPSHOT_HAS_BEEN_REMOVED','toDisposable','pluginName','undoState','children','disposeUnit','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_localCacheService','YUUMI_ASYNCIO_CANCELLED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_drawRectRange','747315ESkJlq','SetWorksheetActivateCommand','_revisionService','isActive','Success','_docStateChangeManagerService','docStateChange$','code','measureText','registerDependencies','CommandType','blue.400','INVALID_ARGUMENT','includes','DeleteRangeMoveLeftCommandId','save','application/json','CollaborationSocketService','getUnitId','_startSheetCollabCursor','sessionTicket','getColorFromTheme','history','_range','drawWith','EMAIL_VERIFY_CODE_MISMATCH','_backgroundColor','_getMergeRange','Vector2','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','throttleTime','text','debounceTime','RegularPolygon','tag','SetFormulaCalculationStartMutation','translate(.97)','Disposable','_scheduleHeartbeat','ICommandService','selections','_refRangeService','getCollabCursors$','onRendered','onCommandExecuted','now','CanceledError','[CollaborationDataLoaderController]','_collaborationUIEventService','UniverSheets','stringify','current','div','some','APPLY_REJECT','black','Injector','NodePositionConvertToRectRange','map','UNIVER_DOC','Error','REDEMPTION_USER_REDEEM_TIMES_EXCEED','parse','CLOSE_ROOM','colorChannel1','@univerjs/sheets-ui','@univerjs/design','DisposableCollection','RefRangeService','UniverSheetsUi','_registerDependencies','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','parseInt','_messageService','@univerjs/sheets','fill','deepClone','ENTITLE_CAN_NOT_BUY_LOWER_OTP','xlink:href','UniverRpc','idSuffix','runOnServer','function','Loading','permission.content','getRelativeToViewportCoord','override','limitInfo','OTHER_CLIENTS_EDITING','RevisionService','color','DocSelectionManagerService','symbol','_toggleOffline','clearTimeout','result','_docTransformStateCacheService','white','m1Prime','permission.title','DOC_RANGE_TYPE','DataLoaderService','FormulaExecutedStateType','_refreshCollabCursors','_registerRenderDependencies','UniverInstanceType','4471072gJiwyf','searchParams','onPointerEnter$','LICENSE_DISTRO_REJECTED','LOCAL_CACHE_INTERVAL','send','ENTITLE_DUP_SUBSCRIPTION','CollaborationStatus','_status$','_onRefRangeChange','dispose$','isFormulaId','next','mask','APPLY_DUPLICATED','newValue','TEXT','handleDeleteRangeMoveUp','_toggleOnline','getParam','moveTo','row','addEventListener','top','_getSaveTimeout','flatMap','registerBeforeClose','441839HFAKrY','init','startRow','debounce','disposeWithMe','_roomMembers$','disableLocalCache','error','useDependency','_commandService','ILocalStorageService','collabStatus.synced','forEach','makeDirty','getStateCache','UniverUi','combineLatest','activeSheet$','Module','getConfig','_colorAssignService','transformSelections','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','SHEET_VIEWPORT_KEY','getDocRanges','currentColor','UniverNetwork','roomMembers','_anchor','_hasFormulaInDirtyRanges','USER_NOT_INVITED_CODE','_collabCursorController','_removeCollabCursors','DesktopCollaborationStatusDisplayController','collab-rect-range-','redoState','collab-client.tooltip.reconnect','collabStatus.conflict','SheetsSelectionsService','loadUnit','_cursorInfo$','unitID','_syncEditingCollabCursorService','SessionStatus','_unitOnClients','_cursors','forwardRef','collaboration.single-unit.warning','APPLY_NON_SEQUENTIAL_REVISION','APPLY_PERMISSION_DENIED','TOO_MANY_REQUESTS','DEFAULT_WS_SESSION_TICKET_URL','Unknown\x20user','getSheetId','red.300','delete','ENTITLE_CHAT_LIMIT_EXCEED','createIdentifier','amd','imageSourceType','@univerjs/core','_dataLoaderService','YUUMI_NO_CUBOID_FOR_QUESTION','ILocalCacheService','DocStateChangeManagerService','roomMembers$','COLORS','_transformUndoRedoStack','SheetSkeletonManagerService','_heartbeatTimer','actions','href','_localeService','setUndoRedoMutationParamsCache','mapTo','origin','switchMap','currentSkeleton$','column','AWAITING_WITH_PENDING','handleInsertCol','TEXT_RANGE_LAYER_INDEX','UnitStatus','_sheetSkeletonManagerService','_configService','_applyCommand','UniverIcon','CollaborationUIEventService','LOCAL_CACHE_INTERVAL_KEY','_taskIds','#FFF','Shape','ENSURE_SNAPSHOT_EXECUTION','defineProperty','filter','SUCCESS','YUUMI_RATE_OVER_LIMIT','http://www.w3.org/2000/svg','COMPLETION_FINISHED','use','INVITE_CODE_HAS_BEEN_UES','UniverDocsUi','params','removeParam','_docSkeletonManagerService','svg','_eventUnsubscribe','getTypeOfUnitAdded$','transformMutation','getUniverSheetInstance','Tools','_setFormulaLimitStatus','NodePositionConvertToCursor','_docClipboardService','getFocusedUnit','isArray'];_0x28d7=function(){return _0x3e8daf;};return _0x28d7();}function _0x2ce3(_0x25f65b,_0x5de281){const _0x28d7e0=_0x28d7();return _0x2ce3=function(_0x2ce347,_0x10f8c5){_0x2ce347=_0x2ce347-0x1e6;let _0x57b8fe=_0x28d7e0[_0x2ce347];return _0x57b8fe;},_0x2ce3(_0x25f65b,_0x5de281);}(function(_0x4aeeeb,_0xd0b9f9){const _0x4d6098=_0x2ce3,_0x1f9043=_0x4aeeeb();while(!![]){try{const _0x48ccf9=-parseInt(_0x4d6098(0x309))/0x1*(-parseInt(_0x4d6098(0x409))/0x2)+parseInt(_0x4d6098(0x39c))/0x3+-parseInt(_0x4d6098(0x2ee))/0x4+-parseInt(_0x4d6098(0x24f))/0x5*(-parseInt(_0x4d6098(0x441))/0x6)+parseInt(_0x4d6098(0x3c6))/0x7*(-parseInt(_0x4d6098(0x255))/0x8)+parseInt(_0x4d6098(0x284))/0x9*(parseInt(_0x4d6098(0x3f3))/0xa)+parseInt(_0x4d6098(0x48b))/0xb;if(_0x48ccf9===_0xd0b9f9)break;else _0x1f9043['push'](_0x1f9043['shift']());}catch(_0x559b5a){_0x1f9043['push'](_0x1f9043['shift']());}}}(_0x28d7,0xd669a),function(_0x1f0e85,_0x4ee07b){const _0x3b57cc=_0x2ce3;typeof exports==_0x3b57cc(0x3dc)&&typeof module<'u'?_0x4ee07b(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==_0x3b57cc(0x2d6)&&define[_0x3b57cc(0x343)]?define(['exports','react/jsx-runtime',_0x3b57cc(0x405),_0x3b57cc(0x345),_0x3b57cc(0x3de),_0x3b57cc(0x42b),_0x3b57cc(0x2c6),'react','@univerjs/rpc',_0x3b57cc(0x2ce),'@univerjs/engine-render','@univerjs/network',_0x3b57cc(0x488),'@univerjs/drawing',_0x3b57cc(0x416),_0x3b57cc(0x228),_0x3b57cc(0x499),_0x3b57cc(0x3ec),_0x3b57cc(0x2c5)],_0x4ee07b):(_0x1f0e85=typeof globalThis<'u'?globalThis:_0x1f0e85||self,_0x4ee07b(_0x1f0e85[_0x3b57cc(0x418)]={},_0x1f0e85[_0x3b57cc(0x3c2)],_0x1f0e85[_0x3b57cc(0x3c9)],_0x1f0e85['UniverCore'],_0x1f0e85[_0x3b57cc(0x318)],_0x1f0e85[_0x3b57cc(0x42b)],_0x1f0e85[_0x3b57cc(0x443)],_0x1f0e85['React'],_0x1f0e85[_0x3b57cc(0x2d3)],_0x1f0e85[_0x3b57cc(0x2b5)],_0x1f0e85[_0x3b57cc(0x456)],_0x1f0e85[_0x3b57cc(0x323)],_0x1f0e85[_0x3b57cc(0x36e)],_0x1f0e85[_0x3b57cc(0x4a6)],_0x1f0e85['UniverProCollaboration'],_0x1f0e85['UniverDocs'],_0x1f0e85['UniverEngineFormula'],_0x1f0e85[_0x3b57cc(0x42b)][_0x3b57cc(0x212)],_0x1f0e85[_0x3b57cc(0x2c9)]));}(this,function(_0x116b26,_0x45952e,_0x2de05c,_0x1187a4,_0x20024a,_0x1068bb,_0x64dbc4,_0x3e72b6,_0x585870,_0x2fe98e,_0x52d8dc,_0x391b32,_0x1b81cc,_0x56cf3b,_0xa5f490,_0x17f20c,_0xbede2,_0x4ba09f,_0x44ccda){'use strict';const _0x45f550=_0x2ce3;var _0xc015df=Object[_0x45f550(0x366)],_0x25a0c6=(_0x1aa1a5,_0x23d84e,_0x497013)=>_0x23d84e in _0x1aa1a5?_0xc015df(_0x1aa1a5,_0x23d84e,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x497013}):_0x1aa1a5[_0x23d84e]=_0x497013,_0x4775d1=(_0x5166a5,_0x47bfc5,_0x3a2fbf)=>_0x25a0c6(_0x5166a5,typeof _0x47bfc5!=_0x45f550(0x2e0)?_0x47bfc5+'':_0x47bfc5,_0x3a2fbf);function _0x494ef5({ref:_0x56a600,..._0xf6be5}){const _0x4e3047=_0x45f550,{icon:_0x343321,id:_0x347360,className:_0x248354,extend:_0x3b8242,..._0x3d7f88}=_0xf6be5,_0x139c55=('univerjs-icon\x20univerjs-icon-'+_0x347360+'\x20'+(_0x248354||''))[_0x4e3047(0x45d)](),_0x227ff2=_0x3e72b6[_0x4e3047(0x23a)]('_'+_0x2a69a1());return _0x2e23e2(_0x343321,''+_0x347360,{'defIds':_0x343321[_0x4e3047(0x206)],'idSuffix':_0x227ff2[_0x4e3047(0x2b7)]},{'ref':_0x56a600,'className':_0x139c55,..._0x3d7f88},_0x3b8242);}function _0x2e23e2(_0x1e845c,_0x7b0184,_0x4b650f,_0x28f7d3,_0x3492c7){const _0x255e0d=_0x45f550;return _0x3e72b6['createElement'](_0x1e845c[_0x255e0d(0x2a6)],{'key':_0x7b0184,..._0x43038e(_0x1e845c,_0x4b650f,_0x3492c7),..._0x28f7d3},(_0x2975fc(_0x1e845c,_0x4b650f)[_0x255e0d(0x27c)]||[])['map']((_0x224257,_0x4250bb)=>_0x2e23e2(_0x224257,_0x7b0184+'-'+_0x1e845c['tag']+'-'+_0x4250bb,_0x4b650f,void 0x0,_0x3492c7)));}function _0x43038e(_0xfc4929,_0x1a91cf,_0x434d30){const _0x423621=_0x45f550,_0x3a74fb={..._0xfc4929[_0x423621(0x3e4)]};_0x434d30!=null&&_0x434d30['colorChannel1']&&_0x3a74fb['fill']===_0x423621(0x2c4)&&(_0x3a74fb[_0x423621(0x2cf)]=_0x434d30[_0x423621(0x2c4)]),_0xfc4929[_0x423621(0x2a6)]===_0x423621(0x2fb)&&_0x3a74fb['id']&&(_0x3a74fb['id']=_0x3a74fb['id']+_0x1a91cf[_0x423621(0x2d4)]),Object[_0x423621(0x262)](_0x3a74fb)[_0x423621(0x315)](([_0x3b323d,_0x4894b9])=>{const _0x187511=_0x423621;_0x3b323d===_0x187511(0x2fb)&&typeof _0x4894b9==_0x187511(0x265)&&(_0x3a74fb[_0x3b323d]=_0x4894b9[_0x187511(0x3c7)](/url\(#(.*)\)/,_0x187511(0x204)+_0x1a91cf[_0x187511(0x2d4)]+')'));});const {defIds:_0x34d31f}=_0x1a91cf;return!_0x34d31f||_0x34d31f[_0x423621(0x49c)]===0x0||(_0xfc4929[_0x423621(0x2a6)]===_0x423621(0x36c)&&_0x3a74fb[_0x423621(0x2d2)]&&(_0x3a74fb[_0x423621(0x2d2)]=_0x3a74fb['xlink:href']+_0x1a91cf['idSuffix']),Object[_0x423621(0x262)](_0x3a74fb)[_0x423621(0x315)](([_0x4322e5,_0x444d4d])=>{const _0x20603c=_0x423621;typeof _0x444d4d=='string'&&(_0x3a74fb[_0x4322e5]=_0x444d4d[_0x20603c(0x3c7)](/url\(#(.*)\)/,'url(#$1'+_0x1a91cf['idSuffix']+')'));})),_0x3a74fb;}function _0x2975fc(_0x5edba8,_0x1efc7b){const _0x891a2b=_0x45f550;var _0x56eb80;const {defIds:_0x51c2dd}=_0x1efc7b;return!_0x51c2dd||_0x51c2dd[_0x891a2b(0x49c)]===0x0?_0x5edba8:_0x5edba8['tag']===_0x891a2b(0x3ee)&&((_0x56eb80=_0x5edba8[_0x891a2b(0x27c)])!=null&&_0x56eb80[_0x891a2b(0x49c)])?{..._0x5edba8,'children':_0x5edba8[_0x891a2b(0x27c)][_0x891a2b(0x2be)](_0x402ef3=>typeof _0x402ef3['attrs']['id']==_0x891a2b(0x265)&&_0x51c2dd&&_0x51c2dd[_0x891a2b(0x291)](_0x402ef3[_0x891a2b(0x3e4)]['id'])?{..._0x402ef3,'attrs':{..._0x402ef3[_0x891a2b(0x3e4)],'id':_0x402ef3[_0x891a2b(0x3e4)]['id']+_0x1efc7b[_0x891a2b(0x2d4)]}}:_0x402ef3)}:_0x5edba8;}function _0x2a69a1(){const _0x498309=_0x45f550;return Math['random']()[_0x498309(0x3fe)](0x24)['substring'](0x2,0x8);}_0x494ef5['displayName']=_0x45f550(0x35f);const _0x4333a8={'tag':_0x45f550(0x372),'attrs':{'xmlns':_0x45f550(0x36a),'fill':_0x45f550(0x237),'viewBox':'0\x200\x2016\x2016','width':_0x45f550(0x4ae),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x45f550(0x453),'attrs':{'stroke':'currentColor','d':_0x45f550(0x31f),'strokeLinecap':_0x45f550(0x26b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x45f550(0x3ee),'attrs':{},'children':[{'tag':_0x45f550(0x447),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x45f550(0x453),'attrs':{'fill':'white','d':_0x45f550(0x3f4)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x32bf8d=_0x3e72b6[_0x45f550(0x337)](function(_0x410296,_0xfc3306){const _0x2b8452=_0x45f550;return _0x3e72b6['createElement'](_0x494ef5,Object[_0x2b8452(0x450)]({},_0x410296,{'id':_0x2b8452(0x3fd),'ref':_0xfc3306,'icon':_0x4333a8}));});_0x32bf8d[_0x45f550(0x3a7)]='OffLineIcon';const _0x1c6932={'tag':_0x45f550(0x372),'attrs':{'xmlns':_0x45f550(0x36a),'fill':'none','viewBox':_0x45f550(0x1e9),'width':_0x45f550(0x4ae),'height':_0x45f550(0x4ae)},'children':[{'tag':'g','attrs':{'clipPath':_0x45f550(0x223)},'children':[{'tag':_0x45f550(0x453),'attrs':{'stroke':_0x45f550(0x322),'d':_0x45f550(0x2a1),'strokeLinecap':_0x45f550(0x26b),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x45f550(0x453),'attrs':{'fill':_0x45f550(0x2e5),'d':_0x45f550(0x3f4),'transform':_0x45f550(0x2a8)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x51164a=_0x3e72b6[_0x45f550(0x337)](function(_0x3756c7,_0x213ed4){const _0x23f94a=_0x45f550;return _0x3e72b6['createElement'](_0x494ef5,Object[_0x23f94a(0x450)]({},_0x3756c7,{'id':_0x23f94a(0x414),'ref':_0x213ed4,'icon':_0x1c6932}));});_0x51164a[_0x45f550(0x3a7)]='OnLineIcon';function _0x640631(_0x2e39f5){const _0x5be986=_0x45f550;switch(_0x2e39f5){case _0x2de05c['CollaborationStatus']['OFFLINE']:return'collabStatus.offline';case _0x2de05c[_0x5be986(0x2f5)][_0x5be986(0x38a)]:return _0x5be986(0x32e);case _0x2de05c[_0x5be986(0x2f5)][_0x5be986(0x3b4)]:return'collabStatus.fetchMiss';case _0x2de05c['CollaborationStatus']['NOT_COLLAB']:return _0x5be986(0x3cd);case _0x2de05c[_0x5be986(0x2f5)][_0x5be986(0x210)]:case _0x2de05c[_0x5be986(0x2f5)][_0x5be986(0x358)]:return _0x5be986(0x394);case _0x2de05c['CollaborationStatus'][_0x5be986(0x24c)]:case _0x2de05c[_0x5be986(0x2f5)]['PENDING']:return _0x5be986(0x314);}}function _0x71f5cb(_0xb5615){const _0x4dd830=_0x45f550,{status$:_0x496ab0}=_0xb5615,_0x32d255=_0x20024a[_0x4dd830(0x496)](_0x496ab0,_0x2de05c[_0x4dd830(0x2f5)][_0x4dd830(0x434)]),_0x4d0a3f=_0x20024a[_0x4dd830(0x311)](_0x1187a4[_0x4dd830(0x3a3)]),_0x1b310b=_0x20024a[_0x4dd830(0x311)](_0x2de05c[_0x4dd830(0x44a)]),_0x4281c5=_0x32d255!==_0x2de05c[_0x4dd830(0x2f5)][_0x4dd830(0x395)],_0x294412=_0x4d0a3f['t'](_0x640631(_0x32d255)),_0x288bc6=_0x4281c5?_0x45952e[_0x4dd830(0x3a1)](_0x51164a,{}):_0x45952e[_0x4dd830(0x3a1)](_0x32bf8d,{}),_0x15156f=_0x3e72b6['useCallback'](()=>{const _0x276938=_0x4dd830;_0x4281c5||_0x1b310b[_0x276938(0x20a)]();},[_0x4281c5,_0x1b310b]);function _0x5ca125(){const _0x59916a=_0x4dd830;return _0x45952e['jsxs'](_0x59916a(0x2b8),{'className':'univer-flex\x20univer-items-center','onClick':_0x15156f,'children':[_0x45952e[_0x59916a(0x3a1)](_0x59916a(0x2b8),{'className':_0x64dbc4['clsx'](_0x59916a(0x413),{'univer-text-green-500':_0x4281c5,'univer-text-red-500':!_0x4281c5}),'children':_0x288bc6}),_0x45952e[_0x59916a(0x3a1)](_0x59916a(0x2b8),{'className':_0x59916a(0x268),'children':_0x294412})]});}return _0x4281c5?_0x5ca125():_0x45952e['jsx'](_0x64dbc4[_0x4dd830(0x3d1)],{'title':_0x4d0a3f['t'](_0x4dd830(0x32d)),'children':_0x5ca125()});}var _0x491a22=Object[_0x45f550(0x38f)],_0x2fb467=(_0x3c6f38,_0x18c9bc,_0x36e0e8,_0x3c1290)=>{const _0x38f7de=_0x45f550;for(var _0x55ab2f=_0x3c1290>0x1?void 0x0:_0x3c1290?_0x491a22(_0x18c9bc,_0x36e0e8):_0x18c9bc,_0x4aa217=_0x3c6f38[_0x38f7de(0x49c)]-0x1,_0x53a63f;_0x4aa217>=0x0;_0x4aa217--)(_0x53a63f=_0x3c6f38[_0x4aa217])&&(_0x55ab2f=_0x53a63f(_0x55ab2f)||_0x55ab2f);return _0x55ab2f;},_0x4ecece=(_0x3bd181,_0x1f0135)=>(_0x19f789,_0x325306)=>_0x1f0135(_0x19f789,_0x325306,_0x3bd181);_0x116b26[_0x45f550(0x32a)]=class extends _0x1187a4[_0x45f550(0x2a9)]{constructor(_0x3bc150,_0x472b98,_0x469d48,_0x532715){const _0x5cfd4f=_0x45f550;super(),_0x4775d1(this,_0x5cfd4f(0x2f6),new _0x1068bb['BehaviorSubject'](_0x2de05c['CollaborationStatus'][_0x5cfd4f(0x434)])),(this['_univerInstanceService']=_0x3bc150,this[_0x5cfd4f(0x234)]=_0x472b98,this[_0x5cfd4f(0x1e7)]=_0x469d48,this[_0x5cfd4f(0x1f7)]=_0x532715,this[_0x5cfd4f(0x21b)](),this['_initStatusListener']());}[_0x45f550(0x458)](){const _0x4f1304=_0x45f550;this[_0x4f1304(0x30d)](this[_0x4f1304(0x225)][_0x4f1304(0x202)][_0x4f1304(0x229)](_0x1068bb[_0x4f1304(0x355)](()=>{const _0x36db8c=_0x4f1304,_0x177eba=this['_univerInstanceService'][_0x36db8c(0x37b)]();return _0x177eba?this[_0x36db8c(0x1e7)][_0x36db8c(0x484)](_0x177eba['getUnitId']()):_0x1068bb['of'](null);}),_0x1068bb[_0x4f1304(0x355)](_0x492846=>_0x492846?_0x492846['status$']:_0x1068bb['of'](_0x2de05c[_0x4f1304(0x2f5)][_0x4f1304(0x434)])))[_0x4f1304(0x43e)](_0x287706=>{const _0x76d033=_0x4f1304;this[_0x76d033(0x2f6)][_0x76d033(0x2fa)](_0x287706);}));}[_0x45f550(0x21b)](){const _0x26769b=_0x45f550;this['disposeWithMe'](this[_0x26769b(0x1f7)][_0x26769b(0x20c)](_0x20024a[_0x26769b(0x3ce)][_0x26769b(0x423)],()=>_0x20024a['connectInjector'](_0x228bd2({'status$':this[_0x26769b(0x2f6)]['asObservable']()}),this['_injector'])));}},_0x116b26[_0x45f550(0x32a)]=_0x2fb467([_0x4ecece(0x0,_0x1187a4[_0x45f550(0x3a0)]),_0x4ecece(0x1,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x2bc)])),_0x4ecece(0x2,_0x1187a4[_0x45f550(0x474)](_0x2de05c[_0x45f550(0x3df)])),_0x4ecece(0x3,_0x20024a[_0x45f550(0x22a)])],_0x116b26['DesktopCollaborationStatusDisplayController']);function _0x228bd2(_0x314a53){const {status$:_0x26cdf9}=_0x314a53;return function(){const _0x4b0a2d=_0x2ce3;return _0x45952e[_0x4b0a2d(0x3a1)](_0x71f5cb,{'status$':_0x26cdf9});};}const _0x48aae0=_0x1187a4[_0x45f550(0x342)](_0x45f550(0x227));var _0x6faaa7=Object[_0x45f550(0x38f)],_0x2329d7=(_0x10c09d,_0x4c82cf,_0x532383,_0x415d85)=>{const _0x30b195=_0x45f550;for(var _0x405fdb=_0x415d85>0x1?void 0x0:_0x415d85?_0x6faaa7(_0x4c82cf,_0x532383):_0x4c82cf,_0x3df413=_0x10c09d[_0x30b195(0x49c)]-0x1,_0x2a1839;_0x3df413>=0x0;_0x3df413--)(_0x2a1839=_0x10c09d[_0x3df413])&&(_0x405fdb=_0x2a1839(_0x405fdb)||_0x405fdb);return _0x405fdb;},_0x2700a7=(_0x50f701,_0x45118d)=>(_0x40cb80,_0x22973b)=>_0x45118d(_0x40cb80,_0x22973b,_0x50f701);_0x116b26[_0x45f550(0x252)]=class extends _0x1187a4[_0x45f550(0x215)]{constructor(_0x1432ef,_0x239eb0,_0x260368,_0x3cfe54,_0x420fee){const _0x3cb7f2=_0x45f550;super(),this[_0x3cb7f2(0x43c)]=_0x1432ef,this[_0x3cb7f2(0x3bc)]=_0x239eb0,this[_0x3cb7f2(0x312)]=_0x260368,this[_0x3cb7f2(0x346)]=_0x3cfe54,_0x420fee?_0x420fee==null||_0x420fee[_0x3cb7f2(0x3c0)]()[_0x3cb7f2(0x420)](()=>this[_0x3cb7f2(0x22b)]()):(this['_logService'][_0x3cb7f2(0x455)]('[CollaborationDataLoaderController]',_0x3cb7f2(0x3ef)),this[_0x3cb7f2(0x22b)]());}async['_init'](){const _0x4d69da=_0x45f550,_0x49170b=this[_0x4d69da(0x43c)][_0x4d69da(0x301)]('unit'),_0x3a5f7a=this[_0x4d69da(0x43c)]['getParam'](_0x4d69da(0x493)),_0x413030=this[_0x4d69da(0x43c)][_0x4d69da(0x301)](_0x4d69da(0x3f9));if(!_0x49170b||!_0x3a5f7a){this[_0x4d69da(0x3bc)][_0x4d69da(0x455)](_0x4d69da(0x2b3),_0x4d69da(0x282));return;}const _0x4acdac=await this[_0x4d69da(0x346)][_0x4d69da(0x330)](_0x49170b,Number(_0x3a5f7a),_0x413030);_0x4acdac&&_0x4acdac instanceof _0x1187a4[_0x4d69da(0x380)]&&this[_0x4d69da(0x1ed)](_0x4acdac);}async[_0x45f550(0x1ed)](_0x17f53d){const _0x5493a1=_0x45f550;await this[_0x5493a1(0x40c)](_0x17f53d),_0x17f53d[_0x5493a1(0x31a)]['pipe'](_0x1068bb[_0x5493a1(0x274)](this[_0x5493a1(0x2f8)]))['subscribe'](_0xf788cb=>{const _0x45e4ba=_0x5493a1;_0xf788cb&&this[_0x45e4ba(0x385)](_0xf788cb);}),this['_urlService'][_0x5493a1(0x3bf)]['pipe'](_0x1068bb[_0x5493a1(0x274)](this[_0x5493a1(0x2f8)]))[_0x5493a1(0x43e)](()=>this[_0x5493a1(0x40c)](_0x17f53d));}[_0x45f550(0x385)](_0x1b9c39,_0x3df1fe=!0x1){const _0x2a96c1=_0x45f550,_0x43f8d0=this[_0x2a96c1(0x43c)]['getParam'](_0x2a96c1(0x3f9));_0x1b9c39[_0x2a96c1(0x33e)]()!==_0x43f8d0&&this['_urlService']['setParam'](_0x2a96c1(0x3f9),_0x1b9c39[_0x2a96c1(0x33e)](),_0x3df1fe);}async[_0x45f550(0x40c)](_0x459fd2){const _0x1f42f9=_0x45f550;var _0x159bec;const _0x557b19=this[_0x1f42f9(0x43c)][_0x1f42f9(0x301)](_0x1f42f9(0x3f9));if(!_0x557b19||!_0x459fd2[_0x1f42f9(0x3f2)](_0x557b19)){const _0x4043ac=_0x459fd2[_0x1f42f9(0x3d8)]()[0x0],_0x41b150=_0x459fd2['getSheetBySheetId'](_0x4043ac);if(!_0x41b150)return;this['_updateURLWithCurrentState'](_0x41b150,!0x0),await this[_0x1f42f9(0x312)][_0x1f42f9(0x270)](_0x2fe98e[_0x1f42f9(0x285)]['id'],{'unitId':_0x459fd2[_0x1f42f9(0x296)](),'subUnitId':_0x4043ac});return;}((_0x159bec=_0x459fd2[_0x1f42f9(0x465)]())==null?void 0x0:_0x159bec[_0x1f42f9(0x33e)]())!==_0x557b19&&await this[_0x1f42f9(0x312)][_0x1f42f9(0x270)](_0x2fe98e['SetWorksheetActivateCommand']['id'],{'unitId':_0x459fd2[_0x1f42f9(0x296)](),'subUnitId':_0x557b19});}},_0x116b26[_0x45f550(0x252)]=_0x2329d7([_0x2700a7(0x0,_0x48aae0),_0x2700a7(0x1,_0x1187a4[_0x45f550(0x437)]),_0x2700a7(0x2,_0x1187a4[_0x45f550(0x2ab)]),_0x2700a7(0x3,_0x1187a4[_0x45f550(0x474)](_0x2de05c[_0x45f550(0x2e9)])),_0x2700a7(0x4,_0x1187a4[_0x45f550(0x43b)](_0x585870[_0x45f550(0x393)]))],_0x116b26[_0x45f550(0x252)]);var _0x5e1ce0=Object[_0x45f550(0x38f)],_0x19d9a1=(_0x1ea789,_0x5a3019,_0xc93bcb,_0x449ab8)=>{const _0x39651=_0x45f550;for(var _0xcc3127=_0x449ab8>0x1?void 0x0:_0x449ab8?_0x5e1ce0(_0x5a3019,_0xc93bcb):_0x5a3019,_0x435271=_0x1ea789[_0x39651(0x49c)]-0x1,_0x3517b8;_0x435271>=0x0;_0x435271--)(_0x3517b8=_0x1ea789[_0x435271])&&(_0xcc3127=_0x3517b8(_0xcc3127)||_0xcc3127);return _0xcc3127;},_0x4a84ef=(_0xbcca62,_0x32e995)=>(_0xaa9e79,_0x365394)=>_0x32e995(_0xaa9e79,_0x365394,_0xbcca62);let _0x5bb55b=class extends _0x1187a4['RxDisposable']{constructor(_0x162992,_0x1b5b56){const _0x32c959=_0x45f550;super(),this[_0x32c959(0x37a)]=_0x162992,this['_imageIoService']=_0x1b5b56,this[_0x32c959(0x22b)]();}[_0x45f550(0x22b)](){const _0x215bf2=_0x45f550,_0x187839=this;this[_0x215bf2(0x30d)](this['_docClipboardService'][_0x215bf2(0x468)]({'onBeforePasteImage':async _0x2b9d9a=>{const _0x215b06=_0x215bf2,_0x5aa031=await _0x187839['_imageIoService'][_0x215b06(0x3fc)](_0x2b9d9a);return _0x5aa031?{'source':_0x5aa031[_0x215b06(0x220)],'imageSourceType':_0x5aa031[_0x215b06(0x344)]}:null;}}));}};_0x5bb55b=_0x19d9a1([_0x4a84ef(0x0,_0x1b81cc[_0x45f550(0x24a)]),_0x4a84ef(0x1,_0x56cf3b['IImageIoService'])],_0x5bb55b);const _0x5ec0ef=[_0x45f550(0x1f3),_0x45f550(0x3e5),_0x45f550(0x43f),_0x45f550(0x33f),_0x45f550(0x28f),'yellow.400'];class _0x5cc5ff extends _0x1187a4[_0x45f550(0x2a9)]{constructor(){const _0x21494e=_0x45f550;super(...arguments),_0x4775d1(this,'_assignedColors',new Map()),_0x4775d1(this,_0x21494e(0x384),0x0);}[_0x45f550(0x43d)](_0x459d30){const _0x2b0d72=_0x45f550;if(this[_0x2b0d72(0x3cc)]['has'](_0x459d30))return this[_0x2b0d72(0x3cc)]['get'](_0x459d30);const _0x3ed968=_0x5ec0ef[this[_0x2b0d72(0x384)]];return this[_0x2b0d72(0x384)]=(this['_colorIndex']+0x1)%_0x5ec0ef[_0x2b0d72(0x49c)],this[_0x2b0d72(0x3cc)][_0x2b0d72(0x47c)](_0x459d30,_0x3ed968),_0x3ed968;}}function _0x46e9a9(_0x35ee9e){const _0x2053f1=_0x45f550;let _0x220594='';for(const _0x5ceda0 of _0x35ee9e){const {startOffset:_0x92c5c5,endOffset:_0x1b477b,isActive:_0x1256b9,rangeType:_0x615d1a,segmentId:_0x3e4285,segmentPage:_0x3bb1a9}=_0x5ceda0;_0x220594[_0x2053f1(0x49c)]&&(_0x220594+=','),_0x220594+=_0x92c5c5+':'+_0x1b477b+':'+(_0x1256b9?'1':'0')+':'+_0x615d1a+':'+_0x3e4285+':'+_0x3bb1a9;}return _0x220594;}function _0xcdb123(_0x304961){const _0x51731b=_0x45f550,_0x2a9773=_0x304961['split'](','),_0x2477d7=[];for(const _0x307bf9 of _0x2a9773){const [_0x121e09,_0x9fbf9e,_0x33a6f4,_0xc89b70,_0x2577cb,_0x4a96ea]=_0x307bf9[_0x51731b(0x3e7)](':');_0x2477d7[_0x51731b(0x3e8)]({'startOffset':Number(_0x121e09),'endOffset':Number(_0x9fbf9e),'collapsed':_0x121e09===_0x9fbf9e,'isActive':_0x33a6f4==='1','rangeType':_0xc89b70===_0x1187a4['DOC_RANGE_TYPE'][_0x51731b(0x2fe)]?_0x1187a4[_0x51731b(0x2e8)][_0x51731b(0x2fe)]:_0x1187a4[_0x51731b(0x2e8)]['RECT'],'segmentId':typeof _0x2577cb=='string'?String(_0x2577cb):'','segmentPage':Number(_0x4a96ea!=null?_0x4a96ea:-0x1)});}return _0x2477d7[_0x51731b(0x2b9)](_0x2863b0=>_0x2863b0[_0x51731b(0x287)])||(_0x2477d7[0x0][_0x51731b(0x287)]=!0x0),_0x2477d7;}class _0x3cbd00 extends _0x1187a4[_0x45f550(0x215)]{constructor(){const _0x43ffe4=_0x45f550;super(...arguments),_0x4775d1(this,'_collabCursorState$',new _0x1068bb['BehaviorSubject'](null)),_0x4775d1(this,'collabCursorState$',this['_collabCursorState$'][_0x43ffe4(0x41f)]());}[_0x45f550(0x249)](_0x3b308a){const _0x24050f=_0x45f550,{unitID:_0x4c8b40,memberID:_0x520a3f,textRanges:_0x433003}=_0x3b308a,_0x1caa9a=_0x46e9a9(_0x433003);if(_0x1caa9a==='')return;const _0x57ea92={'unitID':_0x4c8b40,'memberID':_0x520a3f,'selection':_0x1caa9a};this[_0x24050f(0x222)][_0x24050f(0x2fa)](_0x57ea92);}}var _0xad61c2=Object[_0x45f550(0x38f)],_0x583d97=(_0x5c2ab7,_0x5dcd45,_0x5288e1,_0x5bb57b)=>{const _0x4cdcfa=_0x45f550;for(var _0xc2cda=_0x5bb57b>0x1?void 0x0:_0x5bb57b?_0xad61c2(_0x5dcd45,_0x5288e1):_0x5dcd45,_0x3c8e95=_0x5c2ab7[_0x4cdcfa(0x49c)]-0x1,_0x476a3c;_0x3c8e95>=0x0;_0x3c8e95--)(_0x476a3c=_0x5c2ab7[_0x3c8e95])&&(_0xc2cda=_0x476a3c(_0xc2cda)||_0xc2cda);return _0xc2cda;},_0x38bf1e=(_0xac5fb5,_0x579f30)=>(_0xa45741,_0x4327c9)=>_0x579f30(_0xa45741,_0x4327c9,_0xac5fb5);const _0x31f225=0x12c,_0x5b3860=0x64;let _0x5e29f4=class extends _0x1187a4[_0x45f550(0x215)]{constructor(_0xb98685,_0x4da786,_0x1ce1e9,_0x1a4afe,_0x492bfb,_0x50ddfb,_0x31db54,_0x299843,_0x202ea1){const _0x3a8ec1=_0x45f550;super(),_0x4775d1(this,'_online',!0x1),_0x4775d1(this,_0x3a8ec1(0x22b),!0x1),_0x4775d1(this,_0x3a8ec1(0x331),new _0x1068bb[(_0x3a8ec1(0x390))](new Map())),_0x4775d1(this,'cursorInfo$',this[_0x3a8ec1(0x331)]['asObservable']()),_0x4775d1(this,_0x3a8ec1(0x30e),new _0x1068bb[(_0x3a8ec1(0x390))]([])),_0x4775d1(this,_0x3a8ec1(0x34a),this['_roomMembers$'][_0x3a8ec1(0x229)](_0x1068bb[_0x3a8ec1(0x2a4)](_0x31f225))),_0x4775d1(this,_0x3a8ec1(0x3c5),_0x1187a4[_0x3a8ec1(0x30c)](_0x11b4f0=>{const _0x4e2b6d=_0x3a8ec1,_0x34312d={'eventID':_0xa5f490[_0x4e2b6d(0x26a)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x4e2b6d(0x332)],'memberID':this[_0x4e2b6d(0x3f5)][_0x4e2b6d(0x490)](),'selection':_0x46e9a9(_0x11b4f0)}};this[_0x4e2b6d(0x3f5)]['send'](_0x34312d,this[_0x4e2b6d(0x332)]);},_0x5b3860)),(this[_0x3a8ec1(0x332)]=_0xb98685,this['_session']=_0x4da786,this[_0x3a8ec1(0x234)]=_0x1ce1e9,this[_0x3a8ec1(0x31d)]=_0x1a4afe,this['_memberService']=_0x492bfb,this[_0x3a8ec1(0x333)]=_0x50ddfb,this[_0x3a8ec1(0x47b)]=_0x31db54,this[_0x3a8ec1(0x225)]=_0x299843,this[_0x3a8ec1(0x312)]=_0x202ea1);}get[_0x45f550(0x1e6)](){const _0x5f5766=_0x45f550;return this['_cursorInfo$'][_0x5f5766(0x43a)]();}get['roomMembers'](){const _0x47d1fc=_0x45f550;return this[_0x47d1fc(0x30e)][_0x47d1fc(0x43a)]();}[_0x45f550(0x244)](){const _0x376c94=_0x45f550;super[_0x376c94(0x244)](),this[_0x376c94(0x331)][_0x376c94(0x2fa)](new Map()),this['_cursorInfo$']['complete'](),this[_0x376c94(0x30e)][_0x376c94(0x2fa)]([]),this['_roomMembers$'][_0x376c94(0x26c)]();}[_0x45f550(0x30a)](){const _0x1fb263=_0x45f550;this[_0x1fb263(0x22b)]||(this[_0x1fb263(0x22b)]=!0x0,this['_session'][_0x1fb263(0x46a)][_0x1fb263(0x229)](_0x1068bb[_0x1fb263(0x274)](this[_0x1fb263(0x2f8)]))[_0x1fb263(0x43e)](_0xbafa9f=>{const _0xa3e605=_0x1fb263;_0xbafa9f===_0x2de05c[_0xa3e605(0x334)][_0xa3e605(0x23d)]?this[_0xa3e605(0x300)]():this['_toggleOffline']();}),this[_0x1fb263(0x3f5)][_0x1fb263(0x239)][_0x1fb263(0x229)](_0x1068bb[_0x1fb263(0x274)](this['dispose$']))[_0x1fb263(0x43e)](_0x45180a=>{const _0xdd6e23=_0x1fb263,_0x24e207=_0x45180a['eventID'];_0x24e207===_0xa5f490[_0xdd6e23(0x26a)]['UPDATE_CURSOR']&&this[_0xdd6e23(0x25b)](_0x45180a),_0x24e207===_0xa5f490[_0xdd6e23(0x26a)][_0xdd6e23(0x1f5)]&&this['_onCursorDelete'](_0x45180a);}),this[_0x1fb263(0x30d)](this[_0x1fb263(0x312)][_0x1fb263(0x2b0)](_0x31486d=>{const _0x33c120=_0x1fb263,_0x305bf6=_0x31486d[_0x33c120(0x36f)];_0x305bf6!=null&&this[_0x33c120(0x475)]&&_0x31486d['id']===_0x17f20c[_0x33c120(0x3b0)]['id']&&_0x305bf6[_0x33c120(0x1f8)]===this[_0x33c120(0x332)]&&_0x305bf6['isEditing']===!0x1&&_0x305bf6['ranges']['length']>0x0&&this[_0x33c120(0x3c5)](_0x305bf6['ranges']);})),this[_0x1fb263(0x333)][_0x1fb263(0x398)][_0x1fb263(0x229)](_0x1068bb[_0x1fb263(0x274)](this[_0x1fb263(0x2f8)]))[_0x1fb263(0x43e)](_0x47bf57=>{const _0x2890d0=_0x1fb263;if((_0x47bf57==null?void 0x0:_0x47bf57[_0x2890d0(0x332)])!==this[_0x2890d0(0x332)])return;const _0x156b48={'eventID':_0xa5f490[_0x2890d0(0x26a)]['UPDATE_CURSOR'],'data':_0x47bf57};this[_0x2890d0(0x25b)](_0x156b48);}),this[_0x1fb263(0x30d)](this[_0x1fb263(0x312)]['onCommandExecuted'](_0x3dd847=>{const _0x1af1c4=_0x1fb263;if(_0x3dd847['params']==null)return;const _0x75d3f5=_0x3dd847[_0x1af1c4(0x36f)];if(_0x3dd847['id']!==_0x17f20c[_0x1af1c4(0x42d)]['id']||_0x75d3f5[_0x1af1c4(0x1f8)]!==this[_0x1af1c4(0x332)])return;const _0x12d456={'id':_0x1af1c4(0x492),'params':_0x75d3f5},_0x21ceba=this[_0x1af1c4(0x1e6)];for(const [_0x329940,_0x3b5652]of _0x21ceba){const _0xb87f17={'id':_0x1af1c4(0x492),'params':{'unitId':this[_0x1af1c4(0x332)],'actions':null,'textRanges':_0x3b5652[_0x1af1c4(0x3a2)]}},_0x2ace6c=this[_0x1af1c4(0x47b)][_0x1af1c4(0x375)](_0x12d456,_0xb87f17,!0x1);if(_0xa5f490[_0x1af1c4(0x46c)](_0x2ace6c))throw _0x2ace6c[_0x1af1c4(0x310)];_0x21ceba[_0x1af1c4(0x47c)](_0x329940,{..._0x3b5652,'ranges':_0x2ace6c['m2Prime']['params'][_0x1af1c4(0x22c)]});}queueMicrotask(()=>{const _0x22f394=_0x1af1c4;this[_0x22f394(0x331)][_0x22f394(0x2fa)](_0x21ceba);});})));}['_onCursorUpdate'](_0xffaa2e){const _0x506cce=_0x45f550;var _0x359553,_0x691c44;const {memberID:_0x138882,selection:_0x50096a}=_0xffaa2e[_0x506cce(0x213)],_0x30263f=_0xcdb123(_0x50096a),_0x152471=(_0x691c44=(_0x359553=this[_0x506cce(0x26e)][_0x506cce(0x470)](this[_0x506cce(0x332)],_0x138882))==null?void 0x0:_0x359553[_0x506cce(0x47f)])!=null?_0x691c44:_0x506cce(0x33d),_0x5b8232={'color':this['_colorAssignService'][_0x506cce(0x43d)](_0x138882),'name':_0x152471,'ranges':_0x30263f},_0x2cec7f=this[_0x506cce(0x1e6)];_0x2cec7f[_0x506cce(0x47c)](_0x138882,_0x5b8232),this[_0x506cce(0x331)][_0x506cce(0x2fa)](_0x2cec7f);}[_0x45f550(0x49f)](_0x351f8d){const _0x228ca3=_0x45f550,{memberID:_0x58e18a}=_0x351f8d['data'],_0x4df7b9=this[_0x228ca3(0x1e6)];_0x4df7b9[_0x228ca3(0x340)](_0x58e18a),this[_0x228ca3(0x331)][_0x228ca3(0x2fa)](_0x4df7b9);}[_0x45f550(0x300)](){const _0x19761c=_0x45f550;var _0x1ee8ca;if(this[_0x19761c(0x475)]=!0x0,((_0x1ee8ca=this[_0x19761c(0x225)][_0x19761c(0x37b)]())==null?void 0x0:_0x1ee8ca[_0x19761c(0x296)]())!==this[_0x19761c(0x332)])return;const _0x2d7283=this[_0x19761c(0x234)][_0x19761c(0x4b4)](_0x17f20c[_0x19761c(0x2df)])[_0x19761c(0x321)]();Array[_0x19761c(0x37c)](_0x2d7283)&&_0x2d7283['length']>0x0&&this[_0x19761c(0x3c5)](_0x2d7283);}[_0x45f550(0x2e1)](){const _0x59b562=_0x45f550;this[_0x59b562(0x475)]=!0x1;}};_0x5e29f4=_0x583d97([_0x38bf1e(0x2,_0x1187a4[_0x45f550(0x474)](_0x1187a4['Injector'])),_0x38bf1e(0x3,_0x1187a4[_0x45f550(0x474)](_0x5cc5ff)),_0x38bf1e(0x4,_0x1187a4['Inject'](_0x2de05c[_0x45f550(0x407)])),_0x38bf1e(0x5,_0x1187a4[_0x45f550(0x474)](_0x3cbd00)),_0x38bf1e(0x6,_0xa5f490[_0x45f550(0x3bb)]),_0x38bf1e(0x7,_0x1187a4[_0x45f550(0x3a0)]),_0x38bf1e(0x8,_0x1187a4['ICommandService'])],_0x5e29f4);var _0x40f37e=Object[_0x45f550(0x38f)],_0x2e3808=(_0x84650b,_0x44180b,_0x12c8c3,_0x109db4)=>{const _0x4073dd=_0x45f550;for(var _0x30ba83=_0x109db4>0x1?void 0x0:_0x109db4?_0x40f37e(_0x44180b,_0x12c8c3):_0x44180b,_0x4bc3a5=_0x84650b[_0x4073dd(0x49c)]-0x1,_0x2f3e44;_0x4bc3a5>=0x0;_0x4bc3a5--)(_0x2f3e44=_0x84650b[_0x4bc3a5])&&(_0x30ba83=_0x2f3e44(_0x30ba83)||_0x30ba83);return _0x30ba83;},_0x4ea09b=(_0x55a7ed,_0x14401f)=>(_0x4e5c20,_0x2934d9)=>_0x14401f(_0x4e5c20,_0x2934d9,_0x55a7ed);const _0x13a196=0x12c,_0x56c654=0x64,_0x820a61=()=>{let _0x10ca9f=[],_0x378ea2=!0x1;return _0x3132c0=>{const _0x414ba5=_0x2ce3;_0x10ca9f[_0x414ba5(0x3e8)](_0x3132c0),_0x378ea2||(_0x378ea2=!0x0,setTimeout(()=>{const _0x485670=_0x414ba5;_0x10ca9f[_0x485670(0x315)](_0x4436fa=>_0x4436fa()),_0x10ca9f=[],_0x378ea2=!0x1;}));};};let _0x1b6df5=class extends _0x1187a4[_0x45f550(0x215)]{constructor(_0x3d918b,_0xcb40bf,_0x446f2f,_0x2073b4,_0x4a2f46,_0x4a5d52,_0xb46402,_0x2e0596){const _0x41fdcf=_0x45f550;super(),_0x4775d1(this,_0x41fdcf(0x475),!0x1),_0x4775d1(this,_0x41fdcf(0x22b),!0x1),_0x4775d1(this,_0x41fdcf(0x331),new _0x1068bb[(_0x41fdcf(0x390))](new Map())),_0x4775d1(this,'cursorInfo$',this['_cursorInfo$']['asObservable']()),_0x4775d1(this,_0x41fdcf(0x30e),new _0x1068bb[(_0x41fdcf(0x390))]([])),_0x4775d1(this,'roomMembers$',this[_0x41fdcf(0x30e)][_0x41fdcf(0x229)](_0x1068bb[_0x41fdcf(0x2a4)](_0x13a196))),_0x4775d1(this,'_updateLocalCursor',_0x1187a4['debounce']((_0x125811,_0x26225b)=>{const _0x3602d1=_0x41fdcf,_0x4f2eef={'eventID':_0xa5f490[_0x3602d1(0x26a)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x3602d1(0x332)],'memberID':this[_0x3602d1(0x3f5)][_0x3602d1(0x490)](),'selection':_0xbede2[_0x3602d1(0x47e)](_0x125811,_0x26225b[_0x3602d1(0x41c)])}};this[_0x3602d1(0x3f5)][_0x3602d1(0x2f3)](_0x4f2eef,this[_0x3602d1(0x332)]);},_0x56c654)),(this[_0x41fdcf(0x332)]=_0x3d918b,this[_0x41fdcf(0x3f5)]=_0xcb40bf,this['_injector']=_0x446f2f,this[_0x41fdcf(0x31d)]=_0x2073b4,this['_memberService']=_0x4a2f46,this['_univerInstanceService']=_0x4a5d52,this[_0x41fdcf(0x312)]=_0xb46402,this[_0x41fdcf(0x2ad)]=_0x2e0596);}get[_0x45f550(0x1e6)](){const _0x34d085=_0x45f550;return this[_0x34d085(0x331)][_0x34d085(0x43a)]();}get[_0x45f550(0x324)](){const _0x2bbcae=_0x45f550;return this[_0x2bbcae(0x30e)][_0x2bbcae(0x43a)]();}[_0x45f550(0x244)](){const _0x45f01a=_0x45f550;super[_0x45f01a(0x244)](),this[_0x45f01a(0x331)][_0x45f01a(0x2fa)](new Map()),this[_0x45f01a(0x331)][_0x45f01a(0x26c)](),this['_roomMembers$'][_0x45f01a(0x2fa)]([]),this['_roomMembers$']['complete']();}[_0x45f550(0x30a)](){const _0x3926fb=_0x45f550;this[_0x3926fb(0x22b)]||(this[_0x3926fb(0x22b)]=!0x0,this[_0x3926fb(0x3f5)][_0x3926fb(0x46a)][_0x3926fb(0x229)](_0x1068bb['takeUntil'](this[_0x3926fb(0x2f8)]))[_0x3926fb(0x43e)](_0x4c144b=>{const _0x557f3c=_0x3926fb;_0x4c144b===_0x2de05c[_0x557f3c(0x334)]['ONLINE']?this[_0x557f3c(0x300)]():this[_0x557f3c(0x2e1)]();}),this['_session']['event$'][_0x3926fb(0x229)](_0x1068bb['takeUntil'](this[_0x3926fb(0x2f8)]))[_0x3926fb(0x43e)](_0x3b29b1=>{const _0x58a669=_0x3926fb,_0x34ce2b=_0x3b29b1['eventID'];_0x34ce2b===_0xa5f490[_0x58a669(0x26a)][_0x58a669(0x214)]&&this['_onCursorUpdate'](_0x3b29b1),_0x34ce2b===_0xa5f490[_0x58a669(0x26a)]['USERS_LEAVE']&&this[_0x58a669(0x49f)](_0x3b29b1);}),this[_0x3926fb(0x2f7)](),this[_0x3926fb(0x30d)](this[_0x3926fb(0x312)][_0x3926fb(0x2b0)](_0xe8441c=>{const _0x30ff1b=_0x3926fb;if(this[_0x30ff1b(0x475)]&&_0xe8441c['id']===_0x2fe98e['SetSelectionsOperation']['id']&&_0xe8441c[_0x30ff1b(0x36f)]['unitId']===this['unitID']){const _0x1d64e7=_0xe8441c['params'];this['_updateLocalCursor'](_0x1d64e7['subUnitId'],_0x1d64e7[_0x30ff1b(0x2ac)][0x0]);}})));}[_0x45f550(0x25b)](_0x1a4b1e){const _0x45b3eb=_0x45f550;var _0x41cae7,_0x1dbf9f;const {memberID:_0x1a8716,selection:_0x17c87e}=_0x1a4b1e['data'],{sheetName:_0x2d00e7,range:_0x364488}=_0xbede2[_0x45b3eb(0x49a)](_0x17c87e),_0x527eb1={'name':(_0x1dbf9f=(_0x41cae7=this[_0x45b3eb(0x26e)]['getMember'](this[_0x45b3eb(0x332)],_0x1a8716))==null?void 0x0:_0x41cae7[_0x45b3eb(0x47f)])!=null?_0x1dbf9f:_0x45b3eb(0x33d),'range':this['_getMergeRange'](_0x2d00e7,_0x364488),'sheetID':_0x2d00e7,'color':this[_0x45b3eb(0x31d)]['assignAColorForMemberID'](_0x1a8716),'selection':_0x17c87e},_0x3d4fc8=this[_0x45b3eb(0x1e6)];_0x3d4fc8[_0x45b3eb(0x47c)](_0x1a8716,_0x527eb1),this[_0x45b3eb(0x331)][_0x45b3eb(0x2fa)](_0x3d4fc8);}['_onCursorDelete'](_0x4b14f8){const _0x2758ea=_0x45f550,{memberID:_0x578be7}=_0x4b14f8[_0x2758ea(0x213)],_0x340932=this[_0x2758ea(0x1e6)];_0x340932[_0x2758ea(0x340)](_0x578be7),this['_cursorInfo$'][_0x2758ea(0x2fa)](_0x340932);}[_0x45f550(0x29f)](_0x4d33c9,_0x3b5b17){const _0x43782a=_0x45f550;var _0x3441f9,_0x24f938;const _0x2c7f39=(_0x24f938=(_0x3441f9=this[_0x43782a(0x225)][_0x43782a(0x376)](this[_0x43782a(0x332)]))==null?void 0x0:_0x3441f9[_0x43782a(0x3f2)](_0x4d33c9))==null?void 0x0:_0x24f938[_0x43782a(0x26f)]();return(_0x2c7f39==null?void 0x0:_0x2c7f39['find'](_0x5cedef=>_0x1187a4[_0x43782a(0x25d)][_0x43782a(0x3fa)](_0x5cedef,_0x3b5b17)))||_0x3b5b17;}[_0x45f550(0x2f7)](){const _0x55fcda=_0x45f550,_0x47520f=new _0x1187a4[(_0x55fcda(0x2c7))](),_0x490e84=_0x820a61(),_0x2900ff=()=>{const _0x31d36c=_0x55fcda;_0x47520f['dispose']();const _0x100371=(_0x17959f,_0x225b54,_0x3ba45b,_0x29d909)=>{const _0x151196=_0x2ce3;let _0x2ccc70=[];switch(_0x17959f['id']){case _0x2fe98e[_0x151196(0x386)][_0x151196(0x292)]:{_0x2ccc70=_0x2fe98e[_0x151196(0x3fb)](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)][_0x151196(0x4a0)]:{_0x2ccc70=_0x2fe98e[_0x151196(0x2ff)](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)][_0x151196(0x3bd)]:{_0x2ccc70=_0x2fe98e[_0x151196(0x359)](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)][_0x151196(0x491)]:{_0x2ccc70=_0x2fe98e['handleInsertRangeMoveDown'](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)][_0x151196(0x3e2)]:{_0x2ccc70=_0x2fe98e['handleInsertRangeMoveRight'](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)][_0x151196(0x3f8)]:{_0x2ccc70=_0x2fe98e['handleInsertRow'](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)]['MoveRangeCommandId']:{_0x2ccc70=_0x2fe98e['handleMoveRange'](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)]['RemoveColCommandId']:{_0x2ccc70=_0x2fe98e['handleIRemoveCol'](_0x17959f,_0x29d909);break;}case _0x2fe98e[_0x151196(0x386)]['RemoveRowCommandId']:{_0x2ccc70=_0x2fe98e['handleIRemoveRow'](_0x17959f,_0x29d909);break;}}const _0x3ea530=_0x2fe98e[_0x151196(0x411)](_0x2ccc70,_0x29d909),_0x27f41e=this[_0x151196(0x1e6)][_0x151196(0x4b4)](_0x225b54);if(_0x27f41e&&_0x3ea530){const _0x276778={..._0x27f41e,'range':_0x3ea530};this[_0x151196(0x1e6)][_0x151196(0x47c)](_0x225b54,_0x276778),_0x490e84(()=>{const _0x337db1=_0x151196,_0xc13432=this['_refRangeService'][_0x337db1(0x3b5)](_0x3ea530,_0x6085eb=>(_0xc13432[_0x337db1(0x244)](),_0x100371(_0x6085eb,_0x225b54,_0x3ba45b,_0x3ea530)));_0x47520f[_0x337db1(0x481)](_0xc13432);});}return{'redos':[],'undos':[]};};this[_0x31d36c(0x1e6)][_0x31d36c(0x315)]((_0x6f25e8,_0x3713e3)=>{const _0x36f63d=_0x31d36c,{range:_0x59a6d6,sheetID:_0x24017b}=_0x6f25e8,_0x1acb16=this[_0x36f63d(0x2ad)][_0x36f63d(0x3b5)](_0x59a6d6,_0x4ee253=>(_0x1acb16[_0x36f63d(0x244)](),_0x100371(_0x4ee253,_0x3713e3,_0x24017b,_0x59a6d6)));_0x47520f[_0x36f63d(0x481)](_0x1acb16);});};this[_0x55fcda(0x30d)](_0x1187a4['toDisposable'](this[_0x55fcda(0x331)][_0x55fcda(0x43e)](()=>{_0x2900ff();})));}[_0x45f550(0x300)](){const _0x426be7=_0x45f550;var _0xf04161,_0x1c8864;if(this[_0x426be7(0x475)]=!0x0,((_0xf04161=this[_0x426be7(0x225)][_0x426be7(0x37b)]())==null?void 0x0:_0xf04161[_0x426be7(0x296)]())!==this['unitID'])return;const _0x45e37d=(_0x1c8864=this['_injector']['get'](_0x2fe98e[_0x426be7(0x32f)])['getCurrentSelections']())==null?void 0x0:_0x1c8864[0x0],_0x28864a=this[_0x426be7(0x225)]['getCurrentUnitForType'](_0x1187a4[_0x426be7(0x2ed)]['UNIVER_SHEET'])['getActiveSheet']();_0x45e37d&&_0x28864a&&this['_updateLocalCursor'](_0x28864a['getSheetId'](),_0x45e37d);}[_0x45f550(0x2e1)](){const _0x3499e1=_0x45f550;this[_0x3499e1(0x475)]=!0x1;}};_0x1b6df5=_0x2e3808([_0x4ea09b(0x2,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x2bc)])),_0x4ea09b(0x3,_0x1187a4[_0x45f550(0x474)](_0x5cc5ff)),_0x4ea09b(0x4,_0x1187a4[_0x45f550(0x474)](_0x2de05c[_0x45f550(0x407)])),_0x4ea09b(0x5,_0x1187a4[_0x45f550(0x3a0)]),_0x4ea09b(0x6,_0x1187a4['ICommandService']),_0x4ea09b(0x7,_0x1187a4['Inject'](_0x2fe98e[_0x45f550(0x2c8)]))],_0x1b6df5);var _0x30c638=Object[_0x45f550(0x38f)],_0x563405=(_0x3495c2,_0x329521,_0x14efeb,_0x3bef5c)=>{const _0x48dfa4=_0x45f550;for(var _0x52c63f=_0x3bef5c>0x1?void 0x0:_0x3bef5c?_0x30c638(_0x329521,_0x14efeb):_0x329521,_0x115e99=_0x3495c2[_0x48dfa4(0x49c)]-0x1,_0x44f879;_0x115e99>=0x0;_0x115e99--)(_0x44f879=_0x3495c2[_0x115e99])&&(_0x52c63f=_0x44f879(_0x52c63f)||_0x52c63f);return _0x52c63f;},_0x1b1bdb=(_0x58dd63,_0x26aeee)=>(_0x22daa1,_0x46e7c5)=>_0x26aeee(_0x22daa1,_0x46e7c5,_0x58dd63);let _0x12a146=class extends _0x1187a4[_0x45f550(0x215)]{constructor(_0x7b9b9,_0x4e7066,_0x130099){const _0x47ce1a=_0x45f550;super(),_0x4775d1(this,'_entities',new Map()),_0x4775d1(this,_0x47ce1a(0x1f9),new _0x1068bb[(_0x47ce1a(0x448))]()),(this[_0x47ce1a(0x225)]=_0x7b9b9,this[_0x47ce1a(0x234)]=_0x4e7066,this[_0x47ce1a(0x3b8)]=_0x130099,this[_0x47ce1a(0x22b)]());}[_0x45f550(0x244)](){const _0x388cf2=_0x45f550;super['dispose'](),this[_0x388cf2(0x1f9)][_0x388cf2(0x26c)](),this['_entities'][_0x388cf2(0x315)](_0x19be0a=>_0x19be0a[_0x388cf2(0x244)]());}['getCollabCursors$'](_0x51a05b){const _0x175b41=_0x45f550;return this[_0x175b41(0x44f)][_0x175b41(0x478)](_0x51a05b)?this['_entities'][_0x175b41(0x4b4)](_0x51a05b)['cursorInfo$']:this[_0x175b41(0x1f9)][_0x175b41(0x229)](_0x1068bb[_0x175b41(0x367)](_0x4425ce=>_0x4425ce[_0x175b41(0x332)]===_0x51a05b),_0x1068bb[_0x175b41(0x355)](_0x5bbf18=>_0x5bbf18[_0x175b41(0x3cb)]));}[_0x45f550(0x22b)](){const _0x48b013=_0x45f550;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x1187a4[_0x48b013(0x2ed)]['UNIVER_SHEET'])[_0x48b013(0x229)](_0x1068bb[_0x48b013(0x274)](this[_0x48b013(0x2f8)]))[_0x48b013(0x43e)](async _0x22bee7=>{const _0x4c8d94=_0x48b013,_0xf7b1c4=_0x22bee7[_0x4c8d94(0x296)](),_0x28be3d=await this[_0x4c8d94(0x297)](_0xf7b1c4);this[_0x4c8d94(0x1f9)]['next'](_0x28be3d),this[_0x4c8d94(0x44f)][_0x4c8d94(0x47c)](_0xf7b1c4,_0x28be3d);}),this[_0x48b013(0x225)][_0x48b013(0x374)](_0x1187a4[_0x48b013(0x2ed)][_0x48b013(0x2bf)])[_0x48b013(0x229)](_0x1068bb[_0x48b013(0x274)](this['dispose$']))[_0x48b013(0x229)](_0x1068bb[_0x48b013(0x367)](_0x120d66=>!_0x120d66['getUnitId']()[_0x48b013(0x3ae)]('__')))[_0x48b013(0x43e)](async _0x27db8c=>{const _0x58889c=_0x48b013,_0x3efc8d=_0x27db8c[_0x58889c(0x296)](),_0x42bfd9=await this[_0x58889c(0x200)](_0x3efc8d);this[_0x58889c(0x1f9)][_0x58889c(0x2fa)](_0x42bfd9),this[_0x58889c(0x44f)]['set'](_0x3efc8d,_0x42bfd9);}),_0x1068bb[_0x48b013(0x201)](this[_0x48b013(0x225)][_0x48b013(0x459)](_0x1187a4[_0x48b013(0x2ed)][_0x48b013(0x2bf)]),this[_0x48b013(0x225)][_0x48b013(0x459)](_0x1187a4[_0x48b013(0x2ed)]['UNIVER_SHEET']))[_0x48b013(0x229)](_0x1068bb['takeUntil'](this[_0x48b013(0x2f8)]))[_0x48b013(0x43e)](_0x3612d9=>{const _0x3252ea=_0x48b013,_0x781d7c=_0x3612d9[_0x3252ea(0x296)](),_0x5d76ca=this[_0x3252ea(0x44f)][_0x3252ea(0x4b4)](_0x781d7c);_0x5d76ca&&(_0x5d76ca[_0x3252ea(0x244)](),this[_0x3252ea(0x44f)][_0x3252ea(0x340)](_0x781d7c));});}async[_0x45f550(0x297)](_0x17b677){const _0x364ee0=_0x45f550,_0x523f2b=await this[_0x364ee0(0x3b8)][_0x364ee0(0x40b)](_0x17b677),_0x40e86c=this['_injector'][_0x364ee0(0x1f1)](_0x1b6df5,_0x17b677,_0x523f2b);return _0x40e86c[_0x364ee0(0x30a)](),_0x40e86c;}async[_0x45f550(0x200)](_0x2e2897){const _0xecc31e=_0x45f550,_0x10683e=await this['_collabSessionService'][_0xecc31e(0x40b)](_0x2e2897),_0xefd470=this['_injector'][_0xecc31e(0x1f1)](_0x5e29f4,_0x2e2897,_0x10683e);return _0xefd470[_0xecc31e(0x30a)](),_0xefd470;}};_0x12a146=_0x563405([_0x1b1bdb(0x0,_0x1187a4[_0x45f550(0x3a0)]),_0x1b1bdb(0x1,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x2bc)])),_0x1b1bdb(0x2,_0x1187a4['Inject'](_0x2de05c[_0x45f550(0x44a)]))],_0x12a146);const _0x17be04=0x14,_0x2c4bda=0xc8,_0x217bb7=0x4,_0x125b2b=0x5;function _0xd69afb(_0x4e75f2,_0x30785e){const _0x3d7966=_0x45f550;let {radius:_0x247030,width:_0x1d45c1,height:_0xb34e27}=_0x30785e;_0x247030=_0x247030!=null?_0x247030:0x0,_0x1d45c1=_0x1d45c1!=null?_0x1d45c1:0x1e,_0xb34e27=_0xb34e27!=null?_0xb34e27:0x1e;let _0x4ea55b=0x0,_0x27078d=0x0,_0x15a492=0x0;_0x4ea55b=_0x27078d=_0x15a492=Math['min'](_0x247030,_0x1d45c1/0x2,_0xb34e27/0x2),_0x4e75f2[_0x3d7966(0x46f)](),_0x4e75f2[_0x3d7966(0x302)](_0x4ea55b,0x0),_0x4e75f2[_0x3d7966(0x431)](_0x1d45c1-_0x27078d,0x0),_0x4e75f2[_0x3d7966(0x39a)](_0x1d45c1-_0x27078d,_0x27078d,_0x27078d,Math['PI']*0x3/0x2,0x0,!0x1),_0x4e75f2[_0x3d7966(0x431)](_0x1d45c1,_0xb34e27-_0x15a492),_0x4e75f2[_0x3d7966(0x39a)](_0x1d45c1-_0x15a492,_0xb34e27-_0x15a492,_0x15a492,0x0,Math['PI']/0x2,!0x1),_0x4e75f2[_0x3d7966(0x431)](0x0,_0xb34e27),_0x4e75f2[_0x3d7966(0x431)](0x0,_0x4ea55b),_0x4e75f2[_0x3d7966(0x39a)](_0x4ea55b,_0x4ea55b,_0x4ea55b,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4e75f2[_0x3d7966(0x236)](),_0x30785e['fill']&&(_0x4e75f2[_0x3d7966(0x293)](),_0x4e75f2[_0x3d7966(0x482)]=_0x30785e[_0x3d7966(0x2cf)],_0x30785e[_0x3d7966(0x466)]===_0x3d7966(0x430)?_0x4e75f2[_0x3d7966(0x2cf)]('evenodd'):_0x4e75f2[_0x3d7966(0x2cf)](),_0x4e75f2[_0x3d7966(0x446)]());}class _0x2978f3 extends _0x52d8dc[_0x45f550(0x364)]{constructor(_0x5c6a77,_0x162d4c){const _0x107d68=_0x45f550;super(_0x5c6a77,_0x162d4c),_0x4775d1(this,_0x107d68(0x2de)),_0x4775d1(this,'text'),(this[_0x107d68(0x2de)]=_0x162d4c==null?void 0x0:_0x162d4c[_0x107d68(0x2de)],this[_0x107d68(0x2a3)]=_0x162d4c==null?void 0x0:_0x162d4c['text']);}static[_0x45f550(0x29c)](_0xe463ff,_0x4bea87){const _0x31c4e1=_0x45f550,{text:_0x14e732,color:_0x2ef6e8}=_0x4bea87;_0xe463ff[_0x31c4e1(0x293)](),_0xe463ff['font']=_0x31c4e1(0x2cb);const _0x4be780=_0xe463ff[_0x31c4e1(0x28c)](_0x14e732)[_0x31c4e1(0x3d6)],_0x1e7b02=Math[_0x31c4e1(0x38c)](_0x4be780+0x2*_0x217bb7,_0x2c4bda);_0xd69afb(_0xe463ff,{'height':_0x17be04,'radius':0x4,'width':_0x1e7b02,'fill':_0x2ef6e8}),_0xe463ff[_0x31c4e1(0x482)]=_0x31c4e1(0x363);const _0x36ad7b=_0x217bb7,_0x107db3=_0x17be04-_0x125b2b,_0x1acd58=_0x2c4bda-0x2*_0x217bb7;if(_0x4be780>_0x1acd58){let _0x392444='',_0x93a718=0x0;for(const _0x3fede8 of _0x14e732){const _0xaeb751=_0xe463ff[_0x31c4e1(0x28c)](_0x3fede8)[_0x31c4e1(0x3d6)];if(_0x93a718+_0xaeb751<=_0x1acd58-_0xe463ff[_0x31c4e1(0x28c)](_0x31c4e1(0x38d))[_0x31c4e1(0x3d6)])_0x392444+=_0x3fede8,_0x93a718+=_0xaeb751;else{_0x392444+='...';break;}}_0xe463ff[_0x31c4e1(0x1fc)](_0x392444,_0x36ad7b,_0x107db3);}else _0xe463ff['fillText'](_0x14e732,_0x36ad7b,_0x107db3);_0xe463ff[_0x31c4e1(0x446)]();}[_0x45f550(0x257)](_0x2a2418){_0x2978f3['drawWith'](_0x2a2418,this);}}const _0x3106a7='collab-text-anchor-',_0x280658=_0x45f550(0x485),_0x447db4=_0x45f550(0x32b),_0x34867a=0x6,_0x3e13d1=1.5,_0x4510f7=0x4,_0x2f7386=1.5,_0x591f9f=_0x45f550(0x48d);class _0x20f467{constructor(_0x2aca9b,_0x533405,_0x434fe0,_0x2ac8ad){const _0x55c983=_0x45f550;_0x4775d1(this,_0x55c983(0x37e),[]),_0x4775d1(this,_0x55c983(0x325),null),_0x4775d1(this,'_textBubble',null),_0x4775d1(this,_0x55c983(0x49e),null),_0x4775d1(this,_0x55c983(0x4a4),null),_0x4775d1(this,'_eventUnsubscribe',null),(this[_0x55c983(0x444)]=_0x2aca9b,this['_scene']=_0x533405,this['_docSkeleton']=_0x434fe0,this[_0x55c983(0x263)]=_0x2ac8ad,this[_0x55c983(0x25c)]());}set[_0x45f550(0x20f)](_0x3655c3){const _0x4a9db9=_0x45f550;_0x3655c3?(this['_anchorDot']&&this[_0x4a9db9(0x49e)][_0x4a9db9(0x487)](),this[_0x4a9db9(0x1ff)]&&this['_textBubble'][_0x4a9db9(0x471)]()):(this[_0x4a9db9(0x49e)]&&this[_0x4a9db9(0x49e)][_0x4a9db9(0x471)](),this[_0x4a9db9(0x1ff)]&&this['_textBubble'][_0x4a9db9(0x487)]());}['dispose'](){const _0x39e879=_0x45f550;for(const _0x34bd5f of this[_0x39e879(0x37e)])_0x34bd5f[_0x39e879(0x244)]();this[_0x39e879(0x1ff)]&&this[_0x39e879(0x1ff)][_0x39e879(0x244)](),this[_0x39e879(0x49e)]&&this['_anchorDot']['dispose'](),this[_0x39e879(0x325)]&&this[_0x39e879(0x325)][_0x39e879(0x244)](),this['_eventUnsubscribe']&&this[_0x39e879(0x373)]();}[_0x45f550(0x25c)](){const _0x37fd36=_0x45f550;var _0x5f2eea;const {_docSkeleton:_0x48f239,_document:_0x430278}=this,{color:_0x578925,name:_0x33ce8e,ranges:_0x4db81a}=this['_cursor'],_0x558f6b=_0x430278['getOffsetConfig'](),{docsLeft:_0x1f3ab4,docsTop:_0x56ebb0}=_0x558f6b,_0x5456ab=new _0x1b81cc[(_0x37fd36(0x379))](_0x558f6b,_0x48f239);for(const {startOffset:_0x3f9ba3,endOffset:_0x484240,rangeType:_0x92e69,segmentId:_0x235fbf,segmentPage:_0x5ec2d9,collapsed:_0x39ec20,isActive:_0x5b06d0}of _0x4db81a){const _0x10f6db=_0x48f239[_0x37fd36(0x486)](_0x3f9ba3,!0x0,_0x235fbf,_0x5ec2d9);let _0x355134=_0x48f239[_0x37fd36(0x486)](_0x484240,!0x0,_0x235fbf,_0x5ec2d9);if(_0x355134==null&&(_0x355134=_0x48f239[_0x37fd36(0x486)](_0x484240-0x1,!0x1,_0x235fbf,_0x5ec2d9)),_0x5b06d0){const {contentBoxPointGroup:_0x40b591}=_0x5456ab['getRangePointData'](_0x355134,_0x355134);if(_0x40b591['length']===0x0)continue;this[_0x37fd36(0x424)](_0x578925,_0x40b591,_0x1f3ab4,_0x56ebb0,_0x33ce8e),this[_0x37fd36(0x373)]=this['_handleHover']();}if(_0x10f6db&&_0x355134){if(_0x92e69===_0x1187a4[_0x37fd36(0x2e8)]['RECT']){const _0x31a31f=new _0x1b81cc[(_0x37fd36(0x2bd))](_0x558f6b,_0x48f239),{pointGroup:_0x5ea144}=(_0x5f2eea=_0x31a31f['getRangePointData'](_0x10f6db,_0x355134))!=null?_0x5f2eea:{};if(_0x5ea144==null||_0x5ea144[_0x37fd36(0x49c)]===0x0)continue;this['_drawRectRange'](_0x578925,_0x5ea144,_0x1f3ab4,_0x56ebb0);}else{if(!_0x39ec20){const {borderBoxPointGroup:_0x1772a2}=_0x5456ab[_0x37fd36(0x20d)](_0x10f6db,_0x355134);if(_0x1772a2[_0x37fd36(0x49c)]===0x0)continue;this[_0x37fd36(0x397)](_0x578925,_0x1772a2,_0x1f3ab4,_0x56ebb0);}}}}}[_0x45f550(0x424)](_0x3fdcac,_0x1d8bbb,_0x18bdf2,_0x112e63,_0x22f6d2){const _0x2dad74=_0x45f550,_0x20044b=this[_0x2dad74(0x3f6)](_0x1d8bbb),{left:_0x105739,top:_0x48ae46,height:_0x1a5d00}=_0x20044b,_0x32de65=this[_0x2dad74(0x4a3)](),_0x1995b8=_0x2f7386/_0x32de65,_0x519a5c=new _0x52d8dc[(_0x2dad74(0x277))](_0x3106a7+_0x1187a4[_0x2dad74(0x260)](_0x34867a),{'left':_0x105739+_0x18bdf2-_0x1995b8,'top':_0x48ae46+_0x112e63,'height':_0x1a5d00,'width':_0x3e13d1,'fill':_0x3fdcac||_0x52d8dc[_0x2dad74(0x3d0)](_0x1187a4[_0x2dad74(0x34b)]['black'],0x0),'strokeWidth':_0x1995b8,'stroke':_0x591f9f,'evented':!0x0});this[_0x2dad74(0x325)]=_0x519a5c,this[_0x2dad74(0x261)][_0x2dad74(0x39e)](_0x519a5c,_0x1b81cc[_0x2dad74(0x35a)]);const _0x3c48f1=new _0x52d8dc[(_0x2dad74(0x277))](_0x3106a7+_0x1187a4[_0x2dad74(0x260)](_0x34867a),{'left':_0x105739+_0x18bdf2-_0x1995b8,'top':_0x48ae46+_0x112e63-_0x4510f7/0x2,'height':_0x4510f7,'width':_0x4510f7,'fill':_0x3fdcac||_0x52d8dc[_0x2dad74(0x3d0)](_0x1187a4['COLORS'][_0x2dad74(0x2bb)],0x0),'strokeWidth':0x0,'stroke':_0x3fdcac||_0x52d8dc['getColor'](_0x1187a4['COLORS']['black'],0x0),'evented':!0x1});this[_0x2dad74(0x49e)]=_0x3c48f1,this['_scene'][_0x2dad74(0x39e)](_0x3c48f1,_0x1b81cc['TEXT_RANGE_LAYER_INDEX']);const _0x28dfe9=new _0x2978f3(_0x3106a7+_0x1187a4[_0x2dad74(0x260)](_0x34867a),{'left':_0x105739+_0x18bdf2-_0x1995b8,'top':_0x48ae46+_0x112e63-_0x17be04,'text':_0x22f6d2,'color':_0x3fdcac});this[_0x2dad74(0x1ff)]=_0x28dfe9,this[_0x2dad74(0x261)]['addObject'](_0x28dfe9,_0x1b81cc['TEXT_RANGE_LAYER_INDEX']),this[_0x2dad74(0x20f)]=!0x1;}[_0x45f550(0x259)](){const _0x55c1eb=_0x45f550,_0x3dc1ef=this[_0x55c1eb(0x325)][_0x55c1eb(0x2f0)]['subscribeEvent'](()=>{const _0x5afcb3=_0x55c1eb;this[_0x5afcb3(0x20f)]=!0x0;}),_0x5a131f=this['_anchor'][_0x55c1eb(0x3b9)][_0x55c1eb(0x435)](()=>{const _0x137202=_0x55c1eb;this[_0x137202(0x4a4)]&&clearTimeout(this['_hideTimer']),this[_0x137202(0x4a4)]=setTimeout(()=>{const _0x4ffaa4=_0x137202;this[_0x4ffaa4(0x20f)]=!0x1;},0x7d0);});return()=>{const _0x581c53=_0x55c1eb;_0x3dc1ef[_0x581c53(0x3af)](),_0x5a131f['unsubscribe']();};}[_0x45f550(0x397)](_0x5cb18c,_0x458773,_0x5260af,_0x35cf8f){const _0x3994d1=_0x45f550,_0x4286ef=new _0x1187a4[(_0x3994d1(0x247))](_0x5cb18c)[_0x3994d1(0x4a2)](0.2)[_0x3994d1(0x383)](),_0x2e7d51=new _0x52d8dc[(_0x3994d1(0x2a5))](_0x280658+_0x1187a4[_0x3994d1(0x260)](_0x34867a),{'pointsGroup':_0x458773,'fill':_0x4286ef||_0x52d8dc[_0x3994d1(0x3d0)](_0x1187a4['COLORS'][_0x3994d1(0x2bb)],0.2),'left':_0x5260af,'top':_0x35cf8f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3994d1(0x37e)][_0x3994d1(0x3e8)](_0x2e7d51),this[_0x3994d1(0x261)][_0x3994d1(0x39e)](_0x2e7d51,_0x1b81cc[_0x3994d1(0x35a)]);}[_0x45f550(0x283)](_0x5a1ece,_0x14f3be,_0x3c63d4,_0x4262d3){const _0x362ea9=_0x45f550,_0x35fb4d=new _0x1187a4[(_0x362ea9(0x247))](_0x5a1ece)[_0x362ea9(0x4a2)](0.2)['toRgbString'](),_0x4164f3=new _0x52d8dc[(_0x362ea9(0x2a5))](_0x447db4+_0x1187a4[_0x362ea9(0x260)](_0x34867a),{'pointsGroup':_0x14f3be,'fill':_0x35fb4d||_0x52d8dc['getColor'](_0x1187a4['COLORS'][_0x362ea9(0x2bb)],0.2),'left':_0x3c63d4,'top':_0x4262d3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x362ea9(0x37e)][_0x362ea9(0x3e8)](_0x4164f3),this[_0x362ea9(0x261)][_0x362ea9(0x39e)](_0x4164f3,_0x1b81cc['TEXT_RANGE_LAYER_INDEX']);}[_0x45f550(0x3f6)](_0x4048ef){const _0x54a0be=_0x4048ef[0x0],_0x4b5821=_0x54a0be[0x0],_0x1e1afa=_0x54a0be[0x2],{x:_0x455b99,y:_0x224a2f}=_0x4b5821,{x:_0x54bd9a,y:_0x4ecb02}=_0x1e1afa;return{'left':_0x455b99,'top':_0x224a2f,'width':_0x54bd9a-_0x455b99,'height':_0x4ecb02-_0x224a2f};}[_0x45f550(0x4a3)](){const {scaleX:_0x877ab8,scaleY:_0x275fc5}=this['_scene']['getAncestorScale']();return Math['max'](_0x877ab8,_0x275fc5);}}var _0x5545c1=Object[_0x45f550(0x38f)],_0x45f7d8=(_0x2c0fd9,_0x19f843,_0x281a54,_0x2b2b8f)=>{const _0x2bbe62=_0x45f550;for(var _0x5a1919=_0x2b2b8f>0x1?void 0x0:_0x2b2b8f?_0x5545c1(_0x19f843,_0x281a54):_0x19f843,_0x107de8=_0x2c0fd9[_0x2bbe62(0x49c)]-0x1,_0x3585b4;_0x107de8>=0x0;_0x107de8--)(_0x3585b4=_0x2c0fd9[_0x107de8])&&(_0x5a1919=_0x3585b4(_0x5a1919)||_0x5a1919);return _0x5a1919;},_0x42c3f8=(_0x32cc32,_0x987b7a)=>(_0x11e297,_0x578558)=>_0x987b7a(_0x11e297,_0x578558,_0x32cc32);let _0x17ca61=class extends _0x1187a4[_0x45f550(0x215)]{constructor(_0x17eb69,_0x361513,_0x26a05f,_0x3d317a,_0x273e3f){const _0x5e0693=_0x45f550;super(),_0x4775d1(this,_0x5e0693(0x238),[]),_0x4775d1(this,_0x5e0693(0x336),[]),(this[_0x5e0693(0x217)]=_0x17eb69,this[_0x5e0693(0x371)]=_0x361513,this[_0x5e0693(0x328)]=_0x26a05f,this[_0x5e0693(0x312)]=_0x3d317a,this[_0x5e0693(0x417)]=_0x273e3f,this[_0x5e0693(0x22b)]());}[_0x45f550(0x22b)](){const _0x16467b=_0x45f550,_0x4b103f=this[_0x16467b(0x217)][_0x16467b(0x1f8)],_0x10be9a=this[_0x16467b(0x371)];this[_0x16467b(0x30d)](_0x1068bb[_0x16467b(0x319)]([this['_collabCursorController']['getCollabCursors$'](_0x4b103f),this[_0x16467b(0x417)][_0x16467b(0x3a8)]])[_0x16467b(0x229)](_0x4ba09f['map'](([_0x59082c,_0x527603])=>({'skeleton':_0x10be9a['getSkeleton'](),'cursors':[..._0x59082c[_0x16467b(0x21c)]()][_0x16467b(0x307)](_0x1fd50b=>({..._0x1fd50b,'color':this[_0x16467b(0x417)]['getColorFromTheme'](_0x1fd50b[_0x16467b(0x2de)])}))})))[_0x16467b(0x43e)](_0x1dbb5c=>{const _0x553a01=_0x16467b;if(this[_0x553a01(0x329)](),_0x1dbb5c){const {skeleton:_0x3bf214,cursors:_0x5c174f}=_0x1dbb5c;this[_0x553a01(0x21a)](_0x3bf214,_0x5c174f);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x45f550(0x21a)](_0x5a3098,_0x48872f){const _0x21c5b7=_0x45f550,{scene:_0x42fbd0,mainComponent:_0x1e55d7}=this['_context'],_0x39a2c0=_0x48872f['map'](_0x5a3df4=>new _0x20f467(_0x5a3df4,_0x42fbd0,_0x5a3098,_0x1e55d7));this[_0x21c5b7(0x238)]=_0x39a2c0,this[_0x21c5b7(0x336)]=_0x48872f;}[_0x45f550(0x2eb)](){const _0x5271d9=_0x45f550;this[_0x5271d9(0x329)]();const {scene:_0x259d26,mainComponent:_0x29023a}=this[_0x5271d9(0x217)],_0x25335a=this['_docSkeletonManagerService'][_0x5271d9(0x42e)](),_0x5b29df=this[_0x5271d9(0x336)][_0x5271d9(0x2be)](_0x2cfe42=>new _0x20f467(_0x2cfe42,_0x259d26,_0x25335a,_0x29023a));this[_0x5271d9(0x238)]=_0x5b29df;}[_0x45f550(0x329)](){const _0x38b76a=_0x45f550;this[_0x38b76a(0x238)][_0x38b76a(0x315)](_0x2fe396=>_0x2fe396['dispose']()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x2b9384=_0x45f550,_0xf7ae8c=[_0x1b81cc[_0x2b9384(0x3d3)]['id']];this['disposeWithMe'](this[_0x2b9384(0x312)]['onCommandExecuted'](_0x332e83=>{const _0x1d2c4d=_0x2b9384;_0xf7ae8c[_0x1d2c4d(0x291)](_0x332e83['id'])&&_0x332e83['params'][_0x1d2c4d(0x1f8)]===this[_0x1d2c4d(0x217)]['unitId']&&this['_refreshCollabCursors']();}));}[_0x45f550(0x419)](){const _0x4a6ca4=_0x45f550;this[_0x4a6ca4(0x30d)](_0x1187a4[_0x4a6ca4(0x40e)](this[_0x4a6ca4(0x217)][_0x4a6ca4(0x49b)][_0x4a6ca4(0x22f)])[_0x4a6ca4(0x229)](_0x4ba09f[_0x4a6ca4(0x367)](_0x1fe248=>_0x1fe248[_0x4a6ca4(0x493)]===_0x52d8dc[_0x4a6ca4(0x1fa)][_0x4a6ca4(0x442)]),_0x4ba09f[_0x4a6ca4(0x2a2)](0x10))[_0x4a6ca4(0x43e)](()=>{this['_refreshCollabCursors']();}));}};_0x17ca61=_0x45f7d8([_0x42c3f8(0x1,_0x1187a4[_0x45f550(0x474)](_0x17f20c['DocSkeletonManagerService'])),_0x42c3f8(0x2,_0x1187a4[_0x45f550(0x474)](_0x12a146)),_0x42c3f8(0x3,_0x1187a4[_0x45f550(0x2ab)]),_0x42c3f8(0x4,_0x1187a4['Inject'](_0x1187a4['ThemeService']))],_0x17ca61);const _0xae4647=0x1,_0x358b9a=1.5;class _0x377138 extends _0x52d8dc[_0x45f550(0x364)]{constructor(_0x5742d8,_0x1825ac){const _0x3463f0=_0x45f550;super(_0x5742d8,_0x1825ac),_0x4775d1(this,_0x3463f0(0x48f)),_0x4775d1(this,'_hovered',!0x1),_0x4775d1(this,_0x3463f0(0x29b)),_0x4775d1(this,'_name',''),_0x4775d1(this,_0x3463f0(0x250),_0x3463f0(0x305)),_0x4775d1(this,_0x3463f0(0x29e)),(_0x1825ac&&this[_0x3463f0(0x235)](_0x1825ac),this[_0x3463f0(0x2f0)][_0x3463f0(0x435)](()=>this[_0x3463f0(0x235)]({'hovered':!0x0})),this[_0x3463f0(0x3b9)][_0x3463f0(0x435)](()=>this[_0x3463f0(0x235)]({'hovered':!0x1})));}['setShapeProps'](_0x3515c5){const _0x220272=_0x45f550;var _0x807137,_0x4440dc,_0x1e7747,_0x1975db,_0x3feb38,_0x59dac1;this[_0x220272(0x48f)]=(_0x807137=_0x3515c5[_0x220272(0x2de)])!=null?_0x807137:this[_0x220272(0x48f)],this['_hovered']=(_0x4440dc=_0x3515c5[_0x220272(0x44e)])!=null?_0x4440dc:this[_0x220272(0x400)],this[_0x220272(0x29b)]=(_0x1e7747=_0x3515c5[_0x220272(0x41c)])!=null?_0x1e7747:this[_0x220272(0x29b)],this[_0x220272(0x25f)]=(_0x1975db=_0x3515c5[_0x220272(0x47f)])!=null?_0x1975db:this[_0x220272(0x25f)],this['_labelPosition']=(_0x3feb38=_0x3515c5['labelPosition'])!=null?_0x3feb38:this[_0x220272(0x250)],this['_backgroundColor']=(_0x59dac1=_0x3515c5[_0x220272(0x22d)])!=null?_0x59dac1:this[_0x220272(0x29e)],this[_0x220272(0x44d)]({'width':_0x3515c5[_0x220272(0x3d6)],'height':_0x3515c5[_0x220272(0x40f)]});}[_0x45f550(0x480)](_0x4770b8){const _0x463260=_0x45f550,{row:_0x26c45b,column:_0x1853f7}=_0x4770b8;if(_0x26c45b>=this[_0x463260(0x29b)][_0x463260(0x30b)]&&_0x26c45b<=this[_0x463260(0x29b)][_0x463260(0x211)]&&_0x1853f7>=this[_0x463260(0x29b)]['startColumn']&&_0x1853f7<=this[_0x463260(0x29b)][_0x463260(0x389)]){this[_0x463260(0x235)]({'hovered':!0x0});return;}this[_0x463260(0x235)]({'hovered':!0x1});}[_0x45f550(0x457)](_0x1bb43b){return!0x1;}[_0x45f550(0x257)](_0x4e80ba){const _0x4d2c58=_0x45f550;_0x52d8dc['Rect']['drawWith'](_0x4e80ba,{'width':this[_0x4d2c58(0x3d6)],'height':this[_0x4d2c58(0x40f)],'strokeWidth':_0x358b9a,'stroke':this[_0x4d2c58(0x48f)],'evented':!0x1,'fill':this[_0x4d2c58(0x29e)]}),this[_0x4d2c58(0x400)]&&(_0x4e80ba['save'](),_0x4e80ba[_0x4d2c58(0x3eb)](0x1,0x0,0x0,0x1,this[_0x4d2c58(0x3d6)],this[_0x4d2c58(0x250)]===_0x4d2c58(0x221)?0x0:-_0x17be04),_0x2978f3[_0x4d2c58(0x29c)](_0x4e80ba,{'text':this[_0x4d2c58(0x25f)],'color':this[_0x4d2c58(0x48f)]}),_0x4e80ba[_0x4d2c58(0x446)]());}}var _0x3c42d2=Object['getOwnPropertyDescriptor'],_0x15a7c3=(_0x392e63,_0x45602d,_0x1ce4d0,_0x1ef97e)=>{const _0x14d155=_0x45f550;for(var _0x215abd=_0x1ef97e>0x1?void 0x0:_0x1ef97e?_0x3c42d2(_0x45602d,_0x1ce4d0):_0x45602d,_0x310e3a=_0x392e63[_0x14d155(0x49c)]-0x1,_0x379e03;_0x310e3a>=0x0;_0x310e3a--)(_0x379e03=_0x392e63[_0x310e3a])&&(_0x215abd=_0x379e03(_0x215abd)||_0x215abd);return _0x215abd;},_0x2f7d3d=(_0xd8645a,_0x292ad3)=>(_0x10953d,_0x5bba3f)=>_0x292ad3(_0x10953d,_0x5bba3f,_0xd8645a);const _0x5148df=0x1389;let _0x43f6b3=class extends _0x1187a4[_0x45f550(0x215)]{constructor(_0x77a16b,_0x15bbe8,_0x5e9ba5,_0x246d82){const _0x528988=_0x45f550;super(),_0x4775d1(this,_0x528988(0x336),new Set()),_0x4775d1(this,_0x528988(0x3f7),null),(this[_0x528988(0x217)]=_0x77a16b,this[_0x528988(0x35c)]=_0x15bbe8,this[_0x528988(0x328)]=_0x5e9ba5,this['_themeService']=_0x246d82,this[_0x528988(0x22b)]());}[_0x45f550(0x22b)](){const _0x3f0057=_0x45f550;this[_0x3f0057(0x35c)]['currentSkeleton$'][_0x3f0057(0x229)](_0x4ba09f[_0x3f0057(0x274)](this[_0x3f0057(0x2f8)]),_0x4ba09f[_0x3f0057(0x355)](_0x975fec=>{const _0xcfdcbf=_0x3f0057;if(_0x975fec){const _0x4d459a=_0x975fec['sheetId'];return _0x1068bb[_0xcfdcbf(0x319)](this['_collabCursorController'][_0xcfdcbf(0x2ae)](this[_0xcfdcbf(0x217)][_0xcfdcbf(0x1f8)]),this[_0xcfdcbf(0x417)][_0xcfdcbf(0x3a8)])[_0xcfdcbf(0x229)](_0x4ba09f[_0xcfdcbf(0x2be)](([_0x51d395,_0xc45db1])=>{const _0x3f02f0=_0xcfdcbf,_0x261142=new Map();return _0x51d395[_0x3f02f0(0x315)]((_0x10c688,_0x737d88)=>{const _0x171431=_0x3f02f0;if(_0x10c688[_0x171431(0x438)]===_0x4d459a){const _0x3285bd={..._0x10c688};_0x3285bd['color']=this[_0x171431(0x417)][_0x171431(0x299)](_0x10c688[_0x171431(0x2de)]),_0x261142[_0x171431(0x47c)](_0x737d88,_0x3285bd);}}),{'skeleton':_0x975fec,'cursors':_0x261142};}));}return _0x1068bb['of']({'skeleton':null,'cursors':new Map()});}))[_0x3f0057(0x43e)](({skeleton:_0xaba89a,cursors:_0x1c7e60})=>{const _0x128fec=_0x3f0057;this[_0x128fec(0x329)](),_0xaba89a&&this[_0x128fec(0x21a)](_0xaba89a,_0x1c7e60);}),this['_sheetSkeletonManagerService'][_0x3f0057(0x356)]['subscribe'](_0x55c290=>{const _0x2bbf0d=_0x3f0057;if(_0x55c290==null)return;const {skeleton:_0x37b879}=_0x55c290,{scene:_0xce7979}=this[_0x2bbf0d(0x217)];_0xce7979[_0x2bbf0d(0x412)][_0x2bbf0d(0x435)](_0x1187a4['debounce'](_0x1a120d=>{const _0x4ff552=_0x2bbf0d;var _0x401c94,_0x356860;const {offsetX:_0x68c6b0,offsetY:_0x3ba564}=_0x1a120d,{x:_0x5852e4,y:_0x1b355a}=_0xce7979[_0x4ff552(0x2d9)](_0x52d8dc[_0x4ff552(0x2a0)]['FromArray']([_0x68c6b0,_0x3ba564])),{scaleX:_0x3b3841,scaleY:_0x1b3393}=_0xce7979[_0x4ff552(0x1e8)](),_0x31db6e=_0xce7979[_0x4ff552(0x273)](_0x52d8dc[_0x4ff552(0x320)]['VIEW_MAIN']),_0x31a313=_0xce7979['getVpScrollXYInfoByPosToVp'](_0x52d8dc[_0x4ff552(0x2a0)]['FromArray']([_0x5852e4,_0x1b355a]),_0x31db6e),_0x3c72f5=_0x37b879[_0x4ff552(0x264)](_0x68c6b0,_0x3ba564,_0x3b3841,_0x1b3393,_0x31a313);((_0x401c94=this[_0x4ff552(0x3f7)])==null?void 0x0:_0x401c94[_0x4ff552(0x357)])===_0x3c72f5[_0x4ff552(0x357)]&&((_0x356860=this[_0x4ff552(0x3f7)])==null?void 0x0:_0x356860[_0x4ff552(0x303)])===_0x3c72f5[_0x4ff552(0x303)]||this['_cursors'][_0x4ff552(0x315)](_0xea612c=>{_0xea612c['onMouseMove'](_0x3c72f5);});},0x64));});}['_updateCollabCursors'](_0x30bae5,_0x114afc){const _0x34d385=_0x45f550;var _0x21fbbb;const _0x2c9124=(_0x21fbbb=this[_0x34d385(0x35c)][_0x34d385(0x428)]())==null?void 0x0:_0x21fbbb[_0x34d385(0x1fe)];if(!_0x2c9124)return;const _0x27cb53=this['_getSheetObject']();if(!_0x27cb53)return;this[_0x34d385(0x336)]['forEach'](_0x2edcb9=>{const _0x4061cd=_0x34d385;_0x2edcb9[_0x4061cd(0x316)]();});const {scene:_0x8ecdad}=_0x27cb53,_0x926270=_0x4c0745(Array[_0x34d385(0x45e)](_0x114afc[_0x34d385(0x21c)]()))[_0x34d385(0x2be)](_0x51e23c=>{const _0x3c645c=_0x34d385,{color:_0x351c71,range:_0xe7e86,name:_0x4e9a1c,selection:_0x425be4,sheetID:_0x2e492d}=_0x51e23c,{startColumn:_0x2f2c64,startRow:_0x31516c,endColumn:_0x169628,endRow:_0x427e37}=_0xe7e86,_0x452ff7=_0x44ccda[_0x3c645c(0x42a)](_0x31516c,_0x2f2c64,_0x8ecdad,_0x2c9124),_0x4a7760=_0x44ccda[_0x3c645c(0x42a)](_0x427e37,_0x169628,_0x8ecdad,_0x2c9124),{columnHeaderHeightAndMarginTop:_0x3b5e94}=_0x2c9124,{startX:_0x336b8b,startY:_0xabf2ae}=_0x452ff7,{endX:_0x29ee4b,endY:_0x4e45f2}=_0x4a7760,_0x28dbbe=_0x29ee4b-_0x336b8b,_0x28e2e0=_0x4e45f2-_0xabf2ae,_0x18d54f={'labelPosition':_0xabf2ae-_0x3b5e94>=_0x17be04?_0x3c645c(0x305):'bottom','sheetID':_0x2e492d,'range':_0xe7e86,'color':_0x351c71,'name':_0x4e9a1c,'selection':_0x425be4,'left':_0x336b8b,'top':_0xabf2ae,'width':_0x28dbbe,'height':_0x28e2e0,'evented':!0x1,'zIndex':_0x5148df};return new _0x377138(_0x4e9a1c,_0x18d54f);});_0x8ecdad['addObjects'](_0x926270,_0xae4647),this['_cursors']=new Set(_0x926270);}[_0x45f550(0x329)](){const _0x5c60aa=_0x45f550;var _0x3a463e;(_0x3a463e=this[_0x5c60aa(0x336)])==null||_0x3a463e[_0x5c60aa(0x315)](_0x258ee8=>_0x258ee8[_0x5c60aa(0x244)]());}[_0x45f550(0x3c4)](){const _0x4f9d1e=_0x45f550;return _0x44ccda[_0x4f9d1e(0x243)](this['_context'][_0x4f9d1e(0x387)],this[_0x4f9d1e(0x217)]);}};_0x43f6b3=_0x15a7c3([_0x2f7d3d(0x1,_0x1187a4[_0x45f550(0x474)](_0x44ccda[_0x45f550(0x34d)])),_0x2f7d3d(0x2,_0x1187a4[_0x45f550(0x474)](_0x12a146)),_0x2f7d3d(0x3,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x3e9)]))],_0x43f6b3);function _0x4c0745(_0x32f508){const _0x204cd0=_0x45f550,_0x52e9d1=new Map();return _0x32f508[_0x204cd0(0x315)](_0x242d19=>{const _0x5c37f6=_0x204cd0;if(_0x52e9d1['has'](_0x242d19[_0x5c37f6(0x4a1)])){const _0x2d3cbc=_0x52e9d1[_0x5c37f6(0x4b4)](_0x242d19[_0x5c37f6(0x4a1)]);_0x2d3cbc[_0x5c37f6(0x47f)]+=',\x20'+_0x242d19[_0x5c37f6(0x47f)];}else _0x52e9d1[_0x5c37f6(0x47c)](_0x242d19[_0x5c37f6(0x4a1)],_0x242d19);}),Array[_0x204cd0(0x45e)](_0x52e9d1[_0x204cd0(0x21c)]());}var _0xba5bdf=Object[_0x45f550(0x38f)],_0x4e4eb7=(_0x18abf8,_0x211148,_0x3c2cd7,_0x136982)=>{const _0x1b2e2c=_0x45f550;for(var _0x1a1d10=_0x136982>0x1?void 0x0:_0x136982?_0xba5bdf(_0x211148,_0x3c2cd7):_0x211148,_0x1beaf5=_0x18abf8[_0x1b2e2c(0x49c)]-0x1,_0x46ed25;_0x1beaf5>=0x0;_0x1beaf5--)(_0x46ed25=_0x18abf8[_0x1beaf5])&&(_0x1a1d10=_0x46ed25(_0x1a1d10)||_0x1a1d10);return _0x1a1d10;},_0x24809d=(_0x1a8fa4,_0x3393f3)=>(_0x444ba8,_0x3c6253)=>_0x3393f3(_0x444ba8,_0x3c6253,_0x1a8fa4);let _0x3e8554=class extends _0x1187a4[_0x45f550(0x2a9)]{constructor(_0x366c33,_0x40c9f2,_0x44feb6,_0x5759b5,_0x564fd3,_0x5bee14){const _0x193e9c=_0x45f550;super(),this[_0x193e9c(0x396)]=_0x366c33,this[_0x193e9c(0x27f)]=_0x40c9f2,this[_0x193e9c(0x2b4)]=_0x44feb6,this[_0x193e9c(0x2cd)]=_0x5759b5,this[_0x193e9c(0x46d)]=_0x564fd3,this['_localeService']=_0x5bee14,this['_setupBeforeClosingHandler'](),this[_0x193e9c(0x269)]();}['_setupBeforeClosingHandler'](){const _0x16fb21=_0x45f550;this[_0x16fb21(0x30d)](this[_0x16fb21(0x396)][_0x16fb21(0x308)](()=>{const _0x25a098=_0x16fb21;if(this[_0x25a098(0x27f)][_0x25a098(0x48e)][_0x25a098(0x427)])return this[_0x25a098(0x351)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x45f550(0x269)](){const _0x34950b=_0x45f550;this[_0x34950b(0x30d)](this[_0x34950b(0x2b4)][_0x34950b(0x239)][_0x34950b(0x43e)](_0x35ef9a=>{const _0x25535e=_0x34950b;_0x35ef9a['id']===_0x2de05c[_0x25535e(0x498)][_0x25535e(0x3b6)]&&this[_0x25535e(0x2cd)]['show']({'type':_0x64dbc4[_0x25535e(0x272)]['Warning'],'content':this['_localeService']['t'](_0x25535e(0x338))}),_0x35ef9a['id']===_0x2de05c[_0x25535e(0x498)][_0x25535e(0x2c3)]&&this[_0x25535e(0x2cd)]['show']({'type':_0x64dbc4[_0x25535e(0x272)]['Warning'],'content':this['_localeService']['t'](_0x25535e(0x209))}),_0x35ef9a['id']===_0x2de05c[_0x25535e(0x498)][_0x25535e(0x41d)]&&this[_0x25535e(0x46d)][_0x25535e(0x471)]({'title':this[_0x25535e(0x351)]['t'](_0x25535e(0x2e7)),'content':this['_localeService']['t'](_0x25535e(0x2d8)),'type':_0x25535e(0x310),'duration':0x0}),_0x35ef9a['id']===_0x2de05c[_0x25535e(0x498)][_0x25535e(0x38a)]&&this[_0x25535e(0x2cd)][_0x25535e(0x471)]({'type':_0x64dbc4['MessageType'][_0x25535e(0x2c0)],'content':this['_localeService']['t'](_0x25535e(0x209))+'('+_0x35ef9a[_0x25535e(0x213)]+')'}),_0x35ef9a['id']===_0x2de05c[_0x25535e(0x498)][_0x25535e(0x406)]&&this['_messageService'][_0x25535e(0x471)]({'type':_0x64dbc4[_0x25535e(0x272)][_0x25535e(0x4b5)],'content':this[_0x25535e(0x351)]['t'](_0x35ef9a[_0x25535e(0x213)]||'')}),_0x35ef9a['id']===_0x2de05c[_0x25535e(0x498)][_0x25535e(0x469)]&&this['_messageService'][_0x25535e(0x471)]({'type':_0x64dbc4[_0x25535e(0x272)]['Warning'],'content':this[_0x25535e(0x351)]['t']('session.will-retry')}),_0x35ef9a['id']===_0x2de05c['CollaborationUIEventId'][_0x25535e(0x4a7)]&&this[_0x25535e(0x2cd)][_0x25535e(0x471)]({'type':_0x64dbc4[_0x25535e(0x272)]['Error'],'content':this['_localeService']['t'](_0x25535e(0x39d))}),_0x35ef9a['id']===_0x2de05c['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x25535e(0x2cd)][_0x25535e(0x471)]({'type':_0x64dbc4[_0x25535e(0x272)][_0x25535e(0x2c0)],'content':this[_0x25535e(0x351)]['t'](_0x25535e(0x4b1))});}));}};_0x3e8554=_0x4e4eb7([_0x24809d(0x0,_0x20024a[_0x45f550(0x399)]),_0x24809d(0x1,_0x2de05c[_0x45f550(0x348)]),_0x24809d(0x2,_0x1187a4[_0x45f550(0x474)](_0x2de05c[_0x45f550(0x360)])),_0x24809d(0x3,_0x20024a[_0x45f550(0x392)]),_0x24809d(0x4,_0x20024a['INotificationService']),_0x24809d(0x5,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x3a3)]))],_0x3e8554);const _0x3a1054=_0x45f550(0x402),_0x4af272={};var _0x3c1724=Object[_0x45f550(0x38f)],_0x41fe03=(_0x32f60c,_0x14c260,_0x503a15,_0xa510b1)=>{const _0x1762c4=_0x45f550;for(var _0x1bb24f=_0xa510b1>0x1?void 0x0:_0xa510b1?_0x3c1724(_0x14c260,_0x503a15):_0x14c260,_0x72c347=_0x32f60c[_0x1762c4(0x49c)]-0x1,_0x9d7650;_0x72c347>=0x0;_0x72c347--)(_0x9d7650=_0x32f60c[_0x72c347])&&(_0x1bb24f=_0x9d7650(_0x1bb24f)||_0x1bb24f);return _0x1bb24f;},_0x2dcfc8=(_0x263fec,_0x550f52)=>(_0x373ac0,_0x5e436a)=>_0x550f52(_0x373ac0,_0x5e436a,_0x263fec);let _0x444986=class{constructor(_0x4c553b,_0x2403a4){const _0x17da01=_0x45f550;this['_transformService']=_0x4c553b,this[_0x17da01(0x1f0)]=_0x2403a4;}[_0x45f550(0x24e)](_0xf16f0d){const _0x4105dc=_0x45f550;this[_0x4105dc(0x34c)](_0xf16f0d),this[_0x4105dc(0x3e3)](_0xf16f0d);}[_0x45f550(0x436)](_0x1408a6){const _0x3da2d9=_0x45f550,{unitID:_0x5a9206}=_0x1408a6,_0x95f431=this[_0x3da2d9(0x1f0)][_0x3da2d9(0x23e)](_0x5a9206)['with'](_0x1b81cc[_0x3da2d9(0x23c)]),{redoCache:_0x42e9e1}=_0x95f431[_0x3da2d9(0x37f)]();if(_0x42e9e1[_0x3da2d9(0x49c)]===0x0)return _0x1408a6;let _0x2651e1=_0x1187a4[_0x3da2d9(0x377)][_0x3da2d9(0x2d0)](_0x1408a6[_0x3da2d9(0x3c1)][0x0]);for(let _0x144df8=0x0;_0x144df8<_0x42e9e1[_0x3da2d9(0x49c)];_0x144df8++){const _0x1c050b={'id':_0x3da2d9(0x492),'params':{..._0x42e9e1[_0x144df8]}},_0x540757=this[_0x3da2d9(0x47b)][_0x3da2d9(0x375)](_0x2651e1,_0x1c050b,!0x1);if(_0xa5f490[_0x3da2d9(0x46c)](_0x540757))throw _0x540757['error'];_0x2651e1=_0x540757[_0x3da2d9(0x2e6)];}return{..._0x1187a4[_0x3da2d9(0x377)][_0x3da2d9(0x2d0)](_0x1408a6),'mutations':[_0x2651e1]};}[_0x45f550(0x34c)](_0x41abf5){const _0x2ede31=_0x45f550,{unitID:_0x15edfb}=_0x41abf5,_0x2e4ebe=this[_0x2ede31(0x1f0)]['getRenderById'](_0x15edfb)[_0x2ede31(0x25a)](_0x1b81cc['DocIMEInputManagerService']),{undoCache:_0xe42a89,redoCache:_0x1c6380}=_0x2e4ebe[_0x2ede31(0x37f)]();if(_0xe42a89[_0x2ede31(0x49c)]===0x0||_0x1c6380[_0x2ede31(0x49c)]===0x0)return;const _0x3e4bb8=[],_0x1f5589=[];let _0x556042=_0x1187a4[_0x2ede31(0x377)][_0x2ede31(0x2d0)](_0x41abf5['mutations'][0x0]),_0x25b2e4=_0x1187a4['Tools'][_0x2ede31(0x2d0)](_0x41abf5[_0x2ede31(0x3c1)][0x0]);for(let _0x29867f=_0xe42a89[_0x2ede31(0x49c)]-0x1;_0x29867f>=0x0;_0x29867f--){const _0x47b5f8={'id':_0x2ede31(0x492),'params':{..._0xe42a89[_0x29867f]}},_0x126a21={'id':_0x2ede31(0x492),'params':{..._0x1c6380[_0x29867f]}},_0x5b6d0d=this[_0x2ede31(0x47b)][_0x2ede31(0x375)](_0x556042,_0x47b5f8,!0x1),_0x8b4f2e=this[_0x2ede31(0x47b)][_0x2ede31(0x375)](_0x25b2e4,_0x126a21,!0x1);if(_0xa5f490['isTransformMutationFailure'](_0x5b6d0d))throw _0x5b6d0d[_0x2ede31(0x310)];if(_0xa5f490[_0x2ede31(0x46c)](_0x8b4f2e))throw _0x8b4f2e['error'];_0x3e4bb8['unshift'](_0x5b6d0d[_0x2ede31(0x421)][_0x2ede31(0x36f)]),_0x1f5589[_0x2ede31(0x248)](_0x8b4f2e[_0x2ede31(0x421)]['params']),_0x556042=_0x5b6d0d[_0x2ede31(0x2e6)],_0x25b2e4=_0x8b4f2e[_0x2ede31(0x2e6)];}_0x2e4ebe[_0x2ede31(0x352)]({'undoCache':_0x3e4bb8,'redoCache':_0x1f5589});}[_0x45f550(0x3e3)](_0x4bae5c){const _0x29210f=_0x45f550,{unitID:_0x45ad61}=_0x4bae5c,_0x1cb25d=this[_0x29210f(0x1f0)][_0x29210f(0x23e)](_0x45ad61)[_0x29210f(0x25a)](_0x1b81cc[_0x29210f(0x23c)]),_0x1aef4e=_0x1cb25d[_0x29210f(0x26d)]();if(_0x1aef4e==null)return;const _0x8825ef=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4bae5c[_0x29210f(0x332)],'actions':null,'textRanges':[_0x1aef4e]}}],_0x5f249b=this[_0x29210f(0x47b)][_0x29210f(0x1fd)](_0x4bae5c,_0x8825ef);if(!_0xa5f490[_0x29210f(0x216)](_0x5f249b))throw _0x5f249b['error'];const _0x2bc97a=_0x5f249b[_0x29210f(0x421)][0x0][_0x29210f(0x36f)][_0x29210f(0x22c)];Array[_0x29210f(0x37c)](_0x2bc97a)&&_0x2bc97a[_0x29210f(0x49c)]&&_0x1cb25d[_0x29210f(0x267)](_0x2bc97a[0x0]);}};_0x444986=_0x41fe03([_0x2dcfc8(0x0,_0xa5f490[_0x45f550(0x3bb)]),_0x2dcfc8(0x1,_0x52d8dc[_0x45f550(0x254)])],_0x444986);var _0x326908=Object['getOwnPropertyDescriptor'],_0x3c30c5=(_0xfba0ef,_0x2dbef2,_0x226565,_0x2dade6)=>{const _0x4ed5f9=_0x45f550;for(var _0x185f0f=_0x2dade6>0x1?void 0x0:_0x2dade6?_0x326908(_0x2dbef2,_0x226565):_0x2dbef2,_0x3c241d=_0xfba0ef[_0x4ed5f9(0x49c)]-0x1,_0x10ced2;_0x3c241d>=0x0;_0x3c241d--)(_0x10ced2=_0xfba0ef[_0x3c241d])&&(_0x185f0f=_0x10ced2(_0x185f0f)||_0x185f0f);return _0x185f0f;},_0x20e3c6=(_0x446d13,_0x469ffb)=>(_0x26505b,_0x5ece45)=>_0x469ffb(_0x26505b,_0x5ece45,_0x446d13);let _0x2f87dd=class{constructor(_0x5c46c7,_0x276c78,_0x2ce612){const _0x15ec9b=_0x45f550;this['_injector']=_0x5c46c7,this[_0x15ec9b(0x47b)]=_0x276c78,this[_0x15ec9b(0x289)]=_0x2ce612;}[_0x45f550(0x479)](_0x82260){const _0x21510b=_0x45f550;this[_0x21510b(0x3c3)](_0x82260);}[_0x45f550(0x436)](_0x9c707){const _0x50f6f9=_0x45f550,{unitID:_0x4ba1d8}=_0x9c707,{collaboration:_0x447a64}=this[_0x50f6f9(0x289)][_0x50f6f9(0x317)](_0x4ba1d8);if(_0x447a64['length']===0x0)return _0x9c707;let _0x17e137=_0x1187a4[_0x50f6f9(0x377)][_0x50f6f9(0x2d0)](_0x9c707[_0x50f6f9(0x3c1)][0x0]);for(let _0x6c104e=0x0;_0x6c104e<_0x447a64[_0x50f6f9(0x49c)];_0x6c104e++){const _0x20eebf={'id':_0x50f6f9(0x492),'params':{'unitId':_0x447a64[_0x6c104e][_0x50f6f9(0x1f8)],..._0x447a64[_0x6c104e][_0x50f6f9(0x32c)]}},_0x547c3c=this[_0x50f6f9(0x47b)]['transformMutation'](_0x17e137,_0x20eebf,!0x1);if(_0xa5f490[_0x50f6f9(0x46c)](_0x547c3c))throw _0x547c3c[_0x50f6f9(0x310)];_0x17e137=_0x547c3c['m1Prime'];}return{..._0x1187a4[_0x50f6f9(0x377)][_0x50f6f9(0x2d0)](_0x9c707),'mutations':[_0x17e137]};}[_0x45f550(0x3c3)](_0x173f20){const _0x36fefa=_0x45f550,{unitID:_0x4e58d3}=_0x173f20,{history:_0x37ce84,collaboration:_0x4f38cd}=this[_0x36fefa(0x289)][_0x36fefa(0x317)](_0x4e58d3);if(_0x37ce84[_0x36fefa(0x49c)]===0x0&&_0x4f38cd[_0x36fefa(0x49c)]===0x0)return;const _0x18bea3=[],_0x3c2ffd=[];let _0x1cf196=_0x1187a4[_0x36fefa(0x377)][_0x36fefa(0x2d0)](_0x173f20[_0x36fefa(0x3c1)][0x0]),_0x54f314=_0x1187a4[_0x36fefa(0x377)]['deepClone'](_0x173f20[_0x36fefa(0x3c1)][0x0]);for(let _0x3d8754=_0x37ce84[_0x36fefa(0x49c)]-0x1;_0x3d8754>=0x0;_0x3d8754--){const _0x4921c6={'id':_0x36fefa(0x492),'params':{'unitId':_0x37ce84[_0x3d8754][_0x36fefa(0x1f8)],..._0x37ce84[_0x3d8754][_0x36fefa(0x27b)]}},_0xb7e8bc={'id':_0x36fefa(0x492),'params':{'unitId':_0x37ce84[_0x3d8754]['unitId'],..._0x37ce84[_0x3d8754][_0x36fefa(0x32c)]}},_0x231e9f=this[_0x36fefa(0x47b)]['transformMutation'](_0x1cf196,_0x4921c6,!0x1),_0x1fece1=this[_0x36fefa(0x47b)][_0x36fefa(0x375)](_0x54f314,_0xb7e8bc,!0x1);if(_0xa5f490[_0x36fefa(0x46c)](_0x231e9f))throw _0x231e9f[_0x36fefa(0x310)];if(_0xa5f490['isTransformMutationFailure'](_0x1fece1))throw _0x1fece1[_0x36fefa(0x310)];_0x18bea3[_0x36fefa(0x248)]({..._0x37ce84[_0x3d8754],'undoState':_0x231e9f[_0x36fefa(0x421)]['params'],'redoState':_0x1fece1[_0x36fefa(0x421)][_0x36fefa(0x36f)]}),_0x1cf196=_0x231e9f[_0x36fefa(0x2e6)],_0x54f314=_0x1fece1[_0x36fefa(0x2e6)];}_0x1cf196=_0x1187a4[_0x36fefa(0x377)][_0x36fefa(0x2d0)](_0x173f20[_0x36fefa(0x3c1)][0x0]),_0x54f314=_0x1187a4[_0x36fefa(0x377)][_0x36fefa(0x2d0)](_0x173f20[_0x36fefa(0x3c1)][0x0]);for(let _0x53d14a=_0x4f38cd['length']-0x1;_0x53d14a>=0x0;_0x53d14a--){const _0x1222f6={'id':_0x36fefa(0x492),'params':{'unitId':_0x4f38cd[_0x53d14a]['unitId'],..._0x4f38cd[_0x53d14a][_0x36fefa(0x27b)]}},_0x29f0c1={'id':_0x36fefa(0x492),'params':{'unitId':_0x4f38cd[_0x53d14a][_0x36fefa(0x1f8)],..._0x4f38cd[_0x53d14a][_0x36fefa(0x32c)]}},_0x4e5749=this[_0x36fefa(0x47b)]['transformMutation'](_0x1cf196,_0x1222f6,!0x1),_0x445e96=this[_0x36fefa(0x47b)][_0x36fefa(0x375)](_0x54f314,_0x29f0c1,!0x1);if(_0xa5f490['isTransformMutationFailure'](_0x4e5749))throw _0x4e5749[_0x36fefa(0x310)];if(_0xa5f490[_0x36fefa(0x46c)](_0x445e96))throw _0x445e96['error'];_0x3c2ffd[_0x36fefa(0x248)]({..._0x4f38cd[_0x53d14a],'undoState':_0x4e5749[_0x36fefa(0x421)][_0x36fefa(0x36f)],'redoState':_0x445e96[_0x36fefa(0x421)][_0x36fefa(0x36f)]}),_0x1cf196=_0x4e5749[_0x36fefa(0x2e6)],_0x54f314=_0x445e96[_0x36fefa(0x2e6)];}this[_0x36fefa(0x289)][_0x36fefa(0x3e1)](_0x4e58d3,{'history':_0x18bea3,'collaboration':_0x3c2ffd});}};_0x2f87dd=_0x3c30c5([_0x20e3c6(0x0,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x2bc)])),_0x20e3c6(0x1,_0xa5f490['ITransformService']),_0x20e3c6(0x2,_0x1187a4[_0x45f550(0x474)](_0x1b81cc[_0x45f550(0x349)]))],_0x2f87dd);var _0x3d1a45=Object[_0x45f550(0x38f)],_0x467ce9=(_0x3de351,_0xa8635,_0xc29e50,_0x469614)=>{const _0x403752=_0x45f550;for(var _0x2c6835=_0x469614>0x1?void 0x0:_0x469614?_0x3d1a45(_0xa8635,_0xc29e50):_0xa8635,_0x828a1f=_0x3de351[_0x403752(0x49c)]-0x1,_0x24798d;_0x828a1f>=0x0;_0x828a1f--)(_0x24798d=_0x3de351[_0x828a1f])&&(_0x2c6835=_0x24798d(_0x2c6835)||_0x2c6835);return _0x2c6835;},_0x299e07=(_0x4ebdd0,_0x38bc48)=>(_0x31a247,_0x2e5de7)=>_0x38bc48(_0x31a247,_0x2e5de7,_0x4ebdd0);let _0xab804=class{constructor(_0x6fe31c,_0x38dcc7){const _0x465fb8=_0x45f550;this[_0x465fb8(0x234)]=_0x6fe31c,this[_0x465fb8(0x47b)]=_0x38dcc7;}[_0x45f550(0x31e)](_0xa41fc1){const _0x1ab290=_0x45f550;var _0x4bf8cb;const _0x563f04=this[_0x1ab290(0x234)][_0x1ab290(0x4b4)](_0x17f20c[_0x1ab290(0x2df)]),_0x2f3987=(_0x4bf8cb=_0x563f04[_0x1ab290(0x321)]())!=null?_0x4bf8cb:[];if(_0x2f3987['length']===0x0)return;const _0x13f8da=_0xa41fc1[_0x1ab290(0x332)],_0x1a2d5f=[{'id':_0x1ab290(0x492),'params':{'unitId':_0x13f8da,'actions':null,'textRanges':_0x2f3987}}],_0x1c3091=this['_transformService']['transformMutationsWithChangeset'](_0xa41fc1,_0x1a2d5f);if(!_0xa5f490['isTransformMutationsWithChangesetSuccess'](_0x1c3091))throw _0x1c3091[_0x1ab290(0x310)];const _0x5a43e4=_0x1c3091[_0x1ab290(0x421)][0x0][_0x1ab290(0x36f)][_0x1ab290(0x22c)];Array[_0x1ab290(0x37c)](_0x5a43e4)&&_0x5a43e4[_0x1ab290(0x49c)]&&_0x563f04['replaceDocRanges'](_0x5a43e4,{'unitId':_0x13f8da,'subUnitId':_0x13f8da},!0x1);}};_0xab804=_0x467ce9([_0x299e07(0x0,_0x1187a4['Inject'](_0x1187a4[_0x45f550(0x2bc)])),_0x299e07(0x1,_0xa5f490[_0x45f550(0x3bb)])],_0xab804);var _0xdb65a5=Object['getOwnPropertyDescriptor'],_0x2ce73c=(_0x3aa6f4,_0x450567,_0x5d92f8,_0x1f55e8)=>{const _0x1adf8d=_0x45f550;for(var _0x5b341e=_0x1f55e8>0x1?void 0x0:_0x1f55e8?_0xdb65a5(_0x450567,_0x5d92f8):_0x450567,_0xbb346d=_0x3aa6f4[_0x1adf8d(0x49c)]-0x1,_0x102985;_0xbb346d>=0x0;_0xbb346d--)(_0x102985=_0x3aa6f4[_0xbb346d])&&(_0x5b341e=_0x102985(_0x5b341e)||_0x5b341e);return _0x5b341e;},_0x1c4ea2=(_0x348cb2,_0x3513da)=>(_0x4e23cb,_0x436baa)=>_0x3513da(_0x4e23cb,_0x436baa,_0x348cb2);let _0x1643ec=class extends _0x1187a4[_0x45f550(0x2a9)]{constructor(_0x95267d,_0x1831e8,_0x480395,_0x422dba,_0x5887ba,_0x4def4d,_0xc71ac5,_0x5ef1bd){const _0x2c9748=_0x45f550;super(),_0x4775d1(this,_0x2c9748(0x2f6),new _0x1068bb[(_0x2c9748(0x390))](_0x2de05c[_0x2c9748(0x2f5)]['NOT_COLLAB'])),(this[_0x2c9748(0x289)]=_0x95267d,this[_0x2c9748(0x1e7)]=_0x1831e8,this[_0x2c9748(0x454)]=_0x480395,this[_0x2c9748(0x2e4)]=_0x422dba,this[_0x2c9748(0x460)]=_0x5887ba,this[_0x2c9748(0x241)]=_0x4def4d,this[_0x2c9748(0x2cd)]=_0xc71ac5,this[_0x2c9748(0x351)]=_0x5ef1bd,this[_0x2c9748(0x224)]());}[_0x45f550(0x224)](){const _0xce81ba=_0x45f550;this['disposeWithMe'](this[_0xce81ba(0x1e7)]['entityInit$'][_0xce81ba(0x43e)](_0x561113=>{const _0x5783cd=_0xce81ba,_0x4ae436=this[_0x5783cd(0x289)][_0x5783cd(0x28a)][_0x5783cd(0x43e)](_0x4bd07f=>{const _0x32b0db=_0x5783cd;if(_0x4bd07f==null)return;const {unitId:_0x30a875,redoState:_0x1dc18e,commandId:_0x33e61a}=_0x4bd07f;if(_0x30a875!==_0x561113[_0x32b0db(0x332)])return;const _0x29846f={'id':_0x33e61a,'type':_0x1187a4[_0x32b0db(0x28e)][_0x32b0db(0x425)],'params':{'unitId':_0x30a875,'actions':_0x1dc18e[_0x32b0db(0x34f)],'textRanges':null}};_0x561113[_0x32b0db(0x46b)](_0x29846f);});if(_0x561113[_0x5783cd(0x30d)](_0x4ae436),_0x561113 instanceof _0x2de05c[_0x5783cd(0x21d)]){const _0xe50d06={'onTransformIME':_0x9ac2=>this[_0x5783cd(0x454)][_0x5783cd(0x24e)](_0x9ac2),'onTransformState':_0x3a7433=>this['_docTransformStateCacheService'][_0x5783cd(0x479)](_0x3a7433),'onTransformSelections':_0x5369fd=>this[_0x5783cd(0x460)]['transformSelections'](_0x5369fd),'onSyncEditingCollabCursor':_0x2c0d12=>this[_0x5783cd(0x241)][_0x5783cd(0x249)](_0x2c0d12),'onTransformRemoteChangesetByIMECache':_0x2fae36=>this[_0x5783cd(0x454)][_0x5783cd(0x436)](_0x2fae36),'onTransformRemoteChangesetByStateCache':_0x190f2a=>this[_0x5783cd(0x2e4)]['transformRemoteChangeset'](_0x190f2a)};_0x561113[_0x5783cd(0x21e)](_0xe50d06);}}));}};_0x1643ec=_0x2ce73c([_0x1c4ea2(0x0,_0x1187a4[_0x45f550(0x474)](_0x1b81cc[_0x45f550(0x349)])),_0x1c4ea2(0x1,_0x1187a4[_0x45f550(0x474)](_0x2de05c[_0x45f550(0x3df)])),_0x1c4ea2(0x2,_0x1187a4['Inject'](_0x444986)),_0x1c4ea2(0x3,_0x1187a4[_0x45f550(0x474)](_0x2f87dd)),_0x1c4ea2(0x4,_0x1187a4['Inject'](_0xab804)),_0x1c4ea2(0x5,_0x1187a4[_0x45f550(0x474)](_0x3cbd00)),_0x1c4ea2(0x6,_0x20024a[_0x45f550(0x392)]),_0x1c4ea2(0x7,_0x1187a4['Inject'](_0x1187a4['LocaleService']))],_0x1643ec);var _0x44e248=(_0x1701ca=>(_0x1701ca[_0x1701ca[_0x45f550(0x408)]=0x0]='UNDEFINED',_0x1701ca[_0x1701ca['OK']=0x1]='OK',_0x1701ca[_0x1701ca[_0x45f550(0x1f6)]=0x2]='INTERNAL_ERROR',_0x1701ca[_0x1701ca[_0x45f550(0x41d)]=0x3]=_0x45f550(0x41d),_0x1701ca[_0x1701ca[_0x45f550(0x203)]=0x4]=_0x45f550(0x203),_0x1701ca[_0x1701ca['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x1701ca[_0x1701ca['ALREADY_EXISTS']=0x6]=_0x45f550(0x3b2),_0x1701ca[_0x1701ca[_0x45f550(0x290)]=0x7]=_0x45f550(0x290),_0x1701ca[_0x1701ca[_0x45f550(0x33b)]=0x8]=_0x45f550(0x33b),_0x1701ca[_0x1701ca['COMPLETION_FINISHED']=0x9]=_0x45f550(0x36b),_0x1701ca[_0x1701ca[_0x45f550(0x3d2)]=0xa]=_0x45f550(0x3d2),_0x1701ca[_0x1701ca[_0x45f550(0x432)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x1701ca[_0x1701ca[_0x45f550(0x27e)]=0xc]=_0x45f550(0x27e),_0x1701ca[_0x1701ca[_0x45f550(0x29d)]=0xd]=_0x45f550(0x29d),_0x1701ca[_0x1701ca[_0x45f550(0x477)]=0xe]=_0x45f550(0x477),_0x1701ca[_0x1701ca['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x1701ca[_0x1701ca[_0x45f550(0x44c)]=0x10]=_0x45f550(0x44c),_0x1701ca[_0x1701ca[_0x45f550(0x3f1)]=0x64]=_0x45f550(0x3f1),_0x1701ca[_0x1701ca[_0x45f550(0x21f)]=0x65]='ERROR_AGAIN',_0x1701ca[_0x1701ca['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x1701ca[_0x1701ca[_0x45f550(0x445)]=0xca]='USER_IS_ANONYMOUS',_0x1701ca[_0x1701ca['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x45f550(0x439),_0x1701ca[_0x1701ca[_0x45f550(0x401)]=0x1771]=_0x45f550(0x401),_0x1701ca[_0x1701ca[_0x45f550(0x278)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x1701ca[_0x1701ca[_0x45f550(0x365)]=0x1773]=_0x45f550(0x365),_0x1701ca[_0x1701ca[_0x45f550(0x2ba)]=0x1b59]=_0x45f550(0x2ba),_0x1701ca[_0x1701ca[_0x45f550(0x339)]=0x1b5a]=_0x45f550(0x339),_0x1701ca[_0x1701ca[_0x45f550(0x41b)]=0x1b5b]=_0x45f550(0x41b),_0x1701ca[_0x1701ca['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x45f550(0x33a),_0x1701ca[_0x1701ca[_0x45f550(0x2fc)]=0x1b5d]=_0x45f550(0x2fc),_0x1701ca[_0x1701ca[_0x45f550(0x46e)]=0x1f41]=_0x45f550(0x46e),_0x1701ca[_0x1701ca['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x1701ca[_0x1701ca[_0x45f550(0x233)]=0x232a]=_0x45f550(0x233),_0x1701ca[_0x1701ca[_0x45f550(0x3ed)]=0x232b]=_0x45f550(0x3ed),_0x1701ca[_0x1701ca['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x45f550(0x4ad),_0x1701ca[_0x1701ca['LICENSE_DISTRO_REJECTED']=0x232d]=_0x45f550(0x2f1),_0x1701ca[_0x1701ca['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x1701ca[_0x1701ca[_0x45f550(0x426)]=0x2712]=_0x45f550(0x426),_0x1701ca[_0x1701ca[_0x45f550(0x369)]=0x2713]=_0x45f550(0x369),_0x1701ca[_0x1701ca[_0x45f550(0x41e)]=0x2714]=_0x45f550(0x41e),_0x1701ca[_0x1701ca[_0x45f550(0x347)]=0x271a]=_0x45f550(0x347),_0x1701ca[_0x1701ca[_0x45f550(0x280)]=0x271b]=_0x45f550(0x280),_0x1701ca[_0x1701ca[_0x45f550(0x497)]=0x271c]=_0x45f550(0x497),_0x1701ca[_0x1701ca[_0x45f550(0x1ee)]=0x271d]=_0x45f550(0x1ee),_0x1701ca[_0x1701ca['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x1701ca[_0x1701ca['YUUMI_AI_RUN_FAILED']=0x271f]=_0x45f550(0x276),_0x1701ca[_0x1701ca[_0x45f550(0x3d9)]=0x2720]=_0x45f550(0x3d9),_0x1701ca[_0x1701ca[_0x45f550(0x464)]=0x2af9]=_0x45f550(0x464),_0x1701ca[_0x1701ca[_0x45f550(0x36d)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x1701ca[_0x1701ca[_0x45f550(0x4b2)]=0x2ee2]=_0x45f550(0x4b2),_0x1701ca[_0x1701ca['INVITE_CODE_REQUIRED']=0x2ee3]=_0x45f550(0x463),_0x1701ca[_0x1701ca[_0x45f550(0x327)]=0x2ee4]=_0x45f550(0x327),_0x1701ca[_0x1701ca[_0x45f550(0x219)]=0x2ee5]=_0x45f550(0x219),_0x1701ca[_0x1701ca[_0x45f550(0x403)]=0x32c9]=_0x45f550(0x403),_0x1701ca[_0x1701ca['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x1701ca[_0x1701ca[_0x45f550(0x451)]=0x32cb]=_0x45f550(0x451),_0x1701ca[_0x1701ca[_0x45f550(0x2d1)]=0x36b1]=_0x45f550(0x2d1),_0x1701ca[_0x1701ca[_0x45f550(0x410)]=0x36b2]=_0x45f550(0x410),_0x1701ca[_0x1701ca[_0x45f550(0x2f4)]=0x36b3]=_0x45f550(0x2f4),_0x1701ca[_0x1701ca['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x45f550(0x3a5),_0x1701ca[_0x1701ca[_0x45f550(0x341)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x1701ca[_0x1701ca[_0x45f550(0x1ec)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x1701ca[_0x1701ca['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x45f550(0x20b),_0x1701ca[_0x1701ca['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x1701ca[_0x1701ca[_0x45f550(0x1ea)]=0x3a99]=_0x45f550(0x1ea),_0x1701ca[_0x1701ca['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x1701ca[_0x1701ca[_0x45f550(0x230)]=0x3a9b]=_0x45f550(0x230),_0x1701ca[_0x1701ca[_0x45f550(0x39f)]=0x3a9c]=_0x45f550(0x39f),_0x1701ca[_0x1701ca['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x45f550(0x38b),_0x1701ca[_0x1701ca[_0x45f550(0x2c1)]=0x3a9e]=_0x45f550(0x2c1),_0x1701ca[_0x1701ca[_0x45f550(0x1ef)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x1701ca[_0x1701ca[_0x45f550(0x40d)]=0x3e81]=_0x45f550(0x40d),_0x1701ca[_0x1701ca[_0x45f550(0x415)]=-0x1]=_0x45f550(0x415),_0x1701ca))(_0x44e248||{});function _0x208711(_0x21da35){const _0x70309d=_0x45f550;var _0x1bc432,_0x1dcb67;const _0x5b7ed0=(_0x1bc432=_0x21da35[_0x70309d(0x467)])==null?void 0x0:_0x1bc432[_0x70309d(0x4a5)],_0x578566=((_0x1dcb67=_0x21da35[_0x70309d(0x467)])==null?void 0x0:_0x1dcb67[_0x70309d(0x3d5)])||0x0;return _0x5b7ed0===_0xbede2[_0x70309d(0x275)][_0x70309d(0x3b1)]&&_0x578566>0x0;}function _0x4d2fe3(_0x197053){const _0x10ace1=_0x45f550;return _0x197053['functionsExecutedState']===_0xbede2[_0x10ace1(0x2ea)][_0x10ace1(0x368)];}var _0x60090e=Object['getOwnPropertyDescriptor'],_0x939a4b=(_0x3e0f66,_0xb9b02c,_0x5617e8,_0x5330d5)=>{const _0x5035c9=_0x45f550;for(var _0x122af9=_0x5330d5>0x1?void 0x0:_0x5330d5?_0x60090e(_0xb9b02c,_0x5617e8):_0xb9b02c,_0x47c90c=_0x3e0f66[_0x5035c9(0x49c)]-0x1,_0x283860;_0x47c90c>=0x0;_0x47c90c--)(_0x283860=_0x3e0f66[_0x47c90c])&&(_0x122af9=_0x283860(_0x122af9)||_0x122af9);return _0x122af9;},_0xb1cbc9=(_0x2b2b32,_0x25a3c5)=>(_0xb1aaaa,_0x346642)=>_0x25a3c5(_0xb1aaaa,_0x346642,_0x2b2b32);const _0x2be216=_0x45f550(0x3f0),_0x492bae='/universer-api/license/formula/limit/start',_0x129797='/universer-api/license/formula/limit/done';let _0xb47647=class extends _0x1187a4[_0x45f550(0x2a9)]{constructor(_0x2fda2e,_0x4c56b5,_0x10319d,_0x240c24,_0x3e00a0,_0x853e11,_0x5811f1){const _0x58092d=_0x45f550;super(),_0x4775d1(this,_0x58092d(0x3dd),null),_0x4775d1(this,_0x58092d(0x4a9),0x0),_0x4775d1(this,_0x58092d(0x3be),0x0),_0x4775d1(this,'_taskIds',[]),_0x4775d1(this,_0x58092d(0x4a8),0x0),(this[_0x58092d(0x2cd)]=_0x2fda2e,this['_commandService']=_0x4c56b5,this['_configService']=_0x10319d,this[_0x58092d(0x433)]=_0x240c24,this[_0x58092d(0x225)]=_0x3e00a0,this[_0x58092d(0x3bc)]=_0x853e11,this[_0x58092d(0x351)]=_0x5811f1,this[_0x58092d(0x4b0)]());}[_0x45f550(0x4b0)](){const _0x2a9760=_0x45f550;this[_0x2a9760(0x30d)](this[_0x2a9760(0x312)][_0x2a9760(0x205)]((_0x51579e,_0x1f4cb2)=>{const _0x2ad99e=_0x2a9760;var _0x35e065;if(_0x51579e['id']!==_0xbede2[_0x2ad99e(0x2a7)]['id'])return;const _0x2df50d=_0x51579e['params'];if(!this[_0x2ad99e(0x326)]((_0x35e065=_0x2df50d['dirtyRanges'])!=null?_0x35e065:[]))return;if(!this[_0x2ad99e(0x3a9)]())throw this['_checkAndWaitForCalculationPermission'](_0x51579e,_0x1f4cb2),this[_0x2ad99e(0x3ab)](),new _0x1187a4[(_0x2ad99e(0x2b2))]();})),this[_0x2a9760(0x30d)](this[_0x2a9760(0x312)]['onCommandExecuted']((_0x1a55d9,_0x542101)=>{const _0x520ae5=_0x2a9760;if(_0x1a55d9['id']!==_0xbede2[_0x520ae5(0x48a)]['id'])return;const _0x4322fa=_0x1a55d9[_0x520ae5(0x36f)];if(_0x208711(_0x4322fa)){const _0x2c9236=_0x1187a4['generateRandomId']();this[_0x520ae5(0x362)]['push'](_0x2c9236),this['_startCalculationLimit'](_0x2c9236);}else{if(_0x4d2fe3(_0x4322fa)&&this[_0x520ae5(0x362)]['length']>0x0){const _0xeb3142=this[_0x520ae5(0x362)][_0x520ae5(0x440)]();this[_0x520ae5(0x476)](_0xeb3142);}}}));}[_0x45f550(0x244)](){const _0xa6ec0b=_0x45f550;super['dispose'](),this[_0xa6ec0b(0x4ab)](),this['_taskIds']=[],this[_0xa6ec0b(0x3be)]=0x0,this[_0xa6ec0b(0x4a9)]=0x0,this[_0xa6ec0b(0x4a8)]=0x0;}async[_0x45f550(0x404)](_0x3c7c25,_0x2fde0b){const _0x357a08=_0x45f550;for(let _0x1da33a=0x0;_0x1da33a<0x1e;_0x1da33a++)try{if(await this[_0x357a08(0x3b3)](),this[_0x357a08(0x3a9)]()){this[_0x357a08(0x35e)](_0x3c7c25,_0x2fde0b),this['_messageService']['show']({'content':this[_0x357a08(0x351)]['t']('formula.calculation.started'),'type':_0x64dbc4[_0x357a08(0x272)][_0x357a08(0x288)]});return;}await new Promise(_0xdb6305=>{const _0x3ef824=_0x357a08;this[_0x3ef824(0x3dd)]=window[_0x3ef824(0x232)](_0xdb6305,0x3e8);});}catch(_0x5bf3af){this[_0x357a08(0x3bc)][_0x357a08(0x310)](_0x5bf3af);}this[_0x357a08(0x2cd)][_0x357a08(0x471)]({'content':this['_localeService']['t'](_0x357a08(0x218)),'type':_0x64dbc4[_0x357a08(0x272)]['Error']});}[_0x45f550(0x35e)](_0x4318fa,_0x53eeaa){const _0x2dd209=_0x45f550;try{this[_0x2dd209(0x312)][_0x2dd209(0x270)](_0x4318fa['id'],_0x4318fa['params'],_0x53eeaa);}catch(_0x5b3c02){this[_0x2dd209(0x3bc)][_0x2dd209(0x310)](_0x5b3c02);}}['_setFormulaLimitStatus'](_0x48f581,_0x5616c8){const _0xd08e3e=_0x45f550;_0x5616c8<this[_0xd08e3e(0x4a8)]||(this[_0xd08e3e(0x4a8)]=_0x5616c8,this[_0xd08e3e(0x4a9)]=Number[_0xd08e3e(0x2cc)](_0x48f581[_0xd08e3e(0x253)]),this[_0xd08e3e(0x3be)]=Number[_0xd08e3e(0x2cc)](_0x48f581[_0xd08e3e(0x3aa)]));}async['_startCalculationLimit'](_0x18c90a){const _0x5d7a7a=_0x45f550;var _0x4d60a1,_0x680cd;const _0x2e8a22=Date[_0x5d7a7a(0x2b1)]();try{const _0x403e18=((_0x4d60a1=this['_configService'][_0x5d7a7a(0x31c)](_0x2de05c[_0x5d7a7a(0x388)]))==null?void 0x0:_0x4d60a1['startFormulaLimitUrl'])||_0x492bae,_0xf1141=(await this[_0x5d7a7a(0x433)][_0x5d7a7a(0x382)](_0x403e18,{'body':JSON[_0x5d7a7a(0x2b6)]({'taskId':_0x18c90a})}))['body'];if(((_0x680cd=_0xf1141[_0x5d7a7a(0x310)])==null?void 0x0:_0x680cd['code'])!==_0x44e248['OK'])return;this[_0x5d7a7a(0x378)](_0xf1141['limitInfo'],_0x2e8a22);}catch(_0x47ff26){this['_logService'][_0x5d7a7a(0x310)](_0x47ff26);}}async['_getFormulaLimitStatus'](_0x3b4f7a){const _0x40c01d=_0x45f550;var _0x33d06c,_0x79511f;const _0x2ed8a6=Date[_0x40c01d(0x2b1)]();try{const _0x4a62d2=((_0x33d06c=this[_0x40c01d(0x35d)][_0x40c01d(0x31c)](_0x2de05c['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x33d06c['getformulaLimitStatusUrl'])||_0x2be216,_0x516cab=_0x3b4f7a?_0x4a62d2+_0x40c01d(0x258)+encodeURIComponent(_0x3b4f7a):_0x4a62d2,_0x19f4d4=(await this[_0x40c01d(0x433)][_0x40c01d(0x4b4)](_0x516cab))[_0x40c01d(0x462)];if(((_0x79511f=_0x19f4d4['error'])==null?void 0x0:_0x79511f[_0x40c01d(0x28b)])!==_0x44e248['OK'])return;this['_setFormulaLimitStatus'](_0x19f4d4[_0x40c01d(0x2db)],_0x2ed8a6);}catch(_0x4e193b){this['_logService'][_0x40c01d(0x310)](_0x4e193b);}}async[_0x45f550(0x476)](_0x1a7f8f){const _0x5f26fb=_0x45f550;var _0x29097b,_0x5375df;const _0x5ea3b9=Date[_0x5f26fb(0x2b1)]();try{const _0x39b959=((_0x29097b=this[_0x5f26fb(0x35d)][_0x5f26fb(0x31c)](_0x2de05c[_0x5f26fb(0x388)]))==null?void 0x0:_0x29097b[_0x5f26fb(0x23f)])||_0x129797,_0x5575a3=(await this['_httpService'][_0x5f26fb(0x382)](_0x39b959,{'body':JSON['stringify']({'taskId':_0x1a7f8f})}))['body'];if(((_0x5375df=_0x5575a3[_0x5f26fb(0x310)])==null?void 0x0:_0x5375df[_0x5f26fb(0x28b)])!==_0x44e248['OK'])return;this[_0x5f26fb(0x378)](_0x5575a3[_0x5f26fb(0x2db)],_0x5ea3b9);}catch(_0x41770d){this['_logService'][_0x5f26fb(0x310)](_0x41770d);}}[_0x45f550(0x3a9)](){const _0x253a55=_0x45f550;return this[_0x253a55(0x4a9)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x253a55(0x3be)]>0x0;}[_0x45f550(0x4ab)](){const _0x5e7be9=_0x45f550;this[_0x5e7be9(0x3dd)]&&(clearTimeout(this[_0x5e7be9(0x3dd)]),this[_0x5e7be9(0x3dd)]=null);}[_0x45f550(0x3ab)](){const _0x28947a=_0x45f550;this[_0x28947a(0x2cd)][_0x28947a(0x471)]({'content':this['_localeService']['t'](_0x28947a(0x23b)),'type':_0x64dbc4[_0x28947a(0x272)][_0x28947a(0x2d7)]});}[_0x45f550(0x326)](_0x4fbc96){const _0x5df14e=_0x45f550;for(const _0x955315 of _0x4fbc96){const {unitId:_0x4430c4,sheetId:_0x284860,range:_0x5ab56c}=_0x955315,_0xb9c1d7=this[_0x5df14e(0x225)][_0x5df14e(0x1eb)](_0x4430c4);if(!_0xb9c1d7)continue;const _0x353fb0=_0xb9c1d7[_0x5df14e(0x3f2)](_0x284860);if(!_0x353fb0)continue;const _0x175fb1=_0x353fb0['getCellMatrix']();for(let _0x1ef36c=_0x5ab56c[_0x5df14e(0x30b)];_0x1ef36c<=_0x5ab56c['endRow'];_0x1ef36c++)for(let _0x5f2f09=_0x5ab56c[_0x5df14e(0x422)];_0x5f2f09<=_0x5ab56c[_0x5df14e(0x389)];_0x5f2f09++){const _0x2b7999=_0x175fb1['getValue'](_0x1ef36c,_0x5f2f09);if(_0x2b7999&&(_0x1187a4[_0x5df14e(0x3ba)](_0x2b7999['f'])||_0x1187a4[_0x5df14e(0x2f9)](_0x2b7999['si'])))return!0x0;}}return!0x1;}};_0xb47647=_0x939a4b([_0xb1cbc9(0x0,_0x1187a4[_0x45f550(0x474)](_0x20024a[_0x45f550(0x392)])),_0xb1cbc9(0x1,_0x1187a4[_0x45f550(0x2ab)]),_0xb1cbc9(0x2,_0x1187a4[_0x45f550(0x45b)]),_0xb1cbc9(0x3,_0x1187a4['Inject'](_0x391b32[_0x45f550(0x3e0)])),_0xb1cbc9(0x4,_0x1187a4[_0x45f550(0x3a0)]),_0xb1cbc9(0x5,_0x1187a4['ILogService']),_0xb1cbc9(0x6,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x3a3)]))],_0xb47647);var _0x5ab35f=Object[_0x45f550(0x38f)],_0x27e759=(_0x2b3f77,_0x270252,_0x17dd62,_0x1a2947)=>{const _0x46694b=_0x45f550;for(var _0x18a8d8=_0x1a2947>0x1?void 0x0:_0x1a2947?_0x5ab35f(_0x270252,_0x17dd62):_0x270252,_0x50212a=_0x2b3f77[_0x46694b(0x49c)]-0x1,_0x393a02;_0x50212a>=0x0;_0x50212a--)(_0x393a02=_0x2b3f77[_0x50212a])&&(_0x18a8d8=_0x393a02(_0x18a8d8)||_0x18a8d8);return _0x18a8d8;},_0x1e0cfd=(_0x1bb523,_0x403dbe)=>(_0x54f1df,_0x138eaf)=>_0x403dbe(_0x54f1df,_0x138eaf,_0x1bb523);let _0x59bd78=class extends _0x1187a4[_0x45f550(0x2a9)]{constructor(_0x3f2645,_0x10dcf5,_0x101355){const _0x1fd771=_0x45f550;super(),_0x4775d1(this,_0x1fd771(0x3ca),new Map()),_0x4775d1(this,_0x1fd771(0x266),new Map()),_0x4775d1(this,'_disabled',!0x1),(this[_0x1fd771(0x35d)]=_0x3f2645,this[_0x1fd771(0x47d)]=_0x10dcf5,this[_0x1fd771(0x286)]=_0x101355);}[_0x45f550(0x30f)](){const _0x1720ee=_0x45f550;this[_0x1720ee(0x3c8)]=!0x0;}['enableLocalCache'](){const _0x1e5017=_0x45f550;this[_0x1e5017(0x3c8)]=!0x1;}get[_0x45f550(0x48e)](){return this['_saveTaskMap'];}[_0x45f550(0x244)](){const _0x4b7c16=_0x45f550;this[_0x4b7c16(0x40a)]()['then'](()=>super[_0x4b7c16(0x244)]());}async['loadOfflineData'](_0xa30f8){const _0x1d4241=_0x45f550;return this[_0x1d4241(0x3c8)]?null:this[_0x1d4241(0x47d)][_0x1d4241(0x449)](_0x2de05c[_0x1d4241(0x1f4)](_0xa30f8));}async[_0x45f550(0x3da)](_0x4f64a9,_0x52f347){const _0x30030a=_0x45f550;return!!this[_0x30030a(0x47d)][_0x30030a(0x4af)](_0x4f64a9,_0x52f347);}[_0x45f550(0x24b)](_0x239820,_0x2b5b99,_0x1f89dd,_0x150e37){const _0x190f1f=_0x45f550,_0x28782d=this[_0x190f1f(0x286)]['getCurrentRevOfUnit'](_0x239820);this[_0x190f1f(0x3ca)][_0x190f1f(0x47c)](_0x239820,{'unitID':_0x239820,'type':_0x2b5b99,'awaitingChangeset':_0x1f89dd,'mutations':_0x150e37,'rev':_0x28782d}),this[_0x190f1f(0x266)][_0x190f1f(0x478)](_0x239820)||this[_0x190f1f(0x41a)](_0x239820);}[_0x45f550(0x41a)](_0x1e0dde){const _0xec77dc=_0x45f550,_0x3f81c9=this[_0xec77dc(0x306)]();_0x3f81c9===0x0?this[_0xec77dc(0x483)](_0x1e0dde):this[_0xec77dc(0x266)]['set'](_0x1e0dde,setTimeout(()=>this[_0xec77dc(0x483)](_0x1e0dde),_0x3f81c9));}[_0x45f550(0x306)](){const _0x9502a2=_0x45f550;var _0x2b0b8d;return(_0x2b0b8d=this[_0x9502a2(0x35d)][_0x9502a2(0x31c)](_0x2de05c[_0x9502a2(0x361)]))!=null?_0x2b0b8d:_0x2de05c[_0x9502a2(0x2f2)];}['_saveCache'](_0x4fb0a8){const _0x1aeed2=_0x45f550,_0x3e6394=this[_0x1aeed2(0x266)][_0x1aeed2(0x4b4)](_0x4fb0a8);return _0x3e6394!==void 0x0&&window['clearTimeout'](_0x3e6394),this[_0x1aeed2(0x47d)][_0x1aeed2(0x4af)](_0x2de05c[_0x1aeed2(0x1f4)](_0x4fb0a8),this[_0x1aeed2(0x3ca)][_0x1aeed2(0x4b4)](_0x4fb0a8))[_0x1aeed2(0x420)](()=>this[_0x1aeed2(0x266)]['delete'](_0x4fb0a8));}async['exhaustSavingTask'](){const _0x12ecab=_0x45f550,_0x38d3a6=[];this[_0x12ecab(0x266)][_0x12ecab(0x315)]((_0x216a76,_0x5bdac6)=>{const _0xb8af4c=_0x12ecab;window['clearTimeout'](_0x216a76),_0x38d3a6['push'](this['_saveCache'](_0x5bdac6)[_0xb8af4c(0x420)](()=>{const _0x4053b4=_0xb8af4c;this[_0x4053b4(0x266)][_0x4053b4(0x340)](_0x5bdac6);}));}),await Promise['all'](_0x38d3a6);}};_0x59bd78=_0x27e759([_0x1e0cfd(0x0,_0x1187a4['IConfigService']),_0x1e0cfd(0x1,_0x1187a4[_0x45f550(0x313)]),_0x1e0cfd(0x2,_0x1187a4['Inject'](_0xa5f490[_0x45f550(0x2dd)]))],_0x59bd78);class _0x56ec38 extends _0x1187a4[_0x45f550(0x215)]{constructor(){const _0x1486ae=_0x45f550;super(),_0x4775d1(this,_0x1486ae(0x3bf)),this[_0x1486ae(0x3bf)]=_0x1068bb['fromEvent'](window,_0x1486ae(0x24d))['pipe'](_0x1068bb[_0x1486ae(0x274)](this[_0x1486ae(0x2f8)]),_0x1068bb[_0x1486ae(0x256)](0x1),_0x1068bb[_0x1486ae(0x353)](void 0x0));}['setParam'](_0x4f5d79,_0x4f19cb,_0x2457c8=!0x1){const _0x2fd5fb=_0x45f550,_0x544bf1=new URL(window[_0x2fd5fb(0x207)]['href']);_0x544bf1[_0x2fd5fb(0x2ef)][_0x2fd5fb(0x47c)](_0x4f5d79,_0x4f19cb),_0x2457c8?window[_0x2fd5fb(0x29a)]['replaceState']('','',_0x544bf1[_0x2fd5fb(0x3fe)]()):window[_0x2fd5fb(0x29a)][_0x2fd5fb(0x1f2)]('','',_0x544bf1[_0x2fd5fb(0x3fe)]());}[_0x45f550(0x370)](_0x2cb59d,_0x123693=!0x1){const _0x613d20=_0x45f550,_0x347033=new URL(window[_0x613d20(0x207)][_0x613d20(0x350)]);_0x347033['searchParams'][_0x613d20(0x340)](_0x2cb59d),_0x123693?window['history'][_0x613d20(0x4aa)]('','',_0x347033['toString']()):window[_0x613d20(0x29a)]['pushState']('','',_0x347033['toString']());}[_0x45f550(0x301)](_0x2c2ad2){const _0x3c9841=_0x45f550;var _0x47dcfd;return(_0x47dcfd=new URL(window['location'][_0x3c9841(0x350)])[_0x3c9841(0x2ef)]['get'](_0x2c2ad2))!=null?_0x47dcfd:void 0x0;}}var _0x313ff3=Object[_0x45f550(0x366)],_0x20382b=Object[_0x45f550(0x38f)],_0x470b2c=(_0x60ec8f,_0x4288e5,_0x3b634e)=>_0x4288e5 in _0x60ec8f?_0x313ff3(_0x60ec8f,_0x4288e5,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3b634e}):_0x60ec8f[_0x4288e5]=_0x3b634e,_0x162956=(_0x3660e4,_0x10a8a8,_0x3f8e56,_0x1f5a52)=>{for(var _0x42890c=_0x1f5a52>0x1?void 0x0:_0x1f5a52?_0x20382b(_0x10a8a8,_0x3f8e56):_0x10a8a8,_0x163d01=_0x3660e4['length']-0x1,_0x24964f;_0x163d01>=0x0;_0x163d01--)(_0x24964f=_0x3660e4[_0x163d01])&&(_0x42890c=_0x24964f(_0x42890c)||_0x42890c);return _0x42890c;},_0x543a99=(_0x37fda4,_0x2e3697)=>(_0x110089,_0x3d8baa)=>_0x2e3697(_0x110089,_0x3d8baa,_0x37fda4),_0x2112e6=(_0x237c00,_0xa56ade,_0x6518e5)=>_0x470b2c(_0x237c00,_0xa56ade+'',_0x6518e5);const _0x5b0642=_0x45f550(0x38e);_0x116b26[_0x45f550(0x472)]=class extends _0x1187a4['Plugin']{constructor(_0x5a9a2a=_0x4af272,_0x3322d7,_0x18d3f0,_0x125819){const _0x5ca822=_0x45f550;super(),this[_0x5ca822(0x271)]=_0x5a9a2a,this[_0x5ca822(0x1f0)]=_0x3322d7,this['_injector']=_0x18d3f0,this[_0x5ca822(0x35d)]=_0x125819;const {..._0x4d90ee}=_0x1187a4['merge']({},_0x4af272,this['_config']);this[_0x5ca822(0x35d)][_0x5ca822(0x246)](_0x3a1054,_0x4d90ee);}[_0x45f550(0x42c)](){const _0x24fd7c=_0x45f550;this['_registerDependencies'](),this[_0x24fd7c(0x4ac)]();}[_0x45f550(0x2af)](){const _0x349248=_0x45f550;this[_0x349248(0x2ec)]();}[_0x45f550(0x2ca)](){const _0x3b20f5=_0x45f550;var _0x3c944b;const _0x2921c2=[[_0x5cc5ff],[_0xb47647],[_0xab804],[_0x444986],[_0x2f87dd],[_0x3cbd00],[_0x48aae0,{'useClass':_0x56ec38}],[_0x391b32[_0x3b20f5(0x37d)],{'useClass':_0x391b32[_0x3b20f5(0x3a4)]}],[_0x2de05c[_0x3b20f5(0x348)],{'useClass':_0x59bd78}],[_0x116b26[_0x3b20f5(0x32a)]],[_0x1643ec],[_0x3e8554],[_0x12a146],[_0x5bb55b],[_0x116b26[_0x3b20f5(0x252)]]];_0x1187a4[_0x3b20f5(0x28d)](this[_0x3b20f5(0x234)],_0x1187a4[_0x3b20f5(0x3ac)](_0x2921c2,(_0x3c944b=this[_0x3b20f5(0x271)])==null?void 0x0:_0x3c944b[_0x3b20f5(0x2da)]));}[_0x45f550(0x2ec)](){const _0x23c5b9=_0x45f550;this['disposeWithMe'](this[_0x23c5b9(0x1f0)]['registerRenderModule'](_0x1187a4[_0x23c5b9(0x2ed)][_0x23c5b9(0x2bf)],[_0x17ca61])),this[_0x23c5b9(0x30d)](this[_0x23c5b9(0x1f0)]['registerRenderModule'](_0x1187a4[_0x23c5b9(0x2ed)]['UNIVER_SHEET'],[_0x43f6b3]));}[_0x45f550(0x4ac)](){const _0x4a065d=_0x45f550;_0x1187a4['touchDependencies'](this[_0x4a065d(0x234)],[[_0x12a146],[_0x116b26['DesktopCollaborationStatusDisplayController']],[_0x1643ec],[_0x3e8554],[_0x116b26[_0x4a065d(0x252)]],[_0xb47647]]);}},_0x2112e6(_0x116b26['UniverCollaborationClientUIPlugin'],_0x45f550(0x27a),_0x5b0642),_0x116b26[_0x45f550(0x472)]=_0x162956([_0x1187a4[_0x45f550(0x3b7)](_0x2de05c[_0x45f550(0x381)]),_0x543a99(0x1,_0x52d8dc[_0x45f550(0x254)]),_0x543a99(0x2,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x2bc)])),_0x543a99(0x3,_0x1187a4[_0x45f550(0x45b)])],_0x116b26[_0x45f550(0x472)]);var _0x363a4f=Object[_0x45f550(0x38f)],_0x45e873=(_0x380a37,_0x542c6b,_0x1ffb51,_0x4b2730)=>{const _0x47b58e=_0x45f550;for(var _0x1c7b86=_0x4b2730>0x1?void 0x0:_0x4b2730?_0x363a4f(_0x542c6b,_0x1ffb51):_0x542c6b,_0x509c7d=_0x380a37[_0x47b58e(0x49c)]-0x1,_0x5b0023;_0x509c7d>=0x0;_0x509c7d--)(_0x5b0023=_0x380a37[_0x509c7d])&&(_0x1c7b86=_0x5b0023(_0x1c7b86)||_0x1c7b86);return _0x1c7b86;},_0x322557=(_0x5135f1,_0x23cac3)=>(_0x39c3a1,_0x348cb3)=>_0x23cac3(_0x39c3a1,_0x348cb3,_0x5135f1);_0x116b26[_0x45f550(0x42f)]=class extends _0x2de05c[_0x45f550(0x295)]{constructor(_0x549030,_0x2483b3,_0x14e4ba,_0x5d274e,_0x18050e){super(_0x549030,_0x2483b3,_0x14e4ba,_0x5d274e,_0x18050e);}async[_0x45f550(0x3a6)](_0x2da95b){const _0xbd6790=_0x45f550,_0x304c90=await this[_0xbd6790(0x3ad)](),_0x57fbcc=this[_0xbd6790(0x3ea)](_0x2da95b,_0x304c90);return this['_doCreateSocket'](_0x57fbcc);}['_createSocketURL'](_0x3fffe9,_0xf35d03){const _0x50dcc8=_0x45f550,_0x29d6c8=typeof window>'u'?new URL(_0x3fffe9):new URL(_0x3fffe9,window[_0x50dcc8(0x207)][_0x50dcc8(0x354)]);_0x29d6c8[_0x50dcc8(0x2ef)]['set'](_0x50dcc8(0x298),_0xf35d03);const _0x46b44b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x50dcc8(0x207)][_0x50dcc8(0x20e)]);return _0x46b44b[_0x50dcc8(0x4b4)]('runId')&&_0x29d6c8['searchParams'][_0x50dcc8(0x47c)](_0x50dcc8(0x44b),_0x46b44b[_0x50dcc8(0x4b4)](_0x50dcc8(0x44b))),_0x29d6c8[_0x50dcc8(0x3fe)]();}async[_0x45f550(0x3ad)](){const _0x4ec7c3=_0x45f550;var _0x8f4a4e,_0x247fa8,_0x57d702;const _0x5406b1=this['_configService'][_0x4ec7c3(0x31c)](_0x2de05c['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x9dc838=(_0x8f4a4e=_0x5406b1==null?void 0x0:_0x5406b1[_0x4ec7c3(0x226)])!=null?_0x8f4a4e:_0x2de05c[_0x4ec7c3(0x33c)];return(_0x57d702=(_0x247fa8=(await this[_0x4ec7c3(0x433)][_0x4ec7c3(0x4b4)](_0x9dc838,{'headers':{'Content-Type':_0x4ec7c3(0x294)}}))[_0x4ec7c3(0x462)])==null?void 0x0:_0x247fa8[_0x4ec7c3(0x391)])!=null?_0x57d702:'';}},_0x116b26[_0x45f550(0x42f)]=_0x45e873([_0x322557(0x0,_0x1187a4[_0x45f550(0x474)](_0x1187a4[_0x45f550(0x2bc)])),_0x322557(0x1,_0x1187a4[_0x45f550(0x474)](_0x391b32[_0x45f550(0x3e0)])),_0x322557(0x2,_0x1187a4[_0x45f550(0x45b)]),_0x322557(0x3,_0x1187a4[_0x45f550(0x437)]),_0x322557(0x4,_0xa5f490[_0x45f550(0x489)])],_0x116b26[_0x45f550(0x42f)]);var _0x2e1f7d=Object[_0x45f550(0x38f)],_0x483d79=(_0x1e9418,_0x1dd9e0,_0x1b7411,_0x639e00)=>{for(var _0x31b497=_0x639e00>0x1?void 0x0:_0x639e00?_0x2e1f7d(_0x1dd9e0,_0x1b7411):_0x1dd9e0,_0x59a41b=_0x1e9418['length']-0x1,_0x58f38b;_0x59a41b>=0x0;_0x59a41b--)(_0x58f38b=_0x1e9418[_0x59a41b])&&(_0x31b497=_0x58f38b(_0x31b497)||_0x31b497);return _0x31b497;},_0xa0e948=(_0x5d2133,_0x282be7)=>(_0x433a0c,_0x19b452)=>_0x282be7(_0x433a0c,_0x19b452,_0x5d2133);_0x116b26[_0x45f550(0x251)]=class extends _0x1187a4[_0x45f550(0x2a9)]{constructor(_0x308cad,_0x5b7a6a,_0x5559e2){const _0x76d979=_0x45f550;super(),this[_0x76d979(0x208)]=_0x308cad,this[_0x76d979(0x433)]=_0x5b7a6a,this[_0x76d979(0x35d)]=_0x5559e2;}async[_0x45f550(0x2d5)](_0x44ab79,_0x19c1d2,_0x349e44,..._0x404887){const _0x4fa30c=_0x45f550;var _0x3e0a8b,_0x1eee26,_0xd9137,_0x4ef757;const _0x2b41fc=this[_0x4fa30c(0x208)][_0x4fa30c(0x37b)]();if(!_0x2b41fc)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1f2d14=((_0x3e0a8b=this['_configService']['getConfig'](_0x2de05c[_0x4fa30c(0x281)]))!=null?_0x3e0a8b:_0x2de05c['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x44ab79+_0x4fa30c(0x39b)+_0x19c1d2,_0x2be7be=new URL(window[_0x4fa30c(0x207)][_0x4fa30c(0x350)]),_0x433e7d={'scriptId':_0x44ab79,'runId':(_0x1eee26=_0x2be7be[_0x4fa30c(0x2ef)][_0x4fa30c(0x4b4)](_0x4fa30c(0x44b)))!=null?_0x1eee26:'','function':_0x19c1d2,'unitId':_0x2b41fc['getUnitId'](),'argsOfFunction':JSON[_0x4fa30c(0x2b6)](_0x404887),'invokeId':(_0xd9137=_0x349e44[_0x4fa30c(0x45c)])!=null?_0xd9137:'','executionId':(_0x4ef757=_0x349e44[_0x4fa30c(0x48c)])!=null?_0x4ef757:''};try{const _0x23583b=await this[_0x4fa30c(0x433)][_0x4fa30c(0x382)](_0x1f2d14,{'body':_0x433e7d});return _0x23583b[_0x4fa30c(0x462)][_0x4fa30c(0x310)]&&_0x23583b[_0x4fa30c(0x462)][_0x4fa30c(0x310)][_0x4fa30c(0x28b)]!==_0x44e248['OK']?_0x4fa30c(0x4b3):_0x23583b[_0x4fa30c(0x462)][_0x4fa30c(0x2e3)];}catch{return _0x4fa30c(0x4b3);}}},_0x116b26[_0x45f550(0x251)]=_0x483d79([_0xa0e948(0x0,_0x1187a4['IUniverInstanceService']),_0xa0e948(0x1,_0x1187a4[_0x45f550(0x474)](_0x391b32[_0x45f550(0x3e0)])),_0xa0e948(0x2,_0x1187a4[_0x45f550(0x45b)])],_0x116b26[_0x45f550(0x251)]);const _0x14ab56=0x7530,_0x4943df=_0x45f550(0x45f);class _0x2173c8 extends _0x1187a4[_0x45f550(0x2a9)]{constructor(){const _0x4e19f7=_0x45f550;super(),_0x4775d1(this,_0x4e19f7(0x49d),_0x1187a4[_0x4e19f7(0x260)]()),_0x4775d1(this,_0x4e19f7(0x3db),new Set()),_0x4775d1(this,'_unitOnClients',new Map()),_0x4775d1(this,_0x4e19f7(0x34e),null),_0x4775d1(this,_0x4e19f7(0x231),new Map()),_0x4775d1(this,_0x4e19f7(0x461),new Map()),this['_init']();}[_0x45f550(0x244)](){const _0x58112f=_0x45f550;super[_0x58112f(0x244)](),this[_0x58112f(0x231)][_0x58112f(0x315)]((_0x2ebf4c,_0x2a1f7a)=>this[_0x58112f(0x3ff)](_0x2a1f7a)),this[_0x58112f(0x34e)]&&window[_0x58112f(0x495)](this[_0x58112f(0x34e)]);}[_0x45f550(0x1fb)](_0x4a96f1){const _0x13229a=_0x45f550;return this[_0x13229a(0x242)](_0x4a96f1)[_0x13229a(0x229)](_0x1068bb['distinctUntilChanged']());}['editingUnit'](_0x124a8e){const _0x57a723=_0x45f550;this['_selfUnitIDs'][_0x57a723(0x427)]===0x0&&this[_0x57a723(0x2aa)](),this[_0x57a723(0x3db)]['add'](_0x124a8e),this[_0x57a723(0x3e6)]({'type':0x0,'memberID':this[_0x57a723(0x49d)],'unitIDs':[_0x124a8e],'isForwarded':!0x1});}[_0x45f550(0x27d)](_0x3262de){const _0xab799f=_0x45f550;this[_0xab799f(0x3db)][_0xab799f(0x340)](_0x3262de),this['_selfUnitIDs'][_0xab799f(0x427)]===0x0&&this[_0xab799f(0x34e)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x45f550(0x22b)](){const _0x55a0f1=_0x45f550;this[_0x55a0f1(0x30d)](_0x1187a4[_0x55a0f1(0x279)](_0x1068bb[_0x55a0f1(0x3d7)](window,'storage')[_0x55a0f1(0x43e)](_0x25e9b7=>{const _0x2f3cc5=_0x55a0f1;if(_0x25e9b7[_0x2f3cc5(0x22e)]!==_0x4943df||!_0x25e9b7[_0x2f3cc5(0x2fd)])return;const _0x1119ac=JSON[_0x2f3cc5(0x2c2)](_0x25e9b7[_0x2f3cc5(0x2fd)]);this[_0x2f3cc5(0x45a)](_0x1119ac);}))),window[_0x55a0f1(0x304)](_0x55a0f1(0x240),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x55a0f1(0x45e)](this[_0x55a0f1(0x3db)])}));}[_0x45f550(0x45a)](_0x449479){const _0x3da4e7=_0x45f550;switch(_0x449479[_0x3da4e7(0x493)]){case 0x0:this['_handleJoinEvent'](_0x449479);break;case 0x1:this['_handleLeaveEvent'](_0x449479);break;case 0x2:this[_0x3da4e7(0x429)](_0x449479);break;}}[_0x45f550(0x473)](_0x2e0818){const _0x3d5a31=_0x45f550,{unitIDs:_0x2d5367,memberID:_0x4564bc,isForwarded:_0x547eb0}=_0x2e0818;_0x2d5367[_0x3d5a31(0x315)](_0x59efae=>{const _0x33b610=_0x3d5a31;if(!_0x547eb0&&this[_0x33b610(0x335)][_0x33b610(0x478)](_0x59efae)&&this[_0x33b610(0x242)](_0x59efae)[_0x33b610(0x2fa)](_0x2de05c[_0x33b610(0x35b)][_0x33b610(0x2dc)]),!this['_unitOnClients'][_0x33b610(0x478)](_0x59efae)||!this[_0x33b610(0x335)][_0x33b610(0x4b4)](_0x59efae)[_0x33b610(0x478)](_0x4564bc)){const _0x41d06b=this[_0x33b610(0x335)][_0x33b610(0x4b4)](_0x59efae)||new Set();_0x41d06b[_0x33b610(0x481)](_0x4564bc),this['_unitOnClients'][_0x33b610(0x47c)](_0x59efae,_0x41d06b),this[_0x33b610(0x3cf)](_0x4564bc);}}),_0x547eb0||this[_0x3d5a31(0x3e6)]({'type':0x0,'memberID':this[_0x3d5a31(0x49d)],'unitIDs':[...this[_0x3d5a31(0x3db)]],'isForwarded':!0x0});}[_0x45f550(0x3cf)](_0x1b80f5){const _0x1c16e0=_0x45f550;this[_0x1c16e0(0x3ff)](_0x1b80f5);const _0x15a5be=window[_0x1c16e0(0x232)](()=>{const _0x2845f7=_0x1c16e0;this[_0x2845f7(0x335)][_0x2845f7(0x315)](_0x2e346b=>{const _0x4802f1=_0x2845f7;_0x2e346b[_0x4802f1(0x340)](_0x1b80f5);});},_0x14ab56*0x2);this[_0x1c16e0(0x231)][_0x1c16e0(0x47c)](_0x1b80f5,_0x15a5be);}[_0x45f550(0x3ff)](_0xc26ca1){const _0x183ff2=_0x45f550;if(this['_clearOtherTimers'][_0x183ff2(0x478)](_0xc26ca1)){const _0xa6fc7b=this[_0x183ff2(0x231)][_0x183ff2(0x4b4)](_0xc26ca1);_0xa6fc7b&&window[_0x183ff2(0x2e2)](_0xa6fc7b),this['_clearOtherTimers']['set'](_0xc26ca1,null);}}['_handleLeaveEvent'](_0x1ac9cc){const _0x48118a=_0x45f550,{memberID:_0x4684b1,unitIDs:_0xe42bf1}=_0x1ac9cc;_0xe42bf1[_0x48118a(0x315)](_0xc77883=>{const _0x741488=_0x48118a;var _0x235892;const _0x5c2b57=this[_0x741488(0x335)][_0x741488(0x4b4)](_0xc77883);_0x5c2b57&&(_0x5c2b57['delete'](_0x4684b1),(_0x235892=this[_0x741488(0x242)](_0xc77883))==null||_0x235892[_0x741488(0x2fa)](_0x5c2b57[_0x741488(0x427)]===0x0?_0x2de05c[_0x741488(0x35b)][_0x741488(0x452)]:_0x2de05c[_0x741488(0x35b)][_0x741488(0x2dc)]));}),this[_0x48118a(0x3ff)](_0x4684b1);}[_0x45f550(0x429)](_0x4c8f52){this['_scheduleClearOtherTimer'](_0x4c8f52['memberID']);}['_send'](_0xba49d9){const _0x2f12bc=_0x45f550;localStorage[_0x2f12bc(0x4af)](_0x4943df,JSON['stringify'](_0xba49d9));}['_scheduleHeartbeat'](){const _0x4a7fb6=_0x45f550;this['_heartbeatTimer']=window[_0x4a7fb6(0x25e)](()=>{const _0x537e58=_0x4a7fb6;this[_0x537e58(0x3e6)]({'type':0x2,'memberID':this[_0x537e58(0x49d)]});},_0x14ab56);}['_ensureSubject'](_0x25b60c){const _0x31a856=_0x45f550;return this[_0x31a856(0x461)]['has'](_0x25b60c)||this['_unitStatus'][_0x31a856(0x47c)](_0x25b60c,new _0x1068bb[(_0x31a856(0x390))](_0x2de05c[_0x31a856(0x35b)][_0x31a856(0x452)])),this[_0x31a856(0x461)][_0x31a856(0x4b4)](_0x25b60c);}}_0x116b26[_0x45f550(0x47a)]=_0x48aae0,_0x116b26[_0x45f550(0x494)]=_0x377138,_0x116b26[_0x45f550(0x3d4)]=_0x2173c8,_0x116b26['WebURLService']=_0x56ec38,Object['defineProperty'](_0x116b26,Symbol[_0x45f550(0x245)],{'value':_0x45f550(0x31b)});}));
|
|
1
|
+
(function(_0x7c34d4,_0x868877){const _0x53c119=_0x3278,_0x1d7916=_0x7c34d4();while(!![]){try{const _0x33abf8=-parseInt(_0x53c119(0x3c3))/0x1+-parseInt(_0x53c119(0x377))/0x2+-parseInt(_0x53c119(0x19f))/0x3+parseInt(_0x53c119(0x278))/0x4*(parseInt(_0x53c119(0x342))/0x5)+-parseInt(_0x53c119(0x3d7))/0x6*(-parseInt(_0x53c119(0x44c))/0x7)+parseInt(_0x53c119(0x23f))/0x8*(parseInt(_0x53c119(0x34a))/0x9)+parseInt(_0x53c119(0x204))/0xa;if(_0x33abf8===_0x868877)break;else _0x1d7916['push'](_0x1d7916['shift']());}catch(_0x32ed7f){_0x1d7916['push'](_0x1d7916['shift']());}}}(_0x162b,0xe4044),function(_0x5ceac0,_0x461a1f){const _0x274bfc=_0x3278;typeof exports==_0x274bfc(0x2a2)&&typeof module<'u'?_0x461a1f(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x274bfc(0x401)]?define(['exports','react/jsx-runtime',_0x274bfc(0x349),_0x274bfc(0x243),_0x274bfc(0x1ec),_0x274bfc(0x388),_0x274bfc(0x1dc),_0x274bfc(0x301),_0x274bfc(0x37c),_0x274bfc(0x442),_0x274bfc(0x2e1),'@univerjs/network','@univerjs/docs-ui',_0x274bfc(0x38e),_0x274bfc(0x20a),_0x274bfc(0x313),_0x274bfc(0x42c),_0x274bfc(0x46b),_0x274bfc(0x373)],_0x461a1f):(_0x5ceac0=typeof globalThis<'u'?globalThis:_0x5ceac0||self,_0x461a1f(_0x5ceac0[_0x274bfc(0x260)]={},_0x5ceac0['React'],_0x5ceac0[_0x274bfc(0x2ea)],_0x5ceac0['UniverCore'],_0x5ceac0[_0x274bfc(0x1d5)],_0x5ceac0[_0x274bfc(0x388)],_0x5ceac0[_0x274bfc(0x2a0)],_0x5ceac0[_0x274bfc(0x432)],_0x5ceac0[_0x274bfc(0x383)],_0x5ceac0[_0x274bfc(0x2a8)],_0x5ceac0['UniverEngineRender'],_0x5ceac0[_0x274bfc(0x291)],_0x5ceac0[_0x274bfc(0x205)],_0x5ceac0[_0x274bfc(0x239)],_0x5ceac0[_0x274bfc(0x3ae)],_0x5ceac0['UniverDocs'],_0x5ceac0[_0x274bfc(0x215)],_0x5ceac0[_0x274bfc(0x388)]['operators'],_0x5ceac0[_0x274bfc(0x25d)]));}(this,function(_0x4c7ce2,_0x48ce84,_0x5f2bfa,_0x2ef637,_0xbf4494,_0x35d2e5,_0x364f41,_0x5b1343,_0x5ccdcc,_0x4c6aaa,_0x35408c,_0x416c4d,_0x1f0246,_0x5e2e9e,_0xffee1f,_0x431f46,_0x53a2c3,_0x493334,_0xd96da0){'use strict';const _0x2cf95d=_0x3278;var _0x23118c=Object['defineProperty'],_0x5b03e9=(_0xe5942a,_0x4c13d7,_0x841c4c)=>_0x4c13d7 in _0xe5942a?_0x23118c(_0xe5942a,_0x4c13d7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x841c4c}):_0xe5942a[_0x4c13d7]=_0x841c4c,_0x536638=(_0x396aeb,_0x27a170,_0x3ace23)=>_0x5b03e9(_0x396aeb,typeof _0x27a170!=_0x2cf95d(0x1d3)?_0x27a170+'':_0x27a170,_0x3ace23);function _0xdf2932({ref:_0x11fc7f,..._0x1af20c}){const _0x26888f=_0x2cf95d,{icon:_0x115bf6,id:_0x53e2fd,className:_0x32a125,extend:_0x1573a1,..._0x43ea3c}=_0x1af20c,_0x65a097=(_0x26888f(0x45c)+_0x53e2fd+'\x20'+(_0x32a125||''))[_0x26888f(0x3e0)](),_0x16cdd8=_0x5b1343[_0x26888f(0x2b5)]('_'+_0xd2d7e3());return _0xc4d859(_0x115bf6,''+_0x53e2fd,{'defIds':_0x115bf6['defIds'],'idSuffix':_0x16cdd8['current']},{'ref':_0x11fc7f,'className':_0x65a097,..._0x43ea3c},_0x1573a1);}function _0xc4d859(_0x4ce3c6,_0x51d49a,_0x5a5b1e,_0x5d1b70,_0x40a921){const _0x32d4bb=_0x2cf95d;return _0x5b1343['createElement'](_0x4ce3c6[_0x32d4bb(0x1c3)],{'key':_0x51d49a,..._0x2fa190(_0x4ce3c6,_0x5a5b1e,_0x40a921),..._0x5d1b70},(_0x7034e7(_0x4ce3c6,_0x5a5b1e)[_0x32d4bb(0x1a2)]||[])['map']((_0x33d58b,_0x134f10)=>_0xc4d859(_0x33d58b,_0x51d49a+'-'+_0x4ce3c6[_0x32d4bb(0x1c3)]+'-'+_0x134f10,_0x5a5b1e,void 0x0,_0x40a921)));}function _0x2fa190(_0x26a8b8,_0x577e48,_0x170f95){const _0x4a168d=_0x2cf95d,_0x94d0e9={..._0x26a8b8['attrs']};_0x170f95!=null&&_0x170f95[_0x4a168d(0x395)]&&_0x94d0e9['fill']===_0x4a168d(0x395)&&(_0x94d0e9[_0x4a168d(0x436)]=_0x170f95[_0x4a168d(0x395)]),_0x26a8b8[_0x4a168d(0x1c3)]===_0x4a168d(0x423)&&_0x94d0e9['id']&&(_0x94d0e9['id']=_0x94d0e9['id']+_0x577e48[_0x4a168d(0x44e)]),Object[_0x4a168d(0x2d0)](_0x94d0e9)[_0x4a168d(0x35c)](([_0x174920,_0x13bfc5])=>{const _0x21d5d8=_0x4a168d;_0x174920===_0x21d5d8(0x423)&&typeof _0x13bfc5==_0x21d5d8(0x20c)&&(_0x94d0e9[_0x174920]=_0x13bfc5[_0x21d5d8(0x1ae)](/url\(#(.*)\)/,_0x21d5d8(0x37f)+_0x577e48[_0x21d5d8(0x44e)]+')'));});const {defIds:_0x18db6a}=_0x577e48;return!_0x18db6a||_0x18db6a['length']===0x0||(_0x26a8b8[_0x4a168d(0x1c3)]===_0x4a168d(0x20d)&&_0x94d0e9[_0x4a168d(0x305)]&&(_0x94d0e9[_0x4a168d(0x305)]=_0x94d0e9[_0x4a168d(0x305)]+_0x577e48[_0x4a168d(0x44e)]),Object[_0x4a168d(0x2d0)](_0x94d0e9)['forEach'](([_0x2fb3e6,_0x2da99d])=>{const _0x2b8faf=_0x4a168d;typeof _0x2da99d==_0x2b8faf(0x20c)&&(_0x94d0e9[_0x2fb3e6]=_0x2da99d['replace'](/url\(#(.*)\)/,_0x2b8faf(0x37f)+_0x577e48['idSuffix']+')'));})),_0x94d0e9;}function _0x7034e7(_0x2d7297,_0x4ba64e){const _0x3ff52e=_0x2cf95d;var _0x384df3;const {defIds:_0x84a853}=_0x4ba64e;return!_0x84a853||_0x84a853[_0x3ff52e(0x3e6)]===0x0?_0x2d7297:_0x2d7297[_0x3ff52e(0x1c3)]===_0x3ff52e(0x312)&&((_0x384df3=_0x2d7297[_0x3ff52e(0x1a2)])!=null&&_0x384df3['length'])?{..._0x2d7297,'children':_0x2d7297[_0x3ff52e(0x1a2)][_0x3ff52e(0x443)](_0x2533fc=>typeof _0x2533fc[_0x3ff52e(0x33b)]['id']=='string'&&_0x84a853&&_0x84a853[_0x3ff52e(0x2cc)](_0x2533fc[_0x3ff52e(0x33b)]['id'])?{..._0x2533fc,'attrs':{..._0x2533fc[_0x3ff52e(0x33b)],'id':_0x2533fc[_0x3ff52e(0x33b)]['id']+_0x4ba64e[_0x3ff52e(0x44e)]}}:_0x2533fc)}:_0x2d7297;}function _0xd2d7e3(){const _0xd145b9=_0x2cf95d;return Math[_0xd145b9(0x1d2)]()[_0xd145b9(0x2d9)](0x24)[_0xd145b9(0x379)](0x2,0x8);}_0xdf2932[_0x2cf95d(0x3c1)]='UniverIcon';const _0x4c83ba={'tag':'svg','attrs':{'xmlns':_0x2cf95d(0x3cd),'fill':_0x2cf95d(0x3af),'viewBox':_0x2cf95d(0x29f),'width':'1em','height':_0x2cf95d(0x314)},'children':[{'tag':'g','attrs':{'clipPath':_0x2cf95d(0x1c2)},'children':[{'tag':_0x2cf95d(0x1e3),'attrs':{'stroke':_0x2cf95d(0x331),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x2cf95d(0x3fc),'strokeLinejoin':_0x2cf95d(0x3fc),'strokeWidth':1.2}}]},{'tag':_0x2cf95d(0x312),'attrs':{},'children':[{'tag':_0x2cf95d(0x251),'attrs':{'id':_0x2cf95d(0x3fb)},'children':[{'tag':_0x2cf95d(0x1e3),'attrs':{'fill':_0x2cf95d(0x36b),'d':_0x2cf95d(0x1c0)}}]}]}],'defIds':[_0x2cf95d(0x3fb)]},_0x415384=_0x5b1343['forwardRef'](function(_0x14c5ba,_0x5d9b8a){const _0x211b83=_0x2cf95d;return _0x5b1343[_0x211b83(0x30e)](_0xdf2932,Object[_0x211b83(0x225)]({},_0x14c5ba,{'id':'off-line-icon','ref':_0x5d9b8a,'icon':_0x4c83ba}));});_0x415384[_0x2cf95d(0x3c1)]=_0x2cf95d(0x2f7);const _0xf6125c={'tag':_0x2cf95d(0x19c),'attrs':{'xmlns':_0x2cf95d(0x3cd),'fill':'none','viewBox':_0x2cf95d(0x23e),'width':_0x2cf95d(0x314),'height':_0x2cf95d(0x314)},'children':[{'tag':'g','attrs':{'clipPath':_0x2cf95d(0x2bc)},'children':[{'tag':_0x2cf95d(0x1e3),'attrs':{'stroke':_0x2cf95d(0x331),'d':_0x2cf95d(0x330),'strokeLinecap':_0x2cf95d(0x3fc),'strokeLinejoin':_0x2cf95d(0x3fc),'strokeWidth':1.2}}]},{'tag':_0x2cf95d(0x312),'attrs':{},'children':[{'tag':_0x2cf95d(0x251),'attrs':{'id':_0x2cf95d(0x1c1)},'children':[{'tag':'path','attrs':{'fill':_0x2cf95d(0x36b),'d':'M0\x200H16V16H0z','transform':_0x2cf95d(0x446)}}]}]}],'defIds':[_0x2cf95d(0x1c1)]},_0x1f629e=_0x5b1343[_0x2cf95d(0x382)](function(_0x463b96,_0x149e4e){const _0x32b58a=_0x2cf95d;return _0x5b1343[_0x32b58a(0x30e)](_0xdf2932,Object['assign']({},_0x463b96,{'id':'on-line-icon','ref':_0x149e4e,'icon':_0xf6125c}));});_0x1f629e[_0x2cf95d(0x3c1)]=_0x2cf95d(0x256);function _0x2a9534(_0x23dbd4){const _0x3aedf=_0x2cf95d;switch(_0x23dbd4){case _0x5f2bfa['CollaborationStatus']['OFFLINE']:return'collabStatus.offline';case _0x5f2bfa[_0x3aedf(0x469)][_0x3aedf(0x3c2)]:return _0x3aedf(0x262);case _0x5f2bfa[_0x3aedf(0x469)][_0x3aedf(0x3d2)]:return _0x3aedf(0x36e);case _0x5f2bfa[_0x3aedf(0x469)][_0x3aedf(0x2fe)]:return _0x3aedf(0x232);case _0x5f2bfa['CollaborationStatus'][_0x3aedf(0x355)]:case _0x5f2bfa[_0x3aedf(0x469)][_0x3aedf(0x1b4)]:return _0x3aedf(0x364);case _0x5f2bfa[_0x3aedf(0x469)]['SYNCED']:case _0x5f2bfa['CollaborationStatus']['PENDING']:return'collabStatus.synced';}}function _0x596c97(_0x47b13c){const _0x5100ed=_0x2cf95d,{status$:_0x12287f}=_0x47b13c,_0x51fdc4=_0xbf4494['useObservable'](_0x12287f,_0x5f2bfa[_0x5100ed(0x469)][_0x5100ed(0x2fe)]),_0x2e0fe6=_0xbf4494[_0x5100ed(0x3fd)](_0x2ef637['LocaleService']),_0x19dbe3=_0xbf4494[_0x5100ed(0x3fd)](_0x5f2bfa[_0x5100ed(0x240)]),_0x454844=_0x51fdc4!==_0x5f2bfa[_0x5100ed(0x469)][_0x5100ed(0x245)],_0x29d73b=_0x2e0fe6['t'](_0x2a9534(_0x51fdc4)),_0x4a8804=_0x454844?_0x48ce84[_0x5100ed(0x25c)](_0x1f629e,{}):_0x48ce84['jsx'](_0x415384,{}),_0x3f6c11=_0x5b1343[_0x5100ed(0x2b4)](()=>{const _0x2b76d9=_0x5100ed;_0x454844||_0x19dbe3[_0x2b76d9(0x1ea)]();},[_0x454844,_0x19dbe3]);function _0x48fdd0(){const _0x4c1ff5=_0x5100ed;return _0x48ce84['jsxs']('div',{'className':_0x4c1ff5(0x3d0),'onClick':_0x3f6c11,'children':[_0x48ce84[_0x4c1ff5(0x25c)]('div',{'className':_0x364f41[_0x4c1ff5(0x227)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x454844,'univer-text-red-500':!_0x454844}),'children':_0x4a8804}),_0x48ce84['jsx']('div',{'className':_0x4c1ff5(0x34e),'children':_0x29d73b})]});}return _0x454844?_0x48fdd0():_0x48ce84[_0x5100ed(0x25c)](_0x364f41[_0x5100ed(0x3d4)],{'title':_0x2e0fe6['t'](_0x5100ed(0x2e8)),'children':_0x48fdd0()});}var _0xde10fa=Object[_0x2cf95d(0x457)],_0x5cab94=(_0x5d83a3,_0x221e50,_0x586fd9,_0x2f8e50)=>{for(var _0x4a2dce=_0x2f8e50>0x1?void 0x0:_0x2f8e50?_0xde10fa(_0x221e50,_0x586fd9):_0x221e50,_0x560adc=_0x5d83a3['length']-0x1,_0x1ef6d2;_0x560adc>=0x0;_0x560adc--)(_0x1ef6d2=_0x5d83a3[_0x560adc])&&(_0x4a2dce=_0x1ef6d2(_0x4a2dce)||_0x4a2dce);return _0x4a2dce;},_0x3505d2=(_0x236e8c,_0x280c7b)=>(_0x165923,_0x5610a7)=>_0x280c7b(_0x165923,_0x5610a7,_0x236e8c);_0x4c7ce2[_0x2cf95d(0x418)]=class extends _0x2ef637[_0x2cf95d(0x26a)]{constructor(_0x5b636a,_0x4f4061,_0x4750c8,_0x5e6494){const _0x467d52=_0x2cf95d;super(),_0x536638(this,_0x467d52(0x203),new _0x35d2e5['BehaviorSubject'](_0x5f2bfa[_0x467d52(0x469)][_0x467d52(0x2fe)])),(this['_univerInstanceService']=_0x5b636a,this[_0x467d52(0x30c)]=_0x4f4061,this[_0x467d52(0x2a7)]=_0x4750c8,this[_0x467d52(0x285)]=_0x5e6494,this[_0x467d52(0x24d)](),this[_0x467d52(0x428)]());}[_0x2cf95d(0x428)](){const _0x55e0d2=_0x2cf95d;this['disposeWithMe'](this[_0x55e0d2(0x3f0)][_0x55e0d2(0x417)][_0x55e0d2(0x40f)](_0x35d2e5['switchMap'](()=>{const _0x1fcf50=_0x55e0d2,_0x36dca7=this[_0x1fcf50(0x3f0)][_0x1fcf50(0x235)]();return _0x36dca7?this['_collaborationController']['getCollabEntity$'](_0x36dca7[_0x1fcf50(0x35a)]()):_0x35d2e5['of'](null);}),_0x35d2e5[_0x55e0d2(0x441)](_0x46f38f=>_0x46f38f?_0x46f38f[_0x55e0d2(0x45f)]:_0x35d2e5['of'](_0x5f2bfa['CollaborationStatus'][_0x55e0d2(0x2fe)])))[_0x55e0d2(0x335)](_0xb967b=>{const _0x55ebda=_0x55e0d2;this[_0x55ebda(0x203)]['next'](_0xb967b);}));}[_0x2cf95d(0x24d)](){const _0x32cb4f=_0x2cf95d;this[_0x32cb4f(0x2c3)](this[_0x32cb4f(0x285)][_0x32cb4f(0x39b)](_0xbf4494[_0x32cb4f(0x2c2)][_0x32cb4f(0x3d1)],()=>_0xbf4494['connectInjector'](_0xe4f366({'status$':this[_0x32cb4f(0x203)][_0x32cb4f(0x339)]()}),this[_0x32cb4f(0x30c)])));}},_0x4c7ce2['DesktopCollaborationStatusDisplayController']=_0x5cab94([_0x3505d2(0x0,_0x2ef637['IUniverInstanceService']),_0x3505d2(0x1,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637[_0x2cf95d(0x3b0)])),_0x3505d2(0x2,_0x2ef637[_0x2cf95d(0x3fa)](_0x5f2bfa[_0x2cf95d(0x37b)])),_0x3505d2(0x3,_0xbf4494[_0x2cf95d(0x3e4)])],_0x4c7ce2[_0x2cf95d(0x418)]);function _0xe4f366(_0x45348e){const {status$:_0x583f76}=_0x45348e;return function(){return _0x48ce84['jsx'](_0x596c97,{'status$':_0x583f76});};}const _0x5026ec=_0x2ef637['createIdentifier'](_0x2cf95d(0x3b6));var _0x461521=Object[_0x2cf95d(0x457)],_0x4098c0=(_0x54f6d8,_0x3d2c5a,_0x20f508,_0x40222f)=>{for(var _0x3fd3ca=_0x40222f>0x1?void 0x0:_0x40222f?_0x461521(_0x3d2c5a,_0x20f508):_0x3d2c5a,_0x185fed=_0x54f6d8['length']-0x1,_0xfe97b0;_0x185fed>=0x0;_0x185fed--)(_0xfe97b0=_0x54f6d8[_0x185fed])&&(_0x3fd3ca=_0xfe97b0(_0x3fd3ca)||_0x3fd3ca);return _0x3fd3ca;},_0x51d0ae=(_0xc626ad,_0x59352a)=>(_0x5376ce,_0xb5b9e2)=>_0x59352a(_0x5376ce,_0xb5b9e2,_0xc626ad);_0x4c7ce2['CollaborationDataLoaderController']=class extends _0x2ef637[_0x2cf95d(0x29c)]{constructor(_0x47bf6d,_0x35beda,_0x3edf45,_0x113bcc,_0x1c6475){const _0x34fc9c=_0x2cf95d;super(),this[_0x34fc9c(0x28a)]=_0x47bf6d,this['_logService']=_0x35beda,this[_0x34fc9c(0x3a0)]=_0x3edf45,this[_0x34fc9c(0x36c)]=_0x113bcc,_0x1c6475?_0x1c6475==null||_0x1c6475[_0x34fc9c(0x1f6)]()[_0x34fc9c(0x1c7)](()=>this['_init']()):(this[_0x34fc9c(0x43a)][_0x34fc9c(0x328)](_0x34fc9c(0x427),_0x34fc9c(0x1f2)),this[_0x34fc9c(0x303)]());}async['_init'](){const _0x4801eb=_0x2cf95d,_0x32523a=this[_0x4801eb(0x28a)][_0x4801eb(0x1fb)]('unit'),_0x570bd4=this[_0x4801eb(0x28a)][_0x4801eb(0x1fb)](_0x4801eb(0x35b)),_0x5e3cc9=this[_0x4801eb(0x28a)][_0x4801eb(0x1fb)](_0x4801eb(0x459));if(!_0x32523a||!_0x570bd4){this[_0x4801eb(0x43a)][_0x4801eb(0x328)]('[CollaborationDataLoaderController]','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x42d5b1=await this[_0x4801eb(0x36c)][_0x4801eb(0x362)](_0x32523a,Number(_0x570bd4),_0x5e3cc9);_0x42d5b1&&_0x42d5b1 instanceof _0x2ef637['Workbook']&&this['_setupSubUnitSync'](_0x42d5b1);}async[_0x2cf95d(0x2cb)](_0x56e3d3){const _0x2f4918=_0x2cf95d;await this[_0x2f4918(0x1ac)](_0x56e3d3),_0x56e3d3[_0x2f4918(0x1c9)][_0x2f4918(0x40f)](_0x35d2e5[_0x2f4918(0x2a5)](this[_0x2f4918(0x1e2)]))[_0x2f4918(0x335)](_0x325109=>{const _0x1f86a2=_0x2f4918;_0x325109&&this[_0x1f86a2(0x3ba)](_0x325109);}),this[_0x2f4918(0x28a)][_0x2f4918(0x284)]['pipe'](_0x35d2e5['takeUntil'](this[_0x2f4918(0x1e2)]))[_0x2f4918(0x335)](()=>this['_updateSubUnitFromURLParams'](_0x56e3d3));}['_updateURLWithCurrentState'](_0x18f15e,_0x7ef564=!0x1){const _0x1c9f69=_0x2cf95d,_0x16cdd4=this[_0x1c9f69(0x28a)][_0x1c9f69(0x1fb)](_0x1c9f69(0x459));_0x18f15e[_0x1c9f69(0x1ba)]()!==_0x16cdd4&&this['_urlService'][_0x1c9f69(0x3b8)](_0x1c9f69(0x459),_0x18f15e[_0x1c9f69(0x1ba)](),_0x7ef564);}async[_0x2cf95d(0x1ac)](_0x2fe989){const _0x180fa7=_0x2cf95d;var _0x406a0f;const _0x1c3811=this[_0x180fa7(0x28a)]['getParam'](_0x180fa7(0x459));if(!_0x1c3811||!_0x2fe989[_0x180fa7(0x3ac)](_0x1c3811)){const _0x3404c8=_0x2fe989[_0x180fa7(0x3f1)]()[0x0],_0x2646f4=_0x2fe989[_0x180fa7(0x3ac)](_0x3404c8);if(!_0x2646f4)return;this[_0x180fa7(0x3ba)](_0x2646f4,!0x0),await this[_0x180fa7(0x3a0)][_0x180fa7(0x311)](_0x4c6aaa[_0x180fa7(0x390)]['id'],{'unitId':_0x2fe989['getUnitId'](),'subUnitId':_0x3404c8});return;}((_0x406a0f=_0x2fe989['getActiveSheet']())==null?void 0x0:_0x406a0f[_0x180fa7(0x1ba)]())!==_0x1c3811&&await this[_0x180fa7(0x3a0)][_0x180fa7(0x311)](_0x4c6aaa[_0x180fa7(0x390)]['id'],{'unitId':_0x2fe989[_0x180fa7(0x35a)](),'subUnitId':_0x1c3811});}},_0x4c7ce2[_0x2cf95d(0x25b)]=_0x4098c0([_0x51d0ae(0x0,_0x5026ec),_0x51d0ae(0x1,_0x2ef637[_0x2cf95d(0x387)]),_0x51d0ae(0x2,_0x2ef637[_0x2cf95d(0x412)]),_0x51d0ae(0x3,_0x2ef637['Inject'](_0x5f2bfa[_0x2cf95d(0x20f)])),_0x51d0ae(0x4,_0x2ef637['Optional'](_0x5ccdcc['IRemoteInstanceService']))],_0x4c7ce2[_0x2cf95d(0x25b)]);var _0x57010f=Object[_0x2cf95d(0x457)],_0x3bb095=(_0x42e1f3,_0x30480f,_0x5b8e3d,_0x5c9cd8)=>{const _0x6edd89=_0x2cf95d;for(var _0x5c9c97=_0x5c9cd8>0x1?void 0x0:_0x5c9cd8?_0x57010f(_0x30480f,_0x5b8e3d):_0x30480f,_0x767b4=_0x42e1f3[_0x6edd89(0x3e6)]-0x1,_0x4d9312;_0x767b4>=0x0;_0x767b4--)(_0x4d9312=_0x42e1f3[_0x767b4])&&(_0x5c9c97=_0x4d9312(_0x5c9c97)||_0x5c9c97);return _0x5c9c97;},_0x413bd1=(_0x3703d2,_0x32d95b)=>(_0x311f58,_0x334228)=>_0x32d95b(_0x311f58,_0x334228,_0x3703d2);let _0x28ec89=class extends _0x2ef637[_0x2cf95d(0x29c)]{constructor(_0x6749eb,_0x1ef43b){const _0x5c40f0=_0x2cf95d;super(),this[_0x5c40f0(0x3a2)]=_0x6749eb,this[_0x5c40f0(0x1b7)]=_0x1ef43b,this[_0x5c40f0(0x303)]();}['_init'](){const _0x4b8060=_0x2cf95d,_0x5ec582=this;this[_0x4b8060(0x2c3)](this[_0x4b8060(0x3a2)]['addClipboardHook']({'onBeforePasteImage':async _0x355657=>{const _0x2a3f83=_0x4b8060,_0x3d528d=await _0x5ec582[_0x2a3f83(0x1b7)]['saveImage'](_0x355657);return _0x3d528d?{'source':_0x3d528d[_0x2a3f83(0x38c)],'imageSourceType':_0x3d528d[_0x2a3f83(0x238)]}:null;}}));}};_0x28ec89=_0x3bb095([_0x413bd1(0x0,_0x1f0246[_0x2cf95d(0x41b)]),_0x413bd1(0x1,_0x5e2e9e['IImageIoService'])],_0x28ec89);const _0x5a01da=['purple.300',_0x2cf95d(0x1dd),_0x2cf95d(0x407),'red.300',_0x2cf95d(0x325),_0x2cf95d(0x429)];class _0x371edb extends _0x2ef637[_0x2cf95d(0x26a)]{constructor(){const _0x12f38f=_0x2cf95d;super(...arguments),_0x536638(this,'_assignedColors',new Map()),_0x536638(this,_0x12f38f(0x2b0),0x0);}[_0x2cf95d(0x3c0)](_0x525d85){const _0x2906bf=_0x2cf95d;if(this[_0x2906bf(0x2b3)]['has'](_0x525d85))return this[_0x2906bf(0x2b3)][_0x2906bf(0x3c7)](_0x525d85);const _0x54a8ae=_0x5a01da[this['_colorIndex']];return this[_0x2906bf(0x2b0)]=(this[_0x2906bf(0x2b0)]+0x1)%_0x5a01da['length'],this[_0x2906bf(0x2b3)][_0x2906bf(0x2f5)](_0x525d85,_0x54a8ae),_0x54a8ae;}}function _0xf9d6f6(_0x58bd29){const _0x5aa85e=_0x2cf95d;let _0x297ca5='';for(const _0x617e1b of _0x58bd29){const {startOffset:_0x3d2519,endOffset:_0x3012b0,isActive:_0x4b265f,rangeType:_0xe313f6,segmentId:_0x3179be,segmentPage:_0x5536d9}=_0x617e1b;_0x297ca5[_0x5aa85e(0x3e6)]&&(_0x297ca5+=','),_0x297ca5+=_0x3d2519+':'+_0x3012b0+':'+(_0x4b265f?'1':'0')+':'+_0xe313f6+':'+_0x3179be+':'+_0x5536d9;}return _0x297ca5;}function _0x5b73b2(_0x16b06a){const _0x4ffb8b=_0x2cf95d,_0x1bf3a0=_0x16b06a[_0x4ffb8b(0x3dd)](','),_0x25a408=[];for(const _0x361d6f of _0x1bf3a0){const [_0x4b16d1,_0x4efa17,_0xd7af28,_0x10477e,_0x272e53,_0x338555]=_0x361d6f[_0x4ffb8b(0x3dd)](':');_0x25a408['push']({'startOffset':Number(_0x4b16d1),'endOffset':Number(_0x4efa17),'collapsed':_0x4b16d1===_0x4efa17,'isActive':_0xd7af28==='1','rangeType':_0x10477e===_0x2ef637['DOC_RANGE_TYPE'][_0x4ffb8b(0x2f4)]?_0x2ef637[_0x4ffb8b(0x3de)][_0x4ffb8b(0x2f4)]:_0x2ef637[_0x4ffb8b(0x3de)]['RECT'],'segmentId':typeof _0x272e53==_0x4ffb8b(0x20c)?String(_0x272e53):'','segmentPage':Number(_0x338555!=null?_0x338555:-0x1)});}return _0x25a408[_0x4ffb8b(0x343)](_0x16a311=>_0x16a311[_0x4ffb8b(0x444)])||(_0x25a408[0x0][_0x4ffb8b(0x444)]=!0x0),_0x25a408;}class _0x5419b8 extends _0x2ef637[_0x2cf95d(0x29c)]{constructor(){const _0x4fb53f=_0x2cf95d;super(...arguments),_0x536638(this,_0x4fb53f(0x2ab),new _0x35d2e5[(_0x4fb53f(0x27d))](null)),_0x536638(this,'collabCursorState$',this[_0x4fb53f(0x2ab)][_0x4fb53f(0x339)]());}['syncEditingCollabCursor'](_0x2679d5){const _0x408c51=_0x2cf95d,{unitID:_0x583fb9,memberID:_0x361d50,textRanges:_0xd69683}=_0x2679d5,_0x337579=_0xf9d6f6(_0xd69683);if(_0x337579==='')return;const _0x2cf5ad={'unitID':_0x583fb9,'memberID':_0x361d50,'selection':_0x337579};this[_0x408c51(0x2ab)][_0x408c51(0x248)](_0x2cf5ad);}}var _0x406468=Object[_0x2cf95d(0x457)],_0x2b28ca=(_0x1e1505,_0x1843bd,_0x47e031,_0x1e0a27)=>{const _0x2c1b44=_0x2cf95d;for(var _0x2ee155=_0x1e0a27>0x1?void 0x0:_0x1e0a27?_0x406468(_0x1843bd,_0x47e031):_0x1843bd,_0x216cc3=_0x1e1505[_0x2c1b44(0x3e6)]-0x1,_0x4e9fdb;_0x216cc3>=0x0;_0x216cc3--)(_0x4e9fdb=_0x1e1505[_0x216cc3])&&(_0x2ee155=_0x4e9fdb(_0x2ee155)||_0x2ee155);return _0x2ee155;},_0x5aaf17=(_0x5cd506,_0x11c85d)=>(_0x9d871f,_0x110d94)=>_0x11c85d(_0x9d871f,_0x110d94,_0x5cd506);const _0x19b645=0x12c,_0x49239b=0x64;let _0x6a47bb=class extends _0x2ef637[_0x2cf95d(0x29c)]{constructor(_0x5a1dfb,_0x283360,_0x2fc938,_0x1dabfc,_0x47d457,_0x42000a,_0x3f1dfc,_0x542bb5,_0xf5da7c){const _0x92cacb=_0x2cf95d;super(),_0x536638(this,_0x92cacb(0x336),!0x1),_0x536638(this,_0x92cacb(0x303),!0x1),_0x536638(this,_0x92cacb(0x27b),new _0x35d2e5[(_0x92cacb(0x27d))](new Map())),_0x536638(this,_0x92cacb(0x3e1),this['_cursorInfo$'][_0x92cacb(0x339)]()),_0x536638(this,_0x92cacb(0x26b),new _0x35d2e5[(_0x92cacb(0x27d))]([])),_0x536638(this,_0x92cacb(0x288),this[_0x92cacb(0x26b)][_0x92cacb(0x40f)](_0x35d2e5[_0x92cacb(0x320)](_0x19b645))),_0x536638(this,_0x92cacb(0x35f),_0x2ef637[_0x92cacb(0x3ce)](_0x4a01fa=>{const _0x24fae7=_0x92cacb,_0x233dae={'eventID':_0xffee1f[_0x24fae7(0x2b8)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x24fae7(0x406)],'memberID':this[_0x24fae7(0x3a5)]['getMemberID'](),'selection':_0xf9d6f6(_0x4a01fa)}};this['_session'][_0x24fae7(0x3eb)](_0x233dae,this['unitID']);},_0x49239b)),(this['unitID']=_0x5a1dfb,this['_session']=_0x283360,this[_0x92cacb(0x30c)]=_0x2fc938,this[_0x92cacb(0x212)]=_0x1dabfc,this[_0x92cacb(0x392)]=_0x47d457,this[_0x92cacb(0x27a)]=_0x42000a,this[_0x92cacb(0x1a9)]=_0x3f1dfc,this['_univerInstanceService']=_0x542bb5,this[_0x92cacb(0x3a0)]=_0xf5da7c);}get['cursorInfo'](){const _0x4f5e0a=_0x2cf95d;return this[_0x4f5e0a(0x27b)][_0x4f5e0a(0x1f9)]();}get[_0x2cf95d(0x329)](){const _0x177e63=_0x2cf95d;return this[_0x177e63(0x26b)][_0x177e63(0x1f9)]();}[_0x2cf95d(0x359)](){const _0x2f6ca5=_0x2cf95d;super[_0x2f6ca5(0x359)](),this[_0x2f6ca5(0x27b)]['next'](new Map()),this['_cursorInfo$'][_0x2f6ca5(0x228)](),this[_0x2f6ca5(0x26b)][_0x2f6ca5(0x248)]([]),this[_0x2f6ca5(0x26b)][_0x2f6ca5(0x228)]();}[_0x2cf95d(0x3ff)](){const _0x2fe440=_0x2cf95d;this[_0x2fe440(0x303)]||(this[_0x2fe440(0x303)]=!0x0,this[_0x2fe440(0x3a5)][_0x2fe440(0x411)][_0x2fe440(0x40f)](_0x35d2e5[_0x2fe440(0x2a5)](this['dispose$']))[_0x2fe440(0x335)](_0x8d4449=>{const _0x1e6314=_0x2fe440;_0x8d4449===_0x5f2bfa[_0x1e6314(0x2e3)][_0x1e6314(0x1b3)]?this[_0x1e6314(0x3d9)]():this[_0x1e6314(0x1e6)]();}),this[_0x2fe440(0x3a5)]['event$'][_0x2fe440(0x40f)](_0x35d2e5['takeUntil'](this[_0x2fe440(0x1e2)]))['subscribe'](_0x53869=>{const _0x45cb20=_0x2fe440,_0x5be444=_0x53869[_0x45cb20(0x46a)];_0x5be444===_0xffee1f['CollaborationEvent'][_0x45cb20(0x323)]&&this['_onCursorUpdate'](_0x53869),_0x5be444===_0xffee1f[_0x45cb20(0x2b8)][_0x45cb20(0x292)]&&this[_0x45cb20(0x42a)](_0x53869);}),this[_0x2fe440(0x2c3)](this['_commandService'][_0x2fe440(0x289)](_0x43298f=>{const _0x45a392=_0x2fe440,_0x3057b5=_0x43298f[_0x45a392(0x23b)];_0x3057b5!=null&&this[_0x45a392(0x336)]&&_0x43298f['id']===_0x431f46[_0x45a392(0x3c4)]['id']&&_0x3057b5[_0x45a392(0x1b6)]===this[_0x45a392(0x406)]&&_0x3057b5[_0x45a392(0x1bb)]===!0x1&&_0x3057b5[_0x45a392(0x451)][_0x45a392(0x3e6)]>0x0&&this[_0x45a392(0x35f)](_0x3057b5[_0x45a392(0x451)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x2fe440(0x40f)](_0x35d2e5[_0x2fe440(0x2a5)](this[_0x2fe440(0x1e2)]))[_0x2fe440(0x335)](_0x5e14f1=>{const _0x34dc6d=_0x2fe440;if((_0x5e14f1==null?void 0x0:_0x5e14f1[_0x34dc6d(0x406)])!==this[_0x34dc6d(0x406)])return;const _0x19478c={'eventID':_0xffee1f[_0x34dc6d(0x2b8)]['UPDATE_CURSOR'],'data':_0x5e14f1};this['_onCursorUpdate'](_0x19478c);}),this[_0x2fe440(0x2c3)](this[_0x2fe440(0x3a0)]['onCommandExecuted'](_0x2db04f=>{const _0x10be49=_0x2fe440;if(_0x2db04f[_0x10be49(0x23b)]==null)return;const _0x4cf1a1=_0x2db04f[_0x10be49(0x23b)];if(_0x2db04f['id']!==_0x431f46[_0x10be49(0x2e0)]['id']||_0x4cf1a1[_0x10be49(0x1b6)]!==this['unitID'])return;const _0x222314={'id':_0x10be49(0x426),'params':_0x4cf1a1},_0x46727b=this[_0x10be49(0x297)];for(const [_0x32b675,_0xe9830f]of _0x46727b){const _0x3dd204={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x10be49(0x406)],'actions':null,'textRanges':_0xe9830f[_0x10be49(0x451)]}},_0x4f1475=this[_0x10be49(0x1a9)]['transformMutation'](_0x222314,_0x3dd204,!0x1);if(_0xffee1f[_0x10be49(0x1a0)](_0x4f1475))throw _0x4f1475['error'];_0x46727b['set'](_0x32b675,{..._0xe9830f,'ranges':_0x4f1475[_0x10be49(0x465)][_0x10be49(0x23b)]['textRanges']});}queueMicrotask(()=>{const _0x476f2d=_0x10be49;this[_0x476f2d(0x27b)][_0x476f2d(0x248)](_0x46727b);});})));}[_0x2cf95d(0x2ef)](_0x4b330c){const _0x3173c2=_0x2cf95d;var _0x5ea4ba,_0x23ae5d;const {memberID:_0x93f9fb,selection:_0x150055}=_0x4b330c[_0x3173c2(0x2bf)],_0x2332c2=_0x5b73b2(_0x150055),_0x47a3c8=(_0x23ae5d=(_0x5ea4ba=this[_0x3173c2(0x392)]['getMember'](this['unitID'],_0x93f9fb))==null?void 0x0:_0x5ea4ba['name'])!=null?_0x23ae5d:_0x3173c2(0x3b7),_0x144185={'color':this[_0x3173c2(0x212)][_0x3173c2(0x3c0)](_0x93f9fb),'name':_0x47a3c8,'ranges':_0x2332c2},_0x3f4d1c=this[_0x3173c2(0x297)];_0x3f4d1c[_0x3173c2(0x2f5)](_0x93f9fb,_0x144185),this['_cursorInfo$'][_0x3173c2(0x248)](_0x3f4d1c);}['_onCursorDelete'](_0x154a6b){const _0x26cee6=_0x2cf95d,{memberID:_0x128c62}=_0x154a6b['data'],_0x395ed5=this[_0x26cee6(0x297)];_0x395ed5['delete'](_0x128c62),this['_cursorInfo$'][_0x26cee6(0x248)](_0x395ed5);}[_0x2cf95d(0x3d9)](){const _0x918cca=_0x2cf95d;var _0xa5b527;if(this['_online']=!0x0,((_0xa5b527=this[_0x918cca(0x3f0)][_0x918cca(0x235)]())==null?void 0x0:_0xa5b527['getUnitId']())!==this['unitID'])return;const _0x5f42ea=this[_0x918cca(0x30c)]['get'](_0x431f46[_0x918cca(0x43c)])['getDocRanges']();Array['isArray'](_0x5f42ea)&&_0x5f42ea['length']>0x0&&this[_0x918cca(0x35f)](_0x5f42ea);}[_0x2cf95d(0x1e6)](){const _0x1f4e89=_0x2cf95d;this[_0x1f4e89(0x336)]=!0x1;}};_0x6a47bb=_0x2b28ca([_0x5aaf17(0x2,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637[_0x2cf95d(0x3b0)])),_0x5aaf17(0x3,_0x2ef637[_0x2cf95d(0x3fa)](_0x371edb)),_0x5aaf17(0x4,_0x2ef637[_0x2cf95d(0x3fa)](_0x5f2bfa[_0x2cf95d(0x39d)])),_0x5aaf17(0x5,_0x2ef637[_0x2cf95d(0x3fa)](_0x5419b8)),_0x5aaf17(0x6,_0xffee1f['ITransformService']),_0x5aaf17(0x7,_0x2ef637[_0x2cf95d(0x25f)]),_0x5aaf17(0x8,_0x2ef637[_0x2cf95d(0x412)])],_0x6a47bb);var _0x4a25be=Object['getOwnPropertyDescriptor'],_0x45bc07=(_0x46c463,_0x25efb3,_0x2d5b4e,_0x14dcd)=>{for(var _0x3f0c80=_0x14dcd>0x1?void 0x0:_0x14dcd?_0x4a25be(_0x25efb3,_0x2d5b4e):_0x25efb3,_0x112e19=_0x46c463['length']-0x1,_0x4f6ca9;_0x112e19>=0x0;_0x112e19--)(_0x4f6ca9=_0x46c463[_0x112e19])&&(_0x3f0c80=_0x4f6ca9(_0x3f0c80)||_0x3f0c80);return _0x3f0c80;},_0x3aa26c=(_0x5a8963,_0x186682)=>(_0x2105d1,_0x33f981)=>_0x186682(_0x2105d1,_0x33f981,_0x5a8963);const _0xf0137a=0x12c,_0x34a7ab=0x64,_0x25425f=()=>{let _0x55ba62=[],_0xcacbce=!0x1;return _0x338fee=>{const _0x495172=_0x3278;_0x55ba62[_0x495172(0x316)](_0x338fee),_0xcacbce||(_0xcacbce=!0x0,setTimeout(()=>{const _0x4e9c15=_0x495172;_0x55ba62[_0x4e9c15(0x35c)](_0x15bb4f=>_0x15bb4f()),_0x55ba62=[],_0xcacbce=!0x1;}));};};let _0x4b0008=class extends _0x2ef637['RxDisposable']{constructor(_0x39df5a,_0x58c214,_0x6cc569,_0x45d009,_0x2333c3,_0x299e70,_0x5cc914,_0x2c4872){const _0x2813aa=_0x2cf95d;super(),_0x536638(this,_0x2813aa(0x336),!0x1),_0x536638(this,'_init',!0x1),_0x536638(this,_0x2813aa(0x27b),new _0x35d2e5[(_0x2813aa(0x27d))](new Map())),_0x536638(this,'cursorInfo$',this[_0x2813aa(0x27b)]['asObservable']()),_0x536638(this,_0x2813aa(0x26b),new _0x35d2e5[(_0x2813aa(0x27d))]([])),_0x536638(this,_0x2813aa(0x288),this[_0x2813aa(0x26b)]['pipe'](_0x35d2e5[_0x2813aa(0x320)](_0xf0137a))),_0x536638(this,_0x2813aa(0x35f),_0x2ef637['debounce']((_0x400b5c,_0x294714)=>{const _0x4a2dff=_0x2813aa,_0x35d237={'eventID':_0xffee1f[_0x4a2dff(0x2b8)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x4a2dff(0x3a5)][_0x4a2dff(0x2d1)](),'selection':_0x53a2c3[_0x4a2dff(0x3b2)](_0x400b5c,_0x294714['range'])}};this[_0x4a2dff(0x3a5)][_0x4a2dff(0x3eb)](_0x35d237,this['unitID']);},_0x34a7ab)),(this[_0x2813aa(0x406)]=_0x39df5a,this[_0x2813aa(0x3a5)]=_0x58c214,this[_0x2813aa(0x30c)]=_0x6cc569,this[_0x2813aa(0x212)]=_0x45d009,this['_memberService']=_0x2333c3,this[_0x2813aa(0x3f0)]=_0x299e70,this[_0x2813aa(0x3a0)]=_0x5cc914,this[_0x2813aa(0x39c)]=_0x2c4872);}get[_0x2cf95d(0x297)](){const _0x24b241=_0x2cf95d;return this[_0x24b241(0x27b)][_0x24b241(0x1f9)]();}get[_0x2cf95d(0x329)](){const _0x1dabfa=_0x2cf95d;return this[_0x1dabfa(0x26b)]['getValue']();}[_0x2cf95d(0x359)](){const _0xaa3d92=_0x2cf95d;super['dispose'](),this['_cursorInfo$']['next'](new Map()),this['_cursorInfo$'][_0xaa3d92(0x228)](),this['_roomMembers$'][_0xaa3d92(0x248)]([]),this[_0xaa3d92(0x26b)]['complete']();}[_0x2cf95d(0x3ff)](){const _0x3fa297=_0x2cf95d;this['_init']||(this[_0x3fa297(0x303)]=!0x0,this['_session'][_0x3fa297(0x411)][_0x3fa297(0x40f)](_0x35d2e5[_0x3fa297(0x2a5)](this[_0x3fa297(0x1e2)]))[_0x3fa297(0x335)](_0xbf51eb=>{const _0x383d32=_0x3fa297;_0xbf51eb===_0x5f2bfa[_0x383d32(0x2e3)][_0x383d32(0x1b3)]?this[_0x383d32(0x3d9)]():this[_0x383d32(0x1e6)]();}),this[_0x3fa297(0x3a5)][_0x3fa297(0x38f)][_0x3fa297(0x40f)](_0x35d2e5[_0x3fa297(0x2a5)](this[_0x3fa297(0x1e2)]))[_0x3fa297(0x335)](_0x1d3499=>{const _0x5b96a5=_0x3fa297,_0x293527=_0x1d3499[_0x5b96a5(0x46a)];_0x293527===_0xffee1f[_0x5b96a5(0x2b8)]['UPDATE_CURSOR']&&this[_0x5b96a5(0x2ef)](_0x1d3499),_0x293527===_0xffee1f[_0x5b96a5(0x2b8)][_0x5b96a5(0x292)]&&this[_0x5b96a5(0x42a)](_0x1d3499);}),this['_onRefRangeChange'](),this[_0x3fa297(0x2c3)](this[_0x3fa297(0x3a0)][_0x3fa297(0x289)](_0x5661b2=>{const _0x335893=_0x3fa297;if(this[_0x335893(0x336)]&&_0x5661b2['id']===_0x4c6aaa[_0x335893(0x298)]['id']&&_0x5661b2['params'][_0x335893(0x1b6)]===this[_0x335893(0x406)]){const _0x368e38=_0x5661b2[_0x335893(0x23b)];this[_0x335893(0x35f)](_0x368e38[_0x335893(0x3a7)],_0x368e38[_0x335893(0x22d)][0x0]);}})));}[_0x2cf95d(0x2ef)](_0x2e9637){const _0x164626=_0x2cf95d;var _0x246d60,_0x39013b;const {memberID:_0xce6da7,selection:_0x31f272}=_0x2e9637['data'],{sheetName:_0x1a3cc5,range:_0x435474}=_0x53a2c3[_0x164626(0x353)](_0x31f272),_0x5f2d87={'name':(_0x39013b=(_0x246d60=this[_0x164626(0x392)]['getMember'](this[_0x164626(0x406)],_0xce6da7))==null?void 0x0:_0x246d60['name'])!=null?_0x39013b:_0x164626(0x3b7),'range':this['_getMergeRange'](_0x1a3cc5,_0x435474),'sheetID':_0x1a3cc5,'color':this[_0x164626(0x212)][_0x164626(0x3c0)](_0xce6da7),'selection':_0x31f272},_0x2bd997=this[_0x164626(0x297)];_0x2bd997[_0x164626(0x2f5)](_0xce6da7,_0x5f2d87),this[_0x164626(0x27b)][_0x164626(0x248)](_0x2bd997);}[_0x2cf95d(0x42a)](_0x55195d){const _0x2de64c=_0x2cf95d,{memberID:_0x5b5e6c}=_0x55195d[_0x2de64c(0x2bf)],_0x3a2d4c=this[_0x2de64c(0x297)];_0x3a2d4c[_0x2de64c(0x226)](_0x5b5e6c),this[_0x2de64c(0x27b)]['next'](_0x3a2d4c);}['_getMergeRange'](_0x3d1db5,_0x411ec3){const _0x5288d8=_0x2cf95d;var _0x4395c6,_0x3dbe2c;const _0x2a22cd=(_0x3dbe2c=(_0x4395c6=this[_0x5288d8(0x3f0)][_0x5288d8(0x39e)](this['unitID']))==null?void 0x0:_0x4395c6[_0x5288d8(0x3ac)](_0x3d1db5))==null?void 0x0:_0x3dbe2c[_0x5288d8(0x439)]();return(_0x2a22cd==null?void 0x0:_0x2a22cd[_0x5288d8(0x319)](_0xe0a232=>_0x2ef637[_0x5288d8(0x27c)][_0x5288d8(0x19d)](_0xe0a232,_0x411ec3)))||_0x411ec3;}[_0x2cf95d(0x2ba)](){const _0x3f0188=_0x2cf95d,_0x5862ab=new _0x2ef637[(_0x3f0188(0x40e))](),_0x9bf0a7=_0x25425f(),_0x2b1837=()=>{const _0x364a0f=_0x3f0188;_0x5862ab['dispose']();const _0x10527a=(_0x415f5c,_0xdb8704,_0x3cd327,_0x7d21fb)=>{const _0x178597=_0x3278;let _0x4579a2=[];switch(_0x415f5c['id']){case _0x4c6aaa[_0x178597(0x3d8)][_0x178597(0x467)]:{_0x4579a2=_0x4c6aaa['handleDeleteRangeMoveLeft'](_0x415f5c,_0x7d21fb);break;}case _0x4c6aaa['EffectRefRangId'][_0x178597(0x3ab)]:{_0x4579a2=_0x4c6aaa[_0x178597(0x447)](_0x415f5c,_0x7d21fb);break;}case _0x4c6aaa[_0x178597(0x3d8)][_0x178597(0x326)]:{_0x4579a2=_0x4c6aaa[_0x178597(0x365)](_0x415f5c,_0x7d21fb);break;}case _0x4c6aaa[_0x178597(0x3d8)][_0x178597(0x30b)]:{_0x4579a2=_0x4c6aaa['handleInsertRangeMoveDown'](_0x415f5c,_0x7d21fb);break;}case _0x4c6aaa[_0x178597(0x3d8)][_0x178597(0x2f6)]:{_0x4579a2=_0x4c6aaa[_0x178597(0x3f8)](_0x415f5c,_0x7d21fb);break;}case _0x4c6aaa[_0x178597(0x3d8)]['InsertRowCommandId']:{_0x4579a2=_0x4c6aaa[_0x178597(0x1d7)](_0x415f5c,_0x7d21fb);break;}case _0x4c6aaa[_0x178597(0x3d8)]['MoveRangeCommandId']:{_0x4579a2=_0x4c6aaa['handleMoveRange'](_0x415f5c,_0x7d21fb);break;}case _0x4c6aaa['EffectRefRangId'][_0x178597(0x218)]:{_0x4579a2=_0x4c6aaa[_0x178597(0x2cd)](_0x415f5c,_0x7d21fb);break;}case _0x4c6aaa[_0x178597(0x3d8)]['RemoveRowCommandId']:{_0x4579a2=_0x4c6aaa[_0x178597(0x370)](_0x415f5c,_0x7d21fb);break;}}const _0x493951=_0x4c6aaa['runRefRangeMutations'](_0x4579a2,_0x7d21fb),_0xb2bdd5=this['cursorInfo']['get'](_0xdb8704);if(_0xb2bdd5&&_0x493951){const _0x186760={..._0xb2bdd5,'range':_0x493951};this[_0x178597(0x297)]['set'](_0xdb8704,_0x186760),_0x9bf0a7(()=>{const _0x3edb8e=_0x178597,_0x25fd40=this[_0x3edb8e(0x39c)][_0x3edb8e(0x393)](_0x493951,_0x355f30=>(_0x25fd40[_0x3edb8e(0x359)](),_0x10527a(_0x355f30,_0xdb8704,_0x3cd327,_0x493951)));_0x5862ab[_0x3edb8e(0x1de)](_0x25fd40);});}return{'redos':[],'undos':[]};};this[_0x364a0f(0x297)][_0x364a0f(0x35c)]((_0x39d0a2,_0x1966c9)=>{const _0x3ba674=_0x364a0f,{range:_0x2217a2,sheetID:_0x33d319}=_0x39d0a2,_0x35d78b=this[_0x3ba674(0x39c)][_0x3ba674(0x393)](_0x2217a2,_0x1feeda=>(_0x35d78b[_0x3ba674(0x359)](),_0x10527a(_0x1feeda,_0x1966c9,_0x33d319,_0x2217a2)));_0x5862ab[_0x3ba674(0x1de)](_0x35d78b);});};this[_0x3f0188(0x2c3)](_0x2ef637[_0x3f0188(0x236)](this[_0x3f0188(0x27b)][_0x3f0188(0x335)](()=>{_0x2b1837();})));}[_0x2cf95d(0x3d9)](){const _0x370f38=_0x2cf95d;var _0x3b5a4f,_0x39b7a1;if(this[_0x370f38(0x336)]=!0x0,((_0x3b5a4f=this[_0x370f38(0x3f0)][_0x370f38(0x235)]())==null?void 0x0:_0x3b5a4f['getUnitId']())!==this[_0x370f38(0x406)])return;const _0x1dcc7c=(_0x39b7a1=this[_0x370f38(0x30c)]['get'](_0x4c6aaa[_0x370f38(0x1f8)])[_0x370f38(0x1e7)]())==null?void 0x0:_0x39b7a1[0x0],_0x223b5b=this['_univerInstanceService'][_0x370f38(0x42e)](_0x2ef637[_0x370f38(0x29a)][_0x370f38(0x318)])['getActiveSheet']();_0x1dcc7c&&_0x223b5b&&this[_0x370f38(0x35f)](_0x223b5b['getSheetId'](),_0x1dcc7c);}[_0x2cf95d(0x1e6)](){const _0x260ad9=_0x2cf95d;this[_0x260ad9(0x336)]=!0x1;}};_0x4b0008=_0x45bc07([_0x3aa26c(0x2,_0x2ef637['Inject'](_0x2ef637[_0x2cf95d(0x3b0)])),_0x3aa26c(0x3,_0x2ef637[_0x2cf95d(0x3fa)](_0x371edb)),_0x3aa26c(0x4,_0x2ef637[_0x2cf95d(0x3fa)](_0x5f2bfa[_0x2cf95d(0x39d)])),_0x3aa26c(0x5,_0x2ef637[_0x2cf95d(0x25f)]),_0x3aa26c(0x6,_0x2ef637[_0x2cf95d(0x412)]),_0x3aa26c(0x7,_0x2ef637[_0x2cf95d(0x3fa)](_0x4c6aaa[_0x2cf95d(0x24a)]))],_0x4b0008);var _0x4a2e10=Object[_0x2cf95d(0x457)],_0x421ab2=(_0x3380c2,_0x871ff5,_0xc6de36,_0xb49974)=>{for(var _0x5cd504=_0xb49974>0x1?void 0x0:_0xb49974?_0x4a2e10(_0x871ff5,_0xc6de36):_0x871ff5,_0xf102ff=_0x3380c2['length']-0x1,_0x5797eb;_0xf102ff>=0x0;_0xf102ff--)(_0x5797eb=_0x3380c2[_0xf102ff])&&(_0x5cd504=_0x5797eb(_0x5cd504)||_0x5cd504);return _0x5cd504;},_0x37bb2b=(_0xfcebb4,_0xb3250b)=>(_0x482334,_0xc9bb27)=>_0xb3250b(_0x482334,_0xc9bb27,_0xfcebb4);let _0x41b2ac=class extends _0x2ef637[_0x2cf95d(0x29c)]{constructor(_0x43852c,_0x53eb75,_0x25fa0a){const _0x38e453=_0x2cf95d;super(),_0x536638(this,_0x38e453(0x247),new Map()),_0x536638(this,_0x38e453(0x23c),new _0x35d2e5['Subject']()),(this[_0x38e453(0x3f0)]=_0x43852c,this[_0x38e453(0x30c)]=_0x53eb75,this[_0x38e453(0x352)]=_0x25fa0a,this['_init']());}['dispose'](){const _0x21f6aa=_0x2cf95d;super['dispose'](),this[_0x21f6aa(0x23c)][_0x21f6aa(0x228)](),this[_0x21f6aa(0x247)][_0x21f6aa(0x35c)](_0x5c081a=>_0x5c081a[_0x21f6aa(0x359)]());}[_0x2cf95d(0x2e4)](_0x3e01bb){const _0x147667=_0x2cf95d;return this[_0x147667(0x247)]['has'](_0x3e01bb)?this['_entities'][_0x147667(0x3c7)](_0x3e01bb)[_0x147667(0x3e1)]:this[_0x147667(0x23c)]['pipe'](_0x35d2e5[_0x147667(0x1d9)](_0x3d6b6b=>_0x3d6b6b[_0x147667(0x406)]===_0x3e01bb),_0x35d2e5[_0x147667(0x441)](_0x52ef20=>_0x52ef20[_0x147667(0x3e1)]));}[_0x2cf95d(0x303)](){const _0xadd1ed=_0x2cf95d;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x2ef637[_0xadd1ed(0x29a)][_0xadd1ed(0x318)])[_0xadd1ed(0x40f)](_0x35d2e5[_0xadd1ed(0x2a5)](this[_0xadd1ed(0x1e2)]))[_0xadd1ed(0x335)](async _0x47c859=>{const _0x2b66a2=_0xadd1ed,_0xd83fcc=_0x47c859[_0x2b66a2(0x35a)](),_0x589949=await this[_0x2b66a2(0x397)](_0xd83fcc);this[_0x2b66a2(0x23c)][_0x2b66a2(0x248)](_0x589949),this[_0x2b66a2(0x247)]['set'](_0xd83fcc,_0x589949);}),this['_univerInstanceService'][_0xadd1ed(0x20e)](_0x2ef637['UniverInstanceType'][_0xadd1ed(0x2f1)])[_0xadd1ed(0x40f)](_0x35d2e5['takeUntil'](this[_0xadd1ed(0x1e2)]))[_0xadd1ed(0x40f)](_0x35d2e5['filter'](_0x25badf=>!_0x25badf[_0xadd1ed(0x35a)]()[_0xadd1ed(0x2fc)]('__')))[_0xadd1ed(0x335)](async _0x2a2666=>{const _0x4b64f4=_0xadd1ed,_0x5b9670=_0x2a2666[_0x4b64f4(0x35a)](),_0x2d9c80=await this[_0x4b64f4(0x2d2)](_0x5b9670);this[_0x4b64f4(0x23c)][_0x4b64f4(0x248)](_0x2d9c80),this[_0x4b64f4(0x247)][_0x4b64f4(0x2f5)](_0x5b9670,_0x2d9c80);}),_0x35d2e5[_0xadd1ed(0x1ff)](this[_0xadd1ed(0x3f0)][_0xadd1ed(0x1e9)](_0x2ef637[_0xadd1ed(0x29a)][_0xadd1ed(0x2f1)]),this[_0xadd1ed(0x3f0)][_0xadd1ed(0x1e9)](_0x2ef637[_0xadd1ed(0x29a)]['UNIVER_SHEET']))[_0xadd1ed(0x40f)](_0x35d2e5[_0xadd1ed(0x2a5)](this[_0xadd1ed(0x1e2)]))[_0xadd1ed(0x335)](_0x450dcc=>{const _0x8b812c=_0xadd1ed,_0x14c1c0=_0x450dcc[_0x8b812c(0x35a)](),_0x36cd4f=this[_0x8b812c(0x247)]['get'](_0x14c1c0);_0x36cd4f&&(_0x36cd4f[_0x8b812c(0x359)](),this['_entities'][_0x8b812c(0x226)](_0x14c1c0));});}async[_0x2cf95d(0x397)](_0x5679a5){const _0x35a63e=_0x2cf95d,_0x1e7536=await this[_0x35a63e(0x352)][_0x35a63e(0x2a4)](_0x5679a5),_0x48b420=this[_0x35a63e(0x30c)][_0x35a63e(0x1e4)](_0x4b0008,_0x5679a5,_0x1e7536);return _0x48b420[_0x35a63e(0x3ff)](),_0x48b420;}async[_0x2cf95d(0x2d2)](_0x1f6bab){const _0x4b7454=_0x2cf95d,_0x4da529=await this[_0x4b7454(0x352)]['requireSession'](_0x1f6bab),_0x1e9e12=this[_0x4b7454(0x30c)][_0x4b7454(0x1e4)](_0x6a47bb,_0x1f6bab,_0x4da529);return _0x1e9e12['init'](),_0x1e9e12;}};_0x41b2ac=_0x421ab2([_0x37bb2b(0x0,_0x2ef637['IUniverInstanceService']),_0x37bb2b(0x1,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637[_0x2cf95d(0x3b0)])),_0x37bb2b(0x2,_0x2ef637['Inject'](_0x5f2bfa['CollaborationSessionService']))],_0x41b2ac);const _0x48f02e=0x14,_0x159165=0xc8,_0x4bfe05=0x4,_0x1c9117=0x5;function _0x26ba26(_0x5dd743,_0x4ace80){const _0x7748a=_0x2cf95d;let {radius:_0x57da92,width:_0x36aa18,height:_0xa40093}=_0x4ace80;_0x57da92=_0x57da92!=null?_0x57da92:0x0,_0x36aa18=_0x36aa18!=null?_0x36aa18:0x1e,_0xa40093=_0xa40093!=null?_0xa40093:0x1e;let _0x112abf=0x0,_0x403b91=0x0,_0x12433d=0x0;_0x112abf=_0x403b91=_0x12433d=Math[_0x7748a(0x42b)](_0x57da92,_0x36aa18/0x2,_0xa40093/0x2),_0x5dd743[_0x7748a(0x2b1)](),_0x5dd743[_0x7748a(0x438)](_0x112abf,0x0),_0x5dd743[_0x7748a(0x3e3)](_0x36aa18-_0x403b91,0x0),_0x5dd743['arc'](_0x36aa18-_0x403b91,_0x403b91,_0x403b91,Math['PI']*0x3/0x2,0x0,!0x1),_0x5dd743[_0x7748a(0x3e3)](_0x36aa18,_0xa40093-_0x12433d),_0x5dd743[_0x7748a(0x29e)](_0x36aa18-_0x12433d,_0xa40093-_0x12433d,_0x12433d,0x0,Math['PI']/0x2,!0x1),_0x5dd743[_0x7748a(0x3e3)](0x0,_0xa40093),_0x5dd743[_0x7748a(0x3e3)](0x0,_0x112abf),_0x5dd743['arc'](_0x112abf,_0x112abf,_0x112abf,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5dd743['closePath'](),_0x4ace80[_0x7748a(0x436)]&&(_0x5dd743[_0x7748a(0x460)](),_0x5dd743[_0x7748a(0x3e7)]=_0x4ace80['fill'],_0x4ace80[_0x7748a(0x3c6)]===_0x7748a(0x1cb)?_0x5dd743[_0x7748a(0x436)](_0x7748a(0x1cb)):_0x5dd743[_0x7748a(0x436)](),_0x5dd743[_0x7748a(0x1b8)]());}class _0x5dbb68 extends _0x35408c[_0x2cf95d(0x31d)]{constructor(_0x5197f6,_0x56fc20){const _0x44b5d6=_0x2cf95d;super(_0x5197f6,_0x56fc20),_0x536638(this,'color'),_0x536638(this,_0x44b5d6(0x2de)),(this[_0x44b5d6(0x3be)]=_0x56fc20==null?void 0x0:_0x56fc20['color'],this[_0x44b5d6(0x2de)]=_0x56fc20==null?void 0x0:_0x56fc20[_0x44b5d6(0x2de)]);}static[_0x2cf95d(0x310)](_0x1bd331,_0x3ccf01){const _0x3a334b=_0x2cf95d,{text:_0x2e10ad,color:_0x64e0ba}=_0x3ccf01;_0x1bd331[_0x3a334b(0x460)](),_0x1bd331['font']=_0x3a334b(0x229);const _0x1e4d35=_0x1bd331[_0x3a334b(0x3bd)](_0x2e10ad)[_0x3a334b(0x430)],_0x372fc5=Math[_0x3a334b(0x42b)](_0x1e4d35+0x2*_0x4bfe05,_0x159165);_0x26ba26(_0x1bd331,{'height':_0x48f02e,'radius':0x4,'width':_0x372fc5,'fill':_0x64e0ba}),_0x1bd331[_0x3a334b(0x3e7)]=_0x3a334b(0x421);const _0x592297=_0x4bfe05,_0x1921e=_0x48f02e-_0x1c9117,_0x30ce7d=_0x159165-0x2*_0x4bfe05;if(_0x1e4d35>_0x30ce7d){let _0x533345='',_0x2ab95e=0x0;for(const _0x91a439 of _0x2e10ad){const _0x9f2bef=_0x1bd331[_0x3a334b(0x3bd)](_0x91a439)[_0x3a334b(0x430)];if(_0x2ab95e+_0x9f2bef<=_0x30ce7d-_0x1bd331[_0x3a334b(0x3bd)]('...')[_0x3a334b(0x430)])_0x533345+=_0x91a439,_0x2ab95e+=_0x9f2bef;else{_0x533345+=_0x3a334b(0x216);break;}}_0x1bd331[_0x3a334b(0x43d)](_0x533345,_0x592297,_0x1921e);}else _0x1bd331['fillText'](_0x2e10ad,_0x592297,_0x1921e);_0x1bd331['restore']();}[_0x2cf95d(0x338)](_0x16abcb){const _0x1b2d4c=_0x2cf95d;_0x5dbb68[_0x1b2d4c(0x310)](_0x16abcb,this);}}const _0x186186=_0x2cf95d(0x43b),_0x18a971=_0x2cf95d(0x2d3),_0x194de6=_0x2cf95d(0x258),_0x474d21=0x6,_0x1fd600=1.5,_0x1d1acd=0x4,_0x135b37=1.5,_0x211d36=_0x2cf95d(0x2ee);class _0x3b4a2a{constructor(_0x361df4,_0x52e826,_0x389018,_0x139bf9){const _0x299a5c=_0x2cf95d;_0x536638(this,_0x299a5c(0x34b),[]),_0x536638(this,'_anchor',null),_0x536638(this,_0x299a5c(0x3c5),null),_0x536638(this,_0x299a5c(0x346),null),_0x536638(this,_0x299a5c(0x2c0),null),_0x536638(this,_0x299a5c(0x2ca),null),(this[_0x299a5c(0x302)]=_0x361df4,this[_0x299a5c(0x461)]=_0x52e826,this['_docSkeleton']=_0x389018,this['_document']=_0x139bf9,this[_0x299a5c(0x1ef)]());}set[_0x2cf95d(0x3df)](_0x2854c5){const _0x3dca4d=_0x2cf95d;_0x2854c5?(this[_0x3dca4d(0x346)]&&this[_0x3dca4d(0x346)][_0x3dca4d(0x25a)](),this[_0x3dca4d(0x3c5)]&&this['_textBubble'][_0x3dca4d(0x3bb)]()):(this[_0x3dca4d(0x346)]&&this[_0x3dca4d(0x346)][_0x3dca4d(0x3bb)](),this[_0x3dca4d(0x3c5)]&&this['_textBubble']['hide']());}[_0x2cf95d(0x359)](){const _0x47d87a=_0x2cf95d;for(const _0xe0add7 of this['_shapes'])_0xe0add7[_0x47d87a(0x359)]();this[_0x47d87a(0x3c5)]&&this[_0x47d87a(0x3c5)]['dispose'](),this['_anchorDot']&&this[_0x47d87a(0x346)][_0x47d87a(0x359)](),this[_0x47d87a(0x2e2)]&&this['_anchor']['dispose'](),this['_eventUnsubscribe']&&this[_0x47d87a(0x2ca)]();}[_0x2cf95d(0x1ef)](){const _0xe18252=_0x2cf95d;var _0x535148;const {_docSkeleton:_0x247e09,_document:_0xfab95c}=this,{color:_0x348b6d,name:_0x2ccfed,ranges:_0x23fd9a}=this[_0xe18252(0x302)],_0x5e0e44=_0xfab95c['getOffsetConfig'](),{docsLeft:_0x2d080e,docsTop:_0x15631c}=_0x5e0e44,_0x540f8c=new _0x1f0246[(_0xe18252(0x2f3))](_0x5e0e44,_0x247e09);for(const {startOffset:_0x687e6b,endOffset:_0xb51e7b,rangeType:_0xce7408,segmentId:_0x5257c9,segmentPage:_0x14d8d3,collapsed:_0x2437ec,isActive:_0x247600}of _0x23fd9a){const _0x260dee=_0x247e09[_0xe18252(0x242)](_0x687e6b,!0x0,_0x5257c9,_0x14d8d3);let _0x14b7a8=_0x247e09[_0xe18252(0x242)](_0xb51e7b,!0x0,_0x5257c9,_0x14d8d3);if(_0x14b7a8==null&&(_0x14b7a8=_0x247e09[_0xe18252(0x242)](_0xb51e7b-0x1,!0x1,_0x5257c9,_0x14d8d3)),_0x247600){const {contentBoxPointGroup:_0x4a6ff6}=_0x540f8c[_0xe18252(0x380)](_0x14b7a8,_0x14b7a8);if(_0x4a6ff6[_0xe18252(0x3e6)]===0x0)continue;this[_0xe18252(0x419)](_0x348b6d,_0x4a6ff6,_0x2d080e,_0x15631c,_0x2ccfed),this[_0xe18252(0x2ca)]=this[_0xe18252(0x41e)]();}if(_0x260dee&&_0x14b7a8){if(_0xce7408===_0x2ef637[_0xe18252(0x3de)][_0xe18252(0x3b5)]){const _0x1cb66c=new _0x1f0246[(_0xe18252(0x219))](_0x5e0e44,_0x247e09),{pointGroup:_0x209ca7}=(_0x535148=_0x1cb66c[_0xe18252(0x380)](_0x260dee,_0x14b7a8))!=null?_0x535148:{};if(_0x209ca7==null||_0x209ca7[_0xe18252(0x3e6)]===0x0)continue;this[_0xe18252(0x3a9)](_0x348b6d,_0x209ca7,_0x2d080e,_0x15631c);}else{if(!_0x2437ec){const {borderBoxPointGroup:_0x149f7a}=_0x540f8c[_0xe18252(0x380)](_0x260dee,_0x14b7a8);if(_0x149f7a[_0xe18252(0x3e6)]===0x0)continue;this[_0xe18252(0x3bc)](_0x348b6d,_0x149f7a,_0x2d080e,_0x15631c);}}}}}[_0x2cf95d(0x419)](_0x44c364,_0x3415a4,_0x5052cb,_0x2a8205,_0x1ba682){const _0x4199aa=_0x2cf95d,_0x405685=this[_0x4199aa(0x32e)](_0x3415a4),{left:_0x35cdec,top:_0x3b83bd,height:_0x334bdd}=_0x405685,_0x129378=this['_getScale'](),_0xedb98f=_0x135b37/_0x129378,_0x3b0812=new _0x35408c[(_0x4199aa(0x31a))](_0x186186+_0x2ef637[_0x4199aa(0x2ec)](_0x474d21),{'left':_0x35cdec+_0x5052cb-_0xedb98f,'top':_0x3b83bd+_0x2a8205,'height':_0x334bdd,'width':_0x1fd600,'fill':_0x44c364||_0x35408c['getColor'](_0x2ef637[_0x4199aa(0x31e)]['black'],0x0),'strokeWidth':_0xedb98f,'stroke':_0x211d36,'evented':!0x0});this[_0x4199aa(0x2e2)]=_0x3b0812,this[_0x4199aa(0x461)][_0x4199aa(0x345)](_0x3b0812,_0x1f0246[_0x4199aa(0x2ed)]);const _0x28b469=new _0x35408c[(_0x4199aa(0x31a))](_0x186186+_0x2ef637[_0x4199aa(0x2ec)](_0x474d21),{'left':_0x35cdec+_0x5052cb-_0xedb98f,'top':_0x3b83bd+_0x2a8205-_0x1d1acd/0x2,'height':_0x1d1acd,'width':_0x1d1acd,'fill':_0x44c364||_0x35408c[_0x4199aa(0x3d5)](_0x2ef637[_0x4199aa(0x31e)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x44c364||_0x35408c[_0x4199aa(0x3d5)](_0x2ef637['COLORS'][_0x4199aa(0x424)],0x0),'evented':!0x1});this[_0x4199aa(0x346)]=_0x28b469,this[_0x4199aa(0x461)][_0x4199aa(0x345)](_0x28b469,_0x1f0246[_0x4199aa(0x2ed)]);const _0x143c7f=new _0x5dbb68(_0x186186+_0x2ef637[_0x4199aa(0x2ec)](_0x474d21),{'left':_0x35cdec+_0x5052cb-_0xedb98f,'top':_0x3b83bd+_0x2a8205-_0x48f02e,'text':_0x1ba682,'color':_0x44c364});this[_0x4199aa(0x3c5)]=_0x143c7f,this[_0x4199aa(0x461)][_0x4199aa(0x345)](_0x143c7f,_0x1f0246[_0x4199aa(0x2ed)]),this[_0x4199aa(0x3df)]=!0x1;}['_handleHover'](){const _0x49c57b=_0x2cf95d,_0x38bc3f=this[_0x49c57b(0x2e2)][_0x49c57b(0x334)][_0x49c57b(0x2a3)](()=>{const _0xabf54d=_0x49c57b;this[_0xabf54d(0x3df)]=!0x0;}),_0x5b0c0f=this[_0x49c57b(0x2e2)][_0x49c57b(0x32a)][_0x49c57b(0x2a3)](()=>{const _0x37a6c2=_0x49c57b;this[_0x37a6c2(0x2c0)]&&clearTimeout(this[_0x37a6c2(0x2c0)]),this[_0x37a6c2(0x2c0)]=setTimeout(()=>{const _0xfaab86=_0x37a6c2;this[_0xfaab86(0x3df)]=!0x1;},0x7d0);});return()=>{_0x38bc3f['unsubscribe'](),_0x5b0c0f['unsubscribe']();};}['_drawTextRange'](_0x34b8ed,_0x209142,_0x418d9b,_0x11d08d){const _0x1a40df=_0x2cf95d,_0x4e038b=new _0x2ef637['ColorKit'](_0x34b8ed)[_0x1a40df(0x3e2)](0.2)[_0x1a40df(0x1d1)](),_0x2d179f=new _0x35408c[(_0x1a40df(0x259))](_0x18a971+_0x2ef637[_0x1a40df(0x2ec)](_0x474d21),{'pointsGroup':_0x209142,'fill':_0x4e038b||_0x35408c[_0x1a40df(0x3d5)](_0x2ef637[_0x1a40df(0x31e)]['black'],0.2),'left':_0x418d9b,'top':_0x11d08d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1a40df(0x34b)][_0x1a40df(0x316)](_0x2d179f),this[_0x1a40df(0x461)]['addObject'](_0x2d179f,_0x1f0246['TEXT_RANGE_LAYER_INDEX']);}['_drawRectRange'](_0x2e0325,_0x3e7866,_0x347a0d,_0x4a4da4){const _0x6f1d17=_0x2cf95d,_0x3dc296=new _0x2ef637[(_0x6f1d17(0x254))](_0x2e0325)['setAlpha'](0.2)[_0x6f1d17(0x1d1)](),_0x3039e9=new _0x35408c[(_0x6f1d17(0x259))](_0x194de6+_0x2ef637['generateRandomId'](_0x474d21),{'pointsGroup':_0x3e7866,'fill':_0x3dc296||_0x35408c[_0x6f1d17(0x3d5)](_0x2ef637[_0x6f1d17(0x31e)]['black'],0.2),'left':_0x347a0d,'top':_0x4a4da4,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x6f1d17(0x316)](_0x3039e9),this[_0x6f1d17(0x461)][_0x6f1d17(0x345)](_0x3039e9,_0x1f0246['TEXT_RANGE_LAYER_INDEX']);}[_0x2cf95d(0x32e)](_0x3ba08b){const _0x4b4b17=_0x3ba08b[0x0],_0x3d8d85=_0x4b4b17[0x0],_0x2fd29d=_0x4b4b17[0x2],{x:_0x56f043,y:_0x3f64a1}=_0x3d8d85,{x:_0x5b0d7b,y:_0x33da99}=_0x2fd29d;return{'left':_0x56f043,'top':_0x3f64a1,'width':_0x5b0d7b-_0x56f043,'height':_0x33da99-_0x3f64a1};}['_getScale'](){const _0x18f78f=_0x2cf95d,{scaleX:_0x4a7c74,scaleY:_0x1ede24}=this[_0x18f78f(0x461)][_0x18f78f(0x466)]();return Math[_0x18f78f(0x1f1)](_0x4a7c74,_0x1ede24);}}var _0x4916b4=Object[_0x2cf95d(0x457)],_0x2dbca4=(_0x1078a7,_0xb2f410,_0x40ef2c,_0x53032b)=>{const _0x9302a3=_0x2cf95d;for(var _0x5d9f93=_0x53032b>0x1?void 0x0:_0x53032b?_0x4916b4(_0xb2f410,_0x40ef2c):_0xb2f410,_0x3be3d6=_0x1078a7[_0x9302a3(0x3e6)]-0x1,_0x22127f;_0x3be3d6>=0x0;_0x3be3d6--)(_0x22127f=_0x1078a7[_0x3be3d6])&&(_0x5d9f93=_0x22127f(_0x5d9f93)||_0x5d9f93);return _0x5d9f93;},_0x5ab68a=(_0x16701e,_0x16c1db)=>(_0x7efaf4,_0x3dfedc)=>_0x16c1db(_0x7efaf4,_0x3dfedc,_0x16701e);let _0x49cd9d=class extends _0x2ef637[_0x2cf95d(0x29c)]{constructor(_0x35d43b,_0x50925f,_0x4ee291,_0x160c32,_0xfc7675){const _0x33bafd=_0x2cf95d;super(),_0x536638(this,_0x33bafd(0x35e),[]),_0x536638(this,_0x33bafd(0x21b),[]),(this['_context']=_0x35d43b,this[_0x33bafd(0x44f)]=_0x50925f,this[_0x33bafd(0x30f)]=_0x4ee291,this[_0x33bafd(0x3a0)]=_0x160c32,this[_0x33bafd(0x315)]=_0xfc7675,this[_0x33bafd(0x303)]());}[_0x2cf95d(0x303)](){const _0x238b7f=_0x2cf95d,_0x95e171=this[_0x238b7f(0x274)]['unitId'],_0x361dc6=this['_docSkeletonManagerService'];this[_0x238b7f(0x2c3)](_0x35d2e5['combineLatest']([this[_0x238b7f(0x30f)][_0x238b7f(0x2e4)](_0x95e171),this['_themeService']['currentTheme$']])[_0x238b7f(0x40f)](_0x493334[_0x238b7f(0x443)](([_0x1f08f5,_0x41b586])=>({'skeleton':_0x361dc6[_0x238b7f(0x21c)](),'cursors':[..._0x1f08f5[_0x238b7f(0x32c)]()]['flatMap'](_0x53e2e6=>({..._0x53e2e6,'color':this[_0x238b7f(0x315)][_0x238b7f(0x348)](_0x53e2e6[_0x238b7f(0x3be)])}))})))['subscribe'](_0x4e54ed=>{const _0x36d22b=_0x238b7f;if(this[_0x36d22b(0x1a3)](),_0x4e54ed){const {skeleton:_0x3d0d4e,cursors:_0x400995}=_0x4e54ed;this[_0x36d22b(0x3e9)](_0x3d0d4e,_0x400995);}})),this['_initResize'](),this[_0x238b7f(0x455)]();}[_0x2cf95d(0x3e9)](_0x3cb3e7,_0x51a5c4){const _0x2075bc=_0x2cf95d,{scene:_0x379584,mainComponent:_0x2146f2}=this[_0x2075bc(0x274)],_0x157d76=_0x51a5c4[_0x2075bc(0x443)](_0x473970=>new _0x3b4a2a(_0x473970,_0x379584,_0x3cb3e7,_0x2146f2));this[_0x2075bc(0x35e)]=_0x157d76,this['_cursors']=_0x51a5c4;}['_refreshCollabCursors'](){const _0x1471d5=_0x2cf95d;this[_0x1471d5(0x1a3)]();const {scene:_0x348ffa,mainComponent:_0x490c80}=this[_0x1471d5(0x274)],_0x4964ee=this[_0x1471d5(0x44f)][_0x1471d5(0x21c)](),_0x14f8c5=this[_0x1471d5(0x21b)][_0x1471d5(0x443)](_0x238563=>new _0x3b4a2a(_0x238563,_0x348ffa,_0x4964ee,_0x490c80));this[_0x1471d5(0x35e)]=_0x14f8c5;}[_0x2cf95d(0x1a3)](){const _0x18c737=_0x2cf95d;this[_0x18c737(0x35e)][_0x18c737(0x35c)](_0x40705f=>_0x40705f['dispose']()),this['_cursorShapes']=[];}[_0x2cf95d(0x455)](){const _0xd1e384=_0x2cf95d,_0x5c969e=[_0x1f0246['SetDocZoomRatioOperation']['id']];this[_0xd1e384(0x2c3)](this[_0xd1e384(0x3a0)][_0xd1e384(0x289)](_0x585c0a=>{const _0x407e09=_0xd1e384;_0x5c969e[_0x407e09(0x2cc)](_0x585c0a['id'])&&_0x585c0a[_0x407e09(0x23b)][_0x407e09(0x1b6)]===this[_0x407e09(0x274)][_0x407e09(0x1b6)]&&this[_0x407e09(0x275)]();}));}[_0x2cf95d(0x3f2)](){const _0x48bdfd=_0x2cf95d;this[_0x48bdfd(0x2c3)](_0x2ef637[_0x48bdfd(0x39a)](this[_0x48bdfd(0x274)][_0x48bdfd(0x2da)][_0x48bdfd(0x400)])['pipe'](_0x493334['filter'](_0x4edf13=>_0x4edf13[_0x48bdfd(0x35b)]===_0x35408c[_0x48bdfd(0x38d)][_0x48bdfd(0x308)]),_0x493334[_0x48bdfd(0x234)](0x10))[_0x48bdfd(0x335)](()=>{const _0x39480e=_0x48bdfd;this[_0x39480e(0x275)]();}));}};_0x49cd9d=_0x2dbca4([_0x5ab68a(0x1,_0x2ef637[_0x2cf95d(0x3fa)](_0x431f46[_0x2cf95d(0x2ce)])),_0x5ab68a(0x2,_0x2ef637[_0x2cf95d(0x3fa)](_0x41b2ac)),_0x5ab68a(0x3,_0x2ef637[_0x2cf95d(0x412)]),_0x5ab68a(0x4,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637['ThemeService']))],_0x49cd9d);const _0x2ab566=0x1,_0x5e5be0=1.5;class _0xf90746 extends _0x35408c['Shape']{constructor(_0x583f79,_0x5018dd){const _0x4393ea=_0x2cf95d;super(_0x583f79,_0x5018dd),_0x536638(this,_0x4393ea(0x1fa)),_0x536638(this,_0x4393ea(0x416),!0x1),_0x536638(this,_0x4393ea(0x2f9)),_0x536638(this,_0x4393ea(0x28c),''),_0x536638(this,_0x4393ea(0x33e),_0x4393ea(0x304)),_0x536638(this,'_backgroundColor'),(_0x5018dd&&this[_0x4393ea(0x350)](_0x5018dd),this[_0x4393ea(0x334)][_0x4393ea(0x2a3)](()=>this[_0x4393ea(0x350)]({'hovered':!0x0})),this[_0x4393ea(0x32a)][_0x4393ea(0x2a3)](()=>this[_0x4393ea(0x350)]({'hovered':!0x1})));}[_0x2cf95d(0x350)](_0x237b82){const _0x9ebc56=_0x2cf95d;var _0x1f6490,_0x5ae250,_0x67e669,_0x1ee148,_0x2b9ab2,_0xe82b4e;this['_color']=(_0x1f6490=_0x237b82[_0x9ebc56(0x3be)])!=null?_0x1f6490:this['_color'],this[_0x9ebc56(0x416)]=(_0x5ae250=_0x237b82[_0x9ebc56(0x1ab)])!=null?_0x5ae250:this[_0x9ebc56(0x416)],this['_range']=(_0x67e669=_0x237b82[_0x9ebc56(0x26e)])!=null?_0x67e669:this['_range'],this[_0x9ebc56(0x28c)]=(_0x1ee148=_0x237b82[_0x9ebc56(0x28e)])!=null?_0x1ee148:this[_0x9ebc56(0x28c)],this[_0x9ebc56(0x33e)]=(_0x2b9ab2=_0x237b82[_0x9ebc56(0x398)])!=null?_0x2b9ab2:this[_0x9ebc56(0x33e)],this[_0x9ebc56(0x2f8)]=(_0xe82b4e=_0x237b82[_0x9ebc56(0x1fd)])!=null?_0xe82b4e:this['_backgroundColor'],this[_0x9ebc56(0x3f4)]({'width':_0x237b82[_0x9ebc56(0x430)],'height':_0x237b82[_0x9ebc56(0x322)]});}[_0x2cf95d(0x2df)](_0x37f6ef){const _0x559649=_0x2cf95d,{row:_0x475daa,column:_0x27181b}=_0x37f6ef;if(_0x475daa>=this['_range'][_0x559649(0x30d)]&&_0x475daa<=this[_0x559649(0x2f9)][_0x559649(0x1a1)]&&_0x27181b>=this[_0x559649(0x2f9)][_0x559649(0x1f3)]&&_0x27181b<=this['_range'][_0x559649(0x1f5)]){this[_0x559649(0x350)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x2e40b7){return!0x1;}['_draw'](_0x5cc645){const _0x669ce=_0x2cf95d;_0x35408c[_0x669ce(0x31a)]['drawWith'](_0x5cc645,{'width':this[_0x669ce(0x430)],'height':this[_0x669ce(0x322)],'strokeWidth':_0x5e5be0,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x669ce(0x2f8)]}),this['_hovered']&&(_0x5cc645['save'](),_0x5cc645[_0x669ce(0x45b)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']==='bottom'?0x0:-_0x48f02e),_0x5dbb68[_0x669ce(0x310)](_0x5cc645,{'text':this[_0x669ce(0x28c)],'color':this['_color']}),_0x5cc645[_0x669ce(0x1b8)]());}}var _0x351e01=Object['getOwnPropertyDescriptor'],_0x12b103=(_0x54ecc9,_0x344de3,_0x1a4c5f,_0x159229)=>{for(var _0x2519fc=_0x159229>0x1?void 0x0:_0x159229?_0x351e01(_0x344de3,_0x1a4c5f):_0x344de3,_0x395095=_0x54ecc9['length']-0x1,_0x273b29;_0x395095>=0x0;_0x395095--)(_0x273b29=_0x54ecc9[_0x395095])&&(_0x2519fc=_0x273b29(_0x2519fc)||_0x2519fc);return _0x2519fc;},_0x41f9f7=(_0x2577dd,_0x2dd01f)=>(_0x11d533,_0x12e447)=>_0x2dd01f(_0x11d533,_0x12e447,_0x2577dd);const _0x56d06c=0x1389;let _0x398529=class extends _0x2ef637['RxDisposable']{constructor(_0x3d997c,_0x4a4f5c,_0xa31324,_0x1ef3f0){const _0x3921b8=_0x2cf95d;super(),_0x536638(this,'_cursors',new Set()),_0x536638(this,_0x3921b8(0x21f),null),(this['_context']=_0x3d997c,this[_0x3921b8(0x23a)]=_0x4a4f5c,this['_collabCursorController']=_0xa31324,this[_0x3921b8(0x315)]=_0x1ef3f0,this[_0x3921b8(0x303)]());}['_init'](){const _0x23c757=_0x2cf95d;this[_0x23c757(0x23a)][_0x23c757(0x33c)][_0x23c757(0x40f)](_0x493334[_0x23c757(0x2a5)](this[_0x23c757(0x1e2)]),_0x493334[_0x23c757(0x441)](_0x1eaae7=>{const _0x228c0f=_0x23c757;if(_0x1eaae7){const _0x4b1266=_0x1eaae7[_0x228c0f(0x356)];return _0x35d2e5[_0x228c0f(0x321)](this[_0x228c0f(0x30f)][_0x228c0f(0x2e4)](this[_0x228c0f(0x274)][_0x228c0f(0x1b6)]),this[_0x228c0f(0x315)][_0x228c0f(0x1ee)])['pipe'](_0x493334[_0x228c0f(0x443)](([_0x1ff42c,_0x2274fa])=>{const _0x3278d7=_0x228c0f,_0x41496d=new Map();return _0x1ff42c[_0x3278d7(0x35c)]((_0x4194ee,_0xe09301)=>{const _0x22f2e8=_0x3278d7;if(_0x4194ee[_0x22f2e8(0x25e)]===_0x4b1266){const _0x37ae12={..._0x4194ee};_0x37ae12[_0x22f2e8(0x3be)]=this['_themeService']['getColorFromTheme'](_0x4194ee[_0x22f2e8(0x3be)]),_0x41496d[_0x22f2e8(0x2f5)](_0xe09301,_0x37ae12);}}),{'skeleton':_0x1eaae7,'cursors':_0x41496d};}));}return _0x35d2e5['of']({'skeleton':null,'cursors':new Map()});}))[_0x23c757(0x335)](({skeleton:_0x306526,cursors:_0x2d7295})=>{const _0x185dc4=_0x23c757;this[_0x185dc4(0x1a3)](),_0x306526&&this[_0x185dc4(0x3e9)](_0x306526,_0x2d7295);}),this[_0x23c757(0x23a)]['currentSkeleton$'][_0x23c757(0x335)](_0x1ce6f8=>{const _0x16e6bb=_0x23c757;if(_0x1ce6f8==null)return;const {skeleton:_0x2459c4}=_0x1ce6f8,{scene:_0x3489d9}=this[_0x16e6bb(0x274)];_0x3489d9[_0x16e6bb(0x1f4)][_0x16e6bb(0x2a3)](_0x2ef637[_0x16e6bb(0x3ce)](_0x2411cf=>{const _0x10383f=_0x16e6bb;var _0x5998ca,_0x347c24;const {offsetX:_0x3f9482,offsetY:_0x288062}=_0x2411cf,{x:_0x47f8cc,y:_0x5ee7ec}=_0x3489d9[_0x10383f(0x1ad)](_0x35408c[_0x10383f(0x46c)][_0x10383f(0x389)]([_0x3f9482,_0x288062])),{scaleX:_0x5c1d97,scaleY:_0x117f08}=_0x3489d9[_0x10383f(0x466)](),_0x3392a9=_0x3489d9[_0x10383f(0x46e)](_0x35408c[_0x10383f(0x332)][_0x10383f(0x24b)]),_0x1d8f6d=_0x3489d9[_0x10383f(0x1f0)](_0x35408c[_0x10383f(0x46c)][_0x10383f(0x389)]([_0x47f8cc,_0x5ee7ec]),_0x3392a9),_0xcf8904=_0x2459c4[_0x10383f(0x37e)](_0x3f9482,_0x288062,_0x5c1d97,_0x117f08,_0x1d8f6d);((_0x5998ca=this[_0x10383f(0x21f)])==null?void 0x0:_0x5998ca[_0x10383f(0x24c)])===_0xcf8904[_0x10383f(0x24c)]&&((_0x347c24=this[_0x10383f(0x21f)])==null?void 0x0:_0x347c24[_0x10383f(0x2b7)])===_0xcf8904[_0x10383f(0x2b7)]||this[_0x10383f(0x21b)][_0x10383f(0x35c)](_0x43e80c=>{const _0x437bcb=_0x10383f;_0x43e80c[_0x437bcb(0x2df)](_0xcf8904);});},0x64));});}[_0x2cf95d(0x3e9)](_0x387754,_0xda4e44){const _0x3cfe23=_0x2cf95d;var _0x46e450;const _0x39d3ba=(_0x46e450=this[_0x3cfe23(0x23a)]['getCurrent']())==null?void 0x0:_0x46e450[_0x3cfe23(0x1ed)];if(!_0x39d3ba)return;const _0x53fe9b=this[_0x3cfe23(0x1cf)]();if(!_0x53fe9b)return;this['_cursors']['forEach'](_0x3a1c5f=>{_0x3a1c5f['makeDirty']();});const {scene:_0x4dcfa6}=_0x53fe9b,_0x23869e=_0x3c454b(Array[_0x3cfe23(0x2e6)](_0xda4e44[_0x3cfe23(0x32c)]()))[_0x3cfe23(0x443)](_0x3ba1f5=>{const _0x100a64=_0x3cfe23,{color:_0x181d29,range:_0x28ee70,name:_0x1740a9,selection:_0x3de131,sheetID:_0x2338cf}=_0x3ba1f5,{startColumn:_0x313c02,startRow:_0x228650,endColumn:_0x2544b4,endRow:_0x1db71f}=_0x28ee70,_0x2c013b=_0xd96da0[_0x100a64(0x402)](_0x228650,_0x313c02,_0x4dcfa6,_0x39d3ba),_0x29bd20=_0xd96da0[_0x100a64(0x402)](_0x1db71f,_0x2544b4,_0x4dcfa6,_0x39d3ba),{columnHeaderHeightAndMarginTop:_0x5b3061}=_0x39d3ba,{startX:_0x196dfb,startY:_0x32298d}=_0x2c013b,{endX:_0x13c432,endY:_0x2a7df2}=_0x29bd20,_0x2615df=_0x13c432-_0x196dfb,_0x1a8189=_0x2a7df2-_0x32298d,_0x14b038={'labelPosition':_0x32298d-_0x5b3061>=_0x48f02e?'top':_0x100a64(0x249),'sheetID':_0x2338cf,'range':_0x28ee70,'color':_0x181d29,'name':_0x1740a9,'selection':_0x3de131,'left':_0x196dfb,'top':_0x32298d,'width':_0x2615df,'height':_0x1a8189,'evented':!0x1,'zIndex':_0x56d06c};return new _0xf90746(_0x1740a9,_0x14b038);});_0x4dcfa6[_0x3cfe23(0x217)](_0x23869e,_0x2ab566),this[_0x3cfe23(0x21b)]=new Set(_0x23869e);}[_0x2cf95d(0x1a3)](){const _0x11f552=_0x2cf95d;var _0x59c1b6;(_0x59c1b6=this[_0x11f552(0x21b)])==null||_0x59c1b6['forEach'](_0x268c96=>_0x268c96['dispose']());}[_0x2cf95d(0x1cf)](){const _0x2cc3a8=_0x2cf95d;return _0xd96da0[_0x2cc3a8(0x22a)](this[_0x2cc3a8(0x274)][_0x2cc3a8(0x3f5)],this[_0x2cc3a8(0x274)]);}};_0x398529=_0x12b103([_0x41f9f7(0x1,_0x2ef637[_0x2cf95d(0x3fa)](_0xd96da0[_0x2cf95d(0x21a)])),_0x41f9f7(0x2,_0x2ef637[_0x2cf95d(0x3fa)](_0x41b2ac)),_0x41f9f7(0x3,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637[_0x2cf95d(0x3bf)]))],_0x398529);function _0x3c454b(_0x16faac){const _0x2b0c85=_0x2cf95d,_0x406566=new Map();return _0x16faac[_0x2b0c85(0x35c)](_0x31e698=>{const _0x26a51c=_0x2b0c85;if(_0x406566[_0x26a51c(0x2ac)](_0x31e698[_0x26a51c(0x415)])){const _0x5ef312=_0x406566[_0x26a51c(0x3c7)](_0x31e698[_0x26a51c(0x415)]);_0x5ef312[_0x26a51c(0x28e)]+=',\x20'+_0x31e698[_0x26a51c(0x28e)];}else _0x406566[_0x26a51c(0x2f5)](_0x31e698['selection'],_0x31e698);}),Array[_0x2b0c85(0x2e6)](_0x406566['values']());}var _0x46cadc=Object[_0x2cf95d(0x457)],_0x59f211=(_0x55436c,_0x151f1b,_0x26737b,_0x48581a)=>{for(var _0x3c69df=_0x48581a>0x1?void 0x0:_0x48581a?_0x46cadc(_0x151f1b,_0x26737b):_0x151f1b,_0x28032c=_0x55436c['length']-0x1,_0x34e78f;_0x28032c>=0x0;_0x28032c--)(_0x34e78f=_0x55436c[_0x28032c])&&(_0x3c69df=_0x34e78f(_0x3c69df)||_0x3c69df);return _0x3c69df;},_0xb00749=(_0x3357f4,_0x214d28)=>(_0x1e2def,_0x11d495)=>_0x214d28(_0x1e2def,_0x11d495,_0x3357f4);let _0xd0660e=class extends _0x2ef637[_0x2cf95d(0x26a)]{constructor(_0x7ca3f6,_0x191423,_0xb76e08,_0x46cb99,_0x412f34,_0x4c2cba){const _0x39c8b7=_0x2cf95d;super(),this[_0x39c8b7(0x3ee)]=_0x7ca3f6,this[_0x39c8b7(0x369)]=_0x191423,this['_collaborationUIEventService']=_0xb76e08,this['_messageService']=_0x46cb99,this['_notificationService']=_0x412f34,this[_0x39c8b7(0x33d)]=_0x4c2cba,this[_0x39c8b7(0x2fa)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x4aa3ec=_0x2cf95d;this[_0x4aa3ec(0x2c3)](this['_beforeCloseService'][_0x4aa3ec(0x3ad)](()=>{const _0x6f9c34=_0x4aa3ec;if(this['_localCacheService'][_0x6f9c34(0x241)][_0x6f9c34(0x207)])return this['_localeService']['t'](_0x6f9c34(0x2cf));}));}[_0x2cf95d(0x2f0)](){const _0x32254f=_0x2cf95d;this[_0x32254f(0x2c3)](this[_0x32254f(0x1fe)][_0x32254f(0x38f)][_0x32254f(0x335)](_0x25a4af=>{const _0x2f6b82=_0x32254f;_0x25a4af['id']===_0x5f2bfa[_0x2f6b82(0x3dc)][_0x2f6b82(0x3b4)]&&this[_0x2f6b82(0x3aa)][_0x2f6b82(0x3bb)]({'type':_0x364f41[_0x2f6b82(0x268)]['Warning'],'content':this[_0x2f6b82(0x33d)]['t'](_0x2f6b82(0x1b2))}),_0x25a4af['id']===_0x5f2bfa[_0x2f6b82(0x3dc)]['CLOSE_ROOM']&&this['_messageService'][_0x2f6b82(0x3bb)]({'type':_0x364f41['MessageType'][_0x2f6b82(0x269)],'content':this['_localeService']['t'](_0x2f6b82(0x1fc))}),_0x25a4af['id']===_0x5f2bfa[_0x2f6b82(0x3dc)][_0x2f6b82(0x287)]&&this[_0x2f6b82(0x317)]['show']({'title':this[_0x2f6b82(0x33d)]['t'](_0x2f6b82(0x2d8)),'content':this[_0x2f6b82(0x33d)]['t'](_0x2f6b82(0x45e)),'type':'error','duration':0x0}),_0x25a4af['id']===_0x5f2bfa[_0x2f6b82(0x3dc)]['CONFLICT']&&this[_0x2f6b82(0x3aa)]['show']({'type':_0x364f41['MessageType'][_0x2f6b82(0x30a)],'content':this['_localeService']['t'](_0x2f6b82(0x1fc))+'('+_0x25a4af[_0x2f6b82(0x2bf)]+')'}),_0x25a4af['id']===_0x5f2bfa['CollaborationUIEventId']['JOIN_ROOM_FAILED']&&this[_0x2f6b82(0x3aa)]['show']({'type':_0x364f41['MessageType'][_0x2f6b82(0x269)],'content':this[_0x2f6b82(0x33d)]['t'](_0x25a4af[_0x2f6b82(0x2bf)]||'')}),_0x25a4af['id']===_0x5f2bfa[_0x2f6b82(0x3dc)][_0x2f6b82(0x1af)]&&this[_0x2f6b82(0x3aa)][_0x2f6b82(0x3bb)]({'type':_0x364f41[_0x2f6b82(0x268)][_0x2f6b82(0x269)],'content':this['_localeService']['t'](_0x2f6b82(0x464))}),_0x25a4af['id']===_0x5f2bfa[_0x2f6b82(0x3dc)][_0x2f6b82(0x404)]&&this[_0x2f6b82(0x3aa)][_0x2f6b82(0x3bb)]({'type':_0x364f41[_0x2f6b82(0x268)][_0x2f6b82(0x30a)],'content':this['_localeService']['t'](_0x2f6b82(0x396))}),_0x25a4af['id']===_0x5f2bfa[_0x2f6b82(0x3dc)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x2f6b82(0x3aa)][_0x2f6b82(0x3bb)]({'type':_0x364f41[_0x2f6b82(0x268)]['Error'],'content':this[_0x2f6b82(0x33d)]['t'](_0x2f6b82(0x1e5))});}));}};_0xd0660e=_0x59f211([_0xb00749(0x0,_0xbf4494[_0x2cf95d(0x306)]),_0xb00749(0x1,_0x5f2bfa[_0x2cf95d(0x233)]),_0xb00749(0x2,_0x2ef637[_0x2cf95d(0x3fa)](_0x5f2bfa[_0x2cf95d(0x40c)])),_0xb00749(0x3,_0xbf4494[_0x2cf95d(0x1ce)]),_0xb00749(0x4,_0xbf4494['INotificationService']),_0xb00749(0x5,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637['LocaleService']))],_0xd0660e);const _0x206a74=_0x2cf95d(0x1df),_0x19c4b6={};var _0x5e89e5=Object['getOwnPropertyDescriptor'],_0x2df015=(_0x1a99f9,_0x322a7b,_0x2529a8,_0x569136)=>{for(var _0x16e0e7=_0x569136>0x1?void 0x0:_0x569136?_0x5e89e5(_0x322a7b,_0x2529a8):_0x322a7b,_0x4c9a89=_0x1a99f9['length']-0x1,_0x3af115;_0x4c9a89>=0x0;_0x4c9a89--)(_0x3af115=_0x1a99f9[_0x4c9a89])&&(_0x16e0e7=_0x3af115(_0x16e0e7)||_0x16e0e7);return _0x16e0e7;},_0x5e1b7a=(_0x19274d,_0x5c95b7)=>(_0x487bcf,_0x5245e6)=>_0x5c95b7(_0x487bcf,_0x5245e6,_0x19274d);let _0x241a2c=class{constructor(_0x2f11d8,_0x19b3e7){this['_transformService']=_0x2f11d8,this['_renderManagerService']=_0x19b3e7;}[_0x2cf95d(0x470)](_0x39322e){const _0x432bbf=_0x2cf95d;this[_0x432bbf(0x293)](_0x39322e),this[_0x432bbf(0x3ed)](_0x39322e);}['transformRemoteChangeset'](_0xbb4cb3){const _0x50f453=_0x2cf95d,{unitID:_0x59ff37}=_0xbb4cb3,_0x39bdcf=this['_renderManagerService'][_0x50f453(0x363)](_0x59ff37)[_0x50f453(0x368)](_0x1f0246[_0x50f453(0x2ff)]),{redoCache:_0x4376bc}=_0x39bdcf[_0x50f453(0x1a8)]();if(_0x4376bc[_0x50f453(0x3e6)]===0x0)return _0xbb4cb3;let _0x3ff134=_0x2ef637['Tools']['deepClone'](_0xbb4cb3[_0x50f453(0x27f)][0x0]);for(let _0x1e648c=0x0;_0x1e648c<_0x4376bc[_0x50f453(0x3e6)];_0x1e648c++){const _0x5358be={'id':'doc.mutation.rich-text-editing','params':{..._0x4376bc[_0x1e648c]}},_0xac3ce0=this[_0x50f453(0x1a9)][_0x50f453(0x29d)](_0x3ff134,_0x5358be,!0x1);if(_0xffee1f[_0x50f453(0x1a0)](_0xac3ce0))throw _0xac3ce0[_0x50f453(0x3f3)];_0x3ff134=_0xac3ce0['m1Prime'];}return{..._0x2ef637[_0x50f453(0x40a)][_0x50f453(0x24e)](_0xbb4cb3),'mutations':[_0x3ff134]};}[_0x2cf95d(0x293)](_0x29bea8){const _0x5bb9a9=_0x2cf95d,{unitID:_0x313efa}=_0x29bea8,_0x5613ea=this['_renderManagerService']['getRenderById'](_0x313efa)[_0x5bb9a9(0x368)](_0x1f0246[_0x5bb9a9(0x2ff)]),{undoCache:_0x763604,redoCache:_0x1c2708}=_0x5613ea[_0x5bb9a9(0x1a8)]();if(_0x763604['length']===0x0||_0x1c2708[_0x5bb9a9(0x3e6)]===0x0)return;const _0x1849dd=[],_0x55b8a0=[];let _0x2c7b6a=_0x2ef637['Tools'][_0x5bb9a9(0x24e)](_0x29bea8[_0x5bb9a9(0x27f)][0x0]),_0x573f5f=_0x2ef637[_0x5bb9a9(0x40a)][_0x5bb9a9(0x24e)](_0x29bea8[_0x5bb9a9(0x27f)][0x0]);for(let _0x5de896=_0x763604[_0x5bb9a9(0x3e6)]-0x1;_0x5de896>=0x0;_0x5de896--){const _0x20f7b4={'id':_0x5bb9a9(0x426),'params':{..._0x763604[_0x5de896]}},_0x1b3d34={'id':_0x5bb9a9(0x426),'params':{..._0x1c2708[_0x5de896]}},_0x5a89e8=this['_transformService'][_0x5bb9a9(0x29d)](_0x2c7b6a,_0x20f7b4,!0x1),_0x1a3f0f=this[_0x5bb9a9(0x1a9)][_0x5bb9a9(0x29d)](_0x573f5f,_0x1b3d34,!0x1);if(_0xffee1f[_0x5bb9a9(0x1a0)](_0x5a89e8))throw _0x5a89e8[_0x5bb9a9(0x3f3)];if(_0xffee1f[_0x5bb9a9(0x1a0)](_0x1a3f0f))throw _0x1a3f0f[_0x5bb9a9(0x3f3)];_0x1849dd[_0x5bb9a9(0x372)](_0x5a89e8[_0x5bb9a9(0x465)][_0x5bb9a9(0x23b)]),_0x55b8a0['unshift'](_0x1a3f0f['m2Prime'][_0x5bb9a9(0x23b)]),_0x2c7b6a=_0x5a89e8['m1Prime'],_0x573f5f=_0x1a3f0f[_0x5bb9a9(0x280)];}_0x5613ea[_0x5bb9a9(0x2c9)]({'undoCache':_0x1849dd,'redoCache':_0x55b8a0});}[_0x2cf95d(0x3ed)](_0x33a302){const _0x4d20de=_0x2cf95d,{unitID:_0x1465cb}=_0x33a302,_0x199fdb=this['_renderManagerService'][_0x4d20de(0x363)](_0x1465cb)['with'](_0x1f0246['DocIMEInputManagerService']),_0x137622=_0x199fdb[_0x4d20de(0x1aa)]();if(_0x137622==null)return;const _0x4e14bf=[{'id':_0x4d20de(0x426),'params':{'unitId':_0x33a302[_0x4d20de(0x406)],'actions':null,'textRanges':[_0x137622]}}],_0x49f62a=this[_0x4d20de(0x1a9)]['transformMutationsWithChangeset'](_0x33a302,_0x4e14bf);if(!_0xffee1f[_0x4d20de(0x1b9)](_0x49f62a))throw _0x49f62a['error'];const _0x5af7cb=_0x49f62a[_0x4d20de(0x465)][0x0][_0x4d20de(0x23b)][_0x4d20de(0x32f)];Array['isArray'](_0x5af7cb)&&_0x5af7cb[_0x4d20de(0x3e6)]&&_0x199fdb[_0x4d20de(0x2ad)](_0x5af7cb[0x0]);}};_0x241a2c=_0x2df015([_0x5e1b7a(0x0,_0xffee1f[_0x2cf95d(0x1e8)]),_0x5e1b7a(0x1,_0x35408c[_0x2cf95d(0x253)])],_0x241a2c);var _0x2dbb35=Object[_0x2cf95d(0x457)],_0xe68109=(_0x3acfef,_0x2c8c8f,_0x21b2c9,_0x2d8b6b)=>{const _0x2f4d09=_0x2cf95d;for(var _0x2a95e1=_0x2d8b6b>0x1?void 0x0:_0x2d8b6b?_0x2dbb35(_0x2c8c8f,_0x21b2c9):_0x2c8c8f,_0x5e1f3e=_0x3acfef[_0x2f4d09(0x3e6)]-0x1,_0x15902d;_0x5e1f3e>=0x0;_0x5e1f3e--)(_0x15902d=_0x3acfef[_0x5e1f3e])&&(_0x2a95e1=_0x15902d(_0x2a95e1)||_0x2a95e1);return _0x2a95e1;},_0x19b5c3=(_0x437a33,_0x6f9502)=>(_0x455bc8,_0x23106b)=>_0x6f9502(_0x455bc8,_0x23106b,_0x437a33);let _0x184a1d=class{constructor(_0x39689b,_0x2d7b72,_0x19e210){const _0xa9704f=_0x2cf95d;this[_0xa9704f(0x30c)]=_0x39689b,this['_transformService']=_0x2d7b72,this[_0xa9704f(0x45a)]=_0x19e210;}[_0x2cf95d(0x44a)](_0x2af817){const _0x51d9f1=_0x2cf95d;this[_0x51d9f1(0x2b6)](_0x2af817);}[_0x2cf95d(0x422)](_0x128072){const _0x1973e5=_0x2cf95d,{unitID:_0x50d26f}=_0x128072,{collaboration:_0x91c0c6}=this[_0x1973e5(0x45a)][_0x1973e5(0x1c8)](_0x50d26f);if(_0x91c0c6['length']===0x0)return _0x128072;let _0x8322db=_0x2ef637[_0x1973e5(0x40a)][_0x1973e5(0x24e)](_0x128072[_0x1973e5(0x27f)][0x0]);for(let _0x16b4e1=0x0;_0x16b4e1<_0x91c0c6[_0x1973e5(0x3e6)];_0x16b4e1++){const _0x932694={'id':_0x1973e5(0x426),'params':{'unitId':_0x91c0c6[_0x16b4e1][_0x1973e5(0x1b6)],..._0x91c0c6[_0x16b4e1][_0x1973e5(0x2c7)]}},_0x49a2b7=this['_transformService']['transformMutation'](_0x8322db,_0x932694,!0x1);if(_0xffee1f['isTransformMutationFailure'](_0x49a2b7))throw _0x49a2b7['error'];_0x8322db=_0x49a2b7['m1Prime'];}return{..._0x2ef637[_0x1973e5(0x40a)][_0x1973e5(0x24e)](_0x128072),'mutations':[_0x8322db]};}[_0x2cf95d(0x2b6)](_0x26ddcb){const _0x72a411=_0x2cf95d,{unitID:_0x3c7056}=_0x26ddcb,{history:_0x469518,collaboration:_0x11fb91}=this[_0x72a411(0x45a)][_0x72a411(0x1c8)](_0x3c7056);if(_0x469518[_0x72a411(0x3e6)]===0x0&&_0x11fb91[_0x72a411(0x3e6)]===0x0)return;const _0x1498da=[],_0x24bd01=[];let _0x581774=_0x2ef637[_0x72a411(0x40a)][_0x72a411(0x24e)](_0x26ddcb[_0x72a411(0x27f)][0x0]),_0x15b1c9=_0x2ef637[_0x72a411(0x40a)]['deepClone'](_0x26ddcb[_0x72a411(0x27f)][0x0]);for(let _0x435b75=_0x469518[_0x72a411(0x3e6)]-0x1;_0x435b75>=0x0;_0x435b75--){const _0x18e844={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x469518[_0x435b75][_0x72a411(0x1b6)],..._0x469518[_0x435b75][_0x72a411(0x394)]}},_0x5d5455={'id':_0x72a411(0x426),'params':{'unitId':_0x469518[_0x435b75][_0x72a411(0x1b6)],..._0x469518[_0x435b75][_0x72a411(0x2c7)]}},_0x501479=this['_transformService'][_0x72a411(0x29d)](_0x581774,_0x18e844,!0x1),_0xadd9ee=this[_0x72a411(0x1a9)][_0x72a411(0x29d)](_0x15b1c9,_0x5d5455,!0x1);if(_0xffee1f[_0x72a411(0x1a0)](_0x501479))throw _0x501479[_0x72a411(0x3f3)];if(_0xffee1f[_0x72a411(0x1a0)](_0xadd9ee))throw _0xadd9ee[_0x72a411(0x3f3)];_0x1498da[_0x72a411(0x372)]({..._0x469518[_0x435b75],'undoState':_0x501479['m2Prime'][_0x72a411(0x23b)],'redoState':_0xadd9ee[_0x72a411(0x465)][_0x72a411(0x23b)]}),_0x581774=_0x501479[_0x72a411(0x280)],_0x15b1c9=_0xadd9ee['m1Prime'];}_0x581774=_0x2ef637[_0x72a411(0x40a)][_0x72a411(0x24e)](_0x26ddcb['mutations'][0x0]),_0x15b1c9=_0x2ef637[_0x72a411(0x40a)][_0x72a411(0x24e)](_0x26ddcb['mutations'][0x0]);for(let _0x575e4d=_0x11fb91[_0x72a411(0x3e6)]-0x1;_0x575e4d>=0x0;_0x575e4d--){const _0x2a07e6={'id':_0x72a411(0x426),'params':{'unitId':_0x11fb91[_0x575e4d][_0x72a411(0x1b6)],..._0x11fb91[_0x575e4d]['undoState']}},_0x2e10c2={'id':_0x72a411(0x426),'params':{'unitId':_0x11fb91[_0x575e4d]['unitId'],..._0x11fb91[_0x575e4d][_0x72a411(0x2c7)]}},_0x435219=this[_0x72a411(0x1a9)][_0x72a411(0x29d)](_0x581774,_0x2a07e6,!0x1),_0x47d212=this[_0x72a411(0x1a9)]['transformMutation'](_0x15b1c9,_0x2e10c2,!0x1);if(_0xffee1f[_0x72a411(0x1a0)](_0x435219))throw _0x435219[_0x72a411(0x3f3)];if(_0xffee1f[_0x72a411(0x1a0)](_0x47d212))throw _0x47d212[_0x72a411(0x3f3)];_0x24bd01[_0x72a411(0x372)]({..._0x11fb91[_0x575e4d],'undoState':_0x435219[_0x72a411(0x465)][_0x72a411(0x23b)],'redoState':_0x47d212[_0x72a411(0x465)]['params']}),_0x581774=_0x435219[_0x72a411(0x280)],_0x15b1c9=_0x47d212['m1Prime'];}this[_0x72a411(0x45a)][_0x72a411(0x2e9)](_0x3c7056,{'history':_0x1498da,'collaboration':_0x24bd01});}};_0x184a1d=_0xe68109([_0x19b5c3(0x0,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637[_0x2cf95d(0x3b0)])),_0x19b5c3(0x1,_0xffee1f[_0x2cf95d(0x1e8)]),_0x19b5c3(0x2,_0x2ef637[_0x2cf95d(0x3fa)](_0x1f0246[_0x2cf95d(0x327)]))],_0x184a1d);var _0x5b57a6=Object['getOwnPropertyDescriptor'],_0x402166=(_0x13aba3,_0x223b40,_0x31a374,_0x3d85e1)=>{for(var _0x2a022f=_0x3d85e1>0x1?void 0x0:_0x3d85e1?_0x5b57a6(_0x223b40,_0x31a374):_0x223b40,_0x50cd98=_0x13aba3['length']-0x1,_0x1b5e09;_0x50cd98>=0x0;_0x50cd98--)(_0x1b5e09=_0x13aba3[_0x50cd98])&&(_0x2a022f=_0x1b5e09(_0x2a022f)||_0x2a022f);return _0x2a022f;},_0x5c1cb9=(_0x1e24d3,_0x124206)=>(_0x5a0e08,_0x359380)=>_0x124206(_0x5a0e08,_0x359380,_0x1e24d3);let _0x2621ee=class{constructor(_0x1222ef,_0x5693e7){const _0x421736=_0x2cf95d;this[_0x421736(0x30c)]=_0x1222ef,this[_0x421736(0x1a9)]=_0x5693e7;}[_0x2cf95d(0x283)](_0x52f342){const _0x3c8277=_0x2cf95d;var _0x24182f;const _0x3ad21d=this[_0x3c8277(0x30c)]['get'](_0x431f46[_0x3c8277(0x43c)]),_0x4a6d70=(_0x24182f=_0x3ad21d['getDocRanges']())!=null?_0x24182f:[];if(_0x4a6d70[_0x3c8277(0x3e6)]===0x0)return;const _0x9eac9f=_0x52f342[_0x3c8277(0x406)],_0x4e941f=[{'id':_0x3c8277(0x426),'params':{'unitId':_0x9eac9f,'actions':null,'textRanges':_0x4a6d70}}],_0x1820d9=this[_0x3c8277(0x1a9)][_0x3c8277(0x28d)](_0x52f342,_0x4e941f);if(!_0xffee1f[_0x3c8277(0x1b9)](_0x1820d9))throw _0x1820d9[_0x3c8277(0x3f3)];const _0x303943=_0x1820d9['m2Prime'][0x0]['params'][_0x3c8277(0x32f)];Array[_0x3c8277(0x2a9)](_0x303943)&&_0x303943[_0x3c8277(0x3e6)]&&_0x3ad21d[_0x3c8277(0x43f)](_0x303943,{'unitId':_0x9eac9f,'subUnitId':_0x9eac9f},!0x1);}};_0x2621ee=_0x402166([_0x5c1cb9(0x0,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637[_0x2cf95d(0x3b0)])),_0x5c1cb9(0x1,_0xffee1f[_0x2cf95d(0x1e8)])],_0x2621ee);var _0x45cf44=Object['getOwnPropertyDescriptor'],_0x547533=(_0xf624f4,_0x1e8065,_0x1b1aaf,_0x30d76a)=>{const _0x13e8bc=_0x2cf95d;for(var _0x5d9334=_0x30d76a>0x1?void 0x0:_0x30d76a?_0x45cf44(_0x1e8065,_0x1b1aaf):_0x1e8065,_0x351b9a=_0xf624f4[_0x13e8bc(0x3e6)]-0x1,_0x492c99;_0x351b9a>=0x0;_0x351b9a--)(_0x492c99=_0xf624f4[_0x351b9a])&&(_0x5d9334=_0x492c99(_0x5d9334)||_0x5d9334);return _0x5d9334;},_0x46fb6c=(_0x25ae0c,_0x4f11c5)=>(_0x3ae0f0,_0x5b7a40)=>_0x4f11c5(_0x3ae0f0,_0x5b7a40,_0x25ae0c);let _0x40a03e=class extends _0x2ef637[_0x2cf95d(0x26a)]{constructor(_0x4997a7,_0x4bbcc6,_0x226cd6,_0x61bdd9,_0xe2f10c,_0x443a9f,_0x2babc0,_0x51cfb3){const _0x4f4f08=_0x2cf95d;super(),_0x536638(this,_0x4f4f08(0x203),new _0x35d2e5['BehaviorSubject'](_0x5f2bfa['CollaborationStatus'][_0x4f4f08(0x2fe)])),(this[_0x4f4f08(0x45a)]=_0x4997a7,this[_0x4f4f08(0x2a7)]=_0x4bbcc6,this['_docTransformIMECacheService']=_0x226cd6,this[_0x4f4f08(0x2c1)]=_0x61bdd9,this['_docTransformSelectionsService']=_0xe2f10c,this[_0x4f4f08(0x43e)]=_0x443a9f,this['_messageService']=_0x2babc0,this['_localeService']=_0x51cfb3,this[_0x4f4f08(0x214)]());}[_0x2cf95d(0x214)](){const _0x2ffea7=_0x2cf95d;this[_0x2ffea7(0x2c3)](this['_collaborationController']['entityInit$'][_0x2ffea7(0x335)](_0x13ed94=>{const _0x3a9936=_0x2ffea7,_0x11af21=this[_0x3a9936(0x45a)][_0x3a9936(0x223)][_0x3a9936(0x335)](_0x345c39=>{const _0x1e2ba6=_0x3a9936;if(_0x345c39==null)return;const {unitId:_0x3a121a,redoState:_0x4c2b7a,commandId:_0x5e8986}=_0x345c39;if(_0x3a121a!==_0x13ed94[_0x1e2ba6(0x406)])return;const _0x3ec80d={'id':_0x5e8986,'type':_0x2ef637[_0x1e2ba6(0x337)]['MUTATION'],'params':{'unitId':_0x3a121a,'actions':_0x4c2b7a['actions'],'textRanges':null}};_0x13ed94['onLocalMutation'](_0x3ec80d);});if(_0x13ed94[_0x3a9936(0x2c3)](_0x11af21),_0x13ed94 instanceof _0x5f2bfa['DocCollaborationEntity']){const _0x44141a={'onTransformIME':_0x1b31d2=>this['_docTransformIMECacheService'][_0x3a9936(0x470)](_0x1b31d2),'onTransformState':_0x559d5e=>this[_0x3a9936(0x2c1)][_0x3a9936(0x44a)](_0x559d5e),'onTransformSelections':_0x4ae0b8=>this[_0x3a9936(0x3c9)][_0x3a9936(0x283)](_0x4ae0b8),'onSyncEditingCollabCursor':_0x5a7081=>this[_0x3a9936(0x43e)][_0x3a9936(0x31c)](_0x5a7081),'onTransformRemoteChangesetByIMECache':_0x328b5c=>this[_0x3a9936(0x3e5)][_0x3a9936(0x422)](_0x328b5c),'onTransformRemoteChangesetByStateCache':_0x33198c=>this[_0x3a9936(0x2c1)][_0x3a9936(0x422)](_0x33198c)};_0x13ed94[_0x3a9936(0x3f9)](_0x44141a);}}));}};_0x40a03e=_0x547533([_0x46fb6c(0x0,_0x2ef637['Inject'](_0x1f0246[_0x2cf95d(0x327)])),_0x46fb6c(0x1,_0x2ef637[_0x2cf95d(0x3fa)](_0x5f2bfa[_0x2cf95d(0x37b)])),_0x46fb6c(0x2,_0x2ef637['Inject'](_0x241a2c)),_0x46fb6c(0x3,_0x2ef637[_0x2cf95d(0x3fa)](_0x184a1d)),_0x46fb6c(0x4,_0x2ef637[_0x2cf95d(0x3fa)](_0x2621ee)),_0x46fb6c(0x5,_0x2ef637[_0x2cf95d(0x3fa)](_0x5419b8)),_0x46fb6c(0x6,_0xbf4494[_0x2cf95d(0x1ce)]),_0x46fb6c(0x7,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637['LocaleService']))],_0x40a03e);var _0x1c5d04=(_0x4f9b11=>(_0x4f9b11[_0x4f9b11[_0x2cf95d(0x354)]=0x0]='UNDEFINED',_0x4f9b11[_0x4f9b11['OK']=0x1]='OK',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x42d)]=0x2]='INTERNAL_ERROR',_0x4f9b11[_0x4f9b11['PERMISSION_DENIED']=0x3]=_0x2cf95d(0x287),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x2be)]=0x4]=_0x2cf95d(0x2be),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1bc)]=0x5]=_0x2cf95d(0x1bc),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x431)]=0x6]='ALREADY_EXISTS',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x3ec)]=0x7]=_0x2cf95d(0x3ec),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x286)]=0x8]=_0x2cf95d(0x286),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1f7)]=0x9]='COMPLETION_FINISHED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x453)]=0xa]=_0x2cf95d(0x453),_0x4f9b11[_0x4f9b11['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x2cf95d(0x2c6),_0x4f9b11[_0x4f9b11['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x2cf95d(0x2a6),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1bd)]=0xd]=_0x2cf95d(0x1bd),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x333)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x3d3)]=0xf]=_0x2cf95d(0x3d3),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1c4)]=0x10]=_0x2cf95d(0x1c4),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x46f)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x4f9b11[_0x4f9b11['ERROR_AGAIN']=0x65]=_0x2cf95d(0x2bd),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1d8)]=0xc9]=_0x2cf95d(0x1d8),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x220)]=0xca]=_0x2cf95d(0x220),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x213)]=0x1389]=_0x2cf95d(0x213),_0x4f9b11[_0x4f9b11['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x3a3)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x295)]=0x1773]=_0x2cf95d(0x295),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x3cb)]=0x1b59]=_0x2cf95d(0x3cb),_0x4f9b11[_0x4f9b11['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2cf95d(0x3f7),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x340)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x261)]=0x1b5c]=_0x2cf95d(0x261),_0x4f9b11[_0x4f9b11['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1a5)]=0x1f41]=_0x2cf95d(0x1a5),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x200)]=0x2329]=_0x2cf95d(0x200),_0x4f9b11[_0x4f9b11['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x3a6)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x294)]=0x232c]=_0x2cf95d(0x294),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x2e7)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x208)]=0x2711]=_0x2cf95d(0x208),_0x4f9b11[_0x4f9b11['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x2cf95d(0x2b9),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x42f)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x230)]=0x2714]=_0x2cf95d(0x230),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x360)]=0x271a]=_0x2cf95d(0x360),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1b5)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x28b)]=0x271c]=_0x2cf95d(0x28b),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x282)]=0x271d]=_0x2cf95d(0x282),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x3b9)]=0x271e]=_0x2cf95d(0x3b9),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x445)]=0x271f]=_0x2cf95d(0x445),_0x4f9b11[_0x4f9b11['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x2cf95d(0x371),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1d4)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x40d)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1e0)]=0x2ee2]='INVALID_INVITE_CODE',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x391)]=0x2ee3]=_0x2cf95d(0x391),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x386)]=0x2ee4]=_0x2cf95d(0x386),_0x4f9b11[_0x4f9b11['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x2cf95d(0x2eb),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x22b)]=0x32c9]=_0x2cf95d(0x22b),_0x4f9b11[_0x4f9b11['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x2cf95d(0x231),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x456)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x4f9b11[_0x4f9b11['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]='ENTITLE_CAN_NOT_BUY_LOWER_OTP',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x222)]=0x36b2]=_0x2cf95d(0x222),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x36d)]=0x36b3]=_0x2cf95d(0x36d),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x26f)]=0x36b4]=_0x2cf95d(0x26f),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x210)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x344)]=0x3716]=_0x2cf95d(0x344),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x449)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x405)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x1bf)]=0x3a99]=_0x2cf95d(0x1bf),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x270)]=0x3a9a]=_0x2cf95d(0x270),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x2aa)]=0x3a9b]=_0x2cf95d(0x2aa),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x2fd)]=0x3a9c]=_0x2cf95d(0x2fd),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x366)]=0x3a9d]=_0x2cf95d(0x366),_0x4f9b11[_0x4f9b11[_0x2cf95d(0x2d4)]=0x3a9e]=_0x2cf95d(0x2d4),_0x4f9b11[_0x4f9b11['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x4f9b11[_0x4f9b11[_0x2cf95d(0x29b)]=0x3e81]=_0x2cf95d(0x29b),_0x4f9b11[_0x4f9b11['UNRECOGNIZED']=-0x1]=_0x2cf95d(0x33f),_0x4f9b11))(_0x1c5d04||{});function _0x1d5e8f(_0x26cb5d){const _0x13e478=_0x2cf95d;var _0x5cbd48,_0x3d885e;const _0x384a09=(_0x5cbd48=_0x26cb5d[_0x13e478(0x246)])==null?void 0x0:_0x5cbd48[_0x13e478(0x2db)],_0x518039=((_0x3d885e=_0x26cb5d[_0x13e478(0x246)])==null?void 0x0:_0x3d885e[_0x13e478(0x3cf)])||0x0;return _0x384a09===_0x53a2c3[_0x13e478(0x2e5)][_0x13e478(0x2c5)]&&_0x518039>0x0;}function _0x546c57(_0x72d1fb){const _0x31e015=_0x2cf95d;return _0x72d1fb['functionsExecutedState']===_0x53a2c3[_0x31e015(0x468)][_0x31e015(0x347)];}var _0x5206b9=Object[_0x2cf95d(0x457)],_0xaff30f=(_0x28f5dd,_0x507002,_0x3c4cd7,_0x6c3f82)=>{for(var _0x1caec3=_0x6c3f82>0x1?void 0x0:_0x6c3f82?_0x5206b9(_0x507002,_0x3c4cd7):_0x507002,_0x59e007=_0x28f5dd['length']-0x1,_0x24a9ee;_0x59e007>=0x0;_0x59e007--)(_0x24a9ee=_0x28f5dd[_0x59e007])&&(_0x1caec3=_0x24a9ee(_0x1caec3)||_0x1caec3);return _0x1caec3;},_0x4e0209=(_0x5af526,_0x900473)=>(_0xb26a52,_0xedf74e)=>_0x900473(_0xb26a52,_0xedf74e,_0x5af526);const _0x22ef23=_0x2cf95d(0x266),_0x26361f=_0x2cf95d(0x2b2),_0x3e239e=_0x2cf95d(0x44b);let _0x1805a9=class extends _0x2ef637[_0x2cf95d(0x26a)]{constructor(_0x108d04,_0xeac7e4,_0x7bfbf5,_0x5efee7,_0x3bd37d,_0x312ea6,_0x2f7dd4){const _0x594401=_0x2cf95d;super(),_0x536638(this,'_pollingInterval',null),_0x536638(this,_0x594401(0x296),0x0),_0x536638(this,_0x594401(0x244),0x0),_0x536638(this,_0x594401(0x267),[]),_0x536638(this,'_lastResponseTimestamp',0x0),(this[_0x594401(0x3aa)]=_0x108d04,this[_0x594401(0x3a0)]=_0xeac7e4,this[_0x594401(0x23d)]=_0x7bfbf5,this[_0x594401(0x435)]=_0x5efee7,this[_0x594401(0x3f0)]=_0x3bd37d,this[_0x594401(0x43a)]=_0x312ea6,this[_0x594401(0x33d)]=_0x2f7dd4,this['_initCommandInterceptor']());}[_0x2cf95d(0x414)](){const _0x3dfdf6=_0x2cf95d;this[_0x3dfdf6(0x2c3)](this['_commandService'][_0x3dfdf6(0x3d6)]((_0x4568e1,_0x3f19fd)=>{const _0x18687e=_0x3dfdf6;var _0x30d1f9;if(_0x4568e1['id']!==_0x53a2c3[_0x18687e(0x420)]['id'])return;const _0xf755aa=_0x4568e1['params'];if(!this[_0x18687e(0x3f6)]((_0x30d1f9=_0xf755aa[_0x18687e(0x21d)])!=null?_0x30d1f9:[]))return;if(!this[_0x18687e(0x413)]())throw this[_0x18687e(0x1db)](_0x4568e1,_0x3f19fd),this['_showGuardMessage'](),new _0x2ef637[(_0x18687e(0x2d5))]();})),this[_0x3dfdf6(0x2c3)](this[_0x3dfdf6(0x3a0)][_0x3dfdf6(0x289)]((_0x331fe5,_0x546941)=>{const _0xc3a6c4=_0x3dfdf6;if(_0x331fe5['id']!==_0x53a2c3[_0xc3a6c4(0x26c)]['id'])return;const _0x588cb3=_0x331fe5[_0xc3a6c4(0x23b)];if(_0x1d5e8f(_0x588cb3)){const _0x476ae9=_0x2ef637[_0xc3a6c4(0x2ec)]();this[_0xc3a6c4(0x267)][_0xc3a6c4(0x316)](_0x476ae9),this['_startCalculationLimit'](_0x476ae9);}else{if(_0x546c57(_0x588cb3)&&this[_0xc3a6c4(0x267)]['length']>0x0){const _0x5c1b0e=this[_0xc3a6c4(0x267)][_0xc3a6c4(0x1ca)]();this[_0xc3a6c4(0x410)](_0x5c1b0e);}}}));}[_0x2cf95d(0x359)](){const _0x1f4946=_0x2cf95d;super[_0x1f4946(0x359)](),this[_0x1f4946(0x3db)](),this[_0x1f4946(0x267)]=[],this['_currentUsage']=0x0,this[_0x1f4946(0x296)]=0x0,this[_0x1f4946(0x2fb)]=0x0;}async[_0x2cf95d(0x1db)](_0x440d57,_0x3ea8e2){const _0x1ea086=_0x2cf95d;for(let _0x3c95db=0x0;_0x3c95db<0x1e;_0x3c95db++)try{if(await this[_0x1ea086(0x32b)](),this[_0x1ea086(0x413)]()){this[_0x1ea086(0x3e8)](_0x440d57,_0x3ea8e2),this['_messageService'][_0x1ea086(0x3bb)]({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x364f41[_0x1ea086(0x268)][_0x1ea086(0x2c4)]});return;}await new Promise(_0x37f19f=>{const _0x51ff99=_0x1ea086;this[_0x51ff99(0x409)]=window[_0x51ff99(0x358)](_0x37f19f,0x3e8);});}catch(_0x3c13be){this[_0x1ea086(0x43a)][_0x1ea086(0x3f3)](_0x3c13be);}this[_0x1ea086(0x3aa)][_0x1ea086(0x3bb)]({'content':this['_localeService']['t']('formula.calculation.unable'),'type':_0x364f41[_0x1ea086(0x268)][_0x1ea086(0x30a)]});}['_applyCommand'](_0x50019c,_0x5292e8){const _0x1b7ce7=_0x2cf95d;try{this[_0x1b7ce7(0x3a0)][_0x1b7ce7(0x311)](_0x50019c['id'],_0x50019c['params'],_0x5292e8);}catch(_0x2d9952){this[_0x1b7ce7(0x43a)][_0x1b7ce7(0x3f3)](_0x2d9952);}}[_0x2cf95d(0x277)](_0x29a993,_0x23b40e){const _0x3c4199=_0x2cf95d;_0x23b40e<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x23b40e,this[_0x3c4199(0x296)]=Number['parseInt'](_0x29a993[_0x3c4199(0x440)]),this[_0x3c4199(0x244)]=Number[_0x3c4199(0x376)](_0x29a993[_0x3c4199(0x290)]));}async[_0x2cf95d(0x35d)](_0x26ffd0){const _0xc5d433=_0x2cf95d;var _0x17f04e,_0x3a8bac;const _0x189ab4=Date['now']();try{const _0x4c40c1=((_0x17f04e=this[_0xc5d433(0x23d)][_0xc5d433(0x361)](_0x5f2bfa[_0xc5d433(0x22e)]))==null?void 0x0:_0x17f04e[_0xc5d433(0x2bb)])||_0x26361f,_0x27c960=(await this[_0xc5d433(0x435)][_0xc5d433(0x3ef)](_0x4c40c1,{'body':JSON['stringify']({'taskId':_0x26ffd0})}))[_0xc5d433(0x3da)];if(((_0x3a8bac=_0x27c960['error'])==null?void 0x0:_0x3a8bac['code'])!==_0x1c5d04['OK'])return;this[_0xc5d433(0x277)](_0x27c960[_0xc5d433(0x357)],_0x189ab4);}catch(_0x204523){this[_0xc5d433(0x43a)][_0xc5d433(0x3f3)](_0x204523);}}async[_0x2cf95d(0x32b)](_0x16110e){const _0x495ef2=_0x2cf95d;var _0x4bab2c,_0x173d5a;const _0x4442eb=Date[_0x495ef2(0x28f)]();try{const _0x20f7d2=((_0x4bab2c=this['_configService']['getConfig'](_0x5f2bfa[_0x495ef2(0x22e)]))==null?void 0x0:_0x4bab2c[_0x495ef2(0x434)])||_0x22ef23,_0x1f523a=_0x16110e?_0x20f7d2+_0x495ef2(0x3ca)+encodeURIComponent(_0x16110e):_0x20f7d2,_0x479654=(await this['_httpService']['get'](_0x1f523a))[_0x495ef2(0x3da)];if(((_0x173d5a=_0x479654[_0x495ef2(0x3f3)])==null?void 0x0:_0x173d5a['code'])!==_0x1c5d04['OK'])return;this['_setFormulaLimitStatus'](_0x479654[_0x495ef2(0x357)],_0x4442eb);}catch(_0x209d53){this[_0x495ef2(0x43a)][_0x495ef2(0x3f3)](_0x209d53);}}async['_releaseCalculationLimit'](_0x235fea){const _0x4b821f=_0x2cf95d;var _0xe37e8d,_0x4b906c;const _0x3eceae=Date[_0x4b821f(0x28f)]();try{const _0x1123f5=((_0xe37e8d=this[_0x4b821f(0x23d)][_0x4b821f(0x361)](_0x5f2bfa['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0xe37e8d[_0x4b821f(0x255)])||_0x3e239e,_0x27bf3a=(await this[_0x4b821f(0x435)][_0x4b821f(0x3ef)](_0x1123f5,{'body':JSON[_0x4b821f(0x39f)]({'taskId':_0x235fea})}))[_0x4b821f(0x3da)];if(((_0x4b906c=_0x27bf3a[_0x4b821f(0x3f3)])==null?void 0x0:_0x4b906c['code'])!==_0x1c5d04['OK'])return;this[_0x4b821f(0x277)](_0x27bf3a[_0x4b821f(0x357)],_0x3eceae);}catch(_0x18df84){this['_logService'][_0x4b821f(0x3f3)](_0x18df84);}}[_0x2cf95d(0x413)](){const _0x1d6d2a=_0x2cf95d;return this[_0x1d6d2a(0x296)]===0x0?!0x0:this[_0x1d6d2a(0x296)]-this[_0x1d6d2a(0x244)]>0x0;}['_clearPolling'](){const _0x220188=_0x2cf95d;this['_pollingInterval']&&(clearTimeout(this[_0x220188(0x409)]),this[_0x220188(0x409)]=null);}['_showGuardMessage'](){const _0x308d41=_0x2cf95d;this['_messageService']['show']({'content':this[_0x308d41(0x33d)]['t'](_0x308d41(0x44d)),'type':_0x364f41[_0x308d41(0x268)][_0x308d41(0x2dc)]});}[_0x2cf95d(0x3f6)](_0x416d48){const _0x3b59f4=_0x2cf95d;for(const _0x13b8eb of _0x416d48){const {unitId:_0x4c669b,sheetId:_0x33daac,range:_0x35c634}=_0x13b8eb,_0x26bf46=this[_0x3b59f4(0x3f0)][_0x3b59f4(0x221)](_0x4c669b);if(!_0x26bf46)continue;const _0x96b0cd=_0x26bf46[_0x3b59f4(0x3ac)](_0x33daac);if(!_0x96b0cd)continue;const _0x6523a1=_0x96b0cd[_0x3b59f4(0x1a4)]();for(let _0x29a67c=_0x35c634[_0x3b59f4(0x30d)];_0x29a67c<=_0x35c634['endRow'];_0x29a67c++)for(let _0x497e81=_0x35c634[_0x3b59f4(0x1f3)];_0x497e81<=_0x35c634[_0x3b59f4(0x1f5)];_0x497e81++){const _0x33a24f=_0x6523a1[_0x3b59f4(0x1f9)](_0x29a67c,_0x497e81);if(_0x33a24f&&(_0x2ef637['isFormulaString'](_0x33a24f['f'])||_0x2ef637[_0x3b59f4(0x462)](_0x33a24f['si'])))return!0x0;}}return!0x1;}};_0x1805a9=_0xaff30f([_0x4e0209(0x0,_0x2ef637[_0x2cf95d(0x3fa)](_0xbf4494[_0x2cf95d(0x1ce)])),_0x4e0209(0x1,_0x2ef637[_0x2cf95d(0x412)]),_0x4e0209(0x2,_0x2ef637[_0x2cf95d(0x1e1)]),_0x4e0209(0x3,_0x2ef637['Inject'](_0x416c4d[_0x2cf95d(0x276)])),_0x4e0209(0x4,_0x2ef637['IUniverInstanceService']),_0x4e0209(0x5,_0x2ef637[_0x2cf95d(0x387)]),_0x4e0209(0x6,_0x2ef637['Inject'](_0x2ef637[_0x2cf95d(0x33a)]))],_0x1805a9);var _0x5d9a1e=Object[_0x2cf95d(0x457)],_0xd28c35=(_0x1c44e0,_0x1e2d2f,_0x16cbb1,_0x456ebf)=>{const _0x12636b=_0x2cf95d;for(var _0x2e63d7=_0x456ebf>0x1?void 0x0:_0x456ebf?_0x5d9a1e(_0x1e2d2f,_0x16cbb1):_0x1e2d2f,_0x35753e=_0x1c44e0[_0x12636b(0x3e6)]-0x1,_0x325957;_0x35753e>=0x0;_0x35753e--)(_0x325957=_0x1c44e0[_0x35753e])&&(_0x2e63d7=_0x325957(_0x2e63d7)||_0x2e63d7);return _0x2e63d7;},_0x40fe95=(_0x2ce5ce,_0x111824)=>(_0x4be77a,_0x522688)=>_0x111824(_0x4be77a,_0x522688,_0x2ce5ce);let _0x1d3d25=class extends _0x2ef637[_0x2cf95d(0x26a)]{constructor(_0x33aad3,_0x1e4495,_0x96e8b8){const _0x4a83c0=_0x2cf95d;super(),_0x536638(this,'_cachedData',new Map()),_0x536638(this,'_saveTaskMap',new Map()),_0x536638(this,_0x4a83c0(0x36a),!0x1),(this['_configService']=_0x33aad3,this[_0x4a83c0(0x309)]=_0x1e4495,this[_0x4a83c0(0x448)]=_0x96e8b8);}[_0x2cf95d(0x450)](){const _0x41d41a=_0x2cf95d;this[_0x41d41a(0x36a)]=!0x0;}[_0x2cf95d(0x38b)](){const _0x1ce53f=_0x2cf95d;this[_0x1ce53f(0x36a)]=!0x1;}get['saveTaskMap'](){const _0xa9a78=_0x2cf95d;return this[_0xa9a78(0x3fe)];}['dispose'](){const _0x4318d5=_0x2cf95d;this[_0x4318d5(0x41a)]()[_0x4318d5(0x1c7)](()=>super[_0x4318d5(0x359)]());}async[_0x2cf95d(0x224)](_0xd02876){const _0xa1a37f=_0x2cf95d;return this[_0xa1a37f(0x36a)]?null:this['_localStorageService']['getItem'](_0x5f2bfa[_0xa1a37f(0x201)](_0xd02876));}async['saveOfflineData'](_0x1e1a0e,_0x5ae2cc){const _0x57a928=_0x2cf95d;return!!this[_0x57a928(0x309)][_0x57a928(0x2c8)](_0x1e1a0e,_0x5ae2cc);}[_0x2cf95d(0x32d)](_0x2e3041,_0x2552b1,_0x48a3e1,_0x2e415a){const _0x5f3ae6=_0x2cf95d,_0x315e66=this[_0x5f3ae6(0x448)]['getCurrentRevOfUnit'](_0x2e3041);this[_0x5f3ae6(0x374)][_0x5f3ae6(0x2f5)](_0x2e3041,{'unitID':_0x2e3041,'type':_0x2552b1,'awaitingChangeset':_0x48a3e1,'mutations':_0x2e415a,'rev':_0x315e66}),this[_0x5f3ae6(0x3fe)]['has'](_0x2e3041)||this[_0x5f3ae6(0x471)](_0x2e3041);}[_0x2cf95d(0x471)](_0x58665d){const _0x355e0e=_0x2cf95d,_0x1474f1=this[_0x355e0e(0x37a)]();_0x1474f1===0x0?this[_0x355e0e(0x40b)](_0x58665d):this[_0x355e0e(0x3fe)][_0x355e0e(0x2f5)](_0x58665d,setTimeout(()=>this[_0x355e0e(0x40b)](_0x58665d),_0x1474f1));}['_getSaveTimeout'](){const _0x3a8ae6=_0x2cf95d;var _0x443a8a;return(_0x443a8a=this[_0x3a8ae6(0x23d)][_0x3a8ae6(0x361)](_0x5f2bfa[_0x3a8ae6(0x250)]))!=null?_0x443a8a:_0x5f2bfa[_0x3a8ae6(0x324)];}[_0x2cf95d(0x40b)](_0x4a7a78){const _0x293ce2=_0x2cf95d,_0x1a4acc=this[_0x293ce2(0x3fe)][_0x293ce2(0x3c7)](_0x4a7a78);return _0x1a4acc!==void 0x0&&window[_0x293ce2(0x27e)](_0x1a4acc),this['_localStorageService'][_0x293ce2(0x2c8)](_0x5f2bfa[_0x293ce2(0x201)](_0x4a7a78),this['_cachedData'][_0x293ce2(0x3c7)](_0x4a7a78))['then'](()=>this[_0x293ce2(0x3fe)][_0x293ce2(0x226)](_0x4a7a78));}async[_0x2cf95d(0x41a)](){const _0x2961a2=_0x2cf95d,_0x2d799c=[];this['_saveTaskMap'][_0x2961a2(0x35c)]((_0x25affb,_0x330e8a)=>{const _0x26e8cc=_0x2961a2;window['clearTimeout'](_0x25affb),_0x2d799c[_0x26e8cc(0x316)](this['_saveCache'](_0x330e8a)[_0x26e8cc(0x1c7)](()=>{const _0x3424fd=_0x26e8cc;this[_0x3424fd(0x3fe)][_0x3424fd(0x226)](_0x330e8a);}));}),await Promise['all'](_0x2d799c);}};_0x1d3d25=_0xd28c35([_0x40fe95(0x0,_0x2ef637[_0x2cf95d(0x1e1)]),_0x40fe95(0x1,_0x2ef637[_0x2cf95d(0x272)]),_0x40fe95(0x2,_0x2ef637[_0x2cf95d(0x3fa)](_0xffee1f[_0x2cf95d(0x263)]))],_0x1d3d25);class _0x1dd4c1 extends _0x2ef637[_0x2cf95d(0x29c)]{constructor(){const _0x384c92=_0x2cf95d;super(),_0x536638(this,_0x384c92(0x284)),this[_0x384c92(0x284)]=_0x35d2e5[_0x384c92(0x265)](window,'popstate')[_0x384c92(0x40f)](_0x35d2e5[_0x384c92(0x2a5)](this[_0x384c92(0x1e2)]),_0x35d2e5[_0x384c92(0x1be)](0x1),_0x35d2e5[_0x384c92(0x378)](void 0x0));}[_0x2cf95d(0x3b8)](_0x4e335a,_0x172748,_0x34ff9f=!0x1){const _0x8baf81=_0x2cf95d,_0x1fe8e3=new URL(window[_0x8baf81(0x2d7)][_0x8baf81(0x375)]);_0x1fe8e3[_0x8baf81(0x41f)][_0x8baf81(0x2f5)](_0x4e335a,_0x172748),_0x34ff9f?window['history'][_0x8baf81(0x34f)]('','',_0x1fe8e3['toString']()):window[_0x8baf81(0x22f)][_0x8baf81(0x381)]('','',_0x1fe8e3[_0x8baf81(0x2d9)]());}[_0x2cf95d(0x202)](_0xb8989f,_0x1ea047=!0x1){const _0x135061=_0x2cf95d,_0x6547b3=new URL(window[_0x135061(0x2d7)][_0x135061(0x375)]);_0x6547b3[_0x135061(0x41f)]['delete'](_0xb8989f),_0x1ea047?window['history'][_0x135061(0x34f)]('','',_0x6547b3[_0x135061(0x2d9)]()):window[_0x135061(0x22f)]['pushState']('','',_0x6547b3[_0x135061(0x2d9)]());}[_0x2cf95d(0x1fb)](_0x33b25c){const _0x5ede39=_0x2cf95d;var _0xaab1d8;return(_0xaab1d8=new URL(window['location'][_0x5ede39(0x375)])[_0x5ede39(0x41f)][_0x5ede39(0x3c7)](_0x33b25c))!=null?_0xaab1d8:void 0x0;}}var _0x37bc50=Object[_0x2cf95d(0x367)],_0x179ead=Object[_0x2cf95d(0x457)],_0x2cc478=(_0x2524a4,_0x3eaa65,_0x5dd0d8)=>_0x3eaa65 in _0x2524a4?_0x37bc50(_0x2524a4,_0x3eaa65,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5dd0d8}):_0x2524a4[_0x3eaa65]=_0x5dd0d8,_0x51b7a6=(_0x54b256,_0x433019,_0x18ecbc,_0xf52538)=>{const _0x2cf0d7=_0x2cf95d;for(var _0x40de7d=_0xf52538>0x1?void 0x0:_0xf52538?_0x179ead(_0x433019,_0x18ecbc):_0x433019,_0x4ef9f3=_0x54b256[_0x2cf0d7(0x3e6)]-0x1,_0x539a21;_0x4ef9f3>=0x0;_0x4ef9f3--)(_0x539a21=_0x54b256[_0x4ef9f3])&&(_0x40de7d=_0x539a21(_0x40de7d)||_0x40de7d);return _0x40de7d;},_0x39a6ce=(_0x461fac,_0x215b5d)=>(_0x5b76dc,_0x14cde7)=>_0x215b5d(_0x5b76dc,_0x14cde7,_0x461fac),_0x3a3a1b=(_0x13144c,_0x8bd4de,_0x1d5b1c)=>_0x2cc478(_0x13144c,_0x8bd4de+'',_0x1d5b1c);const _0x434ece='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x4c7ce2[_0x2cf95d(0x1d6)]=class extends _0x2ef637[_0x2cf95d(0x279)]{constructor(_0x2b6a91=_0x19c4b6,_0xe2375e,_0x2dec3f,_0x5e46eb){const _0x425737=_0x2cf95d;super(),this[_0x425737(0x1b1)]=_0x2b6a91,this['_renderManagerService']=_0xe2375e,this[_0x425737(0x30c)]=_0x2dec3f,this[_0x425737(0x23d)]=_0x5e46eb;const {..._0x5d287e}=_0x2ef637[_0x425737(0x1ff)]({},_0x19c4b6,this[_0x425737(0x1b1)]);this[_0x425737(0x23d)][_0x425737(0x31b)](_0x206a74,_0x5d287e);}[_0x2cf95d(0x24f)](){const _0x39bcbd=_0x2cf95d;this[_0x39bcbd(0x408)](),this['_initDependencies']();}[_0x2cf95d(0x34d)](){const _0x19bee3=_0x2cf95d;this[_0x19bee3(0x34c)]();}[_0x2cf95d(0x408)](){const _0x341c48=_0x2cf95d;var _0x2b3cb4;const _0xe8ac2f=[[_0x371edb],[_0x1805a9],[_0x2621ee],[_0x241a2c],[_0x184a1d],[_0x5419b8],[_0x5026ec,{'useClass':_0x1dd4c1}],[_0x416c4d[_0x341c48(0x45d)],{'useClass':_0x416c4d['WebSocketService']}],[_0x5f2bfa[_0x341c48(0x233)],{'useClass':_0x1d3d25}],[_0x4c7ce2['DesktopCollaborationStatusDisplayController']],[_0x40a03e],[_0xd0660e],[_0x41b2ac],[_0x28ec89],[_0x4c7ce2['CollaborationDataLoaderController']]];_0x2ef637[_0x341c48(0x1cd)](this['_injector'],_0x2ef637['mergeOverrideWithDependencies'](_0xe8ac2f,(_0x2b3cb4=this[_0x341c48(0x1b1)])==null?void 0x0:_0x2b3cb4[_0x341c48(0x206)]));}[_0x2cf95d(0x34c)](){const _0x569940=_0x2cf95d;this[_0x569940(0x2c3)](this[_0x569940(0x3cc)]['registerRenderModule'](_0x2ef637['UniverInstanceType'][_0x569940(0x2f1)],[_0x49cd9d])),this[_0x569940(0x2c3)](this[_0x569940(0x3cc)][_0x569940(0x384)](_0x2ef637[_0x569940(0x29a)][_0x569940(0x318)],[_0x398529]));}[_0x2cf95d(0x341)](){const _0x320a3e=_0x2cf95d;_0x2ef637['touchDependencies'](this[_0x320a3e(0x30c)],[[_0x41b2ac],[_0x4c7ce2[_0x320a3e(0x418)]],[_0x40a03e],[_0xd0660e],[_0x4c7ce2[_0x320a3e(0x25b)]],[_0x1805a9]]);}},_0x3a3a1b(_0x4c7ce2[_0x2cf95d(0x1d6)],_0x2cf95d(0x252),_0x434ece),_0x4c7ce2[_0x2cf95d(0x1d6)]=_0x51b7a6([_0x2ef637[_0x2cf95d(0x31f)](_0x5f2bfa[_0x2cf95d(0x403)]),_0x39a6ce(0x1,_0x35408c[_0x2cf95d(0x253)]),_0x39a6ce(0x2,_0x2ef637[_0x2cf95d(0x3fa)](_0x2ef637['Injector'])),_0x39a6ce(0x3,_0x2ef637[_0x2cf95d(0x1e1)])],_0x4c7ce2['UniverCollaborationClientUIPlugin']);var _0x19e725=Object['getOwnPropertyDescriptor'],_0x2de09e=(_0x3bdb70,_0x4dafcf,_0x3ed807,_0x5ad576)=>{for(var _0x5bdb39=_0x5ad576>0x1?void 0x0:_0x5ad576?_0x19e725(_0x4dafcf,_0x3ed807):_0x4dafcf,_0x23e7d2=_0x3bdb70['length']-0x1,_0x2a4aa5;_0x23e7d2>=0x0;_0x23e7d2--)(_0x2a4aa5=_0x3bdb70[_0x23e7d2])&&(_0x5bdb39=_0x2a4aa5(_0x5bdb39)||_0x5bdb39);return _0x5bdb39;},_0x55a2a9=(_0x2a98d1,_0x370b60)=>(_0x3a486b,_0x405589)=>_0x370b60(_0x3a486b,_0x405589,_0x2a98d1);_0x4c7ce2['BrowserCollaborationSocketService']=class extends _0x5f2bfa[_0x2cf95d(0x1b0)]{constructor(_0x253480,_0x325a6c,_0x32fd89,_0x68ee21,_0x13efdf){super(_0x253480,_0x325a6c,_0x32fd89,_0x68ee21,_0x13efdf);}async[_0x2cf95d(0x257)](_0x3ebba7){const _0x2027b3=_0x2cf95d,_0xfe8510=await this['_getSessionTicket'](),_0x50ba1c=this['_createSocketURL'](_0x3ebba7,_0xfe8510);return this[_0x2027b3(0x41d)](_0x50ba1c);}[_0x2cf95d(0x425)](_0x336ac9,_0x59aacb){const _0x5d2d92=_0x2cf95d,_0x2fdeed=typeof window>'u'?new URL(_0x336ac9):new URL(_0x336ac9,window['location'][_0x5d2d92(0x273)]);_0x2fdeed[_0x5d2d92(0x41f)][_0x5d2d92(0x2f5)](_0x5d2d92(0x1a6),_0x59aacb);const _0x658870=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5d2d92(0x2d7)]['search']);return _0x658870[_0x5d2d92(0x3c7)](_0x5d2d92(0x22c))&&_0x2fdeed['searchParams'][_0x5d2d92(0x2f5)](_0x5d2d92(0x22c),_0x658870[_0x5d2d92(0x3c7)]('runId')),_0x2fdeed[_0x5d2d92(0x2d9)]();}async['_getSessionTicket'](){const _0x1f3a23=_0x2cf95d;var _0x2a9834,_0x1d14cd,_0x6d26f;const _0x1fa809=this['_configService']['getConfig'](_0x5f2bfa[_0x1f3a23(0x22e)]),_0x16c656=(_0x2a9834=_0x1fa809==null?void 0x0:_0x1fa809[_0x1f3a23(0x2ae)])!=null?_0x2a9834:_0x5f2bfa[_0x1f3a23(0x3ea)];return(_0x6d26f=(_0x1d14cd=(await this[_0x1f3a23(0x435)]['get'](_0x16c656,{'headers':{'Content-Type':_0x1f3a23(0x26d)}}))['body'])==null?void 0x0:_0x1d14cd['ticket'])!=null?_0x6d26f:'';}},_0x4c7ce2[_0x2cf95d(0x1c6)]=_0x2de09e([_0x55a2a9(0x0,_0x2ef637['Inject'](_0x2ef637['Injector'])),_0x55a2a9(0x1,_0x2ef637[_0x2cf95d(0x3fa)](_0x416c4d['HTTPService'])),_0x55a2a9(0x2,_0x2ef637[_0x2cf95d(0x1e1)]),_0x55a2a9(0x3,_0x2ef637[_0x2cf95d(0x387)]),_0x55a2a9(0x4,_0xffee1f[_0x2cf95d(0x385)])],_0x4c7ce2['BrowserCollaborationSocketService']);var _0x38d47c=Object[_0x2cf95d(0x457)],_0x32390c=(_0x22f3c1,_0x536a1a,_0x3b80be,_0x22142a)=>{const _0x3bb38d=_0x2cf95d;for(var _0x2f0a10=_0x22142a>0x1?void 0x0:_0x22142a?_0x38d47c(_0x536a1a,_0x3b80be):_0x536a1a,_0x3c4d12=_0x22f3c1[_0x3bb38d(0x3e6)]-0x1,_0x1cd65f;_0x3c4d12>=0x0;_0x3c4d12--)(_0x1cd65f=_0x22f3c1[_0x3c4d12])&&(_0x2f0a10=_0x1cd65f(_0x2f0a10)||_0x2f0a10);return _0x2f0a10;},_0x2c289e=(_0x9a73c0,_0x267582)=>(_0x3b1548,_0x24421a)=>_0x267582(_0x3b1548,_0x24421a,_0x9a73c0);_0x4c7ce2[_0x2cf95d(0x307)]=class extends _0x2ef637[_0x2cf95d(0x26a)]{constructor(_0x2cb9c0,_0x199cd1,_0x498f6b){const _0x2eab3e=_0x2cf95d;super(),this[_0x2eab3e(0x19e)]=_0x2cb9c0,this[_0x2eab3e(0x435)]=_0x199cd1,this[_0x2eab3e(0x23d)]=_0x498f6b;}async[_0x2cf95d(0x433)](_0x30e4eb,_0x3f2ea0,_0x1fb3b5,..._0xb2539a){const _0x22f381=_0x2cf95d;var _0xe10d80,_0x238b81,_0x348fc6,_0xbf3771;const _0x48e854=this[_0x22f381(0x19e)]['getFocusedUnit']();if(!_0x48e854)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x2057d4=((_0xe10d80=this[_0x22f381(0x23d)][_0x22f381(0x361)](_0x5f2bfa[_0x22f381(0x209)]))!=null?_0xe10d80:_0x5f2bfa[_0x22f381(0x399)])+'/'+_0x30e4eb+_0x22f381(0x38a)+_0x3f2ea0,_0x480099=new URL(window[_0x22f381(0x2d7)][_0x22f381(0x375)]),_0x1c52af={'scriptId':_0x30e4eb,'runId':(_0x238b81=_0x480099[_0x22f381(0x41f)][_0x22f381(0x3c7)](_0x22f381(0x22c)))!=null?_0x238b81:'','function':_0x3f2ea0,'unitId':_0x48e854[_0x22f381(0x35a)](),'argsOfFunction':JSON[_0x22f381(0x39f)](_0xb2539a),'invokeId':(_0x348fc6=_0x1fb3b5['invokeId'])!=null?_0x348fc6:'','executionId':(_0xbf3771=_0x1fb3b5['executionId'])!=null?_0xbf3771:''};try{const _0x254e79=await this[_0x22f381(0x435)]['post'](_0x2057d4,{'body':_0x1c52af});return _0x254e79[_0x22f381(0x3da)][_0x22f381(0x3f3)]&&_0x254e79[_0x22f381(0x3da)][_0x22f381(0x3f3)][_0x22f381(0x3b3)]!==_0x1c5d04['OK']?_0x22f381(0x437):_0x254e79[_0x22f381(0x3da)][_0x22f381(0x1d0)];}catch{return _0x22f381(0x437);}}},_0x4c7ce2[_0x2cf95d(0x307)]=_0x32390c([_0x2c289e(0x0,_0x2ef637[_0x2cf95d(0x25f)]),_0x2c289e(0x1,_0x2ef637[_0x2cf95d(0x3fa)](_0x416c4d[_0x2cf95d(0x276)])),_0x2c289e(0x2,_0x2ef637[_0x2cf95d(0x1e1)])],_0x4c7ce2['RemoteUniscriptService']);const _0x3446c2=0x7530,_0x119a9e=_0x2cf95d(0x46d);class _0x3c3c67 extends _0x2ef637[_0x2cf95d(0x26a)]{constructor(){const _0xa87645=_0x2cf95d;super(),_0x536638(this,_0xa87645(0x1eb),_0x2ef637[_0xa87645(0x2ec)]()),_0x536638(this,_0xa87645(0x454),new Set()),_0x536638(this,_0xa87645(0x452),new Map()),_0x536638(this,_0xa87645(0x2a1),null),_0x536638(this,_0xa87645(0x299),new Map()),_0x536638(this,_0xa87645(0x3a8),new Map()),this[_0xa87645(0x303)]();}['dispose'](){const _0x3ea54d=_0x2cf95d;super[_0x3ea54d(0x359)](),this[_0x3ea54d(0x299)][_0x3ea54d(0x35c)]((_0x2d1725,_0x441c57)=>this[_0x3ea54d(0x3a4)](_0x441c57)),this[_0x3ea54d(0x2a1)]&&window[_0x3ea54d(0x1c5)](this[_0x3ea54d(0x2a1)]);}['getUnitStatus$'](_0x32ec0c){const _0x10f2b0=_0x2cf95d;return this['_ensureSubject'](_0x32ec0c)['pipe'](_0x35d2e5[_0x10f2b0(0x1da)]());}[_0x2cf95d(0x1a7)](_0x2c234d){const _0x4c8ad8=_0x2cf95d;this['_selfUnitIDs'][_0x4c8ad8(0x207)]===0x0&&this[_0x4c8ad8(0x3a1)](),this[_0x4c8ad8(0x454)]['add'](_0x2c234d),this[_0x4c8ad8(0x2af)]({'type':0x0,'memberID':this[_0x4c8ad8(0x1eb)],'unitIDs':[_0x2c234d],'isForwarded':!0x1});}[_0x2cf95d(0x3b1)](_0x93bb18){const _0x39f906=_0x2cf95d;this[_0x39f906(0x454)][_0x39f906(0x226)](_0x93bb18),this[_0x39f906(0x454)]['size']===0x0&&this['_heartbeatTimer']&&window[_0x39f906(0x1c5)](this[_0x39f906(0x2a1)]);}[_0x2cf95d(0x303)](){const _0x405925=_0x2cf95d;this[_0x405925(0x2c3)](_0x2ef637[_0x405925(0x236)](_0x35d2e5[_0x405925(0x265)](window,'storage')[_0x405925(0x335)](_0x17ad71=>{const _0x27f295=_0x405925;if(_0x17ad71['key']!==_0x119a9e||!_0x17ad71[_0x27f295(0x281)])return;const _0x2fafa4=JSON[_0x27f295(0x41c)](_0x17ad71[_0x27f295(0x281)]);this[_0x27f295(0x20b)](_0x2fafa4);}))),window['addEventListener'](_0x405925(0x237),()=>this[_0x405925(0x2af)]({'type':0x1,'memberID':this[_0x405925(0x1eb)],'unitIDs':Array[_0x405925(0x2e6)](this['_selfUnitIDs'])}));}[_0x2cf95d(0x20b)](_0x592779){const _0x60eff1=_0x2cf95d;switch(_0x592779[_0x60eff1(0x35b)]){case 0x0:this[_0x60eff1(0x21e)](_0x592779);break;case 0x1:this['_handleLeaveEvent'](_0x592779);break;case 0x2:this['_handleHeartbeatEvent'](_0x592779);break;}}['_handleJoinEvent'](_0x9c9344){const _0x35dc8b=_0x2cf95d,{unitIDs:_0x4c6e89,memberID:_0x1375da,isForwarded:_0x2ffef0}=_0x9c9344;_0x4c6e89[_0x35dc8b(0x35c)](_0x411145=>{const _0xf0a4b3=_0x35dc8b;if(!_0x2ffef0&&this[_0xf0a4b3(0x452)][_0xf0a4b3(0x2ac)](_0x411145)&&this[_0xf0a4b3(0x264)](_0x411145)[_0xf0a4b3(0x248)](_0x5f2bfa[_0xf0a4b3(0x2f2)][_0xf0a4b3(0x36f)]),!this[_0xf0a4b3(0x452)]['has'](_0x411145)||!this[_0xf0a4b3(0x452)]['get'](_0x411145)[_0xf0a4b3(0x2ac)](_0x1375da)){const _0x7244d8=this[_0xf0a4b3(0x452)][_0xf0a4b3(0x3c7)](_0x411145)||new Set();_0x7244d8[_0xf0a4b3(0x1de)](_0x1375da),this[_0xf0a4b3(0x452)][_0xf0a4b3(0x2f5)](_0x411145,_0x7244d8),this[_0xf0a4b3(0x211)](_0x1375da);}}),_0x2ffef0||this[_0x35dc8b(0x2af)]({'type':0x0,'memberID':this[_0x35dc8b(0x1eb)],'unitIDs':[...this[_0x35dc8b(0x454)]],'isForwarded':!0x0});}[_0x2cf95d(0x211)](_0x13cee5){const _0xeff8c7=_0x2cf95d;this[_0xeff8c7(0x3a4)](_0x13cee5);const _0x315f06=window[_0xeff8c7(0x358)](()=>{const _0x57d3b2=_0xeff8c7;this[_0x57d3b2(0x452)]['forEach'](_0x4754f7=>{const _0x3dfbd4=_0x57d3b2;_0x4754f7[_0x3dfbd4(0x226)](_0x13cee5);});},_0x3446c2*0x2);this['_clearOtherTimers']['set'](_0x13cee5,_0x315f06);}[_0x2cf95d(0x3a4)](_0x245853){const _0x6f51cd=_0x2cf95d;if(this['_clearOtherTimers'][_0x6f51cd(0x2ac)](_0x245853)){const _0x5ef841=this[_0x6f51cd(0x299)][_0x6f51cd(0x3c7)](_0x245853);_0x5ef841&&window[_0x6f51cd(0x27e)](_0x5ef841),this['_clearOtherTimers']['set'](_0x245853,null);}}[_0x2cf95d(0x458)](_0x77558){const _0x1e4111=_0x2cf95d,{memberID:_0x57ee20,unitIDs:_0x2133cc}=_0x77558;_0x2133cc['forEach'](_0x2d75dc=>{const _0x3a9a87=_0x3278;var _0x47b2d8;const _0x4e8d0a=this[_0x3a9a87(0x452)][_0x3a9a87(0x3c7)](_0x2d75dc);_0x4e8d0a&&(_0x4e8d0a[_0x3a9a87(0x226)](_0x57ee20),(_0x47b2d8=this[_0x3a9a87(0x264)](_0x2d75dc))==null||_0x47b2d8['next'](_0x4e8d0a[_0x3a9a87(0x207)]===0x0?_0x5f2bfa[_0x3a9a87(0x2f2)][_0x3a9a87(0x1cc)]:_0x5f2bfa[_0x3a9a87(0x2f2)][_0x3a9a87(0x36f)]));}),this[_0x1e4111(0x3a4)](_0x57ee20);}[_0x2cf95d(0x37d)](_0x2da709){const _0x1bebfa=_0x2cf95d;this[_0x1bebfa(0x211)](_0x2da709[_0x1bebfa(0x300)]);}['_send'](_0x3aaa85){const _0x280fe8=_0x2cf95d;localStorage[_0x280fe8(0x2c8)](_0x119a9e,JSON[_0x280fe8(0x39f)](_0x3aaa85));}['_scheduleHeartbeat'](){const _0x26cb6d=_0x2cf95d;this[_0x26cb6d(0x2a1)]=window[_0x26cb6d(0x3c8)](()=>{const _0x1255de=_0x26cb6d;this[_0x1255de(0x2af)]({'type':0x2,'memberID':this[_0x1255de(0x1eb)]});},_0x3446c2);}[_0x2cf95d(0x264)](_0x5a8e5a){const _0x272eff=_0x2cf95d;return this[_0x272eff(0x3a8)]['has'](_0x5a8e5a)||this[_0x272eff(0x3a8)][_0x272eff(0x2f5)](_0x5a8e5a,new _0x35d2e5[(_0x272eff(0x27d))](_0x5f2bfa[_0x272eff(0x2f2)][_0x272eff(0x1cc)])),this[_0x272eff(0x3a8)]['get'](_0x5a8e5a);}}_0x4c7ce2['IURLService']=_0x5026ec,_0x4c7ce2[_0x2cf95d(0x351)]=_0xf90746,_0x4c7ce2[_0x2cf95d(0x2dd)]=_0x3c3c67,_0x4c7ce2[_0x2cf95d(0x271)]=_0x1dd4c1,Object['defineProperty'](_0x4c7ce2,Symbol[_0x2cf95d(0x463)],{'value':_0x2cf95d(0x2d6)});}));function _0x3278(_0x2e6791,_0xcae251){const _0x162bac=_0x162b();return _0x3278=function(_0x3278ca,_0x525628){_0x3278ca=_0x3278ca-0x19c;let _0x512220=_0x162bac[_0x3278ca];return _0x512220;},_0x3278(_0x2e6791,_0xcae251);}function _0x162b(){const _0x48d8fc=['ERROR_AGAIN','NOT_FOUND','data','_hideTimer','_docTransformStateCacheService','BuiltInUIPart','disposeWithMe','Success','START_CALCULATION','MOBILE_VERIFY_CODE_MISMATCH','redoState','setItem','setUndoRedoMutationParamsCache','_eventUnsubscribe','_setupSubUnitSync','includes','handleIRemoveCol','DocSkeletonManagerService','collaboration-client.offline-data-not-saved','entries','getMemberID','_startDocCollabCursor','collab-text-range-','REDEMPTION_USER_REDEEM_TIMES_EXCEED','CanceledError','Module','location','permission.title','toString','engine','stage','Loading','WebBrowserSingleActiveUnitService','text','onMouseMove','RichTextEditingMutation','@univerjs/engine-render','_anchor','SessionStatus','getCollabCursors$','FormulaExecuteStageType','from','LICENSE_DISTRO_REJECTED','collab-client.tooltip.reconnect','setStateCache','UniverProCollaborationClient','INVITE_CODE_ALREADY_BOUND','generateRandomId','TEXT_RANGE_LAYER_INDEX','rgba(255,\x20255,\x20255,\x200.01)','_onCursorUpdate','_initEvent','UNIVER_DOC','UnitStatus','NodePositionConvertToCursor','TEXT','set','InsertRangeMoveRightCommandId','OffLineIcon','_backgroundColor','_range','_setupBeforeClosingHandler','_lastResponseTimestamp','startsWith','REDEMPTION_CODE_NOT_STARTED','NOT_COLLAB','DocIMEInputManagerService','memberID','react','_cursor','_init','top','xlink:href','IBeforeCloseService','RemoteUniscriptService','resize','_localStorageService','Error','InsertRangeMoveDownCommandId','_injector','startRow','createElement','_collabCursorController','drawWith','executeCommand','defs','@univerjs/docs','1em','_themeService','push','_notificationService','UNIVER_SHEET','find','Rect','setConfig','syncEditingCollabCursor','Shape','COLORS','DependentOn','debounceTime','combineLatest','height','UPDATE_CURSOR','LOCAL_CACHE_INTERVAL','blue.400','InsertColCommandId','DocStateChangeManagerService','debug','roomMembers','onPointerLeave$','_getFormulaLimitStatus','values','updateOfflineData','_getAnchorBounding','textRanges','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','currentColor','SHEET_VIEWPORT_KEY','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','onPointerEnter$','subscribe','_online','CommandType','_draw','asObservable','LocaleService','attrs','currentSkeleton$','_localeService','_labelPosition','UNRECOGNIZED','APPLY_REVISION_CONFILICT','_initDependencies','72055USgrnr','some','ENTITLE_REPORT_LIMIT_EXCEED','addObject','_anchorDot','SUCCESS','getColorFromTheme','@univerjs-pro/collaboration-client','11025873LIUUIS','_shapes','_registerRenderDependencies','onRendered','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','replaceState','setShapeProps','SheetCollabCursorShape','_collabSessionService','deserializeRangeWithSheet','UNDEFINED','AWAITING','sheetId','limitInfo','setTimeout','dispose','getUnitId','type','forEach','_startCalculationLimit','_cursorShapes','_updateLocalCursor','YUUMI_NO_CUBOID_FOR_QUESTION','getConfig','loadUnit','getRenderById','collabStatus.syncing','handleInsertCol','REDEMPTION_USER_NOT_ELIGIBLE','defineProperty','with','_localCacheService','_disabled','white','_dataLoaderService','ENTITLE_DUP_SUBSCRIPTION','collabStatus.fetchMiss','OTHER_CLIENTS_EDITING','handleIRemoveRow','YUUMI_CONNECTOR_URL_NOT_FOUND','unshift','@univerjs/sheets-ui','_cachedData','href','parseInt','2595580nfTYZM','mapTo','substring','_getSaveTimeout','CollaborationController','@univerjs/rpc','_handleHeartbeatEvent','getCellPositionByOffset','url(#$1','getRangePointData','pushState','forwardRef','UniverRpc','registerRenderModule','ISnapshotServerService','USER_NOT_INVITED_CODE','ILogService','rxjs','FromArray','/run/','enableLocalCache','source','TRANSFORM_CHANGE_OBSERVABLE_TYPE','@univerjs/drawing','event$','SetWorksheetActivateCommand','INVITE_CODE_REQUIRED','_memberService','registerRefRange','undoState','colorChannel1','session.connection-failed','_startSheetCollabCursor','labelPosition','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','fromEventSubject','registerComponent','_refRangeService','MemberService','getUniverSheetInstance','stringify','_commandService','_scheduleHeartbeat','_docClipboardService','SNAPSHOT_HAS_BEEN_REMOVED','_removeClearOtherTimer','_session','LICENSE_IMPORT_SIZE_EXCEEDED','subUnitId','_unitStatus','_drawRectRange','_messageService','DeleteRangeMoveUpCommandId','getSheetBySheetId','registerBeforeClose','UniverProCollaboration','none','Injector','disposeUnit','serializeRangeWithSheet','code','OTHER_CLIENT_EDITING','RECT','uni.network.url-service','Unknown\x20user','setParam','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_updateURLWithCurrentState','show','_drawTextRange','measureText','color','ThemeService','assignAColorForMemberID','displayName','CONFLICT','1244793OGONGe','SetTextSelectionsOperation','_textBubble','fillRule','get','setInterval','_docTransformSelectionsService','?taskId=','APPLY_REJECT','_renderManagerService','http://www.w3.org/2000/svg','debounce','totalFormulasToCalculate','univer-flex\x20univer-items-center','HEADER_MENU','FETCH_MISS','AUTHORIZE_CODE_ILLEGAL','Tooltip','getColor','beforeCommandExecuted','658512uSFQcr','EffectRefRangId','_toggleOnline','body','_clearPolling','CollaborationUIEventId','split','DOC_RANGE_TYPE','_hover','trim','cursorInfo$','setAlpha','lineTo','IUIPartsService','_docTransformIMECacheService','length','fillStyle','_applyCommand','_updateCollabCursors','DEFAULT_WS_SESSION_TICKET_URL','send','INVALID_ARGUMENT','_transformPreviousActiveRange','_beforeCloseService','post','_univerInstanceService','getUnhiddenWorksheets','_initResize','error','transformByState','unit','_hasFormulaInDirtyRanges','APPLY_NON_SEQUENTIAL_REVISION','handleInsertRangeMoveRight','addHandlerCallback','Inject','off-line-icon_clip0_910_343','round','useDependency','_saveTaskMap','init','onTransformChange$','amd','getCoordByCell','UniverCollaborationClientPlugin','SOCKET_FAILED','ENTITLE_NEED_BILLING_ADDRESS','unitID','green.600','_registerDependencies','_pollingInterval','Tools','_saveCache','CollaborationUIEventService','INVITE_CODE_HAS_BEEN_UES','DisposableCollection','pipe','_releaseCalculationLimit','sessionStatus$','ICommandService','_checkCalculationAvailable','_initCommandInterceptor','selection','_hovered','focused$','DesktopCollaborationStatusDisplayController','_drawAnchor','exhaustSavingTask','IDocClipboardService','parse','_doCreateSocket','_handleHover','searchParams','SetFormulaCalculationStartMutation','#FFF','transformRemoteChangeset','mask','black','_createSocketURL','doc.mutation.rich-text-editing','[CollaborationDataLoaderController]','_initStatusListener','yellow.400','_onCursorDelete','min','@univerjs/engine-formula','INTERNAL_ERROR','getCurrentUnitForType','YUUMI_RATE_OVER_LIMIT','width','ALREADY_EXISTS','React','runOnServer','getformulaLimitStatusUrl','_httpService','fill','Failed','moveTo','getMergeData','_logService','collab-text-anchor-','DocSelectionManagerService','fillText','_docSyncEditingCollabCursorService','replaceDocRanges','maxFormulaLimit','switchMap','@univerjs/sheets','map','isActive','YUUMI_AI_RUN_FAILED','translate(.97)','handleDeleteRangeMoveUp','_revisionService','ENTITLE_INSUFFICIENT_QUOTA','transformStateCache','/universer-api/license/formula/limit/done','28RISMxj','formula.calculation.waiting','idSuffix','_docSkeletonManagerService','disableLocalCache','ranges','_unitOnClients','LOGIN_FAILED','_selfUnitIDs','_initCommandExecutedListener','EMAIL_HAS_BEEN_BOUND','getOwnPropertyDescriptor','_handleLeaveEvent','subunit','_docStateChangeManagerService','transform','univerjs-icon\x20univerjs-icon-','ISocketService','permission.content','status$','save','_scene','isFormulaId','toStringTag','session.will-retry','m2Prime','getAncestorScale','DeleteRangeMoveLeftCommandId','FormulaExecutedStateType','CollaborationStatus','eventID','rxjs/operators','Vector2','ACTIVE_UNIT_EVENT_CHANNEL','getViewport','CURRENT_STATUS_CANNOT_OPERATE','transformIMECache','_scheduleSaving','svg','contains','_instanceService','5341134NMnFOW','isTransformMutationFailure','endRow','children','_removeCollabCursors','getCellMatrix','CONNECTOR_DATA_TOO_LARGE','sessionTicket','editingUnit','getUndoRedoMutationParamsCache','_transformService','getActiveRange','hovered','_updateSubUnitFromURLParams','getRelativeToViewportCoord','replace','SOCKET_FAILED_RETRY','CollaborationSocketService','_config','collaboration.single-unit.warning','ONLINE','AWAITING_WITH_PENDING','YUUMI_ASYNCIO_CANCELLED','unitId','_imageIoService','restore','isTransformMutationsWithChangesetSuccess','getSheetId','isEditing','UNAUTHENTICATED','EMAIL_VERIFY_CODE_MISMATCH','shareReplay','REDEMPTION_INVALID_CODE','M0\x200H16V16H0z','on-line-icon_clip0_910_349','url(#off-line-icon_clip0_910_343)','tag','LOGIN_TOKEN_PROCESSING_FAILED','clearInterval','BrowserCollaborationSocketService','then','getStateCache','activeSheet$','shift','evenodd','NO_OTHER_CLIENTS_EDITING','registerDependencies','IMessageService','_getSheetObject','result','toRgbString','random','symbol','PY_RUNTIME_SCRIPT_ERROR','UniverUi','UniverCollaborationClientUIPlugin','handleInsertRow','USER_NOT_FOUND','filter','distinctUntilChanged','_checkAndWaitForCalculationPermission','@univerjs/design','jiqing.500','add','collaboration-client-ui.config','INVALID_INVITE_CODE','IConfigService','dispose$','path','createInstance','session.collaboration-timeout','_toggleOffline','getCurrentSelections','ITransformService','getTypeOfUnitDisposed$','reconnect','_id','@univerjs/ui','skeleton','currentTheme$','_render','getVpScrollXYInfoByPosToVp','max','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','startColumn','onPointerMove$','endColumn','whenReady','COMPLETION_FINISHED','SheetsSelectionsService','getValue','_color','getParam','collaboration.closeRoom','backgroundColor','_collaborationUIEventService','merge','LICENSE_MAX_UNITS_EXCEEDED','getLocalCacheKey','removeParam','_status$','20508350ShvQaB','UniverDocsUi','override','size','YUUMI_UNABLE_LOAD_URL','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','@univerjs-pro/collaboration','_handleEvent','string','use','getTypeOfUnitAdded$','DataLoaderService','ENTITLE_CHAT_LIMIT_EXCEED','_scheduleClearOtherTimer','_colorAssignService','CHANGESET_REVISION_CONFILICT','_initEntityListener','UniverEngineFormula','...','addObjects','RemoveColCommandId','NodePositionConvertToRectRange','SheetSkeletonManagerService','_cursors','getSkeleton','dirtyRanges','_handleJoinEvent','_lastPointer','USER_IS_ANONYMOUS','getUnit','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','docStateChange$','loadOfflineData','assign','delete','clsx','complete','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','getSheetObject','WECHAT_HAS_BEEN_BOUND','runId','selections','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','history','YUUMI_SUBSCRIPTION_NOT_FOUND','MOBILE_HAS_BEEN_BOUND','collabStatus.notCollab','ILocalCacheService','throttleTime','getFocusedUnit','toDisposable','unload','imageSourceType','UniverDrawing','_sheetSkeletonManagerService','params','_entityInit$','_configService','0\x200\x2017\x2016','8EVXJTG','CollaborationSessionService','saveTaskMap','findNodePositionByCharIndex','@univerjs/core','_currentUsage','OFFLINE','stageInfo','_entities','next','bottom','RefRangeService','VIEW_MAIN','column','_initStatusComponent','deepClone','onStarting','LOCAL_CACHE_INTERVAL_KEY','clipPath','pluginName','IRenderManagerService','ColorKit','releaseFormulaLimitUrl','OnLineIcon','createSocket','collab-rect-range-','RegularPolygon','hide','CollaborationDataLoaderController','jsx','UniverSheetsUi','sheetID','IUniverInstanceService','UniverProCollaborationClientUi','APPLY_PERMISSION_DENIED','collabStatus.conflict','RevisionService','_ensureSubject','fromEvent','/universer-api/license/formula/limit/status','_taskIds','MessageType','Warning','Disposable','_roomMembers$','SetFormulaCalculationNotificationMutation','application/json','range','PAYMENT_CHANNEL_NOT_SUPPORT','REDEMPTION_CODE_INACTIVE','WebURLService','ILocalStorageService','origin','_context','_refreshCollabCursors','HTTPService','_setFormulaLimitStatus','428XMgCBh','Plugin','_syncEditingCollabCursorService','_cursorInfo$','Rectangle','BehaviorSubject','clearTimeout','mutations','m1Prime','newValue','YUUMI_ALL_TABLES_IS_INVALID','transformSelections','urlChange$','_uiPartsService','TOO_MANY_REQUESTS','PERMISSION_DENIED','roomMembers$','onCommandExecuted','_urlService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_name','transformMutationsWithChangeset','name','now','currentUsage','UniverNetwork','USERS_LEAVE','_transformUndoRedoStack','LICENSE_EXPORT_SIZE_EXCEEDED','ENSURE_SNAPSHOT_EXECUTION','_maxFormulaLimit','cursorInfo','SetSelectionsOperation','_clearOtherTimers','UniverInstanceType','DATA_SOURCE_TOO_LARGE','RxDisposable','transformMutation','arc','0\x200\x2016\x2016','UniverDesign','_heartbeatTimer','object','subscribeEvent','requireSession','takeUntil','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_collaborationController','UniverSheets','isArray','REDEMPTION_CODE_FULLY_REDEEMED','_collabCursorState$','has','setActiveRange','wsSessionTicketUrl','_send','_colorIndex','beginPath','/universer-api/license/formula/limit/start','_assignedColors','useCallback','useRef','_transformHistoryAndStateStack','row','CollaborationEvent','YUUMI_URL_COL_OUT_OF_RANGE','_onRefRangeChange','startFormulaLimitUrl','url(#on-line-icon_clip0_910_349)'];_0x162b=function(){return _0x48d8fc;};return _0x162b();}
|