@univerjs-pro/collaboration-client-ui 0.13.0-insiders.20251218-2062647 → 0.13.0-insiders.20251220-0a5ea4d
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 +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x1e97(_0x3f05b8,_0x598ef3){_0x3f05b8=_0x3f05b8-0xce;const _0x17969e=_0x1796();let _0x1e97df=_0x17969e[_0x3f05b8];return _0x1e97df;}function _0x1796(){const _0x4000cb=['getLocalCacheKey','CollaborationDataLoaderController','override','dispose$','xlink:href','_docTransformStateCacheService','engine','imageSourceType','USER_NOT_INVITED_CODE','_unitOnClients','getFocusedUnit','object','369766nIPzgf','@univerjs/design','CollaborationStatus','source','permission.title','_initDependencies','ticket','getUndoRedoMutationParamsCache','COMPLETION_FINISHED','url(#$1','invokeId','DataLoaderService','/universer-api/license/formula/limit/status','endRow','getCollabCursors$','search','dispose','SetTextSelectionsOperation','createElement','height','storage','resize','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','off-line-icon_clip0_910_343','roomMembers$','Tools','handleInsertRow','Unknown\x20user','TRANSFORM_CHANGE_OBSERVABLE_TYPE','getUnitId','idSuffix','ONLINE','svg','assignAColorForMemberID','setAlpha','_toggleOnline','useCallback','size','FromArray','_httpService','measureText','REDEMPTION_CODE_HAS_BEEN_CREATED','_disabled','@univerjs/drawing','_roomMembers$','@univerjs/network','socket$','path','_initStatusListener','values','COLORS','_commandService','isArray','eventID','clipPath','shareReplay','fromEventSubject','[LogService\x20Error]:\x20','MOBILE_VERIFY_CODE_MISMATCH','editingUnit','DisposableCollection','_colorIndex','PERMISSION_DENIED','LOGIN_TOKEN_PROCESSING_FAILED','univerjs-icon\x20univerjs-icon-','@univerjs/sheets','SOCKET_FAILED_RETRY','focused$','_logService','_getMergeRange','_docTransformSelectionsService','ranges','_releaseCalculationLimit','_onCursorDelete','_handleHover','m2Prime','init','isFormulaId','FormulaExecuteStageType','_drawAnchor','_scheduleSaving','#FFF','DocStateChangeManagerService','stageInfo','_onCursorUpdate','VIEW_MAIN','undoState','post','USERS_LEAVE','deepClone','_taskIds','Optional','SUCCESS','MessageType','exhaustSavingTask','handleInsertRangeMoveRight','takeUntil','error','TEXT','NOT_FOUND','8011638ZkysBU','PY_RUNTIME_SCRIPT_ERROR','tag','_collabSessionService','_initUnhandledRejectionListener','AWAITING_WITH_PENDING','IRenderManagerService','removeEventListener','RemoveColCommandId','_clearOtherTimers','use','delete','_heartbeatTimer','endColumn','_cursorInfo$','_textBubble','REDEMPTION_INVALID_CODE','getCoordByCell','PENDING','_createSocketURL','_initCommandInterceptor','sessionStatus$','Loading','EffectRefRangId','INotificationService','getUnit','_clearPolling','REDEMPTION_USER_NOT_ELIGIBLE','_docSkeletonManagerService','children','YUUMI_ASYNCIO_CANCELLED','UniverDocsUi','ENTITLE_USE_COUPON_NOT_1ST_TRADE','@univerjs/engine-formula','_injector','APPLY_NON_SEQUENTIAL_REVISION','attrs','...','CONNECTOR_DATA_TOO_LARGE','isFormulaString','ENTITLE_CAN_NOT_BUY_LOWER_OTP','UniverRpc','WebURLService','mapTo','APPLY_REVISION_CONFILICT','session.connection-failed','row','M0\x200H16V16H0z','getTypeOfUnitAdded$','_dataLoaderService','SetSelectionsOperation','ILocalStorageService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','transformMutation','has','currentColor','SOCKET_FAILED','roomMembers','distinctUntilChanged','isTransformMutationFailure','InsertRowCommandId','_docClipboardService','DocSkeletonManagerService','_getSheetObject','onCommandExecuted','set','_render','_cursor','setTimeout','@univerjs-pro/collaboration','YUUMI_AI_RUN_FAILED','_labelPosition','_showGuardMessage','colno','text','ACTIVE_UNIT_EVENT_CHANNEL','_transformUndoRedoStack','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_removeClearOtherTimer','OFFLINE','setUndoRedoMutationParamsCache','string','sessionTicket','getColorFromTheme','UniverSheets','collabStatus.fetchMiss','_initResize','_univerInstanceService','RECT','transformMutationsWithChangeset','_renderManagerService','push','cursorInfo$','makeDirty','UniverEngineRender','formula.calculation.unable','_themeService','exports','textRanges','totalFormulasToCalculate','collabStatus.conflict','Rectangle','Error','InsertRangeMoveDownCommandId','REDEMPTION_CODE_INACTIVE','with','isEditing','_instanceService','_cursorShapes','pipe','_onRefRangeChange','_maxFormulaLimit','none','UNDEFINED','DependentOn','WebSocketService','location','CLOSE_ROOM','status$','_memberID','MUTATION','color','parseInt','onPointerLeave$','fill','_getAnchorBounding','CURRENT_STATUS_CANNOT_OPERATE','USER_NOT_FOUND','actions','popstate','_initStatusComponent','body','BuiltInUIPart','collabCursorState$','IImageIoService','[CollaborationDataLoaderController]','unitID','ILogService','filter','UniverCollaborationClientUIPlugin','throttleTime','CollaborationSocketService','operators','ThemeService','_setupSubUnitSync','getRelativeToViewportCoord','_selfUnitIDs','PAYMENT_CHANNEL_NOT_SUPPORT','column','collab-text-anchor-','getSheetId','CollaborationEvent','_handleEvent','whenReady','length','getOffsetConfig','INVITE_CODE_HAS_BEEN_UES','disposeWithMe','replaceState','getSheetObject','_scheduleHeartbeat','clearTimeout','LICENSE_MAX_UNITS_EXCEEDED','forwardRef','event$','SheetCollabCursorShape','_draw','REDEMPTION_CODE_FULLY_REDEEMED','INTERNAL_ERROR','limitInfo','_getSaveTimeout','/universer-api/license/formula/limit/done','getCurrentRevOfUnit','_eventUnsubscribe','_registerDependencies','collaboration-client-ui.config','SetDocZoomRatioOperation','UniverNetwork','collaboration.offline-data-not-saved','disableLocalCache','_pollingInterval','IURLService','Inject','range','arc','handleInsertRangeMoveDown','_id','history','_collabCursorState$','RevisionService','setInterval','UNAUTHENTICATED','getCurrentUnitForType','functionsExecutedState','now','merge','SheetSkeletonManagerService','@univerjs/core','stack','_registerRenderDependencies','entityInit$','CollaborationUIEventService','collaboration.closeRoom','ENTITLE_REPORT_LIMIT_EXCEED','SNAPSHOT_HAS_BEEN_REMOVED','_urlService','flatMap','on-line-icon_clip0_910_349','CollaborationController','MoveRangeCommandId','_hasFormulaInDirtyRanges','getformulaLimitStatusUrl','registerRefRange','_cachedData','_entities','saveImage','UNIVER_SHEET','getColor','session.collaboration-timeout','getVpScrollXYInfoByPosToVp','UniverInstanceType','_getFormulaLimitStatus','_collabCursorController','IConfigService','hovered','ILocalCacheService','_uploadLog','OffLineIcon','APPLY_DUPLICATED','RegularPolygon','loadUnit','BrowserCollaborationSocketService','univer-flex\x20univer-items-center','runOnServer','YUUMI_RATE_OVER_LIMIT','INVITE_CODE_REQUIRED','UniverIcon','subUnitId','top','OTHER_CLIENTS_EDITING','params','_refreshCollabCursors','save','loadOfflineData','removeParam','LOCAL_CACHE_INTERVAL','maxFormulaLimit','@univerjs/docs-ui','_localStorageService','colorChannel1','ISocketService','href','YUUMI_CONNECTOR_URL_NOT_FOUND','UniverEngineFormula','CONFLICT','CollaborationUIEventId','addObject','getSkeleton','symbol','Rect','@univerjs/ui','_beforeCloseService','_updateSubUnitFromURLParams','_lastResponseTimestamp','/universer-api/license/formula/limit/start','DeleteRangeMoveLeftCommandId','SHEET_VIEWPORT_KEY','then','_initEvent','_hideTimer','registerComponent','Injector','ENTITLE_INSUFFICIENT_QUOTA','_hovered','add','Warning','ENTITLE_COUPON_EXPIRED','onStarting','UNIVER_DOC','mutations','NodePositionConvertToRectRange','_collaborationSessionService','send','executionId','_updateLocalCursor','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_online','find','REDEMPTION_CODE_NOT_STARTED','Module','24269rWNrGi','unsubscribe','FETCH_MISS','/run/','url(#off-line-icon_clip0_910_343)','addHandlerCallback','EMAIL_HAS_BEEN_BOUND','NO_OTHER_CLIENTS_EDITING','handleMoveRange','getConfig','searchParams','onLocalMutation','CanceledError','startFormulaLimitUrl','_localeService','_setFormulaLimitStatus','getMergeData','next','TEXT_RANGE_LAYER_INDEX','DOC_RANGE_TYPE','debounceTime','_assignedColors','_initWindowErrorListener','SetFormulaCalculationStartMutation','SNAPSHOT_INVALID_SNAPSHOT','CHANGESET_REVISION_CONFILICT','_send','substring','map','cursorInfo','jsxs','_transformService','uni.network.url-service','mask','origin','type','name','RxDisposable','registerDependencies','_unitStatus','680076bXjpyt','INVITE_CODE_ALREADY_BOUND','getUniverSheetInstance','SessionStatus','unhandledrejection','data','collabStatus.synced','_color','RemoveRowCommandId','RefRangeService','getSheetBySheetId','Vector2','_memberService','shift','bottom','rgba(255,\x20255,\x20255,\x200.01)','YUUMI_NO_CUBOID_FOR_QUESTION','RemoteUniscriptService','off-line-icon','getRenderById','_sheetSkeletonManagerService','collabStatus.notCollab','USER_IS_ANONYMOUS','useRef','ENSURE_SNAPSHOT_EXECUTION','_refRangeService','url(#on-line-icon_clip0_910_349)','getRangePointData','syncEditingCollabCursor','TOO_MANY_REQUESTS','ColorKit','hide','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getCollabEntity$','translate(.97)','_range','selection','2054799Mszpfw','/universer-api/frontend/logs','closePath','transformStateCache','fillText','debug','drawWith','restore','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','message','UniverDocs','Success','NOT_COLLAB','_context','_initCommandExecutedListener','onPointerMove$','DocCollaborationEntity','_scheduleClearOtherTimer','backgroundColor','complete','some','IUniverInstanceService','handleIRemoveRow','findNodePositionByCharIndex','pushState','_saveCache','HTTPService','DesktopCollaborationStatusDisplayController','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','clearInterval','assign','rxjs','green.600','toStringTag','_revisionService','m1Prime','_uiPartsService','debounce','getDocRanges','UniverProCollaborationClientUi','UniverProCollaboration','_toggleOffline','displayName','UniverUi','RichTextEditingMutation','_setupBeforeClosingHandler','function','redoState','110YfRWZa','replaceDocRanges','MOBILE_HAS_BEEN_BOUND','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','ITransformService','MemberService','_handleLeaveEvent','red.300','transformByState','UniverProCollaborationClient','registerBeforeClose','application/json','startsWith','_checkAndWaitForCalculationPermission','jsx','UniverDrawing','LICENSE_IMPORT_SIZE_EXCEEDED','Disposable','sheetID','ENTITLE_DUP_SUBSCRIPTION','CommandType','_updateCollabCursors','transformSelections','toString','_initUserListener','subunit','_saveTaskMap','connectInjector','saveOfflineData','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','subscribeEvent','wsSessionTicketUrl','AUTHORIZE_CODE_ILLEGAL','YUUMI_ALL_TABLES_IS_INVALID','getTypeOfUnitDisposed$','react','lineno','CollaborationSessionService','createInstance','FormulaExecutedStateType','onTransformChange$','setStateCache','getCellPositionByOffset','currentSkeleton$','defineProperty','@univerjs/docs','OTHER_CLIENT_EDITING','2120JwhQcW','getUnhiddenWorksheets','ENTITLE_COUPON_USED_UP','getActiveSheet','Workbook','sheetId','41632vaiHTh','_currentUsage','ERROR_AGAIN','[Window\x20Error]:\x20','0\x200\x2016\x2016','_initEntityListener','getAncestorScale','_docTransformIMECacheService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_cursors','getParam','@univerjs/rpc','InsertColCommandId','DocIMEInputManagerService','_docStateChangeManagerService','_removeCollabCursors','beforeCommandExecuted','show','replace','_configService','SetWorksheetActivateCommand','setParam','UnitStatus','_messageService','_docSkeleton','registerRenderModule','YUUMI_URL_COL_OUT_OF_RANGE','_backgroundColor','_transformPreviousActiveRange','_drawRectRange','blue.400','unit','saveTaskMap','unshift','stringify','_getSessionTicket','DocSelectionManagerService','selections','handleDeleteRangeMoveLeft','INVALID_INVITE_CODE','toRgbString','_name','onPointerEnter$','_checkCalculationAvailable','transformIMECache','_transformHistoryAndStateStack','subscribe','ISnapshotServerService','handleInsertCol','SYNCED','entries','_anchorDot','ENTITLE_INVALID_COUPON_CODE','setShapeProps','fromEvent','disposeUnit','APPLY_PERMISSION_DENIED','_status$','UNRECOGNIZED','getOwnPropertyDescriptor','beginPath','onMouseMove','dirtyRanges','_session','fillStyle','_init','ICommandService','_scene','Plugin','labelPosition','IDocClipboardService','addObjects','from','permission.content','requireSession','collabStatus.offline','_getScale','runId','div','UPDATE_CURSOR','EMAIL_VERIFY_CODE_MISMATCH','IRemoteInstanceService','getValue','_syncEditingCollabCursorService','unitId','width','getViewport','updateOfflineData','clsx','key','_docSyncEditingCollabCursorService','pluginName','join','_anchor','@univerjs/sheets-ui','getItem','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','evenodd','asObservable','_lastPointer','rxjs/operators','parse','code','formula.calculation.started','0\x200\x2017\x2016','useDependency','startColumn','_startCalculationLimit','_colorAssignService','getCurrentSelections','lineTo','doc.mutation.rich-text-editing','LICENSE_DISTRO_REJECTED','createIdentifier','addEventListener','black','IBeforeCloseService','SetFormulaCalculationNotificationMutation','_imageIoService','round','_handleJoinEvent','runRefRangeMutations','isTransformMutationsWithChangesetSuccess','_startDocCollabCursor','get','UniverSheetsUi','Shape','addClipboardHook','enableFrontendLog','Failed','_collaborationUIEventService','_startSheetCollabCursor','LocaleService','newValue','ALREADY_EXISTS','DATA_SOURCE_TOO_LARGE','currentTheme$','stage','_hover','useObservable','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_updateURLWithCurrentState','startRow','_localCacheService','_config','forEach','_document','currentUsage','_shapes','setItem','generateRandomId','trim','transformRemoteChangeset','purple.300','combineLatest','_handleHeartbeatEvent','white','split','YUUMI_SUBSCRIPTION_NOT_FOUND','serializeRangeWithSheet','_entityInit$','yellow.400','SheetsSelectionsService','defs','getCurrent','_ensureSubject','BehaviorSubject','amd','[RemoteUniscriptService]:\x20no\x20focused\x20unit','collab-text-range-','memberID','_notificationService','1em','catch','skeleton','bind','LOCAL_CACHE_INTERVAL_KEY','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','result','executeCommand','_drawTextRange','IMessageService','http://www.w3.org/2000/svg','handleDeleteRangeMoveUp','font','getMemberID','_monkeyPatchLogService','switchMap','UniverDesign','APPLY_REJECT','1133592fbckmr','ENTITLE_NEED_BILLING_ADDRESS','_applyCommand'];_0x1796=function(){return _0x4000cb;};return _0x1796();}(function(_0x5082e3,_0x53d6b4){const _0x285812=_0x1e97,_0x32367b=_0x5082e3();while(!![]){try{const _0x5ba9bf=-parseInt(_0x285812(0x35e))/0x1+-parseInt(_0x285812(0x36d))/0x2+-parseInt(_0x285812(0x215))/0x3+-parseInt(_0x285812(0x29f))/0x4*(parseInt(_0x285812(0x26a))/0x5)+parseInt(_0x285812(0x3d1))/0x6+parseInt(_0x285812(0x1ed))/0x7*(parseInt(_0x285812(0x299))/0x8)+parseInt(_0x285812(0x23a))/0x9;if(_0x5ba9bf===_0x53d6b4)break;else _0x32367b['push'](_0x32367b['shift']());}catch(_0x15e089){_0x32367b['push'](_0x32367b['shift']());}}}(_0x1796,0xace64),function(_0x4ac64d,_0x3fa0f4){const _0x1ebeb7=_0x1e97;typeof exports==_0x1ebeb7(0x36c)&&typeof module<'u'?_0x3fa0f4(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==_0x1ebeb7(0x268)&&define[_0x1ebeb7(0x347)]?define([_0x1ebeb7(0x12c),'react/jsx-runtime','@univerjs-pro/collaboration-client',_0x1ebeb7(0x190),_0x1ebeb7(0x1cf),_0x1ebeb7(0x259),_0x1ebeb7(0x36e),_0x1ebeb7(0x28d),_0x1ebeb7(0x2ab),_0x1ebeb7(0x3ae),'@univerjs/engine-render',_0x1ebeb7(0x39a),_0x1ebeb7(0x1c2),_0x1ebeb7(0x398),_0x1ebeb7(0x110),_0x1ebeb7(0x297),_0x1ebeb7(0xec),_0x1ebeb7(0x304),_0x1ebeb7(0x2fe)],_0x3fa0f4):(_0x4ac64d=typeof globalThis<'u'?globalThis:_0x4ac64d||self,_0x3fa0f4(_0x4ac64d[_0x1ebeb7(0x261)]={},_0x4ac64d['React'],_0x4ac64d[_0x1ebeb7(0x273)],_0x4ac64d['UniverCore'],_0x4ac64d[_0x1ebeb7(0x265)],_0x4ac64d[_0x1ebeb7(0x259)],_0x4ac64d[_0x1ebeb7(0x35c)],_0x4ac64d['React'],_0x4ac64d[_0x1ebeb7(0xf4)],_0x4ac64d[_0x1ebeb7(0x11f)],_0x4ac64d[_0x1ebeb7(0x129)],_0x4ac64d[_0x1ebeb7(0x17c)],_0x4ac64d[_0x1ebeb7(0xea)],_0x4ac64d[_0x1ebeb7(0x279)],_0x4ac64d[_0x1ebeb7(0x262)],_0x4ac64d[_0x1ebeb7(0x244)],_0x4ac64d[_0x1ebeb7(0x1c8)],_0x4ac64d['rxjs'][_0x1ebeb7(0x159)],_0x4ac64d[_0x1ebeb7(0x31d)]));}(this,function(_0x42b8f3,_0x36c173,_0x115633,_0x5721e1,_0xa1d841,_0x3c46fe,_0x31d403,_0x2f3b23,_0x2abba2,_0x52d373,_0x585793,_0x45e398,_0x45f825,_0x36f61a,_0x195720,_0x9d8fba,_0x26196d,_0x3951af,_0x131e0d){'use strict';const _0x3db800=_0x1e97;var _0x1b06f4=Object['defineProperty'],_0x53c8bc=(_0x2dd5c6,_0x2c698d,_0x1ccce8)=>_0x2c698d in _0x2dd5c6?_0x1b06f4(_0x2dd5c6,_0x2c698d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ccce8}):_0x2dd5c6[_0x2c698d]=_0x1ccce8,_0x11fc09=(_0x1c238c,_0x1047d5,_0x3846b8)=>_0x53c8bc(_0x1c238c,typeof _0x1047d5!=_0x3db800(0x1cd)?_0x1047d5+'':_0x1047d5,_0x3846b8);function _0x53852e({ref:_0x5a622c,..._0x254239}){const _0x4864c5=_0x3db800,{icon:_0x4d3409,id:_0x4baf37,className:_0x4b08df,extend:_0x431025,..._0x4dea7a}=_0x254239,_0x2bd6ea=(_0x4864c5(0x3ad)+_0x4baf37+'\x20'+(_0x4b08df||''))[_0x4864c5(0x337)](),_0x177064=_0x2f3b23[_0x4864c5(0x22c)]('_'+_0x178212());return _0x5a6ff2(_0x4d3409,''+_0x4baf37,{'defIds':_0x4d3409['defIds'],'idSuffix':_0x177064['current']},{'ref':_0x5a622c,'className':_0x2bd6ea,..._0x4dea7a},_0x431025);}function _0x5a6ff2(_0x21ac2b,_0xde4061,_0xf9ad22,_0x3c1ef3,_0x352370){const _0x1e4ee5=_0x3db800;return _0x2f3b23[_0x1e4ee5(0x37f)](_0x21ac2b[_0x1e4ee5(0x3d3)],{'key':_0xde4061,..._0x55e06a(_0x21ac2b,_0xf9ad22,_0x352370),..._0x3c1ef3},(_0x3862dd(_0x21ac2b,_0xf9ad22)[_0x1e4ee5(0xe8)]||[])[_0x1e4ee5(0x209)]((_0x894fa1,_0x474f9d)=>_0x5a6ff2(_0x894fa1,_0xde4061+'-'+_0x21ac2b['tag']+'-'+_0x474f9d,_0xf9ad22,void 0x0,_0x352370)));}function _0x55e06a(_0x35594d,_0x4efa96,_0x22fc24){const _0x1af7fa=_0x3db800,_0x376c0b={..._0x35594d[_0x1af7fa(0xef)]};_0x22fc24!=null&&_0x22fc24['colorChannel1']&&_0x376c0b[_0x1af7fa(0x147)]===_0x1af7fa(0x1c4)&&(_0x376c0b[_0x1af7fa(0x147)]=_0x22fc24[_0x1af7fa(0x1c4)]),_0x35594d[_0x1af7fa(0x3d3)]==='mask'&&_0x376c0b['id']&&(_0x376c0b['id']=_0x376c0b['id']+_0x4efa96[_0x1af7fa(0x38b)]),Object[_0x1af7fa(0x2d2)](_0x376c0b)['forEach'](([_0x28cebb,_0x4fd706])=>{const _0x2a7cba=_0x1af7fa;_0x28cebb===_0x2a7cba(0x20e)&&typeof _0x4fd706==_0x2a7cba(0x11c)&&(_0x376c0b[_0x28cebb]=_0x4fd706[_0x2a7cba(0x2b2)](/url\(#(.*)\)/,_0x2a7cba(0x376)+_0x4efa96['idSuffix']+')'));});const {defIds:_0x77e525}=_0x4efa96;return!_0x77e525||_0x77e525['length']===0x0||(_0x35594d[_0x1af7fa(0x3d3)]===_0x1af7fa(0xd5)&&_0x376c0b[_0x1af7fa(0x365)]&&(_0x376c0b[_0x1af7fa(0x365)]=_0x376c0b[_0x1af7fa(0x365)]+_0x4efa96[_0x1af7fa(0x38b)]),Object[_0x1af7fa(0x2d2)](_0x376c0b)[_0x1af7fa(0x331)](([_0x4fd073,_0x2127de])=>{const _0x30546b=_0x1af7fa;typeof _0x2127de=='string'&&(_0x376c0b[_0x4fd073]=_0x2127de[_0x30546b(0x2b2)](/url\(#(.*)\)/,'url(#$1'+_0x4efa96['idSuffix']+')'));})),_0x376c0b;}function _0x3862dd(_0x10a768,_0x5cbc68){const _0x1ee966=_0x3db800;var _0x787224;const {defIds:_0x4fbecb}=_0x5cbc68;return!_0x4fbecb||_0x4fbecb[_0x1ee966(0x165)]===0x0?_0x10a768:_0x10a768['tag']===_0x1ee966(0x343)&&((_0x787224=_0x10a768['children'])!=null&&_0x787224['length'])?{..._0x10a768,'children':_0x10a768[_0x1ee966(0xe8)]['map'](_0xa2952e=>typeof _0xa2952e[_0x1ee966(0xef)]['id']==_0x1ee966(0x11c)&&_0x4fbecb&&_0x4fbecb['includes'](_0xa2952e[_0x1ee966(0xef)]['id'])?{..._0xa2952e,'attrs':{..._0xa2952e[_0x1ee966(0xef)],'id':_0xa2952e[_0x1ee966(0xef)]['id']+_0x5cbc68[_0x1ee966(0x38b)]}}:_0xa2952e)}:_0x10a768;}function _0x178212(){const _0x19ae3e=_0x3db800;return Math['random']()[_0x19ae3e(0x281)](0x24)[_0x19ae3e(0x208)](0x2,0x8);}_0x53852e[_0x3db800(0x264)]=_0x3db800(0x1b7);const _0x11986a={'tag':_0x3db800(0x38d),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':'none','viewBox':_0x3db800(0x2a3),'width':'1em','height':_0x3db800(0x34c)},'children':[{'tag':'g','attrs':{'clipPath':_0x3db800(0x1f1)},'children':[{'tag':_0x3db800(0x39c),'attrs':{'stroke':_0x3db800(0x102),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x3db800(0x317),'strokeLinejoin':_0x3db800(0x317),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x3db800(0x384)},'children':[{'tag':_0x3db800(0x39c),'attrs':{'fill':'white','d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x3db800(0x384)]},_0x1855f4=_0x2f3b23[_0x3db800(0x16e)](function(_0x4ad28d,_0x1854cb){const _0x4e5cc6=_0x3db800;return _0x2f3b23['createElement'](_0x53852e,Object['assign']({},_0x4ad28d,{'id':_0x4e5cc6(0x227),'ref':_0x1854cb,'icon':_0x11986a}));});_0x1855f4[_0x3db800(0x264)]=_0x3db800(0x1ae);const _0x689c8a={'tag':_0x3db800(0x38d),'attrs':{'xmlns':_0x3db800(0x356),'fill':_0x3db800(0x13b),'viewBox':_0x3db800(0x308),'width':_0x3db800(0x34c),'height':_0x3db800(0x34c)},'children':[{'tag':'g','attrs':{'clipPath':_0x3db800(0x22f)},'children':[{'tag':_0x3db800(0x39c),'attrs':{'stroke':_0x3db800(0x102),'d':_0x3db800(0x242),'strokeLinecap':_0x3db800(0x317),'strokeLinejoin':_0x3db800(0x317),'strokeWidth':1.2}}]},{'tag':_0x3db800(0x343),'attrs':{},'children':[{'tag':_0x3db800(0x3a3),'attrs':{'id':_0x3db800(0x19a)},'children':[{'tag':_0x3db800(0x39c),'attrs':{'fill':_0x3db800(0x33c),'d':_0x3db800(0xfa),'transform':_0x3db800(0x237)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x544b9b=_0x2f3b23['forwardRef'](function(_0x514393,_0x562375){const _0x21003b=_0x3db800;return _0x2f3b23[_0x21003b(0x37f)](_0x53852e,Object[_0x21003b(0x258)]({},_0x514393,{'id':'on-line-icon','ref':_0x562375,'icon':_0x689c8a}));});_0x544b9b[_0x3db800(0x264)]='OnLineIcon';function _0x4a053d(_0x15b61d){const _0xde42a5=_0x3db800;switch(_0x15b61d){case _0x115633[_0xde42a5(0x36f)][_0xde42a5(0x11a)]:return _0xde42a5(0x2eb);case _0x115633[_0xde42a5(0x36f)][_0xde42a5(0x1c9)]:return _0xde42a5(0x12f);case _0x115633[_0xde42a5(0x36f)][_0xde42a5(0x1ef)]:return _0xde42a5(0x120);case _0x115633[_0xde42a5(0x36f)][_0xde42a5(0x246)]:return _0xde42a5(0x22a);case _0x115633[_0xde42a5(0x36f)]['AWAITING']:case _0x115633[_0xde42a5(0x36f)][_0xde42a5(0xd0)]:return'collabStatus.syncing';case _0x115633['CollaborationStatus'][_0xde42a5(0x2d1)]:case _0x115633['CollaborationStatus'][_0xde42a5(0xdd)]:return _0xde42a5(0x21b);}}function _0x3aa57c(_0x24bc59){const _0x40bfa2=_0x3db800,{status$:_0x237a0a}=_0x24bc59,_0x42f0d8=_0xa1d841[_0x40bfa2(0x32b)](_0x237a0a,_0x115633[_0x40bfa2(0x36f)][_0x40bfa2(0x246)]),_0x390864=_0xa1d841['useDependency'](_0x5721e1[_0x40bfa2(0x324)]),_0x37bce8=_0xa1d841[_0x40bfa2(0x309)](_0x115633['CollaborationSessionService']),_0xa345d4=_0x42f0d8!==_0x115633[_0x40bfa2(0x36f)][_0x40bfa2(0x11a)],_0x3eaa8c=_0x390864['t'](_0x4a053d(_0x42f0d8)),_0x502f4e=_0xa345d4?_0x36c173['jsx'](_0x544b9b,{}):_0x36c173['jsx'](_0x1855f4,{}),_0xd37df7=_0x2f3b23[_0x40bfa2(0x391)](()=>{_0xa345d4||_0x37bce8['reconnect']();},[_0xa345d4,_0x37bce8]);function _0x48bb28(){const _0x528c3f=_0x40bfa2;return _0x36c173[_0x528c3f(0x20b)](_0x528c3f(0x2ee),{'className':_0x528c3f(0x1b3),'onClick':_0xd37df7,'children':[_0x36c173['jsx'](_0x528c3f(0x2ee),{'className':_0x31d403[_0x528c3f(0x2f8)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0xa345d4,'univer-text-red-500':!_0xa345d4}),'children':_0x502f4e}),_0x36c173['jsx'](_0x528c3f(0x2ee),{'className':_0x528c3f(0x383),'children':_0x3eaa8c})]});}return _0xa345d4?_0x48bb28():_0x36c173[_0x40bfa2(0x278)](_0x31d403['Tooltip'],{'title':_0x390864['t']('collab-client.tooltip.reconnect'),'children':_0x48bb28()});}var _0x196195=Object['getOwnPropertyDescriptor'],_0x23b43a=(_0x420d27,_0x386441,_0x4d794f,_0x358b3d)=>{for(var _0x17a068=_0x358b3d>0x1?void 0x0:_0x358b3d?_0x196195(_0x386441,_0x4d794f):_0x386441,_0xa3e734=_0x420d27['length']-0x1,_0x10b6e5;_0xa3e734>=0x0;_0xa3e734--)(_0x10b6e5=_0x420d27[_0xa3e734])&&(_0x17a068=_0x10b6e5(_0x17a068)||_0x17a068);return _0x17a068;},_0x388c8e=(_0x2e7108,_0x536862)=>(_0x5a4799,_0x20faf9)=>_0x536862(_0x5a4799,_0x20faf9,_0x2e7108);_0x42b8f3[_0x3db800(0x255)]=class extends _0x5721e1[_0x3db800(0x27b)]{constructor(_0x5b560a,_0x5985f2,_0x464340,_0x490cd7){const _0xeaa123=_0x3db800;super(),_0x11fc09(this,_0xeaa123(0x2d9),new _0x3c46fe[(_0xeaa123(0x346))](_0x115633[_0xeaa123(0x36f)][_0xeaa123(0x246)])),(this[_0xeaa123(0x122)]=_0x5b560a,this[_0xeaa123(0xed)]=_0x5985f2,this['_collaborationController']=_0x464340,this[_0xeaa123(0x25e)]=_0x490cd7,this[_0xeaa123(0x14d)](),this[_0xeaa123(0x39d)]());}[_0x3db800(0x39d)](){const _0x275499=_0x3db800;this[_0x275499(0x168)](this[_0x275499(0x122)][_0x275499(0x3b0)][_0x275499(0x138)](_0x3c46fe[_0x275499(0x35b)](()=>{const _0x40327c=_0x275499,_0x12fe20=this[_0x40327c(0x122)]['getFocusedUnit']();return _0x12fe20?this['_collaborationController'][_0x40327c(0x236)](_0x12fe20[_0x40327c(0x38a)]()):_0x3c46fe['of'](null);}),_0x3c46fe[_0x275499(0x35b)](_0x4a3133=>_0x4a3133?_0x4a3133[_0x275499(0x141)]:_0x3c46fe['of'](_0x115633[_0x275499(0x36f)][_0x275499(0x246)])))['subscribe'](_0x4bcd45=>{const _0x462406=_0x275499;this[_0x462406(0x2d9)][_0x462406(0x1fe)](_0x4bcd45);}));}[_0x3db800(0x14d)](){const _0x2cec2b=_0x3db800;this[_0x2cec2b(0x168)](this[_0x2cec2b(0x25e)][_0x2cec2b(0x1d9)](_0xa1d841[_0x2cec2b(0x14f)]['HEADER_MENU'],()=>_0xa1d841[_0x2cec2b(0x285)](_0x1f300e({'status$':this[_0x2cec2b(0x2d9)][_0x2cec2b(0x302)]()}),this[_0x2cec2b(0xed)])));}},_0x42b8f3[_0x3db800(0x255)]=_0x23b43a([_0x388c8e(0x0,_0x5721e1['IUniverInstanceService']),_0x388c8e(0x1,_0x5721e1[_0x3db800(0x181)](_0x5721e1['Injector'])),_0x388c8e(0x2,_0x5721e1[_0x3db800(0x181)](_0x115633[_0x3db800(0x19b)])),_0x388c8e(0x3,_0xa1d841['IUIPartsService'])],_0x42b8f3[_0x3db800(0x255)]);function _0x1f300e(_0x29395a){const {status$:_0x1a84c0}=_0x29395a;return function(){const _0x3b40c7=_0x1e97;return _0x36c173[_0x3b40c7(0x278)](_0x3aa57c,{'status$':_0x1a84c0});};}const _0x4a64fb=_0x5721e1[_0x3db800(0x311)](_0x3db800(0x20d));var _0x216a13=Object[_0x3db800(0x2db)],_0x23d8c4=(_0x436ea3,_0x4e28f2,_0x3a6432,_0x2c680c)=>{for(var _0x3ae693=_0x2c680c>0x1?void 0x0:_0x2c680c?_0x216a13(_0x4e28f2,_0x3a6432):_0x4e28f2,_0x3067e4=_0x436ea3['length']-0x1,_0x1ce6d9;_0x3067e4>=0x0;_0x3067e4--)(_0x1ce6d9=_0x436ea3[_0x3067e4])&&(_0x3ae693=_0x1ce6d9(_0x3ae693)||_0x3ae693);return _0x3ae693;},_0x21170e=(_0x623d9,_0x17bbed)=>(_0x5b8b80,_0x353416)=>_0x17bbed(_0x5b8b80,_0x353416,_0x623d9);_0x42b8f3['CollaborationDataLoaderController']=class extends _0x5721e1[_0x3db800(0x212)]{constructor(_0x1577da,_0x2e8de7,_0x239609,_0x424cea,_0x516f02){const _0x5bc516=_0x3db800;super(),this['_urlService']=_0x1577da,this[_0x5bc516(0x3b1)]=_0x2e8de7,this[_0x5bc516(0x3a0)]=_0x239609,this['_dataLoaderService']=_0x424cea,_0x516f02?_0x516f02==null||_0x516f02[_0x5bc516(0x164)]()[_0x5bc516(0x1d6)](()=>this['_init']()):(this[_0x5bc516(0x3b1)][_0x5bc516(0x23f)](_0x5bc516(0x152),_0x5bc516(0x287)),this[_0x5bc516(0x2e1)]());}async['_init'](){const _0x229856=_0x3db800,_0x184361=this[_0x229856(0x198)][_0x229856(0x2aa)](_0x229856(0x2bf)),_0x326ebd=this['_urlService']['getParam'](_0x229856(0x210)),_0x25f61e=this[_0x229856(0x198)][_0x229856(0x2aa)](_0x229856(0x283));if(!_0x184361||!_0x326ebd){this[_0x229856(0x3b1)][_0x229856(0x23f)](_0x229856(0x152),_0x229856(0x32c));return;}const _0x192b0a=await this[_0x229856(0xfc)][_0x229856(0x1b1)](_0x184361,Number(_0x326ebd),_0x25f61e);_0x192b0a&&_0x192b0a instanceof _0x5721e1[_0x229856(0x29d)]&&this[_0x229856(0x15b)](_0x192b0a);}async[_0x3db800(0x15b)](_0x5c1dc4){const _0x1493c1=_0x3db800;await this['_updateSubUnitFromURLParams'](_0x5c1dc4),_0x5c1dc4['activeSheet$']['pipe'](_0x3c46fe[_0x1493c1(0x3cd)](this[_0x1493c1(0x364)]))['subscribe'](_0x1d7b59=>{const _0x2e0bd9=_0x1493c1;_0x1d7b59&&this[_0x2e0bd9(0x32d)](_0x1d7b59);}),this[_0x1493c1(0x198)]['urlChange$'][_0x1493c1(0x138)](_0x3c46fe[_0x1493c1(0x3cd)](this[_0x1493c1(0x364)]))[_0x1493c1(0x2ce)](()=>this[_0x1493c1(0x1d1)](_0x5c1dc4));}[_0x3db800(0x32d)](_0x229408,_0x374f92=!0x1){const _0x3ab46e=_0x3db800,_0x30208d=this[_0x3ab46e(0x198)][_0x3ab46e(0x2aa)](_0x3ab46e(0x283));_0x229408[_0x3ab46e(0x161)]()!==_0x30208d&&this[_0x3ab46e(0x198)][_0x3ab46e(0x2b5)](_0x3ab46e(0x283),_0x229408[_0x3ab46e(0x161)](),_0x374f92);}async[_0x3db800(0x1d1)](_0x3cd83f){const _0x13aa18=_0x3db800;var _0x14ad3a;const _0x20d5f7=this[_0x13aa18(0x198)]['getParam'](_0x13aa18(0x283));if(!_0x20d5f7||!_0x3cd83f[_0x13aa18(0x21f)](_0x20d5f7)){const _0xea92b5=_0x3cd83f[_0x13aa18(0x29a)]()[0x0],_0x5c057c=_0x3cd83f[_0x13aa18(0x21f)](_0xea92b5);if(!_0x5c057c)return;this[_0x13aa18(0x32d)](_0x5c057c,!0x0),await this[_0x13aa18(0x3a0)][_0x13aa18(0x353)](_0x52d373[_0x13aa18(0x2b4)]['id'],{'unitId':_0x3cd83f[_0x13aa18(0x38a)](),'subUnitId':_0xea92b5});return;}((_0x14ad3a=_0x3cd83f[_0x13aa18(0x29c)]())==null?void 0x0:_0x14ad3a['getSheetId']())!==_0x20d5f7&&await this[_0x13aa18(0x3a0)][_0x13aa18(0x353)](_0x52d373[_0x13aa18(0x2b4)]['id'],{'unitId':_0x3cd83f[_0x13aa18(0x38a)](),'subUnitId':_0x20d5f7});}},_0x42b8f3[_0x3db800(0x362)]=_0x23d8c4([_0x21170e(0x0,_0x4a64fb),_0x21170e(0x1,_0x5721e1[_0x3db800(0x154)]),_0x21170e(0x2,_0x5721e1[_0x3db800(0x2e2)]),_0x21170e(0x3,_0x5721e1[_0x3db800(0x181)](_0x115633[_0x3db800(0x378)])),_0x21170e(0x4,_0x5721e1[_0x3db800(0x3c8)](_0x2abba2[_0x3db800(0x2f1)]))],_0x42b8f3[_0x3db800(0x362)]);var _0x2c3c88=Object[_0x3db800(0x2db)],_0xc78629=(_0xc796a8,_0x48da8a,_0x4345a4,_0x5ad260)=>{const _0x26483a=_0x3db800;for(var _0x1ad83d=_0x5ad260>0x1?void 0x0:_0x5ad260?_0x2c3c88(_0x48da8a,_0x4345a4):_0x48da8a,_0x2a63e2=_0xc796a8[_0x26483a(0x165)]-0x1,_0x26bf2b;_0x2a63e2>=0x0;_0x2a63e2--)(_0x26bf2b=_0xc796a8[_0x2a63e2])&&(_0x1ad83d=_0x26bf2b(_0x1ad83d)||_0x1ad83d);return _0x1ad83d;},_0x5ee442=(_0x5abc60,_0x28152d)=>(_0x28e680,_0x1568e2)=>_0x28152d(_0x28e680,_0x1568e2,_0x5abc60);let _0x3ae7cf=class extends _0x5721e1[_0x3db800(0x212)]{constructor(_0x3b8bb9,_0x474b3a){const _0x17cf58=_0x3db800;super(),this['_docClipboardService']=_0x3b8bb9,this[_0x17cf58(0x316)]=_0x474b3a,this[_0x17cf58(0x2e1)]();}[_0x3db800(0x2e1)](){const _0x504bf4=_0x3db800,_0x401b0b=this;this[_0x504bf4(0x168)](this[_0x504bf4(0x108)][_0x504bf4(0x31f)]({'onBeforePasteImage':async _0x3c497e=>{const _0x3249dd=_0x504bf4,_0x529058=await _0x401b0b[_0x3249dd(0x316)][_0x3249dd(0x1a2)](_0x3c497e);return _0x529058?{'source':_0x529058[_0x3249dd(0x370)],'imageSourceType':_0x529058[_0x3249dd(0x368)]}:null;}}));}};_0x3ae7cf=_0xc78629([_0x5ee442(0x0,_0x45f825[_0x3db800(0x2e6)]),_0x5ee442(0x1,_0x36f61a[_0x3db800(0x151)])],_0x3ae7cf);const _0x50ff74=[_0x3db800(0x339),'jiqing.500',_0x3db800(0x25a),_0x3db800(0x271),_0x3db800(0x2be),_0x3db800(0x341)];class _0x2ab1f4 extends _0x5721e1['Disposable']{constructor(){const _0x231fbb=_0x3db800;super(...arguments),_0x11fc09(this,'_assignedColors',new Map()),_0x11fc09(this,_0x231fbb(0x3aa),0x0);}['assignAColorForMemberID'](_0x431b1a){const _0x168df5=_0x3db800;if(this[_0x168df5(0x202)][_0x168df5(0x101)](_0x431b1a))return this[_0x168df5(0x202)][_0x168df5(0x31c)](_0x431b1a);const _0x1aeba8=_0x50ff74[this[_0x168df5(0x3aa)]];return this[_0x168df5(0x3aa)]=(this[_0x168df5(0x3aa)]+0x1)%_0x50ff74[_0x168df5(0x165)],this[_0x168df5(0x202)][_0x168df5(0x10c)](_0x431b1a,_0x1aeba8),_0x1aeba8;}}function _0x20d37b(_0x300053){const _0x40095b=_0x3db800;let _0x367e2b='';for(const _0xd89894 of _0x300053){const {startOffset:_0x1ba17e,endOffset:_0x271dbf,isActive:_0x378116,rangeType:_0x391da7,segmentId:_0x595f5e,segmentPage:_0x3062bc}=_0xd89894;_0x367e2b[_0x40095b(0x165)]&&(_0x367e2b+=','),_0x367e2b+=_0x1ba17e+':'+_0x271dbf+':'+(_0x378116?'1':'0')+':'+_0x391da7+':'+_0x595f5e+':'+_0x3062bc;}return _0x367e2b;}function _0x347a9b(_0x15bd58){const _0xb6acd7=_0x3db800,_0x2bf27a=_0x15bd58[_0xb6acd7(0x33d)](','),_0x2bf429=[];for(const _0x6504cc of _0x2bf27a){const [_0x12e156,_0xb3f59,_0x11bd95,_0x24632c,_0x2b706a,_0x256dcd]=_0x6504cc[_0xb6acd7(0x33d)](':');_0x2bf429[_0xb6acd7(0x126)]({'startOffset':Number(_0x12e156),'endOffset':Number(_0xb3f59),'collapsed':_0x12e156===_0xb3f59,'isActive':_0x11bd95==='1','rangeType':_0x24632c===_0x5721e1[_0xb6acd7(0x200)][_0xb6acd7(0x3cf)]?_0x5721e1[_0xb6acd7(0x200)]['TEXT']:_0x5721e1[_0xb6acd7(0x200)][_0xb6acd7(0x123)],'segmentId':typeof _0x2b706a==_0xb6acd7(0x11c)?String(_0x2b706a):'','segmentPage':Number(_0x256dcd!=null?_0x256dcd:-0x1)});}return _0x2bf429[_0xb6acd7(0x24e)](_0x32e51c=>_0x32e51c['isActive'])||(_0x2bf429[0x0]['isActive']=!0x0),_0x2bf429;}class _0x41a578 extends _0x5721e1['RxDisposable']{constructor(){const _0x49227b=_0x3db800;super(...arguments),_0x11fc09(this,_0x49227b(0x187),new _0x3c46fe[(_0x49227b(0x346))](null)),_0x11fc09(this,_0x49227b(0x150),this[_0x49227b(0x187)]['asObservable']());}[_0x3db800(0x231)](_0x5e83e3){const _0x39fd30=_0x3db800,{unitID:_0xb66b53,memberID:_0x489582,textRanges:_0x4aa8d0}=_0x5e83e3,_0x47aeaf=_0x20d37b(_0x4aa8d0);if(_0x47aeaf==='')return;const _0x59bdc0={'unitID':_0xb66b53,'memberID':_0x489582,'selection':_0x47aeaf};this[_0x39fd30(0x187)][_0x39fd30(0x1fe)](_0x59bdc0);}}var _0x20d8c6=Object[_0x3db800(0x2db)],_0x4dd272=(_0x279e49,_0x5e9209,_0x3b89e6,_0x5900a5)=>{const _0x2653b0=_0x3db800;for(var _0x36d70e=_0x5900a5>0x1?void 0x0:_0x5900a5?_0x20d8c6(_0x5e9209,_0x3b89e6):_0x5e9209,_0x1de32e=_0x279e49[_0x2653b0(0x165)]-0x1,_0x53b543;_0x1de32e>=0x0;_0x1de32e--)(_0x53b543=_0x279e49[_0x1de32e])&&(_0x36d70e=_0x53b543(_0x36d70e)||_0x36d70e);return _0x36d70e;},_0x1da84f=(_0x1a8ded,_0x25f24f)=>(_0x29a0e8,_0x37c431)=>_0x25f24f(_0x29a0e8,_0x37c431,_0x1a8ded);const _0x2712e3=0x12c,_0x4d5815=0x64;let _0x17b314=class extends _0x5721e1[_0x3db800(0x212)]{constructor(_0x1dbc43,_0x520d0e,_0x19c591,_0x3dca9b,_0x40f48d,_0x440676,_0x3e4663,_0x1bf068,_0x53bbde){const _0x2a9e7f=_0x3db800;super(),_0x11fc09(this,'_online',!0x1),_0x11fc09(this,_0x2a9e7f(0x2e1),!0x1),_0x11fc09(this,_0x2a9e7f(0xd9),new _0x3c46fe['BehaviorSubject'](new Map())),_0x11fc09(this,_0x2a9e7f(0x127),this[_0x2a9e7f(0xd9)][_0x2a9e7f(0x302)]()),_0x11fc09(this,_0x2a9e7f(0x399),new _0x3c46fe[(_0x2a9e7f(0x346))]([])),_0x11fc09(this,_0x2a9e7f(0x385),this[_0x2a9e7f(0x399)][_0x2a9e7f(0x138)](_0x3c46fe['debounceTime'](_0x2712e3))),_0x11fc09(this,'_updateLocalCursor',_0x5721e1[_0x2a9e7f(0x25f)](_0x59a847=>{const _0x4f424c=_0x2a9e7f,_0x5a4566={'eventID':_0x195720[_0x4f424c(0x162)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x4f424c(0x153)],'memberID':this[_0x4f424c(0x2df)][_0x4f424c(0x359)](),'selection':_0x20d37b(_0x59a847)}};this[_0x4f424c(0x2df)][_0x4f424c(0x1e5)](_0x5a4566,this[_0x4f424c(0x153)]);},_0x4d5815)),(this['unitID']=_0x1dbc43,this[_0x2a9e7f(0x2df)]=_0x520d0e,this['_injector']=_0x19c591,this[_0x2a9e7f(0x30c)]=_0x3dca9b,this['_memberService']=_0x40f48d,this[_0x2a9e7f(0x2f3)]=_0x440676,this[_0x2a9e7f(0x20c)]=_0x3e4663,this[_0x2a9e7f(0x122)]=_0x1bf068,this[_0x2a9e7f(0x3a0)]=_0x53bbde);}get['cursorInfo'](){const _0x5803ea=_0x3db800;return this[_0x5803ea(0xd9)]['getValue']();}get['roomMembers'](){const _0x370e00=_0x3db800;return this[_0x370e00(0x399)]['getValue']();}[_0x3db800(0x37d)](){const _0x25613b=_0x3db800;super[_0x25613b(0x37d)](),this[_0x25613b(0xd9)][_0x25613b(0x1fe)](new Map()),this['_cursorInfo$'][_0x25613b(0x24d)](),this[_0x25613b(0x399)][_0x25613b(0x1fe)]([]),this[_0x25613b(0x399)]['complete']();}['init'](){const _0x59c0c9=_0x3db800;this[_0x59c0c9(0x2e1)]||(this['_init']=!0x0,this[_0x59c0c9(0x2df)]['sessionStatus$'][_0x59c0c9(0x138)](_0x3c46fe[_0x59c0c9(0x3cd)](this['dispose$']))[_0x59c0c9(0x2ce)](_0x149b37=>{const _0x38a2cf=_0x59c0c9;_0x149b37===_0x115633[_0x38a2cf(0x218)][_0x38a2cf(0x38c)]?this[_0x38a2cf(0x390)]():this[_0x38a2cf(0x263)]();}),this[_0x59c0c9(0x2df)][_0x59c0c9(0x16f)][_0x59c0c9(0x138)](_0x3c46fe[_0x59c0c9(0x3cd)](this[_0x59c0c9(0x364)]))['subscribe'](_0x5a7766=>{const _0x5a32ad=_0x59c0c9,_0x5d6f46=_0x5a7766[_0x5a32ad(0x3a2)];_0x5d6f46===_0x195720[_0x5a32ad(0x162)][_0x5a32ad(0x2ef)]&&this[_0x5a32ad(0x3c1)](_0x5a7766),_0x5d6f46===_0x195720[_0x5a32ad(0x162)]['USERS_LEAVE']&&this[_0x5a32ad(0x3b6)](_0x5a7766);}),this['disposeWithMe'](this['_commandService'][_0x59c0c9(0x10b)](_0xd377e7=>{const _0x289969=_0x59c0c9,_0x574eff=_0xd377e7[_0x289969(0x1bb)];_0x574eff!=null&&this[_0x289969(0x1e9)]&&_0xd377e7['id']===_0x9d8fba[_0x289969(0x37e)]['id']&&_0x574eff[_0x289969(0x2f4)]===this[_0x289969(0x153)]&&_0x574eff[_0x289969(0x135)]===!0x1&&_0x574eff['ranges']['length']>0x0&&this[_0x289969(0x1e7)](_0x574eff[_0x289969(0x3b4)]);})),this[_0x59c0c9(0x2f3)][_0x59c0c9(0x150)][_0x59c0c9(0x138)](_0x3c46fe['takeUntil'](this[_0x59c0c9(0x364)]))['subscribe'](_0x3fa278=>{const _0x4d9805=_0x59c0c9;if((_0x3fa278==null?void 0x0:_0x3fa278[_0x4d9805(0x153)])!==this[_0x4d9805(0x153)])return;const _0x2899d5={'eventID':_0x195720[_0x4d9805(0x162)][_0x4d9805(0x2ef)],'data':_0x3fa278};this[_0x4d9805(0x3c1)](_0x2899d5);}),this[_0x59c0c9(0x168)](this['_commandService'][_0x59c0c9(0x10b)](_0x2a5c5b=>{const _0x275ad4=_0x59c0c9;if(_0x2a5c5b['params']==null)return;const _0x35d9c1=_0x2a5c5b[_0x275ad4(0x1bb)];if(_0x2a5c5b['id']!==_0x9d8fba[_0x275ad4(0x266)]['id']||_0x35d9c1[_0x275ad4(0x2f4)]!==this[_0x275ad4(0x153)])return;const _0x14ef4e={'id':_0x275ad4(0x30f),'params':_0x35d9c1},_0x4c13d1=this[_0x275ad4(0x20a)];for(const [_0x82c31f,_0xcd60a3]of _0x4c13d1){const _0x25ab41={'id':_0x275ad4(0x30f),'params':{'unitId':this[_0x275ad4(0x153)],'actions':null,'textRanges':_0xcd60a3[_0x275ad4(0x3b4)]}},_0x2a45a4=this[_0x275ad4(0x20c)]['transformMutation'](_0x14ef4e,_0x25ab41,!0x1);if(_0x195720['isTransformMutationFailure'](_0x2a45a4))throw _0x2a45a4['error'];_0x4c13d1['set'](_0x82c31f,{..._0xcd60a3,'ranges':_0x2a45a4[_0x275ad4(0x3b8)]['params'][_0x275ad4(0x12d)]});}queueMicrotask(()=>{const _0x312981=_0x275ad4;this[_0x312981(0xd9)][_0x312981(0x1fe)](_0x4c13d1);});})));}[_0x3db800(0x3c1)](_0x292520){const _0x1b300e=_0x3db800;var _0x1f92fa,_0x31eed0;const {memberID:_0x2b7e8f,selection:_0x42d366}=_0x292520[_0x1b300e(0x21a)],_0x943610=_0x347a9b(_0x42d366),_0x4bcfdb=(_0x31eed0=(_0x1f92fa=this[_0x1b300e(0x221)]['getMember'](this[_0x1b300e(0x153)],_0x2b7e8f))==null?void 0x0:_0x1f92fa[_0x1b300e(0x211)])!=null?_0x31eed0:_0x1b300e(0x388),_0x5db8d6={'color':this['_colorAssignService'][_0x1b300e(0x38e)](_0x2b7e8f),'name':_0x4bcfdb,'ranges':_0x943610},_0x3e4485=this[_0x1b300e(0x20a)];_0x3e4485[_0x1b300e(0x10c)](_0x2b7e8f,_0x5db8d6),this[_0x1b300e(0xd9)][_0x1b300e(0x1fe)](_0x3e4485);}[_0x3db800(0x3b6)](_0x1f7056){const _0x38347e=_0x3db800,{memberID:_0x4472cd}=_0x1f7056['data'],_0x4356f0=this['cursorInfo'];_0x4356f0[_0x38347e(0xd6)](_0x4472cd),this[_0x38347e(0xd9)][_0x38347e(0x1fe)](_0x4356f0);}[_0x3db800(0x390)](){const _0x64bec9=_0x3db800;var _0x10ece4;if(this[_0x64bec9(0x1e9)]=!0x0,((_0x10ece4=this['_univerInstanceService'][_0x64bec9(0x36b)]())==null?void 0x0:_0x10ece4['getUnitId']())!==this['unitID'])return;const _0x12000a=this[_0x64bec9(0xed)][_0x64bec9(0x31c)](_0x9d8fba['DocSelectionManagerService'])[_0x64bec9(0x260)]();Array[_0x64bec9(0x3a1)](_0x12000a)&&_0x12000a[_0x64bec9(0x165)]>0x0&&this[_0x64bec9(0x1e7)](_0x12000a);}['_toggleOffline'](){const _0x1bfce3=_0x3db800;this[_0x1bfce3(0x1e9)]=!0x1;}};_0x17b314=_0x4dd272([_0x1da84f(0x2,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x1da)])),_0x1da84f(0x3,_0x5721e1[_0x3db800(0x181)](_0x2ab1f4)),_0x1da84f(0x4,_0x5721e1[_0x3db800(0x181)](_0x115633[_0x3db800(0x26f)])),_0x1da84f(0x5,_0x5721e1[_0x3db800(0x181)](_0x41a578)),_0x1da84f(0x6,_0x195720[_0x3db800(0x26e)]),_0x1da84f(0x7,_0x5721e1[_0x3db800(0x24f)]),_0x1da84f(0x8,_0x5721e1[_0x3db800(0x2e2)])],_0x17b314);var _0x1d6df8=Object[_0x3db800(0x2db)],_0x2c074e=(_0x58f69d,_0x4d0cc5,_0x453f0d,_0x2aa576)=>{const _0x35d1ff=_0x3db800;for(var _0xba4039=_0x2aa576>0x1?void 0x0:_0x2aa576?_0x1d6df8(_0x4d0cc5,_0x453f0d):_0x4d0cc5,_0x3b8060=_0x58f69d[_0x35d1ff(0x165)]-0x1,_0x5b3b84;_0x3b8060>=0x0;_0x3b8060--)(_0x5b3b84=_0x58f69d[_0x3b8060])&&(_0xba4039=_0x5b3b84(_0xba4039)||_0xba4039);return _0xba4039;},_0x5593a9=(_0x357e3a,_0x36081a)=>(_0x5ebfe9,_0x29297e)=>_0x36081a(_0x5ebfe9,_0x29297e,_0x357e3a);const _0x25eac8=0x12c,_0x11dea0=0x64,_0x1581da=()=>{let _0x483138=[],_0x29fe04=!0x1;return _0x328234=>{const _0x2070af=_0x1e97;_0x483138[_0x2070af(0x126)](_0x328234),_0x29fe04||(_0x29fe04=!0x0,setTimeout(()=>{const _0x58043d=_0x2070af;_0x483138[_0x58043d(0x331)](_0x106c6b=>_0x106c6b()),_0x483138=[],_0x29fe04=!0x1;}));};};let _0x1975a9=class extends _0x5721e1[_0x3db800(0x212)]{constructor(_0x1704c9,_0x16d174,_0x4334e7,_0x18fced,_0x1e7bef,_0x4f97c1,_0x39b515,_0xa5c83a){const _0x313839=_0x3db800;super(),_0x11fc09(this,_0x313839(0x1e9),!0x1),_0x11fc09(this,_0x313839(0x2e1),!0x1),_0x11fc09(this,_0x313839(0xd9),new _0x3c46fe['BehaviorSubject'](new Map())),_0x11fc09(this,_0x313839(0x127),this[_0x313839(0xd9)][_0x313839(0x302)]()),_0x11fc09(this,'_roomMembers$',new _0x3c46fe[(_0x313839(0x346))]([])),_0x11fc09(this,_0x313839(0x385),this['_roomMembers$'][_0x313839(0x138)](_0x3c46fe[_0x313839(0x201)](_0x25eac8))),_0x11fc09(this,_0x313839(0x1e7),_0x5721e1[_0x313839(0x25f)]((_0x42b357,_0x148293)=>{const _0x2e52a7=_0x313839,_0x4c3583={'eventID':_0x195720['CollaborationEvent'][_0x2e52a7(0x2ef)],'data':{'unitID':this[_0x2e52a7(0x153)],'memberID':this[_0x2e52a7(0x2df)][_0x2e52a7(0x359)](),'selection':_0x26196d[_0x2e52a7(0x33f)](_0x42b357,_0x148293[_0x2e52a7(0x182)])}};this[_0x2e52a7(0x2df)][_0x2e52a7(0x1e5)](_0x4c3583,this[_0x2e52a7(0x153)]);},_0x11dea0)),(this['unitID']=_0x1704c9,this[_0x313839(0x2df)]=_0x16d174,this[_0x313839(0xed)]=_0x4334e7,this[_0x313839(0x30c)]=_0x18fced,this[_0x313839(0x221)]=_0x1e7bef,this['_univerInstanceService']=_0x4f97c1,this[_0x313839(0x3a0)]=_0x39b515,this[_0x313839(0x22e)]=_0xa5c83a);}get['cursorInfo'](){const _0x565bbc=_0x3db800;return this[_0x565bbc(0xd9)]['getValue']();}get[_0x3db800(0x104)](){const _0x1cf5da=_0x3db800;return this['_roomMembers$'][_0x1cf5da(0x2f2)]();}[_0x3db800(0x37d)](){const _0x2d86e5=_0x3db800;super[_0x2d86e5(0x37d)](),this[_0x2d86e5(0xd9)][_0x2d86e5(0x1fe)](new Map()),this['_cursorInfo$'][_0x2d86e5(0x24d)](),this['_roomMembers$'][_0x2d86e5(0x1fe)]([]),this[_0x2d86e5(0x399)][_0x2d86e5(0x24d)]();}[_0x3db800(0x3b9)](){const _0x2a3755=_0x3db800;this['_init']||(this[_0x2a3755(0x2e1)]=!0x0,this[_0x2a3755(0x2df)][_0x2a3755(0xe0)][_0x2a3755(0x138)](_0x3c46fe[_0x2a3755(0x3cd)](this[_0x2a3755(0x364)]))['subscribe'](_0x43cbe8=>{const _0x2c33e1=_0x2a3755;_0x43cbe8===_0x115633[_0x2c33e1(0x218)][_0x2c33e1(0x38c)]?this[_0x2c33e1(0x390)]():this['_toggleOffline']();}),this[_0x2a3755(0x2df)]['event$'][_0x2a3755(0x138)](_0x3c46fe[_0x2a3755(0x3cd)](this[_0x2a3755(0x364)]))[_0x2a3755(0x2ce)](_0xd8d314=>{const _0x478eca=_0x2a3755,_0xb8408=_0xd8d314[_0x478eca(0x3a2)];_0xb8408===_0x195720[_0x478eca(0x162)][_0x478eca(0x2ef)]&&this[_0x478eca(0x3c1)](_0xd8d314),_0xb8408===_0x195720[_0x478eca(0x162)][_0x478eca(0x3c5)]&&this[_0x478eca(0x3b6)](_0xd8d314);}),this[_0x2a3755(0x139)](),this[_0x2a3755(0x168)](this[_0x2a3755(0x3a0)][_0x2a3755(0x10b)](_0x41a371=>{const _0x5d2cc8=_0x2a3755;if(this['_online']&&_0x41a371['id']===_0x52d373[_0x5d2cc8(0xfd)]['id']&&_0x41a371['params']['unitId']===this['unitID']){const _0x4742af=_0x41a371[_0x5d2cc8(0x1bb)];this[_0x5d2cc8(0x1e7)](_0x4742af[_0x5d2cc8(0x1b8)],_0x4742af[_0x5d2cc8(0x2c5)][0x0]);}})));}[_0x3db800(0x3c1)](_0x36ed03){const _0x48515d=_0x3db800;var _0x2480ef,_0x2c1fa9;const {memberID:_0x3d8f7b,selection:_0x42f84a}=_0x36ed03['data'],{sheetName:_0x5c399f,range:_0x21c26f}=_0x26196d['deserializeRangeWithSheet'](_0x42f84a),_0x31cd5a={'name':(_0x2c1fa9=(_0x2480ef=this[_0x48515d(0x221)]['getMember'](this['unitID'],_0x3d8f7b))==null?void 0x0:_0x2480ef[_0x48515d(0x211)])!=null?_0x2c1fa9:_0x48515d(0x388),'range':this[_0x48515d(0x3b2)](_0x5c399f,_0x21c26f),'sheetID':_0x5c399f,'color':this[_0x48515d(0x30c)][_0x48515d(0x38e)](_0x3d8f7b),'selection':_0x42f84a},_0x2bc08b=this[_0x48515d(0x20a)];_0x2bc08b['set'](_0x3d8f7b,_0x31cd5a),this[_0x48515d(0xd9)]['next'](_0x2bc08b);}['_onCursorDelete'](_0x5ea511){const _0x576158=_0x3db800,{memberID:_0x2ad3e6}=_0x5ea511[_0x576158(0x21a)],_0x2435fa=this[_0x576158(0x20a)];_0x2435fa[_0x576158(0xd6)](_0x2ad3e6),this[_0x576158(0xd9)]['next'](_0x2435fa);}['_getMergeRange'](_0x2cdeb4,_0x547add){const _0x3cb62c=_0x3db800;var _0x50c01a,_0x144c5f;const _0x3de154=(_0x144c5f=(_0x50c01a=this[_0x3cb62c(0x122)][_0x3cb62c(0x217)](this[_0x3cb62c(0x153)]))==null?void 0x0:_0x50c01a[_0x3cb62c(0x21f)](_0x2cdeb4))==null?void 0x0:_0x144c5f[_0x3cb62c(0x1fd)]();return(_0x3de154==null?void 0x0:_0x3de154[_0x3cb62c(0x1ea)](_0x5d2a83=>_0x5721e1[_0x3cb62c(0x130)]['contains'](_0x5d2a83,_0x547add)))||_0x547add;}['_onRefRangeChange'](){const _0xb632b4=_0x3db800,_0x5adf1d=new _0x5721e1[(_0xb632b4(0x3a9))](),_0xeb78db=_0x1581da(),_0x3566d4=()=>{const _0x5ecb96=_0xb632b4;_0x5adf1d['dispose']();const _0x47e6e5=(_0x3f20a3,_0x5c4742,_0x46847f,_0xa348cb)=>{const _0x3cb0ac=_0x1e97;let _0x454b18=[];switch(_0x3f20a3['id']){case _0x52d373[_0x3cb0ac(0xe2)][_0x3cb0ac(0x1d4)]:{_0x454b18=_0x52d373[_0x3cb0ac(0x2c6)](_0x3f20a3,_0xa348cb);break;}case _0x52d373[_0x3cb0ac(0xe2)]['DeleteRangeMoveUpCommandId']:{_0x454b18=_0x52d373[_0x3cb0ac(0x357)](_0x3f20a3,_0xa348cb);break;}case _0x52d373['EffectRefRangId'][_0x3cb0ac(0x2ac)]:{_0x454b18=_0x52d373[_0x3cb0ac(0x2d0)](_0x3f20a3,_0xa348cb);break;}case _0x52d373['EffectRefRangId'][_0x3cb0ac(0x132)]:{_0x454b18=_0x52d373[_0x3cb0ac(0x184)](_0x3f20a3,_0xa348cb);break;}case _0x52d373[_0x3cb0ac(0xe2)]['InsertRangeMoveRightCommandId']:{_0x454b18=_0x52d373[_0x3cb0ac(0x3cc)](_0x3f20a3,_0xa348cb);break;}case _0x52d373[_0x3cb0ac(0xe2)][_0x3cb0ac(0x107)]:{_0x454b18=_0x52d373[_0x3cb0ac(0x387)](_0x3f20a3,_0xa348cb);break;}case _0x52d373[_0x3cb0ac(0xe2)][_0x3cb0ac(0x19c)]:{_0x454b18=_0x52d373[_0x3cb0ac(0x1f5)](_0x3f20a3,_0xa348cb);break;}case _0x52d373[_0x3cb0ac(0xe2)][_0x3cb0ac(0xd3)]:{_0x454b18=_0x52d373['handleIRemoveCol'](_0x3f20a3,_0xa348cb);break;}case _0x52d373[_0x3cb0ac(0xe2)][_0x3cb0ac(0x21d)]:{_0x454b18=_0x52d373[_0x3cb0ac(0x250)](_0x3f20a3,_0xa348cb);break;}}const _0x1a9628=_0x52d373[_0x3cb0ac(0x319)](_0x454b18,_0xa348cb),_0x3d6e4c=this[_0x3cb0ac(0x20a)][_0x3cb0ac(0x31c)](_0x5c4742);if(_0x3d6e4c&&_0x1a9628){const _0x4d2425={..._0x3d6e4c,'range':_0x1a9628};this[_0x3cb0ac(0x20a)][_0x3cb0ac(0x10c)](_0x5c4742,_0x4d2425),_0xeb78db(()=>{const _0x1c3e34=_0x3cb0ac,_0x327e97=this[_0x1c3e34(0x22e)]['registerRefRange'](_0x1a9628,_0x4f174b=>(_0x327e97[_0x1c3e34(0x37d)](),_0x47e6e5(_0x4f174b,_0x5c4742,_0x46847f,_0x1a9628)));_0x5adf1d[_0x1c3e34(0x1dd)](_0x327e97);});}return{'redos':[],'undos':[]};};this[_0x5ecb96(0x20a)]['forEach']((_0x2865a4,_0x2ce038)=>{const _0x327f29=_0x5ecb96,{range:_0x7eb60b,sheetID:_0x363ec8}=_0x2865a4,_0x3b78d0=this[_0x327f29(0x22e)][_0x327f29(0x19f)](_0x7eb60b,_0x15f1ca=>(_0x3b78d0[_0x327f29(0x37d)](),_0x47e6e5(_0x15f1ca,_0x2ce038,_0x363ec8,_0x7eb60b)));_0x5adf1d[_0x327f29(0x1dd)](_0x3b78d0);});};this[_0xb632b4(0x168)](_0x5721e1['toDisposable'](this['_cursorInfo$'][_0xb632b4(0x2ce)](()=>{_0x3566d4();})));}['_toggleOnline'](){const _0x312b54=_0x3db800;var _0x4bc1e7,_0x1a04ea;if(this[_0x312b54(0x1e9)]=!0x0,((_0x4bc1e7=this[_0x312b54(0x122)]['getFocusedUnit']())==null?void 0x0:_0x4bc1e7['getUnitId']())!==this['unitID'])return;const _0x210c05=(_0x1a04ea=this['_injector'][_0x312b54(0x31c)](_0x52d373[_0x312b54(0x342)])[_0x312b54(0x30d)]())==null?void 0x0:_0x1a04ea[0x0],_0x2cc825=this[_0x312b54(0x122)][_0x312b54(0x18b)](_0x5721e1[_0x312b54(0x1a7)][_0x312b54(0x1a3)])[_0x312b54(0x29c)]();_0x210c05&&_0x2cc825&&this[_0x312b54(0x1e7)](_0x2cc825[_0x312b54(0x161)](),_0x210c05);}[_0x3db800(0x263)](){const _0x1bbb0d=_0x3db800;this[_0x1bbb0d(0x1e9)]=!0x1;}};_0x1975a9=_0x2c074e([_0x5593a9(0x2,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x1da)])),_0x5593a9(0x3,_0x5721e1[_0x3db800(0x181)](_0x2ab1f4)),_0x5593a9(0x4,_0x5721e1['Inject'](_0x115633[_0x3db800(0x26f)])),_0x5593a9(0x5,_0x5721e1[_0x3db800(0x24f)]),_0x5593a9(0x6,_0x5721e1[_0x3db800(0x2e2)]),_0x5593a9(0x7,_0x5721e1[_0x3db800(0x181)](_0x52d373[_0x3db800(0x21e)]))],_0x1975a9);var _0x184d02=Object[_0x3db800(0x2db)],_0x344c9c=(_0x4d6c88,_0x3a76ca,_0x1e17d9,_0x565b7f)=>{for(var _0x22af3e=_0x565b7f>0x1?void 0x0:_0x565b7f?_0x184d02(_0x3a76ca,_0x1e17d9):_0x3a76ca,_0x16c446=_0x4d6c88['length']-0x1,_0x51cda2;_0x16c446>=0x0;_0x16c446--)(_0x51cda2=_0x4d6c88[_0x16c446])&&(_0x22af3e=_0x51cda2(_0x22af3e)||_0x22af3e);return _0x22af3e;},_0x2efdf3=(_0x1a54bb,_0x562bb7)=>(_0x4d7788,_0x14adf1)=>_0x562bb7(_0x4d7788,_0x14adf1,_0x1a54bb);let _0x192c77=class extends _0x5721e1[_0x3db800(0x212)]{constructor(_0x1cb8c9,_0x1acfa0,_0x2ab708){const _0x272f38=_0x3db800;super(),_0x11fc09(this,_0x272f38(0x1a1),new Map()),_0x11fc09(this,'_entityInit$',new _0x3c46fe['Subject']()),(this[_0x272f38(0x122)]=_0x1cb8c9,this[_0x272f38(0xed)]=_0x1acfa0,this[_0x272f38(0xce)]=_0x2ab708,this[_0x272f38(0x2e1)]());}[_0x3db800(0x37d)](){const _0x5c16a0=_0x3db800;super[_0x5c16a0(0x37d)](),this[_0x5c16a0(0x340)][_0x5c16a0(0x24d)](),this[_0x5c16a0(0x1a1)][_0x5c16a0(0x331)](_0x274cdd=>_0x274cdd['dispose']());}[_0x3db800(0x37b)](_0x2f74f1){const _0x4520f4=_0x3db800;return this['_entities'][_0x4520f4(0x101)](_0x2f74f1)?this['_entities'][_0x4520f4(0x31c)](_0x2f74f1)[_0x4520f4(0x127)]:this[_0x4520f4(0x340)][_0x4520f4(0x138)](_0x3c46fe[_0x4520f4(0x155)](_0x2204d1=>_0x2204d1[_0x4520f4(0x153)]===_0x2f74f1),_0x3c46fe[_0x4520f4(0x35b)](_0x12ba5e=>_0x12ba5e[_0x4520f4(0x127)]));}['_init'](){const _0x5da905=_0x3db800;this[_0x5da905(0x122)][_0x5da905(0xfb)](_0x5721e1[_0x5da905(0x1a7)][_0x5da905(0x1a3)])[_0x5da905(0x138)](_0x3c46fe[_0x5da905(0x3cd)](this[_0x5da905(0x364)]))[_0x5da905(0x2ce)](async _0xd4405e=>{const _0x1ce0d3=_0x5da905,_0x19fbe0=_0xd4405e[_0x1ce0d3(0x38a)](),_0x1a4535=await this[_0x1ce0d3(0x323)](_0x19fbe0);this['_entityInit$'][_0x1ce0d3(0x1fe)](_0x1a4535),this['_entities'][_0x1ce0d3(0x10c)](_0x19fbe0,_0x1a4535);}),this[_0x5da905(0x122)][_0x5da905(0xfb)](_0x5721e1[_0x5da905(0x1a7)]['UNIVER_DOC'])[_0x5da905(0x138)](_0x3c46fe['takeUntil'](this['dispose$']))['pipe'](_0x3c46fe[_0x5da905(0x155)](_0x5b6590=>!_0x5b6590[_0x5da905(0x38a)]()[_0x5da905(0x276)]('__')))[_0x5da905(0x2ce)](async _0x274cee=>{const _0x2fd37a=_0x5da905,_0x58cbc2=_0x274cee[_0x2fd37a(0x38a)](),_0x33f3ac=await this[_0x2fd37a(0x31b)](_0x58cbc2);this[_0x2fd37a(0x340)][_0x2fd37a(0x1fe)](_0x33f3ac),this['_entities'][_0x2fd37a(0x10c)](_0x58cbc2,_0x33f3ac);}),_0x3c46fe[_0x5da905(0x18e)](this[_0x5da905(0x122)]['getTypeOfUnitDisposed$'](_0x5721e1[_0x5da905(0x1a7)]['UNIVER_DOC']),this[_0x5da905(0x122)][_0x5da905(0x28c)](_0x5721e1[_0x5da905(0x1a7)]['UNIVER_SHEET']))['pipe'](_0x3c46fe['takeUntil'](this[_0x5da905(0x364)]))[_0x5da905(0x2ce)](_0x4e948f=>{const _0x4ad75f=_0x5da905,_0x54c0f0=_0x4e948f[_0x4ad75f(0x38a)](),_0x4f875d=this[_0x4ad75f(0x1a1)]['get'](_0x54c0f0);_0x4f875d&&(_0x4f875d['dispose'](),this[_0x4ad75f(0x1a1)]['delete'](_0x54c0f0));});}async[_0x3db800(0x323)](_0x225641){const _0x4e466d=_0x3db800,_0x5a8548=await this[_0x4e466d(0xce)][_0x4e466d(0x2ea)](_0x225641),_0x5821c4=this[_0x4e466d(0xed)]['createInstance'](_0x1975a9,_0x225641,_0x5a8548);return _0x5821c4[_0x4e466d(0x3b9)](),_0x5821c4;}async[_0x3db800(0x31b)](_0x348379){const _0x34e7cf=_0x3db800,_0x1325d2=await this[_0x34e7cf(0xce)][_0x34e7cf(0x2ea)](_0x348379),_0x2382f4=this[_0x34e7cf(0xed)][_0x34e7cf(0x290)](_0x17b314,_0x348379,_0x1325d2);return _0x2382f4[_0x34e7cf(0x3b9)](),_0x2382f4;}};_0x192c77=_0x344c9c([_0x2efdf3(0x0,_0x5721e1[_0x3db800(0x24f)]),_0x2efdf3(0x1,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x1da)])),_0x2efdf3(0x2,_0x5721e1[_0x3db800(0x181)](_0x115633[_0x3db800(0x28f)]))],_0x192c77);const _0x13bbfe=0x14,_0x23b09f=0xc8,_0x1c8404=0x4,_0x2238da=0x5;function _0x23c7c3(_0x21d869,_0x3ef75c){const _0x46849a=_0x3db800;let {radius:_0x2a2c70,width:_0x3e190f,height:_0x25aa87}=_0x3ef75c;_0x2a2c70=_0x2a2c70!=null?_0x2a2c70:0x0,_0x3e190f=_0x3e190f!=null?_0x3e190f:0x1e,_0x25aa87=_0x25aa87!=null?_0x25aa87:0x1e;let _0x104fe8=0x0,_0x28d464=0x0,_0x3978e2=0x0;_0x104fe8=_0x28d464=_0x3978e2=Math['min'](_0x2a2c70,_0x3e190f/0x2,_0x25aa87/0x2),_0x21d869[_0x46849a(0x2dc)](),_0x21d869['moveTo'](_0x104fe8,0x0),_0x21d869['lineTo'](_0x3e190f-_0x28d464,0x0),_0x21d869['arc'](_0x3e190f-_0x28d464,_0x28d464,_0x28d464,Math['PI']*0x3/0x2,0x0,!0x1),_0x21d869[_0x46849a(0x30e)](_0x3e190f,_0x25aa87-_0x3978e2),_0x21d869[_0x46849a(0x183)](_0x3e190f-_0x3978e2,_0x25aa87-_0x3978e2,_0x3978e2,0x0,Math['PI']/0x2,!0x1),_0x21d869[_0x46849a(0x30e)](0x0,_0x25aa87),_0x21d869[_0x46849a(0x30e)](0x0,_0x104fe8),_0x21d869[_0x46849a(0x183)](_0x104fe8,_0x104fe8,_0x104fe8,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x21d869[_0x46849a(0x23c)](),_0x3ef75c[_0x46849a(0x147)]&&(_0x21d869[_0x46849a(0x1bd)](),_0x21d869[_0x46849a(0x2e0)]=_0x3ef75c[_0x46849a(0x147)],_0x3ef75c['fillRule']===_0x46849a(0x301)?_0x21d869['fill'](_0x46849a(0x301)):_0x21d869['fill'](),_0x21d869[_0x46849a(0x241)]());}class _0x2ecb3f extends _0x585793[_0x3db800(0x31e)]{constructor(_0x2755a9,_0x5818fa){const _0x2598b7=_0x3db800;super(_0x2755a9,_0x5818fa),_0x11fc09(this,'color'),_0x11fc09(this,_0x2598b7(0x115)),(this['color']=_0x5818fa==null?void 0x0:_0x5818fa[_0x2598b7(0x144)],this[_0x2598b7(0x115)]=_0x5818fa==null?void 0x0:_0x5818fa['text']);}static[_0x3db800(0x240)](_0x4bf4f1,_0x16a2c2){const _0x409f64=_0x3db800,{text:_0x31b684,color:_0x1dc66b}=_0x16a2c2;_0x4bf4f1['save'](),_0x4bf4f1[_0x409f64(0x358)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x90ce90=_0x4bf4f1[_0x409f64(0x395)](_0x31b684)[_0x409f64(0x2f5)],_0x454d41=Math['min'](_0x90ce90+0x2*_0x1c8404,_0x23b09f);_0x23c7c3(_0x4bf4f1,{'height':_0x13bbfe,'radius':0x4,'width':_0x454d41,'fill':_0x1dc66b}),_0x4bf4f1[_0x409f64(0x2e0)]=_0x409f64(0x3be);const _0x163cf2=_0x1c8404,_0xb4aa32=_0x13bbfe-_0x2238da,_0x4c0ed1=_0x23b09f-0x2*_0x1c8404;if(_0x90ce90>_0x4c0ed1){let _0x148f10='',_0x563813=0x0;for(const _0x1dd8ec of _0x31b684){const _0x37ea9a=_0x4bf4f1['measureText'](_0x1dd8ec)[_0x409f64(0x2f5)];if(_0x563813+_0x37ea9a<=_0x4c0ed1-_0x4bf4f1[_0x409f64(0x395)](_0x409f64(0xf0))[_0x409f64(0x2f5)])_0x148f10+=_0x1dd8ec,_0x563813+=_0x37ea9a;else{_0x148f10+=_0x409f64(0xf0);break;}}_0x4bf4f1[_0x409f64(0x23e)](_0x148f10,_0x163cf2,_0xb4aa32);}else _0x4bf4f1[_0x409f64(0x23e)](_0x31b684,_0x163cf2,_0xb4aa32);_0x4bf4f1[_0x409f64(0x241)]();}[_0x3db800(0x171)](_0xd1c756){const _0x196a01=_0x3db800;_0x2ecb3f[_0x196a01(0x240)](_0xd1c756,this);}}const _0x56390a=_0x3db800(0x160),_0x2e46c4=_0x3db800(0x349),_0x2d0d28='collab-rect-range-',_0x5e81ff=0x6,_0x208e40=1.5,_0x3d2216=0x4,_0x3ab1fc=1.5,_0x4964d8=_0x3db800(0x224);class _0x4e8ee4{constructor(_0x4c4dca,_0x5b6e92,_0x20997a,_0x50f51c){const _0x4a970f=_0x3db800;_0x11fc09(this,_0x4a970f(0x334),[]),_0x11fc09(this,_0x4a970f(0x2fd),null),_0x11fc09(this,_0x4a970f(0xda),null),_0x11fc09(this,'_anchorDot',null),_0x11fc09(this,_0x4a970f(0x1d8),null),_0x11fc09(this,_0x4a970f(0x178),null),(this[_0x4a970f(0x10e)]=_0x4c4dca,this[_0x4a970f(0x2e3)]=_0x5b6e92,this[_0x4a970f(0x2b8)]=_0x20997a,this[_0x4a970f(0x332)]=_0x50f51c,this['_render']());}set[_0x3db800(0x32a)](_0x5d3fa3){const _0x5024e0=_0x3db800;_0x5d3fa3?(this[_0x5024e0(0x2d3)]&&this['_anchorDot'][_0x5024e0(0x234)](),this['_textBubble']&&this[_0x5024e0(0xda)]['show']()):(this[_0x5024e0(0x2d3)]&&this[_0x5024e0(0x2d3)][_0x5024e0(0x2b1)](),this[_0x5024e0(0xda)]&&this[_0x5024e0(0xda)]['hide']());}['dispose'](){const _0x3465ab=_0x3db800;for(const _0x447c78 of this[_0x3465ab(0x334)])_0x447c78['dispose']();this[_0x3465ab(0xda)]&&this[_0x3465ab(0xda)]['dispose'](),this['_anchorDot']&&this[_0x3465ab(0x2d3)][_0x3465ab(0x37d)](),this[_0x3465ab(0x2fd)]&&this[_0x3465ab(0x2fd)][_0x3465ab(0x37d)](),this[_0x3465ab(0x178)]&&this[_0x3465ab(0x178)]();}[_0x3db800(0x10d)](){const _0x34d012=_0x3db800;var _0x5b6cbb;const {_docSkeleton:_0xe60411,_document:_0x18710e}=this,{color:_0x2f44b1,name:_0x4561f4,ranges:_0x255ad1}=this[_0x34d012(0x10e)],_0x37472e=_0x18710e[_0x34d012(0x166)](),{docsLeft:_0x15611a,docsTop:_0x12f0fa}=_0x37472e,_0x5508c4=new _0x45f825['NodePositionConvertToCursor'](_0x37472e,_0xe60411);for(const {startOffset:_0x5a9c6e,endOffset:_0x481f76,rangeType:_0x4da681,segmentId:_0x1b4349,segmentPage:_0x5f2905,collapsed:_0x3b9bd9,isActive:_0x565fd4}of _0x255ad1){const _0x3be57d=_0xe60411[_0x34d012(0x251)](_0x5a9c6e,!0x0,_0x1b4349,_0x5f2905);let _0x1673c7=_0xe60411[_0x34d012(0x251)](_0x481f76,!0x0,_0x1b4349,_0x5f2905);if(_0x1673c7==null&&(_0x1673c7=_0xe60411['findNodePositionByCharIndex'](_0x481f76-0x1,!0x1,_0x1b4349,_0x5f2905)),_0x565fd4){const {contentBoxPointGroup:_0x58eca2}=_0x5508c4[_0x34d012(0x230)](_0x1673c7,_0x1673c7);if(_0x58eca2['length']===0x0)continue;this[_0x34d012(0x3bc)](_0x2f44b1,_0x58eca2,_0x15611a,_0x12f0fa,_0x4561f4),this[_0x34d012(0x178)]=this[_0x34d012(0x3b7)]();}if(_0x3be57d&&_0x1673c7){if(_0x4da681===_0x5721e1['DOC_RANGE_TYPE'][_0x34d012(0x123)]){const _0x3aec58=new _0x45f825[(_0x34d012(0x1e3))](_0x37472e,_0xe60411),{pointGroup:_0xc48a1a}=(_0x5b6cbb=_0x3aec58[_0x34d012(0x230)](_0x3be57d,_0x1673c7))!=null?_0x5b6cbb:{};if(_0xc48a1a==null||_0xc48a1a['length']===0x0)continue;this[_0x34d012(0x2bd)](_0x2f44b1,_0xc48a1a,_0x15611a,_0x12f0fa);}else{if(!_0x3b9bd9){const {borderBoxPointGroup:_0x5d2306}=_0x5508c4[_0x34d012(0x230)](_0x3be57d,_0x1673c7);if(_0x5d2306[_0x34d012(0x165)]===0x0)continue;this[_0x34d012(0x354)](_0x2f44b1,_0x5d2306,_0x15611a,_0x12f0fa);}}}}}[_0x3db800(0x3bc)](_0x46c0e0,_0x45cf13,_0x2aed44,_0x5bcfef,_0x175192){const _0x1200b0=_0x3db800,_0xfea043=this['_getAnchorBounding'](_0x45cf13),{left:_0x11cda9,top:_0x38d9b0,height:_0x1fc44a}=_0xfea043,_0x25f85a=this[_0x1200b0(0x2ec)](),_0x1bbe84=_0x3ab1fc/_0x25f85a,_0x36d459=new _0x585793[(_0x1200b0(0x1ce))](_0x56390a+_0x5721e1[_0x1200b0(0x336)](_0x5e81ff),{'left':_0x11cda9+_0x2aed44-_0x1bbe84,'top':_0x38d9b0+_0x5bcfef,'height':_0x1fc44a,'width':_0x208e40,'fill':_0x46c0e0||_0x585793[_0x1200b0(0x1a4)](_0x5721e1[_0x1200b0(0x39f)][_0x1200b0(0x313)],0x0),'strokeWidth':_0x1bbe84,'stroke':_0x4964d8,'evented':!0x0});this[_0x1200b0(0x2fd)]=_0x36d459,this[_0x1200b0(0x2e3)][_0x1200b0(0x1cb)](_0x36d459,_0x45f825[_0x1200b0(0x1ff)]);const _0x635cb2=new _0x585793[(_0x1200b0(0x1ce))](_0x56390a+_0x5721e1[_0x1200b0(0x336)](_0x5e81ff),{'left':_0x11cda9+_0x2aed44-_0x1bbe84,'top':_0x38d9b0+_0x5bcfef-_0x3d2216/0x2,'height':_0x3d2216,'width':_0x3d2216,'fill':_0x46c0e0||_0x585793[_0x1200b0(0x1a4)](_0x5721e1[_0x1200b0(0x39f)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x46c0e0||_0x585793['getColor'](_0x5721e1[_0x1200b0(0x39f)]['black'],0x0),'evented':!0x1});this[_0x1200b0(0x2d3)]=_0x635cb2,this['_scene'][_0x1200b0(0x1cb)](_0x635cb2,_0x45f825[_0x1200b0(0x1ff)]);const _0x3b5636=new _0x2ecb3f(_0x56390a+_0x5721e1['generateRandomId'](_0x5e81ff),{'left':_0x11cda9+_0x2aed44-_0x1bbe84,'top':_0x38d9b0+_0x5bcfef-_0x13bbfe,'text':_0x175192,'color':_0x46c0e0});this[_0x1200b0(0xda)]=_0x3b5636,this['_scene'][_0x1200b0(0x1cb)](_0x3b5636,_0x45f825[_0x1200b0(0x1ff)]),this['_hover']=!0x1;}['_handleHover'](){const _0xbeee69=_0x3db800,_0x166c05=this[_0xbeee69(0x2fd)][_0xbeee69(0x2ca)][_0xbeee69(0x288)](()=>{const _0x1506db=_0xbeee69;this[_0x1506db(0x32a)]=!0x0;}),_0x4d039f=this[_0xbeee69(0x2fd)][_0xbeee69(0x146)][_0xbeee69(0x288)](()=>{const _0x174f89=_0xbeee69;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x174f89(0x1d8)]=setTimeout(()=>{const _0x5e7c7c=_0x174f89;this[_0x5e7c7c(0x32a)]=!0x1;},0x7d0);});return()=>{const _0x3492b3=_0xbeee69;_0x166c05[_0x3492b3(0x1ee)](),_0x4d039f[_0x3492b3(0x1ee)]();};}[_0x3db800(0x354)](_0x3d2a6c,_0x36e702,_0xec3806,_0x4e6873){const _0x1fcce3=_0x3db800,_0x7bd8b3=new _0x5721e1[(_0x1fcce3(0x233))](_0x3d2a6c)[_0x1fcce3(0x38f)](0.2)[_0x1fcce3(0x2c8)](),_0x57cc10=new _0x585793[(_0x1fcce3(0x1b0))](_0x2e46c4+_0x5721e1[_0x1fcce3(0x336)](_0x5e81ff),{'pointsGroup':_0x36e702,'fill':_0x7bd8b3||_0x585793[_0x1fcce3(0x1a4)](_0x5721e1['COLORS']['black'],0.2),'left':_0xec3806,'top':_0x4e6873,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1fcce3(0x334)][_0x1fcce3(0x126)](_0x57cc10),this[_0x1fcce3(0x2e3)][_0x1fcce3(0x1cb)](_0x57cc10,_0x45f825[_0x1fcce3(0x1ff)]);}[_0x3db800(0x2bd)](_0x4e66ae,_0x1ef41e,_0x327e99,_0x1154b8){const _0x22a547=_0x3db800,_0x27bdba=new _0x5721e1[(_0x22a547(0x233))](_0x4e66ae)[_0x22a547(0x38f)](0.2)[_0x22a547(0x2c8)](),_0x4ad661=new _0x585793[(_0x22a547(0x1b0))](_0x2d0d28+_0x5721e1[_0x22a547(0x336)](_0x5e81ff),{'pointsGroup':_0x1ef41e,'fill':_0x27bdba||_0x585793[_0x22a547(0x1a4)](_0x5721e1[_0x22a547(0x39f)][_0x22a547(0x313)],0.2),'left':_0x327e99,'top':_0x1154b8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x22a547(0x334)]['push'](_0x4ad661),this[_0x22a547(0x2e3)][_0x22a547(0x1cb)](_0x4ad661,_0x45f825[_0x22a547(0x1ff)]);}[_0x3db800(0x148)](_0x51a384){const _0x103db7=_0x51a384[0x0],_0xbd9f5d=_0x103db7[0x0],_0x134770=_0x103db7[0x2],{x:_0x44a4a1,y:_0x44eaa8}=_0xbd9f5d,{x:_0x1572bf,y:_0x16a5e1}=_0x134770;return{'left':_0x44a4a1,'top':_0x44eaa8,'width':_0x1572bf-_0x44a4a1,'height':_0x16a5e1-_0x44eaa8};}[_0x3db800(0x2ec)](){const _0x597141=_0x3db800,{scaleX:_0x4300b5,scaleY:_0x4d5f97}=this['_scene'][_0x597141(0x2a5)]();return Math['max'](_0x4300b5,_0x4d5f97);}}var _0x50487b=Object[_0x3db800(0x2db)],_0x318f0b=(_0x49c5ad,_0x4c29b9,_0x4933be,_0x3c0b46)=>{const _0x5797d1=_0x3db800;for(var _0x27c55c=_0x3c0b46>0x1?void 0x0:_0x3c0b46?_0x50487b(_0x4c29b9,_0x4933be):_0x4c29b9,_0x3b3a9a=_0x49c5ad[_0x5797d1(0x165)]-0x1,_0x1c3733;_0x3b3a9a>=0x0;_0x3b3a9a--)(_0x1c3733=_0x49c5ad[_0x3b3a9a])&&(_0x27c55c=_0x1c3733(_0x27c55c)||_0x27c55c);return _0x27c55c;},_0x29441e=(_0x634ee5,_0x4b7aa7)=>(_0x4efbc9,_0x273293)=>_0x4b7aa7(_0x4efbc9,_0x273293,_0x634ee5);let _0x1be4c4=class extends _0x5721e1['RxDisposable']{constructor(_0x1ee370,_0x4fc7b3,_0x54bf45,_0x45e642,_0x56904d){const _0x20e06f=_0x3db800;super(),_0x11fc09(this,_0x20e06f(0x137),[]),_0x11fc09(this,_0x20e06f(0x2a9),[]),(this[_0x20e06f(0x247)]=_0x1ee370,this[_0x20e06f(0xe7)]=_0x4fc7b3,this[_0x20e06f(0x1a9)]=_0x54bf45,this[_0x20e06f(0x3a0)]=_0x45e642,this[_0x20e06f(0x12b)]=_0x56904d,this[_0x20e06f(0x2e1)]());}[_0x3db800(0x2e1)](){const _0x54cb7d=_0x3db800,_0x55d3b8=this[_0x54cb7d(0x247)][_0x54cb7d(0x2f4)],_0x55d4af=this[_0x54cb7d(0xe7)];this[_0x54cb7d(0x168)](_0x3c46fe['combineLatest']([this[_0x54cb7d(0x1a9)][_0x54cb7d(0x37b)](_0x55d3b8),this[_0x54cb7d(0x12b)][_0x54cb7d(0x328)]])[_0x54cb7d(0x138)](_0x3951af[_0x54cb7d(0x209)](([_0x5bc271,_0x3376e6])=>({'skeleton':_0x55d4af[_0x54cb7d(0x1cc)](),'cursors':[..._0x5bc271[_0x54cb7d(0x39e)]()][_0x54cb7d(0x199)](_0x33ad4d=>({..._0x33ad4d,'color':this[_0x54cb7d(0x12b)][_0x54cb7d(0x11e)](_0x33ad4d[_0x54cb7d(0x144)])}))})))[_0x54cb7d(0x2ce)](_0x45a66b=>{const _0x311237=_0x54cb7d;if(this[_0x311237(0x2af)](),_0x45a66b){const {skeleton:_0x33a19c,cursors:_0x10114f}=_0x45a66b;this[_0x311237(0x27f)](_0x33a19c,_0x10114f);}})),this[_0x54cb7d(0x121)](),this[_0x54cb7d(0x248)]();}[_0x3db800(0x27f)](_0x35a2b5,_0x1926ab){const _0x1a3402=_0x3db800,{scene:_0x407c03,mainComponent:_0x531260}=this[_0x1a3402(0x247)],_0x2e32a9=_0x1926ab[_0x1a3402(0x209)](_0x59c8da=>new _0x4e8ee4(_0x59c8da,_0x407c03,_0x35a2b5,_0x531260));this[_0x1a3402(0x137)]=_0x2e32a9,this[_0x1a3402(0x2a9)]=_0x1926ab;}[_0x3db800(0x1bc)](){const _0x528b78=_0x3db800;this[_0x528b78(0x2af)]();const {scene:_0x25dd6c,mainComponent:_0x28261f}=this[_0x528b78(0x247)],_0x48b8fb=this[_0x528b78(0xe7)][_0x528b78(0x1cc)](),_0x16e96a=this['_cursors'][_0x528b78(0x209)](_0x29c9bc=>new _0x4e8ee4(_0x29c9bc,_0x25dd6c,_0x48b8fb,_0x28261f));this[_0x528b78(0x137)]=_0x16e96a;}[_0x3db800(0x2af)](){const _0x51c834=_0x3db800;this[_0x51c834(0x137)][_0x51c834(0x331)](_0x16369d=>_0x16369d[_0x51c834(0x37d)]()),this[_0x51c834(0x137)]=[];}[_0x3db800(0x248)](){const _0x1e4a03=_0x3db800,_0x2b0d42=[_0x45f825[_0x1e4a03(0x17b)]['id']];this[_0x1e4a03(0x168)](this[_0x1e4a03(0x3a0)][_0x1e4a03(0x10b)](_0x3cd02f=>{const _0x37f90f=_0x1e4a03;_0x2b0d42['includes'](_0x3cd02f['id'])&&_0x3cd02f['params'][_0x37f90f(0x2f4)]===this[_0x37f90f(0x247)][_0x37f90f(0x2f4)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x5d631b=_0x3db800;this['disposeWithMe'](_0x5721e1[_0x5d631b(0x3a5)](this['_context'][_0x5d631b(0x367)][_0x5d631b(0x292)])[_0x5d631b(0x138)](_0x3951af[_0x5d631b(0x155)](_0x19a786=>_0x19a786[_0x5d631b(0x210)]===_0x585793[_0x5d631b(0x389)][_0x5d631b(0x382)]),_0x3951af[_0x5d631b(0x157)](0x10))[_0x5d631b(0x2ce)](()=>{const _0xd8dcbf=_0x5d631b;this[_0xd8dcbf(0x1bc)]();}));}};_0x1be4c4=_0x318f0b([_0x29441e(0x1,_0x5721e1[_0x3db800(0x181)](_0x9d8fba[_0x3db800(0x109)])),_0x29441e(0x2,_0x5721e1['Inject'](_0x192c77)),_0x29441e(0x3,_0x5721e1[_0x3db800(0x2e2)]),_0x29441e(0x4,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x15a)]))],_0x1be4c4);const _0x145431=0x1,_0x543250=1.5;class _0x3d98fb extends _0x585793[_0x3db800(0x31e)]{constructor(_0x572efa,_0x330ed5){const _0x2844f7=_0x3db800;super(_0x572efa,_0x330ed5),_0x11fc09(this,_0x2844f7(0x21c)),_0x11fc09(this,_0x2844f7(0x1dc),!0x1),_0x11fc09(this,_0x2844f7(0x238)),_0x11fc09(this,'_name',''),_0x11fc09(this,_0x2844f7(0x112),_0x2844f7(0x1b9)),_0x11fc09(this,_0x2844f7(0x2bb)),(_0x330ed5&&this['setShapeProps'](_0x330ed5),this[_0x2844f7(0x2ca)]['subscribeEvent'](()=>this[_0x2844f7(0x2d5)]({'hovered':!0x0})),this[_0x2844f7(0x146)][_0x2844f7(0x288)](()=>this[_0x2844f7(0x2d5)]({'hovered':!0x1})));}[_0x3db800(0x2d5)](_0x57cc4e){const _0x4093fd=_0x3db800;var _0x48cf40,_0x45a4df,_0x205dd0,_0x1ddd3d,_0x262d46,_0x271c4a;this[_0x4093fd(0x21c)]=(_0x48cf40=_0x57cc4e['color'])!=null?_0x48cf40:this['_color'],this['_hovered']=(_0x45a4df=_0x57cc4e[_0x4093fd(0x1ab)])!=null?_0x45a4df:this['_hovered'],this[_0x4093fd(0x238)]=(_0x205dd0=_0x57cc4e[_0x4093fd(0x182)])!=null?_0x205dd0:this[_0x4093fd(0x238)],this[_0x4093fd(0x2c9)]=(_0x1ddd3d=_0x57cc4e[_0x4093fd(0x211)])!=null?_0x1ddd3d:this[_0x4093fd(0x2c9)],this[_0x4093fd(0x112)]=(_0x262d46=_0x57cc4e[_0x4093fd(0x2e5)])!=null?_0x262d46:this[_0x4093fd(0x112)],this[_0x4093fd(0x2bb)]=(_0x271c4a=_0x57cc4e[_0x4093fd(0x24c)])!=null?_0x271c4a:this[_0x4093fd(0x2bb)],this[_0x4093fd(0x272)]({'width':_0x57cc4e[_0x4093fd(0x2f5)],'height':_0x57cc4e[_0x4093fd(0x380)]});}['onMouseMove'](_0x28b86a){const _0x385ff5=_0x3db800,{row:_0x32019e,column:_0x31b2af}=_0x28b86a;if(_0x32019e>=this[_0x385ff5(0x238)][_0x385ff5(0x32e)]&&_0x32019e<=this['_range']['endRow']&&_0x31b2af>=this[_0x385ff5(0x238)][_0x385ff5(0x30a)]&&_0x31b2af<=this['_range']['endColumn']){this[_0x385ff5(0x2d5)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}['triggerDblclick'](_0x4efe4e){return!0x1;}[_0x3db800(0x171)](_0x1345f2){const _0x358da0=_0x3db800;_0x585793[_0x358da0(0x1ce)][_0x358da0(0x240)](_0x1345f2,{'width':this[_0x358da0(0x2f5)],'height':this['height'],'strokeWidth':_0x543250,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x358da0(0x2bb)]}),this['_hovered']&&(_0x1345f2['save'](),_0x1345f2['transform'](0x1,0x0,0x0,0x1,this[_0x358da0(0x2f5)],this[_0x358da0(0x112)]==='bottom'?0x0:-_0x13bbfe),_0x2ecb3f[_0x358da0(0x240)](_0x1345f2,{'text':this[_0x358da0(0x2c9)],'color':this[_0x358da0(0x21c)]}),_0x1345f2[_0x358da0(0x241)]());}}var _0x5693f2=Object['getOwnPropertyDescriptor'],_0x260d7b=(_0x4592a9,_0x3df972,_0x388ecd,_0x406caf)=>{const _0x471933=_0x3db800;for(var _0x2b7840=_0x406caf>0x1?void 0x0:_0x406caf?_0x5693f2(_0x3df972,_0x388ecd):_0x3df972,_0x53c7d2=_0x4592a9[_0x471933(0x165)]-0x1,_0x45b011;_0x53c7d2>=0x0;_0x53c7d2--)(_0x45b011=_0x4592a9[_0x53c7d2])&&(_0x2b7840=_0x45b011(_0x2b7840)||_0x2b7840);return _0x2b7840;},_0x48fe8b=(_0x33a411,_0x4f9888)=>(_0x4e74cf,_0x83782b)=>_0x4f9888(_0x4e74cf,_0x83782b,_0x33a411);const _0x8b30c2=0x1389;let _0x3eec6b=class extends _0x5721e1[_0x3db800(0x212)]{constructor(_0x5d7eb6,_0x50e818,_0x2d738b,_0x2fb1bb){const _0x345803=_0x3db800;super(),_0x11fc09(this,'_cursors',new Set()),_0x11fc09(this,_0x345803(0x303),null),(this['_context']=_0x5d7eb6,this[_0x345803(0x229)]=_0x50e818,this[_0x345803(0x1a9)]=_0x2d738b,this[_0x345803(0x12b)]=_0x2fb1bb,this[_0x345803(0x2e1)]());}[_0x3db800(0x2e1)](){const _0x19f2d1=_0x3db800;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x19f2d1(0x138)](_0x3951af['takeUntil'](this['dispose$']),_0x3951af[_0x19f2d1(0x35b)](_0x350ea2=>{const _0x5136ac=_0x19f2d1;if(_0x350ea2){const _0x530ada=_0x350ea2[_0x5136ac(0x29e)];return _0x3c46fe[_0x5136ac(0x33a)](this['_collabCursorController'][_0x5136ac(0x37b)](this[_0x5136ac(0x247)][_0x5136ac(0x2f4)]),this[_0x5136ac(0x12b)][_0x5136ac(0x328)])['pipe'](_0x3951af['map'](([_0x59e06c,_0x44d223])=>{const _0x325d74=_0x5136ac,_0x45b4ae=new Map();return _0x59e06c[_0x325d74(0x331)]((_0x6e7b35,_0x52d75d)=>{const _0x59a09e=_0x325d74;if(_0x6e7b35[_0x59a09e(0x27c)]===_0x530ada){const _0x5d0cce={..._0x6e7b35};_0x5d0cce[_0x59a09e(0x144)]=this['_themeService'][_0x59a09e(0x11e)](_0x6e7b35[_0x59a09e(0x144)]),_0x45b4ae[_0x59a09e(0x10c)](_0x52d75d,_0x5d0cce);}}),{'skeleton':_0x350ea2,'cursors':_0x45b4ae};}));}return _0x3c46fe['of']({'skeleton':null,'cursors':new Map()});}))[_0x19f2d1(0x2ce)](({skeleton:_0x3fd764,cursors:_0x50883b})=>{const _0x4265a0=_0x19f2d1;this['_removeCollabCursors'](),_0x3fd764&&this[_0x4265a0(0x27f)](_0x3fd764,_0x50883b);}),this[_0x19f2d1(0x229)][_0x19f2d1(0x295)][_0x19f2d1(0x2ce)](_0x1db9ce=>{const _0x1103e3=_0x19f2d1;if(_0x1db9ce==null)return;const {skeleton:_0x14a2dc}=_0x1db9ce,{scene:_0x4de2d8}=this[_0x1103e3(0x247)];_0x4de2d8[_0x1103e3(0x249)][_0x1103e3(0x288)](_0x5721e1[_0x1103e3(0x25f)](_0x302b8d=>{const _0x5c5f7f=_0x1103e3;var _0x2ff501,_0x2a69ec;const {offsetX:_0x1cd6ca,offsetY:_0x397048}=_0x302b8d,{x:_0x27bfd7,y:_0xe43a29}=_0x4de2d8[_0x5c5f7f(0x15c)](_0x585793[_0x5c5f7f(0x220)][_0x5c5f7f(0x393)]([_0x1cd6ca,_0x397048])),{scaleX:_0x1ed462,scaleY:_0x5afb83}=_0x4de2d8['getAncestorScale'](),_0xe1e24d=_0x4de2d8[_0x5c5f7f(0x2f6)](_0x585793[_0x5c5f7f(0x1d5)][_0x5c5f7f(0x3c2)]),_0x25f4c6=_0x4de2d8[_0x5c5f7f(0x1a6)](_0x585793[_0x5c5f7f(0x220)][_0x5c5f7f(0x393)]([_0x27bfd7,_0xe43a29]),_0xe1e24d),_0x12328c=_0x14a2dc[_0x5c5f7f(0x294)](_0x1cd6ca,_0x397048,_0x1ed462,_0x5afb83,_0x25f4c6);((_0x2ff501=this['_lastPointer'])==null?void 0x0:_0x2ff501[_0x5c5f7f(0x15f)])===_0x12328c[_0x5c5f7f(0x15f)]&&((_0x2a69ec=this[_0x5c5f7f(0x303)])==null?void 0x0:_0x2a69ec['row'])===_0x12328c[_0x5c5f7f(0xf9)]||this['_cursors'][_0x5c5f7f(0x331)](_0x3eaf4b=>{const _0x588b94=_0x5c5f7f;_0x3eaf4b[_0x588b94(0x2dd)](_0x12328c);});},0x64));});}['_updateCollabCursors'](_0x375e99,_0x23d07a){const _0x62fdef=_0x3db800;var _0x511a08;const _0x4f1686=(_0x511a08=this['_sheetSkeletonManagerService'][_0x62fdef(0x344)]())==null?void 0x0:_0x511a08[_0x62fdef(0x34e)];if(!_0x4f1686)return;const _0x1c2e84=this[_0x62fdef(0x10a)]();if(!_0x1c2e84)return;this[_0x62fdef(0x2a9)][_0x62fdef(0x331)](_0x3dfb21=>{const _0x1074a4=_0x62fdef;_0x3dfb21[_0x1074a4(0x128)]();});const {scene:_0x439973}=_0x1c2e84,_0x4809d0=_0x1d1dfe(Array[_0x62fdef(0x2e8)](_0x23d07a[_0x62fdef(0x39e)]()))['map'](_0x49b377=>{const _0xcdf3d0=_0x62fdef,{color:_0x35a2fb,range:_0x424f11,name:_0x3d0001,selection:_0x28d3bb,sheetID:_0x3e9052}=_0x49b377,{startColumn:_0x1a0b7c,startRow:_0x5eda4a,endColumn:_0x34a4f2,endRow:_0xe983f2}=_0x424f11,_0x374d5f=_0x131e0d[_0xcdf3d0(0xdc)](_0x5eda4a,_0x1a0b7c,_0x439973,_0x4f1686),_0x45717a=_0x131e0d['getCoordByCell'](_0xe983f2,_0x34a4f2,_0x439973,_0x4f1686),{columnHeaderHeightAndMarginTop:_0x5b36de}=_0x4f1686,{startX:_0x318b6f,startY:_0x411df9}=_0x374d5f,{endX:_0x598fb4,endY:_0x10e42a}=_0x45717a,_0x56b36c=_0x598fb4-_0x318b6f,_0x429e40=_0x10e42a-_0x411df9,_0x3f0fbb={'labelPosition':_0x411df9-_0x5b36de>=_0x13bbfe?'top':_0xcdf3d0(0x223),'sheetID':_0x3e9052,'range':_0x424f11,'color':_0x35a2fb,'name':_0x3d0001,'selection':_0x28d3bb,'left':_0x318b6f,'top':_0x411df9,'width':_0x56b36c,'height':_0x429e40,'evented':!0x1,'zIndex':_0x8b30c2};return new _0x3d98fb(_0x3d0001,_0x3f0fbb);});_0x439973[_0x62fdef(0x2e7)](_0x4809d0,_0x145431),this[_0x62fdef(0x2a9)]=new Set(_0x4809d0);}[_0x3db800(0x2af)](){const _0x21ad7c=_0x3db800;var _0x24afdb;(_0x24afdb=this[_0x21ad7c(0x2a9)])==null||_0x24afdb[_0x21ad7c(0x331)](_0x2a1672=>_0x2a1672['dispose']());}['_getSheetObject'](){const _0x4f457d=_0x3db800;return _0x131e0d[_0x4f457d(0x16a)](this[_0x4f457d(0x247)]['unit'],this[_0x4f457d(0x247)]);}};_0x3eec6b=_0x260d7b([_0x48fe8b(0x1,_0x5721e1[_0x3db800(0x181)](_0x131e0d[_0x3db800(0x18f)])),_0x48fe8b(0x2,_0x5721e1[_0x3db800(0x181)](_0x192c77)),_0x48fe8b(0x3,_0x5721e1[_0x3db800(0x181)](_0x5721e1['ThemeService']))],_0x3eec6b);function _0x1d1dfe(_0xf5099e){const _0x3b2277=_0x3db800,_0x5a7d8e=new Map();return _0xf5099e[_0x3b2277(0x331)](_0x1b823c=>{const _0x1d8b92=_0x3b2277;if(_0x5a7d8e[_0x1d8b92(0x101)](_0x1b823c[_0x1d8b92(0x239)])){const _0x50ff82=_0x5a7d8e[_0x1d8b92(0x31c)](_0x1b823c[_0x1d8b92(0x239)]);_0x50ff82[_0x1d8b92(0x211)]+=',\x20'+_0x1b823c[_0x1d8b92(0x211)];}else _0x5a7d8e[_0x1d8b92(0x10c)](_0x1b823c[_0x1d8b92(0x239)],_0x1b823c);}),Array[_0x3b2277(0x2e8)](_0x5a7d8e[_0x3b2277(0x39e)]());}var _0x3e2b75=Object[_0x3db800(0x2db)],_0x391214=(_0xfaabad,_0x7fa4c4,_0x46e4b8,_0x3df677)=>{for(var _0x5852ed=_0x3df677>0x1?void 0x0:_0x3df677?_0x3e2b75(_0x7fa4c4,_0x46e4b8):_0x7fa4c4,_0x7bf749=_0xfaabad['length']-0x1,_0x5dbb44;_0x7bf749>=0x0;_0x7bf749--)(_0x5dbb44=_0xfaabad[_0x7bf749])&&(_0x5852ed=_0x5dbb44(_0x5852ed)||_0x5852ed);return _0x5852ed;},_0x51286c=(_0xe55239,_0xf578ca)=>(_0x162986,_0x231bac)=>_0xf578ca(_0x162986,_0x231bac,_0xe55239);let _0xa84181=class extends _0x5721e1[_0x3db800(0x27b)]{constructor(_0x4b31c9,_0x593446,_0x4edfdf,_0x56b9c4,_0x449c4f,_0xaf6ada){const _0x554840=_0x3db800;super(),this['_beforeCloseService']=_0x4b31c9,this[_0x554840(0x32f)]=_0x593446,this[_0x554840(0x322)]=_0x4edfdf,this[_0x554840(0x2b7)]=_0x56b9c4,this[_0x554840(0x34b)]=_0x449c4f,this['_localeService']=_0xaf6ada,this[_0x554840(0x267)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0xa1bc25=_0x3db800;this[_0xa1bc25(0x168)](this[_0xa1bc25(0x1d0)][_0xa1bc25(0x274)](()=>{const _0x1f6192=_0xa1bc25;if(this[_0x1f6192(0x32f)][_0x1f6192(0x2c0)][_0x1f6192(0x392)])return this[_0x1f6192(0x1fb)]['t'](_0x1f6192(0x17d));}));}[_0x3db800(0x1d7)](){const _0x1d7af3=_0x3db800;this[_0x1d7af3(0x168)](this['_collaborationUIEventService']['event$']['subscribe'](_0xd89c0d=>{const _0x49dc5b=_0x1d7af3;_0xd89c0d['id']===_0x115633[_0x49dc5b(0x1ca)][_0x49dc5b(0x298)]&&this[_0x49dc5b(0x2b7)][_0x49dc5b(0x2b1)]({'type':_0x31d403[_0x49dc5b(0x3ca)][_0x49dc5b(0x1de)],'content':this[_0x49dc5b(0x1fb)]['t']('collaboration.single-unit.warning')}),_0xd89c0d['id']===_0x115633[_0x49dc5b(0x1ca)][_0x49dc5b(0x140)]&&this['_messageService'][_0x49dc5b(0x2b1)]({'type':_0x31d403[_0x49dc5b(0x3ca)]['Warning'],'content':this[_0x49dc5b(0x1fb)]['t'](_0x49dc5b(0x195))}),_0xd89c0d['id']===_0x115633[_0x49dc5b(0x1ca)][_0x49dc5b(0x3ab)]&&this[_0x49dc5b(0x34b)][_0x49dc5b(0x2b1)]({'title':this[_0x49dc5b(0x1fb)]['t'](_0x49dc5b(0x371)),'content':this[_0x49dc5b(0x1fb)]['t'](_0x49dc5b(0x2e9)),'type':_0x49dc5b(0x3ce),'duration':0x0}),_0xd89c0d['id']===_0x115633[_0x49dc5b(0x1ca)][_0x49dc5b(0x1c9)]&&this[_0x49dc5b(0x2b7)]['show']({'type':_0x31d403['MessageType']['Error'],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0xd89c0d['data']+')'}),_0xd89c0d['id']===_0x115633[_0x49dc5b(0x1ca)]['JOIN_ROOM_FAILED']&&this[_0x49dc5b(0x2b7)][_0x49dc5b(0x2b1)]({'type':_0x31d403['MessageType']['Warning'],'content':this[_0x49dc5b(0x1fb)]['t'](_0xd89c0d[_0x49dc5b(0x21a)]||'')}),_0xd89c0d['id']===_0x115633[_0x49dc5b(0x1ca)][_0x49dc5b(0x3af)]&&this[_0x49dc5b(0x2b7)][_0x49dc5b(0x2b1)]({'type':_0x31d403[_0x49dc5b(0x3ca)]['Warning'],'content':this[_0x49dc5b(0x1fb)]['t']('session.will-retry')}),_0xd89c0d['id']===_0x115633['CollaborationUIEventId'][_0x49dc5b(0x103)]&&this['_messageService'][_0x49dc5b(0x2b1)]({'type':_0x31d403[_0x49dc5b(0x3ca)]['Error'],'content':this[_0x49dc5b(0x1fb)]['t'](_0x49dc5b(0xf8))}),_0xd89c0d['id']===_0x115633[_0x49dc5b(0x1ca)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x49dc5b(0x2b7)][_0x49dc5b(0x2b1)]({'type':_0x31d403[_0x49dc5b(0x3ca)]['Error'],'content':this[_0x49dc5b(0x1fb)]['t'](_0x49dc5b(0x1a5))});}));}};_0xa84181=_0x391214([_0x51286c(0x0,_0xa1d841[_0x3db800(0x314)]),_0x51286c(0x1,_0x115633[_0x3db800(0x1ac)]),_0x51286c(0x2,_0x5721e1[_0x3db800(0x181)](_0x115633[_0x3db800(0x194)])),_0x51286c(0x3,_0xa1d841[_0x3db800(0x355)]),_0x51286c(0x4,_0xa1d841[_0x3db800(0xe3)]),_0x51286c(0x5,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x324)]))],_0xa84181);var _0x5296c7=Object[_0x3db800(0x2db)],_0x2dd4ea=(_0x21cad2,_0x38cf9a,_0x2695d2,_0x39f827)=>{const _0x414d9f=_0x3db800;for(var _0x91a5f4=_0x39f827>0x1?void 0x0:_0x39f827?_0x5296c7(_0x38cf9a,_0x2695d2):_0x38cf9a,_0x420ec9=_0x21cad2[_0x414d9f(0x165)]-0x1,_0x3832ce;_0x420ec9>=0x0;_0x420ec9--)(_0x3832ce=_0x21cad2[_0x420ec9])&&(_0x91a5f4=_0x3832ce(_0x91a5f4)||_0x91a5f4);return _0x91a5f4;},_0x44dad0=(_0x13416a,_0x524a1f)=>(_0x511494,_0x58d2bc)=>_0x524a1f(_0x511494,_0x58d2bc,_0x13416a);let _0x2c4f22=class extends _0x5721e1[_0x3db800(0x27b)]{constructor(_0x3856b9,_0x99831b,_0x4843ec,_0x3dc545){const _0x243f75=_0x3db800;super(),_0x11fc09(this,_0x243f75(0x142)),(this['_injector']=_0x3856b9,this[_0x243f75(0x394)]=_0x99831b,this['_logService']=_0x4843ec,this['_collaborationSessionService']=_0x3dc545,this[_0x243f75(0x2e1)]());}[_0x3db800(0x2e1)](){const _0x195704=_0x3db800;this['_initWindowErrorListener'](),this['_initUnhandledRejectionListener'](),this['_monkeyPatchLogService'](),this[_0x195704(0x282)]();}[_0x3db800(0x282)](){const _0x50bb24=_0x3db800;this[_0x50bb24(0x168)](this[_0x50bb24(0x1e4)][_0x50bb24(0x39b)][_0x50bb24(0x2ce)](_0x2837eb=>{const _0x5d2f6e=_0x50bb24;this[_0x5d2f6e(0x142)]=_0x2837eb==null?void 0x0:_0x2837eb[_0x5d2f6e(0x34a)];}));}[_0x3db800(0x203)](){const _0x555523=_0x3db800,_0x5e2838=_0x3d4c16=>{const _0x297e5b=_0x1e97;var _0x28fdc9;this[_0x297e5b(0x1ad)]('error',_0x297e5b(0x2a2)+_0x3d4c16['message']+'\x20at\x20'+_0x3d4c16['filename']+':'+_0x3d4c16[_0x297e5b(0x28e)]+':'+_0x3d4c16[_0x297e5b(0x114)]+'\x0a'+(((_0x28fdc9=_0x3d4c16[_0x297e5b(0x3ce)])==null?void 0x0:_0x28fdc9[_0x297e5b(0x191)])||''));};window[_0x555523(0x312)](_0x555523(0x3ce),_0x5e2838),this['disposeWithMe'](()=>{const _0x26f2ed=_0x555523;window[_0x26f2ed(0xd2)]('error',_0x5e2838);});}[_0x3db800(0xcf)](){const _0x44b4cc=_0x3db800,_0x2d5b32=_0x572cba=>{const _0x7d09ec=_0x1e97;this[_0x7d09ec(0x1ad)](_0x7d09ec(0x3ce),'[Unhandled\x20Rejection]:\x20'+_0x572cba['reason']);};window[_0x44b4cc(0x312)](_0x44b4cc(0x219),_0x2d5b32),this[_0x44b4cc(0x168)](()=>{const _0x33ee80=_0x44b4cc;window[_0x33ee80(0xd2)](_0x33ee80(0x219),_0x2d5b32);});}[_0x3db800(0x35a)](){const _0x500c4f=_0x3db800,_0x276fa3=this[_0x500c4f(0x3b1)][_0x500c4f(0x3ce)][_0x500c4f(0x34f)](this[_0x500c4f(0x3b1)]);this[_0x500c4f(0x3b1)][_0x500c4f(0x3ce)]=(..._0x1a22af)=>{const _0x2ef675=_0x500c4f,_0x314364=_0x1a22af[_0x2ef675(0x209)](_0x2db0b0=>_0x2db0b0 instanceof Error?_0x2db0b0[_0x2ef675(0x243)]+'\x0a'+_0x2db0b0[_0x2ef675(0x191)]:String(_0x2db0b0))[_0x2ef675(0x2fc)]('\x20');this[_0x2ef675(0x1ad)](_0x2ef675(0x3ce),_0x2ef675(0x3a6)+_0x314364),_0x276fa3(..._0x1a22af);},this[_0x500c4f(0x168)](()=>{const _0x15c8c0=_0x500c4f;this['_logService'][_0x15c8c0(0x3ce)]=_0x276fa3;});}['_uploadLog'](_0x163a38,_0x73b23f){const _0x10b33b=_0x3db800;try{const _0x2f65e4={'userId':this['_memberID'],'logLabel':_0x163a38,'content':_0x73b23f};this[_0x10b33b(0x394)][_0x10b33b(0x3c4)](_0x10b33b(0x23b),{'body':_0x2f65e4})[_0x10b33b(0x34d)](()=>{});}catch{}}};_0x2c4f22=_0x2dd4ea([_0x44dad0(0x0,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x1da)])),_0x44dad0(0x1,_0x5721e1[_0x3db800(0x181)](_0x45e398[_0x3db800(0x254)])),_0x44dad0(0x2,_0x5721e1[_0x3db800(0x154)]),_0x44dad0(0x3,_0x5721e1[_0x3db800(0x181)](_0x115633[_0x3db800(0x28f)]))],_0x2c4f22);const _0x214486=_0x3db800(0x17a),_0x3b0f99={};var _0xbe2fdc=Object['getOwnPropertyDescriptor'],_0x4c288a=(_0x1538c8,_0x464c42,_0x52001c,_0x1d317b)=>{const _0x37fe3b=_0x3db800;for(var _0x2f2629=_0x1d317b>0x1?void 0x0:_0x1d317b?_0xbe2fdc(_0x464c42,_0x52001c):_0x464c42,_0x29370a=_0x1538c8[_0x37fe3b(0x165)]-0x1,_0x3bb265;_0x29370a>=0x0;_0x29370a--)(_0x3bb265=_0x1538c8[_0x29370a])&&(_0x2f2629=_0x3bb265(_0x2f2629)||_0x2f2629);return _0x2f2629;},_0x5458da=(_0x72f013,_0x56ea74)=>(_0x3a96a7,_0x23a592)=>_0x56ea74(_0x3a96a7,_0x23a592,_0x72f013);let _0x28b209=class{constructor(_0x3b4159,_0x1cbf23){const _0xa26181=_0x3db800;this[_0xa26181(0x20c)]=_0x3b4159,this['_renderManagerService']=_0x1cbf23;}[_0x3db800(0x2cc)](_0x2cb103){const _0x4c9b79=_0x3db800;this[_0x4c9b79(0x117)](_0x2cb103),this[_0x4c9b79(0x2bc)](_0x2cb103);}[_0x3db800(0x338)](_0x1b5bf6){const _0x508b4e=_0x3db800,{unitID:_0x4ae41f}=_0x1b5bf6,_0x12c5d2=this[_0x508b4e(0x125)][_0x508b4e(0x228)](_0x4ae41f)[_0x508b4e(0x134)](_0x45f825[_0x508b4e(0x2ad)]),{redoCache:_0x2445eb}=_0x12c5d2[_0x508b4e(0x374)]();if(_0x2445eb[_0x508b4e(0x165)]===0x0)return _0x1b5bf6;let _0x592973=_0x5721e1[_0x508b4e(0x386)][_0x508b4e(0x3c6)](_0x1b5bf6[_0x508b4e(0x1e2)][0x0]);for(let _0x1a8573=0x0;_0x1a8573<_0x2445eb[_0x508b4e(0x165)];_0x1a8573++){const _0x206f39={'id':_0x508b4e(0x30f),'params':{..._0x2445eb[_0x1a8573]}},_0x2c8435=this[_0x508b4e(0x20c)][_0x508b4e(0x100)](_0x592973,_0x206f39,!0x1);if(_0x195720['isTransformMutationFailure'](_0x2c8435))throw _0x2c8435[_0x508b4e(0x3ce)];_0x592973=_0x2c8435[_0x508b4e(0x25d)];}return{..._0x5721e1['Tools'][_0x508b4e(0x3c6)](_0x1b5bf6),'mutations':[_0x592973]};}[_0x3db800(0x117)](_0xe0dbab){const _0x1d2dcb=_0x3db800,{unitID:_0x64e31e}=_0xe0dbab,_0x2fe021=this['_renderManagerService']['getRenderById'](_0x64e31e)[_0x1d2dcb(0x134)](_0x45f825[_0x1d2dcb(0x2ad)]),{undoCache:_0x39017d,redoCache:_0x4da363}=_0x2fe021['getUndoRedoMutationParamsCache']();if(_0x39017d[_0x1d2dcb(0x165)]===0x0||_0x4da363[_0x1d2dcb(0x165)]===0x0)return;const _0x1cba50=[],_0x26dcea=[];let _0x3b368a=_0x5721e1[_0x1d2dcb(0x386)][_0x1d2dcb(0x3c6)](_0xe0dbab[_0x1d2dcb(0x1e2)][0x0]),_0x2c68ae=_0x5721e1['Tools'][_0x1d2dcb(0x3c6)](_0xe0dbab[_0x1d2dcb(0x1e2)][0x0]);for(let _0xa6745a=_0x39017d['length']-0x1;_0xa6745a>=0x0;_0xa6745a--){const _0x297531={'id':_0x1d2dcb(0x30f),'params':{..._0x39017d[_0xa6745a]}},_0x2b8782={'id':_0x1d2dcb(0x30f),'params':{..._0x4da363[_0xa6745a]}},_0x539110=this[_0x1d2dcb(0x20c)][_0x1d2dcb(0x100)](_0x3b368a,_0x297531,!0x1),_0x376eb3=this[_0x1d2dcb(0x20c)][_0x1d2dcb(0x100)](_0x2c68ae,_0x2b8782,!0x1);if(_0x195720['isTransformMutationFailure'](_0x539110))throw _0x539110['error'];if(_0x195720['isTransformMutationFailure'](_0x376eb3))throw _0x376eb3[_0x1d2dcb(0x3ce)];_0x1cba50[_0x1d2dcb(0x2c1)](_0x539110[_0x1d2dcb(0x3b8)][_0x1d2dcb(0x1bb)]),_0x26dcea[_0x1d2dcb(0x2c1)](_0x376eb3[_0x1d2dcb(0x3b8)]['params']),_0x3b368a=_0x539110[_0x1d2dcb(0x25d)],_0x2c68ae=_0x376eb3[_0x1d2dcb(0x25d)];}_0x2fe021[_0x1d2dcb(0x11b)]({'undoCache':_0x1cba50,'redoCache':_0x26dcea});}[_0x3db800(0x2bc)](_0xf36918){const _0x2ccdd2=_0x3db800,{unitID:_0x39d191}=_0xf36918,_0x1f4f59=this[_0x2ccdd2(0x125)][_0x2ccdd2(0x228)](_0x39d191)[_0x2ccdd2(0x134)](_0x45f825[_0x2ccdd2(0x2ad)]),_0x263ec9=_0x1f4f59['getActiveRange']();if(_0x263ec9==null)return;const _0x52bc01=[{'id':_0x2ccdd2(0x30f),'params':{'unitId':_0xf36918[_0x2ccdd2(0x153)],'actions':null,'textRanges':[_0x263ec9]}}],_0x189f9f=this[_0x2ccdd2(0x20c)][_0x2ccdd2(0x124)](_0xf36918,_0x52bc01);if(!_0x195720['isTransformMutationsWithChangesetSuccess'](_0x189f9f))throw _0x189f9f[_0x2ccdd2(0x3ce)];const _0x1c2b99=_0x189f9f[_0x2ccdd2(0x3b8)][0x0][_0x2ccdd2(0x1bb)][_0x2ccdd2(0x12d)];Array[_0x2ccdd2(0x3a1)](_0x1c2b99)&&_0x1c2b99['length']&&_0x1f4f59['setActiveRange'](_0x1c2b99[0x0]);}};_0x28b209=_0x4c288a([_0x5458da(0x0,_0x195720[_0x3db800(0x26e)]),_0x5458da(0x1,_0x585793['IRenderManagerService'])],_0x28b209);var _0x2cada1=Object[_0x3db800(0x2db)],_0x1a8553=(_0x5f3450,_0x32566a,_0x7a4d72,_0x106f91)=>{const _0x5085a8=_0x3db800;for(var _0x4bee19=_0x106f91>0x1?void 0x0:_0x106f91?_0x2cada1(_0x32566a,_0x7a4d72):_0x32566a,_0x34d60=_0x5f3450[_0x5085a8(0x165)]-0x1,_0x4bdc0f;_0x34d60>=0x0;_0x34d60--)(_0x4bdc0f=_0x5f3450[_0x34d60])&&(_0x4bee19=_0x4bdc0f(_0x4bee19)||_0x4bee19);return _0x4bee19;},_0x101d0b=(_0x1ab420,_0x317bd7)=>(_0x5e9e04,_0xe7c443)=>_0x317bd7(_0x5e9e04,_0xe7c443,_0x1ab420);let _0x13e633=class{constructor(_0x4ae166,_0x30638f,_0x371282){const _0x4613aa=_0x3db800;this[_0x4613aa(0xed)]=_0x4ae166,this[_0x4613aa(0x20c)]=_0x30638f,this[_0x4613aa(0x2ae)]=_0x371282;}['transformStateCache'](_0x4a3b69){const _0x1dc81a=_0x3db800;this[_0x1dc81a(0x2cd)](_0x4a3b69);}[_0x3db800(0x338)](_0xd535e9){const _0x582f53=_0x3db800,{unitID:_0x3f5f9d}=_0xd535e9,{collaboration:_0xa6e3b8}=this['_docStateChangeManagerService']['getStateCache'](_0x3f5f9d);if(_0xa6e3b8[_0x582f53(0x165)]===0x0)return _0xd535e9;let _0xb2161c=_0x5721e1[_0x582f53(0x386)][_0x582f53(0x3c6)](_0xd535e9[_0x582f53(0x1e2)][0x0]);for(let _0x10ac1f=0x0;_0x10ac1f<_0xa6e3b8[_0x582f53(0x165)];_0x10ac1f++){const _0x1420aa={'id':_0x582f53(0x30f),'params':{'unitId':_0xa6e3b8[_0x10ac1f][_0x582f53(0x2f4)],..._0xa6e3b8[_0x10ac1f][_0x582f53(0x269)]}},_0x718cd3=this[_0x582f53(0x20c)]['transformMutation'](_0xb2161c,_0x1420aa,!0x1);if(_0x195720[_0x582f53(0x106)](_0x718cd3))throw _0x718cd3['error'];_0xb2161c=_0x718cd3[_0x582f53(0x25d)];}return{..._0x5721e1[_0x582f53(0x386)][_0x582f53(0x3c6)](_0xd535e9),'mutations':[_0xb2161c]};}['_transformHistoryAndStateStack'](_0x2a3054){const _0x5cab57=_0x3db800,{unitID:_0x4c67ea}=_0x2a3054,{history:_0x351aa5,collaboration:_0x4d1466}=this[_0x5cab57(0x2ae)]['getStateCache'](_0x4c67ea);if(_0x351aa5[_0x5cab57(0x165)]===0x0&&_0x4d1466['length']===0x0)return;const _0x185f5d=[],_0x17ec51=[];let _0x4bce24=_0x5721e1[_0x5cab57(0x386)][_0x5cab57(0x3c6)](_0x2a3054[_0x5cab57(0x1e2)][0x0]),_0x66ae64=_0x5721e1['Tools'][_0x5cab57(0x3c6)](_0x2a3054[_0x5cab57(0x1e2)][0x0]);for(let _0x370574=_0x351aa5[_0x5cab57(0x165)]-0x1;_0x370574>=0x0;_0x370574--){const _0x502acd={'id':_0x5cab57(0x30f),'params':{'unitId':_0x351aa5[_0x370574]['unitId'],..._0x351aa5[_0x370574]['undoState']}},_0x2d0bb5={'id':_0x5cab57(0x30f),'params':{'unitId':_0x351aa5[_0x370574][_0x5cab57(0x2f4)],..._0x351aa5[_0x370574][_0x5cab57(0x269)]}},_0x11b234=this[_0x5cab57(0x20c)][_0x5cab57(0x100)](_0x4bce24,_0x502acd,!0x1),_0x40b33c=this[_0x5cab57(0x20c)][_0x5cab57(0x100)](_0x66ae64,_0x2d0bb5,!0x1);if(_0x195720[_0x5cab57(0x106)](_0x11b234))throw _0x11b234['error'];if(_0x195720[_0x5cab57(0x106)](_0x40b33c))throw _0x40b33c[_0x5cab57(0x3ce)];_0x185f5d['unshift']({..._0x351aa5[_0x370574],'undoState':_0x11b234[_0x5cab57(0x3b8)][_0x5cab57(0x1bb)],'redoState':_0x40b33c[_0x5cab57(0x3b8)][_0x5cab57(0x1bb)]}),_0x4bce24=_0x11b234['m1Prime'],_0x66ae64=_0x40b33c['m1Prime'];}_0x4bce24=_0x5721e1[_0x5cab57(0x386)][_0x5cab57(0x3c6)](_0x2a3054[_0x5cab57(0x1e2)][0x0]),_0x66ae64=_0x5721e1[_0x5cab57(0x386)][_0x5cab57(0x3c6)](_0x2a3054[_0x5cab57(0x1e2)][0x0]);for(let _0x4c6218=_0x4d1466[_0x5cab57(0x165)]-0x1;_0x4c6218>=0x0;_0x4c6218--){const _0x4636f3={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4d1466[_0x4c6218][_0x5cab57(0x2f4)],..._0x4d1466[_0x4c6218][_0x5cab57(0x3c3)]}},_0x374a15={'id':_0x5cab57(0x30f),'params':{'unitId':_0x4d1466[_0x4c6218][_0x5cab57(0x2f4)],..._0x4d1466[_0x4c6218]['redoState']}},_0x54678e=this[_0x5cab57(0x20c)]['transformMutation'](_0x4bce24,_0x4636f3,!0x1),_0x63e0bd=this['_transformService'][_0x5cab57(0x100)](_0x66ae64,_0x374a15,!0x1);if(_0x195720[_0x5cab57(0x106)](_0x54678e))throw _0x54678e[_0x5cab57(0x3ce)];if(_0x195720[_0x5cab57(0x106)](_0x63e0bd))throw _0x63e0bd[_0x5cab57(0x3ce)];_0x17ec51['unshift']({..._0x4d1466[_0x4c6218],'undoState':_0x54678e['m2Prime'][_0x5cab57(0x1bb)],'redoState':_0x63e0bd[_0x5cab57(0x3b8)][_0x5cab57(0x1bb)]}),_0x4bce24=_0x54678e[_0x5cab57(0x25d)],_0x66ae64=_0x63e0bd[_0x5cab57(0x25d)];}this[_0x5cab57(0x2ae)][_0x5cab57(0x293)](_0x4c67ea,{'history':_0x185f5d,'collaboration':_0x17ec51});}};_0x13e633=_0x1a8553([_0x101d0b(0x0,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x1da)])),_0x101d0b(0x1,_0x195720[_0x3db800(0x26e)]),_0x101d0b(0x2,_0x5721e1[_0x3db800(0x181)](_0x45f825[_0x3db800(0x3bf)]))],_0x13e633);var _0x1275bc=Object[_0x3db800(0x2db)],_0x5219ca=(_0x3f206d,_0x5c2e7b,_0x519949,_0x27fece)=>{const _0x1f17b8=_0x3db800;for(var _0x523b03=_0x27fece>0x1?void 0x0:_0x27fece?_0x1275bc(_0x5c2e7b,_0x519949):_0x5c2e7b,_0x3552fb=_0x3f206d[_0x1f17b8(0x165)]-0x1,_0x419d8e;_0x3552fb>=0x0;_0x3552fb--)(_0x419d8e=_0x3f206d[_0x3552fb])&&(_0x523b03=_0x419d8e(_0x523b03)||_0x523b03);return _0x523b03;},_0x17b0e5=(_0x1d6a7f,_0x28c58c)=>(_0x374364,_0xd45bbe)=>_0x28c58c(_0x374364,_0xd45bbe,_0x1d6a7f);let _0x129f97=class{constructor(_0xcf8206,_0x1595b3){const _0x4bef07=_0x3db800;this[_0x4bef07(0xed)]=_0xcf8206,this['_transformService']=_0x1595b3;}[_0x3db800(0x280)](_0x301ed9){const _0x27313e=_0x3db800;var _0x10ea41;const _0x54f0bc=this[_0x27313e(0xed)]['get'](_0x9d8fba[_0x27313e(0x2c4)]),_0x4d0532=(_0x10ea41=_0x54f0bc[_0x27313e(0x260)]())!=null?_0x10ea41:[];if(_0x4d0532[_0x27313e(0x165)]===0x0)return;const _0x43327a=_0x301ed9[_0x27313e(0x153)],_0x43143b=[{'id':_0x27313e(0x30f),'params':{'unitId':_0x43327a,'actions':null,'textRanges':_0x4d0532}}],_0x173a74=this[_0x27313e(0x20c)][_0x27313e(0x124)](_0x301ed9,_0x43143b);if(!_0x195720[_0x27313e(0x31a)](_0x173a74))throw _0x173a74[_0x27313e(0x3ce)];const _0xd46133=_0x173a74[_0x27313e(0x3b8)][0x0][_0x27313e(0x1bb)][_0x27313e(0x12d)];Array[_0x27313e(0x3a1)](_0xd46133)&&_0xd46133[_0x27313e(0x165)]&&_0x54f0bc[_0x27313e(0x26b)](_0xd46133,{'unitId':_0x43327a,'subUnitId':_0x43327a},!0x1);}};_0x129f97=_0x5219ca([_0x17b0e5(0x0,_0x5721e1[_0x3db800(0x181)](_0x5721e1['Injector'])),_0x17b0e5(0x1,_0x195720[_0x3db800(0x26e)])],_0x129f97);var _0xbcf06e=Object[_0x3db800(0x2db)],_0x1741b5=(_0x274d15,_0x896981,_0x3bdce3,_0x26ffa3)=>{for(var _0x3a14ef=_0x26ffa3>0x1?void 0x0:_0x26ffa3?_0xbcf06e(_0x896981,_0x3bdce3):_0x896981,_0x27d6a=_0x274d15['length']-0x1,_0x48c472;_0x27d6a>=0x0;_0x27d6a--)(_0x48c472=_0x274d15[_0x27d6a])&&(_0x3a14ef=_0x48c472(_0x3a14ef)||_0x3a14ef);return _0x3a14ef;},_0x2068e7=(_0xe33c87,_0x5755b6)=>(_0x33a03a,_0x40a0a4)=>_0x5755b6(_0x33a03a,_0x40a0a4,_0xe33c87);let _0xc6cb38=class extends _0x5721e1[_0x3db800(0x27b)]{constructor(_0x2c34be,_0x84ea2a,_0x1cab77,_0x4e3566,_0x28252c,_0x5da297,_0x4a4553,_0x31178c){const _0x218c40=_0x3db800;super(),_0x11fc09(this,'_status$',new _0x3c46fe[(_0x218c40(0x346))](_0x115633[_0x218c40(0x36f)][_0x218c40(0x246)])),(this[_0x218c40(0x2ae)]=_0x2c34be,this['_collaborationController']=_0x84ea2a,this[_0x218c40(0x2a6)]=_0x1cab77,this[_0x218c40(0x366)]=_0x4e3566,this[_0x218c40(0x3b3)]=_0x28252c,this['_docSyncEditingCollabCursorService']=_0x5da297,this[_0x218c40(0x2b7)]=_0x4a4553,this[_0x218c40(0x1fb)]=_0x31178c,this[_0x218c40(0x2a4)]());}[_0x3db800(0x2a4)](){const _0x4b8cbd=_0x3db800;this[_0x4b8cbd(0x168)](this['_collaborationController'][_0x4b8cbd(0x193)][_0x4b8cbd(0x2ce)](_0x1b60d2=>{const _0x1027d8=_0x4b8cbd,_0x123027=this[_0x1027d8(0x2ae)]['docStateChange$'][_0x1027d8(0x2ce)](_0x356699=>{const _0x21f510=_0x1027d8;if(_0x356699==null)return;const {unitId:_0x1a7aa5,redoState:_0x48c2c1,commandId:_0x43e2b4}=_0x356699;if(_0x1a7aa5!==_0x1b60d2['unitID'])return;const _0x198cec={'id':_0x43e2b4,'type':_0x5721e1[_0x21f510(0x27e)][_0x21f510(0x143)],'params':{'unitId':_0x1a7aa5,'actions':_0x48c2c1[_0x21f510(0x14b)],'textRanges':null}};_0x1b60d2[_0x21f510(0x1f8)](_0x198cec);});if(_0x1b60d2['disposeWithMe'](_0x123027),_0x1b60d2 instanceof _0x115633[_0x1027d8(0x24a)]){const _0x377d36={'onTransformIME':_0x4afe35=>this[_0x1027d8(0x2a6)][_0x1027d8(0x2cc)](_0x4afe35),'onTransformState':_0x483671=>this[_0x1027d8(0x366)][_0x1027d8(0x23d)](_0x483671),'onTransformSelections':_0x2bccc4=>this[_0x1027d8(0x3b3)][_0x1027d8(0x280)](_0x2bccc4),'onSyncEditingCollabCursor':_0x2dfcfa=>this[_0x1027d8(0x2fa)][_0x1027d8(0x231)](_0x2dfcfa),'onTransformRemoteChangesetByIMECache':_0x467f0a=>this['_docTransformIMECacheService'][_0x1027d8(0x338)](_0x467f0a),'onTransformRemoteChangesetByStateCache':_0x419913=>this['_docTransformStateCacheService'][_0x1027d8(0x338)](_0x419913)};_0x1b60d2[_0x1027d8(0x1f2)](_0x377d36);}}));}};_0xc6cb38=_0x1741b5([_0x2068e7(0x0,_0x5721e1['Inject'](_0x45f825[_0x3db800(0x3bf)])),_0x2068e7(0x1,_0x5721e1[_0x3db800(0x181)](_0x115633['CollaborationController'])),_0x2068e7(0x2,_0x5721e1[_0x3db800(0x181)](_0x28b209)),_0x2068e7(0x3,_0x5721e1[_0x3db800(0x181)](_0x13e633)),_0x2068e7(0x4,_0x5721e1['Inject'](_0x129f97)),_0x2068e7(0x5,_0x5721e1[_0x3db800(0x181)](_0x41a578)),_0x2068e7(0x6,_0xa1d841[_0x3db800(0x355)]),_0x2068e7(0x7,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x324)]))],_0xc6cb38);var _0xb66710=(_0x422ec8=>(_0x422ec8[_0x422ec8[_0x3db800(0x13c)]=0x0]=_0x3db800(0x13c),_0x422ec8[_0x422ec8['OK']=0x1]='OK',_0x422ec8[_0x422ec8[_0x3db800(0x173)]=0x2]=_0x3db800(0x173),_0x422ec8[_0x422ec8['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x422ec8[_0x422ec8[_0x3db800(0x3d0)]=0x4]=_0x3db800(0x3d0),_0x422ec8[_0x422ec8[_0x3db800(0x18a)]=0x5]='UNAUTHENTICATED',_0x422ec8[_0x422ec8[_0x3db800(0x326)]=0x6]=_0x3db800(0x326),_0x422ec8[_0x422ec8['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x422ec8[_0x422ec8[_0x3db800(0x232)]=0x8]='TOO_MANY_REQUESTS',_0x422ec8[_0x422ec8['COMPLETION_FINISHED']=0x9]=_0x3db800(0x375),_0x422ec8[_0x422ec8['LOGIN_FAILED']=0xa]='LOGIN_FAILED',_0x422ec8[_0x422ec8[_0x3db800(0x3a7)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x422ec8[_0x422ec8[_0x3db800(0x1e8)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x422ec8[_0x422ec8[_0x3db800(0x2f0)]=0xd]=_0x3db800(0x2f0),_0x422ec8[_0x422ec8[_0x3db800(0x235)]=0xe]=_0x3db800(0x235),_0x422ec8[_0x422ec8[_0x3db800(0x28a)]=0xf]=_0x3db800(0x28a),_0x422ec8[_0x422ec8[_0x3db800(0x3ac)]=0x10]=_0x3db800(0x3ac),_0x422ec8[_0x422ec8[_0x3db800(0x149)]=0x64]=_0x3db800(0x149),_0x422ec8[_0x422ec8[_0x3db800(0x2a1)]=0x65]=_0x3db800(0x2a1),_0x422ec8[_0x422ec8[_0x3db800(0x14a)]=0xc9]=_0x3db800(0x14a),_0x422ec8[_0x422ec8[_0x3db800(0x22b)]=0xca]=_0x3db800(0x22b),_0x422ec8[_0x422ec8[_0x3db800(0x206)]=0x1389]=_0x3db800(0x206),_0x422ec8[_0x422ec8['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x3db800(0x205),_0x422ec8[_0x422ec8[_0x3db800(0x197)]=0x1772]=_0x3db800(0x197),_0x422ec8[_0x422ec8['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x3db800(0x22d),_0x422ec8[_0x422ec8[_0x3db800(0x35d)]=0x1b59]='APPLY_REJECT',_0x422ec8[_0x422ec8['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x3db800(0xee),_0x422ec8[_0x422ec8[_0x3db800(0xf7)]=0x1b5b]=_0x3db800(0xf7),_0x422ec8[_0x422ec8[_0x3db800(0x2d8)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x422ec8[_0x422ec8[_0x3db800(0x1af)]=0x1b5d]='APPLY_DUPLICATED',_0x422ec8[_0x422ec8['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x3db800(0xf1),_0x422ec8[_0x422ec8[_0x3db800(0x16d)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x422ec8[_0x422ec8[_0x3db800(0x256)]=0x232a]=_0x3db800(0x256),_0x422ec8[_0x422ec8[_0x3db800(0x27a)]=0x232b]=_0x3db800(0x27a),_0x422ec8[_0x422ec8['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x422ec8[_0x422ec8['LICENSE_DISTRO_REJECTED']=0x232d]=_0x3db800(0x310),_0x422ec8[_0x422ec8['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x422ec8[_0x422ec8[_0x3db800(0x2ba)]=0x2712]=_0x3db800(0x2ba),_0x422ec8[_0x422ec8[_0x3db800(0x1b5)]=0x2713]=_0x3db800(0x1b5),_0x422ec8[_0x422ec8[_0x3db800(0x33e)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x422ec8[_0x422ec8[_0x3db800(0x225)]=0x271a]=_0x3db800(0x225),_0x422ec8[_0x422ec8[_0x3db800(0xe9)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x422ec8[_0x422ec8[_0x3db800(0xff)]=0x271c]=_0x3db800(0xff),_0x422ec8[_0x422ec8[_0x3db800(0x28b)]=0x271d]=_0x3db800(0x28b),_0x422ec8[_0x422ec8['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x3db800(0x26d),_0x422ec8[_0x422ec8[_0x3db800(0x111)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x422ec8[_0x422ec8['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x3db800(0x1c7),_0x422ec8[_0x422ec8[_0x3db800(0x3d2)]=0x2af9]=_0x3db800(0x3d2),_0x422ec8[_0x422ec8[_0x3db800(0x167)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x422ec8[_0x422ec8['INVALID_INVITE_CODE']=0x2ee2]=_0x3db800(0x2c7),_0x422ec8[_0x422ec8['INVITE_CODE_REQUIRED']=0x2ee3]=_0x3db800(0x1b6),_0x422ec8[_0x422ec8[_0x3db800(0x369)]=0x2ee4]=_0x3db800(0x369),_0x422ec8[_0x422ec8[_0x3db800(0x216)]=0x2ee5]=_0x3db800(0x216),_0x422ec8[_0x422ec8['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x422ec8[_0x422ec8[_0x3db800(0x26c)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x422ec8[_0x422ec8['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x3db800(0x1f3),_0x422ec8[_0x422ec8['ENTITLE_CAN_NOT_BUY_LOWER_OTP']=0x36b1]=_0x3db800(0xf3),_0x422ec8[_0x422ec8[_0x3db800(0x300)]=0x36b2]=_0x3db800(0x300),_0x422ec8[_0x422ec8[_0x3db800(0x27d)]=0x36b3]='ENTITLE_DUP_SUBSCRIPTION',_0x422ec8[_0x422ec8[_0x3db800(0x15e)]=0x36b4]=_0x3db800(0x15e),_0x422ec8[_0x422ec8[_0x3db800(0x2d4)]=0x36b5]=_0x3db800(0x2d4),_0x422ec8[_0x422ec8[_0x3db800(0x1df)]=0x36b6]='ENTITLE_COUPON_EXPIRED',_0x422ec8[_0x422ec8[_0x3db800(0x29b)]=0x36b7]=_0x3db800(0x29b),_0x422ec8[_0x422ec8['ENTITLE_USE_COUPON_NOT_1ST_TRADE']=0x36b8]=_0x3db800(0xeb),_0x422ec8[_0x422ec8['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]='ENTITLE_CHAT_LIMIT_EXCEED',_0x422ec8[_0x422ec8[_0x3db800(0x196)]=0x3716]=_0x3db800(0x196),_0x422ec8[_0x422ec8['ENTITLE_INSUFFICIENT_QUOTA']=0x3717]=_0x3db800(0x1db),_0x422ec8[_0x422ec8[_0x3db800(0x35f)]=0x37dd]=_0x3db800(0x35f),_0x422ec8[_0x422ec8[_0x3db800(0xdb)]=0x3a99]=_0x3db800(0xdb),_0x422ec8[_0x422ec8[_0x3db800(0x133)]=0x3a9a]=_0x3db800(0x133),_0x422ec8[_0x422ec8[_0x3db800(0x172)]=0x3a9b]=_0x3db800(0x172),_0x422ec8[_0x422ec8[_0x3db800(0x1eb)]=0x3a9c]=_0x3db800(0x1eb),_0x422ec8[_0x422ec8[_0x3db800(0xe6)]=0x3a9d]='REDEMPTION_USER_NOT_ELIGIBLE',_0x422ec8[_0x422ec8[_0x3db800(0x2a8)]=0x3a9e]=_0x3db800(0x2a8),_0x422ec8[_0x422ec8[_0x3db800(0x396)]=0x3a9f]=_0x3db800(0x396),_0x422ec8[_0x422ec8[_0x3db800(0x327)]=0x3e81]=_0x3db800(0x327),_0x422ec8[_0x422ec8[_0x3db800(0x2da)]=-0x1]=_0x3db800(0x2da),_0x422ec8))(_0xb66710||{});function _0x34b9a7(_0x47efd1){const _0x580e78=_0x3db800;var _0x42d23e,_0x4ecbb0;const _0x27e846=(_0x42d23e=_0x47efd1[_0x580e78(0x3c0)])==null?void 0x0:_0x42d23e[_0x580e78(0x329)],_0x805d6f=((_0x4ecbb0=_0x47efd1[_0x580e78(0x3c0)])==null?void 0x0:_0x4ecbb0[_0x580e78(0x12e)])||0x0;return _0x27e846===_0x26196d[_0x580e78(0x3bb)]['START_CALCULATION']&&_0x805d6f>0x0;}function _0x6800d9(_0x22c524){const _0x55e0d9=_0x3db800;return _0x22c524[_0x55e0d9(0x18c)]===_0x26196d[_0x55e0d9(0x291)][_0x55e0d9(0x3c9)];}var _0x208271=Object['getOwnPropertyDescriptor'],_0x408852=(_0x1d1394,_0x575a87,_0x14ddb4,_0x56e504)=>{for(var _0x2c302f=_0x56e504>0x1?void 0x0:_0x56e504?_0x208271(_0x575a87,_0x14ddb4):_0x575a87,_0x12a2bc=_0x1d1394['length']-0x1,_0x4b29b3;_0x12a2bc>=0x0;_0x12a2bc--)(_0x4b29b3=_0x1d1394[_0x12a2bc])&&(_0x2c302f=_0x4b29b3(_0x2c302f)||_0x2c302f);return _0x2c302f;},_0x387b6a=(_0x21acf3,_0xcc1699)=>(_0x2569b3,_0x48955c)=>_0xcc1699(_0x2569b3,_0x48955c,_0x21acf3);const _0x3a939f=_0x3db800(0x379),_0x95a99a=_0x3db800(0x1d3),_0x268bfd=_0x3db800(0x176);let _0x474fa3=class extends _0x5721e1[_0x3db800(0x27b)]{constructor(_0x4d2d5e,_0x402dd2,_0x30e7c8,_0x4b9b3d,_0xe222a1,_0x2cbf29,_0x38e331){const _0x4d2fb4=_0x3db800;super(),_0x11fc09(this,_0x4d2fb4(0x17f),null),_0x11fc09(this,_0x4d2fb4(0x13a),0x0),_0x11fc09(this,'_currentUsage',0x0),_0x11fc09(this,_0x4d2fb4(0x3c7),[]),_0x11fc09(this,_0x4d2fb4(0x1d2),0x0),(this[_0x4d2fb4(0x2b7)]=_0x4d2d5e,this[_0x4d2fb4(0x3a0)]=_0x402dd2,this['_configService']=_0x30e7c8,this[_0x4d2fb4(0x394)]=_0x4b9b3d,this[_0x4d2fb4(0x122)]=_0xe222a1,this['_logService']=_0x2cbf29,this['_localeService']=_0x38e331,this[_0x4d2fb4(0xdf)]());}[_0x3db800(0xdf)](){const _0x49be53=_0x3db800;this[_0x49be53(0x168)](this[_0x49be53(0x3a0)][_0x49be53(0x2b0)]((_0x49a95d,_0x2254f4)=>{const _0x26e752=_0x49be53;var _0x829b9f;if(_0x49a95d['id']!==_0x26196d[_0x26e752(0x204)]['id'])return;const _0x334320=_0x49a95d[_0x26e752(0x1bb)];if(!this[_0x26e752(0x19d)]((_0x829b9f=_0x334320[_0x26e752(0x2de)])!=null?_0x829b9f:[]))return;if(!this[_0x26e752(0x2cb)]())throw this[_0x26e752(0x277)](_0x49a95d,_0x2254f4),this[_0x26e752(0x113)](),new _0x5721e1[(_0x26e752(0x1f9))]();})),this[_0x49be53(0x168)](this['_commandService'][_0x49be53(0x10b)]((_0xfe79d5,_0x2ed63d)=>{const _0x1b6aa4=_0x49be53;if(_0xfe79d5['id']!==_0x26196d[_0x1b6aa4(0x315)]['id'])return;const _0x37dab6=_0xfe79d5[_0x1b6aa4(0x1bb)];if(_0x34b9a7(_0x37dab6)){const _0x52154c=_0x5721e1[_0x1b6aa4(0x336)]();this[_0x1b6aa4(0x3c7)]['push'](_0x52154c),this[_0x1b6aa4(0x30b)](_0x52154c);}else{if(_0x6800d9(_0x37dab6)&&this[_0x1b6aa4(0x3c7)]['length']>0x0){const _0x49a46b=this[_0x1b6aa4(0x3c7)][_0x1b6aa4(0x222)]();this[_0x1b6aa4(0x3b5)](_0x49a46b);}}}));}['dispose'](){const _0x5d0ff4=_0x3db800;super['dispose'](),this[_0x5d0ff4(0xe5)](),this['_taskIds']=[],this['_currentUsage']=0x0,this[_0x5d0ff4(0x13a)]=0x0,this['_lastResponseTimestamp']=0x0;}async[_0x3db800(0x277)](_0x54e661,_0x31251f){const _0x421474=_0x3db800;for(let _0x4dfff0=0x0;_0x4dfff0<0x1e;_0x4dfff0++)try{if(await this['_getFormulaLimitStatus'](),this[_0x421474(0x2cb)]()){this['_applyCommand'](_0x54e661,_0x31251f),this[_0x421474(0x2b7)][_0x421474(0x2b1)]({'content':this[_0x421474(0x1fb)]['t'](_0x421474(0x307)),'type':_0x31d403[_0x421474(0x3ca)][_0x421474(0x245)]});return;}await new Promise(_0x20e8d5=>{const _0x8cfb31=_0x421474;this[_0x8cfb31(0x17f)]=window[_0x8cfb31(0x10f)](_0x20e8d5,0x3e8);});}catch(_0x424d3f){this[_0x421474(0x3b1)][_0x421474(0x3ce)](_0x424d3f);}this[_0x421474(0x2b7)][_0x421474(0x2b1)]({'content':this['_localeService']['t'](_0x421474(0x12a)),'type':_0x31d403[_0x421474(0x3ca)][_0x421474(0x131)]});}[_0x3db800(0x360)](_0x310c92,_0x7bb10a){const _0x288f2b=_0x3db800;try{this[_0x288f2b(0x3a0)]['executeCommand'](_0x310c92['id'],_0x310c92[_0x288f2b(0x1bb)],_0x7bb10a);}catch(_0x54e018){this[_0x288f2b(0x3b1)][_0x288f2b(0x3ce)](_0x54e018);}}[_0x3db800(0x1fc)](_0x1e7132,_0x1399af){const _0x1c6ef4=_0x3db800;_0x1399af<this[_0x1c6ef4(0x1d2)]||(this['_lastResponseTimestamp']=_0x1399af,this['_maxFormulaLimit']=Number[_0x1c6ef4(0x145)](_0x1e7132[_0x1c6ef4(0x1c1)]),this[_0x1c6ef4(0x2a0)]=Number[_0x1c6ef4(0x145)](_0x1e7132[_0x1c6ef4(0x333)]));}async[_0x3db800(0x30b)](_0x56f928){const _0x1cd39b=_0x3db800;var _0x4452e1,_0x52c50a;const _0x161d2b=Date[_0x1cd39b(0x18d)]();try{const _0x31436d=((_0x4452e1=this[_0x1cd39b(0x2b3)][_0x1cd39b(0x1f6)](_0x115633[_0x1cd39b(0x351)]))==null?void 0x0:_0x4452e1[_0x1cd39b(0x1fa)])||_0x95a99a,_0x143e4d=(await this['_httpService']['post'](_0x31436d,{'body':JSON[_0x1cd39b(0x2c2)]({'taskId':_0x56f928})}))['body'];if(((_0x52c50a=_0x143e4d[_0x1cd39b(0x3ce)])==null?void 0x0:_0x52c50a[_0x1cd39b(0x306)])!==_0xb66710['OK'])return;this[_0x1cd39b(0x1fc)](_0x143e4d[_0x1cd39b(0x174)],_0x161d2b);}catch(_0x449258){this[_0x1cd39b(0x3b1)][_0x1cd39b(0x3ce)](_0x449258);}}async[_0x3db800(0x1a8)](_0x347348){const _0x967097=_0x3db800;var _0x1483a0,_0x57205d;const _0x1c619f=Date[_0x967097(0x18d)]();try{const _0x3db7a8=((_0x1483a0=this[_0x967097(0x2b3)]['getConfig'](_0x115633[_0x967097(0x351)]))==null?void 0x0:_0x1483a0[_0x967097(0x19e)])||_0x3a939f,_0x3e2a2a=_0x347348?_0x3db7a8+'?taskId='+encodeURIComponent(_0x347348):_0x3db7a8,_0xde02a5=(await this[_0x967097(0x394)][_0x967097(0x31c)](_0x3e2a2a))[_0x967097(0x14e)];if(((_0x57205d=_0xde02a5[_0x967097(0x3ce)])==null?void 0x0:_0x57205d[_0x967097(0x306)])!==_0xb66710['OK'])return;this[_0x967097(0x1fc)](_0xde02a5['limitInfo'],_0x1c619f);}catch(_0x20cd7d){this[_0x967097(0x3b1)][_0x967097(0x3ce)](_0x20cd7d);}}async[_0x3db800(0x3b5)](_0xfb1547){const _0x3498bc=_0x3db800;var _0x56e93e,_0x3dff1c;const _0x529102=Date[_0x3498bc(0x18d)]();try{const _0x5c700c=((_0x56e93e=this[_0x3498bc(0x2b3)][_0x3498bc(0x1f6)](_0x115633[_0x3498bc(0x351)]))==null?void 0x0:_0x56e93e['releaseFormulaLimitUrl'])||_0x268bfd,_0x29b517=(await this[_0x3498bc(0x394)]['post'](_0x5c700c,{'body':JSON[_0x3498bc(0x2c2)]({'taskId':_0xfb1547})}))[_0x3498bc(0x14e)];if(((_0x3dff1c=_0x29b517[_0x3498bc(0x3ce)])==null?void 0x0:_0x3dff1c['code'])!==_0xb66710['OK'])return;this[_0x3498bc(0x1fc)](_0x29b517['limitInfo'],_0x529102);}catch(_0x34368a){this[_0x3498bc(0x3b1)]['error'](_0x34368a);}}[_0x3db800(0x2cb)](){const _0x583711=_0x3db800;return this[_0x583711(0x13a)]===0x0?!0x0:this['_maxFormulaLimit']-this['_currentUsage']>0x0;}['_clearPolling'](){const _0xe5d54f=_0x3db800;this[_0xe5d54f(0x17f)]&&(clearTimeout(this['_pollingInterval']),this[_0xe5d54f(0x17f)]=null);}[_0x3db800(0x113)](){const _0x1e4dea=_0x3db800;this[_0x1e4dea(0x2b7)]['show']({'content':this[_0x1e4dea(0x1fb)]['t']('formula.calculation.waiting'),'type':_0x31d403[_0x1e4dea(0x3ca)][_0x1e4dea(0xe1)]});}[_0x3db800(0x19d)](_0x14cfeb){const _0x5c19b8=_0x3db800;for(const _0x359290 of _0x14cfeb){const {unitId:_0x105acf,sheetId:_0x5d098b,range:_0x506216}=_0x359290,_0x3072b1=this[_0x5c19b8(0x122)][_0x5c19b8(0xe4)](_0x105acf);if(!_0x3072b1)continue;const _0x72aa3c=_0x3072b1['getSheetBySheetId'](_0x5d098b);if(!_0x72aa3c)continue;const _0x5e3426=_0x72aa3c['getCellMatrix']();for(let _0x48cb31=_0x506216[_0x5c19b8(0x32e)];_0x48cb31<=_0x506216[_0x5c19b8(0x37a)];_0x48cb31++)for(let _0x318aa3=_0x506216[_0x5c19b8(0x30a)];_0x318aa3<=_0x506216[_0x5c19b8(0xd8)];_0x318aa3++){const _0x190b07=_0x5e3426[_0x5c19b8(0x2f2)](_0x48cb31,_0x318aa3);if(_0x190b07&&(_0x5721e1[_0x5c19b8(0xf2)](_0x190b07['f'])||_0x5721e1[_0x5c19b8(0x3ba)](_0x190b07['si'])))return!0x0;}}return!0x1;}};_0x474fa3=_0x408852([_0x387b6a(0x0,_0x5721e1[_0x3db800(0x181)](_0xa1d841[_0x3db800(0x355)])),_0x387b6a(0x1,_0x5721e1[_0x3db800(0x2e2)]),_0x387b6a(0x2,_0x5721e1['IConfigService']),_0x387b6a(0x3,_0x5721e1[_0x3db800(0x181)](_0x45e398[_0x3db800(0x254)])),_0x387b6a(0x4,_0x5721e1[_0x3db800(0x24f)]),_0x387b6a(0x5,_0x5721e1[_0x3db800(0x154)]),_0x387b6a(0x6,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x324)]))],_0x474fa3);var _0x57f33c=Object[_0x3db800(0x2db)],_0x26c888=(_0x635945,_0x97aa1a,_0x17bf7a,_0x4fd7e1)=>{const _0x3f8654=_0x3db800;for(var _0x488590=_0x4fd7e1>0x1?void 0x0:_0x4fd7e1?_0x57f33c(_0x97aa1a,_0x17bf7a):_0x97aa1a,_0xba986a=_0x635945[_0x3f8654(0x165)]-0x1,_0x3bfc67;_0xba986a>=0x0;_0xba986a--)(_0x3bfc67=_0x635945[_0xba986a])&&(_0x488590=_0x3bfc67(_0x488590)||_0x488590);return _0x488590;},_0x3bad10=(_0x2f0dcf,_0x1d0373)=>(_0x443e7c,_0x23e7e4)=>_0x1d0373(_0x443e7c,_0x23e7e4,_0x2f0dcf);let _0x87e2af=class extends _0x5721e1[_0x3db800(0x27b)]{constructor(_0x211a7f,_0x1f113e,_0x2b3218){const _0x9e7c9e=_0x3db800;super(),_0x11fc09(this,'_cachedData',new Map()),_0x11fc09(this,_0x9e7c9e(0x284),new Map()),_0x11fc09(this,'_disabled',!0x1),(this['_configService']=_0x211a7f,this[_0x9e7c9e(0x1c3)]=_0x1f113e,this['_revisionService']=_0x2b3218);}[_0x3db800(0x17e)](){const _0x2446c6=_0x3db800;this[_0x2446c6(0x397)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x3db800(0x2c0)](){return this['_saveTaskMap'];}['dispose'](){const _0x3e8ee9=_0x3db800;this[_0x3e8ee9(0x3cb)]()[_0x3e8ee9(0x1d6)](()=>super[_0x3e8ee9(0x37d)]());}async[_0x3db800(0x1be)](_0x114387){const _0x30f9ed=_0x3db800;return this['_disabled']?null:this['_localStorageService'][_0x30f9ed(0x2ff)](_0x115633['getLocalCacheKey'](_0x114387));}async[_0x3db800(0x286)](_0x6b7b04,_0x4062fa){const _0x225fa4=_0x3db800;return!!this[_0x225fa4(0x1c3)][_0x225fa4(0x335)](_0x6b7b04,_0x4062fa);}[_0x3db800(0x2f7)](_0x3fcc15,_0x14022d,_0x11389f,_0x565761){const _0x518366=_0x3db800,_0x14efd5=this[_0x518366(0x25c)][_0x518366(0x177)](_0x3fcc15);this[_0x518366(0x1a0)][_0x518366(0x10c)](_0x3fcc15,{'unitID':_0x3fcc15,'type':_0x14022d,'awaitingChangeset':_0x11389f,'mutations':_0x565761,'rev':_0x14efd5}),this[_0x518366(0x284)][_0x518366(0x101)](_0x3fcc15)||this[_0x518366(0x3bd)](_0x3fcc15);}[_0x3db800(0x3bd)](_0xa701a){const _0x47d102=_0x3db800,_0x169dc9=this['_getSaveTimeout']();_0x169dc9===0x0?this[_0x47d102(0x253)](_0xa701a):this[_0x47d102(0x284)][_0x47d102(0x10c)](_0xa701a,setTimeout(()=>this['_saveCache'](_0xa701a),_0x169dc9));}[_0x3db800(0x175)](){const _0x5e5efe=_0x3db800;var _0x2fba4e;return(_0x2fba4e=this['_configService'][_0x5e5efe(0x1f6)](_0x115633[_0x5e5efe(0x350)]))!=null?_0x2fba4e:_0x115633[_0x5e5efe(0x1c0)];}[_0x3db800(0x253)](_0x3080a3){const _0x39496b=_0x3db800,_0x670ebe=this[_0x39496b(0x284)][_0x39496b(0x31c)](_0x3080a3);return _0x670ebe!==void 0x0&&window[_0x39496b(0x16c)](_0x670ebe),this[_0x39496b(0x1c3)]['setItem'](_0x115633[_0x39496b(0x361)](_0x3080a3),this[_0x39496b(0x1a0)]['get'](_0x3080a3))['then'](()=>this[_0x39496b(0x284)][_0x39496b(0xd6)](_0x3080a3));}async[_0x3db800(0x3cb)](){const _0x5bb2f7=_0x3db800,_0xd8ee99=[];this[_0x5bb2f7(0x284)]['forEach']((_0x5051a7,_0x29ca62)=>{const _0xa2ec32=_0x5bb2f7;window[_0xa2ec32(0x16c)](_0x5051a7),_0xd8ee99[_0xa2ec32(0x126)](this[_0xa2ec32(0x253)](_0x29ca62)[_0xa2ec32(0x1d6)](()=>{const _0x21870f=_0xa2ec32;this[_0x21870f(0x284)][_0x21870f(0xd6)](_0x29ca62);}));}),await Promise['all'](_0xd8ee99);}};_0x87e2af=_0x26c888([_0x3bad10(0x0,_0x5721e1[_0x3db800(0x1aa)]),_0x3bad10(0x1,_0x5721e1[_0x3db800(0xfe)]),_0x3bad10(0x2,_0x5721e1['Inject'](_0x195720[_0x3db800(0x188)]))],_0x87e2af);class _0x752a44 extends _0x5721e1['RxDisposable']{constructor(){const _0x26b41e=_0x3db800;super(),_0x11fc09(this,'urlChange$'),this['urlChange$']=_0x3c46fe[_0x26b41e(0x2d6)](window,_0x26b41e(0x14c))[_0x26b41e(0x138)](_0x3c46fe[_0x26b41e(0x3cd)](this['dispose$']),_0x3c46fe[_0x26b41e(0x3a4)](0x1),_0x3c46fe[_0x26b41e(0xf6)](void 0x0));}[_0x3db800(0x2b5)](_0x322df6,_0x41b940,_0x3552d3=!0x1){const _0x29c812=_0x3db800,_0x202c9e=new URL(window[_0x29c812(0x13f)][_0x29c812(0x1c6)]);_0x202c9e[_0x29c812(0x1f7)][_0x29c812(0x10c)](_0x322df6,_0x41b940),_0x3552d3?window[_0x29c812(0x186)][_0x29c812(0x169)]('','',_0x202c9e['toString']()):window[_0x29c812(0x186)][_0x29c812(0x252)]('','',_0x202c9e[_0x29c812(0x281)]());}[_0x3db800(0x1bf)](_0x4df193,_0x587108=!0x1){const _0xbfab82=_0x3db800,_0x4d7e2d=new URL(window[_0xbfab82(0x13f)][_0xbfab82(0x1c6)]);_0x4d7e2d['searchParams'][_0xbfab82(0xd6)](_0x4df193),_0x587108?window[_0xbfab82(0x186)][_0xbfab82(0x169)]('','',_0x4d7e2d['toString']()):window[_0xbfab82(0x186)][_0xbfab82(0x252)]('','',_0x4d7e2d['toString']());}[_0x3db800(0x2aa)](_0x148fda){const _0x117df1=_0x3db800;var _0x4eb045;return(_0x4eb045=new URL(window[_0x117df1(0x13f)][_0x117df1(0x1c6)])[_0x117df1(0x1f7)][_0x117df1(0x31c)](_0x148fda))!=null?_0x4eb045:void 0x0;}}var _0x21fc30=Object[_0x3db800(0x296)],_0x29440e=Object[_0x3db800(0x2db)],_0x4cebd7=(_0x4277fe,_0xc7399d,_0x4d7161)=>_0xc7399d in _0x4277fe?_0x21fc30(_0x4277fe,_0xc7399d,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4d7161}):_0x4277fe[_0xc7399d]=_0x4d7161,_0x3d7ba0=(_0x24fced,_0x57a530,_0x23f789,_0x2caaf0)=>{const _0x2ea1de=_0x3db800;for(var _0x5e2759=_0x2caaf0>0x1?void 0x0:_0x2caaf0?_0x29440e(_0x57a530,_0x23f789):_0x57a530,_0x4cf22a=_0x24fced[_0x2ea1de(0x165)]-0x1,_0x5ec81b;_0x4cf22a>=0x0;_0x4cf22a--)(_0x5ec81b=_0x24fced[_0x4cf22a])&&(_0x5e2759=_0x5ec81b(_0x5e2759)||_0x5e2759);return _0x5e2759;},_0x46567e=(_0x5c9d5e,_0x2bc009)=>(_0x3408d9,_0x49e675)=>_0x2bc009(_0x3408d9,_0x49e675,_0x5c9d5e),_0x5353ff=(_0x5d2567,_0x304cda,_0xe1863c)=>_0x4cebd7(_0x5d2567,_0x304cda+'',_0xe1863c);const _0x168152=_0x3db800(0x2a7);_0x42b8f3[_0x3db800(0x156)]=class extends _0x5721e1[_0x3db800(0x2e4)]{constructor(_0x39a2be=_0x3b0f99,_0x2ed978,_0xdff2bf,_0x31dd19){const _0x1424db=_0x3db800;super(),this[_0x1424db(0x330)]=_0x39a2be,this[_0x1424db(0x125)]=_0x2ed978,this[_0x1424db(0xed)]=_0xdff2bf,this['_configService']=_0x31dd19;const {..._0x4074de}=_0x5721e1[_0x1424db(0x18e)]({},_0x3b0f99,this[_0x1424db(0x330)]);this[_0x1424db(0x2b3)]['setConfig'](_0x214486,_0x4074de);}[_0x3db800(0x1e0)](){const _0x3f0d13=_0x3db800;this[_0x3f0d13(0x179)](),this[_0x3f0d13(0x372)]();}['onRendered'](){const _0x1f8bd3=_0x3db800;this[_0x1f8bd3(0x192)]();}[_0x3db800(0x179)](){const _0xadb298=_0x3db800;var _0x2545c6;const _0x5484eb=[[_0x2ab1f4],[_0x474fa3],[_0x129f97],[_0x28b209],[_0x13e633],[_0x41a578],[_0x4a64fb,{'useClass':_0x752a44}],[_0x45e398[_0xadb298(0x1c5)],{'useClass':_0x45e398[_0xadb298(0x13e)]}],[_0x115633[_0xadb298(0x1ac)],{'useClass':_0x87e2af}],[_0x42b8f3[_0xadb298(0x255)]],[_0xc6cb38],[_0xa84181],[_0x192c77],[_0x3ae7cf],[_0x42b8f3[_0xadb298(0x362)]]];this[_0xadb298(0x330)][_0xadb298(0x320)]&&_0x5484eb[_0xadb298(0x126)]([_0x2c4f22]),_0x5721e1[_0xadb298(0x213)](this[_0xadb298(0xed)],_0x5721e1['mergeOverrideWithDependencies'](_0x5484eb,(_0x2545c6=this[_0xadb298(0x330)])==null?void 0x0:_0x2545c6[_0xadb298(0x363)]));}[_0x3db800(0x192)](){const _0x5535a8=_0x3db800;this['disposeWithMe'](this[_0x5535a8(0x125)]['registerRenderModule'](_0x5721e1['UniverInstanceType'][_0x5535a8(0x1e1)],[_0x1be4c4])),this[_0x5535a8(0x168)](this['_renderManagerService'][_0x5535a8(0x2b9)](_0x5721e1[_0x5535a8(0x1a7)][_0x5535a8(0x1a3)],[_0x3eec6b]));}[_0x3db800(0x372)](){const _0x2f5bc5=_0x3db800;_0x5721e1['touchDependencies'](this['_injector'],[[_0x192c77],[_0x42b8f3[_0x2f5bc5(0x255)]],[_0xc6cb38],[_0xa84181],[_0x42b8f3[_0x2f5bc5(0x362)]],[_0x474fa3]]),this[_0x2f5bc5(0x330)]['enableFrontendLog']&&_0x5721e1['touchDependencies'](this['_injector'],[[_0x2c4f22]]);}},_0x5353ff(_0x42b8f3[_0x3db800(0x156)],_0x3db800(0x2fb),_0x168152),_0x42b8f3['UniverCollaborationClientUIPlugin']=_0x3d7ba0([_0x5721e1[_0x3db800(0x13d)](_0x115633['UniverCollaborationClientPlugin']),_0x46567e(0x1,_0x585793[_0x3db800(0xd1)]),_0x46567e(0x2,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x1da)])),_0x46567e(0x3,_0x5721e1[_0x3db800(0x1aa)])],_0x42b8f3[_0x3db800(0x156)]);var _0x4d4599=Object[_0x3db800(0x2db)],_0x4800b8=(_0x5043ce,_0x11bc3d,_0x24223a,_0x107ac1)=>{const _0x4bd6dc=_0x3db800;for(var _0x265a70=_0x107ac1>0x1?void 0x0:_0x107ac1?_0x4d4599(_0x11bc3d,_0x24223a):_0x11bc3d,_0x1e47fa=_0x5043ce[_0x4bd6dc(0x165)]-0x1,_0x33aafa;_0x1e47fa>=0x0;_0x1e47fa--)(_0x33aafa=_0x5043ce[_0x1e47fa])&&(_0x265a70=_0x33aafa(_0x265a70)||_0x265a70);return _0x265a70;},_0x1bda34=(_0xa7db08,_0x4001b9)=>(_0x3bdc88,_0x5186d4)=>_0x4001b9(_0x3bdc88,_0x5186d4,_0xa7db08);_0x42b8f3[_0x3db800(0x1b2)]=class extends _0x115633[_0x3db800(0x158)]{constructor(_0x46afd1,_0x30d545,_0x1eed2a,_0x420e32,_0x1c1d97){super(_0x46afd1,_0x30d545,_0x1eed2a,_0x420e32,_0x1c1d97);}async['createSocket'](_0x550457){const _0x56f029=_0x3db800,_0x4c3599=await this[_0x56f029(0x2c3)](),_0xa216a=this[_0x56f029(0xde)](_0x550457,_0x4c3599);return this['_doCreateSocket'](_0xa216a);}[_0x3db800(0xde)](_0x4fa260,_0x285c5a){const _0x981df0=_0x3db800,_0x2abf30=typeof window>'u'?new URL(_0x4fa260):new URL(_0x4fa260,window[_0x981df0(0x13f)][_0x981df0(0x20f)]);_0x2abf30[_0x981df0(0x1f7)][_0x981df0(0x10c)](_0x981df0(0x11d),_0x285c5a);const _0x1a7791=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x981df0(0x13f)][_0x981df0(0x37c)]);return _0x1a7791['get'](_0x981df0(0x2ed))&&_0x2abf30['searchParams'][_0x981df0(0x10c)](_0x981df0(0x2ed),_0x1a7791[_0x981df0(0x31c)]('runId')),_0x2abf30[_0x981df0(0x281)]();}async[_0x3db800(0x2c3)](){const _0xccf088=_0x3db800;var _0x4ff492,_0x50c6d8,_0x41e349;const _0x20f849=this[_0xccf088(0x2b3)][_0xccf088(0x1f6)](_0x115633[_0xccf088(0x351)]),_0x4f22ea=(_0x4ff492=_0x20f849==null?void 0x0:_0x20f849[_0xccf088(0x289)])!=null?_0x4ff492:_0x115633['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x41e349=(_0x50c6d8=(await this[_0xccf088(0x394)][_0xccf088(0x31c)](_0x4f22ea,{'headers':{'Content-Type':_0xccf088(0x275)}}))[_0xccf088(0x14e)])==null?void 0x0:_0x50c6d8[_0xccf088(0x373)])!=null?_0x41e349:'';}},_0x42b8f3[_0x3db800(0x1b2)]=_0x4800b8([_0x1bda34(0x0,_0x5721e1[_0x3db800(0x181)](_0x5721e1[_0x3db800(0x1da)])),_0x1bda34(0x1,_0x5721e1[_0x3db800(0x181)](_0x45e398[_0x3db800(0x254)])),_0x1bda34(0x2,_0x5721e1[_0x3db800(0x1aa)]),_0x1bda34(0x3,_0x5721e1['ILogService']),_0x1bda34(0x4,_0x195720[_0x3db800(0x2cf)])],_0x42b8f3['BrowserCollaborationSocketService']);var _0x1bc577=Object[_0x3db800(0x2db)],_0x27f349=(_0x3e8c03,_0x4f1788,_0x3e2be8,_0x5126c5)=>{const _0x241944=_0x3db800;for(var _0x52cdb8=_0x5126c5>0x1?void 0x0:_0x5126c5?_0x1bc577(_0x4f1788,_0x3e2be8):_0x4f1788,_0x19685c=_0x3e8c03[_0x241944(0x165)]-0x1,_0x29200b;_0x19685c>=0x0;_0x19685c--)(_0x29200b=_0x3e8c03[_0x19685c])&&(_0x52cdb8=_0x29200b(_0x52cdb8)||_0x52cdb8);return _0x52cdb8;},_0x2d77c4=(_0x3434d4,_0x1ac160)=>(_0x329f5f,_0x16b571)=>_0x1ac160(_0x329f5f,_0x16b571,_0x3434d4);_0x42b8f3[_0x3db800(0x226)]=class extends _0x5721e1[_0x3db800(0x27b)]{constructor(_0x5ea8be,_0x3fbf1a,_0x49c70e){const _0x75ec3d=_0x3db800;super(),this[_0x75ec3d(0x136)]=_0x5ea8be,this[_0x75ec3d(0x394)]=_0x3fbf1a,this[_0x75ec3d(0x2b3)]=_0x49c70e;}async[_0x3db800(0x1b4)](_0x5aed12,_0x149f0f,_0x5531c2,..._0x3faf1b){const _0x49f31f=_0x3db800;var _0x381560,_0x4e6c43,_0x1eaaf3,_0x35d0ff;const _0x4d2e75=this['_instanceService'][_0x49f31f(0x36b)]();if(!_0x4d2e75)throw new Error(_0x49f31f(0x348));const _0x4993d2=((_0x381560=this[_0x49f31f(0x2b3)]['getConfig'](_0x115633[_0x49f31f(0x118)]))!=null?_0x381560:_0x115633['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x5aed12+_0x49f31f(0x1f0)+_0x149f0f,_0x298a63=new URL(window['location'][_0x49f31f(0x1c6)]),_0x15c116={'scriptId':_0x5aed12,'runId':(_0x4e6c43=_0x298a63[_0x49f31f(0x1f7)]['get'](_0x49f31f(0x2ed)))!=null?_0x4e6c43:'','function':_0x149f0f,'unitId':_0x4d2e75['getUnitId'](),'argsOfFunction':JSON['stringify'](_0x3faf1b),'invokeId':(_0x1eaaf3=_0x5531c2[_0x49f31f(0x377)])!=null?_0x1eaaf3:'','executionId':(_0x35d0ff=_0x5531c2[_0x49f31f(0x1e6)])!=null?_0x35d0ff:''};try{const _0x5c459f=await this['_httpService'][_0x49f31f(0x3c4)](_0x4993d2,{'body':_0x15c116});return _0x5c459f['body'][_0x49f31f(0x3ce)]&&_0x5c459f['body'][_0x49f31f(0x3ce)][_0x49f31f(0x306)]!==_0xb66710['OK']?_0x49f31f(0x321):_0x5c459f[_0x49f31f(0x14e)][_0x49f31f(0x352)];}catch{return _0x49f31f(0x321);}}},_0x42b8f3[_0x3db800(0x226)]=_0x27f349([_0x2d77c4(0x0,_0x5721e1[_0x3db800(0x24f)]),_0x2d77c4(0x1,_0x5721e1[_0x3db800(0x181)](_0x45e398[_0x3db800(0x254)])),_0x2d77c4(0x2,_0x5721e1['IConfigService'])],_0x42b8f3[_0x3db800(0x226)]);const _0x4ff4cd=0x7530,_0x3e9c9c=_0x3db800(0x116);class _0x5994ca extends _0x5721e1[_0x3db800(0x27b)]{constructor(){const _0x1f5e52=_0x3db800;super(),_0x11fc09(this,'_id',_0x5721e1[_0x1f5e52(0x336)]()),_0x11fc09(this,_0x1f5e52(0x15d),new Set()),_0x11fc09(this,_0x1f5e52(0x36a),new Map()),_0x11fc09(this,_0x1f5e52(0xd7),null),_0x11fc09(this,'_clearOtherTimers',new Map()),_0x11fc09(this,_0x1f5e52(0x214),new Map()),this[_0x1f5e52(0x2e1)]();}[_0x3db800(0x37d)](){const _0x203955=_0x3db800;super[_0x203955(0x37d)](),this[_0x203955(0xd4)]['forEach']((_0x3ea94b,_0x42d77c)=>this['_removeClearOtherTimer'](_0x42d77c)),this[_0x203955(0xd7)]&&window[_0x203955(0x257)](this[_0x203955(0xd7)]);}['getUnitStatus$'](_0x2cbd1a){const _0x108ea0=_0x3db800;return this['_ensureSubject'](_0x2cbd1a)[_0x108ea0(0x138)](_0x3c46fe[_0x108ea0(0x105)]());}[_0x3db800(0x3a8)](_0x3f3574){const _0x238c0c=_0x3db800;this[_0x238c0c(0x15d)][_0x238c0c(0x392)]===0x0&&this[_0x238c0c(0x16b)](),this[_0x238c0c(0x15d)][_0x238c0c(0x1dd)](_0x3f3574),this[_0x238c0c(0x207)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x3f3574],'isForwarded':!0x1});}[_0x3db800(0x2d7)](_0x5ce691){const _0x3d47a8=_0x3db800;this[_0x3d47a8(0x15d)]['delete'](_0x5ce691),this[_0x3d47a8(0x15d)][_0x3d47a8(0x392)]===0x0&&this[_0x3d47a8(0xd7)]&&window[_0x3d47a8(0x257)](this[_0x3d47a8(0xd7)]);}[_0x3db800(0x2e1)](){const _0x56e54b=_0x3db800;this[_0x56e54b(0x168)](_0x5721e1['toDisposable'](_0x3c46fe[_0x56e54b(0x2d6)](window,_0x56e54b(0x381))[_0x56e54b(0x2ce)](_0x18e33f=>{const _0x2a134f=_0x56e54b;if(_0x18e33f[_0x2a134f(0x2f9)]!==_0x3e9c9c||!_0x18e33f[_0x2a134f(0x325)])return;const _0x3e08cc=JSON[_0x2a134f(0x305)](_0x18e33f[_0x2a134f(0x325)]);this[_0x2a134f(0x163)](_0x3e08cc);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x56e54b(0x185)],'unitIDs':Array[_0x56e54b(0x2e8)](this[_0x56e54b(0x15d)])}));}['_handleEvent'](_0x50cfa7){const _0x55469c=_0x3db800;switch(_0x50cfa7['type']){case 0x0:this[_0x55469c(0x318)](_0x50cfa7);break;case 0x1:this[_0x55469c(0x270)](_0x50cfa7);break;case 0x2:this[_0x55469c(0x33b)](_0x50cfa7);break;}}['_handleJoinEvent'](_0x11006c){const _0x3df2c1=_0x3db800,{unitIDs:_0x4c2d20,memberID:_0x470f15,isForwarded:_0x5b4891}=_0x11006c;_0x4c2d20[_0x3df2c1(0x331)](_0x4afb5d=>{const _0x5e2624=_0x3df2c1;if(!_0x5b4891&&this[_0x5e2624(0x36a)][_0x5e2624(0x101)](_0x4afb5d)&&this[_0x5e2624(0x345)](_0x4afb5d)['next'](_0x115633[_0x5e2624(0x2b6)][_0x5e2624(0x1ba)]),!this[_0x5e2624(0x36a)][_0x5e2624(0x101)](_0x4afb5d)||!this['_unitOnClients'][_0x5e2624(0x31c)](_0x4afb5d)[_0x5e2624(0x101)](_0x470f15)){const _0x1b71a8=this[_0x5e2624(0x36a)][_0x5e2624(0x31c)](_0x4afb5d)||new Set();_0x1b71a8[_0x5e2624(0x1dd)](_0x470f15),this[_0x5e2624(0x36a)]['set'](_0x4afb5d,_0x1b71a8),this[_0x5e2624(0x24b)](_0x470f15);}}),_0x5b4891||this['_send']({'type':0x0,'memberID':this[_0x3df2c1(0x185)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x3db800(0x24b)](_0x68dae5){const _0x40d8ca=_0x3db800;this[_0x40d8ca(0x119)](_0x68dae5);const _0x3112c3=window[_0x40d8ca(0x10f)](()=>{const _0x1f180a=_0x40d8ca;this[_0x1f180a(0x36a)][_0x1f180a(0x331)](_0x1eb257=>{_0x1eb257['delete'](_0x68dae5);});},_0x4ff4cd*0x2);this[_0x40d8ca(0xd4)]['set'](_0x68dae5,_0x3112c3);}[_0x3db800(0x119)](_0x4f8459){const _0x4bf9e1=_0x3db800;if(this['_clearOtherTimers']['has'](_0x4f8459)){const _0x37595d=this['_clearOtherTimers'][_0x4bf9e1(0x31c)](_0x4f8459);_0x37595d&&window['clearTimeout'](_0x37595d),this[_0x4bf9e1(0xd4)][_0x4bf9e1(0x10c)](_0x4f8459,null);}}[_0x3db800(0x270)](_0x4a4d05){const _0xb09a31=_0x3db800,{memberID:_0x2dd141,unitIDs:_0x4aad77}=_0x4a4d05;_0x4aad77[_0xb09a31(0x331)](_0x290f57=>{const _0x6073ca=_0xb09a31;var _0x44be9a;const _0x53dfe9=this[_0x6073ca(0x36a)][_0x6073ca(0x31c)](_0x290f57);_0x53dfe9&&(_0x53dfe9[_0x6073ca(0xd6)](_0x2dd141),(_0x44be9a=this[_0x6073ca(0x345)](_0x290f57))==null||_0x44be9a[_0x6073ca(0x1fe)](_0x53dfe9[_0x6073ca(0x392)]===0x0?_0x115633[_0x6073ca(0x2b6)][_0x6073ca(0x1f4)]:_0x115633['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this[_0xb09a31(0x119)](_0x2dd141);}[_0x3db800(0x33b)](_0x5c84c6){const _0x59ca80=_0x3db800;this[_0x59ca80(0x24b)](_0x5c84c6[_0x59ca80(0x34a)]);}[_0x3db800(0x207)](_0x1904b2){const _0x1a5b73=_0x3db800;localStorage[_0x1a5b73(0x335)](_0x3e9c9c,JSON[_0x1a5b73(0x2c2)](_0x1904b2));}[_0x3db800(0x16b)](){const _0xff547f=_0x3db800;this['_heartbeatTimer']=window[_0xff547f(0x189)](()=>{const _0x85ed16=_0xff547f;this[_0x85ed16(0x207)]({'type':0x2,'memberID':this['_id']});},_0x4ff4cd);}[_0x3db800(0x345)](_0x58a17a){const _0x4b469f=_0x3db800;return this[_0x4b469f(0x214)][_0x4b469f(0x101)](_0x58a17a)||this[_0x4b469f(0x214)][_0x4b469f(0x10c)](_0x58a17a,new _0x3c46fe[(_0x4b469f(0x346))](_0x115633[_0x4b469f(0x2b6)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x4b469f(0x214)][_0x4b469f(0x31c)](_0x58a17a);}}_0x42b8f3[_0x3db800(0x180)]=_0x4a64fb,_0x42b8f3[_0x3db800(0x170)]=_0x3d98fb,_0x42b8f3['WebBrowserSingleActiveUnitService']=_0x5994ca,_0x42b8f3[_0x3db800(0xf5)]=_0x752a44,Object[_0x3db800(0x296)](_0x42b8f3,Symbol[_0x3db800(0x25b)],{'value':_0x3db800(0x1ec)});}));
|
|
1
|
+
(function(_0x4d6c64,_0x7aac3d){const _0x54fd06=_0x4e18,_0x2b454c=_0x4d6c64();while(!![]){try{const _0x1dfa62=parseInt(_0x54fd06(0x254))/0x1*(-parseInt(_0x54fd06(0x44e))/0x2)+-parseInt(_0x54fd06(0x1c6))/0x3*(-parseInt(_0x54fd06(0x190))/0x4)+parseInt(_0x54fd06(0x298))/0x5+parseInt(_0x54fd06(0x22d))/0x6*(-parseInt(_0x54fd06(0x305))/0x7)+parseInt(_0x54fd06(0x36e))/0x8+-parseInt(_0x54fd06(0x295))/0x9*(parseInt(_0x54fd06(0x27d))/0xa)+-parseInt(_0x54fd06(0x21f))/0xb*(-parseInt(_0x54fd06(0x44f))/0xc);if(_0x1dfa62===_0x7aac3d)break;else _0x2b454c['push'](_0x2b454c['shift']());}catch(_0x41ad4c){_0x2b454c['push'](_0x2b454c['shift']());}}}(_0x1184,0xe258f),function(_0x2735e7,_0x5f3a06){const _0x100b9c=_0x4e18;typeof exports==_0x100b9c(0x2c5)&&typeof module<'u'?_0x5f3a06(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==_0x100b9c(0x2d3)&&define['amd']?define([_0x100b9c(0x36a),_0x100b9c(0x435),_0x100b9c(0x3bf),_0x100b9c(0x32f),'@univerjs/ui',_0x100b9c(0x235),_0x100b9c(0x1a7),_0x100b9c(0x219),'@univerjs/rpc','@univerjs/sheets',_0x100b9c(0x29c),_0x100b9c(0x42c),'@univerjs/docs-ui','@univerjs/drawing','@univerjs-pro/collaboration',_0x100b9c(0x1b4),_0x100b9c(0x2b8),_0x100b9c(0x203),_0x100b9c(0x271)],_0x5f3a06):(_0x2735e7=typeof globalThis<'u'?globalThis:_0x2735e7||self,_0x5f3a06(_0x2735e7[_0x100b9c(0x256)]={},_0x2735e7['React'],_0x2735e7[_0x100b9c(0x250)],_0x2735e7[_0x100b9c(0x196)],_0x2735e7[_0x100b9c(0x369)],_0x2735e7[_0x100b9c(0x235)],_0x2735e7['UniverDesign'],_0x2735e7[_0x100b9c(0x42f)],_0x2735e7[_0x100b9c(0x3dd)],_0x2735e7[_0x100b9c(0x444)],_0x2735e7['UniverEngineRender'],_0x2735e7['UniverNetwork'],_0x2735e7['UniverDocsUi'],_0x2735e7[_0x100b9c(0x375)],_0x2735e7[_0x100b9c(0x20f)],_0x2735e7['UniverDocs'],_0x2735e7[_0x100b9c(0x45e)],_0x2735e7[_0x100b9c(0x235)][_0x100b9c(0x297)],_0x2735e7[_0x100b9c(0x37e)]));}(this,function(_0x3e0575,_0xc2d37a,_0x4d5f16,_0x1ca8c6,_0x535318,_0x3b6b5a,_0x5cbfd3,_0xa85357,_0x31931b,_0x5a44c7,_0x28adc3,_0x89ff74,_0x15e0d1,_0xc786dd,_0x598d32,_0x449e95,_0x4f0b9d,_0x3d6951,_0x5436e7){'use strict';const _0x1b1e14=_0x4e18;var _0x15dbc0=Object['defineProperty'],_0x1833cb=(_0x2f3e1f,_0x637e57,_0x497d4e)=>_0x637e57 in _0x2f3e1f?_0x15dbc0(_0x2f3e1f,_0x637e57,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x497d4e}):_0x2f3e1f[_0x637e57]=_0x497d4e,_0x215ae7=(_0x3f3123,_0x59b448,_0x4faac6)=>_0x1833cb(_0x3f3123,typeof _0x59b448!=_0x1b1e14(0x3b2)?_0x59b448+'':_0x59b448,_0x4faac6);function _0x5b1c89({ref:_0x3a7d34,..._0x1fbc30}){const _0x3977c4=_0x1b1e14,{icon:_0x3e90fb,id:_0x3f7c54,className:_0x357599,extend:_0x36fb29,..._0x36c195}=_0x1fbc30,_0x2df372=('univerjs-icon\x20univerjs-icon-'+_0x3f7c54+'\x20'+(_0x357599||''))[_0x3977c4(0x46c)](),_0x50169c=_0xa85357['useRef']('_'+_0x33b464());return _0x2b56c7(_0x3e90fb,''+_0x3f7c54,{'defIds':_0x3e90fb[_0x3977c4(0x45b)],'idSuffix':_0x50169c[_0x3977c4(0x3c8)]},{'ref':_0x3a7d34,'className':_0x2df372,..._0x36c195},_0x36fb29);}function _0x2b56c7(_0x45910d,_0x4c5517,_0x2fecc0,_0x39d5d8,_0x3ec5ce){const _0x1f5239=_0x1b1e14;return _0xa85357[_0x1f5239(0x34a)](_0x45910d[_0x1f5239(0x25e)],{'key':_0x4c5517,..._0x56a0e7(_0x45910d,_0x2fecc0,_0x3ec5ce),..._0x39d5d8},(_0xf5c93e(_0x45910d,_0x2fecc0)[_0x1f5239(0x29e)]||[])[_0x1f5239(0x42a)]((_0x3f92a0,_0x334f4e)=>_0x2b56c7(_0x3f92a0,_0x4c5517+'-'+_0x45910d[_0x1f5239(0x25e)]+'-'+_0x334f4e,_0x2fecc0,void 0x0,_0x3ec5ce)));}function _0x56a0e7(_0x18ffc5,_0x3df4c1,_0x324d56){const _0x52c86e=_0x1b1e14,_0x1f1da7={..._0x18ffc5[_0x52c86e(0x423)]};_0x324d56!=null&&_0x324d56[_0x52c86e(0x3a8)]&&_0x1f1da7['fill']===_0x52c86e(0x3a8)&&(_0x1f1da7[_0x52c86e(0x1dc)]=_0x324d56[_0x52c86e(0x3a8)]),_0x18ffc5['tag']===_0x52c86e(0x377)&&_0x1f1da7['id']&&(_0x1f1da7['id']=_0x1f1da7['id']+_0x3df4c1[_0x52c86e(0x286)]),Object[_0x52c86e(0x450)](_0x1f1da7)[_0x52c86e(0x459)](([_0x12655c,_0x819325])=>{const _0xb1a07c=_0x52c86e;_0x12655c===_0xb1a07c(0x377)&&typeof _0x819325==_0xb1a07c(0x3a0)&&(_0x1f1da7[_0x12655c]=_0x819325[_0xb1a07c(0x42e)](/url\(#(.*)\)/,_0xb1a07c(0x23a)+_0x3df4c1['idSuffix']+')'));});const {defIds:_0x44af92}=_0x3df4c1;return!_0x44af92||_0x44af92['length']===0x0||(_0x18ffc5[_0x52c86e(0x25e)]===_0x52c86e(0x3c9)&&_0x1f1da7[_0x52c86e(0x40e)]&&(_0x1f1da7[_0x52c86e(0x40e)]=_0x1f1da7[_0x52c86e(0x40e)]+_0x3df4c1[_0x52c86e(0x286)]),Object[_0x52c86e(0x450)](_0x1f1da7)['forEach'](([_0x4625de,_0x6c3ef5])=>{const _0x3983ae=_0x52c86e;typeof _0x6c3ef5==_0x3983ae(0x3a0)&&(_0x1f1da7[_0x4625de]=_0x6c3ef5[_0x3983ae(0x42e)](/url\(#(.*)\)/,_0x3983ae(0x23a)+_0x3df4c1[_0x3983ae(0x286)]+')'));})),_0x1f1da7;}function _0xf5c93e(_0x1c2afa,_0x5cd38b){const _0x305296=_0x1b1e14;var _0x56cf2c;const {defIds:_0x151a0d}=_0x5cd38b;return!_0x151a0d||_0x151a0d[_0x305296(0x300)]===0x0?_0x1c2afa:_0x1c2afa[_0x305296(0x25e)]===_0x305296(0x3d0)&&((_0x56cf2c=_0x1c2afa[_0x305296(0x29e)])!=null&&_0x56cf2c['length'])?{..._0x1c2afa,'children':_0x1c2afa[_0x305296(0x29e)][_0x305296(0x42a)](_0xbb7889=>typeof _0xbb7889['attrs']['id']==_0x305296(0x3a0)&&_0x151a0d&&_0x151a0d['includes'](_0xbb7889[_0x305296(0x423)]['id'])?{..._0xbb7889,'attrs':{..._0xbb7889[_0x305296(0x423)],'id':_0xbb7889[_0x305296(0x423)]['id']+_0x5cd38b[_0x305296(0x286)]}}:_0xbb7889)}:_0x1c2afa;}function _0x33b464(){const _0x4cc9af=_0x1b1e14;return Math[_0x4cc9af(0x214)]()['toString'](0x24)[_0x4cc9af(0x391)](0x2,0x8);}_0x5b1c89['displayName']=_0x1b1e14(0x2e0);const _0x226ee3={'tag':_0x1b1e14(0x3a2),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x1b1e14(0x392),'viewBox':_0x1b1e14(0x193),'width':_0x1b1e14(0x428),'height':_0x1b1e14(0x428)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x1b1e14(0x38d),'attrs':{'stroke':'currentColor','d':_0x1b1e14(0x24f),'strokeLinecap':_0x1b1e14(0x2a1),'strokeLinejoin':_0x1b1e14(0x2a1),'strokeWidth':1.2}}]},{'tag':_0x1b1e14(0x3d0),'attrs':{},'children':[{'tag':_0x1b1e14(0x2d1),'attrs':{'id':_0x1b1e14(0x3c6)},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x1b1e14(0x189)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x66faef=_0xa85357[_0x1b1e14(0x32c)](function(_0x2e801d,_0xb95bea){const _0x443cd8=_0x1b1e14;return _0xa85357[_0x443cd8(0x34a)](_0x5b1c89,Object[_0x443cd8(0x1f0)]({},_0x2e801d,{'id':_0x443cd8(0x39a),'ref':_0xb95bea,'icon':_0x226ee3}));});_0x66faef['displayName']=_0x1b1e14(0x3ad);const _0x55d447={'tag':'svg','attrs':{'xmlns':_0x1b1e14(0x44d),'fill':_0x1b1e14(0x392),'viewBox':_0x1b1e14(0x1fd),'width':_0x1b1e14(0x428),'height':_0x1b1e14(0x428)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x1b1e14(0x332),'d':_0x1b1e14(0x2b6),'strokeLinecap':_0x1b1e14(0x2a1),'strokeLinejoin':_0x1b1e14(0x2a1),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1b1e14(0x2d1),'attrs':{'id':_0x1b1e14(0x34c)},'children':[{'tag':_0x1b1e14(0x38d),'attrs':{'fill':'white','d':_0x1b1e14(0x189),'transform':_0x1b1e14(0x3a5)}}]}]}],'defIds':[_0x1b1e14(0x34c)]},_0x5717fc=_0xa85357[_0x1b1e14(0x32c)](function(_0xfed718,_0x275480){const _0x97423e=_0x1b1e14;return _0xa85357[_0x97423e(0x34a)](_0x5b1c89,Object[_0x97423e(0x1f0)]({},_0xfed718,{'id':_0x97423e(0x1c7),'ref':_0x275480,'icon':_0x55d447}));});_0x5717fc['displayName']=_0x1b1e14(0x27a);function _0x2ba689(_0x1d4bca){const _0x52173b=_0x1b1e14;switch(_0x1d4bca){case _0x4d5f16[_0x52173b(0x437)][_0x52173b(0x197)]:return _0x52173b(0x3be);case _0x4d5f16[_0x52173b(0x437)][_0x52173b(0x2c6)]:return'collabStatus.conflict';case _0x4d5f16['CollaborationStatus']['FETCH_MISS']:return _0x52173b(0x2d8);case _0x4d5f16[_0x52173b(0x437)]['NOT_COLLAB']:return _0x52173b(0x422);case _0x4d5f16[_0x52173b(0x437)][_0x52173b(0x326)]:case _0x4d5f16[_0x52173b(0x437)][_0x52173b(0x2bb)]:return'collabStatus.syncing';case _0x4d5f16[_0x52173b(0x437)][_0x52173b(0x3b6)]:case _0x4d5f16[_0x52173b(0x437)]['PENDING']:return _0x52173b(0x3e8);}}function _0x4beadc(_0xff0131){const _0x278eda=_0x1b1e14,{status$:_0x1329f9}=_0xff0131,_0x1d7823=_0x535318['useObservable'](_0x1329f9,_0x4d5f16[_0x278eda(0x437)]['NOT_COLLAB']),_0x1f8c40=_0x535318[_0x278eda(0x3c0)](_0x1ca8c6[_0x278eda(0x3fa)]),_0x2f7200=_0x535318[_0x278eda(0x3c0)](_0x4d5f16['CollaborationSessionService']),_0xf645d0=_0x1d7823!==_0x4d5f16['CollaborationStatus'][_0x278eda(0x197)],_0x4bedb6=_0x1f8c40['t'](_0x2ba689(_0x1d7823)),_0x160aff=_0xf645d0?_0xc2d37a['jsx'](_0x5717fc,{}):_0xc2d37a['jsx'](_0x66faef,{}),_0x3a42b9=_0xa85357[_0x278eda(0x279)](()=>{const _0x27d08b=_0x278eda;_0xf645d0||_0x2f7200[_0x27d08b(0x296)]();},[_0xf645d0,_0x2f7200]);function _0x44f5f5(){const _0xd1cf2b=_0x278eda;return _0xc2d37a[_0xd1cf2b(0x229)](_0xd1cf2b(0x424),{'className':_0xd1cf2b(0x1fb),'onClick':_0x3a42b9,'children':[_0xc2d37a[_0xd1cf2b(0x230)](_0xd1cf2b(0x424),{'className':_0x5cbfd3[_0xd1cf2b(0x371)](_0xd1cf2b(0x21d),{'univer-text-green-500':_0xf645d0,'univer-text-red-500':!_0xf645d0}),'children':_0x160aff}),_0xc2d37a[_0xd1cf2b(0x230)](_0xd1cf2b(0x424),{'className':_0xd1cf2b(0x2b2),'children':_0x4bedb6})]});}return _0xf645d0?_0x44f5f5():_0xc2d37a['jsx'](_0x5cbfd3['Tooltip'],{'title':_0x1f8c40['t']('collab-client.tooltip.reconnect'),'children':_0x44f5f5()});}var _0x44b00a=Object[_0x1b1e14(0x1ce)],_0x5417fe=(_0x17e4bf,_0x715fbe,_0x41fb5,_0x57bc8a)=>{for(var _0x1614d0=_0x57bc8a>0x1?void 0x0:_0x57bc8a?_0x44b00a(_0x715fbe,_0x41fb5):_0x715fbe,_0x57d49b=_0x17e4bf['length']-0x1,_0x2bdf8f;_0x57d49b>=0x0;_0x57d49b--)(_0x2bdf8f=_0x17e4bf[_0x57d49b])&&(_0x1614d0=_0x2bdf8f(_0x1614d0)||_0x1614d0);return _0x1614d0;},_0x4ac72a=(_0x1f61ef,_0x49fc65)=>(_0x35c062,_0x3a28f9)=>_0x49fc65(_0x35c062,_0x3a28f9,_0x1f61ef);_0x3e0575[_0x1b1e14(0x413)]=class extends _0x1ca8c6[_0x1b1e14(0x341)]{constructor(_0x41bf5a,_0x589220,_0x4eac14,_0x1e9667){const _0x4a547e=_0x1b1e14;super(),_0x215ae7(this,'_status$',new _0x3b6b5a[(_0x4a547e(0x1b1))](_0x4d5f16['CollaborationStatus']['NOT_COLLAB'])),(this['_univerInstanceService']=_0x41bf5a,this[_0x4a547e(0x28c)]=_0x589220,this[_0x4a547e(0x44a)]=_0x4eac14,this[_0x4a547e(0x404)]=_0x1e9667,this[_0x4a547e(0x320)](),this[_0x4a547e(0x3a7)]());}[_0x1b1e14(0x3a7)](){const _0x17a069=_0x1b1e14;this[_0x17a069(0x215)](this[_0x17a069(0x23d)]['focused$']['pipe'](_0x3b6b5a[_0x17a069(0x185)](()=>{const _0x106092=_0x17a069,_0x569a79=this['_univerInstanceService'][_0x106092(0x282)]();return _0x569a79?this['_collaborationController']['getCollabEntity$'](_0x569a79[_0x106092(0x212)]()):_0x3b6b5a['of'](null);}),_0x3b6b5a['switchMap'](_0x1e0b6a=>_0x1e0b6a?_0x1e0b6a['status$']:_0x3b6b5a['of'](_0x4d5f16[_0x17a069(0x437)][_0x17a069(0x331)])))[_0x17a069(0x3b9)](_0x306da8=>{const _0x593164=_0x17a069;this[_0x593164(0x340)]['next'](_0x306da8);}));}['_initStatusComponent'](){const _0x3020bc=_0x1b1e14;this[_0x3020bc(0x215)](this[_0x3020bc(0x404)]['registerComponent'](_0x535318['BuiltInUIPart'][_0x3020bc(0x38b)],()=>_0x535318['connectInjector'](_0x16519e({'status$':this[_0x3020bc(0x340)][_0x3020bc(0x41a)]()}),this[_0x3020bc(0x28c)])));}},_0x3e0575['DesktopCollaborationStatusDisplayController']=_0x5417fe([_0x4ac72a(0x0,_0x1ca8c6['IUniverInstanceService']),_0x4ac72a(0x1,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x1cd)])),_0x4ac72a(0x2,_0x1ca8c6[_0x1b1e14(0x308)](_0x4d5f16[_0x1b1e14(0x2f5)])),_0x4ac72a(0x3,_0x535318[_0x1b1e14(0x45d)])],_0x3e0575['DesktopCollaborationStatusDisplayController']);function _0x16519e(_0x1b7734){const {status$:_0xd2575a}=_0x1b7734;return function(){const _0xd84626=_0x4e18;return _0xc2d37a[_0xd84626(0x230)](_0x4beadc,{'status$':_0xd2575a});};}const _0x4af2ba=_0x1ca8c6['createIdentifier'](_0x1b1e14(0x2e5));var _0x4c69b0=Object[_0x1b1e14(0x1ce)],_0x985034=(_0x84e65a,_0x120b32,_0x449f5a,_0x2ed8ef)=>{const _0x2dc9ba=_0x1b1e14;for(var _0x2b58ba=_0x2ed8ef>0x1?void 0x0:_0x2ed8ef?_0x4c69b0(_0x120b32,_0x449f5a):_0x120b32,_0x2b185a=_0x84e65a[_0x2dc9ba(0x300)]-0x1,_0x1ca8ef;_0x2b185a>=0x0;_0x2b185a--)(_0x1ca8ef=_0x84e65a[_0x2b185a])&&(_0x2b58ba=_0x1ca8ef(_0x2b58ba)||_0x2b58ba);return _0x2b58ba;},_0x3c20e5=(_0xc62c7d,_0x482dc5)=>(_0x90812e,_0x4f006c)=>_0x482dc5(_0x90812e,_0x4f006c,_0xc62c7d);_0x3e0575['CollaborationDataLoaderController']=class extends _0x1ca8c6[_0x1b1e14(0x2fd)]{constructor(_0xa4c9cf,_0xbf26e4,_0x30475e,_0x1eb89d,_0x6c7346){const _0x508fc6=_0x1b1e14;super(),this['_urlService']=_0xa4c9cf,this[_0x508fc6(0x3e0)]=_0xbf26e4,this['_commandService']=_0x30475e,this[_0x508fc6(0x3fd)]=_0x1eb89d,_0x6c7346?_0x6c7346==null||_0x6c7346[_0x508fc6(0x3b0)]()['then'](()=>this[_0x508fc6(0x2f4)]()):(this[_0x508fc6(0x3e0)]['debug'](_0x508fc6(0x205),_0x508fc6(0x3a3)),this[_0x508fc6(0x2f4)]());}async['_init'](){const _0x1f107f=_0x1b1e14,_0x446af3=this[_0x1f107f(0x451)][_0x1f107f(0x1ac)](_0x1f107f(0x3db)),_0x5e2824=this[_0x1f107f(0x451)][_0x1f107f(0x1ac)]('type'),_0x24a0f9=this[_0x1f107f(0x451)]['getParam'](_0x1f107f(0x362));if(!_0x446af3||!_0x5e2824){this[_0x1f107f(0x3e0)][_0x1f107f(0x213)](_0x1f107f(0x205),_0x1f107f(0x2e3));return;}const _0x344f6b=await this['_dataLoaderService']['loadUnit'](_0x446af3,Number(_0x5e2824),_0x24a0f9);_0x344f6b&&_0x344f6b instanceof _0x1ca8c6['Workbook']&&this[_0x1f107f(0x46d)](_0x344f6b);}async['_setupSubUnitSync'](_0xda9c51){const _0x193c92=_0x1b1e14;await this[_0x193c92(0x18d)](_0xda9c51),_0xda9c51[_0x193c92(0x1be)][_0x193c92(0x22a)](_0x3b6b5a[_0x193c92(0x264)](this[_0x193c92(0x31c)]))[_0x193c92(0x3b9)](_0x22d991=>{const _0x34b24f=_0x193c92;_0x22d991&&this[_0x34b24f(0x1d5)](_0x22d991);}),this['_urlService'][_0x193c92(0x290)][_0x193c92(0x22a)](_0x3b6b5a[_0x193c92(0x264)](this[_0x193c92(0x31c)]))[_0x193c92(0x3b9)](()=>this[_0x193c92(0x18d)](_0xda9c51));}[_0x1b1e14(0x1d5)](_0x24570a,_0x5e440e=!0x1){const _0xf3e8c8=_0x1b1e14,_0x341d03=this[_0xf3e8c8(0x451)]['getParam'](_0xf3e8c8(0x362));_0x24570a[_0xf3e8c8(0x321)]()!==_0x341d03&&this[_0xf3e8c8(0x451)]['setParam']('subunit',_0x24570a['getSheetId'](),_0x5e440e);}async[_0x1b1e14(0x18d)](_0x1bf7c0){const _0x44c890=_0x1b1e14;var _0x410da9;const _0x961576=this[_0x44c890(0x451)]['getParam'](_0x44c890(0x362));if(!_0x961576||!_0x1bf7c0['getSheetBySheetId'](_0x961576)){const _0x2caca6=_0x1bf7c0[_0x44c890(0x1de)]()[0x0],_0xda4fe3=_0x1bf7c0[_0x44c890(0x46b)](_0x2caca6);if(!_0xda4fe3)return;this[_0x44c890(0x1d5)](_0xda4fe3,!0x0),await this[_0x44c890(0x3fb)][_0x44c890(0x2c2)](_0x5a44c7[_0x44c890(0x2a3)]['id'],{'unitId':_0x1bf7c0[_0x44c890(0x212)](),'subUnitId':_0x2caca6});return;}((_0x410da9=_0x1bf7c0[_0x44c890(0x2e6)]())==null?void 0x0:_0x410da9['getSheetId']())!==_0x961576&&await this[_0x44c890(0x3fb)][_0x44c890(0x2c2)](_0x5a44c7['SetWorksheetActivateCommand']['id'],{'unitId':_0x1bf7c0[_0x44c890(0x212)](),'subUnitId':_0x961576});}},_0x3e0575[_0x1b1e14(0x2ab)]=_0x985034([_0x3c20e5(0x0,_0x4af2ba),_0x3c20e5(0x1,_0x1ca8c6[_0x1b1e14(0x353)]),_0x3c20e5(0x2,_0x1ca8c6[_0x1b1e14(0x25a)]),_0x3c20e5(0x3,_0x1ca8c6[_0x1b1e14(0x308)](_0x4d5f16[_0x1b1e14(0x275)])),_0x3c20e5(0x4,_0x1ca8c6[_0x1b1e14(0x2db)](_0x31931b[_0x1b1e14(0x2c1)]))],_0x3e0575[_0x1b1e14(0x2ab)]);var _0x496cfa=Object[_0x1b1e14(0x1ce)],_0x5bc29d=(_0x3beed1,_0x56d1d3,_0x340c00,_0x24242b)=>{const _0x116bd9=_0x1b1e14;for(var _0x310167=_0x24242b>0x1?void 0x0:_0x24242b?_0x496cfa(_0x56d1d3,_0x340c00):_0x56d1d3,_0x1738c4=_0x3beed1[_0x116bd9(0x300)]-0x1,_0x165ed9;_0x1738c4>=0x0;_0x1738c4--)(_0x165ed9=_0x3beed1[_0x1738c4])&&(_0x310167=_0x165ed9(_0x310167)||_0x310167);return _0x310167;},_0x3edb1f=(_0x13ffec,_0x3a45ce)=>(_0x5971ec,_0x530082)=>_0x3a45ce(_0x5971ec,_0x530082,_0x13ffec);let _0x447eea=class extends _0x1ca8c6[_0x1b1e14(0x2fd)]{constructor(_0x1edd1f,_0x2ea2f2){const _0x414aae=_0x1b1e14;super(),this['_docClipboardService']=_0x1edd1f,this[_0x414aae(0x1f5)]=_0x2ea2f2,this[_0x414aae(0x2f4)]();}[_0x1b1e14(0x2f4)](){const _0x4ab98f=_0x1b1e14,_0x238608=this;this[_0x4ab98f(0x215)](this[_0x4ab98f(0x443)][_0x4ab98f(0x3fe)]({'onBeforePasteImage':async _0x3dda2f=>{const _0x2d94d3=_0x4ab98f,_0x53b06b=await _0x238608[_0x2d94d3(0x1f5)][_0x2d94d3(0x30c)](_0x3dda2f);return _0x53b06b?{'source':_0x53b06b[_0x2d94d3(0x2ca)],'imageSourceType':_0x53b06b['imageSourceType']}:null;}}));}};_0x447eea=_0x5bc29d([_0x3edb1f(0x0,_0x15e0d1[_0x1b1e14(0x359)]),_0x3edb1f(0x1,_0xc786dd[_0x1b1e14(0x322)])],_0x447eea);const _0x54d1e9=[_0x1b1e14(0x1da),_0x1b1e14(0x3ae),_0x1b1e14(0x2ed),_0x1b1e14(0x2c8),_0x1b1e14(0x306),_0x1b1e14(0x218)];class _0x4829de extends _0x1ca8c6['Disposable']{constructor(){const _0x3411b7=_0x1b1e14;super(...arguments),_0x215ae7(this,_0x3411b7(0x1f9),new Map()),_0x215ae7(this,'_colorIndex',0x0);}[_0x1b1e14(0x30e)](_0x4536c5){const _0x35747f=_0x1b1e14;if(this[_0x35747f(0x1f9)][_0x35747f(0x33b)](_0x4536c5))return this[_0x35747f(0x1f9)]['get'](_0x4536c5);const _0x584530=_0x54d1e9[this[_0x35747f(0x385)]];return this[_0x35747f(0x385)]=(this[_0x35747f(0x385)]+0x1)%_0x54d1e9[_0x35747f(0x300)],this[_0x35747f(0x1f9)][_0x35747f(0x441)](_0x4536c5,_0x584530),_0x584530;}}function _0x5ecb99(_0x23b393){const _0xb80463=_0x1b1e14;let _0x3b3a3c='';for(const _0x56422e of _0x23b393){const {startOffset:_0x3400e8,endOffset:_0x45514f,isActive:_0x3fe5f6,rangeType:_0x4b4dec,segmentId:_0x3eafb6,segmentPage:_0x32e201}=_0x56422e;_0x3b3a3c[_0xb80463(0x300)]&&(_0x3b3a3c+=','),_0x3b3a3c+=_0x3400e8+':'+_0x45514f+':'+(_0x3fe5f6?'1':'0')+':'+_0x4b4dec+':'+_0x3eafb6+':'+_0x32e201;}return _0x3b3a3c;}function _0x1ecd1e(_0x37f44d){const _0x374ab7=_0x1b1e14,_0x1c674a=_0x37f44d['split'](','),_0x3f40b9=[];for(const _0xf71dd3 of _0x1c674a){const [_0x372b0e,_0x46d4e8,_0x4fe596,_0x370fa2,_0x1a7fae,_0x5065c]=_0xf71dd3['split'](':');_0x3f40b9['push']({'startOffset':Number(_0x372b0e),'endOffset':Number(_0x46d4e8),'collapsed':_0x372b0e===_0x46d4e8,'isActive':_0x4fe596==='1','rangeType':_0x370fa2===_0x1ca8c6[_0x374ab7(0x239)][_0x374ab7(0x21b)]?_0x1ca8c6[_0x374ab7(0x239)]['TEXT']:_0x1ca8c6[_0x374ab7(0x239)][_0x374ab7(0x429)],'segmentId':typeof _0x1a7fae==_0x374ab7(0x3a0)?String(_0x1a7fae):'','segmentPage':Number(_0x5065c!=null?_0x5065c:-0x1)});}return _0x3f40b9[_0x374ab7(0x360)](_0x39ab80=>_0x39ab80[_0x374ab7(0x2a7)])||(_0x3f40b9[0x0][_0x374ab7(0x2a7)]=!0x0),_0x3f40b9;}class _0x4a5f98 extends _0x1ca8c6[_0x1b1e14(0x2fd)]{constructor(){const _0x868f70=_0x1b1e14;super(...arguments),_0x215ae7(this,_0x868f70(0x1cf),new _0x3b6b5a['BehaviorSubject'](null)),_0x215ae7(this,_0x868f70(0x1f3),this[_0x868f70(0x1cf)][_0x868f70(0x41a)]());}[_0x1b1e14(0x1d9)](_0x2246d8){const _0x398d2e=_0x1b1e14,{unitID:_0x31737d,memberID:_0x2b172e,textRanges:_0x593f88}=_0x2246d8,_0x379f38=_0x5ecb99(_0x593f88);if(_0x379f38==='')return;const _0x2a6305={'unitID':_0x31737d,'memberID':_0x2b172e,'selection':_0x379f38};this[_0x398d2e(0x1cf)]['next'](_0x2a6305);}}var _0x25919f=Object[_0x1b1e14(0x1ce)],_0x34d18b=(_0x4b3d90,_0x1e9390,_0x4c67c5,_0x51c3a4)=>{for(var _0x2fcfe5=_0x51c3a4>0x1?void 0x0:_0x51c3a4?_0x25919f(_0x1e9390,_0x4c67c5):_0x1e9390,_0x49ccc8=_0x4b3d90['length']-0x1,_0x4d87f5;_0x49ccc8>=0x0;_0x49ccc8--)(_0x4d87f5=_0x4b3d90[_0x49ccc8])&&(_0x2fcfe5=_0x4d87f5(_0x2fcfe5)||_0x2fcfe5);return _0x2fcfe5;},_0x53970b=(_0xb3aede,_0x4552a9)=>(_0x311987,_0x6faba)=>_0x4552a9(_0x311987,_0x6faba,_0xb3aede);const _0x21f8f1=0x12c,_0x7a051f=0x64;let _0x409fe5=class extends _0x1ca8c6[_0x1b1e14(0x2fd)]{constructor(_0x36345e,_0x76f27e,_0x28c3e3,_0x38aa0a,_0x48618e,_0x43ff11,_0x2083af,_0x1ae7b6,_0x5e94dc){const _0x54c233=_0x1b1e14;super(),_0x215ae7(this,'_online',!0x1),_0x215ae7(this,_0x54c233(0x2f4),!0x1),_0x215ae7(this,_0x54c233(0x281),new _0x3b6b5a[(_0x54c233(0x1b1))](new Map())),_0x215ae7(this,_0x54c233(0x358),this[_0x54c233(0x281)][_0x54c233(0x41a)]()),_0x215ae7(this,_0x54c233(0x2b1),new _0x3b6b5a[(_0x54c233(0x1b1))]([])),_0x215ae7(this,'roomMembers$',this[_0x54c233(0x2b1)][_0x54c233(0x22a)](_0x3b6b5a['debounceTime'](_0x21f8f1))),_0x215ae7(this,_0x54c233(0x257),_0x1ca8c6[_0x54c233(0x1d1)](_0x4c113e=>{const _0x3e641f=_0x54c233,_0x394852={'eventID':_0x598d32['CollaborationEvent'][_0x3e641f(0x243)],'data':{'unitID':this[_0x3e641f(0x30f)],'memberID':this[_0x3e641f(0x2be)][_0x3e641f(0x2fc)](),'selection':_0x5ecb99(_0x4c113e)}};this[_0x3e641f(0x2be)]['send'](_0x394852,this[_0x3e641f(0x30f)]);},_0x7a051f)),(this[_0x54c233(0x30f)]=_0x36345e,this[_0x54c233(0x2be)]=_0x76f27e,this[_0x54c233(0x28c)]=_0x28c3e3,this['_colorAssignService']=_0x38aa0a,this[_0x54c233(0x40c)]=_0x48618e,this['_syncEditingCollabCursorService']=_0x43ff11,this['_transformService']=_0x2083af,this[_0x54c233(0x23d)]=_0x1ae7b6,this[_0x54c233(0x3fb)]=_0x5e94dc);}get['cursorInfo'](){const _0x461b44=_0x1b1e14;return this['_cursorInfo$'][_0x461b44(0x42d)]();}get[_0x1b1e14(0x38c)](){const _0x3db82a=_0x1b1e14;return this[_0x3db82a(0x2b1)]['getValue']();}[_0x1b1e14(0x1cc)](){const _0xda2273=_0x1b1e14;super['dispose'](),this[_0xda2273(0x281)][_0xda2273(0x22e)](new Map()),this[_0xda2273(0x281)][_0xda2273(0x44b)](),this['_roomMembers$'][_0xda2273(0x22e)]([]),this[_0xda2273(0x2b1)][_0xda2273(0x44b)]();}[_0x1b1e14(0x3f9)](){const _0xa08e13=_0x1b1e14;this[_0xa08e13(0x2f4)]||(this[_0xa08e13(0x2f4)]=!0x0,this[_0xa08e13(0x2be)][_0xa08e13(0x1ab)][_0xa08e13(0x22a)](_0x3b6b5a[_0xa08e13(0x264)](this[_0xa08e13(0x31c)]))['subscribe'](_0x9692f4=>{const _0x4febd1=_0xa08e13;_0x9692f4===_0x4d5f16[_0x4febd1(0x3b7)][_0x4febd1(0x41c)]?this[_0x4febd1(0x3c5)]():this['_toggleOffline']();}),this['_session']['event$']['pipe'](_0x3b6b5a[_0xa08e13(0x264)](this[_0xa08e13(0x31c)]))[_0xa08e13(0x3b9)](_0x102d7d=>{const _0xb101b6=_0xa08e13,_0xe9d5f9=_0x102d7d[_0xb101b6(0x367)];_0xe9d5f9===_0x598d32[_0xb101b6(0x421)][_0xb101b6(0x243)]&&this[_0xb101b6(0x1e4)](_0x102d7d),_0xe9d5f9===_0x598d32[_0xb101b6(0x421)][_0xb101b6(0x36d)]&&this['_onCursorDelete'](_0x102d7d);}),this['disposeWithMe'](this['_commandService'][_0xa08e13(0x27f)](_0x26c90d=>{const _0x41aaf7=_0xa08e13,_0x2cc23d=_0x26c90d[_0x41aaf7(0x309)];_0x2cc23d!=null&&this[_0x41aaf7(0x345)]&&_0x26c90d['id']===_0x449e95[_0x41aaf7(0x259)]['id']&&_0x2cc23d[_0x41aaf7(0x3da)]===this[_0x41aaf7(0x30f)]&&_0x2cc23d[_0x41aaf7(0x1ed)]===!0x1&&_0x2cc23d[_0x41aaf7(0x316)][_0x41aaf7(0x300)]>0x0&&this[_0x41aaf7(0x257)](_0x2cc23d[_0x41aaf7(0x316)]);})),this[_0xa08e13(0x370)][_0xa08e13(0x1f3)][_0xa08e13(0x22a)](_0x3b6b5a[_0xa08e13(0x264)](this['dispose$']))[_0xa08e13(0x3b9)](_0x3c78dc=>{const _0x446daa=_0xa08e13;if((_0x3c78dc==null?void 0x0:_0x3c78dc[_0x446daa(0x30f)])!==this[_0x446daa(0x30f)])return;const _0x125961={'eventID':_0x598d32[_0x446daa(0x421)][_0x446daa(0x243)],'data':_0x3c78dc};this[_0x446daa(0x1e4)](_0x125961);}),this[_0xa08e13(0x215)](this[_0xa08e13(0x3fb)]['onCommandExecuted'](_0x1df581=>{const _0x5e03a7=_0xa08e13;if(_0x1df581[_0x5e03a7(0x309)]==null)return;const _0x198016=_0x1df581[_0x5e03a7(0x309)];if(_0x1df581['id']!==_0x449e95[_0x5e03a7(0x2da)]['id']||_0x198016[_0x5e03a7(0x3da)]!==this[_0x5e03a7(0x30f)])return;const _0x5a1c01={'id':_0x5e03a7(0x354),'params':_0x198016},_0x1573d0=this['cursorInfo'];for(const [_0x59be55,_0x37dac7]of _0x1573d0){const _0x159989={'id':_0x5e03a7(0x354),'params':{'unitId':this[_0x5e03a7(0x30f)],'actions':null,'textRanges':_0x37dac7[_0x5e03a7(0x316)]}},_0x312a0e=this['_transformService'][_0x5e03a7(0x398)](_0x5a1c01,_0x159989,!0x1);if(_0x598d32[_0x5e03a7(0x1af)](_0x312a0e))throw _0x312a0e['error'];_0x1573d0[_0x5e03a7(0x441)](_0x59be55,{..._0x37dac7,'ranges':_0x312a0e[_0x5e03a7(0x384)][_0x5e03a7(0x309)][_0x5e03a7(0x40b)]});}queueMicrotask(()=>{const _0x305a83=_0x5e03a7;this[_0x305a83(0x281)][_0x305a83(0x22e)](_0x1573d0);});})));}[_0x1b1e14(0x1e4)](_0x8121ed){const _0x29b366=_0x1b1e14;var _0x58bab3,_0x5b4313;const {memberID:_0x21c2f7,selection:_0x4a4e2e}=_0x8121ed['data'],_0x4ccc34=_0x1ecd1e(_0x4a4e2e),_0x3711e0=(_0x5b4313=(_0x58bab3=this[_0x29b366(0x40c)][_0x29b366(0x200)](this[_0x29b366(0x30f)],_0x21c2f7))==null?void 0x0:_0x58bab3[_0x29b366(0x184)])!=null?_0x5b4313:'Unknown\x20user',_0x22fb42={'color':this[_0x29b366(0x338)][_0x29b366(0x30e)](_0x21c2f7),'name':_0x3711e0,'ranges':_0x4ccc34},_0x158220=this['cursorInfo'];_0x158220['set'](_0x21c2f7,_0x22fb42),this['_cursorInfo$'][_0x29b366(0x22e)](_0x158220);}[_0x1b1e14(0x2e9)](_0xf9bdd7){const _0x3a8dc9=_0x1b1e14,{memberID:_0x54550f}=_0xf9bdd7[_0x3a8dc9(0x45f)],_0x766e32=this['cursorInfo'];_0x766e32[_0x3a8dc9(0x1c0)](_0x54550f),this[_0x3a8dc9(0x281)][_0x3a8dc9(0x22e)](_0x766e32);}[_0x1b1e14(0x3c5)](){const _0xf75595=_0x1b1e14;var _0x230a11;if(this[_0xf75595(0x345)]=!0x0,((_0x230a11=this[_0xf75595(0x23d)][_0xf75595(0x282)]())==null?void 0x0:_0x230a11[_0xf75595(0x212)]())!==this['unitID'])return;const _0x41e3ac=this[_0xf75595(0x28c)]['get'](_0x449e95[_0xf75595(0x1bd)])[_0xf75595(0x23b)]();Array[_0xf75595(0x1fa)](_0x41e3ac)&&_0x41e3ac[_0xf75595(0x300)]>0x0&&this[_0xf75595(0x257)](_0x41e3ac);}[_0x1b1e14(0x1e3)](){this['_online']=!0x1;}};_0x409fe5=_0x34d18b([_0x53970b(0x2,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x1cd)])),_0x53970b(0x3,_0x1ca8c6[_0x1b1e14(0x308)](_0x4829de)),_0x53970b(0x4,_0x1ca8c6['Inject'](_0x4d5f16[_0x1b1e14(0x462)])),_0x53970b(0x5,_0x1ca8c6[_0x1b1e14(0x308)](_0x4a5f98)),_0x53970b(0x6,_0x598d32['ITransformService']),_0x53970b(0x7,_0x1ca8c6[_0x1b1e14(0x3af)]),_0x53970b(0x8,_0x1ca8c6[_0x1b1e14(0x25a)])],_0x409fe5);var _0xefe886=Object[_0x1b1e14(0x1ce)],_0x3f7599=(_0x22e6e1,_0x5d4579,_0x396bf4,_0x3f9604)=>{const _0x5b5102=_0x1b1e14;for(var _0x3c2b76=_0x3f9604>0x1?void 0x0:_0x3f9604?_0xefe886(_0x5d4579,_0x396bf4):_0x5d4579,_0x425296=_0x22e6e1[_0x5b5102(0x300)]-0x1,_0x71599a;_0x425296>=0x0;_0x425296--)(_0x71599a=_0x22e6e1[_0x425296])&&(_0x3c2b76=_0x71599a(_0x3c2b76)||_0x3c2b76);return _0x3c2b76;},_0x5a5c75=(_0x1dbd7e,_0x410fcc)=>(_0x30972a,_0x1249ef)=>_0x410fcc(_0x30972a,_0x1249ef,_0x1dbd7e);const _0x51e9ef=0x12c,_0x423c5d=0x64,_0x1dfdb4=()=>{let _0x105d8c=[],_0x2e4912=!0x1;return _0x1fbe0b=>{_0x105d8c['push'](_0x1fbe0b),_0x2e4912||(_0x2e4912=!0x0,setTimeout(()=>{const _0x909956=_0x4e18;_0x105d8c[_0x909956(0x459)](_0x3eb54a=>_0x3eb54a()),_0x105d8c=[],_0x2e4912=!0x1;}));};};let _0x526322=class extends _0x1ca8c6[_0x1b1e14(0x2fd)]{constructor(_0xa4741e,_0x4eb23f,_0x22c642,_0x383169,_0x50fa62,_0x6bbdc7,_0x37f2e3,_0x762af1){const _0x431e32=_0x1b1e14;super(),_0x215ae7(this,_0x431e32(0x345),!0x1),_0x215ae7(this,_0x431e32(0x2f4),!0x1),_0x215ae7(this,_0x431e32(0x281),new _0x3b6b5a[(_0x431e32(0x1b1))](new Map())),_0x215ae7(this,_0x431e32(0x358),this[_0x431e32(0x281)][_0x431e32(0x41a)]()),_0x215ae7(this,_0x431e32(0x2b1),new _0x3b6b5a['BehaviorSubject']([])),_0x215ae7(this,_0x431e32(0x403),this[_0x431e32(0x2b1)][_0x431e32(0x22a)](_0x3b6b5a['debounceTime'](_0x51e9ef))),_0x215ae7(this,_0x431e32(0x257),_0x1ca8c6[_0x431e32(0x1d1)]((_0x17bcbb,_0x213626)=>{const _0xfd25e7=_0x431e32,_0x58d87e={'eventID':_0x598d32[_0xfd25e7(0x421)]['UPDATE_CURSOR'],'data':{'unitID':this[_0xfd25e7(0x30f)],'memberID':this['_session'][_0xfd25e7(0x2fc)](),'selection':_0x4f0b9d[_0xfd25e7(0x2c3)](_0x17bcbb,_0x213626[_0xfd25e7(0x449)])}};this[_0xfd25e7(0x2be)][_0xfd25e7(0x467)](_0x58d87e,this[_0xfd25e7(0x30f)]);},_0x423c5d)),(this[_0x431e32(0x30f)]=_0xa4741e,this[_0x431e32(0x2be)]=_0x4eb23f,this[_0x431e32(0x28c)]=_0x22c642,this[_0x431e32(0x338)]=_0x383169,this['_memberService']=_0x50fa62,this[_0x431e32(0x23d)]=_0x6bbdc7,this[_0x431e32(0x3fb)]=_0x37f2e3,this[_0x431e32(0x1e5)]=_0x762af1);}get[_0x1b1e14(0x29a)](){const _0xeba569=_0x1b1e14;return this[_0xeba569(0x281)][_0xeba569(0x42d)]();}get[_0x1b1e14(0x38c)](){const _0x3986c7=_0x1b1e14;return this[_0x3986c7(0x2b1)]['getValue']();}['dispose'](){const _0x45fc0a=_0x1b1e14;super['dispose'](),this[_0x45fc0a(0x281)][_0x45fc0a(0x22e)](new Map()),this[_0x45fc0a(0x281)]['complete'](),this[_0x45fc0a(0x2b1)][_0x45fc0a(0x22e)]([]),this[_0x45fc0a(0x2b1)]['complete']();}[_0x1b1e14(0x3f9)](){const _0x312756=_0x1b1e14;this['_init']||(this['_init']=!0x0,this['_session']['sessionStatus$'][_0x312756(0x22a)](_0x3b6b5a[_0x312756(0x264)](this[_0x312756(0x31c)]))[_0x312756(0x3b9)](_0x30658a=>{const _0x569c15=_0x312756;_0x30658a===_0x4d5f16[_0x569c15(0x3b7)][_0x569c15(0x41c)]?this[_0x569c15(0x3c5)]():this[_0x569c15(0x1e3)]();}),this[_0x312756(0x2be)][_0x312756(0x31e)][_0x312756(0x22a)](_0x3b6b5a[_0x312756(0x264)](this[_0x312756(0x31c)]))[_0x312756(0x3b9)](_0x19cc77=>{const _0x37cdde=_0x312756,_0x58bfde=_0x19cc77[_0x37cdde(0x367)];_0x58bfde===_0x598d32[_0x37cdde(0x421)][_0x37cdde(0x243)]&&this[_0x37cdde(0x1e4)](_0x19cc77),_0x58bfde===_0x598d32[_0x37cdde(0x421)][_0x37cdde(0x36d)]&&this[_0x37cdde(0x2e9)](_0x19cc77);}),this[_0x312756(0x2c7)](),this[_0x312756(0x215)](this[_0x312756(0x3fb)][_0x312756(0x27f)](_0x34d9cc=>{const _0x562a78=_0x312756;if(this[_0x562a78(0x345)]&&_0x34d9cc['id']===_0x5a44c7[_0x562a78(0x24c)]['id']&&_0x34d9cc[_0x562a78(0x309)][_0x562a78(0x3da)]===this[_0x562a78(0x30f)]){const _0x4afa97=_0x34d9cc[_0x562a78(0x309)];this['_updateLocalCursor'](_0x4afa97[_0x562a78(0x19a)],_0x4afa97[_0x562a78(0x40a)][0x0]);}})));}['_onCursorUpdate'](_0x2875bb){const _0x1762b0=_0x1b1e14;var _0x32a7bd,_0x5c920d;const {memberID:_0x29c045,selection:_0x28c613}=_0x2875bb['data'],{sheetName:_0x441413,range:_0x1666c8}=_0x4f0b9d[_0x1762b0(0x3eb)](_0x28c613),_0x42afbe={'name':(_0x5c920d=(_0x32a7bd=this[_0x1762b0(0x40c)][_0x1762b0(0x200)](this['unitID'],_0x29c045))==null?void 0x0:_0x32a7bd[_0x1762b0(0x184)])!=null?_0x5c920d:_0x1762b0(0x442),'range':this[_0x1762b0(0x294)](_0x441413,_0x1666c8),'sheetID':_0x441413,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x29c045),'selection':_0x28c613},_0x16724b=this[_0x1762b0(0x29a)];_0x16724b[_0x1762b0(0x441)](_0x29c045,_0x42afbe),this[_0x1762b0(0x281)][_0x1762b0(0x22e)](_0x16724b);}['_onCursorDelete'](_0x1bbcbc){const _0x12e198=_0x1b1e14,{memberID:_0x16b4ca}=_0x1bbcbc[_0x12e198(0x45f)],_0x935b5f=this[_0x12e198(0x29a)];_0x935b5f[_0x12e198(0x1c0)](_0x16b4ca),this[_0x12e198(0x281)]['next'](_0x935b5f);}[_0x1b1e14(0x294)](_0x521352,_0x3a1da1){const _0x61a532=_0x1b1e14;var _0x1a5a14,_0x54d133;const _0xc3f140=(_0x54d133=(_0x1a5a14=this['_univerInstanceService'][_0x61a532(0x25d)](this[_0x61a532(0x30f)]))==null?void 0x0:_0x1a5a14['getSheetBySheetId'](_0x521352))==null?void 0x0:_0x54d133[_0x61a532(0x431)]();return(_0xc3f140==null?void 0x0:_0xc3f140[_0x61a532(0x410)](_0x13e4d5=>_0x1ca8c6[_0x61a532(0x2e4)]['contains'](_0x13e4d5,_0x3a1da1)))||_0x3a1da1;}[_0x1b1e14(0x2c7)](){const _0x493d62=_0x1b1e14,_0xc7b5d=new _0x1ca8c6[(_0x493d62(0x234))](),_0x307c20=_0x1dfdb4(),_0x400e0c=()=>{const _0x13bf2c=_0x493d62;_0xc7b5d['dispose']();const _0x14aa77=(_0x15801f,_0xbae123,_0x641796,_0x1ffc52)=>{const _0x46a7db=_0x4e18;let _0x61cf6f=[];switch(_0x15801f['id']){case _0x5a44c7['EffectRefRangId'][_0x46a7db(0x28d)]:{_0x61cf6f=_0x5a44c7[_0x46a7db(0x28b)](_0x15801f,_0x1ffc52);break;}case _0x5a44c7[_0x46a7db(0x3ab)][_0x46a7db(0x2a0)]:{_0x61cf6f=_0x5a44c7[_0x46a7db(0x1c2)](_0x15801f,_0x1ffc52);break;}case _0x5a44c7[_0x46a7db(0x3ab)]['InsertColCommandId']:{_0x61cf6f=_0x5a44c7['handleInsertCol'](_0x15801f,_0x1ffc52);break;}case _0x5a44c7[_0x46a7db(0x3ab)][_0x46a7db(0x2a4)]:{_0x61cf6f=_0x5a44c7['handleInsertRangeMoveDown'](_0x15801f,_0x1ffc52);break;}case _0x5a44c7[_0x46a7db(0x3ab)][_0x46a7db(0x402)]:{_0x61cf6f=_0x5a44c7['handleInsertRangeMoveRight'](_0x15801f,_0x1ffc52);break;}case _0x5a44c7['EffectRefRangId'][_0x46a7db(0x302)]:{_0x61cf6f=_0x5a44c7[_0x46a7db(0x34e)](_0x15801f,_0x1ffc52);break;}case _0x5a44c7[_0x46a7db(0x3ab)][_0x46a7db(0x455)]:{_0x61cf6f=_0x5a44c7[_0x46a7db(0x335)](_0x15801f,_0x1ffc52);break;}case _0x5a44c7[_0x46a7db(0x3ab)]['RemoveColCommandId']:{_0x61cf6f=_0x5a44c7[_0x46a7db(0x430)](_0x15801f,_0x1ffc52);break;}case _0x5a44c7[_0x46a7db(0x3ab)][_0x46a7db(0x18a)]:{_0x61cf6f=_0x5a44c7['handleIRemoveRow'](_0x15801f,_0x1ffc52);break;}}const _0x2395b6=_0x5a44c7[_0x46a7db(0x3ef)](_0x61cf6f,_0x1ffc52),_0x321b4a=this[_0x46a7db(0x29a)][_0x46a7db(0x318)](_0xbae123);if(_0x321b4a&&_0x2395b6){const _0xbb0791={..._0x321b4a,'range':_0x2395b6};this[_0x46a7db(0x29a)][_0x46a7db(0x441)](_0xbae123,_0xbb0791),_0x307c20(()=>{const _0x2b6268=_0x46a7db,_0x2d3cb0=this[_0x2b6268(0x1e5)][_0x2b6268(0x19f)](_0x2395b6,_0x487d46=>(_0x2d3cb0[_0x2b6268(0x1cc)](),_0x14aa77(_0x487d46,_0xbae123,_0x641796,_0x2395b6)));_0xc7b5d[_0x2b6268(0x231)](_0x2d3cb0);});}return{'redos':[],'undos':[]};};this[_0x13bf2c(0x29a)][_0x13bf2c(0x459)]((_0x380627,_0x4dade1)=>{const _0x4c64d5=_0x13bf2c,{range:_0x3a908e,sheetID:_0x3319c4}=_0x380627,_0x5b8e22=this[_0x4c64d5(0x1e5)][_0x4c64d5(0x19f)](_0x3a908e,_0x4253ea=>(_0x5b8e22['dispose'](),_0x14aa77(_0x4253ea,_0x4dade1,_0x3319c4,_0x3a908e)));_0xc7b5d[_0x4c64d5(0x231)](_0x5b8e22);});};this['disposeWithMe'](_0x1ca8c6[_0x493d62(0x226)](this[_0x493d62(0x281)]['subscribe'](()=>{_0x400e0c();})));}['_toggleOnline'](){const _0x3df6ac=_0x1b1e14;var _0x30a333,_0x5c08f2;if(this['_online']=!0x0,((_0x30a333=this[_0x3df6ac(0x23d)][_0x3df6ac(0x282)]())==null?void 0x0:_0x30a333[_0x3df6ac(0x212)]())!==this[_0x3df6ac(0x30f)])return;const _0x2bab0b=(_0x5c08f2=this[_0x3df6ac(0x28c)][_0x3df6ac(0x318)](_0x5a44c7[_0x3df6ac(0x263)])[_0x3df6ac(0x1f1)]())==null?void 0x0:_0x5c08f2[0x0],_0x2f0f14=this[_0x3df6ac(0x23d)][_0x3df6ac(0x1fe)](_0x1ca8c6[_0x3df6ac(0x30b)][_0x3df6ac(0x3de)])[_0x3df6ac(0x2e6)]();_0x2bab0b&&_0x2f0f14&&this[_0x3df6ac(0x257)](_0x2f0f14[_0x3df6ac(0x321)](),_0x2bab0b);}[_0x1b1e14(0x1e3)](){this['_online']=!0x1;}};_0x526322=_0x3f7599([_0x5a5c75(0x2,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x1cd)])),_0x5a5c75(0x3,_0x1ca8c6['Inject'](_0x4829de)),_0x5a5c75(0x4,_0x1ca8c6[_0x1b1e14(0x308)](_0x4d5f16[_0x1b1e14(0x462)])),_0x5a5c75(0x5,_0x1ca8c6[_0x1b1e14(0x3af)]),_0x5a5c75(0x6,_0x1ca8c6[_0x1b1e14(0x25a)]),_0x5a5c75(0x7,_0x1ca8c6['Inject'](_0x5a44c7[_0x1b1e14(0x33e)]))],_0x526322);var _0x562835=Object[_0x1b1e14(0x1ce)],_0x103ff4=(_0x1ea899,_0x238bb2,_0xb0dc17,_0x23055c)=>{const _0x1d6ac0=_0x1b1e14;for(var _0x286ab9=_0x23055c>0x1?void 0x0:_0x23055c?_0x562835(_0x238bb2,_0xb0dc17):_0x238bb2,_0x16c5fc=_0x1ea899[_0x1d6ac0(0x300)]-0x1,_0x108087;_0x16c5fc>=0x0;_0x16c5fc--)(_0x108087=_0x1ea899[_0x16c5fc])&&(_0x286ab9=_0x108087(_0x286ab9)||_0x286ab9);return _0x286ab9;},_0x210ced=(_0xc768be,_0x14f238)=>(_0x10b24e,_0x2a1a11)=>_0x14f238(_0x10b24e,_0x2a1a11,_0xc768be);let _0x3bc722=class extends _0x1ca8c6[_0x1b1e14(0x2fd)]{constructor(_0x72d0c4,_0x1a25a4,_0x55cfd6){const _0x41e7fb=_0x1b1e14;super(),_0x215ae7(this,'_entities',new Map()),_0x215ae7(this,'_entityInit$',new _0x3b6b5a[(_0x41e7fb(0x19d))]()),(this[_0x41e7fb(0x23d)]=_0x72d0c4,this[_0x41e7fb(0x28c)]=_0x1a25a4,this['_collabSessionService']=_0x55cfd6,this['_init']());}[_0x1b1e14(0x1cc)](){const _0x10a0c2=_0x1b1e14;super['dispose'](),this[_0x10a0c2(0x1c1)]['complete'](),this[_0x10a0c2(0x224)][_0x10a0c2(0x459)](_0x316d31=>_0x316d31['dispose']());}['getCollabCursors$'](_0x1ac46c){const _0x47619d=_0x1b1e14;return this[_0x47619d(0x224)][_0x47619d(0x33b)](_0x1ac46c)?this['_entities'][_0x47619d(0x318)](_0x1ac46c)[_0x47619d(0x358)]:this['_entityInit$'][_0x47619d(0x22a)](_0x3b6b5a[_0x47619d(0x195)](_0x32a46d=>_0x32a46d[_0x47619d(0x30f)]===_0x1ac46c),_0x3b6b5a[_0x47619d(0x185)](_0xaea62a=>_0xaea62a[_0x47619d(0x358)]));}['_init'](){const _0x21b2e9=_0x1b1e14;this[_0x21b2e9(0x23d)]['getTypeOfUnitAdded$'](_0x1ca8c6['UniverInstanceType'][_0x21b2e9(0x3de)])[_0x21b2e9(0x22a)](_0x3b6b5a['takeUntil'](this['dispose$']))['subscribe'](async _0x500423=>{const _0x2bb539=_0x21b2e9,_0x4dc9a6=_0x500423[_0x2bb539(0x212)](),_0x5ba8d2=await this[_0x2bb539(0x303)](_0x4dc9a6);this[_0x2bb539(0x1c1)][_0x2bb539(0x22e)](_0x5ba8d2),this[_0x2bb539(0x224)][_0x2bb539(0x441)](_0x4dc9a6,_0x5ba8d2);}),this['_univerInstanceService'][_0x21b2e9(0x382)](_0x1ca8c6[_0x21b2e9(0x30b)][_0x21b2e9(0x3b3)])[_0x21b2e9(0x22a)](_0x3b6b5a['takeUntil'](this['dispose$']))[_0x21b2e9(0x22a)](_0x3b6b5a[_0x21b2e9(0x195)](_0x35772e=>!_0x35772e[_0x21b2e9(0x212)]()[_0x21b2e9(0x283)]('__')))['subscribe'](async _0x67eb93=>{const _0xf5f10c=_0x21b2e9,_0x51e4b7=_0x67eb93['getUnitId'](),_0x2bd190=await this['_startDocCollabCursor'](_0x51e4b7);this[_0xf5f10c(0x1c1)][_0xf5f10c(0x22e)](_0x2bd190),this[_0xf5f10c(0x224)][_0xf5f10c(0x441)](_0x51e4b7,_0x2bd190);}),_0x3b6b5a['merge'](this[_0x21b2e9(0x23d)][_0x21b2e9(0x3b8)](_0x1ca8c6[_0x21b2e9(0x30b)][_0x21b2e9(0x3b3)]),this[_0x21b2e9(0x23d)][_0x21b2e9(0x3b8)](_0x1ca8c6[_0x21b2e9(0x30b)][_0x21b2e9(0x3de)]))['pipe'](_0x3b6b5a[_0x21b2e9(0x264)](this[_0x21b2e9(0x31c)]))[_0x21b2e9(0x3b9)](_0x1ea171=>{const _0x1c0229=_0x21b2e9,_0x2a58af=_0x1ea171[_0x1c0229(0x212)](),_0x20e8a1=this['_entities'][_0x1c0229(0x318)](_0x2a58af);_0x20e8a1&&(_0x20e8a1['dispose'](),this[_0x1c0229(0x224)][_0x1c0229(0x1c0)](_0x2a58af));});}async['_startSheetCollabCursor'](_0x2c1e6a){const _0x1d58ed=_0x1b1e14,_0x195e81=await this[_0x1d58ed(0x26e)][_0x1d58ed(0x344)](_0x2c1e6a),_0x27e3c4=this[_0x1d58ed(0x28c)][_0x1d58ed(0x28a)](_0x526322,_0x2c1e6a,_0x195e81);return _0x27e3c4[_0x1d58ed(0x3f9)](),_0x27e3c4;}async[_0x1b1e14(0x201)](_0x4f690a){const _0x33c831=_0x1b1e14,_0x25404a=await this[_0x33c831(0x26e)][_0x33c831(0x344)](_0x4f690a),_0x135e5b=this['_injector'][_0x33c831(0x28a)](_0x409fe5,_0x4f690a,_0x25404a);return _0x135e5b[_0x33c831(0x3f9)](),_0x135e5b;}};_0x3bc722=_0x103ff4([_0x210ced(0x0,_0x1ca8c6[_0x1b1e14(0x3af)]),_0x210ced(0x1,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x1cd)])),_0x210ced(0x2,_0x1ca8c6[_0x1b1e14(0x308)](_0x4d5f16[_0x1b1e14(0x2ad)]))],_0x3bc722);const _0x178bb8=0x14,_0x2203b8=0xc8,_0x33ca65=0x4,_0x398e3c=0x5;function _0x52bcdd(_0x427560,_0x21a652){const _0x5a0946=_0x1b1e14;let {radius:_0xceb3e1,width:_0xed4a69,height:_0x2d5ed5}=_0x21a652;_0xceb3e1=_0xceb3e1!=null?_0xceb3e1:0x0,_0xed4a69=_0xed4a69!=null?_0xed4a69:0x1e,_0x2d5ed5=_0x2d5ed5!=null?_0x2d5ed5:0x1e;let _0x23cb97=0x0,_0x2fb2f1=0x0,_0x490a7c=0x0;_0x23cb97=_0x2fb2f1=_0x490a7c=Math[_0x5a0946(0x2c0)](_0xceb3e1,_0xed4a69/0x2,_0x2d5ed5/0x2),_0x427560[_0x5a0946(0x35b)](),_0x427560[_0x5a0946(0x2ae)](_0x23cb97,0x0),_0x427560[_0x5a0946(0x2d0)](_0xed4a69-_0x2fb2f1,0x0),_0x427560[_0x5a0946(0x1b0)](_0xed4a69-_0x2fb2f1,_0x2fb2f1,_0x2fb2f1,Math['PI']*0x3/0x2,0x0,!0x1),_0x427560['lineTo'](_0xed4a69,_0x2d5ed5-_0x490a7c),_0x427560[_0x5a0946(0x1b0)](_0xed4a69-_0x490a7c,_0x2d5ed5-_0x490a7c,_0x490a7c,0x0,Math['PI']/0x2,!0x1),_0x427560['lineTo'](0x0,_0x2d5ed5),_0x427560[_0x5a0946(0x2d0)](0x0,_0x23cb97),_0x427560[_0x5a0946(0x1b0)](_0x23cb97,_0x23cb97,_0x23cb97,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x427560['closePath'](),_0x21a652[_0x5a0946(0x1dc)]&&(_0x427560['save'](),_0x427560[_0x5a0946(0x33f)]=_0x21a652[_0x5a0946(0x1dc)],_0x21a652[_0x5a0946(0x3cf)]===_0x5a0946(0x223)?_0x427560[_0x5a0946(0x1dc)]('evenodd'):_0x427560['fill'](),_0x427560['restore']());}class _0x407ea4 extends _0x28adc3[_0x1b1e14(0x3f7)]{constructor(_0x28eb2b,_0x32a9ab){const _0x2745dc=_0x1b1e14;super(_0x28eb2b,_0x32a9ab),_0x215ae7(this,_0x2745dc(0x35f)),_0x215ae7(this,_0x2745dc(0x3d3)),(this[_0x2745dc(0x35f)]=_0x32a9ab==null?void 0x0:_0x32a9ab[_0x2745dc(0x35f)],this[_0x2745dc(0x3d3)]=_0x32a9ab==null?void 0x0:_0x32a9ab['text']);}static[_0x1b1e14(0x434)](_0xa1979b,_0xa9b811){const _0xd20178=_0x1b1e14,{text:_0x240c79,color:_0x1d5a32}=_0xa9b811;_0xa1979b[_0xd20178(0x42b)](),_0xa1979b[_0xd20178(0x236)]=_0xd20178(0x2f3);const _0x13d8e9=_0xa1979b[_0xd20178(0x1c3)](_0x240c79)[_0xd20178(0x43c)],_0xb2feb7=Math['min'](_0x13d8e9+0x2*_0x33ca65,_0x2203b8);_0x52bcdd(_0xa1979b,{'height':_0x178bb8,'radius':0x4,'width':_0xb2feb7,'fill':_0x1d5a32}),_0xa1979b[_0xd20178(0x33f)]=_0xd20178(0x21a);const _0x181134=_0x33ca65,_0xb49cca=_0x178bb8-_0x398e3c,_0xae0bd0=_0x2203b8-0x2*_0x33ca65;if(_0x13d8e9>_0xae0bd0){let _0x4226b2='',_0x399473=0x0;for(const _0x5466eb of _0x240c79){const _0x395847=_0xa1979b[_0xd20178(0x1c3)](_0x5466eb)[_0xd20178(0x43c)];if(_0x399473+_0x395847<=_0xae0bd0-_0xa1979b['measureText']('...')[_0xd20178(0x43c)])_0x4226b2+=_0x5466eb,_0x399473+=_0x395847;else{_0x4226b2+='...';break;}}_0xa1979b['fillText'](_0x4226b2,_0x181134,_0xb49cca);}else _0xa1979b['fillText'](_0x240c79,_0x181134,_0xb49cca);_0xa1979b[_0xd20178(0x1a0)]();}[_0x1b1e14(0x274)](_0x1ec4b3){const _0xe61d42=_0x1b1e14;_0x407ea4[_0xe61d42(0x434)](_0x1ec4b3,this);}}const _0xca0f1a=_0x1b1e14(0x2a5),_0x46567e='collab-text-range-',_0x3b1530='collab-rect-range-',_0x7e3dd4=0x6,_0x3e09f0=1.5,_0xcc75a0=0x4,_0x552899=1.5,_0x58b9aa=_0x1b1e14(0x3d8);class _0x4c87a6{constructor(_0x5414f3,_0x4d55f2,_0xff2b78,_0x553a89){const _0x1a5e4f=_0x1b1e14;_0x215ae7(this,'_shapes',[]),_0x215ae7(this,_0x1a5e4f(0x2d9),null),_0x215ae7(this,'_textBubble',null),_0x215ae7(this,_0x1a5e4f(0x293),null),_0x215ae7(this,'_hideTimer',null),_0x215ae7(this,_0x1a5e4f(0x33a),null),(this[_0x1a5e4f(0x188)]=_0x5414f3,this[_0x1a5e4f(0x1bc)]=_0x4d55f2,this[_0x1a5e4f(0x3d2)]=_0xff2b78,this[_0x1a5e4f(0x26b)]=_0x553a89,this['_render']());}set['_hover'](_0x4236c5){const _0x1754f6=_0x1b1e14;_0x4236c5?(this[_0x1754f6(0x293)]&&this[_0x1754f6(0x293)][_0x1754f6(0x355)](),this[_0x1754f6(0x255)]&&this[_0x1754f6(0x255)][_0x1754f6(0x25f)]()):(this[_0x1754f6(0x293)]&&this[_0x1754f6(0x293)][_0x1754f6(0x25f)](),this[_0x1754f6(0x255)]&&this[_0x1754f6(0x255)]['hide']());}['dispose'](){const _0x12f3af=_0x1b1e14;for(const _0x38bfd5 of this[_0x12f3af(0x2d5)])_0x38bfd5['dispose']();this['_textBubble']&&this[_0x12f3af(0x255)][_0x12f3af(0x1cc)](),this[_0x12f3af(0x293)]&&this[_0x12f3af(0x293)][_0x12f3af(0x1cc)](),this[_0x12f3af(0x2d9)]&&this[_0x12f3af(0x2d9)][_0x12f3af(0x1cc)](),this[_0x12f3af(0x33a)]&&this[_0x12f3af(0x33a)]();}[_0x1b1e14(0x32a)](){const _0x38de22=_0x1b1e14;var _0x37f6f3;const {_docSkeleton:_0x1d9da2,_document:_0x5e96b2}=this,{color:_0x19f006,name:_0x5c594d,ranges:_0x3785d5}=this['_cursor'],_0x38091f=_0x5e96b2[_0x38de22(0x376)](),{docsLeft:_0x3a480c,docsTop:_0x4e6bb0}=_0x38091f,_0xf71ebb=new _0x15e0d1[(_0x38de22(0x46a))](_0x38091f,_0x1d9da2);for(const {startOffset:_0x5918e3,endOffset:_0x5d9205,rangeType:_0x314a87,segmentId:_0x1a69f0,segmentPage:_0x2b80f6,collapsed:_0x377a1b,isActive:_0x4adad7}of _0x3785d5){const _0x24aff4=_0x1d9da2[_0x38de22(0x3c4)](_0x5918e3,!0x0,_0x1a69f0,_0x2b80f6);let _0x247ea5=_0x1d9da2['findNodePositionByCharIndex'](_0x5d9205,!0x0,_0x1a69f0,_0x2b80f6);if(_0x247ea5==null&&(_0x247ea5=_0x1d9da2[_0x38de22(0x3c4)](_0x5d9205-0x1,!0x1,_0x1a69f0,_0x2b80f6)),_0x4adad7){const {contentBoxPointGroup:_0x5d134d}=_0xf71ebb[_0x38de22(0x1e8)](_0x247ea5,_0x247ea5);if(_0x5d134d['length']===0x0)continue;this[_0x38de22(0x1ca)](_0x19f006,_0x5d134d,_0x3a480c,_0x4e6bb0,_0x5c594d),this[_0x38de22(0x33a)]=this[_0x38de22(0x183)]();}if(_0x24aff4&&_0x247ea5){if(_0x314a87===_0x1ca8c6[_0x38de22(0x239)]['RECT']){const _0x42034e=new _0x15e0d1[(_0x38de22(0x225))](_0x38091f,_0x1d9da2),{pointGroup:_0x388dbe}=(_0x37f6f3=_0x42034e[_0x38de22(0x1e8)](_0x24aff4,_0x247ea5))!=null?_0x37f6f3:{};if(_0x388dbe==null||_0x388dbe['length']===0x0)continue;this[_0x38de22(0x2ba)](_0x19f006,_0x388dbe,_0x3a480c,_0x4e6bb0);}else{if(!_0x377a1b){const {borderBoxPointGroup:_0x3ba91c}=_0xf71ebb['getRangePointData'](_0x24aff4,_0x247ea5);if(_0x3ba91c[_0x38de22(0x300)]===0x0)continue;this[_0x38de22(0x439)](_0x19f006,_0x3ba91c,_0x3a480c,_0x4e6bb0);}}}}}[_0x1b1e14(0x1ca)](_0x1628a4,_0x592a69,_0x1cc9c6,_0x6213d4,_0x400a90){const _0x28d3ab=_0x1b1e14,_0x28ab7b=this['_getAnchorBounding'](_0x592a69),{left:_0xf75f02,top:_0x33edd2,height:_0x1728cc}=_0x28ab7b,_0x4e91bb=this['_getScale'](),_0x14aa10=_0x552899/_0x4e91bb,_0x4ec918=new _0x28adc3[(_0x28d3ab(0x31b))](_0xca0f1a+_0x1ca8c6[_0x28d3ab(0x1a1)](_0x7e3dd4),{'left':_0xf75f02+_0x1cc9c6-_0x14aa10,'top':_0x33edd2+_0x6213d4,'height':_0x1728cc,'width':_0x3e09f0,'fill':_0x1628a4||_0x28adc3[_0x28d3ab(0x432)](_0x1ca8c6[_0x28d3ab(0x27e)][_0x28d3ab(0x289)],0x0),'strokeWidth':_0x14aa10,'stroke':_0x58b9aa,'evented':!0x0});this[_0x28d3ab(0x2d9)]=_0x4ec918,this[_0x28d3ab(0x1bc)]['addObject'](_0x4ec918,_0x15e0d1[_0x28d3ab(0x1aa)]);const _0x2178b6=new _0x28adc3[(_0x28d3ab(0x31b))](_0xca0f1a+_0x1ca8c6[_0x28d3ab(0x1a1)](_0x7e3dd4),{'left':_0xf75f02+_0x1cc9c6-_0x14aa10,'top':_0x33edd2+_0x6213d4-_0xcc75a0/0x2,'height':_0xcc75a0,'width':_0xcc75a0,'fill':_0x1628a4||_0x28adc3[_0x28d3ab(0x432)](_0x1ca8c6[_0x28d3ab(0x27e)][_0x28d3ab(0x289)],0x0),'strokeWidth':0x0,'stroke':_0x1628a4||_0x28adc3[_0x28d3ab(0x432)](_0x1ca8c6[_0x28d3ab(0x27e)]['black'],0x0),'evented':!0x1});this[_0x28d3ab(0x293)]=_0x2178b6,this['_scene']['addObject'](_0x2178b6,_0x15e0d1['TEXT_RANGE_LAYER_INDEX']);const _0x1c4c3b=new _0x407ea4(_0xca0f1a+_0x1ca8c6[_0x28d3ab(0x1a1)](_0x7e3dd4),{'left':_0xf75f02+_0x1cc9c6-_0x14aa10,'top':_0x33edd2+_0x6213d4-_0x178bb8,'text':_0x400a90,'color':_0x1628a4});this['_textBubble']=_0x1c4c3b,this[_0x28d3ab(0x1bc)][_0x28d3ab(0x284)](_0x1c4c3b,_0x15e0d1['TEXT_RANGE_LAYER_INDEX']),this[_0x28d3ab(0x238)]=!0x1;}[_0x1b1e14(0x183)](){const _0x50c965=_0x1b1e14,_0x277bc2=this[_0x50c965(0x2d9)][_0x50c965(0x315)][_0x50c965(0x2e7)](()=>{const _0x36bc02=_0x50c965;this[_0x36bc02(0x238)]=!0x0;}),_0xfc8946=this[_0x50c965(0x2d9)][_0x50c965(0x3cd)][_0x50c965(0x2e7)](()=>{const _0x467dcd=_0x50c965;this[_0x467dcd(0x351)]&&clearTimeout(this[_0x467dcd(0x351)]),this[_0x467dcd(0x351)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x4dac2c=_0x50c965;_0x277bc2[_0x4dac2c(0x2fb)](),_0xfc8946[_0x4dac2c(0x2fb)]();};}['_drawTextRange'](_0x3dc63d,_0x507aa9,_0xc3e44b,_0x46569a){const _0x4adc18=_0x1b1e14,_0x4bdb8f=new _0x1ca8c6[(_0x4adc18(0x405))](_0x3dc63d)['setAlpha'](0.2)[_0x4adc18(0x314)](),_0x7ebdee=new _0x28adc3[(_0x4adc18(0x3b4))](_0x46567e+_0x1ca8c6[_0x4adc18(0x1a1)](_0x7e3dd4),{'pointsGroup':_0x507aa9,'fill':_0x4bdb8f||_0x28adc3[_0x4adc18(0x432)](_0x1ca8c6[_0x4adc18(0x27e)][_0x4adc18(0x289)],0.2),'left':_0xc3e44b,'top':_0x46569a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x4adc18(0x2d5)][_0x4adc18(0x456)](_0x7ebdee),this[_0x4adc18(0x1bc)][_0x4adc18(0x284)](_0x7ebdee,_0x15e0d1['TEXT_RANGE_LAYER_INDEX']);}[_0x1b1e14(0x2ba)](_0x5c235f,_0x417cf1,_0x4d57e0,_0x3bb6a8){const _0x49daa3=_0x1b1e14,_0x2a9ae7=new _0x1ca8c6[(_0x49daa3(0x405))](_0x5c235f)['setAlpha'](0.2)[_0x49daa3(0x314)](),_0x181f6d=new _0x28adc3['RegularPolygon'](_0x3b1530+_0x1ca8c6['generateRandomId'](_0x7e3dd4),{'pointsGroup':_0x417cf1,'fill':_0x2a9ae7||_0x28adc3[_0x49daa3(0x432)](_0x1ca8c6['COLORS'][_0x49daa3(0x289)],0.2),'left':_0x4d57e0,'top':_0x3bb6a8,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x49daa3(0x456)](_0x181f6d),this[_0x49daa3(0x1bc)]['addObject'](_0x181f6d,_0x15e0d1[_0x49daa3(0x1aa)]);}[_0x1b1e14(0x3c1)](_0x1de892){const _0x5408f6=_0x1de892[0x0],_0x4816b0=_0x5408f6[0x0],_0x1f8ef3=_0x5408f6[0x2],{x:_0xd17bae,y:_0x1732a5}=_0x4816b0,{x:_0x56484c,y:_0x55d96a}=_0x1f8ef3;return{'left':_0xd17bae,'top':_0x1732a5,'width':_0x56484c-_0xd17bae,'height':_0x55d96a-_0x1732a5};}[_0x1b1e14(0x2ff)](){const _0x2a6895=_0x1b1e14,{scaleX:_0xf3bb35,scaleY:_0x104495}=this[_0x2a6895(0x1bc)]['getAncestorScale']();return Math['max'](_0xf3bb35,_0x104495);}}var _0x3d6402=Object[_0x1b1e14(0x1ce)],_0x90f1aa=(_0x5295fb,_0x41d5db,_0xc32001,_0x1bcf00)=>{for(var _0x57284a=_0x1bcf00>0x1?void 0x0:_0x1bcf00?_0x3d6402(_0x41d5db,_0xc32001):_0x41d5db,_0xa944a8=_0x5295fb['length']-0x1,_0x30f4a0;_0xa944a8>=0x0;_0xa944a8--)(_0x30f4a0=_0x5295fb[_0xa944a8])&&(_0x57284a=_0x30f4a0(_0x57284a)||_0x57284a);return _0x57284a;},_0x36ae28=(_0x414eea,_0x26a6c1)=>(_0x3d6390,_0x5e77ae)=>_0x26a6c1(_0x3d6390,_0x5e77ae,_0x414eea);let _0x153663=class extends _0x1ca8c6[_0x1b1e14(0x2fd)]{constructor(_0x4deeaf,_0x2acf49,_0x29cafe,_0x5857ef,_0x5a6ce2){const _0x291fba=_0x1b1e14;super(),_0x215ae7(this,_0x291fba(0x209),[]),_0x215ae7(this,_0x291fba(0x40f),[]),(this['_context']=_0x4deeaf,this[_0x291fba(0x268)]=_0x2acf49,this[_0x291fba(0x2c9)]=_0x29cafe,this[_0x291fba(0x3fb)]=_0x5857ef,this['_themeService']=_0x5a6ce2,this[_0x291fba(0x2f4)]());}[_0x1b1e14(0x2f4)](){const _0x5b9f9a=_0x1b1e14,_0x59710c=this[_0x5b9f9a(0x1e9)][_0x5b9f9a(0x3da)],_0x407d7e=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x3b6b5a['combineLatest']([this[_0x5b9f9a(0x2c9)][_0x5b9f9a(0x3c7)](_0x59710c),this['_themeService'][_0x5b9f9a(0x334)]])[_0x5b9f9a(0x22a)](_0x3d6951[_0x5b9f9a(0x42a)](([_0x48dc69,_0x2d8b54])=>({'skeleton':_0x407d7e[_0x5b9f9a(0x1e2)](),'cursors':[..._0x48dc69[_0x5b9f9a(0x31f)]()][_0x5b9f9a(0x32b)](_0x114887=>({..._0x114887,'color':this[_0x5b9f9a(0x319)][_0x5b9f9a(0x30a)](_0x114887[_0x5b9f9a(0x35f)])}))})))[_0x5b9f9a(0x3b9)](_0x2fe64f=>{const _0x1615d3=_0x5b9f9a;if(this[_0x1615d3(0x446)](),_0x2fe64f){const {skeleton:_0xe4cb99,cursors:_0x3ed149}=_0x2fe64f;this[_0x1615d3(0x1f6)](_0xe4cb99,_0x3ed149);}})),this[_0x5b9f9a(0x419)](),this[_0x5b9f9a(0x1db)]();}[_0x1b1e14(0x1f6)](_0x81d861,_0x4d9b0c){const _0x522ec7=_0x1b1e14,{scene:_0xbe4445,mainComponent:_0x5a99a3}=this['_context'],_0x531311=_0x4d9b0c[_0x522ec7(0x42a)](_0x2e3afe=>new _0x4c87a6(_0x2e3afe,_0xbe4445,_0x81d861,_0x5a99a3));this[_0x522ec7(0x209)]=_0x531311,this[_0x522ec7(0x40f)]=_0x4d9b0c;}[_0x1b1e14(0x2a9)](){const _0x477dc0=_0x1b1e14;this['_removeCollabCursors']();const {scene:_0x1f0448,mainComponent:_0x581f52}=this[_0x477dc0(0x1e9)],_0x5f4bb2=this[_0x477dc0(0x268)][_0x477dc0(0x1e2)](),_0x314c51=this['_cursors'][_0x477dc0(0x42a)](_0x58079=>new _0x4c87a6(_0x58079,_0x1f0448,_0x5f4bb2,_0x581f52));this[_0x477dc0(0x209)]=_0x314c51;}['_removeCollabCursors'](){const _0x302c8c=_0x1b1e14;this['_cursorShapes'][_0x302c8c(0x459)](_0x2cbeff=>_0x2cbeff[_0x302c8c(0x1cc)]()),this[_0x302c8c(0x209)]=[];}[_0x1b1e14(0x1db)](){const _0x12af37=_0x1b1e14,_0x1acea4=[_0x15e0d1[_0x12af37(0x1b6)]['id']];this['disposeWithMe'](this[_0x12af37(0x3fb)][_0x12af37(0x27f)](_0x22b0bb=>{const _0x1ec8c9=_0x12af37;_0x1acea4['includes'](_0x22b0bb['id'])&&_0x22b0bb[_0x1ec8c9(0x309)][_0x1ec8c9(0x3da)]===this[_0x1ec8c9(0x1e9)][_0x1ec8c9(0x3da)]&&this[_0x1ec8c9(0x2a9)]();}));}['_initResize'](){const _0x21cd38=_0x1b1e14;this[_0x21cd38(0x215)](_0x1ca8c6[_0x21cd38(0x280)](this[_0x21cd38(0x1e9)][_0x21cd38(0x2bf)][_0x21cd38(0x192)])[_0x21cd38(0x22a)](_0x3d6951[_0x21cd38(0x195)](_0x4de6fb=>_0x4de6fb['type']===_0x28adc3[_0x21cd38(0x2b4)]['resize']),_0x3d6951[_0x21cd38(0x26a)](0x10))[_0x21cd38(0x3b9)](()=>{const _0x467a44=_0x21cd38;this[_0x467a44(0x2a9)]();}));}};_0x153663=_0x90f1aa([_0x36ae28(0x1,_0x1ca8c6[_0x1b1e14(0x308)](_0x449e95[_0x1b1e14(0x222)])),_0x36ae28(0x2,_0x1ca8c6['Inject'](_0x3bc722)),_0x36ae28(0x3,_0x1ca8c6[_0x1b1e14(0x25a)]),_0x36ae28(0x4,_0x1ca8c6['Inject'](_0x1ca8c6[_0x1b1e14(0x20d)]))],_0x153663);const _0x4e005b=0x1,_0x3cb029=1.5;class _0x14419a extends _0x28adc3[_0x1b1e14(0x3f7)]{constructor(_0x558434,_0x2a8f5e){const _0x2757c8=_0x1b1e14;super(_0x558434,_0x2a8f5e),_0x215ae7(this,_0x2757c8(0x211)),_0x215ae7(this,_0x2757c8(0x440),!0x1),_0x215ae7(this,_0x2757c8(0x39b)),_0x215ae7(this,_0x2757c8(0x38f),''),_0x215ae7(this,'_labelPosition',_0x2757c8(0x35d)),_0x215ae7(this,_0x2757c8(0x33d)),(_0x2a8f5e&&this['setShapeProps'](_0x2a8f5e),this[_0x2757c8(0x315)]['subscribeEvent'](()=>this[_0x2757c8(0x247)]({'hovered':!0x0})),this['onPointerLeave$'][_0x2757c8(0x2e7)](()=>this[_0x2757c8(0x247)]({'hovered':!0x1})));}[_0x1b1e14(0x247)](_0x465fbf){const _0x5d9d69=_0x1b1e14;var _0x279fc2,_0x45649b,_0x35ff83,_0x4f0b63,_0x5080f5,_0x3d6e7d;this[_0x5d9d69(0x211)]=(_0x279fc2=_0x465fbf[_0x5d9d69(0x35f)])!=null?_0x279fc2:this[_0x5d9d69(0x211)],this['_hovered']=(_0x45649b=_0x465fbf[_0x5d9d69(0x3f5)])!=null?_0x45649b:this[_0x5d9d69(0x440)],this[_0x5d9d69(0x39b)]=(_0x35ff83=_0x465fbf[_0x5d9d69(0x449)])!=null?_0x35ff83:this[_0x5d9d69(0x39b)],this[_0x5d9d69(0x38f)]=(_0x4f0b63=_0x465fbf[_0x5d9d69(0x184)])!=null?_0x4f0b63:this[_0x5d9d69(0x38f)],this[_0x5d9d69(0x368)]=(_0x5080f5=_0x465fbf['labelPosition'])!=null?_0x5080f5:this[_0x5d9d69(0x368)],this[_0x5d9d69(0x33d)]=(_0x3d6e7d=_0x465fbf[_0x5d9d69(0x3ee)])!=null?_0x3d6e7d:this[_0x5d9d69(0x33d)],this[_0x5d9d69(0x2ac)]({'width':_0x465fbf[_0x5d9d69(0x43c)],'height':_0x465fbf[_0x5d9d69(0x39f)]});}['onMouseMove'](_0x37b67a){const _0x510f69=_0x1b1e14,{row:_0x2be295,column:_0x395661}=_0x37b67a;if(_0x2be295>=this[_0x510f69(0x39b)]['startRow']&&_0x2be295<=this[_0x510f69(0x39b)][_0x510f69(0x24d)]&&_0x395661>=this[_0x510f69(0x39b)][_0x510f69(0x39c)]&&_0x395661<=this[_0x510f69(0x39b)][_0x510f69(0x270)]){this[_0x510f69(0x247)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x1b1e14(0x1f7)](_0x36f638){return!0x1;}['_draw'](_0x58ca59){const _0x29693e=_0x1b1e14;_0x28adc3[_0x29693e(0x31b)][_0x29693e(0x434)](_0x58ca59,{'width':this[_0x29693e(0x43c)],'height':this[_0x29693e(0x39f)],'strokeWidth':_0x3cb029,'stroke':this[_0x29693e(0x211)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x58ca59[_0x29693e(0x42b)](),_0x58ca59[_0x29693e(0x1ec)](0x1,0x0,0x0,0x1,this['width'],this[_0x29693e(0x368)]===_0x29693e(0x22f)?0x0:-_0x178bb8),_0x407ea4[_0x29693e(0x434)](_0x58ca59,{'text':this[_0x29693e(0x38f)],'color':this[_0x29693e(0x211)]}),_0x58ca59[_0x29693e(0x1a0)]());}}var _0x1ad02c=Object['getOwnPropertyDescriptor'],_0x320861=(_0x5c09ef,_0x549118,_0x12fb59,_0x3223b7)=>{const _0x287ed3=_0x1b1e14;for(var _0x1f6ceb=_0x3223b7>0x1?void 0x0:_0x3223b7?_0x1ad02c(_0x549118,_0x12fb59):_0x549118,_0xb95196=_0x5c09ef[_0x287ed3(0x300)]-0x1,_0x2aa156;_0xb95196>=0x0;_0xb95196--)(_0x2aa156=_0x5c09ef[_0xb95196])&&(_0x1f6ceb=_0x2aa156(_0x1f6ceb)||_0x1f6ceb);return _0x1f6ceb;},_0x3dbc37=(_0x1b4d13,_0x2d795b)=>(_0xa56d05,_0x278fe4)=>_0x2d795b(_0xa56d05,_0x278fe4,_0x1b4d13);const _0x606660=0x1389;let _0x2da07f=class extends _0x1ca8c6[_0x1b1e14(0x2fd)]{constructor(_0xc2f092,_0x44c7c2,_0x1539d4,_0x22607b){const _0x265915=_0x1b1e14;super(),_0x215ae7(this,_0x265915(0x40f),new Set()),_0x215ae7(this,_0x265915(0x3f8),null),(this['_context']=_0xc2f092,this[_0x265915(0x18e)]=_0x44c7c2,this[_0x265915(0x2c9)]=_0x1539d4,this[_0x265915(0x319)]=_0x22607b,this[_0x265915(0x2f4)]());}[_0x1b1e14(0x2f4)](){const _0x5d5447=_0x1b1e14;this['_sheetSkeletonManagerService'][_0x5d5447(0x2ce)][_0x5d5447(0x22a)](_0x3d6951[_0x5d5447(0x264)](this['dispose$']),_0x3d6951['switchMap'](_0x1d2c0c=>{const _0x4ba2ff=_0x5d5447;if(_0x1d2c0c){const _0x46e767=_0x1d2c0c[_0x4ba2ff(0x3e2)];return _0x3b6b5a[_0x4ba2ff(0x2fa)](this[_0x4ba2ff(0x2c9)][_0x4ba2ff(0x3c7)](this[_0x4ba2ff(0x1e9)]['unitId']),this[_0x4ba2ff(0x319)]['currentTheme$'])[_0x4ba2ff(0x22a)](_0x3d6951['map'](([_0x3d4966,_0x209e7b])=>{const _0x2e3522=new Map();return _0x3d4966['forEach']((_0x3cd5ed,_0x349058)=>{const _0x4d98f8=_0x4e18;if(_0x3cd5ed[_0x4d98f8(0x339)]===_0x46e767){const _0x45685f={..._0x3cd5ed};_0x45685f['color']=this[_0x4d98f8(0x319)][_0x4d98f8(0x30a)](_0x3cd5ed['color']),_0x2e3522['set'](_0x349058,_0x45685f);}}),{'skeleton':_0x1d2c0c,'cursors':_0x2e3522};}));}return _0x3b6b5a['of']({'skeleton':null,'cursors':new Map()});}))[_0x5d5447(0x3b9)](({skeleton:_0x3b5e3d,cursors:_0x407875})=>{const _0x41d3e3=_0x5d5447;this['_removeCollabCursors'](),_0x3b5e3d&&this[_0x41d3e3(0x1f6)](_0x3b5e3d,_0x407875);}),this['_sheetSkeletonManagerService'][_0x5d5447(0x2ce)][_0x5d5447(0x3b9)](_0x2a7f44=>{const _0x111d34=_0x5d5447;if(_0x2a7f44==null)return;const {skeleton:_0x3254f8}=_0x2a7f44,{scene:_0x424988}=this[_0x111d34(0x1e9)];_0x424988[_0x111d34(0x285)]['subscribeEvent'](_0x1ca8c6[_0x111d34(0x1d1)](_0x5734fc=>{const _0x150daf=_0x111d34;var _0x1be33b,_0x5ca894;const {offsetX:_0x2e4771,offsetY:_0x4f0d60}=_0x5734fc,{x:_0x6e88dc,y:_0x13ce38}=_0x424988[_0x150daf(0x3ac)](_0x28adc3[_0x150daf(0x27b)]['FromArray']([_0x2e4771,_0x4f0d60])),{scaleX:_0x49c92e,scaleY:_0x5076c5}=_0x424988['getAncestorScale'](),_0x3eac77=_0x424988[_0x150daf(0x401)](_0x28adc3[_0x150daf(0x356)][_0x150daf(0x420)]),_0x39b902=_0x424988[_0x150daf(0x2d6)](_0x28adc3['Vector2'][_0x150daf(0x399)]([_0x6e88dc,_0x13ce38]),_0x3eac77),_0x8d7b58=_0x3254f8[_0x150daf(0x1d8)](_0x2e4771,_0x4f0d60,_0x49c92e,_0x5076c5,_0x39b902);((_0x1be33b=this[_0x150daf(0x3f8)])==null?void 0x0:_0x1be33b[_0x150daf(0x3e4)])===_0x8d7b58[_0x150daf(0x3e4)]&&((_0x5ca894=this[_0x150daf(0x3f8)])==null?void 0x0:_0x5ca894[_0x150daf(0x313)])===_0x8d7b58[_0x150daf(0x313)]||this[_0x150daf(0x40f)]['forEach'](_0x870d70=>{const _0x5c7544=_0x150daf;_0x870d70[_0x5c7544(0x386)](_0x8d7b58);});},0x64));});}['_updateCollabCursors'](_0xcb7c67,_0x3c85f0){const _0x5f3e8b=_0x1b1e14;var _0x4a6027;const _0x3d81b1=(_0x4a6027=this[_0x5f3e8b(0x18e)][_0x5f3e8b(0x310)]())==null?void 0x0:_0x4a6027[_0x5f3e8b(0x20c)];if(!_0x3d81b1)return;const _0x37cdbe=this['_getSheetObject']();if(!_0x37cdbe)return;this[_0x5f3e8b(0x40f)][_0x5f3e8b(0x459)](_0x172363=>{const _0x2fb0f0=_0x5f3e8b;_0x172363[_0x2fb0f0(0x1b9)]();});const {scene:_0x1f2a9d}=_0x37cdbe,_0x275de1=_0x3fb8bf(Array[_0x5f3e8b(0x2f2)](_0x3c85f0['values']()))[_0x5f3e8b(0x42a)](_0x2a9d52=>{const _0x3e401a=_0x5f3e8b,{color:_0x411114,range:_0x4f30e9,name:_0x191145,selection:_0xd9a044,sheetID:_0x32810d}=_0x2a9d52,{startColumn:_0x30ac0a,startRow:_0x2d2de0,endColumn:_0x1043ed,endRow:_0x4959bc}=_0x4f30e9,_0x3b99d1=_0x5436e7['getCoordByCell'](_0x2d2de0,_0x30ac0a,_0x1f2a9d,_0x3d81b1),_0x28d1e1=_0x5436e7[_0x3e401a(0x34b)](_0x4959bc,_0x1043ed,_0x1f2a9d,_0x3d81b1),{columnHeaderHeightAndMarginTop:_0x193b90}=_0x3d81b1,{startX:_0x617c6e,startY:_0x5449c7}=_0x3b99d1,{endX:_0x12787f,endY:_0x2e99a3}=_0x28d1e1,_0x40703d=_0x12787f-_0x617c6e,_0x311794=_0x2e99a3-_0x5449c7,_0x1ca54b={'labelPosition':_0x5449c7-_0x193b90>=_0x178bb8?_0x3e401a(0x35d):_0x3e401a(0x22f),'sheetID':_0x32810d,'range':_0x4f30e9,'color':_0x411114,'name':_0x191145,'selection':_0xd9a044,'left':_0x617c6e,'top':_0x5449c7,'width':_0x40703d,'height':_0x311794,'evented':!0x1,'zIndex':_0x606660};return new _0x14419a(_0x191145,_0x1ca54b);});_0x1f2a9d[_0x5f3e8b(0x2cd)](_0x275de1,_0x4e005b),this[_0x5f3e8b(0x40f)]=new Set(_0x275de1);}[_0x1b1e14(0x446)](){const _0x3bae88=_0x1b1e14;var _0x584a32;(_0x584a32=this[_0x3bae88(0x40f)])==null||_0x584a32[_0x3bae88(0x459)](_0x334a1b=>_0x334a1b['dispose']());}[_0x1b1e14(0x1ae)](){const _0x2e663c=_0x1b1e14;return _0x5436e7['getSheetObject'](this[_0x2e663c(0x1e9)]['unit'],this['_context']);}};_0x2da07f=_0x320861([_0x3dbc37(0x1,_0x1ca8c6[_0x1b1e14(0x308)](_0x5436e7[_0x1b1e14(0x19c)])),_0x3dbc37(0x2,_0x1ca8c6['Inject'](_0x3bc722)),_0x3dbc37(0x3,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x20d)]))],_0x2da07f);function _0x3fb8bf(_0x1062a3){const _0x45f62b=_0x1b1e14,_0x14e467=new Map();return _0x1062a3['forEach'](_0x190598=>{const _0x44e2cf=_0x4e18;if(_0x14e467['has'](_0x190598[_0x44e2cf(0x35e)])){const _0x57c23f=_0x14e467['get'](_0x190598['selection']);_0x57c23f[_0x44e2cf(0x184)]+=',\x20'+_0x190598['name'];}else _0x14e467['set'](_0x190598[_0x44e2cf(0x35e)],_0x190598);}),Array[_0x45f62b(0x2f2)](_0x14e467['values']());}var _0x355e19=Object[_0x1b1e14(0x1ce)],_0x26578d=(_0x45b48d,_0x2be71d,_0x3aa54f,_0x2fba10)=>{const _0x4e37d9=_0x1b1e14;for(var _0xf282e6=_0x2fba10>0x1?void 0x0:_0x2fba10?_0x355e19(_0x2be71d,_0x3aa54f):_0x2be71d,_0x577d6c=_0x45b48d[_0x4e37d9(0x300)]-0x1,_0x5ecb8c;_0x577d6c>=0x0;_0x577d6c--)(_0x5ecb8c=_0x45b48d[_0x577d6c])&&(_0xf282e6=_0x5ecb8c(_0xf282e6)||_0xf282e6);return _0xf282e6;},_0x5460fe=(_0x5a7757,_0x42d0f0)=>(_0x29e7cb,_0x451280)=>_0x42d0f0(_0x29e7cb,_0x451280,_0x5a7757);let _0x22380c=class extends _0x1ca8c6[_0x1b1e14(0x341)]{constructor(_0x46e717,_0x5099c0,_0x246ace,_0x3a0533,_0x42dd3d,_0x391a68){const _0x42abea=_0x1b1e14;super(),this[_0x42abea(0x1b8)]=_0x46e717,this[_0x42abea(0x46e)]=_0x5099c0,this[_0x42abea(0x45a)]=_0x246ace,this[_0x42abea(0x3d7)]=_0x3a0533,this['_notificationService']=_0x42dd3d,this[_0x42abea(0x34d)]=_0x391a68,this[_0x42abea(0x37c)](),this[_0x42abea(0x3d4)]();}[_0x1b1e14(0x37c)](){const _0x545487=_0x1b1e14;this['disposeWithMe'](this['_beforeCloseService'][_0x545487(0x1f8)](()=>{const _0x48c49d=_0x545487;if(this[_0x48c49d(0x46e)][_0x48c49d(0x22c)]['size'])return this[_0x48c49d(0x34d)]['t'](_0x48c49d(0x426));}));}[_0x1b1e14(0x3d4)](){const _0x56d394=_0x1b1e14;this[_0x56d394(0x215)](this[_0x56d394(0x45a)][_0x56d394(0x31e)][_0x56d394(0x3b9)](_0x16d6aa=>{const _0x3795fc=_0x56d394;_0x16d6aa['id']===_0x4d5f16[_0x3795fc(0x210)][_0x3795fc(0x1df)]&&this[_0x3795fc(0x3d7)][_0x3795fc(0x25f)]({'type':_0x5cbfd3[_0x3795fc(0x1e6)][_0x3795fc(0x329)],'content':this[_0x3795fc(0x34d)]['t'](_0x3795fc(0x411))}),_0x16d6aa['id']===_0x4d5f16['CollaborationUIEventId']['CLOSE_ROOM']&&this['_messageService'][_0x3795fc(0x25f)]({'type':_0x5cbfd3[_0x3795fc(0x1e6)][_0x3795fc(0x329)],'content':this[_0x3795fc(0x34d)]['t'](_0x3795fc(0x2e2))}),_0x16d6aa['id']===_0x4d5f16[_0x3795fc(0x210)][_0x3795fc(0x44c)]&&this[_0x3795fc(0x2dd)]['show']({'title':this[_0x3795fc(0x34d)]['t'](_0x3795fc(0x389)),'content':this[_0x3795fc(0x34d)]['t'](_0x3795fc(0x378)),'type':'error','duration':0x0}),_0x16d6aa['id']===_0x4d5f16['CollaborationUIEventId'][_0x3795fc(0x2c6)]&&this['_messageService'][_0x3795fc(0x25f)]({'type':_0x5cbfd3['MessageType'][_0x3795fc(0x37a)],'content':this['_localeService']['t'](_0x3795fc(0x2e2))+'('+_0x16d6aa[_0x3795fc(0x45f)]+')'}),_0x16d6aa['id']===_0x4d5f16[_0x3795fc(0x210)][_0x3795fc(0x33c)]&&this[_0x3795fc(0x3d7)]['show']({'type':_0x5cbfd3['MessageType']['Warning'],'content':this[_0x3795fc(0x34d)]['t'](_0x16d6aa[_0x3795fc(0x45f)]||'')}),_0x16d6aa['id']===_0x4d5f16[_0x3795fc(0x210)][_0x3795fc(0x3e9)]&&this['_messageService'][_0x3795fc(0x25f)]({'type':_0x5cbfd3[_0x3795fc(0x1e6)][_0x3795fc(0x329)],'content':this[_0x3795fc(0x34d)]['t']('session.will-retry')}),_0x16d6aa['id']===_0x4d5f16['CollaborationUIEventId'][_0x3795fc(0x3d5)]&&this[_0x3795fc(0x3d7)][_0x3795fc(0x25f)]({'type':_0x5cbfd3[_0x3795fc(0x1e6)][_0x3795fc(0x37a)],'content':this[_0x3795fc(0x34d)]['t']('session.connection-failed')}),_0x16d6aa['id']===_0x4d5f16[_0x3795fc(0x210)][_0x3795fc(0x2cc)]&&this['_messageService'][_0x3795fc(0x25f)]({'type':_0x5cbfd3[_0x3795fc(0x1e6)][_0x3795fc(0x37a)],'content':this[_0x3795fc(0x34d)]['t'](_0x3795fc(0x342))});}));}};_0x22380c=_0x26578d([_0x5460fe(0x0,_0x535318[_0x1b1e14(0x1a4)]),_0x5460fe(0x1,_0x4d5f16[_0x1b1e14(0x3d6)]),_0x5460fe(0x2,_0x1ca8c6[_0x1b1e14(0x308)](_0x4d5f16['CollaborationUIEventService'])),_0x5460fe(0x3,_0x535318[_0x1b1e14(0x447)]),_0x5460fe(0x4,_0x535318['INotificationService']),_0x5460fe(0x5,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x3fa)]))],_0x22380c);var _0x57a7f3=Object['getOwnPropertyDescriptor'],_0x35675a=(_0x569fc6,_0x58944f,_0x43ab52,_0x30a512)=>{const _0x49a5b5=_0x1b1e14;for(var _0x107779=_0x30a512>0x1?void 0x0:_0x30a512?_0x57a7f3(_0x58944f,_0x43ab52):_0x58944f,_0x25caf4=_0x569fc6[_0x49a5b5(0x300)]-0x1,_0x11d9b9;_0x25caf4>=0x0;_0x25caf4--)(_0x11d9b9=_0x569fc6[_0x25caf4])&&(_0x107779=_0x11d9b9(_0x107779)||_0x107779);return _0x107779;},_0x1d72be=(_0x3ddf90,_0x4ef2fb)=>(_0xcb66b3,_0x261e54)=>_0x4ef2fb(_0xcb66b3,_0x261e54,_0x3ddf90);let _0x4b7de8=class extends _0x1ca8c6[_0x1b1e14(0x341)]{constructor(_0x1e85df,_0x3d2ad6,_0x548719,_0x39853d){const _0x434e8e=_0x1b1e14;super(),_0x215ae7(this,_0x434e8e(0x25b)),(this[_0x434e8e(0x28c)]=_0x1e85df,this[_0x434e8e(0x208)]=_0x3d2ad6,this[_0x434e8e(0x3e0)]=_0x548719,this[_0x434e8e(0x40d)]=_0x39853d,this[_0x434e8e(0x2f4)]());}[_0x1b1e14(0x2f4)](){this['_initWindowErrorListener'](),this['_initUnhandledRejectionListener'](),this['_monkeyPatchLogService'](),this['_initUserListener']();}[_0x1b1e14(0x32e)](){const _0x1f76d8=_0x1b1e14;this['disposeWithMe'](this[_0x1f76d8(0x40d)][_0x1f76d8(0x317)][_0x1f76d8(0x3b9)](_0x3282dc=>{const _0x28eda6=_0x1f76d8;this[_0x28eda6(0x25b)]=_0x3282dc==null?void 0x0:_0x3282dc[_0x28eda6(0x252)];}));}['_initWindowErrorListener'](){const _0x246990=_0x1b1e14,_0x55c39c=_0x2aee80=>{const _0x46266b=_0x4e18;var _0x55029b;this[_0x46266b(0x198)](_0x46266b(0x191),'[Window\x20Error]:\x20'+_0x2aee80[_0x46266b(0x2de)]+_0x46266b(0x43b)+_0x2aee80[_0x46266b(0x350)]+':'+_0x2aee80[_0x46266b(0x3fc)]+':'+_0x2aee80[_0x46266b(0x427)]+'\x0a'+(((_0x55029b=_0x2aee80[_0x46266b(0x191)])==null?void 0x0:_0x55029b[_0x46266b(0x2f1)])||''));};window[_0x246990(0x469)](_0x246990(0x191),_0x55c39c),this['disposeWithMe'](()=>{const _0xd9454b=_0x246990;window[_0xd9454b(0x3cb)](_0xd9454b(0x191),_0x55c39c);});}[_0x1b1e14(0x23e)](){const _0x54103f=_0x1b1e14,_0x221799=_0x53372b=>{const _0x2d3d4b=_0x4e18;this[_0x2d3d4b(0x198)](_0x2d3d4b(0x191),_0x2d3d4b(0x41d)+_0x53372b['reason']);};window[_0x54103f(0x469)](_0x54103f(0x19e),_0x221799),this[_0x54103f(0x215)](()=>{const _0x16d4fb=_0x54103f;window[_0x16d4fb(0x3cb)](_0x16d4fb(0x19e),_0x221799);});}[_0x1b1e14(0x278)](){const _0x367252=_0x1b1e14,_0x388f4d=this[_0x367252(0x3e0)][_0x367252(0x191)]['bind'](this['_logService']);this[_0x367252(0x3e0)][_0x367252(0x191)]=(..._0x58c8f9)=>{const _0x20ab19=_0x367252,_0x42f805=_0x58c8f9[_0x20ab19(0x42a)](_0x2a0e5f=>_0x2a0e5f instanceof Error?_0x2a0e5f[_0x20ab19(0x2de)]+'\x0a'+_0x2a0e5f[_0x20ab19(0x2f1)]:String(_0x2a0e5f))[_0x20ab19(0x2cb)]('\x20');this[_0x20ab19(0x198)]('error',_0x20ab19(0x21c)+_0x42f805),_0x388f4d(..._0x58c8f9);},this[_0x367252(0x215)](()=>{const _0x222a00=_0x367252;this[_0x222a00(0x3e0)][_0x222a00(0x191)]=_0x388f4d;});}[_0x1b1e14(0x198)](_0x62fb32,_0x40b830){const _0x1c42fa=_0x1b1e14;try{const _0x57091b={'userId':this[_0x1c42fa(0x25b)],'logLabel':_0x62fb32,'content':_0x40b830};this[_0x1c42fa(0x208)][_0x1c42fa(0x1a3)](_0x1c42fa(0x18b),{'body':_0x57091b})[_0x1c42fa(0x461)](()=>{});}catch{}}};_0x4b7de8=_0x35675a([_0x1d72be(0x0,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x1cd)])),_0x1d72be(0x1,_0x1ca8c6['Inject'](_0x89ff74['HTTPService'])),_0x1d72be(0x2,_0x1ca8c6[_0x1b1e14(0x353)]),_0x1d72be(0x3,_0x1ca8c6['Inject'](_0x4d5f16[_0x1b1e14(0x2ad)]))],_0x4b7de8);const _0x44d605='collaboration-client-ui.config',_0x41c00e={};var _0x2de86e=Object[_0x1b1e14(0x1ce)],_0x1da1e0=(_0x85712,_0x23fd9e,_0x2d4015,_0xaabfb5)=>{const _0x236da8=_0x1b1e14;for(var _0x360ac6=_0xaabfb5>0x1?void 0x0:_0xaabfb5?_0x2de86e(_0x23fd9e,_0x2d4015):_0x23fd9e,_0x5db1f3=_0x85712[_0x236da8(0x300)]-0x1,_0x351b83;_0x5db1f3>=0x0;_0x5db1f3--)(_0x351b83=_0x85712[_0x5db1f3])&&(_0x360ac6=_0x351b83(_0x360ac6)||_0x360ac6);return _0x360ac6;},_0x4e73ae=(_0x18fb1c,_0x406bb4)=>(_0x2fb16a,_0xe7dfec)=>_0x406bb4(_0x2fb16a,_0xe7dfec,_0x18fb1c);let _0x41d520=class{constructor(_0x17c5ac,_0x4a00af){const _0x374638=_0x1b1e14;this[_0x374638(0x38a)]=_0x17c5ac,this[_0x374638(0x416)]=_0x4a00af;}['transformIMECache'](_0xcfa78a){const _0x4276cb=_0x1b1e14;this[_0x4276cb(0x409)](_0xcfa78a),this['_transformPreviousActiveRange'](_0xcfa78a);}[_0x1b1e14(0x2cf)](_0x360b95){const _0x2f312c=_0x1b1e14,{unitID:_0x46d853}=_0x360b95,_0x1c3384=this[_0x2f312c(0x416)][_0x2f312c(0x199)](_0x46d853)[_0x2f312c(0x39d)](_0x15e0d1['DocIMEInputManagerService']),{redoCache:_0x49810d}=_0x1c3384[_0x2f312c(0x457)]();if(_0x49810d[_0x2f312c(0x300)]===0x0)return _0x360b95;let _0x312d5f=_0x1ca8c6['Tools'][_0x2f312c(0x261)](_0x360b95[_0x2f312c(0x216)][0x0]);for(let _0x560981=0x0;_0x560981<_0x49810d['length'];_0x560981++){const _0x3594e4={'id':'doc.mutation.rich-text-editing','params':{..._0x49810d[_0x560981]}},_0x504bfb=this['_transformService']['transformMutation'](_0x312d5f,_0x3594e4,!0x1);if(_0x598d32[_0x2f312c(0x1af)](_0x504bfb))throw _0x504bfb[_0x2f312c(0x191)];_0x312d5f=_0x504bfb['m1Prime'];}return{..._0x1ca8c6[_0x2f312c(0x438)]['deepClone'](_0x360b95),'mutations':[_0x312d5f]};}[_0x1b1e14(0x409)](_0x51e933){const _0x32ccf7=_0x1b1e14,{unitID:_0x1d49c5}=_0x51e933,_0x26d112=this[_0x32ccf7(0x416)][_0x32ccf7(0x199)](_0x1d49c5)['with'](_0x15e0d1[_0x32ccf7(0x202)]),{undoCache:_0x8128ca,redoCache:_0x4824f9}=_0x26d112['getUndoRedoMutationParamsCache']();if(_0x8128ca[_0x32ccf7(0x300)]===0x0||_0x4824f9['length']===0x0)return;const _0x2618e3=[],_0x2abc95=[];let _0x2e3596=_0x1ca8c6['Tools']['deepClone'](_0x51e933['mutations'][0x0]),_0x3f7e4b=_0x1ca8c6[_0x32ccf7(0x438)][_0x32ccf7(0x261)](_0x51e933[_0x32ccf7(0x216)][0x0]);for(let _0x513247=_0x8128ca[_0x32ccf7(0x300)]-0x1;_0x513247>=0x0;_0x513247--){const _0xe66eaf={'id':_0x32ccf7(0x354),'params':{..._0x8128ca[_0x513247]}},_0x3e5bd5={'id':_0x32ccf7(0x354),'params':{..._0x4824f9[_0x513247]}},_0x1a9e92=this['_transformService'][_0x32ccf7(0x398)](_0x2e3596,_0xe66eaf,!0x1),_0x3835b2=this[_0x32ccf7(0x38a)][_0x32ccf7(0x398)](_0x3f7e4b,_0x3e5bd5,!0x1);if(_0x598d32['isTransformMutationFailure'](_0x1a9e92))throw _0x1a9e92[_0x32ccf7(0x191)];if(_0x598d32[_0x32ccf7(0x1af)](_0x3835b2))throw _0x3835b2['error'];_0x2618e3['unshift'](_0x1a9e92['m2Prime'][_0x32ccf7(0x309)]),_0x2abc95[_0x32ccf7(0x453)](_0x3835b2['m2Prime'][_0x32ccf7(0x309)]),_0x2e3596=_0x1a9e92[_0x32ccf7(0x304)],_0x3f7e4b=_0x3835b2[_0x32ccf7(0x304)];}_0x26d112[_0x32ccf7(0x393)]({'undoCache':_0x2618e3,'redoCache':_0x2abc95});}['_transformPreviousActiveRange'](_0x434cdb){const _0x2deea1=_0x1b1e14,{unitID:_0xd4a07c}=_0x434cdb,_0x37f0ba=this[_0x2deea1(0x416)]['getRenderById'](_0xd4a07c)[_0x2deea1(0x39d)](_0x15e0d1['DocIMEInputManagerService']),_0x22a49a=_0x37f0ba['getActiveRange']();if(_0x22a49a==null)return;const _0xdde130=[{'id':_0x2deea1(0x354),'params':{'unitId':_0x434cdb[_0x2deea1(0x30f)],'actions':null,'textRanges':[_0x22a49a]}}],_0x7920bf=this[_0x2deea1(0x38a)][_0x2deea1(0x3b1)](_0x434cdb,_0xdde130);if(!_0x598d32['isTransformMutationsWithChangesetSuccess'](_0x7920bf))throw _0x7920bf[_0x2deea1(0x191)];const _0xabf817=_0x7920bf[_0x2deea1(0x384)][0x0][_0x2deea1(0x309)][_0x2deea1(0x40b)];Array['isArray'](_0xabf817)&&_0xabf817[_0x2deea1(0x300)]&&_0x37f0ba[_0x2deea1(0x464)](_0xabf817[0x0]);}};_0x41d520=_0x1da1e0([_0x4e73ae(0x0,_0x598d32[_0x1b1e14(0x27c)]),_0x4e73ae(0x1,_0x28adc3['IRenderManagerService'])],_0x41d520);var _0x24a99f=Object[_0x1b1e14(0x1ce)],_0x52124f=(_0x591263,_0x33149c,_0x191491,_0x28c5c1)=>{const _0x4b9217=_0x1b1e14;for(var _0x1018ed=_0x28c5c1>0x1?void 0x0:_0x28c5c1?_0x24a99f(_0x33149c,_0x191491):_0x33149c,_0x5de699=_0x591263[_0x4b9217(0x300)]-0x1,_0x3de76c;_0x5de699>=0x0;_0x5de699--)(_0x3de76c=_0x591263[_0x5de699])&&(_0x1018ed=_0x3de76c(_0x1018ed)||_0x1018ed);return _0x1018ed;},_0x4dda8b=(_0x35fe77,_0x3ffc00)=>(_0xc8cb1d,_0x35a731)=>_0x3ffc00(_0xc8cb1d,_0x35a731,_0x35fe77);let _0x939c01=class{constructor(_0x29b969,_0x34ed1e,_0x1ba877){const _0x5dd242=_0x1b1e14;this[_0x5dd242(0x28c)]=_0x29b969,this['_transformService']=_0x34ed1e,this[_0x5dd242(0x436)]=_0x1ba877;}[_0x1b1e14(0x18c)](_0x4ccc8f){const _0x2e4b23=_0x1b1e14;this[_0x2e4b23(0x348)](_0x4ccc8f);}[_0x1b1e14(0x2cf)](_0x1afcfa){const _0x3af402=_0x1b1e14,{unitID:_0x2a3d29}=_0x1afcfa,{collaboration:_0x4cfabe}=this[_0x3af402(0x436)][_0x3af402(0x2d4)](_0x2a3d29);if(_0x4cfabe[_0x3af402(0x300)]===0x0)return _0x1afcfa;let _0x3ef4ae=_0x1ca8c6[_0x3af402(0x438)][_0x3af402(0x261)](_0x1afcfa[_0x3af402(0x216)][0x0]);for(let _0x55bb5d=0x0;_0x55bb5d<_0x4cfabe[_0x3af402(0x300)];_0x55bb5d++){const _0x122bb5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4cfabe[_0x55bb5d][_0x3af402(0x3da)],..._0x4cfabe[_0x55bb5d][_0x3af402(0x2f9)]}},_0x541c9f=this[_0x3af402(0x38a)][_0x3af402(0x398)](_0x3ef4ae,_0x122bb5,!0x1);if(_0x598d32[_0x3af402(0x1af)](_0x541c9f))throw _0x541c9f['error'];_0x3ef4ae=_0x541c9f[_0x3af402(0x304)];}return{..._0x1ca8c6['Tools']['deepClone'](_0x1afcfa),'mutations':[_0x3ef4ae]};}[_0x1b1e14(0x348)](_0x83412d){const _0x10882a=_0x1b1e14,{unitID:_0x13ebed}=_0x83412d,{history:_0x1853d8,collaboration:_0x4f0201}=this[_0x10882a(0x436)][_0x10882a(0x2d4)](_0x13ebed);if(_0x1853d8['length']===0x0&&_0x4f0201[_0x10882a(0x300)]===0x0)return;const _0x31ed9c=[],_0x40382e=[];let _0xd20927=_0x1ca8c6['Tools'][_0x10882a(0x261)](_0x83412d['mutations'][0x0]),_0x1f5cc1=_0x1ca8c6['Tools']['deepClone'](_0x83412d[_0x10882a(0x216)][0x0]);for(let _0x492478=_0x1853d8[_0x10882a(0x300)]-0x1;_0x492478>=0x0;_0x492478--){const _0x36cc0f={'id':_0x10882a(0x354),'params':{'unitId':_0x1853d8[_0x492478][_0x10882a(0x3da)],..._0x1853d8[_0x492478][_0x10882a(0x408)]}},_0x2aac9b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1853d8[_0x492478][_0x10882a(0x3da)],..._0x1853d8[_0x492478][_0x10882a(0x2f9)]}},_0x3a3008=this['_transformService'][_0x10882a(0x398)](_0xd20927,_0x36cc0f,!0x1),_0x3e67fb=this['_transformService'][_0x10882a(0x398)](_0x1f5cc1,_0x2aac9b,!0x1);if(_0x598d32['isTransformMutationFailure'](_0x3a3008))throw _0x3a3008[_0x10882a(0x191)];if(_0x598d32[_0x10882a(0x1af)](_0x3e67fb))throw _0x3e67fb[_0x10882a(0x191)];_0x31ed9c[_0x10882a(0x453)]({..._0x1853d8[_0x492478],'undoState':_0x3a3008[_0x10882a(0x384)]['params'],'redoState':_0x3e67fb[_0x10882a(0x384)][_0x10882a(0x309)]}),_0xd20927=_0x3a3008[_0x10882a(0x304)],_0x1f5cc1=_0x3e67fb['m1Prime'];}_0xd20927=_0x1ca8c6[_0x10882a(0x438)][_0x10882a(0x261)](_0x83412d['mutations'][0x0]),_0x1f5cc1=_0x1ca8c6['Tools']['deepClone'](_0x83412d[_0x10882a(0x216)][0x0]);for(let _0x17ae9=_0x4f0201[_0x10882a(0x300)]-0x1;_0x17ae9>=0x0;_0x17ae9--){const _0x51cf07={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4f0201[_0x17ae9][_0x10882a(0x3da)],..._0x4f0201[_0x17ae9][_0x10882a(0x408)]}},_0x53ca3e={'id':_0x10882a(0x354),'params':{'unitId':_0x4f0201[_0x17ae9][_0x10882a(0x3da)],..._0x4f0201[_0x17ae9][_0x10882a(0x2f9)]}},_0x5cb597=this[_0x10882a(0x38a)]['transformMutation'](_0xd20927,_0x51cf07,!0x1),_0x172d01=this[_0x10882a(0x38a)][_0x10882a(0x398)](_0x1f5cc1,_0x53ca3e,!0x1);if(_0x598d32[_0x10882a(0x1af)](_0x5cb597))throw _0x5cb597[_0x10882a(0x191)];if(_0x598d32[_0x10882a(0x1af)](_0x172d01))throw _0x172d01['error'];_0x40382e['unshift']({..._0x4f0201[_0x17ae9],'undoState':_0x5cb597[_0x10882a(0x384)][_0x10882a(0x309)],'redoState':_0x172d01['m2Prime'][_0x10882a(0x309)]}),_0xd20927=_0x5cb597[_0x10882a(0x304)],_0x1f5cc1=_0x172d01['m1Prime'];}this[_0x10882a(0x436)][_0x10882a(0x366)](_0x13ebed,{'history':_0x31ed9c,'collaboration':_0x40382e});}};_0x939c01=_0x52124f([_0x4dda8b(0x0,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x1cd)])),_0x4dda8b(0x1,_0x598d32[_0x1b1e14(0x27c)]),_0x4dda8b(0x2,_0x1ca8c6['Inject'](_0x15e0d1['DocStateChangeManagerService']))],_0x939c01);var _0x1b9c38=Object['getOwnPropertyDescriptor'],_0x3a8e2f=(_0x584f16,_0x221525,_0x719bbc,_0x2f1261)=>{for(var _0x18e939=_0x2f1261>0x1?void 0x0:_0x2f1261?_0x1b9c38(_0x221525,_0x719bbc):_0x221525,_0x17ea1d=_0x584f16['length']-0x1,_0xbb4e23;_0x17ea1d>=0x0;_0x17ea1d--)(_0xbb4e23=_0x584f16[_0x17ea1d])&&(_0x18e939=_0xbb4e23(_0x18e939)||_0x18e939);return _0x18e939;},_0x1b5a72=(_0x1a3f27,_0x39c109)=>(_0x4cb7d6,_0x21b408)=>_0x39c109(_0x4cb7d6,_0x21b408,_0x1a3f27);let _0x79c0f7=class{constructor(_0x113775,_0x2d24fc){const _0x39a4a=_0x1b1e14;this[_0x39a4a(0x28c)]=_0x113775,this[_0x39a4a(0x38a)]=_0x2d24fc;}['transformSelections'](_0x18c970){const _0x2b3df0=_0x1b1e14;var _0x38bc2b;const _0x335c2b=this[_0x2b3df0(0x28c)][_0x2b3df0(0x318)](_0x449e95[_0x2b3df0(0x1bd)]),_0x40d6a7=(_0x38bc2b=_0x335c2b[_0x2b3df0(0x23b)]())!=null?_0x38bc2b:[];if(_0x40d6a7[_0x2b3df0(0x300)]===0x0)return;const _0x253df5=_0x18c970[_0x2b3df0(0x30f)],_0x4d53a1=[{'id':_0x2b3df0(0x354),'params':{'unitId':_0x253df5,'actions':null,'textRanges':_0x40d6a7}}],_0x4c5bb3=this[_0x2b3df0(0x38a)]['transformMutationsWithChangeset'](_0x18c970,_0x4d53a1);if(!_0x598d32[_0x2b3df0(0x1ef)](_0x4c5bb3))throw _0x4c5bb3[_0x2b3df0(0x191)];const _0x4981fa=_0x4c5bb3[_0x2b3df0(0x384)][0x0][_0x2b3df0(0x309)][_0x2b3df0(0x40b)];Array[_0x2b3df0(0x1fa)](_0x4981fa)&&_0x4981fa['length']&&_0x335c2b[_0x2b3df0(0x1b2)](_0x4981fa,{'unitId':_0x253df5,'subUnitId':_0x253df5},!0x1);}};_0x79c0f7=_0x3a8e2f([_0x1b5a72(0x0,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x1cd)])),_0x1b5a72(0x1,_0x598d32[_0x1b1e14(0x27c)])],_0x79c0f7);var _0x55b9c5=Object['getOwnPropertyDescriptor'],_0x5f16a=(_0x9790c6,_0x24a6fb,_0x42efb7,_0x529f67)=>{const _0x1bf09e=_0x1b1e14;for(var _0x389e07=_0x529f67>0x1?void 0x0:_0x529f67?_0x55b9c5(_0x24a6fb,_0x42efb7):_0x24a6fb,_0xbcb4bb=_0x9790c6[_0x1bf09e(0x300)]-0x1,_0x5b6bde;_0xbcb4bb>=0x0;_0xbcb4bb--)(_0x5b6bde=_0x9790c6[_0xbcb4bb])&&(_0x389e07=_0x5b6bde(_0x389e07)||_0x389e07);return _0x389e07;},_0x512418=(_0x3c30f4,_0x3e7da9)=>(_0x347033,_0x4e2e9d)=>_0x3e7da9(_0x347033,_0x4e2e9d,_0x3c30f4);let _0x231b71=class extends _0x1ca8c6[_0x1b1e14(0x341)]{constructor(_0x3bbe5d,_0x1fbe8a,_0x4c8c47,_0x7e8456,_0x457a8e,_0xf250f4,_0x3e122e,_0x5bb0b4){const _0x2b9b57=_0x1b1e14;super(),_0x215ae7(this,'_status$',new _0x3b6b5a[(_0x2b9b57(0x1b1))](_0x4d5f16[_0x2b9b57(0x437)][_0x2b9b57(0x331)])),(this[_0x2b9b57(0x436)]=_0x3bbe5d,this[_0x2b9b57(0x44a)]=_0x1fbe8a,this[_0x2b9b57(0x383)]=_0x4c8c47,this[_0x2b9b57(0x1d7)]=_0x7e8456,this[_0x2b9b57(0x352)]=_0x457a8e,this[_0x2b9b57(0x1a8)]=_0xf250f4,this[_0x2b9b57(0x3d7)]=_0x3e122e,this[_0x2b9b57(0x34d)]=_0x5bb0b4,this[_0x2b9b57(0x2b5)]());}[_0x1b1e14(0x2b5)](){const _0x59b507=_0x1b1e14;this['disposeWithMe'](this[_0x59b507(0x44a)][_0x59b507(0x347)]['subscribe'](_0x16196e=>{const _0x11e0f4=_0x59b507,_0x313873=this['_docStateChangeManagerService'][_0x11e0f4(0x3f3)][_0x11e0f4(0x3b9)](_0x33c234=>{const _0x31cd68=_0x11e0f4;if(_0x33c234==null)return;const {unitId:_0x269805,redoState:_0x550334,commandId:_0x46cf1e}=_0x33c234;if(_0x269805!==_0x16196e[_0x31cd68(0x30f)])return;const _0x2e14ad={'id':_0x46cf1e,'type':_0x1ca8c6[_0x31cd68(0x311)][_0x31cd68(0x333)],'params':{'unitId':_0x269805,'actions':_0x550334[_0x31cd68(0x3b5)],'textRanges':null}};_0x16196e[_0x31cd68(0x217)](_0x2e14ad);});if(_0x16196e[_0x11e0f4(0x215)](_0x313873),_0x16196e instanceof _0x4d5f16[_0x11e0f4(0x248)]){const _0x47f56c={'onTransformIME':_0x7fd6df=>this[_0x11e0f4(0x383)][_0x11e0f4(0x251)](_0x7fd6df),'onTransformState':_0x123576=>this[_0x11e0f4(0x1d7)]['transformStateCache'](_0x123576),'onTransformSelections':_0x45883d=>this[_0x11e0f4(0x352)]['transformSelections'](_0x45883d),'onSyncEditingCollabCursor':_0x24c389=>this[_0x11e0f4(0x1a8)]['syncEditingCollabCursor'](_0x24c389),'onTransformRemoteChangesetByIMECache':_0x22f04e=>this[_0x11e0f4(0x383)][_0x11e0f4(0x2cf)](_0x22f04e),'onTransformRemoteChangesetByStateCache':_0x112880=>this[_0x11e0f4(0x1d7)]['transformRemoteChangeset'](_0x112880)};_0x16196e['addHandlerCallback'](_0x47f56c);}}));}};_0x231b71=_0x5f16a([_0x512418(0x0,_0x1ca8c6[_0x1b1e14(0x308)](_0x15e0d1[_0x1b1e14(0x2b7)])),_0x512418(0x1,_0x1ca8c6[_0x1b1e14(0x308)](_0x4d5f16[_0x1b1e14(0x2f5)])),_0x512418(0x2,_0x1ca8c6[_0x1b1e14(0x308)](_0x41d520)),_0x512418(0x3,_0x1ca8c6['Inject'](_0x939c01)),_0x512418(0x4,_0x1ca8c6[_0x1b1e14(0x308)](_0x79c0f7)),_0x512418(0x5,_0x1ca8c6['Inject'](_0x4a5f98)),_0x512418(0x6,_0x535318['IMessageService']),_0x512418(0x7,_0x1ca8c6['Inject'](_0x1ca8c6[_0x1b1e14(0x3fa)]))],_0x231b71);var _0x665846=(_0x2f5d70=>(_0x2f5d70[_0x2f5d70[_0x1b1e14(0x41b)]=0x0]=_0x1b1e14(0x41b),_0x2f5d70[_0x2f5d70['OK']=0x1]='OK',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x3e1)]=0x2]=_0x1b1e14(0x3e1),_0x2f5d70[_0x2f5d70['PERMISSION_DENIED']=0x3]=_0x1b1e14(0x44c),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x379)]=0x4]=_0x1b1e14(0x379),_0x2f5d70[_0x2f5d70['UNAUTHENTICATED']=0x5]=_0x1b1e14(0x28e),_0x2f5d70[_0x2f5d70['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x3ed)]=0x7]=_0x1b1e14(0x3ed),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x244)]=0x8]=_0x1b1e14(0x244),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x2dc)]=0x9]=_0x1b1e14(0x2dc),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x387)]=0xa]=_0x1b1e14(0x387),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x452)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x2f5d70[_0x2f5d70['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x1b1e14(0x249),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x2a6)]=0xd]=_0x1b1e14(0x2a6),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x343)]=0xe]=_0x1b1e14(0x343),_0x2f5d70[_0x2f5d70['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x1b1e14(0x1fc),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1d6)]=0x10]=_0x1b1e14(0x1d6),_0x2f5d70[_0x2f5d70['CURRENT_STATUS_CANNOT_OPERATE']=0x64]=_0x1b1e14(0x32d),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x301)]=0x65]=_0x1b1e14(0x301),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1f2)]=0xc9]=_0x1b1e14(0x1f2),_0x2f5d70[_0x2f5d70['USER_IS_ANONYMOUS']=0xca]='USER_IS_ANONYMOUS',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x3bd)]=0x1389]=_0x1b1e14(0x3bd),_0x2f5d70[_0x2f5d70['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x1b1e14(0x336),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x2ef)]=0x1772]=_0x1b1e14(0x2ef),_0x2f5d70[_0x2f5d70['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x20b)]=0x1b59]=_0x1b1e14(0x20b),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x220)]=0x1b5a]=_0x1b1e14(0x220),_0x2f5d70[_0x2f5d70['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x1b1e14(0x3ff),_0x2f5d70[_0x2f5d70['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x1b1e14(0x35c),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1c4)]=0x1b5d]=_0x1b1e14(0x1c4),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x288)]=0x1f41]=_0x1b1e14(0x288),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x324)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1ad)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x31a)]=0x232b]=_0x1b1e14(0x31a),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x299)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x3f4)]=0x232d]=_0x1b1e14(0x3f4),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1b7)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x365)]=0x2712]=_0x1b1e14(0x365),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x3a6)]=0x2713]=_0x1b1e14(0x3a6),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x30d)]=0x2714]=_0x1b1e14(0x30d),_0x2f5d70[_0x2f5d70['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x1b1e14(0x3e5),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1c9)]=0x271b]=_0x1b1e14(0x1c9),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x277)]=0x271c]=_0x1b1e14(0x277),_0x2f5d70[_0x2f5d70['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1c8)]=0x271e]=_0x1b1e14(0x1c8),_0x2f5d70[_0x2f5d70['YUUMI_AI_RUN_FAILED']=0x271f]=_0x1b1e14(0x3bc),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1f4)]=0x2720]=_0x1b1e14(0x1f4),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x465)]=0x2af9]=_0x1b1e14(0x465),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1d2)]=0x2ee1]=_0x1b1e14(0x1d2),_0x2f5d70[_0x2f5d70['INVALID_INVITE_CODE']=0x2ee2]=_0x1b1e14(0x373),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x3ea)]=0x2ee3]=_0x1b1e14(0x3ea),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x28f)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x2f5d70[_0x2f5d70['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x2f7)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x260)]=0x32ca]=_0x1b1e14(0x260),_0x2f5d70[_0x2f5d70['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x2f8)]=0x36b1]=_0x1b1e14(0x2f8),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x2ee)]=0x36b2]=_0x1b1e14(0x2ee),_0x2f5d70[_0x2f5d70['ENTITLE_DUP_SUBSCRIPTION']=0x36b3]=_0x1b1e14(0x36f),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x26d)]=0x36b4]=_0x1b1e14(0x26d),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1a2)]=0x36b5]=_0x1b1e14(0x1a2),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x396)]=0x36b6]=_0x1b1e14(0x396),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x374)]=0x36b7]=_0x1b1e14(0x374),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x458)]=0x36b8]='ENTITLE_USE_COUPON_NOT_1ST_TRADE',_0x2f5d70[_0x2f5d70['ENTITLE_CHAT_LIMIT_EXCEED']=0x3715]=_0x1b1e14(0x463),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x23f)]=0x3716]=_0x1b1e14(0x23f),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1ee)]=0x3717]=_0x1b1e14(0x1ee),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x1bb)]=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x187)]=0x3a99]=_0x1b1e14(0x187),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x3df)]=0x3a9a]=_0x1b1e14(0x3df),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x3e7)]=0x3a9b]=_0x1b1e14(0x3e7),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x38e)]=0x3a9c]=_0x1b1e14(0x38e),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x194)]=0x3a9d]=_0x1b1e14(0x194),_0x2f5d70[_0x2f5d70['REDEMPTION_USER_REDEEM_TIMES_EXCEED']=0x3a9e]=_0x1b1e14(0x1ba),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x415)]=0x3a9f]='REDEMPTION_CODE_HAS_BEEN_CREATED',_0x2f5d70[_0x2f5d70[_0x1b1e14(0x3ca)]=0x3e81]=_0x1b1e14(0x3ca),_0x2f5d70[_0x2f5d70[_0x1b1e14(0x246)]=-0x1]=_0x1b1e14(0x246),_0x2f5d70))(_0x665846||{});function _0x38f6df(_0x2a3ca4){const _0x1ea395=_0x1b1e14;var _0x3be5e0,_0x29be1b;const _0x108d46=(_0x3be5e0=_0x2a3ca4[_0x1ea395(0x323)])==null?void 0x0:_0x3be5e0[_0x1ea395(0x2d7)],_0x41d837=((_0x29be1b=_0x2a3ca4[_0x1ea395(0x323)])==null?void 0x0:_0x29be1b['totalFormulasToCalculate'])||0x0;return _0x108d46===_0x4f0b9d[_0x1ea395(0x325)]['START_CALCULATION']&&_0x41d837>0x0;}function _0x121a4d(_0x25b491){const _0x2b7d2b=_0x1b1e14;return _0x25b491['functionsExecutedState']===_0x4f0b9d['FormulaExecutedStateType'][_0x2b7d2b(0x3cc)];}var _0xed100b=Object[_0x1b1e14(0x1ce)],_0x1af5c7=(_0x5ef989,_0x4035a6,_0xa96a6f,_0x56edaa)=>{const _0x1ab5e9=_0x1b1e14;for(var _0x407a36=_0x56edaa>0x1?void 0x0:_0x56edaa?_0xed100b(_0x4035a6,_0xa96a6f):_0x4035a6,_0x6b5cc8=_0x5ef989[_0x1ab5e9(0x300)]-0x1,_0x383bf2;_0x6b5cc8>=0x0;_0x6b5cc8--)(_0x383bf2=_0x5ef989[_0x6b5cc8])&&(_0x407a36=_0x383bf2(_0x407a36)||_0x407a36);return _0x407a36;},_0x3e03b0=(_0x4613fe,_0x4224de)=>(_0x403e6d,_0x189512)=>_0x4224de(_0x403e6d,_0x189512,_0x4613fe);const _0x9d2270=_0x1b1e14(0x337),_0x471d7c='/universer-api/license/formula/limit/start',_0x5d4735=_0x1b1e14(0x287);let _0x2cbcd5=class extends _0x1ca8c6[_0x1b1e14(0x341)]{constructor(_0x41201a,_0x1c008c,_0x3a95a4,_0x511bcf,_0x530d75,_0x2c1be0,_0x32bbea){const _0xfb8df=_0x1b1e14;super(),_0x215ae7(this,_0xfb8df(0x466),null),_0x215ae7(this,'_maxFormulaLimit',0x0),_0x215ae7(this,'_currentUsage',0x0),_0x215ae7(this,_0xfb8df(0x425),[]),_0x215ae7(this,_0xfb8df(0x24a),0x0),(this['_messageService']=_0x41201a,this[_0xfb8df(0x3fb)]=_0x1c008c,this[_0xfb8df(0x357)]=_0x3a95a4,this[_0xfb8df(0x208)]=_0x511bcf,this[_0xfb8df(0x23d)]=_0x530d75,this[_0xfb8df(0x3e0)]=_0x2c1be0,this[_0xfb8df(0x34d)]=_0x32bbea,this[_0xfb8df(0x2b3)]());}[_0x1b1e14(0x2b3)](){const _0x4e9131=_0x1b1e14;this[_0x4e9131(0x215)](this[_0x4e9131(0x3fb)][_0x4e9131(0x1d0)]((_0x110822,_0x49e35b)=>{const _0x5e89ae=_0x4e9131;var _0x5d8381;if(_0x110822['id']!==_0x4f0b9d[_0x5e89ae(0x240)]['id'])return;const _0x5a82bc=_0x110822[_0x5e89ae(0x309)];if(!this[_0x5e89ae(0x29f)]((_0x5d8381=_0x5a82bc[_0x5e89ae(0x364)])!=null?_0x5d8381:[]))return;if(!this[_0x5e89ae(0x328)]())throw this[_0x5e89ae(0x3ce)](_0x110822,_0x49e35b),this[_0x5e89ae(0x273)](),new _0x1ca8c6['CanceledError']();})),this[_0x4e9131(0x215)](this[_0x4e9131(0x3fb)][_0x4e9131(0x27f)]((_0x4b4131,_0x31e4ee)=>{const _0x14fe59=_0x4e9131;if(_0x4b4131['id']!==_0x4f0b9d[_0x14fe59(0x292)]['id'])return;const _0x378e8d=_0x4b4131[_0x14fe59(0x309)];if(_0x38f6df(_0x378e8d)){const _0x4a3614=_0x1ca8c6[_0x14fe59(0x1a1)]();this[_0x14fe59(0x425)][_0x14fe59(0x456)](_0x4a3614),this[_0x14fe59(0x1ff)](_0x4a3614);}else{if(_0x121a4d(_0x378e8d)&&this[_0x14fe59(0x425)][_0x14fe59(0x300)]>0x0){const _0x2261c7=this[_0x14fe59(0x425)][_0x14fe59(0x407)]();this[_0x14fe59(0x380)](_0x2261c7);}}}));}['dispose'](){const _0x17da7f=_0x1b1e14;super[_0x17da7f(0x1cc)](),this[_0x17da7f(0x406)](),this[_0x17da7f(0x425)]=[],this[_0x17da7f(0x37d)]=0x0,this[_0x17da7f(0x468)]=0x0,this['_lastResponseTimestamp']=0x0;}async['_checkAndWaitForCalculationPermission'](_0x4e6192,_0x2fd7bd){const _0x218094=_0x1b1e14;for(let _0x43c4c5=0x0;_0x43c4c5<0x1e;_0x43c4c5++)try{if(await this['_getFormulaLimitStatus'](),this['_checkCalculationAvailable']()){this[_0x218094(0x1c5)](_0x4e6192,_0x2fd7bd),this[_0x218094(0x3d7)]['show']({'content':this[_0x218094(0x34d)]['t']('formula.calculation.started'),'type':_0x5cbfd3['MessageType']['Success']});return;}await new Promise(_0xc9ab37=>{const _0x2c3455=_0x218094;this['_pollingInterval']=window[_0x2c3455(0x346)](_0xc9ab37,0x3e8);});}catch(_0x2b6c9c){this[_0x218094(0x3e0)]['error'](_0x2b6c9c);}this[_0x218094(0x3d7)][_0x218094(0x25f)]({'content':this[_0x218094(0x34d)]['t'](_0x218094(0x460)),'type':_0x5cbfd3[_0x218094(0x1e6)][_0x218094(0x37a)]});}[_0x1b1e14(0x1c5)](_0x226515,_0x2503ea){const _0x22f9de=_0x1b1e14;try{this[_0x22f9de(0x3fb)][_0x22f9de(0x2c2)](_0x226515['id'],_0x226515[_0x22f9de(0x309)],_0x2503ea);}catch(_0x6314d3){this[_0x22f9de(0x3e0)][_0x22f9de(0x191)](_0x6314d3);}}['_setFormulaLimitStatus'](_0x4f346d,_0x268ca3){const _0x293b6c=_0x1b1e14;_0x268ca3<this['_lastResponseTimestamp']||(this[_0x293b6c(0x24a)]=_0x268ca3,this[_0x293b6c(0x468)]=Number[_0x293b6c(0x29b)](_0x4f346d[_0x293b6c(0x3a4)]),this[_0x293b6c(0x37d)]=Number[_0x293b6c(0x29b)](_0x4f346d[_0x293b6c(0x2b9)]));}async[_0x1b1e14(0x1ff)](_0x4f29c9){const _0x1c5347=_0x1b1e14;var _0xc0c4e5,_0x4e2b04;const _0x3fcc68=Date[_0x1c5347(0x1cb)]();try{const _0x188cda=((_0xc0c4e5=this['_configService'][_0x1c5347(0x22b)](_0x4d5f16[_0x1c5347(0x207)]))==null?void 0x0:_0xc0c4e5[_0x1c5347(0x433)])||_0x471d7c,_0x5b49f7=(await this[_0x1c5347(0x208)][_0x1c5347(0x1a3)](_0x188cda,{'body':JSON['stringify']({'taskId':_0x4f29c9})}))['body'];if(((_0x4e2b04=_0x5b49f7['error'])==null?void 0x0:_0x4e2b04[_0x1c5347(0x37b)])!==_0x665846['OK'])return;this[_0x1c5347(0x2b0)](_0x5b49f7['limitInfo'],_0x3fcc68);}catch(_0x2f90af){this['_logService']['error'](_0x2f90af);}}async[_0x1b1e14(0x3d9)](_0x442066){const _0x4cc2da=_0x1b1e14;var _0xc8073b,_0x48e265;const _0x500f60=Date[_0x4cc2da(0x1cb)]();try{const _0x530315=((_0xc8073b=this[_0x4cc2da(0x357)][_0x4cc2da(0x22b)](_0x4d5f16[_0x4cc2da(0x207)]))==null?void 0x0:_0xc8073b[_0x4cc2da(0x265)])||_0x9d2270,_0x554dd1=_0x442066?_0x530315+_0x4cc2da(0x41e)+encodeURIComponent(_0x442066):_0x530315,_0x2dec6f=(await this[_0x4cc2da(0x208)][_0x4cc2da(0x318)](_0x554dd1))[_0x4cc2da(0x46f)];if(((_0x48e265=_0x2dec6f[_0x4cc2da(0x191)])==null?void 0x0:_0x48e265[_0x4cc2da(0x37b)])!==_0x665846['OK'])return;this['_setFormulaLimitStatus'](_0x2dec6f[_0x4cc2da(0x2bd)],_0x500f60);}catch(_0xeaedd){this[_0x4cc2da(0x3e0)][_0x4cc2da(0x191)](_0xeaedd);}}async['_releaseCalculationLimit'](_0x594dca){const _0x46e12c=_0x1b1e14;var _0x1c7751,_0x5197ca;const _0x384ef0=Date['now']();try{const _0x9024c5=((_0x1c7751=this[_0x46e12c(0x357)][_0x46e12c(0x22b)](_0x4d5f16[_0x46e12c(0x207)]))==null?void 0x0:_0x1c7751['releaseFormulaLimitUrl'])||_0x5d4735,_0xfd10d9=(await this[_0x46e12c(0x208)][_0x46e12c(0x1a3)](_0x9024c5,{'body':JSON['stringify']({'taskId':_0x594dca})}))['body'];if(((_0x5197ca=_0xfd10d9[_0x46e12c(0x191)])==null?void 0x0:_0x5197ca[_0x46e12c(0x37b)])!==_0x665846['OK'])return;this[_0x46e12c(0x2b0)](_0xfd10d9[_0x46e12c(0x2bd)],_0x384ef0);}catch(_0xc06ede){this['_logService'][_0x46e12c(0x191)](_0xc06ede);}}[_0x1b1e14(0x328)](){const _0x184c61=_0x1b1e14;return this['_maxFormulaLimit']===0x0?!0x0:this[_0x184c61(0x468)]-this['_currentUsage']>0x0;}[_0x1b1e14(0x406)](){const _0x29dc54=_0x1b1e14;this[_0x29dc54(0x466)]&&(clearTimeout(this[_0x29dc54(0x466)]),this[_0x29dc54(0x466)]=null);}[_0x1b1e14(0x273)](){const _0x247350=_0x1b1e14;this['_messageService'][_0x247350(0x25f)]({'content':this['_localeService']['t'](_0x247350(0x1a6)),'type':_0x5cbfd3[_0x247350(0x1e6)][_0x247350(0x381)]});}[_0x1b1e14(0x29f)](_0x503450){const _0x1bb25d=_0x1b1e14;for(const _0x49d29f of _0x503450){const {unitId:_0x31dfb6,sheetId:_0x52ade3,range:_0x37826b}=_0x49d29f,_0x522db9=this['_univerInstanceService'][_0x1bb25d(0x24b)](_0x31dfb6);if(!_0x522db9)continue;const _0x186e1d=_0x522db9[_0x1bb25d(0x46b)](_0x52ade3);if(!_0x186e1d)continue;const _0x2b5ce7=_0x186e1d[_0x1bb25d(0x43e)]();for(let _0x32f26a=_0x37826b[_0x1bb25d(0x245)];_0x32f26a<=_0x37826b[_0x1bb25d(0x24d)];_0x32f26a++)for(let _0x992f3e=_0x37826b['startColumn'];_0x992f3e<=_0x37826b[_0x1bb25d(0x270)];_0x992f3e++){const _0x297bc0=_0x2b5ce7['getValue'](_0x32f26a,_0x992f3e);if(_0x297bc0&&(_0x1ca8c6[_0x1bb25d(0x258)](_0x297bc0['f'])||_0x1ca8c6[_0x1bb25d(0x237)](_0x297bc0['si'])))return!0x0;}}return!0x1;}};_0x2cbcd5=_0x1af5c7([_0x3e03b0(0x0,_0x1ca8c6[_0x1b1e14(0x308)](_0x535318['IMessageService'])),_0x3e03b0(0x1,_0x1ca8c6[_0x1b1e14(0x25a)]),_0x3e03b0(0x2,_0x1ca8c6[_0x1b1e14(0x3e6)]),_0x3e03b0(0x3,_0x1ca8c6[_0x1b1e14(0x308)](_0x89ff74[_0x1b1e14(0x276)])),_0x3e03b0(0x4,_0x1ca8c6[_0x1b1e14(0x3af)]),_0x3e03b0(0x5,_0x1ca8c6[_0x1b1e14(0x353)]),_0x3e03b0(0x6,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x3fa)]))],_0x2cbcd5);var _0x5b6581=Object[_0x1b1e14(0x1ce)],_0x2a7e32=(_0x5c3c0d,_0x1aabec,_0x3664fe,_0x5c28c5)=>{for(var _0x341238=_0x5c28c5>0x1?void 0x0:_0x5c28c5?_0x5b6581(_0x1aabec,_0x3664fe):_0x1aabec,_0x55419e=_0x5c3c0d['length']-0x1,_0xa104d9;_0x55419e>=0x0;_0x55419e--)(_0xa104d9=_0x5c3c0d[_0x55419e])&&(_0x341238=_0xa104d9(_0x341238)||_0x341238);return _0x341238;},_0x487589=(_0x129d91,_0x3a1b37)=>(_0x2de877,_0x286d3b)=>_0x3a1b37(_0x2de877,_0x286d3b,_0x129d91);let _0x407c01=class extends _0x1ca8c6['Disposable']{constructor(_0x40f709,_0x1aa7f6,_0x3d1244){const _0x2e3185=_0x1b1e14;super(),_0x215ae7(this,_0x2e3185(0x204),new Map()),_0x215ae7(this,_0x2e3185(0x414),new Map()),_0x215ae7(this,_0x2e3185(0x266),!0x1),(this[_0x2e3185(0x357)]=_0x40f709,this[_0x2e3185(0x241)]=_0x1aa7f6,this[_0x2e3185(0x2aa)]=_0x3d1244);}['disableLocalCache'](){const _0x40b60c=_0x1b1e14;this[_0x40b60c(0x266)]=!0x0;}[_0x1b1e14(0x25c)](){const _0x59e487=_0x1b1e14;this[_0x59e487(0x266)]=!0x1;}get[_0x1b1e14(0x22c)](){const _0x226812=_0x1b1e14;return this[_0x226812(0x414)];}[_0x1b1e14(0x1cc)](){const _0x47fe8b=_0x1b1e14;this[_0x47fe8b(0x2c4)]()[_0x47fe8b(0x1a5)](()=>super[_0x47fe8b(0x1cc)]());}async[_0x1b1e14(0x43a)](_0x589be5){const _0x2e1f79=_0x1b1e14;return this[_0x2e1f79(0x266)]?null:this['_localStorageService'][_0x2e1f79(0x448)](_0x4d5f16[_0x2e1f79(0x228)](_0x589be5));}async[_0x1b1e14(0x36c)](_0x58330b,_0x6d0890){const _0x172eb5=_0x1b1e14;return!!this[_0x172eb5(0x241)]['setItem'](_0x58330b,_0x6d0890);}[_0x1b1e14(0x417)](_0x595140,_0x5509b6,_0x33946d,_0x24c251){const _0x127ae7=_0x1b1e14,_0x413c42=this['_revisionService'][_0x127ae7(0x312)](_0x595140);this['_cachedData']['set'](_0x595140,{'unitID':_0x595140,'type':_0x5509b6,'awaitingChangeset':_0x33946d,'mutations':_0x24c251,'rev':_0x413c42}),this['_saveTaskMap'][_0x127ae7(0x33b)](_0x595140)||this['_scheduleSaving'](_0x595140);}[_0x1b1e14(0x182)](_0x892068){const _0x34294e=_0x1b1e14,_0x228c23=this['_getSaveTimeout']();_0x228c23===0x0?this['_saveCache'](_0x892068):this[_0x34294e(0x414)][_0x34294e(0x441)](_0x892068,setTimeout(()=>this[_0x34294e(0x36b)](_0x892068),_0x228c23));}['_getSaveTimeout'](){const _0x584aea=_0x1b1e14;var _0x2a5a24;return(_0x2a5a24=this[_0x584aea(0x357)]['getConfig'](_0x4d5f16['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x2a5a24:_0x4d5f16['LOCAL_CACHE_INTERVAL'];}['_saveCache'](_0x4cba76){const _0x12d47a=_0x1b1e14,_0x1e7a94=this[_0x12d47a(0x414)][_0x12d47a(0x318)](_0x4cba76);return _0x1e7a94!==void 0x0&&window['clearTimeout'](_0x1e7a94),this[_0x12d47a(0x241)][_0x12d47a(0x1b5)](_0x4d5f16[_0x12d47a(0x228)](_0x4cba76),this['_cachedData']['get'](_0x4cba76))['then'](()=>this[_0x12d47a(0x414)][_0x12d47a(0x1c0)](_0x4cba76));}async['exhaustSavingTask'](){const _0x267d90=_0x1b1e14,_0x32641c=[];this[_0x267d90(0x414)][_0x267d90(0x459)]((_0x42b8bc,_0x155ba9)=>{const _0x175499=_0x267d90;window['clearTimeout'](_0x42b8bc),_0x32641c[_0x175499(0x456)](this[_0x175499(0x36b)](_0x155ba9)[_0x175499(0x1a5)](()=>{const _0x3d5d59=_0x175499;this[_0x3d5d59(0x414)][_0x3d5d59(0x1c0)](_0x155ba9);}));}),await Promise['all'](_0x32641c);}};_0x407c01=_0x2a7e32([_0x487589(0x0,_0x1ca8c6[_0x1b1e14(0x3e6)]),_0x487589(0x1,_0x1ca8c6[_0x1b1e14(0x26f)]),_0x487589(0x2,_0x1ca8c6[_0x1b1e14(0x308)](_0x598d32['RevisionService']))],_0x407c01);class _0x48f0ff extends _0x1ca8c6['RxDisposable']{constructor(){const _0x2b1098=_0x1b1e14;super(),_0x215ae7(this,_0x2b1098(0x290)),this[_0x2b1098(0x290)]=_0x3b6b5a['fromEvent'](window,_0x2b1098(0x2a2))['pipe'](_0x3b6b5a[_0x2b1098(0x264)](this[_0x2b1098(0x31c)]),_0x3b6b5a[_0x2b1098(0x262)](0x1),_0x3b6b5a['mapTo'](void 0x0));}[_0x1b1e14(0x186)](_0x367e08,_0x468cf1,_0x35a3c5=!0x1){const _0x118f58=_0x1b1e14,_0x50d369=new URL(window[_0x118f58(0x3f2)][_0x118f58(0x23c)]);_0x50d369['searchParams']['set'](_0x367e08,_0x468cf1),_0x35a3c5?window[_0x118f58(0x272)][_0x118f58(0x269)]('','',_0x50d369[_0x118f58(0x242)]()):window[_0x118f58(0x272)][_0x118f58(0x35a)]('','',_0x50d369[_0x118f58(0x242)]());}[_0x1b1e14(0x400)](_0x4baa1c,_0x60b1e9=!0x1){const _0x10ed3c=_0x1b1e14,_0x4cc9b5=new URL(window['location'][_0x10ed3c(0x23c)]);_0x4cc9b5['searchParams'][_0x10ed3c(0x1c0)](_0x4baa1c),_0x60b1e9?window['history'][_0x10ed3c(0x269)]('','',_0x4cc9b5[_0x10ed3c(0x242)]()):window[_0x10ed3c(0x272)]['pushState']('','',_0x4cc9b5['toString']());}[_0x1b1e14(0x1ac)](_0x17adb4){const _0x2ab71d=_0x1b1e14;var _0x4bc171;return(_0x4bc171=new URL(window[_0x2ab71d(0x3f2)][_0x2ab71d(0x23c)])[_0x2ab71d(0x3f1)][_0x2ab71d(0x318)](_0x17adb4))!=null?_0x4bc171:void 0x0;}}var _0xd9d1f4=Object[_0x1b1e14(0x394)],_0x2bcf42=Object[_0x1b1e14(0x1ce)],_0x5e52b6=(_0x12e3ad,_0x51ede4,_0x52b197)=>_0x51ede4 in _0x12e3ad?_0xd9d1f4(_0x12e3ad,_0x51ede4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x52b197}):_0x12e3ad[_0x51ede4]=_0x52b197,_0x455818=(_0x331b31,_0x53e831,_0x3444b4,_0x4773d5)=>{const _0x429523=_0x1b1e14;for(var _0x370f4b=_0x4773d5>0x1?void 0x0:_0x4773d5?_0x2bcf42(_0x53e831,_0x3444b4):_0x53e831,_0x234b70=_0x331b31[_0x429523(0x300)]-0x1,_0x5bac09;_0x234b70>=0x0;_0x234b70--)(_0x5bac09=_0x331b31[_0x234b70])&&(_0x370f4b=_0x5bac09(_0x370f4b)||_0x370f4b);return _0x370f4b;},_0x40ed5f=(_0x36f225,_0x2d6ef0)=>(_0x5836b4,_0x2e97aa)=>_0x2d6ef0(_0x5836b4,_0x2e97aa,_0x36f225),_0x59876f=(_0x25a2b7,_0x542098,_0x3a4ff8)=>_0x5e52b6(_0x25a2b7,_0x542098+'',_0x3a4ff8);const _0x45106e='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x3e0575[_0x1b1e14(0x2a8)]=class extends _0x1ca8c6[_0x1b1e14(0x2ea)]{constructor(_0x5f1956=_0x41c00e,_0x538a0d,_0x296eae,_0xd487bf){const _0x54cca4=_0x1b1e14;super(),this[_0x54cca4(0x3aa)]=_0x5f1956,this[_0x54cca4(0x416)]=_0x538a0d,this['_injector']=_0x296eae,this[_0x54cca4(0x357)]=_0xd487bf;const {..._0x267a02}=_0x1ca8c6[_0x54cca4(0x1d3)]({},_0x41c00e,this[_0x54cca4(0x3aa)]);this['_configService'][_0x54cca4(0x2e1)](_0x44d605,_0x267a02);}[_0x1b1e14(0x3c3)](){const _0x4a773c=_0x1b1e14;this['_registerDependencies'](),this[_0x4a773c(0x206)]();}[_0x1b1e14(0x21e)](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x58d9bc=_0x1b1e14;var _0x25bdf6;const _0x2e2301=[[_0x4829de],[_0x2cbcd5],[_0x79c0f7],[_0x41d520],[_0x939c01],[_0x4a5f98],[_0x4af2ba,{'useClass':_0x48f0ff}],[_0x89ff74[_0x58d9bc(0x2fe)],{'useClass':_0x89ff74[_0x58d9bc(0x2bc)]}],[_0x4d5f16['ILocalCacheService'],{'useClass':_0x407c01}],[_0x3e0575['DesktopCollaborationStatusDisplayController']],[_0x231b71],[_0x22380c],[_0x3bc722],[_0x447eea],[_0x3e0575[_0x58d9bc(0x2ab)]]];this['_config'][_0x58d9bc(0x1e0)]&&_0x2e2301[_0x58d9bc(0x456)]([_0x4b7de8]),_0x1ca8c6[_0x58d9bc(0x2ec)](this[_0x58d9bc(0x28c)],_0x1ca8c6[_0x58d9bc(0x37f)](_0x2e2301,(_0x25bdf6=this[_0x58d9bc(0x3aa)])==null?void 0x0:_0x25bdf6['override']));}[_0x1b1e14(0x34f)](){const _0xecc786=_0x1b1e14;this[_0xecc786(0x215)](this['_renderManagerService'][_0xecc786(0x454)](_0x1ca8c6[_0xecc786(0x30b)][_0xecc786(0x3b3)],[_0x153663])),this[_0xecc786(0x215)](this[_0xecc786(0x416)][_0xecc786(0x454)](_0x1ca8c6['UniverInstanceType'][_0xecc786(0x3de)],[_0x2da07f]));}[_0x1b1e14(0x206)](){const _0x4a42a9=_0x1b1e14;_0x1ca8c6[_0x4a42a9(0x253)](this[_0x4a42a9(0x28c)],[[_0x3bc722],[_0x3e0575[_0x4a42a9(0x413)]],[_0x231b71],[_0x22380c],[_0x3e0575[_0x4a42a9(0x2ab)]],[_0x2cbcd5]]),this[_0x4a42a9(0x3aa)]['enableFrontendLog']&&_0x1ca8c6[_0x4a42a9(0x253)](this[_0x4a42a9(0x28c)],[[_0x4b7de8]]);}},_0x59876f(_0x3e0575[_0x1b1e14(0x2a8)],'pluginName',_0x45106e),_0x3e0575[_0x1b1e14(0x2a8)]=_0x455818([_0x1ca8c6[_0x1b1e14(0x291)](_0x4d5f16[_0x1b1e14(0x1eb)]),_0x40ed5f(0x1,_0x28adc3['IRenderManagerService']),_0x40ed5f(0x2,_0x1ca8c6[_0x1b1e14(0x308)](_0x1ca8c6[_0x1b1e14(0x1cd)])),_0x40ed5f(0x3,_0x1ca8c6[_0x1b1e14(0x3e6)])],_0x3e0575[_0x1b1e14(0x2a8)]);var _0x2cf821=Object[_0x1b1e14(0x1ce)],_0x2c5176=(_0x33cca3,_0x4c656d,_0x1c67d6,_0x1204ae)=>{const _0x26a592=_0x1b1e14;for(var _0xce62c2=_0x1204ae>0x1?void 0x0:_0x1204ae?_0x2cf821(_0x4c656d,_0x1c67d6):_0x4c656d,_0x199bc2=_0x33cca3[_0x26a592(0x300)]-0x1,_0x30a209;_0x199bc2>=0x0;_0x199bc2--)(_0x30a209=_0x33cca3[_0x199bc2])&&(_0xce62c2=_0x30a209(_0xce62c2)||_0xce62c2);return _0xce62c2;},_0x3fcd23=(_0x328ea8,_0x4cbc2f)=>(_0x4e3b29,_0x59a059)=>_0x4cbc2f(_0x4e3b29,_0x59a059,_0x328ea8);_0x3e0575[_0x1b1e14(0x232)]=class extends _0x4d5f16['CollaborationSocketService']{constructor(_0x4fc246,_0x3dbc8e,_0x154073,_0x155f3d,_0x451a59){super(_0x4fc246,_0x3dbc8e,_0x154073,_0x155f3d,_0x451a59);}async[_0x1b1e14(0x390)](_0x5938cd){const _0x5437e0=_0x1b1e14,_0x358db0=await this['_getSessionTicket'](),_0xbd6218=this[_0x5437e0(0x41f)](_0x5938cd,_0x358db0);return this[_0x5437e0(0x3f6)](_0xbd6218);}[_0x1b1e14(0x41f)](_0x47070b,_0x4aab12){const _0x5c969f=_0x1b1e14,_0x3a682d=typeof window>'u'?new URL(_0x47070b):new URL(_0x47070b,window[_0x5c969f(0x3f2)][_0x5c969f(0x395)]);_0x3a682d['searchParams']['set'](_0x5c969f(0x3f0),_0x4aab12);const _0x4d50fb=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5c969f(0x3f2)][_0x5c969f(0x24e)]);return _0x4d50fb[_0x5c969f(0x318)]('runId')&&_0x3a682d[_0x5c969f(0x3f1)]['set'](_0x5c969f(0x221),_0x4d50fb[_0x5c969f(0x318)](_0x5c969f(0x221))),_0x3a682d[_0x5c969f(0x242)]();}async[_0x1b1e14(0x267)](){const _0x466823=_0x1b1e14;var _0x3603d1,_0x4d86b9,_0x98070f;const _0x2d6e6c=this['_configService'][_0x466823(0x22b)](_0x4d5f16[_0x466823(0x207)]),_0x456c3b=(_0x3603d1=_0x2d6e6c==null?void 0x0:_0x2d6e6c[_0x466823(0x2af)])!=null?_0x3603d1:_0x4d5f16['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x98070f=(_0x4d86b9=(await this['_httpService'][_0x466823(0x318)](_0x456c3b,{'headers':{'Content-Type':'application/json'}}))[_0x466823(0x46f)])==null?void 0x0:_0x4d86b9[_0x466823(0x363)])!=null?_0x98070f:'';}},_0x3e0575[_0x1b1e14(0x232)]=_0x2c5176([_0x3fcd23(0x0,_0x1ca8c6['Inject'](_0x1ca8c6[_0x1b1e14(0x1cd)])),_0x3fcd23(0x1,_0x1ca8c6[_0x1b1e14(0x308)](_0x89ff74[_0x1b1e14(0x276)])),_0x3fcd23(0x2,_0x1ca8c6['IConfigService']),_0x3fcd23(0x3,_0x1ca8c6[_0x1b1e14(0x353)]),_0x3fcd23(0x4,_0x598d32[_0x1b1e14(0x3ec)])],_0x3e0575[_0x1b1e14(0x232)]);var _0x4aef90=Object[_0x1b1e14(0x1ce)],_0x572cb4=(_0x4487e5,_0x4b9a2b,_0x54de5f,_0x25dc60)=>{const _0x515586=_0x1b1e14;for(var _0x51a8d8=_0x25dc60>0x1?void 0x0:_0x25dc60?_0x4aef90(_0x4b9a2b,_0x54de5f):_0x4b9a2b,_0x3e795d=_0x4487e5[_0x515586(0x300)]-0x1,_0x1bfc99;_0x3e795d>=0x0;_0x3e795d--)(_0x1bfc99=_0x4487e5[_0x3e795d])&&(_0x51a8d8=_0x1bfc99(_0x51a8d8)||_0x51a8d8);return _0x51a8d8;},_0x44ca9d=(_0x29e36b,_0x3dd87f)=>(_0x92890a,_0x3ea417)=>_0x3dd87f(_0x92890a,_0x3ea417,_0x29e36b);_0x3e0575[_0x1b1e14(0x39e)]=class extends _0x1ca8c6['Disposable']{constructor(_0x5d1c03,_0x195c50,_0x45c473){const _0x48d895=_0x1b1e14;super(),this['_instanceService']=_0x5d1c03,this[_0x48d895(0x208)]=_0x195c50,this['_configService']=_0x45c473;}async['runOnServer'](_0x43fda0,_0x4520bc,_0x10429a,..._0xbdd719){const _0x3fd8f0=_0x1b1e14;var _0x233e46,_0x5bf294,_0x1902f1,_0x244b74;const _0x359ab3=this[_0x3fd8f0(0x29d)][_0x3fd8f0(0x282)]();if(!_0x359ab3)throw new Error(_0x3fd8f0(0x26c));const _0x80a936=((_0x233e46=this['_configService'][_0x3fd8f0(0x22b)](_0x4d5f16[_0x3fd8f0(0x3bb)]))!=null?_0x233e46:_0x4d5f16[_0x3fd8f0(0x2eb)])+'/'+_0x43fda0+_0x3fd8f0(0x349)+_0x4520bc,_0xcd045=new URL(window[_0x3fd8f0(0x3f2)][_0x3fd8f0(0x23c)]),_0x424dcc={'scriptId':_0x43fda0,'runId':(_0x5bf294=_0xcd045[_0x3fd8f0(0x3f1)][_0x3fd8f0(0x318)](_0x3fd8f0(0x221)))!=null?_0x5bf294:'','function':_0x4520bc,'unitId':_0x359ab3[_0x3fd8f0(0x212)](),'argsOfFunction':JSON[_0x3fd8f0(0x227)](_0xbdd719),'invokeId':(_0x1902f1=_0x10429a[_0x3fd8f0(0x1d4)])!=null?_0x1902f1:'','executionId':(_0x244b74=_0x10429a[_0x3fd8f0(0x19b)])!=null?_0x244b74:''};try{const _0x4650f9=await this[_0x3fd8f0(0x208)][_0x3fd8f0(0x1a3)](_0x80a936,{'body':_0x424dcc});return _0x4650f9[_0x3fd8f0(0x46f)]['error']&&_0x4650f9[_0x3fd8f0(0x46f)][_0x3fd8f0(0x191)][_0x3fd8f0(0x37b)]!==_0x665846['OK']?_0x3fd8f0(0x1ea):_0x4650f9[_0x3fd8f0(0x46f)][_0x3fd8f0(0x327)];}catch{return _0x3fd8f0(0x1ea);}}},_0x3e0575[_0x1b1e14(0x39e)]=_0x572cb4([_0x44ca9d(0x0,_0x1ca8c6[_0x1b1e14(0x3af)]),_0x44ca9d(0x1,_0x1ca8c6[_0x1b1e14(0x308)](_0x89ff74['HTTPService'])),_0x44ca9d(0x2,_0x1ca8c6[_0x1b1e14(0x3e6)])],_0x3e0575[_0x1b1e14(0x39e)]);const _0x3070e7=0x7530,_0x5ed521=_0x1b1e14(0x397);class _0x894f92 extends _0x1ca8c6[_0x1b1e14(0x341)]{constructor(){const _0x4bdcc5=_0x1b1e14;super(),_0x215ae7(this,_0x4bdcc5(0x20a),_0x1ca8c6[_0x4bdcc5(0x1a1)]()),_0x215ae7(this,_0x4bdcc5(0x330),new Set()),_0x215ae7(this,'_unitOnClients',new Map()),_0x215ae7(this,'_heartbeatTimer',null),_0x215ae7(this,_0x4bdcc5(0x388),new Map()),_0x215ae7(this,_0x4bdcc5(0x445),new Map()),this[_0x4bdcc5(0x2f4)]();}[_0x1b1e14(0x1cc)](){const _0x59b412=_0x1b1e14;super[_0x59b412(0x1cc)](),this[_0x59b412(0x388)]['forEach']((_0xf3bc73,_0x50c6b9)=>this[_0x59b412(0x1a9)](_0x50c6b9)),this[_0x59b412(0x418)]&&window[_0x59b412(0x2df)](this[_0x59b412(0x418)]);}[_0x1b1e14(0x1b3)](_0x563cc9){const _0x4e3bf1=_0x1b1e14;return this[_0x4e3bf1(0x20e)](_0x563cc9)[_0x4e3bf1(0x22a)](_0x3b6b5a[_0x4e3bf1(0x1e7)]());}[_0x1b1e14(0x233)](_0x14b760){const _0x36b56e=_0x1b1e14;this[_0x36b56e(0x330)][_0x36b56e(0x307)]===0x0&&this[_0x36b56e(0x1bf)](),this[_0x36b56e(0x330)][_0x36b56e(0x231)](_0x14b760),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x14b760],'isForwarded':!0x1});}[_0x1b1e14(0x1dd)](_0x55fd64){const _0x939acb=_0x1b1e14;this[_0x939acb(0x330)]['delete'](_0x55fd64),this[_0x939acb(0x330)]['size']===0x0&&this[_0x939acb(0x418)]&&window[_0x939acb(0x2df)](this[_0x939acb(0x418)]);}[_0x1b1e14(0x2f4)](){const _0xcf2c9c=_0x1b1e14;this[_0xcf2c9c(0x215)](_0x1ca8c6[_0xcf2c9c(0x226)](_0x3b6b5a[_0xcf2c9c(0x372)](window,_0xcf2c9c(0x3a1))[_0xcf2c9c(0x3b9)](_0x1464e5=>{const _0xf8c7b2=_0xcf2c9c;if(_0x1464e5[_0xf8c7b2(0x3ba)]!==_0x5ed521||!_0x1464e5[_0xf8c7b2(0x2f6)])return;const _0x361d6d=JSON[_0xf8c7b2(0x412)](_0x1464e5[_0xf8c7b2(0x2f6)]);this[_0xf8c7b2(0x2f0)](_0x361d6d);}))),window[_0xcf2c9c(0x469)]('unload',()=>this[_0xcf2c9c(0x361)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0xcf2c9c(0x2f2)](this[_0xcf2c9c(0x330)])}));}[_0x1b1e14(0x2f0)](_0x4d634a){const _0x20742c=_0x1b1e14;switch(_0x4d634a[_0x20742c(0x43d)]){case 0x0:this['_handleJoinEvent'](_0x4d634a);break;case 0x1:this[_0x20742c(0x2d2)](_0x4d634a);break;case 0x2:this[_0x20742c(0x3d1)](_0x4d634a);break;}}[_0x1b1e14(0x18f)](_0x2d201d){const _0x27ca7e=_0x1b1e14,{unitIDs:_0x28527c,memberID:_0x22aa02,isForwarded:_0x12d869}=_0x2d201d;_0x28527c[_0x27ca7e(0x459)](_0x3671bd=>{const _0x35414b=_0x27ca7e;if(!_0x12d869&&this[_0x35414b(0x45c)][_0x35414b(0x33b)](_0x3671bd)&&this[_0x35414b(0x20e)](_0x3671bd)[_0x35414b(0x22e)](_0x4d5f16[_0x35414b(0x3dc)][_0x35414b(0x2e8)]),!this[_0x35414b(0x45c)][_0x35414b(0x33b)](_0x3671bd)||!this[_0x35414b(0x45c)][_0x35414b(0x318)](_0x3671bd)['has'](_0x22aa02)){const _0x390978=this[_0x35414b(0x45c)][_0x35414b(0x318)](_0x3671bd)||new Set();_0x390978[_0x35414b(0x231)](_0x22aa02),this['_unitOnClients'][_0x35414b(0x441)](_0x3671bd,_0x390978),this[_0x35414b(0x1e1)](_0x22aa02);}}),_0x12d869||this[_0x27ca7e(0x361)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x27ca7e(0x330)]],'isForwarded':!0x0});}[_0x1b1e14(0x1e1)](_0x15b7e9){const _0x28f498=_0x1b1e14;this[_0x28f498(0x1a9)](_0x15b7e9);const _0x386d45=window[_0x28f498(0x346)](()=>{const _0x477042=_0x28f498;this[_0x477042(0x45c)][_0x477042(0x459)](_0xf06e9e=>{const _0x57e679=_0x477042;_0xf06e9e[_0x57e679(0x1c0)](_0x15b7e9);});},_0x3070e7*0x2);this[_0x28f498(0x388)][_0x28f498(0x441)](_0x15b7e9,_0x386d45);}['_removeClearOtherTimer'](_0x2b6c40){const _0x3b3439=_0x1b1e14;if(this[_0x3b3439(0x388)][_0x3b3439(0x33b)](_0x2b6c40)){const _0x1ad18a=this['_clearOtherTimers'][_0x3b3439(0x318)](_0x2b6c40);_0x1ad18a&&window['clearTimeout'](_0x1ad18a),this['_clearOtherTimers']['set'](_0x2b6c40,null);}}[_0x1b1e14(0x2d2)](_0x26ff58){const _0x2b1ee9=_0x1b1e14,{memberID:_0x40c473,unitIDs:_0xeec867}=_0x26ff58;_0xeec867[_0x2b1ee9(0x459)](_0x2a926c=>{const _0x249c44=_0x2b1ee9;var _0x57b93b;const _0x5ec9a9=this[_0x249c44(0x45c)][_0x249c44(0x318)](_0x2a926c);_0x5ec9a9&&(_0x5ec9a9[_0x249c44(0x1c0)](_0x40c473),(_0x57b93b=this[_0x249c44(0x20e)](_0x2a926c))==null||_0x57b93b[_0x249c44(0x22e)](_0x5ec9a9[_0x249c44(0x307)]===0x0?_0x4d5f16['UnitStatus'][_0x249c44(0x3c2)]:_0x4d5f16[_0x249c44(0x3dc)][_0x249c44(0x2e8)]));}),this[_0x2b1ee9(0x1a9)](_0x40c473);}['_handleHeartbeatEvent'](_0x127fb5){const _0x57a3ac=_0x1b1e14;this['_scheduleClearOtherTimer'](_0x127fb5[_0x57a3ac(0x252)]);}[_0x1b1e14(0x361)](_0x514311){const _0x724296=_0x1b1e14;localStorage[_0x724296(0x1b5)](_0x5ed521,JSON[_0x724296(0x227)](_0x514311));}['_scheduleHeartbeat'](){const _0x4306e8=_0x1b1e14;this[_0x4306e8(0x418)]=window['setInterval'](()=>{const _0x2e1174=_0x4306e8;this[_0x2e1174(0x361)]({'type':0x2,'memberID':this[_0x2e1174(0x20a)]});},_0x3070e7);}['_ensureSubject'](_0x17d97c){const _0x1585e3=_0x1b1e14;return this[_0x1585e3(0x445)][_0x1585e3(0x33b)](_0x17d97c)||this[_0x1585e3(0x445)]['set'](_0x17d97c,new _0x3b6b5a[(_0x1585e3(0x1b1))](_0x4d5f16[_0x1585e3(0x3dc)][_0x1585e3(0x3c2)])),this[_0x1585e3(0x445)]['get'](_0x17d97c);}}_0x3e0575['IURLService']=_0x4af2ba,_0x3e0575[_0x1b1e14(0x43f)]=_0x14419a,_0x3e0575[_0x1b1e14(0x3e3)]=_0x894f92,_0x3e0575[_0x1b1e14(0x3a9)]=_0x48f0ff,Object[_0x1b1e14(0x394)](_0x3e0575,Symbol[_0x1b1e14(0x31d)],{'value':'Module'});}));function _0x4e18(_0x46c3f4,_0x45ff0b){_0x46c3f4=_0x46c3f4-0x182;const _0x118454=_0x1184();let _0x4e18f4=_0x118454[_0x46c3f4];return _0x4e18f4;}function _0x1184(){const _0xf3cc8d=['SNAPSHOT_HAS_BEEN_REMOVED','_handleEvent','stack','from','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_init','CollaborationController','newValue','WECHAT_HAS_BEEN_BOUND','ENTITLE_CAN_NOT_BUY_LOWER_OTP','redoState','combineLatest','unsubscribe','getMemberID','RxDisposable','ISocketService','_getScale','length','ERROR_AGAIN','InsertRowCommandId','_startSheetCollabCursor','m1Prime','7MKGOFU','blue.400','size','Inject','params','getColorFromTheme','UniverInstanceType','saveImage','YUUMI_SUBSCRIPTION_NOT_FOUND','assignAColorForMemberID','unitID','getCurrent','CommandType','getCurrentRevOfUnit','row','toRgbString','onPointerEnter$','ranges','socket$','get','_themeService','LICENSE_IMPORT_SIZE_EXCEEDED','Rect','dispose$','toStringTag','event$','values','_initStatusComponent','getSheetId','IImageIoService','stageInfo','LICENSE_MAX_UNITS_EXCEEDED','FormulaExecuteStageType','AWAITING','result','_checkCalculationAvailable','Warning','_render','flatMap','forwardRef','CURRENT_STATUS_CANNOT_OPERATE','_initUserListener','@univerjs/core','_selfUnitIDs','NOT_COLLAB','currentColor','MUTATION','currentTheme$','handleMoveRange','SNAPSHOT_INVALID_SNAPSHOT','/universer-api/license/formula/limit/status','_colorAssignService','sheetID','_eventUnsubscribe','has','JOIN_ROOM_FAILED','_backgroundColor','RefRangeService','fillStyle','_status$','Disposable','session.collaboration-timeout','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','requireSession','_online','setTimeout','entityInit$','_transformHistoryAndStateStack','/run/','createElement','getCoordByCell','on-line-icon_clip0_910_349','_localeService','handleInsertRow','_registerRenderDependencies','filename','_hideTimer','_docTransformSelectionsService','ILogService','doc.mutation.rich-text-editing','hide','SHEET_VIEWPORT_KEY','_configService','cursorInfo$','IDocClipboardService','pushState','beginPath','APPLY_PERMISSION_DENIED','top','selection','color','some','_send','subunit','ticket','dirtyRanges','YUUMI_URL_COL_OUT_OF_RANGE','setStateCache','eventID','_labelPosition','UniverUi','exports','_saveCache','saveOfflineData','USERS_LEAVE','3640200ezyXqZ','ENTITLE_DUP_SUBSCRIPTION','_syncEditingCollabCursorService','clsx','fromEvent','INVALID_INVITE_CODE','ENTITLE_COUPON_USED_UP','UniverDrawing','getOffsetConfig','mask','permission.content','NOT_FOUND','Error','code','_setupBeforeClosingHandler','_currentUsage','UniverSheetsUi','mergeOverrideWithDependencies','_releaseCalculationLimit','Loading','getTypeOfUnitAdded$','_docTransformIMECacheService','m2Prime','_colorIndex','onMouseMove','LOGIN_FAILED','_clearOtherTimers','permission.title','_transformService','HEADER_MENU','roomMembers','path','REDEMPTION_CODE_NOT_STARTED','_name','createSocket','substring','none','setUndoRedoMutationParamsCache','defineProperty','origin','ENTITLE_COUPON_EXPIRED','ACTIVE_UNIT_EVENT_CHANNEL','transformMutation','FromArray','off-line-icon','_range','startColumn','with','RemoteUniscriptService','height','string','storage','svg','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','maxFormulaLimit','translate(.97)','YUUMI_RATE_OVER_LIMIT','_initStatusListener','colorChannel1','WebURLService','_config','EffectRefRangId','getRelativeToViewportCoord','OffLineIcon','jiqing.500','IUniverInstanceService','whenReady','transformMutationsWithChangeset','symbol','UNIVER_DOC','RegularPolygon','actions','SYNCED','SessionStatus','getTypeOfUnitDisposed$','subscribe','key','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','YUUMI_AI_RUN_FAILED','CHANGESET_REVISION_CONFILICT','collabStatus.offline','@univerjs-pro/collaboration-client','useDependency','_getAnchorBounding','NO_OTHER_CLIENTS_EDITING','onStarting','findNodePositionByCharIndex','_toggleOnline','off-line-icon_clip0_910_343','getCollabCursors$','current','use','DATA_SOURCE_TOO_LARGE','removeEventListener','SUCCESS','onPointerLeave$','_checkAndWaitForCalculationPermission','fillRule','defs','_handleHeartbeatEvent','_docSkeleton','text','_initEvent','SOCKET_FAILED','ILocalCacheService','_messageService','rgba(255,\x20255,\x20255,\x200.01)','_getFormulaLimitStatus','unitId','unit','UnitStatus','UniverRpc','UNIVER_SHEET','REDEMPTION_CODE_INACTIVE','_logService','INTERNAL_ERROR','sheetId','WebBrowserSingleActiveUnitService','column','YUUMI_NO_CUBOID_FOR_QUESTION','IConfigService','REDEMPTION_CODE_FULLY_REDEEMED','collabStatus.synced','SOCKET_FAILED_RETRY','INVITE_CODE_REQUIRED','deserializeRangeWithSheet','ISnapshotServerService','INVALID_ARGUMENT','backgroundColor','runRefRangeMutations','sessionTicket','searchParams','location','docStateChange$','LICENSE_DISTRO_REJECTED','hovered','_doCreateSocket','Shape','_lastPointer','init','LocaleService','_commandService','lineno','_dataLoaderService','addClipboardHook','APPLY_REVISION_CONFILICT','removeParam','getViewport','InsertRangeMoveRightCommandId','roomMembers$','_uiPartsService','ColorKit','_clearPolling','shift','undoState','_transformUndoRedoStack','selections','textRanges','_memberService','_collaborationSessionService','xlink:href','_cursors','find','collaboration.single-unit.warning','parse','DesktopCollaborationStatusDisplayController','_saveTaskMap','REDEMPTION_CODE_HAS_BEEN_CREATED','_renderManagerService','updateOfflineData','_heartbeatTimer','_initResize','asObservable','UNDEFINED','ONLINE','[Unhandled\x20Rejection]:\x20','?taskId=','_createSocketURL','VIEW_MAIN','CollaborationEvent','collabStatus.notCollab','attrs','div','_taskIds','collaboration.offline-data-not-saved','colno','1em','RECT','map','save','@univerjs/network','getValue','replace','React','handleIRemoveCol','getMergeData','getColor','startFormulaLimitUrl','drawWith','react/jsx-runtime','_docStateChangeManagerService','CollaborationStatus','Tools','_drawTextRange','loadOfflineData','\x20at\x20','width','type','getCellMatrix','SheetCollabCursorShape','_hovered','set','Unknown\x20user','_docClipboardService','UniverSheets','_unitStatus','_removeCollabCursors','IMessageService','getItem','range','_collaborationController','complete','PERMISSION_DENIED','http://www.w3.org/2000/svg','2FCIxfm','115044piEnxR','entries','_urlService','MOBILE_VERIFY_CODE_MISMATCH','unshift','registerRenderModule','MoveRangeCommandId','push','getUndoRedoMutationParamsCache','ENTITLE_USE_COUPON_NOT_1ST_TRADE','forEach','_collaborationUIEventService','defIds','_unitOnClients','IUIPartsService','UniverEngineFormula','data','formula.calculation.unable','catch','MemberService','ENTITLE_CHAT_LIMIT_EXCEED','setActiveRange','PY_RUNTIME_SCRIPT_ERROR','_pollingInterval','send','_maxFormulaLimit','addEventListener','NodePositionConvertToCursor','getSheetBySheetId','trim','_setupSubUnitSync','_localCacheService','body','_scheduleSaving','_handleHover','name','switchMap','setParam','REDEMPTION_INVALID_CODE','_cursor','M0\x200H16V16H0z','RemoveRowCommandId','/universer-api/frontend/logs','transformStateCache','_updateSubUnitFromURLParams','_sheetSkeletonManagerService','_handleJoinEvent','4xVtQYU','error','onTransformChange$','0\x200\x2016\x2016','REDEMPTION_USER_NOT_ELIGIBLE','filter','UniverCore','OFFLINE','_uploadLog','getRenderById','subUnitId','executionId','SheetSkeletonManagerService','Subject','unhandledrejection','registerRefRange','restore','generateRandomId','ENTITLE_INVALID_COUPON_CODE','post','IBeforeCloseService','then','formula.calculation.waiting','@univerjs/design','_docSyncEditingCollabCursorService','_removeClearOtherTimer','TEXT_RANGE_LAYER_INDEX','sessionStatus$','getParam','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_getSheetObject','isTransformMutationFailure','arc','BehaviorSubject','replaceDocRanges','getUnitStatus$','@univerjs/docs','setItem','SetDocZoomRatioOperation','YUUMI_UNABLE_LOAD_URL','_beforeCloseService','makeDirty','REDEMPTION_USER_REDEEM_TIMES_EXCEED','ENTITLE_NEED_BILLING_ADDRESS','_scene','DocSelectionManagerService','activeSheet$','_scheduleHeartbeat','delete','_entityInit$','handleDeleteRangeMoveUp','measureText','APPLY_DUPLICATED','_applyCommand','5202279QOTFDN','on-line-icon','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','YUUMI_ASYNCIO_CANCELLED','_drawAnchor','now','dispose','Injector','getOwnPropertyDescriptor','_collabCursorState$','beforeCommandExecuted','debounce','INVITE_CODE_HAS_BEEN_UES','merge','invokeId','_updateURLWithCurrentState','LOGIN_TOKEN_PROCESSING_FAILED','_docTransformStateCacheService','getCellPositionByOffset','syncEditingCollabCursor','purple.300','_initCommandExecutedListener','fill','disposeUnit','getUnhiddenWorksheets','OTHER_CLIENT_EDITING','enableFrontendLog','_scheduleClearOtherTimer','getSkeleton','_toggleOffline','_onCursorUpdate','_refRangeService','MessageType','distinctUntilChanged','getRangePointData','_context','Failed','UniverCollaborationClientPlugin','transform','isEditing','ENTITLE_INSUFFICIENT_QUOTA','isTransformMutationsWithChangesetSuccess','assign','getCurrentSelections','USER_NOT_FOUND','collabCursorState$','YUUMI_CONNECTOR_URL_NOT_FOUND','_imageIoService','_updateCollabCursors','triggerDblclick','registerBeforeClose','_assignedColors','isArray','univer-flex\x20univer-items-center','AUTHORIZE_CODE_ILLEGAL','0\x200\x2017\x2016','getCurrentUnitForType','_startCalculationLimit','getMember','_startDocCollabCursor','DocIMEInputManagerService','rxjs/operators','_cachedData','[CollaborationDataLoaderController]','_initDependencies','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_httpService','_cursorShapes','_id','APPLY_REJECT','skeleton','ThemeService','_ensureSubject','UniverProCollaboration','CollaborationUIEventId','_color','getUnitId','debug','random','disposeWithMe','mutations','onLocalMutation','yellow.400','react','#FFF','TEXT','[LogService\x20Error]:\x20','univer-mr-2\x20univer-flex\x20univer-text-xl','onRendered','1419bpXChT','APPLY_NON_SEQUENTIAL_REVISION','runId','DocSkeletonManagerService','evenodd','_entities','NodePositionConvertToRectRange','toDisposable','stringify','getLocalCacheKey','jsxs','pipe','getConfig','saveTaskMap','6338298lJALpj','next','bottom','jsx','add','BrowserCollaborationSocketService','editingUnit','DisposableCollection','rxjs','font','isFormulaId','_hover','DOC_RANGE_TYPE','url(#$1','getDocRanges','href','_univerInstanceService','_initUnhandledRejectionListener','ENTITLE_REPORT_LIMIT_EXCEED','SetFormulaCalculationStartMutation','_localStorageService','toString','UPDATE_CURSOR','TOO_MANY_REQUESTS','startRow','UNRECOGNIZED','setShapeProps','DocCollaborationEntity','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_lastResponseTimestamp','getUnit','SetSelectionsOperation','endRow','search','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','UniverProCollaborationClient','transformIMECache','memberID','touchDependencies','636985wcgOob','_textBubble','UniverProCollaborationClientUi','_updateLocalCursor','isFormulaString','SetTextSelectionsOperation','ICommandService','_memberID','enableLocalCache','getUniverSheetInstance','tag','show','MOBILE_HAS_BEEN_BOUND','deepClone','shareReplay','SheetsSelectionsService','takeUntil','getformulaLimitStatusUrl','_disabled','_getSessionTicket','_docSkeletonManagerService','replaceState','throttleTime','_document','[RemoteUniscriptService]:\x20no\x20focused\x20unit','PAYMENT_CHANNEL_NOT_SUPPORT','_collabSessionService','ILocalStorageService','endColumn','@univerjs/sheets-ui','history','_showGuardMessage','_draw','DataLoaderService','HTTPService','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_monkeyPatchLogService','useCallback','OnLineIcon','Vector2','ITransformService','10iggSoA','COLORS','onCommandExecuted','fromEventSubject','_cursorInfo$','getFocusedUnit','startsWith','addObject','onPointerMove$','idSuffix','/universer-api/license/formula/limit/done','CONNECTOR_DATA_TOO_LARGE','black','createInstance','handleDeleteRangeMoveLeft','_injector','DeleteRangeMoveLeftCommandId','UNAUTHENTICATED','USER_NOT_INVITED_CODE','urlChange$','DependentOn','SetFormulaCalculationNotificationMutation','_anchorDot','_getMergeRange','11799828fJnqmI','reconnect','operators','2528690TYCwLp','LICENSE_EXPORT_SIZE_EXCEEDED','cursorInfo','parseInt','@univerjs/engine-render','_instanceService','children','_hasFormulaInDirtyRanges','DeleteRangeMoveUpCommandId','round','popstate','SetWorksheetActivateCommand','InsertRangeMoveDownCommandId','collab-text-anchor-','EMAIL_VERIFY_CODE_MISMATCH','isActive','UniverCollaborationClientUIPlugin','_refreshCollabCursors','_revisionService','CollaborationDataLoaderController','transformByState','CollaborationSessionService','moveTo','wsSessionTicketUrl','_setFormulaLimitStatus','_roomMembers$','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_initCommandInterceptor','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_initEntityListener','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','DocStateChangeManagerService','@univerjs/engine-formula','currentUsage','_drawRectRange','AWAITING_WITH_PENDING','WebSocketService','limitInfo','_session','engine','min','IRemoteInstanceService','executeCommand','serializeRangeWithSheet','exhaustSavingTask','object','CONFLICT','_onRefRangeChange','red.300','_collabCursorController','source','join','SUBMIT_CHANGESET_TIMEOUT','addObjects','currentSkeleton$','transformRemoteChangeset','lineTo','clipPath','_handleLeaveEvent','function','getStateCache','_shapes','getVpScrollXYInfoByPosToVp','stage','collabStatus.fetchMiss','_anchor','RichTextEditingMutation','Optional','COMPLETION_FINISHED','_notificationService','message','clearInterval','UniverIcon','setConfig','collaboration.closeRoom','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','Rectangle','uni.network.url-service','getActiveSheet','subscribeEvent','OTHER_CLIENTS_EDITING','_onCursorDelete','Plugin','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','registerDependencies','green.600','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT'];_0x1184=function(){return _0xf3cc8d;};return _0x1184();}
|