@univerjs-pro/collaboration-client-ui 0.12.1 → 0.12.2-nightly.202511241159
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 _0x3674(){const _0x278f08=['font','_cachedData','mergeOverrideWithDependencies','range','unitId','_commandService','getConfig','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_setFormulaLimitStatus','_maxFormulaLimit','data','addHandlerCallback','children','YUUMI_URL_COL_OUT_OF_RANGE','black','application/json','SOCKET_FAILED_RETRY','origin','handleDeleteRangeMoveLeft','get','some','Inject','IUIPartsService','combineLatest','INVALID_INVITE_CODE','getCurrentSelections','handleDeleteRangeMoveUp','startRow','ENTITLE_INSUFFICIENT_QUOTA','width','_startSheetCollabCursor','_getMergeRange','_updateCollabCursors','disposeWithMe','getCoordByCell','RegularPolygon','_backgroundColor','_hover','setConfig','_checkAndWaitForCalculationPermission','href','_transformUndoRedoStack','IMessageService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','currentColor','_themeService','_showGuardMessage','assign','TOO_MANY_REQUESTS','urlChange$','getDocRanges','onRendered','_toggleOffline','UniverProCollaborationClient','_currentUsage','status$','FromArray','colorChannel1','/universer-api/license/formula/limit/status','white','reason','_scene','arc','transformIMECache','color','newValue','getSkeleton','roomMembers','rxjs/operators','_handleEvent','getOwnPropertyDescriptor','_checkCalculationAvailable','UniverDesign','HEADER_MENU','limitInfo','Error','ERROR_AGAIN','setParam','next','show','setInterval','Success','undoState','findNodePositionByCharIndex','path','LOCAL_CACHE_INTERVAL','RefRangeService','_dataLoaderService','replace','url(#on-line-icon_clip0_910_349)','85257ScLQcw','socket$','UniverRpc','getUnitId','...','disableLocalCache','disposeUnit','_entityInit$','handleMoveRange','UniverProCollaborationClientUi','_cursorShapes','join','drawWith','UniverEngineFormula','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','saveOfflineData','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','isTransformMutationsWithChangesetSuccess','onPointerMove$','_handleHover','LOGIN_TOKEN_PROCESSING_FAILED','delete','UNIVER_DOC','registerRefRange','find','YUUMI_NO_CUBOID_FOR_QUESTION','REDEMPTION_USER_REDEEM_TIMES_EXCEED','getUnit','_notificationService','ILocalCacheService','EMAIL_VERIFY_CODE_MISMATCH','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','_heartbeatTimer','mask','pipe','WebBrowserSingleActiveUnitService','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_onCursorUpdate','APPLY_REVISION_CONFILICT','DocStateChangeManagerService','_taskIds','Optional','subscribeEvent','INVITE_CODE_HAS_BEEN_UES','then','ICommandService','Injector','exhaustSavingTask','_anchor','DocSelectionManagerService','BrowserCollaborationSocketService','unsubscribe','_ensureSubject','toDisposable','_scheduleHeartbeat','_onCursorDelete','save','defs','getViewport','/universer-api/frontend/logs','YUUMI_ALL_TABLES_IS_INVALID','_collabCursorController','executeCommand','isArray','OTHER_CLIENTS_EDITING','CLOSE_ROOM','_initUnhandledRejectionListener','removeParam','M0\x200H16V16H0z','actions','size','SetWorksheetActivateCommand','fromEvent','operators','mapTo','CollaborationEvent','clearTimeout','values','YUUMI_SUBSCRIPTION_NOT_FOUND','[Unhandled\x20Rejection]:\x20','_registerRenderDependencies','843488HkKOmC','LOGIN_FAILED','switchMap','UniverUi','AWAITING','getMemberID','_session','NodePositionConvertToRectRange','toString','ENTITLE_DUP_SUBSCRIPTION','totalFormulasToCalculate','ENTITLE_NEED_BILLING_ADDRESS','_docTransformIMECacheService','replaceDocRanges','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_colorAssignService','dispose$','object','START_CALCULATION','requireSession','onLocalMutation','univer-mr-2\x20univer-flex\x20univer-text-xl','RECT','_docSkeletonManagerService','handleInsertRangeMoveRight','fillRule','onStarting','CollaborationSocketService','getformulaLimitStatusUrl','_pollingInterval','_initEvent','_anchorDot','CollaborationController','measureText','storage','LOCAL_CACHE_INTERVAL_KEY','idSuffix','[LogService\x20Error]:\x20','body','REDEMPTION_CODE_NOT_STARTED','_collabSessionService','LICENSE_MAX_UNITS_EXCEEDED','fillText','jsx','handleIRemoveRow','_instanceService','NodePositionConvertToCursor','lineTo','currentTheme$','TEXT','entityInit$','collabStatus.fetchMiss','isEditing','selection','jiqing.500','on-line-icon','@univerjs/core','IConfigService','_updateSubUnitFromURLParams','_entities','YUUMI_AI_RUN_FAILED','_textBubble','getMember','setShapeProps','takeUntil','_draw','UNDEFINED','filter','FETCH_MISS','random','evenodd','collab-client.tooltip.reconnect','@univerjs-pro/collaboration','top','/universer-api/license/formula/limit/start','length','INVALID_ARGUMENT','subscribe','complete','collaboration-client-ui.config','eventID','_initStatusComponent','collaboration.single-unit.warning','makeDirty','getCurrentRevOfUnit','1em','tag','getColor','_cursorInfo$','isFormulaString','string','assignAColorForMemberID','_getAnchorBounding','YUUMI_UNABLE_LOAD_URL','hovered','debug','DeleteRangeMoveUpCommandId','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','getRenderById','getCellPositionByOffset','collabStatus.notCollab','m2Prime','map','endRow','ENTITLE_CHAT_LIMIT_EXCEED','_imageIoService','getTypeOfUnitAdded$','set','includes','ACTIVE_UNIT_EVENT_CHANNEL','Tools','SetDocZoomRatioOperation','throttleTime','react/jsx-runtime','UnitStatus','transformMutation','none','_status$','searchParams','docStateChange$','parseInt','UniverCollaborationClientUIPlugin','_id','params','transformByState','CURRENT_STATUS_CANNOT_OPERATE','JOIN_ROOM_FAILED','code','_saveTaskMap','loadOfflineData','cursorInfo$','forwardRef','59345FmCrYi','DATA_SOURCE_TOO_LARGE','85806XGYiLX','split','_getScale','CollaborationDataLoaderController','setTimeout','_roomMembers$','roomMembers$','_docStateChangeManagerService','_eventUnsubscribe','location','ONLINE','Disposable','@univerjs/design','MOBILE_HAS_BEEN_BOUND','WECHAT_HAS_BEEN_BOUND','displayName','UNIVER_SHEET','unit','getSheetObject','debounce','2734VaCMpi','startsWith','sessionStatus$','endColumn','getItem','yellow.400','_configService','_memberService','NOT_FOUND','IURLService','IRemoteInstanceService','_monkeyPatchLogService','_getFormulaLimitStatus','REDEMPTION_CODE_FULLY_REDEEMED','SNAPSHOT_INVALID_SNAPSHOT','removeEventListener','getCurrent','cursorInfo','getCollabEntity$','transformSelections','@univerjs-pro/collaboration-client','_initCommandExecutedListener','Failed','MOBILE_VERIFY_CODE_MISMATCH','beginPath','triggerDblclick','getActiveSheet','MoveRangeCommandId','@univerjs/engine-formula','add','addEventListener','setStateCache','UniverIcon','LICENSE_DISTRO_REJECTED','green.600','_localeService','getVpScrollXYInfoByPosToVp','Rect','getLocalCacheKey','\x20at\x20','clipPath','YUUMI_RATE_OVER_LIMIT','DocSkeletonManagerService','getSheetId','REDEMPTION_INVALID_CODE','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_startDocCollabCursor','MessageType','div','INVITE_CODE_ALREADY_BOUND','_hideTimer','releaseFormulaLimitUrl','_toggleOnline','maxFormulaLimit','with','dispose','_unitOnClients','ITransformService','EMAIL_HAS_BEEN_BOUND','getColorFromTheme','session.will-retry','DocCollaborationEntity','handleInsertRow','memberID','collab-rect-range-','_collaborationController','useObservable','AUTHORIZE_CODE_ILLEGAL','_initStatusListener','handleInsertRangeMoveDown','saveImage','svg','_localStorageService','toRgbString','APPLY_DUPLICATED','USER_NOT_FOUND','RemoveRowCommandId','collabStatus.synced','_cursors','getStateCache','UniverSheets','_getSheetObject','_cursor','UniverProCollaboration','_transformHistoryAndStateStack','RxDisposable','search','getMergeData','BehaviorSubject','IRenderManagerService','Warning','blue.400','_render','formula.calculation.unable','_injector','bind','_clearPolling','exports','permission.title','@univerjs/docs-ui','handleIRemoveCol','deepClone','DesktopCollaborationStatusDisplayController','DEFAULT_WS_SESSION_TICKET_URL','_selfUnitIDs','catch','stringify','replaceState','rgba(255,\x20255,\x20255,\x200.01)','_handleJoinEvent','setAlpha','2211240mawCrz','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','HTTPService','onMouseMove','Shape','UniverEngineRender','off-line-icon','NOT_COLLAB','http://www.w3.org/2000/svg','useDependency','substring','editingUnit','_createSocketURL','ENTITLE_REPORT_LIMIT_EXCEED','0\x200\x2016\x2016','_updateURLWithCurrentState','subUnitId','post','DocIMEInputManagerService','_docClipboardService','clearInterval','SetFormulaCalculationStartMutation','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','setItem','[Window\x20Error]:\x20','bottom','runRefRangeMutations','330ZgUmQj','@univerjs/rpc','_labelPosition','redoState','0\x200\x2017\x2016','YUUMI_CONNECTOR_URL_NOT_FOUND','merge','clsx','saveTaskMap','row','getOffsetConfig','event$','_messageService','_hovered','OffLineIcon','moveTo','history','uni.network.url-service','_sheetSkeletonManagerService','getRangePointData','doc.mutation.rich-text-editing','_collaborationSessionService','registerComponent','_handleHeartbeatEvent','TEXT_RANGE_LAYER_INDEX','UniverDocs','unshift','on-line-icon_clip0_910_349','IUniverInstanceService','[CollaborationDataLoaderController]','22XnfkHs','PAYMENT_CHANNEL_NOT_SUPPORT','transformStateCache','InsertColCommandId','getFocusedUnit','syncEditingCollabCursor','functionsExecutedState','YUUMI_ASYNCIO_CANCELLED','onPointerEnter$','off-line-icon_clip0_910_343','_send','handleInsertCol','filename','_initWindowErrorListener','_refRangeService','debounceTime','skeleton','_syncEditingCollabCursorService','defIds','createSocket','_revisionService','resize','_init','APPLY_PERMISSION_DENIED','_initEntityListener','_releaseCalculationLimit','ranges','round','createElement','rxjs','COLORS','_collabCursorState$','EffectRefRangId','_localCacheService','_collaborationUIEventService','defineProperty','addObjects','LICENSE_IMPORT_SIZE_EXCEEDED','collaboration-client.offline-data-not-saved','PENDING','init','dirtyRanges','createIdentifier','getParam','sessionTicket','PERMISSION_DENIED','_setupSubUnitSync','UniverInstanceType','_initUserListener','runId','textRanges','ColorKit','_colorIndex','_lastResponseTimestamp','_initCommandInterceptor','_uiPartsService','attrs','@univerjs/sheets-ui','ILogService','_color','type','_shapes','contains','USER_IS_ANONYMOUS','getValue','REDEMPTION_USER_NOT_ELIGIBLE','INVITE_CODE_REQUIRED','getCellMatrix','trim','name','80fTBAiV','send','CollaborationUIEventService','_lastPointer','amd','text','OFFLINE','2658hQfSyJ','m1Prime','COMPLETION_FINISHED','Vector2','getAncestorScale','AWAITING_WITH_PENDING','SNAPSHOT_HAS_BEEN_REMOVED','?taskId=','onPointerLeave$','translate(.97)','_assignedColors','addClipboardHook','_initDependencies','_handleLeaveEvent','ENTITLE_CAN_NOT_BUY_LOWER_OTP','_drawTextRange','_disabled','createInstance','5047OKLFHy','_logService','registerDependencies','activeSheet$','shift','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','USER_NOT_INVITED_CODE','Subject','_onRefRangeChange','IDocClipboardService','_uploadLog','_renderManagerService','pushState','RemoteUniscriptService','fillStyle','getSheetBySheetId','ENSURE_SNAPSHOT_EXECUTION','runOnServer','formula.calculation.started','column','InsertRangeMoveRightCommandId','_scheduleClearOtherTimer','_setupBeforeClosingHandler','APPLY_NON_SEQUENTIAL_REVISION','red.300','error','ILocalStorageService','CONNECTOR_DATA_TOO_LARGE','onCommandExecuted','UniverSheetsUi','loadUnit','REDEMPTION_CODE_HAS_BEEN_CREATED','_drawRectRange','DOC_RANGE_TYPE','subunit','@univerjs/drawing','getUniverSheetInstance','ALREADY_EXISTS','url(#$1','RevisionService','INTERNAL_ERROR','has','addObject','collabStatus.conflict','ISnapshotServerService','_beforeCloseService','_memberID','imageSourceType','getCollabCursors$','CollaborationSessionService','React','executionId','reconnect','xlink:href','MemberService','purple.300','useCallback','getRelativeToViewportCoord','UniverDocsUi','_transformPreviousActiveRange','isActive','entries','_online','message','from','stageInfo','_refreshCollabCursors','PY_RUNTIME_SCRIPT_ERROR','INotificationService','327VmfBiz','forEach','_applyCommand','asObservable','/universer-api/license/formula/limit/done','_saveCache','getActiveRange','generateRandomId','_getSessionTicket','_removeCollabCursors','mutations','height','min','_drawAnchor','USERS_LEAVE','hide','CollaborationUIEventId','_univerInstanceService','#FFF','distinctUntilChanged','unitID','now','fill','restore','_urlService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','CollaborationStatus','CONFLICT','FormulaExecuteStageType','collabCursorState$','@univerjs/ui','FormulaExecutedStateType','_transformService','collabStatus.offline','REDEMPTION_CODE_INACTIVE','_removeClearOtherTimer','_initResize','_httpService','_startCalculationLimit','currentSkeleton$','transformMutationsWithChangeset','stack','InsertRangeMoveDownCommandId','_clearOtherTimers','SessionStatus','_updateLocalCursor','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','startColumn','transformRemoteChangeset','fromEventSubject','getUnitStatus$','VIEW_MAIN','source','_range','_name','UPDATE_CURSOR','APPLY_REJECT','push','/run/','UniverCollaborationClientPlugin','_getSaveTimeout','_docTransformStateCacheService','labelPosition','ThemeService','shareReplay','override','_config','Workbook','_doCreateSocket','_docSyncEditingCollabCursorService','_unitStatus','ISocketService','getTypeOfUnitDisposed$','_hasFormulaInDirtyRanges','isTransformMutationFailure','current','univer-flex\x20univer-items-center','_context','unhandledrejection'];_0x3674=function(){return _0x278f08;};return _0x3674();}function _0x3621(_0x3c01a0,_0x5b0b36){const _0x367459=_0x3674();return _0x3621=function(_0x362151,_0x411d0c){_0x362151=_0x362151-0x1ba;let _0x5baea0=_0x367459[_0x362151];return _0x5baea0;},_0x3621(_0x3c01a0,_0x5b0b36);}(function(_0x1fb1e3,_0xe6a074){const _0x158be5=_0x3621,_0x4d19f8=_0x1fb1e3();while(!![]){try{const _0x5f5d74=parseInt(_0x158be5(0x427))/0x1+parseInt(_0x158be5(0x43b))/0x2*(-parseInt(_0x158be5(0x2a7))/0x3)+-parseInt(_0x158be5(0x249))/0x4*(-parseInt(_0x158be5(0x425))/0x5)+-parseInt(_0x158be5(0x250))/0x6*(-parseInt(_0x158be5(0x262))/0x7)+-parseInt(_0x158be5(0x3a1))/0x8+-parseInt(_0x158be5(0x350))/0x9*(-parseInt(_0x158be5(0x1e5))/0xa)+parseInt(_0x158be5(0x203))/0xb*(-parseInt(_0x158be5(0x1c9))/0xc);if(_0x5f5d74===_0xe6a074)break;else _0x4d19f8['push'](_0x4d19f8['shift']());}catch(_0x3feb4c){_0x4d19f8['push'](_0x4d19f8['shift']());}}}(_0x3674,0x511bb),function(_0x4cc780,_0x271d09){const _0xb6337a=_0x3621;typeof exports==_0xb6337a(0x3b2)&&typeof module<'u'?_0x271d09(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[_0xb6337a(0x24d)]?define([_0xb6337a(0x1bb),_0xb6337a(0x412),_0xb6337a(0x44f),_0xb6337a(0x3d9),_0xb6337a(0x2c5),_0xb6337a(0x220),_0xb6337a(0x433),'react',_0xb6337a(0x1e6),'@univerjs/sheets','@univerjs/engine-render','@univerjs/network',_0xb6337a(0x1bd),_0xb6337a(0x285),_0xb6337a(0x3e9),'@univerjs/docs',_0xb6337a(0x457),_0xb6337a(0x33a),_0xb6337a(0x23c)],_0x271d09):(_0x4cc780=typeof globalThis<'u'?globalThis:_0x4cc780||self,_0x271d09(_0x4cc780[_0xb6337a(0x359)]={},_0x4cc780[_0xb6337a(0x294)],_0x4cc780[_0xb6337a(0x32b)],_0x4cc780['UniverCore'],_0x4cc780[_0xb6337a(0x3a4)],_0x4cc780[_0xb6337a(0x220)],_0x4cc780[_0xb6337a(0x33e)],_0x4cc780[_0xb6337a(0x294)],_0x4cc780[_0xb6337a(0x352)],_0x4cc780[_0xb6337a(0x48b)],_0x4cc780[_0xb6337a(0x1cf)],_0x4cc780['UniverNetwork'],_0x4cc780[_0xb6337a(0x29c)],_0x4cc780['UniverDrawing'],_0x4cc780[_0xb6337a(0x48e)],_0x4cc780[_0xb6337a(0x1fe)],_0x4cc780[_0xb6337a(0x35d)],_0x4cc780[_0xb6337a(0x220)][_0xb6337a(0x399)],_0x4cc780[_0xb6337a(0x27f)]));}(this,function(_0x8036c6,_0x56c279,_0x19f8d7,_0x3772e7,_0x2e0e04,_0x104804,_0x4d7604,_0x430ffc,_0x2bbe73,_0x235c42,_0x29b571,_0xe6cf6e,_0x7ab617,_0x331913,_0x116492,_0x37acc3,_0x4915ec,_0x568e97,_0x3e18f2){'use strict';const _0x513e05=_0x3621;var _0xcaddf5=Object['defineProperty'],_0x2b860e=(_0x38ba96,_0x1e448d,_0x54a2f2)=>_0x1e448d in _0x38ba96?_0xcaddf5(_0x38ba96,_0x1e448d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x54a2f2}):_0x38ba96[_0x1e448d]=_0x54a2f2,_0xfd5d9c=(_0xead01,_0x494ee9,_0x51d4aa)=>_0x2b860e(_0xead01,typeof _0x494ee9!='symbol'?_0x494ee9+'':_0x494ee9,_0x51d4aa);function _0x1e85c1({ref:_0xe86f5c,..._0x281e53}){const _0x2fbb59=_0x3621,{icon:_0x256f37,id:_0x139a09,className:_0x16071c,extend:_0x16e8a6,..._0x1742b8}=_0x281e53,_0x2efc03=('univerjs-icon\x20univerjs-icon-'+_0x139a09+'\x20'+(_0x16071c||''))[_0x2fbb59(0x247)](),_0xe32f61=_0x430ffc['useRef']('_'+_0x2fc302());return _0x35ac53(_0x256f37,''+_0x139a09,{'defIds':_0x256f37[_0x2fbb59(0x215)],'idSuffix':_0xe32f61[_0x2fbb59(0x2f2)]},{'ref':_0xe86f5c,'className':_0x2efc03,..._0x1742b8},_0x16e8a6);}function _0x35ac53(_0x5055ed,_0x20066b,_0x533f6d,_0x475994,_0x33ea58){const _0x13f0e2=_0x3621;return _0x430ffc[_0x13f0e2(0x21f)](_0x5055ed[_0x13f0e2(0x3f7)],{'key':_0x20066b,..._0x23eaeb(_0x5055ed,_0x533f6d,_0x33ea58),..._0x475994},(_0x2f85fd(_0x5055ed,_0x533f6d)[_0x13f0e2(0x302)]||[])[_0x13f0e2(0x407)]((_0x4475cf,_0x3eb428)=>_0x35ac53(_0x4475cf,_0x20066b+'-'+_0x5055ed[_0x13f0e2(0x3f7)]+'-'+_0x3eb428,_0x533f6d,void 0x0,_0x33ea58)));}function _0x23eaeb(_0x66bab,_0x5b02ec,_0x205b0f){const _0x5dbea4=_0x3621,_0xfc991a={..._0x66bab['attrs']};_0x205b0f!=null&&_0x205b0f['colorChannel1']&&_0xfc991a['fill']===_0x5dbea4(0x32f)&&(_0xfc991a[_0x5dbea4(0x2bd)]=_0x205b0f[_0x5dbea4(0x32f)]),_0x66bab[_0x5dbea4(0x3f7)]===_0x5dbea4(0x371)&&_0xfc991a['id']&&(_0xfc991a['id']=_0xfc991a['id']+_0x5b02ec[_0x5dbea4(0x3c5)]),Object[_0x5dbea4(0x29f)](_0xfc991a)[_0x5dbea4(0x2a8)](([_0xc860a7,_0x4e8672])=>{const _0x5a3e33=_0x5dbea4;_0xc860a7===_0x5a3e33(0x371)&&typeof _0x4e8672=='string'&&(_0xfc991a[_0xc860a7]=_0x4e8672[_0x5a3e33(0x34e)](/url\(#(.*)\)/,'url(#$1'+_0x5b02ec[_0x5a3e33(0x3c5)]+')'));});const {defIds:_0x3f4f08}=_0x5b02ec;return!_0x3f4f08||_0x3f4f08[_0x5dbea4(0x3ec)]===0x0||(_0x66bab[_0x5dbea4(0x3f7)]==='use'&&_0xfc991a[_0x5dbea4(0x297)]&&(_0xfc991a[_0x5dbea4(0x297)]=_0xfc991a['xlink:href']+_0x5b02ec[_0x5dbea4(0x3c5)]),Object[_0x5dbea4(0x29f)](_0xfc991a)[_0x5dbea4(0x2a8)](([_0x55b305,_0x4782d0])=>{const _0x3c18f6=_0x5dbea4;typeof _0x4782d0=='string'&&(_0xfc991a[_0x55b305]=_0x4782d0[_0x3c18f6(0x34e)](/url\(#(.*)\)/,_0x3c18f6(0x288)+_0x5b02ec[_0x3c18f6(0x3c5)]+')'));})),_0xfc991a;}function _0x2f85fd(_0x43d4f1,_0x33da0b){const _0x220a96=_0x3621;var _0x40f495;const {defIds:_0x1fd22d}=_0x33da0b;return!_0x1fd22d||_0x1fd22d[_0x220a96(0x3ec)]===0x0?_0x43d4f1:_0x43d4f1[_0x220a96(0x3f7)]==='defs'&&((_0x40f495=_0x43d4f1['children'])!=null&&_0x40f495[_0x220a96(0x3ec)])?{..._0x43d4f1,'children':_0x43d4f1[_0x220a96(0x302)]['map'](_0x569cdf=>typeof _0x569cdf[_0x220a96(0x23b)]['id']==_0x220a96(0x3fb)&&_0x1fd22d&&_0x1fd22d[_0x220a96(0x40d)](_0x569cdf[_0x220a96(0x23b)]['id'])?{..._0x569cdf,'attrs':{..._0x569cdf['attrs'],'id':_0x569cdf[_0x220a96(0x23b)]['id']+_0x33da0b[_0x220a96(0x3c5)]}}:_0x569cdf)}:_0x43d4f1;}function _0x2fc302(){const _0x563a4c=_0x3621;return Math[_0x563a4c(0x3e6)]()['toString'](0x24)[_0x563a4c(0x1d4)](0x2,0x8);}_0x1e85c1['displayName']=_0x513e05(0x45b);const _0x4503bd={'tag':_0x513e05(0x482),'attrs':{'xmlns':_0x513e05(0x1d2),'fill':_0x513e05(0x415),'viewBox':_0x513e05(0x1d8),'width':_0x513e05(0x3f6),'height':_0x513e05(0x3f6)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x513e05(0x35e),'strokeLinecap':_0x513e05(0x21e),'strokeLinejoin':_0x513e05(0x21e),'strokeWidth':1.2}}]},{'tag':_0x513e05(0x389),'attrs':{},'children':[{'tag':_0x513e05(0x463),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x513e05(0x34a),'attrs':{'fill':'white','d':_0x513e05(0x394)}}]}]}],'defIds':[_0x513e05(0x20c)]},_0x2f76b9=_0x430ffc[_0x513e05(0x424)](function(_0x523f19,_0x3c0fb9){const _0x17a5ab=_0x513e05;return _0x430ffc[_0x17a5ab(0x21f)](_0x1e85c1,Object[_0x17a5ab(0x325)]({},_0x523f19,{'id':_0x17a5ab(0x1d0),'ref':_0x3c0fb9,'icon':_0x4503bd}));});_0x2f76b9[_0x513e05(0x436)]=_0x513e05(0x1f3);const _0x1ede86={'tag':_0x513e05(0x482),'attrs':{'xmlns':_0x513e05(0x1d2),'fill':_0x513e05(0x415),'viewBox':_0x513e05(0x1e9),'width':_0x513e05(0x3f6),'height':_0x513e05(0x3f6)},'children':[{'tag':'g','attrs':{'clipPath':_0x513e05(0x34f)},'children':[{'tag':_0x513e05(0x34a),'attrs':{'stroke':_0x513e05(0x322),'d':_0x513e05(0x36f),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x513e05(0x200)},'children':[{'tag':_0x513e05(0x34a),'attrs':{'fill':_0x513e05(0x331),'d':_0x513e05(0x394),'transform':_0x513e05(0x259)}}]}]}],'defIds':[_0x513e05(0x200)]},_0x2b2972=_0x430ffc['forwardRef'](function(_0x2524a6,_0x3da9ee){const _0x3eb8fa=_0x513e05;return _0x430ffc[_0x3eb8fa(0x21f)](_0x1e85c1,Object[_0x3eb8fa(0x325)]({},_0x2524a6,{'id':_0x3eb8fa(0x3d8),'ref':_0x3da9ee,'icon':_0x1ede86}));});_0x2b2972[_0x513e05(0x436)]='OnLineIcon';function _0x187e4c(_0x5dc5c1){const _0x225b5e=_0x513e05;switch(_0x5dc5c1){case _0x19f8d7[_0x225b5e(0x2c1)][_0x225b5e(0x24f)]:return _0x225b5e(0x2c8);case _0x19f8d7['CollaborationStatus'][_0x225b5e(0x2c2)]:return _0x225b5e(0x28d);case _0x19f8d7['CollaborationStatus'][_0x225b5e(0x3e5)]:return _0x225b5e(0x3d4);case _0x19f8d7['CollaborationStatus'][_0x225b5e(0x1d1)]:return _0x225b5e(0x405);case _0x19f8d7[_0x225b5e(0x2c1)][_0x225b5e(0x3a5)]:case _0x19f8d7[_0x225b5e(0x2c1)][_0x225b5e(0x255)]:return'collabStatus.syncing';case _0x19f8d7[_0x225b5e(0x2c1)]['SYNCED']:case _0x19f8d7[_0x225b5e(0x2c1)][_0x225b5e(0x22a)]:return _0x225b5e(0x488);}}function _0x4e96ee(_0x4f1c5d){const _0x5c3840=_0x513e05,{status$:_0x4a8481}=_0x4f1c5d,_0x15936e=_0x2e0e04[_0x5c3840(0x47d)](_0x4a8481,_0x19f8d7[_0x5c3840(0x2c1)][_0x5c3840(0x1d1)]),_0x55af6a=_0x2e0e04[_0x5c3840(0x1d3)](_0x3772e7['LocaleService']),_0x41fd37=_0x2e0e04[_0x5c3840(0x1d3)](_0x19f8d7[_0x5c3840(0x293)]),_0x29a1e9=_0x15936e!==_0x19f8d7[_0x5c3840(0x2c1)][_0x5c3840(0x24f)],_0x384cc3=_0x55af6a['t'](_0x187e4c(_0x15936e)),_0x27a613=_0x29a1e9?_0x56c279[_0x5c3840(0x3cc)](_0x2b2972,{}):_0x56c279[_0x5c3840(0x3cc)](_0x2f76b9,{}),_0x41a943=_0x430ffc[_0x5c3840(0x29a)](()=>{const _0x18473c=_0x5c3840;_0x29a1e9||_0x41fd37[_0x18473c(0x296)]();},[_0x29a1e9,_0x41fd37]);function _0x1a1f00(){const _0x5bcaca=_0x5c3840;return _0x56c279['jsxs'](_0x5bcaca(0x46b),{'className':_0x5bcaca(0x2f3),'onClick':_0x41a943,'children':[_0x56c279[_0x5bcaca(0x3cc)](_0x5bcaca(0x46b),{'className':_0x4d7604[_0x5bcaca(0x1ec)](_0x5bcaca(0x3b6),{'univer-text-green-500':_0x29a1e9,'univer-text-red-500':!_0x29a1e9}),'children':_0x27a613}),_0x56c279[_0x5bcaca(0x3cc)]('div',{'className':_0x5bcaca(0x321),'children':_0x384cc3})]});}return _0x29a1e9?_0x1a1f00():_0x56c279[_0x5c3840(0x3cc)](_0x4d7604['Tooltip'],{'title':_0x55af6a['t'](_0x5c3840(0x3e8)),'children':_0x1a1f00()});}var _0x2094ef=Object['getOwnPropertyDescriptor'],_0x494b85=(_0x11ee00,_0x1401f2,_0x30c2b7,_0x1e5084)=>{const _0x2cb164=_0x513e05;for(var _0x2b82b1=_0x1e5084>0x1?void 0x0:_0x1e5084?_0x2094ef(_0x1401f2,_0x30c2b7):_0x1401f2,_0xa65337=_0x11ee00[_0x2cb164(0x3ec)]-0x1,_0x1bc7d6;_0xa65337>=0x0;_0xa65337--)(_0x1bc7d6=_0x11ee00[_0xa65337])&&(_0x2b82b1=_0x1bc7d6(_0x2b82b1)||_0x2b82b1);return _0x2b82b1;},_0x464ce5=(_0x81033f,_0x3b4167)=>(_0x2cdab2,_0x5420f9)=>_0x3b4167(_0x2cdab2,_0x5420f9,_0x81033f);_0x8036c6[_0x513e05(0x1c0)]=class extends _0x3772e7['Disposable']{constructor(_0x5765b9,_0x136f0e,_0x4068c3,_0x2d2709){const _0x2e8c02=_0x513e05;super(),_0xfd5d9c(this,_0x2e8c02(0x416),new _0x104804['BehaviorSubject'](_0x19f8d7[_0x2e8c02(0x2c1)][_0x2e8c02(0x1d1)])),(this['_univerInstanceService']=_0x5765b9,this[_0x2e8c02(0x499)]=_0x136f0e,this[_0x2e8c02(0x47c)]=_0x4068c3,this[_0x2e8c02(0x23a)]=_0x2d2709,this[_0x2e8c02(0x3f2)](),this[_0x2e8c02(0x47f)]());}[_0x513e05(0x47f)](){const _0x57bd4a=_0x513e05;this[_0x57bd4a(0x317)](this['_univerInstanceService']['focused$'][_0x57bd4a(0x372)](_0x104804[_0x57bd4a(0x3a3)](()=>{const _0x43c545=_0x57bd4a,_0x1e30fb=this[_0x43c545(0x2b8)][_0x43c545(0x207)]();return _0x1e30fb?this[_0x43c545(0x47c)][_0x43c545(0x44d)](_0x1e30fb[_0x43c545(0x353)]()):_0x104804['of'](null);}),_0x104804[_0x57bd4a(0x3a3)](_0x488c93=>_0x488c93?_0x488c93[_0x57bd4a(0x32d)]:_0x104804['of'](_0x19f8d7[_0x57bd4a(0x2c1)][_0x57bd4a(0x1d1)])))[_0x57bd4a(0x3ee)](_0xc16a43=>{const _0x2aa95d=_0x57bd4a;this[_0x2aa95d(0x416)][_0x2aa95d(0x344)](_0xc16a43);}));}['_initStatusComponent'](){const _0x2dea3f=_0x513e05;this[_0x2dea3f(0x317)](this[_0x2dea3f(0x23a)][_0x2dea3f(0x1fb)](_0x2e0e04['BuiltInUIPart'][_0x2dea3f(0x33f)],()=>_0x2e0e04['connectInjector'](_0x2382d0({'status$':this[_0x2dea3f(0x416)]['asObservable']()}),this[_0x2dea3f(0x499)])));}},_0x8036c6[_0x513e05(0x1c0)]=_0x494b85([_0x464ce5(0x0,_0x3772e7[_0x513e05(0x201)]),_0x464ce5(0x1,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['Injector'])),_0x464ce5(0x2,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7[_0x513e05(0x3c1)])),_0x464ce5(0x3,_0x2e0e04[_0x513e05(0x30c)])],_0x8036c6[_0x513e05(0x1c0)]);function _0x2382d0(_0x49756a){const {status$:_0x1230c2}=_0x49756a;return function(){const _0x49d3da=_0x3621;return _0x56c279[_0x49d3da(0x3cc)](_0x4e96ee,{'status$':_0x1230c2});};}const _0x2a7c11=_0x3772e7[_0x513e05(0x22d)](_0x513e05(0x1f6));var _0x2a8c15=Object[_0x513e05(0x33c)],_0x9e51a9=(_0x2045be,_0x3e035d,_0x272527,_0x3fd9c9)=>{const _0x277f32=_0x513e05;for(var _0x3f362a=_0x3fd9c9>0x1?void 0x0:_0x3fd9c9?_0x2a8c15(_0x3e035d,_0x272527):_0x3e035d,_0x92d593=_0x2045be[_0x277f32(0x3ec)]-0x1,_0x5a68b8;_0x92d593>=0x0;_0x92d593--)(_0x5a68b8=_0x2045be[_0x92d593])&&(_0x3f362a=_0x5a68b8(_0x3f362a)||_0x3f362a);return _0x3f362a;},_0x2978ea=(_0x304539,_0x59b503)=>(_0xe8af11,_0x253600)=>_0x59b503(_0xe8af11,_0x253600,_0x304539);_0x8036c6[_0x513e05(0x42a)]=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x45778c,_0x358d6d,_0x28b3d0,_0x51c18a,_0x8138e4){const _0x353388=_0x513e05;super(),this['_urlService']=_0x45778c,this[_0x353388(0x263)]=_0x358d6d,this[_0x353388(0x2fb)]=_0x28b3d0,this[_0x353388(0x34d)]=_0x51c18a,_0x8138e4?_0x8138e4==null||_0x8138e4['whenReady']()[_0x353388(0x37c)](()=>this[_0x353388(0x219)]()):(this[_0x353388(0x263)][_0x353388(0x400)](_0x353388(0x202),_0x353388(0x2d5)),this[_0x353388(0x219)]());}async[_0x513e05(0x219)](){const _0x56de9f=_0x513e05,_0x56a7f3=this[_0x56de9f(0x2bf)][_0x56de9f(0x22e)](_0x56de9f(0x438)),_0x473946=this[_0x56de9f(0x2bf)]['getParam'](_0x56de9f(0x23f)),_0x142dd3=this[_0x56de9f(0x2bf)][_0x56de9f(0x22e)](_0x56de9f(0x284));if(!_0x56a7f3||!_0x473946){this[_0x56de9f(0x263)][_0x56de9f(0x400)]('[CollaborationDataLoaderController]',_0x56de9f(0x2c0));return;}const _0x58b0bb=await this['_dataLoaderService'][_0x56de9f(0x280)](_0x56a7f3,Number(_0x473946),_0x142dd3);_0x58b0bb&&_0x58b0bb instanceof _0x3772e7[_0x56de9f(0x2ea)]&&this[_0x56de9f(0x231)](_0x58b0bb);}async[_0x513e05(0x231)](_0x3b3f13){const _0x2fbf3f=_0x513e05;await this[_0x2fbf3f(0x3db)](_0x3b3f13),_0x3b3f13[_0x2fbf3f(0x265)][_0x2fbf3f(0x372)](_0x104804[_0x2fbf3f(0x3e1)](this[_0x2fbf3f(0x3b1)]))[_0x2fbf3f(0x3ee)](_0x2e0f83=>{_0x2e0f83&&this['_updateURLWithCurrentState'](_0x2e0f83);}),this['_urlService'][_0x2fbf3f(0x327)][_0x2fbf3f(0x372)](_0x104804['takeUntil'](this[_0x2fbf3f(0x3b1)]))['subscribe'](()=>this[_0x2fbf3f(0x3db)](_0x3b3f13));}[_0x513e05(0x1d9)](_0x4e4eb9,_0x54e928=!0x1){const _0xda4e3d=_0x513e05,_0x14d73f=this[_0xda4e3d(0x2bf)][_0xda4e3d(0x22e)]('subunit');_0x4e4eb9[_0xda4e3d(0x466)]()!==_0x14d73f&&this[_0xda4e3d(0x2bf)][_0xda4e3d(0x343)]('subunit',_0x4e4eb9[_0xda4e3d(0x466)](),_0x54e928);}async['_updateSubUnitFromURLParams'](_0x570c4a){const _0x4d9a08=_0x513e05;var _0x28ed0a;const _0x21a133=this[_0x4d9a08(0x2bf)]['getParam'](_0x4d9a08(0x284));if(!_0x21a133||!_0x570c4a['getSheetBySheetId'](_0x21a133)){const _0x1d16e4=_0x570c4a['getUnhiddenWorksheets']()[0x0],_0x1dfc4f=_0x570c4a[_0x4d9a08(0x271)](_0x1d16e4);if(!_0x1dfc4f)return;this[_0x4d9a08(0x1d9)](_0x1dfc4f,!0x0),await this[_0x4d9a08(0x2fb)]['executeCommand'](_0x235c42['SetWorksheetActivateCommand']['id'],{'unitId':_0x570c4a[_0x4d9a08(0x353)](),'subUnitId':_0x1d16e4});return;}((_0x28ed0a=_0x570c4a[_0x4d9a08(0x455)]())==null?void 0x0:_0x28ed0a['getSheetId']())!==_0x21a133&&await this[_0x4d9a08(0x2fb)][_0x4d9a08(0x38e)](_0x235c42[_0x4d9a08(0x397)]['id'],{'unitId':_0x570c4a[_0x4d9a08(0x353)](),'subUnitId':_0x21a133});}},_0x8036c6['CollaborationDataLoaderController']=_0x9e51a9([_0x2978ea(0x0,_0x2a7c11),_0x2978ea(0x1,_0x3772e7[_0x513e05(0x23d)]),_0x2978ea(0x2,_0x3772e7[_0x513e05(0x37d)]),_0x2978ea(0x3,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7['DataLoaderService'])),_0x2978ea(0x4,_0x3772e7[_0x513e05(0x379)](_0x2bbe73[_0x513e05(0x445)]))],_0x8036c6['CollaborationDataLoaderController']);var _0x2f3241=Object[_0x513e05(0x33c)],_0x1690a9=(_0x4c479b,_0x153315,_0x3c453b,_0x4e500c)=>{for(var _0x1728f0=_0x4e500c>0x1?void 0x0:_0x4e500c?_0x2f3241(_0x153315,_0x3c453b):_0x153315,_0x3b98d0=_0x4c479b['length']-0x1,_0x15b740;_0x3b98d0>=0x0;_0x3b98d0--)(_0x15b740=_0x4c479b[_0x3b98d0])&&(_0x1728f0=_0x15b740(_0x1728f0)||_0x1728f0);return _0x1728f0;},_0x57947e=(_0x58e2f7,_0x3254f1)=>(_0x33a8b3,_0x1ca669)=>_0x3254f1(_0x33a8b3,_0x1ca669,_0x58e2f7);let _0x459a5d=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x501863,_0x142944){const _0x5d6d2a=_0x513e05;super(),this[_0x5d6d2a(0x1dd)]=_0x501863,this['_imageIoService']=_0x142944,this[_0x5d6d2a(0x219)]();}[_0x513e05(0x219)](){const _0x4f9da4=_0x513e05,_0x21901b=this;this[_0x4f9da4(0x317)](this[_0x4f9da4(0x1dd)][_0x4f9da4(0x25b)]({'onBeforePasteImage':async _0x3d26f6=>{const _0x47e041=_0x4f9da4,_0x794551=await _0x21901b[_0x47e041(0x40a)][_0x47e041(0x481)](_0x3d26f6);return _0x794551?{'source':_0x794551[_0x47e041(0x2db)],'imageSourceType':_0x794551[_0x47e041(0x291)]}:null;}}));}};_0x459a5d=_0x1690a9([_0x57947e(0x0,_0x7ab617[_0x513e05(0x26b)]),_0x57947e(0x1,_0x331913['IImageIoService'])],_0x459a5d);const _0x717805=[_0x513e05(0x299),_0x513e05(0x3d7),_0x513e05(0x45d),_0x513e05(0x27a),_0x513e05(0x496),_0x513e05(0x440)];class _0x2e3fbf extends _0x3772e7[_0x513e05(0x432)]{constructor(){const _0x34af51=_0x513e05;super(...arguments),_0xfd5d9c(this,_0x34af51(0x25a),new Map()),_0xfd5d9c(this,_0x34af51(0x237),0x0);}[_0x513e05(0x3fc)](_0x558af0){const _0x53e338=_0x513e05;if(this['_assignedColors'][_0x53e338(0x28b)](_0x558af0))return this['_assignedColors'][_0x53e338(0x309)](_0x558af0);const _0x3f5ea3=_0x717805[this[_0x53e338(0x237)]];return this[_0x53e338(0x237)]=(this[_0x53e338(0x237)]+0x1)%_0x717805[_0x53e338(0x3ec)],this['_assignedColors'][_0x53e338(0x40c)](_0x558af0,_0x3f5ea3),_0x3f5ea3;}}function _0x55ad25(_0x45ad1b){const _0x368891=_0x513e05;let _0x530a91='';for(const _0x1bcca1 of _0x45ad1b){const {startOffset:_0x520e82,endOffset:_0x3d2898,isActive:_0x57fa3b,rangeType:_0x8004e2,segmentId:_0x86d390,segmentPage:_0x323c2e}=_0x1bcca1;_0x530a91[_0x368891(0x3ec)]&&(_0x530a91+=','),_0x530a91+=_0x520e82+':'+_0x3d2898+':'+(_0x57fa3b?'1':'0')+':'+_0x8004e2+':'+_0x86d390+':'+_0x323c2e;}return _0x530a91;}function _0x4a02b9(_0x26dc9f){const _0x1e9471=_0x513e05,_0x27b7d0=_0x26dc9f[_0x1e9471(0x428)](','),_0x16df61=[];for(const _0x5c22ce of _0x27b7d0){const [_0x183f5f,_0x5f38e9,_0x4460a8,_0x978111,_0x575734,_0x255cfa]=_0x5c22ce[_0x1e9471(0x428)](':');_0x16df61[_0x1e9471(0x2e0)]({'startOffset':Number(_0x183f5f),'endOffset':Number(_0x5f38e9),'collapsed':_0x183f5f===_0x5f38e9,'isActive':_0x4460a8==='1','rangeType':_0x978111===_0x3772e7[_0x1e9471(0x283)][_0x1e9471(0x3d2)]?_0x3772e7[_0x1e9471(0x283)][_0x1e9471(0x3d2)]:_0x3772e7[_0x1e9471(0x283)]['RECT'],'segmentId':typeof _0x575734==_0x1e9471(0x3fb)?String(_0x575734):'','segmentPage':Number(_0x255cfa!=null?_0x255cfa:-0x1)});}return _0x16df61[_0x1e9471(0x30a)](_0x80c020=>_0x80c020[_0x1e9471(0x29e)])||(_0x16df61[0x0][_0x1e9471(0x29e)]=!0x0),_0x16df61;}class _0x39a103 extends _0x3772e7['RxDisposable']{constructor(){const _0x2be7c4=_0x513e05;super(...arguments),_0xfd5d9c(this,_0x2be7c4(0x222),new _0x104804['BehaviorSubject'](null)),_0xfd5d9c(this,_0x2be7c4(0x2c4),this['_collabCursorState$'][_0x2be7c4(0x2aa)]());}[_0x513e05(0x208)](_0x4a4aaf){const _0x3da5f1=_0x513e05,{unitID:_0x18a123,memberID:_0x31e19c,textRanges:_0x293cd9}=_0x4a4aaf,_0x17e69f=_0x55ad25(_0x293cd9);if(_0x17e69f==='')return;const _0x2b989b={'unitID':_0x18a123,'memberID':_0x31e19c,'selection':_0x17e69f};this[_0x3da5f1(0x222)][_0x3da5f1(0x344)](_0x2b989b);}}var _0x4df8b5=Object[_0x513e05(0x33c)],_0x3dc6b8=(_0x5180b3,_0x5368ea,_0x18eec2,_0x455016)=>{const _0x5f1d0a=_0x513e05;for(var _0x3b4fd6=_0x455016>0x1?void 0x0:_0x455016?_0x4df8b5(_0x5368ea,_0x18eec2):_0x5368ea,_0xef037e=_0x5180b3[_0x5f1d0a(0x3ec)]-0x1,_0x4f7316;_0xef037e>=0x0;_0xef037e--)(_0x4f7316=_0x5180b3[_0xef037e])&&(_0x3b4fd6=_0x4f7316(_0x3b4fd6)||_0x3b4fd6);return _0x3b4fd6;},_0x25e0f9=(_0x4b0ad0,_0x1ed3be)=>(_0x28f8be,_0x4e576c)=>_0x1ed3be(_0x28f8be,_0x4e576c,_0x4b0ad0);const _0x4cbf16=0x12c,_0x146e9e=0x64;let _0x49a88b=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x3430c6,_0x256f97,_0x26ea97,_0x33180d,_0x41d3d8,_0x5717fd,_0x159b8e,_0x28ddb8,_0x508f0b){const _0x377d97=_0x513e05;super(),_0xfd5d9c(this,_0x377d97(0x2a0),!0x1),_0xfd5d9c(this,_0x377d97(0x219),!0x1),_0xfd5d9c(this,_0x377d97(0x3f9),new _0x104804[(_0x377d97(0x493))](new Map())),_0xfd5d9c(this,_0x377d97(0x423),this['_cursorInfo$']['asObservable']()),_0xfd5d9c(this,_0x377d97(0x42c),new _0x104804[(_0x377d97(0x493))]([])),_0xfd5d9c(this,_0x377d97(0x42d),this[_0x377d97(0x42c)]['pipe'](_0x104804[_0x377d97(0x212)](_0x4cbf16))),_0xfd5d9c(this,'_updateLocalCursor',_0x3772e7[_0x377d97(0x43a)](_0x4c6972=>{const _0x4544ba=_0x377d97,_0x2c8cdc={'eventID':_0x116492['CollaborationEvent'][_0x4544ba(0x2de)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x4544ba(0x3a6)](),'selection':_0x55ad25(_0x4c6972)}};this[_0x4544ba(0x3a7)][_0x4544ba(0x24a)](_0x2c8cdc,this[_0x4544ba(0x2bb)]);},_0x146e9e)),(this[_0x377d97(0x2bb)]=_0x3430c6,this[_0x377d97(0x3a7)]=_0x256f97,this[_0x377d97(0x499)]=_0x26ea97,this[_0x377d97(0x3b0)]=_0x33180d,this[_0x377d97(0x442)]=_0x41d3d8,this['_syncEditingCollabCursorService']=_0x5717fd,this[_0x377d97(0x2c7)]=_0x159b8e,this['_univerInstanceService']=_0x28ddb8,this['_commandService']=_0x508f0b);}get[_0x513e05(0x44c)](){const _0x69693f=_0x513e05;return this[_0x69693f(0x3f9)][_0x69693f(0x243)]();}get[_0x513e05(0x339)](){const _0x23b53a=_0x513e05;return this[_0x23b53a(0x42c)][_0x23b53a(0x243)]();}[_0x513e05(0x472)](){const _0x2bdc7a=_0x513e05;super[_0x2bdc7a(0x472)](),this[_0x2bdc7a(0x3f9)][_0x2bdc7a(0x344)](new Map()),this[_0x2bdc7a(0x3f9)][_0x2bdc7a(0x3ef)](),this[_0x2bdc7a(0x42c)][_0x2bdc7a(0x344)]([]),this[_0x2bdc7a(0x42c)]['complete']();}[_0x513e05(0x22b)](){const _0x15c93a=_0x513e05;this[_0x15c93a(0x219)]||(this[_0x15c93a(0x219)]=!0x0,this['_session'][_0x15c93a(0x43d)][_0x15c93a(0x372)](_0x104804[_0x15c93a(0x3e1)](this[_0x15c93a(0x3b1)]))['subscribe'](_0x5b960c=>{const _0x503b7a=_0x15c93a;_0x5b960c===_0x19f8d7[_0x503b7a(0x2d3)]['ONLINE']?this[_0x503b7a(0x46f)]():this[_0x503b7a(0x32a)]();}),this[_0x15c93a(0x3a7)][_0x15c93a(0x1f0)][_0x15c93a(0x372)](_0x104804[_0x15c93a(0x3e1)](this[_0x15c93a(0x3b1)]))['subscribe'](_0x8727a8=>{const _0x39eb0b=_0x15c93a,_0x40f268=_0x8727a8['eventID'];_0x40f268===_0x116492[_0x39eb0b(0x39b)][_0x39eb0b(0x2de)]&&this[_0x39eb0b(0x375)](_0x8727a8),_0x40f268===_0x116492['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x8727a8);}),this[_0x15c93a(0x317)](this[_0x15c93a(0x2fb)][_0x15c93a(0x27e)](_0x172e26=>{const _0x26cff4=_0x15c93a,_0x1fc34b=_0x172e26[_0x26cff4(0x41c)];_0x1fc34b!=null&&this[_0x26cff4(0x2a0)]&&_0x172e26['id']===_0x37acc3['SetTextSelectionsOperation']['id']&&_0x1fc34b['unitId']===this[_0x26cff4(0x2bb)]&&_0x1fc34b[_0x26cff4(0x3d5)]===!0x1&&_0x1fc34b[_0x26cff4(0x21d)][_0x26cff4(0x3ec)]>0x0&&this[_0x26cff4(0x2d4)](_0x1fc34b[_0x26cff4(0x21d)]);})),this[_0x15c93a(0x214)][_0x15c93a(0x2c4)][_0x15c93a(0x372)](_0x104804[_0x15c93a(0x3e1)](this[_0x15c93a(0x3b1)]))[_0x15c93a(0x3ee)](_0x46c392=>{const _0x5584bd=_0x15c93a;if((_0x46c392==null?void 0x0:_0x46c392['unitID'])!==this[_0x5584bd(0x2bb)])return;const _0x2b5804={'eventID':_0x116492['CollaborationEvent'][_0x5584bd(0x2de)],'data':_0x46c392};this['_onCursorUpdate'](_0x2b5804);}),this[_0x15c93a(0x317)](this[_0x15c93a(0x2fb)][_0x15c93a(0x27e)](_0x265464=>{const _0x51df1a=_0x15c93a;if(_0x265464[_0x51df1a(0x41c)]==null)return;const _0x255346=_0x265464['params'];if(_0x265464['id']!==_0x37acc3['RichTextEditingMutation']['id']||_0x255346[_0x51df1a(0x2fa)]!==this['unitID'])return;const _0x52259b={'id':_0x51df1a(0x1f9),'params':_0x255346},_0x41ecf7=this[_0x51df1a(0x44c)];for(const [_0xa2d9f3,_0x38027f]of _0x41ecf7){const _0xb7d971={'id':_0x51df1a(0x1f9),'params':{'unitId':this[_0x51df1a(0x2bb)],'actions':null,'textRanges':_0x38027f[_0x51df1a(0x21d)]}},_0x379baa=this['_transformService'][_0x51df1a(0x414)](_0x52259b,_0xb7d971,!0x1);if(_0x116492['isTransformMutationFailure'](_0x379baa))throw _0x379baa[_0x51df1a(0x27b)];_0x41ecf7[_0x51df1a(0x40c)](_0xa2d9f3,{..._0x38027f,'ranges':_0x379baa[_0x51df1a(0x406)][_0x51df1a(0x41c)]['textRanges']});}queueMicrotask(()=>{const _0x16d919=_0x51df1a;this[_0x16d919(0x3f9)][_0x16d919(0x344)](_0x41ecf7);});})));}['_onCursorUpdate'](_0x3a88ac){const _0x27dd0b=_0x513e05;var _0x2b3dd5,_0x5063c4;const {memberID:_0x1d8101,selection:_0x17ce50}=_0x3a88ac['data'],_0x1c794c=_0x4a02b9(_0x17ce50),_0x90ab4a=(_0x5063c4=(_0x2b3dd5=this[_0x27dd0b(0x442)][_0x27dd0b(0x3df)](this[_0x27dd0b(0x2bb)],_0x1d8101))==null?void 0x0:_0x2b3dd5[_0x27dd0b(0x248)])!=null?_0x5063c4:'Unknown\x20user',_0x149026={'color':this[_0x27dd0b(0x3b0)][_0x27dd0b(0x3fc)](_0x1d8101),'name':_0x90ab4a,'ranges':_0x1c794c},_0x43f4ef=this['cursorInfo'];_0x43f4ef['set'](_0x1d8101,_0x149026),this[_0x27dd0b(0x3f9)][_0x27dd0b(0x344)](_0x43f4ef);}[_0x513e05(0x387)](_0x160718){const _0x310baf=_0x513e05,{memberID:_0x51e41d}=_0x160718['data'],_0x4c2462=this[_0x310baf(0x44c)];_0x4c2462['delete'](_0x51e41d),this[_0x310baf(0x3f9)]['next'](_0x4c2462);}['_toggleOnline'](){const _0x10249c=_0x513e05;var _0x162f73;if(this[_0x10249c(0x2a0)]=!0x0,((_0x162f73=this[_0x10249c(0x2b8)][_0x10249c(0x207)]())==null?void 0x0:_0x162f73[_0x10249c(0x353)]())!==this[_0x10249c(0x2bb)])return;const _0xc3f4fc=this[_0x10249c(0x499)][_0x10249c(0x309)](_0x37acc3[_0x10249c(0x381)])[_0x10249c(0x328)]();Array[_0x10249c(0x38f)](_0xc3f4fc)&&_0xc3f4fc[_0x10249c(0x3ec)]>0x0&&this[_0x10249c(0x2d4)](_0xc3f4fc);}[_0x513e05(0x32a)](){const _0x2b10c1=_0x513e05;this[_0x2b10c1(0x2a0)]=!0x1;}};_0x49a88b=_0x3dc6b8([_0x25e0f9(0x2,_0x3772e7[_0x513e05(0x30b)](_0x3772e7[_0x513e05(0x37e)])),_0x25e0f9(0x3,_0x3772e7[_0x513e05(0x30b)](_0x2e3fbf)),_0x25e0f9(0x4,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7[_0x513e05(0x298)])),_0x25e0f9(0x5,_0x3772e7['Inject'](_0x39a103)),_0x25e0f9(0x6,_0x116492[_0x513e05(0x474)]),_0x25e0f9(0x7,_0x3772e7[_0x513e05(0x201)]),_0x25e0f9(0x8,_0x3772e7[_0x513e05(0x37d)])],_0x49a88b);var _0x64f36b=Object['getOwnPropertyDescriptor'],_0x3a993e=(_0x151cea,_0x4b0a69,_0x4afa2a,_0x5a8be6)=>{const _0x5c4733=_0x513e05;for(var _0x4473e3=_0x5a8be6>0x1?void 0x0:_0x5a8be6?_0x64f36b(_0x4b0a69,_0x4afa2a):_0x4b0a69,_0x1391fc=_0x151cea[_0x5c4733(0x3ec)]-0x1,_0xc360d0;_0x1391fc>=0x0;_0x1391fc--)(_0xc360d0=_0x151cea[_0x1391fc])&&(_0x4473e3=_0xc360d0(_0x4473e3)||_0x4473e3);return _0x4473e3;},_0x62df0b=(_0x186208,_0x55bff6)=>(_0x41bb77,_0x5719d3)=>_0x55bff6(_0x41bb77,_0x5719d3,_0x186208);const _0xc589c4=0x12c,_0x3203fd=0x64,_0x12dbb7=()=>{let _0xe1419=[],_0x409f1f=!0x1;return _0x2736a1=>{_0xe1419['push'](_0x2736a1),_0x409f1f||(_0x409f1f=!0x0,setTimeout(()=>{_0xe1419['forEach'](_0x2819ef=>_0x2819ef()),_0xe1419=[],_0x409f1f=!0x1;}));};};let _0x42473b=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x16f045,_0x3c650b,_0x4d534c,_0x303e87,_0x522873,_0x387eb3,_0x17bdec,_0x4420db){const _0x541eee=_0x513e05;super(),_0xfd5d9c(this,_0x541eee(0x2a0),!0x1),_0xfd5d9c(this,_0x541eee(0x219),!0x1),_0xfd5d9c(this,_0x541eee(0x3f9),new _0x104804['BehaviorSubject'](new Map())),_0xfd5d9c(this,_0x541eee(0x423),this[_0x541eee(0x3f9)][_0x541eee(0x2aa)]()),_0xfd5d9c(this,_0x541eee(0x42c),new _0x104804[(_0x541eee(0x493))]([])),_0xfd5d9c(this,'roomMembers$',this[_0x541eee(0x42c)][_0x541eee(0x372)](_0x104804[_0x541eee(0x212)](_0xc589c4))),_0xfd5d9c(this,_0x541eee(0x2d4),_0x3772e7['debounce']((_0x1fdf56,_0x557a50)=>{const _0x125735=_0x541eee,_0x3e1cb5={'eventID':_0x116492[_0x125735(0x39b)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x125735(0x2bb)],'memberID':this[_0x125735(0x3a7)][_0x125735(0x3a6)](),'selection':_0x4915ec['serializeRangeWithSheet'](_0x1fdf56,_0x557a50['range'])}};this[_0x125735(0x3a7)][_0x125735(0x24a)](_0x3e1cb5,this[_0x125735(0x2bb)]);},_0x3203fd)),(this[_0x541eee(0x2bb)]=_0x16f045,this['_session']=_0x3c650b,this[_0x541eee(0x499)]=_0x4d534c,this[_0x541eee(0x3b0)]=_0x303e87,this['_memberService']=_0x522873,this[_0x541eee(0x2b8)]=_0x387eb3,this[_0x541eee(0x2fb)]=_0x17bdec,this[_0x541eee(0x211)]=_0x4420db);}get[_0x513e05(0x44c)](){return this['_cursorInfo$']['getValue']();}get[_0x513e05(0x339)](){const _0x182f6e=_0x513e05;return this[_0x182f6e(0x42c)][_0x182f6e(0x243)]();}[_0x513e05(0x472)](){const _0x49c1d1=_0x513e05;super[_0x49c1d1(0x472)](),this[_0x49c1d1(0x3f9)][_0x49c1d1(0x344)](new Map()),this[_0x49c1d1(0x3f9)][_0x49c1d1(0x3ef)](),this[_0x49c1d1(0x42c)][_0x49c1d1(0x344)]([]),this[_0x49c1d1(0x42c)][_0x49c1d1(0x3ef)]();}[_0x513e05(0x22b)](){const _0x5b4bd7=_0x513e05;this['_init']||(this[_0x5b4bd7(0x219)]=!0x0,this[_0x5b4bd7(0x3a7)]['sessionStatus$'][_0x5b4bd7(0x372)](_0x104804[_0x5b4bd7(0x3e1)](this[_0x5b4bd7(0x3b1)]))[_0x5b4bd7(0x3ee)](_0x1a2d05=>{const _0xa3aadc=_0x5b4bd7;_0x1a2d05===_0x19f8d7[_0xa3aadc(0x2d3)][_0xa3aadc(0x431)]?this['_toggleOnline']():this[_0xa3aadc(0x32a)]();}),this['_session'][_0x5b4bd7(0x1f0)]['pipe'](_0x104804[_0x5b4bd7(0x3e1)](this[_0x5b4bd7(0x3b1)]))['subscribe'](_0x5bf2fd=>{const _0x11ff6f=_0x5b4bd7,_0x29d45a=_0x5bf2fd[_0x11ff6f(0x3f1)];_0x29d45a===_0x116492[_0x11ff6f(0x39b)][_0x11ff6f(0x2de)]&&this[_0x11ff6f(0x375)](_0x5bf2fd),_0x29d45a===_0x116492[_0x11ff6f(0x39b)][_0x11ff6f(0x2b5)]&&this[_0x11ff6f(0x387)](_0x5bf2fd);}),this[_0x5b4bd7(0x26a)](),this['disposeWithMe'](this[_0x5b4bd7(0x2fb)][_0x5b4bd7(0x27e)](_0x4821d9=>{const _0x3dee1c=_0x5b4bd7;if(this[_0x3dee1c(0x2a0)]&&_0x4821d9['id']===_0x235c42['SetSelectionsOperation']['id']&&_0x4821d9[_0x3dee1c(0x41c)][_0x3dee1c(0x2fa)]===this[_0x3dee1c(0x2bb)]){const _0x1eb5c5=_0x4821d9[_0x3dee1c(0x41c)];this[_0x3dee1c(0x2d4)](_0x1eb5c5[_0x3dee1c(0x1da)],_0x1eb5c5['selections'][0x0]);}})));}[_0x513e05(0x375)](_0x25b34f){const _0x549ff1=_0x513e05;var _0x50bdfc,_0x25a8b3;const {memberID:_0x406214,selection:_0x326768}=_0x25b34f[_0x549ff1(0x300)],{sheetName:_0x5af176,range:_0x4c2bf9}=_0x4915ec['deserializeRangeWithSheet'](_0x326768),_0x1ca767={'name':(_0x25a8b3=(_0x50bdfc=this[_0x549ff1(0x442)][_0x549ff1(0x3df)](this['unitID'],_0x406214))==null?void 0x0:_0x50bdfc[_0x549ff1(0x248)])!=null?_0x25a8b3:'Unknown\x20user','range':this['_getMergeRange'](_0x5af176,_0x4c2bf9),'sheetID':_0x5af176,'color':this[_0x549ff1(0x3b0)]['assignAColorForMemberID'](_0x406214),'selection':_0x326768},_0x39f0a1=this['cursorInfo'];_0x39f0a1[_0x549ff1(0x40c)](_0x406214,_0x1ca767),this[_0x549ff1(0x3f9)][_0x549ff1(0x344)](_0x39f0a1);}[_0x513e05(0x387)](_0x464662){const _0x3b06cf=_0x513e05,{memberID:_0x525daf}=_0x464662[_0x3b06cf(0x300)],_0x60830e=this[_0x3b06cf(0x44c)];_0x60830e[_0x3b06cf(0x365)](_0x525daf),this[_0x3b06cf(0x3f9)][_0x3b06cf(0x344)](_0x60830e);}[_0x513e05(0x315)](_0x4fc43c,_0x2b01bd){const _0x53c8cf=_0x513e05;var _0x10f591,_0x4bb857;const _0x2a493d=(_0x4bb857=(_0x10f591=this[_0x53c8cf(0x2b8)][_0x53c8cf(0x286)](this[_0x53c8cf(0x2bb)]))==null?void 0x0:_0x10f591[_0x53c8cf(0x271)](_0x4fc43c))==null?void 0x0:_0x4bb857[_0x53c8cf(0x492)]();return(_0x2a493d==null?void 0x0:_0x2a493d[_0x53c8cf(0x368)](_0x516345=>_0x3772e7['Rectangle'][_0x53c8cf(0x241)](_0x516345,_0x2b01bd)))||_0x2b01bd;}[_0x513e05(0x26a)](){const _0x43f4c4=_0x513e05,_0x5be895=new _0x3772e7['DisposableCollection'](),_0x4aa4fb=_0x12dbb7(),_0xb69b68=()=>{const _0x5debf2=_0x3621;_0x5be895[_0x5debf2(0x472)]();const _0x13cd8b=(_0x49a93e,_0x436872,_0x52febc,_0x481ef8)=>{const _0x30043a=_0x5debf2;let _0x1a8ab7=[];switch(_0x49a93e['id']){case _0x235c42[_0x30043a(0x223)]['DeleteRangeMoveLeftCommandId']:{_0x1a8ab7=_0x235c42[_0x30043a(0x308)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x401)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x310)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x206)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x20e)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x2d1)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x480)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x276)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x3b9)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)]['InsertRowCommandId']:{_0x1a8ab7=_0x235c42[_0x30043a(0x479)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x456)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x358)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)]['RemoveColCommandId']:{_0x1a8ab7=_0x235c42[_0x30043a(0x1be)](_0x49a93e,_0x481ef8);break;}case _0x235c42[_0x30043a(0x223)][_0x30043a(0x487)]:{_0x1a8ab7=_0x235c42[_0x30043a(0x3cd)](_0x49a93e,_0x481ef8);break;}}const _0x16173e=_0x235c42[_0x30043a(0x1e4)](_0x1a8ab7,_0x481ef8),_0x4b6746=this[_0x30043a(0x44c)][_0x30043a(0x309)](_0x436872);if(_0x4b6746&&_0x16173e){const _0x30cbda={..._0x4b6746,'range':_0x16173e};this[_0x30043a(0x44c)][_0x30043a(0x40c)](_0x436872,_0x30cbda),_0x4aa4fb(()=>{const _0x5cd1ff=_0x30043a,_0x1e0e9a=this['_refRangeService'][_0x5cd1ff(0x367)](_0x16173e,_0x4dbc29=>(_0x1e0e9a[_0x5cd1ff(0x472)](),_0x13cd8b(_0x4dbc29,_0x436872,_0x52febc,_0x16173e)));_0x5be895['add'](_0x1e0e9a);});}return{'redos':[],'undos':[]};};this[_0x5debf2(0x44c)][_0x5debf2(0x2a8)]((_0x2d8721,_0x472e7a)=>{const _0x5a349d=_0x5debf2,{range:_0x3092e1,sheetID:_0x19b8f8}=_0x2d8721,_0x25d00f=this[_0x5a349d(0x211)][_0x5a349d(0x367)](_0x3092e1,_0x19ce1f=>(_0x25d00f[_0x5a349d(0x472)](),_0x13cd8b(_0x19ce1f,_0x472e7a,_0x19b8f8,_0x3092e1)));_0x5be895['add'](_0x25d00f);});};this[_0x43f4c4(0x317)](_0x3772e7[_0x43f4c4(0x385)](this[_0x43f4c4(0x3f9)][_0x43f4c4(0x3ee)](()=>{_0xb69b68();})));}[_0x513e05(0x46f)](){const _0xbdf5be=_0x513e05;var _0x58cdc3,_0x3deae2;if(this['_online']=!0x0,((_0x58cdc3=this[_0xbdf5be(0x2b8)][_0xbdf5be(0x207)]())==null?void 0x0:_0x58cdc3['getUnitId']())!==this[_0xbdf5be(0x2bb)])return;const _0x52e50f=(_0x3deae2=this['_injector'][_0xbdf5be(0x309)](_0x235c42['SheetsSelectionsService'])[_0xbdf5be(0x30f)]())==null?void 0x0:_0x3deae2[0x0],_0x476167=this['_univerInstanceService']['getCurrentUnitForType'](_0x3772e7['UniverInstanceType'][_0xbdf5be(0x437)])[_0xbdf5be(0x455)]();_0x52e50f&&_0x476167&&this[_0xbdf5be(0x2d4)](_0x476167[_0xbdf5be(0x466)](),_0x52e50f);}[_0x513e05(0x32a)](){const _0x467a81=_0x513e05;this[_0x467a81(0x2a0)]=!0x1;}};_0x42473b=_0x3a993e([_0x62df0b(0x2,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['Injector'])),_0x62df0b(0x3,_0x3772e7[_0x513e05(0x30b)](_0x2e3fbf)),_0x62df0b(0x4,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7[_0x513e05(0x298)])),_0x62df0b(0x5,_0x3772e7['IUniverInstanceService']),_0x62df0b(0x6,_0x3772e7[_0x513e05(0x37d)]),_0x62df0b(0x7,_0x3772e7[_0x513e05(0x30b)](_0x235c42[_0x513e05(0x34c)]))],_0x42473b);var _0x5dc3a1=Object[_0x513e05(0x33c)],_0x1ed3bf=(_0x2b2032,_0x4f2dbe,_0x25b904,_0xa3937e)=>{const _0x5d5bb5=_0x513e05;for(var _0x1e7001=_0xa3937e>0x1?void 0x0:_0xa3937e?_0x5dc3a1(_0x4f2dbe,_0x25b904):_0x4f2dbe,_0x23c4c7=_0x2b2032[_0x5d5bb5(0x3ec)]-0x1,_0x1b4516;_0x23c4c7>=0x0;_0x23c4c7--)(_0x1b4516=_0x2b2032[_0x23c4c7])&&(_0x1e7001=_0x1b4516(_0x1e7001)||_0x1e7001);return _0x1e7001;},_0x3b0807=(_0x5e6722,_0x2cf0e1)=>(_0xec3dd3,_0x17f663)=>_0x2cf0e1(_0xec3dd3,_0x17f663,_0x5e6722);let _0x2234d1=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x21b776,_0x1440f5,_0x40fa11){const _0x173aed=_0x513e05;super(),_0xfd5d9c(this,'_entities',new Map()),_0xfd5d9c(this,_0x173aed(0x357),new _0x104804[(_0x173aed(0x269))]()),(this[_0x173aed(0x2b8)]=_0x21b776,this[_0x173aed(0x499)]=_0x1440f5,this[_0x173aed(0x3c9)]=_0x40fa11,this[_0x173aed(0x219)]());}[_0x513e05(0x472)](){const _0x2d623f=_0x513e05;super[_0x2d623f(0x472)](),this['_entityInit$'][_0x2d623f(0x3ef)](),this[_0x2d623f(0x3dc)]['forEach'](_0x330c0a=>_0x330c0a[_0x2d623f(0x472)]());}[_0x513e05(0x292)](_0x3bbd6c){const _0x55379c=_0x513e05;return this['_entities']['has'](_0x3bbd6c)?this[_0x55379c(0x3dc)]['get'](_0x3bbd6c)[_0x55379c(0x423)]:this[_0x55379c(0x357)]['pipe'](_0x104804[_0x55379c(0x3e4)](_0x2aae8a=>_0x2aae8a['unitID']===_0x3bbd6c),_0x104804[_0x55379c(0x3a3)](_0x5864c8=>_0x5864c8[_0x55379c(0x423)]));}[_0x513e05(0x219)](){const _0x20879d=_0x513e05;this[_0x20879d(0x2b8)][_0x20879d(0x40b)](_0x3772e7[_0x20879d(0x232)][_0x20879d(0x437)])[_0x20879d(0x372)](_0x104804[_0x20879d(0x3e1)](this[_0x20879d(0x3b1)]))['subscribe'](async _0x579fce=>{const _0x5a0ff1=_0x20879d,_0x1cd7d5=_0x579fce['getUnitId'](),_0x77853b=await this[_0x5a0ff1(0x314)](_0x1cd7d5);this[_0x5a0ff1(0x357)][_0x5a0ff1(0x344)](_0x77853b),this[_0x5a0ff1(0x3dc)][_0x5a0ff1(0x40c)](_0x1cd7d5,_0x77853b);}),this[_0x20879d(0x2b8)][_0x20879d(0x40b)](_0x3772e7[_0x20879d(0x232)][_0x20879d(0x366)])[_0x20879d(0x372)](_0x104804[_0x20879d(0x3e1)](this['dispose$']))[_0x20879d(0x372)](_0x104804[_0x20879d(0x3e4)](_0xfe335f=>!_0xfe335f[_0x20879d(0x353)]()[_0x20879d(0x43c)]('__')))['subscribe'](async _0xf36c05=>{const _0x1311ef=_0x20879d,_0x106d92=_0xf36c05[_0x1311ef(0x353)](),_0x280553=await this['_startDocCollabCursor'](_0x106d92);this[_0x1311ef(0x357)][_0x1311ef(0x344)](_0x280553),this[_0x1311ef(0x3dc)][_0x1311ef(0x40c)](_0x106d92,_0x280553);}),_0x104804[_0x20879d(0x1eb)](this[_0x20879d(0x2b8)][_0x20879d(0x2ef)](_0x3772e7[_0x20879d(0x232)][_0x20879d(0x366)]),this[_0x20879d(0x2b8)][_0x20879d(0x2ef)](_0x3772e7[_0x20879d(0x232)][_0x20879d(0x437)]))[_0x20879d(0x372)](_0x104804[_0x20879d(0x3e1)](this[_0x20879d(0x3b1)]))[_0x20879d(0x3ee)](_0x19fe44=>{const _0x2c7ccc=_0x20879d,_0x3607a3=_0x19fe44[_0x2c7ccc(0x353)](),_0x1df31b=this[_0x2c7ccc(0x3dc)][_0x2c7ccc(0x309)](_0x3607a3);_0x1df31b&&(_0x1df31b[_0x2c7ccc(0x472)](),this[_0x2c7ccc(0x3dc)][_0x2c7ccc(0x365)](_0x3607a3));});}async[_0x513e05(0x314)](_0x563269){const _0x4a0783=_0x513e05,_0x112671=await this[_0x4a0783(0x3c9)][_0x4a0783(0x3b4)](_0x563269),_0x2f7275=this['_injector'][_0x4a0783(0x261)](_0x42473b,_0x563269,_0x112671);return _0x2f7275[_0x4a0783(0x22b)](),_0x2f7275;}async[_0x513e05(0x469)](_0x214d8c){const _0x4b747f=_0x513e05,_0x2023ed=await this[_0x4b747f(0x3c9)][_0x4b747f(0x3b4)](_0x214d8c),_0x3c416e=this['_injector'][_0x4b747f(0x261)](_0x49a88b,_0x214d8c,_0x2023ed);return _0x3c416e[_0x4b747f(0x22b)](),_0x3c416e;}};_0x2234d1=_0x1ed3bf([_0x3b0807(0x0,_0x3772e7[_0x513e05(0x201)]),_0x3b0807(0x1,_0x3772e7['Inject'](_0x3772e7[_0x513e05(0x37e)])),_0x3b0807(0x2,_0x3772e7['Inject'](_0x19f8d7['CollaborationSessionService']))],_0x2234d1);const _0x2d8fb8=0x14,_0x4ee5d3=0xc8,_0x1a82ee=0x4,_0x55e3cb=0x5;function _0x2b814f(_0x17c2de,_0x4e4f02){const _0x314e70=_0x513e05;let {radius:_0x5077e8,width:_0x49b425,height:_0x284619}=_0x4e4f02;_0x5077e8=_0x5077e8!=null?_0x5077e8:0x0,_0x49b425=_0x49b425!=null?_0x49b425:0x1e,_0x284619=_0x284619!=null?_0x284619:0x1e;let _0x4e62ac=0x0,_0x34772a=0x0,_0x5a1273=0x0;_0x4e62ac=_0x34772a=_0x5a1273=Math['min'](_0x5077e8,_0x49b425/0x2,_0x284619/0x2),_0x17c2de[_0x314e70(0x453)](),_0x17c2de[_0x314e70(0x1f4)](_0x4e62ac,0x0),_0x17c2de[_0x314e70(0x3d0)](_0x49b425-_0x34772a,0x0),_0x17c2de[_0x314e70(0x334)](_0x49b425-_0x34772a,_0x34772a,_0x34772a,Math['PI']*0x3/0x2,0x0,!0x1),_0x17c2de[_0x314e70(0x3d0)](_0x49b425,_0x284619-_0x5a1273),_0x17c2de['arc'](_0x49b425-_0x5a1273,_0x284619-_0x5a1273,_0x5a1273,0x0,Math['PI']/0x2,!0x1),_0x17c2de[_0x314e70(0x3d0)](0x0,_0x284619),_0x17c2de[_0x314e70(0x3d0)](0x0,_0x4e62ac),_0x17c2de[_0x314e70(0x334)](_0x4e62ac,_0x4e62ac,_0x4e62ac,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x17c2de['closePath'](),_0x4e4f02['fill']&&(_0x17c2de['save'](),_0x17c2de[_0x314e70(0x270)]=_0x4e4f02['fill'],_0x4e4f02[_0x314e70(0x3ba)]===_0x314e70(0x3e7)?_0x17c2de[_0x314e70(0x2bd)](_0x314e70(0x3e7)):_0x17c2de[_0x314e70(0x2bd)](),_0x17c2de[_0x314e70(0x2be)]());}class _0x1ebdbd extends _0x29b571[_0x513e05(0x1ce)]{constructor(_0x3ec316,_0x1f8f72){const _0x2a7592=_0x513e05;super(_0x3ec316,_0x1f8f72),_0xfd5d9c(this,'color'),_0xfd5d9c(this,_0x2a7592(0x24e)),(this['color']=_0x1f8f72==null?void 0x0:_0x1f8f72[_0x2a7592(0x336)],this[_0x2a7592(0x24e)]=_0x1f8f72==null?void 0x0:_0x1f8f72[_0x2a7592(0x24e)]);}static['drawWith'](_0x533679,_0x37c57e){const _0xabdeb1=_0x513e05,{text:_0x43fe14,color:_0x1b6bfa}=_0x37c57e;_0x533679[_0xabdeb1(0x388)](),_0x533679[_0xabdeb1(0x2f6)]=_0xabdeb1(0x360);const _0x57c439=_0x533679[_0xabdeb1(0x3c2)](_0x43fe14)[_0xabdeb1(0x313)],_0xb76790=Math[_0xabdeb1(0x2b3)](_0x57c439+0x2*_0x1a82ee,_0x4ee5d3);_0x2b814f(_0x533679,{'height':_0x2d8fb8,'radius':0x4,'width':_0xb76790,'fill':_0x1b6bfa}),_0x533679[_0xabdeb1(0x270)]=_0xabdeb1(0x2b9);const _0x14e1c6=_0x1a82ee,_0x23fc03=_0x2d8fb8-_0x55e3cb,_0x5ee7e5=_0x4ee5d3-0x2*_0x1a82ee;if(_0x57c439>_0x5ee7e5){let _0x3ad4ba='',_0x3f4796=0x0;for(const _0x7d3095 of _0x43fe14){const _0x5c8ab3=_0x533679[_0xabdeb1(0x3c2)](_0x7d3095)[_0xabdeb1(0x313)];if(_0x3f4796+_0x5c8ab3<=_0x5ee7e5-_0x533679[_0xabdeb1(0x3c2)](_0xabdeb1(0x354))['width'])_0x3ad4ba+=_0x7d3095,_0x3f4796+=_0x5c8ab3;else{_0x3ad4ba+=_0xabdeb1(0x354);break;}}_0x533679[_0xabdeb1(0x3cb)](_0x3ad4ba,_0x14e1c6,_0x23fc03);}else _0x533679['fillText'](_0x43fe14,_0x14e1c6,_0x23fc03);_0x533679[_0xabdeb1(0x2be)]();}[_0x513e05(0x3e2)](_0x375269){const _0xe7766d=_0x513e05;_0x1ebdbd[_0xe7766d(0x35c)](_0x375269,this);}}const _0x32883b='collab-text-anchor-',_0x51bf40='collab-text-range-',_0x474afd=_0x513e05(0x47b),_0x404681=0x6,_0x40e8c1=1.5,_0x136e3c=0x4,_0x104b0d=1.5,_0x551ba4=_0x513e05(0x1c6);class _0xe6a382{constructor(_0x3a76f4,_0x5bf1e5,_0x497eeb,_0x213938){const _0x2a0e42=_0x513e05;_0xfd5d9c(this,_0x2a0e42(0x240),[]),_0xfd5d9c(this,_0x2a0e42(0x380),null),_0xfd5d9c(this,_0x2a0e42(0x3de),null),_0xfd5d9c(this,_0x2a0e42(0x3c0),null),_0xfd5d9c(this,_0x2a0e42(0x46d),null),_0xfd5d9c(this,_0x2a0e42(0x42f),null),(this['_cursor']=_0x3a76f4,this[_0x2a0e42(0x333)]=_0x5bf1e5,this['_docSkeleton']=_0x497eeb,this['_document']=_0x213938,this[_0x2a0e42(0x497)]());}set[_0x513e05(0x31b)](_0x15b9f8){const _0x89e8f8=_0x513e05;_0x15b9f8?(this[_0x89e8f8(0x3c0)]&&this['_anchorDot'][_0x89e8f8(0x2b6)](),this[_0x89e8f8(0x3de)]&&this['_textBubble'][_0x89e8f8(0x345)]()):(this[_0x89e8f8(0x3c0)]&&this['_anchorDot']['show'](),this[_0x89e8f8(0x3de)]&&this['_textBubble'][_0x89e8f8(0x2b6)]());}[_0x513e05(0x472)](){const _0x29d28b=_0x513e05;for(const _0x3892a0 of this[_0x29d28b(0x240)])_0x3892a0[_0x29d28b(0x472)]();this['_textBubble']&&this[_0x29d28b(0x3de)][_0x29d28b(0x472)](),this[_0x29d28b(0x3c0)]&&this[_0x29d28b(0x3c0)][_0x29d28b(0x472)](),this[_0x29d28b(0x380)]&&this[_0x29d28b(0x380)][_0x29d28b(0x472)](),this[_0x29d28b(0x42f)]&&this[_0x29d28b(0x42f)]();}[_0x513e05(0x497)](){const _0x535f32=_0x513e05;var _0x1d5092;const {_docSkeleton:_0x326ec8,_document:_0x8a97c4}=this,{color:_0x130bb5,name:_0x4d1d4c,ranges:_0x2e8889}=this[_0x535f32(0x48d)],_0xe52f85=_0x8a97c4[_0x535f32(0x1ef)](),{docsLeft:_0x154a33,docsTop:_0x1d8d7c}=_0xe52f85,_0x2b713a=new _0x7ab617[(_0x535f32(0x3cf))](_0xe52f85,_0x326ec8);for(const {startOffset:_0x890178,endOffset:_0xd331bc,rangeType:_0x529d8b,segmentId:_0x4098f3,segmentPage:_0x54f6cb,collapsed:_0x383d2d,isActive:_0x13c2ee}of _0x2e8889){const _0x4b3b4e=_0x326ec8['findNodePositionByCharIndex'](_0x890178,!0x0,_0x4098f3,_0x54f6cb);let _0x3deb1b=_0x326ec8['findNodePositionByCharIndex'](_0xd331bc,!0x0,_0x4098f3,_0x54f6cb);if(_0x3deb1b==null&&(_0x3deb1b=_0x326ec8[_0x535f32(0x349)](_0xd331bc-0x1,!0x1,_0x4098f3,_0x54f6cb)),_0x13c2ee){const {contentBoxPointGroup:_0x2defa4}=_0x2b713a[_0x535f32(0x1f8)](_0x3deb1b,_0x3deb1b);if(_0x2defa4[_0x535f32(0x3ec)]===0x0)continue;this[_0x535f32(0x2b4)](_0x130bb5,_0x2defa4,_0x154a33,_0x1d8d7c,_0x4d1d4c),this['_eventUnsubscribe']=this[_0x535f32(0x363)]();}if(_0x4b3b4e&&_0x3deb1b){if(_0x529d8b===_0x3772e7['DOC_RANGE_TYPE'][_0x535f32(0x3b7)]){const _0x182a96=new _0x7ab617[(_0x535f32(0x3a8))](_0xe52f85,_0x326ec8),{pointGroup:_0xb0f904}=(_0x1d5092=_0x182a96[_0x535f32(0x1f8)](_0x4b3b4e,_0x3deb1b))!=null?_0x1d5092:{};if(_0xb0f904==null||_0xb0f904[_0x535f32(0x3ec)]===0x0)continue;this[_0x535f32(0x282)](_0x130bb5,_0xb0f904,_0x154a33,_0x1d8d7c);}else{if(!_0x383d2d){const {borderBoxPointGroup:_0x2d1d71}=_0x2b713a[_0x535f32(0x1f8)](_0x4b3b4e,_0x3deb1b);if(_0x2d1d71[_0x535f32(0x3ec)]===0x0)continue;this[_0x535f32(0x25f)](_0x130bb5,_0x2d1d71,_0x154a33,_0x1d8d7c);}}}}}[_0x513e05(0x2b4)](_0x48fb6d,_0x37181b,_0x135a11,_0x40c1a8,_0x458422){const _0x34bbe5=_0x513e05,_0x43fa79=this['_getAnchorBounding'](_0x37181b),{left:_0x2301c3,top:_0x3ce6bf,height:_0x833ae6}=_0x43fa79,_0x52170d=this[_0x34bbe5(0x429)](),_0x3c6373=_0x104b0d/_0x52170d,_0x28b6bf=new _0x29b571[(_0x34bbe5(0x460))](_0x32883b+_0x3772e7['generateRandomId'](_0x404681),{'left':_0x2301c3+_0x135a11-_0x3c6373,'top':_0x3ce6bf+_0x40c1a8,'height':_0x833ae6,'width':_0x40e8c1,'fill':_0x48fb6d||_0x29b571['getColor'](_0x3772e7['COLORS'][_0x34bbe5(0x304)],0x0),'strokeWidth':_0x3c6373,'stroke':_0x551ba4,'evented':!0x0});this[_0x34bbe5(0x380)]=_0x28b6bf,this['_scene'][_0x34bbe5(0x28c)](_0x28b6bf,_0x7ab617['TEXT_RANGE_LAYER_INDEX']);const _0x5e001c=new _0x29b571[(_0x34bbe5(0x460))](_0x32883b+_0x3772e7[_0x34bbe5(0x2ae)](_0x404681),{'left':_0x2301c3+_0x135a11-_0x3c6373,'top':_0x3ce6bf+_0x40c1a8-_0x136e3c/0x2,'height':_0x136e3c,'width':_0x136e3c,'fill':_0x48fb6d||_0x29b571[_0x34bbe5(0x3f8)](_0x3772e7['COLORS'][_0x34bbe5(0x304)],0x0),'strokeWidth':0x0,'stroke':_0x48fb6d||_0x29b571[_0x34bbe5(0x3f8)](_0x3772e7[_0x34bbe5(0x221)][_0x34bbe5(0x304)],0x0),'evented':!0x1});this[_0x34bbe5(0x3c0)]=_0x5e001c,this[_0x34bbe5(0x333)][_0x34bbe5(0x28c)](_0x5e001c,_0x7ab617[_0x34bbe5(0x1fd)]);const _0x312b09=new _0x1ebdbd(_0x32883b+_0x3772e7['generateRandomId'](_0x404681),{'left':_0x2301c3+_0x135a11-_0x3c6373,'top':_0x3ce6bf+_0x40c1a8-_0x2d8fb8,'text':_0x458422,'color':_0x48fb6d});this['_textBubble']=_0x312b09,this['_scene']['addObject'](_0x312b09,_0x7ab617[_0x34bbe5(0x1fd)]),this['_hover']=!0x1;}['_handleHover'](){const _0x358d32=_0x513e05,_0x2b8d64=this[_0x358d32(0x380)][_0x358d32(0x20b)]['subscribeEvent'](()=>{const _0x2a5a81=_0x358d32;this[_0x2a5a81(0x31b)]=!0x0;}),_0x2a9906=this['_anchor'][_0x358d32(0x258)]['subscribeEvent'](()=>{const _0x2ee4d3=_0x358d32;this[_0x2ee4d3(0x46d)]&&clearTimeout(this[_0x2ee4d3(0x46d)]),this[_0x2ee4d3(0x46d)]=setTimeout(()=>{const _0x7e5813=_0x2ee4d3;this[_0x7e5813(0x31b)]=!0x1;},0x7d0);});return()=>{const _0x4111f6=_0x358d32;_0x2b8d64[_0x4111f6(0x383)](),_0x2a9906[_0x4111f6(0x383)]();};}[_0x513e05(0x25f)](_0x2aed28,_0x5f472e,_0x1e0e42,_0x2fbba8){const _0x508fb2=_0x513e05,_0x11c010=new _0x3772e7['ColorKit'](_0x2aed28)[_0x508fb2(0x1c8)](0.2)[_0x508fb2(0x484)](),_0x552c01=new _0x29b571[(_0x508fb2(0x319))](_0x51bf40+_0x3772e7['generateRandomId'](_0x404681),{'pointsGroup':_0x5f472e,'fill':_0x11c010||_0x29b571[_0x508fb2(0x3f8)](_0x3772e7[_0x508fb2(0x221)][_0x508fb2(0x304)],0.2),'left':_0x1e0e42,'top':_0x2fbba8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x508fb2(0x240)][_0x508fb2(0x2e0)](_0x552c01),this['_scene'][_0x508fb2(0x28c)](_0x552c01,_0x7ab617[_0x508fb2(0x1fd)]);}[_0x513e05(0x282)](_0x11f0bf,_0x2e5dc,_0x45b373,_0x5e4286){const _0x35729f=_0x513e05,_0x328aad=new _0x3772e7[(_0x35729f(0x236))](_0x11f0bf)['setAlpha'](0.2)[_0x35729f(0x484)](),_0x4e30cd=new _0x29b571[(_0x35729f(0x319))](_0x474afd+_0x3772e7[_0x35729f(0x2ae)](_0x404681),{'pointsGroup':_0x2e5dc,'fill':_0x328aad||_0x29b571[_0x35729f(0x3f8)](_0x3772e7['COLORS'][_0x35729f(0x304)],0.2),'left':_0x45b373,'top':_0x5e4286,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x35729f(0x240)]['push'](_0x4e30cd),this[_0x35729f(0x333)]['addObject'](_0x4e30cd,_0x7ab617['TEXT_RANGE_LAYER_INDEX']);}[_0x513e05(0x3fd)](_0x11e699){const _0x4e39fd=_0x11e699[0x0],_0x47c9db=_0x4e39fd[0x0],_0x14f768=_0x4e39fd[0x2],{x:_0x6fcd1e,y:_0x49469c}=_0x47c9db,{x:_0x106562,y:_0x3eb4b9}=_0x14f768;return{'left':_0x6fcd1e,'top':_0x49469c,'width':_0x106562-_0x6fcd1e,'height':_0x3eb4b9-_0x49469c};}['_getScale'](){const _0x283284=_0x513e05,{scaleX:_0x23a028,scaleY:_0x12e7eb}=this[_0x283284(0x333)][_0x283284(0x254)]();return Math['max'](_0x23a028,_0x12e7eb);}}var _0x318d1d=Object[_0x513e05(0x33c)],_0xfd50fd=(_0x12307b,_0x528f88,_0x5419b1,_0x4c881d)=>{const _0x50b167=_0x513e05;for(var _0x25484c=_0x4c881d>0x1?void 0x0:_0x4c881d?_0x318d1d(_0x528f88,_0x5419b1):_0x528f88,_0xdace3a=_0x12307b[_0x50b167(0x3ec)]-0x1,_0x5a3420;_0xdace3a>=0x0;_0xdace3a--)(_0x5a3420=_0x12307b[_0xdace3a])&&(_0x25484c=_0x5a3420(_0x25484c)||_0x25484c);return _0x25484c;},_0x1f5c41=(_0x384e79,_0x53c53d)=>(_0x4b594d,_0x14560f)=>_0x53c53d(_0x4b594d,_0x14560f,_0x384e79);let _0x4d05f1=class extends _0x3772e7['RxDisposable']{constructor(_0x2cafae,_0x90c3f6,_0x2fc4f,_0x280736,_0x315fca){const _0x29490f=_0x513e05;super(),_0xfd5d9c(this,_0x29490f(0x35a),[]),_0xfd5d9c(this,'_cursors',[]),(this['_context']=_0x2cafae,this[_0x29490f(0x3b8)]=_0x90c3f6,this[_0x29490f(0x38d)]=_0x2fc4f,this[_0x29490f(0x2fb)]=_0x280736,this[_0x29490f(0x323)]=_0x315fca,this[_0x29490f(0x219)]());}[_0x513e05(0x219)](){const _0x5f0dfe=_0x513e05,_0x588e68=this[_0x5f0dfe(0x2f4)][_0x5f0dfe(0x2fa)],_0x3557d2=this[_0x5f0dfe(0x3b8)];this[_0x5f0dfe(0x317)](_0x104804[_0x5f0dfe(0x30d)]([this[_0x5f0dfe(0x38d)]['getCollabCursors$'](_0x588e68),this[_0x5f0dfe(0x323)][_0x5f0dfe(0x3d1)]])[_0x5f0dfe(0x372)](_0x568e97[_0x5f0dfe(0x407)](([_0x1d325d,_0x1dbed5])=>({'skeleton':_0x3557d2['getSkeleton'](),'cursors':[..._0x1d325d[_0x5f0dfe(0x39d)]()]['flatMap'](_0x4fa6f2=>({..._0x4fa6f2,'color':this[_0x5f0dfe(0x323)][_0x5f0dfe(0x476)](_0x4fa6f2[_0x5f0dfe(0x336)])}))})))[_0x5f0dfe(0x3ee)](_0x3478b0=>{const _0x1e9d27=_0x5f0dfe;if(this[_0x1e9d27(0x2b0)](),_0x3478b0){const {skeleton:_0x155408,cursors:_0xee3ba7}=_0x3478b0;this[_0x1e9d27(0x316)](_0x155408,_0xee3ba7);}})),this[_0x5f0dfe(0x2cb)](),this[_0x5f0dfe(0x450)]();}[_0x513e05(0x316)](_0x420556,_0x14f122){const _0x4604c1=_0x513e05,{scene:_0x4a218c,mainComponent:_0x2ccdda}=this['_context'],_0x263af1=_0x14f122['map'](_0x3fb87c=>new _0xe6a382(_0x3fb87c,_0x4a218c,_0x420556,_0x2ccdda));this[_0x4604c1(0x35a)]=_0x263af1,this['_cursors']=_0x14f122;}[_0x513e05(0x2a4)](){const _0x5437c4=_0x513e05;this[_0x5437c4(0x2b0)]();const {scene:_0x1d80f5,mainComponent:_0x456d22}=this[_0x5437c4(0x2f4)],_0x57d739=this[_0x5437c4(0x3b8)][_0x5437c4(0x338)](),_0x10689d=this[_0x5437c4(0x489)][_0x5437c4(0x407)](_0x249b8a=>new _0xe6a382(_0x249b8a,_0x1d80f5,_0x57d739,_0x456d22));this[_0x5437c4(0x35a)]=_0x10689d;}['_removeCollabCursors'](){const _0x13d2d5=_0x513e05;this[_0x13d2d5(0x35a)][_0x13d2d5(0x2a8)](_0x150b4e=>_0x150b4e[_0x13d2d5(0x472)]()),this[_0x13d2d5(0x35a)]=[];}['_initCommandExecutedListener'](){const _0x320ca5=_0x513e05,_0x449bbe=[_0x7ab617[_0x320ca5(0x410)]['id']];this[_0x320ca5(0x317)](this['_commandService']['onCommandExecuted'](_0xf36dd0=>{const _0xa27884=_0x320ca5;_0x449bbe[_0xa27884(0x40d)](_0xf36dd0['id'])&&_0xf36dd0[_0xa27884(0x41c)]['unitId']===this['_context'][_0xa27884(0x2fa)]&&this[_0xa27884(0x2a4)]();}));}['_initResize'](){const _0x55ac46=_0x513e05;this[_0x55ac46(0x317)](_0x3772e7[_0x55ac46(0x2d8)](this[_0x55ac46(0x2f4)]['engine']['onTransformChange$'])[_0x55ac46(0x372)](_0x568e97[_0x55ac46(0x3e4)](_0x12e2d8=>_0x12e2d8[_0x55ac46(0x23f)]===_0x29b571['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x55ac46(0x218)]),_0x568e97[_0x55ac46(0x411)](0x10))['subscribe'](()=>{const _0x1e96d7=_0x55ac46;this[_0x1e96d7(0x2a4)]();}));}};_0x4d05f1=_0xfd50fd([_0x1f5c41(0x1,_0x3772e7['Inject'](_0x37acc3[_0x513e05(0x465)])),_0x1f5c41(0x2,_0x3772e7['Inject'](_0x2234d1)),_0x1f5c41(0x3,_0x3772e7['ICommandService']),_0x1f5c41(0x4,_0x3772e7[_0x513e05(0x30b)](_0x3772e7[_0x513e05(0x2e6)]))],_0x4d05f1);const _0x8ae3bd=0x1,_0x519199=1.5;class _0xc79a86 extends _0x29b571[_0x513e05(0x1ce)]{constructor(_0x39987c,_0xda71b0){const _0x43e7ef=_0x513e05;super(_0x39987c,_0xda71b0),_0xfd5d9c(this,'_color'),_0xfd5d9c(this,_0x43e7ef(0x1f2),!0x1),_0xfd5d9c(this,'_range'),_0xfd5d9c(this,'_name',''),_0xfd5d9c(this,'_labelPosition','top'),_0xfd5d9c(this,_0x43e7ef(0x31a)),(_0xda71b0&&this[_0x43e7ef(0x3e0)](_0xda71b0),this[_0x43e7ef(0x20b)][_0x43e7ef(0x37a)](()=>this[_0x43e7ef(0x3e0)]({'hovered':!0x0})),this['onPointerLeave$'][_0x43e7ef(0x37a)](()=>this[_0x43e7ef(0x3e0)]({'hovered':!0x1})));}['setShapeProps'](_0x3e8aaf){const _0x5d3463=_0x513e05;var _0x5b3bac,_0x426284,_0x4227f7,_0x29dc60,_0x33f5d8,_0x32e118;this[_0x5d3463(0x23e)]=(_0x5b3bac=_0x3e8aaf[_0x5d3463(0x336)])!=null?_0x5b3bac:this[_0x5d3463(0x23e)],this[_0x5d3463(0x1f2)]=(_0x426284=_0x3e8aaf[_0x5d3463(0x3ff)])!=null?_0x426284:this['_hovered'],this['_range']=(_0x4227f7=_0x3e8aaf[_0x5d3463(0x2f9)])!=null?_0x4227f7:this[_0x5d3463(0x2dc)],this[_0x5d3463(0x2dd)]=(_0x29dc60=_0x3e8aaf[_0x5d3463(0x248)])!=null?_0x29dc60:this['_name'],this[_0x5d3463(0x1e7)]=(_0x33f5d8=_0x3e8aaf[_0x5d3463(0x2e5)])!=null?_0x33f5d8:this[_0x5d3463(0x1e7)],this[_0x5d3463(0x31a)]=(_0x32e118=_0x3e8aaf['backgroundColor'])!=null?_0x32e118:this[_0x5d3463(0x31a)],this[_0x5d3463(0x41d)]({'width':_0x3e8aaf[_0x5d3463(0x313)],'height':_0x3e8aaf[_0x5d3463(0x2b2)]});}[_0x513e05(0x1cd)](_0x17432b){const _0xfd46d5=_0x513e05,{row:_0x2e1e51,column:_0x5b0463}=_0x17432b;if(_0x2e1e51>=this[_0xfd46d5(0x2dc)][_0xfd46d5(0x311)]&&_0x2e1e51<=this['_range'][_0xfd46d5(0x408)]&&_0x5b0463>=this[_0xfd46d5(0x2dc)][_0xfd46d5(0x2d6)]&&_0x5b0463<=this[_0xfd46d5(0x2dc)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0xfd46d5(0x3e0)]({'hovered':!0x1});}[_0x513e05(0x454)](_0x2057c2){return!0x1;}[_0x513e05(0x3e2)](_0x2213d7){const _0x1c80a3=_0x513e05;_0x29b571[_0x1c80a3(0x460)][_0x1c80a3(0x35c)](_0x2213d7,{'width':this['width'],'height':this[_0x1c80a3(0x2b2)],'strokeWidth':_0x519199,'stroke':this[_0x1c80a3(0x23e)],'evented':!0x1,'fill':this[_0x1c80a3(0x31a)]}),this[_0x1c80a3(0x1f2)]&&(_0x2213d7[_0x1c80a3(0x388)](),_0x2213d7['transform'](0x1,0x0,0x0,0x1,this[_0x1c80a3(0x313)],this[_0x1c80a3(0x1e7)]===_0x1c80a3(0x1e3)?0x0:-_0x2d8fb8),_0x1ebdbd['drawWith'](_0x2213d7,{'text':this[_0x1c80a3(0x2dd)],'color':this[_0x1c80a3(0x23e)]}),_0x2213d7['restore']());}}var _0x2e98ed=Object[_0x513e05(0x33c)],_0x21ad4b=(_0x40f8b9,_0x48fd6a,_0x51b62c,_0x108bef)=>{const _0x549863=_0x513e05;for(var _0x186b3f=_0x108bef>0x1?void 0x0:_0x108bef?_0x2e98ed(_0x48fd6a,_0x51b62c):_0x48fd6a,_0x51732f=_0x40f8b9[_0x549863(0x3ec)]-0x1,_0x5e49e9;_0x51732f>=0x0;_0x51732f--)(_0x5e49e9=_0x40f8b9[_0x51732f])&&(_0x186b3f=_0x5e49e9(_0x186b3f)||_0x186b3f);return _0x186b3f;},_0x22e80f=(_0x53ab7b,_0x146e27)=>(_0x2c5c27,_0x1cfac3)=>_0x146e27(_0x2c5c27,_0x1cfac3,_0x53ab7b);const _0x354c78=0x1389;let _0x4fc936=class extends _0x3772e7[_0x513e05(0x490)]{constructor(_0x31ee8c,_0x491daf,_0x70d571,_0x951809){const _0x7740ba=_0x513e05;super(),_0xfd5d9c(this,'_cursors',new Set()),_0xfd5d9c(this,_0x7740ba(0x24c),null),(this['_context']=_0x31ee8c,this[_0x7740ba(0x1f7)]=_0x491daf,this[_0x7740ba(0x38d)]=_0x70d571,this[_0x7740ba(0x323)]=_0x951809,this['_init']());}['_init'](){const _0x2c4811=_0x513e05;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x2c4811(0x372)](_0x568e97[_0x2c4811(0x3e1)](this[_0x2c4811(0x3b1)]),_0x568e97[_0x2c4811(0x3a3)](_0x5e7407=>{const _0x32580a=_0x2c4811;if(_0x5e7407){const _0x1c7166=_0x5e7407['sheetId'];return _0x104804[_0x32580a(0x30d)](this['_collabCursorController'][_0x32580a(0x292)](this[_0x32580a(0x2f4)][_0x32580a(0x2fa)]),this[_0x32580a(0x323)][_0x32580a(0x3d1)])['pipe'](_0x568e97[_0x32580a(0x407)](([_0x3fe3d7,_0x452339])=>{const _0x1b0b2f=_0x32580a,_0x5736f9=new Map();return _0x3fe3d7[_0x1b0b2f(0x2a8)]((_0x834c28,_0x3f43c2)=>{const _0x19f1fd=_0x1b0b2f;if(_0x834c28['sheetID']===_0x1c7166){const _0x3670ef={..._0x834c28};_0x3670ef['color']=this['_themeService']['getColorFromTheme'](_0x834c28[_0x19f1fd(0x336)]),_0x5736f9[_0x19f1fd(0x40c)](_0x3f43c2,_0x3670ef);}}),{'skeleton':_0x5e7407,'cursors':_0x5736f9};}));}return _0x104804['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x42bafc,cursors:_0x2a61ea})=>{const _0x43ed3d=_0x2c4811;this[_0x43ed3d(0x2b0)](),_0x42bafc&&this['_updateCollabCursors'](_0x42bafc,_0x2a61ea);}),this[_0x2c4811(0x1f7)][_0x2c4811(0x2ce)]['subscribe'](_0x2a8593=>{const _0x72553=_0x2c4811;if(_0x2a8593==null)return;const {skeleton:_0x35862e}=_0x2a8593,{scene:_0x2a6da1}=this['_context'];_0x2a6da1[_0x72553(0x362)][_0x72553(0x37a)](_0x3772e7[_0x72553(0x43a)](_0x20a506=>{const _0x1e5ff0=_0x72553;var _0x3dcbed,_0x3fa7d6;const {offsetX:_0x3a905c,offsetY:_0x4c480e}=_0x20a506,{x:_0x4cd532,y:_0x355cce}=_0x2a6da1[_0x1e5ff0(0x29b)](_0x29b571['Vector2'][_0x1e5ff0(0x32e)]([_0x3a905c,_0x4c480e])),{scaleX:_0x56d765,scaleY:_0x4bd465}=_0x2a6da1[_0x1e5ff0(0x254)](),_0x2bf5a9=_0x2a6da1[_0x1e5ff0(0x38a)](_0x29b571['SHEET_VIEWPORT_KEY'][_0x1e5ff0(0x2da)]),_0x50b788=_0x2a6da1[_0x1e5ff0(0x45f)](_0x29b571[_0x1e5ff0(0x253)][_0x1e5ff0(0x32e)]([_0x4cd532,_0x355cce]),_0x2bf5a9),_0x576aec=_0x35862e[_0x1e5ff0(0x404)](_0x3a905c,_0x4c480e,_0x56d765,_0x4bd465,_0x50b788);((_0x3dcbed=this[_0x1e5ff0(0x24c)])==null?void 0x0:_0x3dcbed['column'])===_0x576aec[_0x1e5ff0(0x275)]&&((_0x3fa7d6=this['_lastPointer'])==null?void 0x0:_0x3fa7d6['row'])===_0x576aec[_0x1e5ff0(0x1ee)]||this['_cursors'][_0x1e5ff0(0x2a8)](_0x103ccc=>{const _0xc34117=_0x1e5ff0;_0x103ccc[_0xc34117(0x1cd)](_0x576aec);});},0x64));});}['_updateCollabCursors'](_0x14c980,_0x15af29){const _0x204fa0=_0x513e05;var _0x4cbc01;const _0x684e3d=(_0x4cbc01=this[_0x204fa0(0x1f7)][_0x204fa0(0x44b)]())==null?void 0x0:_0x4cbc01[_0x204fa0(0x213)];if(!_0x684e3d)return;const _0x32757e=this[_0x204fa0(0x48c)]();if(!_0x32757e)return;this['_cursors'][_0x204fa0(0x2a8)](_0x22ca18=>{const _0x12d855=_0x204fa0;_0x22ca18[_0x12d855(0x3f4)]();});const {scene:_0x1d5bef}=_0x32757e,_0x3914ae=_0x56585e(Array[_0x204fa0(0x2a2)](_0x15af29['values']()))[_0x204fa0(0x407)](_0x2e68fa=>{const _0xe94795=_0x204fa0,{color:_0x37f57f,range:_0x25981e,name:_0x5bc598,selection:_0x40b755,sheetID:_0x12e2bf}=_0x2e68fa,{startColumn:_0x28a945,startRow:_0x2e7bfb,endColumn:_0x348f2a,endRow:_0x39fe65}=_0x25981e,_0x52c7f2=_0x3e18f2['getCoordByCell'](_0x2e7bfb,_0x28a945,_0x1d5bef,_0x684e3d),_0x72acba=_0x3e18f2[_0xe94795(0x318)](_0x39fe65,_0x348f2a,_0x1d5bef,_0x684e3d),{columnHeaderHeightAndMarginTop:_0x116240}=_0x684e3d,{startX:_0x3df4c0,startY:_0x45d3f2}=_0x52c7f2,{endX:_0x453f04,endY:_0x4cb7b6}=_0x72acba,_0x299809=_0x453f04-_0x3df4c0,_0x5a7d82=_0x4cb7b6-_0x45d3f2,_0x1577f4={'labelPosition':_0x45d3f2-_0x116240>=_0x2d8fb8?_0xe94795(0x3ea):_0xe94795(0x1e3),'sheetID':_0x12e2bf,'range':_0x25981e,'color':_0x37f57f,'name':_0x5bc598,'selection':_0x40b755,'left':_0x3df4c0,'top':_0x45d3f2,'width':_0x299809,'height':_0x5a7d82,'evented':!0x1,'zIndex':_0x354c78};return new _0xc79a86(_0x5bc598,_0x1577f4);});_0x1d5bef[_0x204fa0(0x227)](_0x3914ae,_0x8ae3bd),this[_0x204fa0(0x489)]=new Set(_0x3914ae);}[_0x513e05(0x2b0)](){const _0x1f1caf=_0x513e05;var _0x211c5a;(_0x211c5a=this[_0x1f1caf(0x489)])==null||_0x211c5a[_0x1f1caf(0x2a8)](_0x436720=>_0x436720[_0x1f1caf(0x472)]());}['_getSheetObject'](){const _0x43c1e3=_0x513e05;return _0x3e18f2[_0x43c1e3(0x439)](this[_0x43c1e3(0x2f4)][_0x43c1e3(0x438)],this['_context']);}};_0x4fc936=_0x21ad4b([_0x22e80f(0x1,_0x3772e7[_0x513e05(0x30b)](_0x3e18f2['SheetSkeletonManagerService'])),_0x22e80f(0x2,_0x3772e7[_0x513e05(0x30b)](_0x2234d1)),_0x22e80f(0x3,_0x3772e7[_0x513e05(0x30b)](_0x3772e7[_0x513e05(0x2e6)]))],_0x4fc936);function _0x56585e(_0x5de952){const _0x144b04=_0x513e05,_0x1de40c=new Map();return _0x5de952[_0x144b04(0x2a8)](_0x27ee28=>{const _0x197385=_0x144b04;if(_0x1de40c[_0x197385(0x28b)](_0x27ee28['selection'])){const _0x136060=_0x1de40c[_0x197385(0x309)](_0x27ee28[_0x197385(0x3d6)]);_0x136060[_0x197385(0x248)]+=',\x20'+_0x27ee28[_0x197385(0x248)];}else _0x1de40c[_0x197385(0x40c)](_0x27ee28[_0x197385(0x3d6)],_0x27ee28);}),Array[_0x144b04(0x2a2)](_0x1de40c[_0x144b04(0x39d)]());}var _0x1fc807=Object[_0x513e05(0x33c)],_0xeecbf1=(_0x78943f,_0x39e1df,_0x2bff15,_0x5ea7a7)=>{for(var _0x19dec1=_0x5ea7a7>0x1?void 0x0:_0x5ea7a7?_0x1fc807(_0x39e1df,_0x2bff15):_0x39e1df,_0x1667c4=_0x78943f['length']-0x1,_0x347ad5;_0x1667c4>=0x0;_0x1667c4--)(_0x347ad5=_0x78943f[_0x1667c4])&&(_0x19dec1=_0x347ad5(_0x19dec1)||_0x19dec1);return _0x19dec1;},_0x15f4ee=(_0x2e8f24,_0x5a61c4)=>(_0x11235b,_0x2ffb4e)=>_0x5a61c4(_0x11235b,_0x2ffb4e,_0x2e8f24);let _0x23daa2=class extends _0x3772e7['Disposable']{constructor(_0x1190a0,_0x37c60b,_0x39e3e9,_0x137925,_0x36bd2a,_0x25930d){const _0x2c0081=_0x513e05;super(),this[_0x2c0081(0x28f)]=_0x1190a0,this[_0x2c0081(0x224)]=_0x37c60b,this[_0x2c0081(0x225)]=_0x39e3e9,this[_0x2c0081(0x1f1)]=_0x137925,this[_0x2c0081(0x36c)]=_0x36bd2a,this[_0x2c0081(0x45e)]=_0x25930d,this[_0x2c0081(0x278)](),this[_0x2c0081(0x3bf)]();}[_0x513e05(0x278)](){const _0x5bcbd4=_0x513e05;this[_0x5bcbd4(0x317)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x18bb8a=_0x5bcbd4;if(this[_0x18bb8a(0x224)]['saveTaskMap'][_0x18bb8a(0x396)])return this[_0x18bb8a(0x45e)]['t'](_0x18bb8a(0x229));}));}[_0x513e05(0x3bf)](){const _0x3907d8=_0x513e05;this[_0x3907d8(0x317)](this['_collaborationUIEventService'][_0x3907d8(0x1f0)]['subscribe'](_0x293ccd=>{const _0xc22a3c=_0x3907d8;_0x293ccd['id']===_0x19f8d7['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0xc22a3c(0x1f1)]['show']({'type':_0x4d7604['MessageType'][_0xc22a3c(0x495)],'content':this[_0xc22a3c(0x45e)]['t'](_0xc22a3c(0x3f3))}),_0x293ccd['id']===_0x19f8d7['CollaborationUIEventId'][_0xc22a3c(0x391)]&&this[_0xc22a3c(0x1f1)][_0xc22a3c(0x345)]({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x495)],'content':this[_0xc22a3c(0x45e)]['t']('collaboration.closeRoom')}),_0x293ccd['id']===_0x19f8d7[_0xc22a3c(0x2b7)][_0xc22a3c(0x230)]&&this[_0xc22a3c(0x36c)]['show']({'title':this[_0xc22a3c(0x45e)]['t'](_0xc22a3c(0x1bc)),'content':this[_0xc22a3c(0x45e)]['t']('permission.content'),'type':_0xc22a3c(0x27b),'duration':0x0}),_0x293ccd['id']===_0x19f8d7[_0xc22a3c(0x2b7)][_0xc22a3c(0x2c2)]&&this['_messageService']['show']({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x341)],'content':this[_0xc22a3c(0x45e)]['t']('collaboration.closeRoom')+'('+_0x293ccd['data']+')'}),_0x293ccd['id']===_0x19f8d7[_0xc22a3c(0x2b7)][_0xc22a3c(0x41f)]&&this['_messageService'][_0xc22a3c(0x345)]({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x495)],'content':this[_0xc22a3c(0x45e)]['t'](_0x293ccd[_0xc22a3c(0x300)]||'')}),_0x293ccd['id']===_0x19f8d7['CollaborationUIEventId'][_0xc22a3c(0x306)]&&this[_0xc22a3c(0x1f1)][_0xc22a3c(0x345)]({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x495)],'content':this['_localeService']['t'](_0xc22a3c(0x477))}),_0x293ccd['id']===_0x19f8d7['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0xc22a3c(0x1f1)]['show']({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x341)],'content':this[_0xc22a3c(0x45e)]['t']('session.connection-failed')}),_0x293ccd['id']===_0x19f8d7['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0xc22a3c(0x1f1)]['show']({'type':_0x4d7604[_0xc22a3c(0x46a)][_0xc22a3c(0x341)],'content':this[_0xc22a3c(0x45e)]['t']('session.collaboration-timeout')});}));}};_0x23daa2=_0xeecbf1([_0x15f4ee(0x0,_0x2e0e04['IBeforeCloseService']),_0x15f4ee(0x1,_0x19f8d7[_0x513e05(0x36d)]),_0x15f4ee(0x2,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7[_0x513e05(0x24b)])),_0x15f4ee(0x3,_0x2e0e04[_0x513e05(0x320)]),_0x15f4ee(0x4,_0x2e0e04[_0x513e05(0x2a6)]),_0x15f4ee(0x5,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['LocaleService']))],_0x23daa2);var _0x41ee97=Object[_0x513e05(0x33c)],_0x42024e=(_0x37b62e,_0x488ab9,_0x3d8854,_0x496979)=>{const _0xfedb5c=_0x513e05;for(var _0x57ecf4=_0x496979>0x1?void 0x0:_0x496979?_0x41ee97(_0x488ab9,_0x3d8854):_0x488ab9,_0x33b252=_0x37b62e[_0xfedb5c(0x3ec)]-0x1,_0x2bec64;_0x33b252>=0x0;_0x33b252--)(_0x2bec64=_0x37b62e[_0x33b252])&&(_0x57ecf4=_0x2bec64(_0x57ecf4)||_0x57ecf4);return _0x57ecf4;},_0x207359=(_0x30a909,_0x9a48d7)=>(_0x5772db,_0x512a77)=>_0x9a48d7(_0x5772db,_0x512a77,_0x30a909);let _0x19eb72=class extends _0x3772e7[_0x513e05(0x432)]{constructor(_0x52e992,_0x1e788b,_0x360329,_0x22d765){const _0x14494c=_0x513e05;super(),_0xfd5d9c(this,'_memberID'),(this[_0x14494c(0x499)]=_0x52e992,this[_0x14494c(0x2cc)]=_0x1e788b,this['_logService']=_0x360329,this[_0x14494c(0x1fa)]=_0x22d765,this[_0x14494c(0x219)]());}[_0x513e05(0x219)](){const _0x368c0c=_0x513e05;this[_0x368c0c(0x210)](),this[_0x368c0c(0x392)](),this[_0x368c0c(0x446)](),this[_0x368c0c(0x233)]();}[_0x513e05(0x233)](){const _0x15130c=_0x513e05;this[_0x15130c(0x317)](this[_0x15130c(0x1fa)][_0x15130c(0x351)][_0x15130c(0x3ee)](_0x3fbdc5=>{const _0x33def3=_0x15130c;this['_memberID']=_0x3fbdc5==null?void 0x0:_0x3fbdc5[_0x33def3(0x47a)];}));}['_initWindowErrorListener'](){const _0x569f9c=_0x513e05,_0x308455=_0x38e438=>{const _0x4ac515=_0x3621;var _0x2a5251;this[_0x4ac515(0x26c)]('error',_0x4ac515(0x1e2)+_0x38e438[_0x4ac515(0x2a1)]+_0x4ac515(0x462)+_0x38e438[_0x4ac515(0x20f)]+':'+_0x38e438['lineno']+':'+_0x38e438['colno']+'\x0a'+(((_0x2a5251=_0x38e438['error'])==null?void 0x0:_0x2a5251[_0x4ac515(0x2d0)])||''));};window[_0x569f9c(0x459)](_0x569f9c(0x27b),_0x308455),this[_0x569f9c(0x317)](()=>{const _0x37a7cf=_0x569f9c;window[_0x37a7cf(0x44a)](_0x37a7cf(0x27b),_0x308455);});}[_0x513e05(0x392)](){const _0xf9499f=_0x513e05,_0x46caec=_0x43aeca=>{const _0x511d62=_0x3621;this[_0x511d62(0x26c)]('error',_0x511d62(0x39f)+_0x43aeca[_0x511d62(0x332)]);};window[_0xf9499f(0x459)](_0xf9499f(0x2f5),_0x46caec),this[_0xf9499f(0x317)](()=>{const _0x23fefe=_0xf9499f;window[_0x23fefe(0x44a)](_0x23fefe(0x2f5),_0x46caec);});}[_0x513e05(0x446)](){const _0x2da058=_0x513e05,_0x20f4c5=this['_logService'][_0x2da058(0x27b)][_0x2da058(0x49a)](this['_logService']);this['_logService'][_0x2da058(0x27b)]=(..._0x224570)=>{const _0x46e62e=_0x2da058,_0x18ba83=_0x224570[_0x46e62e(0x407)](_0x23b76f=>_0x23b76f instanceof Error?_0x23b76f[_0x46e62e(0x2a1)]+'\x0a'+_0x23b76f[_0x46e62e(0x2d0)]:String(_0x23b76f))[_0x46e62e(0x35b)]('\x20');this[_0x46e62e(0x26c)](_0x46e62e(0x27b),_0x46e62e(0x3c6)+_0x18ba83),_0x20f4c5(..._0x224570);},this[_0x2da058(0x317)](()=>{const _0x44f090=_0x2da058;this[_0x44f090(0x263)][_0x44f090(0x27b)]=_0x20f4c5;});}['_uploadLog'](_0x573d74,_0x290014){const _0x3b448b=_0x513e05;try{const _0x50c658={'userId':this[_0x3b448b(0x290)],'logLabel':_0x573d74,'content':_0x290014};this['_httpService'][_0x3b448b(0x1db)](_0x3b448b(0x38b),{'body':_0x50c658})[_0x3b448b(0x1c3)](()=>{});}catch{}}};_0x19eb72=_0x42024e([_0x207359(0x0,_0x3772e7[_0x513e05(0x30b)](_0x3772e7[_0x513e05(0x37e)])),_0x207359(0x1,_0x3772e7[_0x513e05(0x30b)](_0xe6cf6e[_0x513e05(0x1cc)])),_0x207359(0x2,_0x3772e7[_0x513e05(0x23d)]),_0x207359(0x3,_0x3772e7['Inject'](_0x19f8d7[_0x513e05(0x293)]))],_0x19eb72);const _0x2157a3=_0x513e05(0x3f0),_0x52c7c0={};var _0xf0dfb2=Object[_0x513e05(0x33c)],_0x33eddd=(_0x104115,_0xa508f9,_0x184bcd,_0x4cff1f)=>{const _0x4c6897=_0x513e05;for(var _0x10a093=_0x4cff1f>0x1?void 0x0:_0x4cff1f?_0xf0dfb2(_0xa508f9,_0x184bcd):_0xa508f9,_0x429611=_0x104115[_0x4c6897(0x3ec)]-0x1,_0x1fd8c9;_0x429611>=0x0;_0x429611--)(_0x1fd8c9=_0x104115[_0x429611])&&(_0x10a093=_0x1fd8c9(_0x10a093)||_0x10a093);return _0x10a093;},_0x23af59=(_0x2b0a14,_0x5f58e7)=>(_0x3a15df,_0x9d97cb)=>_0x5f58e7(_0x3a15df,_0x9d97cb,_0x2b0a14);let _0x32f42e=class{constructor(_0x2c17ab,_0x1d2a8d){const _0x1cc9a0=_0x513e05;this[_0x1cc9a0(0x2c7)]=_0x2c17ab,this['_renderManagerService']=_0x1d2a8d;}['transformIMECache'](_0xa4c095){const _0x4b1a16=_0x513e05;this[_0x4b1a16(0x31f)](_0xa4c095),this['_transformPreviousActiveRange'](_0xa4c095);}['transformRemoteChangeset'](_0x26bec9){const _0x42db4c=_0x513e05,{unitID:_0x4841e5}=_0x26bec9,_0x53b5d7=this[_0x42db4c(0x26d)][_0x42db4c(0x403)](_0x4841e5)[_0x42db4c(0x471)](_0x7ab617[_0x42db4c(0x1dc)]),{redoCache:_0x5ef349}=_0x53b5d7['getUndoRedoMutationParamsCache']();if(_0x5ef349[_0x42db4c(0x3ec)]===0x0)return _0x26bec9;let _0x38f1e1=_0x3772e7[_0x42db4c(0x40f)]['deepClone'](_0x26bec9[_0x42db4c(0x2b1)][0x0]);for(let _0x10804b=0x0;_0x10804b<_0x5ef349[_0x42db4c(0x3ec)];_0x10804b++){const _0x46d4d7={'id':'doc.mutation.rich-text-editing','params':{..._0x5ef349[_0x10804b]}},_0x1b86e5=this['_transformService'][_0x42db4c(0x414)](_0x38f1e1,_0x46d4d7,!0x1);if(_0x116492['isTransformMutationFailure'](_0x1b86e5))throw _0x1b86e5[_0x42db4c(0x27b)];_0x38f1e1=_0x1b86e5['m1Prime'];}return{..._0x3772e7[_0x42db4c(0x40f)][_0x42db4c(0x1bf)](_0x26bec9),'mutations':[_0x38f1e1]};}[_0x513e05(0x31f)](_0x4f76c0){const _0x133ee8=_0x513e05,{unitID:_0x3f5376}=_0x4f76c0,_0x51eff9=this[_0x133ee8(0x26d)]['getRenderById'](_0x3f5376)[_0x133ee8(0x471)](_0x7ab617['DocIMEInputManagerService']),{undoCache:_0x5ee065,redoCache:_0x50a9f5}=_0x51eff9['getUndoRedoMutationParamsCache']();if(_0x5ee065[_0x133ee8(0x3ec)]===0x0||_0x50a9f5[_0x133ee8(0x3ec)]===0x0)return;const _0x3560ce=[],_0x12c045=[];let _0x3cd3f8=_0x3772e7['Tools']['deepClone'](_0x4f76c0[_0x133ee8(0x2b1)][0x0]),_0x390471=_0x3772e7[_0x133ee8(0x40f)]['deepClone'](_0x4f76c0[_0x133ee8(0x2b1)][0x0]);for(let _0x216eb0=_0x5ee065[_0x133ee8(0x3ec)]-0x1;_0x216eb0>=0x0;_0x216eb0--){const _0x439b74={'id':'doc.mutation.rich-text-editing','params':{..._0x5ee065[_0x216eb0]}},_0x5df481={'id':_0x133ee8(0x1f9),'params':{..._0x50a9f5[_0x216eb0]}},_0x31e8bc=this[_0x133ee8(0x2c7)][_0x133ee8(0x414)](_0x3cd3f8,_0x439b74,!0x1),_0x36a01a=this[_0x133ee8(0x2c7)][_0x133ee8(0x414)](_0x390471,_0x5df481,!0x1);if(_0x116492['isTransformMutationFailure'](_0x31e8bc))throw _0x31e8bc[_0x133ee8(0x27b)];if(_0x116492[_0x133ee8(0x2f1)](_0x36a01a))throw _0x36a01a['error'];_0x3560ce[_0x133ee8(0x1ff)](_0x31e8bc[_0x133ee8(0x406)]['params']),_0x12c045['unshift'](_0x36a01a['m2Prime'][_0x133ee8(0x41c)]),_0x3cd3f8=_0x31e8bc[_0x133ee8(0x251)],_0x390471=_0x36a01a['m1Prime'];}_0x51eff9['setUndoRedoMutationParamsCache']({'undoCache':_0x3560ce,'redoCache':_0x12c045});}[_0x513e05(0x29d)](_0x2242fa){const _0x4d53ef=_0x513e05,{unitID:_0x248847}=_0x2242fa,_0x1f6ee3=this[_0x4d53ef(0x26d)][_0x4d53ef(0x403)](_0x248847)['with'](_0x7ab617[_0x4d53ef(0x1dc)]),_0x2a55de=_0x1f6ee3[_0x4d53ef(0x2ad)]();if(_0x2a55de==null)return;const _0x2adf75=[{'id':_0x4d53ef(0x1f9),'params':{'unitId':_0x2242fa[_0x4d53ef(0x2bb)],'actions':null,'textRanges':[_0x2a55de]}}],_0x209e7c=this['_transformService'][_0x4d53ef(0x2cf)](_0x2242fa,_0x2adf75);if(!_0x116492[_0x4d53ef(0x361)](_0x209e7c))throw _0x209e7c[_0x4d53ef(0x27b)];const _0xdb0ee9=_0x209e7c[_0x4d53ef(0x406)][0x0][_0x4d53ef(0x41c)]['textRanges'];Array[_0x4d53ef(0x38f)](_0xdb0ee9)&&_0xdb0ee9[_0x4d53ef(0x3ec)]&&_0x1f6ee3['setActiveRange'](_0xdb0ee9[0x0]);}};_0x32f42e=_0x33eddd([_0x23af59(0x0,_0x116492[_0x513e05(0x474)]),_0x23af59(0x1,_0x29b571[_0x513e05(0x494)])],_0x32f42e);var _0x3b59f6=Object[_0x513e05(0x33c)],_0x12dab7=(_0x313a01,_0x5ef9c0,_0x3c7bb4,_0x5bf269)=>{const _0x108720=_0x513e05;for(var _0x3fdc0c=_0x5bf269>0x1?void 0x0:_0x5bf269?_0x3b59f6(_0x5ef9c0,_0x3c7bb4):_0x5ef9c0,_0x1d6429=_0x313a01[_0x108720(0x3ec)]-0x1,_0x469c82;_0x1d6429>=0x0;_0x1d6429--)(_0x469c82=_0x313a01[_0x1d6429])&&(_0x3fdc0c=_0x469c82(_0x3fdc0c)||_0x3fdc0c);return _0x3fdc0c;},_0xd8c785=(_0x45d74c,_0x1207dd)=>(_0x59535c,_0x517d09)=>_0x1207dd(_0x59535c,_0x517d09,_0x45d74c);let _0x52ca15=class{constructor(_0x4e4225,_0x44835c,_0xf60d91){const _0x1c0d15=_0x513e05;this['_injector']=_0x4e4225,this[_0x1c0d15(0x2c7)]=_0x44835c,this[_0x1c0d15(0x42e)]=_0xf60d91;}[_0x513e05(0x205)](_0x26596f){const _0x4dd691=_0x513e05;this[_0x4dd691(0x48f)](_0x26596f);}[_0x513e05(0x2d7)](_0x2ef70a){const _0x3cd1ca=_0x513e05,{unitID:_0x2f9de0}=_0x2ef70a,{collaboration:_0x2162fb}=this[_0x3cd1ca(0x42e)][_0x3cd1ca(0x48a)](_0x2f9de0);if(_0x2162fb[_0x3cd1ca(0x3ec)]===0x0)return _0x2ef70a;let _0x48d3a5=_0x3772e7[_0x3cd1ca(0x40f)][_0x3cd1ca(0x1bf)](_0x2ef70a[_0x3cd1ca(0x2b1)][0x0]);for(let _0x508086=0x0;_0x508086<_0x2162fb[_0x3cd1ca(0x3ec)];_0x508086++){const _0x4b8f86={'id':_0x3cd1ca(0x1f9),'params':{'unitId':_0x2162fb[_0x508086][_0x3cd1ca(0x2fa)],..._0x2162fb[_0x508086][_0x3cd1ca(0x1e8)]}},_0x474ded=this[_0x3cd1ca(0x2c7)]['transformMutation'](_0x48d3a5,_0x4b8f86,!0x1);if(_0x116492['isTransformMutationFailure'](_0x474ded))throw _0x474ded[_0x3cd1ca(0x27b)];_0x48d3a5=_0x474ded[_0x3cd1ca(0x251)];}return{..._0x3772e7[_0x3cd1ca(0x40f)][_0x3cd1ca(0x1bf)](_0x2ef70a),'mutations':[_0x48d3a5]};}[_0x513e05(0x48f)](_0x328bae){const _0x1bd963=_0x513e05,{unitID:_0x160443}=_0x328bae,{history:_0x5732ea,collaboration:_0x2f6339}=this[_0x1bd963(0x42e)][_0x1bd963(0x48a)](_0x160443);if(_0x5732ea[_0x1bd963(0x3ec)]===0x0&&_0x2f6339[_0x1bd963(0x3ec)]===0x0)return;const _0xbb91a7=[],_0x5f37f0=[];let _0x239a6c=_0x3772e7[_0x1bd963(0x40f)]['deepClone'](_0x328bae['mutations'][0x0]),_0x4937ff=_0x3772e7[_0x1bd963(0x40f)][_0x1bd963(0x1bf)](_0x328bae[_0x1bd963(0x2b1)][0x0]);for(let _0x5a5c57=_0x5732ea['length']-0x1;_0x5a5c57>=0x0;_0x5a5c57--){const _0x248973={'id':_0x1bd963(0x1f9),'params':{'unitId':_0x5732ea[_0x5a5c57][_0x1bd963(0x2fa)],..._0x5732ea[_0x5a5c57][_0x1bd963(0x348)]}},_0x2705ae={'id':_0x1bd963(0x1f9),'params':{'unitId':_0x5732ea[_0x5a5c57][_0x1bd963(0x2fa)],..._0x5732ea[_0x5a5c57][_0x1bd963(0x1e8)]}},_0x1b6650=this['_transformService']['transformMutation'](_0x239a6c,_0x248973,!0x1),_0x2cf554=this[_0x1bd963(0x2c7)]['transformMutation'](_0x4937ff,_0x2705ae,!0x1);if(_0x116492[_0x1bd963(0x2f1)](_0x1b6650))throw _0x1b6650[_0x1bd963(0x27b)];if(_0x116492[_0x1bd963(0x2f1)](_0x2cf554))throw _0x2cf554[_0x1bd963(0x27b)];_0xbb91a7['unshift']({..._0x5732ea[_0x5a5c57],'undoState':_0x1b6650[_0x1bd963(0x406)][_0x1bd963(0x41c)],'redoState':_0x2cf554[_0x1bd963(0x406)][_0x1bd963(0x41c)]}),_0x239a6c=_0x1b6650[_0x1bd963(0x251)],_0x4937ff=_0x2cf554[_0x1bd963(0x251)];}_0x239a6c=_0x3772e7[_0x1bd963(0x40f)][_0x1bd963(0x1bf)](_0x328bae['mutations'][0x0]),_0x4937ff=_0x3772e7['Tools'][_0x1bd963(0x1bf)](_0x328bae[_0x1bd963(0x2b1)][0x0]);for(let _0x30bc1a=_0x2f6339[_0x1bd963(0x3ec)]-0x1;_0x30bc1a>=0x0;_0x30bc1a--){const _0x5f292e={'id':_0x1bd963(0x1f9),'params':{'unitId':_0x2f6339[_0x30bc1a][_0x1bd963(0x2fa)],..._0x2f6339[_0x30bc1a]['undoState']}},_0x4c1e8f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2f6339[_0x30bc1a]['unitId'],..._0x2f6339[_0x30bc1a][_0x1bd963(0x1e8)]}},_0x45beb4=this[_0x1bd963(0x2c7)][_0x1bd963(0x414)](_0x239a6c,_0x5f292e,!0x1),_0x141402=this[_0x1bd963(0x2c7)][_0x1bd963(0x414)](_0x4937ff,_0x4c1e8f,!0x1);if(_0x116492[_0x1bd963(0x2f1)](_0x45beb4))throw _0x45beb4['error'];if(_0x116492[_0x1bd963(0x2f1)](_0x141402))throw _0x141402['error'];_0x5f37f0['unshift']({..._0x2f6339[_0x30bc1a],'undoState':_0x45beb4['m2Prime']['params'],'redoState':_0x141402[_0x1bd963(0x406)]['params']}),_0x239a6c=_0x45beb4[_0x1bd963(0x251)],_0x4937ff=_0x141402[_0x1bd963(0x251)];}this[_0x1bd963(0x42e)][_0x1bd963(0x45a)](_0x160443,{'history':_0xbb91a7,'collaboration':_0x5f37f0});}};_0x52ca15=_0x12dab7([_0xd8c785(0x0,_0x3772e7[_0x513e05(0x30b)](_0x3772e7[_0x513e05(0x37e)])),_0xd8c785(0x1,_0x116492[_0x513e05(0x474)]),_0xd8c785(0x2,_0x3772e7['Inject'](_0x7ab617[_0x513e05(0x377)]))],_0x52ca15);var _0x1d2f37=Object[_0x513e05(0x33c)],_0x41b06b=(_0x3b3d9c,_0x59b8ec,_0xc8973b,_0x13f08e)=>{for(var _0x41f22f=_0x13f08e>0x1?void 0x0:_0x13f08e?_0x1d2f37(_0x59b8ec,_0xc8973b):_0x59b8ec,_0x4d993d=_0x3b3d9c['length']-0x1,_0x4cda86;_0x4d993d>=0x0;_0x4d993d--)(_0x4cda86=_0x3b3d9c[_0x4d993d])&&(_0x41f22f=_0x4cda86(_0x41f22f)||_0x41f22f);return _0x41f22f;},_0x91bd8d=(_0x55f2d8,_0x33b374)=>(_0x31a658,_0x155689)=>_0x33b374(_0x31a658,_0x155689,_0x55f2d8);let _0x348751=class{constructor(_0xb5396,_0x209445){const _0x2313e1=_0x513e05;this[_0x2313e1(0x499)]=_0xb5396,this[_0x2313e1(0x2c7)]=_0x209445;}['transformSelections'](_0x4afaeb){const _0x19872f=_0x513e05;var _0x18b48a;const _0x441051=this[_0x19872f(0x499)]['get'](_0x37acc3[_0x19872f(0x381)]),_0x50b347=(_0x18b48a=_0x441051['getDocRanges']())!=null?_0x18b48a:[];if(_0x50b347['length']===0x0)return;const _0xb419a7=_0x4afaeb[_0x19872f(0x2bb)],_0x2b80c6=[{'id':_0x19872f(0x1f9),'params':{'unitId':_0xb419a7,'actions':null,'textRanges':_0x50b347}}],_0x4f6127=this['_transformService'][_0x19872f(0x2cf)](_0x4afaeb,_0x2b80c6);if(!_0x116492['isTransformMutationsWithChangesetSuccess'](_0x4f6127))throw _0x4f6127[_0x19872f(0x27b)];const _0x1f1e71=_0x4f6127['m2Prime'][0x0][_0x19872f(0x41c)][_0x19872f(0x235)];Array[_0x19872f(0x38f)](_0x1f1e71)&&_0x1f1e71[_0x19872f(0x3ec)]&&_0x441051[_0x19872f(0x3ae)](_0x1f1e71,{'unitId':_0xb419a7,'subUnitId':_0xb419a7},!0x1);}};_0x348751=_0x41b06b([_0x91bd8d(0x0,_0x3772e7['Inject'](_0x3772e7[_0x513e05(0x37e)])),_0x91bd8d(0x1,_0x116492[_0x513e05(0x474)])],_0x348751);var _0x2cf5f3=Object[_0x513e05(0x33c)],_0x202b36=(_0x1b8a13,_0xc88c3f,_0x423485,_0xd4323d)=>{const _0x57551d=_0x513e05;for(var _0x5b47a8=_0xd4323d>0x1?void 0x0:_0xd4323d?_0x2cf5f3(_0xc88c3f,_0x423485):_0xc88c3f,_0x33157a=_0x1b8a13[_0x57551d(0x3ec)]-0x1,_0x4cc91f;_0x33157a>=0x0;_0x33157a--)(_0x4cc91f=_0x1b8a13[_0x33157a])&&(_0x5b47a8=_0x4cc91f(_0x5b47a8)||_0x5b47a8);return _0x5b47a8;},_0x2d0061=(_0x19bf0a,_0x457f1a)=>(_0x5a6727,_0xf2e10c)=>_0x457f1a(_0x5a6727,_0xf2e10c,_0x19bf0a);let _0x27ca3d=class extends _0x3772e7[_0x513e05(0x432)]{constructor(_0x56d518,_0x1260d4,_0x2513a6,_0x37e09c,_0x46ef61,_0x1e1f54,_0x43dc7d,_0x5465fa){const _0x498ab7=_0x513e05;super(),_0xfd5d9c(this,'_status$',new _0x104804[(_0x498ab7(0x493))](_0x19f8d7[_0x498ab7(0x2c1)][_0x498ab7(0x1d1)])),(this['_docStateChangeManagerService']=_0x56d518,this[_0x498ab7(0x47c)]=_0x1260d4,this[_0x498ab7(0x3ad)]=_0x2513a6,this['_docTransformStateCacheService']=_0x37e09c,this['_docTransformSelectionsService']=_0x46ef61,this[_0x498ab7(0x2ec)]=_0x1e1f54,this[_0x498ab7(0x1f1)]=_0x43dc7d,this[_0x498ab7(0x45e)]=_0x5465fa,this[_0x498ab7(0x21b)]());}['_initEntityListener'](){const _0x4826c1=_0x513e05;this[_0x4826c1(0x317)](this[_0x4826c1(0x47c)][_0x4826c1(0x3d3)][_0x4826c1(0x3ee)](_0x2f5c1e=>{const _0xf64037=_0x4826c1,_0xccc75c=this['_docStateChangeManagerService'][_0xf64037(0x418)]['subscribe'](_0x3de056=>{const _0x12c4d0=_0xf64037;if(_0x3de056==null)return;const {unitId:_0x3463e8,redoState:_0x4539ba,commandId:_0x115a23}=_0x3de056;if(_0x3463e8!==_0x2f5c1e[_0x12c4d0(0x2bb)])return;const _0xf74158={'id':_0x115a23,'type':_0x3772e7['CommandType']['MUTATION'],'params':{'unitId':_0x3463e8,'actions':_0x4539ba[_0x12c4d0(0x395)],'textRanges':null}};_0x2f5c1e[_0x12c4d0(0x3b5)](_0xf74158);});if(_0x2f5c1e[_0xf64037(0x317)](_0xccc75c),_0x2f5c1e instanceof _0x19f8d7[_0xf64037(0x478)]){const _0x3ac909={'onTransformIME':_0x1285f6=>this[_0xf64037(0x3ad)][_0xf64037(0x335)](_0x1285f6),'onTransformState':_0x1832bb=>this[_0xf64037(0x2e4)][_0xf64037(0x205)](_0x1832bb),'onTransformSelections':_0x564257=>this['_docTransformSelectionsService'][_0xf64037(0x44e)](_0x564257),'onSyncEditingCollabCursor':_0x15f7cc=>this[_0xf64037(0x2ec)]['syncEditingCollabCursor'](_0x15f7cc),'onTransformRemoteChangesetByIMECache':_0x1ec292=>this[_0xf64037(0x3ad)]['transformRemoteChangeset'](_0x1ec292),'onTransformRemoteChangesetByStateCache':_0x4d16df=>this[_0xf64037(0x2e4)][_0xf64037(0x2d7)](_0x4d16df)};_0x2f5c1e[_0xf64037(0x301)](_0x3ac909);}}));}};_0x27ca3d=_0x202b36([_0x2d0061(0x0,_0x3772e7[_0x513e05(0x30b)](_0x7ab617[_0x513e05(0x377)])),_0x2d0061(0x1,_0x3772e7[_0x513e05(0x30b)](_0x19f8d7[_0x513e05(0x3c1)])),_0x2d0061(0x2,_0x3772e7[_0x513e05(0x30b)](_0x32f42e)),_0x2d0061(0x3,_0x3772e7['Inject'](_0x52ca15)),_0x2d0061(0x4,_0x3772e7[_0x513e05(0x30b)](_0x348751)),_0x2d0061(0x5,_0x3772e7['Inject'](_0x39a103)),_0x2d0061(0x6,_0x2e0e04[_0x513e05(0x320)]),_0x2d0061(0x7,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['LocaleService']))],_0x27ca3d);var _0x47161c=(_0x3f19da=>(_0x3f19da[_0x3f19da[_0x513e05(0x3e3)]=0x0]=_0x513e05(0x3e3),_0x3f19da[_0x3f19da['OK']=0x1]='OK',_0x3f19da[_0x3f19da['INTERNAL_ERROR']=0x2]=_0x513e05(0x28a),_0x3f19da[_0x3f19da[_0x513e05(0x230)]=0x3]='PERMISSION_DENIED',_0x3f19da[_0x3f19da[_0x513e05(0x443)]=0x4]=_0x513e05(0x443),_0x3f19da[_0x3f19da['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x3f19da[_0x3f19da[_0x513e05(0x287)]=0x6]=_0x513e05(0x287),_0x3f19da[_0x3f19da[_0x513e05(0x3ed)]=0x7]='INVALID_ARGUMENT',_0x3f19da[_0x3f19da[_0x513e05(0x326)]=0x8]=_0x513e05(0x326),_0x3f19da[_0x3f19da['COMPLETION_FINISHED']=0x9]=_0x513e05(0x252),_0x3f19da[_0x3f19da[_0x513e05(0x3a2)]=0xa]=_0x513e05(0x3a2),_0x3f19da[_0x3f19da['MOBILE_VERIFY_CODE_MISMATCH']=0xb]=_0x513e05(0x452),_0x3f19da[_0x3f19da[_0x513e05(0x374)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x3f19da[_0x3f19da[_0x513e05(0x36e)]=0xd]=_0x513e05(0x36e),_0x3f19da[_0x3f19da[_0x513e05(0x267)]=0xe]=_0x513e05(0x267),_0x3f19da[_0x3f19da[_0x513e05(0x47e)]=0xf]=_0x513e05(0x47e),_0x3f19da[_0x3f19da[_0x513e05(0x364)]=0x10]=_0x513e05(0x364),_0x3f19da[_0x3f19da[_0x513e05(0x41e)]=0x64]=_0x513e05(0x41e),_0x3f19da[_0x3f19da[_0x513e05(0x342)]=0x65]=_0x513e05(0x342),_0x3f19da[_0x3f19da[_0x513e05(0x486)]=0xc9]=_0x513e05(0x486),_0x3f19da[_0x3f19da[_0x513e05(0x242)]=0xca]=_0x513e05(0x242),_0x3f19da[_0x3f19da['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x3f19da[_0x3f19da['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x513e05(0x449),_0x3f19da[_0x3f19da[_0x513e05(0x256)]=0x1772]=_0x513e05(0x256),_0x3f19da[_0x3f19da[_0x513e05(0x272)]=0x1773]=_0x513e05(0x272),_0x3f19da[_0x3f19da[_0x513e05(0x2df)]=0x1b59]=_0x513e05(0x2df),_0x3f19da[_0x3f19da[_0x513e05(0x279)]=0x1b5a]=_0x513e05(0x279),_0x3f19da[_0x3f19da[_0x513e05(0x376)]=0x1b5b]=_0x513e05(0x376),_0x3f19da[_0x3f19da[_0x513e05(0x21a)]=0x1b5c]=_0x513e05(0x21a),_0x3f19da[_0x3f19da[_0x513e05(0x485)]=0x1b5d]=_0x513e05(0x485),_0x3f19da[_0x3f19da[_0x513e05(0x27d)]=0x1f41]=_0x513e05(0x27d),_0x3f19da[_0x3f19da[_0x513e05(0x3ca)]=0x2329]=_0x513e05(0x3ca),_0x3f19da[_0x3f19da[_0x513e05(0x1ca)]=0x232a]=_0x513e05(0x1ca),_0x3f19da[_0x3f19da[_0x513e05(0x228)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x3f19da[_0x3f19da['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x3f19da[_0x3f19da['LICENSE_DISTRO_REJECTED']=0x232d]=_0x513e05(0x45c),_0x3f19da[_0x3f19da[_0x513e05(0x3fe)]=0x2711]=_0x513e05(0x3fe),_0x3f19da[_0x3f19da['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x513e05(0x303),_0x3f19da[_0x3f19da[_0x513e05(0x464)]=0x2713]=_0x513e05(0x464),_0x3f19da[_0x3f19da['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]=_0x513e05(0x39e),_0x3f19da[_0x3f19da[_0x513e05(0x369)]=0x271a]=_0x513e05(0x369),_0x3f19da[_0x3f19da['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x513e05(0x20a),_0x3f19da[_0x3f19da[_0x513e05(0x1cb)]=0x271c]=_0x513e05(0x1cb),_0x3f19da[_0x3f19da['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x513e05(0x38c),_0x3f19da[_0x3f19da[_0x513e05(0x1e0)]=0x271e]=_0x513e05(0x1e0),_0x3f19da[_0x3f19da['YUUMI_AI_RUN_FAILED']=0x271f]=_0x513e05(0x3dd),_0x3f19da[_0x3f19da['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x513e05(0x1ea),_0x3f19da[_0x3f19da[_0x513e05(0x2a5)]=0x2af9]=_0x513e05(0x2a5),_0x3f19da[_0x3f19da[_0x513e05(0x37b)]=0x2ee1]=_0x513e05(0x37b),_0x3f19da[_0x3f19da[_0x513e05(0x30e)]=0x2ee2]=_0x513e05(0x30e),_0x3f19da[_0x3f19da[_0x513e05(0x245)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x3f19da[_0x3f19da[_0x513e05(0x268)]=0x2ee4]=_0x513e05(0x268),_0x3f19da[_0x3f19da[_0x513e05(0x46c)]=0x2ee5]=_0x513e05(0x46c),_0x3f19da[_0x3f19da['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x513e05(0x435),_0x3f19da[_0x3f19da[_0x513e05(0x434)]=0x32ca]=_0x513e05(0x434),_0x3f19da[_0x3f19da['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x513e05(0x475),_0x3f19da[_0x3f19da[_0x513e05(0x25e)]=0x36b1]=_0x513e05(0x25e),_0x3f19da[_0x3f19da[_0x513e05(0x402)]=0x36b2]='ENTITLE_UPDOWN_GRADE_NOT_SUPPORT',_0x3f19da[_0x3f19da[_0x513e05(0x3aa)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x3f19da[_0x3f19da[_0x513e05(0x204)]=0x36b4]=_0x513e05(0x204),_0x3f19da[_0x3f19da[_0x513e05(0x409)]=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x3f19da[_0x3f19da[_0x513e05(0x1d7)]=0x3716]=_0x513e05(0x1d7),_0x3f19da[_0x3f19da['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x513e05(0x312),_0x3f19da[_0x3f19da[_0x513e05(0x3ac)]=0x37dd]=_0x513e05(0x3ac),_0x3f19da[_0x3f19da[_0x513e05(0x467)]=0x3a99]=_0x513e05(0x467),_0x3f19da[_0x3f19da['REDEMPTION_CODE_INACTIVE']=0x3a9a]=_0x513e05(0x2c9),_0x3f19da[_0x3f19da[_0x513e05(0x448)]=0x3a9b]=_0x513e05(0x448),_0x3f19da[_0x3f19da[_0x513e05(0x3c8)]=0x3a9c]=_0x513e05(0x3c8),_0x3f19da[_0x3f19da[_0x513e05(0x244)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x3f19da[_0x3f19da['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x513e05(0x36a),_0x3f19da[_0x3f19da[_0x513e05(0x281)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x3f19da[_0x3f19da['DATA_SOURCE_TOO_LARGE']=0x3e81]=_0x513e05(0x426),_0x3f19da[_0x3f19da['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x3f19da))(_0x47161c||{});function _0x45cbe8(_0x4dd6a2){const _0x1b7136=_0x513e05;var _0x163ca1,_0x5b2343;const _0xecfb2=(_0x163ca1=_0x4dd6a2[_0x1b7136(0x2a3)])==null?void 0x0:_0x163ca1['stage'],_0xbf135=((_0x5b2343=_0x4dd6a2['stageInfo'])==null?void 0x0:_0x5b2343[_0x1b7136(0x3ab)])||0x0;return _0xecfb2===_0x4915ec[_0x1b7136(0x2c3)][_0x1b7136(0x3b3)]&&_0xbf135>0x0;}function _0x3ae9d2(_0x1f87ea){const _0x424112=_0x513e05;return _0x1f87ea[_0x424112(0x209)]===_0x4915ec[_0x424112(0x2c6)]['SUCCESS'];}var _0x5c1bed=Object[_0x513e05(0x33c)],_0x547cfe=(_0x25d0f8,_0x1fc232,_0x105f9c,_0x113e59)=>{const _0x279a20=_0x513e05;for(var _0x469526=_0x113e59>0x1?void 0x0:_0x113e59?_0x5c1bed(_0x1fc232,_0x105f9c):_0x1fc232,_0x3ce19c=_0x25d0f8[_0x279a20(0x3ec)]-0x1,_0x1305f5;_0x3ce19c>=0x0;_0x3ce19c--)(_0x1305f5=_0x25d0f8[_0x3ce19c])&&(_0x469526=_0x1305f5(_0x469526)||_0x469526);return _0x469526;},_0x165919=(_0x3c3500,_0x228ee5)=>(_0x167188,_0x53390b)=>_0x228ee5(_0x167188,_0x53390b,_0x3c3500);const _0x43e127=_0x513e05(0x330),_0x72413=_0x513e05(0x3eb),_0x322cce=_0x513e05(0x2ab);let _0x498739=class extends _0x3772e7['Disposable']{constructor(_0x41929e,_0x1a0177,_0x25f9b0,_0x4299e4,_0x545d01,_0x2c9f30,_0xd8d871){const _0x5b4f69=_0x513e05;super(),_0xfd5d9c(this,_0x5b4f69(0x3be),null),_0xfd5d9c(this,'_maxFormulaLimit',0x0),_0xfd5d9c(this,_0x5b4f69(0x32c),0x0),_0xfd5d9c(this,_0x5b4f69(0x378),[]),_0xfd5d9c(this,'_lastResponseTimestamp',0x0),(this[_0x5b4f69(0x1f1)]=_0x41929e,this[_0x5b4f69(0x2fb)]=_0x1a0177,this[_0x5b4f69(0x441)]=_0x25f9b0,this[_0x5b4f69(0x2cc)]=_0x4299e4,this[_0x5b4f69(0x2b8)]=_0x545d01,this[_0x5b4f69(0x263)]=_0x2c9f30,this['_localeService']=_0xd8d871,this['_initCommandInterceptor']());}[_0x513e05(0x239)](){const _0x47a081=_0x513e05;this[_0x47a081(0x317)](this[_0x47a081(0x2fb)]['beforeCommandExecuted']((_0x3476bf,_0x46eb5c)=>{const _0x2aeaed=_0x47a081;var _0x31c888;if(_0x3476bf['id']!==_0x4915ec[_0x2aeaed(0x1df)]['id'])return;const _0x5c124b=_0x3476bf[_0x2aeaed(0x41c)];if(!this[_0x2aeaed(0x2f0)]((_0x31c888=_0x5c124b[_0x2aeaed(0x22c)])!=null?_0x31c888:[]))return;if(!this[_0x2aeaed(0x33d)]())throw this[_0x2aeaed(0x31d)](_0x3476bf,_0x46eb5c),this[_0x2aeaed(0x324)](),new _0x3772e7['CanceledError']();})),this[_0x47a081(0x317)](this['_commandService'][_0x47a081(0x27e)]((_0x2c2389,_0x472874)=>{const _0x120dad=_0x47a081;if(_0x2c2389['id']!==_0x4915ec['SetFormulaCalculationNotificationMutation']['id'])return;const _0x211926=_0x2c2389[_0x120dad(0x41c)];if(_0x45cbe8(_0x211926)){const _0xbc2639=_0x3772e7[_0x120dad(0x2ae)]();this[_0x120dad(0x378)]['push'](_0xbc2639),this[_0x120dad(0x2cd)](_0xbc2639);}else{if(_0x3ae9d2(_0x211926)&&this[_0x120dad(0x378)][_0x120dad(0x3ec)]>0x0){const _0x22daf7=this[_0x120dad(0x378)][_0x120dad(0x266)]();this[_0x120dad(0x21c)](_0x22daf7);}}}));}[_0x513e05(0x472)](){const _0x3492cf=_0x513e05;super[_0x3492cf(0x472)](),this[_0x3492cf(0x1ba)](),this[_0x3492cf(0x378)]=[],this[_0x3492cf(0x32c)]=0x0,this[_0x3492cf(0x2ff)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x513e05(0x31d)](_0x14d11b,_0x20494f){const _0x242538=_0x513e05;for(let _0x5b7684=0x0;_0x5b7684<0x1e;_0x5b7684++)try{if(await this[_0x242538(0x447)](),this['_checkCalculationAvailable']()){this[_0x242538(0x2a9)](_0x14d11b,_0x20494f),this[_0x242538(0x1f1)]['show']({'content':this[_0x242538(0x45e)]['t'](_0x242538(0x274)),'type':_0x4d7604[_0x242538(0x46a)][_0x242538(0x347)]});return;}await new Promise(_0x4a7905=>{const _0x59b818=_0x242538;this['_pollingInterval']=window[_0x59b818(0x42b)](_0x4a7905,0x3e8);});}catch(_0x3274ab){this['_logService']['error'](_0x3274ab);}this['_messageService'][_0x242538(0x345)]({'content':this[_0x242538(0x45e)]['t'](_0x242538(0x498)),'type':_0x4d7604[_0x242538(0x46a)][_0x242538(0x341)]});}[_0x513e05(0x2a9)](_0x39cbd5,_0x3bc3fe){const _0x23d2fa=_0x513e05;try{this[_0x23d2fa(0x2fb)][_0x23d2fa(0x38e)](_0x39cbd5['id'],_0x39cbd5[_0x23d2fa(0x41c)],_0x3bc3fe);}catch(_0x58561b){this['_logService'][_0x23d2fa(0x27b)](_0x58561b);}}[_0x513e05(0x2fe)](_0xbef603,_0x54a53a){const _0x32339b=_0x513e05;_0x54a53a<this[_0x32339b(0x238)]||(this[_0x32339b(0x238)]=_0x54a53a,this['_maxFormulaLimit']=Number[_0x32339b(0x419)](_0xbef603[_0x32339b(0x470)]),this['_currentUsage']=Number[_0x32339b(0x419)](_0xbef603['currentUsage']));}async[_0x513e05(0x2cd)](_0x388b54){const _0x2e6739=_0x513e05;var _0x4a16df,_0x4cf367;const _0x41f397=Date[_0x2e6739(0x2bc)]();try{const _0x577b36=((_0x4a16df=this[_0x2e6739(0x441)][_0x2e6739(0x2fc)](_0x19f8d7['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']))==null?void 0x0:_0x4a16df['startFormulaLimitUrl'])||_0x72413,_0x16aabf=(await this['_httpService'][_0x2e6739(0x1db)](_0x577b36,{'body':JSON[_0x2e6739(0x1c4)]({'taskId':_0x388b54})}))['body'];if(((_0x4cf367=_0x16aabf[_0x2e6739(0x27b)])==null?void 0x0:_0x4cf367[_0x2e6739(0x420)])!==_0x47161c['OK'])return;this['_setFormulaLimitStatus'](_0x16aabf[_0x2e6739(0x340)],_0x41f397);}catch(_0x1a15a7){this[_0x2e6739(0x263)][_0x2e6739(0x27b)](_0x1a15a7);}}async['_getFormulaLimitStatus'](_0x560cab){const _0x3710f6=_0x513e05;var _0x4ace94,_0x4dda40;const _0x34cc12=Date['now']();try{const _0x5adcaa=((_0x4ace94=this[_0x3710f6(0x441)][_0x3710f6(0x2fc)](_0x19f8d7[_0x3710f6(0x2fd)]))==null?void 0x0:_0x4ace94[_0x3710f6(0x3bd)])||_0x43e127,_0x594435=_0x560cab?_0x5adcaa+_0x3710f6(0x257)+encodeURIComponent(_0x560cab):_0x5adcaa,_0x5b4f21=(await this['_httpService'][_0x3710f6(0x309)](_0x594435))[_0x3710f6(0x3c7)];if(((_0x4dda40=_0x5b4f21['error'])==null?void 0x0:_0x4dda40[_0x3710f6(0x420)])!==_0x47161c['OK'])return;this[_0x3710f6(0x2fe)](_0x5b4f21[_0x3710f6(0x340)],_0x34cc12);}catch(_0x14b066){this[_0x3710f6(0x263)][_0x3710f6(0x27b)](_0x14b066);}}async[_0x513e05(0x21c)](_0x12ab92){const _0xd9d9e2=_0x513e05;var _0x1c8da2,_0x1835ba;const _0x4fc9ea=Date[_0xd9d9e2(0x2bc)]();try{const _0x45dcef=((_0x1c8da2=this[_0xd9d9e2(0x441)][_0xd9d9e2(0x2fc)](_0x19f8d7[_0xd9d9e2(0x2fd)]))==null?void 0x0:_0x1c8da2[_0xd9d9e2(0x46e)])||_0x322cce,_0x4a0829=(await this[_0xd9d9e2(0x2cc)][_0xd9d9e2(0x1db)](_0x45dcef,{'body':JSON['stringify']({'taskId':_0x12ab92})}))[_0xd9d9e2(0x3c7)];if(((_0x1835ba=_0x4a0829[_0xd9d9e2(0x27b)])==null?void 0x0:_0x1835ba[_0xd9d9e2(0x420)])!==_0x47161c['OK'])return;this['_setFormulaLimitStatus'](_0x4a0829['limitInfo'],_0x4fc9ea);}catch(_0x2ad3cd){this['_logService'][_0xd9d9e2(0x27b)](_0x2ad3cd);}}[_0x513e05(0x33d)](){const _0x5c6ba6=_0x513e05;return this[_0x5c6ba6(0x2ff)]===0x0?!0x0:this[_0x5c6ba6(0x2ff)]-this[_0x5c6ba6(0x32c)]>0x0;}[_0x513e05(0x1ba)](){const _0x42430b=_0x513e05;this['_pollingInterval']&&(clearTimeout(this[_0x42430b(0x3be)]),this[_0x42430b(0x3be)]=null);}['_showGuardMessage'](){const _0xa0a995=_0x513e05;this[_0xa0a995(0x1f1)][_0xa0a995(0x345)]({'content':this['_localeService']['t']('formula.calculation.waiting'),'type':_0x4d7604[_0xa0a995(0x46a)]['Loading']});}['_hasFormulaInDirtyRanges'](_0x1e434a){const _0x393c8a=_0x513e05;for(const _0x2b40e of _0x1e434a){const {unitId:_0x562feb,sheetId:_0x5cf05e,range:_0x4d8e53}=_0x2b40e,_0x2432b9=this[_0x393c8a(0x2b8)][_0x393c8a(0x36b)](_0x562feb);if(!_0x2432b9)continue;const _0x155dc7=_0x2432b9[_0x393c8a(0x271)](_0x5cf05e);if(!_0x155dc7)continue;const _0xd6d498=_0x155dc7[_0x393c8a(0x246)]();for(let _0x59bf94=_0x4d8e53['startRow'];_0x59bf94<=_0x4d8e53['endRow'];_0x59bf94++)for(let _0x5cb158=_0x4d8e53[_0x393c8a(0x2d6)];_0x5cb158<=_0x4d8e53[_0x393c8a(0x43e)];_0x5cb158++){const _0x59f917=_0xd6d498[_0x393c8a(0x243)](_0x59bf94,_0x5cb158);if(_0x59f917&&(_0x3772e7[_0x393c8a(0x3fa)](_0x59f917['f'])||_0x3772e7['isFormulaId'](_0x59f917['si'])))return!0x0;}}return!0x1;}};_0x498739=_0x547cfe([_0x165919(0x0,_0x3772e7[_0x513e05(0x30b)](_0x2e0e04[_0x513e05(0x320)])),_0x165919(0x1,_0x3772e7[_0x513e05(0x37d)]),_0x165919(0x2,_0x3772e7[_0x513e05(0x3da)]),_0x165919(0x3,_0x3772e7['Inject'](_0xe6cf6e[_0x513e05(0x1cc)])),_0x165919(0x4,_0x3772e7['IUniverInstanceService']),_0x165919(0x5,_0x3772e7['ILogService']),_0x165919(0x6,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['LocaleService']))],_0x498739);var _0x50d826=Object[_0x513e05(0x33c)],_0x2462a1=(_0x5928ae,_0x398a58,_0x49e847,_0xe2e77d)=>{const _0x4ee6cb=_0x513e05;for(var _0x3cdabd=_0xe2e77d>0x1?void 0x0:_0xe2e77d?_0x50d826(_0x398a58,_0x49e847):_0x398a58,_0x1b42da=_0x5928ae[_0x4ee6cb(0x3ec)]-0x1,_0x220dcb;_0x1b42da>=0x0;_0x1b42da--)(_0x220dcb=_0x5928ae[_0x1b42da])&&(_0x3cdabd=_0x220dcb(_0x3cdabd)||_0x3cdabd);return _0x3cdabd;},_0x214577=(_0x5bd627,_0x6fe9fb)=>(_0x6b2b71,_0xc6b0c8)=>_0x6fe9fb(_0x6b2b71,_0xc6b0c8,_0x5bd627);let _0x1853ac=class extends _0x3772e7[_0x513e05(0x432)]{constructor(_0x5b1534,_0xb9c86f,_0xd68d99){const _0x2f04eb=_0x513e05;super(),_0xfd5d9c(this,_0x2f04eb(0x2f7),new Map()),_0xfd5d9c(this,_0x2f04eb(0x421),new Map()),_0xfd5d9c(this,_0x2f04eb(0x260),!0x1),(this[_0x2f04eb(0x441)]=_0x5b1534,this['_localStorageService']=_0xb9c86f,this[_0x2f04eb(0x217)]=_0xd68d99);}[_0x513e05(0x355)](){const _0x4365b3=_0x513e05;this[_0x4365b3(0x260)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x513e05(0x1ed)](){return this['_saveTaskMap'];}[_0x513e05(0x472)](){const _0x1b136f=_0x513e05;this[_0x1b136f(0x37f)]()[_0x1b136f(0x37c)](()=>super[_0x1b136f(0x472)]());}async[_0x513e05(0x422)](_0x28ab1d){const _0x260bcc=_0x513e05;return this[_0x260bcc(0x260)]?null:this['_localStorageService'][_0x260bcc(0x43f)](_0x19f8d7[_0x260bcc(0x461)](_0x28ab1d));}async[_0x513e05(0x35f)](_0x54726e,_0x27f00e){const _0x57bfb0=_0x513e05;return!!this['_localStorageService'][_0x57bfb0(0x1e1)](_0x54726e,_0x27f00e);}['updateOfflineData'](_0x5e0a96,_0x280cf8,_0x14aa0d,_0x3ccdc0){const _0x2b3729=_0x513e05,_0x268851=this[_0x2b3729(0x217)][_0x2b3729(0x3f5)](_0x5e0a96);this[_0x2b3729(0x2f7)][_0x2b3729(0x40c)](_0x5e0a96,{'unitID':_0x5e0a96,'type':_0x280cf8,'awaitingChangeset':_0x14aa0d,'mutations':_0x3ccdc0,'rev':_0x268851}),this['_saveTaskMap'][_0x2b3729(0x28b)](_0x5e0a96)||this['_scheduleSaving'](_0x5e0a96);}['_scheduleSaving'](_0x1f684d){const _0x769e8e=_0x513e05,_0x568b29=this[_0x769e8e(0x2e3)]();_0x568b29===0x0?this[_0x769e8e(0x2ac)](_0x1f684d):this['_saveTaskMap'][_0x769e8e(0x40c)](_0x1f684d,setTimeout(()=>this[_0x769e8e(0x2ac)](_0x1f684d),_0x568b29));}['_getSaveTimeout'](){const _0x3cfb83=_0x513e05;var _0x2731e7;return(_0x2731e7=this[_0x3cfb83(0x441)][_0x3cfb83(0x2fc)](_0x19f8d7[_0x3cfb83(0x3c4)]))!=null?_0x2731e7:_0x19f8d7[_0x3cfb83(0x34b)];}['_saveCache'](_0x589a51){const _0x4ee6e5=_0x513e05,_0x592cfd=this['_saveTaskMap'][_0x4ee6e5(0x309)](_0x589a51);return _0x592cfd!==void 0x0&&window[_0x4ee6e5(0x39c)](_0x592cfd),this[_0x4ee6e5(0x483)][_0x4ee6e5(0x1e1)](_0x19f8d7[_0x4ee6e5(0x461)](_0x589a51),this['_cachedData']['get'](_0x589a51))[_0x4ee6e5(0x37c)](()=>this[_0x4ee6e5(0x421)][_0x4ee6e5(0x365)](_0x589a51));}async[_0x513e05(0x37f)](){const _0x25ad9d=_0x513e05,_0x500a99=[];this[_0x25ad9d(0x421)][_0x25ad9d(0x2a8)]((_0x3373fa,_0x2aa396)=>{const _0x379e2c=_0x25ad9d;window[_0x379e2c(0x39c)](_0x3373fa),_0x500a99[_0x379e2c(0x2e0)](this['_saveCache'](_0x2aa396)['then'](()=>{const _0x2b41bb=_0x379e2c;this[_0x2b41bb(0x421)][_0x2b41bb(0x365)](_0x2aa396);}));}),await Promise['all'](_0x500a99);}};_0x1853ac=_0x2462a1([_0x214577(0x0,_0x3772e7['IConfigService']),_0x214577(0x1,_0x3772e7[_0x513e05(0x27c)]),_0x214577(0x2,_0x3772e7[_0x513e05(0x30b)](_0x116492[_0x513e05(0x289)]))],_0x1853ac);class _0x39c7f7 extends _0x3772e7[_0x513e05(0x490)]{constructor(){const _0x42e1c2=_0x513e05;super(),_0xfd5d9c(this,_0x42e1c2(0x327)),this[_0x42e1c2(0x327)]=_0x104804[_0x42e1c2(0x398)](window,'popstate')[_0x42e1c2(0x372)](_0x104804[_0x42e1c2(0x3e1)](this['dispose$']),_0x104804[_0x42e1c2(0x2e7)](0x1),_0x104804[_0x42e1c2(0x39a)](void 0x0));}['setParam'](_0x3d90f5,_0x8e5b9c,_0x1e749f=!0x1){const _0x599318=_0x513e05,_0x22ba32=new URL(window[_0x599318(0x430)][_0x599318(0x31e)]);_0x22ba32['searchParams'][_0x599318(0x40c)](_0x3d90f5,_0x8e5b9c),_0x1e749f?window[_0x599318(0x1f5)][_0x599318(0x1c5)]('','',_0x22ba32['toString']()):window[_0x599318(0x1f5)][_0x599318(0x26e)]('','',_0x22ba32[_0x599318(0x3a9)]());}[_0x513e05(0x393)](_0x1e215c,_0x5db700=!0x1){const _0x234511=_0x513e05,_0x2c9352=new URL(window[_0x234511(0x430)][_0x234511(0x31e)]);_0x2c9352[_0x234511(0x417)]['delete'](_0x1e215c),_0x5db700?window['history'][_0x234511(0x1c5)]('','',_0x2c9352[_0x234511(0x3a9)]()):window['history']['pushState']('','',_0x2c9352[_0x234511(0x3a9)]());}[_0x513e05(0x22e)](_0x2ac35e){const _0x41dbc2=_0x513e05;var _0x1ed3a9;return(_0x1ed3a9=new URL(window[_0x41dbc2(0x430)][_0x41dbc2(0x31e)])[_0x41dbc2(0x417)][_0x41dbc2(0x309)](_0x2ac35e))!=null?_0x1ed3a9:void 0x0;}}var _0x3feea5=Object[_0x513e05(0x226)],_0x42c8e1=Object['getOwnPropertyDescriptor'],_0x419814=(_0x53bed1,_0x215e79,_0x4784e7)=>_0x215e79 in _0x53bed1?_0x3feea5(_0x53bed1,_0x215e79,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4784e7}):_0x53bed1[_0x215e79]=_0x4784e7,_0x318a22=(_0x2df643,_0x42ed79,_0x298add,_0x4ae870)=>{for(var _0x4680f4=_0x4ae870>0x1?void 0x0:_0x4ae870?_0x42c8e1(_0x42ed79,_0x298add):_0x42ed79,_0x11faad=_0x2df643['length']-0x1,_0x26fa0c;_0x11faad>=0x0;_0x11faad--)(_0x26fa0c=_0x2df643[_0x11faad])&&(_0x4680f4=_0x26fa0c(_0x4680f4)||_0x4680f4);return _0x4680f4;},_0x2e8ae0=(_0x32648f,_0x692bf3)=>(_0x12696c,_0x14e15d)=>_0x692bf3(_0x12696c,_0x14e15d,_0x32648f),_0x4a9300=(_0xcf762c,_0x6670a,_0x4c0e84)=>_0x419814(_0xcf762c,_0x6670a+'',_0x4c0e84);const _0x5049ca=_0x513e05(0x468);_0x8036c6[_0x513e05(0x41a)]=class extends _0x3772e7['Plugin']{constructor(_0xea60b1=_0x52c7c0,_0x14917b,_0x3ba0a4,_0x277063){const _0x3833dd=_0x513e05;super(),this[_0x3833dd(0x2e9)]=_0xea60b1,this[_0x3833dd(0x26d)]=_0x14917b,this[_0x3833dd(0x499)]=_0x3ba0a4,this['_configService']=_0x277063;const {..._0x39ffe6}=_0x3772e7['merge']({},_0x52c7c0,this[_0x3833dd(0x2e9)]);this['_configService'][_0x3833dd(0x31c)](_0x2157a3,_0x39ffe6);}[_0x513e05(0x3bb)](){const _0x5b60c4=_0x513e05;this['_registerDependencies'](),this[_0x5b60c4(0x25c)]();}[_0x513e05(0x329)](){const _0x56381b=_0x513e05;this[_0x56381b(0x3a0)]();}['_registerDependencies'](){const _0x33e5f8=_0x513e05;var _0x1fca3d;const _0x1a3e83=[[_0x2e3fbf],[_0x498739],[_0x348751],[_0x32f42e],[_0x52ca15],[_0x39a103],[_0x2a7c11,{'useClass':_0x39c7f7}],[_0xe6cf6e[_0x33e5f8(0x2ee)],{'useClass':_0xe6cf6e['WebSocketService']}],[_0x19f8d7[_0x33e5f8(0x36d)],{'useClass':_0x1853ac}],[_0x8036c6[_0x33e5f8(0x1c0)]],[_0x27ca3d],[_0x23daa2],[_0x2234d1],[_0x459a5d],[_0x8036c6[_0x33e5f8(0x42a)]]];this[_0x33e5f8(0x2e9)]['enableFrontendLog']&&_0x1a3e83[_0x33e5f8(0x2e0)]([_0x19eb72]),_0x3772e7[_0x33e5f8(0x264)](this[_0x33e5f8(0x499)],_0x3772e7[_0x33e5f8(0x2f8)](_0x1a3e83,(_0x1fca3d=this[_0x33e5f8(0x2e9)])==null?void 0x0:_0x1fca3d[_0x33e5f8(0x2e8)]));}['_registerRenderDependencies'](){const _0x186f81=_0x513e05;this[_0x186f81(0x317)](this[_0x186f81(0x26d)]['registerRenderModule'](_0x3772e7[_0x186f81(0x232)][_0x186f81(0x366)],[_0x4d05f1])),this['disposeWithMe'](this[_0x186f81(0x26d)]['registerRenderModule'](_0x3772e7[_0x186f81(0x232)][_0x186f81(0x437)],[_0x4fc936]));}[_0x513e05(0x25c)](){const _0x308ee0=_0x513e05;_0x3772e7['touchDependencies'](this[_0x308ee0(0x499)],[[_0x2234d1],[_0x8036c6['DesktopCollaborationStatusDisplayController']],[_0x27ca3d],[_0x23daa2],[_0x8036c6['CollaborationDataLoaderController']],[_0x498739]]),this[_0x308ee0(0x2e9)]['enableFrontendLog']&&_0x3772e7['touchDependencies'](this[_0x308ee0(0x499)],[[_0x19eb72]]);}},_0x4a9300(_0x8036c6[_0x513e05(0x41a)],'pluginName',_0x5049ca),_0x8036c6[_0x513e05(0x41a)]=_0x318a22([_0x3772e7['DependentOn'](_0x19f8d7[_0x513e05(0x2e2)]),_0x2e8ae0(0x1,_0x29b571[_0x513e05(0x494)]),_0x2e8ae0(0x2,_0x3772e7[_0x513e05(0x30b)](_0x3772e7['Injector'])),_0x2e8ae0(0x3,_0x3772e7['IConfigService'])],_0x8036c6['UniverCollaborationClientUIPlugin']);var _0x130241=Object[_0x513e05(0x33c)],_0x5ddeed=(_0x7f3be1,_0xc6d3b8,_0x210dc6,_0x426342)=>{const _0x479ab0=_0x513e05;for(var _0x27ec7a=_0x426342>0x1?void 0x0:_0x426342?_0x130241(_0xc6d3b8,_0x210dc6):_0xc6d3b8,_0x49361d=_0x7f3be1[_0x479ab0(0x3ec)]-0x1,_0x436ad6;_0x49361d>=0x0;_0x49361d--)(_0x436ad6=_0x7f3be1[_0x49361d])&&(_0x27ec7a=_0x436ad6(_0x27ec7a)||_0x27ec7a);return _0x27ec7a;},_0x52934b=(_0x37fde8,_0x4f3f35)=>(_0x5610a0,_0x25f3e5)=>_0x4f3f35(_0x5610a0,_0x25f3e5,_0x37fde8);_0x8036c6[_0x513e05(0x382)]=class extends _0x19f8d7[_0x513e05(0x3bc)]{constructor(_0x26b322,_0x2a8a05,_0x1f6b1d,_0x39ccff,_0x3bb78d){super(_0x26b322,_0x2a8a05,_0x1f6b1d,_0x39ccff,_0x3bb78d);}async[_0x513e05(0x216)](_0x377044){const _0xf0b049=_0x513e05,_0x474a08=await this[_0xf0b049(0x2af)](),_0x58620d=this[_0xf0b049(0x1d6)](_0x377044,_0x474a08);return this[_0xf0b049(0x2eb)](_0x58620d);}[_0x513e05(0x1d6)](_0x188fea,_0x24333c){const _0x5ef18e=_0x513e05,_0x31db8f=typeof window>'u'?new URL(_0x188fea):new URL(_0x188fea,window[_0x5ef18e(0x430)][_0x5ef18e(0x307)]);_0x31db8f[_0x5ef18e(0x417)]['set'](_0x5ef18e(0x22f),_0x24333c);const _0x463c79=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5ef18e(0x430)][_0x5ef18e(0x491)]);return _0x463c79[_0x5ef18e(0x309)](_0x5ef18e(0x234))&&_0x31db8f['searchParams'][_0x5ef18e(0x40c)](_0x5ef18e(0x234),_0x463c79[_0x5ef18e(0x309)](_0x5ef18e(0x234))),_0x31db8f['toString']();}async['_getSessionTicket'](){const _0xdbfdd4=_0x513e05;var _0x5c3d12,_0x195efd,_0x2f08ea;const _0x267b48=this[_0xdbfdd4(0x441)][_0xdbfdd4(0x2fc)](_0x19f8d7[_0xdbfdd4(0x2fd)]),_0xba795e=(_0x5c3d12=_0x267b48==null?void 0x0:_0x267b48['wsSessionTicketUrl'])!=null?_0x5c3d12:_0x19f8d7[_0xdbfdd4(0x1c1)];return(_0x2f08ea=(_0x195efd=(await this[_0xdbfdd4(0x2cc)][_0xdbfdd4(0x309)](_0xba795e,{'headers':{'Content-Type':_0xdbfdd4(0x305)}}))[_0xdbfdd4(0x3c7)])==null?void 0x0:_0x195efd['ticket'])!=null?_0x2f08ea:'';}},_0x8036c6[_0x513e05(0x382)]=_0x5ddeed([_0x52934b(0x0,_0x3772e7['Inject'](_0x3772e7[_0x513e05(0x37e)])),_0x52934b(0x1,_0x3772e7[_0x513e05(0x30b)](_0xe6cf6e[_0x513e05(0x1cc)])),_0x52934b(0x2,_0x3772e7[_0x513e05(0x3da)]),_0x52934b(0x3,_0x3772e7['ILogService']),_0x52934b(0x4,_0x116492[_0x513e05(0x28e)])],_0x8036c6['BrowserCollaborationSocketService']);var _0x16cc04=Object[_0x513e05(0x33c)],_0x5770e8=(_0x5b28da,_0x1a2eeb,_0x294702,_0x323b4)=>{const _0x4d729a=_0x513e05;for(var _0x11b788=_0x323b4>0x1?void 0x0:_0x323b4?_0x16cc04(_0x1a2eeb,_0x294702):_0x1a2eeb,_0x587833=_0x5b28da[_0x4d729a(0x3ec)]-0x1,_0x34d95f;_0x587833>=0x0;_0x587833--)(_0x34d95f=_0x5b28da[_0x587833])&&(_0x11b788=_0x34d95f(_0x11b788)||_0x11b788);return _0x11b788;},_0x2702fb=(_0x3b4ad0,_0x1d0631)=>(_0x512a8a,_0x4dd87b)=>_0x1d0631(_0x512a8a,_0x4dd87b,_0x3b4ad0);_0x8036c6[_0x513e05(0x26f)]=class extends _0x3772e7[_0x513e05(0x432)]{constructor(_0x319ba3,_0x27a756,_0x5a8711){const _0x2e6f5e=_0x513e05;super(),this['_instanceService']=_0x319ba3,this[_0x2e6f5e(0x2cc)]=_0x27a756,this[_0x2e6f5e(0x441)]=_0x5a8711;}async[_0x513e05(0x273)](_0x5d4a42,_0x3e3564,_0x3eaa30,..._0x13b607){const _0x380063=_0x513e05;var _0x639b66,_0x2bc033,_0x5b7b0f,_0x163c7e;const _0x5d0977=this[_0x380063(0x3ce)][_0x380063(0x207)]();if(!_0x5d0977)throw new Error(_0x380063(0x3af));const _0x24cde3=((_0x639b66=this[_0x380063(0x441)][_0x380063(0x2fc)](_0x19f8d7['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x639b66:_0x19f8d7['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x5d4a42+_0x380063(0x2e1)+_0x3e3564,_0x386439=new URL(window[_0x380063(0x430)][_0x380063(0x31e)]),_0x1b8740={'scriptId':_0x5d4a42,'runId':(_0x2bc033=_0x386439[_0x380063(0x417)][_0x380063(0x309)]('runId'))!=null?_0x2bc033:'','function':_0x3e3564,'unitId':_0x5d0977[_0x380063(0x353)](),'argsOfFunction':JSON['stringify'](_0x13b607),'invokeId':(_0x5b7b0f=_0x3eaa30['invokeId'])!=null?_0x5b7b0f:'','executionId':(_0x163c7e=_0x3eaa30[_0x380063(0x295)])!=null?_0x163c7e:''};try{const _0x3bdf2c=await this[_0x380063(0x2cc)][_0x380063(0x1db)](_0x24cde3,{'body':_0x1b8740});return _0x3bdf2c[_0x380063(0x3c7)][_0x380063(0x27b)]&&_0x3bdf2c[_0x380063(0x3c7)][_0x380063(0x27b)][_0x380063(0x420)]!==_0x47161c['OK']?_0x380063(0x451):_0x3bdf2c[_0x380063(0x3c7)]['result'];}catch{return _0x380063(0x451);}}},_0x8036c6[_0x513e05(0x26f)]=_0x5770e8([_0x2702fb(0x0,_0x3772e7[_0x513e05(0x201)]),_0x2702fb(0x1,_0x3772e7['Inject'](_0xe6cf6e['HTTPService'])),_0x2702fb(0x2,_0x3772e7[_0x513e05(0x3da)])],_0x8036c6['RemoteUniscriptService']);const _0x99680c=0x7530,_0x4094b6=_0x513e05(0x40e);class _0x26e4a4 extends _0x3772e7['Disposable']{constructor(){const _0x2cf71c=_0x513e05;super(),_0xfd5d9c(this,_0x2cf71c(0x41b),_0x3772e7[_0x2cf71c(0x2ae)]()),_0xfd5d9c(this,_0x2cf71c(0x1c2),new Set()),_0xfd5d9c(this,_0x2cf71c(0x473),new Map()),_0xfd5d9c(this,_0x2cf71c(0x370),null),_0xfd5d9c(this,_0x2cf71c(0x2d2),new Map()),_0xfd5d9c(this,'_unitStatus',new Map()),this[_0x2cf71c(0x219)]();}[_0x513e05(0x472)](){const _0xb8b5b8=_0x513e05;super[_0xb8b5b8(0x472)](),this[_0xb8b5b8(0x2d2)][_0xb8b5b8(0x2a8)]((_0x2520a1,_0x281725)=>this[_0xb8b5b8(0x2ca)](_0x281725)),this[_0xb8b5b8(0x370)]&&window[_0xb8b5b8(0x1de)](this[_0xb8b5b8(0x370)]);}[_0x513e05(0x2d9)](_0x1f0cf5){const _0x11d0ee=_0x513e05;return this[_0x11d0ee(0x384)](_0x1f0cf5)[_0x11d0ee(0x372)](_0x104804[_0x11d0ee(0x2ba)]());}[_0x513e05(0x1d5)](_0xec2d5b){const _0x566c9d=_0x513e05;this[_0x566c9d(0x1c2)][_0x566c9d(0x396)]===0x0&&this[_0x566c9d(0x386)](),this[_0x566c9d(0x1c2)]['add'](_0xec2d5b),this[_0x566c9d(0x20d)]({'type':0x0,'memberID':this[_0x566c9d(0x41b)],'unitIDs':[_0xec2d5b],'isForwarded':!0x1});}[_0x513e05(0x356)](_0x5cc433){const _0x55e28f=_0x513e05;this[_0x55e28f(0x1c2)]['delete'](_0x5cc433),this[_0x55e28f(0x1c2)][_0x55e28f(0x396)]===0x0&&this[_0x55e28f(0x370)]&&window[_0x55e28f(0x1de)](this[_0x55e28f(0x370)]);}[_0x513e05(0x219)](){const _0x4efc29=_0x513e05;this[_0x4efc29(0x317)](_0x3772e7[_0x4efc29(0x385)](_0x104804['fromEvent'](window,_0x4efc29(0x3c3))[_0x4efc29(0x3ee)](_0x3a2d13=>{const _0x2e523e=_0x4efc29;if(_0x3a2d13['key']!==_0x4094b6||!_0x3a2d13[_0x2e523e(0x337)])return;const _0x435281=JSON['parse'](_0x3a2d13[_0x2e523e(0x337)]);this[_0x2e523e(0x33b)](_0x435281);}))),window[_0x4efc29(0x459)]('unload',()=>this[_0x4efc29(0x20d)]({'type':0x1,'memberID':this[_0x4efc29(0x41b)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}[_0x513e05(0x33b)](_0x1cd135){const _0x20546f=_0x513e05;switch(_0x1cd135[_0x20546f(0x23f)]){case 0x0:this[_0x20546f(0x1c7)](_0x1cd135);break;case 0x1:this[_0x20546f(0x25d)](_0x1cd135);break;case 0x2:this[_0x20546f(0x1fc)](_0x1cd135);break;}}[_0x513e05(0x1c7)](_0x3cf225){const _0x2b3634=_0x513e05,{unitIDs:_0x32bd66,memberID:_0x203e23,isForwarded:_0x718ab5}=_0x3cf225;_0x32bd66[_0x2b3634(0x2a8)](_0x446f8f=>{const _0x3461c4=_0x2b3634;if(!_0x718ab5&&this[_0x3461c4(0x473)][_0x3461c4(0x28b)](_0x446f8f)&&this[_0x3461c4(0x384)](_0x446f8f)[_0x3461c4(0x344)](_0x19f8d7[_0x3461c4(0x413)][_0x3461c4(0x390)]),!this[_0x3461c4(0x473)][_0x3461c4(0x28b)](_0x446f8f)||!this[_0x3461c4(0x473)][_0x3461c4(0x309)](_0x446f8f)['has'](_0x203e23)){const _0x279ce4=this[_0x3461c4(0x473)][_0x3461c4(0x309)](_0x446f8f)||new Set();_0x279ce4[_0x3461c4(0x458)](_0x203e23),this[_0x3461c4(0x473)][_0x3461c4(0x40c)](_0x446f8f,_0x279ce4),this['_scheduleClearOtherTimer'](_0x203e23);}}),_0x718ab5||this[_0x2b3634(0x20d)]({'type':0x0,'memberID':this[_0x2b3634(0x41b)],'unitIDs':[...this[_0x2b3634(0x1c2)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x5dc944){const _0x1c434e=_0x513e05;this[_0x1c434e(0x2ca)](_0x5dc944);const _0x329296=window[_0x1c434e(0x42b)](()=>{const _0x28addd=_0x1c434e;this[_0x28addd(0x473)][_0x28addd(0x2a8)](_0x8265d8=>{const _0x4b0fe2=_0x28addd;_0x8265d8[_0x4b0fe2(0x365)](_0x5dc944);});},_0x99680c*0x2);this[_0x1c434e(0x2d2)][_0x1c434e(0x40c)](_0x5dc944,_0x329296);}[_0x513e05(0x2ca)](_0x251043){const _0x195167=_0x513e05;if(this['_clearOtherTimers']['has'](_0x251043)){const _0x3e80cd=this['_clearOtherTimers'][_0x195167(0x309)](_0x251043);_0x3e80cd&&window[_0x195167(0x39c)](_0x3e80cd),this[_0x195167(0x2d2)]['set'](_0x251043,null);}}['_handleLeaveEvent'](_0x4effdb){const _0x24d44a=_0x513e05,{memberID:_0x5aed11,unitIDs:_0xdcfc70}=_0x4effdb;_0xdcfc70['forEach'](_0xf77538=>{const _0x4edbaa=_0x3621;var _0x2554f2;const _0x2a5cb0=this[_0x4edbaa(0x473)]['get'](_0xf77538);_0x2a5cb0&&(_0x2a5cb0[_0x4edbaa(0x365)](_0x5aed11),(_0x2554f2=this[_0x4edbaa(0x384)](_0xf77538))==null||_0x2554f2[_0x4edbaa(0x344)](_0x2a5cb0[_0x4edbaa(0x396)]===0x0?_0x19f8d7[_0x4edbaa(0x413)]['NO_OTHER_CLIENTS_EDITING']:_0x19f8d7[_0x4edbaa(0x413)][_0x4edbaa(0x390)]));}),this[_0x24d44a(0x2ca)](_0x5aed11);}[_0x513e05(0x1fc)](_0x404f4a){const _0x264838=_0x513e05;this[_0x264838(0x277)](_0x404f4a[_0x264838(0x47a)]);}[_0x513e05(0x20d)](_0x4f5d01){const _0x280fc9=_0x513e05;localStorage[_0x280fc9(0x1e1)](_0x4094b6,JSON['stringify'](_0x4f5d01));}['_scheduleHeartbeat'](){const _0x40e502=_0x513e05;this[_0x40e502(0x370)]=window[_0x40e502(0x346)](()=>{const _0x5c6f70=_0x40e502;this[_0x5c6f70(0x20d)]({'type':0x2,'memberID':this[_0x5c6f70(0x41b)]});},_0x99680c);}[_0x513e05(0x384)](_0x46b507){const _0x2fe2ca=_0x513e05;return this[_0x2fe2ca(0x2ed)][_0x2fe2ca(0x28b)](_0x46b507)||this[_0x2fe2ca(0x2ed)]['set'](_0x46b507,new _0x104804[(_0x2fe2ca(0x493))](_0x19f8d7[_0x2fe2ca(0x413)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus']['get'](_0x46b507);}}_0x8036c6[_0x513e05(0x444)]=_0x2a7c11,_0x8036c6['SheetCollabCursorShape']=_0xc79a86,_0x8036c6[_0x513e05(0x373)]=_0x26e4a4,_0x8036c6['WebURLService']=_0x39c7f7,Object[_0x513e05(0x226)](_0x8036c6,Symbol['toStringTag'],{'value':'Module'});}));
|
|
1
|
+
function _0x2cbe(){const _0x20862d=['entries','getMergeData','WebSocketService','univerjs-icon\x20univerjs-icon-','undoState','TRANSFORM_CHANGE_OBSERVABLE_TYPE','source','assignAColorForMemberID','post','REDEMPTION_INVALID_CODE','_drawTextRange','864335LzJAUN','Optional','color','unshift','makeDirty','memberID','engine','length','_scheduleHeartbeat','includes','CHANGESET_REVISION_CONFILICT','_docTransformStateCacheService','combineLatest','Inject','OTHER_CLIENT_EDITING','useObservable','_range','fillRule','roomMembers$','2008LvEXyL','Unknown\x20user','Warning','getLocalCacheKey','UniverSheetsUi','ISnapshotServerService','trim','getDocRanges','setAlpha','_docSkeletonManagerService','getMember','function','collabStatus.notCollab','lineTo','_registerDependencies','shift','addHandlerCallback','_backgroundColor','M0\x200H16V16H0z','debounce','_transformService','_unitStatus','Tooltip','setShapeProps','INVALID_ARGUMENT','CollaborationUIEventId','NO_OTHER_CLIENTS_EDITING','_releaseCalculationLimit','0\x200\x2016\x2016','_logService','_online','currentTheme$','_id','loadOfflineData','Error','YUUMI_ALL_TABLES_IS_INVALID','IConfigService','_labelPosition','ONLINE','history','_createSocketURL','@univerjs/ui','getParam','51741wCGrLJ','FromArray','AWAITING_WITH_PENDING','filter','row','_document','_initCommandExecutedListener','UniverCore','DATA_SOURCE_TOO_LARGE','unit','FETCH_MISS','_docSkeleton','_saveCache','MoveRangeCommandId','push','transformIMECache','m1Prime','_dataLoaderService','SheetSkeletonManagerService','_removeClearOtherTimer','currentUsage','exhaustSavingTask','isTransformMutationsWithChangesetSuccess','getformulaLimitStatusUrl','clearTimeout','ENTITLE_CHAT_LIMIT_EXCEED','height','next','bind','CollaborationEvent','evenodd','replaceDocRanges','INVALID_INVITE_CODE','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','DocSelectionManagerService','unitID','YUUMI_URL_COL_OUT_OF_RANGE','subscribeEvent','YUUMI_NO_CUBOID_FOR_QUESTION','isEditing','IBeforeCloseService','handleIRemoveRow','_getFormulaLimitStatus','enableFrontendLog','rxjs/operators','CollaborationStatus','uni.network.url-service','_initStatusListener','handleDeleteRangeMoveLeft','_configService','send','UniverInstanceType','init','ALREADY_EXISTS','arc','_handleJoinEvent','_scene','measureText','INTERNAL_ERROR','startColumn','UniverCollaborationClientPlugin','_cachedData','symbol','toDisposable','_checkAndWaitForCalculationPermission','ColorKit','maxFormulaLimit','collabStatus.conflict','type','_collabSessionService','MOBILE_VERIFY_CODE_MISMATCH','@univerjs-pro/collaboration','purple.300','_revisionService','_hideTimer','USER_IS_ANONYMOUS','debug','syncEditingCollabCursor','with','?taskId=','children','forEach','executeCommand','@univerjs/drawing','REDEMPTION_CODE_FULLY_REDEEMED','fill','WebBrowserSingleActiveUnitService','clsx','_session','registerRefRange','BrowserCollaborationSocketService','Plugin','roomMembers','@univerjs/docs-ui','unsubscribe','catch','_docStateChangeManagerService','UniverRpc','UPDATE_CURSOR','_sheetSkeletonManagerService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','location','UniverSheets','_textBubble','displayName','getActiveSheet','urlChange$','22ixpWvp','IUniverInstanceService','SessionStatus','REDEMPTION_CODE_HAS_BEEN_CREATED','getSheetId','focused$','NodePositionConvertToRectRange','dispose$','LOCAL_CACHE_INTERVAL','formula.calculation.waiting','green.600','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','CollaborationController','TOO_MANY_REQUESTS','hide','round','ERROR_AGAIN','_refreshCollabCursors','_transformPreviousActiveRange','getMemberID','activeSheet$','getUniverSheetInstance','LICENSE_EXPORT_SIZE_EXCEEDED','NOT_COLLAB','path','_collaborationController','textRanges','_ensureSubject','onRendered','UNIVER_SHEET','_handleEvent','stringify','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','triggerDblclick','TEXT','27903RWzRUT','_localeService','current','size','_taskIds','_cursor','pushState','OTHER_CLIENTS_EDITING','ENTITLE_REPORT_LIMIT_EXCEED','1em','collab-rect-range-','jiqing.500','getSheetObject','BehaviorSubject','getSheetBySheetId','UniverProCollaborationClient','UniverDocs','APPLY_REJECT','unload','defIds','CanceledError','INVITE_CODE_REQUIRED','runId','toString','column','_docTransformSelectionsService','REDEMPTION_USER_NOT_ELIGIBLE','_eventUnsubscribe','_initResize','getCurrentUnitForType','some','_beforeCloseService','ILocalCacheService','IRenderManagerService','_getMergeRange','UNIVER_DOC','USER_NOT_INVITED_CODE','_send','limitInfo','collabStatus.offline','_clearOtherTimers','_removeCollabCursors','getUnit','_syncEditingCollabCursorService','m2Prime','_initDependencies','override','debounceTime','OFFLINE','_context','YUUMI_ASYNCIO_CANCELLED','getUnitId','COMPLETION_FINISHED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','sheetID','AWAITING','replaceState','_hovered','univer-flex\x20univer-items-center','bottom','findNodePositionByCharIndex','RemoteUniscriptService','collaboration-client.offline-data-not-saved','getVpScrollXYInfoByPosToVp','collaboration-client-ui.config','complete','RemoveColCommandId','handleDeleteRangeMoveUp','handleIRemoveCol','url(#$1','_draw','string','wsSessionTicketUrl','getUndoRedoMutationParamsCache','DesktopCollaborationStatusDisplayController','ticket','onPointerLeave$','MUTATION','handleInsertRow','_currentUsage','text','collabCursorState$','44DQXjYN','_themeService','Disposable','ENSURE_SNAPSHOT_EXECUTION','off-line-icon_clip0_910_343','font','DataLoaderService','reason','getSkeleton','moveTo','IMessageService','_hover','YUUMI_RATE_OVER_LIMIT','deepClone','getUnitStatus$','_getScale','width','_handleHover','imageSourceType','_setupBeforeClosingHandler','_initStatusComponent','defineProperty','tag','unhandledrejection','APPLY_NON_SEQUENTIAL_REVISION','_assignedColors','SNAPSHOT_INVALID_SNAPSHOT','eventID','sheetId','@univerjs/design','sessionStatus$','onLocalMutation','_name','delete','beginPath','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','defs','_collaborationSessionService','cursorInfo$','_memberID','parseInt','addEventListener','registerComponent','getCurrent','_maxFormulaLimit','_getAnchorBounding','addObjects','DeleteRangeMoveUpCommandId','onStarting','add','find','getValue','docStateChange$','_docTransformIMECacheService','CONNECTOR_DATA_TOO_LARGE','_setFormulaLimitStatus','xlink:href','mutations','getActiveRange','COLORS','stage','useDependency','_onCursorUpdate','_roomMembers$','72uIEHcI','Failed','Rect','_onCursorDelete','setInterval','DocIMEInputManagerService','isArray','createElement','_scheduleClearOtherTimer','split','on-line-icon_clip0_910_349','NodePositionConvertToCursor','ITransformService','endColumn','LOCAL_CACHE_INTERVAL_KEY','Success','stageInfo','_cursorInfo$','isFormulaId','Subject','getStateCache','getRenderById','white','UnitStatus','DOC_RANGE_TYPE','_updateSubUnitFromURLParams','dispose','RevisionService','backgroundColor','FormulaExecuteStageType','_anchorDot','_monkeyPatchLogService','TEXT_RANGE_LAYER_INDEX','Workbook','mapTo','getCurrentRevOfUnit','setItem','ISocketService','_shapes','getCollabEntity$','throttleTime','SheetsSelectionsService','@univerjs/rpc','collab-text-range-','addObject','SUBMIT_CHANGESET_TIMEOUT','DisposableCollection','fromEvent','_render','setParam','handleInsertCol','get','YUUMI_SUBSCRIPTION_NOT_FOUND','Vector2','/universer-api/license/formula/limit/done','setTimeout','getCellPositionByOffset','resize','onPointerMove$','CollaborationDataLoaderController','_docClipboardService','handleInsertRangeMoveRight','href','createIdentifier','merge','UniverDesign','doc.mutation.rich-text-editing','LICENSE_IMPORT_SIZE_EXCEEDED','JOIN_ROOM_FAILED','collaboration.closeRoom','invokeId','_collabCursorController','Injector','toRgbString','searchParams','InsertRowCommandId','result','params','data','ICommandService','redoState','SetFormulaCalculationStartMutation','getTypeOfUnitAdded$','1179980lNbXMf','removeEventListener','Tools','UniverProCollaborationClientUi','getRangePointData','MOBILE_HAS_BEEN_BOUND','OnLineIcon','save','_httpService','_disabled','_startDocCollabCursor','setStateCache','/universer-api/frontend/logs','PAYMENT_CHANNEL_NOT_SUPPORT','RxDisposable','code','/universer-api/license/formula/limit/status','transformMutationsWithChangeset','event$','_cursorShapes','top','_univerInstanceService','saveTaskMap','session.connection-failed','hovered','CollaborationSessionService','_status$','_toggleOnline','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','url(#off-line-icon_clip0_910_343)','0\x200\x2017\x2016','clearInterval','_injector','_clearPolling','RECT','LICENSE_DISTRO_REJECTED','connectInjector','getOwnPropertyDescriptor','#FFF','EMAIL_VERIFY_CODE_MISMATCH','collabStatus.syncing','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','executionId','createInstance','react/jsx-runtime','getTypeOfUnitDisposed$','PENDING','idSuffix','_initEntityListener','SetDocZoomRatioOperation','PERMISSION_DENIED','newValue','getCollabCursors$','cursorInfo','mask','whenReady','off-line-icon','popstate','_scheduleSaving','runOnServer','replace','_init','_getSessionTicket','setUndoRedoMutationParamsCache','@univerjs/core','IRemoteInstanceService','@univerjs/sheets-ui','set','_getSaveTimeout','_uploadLog','url(#on-line-icon_clip0_910_349)','DependentOn','_lastResponseTimestamp','ENTITLE_CAN_NOT_BUY_LOWER_OTP','serializeRangeWithSheet','INVITE_CODE_HAS_BEEN_UES','getColor','LOGIN_TOKEN_PROCESSING_FAILED','...','_pollingInterval','now','getColorFromTheme','_initUserListener','attrs','DEFAULT_WS_SESSION_TICKET_URL','SOCKET_FAILED_RETRY','transformStateCache','startsWith','selections','currentColor','1568436hVimfS','_instanceService','lineno','REDEMPTION_CODE_INACTIVE','/universer-api/license/formula/limit/start','totalFormulasToCalculate','@univerjs/sheets','UNAUTHENTICATED','transformRemoteChangeset','skeleton','_messageService','/run/','IDocClipboardService','forwardRef','UniverNetwork','LOGIN_FAILED','WebURLService','AUTHORIZE_CODE_ILLEGAL','updateOfflineData','YUUMI_AI_RUN_FAILED','_applyCommand','collaboration.single-unit.warning','currentSkeleton$','_color','yellow.400','subunit','_initUnhandledRejectionListener','DocStateChangeManagerService','range','getRelativeToViewportCoord','registerBeforeClose','_entities','_cursors','_transformHistoryAndStateStack','clipPath','actions','_docSyncEditingCollabCursorService','then','http://www.w3.org/2000/svg','ranges','isTransformMutationFailure','_memberService','ILocalStorageService','406795WAtdYm','YUUMI_TABLE_NOT_FOUND_IN_UNIT','getCellMatrix','DeleteRangeMoveLeftCommandId','CollaborationUIEventService','disableLocalCache','Loading','_hasFormulaInDirtyRanges','blue.400','CONFLICT','UniverIcon','INVITE_CODE_ALREADY_BOUND','_collaborationUIEventService','BuiltInUIPart','permission.content','startRow','_localStorageService','getAncestorScale','transform','Rectangle','translate(.97)','socket$','getViewport','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','ACTIVE_UNIT_EVENT_CHANNEL','UNDEFINED','SetTextSelectionsOperation','colorChannel1','collab-text-anchor-','SetWorksheetActivateCommand','Module','_commandService','asObservable','onCommandExecuted','Shape','SUCCESS','InsertRangeMoveDownCommandId','releaseFormulaLimitUrl','mergeOverrideWithDependencies','restore','_saveTaskMap','@univerjs/engine-formula','_entityInit$','PY_RUNTIME_SCRIPT_ERROR','map','drawWith','_anchor','UniverEngineRender','28Xcddgl','origin','_collabCursorState$','_imageIoService','fromEventSubject','_heartbeatTimer','_initEvent','_localCacheService','@univerjs/network','touchDependencies','endRow','onTransformChange$','UniverDrawing','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_transformUndoRedoStack','_selfUnitIDs','isActive','UniverCollaborationClientUIPlugin','_toggleOffline','getFocusedUnit','getConfig','CommandType','assign','_showGuardMessage','getCurrentSelections','[Window\x20Error]:\x20','NOT_FOUND','IURLService','CLOSE_ROOM','onMouseMove','APPLY_PERMISSION_DENIED','transformMutation','APPLY_REVISION_CONFILICT','ENTITLE_DUP_SUBSCRIPTION','body','random','[RemoteUniscriptService]:\x20no\x20focused\x20unit','addClipboardHook','show','entityInit$','_colorAssignService','_updateCollabCursors','_lastPointer','deserializeRangeWithSheet','_updateLocalCursor','pipe','removeParam','name','rxjs','registerDependencies','_unitOnClients','[CollaborationDataLoaderController]','_startSheetCollabCursor','loadUnit','_drawRectRange','handleMoveRange','HTTPService','message','unitId','17385888tUVCWm','subUnitId','collabStatus.synced','error','SetSelectionsOperation','generateRandomId','[Unhandled\x20Rejection]:\x20','DocSkeletonManagerService','_urlService','RegularPolygon','disposeWithMe','_checkCalculationAvailable','black','enableLocalCache','YUUMI_UNABLE_LOAD_URL','LocaleService','values','UniverProCollaboration','colno','_refRangeService','subscribe','session.collaboration-timeout','getCoordByCell','jsx','react','React','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','SheetCollabCursorShape','UNRECOGNIZED','selection','onPointerEnter$','max','transformSelections','_uiPartsService','CURRENT_STATUS_CANNOT_OPERATE','useCallback','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_renderManagerService','amd','join','UniverUi','getUnhiddenWorksheets','HEADER_MENU','_colorIndex','_handleLeaveEvent','EMAIL_HAS_BEEN_BOUND','_initCommandInterceptor','switchMap','toStringTag','RemoveRowCommandId','_drawAnchor','CollaborationSocketService','APPLY_DUPLICATED','svg','REDEMPTION_USER_REDEEM_TIMES_EXCEED','has','_registerRenderDependencies','ENTITLE_INSUFFICIENT_QUOTA','_setupSubUnitSync','registerRenderModule','ENTITLE_NEED_BILLING_ADDRESS','takeUntil','div','_updateURLWithCurrentState','saveOfflineData','SYNCED','none','MessageType','_config','MemberService','requireSession','disposeUnit','SetFormulaCalculationNotificationMutation','WECHAT_HAS_BEEN_BOUND','VIEW_MAIN','useRef','EffectRefRangId','key','[LogService\x20Error]:\x20','ILogService','\x20at\x20','from','DocCollaborationEntity','getOffsetConfig'];_0x2cbe=function(){return _0x20862d;};return _0x2cbe();}function _0x35b2(_0x1928cb,_0xd0ca41){const _0x2cbe44=_0x2cbe();return _0x35b2=function(_0x35b274,_0x5ae71d){_0x35b274=_0x35b274-0xed;let _0x257ffb=_0x2cbe44[_0x35b274];return _0x257ffb;},_0x35b2(_0x1928cb,_0xd0ca41);}(function(_0x1bd9e0,_0x43cef4){const _0x30717d=_0x35b2,_0x43b998=_0x1bd9e0();while(!![]){try{const _0x52fa89=-parseInt(_0x30717d(0x26c))/0x1+parseInt(_0x30717d(0x3ca))/0x2*(-parseInt(_0x30717d(0x338))/0x3)+-parseInt(_0x30717d(0x38a))/0x4*(-parseInt(_0x30717d(0x1a0))/0x5)+-parseInt(_0x30717d(0x175))/0x6*(-parseInt(_0x30717d(0x1d0))/0x7)+parseInt(_0x30717d(0x27f))/0x8*(parseInt(_0x30717d(0x2aa))/0x9)+-parseInt(_0x30717d(0x11b))/0xa*(-parseInt(_0x30717d(0x315))/0xb)+-parseInt(_0x30717d(0x20c))/0xc;if(_0x52fa89===_0x43cef4)break;else _0x43b998['push'](_0x43b998['shift']());}catch(_0x2bde34){_0x43b998['push'](_0x43b998['shift']());}}}(_0x2cbe,0xed335),function(_0x3f5093,_0x57b85f){const _0x4cbcd6=_0x35b2;typeof exports=='object'&&typeof module<'u'?_0x57b85f(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==_0x4cbcd6(0x28a)&&define[_0x4cbcd6(0x233)]?define(['exports',_0x4cbcd6(0x147),'@univerjs-pro/collaboration-client',_0x4cbcd6(0x15b),_0x4cbcd6(0x2a8),_0x4cbcd6(0x201),_0x4cbcd6(0x3a7),_0x4cbcd6(0x224),_0x4cbcd6(0xf2),_0x4cbcd6(0x17b),'@univerjs/engine-render',_0x4cbcd6(0x1d8),_0x4cbcd6(0x307),_0x4cbcd6(0x2fd),_0x4cbcd6(0x2f1),'@univerjs/docs',_0x4cbcd6(0x1c9),_0x4cbcd6(0x2d6),_0x4cbcd6(0x15d)],_0x57b85f):(_0x3f5093=typeof globalThis<'u'?globalThis:_0x3f5093||self,_0x57b85f(_0x3f5093[_0x4cbcd6(0x11e)]={},_0x3f5093[_0x4cbcd6(0x225)],_0x3f5093[_0x4cbcd6(0x347)],_0x3f5093[_0x4cbcd6(0x2b1)],_0x3f5093[_0x4cbcd6(0x235)],_0x3f5093[_0x4cbcd6(0x201)],_0x3f5093[_0x4cbcd6(0x109)],_0x3f5093[_0x4cbcd6(0x225)],_0x3f5093[_0x4cbcd6(0x30b)],_0x3f5093[_0x4cbcd6(0x310)],_0x3f5093[_0x4cbcd6(0x1cf)],_0x3f5093[_0x4cbcd6(0x183)],_0x3f5093['UniverDocsUi'],_0x3f5093[_0x4cbcd6(0x1dc)],_0x3f5093[_0x4cbcd6(0x21d)],_0x3f5093[_0x4cbcd6(0x348)],_0x3f5093['UniverEngineFormula'],_0x3f5093[_0x4cbcd6(0x201)]['operators'],_0x3f5093[_0x4cbcd6(0x283)]));}(this,function(_0x159e3d,_0xa7982b,_0x27635d,_0xfde5a2,_0x1dd723,_0x52a223,_0x2eee56,_0x450fbb,_0x56983f,_0x44123e,_0x12ef37,_0x47e21f,_0x5f2683,_0x1c297c,_0x1d08ae,_0x3c17d2,_0x2d45f6,_0x4871f9,_0x209116){'use strict';const _0x31f2ea=_0x35b2;var _0xcd0f72=Object[_0x31f2ea(0x39f)],_0x1fa59c=(_0x3251fc,_0x42f1e9,_0x2d18f4)=>_0x42f1e9 in _0x3251fc?_0xcd0f72(_0x3251fc,_0x42f1e9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2d18f4}):_0x3251fc[_0x42f1e9]=_0x2d18f4,_0x25ee06=(_0x3f7b5b,_0x277959,_0x24953f)=>_0x1fa59c(_0x3f7b5b,typeof _0x277959!=_0x31f2ea(0x2e8)?_0x277959+'':_0x277959,_0x24953f);function _0x583906({ref:_0x52652f,..._0x245b17}){const _0x26ac20=_0x31f2ea,{icon:_0x22cdec,id:_0x1b8bf5,className:_0x117fb8,extend:_0x3c110a,..._0x2e51d4}=_0x245b17,_0xc39000=(_0x26ac20(0x264)+_0x1b8bf5+'\x20'+(_0x117fb8||''))[_0x26ac20(0x285)](),_0x1ee365=_0x450fbb[_0x26ac20(0x258)]('_'+_0x15600d());return _0x461751(_0x22cdec,''+_0x1b8bf5,{'defIds':_0x22cdec[_0x26ac20(0x34b)],'idSuffix':_0x1ee365[_0x26ac20(0x33a)]},{'ref':_0x52652f,'className':_0xc39000,..._0x2e51d4},_0x3c110a);}function _0x461751(_0x4e0672,_0x4b774b,_0x161c1d,_0xcb15e1,_0x2e75b3){const _0xb01dfe=_0x31f2ea;return _0x450fbb[_0xb01dfe(0x3d1)](_0x4e0672['tag'],{'key':_0x4b774b,..._0x298aef(_0x4e0672,_0x161c1d,_0x2e75b3),..._0xcb15e1},(_0x4fabfe(_0x4e0672,_0x161c1d)[_0xb01dfe(0x2fa)]||[])[_0xb01dfe(0x1cc)]((_0x52dd1c,_0x3928b7)=>_0x461751(_0x52dd1c,_0x4b774b+'-'+_0x4e0672['tag']+'-'+_0x3928b7,_0x161c1d,void 0x0,_0x2e75b3)));}function _0x298aef(_0x4f75fe,_0x4c9b32,_0x3f4826){const _0x3e9df2=_0x31f2ea,_0x4ea38c={..._0x4f75fe['attrs']};_0x3f4826!=null&&_0x3f4826[_0x3e9df2(0x1bb)]&&_0x4ea38c[_0x3e9df2(0x2ff)]===_0x3e9df2(0x1bb)&&(_0x4ea38c[_0x3e9df2(0x2ff)]=_0x3f4826[_0x3e9df2(0x1bb)]),_0x4f75fe['tag']===_0x3e9df2(0x151)&&_0x4ea38c['id']&&(_0x4ea38c['id']=_0x4ea38c['id']+_0x4c9b32[_0x3e9df2(0x14a)]),Object['entries'](_0x4ea38c)['forEach'](([_0x366673,_0x4db62f])=>{const _0x5d782c=_0x3e9df2;_0x366673===_0x5d782c(0x151)&&typeof _0x4db62f==_0x5d782c(0x37f)&&(_0x4ea38c[_0x366673]=_0x4db62f[_0x5d782c(0x157)](/url\(#(.*)\)/,_0x5d782c(0x37d)+_0x4c9b32[_0x5d782c(0x14a)]+')'));});const {defIds:_0x1dacb0}=_0x4c9b32;return!_0x1dacb0||_0x1dacb0[_0x3e9df2(0x273)]===0x0||(_0x4f75fe[_0x3e9df2(0x3a0)]==='use'&&_0x4ea38c[_0x3e9df2(0x3c2)]&&(_0x4ea38c[_0x3e9df2(0x3c2)]=_0x4ea38c['xlink:href']+_0x4c9b32[_0x3e9df2(0x14a)]),Object[_0x3e9df2(0x261)](_0x4ea38c)['forEach'](([_0x18e034,_0xb42c71])=>{const _0x50776a=_0x3e9df2;typeof _0xb42c71=='string'&&(_0x4ea38c[_0x18e034]=_0xb42c71['replace'](/url\(#(.*)\)/,'url(#$1'+_0x4c9b32[_0x50776a(0x14a)]+')'));})),_0x4ea38c;}function _0x4fabfe(_0x414e60,_0x94071e){const _0x3bcf89=_0x31f2ea;var _0x242743;const {defIds:_0x177d98}=_0x94071e;return!_0x177d98||_0x177d98[_0x3bcf89(0x273)]===0x0?_0x414e60:_0x414e60[_0x3bcf89(0x3a0)]===_0x3bcf89(0x3ae)&&((_0x242743=_0x414e60[_0x3bcf89(0x2fa)])!=null&&_0x242743['length'])?{..._0x414e60,'children':_0x414e60[_0x3bcf89(0x2fa)]['map'](_0x5ba747=>typeof _0x5ba747['attrs']['id']==_0x3bcf89(0x37f)&&_0x177d98&&_0x177d98[_0x3bcf89(0x275)](_0x5ba747['attrs']['id'])?{..._0x5ba747,'attrs':{..._0x5ba747['attrs'],'id':_0x5ba747[_0x3bcf89(0x16e)]['id']+_0x94071e[_0x3bcf89(0x14a)]}}:_0x5ba747)}:_0x414e60;}function _0x15600d(){const _0x21b582=_0x31f2ea;return Math[_0x21b582(0x1f4)]()[_0x21b582(0x34f)](0x24)['substring'](0x2,0x8);}_0x583906['displayName']=_0x31f2ea(0x1aa);const _0x48c202={'tag':_0x31f2ea(0x242),'attrs':{'xmlns':_0x31f2ea(0x19b),'fill':_0x31f2ea(0x24f),'viewBox':_0x31f2ea(0x29b),'width':_0x31f2ea(0x341),'height':_0x31f2ea(0x341)},'children':[{'tag':'g','attrs':{'clipPath':_0x31f2ea(0x138)},'children':[{'tag':'path','attrs':{'stroke':_0x31f2ea(0x174),'d':_0x31f2ea(0x3ad),'strokeLinecap':_0x31f2ea(0x324),'strokeLinejoin':_0x31f2ea(0x324),'strokeWidth':1.2}}]},{'tag':_0x31f2ea(0x3ae),'attrs':{},'children':[{'tag':_0x31f2ea(0x197),'attrs':{'id':_0x31f2ea(0x38e)},'children':[{'tag':_0x31f2ea(0x32d),'attrs':{'fill':_0x31f2ea(0x3e0),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x31f2ea(0x38e)]},_0x2ccef3=_0x450fbb[_0x31f2ea(0x182)](function(_0x29cdaa,_0x57f2ff){const _0x446e6e=_0x31f2ea;return _0x450fbb[_0x446e6e(0x3d1)](_0x583906,Object[_0x446e6e(0x1e7)]({},_0x29cdaa,{'id':_0x446e6e(0x153),'ref':_0x57f2ff,'icon':_0x48c202}));});_0x2ccef3[_0x31f2ea(0x312)]='OffLineIcon';const _0x1de48c={'tag':'svg','attrs':{'xmlns':_0x31f2ea(0x19b),'fill':_0x31f2ea(0x24f),'viewBox':_0x31f2ea(0x139),'width':_0x31f2ea(0x341),'height':_0x31f2ea(0x341)},'children':[{'tag':'g','attrs':{'clipPath':_0x31f2ea(0x161)},'children':[{'tag':'path','attrs':{'stroke':_0x31f2ea(0x174),'d':_0x31f2ea(0x335),'strokeLinecap':_0x31f2ea(0x324),'strokeLinejoin':_0x31f2ea(0x324),'strokeWidth':1.2}}]},{'tag':_0x31f2ea(0x3ae),'attrs':{},'children':[{'tag':_0x31f2ea(0x197),'attrs':{'id':_0x31f2ea(0x3d4)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x31f2ea(0x291),'transform':_0x31f2ea(0x1b4)}}]}]}],'defIds':[_0x31f2ea(0x3d4)]},_0x3ac156=_0x450fbb['forwardRef'](function(_0x50a057,_0x590104){const _0x3ca06f=_0x31f2ea;return _0x450fbb[_0x3ca06f(0x3d1)](_0x583906,Object[_0x3ca06f(0x1e7)]({},_0x50a057,{'id':'on-line-icon','ref':_0x590104,'icon':_0x1de48c}));});_0x3ac156[_0x31f2ea(0x312)]=_0x31f2ea(0x121);function _0x3c6603(_0x55e596){const _0x41ae8d=_0x31f2ea;switch(_0x55e596){case _0x27635d[_0x41ae8d(0x2d7)][_0x41ae8d(0x368)]:return _0x41ae8d(0x35f);case _0x27635d[_0x41ae8d(0x2d7)][_0x41ae8d(0x1a9)]:return _0x41ae8d(0x2ed);case _0x27635d[_0x41ae8d(0x2d7)][_0x41ae8d(0x2b4)]:return'collabStatus.fetchMiss';case _0x27635d[_0x41ae8d(0x2d7)]['NOT_COLLAB']:return _0x41ae8d(0x28b);case _0x27635d[_0x41ae8d(0x2d7)][_0x41ae8d(0x36f)]:case _0x27635d[_0x41ae8d(0x2d7)][_0x41ae8d(0x2ac)]:return _0x41ae8d(0x143);case _0x27635d['CollaborationStatus'][_0x41ae8d(0x24e)]:case _0x27635d['CollaborationStatus'][_0x41ae8d(0x149)]:return _0x41ae8d(0x20e);}}function _0x1976a1(_0xa886f7){const _0x4a9a4e=_0x31f2ea,{status$:_0x4640a0}=_0xa886f7,_0x5b9f71=_0x1dd723[_0x4a9a4e(0x27b)](_0x4640a0,_0x27635d['CollaborationStatus'][_0x4a9a4e(0x32c)]),_0x2bb235=_0x1dd723[_0x4a9a4e(0x3c7)](_0xfde5a2[_0x4a9a4e(0x21b)]),_0x48c092=_0x1dd723['useDependency'](_0x27635d[_0x4a9a4e(0x134)]),_0x5699a0=_0x5b9f71!==_0x27635d[_0x4a9a4e(0x2d7)][_0x4a9a4e(0x368)],_0x2168fa=_0x2bb235['t'](_0x3c6603(_0x5b9f71)),_0x49a609=_0x5699a0?_0xa7982b[_0x4a9a4e(0x223)](_0x3ac156,{}):_0xa7982b[_0x4a9a4e(0x223)](_0x2ccef3,{}),_0x15f2f3=_0x450fbb[_0x4a9a4e(0x230)](()=>{_0x5699a0||_0x48c092['reconnect']();},[_0x5699a0,_0x48c092]);function _0x16e3ab(){const _0x53777a=_0x4a9a4e;return _0xa7982b['jsxs'](_0x53777a(0x24b),{'className':_0x53777a(0x372),'onClick':_0x15f2f3,'children':[_0xa7982b[_0x53777a(0x223)](_0x53777a(0x24b),{'className':_0x2eee56[_0x53777a(0x301)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x5699a0,'univer-text-red-500':!_0x5699a0}),'children':_0x49a609}),_0xa7982b['jsx'](_0x53777a(0x24b),{'className':_0x53777a(0x30e),'children':_0x2168fa})]});}return _0x5699a0?_0x16e3ab():_0xa7982b['jsx'](_0x2eee56[_0x4a9a4e(0x295)],{'title':_0x2bb235['t']('collab-client.tooltip.reconnect'),'children':_0x16e3ab()});}var _0x1c59f8=Object[_0x31f2ea(0x140)],_0x484a5e=(_0x2607b7,_0xdcf6f2,_0x3f3a71,_0xc3a318)=>{const _0x16d137=_0x31f2ea;for(var _0x4bc8ca=_0xc3a318>0x1?void 0x0:_0xc3a318?_0x1c59f8(_0xdcf6f2,_0x3f3a71):_0xdcf6f2,_0x4db3ca=_0x2607b7[_0x16d137(0x273)]-0x1,_0x195169;_0x4db3ca>=0x0;_0x4db3ca--)(_0x195169=_0x2607b7[_0x4db3ca])&&(_0x4bc8ca=_0x195169(_0x4bc8ca)||_0x4bc8ca);return _0x4bc8ca;},_0x2697a9=(_0x48daa1,_0x70e310)=>(_0x13f512,_0x50b3b9)=>_0x70e310(_0x13f512,_0x50b3b9,_0x48daa1);_0x159e3d['DesktopCollaborationStatusDisplayController']=class extends _0xfde5a2['Disposable']{constructor(_0x40afec,_0x33c64e,_0x2a3c6a,_0x575341){const _0x1d04c9=_0x31f2ea;super(),_0x25ee06(this,_0x1d04c9(0x135),new _0x52a223['BehaviorSubject'](_0x27635d[_0x1d04c9(0x2d7)]['NOT_COLLAB'])),(this[_0x1d04c9(0x130)]=_0x40afec,this['_injector']=_0x33c64e,this[_0x1d04c9(0x32e)]=_0x2a3c6a,this[_0x1d04c9(0x22e)]=_0x575341,this['_initStatusComponent'](),this[_0x1d04c9(0x2d9)]());}['_initStatusListener'](){const _0x5ee14f=_0x31f2ea;this[_0x5ee14f(0x216)](this['_univerInstanceService'][_0x5ee14f(0x31a)][_0x5ee14f(0x1fe)](_0x52a223[_0x5ee14f(0x23c)](()=>{const _0x19deb0=_0x5ee14f,_0x39ce3a=this[_0x19deb0(0x130)][_0x19deb0(0x1e4)]();return _0x39ce3a?this[_0x19deb0(0x32e)][_0x19deb0(0xef)](_0x39ce3a[_0x19deb0(0x36b)]()):_0x52a223['of'](null);}),_0x52a223[_0x5ee14f(0x23c)](_0x13dc08=>_0x13dc08?_0x13dc08['status$']:_0x52a223['of'](_0x27635d[_0x5ee14f(0x2d7)][_0x5ee14f(0x32c)])))[_0x5ee14f(0x220)](_0x49b6f9=>{this['_status$']['next'](_0x49b6f9);}));}[_0x31f2ea(0x39e)](){const _0x5efd24=_0x31f2ea;this[_0x5efd24(0x216)](this['_uiPartsService'][_0x5efd24(0x3b4)](_0x1dd723[_0x5efd24(0x1ad)][_0x5efd24(0x237)],()=>_0x1dd723[_0x5efd24(0x13f)](_0x5e4d0c({'status$':this[_0x5efd24(0x135)]['asObservable']()}),this[_0x5efd24(0x13b)])));}},_0x159e3d['DesktopCollaborationStatusDisplayController']=_0x484a5e([_0x2697a9(0x0,_0xfde5a2['IUniverInstanceService']),_0x2697a9(0x1,_0xfde5a2[_0x31f2ea(0x279)](_0xfde5a2['Injector'])),_0x2697a9(0x2,_0xfde5a2[_0x31f2ea(0x279)](_0x27635d[_0x31f2ea(0x321)])),_0x2697a9(0x3,_0x1dd723['IUIPartsService'])],_0x159e3d[_0x31f2ea(0x382)]);function _0x5e4d0c(_0x38cfea){const {status$:_0x5b18b5}=_0x38cfea;return function(){return _0xa7982b['jsx'](_0x1976a1,{'status$':_0x5b18b5});};}const _0x4e0db9=_0xfde5a2[_0x31f2ea(0x107)](_0x31f2ea(0x2d8));var _0x341cee=Object[_0x31f2ea(0x140)],_0x18a561=(_0x2c94ee,_0x5ded7c,_0x9cfc3b,_0x312461)=>{const _0x14d555=_0x31f2ea;for(var _0x4548bb=_0x312461>0x1?void 0x0:_0x312461?_0x341cee(_0x5ded7c,_0x9cfc3b):_0x5ded7c,_0x3294df=_0x2c94ee[_0x14d555(0x273)]-0x1,_0x3717b5;_0x3294df>=0x0;_0x3294df--)(_0x3717b5=_0x2c94ee[_0x3294df])&&(_0x4548bb=_0x3717b5(_0x4548bb)||_0x4548bb);return _0x4548bb;},_0x573b83=(_0x5f20a1,_0x2d4453)=>(_0x2fc5ab,_0x1e0be2)=>_0x2d4453(_0x2fc5ab,_0x1e0be2,_0x5f20a1);_0x159e3d[_0x31f2ea(0x103)]=class extends _0xfde5a2['RxDisposable']{constructor(_0x14e563,_0x229afb,_0xc0b95b,_0x1dadec,_0x4077ee){const _0x4e1ac7=_0x31f2ea;super(),this[_0x4e1ac7(0x214)]=_0x14e563,this[_0x4e1ac7(0x29c)]=_0x229afb,this[_0x4e1ac7(0x1bf)]=_0xc0b95b,this[_0x4e1ac7(0x2bb)]=_0x1dadec,_0x4077ee?_0x4077ee==null||_0x4077ee[_0x4e1ac7(0x152)]()[_0x4e1ac7(0x19a)](()=>this['_init']()):(this[_0x4e1ac7(0x29c)][_0x4e1ac7(0x2f6)](_0x4e1ac7(0x204),_0x4e1ac7(0x320)),this[_0x4e1ac7(0x158)]());}async[_0x31f2ea(0x158)](){const _0x18337e=_0x31f2ea,_0x14b2ff=this[_0x18337e(0x214)][_0x18337e(0x2a9)](_0x18337e(0x2b3)),_0x1b465f=this['_urlService'][_0x18337e(0x2a9)](_0x18337e(0x2ee)),_0x4d36e6=this[_0x18337e(0x214)][_0x18337e(0x2a9)](_0x18337e(0x18e));if(!_0x14b2ff||!_0x1b465f){this[_0x18337e(0x29c)][_0x18337e(0x2f6)](_0x18337e(0x204),_0x18337e(0x226));return;}const _0x15b99f=await this[_0x18337e(0x2bb)][_0x18337e(0x206)](_0x14b2ff,Number(_0x1b465f),_0x4d36e6);_0x15b99f&&_0x15b99f instanceof _0xfde5a2[_0x18337e(0x3eb)]&&this[_0x18337e(0x247)](_0x15b99f);}async[_0x31f2ea(0x247)](_0x2ce0c6){const _0xcbf1d6=_0x31f2ea;await this[_0xcbf1d6(0x3e3)](_0x2ce0c6),_0x2ce0c6[_0xcbf1d6(0x329)][_0xcbf1d6(0x1fe)](_0x52a223[_0xcbf1d6(0x24a)](this[_0xcbf1d6(0x31c)]))[_0xcbf1d6(0x220)](_0x572a79=>{_0x572a79&&this['_updateURLWithCurrentState'](_0x572a79);}),this[_0xcbf1d6(0x214)][_0xcbf1d6(0x314)]['pipe'](_0x52a223[_0xcbf1d6(0x24a)](this[_0xcbf1d6(0x31c)]))[_0xcbf1d6(0x220)](()=>this[_0xcbf1d6(0x3e3)](_0x2ce0c6));}[_0x31f2ea(0x24c)](_0x19aefb,_0x6df225=!0x1){const _0x198d76=_0x31f2ea,_0xbfad99=this[_0x198d76(0x214)]['getParam'](_0x198d76(0x18e));_0x19aefb[_0x198d76(0x319)]()!==_0xbfad99&&this[_0x198d76(0x214)]['setParam'](_0x198d76(0x18e),_0x19aefb[_0x198d76(0x319)](),_0x6df225);}async[_0x31f2ea(0x3e3)](_0x17fc21){const _0x5a0711=_0x31f2ea;var _0x2b2551;const _0x24cace=this[_0x5a0711(0x214)][_0x5a0711(0x2a9)](_0x5a0711(0x18e));if(!_0x24cace||!_0x17fc21[_0x5a0711(0x346)](_0x24cace)){const _0x169fa7=_0x17fc21[_0x5a0711(0x236)]()[0x0],_0x1cc305=_0x17fc21[_0x5a0711(0x346)](_0x169fa7);if(!_0x1cc305)return;this[_0x5a0711(0x24c)](_0x1cc305,!0x0),await this[_0x5a0711(0x1bf)]['executeCommand'](_0x44123e[_0x5a0711(0x1bd)]['id'],{'unitId':_0x17fc21[_0x5a0711(0x36b)](),'subUnitId':_0x169fa7});return;}((_0x2b2551=_0x17fc21[_0x5a0711(0x313)]())==null?void 0x0:_0x2b2551['getSheetId']())!==_0x24cace&&await this[_0x5a0711(0x1bf)]['executeCommand'](_0x44123e[_0x5a0711(0x1bd)]['id'],{'unitId':_0x17fc21[_0x5a0711(0x36b)](),'subUnitId':_0x24cace});}},_0x159e3d[_0x31f2ea(0x103)]=_0x18a561([_0x573b83(0x0,_0x4e0db9),_0x573b83(0x1,_0xfde5a2['ILogService']),_0x573b83(0x2,_0xfde5a2[_0x31f2ea(0x117)]),_0x573b83(0x3,_0xfde5a2[_0x31f2ea(0x279)](_0x27635d[_0x31f2ea(0x390)])),_0x573b83(0x4,_0xfde5a2[_0x31f2ea(0x26d)](_0x56983f[_0x31f2ea(0x15c)]))],_0x159e3d[_0x31f2ea(0x103)]);var _0x32fc62=Object[_0x31f2ea(0x140)],_0x5a7a5d=(_0x207a79,_0x4607e4,_0x24f244,_0x11d2ee)=>{for(var _0x9416c5=_0x11d2ee>0x1?void 0x0:_0x11d2ee?_0x32fc62(_0x4607e4,_0x24f244):_0x4607e4,_0xa2e9fd=_0x207a79['length']-0x1,_0x15fae8;_0xa2e9fd>=0x0;_0xa2e9fd--)(_0x15fae8=_0x207a79[_0xa2e9fd])&&(_0x9416c5=_0x15fae8(_0x9416c5)||_0x9416c5);return _0x9416c5;},_0x742dfd=(_0xe7ea15,_0x11a699)=>(_0x2b13a0,_0x2f457c)=>_0x11a699(_0x2b13a0,_0x2f457c,_0xe7ea15);let _0x5c2270=class extends _0xfde5a2[_0x31f2ea(0x129)]{constructor(_0x19b7d3,_0x2b0fa3){const _0x1dd398=_0x31f2ea;super(),this[_0x1dd398(0x104)]=_0x19b7d3,this[_0x1dd398(0x1d3)]=_0x2b0fa3,this[_0x1dd398(0x158)]();}[_0x31f2ea(0x158)](){const _0x3f203e=_0x31f2ea,_0x48951a=this;this[_0x3f203e(0x216)](this[_0x3f203e(0x104)][_0x3f203e(0x1f6)]({'onBeforePasteImage':async _0x421dcc=>{const _0x7d22c0=_0x3f203e,_0x532e0c=await _0x48951a[_0x7d22c0(0x1d3)]['saveImage'](_0x421dcc);return _0x532e0c?{'source':_0x532e0c[_0x7d22c0(0x267)],'imageSourceType':_0x532e0c[_0x7d22c0(0x39c)]}:null;}}));}};_0x5c2270=_0x5a7a5d([_0x742dfd(0x0,_0x5f2683[_0x31f2ea(0x181)]),_0x742dfd(0x1,_0x1c297c['IImageIoService'])],_0x5c2270);const _0x25aa62=[_0x31f2ea(0x2f2),_0x31f2ea(0x343),_0x31f2ea(0x31f),'red.300',_0x31f2ea(0x1a8),_0x31f2ea(0x18d)];class _0x55865d extends _0xfde5a2[_0x31f2ea(0x38c)]{constructor(){const _0x4327bb=_0x31f2ea;super(...arguments),_0x25ee06(this,_0x4327bb(0x3a3),new Map()),_0x25ee06(this,_0x4327bb(0x238),0x0);}[_0x31f2ea(0x268)](_0x113d87){const _0x179cfc=_0x31f2ea;if(this[_0x179cfc(0x3a3)][_0x179cfc(0x244)](_0x113d87))return this[_0x179cfc(0x3a3)]['get'](_0x113d87);const _0x3aac65=_0x25aa62[this['_colorIndex']];return this[_0x179cfc(0x238)]=(this[_0x179cfc(0x238)]+0x1)%_0x25aa62['length'],this[_0x179cfc(0x3a3)][_0x179cfc(0x15e)](_0x113d87,_0x3aac65),_0x3aac65;}}function _0x140aaa(_0x57b61c){const _0x5d780f=_0x31f2ea;let _0x14a282='';for(const _0x39ac23 of _0x57b61c){const {startOffset:_0x922edd,endOffset:_0x3eb5f2,isActive:_0x116ea0,rangeType:_0x300fa6,segmentId:_0x2367a0,segmentPage:_0x4fee3c}=_0x39ac23;_0x14a282[_0x5d780f(0x273)]&&(_0x14a282+=','),_0x14a282+=_0x922edd+':'+_0x3eb5f2+':'+(_0x116ea0?'1':'0')+':'+_0x300fa6+':'+_0x2367a0+':'+_0x4fee3c;}return _0x14a282;}function _0x2d5ac9(_0x13571d){const _0x374df9=_0x31f2ea,_0x1ac6e8=_0x13571d[_0x374df9(0x3d3)](','),_0x4dc827=[];for(const _0x2761f2 of _0x1ac6e8){const [_0x4d681c,_0x39875b,_0x1dab18,_0x337768,_0x7847f4,_0x5d3856]=_0x2761f2[_0x374df9(0x3d3)](':');_0x4dc827[_0x374df9(0x2b8)]({'startOffset':Number(_0x4d681c),'endOffset':Number(_0x39875b),'collapsed':_0x4d681c===_0x39875b,'isActive':_0x1dab18==='1','rangeType':_0x337768===_0xfde5a2['DOC_RANGE_TYPE'][_0x374df9(0x337)]?_0xfde5a2[_0x374df9(0x3e2)][_0x374df9(0x337)]:_0xfde5a2['DOC_RANGE_TYPE'][_0x374df9(0x13d)],'segmentId':typeof _0x7847f4=='string'?String(_0x7847f4):'','segmentPage':Number(_0x5d3856!=null?_0x5d3856:-0x1)});}return _0x4dc827[_0x374df9(0x356)](_0xdc5822=>_0xdc5822[_0x374df9(0x1e1)])||(_0x4dc827[0x0][_0x374df9(0x1e1)]=!0x0),_0x4dc827;}class _0x1e8b6e extends _0xfde5a2[_0x31f2ea(0x129)]{constructor(){const _0x515295=_0x31f2ea;super(...arguments),_0x25ee06(this,_0x515295(0x1d2),new _0x52a223[(_0x515295(0x345))](null)),_0x25ee06(this,_0x515295(0x389),this[_0x515295(0x1d2)][_0x515295(0x1c0)]());}['syncEditingCollabCursor'](_0xbf5807){const _0x38fd64=_0x31f2ea,{unitID:_0x549476,memberID:_0x595ae9,textRanges:_0x33eb28}=_0xbf5807,_0x1754a1=_0x140aaa(_0x33eb28);if(_0x1754a1==='')return;const _0x34e7da={'unitID':_0x549476,'memberID':_0x595ae9,'selection':_0x1754a1};this[_0x38fd64(0x1d2)]['next'](_0x34e7da);}}var _0x168954=Object['getOwnPropertyDescriptor'],_0x4bec10=(_0x96dc18,_0x40b7d5,_0x31c659,_0x5d21ec)=>{const _0x3614c7=_0x31f2ea;for(var _0x10d737=_0x5d21ec>0x1?void 0x0:_0x5d21ec?_0x168954(_0x40b7d5,_0x31c659):_0x40b7d5,_0x4ff7be=_0x96dc18[_0x3614c7(0x273)]-0x1,_0xc22f40;_0x4ff7be>=0x0;_0x4ff7be--)(_0xc22f40=_0x96dc18[_0x4ff7be])&&(_0x10d737=_0xc22f40(_0x10d737)||_0x10d737);return _0x10d737;},_0x4c72bb=(_0x2380c0,_0x2e0638)=>(_0x5b6972,_0x23c7f0)=>_0x2e0638(_0x5b6972,_0x23c7f0,_0x2380c0);const _0x155547=0x12c,_0x4fd8d0=0x64;let _0x162b0d=class extends _0xfde5a2[_0x31f2ea(0x129)]{constructor(_0x1a32ba,_0x2abf4d,_0x1a97a6,_0x33d308,_0x35257d,_0x52fe05,_0x577ad5,_0x2fc807,_0x3ec019){const _0x11d7d2=_0x31f2ea;super(),_0x25ee06(this,_0x11d7d2(0x29d),!0x1),_0x25ee06(this,_0x11d7d2(0x158),!0x1),_0x25ee06(this,_0x11d7d2(0x3db),new _0x52a223['BehaviorSubject'](new Map())),_0x25ee06(this,_0x11d7d2(0x3b0),this[_0x11d7d2(0x3db)][_0x11d7d2(0x1c0)]()),_0x25ee06(this,_0x11d7d2(0x3c9),new _0x52a223[(_0x11d7d2(0x345))]([])),_0x25ee06(this,'roomMembers$',this[_0x11d7d2(0x3c9)][_0x11d7d2(0x1fe)](_0x52a223['debounceTime'](_0x155547))),_0x25ee06(this,_0x11d7d2(0x1fd),_0xfde5a2[_0x11d7d2(0x292)](_0x4185cc=>{const _0x3308ec=_0x11d7d2,_0xc2f8fb={'eventID':_0x1d08ae[_0x3308ec(0x2c7)][_0x3308ec(0x30c)],'data':{'unitID':this[_0x3308ec(0x2cd)],'memberID':this[_0x3308ec(0x302)][_0x3308ec(0x328)](),'selection':_0x140aaa(_0x4185cc)}};this[_0x3308ec(0x302)][_0x3308ec(0x2dc)](_0xc2f8fb,this[_0x3308ec(0x2cd)]);},_0x4fd8d0)),(this[_0x11d7d2(0x2cd)]=_0x1a32ba,this[_0x11d7d2(0x302)]=_0x2abf4d,this[_0x11d7d2(0x13b)]=_0x1a97a6,this['_colorAssignService']=_0x33d308,this[_0x11d7d2(0x19e)]=_0x35257d,this[_0x11d7d2(0x363)]=_0x52fe05,this[_0x11d7d2(0x293)]=_0x577ad5,this[_0x11d7d2(0x130)]=_0x2fc807,this[_0x11d7d2(0x1bf)]=_0x3ec019);}get[_0x31f2ea(0x150)](){const _0x3ba955=_0x31f2ea;return this[_0x3ba955(0x3db)][_0x3ba955(0x3bd)]();}get[_0x31f2ea(0x306)](){const _0x3ef0f1=_0x31f2ea;return this[_0x3ef0f1(0x3c9)]['getValue']();}[_0x31f2ea(0x3e4)](){const _0x358360=_0x31f2ea;super[_0x358360(0x3e4)](),this[_0x358360(0x3db)]['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x358360(0x3c9)][_0x358360(0x2c5)]([]),this['_roomMembers$'][_0x358360(0x379)]();}[_0x31f2ea(0x2de)](){const _0x3ca8a8=_0x31f2ea;this[_0x3ca8a8(0x158)]||(this[_0x3ca8a8(0x158)]=!0x0,this[_0x3ca8a8(0x302)][_0x3ca8a8(0x3a8)][_0x3ca8a8(0x1fe)](_0x52a223['takeUntil'](this[_0x3ca8a8(0x31c)]))[_0x3ca8a8(0x220)](_0x1f3e73=>{const _0x54cf6b=_0x3ca8a8;_0x1f3e73===_0x27635d[_0x54cf6b(0x317)][_0x54cf6b(0x2a5)]?this['_toggleOnline']():this[_0x54cf6b(0x1e3)]();}),this['_session'][_0x3ca8a8(0x12d)][_0x3ca8a8(0x1fe)](_0x52a223[_0x3ca8a8(0x24a)](this[_0x3ca8a8(0x31c)]))[_0x3ca8a8(0x220)](_0x2726e9=>{const _0x4d31ec=_0x3ca8a8,_0x4d04af=_0x2726e9['eventID'];_0x4d04af===_0x1d08ae[_0x4d31ec(0x2c7)][_0x4d31ec(0x30c)]&&this[_0x4d31ec(0x3c8)](_0x2726e9),_0x4d04af===_0x1d08ae[_0x4d31ec(0x2c7)]['USERS_LEAVE']&&this[_0x4d31ec(0x3cd)](_0x2726e9);}),this[_0x3ca8a8(0x216)](this['_commandService'][_0x3ca8a8(0x1c1)](_0x104e94=>{const _0x4129d0=_0x3ca8a8,_0x1d743d=_0x104e94[_0x4129d0(0x115)];_0x1d743d!=null&&this['_online']&&_0x104e94['id']===_0x3c17d2[_0x4129d0(0x1ba)]['id']&&_0x1d743d[_0x4129d0(0x20b)]===this[_0x4129d0(0x2cd)]&&_0x1d743d[_0x4129d0(0x2d1)]===!0x1&&_0x1d743d[_0x4129d0(0x19c)][_0x4129d0(0x273)]>0x0&&this[_0x4129d0(0x1fd)](_0x1d743d[_0x4129d0(0x19c)]);})),this[_0x3ca8a8(0x363)][_0x3ca8a8(0x389)][_0x3ca8a8(0x1fe)](_0x52a223['takeUntil'](this[_0x3ca8a8(0x31c)]))[_0x3ca8a8(0x220)](_0x23aebb=>{const _0x1eef6d=_0x3ca8a8;if((_0x23aebb==null?void 0x0:_0x23aebb[_0x1eef6d(0x2cd)])!==this[_0x1eef6d(0x2cd)])return;const _0x231f52={'eventID':_0x1d08ae[_0x1eef6d(0x2c7)][_0x1eef6d(0x30c)],'data':_0x23aebb};this['_onCursorUpdate'](_0x231f52);}),this['disposeWithMe'](this[_0x3ca8a8(0x1bf)][_0x3ca8a8(0x1c1)](_0x34cb27=>{const _0x14f2a8=_0x3ca8a8;if(_0x34cb27['params']==null)return;const _0xb6cd55=_0x34cb27['params'];if(_0x34cb27['id']!==_0x3c17d2['RichTextEditingMutation']['id']||_0xb6cd55[_0x14f2a8(0x20b)]!==this[_0x14f2a8(0x2cd)])return;const _0x52d16e={'id':'doc.mutation.rich-text-editing','params':_0xb6cd55},_0x4e2056=this[_0x14f2a8(0x150)];for(const [_0x370cde,_0x59608b]of _0x4e2056){const _0x2baa23={'id':_0x14f2a8(0x10a),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x59608b['ranges']}},_0x51a8d0=this[_0x14f2a8(0x293)][_0x14f2a8(0x1f0)](_0x52d16e,_0x2baa23,!0x1);if(_0x1d08ae[_0x14f2a8(0x19d)](_0x51a8d0))throw _0x51a8d0[_0x14f2a8(0x20f)];_0x4e2056['set'](_0x370cde,{..._0x59608b,'ranges':_0x51a8d0[_0x14f2a8(0x364)]['params'][_0x14f2a8(0x32f)]});}queueMicrotask(()=>{const _0x54f5b7=_0x14f2a8;this[_0x54f5b7(0x3db)][_0x54f5b7(0x2c5)](_0x4e2056);});})));}[_0x31f2ea(0x3c8)](_0x3f69b6){const _0x50aaab=_0x31f2ea;var _0x344677,_0x5f024f;const {memberID:_0x5489c9,selection:_0x183ad3}=_0x3f69b6[_0x50aaab(0x116)],_0x3aa345=_0x2d5ac9(_0x183ad3),_0xa1f942=(_0x5f024f=(_0x344677=this[_0x50aaab(0x19e)][_0x50aaab(0x289)](this[_0x50aaab(0x2cd)],_0x5489c9))==null?void 0x0:_0x344677[_0x50aaab(0x200)])!=null?_0x5f024f:_0x50aaab(0x280),_0x59eb62={'color':this['_colorAssignService'][_0x50aaab(0x268)](_0x5489c9),'name':_0xa1f942,'ranges':_0x3aa345},_0x1a1aa3=this['cursorInfo'];_0x1a1aa3['set'](_0x5489c9,_0x59eb62),this[_0x50aaab(0x3db)][_0x50aaab(0x2c5)](_0x1a1aa3);}[_0x31f2ea(0x3cd)](_0x4316b1){const _0xc7bdbf=_0x31f2ea,{memberID:_0x2aa946}=_0x4316b1[_0xc7bdbf(0x116)],_0x3d1c5f=this[_0xc7bdbf(0x150)];_0x3d1c5f[_0xc7bdbf(0x3ab)](_0x2aa946),this[_0xc7bdbf(0x3db)]['next'](_0x3d1c5f);}[_0x31f2ea(0x136)](){const _0x37c3e5=_0x31f2ea;var _0x38759f;if(this[_0x37c3e5(0x29d)]=!0x0,((_0x38759f=this[_0x37c3e5(0x130)][_0x37c3e5(0x1e4)]())==null?void 0x0:_0x38759f[_0x37c3e5(0x36b)]())!==this[_0x37c3e5(0x2cd)])return;const _0x2bd76c=this[_0x37c3e5(0x13b)][_0x37c3e5(0xfb)](_0x3c17d2[_0x37c3e5(0x2cc)])['getDocRanges']();Array['isArray'](_0x2bd76c)&&_0x2bd76c[_0x37c3e5(0x273)]>0x0&&this[_0x37c3e5(0x1fd)](_0x2bd76c);}[_0x31f2ea(0x1e3)](){const _0x1956b8=_0x31f2ea;this[_0x1956b8(0x29d)]=!0x1;}};_0x162b0d=_0x4bec10([_0x4c72bb(0x2,_0xfde5a2['Inject'](_0xfde5a2['Injector'])),_0x4c72bb(0x3,_0xfde5a2[_0x31f2ea(0x279)](_0x55865d)),_0x4c72bb(0x4,_0xfde5a2['Inject'](_0x27635d[_0x31f2ea(0x252)])),_0x4c72bb(0x5,_0xfde5a2[_0x31f2ea(0x279)](_0x1e8b6e)),_0x4c72bb(0x6,_0x1d08ae['ITransformService']),_0x4c72bb(0x7,_0xfde5a2[_0x31f2ea(0x316)]),_0x4c72bb(0x8,_0xfde5a2[_0x31f2ea(0x117)])],_0x162b0d);var _0x210fdb=Object['getOwnPropertyDescriptor'],_0x2e6195=(_0x517f93,_0x22f66c,_0x29ad84,_0x1de9cd)=>{const _0x1e05b6=_0x31f2ea;for(var _0x27fba0=_0x1de9cd>0x1?void 0x0:_0x1de9cd?_0x210fdb(_0x22f66c,_0x29ad84):_0x22f66c,_0x3bcffd=_0x517f93[_0x1e05b6(0x273)]-0x1,_0x1da86e;_0x3bcffd>=0x0;_0x3bcffd--)(_0x1da86e=_0x517f93[_0x3bcffd])&&(_0x27fba0=_0x1da86e(_0x27fba0)||_0x27fba0);return _0x27fba0;},_0x3cc3cc=(_0x1c77b7,_0x54c00e)=>(_0x249152,_0x3b2ed1)=>_0x54c00e(_0x249152,_0x3b2ed1,_0x1c77b7);const _0x58d203=0x12c,_0x4fa8fe=0x64,_0x5b9164=()=>{let _0x27f249=[],_0xbc7e5=!0x1;return _0x25fb1b=>{const _0x55e92b=_0x35b2;_0x27f249[_0x55e92b(0x2b8)](_0x25fb1b),_0xbc7e5||(_0xbc7e5=!0x0,setTimeout(()=>{const _0x1d880d=_0x55e92b;_0x27f249[_0x1d880d(0x2fb)](_0x985d79=>_0x985d79()),_0x27f249=[],_0xbc7e5=!0x1;}));};};let _0x5bf8d1=class extends _0xfde5a2['RxDisposable']{constructor(_0x15dfc3,_0x3428a0,_0xf19263,_0x25a34a,_0x50c2f6,_0x19957d,_0x42ca5e,_0x1d4aa1){const _0x32e68a=_0x31f2ea;super(),_0x25ee06(this,'_online',!0x1),_0x25ee06(this,'_init',!0x1),_0x25ee06(this,'_cursorInfo$',new _0x52a223[(_0x32e68a(0x345))](new Map())),_0x25ee06(this,_0x32e68a(0x3b0),this['_cursorInfo$'][_0x32e68a(0x1c0)]()),_0x25ee06(this,'_roomMembers$',new _0x52a223['BehaviorSubject']([])),_0x25ee06(this,_0x32e68a(0x27e),this[_0x32e68a(0x3c9)]['pipe'](_0x52a223[_0x32e68a(0x367)](_0x58d203))),_0x25ee06(this,_0x32e68a(0x1fd),_0xfde5a2[_0x32e68a(0x292)]((_0x1ef027,_0x114131)=>{const _0x12b1d2=_0x32e68a,_0x35779f={'eventID':_0x1d08ae[_0x12b1d2(0x2c7)][_0x12b1d2(0x30c)],'data':{'unitID':this['unitID'],'memberID':this['_session'][_0x12b1d2(0x328)](),'selection':_0x2d45f6[_0x12b1d2(0x165)](_0x1ef027,_0x114131[_0x12b1d2(0x191)])}};this[_0x12b1d2(0x302)]['send'](_0x35779f,this['unitID']);},_0x4fa8fe)),(this[_0x32e68a(0x2cd)]=_0x15dfc3,this['_session']=_0x3428a0,this[_0x32e68a(0x13b)]=_0xf19263,this[_0x32e68a(0x1f9)]=_0x25a34a,this[_0x32e68a(0x19e)]=_0x50c2f6,this[_0x32e68a(0x130)]=_0x19957d,this[_0x32e68a(0x1bf)]=_0x42ca5e,this['_refRangeService']=_0x1d4aa1);}get['cursorInfo'](){const _0x50256d=_0x31f2ea;return this[_0x50256d(0x3db)]['getValue']();}get[_0x31f2ea(0x306)](){const _0x39b0c8=_0x31f2ea;return this[_0x39b0c8(0x3c9)][_0x39b0c8(0x3bd)]();}[_0x31f2ea(0x3e4)](){const _0x2c0c49=_0x31f2ea;super[_0x2c0c49(0x3e4)](),this[_0x2c0c49(0x3db)][_0x2c0c49(0x2c5)](new Map()),this['_cursorInfo$']['complete'](),this[_0x2c0c49(0x3c9)][_0x2c0c49(0x2c5)]([]),this[_0x2c0c49(0x3c9)][_0x2c0c49(0x379)]();}['init'](){const _0xf1700a=_0x31f2ea;this[_0xf1700a(0x158)]||(this[_0xf1700a(0x158)]=!0x0,this[_0xf1700a(0x302)][_0xf1700a(0x3a8)][_0xf1700a(0x1fe)](_0x52a223[_0xf1700a(0x24a)](this[_0xf1700a(0x31c)]))[_0xf1700a(0x220)](_0x163f0f=>{const _0x42e7ab=_0xf1700a;_0x163f0f===_0x27635d[_0x42e7ab(0x317)][_0x42e7ab(0x2a5)]?this[_0x42e7ab(0x136)]():this[_0x42e7ab(0x1e3)]();}),this[_0xf1700a(0x302)][_0xf1700a(0x12d)][_0xf1700a(0x1fe)](_0x52a223[_0xf1700a(0x24a)](this[_0xf1700a(0x31c)]))[_0xf1700a(0x220)](_0x1fb0c4=>{const _0x77b33c=_0xf1700a,_0x576875=_0x1fb0c4[_0x77b33c(0x3a5)];_0x576875===_0x1d08ae[_0x77b33c(0x2c7)][_0x77b33c(0x30c)]&&this[_0x77b33c(0x3c8)](_0x1fb0c4),_0x576875===_0x1d08ae['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x1fb0c4);}),this['_onRefRangeChange'](),this[_0xf1700a(0x216)](this['_commandService'][_0xf1700a(0x1c1)](_0x4bbafe=>{const _0x5e9301=_0xf1700a;if(this[_0x5e9301(0x29d)]&&_0x4bbafe['id']===_0x44123e[_0x5e9301(0x210)]['id']&&_0x4bbafe['params'][_0x5e9301(0x20b)]===this[_0x5e9301(0x2cd)]){const _0x197885=_0x4bbafe[_0x5e9301(0x115)];this[_0x5e9301(0x1fd)](_0x197885[_0x5e9301(0x20d)],_0x197885[_0x5e9301(0x173)][0x0]);}})));}['_onCursorUpdate'](_0x1cc971){const _0x390dcd=_0x31f2ea;var _0x33554c,_0x841647;const {memberID:_0xef416,selection:_0x1c6986}=_0x1cc971[_0x390dcd(0x116)],{sheetName:_0x6a976d,range:_0x3f2dcb}=_0x2d45f6[_0x390dcd(0x1fc)](_0x1c6986),_0x4fa1aa={'name':(_0x841647=(_0x33554c=this[_0x390dcd(0x19e)][_0x390dcd(0x289)](this['unitID'],_0xef416))==null?void 0x0:_0x33554c[_0x390dcd(0x200)])!=null?_0x841647:_0x390dcd(0x280),'range':this[_0x390dcd(0x35a)](_0x6a976d,_0x3f2dcb),'sheetID':_0x6a976d,'color':this[_0x390dcd(0x1f9)][_0x390dcd(0x268)](_0xef416),'selection':_0x1c6986},_0x4c33f7=this[_0x390dcd(0x150)];_0x4c33f7[_0x390dcd(0x15e)](_0xef416,_0x4fa1aa),this[_0x390dcd(0x3db)][_0x390dcd(0x2c5)](_0x4c33f7);}[_0x31f2ea(0x3cd)](_0x53aee5){const _0x1b52c6=_0x31f2ea,{memberID:_0x4d6f50}=_0x53aee5[_0x1b52c6(0x116)],_0x542ebb=this[_0x1b52c6(0x150)];_0x542ebb[_0x1b52c6(0x3ab)](_0x4d6f50),this[_0x1b52c6(0x3db)][_0x1b52c6(0x2c5)](_0x542ebb);}['_getMergeRange'](_0x571cda,_0x3b60a4){const _0x5056de=_0x31f2ea;var _0x3d4e39,_0x309285;const _0x28ff66=(_0x309285=(_0x3d4e39=this[_0x5056de(0x130)][_0x5056de(0x32a)](this[_0x5056de(0x2cd)]))==null?void 0x0:_0x3d4e39[_0x5056de(0x346)](_0x571cda))==null?void 0x0:_0x309285[_0x5056de(0x262)]();return(_0x28ff66==null?void 0x0:_0x28ff66[_0x5056de(0x3bc)](_0x4b3ddf=>_0xfde5a2[_0x5056de(0x1b3)]['contains'](_0x4b3ddf,_0x3b60a4)))||_0x3b60a4;}['_onRefRangeChange'](){const _0x27abe3=_0x31f2ea,_0x230a83=new _0xfde5a2[(_0x27abe3(0xf6))](),_0x35e84e=_0x5b9164(),_0x21b313=()=>{const _0x2a64c3=_0x27abe3;_0x230a83['dispose']();const _0x2b8abf=(_0x39b9a0,_0x585e94,_0x11428d,_0x3fb32c)=>{const _0x3fd909=_0x35b2;let _0x55253f=[];switch(_0x39b9a0['id']){case _0x44123e[_0x3fd909(0x259)][_0x3fd909(0x1a3)]:{_0x55253f=_0x44123e[_0x3fd909(0x2da)](_0x39b9a0,_0x3fb32c);break;}case _0x44123e[_0x3fd909(0x259)][_0x3fd909(0x3b9)]:{_0x55253f=_0x44123e[_0x3fd909(0x37b)](_0x39b9a0,_0x3fb32c);break;}case _0x44123e[_0x3fd909(0x259)]['InsertColCommandId']:{_0x55253f=_0x44123e[_0x3fd909(0xfa)](_0x39b9a0,_0x3fb32c);break;}case _0x44123e[_0x3fd909(0x259)][_0x3fd909(0x1c4)]:{_0x55253f=_0x44123e['handleInsertRangeMoveDown'](_0x39b9a0,_0x3fb32c);break;}case _0x44123e[_0x3fd909(0x259)]['InsertRangeMoveRightCommandId']:{_0x55253f=_0x44123e[_0x3fd909(0x105)](_0x39b9a0,_0x3fb32c);break;}case _0x44123e[_0x3fd909(0x259)][_0x3fd909(0x113)]:{_0x55253f=_0x44123e[_0x3fd909(0x386)](_0x39b9a0,_0x3fb32c);break;}case _0x44123e['EffectRefRangId'][_0x3fd909(0x2b7)]:{_0x55253f=_0x44123e[_0x3fd909(0x208)](_0x39b9a0,_0x3fb32c);break;}case _0x44123e[_0x3fd909(0x259)][_0x3fd909(0x37a)]:{_0x55253f=_0x44123e[_0x3fd909(0x37c)](_0x39b9a0,_0x3fb32c);break;}case _0x44123e['EffectRefRangId'][_0x3fd909(0x23e)]:{_0x55253f=_0x44123e[_0x3fd909(0x2d3)](_0x39b9a0,_0x3fb32c);break;}}const _0x192cd1=_0x44123e['runRefRangeMutations'](_0x55253f,_0x3fb32c),_0x26f660=this[_0x3fd909(0x150)][_0x3fd909(0xfb)](_0x585e94);if(_0x26f660&&_0x192cd1){const _0x348a7c={..._0x26f660,'range':_0x192cd1};this[_0x3fd909(0x150)]['set'](_0x585e94,_0x348a7c),_0x35e84e(()=>{const _0x33973a=_0x3fd909,_0x1236b6=this[_0x33973a(0x21f)]['registerRefRange'](_0x192cd1,_0x25a3d6=>(_0x1236b6[_0x33973a(0x3e4)](),_0x2b8abf(_0x25a3d6,_0x585e94,_0x11428d,_0x192cd1)));_0x230a83[_0x33973a(0x3bb)](_0x1236b6);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x2a64c3(0x2fb)]((_0x5b4bfe,_0x3e7e91)=>{const _0xe78bf5=_0x2a64c3,{range:_0x27263b,sheetID:_0x43a0fe}=_0x5b4bfe,_0x27a6bb=this['_refRangeService'][_0xe78bf5(0x303)](_0x27263b,_0x5d0c0a=>(_0x27a6bb[_0xe78bf5(0x3e4)](),_0x2b8abf(_0x5d0c0a,_0x3e7e91,_0x43a0fe,_0x27263b)));_0x230a83[_0xe78bf5(0x3bb)](_0x27a6bb);});};this[_0x27abe3(0x216)](_0xfde5a2[_0x27abe3(0x2e9)](this['_cursorInfo$'][_0x27abe3(0x220)](()=>{_0x21b313();})));}['_toggleOnline'](){const _0x3c7e11=_0x31f2ea;var _0x4a8657,_0x1ea541;if(this[_0x3c7e11(0x29d)]=!0x0,((_0x4a8657=this['_univerInstanceService'][_0x3c7e11(0x1e4)]())==null?void 0x0:_0x4a8657['getUnitId']())!==this[_0x3c7e11(0x2cd)])return;const _0x2673a3=(_0x1ea541=this[_0x3c7e11(0x13b)][_0x3c7e11(0xfb)](_0x44123e[_0x3c7e11(0xf1)])[_0x3c7e11(0x1e9)]())==null?void 0x0:_0x1ea541[0x0],_0x34f76d=this[_0x3c7e11(0x130)][_0x3c7e11(0x355)](_0xfde5a2[_0x3c7e11(0x2dd)]['UNIVER_SHEET'])[_0x3c7e11(0x313)]();_0x2673a3&&_0x34f76d&&this['_updateLocalCursor'](_0x34f76d[_0x3c7e11(0x319)](),_0x2673a3);}[_0x31f2ea(0x1e3)](){const _0x15d9c5=_0x31f2ea;this[_0x15d9c5(0x29d)]=!0x1;}};_0x5bf8d1=_0x2e6195([_0x3cc3cc(0x2,_0xfde5a2[_0x31f2ea(0x279)](_0xfde5a2[_0x31f2ea(0x110)])),_0x3cc3cc(0x3,_0xfde5a2['Inject'](_0x55865d)),_0x3cc3cc(0x4,_0xfde5a2[_0x31f2ea(0x279)](_0x27635d[_0x31f2ea(0x252)])),_0x3cc3cc(0x5,_0xfde5a2[_0x31f2ea(0x316)]),_0x3cc3cc(0x6,_0xfde5a2['ICommandService']),_0x3cc3cc(0x7,_0xfde5a2[_0x31f2ea(0x279)](_0x44123e['RefRangeService']))],_0x5bf8d1);var _0x90f4ee=Object['getOwnPropertyDescriptor'],_0x5d4aeb=(_0xf926a2,_0x38be6c,_0x23e1fb,_0x5c1a0e)=>{for(var _0x578cdb=_0x5c1a0e>0x1?void 0x0:_0x5c1a0e?_0x90f4ee(_0x38be6c,_0x23e1fb):_0x38be6c,_0x3a1e4a=_0xf926a2['length']-0x1,_0x4b767;_0x3a1e4a>=0x0;_0x3a1e4a--)(_0x4b767=_0xf926a2[_0x3a1e4a])&&(_0x578cdb=_0x4b767(_0x578cdb)||_0x578cdb);return _0x578cdb;},_0x3d364b=(_0x1471d8,_0x3cc622)=>(_0x280235,_0x50368e)=>_0x3cc622(_0x280235,_0x50368e,_0x1471d8);let _0x3d40e5=class extends _0xfde5a2[_0x31f2ea(0x129)]{constructor(_0x3ac90b,_0x45653d,_0x39d47e){const _0x2e60bc=_0x31f2ea;super(),_0x25ee06(this,_0x2e60bc(0x194),new Map()),_0x25ee06(this,_0x2e60bc(0x1ca),new _0x52a223[(_0x2e60bc(0x3dd))]()),(this[_0x2e60bc(0x130)]=_0x3ac90b,this[_0x2e60bc(0x13b)]=_0x45653d,this[_0x2e60bc(0x2ef)]=_0x39d47e,this['_init']());}[_0x31f2ea(0x3e4)](){const _0x53ed60=_0x31f2ea;super[_0x53ed60(0x3e4)](),this['_entityInit$'][_0x53ed60(0x379)](),this[_0x53ed60(0x194)][_0x53ed60(0x2fb)](_0x1f138a=>_0x1f138a['dispose']());}[_0x31f2ea(0x14f)](_0x338115){const _0x213fc9=_0x31f2ea;return this['_entities'][_0x213fc9(0x244)](_0x338115)?this[_0x213fc9(0x194)]['get'](_0x338115)[_0x213fc9(0x3b0)]:this[_0x213fc9(0x1ca)][_0x213fc9(0x1fe)](_0x52a223[_0x213fc9(0x2ad)](_0x276443=>_0x276443['unitID']===_0x338115),_0x52a223[_0x213fc9(0x23c)](_0x2e47c7=>_0x2e47c7[_0x213fc9(0x3b0)]));}[_0x31f2ea(0x158)](){const _0x12bf44=_0x31f2ea;this['_univerInstanceService'][_0x12bf44(0x11a)](_0xfde5a2[_0x12bf44(0x2dd)][_0x12bf44(0x332)])[_0x12bf44(0x1fe)](_0x52a223[_0x12bf44(0x24a)](this[_0x12bf44(0x31c)]))['subscribe'](async _0x59aa49=>{const _0x573da8=_0x12bf44,_0x55266c=_0x59aa49[_0x573da8(0x36b)](),_0x2c87ff=await this[_0x573da8(0x205)](_0x55266c);this['_entityInit$'][_0x573da8(0x2c5)](_0x2c87ff),this[_0x573da8(0x194)][_0x573da8(0x15e)](_0x55266c,_0x2c87ff);}),this[_0x12bf44(0x130)][_0x12bf44(0x11a)](_0xfde5a2[_0x12bf44(0x2dd)][_0x12bf44(0x35b)])[_0x12bf44(0x1fe)](_0x52a223[_0x12bf44(0x24a)](this[_0x12bf44(0x31c)]))['pipe'](_0x52a223[_0x12bf44(0x2ad)](_0x8e45cd=>!_0x8e45cd[_0x12bf44(0x36b)]()[_0x12bf44(0x172)]('__')))[_0x12bf44(0x220)](async _0x171f9f=>{const _0xf03528=_0x12bf44,_0x1b6847=_0x171f9f[_0xf03528(0x36b)](),_0x567568=await this[_0xf03528(0x125)](_0x1b6847);this[_0xf03528(0x1ca)][_0xf03528(0x2c5)](_0x567568),this[_0xf03528(0x194)][_0xf03528(0x15e)](_0x1b6847,_0x567568);}),_0x52a223[_0x12bf44(0x108)](this[_0x12bf44(0x130)]['getTypeOfUnitDisposed$'](_0xfde5a2[_0x12bf44(0x2dd)][_0x12bf44(0x35b)]),this[_0x12bf44(0x130)][_0x12bf44(0x148)](_0xfde5a2[_0x12bf44(0x2dd)][_0x12bf44(0x332)]))['pipe'](_0x52a223[_0x12bf44(0x24a)](this['dispose$']))[_0x12bf44(0x220)](_0x5064c1=>{const _0x5e996c=_0x12bf44,_0x2fa65e=_0x5064c1[_0x5e996c(0x36b)](),_0x2a23e2=this[_0x5e996c(0x194)][_0x5e996c(0xfb)](_0x2fa65e);_0x2a23e2&&(_0x2a23e2['dispose'](),this[_0x5e996c(0x194)][_0x5e996c(0x3ab)](_0x2fa65e));});}async[_0x31f2ea(0x205)](_0x8198d2){const _0x309979=_0x31f2ea,_0xf5a906=await this[_0x309979(0x2ef)][_0x309979(0x253)](_0x8198d2),_0x31fa22=this['_injector'][_0x309979(0x146)](_0x5bf8d1,_0x8198d2,_0xf5a906);return _0x31fa22['init'](),_0x31fa22;}async['_startDocCollabCursor'](_0x10686b){const _0x255588=_0x31f2ea,_0x1c9e91=await this[_0x255588(0x2ef)][_0x255588(0x253)](_0x10686b),_0x9ec153=this[_0x255588(0x13b)][_0x255588(0x146)](_0x162b0d,_0x10686b,_0x1c9e91);return _0x9ec153[_0x255588(0x2de)](),_0x9ec153;}};_0x3d40e5=_0x5d4aeb([_0x3d364b(0x0,_0xfde5a2[_0x31f2ea(0x316)]),_0x3d364b(0x1,_0xfde5a2[_0x31f2ea(0x279)](_0xfde5a2['Injector'])),_0x3d364b(0x2,_0xfde5a2[_0x31f2ea(0x279)](_0x27635d[_0x31f2ea(0x134)]))],_0x3d40e5);const _0x206436=0x14,_0x41ce23=0xc8,_0x37ac7a=0x4,_0x305f0f=0x5;function _0x8c239f(_0x4a074a,_0x1cfacb){const _0x489b78=_0x31f2ea;let {radius:_0x15699a,width:_0x1e8844,height:_0x565d86}=_0x1cfacb;_0x15699a=_0x15699a!=null?_0x15699a:0x0,_0x1e8844=_0x1e8844!=null?_0x1e8844:0x1e,_0x565d86=_0x565d86!=null?_0x565d86:0x1e;let _0x407a47=0x0,_0x4c85a1=0x0,_0x153602=0x0;_0x407a47=_0x4c85a1=_0x153602=Math['min'](_0x15699a,_0x1e8844/0x2,_0x565d86/0x2),_0x4a074a[_0x489b78(0x3ac)](),_0x4a074a[_0x489b78(0x393)](_0x407a47,0x0),_0x4a074a['lineTo'](_0x1e8844-_0x4c85a1,0x0),_0x4a074a['arc'](_0x1e8844-_0x4c85a1,_0x4c85a1,_0x4c85a1,Math['PI']*0x3/0x2,0x0,!0x1),_0x4a074a[_0x489b78(0x28c)](_0x1e8844,_0x565d86-_0x153602),_0x4a074a[_0x489b78(0x2e0)](_0x1e8844-_0x153602,_0x565d86-_0x153602,_0x153602,0x0,Math['PI']/0x2,!0x1),_0x4a074a[_0x489b78(0x28c)](0x0,_0x565d86),_0x4a074a['lineTo'](0x0,_0x407a47),_0x4a074a[_0x489b78(0x2e0)](_0x407a47,_0x407a47,_0x407a47,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4a074a['closePath'](),_0x1cfacb[_0x489b78(0x2ff)]&&(_0x4a074a['save'](),_0x4a074a['fillStyle']=_0x1cfacb[_0x489b78(0x2ff)],_0x1cfacb[_0x489b78(0x27d)]===_0x489b78(0x2c8)?_0x4a074a[_0x489b78(0x2ff)](_0x489b78(0x2c8)):_0x4a074a[_0x489b78(0x2ff)](),_0x4a074a[_0x489b78(0x1c7)]());}class _0x41ede9 extends _0x12ef37['Shape']{constructor(_0x15476a,_0xd98ea2){const _0x2452ee=_0x31f2ea;super(_0x15476a,_0xd98ea2),_0x25ee06(this,'color'),_0x25ee06(this,_0x2452ee(0x388)),(this['color']=_0xd98ea2==null?void 0x0:_0xd98ea2[_0x2452ee(0x26e)],this[_0x2452ee(0x388)]=_0xd98ea2==null?void 0x0:_0xd98ea2[_0x2452ee(0x388)]);}static[_0x31f2ea(0x1cd)](_0x132ffd,_0x3197c6){const _0x58bacb=_0x31f2ea,{text:_0x4f8732,color:_0xb3871d}=_0x3197c6;_0x132ffd['save'](),_0x132ffd[_0x58bacb(0x38f)]=_0x58bacb(0x144);const _0xb40967=_0x132ffd[_0x58bacb(0x2e3)](_0x4f8732)['width'],_0x23e9b9=Math['min'](_0xb40967+0x2*_0x37ac7a,_0x41ce23);_0x8c239f(_0x132ffd,{'height':_0x206436,'radius':0x4,'width':_0x23e9b9,'fill':_0xb3871d}),_0x132ffd['fillStyle']=_0x58bacb(0x141);const _0x150a89=_0x37ac7a,_0x1e5202=_0x206436-_0x305f0f,_0x5bf3c2=_0x41ce23-0x2*_0x37ac7a;if(_0xb40967>_0x5bf3c2){let _0x882af1='',_0x1abbc1=0x0;for(const _0x170e6a of _0x4f8732){const _0x4dc32d=_0x132ffd[_0x58bacb(0x2e3)](_0x170e6a)[_0x58bacb(0x39a)];if(_0x1abbc1+_0x4dc32d<=_0x5bf3c2-_0x132ffd[_0x58bacb(0x2e3)](_0x58bacb(0x169))[_0x58bacb(0x39a)])_0x882af1+=_0x170e6a,_0x1abbc1+=_0x4dc32d;else{_0x882af1+=_0x58bacb(0x169);break;}}_0x132ffd['fillText'](_0x882af1,_0x150a89,_0x1e5202);}else _0x132ffd['fillText'](_0x4f8732,_0x150a89,_0x1e5202);_0x132ffd['restore']();}[_0x31f2ea(0x37e)](_0x48d7fa){const _0x407866=_0x31f2ea;_0x41ede9[_0x407866(0x1cd)](_0x48d7fa,this);}}const _0x269cd5=_0x31f2ea(0x1bc),_0x319975=_0x31f2ea(0xf3),_0x45c978=_0x31f2ea(0x342),_0xddafeb=0x6,_0x3292fd=1.5,_0x5a62da=0x4,_0x4f4247=1.5,_0x1ae80b='rgba(255,\x20255,\x20255,\x200.01)';class _0x3fdfad{constructor(_0x2c5c32,_0x5cf2ca,_0x3e2465,_0x22f6c9){const _0x4a4f87=_0x31f2ea;_0x25ee06(this,_0x4a4f87(0xee),[]),_0x25ee06(this,_0x4a4f87(0x1ce),null),_0x25ee06(this,_0x4a4f87(0x311),null),_0x25ee06(this,_0x4a4f87(0x3e8),null),_0x25ee06(this,_0x4a4f87(0x2f4),null),_0x25ee06(this,_0x4a4f87(0x353),null),(this[_0x4a4f87(0x33d)]=_0x2c5c32,this[_0x4a4f87(0x2e2)]=_0x5cf2ca,this[_0x4a4f87(0x2b5)]=_0x3e2465,this[_0x4a4f87(0x2af)]=_0x22f6c9,this[_0x4a4f87(0xf8)]());}set[_0x31f2ea(0x395)](_0x149fdc){const _0x363207=_0x31f2ea;_0x149fdc?(this[_0x363207(0x3e8)]&&this[_0x363207(0x3e8)][_0x363207(0x323)](),this['_textBubble']&&this[_0x363207(0x311)][_0x363207(0x1f7)]()):(this[_0x363207(0x3e8)]&&this[_0x363207(0x3e8)]['show'](),this[_0x363207(0x311)]&&this[_0x363207(0x311)][_0x363207(0x323)]());}['dispose'](){const _0x212301=_0x31f2ea;for(const _0x10812b of this[_0x212301(0xee)])_0x10812b[_0x212301(0x3e4)]();this['_textBubble']&&this[_0x212301(0x311)][_0x212301(0x3e4)](),this[_0x212301(0x3e8)]&&this[_0x212301(0x3e8)][_0x212301(0x3e4)](),this[_0x212301(0x1ce)]&&this[_0x212301(0x1ce)][_0x212301(0x3e4)](),this['_eventUnsubscribe']&&this[_0x212301(0x353)]();}[_0x31f2ea(0xf8)](){const _0x1085d5=_0x31f2ea;var _0x52450e;const {_docSkeleton:_0x3606a0,_document:_0x1bbb0b}=this,{color:_0x3df2f9,name:_0x58e47b,ranges:_0x46dd86}=this[_0x1085d5(0x33d)],_0x435885=_0x1bbb0b[_0x1085d5(0x260)](),{docsLeft:_0x439ae5,docsTop:_0x4e1ee2}=_0x435885,_0x15d855=new _0x5f2683[(_0x1085d5(0x3d5))](_0x435885,_0x3606a0);for(const {startOffset:_0x53cc6b,endOffset:_0x301ca7,rangeType:_0x2dbb90,segmentId:_0x4a368e,segmentPage:_0x4195e7,collapsed:_0x10dc1c,isActive:_0x10b271}of _0x46dd86){const _0x100340=_0x3606a0[_0x1085d5(0x374)](_0x53cc6b,!0x0,_0x4a368e,_0x4195e7);let _0x41a8a3=_0x3606a0[_0x1085d5(0x374)](_0x301ca7,!0x0,_0x4a368e,_0x4195e7);if(_0x41a8a3==null&&(_0x41a8a3=_0x3606a0[_0x1085d5(0x374)](_0x301ca7-0x1,!0x1,_0x4a368e,_0x4195e7)),_0x10b271){const {contentBoxPointGroup:_0x32b6a6}=_0x15d855[_0x1085d5(0x11f)](_0x41a8a3,_0x41a8a3);if(_0x32b6a6[_0x1085d5(0x273)]===0x0)continue;this[_0x1085d5(0x23f)](_0x3df2f9,_0x32b6a6,_0x439ae5,_0x4e1ee2,_0x58e47b),this[_0x1085d5(0x353)]=this[_0x1085d5(0x39b)]();}if(_0x100340&&_0x41a8a3){if(_0x2dbb90===_0xfde5a2[_0x1085d5(0x3e2)][_0x1085d5(0x13d)]){const _0x17935c=new _0x5f2683[(_0x1085d5(0x31b))](_0x435885,_0x3606a0),{pointGroup:_0x5d12aa}=(_0x52450e=_0x17935c[_0x1085d5(0x11f)](_0x100340,_0x41a8a3))!=null?_0x52450e:{};if(_0x5d12aa==null||_0x5d12aa[_0x1085d5(0x273)]===0x0)continue;this[_0x1085d5(0x207)](_0x3df2f9,_0x5d12aa,_0x439ae5,_0x4e1ee2);}else{if(!_0x10dc1c){const {borderBoxPointGroup:_0x3565ad}=_0x15d855['getRangePointData'](_0x100340,_0x41a8a3);if(_0x3565ad[_0x1085d5(0x273)]===0x0)continue;this[_0x1085d5(0x26b)](_0x3df2f9,_0x3565ad,_0x439ae5,_0x4e1ee2);}}}}}[_0x31f2ea(0x23f)](_0x46a202,_0x545a5b,_0xd9f935,_0x13ada2,_0x2fbfff){const _0x13c9fe=_0x31f2ea,_0x8b6976=this['_getAnchorBounding'](_0x545a5b),{left:_0x1db0e6,top:_0x8343e8,height:_0x337ec4}=_0x8b6976,_0x177853=this['_getScale'](),_0x3fe1d8=_0x4f4247/_0x177853,_0xac3a7f=new _0x12ef37[(_0x13c9fe(0x3cc))](_0x269cd5+_0xfde5a2[_0x13c9fe(0x211)](_0xddafeb),{'left':_0x1db0e6+_0xd9f935-_0x3fe1d8,'top':_0x8343e8+_0x13ada2,'height':_0x337ec4,'width':_0x3292fd,'fill':_0x46a202||_0x12ef37[_0x13c9fe(0x167)](_0xfde5a2['COLORS'][_0x13c9fe(0x218)],0x0),'strokeWidth':_0x3fe1d8,'stroke':_0x1ae80b,'evented':!0x0});this[_0x13c9fe(0x1ce)]=_0xac3a7f,this[_0x13c9fe(0x2e2)][_0x13c9fe(0xf4)](_0xac3a7f,_0x5f2683[_0x13c9fe(0x3ea)]);const _0x197c00=new _0x12ef37[(_0x13c9fe(0x3cc))](_0x269cd5+_0xfde5a2[_0x13c9fe(0x211)](_0xddafeb),{'left':_0x1db0e6+_0xd9f935-_0x3fe1d8,'top':_0x8343e8+_0x13ada2-_0x5a62da/0x2,'height':_0x5a62da,'width':_0x5a62da,'fill':_0x46a202||_0x12ef37['getColor'](_0xfde5a2['COLORS']['black'],0x0),'strokeWidth':0x0,'stroke':_0x46a202||_0x12ef37['getColor'](_0xfde5a2[_0x13c9fe(0x3c5)][_0x13c9fe(0x218)],0x0),'evented':!0x1});this[_0x13c9fe(0x3e8)]=_0x197c00,this['_scene']['addObject'](_0x197c00,_0x5f2683[_0x13c9fe(0x3ea)]);const _0x5d1dde=new _0x41ede9(_0x269cd5+_0xfde5a2[_0x13c9fe(0x211)](_0xddafeb),{'left':_0x1db0e6+_0xd9f935-_0x3fe1d8,'top':_0x8343e8+_0x13ada2-_0x206436,'text':_0x2fbfff,'color':_0x46a202});this[_0x13c9fe(0x311)]=_0x5d1dde,this[_0x13c9fe(0x2e2)][_0x13c9fe(0xf4)](_0x5d1dde,_0x5f2683['TEXT_RANGE_LAYER_INDEX']),this[_0x13c9fe(0x395)]=!0x1;}[_0x31f2ea(0x39b)](){const _0x2ba44b=_0x31f2ea,_0x280519=this[_0x2ba44b(0x1ce)][_0x2ba44b(0x22b)][_0x2ba44b(0x2cf)](()=>{const _0x31b629=_0x2ba44b;this[_0x31b629(0x395)]=!0x0;}),_0x5d5ae1=this[_0x2ba44b(0x1ce)]['onPointerLeave$'][_0x2ba44b(0x2cf)](()=>{const _0x23ddad=_0x2ba44b;this['_hideTimer']&&clearTimeout(this[_0x23ddad(0x2f4)]),this[_0x23ddad(0x2f4)]=setTimeout(()=>{const _0x396f69=_0x23ddad;this[_0x396f69(0x395)]=!0x1;},0x7d0);});return()=>{const _0x132319=_0x2ba44b;_0x280519[_0x132319(0x308)](),_0x5d5ae1[_0x132319(0x308)]();};}[_0x31f2ea(0x26b)](_0x773638,_0x5792c0,_0x23c64f,_0x4dd358){const _0x393bd0=_0x31f2ea,_0x376240=new _0xfde5a2[(_0x393bd0(0x2eb))](_0x773638)[_0x393bd0(0x287)](0.2)['toRgbString'](),_0x559a89=new _0x12ef37[(_0x393bd0(0x215))](_0x319975+_0xfde5a2[_0x393bd0(0x211)](_0xddafeb),{'pointsGroup':_0x5792c0,'fill':_0x376240||_0x12ef37[_0x393bd0(0x167)](_0xfde5a2[_0x393bd0(0x3c5)][_0x393bd0(0x218)],0.2),'left':_0x23c64f,'top':_0x4dd358,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x393bd0(0xee)][_0x393bd0(0x2b8)](_0x559a89),this[_0x393bd0(0x2e2)][_0x393bd0(0xf4)](_0x559a89,_0x5f2683[_0x393bd0(0x3ea)]);}['_drawRectRange'](_0x30f184,_0x1e9331,_0x563bfc,_0x18966a){const _0x30768c=_0x31f2ea,_0x50a083=new _0xfde5a2[(_0x30768c(0x2eb))](_0x30f184)[_0x30768c(0x287)](0.2)[_0x30768c(0x111)](),_0x58939c=new _0x12ef37[(_0x30768c(0x215))](_0x45c978+_0xfde5a2[_0x30768c(0x211)](_0xddafeb),{'pointsGroup':_0x1e9331,'fill':_0x50a083||_0x12ef37[_0x30768c(0x167)](_0xfde5a2[_0x30768c(0x3c5)][_0x30768c(0x218)],0.2),'left':_0x563bfc,'top':_0x18966a,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x30768c(0x2b8)](_0x58939c),this[_0x30768c(0x2e2)][_0x30768c(0xf4)](_0x58939c,_0x5f2683[_0x30768c(0x3ea)]);}[_0x31f2ea(0x3b7)](_0x1b72e5){const _0x2e546f=_0x1b72e5[0x0],_0x2f140e=_0x2e546f[0x0],_0x42b54a=_0x2e546f[0x2],{x:_0x4edb8a,y:_0x336241}=_0x2f140e,{x:_0x448b99,y:_0x3f6aac}=_0x42b54a;return{'left':_0x4edb8a,'top':_0x336241,'width':_0x448b99-_0x4edb8a,'height':_0x3f6aac-_0x336241};}[_0x31f2ea(0x399)](){const _0x120666=_0x31f2ea,{scaleX:_0x44e82b,scaleY:_0x4dbaa3}=this[_0x120666(0x2e2)]['getAncestorScale']();return Math[_0x120666(0x22c)](_0x44e82b,_0x4dbaa3);}}var _0x28728b=Object[_0x31f2ea(0x140)],_0x96cb8d=(_0x4b7d1c,_0x20ef52,_0x2083a1,_0x235a7f)=>{const _0xf6da25=_0x31f2ea;for(var _0x581ac3=_0x235a7f>0x1?void 0x0:_0x235a7f?_0x28728b(_0x20ef52,_0x2083a1):_0x20ef52,_0x57343e=_0x4b7d1c[_0xf6da25(0x273)]-0x1,_0x3ef4a7;_0x57343e>=0x0;_0x57343e--)(_0x3ef4a7=_0x4b7d1c[_0x57343e])&&(_0x581ac3=_0x3ef4a7(_0x581ac3)||_0x581ac3);return _0x581ac3;},_0x171b5d=(_0x1a9692,_0x3ab416)=>(_0x410cf3,_0x4406b4)=>_0x3ab416(_0x410cf3,_0x4406b4,_0x1a9692);let _0x362b37=class extends _0xfde5a2[_0x31f2ea(0x129)]{constructor(_0x4aa9ae,_0xf4bc23,_0x4c8a6a,_0x2ffd82,_0x340bf5){const _0x490499=_0x31f2ea;super(),_0x25ee06(this,_0x490499(0x12e),[]),_0x25ee06(this,_0x490499(0x195),[]),(this['_context']=_0x4aa9ae,this[_0x490499(0x288)]=_0xf4bc23,this[_0x490499(0x10f)]=_0x4c8a6a,this[_0x490499(0x1bf)]=_0x2ffd82,this[_0x490499(0x38b)]=_0x340bf5,this[_0x490499(0x158)]());}['_init'](){const _0x1cc0b2=_0x31f2ea,_0x1c252b=this[_0x1cc0b2(0x369)]['unitId'],_0x55a47d=this[_0x1cc0b2(0x288)];this[_0x1cc0b2(0x216)](_0x52a223[_0x1cc0b2(0x278)]([this[_0x1cc0b2(0x10f)][_0x1cc0b2(0x14f)](_0x1c252b),this['_themeService'][_0x1cc0b2(0x29e)]])['pipe'](_0x4871f9[_0x1cc0b2(0x1cc)](([_0x342150,_0x12f826])=>({'skeleton':_0x55a47d[_0x1cc0b2(0x392)](),'cursors':[..._0x342150[_0x1cc0b2(0x21c)]()]['flatMap'](_0x577809=>({..._0x577809,'color':this[_0x1cc0b2(0x38b)]['getColorFromTheme'](_0x577809['color'])}))})))[_0x1cc0b2(0x220)](_0x2290bb=>{const _0x2a8c14=_0x1cc0b2;if(this['_removeCollabCursors'](),_0x2290bb){const {skeleton:_0x307563,cursors:_0x1c178e}=_0x2290bb;this[_0x2a8c14(0x1fa)](_0x307563,_0x1c178e);}})),this[_0x1cc0b2(0x354)](),this[_0x1cc0b2(0x2b0)]();}['_updateCollabCursors'](_0x2801c9,_0x7efc53){const _0x304ddc=_0x31f2ea,{scene:_0x1a71ce,mainComponent:_0x3228cb}=this['_context'],_0x569769=_0x7efc53[_0x304ddc(0x1cc)](_0x5a7714=>new _0x3fdfad(_0x5a7714,_0x1a71ce,_0x2801c9,_0x3228cb));this[_0x304ddc(0x12e)]=_0x569769,this[_0x304ddc(0x195)]=_0x7efc53;}[_0x31f2ea(0x326)](){const _0x16f1af=_0x31f2ea;this[_0x16f1af(0x361)]();const {scene:_0xff307f,mainComponent:_0x3cb057}=this[_0x16f1af(0x369)],_0x5552e3=this[_0x16f1af(0x288)][_0x16f1af(0x392)](),_0x4067d0=this[_0x16f1af(0x195)][_0x16f1af(0x1cc)](_0x49cd54=>new _0x3fdfad(_0x49cd54,_0xff307f,_0x5552e3,_0x3cb057));this[_0x16f1af(0x12e)]=_0x4067d0;}[_0x31f2ea(0x361)](){const _0x255c4f=_0x31f2ea;this[_0x255c4f(0x12e)][_0x255c4f(0x2fb)](_0x161447=>_0x161447[_0x255c4f(0x3e4)]()),this[_0x255c4f(0x12e)]=[];}[_0x31f2ea(0x2b0)](){const _0x240b44=_0x31f2ea,_0x78163f=[_0x5f2683[_0x240b44(0x14c)]['id']];this[_0x240b44(0x216)](this[_0x240b44(0x1bf)]['onCommandExecuted'](_0x38e5a8=>{const _0x3846f0=_0x240b44;_0x78163f['includes'](_0x38e5a8['id'])&&_0x38e5a8[_0x3846f0(0x115)][_0x3846f0(0x20b)]===this['_context']['unitId']&&this['_refreshCollabCursors']();}));}[_0x31f2ea(0x354)](){const _0x1a8eb6=_0x31f2ea;this[_0x1a8eb6(0x216)](_0xfde5a2[_0x1a8eb6(0x1d4)](this[_0x1a8eb6(0x369)][_0x1a8eb6(0x272)][_0x1a8eb6(0x1db)])[_0x1a8eb6(0x1fe)](_0x4871f9['filter'](_0x375ee2=>_0x375ee2[_0x1a8eb6(0x2ee)]===_0x12ef37[_0x1a8eb6(0x266)][_0x1a8eb6(0x101)]),_0x4871f9[_0x1a8eb6(0xf0)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x362b37=_0x96cb8d([_0x171b5d(0x1,_0xfde5a2['Inject'](_0x3c17d2[_0x31f2ea(0x213)])),_0x171b5d(0x2,_0xfde5a2[_0x31f2ea(0x279)](_0x3d40e5)),_0x171b5d(0x3,_0xfde5a2[_0x31f2ea(0x117)]),_0x171b5d(0x4,_0xfde5a2[_0x31f2ea(0x279)](_0xfde5a2['ThemeService']))],_0x362b37);const _0x2a2faf=0x1,_0xe9aa8d=1.5;class _0x4671e4 extends _0x12ef37[_0x31f2ea(0x1c2)]{constructor(_0x5532a7,_0x1f41cf){const _0x14f720=_0x31f2ea;super(_0x5532a7,_0x1f41cf),_0x25ee06(this,_0x14f720(0x18c)),_0x25ee06(this,_0x14f720(0x371),!0x1),_0x25ee06(this,_0x14f720(0x27c)),_0x25ee06(this,_0x14f720(0x3aa),''),_0x25ee06(this,_0x14f720(0x2a4),_0x14f720(0x12f)),_0x25ee06(this,_0x14f720(0x290)),(_0x1f41cf&&this[_0x14f720(0x296)](_0x1f41cf),this['onPointerEnter$'][_0x14f720(0x2cf)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x14f720(0x384)]['subscribeEvent'](()=>this[_0x14f720(0x296)]({'hovered':!0x1})));}[_0x31f2ea(0x296)](_0x555374){const _0x12b48d=_0x31f2ea;var _0x275735,_0x3cd31e,_0x2a6938,_0x364cbf,_0x1579de,_0x460596;this['_color']=(_0x275735=_0x555374[_0x12b48d(0x26e)])!=null?_0x275735:this[_0x12b48d(0x18c)],this[_0x12b48d(0x371)]=(_0x3cd31e=_0x555374[_0x12b48d(0x133)])!=null?_0x3cd31e:this[_0x12b48d(0x371)],this[_0x12b48d(0x27c)]=(_0x2a6938=_0x555374['range'])!=null?_0x2a6938:this[_0x12b48d(0x27c)],this[_0x12b48d(0x3aa)]=(_0x364cbf=_0x555374[_0x12b48d(0x200)])!=null?_0x364cbf:this[_0x12b48d(0x3aa)],this[_0x12b48d(0x2a4)]=(_0x1579de=_0x555374['labelPosition'])!=null?_0x1579de:this[_0x12b48d(0x2a4)],this[_0x12b48d(0x290)]=(_0x460596=_0x555374[_0x12b48d(0x3e6)])!=null?_0x460596:this[_0x12b48d(0x290)],this['transformByState']({'width':_0x555374[_0x12b48d(0x39a)],'height':_0x555374['height']});}['onMouseMove'](_0x1406e0){const _0x565a2f=_0x31f2ea,{row:_0x1990d2,column:_0x11a99f}=_0x1406e0;if(_0x1990d2>=this[_0x565a2f(0x27c)][_0x565a2f(0x1af)]&&_0x1990d2<=this[_0x565a2f(0x27c)]['endRow']&&_0x11a99f>=this[_0x565a2f(0x27c)][_0x565a2f(0x2e5)]&&_0x11a99f<=this[_0x565a2f(0x27c)][_0x565a2f(0x3d7)]){this[_0x565a2f(0x296)]({'hovered':!0x0});return;}this[_0x565a2f(0x296)]({'hovered':!0x1});}[_0x31f2ea(0x336)](_0x44944e){return!0x1;}[_0x31f2ea(0x37e)](_0x2f1391){const _0x35ac61=_0x31f2ea;_0x12ef37[_0x35ac61(0x3cc)]['drawWith'](_0x2f1391,{'width':this[_0x35ac61(0x39a)],'height':this[_0x35ac61(0x2c4)],'strokeWidth':_0xe9aa8d,'stroke':this[_0x35ac61(0x18c)],'evented':!0x1,'fill':this[_0x35ac61(0x290)]}),this['_hovered']&&(_0x2f1391[_0x35ac61(0x122)](),_0x2f1391[_0x35ac61(0x1b2)](0x1,0x0,0x0,0x1,this[_0x35ac61(0x39a)],this[_0x35ac61(0x2a4)]===_0x35ac61(0x373)?0x0:-_0x206436),_0x41ede9['drawWith'](_0x2f1391,{'text':this[_0x35ac61(0x3aa)],'color':this[_0x35ac61(0x18c)]}),_0x2f1391[_0x35ac61(0x1c7)]());}}var _0x5eca48=Object[_0x31f2ea(0x140)],_0x4e640d=(_0xd724a0,_0x573203,_0x3a8215,_0x5455a3)=>{for(var _0x5e91b9=_0x5455a3>0x1?void 0x0:_0x5455a3?_0x5eca48(_0x573203,_0x3a8215):_0x573203,_0x5b940f=_0xd724a0['length']-0x1,_0x40ec34;_0x5b940f>=0x0;_0x5b940f--)(_0x40ec34=_0xd724a0[_0x5b940f])&&(_0x5e91b9=_0x40ec34(_0x5e91b9)||_0x5e91b9);return _0x5e91b9;},_0x52f1ef=(_0x3a79b1,_0x1d0757)=>(_0x2c9607,_0x377cf7)=>_0x1d0757(_0x2c9607,_0x377cf7,_0x3a79b1);const _0x2b8ac9=0x1389;let _0x36393a=class extends _0xfde5a2['RxDisposable']{constructor(_0x2c2a6c,_0x1f74a9,_0x1076ab,_0x570e11){const _0x4329e5=_0x31f2ea;super(),_0x25ee06(this,_0x4329e5(0x195),new Set()),_0x25ee06(this,'_lastPointer',null),(this[_0x4329e5(0x369)]=_0x2c2a6c,this['_sheetSkeletonManagerService']=_0x1f74a9,this[_0x4329e5(0x10f)]=_0x1076ab,this[_0x4329e5(0x38b)]=_0x570e11,this[_0x4329e5(0x158)]());}[_0x31f2ea(0x158)](){const _0x58c809=_0x31f2ea;this['_sheetSkeletonManagerService'][_0x58c809(0x18b)][_0x58c809(0x1fe)](_0x4871f9[_0x58c809(0x24a)](this['dispose$']),_0x4871f9[_0x58c809(0x23c)](_0x16f50b=>{const _0x969122=_0x58c809;if(_0x16f50b){const _0x1ee22a=_0x16f50b[_0x969122(0x3a6)];return _0x52a223[_0x969122(0x278)](this[_0x969122(0x10f)][_0x969122(0x14f)](this[_0x969122(0x369)][_0x969122(0x20b)]),this[_0x969122(0x38b)][_0x969122(0x29e)])[_0x969122(0x1fe)](_0x4871f9[_0x969122(0x1cc)](([_0x13d661,_0x5f2019])=>{const _0x3f158e=_0x969122,_0x14a200=new Map();return _0x13d661[_0x3f158e(0x2fb)]((_0x23c01b,_0x58492a)=>{const _0x59fcbe=_0x3f158e;if(_0x23c01b[_0x59fcbe(0x36e)]===_0x1ee22a){const _0x5491aa={..._0x23c01b};_0x5491aa['color']=this[_0x59fcbe(0x38b)][_0x59fcbe(0x16c)](_0x23c01b[_0x59fcbe(0x26e)]),_0x14a200['set'](_0x58492a,_0x5491aa);}}),{'skeleton':_0x16f50b,'cursors':_0x14a200};}));}return _0x52a223['of']({'skeleton':null,'cursors':new Map()});}))[_0x58c809(0x220)](({skeleton:_0x4efa59,cursors:_0x238825})=>{const _0x56d5e3=_0x58c809;this['_removeCollabCursors'](),_0x4efa59&&this[_0x56d5e3(0x1fa)](_0x4efa59,_0x238825);}),this[_0x58c809(0x30d)][_0x58c809(0x18b)][_0x58c809(0x220)](_0x382dec=>{const _0x12219b=_0x58c809;if(_0x382dec==null)return;const {skeleton:_0x3d5380}=_0x382dec,{scene:_0x556604}=this[_0x12219b(0x369)];_0x556604[_0x12219b(0x102)][_0x12219b(0x2cf)](_0xfde5a2[_0x12219b(0x292)](_0x4063b2=>{const _0x485842=_0x12219b;var _0x1ef35f,_0x1f0980;const {offsetX:_0x2d3ea5,offsetY:_0x3b675b}=_0x4063b2,{x:_0x63b79a,y:_0x21b643}=_0x556604[_0x485842(0x192)](_0x12ef37['Vector2'][_0x485842(0x2ab)]([_0x2d3ea5,_0x3b675b])),{scaleX:_0x1cdef7,scaleY:_0x184857}=_0x556604[_0x485842(0x1b1)](),_0x386137=_0x556604[_0x485842(0x1b6)](_0x12ef37['SHEET_VIEWPORT_KEY'][_0x485842(0x257)]),_0x130d81=_0x556604[_0x485842(0x377)](_0x12ef37[_0x485842(0xfd)][_0x485842(0x2ab)]([_0x63b79a,_0x21b643]),_0x386137),_0x436cba=_0x3d5380[_0x485842(0x100)](_0x2d3ea5,_0x3b675b,_0x1cdef7,_0x184857,_0x130d81);((_0x1ef35f=this['_lastPointer'])==null?void 0x0:_0x1ef35f[_0x485842(0x350)])===_0x436cba['column']&&((_0x1f0980=this[_0x485842(0x1fb)])==null?void 0x0:_0x1f0980[_0x485842(0x2ae)])===_0x436cba[_0x485842(0x2ae)]||this[_0x485842(0x195)][_0x485842(0x2fb)](_0x33a86f=>{const _0x10fc45=_0x485842;_0x33a86f[_0x10fc45(0x1ee)](_0x436cba);});},0x64));});}[_0x31f2ea(0x1fa)](_0x5960f8,_0x4cb1d1){const _0x2e83a8=_0x31f2ea;var _0x477d85;const _0x2d6cbd=(_0x477d85=this[_0x2e83a8(0x30d)][_0x2e83a8(0x3b5)]())==null?void 0x0:_0x477d85[_0x2e83a8(0x17e)];if(!_0x2d6cbd)return;const _0x4e0055=this['_getSheetObject']();if(!_0x4e0055)return;this[_0x2e83a8(0x195)][_0x2e83a8(0x2fb)](_0x1c8398=>{const _0x1ec4ca=_0x2e83a8;_0x1c8398[_0x1ec4ca(0x270)]();});const {scene:_0x5efc61}=_0x4e0055,_0x677635=_0x1ecede(Array[_0x2e83a8(0x25e)](_0x4cb1d1[_0x2e83a8(0x21c)]()))['map'](_0x58486e=>{const _0x235a82=_0x2e83a8,{color:_0x58c995,range:_0x5a3835,name:_0x398d5f,selection:_0x391f36,sheetID:_0x37f29d}=_0x58486e,{startColumn:_0x24ba64,startRow:_0xa73d5b,endColumn:_0x2e749d,endRow:_0x226dca}=_0x5a3835,_0x4a8991=_0x209116[_0x235a82(0x222)](_0xa73d5b,_0x24ba64,_0x5efc61,_0x2d6cbd),_0xa93274=_0x209116[_0x235a82(0x222)](_0x226dca,_0x2e749d,_0x5efc61,_0x2d6cbd),{columnHeaderHeightAndMarginTop:_0x55493b}=_0x2d6cbd,{startX:_0x27c692,startY:_0x34af18}=_0x4a8991,{endX:_0x44ae5,endY:_0x368848}=_0xa93274,_0x32dc1e=_0x44ae5-_0x27c692,_0x4a9157=_0x368848-_0x34af18,_0x38b714={'labelPosition':_0x34af18-_0x55493b>=_0x206436?'top':'bottom','sheetID':_0x37f29d,'range':_0x5a3835,'color':_0x58c995,'name':_0x398d5f,'selection':_0x391f36,'left':_0x27c692,'top':_0x34af18,'width':_0x32dc1e,'height':_0x4a9157,'evented':!0x1,'zIndex':_0x2b8ac9};return new _0x4671e4(_0x398d5f,_0x38b714);});_0x5efc61[_0x2e83a8(0x3b8)](_0x677635,_0x2a2faf),this['_cursors']=new Set(_0x677635);}[_0x31f2ea(0x361)](){const _0x296108=_0x31f2ea;var _0x4fc5d9;(_0x4fc5d9=this[_0x296108(0x195)])==null||_0x4fc5d9[_0x296108(0x2fb)](_0x27f7cd=>_0x27f7cd['dispose']());}['_getSheetObject'](){const _0x2c45e1=_0x31f2ea;return _0x209116[_0x2c45e1(0x344)](this[_0x2c45e1(0x369)][_0x2c45e1(0x2b3)],this['_context']);}};_0x36393a=_0x4e640d([_0x52f1ef(0x1,_0xfde5a2[_0x31f2ea(0x279)](_0x209116[_0x31f2ea(0x2bc)])),_0x52f1ef(0x2,_0xfde5a2[_0x31f2ea(0x279)](_0x3d40e5)),_0x52f1ef(0x3,_0xfde5a2[_0x31f2ea(0x279)](_0xfde5a2['ThemeService']))],_0x36393a);function _0x1ecede(_0x399f0b){const _0xf4f404=_0x31f2ea,_0x540272=new Map();return _0x399f0b[_0xf4f404(0x2fb)](_0x5f33e7=>{const _0x1af2a4=_0xf4f404;if(_0x540272['has'](_0x5f33e7[_0x1af2a4(0x22a)])){const _0x519d0b=_0x540272['get'](_0x5f33e7['selection']);_0x519d0b[_0x1af2a4(0x200)]+=',\x20'+_0x5f33e7[_0x1af2a4(0x200)];}else _0x540272[_0x1af2a4(0x15e)](_0x5f33e7['selection'],_0x5f33e7);}),Array[_0xf4f404(0x25e)](_0x540272[_0xf4f404(0x21c)]());}var _0x511261=Object[_0x31f2ea(0x140)],_0x343c8f=(_0x5173c5,_0x4d0b6f,_0x2d8820,_0x4e8ac9)=>{const _0x508d3f=_0x31f2ea;for(var _0x5fad30=_0x4e8ac9>0x1?void 0x0:_0x4e8ac9?_0x511261(_0x4d0b6f,_0x2d8820):_0x4d0b6f,_0x4e1361=_0x5173c5[_0x508d3f(0x273)]-0x1,_0x26e950;_0x4e1361>=0x0;_0x4e1361--)(_0x26e950=_0x5173c5[_0x4e1361])&&(_0x5fad30=_0x26e950(_0x5fad30)||_0x5fad30);return _0x5fad30;},_0x3c6700=(_0x28ec5e,_0x2b4b62)=>(_0xc4db84,_0x1332fe)=>_0x2b4b62(_0xc4db84,_0x1332fe,_0x28ec5e);let _0x2e487d=class extends _0xfde5a2[_0x31f2ea(0x38c)]{constructor(_0x2ad706,_0x3ab05e,_0x488742,_0x300a0b,_0x5990cb,_0x3fd7ab){const _0x15d714=_0x31f2ea;super(),this[_0x15d714(0x357)]=_0x2ad706,this[_0x15d714(0x1d7)]=_0x3ab05e,this[_0x15d714(0x1ac)]=_0x488742,this[_0x15d714(0x17f)]=_0x300a0b,this['_notificationService']=_0x5990cb,this[_0x15d714(0x339)]=_0x3fd7ab,this[_0x15d714(0x39d)](),this[_0x15d714(0x1d6)]();}['_setupBeforeClosingHandler'](){const _0x3c71c8=_0x31f2ea;this['disposeWithMe'](this['_beforeCloseService'][_0x3c71c8(0x193)](()=>{const _0x53de14=_0x3c71c8;if(this[_0x53de14(0x1d7)][_0x53de14(0x131)]['size'])return this[_0x53de14(0x339)]['t'](_0x53de14(0x376));}));}[_0x31f2ea(0x1d6)](){const _0x11c779=_0x31f2ea;this[_0x11c779(0x216)](this[_0x11c779(0x1ac)][_0x11c779(0x12d)][_0x11c779(0x220)](_0x5095de=>{const _0x1ff947=_0x11c779;_0x5095de['id']===_0x27635d[_0x1ff947(0x298)][_0x1ff947(0x27a)]&&this['_messageService'][_0x1ff947(0x1f7)]({'type':_0x2eee56[_0x1ff947(0x250)]['Warning'],'content':this[_0x1ff947(0x339)]['t'](_0x1ff947(0x18a))}),_0x5095de['id']===_0x27635d[_0x1ff947(0x298)][_0x1ff947(0x1ed)]&&this[_0x1ff947(0x17f)]['show']({'type':_0x2eee56[_0x1ff947(0x250)][_0x1ff947(0x281)],'content':this[_0x1ff947(0x339)]['t'](_0x1ff947(0x10d))}),_0x5095de['id']===_0x27635d['CollaborationUIEventId'][_0x1ff947(0x14d)]&&this['_notificationService'][_0x1ff947(0x1f7)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x1ff947(0x339)]['t'](_0x1ff947(0x1ae)),'type':'error','duration':0x0}),_0x5095de['id']===_0x27635d[_0x1ff947(0x298)][_0x1ff947(0x1a9)]&&this[_0x1ff947(0x17f)][_0x1ff947(0x1f7)]({'type':_0x2eee56[_0x1ff947(0x250)]['Error'],'content':this[_0x1ff947(0x339)]['t'](_0x1ff947(0x10d))+'('+_0x5095de[_0x1ff947(0x116)]+')'}),_0x5095de['id']===_0x27635d[_0x1ff947(0x298)][_0x1ff947(0x10c)]&&this[_0x1ff947(0x17f)]['show']({'type':_0x2eee56[_0x1ff947(0x250)]['Warning'],'content':this[_0x1ff947(0x339)]['t'](_0x5095de[_0x1ff947(0x116)]||'')}),_0x5095de['id']===_0x27635d['CollaborationUIEventId'][_0x1ff947(0x170)]&&this['_messageService']['show']({'type':_0x2eee56['MessageType'][_0x1ff947(0x281)],'content':this[_0x1ff947(0x339)]['t']('session.will-retry')}),_0x5095de['id']===_0x27635d[_0x1ff947(0x298)]['SOCKET_FAILED']&&this['_messageService']['show']({'type':_0x2eee56[_0x1ff947(0x250)]['Error'],'content':this[_0x1ff947(0x339)]['t'](_0x1ff947(0x132))}),_0x5095de['id']===_0x27635d[_0x1ff947(0x298)][_0x1ff947(0xf5)]&&this[_0x1ff947(0x17f)][_0x1ff947(0x1f7)]({'type':_0x2eee56[_0x1ff947(0x250)][_0x1ff947(0x2a1)],'content':this['_localeService']['t'](_0x1ff947(0x221))});}));}};_0x2e487d=_0x343c8f([_0x3c6700(0x0,_0x1dd723[_0x31f2ea(0x2d2)]),_0x3c6700(0x1,_0x27635d[_0x31f2ea(0x358)]),_0x3c6700(0x2,_0xfde5a2['Inject'](_0x27635d[_0x31f2ea(0x1a4)])),_0x3c6700(0x3,_0x1dd723['IMessageService']),_0x3c6700(0x4,_0x1dd723['INotificationService']),_0x3c6700(0x5,_0xfde5a2['Inject'](_0xfde5a2[_0x31f2ea(0x21b)]))],_0x2e487d);var _0x1c6843=Object['getOwnPropertyDescriptor'],_0x3d581a=(_0x1dca58,_0x138ca0,_0x452df7,_0x1f2e75)=>{const _0x33d10e=_0x31f2ea;for(var _0x1a7573=_0x1f2e75>0x1?void 0x0:_0x1f2e75?_0x1c6843(_0x138ca0,_0x452df7):_0x138ca0,_0x23ed15=_0x1dca58[_0x33d10e(0x273)]-0x1,_0x2158ce;_0x23ed15>=0x0;_0x23ed15--)(_0x2158ce=_0x1dca58[_0x23ed15])&&(_0x1a7573=_0x2158ce(_0x1a7573)||_0x1a7573);return _0x1a7573;},_0xfe6f8b=(_0x427f1e,_0x6324aa)=>(_0x5c2b34,_0x537738)=>_0x6324aa(_0x5c2b34,_0x537738,_0x427f1e);let _0x3f03d4=class extends _0xfde5a2['Disposable']{constructor(_0x5531b8,_0x1ad9e3,_0x1754c3,_0x1fd103){const _0x3d547e=_0x31f2ea;super(),_0x25ee06(this,'_memberID'),(this['_injector']=_0x5531b8,this[_0x3d547e(0x123)]=_0x1ad9e3,this[_0x3d547e(0x29c)]=_0x1754c3,this[_0x3d547e(0x3af)]=_0x1fd103,this['_init']());}[_0x31f2ea(0x158)](){const _0x113e69=_0x31f2ea;this['_initWindowErrorListener'](),this[_0x113e69(0x18f)](),this['_monkeyPatchLogService'](),this[_0x113e69(0x16d)]();}[_0x31f2ea(0x16d)](){const _0x32066b=_0x31f2ea;this[_0x32066b(0x216)](this[_0x32066b(0x3af)][_0x32066b(0x1b5)][_0x32066b(0x220)](_0x5c4600=>{const _0x6a4480=_0x32066b;this[_0x6a4480(0x3b1)]=_0x5c4600==null?void 0x0:_0x5c4600[_0x6a4480(0x271)];}));}['_initWindowErrorListener'](){const _0x44d0c1=_0x31f2ea,_0x2f485a=_0x12d9a8=>{const _0x5eb824=_0x35b2;var _0x1ec816;this[_0x5eb824(0x160)](_0x5eb824(0x20f),_0x5eb824(0x1ea)+_0x12d9a8[_0x5eb824(0x20a)]+_0x5eb824(0x25d)+_0x12d9a8['filename']+':'+_0x12d9a8[_0x5eb824(0x177)]+':'+_0x12d9a8[_0x5eb824(0x21e)]+'\x0a'+(((_0x1ec816=_0x12d9a8[_0x5eb824(0x20f)])==null?void 0x0:_0x1ec816['stack'])||''));};window[_0x44d0c1(0x3b3)]('error',_0x2f485a),this[_0x44d0c1(0x216)](()=>{const _0x4d4295=_0x44d0c1;window['removeEventListener'](_0x4d4295(0x20f),_0x2f485a);});}[_0x31f2ea(0x18f)](){const _0x190008=_0x31f2ea,_0x2baddc=_0x5e4b14=>{const _0x302509=_0x35b2;this[_0x302509(0x160)](_0x302509(0x20f),_0x302509(0x212)+_0x5e4b14[_0x302509(0x391)]);};window['addEventListener'](_0x190008(0x3a1),_0x2baddc),this['disposeWithMe'](()=>{const _0x5cde8a=_0x190008;window[_0x5cde8a(0x11c)](_0x5cde8a(0x3a1),_0x2baddc);});}[_0x31f2ea(0x3e9)](){const _0x3ab9ab=_0x31f2ea,_0x5787a8=this[_0x3ab9ab(0x29c)][_0x3ab9ab(0x20f)][_0x3ab9ab(0x2c6)](this[_0x3ab9ab(0x29c)]);this['_logService'][_0x3ab9ab(0x20f)]=(..._0x25b631)=>{const _0x23372f=_0x3ab9ab,_0x5f3cbc=_0x25b631[_0x23372f(0x1cc)](_0x3a4a5e=>_0x3a4a5e instanceof Error?_0x3a4a5e[_0x23372f(0x20a)]+'\x0a'+_0x3a4a5e['stack']:String(_0x3a4a5e))[_0x23372f(0x234)]('\x20');this[_0x23372f(0x160)](_0x23372f(0x20f),_0x23372f(0x25b)+_0x5f3cbc),_0x5787a8(..._0x25b631);},this[_0x3ab9ab(0x216)](()=>{const _0x129970=_0x3ab9ab;this[_0x129970(0x29c)][_0x129970(0x20f)]=_0x5787a8;});}[_0x31f2ea(0x160)](_0xdcf31c,_0x20fc39){const _0x3f5a34=_0x31f2ea;try{const _0x401722={'userId':this[_0x3f5a34(0x3b1)],'logLabel':_0xdcf31c,'content':_0x20fc39};this[_0x3f5a34(0x123)][_0x3f5a34(0x269)](_0x3f5a34(0x127),{'body':_0x401722})[_0x3f5a34(0x309)](()=>{});}catch{}}};_0x3f03d4=_0x3d581a([_0xfe6f8b(0x0,_0xfde5a2[_0x31f2ea(0x279)](_0xfde5a2['Injector'])),_0xfe6f8b(0x1,_0xfde5a2['Inject'](_0x47e21f[_0x31f2ea(0x209)])),_0xfe6f8b(0x2,_0xfde5a2[_0x31f2ea(0x25c)]),_0xfe6f8b(0x3,_0xfde5a2[_0x31f2ea(0x279)](_0x27635d[_0x31f2ea(0x134)]))],_0x3f03d4);const _0x348dba=_0x31f2ea(0x378),_0x3deaab={};var _0x347ece=Object[_0x31f2ea(0x140)],_0x498125=(_0x4cb284,_0x39ceec,_0x3746b4,_0x137581)=>{const _0x70c835=_0x31f2ea;for(var _0x537e74=_0x137581>0x1?void 0x0:_0x137581?_0x347ece(_0x39ceec,_0x3746b4):_0x39ceec,_0x433366=_0x4cb284[_0x70c835(0x273)]-0x1,_0x3c9aa2;_0x433366>=0x0;_0x433366--)(_0x3c9aa2=_0x4cb284[_0x433366])&&(_0x537e74=_0x3c9aa2(_0x537e74)||_0x537e74);return _0x537e74;},_0x28a32e=(_0x32931c,_0x2367b1)=>(_0x9510ef,_0x4aeddc)=>_0x2367b1(_0x9510ef,_0x4aeddc,_0x32931c);let _0x2b4140=class{constructor(_0x3bc909,_0x11a2ef){const _0x543e2a=_0x31f2ea;this[_0x543e2a(0x293)]=_0x3bc909,this['_renderManagerService']=_0x11a2ef;}['transformIMECache'](_0x745af8){const _0x305467=_0x31f2ea;this[_0x305467(0x1df)](_0x745af8),this[_0x305467(0x327)](_0x745af8);}[_0x31f2ea(0x17d)](_0x33f974){const _0x2a9611=_0x31f2ea,{unitID:_0x38fb88}=_0x33f974,_0x52eb64=this[_0x2a9611(0x232)][_0x2a9611(0x3df)](_0x38fb88)[_0x2a9611(0x2f8)](_0x5f2683[_0x2a9611(0x3cf)]),{redoCache:_0x34101a}=_0x52eb64['getUndoRedoMutationParamsCache']();if(_0x34101a['length']===0x0)return _0x33f974;let _0xfb586d=_0xfde5a2[_0x2a9611(0x11d)][_0x2a9611(0x397)](_0x33f974['mutations'][0x0]);for(let _0x653746=0x0;_0x653746<_0x34101a['length'];_0x653746++){const _0x52290a={'id':'doc.mutation.rich-text-editing','params':{..._0x34101a[_0x653746]}},_0x36ac09=this[_0x2a9611(0x293)][_0x2a9611(0x1f0)](_0xfb586d,_0x52290a,!0x1);if(_0x1d08ae['isTransformMutationFailure'](_0x36ac09))throw _0x36ac09['error'];_0xfb586d=_0x36ac09['m1Prime'];}return{..._0xfde5a2['Tools'][_0x2a9611(0x397)](_0x33f974),'mutations':[_0xfb586d]};}['_transformUndoRedoStack'](_0x2953b7){const _0xa901e5=_0x31f2ea,{unitID:_0x4b4161}=_0x2953b7,_0x5cbd74=this[_0xa901e5(0x232)][_0xa901e5(0x3df)](_0x4b4161)['with'](_0x5f2683[_0xa901e5(0x3cf)]),{undoCache:_0x400876,redoCache:_0x16aed7}=_0x5cbd74[_0xa901e5(0x381)]();if(_0x400876[_0xa901e5(0x273)]===0x0||_0x16aed7['length']===0x0)return;const _0x421288=[],_0x2c9ea8=[];let _0x3d254b=_0xfde5a2['Tools'][_0xa901e5(0x397)](_0x2953b7[_0xa901e5(0x3c3)][0x0]),_0x2d54c5=_0xfde5a2[_0xa901e5(0x11d)][_0xa901e5(0x397)](_0x2953b7[_0xa901e5(0x3c3)][0x0]);for(let _0x4ccbb0=_0x400876[_0xa901e5(0x273)]-0x1;_0x4ccbb0>=0x0;_0x4ccbb0--){const _0x2a001b={'id':_0xa901e5(0x10a),'params':{..._0x400876[_0x4ccbb0]}},_0x2113cf={'id':'doc.mutation.rich-text-editing','params':{..._0x16aed7[_0x4ccbb0]}},_0x3ca34c=this[_0xa901e5(0x293)]['transformMutation'](_0x3d254b,_0x2a001b,!0x1),_0x38ed57=this[_0xa901e5(0x293)][_0xa901e5(0x1f0)](_0x2d54c5,_0x2113cf,!0x1);if(_0x1d08ae[_0xa901e5(0x19d)](_0x3ca34c))throw _0x3ca34c[_0xa901e5(0x20f)];if(_0x1d08ae[_0xa901e5(0x19d)](_0x38ed57))throw _0x38ed57[_0xa901e5(0x20f)];_0x421288['unshift'](_0x3ca34c[_0xa901e5(0x364)][_0xa901e5(0x115)]),_0x2c9ea8[_0xa901e5(0x26f)](_0x38ed57['m2Prime'][_0xa901e5(0x115)]),_0x3d254b=_0x3ca34c[_0xa901e5(0x2ba)],_0x2d54c5=_0x38ed57[_0xa901e5(0x2ba)];}_0x5cbd74[_0xa901e5(0x15a)]({'undoCache':_0x421288,'redoCache':_0x2c9ea8});}['_transformPreviousActiveRange'](_0x42fc88){const _0x599f9b=_0x31f2ea,{unitID:_0x2527ba}=_0x42fc88,_0x2c586b=this[_0x599f9b(0x232)][_0x599f9b(0x3df)](_0x2527ba)[_0x599f9b(0x2f8)](_0x5f2683[_0x599f9b(0x3cf)]),_0x1fc586=_0x2c586b[_0x599f9b(0x3c4)]();if(_0x1fc586==null)return;const _0x5e7f42=[{'id':_0x599f9b(0x10a),'params':{'unitId':_0x42fc88[_0x599f9b(0x2cd)],'actions':null,'textRanges':[_0x1fc586]}}],_0xbf0e0e=this[_0x599f9b(0x293)][_0x599f9b(0x12c)](_0x42fc88,_0x5e7f42);if(!_0x1d08ae[_0x599f9b(0x2c0)](_0xbf0e0e))throw _0xbf0e0e[_0x599f9b(0x20f)];const _0x578675=_0xbf0e0e[_0x599f9b(0x364)][0x0][_0x599f9b(0x115)][_0x599f9b(0x32f)];Array[_0x599f9b(0x3d0)](_0x578675)&&_0x578675[_0x599f9b(0x273)]&&_0x2c586b['setActiveRange'](_0x578675[0x0]);}};_0x2b4140=_0x498125([_0x28a32e(0x0,_0x1d08ae['ITransformService']),_0x28a32e(0x1,_0x12ef37[_0x31f2ea(0x359)])],_0x2b4140);var _0xd6e2b6=Object[_0x31f2ea(0x140)],_0x1e74a8=(_0xa26f5d,_0x3dd2bb,_0x5305dc,_0x92ad15)=>{for(var _0x691952=_0x92ad15>0x1?void 0x0:_0x92ad15?_0xd6e2b6(_0x3dd2bb,_0x5305dc):_0x3dd2bb,_0x3a6587=_0xa26f5d['length']-0x1,_0x23ee59;_0x3a6587>=0x0;_0x3a6587--)(_0x23ee59=_0xa26f5d[_0x3a6587])&&(_0x691952=_0x23ee59(_0x691952)||_0x691952);return _0x691952;},_0x1c98d6=(_0x2cb46d,_0xcae22a)=>(_0x1764a5,_0x565aa0)=>_0xcae22a(_0x1764a5,_0x565aa0,_0x2cb46d);let _0x1860b7=class{constructor(_0x2773f2,_0x4317c8,_0x1289aa){const _0x58101f=_0x31f2ea;this[_0x58101f(0x13b)]=_0x2773f2,this[_0x58101f(0x293)]=_0x4317c8,this['_docStateChangeManagerService']=_0x1289aa;}[_0x31f2ea(0x171)](_0x329c82){const _0x44f688=_0x31f2ea;this[_0x44f688(0x196)](_0x329c82);}['transformRemoteChangeset'](_0x4ec46f){const _0x5e0e26=_0x31f2ea,{unitID:_0x1bae80}=_0x4ec46f,{collaboration:_0x52b4da}=this['_docStateChangeManagerService'][_0x5e0e26(0x3de)](_0x1bae80);if(_0x52b4da['length']===0x0)return _0x4ec46f;let _0x2257c8=_0xfde5a2['Tools'][_0x5e0e26(0x397)](_0x4ec46f[_0x5e0e26(0x3c3)][0x0]);for(let _0xb49cbd=0x0;_0xb49cbd<_0x52b4da['length'];_0xb49cbd++){const _0x280dca={'id':_0x5e0e26(0x10a),'params':{'unitId':_0x52b4da[_0xb49cbd][_0x5e0e26(0x20b)],..._0x52b4da[_0xb49cbd][_0x5e0e26(0x118)]}},_0x50b5cb=this[_0x5e0e26(0x293)][_0x5e0e26(0x1f0)](_0x2257c8,_0x280dca,!0x1);if(_0x1d08ae['isTransformMutationFailure'](_0x50b5cb))throw _0x50b5cb[_0x5e0e26(0x20f)];_0x2257c8=_0x50b5cb[_0x5e0e26(0x2ba)];}return{..._0xfde5a2[_0x5e0e26(0x11d)][_0x5e0e26(0x397)](_0x4ec46f),'mutations':[_0x2257c8]};}[_0x31f2ea(0x196)](_0x1f9d72){const _0x10ccba=_0x31f2ea,{unitID:_0x418eef}=_0x1f9d72,{history:_0xe87ab2,collaboration:_0x1d9143}=this[_0x10ccba(0x30a)][_0x10ccba(0x3de)](_0x418eef);if(_0xe87ab2[_0x10ccba(0x273)]===0x0&&_0x1d9143[_0x10ccba(0x273)]===0x0)return;const _0x5cc255=[],_0x47578f=[];let _0x3cb78b=_0xfde5a2['Tools']['deepClone'](_0x1f9d72[_0x10ccba(0x3c3)][0x0]),_0x49478f=_0xfde5a2[_0x10ccba(0x11d)][_0x10ccba(0x397)](_0x1f9d72[_0x10ccba(0x3c3)][0x0]);for(let _0x19f435=_0xe87ab2[_0x10ccba(0x273)]-0x1;_0x19f435>=0x0;_0x19f435--){const _0x36bf8d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xe87ab2[_0x19f435][_0x10ccba(0x20b)],..._0xe87ab2[_0x19f435][_0x10ccba(0x265)]}},_0x526b1f={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xe87ab2[_0x19f435][_0x10ccba(0x20b)],..._0xe87ab2[_0x19f435][_0x10ccba(0x118)]}},_0xc30366=this[_0x10ccba(0x293)]['transformMutation'](_0x3cb78b,_0x36bf8d,!0x1),_0x4440c5=this[_0x10ccba(0x293)][_0x10ccba(0x1f0)](_0x49478f,_0x526b1f,!0x1);if(_0x1d08ae[_0x10ccba(0x19d)](_0xc30366))throw _0xc30366['error'];if(_0x1d08ae[_0x10ccba(0x19d)](_0x4440c5))throw _0x4440c5[_0x10ccba(0x20f)];_0x5cc255['unshift']({..._0xe87ab2[_0x19f435],'undoState':_0xc30366[_0x10ccba(0x364)][_0x10ccba(0x115)],'redoState':_0x4440c5[_0x10ccba(0x364)][_0x10ccba(0x115)]}),_0x3cb78b=_0xc30366[_0x10ccba(0x2ba)],_0x49478f=_0x4440c5[_0x10ccba(0x2ba)];}_0x3cb78b=_0xfde5a2['Tools'][_0x10ccba(0x397)](_0x1f9d72['mutations'][0x0]),_0x49478f=_0xfde5a2[_0x10ccba(0x11d)][_0x10ccba(0x397)](_0x1f9d72[_0x10ccba(0x3c3)][0x0]);for(let _0x1d1dfd=_0x1d9143[_0x10ccba(0x273)]-0x1;_0x1d1dfd>=0x0;_0x1d1dfd--){const _0x4df4ab={'id':_0x10ccba(0x10a),'params':{'unitId':_0x1d9143[_0x1d1dfd][_0x10ccba(0x20b)],..._0x1d9143[_0x1d1dfd]['undoState']}},_0x17ef05={'id':_0x10ccba(0x10a),'params':{'unitId':_0x1d9143[_0x1d1dfd][_0x10ccba(0x20b)],..._0x1d9143[_0x1d1dfd]['redoState']}},_0x3e3a98=this['_transformService']['transformMutation'](_0x3cb78b,_0x4df4ab,!0x1),_0x3e621e=this[_0x10ccba(0x293)]['transformMutation'](_0x49478f,_0x17ef05,!0x1);if(_0x1d08ae[_0x10ccba(0x19d)](_0x3e3a98))throw _0x3e3a98[_0x10ccba(0x20f)];if(_0x1d08ae['isTransformMutationFailure'](_0x3e621e))throw _0x3e621e['error'];_0x47578f[_0x10ccba(0x26f)]({..._0x1d9143[_0x1d1dfd],'undoState':_0x3e3a98[_0x10ccba(0x364)]['params'],'redoState':_0x3e621e[_0x10ccba(0x364)][_0x10ccba(0x115)]}),_0x3cb78b=_0x3e3a98[_0x10ccba(0x2ba)],_0x49478f=_0x3e621e[_0x10ccba(0x2ba)];}this[_0x10ccba(0x30a)][_0x10ccba(0x126)](_0x418eef,{'history':_0x5cc255,'collaboration':_0x47578f});}};_0x1860b7=_0x1e74a8([_0x1c98d6(0x0,_0xfde5a2[_0x31f2ea(0x279)](_0xfde5a2[_0x31f2ea(0x110)])),_0x1c98d6(0x1,_0x1d08ae[_0x31f2ea(0x3d6)]),_0x1c98d6(0x2,_0xfde5a2['Inject'](_0x5f2683[_0x31f2ea(0x190)]))],_0x1860b7);var _0x41f349=Object[_0x31f2ea(0x140)],_0x40d48b=(_0x4bf037,_0x1f6a4c,_0xe365e7,_0x1b439d)=>{const _0x41f57d=_0x31f2ea;for(var _0x41d67e=_0x1b439d>0x1?void 0x0:_0x1b439d?_0x41f349(_0x1f6a4c,_0xe365e7):_0x1f6a4c,_0x39a626=_0x4bf037[_0x41f57d(0x273)]-0x1,_0x11a3c1;_0x39a626>=0x0;_0x39a626--)(_0x11a3c1=_0x4bf037[_0x39a626])&&(_0x41d67e=_0x11a3c1(_0x41d67e)||_0x41d67e);return _0x41d67e;},_0xa7eafc=(_0x4b7d15,_0x4e5513)=>(_0x4b276c,_0x5f1a21)=>_0x4e5513(_0x4b276c,_0x5f1a21,_0x4b7d15);let _0x3addf5=class{constructor(_0x33f704,_0x5f3fc9){const _0x261ccb=_0x31f2ea;this[_0x261ccb(0x13b)]=_0x33f704,this['_transformService']=_0x5f3fc9;}[_0x31f2ea(0x22d)](_0x4b788b){const _0x76263=_0x31f2ea;var _0x75e226;const _0x4de4fc=this[_0x76263(0x13b)][_0x76263(0xfb)](_0x3c17d2[_0x76263(0x2cc)]),_0x198b87=(_0x75e226=_0x4de4fc[_0x76263(0x286)]())!=null?_0x75e226:[];if(_0x198b87['length']===0x0)return;const _0x54a29f=_0x4b788b['unitID'],_0x27db61=[{'id':_0x76263(0x10a),'params':{'unitId':_0x54a29f,'actions':null,'textRanges':_0x198b87}}],_0x294807=this['_transformService'][_0x76263(0x12c)](_0x4b788b,_0x27db61);if(!_0x1d08ae[_0x76263(0x2c0)](_0x294807))throw _0x294807[_0x76263(0x20f)];const _0x5332ae=_0x294807[_0x76263(0x364)][0x0]['params'][_0x76263(0x32f)];Array[_0x76263(0x3d0)](_0x5332ae)&&_0x5332ae['length']&&_0x4de4fc[_0x76263(0x2c9)](_0x5332ae,{'unitId':_0x54a29f,'subUnitId':_0x54a29f},!0x1);}};_0x3addf5=_0x40d48b([_0xa7eafc(0x0,_0xfde5a2[_0x31f2ea(0x279)](_0xfde5a2[_0x31f2ea(0x110)])),_0xa7eafc(0x1,_0x1d08ae[_0x31f2ea(0x3d6)])],_0x3addf5);var _0x56b7d3=Object['getOwnPropertyDescriptor'],_0x3af20f=(_0x1f6593,_0x44dc80,_0x3f5e5d,_0x55ebd3)=>{for(var _0x908a8f=_0x55ebd3>0x1?void 0x0:_0x55ebd3?_0x56b7d3(_0x44dc80,_0x3f5e5d):_0x44dc80,_0x4a2d3a=_0x1f6593['length']-0x1,_0x13f43f;_0x4a2d3a>=0x0;_0x4a2d3a--)(_0x13f43f=_0x1f6593[_0x4a2d3a])&&(_0x908a8f=_0x13f43f(_0x908a8f)||_0x908a8f);return _0x908a8f;},_0x8d2fd6=(_0x42440a,_0x2e01d6)=>(_0x371644,_0x20a0c0)=>_0x2e01d6(_0x371644,_0x20a0c0,_0x42440a);let _0x46e126=class extends _0xfde5a2['Disposable']{constructor(_0x118c3c,_0x812a1d,_0x24c9d4,_0x269a76,_0x194aff,_0x49f31e,_0x2c9cd3,_0x18371b){const _0x30f477=_0x31f2ea;super(),_0x25ee06(this,_0x30f477(0x135),new _0x52a223[(_0x30f477(0x345))](_0x27635d['CollaborationStatus'][_0x30f477(0x32c)])),(this[_0x30f477(0x30a)]=_0x118c3c,this[_0x30f477(0x32e)]=_0x812a1d,this[_0x30f477(0x3bf)]=_0x24c9d4,this[_0x30f477(0x277)]=_0x269a76,this[_0x30f477(0x351)]=_0x194aff,this[_0x30f477(0x199)]=_0x49f31e,this['_messageService']=_0x2c9cd3,this[_0x30f477(0x339)]=_0x18371b,this[_0x30f477(0x14b)]());}[_0x31f2ea(0x14b)](){const _0x3de1ab=_0x31f2ea;this[_0x3de1ab(0x216)](this[_0x3de1ab(0x32e)][_0x3de1ab(0x1f8)][_0x3de1ab(0x220)](_0x235931=>{const _0x245bdd=_0x3de1ab,_0x5a8965=this[_0x245bdd(0x30a)][_0x245bdd(0x3be)][_0x245bdd(0x220)](_0x432217=>{const _0x155bb3=_0x245bdd;if(_0x432217==null)return;const {unitId:_0x21d898,redoState:_0x4d0c57,commandId:_0x3ec62e}=_0x432217;if(_0x21d898!==_0x235931[_0x155bb3(0x2cd)])return;const _0x4eebb1={'id':_0x3ec62e,'type':_0xfde5a2[_0x155bb3(0x1e6)][_0x155bb3(0x385)],'params':{'unitId':_0x21d898,'actions':_0x4d0c57[_0x155bb3(0x198)],'textRanges':null}};_0x235931[_0x155bb3(0x3a9)](_0x4eebb1);});if(_0x235931['disposeWithMe'](_0x5a8965),_0x235931 instanceof _0x27635d[_0x245bdd(0x25f)]){const _0x4e29a4={'onTransformIME':_0x1a57b5=>this['_docTransformIMECacheService'][_0x245bdd(0x2b9)](_0x1a57b5),'onTransformState':_0x35c751=>this[_0x245bdd(0x277)]['transformStateCache'](_0x35c751),'onTransformSelections':_0x1c58bf=>this[_0x245bdd(0x351)][_0x245bdd(0x22d)](_0x1c58bf),'onSyncEditingCollabCursor':_0x4257f6=>this[_0x245bdd(0x199)][_0x245bdd(0x2f7)](_0x4257f6),'onTransformRemoteChangesetByIMECache':_0x4e287c=>this[_0x245bdd(0x3bf)][_0x245bdd(0x17d)](_0x4e287c),'onTransformRemoteChangesetByStateCache':_0x2cb80b=>this[_0x245bdd(0x277)][_0x245bdd(0x17d)](_0x2cb80b)};_0x235931[_0x245bdd(0x28f)](_0x4e29a4);}}));}};_0x46e126=_0x3af20f([_0x8d2fd6(0x0,_0xfde5a2[_0x31f2ea(0x279)](_0x5f2683[_0x31f2ea(0x190)])),_0x8d2fd6(0x1,_0xfde5a2[_0x31f2ea(0x279)](_0x27635d[_0x31f2ea(0x321)])),_0x8d2fd6(0x2,_0xfde5a2['Inject'](_0x2b4140)),_0x8d2fd6(0x3,_0xfde5a2[_0x31f2ea(0x279)](_0x1860b7)),_0x8d2fd6(0x4,_0xfde5a2[_0x31f2ea(0x279)](_0x3addf5)),_0x8d2fd6(0x5,_0xfde5a2[_0x31f2ea(0x279)](_0x1e8b6e)),_0x8d2fd6(0x6,_0x1dd723[_0x31f2ea(0x394)]),_0x8d2fd6(0x7,_0xfde5a2['Inject'](_0xfde5a2[_0x31f2ea(0x21b)]))],_0x46e126);var _0x1433b8=(_0xc9f9fa=>(_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x1b9)]=0x0]=_0x31f2ea(0x1b9),_0xc9f9fa[_0xc9f9fa['OK']=0x1]='OK',_0xc9f9fa[_0xc9f9fa['INTERNAL_ERROR']=0x2]=_0x31f2ea(0x2e4),_0xc9f9fa[_0xc9f9fa['PERMISSION_DENIED']=0x3]=_0x31f2ea(0x14d),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x1eb)]=0x4]=_0x31f2ea(0x1eb),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x17c)]=0x5]=_0x31f2ea(0x17c),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x2df)]=0x6]=_0x31f2ea(0x2df),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x297)]=0x7]=_0x31f2ea(0x297),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x322)]=0x8]=_0x31f2ea(0x322),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x36c)]=0x9]='COMPLETION_FINISHED',_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x184)]=0xa]='LOGIN_FAILED',_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x2f0)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x231)]=0xc]=_0x31f2ea(0x231),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x142)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x1dd)]=0xe]=_0x31f2ea(0x1dd),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x186)]=0xf]=_0x31f2ea(0x186),_0xc9f9fa[_0xc9f9fa['LOGIN_TOKEN_PROCESSING_FAILED']=0x10]=_0x31f2ea(0x168),_0xc9f9fa[_0xc9f9fa['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x31f2ea(0x22f),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x325)]=0x65]='ERROR_AGAIN',_0xc9f9fa[_0xc9f9fa['USER_NOT_FOUND']=0xc9]='USER_NOT_FOUND',_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x2f5)]=0xca]=_0x31f2ea(0x2f5),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x276)]=0x1389]=_0x31f2ea(0x276),_0xc9f9fa[_0xc9f9fa['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x31f2ea(0x3a4),_0xc9f9fa[_0xc9f9fa['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x38d)]=0x1773]=_0x31f2ea(0x38d),_0xc9f9fa[_0xc9f9fa['APPLY_REJECT']=0x1b59]=_0x31f2ea(0x349),_0xc9f9fa[_0xc9f9fa['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x31f2ea(0x3a2),_0xc9f9fa[_0xc9f9fa['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x31f2ea(0x1f1),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x1ef)]=0x1b5c]=_0x31f2ea(0x1ef),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x241)]=0x1b5d]=_0x31f2ea(0x241),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x3c0)]=0x1f41]=_0x31f2ea(0x3c0),_0xc9f9fa[_0xc9f9fa['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x1b7)]=0x232a]=_0x31f2ea(0x1b7),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x10b)]=0x232b]=_0x31f2ea(0x10b),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x32b)]=0x232c]=_0x31f2ea(0x32b),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x13e)]=0x232d]=_0x31f2ea(0x13e),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x21a)]=0x2711]=_0x31f2ea(0x21a),_0xc9f9fa[_0xc9f9fa['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x31f2ea(0x2ce),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x396)]=0x2713]=_0x31f2ea(0x396),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0xfc)]=0x2714]=_0x31f2ea(0xfc),_0xc9f9fa[_0xc9f9fa['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x31f2ea(0x2d0),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x36a)]=0x271b]=_0x31f2ea(0x36a),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x1a1)]=0x271c]=_0x31f2ea(0x1a1),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x2a2)]=0x271d]=_0x31f2ea(0x2a2),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x2cb)]=0x271e]=_0x31f2ea(0x2cb),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x188)]=0x271f]=_0x31f2ea(0x188),_0xc9f9fa[_0xc9f9fa['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x1cb)]=0x2af9]=_0x31f2ea(0x1cb),_0xc9f9fa[_0xc9f9fa['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x31f2ea(0x166),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x2ca)]=0x2ee2]=_0x31f2ea(0x2ca),_0xc9f9fa[_0xc9f9fa['INVITE_CODE_REQUIRED']=0x2ee3]=_0x31f2ea(0x34d),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x35c)]=0x2ee4]=_0x31f2ea(0x35c),_0xc9f9fa[_0xc9f9fa['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x31f2ea(0x1ab),_0xc9f9fa[_0xc9f9fa['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x31f2ea(0x256),_0xc9f9fa[_0xc9f9fa['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x31f2ea(0x120),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x23a)]=0x32cb]=_0x31f2ea(0x23a),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x164)]=0x36b1]=_0x31f2ea(0x164),_0xc9f9fa[_0xc9f9fa['ENTITLE_UPDOWN_GRADE_NOT_SUPPORT']=0x36b2]=_0x31f2ea(0x137),_0xc9f9fa[_0xc9f9fa['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x31f2ea(0x1f2),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x128)]=0x36b4]=_0x31f2ea(0x128),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x2c3)]=0x3715]=_0x31f2ea(0x2c3),_0xc9f9fa[_0xc9f9fa['ENTITLE_REPORT_LIMIT_EXCEED']=0x3716]=_0x31f2ea(0x340),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x246)]=0x3717]=_0x31f2ea(0x246),_0xc9f9fa[_0xc9f9fa['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]=_0x31f2ea(0x249),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x26a)]=0x3a99]=_0x31f2ea(0x26a),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x178)]=0x3a9a]='REDEMPTION_CODE_INACTIVE',_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x2fe)]=0x3a9b]=_0x31f2ea(0x2fe),_0xc9f9fa[_0xc9f9fa['REDEMPTION_CODE_NOT_STARTED']=0x3a9c]='REDEMPTION_CODE_NOT_STARTED',_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x352)]=0x3a9d]=_0x31f2ea(0x352),_0xc9f9fa[_0xc9f9fa['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x31f2ea(0x243),_0xc9f9fa[_0xc9f9fa['REDEMPTION_CODE_HAS_BEEN_CREATED']=0x3a9f]=_0x31f2ea(0x318),_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x2b2)]=0x3e81]='DATA_SOURCE_TOO_LARGE',_0xc9f9fa[_0xc9f9fa[_0x31f2ea(0x229)]=-0x1]=_0x31f2ea(0x229),_0xc9f9fa))(_0x1433b8||{});function _0x3a6ae0(_0x27f4a2){const _0x4cfcc8=_0x31f2ea;var _0x4b84e6,_0x528803;const _0x3131b2=(_0x4b84e6=_0x27f4a2[_0x4cfcc8(0x3da)])==null?void 0x0:_0x4b84e6[_0x4cfcc8(0x3c6)],_0x459eb0=((_0x528803=_0x27f4a2[_0x4cfcc8(0x3da)])==null?void 0x0:_0x528803[_0x4cfcc8(0x17a)])||0x0;return _0x3131b2===_0x2d45f6[_0x4cfcc8(0x3e7)]['START_CALCULATION']&&_0x459eb0>0x0;}function _0x439aaa(_0x5946aa){const _0x1996f7=_0x31f2ea;return _0x5946aa['functionsExecutedState']===_0x2d45f6['FormulaExecutedStateType'][_0x1996f7(0x1c3)];}var _0x55187c=Object[_0x31f2ea(0x140)],_0x232883=(_0x340371,_0x22af5c,_0x248154,_0x1e6099)=>{const _0x3dd548=_0x31f2ea;for(var _0x5e65bb=_0x1e6099>0x1?void 0x0:_0x1e6099?_0x55187c(_0x22af5c,_0x248154):_0x22af5c,_0x56006a=_0x340371[_0x3dd548(0x273)]-0x1,_0x5c7b95;_0x56006a>=0x0;_0x56006a--)(_0x5c7b95=_0x340371[_0x56006a])&&(_0x5e65bb=_0x5c7b95(_0x5e65bb)||_0x5e65bb);return _0x5e65bb;},_0x14f918=(_0x424901,_0x5659a5)=>(_0x52c254,_0x5901b7)=>_0x5659a5(_0x52c254,_0x5901b7,_0x424901);const _0x542d76=_0x31f2ea(0x12b),_0x3649cb=_0x31f2ea(0x179),_0x3ac4e2=_0x31f2ea(0xfe);let _0x48e247=class extends _0xfde5a2[_0x31f2ea(0x38c)]{constructor(_0x22373e,_0x2b58a7,_0x4dfd52,_0x191c91,_0x312a23,_0x644b52,_0x36aa9e){const _0x67fc5=_0x31f2ea;super(),_0x25ee06(this,_0x67fc5(0x16a),null),_0x25ee06(this,_0x67fc5(0x3b6),0x0),_0x25ee06(this,'_currentUsage',0x0),_0x25ee06(this,'_taskIds',[]),_0x25ee06(this,_0x67fc5(0x163),0x0),(this[_0x67fc5(0x17f)]=_0x22373e,this['_commandService']=_0x2b58a7,this[_0x67fc5(0x2db)]=_0x4dfd52,this['_httpService']=_0x191c91,this[_0x67fc5(0x130)]=_0x312a23,this['_logService']=_0x644b52,this[_0x67fc5(0x339)]=_0x36aa9e,this['_initCommandInterceptor']());}[_0x31f2ea(0x23b)](){const _0x59c9c2=_0x31f2ea;this[_0x59c9c2(0x216)](this[_0x59c9c2(0x1bf)]['beforeCommandExecuted']((_0xd73366,_0x656533)=>{const _0x5379fc=_0x59c9c2;var _0x772eb5;if(_0xd73366['id']!==_0x2d45f6[_0x5379fc(0x119)]['id'])return;const _0x4d9223=_0xd73366[_0x5379fc(0x115)];if(!this[_0x5379fc(0x1a7)]((_0x772eb5=_0x4d9223['dirtyRanges'])!=null?_0x772eb5:[]))return;if(!this[_0x5379fc(0x217)]())throw this[_0x5379fc(0x2ea)](_0xd73366,_0x656533),this[_0x5379fc(0x1e8)](),new _0xfde5a2[(_0x5379fc(0x34c))]();})),this[_0x59c9c2(0x216)](this[_0x59c9c2(0x1bf)][_0x59c9c2(0x1c1)]((_0x3f7e1c,_0x2e6bba)=>{const _0x3643f7=_0x59c9c2;if(_0x3f7e1c['id']!==_0x2d45f6[_0x3643f7(0x255)]['id'])return;const _0x15c331=_0x3f7e1c[_0x3643f7(0x115)];if(_0x3a6ae0(_0x15c331)){const _0x332c66=_0xfde5a2['generateRandomId']();this['_taskIds'][_0x3643f7(0x2b8)](_0x332c66),this['_startCalculationLimit'](_0x332c66);}else{if(_0x439aaa(_0x15c331)&&this['_taskIds']['length']>0x0){const _0x492359=this[_0x3643f7(0x33c)][_0x3643f7(0x28e)]();this[_0x3643f7(0x29a)](_0x492359);}}}));}[_0x31f2ea(0x3e4)](){const _0x4c42c1=_0x31f2ea;super[_0x4c42c1(0x3e4)](),this['_clearPolling'](),this[_0x4c42c1(0x33c)]=[],this[_0x4c42c1(0x387)]=0x0,this[_0x4c42c1(0x3b6)]=0x0,this[_0x4c42c1(0x163)]=0x0;}async[_0x31f2ea(0x2ea)](_0x4081a7,_0x2d5b52){const _0x80fc5c=_0x31f2ea;for(let _0x5efadd=0x0;_0x5efadd<0x1e;_0x5efadd++)try{if(await this[_0x80fc5c(0x2d4)](),this[_0x80fc5c(0x217)]()){this[_0x80fc5c(0x189)](_0x4081a7,_0x2d5b52),this[_0x80fc5c(0x17f)][_0x80fc5c(0x1f7)]({'content':this[_0x80fc5c(0x339)]['t']('formula.calculation.started'),'type':_0x2eee56[_0x80fc5c(0x250)][_0x80fc5c(0x3d9)]});return;}await new Promise(_0x14f21c=>{const _0x27acf8=_0x80fc5c;this[_0x27acf8(0x16a)]=window[_0x27acf8(0xff)](_0x14f21c,0x3e8);});}catch(_0xa2bf4b){this[_0x80fc5c(0x29c)][_0x80fc5c(0x20f)](_0xa2bf4b);}this[_0x80fc5c(0x17f)][_0x80fc5c(0x1f7)]({'content':this[_0x80fc5c(0x339)]['t']('formula.calculation.unable'),'type':_0x2eee56[_0x80fc5c(0x250)][_0x80fc5c(0x2a1)]});}['_applyCommand'](_0x39c8b9,_0x500eb3){const _0x3c360b=_0x31f2ea;try{this[_0x3c360b(0x1bf)][_0x3c360b(0x2fc)](_0x39c8b9['id'],_0x39c8b9[_0x3c360b(0x115)],_0x500eb3);}catch(_0x30c9fc){this[_0x3c360b(0x29c)]['error'](_0x30c9fc);}}[_0x31f2ea(0x3c1)](_0x76e50d,_0x27bd48){const _0x47a012=_0x31f2ea;_0x27bd48<this[_0x47a012(0x163)]||(this[_0x47a012(0x163)]=_0x27bd48,this[_0x47a012(0x3b6)]=Number[_0x47a012(0x3b2)](_0x76e50d[_0x47a012(0x2ec)]),this[_0x47a012(0x387)]=Number[_0x47a012(0x3b2)](_0x76e50d[_0x47a012(0x2be)]));}async['_startCalculationLimit'](_0x48e6b0){const _0x47eb35=_0x31f2ea;var _0x2764e8,_0x236cdd;const _0xb1b3d4=Date[_0x47eb35(0x16b)]();try{const _0x250561=((_0x2764e8=this[_0x47eb35(0x2db)]['getConfig'](_0x27635d[_0x47eb35(0x1de)]))==null?void 0x0:_0x2764e8['startFormulaLimitUrl'])||_0x3649cb,_0x1c6bbe=(await this[_0x47eb35(0x123)][_0x47eb35(0x269)](_0x250561,{'body':JSON[_0x47eb35(0x334)]({'taskId':_0x48e6b0})}))[_0x47eb35(0x1f3)];if(((_0x236cdd=_0x1c6bbe['error'])==null?void 0x0:_0x236cdd['code'])!==_0x1433b8['OK'])return;this['_setFormulaLimitStatus'](_0x1c6bbe['limitInfo'],_0xb1b3d4);}catch(_0x36717a){this[_0x47eb35(0x29c)]['error'](_0x36717a);}}async[_0x31f2ea(0x2d4)](_0x4d114d){const _0x288d95=_0x31f2ea;var _0xc7aafb,_0xb0c055;const _0x25f2df=Date['now']();try{const _0x46ba83=((_0xc7aafb=this[_0x288d95(0x2db)][_0x288d95(0x1e5)](_0x27635d[_0x288d95(0x1de)]))==null?void 0x0:_0xc7aafb[_0x288d95(0x2c1)])||_0x542d76,_0x605ff3=_0x4d114d?_0x46ba83+_0x288d95(0x2f9)+encodeURIComponent(_0x4d114d):_0x46ba83,_0x3d3ac8=(await this[_0x288d95(0x123)][_0x288d95(0xfb)](_0x605ff3))[_0x288d95(0x1f3)];if(((_0xb0c055=_0x3d3ac8['error'])==null?void 0x0:_0xb0c055[_0x288d95(0x12a)])!==_0x1433b8['OK'])return;this[_0x288d95(0x3c1)](_0x3d3ac8[_0x288d95(0x35e)],_0x25f2df);}catch(_0x183aee){this[_0x288d95(0x29c)]['error'](_0x183aee);}}async['_releaseCalculationLimit'](_0x557324){const _0x2111c6=_0x31f2ea;var _0x59fabf,_0x50e398;const _0x158fa6=Date[_0x2111c6(0x16b)]();try{const _0x1ad949=((_0x59fabf=this[_0x2111c6(0x2db)][_0x2111c6(0x1e5)](_0x27635d[_0x2111c6(0x1de)]))==null?void 0x0:_0x59fabf[_0x2111c6(0x1c5)])||_0x3ac4e2,_0x2c1a87=(await this[_0x2111c6(0x123)][_0x2111c6(0x269)](_0x1ad949,{'body':JSON[_0x2111c6(0x334)]({'taskId':_0x557324})}))[_0x2111c6(0x1f3)];if(((_0x50e398=_0x2c1a87['error'])==null?void 0x0:_0x50e398['code'])!==_0x1433b8['OK'])return;this[_0x2111c6(0x3c1)](_0x2c1a87[_0x2111c6(0x35e)],_0x158fa6);}catch(_0x1de2b1){this['_logService'][_0x2111c6(0x20f)](_0x1de2b1);}}[_0x31f2ea(0x217)](){const _0x4e7ecf=_0x31f2ea;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x4e7ecf(0x3b6)]-this[_0x4e7ecf(0x387)]>0x0;}[_0x31f2ea(0x13c)](){const _0x3b18fa=_0x31f2ea;this[_0x3b18fa(0x16a)]&&(clearTimeout(this['_pollingInterval']),this[_0x3b18fa(0x16a)]=null);}[_0x31f2ea(0x1e8)](){const _0x21d2cf=_0x31f2ea;this['_messageService'][_0x21d2cf(0x1f7)]({'content':this[_0x21d2cf(0x339)]['t'](_0x21d2cf(0x31e)),'type':_0x2eee56[_0x21d2cf(0x250)][_0x21d2cf(0x1a6)]});}[_0x31f2ea(0x1a7)](_0x49b4ed){const _0x5fc885=_0x31f2ea;for(const _0x1e4929 of _0x49b4ed){const {unitId:_0x3d3ea7,sheetId:_0x11eea2,range:_0x1d75fc}=_0x1e4929,_0x4e54f7=this[_0x5fc885(0x130)][_0x5fc885(0x362)](_0x3d3ea7);if(!_0x4e54f7)continue;const _0x51fd00=_0x4e54f7['getSheetBySheetId'](_0x11eea2);if(!_0x51fd00)continue;const _0x2d5f3f=_0x51fd00[_0x5fc885(0x1a2)]();for(let _0x14bc2c=_0x1d75fc[_0x5fc885(0x1af)];_0x14bc2c<=_0x1d75fc[_0x5fc885(0x1da)];_0x14bc2c++)for(let _0x16ba4e=_0x1d75fc['startColumn'];_0x16ba4e<=_0x1d75fc[_0x5fc885(0x3d7)];_0x16ba4e++){const _0x4154f1=_0x2d5f3f[_0x5fc885(0x3bd)](_0x14bc2c,_0x16ba4e);if(_0x4154f1&&(_0xfde5a2['isFormulaString'](_0x4154f1['f'])||_0xfde5a2[_0x5fc885(0x3dc)](_0x4154f1['si'])))return!0x0;}}return!0x1;}};_0x48e247=_0x232883([_0x14f918(0x0,_0xfde5a2['Inject'](_0x1dd723[_0x31f2ea(0x394)])),_0x14f918(0x1,_0xfde5a2['ICommandService']),_0x14f918(0x2,_0xfde5a2[_0x31f2ea(0x2a3)]),_0x14f918(0x3,_0xfde5a2['Inject'](_0x47e21f[_0x31f2ea(0x209)])),_0x14f918(0x4,_0xfde5a2[_0x31f2ea(0x316)]),_0x14f918(0x5,_0xfde5a2[_0x31f2ea(0x25c)]),_0x14f918(0x6,_0xfde5a2[_0x31f2ea(0x279)](_0xfde5a2[_0x31f2ea(0x21b)]))],_0x48e247);var _0x5a202e=Object['getOwnPropertyDescriptor'],_0x26edaf=(_0x2a6e5e,_0x119cb8,_0x5ca2d1,_0x32f79a)=>{const _0x30e040=_0x31f2ea;for(var _0x5dde85=_0x32f79a>0x1?void 0x0:_0x32f79a?_0x5a202e(_0x119cb8,_0x5ca2d1):_0x119cb8,_0x1566c0=_0x2a6e5e[_0x30e040(0x273)]-0x1,_0x51cd57;_0x1566c0>=0x0;_0x1566c0--)(_0x51cd57=_0x2a6e5e[_0x1566c0])&&(_0x5dde85=_0x51cd57(_0x5dde85)||_0x5dde85);return _0x5dde85;},_0x574b48=(_0x3477c9,_0x2cc5e9)=>(_0x2c8220,_0xbfcc5b)=>_0x2cc5e9(_0x2c8220,_0xbfcc5b,_0x3477c9);let _0x39d75b=class extends _0xfde5a2['Disposable']{constructor(_0x2e9dc9,_0x4fcb1b,_0x130bb6){const _0x458296=_0x31f2ea;super(),_0x25ee06(this,'_cachedData',new Map()),_0x25ee06(this,_0x458296(0x1c8),new Map()),_0x25ee06(this,_0x458296(0x124),!0x1),(this['_configService']=_0x2e9dc9,this[_0x458296(0x1b0)]=_0x4fcb1b,this[_0x458296(0x2f3)]=_0x130bb6);}[_0x31f2ea(0x1a5)](){const _0x5a658f=_0x31f2ea;this[_0x5a658f(0x124)]=!0x0;}[_0x31f2ea(0x219)](){const _0x4c0fc5=_0x31f2ea;this[_0x4c0fc5(0x124)]=!0x1;}get[_0x31f2ea(0x131)](){const _0x178bfc=_0x31f2ea;return this[_0x178bfc(0x1c8)];}[_0x31f2ea(0x3e4)](){const _0x19256e=_0x31f2ea;this[_0x19256e(0x2bf)]()[_0x19256e(0x19a)](()=>super['dispose']());}async[_0x31f2ea(0x2a0)](_0x222955){const _0xc5bc7f=_0x31f2ea;return this[_0xc5bc7f(0x124)]?null:this[_0xc5bc7f(0x1b0)]['getItem'](_0x27635d[_0xc5bc7f(0x282)](_0x222955));}async[_0x31f2ea(0x24d)](_0x2dd6d6,_0x3a5f6d){const _0x1d0e2a=_0x31f2ea;return!!this[_0x1d0e2a(0x1b0)][_0x1d0e2a(0x3ee)](_0x2dd6d6,_0x3a5f6d);}[_0x31f2ea(0x187)](_0xdcf659,_0x4841c1,_0xaf2178,_0x4fb215){const _0x439888=_0x31f2ea,_0x5644d5=this['_revisionService'][_0x439888(0x3ed)](_0xdcf659);this['_cachedData'][_0x439888(0x15e)](_0xdcf659,{'unitID':_0xdcf659,'type':_0x4841c1,'awaitingChangeset':_0xaf2178,'mutations':_0x4fb215,'rev':_0x5644d5}),this[_0x439888(0x1c8)][_0x439888(0x244)](_0xdcf659)||this[_0x439888(0x155)](_0xdcf659);}[_0x31f2ea(0x155)](_0x8e8642){const _0x42a932=_0x31f2ea,_0x2b90c6=this[_0x42a932(0x15f)]();_0x2b90c6===0x0?this['_saveCache'](_0x8e8642):this[_0x42a932(0x1c8)][_0x42a932(0x15e)](_0x8e8642,setTimeout(()=>this[_0x42a932(0x2b6)](_0x8e8642),_0x2b90c6));}['_getSaveTimeout'](){const _0x650a0f=_0x31f2ea;var _0x30d67f;return(_0x30d67f=this[_0x650a0f(0x2db)][_0x650a0f(0x1e5)](_0x27635d[_0x650a0f(0x3d8)]))!=null?_0x30d67f:_0x27635d[_0x650a0f(0x31d)];}[_0x31f2ea(0x2b6)](_0x1cc64f){const _0x3c2fc4=_0x31f2ea,_0x35f2bc=this['_saveTaskMap']['get'](_0x1cc64f);return _0x35f2bc!==void 0x0&&window[_0x3c2fc4(0x2c2)](_0x35f2bc),this[_0x3c2fc4(0x1b0)][_0x3c2fc4(0x3ee)](_0x27635d[_0x3c2fc4(0x282)](_0x1cc64f),this[_0x3c2fc4(0x2e7)][_0x3c2fc4(0xfb)](_0x1cc64f))[_0x3c2fc4(0x19a)](()=>this['_saveTaskMap']['delete'](_0x1cc64f));}async['exhaustSavingTask'](){const _0xb9bac4=_0x31f2ea,_0x20833d=[];this['_saveTaskMap'][_0xb9bac4(0x2fb)]((_0xc5133a,_0x111e25)=>{const _0x5aa774=_0xb9bac4;window[_0x5aa774(0x2c2)](_0xc5133a),_0x20833d['push'](this[_0x5aa774(0x2b6)](_0x111e25)[_0x5aa774(0x19a)](()=>{const _0x2d5926=_0x5aa774;this[_0x2d5926(0x1c8)][_0x2d5926(0x3ab)](_0x111e25);}));}),await Promise['all'](_0x20833d);}};_0x39d75b=_0x26edaf([_0x574b48(0x0,_0xfde5a2[_0x31f2ea(0x2a3)]),_0x574b48(0x1,_0xfde5a2[_0x31f2ea(0x19f)]),_0x574b48(0x2,_0xfde5a2[_0x31f2ea(0x279)](_0x1d08ae[_0x31f2ea(0x3e5)]))],_0x39d75b);class _0x1b5d46 extends _0xfde5a2[_0x31f2ea(0x129)]{constructor(){const _0x7558=_0x31f2ea;super(),_0x25ee06(this,_0x7558(0x314)),this[_0x7558(0x314)]=_0x52a223['fromEvent'](window,_0x7558(0x154))['pipe'](_0x52a223[_0x7558(0x24a)](this['dispose$']),_0x52a223['shareReplay'](0x1),_0x52a223[_0x7558(0x3ec)](void 0x0));}[_0x31f2ea(0xf9)](_0x4dd4c4,_0x819d72,_0x15d094=!0x1){const _0x1fac7b=_0x31f2ea,_0x593bca=new URL(window[_0x1fac7b(0x30f)][_0x1fac7b(0x106)]);_0x593bca[_0x1fac7b(0x112)]['set'](_0x4dd4c4,_0x819d72),_0x15d094?window[_0x1fac7b(0x2a6)][_0x1fac7b(0x370)]('','',_0x593bca[_0x1fac7b(0x34f)]()):window['history'][_0x1fac7b(0x33e)]('','',_0x593bca[_0x1fac7b(0x34f)]());}[_0x31f2ea(0x1ff)](_0x432cb7,_0x31c8be=!0x1){const _0x3e9e35=_0x31f2ea,_0x32a63b=new URL(window[_0x3e9e35(0x30f)][_0x3e9e35(0x106)]);_0x32a63b[_0x3e9e35(0x112)][_0x3e9e35(0x3ab)](_0x432cb7),_0x31c8be?window['history']['replaceState']('','',_0x32a63b['toString']()):window[_0x3e9e35(0x2a6)][_0x3e9e35(0x33e)]('','',_0x32a63b[_0x3e9e35(0x34f)]());}['getParam'](_0xbda421){const _0x40717c=_0x31f2ea;var _0x4025bb;return(_0x4025bb=new URL(window[_0x40717c(0x30f)][_0x40717c(0x106)])['searchParams']['get'](_0xbda421))!=null?_0x4025bb:void 0x0;}}var _0x4a553d=Object[_0x31f2ea(0x39f)],_0xd50372=Object['getOwnPropertyDescriptor'],_0x2138c5=(_0x515e59,_0x344c4b,_0x1a96b0)=>_0x344c4b in _0x515e59?_0x4a553d(_0x515e59,_0x344c4b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1a96b0}):_0x515e59[_0x344c4b]=_0x1a96b0,_0x228e70=(_0x16ffd6,_0x2f4afd,_0x35726e,_0x417581)=>{for(var _0xa068a1=_0x417581>0x1?void 0x0:_0x417581?_0xd50372(_0x2f4afd,_0x35726e):_0x2f4afd,_0x41e8e6=_0x16ffd6['length']-0x1,_0x30fcee;_0x41e8e6>=0x0;_0x41e8e6--)(_0x30fcee=_0x16ffd6[_0x41e8e6])&&(_0xa068a1=_0x30fcee(_0xa068a1)||_0xa068a1);return _0xa068a1;},_0x360ecb=(_0x57755a,_0x31049f)=>(_0x494ddd,_0x500608)=>_0x31049f(_0x494ddd,_0x500608,_0x57755a),_0x52a690=(_0x2261d8,_0x36c23e,_0x15ff43)=>_0x2138c5(_0x2261d8,_0x36c23e+'',_0x15ff43);const _0x1a58a3=_0x31f2ea(0x36d);_0x159e3d[_0x31f2ea(0x1e2)]=class extends _0xfde5a2[_0x31f2ea(0x305)]{constructor(_0x3611af=_0x3deaab,_0xbd2083,_0x5ed1f0,_0x2b791a){const _0x590f51=_0x31f2ea;super(),this['_config']=_0x3611af,this[_0x590f51(0x232)]=_0xbd2083,this[_0x590f51(0x13b)]=_0x5ed1f0,this[_0x590f51(0x2db)]=_0x2b791a;const {..._0xe4051b}=_0xfde5a2[_0x590f51(0x108)]({},_0x3deaab,this[_0x590f51(0x251)]);this[_0x590f51(0x2db)]['setConfig'](_0x348dba,_0xe4051b);}[_0x31f2ea(0x3ba)](){const _0x2bf2a6=_0x31f2ea;this[_0x2bf2a6(0x28d)](),this[_0x2bf2a6(0x365)]();}[_0x31f2ea(0x331)](){const _0x218c0b=_0x31f2ea;this[_0x218c0b(0x245)]();}[_0x31f2ea(0x28d)](){const _0xd769ef=_0x31f2ea;var _0x4dfe28;const _0x41bcc2=[[_0x55865d],[_0x48e247],[_0x3addf5],[_0x2b4140],[_0x1860b7],[_0x1e8b6e],[_0x4e0db9,{'useClass':_0x1b5d46}],[_0x47e21f[_0xd769ef(0xed)],{'useClass':_0x47e21f[_0xd769ef(0x263)]}],[_0x27635d[_0xd769ef(0x358)],{'useClass':_0x39d75b}],[_0x159e3d['DesktopCollaborationStatusDisplayController']],[_0x46e126],[_0x2e487d],[_0x3d40e5],[_0x5c2270],[_0x159e3d[_0xd769ef(0x103)]]];this[_0xd769ef(0x251)][_0xd769ef(0x2d5)]&&_0x41bcc2[_0xd769ef(0x2b8)]([_0x3f03d4]),_0xfde5a2[_0xd769ef(0x202)](this[_0xd769ef(0x13b)],_0xfde5a2[_0xd769ef(0x1c6)](_0x41bcc2,(_0x4dfe28=this[_0xd769ef(0x251)])==null?void 0x0:_0x4dfe28[_0xd769ef(0x366)]));}[_0x31f2ea(0x245)](){const _0x5d9431=_0x31f2ea;this[_0x5d9431(0x216)](this[_0x5d9431(0x232)][_0x5d9431(0x248)](_0xfde5a2[_0x5d9431(0x2dd)][_0x5d9431(0x35b)],[_0x362b37])),this['disposeWithMe'](this['_renderManagerService'][_0x5d9431(0x248)](_0xfde5a2['UniverInstanceType']['UNIVER_SHEET'],[_0x36393a]));}[_0x31f2ea(0x365)](){const _0x10dc4b=_0x31f2ea;_0xfde5a2[_0x10dc4b(0x1d9)](this['_injector'],[[_0x3d40e5],[_0x159e3d[_0x10dc4b(0x382)]],[_0x46e126],[_0x2e487d],[_0x159e3d['CollaborationDataLoaderController']],[_0x48e247]]),this[_0x10dc4b(0x251)][_0x10dc4b(0x2d5)]&&_0xfde5a2[_0x10dc4b(0x1d9)](this['_injector'],[[_0x3f03d4]]);}},_0x52a690(_0x159e3d[_0x31f2ea(0x1e2)],'pluginName',_0x1a58a3),_0x159e3d[_0x31f2ea(0x1e2)]=_0x228e70([_0xfde5a2[_0x31f2ea(0x162)](_0x27635d[_0x31f2ea(0x2e6)]),_0x360ecb(0x1,_0x12ef37[_0x31f2ea(0x359)]),_0x360ecb(0x2,_0xfde5a2['Inject'](_0xfde5a2[_0x31f2ea(0x110)])),_0x360ecb(0x3,_0xfde5a2[_0x31f2ea(0x2a3)])],_0x159e3d[_0x31f2ea(0x1e2)]);var _0x1ef4e2=Object[_0x31f2ea(0x140)],_0x49e0b8=(_0x3fc191,_0x468ac5,_0x35c2d0,_0x346d0b)=>{for(var _0x5a430b=_0x346d0b>0x1?void 0x0:_0x346d0b?_0x1ef4e2(_0x468ac5,_0x35c2d0):_0x468ac5,_0x532d39=_0x3fc191['length']-0x1,_0x2221e8;_0x532d39>=0x0;_0x532d39--)(_0x2221e8=_0x3fc191[_0x532d39])&&(_0x5a430b=_0x2221e8(_0x5a430b)||_0x5a430b);return _0x5a430b;},_0x564612=(_0x1b5418,_0x32be8f)=>(_0x1e2b1b,_0x3947a7)=>_0x32be8f(_0x1e2b1b,_0x3947a7,_0x1b5418);_0x159e3d[_0x31f2ea(0x304)]=class extends _0x27635d[_0x31f2ea(0x240)]{constructor(_0x213d27,_0x5b3d36,_0x2c354b,_0x2718d3,_0x2ecf88){super(_0x213d27,_0x5b3d36,_0x2c354b,_0x2718d3,_0x2ecf88);}async['createSocket'](_0x23301c){const _0x22c622=_0x31f2ea,_0x5f577b=await this[_0x22c622(0x159)](),_0xf4b461=this[_0x22c622(0x2a7)](_0x23301c,_0x5f577b);return this['_doCreateSocket'](_0xf4b461);}[_0x31f2ea(0x2a7)](_0x4277a5,_0x1df3e7){const _0x5e1cab=_0x31f2ea,_0x1272d9=typeof window>'u'?new URL(_0x4277a5):new URL(_0x4277a5,window[_0x5e1cab(0x30f)][_0x5e1cab(0x1d1)]);_0x1272d9[_0x5e1cab(0x112)][_0x5e1cab(0x15e)]('sessionTicket',_0x1df3e7);const _0xbf3794=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5e1cab(0x30f)]['search']);return _0xbf3794[_0x5e1cab(0xfb)]('runId')&&_0x1272d9[_0x5e1cab(0x112)][_0x5e1cab(0x15e)](_0x5e1cab(0x34e),_0xbf3794[_0x5e1cab(0xfb)](_0x5e1cab(0x34e))),_0x1272d9[_0x5e1cab(0x34f)]();}async[_0x31f2ea(0x159)](){const _0x532fe1=_0x31f2ea;var _0x419cbf,_0x2e7acb,_0x58a21b;const _0x33d5db=this['_configService'][_0x532fe1(0x1e5)](_0x27635d[_0x532fe1(0x1de)]),_0x1412a6=(_0x419cbf=_0x33d5db==null?void 0x0:_0x33d5db[_0x532fe1(0x380)])!=null?_0x419cbf:_0x27635d[_0x532fe1(0x16f)];return(_0x58a21b=(_0x2e7acb=(await this[_0x532fe1(0x123)][_0x532fe1(0xfb)](_0x1412a6,{'headers':{'Content-Type':'application/json'}}))[_0x532fe1(0x1f3)])==null?void 0x0:_0x2e7acb[_0x532fe1(0x383)])!=null?_0x58a21b:'';}},_0x159e3d[_0x31f2ea(0x304)]=_0x49e0b8([_0x564612(0x0,_0xfde5a2[_0x31f2ea(0x279)](_0xfde5a2[_0x31f2ea(0x110)])),_0x564612(0x1,_0xfde5a2['Inject'](_0x47e21f[_0x31f2ea(0x209)])),_0x564612(0x2,_0xfde5a2[_0x31f2ea(0x2a3)]),_0x564612(0x3,_0xfde5a2[_0x31f2ea(0x25c)]),_0x564612(0x4,_0x1d08ae[_0x31f2ea(0x284)])],_0x159e3d[_0x31f2ea(0x304)]);var _0x38e52a=Object[_0x31f2ea(0x140)],_0x25ed6c=(_0x34b41a,_0x4a66a1,_0x5a71e8,_0x39875e)=>{const _0x3c460a=_0x31f2ea;for(var _0x399537=_0x39875e>0x1?void 0x0:_0x39875e?_0x38e52a(_0x4a66a1,_0x5a71e8):_0x4a66a1,_0x4c9288=_0x34b41a[_0x3c460a(0x273)]-0x1,_0x1532e5;_0x4c9288>=0x0;_0x4c9288--)(_0x1532e5=_0x34b41a[_0x4c9288])&&(_0x399537=_0x1532e5(_0x399537)||_0x399537);return _0x399537;},_0x2513a2=(_0x171cef,_0x579170)=>(_0x2687fe,_0x3b98dd)=>_0x579170(_0x2687fe,_0x3b98dd,_0x171cef);_0x159e3d[_0x31f2ea(0x375)]=class extends _0xfde5a2[_0x31f2ea(0x38c)]{constructor(_0xb3d02f,_0x571a5a,_0x2c33ac){const _0x1eb13e=_0x31f2ea;super(),this[_0x1eb13e(0x176)]=_0xb3d02f,this[_0x1eb13e(0x123)]=_0x571a5a,this[_0x1eb13e(0x2db)]=_0x2c33ac;}async[_0x31f2ea(0x156)](_0x4107a1,_0x453158,_0x5060b2,..._0x3dce95){const _0xbd40e8=_0x31f2ea;var _0x10fc29,_0x4d92f3,_0x241225,_0x22d05f;const _0x505b9a=this['_instanceService'][_0xbd40e8(0x1e4)]();if(!_0x505b9a)throw new Error(_0xbd40e8(0x1f5));const _0x5a57f0=((_0x10fc29=this['_configService'][_0xbd40e8(0x1e5)](_0x27635d[_0xbd40e8(0x227)]))!=null?_0x10fc29:_0x27635d['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x4107a1+_0xbd40e8(0x180)+_0x453158,_0xb358a=new URL(window[_0xbd40e8(0x30f)][_0xbd40e8(0x106)]),_0x1df062={'scriptId':_0x4107a1,'runId':(_0x4d92f3=_0xb358a[_0xbd40e8(0x112)][_0xbd40e8(0xfb)](_0xbd40e8(0x34e)))!=null?_0x4d92f3:'','function':_0x453158,'unitId':_0x505b9a[_0xbd40e8(0x36b)](),'argsOfFunction':JSON[_0xbd40e8(0x334)](_0x3dce95),'invokeId':(_0x241225=_0x5060b2[_0xbd40e8(0x10e)])!=null?_0x241225:'','executionId':(_0x22d05f=_0x5060b2[_0xbd40e8(0x145)])!=null?_0x22d05f:''};try{const _0x46e4cc=await this[_0xbd40e8(0x123)][_0xbd40e8(0x269)](_0x5a57f0,{'body':_0x1df062});return _0x46e4cc['body'][_0xbd40e8(0x20f)]&&_0x46e4cc[_0xbd40e8(0x1f3)][_0xbd40e8(0x20f)][_0xbd40e8(0x12a)]!==_0x1433b8['OK']?_0xbd40e8(0x3cb):_0x46e4cc[_0xbd40e8(0x1f3)][_0xbd40e8(0x114)];}catch{return _0xbd40e8(0x3cb);}}},_0x159e3d[_0x31f2ea(0x375)]=_0x25ed6c([_0x2513a2(0x0,_0xfde5a2[_0x31f2ea(0x316)]),_0x2513a2(0x1,_0xfde5a2[_0x31f2ea(0x279)](_0x47e21f['HTTPService'])),_0x2513a2(0x2,_0xfde5a2['IConfigService'])],_0x159e3d[_0x31f2ea(0x375)]);const _0x4e76c5=0x7530,_0x23cf21=_0x31f2ea(0x1b8);class _0x27c613 extends _0xfde5a2[_0x31f2ea(0x38c)]{constructor(){const _0xaea9a9=_0x31f2ea;super(),_0x25ee06(this,'_id',_0xfde5a2[_0xaea9a9(0x211)]()),_0x25ee06(this,_0xaea9a9(0x1e0),new Set()),_0x25ee06(this,'_unitOnClients',new Map()),_0x25ee06(this,'_heartbeatTimer',null),_0x25ee06(this,_0xaea9a9(0x360),new Map()),_0x25ee06(this,_0xaea9a9(0x294),new Map()),this[_0xaea9a9(0x158)]();}[_0x31f2ea(0x3e4)](){const _0x42ba38=_0x31f2ea;super[_0x42ba38(0x3e4)](),this[_0x42ba38(0x360)]['forEach']((_0x20f99f,_0x3c38e1)=>this[_0x42ba38(0x2bd)](_0x3c38e1)),this[_0x42ba38(0x1d5)]&&window[_0x42ba38(0x13a)](this['_heartbeatTimer']);}[_0x31f2ea(0x398)](_0x2ed975){return this['_ensureSubject'](_0x2ed975)['pipe'](_0x52a223['distinctUntilChanged']());}['editingUnit'](_0x41ee7e){const _0x25794e=_0x31f2ea;this[_0x25794e(0x1e0)]['size']===0x0&&this['_scheduleHeartbeat'](),this[_0x25794e(0x1e0)][_0x25794e(0x3bb)](_0x41ee7e),this['_send']({'type':0x0,'memberID':this[_0x25794e(0x29f)],'unitIDs':[_0x41ee7e],'isForwarded':!0x1});}[_0x31f2ea(0x254)](_0xbd2db2){const _0x2595f8=_0x31f2ea;this[_0x2595f8(0x1e0)][_0x2595f8(0x3ab)](_0xbd2db2),this[_0x2595f8(0x1e0)][_0x2595f8(0x33b)]===0x0&&this[_0x2595f8(0x1d5)]&&window[_0x2595f8(0x13a)](this[_0x2595f8(0x1d5)]);}['_init'](){const _0x429a89=_0x31f2ea;this[_0x429a89(0x216)](_0xfde5a2['toDisposable'](_0x52a223[_0x429a89(0xf7)](window,'storage')[_0x429a89(0x220)](_0x4ce87d=>{const _0x9d6d15=_0x429a89;if(_0x4ce87d[_0x9d6d15(0x25a)]!==_0x23cf21||!_0x4ce87d[_0x9d6d15(0x14e)])return;const _0x3d245f=JSON['parse'](_0x4ce87d[_0x9d6d15(0x14e)]);this[_0x9d6d15(0x333)](_0x3d245f);}))),window[_0x429a89(0x3b3)](_0x429a89(0x34a),()=>this[_0x429a89(0x35d)]({'type':0x1,'memberID':this[_0x429a89(0x29f)],'unitIDs':Array[_0x429a89(0x25e)](this[_0x429a89(0x1e0)])}));}[_0x31f2ea(0x333)](_0x27d4de){const _0x304551=_0x31f2ea;switch(_0x27d4de[_0x304551(0x2ee)]){case 0x0:this[_0x304551(0x2e1)](_0x27d4de);break;case 0x1:this['_handleLeaveEvent'](_0x27d4de);break;case 0x2:this['_handleHeartbeatEvent'](_0x27d4de);break;}}['_handleJoinEvent'](_0x3789b2){const _0x11dc46=_0x31f2ea,{unitIDs:_0x761ea2,memberID:_0x5e943a,isForwarded:_0x134823}=_0x3789b2;_0x761ea2[_0x11dc46(0x2fb)](_0x517555=>{const _0x31da23=_0x11dc46;if(!_0x134823&&this[_0x31da23(0x203)][_0x31da23(0x244)](_0x517555)&&this[_0x31da23(0x330)](_0x517555)[_0x31da23(0x2c5)](_0x27635d[_0x31da23(0x3e1)][_0x31da23(0x33f)]),!this['_unitOnClients'][_0x31da23(0x244)](_0x517555)||!this[_0x31da23(0x203)][_0x31da23(0xfb)](_0x517555)['has'](_0x5e943a)){const _0x21e599=this['_unitOnClients']['get'](_0x517555)||new Set();_0x21e599[_0x31da23(0x3bb)](_0x5e943a),this['_unitOnClients'][_0x31da23(0x15e)](_0x517555,_0x21e599),this[_0x31da23(0x3d2)](_0x5e943a);}}),_0x134823||this[_0x11dc46(0x35d)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x11dc46(0x1e0)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x5cea1b){const _0x402e2a=_0x31f2ea;this[_0x402e2a(0x2bd)](_0x5cea1b);const _0x3a3a26=window[_0x402e2a(0xff)](()=>{const _0x290676=_0x402e2a;this[_0x290676(0x203)][_0x290676(0x2fb)](_0xc73bc6=>{const _0x99581f=_0x290676;_0xc73bc6[_0x99581f(0x3ab)](_0x5cea1b);});},_0x4e76c5*0x2);this[_0x402e2a(0x360)][_0x402e2a(0x15e)](_0x5cea1b,_0x3a3a26);}[_0x31f2ea(0x2bd)](_0x307e68){const _0x17de99=_0x31f2ea;if(this[_0x17de99(0x360)][_0x17de99(0x244)](_0x307e68)){const _0xd9f2a9=this[_0x17de99(0x360)][_0x17de99(0xfb)](_0x307e68);_0xd9f2a9&&window['clearTimeout'](_0xd9f2a9),this[_0x17de99(0x360)]['set'](_0x307e68,null);}}[_0x31f2ea(0x239)](_0x580923){const _0x1a0a74=_0x31f2ea,{memberID:_0x37028f,unitIDs:_0x103277}=_0x580923;_0x103277[_0x1a0a74(0x2fb)](_0x17598d=>{const _0x2951bc=_0x1a0a74;var _0x4a624c;const _0x3faac0=this[_0x2951bc(0x203)][_0x2951bc(0xfb)](_0x17598d);_0x3faac0&&(_0x3faac0['delete'](_0x37028f),(_0x4a624c=this[_0x2951bc(0x330)](_0x17598d))==null||_0x4a624c[_0x2951bc(0x2c5)](_0x3faac0[_0x2951bc(0x33b)]===0x0?_0x27635d[_0x2951bc(0x3e1)][_0x2951bc(0x299)]:_0x27635d[_0x2951bc(0x3e1)]['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x37028f);}['_handleHeartbeatEvent'](_0x31dffd){const _0x45a866=_0x31f2ea;this[_0x45a866(0x3d2)](_0x31dffd[_0x45a866(0x271)]);}[_0x31f2ea(0x35d)](_0x544ba6){const _0x43b93e=_0x31f2ea;localStorage[_0x43b93e(0x3ee)](_0x23cf21,JSON[_0x43b93e(0x334)](_0x544ba6));}[_0x31f2ea(0x274)](){const _0x3076c4=_0x31f2ea;this[_0x3076c4(0x1d5)]=window[_0x3076c4(0x3ce)](()=>{const _0x3abb17=_0x3076c4;this[_0x3abb17(0x35d)]({'type':0x2,'memberID':this['_id']});},_0x4e76c5);}[_0x31f2ea(0x330)](_0x29a9c6){const _0xb99a3e=_0x31f2ea;return this['_unitStatus'][_0xb99a3e(0x244)](_0x29a9c6)||this[_0xb99a3e(0x294)][_0xb99a3e(0x15e)](_0x29a9c6,new _0x52a223[(_0xb99a3e(0x345))](_0x27635d[_0xb99a3e(0x3e1)]['NO_OTHER_CLIENTS_EDITING'])),this['_unitStatus'][_0xb99a3e(0xfb)](_0x29a9c6);}}_0x159e3d[_0x31f2ea(0x1ec)]=_0x4e0db9,_0x159e3d[_0x31f2ea(0x228)]=_0x4671e4,_0x159e3d[_0x31f2ea(0x300)]=_0x27c613,_0x159e3d[_0x31f2ea(0x185)]=_0x1b5d46,Object[_0x31f2ea(0x39f)](_0x159e3d,Symbol[_0x31f2ea(0x23d)],{'value':_0x31f2ea(0x1be)});}));
|