@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250411-f5b7b16 → 0.6.10-nightly.202504111607

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/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0xd7de(){const _0x1a60da=['toStringTag','CollaborationDataLoaderController','undoState','_document','UniverDocs','onMouseMove','RemoveColCommandId','_docStateChangeManagerService','IUniverInstanceService','icon','_disabled','MOBILE_HAS_BEEN_BOUND','@univerjs-pro/collaboration-client','OTHER_CLIENT_EDITING','whenReady','_collabCursorController','_eventUnsubscribe','onRendered','pipe','fillRule','find','defIds','_collabSessionService','React','@univerjs/ui','1em','IURLService','univer-online-status-title','_onRefRangeChange','removeParam','displayName','/run/','syncEditingCollabCursor','CollaborationStatusDisplay','top','@univerjs/core','UniverCore','getOwnPropertySymbols','history','min','isArray','merge','delete','storage','CLOSE_ROOM','VIEW_MAIN','NOT_FOUND','_toggleOnline','RefRangeService','ColorKit','deepClone','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_backgroundColor','forEach','_hovered','memberID','_scheduleSaving','range','unitId','toRgbString','_updateCollabCursors','map','length','pushState','ILocalCacheService','getUndoRedoMutationParamsCache','436512bAAPMM','loadUnit','backgroundColor','_registerDependencies','path','_revisionService','assign','getSheetId','getCollabCursors$','onPointerEnter$','executionId','getOwnPropertyDescriptor','IRemoteInstanceService','ENSURE_SNAPSHOT_EXECUTION','origin','type','height','pluginName','send','triggerDblclick','collabStatus.fetchMiss','_colorAssignService','CollaborationController','@univerjs/sheets-ui','_initStatusComponent','sessionTicket','_transformHistoryAndStateStack','saveImage','complete','getSheetObject','registerDependencies','_config','Injector','_drawRectRange','CollaborationSocketService','replaceDocRanges','_context','onlineStatusTitle','use','_handleHover','init','4445964NbUMAC','on-line-single','_drawTextRange','collabStatus.conflict','getActiveSheet','registerRenderModule','UNIVER_DOC','SNAPSHOT_HAS_BEEN_REMOVED','_notificationService','handleInsertCol','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','Workbook','addClipboardHook','getUnitStatus$','includes','setInterval','font','DataLoaderService','OFFLINE','handleIRemoveCol','ThemeService','_cursorInfo$','_entityInit$','_scheduleClearOtherTimer','UNDEFINED','exports','onStarting','parse','_transformService','DisposableCollection','transformStateCache','transformSelections','entityInit$','verdancy600','actions','ILogService','transform','unit','MemberService','mapTo','jsx','runId','_session','unsubscribe','collabStatus.syncing','loadOfflineData','prototype','_heartbeatTimer','UniverDrawing','_hideTimer','_imageIoService','xlink:href','_colorIndex','OTHER_CLIENTS_EDITING','Tools','unload','DocStateChangeManagerService','endRow','defs','CollaborationSessionService','unshift','SetWorksheetActivateCommand','UniverCollaborationClientPlugin','restore','getColor','handleMoveRange','_roomMembers$','_setupBeforeClosingHandler','amd','override','setParam','119mkHcvj','YUUMI_UNABLE_LOAD_URL','concat','LOGIN_FAILED','getUniverSheetInstance','connectInjector','_univerInstanceService','_color','function','subUnitId','_name','transformMutationsWithChangeset','_assignedColors','UniverCollaborationClientUIPlugin','@univerjs/drawing','UniverProCollaborationClient','Vector2','clsx','subunit','registerRefRange','_updateLocalCursor','@univerjs/engine-render','error','_handleJoinEvent','clearInterval','CommandType','moveTo','saveTaskMap','BuiltInUIPart','PY_RUNTIME_SCRIPT_ERROR','serializeRangeWithSheet','_syncEditingCollabCursorService','width','SetSelectionsOperation','textRanges','_lastPointer','SNAPSHOT_INVALID_SNAPSHOT','1369336GgHibs','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','LOCAL_CACHE_INTERVAL','red300','registerComponent','Error','CollaborationUIEventId','DocSkeletonManagerService','m1Prime','jiqing500','useRef','@univerjs/docs-ui','556LmXQVv','INTERNAL_ERROR','from','_clearOtherTimers','TEXT','href','UniverDocsUi','closePath','UniverRpc','split','DOC_RANGE_TYPE','IConfigService','_initEvent','UniverInstanceType','CollaborationStatus','collab-rect-range-','HTTPService','set','_status$','cursorInfo$','_initDependencies','online','MoveRangeCommandId','_logService','div','_doCreateSocket','then','getTypeOfUnitAdded$','getSkeleton','getItem','throttleTime','M0\x200H16V16H0z','getDocRanges','wsSessionTicketUrl','_themeService','_createSocketURL','@univerjs/sheets','currentColor','show','_initStatusListener','_handleLeaveEvent','flatMap','takeUntil','_getAnchorBounding','EffectRefRangId','permission.title','onLocalMutation','_memberService','_localCacheService','endColumn','getCoordByCell','isEditing','_urlService','_init','status$','gold400','_dataLoaderService','INotificationService','permission.content','currentSkeleton$','react/jsx-runtime','replaceState','dispose','enableLocalCache','roomMembers$','UNAUTHENTICATED','UNRECOGNIZED','UniverEngineRender','addHandlerCallback','_online','unitID','black','selection','evenodd','_labelPosition','debounce','className','LICENSE_IMPORT_SIZE_EXCEEDED','docStateChange$','WebURLService','generateRandomId','@univerjs/rpc','RemoteUniscriptService','@univerjs/design','SYNCED','_saveTaskMap','_getSessionTicket','UNIVER_SHEET','transformIMECache','Shape','DeleteRangeMoveUpCommandId','clipPath','attrs','transformRemoteChangeset','startsWith','_getSaveTimeout','handleInsertRangeMoveDown','COMPLETION_FINISHED','toDisposable','getValue','USER_NOT_INVITED_CODE','@univerjs/engine-formula','_ensureSubject','AWAITING_WITH_PENDING','body','_updateURLWithCurrentState','UniverEngineFormula','updateOfflineData','Inject','string','size','_docClipboardService','result','RemoveRowCommandId','getRenderById','setConfig','_collaborationController','Plugin','SOCKET_FAILED_RETRY','BehaviorSubject','RichTextEditingMutation','bottom','_removeCollabCursors','_transformUndoRedoStack','sheetId','APPLY_NON_SEQUENTIAL_REVISION','getParam','_send','startColumn','children','debug','useCallback','onPointerLeave$','purple300','Subject','values','searchParams','onlineStatusIcon','sheetID','NO_OTHER_CLIENTS_EDITING','getMergeData','_selfUnitIDs','exhaustSavingTask','current','_handleEvent','collabStatus.synced','_onCursorUpdate','getCurrentSelections','arc','MUTATION','ONLINE','fromEvent','touchDependencies','engine','addObjects','LOCAL_CACHE_INTERVAL_KEY','_httpService','InsertRangeMoveRightCommandId','data','setShapeProps','_unitOnClients','none','40773100wWnpWa','isActive','event$','IDocClipboardService','_initCommandExecutedListener','_cachedData','DeleteRangeMoveLeftCommandId','_draw','getMember','LICENSE_MAX_UNITS_EXCEEDED','fromEventSubject','TOO_MANY_REQUESTS','BrowserCollaborationSocketService','ICommandService','assignAColorForMemberID','CHANGESET_REVISION_CONFILICT','colorChannel1','ITransformService','on-line-single_clip0_910_349','getCurrent','_hover','substring','_scheduleHeartbeat','RxDisposable','onCommandExecuted','handleDeleteRangeMoveLeft','indexOf','_refRangeService','disposeWithMe','YUUMI_RATE_OVER_LIMIT','WebBrowserSingleActiveUnitService','transformMutation','tag','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','_saveCache','Disposable','getConfig','jsxs','setStateCache','svg','_anchor','session.connection-failed','UniverUi','SessionStatus','contains','replace','filter','_injector','disposeUnit','getViewport','next','createSocket','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','debounceTime','fillStyle','popstate','with','name','off-line-single_clip0_910_343','UPDATE_CURSOR','fill','requireSession','ALREADY_EXISTS','DocIMEInputManagerService','_removeClearOtherTimer','CONFLICT','selections','#fff','NOT_COLLAB','round','hide','YUUMI_SUBSCRIPTION_NOT_FOUND','DocCollaborationEntity','RegularPolygon','INVALID_ARGUMENT','_updateSubUnitFromURLParams','row','@univerjs/docs','distinctUntilChanged','subscribeEvent','defineProperty','DocSelectionManagerService','stringify','_id','LICENSE_DISTRO_REJECTED','PERMISSION_DENIED','_scene','key','_renderManagerService','_textBubble','runOnServer','MessageType','getTypeOfUnitDisposed$','currentTheme$','getOffsetConfig','univer-online-status-icon','cursorInfo','extend','...','setUndoRedoMutationParamsCache','2645058EpXrhP','ranges','_localeService','[CollaborationDataLoaderController]','getVpScrollXYInfoByPosToVp','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getLocalCacheKey','InsertRangeMoveDownCommandId','collabStatus.notCollab','random','TEXT_RANGE_LAYER_INDEX','_toggleOffline','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_commandService','getStateCache','_range','isTransformMutationFailure','univer-online','call','makeDirty','createIdentifier','startRow','WECHAT_HAS_BEEN_BOUND','redoState','toString','collabCursorState$','useDependency','_setupSubUnitSync','APPLY_PERMISSION_DENIED','setAlpha','Unknown\x20user','INVITE_CODE_ALREADY_BOUND','some','_instanceService','operators','ISocketService','_getScale','_drawAnchor','_initEntityListener','all','_sheetSkeletonManagerService','65570NgMqYs','getActiveRange','location','url(#$1','IBeforeCloseService','univer-online-status','_uiPartsService','eventID','@univerjs-pro/collaboration','asObservable','collab-text-anchor-','_unitStatus','Rect','mutations','column','DesktopCollaborationStatusDisplayController','fillText','INVITE_CODE_HAS_BEEN_UES','getSheetBySheetId','roomMembers','11ANFJuH','_shapes','_render','getAncestorScale','m2Prime','getCurrentRevOfUnit','isTransformMutationsWithChangesetSuccess','RECT','collaboration-client-ui.config','UniverSheets','mask','idSuffix','add','handleInsertRangeMoveRight','_docTransformSelectionsService','FromArray','switchMap','_entities','COLORS','_cursorShapes','_refreshCollabCursors','max','collab-text-range-','getFocusedUnit','addEventListener','UnitStatus','_cursor','_cursors','SUBMIT_CHANGESET_TIMEOUT','getCurrentUnitForType','collabStatus.offline','save','transformByState','search','blue400','clearTimeout','combineLatest','subscribe','createElement','translate(.97)','135WZGsfN','setItem','hasOwnProperty','rxjs/operators','CONNECTOR_DATA_TOO_LARGE','40226YYEStH','_messageService','@univerjs/network','LICENSE_EXPORT_SIZE_EXCEEDED','#FFF','_localStorageService','Failed','SetTextSelectionsOperation','getUnitId','INVITE_CODE_REQUIRED','handleIRemoveRow','IUIPartsService','APPLY_DUPLICATED','drawWith','imageSourceType','APPLY_REJECT','ILocalStorageService','_initResize','_docTransformIMECacheService','getRangePointData','rxjs','_anchorDot','collaboration.single-unit.warning','_transformPreviousActiveRange','_collabCursorState$','entries','text','setActiveRange','newValue','_docTransformStateCacheService','createInstance','application/json','_onCursorDelete','UniverIcon','urlChange$','IMessageService','addObject','_collaborationUIEventService','LocaleService','_configService','rgba(255,\x20255,\x20255,\x200.01)','collaboration.closeRoom','sessionStatus$','dispose$','get','symbol','INVALID_INVITE_CODE','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','lineTo','forwardRef','_docSkeletonManagerService','_handleHeartbeatEvent','has','doc.mutation.rich-text-editing','getUnhiddenWorksheets','TRANSFORM_CHANGE_OBSERVABLE_TYPE','reconnect','IImageIoService','SOCKET_FAILED','color','react','YUUMI_URL_COL_OUT_OF_RANGE','_getSheetObject','activeSheet$','saveOfflineData','push','CollaborationEvent','source','handleInsertRow','USERS_LEAVE','params','findNodePositionByCharIndex','Warning'];_0xd7de=function(){return _0x1a60da;};return _0xd7de();}function _0x43a4(_0x4fa34e,_0x11b29f){const _0xd7de6d=_0xd7de();return _0x43a4=function(_0x43a449,_0xa3afa9){_0x43a449=_0x43a449-0x181;let _0x3f57e9=_0xd7de6d[_0x43a449];return _0x3f57e9;},_0x43a4(_0x4fa34e,_0x11b29f);}(function(_0x2ec807,_0x162cbd){const _0x41793f=_0x43a4,_0x5efa2f=_0x2ec807();while(!![]){try{const _0x15f300=-parseInt(_0x41793f(0x1b8))/0x1+parseInt(_0x41793f(0x334))/0x2*(parseInt(_0x41793f(0x32f))/0x3)+-parseInt(_0x41793f(0x1c4))/0x4*(parseInt(_0x41793f(0x2f3))/0x5)+-parseInt(_0x41793f(0x2ca))/0x6+-parseInt(_0x41793f(0x193))/0x7*(parseInt(_0x41793f(0x3bf))/0x8)+parseInt(_0x41793f(0x3e8))/0x9+parseInt(_0x41793f(0x266))/0xa*(parseInt(_0x41793f(0x307))/0xb);if(_0x15f300===_0x162cbd)break;else _0x5efa2f['push'](_0x5efa2f['shift']());}catch(_0x2c0913){_0x5efa2f['push'](_0x5efa2f['shift']());}}}(_0xd7de,0xdf942),function(_0x12febf,_0x18476d){const _0xa6fc3f=_0x43a4;typeof exports=='object'&&typeof module<'u'?_0x18476d(exports,require(_0xa6fc3f(0x389)),require(_0xa6fc3f(0x3a0)),require(_0xa6fc3f(0x1a8)),require(_0xa6fc3f(0x336)),require(_0xa6fc3f(0x1c3)),require(_0xa6fc3f(0x1a1)),require(_0xa6fc3f(0x348)),require(_0xa6fc3f(0x2b3)),require(_0xa6fc3f(0x2fb)),require(_0xa6fc3f(0x229)),require(_0xa6fc3f(0x1e8)),require('rxjs/operators'),require(_0xa6fc3f(0x3d6)),require('react/jsx-runtime'),require(_0xa6fc3f(0x395)),require('@univerjs/design'),require(_0xa6fc3f(0x370)),require(_0xa6fc3f(0x215))):typeof define==_0xa6fc3f(0x19b)&&define[_0xa6fc3f(0x190)]?define([_0xa6fc3f(0x401),_0xa6fc3f(0x389),'@univerjs/core',_0xa6fc3f(0x1a8),_0xa6fc3f(0x336),_0xa6fc3f(0x1c3),_0xa6fc3f(0x1a1),_0xa6fc3f(0x348),'@univerjs/docs',_0xa6fc3f(0x2fb),'@univerjs/engine-formula',_0xa6fc3f(0x1e8),_0xa6fc3f(0x332),_0xa6fc3f(0x3d6),_0xa6fc3f(0x200),_0xa6fc3f(0x395),_0xa6fc3f(0x217),_0xa6fc3f(0x370),_0xa6fc3f(0x215)],_0x18476d):(_0x12febf=typeof globalThis<'u'?globalThis:_0x12febf||self,_0x18476d(_0x12febf['UniverProCollaborationClientUi']={},_0x12febf[_0xa6fc3f(0x1a2)],_0x12febf[_0xa6fc3f(0x3a1)],_0x12febf[_0xa6fc3f(0x207)],_0x12febf['UniverNetwork'],_0x12febf[_0xa6fc3f(0x1ca)],_0x12febf[_0xa6fc3f(0x418)],_0x12febf[_0xa6fc3f(0x348)],_0x12febf[_0xa6fc3f(0x381)],_0x12febf['UniverProCollaboration'],_0x12febf[_0xa6fc3f(0x22e)],_0x12febf[_0xa6fc3f(0x310)],_0x12febf[_0xa6fc3f(0x348)][_0xa6fc3f(0x2ec)],_0x12febf['UniverSheetsUi'],_0x12febf[_0xa6fc3f(0x394)],_0x12febf[_0xa6fc3f(0x290)],_0x12febf['UniverDesign'],_0x12febf['React'],_0x12febf[_0xa6fc3f(0x1cc)]));}(this,function(_0x40e363,_0x555a80,_0x593b66,_0x302994,_0x5a7b97,_0xca2527,_0x4b4835,_0x104892,_0x54676e,_0x5cbb60,_0x3d646c,_0x51415f,_0x4cb22d,_0x9a7747,_0xa33888,_0x2965e2,_0x526ca7,_0x49a8a3,_0x53a420){'use strict';const _0x5bfbbf=_0x43a4;var _0x1b4e4d=Object[_0x5bfbbf(0x2b6)],_0x1247e2=(_0x1b9c01,_0x34dc11,_0x2f74d8)=>_0x34dc11 in _0x1b9c01?_0x1b4e4d(_0x1b9c01,_0x34dc11,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f74d8}):_0x1b9c01[_0x34dc11]=_0x2f74d8,_0x199c2f=(_0x46f120,_0x55e0c,_0x22afff)=>_0x1247e2(_0x46f120,typeof _0x55e0c!=_0x5bfbbf(0x361)?_0x55e0c+'':_0x55e0c,_0x22afff),_0x4ba71e=Object[_0x5bfbbf(0x3ca)],_0x49b741=(_0x2dec5f,_0x38c2b2,_0xbd3d02,_0x509817)=>{for(var _0x42faa0=_0x509817>0x1?void 0x0:_0x509817?_0x4ba71e(_0x38c2b2,_0xbd3d02):_0x38c2b2,_0x5e05e4=_0x2dec5f['length']-0x1,_0xe1efcb;_0x5e05e4>=0x0;_0x5e05e4--)(_0xe1efcb=_0x2dec5f[_0x5e05e4])&&(_0x42faa0=_0xe1efcb(_0x42faa0)||_0x42faa0);return _0x42faa0;},_0x1faaa2=(_0x11696d,_0x348f96)=>(_0x4789ca,_0x3106fa)=>_0x348f96(_0x4789ca,_0x3106fa,_0x11696d);let _0x220228=class extends _0x593b66['RxDisposable']{constructor(_0x2369c1,_0x1ba4cc){const _0x7e223b=_0x5bfbbf;super(),this[_0x7e223b(0x233)]=_0x2369c1,this[_0x7e223b(0x41a)]=_0x1ba4cc,this[_0x7e223b(0x1f9)]();}['_init'](){const _0x88e7d3=_0x5bfbbf,_0xfd59a8=this;this[_0x88e7d3(0x282)](this[_0x88e7d3(0x233)][_0x88e7d3(0x3f4)]({'onBeforePasteImage':async _0x3cdb69=>{const _0x81b569=_0x88e7d3,_0x570269=await _0xfd59a8[_0x81b569(0x41a)][_0x81b569(0x3da)](_0x3cdb69);return _0x570269?{'source':_0x570269[_0x81b569(0x377)],'imageSourceType':_0x570269[_0x81b569(0x342)]}:null;}}));}};_0x220228=_0x49b741([_0x1faaa2(0x0,_0xca2527[_0x5bfbbf(0x269)]),_0x1faaa2(0x1,_0x4b4835[_0x5bfbbf(0x36d)])],_0x220228);const _0x584e21=[_0x5bfbbf(0x249),_0x5bfbbf(0x1c1),_0x5bfbbf(0x409),_0x5bfbbf(0x1bb),_0x5bfbbf(0x329),_0x5bfbbf(0x1fb)];class _0x495577 extends _0x593b66[_0x5bfbbf(0x289)]{constructor(){const _0x42df68=_0x5bfbbf;super(...arguments),_0x199c2f(this,'_assignedColors',new Map()),_0x199c2f(this,_0x42df68(0x41c),0x0);}[_0x5bfbbf(0x274)](_0x168cc9){const _0x5e3361=_0x5bfbbf;if(this[_0x5e3361(0x19f)][_0x5e3361(0x368)](_0x168cc9))return this[_0x5e3361(0x19f)][_0x5e3361(0x360)](_0x168cc9);const _0x26c4ba=_0x584e21[this[_0x5e3361(0x41c)]];return this[_0x5e3361(0x41c)]=(this[_0x5e3361(0x41c)]+0x1)%_0x584e21[_0x5e3361(0x3bb)],this[_0x5e3361(0x19f)][_0x5e3361(0x1d5)](_0x168cc9,_0x26c4ba),_0x26c4ba;}}function _0x4b7389(_0x5103f8){const _0x7beace=_0x5bfbbf;let _0x37c9c6='';for(const _0xc48568 of _0x5103f8){const {startOffset:_0x5d6dc7,endOffset:_0x254aa6,isActive:_0x52557f,rangeType:_0x5671c7,segmentId:_0x4686f1,segmentPage:_0x372957}=_0xc48568;_0x37c9c6[_0x7beace(0x3bb)]&&(_0x37c9c6+=','),_0x37c9c6+=_0x5d6dc7+':'+_0x254aa6+':'+(_0x52557f?'1':'0')+':'+_0x5671c7+':'+_0x4686f1+':'+_0x372957;}return _0x37c9c6;}function _0x16f343(_0x4150b1){const _0x11da62=_0x5bfbbf,_0x44cd5b=_0x4150b1[_0x11da62(0x1cd)](','),_0x5c5a08=[];for(const _0x493a31 of _0x44cd5b){const [_0xee91ed,_0x545dad,_0x1f828a,_0x261009,_0x75b768,_0x2183d1]=_0x493a31[_0x11da62(0x1cd)](':');_0x5c5a08['push']({'startOffset':Number(_0xee91ed),'endOffset':Number(_0x545dad),'collapsed':_0xee91ed===_0x545dad,'isActive':_0x1f828a==='1','rangeType':_0x261009===_0x593b66[_0x11da62(0x1ce)][_0x11da62(0x1c8)]?_0x593b66[_0x11da62(0x1ce)][_0x11da62(0x1c8)]:_0x593b66[_0x11da62(0x1ce)][_0x11da62(0x30e)],'segmentId':typeof _0x75b768==_0x11da62(0x231)?String(_0x75b768):'','segmentPage':Number(_0x2183d1!=null?_0x2183d1:-0x1)});}return _0x5c5a08[_0x11da62(0x2ea)](_0xf2ef5=>_0xf2ef5[_0x11da62(0x267)])||(_0x5c5a08[0x0][_0x11da62(0x267)]=!0x0),_0x5c5a08;}class _0x7e6def extends _0x593b66[_0x5bfbbf(0x27d)]{constructor(){const _0x94cd0e=_0x5bfbbf;super(...arguments),_0x199c2f(this,_0x94cd0e(0x34c),new _0x104892[(_0x94cd0e(0x23b))](null)),_0x199c2f(this,_0x94cd0e(0x2e3),this[_0x94cd0e(0x34c)][_0x94cd0e(0x2fc)]());}['syncEditingCollabCursor'](_0x1a483e){const _0x1559bc=_0x5bfbbf,{unitID:_0x163ce2,memberID:_0x160ba5,textRanges:_0xb55ae8}=_0x1a483e,_0x567778=_0x4b7389(_0xb55ae8);if(_0x567778==='')return;const _0x58859b={'unitID':_0x163ce2,'memberID':_0x160ba5,'selection':_0x567778};this[_0x1559bc(0x34c)][_0x1559bc(0x298)](_0x58859b);}}var _0xea795d=Object[_0x5bfbbf(0x3ca)],_0x35406a=(_0xe97465,_0x281d06,_0x3ba2bf,_0x51830a)=>{const _0x5ea8b0=_0x5bfbbf;for(var _0x5930d3=_0x51830a>0x1?void 0x0:_0x51830a?_0xea795d(_0x281d06,_0x3ba2bf):_0x281d06,_0x3193ee=_0xe97465[_0x5ea8b0(0x3bb)]-0x1,_0x4d9e6d;_0x3193ee>=0x0;_0x3193ee--)(_0x4d9e6d=_0xe97465[_0x3193ee])&&(_0x5930d3=_0x4d9e6d(_0x5930d3)||_0x5930d3);return _0x5930d3;},_0x482ba5=(_0x292975,_0x33ccad)=>(_0x1eb95f,_0x56589f)=>_0x33ccad(_0x1eb95f,_0x56589f,_0x292975);const _0x1fcd1d=0x12c,_0x4dbdda=0x64;let _0x2c326e=class extends _0x593b66[_0x5bfbbf(0x27d)]{constructor(_0x55bf2e,_0x9161e9,_0x59c043,_0x3c5fcf,_0x155685,_0x38ed76,_0x198975,_0x33b4f7,_0x1d2cf1){const _0xa17433=_0x5bfbbf;super(),_0x199c2f(this,'_online',!0x1),_0x199c2f(this,_0xa17433(0x1f9),!0x1),_0x199c2f(this,'_cursorInfo$',new _0x104892['BehaviorSubject'](new Map())),_0x199c2f(this,_0xa17433(0x1d7),this['_cursorInfo$'][_0xa17433(0x2fc)]()),_0x199c2f(this,_0xa17433(0x18e),new _0x104892[(_0xa17433(0x23b))]([])),_0x199c2f(this,_0xa17433(0x204),this[_0xa17433(0x18e)][_0xa17433(0x38f)](_0x104892['debounceTime'](_0x1fcd1d))),_0x199c2f(this,_0xa17433(0x1a7),_0x593b66[_0xa17433(0x20f)](_0x3b8889=>{const _0xcd3121=_0xa17433,_0x346497={'eventID':_0x5cbb60[_0xcd3121(0x376)][_0xcd3121(0x2a1)],'data':{'unitID':this[_0xcd3121(0x20a)],'memberID':this['_session']['getMemberID'](),'selection':_0x4b7389(_0x3b8889)}};this[_0xcd3121(0x412)][_0xcd3121(0x3d1)](_0x346497,this[_0xcd3121(0x20a)]);},_0x4dbdda)),(this['unitID']=_0x55bf2e,this[_0xa17433(0x412)]=_0x9161e9,this[_0xa17433(0x295)]=_0x59c043,this[_0xa17433(0x3d4)]=_0x3c5fcf,this[_0xa17433(0x1f3)]=_0x155685,this[_0xa17433(0x1b2)]=_0x38ed76,this[_0xa17433(0x404)]=_0x198975,this[_0xa17433(0x199)]=_0x33b4f7,this[_0xa17433(0x2d7)]=_0x1d2cf1);}get['cursorInfo'](){const _0x5d7097=_0x5bfbbf;return this[_0x5d7097(0x3fd)][_0x5d7097(0x227)]();}get[_0x5bfbbf(0x306)](){const _0x33fe3a=_0x5bfbbf;return this[_0x33fe3a(0x18e)][_0x33fe3a(0x227)]();}[_0x5bfbbf(0x202)](){const _0x3aa178=_0x5bfbbf;super[_0x3aa178(0x202)](),this[_0x3aa178(0x3fd)][_0x3aa178(0x298)](new Map()),this[_0x3aa178(0x3fd)][_0x3aa178(0x3db)](),this[_0x3aa178(0x18e)]['next']([]),this[_0x3aa178(0x18e)]['complete']();}[_0x5bfbbf(0x3e7)](){const _0x108990=_0x5bfbbf;this['_init']||(this['_init']=!0x0,this[_0x108990(0x412)][_0x108990(0x35e)]['pipe'](_0x104892[_0x108990(0x1ee)](this[_0x108990(0x35f)]))[_0x108990(0x32c)](_0xc3f92f=>{const _0x4c9ce8=_0x108990;_0xc3f92f===_0x555a80['SessionStatus'][_0x4c9ce8(0x25a)]?this[_0x4c9ce8(0x3ac)]():this[_0x4c9ce8(0x2d5)]();}),this['_session'][_0x108990(0x268)][_0x108990(0x38f)](_0x104892[_0x108990(0x1ee)](this[_0x108990(0x35f)]))[_0x108990(0x32c)](_0xbf0867=>{const _0x55e24a=_0x108990,_0x57e295=_0xbf0867[_0x55e24a(0x2fa)];_0x57e295===_0x5cbb60[_0x55e24a(0x376)][_0x55e24a(0x2a1)]&&this[_0x55e24a(0x256)](_0xbf0867),_0x57e295===_0x5cbb60[_0x55e24a(0x376)][_0x55e24a(0x379)]&&this[_0x55e24a(0x354)](_0xbf0867);}),this[_0x108990(0x282)](this[_0x108990(0x2d7)]['onCommandExecuted'](_0x34d6d6=>{const _0x26d1d7=_0x108990,_0x276c23=_0x34d6d6['params'];_0x276c23!=null&&this[_0x26d1d7(0x209)]&&_0x34d6d6['id']===_0x54676e[_0x26d1d7(0x33b)]['id']&&_0x276c23[_0x26d1d7(0x3b7)]===this[_0x26d1d7(0x20a)]&&_0x276c23[_0x26d1d7(0x1f7)]===!0x1&&_0x276c23[_0x26d1d7(0x2cb)][_0x26d1d7(0x3bb)]>0x0&&this[_0x26d1d7(0x1a7)](_0x276c23[_0x26d1d7(0x2cb)]);})),this[_0x108990(0x1b2)][_0x108990(0x2e3)][_0x108990(0x38f)](_0x104892[_0x108990(0x1ee)](this['dispose$']))[_0x108990(0x32c)](_0x3c5e40=>{const _0x44ef78=_0x108990;if((_0x3c5e40==null?void 0x0:_0x3c5e40[_0x44ef78(0x20a)])!==this['unitID'])return;const _0x561135={'eventID':_0x5cbb60[_0x44ef78(0x376)][_0x44ef78(0x2a1)],'data':_0x3c5e40};this['_onCursorUpdate'](_0x561135);}),this[_0x108990(0x282)](this['_commandService'][_0x108990(0x27e)](_0x517c21=>{const _0x378828=_0x108990;if(_0x517c21['params']==null)return;const _0x409481=_0x517c21['params'];if(_0x517c21['id']!==_0x54676e[_0x378828(0x23c)]['id']||_0x409481[_0x378828(0x3b7)]!==this[_0x378828(0x20a)])return;const _0x1fa9d6={'id':_0x378828(0x369),'params':_0x409481},_0x2c9cf8=this[_0x378828(0x2c6)];for(const [_0x1d93d4,_0x4d84b7]of _0x2c9cf8){const _0x127425={'id':_0x378828(0x369),'params':{'unitId':this[_0x378828(0x20a)],'actions':null,'textRanges':_0x4d84b7[_0x378828(0x2cb)]}},_0x42759f=this[_0x378828(0x404)][_0x378828(0x285)](_0x1fa9d6,_0x127425,!0x1);if(_0x5cbb60[_0x378828(0x2da)](_0x42759f))throw _0x42759f[_0x378828(0x1a9)];_0x2c9cf8[_0x378828(0x1d5)](_0x1d93d4,{..._0x4d84b7,'ranges':_0x42759f[_0x378828(0x30b)]['params']['textRanges']});}queueMicrotask(()=>{const _0x10ab59=_0x378828;this[_0x10ab59(0x3fd)][_0x10ab59(0x298)](_0x2c9cf8);});})));}[_0x5bfbbf(0x256)](_0x4fee25){const _0x18fbcd=_0x5bfbbf;var _0x3e2c4f,_0x50addf;const {memberID:_0x38e453,selection:_0x395414}=_0x4fee25[_0x18fbcd(0x262)],_0x30bce3=_0x16f343(_0x395414),_0x3065bf=(_0x50addf=(_0x3e2c4f=this[_0x18fbcd(0x1f3)][_0x18fbcd(0x26e)](this['unitID'],_0x38e453))==null?void 0x0:_0x3e2c4f[_0x18fbcd(0x29f)])!=null?_0x50addf:'Unknown\x20user',_0x38bf06={'color':this[_0x18fbcd(0x3d4)][_0x18fbcd(0x274)](_0x38e453),'name':_0x3065bf,'ranges':_0x30bce3},_0x4fc5bd=this[_0x18fbcd(0x2c6)];_0x4fc5bd[_0x18fbcd(0x1d5)](_0x38e453,_0x38bf06),this['_cursorInfo$']['next'](_0x4fc5bd);}[_0x5bfbbf(0x354)](_0x4f6284){const _0x2d9f28=_0x5bfbbf,{memberID:_0x29c68c}=_0x4f6284[_0x2d9f28(0x262)],_0x4df9b0=this[_0x2d9f28(0x2c6)];_0x4df9b0[_0x2d9f28(0x3a7)](_0x29c68c),this[_0x2d9f28(0x3fd)]['next'](_0x4df9b0);}['_toggleOnline'](){const _0x292f3b=_0x5bfbbf;var _0x34743c;if(this['_online']=!0x0,((_0x34743c=this[_0x292f3b(0x199)]['getFocusedUnit']())==null?void 0x0:_0x34743c[_0x292f3b(0x33c)]())!==this[_0x292f3b(0x20a)])return;const _0x5db667=this['_injector'][_0x292f3b(0x360)](_0x54676e[_0x292f3b(0x2b7)])[_0x292f3b(0x1e4)]();Array[_0x292f3b(0x3a5)](_0x5db667)&&_0x5db667[_0x292f3b(0x3bb)]>0x0&&this['_updateLocalCursor'](_0x5db667);}['_toggleOffline'](){const _0x43b03a=_0x5bfbbf;this[_0x43b03a(0x209)]=!0x1;}};_0x2c326e=_0x35406a([_0x482ba5(0x2,_0x593b66[_0x5bfbbf(0x230)](_0x593b66[_0x5bfbbf(0x3df)])),_0x482ba5(0x3,_0x593b66['Inject'](_0x495577)),_0x482ba5(0x4,_0x593b66[_0x5bfbbf(0x230)](_0x555a80[_0x5bfbbf(0x40e)])),_0x482ba5(0x5,_0x593b66[_0x5bfbbf(0x230)](_0x7e6def)),_0x482ba5(0x6,_0x5cbb60[_0x5bfbbf(0x277)]),_0x482ba5(0x7,_0x593b66[_0x5bfbbf(0x385)]),_0x482ba5(0x8,_0x593b66[_0x5bfbbf(0x273)])],_0x2c326e);var _0x1f22b3=Object[_0x5bfbbf(0x3ca)],_0x237ddc=(_0x3f41d0,_0x1a24d7,_0x285857,_0x1d5770)=>{const _0x4b35b0=_0x5bfbbf;for(var _0x2e33a6=_0x1d5770>0x1?void 0x0:_0x1d5770?_0x1f22b3(_0x1a24d7,_0x285857):_0x1a24d7,_0x61eaa0=_0x3f41d0[_0x4b35b0(0x3bb)]-0x1,_0x254924;_0x61eaa0>=0x0;_0x61eaa0--)(_0x254924=_0x3f41d0[_0x61eaa0])&&(_0x2e33a6=_0x254924(_0x2e33a6)||_0x2e33a6);return _0x2e33a6;},_0x3c5c4c=(_0x46cdbb,_0x1e7387)=>(_0x1fbe3b,_0x5d8816)=>_0x1e7387(_0x1fbe3b,_0x5d8816,_0x46cdbb);const _0x3ba5d9=0x12c,_0x5b4181=0x64,_0x5e5f60=()=>{let _0x322f1c=[],_0x2134f9=!0x1;return _0x551a58=>{const _0x54b497=_0x43a4;_0x322f1c[_0x54b497(0x375)](_0x551a58),_0x2134f9||(_0x2134f9=!0x0,setTimeout(()=>{const _0x3e926c=_0x54b497;_0x322f1c[_0x3e926c(0x3b2)](_0x3c84e9=>_0x3c84e9()),_0x322f1c=[],_0x2134f9=!0x1;}));};};let _0x4fce7f=class extends _0x593b66[_0x5bfbbf(0x27d)]{constructor(_0x53a2b4,_0x22ff10,_0x36ecd6,_0x5708db,_0x4881e6,_0x362c5b,_0x589cce,_0x3ff1ad){const _0x15a10b=_0x5bfbbf;super(),_0x199c2f(this,_0x15a10b(0x209),!0x1),_0x199c2f(this,_0x15a10b(0x1f9),!0x1),_0x199c2f(this,_0x15a10b(0x3fd),new _0x104892[(_0x15a10b(0x23b))](new Map())),_0x199c2f(this,_0x15a10b(0x1d7),this[_0x15a10b(0x3fd)]['asObservable']()),_0x199c2f(this,'_roomMembers$',new _0x104892[(_0x15a10b(0x23b))]([])),_0x199c2f(this,_0x15a10b(0x204),this[_0x15a10b(0x18e)][_0x15a10b(0x38f)](_0x104892[_0x15a10b(0x29b)](_0x3ba5d9))),_0x199c2f(this,_0x15a10b(0x1a7),_0x593b66[_0x15a10b(0x20f)]((_0x30afe4,_0x1eb6db)=>{const _0x5bde59=_0x15a10b,_0x23fae0={'eventID':_0x5cbb60[_0x5bde59(0x376)][_0x5bde59(0x2a1)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x3d646c[_0x5bde59(0x1b1)](_0x30afe4,_0x1eb6db[_0x5bde59(0x3b6)])}};this[_0x5bde59(0x412)][_0x5bde59(0x3d1)](_0x23fae0,this[_0x5bde59(0x20a)]);},_0x5b4181)),(this[_0x15a10b(0x20a)]=_0x53a2b4,this['_session']=_0x22ff10,this['_injector']=_0x36ecd6,this['_colorAssignService']=_0x5708db,this[_0x15a10b(0x1f3)]=_0x4881e6,this[_0x15a10b(0x199)]=_0x362c5b,this[_0x15a10b(0x2d7)]=_0x589cce,this[_0x15a10b(0x281)]=_0x3ff1ad);}get['cursorInfo'](){const _0x29a26b=_0x5bfbbf;return this['_cursorInfo$'][_0x29a26b(0x227)]();}get[_0x5bfbbf(0x306)](){const _0x2d68d3=_0x5bfbbf;return this[_0x2d68d3(0x18e)]['getValue']();}[_0x5bfbbf(0x202)](){const _0x22f423=_0x5bfbbf;super['dispose'](),this[_0x22f423(0x3fd)]['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x22f423(0x18e)][_0x22f423(0x298)]([]),this['_roomMembers$']['complete']();}[_0x5bfbbf(0x3e7)](){const _0x5a39d3=_0x5bfbbf;this[_0x5a39d3(0x1f9)]||(this[_0x5a39d3(0x1f9)]=!0x0,this[_0x5a39d3(0x412)][_0x5a39d3(0x35e)][_0x5a39d3(0x38f)](_0x104892[_0x5a39d3(0x1ee)](this[_0x5a39d3(0x35f)]))[_0x5a39d3(0x32c)](_0x1be66e=>{const _0x3bd2af=_0x5a39d3;_0x1be66e===_0x555a80[_0x3bd2af(0x291)][_0x3bd2af(0x25a)]?this[_0x3bd2af(0x3ac)]():this[_0x3bd2af(0x2d5)]();}),this[_0x5a39d3(0x412)]['event$'][_0x5a39d3(0x38f)](_0x104892[_0x5a39d3(0x1ee)](this[_0x5a39d3(0x35f)]))[_0x5a39d3(0x32c)](_0x3510c0=>{const _0x3a3b9a=_0x5a39d3,_0x2db107=_0x3510c0[_0x3a3b9a(0x2fa)];_0x2db107===_0x5cbb60[_0x3a3b9a(0x376)][_0x3a3b9a(0x2a1)]&&this[_0x3a3b9a(0x256)](_0x3510c0),_0x2db107===_0x5cbb60[_0x3a3b9a(0x376)][_0x3a3b9a(0x379)]&&this[_0x3a3b9a(0x354)](_0x3510c0);}),this[_0x5a39d3(0x399)](),this[_0x5a39d3(0x282)](this[_0x5a39d3(0x2d7)][_0x5a39d3(0x27e)](_0x1a41bf=>{const _0x486384=_0x5a39d3;if(this[_0x486384(0x209)]&&_0x1a41bf['id']===_0x51415f[_0x486384(0x1b4)]['id']&&_0x1a41bf[_0x486384(0x37a)][_0x486384(0x3b7)]===this[_0x486384(0x20a)]){const _0xee7abe=_0x1a41bf['params'];this[_0x486384(0x1a7)](_0xee7abe[_0x486384(0x19c)],_0xee7abe[_0x486384(0x2a8)][0x0]);}})));}['_onCursorUpdate'](_0x44d690){const _0x262fff=_0x5bfbbf;var _0x3f1ca8,_0x31c98d;const {memberID:_0x3f1a1e,selection:_0x688161}=_0x44d690[_0x262fff(0x262)],{sheetName:_0x47fb86,range:_0x1298fa}=_0x3d646c['deserializeRangeWithSheet'](_0x688161),_0x208eec={'name':(_0x31c98d=(_0x3f1ca8=this[_0x262fff(0x1f3)][_0x262fff(0x26e)](this[_0x262fff(0x20a)],_0x3f1a1e))==null?void 0x0:_0x3f1ca8[_0x262fff(0x29f)])!=null?_0x31c98d:_0x262fff(0x2e8),'range':this['_getMergeRange'](_0x47fb86,_0x1298fa),'sheetID':_0x47fb86,'color':this[_0x262fff(0x3d4)][_0x262fff(0x274)](_0x3f1a1e),'selection':_0x688161},_0xe0e022=this[_0x262fff(0x2c6)];_0xe0e022[_0x262fff(0x1d5)](_0x3f1a1e,_0x208eec),this['_cursorInfo$'][_0x262fff(0x298)](_0xe0e022);}[_0x5bfbbf(0x354)](_0x144ffe){const _0xc26a02=_0x5bfbbf,{memberID:_0x1104bd}=_0x144ffe[_0xc26a02(0x262)],_0x413ed8=this['cursorInfo'];_0x413ed8['delete'](_0x1104bd),this['_cursorInfo$'][_0xc26a02(0x298)](_0x413ed8);}['_getMergeRange'](_0x277f74,_0x24050b){const _0x50454b=_0x5bfbbf;var _0x3dfbba,_0x2d3d50;const _0x59245e=(_0x2d3d50=(_0x3dfbba=this[_0x50454b(0x199)][_0x50454b(0x197)](this[_0x50454b(0x20a)]))==null?void 0x0:_0x3dfbba[_0x50454b(0x305)](_0x277f74))==null?void 0x0:_0x2d3d50[_0x50454b(0x250)]();return(_0x59245e==null?void 0x0:_0x59245e[_0x50454b(0x391)](_0x5713ab=>_0x593b66['Rectangle'][_0x50454b(0x292)](_0x5713ab,_0x24050b)))||_0x24050b;}[_0x5bfbbf(0x399)](){const _0x476142=_0x5bfbbf,_0x36f993=new _0x593b66[(_0x476142(0x405))](),_0xefa04f=_0x5e5f60(),_0x133499=()=>{const _0x38830b=_0x476142;_0x36f993[_0x38830b(0x202)]();const _0x512b21=(_0xe08284,_0x1379cd,_0x38fbc7,_0x531d85)=>{const _0x18d32c=_0x38830b;let _0x48e04f=[];switch(_0xe08284['id']){case _0x51415f['EffectRefRangId'][_0x18d32c(0x26c)]:{_0x48e04f=_0x51415f[_0x18d32c(0x27f)](_0xe08284,_0x531d85);break;}case _0x51415f[_0x18d32c(0x1f0)][_0x18d32c(0x21e)]:{_0x48e04f=_0x51415f['handleDeleteRangeMoveUp'](_0xe08284,_0x531d85);break;}case _0x51415f[_0x18d32c(0x1f0)]['InsertColCommandId']:{_0x48e04f=_0x51415f[_0x18d32c(0x3f1)](_0xe08284,_0x531d85);break;}case _0x51415f[_0x18d32c(0x1f0)][_0x18d32c(0x2d1)]:{_0x48e04f=_0x51415f[_0x18d32c(0x224)](_0xe08284,_0x531d85);break;}case _0x51415f[_0x18d32c(0x1f0)][_0x18d32c(0x261)]:{_0x48e04f=_0x51415f[_0x18d32c(0x314)](_0xe08284,_0x531d85);break;}case _0x51415f[_0x18d32c(0x1f0)]['InsertRowCommandId']:{_0x48e04f=_0x51415f[_0x18d32c(0x378)](_0xe08284,_0x531d85);break;}case _0x51415f[_0x18d32c(0x1f0)][_0x18d32c(0x1da)]:{_0x48e04f=_0x51415f[_0x18d32c(0x18d)](_0xe08284,_0x531d85);break;}case _0x51415f['EffectRefRangId'][_0x18d32c(0x383)]:{_0x48e04f=_0x51415f[_0x18d32c(0x3fb)](_0xe08284,_0x531d85);break;}case _0x51415f['EffectRefRangId'][_0x18d32c(0x235)]:{_0x48e04f=_0x51415f[_0x18d32c(0x33e)](_0xe08284,_0x531d85);break;}}const _0x43070c=_0x51415f['runRefRangeMutations'](_0x48e04f,_0x531d85),_0x2d814f=this[_0x18d32c(0x2c6)]['get'](_0x1379cd);if(_0x2d814f&&_0x43070c){const _0x35dbf2={..._0x2d814f,'range':_0x43070c};this['cursorInfo'][_0x18d32c(0x1d5)](_0x1379cd,_0x35dbf2),_0xefa04f(()=>{const _0x444337=_0x18d32c,_0x41d125=this['_refRangeService'][_0x444337(0x1a6)](_0x43070c,_0x3ffc6d=>(_0x41d125[_0x444337(0x202)](),_0x512b21(_0x3ffc6d,_0x1379cd,_0x38fbc7,_0x43070c)));_0x36f993[_0x444337(0x313)](_0x41d125);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x38830b(0x3b2)]((_0x2e6c69,_0x52ec56)=>{const _0x595635=_0x38830b,{range:_0x2fae8d,sheetID:_0x29d9c1}=_0x2e6c69,_0xc43309=this['_refRangeService'][_0x595635(0x1a6)](_0x2fae8d,_0x258614=>(_0xc43309[_0x595635(0x202)](),_0x512b21(_0x258614,_0x52ec56,_0x29d9c1,_0x2fae8d)));_0x36f993[_0x595635(0x313)](_0xc43309);});};this[_0x476142(0x282)](_0x593b66[_0x476142(0x226)](this['_cursorInfo$'][_0x476142(0x32c)](()=>{_0x133499();})));}['_toggleOnline'](){const _0x38ec85=_0x5bfbbf;var _0x3e7f75,_0x57d738;if(this[_0x38ec85(0x209)]=!0x0,((_0x3e7f75=this['_univerInstanceService'][_0x38ec85(0x31e)]())==null?void 0x0:_0x3e7f75[_0x38ec85(0x33c)]())!==this[_0x38ec85(0x20a)])return;const _0x56b1f8=(_0x57d738=this[_0x38ec85(0x295)][_0x38ec85(0x360)](_0x51415f['SheetsSelectionsService'])[_0x38ec85(0x257)]())==null?void 0x0:_0x57d738[0x0],_0x377d1d=this['_univerInstanceService'][_0x38ec85(0x324)](_0x593b66[_0x38ec85(0x1d1)]['UNIVER_SHEET'])[_0x38ec85(0x3ec)]();_0x56b1f8&&_0x377d1d&&this[_0x38ec85(0x1a7)](_0x377d1d['getSheetId'](),_0x56b1f8);}[_0x5bfbbf(0x2d5)](){const _0x49466d=_0x5bfbbf;this[_0x49466d(0x209)]=!0x1;}};_0x4fce7f=_0x237ddc([_0x3c5c4c(0x2,_0x593b66[_0x5bfbbf(0x230)](_0x593b66[_0x5bfbbf(0x3df)])),_0x3c5c4c(0x3,_0x593b66['Inject'](_0x495577)),_0x3c5c4c(0x4,_0x593b66[_0x5bfbbf(0x230)](_0x555a80[_0x5bfbbf(0x40e)])),_0x3c5c4c(0x5,_0x593b66[_0x5bfbbf(0x385)]),_0x3c5c4c(0x6,_0x593b66['ICommandService']),_0x3c5c4c(0x7,_0x593b66['Inject'](_0x51415f[_0x5bfbbf(0x3ad)]))],_0x4fce7f);var _0x21fbb9=Object['getOwnPropertyDescriptor'],_0x18b78d=(_0x4864f5,_0x4e1396,_0x3bc400,_0x46c8ea)=>{const _0x52668b=_0x5bfbbf;for(var _0x48c861=_0x46c8ea>0x1?void 0x0:_0x46c8ea?_0x21fbb9(_0x4e1396,_0x3bc400):_0x4e1396,_0x5541ab=_0x4864f5[_0x52668b(0x3bb)]-0x1,_0x55119c;_0x5541ab>=0x0;_0x5541ab--)(_0x55119c=_0x4864f5[_0x5541ab])&&(_0x48c861=_0x55119c(_0x48c861)||_0x48c861);return _0x48c861;},_0x2f9ab0=(_0xcf3007,_0x367b44)=>(_0x5ab807,_0x415210)=>_0x367b44(_0x5ab807,_0x415210,_0xcf3007);let _0x5329c1=class extends _0x593b66[_0x5bfbbf(0x27d)]{constructor(_0x2bd4fe,_0x26c878,_0x3a7187){const _0x3e99af=_0x5bfbbf;super(),_0x199c2f(this,_0x3e99af(0x318),new Map()),_0x199c2f(this,_0x3e99af(0x3fe),new _0x104892[(_0x3e99af(0x24a))]()),(this[_0x3e99af(0x199)]=_0x2bd4fe,this[_0x3e99af(0x295)]=_0x26c878,this[_0x3e99af(0x393)]=_0x3a7187,this[_0x3e99af(0x1f9)]());}[_0x5bfbbf(0x202)](){const _0x43986a=_0x5bfbbf;super[_0x43986a(0x202)](),this[_0x43986a(0x3fe)][_0x43986a(0x3db)](),this[_0x43986a(0x318)][_0x43986a(0x3b2)](_0x20112a=>_0x20112a[_0x43986a(0x202)]());}['getCollabCursors$'](_0x92ad27){const _0x49b4c0=_0x5bfbbf;return this[_0x49b4c0(0x318)][_0x49b4c0(0x368)](_0x92ad27)?this['_entities']['get'](_0x92ad27)[_0x49b4c0(0x1d7)]:this[_0x49b4c0(0x3fe)]['pipe'](_0x104892[_0x49b4c0(0x294)](_0x52d7a6=>_0x52d7a6[_0x49b4c0(0x20a)]===_0x92ad27),_0x104892[_0x49b4c0(0x317)](_0x23d518=>_0x23d518[_0x49b4c0(0x1d7)]));}[_0x5bfbbf(0x1f9)](){const _0x2b954b=_0x5bfbbf;this[_0x2b954b(0x199)][_0x2b954b(0x1df)](_0x593b66['UniverInstanceType'][_0x2b954b(0x21b)])['pipe'](_0x104892[_0x2b954b(0x1ee)](this[_0x2b954b(0x35f)]))[_0x2b954b(0x32c)](async _0xf6f3a4=>{const _0x5de847=_0x2b954b,_0x27321e=_0xf6f3a4[_0x5de847(0x33c)](),_0x4d186f=await this['_startSheetCollabCursor'](_0x27321e);this[_0x5de847(0x3fe)][_0x5de847(0x298)](_0x4d186f),this[_0x5de847(0x318)]['set'](_0x27321e,_0x4d186f);}),this[_0x2b954b(0x199)][_0x2b954b(0x1df)](_0x593b66['UniverInstanceType'][_0x2b954b(0x3ee)])[_0x2b954b(0x38f)](_0x104892[_0x2b954b(0x1ee)](this[_0x2b954b(0x35f)]))[_0x2b954b(0x38f)](_0x104892[_0x2b954b(0x294)](_0x537107=>!_0x537107[_0x2b954b(0x33c)]()[_0x2b954b(0x222)]('__')))[_0x2b954b(0x32c)](async _0x5df6c2=>{const _0x1a4255=_0x2b954b,_0x406c45=_0x5df6c2[_0x1a4255(0x33c)](),_0xaa6b1a=await this['_startDocCollabCursor'](_0x406c45);this[_0x1a4255(0x3fe)][_0x1a4255(0x298)](_0xaa6b1a),this[_0x1a4255(0x318)]['set'](_0x406c45,_0xaa6b1a);}),_0x104892[_0x2b954b(0x3a6)](this['_univerInstanceService'][_0x2b954b(0x2c2)](_0x593b66[_0x2b954b(0x1d1)][_0x2b954b(0x3ee)]),this['_univerInstanceService'][_0x2b954b(0x2c2)](_0x593b66[_0x2b954b(0x1d1)]['UNIVER_SHEET']))[_0x2b954b(0x38f)](_0x104892[_0x2b954b(0x1ee)](this[_0x2b954b(0x35f)]))[_0x2b954b(0x32c)](_0x198264=>{const _0x35e944=_0x2b954b,_0x5b2782=_0x198264[_0x35e944(0x33c)](),_0x35667f=this[_0x35e944(0x318)][_0x35e944(0x360)](_0x5b2782);_0x35667f&&(_0x35667f[_0x35e944(0x202)](),this[_0x35e944(0x318)]['delete'](_0x5b2782));});}async['_startSheetCollabCursor'](_0x152655){const _0x2991df=_0x5bfbbf,_0x15e444=await this[_0x2991df(0x393)]['requireSession'](_0x152655),_0x1930a1=this[_0x2991df(0x295)]['createInstance'](_0x4fce7f,_0x152655,_0x15e444);return _0x1930a1['init'](),_0x1930a1;}async['_startDocCollabCursor'](_0x2b89d2){const _0x55e2b0=_0x5bfbbf,_0x11aea6=await this['_collabSessionService'][_0x55e2b0(0x2a3)](_0x2b89d2),_0x9b1863=this[_0x55e2b0(0x295)][_0x55e2b0(0x352)](_0x2c326e,_0x2b89d2,_0x11aea6);return _0x9b1863['init'](),_0x9b1863;}};_0x5329c1=_0x18b78d([_0x2f9ab0(0x0,_0x593b66['IUniverInstanceService']),_0x2f9ab0(0x1,_0x593b66[_0x5bfbbf(0x230)](_0x593b66['Injector'])),_0x2f9ab0(0x2,_0x593b66[_0x5bfbbf(0x230)](_0x555a80[_0x5bfbbf(0x187)]))],_0x5329c1);const _0x8cd2cf=0x14,_0x56d336=0xc8,_0xdf45d6=0x4,_0x1dd738=0x5;function _0xf2ef77(_0x5b3186,_0x4d182f){const _0x26bfd1=_0x5bfbbf;let {radius:_0x1d6e74,width:_0x32cd67,height:_0x3ebd9f}=_0x4d182f;_0x1d6e74=_0x1d6e74!=null?_0x1d6e74:0x0,_0x32cd67=_0x32cd67!=null?_0x32cd67:0x1e,_0x3ebd9f=_0x3ebd9f!=null?_0x3ebd9f:0x1e;let _0x5a1af5=0x0,_0x210a5c=0x0,_0x445feb=0x0;_0x5a1af5=_0x210a5c=_0x445feb=Math[_0x26bfd1(0x3a4)](_0x1d6e74,_0x32cd67/0x2,_0x3ebd9f/0x2),_0x5b3186['beginPath'](),_0x5b3186[_0x26bfd1(0x1ad)](_0x5a1af5,0x0),_0x5b3186[_0x26bfd1(0x364)](_0x32cd67-_0x210a5c,0x0),_0x5b3186[_0x26bfd1(0x258)](_0x32cd67-_0x210a5c,_0x210a5c,_0x210a5c,Math['PI']*0x3/0x2,0x0,!0x1),_0x5b3186[_0x26bfd1(0x364)](_0x32cd67,_0x3ebd9f-_0x445feb),_0x5b3186[_0x26bfd1(0x258)](_0x32cd67-_0x445feb,_0x3ebd9f-_0x445feb,_0x445feb,0x0,Math['PI']/0x2,!0x1),_0x5b3186['lineTo'](0x0,_0x3ebd9f),_0x5b3186[_0x26bfd1(0x364)](0x0,_0x5a1af5),_0x5b3186[_0x26bfd1(0x258)](_0x5a1af5,_0x5a1af5,_0x5a1af5,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5b3186[_0x26bfd1(0x1cb)](),_0x4d182f[_0x26bfd1(0x2a2)]&&(_0x5b3186['save'](),_0x5b3186[_0x26bfd1(0x29c)]=_0x4d182f[_0x26bfd1(0x2a2)],_0x4d182f[_0x26bfd1(0x390)]===_0x26bfd1(0x20d)?_0x5b3186[_0x26bfd1(0x2a2)]('evenodd'):_0x5b3186[_0x26bfd1(0x2a2)](),_0x5b3186[_0x26bfd1(0x18b)]());}class _0x16c7a6 extends _0x302994[_0x5bfbbf(0x21d)]{constructor(_0x5613ea,_0x26a846){const _0x3343c5=_0x5bfbbf;super(_0x5613ea,_0x26a846),_0x199c2f(this,'color'),_0x199c2f(this,_0x3343c5(0x34e)),(this[_0x3343c5(0x36f)]=_0x26a846==null?void 0x0:_0x26a846[_0x3343c5(0x36f)],this[_0x3343c5(0x34e)]=_0x26a846==null?void 0x0:_0x26a846[_0x3343c5(0x34e)]);}static[_0x5bfbbf(0x341)](_0x4ad91d,_0x11f50d){const _0x253897=_0x5bfbbf,{text:_0x57f428,color:_0x5f390f}=_0x11f50d;_0x4ad91d['save'](),_0x4ad91d[_0x253897(0x3f8)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x3cd4a8=_0x4ad91d['measureText'](_0x57f428)[_0x253897(0x1b3)],_0x58c4a7=Math[_0x253897(0x3a4)](_0x3cd4a8+0x2*_0xdf45d6,_0x56d336);_0xf2ef77(_0x4ad91d,{'height':_0x8cd2cf,'radius':0x4,'width':_0x58c4a7,'fill':_0x5f390f}),_0x4ad91d[_0x253897(0x29c)]=_0x253897(0x338);const _0xfea492=_0xdf45d6,_0x10f1cd=_0x8cd2cf-_0x1dd738,_0x2cf68c=_0x56d336-0x2*_0xdf45d6;if(_0x3cd4a8>_0x2cf68c){let _0x4b5c0a='',_0x4d364e=0x0;for(const _0x576e55 of _0x57f428){const _0x161927=_0x4ad91d['measureText'](_0x576e55)['width'];if(_0x4d364e+_0x161927<=_0x2cf68c-_0x4ad91d['measureText'](_0x253897(0x2c8))[_0x253897(0x1b3)])_0x4b5c0a+=_0x576e55,_0x4d364e+=_0x161927;else{_0x4b5c0a+=_0x253897(0x2c8);break;}}_0x4ad91d[_0x253897(0x303)](_0x4b5c0a,_0xfea492,_0x10f1cd);}else _0x4ad91d[_0x253897(0x303)](_0x57f428,_0xfea492,_0x10f1cd);_0x4ad91d['restore']();}['_draw'](_0x33799a){const _0x120d03=_0x5bfbbf;_0x16c7a6[_0x120d03(0x341)](_0x33799a,this);}}const _0x32b720=_0x5bfbbf(0x2fd),_0x239a7f=_0x5bfbbf(0x31d),_0x25c9bc=_0x5bfbbf(0x1d3),_0x381764=0x6,_0x5ce3bd=1.5,_0xa4158d=0x4,_0x210965=1.5,_0x348f43=_0x5bfbbf(0x35c);class _0x1a9bea{constructor(_0xbec8b2,_0xab9097,_0x787dd3,_0x1e5ca1){const _0x92f336=_0x5bfbbf;_0x199c2f(this,_0x92f336(0x308),[]),_0x199c2f(this,_0x92f336(0x28e),null),_0x199c2f(this,'_textBubble',null),_0x199c2f(this,_0x92f336(0x349),null),_0x199c2f(this,_0x92f336(0x419),null),_0x199c2f(this,_0x92f336(0x38d),null),(this[_0x92f336(0x321)]=_0xbec8b2,this[_0x92f336(0x2bc)]=_0xab9097,this['_docSkeleton']=_0x787dd3,this[_0x92f336(0x380)]=_0x1e5ca1,this[_0x92f336(0x309)]());}set['_hover'](_0x358d08){const _0x4dc2bb=_0x5bfbbf;_0x358d08?(this[_0x4dc2bb(0x349)]&&this[_0x4dc2bb(0x349)][_0x4dc2bb(0x2ac)](),this['_textBubble']&&this[_0x4dc2bb(0x2bf)][_0x4dc2bb(0x1ea)]()):(this['_anchorDot']&&this[_0x4dc2bb(0x349)][_0x4dc2bb(0x1ea)](),this[_0x4dc2bb(0x2bf)]&&this[_0x4dc2bb(0x2bf)][_0x4dc2bb(0x2ac)]());}['dispose'](){const _0x271650=_0x5bfbbf;for(const _0xed7b68 of this[_0x271650(0x308)])_0xed7b68[_0x271650(0x202)]();this['_textBubble']&&this[_0x271650(0x2bf)]['dispose'](),this[_0x271650(0x349)]&&this['_anchorDot']['dispose'](),this[_0x271650(0x28e)]&&this['_anchor'][_0x271650(0x202)](),this[_0x271650(0x38d)]&&this[_0x271650(0x38d)]();}[_0x5bfbbf(0x309)](){const _0x163bf6=_0x5bfbbf;var _0x466585;const {_docSkeleton:_0x8d732e,_document:_0x26f824}=this,{color:_0x1f2c7f,name:_0x530ee8,ranges:_0x574b12}=this['_cursor'],_0x74dcb5=_0x26f824[_0x163bf6(0x2c4)](),{docsLeft:_0x39fcf5,docsTop:_0x5f38ce}=_0x74dcb5,_0x21fa11=new _0xca2527['NodePositionConvertToCursor'](_0x74dcb5,_0x8d732e);for(const {startOffset:_0x3f7816,endOffset:_0x333075,rangeType:_0x9c9931,segmentId:_0x12b53f,segmentPage:_0xfcc1a8,collapsed:_0xbef9dc,isActive:_0x5efa2d}of _0x574b12){const _0x5889f7=_0x8d732e[_0x163bf6(0x37b)](_0x3f7816,!0x0,_0x12b53f,_0xfcc1a8);let _0x3d15df=_0x8d732e[_0x163bf6(0x37b)](_0x333075,!0x0,_0x12b53f,_0xfcc1a8);if(_0x3d15df==null&&(_0x3d15df=_0x8d732e['findNodePositionByCharIndex'](_0x333075-0x1,!0x1,_0x12b53f,_0xfcc1a8)),_0x5efa2d){const {contentBoxPointGroup:_0x5d588f}=_0x21fa11[_0x163bf6(0x347)](_0x3d15df,_0x3d15df);if(_0x5d588f[_0x163bf6(0x3bb)]===0x0)continue;this[_0x163bf6(0x2ef)](_0x1f2c7f,_0x5d588f,_0x39fcf5,_0x5f38ce,_0x530ee8),this[_0x163bf6(0x38d)]=this[_0x163bf6(0x3e6)]();}if(_0x5889f7&&_0x3d15df){if(_0x9c9931===_0x593b66[_0x163bf6(0x1ce)][_0x163bf6(0x30e)]){const _0x2e2b89=new _0xca2527['NodePositionConvertToRectRange'](_0x74dcb5,_0x8d732e),{pointGroup:_0x38f3e0}=(_0x466585=_0x2e2b89[_0x163bf6(0x347)](_0x5889f7,_0x3d15df))!=null?_0x466585:{};if(_0x38f3e0==null||_0x38f3e0[_0x163bf6(0x3bb)]===0x0)continue;this[_0x163bf6(0x3e0)](_0x1f2c7f,_0x38f3e0,_0x39fcf5,_0x5f38ce);}else{if(!_0xbef9dc){const {borderBoxPointGroup:_0x3c1837}=_0x21fa11[_0x163bf6(0x347)](_0x5889f7,_0x3d15df);if(_0x3c1837[_0x163bf6(0x3bb)]===0x0)continue;this[_0x163bf6(0x3ea)](_0x1f2c7f,_0x3c1837,_0x39fcf5,_0x5f38ce);}}}}}[_0x5bfbbf(0x2ef)](_0x2ccacc,_0xe2a915,_0x58bdc6,_0x3c2a5f,_0x55fd9d){const _0x56cbda=_0x5bfbbf,_0x44837a=this[_0x56cbda(0x1ef)](_0xe2a915),{left:_0x3c2056,top:_0x25857e,height:_0x4673da}=_0x44837a,_0x33d05b=this[_0x56cbda(0x2ee)](),_0x2258f0=_0x210965/_0x33d05b,_0x2b8ed0=new _0x302994[(_0x56cbda(0x2ff))](_0x32b720+_0x593b66[_0x56cbda(0x182)]['generateRandomId'](_0x381764),{'left':_0x3c2056+_0x58bdc6-_0x2258f0,'top':_0x25857e+_0x3c2a5f,'height':_0x4673da,'width':_0x5ce3bd,'fill':_0x2ccacc||_0x302994[_0x56cbda(0x18c)](_0x593b66[_0x56cbda(0x319)][_0x56cbda(0x20b)],0x0),'strokeWidth':_0x2258f0,'stroke':_0x348f43,'evented':!0x0});this[_0x56cbda(0x28e)]=_0x2b8ed0,this[_0x56cbda(0x2bc)][_0x56cbda(0x358)](_0x2b8ed0,_0xca2527['TEXT_RANGE_LAYER_INDEX']);const _0x54e233=new _0x302994[(_0x56cbda(0x2ff))](_0x32b720+_0x593b66['Tools'][_0x56cbda(0x214)](_0x381764),{'left':_0x3c2056+_0x58bdc6-_0x2258f0,'top':_0x25857e+_0x3c2a5f-_0xa4158d/0x2,'height':_0xa4158d,'width':_0xa4158d,'fill':_0x2ccacc||_0x302994[_0x56cbda(0x18c)](_0x593b66[_0x56cbda(0x319)][_0x56cbda(0x20b)],0x0),'strokeWidth':0x0,'stroke':_0x2ccacc||_0x302994[_0x56cbda(0x18c)](_0x593b66[_0x56cbda(0x319)][_0x56cbda(0x20b)],0x0),'evented':!0x1});this[_0x56cbda(0x349)]=_0x54e233,this[_0x56cbda(0x2bc)]['addObject'](_0x54e233,_0xca2527[_0x56cbda(0x2d4)]);const _0x5a3695=new _0x16c7a6(_0x32b720+_0x593b66[_0x56cbda(0x182)]['generateRandomId'](_0x381764),{'left':_0x3c2056+_0x58bdc6-_0x2258f0,'top':_0x25857e+_0x3c2a5f-_0x8cd2cf,'text':_0x55fd9d,'color':_0x2ccacc});this['_textBubble']=_0x5a3695,this[_0x56cbda(0x2bc)][_0x56cbda(0x358)](_0x5a3695,_0xca2527['TEXT_RANGE_LAYER_INDEX']),this[_0x56cbda(0x27a)]=!0x1;}[_0x5bfbbf(0x3e6)](){const _0x41af08=_0x5bfbbf,_0x5b53e0=this[_0x41af08(0x28e)][_0x41af08(0x3c8)]['subscribeEvent'](()=>{const _0x5b5769=_0x41af08;this[_0x5b5769(0x27a)]=!0x0;}),_0x55ab16=this[_0x41af08(0x28e)][_0x41af08(0x248)][_0x41af08(0x2b5)](()=>{const _0x115b8c=_0x41af08;this['_hideTimer']&&clearTimeout(this[_0x115b8c(0x419)]),this[_0x115b8c(0x419)]=setTimeout(()=>{const _0x3f439c=_0x115b8c;this[_0x3f439c(0x27a)]=!0x1;},0x7d0);});return()=>{const _0x30183f=_0x41af08;_0x5b53e0[_0x30183f(0x413)](),_0x55ab16['unsubscribe']();};}['_drawTextRange'](_0x2ba9bf,_0x4a7750,_0x36d72a,_0x3cca5d){const _0x450847=_0x5bfbbf,_0xda8eae=new _0x593b66[(_0x450847(0x3ae))](_0x2ba9bf)[_0x450847(0x2e7)](0.2)[_0x450847(0x3b8)](),_0x4256a1=new _0x302994[(_0x450847(0x2af))](_0x239a7f+_0x593b66[_0x450847(0x182)][_0x450847(0x214)](_0x381764),{'pointsGroup':_0x4a7750,'fill':_0xda8eae||_0x302994[_0x450847(0x18c)](_0x593b66[_0x450847(0x319)][_0x450847(0x20b)],0.2),'left':_0x36d72a,'top':_0x3cca5d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x450847(0x308)][_0x450847(0x375)](_0x4256a1),this[_0x450847(0x2bc)][_0x450847(0x358)](_0x4256a1,_0xca2527[_0x450847(0x2d4)]);}['_drawRectRange'](_0x1db93d,_0x13286a,_0x14a925,_0x38422c){const _0x35b640=_0x5bfbbf,_0x3d78fb=new _0x593b66[(_0x35b640(0x3ae))](_0x1db93d)[_0x35b640(0x2e7)](0.2)[_0x35b640(0x3b8)](),_0x4bdfaa=new _0x302994[(_0x35b640(0x2af))](_0x25c9bc+_0x593b66[_0x35b640(0x182)][_0x35b640(0x214)](_0x381764),{'pointsGroup':_0x13286a,'fill':_0x3d78fb||_0x302994[_0x35b640(0x18c)](_0x593b66['COLORS'][_0x35b640(0x20b)],0.2),'left':_0x14a925,'top':_0x38422c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x35b640(0x308)][_0x35b640(0x375)](_0x4bdfaa),this[_0x35b640(0x2bc)][_0x35b640(0x358)](_0x4bdfaa,_0xca2527[_0x35b640(0x2d4)]);}[_0x5bfbbf(0x1ef)](_0xd6305f){const _0x59e3a5=_0xd6305f[0x0],_0x27da25=_0x59e3a5[0x0],_0x89d170=_0x59e3a5[0x2],{x:_0x239683,y:_0x560758}=_0x27da25,{x:_0xe7e1b3,y:_0x2ebbb5}=_0x89d170;return{'left':_0x239683,'top':_0x560758,'width':_0xe7e1b3-_0x239683,'height':_0x2ebbb5-_0x560758};}[_0x5bfbbf(0x2ee)](){const _0x4d0a13=_0x5bfbbf,{scaleX:_0x982bc0,scaleY:_0xe71ec2}=this[_0x4d0a13(0x2bc)][_0x4d0a13(0x30a)]();return Math[_0x4d0a13(0x31c)](_0x982bc0,_0xe71ec2);}}var _0x146e29=Object['getOwnPropertyDescriptor'],_0x45ea31=(_0x268682,_0x30108b,_0x13b738,_0x1b98ba)=>{const _0x131490=_0x5bfbbf;for(var _0x4eba5a=_0x1b98ba>0x1?void 0x0:_0x1b98ba?_0x146e29(_0x30108b,_0x13b738):_0x30108b,_0x279ed6=_0x268682[_0x131490(0x3bb)]-0x1,_0x589c63;_0x279ed6>=0x0;_0x279ed6--)(_0x589c63=_0x268682[_0x279ed6])&&(_0x4eba5a=_0x589c63(_0x4eba5a)||_0x4eba5a);return _0x4eba5a;},_0x16fbc9=(_0x5e8b77,_0x16fa40)=>(_0x3fe7c5,_0x177a9f)=>_0x16fa40(_0x3fe7c5,_0x177a9f,_0x5e8b77);let _0x3a6393=class extends _0x593b66[_0x5bfbbf(0x27d)]{constructor(_0x4d07a9,_0x4bbf77,_0x5d6170,_0x26cbe3,_0x1e34e9){const _0x3b8ef7=_0x5bfbbf;super(),_0x199c2f(this,_0x3b8ef7(0x31a),[]),_0x199c2f(this,_0x3b8ef7(0x322),[]),(this['_context']=_0x4d07a9,this[_0x3b8ef7(0x366)]=_0x4bbf77,this[_0x3b8ef7(0x38c)]=_0x5d6170,this[_0x3b8ef7(0x2d7)]=_0x26cbe3,this[_0x3b8ef7(0x1e6)]=_0x1e34e9,this[_0x3b8ef7(0x1f9)]());}[_0x5bfbbf(0x1f9)](){const _0x2c88a4=_0x5bfbbf,_0x5b273a=this[_0x2c88a4(0x3e3)][_0x2c88a4(0x3b7)],_0x7a2726=this[_0x2c88a4(0x366)];this[_0x2c88a4(0x282)](_0x104892['combineLatest']([this[_0x2c88a4(0x38c)]['getCollabCursors$'](_0x5b273a),this['_themeService']['currentTheme$']])[_0x2c88a4(0x38f)](_0x4cb22d['map'](([_0x57ff48,_0x31736e])=>({'skeleton':_0x7a2726[_0x2c88a4(0x1e0)](),'cursors':[..._0x57ff48[_0x2c88a4(0x24b)]()][_0x2c88a4(0x1ed)](_0x4ff17b=>({..._0x4ff17b,'color':_0x31736e[_0x4ff17b[_0x2c88a4(0x36f)]]}))})))[_0x2c88a4(0x32c)](_0x55d432=>{if(this['_removeCollabCursors'](),_0x55d432){const {skeleton:_0x488ce3,cursors:_0x250160}=_0x55d432;this['_updateCollabCursors'](_0x488ce3,_0x250160);}})),this[_0x2c88a4(0x345)](),this[_0x2c88a4(0x26a)]();}[_0x5bfbbf(0x3b9)](_0x2df13e,_0x1af891){const _0x2c1fe1=_0x5bfbbf,{scene:_0x5ddcfe,mainComponent:_0x365aa9}=this[_0x2c1fe1(0x3e3)],_0x369752=_0x1af891[_0x2c1fe1(0x3ba)](_0xe1ff55=>new _0x1a9bea(_0xe1ff55,_0x5ddcfe,_0x2df13e,_0x365aa9));this['_cursorShapes']=_0x369752,this[_0x2c1fe1(0x322)]=_0x1af891;}[_0x5bfbbf(0x31b)](){const _0x83c620=_0x5bfbbf;this[_0x83c620(0x23e)]();const {scene:_0x44f46e,mainComponent:_0x48cf46}=this[_0x83c620(0x3e3)],_0x1795fe=this[_0x83c620(0x366)][_0x83c620(0x1e0)](),_0x3f6f95=this[_0x83c620(0x322)]['map'](_0x40e827=>new _0x1a9bea(_0x40e827,_0x44f46e,_0x1795fe,_0x48cf46));this[_0x83c620(0x31a)]=_0x3f6f95;}[_0x5bfbbf(0x23e)](){const _0x4a7cee=_0x5bfbbf;this[_0x4a7cee(0x31a)][_0x4a7cee(0x3b2)](_0x2b380b=>_0x2b380b[_0x4a7cee(0x202)]()),this[_0x4a7cee(0x31a)]=[];}[_0x5bfbbf(0x26a)](){const _0x9bd78e=_0x5bfbbf,_0x4c3c25=[_0xca2527['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this['_commandService'][_0x9bd78e(0x27e)](_0x39a0bb=>{const _0x3f7f35=_0x9bd78e;_0x4c3c25[_0x3f7f35(0x3f6)](_0x39a0bb['id'])&&_0x39a0bb[_0x3f7f35(0x37a)]['unitId']===this[_0x3f7f35(0x3e3)]['unitId']&&this[_0x3f7f35(0x31b)]();}));}[_0x5bfbbf(0x345)](){const _0x43cd89=_0x5bfbbf;this[_0x43cd89(0x282)](_0x593b66[_0x43cd89(0x270)](this['_context'][_0x43cd89(0x25d)]['onTransformChange$'])[_0x43cd89(0x38f)](_0x4cb22d[_0x43cd89(0x294)](_0x29cc4a=>_0x29cc4a[_0x43cd89(0x3ce)]===_0x302994[_0x43cd89(0x36b)]['resize']),_0x4cb22d[_0x43cd89(0x1e2)](0x10))[_0x43cd89(0x32c)](()=>{const _0x83f4be=_0x43cd89;this[_0x83f4be(0x31b)]();}));}};_0x3a6393=_0x45ea31([_0x16fbc9(0x1,_0x593b66[_0x5bfbbf(0x230)](_0x54676e[_0x5bfbbf(0x1bf)])),_0x16fbc9(0x2,_0x593b66[_0x5bfbbf(0x230)](_0x5329c1)),_0x16fbc9(0x3,_0x593b66[_0x5bfbbf(0x273)]),_0x16fbc9(0x4,_0x593b66['Inject'](_0x593b66['ThemeService']))],_0x3a6393);const _0x2ad23d=0x1,_0x2c0744=1.5;class _0x16454e extends _0x302994[_0x5bfbbf(0x21d)]{constructor(_0x53c62c,_0x53267f){const _0x308053=_0x5bfbbf;super(_0x53c62c,_0x53267f),_0x199c2f(this,'_color'),_0x199c2f(this,_0x308053(0x3b3),!0x1),_0x199c2f(this,'_range'),_0x199c2f(this,'_name',''),_0x199c2f(this,_0x308053(0x20e),_0x308053(0x39f)),_0x199c2f(this,_0x308053(0x3b1)),(_0x53267f&&this['setShapeProps'](_0x53267f),this['onPointerEnter$'][_0x308053(0x2b5)](()=>this[_0x308053(0x263)]({'hovered':!0x0})),this['onPointerLeave$'][_0x308053(0x2b5)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x5bfbbf(0x263)](_0x2901c9){const _0x5c56c0=_0x5bfbbf;var _0x5027af,_0x5e0c75,_0x43093d,_0x3e7c93,_0x5acdbc,_0x1d1e70;this[_0x5c56c0(0x19a)]=(_0x5027af=_0x2901c9[_0x5c56c0(0x36f)])!=null?_0x5027af:this[_0x5c56c0(0x19a)],this[_0x5c56c0(0x3b3)]=(_0x5e0c75=_0x2901c9['hovered'])!=null?_0x5e0c75:this[_0x5c56c0(0x3b3)],this['_range']=(_0x43093d=_0x2901c9[_0x5c56c0(0x3b6)])!=null?_0x43093d:this[_0x5c56c0(0x2d9)],this[_0x5c56c0(0x19d)]=(_0x3e7c93=_0x2901c9[_0x5c56c0(0x29f)])!=null?_0x3e7c93:this[_0x5c56c0(0x19d)],this[_0x5c56c0(0x20e)]=(_0x5acdbc=_0x2901c9['labelPosition'])!=null?_0x5acdbc:this[_0x5c56c0(0x20e)],this[_0x5c56c0(0x3b1)]=(_0x1d1e70=_0x2901c9[_0x5c56c0(0x3c1)])!=null?_0x1d1e70:this[_0x5c56c0(0x3b1)],this[_0x5c56c0(0x327)]({'width':_0x2901c9[_0x5c56c0(0x1b3)],'height':_0x2901c9[_0x5c56c0(0x3cf)]});}[_0x5bfbbf(0x382)](_0x2e0b1a){const _0x4be090=_0x5bfbbf,{row:_0x1ba978,column:_0x3d4b2d}=_0x2e0b1a;if(_0x1ba978>=this[_0x4be090(0x2d9)][_0x4be090(0x2df)]&&_0x1ba978<=this['_range'][_0x4be090(0x185)]&&_0x3d4b2d>=this[_0x4be090(0x2d9)][_0x4be090(0x244)]&&_0x3d4b2d<=this[_0x4be090(0x2d9)][_0x4be090(0x1f5)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4be090(0x263)]({'hovered':!0x1});}[_0x5bfbbf(0x3d2)](_0x4ba811){return!0x1;}[_0x5bfbbf(0x26d)](_0x398b59){const _0x15af7b=_0x5bfbbf;_0x302994[_0x15af7b(0x2ff)][_0x15af7b(0x341)](_0x398b59,{'width':this[_0x15af7b(0x1b3)],'height':this[_0x15af7b(0x3cf)],'strokeWidth':_0x2c0744,'stroke':this[_0x15af7b(0x19a)],'evented':!0x1,'fill':this[_0x15af7b(0x3b1)]}),this[_0x15af7b(0x3b3)]&&(_0x398b59[_0x15af7b(0x326)](),_0x398b59[_0x15af7b(0x40c)](0x1,0x0,0x0,0x1,this[_0x15af7b(0x1b3)],this[_0x15af7b(0x20e)]==='bottom'?0x0:-0x14),_0x16c7a6['drawWith'](_0x398b59,{'text':this[_0x15af7b(0x19d)],'color':this[_0x15af7b(0x19a)]}),_0x398b59[_0x15af7b(0x18b)]());}}var _0x5dc9dc=Object[_0x5bfbbf(0x3ca)],_0x55962b=(_0x362a99,_0x439311,_0xe22419,_0xda7b3c)=>{const _0x2900e0=_0x5bfbbf;for(var _0x59b363=_0xda7b3c>0x1?void 0x0:_0xda7b3c?_0x5dc9dc(_0x439311,_0xe22419):_0x439311,_0x3b7b52=_0x362a99[_0x2900e0(0x3bb)]-0x1,_0x5d131b;_0x3b7b52>=0x0;_0x3b7b52--)(_0x5d131b=_0x362a99[_0x3b7b52])&&(_0x59b363=_0x5d131b(_0x59b363)||_0x59b363);return _0x59b363;},_0x41c4c3=(_0x412bb0,_0x14eea8)=>(_0x438a5f,_0x16f453)=>_0x14eea8(_0x438a5f,_0x16f453,_0x412bb0);const _0x34e6dd=0x1389;let _0x462469=class extends _0x593b66[_0x5bfbbf(0x27d)]{constructor(_0xcfa886,_0x5a43b2,_0x7ec5d,_0x2ac709){const _0x262ffe=_0x5bfbbf;super(),_0x199c2f(this,_0x262ffe(0x322),new Set()),_0x199c2f(this,_0x262ffe(0x1b6),null),(this[_0x262ffe(0x3e3)]=_0xcfa886,this[_0x262ffe(0x2f2)]=_0x5a43b2,this[_0x262ffe(0x38c)]=_0x7ec5d,this[_0x262ffe(0x1e6)]=_0x2ac709,this[_0x262ffe(0x1f9)]());}[_0x5bfbbf(0x1f9)](){const _0x3c4510=_0x5bfbbf;this[_0x3c4510(0x2f2)][_0x3c4510(0x1ff)][_0x3c4510(0x38f)](_0x4cb22d[_0x3c4510(0x1ee)](this[_0x3c4510(0x35f)]),_0x4cb22d['switchMap'](_0x26b3de=>{const _0x3786aa=_0x3c4510;if(_0x26b3de){const _0x11a514=_0x26b3de[_0x3786aa(0x240)];return _0x104892[_0x3786aa(0x32b)](this['_collabCursorController'][_0x3786aa(0x3c7)](this['_context'][_0x3786aa(0x3b7)]),this[_0x3786aa(0x1e6)][_0x3786aa(0x2c3)])[_0x3786aa(0x38f)](_0x4cb22d[_0x3786aa(0x3ba)](([_0xac4b29,_0x18a410])=>{const _0x4b9b60=_0x3786aa,_0x15148e=new Map();return _0xac4b29[_0x4b9b60(0x3b2)]((_0x3afcd1,_0x3ff95f)=>{const _0x4da13f=_0x4b9b60;if(_0x3afcd1[_0x4da13f(0x24e)]===_0x11a514){const _0x36b644={..._0x3afcd1};_0x36b644[_0x4da13f(0x36f)]=_0x18a410[_0x3afcd1[_0x4da13f(0x36f)]],_0x15148e[_0x4da13f(0x1d5)](_0x3ff95f,_0x36b644);}}),{'skeleton':_0x26b3de,'cursors':_0x15148e};}));}return _0x104892['of']({'skeleton':null,'cursors':new Map()});}))[_0x3c4510(0x32c)](({skeleton:_0x36bb1f,cursors:_0xde7f})=>{const _0x848eb0=_0x3c4510;this[_0x848eb0(0x23e)](),_0x36bb1f&&this[_0x848eb0(0x3b9)](_0x36bb1f,_0xde7f);}),this[_0x3c4510(0x2f2)][_0x3c4510(0x1ff)][_0x3c4510(0x32c)](_0x32cde3=>{const _0x36c43c=_0x3c4510;if(_0x32cde3==null)return;const {skeleton:_0x49151f}=_0x32cde3,{scene:_0x2b83c6}=this[_0x36c43c(0x3e3)];_0x2b83c6['onPointerMove$'][_0x36c43c(0x2b5)](_0x593b66[_0x36c43c(0x20f)](_0x498079=>{const _0x3dd695=_0x36c43c;var _0x189d4c,_0x42841b;const {offsetX:_0x4ab77c,offsetY:_0x2efd71}=_0x498079,{x:_0x1c9d81,y:_0x49afc7}=_0x2b83c6['getRelativeToViewportCoord'](_0x302994[_0x3dd695(0x1a3)]['FromArray']([_0x4ab77c,_0x2efd71])),{scaleX:_0x5f5e02,scaleY:_0x18d661}=_0x2b83c6['getAncestorScale'](),_0x1f35ca=_0x2b83c6[_0x3dd695(0x297)](_0x302994['SHEET_VIEWPORT_KEY'][_0x3dd695(0x3aa)]),_0x4c4ef8=_0x2b83c6[_0x3dd695(0x2ce)](_0x302994[_0x3dd695(0x1a3)][_0x3dd695(0x316)]([_0x1c9d81,_0x49afc7]),_0x1f35ca),_0x45c026=_0x49151f['getCellPositionByOffset'](_0x4ab77c,_0x2efd71,_0x5f5e02,_0x18d661,_0x4c4ef8);((_0x189d4c=this[_0x3dd695(0x1b6)])==null?void 0x0:_0x189d4c[_0x3dd695(0x301)])===_0x45c026[_0x3dd695(0x301)]&&((_0x42841b=this[_0x3dd695(0x1b6)])==null?void 0x0:_0x42841b[_0x3dd695(0x2b2)])===_0x45c026[_0x3dd695(0x2b2)]||this['_cursors'][_0x3dd695(0x3b2)](_0x1297e4=>{_0x1297e4['onMouseMove'](_0x45c026);});},0x64));});}[_0x5bfbbf(0x3b9)](_0x57433c,_0x585ae6){const _0x586492=_0x5bfbbf;var _0x23ff9d;const _0x47d82e=(_0x23ff9d=this[_0x586492(0x2f2)][_0x586492(0x279)]())==null?void 0x0:_0x23ff9d['skeleton'];if(!_0x47d82e)return;const _0x2423e3=this[_0x586492(0x372)]();if(!_0x2423e3)return;this[_0x586492(0x322)][_0x586492(0x3b2)](_0x4ff80d=>{const _0x5a74e8=_0x586492;_0x4ff80d[_0x5a74e8(0x2dd)]();});const {scene:_0x24c8ad}=_0x2423e3,_0x3302a6=_0x27f19f(Array[_0x586492(0x1c6)](_0x585ae6[_0x586492(0x24b)]()))[_0x586492(0x3ba)](_0x126be2=>{const _0x29e9bb=_0x586492,{color:_0x5807a3,range:_0x136c4f,name:_0x46ea21,selection:_0x4a917c,sheetID:_0xa4b23c}=_0x126be2,{startColumn:_0x2785e6,startRow:_0x46059e,endColumn:_0xcd6661,endRow:_0x4e0a46}=_0x136c4f,_0xd2c29c=_0x9a7747[_0x29e9bb(0x1f6)](_0x46059e,_0x2785e6,_0x24c8ad,_0x47d82e),_0x15ceaa=_0x9a7747[_0x29e9bb(0x1f6)](_0x4e0a46,_0xcd6661,_0x24c8ad,_0x47d82e),{columnHeaderHeightAndMarginTop:_0x1237f2}=_0x47d82e,{startX:_0x20af69,startY:_0x2b0f8a}=_0xd2c29c,{endX:_0x5eaefc,endY:_0xcd56c2}=_0x15ceaa,_0x4d4295=_0x5eaefc-_0x20af69,_0x72c6f6=_0xcd56c2-_0x2b0f8a,_0x38f2a5={'labelPosition':_0x2b0f8a-_0x1237f2>=_0x8cd2cf?_0x29e9bb(0x39f):_0x29e9bb(0x23d),'sheetID':_0xa4b23c,'range':_0x136c4f,'color':_0x5807a3,'name':_0x46ea21,'selection':_0x4a917c,'left':_0x20af69,'top':_0x2b0f8a,'width':_0x4d4295,'height':_0x72c6f6,'evented':!0x1,'zIndex':_0x34e6dd};return new _0x16454e(_0x46ea21,_0x38f2a5);});_0x24c8ad[_0x586492(0x25e)](_0x3302a6,_0x2ad23d),this[_0x586492(0x322)]=new Set(_0x3302a6);}[_0x5bfbbf(0x23e)](){const _0x1a8448=_0x5bfbbf;var _0x1cba6a;(_0x1cba6a=this[_0x1a8448(0x322)])==null||_0x1cba6a[_0x1a8448(0x3b2)](_0x3a3b1b=>_0x3a3b1b[_0x1a8448(0x202)]());}['_getSheetObject'](){const _0xecc6d9=_0x5bfbbf;return _0x9a7747[_0xecc6d9(0x3dc)](this['_context'][_0xecc6d9(0x40d)],this['_context']);}};_0x462469=_0x55962b([_0x41c4c3(0x1,_0x593b66[_0x5bfbbf(0x230)](_0x9a7747['SheetSkeletonManagerService'])),_0x41c4c3(0x2,_0x593b66[_0x5bfbbf(0x230)](_0x5329c1)),_0x41c4c3(0x3,_0x593b66[_0x5bfbbf(0x230)](_0x593b66[_0x5bfbbf(0x3fc)]))],_0x462469);function _0x27f19f(_0x3437ab){const _0x1a1fb7=_0x5bfbbf,_0x6d775f=new Map();return _0x3437ab[_0x1a1fb7(0x3b2)](_0x4d24c9=>{const _0x2b5555=_0x1a1fb7;if(_0x6d775f[_0x2b5555(0x368)](_0x4d24c9[_0x2b5555(0x20c)])){const _0x38678a=_0x6d775f[_0x2b5555(0x360)](_0x4d24c9[_0x2b5555(0x20c)]);_0x38678a[_0x2b5555(0x29f)]+=',\x20'+_0x4d24c9[_0x2b5555(0x29f)];}else _0x6d775f[_0x2b5555(0x1d5)](_0x4d24c9[_0x2b5555(0x20c)],_0x4d24c9);}),Array[_0x1a1fb7(0x1c6)](_0x6d775f['values']());}var _0x5c3a87=function(){const _0x8396b6=_0x5bfbbf;return _0x5c3a87=Object[_0x8396b6(0x3c5)]||function(_0x4b63b7){const _0x1b7a3b=_0x8396b6;for(var _0x59715a,_0x362ea9=0x1,_0xd4c271=arguments[_0x1b7a3b(0x3bb)];_0x362ea9<_0xd4c271;_0x362ea9++){_0x59715a=arguments[_0x362ea9];for(var _0x5d6bf4 in _0x59715a)Object[_0x1b7a3b(0x416)]['hasOwnProperty'][_0x1b7a3b(0x2dc)](_0x59715a,_0x5d6bf4)&&(_0x4b63b7[_0x5d6bf4]=_0x59715a[_0x5d6bf4]);}return _0x4b63b7;},_0x5c3a87['apply'](this,arguments);},_0x499d28=function(_0x42a63e,_0x2c9ba4){const _0xb71729=_0x5bfbbf;var _0x4c6a36={};for(var _0x31ca30 in _0x42a63e)Object[_0xb71729(0x416)][_0xb71729(0x331)][_0xb71729(0x2dc)](_0x42a63e,_0x31ca30)&&_0x2c9ba4[_0xb71729(0x280)](_0x31ca30)<0x0&&(_0x4c6a36[_0x31ca30]=_0x42a63e[_0x31ca30]);if(_0x42a63e!=null&&typeof Object[_0xb71729(0x3a2)]=='function'){for(var _0x4057fc=0x0,_0x31ca30=Object[_0xb71729(0x3a2)](_0x42a63e);_0x4057fc<_0x31ca30[_0xb71729(0x3bb)];_0x4057fc++)_0x2c9ba4[_0xb71729(0x280)](_0x31ca30[_0x4057fc])<0x0&&Object['prototype']['propertyIsEnumerable'][_0xb71729(0x2dc)](_0x42a63e,_0x31ca30[_0x4057fc])&&(_0x4c6a36[_0x31ca30[_0x4057fc]]=_0x42a63e[_0x31ca30[_0x4057fc]]);}return _0x4c6a36;},_0x56aa81=_0x49a8a3[_0x5bfbbf(0x365)](function(_0x48a841,_0x150c55){const _0x5bd6f7=_0x5bfbbf;var _0x3ae7aa=_0x48a841[_0x5bd6f7(0x386)],_0x47c178=_0x48a841['id'],_0x4a3844=_0x48a841[_0x5bd6f7(0x210)],_0x58b827=_0x48a841[_0x5bd6f7(0x2c7)],_0xa57753=_0x499d28(_0x48a841,[_0x5bd6f7(0x386),'id',_0x5bd6f7(0x210),'extend']),_0x287973='univerjs-icon\x20univerjs-icon-'[_0x5bd6f7(0x195)](_0x47c178,'\x20')['concat'](_0x4a3844||'')['trim'](),_0x45e785=_0x49a8a3[_0x5bd6f7(0x1c2)]('_'[_0x5bd6f7(0x195)](_0x1f6ae6()));return _0x3dfac5(_0x3ae7aa,''[_0x5bd6f7(0x195)](_0x47c178),{'defIds':_0x3ae7aa[_0x5bd6f7(0x392)],'idSuffix':_0x45e785[_0x5bd6f7(0x253)]},_0x5c3a87({'ref':_0x150c55,'className':_0x287973},_0xa57753),_0x58b827);});function _0x3dfac5(_0x3c4959,_0x15a44d,_0x245568,_0x7712ff,_0x2307e4){const _0x35751b=_0x5bfbbf;return _0x49a8a3[_0x35751b(0x32d)](_0x3c4959[_0x35751b(0x286)],_0x5c3a87(_0x5c3a87({'key':_0x15a44d},_0x4af2c5(_0x3c4959,_0x245568,_0x2307e4)),_0x7712ff),(_0xd55313(_0x3c4959,_0x245568)[_0x35751b(0x245)]||[])[_0x35751b(0x3ba)](function(_0x32333e,_0x55996f){const _0x589aec=_0x35751b;return _0x3dfac5(_0x32333e,''[_0x589aec(0x195)](_0x15a44d,'-')[_0x589aec(0x195)](_0x3c4959[_0x589aec(0x286)],'-')[_0x589aec(0x195)](_0x55996f),_0x245568,void 0x0,_0x2307e4);}));}function _0x4af2c5(_0x1a16a6,_0x144765,_0x26c1cf){const _0x1bec7b=_0x5bfbbf;var _0x281f72=_0x5c3a87({},_0x1a16a6[_0x1bec7b(0x220)]);_0x26c1cf!=null&&_0x26c1cf[_0x1bec7b(0x276)]&&_0x281f72[_0x1bec7b(0x2a2)]===_0x1bec7b(0x276)&&(_0x281f72['fill']=_0x26c1cf[_0x1bec7b(0x276)]),_0x1a16a6[_0x1bec7b(0x286)]===_0x1bec7b(0x311)&&_0x281f72['id']&&(_0x281f72['id']=_0x281f72['id']+_0x144765['idSuffix']),Object[_0x1bec7b(0x34d)](_0x281f72)[_0x1bec7b(0x3b2)](function(_0x531591){const _0x8d892f=_0x1bec7b;var _0x3804a4=_0x531591[0x0],_0x828cb5=_0x531591[0x1];_0x3804a4===_0x8d892f(0x311)&&typeof _0x828cb5==_0x8d892f(0x231)&&(_0x281f72[_0x3804a4]=_0x828cb5['replace'](/url\(#(.*)\)/,_0x8d892f(0x2f6)[_0x8d892f(0x195)](_0x144765[_0x8d892f(0x312)],')')));});var _0x4fd401=_0x144765[_0x1bec7b(0x392)];return!_0x4fd401||_0x4fd401[_0x1bec7b(0x3bb)]===0x0||(_0x1a16a6[_0x1bec7b(0x286)]===_0x1bec7b(0x3e5)&&_0x281f72[_0x1bec7b(0x41b)]&&(_0x281f72[_0x1bec7b(0x41b)]=_0x281f72[_0x1bec7b(0x41b)]+_0x144765['idSuffix']),Object[_0x1bec7b(0x34d)](_0x281f72)[_0x1bec7b(0x3b2)](function(_0x1bfe63){const _0x55ef4c=_0x1bec7b;var _0x238374=_0x1bfe63[0x0],_0x1ed2e5=_0x1bfe63[0x1];typeof _0x1ed2e5==_0x55ef4c(0x231)&&(_0x281f72[_0x238374]=_0x1ed2e5[_0x55ef4c(0x293)](/url\(#(.*)\)/,_0x55ef4c(0x2f6)['concat'](_0x144765[_0x55ef4c(0x312)],')')));})),_0x281f72;}function _0xd55313(_0x50a914,_0x16e68a){const _0xe88a3=_0x5bfbbf;var _0xa75812,_0x14d23c=_0x16e68a[_0xe88a3(0x392)];return!_0x14d23c||_0x14d23c[_0xe88a3(0x3bb)]===0x0?_0x50a914:_0x50a914[_0xe88a3(0x286)]===_0xe88a3(0x186)&&(!((_0xa75812=_0x50a914[_0xe88a3(0x245)])===null||_0xa75812===void 0x0)&&_0xa75812['length'])?_0x5c3a87(_0x5c3a87({},_0x50a914),{'children':_0x50a914[_0xe88a3(0x245)][_0xe88a3(0x3ba)](function(_0x2592e3){const _0x52e8bf=_0xe88a3;return typeof _0x2592e3['attrs']['id']==_0x52e8bf(0x231)&&_0x14d23c&&_0x14d23c['indexOf'](_0x2592e3['attrs']['id'])>-0x1?_0x5c3a87(_0x5c3a87({},_0x2592e3),{'attrs':_0x5c3a87(_0x5c3a87({},_0x2592e3[_0x52e8bf(0x220)]),{'id':_0x2592e3[_0x52e8bf(0x220)]['id']+_0x16e68a['idSuffix']})}):_0x2592e3;})}):_0x50a914;}function _0x1f6ae6(){const _0x1412b1=_0x5bfbbf;return Math[_0x1412b1(0x2d3)]()[_0x1412b1(0x2e2)](0x24)[_0x1412b1(0x27b)](0x2,0x8);}_0x56aa81[_0x5bfbbf(0x39b)]=_0x5bfbbf(0x355);var _0xa650ff={'tag':_0x5bfbbf(0x28d),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x5bfbbf(0x396),'height':_0x5bfbbf(0x396)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x5bfbbf(0x1e9),'d':_0x5bfbbf(0x363),'strokeLinecap':_0x5bfbbf(0x2ab),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5bfbbf(0x2a0)},'children':[{'tag':_0x5bfbbf(0x3c3),'attrs':{'fill':_0x5bfbbf(0x2a9),'d':_0x5bfbbf(0x1e3)}}]}]}],'defIds':[_0x5bfbbf(0x2a0)]},_0x2e741e=_0x49a8a3[_0x5bfbbf(0x365)](function(_0x3a1c36,_0x513171){return _0x49a8a3['createElement'](_0x56aa81,Object['assign']({},_0x3a1c36,{'id':'off-line-single','ref':_0x513171,'icon':_0xa650ff}));});_0x2e741e[_0x5bfbbf(0x39b)]='OffLineSingle';var _0x400273={'tag':_0x5bfbbf(0x28d),'attrs':{'fill':_0x5bfbbf(0x265),'viewBox':'0\x200\x2017\x2016','width':_0x5bfbbf(0x396),'height':_0x5bfbbf(0x396)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x5bfbbf(0x1e9),'d':_0x5bfbbf(0x287),'strokeLinecap':_0x5bfbbf(0x2ab),'strokeLinejoin':_0x5bfbbf(0x2ab),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5bfbbf(0x21f),'attrs':{'id':_0x5bfbbf(0x278)},'children':[{'tag':_0x5bfbbf(0x3c3),'attrs':{'fill':_0x5bfbbf(0x2a9),'d':'M0\x200H16V16H0z','transform':_0x5bfbbf(0x32e)}}]}]}],'defIds':[_0x5bfbbf(0x278)]},_0x103e9a=_0x49a8a3[_0x5bfbbf(0x365)](function(_0x2518bc,_0x192e72){const _0x27f12a=_0x5bfbbf;return _0x49a8a3[_0x27f12a(0x32d)](_0x56aa81,Object[_0x27f12a(0x3c5)]({},_0x2518bc,{'id':_0x27f12a(0x3e9),'ref':_0x192e72,'icon':_0x400273}));});_0x103e9a[_0x5bfbbf(0x39b)]='OnLineSingle';const _0x25ad32={'onlineStatusIcon':_0x5bfbbf(0x2c5),'onlineStatusTitle':_0x5bfbbf(0x398),'onlineStatus':_0x5bfbbf(0x2f8),'online':_0x5bfbbf(0x2db),'offline':'univer-offline'};function _0x39e348(_0x3308b1){const _0x4e0dbd=_0x5bfbbf;switch(_0x3308b1){case _0x555a80[_0x4e0dbd(0x1d2)][_0x4e0dbd(0x3fa)]:return _0x4e0dbd(0x325);case _0x555a80[_0x4e0dbd(0x1d2)][_0x4e0dbd(0x2a7)]:return _0x4e0dbd(0x3eb);case _0x555a80[_0x4e0dbd(0x1d2)]['FETCH_MISS']:return _0x4e0dbd(0x3d3);case _0x555a80[_0x4e0dbd(0x1d2)]['NOT_COLLAB']:return _0x4e0dbd(0x2d2);case _0x555a80[_0x4e0dbd(0x1d2)]['AWAITING']:case _0x555a80['CollaborationStatus'][_0x4e0dbd(0x22b)]:return _0x4e0dbd(0x414);case _0x555a80['CollaborationStatus'][_0x4e0dbd(0x218)]:case _0x555a80[_0x4e0dbd(0x1d2)]['PENDING']:return _0x4e0dbd(0x255);}}function _0xb4e4b9(_0x2606ea){const _0x92f1d6=_0x5bfbbf,{status$:_0x2475c3}=_0x2606ea,_0x30630b=_0x2965e2['useObservable'](_0x2475c3,_0x555a80[_0x92f1d6(0x1d2)][_0x92f1d6(0x2aa)]),_0x2ed881=_0x2965e2['useDependency'](_0x593b66[_0x92f1d6(0x35a)]),_0x2b4071=_0x2965e2[_0x92f1d6(0x2e4)](_0x555a80[_0x92f1d6(0x187)]),_0x3a500f=_0x30630b!==_0x555a80[_0x92f1d6(0x1d2)][_0x92f1d6(0x3fa)],_0x53a24=_0x2ed881['t'](_0x39e348(_0x30630b)),_0x3fa9a8=_0x526ca7[_0x92f1d6(0x1a4)](_0x25ad32['onlineStatus'],{[_0x25ad32[_0x92f1d6(0x1d9)]]:_0x3a500f,[_0x25ad32['offline']]:!_0x3a500f}),_0x3aaab0=_0x3a500f?_0xa33888[_0x92f1d6(0x410)](_0x103e9a,{}):_0xa33888[_0x92f1d6(0x410)](_0x2e741e,{}),_0x3209ea=_0x49a8a3[_0x92f1d6(0x247)](()=>{const _0x155c89=_0x92f1d6;_0x3a500f||_0x2b4071[_0x155c89(0x36c)]();},[_0x3a500f,_0x2b4071]);function _0x223a97(){const _0x2e2699=_0x92f1d6;return _0xa33888[_0x2e2699(0x28b)]('div',{'className':_0x526ca7['clsx'](_0x3fa9a8,'univer-flex\x20univer-items-center'),'onClick':_0x3209ea,'children':[_0xa33888[_0x2e2699(0x410)](_0x2e2699(0x1dc),{'className':_0x25ad32[_0x2e2699(0x24d)],'children':_0x3aaab0}),_0xa33888[_0x2e2699(0x410)](_0x2e2699(0x1dc),{'className':_0x25ad32[_0x2e2699(0x3e4)],'children':_0x53a24})]});}return _0x3a500f?_0x223a97():_0xa33888[_0x92f1d6(0x410)](_0x526ca7['Tooltip'],{'title':_0x2ed881['t']('collab-client.tooltip.reconnect'),'children':_0x223a97()});}var _0x14e50d=Object['getOwnPropertyDescriptor'],_0x23b958=(_0x95686a,_0x5d28d5,_0x5f2db4,_0x1a881a)=>{const _0x2b8a41=_0x5bfbbf;for(var _0x28428e=_0x1a881a>0x1?void 0x0:_0x1a881a?_0x14e50d(_0x5d28d5,_0x5f2db4):_0x5d28d5,_0x10f24a=_0x95686a[_0x2b8a41(0x3bb)]-0x1,_0x50ef9b;_0x10f24a>=0x0;_0x10f24a--)(_0x50ef9b=_0x95686a[_0x10f24a])&&(_0x28428e=_0x50ef9b(_0x28428e)||_0x28428e);return _0x28428e;},_0x320833=(_0x3c3de9,_0x1f1c01)=>(_0x14737f,_0x5ab861)=>_0x1f1c01(_0x14737f,_0x5ab861,_0x3c3de9);_0x40e363[_0x5bfbbf(0x302)]=class extends _0x593b66['Disposable']{constructor(_0x40fd47,_0x265bef,_0x1bf9a5,_0x3fafd8){const _0x5ccdb1=_0x5bfbbf;super(),_0x199c2f(this,_0x5ccdb1(0x1d6),new _0x104892[(_0x5ccdb1(0x23b))](_0x555a80['CollaborationStatus'][_0x5ccdb1(0x2aa)])),(this[_0x5ccdb1(0x199)]=_0x40fd47,this[_0x5ccdb1(0x295)]=_0x265bef,this[_0x5ccdb1(0x238)]=_0x1bf9a5,this[_0x5ccdb1(0x2f9)]=_0x3fafd8,this[_0x5ccdb1(0x3d7)](),this['_initStatusListener']());}[_0x5bfbbf(0x1eb)](){const _0x1da011=_0x5bfbbf;this[_0x1da011(0x282)](this['_univerInstanceService']['focused$'][_0x1da011(0x38f)](_0x104892[_0x1da011(0x317)](()=>{const _0x55eff7=_0x1da011,_0x3d0ab5=this[_0x55eff7(0x199)][_0x55eff7(0x31e)]();return _0x3d0ab5?this[_0x55eff7(0x238)]['getCollabEntity$'](_0x3d0ab5['getUnitId']()):_0x104892['of'](null);}),_0x104892[_0x1da011(0x317)](_0x5c742c=>_0x5c742c?_0x5c742c[_0x1da011(0x1fa)]:_0x104892['of'](_0x555a80['CollaborationStatus']['NOT_COLLAB'])))[_0x1da011(0x32c)](_0x34df55=>{const _0x2ba797=_0x1da011;this[_0x2ba797(0x1d6)][_0x2ba797(0x298)](_0x34df55);}));}[_0x5bfbbf(0x3d7)](){const _0x2142cb=_0x5bfbbf;this[_0x2142cb(0x282)](this[_0x2142cb(0x2f9)][_0x2142cb(0x1bc)](_0x2965e2[_0x2142cb(0x1af)]['HEADER_MENU'],()=>_0x2965e2[_0x2142cb(0x198)](_0x4626fb({'status$':this[_0x2142cb(0x1d6)][_0x2142cb(0x2fc)]()}),this[_0x2142cb(0x295)])));}},_0x40e363[_0x5bfbbf(0x302)]=_0x23b958([_0x320833(0x0,_0x593b66[_0x5bfbbf(0x385)]),_0x320833(0x1,_0x593b66['Inject'](_0x593b66[_0x5bfbbf(0x3df)])),_0x320833(0x2,_0x593b66[_0x5bfbbf(0x230)](_0x555a80[_0x5bfbbf(0x3d5)])),_0x320833(0x3,_0x2965e2[_0x5bfbbf(0x33f)])],_0x40e363[_0x5bfbbf(0x302)]);function _0x4626fb(_0x4657a3){const {status$:_0x40bfdb}=_0x4657a3;return function(){const _0x1e375f=_0x43a4;return _0xa33888[_0x1e375f(0x410)](_0xb4e4b9,{'status$':_0x40bfdb});};}var _0x5a7839=Object[_0x5bfbbf(0x3ca)],_0x287b00=(_0x5b7169,_0x1d6bf7,_0x3ca218,_0x53032b)=>{const _0x43246d=_0x5bfbbf;for(var _0x13acdc=_0x53032b>0x1?void 0x0:_0x53032b?_0x5a7839(_0x1d6bf7,_0x3ca218):_0x1d6bf7,_0x30f510=_0x5b7169[_0x43246d(0x3bb)]-0x1,_0x192f5;_0x30f510>=0x0;_0x30f510--)(_0x192f5=_0x5b7169[_0x30f510])&&(_0x13acdc=_0x192f5(_0x13acdc)||_0x13acdc);return _0x13acdc;},_0x1ed766=(_0x4b5e08,_0x41e4f1)=>(_0x12d040,_0x347dc2)=>_0x41e4f1(_0x12d040,_0x347dc2,_0x4b5e08);let _0x1f981a=class extends _0x593b66['Disposable']{constructor(_0x59f395,_0x19de09,_0x47391d,_0x39e1a8,_0x6ae657,_0x47c540){const _0x3f916b=_0x5bfbbf;super(),this['_beforeCloseService']=_0x59f395,this[_0x3f916b(0x1f4)]=_0x19de09,this[_0x3f916b(0x359)]=_0x47391d,this[_0x3f916b(0x335)]=_0x39e1a8,this['_notificationService']=_0x6ae657,this['_localeService']=_0x47c540,this[_0x3f916b(0x18f)](),this[_0x3f916b(0x1d0)]();}[_0x5bfbbf(0x18f)](){this['disposeWithMe'](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x7088cb=_0x43a4;if(this['_localCacheService']['saveTaskMap'][_0x7088cb(0x232)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x27ae65=_0x5bfbbf;this[_0x27ae65(0x282)](this[_0x27ae65(0x359)][_0x27ae65(0x268)][_0x27ae65(0x32c)](_0x4ab99b=>{const _0x4c556f=_0x27ae65;_0x4ab99b['id']===_0x555a80[_0x4c556f(0x1be)][_0x4c556f(0x38a)]&&this[_0x4c556f(0x335)]['show']({'type':_0x526ca7[_0x4c556f(0x2c1)][_0x4c556f(0x37c)],'content':this['_localeService']['t'](_0x4c556f(0x34a))}),_0x4ab99b['id']===_0x555a80[_0x4c556f(0x1be)][_0x4c556f(0x3a9)]&&this[_0x4c556f(0x335)]['show']({'type':_0x526ca7[_0x4c556f(0x2c1)]['Warning'],'content':this['_localeService']['t'](_0x4c556f(0x35d))}),_0x4ab99b['id']===_0x555a80[_0x4c556f(0x1be)][_0x4c556f(0x2bb)]&&this[_0x4c556f(0x3f0)][_0x4c556f(0x1ea)]({'title':this[_0x4c556f(0x2cc)]['t'](_0x4c556f(0x1f1)),'content':this['_localeService']['t'](_0x4c556f(0x1fe)),'type':_0x4c556f(0x1a9),'duration':0x0}),_0x4ab99b['id']===_0x555a80['CollaborationUIEventId']['CONFLICT']&&this['_messageService'][_0x4c556f(0x1ea)]({'type':_0x526ca7[_0x4c556f(0x2c1)]['Error'],'content':this[_0x4c556f(0x2cc)]['t'](_0x4c556f(0x35d))+'('+_0x4ab99b[_0x4c556f(0x262)]+')'}),_0x4ab99b['id']===_0x555a80[_0x4c556f(0x1be)]['JOIN_ROOM_FAILED']&&this[_0x4c556f(0x335)][_0x4c556f(0x1ea)]({'type':_0x526ca7[_0x4c556f(0x2c1)]['Warning'],'content':this['_localeService']['t'](_0x4ab99b[_0x4c556f(0x262)]||'')}),_0x4ab99b['id']===_0x555a80[_0x4c556f(0x1be)][_0x4c556f(0x23a)]&&this[_0x4c556f(0x335)][_0x4c556f(0x1ea)]({'type':_0x526ca7[_0x4c556f(0x2c1)][_0x4c556f(0x37c)],'content':this['_localeService']['t']('session.will-retry')}),_0x4ab99b['id']===_0x555a80[_0x4c556f(0x1be)][_0x4c556f(0x36e)]&&this['_messageService']['show']({'type':_0x526ca7[_0x4c556f(0x2c1)][_0x4c556f(0x1bd)],'content':this[_0x4c556f(0x2cc)]['t'](_0x4c556f(0x28f))}),_0x4ab99b['id']===_0x555a80[_0x4c556f(0x1be)][_0x4c556f(0x323)]&&this[_0x4c556f(0x335)]['show']({'type':_0x526ca7['MessageType'][_0x4c556f(0x1bd)],'content':this[_0x4c556f(0x2cc)]['t']('session.collaboration-timeout')});}));}};_0x1f981a=_0x287b00([_0x1ed766(0x0,_0x2965e2[_0x5bfbbf(0x2f7)]),_0x1ed766(0x1,_0x555a80[_0x5bfbbf(0x3bd)]),_0x1ed766(0x2,_0x593b66['Inject'](_0x555a80['CollaborationUIEventService'])),_0x1ed766(0x3,_0x2965e2[_0x5bfbbf(0x357)]),_0x1ed766(0x4,_0x2965e2[_0x5bfbbf(0x1fd)]),_0x1ed766(0x5,_0x593b66['Inject'](_0x593b66[_0x5bfbbf(0x35a)]))],_0x1f981a);const _0x1b6e59=_0x5bfbbf(0x30f),_0x3e51f8={},_0xb3ebfa=_0x593b66[_0x5bfbbf(0x2de)]('uni.network.url-service');var _0x56eb91=Object[_0x5bfbbf(0x3ca)],_0x10075b=(_0x30e080,_0x316377,_0xcce1b2,_0x31aac4)=>{const _0x426741=_0x5bfbbf;for(var _0x1c2d51=_0x31aac4>0x1?void 0x0:_0x31aac4?_0x56eb91(_0x316377,_0xcce1b2):_0x316377,_0xe63494=_0x30e080[_0x426741(0x3bb)]-0x1,_0x540464;_0xe63494>=0x0;_0xe63494--)(_0x540464=_0x30e080[_0xe63494])&&(_0x1c2d51=_0x540464(_0x1c2d51)||_0x1c2d51);return _0x1c2d51;},_0x4a2d27=(_0x49f576,_0x3afc2f)=>(_0x570749,_0x1852fd)=>_0x3afc2f(_0x570749,_0x1852fd,_0x49f576);_0x40e363[_0x5bfbbf(0x37e)]=class extends _0x593b66[_0x5bfbbf(0x27d)]{constructor(_0x30a5dc,_0x4a26f7,_0x3363e2,_0x1ad4b9,_0x525211){const _0x3b0196=_0x5bfbbf;super(),this['_urlService']=_0x30a5dc,this[_0x3b0196(0x1db)]=_0x4a26f7,this[_0x3b0196(0x2d7)]=_0x3363e2,this[_0x3b0196(0x1fc)]=_0x1ad4b9,_0x525211?_0x525211==null||_0x525211[_0x3b0196(0x38b)]()['then'](()=>this['_init']()):(this['_logService'][_0x3b0196(0x246)](_0x3b0196(0x2cd),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x3b0196(0x1f9)]());}async[_0x5bfbbf(0x1f9)](){const _0x3fd885=_0x5bfbbf,_0x458aac=this['_urlService'][_0x3fd885(0x242)](_0x3fd885(0x40d)),_0xc5a277=this[_0x3fd885(0x1f8)][_0x3fd885(0x242)](_0x3fd885(0x3ce)),_0x5e302f=this[_0x3fd885(0x1f8)][_0x3fd885(0x242)](_0x3fd885(0x1a5));if(!_0x458aac||!_0xc5a277){this[_0x3fd885(0x1db)][_0x3fd885(0x246)](_0x3fd885(0x2cd),_0x3fd885(0x2cf));return;}const _0x50bbef=await this[_0x3fd885(0x1fc)][_0x3fd885(0x3c0)](_0x458aac,Number(_0xc5a277),_0x5e302f);_0x50bbef&&_0x50bbef instanceof _0x593b66[_0x3fd885(0x3f3)]&&this[_0x3fd885(0x2e5)](_0x50bbef);}async[_0x5bfbbf(0x2e5)](_0x59735c){const _0xb1b2c1=_0x5bfbbf;await this['_updateSubUnitFromURLParams'](_0x59735c),_0x59735c[_0xb1b2c1(0x373)][_0xb1b2c1(0x38f)](_0x104892['takeUntil'](this[_0xb1b2c1(0x35f)]))[_0xb1b2c1(0x32c)](_0x1934df=>{const _0x4fd123=_0xb1b2c1;_0x1934df&&this[_0x4fd123(0x22d)](_0x1934df);}),this['_urlService']['urlChange$'][_0xb1b2c1(0x38f)](_0x104892[_0xb1b2c1(0x1ee)](this[_0xb1b2c1(0x35f)]))[_0xb1b2c1(0x32c)](()=>this[_0xb1b2c1(0x2b1)](_0x59735c));}[_0x5bfbbf(0x22d)](_0xd2b5b9,_0x5f391c=!0x1){const _0x32a0d9=_0x5bfbbf,_0x1ec35d=this[_0x32a0d9(0x1f8)][_0x32a0d9(0x242)](_0x32a0d9(0x1a5));_0xd2b5b9[_0x32a0d9(0x3c6)]()!==_0x1ec35d&&this[_0x32a0d9(0x1f8)][_0x32a0d9(0x192)](_0x32a0d9(0x1a5),_0xd2b5b9['getSheetId'](),_0x5f391c);}async[_0x5bfbbf(0x2b1)](_0x4db231){const _0x3c2695=_0x5bfbbf;var _0x30501a;const _0xfdbef4=this[_0x3c2695(0x1f8)][_0x3c2695(0x242)](_0x3c2695(0x1a5));if(!_0xfdbef4||!_0x4db231['getSheetBySheetId'](_0xfdbef4)){const _0x287994=_0x4db231[_0x3c2695(0x36a)]()[0x0],_0xa9196d=_0x4db231[_0x3c2695(0x305)](_0x287994);if(!_0xa9196d)return;this['_updateURLWithCurrentState'](_0xa9196d,!0x0),await this['_commandService']['executeCommand'](_0x51415f[_0x3c2695(0x189)]['id'],{'unitId':_0x4db231['getUnitId'](),'subUnitId':_0x287994});return;}((_0x30501a=_0x4db231['getActiveSheet']())==null?void 0x0:_0x30501a[_0x3c2695(0x3c6)]())!==_0xfdbef4&&await this[_0x3c2695(0x2d7)]['executeCommand'](_0x51415f[_0x3c2695(0x189)]['id'],{'unitId':_0x4db231[_0x3c2695(0x33c)](),'subUnitId':_0xfdbef4});}},_0x40e363['CollaborationDataLoaderController']=_0x10075b([_0x4a2d27(0x0,_0xb3ebfa),_0x4a2d27(0x1,_0x593b66['ILogService']),_0x4a2d27(0x2,_0x593b66[_0x5bfbbf(0x273)]),_0x4a2d27(0x3,_0x593b66[_0x5bfbbf(0x230)](_0x555a80[_0x5bfbbf(0x3f9)])),_0x4a2d27(0x4,_0x593b66['Optional'](_0x53a420[_0x5bfbbf(0x3cb)]))],_0x40e363['CollaborationDataLoaderController']);var _0x45e1f5=Object[_0x5bfbbf(0x3ca)],_0x3d2720=(_0x4c4334,_0x2dbd13,_0x40a8db,_0x325312)=>{const _0x4cad58=_0x5bfbbf;for(var _0xb77956=_0x325312>0x1?void 0x0:_0x325312?_0x45e1f5(_0x2dbd13,_0x40a8db):_0x2dbd13,_0x7f8850=_0x4c4334[_0x4cad58(0x3bb)]-0x1,_0x4eba2c;_0x7f8850>=0x0;_0x7f8850--)(_0x4eba2c=_0x4c4334[_0x7f8850])&&(_0xb77956=_0x4eba2c(_0xb77956)||_0xb77956);return _0xb77956;},_0x43317e=(_0x5d00f0,_0x1ec834)=>(_0x163d28,_0x33135b)=>_0x1ec834(_0x163d28,_0x33135b,_0x5d00f0);let _0x4329a2=class{constructor(_0x1d6f24,_0x4b8b5d,_0x10a3e8){const _0x4e11b3=_0x5bfbbf;this[_0x4e11b3(0x295)]=_0x1d6f24,this[_0x4e11b3(0x404)]=_0x4b8b5d,this[_0x4e11b3(0x2be)]=_0x10a3e8;}[_0x5bfbbf(0x21c)](_0x9b1973){const _0x3da8a1=_0x5bfbbf;this[_0x3da8a1(0x23f)](_0x9b1973),this[_0x3da8a1(0x34b)](_0x9b1973);}[_0x5bfbbf(0x221)](_0x36594b){const _0x2f185b=_0x5bfbbf,{unitID:_0x159272}=_0x36594b,_0x26d2b2=this[_0x2f185b(0x2be)][_0x2f185b(0x236)](_0x159272)[_0x2f185b(0x29e)](_0xca2527[_0x2f185b(0x2a5)]),{redoCache:_0x1ef9d7}=_0x26d2b2['getUndoRedoMutationParamsCache']();if(_0x1ef9d7[_0x2f185b(0x3bb)]===0x0)return _0x36594b;let _0x48f1b3=_0x593b66[_0x2f185b(0x182)][_0x2f185b(0x3af)](_0x36594b[_0x2f185b(0x300)][0x0]);for(let _0x3afe98=0x0;_0x3afe98<_0x1ef9d7[_0x2f185b(0x3bb)];_0x3afe98++){const _0x4ab269={'id':_0x2f185b(0x369),'params':{..._0x1ef9d7[_0x3afe98]}},_0x22385c=this['_transformService'][_0x2f185b(0x285)](_0x48f1b3,_0x4ab269,!0x1);if(_0x5cbb60[_0x2f185b(0x2da)](_0x22385c))throw _0x22385c[_0x2f185b(0x1a9)];_0x48f1b3=_0x22385c[_0x2f185b(0x1c0)];}return{..._0x593b66['Tools'][_0x2f185b(0x3af)](_0x36594b),'mutations':[_0x48f1b3]};}[_0x5bfbbf(0x23f)](_0x165d0d){const _0x103740=_0x5bfbbf,{unitID:_0x42349f}=_0x165d0d,_0x2bdc8d=this['_renderManagerService']['getRenderById'](_0x42349f)['with'](_0xca2527[_0x103740(0x2a5)]),{undoCache:_0x418165,redoCache:_0x1923ed}=_0x2bdc8d[_0x103740(0x3be)]();if(_0x418165[_0x103740(0x3bb)]===0x0||_0x1923ed[_0x103740(0x3bb)]===0x0)return;const _0xf8e77a=[],_0xa37cff=[];let _0x45ee57=_0x593b66[_0x103740(0x182)]['deepClone'](_0x165d0d[_0x103740(0x300)][0x0]),_0x5a99df=_0x593b66[_0x103740(0x182)][_0x103740(0x3af)](_0x165d0d[_0x103740(0x300)][0x0]);for(let _0x146ecc=_0x418165[_0x103740(0x3bb)]-0x1;_0x146ecc>=0x0;_0x146ecc--){const _0x3a6f3d={'id':'doc.mutation.rich-text-editing','params':{..._0x418165[_0x146ecc]}},_0x40234b={'id':_0x103740(0x369),'params':{..._0x1923ed[_0x146ecc]}},_0x2df4f0=this[_0x103740(0x404)][_0x103740(0x285)](_0x45ee57,_0x3a6f3d,!0x1),_0x30fe3a=this[_0x103740(0x404)][_0x103740(0x285)](_0x5a99df,_0x40234b,!0x1);if(_0x5cbb60[_0x103740(0x2da)](_0x2df4f0))throw _0x2df4f0[_0x103740(0x1a9)];if(_0x5cbb60[_0x103740(0x2da)](_0x30fe3a))throw _0x30fe3a['error'];_0xf8e77a[_0x103740(0x188)](_0x2df4f0['m2Prime'][_0x103740(0x37a)]),_0xa37cff[_0x103740(0x188)](_0x30fe3a['m2Prime'][_0x103740(0x37a)]),_0x45ee57=_0x2df4f0[_0x103740(0x1c0)],_0x5a99df=_0x30fe3a[_0x103740(0x1c0)];}_0x2bdc8d[_0x103740(0x2c9)]({'undoCache':_0xf8e77a,'redoCache':_0xa37cff});}[_0x5bfbbf(0x34b)](_0x3b100b){const _0x5d17e1=_0x5bfbbf,{unitID:_0x208591}=_0x3b100b,_0x2784b2=this[_0x5d17e1(0x2be)]['getRenderById'](_0x208591)[_0x5d17e1(0x29e)](_0xca2527['DocIMEInputManagerService']),_0x14fd90=_0x2784b2[_0x5d17e1(0x2f4)]();if(_0x14fd90==null)return;const _0x429572=[{'id':_0x5d17e1(0x369),'params':{'unitId':_0x3b100b[_0x5d17e1(0x20a)],'actions':null,'textRanges':[_0x14fd90]}}],_0x177e4f=this[_0x5d17e1(0x404)]['transformMutationsWithChangeset'](_0x3b100b,_0x429572);if(!_0x5cbb60['isTransformMutationsWithChangesetSuccess'](_0x177e4f))throw _0x177e4f[_0x5d17e1(0x1a9)];const _0x1a7f1b=_0x177e4f[_0x5d17e1(0x30b)][0x0][_0x5d17e1(0x37a)]['textRanges'];Array[_0x5d17e1(0x3a5)](_0x1a7f1b)&&_0x1a7f1b[_0x5d17e1(0x3bb)]&&_0x2784b2[_0x5d17e1(0x34f)](_0x1a7f1b[0x0]);}};_0x4329a2=_0x3d2720([_0x43317e(0x0,_0x593b66['Inject'](_0x593b66[_0x5bfbbf(0x3df)])),_0x43317e(0x1,_0x5cbb60[_0x5bfbbf(0x277)]),_0x43317e(0x2,_0x302994['IRenderManagerService'])],_0x4329a2);var _0x275346=Object[_0x5bfbbf(0x3ca)],_0xb1807b=(_0x5c01c0,_0x104296,_0x15b48a,_0x160432)=>{const _0x42f9d9=_0x5bfbbf;for(var _0x4b0417=_0x160432>0x1?void 0x0:_0x160432?_0x275346(_0x104296,_0x15b48a):_0x104296,_0x3cb1ac=_0x5c01c0[_0x42f9d9(0x3bb)]-0x1,_0x9274ae;_0x3cb1ac>=0x0;_0x3cb1ac--)(_0x9274ae=_0x5c01c0[_0x3cb1ac])&&(_0x4b0417=_0x9274ae(_0x4b0417)||_0x4b0417);return _0x4b0417;},_0x158244=(_0x3b4310,_0x49bc03)=>(_0x48b32f,_0x2e74fa)=>_0x49bc03(_0x48b32f,_0x2e74fa,_0x3b4310);let _0x9f62cb=class{constructor(_0x13587e,_0x176735,_0x1e8666){const _0x58d0fa=_0x5bfbbf;this[_0x58d0fa(0x295)]=_0x13587e,this[_0x58d0fa(0x404)]=_0x176735,this[_0x58d0fa(0x384)]=_0x1e8666;}[_0x5bfbbf(0x406)](_0x1ad3de){const _0x189918=_0x5bfbbf;this[_0x189918(0x3d9)](_0x1ad3de);}[_0x5bfbbf(0x221)](_0x223ac6){const _0x2fb099=_0x5bfbbf,{unitID:_0xba87a4}=_0x223ac6,{collaboration:_0x1dd43f}=this['_docStateChangeManagerService'][_0x2fb099(0x2d8)](_0xba87a4);if(_0x1dd43f[_0x2fb099(0x3bb)]===0x0)return _0x223ac6;let _0x10dbf2=_0x593b66['Tools'][_0x2fb099(0x3af)](_0x223ac6['mutations'][0x0]);for(let _0x5383f9=0x0;_0x5383f9<_0x1dd43f['length'];_0x5383f9++){const _0x48a81d={'id':_0x2fb099(0x369),'params':{'unitId':_0x1dd43f[_0x5383f9][_0x2fb099(0x3b7)],..._0x1dd43f[_0x5383f9]['redoState']}},_0x18a0fb=this[_0x2fb099(0x404)][_0x2fb099(0x285)](_0x10dbf2,_0x48a81d,!0x1);if(_0x5cbb60[_0x2fb099(0x2da)](_0x18a0fb))throw _0x18a0fb['error'];_0x10dbf2=_0x18a0fb['m1Prime'];}return{..._0x593b66[_0x2fb099(0x182)][_0x2fb099(0x3af)](_0x223ac6),'mutations':[_0x10dbf2]};}[_0x5bfbbf(0x3d9)](_0x436bd8){const _0x1ecfa5=_0x5bfbbf,{unitID:_0x373557}=_0x436bd8,{history:_0x112ed5,collaboration:_0xd4ff35}=this['_docStateChangeManagerService']['getStateCache'](_0x373557);if(_0x112ed5['length']===0x0&&_0xd4ff35[_0x1ecfa5(0x3bb)]===0x0)return;const _0x2372aa=[],_0x26f446=[];let _0x1e3106=_0x593b66['Tools'][_0x1ecfa5(0x3af)](_0x436bd8[_0x1ecfa5(0x300)][0x0]),_0x2392b4=_0x593b66[_0x1ecfa5(0x182)][_0x1ecfa5(0x3af)](_0x436bd8[_0x1ecfa5(0x300)][0x0]);for(let _0x181da1=_0x112ed5['length']-0x1;_0x181da1>=0x0;_0x181da1--){const _0x34b3ee={'id':_0x1ecfa5(0x369),'params':{'unitId':_0x112ed5[_0x181da1][_0x1ecfa5(0x3b7)],..._0x112ed5[_0x181da1][_0x1ecfa5(0x37f)]}},_0x140233={'id':_0x1ecfa5(0x369),'params':{'unitId':_0x112ed5[_0x181da1][_0x1ecfa5(0x3b7)],..._0x112ed5[_0x181da1][_0x1ecfa5(0x2e1)]}},_0x884787=this[_0x1ecfa5(0x404)][_0x1ecfa5(0x285)](_0x1e3106,_0x34b3ee,!0x1),_0x3b6273=this['_transformService'][_0x1ecfa5(0x285)](_0x2392b4,_0x140233,!0x1);if(_0x5cbb60[_0x1ecfa5(0x2da)](_0x884787))throw _0x884787[_0x1ecfa5(0x1a9)];if(_0x5cbb60[_0x1ecfa5(0x2da)](_0x3b6273))throw _0x3b6273[_0x1ecfa5(0x1a9)];_0x2372aa[_0x1ecfa5(0x188)]({..._0x112ed5[_0x181da1],'undoState':_0x884787['m2Prime']['params'],'redoState':_0x3b6273[_0x1ecfa5(0x30b)][_0x1ecfa5(0x37a)]}),_0x1e3106=_0x884787['m1Prime'],_0x2392b4=_0x3b6273[_0x1ecfa5(0x1c0)];}_0x1e3106=_0x593b66[_0x1ecfa5(0x182)][_0x1ecfa5(0x3af)](_0x436bd8[_0x1ecfa5(0x300)][0x0]),_0x2392b4=_0x593b66[_0x1ecfa5(0x182)][_0x1ecfa5(0x3af)](_0x436bd8[_0x1ecfa5(0x300)][0x0]);for(let _0x3dced8=_0xd4ff35[_0x1ecfa5(0x3bb)]-0x1;_0x3dced8>=0x0;_0x3dced8--){const _0x3ec4d6={'id':_0x1ecfa5(0x369),'params':{'unitId':_0xd4ff35[_0x3dced8][_0x1ecfa5(0x3b7)],..._0xd4ff35[_0x3dced8][_0x1ecfa5(0x37f)]}},_0x4d6e31={'id':_0x1ecfa5(0x369),'params':{'unitId':_0xd4ff35[_0x3dced8][_0x1ecfa5(0x3b7)],..._0xd4ff35[_0x3dced8][_0x1ecfa5(0x2e1)]}},_0xd82286=this[_0x1ecfa5(0x404)][_0x1ecfa5(0x285)](_0x1e3106,_0x3ec4d6,!0x1),_0x325a5e=this[_0x1ecfa5(0x404)]['transformMutation'](_0x2392b4,_0x4d6e31,!0x1);if(_0x5cbb60[_0x1ecfa5(0x2da)](_0xd82286))throw _0xd82286['error'];if(_0x5cbb60['isTransformMutationFailure'](_0x325a5e))throw _0x325a5e[_0x1ecfa5(0x1a9)];_0x26f446[_0x1ecfa5(0x188)]({..._0xd4ff35[_0x3dced8],'undoState':_0xd82286['m2Prime'][_0x1ecfa5(0x37a)],'redoState':_0x325a5e['m2Prime']['params']}),_0x1e3106=_0xd82286[_0x1ecfa5(0x1c0)],_0x2392b4=_0x325a5e[_0x1ecfa5(0x1c0)];}this['_docStateChangeManagerService'][_0x1ecfa5(0x28c)](_0x373557,{'history':_0x2372aa,'collaboration':_0x26f446});}};_0x9f62cb=_0xb1807b([_0x158244(0x0,_0x593b66[_0x5bfbbf(0x230)](_0x593b66[_0x5bfbbf(0x3df)])),_0x158244(0x1,_0x5cbb60[_0x5bfbbf(0x277)]),_0x158244(0x2,_0x593b66['Inject'](_0xca2527[_0x5bfbbf(0x184)]))],_0x9f62cb);var _0x463c92=Object[_0x5bfbbf(0x3ca)],_0x28dfff=(_0xe33bd7,_0x57b969,_0xe161cc,_0x29b012)=>{const _0xae4217=_0x5bfbbf;for(var _0x2faf12=_0x29b012>0x1?void 0x0:_0x29b012?_0x463c92(_0x57b969,_0xe161cc):_0x57b969,_0x4c6698=_0xe33bd7[_0xae4217(0x3bb)]-0x1,_0x1cc96f;_0x4c6698>=0x0;_0x4c6698--)(_0x1cc96f=_0xe33bd7[_0x4c6698])&&(_0x2faf12=_0x1cc96f(_0x2faf12)||_0x2faf12);return _0x2faf12;},_0x189c22=(_0x391469,_0x307e6a)=>(_0x5df72a,_0xc089ca)=>_0x307e6a(_0x5df72a,_0xc089ca,_0x391469);let _0x24865b=class{constructor(_0x3a04d7,_0xeff133){const _0x1cd5f8=_0x5bfbbf;this['_injector']=_0x3a04d7,this[_0x1cd5f8(0x404)]=_0xeff133;}['transformSelections'](_0x301804){const _0x51e9a1=_0x5bfbbf;var _0x4d770d;const _0x11076a=this[_0x51e9a1(0x295)][_0x51e9a1(0x360)](_0x54676e[_0x51e9a1(0x2b7)]),_0x30bad2=(_0x4d770d=_0x11076a[_0x51e9a1(0x1e4)]())!=null?_0x4d770d:[];if(_0x30bad2[_0x51e9a1(0x3bb)]===0x0)return;const _0x4e64b8=_0x301804[_0x51e9a1(0x20a)],_0x169353=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4e64b8,'actions':null,'textRanges':_0x30bad2}}],_0x218c53=this['_transformService'][_0x51e9a1(0x19e)](_0x301804,_0x169353);if(!_0x5cbb60[_0x51e9a1(0x30d)](_0x218c53))throw _0x218c53[_0x51e9a1(0x1a9)];const _0x5a244a=_0x218c53['m2Prime'][0x0]['params'][_0x51e9a1(0x1b5)];Array['isArray'](_0x5a244a)&&_0x5a244a[_0x51e9a1(0x3bb)]&&_0x11076a[_0x51e9a1(0x3e2)](_0x5a244a,{'unitId':_0x4e64b8,'subUnitId':_0x4e64b8},!0x1);}};_0x24865b=_0x28dfff([_0x189c22(0x0,_0x593b66['Inject'](_0x593b66[_0x5bfbbf(0x3df)])),_0x189c22(0x1,_0x5cbb60[_0x5bfbbf(0x277)])],_0x24865b);var _0x382410=Object[_0x5bfbbf(0x3ca)],_0x5b207b=(_0x24faf2,_0x231d24,_0x342111,_0x316a86)=>{for(var _0x4cda3b=_0x316a86>0x1?void 0x0:_0x316a86?_0x382410(_0x231d24,_0x342111):_0x231d24,_0x4faada=_0x24faf2['length']-0x1,_0x918a73;_0x4faada>=0x0;_0x4faada--)(_0x918a73=_0x24faf2[_0x4faada])&&(_0x4cda3b=_0x918a73(_0x4cda3b)||_0x4cda3b);return _0x4cda3b;},_0x2d7293=(_0x1627d9,_0x1d18b0)=>(_0x33197a,_0x3d5cff)=>_0x1d18b0(_0x33197a,_0x3d5cff,_0x1627d9);let _0x19c564=class extends _0x593b66[_0x5bfbbf(0x289)]{constructor(_0x25ba80,_0xd37a38,_0x465238,_0x5a65f8,_0x4a8e46,_0x4eb950,_0xfc41d,_0x44b324){const _0x2d95f6=_0x5bfbbf;super(),_0x199c2f(this,_0x2d95f6(0x1d6),new _0x104892[(_0x2d95f6(0x23b))](_0x555a80['CollaborationStatus'][_0x2d95f6(0x2aa)])),(this[_0x2d95f6(0x384)]=_0x25ba80,this['_collaborationController']=_0xd37a38,this[_0x2d95f6(0x346)]=_0x465238,this['_docTransformStateCacheService']=_0x5a65f8,this[_0x2d95f6(0x315)]=_0x4a8e46,this['_docSyncEditingCollabCursorService']=_0x4eb950,this['_messageService']=_0xfc41d,this[_0x2d95f6(0x2cc)]=_0x44b324,this['_initEntityListener']());}[_0x5bfbbf(0x2f0)](){const _0x4f833e=_0x5bfbbf;this[_0x4f833e(0x282)](this[_0x4f833e(0x238)][_0x4f833e(0x408)][_0x4f833e(0x32c)](_0xe6cca7=>{const _0x23ca3f=_0x4f833e,_0x575a52=this[_0x23ca3f(0x384)][_0x23ca3f(0x212)][_0x23ca3f(0x32c)](_0x2279c4=>{const _0x40a712=_0x23ca3f;if(_0x2279c4==null)return;const {unitId:_0x315803,redoState:_0x70021a,commandId:_0x5f8be3}=_0x2279c4;if(_0x315803!==_0xe6cca7[_0x40a712(0x20a)])return;const _0x435cf8={'id':_0x5f8be3,'type':_0x593b66[_0x40a712(0x1ac)][_0x40a712(0x259)],'params':{'unitId':_0x315803,'actions':_0x70021a[_0x40a712(0x40a)],'textRanges':null}};_0xe6cca7[_0x40a712(0x1f2)](_0x435cf8);});if(_0xe6cca7[_0x23ca3f(0x282)](_0x575a52),_0xe6cca7 instanceof _0x555a80[_0x23ca3f(0x2ae)]){const _0x439695={'onTransformIME':_0x78b662=>this[_0x23ca3f(0x346)][_0x23ca3f(0x21c)](_0x78b662),'onTransformState':_0x57abcb=>this['_docTransformStateCacheService'][_0x23ca3f(0x406)](_0x57abcb),'onTransformSelections':_0x5170d6=>this[_0x23ca3f(0x315)][_0x23ca3f(0x407)](_0x5170d6),'onSyncEditingCollabCursor':_0x3b433b=>this['_docSyncEditingCollabCursorService'][_0x23ca3f(0x39d)](_0x3b433b),'onTransformRemoteChangesetByIMECache':_0x248633=>this[_0x23ca3f(0x346)][_0x23ca3f(0x221)](_0x248633),'onTransformRemoteChangesetByStateCache':_0x25c9d5=>this[_0x23ca3f(0x351)][_0x23ca3f(0x221)](_0x25c9d5)};_0xe6cca7[_0x23ca3f(0x208)](_0x439695);}}));}};_0x19c564=_0x5b207b([_0x2d7293(0x0,_0x593b66[_0x5bfbbf(0x230)](_0xca2527['DocStateChangeManagerService'])),_0x2d7293(0x1,_0x593b66[_0x5bfbbf(0x230)](_0x555a80[_0x5bfbbf(0x3d5)])),_0x2d7293(0x2,_0x593b66[_0x5bfbbf(0x230)](_0x4329a2)),_0x2d7293(0x3,_0x593b66['Inject'](_0x9f62cb)),_0x2d7293(0x4,_0x593b66[_0x5bfbbf(0x230)](_0x24865b)),_0x2d7293(0x5,_0x593b66[_0x5bfbbf(0x230)](_0x7e6def)),_0x2d7293(0x6,_0x2965e2[_0x5bfbbf(0x357)]),_0x2d7293(0x7,_0x593b66[_0x5bfbbf(0x230)](_0x593b66[_0x5bfbbf(0x35a)]))],_0x19c564);var _0x1acc0b=Object[_0x5bfbbf(0x3ca)],_0x4e3fb8=(_0x4b3211,_0x25f17e,_0x5bf5c9,_0x3f357d)=>{const _0x5e94d2=_0x5bfbbf;for(var _0x168f26=_0x3f357d>0x1?void 0x0:_0x3f357d?_0x1acc0b(_0x25f17e,_0x5bf5c9):_0x25f17e,_0x4970ee=_0x4b3211[_0x5e94d2(0x3bb)]-0x1,_0x4c7f47;_0x4970ee>=0x0;_0x4970ee--)(_0x4c7f47=_0x4b3211[_0x4970ee])&&(_0x168f26=_0x4c7f47(_0x168f26)||_0x168f26);return _0x168f26;},_0x5b1d23=(_0x7d9a1d,_0x524154)=>(_0x1bf048,_0x5717d1)=>_0x524154(_0x1bf048,_0x5717d1,_0x7d9a1d);let _0x503591=class extends _0x593b66[_0x5bfbbf(0x289)]{constructor(_0x1ed857,_0x2fac53,_0x17eed1){const _0x3e0079=_0x5bfbbf;super(),_0x199c2f(this,_0x3e0079(0x26b),new Map()),_0x199c2f(this,_0x3e0079(0x219),new Map()),_0x199c2f(this,'_disabled',!0x1),(this[_0x3e0079(0x35b)]=_0x1ed857,this[_0x3e0079(0x339)]=_0x2fac53,this['_revisionService']=_0x17eed1);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x5bfbbf(0x203)](){const _0x350764=_0x5bfbbf;this[_0x350764(0x387)]=!0x1;}get[_0x5bfbbf(0x1ae)](){return this['_saveTaskMap'];}['dispose'](){const _0x429cf0=_0x5bfbbf;this[_0x429cf0(0x252)]()[_0x429cf0(0x1de)](()=>super[_0x429cf0(0x202)]());}async[_0x5bfbbf(0x415)](_0x1c9acb){const _0x1eac78=_0x5bfbbf;return this['_disabled']?null:this[_0x1eac78(0x339)][_0x1eac78(0x1e1)](_0x555a80[_0x1eac78(0x2d0)](_0x1c9acb));}async[_0x5bfbbf(0x374)](_0x2ae3af,_0x4de574){const _0x1eae5b=_0x5bfbbf;return!!this[_0x1eae5b(0x339)][_0x1eae5b(0x330)](_0x2ae3af,_0x4de574);}[_0x5bfbbf(0x22f)](_0x283758,_0x4eed53,_0x2cf063,_0x16b977){const _0x26c096=_0x5bfbbf,_0x1d6167=this[_0x26c096(0x3c4)][_0x26c096(0x30c)](_0x283758);this[_0x26c096(0x26b)][_0x26c096(0x1d5)](_0x283758,{'unitID':_0x283758,'type':_0x4eed53,'awaitingChangeset':_0x2cf063,'mutations':_0x16b977,'rev':_0x1d6167}),this[_0x26c096(0x219)]['has'](_0x283758)||this['_scheduleSaving'](_0x283758);}[_0x5bfbbf(0x3b5)](_0xfa1e4){const _0x49a511=_0x5bfbbf,_0x4839df=this[_0x49a511(0x223)]();_0x4839df===0x0?this[_0x49a511(0x288)](_0xfa1e4):this['_saveTaskMap'][_0x49a511(0x1d5)](_0xfa1e4,setTimeout(()=>this['_saveCache'](_0xfa1e4),_0x4839df));}[_0x5bfbbf(0x223)](){const _0xee0226=_0x5bfbbf;var _0x24398a;return(_0x24398a=this[_0xee0226(0x35b)][_0xee0226(0x28a)](_0x555a80[_0xee0226(0x25f)]))!=null?_0x24398a:_0x555a80[_0xee0226(0x1ba)];}[_0x5bfbbf(0x288)](_0xe6da8e){const _0x4f9292=_0x5bfbbf,_0x2854c7=this[_0x4f9292(0x219)][_0x4f9292(0x360)](_0xe6da8e);return _0x2854c7!==void 0x0&&window[_0x4f9292(0x32a)](_0x2854c7),this[_0x4f9292(0x339)]['setItem'](_0x555a80[_0x4f9292(0x2d0)](_0xe6da8e),this[_0x4f9292(0x26b)][_0x4f9292(0x360)](_0xe6da8e))[_0x4f9292(0x1de)](()=>this[_0x4f9292(0x219)][_0x4f9292(0x3a7)](_0xe6da8e));}async['exhaustSavingTask'](){const _0x2c5b65=_0x5bfbbf,_0x3a8990=[];this[_0x2c5b65(0x219)][_0x2c5b65(0x3b2)]((_0x55782d,_0x542881)=>{const _0x41d187=_0x2c5b65;window[_0x41d187(0x32a)](_0x55782d),_0x3a8990[_0x41d187(0x375)](this[_0x41d187(0x288)](_0x542881)[_0x41d187(0x1de)](()=>{const _0x393c82=_0x41d187;this[_0x393c82(0x219)][_0x393c82(0x3a7)](_0x542881);}));}),await Promise[_0x2c5b65(0x2f1)](_0x3a8990);}};_0x503591=_0x4e3fb8([_0x5b1d23(0x0,_0x593b66[_0x5bfbbf(0x1cf)]),_0x5b1d23(0x1,_0x593b66[_0x5bfbbf(0x344)]),_0x5b1d23(0x2,_0x593b66[_0x5bfbbf(0x230)](_0x5cbb60['RevisionService']))],_0x503591);class _0xd7d9ab extends _0x593b66[_0x5bfbbf(0x27d)]{constructor(){const _0x294f78=_0x5bfbbf;super(),_0x199c2f(this,'urlChange$'),this[_0x294f78(0x356)]=_0x104892[_0x294f78(0x25b)](window,_0x294f78(0x29d))['pipe'](_0x104892['takeUntil'](this[_0x294f78(0x35f)]),_0x104892['shareReplay'](0x1),_0x104892[_0x294f78(0x40f)](void 0x0));}['setParam'](_0x2c4dc0,_0x2d1f10,_0x33efa2=!0x1){const _0x1d5e30=_0x5bfbbf,_0xdaba97=new URL(window[_0x1d5e30(0x2f5)][_0x1d5e30(0x1c9)]);_0xdaba97[_0x1d5e30(0x24c)]['set'](_0x2c4dc0,_0x2d1f10),_0x33efa2?window[_0x1d5e30(0x3a3)][_0x1d5e30(0x201)]('','',_0xdaba97[_0x1d5e30(0x2e2)]()):window['history'][_0x1d5e30(0x3bc)]('','',_0xdaba97[_0x1d5e30(0x2e2)]());}[_0x5bfbbf(0x39a)](_0x316c73,_0x388649=!0x1){const _0x24d631=_0x5bfbbf,_0x5f1355=new URL(window[_0x24d631(0x2f5)][_0x24d631(0x1c9)]);_0x5f1355['searchParams']['delete'](_0x316c73),_0x388649?window[_0x24d631(0x3a3)]['replaceState']('','',_0x5f1355[_0x24d631(0x2e2)]()):window['history'][_0x24d631(0x3bc)]('','',_0x5f1355['toString']());}[_0x5bfbbf(0x242)](_0x5a4eb7){const _0x4417c1=_0x5bfbbf;var _0x254321;return(_0x254321=new URL(window[_0x4417c1(0x2f5)][_0x4417c1(0x1c9)])[_0x4417c1(0x24c)]['get'](_0x5a4eb7))!=null?_0x254321:void 0x0;}}var _0x29c056=Object['defineProperty'],_0x7a654f=Object[_0x5bfbbf(0x3ca)],_0x22e38f=(_0x1c7ed9,_0x3b48fe,_0x3ac825)=>_0x3b48fe in _0x1c7ed9?_0x29c056(_0x1c7ed9,_0x3b48fe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ac825}):_0x1c7ed9[_0x3b48fe]=_0x3ac825,_0x2df702=(_0x14cdb0,_0x44287f,_0x54637b,_0x3f65f6)=>{const _0x2247a9=_0x5bfbbf;for(var _0x35c5d3=_0x3f65f6>0x1?void 0x0:_0x3f65f6?_0x7a654f(_0x44287f,_0x54637b):_0x44287f,_0xfcd760=_0x14cdb0[_0x2247a9(0x3bb)]-0x1,_0xf54d1e;_0xfcd760>=0x0;_0xfcd760--)(_0xf54d1e=_0x14cdb0[_0xfcd760])&&(_0x35c5d3=_0xf54d1e(_0x35c5d3)||_0x35c5d3);return _0x35c5d3;},_0x179ae8=(_0x300c46,_0x5c2e14)=>(_0x2de33d,_0x4a827e)=>_0x5c2e14(_0x2de33d,_0x4a827e,_0x300c46),_0x227bb6=(_0x7ac1e6,_0x51b46b,_0x532566)=>_0x22e38f(_0x7ac1e6,_0x51b46b+'',_0x532566);const _0x506926=_0x5bfbbf(0x3f2);_0x40e363[_0x5bfbbf(0x1a0)]=class extends _0x593b66[_0x5bfbbf(0x239)]{constructor(_0x1489bc=_0x3e51f8,_0x51e429,_0x3a4944,_0x11f091){const _0x31421d=_0x5bfbbf;super(),this['_config']=_0x1489bc,this['_renderManagerService']=_0x51e429,this[_0x31421d(0x295)]=_0x3a4944,this[_0x31421d(0x35b)]=_0x11f091;const {..._0x593116}=_0x593b66[_0x31421d(0x3a6)]({},_0x3e51f8,this[_0x31421d(0x3de)]);this[_0x31421d(0x35b)][_0x31421d(0x237)](_0x1b6e59,_0x593116);}[_0x5bfbbf(0x402)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x5bfbbf(0x38e)](){this['_registerRenderDependencies']();}[_0x5bfbbf(0x3c2)](){const _0x5c9ebb=_0x5bfbbf;var _0x4365c5;const _0x5a6651=[[_0x495577],[_0x24865b],[_0x4329a2],[_0x9f62cb],[_0x7e6def],[_0xb3ebfa,{'useClass':_0xd7d9ab}],[_0x5a7b97[_0x5c9ebb(0x2ed)],{'useClass':_0x5a7b97['WebSocketService']}],[_0x555a80[_0x5c9ebb(0x3bd)],{'useClass':_0x503591}],[_0x40e363[_0x5c9ebb(0x302)]],[_0x19c564],[_0x1f981a],[_0x5329c1],[_0x220228],[_0x40e363[_0x5c9ebb(0x37e)]]];_0x593b66[_0x5c9ebb(0x3dd)](this[_0x5c9ebb(0x295)],_0x593b66['mergeOverrideWithDependencies'](_0x5a6651,(_0x4365c5=this['_config'])==null?void 0x0:_0x4365c5[_0x5c9ebb(0x191)]));}['_registerRenderDependencies'](){const _0x40ed19=_0x5bfbbf;this[_0x40ed19(0x282)](this['_renderManagerService'][_0x40ed19(0x3ed)](_0x593b66['UniverInstanceType'][_0x40ed19(0x3ee)],[_0x3a6393])),this[_0x40ed19(0x282)](this[_0x40ed19(0x2be)][_0x40ed19(0x3ed)](_0x593b66[_0x40ed19(0x1d1)][_0x40ed19(0x21b)],[_0x462469]));}[_0x5bfbbf(0x1d8)](){const _0x496cf9=_0x5bfbbf;_0x593b66[_0x496cf9(0x25c)](this[_0x496cf9(0x295)],[[_0x5329c1],[_0x40e363[_0x496cf9(0x302)]],[_0x19c564],[_0x1f981a],[_0x40e363[_0x496cf9(0x37e)]]]);}},_0x227bb6(_0x40e363[_0x5bfbbf(0x1a0)],_0x5bfbbf(0x3d0),_0x506926),_0x40e363[_0x5bfbbf(0x1a0)]=_0x2df702([_0x593b66['DependentOn'](_0x555a80[_0x5bfbbf(0x18a)]),_0x179ae8(0x1,_0x302994['IRenderManagerService']),_0x179ae8(0x2,_0x593b66[_0x5bfbbf(0x230)](_0x593b66[_0x5bfbbf(0x3df)])),_0x179ae8(0x3,_0x593b66['IConfigService'])],_0x40e363[_0x5bfbbf(0x1a0)]);var _0x41cd8e=Object[_0x5bfbbf(0x3ca)],_0x267ae4=(_0x13fc0d,_0x2656dc,_0x3fb3bd,_0x121763)=>{const _0x39262f=_0x5bfbbf;for(var _0x172560=_0x121763>0x1?void 0x0:_0x121763?_0x41cd8e(_0x2656dc,_0x3fb3bd):_0x2656dc,_0x44c484=_0x13fc0d[_0x39262f(0x3bb)]-0x1,_0x4c012d;_0x44c484>=0x0;_0x44c484--)(_0x4c012d=_0x13fc0d[_0x44c484])&&(_0x172560=_0x4c012d(_0x172560)||_0x172560);return _0x172560;},_0xedf7f0=(_0x3b7746,_0x543678)=>(_0x5d7a78,_0x17dd6a)=>_0x543678(_0x5d7a78,_0x17dd6a,_0x3b7746);_0x40e363[_0x5bfbbf(0x272)]=class extends _0x555a80[_0x5bfbbf(0x3e1)]{constructor(_0x49e38f,_0x4e327e,_0x1c26c6,_0x47bb7b,_0x1981e2){super(_0x49e38f,_0x4e327e,_0x1c26c6,_0x47bb7b,_0x1981e2);}async[_0x5bfbbf(0x299)](_0x1eea46){const _0x30ff05=_0x5bfbbf,_0x78be94=await this[_0x30ff05(0x21a)](),_0x2bf950=this['_createSocketURL'](_0x1eea46,_0x78be94);return this[_0x30ff05(0x1dd)](_0x2bf950);}[_0x5bfbbf(0x1e7)](_0x563c8e,_0x6b58d3){const _0x7202c2=_0x5bfbbf,_0x46be9e=typeof window>'u'?new URL(_0x563c8e):new URL(_0x563c8e,window[_0x7202c2(0x2f5)][_0x7202c2(0x3cd)]);_0x46be9e['searchParams'][_0x7202c2(0x1d5)](_0x7202c2(0x3d8),_0x6b58d3);const _0x116336=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x7202c2(0x2f5)][_0x7202c2(0x328)]);return _0x116336[_0x7202c2(0x360)]('runId')&&_0x46be9e[_0x7202c2(0x24c)]['set'](_0x7202c2(0x411),_0x116336['get'](_0x7202c2(0x411))),_0x46be9e['toString']();}async[_0x5bfbbf(0x21a)](){const _0x460bda=_0x5bfbbf;var _0x1d3f4d,_0x55b91a,_0x1d6154;const _0x43d7da=this[_0x460bda(0x35b)][_0x460bda(0x28a)](_0x555a80[_0x460bda(0x1b9)]),_0x41f6dc=(_0x1d3f4d=_0x43d7da==null?void 0x0:_0x43d7da[_0x460bda(0x1e5)])!=null?_0x1d3f4d:_0x555a80['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x1d6154=(_0x55b91a=(await this[_0x460bda(0x260)][_0x460bda(0x360)](_0x41f6dc,{'headers':{'Content-Type':_0x460bda(0x353)}}))[_0x460bda(0x22c)])==null?void 0x0:_0x55b91a['ticket'])!=null?_0x1d6154:'';}},_0x40e363[_0x5bfbbf(0x272)]=_0x267ae4([_0xedf7f0(0x0,_0x593b66[_0x5bfbbf(0x230)](_0x593b66[_0x5bfbbf(0x3df)])),_0xedf7f0(0x1,_0x593b66[_0x5bfbbf(0x230)](_0x5a7b97[_0x5bfbbf(0x1d4)])),_0xedf7f0(0x2,_0x593b66[_0x5bfbbf(0x1cf)]),_0xedf7f0(0x3,_0x593b66[_0x5bfbbf(0x40b)]),_0xedf7f0(0x4,_0x5cbb60['ISnapshotServerService'])],_0x40e363[_0x5bfbbf(0x272)]);const _0x50e7e2=0x7530,_0x5ee22a='ACTIVE_UNIT_EVENT_CHANNEL';class _0x255dd2 extends _0x593b66['Disposable']{constructor(){const _0x41c2ad=_0x5bfbbf;super(),_0x199c2f(this,_0x41c2ad(0x2b9),_0x593b66[_0x41c2ad(0x214)]()),_0x199c2f(this,'_selfUnitIDs',new Set()),_0x199c2f(this,_0x41c2ad(0x264),new Map()),_0x199c2f(this,_0x41c2ad(0x417),null),_0x199c2f(this,_0x41c2ad(0x1c7),new Map()),_0x199c2f(this,_0x41c2ad(0x2fe),new Map()),this[_0x41c2ad(0x1f9)]();}[_0x5bfbbf(0x202)](){const _0x472664=_0x5bfbbf;super[_0x472664(0x202)](),this[_0x472664(0x1c7)][_0x472664(0x3b2)]((_0x2bced9,_0x39c46d)=>this['_removeClearOtherTimer'](_0x39c46d)),this[_0x472664(0x417)]&&window[_0x472664(0x1ab)](this[_0x472664(0x417)]);}[_0x5bfbbf(0x3f5)](_0xf88575){const _0x35e6e3=_0x5bfbbf;return this[_0x35e6e3(0x22a)](_0xf88575)[_0x35e6e3(0x38f)](_0x104892[_0x35e6e3(0x2b4)]());}['editingUnit'](_0x1d5957){const _0x5b6b96=_0x5bfbbf;this[_0x5b6b96(0x251)][_0x5b6b96(0x232)]===0x0&&this[_0x5b6b96(0x27c)](),this['_selfUnitIDs'][_0x5b6b96(0x313)](_0x1d5957),this[_0x5b6b96(0x243)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x1d5957],'isForwarded':!0x1});}[_0x5bfbbf(0x296)](_0x3bffa8){const _0x46aab9=_0x5bfbbf;this[_0x46aab9(0x251)]['delete'](_0x3bffa8),this['_selfUnitIDs'][_0x46aab9(0x232)]===0x0&&this[_0x46aab9(0x417)]&&window[_0x46aab9(0x1ab)](this[_0x46aab9(0x417)]);}[_0x5bfbbf(0x1f9)](){const _0x23b6a2=_0x5bfbbf;this[_0x23b6a2(0x282)](_0x593b66[_0x23b6a2(0x226)](_0x104892[_0x23b6a2(0x25b)](window,_0x23b6a2(0x3a8))[_0x23b6a2(0x32c)](_0x1327cd=>{const _0x4cfa56=_0x23b6a2;if(_0x1327cd[_0x4cfa56(0x2bd)]!==_0x5ee22a||!_0x1327cd[_0x4cfa56(0x350)])return;const _0x27dce0=JSON[_0x4cfa56(0x403)](_0x1327cd[_0x4cfa56(0x350)]);this[_0x4cfa56(0x254)](_0x27dce0);}))),window[_0x23b6a2(0x31f)](_0x23b6a2(0x183),()=>this[_0x23b6a2(0x243)]({'type':0x1,'memberID':this[_0x23b6a2(0x2b9)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0x124cab){const _0x463b03=_0x5bfbbf;switch(_0x124cab['type']){case 0x0:this[_0x463b03(0x1aa)](_0x124cab);break;case 0x1:this[_0x463b03(0x1ec)](_0x124cab);break;case 0x2:this[_0x463b03(0x367)](_0x124cab);break;}}[_0x5bfbbf(0x1aa)](_0x3546b){const _0x28b01d=_0x5bfbbf,{unitIDs:_0x5d825f,memberID:_0x44220d,isForwarded:_0x49819a}=_0x3546b;_0x5d825f[_0x28b01d(0x3b2)](_0x49bb9d=>{const _0x4f8f2d=_0x28b01d;if(!_0x49819a&&this['_unitOnClients'][_0x4f8f2d(0x368)](_0x49bb9d)&&this[_0x4f8f2d(0x22a)](_0x49bb9d)[_0x4f8f2d(0x298)](_0x555a80['UnitStatus'][_0x4f8f2d(0x181)]),!this['_unitOnClients'][_0x4f8f2d(0x368)](_0x49bb9d)||!this[_0x4f8f2d(0x264)][_0x4f8f2d(0x360)](_0x49bb9d)[_0x4f8f2d(0x368)](_0x44220d)){const _0x59d0e8=this['_unitOnClients'][_0x4f8f2d(0x360)](_0x49bb9d)||new Set();_0x59d0e8[_0x4f8f2d(0x313)](_0x44220d),this[_0x4f8f2d(0x264)][_0x4f8f2d(0x1d5)](_0x49bb9d,_0x59d0e8),this[_0x4f8f2d(0x3ff)](_0x44220d);}}),_0x49819a||this[_0x28b01d(0x243)]({'type':0x0,'memberID':this[_0x28b01d(0x2b9)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5bfbbf(0x3ff)](_0x46da7a){const _0x5a2edc=_0x5bfbbf;this[_0x5a2edc(0x2a6)](_0x46da7a);const _0x1e2b47=window['setTimeout'](()=>{const _0x1e0ab3=_0x5a2edc;this[_0x1e0ab3(0x264)][_0x1e0ab3(0x3b2)](_0x3aa431=>{const _0x53a0fb=_0x1e0ab3;_0x3aa431[_0x53a0fb(0x3a7)](_0x46da7a);});},_0x50e7e2*0x2);this[_0x5a2edc(0x1c7)][_0x5a2edc(0x1d5)](_0x46da7a,_0x1e2b47);}[_0x5bfbbf(0x2a6)](_0x451415){const _0x4dfa95=_0x5bfbbf;if(this['_clearOtherTimers'][_0x4dfa95(0x368)](_0x451415)){const _0x891845=this[_0x4dfa95(0x1c7)]['get'](_0x451415);_0x891845&&window['clearTimeout'](_0x891845),this['_clearOtherTimers'][_0x4dfa95(0x1d5)](_0x451415,null);}}['_handleLeaveEvent'](_0x19d4b7){const _0x30b75e=_0x5bfbbf,{memberID:_0x285f72,unitIDs:_0x76e3a}=_0x19d4b7;_0x76e3a[_0x30b75e(0x3b2)](_0x7acc2e=>{const _0x49a62d=_0x30b75e;var _0x3c7a75;const _0x5d175e=this['_unitOnClients']['get'](_0x7acc2e);_0x5d175e&&(_0x5d175e['delete'](_0x285f72),(_0x3c7a75=this['_ensureSubject'](_0x7acc2e))==null||_0x3c7a75['next'](_0x5d175e['size']===0x0?_0x555a80[_0x49a62d(0x320)][_0x49a62d(0x24f)]:_0x555a80[_0x49a62d(0x320)][_0x49a62d(0x181)]));}),this[_0x30b75e(0x2a6)](_0x285f72);}[_0x5bfbbf(0x367)](_0x3ebf4a){const _0x19e90e=_0x5bfbbf;this[_0x19e90e(0x3ff)](_0x3ebf4a[_0x19e90e(0x3b4)]);}['_send'](_0x230410){const _0x56e444=_0x5bfbbf;localStorage[_0x56e444(0x330)](_0x5ee22a,JSON[_0x56e444(0x2b8)](_0x230410));}[_0x5bfbbf(0x27c)](){const _0x1ec274=_0x5bfbbf;this['_heartbeatTimer']=window[_0x1ec274(0x3f7)](()=>{const _0x455e1b=_0x1ec274;this['_send']({'type':0x2,'memberID':this[_0x455e1b(0x2b9)]});},_0x50e7e2);}['_ensureSubject'](_0x34c1cc){const _0x1a6514=_0x5bfbbf;return this[_0x1a6514(0x2fe)][_0x1a6514(0x368)](_0x34c1cc)||this[_0x1a6514(0x2fe)]['set'](_0x34c1cc,new _0x104892['BehaviorSubject'](_0x555a80[_0x1a6514(0x320)][_0x1a6514(0x24f)])),this[_0x1a6514(0x2fe)]['get'](_0x34c1cc);}}var _0xb9b729=(_0x43c279=>(_0x43c279[_0x43c279['UNDEFINED']=0x0]=_0x5bfbbf(0x400),_0x43c279[_0x43c279['OK']=0x1]='OK',_0x43c279[_0x43c279['INTERNAL_ERROR']=0x2]=_0x5bfbbf(0x1c5),_0x43c279[_0x43c279['PERMISSION_DENIED']=0x3]=_0x5bfbbf(0x2bb),_0x43c279[_0x43c279[_0x5bfbbf(0x3ab)]=0x4]=_0x5bfbbf(0x3ab),_0x43c279[_0x43c279[_0x5bfbbf(0x205)]=0x5]=_0x5bfbbf(0x205),_0x43c279[_0x43c279['ALREADY_EXISTS']=0x6]=_0x5bfbbf(0x2a4),_0x43c279[_0x43c279[_0x5bfbbf(0x2b0)]=0x7]='INVALID_ARGUMENT',_0x43c279[_0x43c279[_0x5bfbbf(0x271)]=0x8]=_0x5bfbbf(0x271),_0x43c279[_0x43c279[_0x5bfbbf(0x225)]=0x9]='COMPLETION_FINISHED',_0x43c279[_0x43c279[_0x5bfbbf(0x196)]=0xa]=_0x5bfbbf(0x196),_0x43c279[_0x43c279['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x5bfbbf(0x275),_0x43c279[_0x43c279['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x5bfbbf(0x1b7),_0x43c279[_0x43c279[_0x5bfbbf(0x3ef)]=0x1772]=_0x5bfbbf(0x3ef),_0x43c279[_0x43c279['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x5bfbbf(0x3cc),_0x43c279[_0x43c279[_0x5bfbbf(0x343)]=0x1b59]=_0x5bfbbf(0x343),_0x43c279[_0x43c279['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x5bfbbf(0x241),_0x43c279[_0x43c279['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x43c279[_0x43c279[_0x5bfbbf(0x2e6)]=0x1b5c]=_0x5bfbbf(0x2e6),_0x43c279[_0x43c279[_0x5bfbbf(0x340)]=0x1b5d]=_0x5bfbbf(0x340),_0x43c279[_0x43c279[_0x5bfbbf(0x333)]=0x1f41]=_0x5bfbbf(0x333),_0x43c279[_0x43c279[_0x5bfbbf(0x26f)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x43c279[_0x43c279[_0x5bfbbf(0x29a)]=0x232a]=_0x5bfbbf(0x29a),_0x43c279[_0x43c279[_0x5bfbbf(0x211)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x43c279[_0x43c279[_0x5bfbbf(0x337)]=0x232c]=_0x5bfbbf(0x337),_0x43c279[_0x43c279[_0x5bfbbf(0x2ba)]=0x232d]=_0x5bfbbf(0x2ba),_0x43c279[_0x43c279[_0x5bfbbf(0x194)]=0x2711]=_0x5bfbbf(0x194),_0x43c279[_0x43c279[_0x5bfbbf(0x371)]=0x2712]=_0x5bfbbf(0x371),_0x43c279[_0x43c279['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5bfbbf(0x283),_0x43c279[_0x43c279[_0x5bfbbf(0x2ad)]=0x2714]=_0x5bfbbf(0x2ad),_0x43c279[_0x43c279[_0x5bfbbf(0x1b0)]=0x2af9]=_0x5bfbbf(0x1b0),_0x43c279[_0x43c279['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x5bfbbf(0x304),_0x43c279[_0x43c279[_0x5bfbbf(0x362)]=0x2ee2]=_0x5bfbbf(0x362),_0x43c279[_0x43c279[_0x5bfbbf(0x33d)]=0x2ee3]=_0x5bfbbf(0x33d),_0x43c279[_0x43c279[_0x5bfbbf(0x228)]=0x2ee4]=_0x5bfbbf(0x228),_0x43c279[_0x43c279[_0x5bfbbf(0x2e9)]=0x2ee5]=_0x5bfbbf(0x2e9),_0x43c279[_0x43c279['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x5bfbbf(0x2e0),_0x43c279[_0x43c279[_0x5bfbbf(0x388)]=0x32ca]=_0x5bfbbf(0x388),_0x43c279[_0x43c279['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x43c279[_0x43c279['UNRECOGNIZED']=-0x1]=_0x5bfbbf(0x206),_0x43c279))(_0xb9b729||{}),_0x5d43a8=Object[_0x5bfbbf(0x3ca)],_0x2a5f09=(_0x207932,_0x34657f,_0x287666,_0x51f09f)=>{const _0x48ded3=_0x5bfbbf;for(var _0xa8a647=_0x51f09f>0x1?void 0x0:_0x51f09f?_0x5d43a8(_0x34657f,_0x287666):_0x34657f,_0x1546fb=_0x207932[_0x48ded3(0x3bb)]-0x1,_0x5c9eaa;_0x1546fb>=0x0;_0x1546fb--)(_0x5c9eaa=_0x207932[_0x1546fb])&&(_0xa8a647=_0x5c9eaa(_0xa8a647)||_0xa8a647);return _0xa8a647;},_0x46d2bf=(_0x552b51,_0x455fea)=>(_0x300d23,_0x41dff9)=>_0x455fea(_0x300d23,_0x41dff9,_0x552b51);_0x40e363['RemoteUniscriptService']=class extends _0x593b66[_0x5bfbbf(0x289)]{constructor(_0x59566d,_0x287474,_0x50cd97){const _0x1c9da8=_0x5bfbbf;super(),this[_0x1c9da8(0x2eb)]=_0x59566d,this[_0x1c9da8(0x260)]=_0x287474,this[_0x1c9da8(0x35b)]=_0x50cd97;}async[_0x5bfbbf(0x2c0)](_0x2632c6,_0x2442e2,_0x2b3203,..._0x4ac1e9){const _0x49feb3=_0x5bfbbf;var _0x207ee3,_0x5a81d5,_0x2ae9d1,_0x46abfe;const _0x297a77=this[_0x49feb3(0x2eb)][_0x49feb3(0x31e)]();if(!_0x297a77)throw new Error(_0x49feb3(0x3b0));const _0x87631a=((_0x207ee3=this[_0x49feb3(0x35b)][_0x49feb3(0x28a)](_0x555a80['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x207ee3:_0x555a80[_0x49feb3(0x2d6)])+'/'+_0x2632c6+_0x49feb3(0x39c)+_0x2442e2,_0x4d0144=new URL(window[_0x49feb3(0x2f5)][_0x49feb3(0x1c9)]),_0x12f0a6={'scriptId':_0x2632c6,'runId':(_0x5a81d5=_0x4d0144[_0x49feb3(0x24c)][_0x49feb3(0x360)](_0x49feb3(0x411)))!=null?_0x5a81d5:'','function':_0x2442e2,'unitId':_0x297a77[_0x49feb3(0x33c)](),'argsOfFunction':JSON[_0x49feb3(0x2b8)](_0x4ac1e9),'invokeId':(_0x2ae9d1=_0x2b3203['invokeId'])!=null?_0x2ae9d1:'','executionId':(_0x46abfe=_0x2b3203[_0x49feb3(0x3c9)])!=null?_0x46abfe:''};try{const _0x489fb7=await this['_httpService']['post'](_0x87631a,{'body':_0x12f0a6});return _0x489fb7[_0x49feb3(0x22c)]['error']&&_0x489fb7[_0x49feb3(0x22c)]['error']['code']!==_0xb9b729['OK']?_0x49feb3(0x33a):_0x489fb7[_0x49feb3(0x22c)][_0x49feb3(0x234)];}catch{return _0x49feb3(0x33a);}}},_0x40e363[_0x5bfbbf(0x216)]=_0x2a5f09([_0x46d2bf(0x0,_0x593b66['IUniverInstanceService']),_0x46d2bf(0x1,_0x593b66[_0x5bfbbf(0x230)](_0x5a7b97[_0x5bfbbf(0x1d4)])),_0x46d2bf(0x2,_0x593b66[_0x5bfbbf(0x1cf)])],_0x40e363[_0x5bfbbf(0x216)]),_0x40e363[_0x5bfbbf(0x39e)]=_0xb4e4b9,_0x40e363[_0x5bfbbf(0x397)]=_0xb3ebfa,_0x40e363['SheetCollabCursorShape']=_0x16454e,_0x40e363[_0x5bfbbf(0x284)]=_0x255dd2,_0x40e363[_0x5bfbbf(0x213)]=_0xd7d9ab,Object[_0x5bfbbf(0x2b6)](_0x40e363,Symbol[_0x5bfbbf(0x37d)],{'value':'Module'});}));
1
+ (function(_0x5233ca,_0x38fd39){const _0x57ace0=_0x5c8a,_0x3a6d7a=_0x5233ca();while(!![]){try{const _0x301dc1=-parseInt(_0x57ace0(0x32f))/0x1*(-parseInt(_0x57ace0(0x29a))/0x2)+parseInt(_0x57ace0(0x31b))/0x3*(parseInt(_0x57ace0(0x243))/0x4)+-parseInt(_0x57ace0(0x222))/0x5+-parseInt(_0x57ace0(0x277))/0x6*(parseInt(_0x57ace0(0xfc))/0x7)+parseInt(_0x57ace0(0x2a0))/0x8+-parseInt(_0x57ace0(0x1a9))/0x9*(-parseInt(_0x57ace0(0x1d5))/0xa)+parseInt(_0x57ace0(0xe7))/0xb*(-parseInt(_0x57ace0(0x188))/0xc);if(_0x301dc1===_0x38fd39)break;else _0x3a6d7a['push'](_0x3a6d7a['shift']());}catch(_0x571254){_0x3a6d7a['push'](_0x3a6d7a['shift']());}}}(_0x5bb5,0xebb76),function(_0x6f5af4,_0xf43d1b){const _0xcdc51f=_0x5c8a;typeof exports==_0xcdc51f(0x247)&&typeof module<'u'?_0xf43d1b(exports,require(_0xcdc51f(0x255)),require(_0xcdc51f(0xf6)),require(_0xcdc51f(0x180)),require(_0xcdc51f(0x2e2)),require(_0xcdc51f(0x9d)),require(_0xcdc51f(0x230)),require(_0xcdc51f(0x319)),require('@univerjs/docs'),require(_0xcdc51f(0x1b1)),require(_0xcdc51f(0x2e6)),require('@univerjs/sheets'),require(_0xcdc51f(0x14d)),require('@univerjs/sheets-ui'),require(_0xcdc51f(0x298)),require(_0xcdc51f(0x2e8)),require(_0xcdc51f(0x287)),require('react'),require(_0xcdc51f(0x2a5))):typeof define==_0xcdc51f(0x308)&&define['amd']?define([_0xcdc51f(0x127),_0xcdc51f(0x255),_0xcdc51f(0xf6),_0xcdc51f(0x180),_0xcdc51f(0x2e2),'@univerjs/docs-ui',_0xcdc51f(0x230),_0xcdc51f(0x319),_0xcdc51f(0x139),_0xcdc51f(0x1b1),'@univerjs/engine-formula',_0xcdc51f(0xa0),_0xcdc51f(0x14d),_0xcdc51f(0x197),_0xcdc51f(0x298),_0xcdc51f(0x2e8),_0xcdc51f(0x287),_0xcdc51f(0x10f),_0xcdc51f(0x2a5)],_0xf43d1b):(_0x6f5af4=typeof globalThis<'u'?globalThis:_0x6f5af4||self,_0xf43d1b(_0x6f5af4[_0xcdc51f(0x286)]={},_0x6f5af4[_0xcdc51f(0x27c)],_0x6f5af4[_0xcdc51f(0x167)],_0x6f5af4[_0xcdc51f(0x157)],_0x6f5af4['UniverNetwork'],_0x6f5af4[_0xcdc51f(0x1f4)],_0x6f5af4['UniverDrawing'],_0x6f5af4[_0xcdc51f(0x319)],_0x6f5af4['UniverDocs'],_0x6f5af4['UniverProCollaboration'],_0x6f5af4[_0xcdc51f(0x1c1)],_0x6f5af4['UniverSheets'],_0x6f5af4['rxjs'][_0xcdc51f(0x2a7)],_0x6f5af4['UniverSheetsUi'],_0x6f5af4[_0xcdc51f(0x1f2)],_0x6f5af4[_0xcdc51f(0x10e)],_0x6f5af4[_0xcdc51f(0x2db)],_0x6f5af4[_0xcdc51f(0x1f2)],_0x6f5af4[_0xcdc51f(0x150)]));}(this,function(_0x151a14,_0x42121a,_0x3370a3,_0x2e5590,_0x2d9865,_0x1a7d80,_0x5b1eaa,_0x3b1b1e,_0x388719,_0x2dbfd1,_0x17635e,_0x25f06e,_0xdf71f2,_0xf37671,_0x3c781c,_0x2a8deb,_0x5cbed4,_0x2931f7,_0x4fa575){'use strict';const _0xc606cd=_0x5c8a;var _0xd4cc2a=Object[_0xc606cd(0x225)],_0x1d4856=(_0x21037f,_0x358b8a,_0x39bfdf)=>_0x358b8a in _0x21037f?_0xd4cc2a(_0x21037f,_0x358b8a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x39bfdf}):_0x21037f[_0x358b8a]=_0x39bfdf,_0x2f632f=(_0x190961,_0x478785,_0x254469)=>_0x1d4856(_0x190961,typeof _0x478785!=_0xc606cd(0x9f)?_0x478785+'':_0x478785,_0x254469),_0x50eb92=Object['getOwnPropertyDescriptor'],_0x459903=(_0x5bde98,_0x36ba09,_0x3888b4,_0x3a963b)=>{const _0x1bf9ce=_0xc606cd;for(var _0x24a208=_0x3a963b>0x1?void 0x0:_0x3a963b?_0x50eb92(_0x36ba09,_0x3888b4):_0x36ba09,_0xbb3d28=_0x5bde98[_0x1bf9ce(0xbd)]-0x1,_0x5a832f;_0xbb3d28>=0x0;_0xbb3d28--)(_0x5a832f=_0x5bde98[_0xbb3d28])&&(_0x24a208=_0x5a832f(_0x24a208)||_0x24a208);return _0x24a208;},_0x41e83a=(_0x275465,_0x28ebbe)=>(_0x1cef64,_0x1b7ef6)=>_0x28ebbe(_0x1cef64,_0x1b7ef6,_0x275465);let _0x2c3f84=class extends _0x3370a3[_0xc606cd(0x279)]{constructor(_0x4c01bc,_0x307604){const _0x4be401=_0xc606cd;super(),this[_0x4be401(0x193)]=_0x4c01bc,this[_0x4be401(0x259)]=_0x307604,this[_0x4be401(0x114)]();}[_0xc606cd(0x114)](){const _0xa287ef=_0xc606cd,_0x4b20a6=this;this[_0xa287ef(0x12c)](this[_0xa287ef(0x193)]['addClipboardHook']({'onBeforePasteImage':async _0x4a3f57=>{const _0x2ab796=_0xa287ef,_0x13f88d=await _0x4b20a6[_0x2ab796(0x259)][_0x2ab796(0x252)](_0x4a3f57);return _0x13f88d?{'source':_0x13f88d[_0x2ab796(0x22f)],'imageSourceType':_0x13f88d[_0x2ab796(0xcb)]}:null;}}));}};_0x2c3f84=_0x459903([_0x41e83a(0x0,_0x1a7d80['IDocClipboardService']),_0x41e83a(0x1,_0x5b1eaa['IImageIoService'])],_0x2c3f84);const _0xba7fd2=[_0xc606cd(0x171),_0xc606cd(0x1a2),_0xc606cd(0x211),'red300',_0xc606cd(0x175),_0xc606cd(0x26b)];class _0x4dadc0 extends _0x3370a3[_0xc606cd(0x18a)]{constructor(){const _0x5a0141=_0xc606cd;super(...arguments),_0x2f632f(this,_0x5a0141(0x305),new Map()),_0x2f632f(this,_0x5a0141(0x166),0x0);}[_0xc606cd(0x1cf)](_0x127bf1){const _0x5b8b1b=_0xc606cd;if(this['_assignedColors'][_0x5b8b1b(0x128)](_0x127bf1))return this['_assignedColors'][_0x5b8b1b(0x1e8)](_0x127bf1);const _0x17b336=_0xba7fd2[this[_0x5b8b1b(0x166)]];return this[_0x5b8b1b(0x166)]=(this[_0x5b8b1b(0x166)]+0x1)%_0xba7fd2[_0x5b8b1b(0xbd)],this[_0x5b8b1b(0x305)][_0x5b8b1b(0x270)](_0x127bf1,_0x17b336),_0x17b336;}}function _0x5528d2(_0x5137dd){const _0x376abf=_0xc606cd;let _0x5f3df0='';for(const _0x2ba546 of _0x5137dd){const {startOffset:_0x27a31a,endOffset:_0x2bcdc2,isActive:_0x5bcb44,rangeType:_0xb49826,segmentId:_0x46127a,segmentPage:_0x45696b}=_0x2ba546;_0x5f3df0[_0x376abf(0xbd)]&&(_0x5f3df0+=','),_0x5f3df0+=_0x27a31a+':'+_0x2bcdc2+':'+(_0x5bcb44?'1':'0')+':'+_0xb49826+':'+_0x46127a+':'+_0x45696b;}return _0x5f3df0;}function _0x1ddca9(_0x29f2e4){const _0x7e18a2=_0xc606cd,_0x2fbb44=_0x29f2e4[_0x7e18a2(0x1f0)](','),_0x13b05f=[];for(const _0x13f632 of _0x2fbb44){const [_0x162488,_0x10aac2,_0x21a99a,_0x57635c,_0x583c70,_0x4c58d3]=_0x13f632['split'](':');_0x13b05f[_0x7e18a2(0x1fd)]({'startOffset':Number(_0x162488),'endOffset':Number(_0x10aac2),'collapsed':_0x162488===_0x10aac2,'isActive':_0x21a99a==='1','rangeType':_0x57635c===_0x3370a3[_0x7e18a2(0x2ce)][_0x7e18a2(0xdb)]?_0x3370a3[_0x7e18a2(0x2ce)]['TEXT']:_0x3370a3[_0x7e18a2(0x2ce)][_0x7e18a2(0x108)],'segmentId':typeof _0x583c70==_0x7e18a2(0x20e)?String(_0x583c70):'','segmentPage':Number(_0x4c58d3!=null?_0x4c58d3:-0x1)});}return _0x13b05f[_0x7e18a2(0x2d1)](_0x3504f1=>_0x3504f1[_0x7e18a2(0x2f5)])||(_0x13b05f[0x0][_0x7e18a2(0x2f5)]=!0x0),_0x13b05f;}class _0x2c241f extends _0x3370a3[_0xc606cd(0x279)]{constructor(){const _0x5cfd40=_0xc606cd;super(...arguments),_0x2f632f(this,_0x5cfd40(0x1b9),new _0x3b1b1e[(_0x5cfd40(0x174))](null)),_0x2f632f(this,'collabCursorState$',this[_0x5cfd40(0x1b9)]['asObservable']());}['syncEditingCollabCursor'](_0x2c3ff2){const _0x10b368=_0xc606cd,{unitID:_0x1ce43c,memberID:_0x9deab0,textRanges:_0x48937e}=_0x2c3ff2,_0x56fe9a=_0x5528d2(_0x48937e);if(_0x56fe9a==='')return;const _0xfc4e85={'unitID':_0x1ce43c,'memberID':_0x9deab0,'selection':_0x56fe9a};this[_0x10b368(0x1b9)]['next'](_0xfc4e85);}}var _0x4f9ed7=Object['getOwnPropertyDescriptor'],_0x5555ab=(_0x25dd0f,_0x5a9bd8,_0x3aa75b,_0xd689b6)=>{const _0x1d3e62=_0xc606cd;for(var _0x4f7499=_0xd689b6>0x1?void 0x0:_0xd689b6?_0x4f9ed7(_0x5a9bd8,_0x3aa75b):_0x5a9bd8,_0x122bfe=_0x25dd0f[_0x1d3e62(0xbd)]-0x1,_0x18f49a;_0x122bfe>=0x0;_0x122bfe--)(_0x18f49a=_0x25dd0f[_0x122bfe])&&(_0x4f7499=_0x18f49a(_0x4f7499)||_0x4f7499);return _0x4f7499;},_0x265853=(_0x2a05c5,_0x1af700)=>(_0x2e00d5,_0x1148ae)=>_0x1af700(_0x2e00d5,_0x1148ae,_0x2a05c5);const _0x41a012=0x12c,_0x542b7f=0x64;let _0x216cae=class extends _0x3370a3[_0xc606cd(0x279)]{constructor(_0x5881c5,_0x293f46,_0xca681e,_0x532a50,_0x40b6a2,_0x3fcb04,_0x12a465,_0x11c007,_0x331b39){const _0x976339=_0xc606cd;super(),_0x2f632f(this,'_online',!0x1),_0x2f632f(this,_0x976339(0x114),!0x1),_0x2f632f(this,_0x976339(0x26e),new _0x3b1b1e[(_0x976339(0x174))](new Map())),_0x2f632f(this,_0x976339(0xbb),this[_0x976339(0x26e)][_0x976339(0x293)]()),_0x2f632f(this,_0x976339(0x25c),new _0x3b1b1e['BehaviorSubject']([])),_0x2f632f(this,_0x976339(0x29b),this['_roomMembers$']['pipe'](_0x3b1b1e[_0x976339(0x181)](_0x41a012))),_0x2f632f(this,'_updateLocalCursor',_0x3370a3[_0x976339(0x2d8)](_0x26d80f=>{const _0x409a12=_0x976339,_0x84b55d={'eventID':_0x2dbfd1['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x409a12(0x258)],'memberID':this['_session'][_0x409a12(0x237)](),'selection':_0x5528d2(_0x26d80f)}};this[_0x409a12(0xa1)][_0x409a12(0x12d)](_0x84b55d,this[_0x409a12(0x258)]);},_0x542b7f)),(this['unitID']=_0x5881c5,this[_0x976339(0xa1)]=_0x293f46,this[_0x976339(0xbf)]=_0xca681e,this[_0x976339(0xb4)]=_0x532a50,this[_0x976339(0x275)]=_0x40b6a2,this['_syncEditingCollabCursorService']=_0x3fcb04,this['_transformService']=_0x12a465,this['_univerInstanceService']=_0x11c007,this[_0x976339(0x245)]=_0x331b39);}get['cursorInfo'](){const _0x8cc53a=_0xc606cd;return this[_0x8cc53a(0x26e)][_0x8cc53a(0x2eb)]();}get[_0xc606cd(0xf2)](){const _0x3224bb=_0xc606cd;return this[_0x3224bb(0x25c)][_0x3224bb(0x2eb)]();}['dispose'](){const _0xc4bb99=_0xc606cd;super['dispose'](),this[_0xc4bb99(0x26e)][_0xc4bb99(0x162)](new Map()),this[_0xc4bb99(0x26e)][_0xc4bb99(0xab)](),this[_0xc4bb99(0x25c)]['next']([]),this['_roomMembers$'][_0xc4bb99(0xab)]();}[_0xc606cd(0x14a)](){const _0x33236f=_0xc606cd;this[_0x33236f(0x114)]||(this[_0x33236f(0x114)]=!0x0,this[_0x33236f(0xa1)][_0x33236f(0xef)][_0x33236f(0x1d2)](_0x3b1b1e[_0x33236f(0x1c6)](this[_0x33236f(0x2b9)]))[_0x33236f(0x173)](_0x1adbe1=>{const _0x106a70=_0x33236f;_0x1adbe1===_0x42121a[_0x106a70(0x177)]['ONLINE']?this['_toggleOnline']():this[_0x106a70(0x1aa)]();}),this[_0x33236f(0xa1)][_0x33236f(0x30e)]['pipe'](_0x3b1b1e[_0x33236f(0x1c6)](this[_0x33236f(0x2b9)]))[_0x33236f(0x173)](_0x1eec68=>{const _0x1536b8=_0x33236f,_0x571c49=_0x1eec68[_0x1536b8(0x9b)];_0x571c49===_0x2dbfd1[_0x1536b8(0x2c3)][_0x1536b8(0x10a)]&&this['_onCursorUpdate'](_0x1eec68),_0x571c49===_0x2dbfd1[_0x1536b8(0x2c3)]['USERS_LEAVE']&&this[_0x1536b8(0x312)](_0x1eec68);}),this['disposeWithMe'](this[_0x33236f(0x245)][_0x33236f(0x2cc)](_0x1ccaeb=>{const _0x37f6a0=_0x33236f,_0xcac532=_0x1ccaeb[_0x37f6a0(0x29d)];_0xcac532!=null&&this[_0x37f6a0(0x301)]&&_0x1ccaeb['id']===_0x388719['SetTextSelectionsOperation']['id']&&_0xcac532[_0x37f6a0(0x145)]===this[_0x37f6a0(0x258)]&&_0xcac532[_0x37f6a0(0xe6)]===!0x1&&_0xcac532['ranges'][_0x37f6a0(0xbd)]>0x0&&this['_updateLocalCursor'](_0xcac532[_0x37f6a0(0x335)]);})),this[_0x33236f(0x1d7)][_0x33236f(0xc6)][_0x33236f(0x1d2)](_0x3b1b1e[_0x33236f(0x1c6)](this['dispose$']))[_0x33236f(0x173)](_0x268b5f=>{const _0x354424=_0x33236f;if((_0x268b5f==null?void 0x0:_0x268b5f[_0x354424(0x258)])!==this['unitID'])return;const _0x4f7fc1={'eventID':_0x2dbfd1['CollaborationEvent'][_0x354424(0x10a)],'data':_0x268b5f};this[_0x354424(0x321)](_0x4f7fc1);}),this[_0x33236f(0x12c)](this[_0x33236f(0x245)]['onCommandExecuted'](_0x50c654=>{const _0x221454=_0x33236f;if(_0x50c654[_0x221454(0x29d)]==null)return;const _0x51f31b=_0x50c654[_0x221454(0x29d)];if(_0x50c654['id']!==_0x388719[_0x221454(0x1ca)]['id']||_0x51f31b[_0x221454(0x145)]!==this[_0x221454(0x258)])return;const _0x3974cd={'id':_0x221454(0x26d),'params':_0x51f31b},_0x226e2e=this['cursorInfo'];for(const [_0x31da52,_0x5856e9]of _0x226e2e){const _0x2e1148={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x221454(0x258)],'actions':null,'textRanges':_0x5856e9[_0x221454(0x335)]}},_0x130f41=this['_transformService']['transformMutation'](_0x3974cd,_0x2e1148,!0x1);if(_0x2dbfd1[_0x221454(0x155)](_0x130f41))throw _0x130f41[_0x221454(0xaa)];_0x226e2e[_0x221454(0x270)](_0x31da52,{..._0x5856e9,'ranges':_0x130f41[_0x221454(0x29f)][_0x221454(0x29d)][_0x221454(0x284)]});}queueMicrotask(()=>{const _0x300146=_0x221454;this[_0x300146(0x26e)]['next'](_0x226e2e);});})));}[_0xc606cd(0x321)](_0x2b90a8){const _0x5179d0=_0xc606cd;var _0x59dbc0,_0x15831a;const {memberID:_0x50656f,selection:_0x5f190a}=_0x2b90a8['data'],_0x577bf9=_0x1ddca9(_0x5f190a),_0x17e92d=(_0x15831a=(_0x59dbc0=this[_0x5179d0(0x275)]['getMember'](this[_0x5179d0(0x258)],_0x50656f))==null?void 0x0:_0x59dbc0['name'])!=null?_0x15831a:_0x5179d0(0x228),_0x497e9d={'color':this[_0x5179d0(0xb4)][_0x5179d0(0x1cf)](_0x50656f),'name':_0x17e92d,'ranges':_0x577bf9},_0x45ad6d=this['cursorInfo'];_0x45ad6d[_0x5179d0(0x270)](_0x50656f,_0x497e9d),this[_0x5179d0(0x26e)][_0x5179d0(0x162)](_0x45ad6d);}[_0xc606cd(0x312)](_0x4aa147){const _0x1e462d=_0xc606cd,{memberID:_0x24d619}=_0x4aa147['data'],_0x125465=this[_0x1e462d(0x2ef)];_0x125465[_0x1e462d(0x30a)](_0x24d619),this[_0x1e462d(0x26e)][_0x1e462d(0x162)](_0x125465);}[_0xc606cd(0x2c7)](){const _0x12392d=_0xc606cd;var _0x1106e6;if(this['_online']=!0x0,((_0x1106e6=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x1106e6[_0x12392d(0x136)]())!==this['unitID'])return;const _0x194023=this['_injector'][_0x12392d(0x1e8)](_0x388719['DocSelectionManagerService'])[_0x12392d(0x124)]();Array['isArray'](_0x194023)&&_0x194023[_0x12392d(0xbd)]>0x0&&this['_updateLocalCursor'](_0x194023);}[_0xc606cd(0x1aa)](){const _0x3b9f5c=_0xc606cd;this[_0x3b9f5c(0x301)]=!0x1;}};_0x216cae=_0x5555ab([_0x265853(0x2,_0x3370a3[_0xc606cd(0x22d)](_0x3370a3[_0xc606cd(0x217)])),_0x265853(0x3,_0x3370a3[_0xc606cd(0x22d)](_0x4dadc0)),_0x265853(0x4,_0x3370a3[_0xc606cd(0x22d)](_0x42121a[_0xc606cd(0x2dc)])),_0x265853(0x5,_0x3370a3[_0xc606cd(0x22d)](_0x2c241f)),_0x265853(0x6,_0x2dbfd1[_0xc606cd(0x2e4)]),_0x265853(0x7,_0x3370a3[_0xc606cd(0x1de)]),_0x265853(0x8,_0x3370a3[_0xc606cd(0x1b0)])],_0x216cae);var _0x1ac251=Object[_0xc606cd(0x250)],_0x45f14a=(_0x13339d,_0x40af70,_0x5c608c,_0x3c116c)=>{const _0x2a3fe=_0xc606cd;for(var _0x376a7b=_0x3c116c>0x1?void 0x0:_0x3c116c?_0x1ac251(_0x40af70,_0x5c608c):_0x40af70,_0x2a8dbe=_0x13339d[_0x2a3fe(0xbd)]-0x1,_0x4cc80e;_0x2a8dbe>=0x0;_0x2a8dbe--)(_0x4cc80e=_0x13339d[_0x2a8dbe])&&(_0x376a7b=_0x4cc80e(_0x376a7b)||_0x376a7b);return _0x376a7b;},_0x4024d6=(_0x5d917e,_0x27dc75)=>(_0x59dd5f,_0x166fac)=>_0x27dc75(_0x59dd5f,_0x166fac,_0x5d917e);const _0x5be654=0x12c,_0x4e84d4=0x64,_0x5f2426=()=>{let _0x1cdc8a=[],_0xc66a35=!0x1;return _0x1a69fd=>{_0x1cdc8a['push'](_0x1a69fd),_0xc66a35||(_0xc66a35=!0x0,setTimeout(()=>{_0x1cdc8a['forEach'](_0x227340=>_0x227340()),_0x1cdc8a=[],_0xc66a35=!0x1;}));};};let _0x1746ab=class extends _0x3370a3[_0xc606cd(0x279)]{constructor(_0x540211,_0x465ac7,_0x44eada,_0x2b83ee,_0x494f77,_0x37b2ed,_0x374afd,_0x58d330){const _0x859582=_0xc606cd;super(),_0x2f632f(this,'_online',!0x1),_0x2f632f(this,'_init',!0x1),_0x2f632f(this,_0x859582(0x26e),new _0x3b1b1e['BehaviorSubject'](new Map())),_0x2f632f(this,_0x859582(0xbb),this[_0x859582(0x26e)][_0x859582(0x293)]()),_0x2f632f(this,_0x859582(0x25c),new _0x3b1b1e[(_0x859582(0x174))]([])),_0x2f632f(this,_0x859582(0x29b),this['_roomMembers$'][_0x859582(0x1d2)](_0x3b1b1e['debounceTime'](_0x5be654))),_0x2f632f(this,_0x859582(0x142),_0x3370a3['debounce']((_0x415d7c,_0x3216f8)=>{const _0x422c1b=_0x859582,_0x2ef915={'eventID':_0x2dbfd1[_0x422c1b(0x2c3)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x422c1b(0x258)],'memberID':this[_0x422c1b(0xa1)]['getMemberID'](),'selection':_0x17635e['serializeRangeWithSheet'](_0x415d7c,_0x3216f8['range'])}};this['_session'][_0x422c1b(0x12d)](_0x2ef915,this['unitID']);},_0x4e84d4)),(this['unitID']=_0x540211,this['_session']=_0x465ac7,this[_0x859582(0xbf)]=_0x44eada,this['_colorAssignService']=_0x2b83ee,this[_0x859582(0x275)]=_0x494f77,this['_univerInstanceService']=_0x37b2ed,this['_commandService']=_0x374afd,this[_0x859582(0x25b)]=_0x58d330);}get[_0xc606cd(0x2ef)](){const _0x29550c=_0xc606cd;return this['_cursorInfo$'][_0x29550c(0x2eb)]();}get[_0xc606cd(0xf2)](){const _0x3891af=_0xc606cd;return this['_roomMembers$'][_0x3891af(0x2eb)]();}[_0xc606cd(0x170)](){const _0x364738=_0xc606cd;super['dispose'](),this['_cursorInfo$'][_0x364738(0x162)](new Map()),this[_0x364738(0x26e)][_0x364738(0xab)](),this[_0x364738(0x25c)]['next']([]),this[_0x364738(0x25c)][_0x364738(0xab)]();}[_0xc606cd(0x14a)](){const _0x250514=_0xc606cd;this[_0x250514(0x114)]||(this['_init']=!0x0,this[_0x250514(0xa1)][_0x250514(0xef)]['pipe'](_0x3b1b1e[_0x250514(0x1c6)](this[_0x250514(0x2b9)]))[_0x250514(0x173)](_0x13c47b=>{const _0x3e5657=_0x250514;_0x13c47b===_0x42121a[_0x3e5657(0x177)][_0x3e5657(0x151)]?this['_toggleOnline']():this[_0x3e5657(0x1aa)]();}),this[_0x250514(0xa1)][_0x250514(0x30e)]['pipe'](_0x3b1b1e[_0x250514(0x1c6)](this[_0x250514(0x2b9)]))[_0x250514(0x173)](_0x59e805=>{const _0x1dea96=_0x250514,_0x1f9c2d=_0x59e805[_0x1dea96(0x9b)];_0x1f9c2d===_0x2dbfd1['CollaborationEvent'][_0x1dea96(0x10a)]&&this[_0x1dea96(0x321)](_0x59e805),_0x1f9c2d===_0x2dbfd1[_0x1dea96(0x2c3)][_0x1dea96(0x1d4)]&&this[_0x1dea96(0x312)](_0x59e805);}),this[_0x250514(0x23f)](),this[_0x250514(0x12c)](this['_commandService'][_0x250514(0x2cc)](_0x1a88c3=>{const _0x584d19=_0x250514;if(this[_0x584d19(0x301)]&&_0x1a88c3['id']===_0x25f06e['SetSelectionsOperation']['id']&&_0x1a88c3['params'][_0x584d19(0x145)]===this[_0x584d19(0x258)]){const _0x543185=_0x1a88c3[_0x584d19(0x29d)];this[_0x584d19(0x142)](_0x543185[_0x584d19(0x185)],_0x543185[_0x584d19(0x2d5)][0x0]);}})));}['_onCursorUpdate'](_0x52266b){const _0x243f80=_0xc606cd;var _0x51657d,_0x2d16ce;const {memberID:_0x5e1054,selection:_0x4ec8ad}=_0x52266b[_0x243f80(0x2fd)],{sheetName:_0x14b3f9,range:_0x25c6d5}=_0x17635e[_0x243f80(0x138)](_0x4ec8ad),_0x519c2={'name':(_0x2d16ce=(_0x51657d=this[_0x243f80(0x275)]['getMember'](this[_0x243f80(0x258)],_0x5e1054))==null?void 0x0:_0x51657d[_0x243f80(0x1eb)])!=null?_0x2d16ce:_0x243f80(0x228),'range':this[_0x243f80(0x2e5)](_0x14b3f9,_0x25c6d5),'sheetID':_0x14b3f9,'color':this[_0x243f80(0xb4)][_0x243f80(0x1cf)](_0x5e1054),'selection':_0x4ec8ad},_0x3d51c9=this[_0x243f80(0x2ef)];_0x3d51c9[_0x243f80(0x270)](_0x5e1054,_0x519c2),this[_0x243f80(0x26e)][_0x243f80(0x162)](_0x3d51c9);}['_onCursorDelete'](_0x55437){const _0x7a836c=_0xc606cd,{memberID:_0x388736}=_0x55437[_0x7a836c(0x2fd)],_0x24d120=this[_0x7a836c(0x2ef)];_0x24d120[_0x7a836c(0x30a)](_0x388736),this['_cursorInfo$'][_0x7a836c(0x162)](_0x24d120);}[_0xc606cd(0x2e5)](_0x47d281,_0x4a13d8){const _0x36f386=_0xc606cd;var _0x416399,_0x4db5cb;const _0x31e3ef=(_0x4db5cb=(_0x416399=this[_0x36f386(0x2a9)][_0x36f386(0x248)](this[_0x36f386(0x258)]))==null?void 0x0:_0x416399['getSheetBySheetId'](_0x47d281))==null?void 0x0:_0x4db5cb[_0x36f386(0x261)]();return(_0x31e3ef==null?void 0x0:_0x31e3ef[_0x36f386(0x28e)](_0x28a1e9=>_0x3370a3[_0x36f386(0x2d7)][_0x36f386(0x31d)](_0x28a1e9,_0x4a13d8)))||_0x4a13d8;}[_0xc606cd(0x23f)](){const _0x4d90f9=_0xc606cd,_0x22ce8c=new _0x3370a3['DisposableCollection'](),_0x42d7ce=_0x5f2426(),_0x2b84f3=()=>{const _0x3d1fdb=_0x5c8a;_0x22ce8c[_0x3d1fdb(0x170)]();const _0x1adf8e=(_0x1f3857,_0x873b4d,_0x3621c1,_0x21f687)=>{const _0x46b2d1=_0x3d1fdb;let _0x547fec=[];switch(_0x1f3857['id']){case _0x25f06e[_0x46b2d1(0x1ae)][_0x46b2d1(0x25e)]:{_0x547fec=_0x25f06e['handleDeleteRangeMoveLeft'](_0x1f3857,_0x21f687);break;}case _0x25f06e[_0x46b2d1(0x1ae)]['DeleteRangeMoveUpCommandId']:{_0x547fec=_0x25f06e['handleDeleteRangeMoveUp'](_0x1f3857,_0x21f687);break;}case _0x25f06e[_0x46b2d1(0x1ae)][_0x46b2d1(0x18b)]:{_0x547fec=_0x25f06e[_0x46b2d1(0x158)](_0x1f3857,_0x21f687);break;}case _0x25f06e[_0x46b2d1(0x1ae)][_0x46b2d1(0x1ff)]:{_0x547fec=_0x25f06e['handleInsertRangeMoveDown'](_0x1f3857,_0x21f687);break;}case _0x25f06e[_0x46b2d1(0x1ae)][_0x46b2d1(0xa6)]:{_0x547fec=_0x25f06e[_0x46b2d1(0x306)](_0x1f3857,_0x21f687);break;}case _0x25f06e[_0x46b2d1(0x1ae)][_0x46b2d1(0x2f8)]:{_0x547fec=_0x25f06e[_0x46b2d1(0x307)](_0x1f3857,_0x21f687);break;}case _0x25f06e['EffectRefRangId'][_0x46b2d1(0x263)]:{_0x547fec=_0x25f06e[_0x46b2d1(0x1f1)](_0x1f3857,_0x21f687);break;}case _0x25f06e[_0x46b2d1(0x1ae)][_0x46b2d1(0x1f8)]:{_0x547fec=_0x25f06e[_0x46b2d1(0x2b5)](_0x1f3857,_0x21f687);break;}case _0x25f06e[_0x46b2d1(0x1ae)][_0x46b2d1(0x15e)]:{_0x547fec=_0x25f06e['handleIRemoveRow'](_0x1f3857,_0x21f687);break;}}const _0x4a2090=_0x25f06e['runRefRangeMutations'](_0x547fec,_0x21f687),_0x396cec=this[_0x46b2d1(0x2ef)][_0x46b2d1(0x1e8)](_0x873b4d);if(_0x396cec&&_0x4a2090){const _0x416d8d={..._0x396cec,'range':_0x4a2090};this['cursorInfo'][_0x46b2d1(0x270)](_0x873b4d,_0x416d8d),_0x42d7ce(()=>{const _0x5e7564=_0x46b2d1,_0x15b32d=this[_0x5e7564(0x25b)][_0x5e7564(0x27b)](_0x4a2090,_0xfb90db=>(_0x15b32d[_0x5e7564(0x170)](),_0x1adf8e(_0xfb90db,_0x873b4d,_0x3621c1,_0x4a2090)));_0x22ce8c[_0x5e7564(0x11c)](_0x15b32d);});}return{'redos':[],'undos':[]};};this[_0x3d1fdb(0x2ef)][_0x3d1fdb(0x13c)]((_0xbebd16,_0x278a24)=>{const _0x3b5665=_0x3d1fdb,{range:_0x2ef073,sheetID:_0xfd63f}=_0xbebd16,_0xf98f9d=this[_0x3b5665(0x25b)]['registerRefRange'](_0x2ef073,_0x11c7b5=>(_0xf98f9d[_0x3b5665(0x170)](),_0x1adf8e(_0x11c7b5,_0x278a24,_0xfd63f,_0x2ef073)));_0x22ce8c[_0x3b5665(0x11c)](_0xf98f9d);});};this[_0x4d90f9(0x12c)](_0x3370a3['toDisposable'](this[_0x4d90f9(0x26e)][_0x4d90f9(0x173)](()=>{_0x2b84f3();})));}[_0xc606cd(0x2c7)](){const _0xba4f33=_0xc606cd;var _0x1e1958,_0x570093;if(this[_0xba4f33(0x301)]=!0x0,((_0x1e1958=this[_0xba4f33(0x2a9)][_0xba4f33(0x2bb)]())==null?void 0x0:_0x1e1958[_0xba4f33(0x136)]())!==this[_0xba4f33(0x258)])return;const _0x10f4a2=(_0x570093=this['_injector'][_0xba4f33(0x1e8)](_0x25f06e[_0xba4f33(0x24a)])[_0xba4f33(0x302)]())==null?void 0x0:_0x570093[0x0],_0x2fd8e7=this[_0xba4f33(0x2a9)][_0xba4f33(0xac)](_0x3370a3['UniverInstanceType']['UNIVER_SHEET'])[_0xba4f33(0x274)]();_0x10f4a2&&_0x2fd8e7&&this[_0xba4f33(0x142)](_0x2fd8e7[_0xba4f33(0x311)](),_0x10f4a2);}[_0xc606cd(0x1aa)](){const _0x323bc7=_0xc606cd;this[_0x323bc7(0x301)]=!0x1;}};_0x1746ab=_0x45f14a([_0x4024d6(0x2,_0x3370a3['Inject'](_0x3370a3[_0xc606cd(0x217)])),_0x4024d6(0x3,_0x3370a3[_0xc606cd(0x22d)](_0x4dadc0)),_0x4024d6(0x4,_0x3370a3[_0xc606cd(0x22d)](_0x42121a[_0xc606cd(0x2dc)])),_0x4024d6(0x5,_0x3370a3['IUniverInstanceService']),_0x4024d6(0x6,_0x3370a3[_0xc606cd(0x1b0)]),_0x4024d6(0x7,_0x3370a3[_0xc606cd(0x22d)](_0x25f06e[_0xc606cd(0x1fc)]))],_0x1746ab);var _0xa24240=Object[_0xc606cd(0x250)],_0x344899=(_0xeffe4c,_0x3e71c2,_0x161a9b,_0x5126c8)=>{const _0x1f8d44=_0xc606cd;for(var _0x1fc3f5=_0x5126c8>0x1?void 0x0:_0x5126c8?_0xa24240(_0x3e71c2,_0x161a9b):_0x3e71c2,_0x1d77ff=_0xeffe4c[_0x1f8d44(0xbd)]-0x1,_0x171db7;_0x1d77ff>=0x0;_0x1d77ff--)(_0x171db7=_0xeffe4c[_0x1d77ff])&&(_0x1fc3f5=_0x171db7(_0x1fc3f5)||_0x1fc3f5);return _0x1fc3f5;},_0x18d725=(_0x944998,_0x5cc550)=>(_0x4d3dcd,_0x5eeedc)=>_0x5cc550(_0x4d3dcd,_0x5eeedc,_0x944998);let _0xa7d943=class extends _0x3370a3[_0xc606cd(0x279)]{constructor(_0x42f04c,_0x9f5e46,_0x450dd4){const _0x4d04e8=_0xc606cd;super(),_0x2f632f(this,_0x4d04e8(0x224),new Map()),_0x2f632f(this,_0x4d04e8(0x168),new _0x3b1b1e[(_0x4d04e8(0x221))]()),(this['_univerInstanceService']=_0x42f04c,this['_injector']=_0x9f5e46,this[_0x4d04e8(0x31e)]=_0x450dd4,this['_init']());}[_0xc606cd(0x170)](){const _0x1ff745=_0xc606cd;super['dispose'](),this[_0x1ff745(0x168)][_0x1ff745(0xab)](),this[_0x1ff745(0x224)][_0x1ff745(0x13c)](_0x56e21c=>_0x56e21c[_0x1ff745(0x170)]());}['getCollabCursors$'](_0x81d12c){const _0x2c8107=_0xc606cd;return this['_entities'][_0x2c8107(0x128)](_0x81d12c)?this[_0x2c8107(0x224)][_0x2c8107(0x1e8)](_0x81d12c)[_0x2c8107(0xbb)]:this[_0x2c8107(0x168)][_0x2c8107(0x1d2)](_0x3b1b1e[_0x2c8107(0x31c)](_0x1c3088=>_0x1c3088[_0x2c8107(0x258)]===_0x81d12c),_0x3b1b1e[_0x2c8107(0x17d)](_0x26f73c=>_0x26f73c['cursorInfo$']));}[_0xc606cd(0x114)](){const _0x2bedd2=_0xc606cd;this['_univerInstanceService'][_0x2bedd2(0xcf)](_0x3370a3['UniverInstanceType'][_0x2bedd2(0x1e5)])['pipe'](_0x3b1b1e[_0x2bedd2(0x1c6)](this[_0x2bedd2(0x2b9)]))[_0x2bedd2(0x173)](async _0x56a526=>{const _0xd3aa3c=_0x2bedd2,_0x332324=_0x56a526[_0xd3aa3c(0x136)](),_0x2e643c=await this[_0xd3aa3c(0x2d4)](_0x332324);this[_0xd3aa3c(0x168)][_0xd3aa3c(0x162)](_0x2e643c),this['_entities']['set'](_0x332324,_0x2e643c);}),this['_univerInstanceService'][_0x2bedd2(0xcf)](_0x3370a3[_0x2bedd2(0x19d)][_0x2bedd2(0x1c5)])[_0x2bedd2(0x1d2)](_0x3b1b1e[_0x2bedd2(0x1c6)](this[_0x2bedd2(0x2b9)]))[_0x2bedd2(0x1d2)](_0x3b1b1e[_0x2bedd2(0x31c)](_0x219c4c=>!_0x219c4c[_0x2bedd2(0x136)]()['startsWith']('__')))[_0x2bedd2(0x173)](async _0x326209=>{const _0x1d5d88=_0x2bedd2,_0x36ac53=_0x326209[_0x1d5d88(0x136)](),_0x2bd397=await this[_0x1d5d88(0x12f)](_0x36ac53);this[_0x1d5d88(0x168)]['next'](_0x2bd397),this[_0x1d5d88(0x224)]['set'](_0x36ac53,_0x2bd397);}),_0x3b1b1e['merge'](this[_0x2bedd2(0x2a9)]['getTypeOfUnitDisposed$'](_0x3370a3[_0x2bedd2(0x19d)][_0x2bedd2(0x1c5)]),this[_0x2bedd2(0x2a9)][_0x2bedd2(0xe5)](_0x3370a3[_0x2bedd2(0x19d)][_0x2bedd2(0x1e5)]))[_0x2bedd2(0x1d2)](_0x3b1b1e[_0x2bedd2(0x1c6)](this[_0x2bedd2(0x2b9)]))[_0x2bedd2(0x173)](_0x26c031=>{const _0x4a61f9=_0x2bedd2,_0x4cc687=_0x26c031[_0x4a61f9(0x136)](),_0x1db440=this[_0x4a61f9(0x224)]['get'](_0x4cc687);_0x1db440&&(_0x1db440[_0x4a61f9(0x170)](),this[_0x4a61f9(0x224)]['delete'](_0x4cc687));});}async['_startSheetCollabCursor'](_0x5d9079){const _0xcfd48=_0xc606cd,_0x42ce6a=await this[_0xcfd48(0x31e)]['requireSession'](_0x5d9079),_0xaa6f3d=this[_0xcfd48(0xbf)]['createInstance'](_0x1746ab,_0x5d9079,_0x42ce6a);return _0xaa6f3d[_0xcfd48(0x14a)](),_0xaa6f3d;}async[_0xc606cd(0x12f)](_0x2c9bec){const _0x167bbd=_0xc606cd,_0x31798a=await this[_0x167bbd(0x31e)][_0x167bbd(0xec)](_0x2c9bec),_0x3ba40f=this[_0x167bbd(0xbf)][_0x167bbd(0x256)](_0x216cae,_0x2c9bec,_0x31798a);return _0x3ba40f[_0x167bbd(0x14a)](),_0x3ba40f;}};_0xa7d943=_0x344899([_0x18d725(0x0,_0x3370a3['IUniverInstanceService']),_0x18d725(0x1,_0x3370a3[_0xc606cd(0x22d)](_0x3370a3[_0xc606cd(0x217)])),_0x18d725(0x2,_0x3370a3[_0xc606cd(0x22d)](_0x42121a[_0xc606cd(0x17e)]))],_0xa7d943);const _0x842970=0x14,_0x223e6a=0xc8,_0x44cbb9=0x4,_0x29be64=0x5;function _0x242912(_0x3ba06b,_0x2958e9){const _0x4fc4ee=_0xc606cd;let {radius:_0x4e66d4,width:_0xc2e6a7,height:_0x489801}=_0x2958e9;_0x4e66d4=_0x4e66d4!=null?_0x4e66d4:0x0,_0xc2e6a7=_0xc2e6a7!=null?_0xc2e6a7:0x1e,_0x489801=_0x489801!=null?_0x489801:0x1e;let _0x598429=0x0,_0x283a2b=0x0,_0x445c7d=0x0;_0x598429=_0x283a2b=_0x445c7d=Math[_0x4fc4ee(0x2ee)](_0x4e66d4,_0xc2e6a7/0x2,_0x489801/0x2),_0x3ba06b[_0x4fc4ee(0xe8)](),_0x3ba06b['moveTo'](_0x598429,0x0),_0x3ba06b[_0x4fc4ee(0x209)](_0xc2e6a7-_0x283a2b,0x0),_0x3ba06b[_0x4fc4ee(0x1b8)](_0xc2e6a7-_0x283a2b,_0x283a2b,_0x283a2b,Math['PI']*0x3/0x2,0x0,!0x1),_0x3ba06b[_0x4fc4ee(0x209)](_0xc2e6a7,_0x489801-_0x445c7d),_0x3ba06b[_0x4fc4ee(0x1b8)](_0xc2e6a7-_0x445c7d,_0x489801-_0x445c7d,_0x445c7d,0x0,Math['PI']/0x2,!0x1),_0x3ba06b[_0x4fc4ee(0x209)](0x0,_0x489801),_0x3ba06b[_0x4fc4ee(0x209)](0x0,_0x598429),_0x3ba06b[_0x4fc4ee(0x1b8)](_0x598429,_0x598429,_0x598429,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3ba06b[_0x4fc4ee(0x2f2)](),_0x2958e9[_0x4fc4ee(0x2f9)]&&(_0x3ba06b['save'](),_0x3ba06b[_0x4fc4ee(0x21b)]=_0x2958e9['fill'],_0x2958e9[_0x4fc4ee(0x194)]==='evenodd'?_0x3ba06b[_0x4fc4ee(0x2f9)]('evenodd'):_0x3ba06b['fill'](),_0x3ba06b[_0x4fc4ee(0x11b)]());}class _0x69941c extends _0x2e5590[_0xc606cd(0x160)]{constructor(_0x102d56,_0x5904b1){const _0xf8598b=_0xc606cd;super(_0x102d56,_0x5904b1),_0x2f632f(this,'color'),_0x2f632f(this,_0xf8598b(0x232)),(this['color']=_0x5904b1==null?void 0x0:_0x5904b1['color'],this[_0xf8598b(0x232)]=_0x5904b1==null?void 0x0:_0x5904b1[_0xf8598b(0x232)]);}static[_0xc606cd(0x285)](_0x1891bc,_0x1fbe6d){const _0x2e7d08=_0xc606cd,{text:_0x38c14e,color:_0x1609e1}=_0x1fbe6d;_0x1891bc[_0x2e7d08(0xc7)](),_0x1891bc[_0x2e7d08(0x18d)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x253ec7=_0x1891bc[_0x2e7d08(0x241)](_0x38c14e)['width'],_0x419e1a=Math['min'](_0x253ec7+0x2*_0x44cbb9,_0x223e6a);_0x242912(_0x1891bc,{'height':_0x842970,'radius':0x4,'width':_0x419e1a,'fill':_0x1609e1}),_0x1891bc[_0x2e7d08(0x21b)]=_0x2e7d08(0x320);const _0x19828e=_0x44cbb9,_0x51ea4c=_0x842970-_0x29be64,_0x12ea97=_0x223e6a-0x2*_0x44cbb9;if(_0x253ec7>_0x12ea97){let _0x410773='',_0x4ab267=0x0;for(const _0x207553 of _0x38c14e){const _0x121b5a=_0x1891bc[_0x2e7d08(0x241)](_0x207553)[_0x2e7d08(0x2fa)];if(_0x4ab267+_0x121b5a<=_0x12ea97-_0x1891bc[_0x2e7d08(0x241)](_0x2e7d08(0x271))['width'])_0x410773+=_0x207553,_0x4ab267+=_0x121b5a;else{_0x410773+='...';break;}}_0x1891bc[_0x2e7d08(0x161)](_0x410773,_0x19828e,_0x51ea4c);}else _0x1891bc[_0x2e7d08(0x161)](_0x38c14e,_0x19828e,_0x51ea4c);_0x1891bc[_0x2e7d08(0x11b)]();}[_0xc606cd(0xfe)](_0x483671){const _0x9d6f1=_0xc606cd;_0x69941c[_0x9d6f1(0x285)](_0x483671,this);}}const _0x453891=_0xc606cd(0x292),_0x4faaf4=_0xc606cd(0x2c1),_0x6d8787='collab-rect-range-',_0x4aadbb=0x6,_0x12452f=1.5,_0x4a4047=0x4,_0x373c11=1.5,_0x4dfb4d=_0xc606cd(0x1ea);class _0x49db68{constructor(_0x2a74e8,_0x561b39,_0x1f39fc,_0x46b5da){const _0x5e91aa=_0xc606cd;_0x2f632f(this,_0x5e91aa(0x239),[]),_0x2f632f(this,_0x5e91aa(0x281),null),_0x2f632f(this,'_textBubble',null),_0x2f632f(this,_0x5e91aa(0x2ab),null),_0x2f632f(this,_0x5e91aa(0xb3),null),_0x2f632f(this,_0x5e91aa(0x11d),null),(this[_0x5e91aa(0x254)]=_0x2a74e8,this['_scene']=_0x561b39,this['_docSkeleton']=_0x1f39fc,this[_0x5e91aa(0x2e1)]=_0x46b5da,this[_0x5e91aa(0x325)]());}set[_0xc606cd(0x1d6)](_0x363f51){const _0x275043=_0xc606cd;_0x363f51?(this[_0x275043(0x2ab)]&&this[_0x275043(0x2ab)]['hide'](),this['_textBubble']&&this['_textBubble'][_0x275043(0xc5)]()):(this[_0x275043(0x2ab)]&&this[_0x275043(0x2ab)][_0x275043(0xc5)](),this[_0x275043(0x1ac)]&&this[_0x275043(0x1ac)]['hide']());}['dispose'](){const _0xafefb1=_0xc606cd;for(const _0x52400e of this['_shapes'])_0x52400e['dispose']();this[_0xafefb1(0x1ac)]&&this[_0xafefb1(0x1ac)]['dispose'](),this[_0xafefb1(0x2ab)]&&this[_0xafefb1(0x2ab)]['dispose'](),this[_0xafefb1(0x281)]&&this[_0xafefb1(0x281)][_0xafefb1(0x170)](),this[_0xafefb1(0x11d)]&&this[_0xafefb1(0x11d)]();}[_0xc606cd(0x325)](){const _0x4ee560=_0xc606cd;var _0x1562f1;const {_docSkeleton:_0xc7af72,_document:_0x5ba6e6}=this,{color:_0x186d85,name:_0x410f68,ranges:_0x36ca96}=this[_0x4ee560(0x254)],_0x567484=_0x5ba6e6[_0x4ee560(0x2bf)](),{docsLeft:_0x4250ca,docsTop:_0x1d91d8}=_0x567484,_0x579e6e=new _0x1a7d80['NodePositionConvertToCursor'](_0x567484,_0xc7af72);for(const {startOffset:_0x17a1fb,endOffset:_0x6db324,rangeType:_0x282d23,segmentId:_0xdf6f25,segmentPage:_0x3cf3b6,collapsed:_0x57d04c,isActive:_0x50de0d}of _0x36ca96){const _0x40a026=_0xc7af72[_0x4ee560(0x2d2)](_0x17a1fb,!0x0,_0xdf6f25,_0x3cf3b6);let _0xd47ee5=_0xc7af72[_0x4ee560(0x2d2)](_0x6db324,!0x0,_0xdf6f25,_0x3cf3b6);if(_0xd47ee5==null&&(_0xd47ee5=_0xc7af72[_0x4ee560(0x2d2)](_0x6db324-0x1,!0x1,_0xdf6f25,_0x3cf3b6)),_0x50de0d){const {contentBoxPointGroup:_0x6befa7}=_0x579e6e[_0x4ee560(0x280)](_0xd47ee5,_0xd47ee5);if(_0x6befa7[_0x4ee560(0xbd)]===0x0)continue;this[_0x4ee560(0xa5)](_0x186d85,_0x6befa7,_0x4250ca,_0x1d91d8,_0x410f68),this['_eventUnsubscribe']=this[_0x4ee560(0x156)]();}if(_0x40a026&&_0xd47ee5){if(_0x282d23===_0x3370a3[_0x4ee560(0x2ce)][_0x4ee560(0x108)]){const _0x332de6=new _0x1a7d80[(_0x4ee560(0xc8))](_0x567484,_0xc7af72),{pointGroup:_0x426d77}=(_0x1562f1=_0x332de6[_0x4ee560(0x280)](_0x40a026,_0xd47ee5))!=null?_0x1562f1:{};if(_0x426d77==null||_0x426d77[_0x4ee560(0xbd)]===0x0)continue;this[_0x4ee560(0x272)](_0x186d85,_0x426d77,_0x4250ca,_0x1d91d8);}else{if(!_0x57d04c){const {borderBoxPointGroup:_0x3995ff}=_0x579e6e[_0x4ee560(0x280)](_0x40a026,_0xd47ee5);if(_0x3995ff[_0x4ee560(0xbd)]===0x0)continue;this['_drawTextRange'](_0x186d85,_0x3995ff,_0x4250ca,_0x1d91d8);}}}}}['_drawAnchor'](_0x251073,_0x2cfb6f,_0x7bc10a,_0x47a297,_0x416222){const _0x177ee7=_0xc606cd,_0x523041=this[_0x177ee7(0x1dc)](_0x2cfb6f),{left:_0x11d9e2,top:_0x499455,height:_0x4c59c4}=_0x523041,_0x39d958=this[_0x177ee7(0xa2)](),_0x303547=_0x373c11/_0x39d958,_0x5058ea=new _0x2e5590[(_0x177ee7(0x13e))](_0x453891+_0x3370a3[_0x177ee7(0x1bd)][_0x177ee7(0x276)](_0x4aadbb),{'left':_0x11d9e2+_0x7bc10a-_0x303547,'top':_0x499455+_0x47a297,'height':_0x4c59c4,'width':_0x12452f,'fill':_0x251073||_0x2e5590[_0x177ee7(0x154)](_0x3370a3[_0x177ee7(0x28d)][_0x177ee7(0x1c8)],0x0),'strokeWidth':_0x303547,'stroke':_0x4dfb4d,'evented':!0x0});this[_0x177ee7(0x281)]=_0x5058ea,this[_0x177ee7(0x1bb)][_0x177ee7(0x99)](_0x5058ea,_0x1a7d80['TEXT_RANGE_LAYER_INDEX']);const _0x5c1497=new _0x2e5590[(_0x177ee7(0x13e))](_0x453891+_0x3370a3[_0x177ee7(0x1bd)][_0x177ee7(0x276)](_0x4aadbb),{'left':_0x11d9e2+_0x7bc10a-_0x303547,'top':_0x499455+_0x47a297-_0x4a4047/0x2,'height':_0x4a4047,'width':_0x4a4047,'fill':_0x251073||_0x2e5590[_0x177ee7(0x154)](_0x3370a3[_0x177ee7(0x28d)][_0x177ee7(0x1c8)],0x0),'strokeWidth':0x0,'stroke':_0x251073||_0x2e5590[_0x177ee7(0x154)](_0x3370a3[_0x177ee7(0x28d)][_0x177ee7(0x1c8)],0x0),'evented':!0x1});this[_0x177ee7(0x2ab)]=_0x5c1497,this[_0x177ee7(0x1bb)][_0x177ee7(0x99)](_0x5c1497,_0x1a7d80[_0x177ee7(0xff)]);const _0x5da3bc=new _0x69941c(_0x453891+_0x3370a3[_0x177ee7(0x1bd)]['generateRandomId'](_0x4aadbb),{'left':_0x11d9e2+_0x7bc10a-_0x303547,'top':_0x499455+_0x47a297-_0x842970,'text':_0x416222,'color':_0x251073});this[_0x177ee7(0x1ac)]=_0x5da3bc,this[_0x177ee7(0x1bb)]['addObject'](_0x5da3bc,_0x1a7d80[_0x177ee7(0xff)]),this[_0x177ee7(0x1d6)]=!0x1;}[_0xc606cd(0x156)](){const _0xade8a6=_0xc606cd,_0x59c23e=this[_0xade8a6(0x281)][_0xade8a6(0x2a1)]['subscribeEvent'](()=>{const _0x2699d0=_0xade8a6;this[_0x2699d0(0x1d6)]=!0x0;}),_0x2349c6=this[_0xade8a6(0x281)][_0xade8a6(0x26c)]['subscribeEvent'](()=>{const _0x6cc4fe=_0xade8a6;this[_0x6cc4fe(0xb3)]&&clearTimeout(this[_0x6cc4fe(0xb3)]),this[_0x6cc4fe(0xb3)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x54073c=_0xade8a6;_0x59c23e[_0x54073c(0x2f7)](),_0x2349c6[_0x54073c(0x2f7)]();};}[_0xc606cd(0x25a)](_0x273cba,_0xea1abf,_0x2a792c,_0x2b615f){const _0x5b7e26=_0xc606cd,_0x2a3f1f=new _0x3370a3[(_0x5b7e26(0x2fe))](_0x273cba)[_0x5b7e26(0xa7)](0.2)[_0x5b7e26(0x9e)](),_0x592834=new _0x2e5590[(_0x5b7e26(0x14c))](_0x4faaf4+_0x3370a3[_0x5b7e26(0x1bd)]['generateRandomId'](_0x4aadbb),{'pointsGroup':_0xea1abf,'fill':_0x2a3f1f||_0x2e5590[_0x5b7e26(0x154)](_0x3370a3['COLORS'][_0x5b7e26(0x1c8)],0.2),'left':_0x2a792c,'top':_0x2b615f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5b7e26(0x239)][_0x5b7e26(0x1fd)](_0x592834),this[_0x5b7e26(0x1bb)]['addObject'](_0x592834,_0x1a7d80[_0x5b7e26(0xff)]);}[_0xc606cd(0x272)](_0x4d4572,_0x57310f,_0x59cf8d,_0x319ebe){const _0x243e66=_0xc606cd,_0x4caa4b=new _0x3370a3[(_0x243e66(0x2fe))](_0x4d4572)[_0x243e66(0xa7)](0.2)[_0x243e66(0x9e)](),_0x4c3617=new _0x2e5590[(_0x243e66(0x14c))](_0x6d8787+_0x3370a3[_0x243e66(0x1bd)][_0x243e66(0x276)](_0x4aadbb),{'pointsGroup':_0x57310f,'fill':_0x4caa4b||_0x2e5590[_0x243e66(0x154)](_0x3370a3[_0x243e66(0x28d)][_0x243e66(0x1c8)],0.2),'left':_0x59cf8d,'top':_0x319ebe,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x243e66(0x239)][_0x243e66(0x1fd)](_0x4c3617),this[_0x243e66(0x1bb)][_0x243e66(0x99)](_0x4c3617,_0x1a7d80[_0x243e66(0xff)]);}['_getAnchorBounding'](_0x4ee2df){const _0x29396a=_0x4ee2df[0x0],_0x1072e7=_0x29396a[0x0],_0x8f140=_0x29396a[0x2],{x:_0x29420e,y:_0x574d8b}=_0x1072e7,{x:_0x454cee,y:_0x14625f}=_0x8f140;return{'left':_0x29420e,'top':_0x574d8b,'width':_0x454cee-_0x29420e,'height':_0x14625f-_0x574d8b};}[_0xc606cd(0xa2)](){const _0x4d9471=_0xc606cd,{scaleX:_0xb0bc6e,scaleY:_0x3a0dee}=this[_0x4d9471(0x1bb)]['getAncestorScale']();return Math[_0x4d9471(0x257)](_0xb0bc6e,_0x3a0dee);}}var _0x4be30a=Object[_0xc606cd(0x250)],_0x3ac7e5=(_0x354540,_0x1f3c68,_0x211156,_0x105a28)=>{for(var _0x1f2060=_0x105a28>0x1?void 0x0:_0x105a28?_0x4be30a(_0x1f3c68,_0x211156):_0x1f3c68,_0x468cc1=_0x354540['length']-0x1,_0x2785bf;_0x468cc1>=0x0;_0x468cc1--)(_0x2785bf=_0x354540[_0x468cc1])&&(_0x1f2060=_0x2785bf(_0x1f2060)||_0x1f2060);return _0x1f2060;},_0x51791d=(_0x20099b,_0x297120)=>(_0x531938,_0x29ee02)=>_0x297120(_0x531938,_0x29ee02,_0x20099b);let _0x40b595=class extends _0x3370a3[_0xc606cd(0x279)]{constructor(_0x26ecca,_0x4bb970,_0x52fda9,_0x1c9898,_0x279de9){const _0x382302=_0xc606cd;super(),_0x2f632f(this,_0x382302(0x2c8),[]),_0x2f632f(this,'_cursors',[]),(this[_0x382302(0x30f)]=_0x26ecca,this['_docSkeletonManagerService']=_0x4bb970,this[_0x382302(0x315)]=_0x52fda9,this[_0x382302(0x245)]=_0x1c9898,this[_0x382302(0x30b)]=_0x279de9,this[_0x382302(0x114)]());}[_0xc606cd(0x114)](){const _0x577437=_0xc606cd,_0xb6cd38=this['_context'][_0x577437(0x145)],_0x38c779=this[_0x577437(0x246)];this[_0x577437(0x12c)](_0x3b1b1e[_0x577437(0x2df)]([this[_0x577437(0x315)][_0x577437(0x2c2)](_0xb6cd38),this[_0x577437(0x30b)]['currentTheme$']])['pipe'](_0xdf71f2[_0x577437(0x18e)](([_0x225df0,_0x3b5ec7])=>({'skeleton':_0x38c779['getSkeleton'](),'cursors':[..._0x225df0[_0x577437(0x2bd)]()][_0x577437(0x1fe)](_0x1161f6=>({..._0x1161f6,'color':_0x3b5ec7[_0x1161f6[_0x577437(0x169)]]}))})))['subscribe'](_0x5ba91d=>{const _0x1671a1=_0x577437;if(this[_0x1671a1(0xb1)](),_0x5ba91d){const {skeleton:_0x20c32c,cursors:_0x20e002}=_0x5ba91d;this[_0x1671a1(0x106)](_0x20c32c,_0x20e002);}})),this[_0x577437(0x26f)](),this[_0x577437(0x1db)]();}['_updateCollabCursors'](_0x3929b7,_0x26f08c){const _0x52a269=_0xc606cd,{scene:_0x161acb,mainComponent:_0x42dcbb}=this[_0x52a269(0x30f)],_0x1de0d2=_0x26f08c[_0x52a269(0x18e)](_0x2da0b8=>new _0x49db68(_0x2da0b8,_0x161acb,_0x3929b7,_0x42dcbb));this[_0x52a269(0x2c8)]=_0x1de0d2,this[_0x52a269(0x13d)]=_0x26f08c;}[_0xc606cd(0x278)](){const _0x2122db=_0xc606cd;this[_0x2122db(0xb1)]();const {scene:_0x1e3762,mainComponent:_0x6a919c}=this[_0x2122db(0x30f)],_0xf42b8b=this[_0x2122db(0x246)][_0x2122db(0xe9)](),_0x4a361f=this['_cursors'][_0x2122db(0x18e)](_0x3025e2=>new _0x49db68(_0x3025e2,_0x1e3762,_0xf42b8b,_0x6a919c));this[_0x2122db(0x2c8)]=_0x4a361f;}[_0xc606cd(0xb1)](){const _0x3aee99=_0xc606cd;this[_0x3aee99(0x2c8)][_0x3aee99(0x13c)](_0x1554b8=>_0x1554b8['dispose']()),this[_0x3aee99(0x2c8)]=[];}[_0xc606cd(0x1db)](){const _0x14ee74=_0xc606cd,_0x1e1395=[_0x1a7d80[_0x14ee74(0x229)]['id']];this[_0x14ee74(0x12c)](this[_0x14ee74(0x245)]['onCommandExecuted'](_0x283d99=>{const _0x3fca58=_0x14ee74;_0x1e1395[_0x3fca58(0xf7)](_0x283d99['id'])&&_0x283d99[_0x3fca58(0x29d)][_0x3fca58(0x145)]===this[_0x3fca58(0x30f)]['unitId']&&this[_0x3fca58(0x278)]();}));}['_initResize'](){const _0x54433c=_0xc606cd;this[_0x54433c(0x12c)](_0x3370a3[_0x54433c(0x115)](this[_0x54433c(0x30f)][_0x54433c(0x1b6)]['onTransformChange$'])[_0x54433c(0x1d2)](_0xdf71f2[_0x54433c(0x31c)](_0x4c88d3=>_0x4c88d3[_0x54433c(0xee)]===_0x2e5590[_0x54433c(0xd6)][_0x54433c(0x1b4)]),_0xdf71f2['throttleTime'](0x10))[_0x54433c(0x173)](()=>{const _0x416355=_0x54433c;this[_0x416355(0x278)]();}));}};_0x40b595=_0x3ac7e5([_0x51791d(0x1,_0x3370a3[_0xc606cd(0x22d)](_0x388719[_0xc606cd(0x98)])),_0x51791d(0x2,_0x3370a3[_0xc606cd(0x22d)](_0xa7d943)),_0x51791d(0x3,_0x3370a3[_0xc606cd(0x1b0)]),_0x51791d(0x4,_0x3370a3[_0xc606cd(0x22d)](_0x3370a3['ThemeService']))],_0x40b595);const _0x3476dc=0x1,_0x355d3d=1.5;class _0x318257 extends _0x2e5590[_0xc606cd(0x160)]{constructor(_0x214c69,_0x4c0c89){const _0x4890f8=_0xc606cd;super(_0x214c69,_0x4c0c89),_0x2f632f(this,_0x4890f8(0x18f)),_0x2f632f(this,_0x4890f8(0xed),!0x1),_0x2f632f(this,_0x4890f8(0xb5)),_0x2f632f(this,'_name',''),_0x2f632f(this,'_labelPosition',_0x4890f8(0x1a7)),_0x2f632f(this,_0x4890f8(0xf3)),(_0x4c0c89&&this[_0x4890f8(0x16b)](_0x4c0c89),this[_0x4890f8(0x2a1)][_0x4890f8(0x314)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x4890f8(0x26c)][_0x4890f8(0x314)](()=>this[_0x4890f8(0x16b)]({'hovered':!0x1})));}[_0xc606cd(0x16b)](_0x3cba59){const _0x49f025=_0xc606cd;var _0x2653f8,_0x4668b1,_0x562319,_0x3b651b,_0x38c5c7,_0x2bc61c;this['_color']=(_0x2653f8=_0x3cba59[_0x49f025(0x169)])!=null?_0x2653f8:this[_0x49f025(0x18f)],this[_0x49f025(0xed)]=(_0x4668b1=_0x3cba59[_0x49f025(0x289)])!=null?_0x4668b1:this[_0x49f025(0xed)],this[_0x49f025(0xb5)]=(_0x562319=_0x3cba59[_0x49f025(0x203)])!=null?_0x562319:this['_range'],this[_0x49f025(0x121)]=(_0x3b651b=_0x3cba59[_0x49f025(0x1eb)])!=null?_0x3b651b:this[_0x49f025(0x121)],this[_0x49f025(0x288)]=(_0x38c5c7=_0x3cba59[_0x49f025(0x2be)])!=null?_0x38c5c7:this[_0x49f025(0x288)],this[_0x49f025(0xf3)]=(_0x2bc61c=_0x3cba59[_0x49f025(0x119)])!=null?_0x2bc61c:this[_0x49f025(0xf3)],this[_0x49f025(0x131)]({'width':_0x3cba59[_0x49f025(0x2fa)],'height':_0x3cba59['height']});}['onMouseMove'](_0x415d0f){const _0x5cb315=_0xc606cd,{row:_0x1f5ebd,column:_0x204bdb}=_0x415d0f;if(_0x1f5ebd>=this[_0x5cb315(0xb5)][_0x5cb315(0x303)]&&_0x1f5ebd<=this[_0x5cb315(0xb5)]['endRow']&&_0x204bdb>=this[_0x5cb315(0xb5)][_0x5cb315(0x2b7)]&&_0x204bdb<=this[_0x5cb315(0xb5)][_0x5cb315(0xaf)]){this[_0x5cb315(0x16b)]({'hovered':!0x0});return;}this[_0x5cb315(0x16b)]({'hovered':!0x1});}['triggerDblclick'](_0x364089){return!0x1;}['_draw'](_0x477db8){const _0x4cd055=_0xc606cd;_0x2e5590['Rect'][_0x4cd055(0x285)](_0x477db8,{'width':this['width'],'height':this[_0x4cd055(0x22c)],'strokeWidth':_0x355d3d,'stroke':this[_0x4cd055(0x18f)],'evented':!0x1,'fill':this[_0x4cd055(0xf3)]}),this[_0x4cd055(0xed)]&&(_0x477db8['save'](),_0x477db8['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x4cd055(0x288)]==='bottom'?0x0:-0x14),_0x69941c[_0x4cd055(0x285)](_0x477db8,{'text':this['_name'],'color':this[_0x4cd055(0x18f)]}),_0x477db8[_0x4cd055(0x11b)]());}}var _0x4f8266=Object['getOwnPropertyDescriptor'],_0xa49b5e=(_0x36c88b,_0x2e741b,_0x576f73,_0x2eb07e)=>{const _0x26b0ce=_0xc606cd;for(var _0x9fab3f=_0x2eb07e>0x1?void 0x0:_0x2eb07e?_0x4f8266(_0x2e741b,_0x576f73):_0x2e741b,_0x5697b2=_0x36c88b[_0x26b0ce(0xbd)]-0x1,_0x4f7dfa;_0x5697b2>=0x0;_0x5697b2--)(_0x4f7dfa=_0x36c88b[_0x5697b2])&&(_0x9fab3f=_0x4f7dfa(_0x9fab3f)||_0x9fab3f);return _0x9fab3f;},_0x3efd1b=(_0x1c8fd9,_0x15e06b)=>(_0x4e3545,_0x696efd)=>_0x15e06b(_0x4e3545,_0x696efd,_0x1c8fd9);const _0x132a11=0x1389;let _0x280704=class extends _0x3370a3[_0xc606cd(0x279)]{constructor(_0xee390d,_0x1098b7,_0x3deec1,_0x60cd94){const _0x277656=_0xc606cd;super(),_0x2f632f(this,_0x277656(0x13d),new Set()),_0x2f632f(this,_0x277656(0x15a),null),(this['_context']=_0xee390d,this['_sheetSkeletonManagerService']=_0x1098b7,this['_collabCursorController']=_0x3deec1,this[_0x277656(0x30b)]=_0x60cd94,this['_init']());}['_init'](){const _0x28f4df=_0xc606cd;this[_0x28f4df(0x310)]['currentSkeleton$'][_0x28f4df(0x1d2)](_0xdf71f2[_0x28f4df(0x1c6)](this[_0x28f4df(0x2b9)]),_0xdf71f2[_0x28f4df(0x17d)](_0x312301=>{const _0x473703=_0x28f4df;if(_0x312301){const _0xff6d6f=_0x312301[_0x473703(0x2cf)];return _0x3b1b1e[_0x473703(0x2df)](this['_collabCursorController'][_0x473703(0x2c2)](this[_0x473703(0x30f)][_0x473703(0x145)]),this[_0x473703(0x30b)][_0x473703(0xa4)])['pipe'](_0xdf71f2[_0x473703(0x18e)](([_0x5432f6,_0x4ca93a])=>{const _0x2b6bb4=_0x473703,_0x312d54=new Map();return _0x5432f6[_0x2b6bb4(0x13c)]((_0x2db645,_0x5e03d6)=>{const _0x5bab85=_0x2b6bb4;if(_0x2db645['sheetID']===_0xff6d6f){const _0x38c21a={..._0x2db645};_0x38c21a[_0x5bab85(0x169)]=_0x4ca93a[_0x2db645[_0x5bab85(0x169)]],_0x312d54[_0x5bab85(0x270)](_0x5e03d6,_0x38c21a);}}),{'skeleton':_0x312301,'cursors':_0x312d54};}));}return _0x3b1b1e['of']({'skeleton':null,'cursors':new Map()});}))[_0x28f4df(0x173)](({skeleton:_0x27e4a2,cursors:_0x496e7a})=>{this['_removeCollabCursors'](),_0x27e4a2&&this['_updateCollabCursors'](_0x27e4a2,_0x496e7a);}),this['_sheetSkeletonManagerService'][_0x28f4df(0x32b)]['subscribe'](_0x120571=>{const _0x50218=_0x28f4df;if(_0x120571==null)return;const {skeleton:_0x662db7}=_0x120571,{scene:_0x1c3ab0}=this[_0x50218(0x30f)];_0x1c3ab0[_0x50218(0x328)]['subscribeEvent'](_0x3370a3[_0x50218(0x2d8)](_0x8934b2=>{const _0x154e0e=_0x50218;var _0x15a1bf,_0x4649f8;const {offsetX:_0x19cd9d,offsetY:_0x5e471c}=_0x8934b2,{x:_0x3ff542,y:_0x339021}=_0x1c3ab0[_0x154e0e(0x152)](_0x2e5590['Vector2'][_0x154e0e(0x1ed)]([_0x19cd9d,_0x5e471c])),{scaleX:_0x51f035,scaleY:_0xeeb1c}=_0x1c3ab0[_0x154e0e(0x2e3)](),_0x444e3e=_0x1c3ab0[_0x154e0e(0x31a)](_0x2e5590[_0x154e0e(0xae)][_0x154e0e(0xdd)]),_0x4d67d9=_0x1c3ab0[_0x154e0e(0x238)](_0x2e5590[_0x154e0e(0x2dd)][_0x154e0e(0x1ed)]([_0x3ff542,_0x339021]),_0x444e3e),_0x2b58cb=_0x662db7['getCellPositionByOffset'](_0x19cd9d,_0x5e471c,_0x51f035,_0xeeb1c,_0x4d67d9);((_0x15a1bf=this[_0x154e0e(0x15a)])==null?void 0x0:_0x15a1bf[_0x154e0e(0x226)])===_0x2b58cb['column']&&((_0x4649f8=this[_0x154e0e(0x15a)])==null?void 0x0:_0x4649f8['row'])===_0x2b58cb[_0x154e0e(0x1e6)]||this[_0x154e0e(0x13d)][_0x154e0e(0x13c)](_0x40a849=>{_0x40a849['onMouseMove'](_0x2b58cb);});},0x64));});}[_0xc606cd(0x106)](_0x4657ca,_0x2966ab){const _0x37518e=_0xc606cd;var _0x382296;const _0x3e7920=(_0x382296=this['_sheetSkeletonManagerService'][_0x37518e(0x126)]())==null?void 0x0:_0x382296['skeleton'];if(!_0x3e7920)return;const _0x2f1526=this[_0x37518e(0x2f6)]();if(!_0x2f1526)return;this[_0x37518e(0x13d)][_0x37518e(0x13c)](_0xecb406=>{const _0x495f17=_0x37518e;_0xecb406[_0x495f17(0x20f)]();});const {scene:_0x59540e}=_0x2f1526,_0x2e60e4=_0x13bd79(Array[_0x37518e(0x2cd)](_0x2966ab[_0x37518e(0x2bd)]()))[_0x37518e(0x18e)](_0x347fa1=>{const _0x180141=_0x37518e,{color:_0x22f92a,range:_0x2bdf97,name:_0x229fa0,selection:_0x18bd4c,sheetID:_0x2f826b}=_0x347fa1,{startColumn:_0x2af911,startRow:_0x276e19,endColumn:_0x101583,endRow:_0x49340c}=_0x2bdf97,_0x20bf5b=_0xf37671[_0x180141(0x331)](_0x276e19,_0x2af911,_0x59540e,_0x3e7920),_0x43d88e=_0xf37671[_0x180141(0x331)](_0x49340c,_0x101583,_0x59540e,_0x3e7920),{columnHeaderHeightAndMarginTop:_0x363dc2}=_0x3e7920,{startX:_0x21a193,startY:_0x2fd2bd}=_0x20bf5b,{endX:_0x40dcad,endY:_0x3ac5a0}=_0x43d88e,_0x54960e=_0x40dcad-_0x21a193,_0x4d3b07=_0x3ac5a0-_0x2fd2bd,_0x4bc2a2={'labelPosition':_0x2fd2bd-_0x363dc2>=_0x842970?_0x180141(0x1a7):_0x180141(0x184),'sheetID':_0x2f826b,'range':_0x2bdf97,'color':_0x22f92a,'name':_0x229fa0,'selection':_0x18bd4c,'left':_0x21a193,'top':_0x2fd2bd,'width':_0x54960e,'height':_0x4d3b07,'evented':!0x1,'zIndex':_0x132a11};return new _0x318257(_0x229fa0,_0x4bc2a2);});_0x59540e[_0x37518e(0x266)](_0x2e60e4,_0x3476dc),this[_0x37518e(0x13d)]=new Set(_0x2e60e4);}[_0xc606cd(0xb1)](){const _0x56e016=_0xc606cd;var _0x40effc;(_0x40effc=this[_0x56e016(0x13d)])==null||_0x40effc['forEach'](_0x568967=>_0x568967[_0x56e016(0x170)]());}['_getSheetObject'](){const _0x183461=_0xc606cd;return _0xf37671['getSheetObject'](this[_0x183461(0x30f)][_0x183461(0x186)],this['_context']);}};_0x280704=_0xa49b5e([_0x3efd1b(0x1,_0x3370a3[_0xc606cd(0x22d)](_0xf37671[_0xc606cd(0x1e3)])),_0x3efd1b(0x2,_0x3370a3[_0xc606cd(0x22d)](_0xa7d943)),_0x3efd1b(0x3,_0x3370a3[_0xc606cd(0x22d)](_0x3370a3[_0xc606cd(0x13f)]))],_0x280704);function _0x13bd79(_0x266624){const _0x43390f=_0xc606cd,_0x533b30=new Map();return _0x266624[_0x43390f(0x13c)](_0x3a3146=>{const _0xd9b160=_0x43390f;if(_0x533b30[_0xd9b160(0x128)](_0x3a3146[_0xd9b160(0xe4)])){const _0x245442=_0x533b30[_0xd9b160(0x1e8)](_0x3a3146[_0xd9b160(0xe4)]);_0x245442[_0xd9b160(0x1eb)]+=',\x20'+_0x3a3146[_0xd9b160(0x1eb)];}else _0x533b30['set'](_0x3a3146[_0xd9b160(0xe4)],_0x3a3146);}),Array[_0x43390f(0x2cd)](_0x533b30[_0x43390f(0x2bd)]());}var _0x5ad7bd=function(){const _0x16cf70=_0xc606cd;return _0x5ad7bd=Object[_0x16cf70(0x1c0)]||function(_0x8d6df9){const _0x3258c7=_0x16cf70;for(var _0x5964cc,_0x501709=0x1,_0x3e33fc=arguments[_0x3258c7(0xbd)];_0x501709<_0x3e33fc;_0x501709++){_0x5964cc=arguments[_0x501709];for(var _0x2e7637 in _0x5964cc)Object[_0x3258c7(0x2b8)][_0x3258c7(0x1a8)][_0x3258c7(0x30c)](_0x5964cc,_0x2e7637)&&(_0x8d6df9[_0x2e7637]=_0x5964cc[_0x2e7637]);}return _0x8d6df9;},_0x5ad7bd['apply'](this,arguments);},_0x36ac41=function(_0x2695b9,_0x56949f){const _0x53d1ba=_0xc606cd;var _0x58c8ec={};for(var _0x2d44df in _0x2695b9)Object[_0x53d1ba(0x2b8)][_0x53d1ba(0x1a8)][_0x53d1ba(0x30c)](_0x2695b9,_0x2d44df)&&_0x56949f['indexOf'](_0x2d44df)<0x0&&(_0x58c8ec[_0x2d44df]=_0x2695b9[_0x2d44df]);if(_0x2695b9!=null&&typeof Object[_0x53d1ba(0x1be)]=='function'){for(var _0x3b6df0=0x0,_0x2d44df=Object[_0x53d1ba(0x1be)](_0x2695b9);_0x3b6df0<_0x2d44df[_0x53d1ba(0xbd)];_0x3b6df0++)_0x56949f[_0x53d1ba(0x1a0)](_0x2d44df[_0x3b6df0])<0x0&&Object['prototype'][_0x53d1ba(0x300)]['call'](_0x2695b9,_0x2d44df[_0x3b6df0])&&(_0x58c8ec[_0x2d44df[_0x3b6df0]]=_0x2695b9[_0x2d44df[_0x3b6df0]]);}return _0x58c8ec;},_0x1a4770=_0x2931f7[_0xc606cd(0xea)](function(_0x4f99b6,_0x50a2dc){const _0x2796a8=_0xc606cd;var _0x1934f7=_0x4f99b6[_0x2796a8(0x2a8)],_0x5402b0=_0x4f99b6['id'],_0x4c1e5c=_0x4f99b6[_0x2796a8(0x1b7)],_0x132793=_0x4f99b6[_0x2796a8(0x24b)],_0x4c50fe=_0x36ac41(_0x4f99b6,['icon','id',_0x2796a8(0x1b7),'extend']),_0x295dfd='univerjs-icon\x20univerjs-icon-'[_0x2796a8(0x9a)](_0x5402b0,'\x20')[_0x2796a8(0x9a)](_0x4c1e5c||'')[_0x2796a8(0x1b5)](),_0x1217e0=_0x2931f7[_0x2796a8(0x172)]('_'[_0x2796a8(0x9a)](_0x2d3d66()));return _0x3f258f(_0x1934f7,''['concat'](_0x5402b0),{'defIds':_0x1934f7['defIds'],'idSuffix':_0x1217e0['current']},_0x5ad7bd({'ref':_0x50a2dc,'className':_0x295dfd},_0x4c50fe),_0x132793);});function _0x3f258f(_0x553999,_0x485e3b,_0x149de3,_0x8b518d,_0x6991cd){const _0x51789b=_0xc606cd;return _0x2931f7[_0x51789b(0xfb)](_0x553999['tag'],_0x5ad7bd(_0x5ad7bd({'key':_0x485e3b},_0x10e227(_0x553999,_0x149de3,_0x6991cd)),_0x8b518d),(_0x120dc1(_0x553999,_0x149de3)[_0x51789b(0xf5)]||[])[_0x51789b(0x18e)](function(_0x544721,_0x52e3ac){const _0x90d204=_0x51789b;return _0x3f258f(_0x544721,''['concat'](_0x485e3b,'-')[_0x90d204(0x9a)](_0x553999['tag'],'-')[_0x90d204(0x9a)](_0x52e3ac),_0x149de3,void 0x0,_0x6991cd);}));}function _0x10e227(_0x3300e4,_0x23986b,_0x7c63e6){const _0x2dae27=_0xc606cd;var _0x46c053=_0x5ad7bd({},_0x3300e4[_0x2dae27(0xf8)]);_0x7c63e6!=null&&_0x7c63e6['colorChannel1']&&_0x46c053[_0x2dae27(0x2f9)]===_0x2dae27(0x2ae)&&(_0x46c053['fill']=_0x7c63e6['colorChannel1']),_0x3300e4['tag']===_0x2dae27(0xeb)&&_0x46c053['id']&&(_0x46c053['id']=_0x46c053['id']+_0x23986b[_0x2dae27(0x1f6)]),Object[_0x2dae27(0x123)](_0x46c053)['forEach'](function(_0x14f8f3){const _0x5c7ad6=_0x2dae27;var _0x2174b1=_0x14f8f3[0x0],_0x24784e=_0x14f8f3[0x1];_0x2174b1===_0x5c7ad6(0xeb)&&typeof _0x24784e==_0x5c7ad6(0x20e)&&(_0x46c053[_0x2174b1]=_0x24784e['replace'](/url\(#(.*)\)/,_0x5c7ad6(0x1da)[_0x5c7ad6(0x9a)](_0x23986b['idSuffix'],')')));});var _0x57a8cf=_0x23986b[_0x2dae27(0x15d)];return!_0x57a8cf||_0x57a8cf[_0x2dae27(0xbd)]===0x0||(_0x3300e4[_0x2dae27(0x231)]===_0x2dae27(0x182)&&_0x46c053[_0x2dae27(0x227)]&&(_0x46c053[_0x2dae27(0x227)]=_0x46c053[_0x2dae27(0x227)]+_0x23986b['idSuffix']),Object[_0x2dae27(0x123)](_0x46c053)[_0x2dae27(0x13c)](function(_0xfc87fa){const _0x59d1ca=_0x2dae27;var _0x38ed55=_0xfc87fa[0x0],_0x3a50e5=_0xfc87fa[0x1];typeof _0x3a50e5=='string'&&(_0x46c053[_0x38ed55]=_0x3a50e5['replace'](/url\(#(.*)\)/,_0x59d1ca(0x1da)[_0x59d1ca(0x9a)](_0x23986b[_0x59d1ca(0x1f6)],')')));})),_0x46c053;}function _0x120dc1(_0x34e18c,_0x3a2d82){const _0x31feda=_0xc606cd;var _0x4d9894,_0x194fed=_0x3a2d82[_0x31feda(0x15d)];return!_0x194fed||_0x194fed[_0x31feda(0xbd)]===0x0?_0x34e18c:_0x34e18c[_0x31feda(0x231)]===_0x31feda(0x11a)&&(!((_0x4d9894=_0x34e18c[_0x31feda(0xf5)])===null||_0x4d9894===void 0x0)&&_0x4d9894[_0x31feda(0xbd)])?_0x5ad7bd(_0x5ad7bd({},_0x34e18c),{'children':_0x34e18c['children'][_0x31feda(0x18e)](function(_0x35a641){const _0x597333=_0x31feda;return typeof _0x35a641[_0x597333(0xf8)]['id']=='string'&&_0x194fed&&_0x194fed[_0x597333(0x1a0)](_0x35a641[_0x597333(0xf8)]['id'])>-0x1?_0x5ad7bd(_0x5ad7bd({},_0x35a641),{'attrs':_0x5ad7bd(_0x5ad7bd({},_0x35a641[_0x597333(0xf8)]),{'id':_0x35a641['attrs']['id']+_0x3a2d82[_0x597333(0x1f6)]})}):_0x35a641;})}):_0x34e18c;}function _0x2d3d66(){const _0x3322d5=_0xc606cd;return Math[_0x3322d5(0x2ad)]()[_0x3322d5(0x1e9)](0x24)[_0x3322d5(0x1cd)](0x2,0x8);}_0x1a4770['displayName']='UniverIcon';var _0x36b5ee={'tag':_0xc606cd(0x2f3),'attrs':{'fill':_0xc606cd(0x291),'viewBox':'0\x200\x2016\x2016','width':_0xc606cd(0x2d3),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0xc606cd(0x24d),'attrs':{'stroke':'currentColor','d':_0xc606cd(0x109),'strokeLinecap':_0xc606cd(0x2d6),'strokeLinejoin':_0xc606cd(0x2d6),'strokeWidth':1.2}}]},{'tag':_0xc606cd(0x11a),'attrs':{},'children':[{'tag':_0xc606cd(0x30d),'attrs':{'id':_0xc606cd(0x299)},'children':[{'tag':_0xc606cd(0x24d),'attrs':{'fill':_0xc606cd(0x2a3),'d':_0xc606cd(0x102)}}]}]}],'defIds':[_0xc606cd(0x299)]},_0x23e589=_0x2931f7[_0xc606cd(0xea)](function(_0x39894b,_0xef1c62){const _0xc3a697=_0xc606cd;return _0x2931f7[_0xc3a697(0xfb)](_0x1a4770,Object[_0xc3a697(0x1c0)]({},_0x39894b,{'id':'off-line-single','ref':_0xef1c62,'icon':_0x36b5ee}));});_0x23e589[_0xc606cd(0xb7)]=_0xc606cd(0x200);var _0xba4caa={'tag':_0xc606cd(0x2f3),'attrs':{'fill':'none','viewBox':_0xc606cd(0x1f7),'width':_0xc606cd(0x2d3),'height':_0xc606cd(0x2d3)},'children':[{'tag':'g','attrs':{'clipPath':_0xc606cd(0x26a)},'children':[{'tag':'path','attrs':{'stroke':_0xc606cd(0x15f),'d':_0xc606cd(0x290),'strokeLinecap':_0xc606cd(0x2d6),'strokeLinejoin':_0xc606cd(0x2d6),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0xc606cd(0x201)},'children':[{'tag':_0xc606cd(0x24d),'attrs':{'fill':_0xc606cd(0x2a3),'d':_0xc606cd(0x102),'transform':_0xc606cd(0x13a)}}]}]}],'defIds':[_0xc606cd(0x201)]},_0x596645=_0x2931f7['forwardRef'](function(_0x13d542,_0x299a98){const _0x2d1dc5=_0xc606cd;return _0x2931f7[_0x2d1dc5(0xfb)](_0x1a4770,Object['assign']({},_0x13d542,{'id':_0x2d1dc5(0xb6),'ref':_0x299a98,'icon':_0xba4caa}));});_0x596645[_0xc606cd(0xb7)]='OnLineSingle';const _0x5778d7={'onlineStatusIcon':_0xc606cd(0xdf),'onlineStatusTitle':'univer-online-status-title','onlineStatus':_0xc606cd(0x1ce),'online':_0xc606cd(0x265),'offline':_0xc606cd(0x31f)};function _0x4bd7c3(_0x26985c){const _0x14df03=_0xc606cd;switch(_0x26985c){case _0x42121a[_0x14df03(0x316)][_0x14df03(0x240)]:return _0x14df03(0x17f);case _0x42121a[_0x14df03(0x316)][_0x14df03(0xbc)]:return _0x14df03(0x1e7);case _0x42121a[_0x14df03(0x316)][_0x14df03(0x137)]:return _0x14df03(0xb2);case _0x42121a[_0x14df03(0x316)]['NOT_COLLAB']:return _0x14df03(0x147);case _0x42121a[_0x14df03(0x316)][_0x14df03(0x208)]:case _0x42121a[_0x14df03(0x316)][_0x14df03(0x2c5)]:return'collabStatus.syncing';case _0x42121a[_0x14df03(0x316)]['SYNCED']:case _0x42121a[_0x14df03(0x316)]['PENDING']:return _0x14df03(0xc2);}}function _0x5536ef(_0x3193a9){const _0x449e14=_0xc606cd,{status$:_0x3a1cd8}=_0x3193a9,_0x42a6a0=_0x2a8deb['useObservable'](_0x3a1cd8,_0x42121a[_0x449e14(0x316)][_0x449e14(0x17b)]),_0x59abfe=_0x2a8deb['useDependency'](_0x3370a3[_0x449e14(0xd8)]),_0x378a55=_0x2a8deb[_0x449e14(0x264)](_0x42121a['CollaborationSessionService']),_0x225d0c=_0x42a6a0!==_0x42121a[_0x449e14(0x316)][_0x449e14(0x240)],_0x4889a0=_0x59abfe['t'](_0x4bd7c3(_0x42a6a0)),_0x119b42=_0x5cbed4[_0x449e14(0xe1)](_0x5778d7['onlineStatus'],{[_0x5778d7[_0x449e14(0xd1)]]:_0x225d0c,[_0x5778d7[_0x449e14(0x159)]]:!_0x225d0c}),_0x4c17ae=_0x225d0c?_0x3c781c[_0x449e14(0x16c)](_0x596645,{}):_0x3c781c[_0x449e14(0x16c)](_0x23e589,{}),_0x2098f7=_0x2931f7[_0x449e14(0x120)](()=>{const _0x424c30=_0x449e14;_0x225d0c||_0x378a55[_0x424c30(0xd5)]();},[_0x225d0c,_0x378a55]);function _0x23ed6e(){const _0x1df6f6=_0x449e14;return _0x3c781c[_0x1df6f6(0x20d)](_0x1df6f6(0x1c2),{'className':_0x5cbed4['clsx'](_0x119b42,'univer-flex\x20univer-items-center'),'onClick':_0x2098f7,'children':[_0x3c781c['jsx']('div',{'className':_0x5778d7[_0x1df6f6(0x219)],'children':_0x4c17ae}),_0x3c781c['jsx'](_0x1df6f6(0x1c2),{'className':_0x5778d7['onlineStatusTitle'],'children':_0x4889a0})]});}return _0x225d0c?_0x23ed6e():_0x3c781c['jsx'](_0x5cbed4[_0x449e14(0x117)],{'title':_0x59abfe['t'](_0x449e14(0x178)),'children':_0x23ed6e()});}var _0x27db67=Object[_0xc606cd(0x250)],_0x32aaec=(_0x37cd6e,_0x8abecf,_0x485c13,_0x300794)=>{const _0x32a18d=_0xc606cd;for(var _0x5a826a=_0x300794>0x1?void 0x0:_0x300794?_0x27db67(_0x8abecf,_0x485c13):_0x8abecf,_0x30ac8c=_0x37cd6e[_0x32a18d(0xbd)]-0x1,_0x5a8155;_0x30ac8c>=0x0;_0x30ac8c--)(_0x5a8155=_0x37cd6e[_0x30ac8c])&&(_0x5a826a=_0x5a8155(_0x5a826a)||_0x5a826a);return _0x5a826a;},_0x46bd2e=(_0x1b0ea0,_0x320a19)=>(_0x25bda9,_0x48c078)=>_0x320a19(_0x25bda9,_0x48c078,_0x1b0ea0);_0x151a14[_0xc606cd(0x130)]=class extends _0x3370a3['Disposable']{constructor(_0x4ede2b,_0x44676d,_0x11e492,_0x27d267){const _0x159084=_0xc606cd;super(),_0x2f632f(this,'_status$',new _0x3b1b1e['BehaviorSubject'](_0x42121a[_0x159084(0x316)][_0x159084(0x17b)])),(this[_0x159084(0x2a9)]=_0x4ede2b,this[_0x159084(0xbf)]=_0x44676d,this['_collaborationController']=_0x11e492,this[_0x159084(0x19a)]=_0x27d267,this[_0x159084(0x2fc)](),this[_0x159084(0x192)]());}[_0xc606cd(0x192)](){const _0x3a55fc=_0xc606cd;this[_0x3a55fc(0x12c)](this[_0x3a55fc(0x2a9)]['focused$'][_0x3a55fc(0x1d2)](_0x3b1b1e[_0x3a55fc(0x17d)](()=>{const _0x5025d7=_0x3a55fc,_0x2728f2=this[_0x5025d7(0x2a9)][_0x5025d7(0x2bb)]();return _0x2728f2?this[_0x5025d7(0x206)][_0x5025d7(0xfd)](_0x2728f2[_0x5025d7(0x136)]()):_0x3b1b1e['of'](null);}),_0x3b1b1e[_0x3a55fc(0x17d)](_0x19e39b=>_0x19e39b?_0x19e39b[_0x3a55fc(0x21e)]:_0x3b1b1e['of'](_0x42121a['CollaborationStatus']['NOT_COLLAB'])))[_0x3a55fc(0x173)](_0x44a7ae=>{const _0x380167=_0x3a55fc;this[_0x380167(0x1a1)][_0x380167(0x162)](_0x44a7ae);}));}[_0xc606cd(0x2fc)](){const _0x4aa62d=_0xc606cd;this[_0x4aa62d(0x12c)](this[_0x4aa62d(0x19a)][_0x4aa62d(0x21f)](_0x2a8deb[_0x4aa62d(0x176)][_0x4aa62d(0xe2)],()=>_0x2a8deb[_0x4aa62d(0x1d9)](_0x5e2633({'status$':this[_0x4aa62d(0x1a1)]['asObservable']()}),this[_0x4aa62d(0xbf)])));}},_0x151a14['DesktopCollaborationStatusDisplayController']=_0x32aaec([_0x46bd2e(0x0,_0x3370a3['IUniverInstanceService']),_0x46bd2e(0x1,_0x3370a3['Inject'](_0x3370a3[_0xc606cd(0x217)])),_0x46bd2e(0x2,_0x3370a3[_0xc606cd(0x22d)](_0x42121a['CollaborationController'])),_0x46bd2e(0x3,_0x2a8deb['IUIPartsService'])],_0x151a14[_0xc606cd(0x130)]);function _0x5e2633(_0x47461b){const {status$:_0x347c2e}=_0x47461b;return function(){const _0x3e255b=_0x5c8a;return _0x3c781c[_0x3e255b(0x16c)](_0x5536ef,{'status$':_0x347c2e});};}var _0x1ca6f2=Object['getOwnPropertyDescriptor'],_0x2ea2b6=(_0x28ed4f,_0x6a0bf7,_0x414cc3,_0x11feaa)=>{const _0x30536d=_0xc606cd;for(var _0x3f51aa=_0x11feaa>0x1?void 0x0:_0x11feaa?_0x1ca6f2(_0x6a0bf7,_0x414cc3):_0x6a0bf7,_0x3047bd=_0x28ed4f[_0x30536d(0xbd)]-0x1,_0x110b03;_0x3047bd>=0x0;_0x3047bd--)(_0x110b03=_0x28ed4f[_0x3047bd])&&(_0x3f51aa=_0x110b03(_0x3f51aa)||_0x3f51aa);return _0x3f51aa;},_0x28b70f=(_0x4a092b,_0x2acee8)=>(_0x55ee4e,_0x3de266)=>_0x2acee8(_0x55ee4e,_0x3de266,_0x4a092b);let _0x532cc7=class extends _0x3370a3['Disposable']{constructor(_0x53fead,_0x102bd2,_0x235a66,_0x35ae62,_0x3705bf,_0x326fe4){const _0x19462b=_0xc606cd;super(),this[_0x19462b(0x2cb)]=_0x53fead,this[_0x19462b(0x118)]=_0x102bd2,this[_0x19462b(0x191)]=_0x235a66,this['_messageService']=_0x35ae62,this[_0x19462b(0xd7)]=_0x3705bf,this[_0x19462b(0x220)]=_0x326fe4,this['_setupBeforeClosingHandler'](),this[_0x19462b(0xe3)]();}[_0xc606cd(0x195)](){const _0x41e9e7=_0xc606cd;this[_0x41e9e7(0x12c)](this['_beforeCloseService'][_0x41e9e7(0x214)](()=>{const _0x1d53ab=_0x41e9e7;if(this[_0x1d53ab(0x118)]['saveTaskMap'][_0x1d53ab(0x236)])return this[_0x1d53ab(0x220)]['t'](_0x1d53ab(0x32a));}));}[_0xc606cd(0xe3)](){const _0x37f25d=_0xc606cd;this[_0x37f25d(0x12c)](this[_0x37f25d(0x191)][_0x37f25d(0x30e)][_0x37f25d(0x173)](_0x5796bd=>{const _0x1bb5f1=_0x37f25d;_0x5796bd['id']===_0x42121a[_0x1bb5f1(0x1e1)][_0x1bb5f1(0x2b2)]&&this[_0x1bb5f1(0x10b)][_0x1bb5f1(0xc5)]({'type':_0x5cbed4[_0x1bb5f1(0x283)][_0x1bb5f1(0x144)],'content':this[_0x1bb5f1(0x220)]['t'](_0x1bb5f1(0xc1))}),_0x5796bd['id']===_0x42121a[_0x1bb5f1(0x1e1)][_0x1bb5f1(0x2de)]&&this[_0x1bb5f1(0x10b)][_0x1bb5f1(0xc5)]({'type':_0x5cbed4[_0x1bb5f1(0x283)][_0x1bb5f1(0x144)],'content':this['_localeService']['t'](_0x1bb5f1(0x1f5))}),_0x5796bd['id']===_0x42121a['CollaborationUIEventId'][_0x1bb5f1(0x100)]&&this[_0x1bb5f1(0xd7)][_0x1bb5f1(0xc5)]({'title':this['_localeService']['t']('permission.title'),'content':this['_localeService']['t'](_0x1bb5f1(0xad)),'type':_0x1bb5f1(0xaa),'duration':0x0}),_0x5796bd['id']===_0x42121a['CollaborationUIEventId'][_0x1bb5f1(0xbc)]&&this[_0x1bb5f1(0x10b)][_0x1bb5f1(0xc5)]({'type':_0x5cbed4[_0x1bb5f1(0x283)][_0x1bb5f1(0x2b6)],'content':this['_localeService']['t'](_0x1bb5f1(0x1f5))+'('+_0x5796bd[_0x1bb5f1(0x2fd)]+')'}),_0x5796bd['id']===_0x42121a[_0x1bb5f1(0x1e1)][_0x1bb5f1(0x268)]&&this['_messageService']['show']({'type':_0x5cbed4[_0x1bb5f1(0x283)][_0x1bb5f1(0x144)],'content':this[_0x1bb5f1(0x220)]['t'](_0x5796bd[_0x1bb5f1(0x2fd)]||'')}),_0x5796bd['id']===_0x42121a[_0x1bb5f1(0x1e1)][_0x1bb5f1(0x164)]&&this[_0x1bb5f1(0x10b)]['show']({'type':_0x5cbed4['MessageType']['Warning'],'content':this[_0x1bb5f1(0x220)]['t'](_0x1bb5f1(0x334))}),_0x5796bd['id']===_0x42121a[_0x1bb5f1(0x1e1)][_0x1bb5f1(0x2b0)]&&this[_0x1bb5f1(0x10b)][_0x1bb5f1(0xc5)]({'type':_0x5cbed4[_0x1bb5f1(0x283)][_0x1bb5f1(0x2b6)],'content':this[_0x1bb5f1(0x220)]['t'](_0x1bb5f1(0x16f))}),_0x5796bd['id']===_0x42121a[_0x1bb5f1(0x1e1)][_0x1bb5f1(0x329)]&&this[_0x1bb5f1(0x10b)][_0x1bb5f1(0xc5)]({'type':_0x5cbed4[_0x1bb5f1(0x283)][_0x1bb5f1(0x2b6)],'content':this[_0x1bb5f1(0x220)]['t'](_0x1bb5f1(0x1a5))});}));}};_0x532cc7=_0x2ea2b6([_0x28b70f(0x0,_0x2a8deb[_0xc606cd(0x1ad)]),_0x28b70f(0x1,_0x42121a[_0xc606cd(0x207)]),_0x28b70f(0x2,_0x3370a3[_0xc606cd(0x22d)](_0x42121a[_0xc606cd(0x326)])),_0x28b70f(0x3,_0x2a8deb['IMessageService']),_0x28b70f(0x4,_0x2a8deb['INotificationService']),_0x28b70f(0x5,_0x3370a3[_0xc606cd(0x22d)](_0x3370a3[_0xc606cd(0xd8)]))],_0x532cc7);const _0x920a32=_0xc606cd(0x273),_0x2f939e={},_0x5187fc=_0x3370a3[_0xc606cd(0x2a6)]('uni.network.url-service');var _0x740c21=Object['getOwnPropertyDescriptor'],_0x5e6e88=(_0x1fba99,_0x3c6ab4,_0x56d767,_0x13607f)=>{const _0x55d883=_0xc606cd;for(var _0x1a0044=_0x13607f>0x1?void 0x0:_0x13607f?_0x740c21(_0x3c6ab4,_0x56d767):_0x3c6ab4,_0x283fd9=_0x1fba99[_0x55d883(0xbd)]-0x1,_0x1f1011;_0x283fd9>=0x0;_0x283fd9--)(_0x1f1011=_0x1fba99[_0x283fd9])&&(_0x1a0044=_0x1f1011(_0x1a0044)||_0x1a0044);return _0x1a0044;},_0x29a395=(_0x35019c,_0x3ea11d)=>(_0x5b2c6a,_0x205f5d)=>_0x3ea11d(_0x5b2c6a,_0x205f5d,_0x35019c);_0x151a14[_0xc606cd(0x129)]=class extends _0x3370a3[_0xc606cd(0x279)]{constructor(_0x5957e7,_0x204ed8,_0x34e6f3,_0x13d5da,_0x15b5a4){const _0x4cfbdb=_0xc606cd;super(),this[_0x4cfbdb(0x101)]=_0x5957e7,this[_0x4cfbdb(0x1e4)]=_0x204ed8,this[_0x4cfbdb(0x245)]=_0x34e6f3,this[_0x4cfbdb(0xb9)]=_0x13d5da,_0x15b5a4?_0x15b5a4==null||_0x15b5a4[_0x4cfbdb(0x23e)]()[_0x4cfbdb(0x29e)](()=>this[_0x4cfbdb(0x114)]()):(this[_0x4cfbdb(0x1e4)]['debug'](_0x4cfbdb(0x16d),_0x4cfbdb(0x28b)),this['_init']());}async[_0xc606cd(0x114)](){const _0x314cb3=_0xc606cd,_0x5126ef=this[_0x314cb3(0x101)][_0x314cb3(0x183)](_0x314cb3(0x186)),_0x2a7154=this['_urlService']['getParam'](_0x314cb3(0xee)),_0x1ba49c=this['_urlService'][_0x314cb3(0x183)](_0x314cb3(0x1d8));if(!_0x5126ef||!_0x2a7154){this[_0x314cb3(0x1e4)][_0x314cb3(0xd3)](_0x314cb3(0x16d),_0x314cb3(0x146));return;}const _0x2a37ee=await this[_0x314cb3(0xb9)][_0x314cb3(0x22b)](_0x5126ef,Number(_0x2a7154),_0x1ba49c);_0x2a37ee&&_0x2a37ee instanceof _0x3370a3[_0x314cb3(0x23a)]&&this[_0x314cb3(0xc9)](_0x2a37ee);}async[_0xc606cd(0xc9)](_0x4a8717){const _0x52c537=_0xc606cd;await this[_0x52c537(0x16e)](_0x4a8717),_0x4a8717[_0x52c537(0x251)][_0x52c537(0x1d2)](_0x3b1b1e[_0x52c537(0x1c6)](this[_0x52c537(0x2b9)]))[_0x52c537(0x173)](_0x1eacc2=>{const _0x44b16d=_0x52c537;_0x1eacc2&&this[_0x44b16d(0x18c)](_0x1eacc2);}),this[_0x52c537(0x101)][_0x52c537(0x2a2)][_0x52c537(0x1d2)](_0x3b1b1e[_0x52c537(0x1c6)](this[_0x52c537(0x2b9)]))[_0x52c537(0x173)](()=>this[_0x52c537(0x16e)](_0x4a8717));}[_0xc606cd(0x18c)](_0x5f3231,_0x24cb95=!0x1){const _0x582937=_0xc606cd,_0x3891bc=this[_0x582937(0x101)]['getParam'](_0x582937(0x1d8));_0x5f3231['getSheetId']()!==_0x3891bc&&this['_urlService'][_0x582937(0x295)](_0x582937(0x1d8),_0x5f3231[_0x582937(0x311)](),_0x24cb95);}async[_0xc606cd(0x16e)](_0x19c0f4){const _0x234422=_0xc606cd;var _0x1c2cbc;const _0x39152d=this[_0x234422(0x101)][_0x234422(0x183)](_0x234422(0x1d8));if(!_0x39152d||!_0x19c0f4[_0x234422(0x19e)](_0x39152d)){const _0x493182=_0x19c0f4[_0x234422(0x24f)]()[0x0],_0x2410f9=_0x19c0f4[_0x234422(0x19e)](_0x493182);if(!_0x2410f9)return;this[_0x234422(0x18c)](_0x2410f9,!0x0),await this['_commandService'][_0x234422(0x2ca)](_0x25f06e[_0x234422(0x15c)]['id'],{'unitId':_0x19c0f4[_0x234422(0x136)](),'subUnitId':_0x493182});return;}((_0x1c2cbc=_0x19c0f4[_0x234422(0x274)]())==null?void 0x0:_0x1c2cbc[_0x234422(0x311)]())!==_0x39152d&&await this[_0x234422(0x245)][_0x234422(0x2ca)](_0x25f06e[_0x234422(0x15c)]['id'],{'unitId':_0x19c0f4[_0x234422(0x136)](),'subUnitId':_0x39152d});}},_0x151a14[_0xc606cd(0x129)]=_0x5e6e88([_0x29a395(0x0,_0x5187fc),_0x29a395(0x1,_0x3370a3[_0xc606cd(0x327)]),_0x29a395(0x2,_0x3370a3[_0xc606cd(0x1b0)]),_0x29a395(0x3,_0x3370a3[_0xc606cd(0x22d)](_0x42121a[_0xc606cd(0x27d)])),_0x29a395(0x4,_0x3370a3[_0xc606cd(0x17c)](_0x4fa575[_0xc606cd(0x2ed)]))],_0x151a14[_0xc606cd(0x129)]);var _0x412da3=Object[_0xc606cd(0x250)],_0x587766=(_0x2974d5,_0x214504,_0x2b9e5f,_0xe251e7)=>{for(var _0x3aad95=_0xe251e7>0x1?void 0x0:_0xe251e7?_0x412da3(_0x214504,_0x2b9e5f):_0x214504,_0xe9266e=_0x2974d5['length']-0x1,_0x3a6e2a;_0xe9266e>=0x0;_0xe9266e--)(_0x3a6e2a=_0x2974d5[_0xe9266e])&&(_0x3aad95=_0x3a6e2a(_0x3aad95)||_0x3aad95);return _0x3aad95;},_0xee346b=(_0x588dfa,_0x4a81bf)=>(_0x3b5302,_0x22f7d8)=>_0x4a81bf(_0x3b5302,_0x22f7d8,_0x588dfa);let _0x5171ae=class{constructor(_0x4f6b47,_0x191d2e,_0x226ec3){this['_injector']=_0x4f6b47,this['_transformService']=_0x191d2e,this['_renderManagerService']=_0x226ec3;}[_0xc606cd(0x112)](_0x1ff376){const _0x5df0d2=_0xc606cd;this['_transformUndoRedoStack'](_0x1ff376),this[_0x5df0d2(0xf9)](_0x1ff376);}[_0xc606cd(0x1df)](_0x2ec735){const _0x400b02=_0xc606cd,{unitID:_0x12975d}=_0x2ec735,_0x53b316=this[_0x400b02(0x216)][_0x400b02(0x29c)](_0x12975d)[_0x400b02(0x2ac)](_0x1a7d80[_0x400b02(0x13b)]),{redoCache:_0x4712ad}=_0x53b316[_0x400b02(0x27f)]();if(_0x4712ad[_0x400b02(0xbd)]===0x0)return _0x2ec735;let _0x378837=_0x3370a3[_0x400b02(0x1bd)][_0x400b02(0xc3)](_0x2ec735[_0x400b02(0x24e)][0x0]);for(let _0x144d2d=0x0;_0x144d2d<_0x4712ad[_0x400b02(0xbd)];_0x144d2d++){const _0xdfef01={'id':_0x400b02(0x26d),'params':{..._0x4712ad[_0x144d2d]}},_0x5619d5=this[_0x400b02(0x2d9)][_0x400b02(0xfa)](_0x378837,_0xdfef01,!0x1);if(_0x2dbfd1[_0x400b02(0x155)](_0x5619d5))throw _0x5619d5[_0x400b02(0xaa)];_0x378837=_0x5619d5[_0x400b02(0x253)];}return{..._0x3370a3[_0x400b02(0x1bd)][_0x400b02(0xc3)](_0x2ec735),'mutations':[_0x378837]};}['_transformUndoRedoStack'](_0x23caf9){const _0x24d1e0=_0xc606cd,{unitID:_0x3a4954}=_0x23caf9,_0x32d702=this[_0x24d1e0(0x216)]['getRenderById'](_0x3a4954)['with'](_0x1a7d80['DocIMEInputManagerService']),{undoCache:_0x96c5c9,redoCache:_0x1df70a}=_0x32d702['getUndoRedoMutationParamsCache']();if(_0x96c5c9[_0x24d1e0(0xbd)]===0x0||_0x1df70a['length']===0x0)return;const _0x278b9f=[],_0x5da415=[];let _0x4f681c=_0x3370a3['Tools'][_0x24d1e0(0xc3)](_0x23caf9[_0x24d1e0(0x24e)][0x0]),_0x18679b=_0x3370a3['Tools'][_0x24d1e0(0xc3)](_0x23caf9[_0x24d1e0(0x24e)][0x0]);for(let _0x2bf1b7=_0x96c5c9[_0x24d1e0(0xbd)]-0x1;_0x2bf1b7>=0x0;_0x2bf1b7--){const _0x2b5fb7={'id':_0x24d1e0(0x26d),'params':{..._0x96c5c9[_0x2bf1b7]}},_0x4b20c2={'id':_0x24d1e0(0x26d),'params':{..._0x1df70a[_0x2bf1b7]}},_0x594845=this[_0x24d1e0(0x2d9)][_0x24d1e0(0xfa)](_0x4f681c,_0x2b5fb7,!0x1),_0x362690=this['_transformService'][_0x24d1e0(0xfa)](_0x18679b,_0x4b20c2,!0x1);if(_0x2dbfd1['isTransformMutationFailure'](_0x594845))throw _0x594845['error'];if(_0x2dbfd1[_0x24d1e0(0x155)](_0x362690))throw _0x362690[_0x24d1e0(0xaa)];_0x278b9f[_0x24d1e0(0x163)](_0x594845['m2Prime'][_0x24d1e0(0x29d)]),_0x5da415['unshift'](_0x362690[_0x24d1e0(0x29f)]['params']),_0x4f681c=_0x594845[_0x24d1e0(0x253)],_0x18679b=_0x362690['m1Prime'];}_0x32d702['setUndoRedoMutationParamsCache']({'undoCache':_0x278b9f,'redoCache':_0x5da415});}[_0xc606cd(0xf9)](_0x418d46){const _0x469da0=_0xc606cd,{unitID:_0x39ad50}=_0x418d46,_0x1f8ce0=this[_0x469da0(0x216)][_0x469da0(0x29c)](_0x39ad50)['with'](_0x1a7d80[_0x469da0(0x13b)]),_0x20fccf=_0x1f8ce0[_0x469da0(0xbe)]();if(_0x20fccf==null)return;const _0x67512f=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x418d46[_0x469da0(0x258)],'actions':null,'textRanges':[_0x20fccf]}}],_0x26822e=this['_transformService']['transformMutationsWithChangeset'](_0x418d46,_0x67512f);if(!_0x2dbfd1[_0x469da0(0x1fb)](_0x26822e))throw _0x26822e[_0x469da0(0xaa)];const _0x40323e=_0x26822e['m2Prime'][0x0][_0x469da0(0x29d)]['textRanges'];Array[_0x469da0(0x244)](_0x40323e)&&_0x40323e['length']&&_0x1f8ce0[_0x469da0(0x21a)](_0x40323e[0x0]);}};_0x5171ae=_0x587766([_0xee346b(0x0,_0x3370a3['Inject'](_0x3370a3[_0xc606cd(0x217)])),_0xee346b(0x1,_0x2dbfd1[_0xc606cd(0x2e4)]),_0xee346b(0x2,_0x2e5590[_0xc606cd(0x113)])],_0x5171ae);var _0x4c19b6=Object[_0xc606cd(0x250)],_0x2cc648=(_0x3852bc,_0x154c4f,_0x8f862,_0x55f2e3)=>{const _0x2707f6=_0xc606cd;for(var _0x11c0a=_0x55f2e3>0x1?void 0x0:_0x55f2e3?_0x4c19b6(_0x154c4f,_0x8f862):_0x154c4f,_0x3892a6=_0x3852bc[_0x2707f6(0xbd)]-0x1,_0x51de12;_0x3892a6>=0x0;_0x3892a6--)(_0x51de12=_0x3852bc[_0x3892a6])&&(_0x11c0a=_0x51de12(_0x11c0a)||_0x11c0a);return _0x11c0a;},_0x46d0e0=(_0xc1998d,_0x34df86)=>(_0x4e87a0,_0x5d2e4a)=>_0x34df86(_0x4e87a0,_0x5d2e4a,_0xc1998d);let _0xcbe61=class{constructor(_0x1b0986,_0x2341f9,_0x2ec85c){const _0x2eb4e7=_0xc606cd;this[_0x2eb4e7(0xbf)]=_0x1b0986,this['_transformService']=_0x2341f9,this['_docStateChangeManagerService']=_0x2ec85c;}['transformStateCache'](_0x48a8ec){const _0x36738d=_0xc606cd;this[_0x36738d(0x132)](_0x48a8ec);}[_0xc606cd(0x1df)](_0x517e91){const _0x375a9f=_0xc606cd,{unitID:_0x63e95e}=_0x517e91,{collaboration:_0x5472be}=this[_0x375a9f(0x1b2)][_0x375a9f(0x14f)](_0x63e95e);if(_0x5472be['length']===0x0)return _0x517e91;let _0x7442f9=_0x3370a3[_0x375a9f(0x1bd)][_0x375a9f(0xc3)](_0x517e91['mutations'][0x0]);for(let _0x1022d1=0x0;_0x1022d1<_0x5472be[_0x375a9f(0xbd)];_0x1022d1++){const _0x320dc3={'id':_0x375a9f(0x26d),'params':{'unitId':_0x5472be[_0x1022d1][_0x375a9f(0x145)],..._0x5472be[_0x1022d1][_0x375a9f(0x1af)]}},_0xd117c4=this[_0x375a9f(0x2d9)]['transformMutation'](_0x7442f9,_0x320dc3,!0x1);if(_0x2dbfd1['isTransformMutationFailure'](_0xd117c4))throw _0xd117c4[_0x375a9f(0xaa)];_0x7442f9=_0xd117c4['m1Prime'];}return{..._0x3370a3[_0x375a9f(0x1bd)]['deepClone'](_0x517e91),'mutations':[_0x7442f9]};}['_transformHistoryAndStateStack'](_0x2806a0){const _0xb88f55=_0xc606cd,{unitID:_0x455236}=_0x2806a0,{history:_0x1f0084,collaboration:_0x29e019}=this['_docStateChangeManagerService'][_0xb88f55(0x14f)](_0x455236);if(_0x1f0084[_0xb88f55(0xbd)]===0x0&&_0x29e019[_0xb88f55(0xbd)]===0x0)return;const _0x1ec79d=[],_0x17aace=[];let _0x376e80=_0x3370a3[_0xb88f55(0x1bd)]['deepClone'](_0x2806a0[_0xb88f55(0x24e)][0x0]),_0xefd09c=_0x3370a3[_0xb88f55(0x1bd)][_0xb88f55(0xc3)](_0x2806a0[_0xb88f55(0x24e)][0x0]);for(let _0x2298c5=_0x1f0084[_0xb88f55(0xbd)]-0x1;_0x2298c5>=0x0;_0x2298c5--){const _0x5acd9e={'id':_0xb88f55(0x26d),'params':{'unitId':_0x1f0084[_0x2298c5]['unitId'],..._0x1f0084[_0x2298c5][_0xb88f55(0x2b3)]}},_0x3fdc7a={'id':_0xb88f55(0x26d),'params':{'unitId':_0x1f0084[_0x2298c5][_0xb88f55(0x145)],..._0x1f0084[_0x2298c5]['redoState']}},_0x55c9fd=this['_transformService'][_0xb88f55(0xfa)](_0x376e80,_0x5acd9e,!0x1),_0x44d379=this['_transformService'][_0xb88f55(0xfa)](_0xefd09c,_0x3fdc7a,!0x1);if(_0x2dbfd1['isTransformMutationFailure'](_0x55c9fd))throw _0x55c9fd[_0xb88f55(0xaa)];if(_0x2dbfd1[_0xb88f55(0x155)](_0x44d379))throw _0x44d379['error'];_0x1ec79d[_0xb88f55(0x163)]({..._0x1f0084[_0x2298c5],'undoState':_0x55c9fd[_0xb88f55(0x29f)][_0xb88f55(0x29d)],'redoState':_0x44d379[_0xb88f55(0x29f)][_0xb88f55(0x29d)]}),_0x376e80=_0x55c9fd[_0xb88f55(0x253)],_0xefd09c=_0x44d379[_0xb88f55(0x253)];}_0x376e80=_0x3370a3['Tools']['deepClone'](_0x2806a0[_0xb88f55(0x24e)][0x0]),_0xefd09c=_0x3370a3[_0xb88f55(0x1bd)][_0xb88f55(0xc3)](_0x2806a0['mutations'][0x0]);for(let _0x1f299a=_0x29e019[_0xb88f55(0xbd)]-0x1;_0x1f299a>=0x0;_0x1f299a--){const _0x1a23d9={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x29e019[_0x1f299a]['unitId'],..._0x29e019[_0x1f299a][_0xb88f55(0x2b3)]}},_0x7ec2d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x29e019[_0x1f299a][_0xb88f55(0x145)],..._0x29e019[_0x1f299a]['redoState']}},_0x496566=this[_0xb88f55(0x2d9)][_0xb88f55(0xfa)](_0x376e80,_0x1a23d9,!0x1),_0x57069a=this[_0xb88f55(0x2d9)]['transformMutation'](_0xefd09c,_0x7ec2d,!0x1);if(_0x2dbfd1[_0xb88f55(0x155)](_0x496566))throw _0x496566[_0xb88f55(0xaa)];if(_0x2dbfd1[_0xb88f55(0x155)](_0x57069a))throw _0x57069a[_0xb88f55(0xaa)];_0x17aace[_0xb88f55(0x163)]({..._0x29e019[_0x1f299a],'undoState':_0x496566[_0xb88f55(0x29f)][_0xb88f55(0x29d)],'redoState':_0x57069a['m2Prime']['params']}),_0x376e80=_0x496566[_0xb88f55(0x253)],_0xefd09c=_0x57069a[_0xb88f55(0x253)];}this['_docStateChangeManagerService'][_0xb88f55(0xcd)](_0x455236,{'history':_0x1ec79d,'collaboration':_0x17aace});}};_0xcbe61=_0x2cc648([_0x46d0e0(0x0,_0x3370a3['Inject'](_0x3370a3[_0xc606cd(0x217)])),_0x46d0e0(0x1,_0x2dbfd1[_0xc606cd(0x2e4)]),_0x46d0e0(0x2,_0x3370a3['Inject'](_0x1a7d80[_0xc606cd(0x15b)]))],_0xcbe61);var _0x53669d=Object[_0xc606cd(0x250)],_0x341c66=(_0x4c058b,_0x496287,_0x41bcb7,_0x58e22e)=>{for(var _0xbf03ab=_0x58e22e>0x1?void 0x0:_0x58e22e?_0x53669d(_0x496287,_0x41bcb7):_0x496287,_0x22a6f4=_0x4c058b['length']-0x1,_0x4e30bb;_0x22a6f4>=0x0;_0x22a6f4--)(_0x4e30bb=_0x4c058b[_0x22a6f4])&&(_0xbf03ab=_0x4e30bb(_0xbf03ab)||_0xbf03ab);return _0xbf03ab;},_0x2f80eb=(_0x1571ca,_0x375e60)=>(_0x349b14,_0x212546)=>_0x375e60(_0x349b14,_0x212546,_0x1571ca);let _0x993912=class{constructor(_0x371324,_0x224012){const _0x1639f6=_0xc606cd;this[_0x1639f6(0xbf)]=_0x371324,this[_0x1639f6(0x2d9)]=_0x224012;}['transformSelections'](_0x283053){const _0x478e3a=_0xc606cd;var _0xf30eae;const _0xc9fd1e=this['_injector'][_0x478e3a(0x1e8)](_0x388719[_0x478e3a(0x23b)]),_0x36e422=(_0xf30eae=_0xc9fd1e[_0x478e3a(0x124)]())!=null?_0xf30eae:[];if(_0x36e422[_0x478e3a(0xbd)]===0x0)return;const _0x1a6f92=_0x283053[_0x478e3a(0x258)],_0x25d58e=[{'id':_0x478e3a(0x26d),'params':{'unitId':_0x1a6f92,'actions':null,'textRanges':_0x36e422}}],_0x1861b1=this[_0x478e3a(0x2d9)][_0x478e3a(0x97)](_0x283053,_0x25d58e);if(!_0x2dbfd1['isTransformMutationsWithChangesetSuccess'](_0x1861b1))throw _0x1861b1[_0x478e3a(0xaa)];const _0x3b5ce9=_0x1861b1[_0x478e3a(0x29f)][0x0][_0x478e3a(0x29d)][_0x478e3a(0x284)];Array['isArray'](_0x3b5ce9)&&_0x3b5ce9[_0x478e3a(0xbd)]&&_0xc9fd1e[_0x478e3a(0xc4)](_0x3b5ce9,{'unitId':_0x1a6f92,'subUnitId':_0x1a6f92},!0x1);}};_0x993912=_0x341c66([_0x2f80eb(0x0,_0x3370a3[_0xc606cd(0x22d)](_0x3370a3['Injector'])),_0x2f80eb(0x1,_0x2dbfd1[_0xc606cd(0x2e4)])],_0x993912);var _0x2d6453=Object[_0xc606cd(0x250)],_0x56adbe=(_0x5f1665,_0x85b7af,_0x2084f4,_0x2afba5)=>{const _0x132847=_0xc606cd;for(var _0x41f6b7=_0x2afba5>0x1?void 0x0:_0x2afba5?_0x2d6453(_0x85b7af,_0x2084f4):_0x85b7af,_0x2fa997=_0x5f1665[_0x132847(0xbd)]-0x1,_0x63d931;_0x2fa997>=0x0;_0x2fa997--)(_0x63d931=_0x5f1665[_0x2fa997])&&(_0x41f6b7=_0x63d931(_0x41f6b7)||_0x41f6b7);return _0x41f6b7;},_0x39cdba=(_0x3685c0,_0x2fe090)=>(_0x4d665a,_0x4cfebb)=>_0x2fe090(_0x4d665a,_0x4cfebb,_0x3685c0);let _0x2b47c8=class extends _0x3370a3[_0xc606cd(0x18a)]{constructor(_0x50b95f,_0x164e14,_0x55c074,_0x1ccd80,_0x3efa5c,_0x443522,_0x301795,_0x5b3016){const _0x724cbe=_0xc606cd;super(),_0x2f632f(this,'_status$',new _0x3b1b1e[(_0x724cbe(0x174))](_0x42121a[_0x724cbe(0x316)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x50b95f,this[_0x724cbe(0x206)]=_0x164e14,this[_0x724cbe(0x27a)]=_0x55c074,this['_docTransformStateCacheService']=_0x1ccd80,this['_docTransformSelectionsService']=_0x3efa5c,this[_0x724cbe(0x269)]=_0x443522,this[_0x724cbe(0x10b)]=_0x301795,this['_localeService']=_0x5b3016,this['_initEntityListener']());}['_initEntityListener'](){const _0x37c3e3=_0xc606cd;this['disposeWithMe'](this[_0x37c3e3(0x206)][_0x37c3e3(0xba)][_0x37c3e3(0x173)](_0x553acd=>{const _0x59cf10=_0x37c3e3,_0x9e010f=this[_0x59cf10(0x1b2)][_0x59cf10(0x2da)]['subscribe'](_0x5352a1=>{const _0x287f9f=_0x59cf10;if(_0x5352a1==null)return;const {unitId:_0x1c2460,redoState:_0x9bbd40,commandId:_0x35b378}=_0x5352a1;if(_0x1c2460!==_0x553acd[_0x287f9f(0x258)])return;const _0x3a89e8={'id':_0x35b378,'type':_0x3370a3[_0x287f9f(0xcc)][_0x287f9f(0x12e)],'params':{'unitId':_0x1c2460,'actions':_0x9bbd40[_0x287f9f(0x1d1)],'textRanges':null}};_0x553acd[_0x287f9f(0x116)](_0x3a89e8);});if(_0x553acd['disposeWithMe'](_0x9e010f),_0x553acd instanceof _0x42121a[_0x59cf10(0x1d0)]){const _0x1bb575={'onTransformIME':_0x40cd9c=>this[_0x59cf10(0x27a)][_0x59cf10(0x112)](_0x40cd9c),'onTransformState':_0x5a3103=>this[_0x59cf10(0x333)]['transformStateCache'](_0x5a3103),'onTransformSelections':_0x397ee2=>this[_0x59cf10(0x104)][_0x59cf10(0x296)](_0x397ee2),'onSyncEditingCollabCursor':_0x1c27d0=>this['_docSyncEditingCollabCursorService'][_0x59cf10(0x1cb)](_0x1c27d0),'onTransformRemoteChangesetByIMECache':_0x562607=>this[_0x59cf10(0x27a)][_0x59cf10(0x1df)](_0x562607),'onTransformRemoteChangesetByStateCache':_0x181c1a=>this[_0x59cf10(0x333)]['transformRemoteChangeset'](_0x181c1a)};_0x553acd[_0x59cf10(0xa8)](_0x1bb575);}}));}};_0x2b47c8=_0x56adbe([_0x39cdba(0x0,_0x3370a3[_0xc606cd(0x22d)](_0x1a7d80[_0xc606cd(0x15b)])),_0x39cdba(0x1,_0x3370a3['Inject'](_0x42121a[_0xc606cd(0x304)])),_0x39cdba(0x2,_0x3370a3[_0xc606cd(0x22d)](_0x5171ae)),_0x39cdba(0x3,_0x3370a3[_0xc606cd(0x22d)](_0xcbe61)),_0x39cdba(0x4,_0x3370a3[_0xc606cd(0x22d)](_0x993912)),_0x39cdba(0x5,_0x3370a3[_0xc606cd(0x22d)](_0x2c241f)),_0x39cdba(0x6,_0x2a8deb['IMessageService']),_0x39cdba(0x7,_0x3370a3[_0xc606cd(0x22d)](_0x3370a3[_0xc606cd(0xd8)]))],_0x2b47c8);var _0x40ea8a=Object['getOwnPropertyDescriptor'],_0x34cc22=(_0x29a755,_0x27f0ea,_0x3daa2f,_0x2b2a8f)=>{for(var _0x59fad3=_0x2b2a8f>0x1?void 0x0:_0x2b2a8f?_0x40ea8a(_0x27f0ea,_0x3daa2f):_0x27f0ea,_0x224f28=_0x29a755['length']-0x1,_0x5a87aa;_0x224f28>=0x0;_0x224f28--)(_0x5a87aa=_0x29a755[_0x224f28])&&(_0x59fad3=_0x5a87aa(_0x59fad3)||_0x59fad3);return _0x59fad3;},_0x4b55ef=(_0x7c25d,_0x110f4a)=>(_0x309c0a,_0x544ccf)=>_0x110f4a(_0x309c0a,_0x544ccf,_0x7c25d);let _0xa59c83=class extends _0x3370a3[_0xc606cd(0x18a)]{constructor(_0x10e3d6,_0x4da143,_0x5443d5){const _0x279fc1=_0xc606cd;super(),_0x2f632f(this,_0x279fc1(0x249),new Map()),_0x2f632f(this,_0x279fc1(0x218),new Map()),_0x2f632f(this,_0x279fc1(0x309),!0x1),(this[_0x279fc1(0x1c4)]=_0x10e3d6,this[_0x279fc1(0x2e7)]=_0x4da143,this[_0x279fc1(0x210)]=_0x5443d5);}[_0xc606cd(0x1f9)](){const _0x16585f=_0xc606cd;this[_0x16585f(0x309)]=!0x0;}[_0xc606cd(0xe0)](){const _0xfc06a9=_0xc606cd;this[_0xfc06a9(0x309)]=!0x1;}get[_0xc606cd(0x330)](){return this['_saveTaskMap'];}[_0xc606cd(0x170)](){const _0x27d2cd=_0xc606cd;this[_0x27d2cd(0x179)]()[_0x27d2cd(0x29e)](()=>super[_0x27d2cd(0x170)]());}async[_0xc606cd(0x10d)](_0x548336){const _0x3898a8=_0xc606cd;return this[_0x3898a8(0x309)]?null:this[_0x3898a8(0x2e7)]['getItem'](_0x42121a['getLocalCacheKey'](_0x548336));}async['saveOfflineData'](_0x2dcc2f,_0x24c431){const _0x4e5af1=_0xc606cd;return!!this[_0x4e5af1(0x2e7)][_0x4e5af1(0x140)](_0x2dcc2f,_0x24c431);}['updateOfflineData'](_0x579da4,_0x176eec,_0x1e026a,_0x3c20c2){const _0x3ab751=_0xc606cd,_0x14ce41=this[_0x3ab751(0x210)][_0x3ab751(0x1c3)](_0x579da4);this[_0x3ab751(0x249)][_0x3ab751(0x270)](_0x579da4,{'unitID':_0x579da4,'type':_0x176eec,'awaitingChangeset':_0x1e026a,'mutations':_0x3c20c2,'rev':_0x14ce41}),this[_0x3ab751(0x218)][_0x3ab751(0x128)](_0x579da4)||this[_0x3ab751(0xce)](_0x579da4);}[_0xc606cd(0xce)](_0xc803df){const _0x299c41=_0xc606cd,_0x582530=this[_0x299c41(0x2fb)]();_0x582530===0x0?this[_0x299c41(0x1e2)](_0xc803df):this[_0x299c41(0x218)][_0x299c41(0x270)](_0xc803df,setTimeout(()=>this[_0x299c41(0x1e2)](_0xc803df),_0x582530));}['_getSaveTimeout'](){const _0x326379=_0xc606cd;var _0x16c11c;return(_0x16c11c=this['_configService'][_0x326379(0x187)](_0x42121a[_0x326379(0x111)]))!=null?_0x16c11c:_0x42121a[_0x326379(0x16a)];}[_0xc606cd(0x1e2)](_0x2c58b3){const _0x30115e=_0xc606cd,_0x28ada1=this[_0x30115e(0x218)]['get'](_0x2c58b3);return _0x28ada1!==void 0x0&&window[_0x30115e(0x1ab)](_0x28ada1),this[_0x30115e(0x2e7)]['setItem'](_0x42121a[_0x30115e(0x1e0)](_0x2c58b3),this[_0x30115e(0x249)][_0x30115e(0x1e8)](_0x2c58b3))[_0x30115e(0x29e)](()=>this[_0x30115e(0x218)]['delete'](_0x2c58b3));}async['exhaustSavingTask'](){const _0x1fd2e9=_0xc606cd,_0x90dde7=[];this['_saveTaskMap'][_0x1fd2e9(0x13c)]((_0x22f18c,_0x5f4863)=>{const _0x23edb9=_0x1fd2e9;window[_0x23edb9(0x1ab)](_0x22f18c),_0x90dde7['push'](this[_0x23edb9(0x1e2)](_0x5f4863)[_0x23edb9(0x29e)](()=>{const _0x4da894=_0x23edb9;this[_0x4da894(0x218)][_0x4da894(0x30a)](_0x5f4863);}));}),await Promise[_0x1fd2e9(0x148)](_0x90dde7);}};_0xa59c83=_0x34cc22([_0x4b55ef(0x0,_0x3370a3[_0xc606cd(0x1ba)]),_0x4b55ef(0x1,_0x3370a3[_0xc606cd(0x332)]),_0x4b55ef(0x2,_0x3370a3[_0xc606cd(0x22d)](_0x2dbfd1[_0xc606cd(0x11e)]))],_0xa59c83);class _0x1a63c5 extends _0x3370a3[_0xc606cd(0x279)]{constructor(){const _0x526a19=_0xc606cd;super(),_0x2f632f(this,_0x526a19(0x2a2)),this[_0x526a19(0x2a2)]=_0x3b1b1e[_0x526a19(0x215)](window,_0x526a19(0xf4))[_0x526a19(0x1d2)](_0x3b1b1e['takeUntil'](this[_0x526a19(0x2b9)]),_0x3b1b1e[_0x526a19(0x282)](0x1),_0x3b1b1e[_0x526a19(0xda)](void 0x0));}['setParam'](_0x46ab37,_0x435d98,_0x438dfb=!0x1){const _0x55acc9=_0xc606cd,_0x1c9619=new URL(window[_0x55acc9(0x262)]['href']);_0x1c9619[_0x55acc9(0x199)][_0x55acc9(0x270)](_0x46ab37,_0x435d98),_0x438dfb?window[_0x55acc9(0x20c)][_0x55acc9(0xf0)]('','',_0x1c9619[_0x55acc9(0x1e9)]()):window['history'][_0x55acc9(0x22e)]('','',_0x1c9619['toString']());}[_0xc606cd(0xa3)](_0x4afe64,_0x1bbe2=!0x1){const _0x49b199=_0xc606cd,_0xa3cdf0=new URL(window[_0x49b199(0x262)][_0x49b199(0xde)]);_0xa3cdf0[_0x49b199(0x199)][_0x49b199(0x30a)](_0x4afe64),_0x1bbe2?window[_0x49b199(0x20c)][_0x49b199(0xf0)]('','',_0xa3cdf0[_0x49b199(0x1e9)]()):window[_0x49b199(0x20c)][_0x49b199(0x22e)]('','',_0xa3cdf0['toString']());}[_0xc606cd(0x183)](_0x3373a5){const _0x3b6537=_0xc606cd;var _0x280b1a;return(_0x280b1a=new URL(window[_0x3b6537(0x262)][_0x3b6537(0xde)])[_0x3b6537(0x199)]['get'](_0x3373a5))!=null?_0x280b1a:void 0x0;}}var _0x570eec=Object[_0xc606cd(0x225)],_0x56c0c8=Object['getOwnPropertyDescriptor'],_0x5025fe=(_0xbce462,_0x1bb622,_0x515435)=>_0x1bb622 in _0xbce462?_0x570eec(_0xbce462,_0x1bb622,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x515435}):_0xbce462[_0x1bb622]=_0x515435,_0x5a4905=(_0x5aea51,_0x33b85e,_0x34aa45,_0x5c333e)=>{const _0x50b42f=_0xc606cd;for(var _0x1364a9=_0x5c333e>0x1?void 0x0:_0x5c333e?_0x56c0c8(_0x33b85e,_0x34aa45):_0x33b85e,_0x2be405=_0x5aea51[_0x50b42f(0xbd)]-0x1,_0x322c61;_0x2be405>=0x0;_0x2be405--)(_0x322c61=_0x5aea51[_0x2be405])&&(_0x1364a9=_0x322c61(_0x1364a9)||_0x1364a9);return _0x1364a9;},_0xe047af=(_0x34a2fc,_0x5ba31c)=>(_0x3466a7,_0x49e7ad)=>_0x5ba31c(_0x3466a7,_0x49e7ad,_0x34a2fc),_0xf0d63e=(_0x22aa81,_0x144328,_0x4aeba7)=>_0x5025fe(_0x22aa81,_0x144328+'',_0x4aeba7);const _0x503379=_0xc606cd(0x105);_0x151a14[_0xc606cd(0x1a6)]=class extends _0x3370a3[_0xc606cd(0x27e)]{constructor(_0x1c15b7=_0x2f939e,_0x5c096e,_0x106260,_0x598719){const _0x63e8b3=_0xc606cd;super(),this['_config']=_0x1c15b7,this[_0x63e8b3(0x216)]=_0x5c096e,this[_0x63e8b3(0xbf)]=_0x106260,this[_0x63e8b3(0x1c4)]=_0x598719;const {..._0x24841d}=_0x3370a3[_0x63e8b3(0x1cc)]({},_0x2f939e,this[_0x63e8b3(0x1f3)]);this[_0x63e8b3(0x1c4)][_0x63e8b3(0x19c)](_0x920a32,_0x24841d);}['onStarting'](){this['_registerDependencies'](),this['_initDependencies']();}[_0xc606cd(0x22a)](){this['_registerRenderDependencies']();}[_0xc606cd(0x189)](){const _0x1f64b1=_0xc606cd;var _0x233dad;const _0x3fe1d5=[[_0x4dadc0],[_0x993912],[_0x5171ae],[_0xcbe61],[_0x2c241f],[_0x5187fc,{'useClass':_0x1a63c5}],[_0x2d9865[_0x1f64b1(0x32e)],{'useClass':_0x2d9865[_0x1f64b1(0xdc)]}],[_0x42121a[_0x1f64b1(0x207)],{'useClass':_0xa59c83}],[_0x151a14['DesktopCollaborationStatusDisplayController']],[_0x2b47c8],[_0x532cc7],[_0xa7d943],[_0x2c3f84],[_0x151a14[_0x1f64b1(0x129)]]];_0x3370a3['registerDependencies'](this[_0x1f64b1(0xbf)],_0x3370a3['mergeOverrideWithDependencies'](_0x3fe1d5,(_0x233dad=this['_config'])==null?void 0x0:_0x233dad[_0x1f64b1(0x2e9)]));}[_0xc606cd(0x322)](){const _0x1c12fd=_0xc606cd;this['disposeWithMe'](this['_renderManagerService'][_0x1c12fd(0x2e0)](_0x3370a3[_0x1c12fd(0x19d)][_0x1c12fd(0x1c5)],[_0x40b595])),this['disposeWithMe'](this[_0x1c12fd(0x216)]['registerRenderModule'](_0x3370a3[_0x1c12fd(0x19d)][_0x1c12fd(0x1e5)],[_0x280704]));}['_initDependencies'](){const _0x158f7b=_0xc606cd;_0x3370a3[_0x158f7b(0x205)](this[_0x158f7b(0xbf)],[[_0xa7d943],[_0x151a14['DesktopCollaborationStatusDisplayController']],[_0x2b47c8],[_0x532cc7],[_0x151a14[_0x158f7b(0x129)]]]);}},_0xf0d63e(_0x151a14[_0xc606cd(0x1a6)],_0xc606cd(0x1d3),_0x503379),_0x151a14[_0xc606cd(0x1a6)]=_0x5a4905([_0x3370a3['DependentOn'](_0x42121a[_0xc606cd(0x1c7)]),_0xe047af(0x1,_0x2e5590[_0xc606cd(0x113)]),_0xe047af(0x2,_0x3370a3[_0xc606cd(0x22d)](_0x3370a3[_0xc606cd(0x217)])),_0xe047af(0x3,_0x3370a3[_0xc606cd(0x1ba)])],_0x151a14[_0xc606cd(0x1a6)]);var _0x30eb3f=Object[_0xc606cd(0x250)],_0x4f6af0=(_0x28683d,_0x1971c0,_0x476779,_0x21a479)=>{const _0x30c8b4=_0xc606cd;for(var _0x8b67f9=_0x21a479>0x1?void 0x0:_0x21a479?_0x30eb3f(_0x1971c0,_0x476779):_0x1971c0,_0x43a061=_0x28683d[_0x30c8b4(0xbd)]-0x1,_0x5c7f9a;_0x43a061>=0x0;_0x43a061--)(_0x5c7f9a=_0x28683d[_0x43a061])&&(_0x8b67f9=_0x5c7f9a(_0x8b67f9)||_0x8b67f9);return _0x8b67f9;},_0x1250e4=(_0x5a70f9,_0x2304c)=>(_0x1bc788,_0x38b0a3)=>_0x2304c(_0x1bc788,_0x38b0a3,_0x5a70f9);_0x151a14[_0xc606cd(0x267)]=class extends _0x42121a['CollaborationSocketService']{constructor(_0x3d0cb2,_0x5a1efa,_0x4532dd,_0x4ef2bd,_0x5804c2){super(_0x3d0cb2,_0x5a1efa,_0x4532dd,_0x4ef2bd,_0x5804c2);}async['createSocket'](_0x1711d9){const _0x2d96c3=_0xc606cd,_0x2cfaa0=await this['_getSessionTicket'](),_0xe3baf5=this['_createSocketURL'](_0x1711d9,_0x2cfaa0);return this[_0x2d96c3(0x1ef)](_0xe3baf5);}[_0xc606cd(0x223)](_0x47f77b,_0x9fe169){const _0x5f2050=_0xc606cd,_0xf5f92d=typeof window>'u'?new URL(_0x47f77b):new URL(_0x47f77b,window[_0x5f2050(0x262)]['origin']);_0xf5f92d[_0x5f2050(0x199)][_0x5f2050(0x270)]('sessionTicket',_0x9fe169);const _0xddafd1=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x5f2050(0x262)]['search']);return _0xddafd1['get'](_0x5f2050(0x20a))&&_0xf5f92d['searchParams'][_0x5f2050(0x270)](_0x5f2050(0x20a),_0xddafd1[_0x5f2050(0x1e8)](_0x5f2050(0x20a))),_0xf5f92d[_0x5f2050(0x1e9)]();}async[_0xc606cd(0x2ec)](){const _0x1ce507=_0xc606cd;var _0x2a79b4,_0x54ed08,_0x5aa931;const _0x386d4b=this[_0x1ce507(0x1c4)][_0x1ce507(0x187)](_0x42121a[_0x1ce507(0x2d0)]),_0x249153=(_0x2a79b4=_0x386d4b==null?void 0x0:_0x386d4b[_0x1ce507(0x2c4)])!=null?_0x2a79b4:_0x42121a[_0x1ce507(0x196)];return(_0x5aa931=(_0x54ed08=(await this[_0x1ce507(0xd9)][_0x1ce507(0x1e8)](_0x249153,{'headers':{'Content-Type':'application/json'}}))[_0x1ce507(0x133)])==null?void 0x0:_0x54ed08[_0x1ce507(0x141)])!=null?_0x5aa931:'';}},_0x151a14[_0xc606cd(0x267)]=_0x4f6af0([_0x1250e4(0x0,_0x3370a3[_0xc606cd(0x22d)](_0x3370a3[_0xc606cd(0x217)])),_0x1250e4(0x1,_0x3370a3[_0xc606cd(0x22d)](_0x2d9865[_0xc606cd(0x234)])),_0x1250e4(0x2,_0x3370a3[_0xc606cd(0x1ba)]),_0x1250e4(0x3,_0x3370a3[_0xc606cd(0x327)]),_0x1250e4(0x4,_0x2dbfd1[_0xc606cd(0x20b)])],_0x151a14[_0xc606cd(0x267)]);const _0xbb8f09=0x7530,_0x364fa5=_0xc606cd(0x313);class _0xfe24c5 extends _0x3370a3[_0xc606cd(0x18a)]{constructor(){const _0x5e5931=_0xc606cd;super(),_0x2f632f(this,_0x5e5931(0x1ee),_0x3370a3[_0x5e5931(0x276)]()),_0x2f632f(this,_0x5e5931(0x11f),new Set()),_0x2f632f(this,_0x5e5931(0x21c),new Map()),_0x2f632f(this,_0x5e5931(0x143),null),_0x2f632f(this,_0x5e5931(0x12b),new Map()),_0x2f632f(this,_0x5e5931(0x14e),new Map()),this[_0x5e5931(0x114)]();}[_0xc606cd(0x170)](){const _0x12abfd=_0xc606cd;super[_0x12abfd(0x170)](),this[_0x12abfd(0x12b)]['forEach']((_0x442c12,_0x3d07e4)=>this[_0x12abfd(0x103)](_0x3d07e4)),this[_0x12abfd(0x143)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0xc606cd(0x23d)](_0x45111e){const _0x445b6e=_0xc606cd;return this['_ensureSubject'](_0x45111e)['pipe'](_0x3b1b1e[_0x445b6e(0x110)]());}['editingUnit'](_0x340c32){const _0x3c3452=_0xc606cd;this[_0x3c3452(0x11f)][_0x3c3452(0x236)]===0x0&&this[_0x3c3452(0x2f4)](),this[_0x3c3452(0x11f)][_0x3c3452(0x11c)](_0x340c32),this[_0x3c3452(0x235)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x340c32],'isForwarded':!0x1});}[_0xc606cd(0x1b3)](_0x26b9ba){const _0x12e4e8=_0xc606cd;this[_0x12e4e8(0x11f)][_0x12e4e8(0x30a)](_0x26b9ba),this['_selfUnitIDs']['size']===0x0&&this[_0x12e4e8(0x143)]&&window['clearInterval'](this[_0x12e4e8(0x143)]);}['_init'](){const _0x4b0e0a=_0xc606cd;this['disposeWithMe'](_0x3370a3[_0x4b0e0a(0x202)](_0x3b1b1e[_0x4b0e0a(0x215)](window,_0x4b0e0a(0x2bc))[_0x4b0e0a(0x173)](_0x3571d5=>{const _0x1b2c14=_0x4b0e0a;if(_0x3571d5[_0x1b2c14(0x190)]!==_0x364fa5||!_0x3571d5[_0x1b2c14(0x294)])return;const _0x5640c6=JSON[_0x1b2c14(0x260)](_0x3571d5[_0x1b2c14(0x294)]);this[_0x1b2c14(0xd0)](_0x5640c6);}))),window[_0x4b0e0a(0x2b4)](_0x4b0e0a(0x107),()=>this['_send']({'type':0x1,'memberID':this[_0x4b0e0a(0x1ee)],'unitIDs':Array[_0x4b0e0a(0x2cd)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x4a3b7c){const _0x591978=_0xc606cd;switch(_0x4a3b7c[_0x591978(0xee)]){case 0x0:this['_handleJoinEvent'](_0x4a3b7c);break;case 0x1:this[_0x591978(0x165)](_0x4a3b7c);break;case 0x2:this['_handleHeartbeatEvent'](_0x4a3b7c);break;}}[_0xc606cd(0x125)](_0x18c9a3){const _0x3aacf0=_0xc606cd,{unitIDs:_0x483eb5,memberID:_0xe5e702,isForwarded:_0x39ddd4}=_0x18c9a3;_0x483eb5['forEach'](_0x1cc55b=>{const _0x590129=_0x5c8a;if(!_0x39ddd4&&this[_0x590129(0x21c)][_0x590129(0x128)](_0x1cc55b)&&this['_ensureSubject'](_0x1cc55b)[_0x590129(0x162)](_0x42121a[_0x590129(0x10c)][_0x590129(0x2c9)]),!this[_0x590129(0x21c)][_0x590129(0x128)](_0x1cc55b)||!this[_0x590129(0x21c)][_0x590129(0x1e8)](_0x1cc55b)[_0x590129(0x128)](_0xe5e702)){const _0x2215bb=this['_unitOnClients'][_0x590129(0x1e8)](_0x1cc55b)||new Set();_0x2215bb[_0x590129(0x11c)](_0xe5e702),this[_0x590129(0x21c)][_0x590129(0x270)](_0x1cc55b,_0x2215bb),this[_0x590129(0x149)](_0xe5e702);}}),_0x39ddd4||this[_0x3aacf0(0x235)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x15f235){const _0x5be9e7=_0xc606cd;this[_0x5be9e7(0x103)](_0x15f235);const _0x4f31cc=window[_0x5be9e7(0x1dd)](()=>{const _0x539816=_0x5be9e7;this[_0x539816(0x21c)][_0x539816(0x13c)](_0x29530c=>{const _0x96a6e2=_0x539816;_0x29530c[_0x96a6e2(0x30a)](_0x15f235);});},_0xbb8f09*0x2);this[_0x5be9e7(0x12b)][_0x5be9e7(0x270)](_0x15f235,_0x4f31cc);}[_0xc606cd(0x103)](_0x27da36){const _0x2b73bb=_0xc606cd;if(this[_0x2b73bb(0x12b)][_0x2b73bb(0x128)](_0x27da36)){const _0x2fd855=this[_0x2b73bb(0x12b)]['get'](_0x27da36);_0x2fd855&&window[_0x2b73bb(0x1ab)](_0x2fd855),this[_0x2b73bb(0x12b)][_0x2b73bb(0x270)](_0x27da36,null);}}[_0xc606cd(0x165)](_0x3c9424){const _0x17e08f=_0xc606cd,{memberID:_0x42dfcb,unitIDs:_0x386a64}=_0x3c9424;_0x386a64[_0x17e08f(0x13c)](_0x14d4a4=>{const _0x2dec4d=_0x17e08f;var _0x5bc5be;const _0x3a0deb=this['_unitOnClients']['get'](_0x14d4a4);_0x3a0deb&&(_0x3a0deb[_0x2dec4d(0x30a)](_0x42dfcb),(_0x5bc5be=this[_0x2dec4d(0x153)](_0x14d4a4))==null||_0x5bc5be[_0x2dec4d(0x162)](_0x3a0deb[_0x2dec4d(0x236)]===0x0?_0x42121a[_0x2dec4d(0x10c)][_0x2dec4d(0x323)]:_0x42121a[_0x2dec4d(0x10c)][_0x2dec4d(0x2c9)]));}),this[_0x17e08f(0x103)](_0x42dfcb);}[_0xc606cd(0x2f1)](_0x18edd5){const _0x4dab85=_0xc606cd;this[_0x4dab85(0x149)](_0x18edd5[_0x4dab85(0x2c6)]);}[_0xc606cd(0x235)](_0x1df078){const _0x157c89=_0xc606cd;localStorage['setItem'](_0x364fa5,JSON[_0x157c89(0x21d)](_0x1df078));}[_0xc606cd(0x2f4)](){const _0x21a7a4=_0xc606cd;this[_0x21a7a4(0x143)]=window[_0x21a7a4(0x28c)](()=>{const _0x44036f=_0x21a7a4;this[_0x44036f(0x235)]({'type':0x2,'memberID':this[_0x44036f(0x1ee)]});},_0xbb8f09);}[_0xc606cd(0x153)](_0x5e6bd3){const _0x4bbdb6=_0xc606cd;return this[_0x4bbdb6(0x14e)][_0x4bbdb6(0x128)](_0x5e6bd3)||this[_0x4bbdb6(0x14e)][_0x4bbdb6(0x270)](_0x5e6bd3,new _0x3b1b1e[(_0x4bbdb6(0x174))](_0x42121a['UnitStatus'][_0x4bbdb6(0x323)])),this[_0x4bbdb6(0x14e)][_0x4bbdb6(0x1e8)](_0x5e6bd3);}}var _0x3a97ce=(_0x2e2f6d=>(_0x2e2f6d[_0x2e2f6d['UNDEFINED']=0x0]=_0xc606cd(0x17a),_0x2e2f6d[_0x2e2f6d['OK']=0x1]='OK',_0x2e2f6d[_0x2e2f6d['INTERNAL_ERROR']=0x2]=_0xc606cd(0x242),_0x2e2f6d[_0x2e2f6d['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x2e2f6d[_0x2e2f6d[_0xc606cd(0x19b)]=0x4]=_0xc606cd(0x19b),_0x2e2f6d[_0x2e2f6d[_0xc606cd(0x28a)]=0x5]=_0xc606cd(0x28a),_0x2e2f6d[_0x2e2f6d[_0xc606cd(0xf1)]=0x6]=_0xc606cd(0xf1),_0x2e2f6d[_0x2e2f6d[_0xc606cd(0x198)]=0x7]=_0xc606cd(0x198),_0x2e2f6d[_0x2e2f6d['TOO_MANY_REQUESTS']=0x8]=_0xc606cd(0x2af),_0x2e2f6d[_0x2e2f6d[_0xc606cd(0x324)]=0x9]='COMPLETION_FINISHED',_0x2e2f6d[_0x2e2f6d[_0xc606cd(0x204)]=0xa]='LOGIN_FAILED',_0x2e2f6d[_0x2e2f6d[_0xc606cd(0x32c)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2e2f6d[_0x2e2f6d[_0xc606cd(0x213)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x2e2f6d[_0x2e2f6d['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x2e2f6d[_0x2e2f6d[_0xc606cd(0x317)]=0x1773]=_0xc606cd(0x317),_0x2e2f6d[_0x2e2f6d[_0xc606cd(0x233)]=0x1b59]='APPLY_REJECT',_0x2e2f6d[_0x2e2f6d[_0xc606cd(0x25d)]=0x1b5a]=_0xc606cd(0x25d),_0x2e2f6d[_0x2e2f6d['APPLY_REVISION_CONFILICT']=0x1b5b]=_0xc606cd(0x1fa),_0x2e2f6d[_0x2e2f6d[_0xc606cd(0xc0)]=0x1b5c]=_0xc606cd(0xc0),_0x2e2f6d[_0x2e2f6d[_0xc606cd(0x24c)]=0x1b5d]='APPLY_DUPLICATED',_0x2e2f6d[_0x2e2f6d[_0xc606cd(0x2ea)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x2e2f6d[_0x2e2f6d[_0xc606cd(0x134)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x2e2f6d[_0x2e2f6d[_0xc606cd(0xb8)]=0x232a]=_0xc606cd(0xb8),_0x2e2f6d[_0x2e2f6d[_0xc606cd(0x28f)]=0x232b]=_0xc606cd(0x28f),_0x2e2f6d[_0x2e2f6d[_0xc606cd(0x25f)]=0x232c]=_0xc606cd(0x25f),_0x2e2f6d[_0x2e2f6d[_0xc606cd(0xca)]=0x232d]=_0xc606cd(0xca),_0x2e2f6d[_0x2e2f6d[_0xc606cd(0x96)]=0x2711]=_0xc606cd(0x96),_0x2e2f6d[_0x2e2f6d[_0xc606cd(0x1a4)]=0x2712]=_0xc606cd(0x1a4),_0x2e2f6d[_0x2e2f6d[_0xc606cd(0x23c)]=0x2713]=_0xc606cd(0x23c),_0x2e2f6d[_0x2e2f6d[_0xc606cd(0x2aa)]=0x2714]=_0xc606cd(0x2aa),_0x2e2f6d[_0x2e2f6d[_0xc606cd(0xd2)]=0x2af9]=_0xc606cd(0xd2),_0x2e2f6d[_0x2e2f6d[_0xc606cd(0x1c9)]=0x2ee1]=_0xc606cd(0x1c9),_0x2e2f6d[_0x2e2f6d[_0xc606cd(0xa9)]=0x2ee2]=_0xc606cd(0xa9),_0x2e2f6d[_0x2e2f6d[_0xc606cd(0x2c0)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2e2f6d[_0x2e2f6d[_0xc606cd(0x2ff)]=0x2ee4]=_0xc606cd(0x2ff),_0x2e2f6d[_0x2e2f6d[_0xc606cd(0x297)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x2e2f6d[_0x2e2f6d['WECHAT_HAS_BEEN_BOUND']=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x2e2f6d[_0x2e2f6d[_0xc606cd(0xd4)]=0x32ca]=_0xc606cd(0xd4),_0x2e2f6d[_0x2e2f6d[_0xc606cd(0xb0)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x2e2f6d[_0x2e2f6d[_0xc606cd(0x318)]=-0x1]='UNRECOGNIZED',_0x2e2f6d))(_0x3a97ce||{}),_0x11c6dd=Object[_0xc606cd(0x250)],_0x40c77a=(_0x19b461,_0x24d55f,_0x27fae5,_0xad6476)=>{const _0x290fee=_0xc606cd;for(var _0x3d00ee=_0xad6476>0x1?void 0x0:_0xad6476?_0x11c6dd(_0x24d55f,_0x27fae5):_0x24d55f,_0x317ebb=_0x19b461[_0x290fee(0xbd)]-0x1,_0x217946;_0x317ebb>=0x0;_0x317ebb--)(_0x217946=_0x19b461[_0x317ebb])&&(_0x3d00ee=_0x217946(_0x3d00ee)||_0x3d00ee);return _0x3d00ee;},_0x332ea2=(_0x58be49,_0x3824df)=>(_0x29707f,_0x3276b4)=>_0x3824df(_0x29707f,_0x3276b4,_0x58be49);_0x151a14['RemoteUniscriptService']=class extends _0x3370a3['Disposable']{constructor(_0x38d254,_0x4d125d,_0x36547a){const _0x578cb7=_0xc606cd;super(),this[_0x578cb7(0x212)]=_0x38d254,this[_0x578cb7(0xd9)]=_0x4d125d,this[_0x578cb7(0x1c4)]=_0x36547a;}async[_0xc606cd(0x2b1)](_0x48e765,_0x2a500d,_0x16f64c,..._0xaaf728){const _0x1ce7fa=_0xc606cd;var _0x11a5e7,_0xab6f55,_0x5e2099,_0x38dca9;const _0x3c3031=this[_0x1ce7fa(0x212)][_0x1ce7fa(0x2bb)]();if(!_0x3c3031)throw new Error(_0x1ce7fa(0x19f));const _0x4af09a=((_0x11a5e7=this['_configService'][_0x1ce7fa(0x187)](_0x42121a[_0x1ce7fa(0x14b)]))!=null?_0x11a5e7:_0x42121a[_0x1ce7fa(0x2f0)])+'/'+_0x48e765+'/run/'+_0x2a500d,_0x3f51a4=new URL(window[_0x1ce7fa(0x262)]['href']),_0x4bdc32={'scriptId':_0x48e765,'runId':(_0xab6f55=_0x3f51a4[_0x1ce7fa(0x199)][_0x1ce7fa(0x1e8)](_0x1ce7fa(0x20a)))!=null?_0xab6f55:'','function':_0x2a500d,'unitId':_0x3c3031['getUnitId'](),'argsOfFunction':JSON['stringify'](_0xaaf728),'invokeId':(_0x5e2099=_0x16f64c['invokeId'])!=null?_0x5e2099:'','executionId':(_0x38dca9=_0x16f64c[_0x1ce7fa(0x122)])!=null?_0x38dca9:''};try{const _0x5d6b2e=await this[_0x1ce7fa(0xd9)][_0x1ce7fa(0x12a)](_0x4af09a,{'body':_0x4bdc32});return _0x5d6b2e['body'][_0x1ce7fa(0xaa)]&&_0x5d6b2e[_0x1ce7fa(0x133)][_0x1ce7fa(0xaa)][_0x1ce7fa(0x1bf)]!==_0x3a97ce['OK']?'Failed':_0x5d6b2e[_0x1ce7fa(0x133)][_0x1ce7fa(0x32d)];}catch{return'Failed';}}},_0x151a14[_0xc606cd(0x1bc)]=_0x40c77a([_0x332ea2(0x0,_0x3370a3[_0xc606cd(0x1de)]),_0x332ea2(0x1,_0x3370a3[_0xc606cd(0x22d)](_0x2d9865[_0xc606cd(0x234)])),_0x332ea2(0x2,_0x3370a3[_0xc606cd(0x1ba)])],_0x151a14[_0xc606cd(0x1bc)]),_0x151a14[_0xc606cd(0x135)]=_0x5536ef,_0x151a14[_0xc606cd(0x9c)]=_0x5187fc,_0x151a14['SheetCollabCursorShape']=_0x318257,_0x151a14[_0xc606cd(0x2ba)]=_0xfe24c5,_0x151a14[_0xc606cd(0x1ec)]=_0x1a63c5,Object[_0xc606cd(0x225)](_0x151a14,Symbol[_0xc606cd(0x2a4)],{'value':_0xc606cd(0x1a3)});}));function _0x5c8a(_0x409804,_0x326277){const _0x5bb515=_0x5bb5();return _0x5c8a=function(_0x5c8a07,_0x4913b1){_0x5c8a07=_0x5c8a07-0x96;let _0x6d165f=_0x5bb515[_0x5c8a07];return _0x6d165f;},_0x5c8a(_0x409804,_0x326277);}function _0x5bb5(){const _0x3562ec=['TOO_MANY_REQUESTS','SOCKET_FAILED','runOnServer','OTHER_CLIENT_EDITING','undoState','addEventListener','handleIRemoveCol','Error','startColumn','prototype','dispose$','WebBrowserSingleActiveUnitService','getFocusedUnit','storage','values','labelPosition','getOffsetConfig','INVITE_CODE_REQUIRED','collab-text-range-','getCollabCursors$','CollaborationEvent','wsSessionTicketUrl','AWAITING_WITH_PENDING','memberID','_toggleOnline','_cursorShapes','OTHER_CLIENTS_EDITING','executeCommand','_beforeCloseService','onCommandExecuted','from','DOC_RANGE_TYPE','sheetId','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','some','findNodePositionByCharIndex','1em','_startSheetCollabCursor','selections','round','Rectangle','debounce','_transformService','docStateChange$','UniverDesign','MemberService','Vector2','CLOSE_ROOM','combineLatest','registerRenderModule','_document','@univerjs/network','getAncestorScale','ITransformService','_getMergeRange','@univerjs/engine-formula','_localStorageService','@univerjs/ui','override','CONNECTOR_DATA_TOO_LARGE','getValue','_getSessionTicket','IRemoteInstanceService','min','cursorInfo','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_handleHeartbeatEvent','closePath','svg','_scheduleHeartbeat','isActive','_getSheetObject','unsubscribe','InsertRowCommandId','fill','width','_getSaveTimeout','_initStatusComponent','data','ColorKit','USER_NOT_INVITED_CODE','propertyIsEnumerable','_online','getCurrentSelections','startRow','CollaborationController','_assignedColors','handleInsertRangeMoveRight','handleInsertRow','function','_disabled','delete','_themeService','call','clipPath','event$','_context','_sheetSkeletonManagerService','getSheetId','_onCursorDelete','ACTIVE_UNIT_EVENT_CHANNEL','subscribeEvent','_collabCursorController','CollaborationStatus','ENSURE_SNAPSHOT_EXECUTION','UNRECOGNIZED','rxjs','getViewport','1236mibxOy','filter','contains','_collabSessionService','univer-offline','#FFF','_onCursorUpdate','_registerRenderDependencies','NO_OTHER_CLIENTS_EDITING','COMPLETION_FINISHED','_render','CollaborationUIEventService','ILogService','onPointerMove$','SUBMIT_CHANGESET_TIMEOUT','collaboration-client.offline-data-not-saved','currentSkeleton$','CHANGESET_REVISION_CONFILICT','result','ISocketService','20StaQeH','saveTaskMap','getCoordByCell','ILocalStorageService','_docTransformStateCacheService','session.will-retry','ranges','YUUMI_UNABLE_LOAD_URL','transformMutationsWithChangeset','DocSkeletonManagerService','addObject','concat','eventID','IURLService','@univerjs/docs-ui','toRgbString','symbol','@univerjs/sheets','_session','_getScale','removeParam','currentTheme$','_drawAnchor','InsertRangeMoveRightCommandId','setAlpha','addHandlerCallback','INVALID_INVITE_CODE','error','complete','getCurrentUnitForType','permission.content','SHEET_VIEWPORT_KEY','endColumn','EMAIL_HAS_BEEN_BOUND','_removeCollabCursors','collabStatus.fetchMiss','_hideTimer','_colorAssignService','_range','on-line-single','displayName','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_dataLoaderService','entityInit$','cursorInfo$','CONFLICT','length','getActiveRange','_injector','APPLY_PERMISSION_DENIED','collaboration.single-unit.warning','collabStatus.synced','deepClone','replaceDocRanges','show','collabCursorState$','save','NodePositionConvertToRectRange','_setupSubUnitSync','LICENSE_DISTRO_REJECTED','imageSourceType','CommandType','setStateCache','_scheduleSaving','getTypeOfUnitAdded$','_handleEvent','online','PY_RUNTIME_SCRIPT_ERROR','debug','MOBILE_HAS_BEEN_BOUND','reconnect','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_notificationService','LocaleService','_httpService','mapTo','TEXT','WebSocketService','VIEW_MAIN','href','univer-online-status-icon','enableLocalCache','clsx','HEADER_MENU','_initEvent','selection','getTypeOfUnitDisposed$','isEditing','34628whIGrd','beginPath','getSkeleton','forwardRef','mask','requireSession','_hovered','type','sessionStatus$','replaceState','ALREADY_EXISTS','roomMembers','_backgroundColor','popstate','children','@univerjs/core','includes','attrs','_transformPreviousActiveRange','transformMutation','createElement','4319qgsGVh','getCollabEntity$','_draw','TEXT_RANGE_LAYER_INDEX','PERMISSION_DENIED','_urlService','M0\x200H16V16H0z','_removeClearOtherTimer','_docTransformSelectionsService','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_updateCollabCursors','unload','RECT','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','UPDATE_CURSOR','_messageService','UnitStatus','loadOfflineData','UniverUi','react','distinctUntilChanged','LOCAL_CACHE_INTERVAL_KEY','transformIMECache','IRenderManagerService','_init','fromEventSubject','onLocalMutation','Tooltip','_localCacheService','backgroundColor','defs','restore','add','_eventUnsubscribe','RevisionService','_selfUnitIDs','useCallback','_name','executionId','entries','getDocRanges','_handleJoinEvent','getCurrent','exports','has','CollaborationDataLoaderController','post','_clearOtherTimers','disposeWithMe','send','MUTATION','_startDocCollabCursor','DesktopCollaborationStatusDisplayController','transformByState','_transformHistoryAndStateStack','body','LICENSE_MAX_UNITS_EXCEEDED','CollaborationStatusDisplay','getUnitId','FETCH_MISS','deserializeRangeWithSheet','@univerjs/docs','translate(.97)','DocIMEInputManagerService','forEach','_cursors','Rect','ThemeService','setItem','ticket','_updateLocalCursor','_heartbeatTimer','Warning','unitId','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','collabStatus.notCollab','all','_scheduleClearOtherTimer','init','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','RegularPolygon','rxjs/operators','_unitStatus','getStateCache','UniverRpc','ONLINE','getRelativeToViewportCoord','_ensureSubject','getColor','isTransformMutationFailure','_handleHover','UniverEngineRender','handleInsertCol','offline','_lastPointer','DocStateChangeManagerService','SetWorksheetActivateCommand','defIds','RemoveRowCommandId','currentColor','Shape','fillText','next','unshift','SOCKET_FAILED_RETRY','_handleLeaveEvent','_colorIndex','UniverCore','_entityInit$','color','LOCAL_CACHE_INTERVAL','setShapeProps','jsx','[CollaborationDataLoaderController]','_updateSubUnitFromURLParams','session.connection-failed','dispose','purple300','useRef','subscribe','BehaviorSubject','blue400','BuiltInUIPart','SessionStatus','collab-client.tooltip.reconnect','exhaustSavingTask','UNDEFINED','NOT_COLLAB','Optional','switchMap','CollaborationSessionService','collabStatus.offline','@univerjs/engine-render','debounceTime','use','getParam','bottom','subUnitId','unit','getConfig','8448McAFhL','_registerDependencies','Disposable','InsertColCommandId','_updateURLWithCurrentState','font','map','_color','key','_collaborationUIEventService','_initStatusListener','_docClipboardService','fillRule','_setupBeforeClosingHandler','DEFAULT_WS_SESSION_TICKET_URL','@univerjs/sheets-ui','INVALID_ARGUMENT','searchParams','_uiPartsService','NOT_FOUND','setConfig','UniverInstanceType','getSheetBySheetId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','indexOf','_status$','jiqing500','Module','YUUMI_URL_COL_OUT_OF_RANGE','session.collaboration-timeout','UniverCollaborationClientUIPlugin','top','hasOwnProperty','9800163VnaNEi','_toggleOffline','clearTimeout','_textBubble','IBeforeCloseService','EffectRefRangId','redoState','ICommandService','@univerjs-pro/collaboration','_docStateChangeManagerService','disposeUnit','resize','trim','engine','className','arc','_collabCursorState$','IConfigService','_scene','RemoteUniscriptService','Tools','getOwnPropertySymbols','code','assign','UniverEngineFormula','div','getCurrentRevOfUnit','_configService','UNIVER_DOC','takeUntil','UniverCollaborationClientPlugin','black','INVITE_CODE_HAS_BEEN_UES','RichTextEditingMutation','syncEditingCollabCursor','merge','substring','univer-online-status','assignAColorForMemberID','DocCollaborationEntity','actions','pipe','pluginName','USERS_LEAVE','10gZWGLa','_hover','_syncEditingCollabCursorService','subunit','connectInjector','url(#$1','_initCommandExecutedListener','_getAnchorBounding','setTimeout','IUniverInstanceService','transformRemoteChangeset','getLocalCacheKey','CollaborationUIEventId','_saveCache','SheetSkeletonManagerService','_logService','UNIVER_SHEET','row','collabStatus.conflict','get','toString','rgba(255,\x20255,\x20255,\x200.01)','name','WebURLService','FromArray','_id','_doCreateSocket','split','handleMoveRange','React','_config','UniverDocsUi','collaboration.closeRoom','idSuffix','0\x200\x2017\x2016','RemoveColCommandId','disableLocalCache','APPLY_REVISION_CONFILICT','isTransformMutationsWithChangesetSuccess','RefRangeService','push','flatMap','InsertRangeMoveDownCommandId','OffLineSingle','on-line-single_clip0_910_349','toDisposable','range','LOGIN_FAILED','touchDependencies','_collaborationController','ILocalCacheService','AWAITING','lineTo','runId','ISnapshotServerService','history','jsxs','string','makeDirty','_revisionService','verdancy600','_instanceService','SNAPSHOT_INVALID_SNAPSHOT','registerBeforeClose','fromEvent','_renderManagerService','Injector','_saveTaskMap','onlineStatusIcon','setActiveRange','fillStyle','_unitOnClients','stringify','status$','registerComponent','_localeService','Subject','6568110pvFaku','_createSocketURL','_entities','defineProperty','column','xlink:href','Unknown\x20user','SetDocZoomRatioOperation','onRendered','loadUnit','height','Inject','pushState','source','@univerjs/drawing','tag','text','APPLY_REJECT','HTTPService','_send','size','getMemberID','getVpScrollXYInfoByPosToVp','_shapes','Workbook','DocSelectionManagerService','YUUMI_RATE_OVER_LIMIT','getUnitStatus$','whenReady','_onRefRangeChange','OFFLINE','measureText','INTERNAL_ERROR','10180DlvwHE','isArray','_commandService','_docSkeletonManagerService','object','getUniverSheetInstance','_cachedData','SheetsSelectionsService','extend','APPLY_DUPLICATED','path','mutations','getUnhiddenWorksheets','getOwnPropertyDescriptor','activeSheet$','saveImage','m1Prime','_cursor','@univerjs-pro/collaboration-client','createInstance','max','unitID','_imageIoService','_drawTextRange','_refRangeService','_roomMembers$','APPLY_NON_SEQUENTIAL_REVISION','DeleteRangeMoveLeftCommandId','LICENSE_EXPORT_SIZE_EXCEEDED','parse','getMergeData','location','MoveRangeCommandId','useDependency','univer-online','addObjects','BrowserCollaborationSocketService','JOIN_ROOM_FAILED','_docSyncEditingCollabCursorService','url(#on-line-single_clip0_910_349)','gold400','onPointerLeave$','doc.mutation.rich-text-editing','_cursorInfo$','_initResize','set','...','_drawRectRange','collaboration-client-ui.config','getActiveSheet','_memberService','generateRandomId','3576ehrqCs','_refreshCollabCursors','RxDisposable','_docTransformIMECacheService','registerRefRange','UniverProCollaborationClient','DataLoaderService','Plugin','getUndoRedoMutationParamsCache','getRangePointData','_anchor','shareReplay','MessageType','textRanges','drawWith','UniverProCollaborationClientUi','@univerjs/design','_labelPosition','hovered','UNAUTHENTICATED','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','setInterval','COLORS','find','LICENSE_IMPORT_SIZE_EXCEEDED','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','none','collab-text-anchor-','asObservable','newValue','setParam','transformSelections','INVITE_CODE_ALREADY_BOUND','react/jsx-runtime','off-line-single_clip0_910_343','142388KKqEuo','roomMembers$','getRenderById','params','then','m2Prime','10413704VvXLJE','onPointerEnter$','urlChange$','#fff','toStringTag','@univerjs/rpc','createIdentifier','operators','icon','_univerInstanceService','YUUMI_SUBSCRIPTION_NOT_FOUND','_anchorDot','with','random','colorChannel1'];_0x5bb5=function(){return _0x3562ec;};return _0x5bb5();}