@univerjs-pro/collaboration-client-ui 0.14.0-insiders.20251222-4efcfbb → 0.14.0-insiders.20251227-b250a8d

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.
Files changed (53) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ja-JP.js +1 -1
  9. package/lib/cjs/locale/ko-KR.js +1 -1
  10. package/lib/cjs/locale/ru-RU.js +1 -1
  11. package/lib/cjs/locale/vi-VN.js +1 -1
  12. package/lib/cjs/locale/zh-CN.js +1 -1
  13. package/lib/cjs/locale/zh-TW.js +1 -1
  14. package/lib/es/facade.js +1 -1
  15. package/lib/es/index.js +1 -1
  16. package/lib/es/locale/ca-ES.js +1 -1
  17. package/lib/es/locale/en-US.js +1 -1
  18. package/lib/es/locale/es-ES.js +1 -1
  19. package/lib/es/locale/fa-IR.js +1 -1
  20. package/lib/es/locale/fr-FR.js +1 -1
  21. package/lib/es/locale/ja-JP.js +1 -1
  22. package/lib/es/locale/ko-KR.js +1 -1
  23. package/lib/es/locale/ru-RU.js +1 -1
  24. package/lib/es/locale/vi-VN.js +1 -1
  25. package/lib/es/locale/zh-CN.js +1 -1
  26. package/lib/es/locale/zh-TW.js +1 -1
  27. package/lib/facade.js +1 -1
  28. package/lib/index.js +1 -1
  29. package/lib/locale/ca-ES.js +1 -1
  30. package/lib/locale/en-US.js +1 -1
  31. package/lib/locale/es-ES.js +1 -1
  32. package/lib/locale/fa-IR.js +1 -1
  33. package/lib/locale/fr-FR.js +1 -1
  34. package/lib/locale/ja-JP.js +1 -1
  35. package/lib/locale/ko-KR.js +1 -1
  36. package/lib/locale/ru-RU.js +1 -1
  37. package/lib/locale/vi-VN.js +1 -1
  38. package/lib/locale/zh-CN.js +1 -1
  39. package/lib/locale/zh-TW.js +1 -1
  40. package/lib/umd/facade.js +1 -1
  41. package/lib/umd/index.js +1 -1
  42. package/lib/umd/locale/ca-ES.js +1 -1
  43. package/lib/umd/locale/en-US.js +1 -1
  44. package/lib/umd/locale/es-ES.js +1 -1
  45. package/lib/umd/locale/fa-IR.js +1 -1
  46. package/lib/umd/locale/fr-FR.js +1 -1
  47. package/lib/umd/locale/ja-JP.js +1 -1
  48. package/lib/umd/locale/ko-KR.js +1 -1
  49. package/lib/umd/locale/ru-RU.js +1 -1
  50. package/lib/umd/locale/vi-VN.js +1 -1
  51. package/lib/umd/locale/zh-CN.js +1 -1
  52. package/lib/umd/locale/zh-TW.js +1 -1
  53. package/package.json +19 -19
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x1e66(_0x368618,_0x12dd62){_0x368618=_0x368618-0x7c;const _0x2718a2=_0x2718();let _0x1e66cb=_0x2718a2[_0x368618];return _0x1e66cb;}function _0x2718(){const _0x57fe72=['_assignedColors','RefRangeService','MoveRangeCommandId','red.300','_online','BehaviorSubject','_collaborationController','formula.calculation.unable','_localCacheService','_refreshCollabCursors','YUUMI_NO_CUBOID_FOR_QUESTION','createIdentifier','getCurrentRevOfUnit','_startDocCollabCursor','ENTITLE_INVALID_COUPON_CODE','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_registerDependencies','OffLineIcon','_updateCollabCursors','_unitOnClients','CHANGESET_REVISION_CONFILICT','init','ICommandService','DependentOn','object','permission.content','_saveCache','fromEvent','clsx','UNAUTHENTICATED','focused$','getUndoRedoMutationParamsCache','EffectRefRangId','FormulaExecuteStageType','_applyCommand','PENDING','transformMutationsWithChangeset','_docTransformIMECacheService','range','fill','doc.mutation.rich-text-editing','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_refRangeService','Unknown\x20user','_sheetSkeletonManagerService','generateRandomId','registerBeforeClose','UniverDesign','addClipboardHook','_transformUndoRedoStack','sessionStatus$','UNDEFINED','_docSkeleton','_range','getActiveSheet','_notificationService','_beforeCloseService','useRef','@univerjs/sheets','BuiltInUIPart','length','handleIRemoveRow','INVITE_CODE_ALREADY_BOUND','IRenderManagerService','_handleJoinEvent','row','_config','YUUMI_SUBSCRIPTION_NOT_FOUND','_entityInit$','_urlService','_handleLeaveEvent','_docSkeletonManagerService','getLocalCacheKey','RemoteUniscriptService','some','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_setFormulaLimitStatus','InsertRangeMoveRightCommandId','startFormulaLimitUrl','getCellPositionByOffset','OnLineIcon','getSheetBySheetId','rgba(255,\x20255,\x20255,\x200.01)','SHEET_VIEWPORT_KEY','string','_initUnhandledRejectionListener','addObjects','body','fillStyle','_cursorShapes','message','APPLY_REJECT','useCallback','_setupBeforeClosingHandler','getUniverSheetInstance','exports','_cursor','ranges','cursorInfo$','IMessageService','_getMergeRange','drawWith','_hover','_onCursorDelete','SheetCollabCursorShape','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','transformByState','add','resize','IRemoteInstanceService','DisposableCollection','DocSkeletonManagerService','SUBMIT_CHANGESET_TIMEOUT','ENTITLE_INSUFFICIENT_QUOTA','collabStatus.notCollab','AUTHORIZE_CODE_ILLEGAL','_removeCollabCursors','filter','_messageService','[CollaborationDataLoaderController]','USER_NOT_INVITED_CODE','isArray','ALREADY_EXISTS','enableLocalCache','params','_currentUsage','all','getColor','ENTITLE_COUPON_USED_UP','_send','registerComponent','UniverProCollaborationClientUi','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','removeEventListener','IUniverInstanceService','DeleteRangeMoveUpCommandId','getCellMatrix','_commandService','urlChange$','Subject','origin','_collabCursorController','_monkeyPatchLogService','_cursors','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','catch','replace','UniverRpc','DATA_SOURCE_TOO_LARGE','handleInsertRangeMoveDown','/universer-api/license/formula/limit/start','_toggleOffline','_showGuardMessage','runId','undoState','WebSocketService','closePath','actions','transformStateCache','INotificationService','evenodd','forEach','endRow','RegularPolygon','isActive','WebBrowserSingleActiveUnitService','ThemeService','_localStorageService','Inject','getMergeData','_saveTaskMap','_clearOtherTimers','switchMap','mergeOverrideWithDependencies','subscribe','react/jsx-runtime','UniverInstanceType','getVpScrollXYInfoByPosToVp','LICENSE_DISTRO_REJECTED','OTHER_CLIENTS_EDITING','_uploadLog','pushState','size','engine','USER_IS_ANONYMOUS','ILocalCacheService','with','CollaborationStatus','setTimeout','_getScale','EMAIL_VERIFY_CODE_MISMATCH','CollaborationSocketService','UNIVER_SHEET','debounce','BrowserCollaborationSocketService','popstate','_drawRectRange','USER_NOT_FOUND','_initCommandInterceptor','_memberService','YUUMI_RATE_OVER_LIMIT','handleInsertRangeMoveRight','attrs','SetDocZoomRatioOperation','VIEW_MAIN','_startSheetCollabCursor','MOBILE_HAS_BEEN_BOUND','DesktopCollaborationStatusDisplayController','tag','toStringTag','Optional','set','docStateChange$','MemberService','REDEMPTION_CODE_NOT_STARTED','DOC_RANGE_TYPE','transform','unload','selection','getStateCache','clearInterval','CommandType','activeSheet$','createInstance','_checkAndWaitForCalculationPermission','session.collaboration-timeout','UNIVER_DOC','saveTaskMap','shift','HEADER_MENU','dispose','DocSelectionManagerService','eventID','jsxs','onMouseMove','collaboration.single-unit.warning','RevisionService','DocIMEInputManagerService','search','YUUMI_URL_COL_OUT_OF_RANGE','session.connection-failed','ENTITLE_USE_COUPON_NOT_1ST_TRADE','disposeUnit','enableFrontendLog','url(#on-line-icon_clip0_910_349)','_name','startColumn','lineno','_getSheetObject','getCollabCursors$','react','pipe','ILocalStorageService','univerjs-icon\x20univerjs-icon-','APPLY_PERMISSION_DENIED','runOnServer','LocaleService','next','_checkCalculationAvailable','currentSkeleton$','UniverDocs','_httpService','storage','Loading','useObservable','ENSURE_SNAPSHOT_EXECUTION','CollaborationEvent','fromEventSubject','Failed','_shapes','_color','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','save','Vector2','getValue','YUUMI_UNABLE_LOAD_URL','replaceState','IURLService','_unitStatus','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','_ensureSubject','searchParams','M0\x200H16V16H0z','idSuffix','mapTo','socket$','collaboration-client-ui.config','children','from','isFormulaId','now','SheetSkeletonManagerService','imageSourceType','includes','CollaborationSessionService','deepClone','toRgbString','LOCAL_CACHE_INTERVAL','on-line-icon','join','textRanges','_labelPosition','8071AcqdMz','UniverEngineFormula','invokeId','exhaustSavingTask','_updateURLWithCurrentState','[Window\x20Error]:\x20','@univerjs/core','UPDATE_CURSOR','history','push','univer-mr-2\x20univer-flex\x20univer-text-xl','restore','ACTIVE_UNIT_EVENT_CHANNEL','INVALID_ARGUMENT','Error','_initCommandExecutedListener','_revisionService','operators','loadUnit','ColorKit','yellow.400','_context','entityInit$','path','_hovered','dispose$','SetFormulaCalculationNotificationMutation','collab-text-anchor-','disposeWithMe','getOwnPropertyDescriptor','YUUMI_ALL_TABLES_IS_INVALID','34053310lIlTYb','_disabled','_docClipboardService','getParam','NO_OTHER_CLIENTS_EDITING','setParam','_imageIoService','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getTypeOfUnitAdded$','YUUMI_CONNECTOR_URL_NOT_FOUND','requireSession','url(#$1','collabStatus.conflict','height','1LOIPLT','NOT_COLLAB','createElement','_anchor','PERMISSION_DENIED','startsWith','lineTo','...','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_dataLoaderService','wsSessionTicketUrl','cursorInfo','_pollingInterval','_localeService','startRow','width','defineProperty','subscribeEvent','_handleHeartbeatEvent','_entities','getSheetObject','_getFormulaLimitStatus','min','ISnapshotServerService','ILogService','134187gOaRkp','WECHAT_HAS_BEEN_BOUND','APPLY_NON_SEQUENTIAL_REVISION','getCurrentSelections','_collabCursorState$','substring','subUnitId','href','PY_RUNTIME_SCRIPT_ERROR','_scene','setAlpha','HTTPService','show','syncEditingCollabCursor','unsubscribe','onPointerLeave$','_doCreateSocket','stringify','IConfigService','REDEMPTION_CODE_HAS_BEEN_CREATED','text','translate(.97)','CONFLICT','clipPath','use','OFFLINE','rxjs','fillText','6473727mmaxez','toString','onCommandExecuted','useDependency','ERROR_AGAIN','Tools','UniverDocsUi','_hideTimer','m2Prime','CollaborationController','sheetID','6827490CGUTHC','subunit','SetWorksheetActivateCommand','newValue','LICENSE_MAX_UNITS_EXCEEDED','FromArray','_initEvent','_initStatusListener','EMAIL_HAS_BEEN_BOUND','column','_docTransformStateCacheService','@univerjs-pro/collaboration-client','_drawAnchor','transformIMECache','11nPfIFc','shareReplay','ONLINE','UNRECOGNIZED','combineLatest','3439405LBcxEX','MessageType','NOT_FOUND','UniverCollaborationClientPlugin','@univerjs/rpc','_drawTextRange','TOO_MANY_REQUESTS','post','IDocClipboardService','_scheduleClearOtherTimer','_initEntityListener','TEXT','touchDependencies','SetSelectionsOperation','getItem','_scheduleHeartbeat','editingUnit','arc','white','_handleEvent','complete','_backgroundColor','none','_logService','@univerjs/network','_heartbeatTimer','LICENSE_IMPORT_SIZE_EXCEEDED','get','NodePositionConvertToCursor','REDEMPTION_CODE_FULLY_REDEEMED','map','UniverCollaborationClientUIPlugin','_taskIds','@univerjs/sheets-ui','UnitStatus','Rect','handleIRemoveCol','_selfUnitIDs','unhandledrejection','hide','whenReady','@univerjs/ui','DocStateChangeManagerService','reason','_id','limitInfo','_colorIndex','LOGIN_TOKEN_PROCESSING_FAILED','_transformPreviousActiveRange','_instanceService','getConfig','getDocRanges','has','_themeService','CollaborationDataLoaderController','delete','type','getRangePointData','/universer-api/license/formula/limit/done','_lastResponseTimestamp','_init','_removeClearOtherTimer','ITransformService','dirtyRanges','ENTITLE_CAN_NOT_BUY_LOWER_OTP','sheetId','SOCKET_FAILED_RETRY','reconnect','CollaborationUIEventId','handleMoveRange','UniverProCollaborationClient','Workbook','handleDeleteRangeMoveUp','REDEMPTION_USER_NOT_ELIGIBLE','currentTheme$','_uiPartsService','makeDirty','beforeCommandExecuted','colorChannel1','getCoordByCell','collabStatus.offline','roomMembers','stageInfo','\x20at\x20','getColorFromTheme','SessionStatus','executeCommand','collab-rect-range-','debug','handleInsertRow','React','getOffsetConfig','rxjs/operators','INTERNAL_ERROR','_initStatusComponent','transformMutation','JOIN_ROOM_FAILED','setActiveRange','_initResize','SUCCESS','_docStateChangeManagerService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_renderManagerService','getformulaLimitStatusUrl','COLORS','_onCursorUpdate','distinctUntilChanged','collaboration.offline-data-not-saved','_cursorInfo$','getTypeOfUnitDisposed$','unitId','registerRefRange','toDisposable','onPointerMove$','getRelativeToViewportCoord','getAncestorScale','Disposable','assign','getFocusedUnit','INVITE_CODE_HAS_BEEN_UES','[LogService\x20Error]:\x20','_render','getViewport','session.will-retry','ENTITLE_NEED_BILLING_ADDRESS','replaceDocRanges','YUUMI_AI_RUN_FAILED','_getSessionTicket','Module','uni.network.url-service','handleDeleteRangeMoveLeft','formula.calculation.started','RichTextEditingMutation','memberID','ticket','_updateLocalCursor','_collaborationUIEventService','then','roomMembers$','1em','skeleton','currentUsage','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','values','setStateCache','split','createSocket','current','MUTATION','@univerjs-pro/collaboration','_configService','CanceledError','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','UniverDrawing','m1Prime','INVALID_INVITE_CODE','collabCursorState$','_setupSubUnitSync','/run/','blue.400','updateOfflineData','/universer-api/frontend/logs','disableLocalCache','registerRenderModule','_document','getCurrentUnitForType','selections','FormulaExecutedStateType','0\x200\x2017\x2016','SheetsSelectionsService','getActiveRange','Plugin','NodePositionConvertToRectRange','USERS_LEAVE','OTHER_CLIENT_EDITING','isTransformMutationFailure','RxDisposable','collaboration.closeRoom','addObject','getSheetId','_toggleOnline','displayName','setUndoRedoMutationParamsCache','CLOSE_ROOM','onTransformChange$','bottom','_maxFormulaLimit','top','_scheduleSaving','status$','_onRefRangeChange','2814290urMAHX','assignAColorForMemberID','removeParam','_collabSessionService','ENTITLE_DUP_SUBSCRIPTION','AWAITING_WITH_PENDING','COMPLETION_FINISHED','_transformService','SNAPSHOT_HAS_BEEN_REMOVED','7096uBpoDC','takeUntil','INVITE_CODE_REQUIRED','_eventUnsubscribe','on-line-icon_clip0_910_349','connectInjector','_docSyncEditingCollabCursorService','_startCalculationLimit','find','YUUMI_ASYNCIO_CANCELLED','RemoveColCommandId','debounceTime','saveImage','_updateSubUnitFromURLParams','FETCH_MISS','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','triggerDblclick','_colorAssignService','jsx','forwardRef','getCurrent','_lastPointer','_session','CONNECTOR_DATA_TOO_LARGE','function','redoState','_docTransformSelectionsService','round','RemoveRowCommandId','override','_handleHover','InsertRangeMoveDownCommandId','Rectangle','_cachedData','setConfig','svg','endColumn','_draw','onPointerEnter$','RECT','getUnitId','_roomMembers$','mask','event$','_status$','setItem','permission.title','PAYMENT_CHANNEL_NOT_SUPPORT','off-line-icon_clip0_910_343','getMemberID','asObservable','getRenderById','error','_getAnchorBounding','setShapeProps','@univerjs/design','REDEMPTION_INVALID_CODE','labelPosition','_getSaveTimeout','collab-client.tooltip.reconnect','findNodePositionByCharIndex','entries','parseInt','UniverNetwork','collabStatus.syncing','WebURLService','DataLoaderService','name','ENTITLE_COUPON_EXPIRED','_univerInstanceService','color','ENTITLE_CHAT_LIMIT_EXCEED','Warning','sessionTicket','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_memberID','_anchorDot','0\x200\x2016\x2016','code','LOGIN_FAILED','_syncEditingCollabCursorService','_transformHistoryAndStateStack','mutations','_injector','transformSelections','_collaborationSessionService','bind','data','_initUserListener','unshift','symbol','_clearPolling','serializeRangeWithSheet','div','UniverSheetsUi','send','amd','xlink:href','TEXT_RANGE_LAYER_INDEX','Injector','merge','transformRemoteChangeset','36yzDiQT','_createSocketURL','onStarting','collabStatus.fetchMiss','location','_releaseCalculationLimit','defs','stack','contains','SNAPSHOT_INVALID_SNAPSHOT','measureText','getSkeleton','currentColor','CURRENT_STATUS_CANNOT_OPERATE','_textBubble','backgroundColor','UniverCore','getMember','filename','isTransformMutationsWithChangesetSuccess','_initDependencies','unitID','executionId','ENTITLE_REPORT_LIMIT_EXCEED','_registerRenderDependencies','clearTimeout','APPLY_DUPLICATED','releaseFormulaLimitUrl','black','LOCAL_CACHE_INTERVAL_KEY','unit','LICENSE_EXPORT_SIZE_EXCEEDED'];_0x2718=function(){return _0x57fe72;};return _0x2718();}(function(_0x12d4ee,_0x1a9f86){const _0xc23ec3=_0x1e66,_0x43f756=_0x12d4ee();while(!![]){try{const _0xe12b08=-parseInt(_0xc23ec3(0x345))/0x1*(parseInt(_0xc23ec3(0x15b))/0x2)+parseInt(_0xc23ec3(0x35e))/0x3*(-parseInt(_0xc23ec3(0x1ca))/0x4)+parseInt(_0xc23ec3(0x9c))/0x5+-parseInt(_0xc23ec3(0x89))/0x6+-parseInt(_0xc23ec3(0x318))/0x7*(parseInt(_0xc23ec3(0x164))/0x8)+parseInt(_0xc23ec3(0x7e))/0x9+parseInt(_0xc23ec3(0x337))/0xa*(parseInt(_0xc23ec3(0x97))/0xb);if(_0xe12b08===_0x1a9f86)break;else _0x43f756['push'](_0x43f756['shift']());}catch(_0xd2629e){_0x43f756['push'](_0x43f756['shift']());}}}(_0x2718,0xcd9c7),function(_0x52d851,_0x7a363c){const _0x31edaa=_0x1e66;typeof exports==_0x31edaa(0x202)&&typeof module<'u'?_0x7a363c(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==_0x31edaa(0x17c)&&define[_0x31edaa(0x1c4)]?define([_0x31edaa(0x249),_0x31edaa(0x299),_0x31edaa(0x94),_0x31edaa(0x31e),_0x31edaa(0xc5),_0x31edaa(0x7c),_0x31edaa(0x19b),_0x31edaa(0x2e4),_0x31edaa(0xa0),_0x31edaa(0x224),'@univerjs/engine-render',_0x31edaa(0xb4),'@univerjs/docs-ui','@univerjs/drawing',_0x31edaa(0x131),'@univerjs/docs','@univerjs/engine-formula',_0x31edaa(0xf8),_0x31edaa(0xbd)],_0x7a363c):(_0x52d851=typeof globalThis<'u'?globalThis:_0x52d851||self,_0x7a363c(_0x52d851[_0x31edaa(0x26d)]={},_0x52d851[_0x31edaa(0xf6)],_0x52d851[_0x31edaa(0xe2)],_0x52d851[_0x31edaa(0x1da)],_0x52d851['UniverUi'],_0x52d851[_0x31edaa(0x7c)],_0x52d851[_0x31edaa(0x219)],_0x52d851[_0x31edaa(0xf6)],_0x52d851[_0x31edaa(0x27d)],_0x52d851['UniverSheets'],_0x52d851['UniverEngineRender'],_0x52d851[_0x31edaa(0x1a3)],_0x52d851[_0x31edaa(0x84)],_0x52d851[_0x31edaa(0x135)],_0x52d851['UniverProCollaboration'],_0x52d851[_0x31edaa(0x2ee)],_0x52d851[_0x31edaa(0x319)],_0x52d851[_0x31edaa(0x7c)][_0x31edaa(0x329)],_0x52d851[_0x31edaa(0x1c2)]));}(this,function(_0x3f4a63,_0x41e554,_0x48f853,_0x1c11c7,_0x228868,_0x22d1cd,_0xf1d46,_0xa42a00,_0x53c711,_0x2997e1,_0x3af7ee,_0x5da135,_0x285a4f,_0x888592,_0x2b25e3,_0x23d37b,_0x47ccfe,_0x59ca5d,_0x6f2857){'use strict';const _0x3e2a0c=_0x1e66;var _0x5c95c4=Object['defineProperty'],_0x4f0404=(_0x42ccfb,_0x315efd,_0x44a30d)=>_0x315efd in _0x42ccfb?_0x5c95c4(_0x42ccfb,_0x315efd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x44a30d}):_0x42ccfb[_0x315efd]=_0x44a30d,_0x59b886=(_0xa3c1b9,_0xc2d5b3,_0xee0a62)=>_0x4f0404(_0xa3c1b9,typeof _0xc2d5b3!=_0x3e2a0c(0x1be)?_0xc2d5b3+'':_0xc2d5b3,_0xee0a62);function _0x192875({ref:_0x83c21e,..._0x47c0a8}){const _0x5775e0=_0x3e2a0c,{icon:_0x123670,id:_0x579737,className:_0x2145c0,extend:_0x52c627,..._0x2e8322}=_0x47c0a8,_0x127ff0=(_0x5775e0(0x2e7)+_0x579737+'\x20'+(_0x2145c0||''))['trim'](),_0x95259e=_0xa42a00[_0x5775e0(0x223)]('_'+_0xe685f3());return _0x40317a(_0x123670,''+_0x579737,{'defIds':_0x123670['defIds'],'idSuffix':_0x95259e[_0x5775e0(0x12f)]},{'ref':_0x83c21e,'className':_0x127ff0,..._0x2e8322},_0x52c627);}function _0x40317a(_0x321978,_0x4668e9,_0x3af284,_0x24c6c9,_0x3a4cbe){const _0x363945=_0x3e2a0c;return _0xa42a00[_0x363945(0x347)](_0x321978[_0x363945(0x2ba)],{'key':_0x4668e9,..._0x297a11(_0x321978,_0x3af284,_0x3a4cbe),..._0x24c6c9},(_0x28af11(_0x321978,_0x3af284)[_0x363945(0x309)]||[])['map']((_0x562193,_0x2e55ed)=>_0x40317a(_0x562193,_0x4668e9+'-'+_0x321978[_0x363945(0x2ba)]+'-'+_0x2e55ed,_0x3af284,void 0x0,_0x3a4cbe)));}function _0x297a11(_0xf9f763,_0xea7fc3,_0x3aaec9){const _0x49aab6=_0x3e2a0c,_0x509cdb={..._0xf9f763[_0x49aab6(0x2b4)]};_0x3aaec9!=null&&_0x3aaec9[_0x49aab6(0xea)]&&_0x509cdb[_0x49aab6(0x211)]===_0x49aab6(0xea)&&(_0x509cdb['fill']=_0x3aaec9[_0x49aab6(0xea)]),_0xf9f763[_0x49aab6(0x2ba)]==='mask'&&_0x509cdb['id']&&(_0x509cdb['id']=_0x509cdb['id']+_0xea7fc3[_0x49aab6(0x305)]),Object[_0x49aab6(0x1a1)](_0x509cdb)[_0x49aab6(0x28b)](([_0x23030a,_0x184c21])=>{const _0x54a1bc=_0x49aab6;_0x23030a===_0x54a1bc(0x18e)&&typeof _0x184c21=='string'&&(_0x509cdb[_0x23030a]=_0x184c21[_0x54a1bc(0x27c)](/url\(#(.*)\)/,_0x54a1bc(0x342)+_0xea7fc3[_0x54a1bc(0x305)]+')'));});const {defIds:_0xdab088}=_0xea7fc3;return!_0xdab088||_0xdab088[_0x49aab6(0x226)]===0x0||(_0xf9f763[_0x49aab6(0x2ba)]===_0x49aab6(0x376)&&_0x509cdb[_0x49aab6(0x1c5)]&&(_0x509cdb['xlink:href']=_0x509cdb[_0x49aab6(0x1c5)]+_0xea7fc3[_0x49aab6(0x305)]),Object['entries'](_0x509cdb)[_0x49aab6(0x28b)](([_0x3bfe56,_0x18831e])=>{const _0xc91417=_0x49aab6;typeof _0x18831e==_0xc91417(0x23e)&&(_0x509cdb[_0x3bfe56]=_0x18831e[_0xc91417(0x27c)](/url\(#(.*)\)/,'url(#$1'+_0xea7fc3[_0xc91417(0x305)]+')'));})),_0x509cdb;}function _0x28af11(_0x2f88f6,_0x593348){const _0x5b18a3=_0x3e2a0c;var _0x2e6304;const {defIds:_0xf9f10c}=_0x593348;return!_0xf9f10c||_0xf9f10c[_0x5b18a3(0x226)]===0x0?_0x2f88f6:_0x2f88f6[_0x5b18a3(0x2ba)]===_0x5b18a3(0x1d0)&&((_0x2e6304=_0x2f88f6['children'])!=null&&_0x2e6304[_0x5b18a3(0x226)])?{..._0x2f88f6,'children':_0x2f88f6[_0x5b18a3(0x309)][_0x5b18a3(0xba)](_0x3ef6e7=>typeof _0x3ef6e7[_0x5b18a3(0x2b4)]['id']==_0x5b18a3(0x23e)&&_0xf9f10c&&_0xf9f10c[_0x5b18a3(0x30f)](_0x3ef6e7[_0x5b18a3(0x2b4)]['id'])?{..._0x3ef6e7,'attrs':{..._0x3ef6e7[_0x5b18a3(0x2b4)],'id':_0x3ef6e7[_0x5b18a3(0x2b4)]['id']+_0x593348[_0x5b18a3(0x305)]}}:_0x3ef6e7)}:_0x2f88f6;}function _0xe685f3(){const _0x51a8f5=_0x3e2a0c;return Math['random']()['toString'](0x24)[_0x51a8f5(0x363)](0x2,0x8);}_0x192875[_0x3e2a0c(0x151)]='UniverIcon';const _0x4aa54e={'tag':_0x3e2a0c(0x187),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3e2a0c(0xb2),'viewBox':_0x3e2a0c(0x1b1),'width':_0x3e2a0c(0x127),'height':_0x3e2a0c(0x127)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x3e2a0c(0x32f),'attrs':{'stroke':_0x3e2a0c(0x1d6),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':'round','strokeLinejoin':_0x3e2a0c(0x17f),'strokeWidth':1.2}}]},{'tag':_0x3e2a0c(0x1d0),'attrs':{},'children':[{'tag':_0x3e2a0c(0x375),'attrs':{'id':_0x3e2a0c(0x194)},'children':[{'tag':_0x3e2a0c(0x32f),'attrs':{'fill':'white','d':_0x3e2a0c(0x304)}}]}]}],'defIds':[_0x3e2a0c(0x194)]},_0x35022e=_0xa42a00[_0x3e2a0c(0x177)](function(_0x497b91,_0x414c13){return _0xa42a00['createElement'](_0x192875,Object['assign']({},_0x497b91,{'id':'off-line-icon','ref':_0x414c13,'icon':_0x4aa54e}));});_0x35022e['displayName']=_0x3e2a0c(0x1fb);const _0x371b24={'tag':'svg','attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x3e2a0c(0xb2),'viewBox':_0x3e2a0c(0x144),'width':_0x3e2a0c(0x127),'height':_0x3e2a0c(0x127)},'children':[{'tag':'g','attrs':{'clipPath':_0x3e2a0c(0x2de)},'children':[{'tag':_0x3e2a0c(0x32f),'attrs':{'stroke':_0x3e2a0c(0x1d6),'d':_0x3e2a0c(0x134),'strokeLinecap':_0x3e2a0c(0x17f),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x3e2a0c(0x1d0),'attrs':{},'children':[{'tag':_0x3e2a0c(0x375),'attrs':{'id':_0x3e2a0c(0x168)},'children':[{'tag':'path','attrs':{'fill':_0x3e2a0c(0xae),'d':_0x3e2a0c(0x304),'transform':_0x3e2a0c(0x373)}}]}]}],'defIds':[_0x3e2a0c(0x168)]},_0x45d03e=_0xa42a00[_0x3e2a0c(0x177)](function(_0x1d9515,_0x4eec0d){const _0x15ca19=_0x3e2a0c;return _0xa42a00[_0x15ca19(0x347)](_0x192875,Object[_0x15ca19(0x111)]({},_0x1d9515,{'id':_0x15ca19(0x314),'ref':_0x4eec0d,'icon':_0x371b24}));});_0x45d03e[_0x3e2a0c(0x151)]=_0x3e2a0c(0x23a);function _0x196918(_0x35d131){const _0x1e54c3=_0x3e2a0c;switch(_0x35d131){case _0x48f853[_0x1e54c3(0x2a5)][_0x1e54c3(0x377)]:return _0x1e54c3(0xec);case _0x48f853[_0x1e54c3(0x2a5)][_0x1e54c3(0x374)]:return _0x1e54c3(0x343);case _0x48f853[_0x1e54c3(0x2a5)][_0x1e54c3(0x172)]:return _0x1e54c3(0x1cd);case _0x48f853[_0x1e54c3(0x2a5)][_0x1e54c3(0x346)]:return _0x1e54c3(0x25c);case _0x48f853['CollaborationStatus']['AWAITING']:case _0x48f853['CollaborationStatus'][_0x1e54c3(0x160)]:return _0x1e54c3(0x1a4);case _0x48f853[_0x1e54c3(0x2a5)]['SYNCED']:case _0x48f853[_0x1e54c3(0x2a5)][_0x1e54c3(0x20d)]:return'collabStatus.synced';}}function _0x842f1d(_0x36327b){const _0x42019e=_0x3e2a0c,{status$:_0xcaace}=_0x36327b,_0x42c36e=_0x228868[_0x42019e(0x2f2)](_0xcaace,_0x48f853['CollaborationStatus'][_0x42019e(0x346)]),_0x3042de=_0x228868['useDependency'](_0x1c11c7[_0x42019e(0x2ea)]),_0x168eb5=_0x228868[_0x42019e(0x81)](_0x48f853[_0x42019e(0x310)]),_0x15f6c0=_0x42c36e!==_0x48f853[_0x42019e(0x2a5)][_0x42019e(0x377)],_0x515f12=_0x3042de['t'](_0x196918(_0x42c36e)),_0x34682f=_0x15f6c0?_0x41e554[_0x42019e(0x176)](_0x45d03e,{}):_0x41e554[_0x42019e(0x176)](_0x35022e,{}),_0x12ea58=_0xa42a00[_0x42019e(0x246)](()=>{const _0x278725=_0x42019e;_0x15f6c0||_0x168eb5[_0x278725(0xdf)]();},[_0x15f6c0,_0x168eb5]);function _0x10a68b(){const _0x3aa09b=_0x42019e;return _0x41e554[_0x3aa09b(0x2d3)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x12ea58,'children':[_0x41e554[_0x3aa09b(0x176)](_0x3aa09b(0x1c1),{'className':_0xf1d46[_0x3aa09b(0x206)](_0x3aa09b(0x322),{'univer-text-green-500':_0x15f6c0,'univer-text-red-500':!_0x15f6c0}),'children':_0x34682f}),_0x41e554[_0x3aa09b(0x176)](_0x3aa09b(0x1c1),{'className':_0x3aa09b(0x26e),'children':_0x515f12})]});}return _0x15f6c0?_0x10a68b():_0x41e554[_0x42019e(0x176)](_0xf1d46['Tooltip'],{'title':_0x3042de['t'](_0x42019e(0x19f)),'children':_0x10a68b()});}var _0x4c34ea=Object[_0x3e2a0c(0x335)],_0x339828=(_0x262e7e,_0x2f561f,_0x4c940f,_0x28787e)=>{const _0x399719=_0x3e2a0c;for(var _0x5ce1c8=_0x28787e>0x1?void 0x0:_0x28787e?_0x4c34ea(_0x2f561f,_0x4c940f):_0x2f561f,_0x3f8c61=_0x262e7e[_0x399719(0x226)]-0x1,_0x2fa9c1;_0x3f8c61>=0x0;_0x3f8c61--)(_0x2fa9c1=_0x262e7e[_0x3f8c61])&&(_0x5ce1c8=_0x2fa9c1(_0x5ce1c8)||_0x5ce1c8);return _0x5ce1c8;},_0xd9eb54=(_0x5b7fd7,_0x27161f)=>(_0x52cb93,_0x3c8d53)=>_0x27161f(_0x52cb93,_0x3c8d53,_0x5b7fd7);_0x3f4a63[_0x3e2a0c(0x2b9)]=class extends _0x1c11c7[_0x3e2a0c(0x110)]{constructor(_0x287e49,_0x21a065,_0x3f72b0,_0x165bb1){const _0x271498=_0x3e2a0c;super(),_0x59b886(this,_0x271498(0x190),new _0x22d1cd[(_0x271498(0x1ef))](_0x48f853[_0x271498(0x2a5)][_0x271498(0x346)])),(this[_0x271498(0x1a9)]=_0x287e49,this[_0x271498(0x1b7)]=_0x21a065,this[_0x271498(0x1f0)]=_0x3f72b0,this[_0x271498(0xe7)]=_0x165bb1,this[_0x271498(0xfa)](),this[_0x271498(0x90)]());}[_0x3e2a0c(0x90)](){const _0x21e054=_0x3e2a0c;this[_0x21e054(0x334)](this['_univerInstanceService'][_0x21e054(0x208)][_0x21e054(0x2e5)](_0x22d1cd['switchMap'](()=>{const _0x315b74=_0x21e054,_0x2c11cf=this[_0x315b74(0x1a9)][_0x315b74(0x112)]();return _0x2c11cf?this['_collaborationController']['getCollabEntity$'](_0x2c11cf[_0x315b74(0x18c)]()):_0x22d1cd['of'](null);}),_0x22d1cd[_0x21e054(0x296)](_0x430b63=>_0x430b63?_0x430b63[_0x21e054(0x159)]:_0x22d1cd['of'](_0x48f853[_0x21e054(0x2a5)][_0x21e054(0x346)])))[_0x21e054(0x298)](_0x266482=>{const _0x2f5b2a=_0x21e054;this[_0x2f5b2a(0x190)]['next'](_0x266482);}));}[_0x3e2a0c(0xfa)](){const _0x29667d=_0x3e2a0c;this[_0x29667d(0x334)](this[_0x29667d(0xe7)][_0x29667d(0x26c)](_0x228868[_0x29667d(0x225)][_0x29667d(0x2cf)],()=>_0x228868[_0x29667d(0x169)](_0x1706af({'status$':this[_0x29667d(0x190)]['asObservable']()}),this['_injector'])));}},_0x3f4a63[_0x3e2a0c(0x2b9)]=_0x339828([_0xd9eb54(0x0,_0x1c11c7['IUniverInstanceService']),_0xd9eb54(0x1,_0x1c11c7[_0x3e2a0c(0x292)](_0x1c11c7[_0x3e2a0c(0x1c7)])),_0xd9eb54(0x2,_0x1c11c7[_0x3e2a0c(0x292)](_0x48f853[_0x3e2a0c(0x87)])),_0xd9eb54(0x3,_0x228868['IUIPartsService'])],_0x3f4a63[_0x3e2a0c(0x2b9)]);function _0x1706af(_0x8b970){const {status$:_0x1ea6d0}=_0x8b970;return function(){const _0x1e318d=_0x1e66;return _0x41e554[_0x1e318d(0x176)](_0x842f1d,{'status$':_0x1ea6d0});};}const _0x5bb618=_0x1c11c7[_0x3e2a0c(0x1f5)](_0x3e2a0c(0x11d));var _0xfdc5f8=Object[_0x3e2a0c(0x335)],_0xd81a20=(_0x3d00b8,_0x45f108,_0x34333f,_0x4cc4bc)=>{for(var _0xcd3793=_0x4cc4bc>0x1?void 0x0:_0x4cc4bc?_0xfdc5f8(_0x45f108,_0x34333f):_0x45f108,_0x16ca01=_0x3d00b8['length']-0x1,_0x3497ba;_0x16ca01>=0x0;_0x16ca01--)(_0x3497ba=_0x3d00b8[_0x16ca01])&&(_0xcd3793=_0x3497ba(_0xcd3793)||_0xcd3793);return _0xcd3793;},_0x293ea3=(_0x35500b,_0x4dbf6a)=>(_0x206ad7,_0x2c80fe)=>_0x4dbf6a(_0x206ad7,_0x2c80fe,_0x35500b);_0x3f4a63[_0x3e2a0c(0xd2)]=class extends _0x1c11c7[_0x3e2a0c(0x14c)]{constructor(_0x397b37,_0x13bc8e,_0x3ceaac,_0x31a92e,_0x3005a2){const _0x3cf8a2=_0x3e2a0c;super(),this[_0x3cf8a2(0x22f)]=_0x397b37,this[_0x3cf8a2(0xb3)]=_0x13bc8e,this[_0x3cf8a2(0x273)]=_0x3ceaac,this[_0x3cf8a2(0x34e)]=_0x31a92e,_0x3005a2?_0x3005a2==null||_0x3005a2[_0x3cf8a2(0xc4)]()[_0x3cf8a2(0x125)](()=>this[_0x3cf8a2(0xd8)]()):(this[_0x3cf8a2(0xb3)][_0x3cf8a2(0xf4)](_0x3cf8a2(0x261),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x3cf8a2(0xd8)]());}async[_0x3e2a0c(0xd8)](){const _0x374367=_0x3e2a0c,_0x194d5f=this['_urlService'][_0x374367(0x33a)](_0x374367(0x1e8)),_0x3f577c=this[_0x374367(0x22f)][_0x374367(0x33a)](_0x374367(0xd4)),_0x575184=this[_0x374367(0x22f)][_0x374367(0x33a)](_0x374367(0x8a));if(!_0x194d5f||!_0x3f577c){this['_logService']['debug'](_0x374367(0x261),_0x374367(0x1f9));return;}const _0x419cf8=await this['_dataLoaderService'][_0x374367(0x32a)](_0x194d5f,Number(_0x3f577c),_0x575184);_0x419cf8&&_0x419cf8 instanceof _0x1c11c7[_0x374367(0xe3)]&&this[_0x374367(0x139)](_0x419cf8);}async[_0x3e2a0c(0x139)](_0x1904b7){const _0x2af67e=_0x3e2a0c;await this[_0x2af67e(0x171)](_0x1904b7),_0x1904b7[_0x2af67e(0x2c8)][_0x2af67e(0x2e5)](_0x22d1cd[_0x2af67e(0x165)](this[_0x2af67e(0x331)]))[_0x2af67e(0x298)](_0x28d7d9=>{_0x28d7d9&&this['_updateURLWithCurrentState'](_0x28d7d9);}),this[_0x2af67e(0x22f)][_0x2af67e(0x274)][_0x2af67e(0x2e5)](_0x22d1cd[_0x2af67e(0x165)](this[_0x2af67e(0x331)]))['subscribe'](()=>this[_0x2af67e(0x171)](_0x1904b7));}[_0x3e2a0c(0x31c)](_0x31eda9,_0x7f3873=!0x1){const _0x597e5c=_0x3e2a0c,_0x11e395=this[_0x597e5c(0x22f)][_0x597e5c(0x33a)](_0x597e5c(0x8a));_0x31eda9[_0x597e5c(0x14f)]()!==_0x11e395&&this['_urlService']['setParam']('subunit',_0x31eda9[_0x597e5c(0x14f)](),_0x7f3873);}async[_0x3e2a0c(0x171)](_0xf7f800){const _0x16d5e4=_0x3e2a0c;var _0x3b081f;const _0x54e8fd=this['_urlService'][_0x16d5e4(0x33a)]('subunit');if(!_0x54e8fd||!_0xf7f800[_0x16d5e4(0x23b)](_0x54e8fd)){const _0x5ddb7c=_0xf7f800['getUnhiddenWorksheets']()[0x0],_0x21deab=_0xf7f800[_0x16d5e4(0x23b)](_0x5ddb7c);if(!_0x21deab)return;this[_0x16d5e4(0x31c)](_0x21deab,!0x0),await this[_0x16d5e4(0x273)]['executeCommand'](_0x2997e1[_0x16d5e4(0x8b)]['id'],{'unitId':_0xf7f800[_0x16d5e4(0x18c)](),'subUnitId':_0x5ddb7c});return;}((_0x3b081f=_0xf7f800[_0x16d5e4(0x220)]())==null?void 0x0:_0x3b081f[_0x16d5e4(0x14f)]())!==_0x54e8fd&&await this['_commandService'][_0x16d5e4(0xf2)](_0x2997e1[_0x16d5e4(0x8b)]['id'],{'unitId':_0xf7f800[_0x16d5e4(0x18c)](),'subUnitId':_0x54e8fd});}},_0x3f4a63[_0x3e2a0c(0xd2)]=_0xd81a20([_0x293ea3(0x0,_0x5bb618),_0x293ea3(0x1,_0x1c11c7[_0x3e2a0c(0x35d)]),_0x293ea3(0x2,_0x1c11c7[_0x3e2a0c(0x200)]),_0x293ea3(0x3,_0x1c11c7[_0x3e2a0c(0x292)](_0x48f853[_0x3e2a0c(0x1a6)])),_0x293ea3(0x4,_0x1c11c7[_0x3e2a0c(0x2bc)](_0x53c711[_0x3e2a0c(0x257)]))],_0x3f4a63['CollaborationDataLoaderController']);var _0x74523c=Object[_0x3e2a0c(0x335)],_0x3542c0=(_0x30fe7e,_0x3a4682,_0x23021b,_0x18b694)=>{const _0x1e7a4f=_0x3e2a0c;for(var _0x3bddce=_0x18b694>0x1?void 0x0:_0x18b694?_0x74523c(_0x3a4682,_0x23021b):_0x3a4682,_0x261c75=_0x30fe7e[_0x1e7a4f(0x226)]-0x1,_0x555e4a;_0x261c75>=0x0;_0x261c75--)(_0x555e4a=_0x30fe7e[_0x261c75])&&(_0x3bddce=_0x555e4a(_0x3bddce)||_0x3bddce);return _0x3bddce;},_0x4487de=(_0x1e89f9,_0x38e0dd)=>(_0x542611,_0x14d6eb)=>_0x38e0dd(_0x542611,_0x14d6eb,_0x1e89f9);let _0x32198a=class extends _0x1c11c7[_0x3e2a0c(0x14c)]{constructor(_0xf466ff,_0x4839eb){const _0x2ac9c7=_0x3e2a0c;super(),this[_0x2ac9c7(0x339)]=_0xf466ff,this[_0x2ac9c7(0x33d)]=_0x4839eb,this['_init']();}['_init'](){const _0x4a361a=_0x3e2a0c,_0xf9fcf8=this;this[_0x4a361a(0x334)](this[_0x4a361a(0x339)][_0x4a361a(0x21a)]({'onBeforePasteImage':async _0x36598b=>{const _0x11206f=_0x4a361a,_0x4d3780=await _0xf9fcf8[_0x11206f(0x33d)][_0x11206f(0x170)](_0x36598b);return _0x4d3780?{'source':_0x4d3780['source'],'imageSourceType':_0x4d3780[_0x11206f(0x30e)]}:null;}}));}};_0x32198a=_0x3542c0([_0x4487de(0x0,_0x285a4f[_0x3e2a0c(0xa4)]),_0x4487de(0x1,_0x888592['IImageIoService'])],_0x32198a);const _0x34a2fb=['purple.300','jiqing.500','green.600',_0x3e2a0c(0x1ed),_0x3e2a0c(0x13b),_0x3e2a0c(0x32c)];class _0x41e58b extends _0x1c11c7[_0x3e2a0c(0x110)]{constructor(){const _0xcbed94=_0x3e2a0c;super(...arguments),_0x59b886(this,_0xcbed94(0x1ea),new Map()),_0x59b886(this,_0xcbed94(0xca),0x0);}[_0x3e2a0c(0x15c)](_0x221800){const _0x2ca450=_0x3e2a0c;if(this[_0x2ca450(0x1ea)][_0x2ca450(0xd0)](_0x221800))return this[_0x2ca450(0x1ea)][_0x2ca450(0xb7)](_0x221800);const _0x5d0bb0=_0x34a2fb[this[_0x2ca450(0xca)]];return this[_0x2ca450(0xca)]=(this['_colorIndex']+0x1)%_0x34a2fb[_0x2ca450(0x226)],this[_0x2ca450(0x1ea)]['set'](_0x221800,_0x5d0bb0),_0x5d0bb0;}}function _0x51fed9(_0x7ddfd4){let _0x46ae18='';for(const _0x21edaa of _0x7ddfd4){const {startOffset:_0x1b29ac,endOffset:_0xc7510a,isActive:_0xa0dd6a,rangeType:_0x3bf52a,segmentId:_0x187b1e,segmentPage:_0x4e2ded}=_0x21edaa;_0x46ae18['length']&&(_0x46ae18+=','),_0x46ae18+=_0x1b29ac+':'+_0xc7510a+':'+(_0xa0dd6a?'1':'0')+':'+_0x3bf52a+':'+_0x187b1e+':'+_0x4e2ded;}return _0x46ae18;}function _0x3b2762(_0x355239){const _0x287926=_0x3e2a0c,_0x57fbff=_0x355239[_0x287926(0x12d)](','),_0x135258=[];for(const _0x592240 of _0x57fbff){const [_0x42d9c3,_0x57e62f,_0x582691,_0x14d4ab,_0x2bf2e3,_0x8381c7]=_0x592240[_0x287926(0x12d)](':');_0x135258['push']({'startOffset':Number(_0x42d9c3),'endOffset':Number(_0x57e62f),'collapsed':_0x42d9c3===_0x57e62f,'isActive':_0x582691==='1','rangeType':_0x14d4ab===_0x1c11c7[_0x287926(0x2c1)][_0x287926(0xa7)]?_0x1c11c7[_0x287926(0x2c1)][_0x287926(0xa7)]:_0x1c11c7['DOC_RANGE_TYPE'][_0x287926(0x18b)],'segmentId':typeof _0x2bf2e3=='string'?String(_0x2bf2e3):'','segmentPage':Number(_0x8381c7!=null?_0x8381c7:-0x1)});}return _0x135258[_0x287926(0x234)](_0x2ced86=>_0x2ced86[_0x287926(0x28e)])||(_0x135258[0x0][_0x287926(0x28e)]=!0x0),_0x135258;}class _0x77e260 extends _0x1c11c7[_0x3e2a0c(0x14c)]{constructor(){const _0x3b468e=_0x3e2a0c;super(...arguments),_0x59b886(this,_0x3b468e(0x362),new _0x22d1cd[(_0x3b468e(0x1ef))](null)),_0x59b886(this,_0x3b468e(0x138),this[_0x3b468e(0x362)][_0x3b468e(0x196)]());}[_0x3e2a0c(0x36b)](_0x4d6e62){const _0x135546=_0x3e2a0c,{unitID:_0xc805f1,memberID:_0x346c19,textRanges:_0x3f5f35}=_0x4d6e62,_0x517847=_0x51fed9(_0x3f5f35);if(_0x517847==='')return;const _0x1642d7={'unitID':_0xc805f1,'memberID':_0x346c19,'selection':_0x517847};this[_0x135546(0x362)][_0x135546(0x2eb)](_0x1642d7);}}var _0x4c67e4=Object['getOwnPropertyDescriptor'],_0x57ae72=(_0x3dc324,_0x143249,_0x137b03,_0x1cb94f)=>{for(var _0x1f8426=_0x1cb94f>0x1?void 0x0:_0x1cb94f?_0x4c67e4(_0x143249,_0x137b03):_0x143249,_0x202c69=_0x3dc324['length']-0x1,_0x2914c0;_0x202c69>=0x0;_0x202c69--)(_0x2914c0=_0x3dc324[_0x202c69])&&(_0x1f8426=_0x2914c0(_0x1f8426)||_0x1f8426);return _0x1f8426;},_0x3a9e2f=(_0x3b9b5c,_0x9cbfd8)=>(_0x4cef74,_0x12e643)=>_0x9cbfd8(_0x4cef74,_0x12e643,_0x3b9b5c);const _0x2d9a53=0x12c,_0x26fa3f=0x64;let _0xc3e888=class extends _0x1c11c7[_0x3e2a0c(0x14c)]{constructor(_0x5dee08,_0x39eae1,_0x17ac5d,_0x4b37c0,_0x5f41f4,_0x126283,_0x22010b,_0x339f41,_0x16615f){const _0x20a74e=_0x3e2a0c;super(),_0x59b886(this,_0x20a74e(0x1ee),!0x1),_0x59b886(this,'_init',!0x1),_0x59b886(this,_0x20a74e(0x108),new _0x22d1cd[(_0x20a74e(0x1ef))](new Map())),_0x59b886(this,_0x20a74e(0x24c),this[_0x20a74e(0x108)]['asObservable']()),_0x59b886(this,'_roomMembers$',new _0x22d1cd[(_0x20a74e(0x1ef))]([])),_0x59b886(this,_0x20a74e(0x126),this[_0x20a74e(0x18d)]['pipe'](_0x22d1cd[_0x20a74e(0x16f)](_0x2d9a53))),_0x59b886(this,_0x20a74e(0x123),_0x1c11c7[_0x20a74e(0x2ab)](_0x270536=>{const _0x31396f=_0x20a74e,_0x5b2b8f={'eventID':_0x2b25e3[_0x31396f(0x2f4)][_0x31396f(0x31f)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x31396f(0x195)](),'selection':_0x51fed9(_0x270536)}};this[_0x31396f(0x17a)][_0x31396f(0x1c3)](_0x5b2b8f,this[_0x31396f(0x1df)]);},_0x26fa3f)),(this[_0x20a74e(0x1df)]=_0x5dee08,this[_0x20a74e(0x17a)]=_0x39eae1,this[_0x20a74e(0x1b7)]=_0x17ac5d,this[_0x20a74e(0x175)]=_0x4b37c0,this[_0x20a74e(0x2b1)]=_0x5f41f4,this[_0x20a74e(0x1b4)]=_0x126283,this[_0x20a74e(0x162)]=_0x22010b,this[_0x20a74e(0x1a9)]=_0x339f41,this[_0x20a74e(0x273)]=_0x16615f);}get[_0x3e2a0c(0x350)](){const _0x1917bd=_0x3e2a0c;return this[_0x1917bd(0x108)][_0x1917bd(0x2fc)]();}get[_0x3e2a0c(0xed)](){const _0xeff96e=_0x3e2a0c;return this[_0xeff96e(0x18d)][_0xeff96e(0x2fc)]();}['dispose'](){const _0x4f6a1a=_0x3e2a0c;super[_0x4f6a1a(0x2d0)](),this[_0x4f6a1a(0x108)]['next'](new Map()),this[_0x4f6a1a(0x108)][_0x4f6a1a(0xb0)](),this['_roomMembers$'][_0x4f6a1a(0x2eb)]([]),this['_roomMembers$']['complete']();}['init'](){const _0x58cec3=_0x3e2a0c;this[_0x58cec3(0xd8)]||(this[_0x58cec3(0xd8)]=!0x0,this[_0x58cec3(0x17a)][_0x58cec3(0x21c)]['pipe'](_0x22d1cd[_0x58cec3(0x165)](this[_0x58cec3(0x331)]))[_0x58cec3(0x298)](_0x3320ef=>{const _0x57ce0d=_0x58cec3;_0x3320ef===_0x48f853['SessionStatus'][_0x57ce0d(0x99)]?this[_0x57ce0d(0x150)]():this[_0x57ce0d(0x281)]();}),this['_session'][_0x58cec3(0x18f)]['pipe'](_0x22d1cd[_0x58cec3(0x165)](this['dispose$']))[_0x58cec3(0x298)](_0x39380b=>{const _0x431cbd=_0x58cec3,_0x2f3b70=_0x39380b[_0x431cbd(0x2d2)];_0x2f3b70===_0x2b25e3[_0x431cbd(0x2f4)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x39380b),_0x2f3b70===_0x2b25e3['CollaborationEvent'][_0x431cbd(0x149)]&&this['_onCursorDelete'](_0x39380b);}),this[_0x58cec3(0x334)](this[_0x58cec3(0x273)][_0x58cec3(0x80)](_0x408c95=>{const _0x5b7bc9=_0x58cec3,_0x26f4b2=_0x408c95[_0x5b7bc9(0x266)];_0x26f4b2!=null&&this[_0x5b7bc9(0x1ee)]&&_0x408c95['id']===_0x23d37b['SetTextSelectionsOperation']['id']&&_0x26f4b2[_0x5b7bc9(0x10a)]===this['unitID']&&_0x26f4b2['isEditing']===!0x1&&_0x26f4b2['ranges'][_0x5b7bc9(0x226)]>0x0&&this[_0x5b7bc9(0x123)](_0x26f4b2[_0x5b7bc9(0x24b)]);})),this[_0x58cec3(0x1b4)][_0x58cec3(0x138)][_0x58cec3(0x2e5)](_0x22d1cd[_0x58cec3(0x165)](this[_0x58cec3(0x331)]))['subscribe'](_0x45a629=>{const _0x149892=_0x58cec3;if((_0x45a629==null?void 0x0:_0x45a629[_0x149892(0x1df)])!==this[_0x149892(0x1df)])return;const _0x288cc0={'eventID':_0x2b25e3[_0x149892(0x2f4)][_0x149892(0x31f)],'data':_0x45a629};this['_onCursorUpdate'](_0x288cc0);}),this[_0x58cec3(0x334)](this['_commandService'][_0x58cec3(0x80)](_0x3d8803=>{const _0x4c0e3d=_0x58cec3;if(_0x3d8803[_0x4c0e3d(0x266)]==null)return;const _0x51e490=_0x3d8803['params'];if(_0x3d8803['id']!==_0x23d37b[_0x4c0e3d(0x120)]['id']||_0x51e490['unitId']!==this['unitID'])return;const _0x24af54={'id':'doc.mutation.rich-text-editing','params':_0x51e490},_0x22e52e=this[_0x4c0e3d(0x350)];for(const [_0x1b06c5,_0x2e8bba]of _0x22e52e){const _0x2036e4={'id':_0x4c0e3d(0x212),'params':{'unitId':this[_0x4c0e3d(0x1df)],'actions':null,'textRanges':_0x2e8bba[_0x4c0e3d(0x24b)]}},_0x3b7b45=this[_0x4c0e3d(0x162)][_0x4c0e3d(0xfb)](_0x24af54,_0x2036e4,!0x1);if(_0x2b25e3[_0x4c0e3d(0x14b)](_0x3b7b45))throw _0x3b7b45[_0x4c0e3d(0x198)];_0x22e52e[_0x4c0e3d(0x2bd)](_0x1b06c5,{..._0x2e8bba,'ranges':_0x3b7b45[_0x4c0e3d(0x86)]['params'][_0x4c0e3d(0x316)]});}queueMicrotask(()=>{const _0x247d0b=_0x4c0e3d;this[_0x247d0b(0x108)][_0x247d0b(0x2eb)](_0x22e52e);});})));}[_0x3e2a0c(0x105)](_0x475907){const _0x38de2b=_0x3e2a0c;var _0x30ea86,_0x249519;const {memberID:_0x1c640d,selection:_0x1702bd}=_0x475907[_0x38de2b(0x1bb)],_0x2d0d18=_0x3b2762(_0x1702bd),_0x9c2ff9=(_0x249519=(_0x30ea86=this[_0x38de2b(0x2b1)][_0x38de2b(0x1db)](this[_0x38de2b(0x1df)],_0x1c640d))==null?void 0x0:_0x30ea86[_0x38de2b(0x1a7)])!=null?_0x249519:_0x38de2b(0x215),_0x582f23={'color':this[_0x38de2b(0x175)][_0x38de2b(0x15c)](_0x1c640d),'name':_0x9c2ff9,'ranges':_0x2d0d18},_0x51a445=this[_0x38de2b(0x350)];_0x51a445[_0x38de2b(0x2bd)](_0x1c640d,_0x582f23),this[_0x38de2b(0x108)]['next'](_0x51a445);}['_onCursorDelete'](_0x499fa0){const _0x415c18=_0x3e2a0c,{memberID:_0x4ed31f}=_0x499fa0['data'],_0x5ee33e=this['cursorInfo'];_0x5ee33e[_0x415c18(0xd3)](_0x4ed31f),this[_0x415c18(0x108)][_0x415c18(0x2eb)](_0x5ee33e);}[_0x3e2a0c(0x150)](){const _0x36549a=_0x3e2a0c;var _0xd04613;if(this[_0x36549a(0x1ee)]=!0x0,((_0xd04613=this[_0x36549a(0x1a9)][_0x36549a(0x112)]())==null?void 0x0:_0xd04613['getUnitId']())!==this['unitID'])return;const _0x190de4=this[_0x36549a(0x1b7)][_0x36549a(0xb7)](_0x23d37b[_0x36549a(0x2d1)])[_0x36549a(0xcf)]();Array['isArray'](_0x190de4)&&_0x190de4['length']>0x0&&this[_0x36549a(0x123)](_0x190de4);}[_0x3e2a0c(0x281)](){const _0x4c00df=_0x3e2a0c;this[_0x4c00df(0x1ee)]=!0x1;}};_0xc3e888=_0x57ae72([_0x3a9e2f(0x2,_0x1c11c7[_0x3e2a0c(0x292)](_0x1c11c7['Injector'])),_0x3a9e2f(0x3,_0x1c11c7['Inject'](_0x41e58b)),_0x3a9e2f(0x4,_0x1c11c7[_0x3e2a0c(0x292)](_0x48f853[_0x3e2a0c(0x2bf)])),_0x3a9e2f(0x5,_0x1c11c7[_0x3e2a0c(0x292)](_0x77e260)),_0x3a9e2f(0x6,_0x2b25e3['ITransformService']),_0x3a9e2f(0x7,_0x1c11c7[_0x3e2a0c(0x270)]),_0x3a9e2f(0x8,_0x1c11c7[_0x3e2a0c(0x200)])],_0xc3e888);var _0x58d2d4=Object[_0x3e2a0c(0x335)],_0x2490bd=(_0x444594,_0x2ea421,_0x69cdb4,_0x131a74)=>{for(var _0x4881db=_0x131a74>0x1?void 0x0:_0x131a74?_0x58d2d4(_0x2ea421,_0x69cdb4):_0x2ea421,_0x3ec2cd=_0x444594['length']-0x1,_0x341b1c;_0x3ec2cd>=0x0;_0x3ec2cd--)(_0x341b1c=_0x444594[_0x3ec2cd])&&(_0x4881db=_0x341b1c(_0x4881db)||_0x4881db);return _0x4881db;},_0x9ada33=(_0x14b05d,_0x212ec8)=>(_0x11e754,_0x5715f3)=>_0x212ec8(_0x11e754,_0x5715f3,_0x14b05d);const _0x5a2c4e=0x12c,_0x3c0b85=0x64,_0x5927c4=()=>{let _0x2aaa6d=[],_0x4834f6=!0x1;return _0x43e9ba=>{_0x2aaa6d['push'](_0x43e9ba),_0x4834f6||(_0x4834f6=!0x0,setTimeout(()=>{const _0x256597=_0x1e66;_0x2aaa6d[_0x256597(0x28b)](_0x3e2974=>_0x3e2974()),_0x2aaa6d=[],_0x4834f6=!0x1;}));};};let _0x25f7dd=class extends _0x1c11c7[_0x3e2a0c(0x14c)]{constructor(_0xf6118b,_0x3e25eb,_0x59678b,_0x11dcf8,_0x465c86,_0x5ccc7f,_0x46125b,_0x2044d5){const _0x4fa547=_0x3e2a0c;super(),_0x59b886(this,_0x4fa547(0x1ee),!0x1),_0x59b886(this,'_init',!0x1),_0x59b886(this,_0x4fa547(0x108),new _0x22d1cd[(_0x4fa547(0x1ef))](new Map())),_0x59b886(this,_0x4fa547(0x24c),this[_0x4fa547(0x108)][_0x4fa547(0x196)]()),_0x59b886(this,'_roomMembers$',new _0x22d1cd[(_0x4fa547(0x1ef))]([])),_0x59b886(this,_0x4fa547(0x126),this[_0x4fa547(0x18d)][_0x4fa547(0x2e5)](_0x22d1cd[_0x4fa547(0x16f)](_0x5a2c4e))),_0x59b886(this,'_updateLocalCursor',_0x1c11c7[_0x4fa547(0x2ab)]((_0x4105b1,_0x1d8ce3)=>{const _0x5ab661=_0x4fa547,_0x569f29={'eventID':_0x2b25e3[_0x5ab661(0x2f4)][_0x5ab661(0x31f)],'data':{'unitID':this[_0x5ab661(0x1df)],'memberID':this[_0x5ab661(0x17a)][_0x5ab661(0x195)](),'selection':_0x47ccfe[_0x5ab661(0x1c0)](_0x4105b1,_0x1d8ce3[_0x5ab661(0x210)])}};this['_session'][_0x5ab661(0x1c3)](_0x569f29,this[_0x5ab661(0x1df)]);},_0x3c0b85)),(this[_0x4fa547(0x1df)]=_0xf6118b,this[_0x4fa547(0x17a)]=_0x3e25eb,this[_0x4fa547(0x1b7)]=_0x59678b,this[_0x4fa547(0x175)]=_0x11dcf8,this[_0x4fa547(0x2b1)]=_0x465c86,this[_0x4fa547(0x1a9)]=_0x5ccc7f,this[_0x4fa547(0x273)]=_0x46125b,this[_0x4fa547(0x214)]=_0x2044d5);}get['cursorInfo'](){const _0x389f90=_0x3e2a0c;return this[_0x389f90(0x108)][_0x389f90(0x2fc)]();}get[_0x3e2a0c(0xed)](){const _0x464029=_0x3e2a0c;return this[_0x464029(0x18d)]['getValue']();}['dispose'](){const _0x2c7e9e=_0x3e2a0c;super[_0x2c7e9e(0x2d0)](),this[_0x2c7e9e(0x108)][_0x2c7e9e(0x2eb)](new Map()),this[_0x2c7e9e(0x108)][_0x2c7e9e(0xb0)](),this[_0x2c7e9e(0x18d)][_0x2c7e9e(0x2eb)]([]),this['_roomMembers$'][_0x2c7e9e(0xb0)]();}[_0x3e2a0c(0x1ff)](){const _0x32d289=_0x3e2a0c;this[_0x32d289(0xd8)]||(this['_init']=!0x0,this[_0x32d289(0x17a)][_0x32d289(0x21c)][_0x32d289(0x2e5)](_0x22d1cd['takeUntil'](this[_0x32d289(0x331)]))['subscribe'](_0x17cd57=>{const _0x949311=_0x32d289;_0x17cd57===_0x48f853[_0x949311(0xf1)]['ONLINE']?this[_0x949311(0x150)]():this[_0x949311(0x281)]();}),this[_0x32d289(0x17a)][_0x32d289(0x18f)][_0x32d289(0x2e5)](_0x22d1cd[_0x32d289(0x165)](this[_0x32d289(0x331)]))[_0x32d289(0x298)](_0x2427bd=>{const _0xeb8d83=_0x32d289,_0x1288e5=_0x2427bd[_0xeb8d83(0x2d2)];_0x1288e5===_0x2b25e3[_0xeb8d83(0x2f4)]['UPDATE_CURSOR']&&this[_0xeb8d83(0x105)](_0x2427bd),_0x1288e5===_0x2b25e3['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x2427bd);}),this[_0x32d289(0x15a)](),this['disposeWithMe'](this[_0x32d289(0x273)][_0x32d289(0x80)](_0xed0663=>{const _0x2e44ce=_0x32d289;if(this[_0x2e44ce(0x1ee)]&&_0xed0663['id']===_0x2997e1[_0x2e44ce(0xa9)]['id']&&_0xed0663[_0x2e44ce(0x266)][_0x2e44ce(0x10a)]===this[_0x2e44ce(0x1df)]){const _0x19bdc4=_0xed0663[_0x2e44ce(0x266)];this[_0x2e44ce(0x123)](_0x19bdc4[_0x2e44ce(0x364)],_0x19bdc4[_0x2e44ce(0x142)][0x0]);}})));}[_0x3e2a0c(0x105)](_0x4ce047){const _0x1b2b99=_0x3e2a0c;var _0x5a956a,_0x26ce92;const {memberID:_0x3256de,selection:_0x16f0c1}=_0x4ce047[_0x1b2b99(0x1bb)],{sheetName:_0x55b1fe,range:_0x269a72}=_0x47ccfe['deserializeRangeWithSheet'](_0x16f0c1),_0x2f1ab1={'name':(_0x26ce92=(_0x5a956a=this['_memberService'][_0x1b2b99(0x1db)](this[_0x1b2b99(0x1df)],_0x3256de))==null?void 0x0:_0x5a956a[_0x1b2b99(0x1a7)])!=null?_0x26ce92:_0x1b2b99(0x215),'range':this[_0x1b2b99(0x24e)](_0x55b1fe,_0x269a72),'sheetID':_0x55b1fe,'color':this[_0x1b2b99(0x175)][_0x1b2b99(0x15c)](_0x3256de),'selection':_0x16f0c1},_0x2d5e87=this['cursorInfo'];_0x2d5e87[_0x1b2b99(0x2bd)](_0x3256de,_0x2f1ab1),this[_0x1b2b99(0x108)]['next'](_0x2d5e87);}[_0x3e2a0c(0x251)](_0x20ef58){const _0x5eb974=_0x3e2a0c,{memberID:_0x19f90f}=_0x20ef58[_0x5eb974(0x1bb)],_0x37e02f=this['cursorInfo'];_0x37e02f[_0x5eb974(0xd3)](_0x19f90f),this[_0x5eb974(0x108)][_0x5eb974(0x2eb)](_0x37e02f);}[_0x3e2a0c(0x24e)](_0x491a2d,_0x1b5f6a){const _0x3a5e72=_0x3e2a0c;var _0x396d01,_0x4a70a3;const _0x248b00=(_0x4a70a3=(_0x396d01=this[_0x3a5e72(0x1a9)][_0x3a5e72(0x248)](this[_0x3a5e72(0x1df)]))==null?void 0x0:_0x396d01['getSheetBySheetId'](_0x491a2d))==null?void 0x0:_0x4a70a3[_0x3a5e72(0x293)]();return(_0x248b00==null?void 0x0:_0x248b00[_0x3a5e72(0x16c)](_0x34f62f=>_0x1c11c7[_0x3a5e72(0x184)][_0x3a5e72(0x1d2)](_0x34f62f,_0x1b5f6a)))||_0x1b5f6a;}[_0x3e2a0c(0x15a)](){const _0x3184a4=_0x3e2a0c,_0x7e372d=new _0x1c11c7[(_0x3184a4(0x258))](),_0x275472=_0x5927c4(),_0x93bb2a=()=>{const _0x5d84c2=_0x3184a4;_0x7e372d[_0x5d84c2(0x2d0)]();const _0x482f7c=(_0x1e2dcc,_0x53a6e4,_0x555027,_0x1e01af)=>{const _0x1e9c21=_0x5d84c2;let _0x3d5e05=[];switch(_0x1e2dcc['id']){case _0x2997e1[_0x1e9c21(0x20a)]['DeleteRangeMoveLeftCommandId']:{_0x3d5e05=_0x2997e1[_0x1e9c21(0x11e)](_0x1e2dcc,_0x1e01af);break;}case _0x2997e1['EffectRefRangId'][_0x1e9c21(0x271)]:{_0x3d5e05=_0x2997e1[_0x1e9c21(0xe4)](_0x1e2dcc,_0x1e01af);break;}case _0x2997e1[_0x1e9c21(0x20a)]['InsertColCommandId']:{_0x3d5e05=_0x2997e1['handleInsertCol'](_0x1e2dcc,_0x1e01af);break;}case _0x2997e1[_0x1e9c21(0x20a)][_0x1e9c21(0x183)]:{_0x3d5e05=_0x2997e1[_0x1e9c21(0x27f)](_0x1e2dcc,_0x1e01af);break;}case _0x2997e1[_0x1e9c21(0x20a)][_0x1e9c21(0x237)]:{_0x3d5e05=_0x2997e1[_0x1e9c21(0x2b3)](_0x1e2dcc,_0x1e01af);break;}case _0x2997e1[_0x1e9c21(0x20a)]['InsertRowCommandId']:{_0x3d5e05=_0x2997e1[_0x1e9c21(0xf5)](_0x1e2dcc,_0x1e01af);break;}case _0x2997e1[_0x1e9c21(0x20a)][_0x1e9c21(0x1ec)]:{_0x3d5e05=_0x2997e1[_0x1e9c21(0xe1)](_0x1e2dcc,_0x1e01af);break;}case _0x2997e1['EffectRefRangId'][_0x1e9c21(0x16e)]:{_0x3d5e05=_0x2997e1[_0x1e9c21(0xc0)](_0x1e2dcc,_0x1e01af);break;}case _0x2997e1[_0x1e9c21(0x20a)][_0x1e9c21(0x180)]:{_0x3d5e05=_0x2997e1[_0x1e9c21(0x227)](_0x1e2dcc,_0x1e01af);break;}}const _0x3e0d5a=_0x2997e1['runRefRangeMutations'](_0x3d5e05,_0x1e01af),_0x39eca7=this['cursorInfo']['get'](_0x53a6e4);if(_0x39eca7&&_0x3e0d5a){const _0x230ef4={..._0x39eca7,'range':_0x3e0d5a};this[_0x1e9c21(0x350)]['set'](_0x53a6e4,_0x230ef4),_0x275472(()=>{const _0x2846b2=_0x1e9c21,_0x3f238b=this[_0x2846b2(0x214)]['registerRefRange'](_0x3e0d5a,_0x45d990=>(_0x3f238b[_0x2846b2(0x2d0)](),_0x482f7c(_0x45d990,_0x53a6e4,_0x555027,_0x3e0d5a)));_0x7e372d[_0x2846b2(0x255)](_0x3f238b);});}return{'redos':[],'undos':[]};};this[_0x5d84c2(0x350)][_0x5d84c2(0x28b)]((_0x2c00f7,_0x13f71b)=>{const _0x16076f=_0x5d84c2,{range:_0x367ca5,sheetID:_0x47bbeb}=_0x2c00f7,_0x8a4f4a=this[_0x16076f(0x214)][_0x16076f(0x10b)](_0x367ca5,_0x1fa742=>(_0x8a4f4a[_0x16076f(0x2d0)](),_0x482f7c(_0x1fa742,_0x13f71b,_0x47bbeb,_0x367ca5)));_0x7e372d[_0x16076f(0x255)](_0x8a4f4a);});};this[_0x3184a4(0x334)](_0x1c11c7[_0x3184a4(0x10c)](this[_0x3184a4(0x108)][_0x3184a4(0x298)](()=>{_0x93bb2a();})));}[_0x3e2a0c(0x150)](){const _0x5ed2fa=_0x3e2a0c;var _0x292af9,_0x55bfd4;if(this[_0x5ed2fa(0x1ee)]=!0x0,((_0x292af9=this[_0x5ed2fa(0x1a9)][_0x5ed2fa(0x112)]())==null?void 0x0:_0x292af9['getUnitId']())!==this[_0x5ed2fa(0x1df)])return;const _0x3c606d=(_0x55bfd4=this[_0x5ed2fa(0x1b7)][_0x5ed2fa(0xb7)](_0x2997e1[_0x5ed2fa(0x145)])[_0x5ed2fa(0x361)]())==null?void 0x0:_0x55bfd4[0x0],_0x56be2b=this[_0x5ed2fa(0x1a9)][_0x5ed2fa(0x141)](_0x1c11c7[_0x5ed2fa(0x29a)][_0x5ed2fa(0x2aa)])[_0x5ed2fa(0x220)]();_0x3c606d&&_0x56be2b&&this[_0x5ed2fa(0x123)](_0x56be2b[_0x5ed2fa(0x14f)](),_0x3c606d);}[_0x3e2a0c(0x281)](){const _0x313890=_0x3e2a0c;this[_0x313890(0x1ee)]=!0x1;}};_0x25f7dd=_0x2490bd([_0x9ada33(0x2,_0x1c11c7[_0x3e2a0c(0x292)](_0x1c11c7[_0x3e2a0c(0x1c7)])),_0x9ada33(0x3,_0x1c11c7[_0x3e2a0c(0x292)](_0x41e58b)),_0x9ada33(0x4,_0x1c11c7[_0x3e2a0c(0x292)](_0x48f853['MemberService'])),_0x9ada33(0x5,_0x1c11c7['IUniverInstanceService']),_0x9ada33(0x6,_0x1c11c7['ICommandService']),_0x9ada33(0x7,_0x1c11c7[_0x3e2a0c(0x292)](_0x2997e1[_0x3e2a0c(0x1eb)]))],_0x25f7dd);var _0x289577=Object[_0x3e2a0c(0x335)],_0x28af49=(_0x1d9b9f,_0x1fc83a,_0x1aef4a,_0x11a305)=>{for(var _0x2586a6=_0x11a305>0x1?void 0x0:_0x11a305?_0x289577(_0x1fc83a,_0x1aef4a):_0x1fc83a,_0x111ce6=_0x1d9b9f['length']-0x1,_0x33045a;_0x111ce6>=0x0;_0x111ce6--)(_0x33045a=_0x1d9b9f[_0x111ce6])&&(_0x2586a6=_0x33045a(_0x2586a6)||_0x2586a6);return _0x2586a6;},_0x1e0649=(_0x1bc9f4,_0x53f9e9)=>(_0x502c10,_0x31feb8)=>_0x53f9e9(_0x502c10,_0x31feb8,_0x1bc9f4);let _0x40a13a=class extends _0x1c11c7[_0x3e2a0c(0x14c)]{constructor(_0x18e764,_0x597ce9,_0x2d69fa){const _0x1c06c9=_0x3e2a0c;super(),_0x59b886(this,_0x1c06c9(0x358),new Map()),_0x59b886(this,_0x1c06c9(0x22e),new _0x22d1cd[(_0x1c06c9(0x275))]()),(this['_univerInstanceService']=_0x18e764,this[_0x1c06c9(0x1b7)]=_0x597ce9,this[_0x1c06c9(0x15e)]=_0x2d69fa,this[_0x1c06c9(0xd8)]());}[_0x3e2a0c(0x2d0)](){const _0x2cef85=_0x3e2a0c;super[_0x2cef85(0x2d0)](),this[_0x2cef85(0x22e)][_0x2cef85(0xb0)](),this[_0x2cef85(0x358)][_0x2cef85(0x28b)](_0x5619a8=>_0x5619a8['dispose']());}['getCollabCursors$'](_0x2fa9ec){const _0x114e28=_0x3e2a0c;return this[_0x114e28(0x358)][_0x114e28(0xd0)](_0x2fa9ec)?this[_0x114e28(0x358)]['get'](_0x2fa9ec)[_0x114e28(0x24c)]:this[_0x114e28(0x22e)][_0x114e28(0x2e5)](_0x22d1cd['filter'](_0x5f0eb1=>_0x5f0eb1['unitID']===_0x2fa9ec),_0x22d1cd[_0x114e28(0x296)](_0x3e81b3=>_0x3e81b3[_0x114e28(0x24c)]));}[_0x3e2a0c(0xd8)](){const _0x5f5050=_0x3e2a0c;this[_0x5f5050(0x1a9)][_0x5f5050(0x33f)](_0x1c11c7['UniverInstanceType'][_0x5f5050(0x2aa)])[_0x5f5050(0x2e5)](_0x22d1cd[_0x5f5050(0x165)](this[_0x5f5050(0x331)]))[_0x5f5050(0x298)](async _0x58f6cd=>{const _0x91b336=_0x5f5050,_0x1ef48e=_0x58f6cd[_0x91b336(0x18c)](),_0x4f8d2c=await this[_0x91b336(0x2b7)](_0x1ef48e);this[_0x91b336(0x22e)][_0x91b336(0x2eb)](_0x4f8d2c),this[_0x91b336(0x358)][_0x91b336(0x2bd)](_0x1ef48e,_0x4f8d2c);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x1c11c7[_0x5f5050(0x29a)][_0x5f5050(0x2cc)])[_0x5f5050(0x2e5)](_0x22d1cd['takeUntil'](this[_0x5f5050(0x331)]))[_0x5f5050(0x2e5)](_0x22d1cd[_0x5f5050(0x25f)](_0x43d6cb=>!_0x43d6cb[_0x5f5050(0x18c)]()[_0x5f5050(0x34a)]('__')))[_0x5f5050(0x298)](async _0x2e7174=>{const _0x13df96=_0x5f5050,_0x3c954e=_0x2e7174[_0x13df96(0x18c)](),_0x5a8378=await this[_0x13df96(0x1f7)](_0x3c954e);this[_0x13df96(0x22e)]['next'](_0x5a8378),this['_entities'][_0x13df96(0x2bd)](_0x3c954e,_0x5a8378);}),_0x22d1cd[_0x5f5050(0x1c8)](this[_0x5f5050(0x1a9)][_0x5f5050(0x109)](_0x1c11c7[_0x5f5050(0x29a)][_0x5f5050(0x2cc)]),this['_univerInstanceService'][_0x5f5050(0x109)](_0x1c11c7['UniverInstanceType'][_0x5f5050(0x2aa)]))[_0x5f5050(0x2e5)](_0x22d1cd['takeUntil'](this[_0x5f5050(0x331)]))[_0x5f5050(0x298)](_0x57a47e=>{const _0x447c91=_0x5f5050,_0x1ce15a=_0x57a47e[_0x447c91(0x18c)](),_0x26d43f=this['_entities'][_0x447c91(0xb7)](_0x1ce15a);_0x26d43f&&(_0x26d43f['dispose'](),this[_0x447c91(0x358)][_0x447c91(0xd3)](_0x1ce15a));});}async['_startSheetCollabCursor'](_0x1c84c5){const _0x57976a=_0x3e2a0c,_0x1663c6=await this[_0x57976a(0x15e)][_0x57976a(0x341)](_0x1c84c5),_0x2e721c=this[_0x57976a(0x1b7)][_0x57976a(0x2c9)](_0x25f7dd,_0x1c84c5,_0x1663c6);return _0x2e721c[_0x57976a(0x1ff)](),_0x2e721c;}async[_0x3e2a0c(0x1f7)](_0x419494){const _0x1d620f=_0x3e2a0c,_0xbab532=await this[_0x1d620f(0x15e)][_0x1d620f(0x341)](_0x419494),_0x10eb6d=this[_0x1d620f(0x1b7)][_0x1d620f(0x2c9)](_0xc3e888,_0x419494,_0xbab532);return _0x10eb6d[_0x1d620f(0x1ff)](),_0x10eb6d;}};_0x40a13a=_0x28af49([_0x1e0649(0x0,_0x1c11c7[_0x3e2a0c(0x270)]),_0x1e0649(0x1,_0x1c11c7[_0x3e2a0c(0x292)](_0x1c11c7['Injector'])),_0x1e0649(0x2,_0x1c11c7[_0x3e2a0c(0x292)](_0x48f853[_0x3e2a0c(0x310)]))],_0x40a13a);const _0x2a5c70=0x14,_0x4aa2f4=0xc8,_0x145028=0x4,_0x3e3fa8=0x5;function _0x50e799(_0x424ba0,_0xb1aa86){const _0x37e33d=_0x3e2a0c;let {radius:_0x1a3934,width:_0xfd2a1a,height:_0x49f936}=_0xb1aa86;_0x1a3934=_0x1a3934!=null?_0x1a3934:0x0,_0xfd2a1a=_0xfd2a1a!=null?_0xfd2a1a:0x1e,_0x49f936=_0x49f936!=null?_0x49f936:0x1e;let _0x4400dd=0x0,_0x4d15ed=0x0,_0x5c0fa6=0x0;_0x4400dd=_0x4d15ed=_0x5c0fa6=Math[_0x37e33d(0x35b)](_0x1a3934,_0xfd2a1a/0x2,_0x49f936/0x2),_0x424ba0['beginPath'](),_0x424ba0['moveTo'](_0x4400dd,0x0),_0x424ba0['lineTo'](_0xfd2a1a-_0x4d15ed,0x0),_0x424ba0[_0x37e33d(0xad)](_0xfd2a1a-_0x4d15ed,_0x4d15ed,_0x4d15ed,Math['PI']*0x3/0x2,0x0,!0x1),_0x424ba0[_0x37e33d(0x34b)](_0xfd2a1a,_0x49f936-_0x5c0fa6),_0x424ba0[_0x37e33d(0xad)](_0xfd2a1a-_0x5c0fa6,_0x49f936-_0x5c0fa6,_0x5c0fa6,0x0,Math['PI']/0x2,!0x1),_0x424ba0[_0x37e33d(0x34b)](0x0,_0x49f936),_0x424ba0[_0x37e33d(0x34b)](0x0,_0x4400dd),_0x424ba0[_0x37e33d(0xad)](_0x4400dd,_0x4400dd,_0x4400dd,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x424ba0[_0x37e33d(0x286)](),_0xb1aa86[_0x37e33d(0x211)]&&(_0x424ba0[_0x37e33d(0x2fa)](),_0x424ba0[_0x37e33d(0x242)]=_0xb1aa86[_0x37e33d(0x211)],_0xb1aa86['fillRule']===_0x37e33d(0x28a)?_0x424ba0['fill'](_0x37e33d(0x28a)):_0x424ba0[_0x37e33d(0x211)](),_0x424ba0[_0x37e33d(0x323)]());}class _0x5957e5 extends _0x3af7ee['Shape']{constructor(_0x308b2c,_0x3dd1d7){const _0x5234ef=_0x3e2a0c;super(_0x308b2c,_0x3dd1d7),_0x59b886(this,_0x5234ef(0x1aa)),_0x59b886(this,_0x5234ef(0x372)),(this[_0x5234ef(0x1aa)]=_0x3dd1d7==null?void 0x0:_0x3dd1d7[_0x5234ef(0x1aa)],this[_0x5234ef(0x372)]=_0x3dd1d7==null?void 0x0:_0x3dd1d7[_0x5234ef(0x372)]);}static[_0x3e2a0c(0x24f)](_0x24e026,_0x170aa2){const _0x30f6aa=_0x3e2a0c,{text:_0x14fd7a,color:_0x58d958}=_0x170aa2;_0x24e026[_0x30f6aa(0x2fa)](),_0x24e026['font']=_0x30f6aa(0x213);const _0x5dc300=_0x24e026[_0x30f6aa(0x1d4)](_0x14fd7a)[_0x30f6aa(0x354)],_0x51a209=Math[_0x30f6aa(0x35b)](_0x5dc300+0x2*_0x145028,_0x4aa2f4);_0x50e799(_0x24e026,{'height':_0x2a5c70,'radius':0x4,'width':_0x51a209,'fill':_0x58d958}),_0x24e026[_0x30f6aa(0x242)]='#FFF';const _0x31cb00=_0x145028,_0x19ac7f=_0x2a5c70-_0x3e3fa8,_0xccf41e=_0x4aa2f4-0x2*_0x145028;if(_0x5dc300>_0xccf41e){let _0x49040d='',_0x141a2b=0x0;for(const _0x24bbd0 of _0x14fd7a){const _0x3f0cea=_0x24e026['measureText'](_0x24bbd0)[_0x30f6aa(0x354)];if(_0x141a2b+_0x3f0cea<=_0xccf41e-_0x24e026[_0x30f6aa(0x1d4)]('...')[_0x30f6aa(0x354)])_0x49040d+=_0x24bbd0,_0x141a2b+=_0x3f0cea;else{_0x49040d+=_0x30f6aa(0x34c);break;}}_0x24e026[_0x30f6aa(0x7d)](_0x49040d,_0x31cb00,_0x19ac7f);}else _0x24e026['fillText'](_0x14fd7a,_0x31cb00,_0x19ac7f);_0x24e026[_0x30f6aa(0x323)]();}['_draw'](_0x912c01){const _0x1cb593=_0x3e2a0c;_0x5957e5[_0x1cb593(0x24f)](_0x912c01,this);}}const _0x164921=_0x3e2a0c(0x333),_0xec7119='collab-text-range-',_0x58571e=_0x3e2a0c(0xf3),_0x413e11=0x6,_0x5e400a=1.5,_0xe0b772=0x4,_0x42dd3b=1.5,_0x39aa1d=_0x3e2a0c(0x23c);class _0x538bc8{constructor(_0x38739d,_0x4c528d,_0x117312,_0x2e94b8){const _0x46969a=_0x3e2a0c;_0x59b886(this,_0x46969a(0x2f7),[]),_0x59b886(this,_0x46969a(0x348),null),_0x59b886(this,_0x46969a(0x1d8),null),_0x59b886(this,_0x46969a(0x1b0),null),_0x59b886(this,_0x46969a(0x85),null),_0x59b886(this,_0x46969a(0x167),null),(this[_0x46969a(0x24a)]=_0x38739d,this['_scene']=_0x4c528d,this[_0x46969a(0x21e)]=_0x117312,this[_0x46969a(0x140)]=_0x2e94b8,this[_0x46969a(0x115)]());}set[_0x3e2a0c(0x250)](_0x5f09c7){const _0x2a442e=_0x3e2a0c;_0x5f09c7?(this['_anchorDot']&&this[_0x2a442e(0x1b0)][_0x2a442e(0xc3)](),this[_0x2a442e(0x1d8)]&&this['_textBubble'][_0x2a442e(0x36a)]()):(this['_anchorDot']&&this[_0x2a442e(0x1b0)]['show'](),this[_0x2a442e(0x1d8)]&&this[_0x2a442e(0x1d8)]['hide']());}[_0x3e2a0c(0x2d0)](){const _0x3a03f9=_0x3e2a0c;for(const _0x1ca0e6 of this[_0x3a03f9(0x2f7)])_0x1ca0e6[_0x3a03f9(0x2d0)]();this[_0x3a03f9(0x1d8)]&&this[_0x3a03f9(0x1d8)][_0x3a03f9(0x2d0)](),this[_0x3a03f9(0x1b0)]&&this[_0x3a03f9(0x1b0)][_0x3a03f9(0x2d0)](),this['_anchor']&&this[_0x3a03f9(0x348)]['dispose'](),this[_0x3a03f9(0x167)]&&this[_0x3a03f9(0x167)]();}[_0x3e2a0c(0x115)](){const _0x2e5021=_0x3e2a0c;var _0x2986ef;const {_docSkeleton:_0x5db551,_document:_0x4064f8}=this,{color:_0xe7a920,name:_0x7d7331,ranges:_0x3800d4}=this[_0x2e5021(0x24a)],_0x562ba3=_0x4064f8[_0x2e5021(0xf7)](),{docsLeft:_0x2db43b,docsTop:_0x3dc646}=_0x562ba3,_0x304bca=new _0x285a4f[(_0x2e5021(0xb8))](_0x562ba3,_0x5db551);for(const {startOffset:_0x4479b9,endOffset:_0x49448e,rangeType:_0x617726,segmentId:_0x2f14b0,segmentPage:_0x47a7fb,collapsed:_0x3e4e52,isActive:_0x30e663}of _0x3800d4){const _0x3c6a5e=_0x5db551[_0x2e5021(0x1a0)](_0x4479b9,!0x0,_0x2f14b0,_0x47a7fb);let _0x4cf6f4=_0x5db551[_0x2e5021(0x1a0)](_0x49448e,!0x0,_0x2f14b0,_0x47a7fb);if(_0x4cf6f4==null&&(_0x4cf6f4=_0x5db551[_0x2e5021(0x1a0)](_0x49448e-0x1,!0x1,_0x2f14b0,_0x47a7fb)),_0x30e663){const {contentBoxPointGroup:_0x33b682}=_0x304bca[_0x2e5021(0xd5)](_0x4cf6f4,_0x4cf6f4);if(_0x33b682[_0x2e5021(0x226)]===0x0)continue;this['_drawAnchor'](_0xe7a920,_0x33b682,_0x2db43b,_0x3dc646,_0x7d7331),this[_0x2e5021(0x167)]=this[_0x2e5021(0x182)]();}if(_0x3c6a5e&&_0x4cf6f4){if(_0x617726===_0x1c11c7[_0x2e5021(0x2c1)][_0x2e5021(0x18b)]){const _0x3c0fad=new _0x285a4f[(_0x2e5021(0x148))](_0x562ba3,_0x5db551),{pointGroup:_0x182497}=(_0x2986ef=_0x3c0fad[_0x2e5021(0xd5)](_0x3c6a5e,_0x4cf6f4))!=null?_0x2986ef:{};if(_0x182497==null||_0x182497[_0x2e5021(0x226)]===0x0)continue;this[_0x2e5021(0x2ae)](_0xe7a920,_0x182497,_0x2db43b,_0x3dc646);}else{if(!_0x3e4e52){const {borderBoxPointGroup:_0x239586}=_0x304bca['getRangePointData'](_0x3c6a5e,_0x4cf6f4);if(_0x239586[_0x2e5021(0x226)]===0x0)continue;this[_0x2e5021(0xa1)](_0xe7a920,_0x239586,_0x2db43b,_0x3dc646);}}}}}[_0x3e2a0c(0x95)](_0x588ca9,_0xa3eb46,_0x16e5e9,_0x1c3628,_0x22e730){const _0x2e2ac2=_0x3e2a0c,_0x3fcd91=this['_getAnchorBounding'](_0xa3eb46),{left:_0x1eec84,top:_0x51cc95,height:_0x3a9e68}=_0x3fcd91,_0xb21315=this[_0x2e2ac2(0x2a7)](),_0x349031=_0x42dd3b/_0xb21315,_0x437384=new _0x3af7ee[(_0x2e2ac2(0xbf))](_0x164921+_0x1c11c7['generateRandomId'](_0x413e11),{'left':_0x1eec84+_0x16e5e9-_0x349031,'top':_0x51cc95+_0x1c3628,'height':_0x3a9e68,'width':_0x5e400a,'fill':_0x588ca9||_0x3af7ee['getColor'](_0x1c11c7['COLORS'][_0x2e2ac2(0x1e6)],0x0),'strokeWidth':_0x349031,'stroke':_0x39aa1d,'evented':!0x0});this[_0x2e2ac2(0x348)]=_0x437384,this[_0x2e2ac2(0x367)]['addObject'](_0x437384,_0x285a4f[_0x2e2ac2(0x1c6)]);const _0x57474b=new _0x3af7ee[(_0x2e2ac2(0xbf))](_0x164921+_0x1c11c7[_0x2e2ac2(0x217)](_0x413e11),{'left':_0x1eec84+_0x16e5e9-_0x349031,'top':_0x51cc95+_0x1c3628-_0xe0b772/0x2,'height':_0xe0b772,'width':_0xe0b772,'fill':_0x588ca9||_0x3af7ee[_0x2e2ac2(0x269)](_0x1c11c7[_0x2e2ac2(0x104)][_0x2e2ac2(0x1e6)],0x0),'strokeWidth':0x0,'stroke':_0x588ca9||_0x3af7ee['getColor'](_0x1c11c7[_0x2e2ac2(0x104)][_0x2e2ac2(0x1e6)],0x0),'evented':!0x1});this['_anchorDot']=_0x57474b,this[_0x2e2ac2(0x367)]['addObject'](_0x57474b,_0x285a4f[_0x2e2ac2(0x1c6)]);const _0x321960=new _0x5957e5(_0x164921+_0x1c11c7['generateRandomId'](_0x413e11),{'left':_0x1eec84+_0x16e5e9-_0x349031,'top':_0x51cc95+_0x1c3628-_0x2a5c70,'text':_0x22e730,'color':_0x588ca9});this[_0x2e2ac2(0x1d8)]=_0x321960,this[_0x2e2ac2(0x367)][_0x2e2ac2(0x14e)](_0x321960,_0x285a4f[_0x2e2ac2(0x1c6)]),this[_0x2e2ac2(0x250)]=!0x1;}[_0x3e2a0c(0x182)](){const _0x180085=_0x3e2a0c,_0x117411=this[_0x180085(0x348)][_0x180085(0x18a)][_0x180085(0x356)](()=>{const _0x37d269=_0x180085;this[_0x37d269(0x250)]=!0x0;}),_0x2758a6=this[_0x180085(0x348)][_0x180085(0x36d)][_0x180085(0x356)](()=>{const _0x47f27a=_0x180085;this['_hideTimer']&&clearTimeout(this[_0x47f27a(0x85)]),this['_hideTimer']=setTimeout(()=>{const _0x20cd53=_0x47f27a;this[_0x20cd53(0x250)]=!0x1;},0x7d0);});return()=>{const _0x4d87b6=_0x180085;_0x117411['unsubscribe'](),_0x2758a6[_0x4d87b6(0x36c)]();};}[_0x3e2a0c(0xa1)](_0x17ab11,_0x2e6814,_0x55b170,_0x28acfd){const _0x2e28ff=_0x3e2a0c,_0x5f41b7=new _0x1c11c7[(_0x2e28ff(0x32b))](_0x17ab11)[_0x2e28ff(0x368)](0.2)[_0x2e28ff(0x312)](),_0x1611bd=new _0x3af7ee[(_0x2e28ff(0x28d))](_0xec7119+_0x1c11c7[_0x2e28ff(0x217)](_0x413e11),{'pointsGroup':_0x2e6814,'fill':_0x5f41b7||_0x3af7ee[_0x2e28ff(0x269)](_0x1c11c7[_0x2e28ff(0x104)][_0x2e28ff(0x1e6)],0.2),'left':_0x55b170,'top':_0x28acfd,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2e28ff(0x2f7)]['push'](_0x1611bd),this[_0x2e28ff(0x367)][_0x2e28ff(0x14e)](_0x1611bd,_0x285a4f[_0x2e28ff(0x1c6)]);}[_0x3e2a0c(0x2ae)](_0xc4ee31,_0x26f980,_0xad3b,_0x35f091){const _0x301247=_0x3e2a0c,_0x4ec248=new _0x1c11c7[(_0x301247(0x32b))](_0xc4ee31)[_0x301247(0x368)](0.2)[_0x301247(0x312)](),_0xf42015=new _0x3af7ee[(_0x301247(0x28d))](_0x58571e+_0x1c11c7[_0x301247(0x217)](_0x413e11),{'pointsGroup':_0x26f980,'fill':_0x4ec248||_0x3af7ee['getColor'](_0x1c11c7[_0x301247(0x104)][_0x301247(0x1e6)],0.2),'left':_0xad3b,'top':_0x35f091,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x301247(0x321)](_0xf42015),this[_0x301247(0x367)][_0x301247(0x14e)](_0xf42015,_0x285a4f['TEXT_RANGE_LAYER_INDEX']);}[_0x3e2a0c(0x199)](_0x4b8dd0){const _0x3f0581=_0x4b8dd0[0x0],_0x7c8d7d=_0x3f0581[0x0],_0x55c8b6=_0x3f0581[0x2],{x:_0x23ca6c,y:_0xde73ab}=_0x7c8d7d,{x:_0x1211d6,y:_0x5c0c37}=_0x55c8b6;return{'left':_0x23ca6c,'top':_0xde73ab,'width':_0x1211d6-_0x23ca6c,'height':_0x5c0c37-_0xde73ab};}[_0x3e2a0c(0x2a7)](){const _0x5a2895=_0x3e2a0c,{scaleX:_0x2b02ba,scaleY:_0x54380c}=this[_0x5a2895(0x367)][_0x5a2895(0x10f)]();return Math['max'](_0x2b02ba,_0x54380c);}}var _0x5a8100=Object['getOwnPropertyDescriptor'],_0x2b6e45=(_0x372d79,_0x2af9f7,_0x2e6e24,_0x4f06fe)=>{for(var _0x5e1a73=_0x4f06fe>0x1?void 0x0:_0x4f06fe?_0x5a8100(_0x2af9f7,_0x2e6e24):_0x2af9f7,_0x35f917=_0x372d79['length']-0x1,_0x2f15da;_0x35f917>=0x0;_0x35f917--)(_0x2f15da=_0x372d79[_0x35f917])&&(_0x5e1a73=_0x2f15da(_0x5e1a73)||_0x5e1a73);return _0x5e1a73;},_0x269bcb=(_0x46cfb8,_0x2f3a8a)=>(_0x376724,_0x5ec208)=>_0x2f3a8a(_0x376724,_0x5ec208,_0x46cfb8);let _0x30a5e7=class extends _0x1c11c7[_0x3e2a0c(0x14c)]{constructor(_0xdd0af2,_0x414c7c,_0x401d49,_0x1c2c76,_0x542f7c){const _0x53e803=_0x3e2a0c;super(),_0x59b886(this,_0x53e803(0x243),[]),_0x59b886(this,'_cursors',[]),(this[_0x53e803(0x32d)]=_0xdd0af2,this[_0x53e803(0x231)]=_0x414c7c,this[_0x53e803(0x277)]=_0x401d49,this['_commandService']=_0x1c2c76,this[_0x53e803(0xd1)]=_0x542f7c,this['_init']());}['_init'](){const _0x26fd0f=_0x3e2a0c,_0x3383f5=this[_0x26fd0f(0x32d)]['unitId'],_0x4c7d9d=this[_0x26fd0f(0x231)];this['disposeWithMe'](_0x22d1cd[_0x26fd0f(0x9b)]([this[_0x26fd0f(0x277)][_0x26fd0f(0x2e3)](_0x3383f5),this[_0x26fd0f(0xd1)][_0x26fd0f(0xe6)]])[_0x26fd0f(0x2e5)](_0x59ca5d[_0x26fd0f(0xba)](([_0x19d303,_0x1a960e])=>({'skeleton':_0x4c7d9d[_0x26fd0f(0x1d5)](),'cursors':[..._0x19d303[_0x26fd0f(0x12b)]()]['flatMap'](_0x39c56c=>({..._0x39c56c,'color':this['_themeService']['getColorFromTheme'](_0x39c56c['color'])}))})))['subscribe'](_0x48f192=>{const _0x15a2f4=_0x26fd0f;if(this[_0x15a2f4(0x25e)](),_0x48f192){const {skeleton:_0x5a067f,cursors:_0xc835da}=_0x48f192;this['_updateCollabCursors'](_0x5a067f,_0xc835da);}})),this[_0x26fd0f(0xfe)](),this['_initCommandExecutedListener']();}[_0x3e2a0c(0x1fc)](_0x442c04,_0x152166){const _0x5e7fb5=_0x3e2a0c,{scene:_0xdcfea,mainComponent:_0x4611f4}=this[_0x5e7fb5(0x32d)],_0x4465a=_0x152166[_0x5e7fb5(0xba)](_0x3fc5f6=>new _0x538bc8(_0x3fc5f6,_0xdcfea,_0x442c04,_0x4611f4));this[_0x5e7fb5(0x243)]=_0x4465a,this[_0x5e7fb5(0x279)]=_0x152166;}[_0x3e2a0c(0x1f3)](){const _0x49de98=_0x3e2a0c;this[_0x49de98(0x25e)]();const {scene:_0x20a6e0,mainComponent:_0x5628fc}=this[_0x49de98(0x32d)],_0x19979b=this[_0x49de98(0x231)]['getSkeleton'](),_0x31ca00=this[_0x49de98(0x279)][_0x49de98(0xba)](_0x8e47ce=>new _0x538bc8(_0x8e47ce,_0x20a6e0,_0x19979b,_0x5628fc));this[_0x49de98(0x243)]=_0x31ca00;}[_0x3e2a0c(0x25e)](){const _0x6171b6=_0x3e2a0c;this['_cursorShapes']['forEach'](_0x46862=>_0x46862['dispose']()),this[_0x6171b6(0x243)]=[];}[_0x3e2a0c(0x327)](){const _0x1d48e8=_0x3e2a0c,_0x30a3d3=[_0x285a4f[_0x1d48e8(0x2b5)]['id']];this[_0x1d48e8(0x334)](this[_0x1d48e8(0x273)][_0x1d48e8(0x80)](_0x4cb604=>{const _0xa156b4=_0x1d48e8;_0x30a3d3['includes'](_0x4cb604['id'])&&_0x4cb604[_0xa156b4(0x266)][_0xa156b4(0x10a)]===this[_0xa156b4(0x32d)][_0xa156b4(0x10a)]&&this[_0xa156b4(0x1f3)]();}));}[_0x3e2a0c(0xfe)](){const _0x15b553=_0x3e2a0c;this[_0x15b553(0x334)](_0x1c11c7[_0x15b553(0x2f5)](this['_context'][_0x15b553(0x2a1)][_0x15b553(0x154)])[_0x15b553(0x2e5)](_0x59ca5d['filter'](_0x417116=>_0x417116[_0x15b553(0xd4)]===_0x3af7ee[_0x15b553(0x235)][_0x15b553(0x256)]),_0x59ca5d['throttleTime'](0x10))[_0x15b553(0x298)](()=>{const _0x4a0523=_0x15b553;this[_0x4a0523(0x1f3)]();}));}};_0x30a5e7=_0x2b6e45([_0x269bcb(0x1,_0x1c11c7[_0x3e2a0c(0x292)](_0x23d37b[_0x3e2a0c(0x259)])),_0x269bcb(0x2,_0x1c11c7[_0x3e2a0c(0x292)](_0x40a13a)),_0x269bcb(0x3,_0x1c11c7[_0x3e2a0c(0x200)]),_0x269bcb(0x4,_0x1c11c7[_0x3e2a0c(0x292)](_0x1c11c7[_0x3e2a0c(0x290)]))],_0x30a5e7);const _0x55c529=0x1,_0x4a0338=1.5;class _0x18d2ef extends _0x3af7ee['Shape']{constructor(_0x2aa2f4,_0x1651f3){const _0x279d50=_0x3e2a0c;super(_0x2aa2f4,_0x1651f3),_0x59b886(this,'_color'),_0x59b886(this,_0x279d50(0x330),!0x1),_0x59b886(this,_0x279d50(0x21f)),_0x59b886(this,_0x279d50(0x2df),''),_0x59b886(this,_0x279d50(0x317),_0x279d50(0x157)),_0x59b886(this,_0x279d50(0xb1)),(_0x1651f3&&this[_0x279d50(0x19a)](_0x1651f3),this[_0x279d50(0x18a)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x279d50(0x36d)][_0x279d50(0x356)](()=>this[_0x279d50(0x19a)]({'hovered':!0x1})));}[_0x3e2a0c(0x19a)](_0x4ff1af){const _0x225b98=_0x3e2a0c;var _0x4a670d,_0x249b9a,_0x17aa9b,_0x188975,_0x196665,_0xb2a893;this[_0x225b98(0x2f8)]=(_0x4a670d=_0x4ff1af[_0x225b98(0x1aa)])!=null?_0x4a670d:this['_color'],this[_0x225b98(0x330)]=(_0x249b9a=_0x4ff1af['hovered'])!=null?_0x249b9a:this[_0x225b98(0x330)],this[_0x225b98(0x21f)]=(_0x17aa9b=_0x4ff1af[_0x225b98(0x210)])!=null?_0x17aa9b:this['_range'],this[_0x225b98(0x2df)]=(_0x188975=_0x4ff1af[_0x225b98(0x1a7)])!=null?_0x188975:this[_0x225b98(0x2df)],this[_0x225b98(0x317)]=(_0x196665=_0x4ff1af[_0x225b98(0x19d)])!=null?_0x196665:this[_0x225b98(0x317)],this[_0x225b98(0xb1)]=(_0xb2a893=_0x4ff1af[_0x225b98(0x1d9)])!=null?_0xb2a893:this[_0x225b98(0xb1)],this[_0x225b98(0x254)]({'width':_0x4ff1af['width'],'height':_0x4ff1af[_0x225b98(0x344)]});}[_0x3e2a0c(0x2d4)](_0x2eb072){const _0x2f7d8c=_0x3e2a0c,{row:_0x912338,column:_0xefa54a}=_0x2eb072;if(_0x912338>=this['_range'][_0x2f7d8c(0x353)]&&_0x912338<=this[_0x2f7d8c(0x21f)][_0x2f7d8c(0x28c)]&&_0xefa54a>=this[_0x2f7d8c(0x21f)][_0x2f7d8c(0x2e0)]&&_0xefa54a<=this[_0x2f7d8c(0x21f)][_0x2f7d8c(0x188)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x2f7d8c(0x19a)]({'hovered':!0x1});}[_0x3e2a0c(0x174)](_0x57bb33){return!0x1;}[_0x3e2a0c(0x189)](_0x10c3f3){const _0x4a1de4=_0x3e2a0c;_0x3af7ee[_0x4a1de4(0xbf)][_0x4a1de4(0x24f)](_0x10c3f3,{'width':this[_0x4a1de4(0x354)],'height':this[_0x4a1de4(0x344)],'strokeWidth':_0x4a0338,'stroke':this[_0x4a1de4(0x2f8)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x4a1de4(0x330)]&&(_0x10c3f3[_0x4a1de4(0x2fa)](),_0x10c3f3[_0x4a1de4(0x2c2)](0x1,0x0,0x0,0x1,this['width'],this[_0x4a1de4(0x317)]===_0x4a1de4(0x155)?0x0:-_0x2a5c70),_0x5957e5[_0x4a1de4(0x24f)](_0x10c3f3,{'text':this[_0x4a1de4(0x2df)],'color':this['_color']}),_0x10c3f3[_0x4a1de4(0x323)]());}}var _0x247569=Object[_0x3e2a0c(0x335)],_0x28c3dd=(_0x30d894,_0x555e13,_0x1e6537,_0x1ac5c6)=>{const _0x19a8f8=_0x3e2a0c;for(var _0x537826=_0x1ac5c6>0x1?void 0x0:_0x1ac5c6?_0x247569(_0x555e13,_0x1e6537):_0x555e13,_0x5c37c1=_0x30d894[_0x19a8f8(0x226)]-0x1,_0x5d4fc6;_0x5c37c1>=0x0;_0x5c37c1--)(_0x5d4fc6=_0x30d894[_0x5c37c1])&&(_0x537826=_0x5d4fc6(_0x537826)||_0x537826);return _0x537826;},_0x1b0d2d=(_0xfe5339,_0x218d9b)=>(_0x24f14b,_0x30b3fd)=>_0x218d9b(_0x24f14b,_0x30b3fd,_0xfe5339);const _0x4308ee=0x1389;let _0x448690=class extends _0x1c11c7[_0x3e2a0c(0x14c)]{constructor(_0x59654f,_0xb23805,_0x28af,_0x56697c){const _0x54a2dd=_0x3e2a0c;super(),_0x59b886(this,_0x54a2dd(0x279),new Set()),_0x59b886(this,'_lastPointer',null),(this[_0x54a2dd(0x32d)]=_0x59654f,this[_0x54a2dd(0x216)]=_0xb23805,this[_0x54a2dd(0x277)]=_0x28af,this[_0x54a2dd(0xd1)]=_0x56697c,this['_init']());}[_0x3e2a0c(0xd8)](){const _0x3996ef=_0x3e2a0c;this[_0x3996ef(0x216)][_0x3996ef(0x2ed)][_0x3996ef(0x2e5)](_0x59ca5d['takeUntil'](this[_0x3996ef(0x331)]),_0x59ca5d[_0x3996ef(0x296)](_0x5297ca=>{const _0x45ff9e=_0x3996ef;if(_0x5297ca){const _0x40f66a=_0x5297ca[_0x45ff9e(0xdd)];return _0x22d1cd[_0x45ff9e(0x9b)](this['_collabCursorController'][_0x45ff9e(0x2e3)](this[_0x45ff9e(0x32d)][_0x45ff9e(0x10a)]),this[_0x45ff9e(0xd1)]['currentTheme$'])[_0x45ff9e(0x2e5)](_0x59ca5d[_0x45ff9e(0xba)](([_0x5382ef,_0x4fb105])=>{const _0x1116b3=_0x45ff9e,_0x962ffa=new Map();return _0x5382ef[_0x1116b3(0x28b)]((_0x5948ce,_0x1909cf)=>{const _0x283d2b=_0x1116b3;if(_0x5948ce[_0x283d2b(0x88)]===_0x40f66a){const _0xb2d3b2={..._0x5948ce};_0xb2d3b2['color']=this[_0x283d2b(0xd1)][_0x283d2b(0xf0)](_0x5948ce[_0x283d2b(0x1aa)]),_0x962ffa[_0x283d2b(0x2bd)](_0x1909cf,_0xb2d3b2);}}),{'skeleton':_0x5297ca,'cursors':_0x962ffa};}));}return _0x22d1cd['of']({'skeleton':null,'cursors':new Map()});}))[_0x3996ef(0x298)](({skeleton:_0x51fc39,cursors:_0x58d0cb})=>{const _0x48b4dd=_0x3996ef;this[_0x48b4dd(0x25e)](),_0x51fc39&&this[_0x48b4dd(0x1fc)](_0x51fc39,_0x58d0cb);}),this[_0x3996ef(0x216)]['currentSkeleton$'][_0x3996ef(0x298)](_0x589559=>{const _0x37050c=_0x3996ef;if(_0x589559==null)return;const {skeleton:_0x311f1e}=_0x589559,{scene:_0x67de98}=this[_0x37050c(0x32d)];_0x67de98[_0x37050c(0x10d)][_0x37050c(0x356)](_0x1c11c7[_0x37050c(0x2ab)](_0x19fe29=>{const _0x254bce=_0x37050c;var _0x576f12,_0x3a6380;const {offsetX:_0x3b95d1,offsetY:_0xb0e8ef}=_0x19fe29,{x:_0x329457,y:_0x8078f2}=_0x67de98[_0x254bce(0x10e)](_0x3af7ee[_0x254bce(0x2fb)][_0x254bce(0x8e)]([_0x3b95d1,_0xb0e8ef])),{scaleX:_0x13ddb4,scaleY:_0x28bcaa}=_0x67de98[_0x254bce(0x10f)](),_0xb77f53=_0x67de98[_0x254bce(0x116)](_0x3af7ee[_0x254bce(0x23d)][_0x254bce(0x2b6)]),_0x1688b6=_0x67de98[_0x254bce(0x29b)](_0x3af7ee[_0x254bce(0x2fb)][_0x254bce(0x8e)]([_0x329457,_0x8078f2]),_0xb77f53),_0x38f1b9=_0x311f1e[_0x254bce(0x239)](_0x3b95d1,_0xb0e8ef,_0x13ddb4,_0x28bcaa,_0x1688b6);((_0x576f12=this[_0x254bce(0x179)])==null?void 0x0:_0x576f12[_0x254bce(0x92)])===_0x38f1b9['column']&&((_0x3a6380=this[_0x254bce(0x179)])==null?void 0x0:_0x3a6380[_0x254bce(0x22b)])===_0x38f1b9[_0x254bce(0x22b)]||this[_0x254bce(0x279)][_0x254bce(0x28b)](_0x1b2a9e=>{_0x1b2a9e['onMouseMove'](_0x38f1b9);});},0x64));});}[_0x3e2a0c(0x1fc)](_0x4d2aab,_0x32205f){const _0x2724b8=_0x3e2a0c;var _0x36f4cc;const _0x5cf2fd=(_0x36f4cc=this[_0x2724b8(0x216)][_0x2724b8(0x178)]())==null?void 0x0:_0x36f4cc[_0x2724b8(0x128)];if(!_0x5cf2fd)return;const _0xdcc751=this[_0x2724b8(0x2e2)]();if(!_0xdcc751)return;this['_cursors'][_0x2724b8(0x28b)](_0x283ef7=>{const _0x6c33c7=_0x2724b8;_0x283ef7[_0x6c33c7(0xe8)]();});const {scene:_0x221d1a}=_0xdcc751,_0x2c835e=_0x4a7225(Array[_0x2724b8(0x30a)](_0x32205f[_0x2724b8(0x12b)]()))[_0x2724b8(0xba)](_0x1b46df=>{const _0x414810=_0x2724b8,{color:_0x5afa65,range:_0x6a0cdb,name:_0x34f6af,selection:_0x9f74be,sheetID:_0x13c0ee}=_0x1b46df,{startColumn:_0x199460,startRow:_0x27f135,endColumn:_0xb4d1a0,endRow:_0x32d6b1}=_0x6a0cdb,_0x2e0c23=_0x6f2857[_0x414810(0xeb)](_0x27f135,_0x199460,_0x221d1a,_0x5cf2fd),_0x11bdf9=_0x6f2857[_0x414810(0xeb)](_0x32d6b1,_0xb4d1a0,_0x221d1a,_0x5cf2fd),{columnHeaderHeightAndMarginTop:_0x5a21c4}=_0x5cf2fd,{startX:_0x340478,startY:_0x299a22}=_0x2e0c23,{endX:_0xa5ba5d,endY:_0x10d9e8}=_0x11bdf9,_0x547b30=_0xa5ba5d-_0x340478,_0xfb6d39=_0x10d9e8-_0x299a22,_0x1cdb4f={'labelPosition':_0x299a22-_0x5a21c4>=_0x2a5c70?_0x414810(0x157):'bottom','sheetID':_0x13c0ee,'range':_0x6a0cdb,'color':_0x5afa65,'name':_0x34f6af,'selection':_0x9f74be,'left':_0x340478,'top':_0x299a22,'width':_0x547b30,'height':_0xfb6d39,'evented':!0x1,'zIndex':_0x4308ee};return new _0x18d2ef(_0x34f6af,_0x1cdb4f);});_0x221d1a[_0x2724b8(0x240)](_0x2c835e,_0x55c529),this[_0x2724b8(0x279)]=new Set(_0x2c835e);}['_removeCollabCursors'](){const _0x508d24=_0x3e2a0c;var _0x3b8e7e;(_0x3b8e7e=this[_0x508d24(0x279)])==null||_0x3b8e7e[_0x508d24(0x28b)](_0xdc4b28=>_0xdc4b28[_0x508d24(0x2d0)]());}[_0x3e2a0c(0x2e2)](){const _0x56ed13=_0x3e2a0c;return _0x6f2857[_0x56ed13(0x359)](this['_context']['unit'],this[_0x56ed13(0x32d)]);}};_0x448690=_0x28c3dd([_0x1b0d2d(0x1,_0x1c11c7[_0x3e2a0c(0x292)](_0x6f2857[_0x3e2a0c(0x30d)])),_0x1b0d2d(0x2,_0x1c11c7['Inject'](_0x40a13a)),_0x1b0d2d(0x3,_0x1c11c7[_0x3e2a0c(0x292)](_0x1c11c7[_0x3e2a0c(0x290)]))],_0x448690);function _0x4a7225(_0x357605){const _0x29b420=_0x3e2a0c,_0x1b5e53=new Map();return _0x357605['forEach'](_0x4d5cb5=>{const _0x59cf4a=_0x1e66;if(_0x1b5e53[_0x59cf4a(0xd0)](_0x4d5cb5['selection'])){const _0x26e254=_0x1b5e53[_0x59cf4a(0xb7)](_0x4d5cb5[_0x59cf4a(0x2c4)]);_0x26e254[_0x59cf4a(0x1a7)]+=',\x20'+_0x4d5cb5[_0x59cf4a(0x1a7)];}else _0x1b5e53[_0x59cf4a(0x2bd)](_0x4d5cb5[_0x59cf4a(0x2c4)],_0x4d5cb5);}),Array[_0x29b420(0x30a)](_0x1b5e53[_0x29b420(0x12b)]());}var _0x1edc03=Object[_0x3e2a0c(0x335)],_0x567faa=(_0x4b4148,_0xc10dbf,_0x3ff376,_0x21457a)=>{const _0x46e98a=_0x3e2a0c;for(var _0x372614=_0x21457a>0x1?void 0x0:_0x21457a?_0x1edc03(_0xc10dbf,_0x3ff376):_0xc10dbf,_0x488ad8=_0x4b4148[_0x46e98a(0x226)]-0x1,_0x40b4bd;_0x488ad8>=0x0;_0x488ad8--)(_0x40b4bd=_0x4b4148[_0x488ad8])&&(_0x372614=_0x40b4bd(_0x372614)||_0x372614);return _0x372614;},_0xb628c3=(_0x524697,_0x2f502b)=>(_0x1284d7,_0x669004)=>_0x2f502b(_0x1284d7,_0x669004,_0x524697);let _0x53c160=class extends _0x1c11c7['Disposable']{constructor(_0xb3322,_0x1a0429,_0x41315d,_0x2ea779,_0x4a3c28,_0x526c40){const _0x299871=_0x3e2a0c;super(),this[_0x299871(0x222)]=_0xb3322,this[_0x299871(0x1f2)]=_0x1a0429,this['_collaborationUIEventService']=_0x41315d,this[_0x299871(0x260)]=_0x2ea779,this[_0x299871(0x221)]=_0x4a3c28,this[_0x299871(0x352)]=_0x526c40,this['_setupBeforeClosingHandler'](),this[_0x299871(0x8f)]();}[_0x3e2a0c(0x247)](){const _0x447e86=_0x3e2a0c;this['disposeWithMe'](this['_beforeCloseService'][_0x447e86(0x218)](()=>{const _0x5d24ca=_0x447e86;if(this[_0x5d24ca(0x1f2)][_0x5d24ca(0x2cd)][_0x5d24ca(0x2a0)])return this[_0x5d24ca(0x352)]['t'](_0x5d24ca(0x107));}));}['_initEvent'](){const _0x548e59=_0x3e2a0c;this['disposeWithMe'](this[_0x548e59(0x124)]['event$']['subscribe'](_0x4f9d6c=>{const _0x2b1255=_0x548e59;_0x4f9d6c['id']===_0x48f853[_0x2b1255(0xe0)][_0x2b1255(0x14a)]&&this[_0x2b1255(0x260)][_0x2b1255(0x36a)]({'type':_0xf1d46[_0x2b1255(0x9d)][_0x2b1255(0x1ac)],'content':this['_localeService']['t'](_0x2b1255(0x2d5))}),_0x4f9d6c['id']===_0x48f853['CollaborationUIEventId'][_0x2b1255(0x153)]&&this['_messageService'][_0x2b1255(0x36a)]({'type':_0xf1d46['MessageType'][_0x2b1255(0x1ac)],'content':this[_0x2b1255(0x352)]['t'](_0x2b1255(0x14d))}),_0x4f9d6c['id']===_0x48f853[_0x2b1255(0xe0)][_0x2b1255(0x349)]&&this[_0x2b1255(0x221)][_0x2b1255(0x36a)]({'title':this[_0x2b1255(0x352)]['t'](_0x2b1255(0x192)),'content':this[_0x2b1255(0x352)]['t'](_0x2b1255(0x203)),'type':_0x2b1255(0x198),'duration':0x0}),_0x4f9d6c['id']===_0x48f853['CollaborationUIEventId']['CONFLICT']&&this[_0x2b1255(0x260)]['show']({'type':_0xf1d46[_0x2b1255(0x9d)][_0x2b1255(0x326)],'content':this['_localeService']['t'](_0x2b1255(0x14d))+'('+_0x4f9d6c[_0x2b1255(0x1bb)]+')'}),_0x4f9d6c['id']===_0x48f853['CollaborationUIEventId'][_0x2b1255(0xfc)]&&this['_messageService'][_0x2b1255(0x36a)]({'type':_0xf1d46[_0x2b1255(0x9d)]['Warning'],'content':this['_localeService']['t'](_0x4f9d6c[_0x2b1255(0x1bb)]||'')}),_0x4f9d6c['id']===_0x48f853[_0x2b1255(0xe0)][_0x2b1255(0xde)]&&this[_0x2b1255(0x260)][_0x2b1255(0x36a)]({'type':_0xf1d46[_0x2b1255(0x9d)][_0x2b1255(0x1ac)],'content':this[_0x2b1255(0x352)]['t'](_0x2b1255(0x117))}),_0x4f9d6c['id']===_0x48f853['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x2b1255(0x260)][_0x2b1255(0x36a)]({'type':_0xf1d46[_0x2b1255(0x9d)]['Error'],'content':this['_localeService']['t'](_0x2b1255(0x2da))}),_0x4f9d6c['id']===_0x48f853[_0x2b1255(0xe0)][_0x2b1255(0x25a)]&&this[_0x2b1255(0x260)][_0x2b1255(0x36a)]({'type':_0xf1d46['MessageType']['Error'],'content':this[_0x2b1255(0x352)]['t'](_0x2b1255(0x2cb))});}));}};_0x53c160=_0x567faa([_0xb628c3(0x0,_0x228868['IBeforeCloseService']),_0xb628c3(0x1,_0x48f853['ILocalCacheService']),_0xb628c3(0x2,_0x1c11c7[_0x3e2a0c(0x292)](_0x48f853['CollaborationUIEventService'])),_0xb628c3(0x3,_0x228868['IMessageService']),_0xb628c3(0x4,_0x228868[_0x3e2a0c(0x289)]),_0xb628c3(0x5,_0x1c11c7['Inject'](_0x1c11c7[_0x3e2a0c(0x2ea)]))],_0x53c160);var _0x270afa=Object['getOwnPropertyDescriptor'],_0x2822c8=(_0x3c09e9,_0x23dc0,_0x663572,_0x39e805)=>{const _0x2fa4f0=_0x3e2a0c;for(var _0x5db928=_0x39e805>0x1?void 0x0:_0x39e805?_0x270afa(_0x23dc0,_0x663572):_0x23dc0,_0x279564=_0x3c09e9[_0x2fa4f0(0x226)]-0x1,_0x42c0de;_0x279564>=0x0;_0x279564--)(_0x42c0de=_0x3c09e9[_0x279564])&&(_0x5db928=_0x42c0de(_0x5db928)||_0x5db928);return _0x5db928;},_0x25af71=(_0x2e7fab,_0x584111)=>(_0x2239eb,_0x512907)=>_0x584111(_0x2239eb,_0x512907,_0x2e7fab);let _0x2d1552=class extends _0x1c11c7['Disposable']{constructor(_0x2b1a9f,_0x56b2ce,_0x21673a,_0x33f320){const _0x5408a7=_0x3e2a0c;super(),_0x59b886(this,_0x5408a7(0x1af)),(this[_0x5408a7(0x1b7)]=_0x2b1a9f,this['_httpService']=_0x56b2ce,this[_0x5408a7(0xb3)]=_0x21673a,this[_0x5408a7(0x1b9)]=_0x33f320,this[_0x5408a7(0xd8)]());}[_0x3e2a0c(0xd8)](){const _0x4689e7=_0x3e2a0c;this['_initWindowErrorListener'](),this[_0x4689e7(0x23f)](),this[_0x4689e7(0x278)](),this[_0x4689e7(0x1bc)]();}[_0x3e2a0c(0x1bc)](){const _0x22ea7b=_0x3e2a0c;this[_0x22ea7b(0x334)](this[_0x22ea7b(0x1b9)][_0x22ea7b(0x307)][_0x22ea7b(0x298)](_0x486b40=>{const _0x5ed47c=_0x22ea7b;this[_0x5ed47c(0x1af)]=_0x486b40==null?void 0x0:_0x486b40[_0x5ed47c(0x121)];}));}['_initWindowErrorListener'](){const _0x2c9416=_0x3e2a0c,_0x4a35bc=_0x3c6039=>{const _0x37734f=_0x1e66;var _0x218153;this[_0x37734f(0x29e)](_0x37734f(0x198),_0x37734f(0x31d)+_0x3c6039[_0x37734f(0x244)]+_0x37734f(0xef)+_0x3c6039[_0x37734f(0x1dc)]+':'+_0x3c6039[_0x37734f(0x2e1)]+':'+_0x3c6039['colno']+'\x0a'+(((_0x218153=_0x3c6039['error'])==null?void 0x0:_0x218153[_0x37734f(0x1d1)])||''));};window['addEventListener'](_0x2c9416(0x198),_0x4a35bc),this['disposeWithMe'](()=>{const _0x159a50=_0x2c9416;window[_0x159a50(0x26f)](_0x159a50(0x198),_0x4a35bc);});}[_0x3e2a0c(0x23f)](){const _0x5c8d83=_0x3e2a0c,_0x566e25=_0x1ca4e0=>{const _0x1b9bff=_0x1e66;this[_0x1b9bff(0x29e)]('error','[Unhandled\x20Rejection]:\x20'+_0x1ca4e0[_0x1b9bff(0xc7)]);};window['addEventListener'](_0x5c8d83(0xc2),_0x566e25),this[_0x5c8d83(0x334)](()=>{window['removeEventListener']('unhandledrejection',_0x566e25);});}[_0x3e2a0c(0x278)](){const _0x2a53c8=_0x3e2a0c,_0x1ca622=this[_0x2a53c8(0xb3)][_0x2a53c8(0x198)][_0x2a53c8(0x1ba)](this[_0x2a53c8(0xb3)]);this[_0x2a53c8(0xb3)][_0x2a53c8(0x198)]=(..._0x3d874e)=>{const _0x458abc=_0x2a53c8,_0x25179d=_0x3d874e[_0x458abc(0xba)](_0x33c11c=>_0x33c11c instanceof Error?_0x33c11c[_0x458abc(0x244)]+'\x0a'+_0x33c11c[_0x458abc(0x1d1)]:String(_0x33c11c))[_0x458abc(0x315)]('\x20');this[_0x458abc(0x29e)](_0x458abc(0x198),_0x458abc(0x114)+_0x25179d),_0x1ca622(..._0x3d874e);},this['disposeWithMe'](()=>{const _0x3ee4a8=_0x2a53c8;this[_0x3ee4a8(0xb3)][_0x3ee4a8(0x198)]=_0x1ca622;});}['_uploadLog'](_0x50fa7e,_0x56816a){const _0x22c9ce=_0x3e2a0c;try{const _0x3934e4={'userId':this[_0x22c9ce(0x1af)],'logLabel':_0x50fa7e,'content':_0x56816a};this[_0x22c9ce(0x2ef)][_0x22c9ce(0xa3)](_0x22c9ce(0x13d),{'body':_0x3934e4})[_0x22c9ce(0x27b)](()=>{});}catch{}}};_0x2d1552=_0x2822c8([_0x25af71(0x0,_0x1c11c7[_0x3e2a0c(0x292)](_0x1c11c7[_0x3e2a0c(0x1c7)])),_0x25af71(0x1,_0x1c11c7['Inject'](_0x5da135[_0x3e2a0c(0x369)])),_0x25af71(0x2,_0x1c11c7['ILogService']),_0x25af71(0x3,_0x1c11c7[_0x3e2a0c(0x292)](_0x48f853[_0x3e2a0c(0x310)]))],_0x2d1552);const _0x5b2101=_0x3e2a0c(0x308),_0x4a63de={};var _0x1c195a=Object['getOwnPropertyDescriptor'],_0x1a6f5d=(_0x5bc582,_0x1b0a90,_0x277567,_0x16d88e)=>{const _0x41dcb4=_0x3e2a0c;for(var _0x5f412e=_0x16d88e>0x1?void 0x0:_0x16d88e?_0x1c195a(_0x1b0a90,_0x277567):_0x1b0a90,_0x2fa441=_0x5bc582[_0x41dcb4(0x226)]-0x1,_0xef3324;_0x2fa441>=0x0;_0x2fa441--)(_0xef3324=_0x5bc582[_0x2fa441])&&(_0x5f412e=_0xef3324(_0x5f412e)||_0x5f412e);return _0x5f412e;},_0x10e58c=(_0x7f889c,_0x13bcab)=>(_0x4091f2,_0x3f3943)=>_0x13bcab(_0x4091f2,_0x3f3943,_0x7f889c);let _0xd24790=class{constructor(_0x573838,_0x460595){const _0x23295b=_0x3e2a0c;this[_0x23295b(0x162)]=_0x573838,this[_0x23295b(0x102)]=_0x460595;}[_0x3e2a0c(0x96)](_0x129e08){const _0x2545d9=_0x3e2a0c;this[_0x2545d9(0x21b)](_0x129e08),this[_0x2545d9(0xcc)](_0x129e08);}[_0x3e2a0c(0x1c9)](_0x172166){const _0xe4e758=_0x3e2a0c,{unitID:_0x34f7d1}=_0x172166,_0x101814=this[_0xe4e758(0x102)]['getRenderById'](_0x34f7d1)[_0xe4e758(0x2a4)](_0x285a4f['DocIMEInputManagerService']),{redoCache:_0x226328}=_0x101814[_0xe4e758(0x209)]();if(_0x226328[_0xe4e758(0x226)]===0x0)return _0x172166;let _0x408450=_0x1c11c7[_0xe4e758(0x83)][_0xe4e758(0x311)](_0x172166[_0xe4e758(0x1b6)][0x0]);for(let _0x689b=0x0;_0x689b<_0x226328['length'];_0x689b++){const _0x12ddd2={'id':_0xe4e758(0x212),'params':{..._0x226328[_0x689b]}},_0x298752=this[_0xe4e758(0x162)][_0xe4e758(0xfb)](_0x408450,_0x12ddd2,!0x1);if(_0x2b25e3[_0xe4e758(0x14b)](_0x298752))throw _0x298752[_0xe4e758(0x198)];_0x408450=_0x298752[_0xe4e758(0x136)];}return{..._0x1c11c7[_0xe4e758(0x83)]['deepClone'](_0x172166),'mutations':[_0x408450]};}[_0x3e2a0c(0x21b)](_0x35367e){const _0x4071ff=_0x3e2a0c,{unitID:_0x290688}=_0x35367e,_0xa3cdbb=this[_0x4071ff(0x102)][_0x4071ff(0x197)](_0x290688)[_0x4071ff(0x2a4)](_0x285a4f[_0x4071ff(0x2d7)]),{undoCache:_0xf26d06,redoCache:_0x397882}=_0xa3cdbb[_0x4071ff(0x209)]();if(_0xf26d06['length']===0x0||_0x397882[_0x4071ff(0x226)]===0x0)return;const _0x4ab9d7=[],_0x3a8f9d=[];let _0x6d7099=_0x1c11c7[_0x4071ff(0x83)]['deepClone'](_0x35367e[_0x4071ff(0x1b6)][0x0]),_0x3d08d9=_0x1c11c7[_0x4071ff(0x83)][_0x4071ff(0x311)](_0x35367e[_0x4071ff(0x1b6)][0x0]);for(let _0x59fc1f=_0xf26d06['length']-0x1;_0x59fc1f>=0x0;_0x59fc1f--){const _0x516604={'id':_0x4071ff(0x212),'params':{..._0xf26d06[_0x59fc1f]}},_0x3b4d51={'id':_0x4071ff(0x212),'params':{..._0x397882[_0x59fc1f]}},_0x45a7a6=this['_transformService']['transformMutation'](_0x6d7099,_0x516604,!0x1),_0x3f0338=this[_0x4071ff(0x162)]['transformMutation'](_0x3d08d9,_0x3b4d51,!0x1);if(_0x2b25e3[_0x4071ff(0x14b)](_0x45a7a6))throw _0x45a7a6[_0x4071ff(0x198)];if(_0x2b25e3['isTransformMutationFailure'](_0x3f0338))throw _0x3f0338[_0x4071ff(0x198)];_0x4ab9d7[_0x4071ff(0x1bd)](_0x45a7a6[_0x4071ff(0x86)][_0x4071ff(0x266)]),_0x3a8f9d[_0x4071ff(0x1bd)](_0x3f0338[_0x4071ff(0x86)][_0x4071ff(0x266)]),_0x6d7099=_0x45a7a6[_0x4071ff(0x136)],_0x3d08d9=_0x3f0338['m1Prime'];}_0xa3cdbb[_0x4071ff(0x152)]({'undoCache':_0x4ab9d7,'redoCache':_0x3a8f9d});}[_0x3e2a0c(0xcc)](_0x46413c){const _0x4950a2=_0x3e2a0c,{unitID:_0x4f8ecb}=_0x46413c,_0x55eb9b=this[_0x4950a2(0x102)][_0x4950a2(0x197)](_0x4f8ecb)[_0x4950a2(0x2a4)](_0x285a4f['DocIMEInputManagerService']),_0x3bf38c=_0x55eb9b[_0x4950a2(0x146)]();if(_0x3bf38c==null)return;const _0x1d993b=[{'id':_0x4950a2(0x212),'params':{'unitId':_0x46413c[_0x4950a2(0x1df)],'actions':null,'textRanges':[_0x3bf38c]}}],_0x4f952d=this[_0x4950a2(0x162)]['transformMutationsWithChangeset'](_0x46413c,_0x1d993b);if(!_0x2b25e3[_0x4950a2(0x1dd)](_0x4f952d))throw _0x4f952d[_0x4950a2(0x198)];const _0x342d04=_0x4f952d[_0x4950a2(0x86)][0x0][_0x4950a2(0x266)][_0x4950a2(0x316)];Array['isArray'](_0x342d04)&&_0x342d04[_0x4950a2(0x226)]&&_0x55eb9b[_0x4950a2(0xfd)](_0x342d04[0x0]);}};_0xd24790=_0x1a6f5d([_0x10e58c(0x0,_0x2b25e3[_0x3e2a0c(0xda)]),_0x10e58c(0x1,_0x3af7ee['IRenderManagerService'])],_0xd24790);var _0xf03bd4=Object[_0x3e2a0c(0x335)],_0x35c38e=(_0x374862,_0x4759ec,_0x16fea7,_0x2cbfe0)=>{for(var _0x28745d=_0x2cbfe0>0x1?void 0x0:_0x2cbfe0?_0xf03bd4(_0x4759ec,_0x16fea7):_0x4759ec,_0x5e8ad5=_0x374862['length']-0x1,_0x318fd8;_0x5e8ad5>=0x0;_0x5e8ad5--)(_0x318fd8=_0x374862[_0x5e8ad5])&&(_0x28745d=_0x318fd8(_0x28745d)||_0x28745d);return _0x28745d;},_0x3cf855=(_0x16c34b,_0x471dab)=>(_0x135592,_0x2d292d)=>_0x471dab(_0x135592,_0x2d292d,_0x16c34b);let _0x265640=class{constructor(_0x31b836,_0x11539f,_0x2b30cd){const _0x1d00e0=_0x3e2a0c;this[_0x1d00e0(0x1b7)]=_0x31b836,this['_transformService']=_0x11539f,this[_0x1d00e0(0x100)]=_0x2b30cd;}['transformStateCache'](_0x11aab8){const _0x51c9cb=_0x3e2a0c;this[_0x51c9cb(0x1b5)](_0x11aab8);}[_0x3e2a0c(0x1c9)](_0x3e5cf5){const _0x19c0c1=_0x3e2a0c,{unitID:_0x2920ae}=_0x3e5cf5,{collaboration:_0x30691f}=this[_0x19c0c1(0x100)]['getStateCache'](_0x2920ae);if(_0x30691f['length']===0x0)return _0x3e5cf5;let _0x12683c=_0x1c11c7[_0x19c0c1(0x83)]['deepClone'](_0x3e5cf5[_0x19c0c1(0x1b6)][0x0]);for(let _0x46730d=0x0;_0x46730d<_0x30691f[_0x19c0c1(0x226)];_0x46730d++){const _0x2ef2f5={'id':_0x19c0c1(0x212),'params':{'unitId':_0x30691f[_0x46730d]['unitId'],..._0x30691f[_0x46730d][_0x19c0c1(0x17d)]}},_0x323097=this['_transformService'][_0x19c0c1(0xfb)](_0x12683c,_0x2ef2f5,!0x1);if(_0x2b25e3[_0x19c0c1(0x14b)](_0x323097))throw _0x323097['error'];_0x12683c=_0x323097[_0x19c0c1(0x136)];}return{..._0x1c11c7[_0x19c0c1(0x83)][_0x19c0c1(0x311)](_0x3e5cf5),'mutations':[_0x12683c]};}[_0x3e2a0c(0x1b5)](_0x15e6cd){const _0x43ba41=_0x3e2a0c,{unitID:_0x414d5a}=_0x15e6cd,{history:_0x277afc,collaboration:_0x3ecd94}=this['_docStateChangeManagerService'][_0x43ba41(0x2c5)](_0x414d5a);if(_0x277afc['length']===0x0&&_0x3ecd94[_0x43ba41(0x226)]===0x0)return;const _0x42cf8f=[],_0xe90495=[];let _0xf1abf1=_0x1c11c7[_0x43ba41(0x83)]['deepClone'](_0x15e6cd[_0x43ba41(0x1b6)][0x0]),_0x51bf14=_0x1c11c7['Tools'][_0x43ba41(0x311)](_0x15e6cd['mutations'][0x0]);for(let _0x3ab988=_0x277afc[_0x43ba41(0x226)]-0x1;_0x3ab988>=0x0;_0x3ab988--){const _0x5a6a13={'id':_0x43ba41(0x212),'params':{'unitId':_0x277afc[_0x3ab988][_0x43ba41(0x10a)],..._0x277afc[_0x3ab988][_0x43ba41(0x284)]}},_0x1c41c7={'id':_0x43ba41(0x212),'params':{'unitId':_0x277afc[_0x3ab988]['unitId'],..._0x277afc[_0x3ab988][_0x43ba41(0x17d)]}},_0x337994=this['_transformService'][_0x43ba41(0xfb)](_0xf1abf1,_0x5a6a13,!0x1),_0x91097a=this[_0x43ba41(0x162)]['transformMutation'](_0x51bf14,_0x1c41c7,!0x1);if(_0x2b25e3['isTransformMutationFailure'](_0x337994))throw _0x337994[_0x43ba41(0x198)];if(_0x2b25e3['isTransformMutationFailure'](_0x91097a))throw _0x91097a[_0x43ba41(0x198)];_0x42cf8f['unshift']({..._0x277afc[_0x3ab988],'undoState':_0x337994[_0x43ba41(0x86)][_0x43ba41(0x266)],'redoState':_0x91097a[_0x43ba41(0x86)]['params']}),_0xf1abf1=_0x337994[_0x43ba41(0x136)],_0x51bf14=_0x91097a[_0x43ba41(0x136)];}_0xf1abf1=_0x1c11c7[_0x43ba41(0x83)][_0x43ba41(0x311)](_0x15e6cd['mutations'][0x0]),_0x51bf14=_0x1c11c7[_0x43ba41(0x83)]['deepClone'](_0x15e6cd[_0x43ba41(0x1b6)][0x0]);for(let _0x36f94b=_0x3ecd94[_0x43ba41(0x226)]-0x1;_0x36f94b>=0x0;_0x36f94b--){const _0xa61eb2={'id':_0x43ba41(0x212),'params':{'unitId':_0x3ecd94[_0x36f94b][_0x43ba41(0x10a)],..._0x3ecd94[_0x36f94b]['undoState']}},_0x1f0df5={'id':_0x43ba41(0x212),'params':{'unitId':_0x3ecd94[_0x36f94b]['unitId'],..._0x3ecd94[_0x36f94b][_0x43ba41(0x17d)]}},_0x14b4e7=this[_0x43ba41(0x162)][_0x43ba41(0xfb)](_0xf1abf1,_0xa61eb2,!0x1),_0x208893=this[_0x43ba41(0x162)][_0x43ba41(0xfb)](_0x51bf14,_0x1f0df5,!0x1);if(_0x2b25e3[_0x43ba41(0x14b)](_0x14b4e7))throw _0x14b4e7[_0x43ba41(0x198)];if(_0x2b25e3[_0x43ba41(0x14b)](_0x208893))throw _0x208893[_0x43ba41(0x198)];_0xe90495['unshift']({..._0x3ecd94[_0x36f94b],'undoState':_0x14b4e7[_0x43ba41(0x86)][_0x43ba41(0x266)],'redoState':_0x208893[_0x43ba41(0x86)][_0x43ba41(0x266)]}),_0xf1abf1=_0x14b4e7['m1Prime'],_0x51bf14=_0x208893['m1Prime'];}this['_docStateChangeManagerService'][_0x43ba41(0x12c)](_0x414d5a,{'history':_0x42cf8f,'collaboration':_0xe90495});}};_0x265640=_0x35c38e([_0x3cf855(0x0,_0x1c11c7[_0x3e2a0c(0x292)](_0x1c11c7[_0x3e2a0c(0x1c7)])),_0x3cf855(0x1,_0x2b25e3['ITransformService']),_0x3cf855(0x2,_0x1c11c7['Inject'](_0x285a4f[_0x3e2a0c(0xc6)]))],_0x265640);var _0x4b14f2=Object[_0x3e2a0c(0x335)],_0x3615c2=(_0x395292,_0x28bbaf,_0x4c5623,_0xc53b4c)=>{const _0x1bd1a0=_0x3e2a0c;for(var _0x5983ea=_0xc53b4c>0x1?void 0x0:_0xc53b4c?_0x4b14f2(_0x28bbaf,_0x4c5623):_0x28bbaf,_0x6e31ab=_0x395292[_0x1bd1a0(0x226)]-0x1,_0x4ed324;_0x6e31ab>=0x0;_0x6e31ab--)(_0x4ed324=_0x395292[_0x6e31ab])&&(_0x5983ea=_0x4ed324(_0x5983ea)||_0x5983ea);return _0x5983ea;},_0xe716a1=(_0x4e5001,_0x37ec39)=>(_0x506a22,_0x2530ac)=>_0x37ec39(_0x506a22,_0x2530ac,_0x4e5001);let _0x468208=class{constructor(_0x4a195b,_0x4457e7){const _0x553627=_0x3e2a0c;this[_0x553627(0x1b7)]=_0x4a195b,this['_transformService']=_0x4457e7;}[_0x3e2a0c(0x1b8)](_0x4307d7){const _0x55d3cc=_0x3e2a0c;var _0x19a44e;const _0x42a20f=this['_injector'][_0x55d3cc(0xb7)](_0x23d37b[_0x55d3cc(0x2d1)]),_0x4042da=(_0x19a44e=_0x42a20f[_0x55d3cc(0xcf)]())!=null?_0x19a44e:[];if(_0x4042da['length']===0x0)return;const _0x5cc612=_0x4307d7[_0x55d3cc(0x1df)],_0x5116a6=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5cc612,'actions':null,'textRanges':_0x4042da}}],_0xb4d21=this[_0x55d3cc(0x162)][_0x55d3cc(0x20e)](_0x4307d7,_0x5116a6);if(!_0x2b25e3[_0x55d3cc(0x1dd)](_0xb4d21))throw _0xb4d21[_0x55d3cc(0x198)];const _0x5f2b05=_0xb4d21['m2Prime'][0x0][_0x55d3cc(0x266)][_0x55d3cc(0x316)];Array[_0x55d3cc(0x263)](_0x5f2b05)&&_0x5f2b05[_0x55d3cc(0x226)]&&_0x42a20f[_0x55d3cc(0x119)](_0x5f2b05,{'unitId':_0x5cc612,'subUnitId':_0x5cc612},!0x1);}};_0x468208=_0x3615c2([_0xe716a1(0x0,_0x1c11c7['Inject'](_0x1c11c7[_0x3e2a0c(0x1c7)])),_0xe716a1(0x1,_0x2b25e3[_0x3e2a0c(0xda)])],_0x468208);var _0x3f693b=Object['getOwnPropertyDescriptor'],_0x3ae2bb=(_0x3ebf43,_0xc827dc,_0x1bc088,_0x2ec458)=>{for(var _0x4c6442=_0x2ec458>0x1?void 0x0:_0x2ec458?_0x3f693b(_0xc827dc,_0x1bc088):_0xc827dc,_0x7eba37=_0x3ebf43['length']-0x1,_0x5013d3;_0x7eba37>=0x0;_0x7eba37--)(_0x5013d3=_0x3ebf43[_0x7eba37])&&(_0x4c6442=_0x5013d3(_0x4c6442)||_0x4c6442);return _0x4c6442;},_0x405c60=(_0x15f4d3,_0x3efd72)=>(_0x3b9b9c,_0x7b11b8)=>_0x3efd72(_0x3b9b9c,_0x7b11b8,_0x15f4d3);let _0xfc721b=class extends _0x1c11c7[_0x3e2a0c(0x110)]{constructor(_0x1c21e5,_0x4032e8,_0x3491b7,_0x2456cd,_0x12103b,_0x8a117c,_0x2c09c8,_0x42898a){const _0x1edbd1=_0x3e2a0c;super(),_0x59b886(this,'_status$',new _0x22d1cd[(_0x1edbd1(0x1ef))](_0x48f853[_0x1edbd1(0x2a5)][_0x1edbd1(0x346)])),(this[_0x1edbd1(0x100)]=_0x1c21e5,this['_collaborationController']=_0x4032e8,this[_0x1edbd1(0x20f)]=_0x3491b7,this[_0x1edbd1(0x93)]=_0x2456cd,this[_0x1edbd1(0x17e)]=_0x12103b,this[_0x1edbd1(0x16a)]=_0x8a117c,this[_0x1edbd1(0x260)]=_0x2c09c8,this['_localeService']=_0x42898a,this[_0x1edbd1(0xa6)]());}[_0x3e2a0c(0xa6)](){const _0x3ee322=_0x3e2a0c;this[_0x3ee322(0x334)](this['_collaborationController'][_0x3ee322(0x32e)][_0x3ee322(0x298)](_0x1b0f07=>{const _0x59eaaf=_0x3ee322,_0x19e394=this['_docStateChangeManagerService'][_0x59eaaf(0x2be)][_0x59eaaf(0x298)](_0x234766=>{const _0x104c67=_0x59eaaf;if(_0x234766==null)return;const {unitId:_0x32498c,redoState:_0x36400c,commandId:_0x5f0e28}=_0x234766;if(_0x32498c!==_0x1b0f07[_0x104c67(0x1df)])return;const _0x4539ba={'id':_0x5f0e28,'type':_0x1c11c7[_0x104c67(0x2c7)][_0x104c67(0x130)],'params':{'unitId':_0x32498c,'actions':_0x36400c[_0x104c67(0x287)],'textRanges':null}};_0x1b0f07['onLocalMutation'](_0x4539ba);});if(_0x1b0f07[_0x59eaaf(0x334)](_0x19e394),_0x1b0f07 instanceof _0x48f853['DocCollaborationEntity']){const _0x3c44b2={'onTransformIME':_0x4ff4f6=>this[_0x59eaaf(0x20f)][_0x59eaaf(0x96)](_0x4ff4f6),'onTransformState':_0x304f43=>this[_0x59eaaf(0x93)][_0x59eaaf(0x288)](_0x304f43),'onTransformSelections':_0xc52fe8=>this[_0x59eaaf(0x17e)][_0x59eaaf(0x1b8)](_0xc52fe8),'onSyncEditingCollabCursor':_0x325b84=>this[_0x59eaaf(0x16a)][_0x59eaaf(0x36b)](_0x325b84),'onTransformRemoteChangesetByIMECache':_0x56ee96=>this[_0x59eaaf(0x20f)][_0x59eaaf(0x1c9)](_0x56ee96),'onTransformRemoteChangesetByStateCache':_0x3e4796=>this[_0x59eaaf(0x93)]['transformRemoteChangeset'](_0x3e4796)};_0x1b0f07['addHandlerCallback'](_0x3c44b2);}}));}};_0xfc721b=_0x3ae2bb([_0x405c60(0x0,_0x1c11c7[_0x3e2a0c(0x292)](_0x285a4f['DocStateChangeManagerService'])),_0x405c60(0x1,_0x1c11c7[_0x3e2a0c(0x292)](_0x48f853[_0x3e2a0c(0x87)])),_0x405c60(0x2,_0x1c11c7[_0x3e2a0c(0x292)](_0xd24790)),_0x405c60(0x3,_0x1c11c7['Inject'](_0x265640)),_0x405c60(0x4,_0x1c11c7[_0x3e2a0c(0x292)](_0x468208)),_0x405c60(0x5,_0x1c11c7['Inject'](_0x77e260)),_0x405c60(0x6,_0x228868[_0x3e2a0c(0x24d)]),_0x405c60(0x7,_0x1c11c7['Inject'](_0x1c11c7['LocaleService']))],_0xfc721b);var _0x2f971=(_0x207565=>(_0x207565[_0x207565[_0x3e2a0c(0x21d)]=0x0]=_0x3e2a0c(0x21d),_0x207565[_0x207565['OK']=0x1]='OK',_0x207565[_0x207565[_0x3e2a0c(0xf9)]=0x2]=_0x3e2a0c(0xf9),_0x207565[_0x207565['PERMISSION_DENIED']=0x3]=_0x3e2a0c(0x349),_0x207565[_0x207565['NOT_FOUND']=0x4]=_0x3e2a0c(0x9e),_0x207565[_0x207565['UNAUTHENTICATED']=0x5]=_0x3e2a0c(0x207),_0x207565[_0x207565['ALREADY_EXISTS']=0x6]=_0x3e2a0c(0x264),_0x207565[_0x207565[_0x3e2a0c(0x325)]=0x7]=_0x3e2a0c(0x325),_0x207565[_0x207565[_0x3e2a0c(0xa2)]=0x8]=_0x3e2a0c(0xa2),_0x207565[_0x207565[_0x3e2a0c(0x161)]=0x9]=_0x3e2a0c(0x161),_0x207565[_0x207565[_0x3e2a0c(0x1b3)]=0xa]=_0x3e2a0c(0x1b3),_0x207565[_0x207565['MOBILE_VERIFY_CODE_MISMATCH']=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x207565[_0x207565['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x3e2a0c(0x253),_0x207565[_0x207565['EMAIL_VERIFY_CODE_MISMATCH']=0xd]=_0x3e2a0c(0x2a8),_0x207565[_0x207565[_0x3e2a0c(0x33e)]=0xe]=_0x3e2a0c(0x33e),_0x207565[_0x207565['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x3e2a0c(0x25d),_0x207565[_0x207565[_0x3e2a0c(0xcb)]=0x10]=_0x3e2a0c(0xcb),_0x207565[_0x207565[_0x3e2a0c(0x1d7)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x207565[_0x207565[_0x3e2a0c(0x82)]=0x65]=_0x3e2a0c(0x82),_0x207565[_0x207565[_0x3e2a0c(0x2af)]=0xc9]=_0x3e2a0c(0x2af),_0x207565[_0x207565[_0x3e2a0c(0x2a2)]=0xca]='USER_IS_ANONYMOUS',_0x207565[_0x207565[_0x3e2a0c(0x1fe)]=0x1389]=_0x3e2a0c(0x1fe),_0x207565[_0x207565['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3e2a0c(0x1d3),_0x207565[_0x207565[_0x3e2a0c(0x163)]=0x1772]=_0x3e2a0c(0x163),_0x207565[_0x207565[_0x3e2a0c(0x2f3)]=0x1773]=_0x3e2a0c(0x2f3),_0x207565[_0x207565[_0x3e2a0c(0x245)]=0x1b59]=_0x3e2a0c(0x245),_0x207565[_0x207565['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x3e2a0c(0x360),_0x207565[_0x207565['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x207565[_0x207565[_0x3e2a0c(0x2e8)]=0x1b5c]=_0x3e2a0c(0x2e8),_0x207565[_0x207565[_0x3e2a0c(0x1e4)]=0x1b5d]=_0x3e2a0c(0x1e4),_0x207565[_0x207565['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3e2a0c(0x17b),_0x207565[_0x207565['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x3e2a0c(0x8d),_0x207565[_0x207565[_0x3e2a0c(0x2f9)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x207565[_0x207565[_0x3e2a0c(0xb6)]=0x232b]=_0x3e2a0c(0xb6),_0x207565[_0x207565['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x3e2a0c(0x1e9),_0x207565[_0x207565[_0x3e2a0c(0x29c)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x207565[_0x207565[_0x3e2a0c(0x2fd)]=0x2711]=_0x3e2a0c(0x2fd),_0x207565[_0x207565[_0x3e2a0c(0x2d9)]=0x2712]=_0x3e2a0c(0x2d9),_0x207565[_0x207565[_0x3e2a0c(0x2b2)]=0x2713]=_0x3e2a0c(0x2b2),_0x207565[_0x207565['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x3e2a0c(0x22d),_0x207565[_0x207565[_0x3e2a0c(0x1f4)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x207565[_0x207565['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x3e2a0c(0x16d),_0x207565[_0x207565['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x3e2a0c(0x101),_0x207565[_0x207565[_0x3e2a0c(0x336)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x207565[_0x207565[_0x3e2a0c(0x173)]=0x271e]=_0x3e2a0c(0x173),_0x207565[_0x207565[_0x3e2a0c(0x11a)]=0x271f]=_0x3e2a0c(0x11a),_0x207565[_0x207565[_0x3e2a0c(0x340)]=0x2720]=_0x3e2a0c(0x340),_0x207565[_0x207565[_0x3e2a0c(0x366)]=0x2af9]=_0x3e2a0c(0x366),_0x207565[_0x207565[_0x3e2a0c(0x113)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x207565[_0x207565[_0x3e2a0c(0x137)]=0x2ee2]=_0x3e2a0c(0x137),_0x207565[_0x207565[_0x3e2a0c(0x166)]=0x2ee3]=_0x3e2a0c(0x166),_0x207565[_0x207565[_0x3e2a0c(0x262)]=0x2ee4]=_0x3e2a0c(0x262),_0x207565[_0x207565[_0x3e2a0c(0x228)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x207565[_0x207565[_0x3e2a0c(0x35f)]=0x32c9]=_0x3e2a0c(0x35f),_0x207565[_0x207565[_0x3e2a0c(0x2b8)]=0x32ca]=_0x3e2a0c(0x2b8),_0x207565[_0x207565[_0x3e2a0c(0x91)]=0x32cb]=_0x3e2a0c(0x91),_0x207565[_0x207565[_0x3e2a0c(0xdc)]=0x36b1]=_0x3e2a0c(0xdc),_0x207565[_0x207565['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x3e2a0c(0x301),_0x207565[_0x207565['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x3e2a0c(0x15f),_0x207565[_0x207565['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x3e2a0c(0x193),_0x207565[_0x207565[_0x3e2a0c(0x1f8)]=0x36b5]=_0x3e2a0c(0x1f8),_0x207565[_0x207565[_0x3e2a0c(0x1a8)]=0x36b6]=_0x3e2a0c(0x1a8),_0x207565[_0x207565[_0x3e2a0c(0x26a)]=0x36b7]=_0x3e2a0c(0x26a),_0x207565[_0x207565['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x3e2a0c(0x2db),_0x207565[_0x207565['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x3e2a0c(0x1ab),_0x207565[_0x207565[_0x3e2a0c(0x1e1)]=0x3716]=_0x3e2a0c(0x1e1),_0x207565[_0x207565[_0x3e2a0c(0x25b)]=0x3717]=_0x3e2a0c(0x25b),_0x207565[_0x207565[_0x3e2a0c(0x118)]=0x37dd]=_0x3e2a0c(0x118),_0x207565[_0x207565['REDEMPTION_INVALID_CODE']=0x3a99]=_0x3e2a0c(0x19c),_0x207565[_0x207565['REDEMPTION_CODE_INACTIVE']=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0x207565[_0x207565[_0x3e2a0c(0xb9)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x207565[_0x207565[_0x3e2a0c(0x2c0)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x207565[_0x207565[_0x3e2a0c(0xe5)]=0x3a9d]=_0x3e2a0c(0xe5),_0x207565[_0x207565[_0x3e2a0c(0x34d)]=0x3a9e]=_0x3e2a0c(0x34d),_0x207565[_0x207565[_0x3e2a0c(0x371)]=0x3a9f]=_0x3e2a0c(0x371),_0x207565[_0x207565[_0x3e2a0c(0x27e)]=0x3e81]=_0x3e2a0c(0x27e),_0x207565[_0x207565[_0x3e2a0c(0x9a)]=-0x1]=_0x3e2a0c(0x9a),_0x207565))(_0x2f971||{});function _0x754159(_0x5c22ec){const _0x5b4e39=_0x3e2a0c;var _0x1fec75,_0x2574fc;const _0x107d1f=(_0x1fec75=_0x5c22ec['stageInfo'])==null?void 0x0:_0x1fec75['stage'],_0x2c27c2=((_0x2574fc=_0x5c22ec[_0x5b4e39(0xee)])==null?void 0x0:_0x2574fc['totalFormulasToCalculate'])||0x0;return _0x107d1f===_0x47ccfe[_0x5b4e39(0x20b)]['START_CALCULATION']&&_0x2c27c2>0x0;}function _0x2f583e(_0x1582a9){const _0x117461=_0x3e2a0c;return _0x1582a9['functionsExecutedState']===_0x47ccfe[_0x117461(0x143)][_0x117461(0xff)];}var _0x5a49bd=Object[_0x3e2a0c(0x335)],_0x7a1957=(_0x5ef421,_0x761698,_0x3b96f7,_0x566e3d)=>{const _0x47669b=_0x3e2a0c;for(var _0x329b49=_0x566e3d>0x1?void 0x0:_0x566e3d?_0x5a49bd(_0x761698,_0x3b96f7):_0x761698,_0x57e94a=_0x5ef421[_0x47669b(0x226)]-0x1,_0x29f790;_0x57e94a>=0x0;_0x57e94a--)(_0x29f790=_0x5ef421[_0x57e94a])&&(_0x329b49=_0x29f790(_0x329b49)||_0x329b49);return _0x329b49;},_0x319e31=(_0x5aca0e,_0x4bb099)=>(_0x5b8ea4,_0x3f08b5)=>_0x4bb099(_0x5b8ea4,_0x3f08b5,_0x5aca0e);const _0x1f0c21='/universer-api/license/formula/limit/status',_0x3f2904=_0x3e2a0c(0x280),_0x5cdf2d=_0x3e2a0c(0xd6);let _0x21e92f=class extends _0x1c11c7[_0x3e2a0c(0x110)]{constructor(_0x2162fc,_0x244750,_0xc8e5b4,_0x127f13,_0x12eeae,_0x1a0521,_0x4e9f2c){const _0x1b4ddf=_0x3e2a0c;super(),_0x59b886(this,_0x1b4ddf(0x351),null),_0x59b886(this,_0x1b4ddf(0x156),0x0),_0x59b886(this,_0x1b4ddf(0x267),0x0),_0x59b886(this,'_taskIds',[]),_0x59b886(this,_0x1b4ddf(0xd7),0x0),(this['_messageService']=_0x2162fc,this[_0x1b4ddf(0x273)]=_0x244750,this[_0x1b4ddf(0x132)]=_0xc8e5b4,this[_0x1b4ddf(0x2ef)]=_0x127f13,this[_0x1b4ddf(0x1a9)]=_0x12eeae,this['_logService']=_0x1a0521,this[_0x1b4ddf(0x352)]=_0x4e9f2c,this[_0x1b4ddf(0x2b0)]());}[_0x3e2a0c(0x2b0)](){const _0x534403=_0x3e2a0c;this['disposeWithMe'](this[_0x534403(0x273)][_0x534403(0xe9)]((_0x498313,_0x5b5587)=>{const _0x4b1325=_0x534403;var _0x55247e;if(_0x498313['id']!==_0x47ccfe['SetFormulaCalculationStartMutation']['id'])return;const _0x1a49b6=_0x498313['params'];if(!this['_hasFormulaInDirtyRanges']((_0x55247e=_0x1a49b6[_0x4b1325(0xdb)])!=null?_0x55247e:[]))return;if(!this['_checkCalculationAvailable']())throw this['_checkAndWaitForCalculationPermission'](_0x498313,_0x5b5587),this[_0x4b1325(0x282)](),new _0x1c11c7[(_0x4b1325(0x133))]();})),this['disposeWithMe'](this[_0x534403(0x273)][_0x534403(0x80)]((_0x4b1601,_0x59d82f)=>{const _0xbe726a=_0x534403;if(_0x4b1601['id']!==_0x47ccfe[_0xbe726a(0x332)]['id'])return;const _0xd9953b=_0x4b1601[_0xbe726a(0x266)];if(_0x754159(_0xd9953b)){const _0x5c9c6c=_0x1c11c7['generateRandomId']();this[_0xbe726a(0xbc)]['push'](_0x5c9c6c),this[_0xbe726a(0x16b)](_0x5c9c6c);}else{if(_0x2f583e(_0xd9953b)&&this['_taskIds'][_0xbe726a(0x226)]>0x0){const _0x1df5a4=this['_taskIds'][_0xbe726a(0x2ce)]();this['_releaseCalculationLimit'](_0x1df5a4);}}}));}[_0x3e2a0c(0x2d0)](){const _0x5c3247=_0x3e2a0c;super[_0x5c3247(0x2d0)](),this['_clearPolling'](),this[_0x5c3247(0xbc)]=[],this[_0x5c3247(0x267)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x5c3247(0xd7)]=0x0;}async[_0x3e2a0c(0x2ca)](_0x3d8aa5,_0x1290cc){const _0x3ecd4d=_0x3e2a0c;for(let _0x287172=0x0;_0x287172<0x1e;_0x287172++)try{if(await this['_getFormulaLimitStatus'](),this[_0x3ecd4d(0x2ec)]()){this[_0x3ecd4d(0x20c)](_0x3d8aa5,_0x1290cc),this[_0x3ecd4d(0x260)][_0x3ecd4d(0x36a)]({'content':this[_0x3ecd4d(0x352)]['t'](_0x3ecd4d(0x11f)),'type':_0xf1d46[_0x3ecd4d(0x9d)]['Success']});return;}await new Promise(_0x4f4d=>{const _0x2ba8d9=_0x3ecd4d;this['_pollingInterval']=window[_0x2ba8d9(0x2a6)](_0x4f4d,0x3e8);});}catch(_0x938c9){this[_0x3ecd4d(0xb3)]['error'](_0x938c9);}this[_0x3ecd4d(0x260)][_0x3ecd4d(0x36a)]({'content':this['_localeService']['t'](_0x3ecd4d(0x1f1)),'type':_0xf1d46['MessageType']['Error']});}[_0x3e2a0c(0x20c)](_0x1b54b6,_0x4eadd6){const _0x58b7ea=_0x3e2a0c;try{this['_commandService'][_0x58b7ea(0xf2)](_0x1b54b6['id'],_0x1b54b6['params'],_0x4eadd6);}catch(_0x279cbe){this[_0x58b7ea(0xb3)][_0x58b7ea(0x198)](_0x279cbe);}}[_0x3e2a0c(0x236)](_0x24958f,_0x4c754a){const _0x3ccc88=_0x3e2a0c;_0x4c754a<this[_0x3ccc88(0xd7)]||(this[_0x3ccc88(0xd7)]=_0x4c754a,this['_maxFormulaLimit']=Number[_0x3ccc88(0x1a2)](_0x24958f['maxFormulaLimit']),this[_0x3ccc88(0x267)]=Number[_0x3ccc88(0x1a2)](_0x24958f[_0x3ccc88(0x129)]));}async['_startCalculationLimit'](_0x5b42cf){const _0x613a31=_0x3e2a0c;var _0x494fd2,_0x5631bc;const _0x449f0c=Date[_0x613a31(0x30c)]();try{const _0x299a24=((_0x494fd2=this[_0x613a31(0x132)][_0x613a31(0xce)](_0x48f853[_0x613a31(0x27a)]))==null?void 0x0:_0x494fd2[_0x613a31(0x238)])||_0x3f2904,_0x3f82d5=(await this[_0x613a31(0x2ef)][_0x613a31(0xa3)](_0x299a24,{'body':JSON[_0x613a31(0x36f)]({'taskId':_0x5b42cf})}))[_0x613a31(0x241)];if(((_0x5631bc=_0x3f82d5[_0x613a31(0x198)])==null?void 0x0:_0x5631bc[_0x613a31(0x1b2)])!==_0x2f971['OK'])return;this['_setFormulaLimitStatus'](_0x3f82d5[_0x613a31(0xc9)],_0x449f0c);}catch(_0x5916d1){this[_0x613a31(0xb3)][_0x613a31(0x198)](_0x5916d1);}}async[_0x3e2a0c(0x35a)](_0x1f62d0){const _0x3765a1=_0x3e2a0c;var _0x1370a7,_0x2a7255;const _0xb61f3=Date[_0x3765a1(0x30c)]();try{const _0x4e5055=((_0x1370a7=this[_0x3765a1(0x132)]['getConfig'](_0x48f853[_0x3765a1(0x27a)]))==null?void 0x0:_0x1370a7[_0x3765a1(0x103)])||_0x1f0c21,_0x4d1429=_0x1f62d0?_0x4e5055+'?taskId='+encodeURIComponent(_0x1f62d0):_0x4e5055,_0x39196e=(await this['_httpService'][_0x3765a1(0xb7)](_0x4d1429))[_0x3765a1(0x241)];if(((_0x2a7255=_0x39196e[_0x3765a1(0x198)])==null?void 0x0:_0x2a7255[_0x3765a1(0x1b2)])!==_0x2f971['OK'])return;this[_0x3765a1(0x236)](_0x39196e[_0x3765a1(0xc9)],_0xb61f3);}catch(_0x4a44bd){this[_0x3765a1(0xb3)]['error'](_0x4a44bd);}}async[_0x3e2a0c(0x1cf)](_0x40ae40){const _0x5ac903=_0x3e2a0c;var _0x19eaa8,_0xb1aa45;const _0x419dbb=Date[_0x5ac903(0x30c)]();try{const _0x409797=((_0x19eaa8=this[_0x5ac903(0x132)]['getConfig'](_0x48f853['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x19eaa8[_0x5ac903(0x1e5)])||_0x5cdf2d,_0xc27820=(await this[_0x5ac903(0x2ef)][_0x5ac903(0xa3)](_0x409797,{'body':JSON[_0x5ac903(0x36f)]({'taskId':_0x40ae40})}))['body'];if(((_0xb1aa45=_0xc27820[_0x5ac903(0x198)])==null?void 0x0:_0xb1aa45[_0x5ac903(0x1b2)])!==_0x2f971['OK'])return;this[_0x5ac903(0x236)](_0xc27820['limitInfo'],_0x419dbb);}catch(_0x21f566){this[_0x5ac903(0xb3)][_0x5ac903(0x198)](_0x21f566);}}[_0x3e2a0c(0x2ec)](){const _0x318cf6=_0x3e2a0c;return this[_0x318cf6(0x156)]===0x0?!0x0:this[_0x318cf6(0x156)]-this[_0x318cf6(0x267)]>0x0;}[_0x3e2a0c(0x1bf)](){const _0x3d45bd=_0x3e2a0c;this[_0x3d45bd(0x351)]&&(clearTimeout(this[_0x3d45bd(0x351)]),this[_0x3d45bd(0x351)]=null);}[_0x3e2a0c(0x282)](){const _0x3326cd=_0x3e2a0c;this['_messageService'][_0x3326cd(0x36a)]({'content':this[_0x3326cd(0x352)]['t']('formula.calculation.waiting'),'type':_0xf1d46['MessageType'][_0x3326cd(0x2f1)]});}['_hasFormulaInDirtyRanges'](_0x17d8c6){const _0x1afa15=_0x3e2a0c;for(const _0x50fd99 of _0x17d8c6){const {unitId:_0x3b1229,sheetId:_0x3691ca,range:_0x40b3cb}=_0x50fd99,_0x2dc3d8=this[_0x1afa15(0x1a9)]['getUnit'](_0x3b1229);if(!_0x2dc3d8)continue;const _0x507b87=_0x2dc3d8['getSheetBySheetId'](_0x3691ca);if(!_0x507b87)continue;const _0x3d14e1=_0x507b87[_0x1afa15(0x272)]();for(let _0x54b447=_0x40b3cb[_0x1afa15(0x353)];_0x54b447<=_0x40b3cb[_0x1afa15(0x28c)];_0x54b447++)for(let _0x5e4689=_0x40b3cb['startColumn'];_0x5e4689<=_0x40b3cb['endColumn'];_0x5e4689++){const _0x1d6e70=_0x3d14e1[_0x1afa15(0x2fc)](_0x54b447,_0x5e4689);if(_0x1d6e70&&(_0x1c11c7['isFormulaString'](_0x1d6e70['f'])||_0x1c11c7[_0x1afa15(0x30b)](_0x1d6e70['si'])))return!0x0;}}return!0x1;}};_0x21e92f=_0x7a1957([_0x319e31(0x0,_0x1c11c7[_0x3e2a0c(0x292)](_0x228868[_0x3e2a0c(0x24d)])),_0x319e31(0x1,_0x1c11c7[_0x3e2a0c(0x200)]),_0x319e31(0x2,_0x1c11c7[_0x3e2a0c(0x370)]),_0x319e31(0x3,_0x1c11c7[_0x3e2a0c(0x292)](_0x5da135[_0x3e2a0c(0x369)])),_0x319e31(0x4,_0x1c11c7[_0x3e2a0c(0x270)]),_0x319e31(0x5,_0x1c11c7[_0x3e2a0c(0x35d)]),_0x319e31(0x6,_0x1c11c7[_0x3e2a0c(0x292)](_0x1c11c7['LocaleService']))],_0x21e92f);var _0x23e6bd=Object['getOwnPropertyDescriptor'],_0x55b0cd=(_0x3bdc84,_0x59d4a7,_0x372d1d,_0x17b8fd)=>{for(var _0x1f98f4=_0x17b8fd>0x1?void 0x0:_0x17b8fd?_0x23e6bd(_0x59d4a7,_0x372d1d):_0x59d4a7,_0x111e2f=_0x3bdc84['length']-0x1,_0x2fd8cc;_0x111e2f>=0x0;_0x111e2f--)(_0x2fd8cc=_0x3bdc84[_0x111e2f])&&(_0x1f98f4=_0x2fd8cc(_0x1f98f4)||_0x1f98f4);return _0x1f98f4;},_0x7d600a=(_0x73d546,_0x4f54f3)=>(_0x56f1a1,_0x3e38ec)=>_0x4f54f3(_0x56f1a1,_0x3e38ec,_0x73d546);let _0x56c11e=class extends _0x1c11c7[_0x3e2a0c(0x110)]{constructor(_0x1db9b4,_0x2a73f7,_0x90f8dd){const _0x2988fa=_0x3e2a0c;super(),_0x59b886(this,'_cachedData',new Map()),_0x59b886(this,'_saveTaskMap',new Map()),_0x59b886(this,_0x2988fa(0x338),!0x1),(this[_0x2988fa(0x132)]=_0x1db9b4,this[_0x2988fa(0x291)]=_0x2a73f7,this[_0x2988fa(0x328)]=_0x90f8dd);}[_0x3e2a0c(0x13e)](){const _0x2d17de=_0x3e2a0c;this[_0x2d17de(0x338)]=!0x0;}[_0x3e2a0c(0x265)](){const _0x2b69e9=_0x3e2a0c;this[_0x2b69e9(0x338)]=!0x1;}get[_0x3e2a0c(0x2cd)](){const _0x18bfb4=_0x3e2a0c;return this[_0x18bfb4(0x294)];}[_0x3e2a0c(0x2d0)](){const _0x66b5f=_0x3e2a0c;this[_0x66b5f(0x31b)]()[_0x66b5f(0x125)](()=>super[_0x66b5f(0x2d0)]());}async['loadOfflineData'](_0x1d7657){const _0x53e76a=_0x3e2a0c;return this[_0x53e76a(0x338)]?null:this[_0x53e76a(0x291)][_0x53e76a(0xaa)](_0x48f853[_0x53e76a(0x232)](_0x1d7657));}async['saveOfflineData'](_0x5e9f50,_0x57ed50){const _0x25b668=_0x3e2a0c;return!!this[_0x25b668(0x291)]['setItem'](_0x5e9f50,_0x57ed50);}[_0x3e2a0c(0x13c)](_0xc851d1,_0x22ea97,_0x5026b1,_0x1143ea){const _0x915a39=_0x3e2a0c,_0x26d101=this['_revisionService'][_0x915a39(0x1f6)](_0xc851d1);this['_cachedData'][_0x915a39(0x2bd)](_0xc851d1,{'unitID':_0xc851d1,'type':_0x22ea97,'awaitingChangeset':_0x5026b1,'mutations':_0x1143ea,'rev':_0x26d101}),this['_saveTaskMap']['has'](_0xc851d1)||this['_scheduleSaving'](_0xc851d1);}[_0x3e2a0c(0x158)](_0x12e292){const _0x2fb879=_0x3e2a0c,_0x156b79=this[_0x2fb879(0x19e)]();_0x156b79===0x0?this[_0x2fb879(0x204)](_0x12e292):this[_0x2fb879(0x294)]['set'](_0x12e292,setTimeout(()=>this[_0x2fb879(0x204)](_0x12e292),_0x156b79));}[_0x3e2a0c(0x19e)](){const _0x458114=_0x3e2a0c;var _0x555720;return(_0x555720=this['_configService'][_0x458114(0xce)](_0x48f853[_0x458114(0x1e7)]))!=null?_0x555720:_0x48f853[_0x458114(0x313)];}[_0x3e2a0c(0x204)](_0x43d68f){const _0x6966a7=_0x3e2a0c,_0x15f157=this['_saveTaskMap'][_0x6966a7(0xb7)](_0x43d68f);return _0x15f157!==void 0x0&&window[_0x6966a7(0x1e3)](_0x15f157),this[_0x6966a7(0x291)]['setItem'](_0x48f853[_0x6966a7(0x232)](_0x43d68f),this[_0x6966a7(0x185)]['get'](_0x43d68f))[_0x6966a7(0x125)](()=>this[_0x6966a7(0x294)]['delete'](_0x43d68f));}async[_0x3e2a0c(0x31b)](){const _0x12f72d=_0x3e2a0c,_0x3a91a4=[];this['_saveTaskMap'][_0x12f72d(0x28b)]((_0xa39b78,_0x2829e0)=>{const _0x4ba043=_0x12f72d;window['clearTimeout'](_0xa39b78),_0x3a91a4[_0x4ba043(0x321)](this[_0x4ba043(0x204)](_0x2829e0)[_0x4ba043(0x125)](()=>{const _0x26d4cf=_0x4ba043;this['_saveTaskMap'][_0x26d4cf(0xd3)](_0x2829e0);}));}),await Promise[_0x12f72d(0x268)](_0x3a91a4);}};_0x56c11e=_0x55b0cd([_0x7d600a(0x0,_0x1c11c7[_0x3e2a0c(0x370)]),_0x7d600a(0x1,_0x1c11c7[_0x3e2a0c(0x2e6)]),_0x7d600a(0x2,_0x1c11c7['Inject'](_0x2b25e3[_0x3e2a0c(0x2d6)]))],_0x56c11e);class _0x54129c extends _0x1c11c7['RxDisposable']{constructor(){const _0x1eee0a=_0x3e2a0c;super(),_0x59b886(this,_0x1eee0a(0x274)),this[_0x1eee0a(0x274)]=_0x22d1cd[_0x1eee0a(0x205)](window,_0x1eee0a(0x2ad))['pipe'](_0x22d1cd[_0x1eee0a(0x165)](this[_0x1eee0a(0x331)]),_0x22d1cd[_0x1eee0a(0x98)](0x1),_0x22d1cd[_0x1eee0a(0x306)](void 0x0));}[_0x3e2a0c(0x33c)](_0x5a2127,_0x1cdc8b,_0x4cf2f4=!0x1){const _0x587054=_0x3e2a0c,_0x576b62=new URL(window[_0x587054(0x1ce)][_0x587054(0x365)]);_0x576b62[_0x587054(0x303)]['set'](_0x5a2127,_0x1cdc8b),_0x4cf2f4?window['history'][_0x587054(0x2fe)]('','',_0x576b62[_0x587054(0x7f)]()):window[_0x587054(0x320)][_0x587054(0x29f)]('','',_0x576b62[_0x587054(0x7f)]());}[_0x3e2a0c(0x15d)](_0x2f733a,_0x34057a=!0x1){const _0x36a757=_0x3e2a0c,_0x13af86=new URL(window[_0x36a757(0x1ce)][_0x36a757(0x365)]);_0x13af86[_0x36a757(0x303)][_0x36a757(0xd3)](_0x2f733a),_0x34057a?window[_0x36a757(0x320)][_0x36a757(0x2fe)]('','',_0x13af86['toString']()):window[_0x36a757(0x320)]['pushState']('','',_0x13af86[_0x36a757(0x7f)]());}[_0x3e2a0c(0x33a)](_0x18c0c6){const _0xfadd43=_0x3e2a0c;var _0x3b03ef;return(_0x3b03ef=new URL(window['location'][_0xfadd43(0x365)])[_0xfadd43(0x303)][_0xfadd43(0xb7)](_0x18c0c6))!=null?_0x3b03ef:void 0x0;}}var _0x2de838=Object[_0x3e2a0c(0x355)],_0x1ab036=Object[_0x3e2a0c(0x335)],_0x50d387=(_0x487581,_0x181253,_0x28a7ef)=>_0x181253 in _0x487581?_0x2de838(_0x487581,_0x181253,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x28a7ef}):_0x487581[_0x181253]=_0x28a7ef,_0x940cc5=(_0x2676f3,_0x973db1,_0x5a2570,_0x153264)=>{const _0x199673=_0x3e2a0c;for(var _0x577e04=_0x153264>0x1?void 0x0:_0x153264?_0x1ab036(_0x973db1,_0x5a2570):_0x973db1,_0x4ce050=_0x2676f3[_0x199673(0x226)]-0x1,_0x2116be;_0x4ce050>=0x0;_0x4ce050--)(_0x2116be=_0x2676f3[_0x4ce050])&&(_0x577e04=_0x2116be(_0x577e04)||_0x577e04);return _0x577e04;},_0x286239=(_0x5f45e4,_0x35aa93)=>(_0x4c61fa,_0x4e871e)=>_0x35aa93(_0x4c61fa,_0x4e871e,_0x5f45e4),_0x3ed8cc=(_0x145f97,_0x41da56,_0x56004b)=>_0x50d387(_0x145f97,_0x41da56+'',_0x56004b);const _0x308761=_0x3e2a0c(0x12a);_0x3f4a63[_0x3e2a0c(0xbb)]=class extends _0x1c11c7[_0x3e2a0c(0x147)]{constructor(_0x137bb8=_0x4a63de,_0x58a028,_0x14053b,_0x2b2e48){const _0x4f0c09=_0x3e2a0c;super(),this[_0x4f0c09(0x22c)]=_0x137bb8,this[_0x4f0c09(0x102)]=_0x58a028,this[_0x4f0c09(0x1b7)]=_0x14053b,this[_0x4f0c09(0x132)]=_0x2b2e48;const {..._0x2b0233}=_0x1c11c7[_0x4f0c09(0x1c8)]({},_0x4a63de,this[_0x4f0c09(0x22c)]);this[_0x4f0c09(0x132)][_0x4f0c09(0x186)](_0x5b2101,_0x2b0233);}[_0x3e2a0c(0x1cc)](){const _0x3ae05e=_0x3e2a0c;this[_0x3ae05e(0x1fa)](),this['_initDependencies']();}['onRendered'](){const _0xff02ef=_0x3e2a0c;this[_0xff02ef(0x1e2)]();}[_0x3e2a0c(0x1fa)](){const _0x51dc90=_0x3e2a0c;var _0x1afb1b;const _0x1be9c8=[[_0x41e58b],[_0x21e92f],[_0x468208],[_0xd24790],[_0x265640],[_0x77e260],[_0x5bb618,{'useClass':_0x54129c}],[_0x5da135['ISocketService'],{'useClass':_0x5da135[_0x51dc90(0x285)]}],[_0x48f853[_0x51dc90(0x2a3)],{'useClass':_0x56c11e}],[_0x3f4a63[_0x51dc90(0x2b9)]],[_0xfc721b],[_0x53c160],[_0x40a13a],[_0x32198a],[_0x3f4a63[_0x51dc90(0xd2)]]];this[_0x51dc90(0x22c)]['enableFrontendLog']&&_0x1be9c8[_0x51dc90(0x321)]([_0x2d1552]),_0x1c11c7['registerDependencies'](this['_injector'],_0x1c11c7[_0x51dc90(0x297)](_0x1be9c8,(_0x1afb1b=this[_0x51dc90(0x22c)])==null?void 0x0:_0x1afb1b[_0x51dc90(0x181)]));}[_0x3e2a0c(0x1e2)](){const _0x385df7=_0x3e2a0c;this['disposeWithMe'](this[_0x385df7(0x102)]['registerRenderModule'](_0x1c11c7[_0x385df7(0x29a)][_0x385df7(0x2cc)],[_0x30a5e7])),this[_0x385df7(0x334)](this[_0x385df7(0x102)][_0x385df7(0x13f)](_0x1c11c7[_0x385df7(0x29a)][_0x385df7(0x2aa)],[_0x448690]));}[_0x3e2a0c(0x1de)](){const _0x3c2a91=_0x3e2a0c;_0x1c11c7[_0x3c2a91(0xa8)](this[_0x3c2a91(0x1b7)],[[_0x40a13a],[_0x3f4a63[_0x3c2a91(0x2b9)]],[_0xfc721b],[_0x53c160],[_0x3f4a63['CollaborationDataLoaderController']],[_0x21e92f]]),this[_0x3c2a91(0x22c)][_0x3c2a91(0x2dd)]&&_0x1c11c7['touchDependencies'](this['_injector'],[[_0x2d1552]]);}},_0x3ed8cc(_0x3f4a63[_0x3e2a0c(0xbb)],'pluginName',_0x308761),_0x3f4a63['UniverCollaborationClientUIPlugin']=_0x940cc5([_0x1c11c7[_0x3e2a0c(0x201)](_0x48f853[_0x3e2a0c(0x9f)]),_0x286239(0x1,_0x3af7ee[_0x3e2a0c(0x229)]),_0x286239(0x2,_0x1c11c7[_0x3e2a0c(0x292)](_0x1c11c7[_0x3e2a0c(0x1c7)])),_0x286239(0x3,_0x1c11c7['IConfigService'])],_0x3f4a63[_0x3e2a0c(0xbb)]);var _0x25016d=Object['getOwnPropertyDescriptor'],_0x49dd6d=(_0x281d57,_0x1d274e,_0x5ebaad,_0x24af17)=>{for(var _0x130021=_0x24af17>0x1?void 0x0:_0x24af17?_0x25016d(_0x1d274e,_0x5ebaad):_0x1d274e,_0x36a26e=_0x281d57['length']-0x1,_0x4964a0;_0x36a26e>=0x0;_0x36a26e--)(_0x4964a0=_0x281d57[_0x36a26e])&&(_0x130021=_0x4964a0(_0x130021)||_0x130021);return _0x130021;},_0xf1505e=(_0x3d1e20,_0x435db9)=>(_0x52be1a,_0x2856b3)=>_0x435db9(_0x52be1a,_0x2856b3,_0x3d1e20);_0x3f4a63['BrowserCollaborationSocketService']=class extends _0x48f853[_0x3e2a0c(0x2a9)]{constructor(_0x44b801,_0x5b186b,_0x384ff7,_0x5e85b5,_0x1900a9){super(_0x44b801,_0x5b186b,_0x384ff7,_0x5e85b5,_0x1900a9);}async[_0x3e2a0c(0x12e)](_0x550a36){const _0x5eada3=_0x3e2a0c,_0x1b5672=await this['_getSessionTicket'](),_0x3f60e2=this[_0x5eada3(0x1cb)](_0x550a36,_0x1b5672);return this[_0x5eada3(0x36e)](_0x3f60e2);}[_0x3e2a0c(0x1cb)](_0x1ef8c9,_0x5eb1ab){const _0xb2e2f9=_0x3e2a0c,_0x424a0b=typeof window>'u'?new URL(_0x1ef8c9):new URL(_0x1ef8c9,window[_0xb2e2f9(0x1ce)][_0xb2e2f9(0x276)]);_0x424a0b['searchParams'][_0xb2e2f9(0x2bd)](_0xb2e2f9(0x1ad),_0x5eb1ab);const _0x52ee86=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xb2e2f9(0x1ce)][_0xb2e2f9(0x2d8)]);return _0x52ee86['get']('runId')&&_0x424a0b[_0xb2e2f9(0x303)][_0xb2e2f9(0x2bd)]('runId',_0x52ee86['get'](_0xb2e2f9(0x283))),_0x424a0b['toString']();}async[_0x3e2a0c(0x11b)](){const _0xd4a180=_0x3e2a0c;var _0x2c72dc,_0x50922d,_0x58a67;const _0x206339=this[_0xd4a180(0x132)]['getConfig'](_0x48f853[_0xd4a180(0x27a)]),_0xd77f0e=(_0x2c72dc=_0x206339==null?void 0x0:_0x206339[_0xd4a180(0x34f)])!=null?_0x2c72dc:_0x48f853['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x58a67=(_0x50922d=(await this[_0xd4a180(0x2ef)][_0xd4a180(0xb7)](_0xd77f0e,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x50922d[_0xd4a180(0x122)])!=null?_0x58a67:'';}},_0x3f4a63[_0x3e2a0c(0x2ac)]=_0x49dd6d([_0xf1505e(0x0,_0x1c11c7[_0x3e2a0c(0x292)](_0x1c11c7[_0x3e2a0c(0x1c7)])),_0xf1505e(0x1,_0x1c11c7[_0x3e2a0c(0x292)](_0x5da135[_0x3e2a0c(0x369)])),_0xf1505e(0x2,_0x1c11c7['IConfigService']),_0xf1505e(0x3,_0x1c11c7[_0x3e2a0c(0x35d)]),_0xf1505e(0x4,_0x2b25e3[_0x3e2a0c(0x35c)])],_0x3f4a63['BrowserCollaborationSocketService']);var _0x1e9cfa=Object[_0x3e2a0c(0x335)],_0x5282dd=(_0x107175,_0x5a9fdf,_0x2b6ddf,_0x4f50ef)=>{const _0x4d31fc=_0x3e2a0c;for(var _0x5a4ec7=_0x4f50ef>0x1?void 0x0:_0x4f50ef?_0x1e9cfa(_0x5a9fdf,_0x2b6ddf):_0x5a9fdf,_0x3d3a86=_0x107175[_0x4d31fc(0x226)]-0x1,_0x564264;_0x3d3a86>=0x0;_0x3d3a86--)(_0x564264=_0x107175[_0x3d3a86])&&(_0x5a4ec7=_0x564264(_0x5a4ec7)||_0x5a4ec7);return _0x5a4ec7;},_0x460f88=(_0x316f7f,_0x12d65d)=>(_0xdd3505,_0x16025d)=>_0x12d65d(_0xdd3505,_0x16025d,_0x316f7f);_0x3f4a63[_0x3e2a0c(0x233)]=class extends _0x1c11c7[_0x3e2a0c(0x110)]{constructor(_0x45ae79,_0x2dd1b,_0x2d4bd5){const _0x5272e0=_0x3e2a0c;super(),this[_0x5272e0(0xcd)]=_0x45ae79,this[_0x5272e0(0x2ef)]=_0x2dd1b,this['_configService']=_0x2d4bd5;}async[_0x3e2a0c(0x2e9)](_0x215f0e,_0x2ca521,_0x7d0052,..._0x281376){const _0x13499f=_0x3e2a0c;var _0x12e08c,_0x420365,_0x1ea5f8,_0x1572e3;const _0x2628d8=this[_0x13499f(0xcd)][_0x13499f(0x112)]();if(!_0x2628d8)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0xb07e6f=((_0x12e08c=this[_0x13499f(0x132)]['getConfig'](_0x48f853['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x12e08c:_0x48f853[_0x13499f(0x1ae)])+'/'+_0x215f0e+_0x13499f(0x13a)+_0x2ca521,_0xeb9698=new URL(window['location']['href']),_0x20bd0c={'scriptId':_0x215f0e,'runId':(_0x420365=_0xeb9698[_0x13499f(0x303)]['get'](_0x13499f(0x283)))!=null?_0x420365:'','function':_0x2ca521,'unitId':_0x2628d8[_0x13499f(0x18c)](),'argsOfFunction':JSON['stringify'](_0x281376),'invokeId':(_0x1ea5f8=_0x7d0052[_0x13499f(0x31a)])!=null?_0x1ea5f8:'','executionId':(_0x1572e3=_0x7d0052[_0x13499f(0x1e0)])!=null?_0x1572e3:''};try{const _0x1ba6be=await this[_0x13499f(0x2ef)][_0x13499f(0xa3)](_0xb07e6f,{'body':_0x20bd0c});return _0x1ba6be[_0x13499f(0x241)][_0x13499f(0x198)]&&_0x1ba6be[_0x13499f(0x241)]['error'][_0x13499f(0x1b2)]!==_0x2f971['OK']?_0x13499f(0x2f6):_0x1ba6be[_0x13499f(0x241)]['result'];}catch{return _0x13499f(0x2f6);}}},_0x3f4a63[_0x3e2a0c(0x233)]=_0x5282dd([_0x460f88(0x0,_0x1c11c7[_0x3e2a0c(0x270)]),_0x460f88(0x1,_0x1c11c7['Inject'](_0x5da135['HTTPService'])),_0x460f88(0x2,_0x1c11c7[_0x3e2a0c(0x370)])],_0x3f4a63[_0x3e2a0c(0x233)]);const _0x5d97e4=0x7530,_0x262836=_0x3e2a0c(0x324);class _0x48c98d extends _0x1c11c7[_0x3e2a0c(0x110)]{constructor(){const _0x40c10e=_0x3e2a0c;super(),_0x59b886(this,_0x40c10e(0xc8),_0x1c11c7[_0x40c10e(0x217)]()),_0x59b886(this,'_selfUnitIDs',new Set()),_0x59b886(this,'_unitOnClients',new Map()),_0x59b886(this,'_heartbeatTimer',null),_0x59b886(this,_0x40c10e(0x295),new Map()),_0x59b886(this,_0x40c10e(0x300),new Map()),this[_0x40c10e(0xd8)]();}[_0x3e2a0c(0x2d0)](){const _0x467b6a=_0x3e2a0c;super['dispose'](),this[_0x467b6a(0x295)][_0x467b6a(0x28b)]((_0x59aaa3,_0x129376)=>this['_removeClearOtherTimer'](_0x129376)),this['_heartbeatTimer']&&window[_0x467b6a(0x2c6)](this[_0x467b6a(0xb5)]);}['getUnitStatus$'](_0x51df57){const _0xb87d21=_0x3e2a0c;return this[_0xb87d21(0x302)](_0x51df57)[_0xb87d21(0x2e5)](_0x22d1cd[_0xb87d21(0x106)]());}[_0x3e2a0c(0xac)](_0x12e3ac){const _0x3fc8a6=_0x3e2a0c;this[_0x3fc8a6(0xc1)][_0x3fc8a6(0x2a0)]===0x0&&this['_scheduleHeartbeat'](),this[_0x3fc8a6(0xc1)][_0x3fc8a6(0x255)](_0x12e3ac),this['_send']({'type':0x0,'memberID':this[_0x3fc8a6(0xc8)],'unitIDs':[_0x12e3ac],'isForwarded':!0x1});}[_0x3e2a0c(0x2dc)](_0x451c8b){const _0x214492=_0x3e2a0c;this[_0x214492(0xc1)][_0x214492(0xd3)](_0x451c8b),this[_0x214492(0xc1)][_0x214492(0x2a0)]===0x0&&this[_0x214492(0xb5)]&&window[_0x214492(0x2c6)](this[_0x214492(0xb5)]);}['_init'](){const _0x406544=_0x3e2a0c;this[_0x406544(0x334)](_0x1c11c7[_0x406544(0x10c)](_0x22d1cd['fromEvent'](window,_0x406544(0x2f0))[_0x406544(0x298)](_0xaf3761=>{const _0x4ff0ba=_0x406544;if(_0xaf3761['key']!==_0x262836||!_0xaf3761[_0x4ff0ba(0x8c)])return;const _0x46426d=JSON['parse'](_0xaf3761['newValue']);this[_0x4ff0ba(0xaf)](_0x46426d);}))),window['addEventListener'](_0x406544(0x2c3),()=>this[_0x406544(0x26b)]({'type':0x1,'memberID':this[_0x406544(0xc8)],'unitIDs':Array[_0x406544(0x30a)](this['_selfUnitIDs'])}));}[_0x3e2a0c(0xaf)](_0x30f553){const _0x47c28c=_0x3e2a0c;switch(_0x30f553[_0x47c28c(0xd4)]){case 0x0:this[_0x47c28c(0x22a)](_0x30f553);break;case 0x1:this['_handleLeaveEvent'](_0x30f553);break;case 0x2:this['_handleHeartbeatEvent'](_0x30f553);break;}}[_0x3e2a0c(0x22a)](_0x5d4d21){const _0x197d8d=_0x3e2a0c,{unitIDs:_0x3359e7,memberID:_0x4de2c6,isForwarded:_0x263e55}=_0x5d4d21;_0x3359e7['forEach'](_0x4d2d9c=>{const _0x44c675=_0x1e66;if(!_0x263e55&&this['_unitOnClients'][_0x44c675(0xd0)](_0x4d2d9c)&&this[_0x44c675(0x302)](_0x4d2d9c)[_0x44c675(0x2eb)](_0x48f853[_0x44c675(0xbe)][_0x44c675(0x29d)]),!this[_0x44c675(0x1fd)]['has'](_0x4d2d9c)||!this['_unitOnClients'][_0x44c675(0xb7)](_0x4d2d9c)[_0x44c675(0xd0)](_0x4de2c6)){const _0x319df7=this[_0x44c675(0x1fd)][_0x44c675(0xb7)](_0x4d2d9c)||new Set();_0x319df7['add'](_0x4de2c6),this[_0x44c675(0x1fd)][_0x44c675(0x2bd)](_0x4d2d9c,_0x319df7),this[_0x44c675(0xa5)](_0x4de2c6);}}),_0x263e55||this['_send']({'type':0x0,'memberID':this[_0x197d8d(0xc8)],'unitIDs':[...this[_0x197d8d(0xc1)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x251b1f){const _0x4837fa=_0x3e2a0c;this['_removeClearOtherTimer'](_0x251b1f);const _0x271938=window[_0x4837fa(0x2a6)](()=>{const _0x371b1f=_0x4837fa;this['_unitOnClients'][_0x371b1f(0x28b)](_0x1ac482=>{const _0x149b5d=_0x371b1f;_0x1ac482[_0x149b5d(0xd3)](_0x251b1f);});},_0x5d97e4*0x2);this[_0x4837fa(0x295)][_0x4837fa(0x2bd)](_0x251b1f,_0x271938);}[_0x3e2a0c(0xd9)](_0xd210c0){const _0x24a62a=_0x3e2a0c;if(this['_clearOtherTimers'][_0x24a62a(0xd0)](_0xd210c0)){const _0x33c2cc=this[_0x24a62a(0x295)][_0x24a62a(0xb7)](_0xd210c0);_0x33c2cc&&window['clearTimeout'](_0x33c2cc),this['_clearOtherTimers'][_0x24a62a(0x2bd)](_0xd210c0,null);}}[_0x3e2a0c(0x230)](_0x31a234){const _0x4bd03f=_0x3e2a0c,{memberID:_0x4fe32f,unitIDs:_0x55de3e}=_0x31a234;_0x55de3e[_0x4bd03f(0x28b)](_0x5071dd=>{const _0x4ccace=_0x4bd03f;var _0x23e1fd;const _0xa5e2ee=this[_0x4ccace(0x1fd)][_0x4ccace(0xb7)](_0x5071dd);_0xa5e2ee&&(_0xa5e2ee[_0x4ccace(0xd3)](_0x4fe32f),(_0x23e1fd=this['_ensureSubject'](_0x5071dd))==null||_0x23e1fd[_0x4ccace(0x2eb)](_0xa5e2ee[_0x4ccace(0x2a0)]===0x0?_0x48f853[_0x4ccace(0xbe)][_0x4ccace(0x33b)]:_0x48f853['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0x4bd03f(0xd9)](_0x4fe32f);}[_0x3e2a0c(0x357)](_0x20bd89){const _0x610d4f=_0x3e2a0c;this[_0x610d4f(0xa5)](_0x20bd89[_0x610d4f(0x121)]);}[_0x3e2a0c(0x26b)](_0x1a1d57){const _0x2553c4=_0x3e2a0c;localStorage[_0x2553c4(0x191)](_0x262836,JSON['stringify'](_0x1a1d57));}[_0x3e2a0c(0xab)](){this['_heartbeatTimer']=window['setInterval'](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x5d97e4);}[_0x3e2a0c(0x302)](_0x351606){const _0x2ed3a9=_0x3e2a0c;return this[_0x2ed3a9(0x300)][_0x2ed3a9(0xd0)](_0x351606)||this[_0x2ed3a9(0x300)][_0x2ed3a9(0x2bd)](_0x351606,new _0x22d1cd[(_0x2ed3a9(0x1ef))](_0x48f853[_0x2ed3a9(0xbe)][_0x2ed3a9(0x33b)])),this[_0x2ed3a9(0x300)][_0x2ed3a9(0xb7)](_0x351606);}}_0x3f4a63[_0x3e2a0c(0x2ff)]=_0x5bb618,_0x3f4a63[_0x3e2a0c(0x252)]=_0x18d2ef,_0x3f4a63[_0x3e2a0c(0x28f)]=_0x48c98d,_0x3f4a63[_0x3e2a0c(0x1a5)]=_0x54129c,Object[_0x3e2a0c(0x355)](_0x3f4a63,Symbol[_0x3e2a0c(0x2bb)],{'value':_0x3e2a0c(0x11c)});}));
1
+ (function(_0x3ee58a,_0x20bf73){const _0x8144c3=_0x9ceb,_0x3c1f86=_0x3ee58a();while(!![]){try{const _0x4d485e=parseInt(_0x8144c3(0x371))/0x1+parseInt(_0x8144c3(0x3a4))/0x2+parseInt(_0x8144c3(0x3fe))/0x3+parseInt(_0x8144c3(0x2e1))/0x4+-parseInt(_0x8144c3(0x27a))/0x5*(-parseInt(_0x8144c3(0x2dd))/0x6)+parseInt(_0x8144c3(0x26c))/0x7*(-parseInt(_0x8144c3(0x248))/0x8)+-parseInt(_0x8144c3(0x320))/0x9;if(_0x4d485e===_0x20bf73)break;else _0x3c1f86['push'](_0x3c1f86['shift']());}catch(_0x4cf7d9){_0x3c1f86['push'](_0x3c1f86['shift']());}}}(_0x1fb5,0x99d9a),function(_0x4d4a84,_0x50713f){const _0x5cda00=_0x9ceb;typeof exports=='object'&&typeof module<'u'?_0x50713f(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==_0x5cda00(0x169)&&define[_0x5cda00(0x400)]?define([_0x5cda00(0x393),_0x5cda00(0x234),'@univerjs-pro/collaboration-client',_0x5cda00(0x29c),_0x5cda00(0x2d9),_0x5cda00(0x28d),'@univerjs/design',_0x5cda00(0x2b2),'@univerjs/rpc','@univerjs/sheets',_0x5cda00(0x245),_0x5cda00(0x162),_0x5cda00(0x41e),_0x5cda00(0x23e),_0x5cda00(0x29f),'@univerjs/docs',_0x5cda00(0x41b),_0x5cda00(0x3cb),_0x5cda00(0x2db)],_0x50713f):(_0x4d4a84=typeof globalThis<'u'?globalThis:_0x4d4a84||self,_0x50713f(_0x4d4a84[_0x5cda00(0x405)]={},_0x4d4a84['React'],_0x4d4a84['UniverProCollaborationClient'],_0x4d4a84[_0x5cda00(0x1c7)],_0x4d4a84[_0x5cda00(0x3f7)],_0x4d4a84[_0x5cda00(0x28d)],_0x4d4a84['UniverDesign'],_0x4d4a84[_0x5cda00(0x158)],_0x4d4a84[_0x5cda00(0x3bb)],_0x4d4a84['UniverSheets'],_0x4d4a84[_0x5cda00(0x22a)],_0x4d4a84[_0x5cda00(0x2fc)],_0x4d4a84[_0x5cda00(0x30d)],_0x4d4a84[_0x5cda00(0x25e)],_0x4d4a84[_0x5cda00(0x208)],_0x4d4a84['UniverDocs'],_0x4d4a84[_0x5cda00(0x28c)],_0x4d4a84[_0x5cda00(0x28d)][_0x5cda00(0x39c)],_0x4d4a84[_0x5cda00(0x154)]));}(this,function(_0x4f91bb,_0x3fb505,_0x41402f,_0x41608e,_0x6166b9,_0x163839,_0x3ec05e,_0x150f7a,_0x4c4cab,_0x5bba74,_0x59ca38,_0x12ee65,_0x32e209,_0x284e1e,_0x44a289,_0x39889c,_0x150f25,_0x1502db,_0x2c6e67){'use strict';const _0x1d54d9=_0x9ceb;var _0x5e597e=Object[_0x1d54d9(0x3e8)],_0x4d72e9=(_0x253d42,_0x5a15c4,_0xb64cd8)=>_0x5a15c4 in _0x253d42?_0x5e597e(_0x253d42,_0x5a15c4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xb64cd8}):_0x253d42[_0x5a15c4]=_0xb64cd8,_0x2af801=(_0x52911d,_0x5bc475,_0x3dfe35)=>_0x4d72e9(_0x52911d,typeof _0x5bc475!='symbol'?_0x5bc475+'':_0x5bc475,_0x3dfe35);function _0x1ad606({ref:_0x1e857b,..._0xfedd80}){const _0x19d828=_0x1d54d9,{icon:_0x211042,id:_0x2d1738,className:_0x323e0a,extend:_0x5afa5b,..._0x573a94}=_0xfedd80,_0x1e256e=('univerjs-icon\x20univerjs-icon-'+_0x2d1738+'\x20'+(_0x323e0a||''))[_0x19d828(0x268)](),_0x3c000b=_0x150f7a[_0x19d828(0x1aa)]('_'+_0x4a921e());return _0x59782e(_0x211042,''+_0x2d1738,{'defIds':_0x211042[_0x19d828(0x1de)],'idSuffix':_0x3c000b[_0x19d828(0x1ab)]},{'ref':_0x1e857b,'className':_0x1e256e,..._0x573a94},_0x5afa5b);}function _0x59782e(_0x331fda,_0xcbff2f,_0x1e5e0c,_0x386aca,_0xd7a9ef){const _0xbbb561=_0x1d54d9;return _0x150f7a[_0xbbb561(0x2f1)](_0x331fda[_0xbbb561(0x2aa)],{'key':_0xcbff2f,..._0xdfd8c9(_0x331fda,_0x1e5e0c,_0xd7a9ef),..._0x386aca},(_0x5b2e70(_0x331fda,_0x1e5e0c)[_0xbbb561(0x23c)]||[])['map']((_0x444729,_0x3ace1b)=>_0x59782e(_0x444729,_0xcbff2f+'-'+_0x331fda[_0xbbb561(0x2aa)]+'-'+_0x3ace1b,_0x1e5e0c,void 0x0,_0xd7a9ef)));}function _0xdfd8c9(_0x381abf,_0x585f2f,_0x3d40b5){const _0x1b5692=_0x1d54d9,_0x1a58d7={..._0x381abf[_0x1b5692(0x3a7)]};_0x3d40b5!=null&&_0x3d40b5[_0x1b5692(0x3ec)]&&_0x1a58d7[_0x1b5692(0x36a)]===_0x1b5692(0x3ec)&&(_0x1a58d7[_0x1b5692(0x36a)]=_0x3d40b5['colorChannel1']),_0x381abf[_0x1b5692(0x2aa)]==='mask'&&_0x1a58d7['id']&&(_0x1a58d7['id']=_0x1a58d7['id']+_0x585f2f[_0x1b5692(0x1cb)]),Object[_0x1b5692(0x423)](_0x1a58d7)[_0x1b5692(0x1d1)](([_0x431e85,_0x4454ff])=>{const _0x53f5b8=_0x1b5692;_0x431e85===_0x53f5b8(0x35f)&&typeof _0x4454ff=='string'&&(_0x1a58d7[_0x431e85]=_0x4454ff[_0x53f5b8(0x3da)](/url\(#(.*)\)/,'url(#$1'+_0x585f2f[_0x53f5b8(0x1cb)]+')'));});const {defIds:_0x236510}=_0x585f2f;return!_0x236510||_0x236510[_0x1b5692(0x15d)]===0x0||(_0x381abf[_0x1b5692(0x2aa)]===_0x1b5692(0x354)&&_0x1a58d7[_0x1b5692(0x386)]&&(_0x1a58d7[_0x1b5692(0x386)]=_0x1a58d7[_0x1b5692(0x386)]+_0x585f2f['idSuffix']),Object[_0x1b5692(0x423)](_0x1a58d7)['forEach'](([_0x4ed887,_0xbc337e])=>{const _0x1610c7=_0x1b5692;typeof _0xbc337e==_0x1610c7(0x24c)&&(_0x1a58d7[_0x4ed887]=_0xbc337e[_0x1610c7(0x3da)](/url\(#(.*)\)/,_0x1610c7(0x3b4)+_0x585f2f['idSuffix']+')'));})),_0x1a58d7;}function _0x5b2e70(_0x15a44b,_0x24c71a){const _0x2496d6=_0x1d54d9;var _0x5a00c0;const {defIds:_0x392f4b}=_0x24c71a;return!_0x392f4b||_0x392f4b[_0x2496d6(0x15d)]===0x0?_0x15a44b:_0x15a44b[_0x2496d6(0x2aa)]===_0x2496d6(0x2ee)&&((_0x5a00c0=_0x15a44b[_0x2496d6(0x23c)])!=null&&_0x5a00c0[_0x2496d6(0x15d)])?{..._0x15a44b,'children':_0x15a44b[_0x2496d6(0x23c)]['map'](_0xd9beea=>typeof _0xd9beea['attrs']['id']==_0x2496d6(0x24c)&&_0x392f4b&&_0x392f4b['includes'](_0xd9beea[_0x2496d6(0x3a7)]['id'])?{..._0xd9beea,'attrs':{..._0xd9beea[_0x2496d6(0x3a7)],'id':_0xd9beea[_0x2496d6(0x3a7)]['id']+_0x24c71a[_0x2496d6(0x1cb)]}}:_0xd9beea)}:_0x15a44b;}function _0x4a921e(){const _0x4ef1f2=_0x1d54d9;return Math[_0x4ef1f2(0x3a6)]()[_0x4ef1f2(0x2cd)](0x24)[_0x4ef1f2(0x224)](0x2,0x8);}_0x1ad606[_0x1d54d9(0x1d7)]='UniverIcon';const _0x11845f={'tag':_0x1d54d9(0x429),'attrs':{'xmlns':_0x1d54d9(0x3f2),'fill':_0x1d54d9(0x1ba),'viewBox':_0x1d54d9(0x319),'width':_0x1d54d9(0x1b8),'height':_0x1d54d9(0x1b8)},'children':[{'tag':'g','attrs':{'clipPath':_0x1d54d9(0x31a)},'children':[{'tag':_0x1d54d9(0x41c),'attrs':{'stroke':'currentColor','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':_0x1d54d9(0x362),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x1d54d9(0x2ee),'attrs':{},'children':[{'tag':_0x1d54d9(0x3c3),'attrs':{'id':_0x1d54d9(0x2c4)},'children':[{'tag':_0x1d54d9(0x41c),'attrs':{'fill':_0x1d54d9(0x241),'d':_0x1d54d9(0x3df)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x2d1bc9=_0x150f7a[_0x1d54d9(0x2cf)](function(_0x2fe67b,_0x3302af){const _0x22caa7=_0x1d54d9;return _0x150f7a[_0x22caa7(0x2f1)](_0x1ad606,Object['assign']({},_0x2fe67b,{'id':'off-line-icon','ref':_0x3302af,'icon':_0x11845f}));});_0x2d1bc9[_0x1d54d9(0x1d7)]=_0x1d54d9(0x402);const _0x3aaa51={'tag':_0x1d54d9(0x429),'attrs':{'xmlns':_0x1d54d9(0x3f2),'fill':'none','viewBox':_0x1d54d9(0x1d0),'width':_0x1d54d9(0x1b8),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1d54d9(0x2c8)},'children':[{'tag':_0x1d54d9(0x41c),'attrs':{'stroke':_0x1d54d9(0x39f),'d':_0x1d54d9(0x1cc),'strokeLinecap':_0x1d54d9(0x362),'strokeLinejoin':_0x1d54d9(0x362),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x1d54d9(0x301)},'children':[{'tag':_0x1d54d9(0x41c),'attrs':{'fill':_0x1d54d9(0x241),'d':_0x1d54d9(0x3df),'transform':_0x1d54d9(0x35b)}}]}]}],'defIds':[_0x1d54d9(0x301)]},_0x403927=_0x150f7a[_0x1d54d9(0x2cf)](function(_0x3254ec,_0x2bde53){const _0x1b1d43=_0x1d54d9;return _0x150f7a[_0x1b1d43(0x2f1)](_0x1ad606,Object['assign']({},_0x3254ec,{'id':_0x1b1d43(0x210),'ref':_0x2bde53,'icon':_0x3aaa51}));});_0x403927['displayName']=_0x1d54d9(0x157);function _0x18b0d3(_0x3b2165){const _0x323286=_0x1d54d9;switch(_0x3b2165){case _0x41402f['CollaborationStatus'][_0x323286(0x1ac)]:return _0x323286(0x41d);case _0x41402f['CollaborationStatus']['CONFLICT']:return _0x323286(0x29b);case _0x41402f[_0x323286(0x1da)]['FETCH_MISS']:return _0x323286(0x242);case _0x41402f[_0x323286(0x1da)][_0x323286(0x267)]:return'collabStatus.notCollab';case _0x41402f['CollaborationStatus'][_0x323286(0x297)]:case _0x41402f[_0x323286(0x1da)][_0x323286(0x28e)]:return'collabStatus.syncing';case _0x41402f['CollaborationStatus'][_0x323286(0x226)]:case _0x41402f[_0x323286(0x1da)][_0x323286(0x427)]:return _0x323286(0x408);}}function _0x41f110(_0xf0ba4c){const _0x5792d8=_0x1d54d9,{status$:_0x20c1f3}=_0xf0ba4c,_0x157c54=_0x6166b9[_0x5792d8(0x24a)](_0x20c1f3,_0x41402f[_0x5792d8(0x1da)][_0x5792d8(0x267)]),_0x114cfc=_0x6166b9[_0x5792d8(0x258)](_0x41608e[_0x5792d8(0x377)]),_0x3de2dc=_0x6166b9[_0x5792d8(0x258)](_0x41402f[_0x5792d8(0x27b)]),_0x4cef91=_0x157c54!==_0x41402f[_0x5792d8(0x1da)]['OFFLINE'],_0x114dc8=_0x114cfc['t'](_0x18b0d3(_0x157c54)),_0x2ea350=_0x4cef91?_0x3fb505[_0x5792d8(0x3e5)](_0x403927,{}):_0x3fb505[_0x5792d8(0x3e5)](_0x2d1bc9,{}),_0x59e527=_0x150f7a[_0x5792d8(0x372)](()=>{_0x4cef91||_0x3de2dc['reconnect']();},[_0x4cef91,_0x3de2dc]);function _0x1dbd74(){const _0x53f0fd=_0x5792d8;return _0x3fb505[_0x53f0fd(0x2e8)](_0x53f0fd(0x350),{'className':_0x53f0fd(0x1d3),'onClick':_0x59e527,'children':[_0x3fb505[_0x53f0fd(0x3e5)]('div',{'className':_0x3ec05e[_0x53f0fd(0x32f)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x4cef91,'univer-text-red-500':!_0x4cef91}),'children':_0x2ea350}),_0x3fb505[_0x53f0fd(0x3e5)](_0x53f0fd(0x350),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x114dc8})]});}return _0x4cef91?_0x1dbd74():_0x3fb505['jsx'](_0x3ec05e[_0x5792d8(0x207)],{'title':_0x114cfc['t'](_0x5792d8(0x16e)),'children':_0x1dbd74()});}var _0x12e612=Object[_0x1d54d9(0x369)],_0xd50a72=(_0x165da1,_0x10c7aa,_0x5c9047,_0xf6c51f)=>{const _0x5edf4d=_0x1d54d9;for(var _0x53a02d=_0xf6c51f>0x1?void 0x0:_0xf6c51f?_0x12e612(_0x10c7aa,_0x5c9047):_0x10c7aa,_0xa91466=_0x165da1[_0x5edf4d(0x15d)]-0x1,_0x16105d;_0xa91466>=0x0;_0xa91466--)(_0x16105d=_0x165da1[_0xa91466])&&(_0x53a02d=_0x16105d(_0x53a02d)||_0x53a02d);return _0x53a02d;},_0x4c1318=(_0x16b8d7,_0x1ad385)=>(_0x5a276d,_0x458778)=>_0x1ad385(_0x5a276d,_0x458778,_0x16b8d7);_0x4f91bb[_0x1d54d9(0x38f)]=class extends _0x41608e[_0x1d54d9(0x38a)]{constructor(_0x40b60a,_0x21887a,_0x201288,_0x2a1e2c){const _0x1e48a1=_0x1d54d9;super(),_0x2af801(this,_0x1e48a1(0x412),new _0x163839[(_0x1e48a1(0x1c5))](_0x41402f[_0x1e48a1(0x1da)]['NOT_COLLAB'])),(this[_0x1e48a1(0x378)]=_0x40b60a,this['_injector']=_0x21887a,this[_0x1e48a1(0x209)]=_0x201288,this['_uiPartsService']=_0x2a1e2c,this['_initStatusComponent'](),this[_0x1e48a1(0x257)]());}['_initStatusListener'](){const _0x4082fc=_0x1d54d9;this[_0x4082fc(0x416)](this[_0x4082fc(0x378)]['focused$'][_0x4082fc(0x18b)](_0x163839[_0x4082fc(0x3ce)](()=>{const _0x189c50=_0x4082fc,_0x2b9335=this[_0x189c50(0x378)]['getFocusedUnit']();return _0x2b9335?this[_0x189c50(0x209)][_0x189c50(0x206)](_0x2b9335[_0x189c50(0x2e2)]()):_0x163839['of'](null);}),_0x163839[_0x4082fc(0x3ce)](_0x1fc0af=>_0x1fc0af?_0x1fc0af['status$']:_0x163839['of'](_0x41402f[_0x4082fc(0x1da)][_0x4082fc(0x267)])))[_0x4082fc(0x431)](_0x67b97e=>{const _0x304f7f=_0x4082fc;this['_status$'][_0x304f7f(0x34e)](_0x67b97e);}));}[_0x1d54d9(0x42d)](){const _0x4e6a4f=_0x1d54d9;this['disposeWithMe'](this[_0x4e6a4f(0x364)][_0x4e6a4f(0x193)](_0x6166b9[_0x4e6a4f(0x3ba)]['HEADER_MENU'],()=>_0x6166b9['connectInjector'](_0x31af36({'status$':this[_0x4e6a4f(0x412)]['asObservable']()}),this['_injector'])));}},_0x4f91bb[_0x1d54d9(0x38f)]=_0xd50a72([_0x4c1318(0x0,_0x41608e[_0x1d54d9(0x189)]),_0x4c1318(0x1,_0x41608e[_0x1d54d9(0x227)](_0x41608e[_0x1d54d9(0x426)])),_0x4c1318(0x2,_0x41608e[_0x1d54d9(0x227)](_0x41402f[_0x1d54d9(0x404)])),_0x4c1318(0x3,_0x6166b9[_0x1d54d9(0x2d8)])],_0x4f91bb[_0x1d54d9(0x38f)]);function _0x31af36(_0x123824){const {status$:_0x578ea9}=_0x123824;return function(){const _0x55e361=_0x9ceb;return _0x3fb505[_0x55e361(0x3e5)](_0x41f110,{'status$':_0x578ea9});};}const _0x49794a=_0x41608e['createIdentifier'](_0x1d54d9(0x1a3));var _0x47b550=Object['getOwnPropertyDescriptor'],_0xcc2b4b=(_0x6e396b,_0x29cf94,_0x5d94fc,_0x2d4497)=>{const _0x4bda6a=_0x1d54d9;for(var _0x10491e=_0x2d4497>0x1?void 0x0:_0x2d4497?_0x47b550(_0x29cf94,_0x5d94fc):_0x29cf94,_0x2ec676=_0x6e396b[_0x4bda6a(0x15d)]-0x1,_0x2f85de;_0x2ec676>=0x0;_0x2ec676--)(_0x2f85de=_0x6e396b[_0x2ec676])&&(_0x10491e=_0x2f85de(_0x10491e)||_0x10491e);return _0x10491e;},_0x448f86=(_0x3bf85a,_0x1af869)=>(_0x1a7296,_0x328e94)=>_0x1af869(_0x1a7296,_0x328e94,_0x3bf85a);_0x4f91bb[_0x1d54d9(0x22b)]=class extends _0x41608e[_0x1d54d9(0x3be)]{constructor(_0x5e720c,_0x4c6e84,_0x36491e,_0x569d64,_0x9ea135){const _0x2a3d4d=_0x1d54d9;super(),this[_0x2a3d4d(0x2b1)]=_0x5e720c,this[_0x2a3d4d(0x29d)]=_0x4c6e84,this[_0x2a3d4d(0x186)]=_0x36491e,this[_0x2a3d4d(0x3ff)]=_0x569d64,_0x9ea135?_0x9ea135==null||_0x9ea135[_0x2a3d4d(0x288)]()[_0x2a3d4d(0x336)](()=>this[_0x2a3d4d(0x37b)]()):(this[_0x2a3d4d(0x29d)][_0x2a3d4d(0x2b7)](_0x2a3d4d(0x315),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x2a3d4d(0x37b)]());}async[_0x1d54d9(0x37b)](){const _0x53d469=_0x1d54d9,_0x99406c=this[_0x53d469(0x2b1)][_0x53d469(0x19c)]('unit'),_0x2acc62=this[_0x53d469(0x2b1)][_0x53d469(0x19c)](_0x53d469(0x1d2)),_0x1a6c36=this[_0x53d469(0x2b1)][_0x53d469(0x19c)]('subunit');if(!_0x99406c||!_0x2acc62){this[_0x53d469(0x29d)][_0x53d469(0x2b7)](_0x53d469(0x315),_0x53d469(0x290));return;}const _0x327f07=await this[_0x53d469(0x3ff)][_0x53d469(0x1ff)](_0x99406c,Number(_0x2acc62),_0x1a6c36);_0x327f07&&_0x327f07 instanceof _0x41608e['Workbook']&&this['_setupSubUnitSync'](_0x327f07);}async[_0x1d54d9(0x37d)](_0x1731c3){const _0x589559=_0x1d54d9;await this[_0x589559(0x381)](_0x1731c3),_0x1731c3[_0x589559(0x1e0)][_0x589559(0x18b)](_0x163839['takeUntil'](this[_0x589559(0x1bc)]))[_0x589559(0x431)](_0x29b483=>{_0x29b483&&this['_updateURLWithCurrentState'](_0x29b483);}),this[_0x589559(0x2b1)][_0x589559(0x1c3)][_0x589559(0x18b)](_0x163839[_0x589559(0x1e4)](this[_0x589559(0x1bc)]))[_0x589559(0x431)](()=>this[_0x589559(0x381)](_0x1731c3));}['_updateURLWithCurrentState'](_0x5b4a6f,_0x1198a9=!0x1){const _0x319bf7=_0x1d54d9,_0x4d84e6=this[_0x319bf7(0x2b1)][_0x319bf7(0x19c)](_0x319bf7(0x2e3));_0x5b4a6f[_0x319bf7(0x26b)]()!==_0x4d84e6&&this[_0x319bf7(0x2b1)]['setParam']('subunit',_0x5b4a6f[_0x319bf7(0x26b)](),_0x1198a9);}async[_0x1d54d9(0x381)](_0x79e57){const _0xa9b4f1=_0x1d54d9;var _0xa6f278;const _0x30e01d=this[_0xa9b4f1(0x2b1)][_0xa9b4f1(0x19c)](_0xa9b4f1(0x2e3));if(!_0x30e01d||!_0x79e57[_0xa9b4f1(0x28f)](_0x30e01d)){const _0x41cce0=_0x79e57['getUnhiddenWorksheets']()[0x0],_0x341db1=_0x79e57[_0xa9b4f1(0x28f)](_0x41cce0);if(!_0x341db1)return;this[_0xa9b4f1(0x1f6)](_0x341db1,!0x0),await this[_0xa9b4f1(0x186)]['executeCommand'](_0x5bba74[_0xa9b4f1(0x318)]['id'],{'unitId':_0x79e57[_0xa9b4f1(0x2e2)](),'subUnitId':_0x41cce0});return;}((_0xa6f278=_0x79e57['getActiveSheet']())==null?void 0x0:_0xa6f278['getSheetId']())!==_0x30e01d&&await this[_0xa9b4f1(0x186)][_0xa9b4f1(0x39b)](_0x5bba74['SetWorksheetActivateCommand']['id'],{'unitId':_0x79e57[_0xa9b4f1(0x2e2)](),'subUnitId':_0x30e01d});}},_0x4f91bb[_0x1d54d9(0x22b)]=_0xcc2b4b([_0x448f86(0x0,_0x49794a),_0x448f86(0x1,_0x41608e[_0x1d54d9(0x1dc)]),_0x448f86(0x2,_0x41608e[_0x1d54d9(0x417)]),_0x448f86(0x3,_0x41608e[_0x1d54d9(0x227)](_0x41402f[_0x1d54d9(0x247)])),_0x448f86(0x4,_0x41608e['Optional'](_0x4c4cab['IRemoteInstanceService']))],_0x4f91bb[_0x1d54d9(0x22b)]);var _0x32cd8e=Object['getOwnPropertyDescriptor'],_0x9cde4b=(_0x5b5a2e,_0x31042f,_0x4d854a,_0x1e6a49)=>{const _0x21b0f3=_0x1d54d9;for(var _0x5cfe83=_0x1e6a49>0x1?void 0x0:_0x1e6a49?_0x32cd8e(_0x31042f,_0x4d854a):_0x31042f,_0x76f6cc=_0x5b5a2e[_0x21b0f3(0x15d)]-0x1,_0x2a6978;_0x76f6cc>=0x0;_0x76f6cc--)(_0x2a6978=_0x5b5a2e[_0x76f6cc])&&(_0x5cfe83=_0x2a6978(_0x5cfe83)||_0x5cfe83);return _0x5cfe83;},_0x2f6c82=(_0x5efe53,_0x186073)=>(_0x32c066,_0xf2d12d)=>_0x186073(_0x32c066,_0xf2d12d,_0x5efe53);let _0x7d3f8b=class extends _0x41608e[_0x1d54d9(0x3be)]{constructor(_0x214296,_0x453683){const _0x5565ff=_0x1d54d9;super(),this[_0x5565ff(0x1f8)]=_0x214296,this[_0x5565ff(0x1fb)]=_0x453683,this[_0x5565ff(0x37b)]();}[_0x1d54d9(0x37b)](){const _0x2e64c2=_0x1d54d9,_0x521528=this;this[_0x2e64c2(0x416)](this['_docClipboardService'][_0x2e64c2(0x3cf)]({'onBeforePasteImage':async _0x190b53=>{const _0x1b4d5b=_0x2e64c2,_0x43775c=await _0x521528['_imageIoService'][_0x1b4d5b(0x2b4)](_0x190b53);return _0x43775c?{'source':_0x43775c['source'],'imageSourceType':_0x43775c['imageSourceType']}:null;}}));}};_0x7d3f8b=_0x9cde4b([_0x2f6c82(0x0,_0x32e209[_0x1d54d9(0x299)]),_0x2f6c82(0x1,_0x284e1e[_0x1d54d9(0x19f)])],_0x7d3f8b);const _0xda7e23=['purple.300',_0x1d54d9(0x3a3),_0x1d54d9(0x1bb),'red.300',_0x1d54d9(0x2ce),_0x1d54d9(0x33d)];class _0x1fb581 extends _0x41608e[_0x1d54d9(0x38a)]{constructor(){const _0x7fc94e=_0x1d54d9;super(...arguments),_0x2af801(this,'_assignedColors',new Map()),_0x2af801(this,_0x7fc94e(0x309),0x0);}['assignAColorForMemberID'](_0x193d20){const _0xe60339=_0x1d54d9;if(this[_0xe60339(0x2b9)][_0xe60339(0x41f)](_0x193d20))return this['_assignedColors'][_0xe60339(0x38e)](_0x193d20);const _0x4391e5=_0xda7e23[this[_0xe60339(0x309)]];return this['_colorIndex']=(this[_0xe60339(0x309)]+0x1)%_0xda7e23[_0xe60339(0x15d)],this[_0xe60339(0x2b9)][_0xe60339(0x3b7)](_0x193d20,_0x4391e5),_0x4391e5;}}function _0x40ed8c(_0x6e7da){let _0x310b5e='';for(const _0x33beaf of _0x6e7da){const {startOffset:_0x5a50f9,endOffset:_0x4c8591,isActive:_0x10d24a,rangeType:_0x398dfd,segmentId:_0x30b66f,segmentPage:_0x356bfa}=_0x33beaf;_0x310b5e['length']&&(_0x310b5e+=','),_0x310b5e+=_0x5a50f9+':'+_0x4c8591+':'+(_0x10d24a?'1':'0')+':'+_0x398dfd+':'+_0x30b66f+':'+_0x356bfa;}return _0x310b5e;}function _0x132a9d(_0x572160){const _0x2707fd=_0x1d54d9,_0x229af5=_0x572160[_0x2707fd(0x332)](','),_0x154ce2=[];for(const _0x429fc3 of _0x229af5){const [_0x57df21,_0x2e4062,_0x10ff77,_0x3304e6,_0x2173f2,_0x1f0350]=_0x429fc3[_0x2707fd(0x332)](':');_0x154ce2['push']({'startOffset':Number(_0x57df21),'endOffset':Number(_0x2e4062),'collapsed':_0x57df21===_0x2e4062,'isActive':_0x10ff77==='1','rangeType':_0x3304e6===_0x41608e['DOC_RANGE_TYPE']['TEXT']?_0x41608e[_0x2707fd(0x202)][_0x2707fd(0x3b2)]:_0x41608e[_0x2707fd(0x202)][_0x2707fd(0x1f1)],'segmentId':typeof _0x2173f2=='string'?String(_0x2173f2):'','segmentPage':Number(_0x1f0350!=null?_0x1f0350:-0x1)});}return _0x154ce2[_0x2707fd(0x214)](_0x2ad2c=>_0x2ad2c[_0x2707fd(0x312)])||(_0x154ce2[0x0][_0x2707fd(0x312)]=!0x0),_0x154ce2;}class _0x1b17e2 extends _0x41608e[_0x1d54d9(0x3be)]{constructor(){const _0x15b97e=_0x1d54d9;super(...arguments),_0x2af801(this,_0x15b97e(0x255),new _0x163839[(_0x15b97e(0x1c5))](null)),_0x2af801(this,_0x15b97e(0x352),this[_0x15b97e(0x255)][_0x15b97e(0x225)]());}['syncEditingCollabCursor'](_0x3f5368){const _0x36c823=_0x1d54d9,{unitID:_0x5355c0,memberID:_0x506f89,textRanges:_0xbbf8af}=_0x3f5368,_0x55bada=_0x40ed8c(_0xbbf8af);if(_0x55bada==='')return;const _0x5d923c={'unitID':_0x5355c0,'memberID':_0x506f89,'selection':_0x55bada};this[_0x36c823(0x255)][_0x36c823(0x34e)](_0x5d923c);}}var _0x27de1e=Object[_0x1d54d9(0x369)],_0x511744=(_0x4372eb,_0x38451a,_0xadc578,_0x2c3754)=>{const _0x93f9fa=_0x1d54d9;for(var _0x3b9260=_0x2c3754>0x1?void 0x0:_0x2c3754?_0x27de1e(_0x38451a,_0xadc578):_0x38451a,_0x12c13d=_0x4372eb[_0x93f9fa(0x15d)]-0x1,_0xb30893;_0x12c13d>=0x0;_0x12c13d--)(_0xb30893=_0x4372eb[_0x12c13d])&&(_0x3b9260=_0xb30893(_0x3b9260)||_0x3b9260);return _0x3b9260;},_0x32aa2a=(_0x1f9739,_0x1e0709)=>(_0x5d0dc6,_0x185c52)=>_0x1e0709(_0x5d0dc6,_0x185c52,_0x1f9739);const _0x53a966=0x12c,_0x1cb063=0x64;let _0x1c0d99=class extends _0x41608e[_0x1d54d9(0x3be)]{constructor(_0x1467be,_0x13224b,_0x102b41,_0x17378d,_0xd66659,_0x193803,_0x2b891a,_0x2b616a,_0x388c53){const _0x2b6f12=_0x1d54d9;super(),_0x2af801(this,_0x2b6f12(0x339),!0x1),_0x2af801(this,'_init',!0x1),_0x2af801(this,_0x2b6f12(0x20f),new _0x163839[(_0x2b6f12(0x1c5))](new Map())),_0x2af801(this,_0x2b6f12(0x36f),this[_0x2b6f12(0x20f)][_0x2b6f12(0x225)]()),_0x2af801(this,_0x2b6f12(0x203),new _0x163839[(_0x2b6f12(0x1c5))]([])),_0x2af801(this,_0x2b6f12(0x3d5),this[_0x2b6f12(0x203)][_0x2b6f12(0x18b)](_0x163839[_0x2b6f12(0x14d)](_0x53a966))),_0x2af801(this,_0x2b6f12(0x37a),_0x41608e[_0x2b6f12(0x3de)](_0x40bbf7=>{const _0x3487f2=_0x2b6f12,_0x3f1160={'eventID':_0x44a289[_0x3487f2(0x2dc)][_0x3487f2(0x236)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x3487f2(0x32c)](),'selection':_0x40ed8c(_0x40bbf7)}};this[_0x3487f2(0x2c9)][_0x3487f2(0x15a)](_0x3f1160,this[_0x3487f2(0x187)]);},_0x1cb063)),(this['unitID']=_0x1467be,this[_0x2b6f12(0x2c9)]=_0x13224b,this['_injector']=_0x102b41,this['_colorAssignService']=_0x17378d,this[_0x2b6f12(0x260)]=_0xd66659,this[_0x2b6f12(0x273)]=_0x193803,this['_transformService']=_0x2b891a,this['_univerInstanceService']=_0x2b616a,this[_0x2b6f12(0x186)]=_0x388c53);}get[_0x1d54d9(0x175)](){const _0x56b3e6=_0x1d54d9;return this[_0x56b3e6(0x20f)][_0x56b3e6(0x1e2)]();}get[_0x1d54d9(0x3dd)](){const _0x50a8f3=_0x1d54d9;return this['_roomMembers$'][_0x50a8f3(0x1e2)]();}['dispose'](){const _0xa6cb4d=_0x1d54d9;super[_0xa6cb4d(0x14a)](),this['_cursorInfo$'][_0xa6cb4d(0x34e)](new Map()),this[_0xa6cb4d(0x20f)][_0xa6cb4d(0x368)](),this[_0xa6cb4d(0x203)][_0xa6cb4d(0x34e)]([]),this[_0xa6cb4d(0x203)]['complete']();}[_0x1d54d9(0x36e)](){const _0x4c323c=_0x1d54d9;this['_init']||(this['_init']=!0x0,this[_0x4c323c(0x2c9)][_0x4c323c(0x2a9)][_0x4c323c(0x18b)](_0x163839[_0x4c323c(0x1e4)](this[_0x4c323c(0x1bc)]))[_0x4c323c(0x431)](_0x1852cb=>{const _0x435736=_0x4c323c;_0x1852cb===_0x41402f['SessionStatus'][_0x435736(0x3e1)]?this[_0x435736(0x333)]():this['_toggleOffline']();}),this[_0x4c323c(0x2c9)][_0x4c323c(0x25d)][_0x4c323c(0x18b)](_0x163839['takeUntil'](this[_0x4c323c(0x1bc)]))[_0x4c323c(0x431)](_0x2a2c44=>{const _0xfbb4d1=_0x4c323c,_0x2f4227=_0x2a2c44[_0xfbb4d1(0x291)];_0x2f4227===_0x44a289[_0xfbb4d1(0x2dc)][_0xfbb4d1(0x236)]&&this[_0xfbb4d1(0x37c)](_0x2a2c44),_0x2f4227===_0x44a289[_0xfbb4d1(0x2dc)][_0xfbb4d1(0x3d8)]&&this['_onCursorDelete'](_0x2a2c44);}),this[_0x4c323c(0x416)](this[_0x4c323c(0x186)]['onCommandExecuted'](_0x3dd18d=>{const _0x1e885b=_0x4c323c,_0x4e92cd=_0x3dd18d[_0x1e885b(0x373)];_0x4e92cd!=null&&this[_0x1e885b(0x339)]&&_0x3dd18d['id']===_0x39889c[_0x1e885b(0x2e6)]['id']&&_0x4e92cd[_0x1e885b(0x216)]===this[_0x1e885b(0x187)]&&_0x4e92cd[_0x1e885b(0x329)]===!0x1&&_0x4e92cd[_0x1e885b(0x3cc)][_0x1e885b(0x15d)]>0x0&&this[_0x1e885b(0x37a)](_0x4e92cd[_0x1e885b(0x3cc)]);})),this[_0x4c323c(0x273)]['collabCursorState$'][_0x4c323c(0x18b)](_0x163839['takeUntil'](this[_0x4c323c(0x1bc)]))['subscribe'](_0x256cfe=>{const _0x3b6976=_0x4c323c;if((_0x256cfe==null?void 0x0:_0x256cfe[_0x3b6976(0x187)])!==this[_0x3b6976(0x187)])return;const _0x42184e={'eventID':_0x44a289[_0x3b6976(0x2dc)][_0x3b6976(0x236)],'data':_0x256cfe};this[_0x3b6976(0x37c)](_0x42184e);}),this[_0x4c323c(0x416)](this[_0x4c323c(0x186)][_0x4c323c(0x415)](_0x473930=>{const _0x5a708e=_0x4c323c;if(_0x473930['params']==null)return;const _0x5a6b5f=_0x473930[_0x5a708e(0x373)];if(_0x473930['id']!==_0x39889c[_0x5a708e(0x250)]['id']||_0x5a6b5f['unitId']!==this[_0x5a708e(0x187)])return;const _0x3aa5dd={'id':_0x5a708e(0x167),'params':_0x5a6b5f},_0x4f88f4=this['cursorInfo'];for(const [_0x4e4cf1,_0x2b3f98]of _0x4f88f4){const _0x5c6236={'id':_0x5a708e(0x167),'params':{'unitId':this[_0x5a708e(0x187)],'actions':null,'textRanges':_0x2b3f98[_0x5a708e(0x3cc)]}},_0x3e6c6b=this[_0x5a708e(0x3f1)]['transformMutation'](_0x3aa5dd,_0x5c6236,!0x1);if(_0x44a289[_0x5a708e(0x285)](_0x3e6c6b))throw _0x3e6c6b[_0x5a708e(0x22c)];_0x4f88f4['set'](_0x4e4cf1,{..._0x2b3f98,'ranges':_0x3e6c6b[_0x5a708e(0x1b7)][_0x5a708e(0x373)][_0x5a708e(0x2ad)]});}queueMicrotask(()=>{const _0x4f4a6c=_0x5a708e;this['_cursorInfo$'][_0x4f4a6c(0x34e)](_0x4f88f4);});})));}['_onCursorUpdate'](_0x477213){const _0x2a2b25=_0x1d54d9;var _0x428d5b,_0x47638f;const {memberID:_0x496456,selection:_0x304ef7}=_0x477213[_0x2a2b25(0x2d1)],_0x48124b=_0x132a9d(_0x304ef7),_0x4af1f0=(_0x47638f=(_0x428d5b=this[_0x2a2b25(0x260)][_0x2a2b25(0x280)](this['unitID'],_0x496456))==null?void 0x0:_0x428d5b['name'])!=null?_0x47638f:_0x2a2b25(0x388),_0x262af1={'color':this['_colorAssignService'][_0x2a2b25(0x3f6)](_0x496456),'name':_0x4af1f0,'ranges':_0x48124b},_0x462976=this['cursorInfo'];_0x462976[_0x2a2b25(0x3b7)](_0x496456,_0x262af1),this[_0x2a2b25(0x20f)]['next'](_0x462976);}[_0x1d54d9(0x310)](_0x12341c){const _0x39c784=_0x1d54d9,{memberID:_0x5f5b61}=_0x12341c[_0x39c784(0x2d1)],_0x393712=this[_0x39c784(0x175)];_0x393712[_0x39c784(0x35c)](_0x5f5b61),this[_0x39c784(0x20f)][_0x39c784(0x34e)](_0x393712);}[_0x1d54d9(0x333)](){const _0x414fd4=_0x1d54d9;var _0x15c455;if(this[_0x414fd4(0x339)]=!0x0,((_0x15c455=this[_0x414fd4(0x378)][_0x414fd4(0x353)]())==null?void 0x0:_0x15c455[_0x414fd4(0x2e2)]())!==this[_0x414fd4(0x187)])return;const _0x18fdb6=this[_0x414fd4(0x3e0)]['get'](_0x39889c[_0x414fd4(0x3a5)])[_0x414fd4(0x3b0)]();Array[_0x414fd4(0x3a0)](_0x18fdb6)&&_0x18fdb6[_0x414fd4(0x15d)]>0x0&&this[_0x414fd4(0x37a)](_0x18fdb6);}[_0x1d54d9(0x360)](){this['_online']=!0x1;}};_0x1c0d99=_0x511744([_0x32aa2a(0x2,_0x41608e[_0x1d54d9(0x227)](_0x41608e['Injector'])),_0x32aa2a(0x3,_0x41608e['Inject'](_0x1fb581)),_0x32aa2a(0x4,_0x41608e[_0x1d54d9(0x227)](_0x41402f[_0x1d54d9(0x365)])),_0x32aa2a(0x5,_0x41608e[_0x1d54d9(0x227)](_0x1b17e2)),_0x32aa2a(0x6,_0x44a289[_0x1d54d9(0x35d)]),_0x32aa2a(0x7,_0x41608e['IUniverInstanceService']),_0x32aa2a(0x8,_0x41608e['ICommandService'])],_0x1c0d99);var _0x5108d1=Object['getOwnPropertyDescriptor'],_0x2286ad=(_0x157e5e,_0x263467,_0x34576a,_0x332014)=>{const _0x4d79ee=_0x1d54d9;for(var _0xefd1a9=_0x332014>0x1?void 0x0:_0x332014?_0x5108d1(_0x263467,_0x34576a):_0x263467,_0x2f7954=_0x157e5e[_0x4d79ee(0x15d)]-0x1,_0x18bd13;_0x2f7954>=0x0;_0x2f7954--)(_0x18bd13=_0x157e5e[_0x2f7954])&&(_0xefd1a9=_0x18bd13(_0xefd1a9)||_0xefd1a9);return _0xefd1a9;},_0x4255f6=(_0x14efb4,_0x21ab4d)=>(_0xe8a3df,_0x4fc33e)=>_0x21ab4d(_0xe8a3df,_0x4fc33e,_0x14efb4);const _0x3179db=0x12c,_0x445ace=0x64,_0xdae86e=()=>{let _0x41418d=[],_0x3fb074=!0x1;return _0x3cc8f0=>{const _0x352287=_0x9ceb;_0x41418d[_0x352287(0x3dc)](_0x3cc8f0),_0x3fb074||(_0x3fb074=!0x0,setTimeout(()=>{const _0x1fe0ce=_0x352287;_0x41418d[_0x1fe0ce(0x1d1)](_0x1b5c86=>_0x1b5c86()),_0x41418d=[],_0x3fb074=!0x1;}));};};let _0x5cfeed=class extends _0x41608e[_0x1d54d9(0x3be)]{constructor(_0x5b1c7c,_0x46e1cf,_0x290217,_0x96dff2,_0xbc857b,_0x7fc0bd,_0x38cf42,_0x4a62a5){const _0x567420=_0x1d54d9;super(),_0x2af801(this,'_online',!0x1),_0x2af801(this,'_init',!0x1),_0x2af801(this,_0x567420(0x20f),new _0x163839[(_0x567420(0x1c5))](new Map())),_0x2af801(this,'cursorInfo$',this['_cursorInfo$'][_0x567420(0x225)]()),_0x2af801(this,_0x567420(0x203),new _0x163839[(_0x567420(0x1c5))]([])),_0x2af801(this,_0x567420(0x3d5),this[_0x567420(0x203)][_0x567420(0x18b)](_0x163839[_0x567420(0x14d)](_0x3179db))),_0x2af801(this,_0x567420(0x37a),_0x41608e['debounce']((_0x57de20,_0x5032ab)=>{const _0x143b2f=_0x567420,_0x360362={'eventID':_0x44a289['CollaborationEvent'][_0x143b2f(0x236)],'data':{'unitID':this['unitID'],'memberID':this[_0x143b2f(0x2c9)][_0x143b2f(0x32c)](),'selection':_0x150f25[_0x143b2f(0x3fc)](_0x57de20,_0x5032ab[_0x143b2f(0x1ed)])}};this[_0x143b2f(0x2c9)]['send'](_0x360362,this[_0x143b2f(0x187)]);},_0x445ace)),(this['unitID']=_0x5b1c7c,this[_0x567420(0x2c9)]=_0x46e1cf,this[_0x567420(0x3e0)]=_0x290217,this[_0x567420(0x3b8)]=_0x96dff2,this[_0x567420(0x260)]=_0xbc857b,this[_0x567420(0x378)]=_0x7fc0bd,this['_commandService']=_0x38cf42,this[_0x567420(0x3d7)]=_0x4a62a5);}get['cursorInfo'](){const _0x2028f2=_0x1d54d9;return this[_0x2028f2(0x20f)][_0x2028f2(0x1e2)]();}get['roomMembers'](){const _0x44ae8e=_0x1d54d9;return this[_0x44ae8e(0x203)][_0x44ae8e(0x1e2)]();}[_0x1d54d9(0x14a)](){const _0x1fe48a=_0x1d54d9;super['dispose'](),this['_cursorInfo$'][_0x1fe48a(0x34e)](new Map()),this['_cursorInfo$'][_0x1fe48a(0x368)](),this['_roomMembers$'][_0x1fe48a(0x34e)]([]),this[_0x1fe48a(0x203)]['complete']();}[_0x1d54d9(0x36e)](){const _0x2736da=_0x1d54d9;this[_0x2736da(0x37b)]||(this[_0x2736da(0x37b)]=!0x0,this[_0x2736da(0x2c9)][_0x2736da(0x2a9)][_0x2736da(0x18b)](_0x163839[_0x2736da(0x1e4)](this['dispose$']))[_0x2736da(0x431)](_0x4e813f=>{const _0xfe0b38=_0x2736da;_0x4e813f===_0x41402f['SessionStatus'][_0xfe0b38(0x3e1)]?this[_0xfe0b38(0x333)]():this['_toggleOffline']();}),this[_0x2736da(0x2c9)][_0x2736da(0x25d)][_0x2736da(0x18b)](_0x163839[_0x2736da(0x1e4)](this[_0x2736da(0x1bc)]))[_0x2736da(0x431)](_0x5ceff1=>{const _0x373d7a=_0x2736da,_0x376280=_0x5ceff1[_0x373d7a(0x291)];_0x376280===_0x44a289['CollaborationEvent'][_0x373d7a(0x236)]&&this[_0x373d7a(0x37c)](_0x5ceff1),_0x376280===_0x44a289[_0x373d7a(0x2dc)][_0x373d7a(0x3d8)]&&this[_0x373d7a(0x310)](_0x5ceff1);}),this['_onRefRangeChange'](),this[_0x2736da(0x416)](this['_commandService'][_0x2736da(0x415)](_0x4ea4bc=>{const _0x3689c7=_0x2736da;if(this[_0x3689c7(0x339)]&&_0x4ea4bc['id']===_0x5bba74['SetSelectionsOperation']['id']&&_0x4ea4bc['params'][_0x3689c7(0x216)]===this[_0x3689c7(0x187)]){const _0x7d6fbb=_0x4ea4bc[_0x3689c7(0x373)];this[_0x3689c7(0x37a)](_0x7d6fbb[_0x3689c7(0x3c1)],_0x7d6fbb[_0x3689c7(0x3a9)][0x0]);}})));}[_0x1d54d9(0x37c)](_0x181a4a){const _0x19a39c=_0x1d54d9;var _0x1621c7,_0x575f77;const {memberID:_0x378223,selection:_0x5b20eb}=_0x181a4a[_0x19a39c(0x2d1)],{sheetName:_0x45ff6a,range:_0x14eb26}=_0x150f25[_0x19a39c(0x2eb)](_0x5b20eb),_0x3c9599={'name':(_0x575f77=(_0x1621c7=this[_0x19a39c(0x260)][_0x19a39c(0x280)](this[_0x19a39c(0x187)],_0x378223))==null?void 0x0:_0x1621c7['name'])!=null?_0x575f77:_0x19a39c(0x388),'range':this[_0x19a39c(0x424)](_0x45ff6a,_0x14eb26),'sheetID':_0x45ff6a,'color':this[_0x19a39c(0x3b8)][_0x19a39c(0x3f6)](_0x378223),'selection':_0x5b20eb},_0x4d3b8c=this[_0x19a39c(0x175)];_0x4d3b8c['set'](_0x378223,_0x3c9599),this['_cursorInfo$']['next'](_0x4d3b8c);}[_0x1d54d9(0x310)](_0x49a445){const _0x52a52f=_0x1d54d9,{memberID:_0x4a841b}=_0x49a445['data'],_0x9192d4=this[_0x52a52f(0x175)];_0x9192d4['delete'](_0x4a841b),this['_cursorInfo$'][_0x52a52f(0x34e)](_0x9192d4);}[_0x1d54d9(0x424)](_0x3385e6,_0x150369){const _0x47ded8=_0x1d54d9;var _0x5be38a,_0xc41019;const _0x1af46d=(_0xc41019=(_0x5be38a=this['_univerInstanceService'][_0x47ded8(0x1ee)](this[_0x47ded8(0x187)]))==null?void 0x0:_0x5be38a[_0x47ded8(0x28f)](_0x3385e6))==null?void 0x0:_0xc41019[_0x47ded8(0x19a)]();return(_0x1af46d==null?void 0x0:_0x1af46d[_0x47ded8(0x254)](_0x90a47e=>_0x41608e[_0x47ded8(0x159)][_0x47ded8(0x330)](_0x90a47e,_0x150369)))||_0x150369;}[_0x1d54d9(0x205)](){const _0x30ef29=_0x1d54d9,_0x1064f9=new _0x41608e['DisposableCollection'](),_0x4070c4=_0xdae86e(),_0x3fb182=()=>{const _0x319053=_0x9ceb;_0x1064f9[_0x319053(0x14a)]();const _0x4b37b8=(_0x8001c0,_0x9a0de4,_0x1b10f0,_0xeece53)=>{const _0x343450=_0x319053;let _0x5a03c4=[];switch(_0x8001c0['id']){case _0x5bba74[_0x343450(0x165)][_0x343450(0x3e2)]:{_0x5a03c4=_0x5bba74['handleDeleteRangeMoveLeft'](_0x8001c0,_0xeece53);break;}case _0x5bba74[_0x343450(0x165)][_0x343450(0x219)]:{_0x5a03c4=_0x5bba74['handleDeleteRangeMoveUp'](_0x8001c0,_0xeece53);break;}case _0x5bba74['EffectRefRangId']['InsertColCommandId']:{_0x5a03c4=_0x5bba74[_0x343450(0x1cf)](_0x8001c0,_0xeece53);break;}case _0x5bba74[_0x343450(0x165)][_0x343450(0x1ca)]:{_0x5a03c4=_0x5bba74[_0x343450(0x262)](_0x8001c0,_0xeece53);break;}case _0x5bba74[_0x343450(0x165)][_0x343450(0x2a1)]:{_0x5a03c4=_0x5bba74[_0x343450(0x324)](_0x8001c0,_0xeece53);break;}case _0x5bba74['EffectRefRangId'][_0x343450(0x313)]:{_0x5a03c4=_0x5bba74['handleInsertRow'](_0x8001c0,_0xeece53);break;}case _0x5bba74['EffectRefRangId'][_0x343450(0x229)]:{_0x5a03c4=_0x5bba74[_0x343450(0x1b1)](_0x8001c0,_0xeece53);break;}case _0x5bba74[_0x343450(0x165)]['RemoveColCommandId']:{_0x5a03c4=_0x5bba74[_0x343450(0x21d)](_0x8001c0,_0xeece53);break;}case _0x5bba74[_0x343450(0x165)][_0x343450(0x2c3)]:{_0x5a03c4=_0x5bba74[_0x343450(0x343)](_0x8001c0,_0xeece53);break;}}const _0x4acff9=_0x5bba74[_0x343450(0x347)](_0x5a03c4,_0xeece53),_0x7e746f=this[_0x343450(0x175)][_0x343450(0x38e)](_0x9a0de4);if(_0x7e746f&&_0x4acff9){const _0x44fa10={..._0x7e746f,'range':_0x4acff9};this[_0x343450(0x175)][_0x343450(0x3b7)](_0x9a0de4,_0x44fa10),_0x4070c4(()=>{const _0x4d0ac2=_0x343450,_0x165d4e=this[_0x4d0ac2(0x3d7)][_0x4d0ac2(0x325)](_0x4acff9,_0x49fe59=>(_0x165d4e[_0x4d0ac2(0x14a)](),_0x4b37b8(_0x49fe59,_0x9a0de4,_0x1b10f0,_0x4acff9)));_0x1064f9[_0x4d0ac2(0x239)](_0x165d4e);});}return{'redos':[],'undos':[]};};this[_0x319053(0x175)][_0x319053(0x1d1)]((_0x489dad,_0x398400)=>{const _0xf2df04=_0x319053,{range:_0x4370ab,sheetID:_0x5b4ea1}=_0x489dad,_0x5b6a43=this[_0xf2df04(0x3d7)][_0xf2df04(0x325)](_0x4370ab,_0x326146=>(_0x5b6a43[_0xf2df04(0x14a)](),_0x4b37b8(_0x326146,_0x398400,_0x5b4ea1,_0x4370ab)));_0x1064f9['add'](_0x5b6a43);});};this['disposeWithMe'](_0x41608e['toDisposable'](this['_cursorInfo$'][_0x30ef29(0x431)](()=>{_0x3fb182();})));}['_toggleOnline'](){const _0x423b28=_0x1d54d9;var _0x100cc9,_0x97e632;if(this['_online']=!0x0,((_0x100cc9=this[_0x423b28(0x378)]['getFocusedUnit']())==null?void 0x0:_0x100cc9[_0x423b28(0x2e2)]())!==this[_0x423b28(0x187)])return;const _0x209fd3=(_0x97e632=this[_0x423b28(0x3e0)][_0x423b28(0x38e)](_0x5bba74[_0x423b28(0x411)])[_0x423b28(0x190)]())==null?void 0x0:_0x97e632[0x0],_0x6a6aa6=this[_0x423b28(0x378)][_0x423b28(0x2b3)](_0x41608e['UniverInstanceType']['UNIVER_SHEET'])[_0x423b28(0x1a8)]();_0x209fd3&&_0x6a6aa6&&this[_0x423b28(0x37a)](_0x6a6aa6[_0x423b28(0x26b)](),_0x209fd3);}['_toggleOffline'](){this['_online']=!0x1;}};_0x5cfeed=_0x2286ad([_0x4255f6(0x2,_0x41608e['Inject'](_0x41608e[_0x1d54d9(0x426)])),_0x4255f6(0x3,_0x41608e[_0x1d54d9(0x227)](_0x1fb581)),_0x4255f6(0x4,_0x41608e['Inject'](_0x41402f[_0x1d54d9(0x365)])),_0x4255f6(0x5,_0x41608e[_0x1d54d9(0x189)]),_0x4255f6(0x6,_0x41608e['ICommandService']),_0x4255f6(0x7,_0x41608e['Inject'](_0x5bba74[_0x1d54d9(0x432)]))],_0x5cfeed);var _0x2e07ab=Object[_0x1d54d9(0x369)],_0x4e6a5f=(_0x27241c,_0x2fb0a3,_0x146517,_0x1ffa13)=>{const _0x381db0=_0x1d54d9;for(var _0x4f0b35=_0x1ffa13>0x1?void 0x0:_0x1ffa13?_0x2e07ab(_0x2fb0a3,_0x146517):_0x2fb0a3,_0x319782=_0x27241c[_0x381db0(0x15d)]-0x1,_0x1fdc94;_0x319782>=0x0;_0x319782--)(_0x1fdc94=_0x27241c[_0x319782])&&(_0x4f0b35=_0x1fdc94(_0x4f0b35)||_0x4f0b35);return _0x4f0b35;},_0x4415b7=(_0x309148,_0x3ebd81)=>(_0x39427f,_0x475c58)=>_0x3ebd81(_0x39427f,_0x475c58,_0x309148);let _0x13f4ff=class extends _0x41608e[_0x1d54d9(0x3be)]{constructor(_0x3bc703,_0x32b8e9,_0x4bfd60){const _0x51d917=_0x1d54d9;super(),_0x2af801(this,_0x51d917(0x37f),new Map()),_0x2af801(this,_0x51d917(0x322),new _0x163839[(_0x51d917(0x31d))]()),(this[_0x51d917(0x378)]=_0x3bc703,this['_injector']=_0x32b8e9,this['_collabSessionService']=_0x4bfd60,this[_0x51d917(0x37b)]());}[_0x1d54d9(0x14a)](){const _0x5a0623=_0x1d54d9;super[_0x5a0623(0x14a)](),this[_0x5a0623(0x322)][_0x5a0623(0x368)](),this['_entities'][_0x5a0623(0x1d1)](_0x2b71b2=>_0x2b71b2[_0x5a0623(0x14a)]());}['getCollabCursors$'](_0x147ce1){const _0x374744=_0x1d54d9;return this[_0x374744(0x37f)][_0x374744(0x41f)](_0x147ce1)?this['_entities'][_0x374744(0x38e)](_0x147ce1)[_0x374744(0x36f)]:this[_0x374744(0x322)]['pipe'](_0x163839[_0x374744(0x152)](_0x1d8a58=>_0x1d8a58[_0x374744(0x187)]===_0x147ce1),_0x163839['switchMap'](_0xcec791=>_0xcec791[_0x374744(0x36f)]));}['_init'](){const _0x3468df=_0x1d54d9;this[_0x3468df(0x378)]['getTypeOfUnitAdded$'](_0x41608e['UniverInstanceType'][_0x3468df(0x18c)])[_0x3468df(0x18b)](_0x163839[_0x3468df(0x1e4)](this[_0x3468df(0x1bc)]))['subscribe'](async _0xbc0585=>{const _0x48d588=_0x3468df,_0x23ea02=_0xbc0585[_0x48d588(0x2e2)](),_0x4d7416=await this[_0x48d588(0x344)](_0x23ea02);this[_0x48d588(0x322)][_0x48d588(0x34e)](_0x4d7416),this[_0x48d588(0x37f)][_0x48d588(0x3b7)](_0x23ea02,_0x4d7416);}),this['_univerInstanceService'][_0x3468df(0x3c9)](_0x41608e[_0x3468df(0x3ee)][_0x3468df(0x14c)])[_0x3468df(0x18b)](_0x163839[_0x3468df(0x1e4)](this[_0x3468df(0x1bc)]))[_0x3468df(0x18b)](_0x163839[_0x3468df(0x152)](_0x35fcb8=>!_0x35fcb8['getUnitId']()[_0x3468df(0x33b)]('__')))['subscribe'](async _0x5d6163=>{const _0x2a585c=_0x3468df,_0x3904e4=_0x5d6163[_0x2a585c(0x2e2)](),_0x55b80a=await this['_startDocCollabCursor'](_0x3904e4);this[_0x2a585c(0x322)][_0x2a585c(0x34e)](_0x55b80a),this[_0x2a585c(0x37f)]['set'](_0x3904e4,_0x55b80a);}),_0x163839['merge'](this[_0x3468df(0x378)]['getTypeOfUnitDisposed$'](_0x41608e[_0x3468df(0x3ee)][_0x3468df(0x14c)]),this[_0x3468df(0x378)]['getTypeOfUnitDisposed$'](_0x41608e['UniverInstanceType'][_0x3468df(0x18c)]))[_0x3468df(0x18b)](_0x163839['takeUntil'](this['dispose$']))[_0x3468df(0x431)](_0x1df76a=>{const _0x2b206e=_0x3468df,_0xccacdf=_0x1df76a[_0x2b206e(0x2e2)](),_0x3b3a4e=this['_entities']['get'](_0xccacdf);_0x3b3a4e&&(_0x3b3a4e['dispose'](),this['_entities']['delete'](_0xccacdf));});}async[_0x1d54d9(0x344)](_0x3a16a9){const _0x3ca7f8=_0x1d54d9,_0x283d04=await this[_0x3ca7f8(0x39d)]['requireSession'](_0x3a16a9),_0x145b6f=this[_0x3ca7f8(0x3e0)]['createInstance'](_0x5cfeed,_0x3a16a9,_0x283d04);return _0x145b6f['init'](),_0x145b6f;}async['_startDocCollabCursor'](_0x5e9cec){const _0x82cbe=_0x1d54d9,_0x343f59=await this[_0x82cbe(0x39d)][_0x82cbe(0x264)](_0x5e9cec),_0x690e63=this['_injector'][_0x82cbe(0x2df)](_0x1c0d99,_0x5e9cec,_0x343f59);return _0x690e63[_0x82cbe(0x36e)](),_0x690e63;}};_0x13f4ff=_0x4e6a5f([_0x4415b7(0x0,_0x41608e['IUniverInstanceService']),_0x4415b7(0x1,_0x41608e[_0x1d54d9(0x227)](_0x41608e[_0x1d54d9(0x426)])),_0x4415b7(0x2,_0x41608e[_0x1d54d9(0x227)](_0x41402f['CollaborationSessionService']))],_0x13f4ff);const _0x250e0c=0x14,_0x4fe6f=0xc8,_0x67aa1c=0x4,_0x5a4a11=0x5;function _0x52b4d9(_0x1b2b71,_0x5cab45){const _0x1dece8=_0x1d54d9;let {radius:_0x5d29f8,width:_0x3c4545,height:_0x446cf9}=_0x5cab45;_0x5d29f8=_0x5d29f8!=null?_0x5d29f8:0x0,_0x3c4545=_0x3c4545!=null?_0x3c4545:0x1e,_0x446cf9=_0x446cf9!=null?_0x446cf9:0x1e;let _0x28507c=0x0,_0x4dc55b=0x0,_0x3e8cca=0x0;_0x28507c=_0x4dc55b=_0x3e8cca=Math[_0x1dece8(0x32b)](_0x5d29f8,_0x3c4545/0x2,_0x446cf9/0x2),_0x1b2b71[_0x1dece8(0x1d9)](),_0x1b2b71['moveTo'](_0x28507c,0x0),_0x1b2b71['lineTo'](_0x3c4545-_0x4dc55b,0x0),_0x1b2b71['arc'](_0x3c4545-_0x4dc55b,_0x4dc55b,_0x4dc55b,Math['PI']*0x3/0x2,0x0,!0x1),_0x1b2b71[_0x1dece8(0x251)](_0x3c4545,_0x446cf9-_0x3e8cca),_0x1b2b71[_0x1dece8(0x382)](_0x3c4545-_0x3e8cca,_0x446cf9-_0x3e8cca,_0x3e8cca,0x0,Math['PI']/0x2,!0x1),_0x1b2b71[_0x1dece8(0x251)](0x0,_0x446cf9),_0x1b2b71[_0x1dece8(0x251)](0x0,_0x28507c),_0x1b2b71['arc'](_0x28507c,_0x28507c,_0x28507c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1b2b71[_0x1dece8(0x304)](),_0x5cab45[_0x1dece8(0x36a)]&&(_0x1b2b71[_0x1dece8(0x16a)](),_0x1b2b71[_0x1dece8(0x28a)]=_0x5cab45[_0x1dece8(0x36a)],_0x5cab45[_0x1dece8(0x341)]===_0x1dece8(0x1b5)?_0x1b2b71[_0x1dece8(0x36a)](_0x1dece8(0x1b5)):_0x1b2b71[_0x1dece8(0x36a)](),_0x1b2b71[_0x1dece8(0x2e0)]());}class _0x1c4925 extends _0x59ca38['Shape']{constructor(_0x32de4c,_0x33fb4f){const _0x27c9d6=_0x1d54d9;super(_0x32de4c,_0x33fb4f),_0x2af801(this,'color'),_0x2af801(this,'text'),(this[_0x27c9d6(0x282)]=_0x33fb4f==null?void 0x0:_0x33fb4f[_0x27c9d6(0x282)],this[_0x27c9d6(0x223)]=_0x33fb4f==null?void 0x0:_0x33fb4f[_0x27c9d6(0x223)]);}static[_0x1d54d9(0x351)](_0x1d8656,_0x337a6d){const _0x515941=_0x1d54d9,{text:_0xc49e71,color:_0x18afd1}=_0x337a6d;_0x1d8656[_0x515941(0x16a)](),_0x1d8656[_0x515941(0x383)]=_0x515941(0x1db);const _0x29ff3d=_0x1d8656[_0x515941(0x328)](_0xc49e71)['width'],_0x4d53a5=Math[_0x515941(0x32b)](_0x29ff3d+0x2*_0x67aa1c,_0x4fe6f);_0x52b4d9(_0x1d8656,{'height':_0x250e0c,'radius':0x4,'width':_0x4d53a5,'fill':_0x18afd1}),_0x1d8656[_0x515941(0x28a)]=_0x515941(0x34f);const _0x5d0cd9=_0x67aa1c,_0x5efb8=_0x250e0c-_0x5a4a11,_0xd270a2=_0x4fe6f-0x2*_0x67aa1c;if(_0x29ff3d>_0xd270a2){let _0x53642d='',_0x12d3ab=0x0;for(const _0x1cf950 of _0xc49e71){const _0xa95bc5=_0x1d8656[_0x515941(0x328)](_0x1cf950)['width'];if(_0x12d3ab+_0xa95bc5<=_0xd270a2-_0x1d8656['measureText'](_0x515941(0x2e7))[_0x515941(0x391)])_0x53642d+=_0x1cf950,_0x12d3ab+=_0xa95bc5;else{_0x53642d+=_0x515941(0x2e7);break;}}_0x1d8656[_0x515941(0x31b)](_0x53642d,_0x5d0cd9,_0x5efb8);}else _0x1d8656[_0x515941(0x31b)](_0xc49e71,_0x5d0cd9,_0x5efb8);_0x1d8656[_0x515941(0x2e0)]();}['_draw'](_0x5b18f7){const _0x35c510=_0x1d54d9;_0x1c4925[_0x35c510(0x351)](_0x5b18f7,this);}}const _0x2ab4a2=_0x1d54d9(0x269),_0x54cf3b='collab-text-range-',_0x539ca3='collab-rect-range-',_0x3c286f=0x6,_0x415fd5=1.5,_0x8933a5=0x4,_0x195505=1.5,_0x2f6cf2=_0x1d54d9(0x1e5);class _0x5c237c{constructor(_0x85c384,_0x23822e,_0x4e9fe5,_0x3d23ed){const _0x4f4c17=_0x1d54d9;_0x2af801(this,_0x4f4c17(0x17e),[]),_0x2af801(this,_0x4f4c17(0x3a8),null),_0x2af801(this,_0x4f4c17(0x1e1),null),_0x2af801(this,_0x4f4c17(0x27c),null),_0x2af801(this,_0x4f4c17(0x2be),null),_0x2af801(this,_0x4f4c17(0x2a0),null),(this['_cursor']=_0x85c384,this[_0x4f4c17(0x27d)]=_0x23822e,this['_docSkeleton']=_0x4e9fe5,this[_0x4f4c17(0x401)]=_0x3d23ed,this[_0x4f4c17(0x2e5)]());}set[_0x1d54d9(0x1bf)](_0x549b25){const _0x40a8ad=_0x1d54d9;_0x549b25?(this[_0x40a8ad(0x27c)]&&this[_0x40a8ad(0x27c)][_0x40a8ad(0x30c)](),this['_textBubble']&&this['_textBubble'][_0x40a8ad(0x181)]()):(this[_0x40a8ad(0x27c)]&&this[_0x40a8ad(0x27c)][_0x40a8ad(0x181)](),this[_0x40a8ad(0x1e1)]&&this[_0x40a8ad(0x1e1)][_0x40a8ad(0x30c)]());}[_0x1d54d9(0x14a)](){const _0x24ca49=_0x1d54d9;for(const _0x11e0ec of this[_0x24ca49(0x17e)])_0x11e0ec[_0x24ca49(0x14a)]();this[_0x24ca49(0x1e1)]&&this[_0x24ca49(0x1e1)]['dispose'](),this[_0x24ca49(0x27c)]&&this[_0x24ca49(0x27c)][_0x24ca49(0x14a)](),this[_0x24ca49(0x3a8)]&&this[_0x24ca49(0x3a8)][_0x24ca49(0x14a)](),this[_0x24ca49(0x2a0)]&&this[_0x24ca49(0x2a0)]();}[_0x1d54d9(0x2e5)](){const _0x831b06=_0x1d54d9;var _0xe1029;const {_docSkeleton:_0x2c0dca,_document:_0xb454ac}=this,{color:_0x42d606,name:_0x55b911,ranges:_0x29fddd}=this[_0x831b06(0x2c2)],_0x58dd4f=_0xb454ac[_0x831b06(0x17c)](),{docsLeft:_0xb4a0ea,docsTop:_0x3b162d}=_0x58dd4f,_0x529b7d=new _0x32e209[(_0x831b06(0x2fb))](_0x58dd4f,_0x2c0dca);for(const {startOffset:_0x41bd97,endOffset:_0x4436b3,rangeType:_0xe36ab0,segmentId:_0x226d40,segmentPage:_0x2d8b42,collapsed:_0x544ee4,isActive:_0x1cb7cb}of _0x29fddd){const _0x360cb4=_0x2c0dca[_0x831b06(0x374)](_0x41bd97,!0x0,_0x226d40,_0x2d8b42);let _0x2b3a4f=_0x2c0dca[_0x831b06(0x374)](_0x4436b3,!0x0,_0x226d40,_0x2d8b42);if(_0x2b3a4f==null&&(_0x2b3a4f=_0x2c0dca[_0x831b06(0x374)](_0x4436b3-0x1,!0x1,_0x226d40,_0x2d8b42)),_0x1cb7cb){const {contentBoxPointGroup:_0xaf1f25}=_0x529b7d['getRangePointData'](_0x2b3a4f,_0x2b3a4f);if(_0xaf1f25['length']===0x0)continue;this[_0x831b06(0x17f)](_0x42d606,_0xaf1f25,_0xb4a0ea,_0x3b162d,_0x55b911),this[_0x831b06(0x2a0)]=this[_0x831b06(0x326)]();}if(_0x360cb4&&_0x2b3a4f){if(_0xe36ab0===_0x41608e[_0x831b06(0x202)][_0x831b06(0x1f1)]){const _0x1f1082=new _0x32e209[(_0x831b06(0x217))](_0x58dd4f,_0x2c0dca),{pointGroup:_0x4027e0}=(_0xe1029=_0x1f1082[_0x831b06(0x355)](_0x360cb4,_0x2b3a4f))!=null?_0xe1029:{};if(_0x4027e0==null||_0x4027e0[_0x831b06(0x15d)]===0x0)continue;this['_drawRectRange'](_0x42d606,_0x4027e0,_0xb4a0ea,_0x3b162d);}else{if(!_0x544ee4){const {borderBoxPointGroup:_0x8cd7fd}=_0x529b7d[_0x831b06(0x355)](_0x360cb4,_0x2b3a4f);if(_0x8cd7fd[_0x831b06(0x15d)]===0x0)continue;this[_0x831b06(0x28b)](_0x42d606,_0x8cd7fd,_0xb4a0ea,_0x3b162d);}}}}}[_0x1d54d9(0x17f)](_0x1e0150,_0x4e013b,_0x105fb5,_0x2c6be5,_0x2b6014){const _0x4d8de0=_0x1d54d9,_0x2959e4=this[_0x4d8de0(0x183)](_0x4e013b),{left:_0x482b79,top:_0x31b15a,height:_0x68fee4}=_0x2959e4,_0x5df71d=this['_getScale'](),_0x6d3605=_0x195505/_0x5df71d,_0x1d29e5=new _0x59ca38[(_0x4d8de0(0x1d8))](_0x2ab4a2+_0x41608e['generateRandomId'](_0x3c286f),{'left':_0x482b79+_0x105fb5-_0x6d3605,'top':_0x31b15a+_0x2c6be5,'height':_0x68fee4,'width':_0x415fd5,'fill':_0x1e0150||_0x59ca38[_0x4d8de0(0x2af)](_0x41608e[_0x4d8de0(0x40e)][_0x4d8de0(0x24b)],0x0),'strokeWidth':_0x6d3605,'stroke':_0x2f6cf2,'evented':!0x0});this[_0x4d8de0(0x3a8)]=_0x1d29e5,this[_0x4d8de0(0x27d)]['addObject'](_0x1d29e5,_0x32e209['TEXT_RANGE_LAYER_INDEX']);const _0x11f21b=new _0x59ca38['Rect'](_0x2ab4a2+_0x41608e[_0x4d8de0(0x2ec)](_0x3c286f),{'left':_0x482b79+_0x105fb5-_0x6d3605,'top':_0x31b15a+_0x2c6be5-_0x8933a5/0x2,'height':_0x8933a5,'width':_0x8933a5,'fill':_0x1e0150||_0x59ca38[_0x4d8de0(0x2af)](_0x41608e[_0x4d8de0(0x40e)][_0x4d8de0(0x24b)],0x0),'strokeWidth':0x0,'stroke':_0x1e0150||_0x59ca38[_0x4d8de0(0x2af)](_0x41608e[_0x4d8de0(0x40e)][_0x4d8de0(0x24b)],0x0),'evented':!0x1});this[_0x4d8de0(0x27c)]=_0x11f21b,this[_0x4d8de0(0x27d)][_0x4d8de0(0x34c)](_0x11f21b,_0x32e209[_0x4d8de0(0x2b6)]);const _0x4173d7=new _0x1c4925(_0x2ab4a2+_0x41608e[_0x4d8de0(0x2ec)](_0x3c286f),{'left':_0x482b79+_0x105fb5-_0x6d3605,'top':_0x31b15a+_0x2c6be5-_0x250e0c,'text':_0x2b6014,'color':_0x1e0150});this[_0x4d8de0(0x1e1)]=_0x4173d7,this[_0x4d8de0(0x27d)][_0x4d8de0(0x34c)](_0x4173d7,_0x32e209[_0x4d8de0(0x2b6)]),this[_0x4d8de0(0x1bf)]=!0x1;}['_handleHover'](){const _0x761046=_0x1d54d9,_0x4fcf33=this[_0x761046(0x3a8)][_0x761046(0x379)][_0x761046(0x2ed)](()=>{this['_hover']=!0x0;}),_0x199728=this[_0x761046(0x3a8)][_0x761046(0x275)]['subscribeEvent'](()=>{const _0x469834=_0x761046;this[_0x469834(0x2be)]&&clearTimeout(this[_0x469834(0x2be)]),this[_0x469834(0x2be)]=setTimeout(()=>{const _0x4db936=_0x469834;this[_0x4db936(0x1bf)]=!0x1;},0x7d0);});return()=>{const _0x1b653e=_0x761046;_0x4fcf33[_0x1b653e(0x16c)](),_0x199728[_0x1b653e(0x16c)]();};}[_0x1d54d9(0x28b)](_0x464191,_0x2100b0,_0x2cc5d8,_0x23082f){const _0x21209b=_0x1d54d9,_0x5c5f3e=new _0x41608e[(_0x21209b(0x265))](_0x464191)[_0x21209b(0x177)](0.2)[_0x21209b(0x410)](),_0x403757=new _0x59ca38['RegularPolygon'](_0x54cf3b+_0x41608e['generateRandomId'](_0x3c286f),{'pointsGroup':_0x2100b0,'fill':_0x5c5f3e||_0x59ca38['getColor'](_0x41608e[_0x21209b(0x40e)][_0x21209b(0x24b)],0.2),'left':_0x2cc5d8,'top':_0x23082f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x21209b(0x17e)][_0x21209b(0x3dc)](_0x403757),this[_0x21209b(0x27d)]['addObject'](_0x403757,_0x32e209[_0x21209b(0x2b6)]);}['_drawRectRange'](_0x47b4ae,_0x24b44d,_0x4f1add,_0x23cc83){const _0x473eba=_0x1d54d9,_0x9febe8=new _0x41608e[(_0x473eba(0x265))](_0x47b4ae)[_0x473eba(0x177)](0.2)[_0x473eba(0x410)](),_0x2fccdc=new _0x59ca38['RegularPolygon'](_0x539ca3+_0x41608e['generateRandomId'](_0x3c286f),{'pointsGroup':_0x24b44d,'fill':_0x9febe8||_0x59ca38[_0x473eba(0x2af)](_0x41608e[_0x473eba(0x40e)][_0x473eba(0x24b)],0.2),'left':_0x4f1add,'top':_0x23cc83,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x473eba(0x17e)][_0x473eba(0x3dc)](_0x2fccdc),this[_0x473eba(0x27d)][_0x473eba(0x34c)](_0x2fccdc,_0x32e209[_0x473eba(0x2b6)]);}['_getAnchorBounding'](_0x537be3){const _0x1cf522=_0x537be3[0x0],_0x2a0e00=_0x1cf522[0x0],_0x231ddd=_0x1cf522[0x2],{x:_0x256e7c,y:_0x15a36c}=_0x2a0e00,{x:_0xa106e8,y:_0x38d213}=_0x231ddd;return{'left':_0x256e7c,'top':_0x15a36c,'width':_0xa106e8-_0x256e7c,'height':_0x38d213-_0x15a36c};}[_0x1d54d9(0x2c0)](){const _0x3033b8=_0x1d54d9,{scaleX:_0x2e1179,scaleY:_0x5685e4}=this[_0x3033b8(0x27d)][_0x3033b8(0x277)]();return Math[_0x3033b8(0x3d4)](_0x2e1179,_0x5685e4);}}var _0x3ccf0d=Object[_0x1d54d9(0x369)],_0x287bf0=(_0x44476b,_0x1a917c,_0x431eb5,_0xf60817)=>{for(var _0x5e573c=_0xf60817>0x1?void 0x0:_0xf60817?_0x3ccf0d(_0x1a917c,_0x431eb5):_0x1a917c,_0x632b18=_0x44476b['length']-0x1,_0xd75509;_0x632b18>=0x0;_0x632b18--)(_0xd75509=_0x44476b[_0x632b18])&&(_0x5e573c=_0xd75509(_0x5e573c)||_0x5e573c);return _0x5e573c;},_0x53ab81=(_0x1b281f,_0x1c7fb0)=>(_0x49baaf,_0x164724)=>_0x1c7fb0(_0x49baaf,_0x164724,_0x1b281f);let _0x4b0629=class extends _0x41608e['RxDisposable']{constructor(_0x4af39b,_0x429db6,_0x4bf583,_0x308686,_0x174b5b){const _0x4a68b7=_0x1d54d9;super(),_0x2af801(this,'_cursorShapes',[]),_0x2af801(this,'_cursors',[]),(this[_0x4a68b7(0x27f)]=_0x4af39b,this[_0x4a68b7(0x1f7)]=_0x429db6,this[_0x4a68b7(0x31f)]=_0x4bf583,this['_commandService']=_0x308686,this[_0x4a68b7(0x420)]=_0x174b5b,this[_0x4a68b7(0x37b)]());}[_0x1d54d9(0x37b)](){const _0x3c4617=_0x1d54d9,_0x34fc5f=this[_0x3c4617(0x27f)][_0x3c4617(0x216)],_0x5e477f=this['_docSkeletonManagerService'];this[_0x3c4617(0x416)](_0x163839[_0x3c4617(0x2a3)]([this[_0x3c4617(0x31f)]['getCollabCursors$'](_0x34fc5f),this['_themeService'][_0x3c4617(0x168)]])['pipe'](_0x1502db[_0x3c4617(0x41a)](([_0x2dd6f3,_0x3a8a33])=>({'skeleton':_0x5e477f[_0x3c4617(0x3ca)](),'cursors':[..._0x2dd6f3[_0x3c4617(0x1b0)]()][_0x3c4617(0x261)](_0x5b294d=>({..._0x5b294d,'color':this[_0x3c4617(0x420)][_0x3c4617(0x334)](_0x5b294d[_0x3c4617(0x282)])}))})))[_0x3c4617(0x431)](_0x44b7c4=>{const _0x49bbfd=_0x3c4617;if(this[_0x49bbfd(0x396)](),_0x44b7c4){const {skeleton:_0x17e02b,cursors:_0x29e03c}=_0x44b7c4;this[_0x49bbfd(0x337)](_0x17e02b,_0x29e03c);}})),this[_0x3c4617(0x357)](),this[_0x3c4617(0x3f9)]();}['_updateCollabCursors'](_0x4d6415,_0x424883){const _0x37202b=_0x1d54d9,{scene:_0x311873,mainComponent:_0x4a86bf}=this[_0x37202b(0x27f)],_0xcd64fd=_0x424883[_0x37202b(0x41a)](_0x38154e=>new _0x5c237c(_0x38154e,_0x311873,_0x4d6415,_0x4a86bf));this[_0x37202b(0x384)]=_0xcd64fd,this['_cursors']=_0x424883;}['_refreshCollabCursors'](){const _0x2b7700=_0x1d54d9;this[_0x2b7700(0x396)]();const {scene:_0x339cd9,mainComponent:_0x2940de}=this[_0x2b7700(0x27f)],_0x478659=this[_0x2b7700(0x1f7)][_0x2b7700(0x3ca)](),_0x57eaa3=this[_0x2b7700(0x20c)][_0x2b7700(0x41a)](_0x1435f2=>new _0x5c237c(_0x1435f2,_0x339cd9,_0x478659,_0x2940de));this[_0x2b7700(0x384)]=_0x57eaa3;}[_0x1d54d9(0x396)](){const _0x4d56c0=_0x1d54d9;this[_0x4d56c0(0x384)][_0x4d56c0(0x1d1)](_0x185e03=>_0x185e03[_0x4d56c0(0x14a)]()),this[_0x4d56c0(0x384)]=[];}[_0x1d54d9(0x3f9)](){const _0x2df125=_0x1d54d9,_0x503494=[_0x32e209[_0x2df125(0x39e)]['id']];this[_0x2df125(0x416)](this['_commandService'][_0x2df125(0x415)](_0x1d94b9=>{const _0x40261b=_0x2df125;_0x503494[_0x40261b(0x1ea)](_0x1d94b9['id'])&&_0x1d94b9[_0x40261b(0x373)][_0x40261b(0x216)]===this[_0x40261b(0x27f)][_0x40261b(0x216)]&&this[_0x40261b(0x1c0)]();}));}['_initResize'](){const _0x4861a6=_0x1d54d9;this['disposeWithMe'](_0x41608e[_0x4861a6(0x2b5)](this[_0x4861a6(0x27f)][_0x4861a6(0x220)]['onTransformChange$'])[_0x4861a6(0x18b)](_0x1502db[_0x4861a6(0x152)](_0x2edfee=>_0x2edfee[_0x4861a6(0x1d2)]===_0x59ca38[_0x4861a6(0x3e6)][_0x4861a6(0x172)]),_0x1502db['throttleTime'](0x10))[_0x4861a6(0x431)](()=>{const _0x1e6074=_0x4861a6;this[_0x1e6074(0x1c0)]();}));}};_0x4b0629=_0x287bf0([_0x53ab81(0x1,_0x41608e[_0x1d54d9(0x227)](_0x39889c[_0x1d54d9(0x23d)])),_0x53ab81(0x2,_0x41608e[_0x1d54d9(0x227)](_0x13f4ff)),_0x53ab81(0x3,_0x41608e['ICommandService']),_0x53ab81(0x4,_0x41608e[_0x1d54d9(0x227)](_0x41608e[_0x1d54d9(0x307)]))],_0x4b0629);const _0x2a6788=0x1,_0x333c29=1.5;class _0x8d5a84 extends _0x59ca38['Shape']{constructor(_0x53fbf6,_0x45212f){const _0x132225=_0x1d54d9;super(_0x53fbf6,_0x45212f),_0x2af801(this,_0x132225(0x1c8)),_0x2af801(this,_0x132225(0x2ae),!0x1),_0x2af801(this,'_range'),_0x2af801(this,_0x132225(0x196),''),_0x2af801(this,_0x132225(0x2e4),_0x132225(0x30b)),_0x2af801(this,_0x132225(0x23a)),(_0x45212f&&this[_0x132225(0x398)](_0x45212f),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x132225(0x398)]({'hovered':!0x0})),this[_0x132225(0x275)][_0x132225(0x2ed)](()=>this[_0x132225(0x398)]({'hovered':!0x1})));}[_0x1d54d9(0x398)](_0x5b827b){const _0x37ec85=_0x1d54d9;var _0x1bd060,_0x176f83,_0x42f1c5,_0x15762a,_0x1227b5,_0x82c9e8;this['_color']=(_0x1bd060=_0x5b827b[_0x37ec85(0x282)])!=null?_0x1bd060:this[_0x37ec85(0x1c8)],this[_0x37ec85(0x2ae)]=(_0x176f83=_0x5b827b[_0x37ec85(0x166)])!=null?_0x176f83:this[_0x37ec85(0x2ae)],this[_0x37ec85(0x184)]=(_0x42f1c5=_0x5b827b[_0x37ec85(0x1ed)])!=null?_0x42f1c5:this[_0x37ec85(0x184)],this[_0x37ec85(0x196)]=(_0x15762a=_0x5b827b['name'])!=null?_0x15762a:this[_0x37ec85(0x196)],this[_0x37ec85(0x2e4)]=(_0x1227b5=_0x5b827b[_0x37ec85(0x233)])!=null?_0x1227b5:this[_0x37ec85(0x2e4)],this['_backgroundColor']=(_0x82c9e8=_0x5b827b['backgroundColor'])!=null?_0x82c9e8:this[_0x37ec85(0x23a)],this[_0x37ec85(0x3ab)]({'width':_0x5b827b['width'],'height':_0x5b827b['height']});}[_0x1d54d9(0x407)](_0x4e3b68){const _0xc4120a=_0x1d54d9,{row:_0x1a4501,column:_0x465475}=_0x4e3b68;if(_0x1a4501>=this[_0xc4120a(0x184)][_0xc4120a(0x2f9)]&&_0x1a4501<=this[_0xc4120a(0x184)][_0xc4120a(0x1cd)]&&_0x465475>=this['_range'][_0xc4120a(0x3bd)]&&_0x465475<=this[_0xc4120a(0x184)][_0xc4120a(0x358)]){this[_0xc4120a(0x398)]({'hovered':!0x0});return;}this[_0xc4120a(0x398)]({'hovered':!0x1});}[_0x1d54d9(0x3c0)](_0x1d8564){return!0x1;}[_0x1d54d9(0x188)](_0xc165e0){const _0x3587c0=_0x1d54d9;_0x59ca38[_0x3587c0(0x1d8)][_0x3587c0(0x351)](_0xc165e0,{'width':this['width'],'height':this[_0x3587c0(0x1a0)],'strokeWidth':_0x333c29,'stroke':this[_0x3587c0(0x1c8)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x3587c0(0x2ae)]&&(_0xc165e0[_0x3587c0(0x16a)](),_0xc165e0[_0x3587c0(0x3b3)](0x1,0x0,0x0,0x1,this[_0x3587c0(0x391)],this[_0x3587c0(0x2e4)]===_0x3587c0(0x246)?0x0:-_0x250e0c),_0x1c4925[_0x3587c0(0x351)](_0xc165e0,{'text':this[_0x3587c0(0x196)],'color':this[_0x3587c0(0x1c8)]}),_0xc165e0[_0x3587c0(0x2e0)]());}}var _0x4c3653=Object[_0x1d54d9(0x369)],_0x5c7e38=(_0x29d0bf,_0x43cbe7,_0x240ae7,_0x10aed3)=>{for(var _0x3be4c7=_0x10aed3>0x1?void 0x0:_0x10aed3?_0x4c3653(_0x43cbe7,_0x240ae7):_0x43cbe7,_0x30c5b4=_0x29d0bf['length']-0x1,_0x2f1e04;_0x30c5b4>=0x0;_0x30c5b4--)(_0x2f1e04=_0x29d0bf[_0x30c5b4])&&(_0x3be4c7=_0x2f1e04(_0x3be4c7)||_0x3be4c7);return _0x3be4c7;},_0x4a99ce=(_0x2c0198,_0x40217d)=>(_0x4166ad,_0x34e035)=>_0x40217d(_0x4166ad,_0x34e035,_0x2c0198);const _0x492326=0x1389;let _0x47ed4b=class extends _0x41608e[_0x1d54d9(0x3be)]{constructor(_0x4bceae,_0x1924f3,_0x25b839,_0x18dd49){const _0x3394d2=_0x1d54d9;super(),_0x2af801(this,_0x3394d2(0x20c),new Set()),_0x2af801(this,'_lastPointer',null),(this[_0x3394d2(0x27f)]=_0x4bceae,this[_0x3394d2(0x178)]=_0x1924f3,this[_0x3394d2(0x31f)]=_0x25b839,this[_0x3394d2(0x420)]=_0x18dd49,this['_init']());}[_0x1d54d9(0x37b)](){const _0x4a67a2=_0x1d54d9;this[_0x4a67a2(0x178)][_0x4a67a2(0x25b)][_0x4a67a2(0x18b)](_0x1502db[_0x4a67a2(0x1e4)](this[_0x4a67a2(0x1bc)]),_0x1502db[_0x4a67a2(0x3ce)](_0x181b96=>{const _0x1b9a85=_0x4a67a2;if(_0x181b96){const _0x28bd23=_0x181b96['sheetId'];return _0x163839[_0x1b9a85(0x2a3)](this['_collabCursorController']['getCollabCursors$'](this[_0x1b9a85(0x27f)][_0x1b9a85(0x216)]),this[_0x1b9a85(0x420)]['currentTheme$'])['pipe'](_0x1502db[_0x1b9a85(0x41a)](([_0x644f54,_0x42d540])=>{const _0x53a753=_0x1b9a85,_0x2ea230=new Map();return _0x644f54[_0x53a753(0x1d1)]((_0x57367f,_0x423bb7)=>{const _0xa83059=_0x53a753;if(_0x57367f[_0xa83059(0x222)]===_0x28bd23){const _0x265b47={..._0x57367f};_0x265b47[_0xa83059(0x282)]=this[_0xa83059(0x420)][_0xa83059(0x334)](_0x57367f[_0xa83059(0x282)]),_0x2ea230['set'](_0x423bb7,_0x265b47);}}),{'skeleton':_0x181b96,'cursors':_0x2ea230};}));}return _0x163839['of']({'skeleton':null,'cursors':new Map()});}))[_0x4a67a2(0x431)](({skeleton:_0x54dcef,cursors:_0x2029d6})=>{const _0x4ac861=_0x4a67a2;this[_0x4ac861(0x396)](),_0x54dcef&&this[_0x4ac861(0x337)](_0x54dcef,_0x2029d6);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x4a67a2(0x431)](_0x3a8ad5=>{const _0x39aff1=_0x4a67a2;if(_0x3a8ad5==null)return;const {skeleton:_0x79c9cd}=_0x3a8ad5,{scene:_0x5612e6}=this[_0x39aff1(0x27f)];_0x5612e6[_0x39aff1(0x25c)][_0x39aff1(0x2ed)](_0x41608e[_0x39aff1(0x3de)](_0x8948c0=>{const _0x25260e=_0x39aff1;var _0x5f32ba,_0x91563c;const {offsetX:_0x34190d,offsetY:_0x435dbd}=_0x8948c0,{x:_0x5584f8,y:_0xf84d9c}=_0x5612e6[_0x25260e(0x24f)](_0x59ca38[_0x25260e(0x3eb)][_0x25260e(0x33e)]([_0x34190d,_0x435dbd])),{scaleX:_0x32a709,scaleY:_0x3c2ab1}=_0x5612e6[_0x25260e(0x277)](),_0x112069=_0x5612e6[_0x25260e(0x31c)](_0x59ca38[_0x25260e(0x2c7)][_0x25260e(0x3a1)]),_0x254820=_0x5612e6[_0x25260e(0x3bf)](_0x59ca38[_0x25260e(0x3eb)]['FromArray']([_0x5584f8,_0xf84d9c]),_0x112069),_0x65ca48=_0x79c9cd['getCellPositionByOffset'](_0x34190d,_0x435dbd,_0x32a709,_0x3c2ab1,_0x254820);((_0x5f32ba=this[_0x25260e(0x1a9)])==null?void 0x0:_0x5f32ba[_0x25260e(0x201)])===_0x65ca48[_0x25260e(0x201)]&&((_0x91563c=this[_0x25260e(0x1a9)])==null?void 0x0:_0x91563c[_0x25260e(0x1fd)])===_0x65ca48['row']||this['_cursors'][_0x25260e(0x1d1)](_0x56812f=>{const _0x4be8ef=_0x25260e;_0x56812f[_0x4be8ef(0x407)](_0x65ca48);});},0x64));});}[_0x1d54d9(0x337)](_0x28d7f5,_0x5cf7f8){const _0x137f04=_0x1d54d9;var _0x4389ec;const _0x4f816a=(_0x4389ec=this[_0x137f04(0x178)][_0x137f04(0x259)]())==null?void 0x0:_0x4389ec[_0x137f04(0x40b)];if(!_0x4f816a)return;const _0x72136c=this['_getSheetObject']();if(!_0x72136c)return;this['_cursors']['forEach'](_0x26e9ee=>{const _0x48f801=_0x137f04;_0x26e9ee[_0x48f801(0x406)]();});const {scene:_0x9225fb}=_0x72136c,_0x4999ba=_0x1027bf(Array[_0x137f04(0x338)](_0x5cf7f8[_0x137f04(0x1b0)]()))[_0x137f04(0x41a)](_0x17a164=>{const _0x4e773f=_0x137f04,{color:_0x4629da,range:_0x41b773,name:_0x4a4c86,selection:_0x403236,sheetID:_0x97c38}=_0x17a164,{startColumn:_0x23e7c9,startRow:_0x69e124,endColumn:_0x33e063,endRow:_0x4e6254}=_0x41b773,_0x3f0743=_0x2c6e67[_0x4e773f(0x2f5)](_0x69e124,_0x23e7c9,_0x9225fb,_0x4f816a),_0x47ac67=_0x2c6e67[_0x4e773f(0x2f5)](_0x4e6254,_0x33e063,_0x9225fb,_0x4f816a),{columnHeaderHeightAndMarginTop:_0x10b506}=_0x4f816a,{startX:_0x27abb0,startY:_0x5538b0}=_0x3f0743,{endX:_0x3766bd,endY:_0x1da1f1}=_0x47ac67,_0x2788a1=_0x3766bd-_0x27abb0,_0x37c3e5=_0x1da1f1-_0x5538b0,_0xadc836={'labelPosition':_0x5538b0-_0x10b506>=_0x250e0c?_0x4e773f(0x30b):_0x4e773f(0x246),'sheetID':_0x97c38,'range':_0x41b773,'color':_0x4629da,'name':_0x4a4c86,'selection':_0x403236,'left':_0x27abb0,'top':_0x5538b0,'width':_0x2788a1,'height':_0x37c3e5,'evented':!0x1,'zIndex':_0x492326};return new _0x8d5a84(_0x4a4c86,_0xadc836);});_0x9225fb['addObjects'](_0x4999ba,_0x2a6788),this['_cursors']=new Set(_0x4999ba);}['_removeCollabCursors'](){const _0x206721=_0x1d54d9;var _0x416b5c;(_0x416b5c=this['_cursors'])==null||_0x416b5c[_0x206721(0x1d1)](_0x2779c0=>_0x2779c0[_0x206721(0x14a)]());}[_0x1d54d9(0x2cb)](){const _0x16b8e0=_0x1d54d9;return _0x2c6e67[_0x16b8e0(0x3b9)](this[_0x16b8e0(0x27f)][_0x16b8e0(0x3fd)],this['_context']);}};_0x47ed4b=_0x5c7e38([_0x4a99ce(0x1,_0x41608e['Inject'](_0x2c6e67[_0x1d54d9(0x266)])),_0x4a99ce(0x2,_0x41608e[_0x1d54d9(0x227)](_0x13f4ff)),_0x4a99ce(0x3,_0x41608e['Inject'](_0x41608e[_0x1d54d9(0x307)]))],_0x47ed4b);function _0x1027bf(_0x500928){const _0x5ac432=_0x1d54d9,_0x2fdecd=new Map();return _0x500928[_0x5ac432(0x1d1)](_0x853b08=>{const _0x5427eb=_0x5ac432;if(_0x2fdecd[_0x5427eb(0x41f)](_0x853b08[_0x5427eb(0x253)])){const _0x10115f=_0x2fdecd[_0x5427eb(0x38e)](_0x853b08[_0x5427eb(0x253)]);_0x10115f['name']+=',\x20'+_0x853b08['name'];}else _0x2fdecd[_0x5427eb(0x3b7)](_0x853b08[_0x5427eb(0x253)],_0x853b08);}),Array['from'](_0x2fdecd[_0x5ac432(0x1b0)]());}var _0x382645=Object[_0x1d54d9(0x369)],_0x4dbda8=(_0x1f2514,_0x31be1a,_0x4d9f50,_0xbdd402)=>{const _0x80229a=_0x1d54d9;for(var _0x35561c=_0xbdd402>0x1?void 0x0:_0xbdd402?_0x382645(_0x31be1a,_0x4d9f50):_0x31be1a,_0x40ea78=_0x1f2514[_0x80229a(0x15d)]-0x1,_0x19e196;_0x40ea78>=0x0;_0x40ea78--)(_0x19e196=_0x1f2514[_0x40ea78])&&(_0x35561c=_0x19e196(_0x35561c)||_0x35561c);return _0x35561c;},_0x965df3=(_0x5b4b55,_0x24a726)=>(_0x36aa38,_0x13bc07)=>_0x24a726(_0x36aa38,_0x13bc07,_0x5b4b55);let _0x1270f3=class extends _0x41608e[_0x1d54d9(0x38a)]{constructor(_0x1c0cef,_0x3341bd,_0x3e928b,_0x294178,_0x543f30,_0x745b9d){const _0x6dddea=_0x1d54d9;super(),this[_0x6dddea(0x2ca)]=_0x1c0cef,this[_0x6dddea(0x14e)]=_0x3341bd,this[_0x6dddea(0x191)]=_0x3e928b,this['_messageService']=_0x294178,this[_0x6dddea(0x2f4)]=_0x543f30,this[_0x6dddea(0x390)]=_0x745b9d,this[_0x6dddea(0x3d9)](),this['_initEvent']();}[_0x1d54d9(0x3d9)](){const _0x46dd4a=_0x1d54d9;this[_0x46dd4a(0x416)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x27a6cf=_0x46dd4a;if(this[_0x27a6cf(0x14e)][_0x27a6cf(0x3c8)][_0x27a6cf(0x38b)])return this[_0x27a6cf(0x390)]['t'](_0x27a6cf(0x2ea));}));}[_0x1d54d9(0x283)](){const _0x458ca1=_0x1d54d9;this[_0x458ca1(0x416)](this[_0x458ca1(0x191)][_0x458ca1(0x25d)][_0x458ca1(0x431)](_0x4a3f74=>{const _0x31073a=_0x458ca1;_0x4a3f74['id']===_0x41402f['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this['_messageService']['show']({'type':_0x3ec05e[_0x31073a(0x292)]['Warning'],'content':this[_0x31073a(0x390)]['t']('collaboration.single-unit.warning')}),_0x4a3f74['id']===_0x41402f[_0x31073a(0x34d)][_0x31073a(0x361)]&&this[_0x31073a(0x14f)][_0x31073a(0x181)]({'type':_0x3ec05e[_0x31073a(0x292)][_0x31073a(0x2b0)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x4a3f74['id']===_0x41402f[_0x31073a(0x34d)]['PERMISSION_DENIED']&&this[_0x31073a(0x2f4)][_0x31073a(0x181)]({'title':this['_localeService']['t'](_0x31073a(0x17b)),'content':this['_localeService']['t'](_0x31073a(0x387)),'type':_0x31073a(0x22c),'duration':0x0}),_0x4a3f74['id']===_0x41402f[_0x31073a(0x34d)][_0x31073a(0x1e9)]&&this['_messageService'][_0x31073a(0x181)]({'type':_0x3ec05e[_0x31073a(0x292)][_0x31073a(0x204)],'content':this[_0x31073a(0x390)]['t']('collaboration.closeRoom')+'('+_0x4a3f74[_0x31073a(0x2d1)]+')'}),_0x4a3f74['id']===_0x41402f[_0x31073a(0x34d)][_0x31073a(0x2bb)]&&this[_0x31073a(0x14f)][_0x31073a(0x181)]({'type':_0x3ec05e[_0x31073a(0x292)][_0x31073a(0x2b0)],'content':this['_localeService']['t'](_0x4a3f74[_0x31073a(0x2d1)]||'')}),_0x4a3f74['id']===_0x41402f[_0x31073a(0x34d)][_0x31073a(0x289)]&&this['_messageService'][_0x31073a(0x181)]({'type':_0x3ec05e['MessageType'][_0x31073a(0x2b0)],'content':this[_0x31073a(0x390)]['t'](_0x31073a(0x249))}),_0x4a3f74['id']===_0x41402f[_0x31073a(0x34d)][_0x31073a(0x36b)]&&this['_messageService'][_0x31073a(0x181)]({'type':_0x3ec05e[_0x31073a(0x292)][_0x31073a(0x204)],'content':this['_localeService']['t'](_0x31073a(0x199))}),_0x4a3f74['id']===_0x41402f[_0x31073a(0x34d)][_0x31073a(0x1af)]&&this[_0x31073a(0x14f)][_0x31073a(0x181)]({'type':_0x3ec05e[_0x31073a(0x292)]['Error'],'content':this['_localeService']['t'](_0x31073a(0x1fc))});}));}};_0x1270f3=_0x4dbda8([_0x965df3(0x0,_0x6166b9[_0x1d54d9(0x31e)]),_0x965df3(0x1,_0x41402f[_0x1d54d9(0x33c)]),_0x965df3(0x2,_0x41608e[_0x1d54d9(0x227)](_0x41402f[_0x1d54d9(0x367)])),_0x965df3(0x3,_0x6166b9['IMessageService']),_0x965df3(0x4,_0x6166b9[_0x1d54d9(0x436)]),_0x965df3(0x5,_0x41608e[_0x1d54d9(0x227)](_0x41608e[_0x1d54d9(0x377)]))],_0x1270f3);var _0x19338=Object[_0x1d54d9(0x369)],_0x220882=(_0x5d4062,_0x298b76,_0x90a99d,_0x532a3c)=>{const _0x3fcc63=_0x1d54d9;for(var _0x4807f4=_0x532a3c>0x1?void 0x0:_0x532a3c?_0x19338(_0x298b76,_0x90a99d):_0x298b76,_0x8465b0=_0x5d4062[_0x3fcc63(0x15d)]-0x1,_0x24aba9;_0x8465b0>=0x0;_0x8465b0--)(_0x24aba9=_0x5d4062[_0x8465b0])&&(_0x4807f4=_0x24aba9(_0x4807f4)||_0x4807f4);return _0x4807f4;},_0x2f7da3=(_0x3bf716,_0xe65617)=>(_0x23acd9,_0x24b5fe)=>_0xe65617(_0x23acd9,_0x24b5fe,_0x3bf716);let _0x3ffdc4=class extends _0x41608e['Disposable']{constructor(_0x5523a3,_0x1b554f,_0x3af100,_0x375465){const _0x164a10=_0x1d54d9;super(),_0x2af801(this,_0x164a10(0x1d6)),(this[_0x164a10(0x3e0)]=_0x5523a3,this['_httpService']=_0x1b554f,this[_0x164a10(0x29d)]=_0x3af100,this['_collaborationSessionService']=_0x375465,this[_0x164a10(0x37b)]());}[_0x1d54d9(0x37b)](){const _0x323a8c=_0x1d54d9;this[_0x323a8c(0x1b6)](),this[_0x323a8c(0x395)](),this['_monkeyPatchLogService'](),this[_0x323a8c(0x2ac)]();}[_0x1d54d9(0x2ac)](){const _0x237711=_0x1d54d9;this[_0x237711(0x416)](this[_0x237711(0x38c)]['socket$'][_0x237711(0x431)](_0x53680b=>{this['_memberID']=_0x53680b==null?void 0x0:_0x53680b['memberID'];}));}[_0x1d54d9(0x1b6)](){const _0x1bb738=_0x1d54d9,_0x4c9a67=_0x1c6abf=>{const _0x250500=_0x9ceb;var _0x227990;this[_0x250500(0x418)]('error',_0x250500(0x3bc)+_0x1c6abf['message']+_0x250500(0x30e)+_0x1c6abf[_0x250500(0x244)]+':'+_0x1c6abf[_0x250500(0x1d4)]+':'+_0x1c6abf[_0x250500(0x20b)]+'\x0a'+(((_0x227990=_0x1c6abf[_0x250500(0x22c)])==null?void 0x0:_0x227990[_0x250500(0x19e)])||''));};window[_0x1bb738(0x3e9)]('error',_0x4c9a67),this[_0x1bb738(0x416)](()=>{const _0x389669=_0x1bb738;window[_0x389669(0x1e7)](_0x389669(0x22c),_0x4c9a67);});}[_0x1d54d9(0x395)](){const _0xd6b7db=_0x1d54d9,_0x459f83=_0x4e0298=>{const _0x2831e8=_0x9ceb;this[_0x2831e8(0x418)](_0x2831e8(0x22c),_0x2831e8(0x413)+_0x4e0298['reason']);};window[_0xd6b7db(0x3e9)]('unhandledrejection',_0x459f83),this[_0xd6b7db(0x416)](()=>{const _0x50560b=_0xd6b7db;window[_0x50560b(0x1e7)](_0x50560b(0x392),_0x459f83);});}['_monkeyPatchLogService'](){const _0x387b73=_0x1d54d9,_0x3d958e=this[_0x387b73(0x29d)][_0x387b73(0x22c)][_0x387b73(0x23b)](this['_logService']);this['_logService'][_0x387b73(0x22c)]=(..._0x5d5fff)=>{const _0x465ba0=_0x387b73,_0x2046ef=_0x5d5fff[_0x465ba0(0x41a)](_0x1e0641=>_0x1e0641 instanceof Error?_0x1e0641[_0x465ba0(0x34a)]+'\x0a'+_0x1e0641[_0x465ba0(0x19e)]:String(_0x1e0641))[_0x465ba0(0x2fe)]('\x20');this[_0x465ba0(0x418)]('error',_0x465ba0(0x174)+_0x2046ef),_0x3d958e(..._0x5d5fff);},this[_0x387b73(0x416)](()=>{const _0x51300a=_0x387b73;this['_logService'][_0x51300a(0x22c)]=_0x3d958e;});}[_0x1d54d9(0x418)](_0x156c54,_0x5886a3){const _0x5c3b49=_0x1d54d9;try{const _0x547956={'userId':this[_0x5c3b49(0x1d6)],'logLabel':_0x156c54,'content':_0x5886a3};this[_0x5c3b49(0x1f2)]['post']('/universer-api/frontend/logs',{'body':_0x547956})[_0x5c3b49(0x252)](()=>{});}catch{}}};_0x3ffdc4=_0x220882([_0x2f7da3(0x0,_0x41608e[_0x1d54d9(0x227)](_0x41608e[_0x1d54d9(0x426)])),_0x2f7da3(0x1,_0x41608e[_0x1d54d9(0x227)](_0x12ee65[_0x1d54d9(0x2f8)])),_0x2f7da3(0x2,_0x41608e['ILogService']),_0x2f7da3(0x3,_0x41608e[_0x1d54d9(0x227)](_0x41402f[_0x1d54d9(0x27b)]))],_0x3ffdc4);const _0x247127=_0x1d54d9(0x42f),_0x4e5c93={};var _0x6889af=Object[_0x1d54d9(0x369)],_0x29f015=(_0x5ad0b4,_0xb4b19a,_0x305fd7,_0x4608be)=>{const _0x437482=_0x1d54d9;for(var _0x4f791c=_0x4608be>0x1?void 0x0:_0x4608be?_0x6889af(_0xb4b19a,_0x305fd7):_0xb4b19a,_0x3e4ecb=_0x5ad0b4[_0x437482(0x15d)]-0x1,_0xd1a753;_0x3e4ecb>=0x0;_0x3e4ecb--)(_0xd1a753=_0x5ad0b4[_0x3e4ecb])&&(_0x4f791c=_0xd1a753(_0x4f791c)||_0x4f791c);return _0x4f791c;},_0x267fa4=(_0x12defd,_0x446118)=>(_0x2946b6,_0x133fe8)=>_0x446118(_0x2946b6,_0x133fe8,_0x12defd);let _0x385043=class{constructor(_0x2b27c6,_0x15803d){const _0x300dd8=_0x1d54d9;this[_0x300dd8(0x3f1)]=_0x2b27c6,this['_renderManagerService']=_0x15803d;}[_0x1d54d9(0x228)](_0x48f3ba){const _0x336bcc=_0x1d54d9;this[_0x336bcc(0x29e)](_0x48f3ba),this[_0x336bcc(0x2a6)](_0x48f3ba);}[_0x1d54d9(0x153)](_0x4d20bb){const _0x28fff6=_0x1d54d9,{unitID:_0x3cd62c}=_0x4d20bb,_0x237d31=this[_0x28fff6(0x434)][_0x28fff6(0x317)](_0x3cd62c)[_0x28fff6(0x3e7)](_0x32e209[_0x28fff6(0x359)]),{redoCache:_0x4a2f11}=_0x237d31['getUndoRedoMutationParamsCache']();if(_0x4a2f11[_0x28fff6(0x15d)]===0x0)return _0x4d20bb;let _0x16b424=_0x41608e[_0x28fff6(0x2f6)][_0x28fff6(0x1f5)](_0x4d20bb[_0x28fff6(0x15b)][0x0]);for(let _0x2a1e6d=0x0;_0x2a1e6d<_0x4a2f11[_0x28fff6(0x15d)];_0x2a1e6d++){const _0x98adb4={'id':_0x28fff6(0x167),'params':{..._0x4a2f11[_0x2a1e6d]}},_0x23c0eb=this[_0x28fff6(0x3f1)][_0x28fff6(0x40a)](_0x16b424,_0x98adb4,!0x1);if(_0x44a289[_0x28fff6(0x285)](_0x23c0eb))throw _0x23c0eb['error'];_0x16b424=_0x23c0eb['m1Prime'];}return{..._0x41608e[_0x28fff6(0x2f6)][_0x28fff6(0x1f5)](_0x4d20bb),'mutations':[_0x16b424]};}[_0x1d54d9(0x29e)](_0x52501b){const _0x4208f8=_0x1d54d9,{unitID:_0x379335}=_0x52501b,_0x4f2d4f=this[_0x4208f8(0x434)][_0x4208f8(0x317)](_0x379335)[_0x4208f8(0x3e7)](_0x32e209[_0x4208f8(0x359)]),{undoCache:_0x538ef7,redoCache:_0x16eaca}=_0x4f2d4f[_0x4208f8(0x2c1)]();if(_0x538ef7['length']===0x0||_0x16eaca['length']===0x0)return;const _0x251637=[],_0x30fd82=[];let _0x27b2e3=_0x41608e[_0x4208f8(0x2f6)][_0x4208f8(0x1f5)](_0x52501b[_0x4208f8(0x15b)][0x0]),_0x879f97=_0x41608e[_0x4208f8(0x2f6)][_0x4208f8(0x1f5)](_0x52501b[_0x4208f8(0x15b)][0x0]);for(let _0x285d31=_0x538ef7[_0x4208f8(0x15d)]-0x1;_0x285d31>=0x0;_0x285d31--){const _0x313769={'id':_0x4208f8(0x167),'params':{..._0x538ef7[_0x285d31]}},_0x59ff07={'id':_0x4208f8(0x167),'params':{..._0x16eaca[_0x285d31]}},_0x4af416=this[_0x4208f8(0x3f1)][_0x4208f8(0x40a)](_0x27b2e3,_0x313769,!0x1),_0x20cc37=this[_0x4208f8(0x3f1)][_0x4208f8(0x40a)](_0x879f97,_0x59ff07,!0x1);if(_0x44a289[_0x4208f8(0x285)](_0x4af416))throw _0x4af416[_0x4208f8(0x22c)];if(_0x44a289['isTransformMutationFailure'](_0x20cc37))throw _0x20cc37[_0x4208f8(0x22c)];_0x251637[_0x4208f8(0x279)](_0x4af416[_0x4208f8(0x1b7)][_0x4208f8(0x373)]),_0x30fd82[_0x4208f8(0x279)](_0x20cc37[_0x4208f8(0x1b7)][_0x4208f8(0x373)]),_0x27b2e3=_0x4af416[_0x4208f8(0x348)],_0x879f97=_0x20cc37[_0x4208f8(0x348)];}_0x4f2d4f[_0x4208f8(0x306)]({'undoCache':_0x251637,'redoCache':_0x30fd82});}[_0x1d54d9(0x2a6)](_0x248e9c){const _0x382c83=_0x1d54d9,{unitID:_0x40ad23}=_0x248e9c,_0xbcce04=this[_0x382c83(0x434)][_0x382c83(0x317)](_0x40ad23)['with'](_0x32e209[_0x382c83(0x359)]),_0x1a6898=_0xbcce04[_0x382c83(0x399)]();if(_0x1a6898==null)return;const _0x5a578e=[{'id':_0x382c83(0x167),'params':{'unitId':_0x248e9c[_0x382c83(0x187)],'actions':null,'textRanges':[_0x1a6898]}}],_0x56aa24=this[_0x382c83(0x3f1)][_0x382c83(0x380)](_0x248e9c,_0x5a578e);if(!_0x44a289['isTransformMutationsWithChangesetSuccess'](_0x56aa24))throw _0x56aa24[_0x382c83(0x22c)];const _0x5d4251=_0x56aa24[_0x382c83(0x1b7)][0x0][_0x382c83(0x373)][_0x382c83(0x2ad)];Array[_0x382c83(0x3a0)](_0x5d4251)&&_0x5d4251['length']&&_0xbcce04[_0x382c83(0x1a7)](_0x5d4251[0x0]);}};_0x385043=_0x29f015([_0x267fa4(0x0,_0x44a289[_0x1d54d9(0x35d)]),_0x267fa4(0x1,_0x59ca38[_0x1d54d9(0x23f)])],_0x385043);var _0x56a642=Object['getOwnPropertyDescriptor'],_0x255716=(_0x1f5e7e,_0x4a75f9,_0x283e20,_0x31e4c9)=>{const _0x3b0fd5=_0x1d54d9;for(var _0x539eca=_0x31e4c9>0x1?void 0x0:_0x31e4c9?_0x56a642(_0x4a75f9,_0x283e20):_0x4a75f9,_0x4c3607=_0x1f5e7e[_0x3b0fd5(0x15d)]-0x1,_0x546927;_0x4c3607>=0x0;_0x4c3607--)(_0x546927=_0x1f5e7e[_0x4c3607])&&(_0x539eca=_0x546927(_0x539eca)||_0x539eca);return _0x539eca;},_0x3d9e07=(_0x1de59e,_0x440dc2)=>(_0x1afcea,_0x1e2543)=>_0x440dc2(_0x1afcea,_0x1e2543,_0x1de59e);let _0x5877a5=class{constructor(_0x3ca3f9,_0x1ccfe,_0x464d79){const _0x54b7d3=_0x1d54d9;this[_0x54b7d3(0x3e0)]=_0x3ca3f9,this[_0x54b7d3(0x3f1)]=_0x1ccfe,this[_0x54b7d3(0x2cc)]=_0x464d79;}[_0x1d54d9(0x303)](_0x52954c){const _0x373073=_0x1d54d9;this[_0x373073(0x3f4)](_0x52954c);}[_0x1d54d9(0x153)](_0x14d427){const _0x16f782=_0x1d54d9,{unitID:_0x32bacb}=_0x14d427,{collaboration:_0x96984a}=this[_0x16f782(0x2cc)]['getStateCache'](_0x32bacb);if(_0x96984a['length']===0x0)return _0x14d427;let _0x4412f9=_0x41608e[_0x16f782(0x2f6)][_0x16f782(0x1f5)](_0x14d427[_0x16f782(0x15b)][0x0]);for(let _0x1c609b=0x0;_0x1c609b<_0x96984a[_0x16f782(0x15d)];_0x1c609b++){const _0x3a4556={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x96984a[_0x1c609b][_0x16f782(0x216)],..._0x96984a[_0x1c609b][_0x16f782(0x42e)]}},_0x4ead98=this[_0x16f782(0x3f1)][_0x16f782(0x40a)](_0x4412f9,_0x3a4556,!0x1);if(_0x44a289[_0x16f782(0x285)](_0x4ead98))throw _0x4ead98['error'];_0x4412f9=_0x4ead98[_0x16f782(0x348)];}return{..._0x41608e[_0x16f782(0x2f6)][_0x16f782(0x1f5)](_0x14d427),'mutations':[_0x4412f9]};}[_0x1d54d9(0x3f4)](_0x3138fe){const _0x1ca257=_0x1d54d9,{unitID:_0x1eaed5}=_0x3138fe,{history:_0x3ab407,collaboration:_0x28eb01}=this[_0x1ca257(0x2cc)]['getStateCache'](_0x1eaed5);if(_0x3ab407[_0x1ca257(0x15d)]===0x0&&_0x28eb01[_0x1ca257(0x15d)]===0x0)return;const _0x39b18f=[],_0x2fff5=[];let _0x45687c=_0x41608e['Tools'][_0x1ca257(0x1f5)](_0x3138fe[_0x1ca257(0x15b)][0x0]),_0x3ddf1c=_0x41608e[_0x1ca257(0x2f6)][_0x1ca257(0x1f5)](_0x3138fe['mutations'][0x0]);for(let _0x319acc=_0x3ab407[_0x1ca257(0x15d)]-0x1;_0x319acc>=0x0;_0x319acc--){const _0x2c0e8e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3ab407[_0x319acc]['unitId'],..._0x3ab407[_0x319acc][_0x1ca257(0x270)]}},_0x26cef4={'id':_0x1ca257(0x167),'params':{'unitId':_0x3ab407[_0x319acc][_0x1ca257(0x216)],..._0x3ab407[_0x319acc][_0x1ca257(0x42e)]}},_0x5c6378=this[_0x1ca257(0x3f1)][_0x1ca257(0x40a)](_0x45687c,_0x2c0e8e,!0x1),_0x1f60f5=this['_transformService'][_0x1ca257(0x40a)](_0x3ddf1c,_0x26cef4,!0x1);if(_0x44a289['isTransformMutationFailure'](_0x5c6378))throw _0x5c6378[_0x1ca257(0x22c)];if(_0x44a289[_0x1ca257(0x285)](_0x1f60f5))throw _0x1f60f5[_0x1ca257(0x22c)];_0x39b18f[_0x1ca257(0x279)]({..._0x3ab407[_0x319acc],'undoState':_0x5c6378[_0x1ca257(0x1b7)][_0x1ca257(0x373)],'redoState':_0x1f60f5['m2Prime'][_0x1ca257(0x373)]}),_0x45687c=_0x5c6378[_0x1ca257(0x348)],_0x3ddf1c=_0x1f60f5[_0x1ca257(0x348)];}_0x45687c=_0x41608e[_0x1ca257(0x2f6)][_0x1ca257(0x1f5)](_0x3138fe[_0x1ca257(0x15b)][0x0]),_0x3ddf1c=_0x41608e[_0x1ca257(0x2f6)][_0x1ca257(0x1f5)](_0x3138fe[_0x1ca257(0x15b)][0x0]);for(let _0x4e9810=_0x28eb01[_0x1ca257(0x15d)]-0x1;_0x4e9810>=0x0;_0x4e9810--){const _0x57b223={'id':_0x1ca257(0x167),'params':{'unitId':_0x28eb01[_0x4e9810]['unitId'],..._0x28eb01[_0x4e9810][_0x1ca257(0x270)]}},_0x4b0975={'id':_0x1ca257(0x167),'params':{'unitId':_0x28eb01[_0x4e9810][_0x1ca257(0x216)],..._0x28eb01[_0x4e9810][_0x1ca257(0x42e)]}},_0x2254d6=this[_0x1ca257(0x3f1)]['transformMutation'](_0x45687c,_0x57b223,!0x1),_0x4f702e=this[_0x1ca257(0x3f1)]['transformMutation'](_0x3ddf1c,_0x4b0975,!0x1);if(_0x44a289[_0x1ca257(0x285)](_0x2254d6))throw _0x2254d6[_0x1ca257(0x22c)];if(_0x44a289[_0x1ca257(0x285)](_0x4f702e))throw _0x4f702e[_0x1ca257(0x22c)];_0x2fff5[_0x1ca257(0x279)]({..._0x28eb01[_0x4e9810],'undoState':_0x2254d6['m2Prime']['params'],'redoState':_0x4f702e[_0x1ca257(0x1b7)][_0x1ca257(0x373)]}),_0x45687c=_0x2254d6[_0x1ca257(0x348)],_0x3ddf1c=_0x4f702e[_0x1ca257(0x348)];}this['_docStateChangeManagerService'][_0x1ca257(0x422)](_0x1eaed5,{'history':_0x39b18f,'collaboration':_0x2fff5});}};_0x5877a5=_0x255716([_0x3d9e07(0x0,_0x41608e['Inject'](_0x41608e[_0x1d54d9(0x426)])),_0x3d9e07(0x1,_0x44a289[_0x1d54d9(0x35d)]),_0x3d9e07(0x2,_0x41608e[_0x1d54d9(0x227)](_0x32e209['DocStateChangeManagerService']))],_0x5877a5);var _0x2c09a8=Object['getOwnPropertyDescriptor'],_0x9de1f3=(_0x4e6f67,_0x9189e3,_0x18c238,_0x252783)=>{const _0x4c826e=_0x1d54d9;for(var _0xf4bf58=_0x252783>0x1?void 0x0:_0x252783?_0x2c09a8(_0x9189e3,_0x18c238):_0x9189e3,_0x581f9f=_0x4e6f67[_0x4c826e(0x15d)]-0x1,_0x7e8e74;_0x581f9f>=0x0;_0x581f9f--)(_0x7e8e74=_0x4e6f67[_0x581f9f])&&(_0xf4bf58=_0x7e8e74(_0xf4bf58)||_0xf4bf58);return _0xf4bf58;},_0x256adc=(_0x37b9a9,_0x563a6a)=>(_0x35dd95,_0x514a68)=>_0x563a6a(_0x35dd95,_0x514a68,_0x37b9a9);let _0x1adf40=class{constructor(_0x2779dc,_0x42c6b7){const _0x3f0bbe=_0x1d54d9;this[_0x3f0bbe(0x3e0)]=_0x2779dc,this[_0x3f0bbe(0x3f1)]=_0x42c6b7;}[_0x1d54d9(0x16b)](_0x2bf127){const _0x67d513=_0x1d54d9;var _0x1a1f2f;const _0x278a6b=this[_0x67d513(0x3e0)][_0x67d513(0x38e)](_0x39889c['DocSelectionManagerService']),_0x4db5da=(_0x1a1f2f=_0x278a6b[_0x67d513(0x3b0)]())!=null?_0x1a1f2f:[];if(_0x4db5da[_0x67d513(0x15d)]===0x0)return;const _0x5fdd4e=_0x2bf127[_0x67d513(0x187)],_0x2a0f1c=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5fdd4e,'actions':null,'textRanges':_0x4db5da}}],_0x23a9ea=this[_0x67d513(0x3f1)][_0x67d513(0x380)](_0x2bf127,_0x2a0f1c);if(!_0x44a289['isTransformMutationsWithChangesetSuccess'](_0x23a9ea))throw _0x23a9ea[_0x67d513(0x22c)];const _0x1cbf2b=_0x23a9ea[_0x67d513(0x1b7)][0x0][_0x67d513(0x373)][_0x67d513(0x2ad)];Array[_0x67d513(0x3a0)](_0x1cbf2b)&&_0x1cbf2b[_0x67d513(0x15d)]&&_0x278a6b[_0x67d513(0x3ef)](_0x1cbf2b,{'unitId':_0x5fdd4e,'subUnitId':_0x5fdd4e},!0x1);}};_0x1adf40=_0x9de1f3([_0x256adc(0x0,_0x41608e[_0x1d54d9(0x227)](_0x41608e[_0x1d54d9(0x426)])),_0x256adc(0x1,_0x44a289[_0x1d54d9(0x35d)])],_0x1adf40);var _0x16c0bb=Object[_0x1d54d9(0x369)],_0x18f285=(_0xd5201f,_0x1c1ce4,_0xbf8a80,_0x455d02)=>{const _0x577999=_0x1d54d9;for(var _0x3dff22=_0x455d02>0x1?void 0x0:_0x455d02?_0x16c0bb(_0x1c1ce4,_0xbf8a80):_0x1c1ce4,_0x52f84c=_0xd5201f[_0x577999(0x15d)]-0x1,_0x1a0b47;_0x52f84c>=0x0;_0x52f84c--)(_0x1a0b47=_0xd5201f[_0x52f84c])&&(_0x3dff22=_0x1a0b47(_0x3dff22)||_0x3dff22);return _0x3dff22;},_0x4d66a9=(_0xe70a1a,_0x4dc3ee)=>(_0x458953,_0x448d28)=>_0x4dc3ee(_0x458953,_0x448d28,_0xe70a1a);let _0x5234a9=class extends _0x41608e[_0x1d54d9(0x38a)]{constructor(_0x54ecfc,_0x3454e2,_0xdf999d,_0x14af4b,_0x4e99ed,_0x2a31b5,_0x13561a,_0x1182a9){const _0x23653a=_0x1d54d9;super(),_0x2af801(this,_0x23653a(0x412),new _0x163839[(_0x23653a(0x1c5))](_0x41402f['CollaborationStatus'][_0x23653a(0x267)])),(this[_0x23653a(0x2cc)]=_0x54ecfc,this[_0x23653a(0x209)]=_0x3454e2,this[_0x23653a(0x38d)]=_0xdf999d,this[_0x23653a(0x3ad)]=_0x14af4b,this['_docTransformSelectionsService']=_0x4e99ed,this[_0x23653a(0x302)]=_0x2a31b5,this[_0x23653a(0x14f)]=_0x13561a,this[_0x23653a(0x390)]=_0x1182a9,this[_0x23653a(0x18a)]());}[_0x1d54d9(0x18a)](){const _0x36642e=_0x1d54d9;this['disposeWithMe'](this[_0x36642e(0x209)][_0x36642e(0x1a4)][_0x36642e(0x431)](_0x28ed20=>{const _0x3877a3=_0x36642e,_0x266093=this[_0x3877a3(0x2cc)][_0x3877a3(0x321)][_0x3877a3(0x431)](_0x384177=>{const _0x26848d=_0x3877a3;if(_0x384177==null)return;const {unitId:_0x69220d,redoState:_0x205521,commandId:_0x55ab1d}=_0x384177;if(_0x69220d!==_0x28ed20[_0x26848d(0x187)])return;const _0x538d66={'id':_0x55ab1d,'type':_0x41608e[_0x26848d(0x26e)][_0x26848d(0x150)],'params':{'unitId':_0x69220d,'actions':_0x205521[_0x26848d(0x284)],'textRanges':null}};_0x28ed20[_0x26848d(0x1c6)](_0x538d66);});if(_0x28ed20[_0x3877a3(0x416)](_0x266093),_0x28ed20 instanceof _0x41402f[_0x3877a3(0x3c5)]){const _0x2cdf4e={'onTransformIME':_0x30bcd7=>this[_0x3877a3(0x38d)][_0x3877a3(0x228)](_0x30bcd7),'onTransformState':_0x26ac54=>this[_0x3877a3(0x3ad)][_0x3877a3(0x303)](_0x26ac54),'onTransformSelections':_0x4335da=>this[_0x3877a3(0x20e)]['transformSelections'](_0x4335da),'onSyncEditingCollabCursor':_0x23ee19=>this[_0x3877a3(0x302)][_0x3877a3(0x3ed)](_0x23ee19),'onTransformRemoteChangesetByIMECache':_0x47117f=>this[_0x3877a3(0x38d)]['transformRemoteChangeset'](_0x47117f),'onTransformRemoteChangesetByStateCache':_0x5ed7b1=>this[_0x3877a3(0x3ad)]['transformRemoteChangeset'](_0x5ed7b1)};_0x28ed20['addHandlerCallback'](_0x2cdf4e);}}));}};_0x5234a9=_0x18f285([_0x4d66a9(0x0,_0x41608e['Inject'](_0x32e209['DocStateChangeManagerService'])),_0x4d66a9(0x1,_0x41608e[_0x1d54d9(0x227)](_0x41402f[_0x1d54d9(0x404)])),_0x4d66a9(0x2,_0x41608e[_0x1d54d9(0x227)](_0x385043)),_0x4d66a9(0x3,_0x41608e[_0x1d54d9(0x227)](_0x5877a5)),_0x4d66a9(0x4,_0x41608e[_0x1d54d9(0x227)](_0x1adf40)),_0x4d66a9(0x5,_0x41608e[_0x1d54d9(0x227)](_0x1b17e2)),_0x4d66a9(0x6,_0x6166b9[_0x1d54d9(0x2f7)]),_0x4d66a9(0x7,_0x41608e['Inject'](_0x41608e['LocaleService']))],_0x5234a9);var _0xd9f64c=(_0x2818b4=>(_0x2818b4[_0x2818b4[_0x1d54d9(0x161)]=0x0]='UNDEFINED',_0x2818b4[_0x2818b4['OK']=0x1]='OK',_0x2818b4[_0x2818b4[_0x1d54d9(0x1a5)]=0x2]=_0x1d54d9(0x1a5),_0x2818b4[_0x2818b4['PERMISSION_DENIED']=0x3]=_0x1d54d9(0x293),_0x2818b4[_0x2818b4[_0x1d54d9(0x3fb)]=0x4]=_0x1d54d9(0x3fb),_0x2818b4[_0x2818b4[_0x1d54d9(0x16f)]=0x5]=_0x1d54d9(0x16f),_0x2818b4[_0x2818b4[_0x1d54d9(0x2ab)]=0x6]=_0x1d54d9(0x2ab),_0x2818b4[_0x2818b4['INVALID_ARGUMENT']=0x7]=_0x1d54d9(0x192),_0x2818b4[_0x2818b4['TOO_MANY_REQUESTS']=0x8]=_0x1d54d9(0x40c),_0x2818b4[_0x2818b4['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x2818b4[_0x2818b4[_0x1d54d9(0x33f)]=0xa]=_0x1d54d9(0x33f),_0x2818b4[_0x2818b4[_0x1d54d9(0x3a2)]=0xb]=_0x1d54d9(0x3a2),_0x2818b4[_0x2818b4[_0x1d54d9(0x421)]=0xc]=_0x1d54d9(0x421),_0x2818b4[_0x2818b4[_0x1d54d9(0x18f)]=0xd]=_0x1d54d9(0x18f),_0x2818b4[_0x2818b4[_0x1d54d9(0x2d0)]=0xe]=_0x1d54d9(0x2d0),_0x2818b4[_0x2818b4[_0x1d54d9(0x3f5)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x2818b4[_0x2818b4['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x1d54d9(0x1ec),_0x2818b4[_0x2818b4[_0x1d54d9(0x2d2)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x2818b4[_0x2818b4[_0x1d54d9(0x1bd)]=0x65]=_0x1d54d9(0x1bd),_0x2818b4[_0x2818b4[_0x1d54d9(0x15c)]=0xc9]=_0x1d54d9(0x15c),_0x2818b4[_0x2818b4[_0x1d54d9(0x151)]=0xca]=_0x1d54d9(0x151),_0x2818b4[_0x2818b4[_0x1d54d9(0x160)]=0x1389]=_0x1d54d9(0x160),_0x2818b4[_0x2818b4['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1d54d9(0x3d3),_0x2818b4[_0x2818b4[_0x1d54d9(0x2fa)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2818b4[_0x2818b4[_0x1d54d9(0x2a4)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2818b4[_0x2818b4[_0x1d54d9(0x3f0)]=0x1b59]=_0x1d54d9(0x3f0),_0x2818b4[_0x2818b4[_0x1d54d9(0x397)]=0x1b5a]=_0x1d54d9(0x397),_0x2818b4[_0x2818b4[_0x1d54d9(0x1be)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x2818b4[_0x2818b4[_0x1d54d9(0x286)]=0x1b5c]=_0x1d54d9(0x286),_0x2818b4[_0x2818b4['APPLY_DUPLICATED']=0x1b5d]=_0x1d54d9(0x33a),_0x2818b4[_0x2818b4['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x1d54d9(0x346),_0x2818b4[_0x2818b4[_0x1d54d9(0x425)]=0x2329]=_0x1d54d9(0x425),_0x2818b4[_0x2818b4['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x1d54d9(0x3ae),_0x2818b4[_0x2818b4[_0x1d54d9(0x3b1)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x2818b4[_0x2818b4['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x1d54d9(0x3d2),_0x2818b4[_0x2818b4[_0x1d54d9(0x295)]=0x232d]=_0x1d54d9(0x295),_0x2818b4[_0x2818b4[_0x1d54d9(0x385)]=0x2711]=_0x1d54d9(0x385),_0x2818b4[_0x2818b4[_0x1d54d9(0x164)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x2818b4[_0x2818b4[_0x1d54d9(0x179)]=0x2713]=_0x1d54d9(0x179),_0x2818b4[_0x2818b4[_0x1d54d9(0x42c)]=0x2714]=_0x1d54d9(0x42c),_0x2818b4[_0x2818b4[_0x1d54d9(0x363)]=0x271a]=_0x1d54d9(0x363),_0x2818b4[_0x2818b4[_0x1d54d9(0x370)]=0x271b]=_0x1d54d9(0x370),_0x2818b4[_0x2818b4[_0x1d54d9(0x430)]=0x271c]=_0x1d54d9(0x430),_0x2818b4[_0x2818b4[_0x1d54d9(0x3d6)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x2818b4[_0x2818b4['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x1d54d9(0x238),_0x2818b4[_0x2818b4[_0x1d54d9(0x240)]=0x271f]=_0x1d54d9(0x240),_0x2818b4[_0x2818b4[_0x1d54d9(0x235)]=0x2720]=_0x1d54d9(0x235),_0x2818b4[_0x2818b4['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x1d54d9(0x281),_0x2818b4[_0x2818b4['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x1d54d9(0x1eb),_0x2818b4[_0x2818b4[_0x1d54d9(0x1ae)]=0x2ee2]=_0x1d54d9(0x1ae),_0x2818b4[_0x2818b4[_0x1d54d9(0x42b)]=0x2ee3]=_0x1d54d9(0x42b),_0x2818b4[_0x2818b4[_0x1d54d9(0x2d3)]=0x2ee4]=_0x1d54d9(0x2d3),_0x2818b4[_0x2818b4['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x1d54d9(0x156),_0x2818b4[_0x2818b4[_0x1d54d9(0x1e8)]=0x32c9]=_0x1d54d9(0x1e8),_0x2818b4[_0x2818b4[_0x1d54d9(0x311)]=0x32ca]=_0x1d54d9(0x311),_0x2818b4[_0x2818b4[_0x1d54d9(0x20d)]=0x32cb]=_0x1d54d9(0x20d),_0x2818b4[_0x2818b4[_0x1d54d9(0x40f)]=0x36b1]=_0x1d54d9(0x40f),_0x2818b4[_0x2818b4[_0x1d54d9(0x1a2)]=0x36b2]=_0x1d54d9(0x1a2),_0x2818b4[_0x2818b4['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x1d54d9(0x1c9),_0x2818b4[_0x2818b4[_0x1d54d9(0x2bf)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x2818b4[_0x2818b4[_0x1d54d9(0x22f)]=0x36b5]=_0x1d54d9(0x22f),_0x2818b4[_0x2818b4[_0x1d54d9(0x256)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x2818b4[_0x2818b4[_0x1d54d9(0x3b6)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x2818b4[_0x2818b4[_0x1d54d9(0x2f0)]=0x36b8]=_0x1d54d9(0x2f0),_0x2818b4[_0x2818b4[_0x1d54d9(0x195)]=0x3715]=_0x1d54d9(0x195),_0x2818b4[_0x2818b4[_0x1d54d9(0x3f8)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x2818b4[_0x2818b4[_0x1d54d9(0x25f)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x2818b4[_0x2818b4['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x1d54d9(0x221),_0x2818b4[_0x2818b4[_0x1d54d9(0x198)]=0x3a99]=_0x1d54d9(0x198),_0x2818b4[_0x2818b4[_0x1d54d9(0x21b)]=0x3a9a]=_0x1d54d9(0x21b),_0x2818b4[_0x2818b4[_0x1d54d9(0x278)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x2818b4[_0x2818b4[_0x1d54d9(0x14b)]=0x3a9c]=_0x1d54d9(0x14b),_0x2818b4[_0x2818b4[_0x1d54d9(0x18e)]=0x3a9d]=_0x1d54d9(0x18e),_0x2818b4[_0x2818b4['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x1d54d9(0x194),_0x2818b4[_0x2818b4[_0x1d54d9(0x200)]=0x3a9f]=_0x1d54d9(0x200),_0x2818b4[_0x2818b4[_0x1d54d9(0x3ea)]=0x3e81]=_0x1d54d9(0x3ea),_0x2818b4[_0x2818b4[_0x1d54d9(0x3c2)]=-0x1]='UNRECOGNIZED',_0x2818b4))(_0xd9f64c||{});function _0x31c493(_0x537cb5){const _0x50052b=_0x1d54d9;var _0x363b55,_0x46942c;const _0x2eba2c=(_0x363b55=_0x537cb5[_0x50052b(0x3af)])==null?void 0x0:_0x363b55['stage'],_0x1ce15b=((_0x46942c=_0x537cb5['stageInfo'])==null?void 0x0:_0x46942c['totalFormulasToCalculate'])||0x0;return _0x2eba2c===_0x150f25[_0x50052b(0x316)][_0x50052b(0x2d6)]&&_0x1ce15b>0x0;}function _0x49647d(_0x7e7b91){const _0x2f0d07=_0x1d54d9;return _0x7e7b91[_0x2f0d07(0x2d7)]===_0x150f25['FormulaExecutedStateType'][_0x2f0d07(0x3fa)];}var _0x4cd4ff=Object['getOwnPropertyDescriptor'],_0x39fc4f=(_0x106b66,_0x2a5bc8,_0x3e24b2,_0x23ff11)=>{const _0x402946=_0x1d54d9;for(var _0xb9b28c=_0x23ff11>0x1?void 0x0:_0x23ff11?_0x4cd4ff(_0x2a5bc8,_0x3e24b2):_0x2a5bc8,_0x25e535=_0x106b66[_0x402946(0x15d)]-0x1,_0x24cf77;_0x25e535>=0x0;_0x25e535--)(_0x24cf77=_0x106b66[_0x25e535])&&(_0xb9b28c=_0x24cf77(_0xb9b28c)||_0xb9b28c);return _0xb9b28c;},_0x5703e7=(_0x3b1a22,_0x55b6ed)=>(_0x282dcf,_0x31699c)=>_0x55b6ed(_0x282dcf,_0x31699c,_0x3b1a22);const _0x54269a=_0x1d54d9(0x2c5),_0x214d89=_0x1d54d9(0x21e),_0xd48869=_0x1d54d9(0x2f3);let _0x5a17a7=class extends _0x41608e['Disposable']{constructor(_0x3c5ce1,_0x56d549,_0x434267,_0xa0d82b,_0x489ae5,_0x2453e8,_0x1e7102){const _0x42d693=_0x1d54d9;super(),_0x2af801(this,_0x42d693(0x2ba),null),_0x2af801(this,_0x42d693(0x335),0x0),_0x2af801(this,'_currentUsage',0x0),_0x2af801(this,_0x42d693(0x2a2),[]),_0x2af801(this,_0x42d693(0x32e),0x0),(this[_0x42d693(0x14f)]=_0x3c5ce1,this['_commandService']=_0x56d549,this['_configService']=_0x434267,this[_0x42d693(0x1f2)]=_0xa0d82b,this[_0x42d693(0x378)]=_0x489ae5,this[_0x42d693(0x29d)]=_0x2453e8,this[_0x42d693(0x390)]=_0x1e7102,this[_0x42d693(0x25a)]());}[_0x1d54d9(0x25a)](){const _0x33dfba=_0x1d54d9;this[_0x33dfba(0x416)](this[_0x33dfba(0x186)][_0x33dfba(0x182)]((_0x6e9b64,_0x183323)=>{const _0x1dd1b2=_0x33dfba;var _0x561dfd;if(_0x6e9b64['id']!==_0x150f25[_0x1dd1b2(0x1b4)]['id'])return;const _0xe79386=_0x6e9b64[_0x1dd1b2(0x373)];if(!this[_0x1dd1b2(0x37e)]((_0x561dfd=_0xe79386['dirtyRanges'])!=null?_0x561dfd:[]))return;if(!this[_0x1dd1b2(0x42a)]())throw this['_checkAndWaitForCalculationPermission'](_0x6e9b64,_0x183323),this[_0x1dd1b2(0x19b)](),new _0x41608e['CanceledError']();})),this[_0x33dfba(0x416)](this[_0x33dfba(0x186)][_0x33dfba(0x415)]((_0xd531ef,_0x479ae0)=>{const _0x300b55=_0x33dfba;if(_0xd531ef['id']!==_0x150f25[_0x300b55(0x314)]['id'])return;const _0x48dcec=_0xd531ef[_0x300b55(0x373)];if(_0x31c493(_0x48dcec)){const _0xe9bb30=_0x41608e[_0x300b55(0x2ec)]();this[_0x300b55(0x2a2)]['push'](_0xe9bb30),this[_0x300b55(0x232)](_0xe9bb30);}else{if(_0x49647d(_0x48dcec)&&this['_taskIds'][_0x300b55(0x15d)]>0x0){const _0x39800c=this[_0x300b55(0x2a2)][_0x300b55(0x1b3)]();this[_0x300b55(0x3cd)](_0x39800c);}}}));}[_0x1d54d9(0x14a)](){const _0x187a77=_0x1d54d9;super[_0x187a77(0x14a)](),this[_0x187a77(0x1a6)](),this['_taskIds']=[],this[_0x187a77(0x1c1)]=0x0,this[_0x187a77(0x335)]=0x0,this[_0x187a77(0x32e)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x12350a,_0x3b298f){const _0x5f2b28=_0x1d54d9;for(let _0x55ce5d=0x0;_0x55ce5d<0x1e;_0x55ce5d++)try{if(await this['_getFormulaLimitStatus'](),this[_0x5f2b28(0x42a)]()){this[_0x5f2b28(0x3aa)](_0x12350a,_0x3b298f),this[_0x5f2b28(0x14f)][_0x5f2b28(0x181)]({'content':this['_localeService']['t'](_0x5f2b28(0x2ef)),'type':_0x3ec05e[_0x5f2b28(0x292)]['Success']});return;}await new Promise(_0x560a55=>{const _0x3d3d89=_0x5f2b28;this[_0x3d3d89(0x2ba)]=window[_0x3d3d89(0x2c6)](_0x560a55,0x3e8);});}catch(_0x10146f){this[_0x5f2b28(0x29d)][_0x5f2b28(0x22c)](_0x10146f);}this[_0x5f2b28(0x14f)][_0x5f2b28(0x181)]({'content':this[_0x5f2b28(0x390)]['t'](_0x5f2b28(0x1f4)),'type':_0x3ec05e[_0x5f2b28(0x292)][_0x5f2b28(0x204)]});}[_0x1d54d9(0x3aa)](_0x472ddd,_0x2216d9){const _0x4cdb58=_0x1d54d9;try{this[_0x4cdb58(0x186)][_0x4cdb58(0x39b)](_0x472ddd['id'],_0x472ddd['params'],_0x2216d9);}catch(_0x29c818){this['_logService']['error'](_0x29c818);}}[_0x1d54d9(0x32a)](_0x149538,_0x374689){const _0x504e75=_0x1d54d9;_0x374689<this[_0x504e75(0x32e)]||(this[_0x504e75(0x32e)]=_0x374689,this[_0x504e75(0x335)]=Number[_0x504e75(0x3e3)](_0x149538[_0x504e75(0x243)]),this['_currentUsage']=Number[_0x504e75(0x3e3)](_0x149538[_0x504e75(0x3c6)]));}async['_startCalculationLimit'](_0x2494e4){const _0x53d29f=_0x1d54d9;var _0x12bea3,_0x2974e1;const _0x619e8a=Date[_0x53d29f(0x215)]();try{const _0x40d8d5=((_0x12bea3=this[_0x53d29f(0x155)][_0x53d29f(0x2fd)](_0x41402f[_0x53d29f(0x3b5)]))==null?void 0x0:_0x12bea3[_0x53d29f(0x3d0)])||_0x214d89,_0x21e205=(await this['_httpService']['post'](_0x40d8d5,{'body':JSON['stringify']({'taskId':_0x2494e4})}))[_0x53d29f(0x2b8)];if(((_0x2974e1=_0x21e205[_0x53d29f(0x22c)])==null?void 0x0:_0x2974e1['code'])!==_0xd9f64c['OK'])return;this[_0x53d29f(0x32a)](_0x21e205['limitInfo'],_0x619e8a);}catch(_0xb5a876){this[_0x53d29f(0x29d)][_0x53d29f(0x22c)](_0xb5a876);}}async[_0x1d54d9(0x1c2)](_0x569a17){const _0x1543c1=_0x1d54d9;var _0x160f46,_0x33538d;const _0x2c5d02=Date[_0x1543c1(0x215)]();try{const _0x4554d9=((_0x160f46=this[_0x1543c1(0x155)][_0x1543c1(0x2fd)](_0x41402f[_0x1543c1(0x3b5)]))==null?void 0x0:_0x160f46[_0x1543c1(0x2d4)])||_0x54269a,_0x22be80=_0x569a17?_0x4554d9+'?taskId='+encodeURIComponent(_0x569a17):_0x4554d9,_0x4d4a7d=(await this['_httpService']['get'](_0x22be80))[_0x1543c1(0x2b8)];if(((_0x33538d=_0x4d4a7d['error'])==null?void 0x0:_0x33538d[_0x1543c1(0x298)])!==_0xd9f64c['OK'])return;this['_setFormulaLimitStatus'](_0x4d4a7d[_0x1543c1(0x21c)],_0x2c5d02);}catch(_0x4f9987){this['_logService'][_0x1543c1(0x22c)](_0x4f9987);}}async[_0x1d54d9(0x3cd)](_0x1978d3){const _0x415f08=_0x1d54d9;var _0x1266b1,_0x3c0dd0;const _0x3a2ad0=Date[_0x415f08(0x215)]();try{const _0x191515=((_0x1266b1=this[_0x415f08(0x155)][_0x415f08(0x2fd)](_0x41402f[_0x415f08(0x3b5)]))==null?void 0x0:_0x1266b1[_0x415f08(0x1e3)])||_0xd48869,_0x2b28a0=(await this['_httpService'][_0x415f08(0x212)](_0x191515,{'body':JSON[_0x415f08(0x356)]({'taskId':_0x1978d3})}))[_0x415f08(0x2b8)];if(((_0x3c0dd0=_0x2b28a0[_0x415f08(0x22c)])==null?void 0x0:_0x3c0dd0[_0x415f08(0x298)])!==_0xd9f64c['OK'])return;this[_0x415f08(0x32a)](_0x2b28a0['limitInfo'],_0x3a2ad0);}catch(_0x1cabf0){this[_0x415f08(0x29d)][_0x415f08(0x22c)](_0x1cabf0);}}['_checkCalculationAvailable'](){const _0x2c5092=_0x1d54d9;return this[_0x2c5092(0x335)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x2c5092(0x1c1)]>0x0;}['_clearPolling'](){const _0x53d3ea=_0x1d54d9;this[_0x53d3ea(0x2ba)]&&(clearTimeout(this[_0x53d3ea(0x2ba)]),this[_0x53d3ea(0x2ba)]=null);}[_0x1d54d9(0x19b)](){const _0x1658b7=_0x1d54d9;this[_0x1658b7(0x14f)][_0x1658b7(0x181)]({'content':this[_0x1658b7(0x390)]['t'](_0x1658b7(0x1f0)),'type':_0x3ec05e[_0x1658b7(0x292)][_0x1658b7(0x389)]});}[_0x1d54d9(0x37e)](_0x4dcd47){const _0x4f797f=_0x1d54d9;for(const _0x28a238 of _0x4dcd47){const {unitId:_0x3873e6,sheetId:_0x11f61d,range:_0x17b136}=_0x28a238,_0x425e8d=this['_univerInstanceService'][_0x4f797f(0x376)](_0x3873e6);if(!_0x425e8d)continue;const _0x4b8d05=_0x425e8d[_0x4f797f(0x28f)](_0x11f61d);if(!_0x4b8d05)continue;const _0x20b47e=_0x4b8d05[_0x4f797f(0x375)]();for(let _0x1e4b90=_0x17b136[_0x4f797f(0x2f9)];_0x1e4b90<=_0x17b136[_0x4f797f(0x1cd)];_0x1e4b90++)for(let _0x3ca167=_0x17b136['startColumn'];_0x3ca167<=_0x17b136[_0x4f797f(0x358)];_0x3ca167++){const _0x428a82=_0x20b47e[_0x4f797f(0x1e2)](_0x1e4b90,_0x3ca167);if(_0x428a82&&(_0x41608e[_0x4f797f(0x3f3)](_0x428a82['f'])||_0x41608e[_0x4f797f(0x36c)](_0x428a82['si'])))return!0x0;}}return!0x1;}};_0x5a17a7=_0x39fc4f([_0x5703e7(0x0,_0x41608e[_0x1d54d9(0x227)](_0x6166b9[_0x1d54d9(0x2f7)])),_0x5703e7(0x1,_0x41608e['ICommandService']),_0x5703e7(0x2,_0x41608e[_0x1d54d9(0x1ce)]),_0x5703e7(0x3,_0x41608e[_0x1d54d9(0x227)](_0x12ee65[_0x1d54d9(0x2f8)])),_0x5703e7(0x4,_0x41608e['IUniverInstanceService']),_0x5703e7(0x5,_0x41608e[_0x1d54d9(0x1dc)]),_0x5703e7(0x6,_0x41608e[_0x1d54d9(0x227)](_0x41608e[_0x1d54d9(0x377)]))],_0x5a17a7);var _0x2b9e96=Object[_0x1d54d9(0x369)],_0x2a9521=(_0x27692c,_0x1f83e2,_0x3fa559,_0xf511e)=>{const _0x1bfda2=_0x1d54d9;for(var _0x5496a7=_0xf511e>0x1?void 0x0:_0xf511e?_0x2b9e96(_0x1f83e2,_0x3fa559):_0x1f83e2,_0x10363e=_0x27692c[_0x1bfda2(0x15d)]-0x1,_0x14d2dd;_0x10363e>=0x0;_0x10363e--)(_0x14d2dd=_0x27692c[_0x10363e])&&(_0x5496a7=_0x14d2dd(_0x5496a7)||_0x5496a7);return _0x5496a7;},_0x303125=(_0x2294b9,_0x442305)=>(_0x41ed15,_0x59693c)=>_0x442305(_0x41ed15,_0x59693c,_0x2294b9);let _0x3d059b=class extends _0x41608e['Disposable']{constructor(_0x12427f,_0x1a7c15,_0x193c9c){const _0x98b0f9=_0x1d54d9;super(),_0x2af801(this,'_cachedData',new Map()),_0x2af801(this,_0x98b0f9(0x2a8),new Map()),_0x2af801(this,_0x98b0f9(0x171),!0x1),(this['_configService']=_0x12427f,this[_0x98b0f9(0x1d5)]=_0x1a7c15,this['_revisionService']=_0x193c9c);}[_0x1d54d9(0x230)](){this['_disabled']=!0x0;}[_0x1d54d9(0x287)](){const _0x1621eb=_0x1d54d9;this[_0x1621eb(0x171)]=!0x1;}get[_0x1d54d9(0x3c8)](){const _0x36dda9=_0x1d54d9;return this[_0x36dda9(0x2a8)];}['dispose'](){const _0x4799a9=_0x1d54d9;this[_0x4799a9(0x176)]()['then'](()=>super[_0x4799a9(0x14a)]());}async[_0x1d54d9(0x271)](_0x57a9f0){const _0x52d1e9=_0x1d54d9;return this[_0x52d1e9(0x171)]?null:this[_0x52d1e9(0x1d5)]['getItem'](_0x41402f[_0x52d1e9(0x27e)](_0x57a9f0));}async[_0x1d54d9(0x274)](_0x14b462,_0x5d9904){const _0x244b3d=_0x1d54d9;return!!this[_0x244b3d(0x1d5)][_0x244b3d(0x349)](_0x14b462,_0x5d9904);}[_0x1d54d9(0x26d)](_0x9a247b,_0x188aec,_0x2cf6e4,_0x3bea18){const _0x2a2501=_0x1d54d9,_0x390a14=this[_0x2a2501(0x213)]['getCurrentRevOfUnit'](_0x9a247b);this[_0x2a2501(0x1f9)]['set'](_0x9a247b,{'unitID':_0x9a247b,'type':_0x188aec,'awaitingChangeset':_0x2cf6e4,'mutations':_0x3bea18,'rev':_0x390a14}),this['_saveTaskMap']['has'](_0x9a247b)||this['_scheduleSaving'](_0x9a247b);}[_0x1d54d9(0x1a1)](_0x490b2a){const _0x4de346=_0x1d54d9,_0x5b0875=this[_0x4de346(0x1f3)]();_0x5b0875===0x0?this[_0x4de346(0x294)](_0x490b2a):this[_0x4de346(0x2a8)][_0x4de346(0x3b7)](_0x490b2a,setTimeout(()=>this['_saveCache'](_0x490b2a),_0x5b0875));}[_0x1d54d9(0x1f3)](){const _0x212f0d=_0x1d54d9;var _0x45138d;return(_0x45138d=this['_configService'][_0x212f0d(0x2fd)](_0x41402f[_0x212f0d(0x35a)]))!=null?_0x45138d:_0x41402f['LOCAL_CACHE_INTERVAL'];}[_0x1d54d9(0x294)](_0x132fa7){const _0x165996=_0x1d54d9,_0x21af89=this[_0x165996(0x2a8)][_0x165996(0x38e)](_0x132fa7);return _0x21af89!==void 0x0&&window[_0x165996(0x394)](_0x21af89),this[_0x165996(0x1d5)][_0x165996(0x349)](_0x41402f['getLocalCacheKey'](_0x132fa7),this['_cachedData'][_0x165996(0x38e)](_0x132fa7))['then'](()=>this[_0x165996(0x2a8)][_0x165996(0x35c)](_0x132fa7));}async[_0x1d54d9(0x176)](){const _0x3b5961=_0x1d54d9,_0x240d2d=[];this[_0x3b5961(0x2a8)][_0x3b5961(0x1d1)]((_0x2ac4ba,_0x3cc3f9)=>{window['clearTimeout'](_0x2ac4ba),_0x240d2d['push'](this['_saveCache'](_0x3cc3f9)['then'](()=>{const _0x4ece3b=_0x9ceb;this[_0x4ece3b(0x2a8)][_0x4ece3b(0x35c)](_0x3cc3f9);}));}),await Promise['all'](_0x240d2d);}};_0x3d059b=_0x2a9521([_0x303125(0x0,_0x41608e[_0x1d54d9(0x1ce)]),_0x303125(0x1,_0x41608e[_0x1d54d9(0x1b9)]),_0x303125(0x2,_0x41608e[_0x1d54d9(0x227)](_0x44a289['RevisionService']))],_0x3d059b);class _0xc24a22 extends _0x41608e['RxDisposable']{constructor(){const _0xc2e8d1=_0x1d54d9;super(),_0x2af801(this,_0xc2e8d1(0x1c3)),this[_0xc2e8d1(0x1c3)]=_0x163839[_0xc2e8d1(0x263)](window,_0xc2e8d1(0x3e4))[_0xc2e8d1(0x18b)](_0x163839[_0xc2e8d1(0x1e4)](this[_0xc2e8d1(0x1bc)]),_0x163839[_0xc2e8d1(0x170)](0x1),_0x163839[_0xc2e8d1(0x34b)](void 0x0));}[_0x1d54d9(0x21a)](_0x3472f4,_0x4dc94d,_0x1390f6=!0x1){const _0x4d0fcf=_0x1d54d9,_0x529c76=new URL(window[_0x4d0fcf(0x1fa)][_0x4d0fcf(0x22d)]);_0x529c76[_0x4d0fcf(0x30f)][_0x4d0fcf(0x3b7)](_0x3472f4,_0x4dc94d),_0x1390f6?window['history'][_0x4d0fcf(0x2a7)]('','',_0x529c76['toString']()):window[_0x4d0fcf(0x24d)]['pushState']('','',_0x529c76[_0x4d0fcf(0x2cd)]());}['removeParam'](_0x4e5589,_0x564f3e=!0x1){const _0x1d54c2=_0x1d54d9,_0x41eaed=new URL(window[_0x1d54c2(0x1fa)][_0x1d54c2(0x22d)]);_0x41eaed[_0x1d54c2(0x30f)]['delete'](_0x4e5589),_0x564f3e?window['history'][_0x1d54c2(0x2a7)]('','',_0x41eaed[_0x1d54c2(0x2cd)]()):window[_0x1d54c2(0x24d)][_0x1d54c2(0x296)]('','',_0x41eaed[_0x1d54c2(0x2cd)]());}[_0x1d54d9(0x19c)](_0x15d49b){const _0x3fd48f=_0x1d54d9;var _0x197243;return(_0x197243=new URL(window[_0x3fd48f(0x1fa)]['href'])[_0x3fd48f(0x30f)]['get'](_0x15d49b))!=null?_0x197243:void 0x0;}}var _0x510e57=Object[_0x1d54d9(0x3e8)],_0x5498d2=Object['getOwnPropertyDescriptor'],_0xe9f21d=(_0x15e5d3,_0x13a7bb,_0x240f9d)=>_0x13a7bb in _0x15e5d3?_0x510e57(_0x15e5d3,_0x13a7bb,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x240f9d}):_0x15e5d3[_0x13a7bb]=_0x240f9d,_0x42befa=(_0x3fd090,_0x57659d,_0x52c5c4,_0x4a17fa)=>{const _0x3e8f8d=_0x1d54d9;for(var _0x1004d4=_0x4a17fa>0x1?void 0x0:_0x4a17fa?_0x5498d2(_0x57659d,_0x52c5c4):_0x57659d,_0x39439d=_0x3fd090[_0x3e8f8d(0x15d)]-0x1,_0x4c43e9;_0x39439d>=0x0;_0x39439d--)(_0x4c43e9=_0x3fd090[_0x39439d])&&(_0x1004d4=_0x4c43e9(_0x1004d4)||_0x1004d4);return _0x1004d4;},_0x17e933=(_0x208d2d,_0x4db3d9)=>(_0xa2d9,_0x5a2d28)=>_0x4db3d9(_0xa2d9,_0x5a2d28,_0x208d2d),_0x37f2c9=(_0x2cd933,_0x53573c,_0x287876)=>_0xe9f21d(_0x2cd933,_0x53573c+'',_0x287876);const _0x1bd38c=_0x1d54d9(0x435);_0x4f91bb[_0x1d54d9(0x29a)]=class extends _0x41608e['Plugin']{constructor(_0x3e3dc9=_0x4e5c93,_0x5f24f2,_0x38df31,_0x2aa052){const _0x110cd5=_0x1d54d9;super(),this[_0x110cd5(0x197)]=_0x3e3dc9,this[_0x110cd5(0x434)]=_0x5f24f2,this[_0x110cd5(0x3e0)]=_0x38df31,this[_0x110cd5(0x155)]=_0x2aa052;const {..._0x3f51f9}=_0x41608e[_0x110cd5(0x35e)]({},_0x4e5c93,this[_0x110cd5(0x197)]);this[_0x110cd5(0x155)][_0x110cd5(0x15f)](_0x247127,_0x3f51f9);}['onStarting'](){const _0xa1321c=_0x1d54d9;this[_0xa1321c(0x19d)](),this[_0xa1321c(0x342)]();}[_0x1d54d9(0x30a)](){const _0x1159e1=_0x1d54d9;this[_0x1159e1(0x3ac)]();}[_0x1d54d9(0x19d)](){const _0xb648e5=_0x1d54d9;var _0x941820;const _0x2d8212=[[_0x1fb581],[_0x5a17a7],[_0x1adf40],[_0x385043],[_0x5877a5],[_0x1b17e2],[_0x49794a,{'useClass':_0xc24a22}],[_0x12ee65[_0xb648e5(0x409)],{'useClass':_0x12ee65[_0xb648e5(0x2f2)]}],[_0x41402f[_0xb648e5(0x33c)],{'useClass':_0x3d059b}],[_0x4f91bb[_0xb648e5(0x38f)]],[_0x5234a9],[_0x1270f3],[_0x13f4ff],[_0x7d3f8b],[_0x4f91bb['CollaborationDataLoaderController']]];this[_0xb648e5(0x197)]['enableFrontendLog']&&_0x2d8212['push']([_0x3ffdc4]),_0x41608e[_0xb648e5(0x300)](this[_0xb648e5(0x3e0)],_0x41608e[_0xb648e5(0x1df)](_0x2d8212,(_0x941820=this[_0xb648e5(0x197)])==null?void 0x0:_0x941820[_0xb648e5(0x2a5)]));}[_0x1d54d9(0x3ac)](){const _0x326e6d=_0x1d54d9;this['disposeWithMe'](this[_0x326e6d(0x434)][_0x326e6d(0x366)](_0x41608e[_0x326e6d(0x3ee)][_0x326e6d(0x14c)],[_0x4b0629])),this[_0x326e6d(0x416)](this[_0x326e6d(0x434)][_0x326e6d(0x366)](_0x41608e[_0x326e6d(0x3ee)][_0x326e6d(0x18c)],[_0x47ed4b]));}[_0x1d54d9(0x342)](){const _0x402745=_0x1d54d9;_0x41608e[_0x402745(0x2e9)](this[_0x402745(0x3e0)],[[_0x13f4ff],[_0x4f91bb['DesktopCollaborationStatusDisplayController']],[_0x5234a9],[_0x1270f3],[_0x4f91bb[_0x402745(0x22b)]],[_0x5a17a7]]),this[_0x402745(0x197)][_0x402745(0x218)]&&_0x41608e['touchDependencies'](this['_injector'],[[_0x3ffdc4]]);}},_0x37f2c9(_0x4f91bb[_0x1d54d9(0x29a)],_0x1d54d9(0x2bd),_0x1bd38c),_0x4f91bb[_0x1d54d9(0x29a)]=_0x42befa([_0x41608e[_0x1d54d9(0x180)](_0x41402f['UniverCollaborationClientPlugin']),_0x17e933(0x1,_0x59ca38['IRenderManagerService']),_0x17e933(0x2,_0x41608e['Inject'](_0x41608e[_0x1d54d9(0x426)])),_0x17e933(0x3,_0x41608e['IConfigService'])],_0x4f91bb['UniverCollaborationClientUIPlugin']);var _0x492bb9=Object[_0x1d54d9(0x369)],_0x35ce7f=(_0x33ee79,_0x357ac5,_0x5c34b4,_0x5512a0)=>{const _0x1134b3=_0x1d54d9;for(var _0x1c09fe=_0x5512a0>0x1?void 0x0:_0x5512a0?_0x492bb9(_0x357ac5,_0x5c34b4):_0x357ac5,_0x86c630=_0x33ee79[_0x1134b3(0x15d)]-0x1,_0x265dcd;_0x86c630>=0x0;_0x86c630--)(_0x265dcd=_0x33ee79[_0x86c630])&&(_0x1c09fe=_0x265dcd(_0x1c09fe)||_0x1c09fe);return _0x1c09fe;},_0x420152=(_0x163bf1,_0x4a2ef9)=>(_0x5b8b4e,_0x576312)=>_0x4a2ef9(_0x5b8b4e,_0x576312,_0x163bf1);_0x4f91bb[_0x1d54d9(0x1ef)]=class extends _0x41402f['CollaborationSocketService']{constructor(_0x2d1ad3,_0x372d05,_0x5d4618,_0xad4182,_0x22793b){super(_0x2d1ad3,_0x372d05,_0x5d4618,_0xad4182,_0x22793b);}async[_0x1d54d9(0x1ad)](_0x3a618f){const _0x1b3a9b=_0x1d54d9,_0x396f10=await this[_0x1b3a9b(0x2bc)](),_0x4f628=this[_0x1b3a9b(0x36d)](_0x3a618f,_0x396f10);return this[_0x1b3a9b(0x40d)](_0x4f628);}['_createSocketURL'](_0x4342e0,_0x5d758f){const _0x256188=_0x1d54d9,_0x1525ca=typeof window>'u'?new URL(_0x4342e0):new URL(_0x4342e0,window[_0x256188(0x1fa)]['origin']);_0x1525ca[_0x256188(0x30f)]['set'](_0x256188(0x327),_0x5d758f);const _0x4f7f24=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x256188(0x17d)]);return _0x4f7f24[_0x256188(0x38e)](_0x256188(0x18d))&&_0x1525ca['searchParams'][_0x256188(0x3b7)](_0x256188(0x18d),_0x4f7f24['get'](_0x256188(0x18d))),_0x1525ca['toString']();}async[_0x1d54d9(0x2bc)](){const _0x21139c=_0x1d54d9;var _0x463bf2,_0x354b64,_0x1bece5;const _0x312d7e=this[_0x21139c(0x155)][_0x21139c(0x2fd)](_0x41402f[_0x21139c(0x3b5)]),_0x37f708=(_0x463bf2=_0x312d7e==null?void 0x0:_0x312d7e['wsSessionTicketUrl'])!=null?_0x463bf2:_0x41402f[_0x21139c(0x2ff)];return(_0x1bece5=(_0x354b64=(await this['_httpService'][_0x21139c(0x38e)](_0x37f708,{'headers':{'Content-Type':_0x21139c(0x308)}}))[_0x21139c(0x2b8)])==null?void 0x0:_0x354b64['ticket'])!=null?_0x1bece5:'';}},_0x4f91bb['BrowserCollaborationSocketService']=_0x35ce7f([_0x420152(0x0,_0x41608e['Inject'](_0x41608e[_0x1d54d9(0x426)])),_0x420152(0x1,_0x41608e[_0x1d54d9(0x227)](_0x12ee65[_0x1d54d9(0x2f8)])),_0x420152(0x2,_0x41608e['IConfigService']),_0x420152(0x3,_0x41608e[_0x1d54d9(0x1dc)]),_0x420152(0x4,_0x44a289[_0x1d54d9(0x185)])],_0x4f91bb[_0x1d54d9(0x1ef)]);var _0x3b73a7=Object[_0x1d54d9(0x369)],_0x1d3fe9=(_0x4d7177,_0x3c73ae,_0xc762b5,_0x392005)=>{for(var _0x3f21d5=_0x392005>0x1?void 0x0:_0x392005?_0x3b73a7(_0x3c73ae,_0xc762b5):_0x3c73ae,_0x440235=_0x4d7177['length']-0x1,_0x45d2f7;_0x440235>=0x0;_0x440235--)(_0x45d2f7=_0x4d7177[_0x440235])&&(_0x3f21d5=_0x45d2f7(_0x3f21d5)||_0x3f21d5);return _0x3f21d5;},_0x14ed15=(_0x4fe46e,_0x3bacbc)=>(_0x2fa083,_0x1aaf62)=>_0x3bacbc(_0x2fa083,_0x1aaf62,_0x4fe46e);_0x4f91bb[_0x1d54d9(0x428)]=class extends _0x41608e[_0x1d54d9(0x38a)]{constructor(_0x4d76bb,_0x2ccee7,_0x45ad86){const _0x54c75a=_0x1d54d9;super(),this['_instanceService']=_0x4d76bb,this[_0x54c75a(0x1f2)]=_0x2ccee7,this[_0x54c75a(0x155)]=_0x45ad86;}async[_0x1d54d9(0x2de)](_0x2b4de1,_0x46821e,_0x1fd17e,..._0x118759){const _0x1aa7eb=_0x1d54d9;var _0x2c8f3e,_0x5f58d8,_0x596fb4,_0x24e48f;const _0x518490=this['_instanceService'][_0x1aa7eb(0x353)]();if(!_0x518490)throw new Error(_0x1aa7eb(0x21f));const _0x37ace2=((_0x2c8f3e=this['_configService']['getConfig'](_0x41402f[_0x1aa7eb(0x211)]))!=null?_0x2c8f3e:_0x41402f[_0x1aa7eb(0x1fe)])+'/'+_0x2b4de1+'/run/'+_0x46821e,_0x41c12f=new URL(window['location'][_0x1aa7eb(0x22d)]),_0x88c1d9={'scriptId':_0x2b4de1,'runId':(_0x5f58d8=_0x41c12f[_0x1aa7eb(0x30f)]['get'](_0x1aa7eb(0x18d)))!=null?_0x5f58d8:'','function':_0x46821e,'unitId':_0x518490[_0x1aa7eb(0x2e2)](),'argsOfFunction':JSON[_0x1aa7eb(0x356)](_0x118759),'invokeId':(_0x596fb4=_0x1fd17e[_0x1aa7eb(0x15e)])!=null?_0x596fb4:'','executionId':(_0x24e48f=_0x1fd17e['executionId'])!=null?_0x24e48f:''};try{const _0x4e2eba=await this[_0x1aa7eb(0x1f2)][_0x1aa7eb(0x212)](_0x37ace2,{'body':_0x88c1d9});return _0x4e2eba[_0x1aa7eb(0x2b8)][_0x1aa7eb(0x22c)]&&_0x4e2eba[_0x1aa7eb(0x2b8)][_0x1aa7eb(0x22c)][_0x1aa7eb(0x298)]!==_0xd9f64c['OK']?_0x1aa7eb(0x3c7):_0x4e2eba['body']['result'];}catch{return _0x1aa7eb(0x3c7);}}},_0x4f91bb[_0x1d54d9(0x428)]=_0x1d3fe9([_0x14ed15(0x0,_0x41608e['IUniverInstanceService']),_0x14ed15(0x1,_0x41608e['Inject'](_0x12ee65[_0x1d54d9(0x2f8)])),_0x14ed15(0x2,_0x41608e['IConfigService'])],_0x4f91bb['RemoteUniscriptService']);const _0x57bb34=0x7530,_0x34c232=_0x1d54d9(0x22e);class _0x155ac3 extends _0x41608e[_0x1d54d9(0x38a)]{constructor(){const _0x2b337e=_0x1d54d9;super(),_0x2af801(this,'_id',_0x41608e['generateRandomId']()),_0x2af801(this,'_selfUnitIDs',new Set()),_0x2af801(this,'_unitOnClients',new Map()),_0x2af801(this,_0x2b337e(0x272),null),_0x2af801(this,_0x2b337e(0x433),new Map()),_0x2af801(this,_0x2b337e(0x3d1),new Map()),this[_0x2b337e(0x37b)]();}[_0x1d54d9(0x14a)](){const _0x25873d=_0x1d54d9;super[_0x25873d(0x14a)](),this['_clearOtherTimers'][_0x25873d(0x1d1)]((_0x36e780,_0x579b15)=>this[_0x25873d(0x231)](_0x579b15)),this[_0x25873d(0x272)]&&window[_0x25873d(0x20a)](this[_0x25873d(0x272)]);}[_0x1d54d9(0x32d)](_0x27da5e){const _0xa1f8a=_0x1d54d9;return this[_0xa1f8a(0x3db)](_0x27da5e)['pipe'](_0x163839[_0xa1f8a(0x414)]());}[_0x1d54d9(0x305)](_0x378e89){const _0x3b82fd=_0x1d54d9;this['_selfUnitIDs'][_0x3b82fd(0x38b)]===0x0&&this[_0x3b82fd(0x340)](),this[_0x3b82fd(0x276)][_0x3b82fd(0x239)](_0x378e89),this[_0x3b82fd(0x403)]({'type':0x0,'memberID':this[_0x3b82fd(0x26a)],'unitIDs':[_0x378e89],'isForwarded':!0x1});}['disposeUnit'](_0x2590a2){const _0x42acab=_0x1d54d9;this['_selfUnitIDs'][_0x42acab(0x35c)](_0x2590a2),this['_selfUnitIDs'][_0x42acab(0x38b)]===0x0&&this[_0x42acab(0x272)]&&window[_0x42acab(0x20a)](this[_0x42acab(0x272)]);}[_0x1d54d9(0x37b)](){const _0x53b907=_0x1d54d9;this[_0x53b907(0x416)](_0x41608e[_0x53b907(0x3c4)](_0x163839['fromEvent'](window,_0x53b907(0x1dd))[_0x53b907(0x431)](_0x3900c0=>{const _0x589308=_0x53b907;if(_0x3900c0[_0x589308(0x419)]!==_0x34c232||!_0x3900c0['newValue'])return;const _0x17a025=JSON['parse'](_0x3900c0[_0x589308(0x1e6)]);this['_handleEvent'](_0x17a025);}))),window[_0x53b907(0x3e9)](_0x53b907(0x39a),()=>this[_0x53b907(0x403)]({'type':0x1,'memberID':this[_0x53b907(0x26a)],'unitIDs':Array[_0x53b907(0x338)](this[_0x53b907(0x276)])}));}[_0x1d54d9(0x163)](_0x312e01){const _0x340a40=_0x1d54d9;switch(_0x312e01[_0x340a40(0x1d2)]){case 0x0:this[_0x340a40(0x17a)](_0x312e01);break;case 0x1:this[_0x340a40(0x24e)](_0x312e01);break;case 0x2:this[_0x340a40(0x2d5)](_0x312e01);break;}}['_handleJoinEvent'](_0x60eae5){const _0x3d779b=_0x1d54d9,{unitIDs:_0x303193,memberID:_0x229644,isForwarded:_0x231036}=_0x60eae5;_0x303193[_0x3d779b(0x1d1)](_0x640d6a=>{const _0x1da2a3=_0x3d779b;if(!_0x231036&&this['_unitOnClients'][_0x1da2a3(0x41f)](_0x640d6a)&&this[_0x1da2a3(0x3db)](_0x640d6a)[_0x1da2a3(0x34e)](_0x41402f[_0x1da2a3(0x237)]['OTHER_CLIENTS_EDITING']),!this[_0x1da2a3(0x345)][_0x1da2a3(0x41f)](_0x640d6a)||!this[_0x1da2a3(0x345)]['get'](_0x640d6a)[_0x1da2a3(0x41f)](_0x229644)){const _0x47900b=this[_0x1da2a3(0x345)][_0x1da2a3(0x38e)](_0x640d6a)||new Set();_0x47900b['add'](_0x229644),this[_0x1da2a3(0x345)][_0x1da2a3(0x3b7)](_0x640d6a,_0x47900b),this[_0x1da2a3(0x323)](_0x229644);}}),_0x231036||this[_0x3d779b(0x403)]({'type':0x0,'memberID':this[_0x3d779b(0x26a)],'unitIDs':[...this[_0x3d779b(0x276)]],'isForwarded':!0x0});}[_0x1d54d9(0x323)](_0x170662){const _0x464b99=_0x1d54d9;this[_0x464b99(0x231)](_0x170662);const _0xf2c2be=window[_0x464b99(0x2c6)](()=>{const _0x18dc2d=_0x464b99;this[_0x18dc2d(0x345)][_0x18dc2d(0x1d1)](_0x15747a=>{const _0x4df646=_0x18dc2d;_0x15747a[_0x4df646(0x35c)](_0x170662);});},_0x57bb34*0x2);this[_0x464b99(0x433)][_0x464b99(0x3b7)](_0x170662,_0xf2c2be);}[_0x1d54d9(0x231)](_0x456d63){const _0x16c32e=_0x1d54d9;if(this[_0x16c32e(0x433)][_0x16c32e(0x41f)](_0x456d63)){const _0x1cf13c=this[_0x16c32e(0x433)][_0x16c32e(0x38e)](_0x456d63);_0x1cf13c&&window[_0x16c32e(0x394)](_0x1cf13c),this[_0x16c32e(0x433)][_0x16c32e(0x3b7)](_0x456d63,null);}}['_handleLeaveEvent'](_0x362b5f){const _0x234de8=_0x1d54d9,{memberID:_0x25e889,unitIDs:_0x218c2c}=_0x362b5f;_0x218c2c[_0x234de8(0x1d1)](_0x20b06b=>{const _0x1674cd=_0x234de8;var _0x1ecb51;const _0x2f1d3f=this['_unitOnClients']['get'](_0x20b06b);_0x2f1d3f&&(_0x2f1d3f[_0x1674cd(0x35c)](_0x25e889),(_0x1ecb51=this[_0x1674cd(0x3db)](_0x20b06b))==null||_0x1ecb51[_0x1674cd(0x34e)](_0x2f1d3f[_0x1674cd(0x38b)]===0x0?_0x41402f['UnitStatus'][_0x1674cd(0x1b2)]:_0x41402f['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0x234de8(0x231)](_0x25e889);}['_handleHeartbeatEvent'](_0x2448ab){const _0x6015b0=_0x1d54d9;this['_scheduleClearOtherTimer'](_0x2448ab[_0x6015b0(0x26f)]);}['_send'](_0x2ee3ef){const _0x1db313=_0x1d54d9;localStorage['setItem'](_0x34c232,JSON[_0x1db313(0x356)](_0x2ee3ef));}[_0x1d54d9(0x340)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x28b63a=_0x9ceb;this['_send']({'type':0x2,'memberID':this[_0x28b63a(0x26a)]});},_0x57bb34);}['_ensureSubject'](_0xcf627){const _0x351b84=_0x1d54d9;return this[_0x351b84(0x3d1)][_0x351b84(0x41f)](_0xcf627)||this[_0x351b84(0x3d1)]['set'](_0xcf627,new _0x163839[(_0x351b84(0x1c5))](_0x41402f[_0x351b84(0x237)][_0x351b84(0x1b2)])),this[_0x351b84(0x3d1)][_0x351b84(0x38e)](_0xcf627);}}_0x4f91bb[_0x1d54d9(0x2da)]=_0x49794a,_0x4f91bb[_0x1d54d9(0x331)]=_0x8d5a84,_0x4f91bb['WebBrowserSingleActiveUnitService']=_0x155ac3,_0x4f91bb[_0x1d54d9(0x173)]=_0xc24a22,Object[_0x1d54d9(0x3e8)](_0x4f91bb,Symbol[_0x1d54d9(0x1c4)],{'value':_0x1d54d9(0x16d)});}));function _0x9ceb(_0x34ef1f,_0x28c154){_0x34ef1f=_0x34ef1f-0x14a;const _0x1fb534=_0x1fb5();let _0x9ceb5c=_0x1fb534[_0x34ef1f];return _0x9ceb5c;}function _0x1fb5(){const _0x5a4156=['params','findNodePositionByCharIndex','getCellMatrix','getUnit','LocaleService','_univerInstanceService','onPointerEnter$','_updateLocalCursor','_init','_onCursorUpdate','_setupSubUnitSync','_hasFormulaInDirtyRanges','_entities','transformMutationsWithChangeset','_updateSubUnitFromURLParams','arc','font','_cursorShapes','YUUMI_UNABLE_LOAD_URL','xlink:href','permission.content','Unknown\x20user','Loading','Disposable','size','_collaborationSessionService','_docTransformIMECacheService','get','DesktopCollaborationStatusDisplayController','_localeService','width','unhandledrejection','exports','clearTimeout','_initUnhandledRejectionListener','_removeCollabCursors','APPLY_NON_SEQUENTIAL_REVISION','setShapeProps','getActiveRange','unload','executeCommand','operators','_collabSessionService','SetDocZoomRatioOperation','currentColor','isArray','VIEW_MAIN','MOBILE_VERIFY_CODE_MISMATCH','jiqing.500','1809642hpZXJl','DocSelectionManagerService','random','attrs','_anchor','selections','_applyCommand','transformByState','_registerRenderDependencies','_docTransformStateCacheService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','stageInfo','getDocRanges','LICENSE_IMPORT_SIZE_EXCEEDED','TEXT','transform','url(#$1','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','ENTITLE_COUPON_USED_UP','set','_colorAssignService','getSheetObject','BuiltInUIPart','UniverRpc','[Window\x20Error]:\x20','startColumn','RxDisposable','getVpScrollXYInfoByPosToVp','triggerDblclick','subUnitId','UNRECOGNIZED','clipPath','toDisposable','DocCollaborationEntity','currentUsage','Failed','saveTaskMap','getTypeOfUnitAdded$','getSkeleton','rxjs/operators','ranges','_releaseCalculationLimit','switchMap','addClipboardHook','startFormulaLimitUrl','_unitStatus','LICENSE_EXPORT_SIZE_EXCEEDED','SNAPSHOT_INVALID_SNAPSHOT','max','roomMembers$','YUUMI_ALL_TABLES_IS_INVALID','_refRangeService','USERS_LEAVE','_setupBeforeClosingHandler','replace','_ensureSubject','push','roomMembers','debounce','M0\x200H16V16H0z','_injector','ONLINE','DeleteRangeMoveLeftCommandId','parseInt','popstate','jsx','TRANSFORM_CHANGE_OBSERVABLE_TYPE','with','defineProperty','addEventListener','DATA_SOURCE_TOO_LARGE','Vector2','colorChannel1','syncEditingCollabCursor','UniverInstanceType','replaceDocRanges','APPLY_REJECT','_transformService','http://www.w3.org/2000/svg','isFormulaString','_transformHistoryAndStateStack','AUTHORIZE_CODE_ILLEGAL','assignAColorForMemberID','UniverUi','ENTITLE_REPORT_LIMIT_EXCEED','_initCommandExecutedListener','SUCCESS','NOT_FOUND','serializeRangeWithSheet','unit','1304658zYEmSD','_dataLoaderService','amd','_document','OffLineIcon','_send','CollaborationController','UniverProCollaborationClientUi','makeDirty','onMouseMove','collabStatus.synced','ISocketService','transformMutation','skeleton','TOO_MANY_REQUESTS','_doCreateSocket','COLORS','ENTITLE_CAN_NOT_BUY_LOWER_OTP','toRgbString','SheetsSelectionsService','_status$','[Unhandled\x20Rejection]:\x20','distinctUntilChanged','onCommandExecuted','disposeWithMe','ICommandService','_uploadLog','key','map','@univerjs/engine-formula','path','collabStatus.offline','@univerjs/docs-ui','has','_themeService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','setStateCache','entries','_getMergeRange','LICENSE_MAX_UNITS_EXCEEDED','Injector','PENDING','RemoteUniscriptService','svg','_checkCalculationAvailable','INVITE_CODE_REQUIRED','YUUMI_SUBSCRIPTION_NOT_FOUND','_initStatusComponent','redoState','collaboration-client-ui.config','YUUMI_TABLE_NOT_FOUND_IN_UNIT','subscribe','RefRangeService','_clearOtherTimers','_renderManagerService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','INotificationService','dispose','REDEMPTION_CODE_NOT_STARTED','UNIVER_DOC','debounceTime','_localCacheService','_messageService','MUTATION','USER_IS_ANONYMOUS','filter','transformRemoteChangeset','UniverSheetsUi','_configService','INVITE_CODE_ALREADY_BOUND','OnLineIcon','React','Rectangle','send','mutations','USER_NOT_FOUND','length','invokeId','setConfig','CHANGESET_REVISION_CONFILICT','UNDEFINED','@univerjs/network','_handleEvent','YUUMI_URL_COL_OUT_OF_RANGE','EffectRefRangId','hovered','doc.mutation.rich-text-editing','currentTheme$','function','save','transformSelections','unsubscribe','Module','collab-client.tooltip.reconnect','UNAUTHENTICATED','shareReplay','_disabled','resize','WebURLService','[LogService\x20Error]:\x20','cursorInfo','exhaustSavingTask','setAlpha','_sheetSkeletonManagerService','YUUMI_RATE_OVER_LIMIT','_handleJoinEvent','permission.title','getOffsetConfig','search','_shapes','_drawAnchor','DependentOn','show','beforeCommandExecuted','_getAnchorBounding','_range','ISnapshotServerService','_commandService','unitID','_draw','IUniverInstanceService','_initEntityListener','pipe','UNIVER_SHEET','runId','REDEMPTION_USER_NOT_ELIGIBLE','EMAIL_VERIFY_CODE_MISMATCH','getCurrentSelections','_collaborationUIEventService','INVALID_ARGUMENT','registerComponent','REDEMPTION_USER_REDEEM_TIMES_EXCEED','ENTITLE_CHAT_LIMIT_EXCEED','_name','_config','REDEMPTION_INVALID_CODE','session.connection-failed','getMergeData','_showGuardMessage','getParam','_registerDependencies','stack','IImageIoService','height','_scheduleSaving','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','uni.network.url-service','entityInit$','INTERNAL_ERROR','_clearPolling','setActiveRange','getActiveSheet','_lastPointer','useRef','current','OFFLINE','createSocket','INVALID_INVITE_CODE','SUBMIT_CHANGESET_TIMEOUT','values','handleMoveRange','NO_OTHER_CLIENTS_EDITING','shift','SetFormulaCalculationStartMutation','evenodd','_initWindowErrorListener','m2Prime','1em','ILocalStorageService','none','green.600','dispose$','ERROR_AGAIN','APPLY_REVISION_CONFILICT','_hover','_refreshCollabCursors','_currentUsage','_getFormulaLimitStatus','urlChange$','toStringTag','BehaviorSubject','onLocalMutation','UniverCore','_color','ENTITLE_DUP_SUBSCRIPTION','InsertRangeMoveDownCommandId','idSuffix','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','endRow','IConfigService','handleInsertCol','0\x200\x2017\x2016','forEach','type','univer-flex\x20univer-items-center','lineno','_localStorageService','_memberID','displayName','Rect','beginPath','CollaborationStatus','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','ILogService','storage','defIds','mergeOverrideWithDependencies','activeSheet$','_textBubble','getValue','releaseFormulaLimitUrl','takeUntil','rgba(255,\x20255,\x20255,\x200.01)','newValue','removeEventListener','WECHAT_HAS_BEEN_BOUND','CONFLICT','includes','INVITE_CODE_HAS_BEEN_UES','LOGIN_TOKEN_PROCESSING_FAILED','range','getUniverSheetInstance','BrowserCollaborationSocketService','formula.calculation.waiting','RECT','_httpService','_getSaveTimeout','formula.calculation.unable','deepClone','_updateURLWithCurrentState','_docSkeletonManagerService','_docClipboardService','_cachedData','location','_imageIoService','session.collaboration-timeout','row','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','loadUnit','REDEMPTION_CODE_HAS_BEEN_CREATED','column','DOC_RANGE_TYPE','_roomMembers$','Error','_onRefRangeChange','getCollabEntity$','Tooltip','UniverProCollaboration','_collaborationController','clearInterval','colno','_cursors','EMAIL_HAS_BEEN_BOUND','_docTransformSelectionsService','_cursorInfo$','on-line-icon','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','post','_revisionService','some','now','unitId','NodePositionConvertToRectRange','enableFrontendLog','DeleteRangeMoveUpCommandId','setParam','REDEMPTION_CODE_INACTIVE','limitInfo','handleIRemoveCol','/universer-api/license/formula/limit/start','[RemoteUniscriptService]:\x20no\x20focused\x20unit','engine','ENTITLE_NEED_BILLING_ADDRESS','sheetID','text','substring','asObservable','SYNCED','Inject','transformIMECache','MoveRangeCommandId','UniverEngineRender','CollaborationDataLoaderController','error','href','ACTIVE_UNIT_EVENT_CHANNEL','ENTITLE_INVALID_COUPON_CODE','disableLocalCache','_removeClearOtherTimer','_startCalculationLimit','labelPosition','react/jsx-runtime','YUUMI_CONNECTOR_URL_NOT_FOUND','UPDATE_CURSOR','UnitStatus','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','add','_backgroundColor','bind','children','DocSkeletonManagerService','@univerjs/drawing','IRenderManagerService','YUUMI_AI_RUN_FAILED','white','collabStatus.fetchMiss','maxFormulaLimit','filename','@univerjs/engine-render','bottom','DataLoaderService','8lasEBJ','session.will-retry','useObservable','black','string','history','_handleLeaveEvent','getRelativeToViewportCoord','RichTextEditingMutation','lineTo','catch','selection','find','_collabCursorState$','ENTITLE_COUPON_EXPIRED','_initStatusListener','useDependency','getCurrent','_initCommandInterceptor','currentSkeleton$','onPointerMove$','event$','UniverDrawing','ENTITLE_INSUFFICIENT_QUOTA','_memberService','flatMap','handleInsertRangeMoveDown','fromEvent','requireSession','ColorKit','SheetSkeletonManagerService','NOT_COLLAB','trim','collab-text-anchor-','_id','getSheetId','7729470XxXWZr','updateOfflineData','CommandType','memberID','undoState','loadOfflineData','_heartbeatTimer','_syncEditingCollabCursorService','saveOfflineData','onPointerLeave$','_selfUnitIDs','getAncestorScale','REDEMPTION_CODE_FULLY_REDEEMED','unshift','1437745fmbETJ','CollaborationSessionService','_anchorDot','_scene','getLocalCacheKey','_context','getMember','PY_RUNTIME_SCRIPT_ERROR','color','_initEvent','actions','isTransformMutationFailure','APPLY_PERMISSION_DENIED','enableLocalCache','whenReady','SOCKET_FAILED_RETRY','fillStyle','_drawTextRange','UniverEngineFormula','rxjs','AWAITING_WITH_PENDING','getSheetBySheetId','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','eventID','MessageType','PERMISSION_DENIED','_saveCache','LICENSE_DISTRO_REJECTED','pushState','AWAITING','code','IDocClipboardService','UniverCollaborationClientUIPlugin','collabStatus.conflict','@univerjs/core','_logService','_transformUndoRedoStack','@univerjs-pro/collaboration','_eventUnsubscribe','InsertRangeMoveRightCommandId','_taskIds','combineLatest','ENSURE_SNAPSHOT_EXECUTION','override','_transformPreviousActiveRange','replaceState','_saveTaskMap','sessionStatus$','tag','ALREADY_EXISTS','_initUserListener','textRanges','_hovered','getColor','Warning','_urlService','react','getCurrentUnitForType','saveImage','fromEventSubject','TEXT_RANGE_LAYER_INDEX','debug','body','_assignedColors','_pollingInterval','JOIN_ROOM_FAILED','_getSessionTicket','pluginName','_hideTimer','PAYMENT_CHANNEL_NOT_SUPPORT','_getScale','getUndoRedoMutationParamsCache','_cursor','RemoveRowCommandId','off-line-icon_clip0_910_343','/universer-api/license/formula/limit/status','setTimeout','SHEET_VIEWPORT_KEY','url(#on-line-icon_clip0_910_349)','_session','_beforeCloseService','_getSheetObject','_docStateChangeManagerService','toString','blue.400','forwardRef','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','data','CURRENT_STATUS_CANNOT_OPERATE','USER_NOT_INVITED_CODE','getformulaLimitStatusUrl','_handleHeartbeatEvent','START_CALCULATION','functionsExecutedState','IUIPartsService','@univerjs/ui','IURLService','@univerjs/sheets-ui','CollaborationEvent','6zrLtdR','runOnServer','createInstance','restore','4651412hNXuOw','getUnitId','subunit','_labelPosition','_render','SetTextSelectionsOperation','...','jsxs','touchDependencies','collaboration.offline-data-not-saved','deserializeRangeWithSheet','generateRandomId','subscribeEvent','defs','formula.calculation.started','ENTITLE_USE_COUPON_NOT_1ST_TRADE','createElement','WebSocketService','/universer-api/license/formula/limit/done','_notificationService','getCoordByCell','Tools','IMessageService','HTTPService','startRow','SNAPSHOT_HAS_BEEN_REMOVED','NodePositionConvertToCursor','UniverNetwork','getConfig','join','DEFAULT_WS_SESSION_TICKET_URL','registerDependencies','on-line-icon_clip0_910_349','_docSyncEditingCollabCursorService','transformStateCache','closePath','editingUnit','setUndoRedoMutationParamsCache','ThemeService','application/json','_colorIndex','onRendered','top','hide','UniverDocsUi','\x20at\x20','searchParams','_onCursorDelete','MOBILE_HAS_BEEN_BOUND','isActive','InsertRowCommandId','SetFormulaCalculationNotificationMutation','[CollaborationDataLoaderController]','FormulaExecuteStageType','getRenderById','SetWorksheetActivateCommand','0\x200\x2016\x2016','url(#off-line-icon_clip0_910_343)','fillText','getViewport','Subject','IBeforeCloseService','_collabCursorController','9621054ooeELE','docStateChange$','_entityInit$','_scheduleClearOtherTimer','handleInsertRangeMoveRight','registerRefRange','_handleHover','sessionTicket','measureText','isEditing','_setFormulaLimitStatus','min','getMemberID','getUnitStatus$','_lastResponseTimestamp','clsx','contains','SheetCollabCursorShape','split','_toggleOnline','getColorFromTheme','_maxFormulaLimit','then','_updateCollabCursors','from','_online','APPLY_DUPLICATED','startsWith','ILocalCacheService','yellow.400','FromArray','LOGIN_FAILED','_scheduleHeartbeat','fillRule','_initDependencies','handleIRemoveRow','_startSheetCollabCursor','_unitOnClients','CONNECTOR_DATA_TOO_LARGE','runRefRangeMutations','m1Prime','setItem','message','mapTo','addObject','CollaborationUIEventId','next','#FFF','div','drawWith','collabCursorState$','getFocusedUnit','use','getRangePointData','stringify','_initResize','endColumn','DocIMEInputManagerService','LOCAL_CACHE_INTERVAL_KEY','translate(.97)','delete','ITransformService','merge','mask','_toggleOffline','CLOSE_ROOM','round','YUUMI_NO_CUBOID_FOR_QUESTION','_uiPartsService','MemberService','registerRenderModule','CollaborationUIEventService','complete','getOwnPropertyDescriptor','fill','SOCKET_FAILED','isFormulaId','_createSocketURL','init','cursorInfo$','YUUMI_ASYNCIO_CANCELLED','13277zDwNnB','useCallback'];_0x1fb5=function(){return _0x5a4156;};return _0x1fb5();}