@univerjs-pro/collaboration-client-ui 0.12.4-insiders.20251211-c28f914 → 0.12.4-insiders.20251212-6c41730
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/ca-ES.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/es-ES.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ja-JP.js +1 -1
- package/lib/cjs/locale/ko-KR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/ca-ES.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/es-ES.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ja-JP.js +1 -1
- package/lib/es/locale/ko-KR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/ca-ES.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/es-ES.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ja-JP.js +1 -1
- package/lib/locale/ko-KR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/ca-ES.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/es-ES.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ja-JP.js +1 -1
- package/lib/umd/locale/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +16 -16
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x1f30(){const _0x144e7f=['status$','generateRandomId','DocStateChangeManagerService','COLORS','_backgroundColor','_saveCache','evenodd','HEADER_MENU','totalFormulasToCalculate','collaboration.closeRoom','permission.title','ILogService','UniverCollaborationClientPlugin','closePath','_applyCommand','collaboration.single-unit.warning','Tooltip','enableFrontendLog','BehaviorSubject','/run/','SetSelectionsOperation','flatMap','type','asObservable','_cursors','Tools','0\x200\x2016\x2016','startsWith','FromArray','translate(.97)','fill','eventID','onRendered','getRenderById','substring','_dataLoaderService','add','0\x200\x2017\x2016','message','_hasFormulaInDirtyRanges','unload','forEach','_createSocketURL','UniverUi','onMouseMove','override','10aSfSzp','handleDeleteRangeMoveLeft','storage','registerRenderModule','addEventListener','_eventUnsubscribe','_clearPolling','InsertRowCommandId','LOCAL_CACHE_INTERVAL_KEY','cursorInfo','DEFAULT_WS_SESSION_TICKET_URL','next','ColorKit','pipe','IUniverInstanceService','LOGIN_TOKEN_PROCESSING_FAILED','getCurrentRevOfUnit','hide','1223nLDiKI','[CollaborationDataLoaderController]','UNIVER_DOC','unitId','merge','purple.300','react','_selfUnitIDs','_themeService','startColumn','createInstance','?taskId=','_disabled','addObjects','isTransformMutationsWithChangesetSuccess','session.collaboration-timeout','DesktopCollaborationStatusDisplayController','data','getUndoRedoMutationParamsCache','transformMutation','getUnitStatus$','loadOfflineData','@univerjs-pro/collaboration','_commandService','transformMutationsWithChangeset','UNAUTHENTICATED','url(#off-line-icon_clip0_910_343)','CollaborationStatus','_setupBeforeClosingHandler','UniverDesign','Disposable','http://www.w3.org/2000/svg','CONNECTOR_DATA_TOO_LARGE','UniverDocs','sheetID','BrowserCollaborationSocketService','_saveTaskMap','JOIN_ROOM_FAILED','ENTITLE_CAN_NOT_BUY_LOWER_OTP','textRanges','NOT_COLLAB','SetWorksheetActivateCommand','_entityInit$','MessageType','_lastResponseTimestamp','red.300','OnLineIcon','LOGIN_FAILED','findNodePositionByCharIndex','INTERNAL_ERROR','docStateChange$','UniverDocsUi','UniverSheets','436imFbpv','2040XCtVqP','saveOfflineData','[Window\x20Error]:\x20','toDisposable','runRefRangeMutations','PERMISSION_DENIED','black','_context','formula.calculation.waiting','resize','unitID','_uiPartsService','_getAnchorBounding','max','includes','find','_drawTextRange','some','send','debug','split','PENDING','_startSheetCollabCursor','length','ONLINE','_clearOtherTimers','ENTITLE_COUPON_USED_UP','FormulaExecuteStageType','IRemoteInstanceService','onLocalMutation','backgroundColor','then','disableLocalCache','RxDisposable','_registerRenderDependencies','imageSourceType','isFormulaString','_lastPointer','combineLatest','_render','colorChannel1','_cachedData','DOC_RANGE_TYPE','_getSessionTicket','APPLY_PERMISSION_DENIED','_logService','ENTITLE_COUPON_EXPIRED','runOnServer','complete','APPLY_REVISION_CONFILICT','values','RemoveColCommandId','m1Prime','_pollingInterval','currentSkeleton$','delete','measureText','RemoteUniscriptService','_updateSubUnitFromURLParams','UniverDrawing','YUUMI_RATE_OVER_LIMIT','USER_NOT_FOUND','getDocRanges','event$','UniverIcon','pluginName','IImageIoService','_ensureSubject','OTHER_CLIENT_EDITING','_httpService','arc','mask','YUUMI_ASYNCIO_CANCELLED','replace','CollaborationUIEventId','_scheduleClearOtherTimer','join','_transformPreviousActiveRange','drawWith','memberID','div','_unitStatus','_config','_toggleOffline','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_syncEditingCollabCursorService','_refRangeService','name','_drawAnchor','getConfig','handleMoveRange','object','clearTimeout','formula.calculation.started','roomMembers$','location','colno','@univerjs-pro/collaboration-client','AUTHORIZE_CODE_ILLEGAL','UNDEFINED','DeleteRangeMoveLeftCommandId','Warning','ranges','SYNCED','12970432Ydlqmc','INVALID_ARGUMENT','REDEMPTION_CODE_NOT_STARTED','_memberID','_checkAndWaitForCalculationPermission','RECT','InsertRangeMoveDownCommandId','from','rxjs','CollaborationDataLoaderController','_removeClearOtherTimer','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','registerRefRange','OffLineIcon','actions','redoState','enableLocalCache','/universer-api/license/formula/limit/done','67520LmgVLa','_setFormulaLimitStatus','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','...','_beforeCloseService','_onCursorUpdate','post','invokeId','ICommandService','EMAIL_VERIFY_CODE_MISMATCH','shareReplay','getActiveSheet','functionsExecutedState','AWAITING_WITH_PENDING','_id','parse','APPLY_REJECT','6609474JJFrTC','createElement','getItem','_currentUsage','HTTPService','@univerjs/network','_color','getMergeData','CHANGESET_REVISION_CONFILICT','UniverCore','SetFormulaCalculationStartMutation','column','attrs','_updateURLWithCurrentState','handleInsertRow','REDEMPTION_CODE_FULLY_REDEEMED','IBeforeCloseService','assignAColorForMemberID','useObservable','_scheduleHeartbeat','CanceledError','_initStatusComponent','defs','_updateLocalCursor','INVITE_CODE_ALREADY_BOUND','REDEMPTION_INVALID_CODE','transformByState','YUUMI_URL_COL_OUT_OF_RANGE','function','deepClone','NOT_FOUND','_getMergeRange','_send','stageInfo','getRangePointData','xlink:href','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','init','defIds','color','_configService','throttleTime','Vector2','YUUMI_ALL_TABLES_IS_INVALID','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_instanceService','collabCursorState$','font','UnitStatus','CommandType','univerjs-icon\x20univerjs-icon-','38030643zYVsMR','APPLY_DUPLICATED','key','[LogService\x20Error]:\x20','on-line-icon_clip0_910_349','dirtyRanges','string','whenReady','_toggleOnline','handleInsertRangeMoveRight','_localeService','_initWindowErrorListener','row','newValue','tag','setStateCache','path','session.will-retry','DocSelectionManagerService','_releaseCalculationLimit','YUUMI_UNABLE_LOAD_URL','idSuffix','svg','Error','executeCommand','SNAPSHOT_INVALID_SNAPSHOT','DataLoaderService','displayName','_removeCollabCursors','Rect','source','exports','_handleJoinEvent','_docSkeleton','NodePositionConvertToRectRange','UniverInstanceType','MOBILE_HAS_BEEN_BOUND','fromEvent','getRelativeToViewportCoord','REDEMPTION_CODE_INACTIVE','onPointerLeave$','YUUMI_SUBSCRIPTION_NOT_FOUND','_initCommandExecutedListener','_unitOnClients','getUniverSheetInstance','getTypeOfUnitDisposed$','blue.400','_hideTimer','setAlpha','RemoveRowCommandId','filter','startRow','ticket','ENTITLE_DUP_SUBSCRIPTION','MemberService','unshift','createSocket','_initUnhandledRejectionListener','assign','shift','clsx','_docTransformSelectionsService','_notificationService','ILocalCacheService','_injector','uni.network.url-service','_startDocCollabCursor','CURRENT_STATUS_CANNOT_OPERATE','unit','ITransformService','off-line-icon','use','unsubscribe','fromEventSubject','DeleteRangeMoveUpCommandId','setShapeProps','_checkCalculationAvailable','M0\x200H16V16H0z','collab-client.tooltip.reconnect','_anchor','code','collabStatus.conflict','_getSaveTimeout','_renderManagerService','_transformService','unhandledrejection','LICENSE_EXPORT_SIZE_EXCEEDED','origin','setConfig','random','VIEW_MAIN','BuiltInUIPart','_initDependencies','skeleton','height','_maxFormulaLimit','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','makeDirty','INVITE_CODE_HAS_BEEN_UES','getCellPositionByOffset','dispose$','getUnit','_scene','doc.mutation.rich-text-editing','size','SUBMIT_CHANGESET_TIMEOUT','min','defineProperty','saveTaskMap','getSkeleton','USERS_LEAVE','USER_NOT_INVITED_CODE','InsertRangeMoveRightCommandId','CollaborationEvent','InsertColCommandId','REDEMPTION_USER_REDEEM_TIMES_EXCEED','onCommandExecuted','takeUntil','_hovered','CLOSE_ROOM','_revisionService','_transformUndoRedoStack','disposeWithMe','ENTITLE_CHAT_LIMIT_EXCEED','ENSURE_SNAPSHOT_EXECUTION','parseInt','SheetSkeletonManagerService','moveTo','stage','pushState','updateOfflineData','UniverProCollaborationClient','transformStateCache','_initResize','getStateCache','setTimeout','_colorIndex','removeEventListener','_memberService','beforeCommandExecuted','_handleEvent','ISocketService','_collaborationUIEventService','url(#on-line-icon_clip0_910_349)','_initStatusListener','AWAITING','mutations','getSheetId','sessionStatus$','distinctUntilChanged','transformSelections','_roomMembers$','Subject','_messageService','error','url(#$1','@univerjs/drawing','entries','collabStatus.syncing','ISnapshotServerService','_showGuardMessage','getOffsetConfig','UNRECOGNIZED','getSheetObject','_handleHover','transformRemoteChangeset','isTransformMutationFailure','getCoordByCell','wsSessionTicketUrl','Optional','getCollabCursors$','amd','_startCalculationLimit','_cursorInfo$','collabStatus.fetchMiss','_collaborationSessionService','CollaborationController','replaceDocRanges','_localStorageService','white','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','APPLY_NON_SEQUENTIAL_REVISION','_collaborationController','_anchorDot','current','getMemberID','_initEvent','currentTheme$','width','getTypeOfUnitAdded$','startFormulaLimitUrl','_drawRectRange','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','exhaustSavingTask','ERROR_AGAIN','rxjs/operators','clipPath','OTHER_CLIENTS_EDITING','fillText','getformulaLimitStatusUrl','UniverProCollaboration','roomMembers','EffectRefRangId','toStringTag','setInterval','LocaleService','fillStyle','ENTITLE_INVALID_COUPON_CODE','IURLService','requireSession','children','map','getValue','INVALID_INVITE_CODE','mapTo','stack','_session','/universer-api/license/formula/limit/start','UPDATE_CURSOR','_heartbeatTimer','_handleLeaveEvent','show','SUCCESS','_docClipboardService','selections','/universer-api/license/formula/limit/status','[RemoteUniscriptService]:\x20no\x20focused\x20unit','SNAPSHOT_HAS_BEEN_REMOVED','_collabCursorController','maxFormulaLimit','UniverSheetsUi','ENTITLE_INSUFFICIENT_QUOTA','m2Prime','_getFormulaLimitStatus','addObject','getUnitId','_getScale','top','UniverCollaborationClientUIPlugin','onPointerMove$','_getSheetObject','_document','toString','debounce','round','lineTo','_localCacheService','@univerjs/design','CONFLICT','removeParam','clearInterval','TEXT_RANGE_LAYER_INDEX','subscribeEvent','off-line-icon_clip0_910_343','forwardRef','UniverEngineFormula','NodePositionConvertToCursor','catch','PY_RUNTIME_SCRIPT_ERROR','lineno','Unknown\x20user','sheetId','on-line-icon','limitInfo','collab-text-range-','SetTextSelectionsOperation','setActiveRange','_collabCursorState$','getCurrent','beginPath','@univerjs/core','green.600','ENTITLE_REPORT_LIMIT_EXCEED','DocCollaborationEntity','deserializeRangeWithSheet','WECHAT_HAS_BEEN_BOUND','ENTITLE_USE_COUPON_NOT_1ST_TRADE','toRgbString','OFFLINE','reason','_transformHistoryAndStateStack','Plugin','result','DependentOn','collaboration.offline-data-not-saved','disposeUnit','body','_onRefRangeChange','FormulaExecutedStateType','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','@univerjs/sheets-ui','LICENSE_MAX_UNITS_EXCEEDED','debounceTime','ALREADY_EXISTS','DocIMEInputManagerService','setItem','setParam','executionId','_status$','WebURLService','subunit','none','CollaborationUIEventService','_docSkeletonManagerService','restore','_monkeyPatchLogService','symbol','history','IMessageService','CollaborationSessionService','getColorFromTheme','onPointerEnter$','handleInsertRangeMoveDown','_onCursorDelete','getCellMatrix','currentColor','_docSyncEditingCollabCursorService','1em','Workbook','endRow','_online','currentUsage','stringify','Module','_textBubble','now','isActive','_refreshCollabCursors','search','subscribe','onStarting','_taskIds','MOBILE_VERIFY_CODE_MISMATCH','isEditing','switchMap','IRenderManagerService','RegularPolygon','setUndoRedoMutationParamsCache','_univerInstanceService','@univerjs/docs-ui','operators','jiqing.500','REDEMPTION_CODE_HAS_BEEN_CREATED','YUUMI_NO_CUBOID_FOR_QUESTION','Injector','_handleHeartbeatEvent','serializeRangeWithSheet','_imageIoService','START_CALCULATION','isArray','collabStatus.offline','touchDependencies','DocSkeletonManagerService','collabStatus.synced','DATA_SOURCE_TOO_LARGE','SheetsSelectionsService','React','INVITE_CODE_REQUIRED','dispose','_setupSubUnitSync','with','syncEditingCollabCursor','subUnitId','react/jsx-runtime','_colorAssignService','SOCKET_FAILED_RETRY','_init','_range','set','cursorInfo$','_scheduleSaving','push','IConfigService','UNIVER_SHEET','text','getFocusedUnit','@univerjs/sheets','SetDocZoomRatioOperation','_labelPosition','transformIMECache','@univerjs/engine-render','getSheetBySheetId','get','_initCommandInterceptor','_collabSessionService','save','endColumn','Inject','_docStateChangeManagerService','COMPLETION_FINISHED','TRANSFORM_CHANGE_OBSERVABLE_TYPE','/universer-api/frontend/logs','getMember','SetFormulaCalculationNotificationMutation','has','params','_updateCollabCursors','_urlService','_cursor','EMAIL_HAS_BEEN_BOUND','getLocalCacheKey','IUIPartsService','getOwnPropertyDescriptor','_name','searchParams','_draw','_assignedColors','_uploadLog','REDEMPTION_USER_NOT_ELIGIBLE','editingUnit','_doCreateSocket','3415986kBKNKB','jsx','ACTIVE_UNIT_EVENT_CHANNEL','5870396VZSIYw','contains','_registerDependencies','getColor','LICENSE_IMPORT_SIZE_EXCEEDED','Shape','href','_initEntityListener','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','TOO_MANY_REQUESTS','collab-rect-range-','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getViewport','urlChange$','ThemeService','[Unhandled\x20Rejection]:\x20','getVpScrollXYInfoByPosToVp','_hover','YUUMI_AI_RUN_FAILED','SessionStatus','LICENSE_DISTRO_REJECTED','runId','USER_IS_ANONYMOUS','connectInjector','_sheetSkeletonManagerService','session.connection-failed','_entities','_docTransformStateCacheService','Failed','RichTextEditingMutation','_shapes','collab-text-anchor-','getCurrentUnitForType','PAYMENT_CHANNEL_NOT_SUPPORT','Rectangle','getAncestorScale','bottom','selection','_docTransformIMECacheService','getParam'];_0x1f30=function(){return _0x144e7f;};return _0x1f30();}function _0x2163(_0x36a24c,_0x5f8c48){_0x36a24c=_0x36a24c-0x198;const _0x1f3066=_0x1f30();let _0x2163e9=_0x1f3066[_0x36a24c];return _0x2163e9;}(function(_0x541fd9,_0x486123){const _0x45b5df=_0x2163,_0x414479=_0x541fd9();while(!![]){try{const _0x4c15b4=parseInt(_0x45b5df(0x39c))/0x1*(parseInt(_0x45b5df(0x3d2))/0x2)+-parseInt(_0x45b5df(0x331))/0x3+parseInt(_0x45b5df(0x3d1))/0x4*(parseInt(_0x45b5df(0x44c))/0x5)+parseInt(_0x45b5df(0x45d))/0x6+parseInt(_0x45b5df(0x334))/0x7+parseInt(_0x45b5df(0x43a))/0x8+parseInt(_0x45b5df(0x490))/0x9*(-parseInt(_0x45b5df(0x38a))/0xa);if(_0x4c15b4===_0x486123)break;else _0x414479['push'](_0x414479['shift']());}catch(_0x4439ad){_0x414479['push'](_0x414479['shift']());}}}(_0x1f30,0xdfc8a),function(_0x3cf91d,_0x3c3210){const _0x4d152e=_0x2163;typeof exports==_0x4d152e(0x42d)&&typeof module<'u'?_0x3c3210(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==_0x4d152e(0x479)&&define[_0x4d152e(0x241)]?define([_0x4d152e(0x1b5),_0x4d152e(0x301),_0x4d152e(0x433),_0x4d152e(0x2a4),'@univerjs/ui',_0x4d152e(0x442),_0x4d152e(0x28d),_0x4d152e(0x3a2),'@univerjs/rpc',_0x4d152e(0x30e),_0x4d152e(0x312),_0x4d152e(0x462),_0x4d152e(0x2e9),_0x4d152e(0x232),_0x4d152e(0x3b2),'@univerjs/docs','@univerjs/engine-formula',_0x4d152e(0x259),_0x4d152e(0x2b8)],_0x3c3210):(_0x3cf91d=typeof globalThis<'u'?globalThis:_0x3cf91d||self,_0x3c3210(_0x3cf91d['UniverProCollaborationClientUi']={},_0x3cf91d[_0x4d152e(0x2fa)],_0x3cf91d[_0x4d152e(0x219)],_0x3cf91d[_0x4d152e(0x466)],_0x3cf91d[_0x4d152e(0x387)],_0x3cf91d[_0x4d152e(0x442)],_0x3cf91d[_0x4d152e(0x3b9)],_0x3cf91d['React'],_0x3cf91d['UniverRpc'],_0x3cf91d[_0x4d152e(0x3d0)],_0x3cf91d['UniverEngineRender'],_0x3cf91d['UniverNetwork'],_0x3cf91d[_0x4d152e(0x3cf)],_0x3cf91d[_0x4d152e(0x40d)],_0x3cf91d[_0x4d152e(0x25e)],_0x3cf91d[_0x4d152e(0x3bd)],_0x3cf91d[_0x4d152e(0x295)],_0x3cf91d[_0x4d152e(0x442)][_0x4d152e(0x2ea)],_0x3cf91d[_0x4d152e(0x27c)]));}(this,function(_0x109cc1,_0x3d7e11,_0x463ba0,_0x4ce188,_0x577183,_0x4d6cca,_0x523600,_0x29b3ac,_0x5aaaee,_0x1fcf92,_0xcd5ffc,_0x1d4876,_0x1bfa4c,_0x31c46d,_0x5f3c3e,_0x4ebf52,_0xf94d0f,_0x133836,_0x406458){'use strict';const _0x28c363=_0x2163;var _0x4ff067=Object[_0x28c363(0x201)],_0xf5aeaf=(_0x2c6513,_0x1de0e3,_0x5dd025)=>_0x1de0e3 in _0x2c6513?_0x4ff067(_0x2c6513,_0x1de0e3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5dd025}):_0x2c6513[_0x1de0e3]=_0x5dd025,_0x2002db=(_0x3d50b8,_0x5e0f05,_0x1d13dd)=>_0xf5aeaf(_0x3d50b8,typeof _0x5e0f05!=_0x28c363(0x2c8)?_0x5e0f05+'':_0x5e0f05,_0x1d13dd);function _0x3735e6({ref:_0x2f2530,..._0x5c8326}){const _0x10de19=_0x28c363,{icon:_0x5d9797,id:_0x468ac6,className:_0x3163ec,extend:_0x195ffb,..._0x2b27bf}=_0x5c8326,_0xda3322=(_0x10de19(0x48f)+_0x468ac6+'\x20'+(_0x3163ec||''))['trim'](),_0xc51ca8=_0x29b3ac['useRef']('_'+_0x2e5f45());return _0x49dea5(_0x5d9797,''+_0x468ac6,{'defIds':_0x5d9797[_0x10de19(0x483)],'idSuffix':_0xc51ca8[_0x10de19(0x24e)]},{'ref':_0x2f2530,'className':_0xda3322,..._0x2b27bf},_0x195ffb);}function _0x49dea5(_0x312c7b,_0x1c9b4a,_0xcdc1c2,_0x117774,_0x652577){const _0x5e51ac=_0x28c363;return _0x29b3ac['createElement'](_0x312c7b['tag'],{'key':_0x1c9b4a,..._0x39af35(_0x312c7b,_0xcdc1c2,_0x652577),..._0x117774},(_0x414693(_0x312c7b,_0xcdc1c2)[_0x5e51ac(0x268)]||[])[_0x5e51ac(0x269)]((_0x222ab5,_0xa8741c)=>_0x49dea5(_0x222ab5,_0x1c9b4a+'-'+_0x312c7b[_0x5e51ac(0x1a4)]+'-'+_0xa8741c,_0xcdc1c2,void 0x0,_0x652577)));}function _0x39af35(_0x46f528,_0x231388,_0x2afced){const _0x365be7=_0x28c363,_0xcdf056={..._0x46f528[_0x365be7(0x469)]};_0x2afced!=null&&_0x2afced[_0x365be7(0x3fa)]&&_0xcdf056['fill']==='colorChannel1'&&(_0xcdf056[_0x365be7(0x37a)]=_0x2afced[_0x365be7(0x3fa)]),_0x46f528[_0x365be7(0x1a4)]===_0x365be7(0x419)&&_0xcdf056['id']&&(_0xcdf056['id']=_0xcdf056['id']+_0x231388[_0x365be7(0x1ab)]),Object['entries'](_0xcdf056)[_0x365be7(0x385)](([_0x4a95ee,_0x1ed9d0])=>{const _0x1806d6=_0x365be7;_0x4a95ee===_0x1806d6(0x419)&&typeof _0x1ed9d0=='string'&&(_0xcdf056[_0x4a95ee]=_0x1ed9d0[_0x1806d6(0x41b)](/url\(#(.*)\)/,_0x1806d6(0x231)+_0x231388[_0x1806d6(0x1ab)]+')'));});const {defIds:_0x38c757}=_0x231388;return!_0x38c757||_0x38c757[_0x365be7(0x3e9)]===0x0||(_0x46f528[_0x365be7(0x1a4)]===_0x365be7(0x1dd)&&_0xcdf056[_0x365be7(0x480)]&&(_0xcdf056[_0x365be7(0x480)]=_0xcdf056[_0x365be7(0x480)]+_0x231388[_0x365be7(0x1ab)]),Object[_0x365be7(0x233)](_0xcdf056)['forEach'](([_0x539257,_0x29e631])=>{const _0xdb7e9f=_0x365be7;typeof _0x29e631=='string'&&(_0xcdf056[_0x539257]=_0x29e631['replace'](/url\(#(.*)\)/,_0xdb7e9f(0x231)+_0x231388['idSuffix']+')'));})),_0xcdf056;}function _0x414693(_0x46a2ed,_0x572ae4){const _0x4adb15=_0x28c363;var _0x449b57;const {defIds:_0x2b019c}=_0x572ae4;return!_0x2b019c||_0x2b019c['length']===0x0?_0x46a2ed:_0x46a2ed['tag']===_0x4adb15(0x473)&&((_0x449b57=_0x46a2ed['children'])!=null&&_0x449b57[_0x4adb15(0x3e9)])?{..._0x46a2ed,'children':_0x46a2ed[_0x4adb15(0x268)][_0x4adb15(0x269)](_0x178fe6=>typeof _0x178fe6[_0x4adb15(0x469)]['id']==_0x4adb15(0x19c)&&_0x2b019c&&_0x2b019c[_0x4adb15(0x3e0)](_0x178fe6[_0x4adb15(0x469)]['id'])?{..._0x178fe6,'attrs':{..._0x178fe6[_0x4adb15(0x469)],'id':_0x178fe6[_0x4adb15(0x469)]['id']+_0x572ae4[_0x4adb15(0x1ab)]}}:_0x178fe6)}:_0x46a2ed;}function _0x2e5f45(){const _0x298f54=_0x28c363;return Math[_0x298f54(0x1ef)]()[_0x298f54(0x288)](0x24)[_0x298f54(0x37e)](0x2,0x8);}_0x3735e6[_0x28c363(0x1b1)]=_0x28c363(0x412);const _0x5ab5f3={'tag':_0x28c363(0x1ac),'attrs':{'xmlns':_0x28c363(0x3bb),'fill':_0x28c363(0x2c3),'viewBox':_0x28c363(0x376),'width':_0x28c363(0x2d3),'height':_0x28c363(0x2d3)},'children':[{'tag':'g','attrs':{'clipPath':_0x28c363(0x3b6)},'children':[{'tag':_0x28c363(0x1a6),'attrs':{'stroke':_0x28c363(0x2d1),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x28c363(0x28a),'strokeLinejoin':_0x28c363(0x28a),'strokeWidth':1.2}}]},{'tag':_0x28c363(0x473),'attrs':{},'children':[{'tag':_0x28c363(0x25a),'attrs':{'id':_0x28c363(0x293)},'children':[{'tag':'path','attrs':{'fill':_0x28c363(0x249),'d':_0x28c363(0x1e3)}}]}]}],'defIds':[_0x28c363(0x293)]},_0x4f7356=_0x29b3ac[_0x28c363(0x294)](function(_0x37be74,_0x4d0202){const _0x37ffcb=_0x28c363;return _0x29b3ac[_0x37ffcb(0x45e)](_0x3735e6,Object[_0x37ffcb(0x1d0)]({},_0x37be74,{'id':_0x37ffcb(0x1dc),'ref':_0x4d0202,'icon':_0x5ab5f3}));});_0x4f7356['displayName']=_0x28c363(0x447);const _0x454177={'tag':_0x28c363(0x1ac),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x28c363(0x2c3),'viewBox':_0x28c363(0x381),'width':_0x28c363(0x2d3),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x28c363(0x225)},'children':[{'tag':_0x28c363(0x1a6),'attrs':{'stroke':_0x28c363(0x2d1),'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':_0x28c363(0x28a),'strokeLinejoin':_0x28c363(0x28a),'strokeWidth':1.2}}]},{'tag':_0x28c363(0x473),'attrs':{},'children':[{'tag':_0x28c363(0x25a),'attrs':{'id':_0x28c363(0x19a)},'children':[{'tag':'path','attrs':{'fill':_0x28c363(0x249),'d':_0x28c363(0x1e3),'transform':_0x28c363(0x379)}}]}]}],'defIds':[_0x28c363(0x19a)]},_0x29c408=_0x29b3ac['forwardRef'](function(_0x1d1616,_0x5c0c4e){const _0x3fd110=_0x28c363;return _0x29b3ac[_0x3fd110(0x45e)](_0x3735e6,Object['assign']({},_0x1d1616,{'id':_0x3fd110(0x29c),'ref':_0x5c0c4e,'icon':_0x454177}));});_0x29c408[_0x28c363(0x1b1)]=_0x28c363(0x3ca);function _0x4127e1(_0x2cbd38){const _0x22e4be=_0x28c363;switch(_0x2cbd38){case _0x463ba0['CollaborationStatus']['OFFLINE']:return _0x22e4be(0x2f4);case _0x463ba0[_0x22e4be(0x3b7)]['CONFLICT']:return _0x22e4be(0x1e7);case _0x463ba0[_0x22e4be(0x3b7)]['FETCH_MISS']:return _0x22e4be(0x244);case _0x463ba0[_0x22e4be(0x3b7)][_0x22e4be(0x3c4)]:return'collabStatus.notCollab';case _0x463ba0[_0x22e4be(0x3b7)][_0x22e4be(0x227)]:case _0x463ba0[_0x22e4be(0x3b7)][_0x22e4be(0x459)]:return _0x22e4be(0x234);case _0x463ba0['CollaborationStatus'][_0x22e4be(0x439)]:case _0x463ba0[_0x22e4be(0x3b7)][_0x22e4be(0x3e7)]:return _0x22e4be(0x2f7);}}function _0x466448(_0x3a449d){const _0x38bb80=_0x28c363,{status$:_0x2f8940}=_0x3a449d,_0x5b9d0f=_0x577183[_0x38bb80(0x46f)](_0x2f8940,_0x463ba0['CollaborationStatus']['NOT_COLLAB']),_0x18df60=_0x577183['useDependency'](_0x4ce188[_0x38bb80(0x263)]),_0x37ed8d=_0x577183['useDependency'](_0x463ba0[_0x38bb80(0x2cb)]),_0x4c61f3=_0x5b9d0f!==_0x463ba0[_0x38bb80(0x3b7)][_0x38bb80(0x2ac)],_0xe502c6=_0x18df60['t'](_0x4127e1(_0x5b9d0f)),_0x4d7de6=_0x4c61f3?_0x3d7e11['jsx'](_0x29c408,{}):_0x3d7e11[_0x38bb80(0x332)](_0x4f7356,{}),_0x28d0bb=_0x29b3ac['useCallback'](()=>{_0x4c61f3||_0x37ed8d['reconnect']();},[_0x4c61f3,_0x37ed8d]);function _0x54a851(){const _0x1db42c=_0x38bb80;return _0x3d7e11['jsxs'](_0x1db42c(0x422),{'className':'univer-flex\x20univer-items-center','onClick':_0x28d0bb,'children':[_0x3d7e11[_0x1db42c(0x332)]('div',{'className':_0x523600[_0x1db42c(0x1d2)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x4c61f3,'univer-text-red-500':!_0x4c61f3}),'children':_0x4d7de6}),_0x3d7e11[_0x1db42c(0x332)](_0x1db42c(0x422),{'className':_0x1db42c(0x24a),'children':_0xe502c6})]});}return _0x4c61f3?_0x54a851():_0x3d7e11[_0x38bb80(0x332)](_0x523600[_0x38bb80(0x36c)],{'title':_0x18df60['t'](_0x38bb80(0x1e4)),'children':_0x54a851()});}var _0x29cc3a=Object['getOwnPropertyDescriptor'],_0x2c0dfe=(_0x35349a,_0x3138d5,_0x4352d3,_0x4e2ba1)=>{const _0x70e69a=_0x28c363;for(var _0x4ddea7=_0x4e2ba1>0x1?void 0x0:_0x4e2ba1?_0x29cc3a(_0x3138d5,_0x4352d3):_0x3138d5,_0x202fb4=_0x35349a[_0x70e69a(0x3e9)]-0x1,_0x418f8c;_0x202fb4>=0x0;_0x202fb4--)(_0x418f8c=_0x35349a[_0x202fb4])&&(_0x4ddea7=_0x418f8c(_0x4ddea7)||_0x4ddea7);return _0x4ddea7;},_0x3e25e7=(_0x3d34f2,_0x391b88)=>(_0x12e9ec,_0x10af42)=>_0x391b88(_0x12e9ec,_0x10af42,_0x3d34f2);_0x109cc1['DesktopCollaborationStatusDisplayController']=class extends _0x4ce188['Disposable']{constructor(_0x548ff3,_0x59ee79,_0x1db328,_0x120473){const _0x563d66=_0x28c363;super(),_0x2002db(this,_0x563d66(0x2c0),new _0x4d6cca[(_0x563d66(0x36e))](_0x463ba0['CollaborationStatus'][_0x563d66(0x3c4)])),(this[_0x563d66(0x2e8)]=_0x548ff3,this[_0x563d66(0x1d6)]=_0x59ee79,this[_0x563d66(0x24c)]=_0x1db328,this[_0x563d66(0x3dd)]=_0x120473,this[_0x563d66(0x472)](),this[_0x563d66(0x226)]());}[_0x28c363(0x226)](){const _0x10d6ed=_0x28c363;this['disposeWithMe'](this[_0x10d6ed(0x2e8)]['focused$'][_0x10d6ed(0x397)](_0x4d6cca[_0x10d6ed(0x2e4)](()=>{const _0x42dfb1=_0x10d6ed,_0x24da62=this['_univerInstanceService'][_0x42dfb1(0x30d)]();return _0x24da62?this['_collaborationController']['getCollabEntity$'](_0x24da62[_0x42dfb1(0x281)]()):_0x4d6cca['of'](null);}),_0x4d6cca[_0x10d6ed(0x2e4)](_0x1437cf=>_0x1437cf?_0x1437cf[_0x10d6ed(0x35c)]:_0x4d6cca['of'](_0x463ba0['CollaborationStatus'][_0x10d6ed(0x3c4)])))[_0x10d6ed(0x2df)](_0x1cca20=>{const _0x37ad53=_0x10d6ed;this[_0x37ad53(0x2c0)][_0x37ad53(0x395)](_0x1cca20);}));}[_0x28c363(0x472)](){const _0x26f12e=_0x28c363;this[_0x26f12e(0x210)](this[_0x26f12e(0x3dd)]['registerComponent'](_0x577183[_0x26f12e(0x1f1)][_0x26f12e(0x363)],()=>_0x577183[_0x26f12e(0x34b)](_0x45d1cf({'status$':this['_status$'][_0x26f12e(0x373)]()}),this['_injector'])));}},_0x109cc1[_0x28c363(0x3ac)]=_0x2c0dfe([_0x3e25e7(0x0,_0x4ce188[_0x28c363(0x398)]),_0x3e25e7(0x1,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x2ee)])),_0x3e25e7(0x2,_0x4ce188[_0x28c363(0x319)](_0x463ba0[_0x28c363(0x246)])),_0x3e25e7(0x3,_0x577183[_0x28c363(0x327)])],_0x109cc1[_0x28c363(0x3ac)]);function _0x45d1cf(_0x1b3cf0){const {status$:_0x5dc0ef}=_0x1b3cf0;return function(){const _0x553d86=_0x2163;return _0x3d7e11[_0x553d86(0x332)](_0x466448,{'status$':_0x5dc0ef});};}const _0x204646=_0x4ce188['createIdentifier'](_0x28c363(0x1d7));var _0x2d9acb=Object[_0x28c363(0x328)],_0x4a9e8c=(_0x14c9e3,_0xd715e,_0x2b7858,_0x5f1ee1)=>{const _0x4aa59f=_0x28c363;for(var _0x5981b6=_0x5f1ee1>0x1?void 0x0:_0x5f1ee1?_0x2d9acb(_0xd715e,_0x2b7858):_0xd715e,_0xcad15f=_0x14c9e3[_0x4aa59f(0x3e9)]-0x1,_0x46e82e;_0xcad15f>=0x0;_0xcad15f--)(_0x46e82e=_0x14c9e3[_0xcad15f])&&(_0x5981b6=_0x46e82e(_0x5981b6)||_0x5981b6);return _0x5981b6;},_0x5b9760=(_0xe34b9,_0x4e7358)=>(_0x15e131,_0x1db19b)=>_0x4e7358(_0x15e131,_0x1db19b,_0xe34b9);_0x109cc1[_0x28c363(0x443)]=class extends _0x4ce188['RxDisposable']{constructor(_0x550cda,_0x382e69,_0x3d7231,_0x2ab9b0,_0x429153){const _0x133f1d=_0x28c363;super(),this['_urlService']=_0x550cda,this[_0x133f1d(0x3ff)]=_0x382e69,this[_0x133f1d(0x3b3)]=_0x3d7231,this[_0x133f1d(0x37f)]=_0x2ab9b0,_0x429153?_0x429153==null||_0x429153[_0x133f1d(0x19d)]()[_0x133f1d(0x3f1)](()=>this[_0x133f1d(0x304)]()):(this[_0x133f1d(0x3ff)][_0x133f1d(0x3e5)](_0x133f1d(0x39d),_0x133f1d(0x33c)),this[_0x133f1d(0x304)]());}async[_0x28c363(0x304)](){const _0x458b0c=_0x28c363,_0x4b6a3e=this['_urlService']['getParam']('unit'),_0xdaa84=this['_urlService'][_0x458b0c(0x35b)](_0x458b0c(0x372)),_0x48a23a=this[_0x458b0c(0x323)][_0x458b0c(0x35b)](_0x458b0c(0x2c2));if(!_0x4b6a3e||!_0xdaa84){this['_logService'][_0x458b0c(0x3e5)](_0x458b0c(0x39d),_0x458b0c(0x33f));return;}const _0x3d9b01=await this['_dataLoaderService']['loadUnit'](_0x4b6a3e,Number(_0xdaa84),_0x48a23a);_0x3d9b01&&_0x3d9b01 instanceof _0x4ce188[_0x458b0c(0x2d4)]&&this['_setupSubUnitSync'](_0x3d9b01);}async[_0x28c363(0x2fd)](_0x29a816){const _0x3dbc37=_0x28c363;await this[_0x3dbc37(0x40c)](_0x29a816),_0x29a816['activeSheet$'][_0x3dbc37(0x397)](_0x4d6cca[_0x3dbc37(0x20b)](this[_0x3dbc37(0x1fa)]))['subscribe'](_0x4a7772=>{_0x4a7772&&this['_updateURLWithCurrentState'](_0x4a7772);}),this[_0x3dbc37(0x323)][_0x3dbc37(0x341)][_0x3dbc37(0x397)](_0x4d6cca['takeUntil'](this[_0x3dbc37(0x1fa)]))[_0x3dbc37(0x2df)](()=>this['_updateSubUnitFromURLParams'](_0x29a816));}['_updateURLWithCurrentState'](_0x187edd,_0xc1d051=!0x1){const _0xbc2db=_0x28c363,_0x223bab=this[_0xbc2db(0x323)][_0xbc2db(0x35b)](_0xbc2db(0x2c2));_0x187edd[_0xbc2db(0x229)]()!==_0x223bab&&this['_urlService'][_0xbc2db(0x2be)](_0xbc2db(0x2c2),_0x187edd[_0xbc2db(0x229)](),_0xc1d051);}async['_updateSubUnitFromURLParams'](_0x590816){const _0x4533c4=_0x28c363;var _0x34c69e;const _0x3c3f2c=this['_urlService'][_0x4533c4(0x35b)](_0x4533c4(0x2c2));if(!_0x3c3f2c||!_0x590816[_0x4533c4(0x313)](_0x3c3f2c)){const _0x257d01=_0x590816['getUnhiddenWorksheets']()[0x0],_0x124f14=_0x590816['getSheetBySheetId'](_0x257d01);if(!_0x124f14)return;this[_0x4533c4(0x46a)](_0x124f14,!0x0),await this[_0x4533c4(0x3b3)][_0x4533c4(0x1ae)](_0x1fcf92[_0x4533c4(0x3c5)]['id'],{'unitId':_0x590816['getUnitId'](),'subUnitId':_0x257d01});return;}((_0x34c69e=_0x590816[_0x4533c4(0x457)]())==null?void 0x0:_0x34c69e[_0x4533c4(0x229)]())!==_0x3c3f2c&&await this['_commandService']['executeCommand'](_0x1fcf92[_0x4533c4(0x3c5)]['id'],{'unitId':_0x590816['getUnitId'](),'subUnitId':_0x3c3f2c});}},_0x109cc1['CollaborationDataLoaderController']=_0x4a9e8c([_0x5b9760(0x0,_0x204646),_0x5b9760(0x1,_0x4ce188[_0x28c363(0x367)]),_0x5b9760(0x2,_0x4ce188['ICommandService']),_0x5b9760(0x3,_0x4ce188[_0x28c363(0x319)](_0x463ba0[_0x28c363(0x1b0)])),_0x5b9760(0x4,_0x4ce188[_0x28c363(0x23f)](_0x5aaaee[_0x28c363(0x3ee)]))],_0x109cc1['CollaborationDataLoaderController']);var _0x1322f3=Object['getOwnPropertyDescriptor'],_0x20f952=(_0x13691c,_0x183f9e,_0x2e2323,_0x906436)=>{for(var _0x166b0e=_0x906436>0x1?void 0x0:_0x906436?_0x1322f3(_0x183f9e,_0x2e2323):_0x183f9e,_0x1aaa61=_0x13691c['length']-0x1,_0x547188;_0x1aaa61>=0x0;_0x1aaa61--)(_0x547188=_0x13691c[_0x1aaa61])&&(_0x166b0e=_0x547188(_0x166b0e)||_0x166b0e);return _0x166b0e;},_0x1c6190=(_0x1ca324,_0x55a123)=>(_0x18b992,_0x16ff3f)=>_0x55a123(_0x18b992,_0x16ff3f,_0x1ca324);let _0x288851=class extends _0x4ce188[_0x28c363(0x3f3)]{constructor(_0xc87200,_0x5c359b){const _0x55cd16=_0x28c363;super(),this[_0x55cd16(0x275)]=_0xc87200,this[_0x55cd16(0x2f1)]=_0x5c359b,this[_0x55cd16(0x304)]();}[_0x28c363(0x304)](){const _0x5c9e1d=_0x28c363,_0xc96039=this;this['disposeWithMe'](this[_0x5c9e1d(0x275)]['addClipboardHook']({'onBeforePasteImage':async _0x464539=>{const _0x26c265=_0x5c9e1d,_0x5e59cc=await _0xc96039['_imageIoService']['saveImage'](_0x464539);return _0x5e59cc?{'source':_0x5e59cc[_0x26c265(0x1b4)],'imageSourceType':_0x5e59cc[_0x26c265(0x3f5)]}:null;}}));}};_0x288851=_0x20f952([_0x1c6190(0x0,_0x1bfa4c['IDocClipboardService']),_0x1c6190(0x1,_0x31c46d[_0x28c363(0x414)])],_0x288851);const _0x7590f5=[_0x28c363(0x3a1),_0x28c363(0x2eb),_0x28c363(0x2a5),_0x28c363(0x3c9),_0x28c363(0x1c4),'yellow.400'];class _0x5937ca extends _0x4ce188[_0x28c363(0x3ba)]{constructor(){super(...arguments),_0x2002db(this,'_assignedColors',new Map()),_0x2002db(this,'_colorIndex',0x0);}[_0x28c363(0x46e)](_0x282e8c){const _0x429c35=_0x28c363;if(this['_assignedColors']['has'](_0x282e8c))return this[_0x429c35(0x32c)][_0x429c35(0x314)](_0x282e8c);const _0xcefbba=_0x7590f5[this[_0x429c35(0x21e)]];return this[_0x429c35(0x21e)]=(this['_colorIndex']+0x1)%_0x7590f5['length'],this[_0x429c35(0x32c)][_0x429c35(0x306)](_0x282e8c,_0xcefbba),_0xcefbba;}}function _0x10a2e2(_0xb73db1){const _0x1eeb22=_0x28c363;let _0x134675='';for(const _0x2e238f of _0xb73db1){const {startOffset:_0x3a0d0e,endOffset:_0x56b9b4,isActive:_0x2e2f14,rangeType:_0x55a8a3,segmentId:_0x1a4387,segmentPage:_0x2e4a89}=_0x2e238f;_0x134675[_0x1eeb22(0x3e9)]&&(_0x134675+=','),_0x134675+=_0x3a0d0e+':'+_0x56b9b4+':'+(_0x2e2f14?'1':'0')+':'+_0x55a8a3+':'+_0x1a4387+':'+_0x2e4a89;}return _0x134675;}function _0x57accd(_0x204702){const _0x277624=_0x28c363,_0x1eabaf=_0x204702[_0x277624(0x3e6)](','),_0x8c21a8=[];for(const _0x4b87f1 of _0x1eabaf){const [_0x32bf0c,_0x4a2bcd,_0x8a8261,_0x212a61,_0x343095,_0x257ddd]=_0x4b87f1[_0x277624(0x3e6)](':');_0x8c21a8[_0x277624(0x309)]({'startOffset':Number(_0x32bf0c),'endOffset':Number(_0x4a2bcd),'collapsed':_0x32bf0c===_0x4a2bcd,'isActive':_0x8a8261==='1','rangeType':_0x212a61===_0x4ce188[_0x277624(0x3fc)]['TEXT']?_0x4ce188[_0x277624(0x3fc)]['TEXT']:_0x4ce188[_0x277624(0x3fc)][_0x277624(0x43f)],'segmentId':typeof _0x343095==_0x277624(0x19c)?String(_0x343095):'','segmentPage':Number(_0x257ddd!=null?_0x257ddd:-0x1)});}return _0x8c21a8[_0x277624(0x3e3)](_0x246ff8=>_0x246ff8[_0x277624(0x2dc)])||(_0x8c21a8[0x0]['isActive']=!0x0),_0x8c21a8;}class _0x53ce46 extends _0x4ce188[_0x28c363(0x3f3)]{constructor(){const _0x5e3b53=_0x28c363;super(...arguments),_0x2002db(this,_0x5e3b53(0x2a1),new _0x4d6cca[(_0x5e3b53(0x36e))](null)),_0x2002db(this,_0x5e3b53(0x48b),this['_collabCursorState$']['asObservable']());}[_0x28c363(0x2ff)](_0x2311d8){const _0x24b3ad=_0x28c363,{unitID:_0x4b49ef,memberID:_0x2adf39,textRanges:_0x33ac34}=_0x2311d8,_0x22e023=_0x10a2e2(_0x33ac34);if(_0x22e023==='')return;const _0x33bbcd={'unitID':_0x4b49ef,'memberID':_0x2adf39,'selection':_0x22e023};this[_0x24b3ad(0x2a1)][_0x24b3ad(0x395)](_0x33bbcd);}}var _0x1b6d9f=Object[_0x28c363(0x328)],_0x3d3717=(_0x1e994c,_0x3cc13a,_0x485941,_0x346c0e)=>{for(var _0x155deb=_0x346c0e>0x1?void 0x0:_0x346c0e?_0x1b6d9f(_0x3cc13a,_0x485941):_0x3cc13a,_0x106954=_0x1e994c['length']-0x1,_0x4dd9c3;_0x106954>=0x0;_0x106954--)(_0x4dd9c3=_0x1e994c[_0x106954])&&(_0x155deb=_0x4dd9c3(_0x155deb)||_0x155deb);return _0x155deb;},_0xca0963=(_0x5e678f,_0x397edf)=>(_0x56f656,_0x38710c)=>_0x397edf(_0x56f656,_0x38710c,_0x5e678f);const _0x5ef029=0x12c,_0x184cdd=0x64;let _0x33dd8a=class extends _0x4ce188['RxDisposable']{constructor(_0x48036b,_0x46d634,_0x230f74,_0x2bddab,_0x734b35,_0x25330a,_0x36325,_0x5397f2,_0x4a4c88){const _0x12a29f=_0x28c363;super(),_0x2002db(this,_0x12a29f(0x2d6),!0x1),_0x2002db(this,_0x12a29f(0x304),!0x1),_0x2002db(this,_0x12a29f(0x243),new _0x4d6cca[(_0x12a29f(0x36e))](new Map())),_0x2002db(this,_0x12a29f(0x307),this[_0x12a29f(0x243)]['asObservable']()),_0x2002db(this,_0x12a29f(0x22d),new _0x4d6cca[(_0x12a29f(0x36e))]([])),_0x2002db(this,_0x12a29f(0x430),this[_0x12a29f(0x22d)][_0x12a29f(0x397)](_0x4d6cca[_0x12a29f(0x2ba)](_0x5ef029))),_0x2002db(this,'_updateLocalCursor',_0x4ce188['debounce'](_0x36fa17=>{const _0x1bfa58=_0x12a29f,_0x157689={'eventID':_0x5f3c3e[_0x1bfa58(0x207)][_0x1bfa58(0x270)],'data':{'unitID':this[_0x1bfa58(0x3dc)],'memberID':this[_0x1bfa58(0x26e)][_0x1bfa58(0x24f)](),'selection':_0x10a2e2(_0x36fa17)}};this['_session']['send'](_0x157689,this[_0x1bfa58(0x3dc)]);},_0x184cdd)),(this['unitID']=_0x48036b,this[_0x12a29f(0x26e)]=_0x46d634,this['_injector']=_0x230f74,this[_0x12a29f(0x302)]=_0x2bddab,this[_0x12a29f(0x220)]=_0x734b35,this[_0x12a29f(0x427)]=_0x25330a,this[_0x12a29f(0x1ea)]=_0x36325,this[_0x12a29f(0x2e8)]=_0x5397f2,this[_0x12a29f(0x3b3)]=_0x4a4c88);}get['cursorInfo'](){const _0x2e6f1c=_0x28c363;return this['_cursorInfo$'][_0x2e6f1c(0x26a)]();}get[_0x28c363(0x25f)](){const _0x57b620=_0x28c363;return this[_0x57b620(0x22d)][_0x57b620(0x26a)]();}[_0x28c363(0x2fc)](){const _0x1f8d52=_0x28c363;super[_0x1f8d52(0x2fc)](),this['_cursorInfo$']['next'](new Map()),this[_0x1f8d52(0x243)][_0x1f8d52(0x402)](),this[_0x1f8d52(0x22d)][_0x1f8d52(0x395)]([]),this[_0x1f8d52(0x22d)][_0x1f8d52(0x402)]();}[_0x28c363(0x482)](){const _0x5e6afa=_0x28c363;this['_init']||(this[_0x5e6afa(0x304)]=!0x0,this[_0x5e6afa(0x26e)][_0x5e6afa(0x22a)][_0x5e6afa(0x397)](_0x4d6cca[_0x5e6afa(0x20b)](this[_0x5e6afa(0x1fa)]))['subscribe'](_0x59fdfc=>{const _0x13e1bc=_0x5e6afa;_0x59fdfc===_0x463ba0[_0x13e1bc(0x347)][_0x13e1bc(0x3ea)]?this[_0x13e1bc(0x19e)]():this[_0x13e1bc(0x425)]();}),this[_0x5e6afa(0x26e)][_0x5e6afa(0x411)][_0x5e6afa(0x397)](_0x4d6cca[_0x5e6afa(0x20b)](this[_0x5e6afa(0x1fa)]))[_0x5e6afa(0x2df)](_0x281bb2=>{const _0x1f6b5b=_0x5e6afa,_0x3432b6=_0x281bb2[_0x1f6b5b(0x37b)];_0x3432b6===_0x5f3c3e['CollaborationEvent'][_0x1f6b5b(0x270)]&&this[_0x1f6b5b(0x451)](_0x281bb2),_0x3432b6===_0x5f3c3e['CollaborationEvent'][_0x1f6b5b(0x204)]&&this[_0x1f6b5b(0x2cf)](_0x281bb2);}),this[_0x5e6afa(0x210)](this[_0x5e6afa(0x3b3)][_0x5e6afa(0x20a)](_0x1f6e0d=>{const _0x4104ad=_0x5e6afa,_0x4cf502=_0x1f6e0d[_0x4104ad(0x321)];_0x4cf502!=null&&this[_0x4104ad(0x2d6)]&&_0x1f6e0d['id']===_0x4ebf52[_0x4104ad(0x29f)]['id']&&_0x4cf502[_0x4104ad(0x39f)]===this[_0x4104ad(0x3dc)]&&_0x4cf502[_0x4104ad(0x2e3)]===!0x1&&_0x4cf502[_0x4104ad(0x438)][_0x4104ad(0x3e9)]>0x0&&this[_0x4104ad(0x474)](_0x4cf502[_0x4104ad(0x438)]);})),this[_0x5e6afa(0x427)][_0x5e6afa(0x48b)][_0x5e6afa(0x397)](_0x4d6cca['takeUntil'](this[_0x5e6afa(0x1fa)]))[_0x5e6afa(0x2df)](_0x4172a3=>{const _0x300613=_0x5e6afa;if((_0x4172a3==null?void 0x0:_0x4172a3[_0x300613(0x3dc)])!==this['unitID'])return;const _0x41b647={'eventID':_0x5f3c3e[_0x300613(0x207)][_0x300613(0x270)],'data':_0x4172a3};this[_0x300613(0x451)](_0x41b647);}),this['disposeWithMe'](this[_0x5e6afa(0x3b3)][_0x5e6afa(0x20a)](_0x5d668e=>{const _0x1e4775=_0x5e6afa;if(_0x5d668e[_0x1e4775(0x321)]==null)return;const _0x4860aa=_0x5d668e[_0x1e4775(0x321)];if(_0x5d668e['id']!==_0x4ebf52[_0x1e4775(0x351)]['id']||_0x4860aa[_0x1e4775(0x39f)]!==this['unitID'])return;const _0x288dcc={'id':'doc.mutation.rich-text-editing','params':_0x4860aa},_0x336a68=this[_0x1e4775(0x393)];for(const [_0x1c0a7e,_0x5094ac]of _0x336a68){const _0x5c41a1={'id':'doc.mutation.rich-text-editing','params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5094ac[_0x1e4775(0x438)]}},_0x5a484b=this[_0x1e4775(0x1ea)][_0x1e4775(0x3af)](_0x288dcc,_0x5c41a1,!0x1);if(_0x5f3c3e['isTransformMutationFailure'](_0x5a484b))throw _0x5a484b[_0x1e4775(0x230)];_0x336a68[_0x1e4775(0x306)](_0x1c0a7e,{..._0x5094ac,'ranges':_0x5a484b[_0x1e4775(0x27e)]['params']['textRanges']});}queueMicrotask(()=>{const _0x3f1159=_0x1e4775;this[_0x3f1159(0x243)][_0x3f1159(0x395)](_0x336a68);});})));}[_0x28c363(0x451)](_0x1b4055){const _0x5839bf=_0x28c363;var _0x4b652a,_0x1ab7f1;const {memberID:_0x31f8ce,selection:_0xc89563}=_0x1b4055['data'],_0x1f7b9a=_0x57accd(_0xc89563),_0xbeb6be=(_0x1ab7f1=(_0x4b652a=this['_memberService'][_0x5839bf(0x31e)](this[_0x5839bf(0x3dc)],_0x31f8ce))==null?void 0x0:_0x4b652a[_0x5839bf(0x429)])!=null?_0x1ab7f1:_0x5839bf(0x29a),_0x29667a={'color':this[_0x5839bf(0x302)]['assignAColorForMemberID'](_0x31f8ce),'name':_0xbeb6be,'ranges':_0x1f7b9a},_0x363882=this['cursorInfo'];_0x363882[_0x5839bf(0x306)](_0x31f8ce,_0x29667a),this[_0x5839bf(0x243)][_0x5839bf(0x395)](_0x363882);}['_onCursorDelete'](_0x4697f0){const _0x574c5a=_0x28c363,{memberID:_0x2b4df1}=_0x4697f0[_0x574c5a(0x3ad)],_0x2e0f8c=this[_0x574c5a(0x393)];_0x2e0f8c[_0x574c5a(0x409)](_0x2b4df1),this[_0x574c5a(0x243)][_0x574c5a(0x395)](_0x2e0f8c);}['_toggleOnline'](){const _0x24b635=_0x28c363;var _0x11b14b;if(this[_0x24b635(0x2d6)]=!0x0,((_0x11b14b=this['_univerInstanceService'][_0x24b635(0x30d)]())==null?void 0x0:_0x11b14b[_0x24b635(0x281)]())!==this[_0x24b635(0x3dc)])return;const _0x4ce4d4=this[_0x24b635(0x1d6)][_0x24b635(0x314)](_0x4ebf52[_0x24b635(0x1a8)])['getDocRanges']();Array[_0x24b635(0x2f3)](_0x4ce4d4)&&_0x4ce4d4[_0x24b635(0x3e9)]>0x0&&this[_0x24b635(0x474)](_0x4ce4d4);}['_toggleOffline'](){const _0x3eda52=_0x28c363;this[_0x3eda52(0x2d6)]=!0x1;}};_0x33dd8a=_0x3d3717([_0xca0963(0x2,_0x4ce188[_0x28c363(0x319)](_0x4ce188['Injector'])),_0xca0963(0x3,_0x4ce188[_0x28c363(0x319)](_0x5937ca)),_0xca0963(0x4,_0x4ce188[_0x28c363(0x319)](_0x463ba0[_0x28c363(0x1cc)])),_0xca0963(0x5,_0x4ce188[_0x28c363(0x319)](_0x53ce46)),_0xca0963(0x6,_0x5f3c3e[_0x28c363(0x1db)]),_0xca0963(0x7,_0x4ce188['IUniverInstanceService']),_0xca0963(0x8,_0x4ce188['ICommandService'])],_0x33dd8a);var _0x59492f=Object[_0x28c363(0x328)],_0x6a781c=(_0x2ed28b,_0x1c7462,_0x3500f0,_0xffc8e6)=>{const _0x474e7a=_0x28c363;for(var _0x3ad363=_0xffc8e6>0x1?void 0x0:_0xffc8e6?_0x59492f(_0x1c7462,_0x3500f0):_0x1c7462,_0x3b7b94=_0x2ed28b[_0x474e7a(0x3e9)]-0x1,_0x377d82;_0x3b7b94>=0x0;_0x3b7b94--)(_0x377d82=_0x2ed28b[_0x3b7b94])&&(_0x3ad363=_0x377d82(_0x3ad363)||_0x3ad363);return _0x3ad363;},_0x5558d0=(_0x21cb0e,_0x31740d)=>(_0x33df5c,_0x4a65d4)=>_0x31740d(_0x33df5c,_0x4a65d4,_0x21cb0e);const _0x60940e=0x12c,_0x27d173=0x64,_0x2e9a4=()=>{let _0x50a6d0=[],_0x246c64=!0x1;return _0x70b62b=>{_0x50a6d0['push'](_0x70b62b),_0x246c64||(_0x246c64=!0x0,setTimeout(()=>{const _0x1a9799=_0x2163;_0x50a6d0[_0x1a9799(0x385)](_0x24eb30=>_0x24eb30()),_0x50a6d0=[],_0x246c64=!0x1;}));};};let _0x328aa2=class extends _0x4ce188[_0x28c363(0x3f3)]{constructor(_0x2f1468,_0x1aebf1,_0x231363,_0x47b6d6,_0x1b6c94,_0x1f9ee7,_0x4363f1,_0x560d9f){const _0x442ded=_0x28c363;super(),_0x2002db(this,_0x442ded(0x2d6),!0x1),_0x2002db(this,_0x442ded(0x304),!0x1),_0x2002db(this,'_cursorInfo$',new _0x4d6cca[(_0x442ded(0x36e))](new Map())),_0x2002db(this,'cursorInfo$',this[_0x442ded(0x243)][_0x442ded(0x373)]()),_0x2002db(this,_0x442ded(0x22d),new _0x4d6cca['BehaviorSubject']([])),_0x2002db(this,_0x442ded(0x430),this[_0x442ded(0x22d)][_0x442ded(0x397)](_0x4d6cca[_0x442ded(0x2ba)](_0x60940e))),_0x2002db(this,'_updateLocalCursor',_0x4ce188[_0x442ded(0x289)]((_0x3f07f5,_0x102fb4)=>{const _0x2e491c=_0x442ded,_0x3b8d84={'eventID':_0x5f3c3e[_0x2e491c(0x207)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x2e491c(0x3dc)],'memberID':this[_0x2e491c(0x26e)][_0x2e491c(0x24f)](),'selection':_0xf94d0f[_0x2e491c(0x2f0)](_0x3f07f5,_0x102fb4['range'])}};this[_0x2e491c(0x26e)][_0x2e491c(0x3e4)](_0x3b8d84,this[_0x2e491c(0x3dc)]);},_0x27d173)),(this[_0x442ded(0x3dc)]=_0x2f1468,this[_0x442ded(0x26e)]=_0x1aebf1,this['_injector']=_0x231363,this[_0x442ded(0x302)]=_0x47b6d6,this['_memberService']=_0x1b6c94,this[_0x442ded(0x2e8)]=_0x1f9ee7,this[_0x442ded(0x3b3)]=_0x4363f1,this['_refRangeService']=_0x560d9f);}get[_0x28c363(0x393)](){const _0x5af44f=_0x28c363;return this[_0x5af44f(0x243)]['getValue']();}get[_0x28c363(0x25f)](){const _0x48d6f0=_0x28c363;return this[_0x48d6f0(0x22d)][_0x48d6f0(0x26a)]();}['dispose'](){const _0x3edf5b=_0x28c363;super[_0x3edf5b(0x2fc)](),this[_0x3edf5b(0x243)]['next'](new Map()),this[_0x3edf5b(0x243)][_0x3edf5b(0x402)](),this[_0x3edf5b(0x22d)]['next']([]),this[_0x3edf5b(0x22d)]['complete']();}[_0x28c363(0x482)](){const _0x2ccbf2=_0x28c363;this['_init']||(this[_0x2ccbf2(0x304)]=!0x0,this['_session'][_0x2ccbf2(0x22a)][_0x2ccbf2(0x397)](_0x4d6cca[_0x2ccbf2(0x20b)](this['dispose$']))[_0x2ccbf2(0x2df)](_0x19a66a=>{const _0x12cb5b=_0x2ccbf2;_0x19a66a===_0x463ba0[_0x12cb5b(0x347)]['ONLINE']?this['_toggleOnline']():this[_0x12cb5b(0x425)]();}),this[_0x2ccbf2(0x26e)]['event$'][_0x2ccbf2(0x397)](_0x4d6cca[_0x2ccbf2(0x20b)](this[_0x2ccbf2(0x1fa)]))[_0x2ccbf2(0x2df)](_0x445cea=>{const _0x22e9e4=_0x2ccbf2,_0x2514eb=_0x445cea['eventID'];_0x2514eb===_0x5f3c3e[_0x22e9e4(0x207)]['UPDATE_CURSOR']&&this[_0x22e9e4(0x451)](_0x445cea),_0x2514eb===_0x5f3c3e[_0x22e9e4(0x207)][_0x22e9e4(0x204)]&&this[_0x22e9e4(0x2cf)](_0x445cea);}),this[_0x2ccbf2(0x2b5)](),this[_0x2ccbf2(0x210)](this[_0x2ccbf2(0x3b3)][_0x2ccbf2(0x20a)](_0x55998e=>{const _0x173ee0=_0x2ccbf2;if(this[_0x173ee0(0x2d6)]&&_0x55998e['id']===_0x1fcf92[_0x173ee0(0x370)]['id']&&_0x55998e[_0x173ee0(0x321)][_0x173ee0(0x39f)]===this[_0x173ee0(0x3dc)]){const _0x1e37dc=_0x55998e[_0x173ee0(0x321)];this['_updateLocalCursor'](_0x1e37dc[_0x173ee0(0x300)],_0x1e37dc[_0x173ee0(0x276)][0x0]);}})));}[_0x28c363(0x451)](_0x42552b){const _0xc78070=_0x28c363;var _0x24e9c6,_0x14157a;const {memberID:_0x185736,selection:_0x555da3}=_0x42552b[_0xc78070(0x3ad)],{sheetName:_0x2c19c7,range:_0x5d25ff}=_0xf94d0f[_0xc78070(0x2a8)](_0x555da3),_0x2cd53={'name':(_0x14157a=(_0x24e9c6=this['_memberService'][_0xc78070(0x31e)](this[_0xc78070(0x3dc)],_0x185736))==null?void 0x0:_0x24e9c6[_0xc78070(0x429)])!=null?_0x14157a:'Unknown\x20user','range':this[_0xc78070(0x47c)](_0x2c19c7,_0x5d25ff),'sheetID':_0x2c19c7,'color':this['_colorAssignService'][_0xc78070(0x46e)](_0x185736),'selection':_0x555da3},_0x4f309f=this[_0xc78070(0x393)];_0x4f309f[_0xc78070(0x306)](_0x185736,_0x2cd53),this[_0xc78070(0x243)][_0xc78070(0x395)](_0x4f309f);}['_onCursorDelete'](_0x3b0e10){const _0x37a0cf=_0x28c363,{memberID:_0x547c2f}=_0x3b0e10[_0x37a0cf(0x3ad)],_0x2f8615=this[_0x37a0cf(0x393)];_0x2f8615['delete'](_0x547c2f),this[_0x37a0cf(0x243)][_0x37a0cf(0x395)](_0x2f8615);}[_0x28c363(0x47c)](_0x7aa476,_0x17ee18){const _0xdcab22=_0x28c363;var _0x2ba3e5,_0x341a31;const _0x261377=(_0x341a31=(_0x2ba3e5=this['_univerInstanceService'][_0xdcab22(0x1c2)](this[_0xdcab22(0x3dc)]))==null?void 0x0:_0x2ba3e5[_0xdcab22(0x313)](_0x7aa476))==null?void 0x0:_0x341a31[_0xdcab22(0x464)]();return(_0x261377==null?void 0x0:_0x261377[_0xdcab22(0x3e1)](_0x17588b=>_0x4ce188[_0xdcab22(0x356)][_0xdcab22(0x335)](_0x17588b,_0x17ee18)))||_0x17ee18;}['_onRefRangeChange'](){const _0x4372d9=_0x28c363,_0x1ffd3a=new _0x4ce188['DisposableCollection'](),_0x1b2730=_0x2e9a4(),_0x5c22b9=()=>{const _0x3c5a19=_0x2163;_0x1ffd3a[_0x3c5a19(0x2fc)]();const _0x402f6b=(_0x3bc1d9,_0x2eecc4,_0x3eee3e,_0x2d6c44)=>{const _0x10d1b5=_0x3c5a19;let _0x17f5e3=[];switch(_0x3bc1d9['id']){case _0x1fcf92[_0x10d1b5(0x260)][_0x10d1b5(0x436)]:{_0x17f5e3=_0x1fcf92[_0x10d1b5(0x38b)](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92['EffectRefRangId'][_0x10d1b5(0x1e0)]:{_0x17f5e3=_0x1fcf92['handleDeleteRangeMoveUp'](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92['EffectRefRangId'][_0x10d1b5(0x208)]:{_0x17f5e3=_0x1fcf92['handleInsertCol'](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92[_0x10d1b5(0x260)][_0x10d1b5(0x440)]:{_0x17f5e3=_0x1fcf92[_0x10d1b5(0x2ce)](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92[_0x10d1b5(0x260)][_0x10d1b5(0x206)]:{_0x17f5e3=_0x1fcf92[_0x10d1b5(0x19f)](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92[_0x10d1b5(0x260)][_0x10d1b5(0x391)]:{_0x17f5e3=_0x1fcf92[_0x10d1b5(0x46b)](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92[_0x10d1b5(0x260)]['MoveRangeCommandId']:{_0x17f5e3=_0x1fcf92[_0x10d1b5(0x42c)](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92['EffectRefRangId'][_0x10d1b5(0x405)]:{_0x17f5e3=_0x1fcf92['handleIRemoveCol'](_0x3bc1d9,_0x2d6c44);break;}case _0x1fcf92[_0x10d1b5(0x260)][_0x10d1b5(0x1c7)]:{_0x17f5e3=_0x1fcf92['handleIRemoveRow'](_0x3bc1d9,_0x2d6c44);break;}}const _0x2e7429=_0x1fcf92[_0x10d1b5(0x3d6)](_0x17f5e3,_0x2d6c44),_0x2a26d8=this[_0x10d1b5(0x393)][_0x10d1b5(0x314)](_0x2eecc4);if(_0x2a26d8&&_0x2e7429){const _0x2a345d={..._0x2a26d8,'range':_0x2e7429};this[_0x10d1b5(0x393)][_0x10d1b5(0x306)](_0x2eecc4,_0x2a345d),_0x1b2730(()=>{const _0x5b5206=_0x10d1b5,_0x2a13bc=this[_0x5b5206(0x428)][_0x5b5206(0x446)](_0x2e7429,_0x5b0f0d=>(_0x2a13bc[_0x5b5206(0x2fc)](),_0x402f6b(_0x5b0f0d,_0x2eecc4,_0x3eee3e,_0x2e7429)));_0x1ffd3a[_0x5b5206(0x380)](_0x2a13bc);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x3c5a19(0x385)]((_0x10484f,_0x379b41)=>{const _0x27c56b=_0x3c5a19,{range:_0x369a11,sheetID:_0x233a31}=_0x10484f,_0x182310=this[_0x27c56b(0x428)][_0x27c56b(0x446)](_0x369a11,_0x50abe6=>(_0x182310[_0x27c56b(0x2fc)](),_0x402f6b(_0x50abe6,_0x379b41,_0x233a31,_0x369a11)));_0x1ffd3a['add'](_0x182310);});};this[_0x4372d9(0x210)](_0x4ce188[_0x4372d9(0x3d5)](this[_0x4372d9(0x243)][_0x4372d9(0x2df)](()=>{_0x5c22b9();})));}[_0x28c363(0x19e)](){const _0x245b9c=_0x28c363;var _0x2eaddb,_0x3e5228;if(this[_0x245b9c(0x2d6)]=!0x0,((_0x2eaddb=this[_0x245b9c(0x2e8)][_0x245b9c(0x30d)]())==null?void 0x0:_0x2eaddb[_0x245b9c(0x281)]())!==this[_0x245b9c(0x3dc)])return;const _0x3cd57b=(_0x3e5228=this[_0x245b9c(0x1d6)][_0x245b9c(0x314)](_0x1fcf92[_0x245b9c(0x2f9)])['getCurrentSelections']())==null?void 0x0:_0x3e5228[0x0],_0x56e47a=this['_univerInstanceService'][_0x245b9c(0x354)](_0x4ce188['UniverInstanceType'][_0x245b9c(0x30b)])[_0x245b9c(0x457)]();_0x3cd57b&&_0x56e47a&&this[_0x245b9c(0x474)](_0x56e47a[_0x245b9c(0x229)](),_0x3cd57b);}[_0x28c363(0x425)](){const _0x48a4dc=_0x28c363;this[_0x48a4dc(0x2d6)]=!0x1;}};_0x328aa2=_0x6a781c([_0x5558d0(0x2,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x2ee)])),_0x5558d0(0x3,_0x4ce188[_0x28c363(0x319)](_0x5937ca)),_0x5558d0(0x4,_0x4ce188[_0x28c363(0x319)](_0x463ba0[_0x28c363(0x1cc)])),_0x5558d0(0x5,_0x4ce188[_0x28c363(0x398)]),_0x5558d0(0x6,_0x4ce188[_0x28c363(0x454)]),_0x5558d0(0x7,_0x4ce188['Inject'](_0x1fcf92['RefRangeService']))],_0x328aa2);var _0x42e913=Object[_0x28c363(0x328)],_0x806f6a=(_0x374178,_0x4ff83d,_0x401135,_0x15b759)=>{const _0x7abc6b=_0x28c363;for(var _0x136a02=_0x15b759>0x1?void 0x0:_0x15b759?_0x42e913(_0x4ff83d,_0x401135):_0x4ff83d,_0x1a50bc=_0x374178[_0x7abc6b(0x3e9)]-0x1,_0x17e51b;_0x1a50bc>=0x0;_0x1a50bc--)(_0x17e51b=_0x374178[_0x1a50bc])&&(_0x136a02=_0x17e51b(_0x136a02)||_0x136a02);return _0x136a02;},_0x1fce5b=(_0x5da830,_0x392235)=>(_0x151c9d,_0x4a4383)=>_0x392235(_0x151c9d,_0x4a4383,_0x5da830);let _0x2a8919=class extends _0x4ce188['RxDisposable']{constructor(_0x14db15,_0x344eb3,_0x31baab){const _0x3788ea=_0x28c363;super(),_0x2002db(this,_0x3788ea(0x34e),new Map()),_0x2002db(this,_0x3788ea(0x3c6),new _0x4d6cca[(_0x3788ea(0x22e))]()),(this['_univerInstanceService']=_0x14db15,this[_0x3788ea(0x1d6)]=_0x344eb3,this[_0x3788ea(0x316)]=_0x31baab,this['_init']());}['dispose'](){const _0x1ed3af=_0x28c363;super[_0x1ed3af(0x2fc)](),this[_0x1ed3af(0x3c6)]['complete'](),this[_0x1ed3af(0x34e)]['forEach'](_0x12c4bb=>_0x12c4bb[_0x1ed3af(0x2fc)]());}[_0x28c363(0x240)](_0x225e61){const _0x2bc882=_0x28c363;return this[_0x2bc882(0x34e)][_0x2bc882(0x320)](_0x225e61)?this[_0x2bc882(0x34e)]['get'](_0x225e61)['cursorInfo$']:this['_entityInit$'][_0x2bc882(0x397)](_0x4d6cca[_0x2bc882(0x1c8)](_0x2d323d=>_0x2d323d[_0x2bc882(0x3dc)]===_0x225e61),_0x4d6cca['switchMap'](_0x38e125=>_0x38e125[_0x2bc882(0x307)]));}[_0x28c363(0x304)](){const _0x27499c=_0x28c363;this[_0x27499c(0x2e8)][_0x27499c(0x253)](_0x4ce188['UniverInstanceType'][_0x27499c(0x30b)])[_0x27499c(0x397)](_0x4d6cca[_0x27499c(0x20b)](this[_0x27499c(0x1fa)]))[_0x27499c(0x2df)](async _0x304c6f=>{const _0x7c0d34=_0x27499c,_0x21a289=_0x304c6f[_0x7c0d34(0x281)](),_0x48b0d5=await this[_0x7c0d34(0x3e8)](_0x21a289);this['_entityInit$']['next'](_0x48b0d5),this['_entities']['set'](_0x21a289,_0x48b0d5);}),this[_0x27499c(0x2e8)][_0x27499c(0x253)](_0x4ce188[_0x27499c(0x1b9)][_0x27499c(0x39e)])[_0x27499c(0x397)](_0x4d6cca[_0x27499c(0x20b)](this['dispose$']))[_0x27499c(0x397)](_0x4d6cca[_0x27499c(0x1c8)](_0x203e4c=>!_0x203e4c['getUnitId']()[_0x27499c(0x377)]('__')))[_0x27499c(0x2df)](async _0x27ea00=>{const _0x311114=_0x27499c,_0x27e6a6=_0x27ea00['getUnitId'](),_0x5ac1bd=await this[_0x311114(0x1d8)](_0x27e6a6);this[_0x311114(0x3c6)]['next'](_0x5ac1bd),this[_0x311114(0x34e)][_0x311114(0x306)](_0x27e6a6,_0x5ac1bd);}),_0x4d6cca[_0x27499c(0x3a0)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x4ce188[_0x27499c(0x1b9)][_0x27499c(0x39e)]),this[_0x27499c(0x2e8)][_0x27499c(0x1c3)](_0x4ce188['UniverInstanceType'][_0x27499c(0x30b)]))[_0x27499c(0x397)](_0x4d6cca[_0x27499c(0x20b)](this[_0x27499c(0x1fa)]))[_0x27499c(0x2df)](_0x2f9228=>{const _0x23c82c=_0x27499c,_0x2d33ba=_0x2f9228[_0x23c82c(0x281)](),_0x32a926=this[_0x23c82c(0x34e)][_0x23c82c(0x314)](_0x2d33ba);_0x32a926&&(_0x32a926[_0x23c82c(0x2fc)](),this[_0x23c82c(0x34e)][_0x23c82c(0x409)](_0x2d33ba));});}async[_0x28c363(0x3e8)](_0x16cf15){const _0xb38bc5=_0x28c363,_0xea1d90=await this[_0xb38bc5(0x316)][_0xb38bc5(0x267)](_0x16cf15),_0x263c54=this[_0xb38bc5(0x1d6)][_0xb38bc5(0x3a6)](_0x328aa2,_0x16cf15,_0xea1d90);return _0x263c54[_0xb38bc5(0x482)](),_0x263c54;}async[_0x28c363(0x1d8)](_0x5ab558){const _0x45274a=_0x28c363,_0x2228f4=await this[_0x45274a(0x316)][_0x45274a(0x267)](_0x5ab558),_0x579e25=this[_0x45274a(0x1d6)][_0x45274a(0x3a6)](_0x33dd8a,_0x5ab558,_0x2228f4);return _0x579e25[_0x45274a(0x482)](),_0x579e25;}};_0x2a8919=_0x806f6a([_0x1fce5b(0x0,_0x4ce188[_0x28c363(0x398)]),_0x1fce5b(0x1,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x2ee)])),_0x1fce5b(0x2,_0x4ce188[_0x28c363(0x319)](_0x463ba0['CollaborationSessionService']))],_0x2a8919);const _0x25350b=0x14,_0x12abee=0xc8,_0x2dfeb6=0x4,_0x4ee7e1=0x5;function _0x2e83ce(_0x1ad3d9,_0x28019f){const _0x37fa21=_0x28c363;let {radius:_0x4e934b,width:_0xa5d991,height:_0x16bdc3}=_0x28019f;_0x4e934b=_0x4e934b!=null?_0x4e934b:0x0,_0xa5d991=_0xa5d991!=null?_0xa5d991:0x1e,_0x16bdc3=_0x16bdc3!=null?_0x16bdc3:0x1e;let _0x53cdac=0x0,_0x5ca536=0x0,_0x63f6d3=0x0;_0x53cdac=_0x5ca536=_0x63f6d3=Math[_0x37fa21(0x200)](_0x4e934b,_0xa5d991/0x2,_0x16bdc3/0x2),_0x1ad3d9[_0x37fa21(0x2a3)](),_0x1ad3d9[_0x37fa21(0x215)](_0x53cdac,0x0),_0x1ad3d9[_0x37fa21(0x28b)](_0xa5d991-_0x5ca536,0x0),_0x1ad3d9['arc'](_0xa5d991-_0x5ca536,_0x5ca536,_0x5ca536,Math['PI']*0x3/0x2,0x0,!0x1),_0x1ad3d9[_0x37fa21(0x28b)](_0xa5d991,_0x16bdc3-_0x63f6d3),_0x1ad3d9[_0x37fa21(0x418)](_0xa5d991-_0x63f6d3,_0x16bdc3-_0x63f6d3,_0x63f6d3,0x0,Math['PI']/0x2,!0x1),_0x1ad3d9[_0x37fa21(0x28b)](0x0,_0x16bdc3),_0x1ad3d9[_0x37fa21(0x28b)](0x0,_0x53cdac),_0x1ad3d9[_0x37fa21(0x418)](_0x53cdac,_0x53cdac,_0x53cdac,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1ad3d9[_0x37fa21(0x369)](),_0x28019f[_0x37fa21(0x37a)]&&(_0x1ad3d9[_0x37fa21(0x317)](),_0x1ad3d9[_0x37fa21(0x264)]=_0x28019f[_0x37fa21(0x37a)],_0x28019f['fillRule']==='evenodd'?_0x1ad3d9[_0x37fa21(0x37a)](_0x37fa21(0x362)):_0x1ad3d9['fill'](),_0x1ad3d9[_0x37fa21(0x2c6)]());}class _0x37a2c3 extends _0xcd5ffc[_0x28c363(0x339)]{constructor(_0x302790,_0x28fc77){const _0x2b84eb=_0x28c363;super(_0x302790,_0x28fc77),_0x2002db(this,_0x2b84eb(0x484)),_0x2002db(this,_0x2b84eb(0x30c)),(this[_0x2b84eb(0x484)]=_0x28fc77==null?void 0x0:_0x28fc77[_0x2b84eb(0x484)],this[_0x2b84eb(0x30c)]=_0x28fc77==null?void 0x0:_0x28fc77[_0x2b84eb(0x30c)]);}static['drawWith'](_0x174a57,_0x269453){const _0x57fe97=_0x28c363,{text:_0x3f60b3,color:_0x4b8451}=_0x269453;_0x174a57[_0x57fe97(0x317)](),_0x174a57[_0x57fe97(0x48c)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x411708=_0x174a57[_0x57fe97(0x40a)](_0x3f60b3)[_0x57fe97(0x252)],_0xed919=Math['min'](_0x411708+0x2*_0x2dfeb6,_0x12abee);_0x2e83ce(_0x174a57,{'height':_0x25350b,'radius':0x4,'width':_0xed919,'fill':_0x4b8451}),_0x174a57['fillStyle']='#FFF';const _0x13f716=_0x2dfeb6,_0x1ec7ee=_0x25350b-_0x4ee7e1,_0x93e1e5=_0x12abee-0x2*_0x2dfeb6;if(_0x411708>_0x93e1e5){let _0x34fbe2='',_0xf75fe9=0x0;for(const _0x32fd3c of _0x3f60b3){const _0x1e576d=_0x174a57['measureText'](_0x32fd3c)[_0x57fe97(0x252)];if(_0xf75fe9+_0x1e576d<=_0x93e1e5-_0x174a57['measureText'](_0x57fe97(0x44f))[_0x57fe97(0x252)])_0x34fbe2+=_0x32fd3c,_0xf75fe9+=_0x1e576d;else{_0x34fbe2+=_0x57fe97(0x44f);break;}}_0x174a57[_0x57fe97(0x25c)](_0x34fbe2,_0x13f716,_0x1ec7ee);}else _0x174a57[_0x57fe97(0x25c)](_0x3f60b3,_0x13f716,_0x1ec7ee);_0x174a57['restore']();}['_draw'](_0x210e88){const _0x47f248=_0x28c363;_0x37a2c3[_0x47f248(0x420)](_0x210e88,this);}}const _0x4f588b=_0x28c363(0x353),_0x27e4da=_0x28c363(0x29e),_0x386a0a=_0x28c363(0x33e),_0x7bb81=0x6,_0x4ff717=1.5,_0x45028c=0x4,_0x595131=1.5,_0x596848='rgba(255,\x20255,\x20255,\x200.01)';class _0x31a71a{constructor(_0xfe212f,_0x1c2424,_0x515492,_0x5b6c56){const _0x2817d1=_0x28c363;_0x2002db(this,_0x2817d1(0x352),[]),_0x2002db(this,'_anchor',null),_0x2002db(this,_0x2817d1(0x2da),null),_0x2002db(this,_0x2817d1(0x24d),null),_0x2002db(this,_0x2817d1(0x1c5),null),_0x2002db(this,_0x2817d1(0x38f),null),(this[_0x2817d1(0x324)]=_0xfe212f,this[_0x2817d1(0x1fc)]=_0x1c2424,this[_0x2817d1(0x1b7)]=_0x515492,this[_0x2817d1(0x287)]=_0x5b6c56,this['_render']());}set[_0x28c363(0x345)](_0x2765a9){const _0x4a5cbf=_0x28c363;_0x2765a9?(this[_0x4a5cbf(0x24d)]&&this[_0x4a5cbf(0x24d)][_0x4a5cbf(0x39b)](),this[_0x4a5cbf(0x2da)]&&this[_0x4a5cbf(0x2da)][_0x4a5cbf(0x273)]()):(this['_anchorDot']&&this[_0x4a5cbf(0x24d)]['show'](),this[_0x4a5cbf(0x2da)]&&this[_0x4a5cbf(0x2da)][_0x4a5cbf(0x39b)]());}['dispose'](){const _0x2f227e=_0x28c363;for(const _0xed479e of this[_0x2f227e(0x352)])_0xed479e[_0x2f227e(0x2fc)]();this[_0x2f227e(0x2da)]&&this[_0x2f227e(0x2da)][_0x2f227e(0x2fc)](),this[_0x2f227e(0x24d)]&&this[_0x2f227e(0x24d)][_0x2f227e(0x2fc)](),this[_0x2f227e(0x1e5)]&&this[_0x2f227e(0x1e5)]['dispose'](),this[_0x2f227e(0x38f)]&&this[_0x2f227e(0x38f)]();}[_0x28c363(0x3f9)](){const _0x563b81=_0x28c363;var _0x60b752;const {_docSkeleton:_0x573e5e,_document:_0x3422f8}=this,{color:_0x338ed3,name:_0x1a177c,ranges:_0x2bb929}=this[_0x563b81(0x324)],_0x5493f3=_0x3422f8[_0x563b81(0x237)](),{docsLeft:_0x13e754,docsTop:_0x24d7ca}=_0x5493f3,_0x4ff3b3=new _0x1bfa4c[(_0x563b81(0x296))](_0x5493f3,_0x573e5e);for(const {startOffset:_0x4c8bfd,endOffset:_0x1bec19,rangeType:_0x572399,segmentId:_0x3058f3,segmentPage:_0x498ff5,collapsed:_0x48f443,isActive:_0x47b935}of _0x2bb929){const _0x4b3c21=_0x573e5e[_0x563b81(0x3cc)](_0x4c8bfd,!0x0,_0x3058f3,_0x498ff5);let _0x5b96dc=_0x573e5e[_0x563b81(0x3cc)](_0x1bec19,!0x0,_0x3058f3,_0x498ff5);if(_0x5b96dc==null&&(_0x5b96dc=_0x573e5e[_0x563b81(0x3cc)](_0x1bec19-0x1,!0x1,_0x3058f3,_0x498ff5)),_0x47b935){const {contentBoxPointGroup:_0xafa4fb}=_0x4ff3b3['getRangePointData'](_0x5b96dc,_0x5b96dc);if(_0xafa4fb['length']===0x0)continue;this[_0x563b81(0x42a)](_0x338ed3,_0xafa4fb,_0x13e754,_0x24d7ca,_0x1a177c),this[_0x563b81(0x38f)]=this[_0x563b81(0x23a)]();}if(_0x4b3c21&&_0x5b96dc){if(_0x572399===_0x4ce188[_0x563b81(0x3fc)][_0x563b81(0x43f)]){const _0x598e7=new _0x1bfa4c[(_0x563b81(0x1b8))](_0x5493f3,_0x573e5e),{pointGroup:_0x2b12b9}=(_0x60b752=_0x598e7['getRangePointData'](_0x4b3c21,_0x5b96dc))!=null?_0x60b752:{};if(_0x2b12b9==null||_0x2b12b9[_0x563b81(0x3e9)]===0x0)continue;this[_0x563b81(0x255)](_0x338ed3,_0x2b12b9,_0x13e754,_0x24d7ca);}else{if(!_0x48f443){const {borderBoxPointGroup:_0x4117f4}=_0x4ff3b3[_0x563b81(0x47f)](_0x4b3c21,_0x5b96dc);if(_0x4117f4[_0x563b81(0x3e9)]===0x0)continue;this[_0x563b81(0x3e2)](_0x338ed3,_0x4117f4,_0x13e754,_0x24d7ca);}}}}}[_0x28c363(0x42a)](_0x408a69,_0x5c5fa7,_0x43a774,_0x2853c9,_0x4d1d65){const _0x14e40e=_0x28c363,_0x481afe=this[_0x14e40e(0x3de)](_0x5c5fa7),{left:_0x4807ab,top:_0xfd9690,height:_0x33b9b6}=_0x481afe,_0x437ebd=this[_0x14e40e(0x282)](),_0x2f5bcf=_0x595131/_0x437ebd,_0xc0d538=new _0xcd5ffc[(_0x14e40e(0x1b3))](_0x4f588b+_0x4ce188[_0x14e40e(0x35d)](_0x7bb81),{'left':_0x4807ab+_0x43a774-_0x2f5bcf,'top':_0xfd9690+_0x2853c9,'height':_0x33b9b6,'width':_0x4ff717,'fill':_0x408a69||_0xcd5ffc['getColor'](_0x4ce188['COLORS'][_0x14e40e(0x3d8)],0x0),'strokeWidth':_0x2f5bcf,'stroke':_0x596848,'evented':!0x0});this['_anchor']=_0xc0d538,this[_0x14e40e(0x1fc)][_0x14e40e(0x280)](_0xc0d538,_0x1bfa4c[_0x14e40e(0x291)]);const _0x1223d0=new _0xcd5ffc[(_0x14e40e(0x1b3))](_0x4f588b+_0x4ce188[_0x14e40e(0x35d)](_0x7bb81),{'left':_0x4807ab+_0x43a774-_0x2f5bcf,'top':_0xfd9690+_0x2853c9-_0x45028c/0x2,'height':_0x45028c,'width':_0x45028c,'fill':_0x408a69||_0xcd5ffc[_0x14e40e(0x337)](_0x4ce188[_0x14e40e(0x35f)][_0x14e40e(0x3d8)],0x0),'strokeWidth':0x0,'stroke':_0x408a69||_0xcd5ffc[_0x14e40e(0x337)](_0x4ce188[_0x14e40e(0x35f)][_0x14e40e(0x3d8)],0x0),'evented':!0x1});this['_anchorDot']=_0x1223d0,this['_scene'][_0x14e40e(0x280)](_0x1223d0,_0x1bfa4c[_0x14e40e(0x291)]);const _0x5ba17a=new _0x37a2c3(_0x4f588b+_0x4ce188[_0x14e40e(0x35d)](_0x7bb81),{'left':_0x4807ab+_0x43a774-_0x2f5bcf,'top':_0xfd9690+_0x2853c9-_0x25350b,'text':_0x4d1d65,'color':_0x408a69});this[_0x14e40e(0x2da)]=_0x5ba17a,this[_0x14e40e(0x1fc)][_0x14e40e(0x280)](_0x5ba17a,_0x1bfa4c['TEXT_RANGE_LAYER_INDEX']),this[_0x14e40e(0x345)]=!0x1;}[_0x28c363(0x23a)](){const _0x4aa573=_0x28c363,_0xe0a416=this[_0x4aa573(0x1e5)][_0x4aa573(0x2cd)][_0x4aa573(0x292)](()=>{this['_hover']=!0x0;}),_0x1a1e58=this[_0x4aa573(0x1e5)][_0x4aa573(0x1be)][_0x4aa573(0x292)](()=>{const _0x1101b3=_0x4aa573;this[_0x1101b3(0x1c5)]&&clearTimeout(this[_0x1101b3(0x1c5)]),this[_0x1101b3(0x1c5)]=setTimeout(()=>{const _0x4828d7=_0x1101b3;this[_0x4828d7(0x345)]=!0x1;},0x7d0);});return()=>{const _0x441abf=_0x4aa573;_0xe0a416[_0x441abf(0x1de)](),_0x1a1e58[_0x441abf(0x1de)]();};}[_0x28c363(0x3e2)](_0x5c9786,_0x3ae510,_0x2781e5,_0x2f8099){const _0x30cfcd=_0x28c363,_0x35f50f=new _0x4ce188['ColorKit'](_0x5c9786)[_0x30cfcd(0x1c6)](0.2)[_0x30cfcd(0x2ab)](),_0x21f2f3=new _0xcd5ffc[(_0x30cfcd(0x2e6))](_0x27e4da+_0x4ce188[_0x30cfcd(0x35d)](_0x7bb81),{'pointsGroup':_0x3ae510,'fill':_0x35f50f||_0xcd5ffc[_0x30cfcd(0x337)](_0x4ce188['COLORS'][_0x30cfcd(0x3d8)],0.2),'left':_0x2781e5,'top':_0x2f8099,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x21f2f3),this['_scene'][_0x30cfcd(0x280)](_0x21f2f3,_0x1bfa4c[_0x30cfcd(0x291)]);}[_0x28c363(0x255)](_0x4d80a3,_0x3d181a,_0x26fdf2,_0x38720d){const _0x24d0c0=_0x28c363,_0x397349=new _0x4ce188[(_0x24d0c0(0x396))](_0x4d80a3)[_0x24d0c0(0x1c6)](0.2)['toRgbString'](),_0x44a723=new _0xcd5ffc[(_0x24d0c0(0x2e6))](_0x386a0a+_0x4ce188[_0x24d0c0(0x35d)](_0x7bb81),{'pointsGroup':_0x3d181a,'fill':_0x397349||_0xcd5ffc['getColor'](_0x4ce188[_0x24d0c0(0x35f)][_0x24d0c0(0x3d8)],0.2),'left':_0x26fdf2,'top':_0x38720d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x24d0c0(0x352)]['push'](_0x44a723),this[_0x24d0c0(0x1fc)][_0x24d0c0(0x280)](_0x44a723,_0x1bfa4c[_0x24d0c0(0x291)]);}['_getAnchorBounding'](_0xfc26d6){const _0x476eba=_0xfc26d6[0x0],_0x4a4df5=_0x476eba[0x0],_0x5834b8=_0x476eba[0x2],{x:_0x24702e,y:_0x5c34a1}=_0x4a4df5,{x:_0x3f1fd5,y:_0x2100d1}=_0x5834b8;return{'left':_0x24702e,'top':_0x5c34a1,'width':_0x3f1fd5-_0x24702e,'height':_0x2100d1-_0x5c34a1};}[_0x28c363(0x282)](){const _0x386b4b=_0x28c363,{scaleX:_0x34780b,scaleY:_0x72fa5e}=this[_0x386b4b(0x1fc)][_0x386b4b(0x357)]();return Math[_0x386b4b(0x3df)](_0x34780b,_0x72fa5e);}}var _0x451609=Object[_0x28c363(0x328)],_0x3959de=(_0x53453e,_0x29a2e0,_0x5a306c,_0x32ef79)=>{for(var _0x5d2d21=_0x32ef79>0x1?void 0x0:_0x32ef79?_0x451609(_0x29a2e0,_0x5a306c):_0x29a2e0,_0x34ca5d=_0x53453e['length']-0x1,_0x4b9d1f;_0x34ca5d>=0x0;_0x34ca5d--)(_0x4b9d1f=_0x53453e[_0x34ca5d])&&(_0x5d2d21=_0x4b9d1f(_0x5d2d21)||_0x5d2d21);return _0x5d2d21;},_0x5b9df3=(_0x224102,_0x239da8)=>(_0x209550,_0x54e60a)=>_0x239da8(_0x209550,_0x54e60a,_0x224102);let _0x2af2e0=class extends _0x4ce188[_0x28c363(0x3f3)]{constructor(_0x24b98a,_0x515582,_0x208d3a,_0x31c810,_0x594515){const _0x44e78e=_0x28c363;super(),_0x2002db(this,'_cursorShapes',[]),_0x2002db(this,_0x44e78e(0x374),[]),(this[_0x44e78e(0x3d9)]=_0x24b98a,this[_0x44e78e(0x2c5)]=_0x515582,this[_0x44e78e(0x27a)]=_0x208d3a,this['_commandService']=_0x31c810,this[_0x44e78e(0x3a4)]=_0x594515,this['_init']());}[_0x28c363(0x304)](){const _0x2dbd0f=_0x28c363,_0x2d464f=this[_0x2dbd0f(0x3d9)][_0x2dbd0f(0x39f)],_0x45ee95=this[_0x2dbd0f(0x2c5)];this[_0x2dbd0f(0x210)](_0x4d6cca[_0x2dbd0f(0x3f8)]([this[_0x2dbd0f(0x27a)][_0x2dbd0f(0x240)](_0x2d464f),this['_themeService']['currentTheme$']])['pipe'](_0x133836['map'](([_0x3732f3,_0x1c129c])=>({'skeleton':_0x45ee95[_0x2dbd0f(0x203)](),'cursors':[..._0x3732f3[_0x2dbd0f(0x404)]()][_0x2dbd0f(0x371)](_0x5d5d66=>({..._0x5d5d66,'color':this[_0x2dbd0f(0x3a4)][_0x2dbd0f(0x2cc)](_0x5d5d66[_0x2dbd0f(0x484)])}))})))[_0x2dbd0f(0x2df)](_0x514295=>{const _0x387303=_0x2dbd0f;if(this[_0x387303(0x1b2)](),_0x514295){const {skeleton:_0x227cad,cursors:_0x417940}=_0x514295;this[_0x387303(0x322)](_0x227cad,_0x417940);}})),this[_0x2dbd0f(0x21b)](),this[_0x2dbd0f(0x1c0)]();}[_0x28c363(0x322)](_0x5d6ba8,_0x20b56f){const {scene:_0xe6a063,mainComponent:_0x255c53}=this['_context'],_0x55f02f=_0x20b56f['map'](_0x2af99f=>new _0x31a71a(_0x2af99f,_0xe6a063,_0x5d6ba8,_0x255c53));this['_cursorShapes']=_0x55f02f,this['_cursors']=_0x20b56f;}[_0x28c363(0x2dd)](){const _0x36834b=_0x28c363;this[_0x36834b(0x1b2)]();const {scene:_0x26fa78,mainComponent:_0x5c0365}=this['_context'],_0x58ab27=this[_0x36834b(0x2c5)][_0x36834b(0x203)](),_0x48d6a5=this['_cursors'][_0x36834b(0x269)](_0x283777=>new _0x31a71a(_0x283777,_0x26fa78,_0x58ab27,_0x5c0365));this['_cursorShapes']=_0x48d6a5;}['_removeCollabCursors'](){const _0x43f6a4=_0x28c363;this['_cursorShapes'][_0x43f6a4(0x385)](_0x317aa9=>_0x317aa9[_0x43f6a4(0x2fc)]()),this['_cursorShapes']=[];}[_0x28c363(0x1c0)](){const _0x50d655=_0x28c363,_0x3145e8=[_0x1bfa4c[_0x50d655(0x30f)]['id']];this['disposeWithMe'](this['_commandService'][_0x50d655(0x20a)](_0x48beaf=>{const _0x2855ad=_0x50d655;_0x3145e8[_0x2855ad(0x3e0)](_0x48beaf['id'])&&_0x48beaf['params'][_0x2855ad(0x39f)]===this[_0x2855ad(0x3d9)][_0x2855ad(0x39f)]&&this[_0x2855ad(0x2dd)]();}));}['_initResize'](){const _0x92a6a6=_0x28c363;this[_0x92a6a6(0x210)](_0x4ce188[_0x92a6a6(0x1df)](this[_0x92a6a6(0x3d9)]['engine']['onTransformChange$'])[_0x92a6a6(0x397)](_0x133836[_0x92a6a6(0x1c8)](_0x5d423a=>_0x5d423a[_0x92a6a6(0x372)]===_0xcd5ffc[_0x92a6a6(0x31c)][_0x92a6a6(0x3db)]),_0x133836[_0x92a6a6(0x486)](0x10))[_0x92a6a6(0x2df)](()=>{const _0x251a0d=_0x92a6a6;this[_0x251a0d(0x2dd)]();}));}};_0x2af2e0=_0x3959de([_0x5b9df3(0x1,_0x4ce188['Inject'](_0x4ebf52[_0x28c363(0x2f6)])),_0x5b9df3(0x2,_0x4ce188[_0x28c363(0x319)](_0x2a8919)),_0x5b9df3(0x3,_0x4ce188[_0x28c363(0x454)]),_0x5b9df3(0x4,_0x4ce188[_0x28c363(0x319)](_0x4ce188['ThemeService']))],_0x2af2e0);const _0x5a36fd=0x1,_0x1f5eaa=1.5;class _0x3b4e84 extends _0xcd5ffc[_0x28c363(0x339)]{constructor(_0x117445,_0x3a78d5){const _0x3e9009=_0x28c363;super(_0x117445,_0x3a78d5),_0x2002db(this,_0x3e9009(0x463)),_0x2002db(this,_0x3e9009(0x20c),!0x1),_0x2002db(this,_0x3e9009(0x305)),_0x2002db(this,'_name',''),_0x2002db(this,_0x3e9009(0x310),_0x3e9009(0x283)),_0x2002db(this,_0x3e9009(0x360)),(_0x3a78d5&&this[_0x3e9009(0x1e1)](_0x3a78d5),this[_0x3e9009(0x2cd)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x3e9009(0x1e1)]({'hovered':!0x1})));}[_0x28c363(0x1e1)](_0x26cf1b){const _0x512ff7=_0x28c363;var _0x50e1c8,_0x18c1c5,_0x4ee10b,_0x3284bf,_0xfbfb8f,_0x2b3919;this[_0x512ff7(0x463)]=(_0x50e1c8=_0x26cf1b[_0x512ff7(0x484)])!=null?_0x50e1c8:this[_0x512ff7(0x463)],this[_0x512ff7(0x20c)]=(_0x18c1c5=_0x26cf1b['hovered'])!=null?_0x18c1c5:this[_0x512ff7(0x20c)],this[_0x512ff7(0x305)]=(_0x4ee10b=_0x26cf1b['range'])!=null?_0x4ee10b:this[_0x512ff7(0x305)],this[_0x512ff7(0x329)]=(_0x3284bf=_0x26cf1b[_0x512ff7(0x429)])!=null?_0x3284bf:this['_name'],this[_0x512ff7(0x310)]=(_0xfbfb8f=_0x26cf1b['labelPosition'])!=null?_0xfbfb8f:this[_0x512ff7(0x310)],this[_0x512ff7(0x360)]=(_0x2b3919=_0x26cf1b[_0x512ff7(0x3f0)])!=null?_0x2b3919:this[_0x512ff7(0x360)],this[_0x512ff7(0x477)]({'width':_0x26cf1b[_0x512ff7(0x252)],'height':_0x26cf1b['height']});}[_0x28c363(0x388)](_0xa95640){const _0x2cf620=_0x28c363,{row:_0x17968f,column:_0x546f17}=_0xa95640;if(_0x17968f>=this[_0x2cf620(0x305)][_0x2cf620(0x1c9)]&&_0x17968f<=this[_0x2cf620(0x305)][_0x2cf620(0x2d5)]&&_0x546f17>=this[_0x2cf620(0x305)][_0x2cf620(0x3a5)]&&_0x546f17<=this[_0x2cf620(0x305)][_0x2cf620(0x318)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x2cf620(0x1e1)]({'hovered':!0x1});}['triggerDblclick'](_0x35bae5){return!0x1;}[_0x28c363(0x32b)](_0x274a59){const _0x4c575e=_0x28c363;_0xcd5ffc[_0x4c575e(0x1b3)][_0x4c575e(0x420)](_0x274a59,{'width':this[_0x4c575e(0x252)],'height':this[_0x4c575e(0x1f4)],'strokeWidth':_0x1f5eaa,'stroke':this[_0x4c575e(0x463)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x4c575e(0x20c)]&&(_0x274a59[_0x4c575e(0x317)](),_0x274a59['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x4c575e(0x310)]===_0x4c575e(0x358)?0x0:-_0x25350b),_0x37a2c3[_0x4c575e(0x420)](_0x274a59,{'text':this[_0x4c575e(0x329)],'color':this[_0x4c575e(0x463)]}),_0x274a59[_0x4c575e(0x2c6)]());}}var _0x217aa0=Object['getOwnPropertyDescriptor'],_0x49f790=(_0x1eaad8,_0x4e88b0,_0x4547c8,_0x566d6c)=>{const _0x160819=_0x28c363;for(var _0x197c7a=_0x566d6c>0x1?void 0x0:_0x566d6c?_0x217aa0(_0x4e88b0,_0x4547c8):_0x4e88b0,_0x41a7a9=_0x1eaad8[_0x160819(0x3e9)]-0x1,_0x582120;_0x41a7a9>=0x0;_0x41a7a9--)(_0x582120=_0x1eaad8[_0x41a7a9])&&(_0x197c7a=_0x582120(_0x197c7a)||_0x197c7a);return _0x197c7a;},_0x43a142=(_0x2c592e,_0x4cfdbc)=>(_0x4ce25d,_0xc0e152)=>_0x4cfdbc(_0x4ce25d,_0xc0e152,_0x2c592e);const _0xbb2a9a=0x1389;let _0x5dc1d7=class extends _0x4ce188[_0x28c363(0x3f3)]{constructor(_0x534551,_0x3ffbcd,_0x2fd374,_0x6c2312){const _0x438668=_0x28c363;super(),_0x2002db(this,_0x438668(0x374),new Set()),_0x2002db(this,'_lastPointer',null),(this[_0x438668(0x3d9)]=_0x534551,this[_0x438668(0x34c)]=_0x3ffbcd,this[_0x438668(0x27a)]=_0x2fd374,this[_0x438668(0x3a4)]=_0x6c2312,this[_0x438668(0x304)]());}['_init'](){const _0x4a31ac=_0x28c363;this[_0x4a31ac(0x34c)][_0x4a31ac(0x408)]['pipe'](_0x133836[_0x4a31ac(0x20b)](this[_0x4a31ac(0x1fa)]),_0x133836[_0x4a31ac(0x2e4)](_0x2d4196=>{const _0x363ba7=_0x4a31ac;if(_0x2d4196){const _0x5450cf=_0x2d4196[_0x363ba7(0x29b)];return _0x4d6cca['combineLatest'](this[_0x363ba7(0x27a)][_0x363ba7(0x240)](this[_0x363ba7(0x3d9)][_0x363ba7(0x39f)]),this['_themeService'][_0x363ba7(0x251)])[_0x363ba7(0x397)](_0x133836[_0x363ba7(0x269)](([_0x348001,_0x304e41])=>{const _0xc93c2f=_0x363ba7,_0x3776e7=new Map();return _0x348001[_0xc93c2f(0x385)]((_0x1a853,_0x2c4ccf)=>{const _0x46080a=_0xc93c2f;if(_0x1a853[_0x46080a(0x3be)]===_0x5450cf){const _0x266627={..._0x1a853};_0x266627['color']=this[_0x46080a(0x3a4)][_0x46080a(0x2cc)](_0x1a853[_0x46080a(0x484)]),_0x3776e7[_0x46080a(0x306)](_0x2c4ccf,_0x266627);}}),{'skeleton':_0x2d4196,'cursors':_0x3776e7};}));}return _0x4d6cca['of']({'skeleton':null,'cursors':new Map()});}))[_0x4a31ac(0x2df)](({skeleton:_0x190896,cursors:_0x3cfb88})=>{const _0x2d6fd5=_0x4a31ac;this['_removeCollabCursors'](),_0x190896&&this[_0x2d6fd5(0x322)](_0x190896,_0x3cfb88);}),this[_0x4a31ac(0x34c)][_0x4a31ac(0x408)]['subscribe'](_0x2eb0ac=>{const _0x363916=_0x4a31ac;if(_0x2eb0ac==null)return;const {skeleton:_0x28a440}=_0x2eb0ac,{scene:_0x4524fd}=this[_0x363916(0x3d9)];_0x4524fd[_0x363916(0x285)][_0x363916(0x292)](_0x4ce188['debounce'](_0x5126a5=>{const _0x976817=_0x363916;var _0x18c2d3,_0x47e984;const {offsetX:_0x4aa8f9,offsetY:_0x47dd30}=_0x5126a5,{x:_0x1dcd18,y:_0x19dd7a}=_0x4524fd[_0x976817(0x1bc)](_0xcd5ffc[_0x976817(0x487)][_0x976817(0x378)]([_0x4aa8f9,_0x47dd30])),{scaleX:_0x1397cb,scaleY:_0x2cb98c}=_0x4524fd['getAncestorScale'](),_0x145080=_0x4524fd[_0x976817(0x340)](_0xcd5ffc['SHEET_VIEWPORT_KEY'][_0x976817(0x1f0)]),_0x3cceca=_0x4524fd[_0x976817(0x344)](_0xcd5ffc['Vector2']['FromArray']([_0x1dcd18,_0x19dd7a]),_0x145080),_0x586a11=_0x28a440[_0x976817(0x1f9)](_0x4aa8f9,_0x47dd30,_0x1397cb,_0x2cb98c,_0x3cceca);((_0x18c2d3=this[_0x976817(0x3f7)])==null?void 0x0:_0x18c2d3[_0x976817(0x468)])===_0x586a11[_0x976817(0x468)]&&((_0x47e984=this['_lastPointer'])==null?void 0x0:_0x47e984[_0x976817(0x1a2)])===_0x586a11[_0x976817(0x1a2)]||this[_0x976817(0x374)][_0x976817(0x385)](_0x2d0c93=>{const _0x371bb9=_0x976817;_0x2d0c93[_0x371bb9(0x388)](_0x586a11);});},0x64));});}[_0x28c363(0x322)](_0x118269,_0x272f32){const _0x1055f5=_0x28c363;var _0x1b8da1;const _0x58c3fb=(_0x1b8da1=this[_0x1055f5(0x34c)][_0x1055f5(0x2a2)]())==null?void 0x0:_0x1b8da1[_0x1055f5(0x1f3)];if(!_0x58c3fb)return;const _0x46c10a=this[_0x1055f5(0x286)]();if(!_0x46c10a)return;this[_0x1055f5(0x374)][_0x1055f5(0x385)](_0x3980b1=>{const _0x39a1e5=_0x1055f5;_0x3980b1[_0x39a1e5(0x1f7)]();});const {scene:_0x3363f6}=_0x46c10a,_0x1ef196=_0x1196c0(Array[_0x1055f5(0x441)](_0x272f32[_0x1055f5(0x404)]()))[_0x1055f5(0x269)](_0xda8c78=>{const _0x56ee3c=_0x1055f5,{color:_0x483e61,range:_0x47ea98,name:_0x41d95d,selection:_0x1971f0,sheetID:_0x3ad2c6}=_0xda8c78,{startColumn:_0x4f8249,startRow:_0x5806a0,endColumn:_0x2ee70d,endRow:_0x4f4a11}=_0x47ea98,_0x37d006=_0x406458[_0x56ee3c(0x23d)](_0x5806a0,_0x4f8249,_0x3363f6,_0x58c3fb),_0x58d85d=_0x406458['getCoordByCell'](_0x4f4a11,_0x2ee70d,_0x3363f6,_0x58c3fb),{columnHeaderHeightAndMarginTop:_0x10dafe}=_0x58c3fb,{startX:_0x2ba513,startY:_0x75fd84}=_0x37d006,{endX:_0x68c066,endY:_0x4578d6}=_0x58d85d,_0x53395c=_0x68c066-_0x2ba513,_0x2d13c7=_0x4578d6-_0x75fd84,_0x15738a={'labelPosition':_0x75fd84-_0x10dafe>=_0x25350b?_0x56ee3c(0x283):_0x56ee3c(0x358),'sheetID':_0x3ad2c6,'range':_0x47ea98,'color':_0x483e61,'name':_0x41d95d,'selection':_0x1971f0,'left':_0x2ba513,'top':_0x75fd84,'width':_0x53395c,'height':_0x2d13c7,'evented':!0x1,'zIndex':_0xbb2a9a};return new _0x3b4e84(_0x41d95d,_0x15738a);});_0x3363f6[_0x1055f5(0x3a9)](_0x1ef196,_0x5a36fd),this[_0x1055f5(0x374)]=new Set(_0x1ef196);}[_0x28c363(0x1b2)](){const _0x4e457a=_0x28c363;var _0x4b1770;(_0x4b1770=this[_0x4e457a(0x374)])==null||_0x4b1770[_0x4e457a(0x385)](_0x580fb2=>_0x580fb2['dispose']());}[_0x28c363(0x286)](){const _0x348945=_0x28c363;return _0x406458[_0x348945(0x239)](this[_0x348945(0x3d9)][_0x348945(0x1da)],this[_0x348945(0x3d9)]);}};_0x5dc1d7=_0x49f790([_0x43a142(0x1,_0x4ce188[_0x28c363(0x319)](_0x406458[_0x28c363(0x214)])),_0x43a142(0x2,_0x4ce188[_0x28c363(0x319)](_0x2a8919)),_0x43a142(0x3,_0x4ce188['Inject'](_0x4ce188[_0x28c363(0x342)]))],_0x5dc1d7);function _0x1196c0(_0x40c22d){const _0x2f317c=_0x28c363,_0x89313e=new Map();return _0x40c22d[_0x2f317c(0x385)](_0x40906f=>{const _0x4b56a5=_0x2f317c;if(_0x89313e[_0x4b56a5(0x320)](_0x40906f['selection'])){const _0x39c44a=_0x89313e[_0x4b56a5(0x314)](_0x40906f[_0x4b56a5(0x359)]);_0x39c44a['name']+=',\x20'+_0x40906f[_0x4b56a5(0x429)];}else _0x89313e['set'](_0x40906f[_0x4b56a5(0x359)],_0x40906f);}),Array['from'](_0x89313e['values']());}var _0x2ea302=Object[_0x28c363(0x328)],_0x33897b=(_0x49aa6e,_0x3e72d6,_0x3b5876,_0x2581bc)=>{const _0x5875d4=_0x28c363;for(var _0x41cca1=_0x2581bc>0x1?void 0x0:_0x2581bc?_0x2ea302(_0x3e72d6,_0x3b5876):_0x3e72d6,_0x4fb4a0=_0x49aa6e[_0x5875d4(0x3e9)]-0x1,_0x18d7ca;_0x4fb4a0>=0x0;_0x4fb4a0--)(_0x18d7ca=_0x49aa6e[_0x4fb4a0])&&(_0x41cca1=_0x18d7ca(_0x41cca1)||_0x41cca1);return _0x41cca1;},_0x332728=(_0x19011a,_0x8ad69f)=>(_0xe15c4e,_0x4413ed)=>_0x8ad69f(_0xe15c4e,_0x4413ed,_0x19011a);let _0x35c423=class extends _0x4ce188[_0x28c363(0x3ba)]{constructor(_0x15e0fb,_0x3f4095,_0x4e1f47,_0x24b09c,_0x5a5dac,_0x37a2b6){const _0x5cd3c3=_0x28c363;super(),this['_beforeCloseService']=_0x15e0fb,this[_0x5cd3c3(0x28c)]=_0x3f4095,this[_0x5cd3c3(0x224)]=_0x4e1f47,this[_0x5cd3c3(0x22f)]=_0x24b09c,this[_0x5cd3c3(0x1d4)]=_0x5a5dac,this[_0x5cd3c3(0x1a0)]=_0x37a2b6,this[_0x5cd3c3(0x3b8)](),this[_0x5cd3c3(0x250)]();}['_setupBeforeClosingHandler'](){const _0x2c38b6=_0x28c363;this[_0x2c38b6(0x210)](this[_0x2c38b6(0x450)]['registerBeforeClose'](()=>{const _0x2df508=_0x2c38b6;if(this[_0x2df508(0x28c)]['saveTaskMap'][_0x2df508(0x1fe)])return this[_0x2df508(0x1a0)]['t'](_0x2df508(0x2b2));}));}['_initEvent'](){const _0x5a68ff=_0x28c363;this['disposeWithMe'](this[_0x5a68ff(0x224)]['event$'][_0x5a68ff(0x2df)](_0x25ecb5=>{const _0x3cac16=_0x5a68ff;_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)][_0x3cac16(0x416)]&&this[_0x3cac16(0x22f)][_0x3cac16(0x273)]({'type':_0x523600[_0x3cac16(0x3c7)]['Warning'],'content':this[_0x3cac16(0x1a0)]['t'](_0x3cac16(0x36b))}),_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)][_0x3cac16(0x20d)]&&this[_0x3cac16(0x22f)][_0x3cac16(0x273)]({'type':_0x523600[_0x3cac16(0x3c7)]['Warning'],'content':this[_0x3cac16(0x1a0)]['t'](_0x3cac16(0x365))}),_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)]['PERMISSION_DENIED']&&this['_notificationService'][_0x3cac16(0x273)]({'title':this[_0x3cac16(0x1a0)]['t'](_0x3cac16(0x366)),'content':this[_0x3cac16(0x1a0)]['t']('permission.content'),'type':'error','duration':0x0}),_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)][_0x3cac16(0x28e)]&&this[_0x3cac16(0x22f)]['show']({'type':_0x523600[_0x3cac16(0x3c7)][_0x3cac16(0x1ad)],'content':this[_0x3cac16(0x1a0)]['t']('collaboration.closeRoom')+'('+_0x25ecb5[_0x3cac16(0x3ad)]+')'}),_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)][_0x3cac16(0x3c1)]&&this['_messageService'][_0x3cac16(0x273)]({'type':_0x523600['MessageType'][_0x3cac16(0x437)],'content':this[_0x3cac16(0x1a0)]['t'](_0x25ecb5[_0x3cac16(0x3ad)]||'')}),_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)][_0x3cac16(0x303)]&&this[_0x3cac16(0x22f)]['show']({'type':_0x523600[_0x3cac16(0x3c7)]['Warning'],'content':this[_0x3cac16(0x1a0)]['t'](_0x3cac16(0x1a7))}),_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)]['SOCKET_FAILED']&&this['_messageService'][_0x3cac16(0x273)]({'type':_0x523600['MessageType'][_0x3cac16(0x1ad)],'content':this['_localeService']['t'](_0x3cac16(0x34d))}),_0x25ecb5['id']===_0x463ba0[_0x3cac16(0x41c)][_0x3cac16(0x1ff)]&&this['_messageService'][_0x3cac16(0x273)]({'type':_0x523600['MessageType'][_0x3cac16(0x1ad)],'content':this['_localeService']['t'](_0x3cac16(0x3ab))});}));}};_0x35c423=_0x33897b([_0x332728(0x0,_0x577183[_0x28c363(0x46d)]),_0x332728(0x1,_0x463ba0['ILocalCacheService']),_0x332728(0x2,_0x4ce188[_0x28c363(0x319)](_0x463ba0[_0x28c363(0x2c4)])),_0x332728(0x3,_0x577183[_0x28c363(0x2ca)]),_0x332728(0x4,_0x577183['INotificationService']),_0x332728(0x5,_0x4ce188[_0x28c363(0x319)](_0x4ce188['LocaleService']))],_0x35c423);var _0x335ea8=Object['getOwnPropertyDescriptor'],_0x2c939f=(_0x457298,_0x26bd49,_0x461e62,_0x2f34c3)=>{const _0x3d3520=_0x28c363;for(var _0x20fc9d=_0x2f34c3>0x1?void 0x0:_0x2f34c3?_0x335ea8(_0x26bd49,_0x461e62):_0x26bd49,_0x14377f=_0x457298[_0x3d3520(0x3e9)]-0x1,_0x42485b;_0x14377f>=0x0;_0x14377f--)(_0x42485b=_0x457298[_0x14377f])&&(_0x20fc9d=_0x42485b(_0x20fc9d)||_0x20fc9d);return _0x20fc9d;},_0xf6f714=(_0x18186c,_0x3614d5)=>(_0x465589,_0x53fd3e)=>_0x3614d5(_0x465589,_0x53fd3e,_0x18186c);let _0x1e2184=class extends _0x4ce188[_0x28c363(0x3ba)]{constructor(_0x2eb5ff,_0x2e2b69,_0x1e770e,_0x180ada){const _0x1dc2b3=_0x28c363;super(),_0x2002db(this,_0x1dc2b3(0x43d)),(this[_0x1dc2b3(0x1d6)]=_0x2eb5ff,this[_0x1dc2b3(0x417)]=_0x2e2b69,this[_0x1dc2b3(0x3ff)]=_0x1e770e,this['_collaborationSessionService']=_0x180ada,this[_0x1dc2b3(0x304)]());}[_0x28c363(0x304)](){const _0x54579d=_0x28c363;this[_0x54579d(0x1a1)](),this[_0x54579d(0x1cf)](),this[_0x54579d(0x2c7)](),this['_initUserListener']();}['_initUserListener'](){const _0x37a7b3=_0x28c363;this[_0x37a7b3(0x210)](this[_0x37a7b3(0x245)]['socket$'][_0x37a7b3(0x2df)](_0x1a48cd=>{const _0x28ddb8=_0x37a7b3;this[_0x28ddb8(0x43d)]=_0x1a48cd==null?void 0x0:_0x1a48cd['memberID'];}));}[_0x28c363(0x1a1)](){const _0x26a18a=_0x28c363,_0x4a5457=_0x19b7ec=>{const _0x5a8b0f=_0x2163;var _0x3d0071;this[_0x5a8b0f(0x32d)]('error',_0x5a8b0f(0x3d4)+_0x19b7ec[_0x5a8b0f(0x382)]+'\x20at\x20'+_0x19b7ec['filename']+':'+_0x19b7ec[_0x5a8b0f(0x299)]+':'+_0x19b7ec[_0x5a8b0f(0x432)]+'\x0a'+(((_0x3d0071=_0x19b7ec['error'])==null?void 0x0:_0x3d0071['stack'])||''));};window['addEventListener'](_0x26a18a(0x230),_0x4a5457),this[_0x26a18a(0x210)](()=>{const _0x2be5fa=_0x26a18a;window[_0x2be5fa(0x21f)](_0x2be5fa(0x230),_0x4a5457);});}[_0x28c363(0x1cf)](){const _0x173889=_0x28c363,_0xcc4cea=_0x598551=>{const _0x284ea4=_0x2163;this['_uploadLog'](_0x284ea4(0x230),_0x284ea4(0x343)+_0x598551[_0x284ea4(0x2ad)]);};window[_0x173889(0x38e)]('unhandledrejection',_0xcc4cea),this['disposeWithMe'](()=>{const _0x38cb66=_0x173889;window['removeEventListener'](_0x38cb66(0x1eb),_0xcc4cea);});}[_0x28c363(0x2c7)](){const _0x22254a=_0x28c363,_0x789511=this[_0x22254a(0x3ff)]['error']['bind'](this[_0x22254a(0x3ff)]);this[_0x22254a(0x3ff)][_0x22254a(0x230)]=(..._0x3b2961)=>{const _0xe01bbc=_0x22254a,_0x3bd8f5=_0x3b2961[_0xe01bbc(0x269)](_0x182880=>_0x182880 instanceof Error?_0x182880['message']+'\x0a'+_0x182880[_0xe01bbc(0x26d)]:String(_0x182880))[_0xe01bbc(0x41e)]('\x20');this[_0xe01bbc(0x32d)](_0xe01bbc(0x230),_0xe01bbc(0x199)+_0x3bd8f5),_0x789511(..._0x3b2961);},this[_0x22254a(0x210)](()=>{this['_logService']['error']=_0x789511;});}[_0x28c363(0x32d)](_0x4bc78c,_0x35b9ad){const _0x38e5ca=_0x28c363;try{const _0x10b86c={'userId':this[_0x38e5ca(0x43d)],'logLabel':_0x4bc78c,'content':_0x35b9ad};this[_0x38e5ca(0x417)][_0x38e5ca(0x452)](_0x38e5ca(0x31d),{'body':_0x10b86c})[_0x38e5ca(0x297)](()=>{});}catch{}}};_0x1e2184=_0x2c939f([_0xf6f714(0x0,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x2ee)])),_0xf6f714(0x1,_0x4ce188[_0x28c363(0x319)](_0x1d4876[_0x28c363(0x461)])),_0xf6f714(0x2,_0x4ce188[_0x28c363(0x367)]),_0xf6f714(0x3,_0x4ce188[_0x28c363(0x319)](_0x463ba0[_0x28c363(0x2cb)]))],_0x1e2184);const _0xe3ab6a='collaboration-client-ui.config',_0x52a5e9={};var _0x5e70d4=Object[_0x28c363(0x328)],_0x27fb5d=(_0x2cd688,_0x56ce52,_0x38bf32,_0x2e945b)=>{for(var _0x408ae4=_0x2e945b>0x1?void 0x0:_0x2e945b?_0x5e70d4(_0x56ce52,_0x38bf32):_0x56ce52,_0x240617=_0x2cd688['length']-0x1,_0x3b06db;_0x240617>=0x0;_0x240617--)(_0x3b06db=_0x2cd688[_0x240617])&&(_0x408ae4=_0x3b06db(_0x408ae4)||_0x408ae4);return _0x408ae4;},_0x46a373=(_0x361cba,_0x22cf5a)=>(_0x422509,_0x307d3d)=>_0x22cf5a(_0x422509,_0x307d3d,_0x361cba);let _0x4289c1=class{constructor(_0x4614b6,_0x558670){const _0x2dea37=_0x28c363;this[_0x2dea37(0x1ea)]=_0x4614b6,this[_0x2dea37(0x1e9)]=_0x558670;}[_0x28c363(0x311)](_0x1194d3){const _0xfe5922=_0x28c363;this[_0xfe5922(0x20f)](_0x1194d3),this[_0xfe5922(0x41f)](_0x1194d3);}[_0x28c363(0x23b)](_0x4f6b93){const _0x476efc=_0x28c363,{unitID:_0x540f0e}=_0x4f6b93,_0x4e2750=this[_0x476efc(0x1e9)][_0x476efc(0x37d)](_0x540f0e)[_0x476efc(0x2fe)](_0x1bfa4c[_0x476efc(0x2bc)]),{redoCache:_0xc70c08}=_0x4e2750[_0x476efc(0x3ae)]();if(_0xc70c08[_0x476efc(0x3e9)]===0x0)return _0x4f6b93;let _0x4b5e8c=_0x4ce188[_0x476efc(0x375)][_0x476efc(0x47a)](_0x4f6b93[_0x476efc(0x228)][0x0]);for(let _0x2f56cb=0x0;_0x2f56cb<_0xc70c08[_0x476efc(0x3e9)];_0x2f56cb++){const _0x2bbf06={'id':_0x476efc(0x1fd),'params':{..._0xc70c08[_0x2f56cb]}},_0xf9ac89=this[_0x476efc(0x1ea)][_0x476efc(0x3af)](_0x4b5e8c,_0x2bbf06,!0x1);if(_0x5f3c3e['isTransformMutationFailure'](_0xf9ac89))throw _0xf9ac89[_0x476efc(0x230)];_0x4b5e8c=_0xf9ac89[_0x476efc(0x406)];}return{..._0x4ce188[_0x476efc(0x375)][_0x476efc(0x47a)](_0x4f6b93),'mutations':[_0x4b5e8c]};}[_0x28c363(0x20f)](_0x7d8ceb){const _0x29b51d=_0x28c363,{unitID:_0x1c9dd8}=_0x7d8ceb,_0x3a6c21=this['_renderManagerService'][_0x29b51d(0x37d)](_0x1c9dd8)[_0x29b51d(0x2fe)](_0x1bfa4c[_0x29b51d(0x2bc)]),{undoCache:_0x3cf122,redoCache:_0x1b572b}=_0x3a6c21[_0x29b51d(0x3ae)]();if(_0x3cf122[_0x29b51d(0x3e9)]===0x0||_0x1b572b[_0x29b51d(0x3e9)]===0x0)return;const _0x2d529a=[],_0x4568c8=[];let _0x8a0de9=_0x4ce188[_0x29b51d(0x375)][_0x29b51d(0x47a)](_0x7d8ceb[_0x29b51d(0x228)][0x0]),_0x465418=_0x4ce188['Tools'][_0x29b51d(0x47a)](_0x7d8ceb[_0x29b51d(0x228)][0x0]);for(let _0x865aa4=_0x3cf122['length']-0x1;_0x865aa4>=0x0;_0x865aa4--){const _0x54d896={'id':'doc.mutation.rich-text-editing','params':{..._0x3cf122[_0x865aa4]}},_0x39c8a9={'id':'doc.mutation.rich-text-editing','params':{..._0x1b572b[_0x865aa4]}},_0x16d0b6=this[_0x29b51d(0x1ea)][_0x29b51d(0x3af)](_0x8a0de9,_0x54d896,!0x1),_0x4a1d99=this[_0x29b51d(0x1ea)][_0x29b51d(0x3af)](_0x465418,_0x39c8a9,!0x1);if(_0x5f3c3e[_0x29b51d(0x23c)](_0x16d0b6))throw _0x16d0b6[_0x29b51d(0x230)];if(_0x5f3c3e[_0x29b51d(0x23c)](_0x4a1d99))throw _0x4a1d99[_0x29b51d(0x230)];_0x2d529a[_0x29b51d(0x1cd)](_0x16d0b6[_0x29b51d(0x27e)][_0x29b51d(0x321)]),_0x4568c8['unshift'](_0x4a1d99[_0x29b51d(0x27e)][_0x29b51d(0x321)]),_0x8a0de9=_0x16d0b6[_0x29b51d(0x406)],_0x465418=_0x4a1d99[_0x29b51d(0x406)];}_0x3a6c21[_0x29b51d(0x2e7)]({'undoCache':_0x2d529a,'redoCache':_0x4568c8});}[_0x28c363(0x41f)](_0x8d0e9){const _0x2c870b=_0x28c363,{unitID:_0x29ed12}=_0x8d0e9,_0x1f4b39=this[_0x2c870b(0x1e9)][_0x2c870b(0x37d)](_0x29ed12)[_0x2c870b(0x2fe)](_0x1bfa4c[_0x2c870b(0x2bc)]),_0x4cd0e1=_0x1f4b39['getActiveRange']();if(_0x4cd0e1==null)return;const _0x28af32=[{'id':_0x2c870b(0x1fd),'params':{'unitId':_0x8d0e9['unitID'],'actions':null,'textRanges':[_0x4cd0e1]}}],_0x66061e=this[_0x2c870b(0x1ea)][_0x2c870b(0x3b4)](_0x8d0e9,_0x28af32);if(!_0x5f3c3e[_0x2c870b(0x3aa)](_0x66061e))throw _0x66061e[_0x2c870b(0x230)];const _0x3e87ba=_0x66061e[_0x2c870b(0x27e)][0x0][_0x2c870b(0x321)]['textRanges'];Array[_0x2c870b(0x2f3)](_0x3e87ba)&&_0x3e87ba[_0x2c870b(0x3e9)]&&_0x1f4b39[_0x2c870b(0x2a0)](_0x3e87ba[0x0]);}};_0x4289c1=_0x27fb5d([_0x46a373(0x0,_0x5f3c3e[_0x28c363(0x1db)]),_0x46a373(0x1,_0xcd5ffc[_0x28c363(0x2e5)])],_0x4289c1);var _0x442d7b=Object[_0x28c363(0x328)],_0x2fa2f5=(_0x23be53,_0xa9b661,_0x5afbf1,_0x193aee)=>{const _0x1e3892=_0x28c363;for(var _0x2d054c=_0x193aee>0x1?void 0x0:_0x193aee?_0x442d7b(_0xa9b661,_0x5afbf1):_0xa9b661,_0x85fef9=_0x23be53[_0x1e3892(0x3e9)]-0x1,_0x56285f;_0x85fef9>=0x0;_0x85fef9--)(_0x56285f=_0x23be53[_0x85fef9])&&(_0x2d054c=_0x56285f(_0x2d054c)||_0x2d054c);return _0x2d054c;},_0x36bae0=(_0x486050,_0x2e05e5)=>(_0x12ffb6,_0x29ce72)=>_0x2e05e5(_0x12ffb6,_0x29ce72,_0x486050);let _0x3f4111=class{constructor(_0x4f316d,_0x342249,_0x4fc20a){const _0x20cbc2=_0x28c363;this[_0x20cbc2(0x1d6)]=_0x4f316d,this[_0x20cbc2(0x1ea)]=_0x342249,this[_0x20cbc2(0x31a)]=_0x4fc20a;}[_0x28c363(0x21a)](_0xe5e418){const _0x55d963=_0x28c363;this[_0x55d963(0x2ae)](_0xe5e418);}[_0x28c363(0x23b)](_0x26c948){const _0x259b28=_0x28c363,{unitID:_0x4faccd}=_0x26c948,{collaboration:_0x328a5b}=this[_0x259b28(0x31a)][_0x259b28(0x21c)](_0x4faccd);if(_0x328a5b['length']===0x0)return _0x26c948;let _0x461576=_0x4ce188[_0x259b28(0x375)][_0x259b28(0x47a)](_0x26c948[_0x259b28(0x228)][0x0]);for(let _0x464a72=0x0;_0x464a72<_0x328a5b[_0x259b28(0x3e9)];_0x464a72++){const _0x64eec6={'id':_0x259b28(0x1fd),'params':{'unitId':_0x328a5b[_0x464a72]['unitId'],..._0x328a5b[_0x464a72]['redoState']}},_0x19fe91=this[_0x259b28(0x1ea)][_0x259b28(0x3af)](_0x461576,_0x64eec6,!0x1);if(_0x5f3c3e[_0x259b28(0x23c)](_0x19fe91))throw _0x19fe91[_0x259b28(0x230)];_0x461576=_0x19fe91[_0x259b28(0x406)];}return{..._0x4ce188[_0x259b28(0x375)][_0x259b28(0x47a)](_0x26c948),'mutations':[_0x461576]};}['_transformHistoryAndStateStack'](_0x1bae99){const _0x48c9a2=_0x28c363,{unitID:_0x308d36}=_0x1bae99,{history:_0x4d6004,collaboration:_0x331df3}=this[_0x48c9a2(0x31a)][_0x48c9a2(0x21c)](_0x308d36);if(_0x4d6004[_0x48c9a2(0x3e9)]===0x0&&_0x331df3['length']===0x0)return;const _0xa8034a=[],_0xb0c0a4=[];let _0x252e71=_0x4ce188[_0x48c9a2(0x375)][_0x48c9a2(0x47a)](_0x1bae99[_0x48c9a2(0x228)][0x0]),_0x18a739=_0x4ce188[_0x48c9a2(0x375)]['deepClone'](_0x1bae99['mutations'][0x0]);for(let _0x5f23ef=_0x4d6004['length']-0x1;_0x5f23ef>=0x0;_0x5f23ef--){const _0x37fabe={'id':_0x48c9a2(0x1fd),'params':{'unitId':_0x4d6004[_0x5f23ef][_0x48c9a2(0x39f)],..._0x4d6004[_0x5f23ef]['undoState']}},_0x337165={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4d6004[_0x5f23ef][_0x48c9a2(0x39f)],..._0x4d6004[_0x5f23ef]['redoState']}},_0x4a9ac6=this['_transformService'][_0x48c9a2(0x3af)](_0x252e71,_0x37fabe,!0x1),_0x65b439=this[_0x48c9a2(0x1ea)][_0x48c9a2(0x3af)](_0x18a739,_0x337165,!0x1);if(_0x5f3c3e['isTransformMutationFailure'](_0x4a9ac6))throw _0x4a9ac6[_0x48c9a2(0x230)];if(_0x5f3c3e[_0x48c9a2(0x23c)](_0x65b439))throw _0x65b439[_0x48c9a2(0x230)];_0xa8034a[_0x48c9a2(0x1cd)]({..._0x4d6004[_0x5f23ef],'undoState':_0x4a9ac6[_0x48c9a2(0x27e)][_0x48c9a2(0x321)],'redoState':_0x65b439[_0x48c9a2(0x27e)]['params']}),_0x252e71=_0x4a9ac6[_0x48c9a2(0x406)],_0x18a739=_0x65b439['m1Prime'];}_0x252e71=_0x4ce188[_0x48c9a2(0x375)][_0x48c9a2(0x47a)](_0x1bae99[_0x48c9a2(0x228)][0x0]),_0x18a739=_0x4ce188['Tools'][_0x48c9a2(0x47a)](_0x1bae99[_0x48c9a2(0x228)][0x0]);for(let _0x2665ad=_0x331df3[_0x48c9a2(0x3e9)]-0x1;_0x2665ad>=0x0;_0x2665ad--){const _0x4c4e42={'id':_0x48c9a2(0x1fd),'params':{'unitId':_0x331df3[_0x2665ad][_0x48c9a2(0x39f)],..._0x331df3[_0x2665ad]['undoState']}},_0x2c6dee={'id':_0x48c9a2(0x1fd),'params':{'unitId':_0x331df3[_0x2665ad][_0x48c9a2(0x39f)],..._0x331df3[_0x2665ad][_0x48c9a2(0x449)]}},_0x1a563f=this[_0x48c9a2(0x1ea)][_0x48c9a2(0x3af)](_0x252e71,_0x4c4e42,!0x1),_0x2ec2c2=this['_transformService'][_0x48c9a2(0x3af)](_0x18a739,_0x2c6dee,!0x1);if(_0x5f3c3e[_0x48c9a2(0x23c)](_0x1a563f))throw _0x1a563f[_0x48c9a2(0x230)];if(_0x5f3c3e[_0x48c9a2(0x23c)](_0x2ec2c2))throw _0x2ec2c2[_0x48c9a2(0x230)];_0xb0c0a4[_0x48c9a2(0x1cd)]({..._0x331df3[_0x2665ad],'undoState':_0x1a563f[_0x48c9a2(0x27e)][_0x48c9a2(0x321)],'redoState':_0x2ec2c2[_0x48c9a2(0x27e)][_0x48c9a2(0x321)]}),_0x252e71=_0x1a563f[_0x48c9a2(0x406)],_0x18a739=_0x2ec2c2[_0x48c9a2(0x406)];}this[_0x48c9a2(0x31a)][_0x48c9a2(0x1a5)](_0x308d36,{'history':_0xa8034a,'collaboration':_0xb0c0a4});}};_0x3f4111=_0x2fa2f5([_0x36bae0(0x0,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x2ee)])),_0x36bae0(0x1,_0x5f3c3e[_0x28c363(0x1db)]),_0x36bae0(0x2,_0x4ce188[_0x28c363(0x319)](_0x1bfa4c[_0x28c363(0x35e)]))],_0x3f4111);var _0x4384bd=Object['getOwnPropertyDescriptor'],_0x1ad86c=(_0x3baaaa,_0x1a9350,_0x38bcac,_0x2fdcd4)=>{const _0x2cef2f=_0x28c363;for(var _0x4409fa=_0x2fdcd4>0x1?void 0x0:_0x2fdcd4?_0x4384bd(_0x1a9350,_0x38bcac):_0x1a9350,_0x54a7e1=_0x3baaaa[_0x2cef2f(0x3e9)]-0x1,_0x18e167;_0x54a7e1>=0x0;_0x54a7e1--)(_0x18e167=_0x3baaaa[_0x54a7e1])&&(_0x4409fa=_0x18e167(_0x4409fa)||_0x4409fa);return _0x4409fa;},_0x4ff607=(_0x570c93,_0x25614f)=>(_0x422599,_0x565ae2)=>_0x25614f(_0x422599,_0x565ae2,_0x570c93);let _0x2c9efa=class{constructor(_0x47cef0,_0x4904b0){const _0x37e54b=_0x28c363;this['_injector']=_0x47cef0,this[_0x37e54b(0x1ea)]=_0x4904b0;}[_0x28c363(0x22c)](_0x471289){const _0x1f4051=_0x28c363;var _0x585999;const _0x353468=this[_0x1f4051(0x1d6)]['get'](_0x4ebf52['DocSelectionManagerService']),_0x48248f=(_0x585999=_0x353468[_0x1f4051(0x410)]())!=null?_0x585999:[];if(_0x48248f[_0x1f4051(0x3e9)]===0x0)return;const _0x5c0416=_0x471289[_0x1f4051(0x3dc)],_0x341e98=[{'id':_0x1f4051(0x1fd),'params':{'unitId':_0x5c0416,'actions':null,'textRanges':_0x48248f}}],_0x2d4176=this['_transformService'][_0x1f4051(0x3b4)](_0x471289,_0x341e98);if(!_0x5f3c3e['isTransformMutationsWithChangesetSuccess'](_0x2d4176))throw _0x2d4176[_0x1f4051(0x230)];const _0x16372e=_0x2d4176[_0x1f4051(0x27e)][0x0]['params'][_0x1f4051(0x3c3)];Array[_0x1f4051(0x2f3)](_0x16372e)&&_0x16372e[_0x1f4051(0x3e9)]&&_0x353468[_0x1f4051(0x247)](_0x16372e,{'unitId':_0x5c0416,'subUnitId':_0x5c0416},!0x1);}};_0x2c9efa=_0x1ad86c([_0x4ff607(0x0,_0x4ce188[_0x28c363(0x319)](_0x4ce188['Injector'])),_0x4ff607(0x1,_0x5f3c3e[_0x28c363(0x1db)])],_0x2c9efa);var _0x5c24d0=Object['getOwnPropertyDescriptor'],_0x254394=(_0x3f19f5,_0x39da72,_0x3b6122,_0x516bca)=>{for(var _0xc079f6=_0x516bca>0x1?void 0x0:_0x516bca?_0x5c24d0(_0x39da72,_0x3b6122):_0x39da72,_0x28e9d3=_0x3f19f5['length']-0x1,_0x1e20e8;_0x28e9d3>=0x0;_0x28e9d3--)(_0x1e20e8=_0x3f19f5[_0x28e9d3])&&(_0xc079f6=_0x1e20e8(_0xc079f6)||_0xc079f6);return _0xc079f6;},_0x3ad6aa=(_0x3db62f,_0x9c589d)=>(_0x2f6540,_0x54720f)=>_0x9c589d(_0x2f6540,_0x54720f,_0x3db62f);let _0x4613c6=class extends _0x4ce188['Disposable']{constructor(_0x4a284d,_0x41ae42,_0x11c266,_0x1a102a,_0x4f5e98,_0x51652c,_0x5c052e,_0x1e5f4d){const _0x2006d6=_0x28c363;super(),_0x2002db(this,_0x2006d6(0x2c0),new _0x4d6cca['BehaviorSubject'](_0x463ba0[_0x2006d6(0x3b7)][_0x2006d6(0x3c4)])),(this[_0x2006d6(0x31a)]=_0x4a284d,this[_0x2006d6(0x24c)]=_0x41ae42,this[_0x2006d6(0x35a)]=_0x11c266,this[_0x2006d6(0x34f)]=_0x1a102a,this[_0x2006d6(0x1d3)]=_0x4f5e98,this[_0x2006d6(0x2d2)]=_0x51652c,this['_messageService']=_0x5c052e,this[_0x2006d6(0x1a0)]=_0x1e5f4d,this[_0x2006d6(0x33b)]());}['_initEntityListener'](){const _0x2a51e7=_0x28c363;this['disposeWithMe'](this[_0x2a51e7(0x24c)]['entityInit$'][_0x2a51e7(0x2df)](_0x2cc5aa=>{const _0x44ff22=_0x2a51e7,_0x11ba51=this[_0x44ff22(0x31a)][_0x44ff22(0x3ce)][_0x44ff22(0x2df)](_0x2114e4=>{const _0x1c9c59=_0x44ff22;if(_0x2114e4==null)return;const {unitId:_0x5aa149,redoState:_0x55b7c2,commandId:_0x42a7b5}=_0x2114e4;if(_0x5aa149!==_0x2cc5aa[_0x1c9c59(0x3dc)])return;const _0x565501={'id':_0x42a7b5,'type':_0x4ce188[_0x1c9c59(0x48e)]['MUTATION'],'params':{'unitId':_0x5aa149,'actions':_0x55b7c2[_0x1c9c59(0x448)],'textRanges':null}};_0x2cc5aa[_0x1c9c59(0x3ef)](_0x565501);});if(_0x2cc5aa[_0x44ff22(0x210)](_0x11ba51),_0x2cc5aa instanceof _0x463ba0[_0x44ff22(0x2a7)]){const _0x37c669={'onTransformIME':_0x355c49=>this[_0x44ff22(0x35a)][_0x44ff22(0x311)](_0x355c49),'onTransformState':_0x351f69=>this['_docTransformStateCacheService'][_0x44ff22(0x21a)](_0x351f69),'onTransformSelections':_0x41decd=>this['_docTransformSelectionsService'][_0x44ff22(0x22c)](_0x41decd),'onSyncEditingCollabCursor':_0x3ca6f5=>this[_0x44ff22(0x2d2)]['syncEditingCollabCursor'](_0x3ca6f5),'onTransformRemoteChangesetByIMECache':_0x54114a=>this[_0x44ff22(0x35a)][_0x44ff22(0x23b)](_0x54114a),'onTransformRemoteChangesetByStateCache':_0x20638a=>this[_0x44ff22(0x34f)][_0x44ff22(0x23b)](_0x20638a)};_0x2cc5aa['addHandlerCallback'](_0x37c669);}}));}};_0x4613c6=_0x254394([_0x3ad6aa(0x0,_0x4ce188[_0x28c363(0x319)](_0x1bfa4c['DocStateChangeManagerService'])),_0x3ad6aa(0x1,_0x4ce188[_0x28c363(0x319)](_0x463ba0[_0x28c363(0x246)])),_0x3ad6aa(0x2,_0x4ce188[_0x28c363(0x319)](_0x4289c1)),_0x3ad6aa(0x3,_0x4ce188['Inject'](_0x3f4111)),_0x3ad6aa(0x4,_0x4ce188[_0x28c363(0x319)](_0x2c9efa)),_0x3ad6aa(0x5,_0x4ce188[_0x28c363(0x319)](_0x53ce46)),_0x3ad6aa(0x6,_0x577183['IMessageService']),_0x3ad6aa(0x7,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x263)]))],_0x4613c6);var _0x3e28d9=(_0x436eff=>(_0x436eff[_0x436eff[_0x28c363(0x435)]=0x0]=_0x28c363(0x435),_0x436eff[_0x436eff['OK']=0x1]='OK',_0x436eff[_0x436eff[_0x28c363(0x3cd)]=0x2]=_0x28c363(0x3cd),_0x436eff[_0x436eff[_0x28c363(0x3d7)]=0x3]=_0x28c363(0x3d7),_0x436eff[_0x436eff[_0x28c363(0x47b)]=0x4]=_0x28c363(0x47b),_0x436eff[_0x436eff[_0x28c363(0x3b5)]=0x5]=_0x28c363(0x3b5),_0x436eff[_0x436eff[_0x28c363(0x2bb)]=0x6]=_0x28c363(0x2bb),_0x436eff[_0x436eff[_0x28c363(0x43b)]=0x7]=_0x28c363(0x43b),_0x436eff[_0x436eff[_0x28c363(0x33d)]=0x8]=_0x28c363(0x33d),_0x436eff[_0x436eff[_0x28c363(0x31b)]=0x9]=_0x28c363(0x31b),_0x436eff[_0x436eff[_0x28c363(0x3cb)]=0xa]='LOGIN_FAILED',_0x436eff[_0x436eff[_0x28c363(0x2e2)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x436eff[_0x436eff[_0x28c363(0x489)]=0xc]=_0x28c363(0x489),_0x436eff[_0x436eff[_0x28c363(0x455)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x436eff[_0x436eff['EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xe]=_0x28c363(0x256),_0x436eff[_0x436eff[_0x28c363(0x434)]=0xf]='AUTHORIZE_CODE_ILLEGAL',_0x436eff[_0x436eff[_0x28c363(0x399)]=0x10]='LOGIN_TOKEN_PROCESSING_FAILED',_0x436eff[_0x436eff[_0x28c363(0x1d9)]=0x64]=_0x28c363(0x1d9),_0x436eff[_0x436eff['ERROR_AGAIN']=0x65]=_0x28c363(0x258),_0x436eff[_0x436eff[_0x28c363(0x40f)]=0xc9]=_0x28c363(0x40f),_0x436eff[_0x436eff[_0x28c363(0x34a)]=0xca]=_0x28c363(0x34a),_0x436eff[_0x436eff['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x28c363(0x465),_0x436eff[_0x436eff['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x28c363(0x1af),_0x436eff[_0x436eff['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x28c363(0x279),_0x436eff[_0x436eff['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x28c363(0x212),_0x436eff[_0x436eff[_0x28c363(0x45c)]=0x1b59]=_0x28c363(0x45c),_0x436eff[_0x436eff[_0x28c363(0x24b)]=0x1b5a]=_0x28c363(0x24b),_0x436eff[_0x436eff[_0x28c363(0x403)]=0x1b5b]=_0x28c363(0x403),_0x436eff[_0x436eff['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x28c363(0x3fe),_0x436eff[_0x436eff[_0x28c363(0x491)]=0x1b5d]=_0x28c363(0x491),_0x436eff[_0x436eff[_0x28c363(0x3bc)]=0x1f41]=_0x28c363(0x3bc),_0x436eff[_0x436eff[_0x28c363(0x2b9)]=0x2329]=_0x28c363(0x2b9),_0x436eff[_0x436eff[_0x28c363(0x44e)]=0x232a]=_0x28c363(0x44e),_0x436eff[_0x436eff[_0x28c363(0x338)]=0x232b]=_0x28c363(0x338),_0x436eff[_0x436eff[_0x28c363(0x1ec)]=0x232c]=_0x28c363(0x1ec),_0x436eff[_0x436eff[_0x28c363(0x348)]=0x232d]=_0x28c363(0x348),_0x436eff[_0x436eff[_0x28c363(0x1aa)]=0x2711]=_0x28c363(0x1aa),_0x436eff[_0x436eff[_0x28c363(0x478)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x436eff[_0x436eff['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x28c363(0x40e),_0x436eff[_0x436eff[_0x28c363(0x1bf)]=0x2714]=_0x28c363(0x1bf),_0x436eff[_0x436eff[_0x28c363(0x2ed)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x436eff[_0x436eff[_0x28c363(0x41a)]=0x271b]=_0x28c363(0x41a),_0x436eff[_0x436eff['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x436eff[_0x436eff[_0x28c363(0x488)]=0x271d]=_0x28c363(0x488),_0x436eff[_0x436eff[_0x28c363(0x2b7)]=0x271e]=_0x28c363(0x2b7),_0x436eff[_0x436eff[_0x28c363(0x346)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x436eff[_0x436eff['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x436eff[_0x436eff[_0x28c363(0x298)]=0x2af9]=_0x28c363(0x298),_0x436eff[_0x436eff[_0x28c363(0x1f8)]=0x2ee1]=_0x28c363(0x1f8),_0x436eff[_0x436eff[_0x28c363(0x26b)]=0x2ee2]='INVALID_INVITE_CODE',_0x436eff[_0x436eff[_0x28c363(0x2fb)]=0x2ee3]=_0x28c363(0x2fb),_0x436eff[_0x436eff[_0x28c363(0x205)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x436eff[_0x436eff['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x28c363(0x475),_0x436eff[_0x436eff[_0x28c363(0x2a9)]=0x32c9]=_0x28c363(0x2a9),_0x436eff[_0x436eff[_0x28c363(0x1ba)]=0x32ca]=_0x28c363(0x1ba),_0x436eff[_0x436eff[_0x28c363(0x325)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x436eff[_0x436eff[_0x28c363(0x3c2)]=0x36b1]=_0x28c363(0x3c2),_0x436eff[_0x436eff[_0x28c363(0x445)]=0x36b2]=_0x28c363(0x445),_0x436eff[_0x436eff[_0x28c363(0x1cb)]=0x36b3]=_0x28c363(0x1cb),_0x436eff[_0x436eff['PAYMENT_CHANNEL_NOT_SUPPORT']=0x36b4]=_0x28c363(0x355),_0x436eff[_0x436eff[_0x28c363(0x265)]=0x36b5]=_0x28c363(0x265),_0x436eff[_0x436eff[_0x28c363(0x400)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x436eff[_0x436eff[_0x28c363(0x3ec)]=0x36b7]=_0x28c363(0x3ec),_0x436eff[_0x436eff[_0x28c363(0x2aa)]=0x36b8]=_0x28c363(0x2aa),_0x436eff[_0x436eff['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x28c363(0x211),_0x436eff[_0x436eff[_0x28c363(0x2a6)]=0x3716]=_0x28c363(0x2a6),_0x436eff[_0x436eff[_0x28c363(0x27d)]=0x3717]=_0x28c363(0x27d),_0x436eff[_0x436eff['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x436eff[_0x436eff[_0x28c363(0x476)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x436eff[_0x436eff['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x28c363(0x1bd),_0x436eff[_0x436eff['REDEMPTION_CODE_FULLY_REDEEMED']=0x3a9b]=_0x28c363(0x46c),_0x436eff[_0x436eff[_0x28c363(0x43c)]=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0x436eff[_0x436eff[_0x28c363(0x32e)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x436eff[_0x436eff[_0x28c363(0x209)]=0x3a9e]=_0x28c363(0x209),_0x436eff[_0x436eff['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x28c363(0x2ec),_0x436eff[_0x436eff[_0x28c363(0x2f8)]=0x3e81]=_0x28c363(0x2f8),_0x436eff[_0x436eff['UNRECOGNIZED']=-0x1]=_0x28c363(0x238),_0x436eff))(_0x3e28d9||{});function _0x3a12fb(_0x287fc2){const _0x24248c=_0x28c363;var _0x1bf4f3,_0x55b221;const _0x484e0f=(_0x1bf4f3=_0x287fc2['stageInfo'])==null?void 0x0:_0x1bf4f3[_0x24248c(0x216)],_0x54a48c=((_0x55b221=_0x287fc2[_0x24248c(0x47e)])==null?void 0x0:_0x55b221[_0x24248c(0x364)])||0x0;return _0x484e0f===_0xf94d0f[_0x24248c(0x3ed)][_0x24248c(0x2f2)]&&_0x54a48c>0x0;}function _0x2be548(_0x499736){const _0x24b171=_0x28c363;return _0x499736[_0x24b171(0x458)]===_0xf94d0f[_0x24b171(0x2b6)][_0x24b171(0x274)];}var _0x3b99aa=Object[_0x28c363(0x328)],_0x26126a=(_0x159087,_0x433372,_0x1941a4,_0x4e5745)=>{for(var _0x4f1220=_0x4e5745>0x1?void 0x0:_0x4e5745?_0x3b99aa(_0x433372,_0x1941a4):_0x433372,_0x1306d1=_0x159087['length']-0x1,_0x4a9bc1;_0x1306d1>=0x0;_0x1306d1--)(_0x4a9bc1=_0x159087[_0x1306d1])&&(_0x4f1220=_0x4a9bc1(_0x4f1220)||_0x4f1220);return _0x4f1220;},_0x56c89d=(_0x1e9456,_0x8b831a)=>(_0x5c50ae,_0x44b3d0)=>_0x8b831a(_0x5c50ae,_0x44b3d0,_0x1e9456);const _0x54dbdf=_0x28c363(0x277),_0x4bae55=_0x28c363(0x26f),_0x3201a1=_0x28c363(0x44b);let _0x3c389e=class extends _0x4ce188['Disposable']{constructor(_0x1c9e6b,_0xf8f707,_0x4c8dab,_0x5e1b7e,_0x5dc0e6,_0x1a85c1,_0x155a1b){const _0x2d5411=_0x28c363;super(),_0x2002db(this,'_pollingInterval',null),_0x2002db(this,_0x2d5411(0x1f5),0x0),_0x2002db(this,_0x2d5411(0x460),0x0),_0x2002db(this,_0x2d5411(0x2e1),[]),_0x2002db(this,_0x2d5411(0x3c8),0x0),(this[_0x2d5411(0x22f)]=_0x1c9e6b,this['_commandService']=_0xf8f707,this[_0x2d5411(0x485)]=_0x4c8dab,this[_0x2d5411(0x417)]=_0x5e1b7e,this[_0x2d5411(0x2e8)]=_0x5dc0e6,this[_0x2d5411(0x3ff)]=_0x1a85c1,this['_localeService']=_0x155a1b,this[_0x2d5411(0x315)]());}[_0x28c363(0x315)](){const _0x585267=_0x28c363;this[_0x585267(0x210)](this[_0x585267(0x3b3)][_0x585267(0x221)]((_0x25fcbc,_0x291cf5)=>{const _0x5da90f=_0x585267;var _0x2d3b2c;if(_0x25fcbc['id']!==_0xf94d0f[_0x5da90f(0x467)]['id'])return;const _0x5e07c1=_0x25fcbc['params'];if(!this[_0x5da90f(0x383)]((_0x2d3b2c=_0x5e07c1[_0x5da90f(0x19b)])!=null?_0x2d3b2c:[]))return;if(!this[_0x5da90f(0x1e2)]())throw this[_0x5da90f(0x43e)](_0x25fcbc,_0x291cf5),this[_0x5da90f(0x236)](),new _0x4ce188[(_0x5da90f(0x471))]();})),this[_0x585267(0x210)](this[_0x585267(0x3b3)][_0x585267(0x20a)]((_0x4bd952,_0x51d75a)=>{const _0x5b1999=_0x585267;if(_0x4bd952['id']!==_0xf94d0f[_0x5b1999(0x31f)]['id'])return;const _0x4e5887=_0x4bd952[_0x5b1999(0x321)];if(_0x3a12fb(_0x4e5887)){const _0x3dde8d=_0x4ce188[_0x5b1999(0x35d)]();this[_0x5b1999(0x2e1)][_0x5b1999(0x309)](_0x3dde8d),this[_0x5b1999(0x242)](_0x3dde8d);}else{if(_0x2be548(_0x4e5887)&&this[_0x5b1999(0x2e1)][_0x5b1999(0x3e9)]>0x0){const _0x50d7d9=this[_0x5b1999(0x2e1)][_0x5b1999(0x1d1)]();this[_0x5b1999(0x1a9)](_0x50d7d9);}}}));}['dispose'](){const _0x12512c=_0x28c363;super[_0x12512c(0x2fc)](),this[_0x12512c(0x390)](),this[_0x12512c(0x2e1)]=[],this[_0x12512c(0x460)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x12512c(0x3c8)]=0x0;}async[_0x28c363(0x43e)](_0x31a431,_0x250625){const _0x231c22=_0x28c363;for(let _0x530348=0x0;_0x530348<0x1e;_0x530348++)try{if(await this['_getFormulaLimitStatus'](),this['_checkCalculationAvailable']()){this['_applyCommand'](_0x31a431,_0x250625),this[_0x231c22(0x22f)][_0x231c22(0x273)]({'content':this[_0x231c22(0x1a0)]['t'](_0x231c22(0x42f)),'type':_0x523600['MessageType']['Success']});return;}await new Promise(_0x3a231a=>{const _0x44ec1b=_0x231c22;this['_pollingInterval']=window[_0x44ec1b(0x21d)](_0x3a231a,0x3e8);});}catch(_0x28f0e8){this[_0x231c22(0x3ff)][_0x231c22(0x230)](_0x28f0e8);}this['_messageService'][_0x231c22(0x273)]({'content':this[_0x231c22(0x1a0)]['t']('formula.calculation.unable'),'type':_0x523600[_0x231c22(0x3c7)]['Error']});}[_0x28c363(0x36a)](_0x4fa65c,_0xc49773){const _0x563429=_0x28c363;try{this[_0x563429(0x3b3)][_0x563429(0x1ae)](_0x4fa65c['id'],_0x4fa65c[_0x563429(0x321)],_0xc49773);}catch(_0x1040a5){this['_logService'][_0x563429(0x230)](_0x1040a5);}}[_0x28c363(0x44d)](_0x1e7b79,_0x2733b8){const _0x383676=_0x28c363;_0x2733b8<this[_0x383676(0x3c8)]||(this[_0x383676(0x3c8)]=_0x2733b8,this[_0x383676(0x1f5)]=Number[_0x383676(0x213)](_0x1e7b79[_0x383676(0x27b)]),this[_0x383676(0x460)]=Number[_0x383676(0x213)](_0x1e7b79[_0x383676(0x2d7)]));}async[_0x28c363(0x242)](_0x1b1687){const _0x417dd6=_0x28c363;var _0x5b63e2,_0x16e5bd;const _0x514f09=Date[_0x417dd6(0x2db)]();try{const _0x38af72=((_0x5b63e2=this[_0x417dd6(0x485)][_0x417dd6(0x42b)](_0x463ba0[_0x417dd6(0x1f6)]))==null?void 0x0:_0x5b63e2[_0x417dd6(0x254)])||_0x4bae55,_0x98d5a7=(await this['_httpService'][_0x417dd6(0x452)](_0x38af72,{'body':JSON[_0x417dd6(0x2d8)]({'taskId':_0x1b1687})}))[_0x417dd6(0x2b4)];if(((_0x16e5bd=_0x98d5a7['error'])==null?void 0x0:_0x16e5bd[_0x417dd6(0x1e6)])!==_0x3e28d9['OK'])return;this[_0x417dd6(0x44d)](_0x98d5a7['limitInfo'],_0x514f09);}catch(_0x1fee1c){this[_0x417dd6(0x3ff)][_0x417dd6(0x230)](_0x1fee1c);}}async[_0x28c363(0x27f)](_0x4c55d3){const _0x5af737=_0x28c363;var _0x2c5de5,_0x540486;const _0x7b0a02=Date['now']();try{const _0x48a0be=((_0x2c5de5=this[_0x5af737(0x485)][_0x5af737(0x42b)](_0x463ba0[_0x5af737(0x1f6)]))==null?void 0x0:_0x2c5de5[_0x5af737(0x25d)])||_0x54dbdf,_0x27955e=_0x4c55d3?_0x48a0be+_0x5af737(0x3a7)+encodeURIComponent(_0x4c55d3):_0x48a0be,_0x12ddde=(await this[_0x5af737(0x417)][_0x5af737(0x314)](_0x27955e))['body'];if(((_0x540486=_0x12ddde[_0x5af737(0x230)])==null?void 0x0:_0x540486['code'])!==_0x3e28d9['OK'])return;this['_setFormulaLimitStatus'](_0x12ddde['limitInfo'],_0x7b0a02);}catch(_0x5f5077){this[_0x5af737(0x3ff)][_0x5af737(0x230)](_0x5f5077);}}async[_0x28c363(0x1a9)](_0x398955){const _0x41156=_0x28c363;var _0x57e3a6,_0xdb32d5;const _0x312e75=Date['now']();try{const _0x4c3424=((_0x57e3a6=this[_0x41156(0x485)]['getConfig'](_0x463ba0[_0x41156(0x1f6)]))==null?void 0x0:_0x57e3a6['releaseFormulaLimitUrl'])||_0x3201a1,_0x34ea83=(await this['_httpService'][_0x41156(0x452)](_0x4c3424,{'body':JSON[_0x41156(0x2d8)]({'taskId':_0x398955})}))[_0x41156(0x2b4)];if(((_0xdb32d5=_0x34ea83['error'])==null?void 0x0:_0xdb32d5['code'])!==_0x3e28d9['OK'])return;this[_0x41156(0x44d)](_0x34ea83[_0x41156(0x29d)],_0x312e75);}catch(_0x4c36c2){this[_0x41156(0x3ff)]['error'](_0x4c36c2);}}['_checkCalculationAvailable'](){const _0x51848b=_0x28c363;return this[_0x51848b(0x1f5)]===0x0?!0x0:this[_0x51848b(0x1f5)]-this[_0x51848b(0x460)]>0x0;}[_0x28c363(0x390)](){const _0x20d42a=_0x28c363;this[_0x20d42a(0x407)]&&(clearTimeout(this[_0x20d42a(0x407)]),this['_pollingInterval']=null);}[_0x28c363(0x236)](){const _0x4966bd=_0x28c363;this[_0x4966bd(0x22f)][_0x4966bd(0x273)]({'content':this[_0x4966bd(0x1a0)]['t'](_0x4966bd(0x3da)),'type':_0x523600[_0x4966bd(0x3c7)]['Loading']});}[_0x28c363(0x383)](_0xe1ed6b){const _0x4e592c=_0x28c363;for(const _0x136619 of _0xe1ed6b){const {unitId:_0x12038c,sheetId:_0xdd8371,range:_0x180a4e}=_0x136619,_0x22f5fa=this[_0x4e592c(0x2e8)][_0x4e592c(0x1fb)](_0x12038c);if(!_0x22f5fa)continue;const _0x71ac4=_0x22f5fa[_0x4e592c(0x313)](_0xdd8371);if(!_0x71ac4)continue;const _0x1c77db=_0x71ac4[_0x4e592c(0x2d0)]();for(let _0x44c82e=_0x180a4e[_0x4e592c(0x1c9)];_0x44c82e<=_0x180a4e[_0x4e592c(0x2d5)];_0x44c82e++)for(let _0x12a9ea=_0x180a4e[_0x4e592c(0x3a5)];_0x12a9ea<=_0x180a4e[_0x4e592c(0x318)];_0x12a9ea++){const _0x4ca7ea=_0x1c77db[_0x4e592c(0x26a)](_0x44c82e,_0x12a9ea);if(_0x4ca7ea&&(_0x4ce188[_0x4e592c(0x3f6)](_0x4ca7ea['f'])||_0x4ce188['isFormulaId'](_0x4ca7ea['si'])))return!0x0;}}return!0x1;}};_0x3c389e=_0x26126a([_0x56c89d(0x0,_0x4ce188[_0x28c363(0x319)](_0x577183[_0x28c363(0x2ca)])),_0x56c89d(0x1,_0x4ce188[_0x28c363(0x454)]),_0x56c89d(0x2,_0x4ce188['IConfigService']),_0x56c89d(0x3,_0x4ce188[_0x28c363(0x319)](_0x1d4876['HTTPService'])),_0x56c89d(0x4,_0x4ce188['IUniverInstanceService']),_0x56c89d(0x5,_0x4ce188[_0x28c363(0x367)]),_0x56c89d(0x6,_0x4ce188[_0x28c363(0x319)](_0x4ce188['LocaleService']))],_0x3c389e);var _0x18ddfa=Object['getOwnPropertyDescriptor'],_0x1532f7=(_0x8309f1,_0x3b6e52,_0x2fa6ef,_0x56bac2)=>{const _0xb9c740=_0x28c363;for(var _0x2086cf=_0x56bac2>0x1?void 0x0:_0x56bac2?_0x18ddfa(_0x3b6e52,_0x2fa6ef):_0x3b6e52,_0x14a22e=_0x8309f1[_0xb9c740(0x3e9)]-0x1,_0x1ba283;_0x14a22e>=0x0;_0x14a22e--)(_0x1ba283=_0x8309f1[_0x14a22e])&&(_0x2086cf=_0x1ba283(_0x2086cf)||_0x2086cf);return _0x2086cf;},_0x1f2646=(_0x43e53a,_0x3ed5a7)=>(_0x2026ef,_0x358f6d)=>_0x3ed5a7(_0x2026ef,_0x358f6d,_0x43e53a);let _0x102e99=class extends _0x4ce188[_0x28c363(0x3ba)]{constructor(_0x1a5ebc,_0x4b5c6d,_0x259a4b){const _0x5d5437=_0x28c363;super(),_0x2002db(this,_0x5d5437(0x3fb),new Map()),_0x2002db(this,_0x5d5437(0x3c0),new Map()),_0x2002db(this,_0x5d5437(0x3a8),!0x1),(this[_0x5d5437(0x485)]=_0x1a5ebc,this[_0x5d5437(0x248)]=_0x4b5c6d,this[_0x5d5437(0x20e)]=_0x259a4b);}[_0x28c363(0x3f2)](){const _0x1f2efe=_0x28c363;this[_0x1f2efe(0x3a8)]=!0x0;}[_0x28c363(0x44a)](){this['_disabled']=!0x1;}get[_0x28c363(0x202)](){return this['_saveTaskMap'];}['dispose'](){const _0x1fe2aa=_0x28c363;this['exhaustSavingTask']()[_0x1fe2aa(0x3f1)](()=>super['dispose']());}async[_0x28c363(0x3b1)](_0x33e975){const _0x2d3da2=_0x28c363;return this[_0x2d3da2(0x3a8)]?null:this[_0x2d3da2(0x248)][_0x2d3da2(0x45f)](_0x463ba0['getLocalCacheKey'](_0x33e975));}async[_0x28c363(0x3d3)](_0x2060c4,_0x2788c1){const _0x2511dd=_0x28c363;return!!this['_localStorageService'][_0x2511dd(0x2bd)](_0x2060c4,_0x2788c1);}[_0x28c363(0x218)](_0x289685,_0x438d36,_0x43554b,_0x307c8c){const _0x20be54=_0x28c363,_0x1a8078=this[_0x20be54(0x20e)][_0x20be54(0x39a)](_0x289685);this[_0x20be54(0x3fb)][_0x20be54(0x306)](_0x289685,{'unitID':_0x289685,'type':_0x438d36,'awaitingChangeset':_0x43554b,'mutations':_0x307c8c,'rev':_0x1a8078}),this[_0x20be54(0x3c0)]['has'](_0x289685)||this[_0x20be54(0x308)](_0x289685);}[_0x28c363(0x308)](_0x53c230){const _0x3af4c2=_0x28c363,_0x38530c=this[_0x3af4c2(0x1e8)]();_0x38530c===0x0?this[_0x3af4c2(0x361)](_0x53c230):this[_0x3af4c2(0x3c0)]['set'](_0x53c230,setTimeout(()=>this[_0x3af4c2(0x361)](_0x53c230),_0x38530c));}[_0x28c363(0x1e8)](){const _0x5ab243=_0x28c363;var _0x1828a7;return(_0x1828a7=this[_0x5ab243(0x485)][_0x5ab243(0x42b)](_0x463ba0[_0x5ab243(0x392)]))!=null?_0x1828a7:_0x463ba0['LOCAL_CACHE_INTERVAL'];}[_0x28c363(0x361)](_0x4ca25c){const _0x3ecd0e=_0x28c363,_0x5d960e=this['_saveTaskMap'][_0x3ecd0e(0x314)](_0x4ca25c);return _0x5d960e!==void 0x0&&window[_0x3ecd0e(0x42e)](_0x5d960e),this[_0x3ecd0e(0x248)][_0x3ecd0e(0x2bd)](_0x463ba0[_0x3ecd0e(0x326)](_0x4ca25c),this[_0x3ecd0e(0x3fb)][_0x3ecd0e(0x314)](_0x4ca25c))['then'](()=>this[_0x3ecd0e(0x3c0)][_0x3ecd0e(0x409)](_0x4ca25c));}async[_0x28c363(0x257)](){const _0x352c3f=_0x28c363,_0x262b95=[];this['_saveTaskMap'][_0x352c3f(0x385)]((_0x394fcc,_0x4cfe6c)=>{const _0x411b04=_0x352c3f;window[_0x411b04(0x42e)](_0x394fcc),_0x262b95[_0x411b04(0x309)](this[_0x411b04(0x361)](_0x4cfe6c)[_0x411b04(0x3f1)](()=>{const _0x5d54b8=_0x411b04;this[_0x5d54b8(0x3c0)][_0x5d54b8(0x409)](_0x4cfe6c);}));}),await Promise['all'](_0x262b95);}};_0x102e99=_0x1532f7([_0x1f2646(0x0,_0x4ce188[_0x28c363(0x30a)]),_0x1f2646(0x1,_0x4ce188['ILocalStorageService']),_0x1f2646(0x2,_0x4ce188[_0x28c363(0x319)](_0x5f3c3e['RevisionService']))],_0x102e99);class _0x9a2c00 extends _0x4ce188[_0x28c363(0x3f3)]{constructor(){const _0x3d804a=_0x28c363;super(),_0x2002db(this,_0x3d804a(0x341)),this['urlChange$']=_0x4d6cca['fromEvent'](window,'popstate')[_0x3d804a(0x397)](_0x4d6cca[_0x3d804a(0x20b)](this[_0x3d804a(0x1fa)]),_0x4d6cca[_0x3d804a(0x456)](0x1),_0x4d6cca[_0x3d804a(0x26c)](void 0x0));}[_0x28c363(0x2be)](_0x394d4c,_0x17aced,_0x3e4be7=!0x1){const _0x89cfe3=_0x28c363,_0x18b3d2=new URL(window['location'][_0x89cfe3(0x33a)]);_0x18b3d2['searchParams'][_0x89cfe3(0x306)](_0x394d4c,_0x17aced),_0x3e4be7?window[_0x89cfe3(0x2c9)]['replaceState']('','',_0x18b3d2['toString']()):window[_0x89cfe3(0x2c9)]['pushState']('','',_0x18b3d2['toString']());}[_0x28c363(0x28f)](_0x1a0c28,_0x5a7df4=!0x1){const _0x7683d3=_0x28c363,_0x185278=new URL(window['location'][_0x7683d3(0x33a)]);_0x185278[_0x7683d3(0x32a)]['delete'](_0x1a0c28),_0x5a7df4?window[_0x7683d3(0x2c9)]['replaceState']('','',_0x185278[_0x7683d3(0x288)]()):window['history'][_0x7683d3(0x217)]('','',_0x185278[_0x7683d3(0x288)]());}[_0x28c363(0x35b)](_0x328f61){const _0x373b94=_0x28c363;var _0x6eed6d;return(_0x6eed6d=new URL(window[_0x373b94(0x431)][_0x373b94(0x33a)])[_0x373b94(0x32a)][_0x373b94(0x314)](_0x328f61))!=null?_0x6eed6d:void 0x0;}}var _0xc25f4e=Object['defineProperty'],_0x3e7f9b=Object[_0x28c363(0x328)],_0x23e167=(_0x30aa08,_0x241426,_0x34cb91)=>_0x241426 in _0x30aa08?_0xc25f4e(_0x30aa08,_0x241426,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x34cb91}):_0x30aa08[_0x241426]=_0x34cb91,_0x574c82=(_0x1338e2,_0x5d59f1,_0x75f1ce,_0x4d550f)=>{const _0x142e46=_0x28c363;for(var _0x4ecc39=_0x4d550f>0x1?void 0x0:_0x4d550f?_0x3e7f9b(_0x5d59f1,_0x75f1ce):_0x5d59f1,_0x9447ce=_0x1338e2[_0x142e46(0x3e9)]-0x1,_0x2ec141;_0x9447ce>=0x0;_0x9447ce--)(_0x2ec141=_0x1338e2[_0x9447ce])&&(_0x4ecc39=_0x2ec141(_0x4ecc39)||_0x4ecc39);return _0x4ecc39;},_0x2b153c=(_0xb167c4,_0x5b996a)=>(_0x50947,_0x54fca4)=>_0x5b996a(_0x50947,_0x54fca4,_0xb167c4),_0x48d32e=(_0x491146,_0x34f6d4,_0x2f081e)=>_0x23e167(_0x491146,_0x34f6d4+'',_0x2f081e);const _0x13f050=_0x28c363(0x426);_0x109cc1[_0x28c363(0x284)]=class extends _0x4ce188[_0x28c363(0x2af)]{constructor(_0x51c425=_0x52a5e9,_0x1eb3b0,_0x820aed,_0x4aaf85){const _0x5b57ca=_0x28c363;super(),this[_0x5b57ca(0x424)]=_0x51c425,this['_renderManagerService']=_0x1eb3b0,this[_0x5b57ca(0x1d6)]=_0x820aed,this[_0x5b57ca(0x485)]=_0x4aaf85;const {..._0x34ae89}=_0x4ce188[_0x5b57ca(0x3a0)]({},_0x52a5e9,this['_config']);this['_configService'][_0x5b57ca(0x1ee)](_0xe3ab6a,_0x34ae89);}[_0x28c363(0x2e0)](){const _0x1ce7ba=_0x28c363;this[_0x1ce7ba(0x336)](),this[_0x1ce7ba(0x1f2)]();}[_0x28c363(0x37c)](){const _0x2e0e94=_0x28c363;this[_0x2e0e94(0x3f4)]();}[_0x28c363(0x336)](){const _0x329a11=_0x28c363;var _0x322378;const _0x26ec07=[[_0x5937ca],[_0x3c389e],[_0x2c9efa],[_0x4289c1],[_0x3f4111],[_0x53ce46],[_0x204646,{'useClass':_0x9a2c00}],[_0x1d4876[_0x329a11(0x223)],{'useClass':_0x1d4876['WebSocketService']}],[_0x463ba0[_0x329a11(0x1d5)],{'useClass':_0x102e99}],[_0x109cc1['DesktopCollaborationStatusDisplayController']],[_0x4613c6],[_0x35c423],[_0x2a8919],[_0x288851],[_0x109cc1['CollaborationDataLoaderController']]];this[_0x329a11(0x424)]['enableFrontendLog']&&_0x26ec07['push']([_0x1e2184]),_0x4ce188['registerDependencies'](this[_0x329a11(0x1d6)],_0x4ce188['mergeOverrideWithDependencies'](_0x26ec07,(_0x322378=this[_0x329a11(0x424)])==null?void 0x0:_0x322378[_0x329a11(0x389)]));}['_registerRenderDependencies'](){const _0x512f08=_0x28c363;this[_0x512f08(0x210)](this[_0x512f08(0x1e9)][_0x512f08(0x38d)](_0x4ce188['UniverInstanceType']['UNIVER_DOC'],[_0x2af2e0])),this[_0x512f08(0x210)](this[_0x512f08(0x1e9)]['registerRenderModule'](_0x4ce188[_0x512f08(0x1b9)][_0x512f08(0x30b)],[_0x5dc1d7]));}[_0x28c363(0x1f2)](){const _0x422ecc=_0x28c363;_0x4ce188[_0x422ecc(0x2f5)](this[_0x422ecc(0x1d6)],[[_0x2a8919],[_0x109cc1[_0x422ecc(0x3ac)]],[_0x4613c6],[_0x35c423],[_0x109cc1[_0x422ecc(0x443)]],[_0x3c389e]]),this[_0x422ecc(0x424)][_0x422ecc(0x36d)]&&_0x4ce188[_0x422ecc(0x2f5)](this[_0x422ecc(0x1d6)],[[_0x1e2184]]);}},_0x48d32e(_0x109cc1['UniverCollaborationClientUIPlugin'],_0x28c363(0x413),_0x13f050),_0x109cc1['UniverCollaborationClientUIPlugin']=_0x574c82([_0x4ce188[_0x28c363(0x2b1)](_0x463ba0[_0x28c363(0x368)]),_0x2b153c(0x1,_0xcd5ffc[_0x28c363(0x2e5)]),_0x2b153c(0x2,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x2ee)])),_0x2b153c(0x3,_0x4ce188[_0x28c363(0x30a)])],_0x109cc1[_0x28c363(0x284)]);var _0x54e371=Object['getOwnPropertyDescriptor'],_0x21f088=(_0x941301,_0x5ddb22,_0x5380e7,_0x2cbe94)=>{const _0x577608=_0x28c363;for(var _0x805392=_0x2cbe94>0x1?void 0x0:_0x2cbe94?_0x54e371(_0x5ddb22,_0x5380e7):_0x5ddb22,_0x2527bd=_0x941301[_0x577608(0x3e9)]-0x1,_0x37c89f;_0x2527bd>=0x0;_0x2527bd--)(_0x37c89f=_0x941301[_0x2527bd])&&(_0x805392=_0x37c89f(_0x805392)||_0x805392);return _0x805392;},_0x517ad6=(_0x3526df,_0x13e727)=>(_0x28addc,_0x291eda)=>_0x13e727(_0x28addc,_0x291eda,_0x3526df);_0x109cc1[_0x28c363(0x3bf)]=class extends _0x463ba0['CollaborationSocketService']{constructor(_0x331ec5,_0xea1c6,_0xff027f,_0x2ad3e9,_0x55d356){super(_0x331ec5,_0xea1c6,_0xff027f,_0x2ad3e9,_0x55d356);}async[_0x28c363(0x1ce)](_0xc96eaa){const _0x1a0ba3=_0x28c363,_0x2755f4=await this[_0x1a0ba3(0x3fd)](),_0x2dcd08=this['_createSocketURL'](_0xc96eaa,_0x2755f4);return this[_0x1a0ba3(0x330)](_0x2dcd08);}[_0x28c363(0x386)](_0x1ea50e,_0x114da7){const _0x1630dc=_0x28c363,_0xcbc9fe=typeof window>'u'?new URL(_0x1ea50e):new URL(_0x1ea50e,window['location'][_0x1630dc(0x1ed)]);_0xcbc9fe[_0x1630dc(0x32a)][_0x1630dc(0x306)]('sessionTicket',_0x114da7);const _0x394084=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1630dc(0x431)][_0x1630dc(0x2de)]);return _0x394084[_0x1630dc(0x314)](_0x1630dc(0x349))&&_0xcbc9fe[_0x1630dc(0x32a)][_0x1630dc(0x306)](_0x1630dc(0x349),_0x394084['get']('runId')),_0xcbc9fe['toString']();}async[_0x28c363(0x3fd)](){const _0x4c3b95=_0x28c363;var _0xa6b5e7,_0x284122,_0x1b0fbe;const _0x1432c2=this['_configService']['getConfig'](_0x463ba0[_0x4c3b95(0x1f6)]),_0x9ec75a=(_0xa6b5e7=_0x1432c2==null?void 0x0:_0x1432c2[_0x4c3b95(0x23e)])!=null?_0xa6b5e7:_0x463ba0[_0x4c3b95(0x394)];return(_0x1b0fbe=(_0x284122=(await this[_0x4c3b95(0x417)][_0x4c3b95(0x314)](_0x9ec75a,{'headers':{'Content-Type':'application/json'}}))[_0x4c3b95(0x2b4)])==null?void 0x0:_0x284122[_0x4c3b95(0x1ca)])!=null?_0x1b0fbe:'';}},_0x109cc1[_0x28c363(0x3bf)]=_0x21f088([_0x517ad6(0x0,_0x4ce188[_0x28c363(0x319)](_0x4ce188[_0x28c363(0x2ee)])),_0x517ad6(0x1,_0x4ce188[_0x28c363(0x319)](_0x1d4876[_0x28c363(0x461)])),_0x517ad6(0x2,_0x4ce188['IConfigService']),_0x517ad6(0x3,_0x4ce188[_0x28c363(0x367)]),_0x517ad6(0x4,_0x5f3c3e[_0x28c363(0x235)])],_0x109cc1[_0x28c363(0x3bf)]);var _0x5bf8cc=Object[_0x28c363(0x328)],_0x3a5105=(_0x232911,_0x3e9502,_0x983ea6,_0x3942d3)=>{const _0x5a0ddf=_0x28c363;for(var _0x169ba9=_0x3942d3>0x1?void 0x0:_0x3942d3?_0x5bf8cc(_0x3e9502,_0x983ea6):_0x3e9502,_0x3b41c5=_0x232911[_0x5a0ddf(0x3e9)]-0x1,_0x4fc389;_0x3b41c5>=0x0;_0x3b41c5--)(_0x4fc389=_0x232911[_0x3b41c5])&&(_0x169ba9=_0x4fc389(_0x169ba9)||_0x169ba9);return _0x169ba9;},_0x20a694=(_0x400f63,_0x1991de)=>(_0x121520,_0x1e1456)=>_0x1991de(_0x121520,_0x1e1456,_0x400f63);_0x109cc1['RemoteUniscriptService']=class extends _0x4ce188[_0x28c363(0x3ba)]{constructor(_0x4b64f9,_0x54f4a1,_0x540dad){const _0x1b9540=_0x28c363;super(),this[_0x1b9540(0x48a)]=_0x4b64f9,this[_0x1b9540(0x417)]=_0x54f4a1,this[_0x1b9540(0x485)]=_0x540dad;}async[_0x28c363(0x401)](_0x46d46a,_0x424f36,_0x2cb119,..._0x5b5111){const _0x1b1ea4=_0x28c363;var _0x578e6c,_0x11ede1,_0x5df489,_0x4f7b24;const _0x2f69ea=this[_0x1b1ea4(0x48a)][_0x1b1ea4(0x30d)]();if(!_0x2f69ea)throw new Error(_0x1b1ea4(0x278));const _0x5caa33=((_0x578e6c=this[_0x1b1ea4(0x485)]['getConfig'](_0x463ba0[_0x1b1ea4(0x481)]))!=null?_0x578e6c:_0x463ba0['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x46d46a+_0x1b1ea4(0x36f)+_0x424f36,_0x1fad06=new URL(window['location']['href']),_0x24d793={'scriptId':_0x46d46a,'runId':(_0x11ede1=_0x1fad06[_0x1b1ea4(0x32a)][_0x1b1ea4(0x314)](_0x1b1ea4(0x349)))!=null?_0x11ede1:'','function':_0x424f36,'unitId':_0x2f69ea[_0x1b1ea4(0x281)](),'argsOfFunction':JSON[_0x1b1ea4(0x2d8)](_0x5b5111),'invokeId':(_0x5df489=_0x2cb119[_0x1b1ea4(0x453)])!=null?_0x5df489:'','executionId':(_0x4f7b24=_0x2cb119[_0x1b1ea4(0x2bf)])!=null?_0x4f7b24:''};try{const _0x1fc1e3=await this[_0x1b1ea4(0x417)]['post'](_0x5caa33,{'body':_0x24d793});return _0x1fc1e3[_0x1b1ea4(0x2b4)][_0x1b1ea4(0x230)]&&_0x1fc1e3[_0x1b1ea4(0x2b4)]['error']['code']!==_0x3e28d9['OK']?'Failed':_0x1fc1e3[_0x1b1ea4(0x2b4)][_0x1b1ea4(0x2b0)];}catch{return _0x1b1ea4(0x350);}}},_0x109cc1[_0x28c363(0x40b)]=_0x3a5105([_0x20a694(0x0,_0x4ce188['IUniverInstanceService']),_0x20a694(0x1,_0x4ce188['Inject'](_0x1d4876[_0x28c363(0x461)])),_0x20a694(0x2,_0x4ce188['IConfigService'])],_0x109cc1['RemoteUniscriptService']);const _0x5334c6=0x7530,_0x5c1113=_0x28c363(0x333);class _0x3c1ac2 extends _0x4ce188['Disposable']{constructor(){const _0x357132=_0x28c363;super(),_0x2002db(this,_0x357132(0x45a),_0x4ce188['generateRandomId']()),_0x2002db(this,'_selfUnitIDs',new Set()),_0x2002db(this,'_unitOnClients',new Map()),_0x2002db(this,_0x357132(0x271),null),_0x2002db(this,_0x357132(0x3eb),new Map()),_0x2002db(this,_0x357132(0x423),new Map()),this[_0x357132(0x304)]();}[_0x28c363(0x2fc)](){const _0x90099a=_0x28c363;super[_0x90099a(0x2fc)](),this['_clearOtherTimers'][_0x90099a(0x385)]((_0x8a7ef2,_0x4e00ca)=>this[_0x90099a(0x444)](_0x4e00ca)),this[_0x90099a(0x271)]&&window['clearInterval'](this[_0x90099a(0x271)]);}[_0x28c363(0x3b0)](_0x28089e){const _0x44106f=_0x28c363;return this['_ensureSubject'](_0x28089e)[_0x44106f(0x397)](_0x4d6cca[_0x44106f(0x22b)]());}[_0x28c363(0x32f)](_0x3b02c2){const _0x13211f=_0x28c363;this[_0x13211f(0x3a3)]['size']===0x0&&this[_0x13211f(0x470)](),this[_0x13211f(0x3a3)][_0x13211f(0x380)](_0x3b02c2),this[_0x13211f(0x47d)]({'type':0x0,'memberID':this[_0x13211f(0x45a)],'unitIDs':[_0x3b02c2],'isForwarded':!0x1});}[_0x28c363(0x2b3)](_0x50b84f){const _0x40e6f6=_0x28c363;this[_0x40e6f6(0x3a3)]['delete'](_0x50b84f),this[_0x40e6f6(0x3a3)][_0x40e6f6(0x1fe)]===0x0&&this[_0x40e6f6(0x271)]&&window[_0x40e6f6(0x290)](this[_0x40e6f6(0x271)]);}[_0x28c363(0x304)](){const _0x5dc161=_0x28c363;this[_0x5dc161(0x210)](_0x4ce188[_0x5dc161(0x3d5)](_0x4d6cca[_0x5dc161(0x1bb)](window,_0x5dc161(0x38c))[_0x5dc161(0x2df)](_0x5352ba=>{const _0x439a9f=_0x5dc161;if(_0x5352ba[_0x439a9f(0x198)]!==_0x5c1113||!_0x5352ba[_0x439a9f(0x1a3)])return;const _0x16ab7b=JSON[_0x439a9f(0x45b)](_0x5352ba['newValue']);this['_handleEvent'](_0x16ab7b);}))),window[_0x5dc161(0x38e)](_0x5dc161(0x384),()=>this[_0x5dc161(0x47d)]({'type':0x1,'memberID':this[_0x5dc161(0x45a)],'unitIDs':Array[_0x5dc161(0x441)](this[_0x5dc161(0x3a3)])}));}[_0x28c363(0x222)](_0x3865cf){const _0x194266=_0x28c363;switch(_0x3865cf['type']){case 0x0:this[_0x194266(0x1b6)](_0x3865cf);break;case 0x1:this[_0x194266(0x272)](_0x3865cf);break;case 0x2:this[_0x194266(0x2ef)](_0x3865cf);break;}}[_0x28c363(0x1b6)](_0x1e6e01){const _0xb2c244=_0x28c363,{unitIDs:_0x24d3e1,memberID:_0x5745b1,isForwarded:_0x104dff}=_0x1e6e01;_0x24d3e1[_0xb2c244(0x385)](_0x2858e4=>{const _0x4bda91=_0xb2c244;if(!_0x104dff&&this[_0x4bda91(0x1c1)]['has'](_0x2858e4)&&this[_0x4bda91(0x415)](_0x2858e4)['next'](_0x463ba0[_0x4bda91(0x48d)]['OTHER_CLIENTS_EDITING']),!this[_0x4bda91(0x1c1)][_0x4bda91(0x320)](_0x2858e4)||!this['_unitOnClients'][_0x4bda91(0x314)](_0x2858e4)[_0x4bda91(0x320)](_0x5745b1)){const _0x2ce5d8=this[_0x4bda91(0x1c1)][_0x4bda91(0x314)](_0x2858e4)||new Set();_0x2ce5d8[_0x4bda91(0x380)](_0x5745b1),this['_unitOnClients'][_0x4bda91(0x306)](_0x2858e4,_0x2ce5d8),this[_0x4bda91(0x41d)](_0x5745b1);}}),_0x104dff||this[_0xb2c244(0x47d)]({'type':0x0,'memberID':this[_0xb2c244(0x45a)],'unitIDs':[...this[_0xb2c244(0x3a3)]],'isForwarded':!0x0});}[_0x28c363(0x41d)](_0xcf7441){const _0x35d333=_0x28c363;this['_removeClearOtherTimer'](_0xcf7441);const _0x5d78c6=window[_0x35d333(0x21d)](()=>{const _0x1df104=_0x35d333;this[_0x1df104(0x1c1)][_0x1df104(0x385)](_0x14f917=>{_0x14f917['delete'](_0xcf7441);});},_0x5334c6*0x2);this[_0x35d333(0x3eb)]['set'](_0xcf7441,_0x5d78c6);}[_0x28c363(0x444)](_0x304240){const _0x55ea1c=_0x28c363;if(this[_0x55ea1c(0x3eb)][_0x55ea1c(0x320)](_0x304240)){const _0x5020ad=this[_0x55ea1c(0x3eb)]['get'](_0x304240);_0x5020ad&&window[_0x55ea1c(0x42e)](_0x5020ad),this[_0x55ea1c(0x3eb)][_0x55ea1c(0x306)](_0x304240,null);}}[_0x28c363(0x272)](_0x151086){const _0x3f5c3e=_0x28c363,{memberID:_0xd50f9a,unitIDs:_0xfac1ae}=_0x151086;_0xfac1ae[_0x3f5c3e(0x385)](_0x4fbd8d=>{const _0x55e8d1=_0x3f5c3e;var _0x3dbfbc;const _0x165dfb=this[_0x55e8d1(0x1c1)]['get'](_0x4fbd8d);_0x165dfb&&(_0x165dfb[_0x55e8d1(0x409)](_0xd50f9a),(_0x3dbfbc=this['_ensureSubject'](_0x4fbd8d))==null||_0x3dbfbc['next'](_0x165dfb[_0x55e8d1(0x1fe)]===0x0?_0x463ba0[_0x55e8d1(0x48d)]['NO_OTHER_CLIENTS_EDITING']:_0x463ba0[_0x55e8d1(0x48d)][_0x55e8d1(0x25b)]));}),this[_0x3f5c3e(0x444)](_0xd50f9a);}[_0x28c363(0x2ef)](_0xefc3a5){const _0x574198=_0x28c363;this[_0x574198(0x41d)](_0xefc3a5[_0x574198(0x421)]);}[_0x28c363(0x47d)](_0x486fe1){const _0x6037c2=_0x28c363;localStorage[_0x6037c2(0x2bd)](_0x5c1113,JSON['stringify'](_0x486fe1));}['_scheduleHeartbeat'](){const _0x1f0eb8=_0x28c363;this[_0x1f0eb8(0x271)]=window[_0x1f0eb8(0x262)](()=>{const _0x1a3acb=_0x1f0eb8;this[_0x1a3acb(0x47d)]({'type':0x2,'memberID':this[_0x1a3acb(0x45a)]});},_0x5334c6);}[_0x28c363(0x415)](_0x523d2e){const _0x3d177f=_0x28c363;return this['_unitStatus'][_0x3d177f(0x320)](_0x523d2e)||this['_unitStatus'][_0x3d177f(0x306)](_0x523d2e,new _0x4d6cca[(_0x3d177f(0x36e))](_0x463ba0[_0x3d177f(0x48d)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x3d177f(0x423)][_0x3d177f(0x314)](_0x523d2e);}}_0x109cc1[_0x28c363(0x266)]=_0x204646,_0x109cc1['SheetCollabCursorShape']=_0x3b4e84,_0x109cc1['WebBrowserSingleActiveUnitService']=_0x3c1ac2,_0x109cc1[_0x28c363(0x2c1)]=_0x9a2c00,Object['defineProperty'](_0x109cc1,Symbol[_0x28c363(0x261)],{'value':_0x28c363(0x2d9)});}));
|
|
1
|
+
function _0x1e96(_0x33e75d,_0x33584b){_0x33e75d=_0x33e75d-0x8b;const _0x276d1c=_0x276d();let _0x1e961c=_0x276d1c[_0x33e75d];return _0x1e961c;}function _0x276d(){const _0x252eaa=['deserializeRangeWithSheet','flatMap','fillText','getColorFromTheme','doc.mutation.rich-text-editing','react/jsx-runtime','IRenderManagerService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','VIEW_MAIN','REDEMPTION_USER_NOT_ELIGIBLE','cursorInfo$','parseInt','_hideTimer','find','_updateURLWithCurrentState','IBeforeCloseService','[LogService\x20Error]:\x20','size','getCellPositionByOffset','collabStatus.fetchMiss','registerRefRange','_docTransformIMECacheService','createIdentifier','_startDocCollabCursor','ranges','exhaustSavingTask','shareReplay','storage','ENTITLE_CHAT_LIMIT_EXCEED','CollaborationSocketService','addObject','unhandledrejection','SessionStatus','stringify','YUUMI_RATE_OVER_LIMIT','subscribeEvent','collabStatus.syncing','Rect','_scheduleSaving','_collaborationUIEventService','_taskIds','isTransformMutationFailure','SetTextSelectionsOperation','removeParam','_createSocketURL','getRenderById','jsxs','makeDirty','_docStateChangeManagerService','_updateLocalCursor','RECT','FETCH_MISS','getMemberID','getFocusedUnit','_initUserListener','getStateCache','top','green.600','actions','@univerjs/docs-ui','RemoveColCommandId','functionsExecutedState','getConfig','getMember','_send','_memberID','SHEET_VIEWPORT_KEY','YUUMI_AI_RUN_FAILED','setItem','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','REDEMPTION_CODE_FULLY_REDEEMED','_shapes','SUBMIT_CHANGESET_TIMEOUT','amd','DeleteRangeMoveLeftCommandId','source','reason','height','DocStateChangeManagerService','displayName','forEach','_onRefRangeChange','saveOfflineData','UniverCore','getTypeOfUnitAdded$','useDependency','UniverInstanceType','_labelPosition','_showGuardMessage','_docSkeletonManagerService','IUIPartsService','pluginName','rgba(255,\x20255,\x20255,\x200.01)','post','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_config','_color','onPointerMove$','collabStatus.notCollab','DOC_RANGE_TYPE','getUniverSheetInstance','CanceledError','_uiPartsService','_setFormulaLimitStatus','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','SetFormulaCalculationStartMutation','useCallback','ENTITLE_DUP_SUBSCRIPTION','UniverEngineFormula','filter','Unknown\x20user','max','LOCAL_CACHE_INTERVAL','href','_setupBeforeClosingHandler','React','Failed','_hovered','handleIRemoveCol','loadOfflineData','_initEvent','random','permission.content','APPLY_REJECT','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_drawTextRange','UniverCollaborationClientUIPlugin','APPLY_NON_SEQUENTIAL_REVISION','disposeWithMe','handleInsertRow','isTransformMutationsWithChangesetSuccess','Tooltip','UniverDrawing','addObjects','_collaborationController','_registerDependencies','invokeId','hide','unitId','USERS_LEAVE','PY_RUNTIME_SCRIPT_ERROR','createInstance','collab-text-range-','AWAITING_WITH_PENDING','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ENTITLE_USE_COUPON_NOT_1ST_TRADE','PENDING','REDEMPTION_INVALID_CODE','generateRandomId','_dataLoaderService','_imageIoService','colorChannel1','next','getUnitId','from','ThemeService','OFFLINE','disableLocalCache','_saveTaskMap','pipe','RevisionService','@univerjs/core','lineTo','DataLoaderService','_pollingInterval','_eventUnsubscribe','getSheetId','delete','SOCKET_FAILED','UNIVER_DOC','_render','debounce','getCurrentUnitForType','getTypeOfUnitDisposed$','push','handleInsertRangeMoveRight','round','_messageService','_saveCache','START_CALCULATION','Inject','_toggleOffline','length','@univerjs/ui','_docTransformSelectionsService','_transformPreviousActiveRange','collaboration.closeRoom','jsx','DocSelectionManagerService','object','transform','2258135IPvvWV','/run/','roomMembers','connectInjector','registerRenderModule','INVITE_CODE_REQUIRED','_hasFormulaInDirtyRanges','_collabSessionService','295SthjCV','FormulaExecuteStageType','_transformService','M0\x200H16V16H0z','getSkeleton','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','CollaborationUIEventId','complete','_getFormulaLimitStatus','ENTITLE_COUPON_USED_UP','_context','_setupSubUnitSync','_urlService','/universer-api/license/formula/limit/done','registerBeforeClose','ENTITLE_COUPON_EXPIRED','labelPosition','APPLY_PERMISSION_DENIED','subscribe','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','activeSheet$','beforeCommandExecuted','\x20at\x20','_docTransformStateCacheService','getCurrentRevOfUnit','_initCommandExecutedListener','#FFF','_removeClearOtherTimer','registerDependencies','takeUntil','CommandType','_docClipboardService','INVALID_INVITE_CODE','unshift','YUUMI_ASYNCIO_CANCELLED','_handleHeartbeatEvent','transformSelections','message','_collaborationSessionService','Disposable','startRow','SNAPSHOT_HAS_BEEN_REMOVED','_renderManagerService','_onCursorUpdate','http://www.w3.org/2000/svg','replaceState','@univerjs/network','sessionStatus$','...','getCollabCursors$','includes','collaboration.offline-data-not-saved','181089lbLabS','@univerjs/engine-formula','ENTITLE_REPORT_LIMIT_EXCEED','NO_OTHER_CLIENTS_EDITING','arc','?taskId=','eventID','_applyCommand','_scheduleClearOtherTimer','UNIVER_SHEET','div','InsertRangeMoveDownCommandId','COLORS','status$','setShapeProps','setConfig','imageSourceType','USER_NOT_FOUND','selections','_selfUnitIDs','drawWith','RemoveRowCommandId','_disabled','createElement','_online','disposeUnit','idSuffix','onPointerLeave$','saveTaskMap','code','onMouseMove','_localCacheService','currentColor','_cursorShapes','dispose$','EffectRefRangId','LOCAL_CACHE_INTERVAL_KEY','limitInfo','ENTITLE_INSUFFICIENT_QUOTA','CollaborationController','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','getLocalCacheKey','off-line-icon_clip0_910_343','_checkAndWaitForCalculationPermission','OTHER_CLIENT_EDITING','transformRemoteChangeset','transformByState','_initWindowErrorListener','isFormulaString','_hover','DEFAULT_WS_SESSION_TICKET_URL','_drawAnchor','ISnapshotServerService','LocaleService','mutations','clearTimeout','_revisionService','_init','_cachedData','has','isFormulaId','getColor','xlink:href','_cursorInfo$','popstate','jiqing.500','IConfigService','body','stack','on-line-icon','LICENSE_MAX_UNITS_EXCEEDED','INotificationService','_doCreateSocket','EMAIL_HAS_BEEN_BOUND','_uploadLog','_docSkeleton','onPointerEnter$','_collabCursorController','getUndoRedoMutationParamsCache','_initStatusComponent','startFormulaLimitUrl','add','REDEMPTION_CODE_NOT_STARTED','Tools','_roomMembers$','some','_httpService','_currentUsage','getOffsetConfig','_name','LOGIN_TOKEN_PROCESSING_FAILED','width','UniverRpc','SetWorksheetActivateCommand','beginPath','_refRangeService','@univerjs/docs','mergeOverrideWithDependencies','CollaborationSessionService','react','runId','_monkeyPatchLogService','_anchorDot','getCurrentSelections','fromEvent','selection','_initEntityListener','debug','18916caFSAs','parse','_sheetSkeletonManagerService','runOnServer','_textBubble','1em','replace','_checkCalculationAvailable','_transformHistoryAndStateStack','isEditing','stageInfo','_cursor','touchDependencies','ILocalCacheService','removeEventListener','handleDeleteRangeMoveLeft','_handleEvent','REDEMPTION_CODE_HAS_BEEN_CREATED','ONLINE','UniverProCollaborationClientUi','_entityInit$','engine','UniverProCollaboration','FromArray','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','wsSessionTicketUrl','[CollaborationDataLoaderController]','registerComponent','_memberService','UNAUTHENTICATED','UniverCollaborationClientPlugin','range','bind','YUUMI_URL_COL_OUT_OF_RANGE','getVpScrollXYInfoByPosToVp','SYNCED','IRemoteInstanceService','40jMqPiQ','defIds','_initResize','TOO_MANY_REQUESTS','collab-rect-range-','getCollabEntity$','UniverEngineRender','@univerjs-pro/collaboration-client','AUTHORIZE_CODE_ILLEGAL','_getAnchorBounding','RegularPolygon','event$','error','_docSyncEditingCollabCursorService','_getSaveTimeout','USER_NOT_INVITED_CODE','lineno','DocIMEInputManagerService','_initUnhandledRejectionListener','LOGIN_FAILED','cursorInfo','collabStatus.offline','throttleTime','deepClone','Optional','docStateChange$','NOT_FOUND','_instanceService','BehaviorSubject','AWAITING','COMPLETION_FINISHED','combineLatest','toStringTag','UPDATE_CURSOR','CollaborationEvent','history','_syncEditingCollabCursorService','session.connection-failed','getUnitStatus$','defs','saveImage','translate(.97)','triggerDblclick','CONNECTOR_DATA_TOO_LARGE','rxjs','/universer-api/frontend/logs','_scene','isArray','INTERNAL_ERROR','string','subunit','collabCursorState$','_themeService','CLOSE_ROOM','_colorAssignService','fillStyle','enableLocalCache','redoState','isActive','ENTITLE_CAN_NOT_BUY_LOWER_OTP','MOBILE_VERIFY_CODE_MISMATCH','_heartbeatTimer','collaboration-client-ui.config','RemoteUniscriptService','_lastResponseTimestamp','urlChange$','session.will-retry','APPLY_DUPLICATED','_refreshCollabCursors','_unitOnClients','BrowserCollaborationSocketService','RefRangeService','SheetCollabCursorShape','backgroundColor','substring','497iTMlYs','_document','_assignedColors','_localStorageService','black','OnLineIcon','_draw','m2Prime','transformMutationsWithChangeset','collab-client.tooltip.reconnect','_configService','onLocalMutation','attrs','WebSocketService','UnitStatus','SetFormulaCalculationNotificationMutation','6696376HqjzyV','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getActiveSheet','replaceDocRanges','path','SetDocZoomRatioOperation','18gpJTFk','SetSelectionsOperation','ALREADY_EXISTS','IDocClipboardService','key','data','getValue','blue.400','evenodd','USER_IS_ANONYMOUS','values','UniverIcon','result','_commandService','Loading','requireSession','getSheetBySheetId','clearInterval','currentUsage','JOIN_ROOM_FAILED','url(#off-line-icon_clip0_910_343)','0\x200\x2016\x2016','ICommandService','save','addClipboardHook','currentTheme$','maxFormulaLimit','serializeRangeWithSheet','url(#$1','_backgroundColor','_id','children','Subject','search','@univerjs/rpc','map','svg','_handleLeaveEvent','_injector','ERROR_AGAIN','49926gzHczx','YUUMI_UNABLE_LOAD_URL','_maxFormulaLimit','releaseFormulaLimitUrl','getRelativeToViewportCoord','YUUMI_ALL_TABLES_IS_INVALID','13591GRwXvr','_startCalculationLimit','_logService','YUUMI_CONNECTOR_URL_NOT_FOUND','clsx','params','_startSheetCollabCursor','_range','location','socket$','memberID','YUUMI_NO_CUBOID_FOR_QUESTION','TEXT','column','Injector','@univerjs/sheets-ui','permission.title','_ensureSubject','with','UniverUi','ENTITLE_NEED_BILLING_ADDRESS','univerjs-icon\x20univerjs-icon-','LICENSE_IMPORT_SIZE_EXCEEDED','@univerjs/engine-render','debounceTime','application/json','unload','_entities','_univerInstanceService','stage','_localeService','assign','fill','handleInsertCol','getCurrent','unit','contains','yellow.400','type','WebBrowserSingleActiveUnitService','toRgbString','1587660YSrlrE','REDEMPTION_CODE_INACTIVE','setAlpha','_getScale','MoveRangeCommandId','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','Shape','ColorKit','_updateCollabCursors','INVITE_CODE_HAS_BEEN_UES','endRow','assignAColorForMemberID','collaboration.single-unit.warning','sheetID','UNDEFINED','getRangePointData','MUTATION','CHANGESET_REVISION_CONFILICT','tag','toString','DocCollaborationEntity','_drawRectRange','ITransformService','_lastPointer','LICENSE_EXPORT_SIZE_EXCEEDED','RxDisposable','_session','NodePositionConvertToRectRange','ILocalStorageService','ISocketService','formula.calculation.unable','onCommandExecuted','measureText','OTHER_CLIENTS_EDITING','collab-text-anchor-','init','setInterval','getUnit','createSocket','getParam','BuiltInUIPart','HTTPService','get','Warning','ENTITLE_INVALID_COUPON_CODE','onStarting','_initDependencies','_initStatusListener','unsubscribe','_handleJoinEvent','_registerRenderDependencies','now','set','text','asObservable','MessageType','startColumn','DesktopCollaborationStatusDisplayController','WECHAT_HAS_BEEN_BOUND','YUUMI_TABLE_NOT_FOUND_IN_UNIT','newValue','_collabCursorState$','ACTIVE_UNIT_EVENT_CHANNEL','IUniverInstanceService','transformStateCache','univer-mr-2\x20univer-flex\x20univer-text-xl','_unitStatus','_colorIndex','CONFLICT','YUUMI_SUBSCRIPTION_NOT_FOUND','getAncestorScale','_releaseCalculationLimit','Vector2','executionId','entityInit$','_transformUndoRedoStack','getDocRanges','SOCKET_FAILED_RETRY','_onCursorDelete','@univerjs/sheets','session.collaboration-timeout','setStateCache','subUnitId','[Unhandled\x20Rejection]:\x20','show','OffLineIcon','handleDeleteRangeMoveUp','_removeCollabCursors','clipPath','_clearPolling','_getMergeRange','reconnect','_scheduleHeartbeat','TEXT_RANGE_LAYER_INDEX','textRanges','LICENSE_DISTRO_REJECTED','forwardRef','row','undoState','getMergeData','setParam','_updateSubUnitFromURLParams','restore','enableFrontendLog','24NZTuGy','_getSessionTicket','ILogService','addEventListener','send','white','_status$','getOwnPropertyDescriptor','switchMap','name','@univerjs-pro/collaboration','CURRENT_STATUS_CANNOT_OPERATE','APPLY_REVISION_CONFILICT','color','NOT_COLLAB','transformIMECache','m1Prime','dispose','NodePositionConvertToCursor','PAYMENT_CHANNEL_NOT_SUPPORT','then','join','endColumn','ENSURE_SNAPSHOT_EXECUTION','none','INVITE_CODE_ALREADY_BOUND','toDisposable','_initCommandInterceptor','distinctUntilChanged','InsertRangeMoveRightCommandId','INVALID_ARGUMENT','currentSkeleton$','Workbook','transformMutation','univer-flex\x20univer-items-center','whenReady','override','setTimeout','_cursors','_clearOtherTimers','IImageIoService','mask','min','fillRule','PERMISSION_DENIED','_notificationService','findNodePositionByCharIndex','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','DATA_SOURCE_TOO_LARGE','getCoordByCell','CollaborationUIEventService','unitID','mapTo','Error','roomMembers$','UniverDocs','_toggleOnline','_anchor','0\x200\x2017\x2016','searchParams','CollaborationDataLoaderController','IMessageService','UniverNetwork','[RemoteUniscriptService]:\x20no\x20focused\x20unit','on-line-icon_clip0_910_349','CollaborationStatus','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','sessionTicket','defineProperty'];_0x276d=function(){return _0x252eaa;};return _0x276d();}(function(_0xa40f83,_0x3951a8){const _0x105a11=_0x1e96,_0x252545=_0xa40f83();while(!![]){try{const _0x3e8963=parseInt(_0x105a11(0x119))/0x1*(parseInt(_0x105a11(0x37b))/0x2)+parseInt(_0x105a11(0x2ea))/0x3+parseInt(_0x105a11(0x356))/0x4*(parseInt(_0x105a11(0x2b6))/0x5)+parseInt(_0x105a11(0x113))/0x6*(parseInt(_0x105a11(0xd5))/0x7)+-parseInt(_0x105a11(0xe5))/0x8+parseInt(_0x105a11(0xeb))/0x9*(-parseInt(_0x105a11(0x142))/0xa)+-parseInt(_0x105a11(0x2ae))/0xb*(-parseInt(_0x105a11(0x1aa))/0xc);if(_0x3e8963===_0x3951a8)break;else _0x252545['push'](_0x252545['shift']());}catch(_0xfd562b){_0x252545['push'](_0x252545['shift']());}}}(_0x276d,0x6fcf8),function(_0x102fe5,_0x1a16fe){const _0x14ea45=_0x1e96;typeof exports==_0x14ea45(0x2ac)&&typeof module<'u'?_0x1a16fe(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define=='function'&&define[_0x14ea45(0x238)]?define(['exports',_0x14ea45(0x1f4),_0x14ea45(0x91),_0x14ea45(0x290),_0x14ea45(0x2a6),_0x14ea45(0xb6),'@univerjs/design',_0x14ea45(0x34d),_0x14ea45(0x10d),_0x14ea45(0x191),_0x14ea45(0x130),_0x14ea45(0x2e4),_0x14ea45(0x22a),'@univerjs/drawing',_0x14ea45(0x1b4),_0x14ea45(0x34a),_0x14ea45(0x2eb),'rxjs/operators',_0x14ea45(0x128)],_0x1a16fe):(_0x102fe5=typeof globalThis<'u'?globalThis:_0x102fe5||self,_0x1a16fe(_0x102fe5[_0x14ea45(0x369)]={},_0x102fe5[_0x14ea45(0x262)],_0x102fe5['UniverProCollaborationClient'],_0x102fe5[_0x14ea45(0x242)],_0x102fe5[_0x14ea45(0x12c)],_0x102fe5['rxjs'],_0x102fe5['UniverDesign'],_0x102fe5[_0x14ea45(0x262)],_0x102fe5[_0x14ea45(0x346)],_0x102fe5['UniverSheets'],_0x102fe5[_0x14ea45(0x90)],_0x102fe5[_0x14ea45(0x1e8)],_0x102fe5['UniverDocsUi'],_0x102fe5[_0x14ea45(0x273)],_0x102fe5[_0x14ea45(0x36c)],_0x102fe5[_0x14ea45(0x1e1)],_0x102fe5[_0x14ea45(0x25b)],_0x102fe5['rxjs']['operators'],_0x102fe5['UniverSheetsUi']));}(this,function(_0x606468,_0x5c5bf7,_0x1fb0d5,_0x51c300,_0x316cc8,_0x26ac39,_0x1d9515,_0x1d7edf,_0x25dc54,_0x5898ab,_0x50dad4,_0x3f6e7a,_0x517afe,_0x13674f,_0x564972,_0x1f24cd,_0x4f54c4,_0x7a3377,_0x38208b){'use strict';const _0x17d35d=_0x1e96;var _0x2fa194=Object['defineProperty'],_0x55c694=(_0x4c1ec3,_0x45ee3c,_0x205384)=>_0x45ee3c in _0x4c1ec3?_0x2fa194(_0x4c1ec3,_0x45ee3c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x205384}):_0x4c1ec3[_0x45ee3c]=_0x205384,_0x3a1755=(_0x5dbb7a,_0x43351e,_0x2d6703)=>_0x55c694(_0x5dbb7a,typeof _0x43351e!='symbol'?_0x43351e+'':_0x43351e,_0x2d6703);function _0x378932({ref:_0x554c64,..._0x456568}){const _0x16307b=_0x1e96,{icon:_0x3df70d,id:_0x4152f5,className:_0x2c8bad,extend:_0xb3c899,..._0x10cb63}=_0x456568,_0x32d025=(_0x16307b(0x12e)+_0x4152f5+'\x20'+(_0x2c8bad||''))['trim'](),_0x8abd19=_0x1d7edf['useRef']('_'+_0xcab300());return _0xf80eeb(_0x3df70d,''+_0x4152f5,{'defIds':_0x3df70d[_0x16307b(0x8b)],'idSuffix':_0x8abd19['current']},{'ref':_0x554c64,'className':_0x32d025,..._0x10cb63},_0xb3c899);}function _0xf80eeb(_0x3b0f8d,_0x300428,_0x4ba0ac,_0x29e412,_0x2c3e68){const _0x29879a=_0x1e96;return _0x1d7edf[_0x29879a(0x301)](_0x3b0f8d[_0x29879a(0x154)],{'key':_0x300428,..._0x4c0a5b(_0x3b0f8d,_0x4ba0ac,_0x2c3e68),..._0x29e412},(_0x2ab4f8(_0x3b0f8d,_0x4ba0ac)[_0x29879a(0x10a)]||[])[_0x29879a(0x10e)]((_0x435e11,_0x361436)=>_0xf80eeb(_0x435e11,_0x300428+'-'+_0x3b0f8d[_0x29879a(0x154)]+'-'+_0x361436,_0x4ba0ac,void 0x0,_0x2c3e68)));}function _0x4c0a5b(_0x43843e,_0x35e274,_0x144f6c){const _0x2fee40=_0x1e96,_0x3211c6={..._0x43843e[_0x2fee40(0xe1)]};_0x144f6c!=null&&_0x144f6c[_0x2fee40(0x286)]&&_0x3211c6[_0x2fee40(0x139)]===_0x2fee40(0x286)&&(_0x3211c6['fill']=_0x144f6c[_0x2fee40(0x286)]),_0x43843e['tag']===_0x2fee40(0x1d3)&&_0x3211c6['id']&&(_0x3211c6['id']=_0x3211c6['id']+_0x35e274[_0x2fee40(0x304)]),Object['entries'](_0x3211c6)['forEach'](([_0x1a5ac5,_0x77105f])=>{const _0x3324fb=_0x2fee40;_0x1a5ac5===_0x3324fb(0x1d3)&&typeof _0x77105f=='string'&&(_0x3211c6[_0x1a5ac5]=_0x77105f[_0x3324fb(0x35c)](/url\(#(.*)\)/,_0x3324fb(0x107)+_0x35e274[_0x3324fb(0x304)]+')'));});const {defIds:_0x3f43be}=_0x35e274;return!_0x3f43be||_0x3f43be['length']===0x0||(_0x43843e[_0x2fee40(0x154)]==='use'&&_0x3211c6[_0x2fee40(0x328)]&&(_0x3211c6[_0x2fee40(0x328)]=_0x3211c6[_0x2fee40(0x328)]+_0x35e274[_0x2fee40(0x304)]),Object['entries'](_0x3211c6)[_0x2fee40(0x23f)](([_0xddb639,_0x26c6a7])=>{const _0x342cc8=_0x2fee40;typeof _0x26c6a7=='string'&&(_0x3211c6[_0xddb639]=_0x26c6a7[_0x342cc8(0x35c)](/url\(#(.*)\)/,'url(#$1'+_0x35e274[_0x342cc8(0x304)]+')'));})),_0x3211c6;}function _0x2ab4f8(_0x1892ce,_0x8b616e){const _0xd0e1f9=_0x1e96;var _0x3330ec;const {defIds:_0x41e178}=_0x8b616e;return!_0x41e178||_0x41e178[_0xd0e1f9(0x2a5)]===0x0?_0x1892ce:_0x1892ce[_0xd0e1f9(0x154)]===_0xd0e1f9(0xb1)&&((_0x3330ec=_0x1892ce[_0xd0e1f9(0x10a)])!=null&&_0x3330ec[_0xd0e1f9(0x2a5)])?{..._0x1892ce,'children':_0x1892ce[_0xd0e1f9(0x10a)]['map'](_0x52f982=>typeof _0x52f982[_0xd0e1f9(0xe1)]['id']==_0xd0e1f9(0xbb)&&_0x41e178&&_0x41e178[_0xd0e1f9(0x2e8)](_0x52f982['attrs']['id'])?{..._0x52f982,'attrs':{..._0x52f982[_0xd0e1f9(0xe1)],'id':_0x52f982[_0xd0e1f9(0xe1)]['id']+_0x8b616e['idSuffix']}}:_0x52f982)}:_0x1892ce;}function _0xcab300(){const _0x454db2=_0x1e96;return Math[_0x454db2(0x268)]()[_0x454db2(0x155)](0x24)[_0x454db2(0xd4)](0x2,0x8);}_0x378932[_0x17d35d(0x23e)]=_0x17d35d(0xf6);const _0x509446={'tag':_0x17d35d(0x10f),'attrs':{'xmlns':_0x17d35d(0x2e2),'fill':'none','viewBox':_0x17d35d(0x100),'width':_0x17d35d(0x35b),'height':_0x17d35d(0x35b)},'children':[{'tag':'g','attrs':{'clipPath':_0x17d35d(0xff)},'children':[{'tag':_0x17d35d(0xe9),'attrs':{'stroke':_0x17d35d(0x30a),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x17d35d(0x29f),'strokeLinejoin':_0x17d35d(0x29f),'strokeWidth':1.2}}]},{'tag':_0x17d35d(0xb1),'attrs':{},'children':[{'tag':_0x17d35d(0x19a),'attrs':{'id':_0x17d35d(0x314)},'children':[{'tag':_0x17d35d(0xe9),'attrs':{'fill':_0x17d35d(0x1af),'d':_0x17d35d(0x2b9)}}]}]}],'defIds':[_0x17d35d(0x314)]},_0x395cc3=_0x1d7edf[_0x17d35d(0x1a2)](function(_0x53714d,_0x15199e){const _0x2be05a=_0x17d35d;return _0x1d7edf['createElement'](_0x378932,Object[_0x2be05a(0x138)]({},_0x53714d,{'id':'off-line-icon','ref':_0x15199e,'icon':_0x509446}));});_0x395cc3[_0x17d35d(0x23e)]=_0x17d35d(0x197);const _0x517233={'tag':_0x17d35d(0x10f),'attrs':{'xmlns':_0x17d35d(0x2e2),'fill':_0x17d35d(0x1c2),'viewBox':_0x17d35d(0x1e4),'width':_0x17d35d(0x35b),'height':_0x17d35d(0x35b)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x17d35d(0xe9),'attrs':{'stroke':_0x17d35d(0x30a),'d':_0x17d35d(0x234),'strokeLinecap':_0x17d35d(0x29f),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x17d35d(0xb1),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x17d35d(0x1ea)},'children':[{'tag':_0x17d35d(0xe9),'attrs':{'fill':_0x17d35d(0x1af),'d':'M0\x200H16V16H0z','transform':_0x17d35d(0xb3)}}]}]}],'defIds':[_0x17d35d(0x1ea)]},_0x264afe=_0x1d7edf[_0x17d35d(0x1a2)](function(_0x19923b,_0x17d755){const _0x139bfd=_0x17d35d;return _0x1d7edf['createElement'](_0x378932,Object['assign']({},_0x19923b,{'id':_0x139bfd(0x32f),'ref':_0x17d755,'icon':_0x517233}));});_0x264afe['displayName']=_0x17d35d(0xda);function _0x371803(_0x19d419){const _0x7d4125=_0x17d35d;switch(_0x19d419){case _0x1fb0d5['CollaborationStatus'][_0x7d4125(0x28b)]:return _0x7d4125(0x9f);case _0x1fb0d5[_0x7d4125(0x1eb)]['CONFLICT']:return'collabStatus.conflict';case _0x1fb0d5['CollaborationStatus'][_0x7d4125(0x222)]:return _0x7d4125(0x202);case _0x1fb0d5[_0x7d4125(0x1eb)][_0x7d4125(0x1b8)]:return _0x7d4125(0x251);case _0x1fb0d5[_0x7d4125(0x1eb)][_0x7d4125(0xa7)]:case _0x1fb0d5['CollaborationStatus'][_0x7d4125(0x27e)]:return _0x7d4125(0x213);case _0x1fb0d5['CollaborationStatus'][_0x7d4125(0x379)]:case _0x1fb0d5[_0x7d4125(0x1eb)][_0x7d4125(0x281)]:return'collabStatus.synced';}}function _0x30aed3(_0x267312){const _0x20f9d0=_0x17d35d,{status$:_0x453b01}=_0x267312,_0x8095ca=_0x316cc8['useObservable'](_0x453b01,_0x1fb0d5[_0x20f9d0(0x1eb)][_0x20f9d0(0x1b8)]),_0x3787d8=_0x316cc8[_0x20f9d0(0x244)](_0x51c300[_0x20f9d0(0x31f)]),_0x4be3c8=_0x316cc8[_0x20f9d0(0x244)](_0x1fb0d5[_0x20f9d0(0x34c)]),_0xb9115e=_0x8095ca!==_0x1fb0d5[_0x20f9d0(0x1eb)][_0x20f9d0(0x28b)],_0xc4c677=_0x3787d8['t'](_0x371803(_0x8095ca)),_0x33d027=_0xb9115e?_0x5c5bf7[_0x20f9d0(0x2aa)](_0x264afe,{}):_0x5c5bf7[_0x20f9d0(0x2aa)](_0x395cc3,{}),_0x56ad6c=_0x1d7edf[_0x20f9d0(0x259)](()=>{const _0x39ab1c=_0x20f9d0;_0xb9115e||_0x4be3c8[_0x39ab1c(0x19d)]();},[_0xb9115e,_0x4be3c8]);function _0x16f139(){const _0x409b42=_0x20f9d0;return _0x5c5bf7[_0x409b42(0x21d)]('div',{'className':_0x409b42(0x1cc),'onClick':_0x56ad6c,'children':[_0x5c5bf7[_0x409b42(0x2aa)](_0x409b42(0x2f4),{'className':_0x1d9515[_0x409b42(0x11d)](_0x409b42(0x183),{'univer-text-green-500':_0xb9115e,'univer-text-red-500':!_0xb9115e}),'children':_0x33d027}),_0x5c5bf7[_0x409b42(0x2aa)](_0x409b42(0x2f4),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0xc4c677})]});}return _0xb9115e?_0x16f139():_0x5c5bf7[_0x20f9d0(0x2aa)](_0x1d9515[_0x20f9d0(0x272)],{'title':_0x3787d8['t'](_0x20f9d0(0xde)),'children':_0x16f139()});}var _0x122733=Object['getOwnPropertyDescriptor'],_0x2a72fd=(_0x3a3d4d,_0x58e57c,_0x194b09,_0x1972c3)=>{const _0x4c7689=_0x17d35d;for(var _0x2cff63=_0x1972c3>0x1?void 0x0:_0x1972c3?_0x122733(_0x58e57c,_0x194b09):_0x58e57c,_0x161baa=_0x3a3d4d[_0x4c7689(0x2a5)]-0x1,_0x40008d;_0x161baa>=0x0;_0x161baa--)(_0x40008d=_0x3a3d4d[_0x161baa])&&(_0x2cff63=_0x40008d(_0x2cff63)||_0x2cff63);return _0x2cff63;},_0x5801d5=(_0x2b6d7f,_0x50ae21)=>(_0x27500d,_0x27d83b)=>_0x50ae21(_0x27500d,_0x27d83b,_0x2b6d7f);_0x606468[_0x17d35d(0x17b)]=class extends _0x51c300[_0x17d35d(0x2dd)]{constructor(_0x1620a0,_0x14dbd9,_0x5b67c6,_0x420f5f){const _0xad6e6a=_0x17d35d;super(),_0x3a1755(this,_0xad6e6a(0x1b0),new _0x26ac39[(_0xad6e6a(0xa6))](_0x1fb0d5[_0xad6e6a(0x1eb)][_0xad6e6a(0x1b8)])),(this[_0xad6e6a(0x135)]=_0x1620a0,this[_0xad6e6a(0x111)]=_0x14dbd9,this[_0xad6e6a(0x275)]=_0x5b67c6,this[_0xad6e6a(0x255)]=_0x420f5f,this[_0xad6e6a(0x339)](),this[_0xad6e6a(0x171)]());}[_0x17d35d(0x171)](){const _0x1a8346=_0x17d35d;this[_0x1a8346(0x26f)](this['_univerInstanceService']['focused$'][_0x1a8346(0x28e)](_0x26ac39[_0x1a8346(0x1b2)](()=>{const _0x19adac=_0x1a8346,_0x3ddbae=this[_0x19adac(0x135)][_0x19adac(0x224)]();return _0x3ddbae?this[_0x19adac(0x275)][_0x19adac(0x8f)](_0x3ddbae[_0x19adac(0x288)]()):_0x26ac39['of'](null);}),_0x26ac39[_0x1a8346(0x1b2)](_0xaf9c92=>_0xaf9c92?_0xaf9c92[_0x1a8346(0x2f7)]:_0x26ac39['of'](_0x1fb0d5['CollaborationStatus'][_0x1a8346(0x1b8)])))['subscribe'](_0x161e38=>{const _0x3305fc=_0x1a8346;this[_0x3305fc(0x1b0)]['next'](_0x161e38);}));}[_0x17d35d(0x339)](){const _0x4763a3=_0x17d35d;this[_0x4763a3(0x26f)](this[_0x4763a3(0x255)][_0x4763a3(0x371)](_0x316cc8[_0x4763a3(0x16a)]['HEADER_MENU'],()=>_0x316cc8[_0x4763a3(0x2b1)](_0x40f696({'status$':this[_0x4763a3(0x1b0)][_0x4763a3(0x178)]()}),this[_0x4763a3(0x111)])));}},_0x606468['DesktopCollaborationStatusDisplayController']=_0x2a72fd([_0x5801d5(0x0,_0x51c300[_0x17d35d(0x181)]),_0x5801d5(0x1,_0x51c300[_0x17d35d(0x2a3)](_0x51c300['Injector'])),_0x5801d5(0x2,_0x51c300[_0x17d35d(0x2a3)](_0x1fb0d5[_0x17d35d(0x311)])),_0x5801d5(0x3,_0x316cc8[_0x17d35d(0x249)])],_0x606468[_0x17d35d(0x17b)]);function _0x40f696(_0x429182){const {status$:_0x2411a0}=_0x429182;return function(){const _0x220e7d=_0x1e96;return _0x5c5bf7[_0x220e7d(0x2aa)](_0x30aed3,{'status$':_0x2411a0});};}const _0x1fcf33=_0x51c300[_0x17d35d(0x205)]('uni.network.url-service');var _0xba0257=Object[_0x17d35d(0x1b1)],_0x287dfb=(_0x452080,_0x3e8f74,_0x2eb359,_0x2de4bf)=>{const _0x270caa=_0x17d35d;for(var _0x5b413d=_0x2de4bf>0x1?void 0x0:_0x2de4bf?_0xba0257(_0x3e8f74,_0x2eb359):_0x3e8f74,_0x4da03c=_0x452080[_0x270caa(0x2a5)]-0x1,_0x373ab3;_0x4da03c>=0x0;_0x4da03c--)(_0x373ab3=_0x452080[_0x4da03c])&&(_0x5b413d=_0x373ab3(_0x5b413d)||_0x5b413d);return _0x5b413d;},_0x36f2ae=(_0xf8f983,_0x3c78cc)=>(_0x1b234d,_0x4fd2f1)=>_0x3c78cc(_0x1b234d,_0x4fd2f1,_0xf8f983);_0x606468[_0x17d35d(0x1e6)]=class extends _0x51c300[_0x17d35d(0x15b)]{constructor(_0x1592d1,_0x4644ce,_0x365ce3,_0x26b0e8,_0x17979e){const _0x3a982e=_0x17d35d;super(),this[_0x3a982e(0x2c2)]=_0x1592d1,this['_logService']=_0x4644ce,this[_0x3a982e(0xf8)]=_0x365ce3,this['_dataLoaderService']=_0x26b0e8,_0x17979e?_0x17979e==null||_0x17979e[_0x3a982e(0x1cd)]()[_0x3a982e(0x1be)](()=>this[_0x3a982e(0x323)]()):(this['_logService'][_0x3a982e(0x355)](_0x3a982e(0x370),_0x3a982e(0x2bb)),this[_0x3a982e(0x323)]());}async['_init'](){const _0x3464f2=_0x17d35d,_0x5cdef4=this[_0x3464f2(0x2c2)]['getParam'](_0x3464f2(0x13c)),_0x2cf8b9=this[_0x3464f2(0x2c2)]['getParam'](_0x3464f2(0x13f)),_0x19966d=this[_0x3464f2(0x2c2)][_0x3464f2(0x169)](_0x3464f2(0xbc));if(!_0x5cdef4||!_0x2cf8b9){this[_0x3464f2(0x11b)]['debug'](_0x3464f2(0x370),_0x3464f2(0x1d9));return;}const _0x17d276=await this[_0x3464f2(0x284)]['loadUnit'](_0x5cdef4,Number(_0x2cf8b9),_0x19966d);_0x17d276&&_0x17d276 instanceof _0x51c300[_0x3464f2(0x1ca)]&&this['_setupSubUnitSync'](_0x17d276);}async[_0x17d35d(0x2c1)](_0x5e592a){const _0x52ee4f=_0x17d35d;await this[_0x52ee4f(0x1a7)](_0x5e592a),_0x5e592a[_0x52ee4f(0x2ca)][_0x52ee4f(0x28e)](_0x26ac39[_0x52ee4f(0x2d3)](this[_0x52ee4f(0x30c)]))[_0x52ee4f(0x2c8)](_0x175bb9=>{const _0x4cf1c7=_0x52ee4f;_0x175bb9&&this[_0x4cf1c7(0x1fd)](_0x175bb9);}),this[_0x52ee4f(0x2c2)][_0x52ee4f(0xcb)][_0x52ee4f(0x28e)](_0x26ac39[_0x52ee4f(0x2d3)](this[_0x52ee4f(0x30c)]))['subscribe'](()=>this[_0x52ee4f(0x1a7)](_0x5e592a));}[_0x17d35d(0x1fd)](_0x2733a8,_0x9eb3d6=!0x1){const _0x190bbf=_0x17d35d,_0x6c641b=this['_urlService']['getParam'](_0x190bbf(0xbc));_0x2733a8[_0x190bbf(0x295)]()!==_0x6c641b&&this[_0x190bbf(0x2c2)][_0x190bbf(0x1a6)](_0x190bbf(0xbc),_0x2733a8[_0x190bbf(0x295)](),_0x9eb3d6);}async[_0x17d35d(0x1a7)](_0x50a2bf){const _0xb27cb4=_0x17d35d;var _0x4788c7;const _0x35e5ba=this[_0xb27cb4(0x2c2)][_0xb27cb4(0x169)](_0xb27cb4(0xbc));if(!_0x35e5ba||!_0x50a2bf[_0xb27cb4(0xfb)](_0x35e5ba)){const _0x5b6ded=_0x50a2bf['getUnhiddenWorksheets']()[0x0],_0x1c113a=_0x50a2bf['getSheetBySheetId'](_0x5b6ded);if(!_0x1c113a)return;this[_0xb27cb4(0x1fd)](_0x1c113a,!0x0),await this[_0xb27cb4(0xf8)]['executeCommand'](_0x5898ab[_0xb27cb4(0x347)]['id'],{'unitId':_0x50a2bf[_0xb27cb4(0x288)](),'subUnitId':_0x5b6ded});return;}((_0x4788c7=_0x50a2bf[_0xb27cb4(0xe7)]())==null?void 0x0:_0x4788c7['getSheetId']())!==_0x35e5ba&&await this[_0xb27cb4(0xf8)]['executeCommand'](_0x5898ab[_0xb27cb4(0x347)]['id'],{'unitId':_0x50a2bf['getUnitId'](),'subUnitId':_0x35e5ba});}},_0x606468[_0x17d35d(0x1e6)]=_0x287dfb([_0x36f2ae(0x0,_0x1fcf33),_0x36f2ae(0x1,_0x51c300[_0x17d35d(0x1ac)]),_0x36f2ae(0x2,_0x51c300[_0x17d35d(0x101)]),_0x36f2ae(0x3,_0x51c300[_0x17d35d(0x2a3)](_0x1fb0d5[_0x17d35d(0x292)])),_0x36f2ae(0x4,_0x51c300[_0x17d35d(0xa2)](_0x25dc54[_0x17d35d(0x37a)]))],_0x606468[_0x17d35d(0x1e6)]);var _0x5d1b7d=Object[_0x17d35d(0x1b1)],_0x562d88=(_0x344650,_0x2d3cbe,_0x4fc7c0,_0x3193c2)=>{const _0x1164a4=_0x17d35d;for(var _0x25f13d=_0x3193c2>0x1?void 0x0:_0x3193c2?_0x5d1b7d(_0x2d3cbe,_0x4fc7c0):_0x2d3cbe,_0x99c98c=_0x344650[_0x1164a4(0x2a5)]-0x1,_0x224de9;_0x99c98c>=0x0;_0x99c98c--)(_0x224de9=_0x344650[_0x99c98c])&&(_0x25f13d=_0x224de9(_0x25f13d)||_0x25f13d);return _0x25f13d;},_0x1744e7=(_0x1aed5a,_0x20cd9e)=>(_0x4cdf41,_0x5763b6)=>_0x20cd9e(_0x4cdf41,_0x5763b6,_0x1aed5a);let _0x47d9f6=class extends _0x51c300[_0x17d35d(0x15b)]{constructor(_0x7dba11,_0x877133){const _0xf00362=_0x17d35d;super(),this[_0xf00362(0x2d5)]=_0x7dba11,this[_0xf00362(0x285)]=_0x877133,this[_0xf00362(0x323)]();}[_0x17d35d(0x323)](){const _0x4e137f=_0x17d35d,_0x5b720b=this;this['disposeWithMe'](this[_0x4e137f(0x2d5)][_0x4e137f(0x103)]({'onBeforePasteImage':async _0x20ab3c=>{const _0x5d619c=_0x4e137f,_0xa8a8e9=await _0x5b720b[_0x5d619c(0x285)][_0x5d619c(0xb2)](_0x20ab3c);return _0xa8a8e9?{'source':_0xa8a8e9[_0x5d619c(0x23a)],'imageSourceType':_0xa8a8e9[_0x5d619c(0x2fa)]}:null;}}));}};_0x47d9f6=_0x562d88([_0x1744e7(0x0,_0x517afe[_0x17d35d(0xee)]),_0x1744e7(0x1,_0x13674f[_0x17d35d(0x1d2)])],_0x47d9f6);const _0x3d1f79=['purple.300',_0x17d35d(0x32b),_0x17d35d(0x228),'red.300',_0x17d35d(0xf2),_0x17d35d(0x13e)];class _0x18a9e9 extends _0x51c300[_0x17d35d(0x2dd)]{constructor(){const _0x32e919=_0x17d35d;super(...arguments),_0x3a1755(this,'_assignedColors',new Map()),_0x3a1755(this,_0x32e919(0x185),0x0);}[_0x17d35d(0x14d)](_0x2d4105){const _0x2593d5=_0x17d35d;if(this[_0x2593d5(0xd7)][_0x2593d5(0x325)](_0x2d4105))return this[_0x2593d5(0xd7)][_0x2593d5(0x16c)](_0x2d4105);const _0xa71d64=_0x3d1f79[this[_0x2593d5(0x185)]];return this[_0x2593d5(0x185)]=(this[_0x2593d5(0x185)]+0x1)%_0x3d1f79['length'],this[_0x2593d5(0xd7)]['set'](_0x2d4105,_0xa71d64),_0xa71d64;}}function _0x53d8f3(_0x4558a7){const _0x4ec3fa=_0x17d35d;let _0x33f554='';for(const _0x25292d of _0x4558a7){const {startOffset:_0x4975dc,endOffset:_0x97996d,isActive:_0x400b64,rangeType:_0x51d4af,segmentId:_0x51c6b6,segmentPage:_0x4119f1}=_0x25292d;_0x33f554[_0x4ec3fa(0x2a5)]&&(_0x33f554+=','),_0x33f554+=_0x4975dc+':'+_0x97996d+':'+(_0x400b64?'1':'0')+':'+_0x51d4af+':'+_0x51c6b6+':'+_0x4119f1;}return _0x33f554;}function _0x3f574f(_0x3ba5fc){const _0x216f48=_0x17d35d,_0x4fd1b0=_0x3ba5fc['split'](','),_0x64c880=[];for(const _0x54358b of _0x4fd1b0){const [_0x202d40,_0x2d6a71,_0x54548e,_0x872dde,_0x26b678,_0x3b8adf]=_0x54358b['split'](':');_0x64c880[_0x216f48(0x29d)]({'startOffset':Number(_0x202d40),'endOffset':Number(_0x2d6a71),'collapsed':_0x202d40===_0x2d6a71,'isActive':_0x54548e==='1','rangeType':_0x872dde===_0x51c300['DOC_RANGE_TYPE'][_0x216f48(0x125)]?_0x51c300[_0x216f48(0x252)][_0x216f48(0x125)]:_0x51c300[_0x216f48(0x252)][_0x216f48(0x221)],'segmentId':typeof _0x26b678=='string'?String(_0x26b678):'','segmentPage':Number(_0x3b8adf!=null?_0x3b8adf:-0x1)});}return _0x64c880[_0x216f48(0x33f)](_0x50f13f=>_0x50f13f['isActive'])||(_0x64c880[0x0][_0x216f48(0xc4)]=!0x0),_0x64c880;}class _0x2bcc62 extends _0x51c300['RxDisposable']{constructor(){const _0x1d3807=_0x17d35d;super(...arguments),_0x3a1755(this,_0x1d3807(0x17f),new _0x26ac39[(_0x1d3807(0xa6))](null)),_0x3a1755(this,_0x1d3807(0xbd),this[_0x1d3807(0x17f)][_0x1d3807(0x178)]());}['syncEditingCollabCursor'](_0x40bc4e){const _0x432845=_0x17d35d,{unitID:_0x4ecb7e,memberID:_0x57a13c,textRanges:_0x18cc78}=_0x40bc4e,_0x5def2c=_0x53d8f3(_0x18cc78);if(_0x5def2c==='')return;const _0x110ae8={'unitID':_0x4ecb7e,'memberID':_0x57a13c,'selection':_0x5def2c};this[_0x432845(0x17f)][_0x432845(0x287)](_0x110ae8);}}var _0x4daeae=Object[_0x17d35d(0x1b1)],_0x22f911=(_0x16fdf0,_0x4e00a6,_0x3efcda,_0x3701fc)=>{for(var _0x265da3=_0x3701fc>0x1?void 0x0:_0x3701fc?_0x4daeae(_0x4e00a6,_0x3efcda):_0x4e00a6,_0x39ac9c=_0x16fdf0['length']-0x1,_0x4f66b4;_0x39ac9c>=0x0;_0x39ac9c--)(_0x4f66b4=_0x16fdf0[_0x39ac9c])&&(_0x265da3=_0x4f66b4(_0x265da3)||_0x265da3);return _0x265da3;},_0x1da7b2=(_0x9b39ba,_0x3ba84e)=>(_0x432dda,_0x469e8b)=>_0x3ba84e(_0x432dda,_0x469e8b,_0x9b39ba);const _0x214f40=0x12c,_0x3a5aa4=0x64;let _0x52f626=class extends _0x51c300[_0x17d35d(0x15b)]{constructor(_0x4891b1,_0x41d6e9,_0x4319c9,_0x422e73,_0x8a6ed7,_0x4371a5,_0x1a0383,_0x44a22d,_0x711baf){const _0x103dba=_0x17d35d;super(),_0x3a1755(this,_0x103dba(0x302),!0x1),_0x3a1755(this,_0x103dba(0x323),!0x1),_0x3a1755(this,_0x103dba(0x329),new _0x26ac39[(_0x103dba(0xa6))](new Map())),_0x3a1755(this,_0x103dba(0x1f9),this[_0x103dba(0x329)][_0x103dba(0x178)]()),_0x3a1755(this,_0x103dba(0x33e),new _0x26ac39[(_0x103dba(0xa6))]([])),_0x3a1755(this,_0x103dba(0x1e0),this[_0x103dba(0x33e)][_0x103dba(0x28e)](_0x26ac39[_0x103dba(0x131)](_0x214f40))),_0x3a1755(this,_0x103dba(0x220),_0x51c300[_0x103dba(0x29a)](_0x307c80=>{const _0x44854d=_0x103dba,_0x47d68b={'eventID':_0x564972[_0x44854d(0xac)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x44854d(0x1dd)],'memberID':this['_session'][_0x44854d(0x223)](),'selection':_0x53d8f3(_0x307c80)}};this[_0x44854d(0x15c)][_0x44854d(0x1ae)](_0x47d68b,this[_0x44854d(0x1dd)]);},_0x3a5aa4)),(this[_0x103dba(0x1dd)]=_0x4891b1,this[_0x103dba(0x15c)]=_0x41d6e9,this[_0x103dba(0x111)]=_0x4319c9,this[_0x103dba(0xc0)]=_0x422e73,this[_0x103dba(0x372)]=_0x8a6ed7,this[_0x103dba(0xae)]=_0x4371a5,this[_0x103dba(0x2b8)]=_0x1a0383,this['_univerInstanceService']=_0x44a22d,this['_commandService']=_0x711baf);}get[_0x17d35d(0x9e)](){const _0x41a8a2=_0x17d35d;return this['_cursorInfo$'][_0x41a8a2(0xf1)]();}get[_0x17d35d(0x2b0)](){const _0x4047e0=_0x17d35d;return this['_roomMembers$'][_0x4047e0(0xf1)]();}['dispose'](){const _0x289a29=_0x17d35d;super[_0x289a29(0x1bb)](),this[_0x289a29(0x329)][_0x289a29(0x287)](new Map()),this[_0x289a29(0x329)][_0x289a29(0x2bd)](),this['_roomMembers$'][_0x289a29(0x287)]([]),this['_roomMembers$'][_0x289a29(0x2bd)]();}['init'](){const _0x38c802=_0x17d35d;this['_init']||(this[_0x38c802(0x323)]=!0x0,this[_0x38c802(0x15c)][_0x38c802(0x2e5)][_0x38c802(0x28e)](_0x26ac39[_0x38c802(0x2d3)](this[_0x38c802(0x30c)]))[_0x38c802(0x2c8)](_0x4c45f0=>{const _0x333b00=_0x38c802;_0x4c45f0===_0x1fb0d5['SessionStatus'][_0x333b00(0x368)]?this[_0x333b00(0x1e2)]():this[_0x333b00(0x2a4)]();}),this[_0x38c802(0x15c)]['event$']['pipe'](_0x26ac39[_0x38c802(0x2d3)](this['dispose$']))[_0x38c802(0x2c8)](_0x10ca19=>{const _0x13448e=_0x38c802,_0x29fd92=_0x10ca19[_0x13448e(0x2f0)];_0x29fd92===_0x564972[_0x13448e(0xac)][_0x13448e(0xab)]&&this[_0x13448e(0x2e1)](_0x10ca19),_0x29fd92===_0x564972[_0x13448e(0xac)][_0x13448e(0x27a)]&&this[_0x13448e(0x190)](_0x10ca19);}),this[_0x38c802(0x26f)](this[_0x38c802(0xf8)][_0x38c802(0x161)](_0x398d4d=>{const _0x16b89d=_0x38c802,_0x4fdf94=_0x398d4d[_0x16b89d(0x11e)];_0x4fdf94!=null&&this[_0x16b89d(0x302)]&&_0x398d4d['id']===_0x1f24cd[_0x16b89d(0x219)]['id']&&_0x4fdf94[_0x16b89d(0x279)]===this[_0x16b89d(0x1dd)]&&_0x4fdf94[_0x16b89d(0x35f)]===!0x1&&_0x4fdf94[_0x16b89d(0x207)]['length']>0x0&&this[_0x16b89d(0x220)](_0x4fdf94[_0x16b89d(0x207)]);})),this[_0x38c802(0xae)][_0x38c802(0xbd)]['pipe'](_0x26ac39[_0x38c802(0x2d3)](this['dispose$']))['subscribe'](_0x541095=>{const _0x10d9ed=_0x38c802;if((_0x541095==null?void 0x0:_0x541095[_0x10d9ed(0x1dd)])!==this[_0x10d9ed(0x1dd)])return;const _0x1f9259={'eventID':_0x564972[_0x10d9ed(0xac)]['UPDATE_CURSOR'],'data':_0x541095};this['_onCursorUpdate'](_0x1f9259);}),this[_0x38c802(0x26f)](this[_0x38c802(0xf8)][_0x38c802(0x161)](_0x4607e9=>{const _0x1cb5a7=_0x38c802;if(_0x4607e9[_0x1cb5a7(0x11e)]==null)return;const _0x5b3366=_0x4607e9[_0x1cb5a7(0x11e)];if(_0x4607e9['id']!==_0x1f24cd['RichTextEditingMutation']['id']||_0x5b3366[_0x1cb5a7(0x279)]!==this[_0x1cb5a7(0x1dd)])return;const _0x22f741={'id':'doc.mutation.rich-text-editing','params':_0x5b3366},_0x2b2ba9=this[_0x1cb5a7(0x9e)];for(const [_0x5adcd9,_0x1cedf2]of _0x2b2ba9){const _0x5ac6a6={'id':_0x1cb5a7(0x1f3),'params':{'unitId':this[_0x1cb5a7(0x1dd)],'actions':null,'textRanges':_0x1cedf2[_0x1cb5a7(0x207)]}},_0x1d4333=this[_0x1cb5a7(0x2b8)][_0x1cb5a7(0x1cb)](_0x22f741,_0x5ac6a6,!0x1);if(_0x564972[_0x1cb5a7(0x218)](_0x1d4333))throw _0x1d4333['error'];_0x2b2ba9['set'](_0x5adcd9,{..._0x1cedf2,'ranges':_0x1d4333['m2Prime'][_0x1cb5a7(0x11e)]['textRanges']});}queueMicrotask(()=>{const _0x557a85=_0x1cb5a7;this[_0x557a85(0x329)][_0x557a85(0x287)](_0x2b2ba9);});})));}[_0x17d35d(0x2e1)](_0x4ba7a2){const _0x2b5396=_0x17d35d;var _0x50fe41,_0x4c99d1;const {memberID:_0x347078,selection:_0x50a431}=_0x4ba7a2[_0x2b5396(0xf0)],_0x1e50ba=_0x3f574f(_0x50a431),_0x4adbc8=(_0x4c99d1=(_0x50fe41=this[_0x2b5396(0x372)][_0x2b5396(0x22e)](this[_0x2b5396(0x1dd)],_0x347078))==null?void 0x0:_0x50fe41[_0x2b5396(0x1b3)])!=null?_0x4c99d1:_0x2b5396(0x25d),_0x50926b={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x347078),'name':_0x4adbc8,'ranges':_0x1e50ba},_0x39b9a8=this[_0x2b5396(0x9e)];_0x39b9a8[_0x2b5396(0x176)](_0x347078,_0x50926b),this[_0x2b5396(0x329)][_0x2b5396(0x287)](_0x39b9a8);}[_0x17d35d(0x190)](_0x227840){const _0x3f507f=_0x17d35d,{memberID:_0x37b83f}=_0x227840[_0x3f507f(0xf0)],_0x47fd13=this['cursorInfo'];_0x47fd13['delete'](_0x37b83f),this['_cursorInfo$']['next'](_0x47fd13);}[_0x17d35d(0x1e2)](){const _0x35ebb2=_0x17d35d;var _0x1951aa;if(this[_0x35ebb2(0x302)]=!0x0,((_0x1951aa=this[_0x35ebb2(0x135)]['getFocusedUnit']())==null?void 0x0:_0x1951aa[_0x35ebb2(0x288)]())!==this[_0x35ebb2(0x1dd)])return;const _0x286951=this['_injector'][_0x35ebb2(0x16c)](_0x1f24cd[_0x35ebb2(0x2ab)])[_0x35ebb2(0x18e)]();Array[_0x35ebb2(0xb9)](_0x286951)&&_0x286951[_0x35ebb2(0x2a5)]>0x0&&this[_0x35ebb2(0x220)](_0x286951);}[_0x17d35d(0x2a4)](){const _0x1e250b=_0x17d35d;this[_0x1e250b(0x302)]=!0x1;}};_0x52f626=_0x22f911([_0x1da7b2(0x2,_0x51c300[_0x17d35d(0x2a3)](_0x51c300[_0x17d35d(0x127)])),_0x1da7b2(0x3,_0x51c300[_0x17d35d(0x2a3)](_0x18a9e9)),_0x1da7b2(0x4,_0x51c300[_0x17d35d(0x2a3)](_0x1fb0d5['MemberService'])),_0x1da7b2(0x5,_0x51c300['Inject'](_0x2bcc62)),_0x1da7b2(0x6,_0x564972[_0x17d35d(0x158)]),_0x1da7b2(0x7,_0x51c300[_0x17d35d(0x181)]),_0x1da7b2(0x8,_0x51c300[_0x17d35d(0x101)])],_0x52f626);var _0x6d5007=Object[_0x17d35d(0x1b1)],_0x4d927b=(_0x5adada,_0x1dabda,_0xb1b5e8,_0x2a568b)=>{const _0x3a7fa6=_0x17d35d;for(var _0xf2161=_0x2a568b>0x1?void 0x0:_0x2a568b?_0x6d5007(_0x1dabda,_0xb1b5e8):_0x1dabda,_0x5110ea=_0x5adada[_0x3a7fa6(0x2a5)]-0x1,_0x31f475;_0x5110ea>=0x0;_0x5110ea--)(_0x31f475=_0x5adada[_0x5110ea])&&(_0xf2161=_0x31f475(_0xf2161)||_0xf2161);return _0xf2161;},_0x8f5e3c=(_0x5b4656,_0x1243a4)=>(_0x242fe7,_0x1203dd)=>_0x1243a4(_0x242fe7,_0x1203dd,_0x5b4656);const _0x392b95=0x12c,_0x48371d=0x64,_0x1e1ad6=()=>{let _0x352555=[],_0x229679=!0x1;return _0x34a44f=>{const _0x2f0bd7=_0x1e96;_0x352555[_0x2f0bd7(0x29d)](_0x34a44f),_0x229679||(_0x229679=!0x0,setTimeout(()=>{_0x352555['forEach'](_0x5a0e40=>_0x5a0e40()),_0x352555=[],_0x229679=!0x1;}));};};let _0x28fe3d=class extends _0x51c300[_0x17d35d(0x15b)]{constructor(_0x66194,_0x5d2974,_0x1d8832,_0x3d7e4c,_0x56e97c,_0x3b3ccb,_0x219c01,_0x209870){const _0x2585dd=_0x17d35d;super(),_0x3a1755(this,_0x2585dd(0x302),!0x1),_0x3a1755(this,'_init',!0x1),_0x3a1755(this,'_cursorInfo$',new _0x26ac39['BehaviorSubject'](new Map())),_0x3a1755(this,_0x2585dd(0x1f9),this[_0x2585dd(0x329)]['asObservable']()),_0x3a1755(this,_0x2585dd(0x33e),new _0x26ac39['BehaviorSubject']([])),_0x3a1755(this,_0x2585dd(0x1e0),this[_0x2585dd(0x33e)]['pipe'](_0x26ac39[_0x2585dd(0x131)](_0x392b95))),_0x3a1755(this,_0x2585dd(0x220),_0x51c300[_0x2585dd(0x29a)]((_0x2b72e0,_0x5207d3)=>{const _0x566cdb=_0x2585dd,_0x465b0f={'eventID':_0x564972[_0x566cdb(0xac)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x566cdb(0x1dd)],'memberID':this[_0x566cdb(0x15c)][_0x566cdb(0x223)](),'selection':_0x4f54c4[_0x566cdb(0x106)](_0x2b72e0,_0x5207d3[_0x566cdb(0x375)])}};this[_0x566cdb(0x15c)][_0x566cdb(0x1ae)](_0x465b0f,this[_0x566cdb(0x1dd)]);},_0x48371d)),(this[_0x2585dd(0x1dd)]=_0x66194,this['_session']=_0x5d2974,this[_0x2585dd(0x111)]=_0x1d8832,this['_colorAssignService']=_0x3d7e4c,this[_0x2585dd(0x372)]=_0x56e97c,this[_0x2585dd(0x135)]=_0x3b3ccb,this[_0x2585dd(0xf8)]=_0x219c01,this[_0x2585dd(0x349)]=_0x209870);}get[_0x17d35d(0x9e)](){const _0x2f96e7=_0x17d35d;return this[_0x2f96e7(0x329)][_0x2f96e7(0xf1)]();}get[_0x17d35d(0x2b0)](){const _0x2f4664=_0x17d35d;return this[_0x2f4664(0x33e)][_0x2f4664(0xf1)]();}['dispose'](){const _0x34c6d5=_0x17d35d;super[_0x34c6d5(0x1bb)](),this[_0x34c6d5(0x329)][_0x34c6d5(0x287)](new Map()),this[_0x34c6d5(0x329)][_0x34c6d5(0x2bd)](),this[_0x34c6d5(0x33e)]['next']([]),this[_0x34c6d5(0x33e)][_0x34c6d5(0x2bd)]();}[_0x17d35d(0x165)](){const _0x3b38cf=_0x17d35d;this['_init']||(this['_init']=!0x0,this[_0x3b38cf(0x15c)][_0x3b38cf(0x2e5)][_0x3b38cf(0x28e)](_0x26ac39[_0x3b38cf(0x2d3)](this['dispose$']))[_0x3b38cf(0x2c8)](_0x5016ca=>{const _0x24c098=_0x3b38cf;_0x5016ca===_0x1fb0d5[_0x24c098(0x20f)][_0x24c098(0x368)]?this[_0x24c098(0x1e2)]():this[_0x24c098(0x2a4)]();}),this[_0x3b38cf(0x15c)][_0x3b38cf(0x95)][_0x3b38cf(0x28e)](_0x26ac39[_0x3b38cf(0x2d3)](this[_0x3b38cf(0x30c)]))[_0x3b38cf(0x2c8)](_0x49b6bc=>{const _0x58e72a=_0x3b38cf,_0x26c579=_0x49b6bc[_0x58e72a(0x2f0)];_0x26c579===_0x564972[_0x58e72a(0xac)]['UPDATE_CURSOR']&&this[_0x58e72a(0x2e1)](_0x49b6bc),_0x26c579===_0x564972[_0x58e72a(0xac)][_0x58e72a(0x27a)]&&this[_0x58e72a(0x190)](_0x49b6bc);}),this[_0x3b38cf(0x240)](),this[_0x3b38cf(0x26f)](this[_0x3b38cf(0xf8)]['onCommandExecuted'](_0x32964b=>{const _0x14149c=_0x3b38cf;if(this[_0x14149c(0x302)]&&_0x32964b['id']===_0x5898ab[_0x14149c(0xec)]['id']&&_0x32964b[_0x14149c(0x11e)][_0x14149c(0x279)]===this[_0x14149c(0x1dd)]){const _0x2a3e98=_0x32964b[_0x14149c(0x11e)];this[_0x14149c(0x220)](_0x2a3e98[_0x14149c(0x194)],_0x2a3e98[_0x14149c(0x2fc)][0x0]);}})));}[_0x17d35d(0x2e1)](_0x4fbbf5){const _0x505b7c=_0x17d35d;var _0x520f55,_0x237992;const {memberID:_0x11c45f,selection:_0x1f209d}=_0x4fbbf5['data'],{sheetName:_0x3dc3aa,range:_0x2ddb6b}=_0x4f54c4[_0x505b7c(0x1ef)](_0x1f209d),_0x26d7e9={'name':(_0x237992=(_0x520f55=this[_0x505b7c(0x372)]['getMember'](this[_0x505b7c(0x1dd)],_0x11c45f))==null?void 0x0:_0x520f55[_0x505b7c(0x1b3)])!=null?_0x237992:_0x505b7c(0x25d),'range':this[_0x505b7c(0x19c)](_0x3dc3aa,_0x2ddb6b),'sheetID':_0x3dc3aa,'color':this[_0x505b7c(0xc0)][_0x505b7c(0x14d)](_0x11c45f),'selection':_0x1f209d},_0x77edb7=this['cursorInfo'];_0x77edb7[_0x505b7c(0x176)](_0x11c45f,_0x26d7e9),this[_0x505b7c(0x329)][_0x505b7c(0x287)](_0x77edb7);}[_0x17d35d(0x190)](_0x44c076){const _0x4def7c=_0x17d35d,{memberID:_0x32ae2e}=_0x44c076[_0x4def7c(0xf0)],_0x732e4=this[_0x4def7c(0x9e)];_0x732e4[_0x4def7c(0x296)](_0x32ae2e),this[_0x4def7c(0x329)][_0x4def7c(0x287)](_0x732e4);}[_0x17d35d(0x19c)](_0x40547f,_0x1e5ab6){const _0x2172d9=_0x17d35d;var _0x19dab6,_0x3e4b73;const _0x11c3a1=(_0x3e4b73=(_0x19dab6=this[_0x2172d9(0x135)][_0x2172d9(0x253)](this[_0x2172d9(0x1dd)]))==null?void 0x0:_0x19dab6[_0x2172d9(0xfb)](_0x40547f))==null?void 0x0:_0x3e4b73[_0x2172d9(0x1a5)]();return(_0x11c3a1==null?void 0x0:_0x11c3a1[_0x2172d9(0x1fc)](_0x378459=>_0x51c300['Rectangle'][_0x2172d9(0x13d)](_0x378459,_0x1e5ab6)))||_0x1e5ab6;}[_0x17d35d(0x240)](){const _0x586c7a=_0x17d35d,_0x369317=new _0x51c300['DisposableCollection'](),_0x188a70=_0x1e1ad6(),_0x2a9704=()=>{const _0x134270=_0x1e96;_0x369317[_0x134270(0x1bb)]();const _0x5df6b6=(_0x1e9f91,_0x285859,_0x220a3f,_0x479918)=>{const _0x23c44f=_0x134270;let _0x44c131=[];switch(_0x1e9f91['id']){case _0x5898ab[_0x23c44f(0x30d)][_0x23c44f(0x239)]:{_0x44c131=_0x5898ab[_0x23c44f(0x365)](_0x1e9f91,_0x479918);break;}case _0x5898ab[_0x23c44f(0x30d)]['DeleteRangeMoveUpCommandId']:{_0x44c131=_0x5898ab[_0x23c44f(0x198)](_0x1e9f91,_0x479918);break;}case _0x5898ab[_0x23c44f(0x30d)]['InsertColCommandId']:{_0x44c131=_0x5898ab[_0x23c44f(0x13a)](_0x1e9f91,_0x479918);break;}case _0x5898ab[_0x23c44f(0x30d)][_0x23c44f(0x2f5)]:{_0x44c131=_0x5898ab['handleInsertRangeMoveDown'](_0x1e9f91,_0x479918);break;}case _0x5898ab[_0x23c44f(0x30d)][_0x23c44f(0x1c7)]:{_0x44c131=_0x5898ab[_0x23c44f(0x29e)](_0x1e9f91,_0x479918);break;}case _0x5898ab[_0x23c44f(0x30d)]['InsertRowCommandId']:{_0x44c131=_0x5898ab[_0x23c44f(0x270)](_0x1e9f91,_0x479918);break;}case _0x5898ab['EffectRefRangId'][_0x23c44f(0x146)]:{_0x44c131=_0x5898ab['handleMoveRange'](_0x1e9f91,_0x479918);break;}case _0x5898ab['EffectRefRangId'][_0x23c44f(0x22b)]:{_0x44c131=_0x5898ab[_0x23c44f(0x265)](_0x1e9f91,_0x479918);break;}case _0x5898ab[_0x23c44f(0x30d)][_0x23c44f(0x2ff)]:{_0x44c131=_0x5898ab['handleIRemoveRow'](_0x1e9f91,_0x479918);break;}}const _0x5704b8=_0x5898ab['runRefRangeMutations'](_0x44c131,_0x479918),_0x4f8a65=this[_0x23c44f(0x9e)][_0x23c44f(0x16c)](_0x285859);if(_0x4f8a65&&_0x5704b8){const _0x5c96b5={..._0x4f8a65,'range':_0x5704b8};this['cursorInfo'][_0x23c44f(0x176)](_0x285859,_0x5c96b5),_0x188a70(()=>{const _0x25dfdd=_0x23c44f,_0x23bbc0=this[_0x25dfdd(0x349)][_0x25dfdd(0x203)](_0x5704b8,_0xca9c3=>(_0x23bbc0[_0x25dfdd(0x1bb)](),_0x5df6b6(_0xca9c3,_0x285859,_0x220a3f,_0x5704b8)));_0x369317[_0x25dfdd(0x33b)](_0x23bbc0);});}return{'redos':[],'undos':[]};};this[_0x134270(0x9e)][_0x134270(0x23f)]((_0xf5fbe9,_0x17b0e3)=>{const _0x461b6f=_0x134270,{range:_0x1214b6,sheetID:_0x2fa938}=_0xf5fbe9,_0x6be8db=this[_0x461b6f(0x349)][_0x461b6f(0x203)](_0x1214b6,_0x4c5cc3=>(_0x6be8db['dispose'](),_0x5df6b6(_0x4c5cc3,_0x17b0e3,_0x2fa938,_0x1214b6)));_0x369317[_0x461b6f(0x33b)](_0x6be8db);});};this[_0x586c7a(0x26f)](_0x51c300[_0x586c7a(0x1c4)](this[_0x586c7a(0x329)]['subscribe'](()=>{_0x2a9704();})));}[_0x17d35d(0x1e2)](){const _0x3e96bc=_0x17d35d;var _0x25b609,_0x222f58;if(this[_0x3e96bc(0x302)]=!0x0,((_0x25b609=this['_univerInstanceService'][_0x3e96bc(0x224)]())==null?void 0x0:_0x25b609[_0x3e96bc(0x288)]())!==this[_0x3e96bc(0x1dd)])return;const _0x2cc26c=(_0x222f58=this[_0x3e96bc(0x111)]['get'](_0x5898ab['SheetsSelectionsService'])[_0x3e96bc(0x351)]())==null?void 0x0:_0x222f58[0x0],_0x20df21=this[_0x3e96bc(0x135)][_0x3e96bc(0x29b)](_0x51c300[_0x3e96bc(0x245)]['UNIVER_SHEET'])['getActiveSheet']();_0x2cc26c&&_0x20df21&&this['_updateLocalCursor'](_0x20df21['getSheetId'](),_0x2cc26c);}[_0x17d35d(0x2a4)](){const _0x130f33=_0x17d35d;this[_0x130f33(0x302)]=!0x1;}};_0x28fe3d=_0x4d927b([_0x8f5e3c(0x2,_0x51c300[_0x17d35d(0x2a3)](_0x51c300[_0x17d35d(0x127)])),_0x8f5e3c(0x3,_0x51c300[_0x17d35d(0x2a3)](_0x18a9e9)),_0x8f5e3c(0x4,_0x51c300[_0x17d35d(0x2a3)](_0x1fb0d5['MemberService'])),_0x8f5e3c(0x5,_0x51c300[_0x17d35d(0x181)]),_0x8f5e3c(0x6,_0x51c300[_0x17d35d(0x101)]),_0x8f5e3c(0x7,_0x51c300['Inject'](_0x5898ab[_0x17d35d(0xd1)]))],_0x28fe3d);var _0x20cb22=Object[_0x17d35d(0x1b1)],_0x5e06c5=(_0x4b3801,_0x5de9b8,_0x43b1b4,_0x329bfb)=>{const _0x534bc1=_0x17d35d;for(var _0x192cc0=_0x329bfb>0x1?void 0x0:_0x329bfb?_0x20cb22(_0x5de9b8,_0x43b1b4):_0x5de9b8,_0x2b3ea9=_0x4b3801[_0x534bc1(0x2a5)]-0x1,_0x440ad0;_0x2b3ea9>=0x0;_0x2b3ea9--)(_0x440ad0=_0x4b3801[_0x2b3ea9])&&(_0x192cc0=_0x440ad0(_0x192cc0)||_0x192cc0);return _0x192cc0;},_0x33151a=(_0x23de39,_0x2c1f2b)=>(_0x315ef7,_0x1de233)=>_0x2c1f2b(_0x315ef7,_0x1de233,_0x23de39);let _0x5c07ee=class extends _0x51c300[_0x17d35d(0x15b)]{constructor(_0xa11cfd,_0x230ba6,_0x34a3d4){const _0x25e75a=_0x17d35d;super(),_0x3a1755(this,_0x25e75a(0x134),new Map()),_0x3a1755(this,_0x25e75a(0x36a),new _0x26ac39[(_0x25e75a(0x10b))]()),(this[_0x25e75a(0x135)]=_0xa11cfd,this[_0x25e75a(0x111)]=_0x230ba6,this[_0x25e75a(0x2b5)]=_0x34a3d4,this[_0x25e75a(0x323)]());}[_0x17d35d(0x1bb)](){const _0x2191c1=_0x17d35d;super[_0x2191c1(0x1bb)](),this[_0x2191c1(0x36a)][_0x2191c1(0x2bd)](),this[_0x2191c1(0x134)]['forEach'](_0x1a000c=>_0x1a000c[_0x2191c1(0x1bb)]());}[_0x17d35d(0x2e7)](_0x2aa530){const _0xd1e13e=_0x17d35d;return this['_entities']['has'](_0x2aa530)?this[_0xd1e13e(0x134)][_0xd1e13e(0x16c)](_0x2aa530)['cursorInfo$']:this[_0xd1e13e(0x36a)]['pipe'](_0x26ac39[_0xd1e13e(0x25c)](_0x27a2dc=>_0x27a2dc[_0xd1e13e(0x1dd)]===_0x2aa530),_0x26ac39[_0xd1e13e(0x1b2)](_0x26f5aa=>_0x26f5aa[_0xd1e13e(0x1f9)]));}[_0x17d35d(0x323)](){const _0x486e33=_0x17d35d;this[_0x486e33(0x135)][_0x486e33(0x243)](_0x51c300[_0x486e33(0x245)]['UNIVER_SHEET'])[_0x486e33(0x28e)](_0x26ac39[_0x486e33(0x2d3)](this[_0x486e33(0x30c)]))[_0x486e33(0x2c8)](async _0x258034=>{const _0x4feba3=_0x486e33,_0x172722=_0x258034['getUnitId'](),_0xa8846e=await this[_0x4feba3(0x11f)](_0x172722);this[_0x4feba3(0x36a)][_0x4feba3(0x287)](_0xa8846e),this[_0x4feba3(0x134)][_0x4feba3(0x176)](_0x172722,_0xa8846e);}),this[_0x486e33(0x135)]['getTypeOfUnitAdded$'](_0x51c300[_0x486e33(0x245)][_0x486e33(0x298)])[_0x486e33(0x28e)](_0x26ac39[_0x486e33(0x2d3)](this['dispose$']))[_0x486e33(0x28e)](_0x26ac39['filter'](_0x172383=>!_0x172383['getUnitId']()['startsWith']('__')))[_0x486e33(0x2c8)](async _0xfd8535=>{const _0x3a04d0=_0x486e33,_0x25c7a1=_0xfd8535['getUnitId'](),_0x4fa361=await this[_0x3a04d0(0x206)](_0x25c7a1);this[_0x3a04d0(0x36a)][_0x3a04d0(0x287)](_0x4fa361),this['_entities']['set'](_0x25c7a1,_0x4fa361);}),_0x26ac39['merge'](this[_0x486e33(0x135)][_0x486e33(0x29c)](_0x51c300[_0x486e33(0x245)][_0x486e33(0x298)]),this['_univerInstanceService'][_0x486e33(0x29c)](_0x51c300[_0x486e33(0x245)][_0x486e33(0x2f3)]))[_0x486e33(0x28e)](_0x26ac39[_0x486e33(0x2d3)](this[_0x486e33(0x30c)]))[_0x486e33(0x2c8)](_0x41cb1a=>{const _0x49aa7a=_0x486e33,_0xe0bee1=_0x41cb1a[_0x49aa7a(0x288)](),_0x5f56a2=this['_entities']['get'](_0xe0bee1);_0x5f56a2&&(_0x5f56a2[_0x49aa7a(0x1bb)](),this[_0x49aa7a(0x134)][_0x49aa7a(0x296)](_0xe0bee1));});}async[_0x17d35d(0x11f)](_0x35532e){const _0x1c4057=_0x17d35d,_0x7ec605=await this['_collabSessionService'][_0x1c4057(0xfa)](_0x35532e),_0x1ed7c6=this['_injector'][_0x1c4057(0x27c)](_0x28fe3d,_0x35532e,_0x7ec605);return _0x1ed7c6[_0x1c4057(0x165)](),_0x1ed7c6;}async[_0x17d35d(0x206)](_0x52d051){const _0x1ac989=_0x17d35d,_0x19822c=await this['_collabSessionService'][_0x1ac989(0xfa)](_0x52d051),_0x42e3b9=this[_0x1ac989(0x111)][_0x1ac989(0x27c)](_0x52f626,_0x52d051,_0x19822c);return _0x42e3b9['init'](),_0x42e3b9;}};_0x5c07ee=_0x5e06c5([_0x33151a(0x0,_0x51c300[_0x17d35d(0x181)]),_0x33151a(0x1,_0x51c300['Inject'](_0x51c300[_0x17d35d(0x127)])),_0x33151a(0x2,_0x51c300['Inject'](_0x1fb0d5['CollaborationSessionService']))],_0x5c07ee);const _0x7a0843=0x14,_0xc1df0b=0xc8,_0x5d113f=0x4,_0x11d589=0x5;function _0x37c559(_0x243636,_0x5a730c){const _0x8b9ccf=_0x17d35d;let {radius:_0x860907,width:_0x106bcb,height:_0x33bd20}=_0x5a730c;_0x860907=_0x860907!=null?_0x860907:0x0,_0x106bcb=_0x106bcb!=null?_0x106bcb:0x1e,_0x33bd20=_0x33bd20!=null?_0x33bd20:0x1e;let _0x38a596=0x0,_0x4bf2c7=0x0,_0x17b941=0x0;_0x38a596=_0x4bf2c7=_0x17b941=Math[_0x8b9ccf(0x1d4)](_0x860907,_0x106bcb/0x2,_0x33bd20/0x2),_0x243636[_0x8b9ccf(0x348)](),_0x243636['moveTo'](_0x38a596,0x0),_0x243636[_0x8b9ccf(0x291)](_0x106bcb-_0x4bf2c7,0x0),_0x243636[_0x8b9ccf(0x2ee)](_0x106bcb-_0x4bf2c7,_0x4bf2c7,_0x4bf2c7,Math['PI']*0x3/0x2,0x0,!0x1),_0x243636[_0x8b9ccf(0x291)](_0x106bcb,_0x33bd20-_0x17b941),_0x243636[_0x8b9ccf(0x2ee)](_0x106bcb-_0x17b941,_0x33bd20-_0x17b941,_0x17b941,0x0,Math['PI']/0x2,!0x1),_0x243636[_0x8b9ccf(0x291)](0x0,_0x33bd20),_0x243636[_0x8b9ccf(0x291)](0x0,_0x38a596),_0x243636[_0x8b9ccf(0x2ee)](_0x38a596,_0x38a596,_0x38a596,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x243636['closePath'](),_0x5a730c['fill']&&(_0x243636[_0x8b9ccf(0x102)](),_0x243636[_0x8b9ccf(0xc1)]=_0x5a730c[_0x8b9ccf(0x139)],_0x5a730c[_0x8b9ccf(0x1d5)]==='evenodd'?_0x243636[_0x8b9ccf(0x139)](_0x8b9ccf(0xf3)):_0x243636[_0x8b9ccf(0x139)](),_0x243636[_0x8b9ccf(0x1a8)]());}class _0x3b8824 extends _0x50dad4['Shape']{constructor(_0x5d4c60,_0x5cedea){const _0x4dd881=_0x17d35d;super(_0x5d4c60,_0x5cedea),_0x3a1755(this,_0x4dd881(0x1b7)),_0x3a1755(this,_0x4dd881(0x177)),(this['color']=_0x5cedea==null?void 0x0:_0x5cedea[_0x4dd881(0x1b7)],this[_0x4dd881(0x177)]=_0x5cedea==null?void 0x0:_0x5cedea[_0x4dd881(0x177)]);}static[_0x17d35d(0x2fe)](_0xcd1ca,_0x1c2a23){const _0x50e9bc=_0x17d35d,{text:_0x55fbc7,color:_0x77925f}=_0x1c2a23;_0xcd1ca['save'](),_0xcd1ca['font']=_0x50e9bc(0x1ec);const _0x31ac11=_0xcd1ca[_0x50e9bc(0x162)](_0x55fbc7)[_0x50e9bc(0x345)],_0x4433cf=Math[_0x50e9bc(0x1d4)](_0x31ac11+0x2*_0x5d113f,_0xc1df0b);_0x37c559(_0xcd1ca,{'height':_0x7a0843,'radius':0x4,'width':_0x4433cf,'fill':_0x77925f}),_0xcd1ca[_0x50e9bc(0xc1)]=_0x50e9bc(0x2d0);const _0x5adf2f=_0x5d113f,_0x1a374e=_0x7a0843-_0x11d589,_0x7b37d9=_0xc1df0b-0x2*_0x5d113f;if(_0x31ac11>_0x7b37d9){let _0x24ba10='',_0x170b8a=0x0;for(const _0x2c6fe3 of _0x55fbc7){const _0x44ca3e=_0xcd1ca[_0x50e9bc(0x162)](_0x2c6fe3)[_0x50e9bc(0x345)];if(_0x170b8a+_0x44ca3e<=_0x7b37d9-_0xcd1ca[_0x50e9bc(0x162)](_0x50e9bc(0x2e6))[_0x50e9bc(0x345)])_0x24ba10+=_0x2c6fe3,_0x170b8a+=_0x44ca3e;else{_0x24ba10+=_0x50e9bc(0x2e6);break;}}_0xcd1ca['fillText'](_0x24ba10,_0x5adf2f,_0x1a374e);}else _0xcd1ca[_0x50e9bc(0x1f1)](_0x55fbc7,_0x5adf2f,_0x1a374e);_0xcd1ca[_0x50e9bc(0x1a8)]();}[_0x17d35d(0xdb)](_0x4abcc1){const _0xb9efa6=_0x17d35d;_0x3b8824[_0xb9efa6(0x2fe)](_0x4abcc1,this);}}const _0x36b479=_0x17d35d(0x164),_0x1a42c8=_0x17d35d(0x27d),_0x113ad9=_0x17d35d(0x8e),_0x18de62=0x6,_0x508d38=1.5,_0x170cfc=0x4,_0xef646=1.5,_0x18fe6d=_0x17d35d(0x24b);class _0x2a191c{constructor(_0x476ca0,_0xe9ce2b,_0x3c87b5,_0x4073cf){const _0x158de3=_0x17d35d;_0x3a1755(this,_0x158de3(0x236),[]),_0x3a1755(this,_0x158de3(0x1e3),null),_0x3a1755(this,_0x158de3(0x35a),null),_0x3a1755(this,_0x158de3(0x350),null),_0x3a1755(this,_0x158de3(0x1fb),null),_0x3a1755(this,_0x158de3(0x294),null),(this[_0x158de3(0x361)]=_0x476ca0,this[_0x158de3(0xb8)]=_0xe9ce2b,this[_0x158de3(0x335)]=_0x3c87b5,this[_0x158de3(0xd6)]=_0x4073cf,this[_0x158de3(0x299)]());}set['_hover'](_0x5631e7){const _0x5e951c=_0x17d35d;_0x5631e7?(this[_0x5e951c(0x350)]&&this[_0x5e951c(0x350)][_0x5e951c(0x278)](),this[_0x5e951c(0x35a)]&&this[_0x5e951c(0x35a)][_0x5e951c(0x196)]()):(this[_0x5e951c(0x350)]&&this[_0x5e951c(0x350)][_0x5e951c(0x196)](),this[_0x5e951c(0x35a)]&&this[_0x5e951c(0x35a)][_0x5e951c(0x278)]());}[_0x17d35d(0x1bb)](){const _0x1ee1ec=_0x17d35d;for(const _0x53fe41 of this['_shapes'])_0x53fe41[_0x1ee1ec(0x1bb)]();this[_0x1ee1ec(0x35a)]&&this[_0x1ee1ec(0x35a)][_0x1ee1ec(0x1bb)](),this[_0x1ee1ec(0x350)]&&this[_0x1ee1ec(0x350)][_0x1ee1ec(0x1bb)](),this[_0x1ee1ec(0x1e3)]&&this['_anchor']['dispose'](),this[_0x1ee1ec(0x294)]&&this['_eventUnsubscribe']();}[_0x17d35d(0x299)](){const _0x44b524=_0x17d35d;var _0x2c256d;const {_docSkeleton:_0x1ab39c,_document:_0x31e1a8}=this,{color:_0x494e22,name:_0x35135d,ranges:_0x123106}=this[_0x44b524(0x361)],_0x294a64=_0x31e1a8[_0x44b524(0x342)](),{docsLeft:_0x171436,docsTop:_0x51ffeb}=_0x294a64,_0x35104e=new _0x517afe[(_0x44b524(0x1bc))](_0x294a64,_0x1ab39c);for(const {startOffset:_0x302b20,endOffset:_0x4c1af2,rangeType:_0x55d150,segmentId:_0x2bd677,segmentPage:_0x178622,collapsed:_0x3907ed,isActive:_0x57211f}of _0x123106){const _0x407c19=_0x1ab39c['findNodePositionByCharIndex'](_0x302b20,!0x0,_0x2bd677,_0x178622);let _0x565e05=_0x1ab39c['findNodePositionByCharIndex'](_0x4c1af2,!0x0,_0x2bd677,_0x178622);if(_0x565e05==null&&(_0x565e05=_0x1ab39c[_0x44b524(0x1d8)](_0x4c1af2-0x1,!0x1,_0x2bd677,_0x178622)),_0x57211f){const {contentBoxPointGroup:_0x577358}=_0x35104e[_0x44b524(0x151)](_0x565e05,_0x565e05);if(_0x577358[_0x44b524(0x2a5)]===0x0)continue;this[_0x44b524(0x31d)](_0x494e22,_0x577358,_0x171436,_0x51ffeb,_0x35135d),this['_eventUnsubscribe']=this['_handleHover']();}if(_0x407c19&&_0x565e05){if(_0x55d150===_0x51c300['DOC_RANGE_TYPE'][_0x44b524(0x221)]){const _0x36aee5=new _0x517afe[(_0x44b524(0x15d))](_0x294a64,_0x1ab39c),{pointGroup:_0x19737d}=(_0x2c256d=_0x36aee5[_0x44b524(0x151)](_0x407c19,_0x565e05))!=null?_0x2c256d:{};if(_0x19737d==null||_0x19737d[_0x44b524(0x2a5)]===0x0)continue;this['_drawRectRange'](_0x494e22,_0x19737d,_0x171436,_0x51ffeb);}else{if(!_0x3907ed){const {borderBoxPointGroup:_0x4df898}=_0x35104e['getRangePointData'](_0x407c19,_0x565e05);if(_0x4df898[_0x44b524(0x2a5)]===0x0)continue;this[_0x44b524(0x26c)](_0x494e22,_0x4df898,_0x171436,_0x51ffeb);}}}}}[_0x17d35d(0x31d)](_0x32504a,_0x4141f7,_0x17bff9,_0x5d9cab,_0x3b5248){const _0x125ac3=_0x17d35d,_0x403763=this[_0x125ac3(0x93)](_0x4141f7),{left:_0x310558,top:_0x569cf8,height:_0x2c1d8f}=_0x403763,_0xf8feb1=this['_getScale'](),_0x120082=_0xef646/_0xf8feb1,_0x10f041=new _0x50dad4[(_0x125ac3(0x214))](_0x36b479+_0x51c300['generateRandomId'](_0x18de62),{'left':_0x310558+_0x17bff9-_0x120082,'top':_0x569cf8+_0x5d9cab,'height':_0x2c1d8f,'width':_0x508d38,'fill':_0x32504a||_0x50dad4[_0x125ac3(0x327)](_0x51c300[_0x125ac3(0x2f6)][_0x125ac3(0xd9)],0x0),'strokeWidth':_0x120082,'stroke':_0x18fe6d,'evented':!0x0});this['_anchor']=_0x10f041,this[_0x125ac3(0xb8)][_0x125ac3(0x20d)](_0x10f041,_0x517afe[_0x125ac3(0x19f)]);const _0x4e6e23=new _0x50dad4[(_0x125ac3(0x214))](_0x36b479+_0x51c300[_0x125ac3(0x283)](_0x18de62),{'left':_0x310558+_0x17bff9-_0x120082,'top':_0x569cf8+_0x5d9cab-_0x170cfc/0x2,'height':_0x170cfc,'width':_0x170cfc,'fill':_0x32504a||_0x50dad4[_0x125ac3(0x327)](_0x51c300[_0x125ac3(0x2f6)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x32504a||_0x50dad4[_0x125ac3(0x327)](_0x51c300[_0x125ac3(0x2f6)][_0x125ac3(0xd9)],0x0),'evented':!0x1});this[_0x125ac3(0x350)]=_0x4e6e23,this[_0x125ac3(0xb8)][_0x125ac3(0x20d)](_0x4e6e23,_0x517afe['TEXT_RANGE_LAYER_INDEX']);const _0x1e8880=new _0x3b8824(_0x36b479+_0x51c300['generateRandomId'](_0x18de62),{'left':_0x310558+_0x17bff9-_0x120082,'top':_0x569cf8+_0x5d9cab-_0x7a0843,'text':_0x3b5248,'color':_0x32504a});this[_0x125ac3(0x35a)]=_0x1e8880,this['_scene'][_0x125ac3(0x20d)](_0x1e8880,_0x517afe['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}['_handleHover'](){const _0x25ec46=_0x17d35d,_0x5106d5=this[_0x25ec46(0x1e3)][_0x25ec46(0x336)][_0x25ec46(0x212)](()=>{const _0x49ba0c=_0x25ec46;this[_0x49ba0c(0x31b)]=!0x0;}),_0x50bac8=this[_0x25ec46(0x1e3)][_0x25ec46(0x305)][_0x25ec46(0x212)](()=>{const _0x1d908e=_0x25ec46;this['_hideTimer']&&clearTimeout(this[_0x1d908e(0x1fb)]),this[_0x1d908e(0x1fb)]=setTimeout(()=>{const _0x4830af=_0x1d908e;this[_0x4830af(0x31b)]=!0x1;},0x7d0);});return()=>{const _0x2f82ff=_0x25ec46;_0x5106d5['unsubscribe'](),_0x50bac8[_0x2f82ff(0x172)]();};}['_drawTextRange'](_0x3d3680,_0x4c5c45,_0x33af06,_0x3e1399){const _0x13bfca=_0x17d35d,_0x2532e3=new _0x51c300['ColorKit'](_0x3d3680)['setAlpha'](0.2)[_0x13bfca(0x141)](),_0x20d18a=new _0x50dad4[(_0x13bfca(0x94))](_0x1a42c8+_0x51c300['generateRandomId'](_0x18de62),{'pointsGroup':_0x4c5c45,'fill':_0x2532e3||_0x50dad4[_0x13bfca(0x327)](_0x51c300[_0x13bfca(0x2f6)]['black'],0.2),'left':_0x33af06,'top':_0x3e1399,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x13bfca(0x236)][_0x13bfca(0x29d)](_0x20d18a),this['_scene'][_0x13bfca(0x20d)](_0x20d18a,_0x517afe['TEXT_RANGE_LAYER_INDEX']);}[_0x17d35d(0x157)](_0x5cbf11,_0x59e206,_0x1105b3,_0x39815b){const _0x5e32f3=_0x17d35d,_0x581693=new _0x51c300[(_0x5e32f3(0x149))](_0x5cbf11)[_0x5e32f3(0x144)](0.2)['toRgbString'](),_0xa1feeb=new _0x50dad4[(_0x5e32f3(0x94))](_0x113ad9+_0x51c300[_0x5e32f3(0x283)](_0x18de62),{'pointsGroup':_0x59e206,'fill':_0x581693||_0x50dad4[_0x5e32f3(0x327)](_0x51c300[_0x5e32f3(0x2f6)]['black'],0.2),'left':_0x1105b3,'top':_0x39815b,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x5e32f3(0x29d)](_0xa1feeb),this[_0x5e32f3(0xb8)][_0x5e32f3(0x20d)](_0xa1feeb,_0x517afe[_0x5e32f3(0x19f)]);}[_0x17d35d(0x93)](_0x5a65ef){const _0x1e1448=_0x5a65ef[0x0],_0x597301=_0x1e1448[0x0],_0x1a50d5=_0x1e1448[0x2],{x:_0x4f1fd4,y:_0x56a18e}=_0x597301,{x:_0x4a31b4,y:_0x52b18a}=_0x1a50d5;return{'left':_0x4f1fd4,'top':_0x56a18e,'width':_0x4a31b4-_0x4f1fd4,'height':_0x52b18a-_0x56a18e};}[_0x17d35d(0x145)](){const _0xea14cf=_0x17d35d,{scaleX:_0x487e52,scaleY:_0x21e45d}=this['_scene'][_0xea14cf(0x188)]();return Math[_0xea14cf(0x25e)](_0x487e52,_0x21e45d);}}var _0x456cb1=Object[_0x17d35d(0x1b1)],_0x3de26e=(_0x3c0273,_0x16c5d8,_0x3839c5,_0xeca21f)=>{for(var _0xe8e57e=_0xeca21f>0x1?void 0x0:_0xeca21f?_0x456cb1(_0x16c5d8,_0x3839c5):_0x16c5d8,_0x1d7b71=_0x3c0273['length']-0x1,_0x5a182c;_0x1d7b71>=0x0;_0x1d7b71--)(_0x5a182c=_0x3c0273[_0x1d7b71])&&(_0xe8e57e=_0x5a182c(_0xe8e57e)||_0xe8e57e);return _0xe8e57e;},_0x408c0f=(_0x4f8670,_0xdc412d)=>(_0x19c190,_0xdc7b8a)=>_0xdc412d(_0x19c190,_0xdc7b8a,_0x4f8670);let _0x323dd0=class extends _0x51c300[_0x17d35d(0x15b)]{constructor(_0x49ee3f,_0x48b88b,_0x28f5d9,_0x272b7d,_0x5eebe2){const _0x56d9d8=_0x17d35d;super(),_0x3a1755(this,'_cursorShapes',[]),_0x3a1755(this,'_cursors',[]),(this[_0x56d9d8(0x2c0)]=_0x49ee3f,this[_0x56d9d8(0x248)]=_0x48b88b,this[_0x56d9d8(0x337)]=_0x28f5d9,this[_0x56d9d8(0xf8)]=_0x272b7d,this[_0x56d9d8(0xbe)]=_0x5eebe2,this[_0x56d9d8(0x323)]());}[_0x17d35d(0x323)](){const _0x5d6917=_0x17d35d,_0x340615=this[_0x5d6917(0x2c0)][_0x5d6917(0x279)],_0x4747cc=this[_0x5d6917(0x248)];this[_0x5d6917(0x26f)](_0x26ac39['combineLatest']([this['_collabCursorController'][_0x5d6917(0x2e7)](_0x340615),this[_0x5d6917(0xbe)][_0x5d6917(0x104)]])[_0x5d6917(0x28e)](_0x7a3377['map'](([_0xfa0bbf,_0x8773a])=>({'skeleton':_0x4747cc[_0x5d6917(0x2ba)](),'cursors':[..._0xfa0bbf[_0x5d6917(0xf5)]()][_0x5d6917(0x1f0)](_0x208944=>({..._0x208944,'color':this[_0x5d6917(0xbe)][_0x5d6917(0x1f2)](_0x208944['color'])}))})))['subscribe'](_0x36a51c=>{const _0x395d2c=_0x5d6917;if(this[_0x395d2c(0x199)](),_0x36a51c){const {skeleton:_0x2b708c,cursors:_0x4978ef}=_0x36a51c;this[_0x395d2c(0x14a)](_0x2b708c,_0x4978ef);}})),this['_initResize'](),this[_0x5d6917(0x2cf)]();}[_0x17d35d(0x14a)](_0x31f875,_0x2c72fc){const _0x421fcd=_0x17d35d,{scene:_0x19ddc9,mainComponent:_0x30442a}=this[_0x421fcd(0x2c0)],_0x1b60fb=_0x2c72fc[_0x421fcd(0x10e)](_0x201137=>new _0x2a191c(_0x201137,_0x19ddc9,_0x31f875,_0x30442a));this['_cursorShapes']=_0x1b60fb,this[_0x421fcd(0x1d0)]=_0x2c72fc;}['_refreshCollabCursors'](){const _0x3982f1=_0x17d35d;this[_0x3982f1(0x199)]();const {scene:_0x2d0266,mainComponent:_0x191320}=this['_context'],_0x2efd95=this[_0x3982f1(0x248)][_0x3982f1(0x2ba)](),_0x17d3a0=this[_0x3982f1(0x1d0)][_0x3982f1(0x10e)](_0x1f3ff7=>new _0x2a191c(_0x1f3ff7,_0x2d0266,_0x2efd95,_0x191320));this[_0x3982f1(0x30b)]=_0x17d3a0;}['_removeCollabCursors'](){const _0xd87de1=_0x17d35d;this[_0xd87de1(0x30b)][_0xd87de1(0x23f)](_0x442964=>_0x442964[_0xd87de1(0x1bb)]()),this[_0xd87de1(0x30b)]=[];}[_0x17d35d(0x2cf)](){const _0x589f79=_0x17d35d,_0x2457d6=[_0x517afe[_0x589f79(0xea)]['id']];this[_0x589f79(0x26f)](this[_0x589f79(0xf8)][_0x589f79(0x161)](_0x368ff5=>{const _0x35c768=_0x589f79;_0x2457d6[_0x35c768(0x2e8)](_0x368ff5['id'])&&_0x368ff5[_0x35c768(0x11e)][_0x35c768(0x279)]===this[_0x35c768(0x2c0)][_0x35c768(0x279)]&&this[_0x35c768(0xce)]();}));}[_0x17d35d(0x8c)](){const _0x166c22=_0x17d35d;this[_0x166c22(0x26f)](_0x51c300['fromEventSubject'](this['_context'][_0x166c22(0x36b)]['onTransformChange$'])[_0x166c22(0x28e)](_0x7a3377['filter'](_0x19825d=>_0x19825d[_0x166c22(0x13f)]===_0x50dad4['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x7a3377[_0x166c22(0xa0)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x323dd0=_0x3de26e([_0x408c0f(0x1,_0x51c300[_0x17d35d(0x2a3)](_0x1f24cd['DocSkeletonManagerService'])),_0x408c0f(0x2,_0x51c300[_0x17d35d(0x2a3)](_0x5c07ee)),_0x408c0f(0x3,_0x51c300[_0x17d35d(0x101)]),_0x408c0f(0x4,_0x51c300[_0x17d35d(0x2a3)](_0x51c300['ThemeService']))],_0x323dd0);const _0x3b8c0e=0x1,_0x351cb2=1.5;class _0x424484 extends _0x50dad4[_0x17d35d(0x148)]{constructor(_0x153c7c,_0x2e1fa3){const _0x1783ce=_0x17d35d;super(_0x153c7c,_0x2e1fa3),_0x3a1755(this,_0x1783ce(0x24f)),_0x3a1755(this,_0x1783ce(0x264),!0x1),_0x3a1755(this,_0x1783ce(0x120)),_0x3a1755(this,_0x1783ce(0x343),''),_0x3a1755(this,_0x1783ce(0x246),'top'),_0x3a1755(this,'_backgroundColor'),(_0x2e1fa3&&this['setShapeProps'](_0x2e1fa3),this['onPointerEnter$'][_0x1783ce(0x212)](()=>this[_0x1783ce(0x2f8)]({'hovered':!0x0})),this[_0x1783ce(0x305)][_0x1783ce(0x212)](()=>this[_0x1783ce(0x2f8)]({'hovered':!0x1})));}[_0x17d35d(0x2f8)](_0x2733e7){const _0x101c45=_0x17d35d;var _0xce1903,_0x23a0e4,_0x479007,_0x477168,_0x56b864,_0x315e8b;this[_0x101c45(0x24f)]=(_0xce1903=_0x2733e7[_0x101c45(0x1b7)])!=null?_0xce1903:this[_0x101c45(0x24f)],this[_0x101c45(0x264)]=(_0x23a0e4=_0x2733e7['hovered'])!=null?_0x23a0e4:this[_0x101c45(0x264)],this[_0x101c45(0x120)]=(_0x479007=_0x2733e7[_0x101c45(0x375)])!=null?_0x479007:this['_range'],this[_0x101c45(0x343)]=(_0x477168=_0x2733e7[_0x101c45(0x1b3)])!=null?_0x477168:this[_0x101c45(0x343)],this[_0x101c45(0x246)]=(_0x56b864=_0x2733e7[_0x101c45(0x2c6)])!=null?_0x56b864:this[_0x101c45(0x246)],this[_0x101c45(0x108)]=(_0x315e8b=_0x2733e7[_0x101c45(0xd3)])!=null?_0x315e8b:this[_0x101c45(0x108)],this[_0x101c45(0x318)]({'width':_0x2733e7['width'],'height':_0x2733e7[_0x101c45(0x23c)]});}[_0x17d35d(0x308)](_0x203945){const _0x4ad553=_0x17d35d,{row:_0x666983,column:_0x418216}=_0x203945;if(_0x666983>=this[_0x4ad553(0x120)]['startRow']&&_0x666983<=this[_0x4ad553(0x120)][_0x4ad553(0x14c)]&&_0x418216>=this[_0x4ad553(0x120)][_0x4ad553(0x17a)]&&_0x418216<=this[_0x4ad553(0x120)][_0x4ad553(0x1c0)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4ad553(0x2f8)]({'hovered':!0x1});}[_0x17d35d(0xb4)](_0x332238){return!0x1;}['_draw'](_0xd0c148){const _0x436708=_0x17d35d;_0x50dad4[_0x436708(0x214)][_0x436708(0x2fe)](_0xd0c148,{'width':this[_0x436708(0x345)],'height':this[_0x436708(0x23c)],'strokeWidth':_0x351cb2,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x436708(0x108)]}),this[_0x436708(0x264)]&&(_0xd0c148['save'](),_0xd0c148[_0x436708(0x2ad)](0x1,0x0,0x0,0x1,this[_0x436708(0x345)],this['_labelPosition']==='bottom'?0x0:-_0x7a0843),_0x3b8824[_0x436708(0x2fe)](_0xd0c148,{'text':this[_0x436708(0x343)],'color':this[_0x436708(0x24f)]}),_0xd0c148[_0x436708(0x1a8)]());}}var _0x1a86b0=Object[_0x17d35d(0x1b1)],_0x28e435=(_0x2a5e96,_0x20860e,_0x159f03,_0x15c2c4)=>{const _0x246a84=_0x17d35d;for(var _0x5cdf0d=_0x15c2c4>0x1?void 0x0:_0x15c2c4?_0x1a86b0(_0x20860e,_0x159f03):_0x20860e,_0x435e43=_0x2a5e96[_0x246a84(0x2a5)]-0x1,_0x4b122d;_0x435e43>=0x0;_0x435e43--)(_0x4b122d=_0x2a5e96[_0x435e43])&&(_0x5cdf0d=_0x4b122d(_0x5cdf0d)||_0x5cdf0d);return _0x5cdf0d;},_0x3ea754=(_0x4ffb27,_0x598490)=>(_0x1b9bf2,_0x557eb7)=>_0x598490(_0x1b9bf2,_0x557eb7,_0x4ffb27);const _0x5957f=0x1389;let _0x1cbee9=class extends _0x51c300[_0x17d35d(0x15b)]{constructor(_0x3f34b1,_0x57f5da,_0x2641d2,_0x3f2b6d){const _0x3e170d=_0x17d35d;super(),_0x3a1755(this,_0x3e170d(0x1d0),new Set()),_0x3a1755(this,_0x3e170d(0x159),null),(this[_0x3e170d(0x2c0)]=_0x3f34b1,this[_0x3e170d(0x358)]=_0x57f5da,this[_0x3e170d(0x337)]=_0x2641d2,this['_themeService']=_0x3f2b6d,this[_0x3e170d(0x323)]());}[_0x17d35d(0x323)](){const _0x5f23b4=_0x17d35d;this[_0x5f23b4(0x358)]['currentSkeleton$']['pipe'](_0x7a3377[_0x5f23b4(0x2d3)](this[_0x5f23b4(0x30c)]),_0x7a3377['switchMap'](_0x587af9=>{const _0x13a2be=_0x5f23b4;if(_0x587af9){const _0x4081da=_0x587af9['sheetId'];return _0x26ac39[_0x13a2be(0xa9)](this[_0x13a2be(0x337)][_0x13a2be(0x2e7)](this[_0x13a2be(0x2c0)][_0x13a2be(0x279)]),this['_themeService'][_0x13a2be(0x104)])[_0x13a2be(0x28e)](_0x7a3377[_0x13a2be(0x10e)](([_0x371681,_0x4fefc8])=>{const _0x295fbf=_0x13a2be,_0x43dbc4=new Map();return _0x371681[_0x295fbf(0x23f)]((_0x52a44a,_0x449677)=>{const _0x2a9d18=_0x295fbf;if(_0x52a44a[_0x2a9d18(0x14f)]===_0x4081da){const _0x364a7a={..._0x52a44a};_0x364a7a[_0x2a9d18(0x1b7)]=this[_0x2a9d18(0xbe)][_0x2a9d18(0x1f2)](_0x52a44a[_0x2a9d18(0x1b7)]),_0x43dbc4['set'](_0x449677,_0x364a7a);}}),{'skeleton':_0x587af9,'cursors':_0x43dbc4};}));}return _0x26ac39['of']({'skeleton':null,'cursors':new Map()});}))[_0x5f23b4(0x2c8)](({skeleton:_0x5c15ac,cursors:_0x29c411})=>{const _0xba2d9=_0x5f23b4;this[_0xba2d9(0x199)](),_0x5c15ac&&this[_0xba2d9(0x14a)](_0x5c15ac,_0x29c411);}),this[_0x5f23b4(0x358)][_0x5f23b4(0x1c9)][_0x5f23b4(0x2c8)](_0x2220de=>{const _0x26b9fd=_0x5f23b4;if(_0x2220de==null)return;const {skeleton:_0x47619b}=_0x2220de,{scene:_0x56928d}=this['_context'];_0x56928d[_0x26b9fd(0x250)][_0x26b9fd(0x212)](_0x51c300[_0x26b9fd(0x29a)](_0x268f88=>{const _0x1d7db8=_0x26b9fd;var _0x330362,_0x524544;const {offsetX:_0x53e2d1,offsetY:_0x752e2e}=_0x268f88,{x:_0x217320,y:_0x551ef1}=_0x56928d[_0x1d7db8(0x117)](_0x50dad4['Vector2']['FromArray']([_0x53e2d1,_0x752e2e])),{scaleX:_0x115719,scaleY:_0x573f1c}=_0x56928d[_0x1d7db8(0x188)](),_0x32b5aa=_0x56928d['getViewport'](_0x50dad4[_0x1d7db8(0x231)][_0x1d7db8(0x1f7)]),_0x580a7a=_0x56928d[_0x1d7db8(0x378)](_0x50dad4[_0x1d7db8(0x18a)][_0x1d7db8(0x36d)]([_0x217320,_0x551ef1]),_0x32b5aa),_0x3d4fb7=_0x47619b[_0x1d7db8(0x201)](_0x53e2d1,_0x752e2e,_0x115719,_0x573f1c,_0x580a7a);((_0x330362=this[_0x1d7db8(0x159)])==null?void 0x0:_0x330362[_0x1d7db8(0x126)])===_0x3d4fb7['column']&&((_0x524544=this[_0x1d7db8(0x159)])==null?void 0x0:_0x524544[_0x1d7db8(0x1a3)])===_0x3d4fb7[_0x1d7db8(0x1a3)]||this[_0x1d7db8(0x1d0)][_0x1d7db8(0x23f)](_0x4b2d9a=>{_0x4b2d9a['onMouseMove'](_0x3d4fb7);});},0x64));});}[_0x17d35d(0x14a)](_0x5208bc,_0x46da74){const _0x1e1709=_0x17d35d;var _0x2e9ef7;const _0x373191=(_0x2e9ef7=this[_0x1e1709(0x358)][_0x1e1709(0x13b)]())==null?void 0x0:_0x2e9ef7['skeleton'];if(!_0x373191)return;const _0x1348f2=this['_getSheetObject']();if(!_0x1348f2)return;this[_0x1e1709(0x1d0)]['forEach'](_0x212ee4=>{const _0x368bcb=_0x1e1709;_0x212ee4[_0x368bcb(0x21e)]();});const {scene:_0x3bacfa}=_0x1348f2,_0x3c80df=_0x20c2e1(Array[_0x1e1709(0x289)](_0x46da74[_0x1e1709(0xf5)]()))['map'](_0xc43634=>{const _0xf6516a=_0x1e1709,{color:_0x677033,range:_0x5e2acc,name:_0x490c20,selection:_0x43b81a,sheetID:_0x4b3086}=_0xc43634,{startColumn:_0x4915eb,startRow:_0x2fce74,endColumn:_0x26198d,endRow:_0x1291d4}=_0x5e2acc,_0x4c04a4=_0x38208b['getCoordByCell'](_0x2fce74,_0x4915eb,_0x3bacfa,_0x373191),_0x11ea3a=_0x38208b[_0xf6516a(0x1db)](_0x1291d4,_0x26198d,_0x3bacfa,_0x373191),{columnHeaderHeightAndMarginTop:_0x3d45b7}=_0x373191,{startX:_0x4ca7cf,startY:_0x11cc7d}=_0x4c04a4,{endX:_0x42cbcd,endY:_0x49592b}=_0x11ea3a,_0x3e1df5=_0x42cbcd-_0x4ca7cf,_0x5ed910=_0x49592b-_0x11cc7d,_0x50a2a2={'labelPosition':_0x11cc7d-_0x3d45b7>=_0x7a0843?_0xf6516a(0x227):'bottom','sheetID':_0x4b3086,'range':_0x5e2acc,'color':_0x677033,'name':_0x490c20,'selection':_0x43b81a,'left':_0x4ca7cf,'top':_0x11cc7d,'width':_0x3e1df5,'height':_0x5ed910,'evented':!0x1,'zIndex':_0x5957f};return new _0x424484(_0x490c20,_0x50a2a2);});_0x3bacfa[_0x1e1709(0x274)](_0x3c80df,_0x3b8c0e),this[_0x1e1709(0x1d0)]=new Set(_0x3c80df);}[_0x17d35d(0x199)](){const _0x1cff76=_0x17d35d;var _0x40918d;(_0x40918d=this[_0x1cff76(0x1d0)])==null||_0x40918d[_0x1cff76(0x23f)](_0x6685c=>_0x6685c[_0x1cff76(0x1bb)]());}['_getSheetObject'](){const _0x576857=_0x17d35d;return _0x38208b['getSheetObject'](this[_0x576857(0x2c0)][_0x576857(0x13c)],this[_0x576857(0x2c0)]);}};_0x1cbee9=_0x28e435([_0x3ea754(0x1,_0x51c300[_0x17d35d(0x2a3)](_0x38208b['SheetSkeletonManagerService'])),_0x3ea754(0x2,_0x51c300[_0x17d35d(0x2a3)](_0x5c07ee)),_0x3ea754(0x3,_0x51c300['Inject'](_0x51c300[_0x17d35d(0x28a)]))],_0x1cbee9);function _0x20c2e1(_0x2a1b92){const _0x53048f=_0x17d35d,_0x14c172=new Map();return _0x2a1b92[_0x53048f(0x23f)](_0x46fa8c=>{const _0x5b96aa=_0x53048f;if(_0x14c172[_0x5b96aa(0x325)](_0x46fa8c[_0x5b96aa(0x353)])){const _0x366efc=_0x14c172[_0x5b96aa(0x16c)](_0x46fa8c['selection']);_0x366efc[_0x5b96aa(0x1b3)]+=',\x20'+_0x46fa8c[_0x5b96aa(0x1b3)];}else _0x14c172[_0x5b96aa(0x176)](_0x46fa8c[_0x5b96aa(0x353)],_0x46fa8c);}),Array[_0x53048f(0x289)](_0x14c172[_0x53048f(0xf5)]());}var _0x4a5a79=Object[_0x17d35d(0x1b1)],_0x41d705=(_0x4ce5e1,_0x57a4d8,_0x157751,_0xae9b23)=>{const _0x2e7c7a=_0x17d35d;for(var _0x66dc4b=_0xae9b23>0x1?void 0x0:_0xae9b23?_0x4a5a79(_0x57a4d8,_0x157751):_0x57a4d8,_0x5505c9=_0x4ce5e1[_0x2e7c7a(0x2a5)]-0x1,_0x813a9a;_0x5505c9>=0x0;_0x5505c9--)(_0x813a9a=_0x4ce5e1[_0x5505c9])&&(_0x66dc4b=_0x813a9a(_0x66dc4b)||_0x66dc4b);return _0x66dc4b;},_0x3c1bfc=(_0x1fe5a2,_0x23fc66)=>(_0x276087,_0x524851)=>_0x23fc66(_0x276087,_0x524851,_0x1fe5a2);let _0x744c25=class extends _0x51c300['Disposable']{constructor(_0x4a4105,_0x5da994,_0x46d99f,_0x3fc437,_0x367bdc,_0x35be5f){const _0x256750=_0x17d35d;super(),this['_beforeCloseService']=_0x4a4105,this['_localCacheService']=_0x5da994,this[_0x256750(0x216)]=_0x46d99f,this[_0x256750(0x2a0)]=_0x3fc437,this[_0x256750(0x1d7)]=_0x367bdc,this[_0x256750(0x137)]=_0x35be5f,this[_0x256750(0x261)](),this['_initEvent']();}[_0x17d35d(0x261)](){const _0x2d10e1=_0x17d35d;this[_0x2d10e1(0x26f)](this['_beforeCloseService'][_0x2d10e1(0x2c4)](()=>{const _0x2beb28=_0x2d10e1;if(this[_0x2beb28(0x309)][_0x2beb28(0x306)][_0x2beb28(0x200)])return this[_0x2beb28(0x137)]['t'](_0x2beb28(0x2e9));}));}[_0x17d35d(0x267)](){const _0x3ae9c9=_0x17d35d;this[_0x3ae9c9(0x26f)](this[_0x3ae9c9(0x216)][_0x3ae9c9(0x95)][_0x3ae9c9(0x2c8)](_0x1aaa0d=>{const _0x4c5649=_0x3ae9c9;_0x1aaa0d['id']===_0x1fb0d5[_0x4c5649(0x2bc)][_0x4c5649(0x316)]&&this[_0x4c5649(0x2a0)][_0x4c5649(0x196)]({'type':_0x1d9515[_0x4c5649(0x179)][_0x4c5649(0x16d)],'content':this[_0x4c5649(0x137)]['t'](_0x4c5649(0x14e))}),_0x1aaa0d['id']===_0x1fb0d5[_0x4c5649(0x2bc)][_0x4c5649(0xbf)]&&this[_0x4c5649(0x2a0)][_0x4c5649(0x196)]({'type':_0x1d9515[_0x4c5649(0x179)][_0x4c5649(0x16d)],'content':this[_0x4c5649(0x137)]['t'](_0x4c5649(0x2a9))}),_0x1aaa0d['id']===_0x1fb0d5[_0x4c5649(0x2bc)][_0x4c5649(0x1d6)]&&this[_0x4c5649(0x1d7)]['show']({'title':this[_0x4c5649(0x137)]['t'](_0x4c5649(0x129)),'content':this[_0x4c5649(0x137)]['t'](_0x4c5649(0x269)),'type':_0x4c5649(0x96),'duration':0x0}),_0x1aaa0d['id']===_0x1fb0d5[_0x4c5649(0x2bc)][_0x4c5649(0x186)]&&this[_0x4c5649(0x2a0)][_0x4c5649(0x196)]({'type':_0x1d9515[_0x4c5649(0x179)][_0x4c5649(0x1df)],'content':this[_0x4c5649(0x137)]['t'](_0x4c5649(0x2a9))+'('+_0x1aaa0d[_0x4c5649(0xf0)]+')'}),_0x1aaa0d['id']===_0x1fb0d5[_0x4c5649(0x2bc)][_0x4c5649(0xfe)]&&this[_0x4c5649(0x2a0)][_0x4c5649(0x196)]({'type':_0x1d9515[_0x4c5649(0x179)]['Warning'],'content':this[_0x4c5649(0x137)]['t'](_0x1aaa0d['data']||'')}),_0x1aaa0d['id']===_0x1fb0d5['CollaborationUIEventId'][_0x4c5649(0x18f)]&&this[_0x4c5649(0x2a0)]['show']({'type':_0x1d9515[_0x4c5649(0x179)][_0x4c5649(0x16d)],'content':this[_0x4c5649(0x137)]['t'](_0x4c5649(0xcc))}),_0x1aaa0d['id']===_0x1fb0d5[_0x4c5649(0x2bc)][_0x4c5649(0x297)]&&this[_0x4c5649(0x2a0)]['show']({'type':_0x1d9515[_0x4c5649(0x179)][_0x4c5649(0x1df)],'content':this[_0x4c5649(0x137)]['t'](_0x4c5649(0xaf))}),_0x1aaa0d['id']===_0x1fb0d5[_0x4c5649(0x2bc)][_0x4c5649(0x237)]&&this['_messageService']['show']({'type':_0x1d9515[_0x4c5649(0x179)][_0x4c5649(0x1df)],'content':this[_0x4c5649(0x137)]['t'](_0x4c5649(0x192))});}));}};_0x744c25=_0x41d705([_0x3c1bfc(0x0,_0x316cc8[_0x17d35d(0x1fe)]),_0x3c1bfc(0x1,_0x1fb0d5[_0x17d35d(0x363)]),_0x3c1bfc(0x2,_0x51c300[_0x17d35d(0x2a3)](_0x1fb0d5[_0x17d35d(0x1dc)])),_0x3c1bfc(0x3,_0x316cc8[_0x17d35d(0x1e7)]),_0x3c1bfc(0x4,_0x316cc8[_0x17d35d(0x331)]),_0x3c1bfc(0x5,_0x51c300[_0x17d35d(0x2a3)](_0x51c300[_0x17d35d(0x31f)]))],_0x744c25);var _0x361406=Object[_0x17d35d(0x1b1)],_0x5bd109=(_0x162037,_0x854191,_0x2d47fa,_0x12119b)=>{for(var _0x2eee45=_0x12119b>0x1?void 0x0:_0x12119b?_0x361406(_0x854191,_0x2d47fa):_0x854191,_0x334d91=_0x162037['length']-0x1,_0x282878;_0x334d91>=0x0;_0x334d91--)(_0x282878=_0x162037[_0x334d91])&&(_0x2eee45=_0x282878(_0x2eee45)||_0x2eee45);return _0x2eee45;},_0x44f6f1=(_0x4ee58d,_0x4e14ad)=>(_0x1c884d,_0x5a92b0)=>_0x4e14ad(_0x1c884d,_0x5a92b0,_0x4ee58d);let _0x2379d1=class extends _0x51c300[_0x17d35d(0x2dd)]{constructor(_0x28e44,_0x181b85,_0x2c210b,_0x4049eb){const _0x3c4f7b=_0x17d35d;super(),_0x3a1755(this,_0x3c4f7b(0x230)),(this['_injector']=_0x28e44,this[_0x3c4f7b(0x340)]=_0x181b85,this[_0x3c4f7b(0x11b)]=_0x2c210b,this[_0x3c4f7b(0x2dc)]=_0x4049eb,this['_init']());}[_0x17d35d(0x323)](){const _0x63375f=_0x17d35d;this[_0x63375f(0x319)](),this[_0x63375f(0x9c)](),this[_0x63375f(0x34f)](),this[_0x63375f(0x225)]();}[_0x17d35d(0x225)](){const _0x613919=_0x17d35d;this['disposeWithMe'](this[_0x613919(0x2dc)][_0x613919(0x122)][_0x613919(0x2c8)](_0xfcc1f5=>{const _0x5d8027=_0x613919;this[_0x5d8027(0x230)]=_0xfcc1f5==null?void 0x0:_0xfcc1f5[_0x5d8027(0x123)];}));}['_initWindowErrorListener'](){const _0x203a71=_0x17d35d,_0x2e7214=_0x2afa98=>{const _0x500d08=_0x1e96;var _0x15a517;this[_0x500d08(0x334)]('error','[Window\x20Error]:\x20'+_0x2afa98[_0x500d08(0x2db)]+_0x500d08(0x2cc)+_0x2afa98['filename']+':'+_0x2afa98[_0x500d08(0x9a)]+':'+_0x2afa98['colno']+'\x0a'+(((_0x15a517=_0x2afa98[_0x500d08(0x96)])==null?void 0x0:_0x15a517['stack'])||''));};window[_0x203a71(0x1ad)](_0x203a71(0x96),_0x2e7214),this[_0x203a71(0x26f)](()=>{const _0x5565f6=_0x203a71;window[_0x5565f6(0x364)](_0x5565f6(0x96),_0x2e7214);});}['_initUnhandledRejectionListener'](){const _0x5d972c=_0x17d35d,_0x9f585d=_0x1569d8=>{const _0x291bfd=_0x1e96;this[_0x291bfd(0x334)](_0x291bfd(0x96),_0x291bfd(0x195)+_0x1569d8[_0x291bfd(0x23b)]);};window['addEventListener'](_0x5d972c(0x20e),_0x9f585d),this[_0x5d972c(0x26f)](()=>{const _0x12a243=_0x5d972c;window[_0x12a243(0x364)](_0x12a243(0x20e),_0x9f585d);});}[_0x17d35d(0x34f)](){const _0x14508c=_0x17d35d,_0x295e41=this[_0x14508c(0x11b)][_0x14508c(0x96)][_0x14508c(0x376)](this['_logService']);this[_0x14508c(0x11b)][_0x14508c(0x96)]=(..._0x3edf9d)=>{const _0x24a9a4=_0x14508c,_0x25a1fe=_0x3edf9d['map'](_0x1ee988=>_0x1ee988 instanceof Error?_0x1ee988[_0x24a9a4(0x2db)]+'\x0a'+_0x1ee988[_0x24a9a4(0x32e)]:String(_0x1ee988))[_0x24a9a4(0x1bf)]('\x20');this[_0x24a9a4(0x334)](_0x24a9a4(0x96),_0x24a9a4(0x1ff)+_0x25a1fe),_0x295e41(..._0x3edf9d);},this[_0x14508c(0x26f)](()=>{const _0x5f4f6a=_0x14508c;this['_logService'][_0x5f4f6a(0x96)]=_0x295e41;});}[_0x17d35d(0x334)](_0x5b3fbd,_0x5384cf){const _0x5e6c94=_0x17d35d;try{const _0x1b0e17={'userId':this[_0x5e6c94(0x230)],'logLabel':_0x5b3fbd,'content':_0x5384cf};this[_0x5e6c94(0x340)]['post'](_0x5e6c94(0xb7),{'body':_0x1b0e17})['catch'](()=>{});}catch{}}};_0x2379d1=_0x5bd109([_0x44f6f1(0x0,_0x51c300['Inject'](_0x51c300[_0x17d35d(0x127)])),_0x44f6f1(0x1,_0x51c300['Inject'](_0x3f6e7a[_0x17d35d(0x16b)])),_0x44f6f1(0x2,_0x51c300[_0x17d35d(0x1ac)]),_0x44f6f1(0x3,_0x51c300['Inject'](_0x1fb0d5[_0x17d35d(0x34c)]))],_0x2379d1);const _0x33fb92=_0x17d35d(0xc8),_0x574bdb={};var _0x36ed2e=Object[_0x17d35d(0x1b1)],_0x3ca102=(_0x1ed7d8,_0x65e990,_0x43b2a2,_0x12bdc8)=>{const _0x303037=_0x17d35d;for(var _0x53caa6=_0x12bdc8>0x1?void 0x0:_0x12bdc8?_0x36ed2e(_0x65e990,_0x43b2a2):_0x65e990,_0x2dfd3e=_0x1ed7d8[_0x303037(0x2a5)]-0x1,_0xdb95ef;_0x2dfd3e>=0x0;_0x2dfd3e--)(_0xdb95ef=_0x1ed7d8[_0x2dfd3e])&&(_0x53caa6=_0xdb95ef(_0x53caa6)||_0x53caa6);return _0x53caa6;},_0x56a1f3=(_0x258649,_0x329892)=>(_0x6479da,_0x5abcff)=>_0x329892(_0x6479da,_0x5abcff,_0x258649);let _0x5348e9=class{constructor(_0x3a17c3,_0x5cbcec){const _0x4c8266=_0x17d35d;this[_0x4c8266(0x2b8)]=_0x3a17c3,this[_0x4c8266(0x2e0)]=_0x5cbcec;}[_0x17d35d(0x1b9)](_0x1a2d95){const _0x140dbb=_0x17d35d;this[_0x140dbb(0x18d)](_0x1a2d95),this[_0x140dbb(0x2a8)](_0x1a2d95);}[_0x17d35d(0x317)](_0x39bdde){const _0x3d0038=_0x17d35d,{unitID:_0x2f774b}=_0x39bdde,_0x49890c=this[_0x3d0038(0x2e0)][_0x3d0038(0x21c)](_0x2f774b)[_0x3d0038(0x12b)](_0x517afe[_0x3d0038(0x9b)]),{redoCache:_0x29961b}=_0x49890c[_0x3d0038(0x338)]();if(_0x29961b['length']===0x0)return _0x39bdde;let _0x3702fd=_0x51c300[_0x3d0038(0x33d)]['deepClone'](_0x39bdde['mutations'][0x0]);for(let _0x1a9a54=0x0;_0x1a9a54<_0x29961b[_0x3d0038(0x2a5)];_0x1a9a54++){const _0x4537c6={'id':_0x3d0038(0x1f3),'params':{..._0x29961b[_0x1a9a54]}},_0x5014b0=this[_0x3d0038(0x2b8)]['transformMutation'](_0x3702fd,_0x4537c6,!0x1);if(_0x564972[_0x3d0038(0x218)](_0x5014b0))throw _0x5014b0['error'];_0x3702fd=_0x5014b0[_0x3d0038(0x1ba)];}return{..._0x51c300[_0x3d0038(0x33d)][_0x3d0038(0xa1)](_0x39bdde),'mutations':[_0x3702fd]};}[_0x17d35d(0x18d)](_0xa984b4){const _0x101591=_0x17d35d,{unitID:_0x5a6681}=_0xa984b4,_0x1d9bbc=this[_0x101591(0x2e0)][_0x101591(0x21c)](_0x5a6681)['with'](_0x517afe[_0x101591(0x9b)]),{undoCache:_0x2c1abd,redoCache:_0x1d1336}=_0x1d9bbc[_0x101591(0x338)]();if(_0x2c1abd[_0x101591(0x2a5)]===0x0||_0x1d1336['length']===0x0)return;const _0xa7eebb=[],_0x1a3ced=[];let _0x4045e0=_0x51c300[_0x101591(0x33d)][_0x101591(0xa1)](_0xa984b4['mutations'][0x0]),_0x4b3460=_0x51c300[_0x101591(0x33d)][_0x101591(0xa1)](_0xa984b4['mutations'][0x0]);for(let _0x18314c=_0x2c1abd[_0x101591(0x2a5)]-0x1;_0x18314c>=0x0;_0x18314c--){const _0xc4b2c4={'id':'doc.mutation.rich-text-editing','params':{..._0x2c1abd[_0x18314c]}},_0x250657={'id':_0x101591(0x1f3),'params':{..._0x1d1336[_0x18314c]}},_0x545736=this[_0x101591(0x2b8)]['transformMutation'](_0x4045e0,_0xc4b2c4,!0x1),_0x36ed77=this[_0x101591(0x2b8)][_0x101591(0x1cb)](_0x4b3460,_0x250657,!0x1);if(_0x564972['isTransformMutationFailure'](_0x545736))throw _0x545736['error'];if(_0x564972['isTransformMutationFailure'](_0x36ed77))throw _0x36ed77[_0x101591(0x96)];_0xa7eebb[_0x101591(0x2d7)](_0x545736[_0x101591(0xdc)][_0x101591(0x11e)]),_0x1a3ced[_0x101591(0x2d7)](_0x36ed77[_0x101591(0xdc)]['params']),_0x4045e0=_0x545736[_0x101591(0x1ba)],_0x4b3460=_0x36ed77[_0x101591(0x1ba)];}_0x1d9bbc['setUndoRedoMutationParamsCache']({'undoCache':_0xa7eebb,'redoCache':_0x1a3ced});}['_transformPreviousActiveRange'](_0x21d733){const _0x5c7821=_0x17d35d,{unitID:_0x33b757}=_0x21d733,_0x47fd74=this[_0x5c7821(0x2e0)][_0x5c7821(0x21c)](_0x33b757)[_0x5c7821(0x12b)](_0x517afe[_0x5c7821(0x9b)]),_0x40182d=_0x47fd74['getActiveRange']();if(_0x40182d==null)return;const _0x1d2c8b=[{'id':_0x5c7821(0x1f3),'params':{'unitId':_0x21d733[_0x5c7821(0x1dd)],'actions':null,'textRanges':[_0x40182d]}}],_0x5d8ba6=this[_0x5c7821(0x2b8)][_0x5c7821(0xdd)](_0x21d733,_0x1d2c8b);if(!_0x564972[_0x5c7821(0x271)](_0x5d8ba6))throw _0x5d8ba6[_0x5c7821(0x96)];const _0xc3d76d=_0x5d8ba6[_0x5c7821(0xdc)][0x0][_0x5c7821(0x11e)][_0x5c7821(0x1a0)];Array['isArray'](_0xc3d76d)&&_0xc3d76d[_0x5c7821(0x2a5)]&&_0x47fd74['setActiveRange'](_0xc3d76d[0x0]);}};_0x5348e9=_0x3ca102([_0x56a1f3(0x0,_0x564972[_0x17d35d(0x158)]),_0x56a1f3(0x1,_0x50dad4[_0x17d35d(0x1f5)])],_0x5348e9);var _0xb1763e=Object[_0x17d35d(0x1b1)],_0x16ec86=(_0x2448a6,_0x5d13b8,_0x130811,_0x243619)=>{for(var _0x1ff72b=_0x243619>0x1?void 0x0:_0x243619?_0xb1763e(_0x5d13b8,_0x130811):_0x5d13b8,_0x15b649=_0x2448a6['length']-0x1,_0x21a80a;_0x15b649>=0x0;_0x15b649--)(_0x21a80a=_0x2448a6[_0x15b649])&&(_0x1ff72b=_0x21a80a(_0x1ff72b)||_0x1ff72b);return _0x1ff72b;},_0x192112=(_0x92c297,_0x4d54e2)=>(_0x1297df,_0x13a765)=>_0x4d54e2(_0x1297df,_0x13a765,_0x92c297);let _0x432530=class{constructor(_0x127885,_0x6d2665,_0x4483aa){const _0x12f62e=_0x17d35d;this[_0x12f62e(0x111)]=_0x127885,this[_0x12f62e(0x2b8)]=_0x6d2665,this[_0x12f62e(0x21f)]=_0x4483aa;}[_0x17d35d(0x182)](_0x29aa39){this['_transformHistoryAndStateStack'](_0x29aa39);}[_0x17d35d(0x317)](_0x1c426e){const _0x5c8dbe=_0x17d35d,{unitID:_0x16744a}=_0x1c426e,{collaboration:_0x3f783b}=this[_0x5c8dbe(0x21f)][_0x5c8dbe(0x226)](_0x16744a);if(_0x3f783b[_0x5c8dbe(0x2a5)]===0x0)return _0x1c426e;let _0x534c9e=_0x51c300[_0x5c8dbe(0x33d)][_0x5c8dbe(0xa1)](_0x1c426e[_0x5c8dbe(0x320)][0x0]);for(let _0x26ba55=0x0;_0x26ba55<_0x3f783b[_0x5c8dbe(0x2a5)];_0x26ba55++){const _0x508617={'id':_0x5c8dbe(0x1f3),'params':{'unitId':_0x3f783b[_0x26ba55]['unitId'],..._0x3f783b[_0x26ba55][_0x5c8dbe(0xc3)]}},_0x3dd5a6=this[_0x5c8dbe(0x2b8)]['transformMutation'](_0x534c9e,_0x508617,!0x1);if(_0x564972[_0x5c8dbe(0x218)](_0x3dd5a6))throw _0x3dd5a6['error'];_0x534c9e=_0x3dd5a6[_0x5c8dbe(0x1ba)];}return{..._0x51c300[_0x5c8dbe(0x33d)][_0x5c8dbe(0xa1)](_0x1c426e),'mutations':[_0x534c9e]};}[_0x17d35d(0x35e)](_0x38baec){const _0x439531=_0x17d35d,{unitID:_0x280a7d}=_0x38baec,{history:_0x1c07e2,collaboration:_0x5db477}=this[_0x439531(0x21f)][_0x439531(0x226)](_0x280a7d);if(_0x1c07e2[_0x439531(0x2a5)]===0x0&&_0x5db477[_0x439531(0x2a5)]===0x0)return;const _0x4d0ac1=[],_0xed5d30=[];let _0x198cdb=_0x51c300[_0x439531(0x33d)][_0x439531(0xa1)](_0x38baec[_0x439531(0x320)][0x0]),_0xd958b7=_0x51c300[_0x439531(0x33d)][_0x439531(0xa1)](_0x38baec[_0x439531(0x320)][0x0]);for(let _0x246947=_0x1c07e2[_0x439531(0x2a5)]-0x1;_0x246947>=0x0;_0x246947--){const _0x8eca02={'id':_0x439531(0x1f3),'params':{'unitId':_0x1c07e2[_0x246947][_0x439531(0x279)],..._0x1c07e2[_0x246947][_0x439531(0x1a4)]}},_0x6e52af={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1c07e2[_0x246947][_0x439531(0x279)],..._0x1c07e2[_0x246947][_0x439531(0xc3)]}},_0x36cfdc=this[_0x439531(0x2b8)][_0x439531(0x1cb)](_0x198cdb,_0x8eca02,!0x1),_0x1d3357=this[_0x439531(0x2b8)][_0x439531(0x1cb)](_0xd958b7,_0x6e52af,!0x1);if(_0x564972[_0x439531(0x218)](_0x36cfdc))throw _0x36cfdc[_0x439531(0x96)];if(_0x564972['isTransformMutationFailure'](_0x1d3357))throw _0x1d3357[_0x439531(0x96)];_0x4d0ac1['unshift']({..._0x1c07e2[_0x246947],'undoState':_0x36cfdc[_0x439531(0xdc)][_0x439531(0x11e)],'redoState':_0x1d3357[_0x439531(0xdc)][_0x439531(0x11e)]}),_0x198cdb=_0x36cfdc[_0x439531(0x1ba)],_0xd958b7=_0x1d3357[_0x439531(0x1ba)];}_0x198cdb=_0x51c300['Tools']['deepClone'](_0x38baec[_0x439531(0x320)][0x0]),_0xd958b7=_0x51c300[_0x439531(0x33d)][_0x439531(0xa1)](_0x38baec['mutations'][0x0]);for(let _0x2bff9f=_0x5db477[_0x439531(0x2a5)]-0x1;_0x2bff9f>=0x0;_0x2bff9f--){const _0x50fb9c={'id':_0x439531(0x1f3),'params':{'unitId':_0x5db477[_0x2bff9f]['unitId'],..._0x5db477[_0x2bff9f][_0x439531(0x1a4)]}},_0x33e918={'id':_0x439531(0x1f3),'params':{'unitId':_0x5db477[_0x2bff9f][_0x439531(0x279)],..._0x5db477[_0x2bff9f]['redoState']}},_0x323b91=this[_0x439531(0x2b8)][_0x439531(0x1cb)](_0x198cdb,_0x50fb9c,!0x1),_0x1cd5b5=this[_0x439531(0x2b8)]['transformMutation'](_0xd958b7,_0x33e918,!0x1);if(_0x564972[_0x439531(0x218)](_0x323b91))throw _0x323b91[_0x439531(0x96)];if(_0x564972[_0x439531(0x218)](_0x1cd5b5))throw _0x1cd5b5['error'];_0xed5d30[_0x439531(0x2d7)]({..._0x5db477[_0x2bff9f],'undoState':_0x323b91[_0x439531(0xdc)][_0x439531(0x11e)],'redoState':_0x1cd5b5['m2Prime']['params']}),_0x198cdb=_0x323b91[_0x439531(0x1ba)],_0xd958b7=_0x1cd5b5[_0x439531(0x1ba)];}this['_docStateChangeManagerService'][_0x439531(0x193)](_0x280a7d,{'history':_0x4d0ac1,'collaboration':_0xed5d30});}};_0x432530=_0x16ec86([_0x192112(0x0,_0x51c300[_0x17d35d(0x2a3)](_0x51c300[_0x17d35d(0x127)])),_0x192112(0x1,_0x564972['ITransformService']),_0x192112(0x2,_0x51c300[_0x17d35d(0x2a3)](_0x517afe[_0x17d35d(0x23d)]))],_0x432530);var _0x420ada=Object[_0x17d35d(0x1b1)],_0x1b70d4=(_0x102e50,_0x14385c,_0x35ce6b,_0x22cf81)=>{const _0x81cff9=_0x17d35d;for(var _0x4234ff=_0x22cf81>0x1?void 0x0:_0x22cf81?_0x420ada(_0x14385c,_0x35ce6b):_0x14385c,_0x11fc03=_0x102e50[_0x81cff9(0x2a5)]-0x1,_0x335976;_0x11fc03>=0x0;_0x11fc03--)(_0x335976=_0x102e50[_0x11fc03])&&(_0x4234ff=_0x335976(_0x4234ff)||_0x4234ff);return _0x4234ff;},_0x1ee831=(_0x4003b5,_0x31801c)=>(_0x573865,_0xd71b78)=>_0x31801c(_0x573865,_0xd71b78,_0x4003b5);let _0x44cb39=class{constructor(_0x37df06,_0x587aa6){const _0x4fdfee=_0x17d35d;this[_0x4fdfee(0x111)]=_0x37df06,this[_0x4fdfee(0x2b8)]=_0x587aa6;}[_0x17d35d(0x2da)](_0x3e3067){const _0x16d3c0=_0x17d35d;var _0x29b379;const _0x108446=this[_0x16d3c0(0x111)]['get'](_0x1f24cd[_0x16d3c0(0x2ab)]),_0x15356d=(_0x29b379=_0x108446['getDocRanges']())!=null?_0x29b379:[];if(_0x15356d[_0x16d3c0(0x2a5)]===0x0)return;const _0x328df3=_0x3e3067[_0x16d3c0(0x1dd)],_0x51c244=[{'id':_0x16d3c0(0x1f3),'params':{'unitId':_0x328df3,'actions':null,'textRanges':_0x15356d}}],_0x4b8134=this['_transformService'][_0x16d3c0(0xdd)](_0x3e3067,_0x51c244);if(!_0x564972['isTransformMutationsWithChangesetSuccess'](_0x4b8134))throw _0x4b8134['error'];const _0x4b3c33=_0x4b8134[_0x16d3c0(0xdc)][0x0][_0x16d3c0(0x11e)][_0x16d3c0(0x1a0)];Array['isArray'](_0x4b3c33)&&_0x4b3c33[_0x16d3c0(0x2a5)]&&_0x108446[_0x16d3c0(0xe8)](_0x4b3c33,{'unitId':_0x328df3,'subUnitId':_0x328df3},!0x1);}};_0x44cb39=_0x1b70d4([_0x1ee831(0x0,_0x51c300[_0x17d35d(0x2a3)](_0x51c300[_0x17d35d(0x127)])),_0x1ee831(0x1,_0x564972[_0x17d35d(0x158)])],_0x44cb39);var _0x5ee03a=Object[_0x17d35d(0x1b1)],_0x2bf7c1=(_0x3432e7,_0x508459,_0x13fdaa,_0x260fb9)=>{const _0x47b015=_0x17d35d;for(var _0x34ad56=_0x260fb9>0x1?void 0x0:_0x260fb9?_0x5ee03a(_0x508459,_0x13fdaa):_0x508459,_0x4cb13b=_0x3432e7[_0x47b015(0x2a5)]-0x1,_0x120d9f;_0x4cb13b>=0x0;_0x4cb13b--)(_0x120d9f=_0x3432e7[_0x4cb13b])&&(_0x34ad56=_0x120d9f(_0x34ad56)||_0x34ad56);return _0x34ad56;},_0x17b199=(_0x12d0b2,_0x29e14e)=>(_0x1b2fad,_0x4eb7af)=>_0x29e14e(_0x1b2fad,_0x4eb7af,_0x12d0b2);let _0x2ed237=class extends _0x51c300[_0x17d35d(0x2dd)]{constructor(_0x4312ab,_0x5ecea4,_0x116253,_0x599c8b,_0x3e38a0,_0x5c3bf1,_0x3e9113,_0x5d6594){const _0x133093=_0x17d35d;super(),_0x3a1755(this,_0x133093(0x1b0),new _0x26ac39[(_0x133093(0xa6))](_0x1fb0d5[_0x133093(0x1eb)][_0x133093(0x1b8)])),(this[_0x133093(0x21f)]=_0x4312ab,this['_collaborationController']=_0x5ecea4,this[_0x133093(0x204)]=_0x116253,this[_0x133093(0x2cd)]=_0x599c8b,this[_0x133093(0x2a7)]=_0x3e38a0,this[_0x133093(0x97)]=_0x5c3bf1,this[_0x133093(0x2a0)]=_0x3e9113,this[_0x133093(0x137)]=_0x5d6594,this[_0x133093(0x354)]());}['_initEntityListener'](){const _0x837dbd=_0x17d35d;this[_0x837dbd(0x26f)](this[_0x837dbd(0x275)][_0x837dbd(0x18c)][_0x837dbd(0x2c8)](_0x31f4ef=>{const _0x1225d2=_0x837dbd,_0xed836a=this[_0x1225d2(0x21f)][_0x1225d2(0xa3)][_0x1225d2(0x2c8)](_0x2dc908=>{const _0x45587c=_0x1225d2;if(_0x2dc908==null)return;const {unitId:_0x288025,redoState:_0x1980d6,commandId:_0x11719}=_0x2dc908;if(_0x288025!==_0x31f4ef[_0x45587c(0x1dd)])return;const _0x7ad3d0={'id':_0x11719,'type':_0x51c300[_0x45587c(0x2d4)][_0x45587c(0x152)],'params':{'unitId':_0x288025,'actions':_0x1980d6[_0x45587c(0x229)],'textRanges':null}};_0x31f4ef[_0x45587c(0xe0)](_0x7ad3d0);});if(_0x31f4ef['disposeWithMe'](_0xed836a),_0x31f4ef instanceof _0x1fb0d5[_0x1225d2(0x156)]){const _0x171aa5={'onTransformIME':_0x177f1c=>this[_0x1225d2(0x204)][_0x1225d2(0x1b9)](_0x177f1c),'onTransformState':_0x424024=>this['_docTransformStateCacheService']['transformStateCache'](_0x424024),'onTransformSelections':_0x1578a2=>this['_docTransformSelectionsService'][_0x1225d2(0x2da)](_0x1578a2),'onSyncEditingCollabCursor':_0x39d977=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x39d977),'onTransformRemoteChangesetByIMECache':_0x430f57=>this[_0x1225d2(0x204)]['transformRemoteChangeset'](_0x430f57),'onTransformRemoteChangesetByStateCache':_0x3bc3b1=>this[_0x1225d2(0x2cd)][_0x1225d2(0x317)](_0x3bc3b1)};_0x31f4ef['addHandlerCallback'](_0x171aa5);}}));}};_0x2ed237=_0x2bf7c1([_0x17b199(0x0,_0x51c300[_0x17d35d(0x2a3)](_0x517afe[_0x17d35d(0x23d)])),_0x17b199(0x1,_0x51c300['Inject'](_0x1fb0d5[_0x17d35d(0x311)])),_0x17b199(0x2,_0x51c300['Inject'](_0x5348e9)),_0x17b199(0x3,_0x51c300[_0x17d35d(0x2a3)](_0x432530)),_0x17b199(0x4,_0x51c300['Inject'](_0x44cb39)),_0x17b199(0x5,_0x51c300[_0x17d35d(0x2a3)](_0x2bcc62)),_0x17b199(0x6,_0x316cc8[_0x17d35d(0x1e7)]),_0x17b199(0x7,_0x51c300[_0x17d35d(0x2a3)](_0x51c300[_0x17d35d(0x31f)]))],_0x2ed237);var _0x25292b=(_0x5b6859=>(_0x5b6859[_0x5b6859[_0x17d35d(0x150)]=0x0]='UNDEFINED',_0x5b6859[_0x5b6859['OK']=0x1]='OK',_0x5b6859[_0x5b6859[_0x17d35d(0xba)]=0x2]='INTERNAL_ERROR',_0x5b6859[_0x5b6859['PERMISSION_DENIED']=0x3]=_0x17d35d(0x1d6),_0x5b6859[_0x5b6859[_0x17d35d(0xa4)]=0x4]='NOT_FOUND',_0x5b6859[_0x5b6859[_0x17d35d(0x373)]=0x5]=_0x17d35d(0x373),_0x5b6859[_0x5b6859[_0x17d35d(0xed)]=0x6]=_0x17d35d(0xed),_0x5b6859[_0x5b6859[_0x17d35d(0x1c8)]=0x7]=_0x17d35d(0x1c8),_0x5b6859[_0x5b6859[_0x17d35d(0x8d)]=0x8]=_0x17d35d(0x8d),_0x5b6859[_0x5b6859[_0x17d35d(0xa8)]=0x9]=_0x17d35d(0xa8),_0x5b6859[_0x5b6859[_0x17d35d(0x9d)]=0xa]=_0x17d35d(0x9d),_0x5b6859[_0x5b6859[_0x17d35d(0xc6)]=0xb]=_0x17d35d(0xc6),_0x5b6859[_0x5b6859[_0x17d35d(0xe6)]=0xc]=_0x17d35d(0xe6),_0x5b6859[_0x5b6859['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x5b6859[_0x5b6859[_0x17d35d(0x36e)]=0xe]=_0x17d35d(0x36e),_0x5b6859[_0x5b6859[_0x17d35d(0x92)]=0xf]=_0x17d35d(0x92),_0x5b6859[_0x5b6859[_0x17d35d(0x344)]=0x10]=_0x17d35d(0x344),_0x5b6859[_0x5b6859['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x17d35d(0x1b5),_0x5b6859[_0x5b6859['ERROR_AGAIN']=0x65]=_0x17d35d(0x112),_0x5b6859[_0x5b6859[_0x17d35d(0x2fb)]=0xc9]='USER_NOT_FOUND',_0x5b6859[_0x5b6859[_0x17d35d(0xf4)]=0xca]='USER_IS_ANONYMOUS',_0x5b6859[_0x5b6859[_0x17d35d(0x153)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5b6859[_0x5b6859['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5b6859[_0x5b6859[_0x17d35d(0x2df)]=0x1772]=_0x17d35d(0x2df),_0x5b6859[_0x5b6859[_0x17d35d(0x1c1)]=0x1773]=_0x17d35d(0x1c1),_0x5b6859[_0x5b6859[_0x17d35d(0x26a)]=0x1b59]=_0x17d35d(0x26a),_0x5b6859[_0x5b6859[_0x17d35d(0x26e)]=0x1b5a]=_0x17d35d(0x26e),_0x5b6859[_0x5b6859['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x17d35d(0x1b6),_0x5b6859[_0x5b6859['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x17d35d(0x2c7),_0x5b6859[_0x5b6859[_0x17d35d(0xcd)]=0x1b5d]=_0x17d35d(0xcd),_0x5b6859[_0x5b6859[_0x17d35d(0xb5)]=0x1f41]=_0x17d35d(0xb5),_0x5b6859[_0x5b6859[_0x17d35d(0x330)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5b6859[_0x5b6859[_0x17d35d(0x1f6)]=0x232a]=_0x17d35d(0x1f6),_0x5b6859[_0x5b6859[_0x17d35d(0x12f)]=0x232b]=_0x17d35d(0x12f),_0x5b6859[_0x5b6859[_0x17d35d(0x15a)]=0x232c]=_0x17d35d(0x15a),_0x5b6859[_0x5b6859[_0x17d35d(0x1a1)]=0x232d]=_0x17d35d(0x1a1),_0x5b6859[_0x5b6859[_0x17d35d(0x114)]=0x2711]=_0x17d35d(0x114),_0x5b6859[_0x5b6859[_0x17d35d(0x377)]=0x2712]=_0x17d35d(0x377),_0x5b6859[_0x5b6859[_0x17d35d(0x211)]=0x2713]=_0x17d35d(0x211),_0x5b6859[_0x5b6859[_0x17d35d(0x187)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x5b6859[_0x5b6859[_0x17d35d(0x124)]=0x271a]=_0x17d35d(0x124),_0x5b6859[_0x5b6859[_0x17d35d(0x2d8)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5b6859[_0x5b6859[_0x17d35d(0x17d)]=0x271c]=_0x17d35d(0x17d),_0x5b6859[_0x5b6859[_0x17d35d(0x118)]=0x271d]=_0x17d35d(0x118),_0x5b6859[_0x5b6859[_0x17d35d(0x27f)]=0x271e]=_0x17d35d(0x27f),_0x5b6859[_0x5b6859[_0x17d35d(0x232)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x5b6859[_0x5b6859['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x17d35d(0x11c),_0x5b6859[_0x5b6859[_0x17d35d(0x27b)]=0x2af9]=_0x17d35d(0x27b),_0x5b6859[_0x5b6859[_0x17d35d(0x14b)]=0x2ee1]=_0x17d35d(0x14b),_0x5b6859[_0x5b6859[_0x17d35d(0x2d6)]=0x2ee2]=_0x17d35d(0x2d6),_0x5b6859[_0x5b6859[_0x17d35d(0x2b3)]=0x2ee3]=_0x17d35d(0x2b3),_0x5b6859[_0x5b6859[_0x17d35d(0x99)]=0x2ee4]=_0x17d35d(0x99),_0x5b6859[_0x5b6859[_0x17d35d(0x1c3)]=0x2ee5]=_0x17d35d(0x1c3),_0x5b6859[_0x5b6859[_0x17d35d(0x17c)]=0x32c9]=_0x17d35d(0x17c),_0x5b6859[_0x5b6859['MOBILE_HAS_BEEN_BOUND']=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x5b6859[_0x5b6859[_0x17d35d(0x333)]=0x32cb]=_0x17d35d(0x333),_0x5b6859[_0x5b6859[_0x17d35d(0xc5)]=0x36b1]=_0x17d35d(0xc5),_0x5b6859[_0x5b6859[_0x17d35d(0x312)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x5b6859[_0x5b6859[_0x17d35d(0x25a)]=0x36b3]=_0x17d35d(0x25a),_0x5b6859[_0x5b6859[_0x17d35d(0x1bd)]=0x36b4]=_0x17d35d(0x1bd),_0x5b6859[_0x5b6859[_0x17d35d(0x16e)]=0x36b5]='ENTITLE_INVALID_COUPON_CODE',_0x5b6859[_0x5b6859[_0x17d35d(0x2c5)]=0x36b6]=_0x17d35d(0x2c5),_0x5b6859[_0x5b6859[_0x17d35d(0x2bf)]=0x36b7]='ENTITLE_COUPON_USED_UP',_0x5b6859[_0x5b6859['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x17d35d(0x280),_0x5b6859[_0x5b6859['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x17d35d(0x20b),_0x5b6859[_0x5b6859[_0x17d35d(0x2ec)]=0x3716]=_0x17d35d(0x2ec),_0x5b6859[_0x5b6859[_0x17d35d(0x310)]=0x3717]=_0x17d35d(0x310),_0x5b6859[_0x5b6859[_0x17d35d(0x12d)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x5b6859[_0x5b6859['REDEMPTION_INVALID_CODE']=0x3a99]=_0x17d35d(0x282),_0x5b6859[_0x5b6859[_0x17d35d(0x143)]=0x3a9a]=_0x17d35d(0x143),_0x5b6859[_0x5b6859[_0x17d35d(0x235)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x5b6859[_0x5b6859[_0x17d35d(0x33c)]=0x3a9c]=_0x17d35d(0x33c),_0x5b6859[_0x5b6859[_0x17d35d(0x1f8)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x5b6859[_0x5b6859[_0x17d35d(0x26b)]=0x3a9e]=_0x17d35d(0x26b),_0x5b6859[_0x5b6859[_0x17d35d(0x367)]=0x3a9f]=_0x17d35d(0x367),_0x5b6859[_0x5b6859[_0x17d35d(0x1da)]=0x3e81]=_0x17d35d(0x1da),_0x5b6859[_0x5b6859['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x5b6859))(_0x25292b||{});function _0x1d9b52(_0x79def){const _0x220f9e=_0x17d35d;var _0x57330d,_0x3f4daa;const _0x4d88ca=(_0x57330d=_0x79def[_0x220f9e(0x360)])==null?void 0x0:_0x57330d[_0x220f9e(0x136)],_0x55394e=((_0x3f4daa=_0x79def[_0x220f9e(0x360)])==null?void 0x0:_0x3f4daa['totalFormulasToCalculate'])||0x0;return _0x4d88ca===_0x4f54c4[_0x220f9e(0x2b7)][_0x220f9e(0x2a2)]&&_0x55394e>0x0;}function _0x2b46df(_0x32e058){const _0x5db89f=_0x17d35d;return _0x32e058[_0x5db89f(0x22c)]===_0x4f54c4['FormulaExecutedStateType']['SUCCESS'];}var _0x21f51b=Object[_0x17d35d(0x1b1)],_0x5c34d9=(_0x4144d5,_0x85be27,_0x3120ac,_0x35f30f)=>{for(var _0x202944=_0x35f30f>0x1?void 0x0:_0x35f30f?_0x21f51b(_0x85be27,_0x3120ac):_0x85be27,_0xeecd69=_0x4144d5['length']-0x1,_0x5a41d5;_0xeecd69>=0x0;_0xeecd69--)(_0x5a41d5=_0x4144d5[_0xeecd69])&&(_0x202944=_0x5a41d5(_0x202944)||_0x202944);return _0x202944;},_0x20d37c=(_0x35e213,_0x119ec1)=>(_0x31ad31,_0x57484a)=>_0x119ec1(_0x31ad31,_0x57484a,_0x35e213);const _0x32f55e='/universer-api/license/formula/limit/status',_0x154d2f='/universer-api/license/formula/limit/start',_0x11b762=_0x17d35d(0x2c3);let _0x2ce8fb=class extends _0x51c300[_0x17d35d(0x2dd)]{constructor(_0x307cdd,_0x6eb2e8,_0x328a93,_0x2dcc56,_0x4e136f,_0x1a2340,_0x2884e7){const _0x4f0bf2=_0x17d35d;super(),_0x3a1755(this,_0x4f0bf2(0x293),null),_0x3a1755(this,_0x4f0bf2(0x115),0x0),_0x3a1755(this,'_currentUsage',0x0),_0x3a1755(this,_0x4f0bf2(0x217),[]),_0x3a1755(this,_0x4f0bf2(0xca),0x0),(this[_0x4f0bf2(0x2a0)]=_0x307cdd,this[_0x4f0bf2(0xf8)]=_0x6eb2e8,this[_0x4f0bf2(0xdf)]=_0x328a93,this[_0x4f0bf2(0x340)]=_0x2dcc56,this[_0x4f0bf2(0x135)]=_0x4e136f,this['_logService']=_0x1a2340,this[_0x4f0bf2(0x137)]=_0x2884e7,this['_initCommandInterceptor']());}[_0x17d35d(0x1c5)](){const _0x460b6d=_0x17d35d;this[_0x460b6d(0x26f)](this['_commandService'][_0x460b6d(0x2cb)]((_0x21315b,_0x1d1d56)=>{const _0x35b202=_0x460b6d;var _0x13aa29;if(_0x21315b['id']!==_0x4f54c4[_0x35b202(0x258)]['id'])return;const _0x4a1c16=_0x21315b[_0x35b202(0x11e)];if(!this[_0x35b202(0x2b4)]((_0x13aa29=_0x4a1c16['dirtyRanges'])!=null?_0x13aa29:[]))return;if(!this[_0x35b202(0x35d)]())throw this[_0x35b202(0x315)](_0x21315b,_0x1d1d56),this[_0x35b202(0x247)](),new _0x51c300[(_0x35b202(0x254))]();})),this[_0x460b6d(0x26f)](this[_0x460b6d(0xf8)][_0x460b6d(0x161)]((_0x59b5bb,_0x363003)=>{const _0x5ae59e=_0x460b6d;if(_0x59b5bb['id']!==_0x4f54c4[_0x5ae59e(0xe4)]['id'])return;const _0x3207b4=_0x59b5bb[_0x5ae59e(0x11e)];if(_0x1d9b52(_0x3207b4)){const _0xb08d7e=_0x51c300[_0x5ae59e(0x283)]();this[_0x5ae59e(0x217)][_0x5ae59e(0x29d)](_0xb08d7e),this[_0x5ae59e(0x11a)](_0xb08d7e);}else{if(_0x2b46df(_0x3207b4)&&this[_0x5ae59e(0x217)][_0x5ae59e(0x2a5)]>0x0){const _0x1e2bdd=this[_0x5ae59e(0x217)]['shift']();this[_0x5ae59e(0x189)](_0x1e2bdd);}}}));}[_0x17d35d(0x1bb)](){const _0x408d4a=_0x17d35d;super[_0x408d4a(0x1bb)](),this['_clearPolling'](),this['_taskIds']=[],this[_0x408d4a(0x341)]=0x0,this['_maxFormulaLimit']=0x0,this[_0x408d4a(0xca)]=0x0;}async['_checkAndWaitForCalculationPermission'](_0x47641d,_0xac8228){const _0x8b0c57=_0x17d35d;for(let _0x13390e=0x0;_0x13390e<0x1e;_0x13390e++)try{if(await this[_0x8b0c57(0x2be)](),this[_0x8b0c57(0x35d)]()){this[_0x8b0c57(0x2f1)](_0x47641d,_0xac8228),this[_0x8b0c57(0x2a0)][_0x8b0c57(0x196)]({'content':this['_localeService']['t']('formula.calculation.started'),'type':_0x1d9515['MessageType']['Success']});return;}await new Promise(_0x4d5fd1=>{const _0x48bc5e=_0x8b0c57;this[_0x48bc5e(0x293)]=window[_0x48bc5e(0x1cf)](_0x4d5fd1,0x3e8);});}catch(_0x4392da){this['_logService']['error'](_0x4392da);}this[_0x8b0c57(0x2a0)][_0x8b0c57(0x196)]({'content':this[_0x8b0c57(0x137)]['t'](_0x8b0c57(0x160)),'type':_0x1d9515[_0x8b0c57(0x179)][_0x8b0c57(0x1df)]});}[_0x17d35d(0x2f1)](_0x45467c,_0x1c0a26){const _0xb0b7b1=_0x17d35d;try{this['_commandService']['executeCommand'](_0x45467c['id'],_0x45467c[_0xb0b7b1(0x11e)],_0x1c0a26);}catch(_0x2b2266){this['_logService'][_0xb0b7b1(0x96)](_0x2b2266);}}['_setFormulaLimitStatus'](_0x41fd11,_0x324843){const _0x573d8a=_0x17d35d;_0x324843<this[_0x573d8a(0xca)]||(this[_0x573d8a(0xca)]=_0x324843,this[_0x573d8a(0x115)]=Number['parseInt'](_0x41fd11[_0x573d8a(0x105)]),this[_0x573d8a(0x341)]=Number[_0x573d8a(0x1fa)](_0x41fd11[_0x573d8a(0xfd)]));}async[_0x17d35d(0x11a)](_0x33d30e){const _0x37f0aa=_0x17d35d;var _0x56644c,_0x32e2b8;const _0xf67603=Date[_0x37f0aa(0x175)]();try{const _0x57864b=((_0x56644c=this[_0x37f0aa(0xdf)][_0x37f0aa(0x22d)](_0x1fb0d5[_0x37f0aa(0x257)]))==null?void 0x0:_0x56644c[_0x37f0aa(0x33a)])||_0x154d2f,_0x4e760b=(await this[_0x37f0aa(0x340)]['post'](_0x57864b,{'body':JSON[_0x37f0aa(0x210)]({'taskId':_0x33d30e})}))[_0x37f0aa(0x32d)];if(((_0x32e2b8=_0x4e760b['error'])==null?void 0x0:_0x32e2b8[_0x37f0aa(0x307)])!==_0x25292b['OK'])return;this['_setFormulaLimitStatus'](_0x4e760b[_0x37f0aa(0x30f)],_0xf67603);}catch(_0x3371b6){this[_0x37f0aa(0x11b)][_0x37f0aa(0x96)](_0x3371b6);}}async[_0x17d35d(0x2be)](_0x5466a6){const _0x38f837=_0x17d35d;var _0x262233,_0x2557e1;const _0x579193=Date['now']();try{const _0xe5b581=((_0x262233=this[_0x38f837(0xdf)][_0x38f837(0x22d)](_0x1fb0d5[_0x38f837(0x257)]))==null?void 0x0:_0x262233['getformulaLimitStatusUrl'])||_0x32f55e,_0x5b55b2=_0x5466a6?_0xe5b581+_0x38f837(0x2ef)+encodeURIComponent(_0x5466a6):_0xe5b581,_0x5986cd=(await this[_0x38f837(0x340)][_0x38f837(0x16c)](_0x5b55b2))[_0x38f837(0x32d)];if(((_0x2557e1=_0x5986cd[_0x38f837(0x96)])==null?void 0x0:_0x2557e1[_0x38f837(0x307)])!==_0x25292b['OK'])return;this[_0x38f837(0x256)](_0x5986cd['limitInfo'],_0x579193);}catch(_0x8a584a){this[_0x38f837(0x11b)][_0x38f837(0x96)](_0x8a584a);}}async[_0x17d35d(0x189)](_0x17d226){const _0x200060=_0x17d35d;var _0x3d3646,_0x3dafa3;const _0x106ddd=Date[_0x200060(0x175)]();try{const _0x4f276d=((_0x3d3646=this['_configService'][_0x200060(0x22d)](_0x1fb0d5[_0x200060(0x257)]))==null?void 0x0:_0x3d3646[_0x200060(0x116)])||_0x11b762,_0x3e9ed1=(await this[_0x200060(0x340)][_0x200060(0x24c)](_0x4f276d,{'body':JSON[_0x200060(0x210)]({'taskId':_0x17d226})}))[_0x200060(0x32d)];if(((_0x3dafa3=_0x3e9ed1[_0x200060(0x96)])==null?void 0x0:_0x3dafa3[_0x200060(0x307)])!==_0x25292b['OK'])return;this[_0x200060(0x256)](_0x3e9ed1['limitInfo'],_0x106ddd);}catch(_0x2e02d7){this['_logService']['error'](_0x2e02d7);}}[_0x17d35d(0x35d)](){const _0x273be2=_0x17d35d;return this[_0x273be2(0x115)]===0x0?!0x0:this['_maxFormulaLimit']-this[_0x273be2(0x341)]>0x0;}[_0x17d35d(0x19b)](){const _0x1da157=_0x17d35d;this[_0x1da157(0x293)]&&(clearTimeout(this[_0x1da157(0x293)]),this[_0x1da157(0x293)]=null);}[_0x17d35d(0x247)](){const _0x4ff791=_0x17d35d;this[_0x4ff791(0x2a0)][_0x4ff791(0x196)]({'content':this['_localeService']['t']('formula.calculation.waiting'),'type':_0x1d9515[_0x4ff791(0x179)][_0x4ff791(0xf9)]});}['_hasFormulaInDirtyRanges'](_0x43c09c){const _0x2d6b96=_0x17d35d;for(const _0x57c688 of _0x43c09c){const {unitId:_0x24834a,sheetId:_0x32044b,range:_0x343324}=_0x57c688,_0x2f629c=this[_0x2d6b96(0x135)][_0x2d6b96(0x167)](_0x24834a);if(!_0x2f629c)continue;const _0x279b0e=_0x2f629c[_0x2d6b96(0xfb)](_0x32044b);if(!_0x279b0e)continue;const _0x1d2560=_0x279b0e['getCellMatrix']();for(let _0x19f843=_0x343324[_0x2d6b96(0x2de)];_0x19f843<=_0x343324[_0x2d6b96(0x14c)];_0x19f843++)for(let _0x3a0305=_0x343324[_0x2d6b96(0x17a)];_0x3a0305<=_0x343324[_0x2d6b96(0x1c0)];_0x3a0305++){const _0x10f113=_0x1d2560[_0x2d6b96(0xf1)](_0x19f843,_0x3a0305);if(_0x10f113&&(_0x51c300[_0x2d6b96(0x31a)](_0x10f113['f'])||_0x51c300[_0x2d6b96(0x326)](_0x10f113['si'])))return!0x0;}}return!0x1;}};_0x2ce8fb=_0x5c34d9([_0x20d37c(0x0,_0x51c300[_0x17d35d(0x2a3)](_0x316cc8[_0x17d35d(0x1e7)])),_0x20d37c(0x1,_0x51c300[_0x17d35d(0x101)]),_0x20d37c(0x2,_0x51c300[_0x17d35d(0x32c)]),_0x20d37c(0x3,_0x51c300['Inject'](_0x3f6e7a[_0x17d35d(0x16b)])),_0x20d37c(0x4,_0x51c300[_0x17d35d(0x181)]),_0x20d37c(0x5,_0x51c300[_0x17d35d(0x1ac)]),_0x20d37c(0x6,_0x51c300[_0x17d35d(0x2a3)](_0x51c300[_0x17d35d(0x31f)]))],_0x2ce8fb);var _0xe92fbe=Object[_0x17d35d(0x1b1)],_0xfe02ad=(_0x43462e,_0x51ad33,_0x2e3824,_0x3a0d51)=>{for(var _0x2315a1=_0x3a0d51>0x1?void 0x0:_0x3a0d51?_0xe92fbe(_0x51ad33,_0x2e3824):_0x51ad33,_0x37bfae=_0x43462e['length']-0x1,_0x3d2645;_0x37bfae>=0x0;_0x37bfae--)(_0x3d2645=_0x43462e[_0x37bfae])&&(_0x2315a1=_0x3d2645(_0x2315a1)||_0x2315a1);return _0x2315a1;},_0x410fd0=(_0x1e4b82,_0x162404)=>(_0x48cdb4,_0x5a9aa8)=>_0x162404(_0x48cdb4,_0x5a9aa8,_0x1e4b82);let _0x11105d=class extends _0x51c300[_0x17d35d(0x2dd)]{constructor(_0x4a07cc,_0x3d8ed2,_0x2ccb4d){const _0x32adcf=_0x17d35d;super(),_0x3a1755(this,_0x32adcf(0x324),new Map()),_0x3a1755(this,_0x32adcf(0x28d),new Map()),_0x3a1755(this,_0x32adcf(0x300),!0x1),(this[_0x32adcf(0xdf)]=_0x4a07cc,this[_0x32adcf(0xd8)]=_0x3d8ed2,this[_0x32adcf(0x322)]=_0x2ccb4d);}[_0x17d35d(0x28c)](){const _0x4c841b=_0x17d35d;this[_0x4c841b(0x300)]=!0x0;}[_0x17d35d(0xc2)](){const _0x23f5dd=_0x17d35d;this[_0x23f5dd(0x300)]=!0x1;}get['saveTaskMap'](){const _0x5ecd2a=_0x17d35d;return this[_0x5ecd2a(0x28d)];}[_0x17d35d(0x1bb)](){const _0x331b50=_0x17d35d;this[_0x331b50(0x208)]()['then'](()=>super[_0x331b50(0x1bb)]());}async[_0x17d35d(0x266)](_0x564011){const _0x189238=_0x17d35d;return this['_disabled']?null:this[_0x189238(0xd8)]['getItem'](_0x1fb0d5['getLocalCacheKey'](_0x564011));}async[_0x17d35d(0x241)](_0x5aac37,_0x276be1){const _0x5f4742=_0x17d35d;return!!this[_0x5f4742(0xd8)][_0x5f4742(0x233)](_0x5aac37,_0x276be1);}['updateOfflineData'](_0x419c4e,_0x31bc19,_0x113a1b,_0x46c40f){const _0x56413f=_0x17d35d,_0x524350=this['_revisionService'][_0x56413f(0x2ce)](_0x419c4e);this['_cachedData'][_0x56413f(0x176)](_0x419c4e,{'unitID':_0x419c4e,'type':_0x31bc19,'awaitingChangeset':_0x113a1b,'mutations':_0x46c40f,'rev':_0x524350}),this[_0x56413f(0x28d)][_0x56413f(0x325)](_0x419c4e)||this[_0x56413f(0x215)](_0x419c4e);}[_0x17d35d(0x215)](_0x1b859d){const _0x8def1a=_0x17d35d,_0x3a5cdd=this[_0x8def1a(0x98)]();_0x3a5cdd===0x0?this[_0x8def1a(0x2a1)](_0x1b859d):this[_0x8def1a(0x28d)][_0x8def1a(0x176)](_0x1b859d,setTimeout(()=>this['_saveCache'](_0x1b859d),_0x3a5cdd));}[_0x17d35d(0x98)](){const _0x4c800c=_0x17d35d;var _0xe26821;return(_0xe26821=this[_0x4c800c(0xdf)]['getConfig'](_0x1fb0d5[_0x4c800c(0x30e)]))!=null?_0xe26821:_0x1fb0d5[_0x4c800c(0x25f)];}[_0x17d35d(0x2a1)](_0x5a19e8){const _0x48de8f=_0x17d35d,_0x5728c9=this[_0x48de8f(0x28d)]['get'](_0x5a19e8);return _0x5728c9!==void 0x0&&window['clearTimeout'](_0x5728c9),this['_localStorageService'][_0x48de8f(0x233)](_0x1fb0d5[_0x48de8f(0x313)](_0x5a19e8),this[_0x48de8f(0x324)]['get'](_0x5a19e8))[_0x48de8f(0x1be)](()=>this[_0x48de8f(0x28d)][_0x48de8f(0x296)](_0x5a19e8));}async['exhaustSavingTask'](){const _0x1b378b=_0x17d35d,_0x2ab9be=[];this[_0x1b378b(0x28d)][_0x1b378b(0x23f)]((_0xa6df03,_0x2ad096)=>{const _0x9967=_0x1b378b;window[_0x9967(0x321)](_0xa6df03),_0x2ab9be[_0x9967(0x29d)](this[_0x9967(0x2a1)](_0x2ad096)['then'](()=>{const _0x40f978=_0x9967;this['_saveTaskMap'][_0x40f978(0x296)](_0x2ad096);}));}),await Promise['all'](_0x2ab9be);}};_0x11105d=_0xfe02ad([_0x410fd0(0x0,_0x51c300[_0x17d35d(0x32c)]),_0x410fd0(0x1,_0x51c300[_0x17d35d(0x15e)]),_0x410fd0(0x2,_0x51c300['Inject'](_0x564972[_0x17d35d(0x28f)]))],_0x11105d);class _0xdacd90 extends _0x51c300[_0x17d35d(0x15b)]{constructor(){const _0x3ad798=_0x17d35d;super(),_0x3a1755(this,_0x3ad798(0xcb)),this['urlChange$']=_0x26ac39['fromEvent'](window,_0x3ad798(0x32a))[_0x3ad798(0x28e)](_0x26ac39[_0x3ad798(0x2d3)](this['dispose$']),_0x26ac39[_0x3ad798(0x209)](0x1),_0x26ac39[_0x3ad798(0x1de)](void 0x0));}[_0x17d35d(0x1a6)](_0x30bc99,_0xb71249,_0x57e913=!0x1){const _0x143423=_0x17d35d,_0x5695c6=new URL(window[_0x143423(0x121)]['href']);_0x5695c6[_0x143423(0x1e5)][_0x143423(0x176)](_0x30bc99,_0xb71249),_0x57e913?window[_0x143423(0xad)][_0x143423(0x2e3)]('','',_0x5695c6[_0x143423(0x155)]()):window['history']['pushState']('','',_0x5695c6[_0x143423(0x155)]());}[_0x17d35d(0x21a)](_0x1652ed,_0x16c3ce=!0x1){const _0xd14a39=_0x17d35d,_0x1c6cd8=new URL(window[_0xd14a39(0x121)][_0xd14a39(0x260)]);_0x1c6cd8[_0xd14a39(0x1e5)][_0xd14a39(0x296)](_0x1652ed),_0x16c3ce?window[_0xd14a39(0xad)]['replaceState']('','',_0x1c6cd8['toString']()):window[_0xd14a39(0xad)]['pushState']('','',_0x1c6cd8[_0xd14a39(0x155)]());}[_0x17d35d(0x169)](_0x24e50c){const _0xef962b=_0x17d35d;var _0x1df8bb;return(_0x1df8bb=new URL(window[_0xef962b(0x121)][_0xef962b(0x260)])[_0xef962b(0x1e5)][_0xef962b(0x16c)](_0x24e50c))!=null?_0x1df8bb:void 0x0;}}var _0xe3cb26=Object[_0x17d35d(0x1ee)],_0xd1e5ef=Object[_0x17d35d(0x1b1)],_0x33be02=(_0x2914a6,_0x4b1437,_0x5581c2)=>_0x4b1437 in _0x2914a6?_0xe3cb26(_0x2914a6,_0x4b1437,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5581c2}):_0x2914a6[_0x4b1437]=_0x5581c2,_0x4ad30a=(_0x4e9231,_0x4e534e,_0x3be09d,_0x2b2209)=>{const _0x5d43aa=_0x17d35d;for(var _0x8d3b35=_0x2b2209>0x1?void 0x0:_0x2b2209?_0xd1e5ef(_0x4e534e,_0x3be09d):_0x4e534e,_0x574c05=_0x4e9231[_0x5d43aa(0x2a5)]-0x1,_0x17b188;_0x574c05>=0x0;_0x574c05--)(_0x17b188=_0x4e9231[_0x574c05])&&(_0x8d3b35=_0x17b188(_0x8d3b35)||_0x8d3b35);return _0x8d3b35;},_0x5816c2=(_0x486a05,_0x3bb2e6)=>(_0x4c1df1,_0x5e4817)=>_0x3bb2e6(_0x4c1df1,_0x5e4817,_0x486a05),_0x422bec=(_0x41400e,_0xc78679,_0x220546)=>_0x33be02(_0x41400e,_0xc78679+'',_0x220546);const _0x291eab=_0x17d35d(0x2c9);_0x606468[_0x17d35d(0x26d)]=class extends _0x51c300['Plugin']{constructor(_0xc3d0d6=_0x574bdb,_0x47d4ff,_0x510d68,_0x102f0c){const _0x4ddf88=_0x17d35d;super(),this['_config']=_0xc3d0d6,this[_0x4ddf88(0x2e0)]=_0x47d4ff,this[_0x4ddf88(0x111)]=_0x510d68,this[_0x4ddf88(0xdf)]=_0x102f0c;const {..._0x52626c}=_0x51c300['merge']({},_0x574bdb,this[_0x4ddf88(0x24e)]);this[_0x4ddf88(0xdf)][_0x4ddf88(0x2f9)](_0x33fb92,_0x52626c);}[_0x17d35d(0x16f)](){const _0xdf57cc=_0x17d35d;this[_0xdf57cc(0x276)](),this[_0xdf57cc(0x170)]();}['onRendered'](){const _0x332049=_0x17d35d;this[_0x332049(0x174)]();}[_0x17d35d(0x276)](){const _0x5b16f2=_0x17d35d;var _0x4ada10;const _0x2178c1=[[_0x18a9e9],[_0x2ce8fb],[_0x44cb39],[_0x5348e9],[_0x432530],[_0x2bcc62],[_0x1fcf33,{'useClass':_0xdacd90}],[_0x3f6e7a[_0x5b16f2(0x15f)],{'useClass':_0x3f6e7a[_0x5b16f2(0xe2)]}],[_0x1fb0d5[_0x5b16f2(0x363)],{'useClass':_0x11105d}],[_0x606468[_0x5b16f2(0x17b)]],[_0x2ed237],[_0x744c25],[_0x5c07ee],[_0x47d9f6],[_0x606468[_0x5b16f2(0x1e6)]]];this[_0x5b16f2(0x24e)][_0x5b16f2(0x1a9)]&&_0x2178c1['push']([_0x2379d1]),_0x51c300[_0x5b16f2(0x2d2)](this[_0x5b16f2(0x111)],_0x51c300[_0x5b16f2(0x34b)](_0x2178c1,(_0x4ada10=this[_0x5b16f2(0x24e)])==null?void 0x0:_0x4ada10[_0x5b16f2(0x1ce)]));}[_0x17d35d(0x174)](){const _0x584cbe=_0x17d35d;this[_0x584cbe(0x26f)](this[_0x584cbe(0x2e0)][_0x584cbe(0x2b2)](_0x51c300[_0x584cbe(0x245)][_0x584cbe(0x298)],[_0x323dd0])),this[_0x584cbe(0x26f)](this[_0x584cbe(0x2e0)][_0x584cbe(0x2b2)](_0x51c300[_0x584cbe(0x245)][_0x584cbe(0x2f3)],[_0x1cbee9]));}[_0x17d35d(0x170)](){const _0x426cad=_0x17d35d;_0x51c300['touchDependencies'](this[_0x426cad(0x111)],[[_0x5c07ee],[_0x606468['DesktopCollaborationStatusDisplayController']],[_0x2ed237],[_0x744c25],[_0x606468['CollaborationDataLoaderController']],[_0x2ce8fb]]),this[_0x426cad(0x24e)]['enableFrontendLog']&&_0x51c300[_0x426cad(0x362)](this['_injector'],[[_0x2379d1]]);}},_0x422bec(_0x606468[_0x17d35d(0x26d)],_0x17d35d(0x24a),_0x291eab),_0x606468[_0x17d35d(0x26d)]=_0x4ad30a([_0x51c300['DependentOn'](_0x1fb0d5[_0x17d35d(0x374)]),_0x5816c2(0x1,_0x50dad4[_0x17d35d(0x1f5)]),_0x5816c2(0x2,_0x51c300['Inject'](_0x51c300[_0x17d35d(0x127)])),_0x5816c2(0x3,_0x51c300[_0x17d35d(0x32c)])],_0x606468[_0x17d35d(0x26d)]);var _0x40b1fe=Object[_0x17d35d(0x1b1)],_0x51a157=(_0x1fbe10,_0x4456ba,_0x13ab75,_0xc0d200)=>{const _0x527a38=_0x17d35d;for(var _0x203401=_0xc0d200>0x1?void 0x0:_0xc0d200?_0x40b1fe(_0x4456ba,_0x13ab75):_0x4456ba,_0x11f207=_0x1fbe10[_0x527a38(0x2a5)]-0x1,_0x25fcf0;_0x11f207>=0x0;_0x11f207--)(_0x25fcf0=_0x1fbe10[_0x11f207])&&(_0x203401=_0x25fcf0(_0x203401)||_0x203401);return _0x203401;},_0x263ccd=(_0x5140b5,_0x3b5612)=>(_0x57baec,_0x690aad)=>_0x3b5612(_0x57baec,_0x690aad,_0x5140b5);_0x606468[_0x17d35d(0xd0)]=class extends _0x1fb0d5[_0x17d35d(0x20c)]{constructor(_0xad4f38,_0x193f59,_0x14306e,_0xe40386,_0x583b4e){super(_0xad4f38,_0x193f59,_0x14306e,_0xe40386,_0x583b4e);}async[_0x17d35d(0x168)](_0x51bff9){const _0x55a2d9=_0x17d35d,_0x177f43=await this[_0x55a2d9(0x1ab)](),_0x4b26b7=this['_createSocketURL'](_0x51bff9,_0x177f43);return this[_0x55a2d9(0x332)](_0x4b26b7);}[_0x17d35d(0x21b)](_0x3f05f4,_0x1aaf82){const _0x1a8118=_0x17d35d,_0x174ad4=typeof window>'u'?new URL(_0x3f05f4):new URL(_0x3f05f4,window[_0x1a8118(0x121)]['origin']);_0x174ad4[_0x1a8118(0x1e5)][_0x1a8118(0x176)](_0x1a8118(0x1ed),_0x1aaf82);const _0x516a9c=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1a8118(0x121)][_0x1a8118(0x10c)]);return _0x516a9c[_0x1a8118(0x16c)](_0x1a8118(0x34e))&&_0x174ad4[_0x1a8118(0x1e5)][_0x1a8118(0x176)]('runId',_0x516a9c[_0x1a8118(0x16c)](_0x1a8118(0x34e))),_0x174ad4[_0x1a8118(0x155)]();}async[_0x17d35d(0x1ab)](){const _0x97775c=_0x17d35d;var _0x554609,_0x4426e7,_0x3a11f5;const _0x5d87df=this['_configService']['getConfig'](_0x1fb0d5[_0x97775c(0x257)]),_0x2bcd82=(_0x554609=_0x5d87df==null?void 0x0:_0x5d87df[_0x97775c(0x36f)])!=null?_0x554609:_0x1fb0d5[_0x97775c(0x31c)];return(_0x3a11f5=(_0x4426e7=(await this[_0x97775c(0x340)][_0x97775c(0x16c)](_0x2bcd82,{'headers':{'Content-Type':_0x97775c(0x132)}}))['body'])==null?void 0x0:_0x4426e7['ticket'])!=null?_0x3a11f5:'';}},_0x606468['BrowserCollaborationSocketService']=_0x51a157([_0x263ccd(0x0,_0x51c300[_0x17d35d(0x2a3)](_0x51c300[_0x17d35d(0x127)])),_0x263ccd(0x1,_0x51c300[_0x17d35d(0x2a3)](_0x3f6e7a['HTTPService'])),_0x263ccd(0x2,_0x51c300[_0x17d35d(0x32c)]),_0x263ccd(0x3,_0x51c300['ILogService']),_0x263ccd(0x4,_0x564972[_0x17d35d(0x31e)])],_0x606468[_0x17d35d(0xd0)]);var _0x43f108=Object[_0x17d35d(0x1b1)],_0x2ea0b5=(_0x376d9d,_0x3e92f9,_0x5dc36d,_0x563ea7)=>{for(var _0x4c3ee2=_0x563ea7>0x1?void 0x0:_0x563ea7?_0x43f108(_0x3e92f9,_0x5dc36d):_0x3e92f9,_0x1f2a9c=_0x376d9d['length']-0x1,_0x377625;_0x1f2a9c>=0x0;_0x1f2a9c--)(_0x377625=_0x376d9d[_0x1f2a9c])&&(_0x4c3ee2=_0x377625(_0x4c3ee2)||_0x4c3ee2);return _0x4c3ee2;},_0xa8b1b6=(_0xdb629c,_0x12424f)=>(_0x4755d1,_0x33060f)=>_0x12424f(_0x4755d1,_0x33060f,_0xdb629c);_0x606468[_0x17d35d(0xc9)]=class extends _0x51c300[_0x17d35d(0x2dd)]{constructor(_0x2e88eb,_0x5b8b8f,_0x435d37){const _0x20f8d6=_0x17d35d;super(),this[_0x20f8d6(0xa5)]=_0x2e88eb,this[_0x20f8d6(0x340)]=_0x5b8b8f,this[_0x20f8d6(0xdf)]=_0x435d37;}async[_0x17d35d(0x359)](_0x257cc3,_0x258db1,_0x81c821,..._0x5d9e44){const _0x1537d0=_0x17d35d;var _0x4299ba,_0xaddbe6,_0xca6b81,_0x2cbf66;const _0x2982f4=this[_0x1537d0(0xa5)][_0x1537d0(0x224)]();if(!_0x2982f4)throw new Error(_0x1537d0(0x1e9));const _0x2dcadd=((_0x4299ba=this['_configService'][_0x1537d0(0x22d)](_0x1fb0d5[_0x1537d0(0x24d)]))!=null?_0x4299ba:_0x1fb0d5[_0x1537d0(0x147)])+'/'+_0x257cc3+_0x1537d0(0x2af)+_0x258db1,_0x3e7a74=new URL(window[_0x1537d0(0x121)][_0x1537d0(0x260)]),_0x40ef19={'scriptId':_0x257cc3,'runId':(_0xaddbe6=_0x3e7a74[_0x1537d0(0x1e5)][_0x1537d0(0x16c)](_0x1537d0(0x34e)))!=null?_0xaddbe6:'','function':_0x258db1,'unitId':_0x2982f4['getUnitId'](),'argsOfFunction':JSON[_0x1537d0(0x210)](_0x5d9e44),'invokeId':(_0xca6b81=_0x81c821[_0x1537d0(0x277)])!=null?_0xca6b81:'','executionId':(_0x2cbf66=_0x81c821[_0x1537d0(0x18b)])!=null?_0x2cbf66:''};try{const _0x556d2b=await this[_0x1537d0(0x340)][_0x1537d0(0x24c)](_0x2dcadd,{'body':_0x40ef19});return _0x556d2b[_0x1537d0(0x32d)][_0x1537d0(0x96)]&&_0x556d2b[_0x1537d0(0x32d)]['error'][_0x1537d0(0x307)]!==_0x25292b['OK']?_0x1537d0(0x263):_0x556d2b['body'][_0x1537d0(0xf7)];}catch{return _0x1537d0(0x263);}}},_0x606468[_0x17d35d(0xc9)]=_0x2ea0b5([_0xa8b1b6(0x0,_0x51c300[_0x17d35d(0x181)]),_0xa8b1b6(0x1,_0x51c300['Inject'](_0x3f6e7a[_0x17d35d(0x16b)])),_0xa8b1b6(0x2,_0x51c300[_0x17d35d(0x32c)])],_0x606468[_0x17d35d(0xc9)]);const _0x2dcc94=0x7530,_0x2727e9=_0x17d35d(0x180);class _0x59543c extends _0x51c300[_0x17d35d(0x2dd)]{constructor(){const _0x2a4ea0=_0x17d35d;super(),_0x3a1755(this,'_id',_0x51c300['generateRandomId']()),_0x3a1755(this,_0x2a4ea0(0x2fd),new Set()),_0x3a1755(this,_0x2a4ea0(0xcf),new Map()),_0x3a1755(this,_0x2a4ea0(0xc7),null),_0x3a1755(this,_0x2a4ea0(0x1d1),new Map()),_0x3a1755(this,'_unitStatus',new Map()),this[_0x2a4ea0(0x323)]();}[_0x17d35d(0x1bb)](){const _0x171e26=_0x17d35d;super['dispose'](),this['_clearOtherTimers'][_0x171e26(0x23f)]((_0x3c190c,_0x170649)=>this[_0x171e26(0x2d1)](_0x170649)),this[_0x171e26(0xc7)]&&window[_0x171e26(0xfc)](this[_0x171e26(0xc7)]);}[_0x17d35d(0xb0)](_0x6b0fa5){const _0x5a8d19=_0x17d35d;return this['_ensureSubject'](_0x6b0fa5)[_0x5a8d19(0x28e)](_0x26ac39[_0x5a8d19(0x1c6)]());}['editingUnit'](_0x5df3cf){const _0x3d7a72=_0x17d35d;this[_0x3d7a72(0x2fd)][_0x3d7a72(0x200)]===0x0&&this[_0x3d7a72(0x19e)](),this[_0x3d7a72(0x2fd)]['add'](_0x5df3cf),this[_0x3d7a72(0x22f)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x5df3cf],'isForwarded':!0x1});}[_0x17d35d(0x303)](_0x17f681){const _0x2273c9=_0x17d35d;this[_0x2273c9(0x2fd)][_0x2273c9(0x296)](_0x17f681),this['_selfUnitIDs'][_0x2273c9(0x200)]===0x0&&this[_0x2273c9(0xc7)]&&window[_0x2273c9(0xfc)](this[_0x2273c9(0xc7)]);}[_0x17d35d(0x323)](){const _0x22ad25=_0x17d35d;this['disposeWithMe'](_0x51c300[_0x22ad25(0x1c4)](_0x26ac39[_0x22ad25(0x352)](window,_0x22ad25(0x20a))[_0x22ad25(0x2c8)](_0x39f6e8=>{const _0x39ff46=_0x22ad25;if(_0x39f6e8[_0x39ff46(0xef)]!==_0x2727e9||!_0x39f6e8[_0x39ff46(0x17e)])return;const _0x1534c4=JSON[_0x39ff46(0x357)](_0x39f6e8['newValue']);this[_0x39ff46(0x366)](_0x1534c4);}))),window['addEventListener'](_0x22ad25(0x133),()=>this[_0x22ad25(0x22f)]({'type':0x1,'memberID':this[_0x22ad25(0x109)],'unitIDs':Array[_0x22ad25(0x289)](this[_0x22ad25(0x2fd)])}));}['_handleEvent'](_0x1229b9){const _0x2ce2e=_0x17d35d;switch(_0x1229b9[_0x2ce2e(0x13f)]){case 0x0:this[_0x2ce2e(0x173)](_0x1229b9);break;case 0x1:this[_0x2ce2e(0x110)](_0x1229b9);break;case 0x2:this[_0x2ce2e(0x2d9)](_0x1229b9);break;}}[_0x17d35d(0x173)](_0x58f9d0){const _0x289cad=_0x17d35d,{unitIDs:_0x58b490,memberID:_0x30666d,isForwarded:_0x2b71e7}=_0x58f9d0;_0x58b490[_0x289cad(0x23f)](_0x8783b8=>{const _0x1e0a7c=_0x289cad;if(!_0x2b71e7&&this[_0x1e0a7c(0xcf)]['has'](_0x8783b8)&&this[_0x1e0a7c(0x12a)](_0x8783b8)['next'](_0x1fb0d5[_0x1e0a7c(0xe3)]['OTHER_CLIENTS_EDITING']),!this[_0x1e0a7c(0xcf)]['has'](_0x8783b8)||!this[_0x1e0a7c(0xcf)][_0x1e0a7c(0x16c)](_0x8783b8)[_0x1e0a7c(0x325)](_0x30666d)){const _0x5b973d=this['_unitOnClients'][_0x1e0a7c(0x16c)](_0x8783b8)||new Set();_0x5b973d['add'](_0x30666d),this[_0x1e0a7c(0xcf)][_0x1e0a7c(0x176)](_0x8783b8,_0x5b973d),this[_0x1e0a7c(0x2f2)](_0x30666d);}}),_0x2b71e7||this[_0x289cad(0x22f)]({'type':0x0,'memberID':this[_0x289cad(0x109)],'unitIDs':[...this[_0x289cad(0x2fd)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x15739b){const _0x26adfc=_0x17d35d;this[_0x26adfc(0x2d1)](_0x15739b);const _0x4c38b1=window[_0x26adfc(0x1cf)](()=>{const _0x56cb02=_0x26adfc;this['_unitOnClients'][_0x56cb02(0x23f)](_0x4ac6f3=>{_0x4ac6f3['delete'](_0x15739b);});},_0x2dcc94*0x2);this[_0x26adfc(0x1d1)]['set'](_0x15739b,_0x4c38b1);}['_removeClearOtherTimer'](_0x158462){const _0x43f4ca=_0x17d35d;if(this[_0x43f4ca(0x1d1)][_0x43f4ca(0x325)](_0x158462)){const _0x5f3fb7=this[_0x43f4ca(0x1d1)][_0x43f4ca(0x16c)](_0x158462);_0x5f3fb7&&window[_0x43f4ca(0x321)](_0x5f3fb7),this[_0x43f4ca(0x1d1)][_0x43f4ca(0x176)](_0x158462,null);}}[_0x17d35d(0x110)](_0xbea34b){const _0x7a45e3=_0x17d35d,{memberID:_0x4193f4,unitIDs:_0x2e7ef2}=_0xbea34b;_0x2e7ef2[_0x7a45e3(0x23f)](_0x1dbf65=>{const _0x391635=_0x7a45e3;var _0x3c7ccf;const _0x58983c=this[_0x391635(0xcf)][_0x391635(0x16c)](_0x1dbf65);_0x58983c&&(_0x58983c['delete'](_0x4193f4),(_0x3c7ccf=this[_0x391635(0x12a)](_0x1dbf65))==null||_0x3c7ccf[_0x391635(0x287)](_0x58983c[_0x391635(0x200)]===0x0?_0x1fb0d5[_0x391635(0xe3)][_0x391635(0x2ed)]:_0x1fb0d5[_0x391635(0xe3)][_0x391635(0x163)]));}),this['_removeClearOtherTimer'](_0x4193f4);}[_0x17d35d(0x2d9)](_0x5a2300){const _0x382b18=_0x17d35d;this[_0x382b18(0x2f2)](_0x5a2300[_0x382b18(0x123)]);}[_0x17d35d(0x22f)](_0x2352ce){const _0x42d4be=_0x17d35d;localStorage[_0x42d4be(0x233)](_0x2727e9,JSON[_0x42d4be(0x210)](_0x2352ce));}[_0x17d35d(0x19e)](){const _0x6bcffe=_0x17d35d;this[_0x6bcffe(0xc7)]=window[_0x6bcffe(0x166)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x2dcc94);}['_ensureSubject'](_0x50f621){const _0x4e16f4=_0x17d35d;return this[_0x4e16f4(0x184)][_0x4e16f4(0x325)](_0x50f621)||this[_0x4e16f4(0x184)][_0x4e16f4(0x176)](_0x50f621,new _0x26ac39[(_0x4e16f4(0xa6))](_0x1fb0d5[_0x4e16f4(0xe3)][_0x4e16f4(0x2ed)])),this['_unitStatus'][_0x4e16f4(0x16c)](_0x50f621);}}_0x606468['IURLService']=_0x1fcf33,_0x606468[_0x17d35d(0xd2)]=_0x424484,_0x606468[_0x17d35d(0x140)]=_0x59543c,_0x606468['WebURLService']=_0xdacd90,Object[_0x17d35d(0x1ee)](_0x606468,Symbol[_0x17d35d(0xaa)],{'value':'Module'});}));
|