@univerjs-pro/collaboration-client-ui 0.12.3-experimental.20251205-e439e48 → 0.12.3-experimental.20251205-71d07c3

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 +15 -15
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x5688(){const _0x29a1e6=['getMember','_registerRenderDependencies','params','url(#$1','YUUMI_SUBSCRIPTION_NOT_FOUND','fromEventSubject','startFormulaLimitUrl','UniverIcon','drawWith','_render','startRow','_selfUnitIDs','getAncestorScale','addObjects','NOT_COLLAB','_initCommandInterceptor','maxFormulaLimit','searchParams','requireSession','clipPath','color','_hasFormulaInDirtyRanges','data','function','endRow','CollaborationUIEventService','subUnitId','CollaborationController','SheetCollabCursorShape','useObservable','ENTITLE_DUP_SUBSCRIPTION','fillStyle','generateRandomId','RevisionService','all','_getSessionTicket','push','off-line-icon','SessionStatus','executeCommand','random','loadOfflineData','toRgbString','flatMap','PAYMENT_CHANNEL_NOT_SUPPORT','_revisionService','CollaborationDataLoaderController','_createSocketURL','_initStatusComponent','handleInsertCol','_eventUnsubscribe','_handleJoinEvent','_unitStatus','next','off-line-icon_clip0_910_343','show','YUUMI_URL_COL_OUT_OF_RANGE','_hover','transformIMECache','_getFormulaLimitStatus','_transformUndoRedoStack','use','_maxFormulaLimit','tag','ICommandService','MoveRangeCommandId','_config','_setupBeforeClosingHandler','labelPosition','setAlpha','dispose$','body','OnLineIcon','getStateCache','DEFAULT_WS_SESSION_TICKET_URL','isArray','runRefRangeMutations','@univerjs-pro/collaboration','_injector','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','collaboration.closeRoom','collab-text-anchor-','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','LocaleService','redoState','unshift','amd','VIEW_MAIN','CollaborationUIEventId','M0\x200H16V16H0z','RefRangeService','entries','_colorIndex','runOnServer','LICENSE_MAX_UNITS_EXCEEDED','_transformPreviousActiveRange','JOIN_ROOM_FAILED','REDEMPTION_USER_NOT_ELIGIBLE','_anchor','handleInsertRow','getUniverSheetInstance','RichTextEditingMutation','getSheetId','setUndoRedoMutationParamsCache','OffLineIcon','SUBMIT_CHANGESET_TIMEOUT','getCollabCursors$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','/universer-api/frontend/logs','range','error','_saveTaskMap','_startDocCollabCursor','/universer-api/license/formula/limit/done','UniverProCollaborationClientUi','shareReplay','purple.300','then','restore','468172NjGyjZ','http://www.w3.org/2000/svg','MUTATION','limitInfo','assign','from','ENTITLE_NEED_BILLING_ADDRESS','getOwnPropertyDescriptor','init','red.300','_initDependencies','_docTransformStateCacheService','INVALID_ARGUMENT','save','triggerDblclick','Disposable','@univerjs/rpc','_document','transformSelections','urlChange$','AUTHORIZE_CODE_ILLEGAL','_ensureSubject','join','AWAITING','RemoveColCommandId','transformByState','_setFormulaLimitStatus','_id','history','createElement','debug','RemoteUniscriptService','INVITE_CODE_ALREADY_BOUND','LICENSE_EXPORT_SIZE_EXCEEDED','_refRangeService','session.connection-failed','colorChannel1','9809300GAfXWG','MOBILE_VERIFY_CODE_MISMATCH','_collaborationUIEventService','operators','_renderManagerService','activeSheet$','EffectRefRangId','BehaviorSubject','white','UNRECOGNIZED','WebSocketService','getOffsetConfig','type','_updateLocalCursor','sheetId','RegularPolygon','getFocusedUnit','currentUsage','Unknown\x20user','currentTheme$','_scene','IURLService','getUndoRedoMutationParamsCache','switchMap','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','CHANGESET_REVISION_CONFILICT','11417035BLceqF','UPDATE_CURSOR','_online','roomMembers','SNAPSHOT_INVALID_SNAPSHOT','addEventListener','disableLocalCache','black','@univerjs/engine-render','_startCalculationLimit','_currentUsage','colno','defIds','exhaustSavingTask','transformMutationsWithChangeset','START_CALCULATION','Injector','MemberService','getItem','_drawTextRange','storage','delete','unit','ACTIVE_UNIT_EVENT_CHANNEL','SheetSkeletonManagerService','IUIPartsService','onPointerEnter$','0\x200\x2016\x2016','getRangePointData','_initWindowErrorListener','wsSessionTicketUrl','SetTextSelectionsOperation','CONNECTOR_DATA_TOO_LARGE','updateOfflineData','getDocRanges','disposeWithMe','YUUMI_ALL_TABLES_IS_INVALID','RxDisposable','currentColor','_getSheetObject','yellow.400','saveTaskMap','onPointerMove$','roomMembers$','_context','FromArray','complete','Loading','Workbook','isActive','Failed','forwardRef','isFormulaString','_disabled','UniverCollaborationClientPlugin','assignAColorForMemberID','UniverInstanceType','permission.title','_roomMembers$','USER_IS_ANONYMOUS','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','text','setConfig','clsx','startColumn','_docSkeletonManagerService','touchDependencies','_transformHistoryAndStateStack','trim','Rect','_updateCollabCursors','getTypeOfUnitDisposed$','length','collabStatus.fetchMiss','pushState','filename','FETCH_MISS','actions','LICENSE_IMPORT_SIZE_EXCEEDED','DocSelectionManagerService','RemoveRowCommandId','subscribeEvent','_docTransformSelectionsService','isTransformMutationsWithChangesetSuccess','substring','collaboration.single-unit.warning','_removeClearOtherTimer','APPLY_PERMISSION_DENIED','deserializeRangeWithSheet','onPointerLeave$','_uploadLog','size','SetWorksheetActivateCommand','displayName','name','Error','asObservable','_draw','IBeforeCloseService','_monkeyPatchLogService','session.will-retry','SUCCESS','loadUnit','toStringTag','setParam','_getSaveTimeout','OTHER_CLIENT_EDITING','popstate','idSuffix','stack','_showGuardMessage','Vector2','ENTITLE_COUPON_USED_UP','_init','onMouseMove','IUniverInstanceService','INVALID_INVITE_CODE','isTransformMutationFailure','moveTo','memberID','_removeCollabCursors','div','_docTransformIMECacheService','INotificationService','_uiPartsService','Plugin','_handleLeaveEvent','_clearOtherTimers','UNIVER_DOC','setTimeout','getRenderById','_registerDependencies','ENTITLE_COUPON_EXPIRED','_hideTimer','replaceState','debounce','DocCollaborationEntity','_cursorShapes','LOGIN_FAILED','_entities','_onRefRangeChange','collabStatus.synced','_messageService','_urlService','...','USER_NOT_INVITED_CODE','_initCommandExecutedListener','univer-flex\x20univer-items-center','YUUMI_TABLE_NOT_FOUND_IN_UNIT','INTERNAL_ERROR','_sheetSkeletonManagerService','YUUMI_RATE_OVER_LIMIT','_textBubble','CURRENT_STATUS_CANNOT_OPERATE','SetFormulaCalculationStartMutation','_docClipboardService','UniverProCollaboration','_heartbeatTimer','_collabCursorState$','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','socket$','USERS_LEAVE','_transformService','DesktopCollaborationStatusDisplayController','getCellMatrix','LOCAL_CACHE_INTERVAL_KEY','_colorAssignService','_updateURLWithCurrentState','event$','svg','selection','React','_imageIoService','hovered','collabCursorState$','_drawAnchor','ticket','string','executionId','getRelativeToViewportCoord','top','getCoordByCell','SetDocZoomRatioOperation','subunit','row','getVpScrollXYInfoByPosToVp','currentSkeleton$','fillText','stage','_saveCache','get','?taskId=','ENTITLE_INVALID_COUPON_CODE','_doCreateSocket','removeEventListener','\x20at\x20','COMPLETION_FINISHED','_initStatusListener','DocIMEInputManagerService','_cachedData','LICENSE_DISTRO_REJECTED','ILogService','width','_collaborationSessionService','_assignedColors','getMergeData','doc.mutation.rich-text-editing','_status$','_getScale','UniverProCollaborationClient','getCellPositionByOffset','CommandType','deepClone','onLocalMutation','getSheetBySheetId','setStateCache','docStateChange$','mask','dispose','_beforeCloseService','some','UniverCollaborationClientUIPlugin','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','whenReady','evenodd','_cursors','ENTITLE_REPORT_LIMIT_EXCEED','APPLY_NON_SEQUENTIAL_REVISION','InsertRowCommandId','search','clearInterval','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','IMessageService','onCommandExecuted','font','SHEET_VIEWPORT_KEY','jsxs','_univerInstanceService','combineLatest','ENTITLE_CHAT_LIMIT_EXCEED','Tooltip','SetFormulaCalculationNotificationMutation','ranges','85842IIlBKu','session.collaboration-timeout','FormulaExecuteStageType','TRANSFORM_CHANGE_OBSERVABLE_TYPE','1806196oKPmrD','AWAITING_WITH_PENDING','getCurrentUnitForType','@univerjs/sheets-ui','ERROR_AGAIN','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','on-line-icon_clip0_910_349','InsertColCommandId','getLocalCacheKey','mergeOverrideWithDependencies','source','setShapeProps','_httpService','parseInt','now','runId','syncEditingCollabCursor','children','getCurrent','Shape','TEXT_RANGE_LAYER_INDEX','skeleton','_handleEvent','status$','_drawRectRange','attrs','/universer-api/license/formula/limit/status','DATA_SOURCE_TOO_LARGE','_toggleOffline','ENSURE_SNAPSHOT_EXECUTION','exports','_hovered','ALREADY_EXISTS','cursorInfo','react/jsx-runtime','filter','shift','formula.calculation.waiting','jsx','_collabSessionService','#FFF','YUUMI_NO_CUBOID_FOR_QUESTION','TEXT','getConfig','getColorFromTheme','_logService','PY_RUNTIME_SCRIPT_ERROR','ILocalStorageService','round','subscribe','_localeService','unhandledrejection','ITransformService','_session','stageInfo','_initEvent','@univerjs/docs','symbol','@univerjs/core','contains','EMAIL_VERIFY_CODE_MISMATCH','ONLINE','APPLY_REJECT','serializeRangeWithSheet','_checkCalculationAvailable','CollaborationStatus','_setupSubUnitSync','pipe','makeDirty','_localStorageService','collab-client.tooltip.reconnect','saveOfflineData','REDEMPTION_CODE_INACTIVE','APPLY_DUPLICATED','InsertRangeMoveDownCommandId','YUUMI_CONNECTOR_URL_NOT_FOUND','INVITE_CODE_REQUIRED','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getUnitStatus$','getSkeleton','LOCAL_CACHE_INTERVAL','SNAPSHOT_HAS_BEEN_REMOVED','_configService','formula.calculation.started','OTHER_CLIENTS_EDITING','UNIVER_SHEET','registerRefRange','getActiveSheet','/universer-api/license/formula/limit/start','_send','HTTPService','merge','_memberID','getValue','INVITE_CODE_HAS_BEEN_UES','startsWith','REDEMPTION_INVALID_CODE','lineTo','getParam','transformRemoteChangeset','registerRenderModule','toDisposable','144zzNfzq','getTypeOfUnitAdded$','onRendered','blue.400','@univerjs/ui','_toggleOnline','object','map','_getMergeRange','getCurrentRevOfUnit','stringify','_range','483282mjArSI','max','has','endColumn','@univerjs/drawing','_color','FormulaExecutedStateType','with','unload','_cursorInfo$','UnitStatus','Subject','SetSelectionsOperation','enableFrontendLog','functionsExecutedState','DocStateChangeManagerService','_commandService','xlink:href','_startSheetCollabCursor','[Window\x20Error]:\x20','UniverDocs','translate(.97)','UniverDocsUi','IConfigService','CollaborationSocketService','_memberService','SheetsSelectionsService','_name','IImageIoService','_themeService','handleInsertRangeMoveDown','_localCacheService','origin','MessageType','transformMutation','NO_OTHER_CLIENTS_EDITING','green.600','getUnhiddenWorksheets','EMAIL_HAS_BEEN_BOUND','handleIRemoveRow','createIdentifier','min','APPLY_REVISION_CONFILICT','_handleHover','useCallback','_onCursorUpdate','react','add','arc','Rectangle','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','REDEMPTION_CODE_HAS_BEEN_CREATED','_initEntityListener','toString','_releaseCalculationLimit','collabStatus.syncing','Tools','_clearPolling','debounceTime','entityInit$','useDependency','DisposableCollection','ISnapshotServerService','registerBeforeClose','href','CollaborationSessionService','defineProperty','undoState','handleInsertRangeMoveRight','LOGIN_TOKEN_PROCESSING_FAILED','Warning','IRemoteInstanceService','backgroundColor','m2Prime','_onCursorDelete','_initResize','getColor','_notificationService','dirtyRanges','CONFLICT','override','isEditing','15kgCvgH','ILocalCacheService','_syncEditingCollabCursorService','includes','_backgroundColor','BrowserCollaborationSocketService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','post','textRanges','USER_NOT_FOUND','@univerjs/design','2588484gZZYTy','location','_docSyncEditingCollabCursorService','NodePositionConvertToCursor','transformStateCache','UNDEFINED','DeleteRangeMoveLeftCommandId','RECT','univer-mr-2\x20univer-flex\x20univer-text-xl','DeleteRangeMoveUpCommandId','_dataLoaderService','_cursor','_updateSubUnitFromURLParams','handleIRemoveCol','m1Prime','_getAnchorBounding','@univerjs/network','@univerjs/sheets','_lastPointer','message','DependentOn','column','find','addClipboardHook','replace','defs','bind','enableLocalCache','findNodePositionByCharIndex','clearTimeout','fillRule','set','_lastResponseTimestamp','Inject','UniverEngineRender','cursorInfo$','_unitOnClients','newValue','0\x200\x2017\x2016','collaboration-client-ui.config','unitId','_applyCommand','_taskIds','setItem','values','44HWgNsi','send','WECHAT_HAS_BEEN_BOUND','code','collabStatus.offline','_collabCursorController','reconnect','REDEMPTION_CODE_NOT_STARTED','none','createInstance','REDEMPTION_USER_REDEEM_TIMES_EXCEED','MOBILE_HAS_BEEN_BOUND','registerDependencies','COLORS','SYNCED','_scheduleSaving','forEach','@univerjs-pro/collaboration-client','PERMISSION_DENIED','registerComponent','throttleTime','fill','_shapes','YUUMI_ASYNCIO_CANCELLED','ENTITLE_CAN_NOT_BUY_LOWER_OTP','distinctUntilChanged','takeUntil','engine','OFFLINE','_initUserListener','_docSkeleton','current','DOC_RANGE_TYPE','_handleHeartbeatEvent','uni.network.url-service','Module','fromEvent','@univerjs/engine-formula','getMemberID','parse','split','_refreshCollabCursors','1em','collaboration.offline-data-not-saved','_checkAndWaitForCalculationPermission','getSheetObject','YUUMI_AI_RUN_FAILED','on-line-icon','closePath','addObject','url(#off-line-icon_clip0_910_343)','_docStateChangeManagerService','rxjs','path','CollaborationEvent','mutations','_anchorDot','WebURLService','eventID','SOCKET_FAILED_RETRY','PENDING','_scheduleClearOtherTimer','REDEMPTION_CODE_FULLY_REDEEMED','pluginName','UNAUTHENTICATED','_initUnhandledRejectionListener','catch','_entityInit$','_collaborationController','collab-text-range-','unsubscribe','measureText','_labelPosition','IRenderManagerService','unitID','createSocket','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','bottom','ISocketService','[LogService\x20Error]:\x20','univerjs-icon\x20univerjs-icon-','YUUMI_UNABLE_LOAD_URL','_pollingInterval','IDocClipboardService','UniverCore','getUnitId','UniverDrawing','CanceledError'];_0x5688=function(){return _0x29a1e6;};return _0x5688();}function _0x4ca8(_0x1c687f,_0x183372){_0x1c687f=_0x1c687f-0x189;const _0x5688ee=_0x5688();let _0x4ca872=_0x5688ee[_0x1c687f];return _0x4ca872;}(function(_0x20423e,_0x4ad564){const _0x26719c=_0x4ca8,_0xe128f=_0x20423e();while(!![]){try{const _0x574428=-parseInt(_0x26719c(0x38c))/0x1+parseInt(_0x26719c(0x2bd))/0x2*(parseInt(_0x26719c(0x1bd))/0x3)+-parseInt(_0x26719c(0x1c1))/0x4*(parseInt(_0x26719c(0x285))/0x5)+parseInt(_0x26719c(0x290))/0x6+parseInt(_0x26719c(0x3cb))/0x7+-parseInt(_0x26719c(0x227))/0x8*(-parseInt(_0x26719c(0x233))/0x9)+-parseInt(_0x26719c(0x3b1))/0xa;if(_0x574428===_0x4ad564)break;else _0xe128f['push'](_0xe128f['shift']());}catch(_0x41fb6c){_0xe128f['push'](_0xe128f['shift']());}}}(_0x5688,0xd0ad6),function(_0x5fc012,_0x3f4802){const _0x1b958a=_0x4ca8;typeof exports==_0x1b958a(0x22d)&&typeof module<'u'?_0x3f4802(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==_0x1b958a(0x32c)&&define[_0x1b958a(0x36b)]?define([_0x1b958a(0x1df),_0x1b958a(0x1e3),_0x1b958a(0x2ce),_0x1b958a(0x1fb),_0x1b958a(0x22b),'rxjs',_0x1b958a(0x28f),_0x1b958a(0x261),_0x1b958a(0x39c),_0x1b958a(0x2a1),_0x1b958a(0x3d3),_0x1b958a(0x2a0),'@univerjs/docs-ui',_0x1b958a(0x237),_0x1b958a(0x362),_0x1b958a(0x1f9),_0x1b958a(0x2e2),'rxjs/operators',_0x1b958a(0x1c4)],_0x3f4802):(_0x5fc012=typeof globalThis<'u'?globalThis:_0x5fc012||self,_0x3f4802(_0x5fc012[_0x1b958a(0x387)]={},_0x5fc012['React'],_0x5fc012[_0x1b958a(0x19b)],_0x5fc012[_0x1b958a(0x311)],_0x5fc012['UniverUi'],_0x5fc012[_0x1b958a(0x2f1)],_0x5fc012['UniverDesign'],_0x5fc012[_0x1b958a(0x476)],_0x5fc012['UniverRpc'],_0x5fc012['UniverSheets'],_0x5fc012[_0x1b958a(0x2b2)],_0x5fc012['UniverNetwork'],_0x5fc012[_0x1b958a(0x249)],_0x5fc012[_0x1b958a(0x313)],_0x5fc012[_0x1b958a(0x467)],_0x5fc012[_0x1b958a(0x247)],_0x5fc012['UniverEngineFormula'],_0x5fc012['rxjs'][_0x1b958a(0x3b4)],_0x5fc012['UniverSheetsUi']));}(this,function(_0x37e3f4,_0x3d2e84,_0x4cce40,_0x88db4d,_0x2ff57e,_0x3b0fae,_0x37cc58,_0x5a810d,_0xe0b8d8,_0x125f36,_0xe27d05,_0x37abfe,_0x1fd691,_0x455754,_0x28fbb0,_0x3c0520,_0x52fd75,_0x31a1bf,_0x309330){'use strict';const _0x2be3c1=_0x4ca8;var _0x4ff436=Object[_0x2be3c1(0x275)],_0x129eae=(_0x593c33,_0xf135dd,_0x2f586f)=>_0xf135dd in _0x593c33?_0x4ff436(_0x593c33,_0xf135dd,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f586f}):_0x593c33[_0xf135dd]=_0x2f586f,_0x31ba17=(_0x5c5c3d,_0x2e0295,_0x5512a6)=>_0x129eae(_0x5c5c3d,typeof _0x2e0295!=_0x2be3c1(0x1fa)?_0x2e0295+'':_0x2e0295,_0x5512a6);function _0x217168({ref:_0x46689a,..._0x18e228}){const _0xe33285=_0x2be3c1,{icon:_0x3e82e8,id:_0x238937,className:_0x230661,extend:_0x449d41,..._0x36f0c1}=_0x18e228,_0x2ff550=(_0xe33285(0x30d)+_0x238937+'\x20'+(_0x230661||''))[_0xe33285(0x40f)](),_0x352bcf=_0x5a810d['useRef']('_'+_0x367607());return _0x27188a(_0x3e82e8,''+_0x238937,{'defIds':_0x3e82e8[_0xe33285(0x3d7)],'idSuffix':_0x352bcf[_0xe33285(0x2dc)]},{'ref':_0x46689a,'className':_0x2ff550,..._0x36f0c1},_0x449d41);}function _0x27188a(_0x3fd350,_0x535233,_0x539a93,_0x176564,_0x1f6e0e){const _0x5ebbfa=_0x2be3c1;return _0x5a810d[_0x5ebbfa(0x3a9)](_0x3fd350[_0x5ebbfa(0x354)],{'key':_0x535233,..._0x1da131(_0x3fd350,_0x539a93,_0x1f6e0e),..._0x176564},(_0x174b3e(_0x3fd350,_0x539a93)[_0x5ebbfa(0x1d2)]||[])['map']((_0x5780f0,_0xb6d09a)=>_0x27188a(_0x5780f0,_0x535233+'-'+_0x3fd350[_0x5ebbfa(0x354)]+'-'+_0xb6d09a,_0x539a93,void 0x0,_0x1f6e0e)));}function _0x1da131(_0x1f0aeb,_0x25b3d8,_0x59e11d){const _0x44d641=_0x2be3c1,_0x447d4a={..._0x1f0aeb['attrs']};_0x59e11d!=null&&_0x59e11d[_0x44d641(0x3b0)]&&_0x447d4a['fill']==='colorChannel1'&&(_0x447d4a[_0x44d641(0x2d2)]=_0x59e11d[_0x44d641(0x3b0)]),_0x1f0aeb[_0x44d641(0x354)]===_0x44d641(0x1a3)&&_0x447d4a['id']&&(_0x447d4a['id']=_0x447d4a['id']+_0x25b3d8[_0x44d641(0x437)]),Object['entries'](_0x447d4a)['forEach'](([_0x5a78f2,_0xf21bba])=>{const _0x323a5c=_0x44d641;_0x5a78f2==='mask'&&typeof _0xf21bba=='string'&&(_0x447d4a[_0x5a78f2]=_0xf21bba[_0x323a5c(0x2a8)](/url\(#(.*)\)/,_0x323a5c(0x318)+_0x25b3d8[_0x323a5c(0x437)]+')'));});const {defIds:_0x1b329b}=_0x25b3d8;return!_0x1b329b||_0x1b329b['length']===0x0||(_0x1f0aeb[_0x44d641(0x354)]===_0x44d641(0x352)&&_0x447d4a[_0x44d641(0x244)]&&(_0x447d4a[_0x44d641(0x244)]=_0x447d4a[_0x44d641(0x244)]+_0x25b3d8[_0x44d641(0x437)]),Object[_0x44d641(0x370)](_0x447d4a)[_0x44d641(0x2cd)](([_0x4e546c,_0x37fbeb])=>{const _0x10fd51=_0x44d641;typeof _0x37fbeb==_0x10fd51(0x47c)&&(_0x447d4a[_0x4e546c]=_0x37fbeb[_0x10fd51(0x2a8)](/url\(#(.*)\)/,'url(#$1'+_0x25b3d8[_0x10fd51(0x437)]+')'));})),_0x447d4a;}function _0x174b3e(_0x5bf7f7,_0x2c9efa){const _0x4e5321=_0x2be3c1;var _0x6d9aeb;const {defIds:_0x3227b2}=_0x2c9efa;return!_0x3227b2||_0x3227b2[_0x4e5321(0x413)]===0x0?_0x5bf7f7:_0x5bf7f7['tag']==='defs'&&((_0x6d9aeb=_0x5bf7f7['children'])!=null&&_0x6d9aeb[_0x4e5321(0x413)])?{..._0x5bf7f7,'children':_0x5bf7f7['children'][_0x4e5321(0x22e)](_0x40aa08=>typeof _0x40aa08[_0x4e5321(0x1da)]['id']==_0x4e5321(0x47c)&&_0x3227b2&&_0x3227b2['includes'](_0x40aa08['attrs']['id'])?{..._0x40aa08,'attrs':{..._0x40aa08[_0x4e5321(0x1da)],'id':_0x40aa08[_0x4e5321(0x1da)]['id']+_0x2c9efa[_0x4e5321(0x437)]}}:_0x40aa08)}:_0x5bf7f7;}function _0x367607(){const _0x3d572b=_0x2be3c1;return Math[_0x3d572b(0x33d)]()[_0x3d572b(0x268)](0x24)[_0x3d572b(0x41f)](0x2,0x8);}_0x217168[_0x2be3c1(0x428)]=_0x2be3c1(0x31c);const _0xad8bff={'tag':_0x2be3c1(0x474),'attrs':{'xmlns':_0x2be3c1(0x38d),'fill':_0x2be3c1(0x2c5),'viewBox':_0x2be3c1(0x3e6),'width':_0x2be3c1(0x2e7),'height':_0x2be3c1(0x2e7)},'children':[{'tag':'g','attrs':{'clipPath':_0x2be3c1(0x2ef)},'children':[{'tag':_0x2be3c1(0x2f2),'attrs':{'stroke':_0x2be3c1(0x3f1),'d':_0x2be3c1(0x1c6),'strokeLinecap':_0x2be3c1(0x1f1),'strokeLinejoin':_0x2be3c1(0x1f1),'strokeWidth':1.2}}]},{'tag':_0x2be3c1(0x2a9),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x2be3c1(0x34b)},'children':[{'tag':_0x2be3c1(0x2f2),'attrs':{'fill':_0x2be3c1(0x3b9),'d':_0x2be3c1(0x36e)}}]}]}],'defIds':[_0x2be3c1(0x34b)]},_0x350546=_0x5a810d[_0x2be3c1(0x3fe)](function(_0xe0ee5e,_0x25f6a2){const _0x3caf7a=_0x2be3c1;return _0x5a810d[_0x3caf7a(0x3a9)](_0x217168,Object['assign']({},_0xe0ee5e,{'id':_0x3caf7a(0x33a),'ref':_0x25f6a2,'icon':_0xad8bff}));});_0x350546[_0x2be3c1(0x428)]=_0x2be3c1(0x37d);const _0x23dbc7={'tag':_0x2be3c1(0x474),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x2be3c1(0x2b6),'width':_0x2be3c1(0x2e7),'height':_0x2be3c1(0x2e7)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x2be3c1(0x2f2),'attrs':{'stroke':_0x2be3c1(0x3f1),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x2be3c1(0x1f1),'strokeLinejoin':_0x2be3c1(0x1f1),'strokeWidth':1.2}}]},{'tag':_0x2be3c1(0x2a9),'attrs':{},'children':[{'tag':_0x2be3c1(0x328),'attrs':{'id':_0x2be3c1(0x1c7)},'children':[{'tag':_0x2be3c1(0x2f2),'attrs':{'fill':_0x2be3c1(0x3b9),'d':_0x2be3c1(0x36e),'transform':_0x2be3c1(0x248)}}]}]}],'defIds':[_0x2be3c1(0x1c7)]},_0x42e5a5=_0x5a810d['forwardRef'](function(_0x1ffc71,_0x1cc1c3){const _0x26d259=_0x2be3c1;return _0x5a810d['createElement'](_0x217168,Object[_0x26d259(0x390)]({},_0x1ffc71,{'id':_0x26d259(0x2ec),'ref':_0x1cc1c3,'icon':_0x23dbc7}));});_0x42e5a5[_0x2be3c1(0x428)]=_0x2be3c1(0x35d);function _0x43d454(_0x5571c5){const _0x3997df=_0x2be3c1;switch(_0x5571c5){case _0x4cce40['CollaborationStatus'][_0x3997df(0x2d9)]:return _0x3997df(0x2c1);case _0x4cce40[_0x3997df(0x202)]['CONFLICT']:return'collabStatus.conflict';case _0x4cce40[_0x3997df(0x202)][_0x3997df(0x417)]:return _0x3997df(0x414);case _0x4cce40[_0x3997df(0x202)][_0x3997df(0x323)]:return'collabStatus.notCollab';case _0x4cce40[_0x3997df(0x202)][_0x3997df(0x3a3)]:case _0x4cce40[_0x3997df(0x202)][_0x3997df(0x1c2)]:return _0x3997df(0x26a);case _0x4cce40['CollaborationStatus'][_0x3997df(0x2cb)]:case _0x4cce40[_0x3997df(0x202)][_0x3997df(0x2f9)]:return _0x3997df(0x458);}}function _0xc54cb7(_0x1fc73d){const _0x19aabb=_0x2be3c1,{status$:_0x1de49c}=_0x1fc73d,_0xbd570f=_0x2ff57e[_0x19aabb(0x332)](_0x1de49c,_0x4cce40[_0x19aabb(0x202)][_0x19aabb(0x323)]),_0x2bd048=_0x2ff57e[_0x19aabb(0x26f)](_0x88db4d['LocaleService']),_0x91e741=_0x2ff57e[_0x19aabb(0x26f)](_0x4cce40[_0x19aabb(0x274)]),_0xf4d021=_0xbd570f!==_0x4cce40[_0x19aabb(0x202)]['OFFLINE'],_0x4a6543=_0x2bd048['t'](_0x43d454(_0xbd570f)),_0x2d0530=_0xf4d021?_0x3d2e84[_0x19aabb(0x1e7)](_0x42e5a5,{}):_0x3d2e84[_0x19aabb(0x1e7)](_0x350546,{}),_0x578585=_0x5a810d[_0x19aabb(0x25f)](()=>{const _0x42fecd=_0x19aabb;_0xf4d021||_0x91e741[_0x42fecd(0x2c3)]();},[_0xf4d021,_0x91e741]);function _0x26d9e5(){const _0x19646a=_0x19aabb;return _0x3d2e84[_0x19646a(0x1b6)](_0x19646a(0x444),{'className':_0x19646a(0x45e),'onClick':_0x578585,'children':[_0x3d2e84['jsx'](_0x19646a(0x444),{'className':_0x37cc58[_0x19646a(0x40a)](_0x19646a(0x298),{'univer-text-green-500':_0xf4d021,'univer-text-red-500':!_0xf4d021}),'children':_0x2d0530}),_0x3d2e84[_0x19646a(0x1e7)]('div',{'className':_0x19646a(0x1b1),'children':_0x4a6543})]});}return _0xf4d021?_0x26d9e5():_0x3d2e84[_0x19aabb(0x1e7)](_0x37cc58[_0x19aabb(0x1ba)],{'title':_0x2bd048['t'](_0x19aabb(0x207)),'children':_0x26d9e5()});}var _0x2fb8d3=Object[_0x2be3c1(0x393)],_0x324dc6=(_0x1b6c2f,_0x28be3c,_0x23ec7f,_0x1e304c)=>{const _0x3a0c38=_0x2be3c1;for(var _0x408e13=_0x1e304c>0x1?void 0x0:_0x1e304c?_0x2fb8d3(_0x28be3c,_0x23ec7f):_0x28be3c,_0x1ee8b6=_0x1b6c2f[_0x3a0c38(0x413)]-0x1,_0xca2621;_0x1ee8b6>=0x0;_0x1ee8b6--)(_0xca2621=_0x1b6c2f[_0x1ee8b6])&&(_0x408e13=_0xca2621(_0x408e13)||_0x408e13);return _0x408e13;},_0x98f4e7=(_0x3f185e,_0x44cad1)=>(_0x227d12,_0x4048cd)=>_0x44cad1(_0x227d12,_0x4048cd,_0x3f185e);_0x37e3f4[_0x2be3c1(0x46e)]=class extends _0x88db4d[_0x2be3c1(0x39b)]{constructor(_0x803f52,_0x4344c6,_0x369575,_0x398d2c){const _0x4f3ca0=_0x2be3c1;super(),_0x31ba17(this,_0x4f3ca0(0x199),new _0x3b0fae[(_0x4f3ca0(0x3b8))](_0x4cce40[_0x4f3ca0(0x202)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x803f52,this['_injector']=_0x4344c6,this[_0x4f3ca0(0x301)]=_0x369575,this[_0x4f3ca0(0x447)]=_0x398d2c,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x2be3c1(0x18f)](){const _0x40106a=_0x2be3c1;this[_0x40106a(0x3ee)](this[_0x40106a(0x1b7)]['focused$'][_0x40106a(0x204)](_0x3b0fae[_0x40106a(0x3c8)](()=>{const _0x482c6d=_0x40106a,_0x58e031=this[_0x482c6d(0x1b7)][_0x482c6d(0x3c1)]();return _0x58e031?this['_collaborationController']['getCollabEntity$'](_0x58e031[_0x482c6d(0x312)]()):_0x3b0fae['of'](null);}),_0x3b0fae[_0x40106a(0x3c8)](_0x22f7f4=>_0x22f7f4?_0x22f7f4[_0x40106a(0x1d8)]:_0x3b0fae['of'](_0x4cce40['CollaborationStatus']['NOT_COLLAB'])))['subscribe'](_0x35fe9a=>{const _0x4f6ccd=_0x40106a;this['_status$'][_0x4f6ccd(0x34a)](_0x35fe9a);}));}[_0x2be3c1(0x345)](){const _0x5e5ff0=_0x2be3c1;this[_0x5e5ff0(0x3ee)](this[_0x5e5ff0(0x447)][_0x5e5ff0(0x2d0)](_0x2ff57e['BuiltInUIPart']['HEADER_MENU'],()=>_0x2ff57e['connectInjector'](_0x199a76({'status$':this[_0x5e5ff0(0x199)][_0x5e5ff0(0x42b)]()}),this['_injector'])));}},_0x37e3f4[_0x2be3c1(0x46e)]=_0x324dc6([_0x98f4e7(0x0,_0x88db4d[_0x2be3c1(0x43e)]),_0x98f4e7(0x1,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d['Injector'])),_0x98f4e7(0x2,_0x88db4d['Inject'](_0x4cce40[_0x2be3c1(0x330)])),_0x98f4e7(0x3,_0x2ff57e[_0x2be3c1(0x3e4)])],_0x37e3f4[_0x2be3c1(0x46e)]);function _0x199a76(_0x50fd09){const {status$:_0x242ba3}=_0x50fd09;return function(){const _0x43a168=_0x4ca8;return _0x3d2e84[_0x43a168(0x1e7)](_0xc54cb7,{'status$':_0x242ba3});};}const _0x58bcf2=_0x88db4d[_0x2be3c1(0x25b)](_0x2be3c1(0x2df));var _0x4e23ed=Object[_0x2be3c1(0x393)],_0x2c9fb0=(_0x4c51c9,_0x2f5f1a,_0x3a5cdd,_0x15aad4)=>{const _0x21cee3=_0x2be3c1;for(var _0x184718=_0x15aad4>0x1?void 0x0:_0x15aad4?_0x4e23ed(_0x2f5f1a,_0x3a5cdd):_0x2f5f1a,_0x3f8bc4=_0x4c51c9[_0x21cee3(0x413)]-0x1,_0x115463;_0x3f8bc4>=0x0;_0x3f8bc4--)(_0x115463=_0x4c51c9[_0x3f8bc4])&&(_0x184718=_0x115463(_0x184718)||_0x184718);return _0x184718;},_0x5cf65a=(_0x2e8166,_0x4f14c0)=>(_0x53cdc5,_0x304909)=>_0x4f14c0(_0x53cdc5,_0x304909,_0x2e8166);_0x37e3f4[_0x2be3c1(0x343)]=class extends _0x88db4d[_0x2be3c1(0x3f0)]{constructor(_0x25d042,_0x5e4012,_0x3c432,_0x1e925e,_0x25d9f3){const _0x7c4562=_0x2be3c1;super(),this[_0x7c4562(0x45a)]=_0x25d042,this['_logService']=_0x5e4012,this[_0x7c4562(0x243)]=_0x3c432,this['_dataLoaderService']=_0x1e925e,_0x25d9f3?_0x25d9f3==null||_0x25d9f3[_0x7c4562(0x1a9)]()['then'](()=>this[_0x7c4562(0x43c)]()):(this[_0x7c4562(0x1ee)][_0x7c4562(0x3aa)]('[CollaborationDataLoaderController]',_0x7c4562(0x380)),this['_init']());}async[_0x2be3c1(0x43c)](){const _0x38531f=_0x2be3c1,_0x4a030d=this[_0x38531f(0x45a)][_0x38531f(0x223)](_0x38531f(0x3e1)),_0x7ad8a2=this[_0x38531f(0x45a)][_0x38531f(0x223)](_0x38531f(0x3bd)),_0x33bb48=this[_0x38531f(0x45a)][_0x38531f(0x223)]('subunit');if(!_0x4a030d||!_0x7ad8a2){this['_logService'][_0x38531f(0x3aa)]('[CollaborationDataLoaderController]',_0x38531f(0x367));return;}const _0x5b180b=await this[_0x38531f(0x29a)][_0x38531f(0x431)](_0x4a030d,Number(_0x7ad8a2),_0x33bb48);_0x5b180b&&_0x5b180b instanceof _0x88db4d[_0x38531f(0x3fb)]&&this['_setupSubUnitSync'](_0x5b180b);}async[_0x2be3c1(0x203)](_0x37d17c){const _0x483a9b=_0x2be3c1;await this[_0x483a9b(0x29c)](_0x37d17c),_0x37d17c[_0x483a9b(0x3b6)]['pipe'](_0x3b0fae[_0x483a9b(0x2d7)](this[_0x483a9b(0x35b)]))[_0x483a9b(0x1f2)](_0x4d1c7f=>{const _0x33410d=_0x483a9b;_0x4d1c7f&&this[_0x33410d(0x472)](_0x4d1c7f);}),this[_0x483a9b(0x45a)][_0x483a9b(0x39f)]['pipe'](_0x3b0fae[_0x483a9b(0x2d7)](this[_0x483a9b(0x35b)]))[_0x483a9b(0x1f2)](()=>this['_updateSubUnitFromURLParams'](_0x37d17c));}[_0x2be3c1(0x472)](_0x323145,_0x534a09=!0x1){const _0x4e7d86=_0x2be3c1,_0x511df5=this[_0x4e7d86(0x45a)]['getParam']('subunit');_0x323145[_0x4e7d86(0x37b)]()!==_0x511df5&&this[_0x4e7d86(0x45a)][_0x4e7d86(0x433)](_0x4e7d86(0x482),_0x323145[_0x4e7d86(0x37b)](),_0x534a09);}async[_0x2be3c1(0x29c)](_0x2e7822){const _0x4b8e5b=_0x2be3c1;var _0x16eff8;const _0x366f78=this[_0x4b8e5b(0x45a)]['getParam'](_0x4b8e5b(0x482));if(!_0x366f78||!_0x2e7822[_0x4b8e5b(0x1a0)](_0x366f78)){const _0x496021=_0x2e7822[_0x4b8e5b(0x258)]()[0x0],_0x2e4de3=_0x2e7822[_0x4b8e5b(0x1a0)](_0x496021);if(!_0x2e4de3)return;this[_0x4b8e5b(0x472)](_0x2e4de3,!0x0),await this[_0x4b8e5b(0x243)][_0x4b8e5b(0x33c)](_0x125f36[_0x4b8e5b(0x427)]['id'],{'unitId':_0x2e7822['getUnitId'](),'subUnitId':_0x496021});return;}((_0x16eff8=_0x2e7822[_0x4b8e5b(0x218)]())==null?void 0x0:_0x16eff8['getSheetId']())!==_0x366f78&&await this[_0x4b8e5b(0x243)][_0x4b8e5b(0x33c)](_0x125f36['SetWorksheetActivateCommand']['id'],{'unitId':_0x2e7822['getUnitId'](),'subUnitId':_0x366f78});}},_0x37e3f4[_0x2be3c1(0x343)]=_0x2c9fb0([_0x5cf65a(0x0,_0x58bcf2),_0x5cf65a(0x1,_0x88db4d[_0x2be3c1(0x193)]),_0x5cf65a(0x2,_0x88db4d['ICommandService']),_0x5cf65a(0x3,_0x88db4d[_0x2be3c1(0x2b1)](_0x4cce40['DataLoaderService'])),_0x5cf65a(0x4,_0x88db4d['Optional'](_0xe0b8d8[_0x2be3c1(0x27a)]))],_0x37e3f4[_0x2be3c1(0x343)]);var _0x1fd129=Object['getOwnPropertyDescriptor'],_0x4a6af2=(_0x3fa966,_0x33835c,_0x47d03e,_0x38d96f)=>{const _0x4705be=_0x2be3c1;for(var _0xe91cd4=_0x38d96f>0x1?void 0x0:_0x38d96f?_0x1fd129(_0x33835c,_0x47d03e):_0x33835c,_0xfa9293=_0x3fa966[_0x4705be(0x413)]-0x1,_0x39838b;_0xfa9293>=0x0;_0xfa9293--)(_0x39838b=_0x3fa966[_0xfa9293])&&(_0xe91cd4=_0x39838b(_0xe91cd4)||_0xe91cd4);return _0xe91cd4;},_0x589813=(_0x190af7,_0x500efa)=>(_0x1224f0,_0x1e7d66)=>_0x500efa(_0x1224f0,_0x1e7d66,_0x190af7);let _0x53cf70=class extends _0x88db4d[_0x2be3c1(0x3f0)]{constructor(_0x1ef515,_0x17509c){const _0x15941b=_0x2be3c1;super(),this[_0x15941b(0x466)]=_0x1ef515,this[_0x15941b(0x477)]=_0x17509c,this[_0x15941b(0x43c)]();}[_0x2be3c1(0x43c)](){const _0x18ca71=_0x2be3c1,_0x80a06d=this;this['disposeWithMe'](this[_0x18ca71(0x466)][_0x18ca71(0x2a7)]({'onBeforePasteImage':async _0x161610=>{const _0x4e501d=_0x18ca71,_0x394a0d=await _0x80a06d[_0x4e501d(0x477)]['saveImage'](_0x161610);return _0x394a0d?{'source':_0x394a0d[_0x4e501d(0x1cb)],'imageSourceType':_0x394a0d['imageSourceType']}:null;}}));}};_0x53cf70=_0x4a6af2([_0x589813(0x0,_0x1fd691[_0x2be3c1(0x310)]),_0x589813(0x1,_0x455754[_0x2be3c1(0x24f)])],_0x53cf70);const _0x1a3ad0=[_0x2be3c1(0x389),'jiqing.500',_0x2be3c1(0x257),_0x2be3c1(0x395),_0x2be3c1(0x22a),_0x2be3c1(0x3f3)];class _0x469c3c extends _0x88db4d[_0x2be3c1(0x39b)]{constructor(){const _0x10308a=_0x2be3c1;super(...arguments),_0x31ba17(this,_0x10308a(0x196),new Map()),_0x31ba17(this,_0x10308a(0x371),0x0);}[_0x2be3c1(0x402)](_0x575076){const _0x12588b=_0x2be3c1;if(this[_0x12588b(0x196)][_0x12588b(0x235)](_0x575076))return this['_assignedColors'][_0x12588b(0x489)](_0x575076);const _0x2fadfb=_0x1a3ad0[this[_0x12588b(0x371)]];return this[_0x12588b(0x371)]=(this[_0x12588b(0x371)]+0x1)%_0x1a3ad0['length'],this['_assignedColors'][_0x12588b(0x2af)](_0x575076,_0x2fadfb),_0x2fadfb;}}function _0x1b67b(_0x2cea5d){const _0x598c5d=_0x2be3c1;let _0x414456='';for(const _0x3061a3 of _0x2cea5d){const {startOffset:_0xed4959,endOffset:_0x3be2a9,isActive:_0x358eee,rangeType:_0x506a24,segmentId:_0x108d9f,segmentPage:_0x3acd86}=_0x3061a3;_0x414456[_0x598c5d(0x413)]&&(_0x414456+=','),_0x414456+=_0xed4959+':'+_0x3be2a9+':'+(_0x358eee?'1':'0')+':'+_0x506a24+':'+_0x108d9f+':'+_0x3acd86;}return _0x414456;}function _0xd6e2b0(_0x3a75a3){const _0x364921=_0x2be3c1,_0x1c0ed3=_0x3a75a3[_0x364921(0x2e5)](','),_0x5dc4bb=[];for(const _0x5a50a7 of _0x1c0ed3){const [_0xa13608,_0x3ef02d,_0x42f32b,_0x3363a4,_0x459a1d,_0x51b42e]=_0x5a50a7[_0x364921(0x2e5)](':');_0x5dc4bb[_0x364921(0x339)]({'startOffset':Number(_0xa13608),'endOffset':Number(_0x3ef02d),'collapsed':_0xa13608===_0x3ef02d,'isActive':_0x42f32b==='1','rangeType':_0x3363a4===_0x88db4d[_0x364921(0x2dd)][_0x364921(0x1eb)]?_0x88db4d[_0x364921(0x2dd)][_0x364921(0x1eb)]:_0x88db4d['DOC_RANGE_TYPE'][_0x364921(0x297)],'segmentId':typeof _0x459a1d==_0x364921(0x47c)?String(_0x459a1d):'','segmentPage':Number(_0x51b42e!=null?_0x51b42e:-0x1)});}return _0x5dc4bb[_0x364921(0x1a6)](_0xe6fead=>_0xe6fead[_0x364921(0x3fc)])||(_0x5dc4bb[0x0][_0x364921(0x3fc)]=!0x0),_0x5dc4bb;}class _0x5ae914 extends _0x88db4d[_0x2be3c1(0x3f0)]{constructor(){const _0x34c01b=_0x2be3c1;super(...arguments),_0x31ba17(this,_0x34c01b(0x469),new _0x3b0fae[(_0x34c01b(0x3b8))](null)),_0x31ba17(this,_0x34c01b(0x479),this['_collabCursorState$']['asObservable']());}['syncEditingCollabCursor'](_0x75d2fe){const _0x2ac320=_0x2be3c1,{unitID:_0xe59c05,memberID:_0x29a02d,textRanges:_0x44f841}=_0x75d2fe,_0x2310c5=_0x1b67b(_0x44f841);if(_0x2310c5==='')return;const _0x1675ef={'unitID':_0xe59c05,'memberID':_0x29a02d,'selection':_0x2310c5};this[_0x2ac320(0x469)][_0x2ac320(0x34a)](_0x1675ef);}}var _0x451c12=Object['getOwnPropertyDescriptor'],_0x570ac6=(_0x973537,_0x145099,_0x564c1d,_0x28a08f)=>{for(var _0x5bd05e=_0x28a08f>0x1?void 0x0:_0x28a08f?_0x451c12(_0x145099,_0x564c1d):_0x145099,_0x416172=_0x973537['length']-0x1,_0x4e170b;_0x416172>=0x0;_0x416172--)(_0x4e170b=_0x973537[_0x416172])&&(_0x5bd05e=_0x4e170b(_0x5bd05e)||_0x5bd05e);return _0x5bd05e;},_0x5cd293=(_0x448c7c,_0x5f37e2)=>(_0x43ae90,_0x587de3)=>_0x5f37e2(_0x43ae90,_0x587de3,_0x448c7c);const _0x2d7324=0x12c,_0x2d8af4=0x64;let _0x164a3b=class extends _0x88db4d[_0x2be3c1(0x3f0)]{constructor(_0xc7c9af,_0x1f0cb8,_0x510734,_0x312504,_0x4c318c,_0xfaa7a,_0x2e9e28,_0x2da049,_0x557dd9){const _0x39cb7c=_0x2be3c1;super(),_0x31ba17(this,'_online',!0x1),_0x31ba17(this,_0x39cb7c(0x43c),!0x1),_0x31ba17(this,_0x39cb7c(0x23c),new _0x3b0fae[(_0x39cb7c(0x3b8))](new Map())),_0x31ba17(this,_0x39cb7c(0x2b3),this[_0x39cb7c(0x23c)][_0x39cb7c(0x42b)]()),_0x31ba17(this,'_roomMembers$',new _0x3b0fae[(_0x39cb7c(0x3b8))]([])),_0x31ba17(this,_0x39cb7c(0x3f6),this['_roomMembers$'][_0x39cb7c(0x204)](_0x3b0fae[_0x39cb7c(0x26d)](_0x2d7324))),_0x31ba17(this,'_updateLocalCursor',_0x88db4d[_0x39cb7c(0x452)](_0x570767=>{const _0x5d7cb4=_0x39cb7c,_0x4989d={'eventID':_0x28fbb0[_0x5d7cb4(0x2f3)][_0x5d7cb4(0x3cc)],'data':{'unitID':this[_0x5d7cb4(0x307)],'memberID':this['_session']['getMemberID'](),'selection':_0x1b67b(_0x570767)}};this[_0x5d7cb4(0x1f6)]['send'](_0x4989d,this[_0x5d7cb4(0x307)]);},_0x2d8af4)),(this[_0x39cb7c(0x307)]=_0xc7c9af,this['_session']=_0x1f0cb8,this['_injector']=_0x510734,this[_0x39cb7c(0x471)]=_0x312504,this['_memberService']=_0x4c318c,this['_syncEditingCollabCursorService']=_0xfaa7a,this['_transformService']=_0x2e9e28,this[_0x39cb7c(0x1b7)]=_0x2da049,this['_commandService']=_0x557dd9);}get[_0x2be3c1(0x1e2)](){const _0x4e74d5=_0x2be3c1;return this[_0x4e74d5(0x23c)][_0x4e74d5(0x21e)]();}get[_0x2be3c1(0x3ce)](){const _0x3e6b84=_0x2be3c1;return this[_0x3e6b84(0x405)][_0x3e6b84(0x21e)]();}[_0x2be3c1(0x1a4)](){const _0x2ff811=_0x2be3c1;super[_0x2ff811(0x1a4)](),this[_0x2ff811(0x23c)][_0x2ff811(0x34a)](new Map()),this['_cursorInfo$'][_0x2ff811(0x3f9)](),this[_0x2ff811(0x405)]['next']([]),this['_roomMembers$'][_0x2ff811(0x3f9)]();}[_0x2be3c1(0x394)](){const _0x1b20ae=_0x2be3c1;this['_init']||(this[_0x1b20ae(0x43c)]=!0x0,this[_0x1b20ae(0x1f6)]['sessionStatus$'][_0x1b20ae(0x204)](_0x3b0fae['takeUntil'](this[_0x1b20ae(0x35b)]))['subscribe'](_0xae5195=>{const _0x396913=_0x1b20ae;_0xae5195===_0x4cce40['SessionStatus'][_0x396913(0x1fe)]?this[_0x396913(0x22c)]():this[_0x396913(0x1dd)]();}),this['_session']['event$']['pipe'](_0x3b0fae[_0x1b20ae(0x2d7)](this[_0x1b20ae(0x35b)]))[_0x1b20ae(0x1f2)](_0x555f12=>{const _0x5b2eb4=_0x1b20ae,_0x14716c=_0x555f12[_0x5b2eb4(0x2f7)];_0x14716c===_0x28fbb0['CollaborationEvent'][_0x5b2eb4(0x3cc)]&&this[_0x5b2eb4(0x260)](_0x555f12),_0x14716c===_0x28fbb0[_0x5b2eb4(0x2f3)][_0x5b2eb4(0x46c)]&&this[_0x5b2eb4(0x27d)](_0x555f12);}),this[_0x1b20ae(0x3ee)](this[_0x1b20ae(0x243)][_0x1b20ae(0x1b3)](_0x3ea53c=>{const _0x4d7ab4=_0x1b20ae,_0x6edaeb=_0x3ea53c[_0x4d7ab4(0x317)];_0x6edaeb!=null&&this['_online']&&_0x3ea53c['id']===_0x3c0520[_0x4d7ab4(0x3ea)]['id']&&_0x6edaeb[_0x4d7ab4(0x2b8)]===this[_0x4d7ab4(0x307)]&&_0x6edaeb[_0x4d7ab4(0x284)]===!0x1&&_0x6edaeb[_0x4d7ab4(0x1bc)][_0x4d7ab4(0x413)]>0x0&&this[_0x4d7ab4(0x3be)](_0x6edaeb['ranges']);})),this[_0x1b20ae(0x287)][_0x1b20ae(0x479)][_0x1b20ae(0x204)](_0x3b0fae[_0x1b20ae(0x2d7)](this[_0x1b20ae(0x35b)]))[_0x1b20ae(0x1f2)](_0x8be2ef=>{const _0x54e0e2=_0x1b20ae;if((_0x8be2ef==null?void 0x0:_0x8be2ef[_0x54e0e2(0x307)])!==this[_0x54e0e2(0x307)])return;const _0x54b25d={'eventID':_0x28fbb0[_0x54e0e2(0x2f3)]['UPDATE_CURSOR'],'data':_0x8be2ef};this[_0x54e0e2(0x260)](_0x54b25d);}),this['disposeWithMe'](this[_0x1b20ae(0x243)][_0x1b20ae(0x1b3)](_0x36027e=>{const _0x2083df=_0x1b20ae;if(_0x36027e[_0x2083df(0x317)]==null)return;const _0x5c4da6=_0x36027e[_0x2083df(0x317)];if(_0x36027e['id']!==_0x3c0520[_0x2083df(0x37a)]['id']||_0x5c4da6[_0x2083df(0x2b8)]!==this[_0x2083df(0x307)])return;const _0x2cc98d={'id':_0x2083df(0x198),'params':_0x5c4da6},_0x2626e8=this[_0x2083df(0x1e2)];for(const [_0x20aad2,_0x2d8a77]of _0x2626e8){const _0x2254d8={'id':_0x2083df(0x198),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x2d8a77[_0x2083df(0x1bc)]}},_0x35e073=this[_0x2083df(0x46d)][_0x2083df(0x255)](_0x2cc98d,_0x2254d8,!0x1);if(_0x28fbb0[_0x2083df(0x440)](_0x35e073))throw _0x35e073['error'];_0x2626e8[_0x2083df(0x2af)](_0x20aad2,{..._0x2d8a77,'ranges':_0x35e073[_0x2083df(0x27c)]['params'][_0x2083df(0x28d)]});}queueMicrotask(()=>{const _0x4b3b71=_0x2083df;this[_0x4b3b71(0x23c)][_0x4b3b71(0x34a)](_0x2626e8);});})));}[_0x2be3c1(0x260)](_0xb8e736){const _0x283b5c=_0x2be3c1;var _0x95c7f8,_0x4f840f;const {memberID:_0x521ae7,selection:_0x24711b}=_0xb8e736[_0x283b5c(0x32b)],_0x3f59d7=_0xd6e2b0(_0x24711b),_0x4a007e=(_0x4f840f=(_0x95c7f8=this[_0x283b5c(0x24c)][_0x283b5c(0x315)](this[_0x283b5c(0x307)],_0x521ae7))==null?void 0x0:_0x95c7f8[_0x283b5c(0x429)])!=null?_0x4f840f:_0x283b5c(0x3c3),_0x282b95={'color':this[_0x283b5c(0x471)][_0x283b5c(0x402)](_0x521ae7),'name':_0x4a007e,'ranges':_0x3f59d7},_0x4e78d1=this['cursorInfo'];_0x4e78d1['set'](_0x521ae7,_0x282b95),this['_cursorInfo$'][_0x283b5c(0x34a)](_0x4e78d1);}[_0x2be3c1(0x27d)](_0x5b7972){const _0x4ebc0f=_0x2be3c1,{memberID:_0x30c4b3}=_0x5b7972[_0x4ebc0f(0x32b)],_0x21bab2=this[_0x4ebc0f(0x1e2)];_0x21bab2[_0x4ebc0f(0x3e0)](_0x30c4b3),this[_0x4ebc0f(0x23c)][_0x4ebc0f(0x34a)](_0x21bab2);}[_0x2be3c1(0x22c)](){const _0x4f6f0b=_0x2be3c1;var _0x2426cb;if(this[_0x4f6f0b(0x3cd)]=!0x0,((_0x2426cb=this[_0x4f6f0b(0x1b7)]['getFocusedUnit']())==null?void 0x0:_0x2426cb[_0x4f6f0b(0x312)]())!==this[_0x4f6f0b(0x307)])return;const _0x3cff79=this['_injector'][_0x4f6f0b(0x489)](_0x3c0520[_0x4f6f0b(0x41a)])[_0x4f6f0b(0x3ed)]();Array['isArray'](_0x3cff79)&&_0x3cff79[_0x4f6f0b(0x413)]>0x0&&this[_0x4f6f0b(0x3be)](_0x3cff79);}[_0x2be3c1(0x1dd)](){const _0x5ae4b2=_0x2be3c1;this[_0x5ae4b2(0x3cd)]=!0x1;}};_0x164a3b=_0x570ac6([_0x5cd293(0x2,_0x88db4d['Inject'](_0x88db4d[_0x2be3c1(0x3db)])),_0x5cd293(0x3,_0x88db4d[_0x2be3c1(0x2b1)](_0x469c3c)),_0x5cd293(0x4,_0x88db4d['Inject'](_0x4cce40[_0x2be3c1(0x3dc)])),_0x5cd293(0x5,_0x88db4d[_0x2be3c1(0x2b1)](_0x5ae914)),_0x5cd293(0x6,_0x28fbb0['ITransformService']),_0x5cd293(0x7,_0x88db4d[_0x2be3c1(0x43e)]),_0x5cd293(0x8,_0x88db4d[_0x2be3c1(0x355)])],_0x164a3b);var _0x47db12=Object[_0x2be3c1(0x393)],_0x22a41b=(_0x4e5a24,_0x4981f7,_0x262e83,_0x2153de)=>{const _0x571584=_0x2be3c1;for(var _0x2e5603=_0x2153de>0x1?void 0x0:_0x2153de?_0x47db12(_0x4981f7,_0x262e83):_0x4981f7,_0x54a2b8=_0x4e5a24[_0x571584(0x413)]-0x1,_0x1e6488;_0x54a2b8>=0x0;_0x54a2b8--)(_0x1e6488=_0x4e5a24[_0x54a2b8])&&(_0x2e5603=_0x1e6488(_0x2e5603)||_0x2e5603);return _0x2e5603;},_0x49d8dc=(_0x53cbff,_0xcc0068)=>(_0x439bf8,_0x4b7c71)=>_0xcc0068(_0x439bf8,_0x4b7c71,_0x53cbff);const _0x2c8fc0=0x12c,_0x503ef5=0x64,_0x57e16a=()=>{let _0x20b2fa=[],_0x1fa9d3=!0x1;return _0x2dc7fb=>{const _0x52783f=_0x4ca8;_0x20b2fa[_0x52783f(0x339)](_0x2dc7fb),_0x1fa9d3||(_0x1fa9d3=!0x0,setTimeout(()=>{const _0x36c1f7=_0x52783f;_0x20b2fa[_0x36c1f7(0x2cd)](_0x2926c4=>_0x2926c4()),_0x20b2fa=[],_0x1fa9d3=!0x1;}));};};let _0x14f87c=class extends _0x88db4d['RxDisposable']{constructor(_0x3f507a,_0x262d7e,_0x57530b,_0x5b209f,_0x5c62aa,_0x2a4ff4,_0x5a7f03,_0x14d7e8){const _0x2d4c55=_0x2be3c1;super(),_0x31ba17(this,'_online',!0x1),_0x31ba17(this,'_init',!0x1),_0x31ba17(this,'_cursorInfo$',new _0x3b0fae['BehaviorSubject'](new Map())),_0x31ba17(this,_0x2d4c55(0x2b3),this[_0x2d4c55(0x23c)][_0x2d4c55(0x42b)]()),_0x31ba17(this,_0x2d4c55(0x405),new _0x3b0fae[(_0x2d4c55(0x3b8))]([])),_0x31ba17(this,_0x2d4c55(0x3f6),this['_roomMembers$'][_0x2d4c55(0x204)](_0x3b0fae['debounceTime'](_0x2c8fc0))),_0x31ba17(this,'_updateLocalCursor',_0x88db4d[_0x2d4c55(0x452)]((_0x1ef915,_0x566b68)=>{const _0x36b2c0=_0x2d4c55,_0xe282ea={'eventID':_0x28fbb0['CollaborationEvent'][_0x36b2c0(0x3cc)],'data':{'unitID':this['unitID'],'memberID':this[_0x36b2c0(0x1f6)][_0x36b2c0(0x2e3)](),'selection':_0x52fd75[_0x36b2c0(0x200)](_0x1ef915,_0x566b68['range'])}};this[_0x36b2c0(0x1f6)][_0x36b2c0(0x2be)](_0xe282ea,this['unitID']);},_0x503ef5)),(this[_0x2d4c55(0x307)]=_0x3f507a,this[_0x2d4c55(0x1f6)]=_0x262d7e,this[_0x2d4c55(0x363)]=_0x57530b,this['_colorAssignService']=_0x5b209f,this[_0x2d4c55(0x24c)]=_0x5c62aa,this[_0x2d4c55(0x1b7)]=_0x2a4ff4,this[_0x2d4c55(0x243)]=_0x5a7f03,this['_refRangeService']=_0x14d7e8);}get[_0x2be3c1(0x1e2)](){const _0x28238f=_0x2be3c1;return this[_0x28238f(0x23c)]['getValue']();}get[_0x2be3c1(0x3ce)](){const _0x5c7f23=_0x2be3c1;return this[_0x5c7f23(0x405)][_0x5c7f23(0x21e)]();}['dispose'](){const _0x8e5c79=_0x2be3c1;super[_0x8e5c79(0x1a4)](),this[_0x8e5c79(0x23c)][_0x8e5c79(0x34a)](new Map()),this[_0x8e5c79(0x23c)][_0x8e5c79(0x3f9)](),this[_0x8e5c79(0x405)]['next']([]),this[_0x8e5c79(0x405)]['complete']();}[_0x2be3c1(0x394)](){const _0x28fe6d=_0x2be3c1;this['_init']||(this[_0x28fe6d(0x43c)]=!0x0,this[_0x28fe6d(0x1f6)]['sessionStatus$'][_0x28fe6d(0x204)](_0x3b0fae[_0x28fe6d(0x2d7)](this[_0x28fe6d(0x35b)]))[_0x28fe6d(0x1f2)](_0x196b54=>{const _0x99165e=_0x28fe6d;_0x196b54===_0x4cce40[_0x99165e(0x33b)][_0x99165e(0x1fe)]?this['_toggleOnline']():this[_0x99165e(0x1dd)]();}),this[_0x28fe6d(0x1f6)]['event$']['pipe'](_0x3b0fae[_0x28fe6d(0x2d7)](this[_0x28fe6d(0x35b)]))['subscribe'](_0x2f4941=>{const _0x194b8c=_0x28fe6d,_0x46ee2d=_0x2f4941[_0x194b8c(0x2f7)];_0x46ee2d===_0x28fbb0[_0x194b8c(0x2f3)][_0x194b8c(0x3cc)]&&this[_0x194b8c(0x260)](_0x2f4941),_0x46ee2d===_0x28fbb0[_0x194b8c(0x2f3)][_0x194b8c(0x46c)]&&this[_0x194b8c(0x27d)](_0x2f4941);}),this[_0x28fe6d(0x457)](),this[_0x28fe6d(0x3ee)](this['_commandService'][_0x28fe6d(0x1b3)](_0x2248b7=>{const _0x4cd8da=_0x28fe6d;if(this[_0x4cd8da(0x3cd)]&&_0x2248b7['id']===_0x125f36[_0x4cd8da(0x23f)]['id']&&_0x2248b7['params']['unitId']===this['unitID']){const _0x334b49=_0x2248b7[_0x4cd8da(0x317)];this[_0x4cd8da(0x3be)](_0x334b49[_0x4cd8da(0x32f)],_0x334b49['selections'][0x0]);}})));}['_onCursorUpdate'](_0x515f9d){const _0x1a4d69=_0x2be3c1;var _0x4f53c6,_0x1c5fe0;const {memberID:_0x2ea4f5,selection:_0x5f1ed8}=_0x515f9d['data'],{sheetName:_0x5d581d,range:_0x59029b}=_0x52fd75[_0x1a4d69(0x423)](_0x5f1ed8),_0x1003f5={'name':(_0x1c5fe0=(_0x4f53c6=this['_memberService'][_0x1a4d69(0x315)](this[_0x1a4d69(0x307)],_0x2ea4f5))==null?void 0x0:_0x4f53c6[_0x1a4d69(0x429)])!=null?_0x1c5fe0:'Unknown\x20user','range':this[_0x1a4d69(0x22f)](_0x5d581d,_0x59029b),'sheetID':_0x5d581d,'color':this[_0x1a4d69(0x471)][_0x1a4d69(0x402)](_0x2ea4f5),'selection':_0x5f1ed8},_0x3047d2=this[_0x1a4d69(0x1e2)];_0x3047d2[_0x1a4d69(0x2af)](_0x2ea4f5,_0x1003f5),this[_0x1a4d69(0x23c)][_0x1a4d69(0x34a)](_0x3047d2);}[_0x2be3c1(0x27d)](_0x5a590f){const _0x250173=_0x2be3c1,{memberID:_0x5e769b}=_0x5a590f['data'],_0xb5d6c3=this[_0x250173(0x1e2)];_0xb5d6c3[_0x250173(0x3e0)](_0x5e769b),this[_0x250173(0x23c)][_0x250173(0x34a)](_0xb5d6c3);}['_getMergeRange'](_0x28fc10,_0x226f0b){const _0x2b5e0b=_0x2be3c1;var _0x5901b4,_0x249522;const _0x2abcdd=(_0x249522=(_0x5901b4=this[_0x2b5e0b(0x1b7)][_0x2b5e0b(0x379)](this[_0x2b5e0b(0x307)]))==null?void 0x0:_0x5901b4[_0x2b5e0b(0x1a0)](_0x28fc10))==null?void 0x0:_0x249522[_0x2b5e0b(0x197)]();return(_0x2abcdd==null?void 0x0:_0x2abcdd[_0x2b5e0b(0x2a6)](_0x1b52df=>_0x88db4d[_0x2b5e0b(0x264)][_0x2b5e0b(0x1fc)](_0x1b52df,_0x226f0b)))||_0x226f0b;}[_0x2be3c1(0x457)](){const _0x41ee54=_0x2be3c1,_0x2995d5=new _0x88db4d[(_0x41ee54(0x270))](),_0x2975b2=_0x57e16a(),_0x13735b=()=>{const _0x53f274=_0x41ee54;_0x2995d5[_0x53f274(0x1a4)]();const _0x557d69=(_0x3544a1,_0x2bf47b,_0x5e401f,_0x517bcc)=>{const _0x35c01f=_0x53f274;let _0x4cc658=[];switch(_0x3544a1['id']){case _0x125f36['EffectRefRangId'][_0x35c01f(0x296)]:{_0x4cc658=_0x125f36['handleDeleteRangeMoveLeft'](_0x3544a1,_0x517bcc);break;}case _0x125f36[_0x35c01f(0x3b7)][_0x35c01f(0x299)]:{_0x4cc658=_0x125f36['handleDeleteRangeMoveUp'](_0x3544a1,_0x517bcc);break;}case _0x125f36[_0x35c01f(0x3b7)][_0x35c01f(0x1c8)]:{_0x4cc658=_0x125f36[_0x35c01f(0x346)](_0x3544a1,_0x517bcc);break;}case _0x125f36['EffectRefRangId'][_0x35c01f(0x20b)]:{_0x4cc658=_0x125f36[_0x35c01f(0x251)](_0x3544a1,_0x517bcc);break;}case _0x125f36[_0x35c01f(0x3b7)]['InsertRangeMoveRightCommandId']:{_0x4cc658=_0x125f36[_0x35c01f(0x277)](_0x3544a1,_0x517bcc);break;}case _0x125f36[_0x35c01f(0x3b7)][_0x35c01f(0x1ae)]:{_0x4cc658=_0x125f36[_0x35c01f(0x378)](_0x3544a1,_0x517bcc);break;}case _0x125f36[_0x35c01f(0x3b7)][_0x35c01f(0x356)]:{_0x4cc658=_0x125f36['handleMoveRange'](_0x3544a1,_0x517bcc);break;}case _0x125f36['EffectRefRangId'][_0x35c01f(0x3a4)]:{_0x4cc658=_0x125f36[_0x35c01f(0x29d)](_0x3544a1,_0x517bcc);break;}case _0x125f36['EffectRefRangId'][_0x35c01f(0x41b)]:{_0x4cc658=_0x125f36[_0x35c01f(0x25a)](_0x3544a1,_0x517bcc);break;}}const _0x3889b5=_0x125f36[_0x35c01f(0x361)](_0x4cc658,_0x517bcc),_0x14025c=this[_0x35c01f(0x1e2)][_0x35c01f(0x489)](_0x2bf47b);if(_0x14025c&&_0x3889b5){const _0x3fbcf0={..._0x14025c,'range':_0x3889b5};this[_0x35c01f(0x1e2)]['set'](_0x2bf47b,_0x3fbcf0),_0x2975b2(()=>{const _0x5d741f=_0x35c01f,_0x27554d=this[_0x5d741f(0x3ae)][_0x5d741f(0x217)](_0x3889b5,_0x95c2d3=>(_0x27554d[_0x5d741f(0x1a4)](),_0x557d69(_0x95c2d3,_0x2bf47b,_0x5e401f,_0x3889b5)));_0x2995d5[_0x5d741f(0x262)](_0x27554d);});}return{'redos':[],'undos':[]};};this[_0x53f274(0x1e2)][_0x53f274(0x2cd)]((_0x381b42,_0x1c7f61)=>{const _0x220e84=_0x53f274,{range:_0x145710,sheetID:_0x257558}=_0x381b42,_0x5de018=this[_0x220e84(0x3ae)][_0x220e84(0x217)](_0x145710,_0x13103=>(_0x5de018['dispose'](),_0x557d69(_0x13103,_0x1c7f61,_0x257558,_0x145710)));_0x2995d5['add'](_0x5de018);});};this[_0x41ee54(0x3ee)](_0x88db4d[_0x41ee54(0x226)](this[_0x41ee54(0x23c)]['subscribe'](()=>{_0x13735b();})));}[_0x2be3c1(0x22c)](){const _0x10c909=_0x2be3c1;var _0x2e1905,_0xa68a66;if(this[_0x10c909(0x3cd)]=!0x0,((_0x2e1905=this['_univerInstanceService'][_0x10c909(0x3c1)]())==null?void 0x0:_0x2e1905[_0x10c909(0x312)]())!==this['unitID'])return;const _0x574ba7=(_0xa68a66=this['_injector']['get'](_0x125f36[_0x10c909(0x24d)])['getCurrentSelections']())==null?void 0x0:_0xa68a66[0x0],_0x17fdee=this['_univerInstanceService'][_0x10c909(0x1c3)](_0x88db4d['UniverInstanceType'][_0x10c909(0x216)])[_0x10c909(0x218)]();_0x574ba7&&_0x17fdee&&this[_0x10c909(0x3be)](_0x17fdee[_0x10c909(0x37b)](),_0x574ba7);}['_toggleOffline'](){this['_online']=!0x1;}};_0x14f87c=_0x22a41b([_0x49d8dc(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d[_0x2be3c1(0x3db)])),_0x49d8dc(0x3,_0x88db4d[_0x2be3c1(0x2b1)](_0x469c3c)),_0x49d8dc(0x4,_0x88db4d['Inject'](_0x4cce40[_0x2be3c1(0x3dc)])),_0x49d8dc(0x5,_0x88db4d[_0x2be3c1(0x43e)]),_0x49d8dc(0x6,_0x88db4d[_0x2be3c1(0x355)]),_0x49d8dc(0x7,_0x88db4d[_0x2be3c1(0x2b1)](_0x125f36[_0x2be3c1(0x36f)]))],_0x14f87c);var _0x327251=Object[_0x2be3c1(0x393)],_0x374f76=(_0x2511b5,_0x41e937,_0x19b918,_0x26654a)=>{for(var _0xd8174b=_0x26654a>0x1?void 0x0:_0x26654a?_0x327251(_0x41e937,_0x19b918):_0x41e937,_0x12aa4b=_0x2511b5['length']-0x1,_0x37a083;_0x12aa4b>=0x0;_0x12aa4b--)(_0x37a083=_0x2511b5[_0x12aa4b])&&(_0xd8174b=_0x37a083(_0xd8174b)||_0xd8174b);return _0xd8174b;},_0x47ef0c=(_0x8e4118,_0x1ef88f)=>(_0x490cb7,_0x1afa5b)=>_0x1ef88f(_0x490cb7,_0x1afa5b,_0x8e4118);let _0x2e3752=class extends _0x88db4d[_0x2be3c1(0x3f0)]{constructor(_0x5bd446,_0x5d3a44,_0x6b19a0){const _0x2db428=_0x2be3c1;super(),_0x31ba17(this,_0x2db428(0x456),new Map()),_0x31ba17(this,_0x2db428(0x300),new _0x3b0fae[(_0x2db428(0x23e))]()),(this['_univerInstanceService']=_0x5bd446,this['_injector']=_0x5d3a44,this[_0x2db428(0x1e8)]=_0x6b19a0,this[_0x2db428(0x43c)]());}['dispose'](){const _0x380abf=_0x2be3c1;super[_0x380abf(0x1a4)](),this[_0x380abf(0x300)][_0x380abf(0x3f9)](),this[_0x380abf(0x456)][_0x380abf(0x2cd)](_0x4b2a8a=>_0x4b2a8a['dispose']());}['getCollabCursors$'](_0x12ede){const _0x29e953=_0x2be3c1;return this[_0x29e953(0x456)][_0x29e953(0x235)](_0x12ede)?this[_0x29e953(0x456)][_0x29e953(0x489)](_0x12ede)[_0x29e953(0x2b3)]:this[_0x29e953(0x300)][_0x29e953(0x204)](_0x3b0fae[_0x29e953(0x1e4)](_0x95057=>_0x95057[_0x29e953(0x307)]===_0x12ede),_0x3b0fae[_0x29e953(0x3c8)](_0x53f9d1=>_0x53f9d1['cursorInfo$']));}[_0x2be3c1(0x43c)](){const _0x2072e4=_0x2be3c1;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x88db4d[_0x2072e4(0x403)][_0x2072e4(0x216)])[_0x2072e4(0x204)](_0x3b0fae[_0x2072e4(0x2d7)](this[_0x2072e4(0x35b)]))['subscribe'](async _0x19bd87=>{const _0x19a6cd=_0x2072e4,_0x176a7e=_0x19bd87[_0x19a6cd(0x312)](),_0x1d5c6e=await this[_0x19a6cd(0x245)](_0x176a7e);this['_entityInit$']['next'](_0x1d5c6e),this[_0x19a6cd(0x456)][_0x19a6cd(0x2af)](_0x176a7e,_0x1d5c6e);}),this[_0x2072e4(0x1b7)][_0x2072e4(0x228)](_0x88db4d[_0x2072e4(0x403)]['UNIVER_DOC'])[_0x2072e4(0x204)](_0x3b0fae['takeUntil'](this[_0x2072e4(0x35b)]))[_0x2072e4(0x204)](_0x3b0fae[_0x2072e4(0x1e4)](_0x4a31fa=>!_0x4a31fa[_0x2072e4(0x312)]()[_0x2072e4(0x220)]('__')))[_0x2072e4(0x1f2)](async _0x1483b1=>{const _0xf378f8=_0x2072e4,_0x49e138=_0x1483b1[_0xf378f8(0x312)](),_0x4a9032=await this[_0xf378f8(0x385)](_0x49e138);this[_0xf378f8(0x300)]['next'](_0x4a9032),this['_entities'][_0xf378f8(0x2af)](_0x49e138,_0x4a9032);}),_0x3b0fae[_0x2072e4(0x21c)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x88db4d[_0x2072e4(0x403)][_0x2072e4(0x44b)]),this[_0x2072e4(0x1b7)][_0x2072e4(0x412)](_0x88db4d[_0x2072e4(0x403)][_0x2072e4(0x216)]))[_0x2072e4(0x204)](_0x3b0fae[_0x2072e4(0x2d7)](this['dispose$']))[_0x2072e4(0x1f2)](_0x2ae7f0=>{const _0x15b829=_0x2072e4,_0x539068=_0x2ae7f0['getUnitId'](),_0x19505b=this[_0x15b829(0x456)][_0x15b829(0x489)](_0x539068);_0x19505b&&(_0x19505b[_0x15b829(0x1a4)](),this['_entities'][_0x15b829(0x3e0)](_0x539068));});}async[_0x2be3c1(0x245)](_0x3290f8){const _0x2a38b7=_0x2be3c1,_0x44dfff=await this['_collabSessionService']['requireSession'](_0x3290f8),_0x1f222a=this['_injector'][_0x2a38b7(0x2c6)](_0x14f87c,_0x3290f8,_0x44dfff);return _0x1f222a[_0x2a38b7(0x394)](),_0x1f222a;}async[_0x2be3c1(0x385)](_0x1bb675){const _0x2a8d36=_0x2be3c1,_0x27a0e7=await this[_0x2a8d36(0x1e8)][_0x2a8d36(0x327)](_0x1bb675),_0x554e60=this[_0x2a8d36(0x363)][_0x2a8d36(0x2c6)](_0x164a3b,_0x1bb675,_0x27a0e7);return _0x554e60[_0x2a8d36(0x394)](),_0x554e60;}};_0x2e3752=_0x374f76([_0x47ef0c(0x0,_0x88db4d[_0x2be3c1(0x43e)]),_0x47ef0c(0x1,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d['Injector'])),_0x47ef0c(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0x4cce40[_0x2be3c1(0x274)]))],_0x2e3752);const _0x2f70bb=0x14,_0x23e623=0xc8,_0x168345=0x4,_0x296d78=0x5;function _0xda1801(_0x3e6bf3,_0x370753){const _0x19d644=_0x2be3c1;let {radius:_0x10c1a1,width:_0x590411,height:_0x160e6f}=_0x370753;_0x10c1a1=_0x10c1a1!=null?_0x10c1a1:0x0,_0x590411=_0x590411!=null?_0x590411:0x1e,_0x160e6f=_0x160e6f!=null?_0x160e6f:0x1e;let _0x3862cf=0x0,_0x2bf20c=0x0,_0x37a0a0=0x0;_0x3862cf=_0x2bf20c=_0x37a0a0=Math[_0x19d644(0x25c)](_0x10c1a1,_0x590411/0x2,_0x160e6f/0x2),_0x3e6bf3['beginPath'](),_0x3e6bf3[_0x19d644(0x441)](_0x3862cf,0x0),_0x3e6bf3['lineTo'](_0x590411-_0x2bf20c,0x0),_0x3e6bf3[_0x19d644(0x263)](_0x590411-_0x2bf20c,_0x2bf20c,_0x2bf20c,Math['PI']*0x3/0x2,0x0,!0x1),_0x3e6bf3['lineTo'](_0x590411,_0x160e6f-_0x37a0a0),_0x3e6bf3[_0x19d644(0x263)](_0x590411-_0x37a0a0,_0x160e6f-_0x37a0a0,_0x37a0a0,0x0,Math['PI']/0x2,!0x1),_0x3e6bf3[_0x19d644(0x222)](0x0,_0x160e6f),_0x3e6bf3[_0x19d644(0x222)](0x0,_0x3862cf),_0x3e6bf3[_0x19d644(0x263)](_0x3862cf,_0x3862cf,_0x3862cf,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3e6bf3[_0x19d644(0x2ed)](),_0x370753['fill']&&(_0x3e6bf3[_0x19d644(0x399)](),_0x3e6bf3[_0x19d644(0x334)]=_0x370753[_0x19d644(0x2d2)],_0x370753[_0x19d644(0x2ae)]==='evenodd'?_0x3e6bf3[_0x19d644(0x2d2)](_0x19d644(0x1aa)):_0x3e6bf3['fill'](),_0x3e6bf3[_0x19d644(0x38b)]());}class _0x25aa55 extends _0xe27d05[_0x2be3c1(0x1d4)]{constructor(_0x338606,_0x22dd3a){const _0x3b6f8b=_0x2be3c1;super(_0x338606,_0x22dd3a),_0x31ba17(this,_0x3b6f8b(0x329)),_0x31ba17(this,_0x3b6f8b(0x408)),(this[_0x3b6f8b(0x329)]=_0x22dd3a==null?void 0x0:_0x22dd3a[_0x3b6f8b(0x329)],this['text']=_0x22dd3a==null?void 0x0:_0x22dd3a[_0x3b6f8b(0x408)]);}static[_0x2be3c1(0x31d)](_0x595c77,_0x3faff8){const _0x375939=_0x2be3c1,{text:_0x14289d,color:_0x1e1647}=_0x3faff8;_0x595c77[_0x375939(0x399)](),_0x595c77[_0x375939(0x1b4)]=_0x375939(0x46a);const _0x45aff8=_0x595c77[_0x375939(0x304)](_0x14289d)[_0x375939(0x194)],_0x3190ca=Math['min'](_0x45aff8+0x2*_0x168345,_0x23e623);_0xda1801(_0x595c77,{'height':_0x2f70bb,'radius':0x4,'width':_0x3190ca,'fill':_0x1e1647}),_0x595c77[_0x375939(0x334)]=_0x375939(0x1e9);const _0x33d138=_0x168345,_0x2b6206=_0x2f70bb-_0x296d78,_0x2765ba=_0x23e623-0x2*_0x168345;if(_0x45aff8>_0x2765ba){let _0x3b226f='',_0x431f7a=0x0;for(const _0x37cb11 of _0x14289d){const _0x18c130=_0x595c77['measureText'](_0x37cb11)[_0x375939(0x194)];if(_0x431f7a+_0x18c130<=_0x2765ba-_0x595c77[_0x375939(0x304)](_0x375939(0x45b))[_0x375939(0x194)])_0x3b226f+=_0x37cb11,_0x431f7a+=_0x18c130;else{_0x3b226f+=_0x375939(0x45b);break;}}_0x595c77[_0x375939(0x486)](_0x3b226f,_0x33d138,_0x2b6206);}else _0x595c77[_0x375939(0x486)](_0x14289d,_0x33d138,_0x2b6206);_0x595c77[_0x375939(0x38b)]();}[_0x2be3c1(0x42c)](_0x241784){const _0x79d236=_0x2be3c1;_0x25aa55[_0x79d236(0x31d)](_0x241784,this);}}const _0x478f1e=_0x2be3c1(0x366),_0x2ba20b=_0x2be3c1(0x302),_0x22aa35='collab-rect-range-',_0x2acf05=0x6,_0x5a71ab=1.5,_0x5d5d67=0x4,_0x2a20f9=1.5,_0xe4efc3='rgba(255,\x20255,\x20255,\x200.01)';class _0x32d045{constructor(_0x13e371,_0x3c9216,_0x57f04e,_0x2e2a61){const _0x41498c=_0x2be3c1;_0x31ba17(this,'_shapes',[]),_0x31ba17(this,_0x41498c(0x377),null),_0x31ba17(this,_0x41498c(0x463),null),_0x31ba17(this,_0x41498c(0x2f5),null),_0x31ba17(this,'_hideTimer',null),_0x31ba17(this,_0x41498c(0x347),null),(this[_0x41498c(0x29b)]=_0x13e371,this[_0x41498c(0x3c5)]=_0x3c9216,this[_0x41498c(0x2db)]=_0x57f04e,this[_0x41498c(0x39d)]=_0x2e2a61,this[_0x41498c(0x31e)]());}set[_0x2be3c1(0x34e)](_0xc85c1d){const _0x41972b=_0x2be3c1;_0xc85c1d?(this[_0x41972b(0x2f5)]&&this['_anchorDot']['hide'](),this['_textBubble']&&this['_textBubble'][_0x41972b(0x34c)]()):(this[_0x41972b(0x2f5)]&&this['_anchorDot']['show'](),this['_textBubble']&&this['_textBubble']['hide']());}[_0x2be3c1(0x1a4)](){const _0x592302=_0x2be3c1;for(const _0x246d7c of this[_0x592302(0x2d3)])_0x246d7c[_0x592302(0x1a4)]();this[_0x592302(0x463)]&&this[_0x592302(0x463)][_0x592302(0x1a4)](),this[_0x592302(0x2f5)]&&this[_0x592302(0x2f5)]['dispose'](),this[_0x592302(0x377)]&&this[_0x592302(0x377)][_0x592302(0x1a4)](),this[_0x592302(0x347)]&&this['_eventUnsubscribe']();}[_0x2be3c1(0x31e)](){const _0xe838c9=_0x2be3c1;var _0x40b453;const {_docSkeleton:_0x18710b,_document:_0x20207a}=this,{color:_0x3c04a9,name:_0x434267,ranges:_0x4ab056}=this['_cursor'],_0x23c7de=_0x20207a[_0xe838c9(0x3bc)](),{docsLeft:_0x2d7ebe,docsTop:_0xb5c685}=_0x23c7de,_0x303a6e=new _0x1fd691[(_0xe838c9(0x293))](_0x23c7de,_0x18710b);for(const {startOffset:_0x2f7c6f,endOffset:_0x24b79d,rangeType:_0x9f50d7,segmentId:_0x44b0d4,segmentPage:_0x51fa90,collapsed:_0x597e92,isActive:_0x30ff2b}of _0x4ab056){const _0xabe2d8=_0x18710b[_0xe838c9(0x2ac)](_0x2f7c6f,!0x0,_0x44b0d4,_0x51fa90);let _0x4ca038=_0x18710b[_0xe838c9(0x2ac)](_0x24b79d,!0x0,_0x44b0d4,_0x51fa90);if(_0x4ca038==null&&(_0x4ca038=_0x18710b[_0xe838c9(0x2ac)](_0x24b79d-0x1,!0x1,_0x44b0d4,_0x51fa90)),_0x30ff2b){const {contentBoxPointGroup:_0x46be3b}=_0x303a6e[_0xe838c9(0x3e7)](_0x4ca038,_0x4ca038);if(_0x46be3b['length']===0x0)continue;this[_0xe838c9(0x47a)](_0x3c04a9,_0x46be3b,_0x2d7ebe,_0xb5c685,_0x434267),this[_0xe838c9(0x347)]=this[_0xe838c9(0x25e)]();}if(_0xabe2d8&&_0x4ca038){if(_0x9f50d7===_0x88db4d[_0xe838c9(0x2dd)][_0xe838c9(0x297)]){const _0x245bbd=new _0x1fd691['NodePositionConvertToRectRange'](_0x23c7de,_0x18710b),{pointGroup:_0x5241b3}=(_0x40b453=_0x245bbd['getRangePointData'](_0xabe2d8,_0x4ca038))!=null?_0x40b453:{};if(_0x5241b3==null||_0x5241b3[_0xe838c9(0x413)]===0x0)continue;this[_0xe838c9(0x1d9)](_0x3c04a9,_0x5241b3,_0x2d7ebe,_0xb5c685);}else{if(!_0x597e92){const {borderBoxPointGroup:_0x41c371}=_0x303a6e[_0xe838c9(0x3e7)](_0xabe2d8,_0x4ca038);if(_0x41c371[_0xe838c9(0x413)]===0x0)continue;this['_drawTextRange'](_0x3c04a9,_0x41c371,_0x2d7ebe,_0xb5c685);}}}}}['_drawAnchor'](_0x1ed8cb,_0x342eab,_0x409844,_0x4e3b43,_0x87c585){const _0x30c637=_0x2be3c1,_0x3f20f5=this['_getAnchorBounding'](_0x342eab),{left:_0x145248,top:_0x589756,height:_0x40e5d3}=_0x3f20f5,_0x27e8a2=this[_0x30c637(0x19a)](),_0x5b2398=_0x2a20f9/_0x27e8a2,_0x1783f8=new _0xe27d05[(_0x30c637(0x410))](_0x478f1e+_0x88db4d[_0x30c637(0x335)](_0x2acf05),{'left':_0x145248+_0x409844-_0x5b2398,'top':_0x589756+_0x4e3b43,'height':_0x40e5d3,'width':_0x5a71ab,'fill':_0x1ed8cb||_0xe27d05[_0x30c637(0x27f)](_0x88db4d['COLORS'][_0x30c637(0x3d2)],0x0),'strokeWidth':_0x5b2398,'stroke':_0xe4efc3,'evented':!0x0});this[_0x30c637(0x377)]=_0x1783f8,this[_0x30c637(0x3c5)][_0x30c637(0x2ee)](_0x1783f8,_0x1fd691[_0x30c637(0x1d5)]);const _0x57ae4e=new _0xe27d05['Rect'](_0x478f1e+_0x88db4d[_0x30c637(0x335)](_0x2acf05),{'left':_0x145248+_0x409844-_0x5b2398,'top':_0x589756+_0x4e3b43-_0x5d5d67/0x2,'height':_0x5d5d67,'width':_0x5d5d67,'fill':_0x1ed8cb||_0xe27d05['getColor'](_0x88db4d['COLORS'][_0x30c637(0x3d2)],0x0),'strokeWidth':0x0,'stroke':_0x1ed8cb||_0xe27d05[_0x30c637(0x27f)](_0x88db4d[_0x30c637(0x2ca)]['black'],0x0),'evented':!0x1});this[_0x30c637(0x2f5)]=_0x57ae4e,this[_0x30c637(0x3c5)][_0x30c637(0x2ee)](_0x57ae4e,_0x1fd691[_0x30c637(0x1d5)]);const _0x5e8db4=new _0x25aa55(_0x478f1e+_0x88db4d['generateRandomId'](_0x2acf05),{'left':_0x145248+_0x409844-_0x5b2398,'top':_0x589756+_0x4e3b43-_0x2f70bb,'text':_0x87c585,'color':_0x1ed8cb});this['_textBubble']=_0x5e8db4,this[_0x30c637(0x3c5)][_0x30c637(0x2ee)](_0x5e8db4,_0x1fd691[_0x30c637(0x1d5)]),this[_0x30c637(0x34e)]=!0x1;}['_handleHover'](){const _0x4bd8cd=_0x2be3c1,_0x2ec453=this[_0x4bd8cd(0x377)][_0x4bd8cd(0x3e5)][_0x4bd8cd(0x41c)](()=>{const _0x41b0a3=_0x4bd8cd;this[_0x41b0a3(0x34e)]=!0x0;}),_0x28297a=this['_anchor'][_0x4bd8cd(0x424)][_0x4bd8cd(0x41c)](()=>{const _0x28e7c0=_0x4bd8cd;this['_hideTimer']&&clearTimeout(this[_0x28e7c0(0x450)]),this[_0x28e7c0(0x450)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x3396e3=_0x4bd8cd;_0x2ec453[_0x3396e3(0x303)](),_0x28297a['unsubscribe']();};}[_0x2be3c1(0x3de)](_0x34b9ee,_0x100575,_0x60780a,_0x5b0790){const _0x4f445b=_0x2be3c1,_0xcda2e9=new _0x88db4d['ColorKit'](_0x34b9ee)[_0x4f445b(0x35a)](0.2)['toRgbString'](),_0x221390=new _0xe27d05['RegularPolygon'](_0x2ba20b+_0x88db4d[_0x4f445b(0x335)](_0x2acf05),{'pointsGroup':_0x100575,'fill':_0xcda2e9||_0xe27d05['getColor'](_0x88db4d[_0x4f445b(0x2ca)][_0x4f445b(0x3d2)],0.2),'left':_0x60780a,'top':_0x5b0790,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4f445b(0x2d3)]['push'](_0x221390),this[_0x4f445b(0x3c5)][_0x4f445b(0x2ee)](_0x221390,_0x1fd691[_0x4f445b(0x1d5)]);}[_0x2be3c1(0x1d9)](_0x55ebfa,_0x50ef71,_0x398592,_0x287efe){const _0x3ad9b0=_0x2be3c1,_0x5c7731=new _0x88db4d['ColorKit'](_0x55ebfa)[_0x3ad9b0(0x35a)](0.2)[_0x3ad9b0(0x33f)](),_0x27f73a=new _0xe27d05[(_0x3ad9b0(0x3c0))](_0x22aa35+_0x88db4d[_0x3ad9b0(0x335)](_0x2acf05),{'pointsGroup':_0x50ef71,'fill':_0x5c7731||_0xe27d05[_0x3ad9b0(0x27f)](_0x88db4d[_0x3ad9b0(0x2ca)][_0x3ad9b0(0x3d2)],0.2),'left':_0x398592,'top':_0x287efe,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3ad9b0(0x2d3)][_0x3ad9b0(0x339)](_0x27f73a),this[_0x3ad9b0(0x3c5)][_0x3ad9b0(0x2ee)](_0x27f73a,_0x1fd691[_0x3ad9b0(0x1d5)]);}[_0x2be3c1(0x29f)](_0x3bb23d){const _0x458fbb=_0x3bb23d[0x0],_0x108fec=_0x458fbb[0x0],_0x4c3d85=_0x458fbb[0x2],{x:_0x495d9c,y:_0x3be380}=_0x108fec,{x:_0x21bc3f,y:_0x5f3960}=_0x4c3d85;return{'left':_0x495d9c,'top':_0x3be380,'width':_0x21bc3f-_0x495d9c,'height':_0x5f3960-_0x3be380};}[_0x2be3c1(0x19a)](){const _0x42c215=_0x2be3c1,{scaleX:_0x5c8d68,scaleY:_0x23b890}=this[_0x42c215(0x3c5)][_0x42c215(0x321)]();return Math[_0x42c215(0x234)](_0x5c8d68,_0x23b890);}}var _0x238c5b=Object[_0x2be3c1(0x393)],_0x4e2f40=(_0x295c0c,_0x2bfa96,_0x2764a0,_0x305ae5)=>{for(var _0xf4389c=_0x305ae5>0x1?void 0x0:_0x305ae5?_0x238c5b(_0x2bfa96,_0x2764a0):_0x2bfa96,_0x596fca=_0x295c0c['length']-0x1,_0x5bf4e1;_0x596fca>=0x0;_0x596fca--)(_0x5bf4e1=_0x295c0c[_0x596fca])&&(_0xf4389c=_0x5bf4e1(_0xf4389c)||_0xf4389c);return _0xf4389c;},_0x17a7d4=(_0x421036,_0x2fad8a)=>(_0x43e47b,_0x3dc354)=>_0x2fad8a(_0x43e47b,_0x3dc354,_0x421036);let _0x476e21=class extends _0x88db4d[_0x2be3c1(0x3f0)]{constructor(_0x284bd6,_0x5805d3,_0x417316,_0x35624c,_0x2b4e31){const _0x3d29d2=_0x2be3c1;super(),_0x31ba17(this,'_cursorShapes',[]),_0x31ba17(this,_0x3d29d2(0x1ab),[]),(this[_0x3d29d2(0x3f7)]=_0x284bd6,this[_0x3d29d2(0x40c)]=_0x5805d3,this[_0x3d29d2(0x2c2)]=_0x417316,this[_0x3d29d2(0x243)]=_0x35624c,this[_0x3d29d2(0x250)]=_0x2b4e31,this[_0x3d29d2(0x43c)]());}[_0x2be3c1(0x43c)](){const _0x5e4d78=_0x2be3c1,_0x391172=this['_context'][_0x5e4d78(0x2b8)],_0x5292ce=this[_0x5e4d78(0x40c)];this[_0x5e4d78(0x3ee)](_0x3b0fae[_0x5e4d78(0x1b8)]([this[_0x5e4d78(0x2c2)]['getCollabCursors$'](_0x391172),this[_0x5e4d78(0x250)][_0x5e4d78(0x3c4)]])[_0x5e4d78(0x204)](_0x31a1bf[_0x5e4d78(0x22e)](([_0x28f3f9,_0x8af7fb])=>({'skeleton':_0x5292ce[_0x5e4d78(0x210)](),'cursors':[..._0x28f3f9['values']()][_0x5e4d78(0x340)](_0x4dba0c=>({..._0x4dba0c,'color':this['_themeService'][_0x5e4d78(0x1ed)](_0x4dba0c[_0x5e4d78(0x329)])}))})))[_0x5e4d78(0x1f2)](_0x111696=>{const _0x424914=_0x5e4d78;if(this[_0x424914(0x443)](),_0x111696){const {skeleton:_0x4f9e78,cursors:_0x3b994a}=_0x111696;this[_0x424914(0x411)](_0x4f9e78,_0x3b994a);}})),this[_0x5e4d78(0x27e)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x469985,_0x37e7ab){const _0xdb9e14=_0x2be3c1,{scene:_0x4b12e6,mainComponent:_0x362c16}=this[_0xdb9e14(0x3f7)],_0x3f0eba=_0x37e7ab[_0xdb9e14(0x22e)](_0x741421=>new _0x32d045(_0x741421,_0x4b12e6,_0x469985,_0x362c16));this[_0xdb9e14(0x454)]=_0x3f0eba,this[_0xdb9e14(0x1ab)]=_0x37e7ab;}['_refreshCollabCursors'](){const _0x3dceea=_0x2be3c1;this['_removeCollabCursors']();const {scene:_0x1eccbc,mainComponent:_0x2c2fb7}=this[_0x3dceea(0x3f7)],_0x59baee=this[_0x3dceea(0x40c)]['getSkeleton'](),_0x20d873=this['_cursors'][_0x3dceea(0x22e)](_0x27427f=>new _0x32d045(_0x27427f,_0x1eccbc,_0x59baee,_0x2c2fb7));this[_0x3dceea(0x454)]=_0x20d873;}[_0x2be3c1(0x443)](){const _0x361c84=_0x2be3c1;this['_cursorShapes'][_0x361c84(0x2cd)](_0x3aebdb=>_0x3aebdb[_0x361c84(0x1a4)]()),this[_0x361c84(0x454)]=[];}[_0x2be3c1(0x45d)](){const _0x56028a=_0x2be3c1,_0x1ea237=[_0x1fd691[_0x56028a(0x481)]['id']];this['disposeWithMe'](this[_0x56028a(0x243)]['onCommandExecuted'](_0x31f1b1=>{const _0xd5a787=_0x56028a;_0x1ea237[_0xd5a787(0x288)](_0x31f1b1['id'])&&_0x31f1b1[_0xd5a787(0x317)]['unitId']===this[_0xd5a787(0x3f7)]['unitId']&&this[_0xd5a787(0x2e6)]();}));}['_initResize'](){const _0x3d140f=_0x2be3c1;this['disposeWithMe'](_0x88db4d[_0x3d140f(0x31a)](this[_0x3d140f(0x3f7)][_0x3d140f(0x2d8)]['onTransformChange$'])[_0x3d140f(0x204)](_0x31a1bf[_0x3d140f(0x1e4)](_0x400a9a=>_0x400a9a[_0x3d140f(0x3bd)]===_0xe27d05[_0x3d140f(0x1c0)]['resize']),_0x31a1bf[_0x3d140f(0x2d1)](0x10))[_0x3d140f(0x1f2)](()=>{this['_refreshCollabCursors']();}));}};_0x476e21=_0x4e2f40([_0x17a7d4(0x1,_0x88db4d[_0x2be3c1(0x2b1)](_0x3c0520['DocSkeletonManagerService'])),_0x17a7d4(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0x2e3752)),_0x17a7d4(0x3,_0x88db4d[_0x2be3c1(0x355)]),_0x17a7d4(0x4,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d['ThemeService']))],_0x476e21);const _0x5c9390=0x1,_0x50bf46=1.5;class _0x327c29 extends _0xe27d05[_0x2be3c1(0x1d4)]{constructor(_0x151b5e,_0x5d03f0){const _0x2944c3=_0x2be3c1;super(_0x151b5e,_0x5d03f0),_0x31ba17(this,'_color'),_0x31ba17(this,_0x2944c3(0x1e0),!0x1),_0x31ba17(this,_0x2944c3(0x232)),_0x31ba17(this,_0x2944c3(0x24e),''),_0x31ba17(this,_0x2944c3(0x305),_0x2944c3(0x47f)),_0x31ba17(this,_0x2944c3(0x289)),(_0x5d03f0&&this[_0x2944c3(0x1cc)](_0x5d03f0),this['onPointerEnter$'][_0x2944c3(0x41c)](()=>this[_0x2944c3(0x1cc)]({'hovered':!0x0})),this[_0x2944c3(0x424)]['subscribeEvent'](()=>this[_0x2944c3(0x1cc)]({'hovered':!0x1})));}[_0x2be3c1(0x1cc)](_0x2afdcc){const _0x23f24c=_0x2be3c1;var _0x3fce52,_0x21628b,_0x144ce4,_0x2b4958,_0x392486,_0x398f36;this[_0x23f24c(0x238)]=(_0x3fce52=_0x2afdcc[_0x23f24c(0x329)])!=null?_0x3fce52:this[_0x23f24c(0x238)],this[_0x23f24c(0x1e0)]=(_0x21628b=_0x2afdcc[_0x23f24c(0x478)])!=null?_0x21628b:this[_0x23f24c(0x1e0)],this[_0x23f24c(0x232)]=(_0x144ce4=_0x2afdcc[_0x23f24c(0x382)])!=null?_0x144ce4:this['_range'],this['_name']=(_0x2b4958=_0x2afdcc['name'])!=null?_0x2b4958:this[_0x23f24c(0x24e)],this['_labelPosition']=(_0x392486=_0x2afdcc[_0x23f24c(0x359)])!=null?_0x392486:this[_0x23f24c(0x305)],this[_0x23f24c(0x289)]=(_0x398f36=_0x2afdcc[_0x23f24c(0x27b)])!=null?_0x398f36:this[_0x23f24c(0x289)],this[_0x23f24c(0x3a5)]({'width':_0x2afdcc[_0x23f24c(0x194)],'height':_0x2afdcc['height']});}[_0x2be3c1(0x43d)](_0x755a31){const _0x144eb9=_0x2be3c1,{row:_0x59a3cd,column:_0x1789ac}=_0x755a31;if(_0x59a3cd>=this[_0x144eb9(0x232)][_0x144eb9(0x31f)]&&_0x59a3cd<=this[_0x144eb9(0x232)]['endRow']&&_0x1789ac>=this[_0x144eb9(0x232)]['startColumn']&&_0x1789ac<=this[_0x144eb9(0x232)][_0x144eb9(0x236)]){this[_0x144eb9(0x1cc)]({'hovered':!0x0});return;}this[_0x144eb9(0x1cc)]({'hovered':!0x1});}[_0x2be3c1(0x39a)](_0x8e31a7){return!0x1;}['_draw'](_0x11bab9){const _0x5aea28=_0x2be3c1;_0xe27d05[_0x5aea28(0x410)][_0x5aea28(0x31d)](_0x11bab9,{'width':this[_0x5aea28(0x194)],'height':this['height'],'strokeWidth':_0x50bf46,'stroke':this[_0x5aea28(0x238)],'evented':!0x1,'fill':this[_0x5aea28(0x289)]}),this[_0x5aea28(0x1e0)]&&(_0x11bab9[_0x5aea28(0x399)](),_0x11bab9['transform'](0x1,0x0,0x0,0x1,this[_0x5aea28(0x194)],this['_labelPosition']===_0x5aea28(0x30a)?0x0:-_0x2f70bb),_0x25aa55['drawWith'](_0x11bab9,{'text':this[_0x5aea28(0x24e)],'color':this['_color']}),_0x11bab9[_0x5aea28(0x38b)]());}}var _0x5c32b1=Object['getOwnPropertyDescriptor'],_0x1aabc3=(_0x1b61bc,_0x50bf62,_0x3337a6,_0x2cd520)=>{const _0x5e1851=_0x2be3c1;for(var _0x4f9a6d=_0x2cd520>0x1?void 0x0:_0x2cd520?_0x5c32b1(_0x50bf62,_0x3337a6):_0x50bf62,_0x3455a6=_0x1b61bc[_0x5e1851(0x413)]-0x1,_0x4cf3ac;_0x3455a6>=0x0;_0x3455a6--)(_0x4cf3ac=_0x1b61bc[_0x3455a6])&&(_0x4f9a6d=_0x4cf3ac(_0x4f9a6d)||_0x4f9a6d);return _0x4f9a6d;},_0x2a98fd=(_0x3f7173,_0xe8dfb8)=>(_0x1d07f4,_0x93397f)=>_0xe8dfb8(_0x1d07f4,_0x93397f,_0x3f7173);const _0x166ec6=0x1389;let _0x485669=class extends _0x88db4d[_0x2be3c1(0x3f0)]{constructor(_0x4df274,_0x358e8b,_0x4f6cf6,_0x2b6f00){const _0x51b620=_0x2be3c1;super(),_0x31ba17(this,'_cursors',new Set()),_0x31ba17(this,_0x51b620(0x2a2),null),(this['_context']=_0x4df274,this[_0x51b620(0x461)]=_0x358e8b,this[_0x51b620(0x2c2)]=_0x4f6cf6,this[_0x51b620(0x250)]=_0x2b6f00,this[_0x51b620(0x43c)]());}[_0x2be3c1(0x43c)](){const _0x298b51=_0x2be3c1;this['_sheetSkeletonManagerService'][_0x298b51(0x485)][_0x298b51(0x204)](_0x31a1bf[_0x298b51(0x2d7)](this[_0x298b51(0x35b)]),_0x31a1bf[_0x298b51(0x3c8)](_0x11aec3=>{const _0x372797=_0x298b51;if(_0x11aec3){const _0x203005=_0x11aec3[_0x372797(0x3bf)];return _0x3b0fae['combineLatest'](this[_0x372797(0x2c2)][_0x372797(0x37f)](this[_0x372797(0x3f7)][_0x372797(0x2b8)]),this['_themeService']['currentTheme$'])[_0x372797(0x204)](_0x31a1bf[_0x372797(0x22e)](([_0x262f3a,_0x1ac309])=>{const _0x533257=_0x372797,_0x180f7a=new Map();return _0x262f3a[_0x533257(0x2cd)]((_0x1ed8d8,_0x35ff7e)=>{const _0x2c42f4=_0x533257;if(_0x1ed8d8['sheetID']===_0x203005){const _0x520f74={..._0x1ed8d8};_0x520f74[_0x2c42f4(0x329)]=this[_0x2c42f4(0x250)][_0x2c42f4(0x1ed)](_0x1ed8d8['color']),_0x180f7a[_0x2c42f4(0x2af)](_0x35ff7e,_0x520f74);}}),{'skeleton':_0x11aec3,'cursors':_0x180f7a};}));}return _0x3b0fae['of']({'skeleton':null,'cursors':new Map()});}))[_0x298b51(0x1f2)](({skeleton:_0x399a24,cursors:_0x43fc36})=>{const _0x55001e=_0x298b51;this[_0x55001e(0x443)](),_0x399a24&&this['_updateCollabCursors'](_0x399a24,_0x43fc36);}),this[_0x298b51(0x461)][_0x298b51(0x485)][_0x298b51(0x1f2)](_0x280616=>{const _0x43807d=_0x298b51;if(_0x280616==null)return;const {skeleton:_0x28e627}=_0x280616,{scene:_0x208c8b}=this['_context'];_0x208c8b[_0x43807d(0x3f5)][_0x43807d(0x41c)](_0x88db4d[_0x43807d(0x452)](_0x3c5517=>{const _0x4d7ea3=_0x43807d;var _0x2ce743,_0x109731;const {offsetX:_0x309f29,offsetY:_0x54d675}=_0x3c5517,{x:_0x256c75,y:_0x525127}=_0x208c8b[_0x4d7ea3(0x47e)](_0xe27d05['Vector2'][_0x4d7ea3(0x3f8)]([_0x309f29,_0x54d675])),{scaleX:_0x42eab,scaleY:_0x3368ea}=_0x208c8b[_0x4d7ea3(0x321)](),_0x2035ac=_0x208c8b['getViewport'](_0xe27d05[_0x4d7ea3(0x1b5)][_0x4d7ea3(0x36c)]),_0x4f549d=_0x208c8b[_0x4d7ea3(0x484)](_0xe27d05[_0x4d7ea3(0x43a)][_0x4d7ea3(0x3f8)]([_0x256c75,_0x525127]),_0x2035ac),_0x52ad7a=_0x28e627[_0x4d7ea3(0x19c)](_0x309f29,_0x54d675,_0x42eab,_0x3368ea,_0x4f549d);((_0x2ce743=this['_lastPointer'])==null?void 0x0:_0x2ce743[_0x4d7ea3(0x2a5)])===_0x52ad7a['column']&&((_0x109731=this['_lastPointer'])==null?void 0x0:_0x109731[_0x4d7ea3(0x483)])===_0x52ad7a['row']||this[_0x4d7ea3(0x1ab)]['forEach'](_0x46d534=>{_0x46d534['onMouseMove'](_0x52ad7a);});},0x64));});}[_0x2be3c1(0x411)](_0x1b4477,_0x1f55ef){const _0x3e1df2=_0x2be3c1;var _0x2d213d;const _0x48e5c0=(_0x2d213d=this[_0x3e1df2(0x461)][_0x3e1df2(0x1d3)]())==null?void 0x0:_0x2d213d[_0x3e1df2(0x1d6)];if(!_0x48e5c0)return;const _0x4c649f=this[_0x3e1df2(0x3f2)]();if(!_0x4c649f)return;this[_0x3e1df2(0x1ab)]['forEach'](_0x51ea81=>{const _0x113fe6=_0x3e1df2;_0x51ea81[_0x113fe6(0x205)]();});const {scene:_0x5951b9}=_0x4c649f,_0x2d5a95=_0xe1d537(Array['from'](_0x1f55ef[_0x3e1df2(0x2bc)]()))[_0x3e1df2(0x22e)](_0x247bfb=>{const _0x50c9dc=_0x3e1df2,{color:_0x1ce52f,range:_0x38ed72,name:_0x436c36,selection:_0x249852,sheetID:_0x1f138b}=_0x247bfb,{startColumn:_0xd56f4,startRow:_0x5f15b3,endColumn:_0x28beaa,endRow:_0x1f626b}=_0x38ed72,_0x35db1a=_0x309330[_0x50c9dc(0x480)](_0x5f15b3,_0xd56f4,_0x5951b9,_0x48e5c0),_0x317c7e=_0x309330[_0x50c9dc(0x480)](_0x1f626b,_0x28beaa,_0x5951b9,_0x48e5c0),{columnHeaderHeightAndMarginTop:_0x476bf1}=_0x48e5c0,{startX:_0x13a382,startY:_0xac1070}=_0x35db1a,{endX:_0x1ff5aa,endY:_0x52c12b}=_0x317c7e,_0x59e4cb=_0x1ff5aa-_0x13a382,_0x2bfb42=_0x52c12b-_0xac1070,_0x383201={'labelPosition':_0xac1070-_0x476bf1>=_0x2f70bb?_0x50c9dc(0x47f):'bottom','sheetID':_0x1f138b,'range':_0x38ed72,'color':_0x1ce52f,'name':_0x436c36,'selection':_0x249852,'left':_0x13a382,'top':_0xac1070,'width':_0x59e4cb,'height':_0x2bfb42,'evented':!0x1,'zIndex':_0x166ec6};return new _0x327c29(_0x436c36,_0x383201);});_0x5951b9[_0x3e1df2(0x322)](_0x2d5a95,_0x5c9390),this[_0x3e1df2(0x1ab)]=new Set(_0x2d5a95);}[_0x2be3c1(0x443)](){const _0x4d8f60=_0x2be3c1;var _0x278f69;(_0x278f69=this[_0x4d8f60(0x1ab)])==null||_0x278f69['forEach'](_0x100073=>_0x100073['dispose']());}[_0x2be3c1(0x3f2)](){const _0x2f950e=_0x2be3c1;return _0x309330[_0x2f950e(0x2ea)](this[_0x2f950e(0x3f7)][_0x2f950e(0x3e1)],this[_0x2f950e(0x3f7)]);}};_0x485669=_0x1aabc3([_0x2a98fd(0x1,_0x88db4d[_0x2be3c1(0x2b1)](_0x309330[_0x2be3c1(0x3e3)])),_0x2a98fd(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0x2e3752)),_0x2a98fd(0x3,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d['ThemeService']))],_0x485669);function _0xe1d537(_0x4bbeb0){const _0x3b1432=_0x2be3c1,_0x596c30=new Map();return _0x4bbeb0['forEach'](_0x3fbe7f=>{const _0x4b0157=_0x4ca8;if(_0x596c30[_0x4b0157(0x235)](_0x3fbe7f[_0x4b0157(0x475)])){const _0x18dbb6=_0x596c30[_0x4b0157(0x489)](_0x3fbe7f[_0x4b0157(0x475)]);_0x18dbb6[_0x4b0157(0x429)]+=',\x20'+_0x3fbe7f[_0x4b0157(0x429)];}else _0x596c30[_0x4b0157(0x2af)](_0x3fbe7f[_0x4b0157(0x475)],_0x3fbe7f);}),Array[_0x3b1432(0x391)](_0x596c30[_0x3b1432(0x2bc)]());}var _0x116f64=Object['getOwnPropertyDescriptor'],_0xd6ade1=(_0xa5afcd,_0x197bde,_0x18c17e,_0x5c67ce)=>{const _0x101296=_0x2be3c1;for(var _0x5eba56=_0x5c67ce>0x1?void 0x0:_0x5c67ce?_0x116f64(_0x197bde,_0x18c17e):_0x197bde,_0x4ccce3=_0xa5afcd[_0x101296(0x413)]-0x1,_0x559278;_0x4ccce3>=0x0;_0x4ccce3--)(_0x559278=_0xa5afcd[_0x4ccce3])&&(_0x5eba56=_0x559278(_0x5eba56)||_0x5eba56);return _0x5eba56;},_0x48ddcf=(_0x5c72a2,_0x2f7982)=>(_0x4f63d9,_0x520512)=>_0x2f7982(_0x4f63d9,_0x520512,_0x5c72a2);let _0x489eee=class extends _0x88db4d[_0x2be3c1(0x39b)]{constructor(_0xf7520,_0x371b7f,_0x1780e1,_0x47d738,_0x1a177f,_0x532e01){const _0xae9e27=_0x2be3c1;super(),this[_0xae9e27(0x1a5)]=_0xf7520,this[_0xae9e27(0x252)]=_0x371b7f,this[_0xae9e27(0x3b3)]=_0x1780e1,this[_0xae9e27(0x459)]=_0x47d738,this[_0xae9e27(0x280)]=_0x1a177f,this[_0xae9e27(0x1f3)]=_0x532e01,this[_0xae9e27(0x358)](),this[_0xae9e27(0x1f8)]();}['_setupBeforeClosingHandler'](){const _0x50b07b=_0x2be3c1;this['disposeWithMe'](this[_0x50b07b(0x1a5)][_0x50b07b(0x272)](()=>{const _0x4cdeb3=_0x50b07b;if(this[_0x4cdeb3(0x252)][_0x4cdeb3(0x3f4)][_0x4cdeb3(0x426)])return this[_0x4cdeb3(0x1f3)]['t'](_0x4cdeb3(0x2e8));}));}[_0x2be3c1(0x1f8)](){const _0x2d920f=_0x2be3c1;this[_0x2d920f(0x3ee)](this[_0x2d920f(0x3b3)][_0x2d920f(0x473)]['subscribe'](_0x306cb8=>{const _0xd2f95=_0x2d920f;_0x306cb8['id']===_0x4cce40['CollaborationUIEventId'][_0xd2f95(0x435)]&&this[_0xd2f95(0x459)][_0xd2f95(0x34c)]({'type':_0x37cc58[_0xd2f95(0x254)][_0xd2f95(0x279)],'content':this[_0xd2f95(0x1f3)]['t'](_0xd2f95(0x420))}),_0x306cb8['id']===_0x4cce40[_0xd2f95(0x36d)]['CLOSE_ROOM']&&this[_0xd2f95(0x459)][_0xd2f95(0x34c)]({'type':_0x37cc58[_0xd2f95(0x254)][_0xd2f95(0x279)],'content':this[_0xd2f95(0x1f3)]['t']('collaboration.closeRoom')}),_0x306cb8['id']===_0x4cce40[_0xd2f95(0x36d)][_0xd2f95(0x2cf)]&&this[_0xd2f95(0x280)][_0xd2f95(0x34c)]({'title':this['_localeService']['t'](_0xd2f95(0x404)),'content':this[_0xd2f95(0x1f3)]['t']('permission.content'),'type':_0xd2f95(0x383),'duration':0x0}),_0x306cb8['id']===_0x4cce40[_0xd2f95(0x36d)][_0xd2f95(0x282)]&&this[_0xd2f95(0x459)][_0xd2f95(0x34c)]({'type':_0x37cc58[_0xd2f95(0x254)]['Error'],'content':this['_localeService']['t'](_0xd2f95(0x365))+'('+_0x306cb8['data']+')'}),_0x306cb8['id']===_0x4cce40['CollaborationUIEventId'][_0xd2f95(0x375)]&&this[_0xd2f95(0x459)]['show']({'type':_0x37cc58[_0xd2f95(0x254)]['Warning'],'content':this['_localeService']['t'](_0x306cb8['data']||'')}),_0x306cb8['id']===_0x4cce40['CollaborationUIEventId'][_0xd2f95(0x2f8)]&&this[_0xd2f95(0x459)]['show']({'type':_0x37cc58[_0xd2f95(0x254)][_0xd2f95(0x279)],'content':this['_localeService']['t'](_0xd2f95(0x42f))}),_0x306cb8['id']===_0x4cce40[_0xd2f95(0x36d)]['SOCKET_FAILED']&&this[_0xd2f95(0x459)][_0xd2f95(0x34c)]({'type':_0x37cc58[_0xd2f95(0x254)][_0xd2f95(0x42a)],'content':this[_0xd2f95(0x1f3)]['t'](_0xd2f95(0x3af))}),_0x306cb8['id']===_0x4cce40[_0xd2f95(0x36d)][_0xd2f95(0x37e)]&&this[_0xd2f95(0x459)][_0xd2f95(0x34c)]({'type':_0x37cc58[_0xd2f95(0x254)][_0xd2f95(0x42a)],'content':this[_0xd2f95(0x1f3)]['t'](_0xd2f95(0x1be))});}));}};_0x489eee=_0xd6ade1([_0x48ddcf(0x0,_0x2ff57e[_0x2be3c1(0x42d)]),_0x48ddcf(0x1,_0x4cce40[_0x2be3c1(0x286)]),_0x48ddcf(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0x4cce40[_0x2be3c1(0x32e)])),_0x48ddcf(0x3,_0x2ff57e[_0x2be3c1(0x1b2)]),_0x48ddcf(0x4,_0x2ff57e[_0x2be3c1(0x446)]),_0x48ddcf(0x5,_0x88db4d['Inject'](_0x88db4d['LocaleService']))],_0x489eee);var _0x58b8e2=Object[_0x2be3c1(0x393)],_0x63a29d=(_0x52fff3,_0xb23013,_0x26fb38,_0x5199ac)=>{const _0x513532=_0x2be3c1;for(var _0x4d259c=_0x5199ac>0x1?void 0x0:_0x5199ac?_0x58b8e2(_0xb23013,_0x26fb38):_0xb23013,_0xeda522=_0x52fff3[_0x513532(0x413)]-0x1,_0x5ea8f7;_0xeda522>=0x0;_0xeda522--)(_0x5ea8f7=_0x52fff3[_0xeda522])&&(_0x4d259c=_0x5ea8f7(_0x4d259c)||_0x4d259c);return _0x4d259c;},_0x393210=(_0x123c82,_0x3cbb55)=>(_0x5b5264,_0x4b4d08)=>_0x3cbb55(_0x5b5264,_0x4b4d08,_0x123c82);let _0x5ab0af=class extends _0x88db4d['Disposable']{constructor(_0x58adb3,_0x2ba179,_0xf941d,_0x1481cf){const _0x320332=_0x2be3c1;super(),_0x31ba17(this,'_memberID'),(this[_0x320332(0x363)]=_0x58adb3,this[_0x320332(0x1cd)]=_0x2ba179,this[_0x320332(0x1ee)]=_0xf941d,this['_collaborationSessionService']=_0x1481cf,this[_0x320332(0x43c)]());}['_init'](){const _0x2330cb=_0x2be3c1;this['_initWindowErrorListener'](),this[_0x2330cb(0x2fe)](),this[_0x2330cb(0x42e)](),this[_0x2330cb(0x2da)]();}[_0x2be3c1(0x2da)](){const _0x6751fb=_0x2be3c1;this['disposeWithMe'](this[_0x6751fb(0x195)][_0x6751fb(0x46b)][_0x6751fb(0x1f2)](_0x3ab1aa=>{const _0x4de683=_0x6751fb;this[_0x4de683(0x21d)]=_0x3ab1aa==null?void 0x0:_0x3ab1aa['memberID'];}));}[_0x2be3c1(0x3e8)](){const _0x257c3a=_0x2be3c1,_0x490a9c=_0x59f430=>{const _0x3dd610=_0x4ca8;var _0x53f756;this[_0x3dd610(0x425)]('error',_0x3dd610(0x246)+_0x59f430[_0x3dd610(0x2a3)]+_0x3dd610(0x18d)+_0x59f430[_0x3dd610(0x416)]+':'+_0x59f430['lineno']+':'+_0x59f430[_0x3dd610(0x3d6)]+'\x0a'+(((_0x53f756=_0x59f430[_0x3dd610(0x383)])==null?void 0x0:_0x53f756[_0x3dd610(0x438)])||''));};window[_0x257c3a(0x3d0)](_0x257c3a(0x383),_0x490a9c),this[_0x257c3a(0x3ee)](()=>{const _0xb725c1=_0x257c3a;window[_0xb725c1(0x18c)](_0xb725c1(0x383),_0x490a9c);});}[_0x2be3c1(0x2fe)](){const _0x41265a=_0x2be3c1,_0x348606=_0x371544=>{const _0x43dc30=_0x4ca8;this[_0x43dc30(0x425)](_0x43dc30(0x383),'[Unhandled\x20Rejection]:\x20'+_0x371544['reason']);};window['addEventListener'](_0x41265a(0x1f4),_0x348606),this[_0x41265a(0x3ee)](()=>{const _0x106ffb=_0x41265a;window[_0x106ffb(0x18c)](_0x106ffb(0x1f4),_0x348606);});}['_monkeyPatchLogService'](){const _0x169796=_0x2be3c1,_0x2a3105=this['_logService'][_0x169796(0x383)][_0x169796(0x2aa)](this[_0x169796(0x1ee)]);this['_logService'][_0x169796(0x383)]=(..._0x30b827)=>{const _0x28f2a7=_0x169796,_0x1cdcc3=_0x30b827[_0x28f2a7(0x22e)](_0x153f35=>_0x153f35 instanceof Error?_0x153f35[_0x28f2a7(0x2a3)]+'\x0a'+_0x153f35[_0x28f2a7(0x438)]:String(_0x153f35))[_0x28f2a7(0x3a2)]('\x20');this['_uploadLog'](_0x28f2a7(0x383),_0x28f2a7(0x30c)+_0x1cdcc3),_0x2a3105(..._0x30b827);},this[_0x169796(0x3ee)](()=>{this['_logService']['error']=_0x2a3105;});}[_0x2be3c1(0x425)](_0x6b36a3,_0x5805df){const _0x4ed269=_0x2be3c1;try{const _0x584596={'userId':this[_0x4ed269(0x21d)],'logLabel':_0x6b36a3,'content':_0x5805df};this[_0x4ed269(0x1cd)][_0x4ed269(0x28c)](_0x4ed269(0x381),{'body':_0x584596})[_0x4ed269(0x2ff)](()=>{});}catch{}}};_0x5ab0af=_0x63a29d([_0x393210(0x0,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d['Injector'])),_0x393210(0x1,_0x88db4d[_0x2be3c1(0x2b1)](_0x37abfe[_0x2be3c1(0x21b)])),_0x393210(0x2,_0x88db4d['ILogService']),_0x393210(0x3,_0x88db4d['Inject'](_0x4cce40['CollaborationSessionService']))],_0x5ab0af);const _0x5d13e6=_0x2be3c1(0x2b7),_0x4f9c2d={};var _0x4077e7=Object[_0x2be3c1(0x393)],_0x445486=(_0x4f436d,_0x5cd58c,_0x224de4,_0x1bbc80)=>{for(var _0xb1fd4e=_0x1bbc80>0x1?void 0x0:_0x1bbc80?_0x4077e7(_0x5cd58c,_0x224de4):_0x5cd58c,_0x4fc3e5=_0x4f436d['length']-0x1,_0x4a2a1a;_0x4fc3e5>=0x0;_0x4fc3e5--)(_0x4a2a1a=_0x4f436d[_0x4fc3e5])&&(_0xb1fd4e=_0x4a2a1a(_0xb1fd4e)||_0xb1fd4e);return _0xb1fd4e;},_0x3871b1=(_0x6778c7,_0x5e275c)=>(_0x4ca5d2,_0x5863b4)=>_0x5e275c(_0x4ca5d2,_0x5863b4,_0x6778c7);let _0xf4bf8f=class{constructor(_0x27f545,_0x56e3dc){const _0x38c33b=_0x2be3c1;this[_0x38c33b(0x46d)]=_0x27f545,this['_renderManagerService']=_0x56e3dc;}[_0x2be3c1(0x34f)](_0x4dbd18){const _0x34a707=_0x2be3c1;this[_0x34a707(0x351)](_0x4dbd18),this[_0x34a707(0x374)](_0x4dbd18);}[_0x2be3c1(0x224)](_0x201b0f){const _0x29abed=_0x2be3c1,{unitID:_0x51fb5f}=_0x201b0f,_0x16ad06=this[_0x29abed(0x3b5)][_0x29abed(0x44d)](_0x51fb5f)['with'](_0x1fd691[_0x29abed(0x190)]),{redoCache:_0x1681b8}=_0x16ad06[_0x29abed(0x3c7)]();if(_0x1681b8[_0x29abed(0x413)]===0x0)return _0x201b0f;let _0x3c2872=_0x88db4d[_0x29abed(0x26b)][_0x29abed(0x19e)](_0x201b0f[_0x29abed(0x2f4)][0x0]);for(let _0x3fd846=0x0;_0x3fd846<_0x1681b8['length'];_0x3fd846++){const _0xdeb576={'id':_0x29abed(0x198),'params':{..._0x1681b8[_0x3fd846]}},_0x34fea9=this[_0x29abed(0x46d)][_0x29abed(0x255)](_0x3c2872,_0xdeb576,!0x1);if(_0x28fbb0[_0x29abed(0x440)](_0x34fea9))throw _0x34fea9[_0x29abed(0x383)];_0x3c2872=_0x34fea9[_0x29abed(0x29e)];}return{..._0x88db4d[_0x29abed(0x26b)]['deepClone'](_0x201b0f),'mutations':[_0x3c2872]};}[_0x2be3c1(0x351)](_0x4f8aab){const _0x1edf7c=_0x2be3c1,{unitID:_0x1951df}=_0x4f8aab,_0x38f40e=this[_0x1edf7c(0x3b5)][_0x1edf7c(0x44d)](_0x1951df)[_0x1edf7c(0x23a)](_0x1fd691[_0x1edf7c(0x190)]),{undoCache:_0x17b7a2,redoCache:_0x5e5044}=_0x38f40e['getUndoRedoMutationParamsCache']();if(_0x17b7a2[_0x1edf7c(0x413)]===0x0||_0x5e5044[_0x1edf7c(0x413)]===0x0)return;const _0x266bba=[],_0x4228ab=[];let _0x278ab4=_0x88db4d[_0x1edf7c(0x26b)][_0x1edf7c(0x19e)](_0x4f8aab[_0x1edf7c(0x2f4)][0x0]),_0x409cbb=_0x88db4d[_0x1edf7c(0x26b)][_0x1edf7c(0x19e)](_0x4f8aab[_0x1edf7c(0x2f4)][0x0]);for(let _0x50a3e2=_0x17b7a2['length']-0x1;_0x50a3e2>=0x0;_0x50a3e2--){const _0x4c99f3={'id':_0x1edf7c(0x198),'params':{..._0x17b7a2[_0x50a3e2]}},_0x3945a8={'id':'doc.mutation.rich-text-editing','params':{..._0x5e5044[_0x50a3e2]}},_0x222c4e=this[_0x1edf7c(0x46d)][_0x1edf7c(0x255)](_0x278ab4,_0x4c99f3,!0x1),_0x5a4f6d=this['_transformService']['transformMutation'](_0x409cbb,_0x3945a8,!0x1);if(_0x28fbb0['isTransformMutationFailure'](_0x222c4e))throw _0x222c4e[_0x1edf7c(0x383)];if(_0x28fbb0['isTransformMutationFailure'](_0x5a4f6d))throw _0x5a4f6d['error'];_0x266bba[_0x1edf7c(0x36a)](_0x222c4e[_0x1edf7c(0x27c)][_0x1edf7c(0x317)]),_0x4228ab[_0x1edf7c(0x36a)](_0x5a4f6d[_0x1edf7c(0x27c)]['params']),_0x278ab4=_0x222c4e[_0x1edf7c(0x29e)],_0x409cbb=_0x5a4f6d[_0x1edf7c(0x29e)];}_0x38f40e[_0x1edf7c(0x37c)]({'undoCache':_0x266bba,'redoCache':_0x4228ab});}[_0x2be3c1(0x374)](_0x50e7f0){const _0x11eae0=_0x2be3c1,{unitID:_0x75a2b4}=_0x50e7f0,_0x441f9c=this['_renderManagerService']['getRenderById'](_0x75a2b4)['with'](_0x1fd691[_0x11eae0(0x190)]),_0x5afef2=_0x441f9c['getActiveRange']();if(_0x5afef2==null)return;const _0x4295ca=[{'id':_0x11eae0(0x198),'params':{'unitId':_0x50e7f0['unitID'],'actions':null,'textRanges':[_0x5afef2]}}],_0x4c1c3f=this[_0x11eae0(0x46d)]['transformMutationsWithChangeset'](_0x50e7f0,_0x4295ca);if(!_0x28fbb0[_0x11eae0(0x41e)](_0x4c1c3f))throw _0x4c1c3f[_0x11eae0(0x383)];const _0xbd86a5=_0x4c1c3f['m2Prime'][0x0][_0x11eae0(0x317)][_0x11eae0(0x28d)];Array[_0x11eae0(0x360)](_0xbd86a5)&&_0xbd86a5[_0x11eae0(0x413)]&&_0x441f9c['setActiveRange'](_0xbd86a5[0x0]);}};_0xf4bf8f=_0x445486([_0x3871b1(0x0,_0x28fbb0[_0x2be3c1(0x1f5)]),_0x3871b1(0x1,_0xe27d05['IRenderManagerService'])],_0xf4bf8f);var _0x5c6111=Object[_0x2be3c1(0x393)],_0x13c426=(_0x48f53f,_0x5b0fb5,_0x4f8aaf,_0x416795)=>{const _0x444d38=_0x2be3c1;for(var _0x29102f=_0x416795>0x1?void 0x0:_0x416795?_0x5c6111(_0x5b0fb5,_0x4f8aaf):_0x5b0fb5,_0x3b560f=_0x48f53f[_0x444d38(0x413)]-0x1,_0x33c334;_0x3b560f>=0x0;_0x3b560f--)(_0x33c334=_0x48f53f[_0x3b560f])&&(_0x29102f=_0x33c334(_0x29102f)||_0x29102f);return _0x29102f;},_0x5c32b0=(_0x21aa35,_0x196eb4)=>(_0x2184c5,_0xea38c)=>_0x196eb4(_0x2184c5,_0xea38c,_0x21aa35);let _0xf420a0=class{constructor(_0x5f412c,_0x202676,_0x2351f6){const _0x221ebe=_0x2be3c1;this[_0x221ebe(0x363)]=_0x5f412c,this['_transformService']=_0x202676,this[_0x221ebe(0x2f0)]=_0x2351f6;}[_0x2be3c1(0x294)](_0x46718f){const _0x2b48d0=_0x2be3c1;this[_0x2b48d0(0x40e)](_0x46718f);}[_0x2be3c1(0x224)](_0x922693){const _0x1b9eda=_0x2be3c1,{unitID:_0x4c7b90}=_0x922693,{collaboration:_0x590fcd}=this[_0x1b9eda(0x2f0)][_0x1b9eda(0x35e)](_0x4c7b90);if(_0x590fcd[_0x1b9eda(0x413)]===0x0)return _0x922693;let _0xb1b165=_0x88db4d[_0x1b9eda(0x26b)][_0x1b9eda(0x19e)](_0x922693[_0x1b9eda(0x2f4)][0x0]);for(let _0x5ac517=0x0;_0x5ac517<_0x590fcd[_0x1b9eda(0x413)];_0x5ac517++){const _0x28f77c={'id':_0x1b9eda(0x198),'params':{'unitId':_0x590fcd[_0x5ac517][_0x1b9eda(0x2b8)],..._0x590fcd[_0x5ac517][_0x1b9eda(0x369)]}},_0x1af7a5=this[_0x1b9eda(0x46d)]['transformMutation'](_0xb1b165,_0x28f77c,!0x1);if(_0x28fbb0[_0x1b9eda(0x440)](_0x1af7a5))throw _0x1af7a5['error'];_0xb1b165=_0x1af7a5[_0x1b9eda(0x29e)];}return{..._0x88db4d['Tools']['deepClone'](_0x922693),'mutations':[_0xb1b165]};}[_0x2be3c1(0x40e)](_0x10a56f){const _0x1ad5cc=_0x2be3c1,{unitID:_0x3190a6}=_0x10a56f,{history:_0x2d2cd6,collaboration:_0x3221a2}=this[_0x1ad5cc(0x2f0)][_0x1ad5cc(0x35e)](_0x3190a6);if(_0x2d2cd6[_0x1ad5cc(0x413)]===0x0&&_0x3221a2['length']===0x0)return;const _0x214ad4=[],_0xa82eea=[];let _0x30a567=_0x88db4d['Tools'][_0x1ad5cc(0x19e)](_0x10a56f[_0x1ad5cc(0x2f4)][0x0]),_0x520945=_0x88db4d[_0x1ad5cc(0x26b)]['deepClone'](_0x10a56f[_0x1ad5cc(0x2f4)][0x0]);for(let _0x105394=_0x2d2cd6[_0x1ad5cc(0x413)]-0x1;_0x105394>=0x0;_0x105394--){const _0x550a11={'id':_0x1ad5cc(0x198),'params':{'unitId':_0x2d2cd6[_0x105394]['unitId'],..._0x2d2cd6[_0x105394][_0x1ad5cc(0x276)]}},_0x3c3b6b={'id':_0x1ad5cc(0x198),'params':{'unitId':_0x2d2cd6[_0x105394][_0x1ad5cc(0x2b8)],..._0x2d2cd6[_0x105394][_0x1ad5cc(0x369)]}},_0x27740d=this[_0x1ad5cc(0x46d)][_0x1ad5cc(0x255)](_0x30a567,_0x550a11,!0x1),_0x2ecd96=this[_0x1ad5cc(0x46d)][_0x1ad5cc(0x255)](_0x520945,_0x3c3b6b,!0x1);if(_0x28fbb0[_0x1ad5cc(0x440)](_0x27740d))throw _0x27740d[_0x1ad5cc(0x383)];if(_0x28fbb0[_0x1ad5cc(0x440)](_0x2ecd96))throw _0x2ecd96[_0x1ad5cc(0x383)];_0x214ad4[_0x1ad5cc(0x36a)]({..._0x2d2cd6[_0x105394],'undoState':_0x27740d[_0x1ad5cc(0x27c)][_0x1ad5cc(0x317)],'redoState':_0x2ecd96[_0x1ad5cc(0x27c)][_0x1ad5cc(0x317)]}),_0x30a567=_0x27740d['m1Prime'],_0x520945=_0x2ecd96[_0x1ad5cc(0x29e)];}_0x30a567=_0x88db4d[_0x1ad5cc(0x26b)][_0x1ad5cc(0x19e)](_0x10a56f['mutations'][0x0]),_0x520945=_0x88db4d[_0x1ad5cc(0x26b)]['deepClone'](_0x10a56f['mutations'][0x0]);for(let _0x2074b7=_0x3221a2[_0x1ad5cc(0x413)]-0x1;_0x2074b7>=0x0;_0x2074b7--){const _0x45c164={'id':_0x1ad5cc(0x198),'params':{'unitId':_0x3221a2[_0x2074b7][_0x1ad5cc(0x2b8)],..._0x3221a2[_0x2074b7][_0x1ad5cc(0x276)]}},_0x1cf319={'id':_0x1ad5cc(0x198),'params':{'unitId':_0x3221a2[_0x2074b7][_0x1ad5cc(0x2b8)],..._0x3221a2[_0x2074b7][_0x1ad5cc(0x369)]}},_0x731ce8=this[_0x1ad5cc(0x46d)]['transformMutation'](_0x30a567,_0x45c164,!0x1),_0x4f48d9=this['_transformService']['transformMutation'](_0x520945,_0x1cf319,!0x1);if(_0x28fbb0[_0x1ad5cc(0x440)](_0x731ce8))throw _0x731ce8['error'];if(_0x28fbb0[_0x1ad5cc(0x440)](_0x4f48d9))throw _0x4f48d9['error'];_0xa82eea[_0x1ad5cc(0x36a)]({..._0x3221a2[_0x2074b7],'undoState':_0x731ce8[_0x1ad5cc(0x27c)][_0x1ad5cc(0x317)],'redoState':_0x4f48d9[_0x1ad5cc(0x27c)][_0x1ad5cc(0x317)]}),_0x30a567=_0x731ce8['m1Prime'],_0x520945=_0x4f48d9[_0x1ad5cc(0x29e)];}this['_docStateChangeManagerService'][_0x1ad5cc(0x1a1)](_0x3190a6,{'history':_0x214ad4,'collaboration':_0xa82eea});}};_0xf420a0=_0x13c426([_0x5c32b0(0x0,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d[_0x2be3c1(0x3db)])),_0x5c32b0(0x1,_0x28fbb0[_0x2be3c1(0x1f5)]),_0x5c32b0(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0x1fd691[_0x2be3c1(0x242)]))],_0xf420a0);var _0x4ba42a=Object[_0x2be3c1(0x393)],_0x3f362a=(_0x47b21c,_0x392480,_0x2986a7,_0x5b628b)=>{const _0x27eaca=_0x2be3c1;for(var _0x2c4f6a=_0x5b628b>0x1?void 0x0:_0x5b628b?_0x4ba42a(_0x392480,_0x2986a7):_0x392480,_0x1b022e=_0x47b21c[_0x27eaca(0x413)]-0x1,_0x26afad;_0x1b022e>=0x0;_0x1b022e--)(_0x26afad=_0x47b21c[_0x1b022e])&&(_0x2c4f6a=_0x26afad(_0x2c4f6a)||_0x2c4f6a);return _0x2c4f6a;},_0x141c25=(_0x481f7a,_0x5b81a0)=>(_0x968ebe,_0x3c8119)=>_0x5b81a0(_0x968ebe,_0x3c8119,_0x481f7a);let _0x3f33b5=class{constructor(_0x1b3834,_0x59d056){const _0x2a78c9=_0x2be3c1;this['_injector']=_0x1b3834,this[_0x2a78c9(0x46d)]=_0x59d056;}[_0x2be3c1(0x39e)](_0x299c51){const _0x2d2e92=_0x2be3c1;var _0x233494;const _0x8fb980=this[_0x2d2e92(0x363)][_0x2d2e92(0x489)](_0x3c0520[_0x2d2e92(0x41a)]),_0x50047e=(_0x233494=_0x8fb980[_0x2d2e92(0x3ed)]())!=null?_0x233494:[];if(_0x50047e[_0x2d2e92(0x413)]===0x0)return;const _0xb4d9b3=_0x299c51['unitID'],_0xc860a9=[{'id':_0x2d2e92(0x198),'params':{'unitId':_0xb4d9b3,'actions':null,'textRanges':_0x50047e}}],_0x53d5b1=this[_0x2d2e92(0x46d)][_0x2d2e92(0x3d9)](_0x299c51,_0xc860a9);if(!_0x28fbb0[_0x2d2e92(0x41e)](_0x53d5b1))throw _0x53d5b1[_0x2d2e92(0x383)];const _0x4d001f=_0x53d5b1['m2Prime'][0x0][_0x2d2e92(0x317)]['textRanges'];Array[_0x2d2e92(0x360)](_0x4d001f)&&_0x4d001f['length']&&_0x8fb980['replaceDocRanges'](_0x4d001f,{'unitId':_0xb4d9b3,'subUnitId':_0xb4d9b3},!0x1);}};_0x3f33b5=_0x3f362a([_0x141c25(0x0,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d['Injector'])),_0x141c25(0x1,_0x28fbb0[_0x2be3c1(0x1f5)])],_0x3f33b5);var _0x5b5e0c=Object[_0x2be3c1(0x393)],_0x5cf6e5=(_0x5a3dbd,_0x302eea,_0x4c8b44,_0x16cc3d)=>{for(var _0x5e8cc2=_0x16cc3d>0x1?void 0x0:_0x16cc3d?_0x5b5e0c(_0x302eea,_0x4c8b44):_0x302eea,_0x3e3474=_0x5a3dbd['length']-0x1,_0xb38621;_0x3e3474>=0x0;_0x3e3474--)(_0xb38621=_0x5a3dbd[_0x3e3474])&&(_0x5e8cc2=_0xb38621(_0x5e8cc2)||_0x5e8cc2);return _0x5e8cc2;},_0x98ee06=(_0x5b0273,_0x45c50d)=>(_0x2ee540,_0x2d0147)=>_0x45c50d(_0x2ee540,_0x2d0147,_0x5b0273);let _0x1527d5=class extends _0x88db4d['Disposable']{constructor(_0x514b82,_0x291966,_0x50e463,_0x1a7aa8,_0x539da0,_0x38ae26,_0xa0e65,_0x4f495c){const _0x350b53=_0x2be3c1;super(),_0x31ba17(this,_0x350b53(0x199),new _0x3b0fae['BehaviorSubject'](_0x4cce40[_0x350b53(0x202)][_0x350b53(0x323)])),(this[_0x350b53(0x2f0)]=_0x514b82,this[_0x350b53(0x301)]=_0x291966,this[_0x350b53(0x445)]=_0x50e463,this[_0x350b53(0x397)]=_0x1a7aa8,this[_0x350b53(0x41d)]=_0x539da0,this[_0x350b53(0x292)]=_0x38ae26,this[_0x350b53(0x459)]=_0xa0e65,this[_0x350b53(0x1f3)]=_0x4f495c,this['_initEntityListener']());}[_0x2be3c1(0x267)](){const _0x54595d=_0x2be3c1;this['disposeWithMe'](this[_0x54595d(0x301)][_0x54595d(0x26e)][_0x54595d(0x1f2)](_0x115364=>{const _0x177cbb=_0x54595d,_0xea6e0b=this['_docStateChangeManagerService'][_0x177cbb(0x1a2)]['subscribe'](_0x5633dd=>{const _0x17f6b9=_0x177cbb;if(_0x5633dd==null)return;const {unitId:_0x73c9fc,redoState:_0x2740df,commandId:_0x243357}=_0x5633dd;if(_0x73c9fc!==_0x115364['unitID'])return;const _0x31e19b={'id':_0x243357,'type':_0x88db4d[_0x17f6b9(0x19d)][_0x17f6b9(0x38e)],'params':{'unitId':_0x73c9fc,'actions':_0x2740df[_0x17f6b9(0x418)],'textRanges':null}};_0x115364[_0x17f6b9(0x19f)](_0x31e19b);});if(_0x115364[_0x177cbb(0x3ee)](_0xea6e0b),_0x115364 instanceof _0x4cce40[_0x177cbb(0x453)]){const _0x5eb864={'onTransformIME':_0xbbef6f=>this[_0x177cbb(0x445)][_0x177cbb(0x34f)](_0xbbef6f),'onTransformState':_0x112d37=>this[_0x177cbb(0x397)][_0x177cbb(0x294)](_0x112d37),'onTransformSelections':_0x438ef3=>this[_0x177cbb(0x41d)][_0x177cbb(0x39e)](_0x438ef3),'onSyncEditingCollabCursor':_0x4e477f=>this[_0x177cbb(0x292)][_0x177cbb(0x1d1)](_0x4e477f),'onTransformRemoteChangesetByIMECache':_0x53444c=>this['_docTransformIMECacheService'][_0x177cbb(0x224)](_0x53444c),'onTransformRemoteChangesetByStateCache':_0x1e8782=>this['_docTransformStateCacheService'][_0x177cbb(0x224)](_0x1e8782)};_0x115364['addHandlerCallback'](_0x5eb864);}}));}};_0x1527d5=_0x5cf6e5([_0x98ee06(0x0,_0x88db4d[_0x2be3c1(0x2b1)](_0x1fd691[_0x2be3c1(0x242)])),_0x98ee06(0x1,_0x88db4d[_0x2be3c1(0x2b1)](_0x4cce40[_0x2be3c1(0x330)])),_0x98ee06(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0xf4bf8f)),_0x98ee06(0x3,_0x88db4d['Inject'](_0xf420a0)),_0x98ee06(0x4,_0x88db4d[_0x2be3c1(0x2b1)](_0x3f33b5)),_0x98ee06(0x5,_0x88db4d[_0x2be3c1(0x2b1)](_0x5ae914)),_0x98ee06(0x6,_0x2ff57e['IMessageService']),_0x98ee06(0x7,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d[_0x2be3c1(0x368)]))],_0x1527d5);var _0x518652=(_0x533918=>(_0x533918[_0x533918['UNDEFINED']=0x0]=_0x2be3c1(0x295),_0x533918[_0x533918['OK']=0x1]='OK',_0x533918[_0x533918['INTERNAL_ERROR']=0x2]=_0x2be3c1(0x460),_0x533918[_0x533918[_0x2be3c1(0x2cf)]=0x3]=_0x2be3c1(0x2cf),_0x533918[_0x533918['NOT_FOUND']=0x4]='NOT_FOUND',_0x533918[_0x533918['UNAUTHENTICATED']=0x5]=_0x2be3c1(0x2fd),_0x533918[_0x533918[_0x2be3c1(0x1e1)]=0x6]=_0x2be3c1(0x1e1),_0x533918[_0x533918['INVALID_ARGUMENT']=0x7]=_0x2be3c1(0x398),_0x533918[_0x533918['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x533918[_0x533918[_0x2be3c1(0x18e)]=0x9]=_0x2be3c1(0x18e),_0x533918[_0x533918[_0x2be3c1(0x455)]=0xa]=_0x2be3c1(0x455),_0x533918[_0x533918[_0x2be3c1(0x3b2)]=0xb]=_0x2be3c1(0x3b2),_0x533918[_0x533918['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x2be3c1(0x309),_0x533918[_0x533918[_0x2be3c1(0x1fd)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x533918[_0x533918['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x533918[_0x533918[_0x2be3c1(0x3a0)]=0xf]=_0x2be3c1(0x3a0),_0x533918[_0x533918[_0x2be3c1(0x278)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x533918[_0x533918[_0x2be3c1(0x464)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x533918[_0x533918[_0x2be3c1(0x1c5)]=0x65]=_0x2be3c1(0x1c5),_0x533918[_0x533918[_0x2be3c1(0x28e)]=0xc9]=_0x2be3c1(0x28e),_0x533918[_0x533918[_0x2be3c1(0x406)]=0xca]='USER_IS_ANONYMOUS',_0x533918[_0x533918['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x2be3c1(0x3ca),_0x533918[_0x533918[_0x2be3c1(0x3cf)]=0x1771]=_0x2be3c1(0x3cf),_0x533918[_0x533918[_0x2be3c1(0x212)]=0x1772]=_0x2be3c1(0x212),_0x533918[_0x533918['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x2be3c1(0x1de),_0x533918[_0x533918[_0x2be3c1(0x1ff)]=0x1b59]=_0x2be3c1(0x1ff),_0x533918[_0x533918[_0x2be3c1(0x1ad)]=0x1b5a]=_0x2be3c1(0x1ad),_0x533918[_0x533918[_0x2be3c1(0x25d)]=0x1b5b]=_0x2be3c1(0x25d),_0x533918[_0x533918[_0x2be3c1(0x422)]=0x1b5c]=_0x2be3c1(0x422),_0x533918[_0x533918['APPLY_DUPLICATED']=0x1b5d]=_0x2be3c1(0x20a),_0x533918[_0x533918['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x2be3c1(0x3eb),_0x533918[_0x533918[_0x2be3c1(0x373)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x533918[_0x533918['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x533918[_0x533918[_0x2be3c1(0x419)]=0x232b]=_0x2be3c1(0x419),_0x533918[_0x533918[_0x2be3c1(0x3ad)]=0x232c]=_0x2be3c1(0x3ad),_0x533918[_0x533918[_0x2be3c1(0x192)]=0x232d]=_0x2be3c1(0x192),_0x533918[_0x533918[_0x2be3c1(0x30e)]=0x2711]=_0x2be3c1(0x30e),_0x533918[_0x533918['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x2be3c1(0x34d),_0x533918[_0x533918[_0x2be3c1(0x462)]=0x2713]=_0x2be3c1(0x462),_0x533918[_0x533918[_0x2be3c1(0x319)]=0x2714]=_0x2be3c1(0x319),_0x533918[_0x533918[_0x2be3c1(0x1ea)]=0x271a]=_0x2be3c1(0x1ea),_0x533918[_0x533918[_0x2be3c1(0x2d4)]=0x271b]=_0x2be3c1(0x2d4),_0x533918[_0x533918[_0x2be3c1(0x45f)]=0x271c]=_0x2be3c1(0x45f),_0x533918[_0x533918['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x2be3c1(0x3ef),_0x533918[_0x533918[_0x2be3c1(0x364)]=0x271e]=_0x2be3c1(0x364),_0x533918[_0x533918[_0x2be3c1(0x2eb)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x533918[_0x533918['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x2be3c1(0x20c),_0x533918[_0x533918[_0x2be3c1(0x1ef)]=0x2af9]=_0x2be3c1(0x1ef),_0x533918[_0x533918[_0x2be3c1(0x21f)]=0x2ee1]=_0x2be3c1(0x21f),_0x533918[_0x533918[_0x2be3c1(0x43f)]=0x2ee2]=_0x2be3c1(0x43f),_0x533918[_0x533918[_0x2be3c1(0x20d)]=0x2ee3]=_0x2be3c1(0x20d),_0x533918[_0x533918[_0x2be3c1(0x45c)]=0x2ee4]=_0x2be3c1(0x45c),_0x533918[_0x533918[_0x2be3c1(0x3ac)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x533918[_0x533918[_0x2be3c1(0x2bf)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x533918[_0x533918[_0x2be3c1(0x2c8)]=0x32ca]=_0x2be3c1(0x2c8),_0x533918[_0x533918['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2be3c1(0x259),_0x533918[_0x533918['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x2be3c1(0x2d5),_0x533918[_0x533918['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x2be3c1(0x265),_0x533918[_0x533918[_0x2be3c1(0x333)]=0x36b3]=_0x2be3c1(0x333),_0x533918[_0x533918[_0x2be3c1(0x341)]=0x36b4]=_0x2be3c1(0x341),_0x533918[_0x533918[_0x2be3c1(0x18a)]=0x36b5]=_0x2be3c1(0x18a),_0x533918[_0x533918['ENTITLE_COUPON_EXPIRED']=0x36b6]=_0x2be3c1(0x44f),_0x533918[_0x533918[_0x2be3c1(0x43b)]=0x36b7]=_0x2be3c1(0x43b),_0x533918[_0x533918['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x533918[_0x533918[_0x2be3c1(0x1b9)]=0x3715]=_0x2be3c1(0x1b9),_0x533918[_0x533918[_0x2be3c1(0x1ac)]=0x3716]=_0x2be3c1(0x1ac),_0x533918[_0x533918['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x533918[_0x533918[_0x2be3c1(0x392)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x533918[_0x533918[_0x2be3c1(0x221)]=0x3a99]=_0x2be3c1(0x221),_0x533918[_0x533918[_0x2be3c1(0x209)]=0x3a9a]=_0x2be3c1(0x209),_0x533918[_0x533918['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x2be3c1(0x2fb),_0x533918[_0x533918[_0x2be3c1(0x2c4)]=0x3a9c]=_0x2be3c1(0x2c4),_0x533918[_0x533918['REDEMPTION_USER_NOT_ELIGIBLE']=0x3a9d]=_0x2be3c1(0x376),_0x533918[_0x533918['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x2be3c1(0x2c7),_0x533918[_0x533918['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x2be3c1(0x266),_0x533918[_0x533918[_0x2be3c1(0x1dc)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x533918[_0x533918['UNRECOGNIZED']=-0x1]=_0x2be3c1(0x3ba),_0x533918))(_0x518652||{});function _0x31ea8c(_0xb5ea33){const _0x57e656=_0x2be3c1;var _0x374bb4,_0x52ed88;const _0x31239b=(_0x374bb4=_0xb5ea33['stageInfo'])==null?void 0x0:_0x374bb4[_0x57e656(0x487)],_0x4a7792=((_0x52ed88=_0xb5ea33[_0x57e656(0x1f7)])==null?void 0x0:_0x52ed88['totalFormulasToCalculate'])||0x0;return _0x31239b===_0x52fd75[_0x57e656(0x1bf)][_0x57e656(0x3da)]&&_0x4a7792>0x0;}function _0x472f0d(_0x44ec68){const _0x4c2918=_0x2be3c1;return _0x44ec68[_0x4c2918(0x241)]===_0x52fd75[_0x4c2918(0x239)][_0x4c2918(0x430)];}var _0x34db8e=Object[_0x2be3c1(0x393)],_0x58201a=(_0x1525fa,_0x40edaa,_0x19c4eb,_0x37a0d8)=>{for(var _0xcfb802=_0x37a0d8>0x1?void 0x0:_0x37a0d8?_0x34db8e(_0x40edaa,_0x19c4eb):_0x40edaa,_0x390c2d=_0x1525fa['length']-0x1,_0x2403cf;_0x390c2d>=0x0;_0x390c2d--)(_0x2403cf=_0x1525fa[_0x390c2d])&&(_0xcfb802=_0x2403cf(_0xcfb802)||_0xcfb802);return _0xcfb802;},_0x203b18=(_0x31e544,_0x84c5a)=>(_0x5ce274,_0x11d8c2)=>_0x84c5a(_0x5ce274,_0x11d8c2,_0x31e544);const _0x15f328=_0x2be3c1(0x1db),_0x30d5d1=_0x2be3c1(0x219),_0x83496a=_0x2be3c1(0x386);let _0x33f734=class extends _0x88db4d['Disposable']{constructor(_0x3c0603,_0x264262,_0x44dffa,_0x6ab2c8,_0xf0a2a0,_0x23998c,_0x175da0){const _0x41ae10=_0x2be3c1;super(),_0x31ba17(this,_0x41ae10(0x30f),null),_0x31ba17(this,_0x41ae10(0x353),0x0),_0x31ba17(this,_0x41ae10(0x3d5),0x0),_0x31ba17(this,_0x41ae10(0x2ba),[]),_0x31ba17(this,_0x41ae10(0x2b0),0x0),(this[_0x41ae10(0x459)]=_0x3c0603,this['_commandService']=_0x264262,this[_0x41ae10(0x213)]=_0x44dffa,this['_httpService']=_0x6ab2c8,this[_0x41ae10(0x1b7)]=_0xf0a2a0,this[_0x41ae10(0x1ee)]=_0x23998c,this['_localeService']=_0x175da0,this[_0x41ae10(0x324)]());}['_initCommandInterceptor'](){const _0xb51c52=_0x2be3c1;this['disposeWithMe'](this[_0xb51c52(0x243)]['beforeCommandExecuted']((_0x45aff2,_0x24c308)=>{const _0x262602=_0xb51c52;var _0x380add;if(_0x45aff2['id']!==_0x52fd75[_0x262602(0x465)]['id'])return;const _0xcdf3e9=_0x45aff2[_0x262602(0x317)];if(!this['_hasFormulaInDirtyRanges']((_0x380add=_0xcdf3e9[_0x262602(0x281)])!=null?_0x380add:[]))return;if(!this[_0x262602(0x201)]())throw this['_checkAndWaitForCalculationPermission'](_0x45aff2,_0x24c308),this['_showGuardMessage'](),new _0x88db4d[(_0x262602(0x314))]();})),this[_0xb51c52(0x3ee)](this[_0xb51c52(0x243)][_0xb51c52(0x1b3)]((_0x35400a,_0x4896fd)=>{const _0x49da2f=_0xb51c52;if(_0x35400a['id']!==_0x52fd75[_0x49da2f(0x1bb)]['id'])return;const _0x34ec66=_0x35400a['params'];if(_0x31ea8c(_0x34ec66)){const _0x4bb47e=_0x88db4d[_0x49da2f(0x335)]();this[_0x49da2f(0x2ba)]['push'](_0x4bb47e),this[_0x49da2f(0x3d4)](_0x4bb47e);}else{if(_0x472f0d(_0x34ec66)&&this[_0x49da2f(0x2ba)][_0x49da2f(0x413)]>0x0){const _0x157ef9=this['_taskIds'][_0x49da2f(0x1e5)]();this[_0x49da2f(0x269)](_0x157ef9);}}}));}[_0x2be3c1(0x1a4)](){const _0x80ddfd=_0x2be3c1;super[_0x80ddfd(0x1a4)](),this[_0x80ddfd(0x26c)](),this[_0x80ddfd(0x2ba)]=[],this['_currentUsage']=0x0,this[_0x80ddfd(0x353)]=0x0,this[_0x80ddfd(0x2b0)]=0x0;}async[_0x2be3c1(0x2e9)](_0x3957c0,_0x3033fd){const _0x5aa30a=_0x2be3c1;for(let _0x3e90b9=0x0;_0x3e90b9<0x1e;_0x3e90b9++)try{if(await this[_0x5aa30a(0x350)](),this[_0x5aa30a(0x201)]()){this[_0x5aa30a(0x2b9)](_0x3957c0,_0x3033fd),this['_messageService']['show']({'content':this[_0x5aa30a(0x1f3)]['t'](_0x5aa30a(0x214)),'type':_0x37cc58[_0x5aa30a(0x254)]['Success']});return;}await new Promise(_0x2a7bd4=>{const _0x2887b3=_0x5aa30a;this[_0x2887b3(0x30f)]=window[_0x2887b3(0x44c)](_0x2a7bd4,0x3e8);});}catch(_0x1be50d){this[_0x5aa30a(0x1ee)][_0x5aa30a(0x383)](_0x1be50d);}this[_0x5aa30a(0x459)]['show']({'content':this['_localeService']['t']('formula.calculation.unable'),'type':_0x37cc58[_0x5aa30a(0x254)][_0x5aa30a(0x42a)]});}['_applyCommand'](_0x53fd85,_0xd6df17){const _0x355770=_0x2be3c1;try{this[_0x355770(0x243)][_0x355770(0x33c)](_0x53fd85['id'],_0x53fd85[_0x355770(0x317)],_0xd6df17);}catch(_0x1c6bf7){this[_0x355770(0x1ee)]['error'](_0x1c6bf7);}}[_0x2be3c1(0x3a6)](_0x2d4b80,_0x4e3bf1){const _0x14d0a4=_0x2be3c1;_0x4e3bf1<this['_lastResponseTimestamp']||(this[_0x14d0a4(0x2b0)]=_0x4e3bf1,this[_0x14d0a4(0x353)]=Number[_0x14d0a4(0x1ce)](_0x2d4b80[_0x14d0a4(0x325)]),this[_0x14d0a4(0x3d5)]=Number[_0x14d0a4(0x1ce)](_0x2d4b80[_0x14d0a4(0x3c2)]));}async[_0x2be3c1(0x3d4)](_0x3cd11c){const _0xf24591=_0x2be3c1;var _0x34a6a7,_0xf75c4b;const _0x3d8549=Date[_0xf24591(0x1cf)]();try{const _0x4f57cb=((_0x34a6a7=this[_0xf24591(0x213)]['getConfig'](_0x4cce40[_0xf24591(0x1a8)]))==null?void 0x0:_0x34a6a7[_0xf24591(0x31b)])||_0x30d5d1,_0x29f28b=(await this['_httpService'][_0xf24591(0x28c)](_0x4f57cb,{'body':JSON['stringify']({'taskId':_0x3cd11c})}))[_0xf24591(0x35c)];if(((_0xf75c4b=_0x29f28b[_0xf24591(0x383)])==null?void 0x0:_0xf75c4b[_0xf24591(0x2c0)])!==_0x518652['OK'])return;this['_setFormulaLimitStatus'](_0x29f28b[_0xf24591(0x38f)],_0x3d8549);}catch(_0x5b69d6){this[_0xf24591(0x1ee)]['error'](_0x5b69d6);}}async[_0x2be3c1(0x350)](_0x1952a7){const _0x96f080=_0x2be3c1;var _0x550038,_0x2eee26;const _0x11c3bf=Date[_0x96f080(0x1cf)]();try{const _0x2f5476=((_0x550038=this[_0x96f080(0x213)]['getConfig'](_0x4cce40['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x550038['getformulaLimitStatusUrl'])||_0x15f328,_0x58e641=_0x1952a7?_0x2f5476+_0x96f080(0x189)+encodeURIComponent(_0x1952a7):_0x2f5476,_0x30520e=(await this[_0x96f080(0x1cd)][_0x96f080(0x489)](_0x58e641))[_0x96f080(0x35c)];if(((_0x2eee26=_0x30520e[_0x96f080(0x383)])==null?void 0x0:_0x2eee26[_0x96f080(0x2c0)])!==_0x518652['OK'])return;this['_setFormulaLimitStatus'](_0x30520e[_0x96f080(0x38f)],_0x11c3bf);}catch(_0x5e6607){this[_0x96f080(0x1ee)]['error'](_0x5e6607);}}async[_0x2be3c1(0x269)](_0x3744a4){const _0xc73b39=_0x2be3c1;var _0x2e97e,_0x5c85db;const _0x19c536=Date[_0xc73b39(0x1cf)]();try{const _0x1f4c3=((_0x2e97e=this[_0xc73b39(0x213)]['getConfig'](_0x4cce40[_0xc73b39(0x1a8)]))==null?void 0x0:_0x2e97e['releaseFormulaLimitUrl'])||_0x83496a,_0x3262e3=(await this[_0xc73b39(0x1cd)][_0xc73b39(0x28c)](_0x1f4c3,{'body':JSON[_0xc73b39(0x231)]({'taskId':_0x3744a4})}))[_0xc73b39(0x35c)];if(((_0x5c85db=_0x3262e3['error'])==null?void 0x0:_0x5c85db[_0xc73b39(0x2c0)])!==_0x518652['OK'])return;this[_0xc73b39(0x3a6)](_0x3262e3[_0xc73b39(0x38f)],_0x19c536);}catch(_0x190a1c){this[_0xc73b39(0x1ee)][_0xc73b39(0x383)](_0x190a1c);}}[_0x2be3c1(0x201)](){const _0x10c221=_0x2be3c1;return this[_0x10c221(0x353)]===0x0?!0x0:this[_0x10c221(0x353)]-this[_0x10c221(0x3d5)]>0x0;}['_clearPolling'](){const _0x365b04=_0x2be3c1;this[_0x365b04(0x30f)]&&(clearTimeout(this['_pollingInterval']),this[_0x365b04(0x30f)]=null);}[_0x2be3c1(0x439)](){const _0x238ff3=_0x2be3c1;this[_0x238ff3(0x459)]['show']({'content':this[_0x238ff3(0x1f3)]['t'](_0x238ff3(0x1e6)),'type':_0x37cc58['MessageType'][_0x238ff3(0x3fa)]});}[_0x2be3c1(0x32a)](_0x2208e8){const _0x527b82=_0x2be3c1;for(const _0x55aa8d of _0x2208e8){const {unitId:_0x2a48ec,sheetId:_0x18b248,range:_0x1ea3d5}=_0x55aa8d,_0x5359d4=this['_univerInstanceService']['getUnit'](_0x2a48ec);if(!_0x5359d4)continue;const _0x3a33d6=_0x5359d4['getSheetBySheetId'](_0x18b248);if(!_0x3a33d6)continue;const _0x16ca17=_0x3a33d6[_0x527b82(0x46f)]();for(let _0x33bd45=_0x1ea3d5['startRow'];_0x33bd45<=_0x1ea3d5[_0x527b82(0x32d)];_0x33bd45++)for(let _0x18f2a8=_0x1ea3d5[_0x527b82(0x40b)];_0x18f2a8<=_0x1ea3d5[_0x527b82(0x236)];_0x18f2a8++){const _0x4da119=_0x16ca17[_0x527b82(0x21e)](_0x33bd45,_0x18f2a8);if(_0x4da119&&(_0x88db4d[_0x527b82(0x3ff)](_0x4da119['f'])||_0x88db4d['isFormulaId'](_0x4da119['si'])))return!0x0;}}return!0x1;}};_0x33f734=_0x58201a([_0x203b18(0x0,_0x88db4d[_0x2be3c1(0x2b1)](_0x2ff57e[_0x2be3c1(0x1b2)])),_0x203b18(0x1,_0x88db4d[_0x2be3c1(0x355)]),_0x203b18(0x2,_0x88db4d[_0x2be3c1(0x24a)]),_0x203b18(0x3,_0x88db4d[_0x2be3c1(0x2b1)](_0x37abfe[_0x2be3c1(0x21b)])),_0x203b18(0x4,_0x88db4d[_0x2be3c1(0x43e)]),_0x203b18(0x5,_0x88db4d[_0x2be3c1(0x193)]),_0x203b18(0x6,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d[_0x2be3c1(0x368)]))],_0x33f734);var _0x521f44=Object[_0x2be3c1(0x393)],_0x18fb13=(_0x54378c,_0x536443,_0x1d174f,_0x29fda3)=>{for(var _0x3649ad=_0x29fda3>0x1?void 0x0:_0x29fda3?_0x521f44(_0x536443,_0x1d174f):_0x536443,_0x224b26=_0x54378c['length']-0x1,_0x5ecb66;_0x224b26>=0x0;_0x224b26--)(_0x5ecb66=_0x54378c[_0x224b26])&&(_0x3649ad=_0x5ecb66(_0x3649ad)||_0x3649ad);return _0x3649ad;},_0x41d411=(_0x24819d,_0x21b1bd)=>(_0x1d484b,_0x1598ae)=>_0x21b1bd(_0x1d484b,_0x1598ae,_0x24819d);let _0x8c1091=class extends _0x88db4d[_0x2be3c1(0x39b)]{constructor(_0x3a182b,_0x21ed1a,_0x5346ba){const _0xeb382a=_0x2be3c1;super(),_0x31ba17(this,_0xeb382a(0x191),new Map()),_0x31ba17(this,_0xeb382a(0x384),new Map()),_0x31ba17(this,'_disabled',!0x1),(this[_0xeb382a(0x213)]=_0x3a182b,this[_0xeb382a(0x206)]=_0x21ed1a,this[_0xeb382a(0x342)]=_0x5346ba);}[_0x2be3c1(0x3d1)](){const _0x3c2e98=_0x2be3c1;this[_0x3c2e98(0x400)]=!0x0;}[_0x2be3c1(0x2ab)](){const _0x4db3cb=_0x2be3c1;this[_0x4db3cb(0x400)]=!0x1;}get['saveTaskMap'](){const _0x3ec998=_0x2be3c1;return this[_0x3ec998(0x384)];}['dispose'](){const _0x3aebdc=_0x2be3c1;this['exhaustSavingTask']()[_0x3aebdc(0x38a)](()=>super[_0x3aebdc(0x1a4)]());}async[_0x2be3c1(0x33e)](_0x1576e5){const _0x1ff948=_0x2be3c1;return this[_0x1ff948(0x400)]?null:this[_0x1ff948(0x206)][_0x1ff948(0x3dd)](_0x4cce40[_0x1ff948(0x1c9)](_0x1576e5));}async[_0x2be3c1(0x208)](_0x649080,_0x1e16c2){const _0x41d89e=_0x2be3c1;return!!this[_0x41d89e(0x206)][_0x41d89e(0x2bb)](_0x649080,_0x1e16c2);}[_0x2be3c1(0x3ec)](_0x5c9bfa,_0x5321aa,_0x587d57,_0x281e48){const _0x70b699=_0x2be3c1,_0x30fc50=this[_0x70b699(0x342)][_0x70b699(0x230)](_0x5c9bfa);this[_0x70b699(0x191)][_0x70b699(0x2af)](_0x5c9bfa,{'unitID':_0x5c9bfa,'type':_0x5321aa,'awaitingChangeset':_0x587d57,'mutations':_0x281e48,'rev':_0x30fc50}),this[_0x70b699(0x384)][_0x70b699(0x235)](_0x5c9bfa)||this[_0x70b699(0x2cc)](_0x5c9bfa);}['_scheduleSaving'](_0x3e94fb){const _0x284c75=_0x2be3c1,_0x1a9eaf=this[_0x284c75(0x434)]();_0x1a9eaf===0x0?this['_saveCache'](_0x3e94fb):this[_0x284c75(0x384)]['set'](_0x3e94fb,setTimeout(()=>this[_0x284c75(0x488)](_0x3e94fb),_0x1a9eaf));}[_0x2be3c1(0x434)](){const _0x27b02=_0x2be3c1;var _0xda102b;return(_0xda102b=this[_0x27b02(0x213)][_0x27b02(0x1ec)](_0x4cce40[_0x27b02(0x470)]))!=null?_0xda102b:_0x4cce40[_0x27b02(0x211)];}[_0x2be3c1(0x488)](_0x4a8b28){const _0x573254=_0x2be3c1,_0xed0d89=this[_0x573254(0x384)][_0x573254(0x489)](_0x4a8b28);return _0xed0d89!==void 0x0&&window[_0x573254(0x2ad)](_0xed0d89),this[_0x573254(0x206)][_0x573254(0x2bb)](_0x4cce40[_0x573254(0x1c9)](_0x4a8b28),this[_0x573254(0x191)][_0x573254(0x489)](_0x4a8b28))[_0x573254(0x38a)](()=>this[_0x573254(0x384)][_0x573254(0x3e0)](_0x4a8b28));}async[_0x2be3c1(0x3d8)](){const _0x4e3878=_0x2be3c1,_0x184b6c=[];this[_0x4e3878(0x384)][_0x4e3878(0x2cd)]((_0x375296,_0x47f86e)=>{const _0x1c520b=_0x4e3878;window['clearTimeout'](_0x375296),_0x184b6c[_0x1c520b(0x339)](this[_0x1c520b(0x488)](_0x47f86e)[_0x1c520b(0x38a)](()=>{const _0x393ecf=_0x1c520b;this[_0x393ecf(0x384)][_0x393ecf(0x3e0)](_0x47f86e);}));}),await Promise[_0x4e3878(0x337)](_0x184b6c);}};_0x8c1091=_0x18fb13([_0x41d411(0x0,_0x88db4d[_0x2be3c1(0x24a)]),_0x41d411(0x1,_0x88db4d[_0x2be3c1(0x1f0)]),_0x41d411(0x2,_0x88db4d['Inject'](_0x28fbb0[_0x2be3c1(0x336)]))],_0x8c1091);class _0x513617 extends _0x88db4d['RxDisposable']{constructor(){const _0x31bac8=_0x2be3c1;super(),_0x31ba17(this,_0x31bac8(0x39f)),this[_0x31bac8(0x39f)]=_0x3b0fae['fromEvent'](window,_0x31bac8(0x436))[_0x31bac8(0x204)](_0x3b0fae['takeUntil'](this[_0x31bac8(0x35b)]),_0x3b0fae[_0x31bac8(0x388)](0x1),_0x3b0fae['mapTo'](void 0x0));}[_0x2be3c1(0x433)](_0x47e78a,_0x3924a7,_0x491b56=!0x1){const _0xe33dab=_0x2be3c1,_0x3b684a=new URL(window['location'][_0xe33dab(0x273)]);_0x3b684a[_0xe33dab(0x326)][_0xe33dab(0x2af)](_0x47e78a,_0x3924a7),_0x491b56?window[_0xe33dab(0x3a8)][_0xe33dab(0x451)]('','',_0x3b684a['toString']()):window[_0xe33dab(0x3a8)][_0xe33dab(0x415)]('','',_0x3b684a[_0xe33dab(0x268)]());}['removeParam'](_0xeb8193,_0x2cb38b=!0x1){const _0x21445f=_0x2be3c1,_0x503384=new URL(window[_0x21445f(0x291)][_0x21445f(0x273)]);_0x503384[_0x21445f(0x326)]['delete'](_0xeb8193),_0x2cb38b?window[_0x21445f(0x3a8)]['replaceState']('','',_0x503384[_0x21445f(0x268)]()):window[_0x21445f(0x3a8)][_0x21445f(0x415)]('','',_0x503384[_0x21445f(0x268)]());}[_0x2be3c1(0x223)](_0x29d4c8){const _0x1d5e8c=_0x2be3c1;var _0x25954a;return(_0x25954a=new URL(window['location']['href'])[_0x1d5e8c(0x326)]['get'](_0x29d4c8))!=null?_0x25954a:void 0x0;}}var _0x3b9316=Object[_0x2be3c1(0x275)],_0x5b650c=Object[_0x2be3c1(0x393)],_0x3d229a=(_0x5d668f,_0x54e88a,_0x1e1609)=>_0x54e88a in _0x5d668f?_0x3b9316(_0x5d668f,_0x54e88a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e1609}):_0x5d668f[_0x54e88a]=_0x1e1609,_0x46dcdf=(_0x3b6f03,_0x43bc6f,_0x1eb44c,_0x320520)=>{for(var _0x1a38b2=_0x320520>0x1?void 0x0:_0x320520?_0x5b650c(_0x43bc6f,_0x1eb44c):_0x43bc6f,_0x1bce8e=_0x3b6f03['length']-0x1,_0x7f6a0a;_0x1bce8e>=0x0;_0x1bce8e--)(_0x7f6a0a=_0x3b6f03[_0x1bce8e])&&(_0x1a38b2=_0x7f6a0a(_0x1a38b2)||_0x1a38b2);return _0x1a38b2;},_0xc76b7c=(_0x508e4c,_0x7a1300)=>(_0x99b94d,_0x5c3897)=>_0x7a1300(_0x99b94d,_0x5c3897,_0x508e4c),_0x1b6d10=(_0x1a5afb,_0x370d40,_0x1c3769)=>_0x3d229a(_0x1a5afb,_0x370d40+'',_0x1c3769);const _0x59e002=_0x2be3c1(0x28b);_0x37e3f4[_0x2be3c1(0x1a7)]=class extends _0x88db4d[_0x2be3c1(0x448)]{constructor(_0x37188a=_0x4f9c2d,_0x186cd1,_0xc9c1fe,_0x48970d){const _0x1adbae=_0x2be3c1;super(),this[_0x1adbae(0x357)]=_0x37188a,this[_0x1adbae(0x3b5)]=_0x186cd1,this[_0x1adbae(0x363)]=_0xc9c1fe,this[_0x1adbae(0x213)]=_0x48970d;const {..._0x64aaef}=_0x88db4d[_0x1adbae(0x21c)]({},_0x4f9c2d,this['_config']);this[_0x1adbae(0x213)][_0x1adbae(0x409)](_0x5d13e6,_0x64aaef);}['onStarting'](){const _0x1d3a43=_0x2be3c1;this[_0x1d3a43(0x44e)](),this[_0x1d3a43(0x396)]();}[_0x2be3c1(0x229)](){const _0x5f216f=_0x2be3c1;this[_0x5f216f(0x316)]();}[_0x2be3c1(0x44e)](){const _0x3f9626=_0x2be3c1;var _0x4e795c;const _0x2191ef=[[_0x469c3c],[_0x33f734],[_0x3f33b5],[_0xf4bf8f],[_0xf420a0],[_0x5ae914],[_0x58bcf2,{'useClass':_0x513617}],[_0x37abfe[_0x3f9626(0x30b)],{'useClass':_0x37abfe[_0x3f9626(0x3bb)]}],[_0x4cce40[_0x3f9626(0x286)],{'useClass':_0x8c1091}],[_0x37e3f4['DesktopCollaborationStatusDisplayController']],[_0x1527d5],[_0x489eee],[_0x2e3752],[_0x53cf70],[_0x37e3f4['CollaborationDataLoaderController']]];this['_config']['enableFrontendLog']&&_0x2191ef[_0x3f9626(0x339)]([_0x5ab0af]),_0x88db4d[_0x3f9626(0x2c9)](this[_0x3f9626(0x363)],_0x88db4d[_0x3f9626(0x1ca)](_0x2191ef,(_0x4e795c=this['_config'])==null?void 0x0:_0x4e795c[_0x3f9626(0x283)]));}[_0x2be3c1(0x316)](){const _0x19ec79=_0x2be3c1;this['disposeWithMe'](this['_renderManagerService'][_0x19ec79(0x225)](_0x88db4d[_0x19ec79(0x403)][_0x19ec79(0x44b)],[_0x476e21])),this[_0x19ec79(0x3ee)](this['_renderManagerService'][_0x19ec79(0x225)](_0x88db4d[_0x19ec79(0x403)]['UNIVER_SHEET'],[_0x485669]));}['_initDependencies'](){const _0x135695=_0x2be3c1;_0x88db4d['touchDependencies'](this[_0x135695(0x363)],[[_0x2e3752],[_0x37e3f4[_0x135695(0x46e)]],[_0x1527d5],[_0x489eee],[_0x37e3f4[_0x135695(0x343)]],[_0x33f734]]),this[_0x135695(0x357)][_0x135695(0x240)]&&_0x88db4d[_0x135695(0x40d)](this[_0x135695(0x363)],[[_0x5ab0af]]);}},_0x1b6d10(_0x37e3f4[_0x2be3c1(0x1a7)],_0x2be3c1(0x2fc),_0x59e002),_0x37e3f4[_0x2be3c1(0x1a7)]=_0x46dcdf([_0x88db4d[_0x2be3c1(0x2a4)](_0x4cce40[_0x2be3c1(0x401)]),_0xc76b7c(0x1,_0xe27d05[_0x2be3c1(0x306)]),_0xc76b7c(0x2,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d[_0x2be3c1(0x3db)])),_0xc76b7c(0x3,_0x88db4d[_0x2be3c1(0x24a)])],_0x37e3f4[_0x2be3c1(0x1a7)]);var _0x7d5e97=Object[_0x2be3c1(0x393)],_0x3a5924=(_0xac25d7,_0x557e62,_0x5bbe82,_0x33423e)=>{const _0x553cba=_0x2be3c1;for(var _0x39c452=_0x33423e>0x1?void 0x0:_0x33423e?_0x7d5e97(_0x557e62,_0x5bbe82):_0x557e62,_0x4f3792=_0xac25d7[_0x553cba(0x413)]-0x1,_0x5267ad;_0x4f3792>=0x0;_0x4f3792--)(_0x5267ad=_0xac25d7[_0x4f3792])&&(_0x39c452=_0x5267ad(_0x39c452)||_0x39c452);return _0x39c452;},_0x475aeb=(_0x367833,_0x5d72f6)=>(_0x87da93,_0x43b697)=>_0x5d72f6(_0x87da93,_0x43b697,_0x367833);_0x37e3f4[_0x2be3c1(0x28a)]=class extends _0x4cce40[_0x2be3c1(0x24b)]{constructor(_0x1a51a3,_0x4bd79e,_0x4c417b,_0x51fb81,_0x45010c){super(_0x1a51a3,_0x4bd79e,_0x4c417b,_0x51fb81,_0x45010c);}async[_0x2be3c1(0x308)](_0x221810){const _0x6501f7=_0x2be3c1,_0x3a21f3=await this['_getSessionTicket'](),_0x260fba=this[_0x6501f7(0x344)](_0x221810,_0x3a21f3);return this[_0x6501f7(0x18b)](_0x260fba);}[_0x2be3c1(0x344)](_0x1fc8ad,_0x2cb51a){const _0x413ed9=_0x2be3c1,_0x3a1298=typeof window>'u'?new URL(_0x1fc8ad):new URL(_0x1fc8ad,window[_0x413ed9(0x291)][_0x413ed9(0x253)]);_0x3a1298['searchParams'][_0x413ed9(0x2af)]('sessionTicket',_0x2cb51a);const _0x4f3c7e=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x413ed9(0x291)][_0x413ed9(0x1af)]);return _0x4f3c7e[_0x413ed9(0x489)](_0x413ed9(0x1d0))&&_0x3a1298[_0x413ed9(0x326)][_0x413ed9(0x2af)](_0x413ed9(0x1d0),_0x4f3c7e[_0x413ed9(0x489)](_0x413ed9(0x1d0))),_0x3a1298[_0x413ed9(0x268)]();}async[_0x2be3c1(0x338)](){const _0x2d51ff=_0x2be3c1;var _0x3645a7,_0x5d0452,_0x3d06ad;const _0x1e6866=this[_0x2d51ff(0x213)][_0x2d51ff(0x1ec)](_0x4cce40[_0x2d51ff(0x1a8)]),_0x3a58ad=(_0x3645a7=_0x1e6866==null?void 0x0:_0x1e6866[_0x2d51ff(0x3e9)])!=null?_0x3645a7:_0x4cce40[_0x2d51ff(0x35f)];return(_0x3d06ad=(_0x5d0452=(await this[_0x2d51ff(0x1cd)][_0x2d51ff(0x489)](_0x3a58ad,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x5d0452[_0x2d51ff(0x47b)])!=null?_0x3d06ad:'';}},_0x37e3f4[_0x2be3c1(0x28a)]=_0x3a5924([_0x475aeb(0x0,_0x88db4d[_0x2be3c1(0x2b1)](_0x88db4d['Injector'])),_0x475aeb(0x1,_0x88db4d['Inject'](_0x37abfe[_0x2be3c1(0x21b)])),_0x475aeb(0x2,_0x88db4d[_0x2be3c1(0x24a)]),_0x475aeb(0x3,_0x88db4d[_0x2be3c1(0x193)]),_0x475aeb(0x4,_0x28fbb0[_0x2be3c1(0x271)])],_0x37e3f4[_0x2be3c1(0x28a)]);var _0xce0fd5=Object[_0x2be3c1(0x393)],_0x6aa6d0=(_0x2f1b26,_0x10796a,_0x2907de,_0xd7d8d8)=>{const _0x2919c4=_0x2be3c1;for(var _0x5c6a67=_0xd7d8d8>0x1?void 0x0:_0xd7d8d8?_0xce0fd5(_0x10796a,_0x2907de):_0x10796a,_0x4b4a72=_0x2f1b26[_0x2919c4(0x413)]-0x1,_0x5322ac;_0x4b4a72>=0x0;_0x4b4a72--)(_0x5322ac=_0x2f1b26[_0x4b4a72])&&(_0x5c6a67=_0x5322ac(_0x5c6a67)||_0x5c6a67);return _0x5c6a67;},_0x4dd39d=(_0x435e3a,_0x16575e)=>(_0x48eb37,_0x3e3e19)=>_0x16575e(_0x48eb37,_0x3e3e19,_0x435e3a);_0x37e3f4[_0x2be3c1(0x3ab)]=class extends _0x88db4d[_0x2be3c1(0x39b)]{constructor(_0x4fb336,_0x37591f,_0x3c268d){const _0x2f755b=_0x2be3c1;super(),this['_instanceService']=_0x4fb336,this['_httpService']=_0x37591f,this[_0x2f755b(0x213)]=_0x3c268d;}async[_0x2be3c1(0x372)](_0x113a43,_0x5b4250,_0x10451d,..._0x18c6a5){const _0x421b48=_0x2be3c1;var _0x22ad06,_0x19216e,_0x3f51b5,_0x5cfb55;const _0x30ef10=this['_instanceService'][_0x421b48(0x3c1)]();if(!_0x30ef10)throw new Error(_0x421b48(0x20e));const _0xe4ca1d=((_0x22ad06=this[_0x421b48(0x213)][_0x421b48(0x1ec)](_0x4cce40[_0x421b48(0x3c9)]))!=null?_0x22ad06:_0x4cce40[_0x421b48(0x407)])+'/'+_0x113a43+'/run/'+_0x5b4250,_0x45e2a4=new URL(window[_0x421b48(0x291)][_0x421b48(0x273)]),_0x35b31e={'scriptId':_0x113a43,'runId':(_0x19216e=_0x45e2a4[_0x421b48(0x326)][_0x421b48(0x489)](_0x421b48(0x1d0)))!=null?_0x19216e:'','function':_0x5b4250,'unitId':_0x30ef10['getUnitId'](),'argsOfFunction':JSON[_0x421b48(0x231)](_0x18c6a5),'invokeId':(_0x3f51b5=_0x10451d['invokeId'])!=null?_0x3f51b5:'','executionId':(_0x5cfb55=_0x10451d[_0x421b48(0x47d)])!=null?_0x5cfb55:''};try{const _0x560a3d=await this[_0x421b48(0x1cd)][_0x421b48(0x28c)](_0xe4ca1d,{'body':_0x35b31e});return _0x560a3d['body']['error']&&_0x560a3d[_0x421b48(0x35c)]['error'][_0x421b48(0x2c0)]!==_0x518652['OK']?_0x421b48(0x3fd):_0x560a3d['body']['result'];}catch{return _0x421b48(0x3fd);}}},_0x37e3f4[_0x2be3c1(0x3ab)]=_0x6aa6d0([_0x4dd39d(0x0,_0x88db4d[_0x2be3c1(0x43e)]),_0x4dd39d(0x1,_0x88db4d[_0x2be3c1(0x2b1)](_0x37abfe['HTTPService'])),_0x4dd39d(0x2,_0x88db4d['IConfigService'])],_0x37e3f4[_0x2be3c1(0x3ab)]);const _0x52b9f6=0x7530,_0xfa5471=_0x2be3c1(0x3e2);class _0x2fbd7b extends _0x88db4d[_0x2be3c1(0x39b)]{constructor(){const _0x3221e6=_0x2be3c1;super(),_0x31ba17(this,_0x3221e6(0x3a7),_0x88db4d[_0x3221e6(0x335)]()),_0x31ba17(this,_0x3221e6(0x320),new Set()),_0x31ba17(this,_0x3221e6(0x2b4),new Map()),_0x31ba17(this,'_heartbeatTimer',null),_0x31ba17(this,_0x3221e6(0x44a),new Map()),_0x31ba17(this,_0x3221e6(0x349),new Map()),this[_0x3221e6(0x43c)]();}[_0x2be3c1(0x1a4)](){const _0x10a09e=_0x2be3c1;super[_0x10a09e(0x1a4)](),this[_0x10a09e(0x44a)][_0x10a09e(0x2cd)]((_0x56470f,_0x330cd)=>this[_0x10a09e(0x421)](_0x330cd)),this[_0x10a09e(0x468)]&&window[_0x10a09e(0x1b0)](this[_0x10a09e(0x468)]);}[_0x2be3c1(0x20f)](_0x5f2134){const _0x5987c2=_0x2be3c1;return this['_ensureSubject'](_0x5f2134)[_0x5987c2(0x204)](_0x3b0fae[_0x5987c2(0x2d6)]());}['editingUnit'](_0xe6c715){const _0xeb5add=_0x2be3c1;this[_0xeb5add(0x320)][_0xeb5add(0x426)]===0x0&&this['_scheduleHeartbeat'](),this['_selfUnitIDs'][_0xeb5add(0x262)](_0xe6c715),this[_0xeb5add(0x21a)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0xe6c715],'isForwarded':!0x1});}['disposeUnit'](_0x5a34c5){const _0x2664da=_0x2be3c1;this[_0x2664da(0x320)][_0x2664da(0x3e0)](_0x5a34c5),this[_0x2664da(0x320)]['size']===0x0&&this[_0x2664da(0x468)]&&window[_0x2664da(0x1b0)](this[_0x2664da(0x468)]);}[_0x2be3c1(0x43c)](){const _0x2aa1ca=_0x2be3c1;this[_0x2aa1ca(0x3ee)](_0x88db4d['toDisposable'](_0x3b0fae[_0x2aa1ca(0x2e1)](window,_0x2aa1ca(0x3df))[_0x2aa1ca(0x1f2)](_0xa1fec4=>{const _0x1b59c3=_0x2aa1ca;if(_0xa1fec4['key']!==_0xfa5471||!_0xa1fec4[_0x1b59c3(0x2b5)])return;const _0x462bea=JSON[_0x1b59c3(0x2e4)](_0xa1fec4[_0x1b59c3(0x2b5)]);this[_0x1b59c3(0x1d7)](_0x462bea);}))),window[_0x2aa1ca(0x3d0)](_0x2aa1ca(0x23b),()=>this[_0x2aa1ca(0x21a)]({'type':0x1,'memberID':this[_0x2aa1ca(0x3a7)],'unitIDs':Array[_0x2aa1ca(0x391)](this[_0x2aa1ca(0x320)])}));}[_0x2be3c1(0x1d7)](_0x4d9631){const _0x270ce3=_0x2be3c1;switch(_0x4d9631[_0x270ce3(0x3bd)]){case 0x0:this[_0x270ce3(0x348)](_0x4d9631);break;case 0x1:this[_0x270ce3(0x449)](_0x4d9631);break;case 0x2:this[_0x270ce3(0x2de)](_0x4d9631);break;}}[_0x2be3c1(0x348)](_0x415fb1){const _0x3e0675=_0x2be3c1,{unitIDs:_0x2e2e3b,memberID:_0x2f4c30,isForwarded:_0x54d11b}=_0x415fb1;_0x2e2e3b[_0x3e0675(0x2cd)](_0x1f205a=>{const _0x702e7e=_0x3e0675;if(!_0x54d11b&&this['_unitOnClients'][_0x702e7e(0x235)](_0x1f205a)&&this[_0x702e7e(0x3a1)](_0x1f205a)['next'](_0x4cce40[_0x702e7e(0x23d)][_0x702e7e(0x215)]),!this[_0x702e7e(0x2b4)]['has'](_0x1f205a)||!this[_0x702e7e(0x2b4)][_0x702e7e(0x489)](_0x1f205a)[_0x702e7e(0x235)](_0x2f4c30)){const _0x146bee=this[_0x702e7e(0x2b4)][_0x702e7e(0x489)](_0x1f205a)||new Set();_0x146bee['add'](_0x2f4c30),this[_0x702e7e(0x2b4)][_0x702e7e(0x2af)](_0x1f205a,_0x146bee),this[_0x702e7e(0x2fa)](_0x2f4c30);}}),_0x54d11b||this[_0x3e0675(0x21a)]({'type':0x0,'memberID':this[_0x3e0675(0x3a7)],'unitIDs':[...this[_0x3e0675(0x320)]],'isForwarded':!0x0});}[_0x2be3c1(0x2fa)](_0x106dfa){const _0x387fae=_0x2be3c1;this[_0x387fae(0x421)](_0x106dfa);const _0xf10d82=window[_0x387fae(0x44c)](()=>{const _0x57abb3=_0x387fae;this[_0x57abb3(0x2b4)][_0x57abb3(0x2cd)](_0x5313b1=>{const _0x49985d=_0x57abb3;_0x5313b1[_0x49985d(0x3e0)](_0x106dfa);});},_0x52b9f6*0x2);this[_0x387fae(0x44a)][_0x387fae(0x2af)](_0x106dfa,_0xf10d82);}[_0x2be3c1(0x421)](_0x43bb5d){const _0x298530=_0x2be3c1;if(this[_0x298530(0x44a)]['has'](_0x43bb5d)){const _0xec0479=this[_0x298530(0x44a)][_0x298530(0x489)](_0x43bb5d);_0xec0479&&window[_0x298530(0x2ad)](_0xec0479),this[_0x298530(0x44a)][_0x298530(0x2af)](_0x43bb5d,null);}}[_0x2be3c1(0x449)](_0x570f5e){const _0x137db3=_0x2be3c1,{memberID:_0x14f013,unitIDs:_0x3e41b6}=_0x570f5e;_0x3e41b6[_0x137db3(0x2cd)](_0x36650b=>{const _0x182553=_0x137db3;var _0x598539;const _0x1767eb=this['_unitOnClients']['get'](_0x36650b);_0x1767eb&&(_0x1767eb[_0x182553(0x3e0)](_0x14f013),(_0x598539=this['_ensureSubject'](_0x36650b))==null||_0x598539['next'](_0x1767eb[_0x182553(0x426)]===0x0?_0x4cce40[_0x182553(0x23d)][_0x182553(0x256)]:_0x4cce40[_0x182553(0x23d)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x14f013);}[_0x2be3c1(0x2de)](_0x25c7eb){const _0x2a9f22=_0x2be3c1;this[_0x2a9f22(0x2fa)](_0x25c7eb[_0x2a9f22(0x442)]);}[_0x2be3c1(0x21a)](_0x5e837c){const _0x409ff2=_0x2be3c1;localStorage[_0x409ff2(0x2bb)](_0xfa5471,JSON['stringify'](_0x5e837c));}['_scheduleHeartbeat'](){const _0x272c95=_0x2be3c1;this[_0x272c95(0x468)]=window['setInterval'](()=>{const _0xca249c=_0x272c95;this[_0xca249c(0x21a)]({'type':0x2,'memberID':this[_0xca249c(0x3a7)]});},_0x52b9f6);}[_0x2be3c1(0x3a1)](_0x4d3ea7){const _0x2ea8fc=_0x2be3c1;return this[_0x2ea8fc(0x349)][_0x2ea8fc(0x235)](_0x4d3ea7)||this[_0x2ea8fc(0x349)][_0x2ea8fc(0x2af)](_0x4d3ea7,new _0x3b0fae[(_0x2ea8fc(0x3b8))](_0x4cce40[_0x2ea8fc(0x23d)][_0x2ea8fc(0x256)])),this[_0x2ea8fc(0x349)]['get'](_0x4d3ea7);}}_0x37e3f4[_0x2be3c1(0x3c6)]=_0x58bcf2,_0x37e3f4[_0x2be3c1(0x331)]=_0x327c29,_0x37e3f4['WebBrowserSingleActiveUnitService']=_0x2fbd7b,_0x37e3f4[_0x2be3c1(0x2f6)]=_0x513617,Object[_0x2be3c1(0x275)](_0x37e3f4,Symbol[_0x2be3c1(0x432)],{'value':_0x2be3c1(0x2e0)});}));
1
+ function _0x20af(_0xe8b194,_0x239d70){_0xe8b194=_0xe8b194-0xa4;const _0xcc20fd=_0xcc20();let _0x20afb0=_0xcc20fd[_0xe8b194];return _0x20afb0;}function _0xcc20(){const _0x5b60ca=['_initEvent','then','handleMoveRange','color','touchDependencies','_config','INVITE_CODE_ALREADY_BOUND','_entities','amd','UniverCollaborationClientPlugin','ACTIVE_UNIT_EVENT_CHANNEL','random','find','_getSaveTimeout','colorChannel1','_monkeyPatchLogService','clipPath','INVITE_CODE_HAS_BEEN_UES','_logService','registerBeforeClose','APPLY_DUPLICATED','CollaborationStatus','code','ITransformService','_cachedData','_heartbeatTimer','APPLY_PERMISSION_DENIED','FormulaExecuteStageType','popstate','fromEvent','_document','_updateCollabCursors','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','transformIMECache','getformulaLimitStatusUrl','redoState','_docStateChangeManagerService','ENTITLE_REPORT_LIMIT_EXCEED','name','catch','CollaborationEvent','_docClipboardService','_urlService','getRenderById','RevisionService','invokeId','idSuffix','_roomMembers$','on-line-icon_clip0_910_349','defIds','onPointerMove$','CollaborationController','200457PZzbBL','runOnServer','urlChange$','_registerDependencies','collabCursorState$','EMAIL_HAS_BEEN_BOUND','override','Vector2','getLocalCacheKey','dirtyRanges','_startDocCollabCursor','debounceTime','asObservable','uni.network.url-service','http://www.w3.org/2000/svg','Inject','CLOSE_ROOM','getSheetId','permission.content','getCollabEntity$','useCallback','react','url(#$1','width','_beforeCloseService','Warning','Loading','searchParams','m2Prime','LICENSE_DISTRO_REJECTED','yellow.400','DesktopCollaborationStatusDisplayController','assignAColorForMemberID','_scheduleClearOtherTimer','_toggleOffline','exports','ENTITLE_COUPON_EXPIRED','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','DataLoaderService','Disposable','_hover','triggerDblclick','registerDependencies','AWAITING','CanceledError','eventID','UNRECOGNIZED','includes','isTransformMutationFailure','collaboration-client-ui.config','history','fromEventSubject','_anchor','_context','m1Prime','useObservable','LICENSE_IMPORT_SIZE_EXCEEDED','_render','enableLocalCache','rxjs/operators','href','SetDocZoomRatioOperation','MessageType','_sheetSkeletonManagerService','IUniverInstanceService','_ensureSubject','REDEMPTION_USER_NOT_ELIGIBLE','collab-rect-range-','IConfigService','NodePositionConvertToRectRange','RemoveRowCommandId','...','ticket','0\x200\x2016\x2016','arc','_clearOtherTimers','currentUsage','off-line-icon','SheetCollabCursorShape','ThemeService','session.connection-failed','YUUMI_ASYNCIO_CANCELLED','post','USER_NOT_INVITED_CODE','clsx','ILocalCacheService','subscribe','function','_memberID','pushState','IBeforeCloseService','forEach','IImageIoService','limitInfo','collabStatus.conflict','collaboration.offline-data-not-saved','EffectRefRangId','translate(.97)','setActiveRange','_docSkeleton','handleDeleteRangeMoveLeft','3987236iRhBnc','SheetSkeletonManagerService','collabStatus.notCollab','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','lineno','NOT_FOUND','YUUMI_CONNECTOR_URL_NOT_FOUND','_init','addHandlerCallback','_currentUsage','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_send','pipe','YUUMI_RATE_OVER_LIMIT','string','row','RefRangeService','USERS_LEAVE','onPointerLeave$','_initStatusListener','executionId','/universer-api/license/formula/limit/status','currentSkeleton$','TOO_MANY_REQUESTS','currentTheme$','cursorInfo$','[CollaborationDataLoaderController]','selection','labelPosition','serializeRangeWithSheet','7025190nzQSoG','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','TEXT','LocaleService','UniverEngineRender','getCollabCursors$','OffLineIcon','unhandledrejection','WECHAT_HAS_BEEN_BOUND','imageSourceType','_updateSubUnitFromURLParams','handleInsertRow','_initCommandExecutedListener','_assignedColors','_unitOnClients','1529432aJDdlI','handleIRemoveCol','_collaborationUIEventService','SessionStatus','operators','CONFLICT','7204bZcNuv','REDEMPTION_CODE_INACTIVE','pluginName','_startCalculationLimit','MemberService','DOC_RANGE_TYPE','useDependency','measureText','formula.calculation.unable','docStateChange$','collabStatus.fetchMiss','activeSheet$','range','_setupSubUnitSync','OTHER_CLIENTS_EDITING','unshift','join','getCellPositionByOffset','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_messageService','getActiveSheet','collab-text-range-','startColumn','getActiveRange','IMessageService','YUUMI_UNABLE_LOAD_URL','[Unhandled\x20Rejection]:\x20','fillStyle','_memberService','_startSheetCollabCursor','DocSkeletonManagerService','BrowserCollaborationSocketService','runRefRangeMutations','transformStateCache','length','Tooltip','setParam','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','forwardRef','SetSelectionsOperation','startFormulaLimitUrl','startsWith','subscribeEvent','PY_RUNTIME_SCRIPT_ERROR','_handleEvent','LOGIN_FAILED','COMPLETION_FINISHED','onStarting','_toggleOnline','merge','RECT','_clearPolling','Error','setInterval','UNIVER_SHEET','HEADER_MENU','setItem','collabStatus.syncing','type','_removeCollabCursors','_labelPosition','size','isTransformMutationsWithChangesetSuccess','_localStorageService','_initStatusComponent','getUnhiddenWorksheets','RemoteUniscriptService','ranges','RemoveColCommandId','INVALID_ARGUMENT','getOwnPropertyDescriptor','whenReady','UNDEFINED','dispose','undoState','executeCommand','PERMISSION_DENIED','sessionStatus$','memberID','functionsExecutedState','_collaborationController','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_themeService','_collabCursorController','transformSelections','_getScale','getParam','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','/universer-api/frontend/logs','from','UNAUTHENTICATED','_univerInstanceService','bind','_commandService','_transformPreviousActiveRange','MOBILE_VERIFY_CODE_MISMATCH','source','_docSyncEditingCollabCursorService','displayName','DocCollaborationEntity','SHEET_VIEWPORT_KEY','_session','APPLY_NON_SEQUENTIAL_REVISION','column','CollaborationDataLoaderController','_draw','getMergeData','_name','mutations','unit','loadUnit','drawWith','MOBILE_HAS_BEEN_BOUND','with','USER_IS_ANONYMOUS','selections','InsertColCommandId','stringify','OFFLINE','_handleHeartbeatEvent','bottom','toDisposable','now','_getMergeRange','entries','_renderManagerService','YUUMI_NO_CUBOID_FOR_QUESTION','map','REDEMPTION_INVALID_CODE','INVALID_INVITE_CODE','onLocalMutation','mask','_cursors','HTTPService','onRendered','ENTITLE_DUP_SUBSCRIPTION','UniverSheetsUi','SetTextSelectionsOperation','@univerjs/design','unload','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','replaceDocRanges','_pollingInterval','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_collaborationSessionService','OnLineIcon','setAlpha','SNAPSHOT_HAS_BEEN_REMOVED','CollaborationUIEventId','onPointerEnter$','jsx','addObjects','use','_notificationService','_scene','all','_syncEditingCollabCursorService','@univerjs/network','#FFF','ONLINE','UnitStatus','NOT_COLLAB','none','_cursor','CURRENT_STATUS_CANNOT_OPERATE','createElement','_docTransformSelectionsService','_initDependencies','_imageIoService','_updateLocalCursor','_handleHover','_uploadLog','maxFormulaLimit','_docTransformStateCacheService','endRow','_cursorInfo$','location','ENTITLE_NEED_BILLING_ADDRESS','@univerjs/sheets','xlink:href','setConfig','_scheduleSaving','getMember','FromArray','releaseFormulaLimitUrl','ERROR_AGAIN','toStringTag','storage','_removeClearOtherTimer','_getFormulaLimitStatus','backgroundColor','removeParam','@univerjs/docs-ui','getDocRanges','_checkCalculationAvailable','EMAIL_VERIFY_CODE_MISMATCH','init','WebSocketService','@univerjs/engine-formula','colno','_onRefRangeChange','collaboration.single-unit.warning','black','CollaborationSocketService','_initUserListener','OTHER_CLIENT_EDITING','defineProperty','send','_collabSessionService','_drawTextRange','substring','disposeWithMe','SetFormulaCalculationStartMutation','_selfUnitIDs','REDEMPTION_CODE_NOT_STARTED','disableLocalCache','UPDATE_CURSOR','JOIN_ROOM_FAILED','fill','10746855zWkcbS','filter','event$','unitId','formula.calculation.waiting','@univerjs/drawing','evenodd','IRenderManagerService','\x20at\x20','subUnitId','unitID','div','getTypeOfUnitDisposed$','cursorInfo','SOCKET_FAILED','replace','actions','[LogService\x20Error]:\x20','status$','/universer-api/license/formula/limit/start','_configService','deserializeRangeWithSheet','current','addObject','RxDisposable','364623kxQPxI','replaceState','LOCAL_CACHE_INTERVAL_KEY','rxjs','exhaustSavingTask','_uiPartsService','INTERNAL_ERROR','DocSelectionManagerService','defs','collab-client.tooltip.reconnect','DisposableCollection','roomMembers','message','path','transformRemoteChangeset','height','editingUnit','getViewport','_drawRectRange','ISocketService','handleDeleteRangeMoveUp','requireSession','clearTimeout','currentColor','COLORS','isFormulaId','save','_getSessionTicket','ENTITLE_INSUFFICIENT_QUOTA','_scheduleHeartbeat','SheetsSelectionsService','sessionTicket','wsSessionTicketUrl','complete','isArray','RegularPolygon','createSocket','jsxs','getUniverSheetInstance','getUndoRedoMutationParamsCache','getValue','restore','_initUnhandledRejectionListener','_entityInit$','_createSocketURL','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getSheetObject','_colorIndex','NodePositionConvertToCursor','getColor','isEditing','DocIMEInputManagerService','transformMutation','blue.400','@univerjs/rpc','getCurrentSelections','WebURLService','max','_docTransformIMECacheService','_eventUnsubscribe','removeEventListener','attrs','Subject','Tools','Failed','setShapeProps','DependentOn','UniverDrawing','round','onCommandExecuted','getConfig','PAYMENT_CHANNEL_NOT_SUPPORT','React','deepClone','red.300','textRanges','YUUMI_ALL_TABLES_IS_INVALID','_transformService','UniverProCollaborationClientUi','data','_revisionService','getSheetBySheetId','ISnapshotServerService','show','UniverDocsUi','DocStateChangeManagerService','addEventListener','_taskIds','_docSkeletonManagerService','_getSheetObject','YUUMI_SUBSCRIPTION_NOT_FOUND','has','UniverDocs','children','combineLatest','_refRangeService','_onCursorDelete','filename','result','UniverSheets','_lastPointer','Rectangle','getUnitStatus$','trim','react/jsx-runtime','_anchorDot','SUCCESS','getColorFromTheme','ENTITLE_INVALID_COUPON_CODE','sheetId','_transformHistoryAndStateStack','getAncestorScale','_injector','_status$','enableFrontendLog','collaboration.closeRoom','doc.mutation.rich-text-editing','RichTextEditingMutation','_localeService','roomMembers$','hovered','getMemberID','_onCursorUpdate','_shapes','_unitStatus','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','contains','ENTITLE_CHAT_LIMIT_EXCEED','_initCommandInterceptor','isActive','rgba(255,\x20255,\x20255,\x200.01)','getRangePointData','APPLY_REJECT','REDEMPTION_CODE_HAS_BEEN_CREATED','next','univer-flex\x20univer-items-center','hide','startRow','ENTITLE_USE_COUPON_NOT_1ST_TRADE','getVpScrollXYInfoByPosToVp','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_online','stack','syncEditingCollabCursor','registerRenderModule','top','reconnect','getCurrent','error','getCurrentRevOfUnit','M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','fillText','engine','_updateURLWithCurrentState','1em','_hideTimer','handleInsertCol','_localCacheService','add','svg','IURLService','useRef','toRgbString','REDEMPTION_USER_REDEEM_TIMES_EXCEED','ILogService','_httpService','UniverCollaborationClientUIPlugin','?taskId=','_colorAssignService','parseInt','APPLY_REVISION_CONFILICT','flatMap','CollaborationSessionService','/universer-api/license/formula/limit/done','symbol','BehaviorSubject','findNodePositionByCharIndex','UniverCore','transformByState','_range','getStateCache','get','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_textBubble','LOGIN_TOKEN_PROCESSING_FAILED','transform','params','takeUntil','IDocClipboardService','TEXT_RANGE_LAYER_INDEX','_drawAnchor','WebBrowserSingleActiveUnitService','text','Unknown\x20user','_checkAndWaitForCalculationPermission','InsertRangeMoveRightCommandId','updateOfflineData','search','key','DeleteRangeMoveLeftCommandId','univerjs-icon\x20univerjs-icon-','M0\x200H16V16H0z','UniverInstanceType','ENTITLE_COUPON_USED_UP','getOffsetConfig','Success','getUnitId','dispose$','assign','disposeUnit','collab-text-anchor-','jiqing.500','_saveCache','YUUMI_URL_COL_OUT_OF_RANGE','url(#off-line-icon_clip0_910_343)','switchMap','body','_getAnchorBounding','YUUMI_AI_RUN_FAILED','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','Workbook','_disabled','_maxFormulaLimit','_cursorShapes','Rect','createInstance','REDEMPTION_CODE_FULLY_REDEEMED','lineTo','_releaseCalculationLimit','_hovered','push','entityInit$','focused$','permission.title','addClipboardHook','Shape','@univerjs/sheets-ui','delete','_initResize','/run/','handleInsertRangeMoveRight','_registerRenderDependencies','unsubscribe','_collabCursorState$','UniverUi','object','_instanceService','toString','registerRefRange','_handleJoinEvent','IUIPartsService','@univerjs/core','setUndoRedoMutationParamsCache','LICENSE_MAX_UNITS_EXCEEDED','0\x200\x2017\x2016','white','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_id','debug','font','getFocusedUnit','NO_OTHER_CLIENTS_EDITING','_lastResponseTimestamp','UNIVER_DOC','totalFormulasToCalculate','_saveTaskMap','ENSURE_SNAPSHOT_EXECUTION','split','getCellMatrix','@univerjs-pro/collaboration','DeleteRangeMoveUpCommandId','transformMutationsWithChangeset','UniverProCollaborationClient','5AiMQEf','FETCH_MISS','runId','getCoordByCell','DEFAULT_WS_SESSION_TICKET_URL','1090eMdMHh','SNAPSHOT_INVALID_SNAPSHOT','session.collaboration-timeout','set','BuiltInUIPart','_color','FormulaExecutedStateType','_dataLoaderService','newValue','values','loadOfflineData','tag','Optional','_backgroundColor','20gKqajS','INotificationService','_setFormulaLimitStatus','generateRandomId','min','_initEntityListener','UniverEngineFormula','shareReplay','SetFormulaCalculationNotificationMutation','CommandType','onMouseMove','getRelativeToViewportCoord','beforeCommandExecuted','_initWindowErrorListener','sheetID','_hasFormulaInDirtyRanges','ICommandService','UniverNetwork','setStateCache','url(#on-line-icon_clip0_910_349)','Injector','debounce','parse','getSkeleton','CONNECTOR_DATA_TOO_LARGE','@univerjs/ui','LOCAL_CACHE_INTERVAL','subunit','green.600','ColorKit','_refreshCollabCursors'];_0xcc20=function(){return _0x5b60ca;};return _0xcc20();}(function(_0x16ce6a,_0xc61bde){const _0xeff1f=_0x20af,_0x529868=_0x16ce6a();while(!![]){try{const _0x53acb7=parseInt(_0xeff1f(0x319))/0x1*(parseInt(_0xeff1f(0x101))/0x2)+-parseInt(_0xeff1f(0x1f5))/0x3+-parseInt(_0xeff1f(0xce))/0x4*(-parseInt(_0xeff1f(0x306))/0x5)+-parseInt(_0xeff1f(0xec))/0x6+-parseInt(_0xeff1f(0x1dc))/0x7+parseInt(_0xeff1f(0xfb))/0x8+-parseInt(_0xeff1f(0x36c))/0x9*(-parseInt(_0xeff1f(0x30b))/0xa);if(_0x53acb7===_0xc61bde)break;else _0x529868['push'](_0x529868['shift']());}catch(_0x1a97a0){_0x529868['push'](_0x529868['shift']());}}}(_0xcc20,0xd1fd2),function(_0x41ff9e,_0x2653c4){const _0x1989d1=_0x20af;typeof exports==_0x1989d1(0x2ea)&&typeof module<'u'?_0x2653c4(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x1989d1(0xc0)&&define[_0x1989d1(0x340)]?define([_0x1989d1(0x38f),_0x1989d1(0x25d),'@univerjs-pro/collaboration-client',_0x1989d1(0x2f0),_0x1989d1(0x332),_0x1989d1(0x1f8),_0x1989d1(0x18b),_0x1989d1(0x381),_0x1989d1(0x22b),_0x1989d1(0x1b3),'@univerjs/engine-render',_0x1989d1(0x19e),_0x1989d1(0x1c1),_0x1989d1(0x1e1),_0x1989d1(0x302),'@univerjs/docs',_0x1989d1(0x1c7),_0x1989d1(0xa4),_0x1989d1(0x2e1)],_0x2653c4):(_0x41ff9e=typeof globalThis<'u'?globalThis:_0x41ff9e||self,_0x2653c4(_0x41ff9e[_0x1989d1(0x243)]={},_0x41ff9e[_0x1989d1(0x23d)],_0x41ff9e[_0x1989d1(0x305)],_0x41ff9e[_0x1989d1(0x2a6)],_0x41ff9e[_0x1989d1(0x2e9)],_0x41ff9e[_0x1989d1(0x1f8)],_0x41ff9e['UniverDesign'],_0x41ff9e[_0x1989d1(0x23d)],_0x41ff9e['UniverRpc'],_0x41ff9e[_0x1989d1(0x258)],_0x41ff9e[_0x1989d1(0xf0)],_0x41ff9e[_0x1989d1(0x32a)],_0x41ff9e[_0x1989d1(0x249)],_0x41ff9e[_0x1989d1(0x238)],_0x41ff9e['UniverProCollaboration'],_0x41ff9e[_0x1989d1(0x251)],_0x41ff9e[_0x1989d1(0x31f)],_0x41ff9e['rxjs'][_0x1989d1(0xff)],_0x41ff9e[_0x1989d1(0x189)]));}(this,function(_0x487266,_0x56bdbb,_0x26bc40,_0x717d91,_0x498b33,_0x170cda,_0x203981,_0x33ecf2,_0x2cf533,_0x45a7b5,_0x4a1571,_0x429433,_0x42f0df,_0x3ea70a,_0xdf7641,_0x59e61e,_0x41dddf,_0x5954f8,_0x627437){'use strict';const _0x2a4ba5=_0x20af;var _0x241028=Object[_0x2a4ba5(0x1cf)],_0xcbebb8=(_0x4530d9,_0xa13923,_0x5d63fb)=>_0xa13923 in _0x4530d9?_0x241028(_0x4530d9,_0xa13923,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5d63fb}):_0x4530d9[_0xa13923]=_0x5d63fb,_0x271c55=(_0x1da67e,_0x3166dd,_0x8b0719)=>_0xcbebb8(_0x1da67e,typeof _0x3166dd!=_0x2a4ba5(0x2a3)?_0x3166dd+'':_0x3166dd,_0x8b0719);function _0x21c483({ref:_0x1bf320,..._0x41f258}){const _0x163e09=_0x2a4ba5,{icon:_0x3335c0,id:_0x52f12d,className:_0x207dd2,extend:_0x2ab12b,..._0x193689}=_0x41f258,_0x5762e7=(_0x163e09(0x2bd)+_0x52f12d+'\x20'+(_0x207dd2||''))[_0x163e09(0x25c)](),_0x27a21c=_0x33ecf2[_0x163e09(0x296)]('_'+_0xfff553());return _0x5040e3(_0x3335c0,''+_0x52f12d,{'defIds':_0x3335c0[_0x163e09(0x369)],'idSuffix':_0x27a21c[_0x163e09(0x1f2)]},{'ref':_0x1bf320,'className':_0x5762e7,..._0x193689},_0x2ab12b);}function _0x5040e3(_0xb69cc,_0x495fef,_0x2a4d48,_0xc95059,_0x228218){const _0x3e2613=_0x2a4ba5;return _0x33ecf2[_0x3e2613(0x1a6)](_0xb69cc[_0x3e2613(0x316)],{'key':_0x495fef,..._0x3baa28(_0xb69cc,_0x2a4d48,_0x228218),..._0xc95059},(_0x339420(_0xb69cc,_0x2a4d48)['children']||[])['map']((_0x2ed684,_0x48b8a3)=>_0x5040e3(_0x2ed684,_0x495fef+'-'+_0xb69cc[_0x3e2613(0x316)]+'-'+_0x48b8a3,_0x2a4d48,void 0x0,_0x228218)));}function _0x3baa28(_0x471e1c,_0x4b8852,_0x5dfd70){const _0x3b773c=_0x2a4ba5,_0x4b5328={..._0x471e1c[_0x3b773c(0x232)]};_0x5dfd70!=null&&_0x5dfd70[_0x3b773c(0x346)]&&_0x4b5328[_0x3b773c(0x1db)]===_0x3b773c(0x346)&&(_0x4b5328[_0x3b773c(0x1db)]=_0x5dfd70[_0x3b773c(0x346)]),_0x471e1c['tag']===_0x3b773c(0x184)&&_0x4b5328['id']&&(_0x4b5328['id']=_0x4b5328['id']+_0x4b8852[_0x3b773c(0x366)]),Object['entries'](_0x4b5328)[_0x3b773c(0xc4)](([_0x3cba65,_0x4d65f5])=>{const _0x22eed5=_0x3b773c;_0x3cba65===_0x22eed5(0x184)&&typeof _0x4d65f5==_0x22eed5(0xdc)&&(_0x4b5328[_0x3cba65]=_0x4d65f5[_0x22eed5(0x1eb)](/url\(#(.*)\)/,_0x22eed5(0x382)+_0x4b8852['idSuffix']+')'));});const {defIds:_0x48d04d}=_0x4b8852;return!_0x48d04d||_0x48d04d[_0x3b773c(0x123)]===0x0||(_0x471e1c[_0x3b773c(0x316)]===_0x3b773c(0x199)&&_0x4b5328[_0x3b773c(0x1b4)]&&(_0x4b5328['xlink:href']=_0x4b5328[_0x3b773c(0x1b4)]+_0x4b8852[_0x3b773c(0x366)]),Object[_0x3b773c(0x17d)](_0x4b5328)[_0x3b773c(0xc4)](([_0x454ad6,_0xdbdc5f])=>{const _0x36a5db=_0x3b773c;typeof _0xdbdc5f==_0x36a5db(0xdc)&&(_0x4b5328[_0x454ad6]=_0xdbdc5f['replace'](/url\(#(.*)\)/,_0x36a5db(0x382)+_0x4b8852[_0x36a5db(0x366)]+')'));})),_0x4b5328;}function _0x339420(_0x50bc3f,_0x549dcf){const _0x42defe=_0x2a4ba5;var _0x540480;const {defIds:_0x1aab9e}=_0x549dcf;return!_0x1aab9e||_0x1aab9e[_0x42defe(0x123)]===0x0?_0x50bc3f:_0x50bc3f['tag']===_0x42defe(0x1fd)&&((_0x540480=_0x50bc3f['children'])!=null&&_0x540480[_0x42defe(0x123)])?{..._0x50bc3f,'children':_0x50bc3f[_0x42defe(0x252)]['map'](_0x5efc56=>typeof _0x5efc56[_0x42defe(0x232)]['id']=='string'&&_0x1aab9e&&_0x1aab9e[_0x42defe(0x39b)](_0x5efc56[_0x42defe(0x232)]['id'])?{..._0x5efc56,'attrs':{..._0x5efc56[_0x42defe(0x232)],'id':_0x5efc56[_0x42defe(0x232)]['id']+_0x549dcf[_0x42defe(0x366)]}}:_0x5efc56)}:_0x50bc3f;}function _0xfff553(){const _0x14793c=_0x2a4ba5;return Math[_0x14793c(0x343)]()[_0x14793c(0x2ec)](0x24)[_0x14793c(0x1d3)](0x2,0x8);}_0x21c483[_0x2a4ba5(0x163)]='UniverIcon';const _0x4a6812={'tag':_0x2a4ba5(0x294),'attrs':{'xmlns':_0x2a4ba5(0x37a),'fill':_0x2a4ba5(0x1a3),'viewBox':_0x2a4ba5(0xb2),'width':_0x2a4ba5(0x28f),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2a4ba5(0x2cb)},'children':[{'tag':'path','attrs':{'stroke':_0x2a4ba5(0x20c),'d':_0x2a4ba5(0x28b),'strokeLinecap':_0x2a4ba5(0x239),'strokeLinejoin':_0x2a4ba5(0x239),'strokeWidth':1.2}}]},{'tag':_0x2a4ba5(0x1fd),'attrs':{},'children':[{'tag':_0x2a4ba5(0x348),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x2a4ba5(0x202),'attrs':{'fill':_0x2a4ba5(0x2f4),'d':_0x2a4ba5(0x2be)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x2b94c7=_0x33ecf2['forwardRef'](function(_0x1c055d,_0x259476){const _0x13a411=_0x2a4ba5;return _0x33ecf2[_0x13a411(0x1a6)](_0x21c483,Object[_0x13a411(0x2c5)]({},_0x1c055d,{'id':_0x13a411(0xb6),'ref':_0x259476,'icon':_0x4a6812}));});_0x2b94c7[_0x2a4ba5(0x163)]=_0x2a4ba5(0xf2);const _0x54aeed={'tag':'svg','attrs':{'xmlns':_0x2a4ba5(0x37a),'fill':_0x2a4ba5(0x1a3),'viewBox':_0x2a4ba5(0x2f3),'width':_0x2a4ba5(0x28f),'height':_0x2a4ba5(0x28f)},'children':[{'tag':'g','attrs':{'clipPath':_0x2a4ba5(0x32c)},'children':[{'tag':_0x2a4ba5(0x202),'attrs':{'stroke':_0x2a4ba5(0x20c),'d':_0x2a4ba5(0x391),'strokeLinecap':_0x2a4ba5(0x239),'strokeLinejoin':_0x2a4ba5(0x239),'strokeWidth':1.2}}]},{'tag':_0x2a4ba5(0x1fd),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x2a4ba5(0x202),'attrs':{'fill':_0x2a4ba5(0x2f4),'d':_0x2a4ba5(0x2be),'transform':_0x2a4ba5(0xca)}}]}]}],'defIds':[_0x2a4ba5(0x368)]},_0x2c1f0c=_0x33ecf2[_0x2a4ba5(0x127)](function(_0x4b6570,_0xb14dfd){const _0x16c05c=_0x2a4ba5;return _0x33ecf2[_0x16c05c(0x1a6)](_0x21c483,Object[_0x16c05c(0x2c5)]({},_0x4b6570,{'id':'on-line-icon','ref':_0xb14dfd,'icon':_0x54aeed}));});_0x2c1f0c[_0x2a4ba5(0x163)]=_0x2a4ba5(0x192);function _0x2d3776(_0x2fa18c){const _0x470f69=_0x2a4ba5;switch(_0x2fa18c){case _0x26bc40['CollaborationStatus'][_0x470f69(0x177)]:return'collabStatus.offline';case _0x26bc40['CollaborationStatus'][_0x470f69(0x100)]:return _0x470f69(0xc7);case _0x26bc40[_0x470f69(0x34d)][_0x470f69(0x307)]:return _0x470f69(0x10b);case _0x26bc40['CollaborationStatus'][_0x470f69(0x1a2)]:return _0x470f69(0xd0);case _0x26bc40['CollaborationStatus'][_0x470f69(0x397)]:case _0x26bc40['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x470f69(0x13a);case _0x26bc40[_0x470f69(0x34d)]['SYNCED']:case _0x26bc40['CollaborationStatus']['PENDING']:return'collabStatus.synced';}}function _0x15b136(_0x3698cf){const _0x3669d4=_0x2a4ba5,{status$:_0x3f8c68}=_0x3698cf,_0x4d6355=_0x498b33[_0x3669d4(0x3a3)](_0x3f8c68,_0x26bc40['CollaborationStatus'][_0x3669d4(0x1a2)]),_0x2644a4=_0x498b33[_0x3669d4(0x107)](_0x717d91['LocaleService']),_0x4bdfbe=_0x498b33[_0x3669d4(0x107)](_0x26bc40[_0x3669d4(0x2a1)]),_0x289586=_0x4d6355!==_0x26bc40[_0x3669d4(0x34d)]['OFFLINE'],_0x3007d3=_0x2644a4['t'](_0x2d3776(_0x4d6355)),_0x202a6e=_0x289586?_0x56bdbb['jsx'](_0x2c1f0c,{}):_0x56bdbb[_0x3669d4(0x197)](_0x2b94c7,{}),_0x525a2f=_0x33ecf2[_0x3669d4(0x380)](()=>{const _0x267016=_0x3669d4;_0x289586||_0x4bdfbe[_0x267016(0x287)]();},[_0x289586,_0x4bdfbe]);function _0x5ab85c(){const _0x33ada4=_0x3669d4;return _0x56bdbb[_0x33ada4(0x21a)](_0x33ada4(0x1e7),{'className':_0x33ada4(0x27c),'onClick':_0x525a2f,'children':[_0x56bdbb[_0x33ada4(0x197)](_0x33ada4(0x1e7),{'className':_0x203981[_0x33ada4(0xbd)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x289586,'univer-text-red-500':!_0x289586}),'children':_0x202a6e}),_0x56bdbb[_0x33ada4(0x197)](_0x33ada4(0x1e7),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x3007d3})]});}return _0x289586?_0x5ab85c():_0x56bdbb[_0x3669d4(0x197)](_0x203981[_0x3669d4(0x124)],{'title':_0x2644a4['t'](_0x3669d4(0x1fe)),'children':_0x5ab85c()});}var _0x318402=Object['getOwnPropertyDescriptor'],_0x435cf3=(_0x421bc2,_0x103fec,_0x14f251,_0x59bb18)=>{for(var _0x180f54=_0x59bb18>0x1?void 0x0:_0x59bb18?_0x318402(_0x103fec,_0x14f251):_0x103fec,_0x52cdff=_0x421bc2['length']-0x1,_0x30d9cb;_0x52cdff>=0x0;_0x52cdff--)(_0x30d9cb=_0x421bc2[_0x52cdff])&&(_0x180f54=_0x30d9cb(_0x180f54)||_0x180f54);return _0x180f54;},_0x2348e1=(_0x55a5ec,_0xc60512)=>(_0x426436,_0x555a0a)=>_0xc60512(_0x426436,_0x555a0a,_0x55a5ec);_0x487266[_0x2a4ba5(0x38b)]=class extends _0x717d91[_0x2a4ba5(0x393)]{constructor(_0x49e4ae,_0x629219,_0x201b98,_0x250d04){const _0x17f367=_0x2a4ba5;super(),_0x271c55(this,_0x17f367(0x266),new _0x170cda[(_0x17f367(0x2a4))](_0x26bc40['CollaborationStatus']['NOT_COLLAB'])),(this[_0x17f367(0x15c)]=_0x49e4ae,this[_0x17f367(0x265)]=_0x629219,this[_0x17f367(0x151)]=_0x201b98,this[_0x17f367(0x1fa)]=_0x250d04,this[_0x17f367(0x141)](),this[_0x17f367(0xe1)]());}[_0x2a4ba5(0xe1)](){const _0x5bd4b7=_0x2a4ba5;this['disposeWithMe'](this[_0x5bd4b7(0x15c)][_0x5bd4b7(0x2dd)][_0x5bd4b7(0xda)](_0x170cda[_0x5bd4b7(0x2cc)](()=>{const _0x55ef6b=_0x5bd4b7,_0xd468f8=this[_0x55ef6b(0x15c)][_0x55ef6b(0x2f9)]();return _0xd468f8?this[_0x55ef6b(0x151)][_0x55ef6b(0x37f)](_0xd468f8[_0x55ef6b(0x2c3)]()):_0x170cda['of'](null);}),_0x170cda[_0x5bd4b7(0x2cc)](_0x44dc98=>_0x44dc98?_0x44dc98[_0x5bd4b7(0x1ee)]:_0x170cda['of'](_0x26bc40[_0x5bd4b7(0x34d)][_0x5bd4b7(0x1a2)])))[_0x5bd4b7(0xbf)](_0x19d6c3=>{const _0x1e24a2=_0x5bd4b7;this[_0x1e24a2(0x266)]['next'](_0x19d6c3);}));}[_0x2a4ba5(0x141)](){const _0x34ecdf=_0x2a4ba5;this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x498b33[_0x34ecdf(0x30f)][_0x34ecdf(0x138)],()=>_0x498b33['connectInjector'](_0x153887({'status$':this[_0x34ecdf(0x266)][_0x34ecdf(0x378)]()}),this[_0x34ecdf(0x265)])));}},_0x487266[_0x2a4ba5(0x38b)]=_0x435cf3([_0x2348e1(0x0,_0x717d91['IUniverInstanceService']),_0x2348e1(0x1,_0x717d91[_0x2a4ba5(0x37b)](_0x717d91[_0x2a4ba5(0x32d)])),_0x2348e1(0x2,_0x717d91[_0x2a4ba5(0x37b)](_0x26bc40[_0x2a4ba5(0x36b)])),_0x2348e1(0x3,_0x498b33[_0x2a4ba5(0x2ef)])],_0x487266[_0x2a4ba5(0x38b)]);function _0x153887(_0x53faf3){const {status$:_0x58caea}=_0x53faf3;return function(){const _0x4aad68=_0x20af;return _0x56bdbb[_0x4aad68(0x197)](_0x15b136,{'status$':_0x58caea});};}const _0x8c03a2=_0x717d91['createIdentifier'](_0x2a4ba5(0x379));var _0x138230=Object[_0x2a4ba5(0x147)],_0x2ecc3b=(_0xc3457e,_0x5db49f,_0x16f207,_0x149afc)=>{const _0x2bd771=_0x2a4ba5;for(var _0x4020c6=_0x149afc>0x1?void 0x0:_0x149afc?_0x138230(_0x5db49f,_0x16f207):_0x5db49f,_0x3f314d=_0xc3457e[_0x2bd771(0x123)]-0x1,_0x4a0725;_0x3f314d>=0x0;_0x3f314d--)(_0x4a0725=_0xc3457e[_0x3f314d])&&(_0x4020c6=_0x4a0725(_0x4020c6)||_0x4020c6);return _0x4020c6;},_0x317627=(_0x3ea074,_0xff6087)=>(_0x4a2dc5,_0x540a01)=>_0xff6087(_0x4a2dc5,_0x540a01,_0x3ea074);_0x487266[_0x2a4ba5(0x169)]=class extends _0x717d91[_0x2a4ba5(0x1f4)]{constructor(_0x128c18,_0x406f82,_0x1c2232,_0x4d9872,_0x4c0015){const _0x4383f7=_0x2a4ba5;super(),this[_0x4383f7(0x362)]=_0x128c18,this[_0x4383f7(0x34a)]=_0x406f82,this[_0x4383f7(0x15e)]=_0x1c2232,this[_0x4383f7(0x312)]=_0x4d9872,_0x4c0015?_0x4c0015==null||_0x4c0015[_0x4383f7(0x148)]()[_0x4383f7(0x339)](()=>this['_init']()):(this[_0x4383f7(0x34a)][_0x4383f7(0x2f7)](_0x4383f7(0xe8),_0x4383f7(0x126)),this['_init']());}async[_0x2a4ba5(0xd5)](){const _0x4a8ad8=_0x2a4ba5,_0xb2c175=this[_0x4a8ad8(0x362)][_0x4a8ad8(0x157)](_0x4a8ad8(0x16e)),_0x4558e3=this[_0x4a8ad8(0x362)][_0x4a8ad8(0x157)](_0x4a8ad8(0x13b)),_0xc7726b=this[_0x4a8ad8(0x362)][_0x4a8ad8(0x157)]('subunit');if(!_0xb2c175||!_0x4558e3){this[_0x4a8ad8(0x34a)][_0x4a8ad8(0x2f7)](_0x4a8ad8(0xe8),_0x4a8ad8(0x2d0));return;}const _0x182783=await this[_0x4a8ad8(0x312)][_0x4a8ad8(0x16f)](_0xb2c175,Number(_0x4558e3),_0xc7726b);_0x182783&&_0x182783 instanceof _0x717d91[_0x4a8ad8(0x2d1)]&&this[_0x4a8ad8(0x10e)](_0x182783);}async[_0x2a4ba5(0x10e)](_0x506a60){const _0x2bf1af=_0x2a4ba5;await this[_0x2bf1af(0xf6)](_0x506a60),_0x506a60[_0x2bf1af(0x10c)][_0x2bf1af(0xda)](_0x170cda[_0x2bf1af(0x2b0)](this[_0x2bf1af(0x2c4)]))[_0x2bf1af(0xbf)](_0x1dfa1d=>{const _0x4c263f=_0x2bf1af;_0x1dfa1d&&this[_0x4c263f(0x28e)](_0x1dfa1d);}),this[_0x2bf1af(0x362)][_0x2bf1af(0x36e)][_0x2bf1af(0xda)](_0x170cda[_0x2bf1af(0x2b0)](this[_0x2bf1af(0x2c4)]))[_0x2bf1af(0xbf)](()=>this['_updateSubUnitFromURLParams'](_0x506a60));}[_0x2a4ba5(0x28e)](_0x15fdb5,_0x114d82=!0x1){const _0x20ce97=_0x2a4ba5,_0x1be8ba=this[_0x20ce97(0x362)][_0x20ce97(0x157)](_0x20ce97(0x334));_0x15fdb5[_0x20ce97(0x37d)]()!==_0x1be8ba&&this['_urlService'][_0x20ce97(0x125)](_0x20ce97(0x334),_0x15fdb5[_0x20ce97(0x37d)](),_0x114d82);}async['_updateSubUnitFromURLParams'](_0x578773){const _0xd90ca5=_0x2a4ba5;var _0x46b0da;const _0x1bb561=this[_0xd90ca5(0x362)][_0xd90ca5(0x157)](_0xd90ca5(0x334));if(!_0x1bb561||!_0x578773[_0xd90ca5(0x246)](_0x1bb561)){const _0x27c4ee=_0x578773[_0xd90ca5(0x142)]()[0x0],_0x43c019=_0x578773['getSheetBySheetId'](_0x27c4ee);if(!_0x43c019)return;this[_0xd90ca5(0x28e)](_0x43c019,!0x0),await this[_0xd90ca5(0x15e)][_0xd90ca5(0x14c)](_0x45a7b5['SetWorksheetActivateCommand']['id'],{'unitId':_0x578773[_0xd90ca5(0x2c3)](),'subUnitId':_0x27c4ee});return;}((_0x46b0da=_0x578773[_0xd90ca5(0x115)]())==null?void 0x0:_0x46b0da['getSheetId']())!==_0x1bb561&&await this[_0xd90ca5(0x15e)][_0xd90ca5(0x14c)](_0x45a7b5['SetWorksheetActivateCommand']['id'],{'unitId':_0x578773[_0xd90ca5(0x2c3)](),'subUnitId':_0x1bb561});}},_0x487266[_0x2a4ba5(0x169)]=_0x2ecc3b([_0x317627(0x0,_0x8c03a2),_0x317627(0x1,_0x717d91[_0x2a4ba5(0x299)]),_0x317627(0x2,_0x717d91['ICommandService']),_0x317627(0x3,_0x717d91[_0x2a4ba5(0x37b)](_0x26bc40[_0x2a4ba5(0x392)])),_0x317627(0x4,_0x717d91[_0x2a4ba5(0x317)](_0x2cf533['IRemoteInstanceService']))],_0x487266[_0x2a4ba5(0x169)]);var _0x17ee1d=Object['getOwnPropertyDescriptor'],_0x89178=(_0x91fbb7,_0x4e9bcf,_0x1041e9,_0xc6f5c7)=>{for(var _0x19b77e=_0xc6f5c7>0x1?void 0x0:_0xc6f5c7?_0x17ee1d(_0x4e9bcf,_0x1041e9):_0x4e9bcf,_0x4477a3=_0x91fbb7['length']-0x1,_0x3c212b;_0x4477a3>=0x0;_0x4477a3--)(_0x3c212b=_0x91fbb7[_0x4477a3])&&(_0x19b77e=_0x3c212b(_0x19b77e)||_0x19b77e);return _0x19b77e;},_0x200b08=(_0x3f6a2a,_0x2b7407)=>(_0xdd5836,_0x108f45)=>_0x2b7407(_0xdd5836,_0x108f45,_0x3f6a2a);let _0x4fa738=class extends _0x717d91[_0x2a4ba5(0x1f4)]{constructor(_0xe7de6f,_0x108b79){const _0x44a5ec=_0x2a4ba5;super(),this[_0x44a5ec(0x361)]=_0xe7de6f,this[_0x44a5ec(0x1a9)]=_0x108b79,this[_0x44a5ec(0xd5)]();}[_0x2a4ba5(0xd5)](){const _0x447f5b=_0x2a4ba5,_0x4b101f=this;this[_0x447f5b(0x1d4)](this[_0x447f5b(0x361)][_0x447f5b(0x2df)]({'onBeforePasteImage':async _0x1b87f3=>{const _0x22dc4f=_0x447f5b,_0x4c0b9a=await _0x4b101f[_0x22dc4f(0x1a9)]['saveImage'](_0x1b87f3);return _0x4c0b9a?{'source':_0x4c0b9a[_0x22dc4f(0x161)],'imageSourceType':_0x4c0b9a[_0x22dc4f(0xf5)]}:null;}}));}};_0x4fa738=_0x89178([_0x200b08(0x0,_0x42f0df[_0x2a4ba5(0x2b1)]),_0x200b08(0x1,_0x3ea70a[_0x2a4ba5(0xc5)])],_0x4fa738);const _0x314d67=['purple.300',_0x2a4ba5(0x2c8),_0x2a4ba5(0x335),_0x2a4ba5(0x23f),_0x2a4ba5(0x22a),_0x2a4ba5(0x38a)];class _0x170667 extends _0x717d91[_0x2a4ba5(0x393)]{constructor(){const _0x29c5a9=_0x2a4ba5;super(...arguments),_0x271c55(this,'_assignedColors',new Map()),_0x271c55(this,_0x29c5a9(0x224),0x0);}['assignAColorForMemberID'](_0x7e4366){const _0x33a7b7=_0x2a4ba5;if(this['_assignedColors'][_0x33a7b7(0x250)](_0x7e4366))return this['_assignedColors'][_0x33a7b7(0x2aa)](_0x7e4366);const _0x4dec72=_0x314d67[this['_colorIndex']];return this[_0x33a7b7(0x224)]=(this[_0x33a7b7(0x224)]+0x1)%_0x314d67[_0x33a7b7(0x123)],this[_0x33a7b7(0xf9)][_0x33a7b7(0x30e)](_0x7e4366,_0x4dec72),_0x4dec72;}}function _0x4c9e65(_0x36f597){const _0x1de776=_0x2a4ba5;let _0x3af262='';for(const _0x1022f7 of _0x36f597){const {startOffset:_0x372b3b,endOffset:_0x162540,isActive:_0x55dc76,rangeType:_0x560843,segmentId:_0x59734c,segmentPage:_0x167e28}=_0x1022f7;_0x3af262[_0x1de776(0x123)]&&(_0x3af262+=','),_0x3af262+=_0x372b3b+':'+_0x162540+':'+(_0x55dc76?'1':'0')+':'+_0x560843+':'+_0x59734c+':'+_0x167e28;}return _0x3af262;}function _0x278353(_0x5966c3){const _0x45828f=_0x2a4ba5,_0x5eb326=_0x5966c3['split'](','),_0x398e85=[];for(const _0x4b9594 of _0x5eb326){const [_0x53ea60,_0x48b052,_0x1719a1,_0x55c429,_0x27dca1,_0x16c153]=_0x4b9594[_0x45828f(0x300)](':');_0x398e85['push']({'startOffset':Number(_0x53ea60),'endOffset':Number(_0x48b052),'collapsed':_0x53ea60===_0x48b052,'isActive':_0x1719a1==='1','rangeType':_0x55c429===_0x717d91[_0x45828f(0x106)]['TEXT']?_0x717d91[_0x45828f(0x106)][_0x45828f(0xee)]:_0x717d91[_0x45828f(0x106)][_0x45828f(0x133)],'segmentId':typeof _0x27dca1=='string'?String(_0x27dca1):'','segmentPage':Number(_0x16c153!=null?_0x16c153:-0x1)});}return _0x398e85['some'](_0x513781=>_0x513781[_0x45828f(0x276)])||(_0x398e85[0x0][_0x45828f(0x276)]=!0x0),_0x398e85;}class _0x531ef2 extends _0x717d91['RxDisposable']{constructor(){const _0x1aaeba=_0x2a4ba5;super(...arguments),_0x271c55(this,_0x1aaeba(0x2e8),new _0x170cda[(_0x1aaeba(0x2a4))](null)),_0x271c55(this,_0x1aaeba(0x370),this[_0x1aaeba(0x2e8)][_0x1aaeba(0x378)]());}['syncEditingCollabCursor'](_0x2c0a4e){const _0x4d4bc8=_0x2a4ba5,{unitID:_0x25f75f,memberID:_0xc4b803,textRanges:_0x57447f}=_0x2c0a4e,_0x303d89=_0x4c9e65(_0x57447f);if(_0x303d89==='')return;const _0x2ecf9d={'unitID':_0x25f75f,'memberID':_0xc4b803,'selection':_0x303d89};this['_collabCursorState$'][_0x4d4bc8(0x27b)](_0x2ecf9d);}}var _0x4396bb=Object[_0x2a4ba5(0x147)],_0x87c5c0=(_0x6ea66b,_0x1993f9,_0x3688e4,_0x41fbcc)=>{const _0x3bfc70=_0x2a4ba5;for(var _0x22431f=_0x41fbcc>0x1?void 0x0:_0x41fbcc?_0x4396bb(_0x1993f9,_0x3688e4):_0x1993f9,_0x589031=_0x6ea66b[_0x3bfc70(0x123)]-0x1,_0x432d23;_0x589031>=0x0;_0x589031--)(_0x432d23=_0x6ea66b[_0x589031])&&(_0x22431f=_0x432d23(_0x22431f)||_0x22431f);return _0x22431f;},_0x1ff253=(_0x5f21f5,_0x1f348e)=>(_0x5ce0b5,_0x4b9846)=>_0x1f348e(_0x5ce0b5,_0x4b9846,_0x5f21f5);const _0x14a7e7=0x12c,_0x280793=0x64;let _0x4c9987=class extends _0x717d91['RxDisposable']{constructor(_0x463c9c,_0x2f2f7c,_0x217e6b,_0x8c34c6,_0x3e9360,_0x49a1a8,_0xa53310,_0x5cd603,_0x28a26b){const _0x17924c=_0x2a4ba5;super(),_0x271c55(this,'_online',!0x1),_0x271c55(this,_0x17924c(0xd5),!0x1),_0x271c55(this,'_cursorInfo$',new _0x170cda[(_0x17924c(0x2a4))](new Map())),_0x271c55(this,'cursorInfo$',this[_0x17924c(0x1b0)][_0x17924c(0x378)]()),_0x271c55(this,'_roomMembers$',new _0x170cda[(_0x17924c(0x2a4))]([])),_0x271c55(this,'roomMembers$',this['_roomMembers$'][_0x17924c(0xda)](_0x170cda[_0x17924c(0x377)](_0x14a7e7))),_0x271c55(this,_0x17924c(0x1aa),_0x717d91[_0x17924c(0x32e)](_0x41436a=>{const _0x103219=_0x17924c,_0x38d84e={'eventID':_0xdf7641[_0x103219(0x360)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x103219(0x26e)](),'selection':_0x4c9e65(_0x41436a)}};this['_session']['send'](_0x38d84e,this[_0x103219(0x1e6)]);},_0x280793)),(this['unitID']=_0x463c9c,this[_0x17924c(0x166)]=_0x2f2f7c,this[_0x17924c(0x265)]=_0x217e6b,this[_0x17924c(0x29d)]=_0x8c34c6,this[_0x17924c(0x11d)]=_0x3e9360,this[_0x17924c(0x19d)]=_0x49a1a8,this['_transformService']=_0xa53310,this[_0x17924c(0x15c)]=_0x5cd603,this[_0x17924c(0x15e)]=_0x28a26b);}get[_0x2a4ba5(0x1e9)](){const _0x137fff=_0x2a4ba5;return this['_cursorInfo$'][_0x137fff(0x21d)]();}get[_0x2a4ba5(0x200)](){const _0x587b00=_0x2a4ba5;return this[_0x587b00(0x367)]['getValue']();}[_0x2a4ba5(0x14a)](){const _0x313e18=_0x2a4ba5;super[_0x313e18(0x14a)](),this[_0x313e18(0x1b0)]['next'](new Map()),this[_0x313e18(0x1b0)]['complete'](),this[_0x313e18(0x367)]['next']([]),this[_0x313e18(0x367)][_0x313e18(0x216)]();}['init'](){const _0xae5994=_0x2a4ba5;this[_0xae5994(0xd5)]||(this[_0xae5994(0xd5)]=!0x0,this[_0xae5994(0x166)][_0xae5994(0x14e)][_0xae5994(0xda)](_0x170cda['takeUntil'](this[_0xae5994(0x2c4)]))[_0xae5994(0xbf)](_0x2b7c58=>{const _0x97580e=_0xae5994;_0x2b7c58===_0x26bc40[_0x97580e(0xfe)][_0x97580e(0x1a0)]?this[_0x97580e(0x131)]():this[_0x97580e(0x38e)]();}),this['_session'][_0xae5994(0x1de)]['pipe'](_0x170cda[_0xae5994(0x2b0)](this[_0xae5994(0x2c4)]))[_0xae5994(0xbf)](_0x4b3fe1=>{const _0x249012=_0xae5994,_0x347d23=_0x4b3fe1[_0x249012(0x399)];_0x347d23===_0xdf7641['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x249012(0x26f)](_0x4b3fe1),_0x347d23===_0xdf7641[_0x249012(0x360)][_0x249012(0xdf)]&&this[_0x249012(0x255)](_0x4b3fe1);}),this[_0xae5994(0x1d4)](this[_0xae5994(0x15e)][_0xae5994(0x23a)](_0x32b27c=>{const _0xe0bae9=_0xae5994,_0x738b91=_0x32b27c[_0xe0bae9(0x2af)];_0x738b91!=null&&this[_0xe0bae9(0x282)]&&_0x32b27c['id']===_0x59e61e[_0xe0bae9(0x18a)]['id']&&_0x738b91['unitId']===this[_0xe0bae9(0x1e6)]&&_0x738b91[_0xe0bae9(0x227)]===!0x1&&_0x738b91[_0xe0bae9(0x144)][_0xe0bae9(0x123)]>0x0&&this[_0xe0bae9(0x1aa)](_0x738b91[_0xe0bae9(0x144)]);})),this['_syncEditingCollabCursorService'][_0xae5994(0x370)]['pipe'](_0x170cda[_0xae5994(0x2b0)](this['dispose$']))['subscribe'](_0x3cc8c9=>{const _0x56febe=_0xae5994;if((_0x3cc8c9==null?void 0x0:_0x3cc8c9[_0x56febe(0x1e6)])!==this[_0x56febe(0x1e6)])return;const _0x1de0c0={'eventID':_0xdf7641[_0x56febe(0x360)][_0x56febe(0x1d9)],'data':_0x3cc8c9};this['_onCursorUpdate'](_0x1de0c0);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x28727f=>{const _0x40be90=_0xae5994;if(_0x28727f[_0x40be90(0x2af)]==null)return;const _0x18f70d=_0x28727f['params'];if(_0x28727f['id']!==_0x59e61e[_0x40be90(0x26a)]['id']||_0x18f70d[_0x40be90(0x1df)]!==this[_0x40be90(0x1e6)])return;const _0x2e31a0={'id':_0x40be90(0x269),'params':_0x18f70d},_0x10124d=this['cursorInfo'];for(const [_0x2c789e,_0x7775a1]of _0x10124d){const _0x26de16={'id':_0x40be90(0x269),'params':{'unitId':this[_0x40be90(0x1e6)],'actions':null,'textRanges':_0x7775a1[_0x40be90(0x144)]}},_0x271180=this[_0x40be90(0x242)][_0x40be90(0x229)](_0x2e31a0,_0x26de16,!0x1);if(_0xdf7641[_0x40be90(0x39c)](_0x271180))throw _0x271180[_0x40be90(0x289)];_0x10124d[_0x40be90(0x30e)](_0x2c789e,{..._0x7775a1,'ranges':_0x271180[_0x40be90(0x388)][_0x40be90(0x2af)][_0x40be90(0x240)]});}queueMicrotask(()=>{const _0x5d3306=_0x40be90;this['_cursorInfo$'][_0x5d3306(0x27b)](_0x10124d);});})));}[_0x2a4ba5(0x26f)](_0x3f5361){const _0x1aac8d=_0x2a4ba5;var _0x2ec77a,_0x293c9f;const {memberID:_0x1727ff,selection:_0x4723b8}=_0x3f5361[_0x1aac8d(0x244)],_0x53865c=_0x278353(_0x4723b8),_0x3b0a36=(_0x293c9f=(_0x2ec77a=this[_0x1aac8d(0x11d)][_0x1aac8d(0x1b7)](this[_0x1aac8d(0x1e6)],_0x1727ff))==null?void 0x0:_0x2ec77a[_0x1aac8d(0x35e)])!=null?_0x293c9f:_0x1aac8d(0x2b6),_0x1ea192={'color':this['_colorAssignService'][_0x1aac8d(0x38c)](_0x1727ff),'name':_0x3b0a36,'ranges':_0x53865c},_0x54c84f=this[_0x1aac8d(0x1e9)];_0x54c84f[_0x1aac8d(0x30e)](_0x1727ff,_0x1ea192),this[_0x1aac8d(0x1b0)][_0x1aac8d(0x27b)](_0x54c84f);}[_0x2a4ba5(0x255)](_0x5b5bf4){const _0x451cf8=_0x2a4ba5,{memberID:_0x3dba69}=_0x5b5bf4[_0x451cf8(0x244)],_0x103524=this[_0x451cf8(0x1e9)];_0x103524[_0x451cf8(0x2e2)](_0x3dba69),this['_cursorInfo$']['next'](_0x103524);}[_0x2a4ba5(0x131)](){const _0x448754=_0x2a4ba5;var _0x1367bb;if(this[_0x448754(0x282)]=!0x0,((_0x1367bb=this[_0x448754(0x15c)]['getFocusedUnit']())==null?void 0x0:_0x1367bb[_0x448754(0x2c3)]())!==this[_0x448754(0x1e6)])return;const _0x4f846e=this[_0x448754(0x265)]['get'](_0x59e61e['DocSelectionManagerService'])[_0x448754(0x1c2)]();Array[_0x448754(0x217)](_0x4f846e)&&_0x4f846e['length']>0x0&&this['_updateLocalCursor'](_0x4f846e);}[_0x2a4ba5(0x38e)](){const _0x4b5f90=_0x2a4ba5;this[_0x4b5f90(0x282)]=!0x1;}};_0x4c9987=_0x87c5c0([_0x1ff253(0x2,_0x717d91['Inject'](_0x717d91['Injector'])),_0x1ff253(0x3,_0x717d91[_0x2a4ba5(0x37b)](_0x170667)),_0x1ff253(0x4,_0x717d91[_0x2a4ba5(0x37b)](_0x26bc40[_0x2a4ba5(0x105)])),_0x1ff253(0x5,_0x717d91[_0x2a4ba5(0x37b)](_0x531ef2)),_0x1ff253(0x6,_0xdf7641[_0x2a4ba5(0x34f)]),_0x1ff253(0x7,_0x717d91[_0x2a4ba5(0xa9)]),_0x1ff253(0x8,_0x717d91[_0x2a4ba5(0x329)])],_0x4c9987);var _0x47d32c=Object[_0x2a4ba5(0x147)],_0x111b25=(_0x395c5d,_0x2fabca,_0x3eac99,_0x24f80d)=>{const _0x83d1f1=_0x2a4ba5;for(var _0x348b7d=_0x24f80d>0x1?void 0x0:_0x24f80d?_0x47d32c(_0x2fabca,_0x3eac99):_0x2fabca,_0x2149c1=_0x395c5d[_0x83d1f1(0x123)]-0x1,_0x1beea9;_0x2149c1>=0x0;_0x2149c1--)(_0x1beea9=_0x395c5d[_0x2149c1])&&(_0x348b7d=_0x1beea9(_0x348b7d)||_0x348b7d);return _0x348b7d;},_0x2fde7c=(_0x551afd,_0x2d77a6)=>(_0x373669,_0x3e76c2)=>_0x2d77a6(_0x373669,_0x3e76c2,_0x551afd);const _0x59c196=0x12c,_0x11f0a4=0x64,_0x3da812=()=>{let _0x4ca682=[],_0x457452=!0x1;return _0x1b6ab=>{const _0x3b5e98=_0x20af;_0x4ca682[_0x3b5e98(0x2db)](_0x1b6ab),_0x457452||(_0x457452=!0x0,setTimeout(()=>{const _0x5ab0a1=_0x3b5e98;_0x4ca682[_0x5ab0a1(0xc4)](_0x408b69=>_0x408b69()),_0x4ca682=[],_0x457452=!0x1;}));};};let _0x22e870=class extends _0x717d91['RxDisposable']{constructor(_0x2f2c22,_0x50422f,_0x16a224,_0x1e4698,_0x2063d6,_0xc20b32,_0x22dc6c,_0x71ca18){const _0x54e8fe=_0x2a4ba5;super(),_0x271c55(this,'_online',!0x1),_0x271c55(this,'_init',!0x1),_0x271c55(this,_0x54e8fe(0x1b0),new _0x170cda[(_0x54e8fe(0x2a4))](new Map())),_0x271c55(this,'cursorInfo$',this[_0x54e8fe(0x1b0)][_0x54e8fe(0x378)]()),_0x271c55(this,_0x54e8fe(0x367),new _0x170cda['BehaviorSubject']([])),_0x271c55(this,_0x54e8fe(0x26c),this['_roomMembers$'][_0x54e8fe(0xda)](_0x170cda[_0x54e8fe(0x377)](_0x59c196))),_0x271c55(this,_0x54e8fe(0x1aa),_0x717d91[_0x54e8fe(0x32e)]((_0x2e5766,_0x3c3658)=>{const _0x4c5d3c=_0x54e8fe,_0x442f34={'eventID':_0xdf7641['CollaborationEvent'][_0x4c5d3c(0x1d9)],'data':{'unitID':this['unitID'],'memberID':this[_0x4c5d3c(0x166)]['getMemberID'](),'selection':_0x41dddf[_0x4c5d3c(0xeb)](_0x2e5766,_0x3c3658[_0x4c5d3c(0x10d)])}};this[_0x4c5d3c(0x166)][_0x4c5d3c(0x1d0)](_0x442f34,this[_0x4c5d3c(0x1e6)]);},_0x11f0a4)),(this[_0x54e8fe(0x1e6)]=_0x2f2c22,this[_0x54e8fe(0x166)]=_0x50422f,this[_0x54e8fe(0x265)]=_0x16a224,this[_0x54e8fe(0x29d)]=_0x1e4698,this[_0x54e8fe(0x11d)]=_0x2063d6,this[_0x54e8fe(0x15c)]=_0xc20b32,this[_0x54e8fe(0x15e)]=_0x22dc6c,this[_0x54e8fe(0x254)]=_0x71ca18);}get[_0x2a4ba5(0x1e9)](){const _0x40a023=_0x2a4ba5;return this[_0x40a023(0x1b0)][_0x40a023(0x21d)]();}get[_0x2a4ba5(0x200)](){const _0x4a1135=_0x2a4ba5;return this[_0x4a1135(0x367)][_0x4a1135(0x21d)]();}[_0x2a4ba5(0x14a)](){const _0x1ae202=_0x2a4ba5;super[_0x1ae202(0x14a)](),this[_0x1ae202(0x1b0)][_0x1ae202(0x27b)](new Map()),this[_0x1ae202(0x1b0)][_0x1ae202(0x216)](),this['_roomMembers$'][_0x1ae202(0x27b)]([]),this[_0x1ae202(0x367)][_0x1ae202(0x216)]();}[_0x2a4ba5(0x1c5)](){const _0x363bb8=_0x2a4ba5;this[_0x363bb8(0xd5)]||(this[_0x363bb8(0xd5)]=!0x0,this['_session'][_0x363bb8(0x14e)][_0x363bb8(0xda)](_0x170cda[_0x363bb8(0x2b0)](this[_0x363bb8(0x2c4)]))[_0x363bb8(0xbf)](_0x33f7f5=>{const _0x11ca48=_0x363bb8;_0x33f7f5===_0x26bc40[_0x11ca48(0xfe)]['ONLINE']?this[_0x11ca48(0x131)]():this[_0x11ca48(0x38e)]();}),this[_0x363bb8(0x166)][_0x363bb8(0x1de)][_0x363bb8(0xda)](_0x170cda[_0x363bb8(0x2b0)](this[_0x363bb8(0x2c4)]))[_0x363bb8(0xbf)](_0x2b109f=>{const _0x1503b7=_0x363bb8,_0x4b3355=_0x2b109f[_0x1503b7(0x399)];_0x4b3355===_0xdf7641['CollaborationEvent'][_0x1503b7(0x1d9)]&&this[_0x1503b7(0x26f)](_0x2b109f),_0x4b3355===_0xdf7641[_0x1503b7(0x360)][_0x1503b7(0xdf)]&&this[_0x1503b7(0x255)](_0x2b109f);}),this[_0x363bb8(0x1c9)](),this[_0x363bb8(0x1d4)](this[_0x363bb8(0x15e)][_0x363bb8(0x23a)](_0x3e762e=>{const _0x1d4462=_0x363bb8;if(this[_0x1d4462(0x282)]&&_0x3e762e['id']===_0x45a7b5[_0x1d4462(0x128)]['id']&&_0x3e762e['params'][_0x1d4462(0x1df)]===this['unitID']){const _0x59648b=_0x3e762e[_0x1d4462(0x2af)];this[_0x1d4462(0x1aa)](_0x59648b[_0x1d4462(0x1e5)],_0x59648b[_0x1d4462(0x174)][0x0]);}})));}[_0x2a4ba5(0x26f)](_0x44c779){const _0x221501=_0x2a4ba5;var _0x217fd3,_0x5bb37c;const {memberID:_0x3612c8,selection:_0x1bd5bd}=_0x44c779[_0x221501(0x244)],{sheetName:_0x1694e5,range:_0x8bfb7b}=_0x41dddf[_0x221501(0x1f1)](_0x1bd5bd),_0x358bc6={'name':(_0x5bb37c=(_0x217fd3=this['_memberService'][_0x221501(0x1b7)](this['unitID'],_0x3612c8))==null?void 0x0:_0x217fd3[_0x221501(0x35e)])!=null?_0x5bb37c:_0x221501(0x2b6),'range':this['_getMergeRange'](_0x1694e5,_0x8bfb7b),'sheetID':_0x1694e5,'color':this['_colorAssignService'][_0x221501(0x38c)](_0x3612c8),'selection':_0x1bd5bd},_0x500336=this[_0x221501(0x1e9)];_0x500336[_0x221501(0x30e)](_0x3612c8,_0x358bc6),this[_0x221501(0x1b0)][_0x221501(0x27b)](_0x500336);}[_0x2a4ba5(0x255)](_0xa1267){const _0x291284=_0x2a4ba5,{memberID:_0x228eb2}=_0xa1267['data'],_0x277c5c=this[_0x291284(0x1e9)];_0x277c5c[_0x291284(0x2e2)](_0x228eb2),this[_0x291284(0x1b0)][_0x291284(0x27b)](_0x277c5c);}[_0x2a4ba5(0x17c)](_0x54a1ce,_0x108b71){const _0x1db6b8=_0x2a4ba5;var _0x58107d,_0x5d3b8d;const _0x1293c4=(_0x5d3b8d=(_0x58107d=this[_0x1db6b8(0x15c)][_0x1db6b8(0x21b)](this['unitID']))==null?void 0x0:_0x58107d[_0x1db6b8(0x246)](_0x54a1ce))==null?void 0x0:_0x5d3b8d[_0x1db6b8(0x16b)]();return(_0x1293c4==null?void 0x0:_0x1293c4[_0x1db6b8(0x344)](_0x10db79=>_0x717d91[_0x1db6b8(0x25a)][_0x1db6b8(0x273)](_0x10db79,_0x108b71)))||_0x108b71;}[_0x2a4ba5(0x1c9)](){const _0x3940e9=_0x2a4ba5,_0x4a324b=new _0x717d91[(_0x3940e9(0x1ff))](),_0x2aa418=_0x3da812(),_0x2777c3=()=>{const _0x5a881e=_0x3940e9;_0x4a324b[_0x5a881e(0x14a)]();const _0x187293=(_0x478bd4,_0x16d6a2,_0x27a453,_0x3c5ba1)=>{const _0x39dade=_0x5a881e;let _0x251846=[];switch(_0x478bd4['id']){case _0x45a7b5[_0x39dade(0xc9)][_0x39dade(0x2bc)]:{_0x251846=_0x45a7b5[_0x39dade(0xcd)](_0x478bd4,_0x3c5ba1);break;}case _0x45a7b5[_0x39dade(0xc9)][_0x39dade(0x303)]:{_0x251846=_0x45a7b5[_0x39dade(0x209)](_0x478bd4,_0x3c5ba1);break;}case _0x45a7b5[_0x39dade(0xc9)][_0x39dade(0x175)]:{_0x251846=_0x45a7b5[_0x39dade(0x291)](_0x478bd4,_0x3c5ba1);break;}case _0x45a7b5[_0x39dade(0xc9)]['InsertRangeMoveDownCommandId']:{_0x251846=_0x45a7b5['handleInsertRangeMoveDown'](_0x478bd4,_0x3c5ba1);break;}case _0x45a7b5[_0x39dade(0xc9)][_0x39dade(0x2b8)]:{_0x251846=_0x45a7b5[_0x39dade(0x2e5)](_0x478bd4,_0x3c5ba1);break;}case _0x45a7b5[_0x39dade(0xc9)]['InsertRowCommandId']:{_0x251846=_0x45a7b5[_0x39dade(0xf7)](_0x478bd4,_0x3c5ba1);break;}case _0x45a7b5[_0x39dade(0xc9)]['MoveRangeCommandId']:{_0x251846=_0x45a7b5[_0x39dade(0x33a)](_0x478bd4,_0x3c5ba1);break;}case _0x45a7b5[_0x39dade(0xc9)][_0x39dade(0x145)]:{_0x251846=_0x45a7b5[_0x39dade(0xfc)](_0x478bd4,_0x3c5ba1);break;}case _0x45a7b5[_0x39dade(0xc9)][_0x39dade(0xaf)]:{_0x251846=_0x45a7b5['handleIRemoveRow'](_0x478bd4,_0x3c5ba1);break;}}const _0x29878f=_0x45a7b5[_0x39dade(0x121)](_0x251846,_0x3c5ba1),_0x517185=this['cursorInfo'][_0x39dade(0x2aa)](_0x16d6a2);if(_0x517185&&_0x29878f){const _0x63520b={..._0x517185,'range':_0x29878f};this[_0x39dade(0x1e9)][_0x39dade(0x30e)](_0x16d6a2,_0x63520b),_0x2aa418(()=>{const _0x6f1c=_0x39dade,_0x505bda=this[_0x6f1c(0x254)][_0x6f1c(0x2ed)](_0x29878f,_0x31a64f=>(_0x505bda[_0x6f1c(0x14a)](),_0x187293(_0x31a64f,_0x16d6a2,_0x27a453,_0x29878f)));_0x4a324b[_0x6f1c(0x293)](_0x505bda);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x26aa27,_0x465e7e)=>{const _0x50e4e0=_0x5a881e,{range:_0x337b11,sheetID:_0x57ff32}=_0x26aa27,_0x5ce03d=this[_0x50e4e0(0x254)][_0x50e4e0(0x2ed)](_0x337b11,_0x14f925=>(_0x5ce03d[_0x50e4e0(0x14a)](),_0x187293(_0x14f925,_0x465e7e,_0x57ff32,_0x337b11)));_0x4a324b[_0x50e4e0(0x293)](_0x5ce03d);});};this[_0x3940e9(0x1d4)](_0x717d91['toDisposable'](this[_0x3940e9(0x1b0)][_0x3940e9(0xbf)](()=>{_0x2777c3();})));}[_0x2a4ba5(0x131)](){const _0x3da78d=_0x2a4ba5;var _0x35b2b1,_0x106d9c;if(this['_online']=!0x0,((_0x35b2b1=this['_univerInstanceService'][_0x3da78d(0x2f9)]())==null?void 0x0:_0x35b2b1['getUnitId']())!==this[_0x3da78d(0x1e6)])return;const _0x2113aa=(_0x106d9c=this['_injector'][_0x3da78d(0x2aa)](_0x45a7b5[_0x3da78d(0x213)])[_0x3da78d(0x22c)]())==null?void 0x0:_0x106d9c[0x0],_0x3266a0=this[_0x3da78d(0x15c)]['getCurrentUnitForType'](_0x717d91['UniverInstanceType'][_0x3da78d(0x137)])['getActiveSheet']();_0x2113aa&&_0x3266a0&&this[_0x3da78d(0x1aa)](_0x3266a0[_0x3da78d(0x37d)](),_0x2113aa);}[_0x2a4ba5(0x38e)](){const _0x1aade5=_0x2a4ba5;this[_0x1aade5(0x282)]=!0x1;}};_0x22e870=_0x111b25([_0x2fde7c(0x2,_0x717d91['Inject'](_0x717d91[_0x2a4ba5(0x32d)])),_0x2fde7c(0x3,_0x717d91[_0x2a4ba5(0x37b)](_0x170667)),_0x2fde7c(0x4,_0x717d91[_0x2a4ba5(0x37b)](_0x26bc40[_0x2a4ba5(0x105)])),_0x2fde7c(0x5,_0x717d91[_0x2a4ba5(0xa9)]),_0x2fde7c(0x6,_0x717d91[_0x2a4ba5(0x329)]),_0x2fde7c(0x7,_0x717d91[_0x2a4ba5(0x37b)](_0x45a7b5[_0x2a4ba5(0xde)]))],_0x22e870);var _0x1b0d6b=Object[_0x2a4ba5(0x147)],_0x3521db=(_0x4d1257,_0x469f2b,_0x54510d,_0x441d7f)=>{const _0x226a76=_0x2a4ba5;for(var _0x48c952=_0x441d7f>0x1?void 0x0:_0x441d7f?_0x1b0d6b(_0x469f2b,_0x54510d):_0x469f2b,_0x12a93b=_0x4d1257[_0x226a76(0x123)]-0x1,_0xf1a35e;_0x12a93b>=0x0;_0x12a93b--)(_0xf1a35e=_0x4d1257[_0x12a93b])&&(_0x48c952=_0xf1a35e(_0x48c952)||_0x48c952);return _0x48c952;},_0x272b68=(_0x3e7558,_0x44cae3)=>(_0x3d5d97,_0x23e965)=>_0x44cae3(_0x3d5d97,_0x23e965,_0x3e7558);let _0xfbad1b=class extends _0x717d91['RxDisposable']{constructor(_0x3a9890,_0x392e6a,_0x214e0c){const _0x18ed90=_0x2a4ba5;super(),_0x271c55(this,'_entities',new Map()),_0x271c55(this,_0x18ed90(0x220),new _0x170cda[(_0x18ed90(0x233))]()),(this['_univerInstanceService']=_0x3a9890,this['_injector']=_0x392e6a,this['_collabSessionService']=_0x214e0c,this[_0x18ed90(0xd5)]());}[_0x2a4ba5(0x14a)](){const _0x1ade54=_0x2a4ba5;super['dispose'](),this[_0x1ade54(0x220)][_0x1ade54(0x216)](),this[_0x1ade54(0x33f)][_0x1ade54(0xc4)](_0x561b98=>_0x561b98['dispose']());}[_0x2a4ba5(0xf1)](_0x57b7a9){const _0x52485d=_0x2a4ba5;return this[_0x52485d(0x33f)][_0x52485d(0x250)](_0x57b7a9)?this['_entities'][_0x52485d(0x2aa)](_0x57b7a9)[_0x52485d(0xe7)]:this['_entityInit$']['pipe'](_0x170cda['filter'](_0x430f58=>_0x430f58['unitID']===_0x57b7a9),_0x170cda[_0x52485d(0x2cc)](_0x205003=>_0x205003[_0x52485d(0xe7)]));}[_0x2a4ba5(0xd5)](){const _0x3ec604=_0x2a4ba5;this[_0x3ec604(0x15c)]['getTypeOfUnitAdded$'](_0x717d91[_0x3ec604(0x2bf)][_0x3ec604(0x137)])[_0x3ec604(0xda)](_0x170cda[_0x3ec604(0x2b0)](this[_0x3ec604(0x2c4)]))[_0x3ec604(0xbf)](async _0x55d9e9=>{const _0x418f99=_0x3ec604,_0x1e1c49=_0x55d9e9[_0x418f99(0x2c3)](),_0x4a1577=await this[_0x418f99(0x11e)](_0x1e1c49);this[_0x418f99(0x220)][_0x418f99(0x27b)](_0x4a1577),this[_0x418f99(0x33f)][_0x418f99(0x30e)](_0x1e1c49,_0x4a1577);}),this[_0x3ec604(0x15c)]['getTypeOfUnitAdded$'](_0x717d91['UniverInstanceType'][_0x3ec604(0x2fc)])['pipe'](_0x170cda['takeUntil'](this['dispose$']))[_0x3ec604(0xda)](_0x170cda[_0x3ec604(0x1dd)](_0x498cdb=>!_0x498cdb[_0x3ec604(0x2c3)]()[_0x3ec604(0x12a)]('__')))[_0x3ec604(0xbf)](async _0x5956c9=>{const _0x4434cf=_0x3ec604,_0x192e10=_0x5956c9['getUnitId'](),_0x6bc4ce=await this[_0x4434cf(0x376)](_0x192e10);this['_entityInit$'][_0x4434cf(0x27b)](_0x6bc4ce),this[_0x4434cf(0x33f)][_0x4434cf(0x30e)](_0x192e10,_0x6bc4ce);}),_0x170cda[_0x3ec604(0x132)](this[_0x3ec604(0x15c)][_0x3ec604(0x1e8)](_0x717d91[_0x3ec604(0x2bf)][_0x3ec604(0x2fc)]),this[_0x3ec604(0x15c)][_0x3ec604(0x1e8)](_0x717d91[_0x3ec604(0x2bf)]['UNIVER_SHEET']))['pipe'](_0x170cda[_0x3ec604(0x2b0)](this['dispose$']))[_0x3ec604(0xbf)](_0x1a7e37=>{const _0x106835=_0x3ec604,_0x3188b0=_0x1a7e37[_0x106835(0x2c3)](),_0x406871=this[_0x106835(0x33f)][_0x106835(0x2aa)](_0x3188b0);_0x406871&&(_0x406871[_0x106835(0x14a)](),this[_0x106835(0x33f)][_0x106835(0x2e2)](_0x3188b0));});}async[_0x2a4ba5(0x11e)](_0x5b4060){const _0xb70a9c=_0x2a4ba5,_0x2ba4ea=await this[_0xb70a9c(0x1d1)][_0xb70a9c(0x20a)](_0x5b4060),_0x338c43=this[_0xb70a9c(0x265)][_0xb70a9c(0x2d6)](_0x22e870,_0x5b4060,_0x2ba4ea);return _0x338c43['init'](),_0x338c43;}async[_0x2a4ba5(0x376)](_0x56ad60){const _0xa2c48=_0x2a4ba5,_0xa612a1=await this[_0xa2c48(0x1d1)][_0xa2c48(0x20a)](_0x56ad60),_0xe5e619=this[_0xa2c48(0x265)]['createInstance'](_0x4c9987,_0x56ad60,_0xa612a1);return _0xe5e619[_0xa2c48(0x1c5)](),_0xe5e619;}};_0xfbad1b=_0x3521db([_0x272b68(0x0,_0x717d91[_0x2a4ba5(0xa9)]),_0x272b68(0x1,_0x717d91[_0x2a4ba5(0x37b)](_0x717d91[_0x2a4ba5(0x32d)])),_0x272b68(0x2,_0x717d91[_0x2a4ba5(0x37b)](_0x26bc40[_0x2a4ba5(0x2a1)]))],_0xfbad1b);const _0x5b7079=0x14,_0x1e2f55=0xc8,_0xdd04ec=0x4,_0x324c39=0x5;function _0x36e4de(_0x4c261f,_0xc5849){const _0x34d3da=_0x2a4ba5;let {radius:_0x4a767b,width:_0x57fe9c,height:_0x19c72e}=_0xc5849;_0x4a767b=_0x4a767b!=null?_0x4a767b:0x0,_0x57fe9c=_0x57fe9c!=null?_0x57fe9c:0x1e,_0x19c72e=_0x19c72e!=null?_0x19c72e:0x1e;let _0x4ed4e8=0x0,_0x2f2848=0x0,_0x5d7b7a=0x0;_0x4ed4e8=_0x2f2848=_0x5d7b7a=Math[_0x34d3da(0x31d)](_0x4a767b,_0x57fe9c/0x2,_0x19c72e/0x2),_0x4c261f['beginPath'](),_0x4c261f['moveTo'](_0x4ed4e8,0x0),_0x4c261f[_0x34d3da(0x2d8)](_0x57fe9c-_0x2f2848,0x0),_0x4c261f[_0x34d3da(0xb3)](_0x57fe9c-_0x2f2848,_0x2f2848,_0x2f2848,Math['PI']*0x3/0x2,0x0,!0x1),_0x4c261f['lineTo'](_0x57fe9c,_0x19c72e-_0x5d7b7a),_0x4c261f[_0x34d3da(0xb3)](_0x57fe9c-_0x5d7b7a,_0x19c72e-_0x5d7b7a,_0x5d7b7a,0x0,Math['PI']/0x2,!0x1),_0x4c261f[_0x34d3da(0x2d8)](0x0,_0x19c72e),_0x4c261f['lineTo'](0x0,_0x4ed4e8),_0x4c261f[_0x34d3da(0xb3)](_0x4ed4e8,_0x4ed4e8,_0x4ed4e8,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4c261f['closePath'](),_0xc5849[_0x34d3da(0x1db)]&&(_0x4c261f[_0x34d3da(0x20f)](),_0x4c261f[_0x34d3da(0x11c)]=_0xc5849[_0x34d3da(0x1db)],_0xc5849['fillRule']===_0x34d3da(0x1e2)?_0x4c261f[_0x34d3da(0x1db)](_0x34d3da(0x1e2)):_0x4c261f[_0x34d3da(0x1db)](),_0x4c261f[_0x34d3da(0x21e)]());}class _0x264ac3 extends _0x4a1571['Shape']{constructor(_0x5326aa,_0x832ed6){const _0x25a80a=_0x2a4ba5;super(_0x5326aa,_0x832ed6),_0x271c55(this,_0x25a80a(0x33b)),_0x271c55(this,'text'),(this[_0x25a80a(0x33b)]=_0x832ed6==null?void 0x0:_0x832ed6[_0x25a80a(0x33b)],this[_0x25a80a(0x2b5)]=_0x832ed6==null?void 0x0:_0x832ed6[_0x25a80a(0x2b5)]);}static[_0x2a4ba5(0x170)](_0x41f464,_0x4c4e9a){const _0x1a48b3=_0x2a4ba5,{text:_0x5aa7f5,color:_0x5d4d6a}=_0x4c4e9a;_0x41f464[_0x1a48b3(0x20f)](),_0x41f464[_0x1a48b3(0x2f8)]=_0x1a48b3(0xed);const _0x27d1fc=_0x41f464[_0x1a48b3(0x108)](_0x5aa7f5)[_0x1a48b3(0x383)],_0x15ddd6=Math['min'](_0x27d1fc+0x2*_0xdd04ec,_0x1e2f55);_0x36e4de(_0x41f464,{'height':_0x5b7079,'radius':0x4,'width':_0x15ddd6,'fill':_0x5d4d6a}),_0x41f464['fillStyle']=_0x1a48b3(0x19f);const _0x28c8e7=_0xdd04ec,_0x12b3f4=_0x5b7079-_0x324c39,_0x4bbaea=_0x1e2f55-0x2*_0xdd04ec;if(_0x27d1fc>_0x4bbaea){let _0x390e86='',_0x18667f=0x0;for(const _0x4de481 of _0x5aa7f5){const _0xd3bdd5=_0x41f464[_0x1a48b3(0x108)](_0x4de481)['width'];if(_0x18667f+_0xd3bdd5<=_0x4bbaea-_0x41f464[_0x1a48b3(0x108)](_0x1a48b3(0xb0))[_0x1a48b3(0x383)])_0x390e86+=_0x4de481,_0x18667f+=_0xd3bdd5;else{_0x390e86+=_0x1a48b3(0xb0);break;}}_0x41f464[_0x1a48b3(0x28c)](_0x390e86,_0x28c8e7,_0x12b3f4);}else _0x41f464['fillText'](_0x5aa7f5,_0x28c8e7,_0x12b3f4);_0x41f464['restore']();}['_draw'](_0x563924){const _0x557126=_0x2a4ba5;_0x264ac3[_0x557126(0x170)](_0x563924,this);}}const _0x14bb73=_0x2a4ba5(0x2c7),_0x304e63=_0x2a4ba5(0x116),_0x491eb3=_0x2a4ba5(0xac),_0x22c5bc=0x6,_0x1876de=1.5,_0xd22ed3=0x4,_0x1d2bb8=1.5,_0x403502=_0x2a4ba5(0x277);class _0x328b55{constructor(_0x4ef778,_0xeca3b8,_0xc17b90,_0x19ed74){const _0x4f402b=_0x2a4ba5;_0x271c55(this,_0x4f402b(0x270),[]),_0x271c55(this,_0x4f402b(0x3a0),null),_0x271c55(this,_0x4f402b(0x2ac),null),_0x271c55(this,_0x4f402b(0x25e),null),_0x271c55(this,_0x4f402b(0x290),null),_0x271c55(this,_0x4f402b(0x230),null),(this[_0x4f402b(0x1a4)]=_0x4ef778,this['_scene']=_0xeca3b8,this[_0x4f402b(0xcc)]=_0xc17b90,this[_0x4f402b(0x356)]=_0x19ed74,this['_render']());}set[_0x2a4ba5(0x394)](_0x3d542a){const _0x39d872=_0x2a4ba5;_0x3d542a?(this[_0x39d872(0x25e)]&&this[_0x39d872(0x25e)][_0x39d872(0x27d)](),this[_0x39d872(0x2ac)]&&this[_0x39d872(0x2ac)][_0x39d872(0x248)]()):(this[_0x39d872(0x25e)]&&this[_0x39d872(0x25e)][_0x39d872(0x248)](),this[_0x39d872(0x2ac)]&&this[_0x39d872(0x2ac)][_0x39d872(0x27d)]());}[_0x2a4ba5(0x14a)](){const _0x2e41fc=_0x2a4ba5;for(const _0xf852d1 of this[_0x2e41fc(0x270)])_0xf852d1[_0x2e41fc(0x14a)]();this['_textBubble']&&this[_0x2e41fc(0x2ac)][_0x2e41fc(0x14a)](),this[_0x2e41fc(0x25e)]&&this[_0x2e41fc(0x25e)][_0x2e41fc(0x14a)](),this[_0x2e41fc(0x3a0)]&&this[_0x2e41fc(0x3a0)][_0x2e41fc(0x14a)](),this[_0x2e41fc(0x230)]&&this['_eventUnsubscribe']();}[_0x2a4ba5(0x3a5)](){const _0x312e69=_0x2a4ba5;var _0xd47129;const {_docSkeleton:_0x4e4c8f,_document:_0x4fb696}=this,{color:_0x235d59,name:_0x27b47e,ranges:_0x316afc}=this[_0x312e69(0x1a4)],_0x345f78=_0x4fb696[_0x312e69(0x2c1)](),{docsLeft:_0x4e80a9,docsTop:_0x586d8d}=_0x345f78,_0x5af57c=new _0x42f0df[(_0x312e69(0x225))](_0x345f78,_0x4e4c8f);for(const {startOffset:_0xced92c,endOffset:_0x2afec5,rangeType:_0x37ed42,segmentId:_0x5730c2,segmentPage:_0xe7212e,collapsed:_0x12886d,isActive:_0x21de91}of _0x316afc){const _0x4acce3=_0x4e4c8f['findNodePositionByCharIndex'](_0xced92c,!0x0,_0x5730c2,_0xe7212e);let _0x588e43=_0x4e4c8f[_0x312e69(0x2a5)](_0x2afec5,!0x0,_0x5730c2,_0xe7212e);if(_0x588e43==null&&(_0x588e43=_0x4e4c8f['findNodePositionByCharIndex'](_0x2afec5-0x1,!0x1,_0x5730c2,_0xe7212e)),_0x21de91){const {contentBoxPointGroup:_0xf63ccc}=_0x5af57c[_0x312e69(0x278)](_0x588e43,_0x588e43);if(_0xf63ccc[_0x312e69(0x123)]===0x0)continue;this['_drawAnchor'](_0x235d59,_0xf63ccc,_0x4e80a9,_0x586d8d,_0x27b47e),this[_0x312e69(0x230)]=this[_0x312e69(0x1ab)]();}if(_0x4acce3&&_0x588e43){if(_0x37ed42===_0x717d91[_0x312e69(0x106)][_0x312e69(0x133)]){const _0x356bab=new _0x42f0df[(_0x312e69(0xae))](_0x345f78,_0x4e4c8f),{pointGroup:_0x30104c}=(_0xd47129=_0x356bab[_0x312e69(0x278)](_0x4acce3,_0x588e43))!=null?_0xd47129:{};if(_0x30104c==null||_0x30104c[_0x312e69(0x123)]===0x0)continue;this[_0x312e69(0x207)](_0x235d59,_0x30104c,_0x4e80a9,_0x586d8d);}else{if(!_0x12886d){const {borderBoxPointGroup:_0x1794fd}=_0x5af57c['getRangePointData'](_0x4acce3,_0x588e43);if(_0x1794fd[_0x312e69(0x123)]===0x0)continue;this[_0x312e69(0x1d2)](_0x235d59,_0x1794fd,_0x4e80a9,_0x586d8d);}}}}}[_0x2a4ba5(0x2b3)](_0x5e7a97,_0x2a9949,_0x3c1c17,_0x2d9805,_0x20e505){const _0x2bf995=_0x2a4ba5,_0x4f956b=this[_0x2bf995(0x2ce)](_0x2a9949),{left:_0x19a5fa,top:_0x6d653a,height:_0x2a8b1a}=_0x4f956b,_0x300e65=this[_0x2bf995(0x156)](),_0x3d9159=_0x1d2bb8/_0x300e65,_0x41b319=new _0x4a1571[(_0x2bf995(0x2d5))](_0x14bb73+_0x717d91['generateRandomId'](_0x22c5bc),{'left':_0x19a5fa+_0x3c1c17-_0x3d9159,'top':_0x6d653a+_0x2d9805,'height':_0x2a8b1a,'width':_0x1876de,'fill':_0x5e7a97||_0x4a1571[_0x2bf995(0x226)](_0x717d91['COLORS'][_0x2bf995(0x1cb)],0x0),'strokeWidth':_0x3d9159,'stroke':_0x403502,'evented':!0x0});this[_0x2bf995(0x3a0)]=_0x41b319,this[_0x2bf995(0x19b)][_0x2bf995(0x1f3)](_0x41b319,_0x42f0df['TEXT_RANGE_LAYER_INDEX']);const _0x5243f8=new _0x4a1571[(_0x2bf995(0x2d5))](_0x14bb73+_0x717d91[_0x2bf995(0x31c)](_0x22c5bc),{'left':_0x19a5fa+_0x3c1c17-_0x3d9159,'top':_0x6d653a+_0x2d9805-_0xd22ed3/0x2,'height':_0xd22ed3,'width':_0xd22ed3,'fill':_0x5e7a97||_0x4a1571[_0x2bf995(0x226)](_0x717d91[_0x2bf995(0x20d)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x5e7a97||_0x4a1571[_0x2bf995(0x226)](_0x717d91[_0x2bf995(0x20d)]['black'],0x0),'evented':!0x1});this[_0x2bf995(0x25e)]=_0x5243f8,this[_0x2bf995(0x19b)][_0x2bf995(0x1f3)](_0x5243f8,_0x42f0df[_0x2bf995(0x2b2)]);const _0x1d2937=new _0x264ac3(_0x14bb73+_0x717d91[_0x2bf995(0x31c)](_0x22c5bc),{'left':_0x19a5fa+_0x3c1c17-_0x3d9159,'top':_0x6d653a+_0x2d9805-_0x5b7079,'text':_0x20e505,'color':_0x5e7a97});this[_0x2bf995(0x2ac)]=_0x1d2937,this[_0x2bf995(0x19b)]['addObject'](_0x1d2937,_0x42f0df[_0x2bf995(0x2b2)]),this[_0x2bf995(0x394)]=!0x1;}[_0x2a4ba5(0x1ab)](){const _0x2c0577=_0x2a4ba5,_0x53b06e=this[_0x2c0577(0x3a0)][_0x2c0577(0x196)][_0x2c0577(0x12b)](()=>{const _0x597063=_0x2c0577;this[_0x597063(0x394)]=!0x0;}),_0x5851f1=this['_anchor'][_0x2c0577(0xe0)][_0x2c0577(0x12b)](()=>{const _0x51a945=_0x2c0577;this[_0x51a945(0x290)]&&clearTimeout(this[_0x51a945(0x290)]),this[_0x51a945(0x290)]=setTimeout(()=>{const _0x309e03=_0x51a945;this[_0x309e03(0x394)]=!0x1;},0x7d0);});return()=>{const _0x48af88=_0x2c0577;_0x53b06e[_0x48af88(0x2e7)](),_0x5851f1['unsubscribe']();};}[_0x2a4ba5(0x1d2)](_0x4fc454,_0x3744ce,_0x41c6a2,_0x486888){const _0x287211=_0x2a4ba5,_0x42219f=new _0x717d91[(_0x287211(0x336))](_0x4fc454)[_0x287211(0x193)](0.2)[_0x287211(0x297)](),_0x1d9f1a=new _0x4a1571[(_0x287211(0x218))](_0x304e63+_0x717d91['generateRandomId'](_0x22c5bc),{'pointsGroup':_0x3744ce,'fill':_0x42219f||_0x4a1571[_0x287211(0x226)](_0x717d91['COLORS'][_0x287211(0x1cb)],0.2),'left':_0x41c6a2,'top':_0x486888,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x287211(0x270)][_0x287211(0x2db)](_0x1d9f1a),this['_scene']['addObject'](_0x1d9f1a,_0x42f0df['TEXT_RANGE_LAYER_INDEX']);}[_0x2a4ba5(0x207)](_0x484ada,_0x2a343d,_0x1616e5,_0x3fb385){const _0x517f11=_0x2a4ba5,_0x4fbbdc=new _0x717d91['ColorKit'](_0x484ada)[_0x517f11(0x193)](0.2)[_0x517f11(0x297)](),_0x3c448a=new _0x4a1571['RegularPolygon'](_0x491eb3+_0x717d91[_0x517f11(0x31c)](_0x22c5bc),{'pointsGroup':_0x2a343d,'fill':_0x4fbbdc||_0x4a1571[_0x517f11(0x226)](_0x717d91[_0x517f11(0x20d)]['black'],0.2),'left':_0x1616e5,'top':_0x3fb385,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x517f11(0x270)][_0x517f11(0x2db)](_0x3c448a),this[_0x517f11(0x19b)][_0x517f11(0x1f3)](_0x3c448a,_0x42f0df['TEXT_RANGE_LAYER_INDEX']);}[_0x2a4ba5(0x2ce)](_0x3f70a3){const _0x1e79e8=_0x3f70a3[0x0],_0x24d6a1=_0x1e79e8[0x0],_0x157a71=_0x1e79e8[0x2],{x:_0x43542e,y:_0x26bae6}=_0x24d6a1,{x:_0x44b8b3,y:_0x3d3ae3}=_0x157a71;return{'left':_0x43542e,'top':_0x26bae6,'width':_0x44b8b3-_0x43542e,'height':_0x3d3ae3-_0x26bae6};}[_0x2a4ba5(0x156)](){const _0x214212=_0x2a4ba5,{scaleX:_0x56b23c,scaleY:_0x11849a}=this['_scene'][_0x214212(0x264)]();return Math[_0x214212(0x22e)](_0x56b23c,_0x11849a);}}var _0x17eaf6=Object[_0x2a4ba5(0x147)],_0x301dfa=(_0x13407a,_0x54d5a1,_0x3611bc,_0x4b1343)=>{const _0x2ea83e=_0x2a4ba5;for(var _0x516139=_0x4b1343>0x1?void 0x0:_0x4b1343?_0x17eaf6(_0x54d5a1,_0x3611bc):_0x54d5a1,_0x1673d7=_0x13407a[_0x2ea83e(0x123)]-0x1,_0x4a6c29;_0x1673d7>=0x0;_0x1673d7--)(_0x4a6c29=_0x13407a[_0x1673d7])&&(_0x516139=_0x4a6c29(_0x516139)||_0x516139);return _0x516139;},_0x125baa=(_0x514368,_0x390f25)=>(_0xc3cdf5,_0x1a7860)=>_0x390f25(_0xc3cdf5,_0x1a7860,_0x514368);let _0x564a2a=class extends _0x717d91[_0x2a4ba5(0x1f4)]{constructor(_0xb76815,_0x5d6de9,_0x27e99c,_0x3fbaab,_0x2d69aa){const _0x16a002=_0x2a4ba5;super(),_0x271c55(this,_0x16a002(0x2d4),[]),_0x271c55(this,_0x16a002(0x185),[]),(this[_0x16a002(0x3a1)]=_0xb76815,this[_0x16a002(0x24d)]=_0x5d6de9,this[_0x16a002(0x154)]=_0x27e99c,this['_commandService']=_0x3fbaab,this[_0x16a002(0x153)]=_0x2d69aa,this[_0x16a002(0xd5)]());}[_0x2a4ba5(0xd5)](){const _0x1eb2b0=_0x2a4ba5,_0xbf8067=this[_0x1eb2b0(0x3a1)][_0x1eb2b0(0x1df)],_0x478ea9=this['_docSkeletonManagerService'];this[_0x1eb2b0(0x1d4)](_0x170cda['combineLatest']([this[_0x1eb2b0(0x154)][_0x1eb2b0(0xf1)](_0xbf8067),this[_0x1eb2b0(0x153)][_0x1eb2b0(0xe6)]])['pipe'](_0x5954f8[_0x1eb2b0(0x180)](([_0x3666dd,_0x18137d])=>({'skeleton':_0x478ea9[_0x1eb2b0(0x330)](),'cursors':[..._0x3666dd[_0x1eb2b0(0x314)]()][_0x1eb2b0(0x2a0)](_0x2bfe8a=>({..._0x2bfe8a,'color':this[_0x1eb2b0(0x153)]['getColorFromTheme'](_0x2bfe8a['color'])}))})))[_0x1eb2b0(0xbf)](_0x2461c3=>{const _0x42d17d=_0x1eb2b0;if(this[_0x42d17d(0x13c)](),_0x2461c3){const {skeleton:_0x20788f,cursors:_0x4ea1f}=_0x2461c3;this[_0x42d17d(0x357)](_0x20788f,_0x4ea1f);}})),this['_initResize'](),this[_0x1eb2b0(0xf8)]();}[_0x2a4ba5(0x357)](_0x296084,_0x2da0c0){const _0x320964=_0x2a4ba5,{scene:_0x584859,mainComponent:_0x42d6cc}=this[_0x320964(0x3a1)],_0x1a4166=_0x2da0c0[_0x320964(0x180)](_0x307461=>new _0x328b55(_0x307461,_0x584859,_0x296084,_0x42d6cc));this[_0x320964(0x2d4)]=_0x1a4166,this[_0x320964(0x185)]=_0x2da0c0;}[_0x2a4ba5(0x337)](){const _0x5989f3=_0x2a4ba5;this[_0x5989f3(0x13c)]();const {scene:_0x9991f4,mainComponent:_0x990478}=this['_context'],_0x5c3938=this[_0x5989f3(0x24d)][_0x5989f3(0x330)](),_0x14399a=this['_cursors'][_0x5989f3(0x180)](_0x430f14=>new _0x328b55(_0x430f14,_0x9991f4,_0x5c3938,_0x990478));this[_0x5989f3(0x2d4)]=_0x14399a;}[_0x2a4ba5(0x13c)](){const _0x1320db=_0x2a4ba5;this[_0x1320db(0x2d4)][_0x1320db(0xc4)](_0x23bef6=>_0x23bef6[_0x1320db(0x14a)]()),this[_0x1320db(0x2d4)]=[];}['_initCommandExecutedListener'](){const _0x221924=_0x2a4ba5,_0x7a56a9=[_0x42f0df[_0x221924(0xa6)]['id']];this[_0x221924(0x1d4)](this['_commandService']['onCommandExecuted'](_0x405d28=>{const _0x34b802=_0x221924;_0x7a56a9['includes'](_0x405d28['id'])&&_0x405d28[_0x34b802(0x2af)][_0x34b802(0x1df)]===this[_0x34b802(0x3a1)][_0x34b802(0x1df)]&&this[_0x34b802(0x337)]();}));}[_0x2a4ba5(0x2e3)](){const _0xa9c853=_0x2a4ba5;this['disposeWithMe'](_0x717d91[_0xa9c853(0x39f)](this[_0xa9c853(0x3a1)][_0xa9c853(0x28d)]['onTransformChange$'])[_0xa9c853(0xda)](_0x5954f8[_0xa9c853(0x1dd)](_0x79ef=>_0x79ef[_0xa9c853(0x13b)]===_0x4a1571[_0xa9c853(0x222)]['resize']),_0x5954f8['throttleTime'](0x10))[_0xa9c853(0xbf)](()=>{const _0x4181e4=_0xa9c853;this[_0x4181e4(0x337)]();}));}};_0x564a2a=_0x301dfa([_0x125baa(0x1,_0x717d91[_0x2a4ba5(0x37b)](_0x59e61e[_0x2a4ba5(0x11f)])),_0x125baa(0x2,_0x717d91[_0x2a4ba5(0x37b)](_0xfbad1b)),_0x125baa(0x3,_0x717d91[_0x2a4ba5(0x329)]),_0x125baa(0x4,_0x717d91[_0x2a4ba5(0x37b)](_0x717d91[_0x2a4ba5(0xb8)]))],_0x564a2a);const _0x5210be=0x1,_0xdceebe=1.5;class _0x1a2356 extends _0x4a1571[_0x2a4ba5(0x2e0)]{constructor(_0x50c11e,_0x472310){const _0x12e40b=_0x2a4ba5;super(_0x50c11e,_0x472310),_0x271c55(this,'_color'),_0x271c55(this,_0x12e40b(0x2da),!0x1),_0x271c55(this,_0x12e40b(0x2a8)),_0x271c55(this,_0x12e40b(0x16c),''),_0x271c55(this,'_labelPosition',_0x12e40b(0x286)),_0x271c55(this,'_backgroundColor'),(_0x472310&&this[_0x12e40b(0x236)](_0x472310),this[_0x12e40b(0x196)][_0x12e40b(0x12b)](()=>this[_0x12e40b(0x236)]({'hovered':!0x0})),this[_0x12e40b(0xe0)][_0x12e40b(0x12b)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x2a4ba5(0x236)](_0x1bf719){const _0x2d727e=_0x2a4ba5;var _0x5e9d48,_0xfc3016,_0x58c7db,_0x54c847,_0x414411,_0xd816f8;this[_0x2d727e(0x310)]=(_0x5e9d48=_0x1bf719[_0x2d727e(0x33b)])!=null?_0x5e9d48:this[_0x2d727e(0x310)],this[_0x2d727e(0x2da)]=(_0xfc3016=_0x1bf719[_0x2d727e(0x26d)])!=null?_0xfc3016:this[_0x2d727e(0x2da)],this['_range']=(_0x58c7db=_0x1bf719[_0x2d727e(0x10d)])!=null?_0x58c7db:this[_0x2d727e(0x2a8)],this[_0x2d727e(0x16c)]=(_0x54c847=_0x1bf719[_0x2d727e(0x35e)])!=null?_0x54c847:this[_0x2d727e(0x16c)],this[_0x2d727e(0x13d)]=(_0x414411=_0x1bf719[_0x2d727e(0xea)])!=null?_0x414411:this[_0x2d727e(0x13d)],this[_0x2d727e(0x318)]=(_0xd816f8=_0x1bf719[_0x2d727e(0x1bf)])!=null?_0xd816f8:this[_0x2d727e(0x318)],this[_0x2d727e(0x2a7)]({'width':_0x1bf719[_0x2d727e(0x383)],'height':_0x1bf719[_0x2d727e(0x204)]});}['onMouseMove'](_0x52efc0){const _0x3e0aab=_0x2a4ba5,{row:_0x2dbb32,column:_0x1fab51}=_0x52efc0;if(_0x2dbb32>=this[_0x3e0aab(0x2a8)][_0x3e0aab(0x27e)]&&_0x2dbb32<=this[_0x3e0aab(0x2a8)][_0x3e0aab(0x1af)]&&_0x1fab51>=this['_range'][_0x3e0aab(0x117)]&&_0x1fab51<=this[_0x3e0aab(0x2a8)]['endColumn']){this[_0x3e0aab(0x236)]({'hovered':!0x0});return;}this[_0x3e0aab(0x236)]({'hovered':!0x1});}[_0x2a4ba5(0x395)](_0x4a29a7){return!0x1;}[_0x2a4ba5(0x16a)](_0x50ffd2){const _0x2c3e84=_0x2a4ba5;_0x4a1571[_0x2c3e84(0x2d5)][_0x2c3e84(0x170)](_0x50ffd2,{'width':this[_0x2c3e84(0x383)],'height':this[_0x2c3e84(0x204)],'strokeWidth':_0xdceebe,'stroke':this[_0x2c3e84(0x310)],'evented':!0x1,'fill':this[_0x2c3e84(0x318)]}),this['_hovered']&&(_0x50ffd2[_0x2c3e84(0x20f)](),_0x50ffd2[_0x2c3e84(0x2ae)](0x1,0x0,0x0,0x1,this[_0x2c3e84(0x383)],this[_0x2c3e84(0x13d)]===_0x2c3e84(0x179)?0x0:-_0x5b7079),_0x264ac3['drawWith'](_0x50ffd2,{'text':this['_name'],'color':this[_0x2c3e84(0x310)]}),_0x50ffd2['restore']());}}var _0x5ea7f8=Object[_0x2a4ba5(0x147)],_0x38097b=(_0x25cc46,_0x5c7e0c,_0xdab151,_0x315681)=>{const _0x203e29=_0x2a4ba5;for(var _0x32cc31=_0x315681>0x1?void 0x0:_0x315681?_0x5ea7f8(_0x5c7e0c,_0xdab151):_0x5c7e0c,_0x41572f=_0x25cc46[_0x203e29(0x123)]-0x1,_0x1ed003;_0x41572f>=0x0;_0x41572f--)(_0x1ed003=_0x25cc46[_0x41572f])&&(_0x32cc31=_0x1ed003(_0x32cc31)||_0x32cc31);return _0x32cc31;},_0x409113=(_0xc1d286,_0x8fa607)=>(_0xeec2bc,_0x41834f)=>_0x8fa607(_0xeec2bc,_0x41834f,_0xc1d286);const _0x1ba6ee=0x1389;let _0x35d8f7=class extends _0x717d91[_0x2a4ba5(0x1f4)]{constructor(_0x29b9ca,_0x1e2899,_0x696142,_0x36d8eb){const _0x159162=_0x2a4ba5;super(),_0x271c55(this,_0x159162(0x185),new Set()),_0x271c55(this,_0x159162(0x259),null),(this[_0x159162(0x3a1)]=_0x29b9ca,this['_sheetSkeletonManagerService']=_0x1e2899,this['_collabCursorController']=_0x696142,this[_0x159162(0x153)]=_0x36d8eb,this[_0x159162(0xd5)]());}[_0x2a4ba5(0xd5)](){const _0x5d1efc=_0x2a4ba5;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x5d1efc(0xda)](_0x5954f8[_0x5d1efc(0x2b0)](this[_0x5d1efc(0x2c4)]),_0x5954f8['switchMap'](_0x2ac1a2=>{const _0x40fad6=_0x5d1efc;if(_0x2ac1a2){const _0x56f58d=_0x2ac1a2[_0x40fad6(0x262)];return _0x170cda[_0x40fad6(0x253)](this['_collabCursorController'][_0x40fad6(0xf1)](this[_0x40fad6(0x3a1)][_0x40fad6(0x1df)]),this[_0x40fad6(0x153)][_0x40fad6(0xe6)])['pipe'](_0x5954f8[_0x40fad6(0x180)](([_0x53ac8d,_0x5ca587])=>{const _0x25a8c8=_0x40fad6,_0x410c68=new Map();return _0x53ac8d[_0x25a8c8(0xc4)]((_0x251ecc,_0x5ab9c8)=>{const _0x3713c6=_0x25a8c8;if(_0x251ecc[_0x3713c6(0x327)]===_0x56f58d){const _0x3e3599={..._0x251ecc};_0x3e3599[_0x3713c6(0x33b)]=this[_0x3713c6(0x153)][_0x3713c6(0x260)](_0x251ecc[_0x3713c6(0x33b)]),_0x410c68[_0x3713c6(0x30e)](_0x5ab9c8,_0x3e3599);}}),{'skeleton':_0x2ac1a2,'cursors':_0x410c68};}));}return _0x170cda['of']({'skeleton':null,'cursors':new Map()});}))[_0x5d1efc(0xbf)](({skeleton:_0x42a13c,cursors:_0x64a4fa})=>{const _0x8fcfbd=_0x5d1efc;this[_0x8fcfbd(0x13c)](),_0x42a13c&&this[_0x8fcfbd(0x357)](_0x42a13c,_0x64a4fa);}),this[_0x5d1efc(0xa8)][_0x5d1efc(0xe4)][_0x5d1efc(0xbf)](_0xb7e9aa=>{const _0x95559f=_0x5d1efc;if(_0xb7e9aa==null)return;const {skeleton:_0xff705a}=_0xb7e9aa,{scene:_0x4e2f9d}=this[_0x95559f(0x3a1)];_0x4e2f9d[_0x95559f(0x36a)][_0x95559f(0x12b)](_0x717d91[_0x95559f(0x32e)](_0xf7cced=>{const _0x546e33=_0x95559f;var _0x82a71f,_0x4407f5;const {offsetX:_0x263c61,offsetY:_0x41b193}=_0xf7cced,{x:_0x1892b7,y:_0x5bca2e}=_0x4e2f9d[_0x546e33(0x324)](_0x4a1571[_0x546e33(0x373)][_0x546e33(0x1b8)]([_0x263c61,_0x41b193])),{scaleX:_0x22ca6c,scaleY:_0x2fe1e0}=_0x4e2f9d[_0x546e33(0x264)](),_0x162d29=_0x4e2f9d[_0x546e33(0x206)](_0x4a1571[_0x546e33(0x165)]['VIEW_MAIN']),_0x20448b=_0x4e2f9d[_0x546e33(0x280)](_0x4a1571['Vector2'][_0x546e33(0x1b8)]([_0x1892b7,_0x5bca2e]),_0x162d29),_0x3b1313=_0xff705a[_0x546e33(0x112)](_0x263c61,_0x41b193,_0x22ca6c,_0x2fe1e0,_0x20448b);((_0x82a71f=this['_lastPointer'])==null?void 0x0:_0x82a71f[_0x546e33(0x168)])===_0x3b1313[_0x546e33(0x168)]&&((_0x4407f5=this[_0x546e33(0x259)])==null?void 0x0:_0x4407f5['row'])===_0x3b1313[_0x546e33(0xdd)]||this[_0x546e33(0x185)][_0x546e33(0xc4)](_0xc684a0=>{const _0x4e6f4e=_0x546e33;_0xc684a0[_0x4e6f4e(0x323)](_0x3b1313);});},0x64));});}[_0x2a4ba5(0x357)](_0x2e1471,_0x173c19){const _0x19af78=_0x2a4ba5;var _0x5e579d;const _0x11114c=(_0x5e579d=this['_sheetSkeletonManagerService'][_0x19af78(0x288)]())==null?void 0x0:_0x5e579d['skeleton'];if(!_0x11114c)return;const _0x339c11=this['_getSheetObject']();if(!_0x339c11)return;this[_0x19af78(0x185)]['forEach'](_0x2b864c=>{_0x2b864c['makeDirty']();});const {scene:_0xa8dcb2}=_0x339c11,_0x53f470=_0x5218df(Array[_0x19af78(0x15a)](_0x173c19[_0x19af78(0x314)]()))[_0x19af78(0x180)](_0x2e3296=>{const _0x47cf99=_0x19af78,{color:_0x55ca50,range:_0x1428e3,name:_0x26f3fd,selection:_0xfb3bbf,sheetID:_0x15e4b2}=_0x2e3296,{startColumn:_0x1f4ffa,startRow:_0x1ecdee,endColumn:_0x2a910a,endRow:_0x23c265}=_0x1428e3,_0x565818=_0x627437[_0x47cf99(0x309)](_0x1ecdee,_0x1f4ffa,_0xa8dcb2,_0x11114c),_0xe17f26=_0x627437[_0x47cf99(0x309)](_0x23c265,_0x2a910a,_0xa8dcb2,_0x11114c),{columnHeaderHeightAndMarginTop:_0x5a8b75}=_0x11114c,{startX:_0x4f1a61,startY:_0x11dfec}=_0x565818,{endX:_0xf5c800,endY:_0x1bc672}=_0xe17f26,_0x3b44a1=_0xf5c800-_0x4f1a61,_0x315141=_0x1bc672-_0x11dfec,_0x26f88f={'labelPosition':_0x11dfec-_0x5a8b75>=_0x5b7079?_0x47cf99(0x286):'bottom','sheetID':_0x15e4b2,'range':_0x1428e3,'color':_0x55ca50,'name':_0x26f3fd,'selection':_0xfb3bbf,'left':_0x4f1a61,'top':_0x11dfec,'width':_0x3b44a1,'height':_0x315141,'evented':!0x1,'zIndex':_0x1ba6ee};return new _0x1a2356(_0x26f3fd,_0x26f88f);});_0xa8dcb2[_0x19af78(0x198)](_0x53f470,_0x5210be),this[_0x19af78(0x185)]=new Set(_0x53f470);}['_removeCollabCursors'](){var _0x452d55;(_0x452d55=this['_cursors'])==null||_0x452d55['forEach'](_0x1df3f2=>_0x1df3f2['dispose']());}[_0x2a4ba5(0x24e)](){const _0x8b5c29=_0x2a4ba5;return _0x627437[_0x8b5c29(0x223)](this[_0x8b5c29(0x3a1)][_0x8b5c29(0x16e)],this[_0x8b5c29(0x3a1)]);}};_0x35d8f7=_0x38097b([_0x409113(0x1,_0x717d91[_0x2a4ba5(0x37b)](_0x627437[_0x2a4ba5(0xcf)])),_0x409113(0x2,_0x717d91['Inject'](_0xfbad1b)),_0x409113(0x3,_0x717d91['Inject'](_0x717d91[_0x2a4ba5(0xb8)]))],_0x35d8f7);function _0x5218df(_0x3e142b){const _0x371fc4=_0x2a4ba5,_0x137d39=new Map();return _0x3e142b['forEach'](_0x1f5ee6=>{const _0x2f01c4=_0x20af;if(_0x137d39['has'](_0x1f5ee6[_0x2f01c4(0xe9)])){const _0x50c8b7=_0x137d39[_0x2f01c4(0x2aa)](_0x1f5ee6['selection']);_0x50c8b7[_0x2f01c4(0x35e)]+=',\x20'+_0x1f5ee6['name'];}else _0x137d39['set'](_0x1f5ee6['selection'],_0x1f5ee6);}),Array[_0x371fc4(0x15a)](_0x137d39['values']());}var _0x815fe4=Object[_0x2a4ba5(0x147)],_0x509bc3=(_0x9f0417,_0x200f03,_0x1690ed,_0x4768e9)=>{const _0x41915c=_0x2a4ba5;for(var _0x369b70=_0x4768e9>0x1?void 0x0:_0x4768e9?_0x815fe4(_0x200f03,_0x1690ed):_0x200f03,_0x2f4104=_0x9f0417[_0x41915c(0x123)]-0x1,_0x53e9ec;_0x2f4104>=0x0;_0x2f4104--)(_0x53e9ec=_0x9f0417[_0x2f4104])&&(_0x369b70=_0x53e9ec(_0x369b70)||_0x369b70);return _0x369b70;},_0x5e8ba3=(_0x1e51fc,_0x1a7ace)=>(_0x3b724c,_0x1043bc)=>_0x1a7ace(_0x3b724c,_0x1043bc,_0x1e51fc);let _0x1af25f=class extends _0x717d91[_0x2a4ba5(0x393)]{constructor(_0x18570c,_0x34092a,_0x4702dc,_0x3ca7ca,_0xdef69f,_0x21e524){const _0x5d9c36=_0x2a4ba5;super(),this[_0x5d9c36(0x384)]=_0x18570c,this['_localCacheService']=_0x34092a,this[_0x5d9c36(0xfd)]=_0x4702dc,this['_messageService']=_0x3ca7ca,this[_0x5d9c36(0x19a)]=_0xdef69f,this[_0x5d9c36(0x26b)]=_0x21e524,this['_setupBeforeClosingHandler'](),this[_0x5d9c36(0x338)]();}['_setupBeforeClosingHandler'](){const _0x2da86b=_0x2a4ba5;this[_0x2da86b(0x1d4)](this[_0x2da86b(0x384)][_0x2da86b(0x34b)](()=>{const _0x719511=_0x2da86b;if(this[_0x719511(0x292)]['saveTaskMap'][_0x719511(0x13e)])return this[_0x719511(0x26b)]['t'](_0x719511(0xc8));}));}[_0x2a4ba5(0x338)](){const _0x154b38=_0x2a4ba5;this[_0x154b38(0x1d4)](this[_0x154b38(0xfd)][_0x154b38(0x1de)][_0x154b38(0xbf)](_0x33072c=>{const _0x27a2ec=_0x154b38;_0x33072c['id']===_0x26bc40[_0x27a2ec(0x195)][_0x27a2ec(0x1ce)]&&this[_0x27a2ec(0x114)][_0x27a2ec(0x248)]({'type':_0x203981[_0x27a2ec(0xa7)][_0x27a2ec(0x385)],'content':this['_localeService']['t'](_0x27a2ec(0x1ca))}),_0x33072c['id']===_0x26bc40[_0x27a2ec(0x195)][_0x27a2ec(0x37c)]&&this[_0x27a2ec(0x114)][_0x27a2ec(0x248)]({'type':_0x203981['MessageType'][_0x27a2ec(0x385)],'content':this[_0x27a2ec(0x26b)]['t']('collaboration.closeRoom')}),_0x33072c['id']===_0x26bc40['CollaborationUIEventId'][_0x27a2ec(0x14d)]&&this['_notificationService'][_0x27a2ec(0x248)]({'title':this[_0x27a2ec(0x26b)]['t'](_0x27a2ec(0x2de)),'content':this[_0x27a2ec(0x26b)]['t'](_0x27a2ec(0x37e)),'type':_0x27a2ec(0x289),'duration':0x0}),_0x33072c['id']===_0x26bc40['CollaborationUIEventId'][_0x27a2ec(0x100)]&&this[_0x27a2ec(0x114)][_0x27a2ec(0x248)]({'type':_0x203981[_0x27a2ec(0xa7)][_0x27a2ec(0x135)],'content':this['_localeService']['t'](_0x27a2ec(0x268))+'('+_0x33072c['data']+')'}),_0x33072c['id']===_0x26bc40[_0x27a2ec(0x195)][_0x27a2ec(0x1da)]&&this[_0x27a2ec(0x114)][_0x27a2ec(0x248)]({'type':_0x203981[_0x27a2ec(0xa7)][_0x27a2ec(0x385)],'content':this[_0x27a2ec(0x26b)]['t'](_0x33072c[_0x27a2ec(0x244)]||'')}),_0x33072c['id']===_0x26bc40['CollaborationUIEventId']['SOCKET_FAILED_RETRY']&&this[_0x27a2ec(0x114)]['show']({'type':_0x203981[_0x27a2ec(0xa7)][_0x27a2ec(0x385)],'content':this['_localeService']['t']('session.will-retry')}),_0x33072c['id']===_0x26bc40[_0x27a2ec(0x195)][_0x27a2ec(0x1ea)]&&this[_0x27a2ec(0x114)][_0x27a2ec(0x248)]({'type':_0x203981[_0x27a2ec(0xa7)][_0x27a2ec(0x135)],'content':this[_0x27a2ec(0x26b)]['t'](_0x27a2ec(0xb9))}),_0x33072c['id']===_0x26bc40[_0x27a2ec(0x195)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x27a2ec(0x248)]({'type':_0x203981[_0x27a2ec(0xa7)][_0x27a2ec(0x135)],'content':this['_localeService']['t'](_0x27a2ec(0x30d))});}));}};_0x1af25f=_0x509bc3([_0x5e8ba3(0x0,_0x498b33[_0x2a4ba5(0xc3)]),_0x5e8ba3(0x1,_0x26bc40[_0x2a4ba5(0xbe)]),_0x5e8ba3(0x2,_0x717d91[_0x2a4ba5(0x37b)](_0x26bc40['CollaborationUIEventService'])),_0x5e8ba3(0x3,_0x498b33[_0x2a4ba5(0x119)]),_0x5e8ba3(0x4,_0x498b33[_0x2a4ba5(0x31a)]),_0x5e8ba3(0x5,_0x717d91[_0x2a4ba5(0x37b)](_0x717d91[_0x2a4ba5(0xef)]))],_0x1af25f);var _0x3869e4=Object[_0x2a4ba5(0x147)],_0x3fc7a7=(_0x255ad8,_0x3b5d90,_0x4d9212,_0x5da867)=>{const _0x46e053=_0x2a4ba5;for(var _0x5d95f3=_0x5da867>0x1?void 0x0:_0x5da867?_0x3869e4(_0x3b5d90,_0x4d9212):_0x3b5d90,_0x4b8855=_0x255ad8[_0x46e053(0x123)]-0x1,_0x1fe250;_0x4b8855>=0x0;_0x4b8855--)(_0x1fe250=_0x255ad8[_0x4b8855])&&(_0x5d95f3=_0x1fe250(_0x5d95f3)||_0x5d95f3);return _0x5d95f3;},_0x207521=(_0x212bd6,_0x11ceb4)=>(_0x165d8a,_0x45169a)=>_0x11ceb4(_0x165d8a,_0x45169a,_0x212bd6);let _0x5625b4=class extends _0x717d91['Disposable']{constructor(_0x2cf668,_0x5e68c6,_0x286db2,_0x550cb4){const _0x15ba65=_0x2a4ba5;super(),_0x271c55(this,_0x15ba65(0xc1)),(this[_0x15ba65(0x265)]=_0x2cf668,this[_0x15ba65(0x29a)]=_0x5e68c6,this[_0x15ba65(0x34a)]=_0x286db2,this['_collaborationSessionService']=_0x550cb4,this['_init']());}['_init'](){const _0x52f456=_0x2a4ba5;this[_0x52f456(0x326)](),this[_0x52f456(0x21f)](),this[_0x52f456(0x347)](),this[_0x52f456(0x1cd)]();}[_0x2a4ba5(0x1cd)](){const _0x1e52b6=_0x2a4ba5;this[_0x1e52b6(0x1d4)](this[_0x1e52b6(0x191)]['socket$'][_0x1e52b6(0xbf)](_0x4a44e7=>{this['_memberID']=_0x4a44e7==null?void 0x0:_0x4a44e7['memberID'];}));}[_0x2a4ba5(0x326)](){const _0x40af80=_0x2a4ba5,_0x40e50e=_0x38142f=>{const _0x1a30fe=_0x20af;var _0x28b29c;this[_0x1a30fe(0x1ac)](_0x1a30fe(0x289),'[Window\x20Error]:\x20'+_0x38142f[_0x1a30fe(0x201)]+_0x1a30fe(0x1e4)+_0x38142f[_0x1a30fe(0x256)]+':'+_0x38142f[_0x1a30fe(0xd2)]+':'+_0x38142f[_0x1a30fe(0x1c8)]+'\x0a'+(((_0x28b29c=_0x38142f[_0x1a30fe(0x289)])==null?void 0x0:_0x28b29c[_0x1a30fe(0x283)])||''));};window['addEventListener'](_0x40af80(0x289),_0x40e50e),this[_0x40af80(0x1d4)](()=>{const _0x2de513=_0x40af80;window['removeEventListener'](_0x2de513(0x289),_0x40e50e);});}[_0x2a4ba5(0x21f)](){const _0x5a0ef8=_0x2a4ba5,_0xe8e229=_0x3888e6=>{const _0x49744f=_0x20af;this[_0x49744f(0x1ac)](_0x49744f(0x289),_0x49744f(0x11b)+_0x3888e6['reason']);};window[_0x5a0ef8(0x24b)](_0x5a0ef8(0xf3),_0xe8e229),this[_0x5a0ef8(0x1d4)](()=>{const _0x9f65f7=_0x5a0ef8;window[_0x9f65f7(0x231)](_0x9f65f7(0xf3),_0xe8e229);});}['_monkeyPatchLogService'](){const _0x423991=_0x2a4ba5,_0xdfbbb3=this['_logService'][_0x423991(0x289)][_0x423991(0x15d)](this[_0x423991(0x34a)]);this[_0x423991(0x34a)]['error']=(..._0x821964)=>{const _0x32a008=_0x423991,_0x43cd6f=_0x821964['map'](_0x2c7347=>_0x2c7347 instanceof Error?_0x2c7347[_0x32a008(0x201)]+'\x0a'+_0x2c7347[_0x32a008(0x283)]:String(_0x2c7347))[_0x32a008(0x111)]('\x20');this['_uploadLog'](_0x32a008(0x289),_0x32a008(0x1ed)+_0x43cd6f),_0xdfbbb3(..._0x821964);},this[_0x423991(0x1d4)](()=>{const _0x5f83d3=_0x423991;this[_0x5f83d3(0x34a)][_0x5f83d3(0x289)]=_0xdfbbb3;});}[_0x2a4ba5(0x1ac)](_0x4f15ea,_0x59a992){const _0x47386e=_0x2a4ba5;try{const _0x504337={'userId':this[_0x47386e(0xc1)],'logLabel':_0x4f15ea,'content':_0x59a992};this[_0x47386e(0x29a)][_0x47386e(0xbb)](_0x47386e(0x159),{'body':_0x504337})[_0x47386e(0x35f)](()=>{});}catch{}}};_0x5625b4=_0x3fc7a7([_0x207521(0x0,_0x717d91['Inject'](_0x717d91[_0x2a4ba5(0x32d)])),_0x207521(0x1,_0x717d91[_0x2a4ba5(0x37b)](_0x429433[_0x2a4ba5(0x186)])),_0x207521(0x2,_0x717d91[_0x2a4ba5(0x299)]),_0x207521(0x3,_0x717d91[_0x2a4ba5(0x37b)](_0x26bc40[_0x2a4ba5(0x2a1)]))],_0x5625b4);const _0x5b3c14=_0x2a4ba5(0x39d),_0x38a58d={};var _0x40633f=Object[_0x2a4ba5(0x147)],_0x207361=(_0x4e77d7,_0x8e28e3,_0x2c65c6,_0x177900)=>{const _0x122fae=_0x2a4ba5;for(var _0x4d4457=_0x177900>0x1?void 0x0:_0x177900?_0x40633f(_0x8e28e3,_0x2c65c6):_0x8e28e3,_0x127c5d=_0x4e77d7[_0x122fae(0x123)]-0x1,_0x24e11f;_0x127c5d>=0x0;_0x127c5d--)(_0x24e11f=_0x4e77d7[_0x127c5d])&&(_0x4d4457=_0x24e11f(_0x4d4457)||_0x4d4457);return _0x4d4457;},_0x92353e=(_0x40cea9,_0x27adbb)=>(_0x1671c6,_0x2fa476)=>_0x27adbb(_0x1671c6,_0x2fa476,_0x40cea9);let _0x2ce0f2=class{constructor(_0x35a6c3,_0x30cbfe){const _0x36ce59=_0x2a4ba5;this[_0x36ce59(0x242)]=_0x35a6c3,this[_0x36ce59(0x17e)]=_0x30cbfe;}[_0x2a4ba5(0x359)](_0x5ec6ad){const _0x413cf8=_0x2a4ba5;this['_transformUndoRedoStack'](_0x5ec6ad),this[_0x413cf8(0x15f)](_0x5ec6ad);}[_0x2a4ba5(0x203)](_0x12adad){const _0x1ead66=_0x2a4ba5,{unitID:_0x1a44e6}=_0x12adad,_0x2017b5=this[_0x1ead66(0x17e)][_0x1ead66(0x363)](_0x1a44e6)['with'](_0x42f0df['DocIMEInputManagerService']),{redoCache:_0x2b5193}=_0x2017b5[_0x1ead66(0x21c)]();if(_0x2b5193[_0x1ead66(0x123)]===0x0)return _0x12adad;let _0x44972a=_0x717d91[_0x1ead66(0x234)][_0x1ead66(0x23e)](_0x12adad[_0x1ead66(0x16d)][0x0]);for(let _0x47e316=0x0;_0x47e316<_0x2b5193[_0x1ead66(0x123)];_0x47e316++){const _0x5ec810={'id':'doc.mutation.rich-text-editing','params':{..._0x2b5193[_0x47e316]}},_0x25aaa8=this[_0x1ead66(0x242)][_0x1ead66(0x229)](_0x44972a,_0x5ec810,!0x1);if(_0xdf7641[_0x1ead66(0x39c)](_0x25aaa8))throw _0x25aaa8[_0x1ead66(0x289)];_0x44972a=_0x25aaa8[_0x1ead66(0x3a2)];}return{..._0x717d91[_0x1ead66(0x234)]['deepClone'](_0x12adad),'mutations':[_0x44972a]};}['_transformUndoRedoStack'](_0x106717){const _0x5c4374=_0x2a4ba5,{unitID:_0xf44954}=_0x106717,_0x559b98=this[_0x5c4374(0x17e)][_0x5c4374(0x363)](_0xf44954)[_0x5c4374(0x172)](_0x42f0df[_0x5c4374(0x228)]),{undoCache:_0x39ac85,redoCache:_0x23e034}=_0x559b98[_0x5c4374(0x21c)]();if(_0x39ac85[_0x5c4374(0x123)]===0x0||_0x23e034[_0x5c4374(0x123)]===0x0)return;const _0x599fcf=[],_0x298614=[];let _0x5a40d1=_0x717d91['Tools']['deepClone'](_0x106717[_0x5c4374(0x16d)][0x0]),_0x2a9550=_0x717d91['Tools']['deepClone'](_0x106717[_0x5c4374(0x16d)][0x0]);for(let _0x21d812=_0x39ac85['length']-0x1;_0x21d812>=0x0;_0x21d812--){const _0x2113b6={'id':_0x5c4374(0x269),'params':{..._0x39ac85[_0x21d812]}},_0x21eb52={'id':_0x5c4374(0x269),'params':{..._0x23e034[_0x21d812]}},_0x2a72b1=this[_0x5c4374(0x242)][_0x5c4374(0x229)](_0x5a40d1,_0x2113b6,!0x1),_0x552698=this['_transformService'][_0x5c4374(0x229)](_0x2a9550,_0x21eb52,!0x1);if(_0xdf7641[_0x5c4374(0x39c)](_0x2a72b1))throw _0x2a72b1[_0x5c4374(0x289)];if(_0xdf7641['isTransformMutationFailure'](_0x552698))throw _0x552698[_0x5c4374(0x289)];_0x599fcf['unshift'](_0x2a72b1[_0x5c4374(0x388)]['params']),_0x298614[_0x5c4374(0x110)](_0x552698['m2Prime']['params']),_0x5a40d1=_0x2a72b1[_0x5c4374(0x3a2)],_0x2a9550=_0x552698['m1Prime'];}_0x559b98[_0x5c4374(0x2f1)]({'undoCache':_0x599fcf,'redoCache':_0x298614});}[_0x2a4ba5(0x15f)](_0x431152){const _0x205a1f=_0x2a4ba5,{unitID:_0x1e1f50}=_0x431152,_0x48986=this[_0x205a1f(0x17e)][_0x205a1f(0x363)](_0x1e1f50)[_0x205a1f(0x172)](_0x42f0df[_0x205a1f(0x228)]),_0x537a5f=_0x48986[_0x205a1f(0x118)]();if(_0x537a5f==null)return;const _0x5e36a8=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x431152[_0x205a1f(0x1e6)],'actions':null,'textRanges':[_0x537a5f]}}],_0xe5fa91=this[_0x205a1f(0x242)][_0x205a1f(0x304)](_0x431152,_0x5e36a8);if(!_0xdf7641[_0x205a1f(0x13f)](_0xe5fa91))throw _0xe5fa91[_0x205a1f(0x289)];const _0x1c5bc0=_0xe5fa91['m2Prime'][0x0][_0x205a1f(0x2af)][_0x205a1f(0x240)];Array[_0x205a1f(0x217)](_0x1c5bc0)&&_0x1c5bc0['length']&&_0x48986[_0x205a1f(0xcb)](_0x1c5bc0[0x0]);}};_0x2ce0f2=_0x207361([_0x92353e(0x0,_0xdf7641[_0x2a4ba5(0x34f)]),_0x92353e(0x1,_0x4a1571[_0x2a4ba5(0x1e3)])],_0x2ce0f2);var _0x3a3c4f=Object[_0x2a4ba5(0x147)],_0x199cad=(_0x48453b,_0x495de7,_0x500b5c,_0x46549d)=>{const _0x5a2e82=_0x2a4ba5;for(var _0x47ee7e=_0x46549d>0x1?void 0x0:_0x46549d?_0x3a3c4f(_0x495de7,_0x500b5c):_0x495de7,_0x62e6b3=_0x48453b[_0x5a2e82(0x123)]-0x1,_0x1efbef;_0x62e6b3>=0x0;_0x62e6b3--)(_0x1efbef=_0x48453b[_0x62e6b3])&&(_0x47ee7e=_0x1efbef(_0x47ee7e)||_0x47ee7e);return _0x47ee7e;},_0x97530c=(_0x443283,_0x446cbd)=>(_0x30930b,_0x3cfd47)=>_0x446cbd(_0x30930b,_0x3cfd47,_0x443283);let _0xd02882=class{constructor(_0x730125,_0x5845bb,_0x309095){const _0x47fcbe=_0x2a4ba5;this['_injector']=_0x730125,this[_0x47fcbe(0x242)]=_0x5845bb,this['_docStateChangeManagerService']=_0x309095;}[_0x2a4ba5(0x122)](_0x242af8){const _0xdf72d8=_0x2a4ba5;this[_0xdf72d8(0x263)](_0x242af8);}[_0x2a4ba5(0x203)](_0x282e59){const _0x2b1ff5=_0x2a4ba5,{unitID:_0x37abcb}=_0x282e59,{collaboration:_0x6f662b}=this[_0x2b1ff5(0x35c)][_0x2b1ff5(0x2a9)](_0x37abcb);if(_0x6f662b[_0x2b1ff5(0x123)]===0x0)return _0x282e59;let _0x52b089=_0x717d91[_0x2b1ff5(0x234)][_0x2b1ff5(0x23e)](_0x282e59[_0x2b1ff5(0x16d)][0x0]);for(let _0x4fc1be=0x0;_0x4fc1be<_0x6f662b[_0x2b1ff5(0x123)];_0x4fc1be++){const _0x383af0={'id':_0x2b1ff5(0x269),'params':{'unitId':_0x6f662b[_0x4fc1be][_0x2b1ff5(0x1df)],..._0x6f662b[_0x4fc1be][_0x2b1ff5(0x35b)]}},_0x1e54ba=this[_0x2b1ff5(0x242)][_0x2b1ff5(0x229)](_0x52b089,_0x383af0,!0x1);if(_0xdf7641[_0x2b1ff5(0x39c)](_0x1e54ba))throw _0x1e54ba['error'];_0x52b089=_0x1e54ba[_0x2b1ff5(0x3a2)];}return{..._0x717d91[_0x2b1ff5(0x234)][_0x2b1ff5(0x23e)](_0x282e59),'mutations':[_0x52b089]};}[_0x2a4ba5(0x263)](_0x2201e0){const _0x511c6e=_0x2a4ba5,{unitID:_0x534de6}=_0x2201e0,{history:_0xb08b21,collaboration:_0x58f26c}=this[_0x511c6e(0x35c)][_0x511c6e(0x2a9)](_0x534de6);if(_0xb08b21[_0x511c6e(0x123)]===0x0&&_0x58f26c[_0x511c6e(0x123)]===0x0)return;const _0x3f1486=[],_0x4c297c=[];let _0x1dd98c=_0x717d91[_0x511c6e(0x234)][_0x511c6e(0x23e)](_0x2201e0[_0x511c6e(0x16d)][0x0]),_0xc5c83d=_0x717d91[_0x511c6e(0x234)]['deepClone'](_0x2201e0[_0x511c6e(0x16d)][0x0]);for(let _0x11d7df=_0xb08b21[_0x511c6e(0x123)]-0x1;_0x11d7df>=0x0;_0x11d7df--){const _0x5c6d5b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xb08b21[_0x11d7df][_0x511c6e(0x1df)],..._0xb08b21[_0x11d7df][_0x511c6e(0x14b)]}},_0x5b5717={'id':_0x511c6e(0x269),'params':{'unitId':_0xb08b21[_0x11d7df][_0x511c6e(0x1df)],..._0xb08b21[_0x11d7df][_0x511c6e(0x35b)]}},_0x3753fc=this[_0x511c6e(0x242)]['transformMutation'](_0x1dd98c,_0x5c6d5b,!0x1),_0x798874=this['_transformService'][_0x511c6e(0x229)](_0xc5c83d,_0x5b5717,!0x1);if(_0xdf7641[_0x511c6e(0x39c)](_0x3753fc))throw _0x3753fc[_0x511c6e(0x289)];if(_0xdf7641[_0x511c6e(0x39c)](_0x798874))throw _0x798874['error'];_0x3f1486[_0x511c6e(0x110)]({..._0xb08b21[_0x11d7df],'undoState':_0x3753fc[_0x511c6e(0x388)][_0x511c6e(0x2af)],'redoState':_0x798874['m2Prime'][_0x511c6e(0x2af)]}),_0x1dd98c=_0x3753fc['m1Prime'],_0xc5c83d=_0x798874[_0x511c6e(0x3a2)];}_0x1dd98c=_0x717d91[_0x511c6e(0x234)]['deepClone'](_0x2201e0['mutations'][0x0]),_0xc5c83d=_0x717d91[_0x511c6e(0x234)][_0x511c6e(0x23e)](_0x2201e0[_0x511c6e(0x16d)][0x0]);for(let _0x312d0f=_0x58f26c['length']-0x1;_0x312d0f>=0x0;_0x312d0f--){const _0x7fc697={'id':_0x511c6e(0x269),'params':{'unitId':_0x58f26c[_0x312d0f][_0x511c6e(0x1df)],..._0x58f26c[_0x312d0f][_0x511c6e(0x14b)]}},_0xd40e51={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x58f26c[_0x312d0f]['unitId'],..._0x58f26c[_0x312d0f][_0x511c6e(0x35b)]}},_0x536091=this[_0x511c6e(0x242)][_0x511c6e(0x229)](_0x1dd98c,_0x7fc697,!0x1),_0x33ef2c=this[_0x511c6e(0x242)]['transformMutation'](_0xc5c83d,_0xd40e51,!0x1);if(_0xdf7641['isTransformMutationFailure'](_0x536091))throw _0x536091[_0x511c6e(0x289)];if(_0xdf7641['isTransformMutationFailure'](_0x33ef2c))throw _0x33ef2c[_0x511c6e(0x289)];_0x4c297c[_0x511c6e(0x110)]({..._0x58f26c[_0x312d0f],'undoState':_0x536091[_0x511c6e(0x388)][_0x511c6e(0x2af)],'redoState':_0x33ef2c['m2Prime']['params']}),_0x1dd98c=_0x536091[_0x511c6e(0x3a2)],_0xc5c83d=_0x33ef2c[_0x511c6e(0x3a2)];}this[_0x511c6e(0x35c)][_0x511c6e(0x32b)](_0x534de6,{'history':_0x3f1486,'collaboration':_0x4c297c});}};_0xd02882=_0x199cad([_0x97530c(0x0,_0x717d91[_0x2a4ba5(0x37b)](_0x717d91[_0x2a4ba5(0x32d)])),_0x97530c(0x1,_0xdf7641[_0x2a4ba5(0x34f)]),_0x97530c(0x2,_0x717d91['Inject'](_0x42f0df[_0x2a4ba5(0x24a)]))],_0xd02882);var _0x582167=Object[_0x2a4ba5(0x147)],_0x59a0bb=(_0x48e877,_0x1d40b0,_0x5161b6,_0x63af2)=>{for(var _0x5b96aa=_0x63af2>0x1?void 0x0:_0x63af2?_0x582167(_0x1d40b0,_0x5161b6):_0x1d40b0,_0x4c26af=_0x48e877['length']-0x1,_0x53cb39;_0x4c26af>=0x0;_0x4c26af--)(_0x53cb39=_0x48e877[_0x4c26af])&&(_0x5b96aa=_0x53cb39(_0x5b96aa)||_0x5b96aa);return _0x5b96aa;},_0x9a800d=(_0x2d5757,_0x29b367)=>(_0x4ca696,_0x4162f8)=>_0x29b367(_0x4ca696,_0x4162f8,_0x2d5757);let _0x32cc87=class{constructor(_0x19d268,_0x118260){const _0x314b5d=_0x2a4ba5;this[_0x314b5d(0x265)]=_0x19d268,this['_transformService']=_0x118260;}[_0x2a4ba5(0x155)](_0x428dfc){const _0x19e72a=_0x2a4ba5;var _0x21490c;const _0x5ce961=this['_injector']['get'](_0x59e61e[_0x19e72a(0x1fc)]),_0x24f4bc=(_0x21490c=_0x5ce961[_0x19e72a(0x1c2)]())!=null?_0x21490c:[];if(_0x24f4bc[_0x19e72a(0x123)]===0x0)return;const _0x3d5c74=_0x428dfc[_0x19e72a(0x1e6)],_0x575dc4=[{'id':_0x19e72a(0x269),'params':{'unitId':_0x3d5c74,'actions':null,'textRanges':_0x24f4bc}}],_0x4b3aa2=this['_transformService'][_0x19e72a(0x304)](_0x428dfc,_0x575dc4);if(!_0xdf7641[_0x19e72a(0x13f)](_0x4b3aa2))throw _0x4b3aa2[_0x19e72a(0x289)];const _0x2d8328=_0x4b3aa2['m2Prime'][0x0][_0x19e72a(0x2af)][_0x19e72a(0x240)];Array[_0x19e72a(0x217)](_0x2d8328)&&_0x2d8328[_0x19e72a(0x123)]&&_0x5ce961[_0x19e72a(0x18e)](_0x2d8328,{'unitId':_0x3d5c74,'subUnitId':_0x3d5c74},!0x1);}};_0x32cc87=_0x59a0bb([_0x9a800d(0x0,_0x717d91[_0x2a4ba5(0x37b)](_0x717d91[_0x2a4ba5(0x32d)])),_0x9a800d(0x1,_0xdf7641[_0x2a4ba5(0x34f)])],_0x32cc87);var _0x5616b1=Object[_0x2a4ba5(0x147)],_0x4092b2=(_0x1728eb,_0x3ec6f8,_0x553c9a,_0xdafe7)=>{for(var _0xb47ce=_0xdafe7>0x1?void 0x0:_0xdafe7?_0x5616b1(_0x3ec6f8,_0x553c9a):_0x3ec6f8,_0x258638=_0x1728eb['length']-0x1,_0x3f1507;_0x258638>=0x0;_0x258638--)(_0x3f1507=_0x1728eb[_0x258638])&&(_0xb47ce=_0x3f1507(_0xb47ce)||_0xb47ce);return _0xb47ce;},_0x17491c=(_0x3cc27d,_0x391f1d)=>(_0x5f463e,_0xfe7d94)=>_0x391f1d(_0x5f463e,_0xfe7d94,_0x3cc27d);let _0x2f987a=class extends _0x717d91[_0x2a4ba5(0x393)]{constructor(_0x420e8b,_0xa59597,_0x481595,_0xb2fe0d,_0x48273e,_0x4cc2ca,_0x34e8af,_0x4df721){const _0xec551=_0x2a4ba5;super(),_0x271c55(this,_0xec551(0x266),new _0x170cda[(_0xec551(0x2a4))](_0x26bc40[_0xec551(0x34d)][_0xec551(0x1a2)])),(this[_0xec551(0x35c)]=_0x420e8b,this[_0xec551(0x151)]=_0xa59597,this['_docTransformIMECacheService']=_0x481595,this[_0xec551(0x1ae)]=_0xb2fe0d,this[_0xec551(0x1a7)]=_0x48273e,this['_docSyncEditingCollabCursorService']=_0x4cc2ca,this[_0xec551(0x114)]=_0x34e8af,this[_0xec551(0x26b)]=_0x4df721,this['_initEntityListener']());}[_0x2a4ba5(0x31e)](){const _0x494356=_0x2a4ba5;this['disposeWithMe'](this[_0x494356(0x151)][_0x494356(0x2dc)]['subscribe'](_0x6c8a7=>{const _0x1ae479=_0x494356,_0x3e7a8b=this[_0x1ae479(0x35c)][_0x1ae479(0x10a)][_0x1ae479(0xbf)](_0x2bf79f=>{const _0xc114f6=_0x1ae479;if(_0x2bf79f==null)return;const {unitId:_0x3d8755,redoState:_0x3a0ad1,commandId:_0x35a7ee}=_0x2bf79f;if(_0x3d8755!==_0x6c8a7[_0xc114f6(0x1e6)])return;const _0x17884b={'id':_0x35a7ee,'type':_0x717d91[_0xc114f6(0x322)]['MUTATION'],'params':{'unitId':_0x3d8755,'actions':_0x3a0ad1[_0xc114f6(0x1ec)],'textRanges':null}};_0x6c8a7[_0xc114f6(0x183)](_0x17884b);});if(_0x6c8a7['disposeWithMe'](_0x3e7a8b),_0x6c8a7 instanceof _0x26bc40[_0x1ae479(0x164)]){const _0x56a878={'onTransformIME':_0x44c598=>this['_docTransformIMECacheService'][_0x1ae479(0x359)](_0x44c598),'onTransformState':_0x203169=>this[_0x1ae479(0x1ae)]['transformStateCache'](_0x203169),'onTransformSelections':_0x6f9f48=>this[_0x1ae479(0x1a7)][_0x1ae479(0x155)](_0x6f9f48),'onSyncEditingCollabCursor':_0x4c760f=>this[_0x1ae479(0x162)][_0x1ae479(0x284)](_0x4c760f),'onTransformRemoteChangesetByIMECache':_0x6838ba=>this[_0x1ae479(0x22f)][_0x1ae479(0x203)](_0x6838ba),'onTransformRemoteChangesetByStateCache':_0x51e808=>this[_0x1ae479(0x1ae)][_0x1ae479(0x203)](_0x51e808)};_0x6c8a7[_0x1ae479(0xd6)](_0x56a878);}}));}};_0x2f987a=_0x4092b2([_0x17491c(0x0,_0x717d91[_0x2a4ba5(0x37b)](_0x42f0df[_0x2a4ba5(0x24a)])),_0x17491c(0x1,_0x717d91[_0x2a4ba5(0x37b)](_0x26bc40[_0x2a4ba5(0x36b)])),_0x17491c(0x2,_0x717d91['Inject'](_0x2ce0f2)),_0x17491c(0x3,_0x717d91['Inject'](_0xd02882)),_0x17491c(0x4,_0x717d91[_0x2a4ba5(0x37b)](_0x32cc87)),_0x17491c(0x5,_0x717d91['Inject'](_0x531ef2)),_0x17491c(0x6,_0x498b33[_0x2a4ba5(0x119)]),_0x17491c(0x7,_0x717d91[_0x2a4ba5(0x37b)](_0x717d91[_0x2a4ba5(0xef)]))],_0x2f987a);var _0xdbd9a9=(_0x539583=>(_0x539583[_0x539583[_0x2a4ba5(0x149)]=0x0]=_0x2a4ba5(0x149),_0x539583[_0x539583['OK']=0x1]='OK',_0x539583[_0x539583[_0x2a4ba5(0x1fb)]=0x2]=_0x2a4ba5(0x1fb),_0x539583[_0x539583[_0x2a4ba5(0x14d)]=0x3]=_0x2a4ba5(0x14d),_0x539583[_0x539583[_0x2a4ba5(0xd3)]=0x4]=_0x2a4ba5(0xd3),_0x539583[_0x539583['UNAUTHENTICATED']=0x5]=_0x2a4ba5(0x15b),_0x539583[_0x539583['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x539583[_0x539583[_0x2a4ba5(0x146)]=0x7]='INVALID_ARGUMENT',_0x539583[_0x539583[_0x2a4ba5(0xe5)]=0x8]=_0x2a4ba5(0xe5),_0x539583[_0x539583['COMPLETION_FINISHED']=0x9]=_0x2a4ba5(0x12f),_0x539583[_0x539583[_0x2a4ba5(0x12e)]=0xa]=_0x2a4ba5(0x12e),_0x539583[_0x539583[_0x2a4ba5(0x160)]=0xb]=_0x2a4ba5(0x160),_0x539583[_0x539583[_0x2a4ba5(0x158)]=0xc]=_0x2a4ba5(0x158),_0x539583[_0x539583[_0x2a4ba5(0x1c4)]=0xd]=_0x2a4ba5(0x1c4),_0x539583[_0x539583[_0x2a4ba5(0x2ab)]=0xe]='EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x539583[_0x539583['AUTHORIZE_CODE_ILLEGAL']=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x539583[_0x539583[_0x2a4ba5(0x2ad)]=0x10]=_0x2a4ba5(0x2ad),_0x539583[_0x539583[_0x2a4ba5(0x1a5)]=0x64]=_0x2a4ba5(0x1a5),_0x539583[_0x539583[_0x2a4ba5(0x1ba)]=0x65]=_0x2a4ba5(0x1ba),_0x539583[_0x539583['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0x539583[_0x539583[_0x2a4ba5(0x173)]=0xca]=_0x2a4ba5(0x173),_0x539583[_0x539583['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x539583[_0x539583[_0x2a4ba5(0x30c)]=0x1771]=_0x2a4ba5(0x30c),_0x539583[_0x539583[_0x2a4ba5(0x194)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x539583[_0x539583['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x2a4ba5(0x2ff),_0x539583[_0x539583[_0x2a4ba5(0x279)]=0x1b59]=_0x2a4ba5(0x279),_0x539583[_0x539583[_0x2a4ba5(0x167)]=0x1b5a]=_0x2a4ba5(0x167),_0x539583[_0x539583[_0x2a4ba5(0x29f)]=0x1b5b]=_0x2a4ba5(0x29f),_0x539583[_0x539583[_0x2a4ba5(0x352)]=0x1b5c]=_0x2a4ba5(0x352),_0x539583[_0x539583[_0x2a4ba5(0x34c)]=0x1b5d]=_0x2a4ba5(0x34c),_0x539583[_0x539583[_0x2a4ba5(0x331)]=0x1f41]=_0x2a4ba5(0x331),_0x539583[_0x539583[_0x2a4ba5(0x2f2)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x539583[_0x539583[_0x2a4ba5(0x113)]=0x232a]=_0x2a4ba5(0x113),_0x539583[_0x539583['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2a4ba5(0x3a4),_0x539583[_0x539583['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x539583[_0x539583['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2a4ba5(0x389),_0x539583[_0x539583[_0x2a4ba5(0x11a)]=0x2711]=_0x2a4ba5(0x11a),_0x539583[_0x539583[_0x2a4ba5(0x2ca)]=0x2712]=_0x2a4ba5(0x2ca),_0x539583[_0x539583['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x2a4ba5(0xdb),_0x539583[_0x539583['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x2a4ba5(0x24f),_0x539583[_0x539583[_0x2a4ba5(0x17f)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x539583[_0x539583['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x2a4ba5(0xba),_0x539583[_0x539583[_0x2a4ba5(0x152)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x539583[_0x539583[_0x2a4ba5(0x241)]=0x271d]=_0x2a4ba5(0x241),_0x539583[_0x539583[_0x2a4ba5(0x2f5)]=0x271e]=_0x2a4ba5(0x2f5),_0x539583[_0x539583['YUUMI_AI_RUN_FAILED']=0x271f]=_0x2a4ba5(0x2cf),_0x539583[_0x539583[_0x2a4ba5(0xd4)]=0x2720]=_0x2a4ba5(0xd4),_0x539583[_0x539583[_0x2a4ba5(0x12c)]=0x2af9]=_0x2a4ba5(0x12c),_0x539583[_0x539583['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x2a4ba5(0x349),_0x539583[_0x539583[_0x2a4ba5(0x182)]=0x2ee2]=_0x2a4ba5(0x182),_0x539583[_0x539583['INVITE_CODE_REQUIRED']=0x2ee3]='INVITE_CODE_REQUIRED',_0x539583[_0x539583[_0x2a4ba5(0xbc)]=0x2ee4]=_0x2a4ba5(0xbc),_0x539583[_0x539583[_0x2a4ba5(0x33e)]=0x2ee5]=_0x2a4ba5(0x33e),_0x539583[_0x539583[_0x2a4ba5(0xf4)]=0x32c9]=_0x2a4ba5(0xf4),_0x539583[_0x539583['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x2a4ba5(0x171),_0x539583[_0x539583[_0x2a4ba5(0x371)]=0x32cb]=_0x2a4ba5(0x371),_0x539583[_0x539583[_0x2a4ba5(0x281)]=0x36b1]=_0x2a4ba5(0x281),_0x539583[_0x539583['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x2a4ba5(0xd1),_0x539583[_0x539583[_0x2a4ba5(0x188)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x539583[_0x539583[_0x2a4ba5(0x23c)]=0x36b4]=_0x2a4ba5(0x23c),_0x539583[_0x539583['ENTITLE_INVALID_COUPON_CODE']=0x36b5]=_0x2a4ba5(0x261),_0x539583[_0x539583[_0x2a4ba5(0x390)]=0x36b6]=_0x2a4ba5(0x390),_0x539583[_0x539583[_0x2a4ba5(0x2c0)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x539583[_0x539583[_0x2a4ba5(0x27f)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x539583[_0x539583[_0x2a4ba5(0x274)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x539583[_0x539583[_0x2a4ba5(0x35d)]=0x3716]=_0x2a4ba5(0x35d),_0x539583[_0x539583[_0x2a4ba5(0x211)]=0x3717]='ENTITLE_INSUFFICIENT_QUOTA',_0x539583[_0x539583[_0x2a4ba5(0x1b2)]=0x37dd]=_0x2a4ba5(0x1b2),_0x539583[_0x539583['REDEMPTION_INVALID_CODE']=0x3a99]=_0x2a4ba5(0x181),_0x539583[_0x539583[_0x2a4ba5(0x102)]=0x3a9a]=_0x2a4ba5(0x102),_0x539583[_0x539583[_0x2a4ba5(0x2d7)]=0x3a9b]=_0x2a4ba5(0x2d7),_0x539583[_0x539583[_0x2a4ba5(0x1d7)]=0x3a9c]=_0x2a4ba5(0x1d7),_0x539583[_0x539583[_0x2a4ba5(0xab)]=0x3a9d]=_0x2a4ba5(0xab),_0x539583[_0x539583[_0x2a4ba5(0x298)]=0x3a9e]=_0x2a4ba5(0x298),_0x539583[_0x539583[_0x2a4ba5(0x27a)]=0x3a9f]=_0x2a4ba5(0x27a),_0x539583[_0x539583['DATA_SOURCE_TOO_LARGE']=0x3e81]='DATA_SOURCE_TOO_LARGE',_0x539583[_0x539583[_0x2a4ba5(0x39a)]=-0x1]=_0x2a4ba5(0x39a),_0x539583))(_0xdbd9a9||{});function _0x230673(_0x459e95){const _0x4c01ef=_0x2a4ba5;var _0x113078,_0xfc6454;const _0x473bfa=(_0x113078=_0x459e95['stageInfo'])==null?void 0x0:_0x113078['stage'],_0x1c5634=((_0xfc6454=_0x459e95['stageInfo'])==null?void 0x0:_0xfc6454[_0x4c01ef(0x2fd)])||0x0;return _0x473bfa===_0x41dddf[_0x4c01ef(0x353)]['START_CALCULATION']&&_0x1c5634>0x0;}function _0xf5574c(_0x58ee18){const _0x494f92=_0x2a4ba5;return _0x58ee18[_0x494f92(0x150)]===_0x41dddf[_0x494f92(0x311)][_0x494f92(0x25f)];}var _0x3a59e8=Object[_0x2a4ba5(0x147)],_0x4003ce=(_0x488e49,_0x5d5302,_0x5c402a,_0x589bfd)=>{const _0x3edf8e=_0x2a4ba5;for(var _0x55a684=_0x589bfd>0x1?void 0x0:_0x589bfd?_0x3a59e8(_0x5d5302,_0x5c402a):_0x5d5302,_0xaae03c=_0x488e49[_0x3edf8e(0x123)]-0x1,_0x5d1b12;_0xaae03c>=0x0;_0xaae03c--)(_0x5d1b12=_0x488e49[_0xaae03c])&&(_0x55a684=_0x5d1b12(_0x55a684)||_0x55a684);return _0x55a684;},_0x15e783=(_0x44b9b7,_0xea7499)=>(_0x317775,_0x1b90a9)=>_0xea7499(_0x317775,_0x1b90a9,_0x44b9b7);const _0xa61727=_0x2a4ba5(0xe3),_0x44be6a=_0x2a4ba5(0x1ef),_0x496969=_0x2a4ba5(0x2a2);let _0x3ab3a2=class extends _0x717d91[_0x2a4ba5(0x393)]{constructor(_0x1f76c6,_0x336e80,_0x44a0d2,_0x107546,_0xbfd9bc,_0x2e04fd,_0x280385){const _0x11eff2=_0x2a4ba5;super(),_0x271c55(this,_0x11eff2(0x18f),null),_0x271c55(this,_0x11eff2(0x2d3),0x0),_0x271c55(this,_0x11eff2(0xd7),0x0),_0x271c55(this,_0x11eff2(0x24c),[]),_0x271c55(this,'_lastResponseTimestamp',0x0),(this[_0x11eff2(0x114)]=_0x1f76c6,this[_0x11eff2(0x15e)]=_0x336e80,this['_configService']=_0x44a0d2,this[_0x11eff2(0x29a)]=_0x107546,this[_0x11eff2(0x15c)]=_0xbfd9bc,this['_logService']=_0x2e04fd,this[_0x11eff2(0x26b)]=_0x280385,this[_0x11eff2(0x275)]());}[_0x2a4ba5(0x275)](){const _0x5c2328=_0x2a4ba5;this[_0x5c2328(0x1d4)](this[_0x5c2328(0x15e)][_0x5c2328(0x325)]((_0x196dba,_0x2bf57b)=>{const _0x34b6ee=_0x5c2328;var _0x549552;if(_0x196dba['id']!==_0x41dddf[_0x34b6ee(0x1d5)]['id'])return;const _0x44e768=_0x196dba[_0x34b6ee(0x2af)];if(!this[_0x34b6ee(0x328)]((_0x549552=_0x44e768[_0x34b6ee(0x375)])!=null?_0x549552:[]))return;if(!this[_0x34b6ee(0x1c3)]())throw this[_0x34b6ee(0x2b7)](_0x196dba,_0x2bf57b),this['_showGuardMessage'](),new _0x717d91[(_0x34b6ee(0x398))]();})),this[_0x5c2328(0x1d4)](this[_0x5c2328(0x15e)][_0x5c2328(0x23a)]((_0xfb2741,_0x319857)=>{const _0x27f861=_0x5c2328;if(_0xfb2741['id']!==_0x41dddf[_0x27f861(0x321)]['id'])return;const _0x584854=_0xfb2741[_0x27f861(0x2af)];if(_0x230673(_0x584854)){const _0x6a9db2=_0x717d91['generateRandomId']();this[_0x27f861(0x24c)][_0x27f861(0x2db)](_0x6a9db2),this[_0x27f861(0x104)](_0x6a9db2);}else{if(_0xf5574c(_0x584854)&&this['_taskIds'][_0x27f861(0x123)]>0x0){const _0x31ee8f=this[_0x27f861(0x24c)]['shift']();this['_releaseCalculationLimit'](_0x31ee8f);}}}));}[_0x2a4ba5(0x14a)](){const _0x9226a5=_0x2a4ba5;super[_0x9226a5(0x14a)](),this[_0x9226a5(0x134)](),this['_taskIds']=[],this[_0x9226a5(0xd7)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x9226a5(0x2fb)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x2ec5bd,_0x3ff874){const _0x4f402e=_0x2a4ba5;for(let _0x575d5f=0x0;_0x575d5f<0x1e;_0x575d5f++)try{if(await this[_0x4f402e(0x1be)](),this[_0x4f402e(0x1c3)]()){this['_applyCommand'](_0x2ec5bd,_0x3ff874),this['_messageService']['show']({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x203981[_0x4f402e(0xa7)][_0x4f402e(0x2c2)]});return;}await new Promise(_0x451a17=>{this['_pollingInterval']=window['setTimeout'](_0x451a17,0x3e8);});}catch(_0x4070b9){this['_logService'][_0x4f402e(0x289)](_0x4070b9);}this[_0x4f402e(0x114)][_0x4f402e(0x248)]({'content':this[_0x4f402e(0x26b)]['t'](_0x4f402e(0x109)),'type':_0x203981[_0x4f402e(0xa7)][_0x4f402e(0x135)]});}['_applyCommand'](_0x5cd072,_0x5cd342){const _0x1aaefd=_0x2a4ba5;try{this[_0x1aaefd(0x15e)][_0x1aaefd(0x14c)](_0x5cd072['id'],_0x5cd072[_0x1aaefd(0x2af)],_0x5cd342);}catch(_0x2dcc09){this[_0x1aaefd(0x34a)][_0x1aaefd(0x289)](_0x2dcc09);}}[_0x2a4ba5(0x31b)](_0x53fad1,_0x4b5b02){const _0x15d0ca=_0x2a4ba5;_0x4b5b02<this['_lastResponseTimestamp']||(this['_lastResponseTimestamp']=_0x4b5b02,this[_0x15d0ca(0x2d3)]=Number[_0x15d0ca(0x29e)](_0x53fad1[_0x15d0ca(0x1ad)]),this[_0x15d0ca(0xd7)]=Number[_0x15d0ca(0x29e)](_0x53fad1[_0x15d0ca(0xb5)]));}async[_0x2a4ba5(0x104)](_0x21879f){const _0xab0aef=_0x2a4ba5;var _0x3d0712,_0x2db186;const _0x2963ec=Date[_0xab0aef(0x17b)]();try{const _0x5519fc=((_0x3d0712=this[_0xab0aef(0x1f0)][_0xab0aef(0x23b)](_0x26bc40['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x3d0712[_0xab0aef(0x129)])||_0x44be6a,_0x3da90f=(await this[_0xab0aef(0x29a)]['post'](_0x5519fc,{'body':JSON[_0xab0aef(0x176)]({'taskId':_0x21879f})}))[_0xab0aef(0x2cd)];if(((_0x2db186=_0x3da90f['error'])==null?void 0x0:_0x2db186[_0xab0aef(0x34e)])!==_0xdbd9a9['OK'])return;this[_0xab0aef(0x31b)](_0x3da90f[_0xab0aef(0xc6)],_0x2963ec);}catch(_0x5f0882){this[_0xab0aef(0x34a)]['error'](_0x5f0882);}}async[_0x2a4ba5(0x1be)](_0x382380){const _0x1671e=_0x2a4ba5;var _0x1fa3c5,_0x312deb;const _0x56da71=Date[_0x1671e(0x17b)]();try{const _0x74c6b4=((_0x1fa3c5=this['_configService'][_0x1671e(0x23b)](_0x26bc40[_0x1671e(0x18d)]))==null?void 0x0:_0x1fa3c5[_0x1671e(0x35a)])||_0xa61727,_0x37d897=_0x382380?_0x74c6b4+_0x1671e(0x29c)+encodeURIComponent(_0x382380):_0x74c6b4,_0x30330a=(await this[_0x1671e(0x29a)]['get'](_0x37d897))['body'];if(((_0x312deb=_0x30330a['error'])==null?void 0x0:_0x312deb[_0x1671e(0x34e)])!==_0xdbd9a9['OK'])return;this[_0x1671e(0x31b)](_0x30330a['limitInfo'],_0x56da71);}catch(_0x386485){this[_0x1671e(0x34a)][_0x1671e(0x289)](_0x386485);}}async[_0x2a4ba5(0x2d9)](_0x22764d){const _0x36723d=_0x2a4ba5;var _0x1135cb,_0x9b9f40;const _0x168399=Date[_0x36723d(0x17b)]();try{const _0x6f9944=((_0x1135cb=this[_0x36723d(0x1f0)][_0x36723d(0x23b)](_0x26bc40['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x1135cb[_0x36723d(0x1b9)])||_0x496969,_0x1015a5=(await this['_httpService'][_0x36723d(0xbb)](_0x6f9944,{'body':JSON[_0x36723d(0x176)]({'taskId':_0x22764d})}))['body'];if(((_0x9b9f40=_0x1015a5[_0x36723d(0x289)])==null?void 0x0:_0x9b9f40[_0x36723d(0x34e)])!==_0xdbd9a9['OK'])return;this[_0x36723d(0x31b)](_0x1015a5['limitInfo'],_0x168399);}catch(_0x6c36a5){this[_0x36723d(0x34a)]['error'](_0x6c36a5);}}[_0x2a4ba5(0x1c3)](){const _0x116fb1=_0x2a4ba5;return this[_0x116fb1(0x2d3)]===0x0?!0x0:this[_0x116fb1(0x2d3)]-this[_0x116fb1(0xd7)]>0x0;}[_0x2a4ba5(0x134)](){const _0x28a310=_0x2a4ba5;this[_0x28a310(0x18f)]&&(clearTimeout(this[_0x28a310(0x18f)]),this[_0x28a310(0x18f)]=null);}['_showGuardMessage'](){const _0x42bb21=_0x2a4ba5;this['_messageService'][_0x42bb21(0x248)]({'content':this['_localeService']['t'](_0x42bb21(0x1e0)),'type':_0x203981['MessageType'][_0x42bb21(0x386)]});}[_0x2a4ba5(0x328)](_0x43d680){const _0x22e5b9=_0x2a4ba5;for(const _0x396598 of _0x43d680){const {unitId:_0x14afe7,sheetId:_0x34888a,range:_0x13ba06}=_0x396598,_0x417539=this[_0x22e5b9(0x15c)]['getUnit'](_0x14afe7);if(!_0x417539)continue;const _0x24e077=_0x417539[_0x22e5b9(0x246)](_0x34888a);if(!_0x24e077)continue;const _0xe6a05b=_0x24e077[_0x22e5b9(0x301)]();for(let _0x376ef0=_0x13ba06[_0x22e5b9(0x27e)];_0x376ef0<=_0x13ba06[_0x22e5b9(0x1af)];_0x376ef0++)for(let _0x8b6668=_0x13ba06['startColumn'];_0x8b6668<=_0x13ba06['endColumn'];_0x8b6668++){const _0x2f9cde=_0xe6a05b[_0x22e5b9(0x21d)](_0x376ef0,_0x8b6668);if(_0x2f9cde&&(_0x717d91['isFormulaString'](_0x2f9cde['f'])||_0x717d91[_0x22e5b9(0x20e)](_0x2f9cde['si'])))return!0x0;}}return!0x1;}};_0x3ab3a2=_0x4003ce([_0x15e783(0x0,_0x717d91[_0x2a4ba5(0x37b)](_0x498b33[_0x2a4ba5(0x119)])),_0x15e783(0x1,_0x717d91[_0x2a4ba5(0x329)]),_0x15e783(0x2,_0x717d91['IConfigService']),_0x15e783(0x3,_0x717d91[_0x2a4ba5(0x37b)](_0x429433[_0x2a4ba5(0x186)])),_0x15e783(0x4,_0x717d91[_0x2a4ba5(0xa9)]),_0x15e783(0x5,_0x717d91[_0x2a4ba5(0x299)]),_0x15e783(0x6,_0x717d91[_0x2a4ba5(0x37b)](_0x717d91['LocaleService']))],_0x3ab3a2);var _0x3f37a7=Object[_0x2a4ba5(0x147)],_0x439585=(_0x742437,_0x10f9c4,_0x1645f7,_0x5f0412)=>{for(var _0x534001=_0x5f0412>0x1?void 0x0:_0x5f0412?_0x3f37a7(_0x10f9c4,_0x1645f7):_0x10f9c4,_0x2c5b20=_0x742437['length']-0x1,_0x317cd9;_0x2c5b20>=0x0;_0x2c5b20--)(_0x317cd9=_0x742437[_0x2c5b20])&&(_0x534001=_0x317cd9(_0x534001)||_0x534001);return _0x534001;},_0x4add5c=(_0x3c5833,_0x3e7dd1)=>(_0xb4b089,_0xff3064)=>_0x3e7dd1(_0xb4b089,_0xff3064,_0x3c5833);let _0x8dc633=class extends _0x717d91[_0x2a4ba5(0x393)]{constructor(_0x2a0ece,_0x385137,_0x1eb3ac){const _0x1e26a2=_0x2a4ba5;super(),_0x271c55(this,_0x1e26a2(0x350),new Map()),_0x271c55(this,'_saveTaskMap',new Map()),_0x271c55(this,_0x1e26a2(0x2d2),!0x1),(this[_0x1e26a2(0x1f0)]=_0x2a0ece,this['_localStorageService']=_0x385137,this['_revisionService']=_0x1eb3ac);}[_0x2a4ba5(0x1d8)](){const _0x64ef4d=_0x2a4ba5;this[_0x64ef4d(0x2d2)]=!0x0;}[_0x2a4ba5(0x3a6)](){const _0x49af74=_0x2a4ba5;this[_0x49af74(0x2d2)]=!0x1;}get['saveTaskMap'](){const _0x14c253=_0x2a4ba5;return this[_0x14c253(0x2fe)];}[_0x2a4ba5(0x14a)](){const _0x1a867a=_0x2a4ba5;this[_0x1a867a(0x1f9)]()[_0x1a867a(0x339)](()=>super[_0x1a867a(0x14a)]());}async[_0x2a4ba5(0x315)](_0x439c8b){const _0x3eb511=_0x2a4ba5;return this[_0x3eb511(0x2d2)]?null:this[_0x3eb511(0x140)]['getItem'](_0x26bc40['getLocalCacheKey'](_0x439c8b));}async['saveOfflineData'](_0x3ce5ce,_0x62f692){const _0x1a17c5=_0x2a4ba5;return!!this[_0x1a17c5(0x140)][_0x1a17c5(0x139)](_0x3ce5ce,_0x62f692);}[_0x2a4ba5(0x2b9)](_0x4e2316,_0x3e6086,_0x41e16d,_0x2fea03){const _0x38c775=_0x2a4ba5,_0x2826cb=this[_0x38c775(0x245)][_0x38c775(0x28a)](_0x4e2316);this['_cachedData'][_0x38c775(0x30e)](_0x4e2316,{'unitID':_0x4e2316,'type':_0x3e6086,'awaitingChangeset':_0x41e16d,'mutations':_0x2fea03,'rev':_0x2826cb}),this[_0x38c775(0x2fe)][_0x38c775(0x250)](_0x4e2316)||this[_0x38c775(0x1b6)](_0x4e2316);}['_scheduleSaving'](_0x306de2){const _0x3805ed=_0x2a4ba5,_0xe20d01=this[_0x3805ed(0x345)]();_0xe20d01===0x0?this['_saveCache'](_0x306de2):this['_saveTaskMap'][_0x3805ed(0x30e)](_0x306de2,setTimeout(()=>this[_0x3805ed(0x2c9)](_0x306de2),_0xe20d01));}['_getSaveTimeout'](){const _0x5db42e=_0x2a4ba5;var _0x1d7b8a;return(_0x1d7b8a=this['_configService']['getConfig'](_0x26bc40[_0x5db42e(0x1f7)]))!=null?_0x1d7b8a:_0x26bc40[_0x5db42e(0x333)];}[_0x2a4ba5(0x2c9)](_0x3c914f){const _0x4f5084=_0x2a4ba5,_0x371c43=this[_0x4f5084(0x2fe)][_0x4f5084(0x2aa)](_0x3c914f);return _0x371c43!==void 0x0&&window[_0x4f5084(0x20b)](_0x371c43),this[_0x4f5084(0x140)][_0x4f5084(0x139)](_0x26bc40[_0x4f5084(0x374)](_0x3c914f),this['_cachedData'][_0x4f5084(0x2aa)](_0x3c914f))[_0x4f5084(0x339)](()=>this['_saveTaskMap'][_0x4f5084(0x2e2)](_0x3c914f));}async[_0x2a4ba5(0x1f9)](){const _0x2e1795=_0x2a4ba5,_0x357e44=[];this[_0x2e1795(0x2fe)][_0x2e1795(0xc4)]((_0x2279f6,_0x27c98c)=>{const _0x2bf1ca=_0x2e1795;window[_0x2bf1ca(0x20b)](_0x2279f6),_0x357e44['push'](this[_0x2bf1ca(0x2c9)](_0x27c98c)[_0x2bf1ca(0x339)](()=>{const _0x1ac817=_0x2bf1ca;this[_0x1ac817(0x2fe)][_0x1ac817(0x2e2)](_0x27c98c);}));}),await Promise[_0x2e1795(0x19c)](_0x357e44);}};_0x8dc633=_0x439585([_0x4add5c(0x0,_0x717d91['IConfigService']),_0x4add5c(0x1,_0x717d91['ILocalStorageService']),_0x4add5c(0x2,_0x717d91['Inject'](_0xdf7641[_0x2a4ba5(0x364)]))],_0x8dc633);class _0x326a84 extends _0x717d91[_0x2a4ba5(0x1f4)]{constructor(){const _0x2646bd=_0x2a4ba5;super(),_0x271c55(this,_0x2646bd(0x36e)),this[_0x2646bd(0x36e)]=_0x170cda[_0x2646bd(0x355)](window,_0x2646bd(0x354))['pipe'](_0x170cda[_0x2646bd(0x2b0)](this[_0x2646bd(0x2c4)]),_0x170cda[_0x2646bd(0x320)](0x1),_0x170cda['mapTo'](void 0x0));}[_0x2a4ba5(0x125)](_0x40e08a,_0x5e5795,_0x112988=!0x1){const _0x27e82f=_0x2a4ba5,_0x800dc7=new URL(window[_0x27e82f(0x1b1)][_0x27e82f(0xa5)]);_0x800dc7[_0x27e82f(0x387)][_0x27e82f(0x30e)](_0x40e08a,_0x5e5795),_0x112988?window['history'][_0x27e82f(0x1f6)]('','',_0x800dc7['toString']()):window[_0x27e82f(0x39e)][_0x27e82f(0xc2)]('','',_0x800dc7['toString']());}[_0x2a4ba5(0x1c0)](_0x398038,_0x2324e8=!0x1){const _0x2b7ebb=_0x2a4ba5,_0x348244=new URL(window[_0x2b7ebb(0x1b1)][_0x2b7ebb(0xa5)]);_0x348244['searchParams'][_0x2b7ebb(0x2e2)](_0x398038),_0x2324e8?window[_0x2b7ebb(0x39e)][_0x2b7ebb(0x1f6)]('','',_0x348244[_0x2b7ebb(0x2ec)]()):window[_0x2b7ebb(0x39e)][_0x2b7ebb(0xc2)]('','',_0x348244[_0x2b7ebb(0x2ec)]());}[_0x2a4ba5(0x157)](_0x87f489){const _0x172834=_0x2a4ba5;var _0x471659;return(_0x471659=new URL(window[_0x172834(0x1b1)][_0x172834(0xa5)])[_0x172834(0x387)][_0x172834(0x2aa)](_0x87f489))!=null?_0x471659:void 0x0;}}var _0xdd2c4d=Object[_0x2a4ba5(0x1cf)],_0x41f14c=Object['getOwnPropertyDescriptor'],_0x71dcdd=(_0x1d3d6f,_0x823981,_0x1e0ade)=>_0x823981 in _0x1d3d6f?_0xdd2c4d(_0x1d3d6f,_0x823981,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e0ade}):_0x1d3d6f[_0x823981]=_0x1e0ade,_0x480f0e=(_0x67aca7,_0x5c0780,_0x2ab59a,_0x8278da)=>{const _0x2b8cce=_0x2a4ba5;for(var _0x59b696=_0x8278da>0x1?void 0x0:_0x8278da?_0x41f14c(_0x5c0780,_0x2ab59a):_0x5c0780,_0x2d77e0=_0x67aca7[_0x2b8cce(0x123)]-0x1,_0x82aed1;_0x2d77e0>=0x0;_0x2d77e0--)(_0x82aed1=_0x67aca7[_0x2d77e0])&&(_0x59b696=_0x82aed1(_0x59b696)||_0x59b696);return _0x59b696;},_0x277ca1=(_0x93294e,_0xff7333)=>(_0x11bbbb,_0x1637ee)=>_0xff7333(_0x11bbbb,_0x1637ee,_0x93294e),_0x4cd5bd=(_0x459771,_0x53fce3,_0x5bf69e)=>_0x71dcdd(_0x459771,_0x53fce3+'',_0x5bf69e);const _0x266299=_0x2a4ba5(0x190);_0x487266['UniverCollaborationClientUIPlugin']=class extends _0x717d91['Plugin']{constructor(_0x1cf872=_0x38a58d,_0x37f074,_0x1e4a80,_0x140199){const _0x104794=_0x2a4ba5;super(),this[_0x104794(0x33d)]=_0x1cf872,this[_0x104794(0x17e)]=_0x37f074,this[_0x104794(0x265)]=_0x1e4a80,this['_configService']=_0x140199;const {..._0x26b913}=_0x717d91[_0x104794(0x132)]({},_0x38a58d,this['_config']);this[_0x104794(0x1f0)][_0x104794(0x1b5)](_0x5b3c14,_0x26b913);}[_0x2a4ba5(0x130)](){const _0x3ad789=_0x2a4ba5;this['_registerDependencies'](),this[_0x3ad789(0x1a8)]();}[_0x2a4ba5(0x187)](){this['_registerRenderDependencies']();}[_0x2a4ba5(0x36f)](){const _0x294e56=_0x2a4ba5;var _0x154368;const _0x2806b0=[[_0x170667],[_0x3ab3a2],[_0x32cc87],[_0x2ce0f2],[_0xd02882],[_0x531ef2],[_0x8c03a2,{'useClass':_0x326a84}],[_0x429433[_0x294e56(0x208)],{'useClass':_0x429433[_0x294e56(0x1c6)]}],[_0x26bc40['ILocalCacheService'],{'useClass':_0x8dc633}],[_0x487266['DesktopCollaborationStatusDisplayController']],[_0x2f987a],[_0x1af25f],[_0xfbad1b],[_0x4fa738],[_0x487266['CollaborationDataLoaderController']]];this[_0x294e56(0x33d)][_0x294e56(0x267)]&&_0x2806b0[_0x294e56(0x2db)]([_0x5625b4]),_0x717d91[_0x294e56(0x396)](this[_0x294e56(0x265)],_0x717d91['mergeOverrideWithDependencies'](_0x2806b0,(_0x154368=this[_0x294e56(0x33d)])==null?void 0x0:_0x154368[_0x294e56(0x372)]));}[_0x2a4ba5(0x2e6)](){const _0x5c9585=_0x2a4ba5;this[_0x5c9585(0x1d4)](this['_renderManagerService']['registerRenderModule'](_0x717d91[_0x5c9585(0x2bf)][_0x5c9585(0x2fc)],[_0x564a2a])),this[_0x5c9585(0x1d4)](this[_0x5c9585(0x17e)][_0x5c9585(0x285)](_0x717d91[_0x5c9585(0x2bf)][_0x5c9585(0x137)],[_0x35d8f7]));}[_0x2a4ba5(0x1a8)](){const _0x51d838=_0x2a4ba5;_0x717d91['touchDependencies'](this[_0x51d838(0x265)],[[_0xfbad1b],[_0x487266[_0x51d838(0x38b)]],[_0x2f987a],[_0x1af25f],[_0x487266[_0x51d838(0x169)]],[_0x3ab3a2]]),this[_0x51d838(0x33d)][_0x51d838(0x267)]&&_0x717d91[_0x51d838(0x33c)](this[_0x51d838(0x265)],[[_0x5625b4]]);}},_0x4cd5bd(_0x487266[_0x2a4ba5(0x29b)],_0x2a4ba5(0x103),_0x266299),_0x487266[_0x2a4ba5(0x29b)]=_0x480f0e([_0x717d91[_0x2a4ba5(0x237)](_0x26bc40[_0x2a4ba5(0x341)]),_0x277ca1(0x1,_0x4a1571[_0x2a4ba5(0x1e3)]),_0x277ca1(0x2,_0x717d91[_0x2a4ba5(0x37b)](_0x717d91[_0x2a4ba5(0x32d)])),_0x277ca1(0x3,_0x717d91['IConfigService'])],_0x487266[_0x2a4ba5(0x29b)]);var _0x3809a2=Object[_0x2a4ba5(0x147)],_0x24bb5e=(_0x57d9d8,_0x5c0341,_0x2ecd58,_0x30b045)=>{const _0x40cd64=_0x2a4ba5;for(var _0x20a683=_0x30b045>0x1?void 0x0:_0x30b045?_0x3809a2(_0x5c0341,_0x2ecd58):_0x5c0341,_0x3a6ee8=_0x57d9d8[_0x40cd64(0x123)]-0x1,_0x39f7aa;_0x3a6ee8>=0x0;_0x3a6ee8--)(_0x39f7aa=_0x57d9d8[_0x3a6ee8])&&(_0x20a683=_0x39f7aa(_0x20a683)||_0x20a683);return _0x20a683;},_0x13e3aa=(_0x1bfe90,_0x39ca1c)=>(_0xe35a34,_0x1f23ee)=>_0x39ca1c(_0xe35a34,_0x1f23ee,_0x1bfe90);_0x487266[_0x2a4ba5(0x120)]=class extends _0x26bc40[_0x2a4ba5(0x1cc)]{constructor(_0x30c623,_0x5ed851,_0x4b9fca,_0x5a4451,_0x58d737){super(_0x30c623,_0x5ed851,_0x4b9fca,_0x5a4451,_0x58d737);}async[_0x2a4ba5(0x219)](_0x85d4ae){const _0x1fc404=_0x2a4ba5,_0x495968=await this[_0x1fc404(0x210)](),_0x228123=this['_createSocketURL'](_0x85d4ae,_0x495968);return this['_doCreateSocket'](_0x228123);}[_0x2a4ba5(0x221)](_0x1e36c7,_0x24656c){const _0x3355a8=_0x2a4ba5,_0x2968d2=typeof window>'u'?new URL(_0x1e36c7):new URL(_0x1e36c7,window['location']['origin']);_0x2968d2[_0x3355a8(0x387)][_0x3355a8(0x30e)](_0x3355a8(0x214),_0x24656c);const _0x4c3ee9=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x3355a8(0x2ba)]);return _0x4c3ee9['get'](_0x3355a8(0x308))&&_0x2968d2[_0x3355a8(0x387)]['set']('runId',_0x4c3ee9[_0x3355a8(0x2aa)]('runId')),_0x2968d2['toString']();}async['_getSessionTicket'](){const _0x47922a=_0x2a4ba5;var _0x8aeb07,_0x147d1e,_0x5943ce;const _0x4e590d=this[_0x47922a(0x1f0)][_0x47922a(0x23b)](_0x26bc40['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x2f23b6=(_0x8aeb07=_0x4e590d==null?void 0x0:_0x4e590d[_0x47922a(0x215)])!=null?_0x8aeb07:_0x26bc40[_0x47922a(0x30a)];return(_0x5943ce=(_0x147d1e=(await this['_httpService'][_0x47922a(0x2aa)](_0x2f23b6,{'headers':{'Content-Type':'application/json'}}))[_0x47922a(0x2cd)])==null?void 0x0:_0x147d1e[_0x47922a(0xb1)])!=null?_0x5943ce:'';}},_0x487266['BrowserCollaborationSocketService']=_0x24bb5e([_0x13e3aa(0x0,_0x717d91['Inject'](_0x717d91[_0x2a4ba5(0x32d)])),_0x13e3aa(0x1,_0x717d91['Inject'](_0x429433[_0x2a4ba5(0x186)])),_0x13e3aa(0x2,_0x717d91['IConfigService']),_0x13e3aa(0x3,_0x717d91[_0x2a4ba5(0x299)]),_0x13e3aa(0x4,_0xdf7641[_0x2a4ba5(0x247)])],_0x487266[_0x2a4ba5(0x120)]);var _0x3ce548=Object[_0x2a4ba5(0x147)],_0x577caa=(_0x5ac627,_0x424a6b,_0x2e26fe,_0x25a58e)=>{const _0x327a7e=_0x2a4ba5;for(var _0x330e99=_0x25a58e>0x1?void 0x0:_0x25a58e?_0x3ce548(_0x424a6b,_0x2e26fe):_0x424a6b,_0x433f65=_0x5ac627[_0x327a7e(0x123)]-0x1,_0x482190;_0x433f65>=0x0;_0x433f65--)(_0x482190=_0x5ac627[_0x433f65])&&(_0x330e99=_0x482190(_0x330e99)||_0x330e99);return _0x330e99;},_0x467673=(_0x10eee7,_0x201bec)=>(_0x4ac385,_0x43bfb5)=>_0x201bec(_0x4ac385,_0x43bfb5,_0x10eee7);_0x487266['RemoteUniscriptService']=class extends _0x717d91[_0x2a4ba5(0x393)]{constructor(_0x46d5c2,_0x35073c,_0x58c997){const _0x10bd43=_0x2a4ba5;super(),this[_0x10bd43(0x2eb)]=_0x46d5c2,this[_0x10bd43(0x29a)]=_0x35073c,this[_0x10bd43(0x1f0)]=_0x58c997;}async[_0x2a4ba5(0x36d)](_0x4be77c,_0x45f2a2,_0x3f38c0,..._0xa4306b){const _0x215b7b=_0x2a4ba5;var _0x24e99c,_0x22c598,_0x534d46,_0x433d1d;const _0x129686=this['_instanceService'][_0x215b7b(0x2f9)]();if(!_0x129686)throw new Error(_0x215b7b(0xd8));const _0x2c9116=((_0x24e99c=this[_0x215b7b(0x1f0)]['getConfig'](_0x26bc40[_0x215b7b(0x272)]))!=null?_0x24e99c:_0x26bc40[_0x215b7b(0x358)])+'/'+_0x4be77c+_0x215b7b(0x2e4)+_0x45f2a2,_0x1c04d6=new URL(window[_0x215b7b(0x1b1)][_0x215b7b(0xa5)]),_0x4d96b4={'scriptId':_0x4be77c,'runId':(_0x22c598=_0x1c04d6[_0x215b7b(0x387)][_0x215b7b(0x2aa)]('runId'))!=null?_0x22c598:'','function':_0x45f2a2,'unitId':_0x129686[_0x215b7b(0x2c3)](),'argsOfFunction':JSON['stringify'](_0xa4306b),'invokeId':(_0x534d46=_0x3f38c0[_0x215b7b(0x365)])!=null?_0x534d46:'','executionId':(_0x433d1d=_0x3f38c0[_0x215b7b(0xe2)])!=null?_0x433d1d:''};try{const _0x4109c9=await this[_0x215b7b(0x29a)][_0x215b7b(0xbb)](_0x2c9116,{'body':_0x4d96b4});return _0x4109c9[_0x215b7b(0x2cd)]['error']&&_0x4109c9[_0x215b7b(0x2cd)][_0x215b7b(0x289)][_0x215b7b(0x34e)]!==_0xdbd9a9['OK']?_0x215b7b(0x235):_0x4109c9[_0x215b7b(0x2cd)][_0x215b7b(0x257)];}catch{return'Failed';}}},_0x487266[_0x2a4ba5(0x143)]=_0x577caa([_0x467673(0x0,_0x717d91['IUniverInstanceService']),_0x467673(0x1,_0x717d91[_0x2a4ba5(0x37b)](_0x429433[_0x2a4ba5(0x186)])),_0x467673(0x2,_0x717d91[_0x2a4ba5(0xad)])],_0x487266['RemoteUniscriptService']);const _0x5c6335=0x7530,_0x5d9315=_0x2a4ba5(0x342);class _0x2e07cd extends _0x717d91['Disposable']{constructor(){const _0x54ed6e=_0x2a4ba5;super(),_0x271c55(this,'_id',_0x717d91[_0x54ed6e(0x31c)]()),_0x271c55(this,_0x54ed6e(0x1d6),new Set()),_0x271c55(this,'_unitOnClients',new Map()),_0x271c55(this,_0x54ed6e(0x351),null),_0x271c55(this,_0x54ed6e(0xb4),new Map()),_0x271c55(this,'_unitStatus',new Map()),this[_0x54ed6e(0xd5)]();}[_0x2a4ba5(0x14a)](){const _0x37b2cb=_0x2a4ba5;super[_0x37b2cb(0x14a)](),this[_0x37b2cb(0xb4)][_0x37b2cb(0xc4)]((_0x533f3f,_0x14d46c)=>this['_removeClearOtherTimer'](_0x14d46c)),this[_0x37b2cb(0x351)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x2a4ba5(0x25b)](_0x515011){const _0x139c39=_0x2a4ba5;return this[_0x139c39(0xaa)](_0x515011)[_0x139c39(0xda)](_0x170cda['distinctUntilChanged']());}[_0x2a4ba5(0x205)](_0x177ccf){const _0x423812=_0x2a4ba5;this[_0x423812(0x1d6)][_0x423812(0x13e)]===0x0&&this[_0x423812(0x212)](),this[_0x423812(0x1d6)][_0x423812(0x293)](_0x177ccf),this[_0x423812(0xd9)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x177ccf],'isForwarded':!0x1});}[_0x2a4ba5(0x2c6)](_0x59e5b7){const _0x3b909d=_0x2a4ba5;this[_0x3b909d(0x1d6)][_0x3b909d(0x2e2)](_0x59e5b7),this['_selfUnitIDs'][_0x3b909d(0x13e)]===0x0&&this[_0x3b909d(0x351)]&&window['clearInterval'](this[_0x3b909d(0x351)]);}[_0x2a4ba5(0xd5)](){const _0x3ab9d3=_0x2a4ba5;this[_0x3ab9d3(0x1d4)](_0x717d91[_0x3ab9d3(0x17a)](_0x170cda[_0x3ab9d3(0x355)](window,_0x3ab9d3(0x1bc))[_0x3ab9d3(0xbf)](_0x223fa4=>{const _0x4534eb=_0x3ab9d3;if(_0x223fa4[_0x4534eb(0x2bb)]!==_0x5d9315||!_0x223fa4[_0x4534eb(0x313)])return;const _0x394cbc=JSON[_0x4534eb(0x32f)](_0x223fa4['newValue']);this[_0x4534eb(0x12d)](_0x394cbc);}))),window[_0x3ab9d3(0x24b)](_0x3ab9d3(0x18c),()=>this[_0x3ab9d3(0xd9)]({'type':0x1,'memberID':this[_0x3ab9d3(0x2f6)],'unitIDs':Array[_0x3ab9d3(0x15a)](this[_0x3ab9d3(0x1d6)])}));}[_0x2a4ba5(0x12d)](_0x440f09){const _0x3d4502=_0x2a4ba5;switch(_0x440f09[_0x3d4502(0x13b)]){case 0x0:this[_0x3d4502(0x2ee)](_0x440f09);break;case 0x1:this['_handleLeaveEvent'](_0x440f09);break;case 0x2:this[_0x3d4502(0x178)](_0x440f09);break;}}['_handleJoinEvent'](_0x4e4a16){const _0x46bf05=_0x2a4ba5,{unitIDs:_0x476a10,memberID:_0x2b9f7f,isForwarded:_0x17cb87}=_0x4e4a16;_0x476a10[_0x46bf05(0xc4)](_0xc4ec12=>{const _0x59853f=_0x46bf05;if(!_0x17cb87&&this[_0x59853f(0xfa)][_0x59853f(0x250)](_0xc4ec12)&&this[_0x59853f(0xaa)](_0xc4ec12)[_0x59853f(0x27b)](_0x26bc40[_0x59853f(0x1a1)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x59853f(0x250)](_0xc4ec12)||!this[_0x59853f(0xfa)][_0x59853f(0x2aa)](_0xc4ec12)[_0x59853f(0x250)](_0x2b9f7f)){const _0x22f819=this[_0x59853f(0xfa)][_0x59853f(0x2aa)](_0xc4ec12)||new Set();_0x22f819[_0x59853f(0x293)](_0x2b9f7f),this['_unitOnClients'][_0x59853f(0x30e)](_0xc4ec12,_0x22f819),this[_0x59853f(0x38d)](_0x2b9f7f);}}),_0x17cb87||this[_0x46bf05(0xd9)]({'type':0x0,'memberID':this[_0x46bf05(0x2f6)],'unitIDs':[...this[_0x46bf05(0x1d6)]],'isForwarded':!0x0});}[_0x2a4ba5(0x38d)](_0x29b864){const _0x3856af=_0x2a4ba5;this['_removeClearOtherTimer'](_0x29b864);const _0x78f081=window['setTimeout'](()=>{const _0x397f81=_0x20af;this[_0x397f81(0xfa)][_0x397f81(0xc4)](_0x59bc63=>{const _0x27fda0=_0x397f81;_0x59bc63[_0x27fda0(0x2e2)](_0x29b864);});},_0x5c6335*0x2);this['_clearOtherTimers'][_0x3856af(0x30e)](_0x29b864,_0x78f081);}[_0x2a4ba5(0x1bd)](_0xbcc9a4){const _0x463472=_0x2a4ba5;if(this[_0x463472(0xb4)][_0x463472(0x250)](_0xbcc9a4)){const _0x1da28d=this[_0x463472(0xb4)][_0x463472(0x2aa)](_0xbcc9a4);_0x1da28d&&window[_0x463472(0x20b)](_0x1da28d),this[_0x463472(0xb4)][_0x463472(0x30e)](_0xbcc9a4,null);}}['_handleLeaveEvent'](_0x58327d){const _0xa5f251=_0x2a4ba5,{memberID:_0x5191ef,unitIDs:_0xb9c681}=_0x58327d;_0xb9c681[_0xa5f251(0xc4)](_0x547a47=>{const _0x2952d3=_0xa5f251;var _0x3bbd5b;const _0x534aac=this[_0x2952d3(0xfa)][_0x2952d3(0x2aa)](_0x547a47);_0x534aac&&(_0x534aac[_0x2952d3(0x2e2)](_0x5191ef),(_0x3bbd5b=this['_ensureSubject'](_0x547a47))==null||_0x3bbd5b[_0x2952d3(0x27b)](_0x534aac[_0x2952d3(0x13e)]===0x0?_0x26bc40[_0x2952d3(0x1a1)][_0x2952d3(0x2fa)]:_0x26bc40[_0x2952d3(0x1a1)][_0x2952d3(0x10f)]));}),this[_0xa5f251(0x1bd)](_0x5191ef);}[_0x2a4ba5(0x178)](_0x288569){const _0x3afff1=_0x2a4ba5;this[_0x3afff1(0x38d)](_0x288569[_0x3afff1(0x14f)]);}[_0x2a4ba5(0xd9)](_0x1b64f1){const _0x435bad=_0x2a4ba5;localStorage[_0x435bad(0x139)](_0x5d9315,JSON[_0x435bad(0x176)](_0x1b64f1));}[_0x2a4ba5(0x212)](){const _0x44ac99=_0x2a4ba5;this[_0x44ac99(0x351)]=window[_0x44ac99(0x136)](()=>{const _0x31b3f5=_0x44ac99;this[_0x31b3f5(0xd9)]({'type':0x2,'memberID':this[_0x31b3f5(0x2f6)]});},_0x5c6335);}[_0x2a4ba5(0xaa)](_0xf60318){const _0x512231=_0x2a4ba5;return this[_0x512231(0x271)][_0x512231(0x250)](_0xf60318)||this[_0x512231(0x271)][_0x512231(0x30e)](_0xf60318,new _0x170cda[(_0x512231(0x2a4))](_0x26bc40[_0x512231(0x1a1)][_0x512231(0x2fa)])),this[_0x512231(0x271)][_0x512231(0x2aa)](_0xf60318);}}_0x487266[_0x2a4ba5(0x295)]=_0x8c03a2,_0x487266[_0x2a4ba5(0xb7)]=_0x1a2356,_0x487266[_0x2a4ba5(0x2b4)]=_0x2e07cd,_0x487266[_0x2a4ba5(0x22d)]=_0x326a84,Object[_0x2a4ba5(0x1cf)](_0x487266,Symbol[_0x2a4ba5(0x1bb)],{'value':'Module'});}));