@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250411-f5b7b16 → 0.6.10-experimental.20250418-8830bd4

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(_0x20a860,_0x804858){const _0x18d944=_0x3200,_0x1ef6b9=_0x20a860();while(!![]){try{const _0x44e293=parseInt(_0x18d944(0x28a))/0x1+-parseInt(_0x18d944(0x2b3))/0x2*(parseInt(_0x18d944(0x260))/0x3)+-parseInt(_0x18d944(0x34b))/0x4+-parseInt(_0x18d944(0x226))/0x5*(-parseInt(_0x18d944(0x342))/0x6)+-parseInt(_0x18d944(0x218))/0x7*(-parseInt(_0x18d944(0x2a0))/0x8)+parseInt(_0x18d944(0x1cb))/0x9+parseInt(_0x18d944(0x229))/0xa*(parseInt(_0x18d944(0x35e))/0xb);if(_0x44e293===_0x804858)break;else _0x1ef6b9['push'](_0x1ef6b9['shift']());}catch(_0x364d16){_0x1ef6b9['push'](_0x1ef6b9['shift']());}}}(_0x499f,0x7b5d6),function(_0x58a269,_0x47edc4){const _0x473bac=_0x3200;typeof exports=='object'&&typeof module<'u'?_0x47edc4(exports,require('@univerjs-pro/collaboration-client'),require(_0x473bac(0x344)),require(_0x473bac(0x219)),require(_0x473bac(0x2b0)),require(_0x473bac(0x2ba)),require(_0x473bac(0x1b0)),require(_0x473bac(0x1ea)),require(_0x473bac(0xf3)),require(_0x473bac(0x319)),require('@univerjs/engine-formula'),require(_0x473bac(0x20f)),require(_0x473bac(0x329)),require(_0x473bac(0x151)),require(_0x473bac(0xec)),require(_0x473bac(0x1b3)),require(_0x473bac(0xe9)),require(_0x473bac(0x143)),require('@univerjs/rpc')):typeof define==_0x473bac(0x165)&&define[_0x473bac(0x17e)]?define([_0x473bac(0x1e9),_0x473bac(0x21a),_0x473bac(0x344),'@univerjs/engine-render',_0x473bac(0x2b0),'@univerjs/docs-ui',_0x473bac(0x1b0),_0x473bac(0x1ea),_0x473bac(0xf3),_0x473bac(0x319),'@univerjs/engine-formula',_0x473bac(0x20f),_0x473bac(0x329),_0x473bac(0x151),'react/jsx-runtime','@univerjs/ui',_0x473bac(0xe9),'react','@univerjs/rpc'],_0x47edc4):(_0x58a269=typeof globalThis<'u'?globalThis:_0x58a269||self,_0x47edc4(_0x58a269[_0x473bac(0x358)]={},_0x58a269[_0x473bac(0x23f)],_0x58a269[_0x473bac(0x235)],_0x58a269[_0x473bac(0x25f)],_0x58a269[_0x473bac(0x19d)],_0x58a269['UniverDocsUi'],_0x58a269[_0x473bac(0x334)],_0x58a269['rxjs'],_0x58a269[_0x473bac(0x2f0)],_0x58a269[_0x473bac(0x179)],_0x58a269[_0x473bac(0x1b1)],_0x58a269['UniverSheets'],_0x58a269[_0x473bac(0x1ea)][_0x473bac(0xe4)],_0x58a269['UniverSheetsUi'],_0x58a269['React'],_0x58a269[_0x473bac(0xf0)],_0x58a269[_0x473bac(0x202)],_0x58a269[_0x473bac(0x137)],_0x58a269[_0x473bac(0x140)]));}(this,function(_0x50c597,_0x3b3d06,_0x42b1ed,_0x161b55,_0x4e187d,_0x230698,_0x492fa6,_0x50e9d8,_0x3b2d2a,_0x20ec0c,_0x64ae85,_0x49066d,_0x176c1c,_0x3ff264,_0x5124d3,_0x4984d8,_0x7fe650,_0x2ed861,_0x215589){'use strict';const _0x2cc097=_0x3200;var _0x46d4bf=Object[_0x2cc097(0x173)],_0x5ca5b7=(_0x1f398a,_0xd8c183,_0x4523a4)=>_0xd8c183 in _0x1f398a?_0x46d4bf(_0x1f398a,_0xd8c183,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4523a4}):_0x1f398a[_0xd8c183]=_0x4523a4,_0x565563=(_0x3fc9a5,_0x4803fb,_0x1e615c)=>_0x5ca5b7(_0x3fc9a5,typeof _0x4803fb!=_0x2cc097(0x328)?_0x4803fb+'':_0x4803fb,_0x1e615c),_0x57f253=Object[_0x2cc097(0x32d)],_0x2f093e=(_0x5d81a1,_0x36e9fa,_0x425656,_0x2bb1f5)=>{const _0x3470fd=_0x2cc097;for(var _0xdf8f5a=_0x2bb1f5>0x1?void 0x0:_0x2bb1f5?_0x57f253(_0x36e9fa,_0x425656):_0x36e9fa,_0x30dc8e=_0x5d81a1[_0x3470fd(0x1b9)]-0x1,_0x36f667;_0x30dc8e>=0x0;_0x30dc8e--)(_0x36f667=_0x5d81a1[_0x30dc8e])&&(_0xdf8f5a=_0x36f667(_0xdf8f5a)||_0xdf8f5a);return _0xdf8f5a;},_0x48a58f=(_0x529e79,_0x1c0f35)=>(_0x42fab7,_0x3270db)=>_0x1c0f35(_0x42fab7,_0x3270db,_0x529e79);let _0x4cbc76=class extends _0x42b1ed[_0x2cc097(0x208)]{constructor(_0x140f09,_0x9c631c){const _0x759154=_0x2cc097;super(),this[_0x759154(0x294)]=_0x140f09,this['_imageIoService']=_0x9c631c,this['_init']();}['_init'](){const _0x2322ea=_0x2cc097,_0x4e15aa=this;this[_0x2322ea(0x364)](this[_0x2322ea(0x294)][_0x2322ea(0x198)]({'onBeforePasteImage':async _0x292482=>{const _0x18e311=_0x2322ea,_0x3745dd=await _0x4e15aa[_0x18e311(0x1ce)][_0x18e311(0x31a)](_0x292482);return _0x3745dd?{'source':_0x3745dd['source'],'imageSourceType':_0x3745dd[_0x18e311(0x251)]}:null;}}));}};_0x4cbc76=_0x2f093e([_0x48a58f(0x0,_0x230698[_0x2cc097(0x16f)]),_0x48a58f(0x1,_0x492fa6[_0x2cc097(0x2d5)])],_0x4cbc76);const _0x4d9e3a=[_0x2cc097(0x2ce),'jiqing500',_0x2cc097(0x35c),_0x2cc097(0x245),_0x2cc097(0xfe),'gold400'];class _0x3011e6 extends _0x42b1ed[_0x2cc097(0x2fc)]{constructor(){const _0x30d2f5=_0x2cc097;super(...arguments),_0x565563(this,_0x30d2f5(0x27e),new Map()),_0x565563(this,_0x30d2f5(0x1a1),0x0);}[_0x2cc097(0x212)](_0x230d05){const _0x13c9ce=_0x2cc097;if(this[_0x13c9ce(0x27e)]['has'](_0x230d05))return this[_0x13c9ce(0x27e)][_0x13c9ce(0x16e)](_0x230d05);const _0x328ee3=_0x4d9e3a[this[_0x13c9ce(0x1a1)]];return this[_0x13c9ce(0x1a1)]=(this[_0x13c9ce(0x1a1)]+0x1)%_0x4d9e3a[_0x13c9ce(0x1b9)],this[_0x13c9ce(0x27e)][_0x13c9ce(0x27d)](_0x230d05,_0x328ee3),_0x328ee3;}}function _0x4aa7db(_0x599b9c){const _0x9cc38=_0x2cc097;let _0x268661='';for(const _0x380b6c of _0x599b9c){const {startOffset:_0x362bf8,endOffset:_0x3e133f,isActive:_0x16a601,rangeType:_0x5ae784,segmentId:_0x29231d,segmentPage:_0x24bd78}=_0x380b6c;_0x268661[_0x9cc38(0x1b9)]&&(_0x268661+=','),_0x268661+=_0x362bf8+':'+_0x3e133f+':'+(_0x16a601?'1':'0')+':'+_0x5ae784+':'+_0x29231d+':'+_0x24bd78;}return _0x268661;}function _0x3c5626(_0x1be3ff){const _0x31656f=_0x2cc097,_0x2f7167=_0x1be3ff['split'](','),_0x3ef452=[];for(const _0x402cf0 of _0x2f7167){const [_0x3d25d6,_0x1ca9e0,_0x3cf0be,_0x5de7ea,_0x23702e,_0x23d731]=_0x402cf0[_0x31656f(0x2de)](':');_0x3ef452['push']({'startOffset':Number(_0x3d25d6),'endOffset':Number(_0x1ca9e0),'collapsed':_0x3d25d6===_0x1ca9e0,'isActive':_0x3cf0be==='1','rangeType':_0x5de7ea===_0x42b1ed[_0x31656f(0x14d)][_0x31656f(0x330)]?_0x42b1ed[_0x31656f(0x14d)][_0x31656f(0x330)]:_0x42b1ed[_0x31656f(0x14d)][_0x31656f(0x258)],'segmentId':typeof _0x23702e==_0x31656f(0x237)?String(_0x23702e):'','segmentPage':Number(_0x23d731!=null?_0x23d731:-0x1)});}return _0x3ef452[_0x31656f(0x238)](_0x51d2e6=>_0x51d2e6[_0x31656f(0x163)])||(_0x3ef452[0x0]['isActive']=!0x0),_0x3ef452;}class _0x392d57 extends _0x42b1ed[_0x2cc097(0x208)]{constructor(){const _0x2aac6d=_0x2cc097;super(...arguments),_0x565563(this,_0x2aac6d(0x287),new _0x50e9d8[(_0x2aac6d(0x371))](null)),_0x565563(this,_0x2aac6d(0x312),this[_0x2aac6d(0x287)]['asObservable']());}[_0x2cc097(0x185)](_0xc77d1d){const _0x2513fc=_0x2cc097,{unitID:_0x52bc7d,memberID:_0x326e9a,textRanges:_0x231ff9}=_0xc77d1d,_0x1bf9fb=_0x4aa7db(_0x231ff9);if(_0x1bf9fb==='')return;const _0xa98c86={'unitID':_0x52bc7d,'memberID':_0x326e9a,'selection':_0x1bf9fb};this[_0x2513fc(0x287)][_0x2513fc(0x379)](_0xa98c86);}}var _0x584123=Object[_0x2cc097(0x32d)],_0x2b50d8=(_0x4758b8,_0x391456,_0x3de1d1,_0x5e0954)=>{for(var _0x5939d0=_0x5e0954>0x1?void 0x0:_0x5e0954?_0x584123(_0x391456,_0x3de1d1):_0x391456,_0xdda0d8=_0x4758b8['length']-0x1,_0xb19621;_0xdda0d8>=0x0;_0xdda0d8--)(_0xb19621=_0x4758b8[_0xdda0d8])&&(_0x5939d0=_0xb19621(_0x5939d0)||_0x5939d0);return _0x5939d0;},_0x169dab=(_0x4517a1,_0x4f0c7f)=>(_0x194b4d,_0x1316cf)=>_0x4f0c7f(_0x194b4d,_0x1316cf,_0x4517a1);const _0x199730=0x12c,_0x39326c=0x64;let _0x25ffdf=class extends _0x42b1ed[_0x2cc097(0x208)]{constructor(_0x1b8c2a,_0x154197,_0x40ae63,_0x228ace,_0x5dacf2,_0x27ddfd,_0x2ecf99,_0x300111,_0x3bf5f4){const _0x45ad9c=_0x2cc097;super(),_0x565563(this,_0x45ad9c(0xea),!0x1),_0x565563(this,_0x45ad9c(0x270),!0x1),_0x565563(this,_0x45ad9c(0x2b8),new _0x50e9d8[(_0x45ad9c(0x371))](new Map())),_0x565563(this,'cursorInfo$',this[_0x45ad9c(0x2b8)]['asObservable']()),_0x565563(this,'_roomMembers$',new _0x50e9d8['BehaviorSubject']([])),_0x565563(this,_0x45ad9c(0x1d7),this[_0x45ad9c(0x129)][_0x45ad9c(0x29f)](_0x50e9d8[_0x45ad9c(0x23d)](_0x199730))),_0x565563(this,_0x45ad9c(0x145),_0x42b1ed['debounce'](_0x48e406=>{const _0x6111b6=_0x45ad9c,_0x3466ae={'eventID':_0x20ec0c[_0x6111b6(0x2fa)][_0x6111b6(0x12a)],'data':{'unitID':this['unitID'],'memberID':this[_0x6111b6(0x1fa)][_0x6111b6(0xfc)](),'selection':_0x4aa7db(_0x48e406)}};this[_0x6111b6(0x1fa)][_0x6111b6(0x28f)](_0x3466ae,this[_0x6111b6(0xed)]);},_0x39326c)),(this[_0x45ad9c(0xed)]=_0x1b8c2a,this[_0x45ad9c(0x1fa)]=_0x154197,this['_injector']=_0x40ae63,this[_0x45ad9c(0xe3)]=_0x228ace,this[_0x45ad9c(0x1ec)]=_0x5dacf2,this[_0x45ad9c(0x24e)]=_0x27ddfd,this['_transformService']=_0x2ecf99,this[_0x45ad9c(0x266)]=_0x300111,this['_commandService']=_0x3bf5f4);}get['cursorInfo'](){const _0x38af58=_0x2cc097;return this[_0x38af58(0x2b8)]['getValue']();}get['roomMembers'](){const _0x3def0a=_0x2cc097;return this[_0x3def0a(0x129)][_0x3def0a(0x246)]();}[_0x2cc097(0x2a2)](){const _0x2c9944=_0x2cc097;super[_0x2c9944(0x2a2)](),this[_0x2c9944(0x2b8)][_0x2c9944(0x379)](new Map()),this[_0x2c9944(0x2b8)][_0x2c9944(0x221)](),this[_0x2c9944(0x129)][_0x2c9944(0x379)]([]),this[_0x2c9944(0x129)][_0x2c9944(0x221)]();}[_0x2cc097(0x1fb)](){const _0x1690d2=_0x2cc097;this['_init']||(this[_0x1690d2(0x270)]=!0x0,this[_0x1690d2(0x1fa)]['sessionStatus$'][_0x1690d2(0x29f)](_0x50e9d8[_0x1690d2(0x2be)](this[_0x1690d2(0x1dc)]))[_0x1690d2(0x1bc)](_0x57dc6d=>{const _0x9652e5=_0x1690d2;_0x57dc6d===_0x3b3d06[_0x9652e5(0x150)][_0x9652e5(0x2bc)]?this[_0x9652e5(0x24a)]():this[_0x9652e5(0xe1)]();}),this[_0x1690d2(0x1fa)][_0x1690d2(0x1e0)][_0x1690d2(0x29f)](_0x50e9d8[_0x1690d2(0x2be)](this[_0x1690d2(0x1dc)]))[_0x1690d2(0x1bc)](_0x517bef=>{const _0x4c8cce=_0x1690d2,_0xf5b27b=_0x517bef[_0x4c8cce(0x30d)];_0xf5b27b===_0x20ec0c['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x4c8cce(0x121)](_0x517bef),_0xf5b27b===_0x20ec0c[_0x4c8cce(0x2fa)][_0x4c8cce(0x282)]&&this[_0x4c8cce(0x24c)](_0x517bef);}),this['disposeWithMe'](this[_0x1690d2(0x12f)][_0x1690d2(0x26e)](_0x1700c9=>{const _0x10d184=_0x1690d2,_0x4990e5=_0x1700c9[_0x10d184(0x25a)];_0x4990e5!=null&&this['_online']&&_0x1700c9['id']===_0x3b2d2a[_0x10d184(0x1f0)]['id']&&_0x4990e5[_0x10d184(0x365)]===this[_0x10d184(0xed)]&&_0x4990e5[_0x10d184(0x1fc)]===!0x1&&_0x4990e5[_0x10d184(0x126)][_0x10d184(0x1b9)]>0x0&&this[_0x10d184(0x145)](_0x4990e5[_0x10d184(0x126)]);})),this[_0x1690d2(0x24e)][_0x1690d2(0x312)][_0x1690d2(0x29f)](_0x50e9d8['takeUntil'](this[_0x1690d2(0x1dc)]))['subscribe'](_0x3bf2d8=>{const _0x36e8a3=_0x1690d2;if((_0x3bf2d8==null?void 0x0:_0x3bf2d8[_0x36e8a3(0xed)])!==this[_0x36e8a3(0xed)])return;const _0x358587={'eventID':_0x20ec0c[_0x36e8a3(0x2fa)][_0x36e8a3(0x12a)],'data':_0x3bf2d8};this[_0x36e8a3(0x121)](_0x358587);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0xd30c71=>{const _0x3df035=_0x1690d2;if(_0xd30c71[_0x3df035(0x25a)]==null)return;const _0x2e2a99=_0xd30c71['params'];if(_0xd30c71['id']!==_0x3b2d2a['RichTextEditingMutation']['id']||_0x2e2a99['unitId']!==this['unitID'])return;const _0x12071c={'id':_0x3df035(0x1ab),'params':_0x2e2a99},_0x20de7e=this['cursorInfo'];for(const [_0x12acb3,_0x7879db]of _0x20de7e){const _0x427af2={'id':_0x3df035(0x1ab),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x7879db['ranges']}},_0x133bd1=this[_0x3df035(0x27f)][_0x3df035(0x239)](_0x12071c,_0x427af2,!0x1);if(_0x20ec0c['isTransformMutationFailure'](_0x133bd1))throw _0x133bd1[_0x3df035(0x18b)];_0x20de7e[_0x3df035(0x27d)](_0x12acb3,{..._0x7879db,'ranges':_0x133bd1[_0x3df035(0x355)]['params'][_0x3df035(0x13d)]});}queueMicrotask(()=>{const _0x173930=_0x3df035;this[_0x173930(0x2b8)][_0x173930(0x379)](_0x20de7e);});})));}[_0x2cc097(0x121)](_0x2b9063){const _0x16510e=_0x2cc097;var _0x1a0464,_0x56887e;const {memberID:_0xdd3da5,selection:_0xc3de5e}=_0x2b9063[_0x16510e(0x1c1)],_0x3c5204=_0x3c5626(_0xc3de5e),_0x34d3d7=(_0x56887e=(_0x1a0464=this['_memberService'][_0x16510e(0x12d)](this[_0x16510e(0xed)],_0xdd3da5))==null?void 0x0:_0x1a0464['name'])!=null?_0x56887e:'Unknown\x20user',_0x1ad7d1={'color':this[_0x16510e(0xe3)][_0x16510e(0x212)](_0xdd3da5),'name':_0x34d3d7,'ranges':_0x3c5204},_0x393b3c=this[_0x16510e(0x36d)];_0x393b3c[_0x16510e(0x27d)](_0xdd3da5,_0x1ad7d1),this[_0x16510e(0x2b8)][_0x16510e(0x379)](_0x393b3c);}['_onCursorDelete'](_0x23f6f8){const _0x3d07a0=_0x2cc097,{memberID:_0xdf1653}=_0x23f6f8[_0x3d07a0(0x1c1)],_0x5b8bb6=this[_0x3d07a0(0x36d)];_0x5b8bb6['delete'](_0xdf1653),this['_cursorInfo$'][_0x3d07a0(0x379)](_0x5b8bb6);}[_0x2cc097(0x24a)](){const _0x5e145b=_0x2cc097;var _0x11acfa;if(this[_0x5e145b(0xea)]=!0x0,((_0x11acfa=this[_0x5e145b(0x266)][_0x5e145b(0x24f)]())==null?void 0x0:_0x11acfa[_0x5e145b(0x309)]())!==this['unitID'])return;const _0x308ca2=this[_0x5e145b(0x2a5)][_0x5e145b(0x16e)](_0x3b2d2a[_0x5e145b(0x259)])[_0x5e145b(0x2c1)]();Array['isArray'](_0x308ca2)&&_0x308ca2[_0x5e145b(0x1b9)]>0x0&&this[_0x5e145b(0x145)](_0x308ca2);}['_toggleOffline'](){const _0x3515a6=_0x2cc097;this[_0x3515a6(0xea)]=!0x1;}};_0x25ffdf=_0x2b50d8([_0x169dab(0x2,_0x42b1ed[_0x2cc097(0x37c)](_0x42b1ed[_0x2cc097(0x2ec)])),_0x169dab(0x3,_0x42b1ed[_0x2cc097(0x37c)](_0x3011e6)),_0x169dab(0x4,_0x42b1ed[_0x2cc097(0x37c)](_0x3b3d06[_0x2cc097(0x2a1)])),_0x169dab(0x5,_0x42b1ed[_0x2cc097(0x37c)](_0x392d57)),_0x169dab(0x6,_0x20ec0c['ITransformService']),_0x169dab(0x7,_0x42b1ed[_0x2cc097(0x370)]),_0x169dab(0x8,_0x42b1ed[_0x2cc097(0x14a)])],_0x25ffdf);var _0xb053bb=Object[_0x2cc097(0x32d)],_0x36faf3=(_0x1562b4,_0x50597d,_0x5d3179,_0x5c0ff3)=>{const _0x3bc453=_0x2cc097;for(var _0x5e0f09=_0x5c0ff3>0x1?void 0x0:_0x5c0ff3?_0xb053bb(_0x50597d,_0x5d3179):_0x50597d,_0x151777=_0x1562b4[_0x3bc453(0x1b9)]-0x1,_0x46d665;_0x151777>=0x0;_0x151777--)(_0x46d665=_0x1562b4[_0x151777])&&(_0x5e0f09=_0x46d665(_0x5e0f09)||_0x5e0f09);return _0x5e0f09;},_0xc25425=(_0x595152,_0x3fcbbc)=>(_0xc90e4c,_0x31a4f8)=>_0x3fcbbc(_0xc90e4c,_0x31a4f8,_0x595152);const _0x11027b=0x12c,_0x287587=0x64,_0xe34cb7=()=>{let _0x1121cf=[],_0xf67923=!0x1;return _0x192ec=>{_0x1121cf['push'](_0x192ec),_0xf67923||(_0xf67923=!0x0,setTimeout(()=>{_0x1121cf['forEach'](_0x2acc5e=>_0x2acc5e()),_0x1121cf=[],_0xf67923=!0x1;}));};};let _0xf24cf9=class extends _0x42b1ed[_0x2cc097(0x208)]{constructor(_0x545379,_0x141193,_0x49dbfa,_0x431140,_0xd2aeb6,_0x1d964e,_0x1200ba,_0x4cf835){const _0x2ef89c=_0x2cc097;super(),_0x565563(this,'_online',!0x1),_0x565563(this,_0x2ef89c(0x270),!0x1),_0x565563(this,_0x2ef89c(0x2b8),new _0x50e9d8[(_0x2ef89c(0x371))](new Map())),_0x565563(this,_0x2ef89c(0x22d),this[_0x2ef89c(0x2b8)][_0x2ef89c(0x32f)]()),_0x565563(this,'_roomMembers$',new _0x50e9d8['BehaviorSubject']([])),_0x565563(this,'roomMembers$',this['_roomMembers$'][_0x2ef89c(0x29f)](_0x50e9d8[_0x2ef89c(0x23d)](_0x11027b))),_0x565563(this,'_updateLocalCursor',_0x42b1ed[_0x2ef89c(0x31b)]((_0x4ab405,_0x5cea1b)=>{const _0x5cafcf=_0x2ef89c,_0x4971d6={'eventID':_0x20ec0c['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x5cafcf(0xed)],'memberID':this[_0x5cafcf(0x1fa)]['getMemberID'](),'selection':_0x64ae85[_0x5cafcf(0x243)](_0x4ab405,_0x5cea1b[_0x5cafcf(0x1b6)])}};this[_0x5cafcf(0x1fa)][_0x5cafcf(0x28f)](_0x4971d6,this[_0x5cafcf(0xed)]);},_0x287587)),(this[_0x2ef89c(0xed)]=_0x545379,this['_session']=_0x141193,this[_0x2ef89c(0x2a5)]=_0x49dbfa,this[_0x2ef89c(0xe3)]=_0x431140,this[_0x2ef89c(0x1ec)]=_0xd2aeb6,this[_0x2ef89c(0x266)]=_0x1d964e,this[_0x2ef89c(0x12f)]=_0x1200ba,this['_refRangeService']=_0x4cf835);}get[_0x2cc097(0x36d)](){const _0xadadf9=_0x2cc097;return this['_cursorInfo$'][_0xadadf9(0x246)]();}get[_0x2cc097(0x1a9)](){const _0x4e83e1=_0x2cc097;return this[_0x4e83e1(0x129)]['getValue']();}[_0x2cc097(0x2a2)](){const _0xeac089=_0x2cc097;super[_0xeac089(0x2a2)](),this[_0xeac089(0x2b8)][_0xeac089(0x379)](new Map()),this[_0xeac089(0x2b8)]['complete'](),this[_0xeac089(0x129)]['next']([]),this[_0xeac089(0x129)][_0xeac089(0x221)]();}['init'](){const _0x5cb35a=_0x2cc097;this['_init']||(this['_init']=!0x0,this[_0x5cb35a(0x1fa)][_0x5cb35a(0x2a7)][_0x5cb35a(0x29f)](_0x50e9d8[_0x5cb35a(0x2be)](this[_0x5cb35a(0x1dc)]))[_0x5cb35a(0x1bc)](_0x14ad9d=>{const _0x1c1d7b=_0x5cb35a;_0x14ad9d===_0x3b3d06[_0x1c1d7b(0x150)]['ONLINE']?this[_0x1c1d7b(0x24a)]():this['_toggleOffline']();}),this['_session']['event$'][_0x5cb35a(0x29f)](_0x50e9d8[_0x5cb35a(0x2be)](this['dispose$']))[_0x5cb35a(0x1bc)](_0xea95e4=>{const _0x5c4b82=_0x5cb35a,_0x4ea36b=_0xea95e4[_0x5c4b82(0x30d)];_0x4ea36b===_0x20ec0c['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x5c4b82(0x121)](_0xea95e4),_0x4ea36b===_0x20ec0c[_0x5c4b82(0x2fa)][_0x5c4b82(0x282)]&&this[_0x5c4b82(0x24c)](_0xea95e4);}),this[_0x5cb35a(0x232)](),this[_0x5cb35a(0x364)](this['_commandService']['onCommandExecuted'](_0x314dab=>{const _0x57ceb1=_0x5cb35a;if(this[_0x57ceb1(0xea)]&&_0x314dab['id']===_0x49066d[_0x57ceb1(0x1d4)]['id']&&_0x314dab[_0x57ceb1(0x25a)]['unitId']===this['unitID']){const _0x587b35=_0x314dab[_0x57ceb1(0x25a)];this['_updateLocalCursor'](_0x587b35[_0x57ceb1(0x1ac)],_0x587b35[_0x57ceb1(0x17c)][0x0]);}})));}[_0x2cc097(0x121)](_0x50d789){const _0x5db553=_0x2cc097;var _0x325198,_0x4fa481;const {memberID:_0x2e0a75,selection:_0x8d37d3}=_0x50d789[_0x5db553(0x1c1)],{sheetName:_0x3e0194,range:_0x4a370d}=_0x64ae85[_0x5db553(0x18c)](_0x8d37d3),_0x3da69f={'name':(_0x4fa481=(_0x325198=this[_0x5db553(0x1ec)]['getMember'](this[_0x5db553(0xed)],_0x2e0a75))==null?void 0x0:_0x325198[_0x5db553(0x292)])!=null?_0x4fa481:_0x5db553(0x1cd),'range':this[_0x5db553(0x1f4)](_0x3e0194,_0x4a370d),'sheetID':_0x3e0194,'color':this['_colorAssignService'][_0x5db553(0x212)](_0x2e0a75),'selection':_0x8d37d3},_0x33bf0d=this[_0x5db553(0x36d)];_0x33bf0d['set'](_0x2e0a75,_0x3da69f),this['_cursorInfo$'][_0x5db553(0x379)](_0x33bf0d);}[_0x2cc097(0x24c)](_0x24b00f){const _0x55c4f1=_0x2cc097,{memberID:_0x3123d7}=_0x24b00f[_0x55c4f1(0x1c1)],_0xa5aa97=this['cursorInfo'];_0xa5aa97[_0x55c4f1(0x119)](_0x3123d7),this[_0x55c4f1(0x2b8)][_0x55c4f1(0x379)](_0xa5aa97);}['_getMergeRange'](_0x28a6,_0x4cd222){const _0x4abfa6=_0x2cc097;var _0xf252ef,_0x2916a2;const _0x1d633d=(_0x2916a2=(_0xf252ef=this['_univerInstanceService'][_0x4abfa6(0x31f)](this['unitID']))==null?void 0x0:_0xf252ef['getSheetBySheetId'](_0x28a6))==null?void 0x0:_0x2916a2[_0x4abfa6(0x17f)]();return(_0x1d633d==null?void 0x0:_0x1d633d[_0x4abfa6(0x169)](_0x200428=>_0x42b1ed[_0x4abfa6(0x346)][_0x4abfa6(0x37a)](_0x200428,_0x4cd222)))||_0x4cd222;}[_0x2cc097(0x232)](){const _0x2eda66=_0x2cc097,_0x2bcc23=new _0x42b1ed[(_0x2eda66(0x1f1))](),_0x4f0edb=_0xe34cb7(),_0x3ae002=()=>{const _0xb1eae9=_0x2eda66;_0x2bcc23[_0xb1eae9(0x2a2)]();const _0xd56167=(_0xdbdada,_0xb6bf1f,_0x171a60,_0x35313a)=>{const _0x41c5a8=_0xb1eae9;let _0x4bf1dc=[];switch(_0xdbdada['id']){case _0x49066d[_0x41c5a8(0x14e)][_0x41c5a8(0x2c7)]:{_0x4bf1dc=_0x49066d[_0x41c5a8(0x2af)](_0xdbdada,_0x35313a);break;}case _0x49066d[_0x41c5a8(0x14e)][_0x41c5a8(0x311)]:{_0x4bf1dc=_0x49066d[_0x41c5a8(0x353)](_0xdbdada,_0x35313a);break;}case _0x49066d['EffectRefRangId'][_0x41c5a8(0x2dd)]:{_0x4bf1dc=_0x49066d['handleInsertCol'](_0xdbdada,_0x35313a);break;}case _0x49066d['EffectRefRangId']['InsertRangeMoveDownCommandId']:{_0x4bf1dc=_0x49066d[_0x41c5a8(0x254)](_0xdbdada,_0x35313a);break;}case _0x49066d[_0x41c5a8(0x14e)][_0x41c5a8(0x275)]:{_0x4bf1dc=_0x49066d[_0x41c5a8(0x298)](_0xdbdada,_0x35313a);break;}case _0x49066d['EffectRefRangId']['InsertRowCommandId']:{_0x4bf1dc=_0x49066d['handleInsertRow'](_0xdbdada,_0x35313a);break;}case _0x49066d[_0x41c5a8(0x14e)][_0x41c5a8(0x200)]:{_0x4bf1dc=_0x49066d[_0x41c5a8(0x362)](_0xdbdada,_0x35313a);break;}case _0x49066d['EffectRefRangId'][_0x41c5a8(0x367)]:{_0x4bf1dc=_0x49066d[_0x41c5a8(0x227)](_0xdbdada,_0x35313a);break;}case _0x49066d[_0x41c5a8(0x14e)][_0x41c5a8(0x197)]:{_0x4bf1dc=_0x49066d[_0x41c5a8(0x248)](_0xdbdada,_0x35313a);break;}}const _0x5c8ec0=_0x49066d[_0x41c5a8(0x1d1)](_0x4bf1dc,_0x35313a),_0x280473=this[_0x41c5a8(0x36d)][_0x41c5a8(0x16e)](_0xb6bf1f);if(_0x280473&&_0x5c8ec0){const _0x43e2a9={..._0x280473,'range':_0x5c8ec0};this['cursorInfo']['set'](_0xb6bf1f,_0x43e2a9),_0x4f0edb(()=>{const _0x1fa518=_0x41c5a8,_0x137b2c=this[_0x1fa518(0x102)][_0x1fa518(0x349)](_0x5c8ec0,_0x4ea89c=>(_0x137b2c['dispose'](),_0xd56167(_0x4ea89c,_0xb6bf1f,_0x171a60,_0x5c8ec0)));_0x2bcc23[_0x1fa518(0x195)](_0x137b2c);});}return{'redos':[],'undos':[]};};this[_0xb1eae9(0x36d)][_0xb1eae9(0x18e)]((_0x4fe8b3,_0x4d6d19)=>{const _0x308b6a=_0xb1eae9,{range:_0x1c98b3,sheetID:_0x303195}=_0x4fe8b3,_0x4dd0c0=this[_0x308b6a(0x102)]['registerRefRange'](_0x1c98b3,_0x28165c=>(_0x4dd0c0[_0x308b6a(0x2a2)](),_0xd56167(_0x28165c,_0x4d6d19,_0x303195,_0x1c98b3)));_0x2bcc23['add'](_0x4dd0c0);});};this[_0x2eda66(0x364)](_0x42b1ed[_0x2eda66(0x153)](this['_cursorInfo$'][_0x2eda66(0x1bc)](()=>{_0x3ae002();})));}['_toggleOnline'](){const _0x5c52e4=_0x2cc097;var _0x9d5ba1,_0x45b1cb;if(this[_0x5c52e4(0xea)]=!0x0,((_0x9d5ba1=this['_univerInstanceService'][_0x5c52e4(0x24f)]())==null?void 0x0:_0x9d5ba1['getUnitId']())!==this[_0x5c52e4(0xed)])return;const _0x588fbb=(_0x45b1cb=this[_0x5c52e4(0x2a5)][_0x5c52e4(0x16e)](_0x49066d[_0x5c52e4(0x26f)])[_0x5c52e4(0x369)]())==null?void 0x0:_0x45b1cb[0x0],_0x1b6bf8=this[_0x5c52e4(0x266)][_0x5c52e4(0x107)](_0x42b1ed[_0x5c52e4(0x2ad)][_0x5c52e4(0x211)])[_0x5c52e4(0xf2)]();_0x588fbb&&_0x1b6bf8&&this[_0x5c52e4(0x145)](_0x1b6bf8[_0x5c52e4(0x117)](),_0x588fbb);}[_0x2cc097(0xe1)](){this['_online']=!0x1;}};_0xf24cf9=_0x36faf3([_0xc25425(0x2,_0x42b1ed[_0x2cc097(0x37c)](_0x42b1ed['Injector'])),_0xc25425(0x3,_0x42b1ed['Inject'](_0x3011e6)),_0xc25425(0x4,_0x42b1ed[_0x2cc097(0x37c)](_0x3b3d06[_0x2cc097(0x2a1)])),_0xc25425(0x5,_0x42b1ed['IUniverInstanceService']),_0xc25425(0x6,_0x42b1ed[_0x2cc097(0x14a)]),_0xc25425(0x7,_0x42b1ed['Inject'](_0x49066d[_0x2cc097(0x1d0)]))],_0xf24cf9);var _0x38ad0f=Object['getOwnPropertyDescriptor'],_0x37f856=(_0x55eeb3,_0x1d18a8,_0x36f1ba,_0x54cddf)=>{const _0x44f349=_0x2cc097;for(var _0x137fff=_0x54cddf>0x1?void 0x0:_0x54cddf?_0x38ad0f(_0x1d18a8,_0x36f1ba):_0x1d18a8,_0xb8a107=_0x55eeb3[_0x44f349(0x1b9)]-0x1,_0x15949c;_0xb8a107>=0x0;_0xb8a107--)(_0x15949c=_0x55eeb3[_0xb8a107])&&(_0x137fff=_0x15949c(_0x137fff)||_0x137fff);return _0x137fff;},_0x4c99fe=(_0x55e613,_0x4c7bb9)=>(_0x408966,_0x4dbcf7)=>_0x4c7bb9(_0x408966,_0x4dbcf7,_0x55e613);let _0xa26854=class extends _0x42b1ed[_0x2cc097(0x208)]{constructor(_0x5a2ccb,_0x5517d5,_0x543c99){const _0x1be6b9=_0x2cc097;super(),_0x565563(this,_0x1be6b9(0x1be),new Map()),_0x565563(this,_0x1be6b9(0x1c6),new _0x50e9d8[(_0x1be6b9(0x18d))]()),(this['_univerInstanceService']=_0x5a2ccb,this[_0x1be6b9(0x2a5)]=_0x5517d5,this[_0x1be6b9(0x2fd)]=_0x543c99,this[_0x1be6b9(0x270)]());}[_0x2cc097(0x2a2)](){const _0x7b6c15=_0x2cc097;super[_0x7b6c15(0x2a2)](),this[_0x7b6c15(0x1c6)][_0x7b6c15(0x221)](),this[_0x7b6c15(0x1be)][_0x7b6c15(0x18e)](_0x68f8cc=>_0x68f8cc['dispose']());}[_0x2cc097(0x1db)](_0x555b46){const _0x300f18=_0x2cc097;return this[_0x300f18(0x1be)][_0x300f18(0x22c)](_0x555b46)?this[_0x300f18(0x1be)][_0x300f18(0x16e)](_0x555b46)[_0x300f18(0x22d)]:this[_0x300f18(0x1c6)]['pipe'](_0x50e9d8[_0x300f18(0x29a)](_0x3aa0be=>_0x3aa0be[_0x300f18(0xed)]===_0x555b46),_0x50e9d8[_0x300f18(0x2c3)](_0x4bad64=>_0x4bad64[_0x300f18(0x22d)]));}[_0x2cc097(0x270)](){const _0x167258=_0x2cc097;this[_0x167258(0x266)][_0x167258(0x285)](_0x42b1ed[_0x167258(0x2ad)][_0x167258(0x211)])[_0x167258(0x29f)](_0x50e9d8[_0x167258(0x2be)](this[_0x167258(0x1dc)]))['subscribe'](async _0x30e14e=>{const _0x40b482=_0x167258,_0x474cec=_0x30e14e[_0x40b482(0x309)](),_0x4ca3ac=await this['_startSheetCollabCursor'](_0x474cec);this[_0x40b482(0x1c6)][_0x40b482(0x379)](_0x4ca3ac),this['_entities'][_0x40b482(0x27d)](_0x474cec,_0x4ca3ac);}),this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x42b1ed[_0x167258(0x2ad)][_0x167258(0x1a8)])['pipe'](_0x50e9d8[_0x167258(0x2be)](this[_0x167258(0x1dc)]))['pipe'](_0x50e9d8['filter'](_0x37aba6=>!_0x37aba6[_0x167258(0x309)]()[_0x167258(0x289)]('__')))[_0x167258(0x1bc)](async _0x13d707=>{const _0x1a5df6=_0x167258,_0x49c739=_0x13d707[_0x1a5df6(0x309)](),_0xc1eaf4=await this[_0x1a5df6(0x31c)](_0x49c739);this[_0x1a5df6(0x1c6)][_0x1a5df6(0x379)](_0xc1eaf4),this['_entities']['set'](_0x49c739,_0xc1eaf4);}),_0x50e9d8[_0x167258(0x135)](this[_0x167258(0x266)][_0x167258(0x2aa)](_0x42b1ed['UniverInstanceType'][_0x167258(0x1a8)]),this[_0x167258(0x266)][_0x167258(0x2aa)](_0x42b1ed[_0x167258(0x2ad)][_0x167258(0x211)]))[_0x167258(0x29f)](_0x50e9d8[_0x167258(0x2be)](this[_0x167258(0x1dc)]))[_0x167258(0x1bc)](_0x154ca8=>{const _0x10b858=_0x167258,_0xd87dd6=_0x154ca8[_0x10b858(0x309)](),_0x33ddad=this['_entities'][_0x10b858(0x16e)](_0xd87dd6);_0x33ddad&&(_0x33ddad[_0x10b858(0x2a2)](),this[_0x10b858(0x1be)]['delete'](_0xd87dd6));});}async[_0x2cc097(0x313)](_0x567f62){const _0x2f8323=_0x2cc097,_0x5e34d9=await this['_collabSessionService']['requireSession'](_0x567f62),_0x1f543b=this[_0x2f8323(0x2a5)][_0x2f8323(0x29b)](_0xf24cf9,_0x567f62,_0x5e34d9);return _0x1f543b[_0x2f8323(0x1fb)](),_0x1f543b;}async[_0x2cc097(0x31c)](_0x1e0f31){const _0x4bd629=_0x2cc097,_0x189e55=await this[_0x4bd629(0x2fd)][_0x4bd629(0x220)](_0x1e0f31),_0x1652e6=this['_injector']['createInstance'](_0x25ffdf,_0x1e0f31,_0x189e55);return _0x1652e6['init'](),_0x1652e6;}};_0xa26854=_0x37f856([_0x4c99fe(0x0,_0x42b1ed['IUniverInstanceService']),_0x4c99fe(0x1,_0x42b1ed[_0x2cc097(0x37c)](_0x42b1ed[_0x2cc097(0x2ec)])),_0x4c99fe(0x2,_0x42b1ed[_0x2cc097(0x37c)](_0x3b3d06[_0x2cc097(0x10f)]))],_0xa26854);const _0x359105=0x14,_0xaf6d4e=0xc8,_0x536c7c=0x4,_0x194a4a=0x5;function _0x4a1a21(_0x3df8e9,_0x370d6e){const _0x4c2b43=_0x2cc097;let {radius:_0x1bcfe9,width:_0xbce83d,height:_0x18632b}=_0x370d6e;_0x1bcfe9=_0x1bcfe9!=null?_0x1bcfe9:0x0,_0xbce83d=_0xbce83d!=null?_0xbce83d:0x1e,_0x18632b=_0x18632b!=null?_0x18632b:0x1e;let _0x487600=0x0,_0x26af08=0x0,_0x166b91=0x0;_0x487600=_0x26af08=_0x166b91=Math[_0x4c2b43(0x158)](_0x1bcfe9,_0xbce83d/0x2,_0x18632b/0x2),_0x3df8e9[_0x4c2b43(0x2bf)](),_0x3df8e9[_0x4c2b43(0xef)](_0x487600,0x0),_0x3df8e9[_0x4c2b43(0x26a)](_0xbce83d-_0x26af08,0x0),_0x3df8e9['arc'](_0xbce83d-_0x26af08,_0x26af08,_0x26af08,Math['PI']*0x3/0x2,0x0,!0x1),_0x3df8e9[_0x4c2b43(0x26a)](_0xbce83d,_0x18632b-_0x166b91),_0x3df8e9[_0x4c2b43(0x1c4)](_0xbce83d-_0x166b91,_0x18632b-_0x166b91,_0x166b91,0x0,Math['PI']/0x2,!0x1),_0x3df8e9[_0x4c2b43(0x26a)](0x0,_0x18632b),_0x3df8e9[_0x4c2b43(0x26a)](0x0,_0x487600),_0x3df8e9[_0x4c2b43(0x1c4)](_0x487600,_0x487600,_0x487600,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3df8e9[_0x4c2b43(0xf5)](),_0x370d6e[_0x4c2b43(0x167)]&&(_0x3df8e9['save'](),_0x3df8e9['fillStyle']=_0x370d6e[_0x4c2b43(0x167)],_0x370d6e[_0x4c2b43(0x170)]==='evenodd'?_0x3df8e9[_0x4c2b43(0x167)]('evenodd'):_0x3df8e9[_0x4c2b43(0x167)](),_0x3df8e9['restore']());}class _0x80ca18 extends _0x161b55['Shape']{constructor(_0xd715ee,_0x3abf66){const _0x247803=_0x2cc097;super(_0xd715ee,_0x3abf66),_0x565563(this,_0x247803(0x1f2)),_0x565563(this,_0x247803(0x32a)),(this[_0x247803(0x1f2)]=_0x3abf66==null?void 0x0:_0x3abf66[_0x247803(0x1f2)],this['text']=_0x3abf66==null?void 0x0:_0x3abf66[_0x247803(0x32a)]);}static['drawWith'](_0x424c89,_0xf25b30){const _0x2b719e=_0x2cc097,{text:_0xebb13d,color:_0x37ff01}=_0xf25b30;_0x424c89['save'](),_0x424c89[_0x2b719e(0x302)]=_0x2b719e(0x10a);const _0x24da61=_0x424c89[_0x2b719e(0x2b7)](_0xebb13d)[_0x2b719e(0x1ff)],_0x3d85b9=Math[_0x2b719e(0x158)](_0x24da61+0x2*_0x536c7c,_0xaf6d4e);_0x4a1a21(_0x424c89,{'height':_0x359105,'radius':0x4,'width':_0x3d85b9,'fill':_0x37ff01}),_0x424c89['fillStyle']=_0x2b719e(0x376);const _0x1ebe04=_0x536c7c,_0xf9962a=_0x359105-_0x194a4a,_0x59ecfa=_0xaf6d4e-0x2*_0x536c7c;if(_0x24da61>_0x59ecfa){let _0x5a71da='',_0x2e8b9f=0x0;for(const _0x468d84 of _0xebb13d){const _0x493d66=_0x424c89['measureText'](_0x468d84)[_0x2b719e(0x1ff)];if(_0x2e8b9f+_0x493d66<=_0x59ecfa-_0x424c89[_0x2b719e(0x2b7)](_0x2b719e(0x1a0))[_0x2b719e(0x1ff)])_0x5a71da+=_0x468d84,_0x2e8b9f+=_0x493d66;else{_0x5a71da+=_0x2b719e(0x1a0);break;}}_0x424c89[_0x2b719e(0x373)](_0x5a71da,_0x1ebe04,_0xf9962a);}else _0x424c89[_0x2b719e(0x373)](_0xebb13d,_0x1ebe04,_0xf9962a);_0x424c89['restore']();}[_0x2cc097(0x154)](_0x538f13){const _0x9e09e=_0x2cc097;_0x80ca18[_0x9e09e(0x103)](_0x538f13,this);}}const _0xe231ea=_0x2cc097(0x144),_0x49a45b=_0x2cc097(0x2dc),_0x174fbb=_0x2cc097(0x366),_0x3c6675=0x6,_0x3719c0=1.5,_0x33690c=0x4,_0xe39152=1.5,_0x2fb7a7=_0x2cc097(0x252);class _0x5f4050{constructor(_0x47791e,_0x348c6a,_0x3cc2f1,_0x31e049){const _0x25de77=_0x2cc097;_0x565563(this,_0x25de77(0x1e8),[]),_0x565563(this,_0x25de77(0xdb),null),_0x565563(this,_0x25de77(0x295),null),_0x565563(this,_0x25de77(0x2fb),null),_0x565563(this,_0x25de77(0xe8),null),_0x565563(this,_0x25de77(0x2cc),null),(this[_0x25de77(0x1ae)]=_0x47791e,this[_0x25de77(0x308)]=_0x348c6a,this[_0x25de77(0x34f)]=_0x3cc2f1,this[_0x25de77(0x1d2)]=_0x31e049,this[_0x25de77(0x1f6)]());}set[_0x2cc097(0x2db)](_0x5d6141){const _0x32b391=_0x2cc097;_0x5d6141?(this[_0x32b391(0x2fb)]&&this[_0x32b391(0x2fb)][_0x32b391(0x1ee)](),this[_0x32b391(0x295)]&&this[_0x32b391(0x295)][_0x32b391(0x214)]()):(this[_0x32b391(0x2fb)]&&this['_anchorDot'][_0x32b391(0x214)](),this['_textBubble']&&this[_0x32b391(0x295)]['hide']());}[_0x2cc097(0x2a2)](){const _0x5b5add=_0x2cc097;for(const _0x5253d5 of this[_0x5b5add(0x1e8)])_0x5253d5[_0x5b5add(0x2a2)]();this[_0x5b5add(0x295)]&&this[_0x5b5add(0x295)][_0x5b5add(0x2a2)](),this['_anchorDot']&&this[_0x5b5add(0x2fb)][_0x5b5add(0x2a2)](),this[_0x5b5add(0xdb)]&&this[_0x5b5add(0xdb)][_0x5b5add(0x2a2)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x2cc097(0x1f6)](){const _0x350df0=_0x2cc097;var _0x591402;const {_docSkeleton:_0x381450,_document:_0x12ee04}=this,{color:_0x59cb76,name:_0x311d6c,ranges:_0xe9acb0}=this[_0x350df0(0x1ae)],_0x35e830=_0x12ee04[_0x350df0(0x1e1)](),{docsLeft:_0x1523a1,docsTop:_0x44985f}=_0x35e830,_0x12667c=new _0x230698[(_0x350df0(0xff))](_0x35e830,_0x381450);for(const {startOffset:_0x1e7007,endOffset:_0x63a800,rangeType:_0x46b545,segmentId:_0x4db62d,segmentPage:_0x4b9edb,collapsed:_0x102045,isActive:_0x105eeb}of _0xe9acb0){const _0x522ba0=_0x381450['findNodePositionByCharIndex'](_0x1e7007,!0x0,_0x4db62d,_0x4b9edb);let _0x17223c=_0x381450[_0x350df0(0x199)](_0x63a800,!0x0,_0x4db62d,_0x4b9edb);if(_0x17223c==null&&(_0x17223c=_0x381450[_0x350df0(0x199)](_0x63a800-0x1,!0x1,_0x4db62d,_0x4b9edb)),_0x105eeb){const {contentBoxPointGroup:_0x36df80}=_0x12667c[_0x350df0(0x356)](_0x17223c,_0x17223c);if(_0x36df80[_0x350df0(0x1b9)]===0x0)continue;this[_0x350df0(0x261)](_0x59cb76,_0x36df80,_0x1523a1,_0x44985f,_0x311d6c),this[_0x350df0(0x2cc)]=this[_0x350df0(0x11a)]();}if(_0x522ba0&&_0x17223c){if(_0x46b545===_0x42b1ed['DOC_RANGE_TYPE'][_0x350df0(0x258)]){const _0x3796c1=new _0x230698['NodePositionConvertToRectRange'](_0x35e830,_0x381450),{pointGroup:_0xadb6ee}=(_0x591402=_0x3796c1['getRangePointData'](_0x522ba0,_0x17223c))!=null?_0x591402:{};if(_0xadb6ee==null||_0xadb6ee['length']===0x0)continue;this[_0x350df0(0x1e5)](_0x59cb76,_0xadb6ee,_0x1523a1,_0x44985f);}else{if(!_0x102045){const {borderBoxPointGroup:_0x38373c}=_0x12667c[_0x350df0(0x356)](_0x522ba0,_0x17223c);if(_0x38373c[_0x350df0(0x1b9)]===0x0)continue;this[_0x350df0(0x2e3)](_0x59cb76,_0x38373c,_0x1523a1,_0x44985f);}}}}}['_drawAnchor'](_0x880444,_0x95009,_0x4fbbb7,_0x1e7698,_0x232e0d){const _0x48ffca=_0x2cc097,_0x47c149=this[_0x48ffca(0x1a2)](_0x95009),{left:_0x369ca9,top:_0x104a15,height:_0x2c9af8}=_0x47c149,_0x25a957=this[_0x48ffca(0xf4)](),_0x474fb3=_0xe39152/_0x25a957,_0x735d9a=new _0x161b55[(_0x48ffca(0x31e))](_0xe231ea+_0x42b1ed[_0x48ffca(0x1b4)][_0x48ffca(0x131)](_0x3c6675),{'left':_0x369ca9+_0x4fbbb7-_0x474fb3,'top':_0x104a15+_0x1e7698,'height':_0x2c9af8,'width':_0x3719c0,'fill':_0x880444||_0x161b55[_0x48ffca(0x249)](_0x42b1ed[_0x48ffca(0x120)][_0x48ffca(0x374)],0x0),'strokeWidth':_0x474fb3,'stroke':_0x2fb7a7,'evented':!0x0});this[_0x48ffca(0xdb)]=_0x735d9a,this['_scene'][_0x48ffca(0x271)](_0x735d9a,_0x230698[_0x48ffca(0x1a7)]);const _0x408882=new _0x161b55[(_0x48ffca(0x31e))](_0xe231ea+_0x42b1ed[_0x48ffca(0x1b4)]['generateRandomId'](_0x3c6675),{'left':_0x369ca9+_0x4fbbb7-_0x474fb3,'top':_0x104a15+_0x1e7698-_0x33690c/0x2,'height':_0x33690c,'width':_0x33690c,'fill':_0x880444||_0x161b55[_0x48ffca(0x249)](_0x42b1ed[_0x48ffca(0x120)][_0x48ffca(0x374)],0x0),'strokeWidth':0x0,'stroke':_0x880444||_0x161b55[_0x48ffca(0x249)](_0x42b1ed[_0x48ffca(0x120)][_0x48ffca(0x374)],0x0),'evented':!0x1});this[_0x48ffca(0x2fb)]=_0x408882,this['_scene'][_0x48ffca(0x271)](_0x408882,_0x230698['TEXT_RANGE_LAYER_INDEX']);const _0x1daa90=new _0x80ca18(_0xe231ea+_0x42b1ed[_0x48ffca(0x1b4)][_0x48ffca(0x131)](_0x3c6675),{'left':_0x369ca9+_0x4fbbb7-_0x474fb3,'top':_0x104a15+_0x1e7698-_0x359105,'text':_0x232e0d,'color':_0x880444});this['_textBubble']=_0x1daa90,this[_0x48ffca(0x308)][_0x48ffca(0x271)](_0x1daa90,_0x230698['TEXT_RANGE_LAYER_INDEX']),this[_0x48ffca(0x2db)]=!0x1;}['_handleHover'](){const _0x59ed78=_0x2cc097,_0x344136=this[_0x59ed78(0xdb)][_0x59ed78(0x314)]['subscribeEvent'](()=>{const _0x21e576=_0x59ed78;this[_0x21e576(0x2db)]=!0x0;}),_0xbabe1a=this[_0x59ed78(0xdb)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x2c27a2=_0x59ed78;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x2c27a2(0xe8)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x53e541=_0x59ed78;_0x344136['unsubscribe'](),_0xbabe1a[_0x53e541(0x307)]();};}[_0x2cc097(0x2e3)](_0x587d32,_0x4d832e,_0x1879c3,_0x37e192){const _0x3ac1cc=_0x2cc097,_0x5c3ebf=new _0x42b1ed['ColorKit'](_0x587d32)['setAlpha'](0.2)[_0x3ac1cc(0x2f5)](),_0x412b72=new _0x161b55[(_0x3ac1cc(0x26d))](_0x49a45b+_0x42b1ed[_0x3ac1cc(0x1b4)]['generateRandomId'](_0x3c6675),{'pointsGroup':_0x4d832e,'fill':_0x5c3ebf||_0x161b55[_0x3ac1cc(0x249)](_0x42b1ed[_0x3ac1cc(0x120)][_0x3ac1cc(0x374)],0.2),'left':_0x1879c3,'top':_0x37e192,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x3ac1cc(0x36e)](_0x412b72),this[_0x3ac1cc(0x308)][_0x3ac1cc(0x271)](_0x412b72,_0x230698[_0x3ac1cc(0x1a7)]);}[_0x2cc097(0x1e5)](_0x19090b,_0x85e11e,_0x16aec2,_0x2b1c5b){const _0x25b1b6=_0x2cc097,_0x14345d=new _0x42b1ed[(_0x25b1b6(0x111))](_0x19090b)[_0x25b1b6(0x315)](0.2)[_0x25b1b6(0x2f5)](),_0x5d0639=new _0x161b55[(_0x25b1b6(0x26d))](_0x174fbb+_0x42b1ed[_0x25b1b6(0x1b4)][_0x25b1b6(0x131)](_0x3c6675),{'pointsGroup':_0x85e11e,'fill':_0x14345d||_0x161b55[_0x25b1b6(0x249)](_0x42b1ed[_0x25b1b6(0x120)][_0x25b1b6(0x374)],0.2),'left':_0x16aec2,'top':_0x2b1c5b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x25b1b6(0x1e8)][_0x25b1b6(0x36e)](_0x5d0639),this['_scene'][_0x25b1b6(0x271)](_0x5d0639,_0x230698[_0x25b1b6(0x1a7)]);}[_0x2cc097(0x1a2)](_0x44c051){const _0x463894=_0x44c051[0x0],_0x31a584=_0x463894[0x0],_0x2e98f0=_0x463894[0x2],{x:_0x1492df,y:_0x903cd6}=_0x31a584,{x:_0x118661,y:_0x4fa3fb}=_0x2e98f0;return{'left':_0x1492df,'top':_0x903cd6,'width':_0x118661-_0x1492df,'height':_0x4fa3fb-_0x903cd6};}['_getScale'](){const _0x31048f=_0x2cc097,{scaleX:_0x3324cb,scaleY:_0x520e79}=this[_0x31048f(0x308)][_0x31048f(0x225)]();return Math[_0x31048f(0x183)](_0x3324cb,_0x520e79);}}var _0x1e1710=Object[_0x2cc097(0x32d)],_0x4d4fbc=(_0x4bfdf7,_0x59ae15,_0x5b4e70,_0x2b3fdf)=>{const _0x327e2f=_0x2cc097;for(var _0x4ac86c=_0x2b3fdf>0x1?void 0x0:_0x2b3fdf?_0x1e1710(_0x59ae15,_0x5b4e70):_0x59ae15,_0x186c33=_0x4bfdf7[_0x327e2f(0x1b9)]-0x1,_0x29a7aa;_0x186c33>=0x0;_0x186c33--)(_0x29a7aa=_0x4bfdf7[_0x186c33])&&(_0x4ac86c=_0x29a7aa(_0x4ac86c)||_0x4ac86c);return _0x4ac86c;},_0x5a03e2=(_0x16d78e,_0x247e31)=>(_0x56d628,_0xc075f3)=>_0x247e31(_0x56d628,_0xc075f3,_0x16d78e);let _0x235d08=class extends _0x42b1ed[_0x2cc097(0x208)]{constructor(_0x1cf9f2,_0x4b4a6b,_0x32fffb,_0x5085cf,_0x100054){const _0x3d5f2b=_0x2cc097;super(),_0x565563(this,'_cursorShapes',[]),_0x565563(this,_0x3d5f2b(0x205),[]),(this['_context']=_0x1cf9f2,this[_0x3d5f2b(0x192)]=_0x4b4a6b,this[_0x3d5f2b(0x253)]=_0x32fffb,this[_0x3d5f2b(0x12f)]=_0x5085cf,this[_0x3d5f2b(0x241)]=_0x100054,this[_0x3d5f2b(0x270)]());}[_0x2cc097(0x270)](){const _0x40068b=_0x2cc097,_0x5685d2=this[_0x40068b(0x2e2)][_0x40068b(0x365)],_0x26bd00=this[_0x40068b(0x192)];this[_0x40068b(0x364)](_0x50e9d8[_0x40068b(0x2ae)]([this['_collabCursorController'][_0x40068b(0x1db)](_0x5685d2),this[_0x40068b(0x241)]['currentTheme$']])[_0x40068b(0x29f)](_0x176c1c[_0x40068b(0x316)](([_0x4a6449,_0x2e33c2])=>({'skeleton':_0x26bd00['getSkeleton'](),'cursors':[..._0x4a6449['values']()][_0x40068b(0x29d)](_0x414c15=>({..._0x414c15,'color':_0x2e33c2[_0x414c15['color']]}))})))[_0x40068b(0x1bc)](_0x1a58ce=>{const _0x5ed0c5=_0x40068b;if(this[_0x5ed0c5(0x22e)](),_0x1a58ce){const {skeleton:_0x3d7353,cursors:_0x299807}=_0x1a58ce;this[_0x5ed0c5(0x33c)](_0x3d7353,_0x299807);}})),this[_0x40068b(0x114)](),this[_0x40068b(0x2c4)]();}[_0x2cc097(0x33c)](_0x47d450,_0x5a706f){const _0x270629=_0x2cc097,{scene:_0x12ad25,mainComponent:_0x398ac2}=this['_context'],_0x109f44=_0x5a706f[_0x270629(0x316)](_0x199d10=>new _0x5f4050(_0x199d10,_0x12ad25,_0x47d450,_0x398ac2));this[_0x270629(0xf1)]=_0x109f44,this[_0x270629(0x205)]=_0x5a706f;}[_0x2cc097(0x327)](){const _0x5b9aa3=_0x2cc097;this[_0x5b9aa3(0x22e)]();const {scene:_0x17b557,mainComponent:_0x4f1129}=this[_0x5b9aa3(0x2e2)],_0x26d220=this[_0x5b9aa3(0x192)][_0x5b9aa3(0x338)](),_0x5e607e=this['_cursors'][_0x5b9aa3(0x316)](_0x23d1bf=>new _0x5f4050(_0x23d1bf,_0x17b557,_0x26d220,_0x4f1129));this['_cursorShapes']=_0x5e607e;}['_removeCollabCursors'](){const _0x4e5260=_0x2cc097;this['_cursorShapes'][_0x4e5260(0x18e)](_0x24a936=>_0x24a936[_0x4e5260(0x2a2)]()),this[_0x4e5260(0xf1)]=[];}['_initCommandExecutedListener'](){const _0x360bb9=_0x2cc097,_0x4eb097=[_0x230698[_0x360bb9(0x1d9)]['id']];this[_0x360bb9(0x364)](this['_commandService'][_0x360bb9(0x26e)](_0x5dbb21=>{const _0x82268b=_0x360bb9;_0x4eb097['includes'](_0x5dbb21['id'])&&_0x5dbb21['params'][_0x82268b(0x365)]===this[_0x82268b(0x2e2)][_0x82268b(0x365)]&&this[_0x82268b(0x327)]();}));}[_0x2cc097(0x114)](){const _0x47317b=_0x2cc097;this[_0x47317b(0x364)](_0x42b1ed[_0x47317b(0x2cf)](this[_0x47317b(0x2e2)][_0x47317b(0x11b)][_0x47317b(0x2ef)])['pipe'](_0x176c1c[_0x47317b(0x29a)](_0x68b94b=>_0x68b94b[_0x47317b(0x263)]===_0x161b55[_0x47317b(0x2df)][_0x47317b(0x350)]),_0x176c1c['throttleTime'](0x10))['subscribe'](()=>{const _0x308b8d=_0x47317b;this[_0x308b8d(0x327)]();}));}};_0x235d08=_0x4d4fbc([_0x5a03e2(0x1,_0x42b1ed['Inject'](_0x3b2d2a[_0x2cc097(0x33d)])),_0x5a03e2(0x2,_0x42b1ed[_0x2cc097(0x37c)](_0xa26854)),_0x5a03e2(0x3,_0x42b1ed[_0x2cc097(0x14a)]),_0x5a03e2(0x4,_0x42b1ed[_0x2cc097(0x37c)](_0x42b1ed['ThemeService']))],_0x235d08);const _0x3e4378=0x1,_0x5e03bd=1.5;class _0x1dba4 extends _0x161b55['Shape']{constructor(_0x5c1a3b,_0xee8476){const _0x3f1d76=_0x2cc097;super(_0x5c1a3b,_0xee8476),_0x565563(this,_0x3f1d76(0x164)),_0x565563(this,_0x3f1d76(0x2a8),!0x1),_0x565563(this,'_range'),_0x565563(this,'_name',''),_0x565563(this,_0x3f1d76(0x223),_0x3f1d76(0x2ff)),_0x565563(this,_0x3f1d76(0x2b5)),(_0xee8476&&this[_0x3f1d76(0xee)](_0xee8476),this['onPointerEnter$']['subscribeEvent'](()=>this[_0x3f1d76(0xee)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x3f1d76(0xee)]({'hovered':!0x1})));}[_0x2cc097(0xee)](_0x1ac3e5){const _0xbd0141=_0x2cc097;var _0x10588a,_0x5c2fa8,_0x4cf8e0,_0x595947,_0x331c08,_0x4cbf19;this[_0xbd0141(0x164)]=(_0x10588a=_0x1ac3e5[_0xbd0141(0x1f2)])!=null?_0x10588a:this[_0xbd0141(0x164)],this[_0xbd0141(0x2a8)]=(_0x5c2fa8=_0x1ac3e5[_0xbd0141(0x34e)])!=null?_0x5c2fa8:this[_0xbd0141(0x2a8)],this[_0xbd0141(0x11f)]=(_0x4cf8e0=_0x1ac3e5['range'])!=null?_0x4cf8e0:this[_0xbd0141(0x11f)],this[_0xbd0141(0x323)]=(_0x595947=_0x1ac3e5[_0xbd0141(0x292)])!=null?_0x595947:this[_0xbd0141(0x323)],this[_0xbd0141(0x223)]=(_0x331c08=_0x1ac3e5[_0xbd0141(0x299)])!=null?_0x331c08:this[_0xbd0141(0x223)],this[_0xbd0141(0x2b5)]=(_0x4cbf19=_0x1ac3e5['backgroundColor'])!=null?_0x4cbf19:this[_0xbd0141(0x2b5)],this[_0xbd0141(0x240)]({'width':_0x1ac3e5['width'],'height':_0x1ac3e5[_0xbd0141(0x156)]});}[_0x2cc097(0x1a6)](_0x27138a){const _0x109fcd=_0x2cc097,{row:_0x457a19,column:_0x6ef1ed}=_0x27138a;if(_0x457a19>=this['_range'][_0x109fcd(0x16d)]&&_0x457a19<=this[_0x109fcd(0x11f)]['endRow']&&_0x6ef1ed>=this['_range']['startColumn']&&_0x6ef1ed<=this[_0x109fcd(0x11f)][_0x109fcd(0x363)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x109fcd(0xee)]({'hovered':!0x1});}['triggerDblclick'](_0x1baca0){return!0x1;}[_0x2cc097(0x154)](_0x5db34f){const _0x1f4bc8=_0x2cc097;_0x161b55[_0x1f4bc8(0x31e)][_0x1f4bc8(0x103)](_0x5db34f,{'width':this[_0x1f4bc8(0x1ff)],'height':this[_0x1f4bc8(0x156)],'strokeWidth':_0x5e03bd,'stroke':this[_0x1f4bc8(0x164)],'evented':!0x1,'fill':this[_0x1f4bc8(0x2b5)]}),this[_0x1f4bc8(0x2a8)]&&(_0x5db34f['save'](),_0x5db34f[_0x1f4bc8(0x30f)](0x1,0x0,0x0,0x1,this[_0x1f4bc8(0x1ff)],this[_0x1f4bc8(0x223)]==='bottom'?0x0:-0x14),_0x80ca18[_0x1f4bc8(0x103)](_0x5db34f,{'text':this[_0x1f4bc8(0x323)],'color':this[_0x1f4bc8(0x164)]}),_0x5db34f['restore']());}}var _0x1f2b67=Object[_0x2cc097(0x32d)],_0x4155a4=(_0x3c67ad,_0x639776,_0x414922,_0x5e27fe)=>{for(var _0x31a728=_0x5e27fe>0x1?void 0x0:_0x5e27fe?_0x1f2b67(_0x639776,_0x414922):_0x639776,_0x5834e2=_0x3c67ad['length']-0x1,_0x522fec;_0x5834e2>=0x0;_0x5834e2--)(_0x522fec=_0x3c67ad[_0x5834e2])&&(_0x31a728=_0x522fec(_0x31a728)||_0x31a728);return _0x31a728;},_0x2aa4ad=(_0x4396c2,_0x185f76)=>(_0x2495fc,_0x55082e)=>_0x185f76(_0x2495fc,_0x55082e,_0x4396c2);const _0x57bfc3=0x1389;let _0x188cb3=class extends _0x42b1ed[_0x2cc097(0x208)]{constructor(_0x14f3de,_0x49259a,_0x171949,_0x4d51b1){const _0x22918b=_0x2cc097;super(),_0x565563(this,_0x22918b(0x205),new Set()),_0x565563(this,_0x22918b(0x29c),null),(this['_context']=_0x14f3de,this[_0x22918b(0x1f7)]=_0x49259a,this[_0x22918b(0x253)]=_0x171949,this[_0x22918b(0x241)]=_0x4d51b1,this[_0x22918b(0x270)]());}['_init'](){const _0x535c35=_0x2cc097;this[_0x535c35(0x1f7)][_0x535c35(0x293)][_0x535c35(0x29f)](_0x176c1c[_0x535c35(0x2be)](this['dispose$']),_0x176c1c[_0x535c35(0x2c3)](_0x145c03=>{const _0x402dfa=_0x535c35;if(_0x145c03){const _0x38c6a2=_0x145c03['sheetId'];return _0x50e9d8[_0x402dfa(0x2ae)](this[_0x402dfa(0x253)]['getCollabCursors$'](this[_0x402dfa(0x2e2)][_0x402dfa(0x365)]),this[_0x402dfa(0x241)]['currentTheme$'])[_0x402dfa(0x29f)](_0x176c1c[_0x402dfa(0x316)](([_0x4cc6a3,_0x3d5e35])=>{const _0x528ba9=new Map();return _0x4cc6a3['forEach']((_0x5256dd,_0x2e3b0b)=>{const _0x21cc31=_0x3200;if(_0x5256dd['sheetID']===_0x38c6a2){const _0x5a9eb3={..._0x5256dd};_0x5a9eb3[_0x21cc31(0x1f2)]=_0x3d5e35[_0x5256dd[_0x21cc31(0x1f2)]],_0x528ba9[_0x21cc31(0x27d)](_0x2e3b0b,_0x5a9eb3);}}),{'skeleton':_0x145c03,'cursors':_0x528ba9};}));}return _0x50e9d8['of']({'skeleton':null,'cursors':new Map()});}))[_0x535c35(0x1bc)](({skeleton:_0x47ad95,cursors:_0x3800af})=>{const _0x192e66=_0x535c35;this['_removeCollabCursors'](),_0x47ad95&&this[_0x192e66(0x33c)](_0x47ad95,_0x3800af);}),this[_0x535c35(0x1f7)][_0x535c35(0x293)]['subscribe'](_0x49216c=>{const _0xd33903=_0x535c35;if(_0x49216c==null)return;const {skeleton:_0x13cd76}=_0x49216c,{scene:_0x7e2688}=this[_0xd33903(0x2e2)];_0x7e2688['onPointerMove$']['subscribeEvent'](_0x42b1ed[_0xd33903(0x31b)](_0x36d529=>{const _0x2a1731=_0xd33903;var _0x35a315,_0x13ddd4;const {offsetX:_0x4d2d84,offsetY:_0x57192c}=_0x36d529,{x:_0x509895,y:_0x548d37}=_0x7e2688[_0x2a1731(0x2e7)](_0x161b55[_0x2a1731(0x194)]['FromArray']([_0x4d2d84,_0x57192c])),{scaleX:_0x4f9534,scaleY:_0xbe91bb}=_0x7e2688['getAncestorScale'](),_0x342d7a=_0x7e2688[_0x2a1731(0x123)](_0x161b55[_0x2a1731(0x176)][_0x2a1731(0x33f)]),_0x349b00=_0x7e2688['getVpScrollXYInfoByPosToVp'](_0x161b55[_0x2a1731(0x194)][_0x2a1731(0xe0)]([_0x509895,_0x548d37]),_0x342d7a),_0xd9f20=_0x13cd76[_0x2a1731(0x351)](_0x4d2d84,_0x57192c,_0x4f9534,_0xbe91bb,_0x349b00);((_0x35a315=this[_0x2a1731(0x29c)])==null?void 0x0:_0x35a315[_0x2a1731(0x159)])===_0xd9f20[_0x2a1731(0x159)]&&((_0x13ddd4=this[_0x2a1731(0x29c)])==null?void 0x0:_0x13ddd4['row'])===_0xd9f20[_0x2a1731(0x104)]||this[_0x2a1731(0x205)][_0x2a1731(0x18e)](_0x52c5a0=>{_0x52c5a0['onMouseMove'](_0xd9f20);});},0x64));});}[_0x2cc097(0x33c)](_0x460cb4,_0x85736a){const _0x46d461=_0x2cc097;var _0x5d054c;const _0x2e42f5=(_0x5d054c=this[_0x46d461(0x1f7)][_0x46d461(0x375)]())==null?void 0x0:_0x5d054c['skeleton'];if(!_0x2e42f5)return;const _0x4e68c7=this['_getSheetObject']();if(!_0x4e68c7)return;this[_0x46d461(0x205)][_0x46d461(0x18e)](_0x5eb5cd=>{const _0x252eb0=_0x46d461;_0x5eb5cd[_0x252eb0(0x222)]();});const {scene:_0x14e84d}=_0x4e68c7,_0x5c9920=_0x3e3c19(Array[_0x46d461(0x257)](_0x85736a[_0x46d461(0x320)]()))[_0x46d461(0x316)](_0x28cc67=>{const _0xd9fae3=_0x46d461,{color:_0xfd6ea0,range:_0x10d36b,name:_0x3e2d69,selection:_0x518814,sheetID:_0x27abad}=_0x28cc67,{startColumn:_0x35d502,startRow:_0x529aaa,endColumn:_0x1c99bb,endRow:_0x36237e}=_0x10d36b,_0x21d09b=_0x3ff264['getCoordByCell'](_0x529aaa,_0x35d502,_0x14e84d,_0x2e42f5),_0x4bc8d3=_0x3ff264['getCoordByCell'](_0x36237e,_0x1c99bb,_0x14e84d,_0x2e42f5),{columnHeaderHeightAndMarginTop:_0x3714fc}=_0x2e42f5,{startX:_0x2023b9,startY:_0x510ae8}=_0x21d09b,{endX:_0x2fc339,endY:_0x23271d}=_0x4bc8d3,_0x1c5281=_0x2fc339-_0x2023b9,_0x2d01ee=_0x23271d-_0x510ae8,_0x264af6={'labelPosition':_0x510ae8-_0x3714fc>=_0x359105?_0xd9fae3(0x2ff):_0xd9fae3(0x352),'sheetID':_0x27abad,'range':_0x10d36b,'color':_0xfd6ea0,'name':_0x3e2d69,'selection':_0x518814,'left':_0x2023b9,'top':_0x510ae8,'width':_0x1c5281,'height':_0x2d01ee,'evented':!0x1,'zIndex':_0x57bfc3};return new _0x1dba4(_0x3e2d69,_0x264af6);});_0x14e84d[_0x46d461(0x2d6)](_0x5c9920,_0x3e4378),this['_cursors']=new Set(_0x5c9920);}[_0x2cc097(0x22e)](){const _0x10f8e0=_0x2cc097;var _0x20327b;(_0x20327b=this[_0x10f8e0(0x205)])==null||_0x20327b[_0x10f8e0(0x18e)](_0x1b50ec=>_0x1b50ec[_0x10f8e0(0x2a2)]());}['_getSheetObject'](){const _0x31a664=_0x2cc097;return _0x3ff264[_0x31a664(0x2da)](this[_0x31a664(0x2e2)][_0x31a664(0x322)],this[_0x31a664(0x2e2)]);}};_0x188cb3=_0x4155a4([_0x2aa4ad(0x1,_0x42b1ed['Inject'](_0x3ff264[_0x2cc097(0x2e6)])),_0x2aa4ad(0x2,_0x42b1ed[_0x2cc097(0x37c)](_0xa26854)),_0x2aa4ad(0x3,_0x42b1ed['Inject'](_0x42b1ed['ThemeService']))],_0x188cb3);function _0x3e3c19(_0x3c715b){const _0x1a9f97=_0x2cc097,_0x1bb718=new Map();return _0x3c715b[_0x1a9f97(0x18e)](_0x41cd6b=>{const _0x2f22c3=_0x1a9f97;if(_0x1bb718['has'](_0x41cd6b[_0x2f22c3(0x12c)])){const _0x50b0b2=_0x1bb718['get'](_0x41cd6b['selection']);_0x50b0b2[_0x2f22c3(0x292)]+=',\x20'+_0x41cd6b[_0x2f22c3(0x292)];}else _0x1bb718[_0x2f22c3(0x27d)](_0x41cd6b[_0x2f22c3(0x12c)],_0x41cd6b);}),Array[_0x1a9f97(0x257)](_0x1bb718[_0x1a9f97(0x320)]());}var _0x542ef0=function(){const _0x52d3ff=_0x2cc097;return _0x542ef0=Object[_0x52d3ff(0x10e)]||function(_0x3bc324){const _0x12f02d=_0x52d3ff;for(var _0x2b4a8a,_0x4e947e=0x1,_0x259967=arguments[_0x12f02d(0x1b9)];_0x4e947e<_0x259967;_0x4e947e++){_0x2b4a8a=arguments[_0x4e947e];for(var _0x3859ac in _0x2b4a8a)Object[_0x12f02d(0x1d8)][_0x12f02d(0x265)][_0x12f02d(0x142)](_0x2b4a8a,_0x3859ac)&&(_0x3bc324[_0x3859ac]=_0x2b4a8a[_0x3859ac]);}return _0x3bc324;},_0x542ef0[_0x52d3ff(0x354)](this,arguments);},_0x1d816c=function(_0xf2a2aa,_0x35ab83){const _0xff48b4=_0x2cc097;var _0x47e9af={};for(var _0x93e8b4 in _0xf2a2aa)Object[_0xff48b4(0x1d8)][_0xff48b4(0x265)]['call'](_0xf2a2aa,_0x93e8b4)&&_0x35ab83[_0xff48b4(0x175)](_0x93e8b4)<0x0&&(_0x47e9af[_0x93e8b4]=_0xf2a2aa[_0x93e8b4]);if(_0xf2a2aa!=null&&typeof Object[_0xff48b4(0x188)]=='function'){for(var _0x4d5a00=0x0,_0x93e8b4=Object['getOwnPropertySymbols'](_0xf2a2aa);_0x4d5a00<_0x93e8b4['length'];_0x4d5a00++)_0x35ab83[_0xff48b4(0x175)](_0x93e8b4[_0x4d5a00])<0x0&&Object[_0xff48b4(0x1d8)][_0xff48b4(0x26b)][_0xff48b4(0x142)](_0xf2a2aa,_0x93e8b4[_0x4d5a00])&&(_0x47e9af[_0x93e8b4[_0x4d5a00]]=_0xf2a2aa[_0x93e8b4[_0x4d5a00]]);}return _0x47e9af;},_0x3f36d3=_0x2ed861[_0x2cc097(0x2d9)](function(_0x19b535,_0x3cffa0){const _0x15f745=_0x2cc097;var _0x16ab74=_0x19b535[_0x15f745(0x1dd)],_0xec4099=_0x19b535['id'],_0x4752d6=_0x19b535['className'],_0x1054e4=_0x19b535[_0x15f745(0x22b)],_0x46e669=_0x1d816c(_0x19b535,[_0x15f745(0x1dd),'id',_0x15f745(0x1fd),_0x15f745(0x22b)]),_0x51f100=_0x15f745(0x29e)['concat'](_0xec4099,'\x20')[_0x15f745(0x2eb)](_0x4752d6||'')['trim'](),_0x18e05c=_0x2ed861[_0x15f745(0x146)]('_'['concat'](_0xd07d0c()));return _0x32f47a(_0x16ab74,''[_0x15f745(0x2eb)](_0xec4099),{'defIds':_0x16ab74[_0x15f745(0x204)],'idSuffix':_0x18e05c[_0x15f745(0x233)]},_0x542ef0({'ref':_0x3cffa0,'className':_0x51f100},_0x46e669),_0x1054e4);});function _0x32f47a(_0xd6f42,_0x330c75,_0x481dfb,_0x5da737,_0x40b342){const _0x2b4803=_0x2cc097;return _0x2ed861[_0x2b4803(0x2ca)](_0xd6f42[_0x2b4803(0x116)],_0x542ef0(_0x542ef0({'key':_0x330c75},_0x1a7287(_0xd6f42,_0x481dfb,_0x40b342)),_0x5da737),(_0x58f651(_0xd6f42,_0x481dfb)['children']||[])['map'](function(_0x1e3d50,_0x462d00){const _0x5d46a9=_0x2b4803;return _0x32f47a(_0x1e3d50,''[_0x5d46a9(0x2eb)](_0x330c75,'-')['concat'](_0xd6f42[_0x5d46a9(0x116)],'-')[_0x5d46a9(0x2eb)](_0x462d00),_0x481dfb,void 0x0,_0x40b342);}));}function _0x1a7287(_0x1600f6,_0x3f2df0,_0xfb2397){const _0x121901=_0x2cc097;var _0x3bb105=_0x542ef0({},_0x1600f6[_0x121901(0xf6)]);_0xfb2397!=null&&_0xfb2397[_0x121901(0x1a5)]&&_0x3bb105['fill']==='colorChannel1'&&(_0x3bb105['fill']=_0xfb2397[_0x121901(0x1a5)]),_0x1600f6[_0x121901(0x116)]===_0x121901(0x278)&&_0x3bb105['id']&&(_0x3bb105['id']=_0x3bb105['id']+_0x3f2df0[_0x121901(0x256)]),Object[_0x121901(0x361)](_0x3bb105)[_0x121901(0x18e)](function(_0x3860a2){const _0x22e382=_0x121901;var _0x106adf=_0x3860a2[0x0],_0x5924fc=_0x3860a2[0x1];_0x106adf===_0x22e382(0x278)&&typeof _0x5924fc==_0x22e382(0x237)&&(_0x3bb105[_0x106adf]=_0x5924fc[_0x22e382(0x23e)](/url\(#(.*)\)/,_0x22e382(0x147)['concat'](_0x3f2df0[_0x22e382(0x256)],')')));});var _0x5b607c=_0x3f2df0[_0x121901(0x204)];return!_0x5b607c||_0x5b607c[_0x121901(0x1b9)]===0x0||(_0x1600f6[_0x121901(0x116)]===_0x121901(0x1c9)&&_0x3bb105[_0x121901(0x148)]&&(_0x3bb105[_0x121901(0x148)]=_0x3bb105['xlink:href']+_0x3f2df0['idSuffix']),Object[_0x121901(0x361)](_0x3bb105)['forEach'](function(_0x2c4c7c){const _0x15fee1=_0x121901;var _0x19d7bb=_0x2c4c7c[0x0],_0x458b86=_0x2c4c7c[0x1];typeof _0x458b86==_0x15fee1(0x237)&&(_0x3bb105[_0x19d7bb]=_0x458b86[_0x15fee1(0x23e)](/url\(#(.*)\)/,_0x15fee1(0x147)[_0x15fee1(0x2eb)](_0x3f2df0['idSuffix'],')')));})),_0x3bb105;}function _0x58f651(_0x22315d,_0x3244b1){const _0x157e5f=_0x2cc097;var _0x15d3f3,_0x2bf252=_0x3244b1[_0x157e5f(0x204)];return!_0x2bf252||_0x2bf252[_0x157e5f(0x1b9)]===0x0?_0x22315d:_0x22315d[_0x157e5f(0x116)]===_0x157e5f(0x132)&&(!((_0x15d3f3=_0x22315d[_0x157e5f(0x2c0)])===null||_0x15d3f3===void 0x0)&&_0x15d3f3[_0x157e5f(0x1b9)])?_0x542ef0(_0x542ef0({},_0x22315d),{'children':_0x22315d[_0x157e5f(0x2c0)][_0x157e5f(0x316)](function(_0x3aa796){const _0x3ced2e=_0x157e5f;return typeof _0x3aa796[_0x3ced2e(0xf6)]['id']==_0x3ced2e(0x237)&&_0x2bf252&&_0x2bf252[_0x3ced2e(0x175)](_0x3aa796[_0x3ced2e(0xf6)]['id'])>-0x1?_0x542ef0(_0x542ef0({},_0x3aa796),{'attrs':_0x542ef0(_0x542ef0({},_0x3aa796['attrs']),{'id':_0x3aa796[_0x3ced2e(0xf6)]['id']+_0x3244b1[_0x3ced2e(0x256)]})}):_0x3aa796;})}):_0x22315d;}function _0xd07d0c(){const _0x458c7d=_0x2cc097;return Math['random']()[_0x458c7d(0x215)](0x24)['substring'](0x2,0x8);}_0x3f36d3[_0x2cc097(0x11c)]=_0x2cc097(0x1ba);var _0x19c8a0={'tag':_0x2cc097(0x1e6),'attrs':{'fill':'none','viewBox':_0x2cc097(0x101),'width':_0x2cc097(0x290),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2cc097(0x15d)},'children':[{'tag':_0x2cc097(0x210),'attrs':{'stroke':'currentColor','d':_0x2cc097(0x17d),'strokeLinecap':_0x2cc097(0x269),'strokeLinejoin':_0x2cc097(0x269),'strokeWidth':1.2}}]},{'tag':_0x2cc097(0x132),'attrs':{},'children':[{'tag':_0x2cc097(0x1bb),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x2cc097(0x210),'attrs':{'fill':_0x2cc097(0x2ab),'d':_0x2cc097(0x15b)}}]}]}],'defIds':[_0x2cc097(0x15f)]},_0x771a0f=_0x2ed861[_0x2cc097(0x2d9)](function(_0x446453,_0x553298){const _0x58755d=_0x2cc097;return _0x2ed861[_0x58755d(0x2ca)](_0x3f36d3,Object[_0x58755d(0x10e)]({},_0x446453,{'id':'off-line-single','ref':_0x553298,'icon':_0x19c8a0}));});_0x771a0f[_0x2cc097(0x11c)]=_0x2cc097(0x304);var _0x13a0a1={'tag':_0x2cc097(0x1e6),'attrs':{'fill':_0x2cc097(0x333),'viewBox':_0x2cc097(0x1ca),'width':_0x2cc097(0x290),'height':_0x2cc097(0x290)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x2cc097(0x210),'attrs':{'stroke':_0x2cc097(0x16b),'d':_0x2cc097(0x13a),'strokeLinecap':'round','strokeLinejoin':_0x2cc097(0x269),'strokeWidth':1.2}}]},{'tag':_0x2cc097(0x132),'attrs':{},'children':[{'tag':_0x2cc097(0x1bb),'attrs':{'id':_0x2cc097(0x1bd)},'children':[{'tag':_0x2cc097(0x210),'attrs':{'fill':'#fff','d':_0x2cc097(0x15b),'transform':_0x2cc097(0x155)}}]}]}],'defIds':[_0x2cc097(0x1bd)]},_0x4c4bab=_0x2ed861['forwardRef'](function(_0x1bd617,_0x16584d){const _0x29af3a=_0x2cc097;return _0x2ed861['createElement'](_0x3f36d3,Object[_0x29af3a(0x10e)]({},_0x1bd617,{'id':_0x29af3a(0x1f3),'ref':_0x16584d,'icon':_0x13a0a1}));});_0x4c4bab[_0x2cc097(0x11c)]=_0x2cc097(0x178);const _0x1836ca={'onlineStatusIcon':_0x2cc097(0x216),'onlineStatusTitle':_0x2cc097(0x34c),'onlineStatus':_0x2cc097(0x32c),'online':_0x2cc097(0x286),'offline':'univer-offline'};function _0x19d0c8(_0x2117c2){const _0x3afe5a=_0x2cc097;switch(_0x2117c2){case _0x3b3d06[_0x3afe5a(0x157)][_0x3afe5a(0x337)]:return _0x3afe5a(0x27c);case _0x3b3d06[_0x3afe5a(0x157)][_0x3afe5a(0x21f)]:return _0x3afe5a(0x360);case _0x3b3d06[_0x3afe5a(0x157)][_0x3afe5a(0x22a)]:return'collabStatus.fetchMiss';case _0x3b3d06[_0x3afe5a(0x157)][_0x3afe5a(0x138)]:return _0x3afe5a(0x1fe);case _0x3b3d06[_0x3afe5a(0x157)][_0x3afe5a(0x341)]:case _0x3b3d06['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x3afe5a(0x279);case _0x3b3d06[_0x3afe5a(0x157)][_0x3afe5a(0xf8)]:case _0x3b3d06[_0x3afe5a(0x157)][_0x3afe5a(0x17a)]:return _0x3afe5a(0x33b);}}function _0x3259fc(_0x1609f0){const _0x360b23=_0x2cc097,{status$:_0x5c7961}=_0x1609f0,_0x3ff6d1=_0x4984d8[_0x360b23(0x37b)](_0x5c7961,_0x3b3d06[_0x360b23(0x157)][_0x360b23(0x138)]),_0x5f47aa=_0x4984d8[_0x360b23(0x281)](_0x42b1ed['LocaleService']),_0x1d013c=_0x4984d8['useDependency'](_0x3b3d06['CollaborationSessionService']),_0x343814=_0x3ff6d1!==_0x3b3d06[_0x360b23(0x157)][_0x360b23(0x337)],_0x4a5daa=_0x5f47aa['t'](_0x19d0c8(_0x3ff6d1)),_0x5184c5=_0x7fe650[_0x360b23(0x2e1)](_0x1836ca[_0x360b23(0x1da)],{[_0x1836ca[_0x360b23(0x230)]]:_0x343814,[_0x1836ca[_0x360b23(0x203)]]:!_0x343814}),_0x292274=_0x343814?_0x5124d3[_0x360b23(0x303)](_0x4c4bab,{}):_0x5124d3['jsx'](_0x771a0f,{}),_0x5a953b=_0x2ed861[_0x360b23(0x24b)](()=>{const _0x11a9a9=_0x360b23;_0x343814||_0x1d013c[_0x11a9a9(0x2a4)]();},[_0x343814,_0x1d013c]);function _0x40e64c(){const _0x52fcee=_0x360b23;return _0x5124d3['jsxs'](_0x52fcee(0x172),{'className':_0x7fe650[_0x52fcee(0x2e1)](_0x5184c5,'univer-flex\x20univer-items-center'),'onClick':_0x5a953b,'children':[_0x5124d3[_0x52fcee(0x303)]('div',{'className':_0x1836ca['onlineStatusIcon'],'children':_0x292274}),_0x5124d3[_0x52fcee(0x303)](_0x52fcee(0x172),{'className':_0x1836ca[_0x52fcee(0x113)],'children':_0x4a5daa})]});}return _0x343814?_0x40e64c():_0x5124d3['jsx'](_0x7fe650['Tooltip'],{'title':_0x5f47aa['t'](_0x360b23(0x1c5)),'children':_0x40e64c()});}var _0x833494=Object[_0x2cc097(0x32d)],_0x5c75c5=(_0x53b565,_0x1b9db3,_0x306030,_0x124ea9)=>{const _0x3f4521=_0x2cc097;for(var _0x523f72=_0x124ea9>0x1?void 0x0:_0x124ea9?_0x833494(_0x1b9db3,_0x306030):_0x1b9db3,_0x5ddc19=_0x53b565[_0x3f4521(0x1b9)]-0x1,_0x184ffd;_0x5ddc19>=0x0;_0x5ddc19--)(_0x184ffd=_0x53b565[_0x5ddc19])&&(_0x523f72=_0x184ffd(_0x523f72)||_0x523f72);return _0x523f72;},_0x2dc784=(_0x3269a7,_0x3bf074)=>(_0x253b48,_0x53d58b)=>_0x3bf074(_0x253b48,_0x53d58b,_0x3269a7);_0x50c597[_0x2cc097(0x296)]=class extends _0x42b1ed[_0x2cc097(0x2fc)]{constructor(_0x28d804,_0xf3d4d3,_0x3b8084,_0x18a509){const _0x504d08=_0x2cc097;super(),_0x565563(this,_0x504d08(0x2f4),new _0x50e9d8['BehaviorSubject'](_0x3b3d06[_0x504d08(0x157)][_0x504d08(0x138)])),(this[_0x504d08(0x266)]=_0x28d804,this[_0x504d08(0x2a5)]=_0xf3d4d3,this['_collaborationController']=_0x3b8084,this['_uiPartsService']=_0x18a509,this['_initStatusComponent'](),this['_initStatusListener']());}['_initStatusListener'](){const _0x37ba3a=_0x2cc097;this['disposeWithMe'](this['_univerInstanceService'][_0x37ba3a(0x317)][_0x37ba3a(0x29f)](_0x50e9d8[_0x37ba3a(0x2c3)](()=>{const _0x1dfd8f=_0x37ba3a,_0x1fd488=this[_0x1dfd8f(0x266)][_0x1dfd8f(0x24f)]();return _0x1fd488?this[_0x1dfd8f(0x22f)]['getCollabEntity$'](_0x1fd488['getUnitId']()):_0x50e9d8['of'](null);}),_0x50e9d8[_0x37ba3a(0x2c3)](_0x49548d=>_0x49548d?_0x49548d['status$']:_0x50e9d8['of'](_0x3b3d06['CollaborationStatus'][_0x37ba3a(0x138)])))[_0x37ba3a(0x1bc)](_0xfb040a=>{const _0x5cb4bc=_0x37ba3a;this[_0x5cb4bc(0x2f4)][_0x5cb4bc(0x379)](_0xfb040a);}));}['_initStatusComponent'](){const _0x26b655=_0x2cc097;this[_0x26b655(0x364)](this['_uiPartsService'][_0x26b655(0x17b)](_0x4984d8['BuiltInUIPart']['HEADER_MENU'],()=>_0x4984d8['connectInjector'](_0x42f150({'status$':this[_0x26b655(0x2f4)][_0x26b655(0x32f)]()}),this[_0x26b655(0x2a5)])));}},_0x50c597[_0x2cc097(0x296)]=_0x5c75c5([_0x2dc784(0x0,_0x42b1ed[_0x2cc097(0x370)]),_0x2dc784(0x1,_0x42b1ed['Inject'](_0x42b1ed[_0x2cc097(0x2ec)])),_0x2dc784(0x2,_0x42b1ed[_0x2cc097(0x37c)](_0x3b3d06[_0x2cc097(0x2d4)])),_0x2dc784(0x3,_0x4984d8[_0x2cc097(0x310)])],_0x50c597[_0x2cc097(0x296)]);function _0x42f150(_0x122ad6){const {status$:_0x1a6e76}=_0x122ad6;return function(){return _0x5124d3['jsx'](_0x3259fc,{'status$':_0x1a6e76});};}var _0x37103a=Object[_0x2cc097(0x32d)],_0x2e306f=(_0x33da63,_0x442178,_0xd2900d,_0x47c940)=>{const _0xf60e5d=_0x2cc097;for(var _0x3d63d3=_0x47c940>0x1?void 0x0:_0x47c940?_0x37103a(_0x442178,_0xd2900d):_0x442178,_0x1f811d=_0x33da63[_0xf60e5d(0x1b9)]-0x1,_0x2d09de;_0x1f811d>=0x0;_0x1f811d--)(_0x2d09de=_0x33da63[_0x1f811d])&&(_0x3d63d3=_0x2d09de(_0x3d63d3)||_0x3d63d3);return _0x3d63d3;},_0x57b7d8=(_0x16c0d4,_0x4fd70b)=>(_0x1b8fe2,_0x8880e4)=>_0x4fd70b(_0x1b8fe2,_0x8880e4,_0x16c0d4);let _0x21044f=class extends _0x42b1ed[_0x2cc097(0x2fc)]{constructor(_0x573369,_0x3136ef,_0x3d470c,_0x57308e,_0x3930e4,_0x20b236){const _0x2b4195=_0x2cc097;super(),this['_beforeCloseService']=_0x573369,this[_0x2b4195(0xfa)]=_0x3136ef,this[_0x2b4195(0x250)]=_0x3d470c,this[_0x2b4195(0x326)]=_0x57308e,this[_0x2b4195(0x1ef)]=_0x3930e4,this[_0x2b4195(0x2f9)]=_0x20b236,this[_0x2b4195(0x267)](),this[_0x2b4195(0x13c)]();}[_0x2cc097(0x267)](){const _0x2ef31d=_0x2cc097;this[_0x2ef31d(0x364)](this[_0x2ef31d(0x134)][_0x2ef31d(0x276)](()=>{const _0x1924c1=_0x2ef31d;if(this[_0x1924c1(0xfa)][_0x1924c1(0x19f)][_0x1924c1(0x213)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x215f09=_0x2cc097;this[_0x215f09(0x364)](this[_0x215f09(0x250)][_0x215f09(0x1e0)][_0x215f09(0x1bc)](_0x32d5e1=>{const _0xb0b26a=_0x215f09;_0x32d5e1['id']===_0x3b3d06['CollaborationUIEventId'][_0xb0b26a(0x139)]&&this['_messageService'][_0xb0b26a(0x214)]({'type':_0x7fe650[_0xb0b26a(0x217)][_0xb0b26a(0x14c)],'content':this[_0xb0b26a(0x2f9)]['t']('collaboration.single-unit.warning')}),_0x32d5e1['id']===_0x3b3d06['CollaborationUIEventId'][_0xb0b26a(0xe7)]&&this['_messageService'][_0xb0b26a(0x214)]({'type':_0x7fe650[_0xb0b26a(0x217)][_0xb0b26a(0x14c)],'content':this['_localeService']['t'](_0xb0b26a(0x331))}),_0x32d5e1['id']===_0x3b3d06['CollaborationUIEventId'][_0xb0b26a(0x180)]&&this[_0xb0b26a(0x1ef)][_0xb0b26a(0x214)]({'title':this[_0xb0b26a(0x2f9)]['t'](_0xb0b26a(0x30c)),'content':this[_0xb0b26a(0x2f9)]['t']('permission.content'),'type':_0xb0b26a(0x18b),'duration':0x0}),_0x32d5e1['id']===_0x3b3d06[_0xb0b26a(0x28d)][_0xb0b26a(0x21f)]&&this[_0xb0b26a(0x326)][_0xb0b26a(0x214)]({'type':_0x7fe650['MessageType'][_0xb0b26a(0x110)],'content':this[_0xb0b26a(0x2f9)]['t'](_0xb0b26a(0x331))+'('+_0x32d5e1[_0xb0b26a(0x1c1)]+')'}),_0x32d5e1['id']===_0x3b3d06[_0xb0b26a(0x28d)][_0xb0b26a(0x182)]&&this[_0xb0b26a(0x326)]['show']({'type':_0x7fe650[_0xb0b26a(0x217)][_0xb0b26a(0x14c)],'content':this[_0xb0b26a(0x2f9)]['t'](_0x32d5e1[_0xb0b26a(0x1c1)]||'')}),_0x32d5e1['id']===_0x3b3d06[_0xb0b26a(0x28d)][_0xb0b26a(0x2d1)]&&this[_0xb0b26a(0x326)][_0xb0b26a(0x214)]({'type':_0x7fe650['MessageType'][_0xb0b26a(0x14c)],'content':this[_0xb0b26a(0x2f9)]['t'](_0xb0b26a(0x2f1))}),_0x32d5e1['id']===_0x3b3d06[_0xb0b26a(0x28d)][_0xb0b26a(0x247)]&&this['_messageService'][_0xb0b26a(0x214)]({'type':_0x7fe650['MessageType'][_0xb0b26a(0x110)],'content':this[_0xb0b26a(0x2f9)]['t'](_0xb0b26a(0x2e0))}),_0x32d5e1['id']===_0x3b3d06[_0xb0b26a(0x28d)][_0xb0b26a(0x118)]&&this[_0xb0b26a(0x326)][_0xb0b26a(0x214)]({'type':_0x7fe650[_0xb0b26a(0x217)][_0xb0b26a(0x110)],'content':this['_localeService']['t'](_0xb0b26a(0x339))});}));}};_0x21044f=_0x2e306f([_0x57b7d8(0x0,_0x4984d8[_0x2cc097(0x272)]),_0x57b7d8(0x1,_0x3b3d06[_0x2cc097(0x25b)]),_0x57b7d8(0x2,_0x42b1ed[_0x2cc097(0x37c)](_0x3b3d06[_0x2cc097(0x11d)])),_0x57b7d8(0x3,_0x4984d8[_0x2cc097(0x15c)]),_0x57b7d8(0x4,_0x4984d8['INotificationService']),_0x57b7d8(0x5,_0x42b1ed[_0x2cc097(0x37c)](_0x42b1ed[_0x2cc097(0x32e)]))],_0x21044f);const _0x116938=_0x2cc097(0x359),_0x444d0b={},_0x2dff4b=_0x42b1ed[_0x2cc097(0x2a6)](_0x2cc097(0x23b));var _0x15a4ef=Object[_0x2cc097(0x32d)],_0x3639f0=(_0x10fb59,_0x455ec1,_0x207239,_0x2c7abe)=>{const _0x15fd31=_0x2cc097;for(var _0x3ad608=_0x2c7abe>0x1?void 0x0:_0x2c7abe?_0x15a4ef(_0x455ec1,_0x207239):_0x455ec1,_0x1cd53e=_0x10fb59[_0x15fd31(0x1b9)]-0x1,_0x5993d9;_0x1cd53e>=0x0;_0x1cd53e--)(_0x5993d9=_0x10fb59[_0x1cd53e])&&(_0x3ad608=_0x5993d9(_0x3ad608)||_0x3ad608);return _0x3ad608;},_0xee09e9=(_0x289596,_0x51c11b)=>(_0x4b3b44,_0x44e3d9)=>_0x51c11b(_0x4b3b44,_0x44e3d9,_0x289596);_0x50c597[_0x2cc097(0x273)]=class extends _0x42b1ed[_0x2cc097(0x208)]{constructor(_0x2c2878,_0x2dd674,_0x4553ee,_0x1ff731,_0x478cb7){const _0x387855=_0x2cc097;super(),this[_0x387855(0x19e)]=_0x2c2878,this[_0x387855(0x2f6)]=_0x2dd674,this[_0x387855(0x12f)]=_0x4553ee,this[_0x387855(0x262)]=_0x1ff731,_0x478cb7?_0x478cb7==null||_0x478cb7[_0x387855(0x280)]()[_0x387855(0xe2)](()=>this[_0x387855(0x270)]()):(this['_logService'][_0x387855(0x206)](_0x387855(0x105),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x387855(0x270)]());}async[_0x2cc097(0x270)](){const _0x4cdb93=_0x2cc097,_0x4a7b45=this['_urlService'][_0x4cdb93(0x2d8)](_0x4cdb93(0x322)),_0x4e7ded=this['_urlService'][_0x4cdb93(0x2d8)](_0x4cdb93(0x263)),_0x48c6da=this[_0x4cdb93(0x19e)][_0x4cdb93(0x2d8)](_0x4cdb93(0x190));if(!_0x4a7b45||!_0x4e7ded){this[_0x4cdb93(0x2f6)]['debug'](_0x4cdb93(0x105),_0x4cdb93(0x13e));return;}const _0x2ace09=await this[_0x4cdb93(0x262)]['loadUnit'](_0x4a7b45,Number(_0x4e7ded),_0x48c6da);_0x2ace09&&_0x2ace09 instanceof _0x42b1ed[_0x4cdb93(0x2d7)]&&this[_0x4cdb93(0x207)](_0x2ace09);}async[_0x2cc097(0x207)](_0xc100f6){const _0x3e8b4f=_0x2cc097;await this[_0x3e8b4f(0x288)](_0xc100f6),_0xc100f6[_0x3e8b4f(0x16a)][_0x3e8b4f(0x29f)](_0x50e9d8[_0x3e8b4f(0x2be)](this['dispose$']))[_0x3e8b4f(0x1bc)](_0x230d51=>{_0x230d51&&this['_updateURLWithCurrentState'](_0x230d51);}),this['_urlService'][_0x3e8b4f(0x2c8)][_0x3e8b4f(0x29f)](_0x50e9d8['takeUntil'](this[_0x3e8b4f(0x1dc)]))[_0x3e8b4f(0x1bc)](()=>this['_updateSubUnitFromURLParams'](_0xc100f6));}[_0x2cc097(0x162)](_0x4d455b,_0x4a3334=!0x1){const _0xc56332=_0x2cc097,_0x48b8e6=this[_0xc56332(0x19e)][_0xc56332(0x2d8)]('subunit');_0x4d455b[_0xc56332(0x117)]()!==_0x48b8e6&&this[_0xc56332(0x19e)][_0xc56332(0x30b)]('subunit',_0x4d455b[_0xc56332(0x117)](),_0x4a3334);}async[_0x2cc097(0x288)](_0x133c29){const _0x415c91=_0x2cc097;var _0x5b04bd;const _0x3b0e05=this[_0x415c91(0x19e)][_0x415c91(0x2d8)]('subunit');if(!_0x3b0e05||!_0x133c29['getSheetBySheetId'](_0x3b0e05)){const _0x2c4544=_0x133c29[_0x415c91(0x268)]()[0x0],_0x1fb341=_0x133c29[_0x415c91(0x345)](_0x2c4544);if(!_0x1fb341)return;this[_0x415c91(0x162)](_0x1fb341,!0x0),await this[_0x415c91(0x12f)][_0x415c91(0x255)](_0x49066d[_0x415c91(0x377)]['id'],{'unitId':_0x133c29['getUnitId'](),'subUnitId':_0x2c4544});return;}((_0x5b04bd=_0x133c29[_0x415c91(0xf2)]())==null?void 0x0:_0x5b04bd[_0x415c91(0x117)]())!==_0x3b0e05&&await this[_0x415c91(0x12f)][_0x415c91(0x255)](_0x49066d[_0x415c91(0x377)]['id'],{'unitId':_0x133c29[_0x415c91(0x309)](),'subUnitId':_0x3b0e05});}},_0x50c597[_0x2cc097(0x273)]=_0x3639f0([_0xee09e9(0x0,_0x2dff4b),_0xee09e9(0x1,_0x42b1ed[_0x2cc097(0x340)]),_0xee09e9(0x2,_0x42b1ed[_0x2cc097(0x14a)]),_0xee09e9(0x3,_0x42b1ed[_0x2cc097(0x37c)](_0x3b3d06[_0x2cc097(0x2f7)])),_0xee09e9(0x4,_0x42b1ed[_0x2cc097(0x160)](_0x215589[_0x2cc097(0x1f5)]))],_0x50c597[_0x2cc097(0x273)]);var _0x8e72e2=Object['getOwnPropertyDescriptor'],_0xd27757=(_0x38cb36,_0x15fbc1,_0x403112,_0x3c604c)=>{const _0x5ab554=_0x2cc097;for(var _0x462325=_0x3c604c>0x1?void 0x0:_0x3c604c?_0x8e72e2(_0x15fbc1,_0x403112):_0x15fbc1,_0x5b7d9a=_0x38cb36[_0x5ab554(0x1b9)]-0x1,_0x128d04;_0x5b7d9a>=0x0;_0x5b7d9a--)(_0x128d04=_0x38cb36[_0x5b7d9a])&&(_0x462325=_0x128d04(_0x462325)||_0x462325);return _0x462325;},_0x509ba0=(_0x423084,_0x3cf391)=>(_0x261145,_0x4b07bc)=>_0x3cf391(_0x261145,_0x4b07bc,_0x423084);let _0x293414=class{constructor(_0x43fa08,_0x5e094f,_0x3353ef){const _0x1e551b=_0x2cc097;this[_0x1e551b(0x2a5)]=_0x43fa08,this[_0x1e551b(0x27f)]=_0x5e094f,this['_renderManagerService']=_0x3353ef;}[_0x2cc097(0x1c3)](_0xe2793d){const _0x4b57f8=_0x2cc097;this['_transformUndoRedoStack'](_0xe2793d),this[_0x4b57f8(0xdd)](_0xe2793d);}[_0x2cc097(0x168)](_0x4f28e7){const _0x4080d0=_0x2cc097,{unitID:_0x1b22cb}=_0x4f28e7,_0x27b107=this[_0x4080d0(0x10d)][_0x4080d0(0x300)](_0x1b22cb)[_0x4080d0(0x1a4)](_0x230698[_0x4080d0(0x166)]),{redoCache:_0x4a9e0f}=_0x27b107[_0x4080d0(0x1c0)]();if(_0x4a9e0f[_0x4080d0(0x1b9)]===0x0)return _0x4f28e7;let _0x1d656e=_0x42b1ed[_0x4080d0(0x1b4)]['deepClone'](_0x4f28e7[_0x4080d0(0x21d)][0x0]);for(let _0x9623b4=0x0;_0x9623b4<_0x4a9e0f[_0x4080d0(0x1b9)];_0x9623b4++){const _0x485c99={'id':_0x4080d0(0x1ab),'params':{..._0x4a9e0f[_0x9623b4]}},_0x134c9d=this[_0x4080d0(0x27f)][_0x4080d0(0x239)](_0x1d656e,_0x485c99,!0x1);if(_0x20ec0c['isTransformMutationFailure'](_0x134c9d))throw _0x134c9d[_0x4080d0(0x18b)];_0x1d656e=_0x134c9d[_0x4080d0(0xe5)];}return{..._0x42b1ed['Tools']['deepClone'](_0x4f28e7),'mutations':[_0x1d656e]};}[_0x2cc097(0x136)](_0x4e7dd6){const _0x19a839=_0x2cc097,{unitID:_0x51b943}=_0x4e7dd6,_0x2c35cf=this['_renderManagerService'][_0x19a839(0x300)](_0x51b943)[_0x19a839(0x1a4)](_0x230698['DocIMEInputManagerService']),{undoCache:_0x3872d1,redoCache:_0x38c545}=_0x2c35cf[_0x19a839(0x1c0)]();if(_0x3872d1[_0x19a839(0x1b9)]===0x0||_0x38c545[_0x19a839(0x1b9)]===0x0)return;const _0x3e799d=[],_0x254239=[];let _0x273583=_0x42b1ed[_0x19a839(0x1b4)][_0x19a839(0x2b4)](_0x4e7dd6[_0x19a839(0x21d)][0x0]),_0x5e197b=_0x42b1ed[_0x19a839(0x1b4)][_0x19a839(0x2b4)](_0x4e7dd6[_0x19a839(0x21d)][0x0]);for(let _0x49eb0f=_0x3872d1[_0x19a839(0x1b9)]-0x1;_0x49eb0f>=0x0;_0x49eb0f--){const _0x2ba608={'id':_0x19a839(0x1ab),'params':{..._0x3872d1[_0x49eb0f]}},_0x51c42b={'id':_0x19a839(0x1ab),'params':{..._0x38c545[_0x49eb0f]}},_0x319eca=this[_0x19a839(0x27f)][_0x19a839(0x239)](_0x273583,_0x2ba608,!0x1),_0x252e29=this['_transformService']['transformMutation'](_0x5e197b,_0x51c42b,!0x1);if(_0x20ec0c['isTransformMutationFailure'](_0x319eca))throw _0x319eca['error'];if(_0x20ec0c[_0x19a839(0x196)](_0x252e29))throw _0x252e29['error'];_0x3e799d[_0x19a839(0x11e)](_0x319eca[_0x19a839(0x355)][_0x19a839(0x25a)]),_0x254239[_0x19a839(0x11e)](_0x252e29[_0x19a839(0x355)][_0x19a839(0x25a)]),_0x273583=_0x319eca[_0x19a839(0xe5)],_0x5e197b=_0x252e29[_0x19a839(0xe5)];}_0x2c35cf[_0x19a839(0x2d3)]({'undoCache':_0x3e799d,'redoCache':_0x254239});}['_transformPreviousActiveRange'](_0x59646b){const _0x439f24=_0x2cc097,{unitID:_0x27a44e}=_0x59646b,_0xe699a5=this['_renderManagerService'][_0x439f24(0x300)](_0x27a44e)['with'](_0x230698['DocIMEInputManagerService']),_0x1a8ccc=_0xe699a5[_0x439f24(0x19a)]();if(_0x1a8ccc==null)return;const _0x20a92d=[{'id':_0x439f24(0x1ab),'params':{'unitId':_0x59646b[_0x439f24(0xed)],'actions':null,'textRanges':[_0x1a8ccc]}}],_0x3f07bb=this['_transformService'][_0x439f24(0x283)](_0x59646b,_0x20a92d);if(!_0x20ec0c[_0x439f24(0xde)](_0x3f07bb))throw _0x3f07bb[_0x439f24(0x18b)];const _0xdda577=_0x3f07bb['m2Prime'][0x0]['params'][_0x439f24(0x13d)];Array[_0x439f24(0x1a3)](_0xdda577)&&_0xdda577[_0x439f24(0x1b9)]&&_0xe699a5[_0x439f24(0x35f)](_0xdda577[0x0]);}};_0x293414=_0xd27757([_0x509ba0(0x0,_0x42b1ed[_0x2cc097(0x37c)](_0x42b1ed[_0x2cc097(0x2ec)])),_0x509ba0(0x1,_0x20ec0c[_0x2cc097(0x181)]),_0x509ba0(0x2,_0x161b55[_0x2cc097(0x2cd)])],_0x293414);var _0x23c0bb=Object[_0x2cc097(0x32d)],_0x57314c=(_0x1a2083,_0x4a351f,_0x3f6ff1,_0x189d37)=>{const _0x1c6195=_0x2cc097;for(var _0x1ea19c=_0x189d37>0x1?void 0x0:_0x189d37?_0x23c0bb(_0x4a351f,_0x3f6ff1):_0x4a351f,_0x128fd3=_0x1a2083[_0x1c6195(0x1b9)]-0x1,_0xb22745;_0x128fd3>=0x0;_0x128fd3--)(_0xb22745=_0x1a2083[_0x128fd3])&&(_0x1ea19c=_0xb22745(_0x1ea19c)||_0x1ea19c);return _0x1ea19c;},_0x11893d=(_0x298424,_0x33eb98)=>(_0x580fde,_0x205edc)=>_0x33eb98(_0x580fde,_0x205edc,_0x298424);let _0x161a95=class{constructor(_0x2e2a03,_0x4e10e7,_0x3d7780){const _0x3460e6=_0x2cc097;this[_0x3460e6(0x2a5)]=_0x2e2a03,this[_0x3460e6(0x27f)]=_0x4e10e7,this['_docStateChangeManagerService']=_0x3d7780;}['transformStateCache'](_0x9f18b9){const _0x2dbb5d=_0x2cc097;this[_0x2dbb5d(0x130)](_0x9f18b9);}['transformRemoteChangeset'](_0x5795a4){const _0x17f726=_0x2cc097,{unitID:_0x2956c1}=_0x5795a4,{collaboration:_0x16dd46}=this['_docStateChangeManagerService']['getStateCache'](_0x2956c1);if(_0x16dd46[_0x17f726(0x1b9)]===0x0)return _0x5795a4;let _0x2d8701=_0x42b1ed[_0x17f726(0x1b4)]['deepClone'](_0x5795a4[_0x17f726(0x21d)][0x0]);for(let _0x58dcdb=0x0;_0x58dcdb<_0x16dd46[_0x17f726(0x1b9)];_0x58dcdb++){const _0x164d26={'id':_0x17f726(0x1ab),'params':{'unitId':_0x16dd46[_0x58dcdb]['unitId'],..._0x16dd46[_0x58dcdb][_0x17f726(0x149)]}},_0x40e818=this['_transformService'][_0x17f726(0x239)](_0x2d8701,_0x164d26,!0x1);if(_0x20ec0c['isTransformMutationFailure'](_0x40e818))throw _0x40e818['error'];_0x2d8701=_0x40e818[_0x17f726(0xe5)];}return{..._0x42b1ed[_0x17f726(0x1b4)][_0x17f726(0x2b4)](_0x5795a4),'mutations':[_0x2d8701]};}[_0x2cc097(0x130)](_0x10eaaa){const _0x5320ad=_0x2cc097,{unitID:_0x5b90b7}=_0x10eaaa,{history:_0x1c615e,collaboration:_0x26d09d}=this['_docStateChangeManagerService'][_0x5320ad(0x108)](_0x5b90b7);if(_0x1c615e[_0x5320ad(0x1b9)]===0x0&&_0x26d09d[_0x5320ad(0x1b9)]===0x0)return;const _0x5e4b99=[],_0x12dc10=[];let _0x44f3ff=_0x42b1ed[_0x5320ad(0x1b4)]['deepClone'](_0x10eaaa[_0x5320ad(0x21d)][0x0]),_0x493459=_0x42b1ed['Tools']['deepClone'](_0x10eaaa['mutations'][0x0]);for(let _0x12b94e=_0x1c615e['length']-0x1;_0x12b94e>=0x0;_0x12b94e--){const _0x39df4e={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1c615e[_0x12b94e]['unitId'],..._0x1c615e[_0x12b94e]['undoState']}},_0x56f975={'id':_0x5320ad(0x1ab),'params':{'unitId':_0x1c615e[_0x12b94e][_0x5320ad(0x365)],..._0x1c615e[_0x12b94e]['redoState']}},_0x186f0f=this[_0x5320ad(0x27f)][_0x5320ad(0x239)](_0x44f3ff,_0x39df4e,!0x1),_0x7eb4f2=this[_0x5320ad(0x27f)][_0x5320ad(0x239)](_0x493459,_0x56f975,!0x1);if(_0x20ec0c[_0x5320ad(0x196)](_0x186f0f))throw _0x186f0f[_0x5320ad(0x18b)];if(_0x20ec0c[_0x5320ad(0x196)](_0x7eb4f2))throw _0x7eb4f2[_0x5320ad(0x18b)];_0x5e4b99['unshift']({..._0x1c615e[_0x12b94e],'undoState':_0x186f0f[_0x5320ad(0x355)][_0x5320ad(0x25a)],'redoState':_0x7eb4f2['m2Prime'][_0x5320ad(0x25a)]}),_0x44f3ff=_0x186f0f[_0x5320ad(0xe5)],_0x493459=_0x7eb4f2[_0x5320ad(0xe5)];}_0x44f3ff=_0x42b1ed['Tools']['deepClone'](_0x10eaaa[_0x5320ad(0x21d)][0x0]),_0x493459=_0x42b1ed['Tools'][_0x5320ad(0x2b4)](_0x10eaaa[_0x5320ad(0x21d)][0x0]);for(let _0x106bf3=_0x26d09d[_0x5320ad(0x1b9)]-0x1;_0x106bf3>=0x0;_0x106bf3--){const _0x4ce98c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x26d09d[_0x106bf3][_0x5320ad(0x365)],..._0x26d09d[_0x106bf3]['undoState']}},_0x6db29e={'id':_0x5320ad(0x1ab),'params':{'unitId':_0x26d09d[_0x106bf3]['unitId'],..._0x26d09d[_0x106bf3][_0x5320ad(0x149)]}},_0x44ecc6=this[_0x5320ad(0x27f)][_0x5320ad(0x239)](_0x44f3ff,_0x4ce98c,!0x1),_0x19990b=this[_0x5320ad(0x27f)][_0x5320ad(0x239)](_0x493459,_0x6db29e,!0x1);if(_0x20ec0c[_0x5320ad(0x196)](_0x44ecc6))throw _0x44ecc6[_0x5320ad(0x18b)];if(_0x20ec0c[_0x5320ad(0x196)](_0x19990b))throw _0x19990b['error'];_0x12dc10[_0x5320ad(0x11e)]({..._0x26d09d[_0x106bf3],'undoState':_0x44ecc6[_0x5320ad(0x355)]['params'],'redoState':_0x19990b[_0x5320ad(0x355)][_0x5320ad(0x25a)]}),_0x44f3ff=_0x44ecc6[_0x5320ad(0xe5)],_0x493459=_0x19990b[_0x5320ad(0xe5)];}this[_0x5320ad(0x191)]['setStateCache'](_0x5b90b7,{'history':_0x5e4b99,'collaboration':_0x12dc10});}};_0x161a95=_0x57314c([_0x11893d(0x0,_0x42b1ed[_0x2cc097(0x37c)](_0x42b1ed[_0x2cc097(0x2ec)])),_0x11893d(0x1,_0x20ec0c[_0x2cc097(0x181)]),_0x11893d(0x2,_0x42b1ed[_0x2cc097(0x37c)](_0x230698[_0x2cc097(0x21c)]))],_0x161a95);var _0x4328e1=Object[_0x2cc097(0x32d)],_0x259aa3=(_0x22e39b,_0x416b30,_0x193dd4,_0x243a86)=>{const _0x1a9266=_0x2cc097;for(var _0x5bd890=_0x243a86>0x1?void 0x0:_0x243a86?_0x4328e1(_0x416b30,_0x193dd4):_0x416b30,_0x3acb45=_0x22e39b[_0x1a9266(0x1b9)]-0x1,_0x2cfc14;_0x3acb45>=0x0;_0x3acb45--)(_0x2cfc14=_0x22e39b[_0x3acb45])&&(_0x5bd890=_0x2cfc14(_0x5bd890)||_0x5bd890);return _0x5bd890;},_0x731576=(_0x387442,_0x368d97)=>(_0x581d81,_0x263699)=>_0x368d97(_0x581d81,_0x263699,_0x387442);let _0x3833ac=class{constructor(_0x2648cb,_0x4c24c7){const _0x33692f=_0x2cc097;this['_injector']=_0x2648cb,this[_0x33692f(0x27f)]=_0x4c24c7;}['transformSelections'](_0x287a18){const _0x282848=_0x2cc097;var _0x369f86;const _0x25b80d=this[_0x282848(0x2a5)][_0x282848(0x16e)](_0x3b2d2a[_0x282848(0x259)]),_0x16a52d=(_0x369f86=_0x25b80d[_0x282848(0x2c1)]())!=null?_0x369f86:[];if(_0x16a52d[_0x282848(0x1b9)]===0x0)return;const _0x4ccf57=_0x287a18[_0x282848(0xed)],_0x58bff8=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4ccf57,'actions':null,'textRanges':_0x16a52d}}],_0x1a1c06=this[_0x282848(0x27f)][_0x282848(0x283)](_0x287a18,_0x58bff8);if(!_0x20ec0c[_0x282848(0xde)](_0x1a1c06))throw _0x1a1c06[_0x282848(0x18b)];const _0x59500d=_0x1a1c06[_0x282848(0x355)][0x0]['params'][_0x282848(0x13d)];Array[_0x282848(0x1a3)](_0x59500d)&&_0x59500d[_0x282848(0x1b9)]&&_0x25b80d[_0x282848(0x20a)](_0x59500d,{'unitId':_0x4ccf57,'subUnitId':_0x4ccf57},!0x1);}};_0x3833ac=_0x259aa3([_0x731576(0x0,_0x42b1ed[_0x2cc097(0x37c)](_0x42b1ed[_0x2cc097(0x2ec)])),_0x731576(0x1,_0x20ec0c[_0x2cc097(0x181)])],_0x3833ac);var _0x2bdcc9=Object[_0x2cc097(0x32d)],_0x6c4cc5=(_0x169185,_0x48c3a0,_0x1b6240,_0xf6a580)=>{const _0x7a0c7=_0x2cc097;for(var _0x193869=_0xf6a580>0x1?void 0x0:_0xf6a580?_0x2bdcc9(_0x48c3a0,_0x1b6240):_0x48c3a0,_0x3c674a=_0x169185[_0x7a0c7(0x1b9)]-0x1,_0x21ebfc;_0x3c674a>=0x0;_0x3c674a--)(_0x21ebfc=_0x169185[_0x3c674a])&&(_0x193869=_0x21ebfc(_0x193869)||_0x193869);return _0x193869;},_0x331c70=(_0x51453a,_0x3753e7)=>(_0xb2e78b,_0x202d56)=>_0x3753e7(_0xb2e78b,_0x202d56,_0x51453a);let _0x42b2a4=class extends _0x42b1ed[_0x2cc097(0x2fc)]{constructor(_0x57b6e7,_0x57ebf4,_0x410507,_0x3a8726,_0x3277e9,_0x3017ec,_0x9f35af,_0x5dca23){const _0x329b71=_0x2cc097;super(),_0x565563(this,_0x329b71(0x2f4),new _0x50e9d8[(_0x329b71(0x371))](_0x3b3d06[_0x329b71(0x157)][_0x329b71(0x138)])),(this[_0x329b71(0x191)]=_0x57b6e7,this[_0x329b71(0x22f)]=_0x57ebf4,this[_0x329b71(0x1d5)]=_0x410507,this[_0x329b71(0x357)]=_0x3a8726,this[_0x329b71(0x2c9)]=_0x3277e9,this[_0x329b71(0x30a)]=_0x3017ec,this[_0x329b71(0x326)]=_0x9f35af,this['_localeService']=_0x5dca23,this[_0x329b71(0x291)]());}[_0x2cc097(0x291)](){const _0x124c37=_0x2cc097;this[_0x124c37(0x364)](this['_collaborationController'][_0x124c37(0x1d3)][_0x124c37(0x1bc)](_0x811c25=>{const _0x540ec1=_0x124c37,_0x9153b6=this['_docStateChangeManagerService']['docStateChange$'][_0x540ec1(0x1bc)](_0x5a9df2=>{const _0x1f06a3=_0x540ec1;if(_0x5a9df2==null)return;const {unitId:_0x55d27b,redoState:_0x2c9882,commandId:_0x4d49cf}=_0x5a9df2;if(_0x55d27b!==_0x811c25[_0x1f06a3(0xed)])return;const _0x1434eb={'id':_0x4d49cf,'type':_0x42b1ed[_0x1f06a3(0x2b2)]['MUTATION'],'params':{'unitId':_0x55d27b,'actions':_0x2c9882[_0x1f06a3(0x2a3)],'textRanges':null}};_0x811c25[_0x1f06a3(0x15a)](_0x1434eb);});if(_0x811c25[_0x540ec1(0x364)](_0x9153b6),_0x811c25 instanceof _0x3b3d06[_0x540ec1(0x28c)]){const _0x53a39f={'onTransformIME':_0x3b057a=>this[_0x540ec1(0x1d5)]['transformIMECache'](_0x3b057a),'onTransformState':_0x2c22e2=>this['_docTransformStateCacheService']['transformStateCache'](_0x2c22e2),'onTransformSelections':_0x451bdd=>this['_docTransformSelectionsService'][_0x540ec1(0x33e)](_0x451bdd),'onSyncEditingCollabCursor':_0x22b003=>this[_0x540ec1(0x30a)][_0x540ec1(0x185)](_0x22b003),'onTransformRemoteChangesetByIMECache':_0x357ee5=>this[_0x540ec1(0x1d5)][_0x540ec1(0x168)](_0x357ee5),'onTransformRemoteChangesetByStateCache':_0x317e15=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x317e15)};_0x811c25['addHandlerCallback'](_0x53a39f);}}));}};_0x42b2a4=_0x6c4cc5([_0x331c70(0x0,_0x42b1ed[_0x2cc097(0x37c)](_0x230698['DocStateChangeManagerService'])),_0x331c70(0x1,_0x42b1ed[_0x2cc097(0x37c)](_0x3b3d06[_0x2cc097(0x2d4)])),_0x331c70(0x2,_0x42b1ed[_0x2cc097(0x37c)](_0x293414)),_0x331c70(0x3,_0x42b1ed[_0x2cc097(0x37c)](_0x161a95)),_0x331c70(0x4,_0x42b1ed[_0x2cc097(0x37c)](_0x3833ac)),_0x331c70(0x5,_0x42b1ed[_0x2cc097(0x37c)](_0x392d57)),_0x331c70(0x6,_0x4984d8[_0x2cc097(0x15c)]),_0x331c70(0x7,_0x42b1ed[_0x2cc097(0x37c)](_0x42b1ed[_0x2cc097(0x32e)]))],_0x42b2a4);var _0x102142=Object[_0x2cc097(0x32d)],_0x5e8480=(_0x5790e8,_0x557c98,_0x1630d5,_0x5b8f1c)=>{const _0x10b703=_0x2cc097;for(var _0x54ee3a=_0x5b8f1c>0x1?void 0x0:_0x5b8f1c?_0x102142(_0x557c98,_0x1630d5):_0x557c98,_0x58e5fc=_0x5790e8[_0x10b703(0x1b9)]-0x1,_0x333fe6;_0x58e5fc>=0x0;_0x58e5fc--)(_0x333fe6=_0x5790e8[_0x58e5fc])&&(_0x54ee3a=_0x333fe6(_0x54ee3a)||_0x54ee3a);return _0x54ee3a;},_0x40a894=(_0x4f43c5,_0x27df09)=>(_0x2eb882,_0x18c0cf)=>_0x27df09(_0x2eb882,_0x18c0cf,_0x4f43c5);let _0x23b6e4=class extends _0x42b1ed['Disposable']{constructor(_0x1b0dff,_0xc521bf,_0x476e82){const _0x45de30=_0x2cc097;super(),_0x565563(this,_0x45de30(0x1c2),new Map()),_0x565563(this,'_saveTaskMap',new Map()),_0x565563(this,'_disabled',!0x1),(this[_0x45de30(0x336)]=_0x1b0dff,this[_0x45de30(0x2e8)]=_0xc521bf,this[_0x45de30(0x23c)]=_0x476e82);}[_0x2cc097(0x2bd)](){const _0x1b8fbb=_0x2cc097;this[_0x1b8fbb(0x2ea)]=!0x0;}[_0x2cc097(0x2cb)](){const _0x29c2a6=_0x2cc097;this[_0x29c2a6(0x2ea)]=!0x1;}get[_0x2cc097(0x19f)](){const _0x277dfb=_0x2cc097;return this[_0x277dfb(0x35d)];}['dispose'](){const _0x5b0329=_0x2cc097;this[_0x5b0329(0x209)]()[_0x5b0329(0xe2)](()=>super[_0x5b0329(0x2a2)]());}async[_0x2cc097(0x242)](_0x19b660){const _0x5852b0=_0x2cc097;return this[_0x5852b0(0x2ea)]?null:this[_0x5852b0(0x2e8)][_0x5852b0(0x2c2)](_0x3b3d06['getLocalCacheKey'](_0x19b660));}async[_0x2cc097(0x1ed)](_0x3101e7,_0x2e1b5e){const _0x3433b9=_0x2cc097;return!!this[_0x3433b9(0x2e8)][_0x3433b9(0x13b)](_0x3101e7,_0x2e1b5e);}[_0x2cc097(0x14f)](_0x33507b,_0xba91b5,_0x1fe9b2,_0x9f1270){const _0x519f2f=_0x2cc097,_0x57ed14=this['_revisionService'][_0x519f2f(0x152)](_0x33507b);this[_0x519f2f(0x1c2)][_0x519f2f(0x27d)](_0x33507b,{'unitID':_0x33507b,'type':_0xba91b5,'awaitingChangeset':_0x1fe9b2,'mutations':_0x9f1270,'rev':_0x57ed14}),this[_0x519f2f(0x35d)][_0x519f2f(0x22c)](_0x33507b)||this[_0x519f2f(0x1cc)](_0x33507b);}[_0x2cc097(0x1cc)](_0x43edc5){const _0x7cb8d5=_0x2cc097,_0x4e1c20=this[_0x7cb8d5(0x21b)]();_0x4e1c20===0x0?this[_0x7cb8d5(0x306)](_0x43edc5):this[_0x7cb8d5(0x35d)]['set'](_0x43edc5,setTimeout(()=>this[_0x7cb8d5(0x306)](_0x43edc5),_0x4e1c20));}[_0x2cc097(0x21b)](){const _0x53edc2=_0x2cc097;var _0x243da5;return(_0x243da5=this['_configService'][_0x53edc2(0x1f8)](_0x3b3d06[_0x53edc2(0x1e4)]))!=null?_0x243da5:_0x3b3d06[_0x53edc2(0x224)];}['_saveCache'](_0x44da18){const _0xfc7979=_0x2cc097,_0xfc70e6=this[_0xfc7979(0x35d)][_0xfc7979(0x16e)](_0x44da18);return _0xfc70e6!==void 0x0&&window[_0xfc7979(0x128)](_0xfc70e6),this[_0xfc7979(0x2e8)]['setItem'](_0x3b3d06[_0xfc7979(0x1b2)](_0x44da18),this[_0xfc7979(0x1c2)][_0xfc7979(0x16e)](_0x44da18))[_0xfc7979(0xe2)](()=>this[_0xfc7979(0x35d)]['delete'](_0x44da18));}async[_0x2cc097(0x209)](){const _0x2e3ebd=_0x2cc097,_0x42e89a=[];this[_0x2e3ebd(0x35d)][_0x2e3ebd(0x18e)]((_0x4be7c2,_0x5e23c8)=>{const _0x2f6767=_0x2e3ebd;window[_0x2f6767(0x128)](_0x4be7c2),_0x42e89a[_0x2f6767(0x36e)](this[_0x2f6767(0x306)](_0x5e23c8)[_0x2f6767(0xe2)](()=>{const _0x1581ce=_0x2f6767;this[_0x1581ce(0x35d)][_0x1581ce(0x119)](_0x5e23c8);}));}),await Promise[_0x2e3ebd(0x228)](_0x42e89a);}};_0x23b6e4=_0x5e8480([_0x40a894(0x0,_0x42b1ed[_0x2cc097(0xdf)]),_0x40a894(0x1,_0x42b1ed[_0x2cc097(0x2e4)]),_0x40a894(0x2,_0x42b1ed[_0x2cc097(0x37c)](_0x20ec0c[_0x2cc097(0x1b7)]))],_0x23b6e4);class _0xe507d4 extends _0x42b1ed['RxDisposable']{constructor(){const _0x52dd33=_0x2cc097;super(),_0x565563(this,_0x52dd33(0x2c8)),this[_0x52dd33(0x2c8)]=_0x50e9d8['fromEvent'](window,_0x52dd33(0x2fe))[_0x52dd33(0x29f)](_0x50e9d8[_0x52dd33(0x2be)](this[_0x52dd33(0x1dc)]),_0x50e9d8[_0x52dd33(0x25e)](0x1),_0x50e9d8[_0x52dd33(0x171)](void 0x0));}[_0x2cc097(0x30b)](_0xf3599a,_0x6759e3,_0x355435=!0x1){const _0x27e585=_0x2cc097,_0x438a32=new URL(window['location'][_0x27e585(0x1ad)]);_0x438a32['searchParams'][_0x27e585(0x27d)](_0xf3599a,_0x6759e3),_0x355435?window[_0x27e585(0x324)][_0x27e585(0x1af)]('','',_0x438a32[_0x27e585(0x215)]()):window[_0x27e585(0x324)][_0x27e585(0x14b)]('','',_0x438a32[_0x27e585(0x215)]());}[_0x2cc097(0x2a9)](_0x4b1b89,_0x769ac2=!0x1){const _0xd0a225=_0x2cc097,_0x5092c6=new URL(window[_0xd0a225(0x378)][_0xd0a225(0x1ad)]);_0x5092c6['searchParams'][_0xd0a225(0x119)](_0x4b1b89),_0x769ac2?window[_0xd0a225(0x324)][_0xd0a225(0x1af)]('','',_0x5092c6['toString']()):window[_0xd0a225(0x324)]['pushState']('','',_0x5092c6[_0xd0a225(0x215)]());}[_0x2cc097(0x2d8)](_0x137968){const _0x3d1c55=_0x2cc097;var _0x5f542c;return(_0x5f542c=new URL(window[_0x3d1c55(0x378)][_0x3d1c55(0x1ad)])['searchParams']['get'](_0x137968))!=null?_0x5f542c:void 0x0;}}var _0x2417af=Object[_0x2cc097(0x173)],_0x5f3600=Object[_0x2cc097(0x32d)],_0x144b01=(_0x2fbcb3,_0x4fd381,_0x397849)=>_0x4fd381 in _0x2fbcb3?_0x2417af(_0x2fbcb3,_0x4fd381,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x397849}):_0x2fbcb3[_0x4fd381]=_0x397849,_0x22db41=(_0x10a77c,_0x446cf1,_0x232aac,_0x50c90e)=>{const _0x431763=_0x2cc097;for(var _0x45f597=_0x50c90e>0x1?void 0x0:_0x50c90e?_0x5f3600(_0x446cf1,_0x232aac):_0x446cf1,_0x55863a=_0x10a77c[_0x431763(0x1b9)]-0x1,_0x47a9fc;_0x55863a>=0x0;_0x55863a--)(_0x47a9fc=_0x10a77c[_0x55863a])&&(_0x45f597=_0x47a9fc(_0x45f597)||_0x45f597);return _0x45f597;},_0x598175=(_0x55badd,_0x1c7d72)=>(_0xb4401f,_0x4d0a34)=>_0x1c7d72(_0xb4401f,_0x4d0a34,_0x55badd),_0x289a47=(_0xbe4811,_0x46e561,_0x56bbbc)=>_0x144b01(_0xbe4811,_0x46e561+'',_0x56bbbc);const _0x22b50b=_0x2cc097(0x347);_0x50c597[_0x2cc097(0x133)]=class extends _0x42b1ed[_0x2cc097(0x1e7)]{constructor(_0x1da9f0=_0x444d0b,_0x1a3bb3,_0x55d7b5,_0x4e544b){const _0x4fcee2=_0x2cc097;super(),this[_0x4fcee2(0x25d)]=_0x1da9f0,this[_0x4fcee2(0x10d)]=_0x1a3bb3,this[_0x4fcee2(0x2a5)]=_0x55d7b5,this[_0x4fcee2(0x336)]=_0x4e544b;const {..._0x3442a2}=_0x42b1ed['merge']({},_0x444d0b,this['_config']);this['_configService'][_0x4fcee2(0x28b)](_0x116938,_0x3442a2);}[_0x2cc097(0x2b1)](){const _0x35c278=_0x2cc097;this['_registerDependencies'](),this[_0x35c278(0xf7)]();}[_0x2cc097(0x1d6)](){this['_registerRenderDependencies']();}[_0x2cc097(0x35b)](){const _0x13cbea=_0x2cc097;var _0x282449;const _0x17c9a1=[[_0x3011e6],[_0x3833ac],[_0x293414],[_0x161a95],[_0x392d57],[_0x2dff4b,{'useClass':_0xe507d4}],[_0x4e187d[_0x13cbea(0x332)],{'useClass':_0x4e187d['WebSocketService']}],[_0x3b3d06[_0x13cbea(0x25b)],{'useClass':_0x23b6e4}],[_0x50c597[_0x13cbea(0x296)]],[_0x42b2a4],[_0x21044f],[_0xa26854],[_0x4cbc76],[_0x50c597[_0x13cbea(0x273)]]];_0x42b1ed['registerDependencies'](this[_0x13cbea(0x2a5)],_0x42b1ed['mergeOverrideWithDependencies'](_0x17c9a1,(_0x282449=this['_config'])==null?void 0x0:_0x282449[_0x13cbea(0x1c7)]));}['_registerRenderDependencies'](){const _0x2e4695=_0x2cc097;this[_0x2e4695(0x364)](this['_renderManagerService'][_0x2e4695(0x1b5)](_0x42b1ed[_0x2e4695(0x2ad)][_0x2e4695(0x1a8)],[_0x235d08])),this[_0x2e4695(0x364)](this['_renderManagerService'][_0x2e4695(0x1b5)](_0x42b1ed['UniverInstanceType'][_0x2e4695(0x211)],[_0x188cb3]));}[_0x2cc097(0xf7)](){const _0x1508a3=_0x2cc097;_0x42b1ed[_0x1508a3(0x36c)](this[_0x1508a3(0x2a5)],[[_0xa26854],[_0x50c597[_0x1508a3(0x296)]],[_0x42b2a4],[_0x21044f],[_0x50c597['CollaborationDataLoaderController']]]);}},_0x289a47(_0x50c597[_0x2cc097(0x133)],_0x2cc097(0x1e2),_0x22b50b),_0x50c597['UniverCollaborationClientUIPlugin']=_0x22db41([_0x42b1ed['DependentOn'](_0x3b3d06[_0x2cc097(0x23a)]),_0x598175(0x1,_0x161b55[_0x2cc097(0x2cd)]),_0x598175(0x2,_0x42b1ed[_0x2cc097(0x37c)](_0x42b1ed[_0x2cc097(0x2ec)])),_0x598175(0x3,_0x42b1ed[_0x2cc097(0xdf)])],_0x50c597[_0x2cc097(0x133)]);var _0x309791=Object['getOwnPropertyDescriptor'],_0x2f9930=(_0x4aa8cf,_0x3974d8,_0x35aa97,_0x3c33e5)=>{const _0x15e35c=_0x2cc097;for(var _0xabc7cf=_0x3c33e5>0x1?void 0x0:_0x3c33e5?_0x309791(_0x3974d8,_0x35aa97):_0x3974d8,_0x453253=_0x4aa8cf[_0x15e35c(0x1b9)]-0x1,_0x488966;_0x453253>=0x0;_0x453253--)(_0x488966=_0x4aa8cf[_0x453253])&&(_0xabc7cf=_0x488966(_0xabc7cf)||_0xabc7cf);return _0xabc7cf;},_0x579678=(_0x3557de,_0x1e0222)=>(_0x160564,_0x49d980)=>_0x1e0222(_0x160564,_0x49d980,_0x3557de);_0x50c597[_0x2cc097(0x305)]=class extends _0x3b3d06['CollaborationSocketService']{constructor(_0x99a555,_0x1372fe,_0x16ca85,_0x35eebb,_0x2c752f){super(_0x99a555,_0x1372fe,_0x16ca85,_0x35eebb,_0x2c752f);}async[_0x2cc097(0x187)](_0x4d836c){const _0x2edba1=_0x2cc097,_0x36dd4b=await this['_getSessionTicket'](),_0x15b0e7=this[_0x2edba1(0x274)](_0x4d836c,_0x36dd4b);return this[_0x2edba1(0x2d0)](_0x15b0e7);}[_0x2cc097(0x274)](_0x5b44eb,_0x4f097a){const _0x1e5455=_0x2cc097,_0xdac6b4=typeof window>'u'?new URL(_0x5b44eb):new URL(_0x5b44eb,window[_0x1e5455(0x378)][_0x1e5455(0x20b)]);_0xdac6b4[_0x1e5455(0x335)][_0x1e5455(0x27d)](_0x1e5455(0x12b),_0x4f097a);const _0x41a6d5=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1e5455(0x378)][_0x1e5455(0x127)]);return _0x41a6d5['get'](_0x1e5455(0x2ee))&&_0xdac6b4['searchParams'][_0x1e5455(0x27d)](_0x1e5455(0x2ee),_0x41a6d5[_0x1e5455(0x16e)](_0x1e5455(0x2ee))),_0xdac6b4['toString']();}async[_0x2cc097(0x112)](){const _0x37806e=_0x2cc097;var _0x1a9db0,_0x52ce5e,_0x1e10ee;const _0xe2c11f=this[_0x37806e(0x336)][_0x37806e(0x1f8)](_0x3b3d06['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x203df6=(_0x1a9db0=_0xe2c11f==null?void 0x0:_0xe2c11f[_0x37806e(0x10c)])!=null?_0x1a9db0:_0x3b3d06[_0x37806e(0x20e)];return(_0x1e10ee=(_0x52ce5e=(await this[_0x37806e(0x24d)][_0x37806e(0x16e)](_0x203df6,{'headers':{'Content-Type':_0x37806e(0x124)}}))['body'])==null?void 0x0:_0x52ce5e[_0x37806e(0x236)])!=null?_0x1e10ee:'';}},_0x50c597[_0x2cc097(0x305)]=_0x2f9930([_0x579678(0x0,_0x42b1ed[_0x2cc097(0x37c)](_0x42b1ed[_0x2cc097(0x2ec)])),_0x579678(0x1,_0x42b1ed['Inject'](_0x4e187d['HTTPService'])),_0x579678(0x2,_0x42b1ed[_0x2cc097(0xdf)]),_0x579678(0x3,_0x42b1ed['ILogService']),_0x579678(0x4,_0x20ec0c['ISnapshotServerService'])],_0x50c597[_0x2cc097(0x305)]);const _0x109440=0x7530,_0x8f3d8a=_0x2cc097(0x2ed);class _0x21e850 extends _0x42b1ed[_0x2cc097(0x2fc)]{constructor(){const _0x5cca92=_0x2cc097;super(),_0x565563(this,_0x5cca92(0x177),_0x42b1ed[_0x5cca92(0x131)]()),_0x565563(this,_0x5cca92(0x321),new Set()),_0x565563(this,'_unitOnClients',new Map()),_0x565563(this,_0x5cca92(0x1eb),null),_0x565563(this,_0x5cca92(0x15e),new Map()),_0x565563(this,_0x5cca92(0x2f8),new Map()),this[_0x5cca92(0x270)]();}[_0x2cc097(0x2a2)](){const _0x325d37=_0x2cc097;super[_0x325d37(0x2a2)](),this[_0x325d37(0x15e)][_0x325d37(0x18e)]((_0x1a3cfc,_0x2f91ad)=>this[_0x325d37(0x19c)](_0x2f91ad)),this[_0x325d37(0x1eb)]&&window[_0x325d37(0x1e3)](this['_heartbeatTimer']);}[_0x2cc097(0x184)](_0x27cd53){const _0x4e5a4f=_0x2cc097;return this['_ensureSubject'](_0x27cd53)[_0x4e5a4f(0x29f)](_0x50e9d8['distinctUntilChanged']());}[_0x2cc097(0x284)](_0x5dc686){const _0x51615c=_0x2cc097;this['_selfUnitIDs'][_0x51615c(0x213)]===0x0&&this[_0x51615c(0x18a)](),this[_0x51615c(0x321)][_0x51615c(0x195)](_0x5dc686),this[_0x51615c(0x2c6)]({'type':0x0,'memberID':this[_0x51615c(0x177)],'unitIDs':[_0x5dc686],'isForwarded':!0x1});}[_0x2cc097(0x1df)](_0x19ba19){const _0xb99449=_0x2cc097;this['_selfUnitIDs']['delete'](_0x19ba19),this['_selfUnitIDs']['size']===0x0&&this[_0xb99449(0x1eb)]&&window[_0xb99449(0x1e3)](this['_heartbeatTimer']);}[_0x2cc097(0x270)](){const _0xa80999=_0x2cc097;this[_0xa80999(0x364)](_0x42b1ed[_0xa80999(0x153)](_0x50e9d8['fromEvent'](window,_0xa80999(0x25c))[_0xa80999(0x1bc)](_0x4d39cd=>{const _0x12978f=_0xa80999;if(_0x4d39cd[_0x12978f(0x1de)]!==_0x8f3d8a||!_0x4d39cd[_0x12978f(0x20c)])return;const _0x26b0d8=JSON[_0x12978f(0x12e)](_0x4d39cd[_0x12978f(0x20c)]);this['_handleEvent'](_0x26b0d8);}))),window[_0xa80999(0x100)](_0xa80999(0x368),()=>this[_0xa80999(0x2c6)]({'type':0x1,'memberID':this[_0xa80999(0x177)],'unitIDs':Array[_0xa80999(0x257)](this[_0xa80999(0x321)])}));}[_0x2cc097(0x27b)](_0x44769a){const _0x4ef246=_0x2cc097;switch(_0x44769a[_0x4ef246(0x263)]){case 0x0:this[_0x4ef246(0x2c5)](_0x44769a);break;case 0x1:this[_0x4ef246(0x35a)](_0x44769a);break;case 0x2:this['_handleHeartbeatEvent'](_0x44769a);break;}}[_0x2cc097(0x2c5)](_0x9943ba){const _0xcb44eb=_0x2cc097,{unitIDs:_0x2ff3c8,memberID:_0x1a1350,isForwarded:_0x2ede9d}=_0x9943ba;_0x2ff3c8[_0xcb44eb(0x18e)](_0x10d6bf=>{const _0x330d56=_0xcb44eb;if(!_0x2ede9d&&this[_0x330d56(0xdc)][_0x330d56(0x22c)](_0x10d6bf)&&this[_0x330d56(0x234)](_0x10d6bf)['next'](_0x3b3d06[_0x330d56(0x36b)][_0x330d56(0x277)]),!this['_unitOnClients'][_0x330d56(0x22c)](_0x10d6bf)||!this[_0x330d56(0xdc)][_0x330d56(0x16e)](_0x10d6bf)[_0x330d56(0x22c)](_0x1a1350)){const _0x3de38f=this[_0x330d56(0xdc)][_0x330d56(0x16e)](_0x10d6bf)||new Set();_0x3de38f[_0x330d56(0x195)](_0x1a1350),this[_0x330d56(0xdc)][_0x330d56(0x27d)](_0x10d6bf,_0x3de38f),this[_0x330d56(0x231)](_0x1a1350);}}),_0x2ede9d||this['_send']({'type':0x0,'memberID':this[_0xcb44eb(0x177)],'unitIDs':[...this[_0xcb44eb(0x321)]],'isForwarded':!0x0});}[_0x2cc097(0x231)](_0x8bf782){const _0x2a050c=_0x2cc097;this['_removeClearOtherTimer'](_0x8bf782);const _0x46bbbf=window['setTimeout'](()=>{const _0x2bbd36=_0x3200;this[_0x2bbd36(0xdc)][_0x2bbd36(0x18e)](_0x61c80f=>{const _0x46fe76=_0x2bbd36;_0x61c80f[_0x46fe76(0x119)](_0x8bf782);});},_0x109440*0x2);this[_0x2a050c(0x15e)][_0x2a050c(0x27d)](_0x8bf782,_0x46bbbf);}[_0x2cc097(0x19c)](_0x26be27){const _0x55625d=_0x2cc097;if(this[_0x55625d(0x15e)][_0x55625d(0x22c)](_0x26be27)){const _0x200ac1=this['_clearOtherTimers'][_0x55625d(0x16e)](_0x26be27);_0x200ac1&&window[_0x55625d(0x128)](_0x200ac1),this[_0x55625d(0x15e)][_0x55625d(0x27d)](_0x26be27,null);}}[_0x2cc097(0x35a)](_0x425011){const _0x226192=_0x2cc097,{memberID:_0x72f0b7,unitIDs:_0x58d474}=_0x425011;_0x58d474[_0x226192(0x18e)](_0x1ee350=>{const _0x5515f6=_0x226192;var _0x18249d;const _0x25b8be=this['_unitOnClients'][_0x5515f6(0x16e)](_0x1ee350);_0x25b8be&&(_0x25b8be[_0x5515f6(0x119)](_0x72f0b7),(_0x18249d=this[_0x5515f6(0x234)](_0x1ee350))==null||_0x18249d[_0x5515f6(0x379)](_0x25b8be['size']===0x0?_0x3b3d06[_0x5515f6(0x36b)][_0x5515f6(0x343)]:_0x3b3d06['UnitStatus'][_0x5515f6(0x277)]));}),this[_0x226192(0x19c)](_0x72f0b7);}['_handleHeartbeatEvent'](_0x21f779){const _0x33983e=_0x2cc097;this[_0x33983e(0x231)](_0x21f779[_0x33983e(0x372)]);}[_0x2cc097(0x2c6)](_0x301d63){const _0x1c761b=_0x2cc097;localStorage[_0x1c761b(0x13b)](_0x8f3d8a,JSON[_0x1c761b(0x13f)](_0x301d63));}[_0x2cc097(0x18a)](){const _0x197f80=_0x2cc097;this[_0x197f80(0x1eb)]=window[_0x197f80(0x2e9)](()=>{const _0x3456c7=_0x197f80;this[_0x3456c7(0x2c6)]({'type':0x2,'memberID':this['_id']});},_0x109440);}[_0x2cc097(0x234)](_0x31eae8){const _0x85c1b6=_0x2cc097;return this[_0x85c1b6(0x2f8)][_0x85c1b6(0x22c)](_0x31eae8)||this['_unitStatus'][_0x85c1b6(0x27d)](_0x31eae8,new _0x50e9d8['BehaviorSubject'](_0x3b3d06[_0x85c1b6(0x36b)][_0x85c1b6(0x343)])),this['_unitStatus']['get'](_0x31eae8);}}var _0x1880f6=(_0x2e805b=>(_0x2e805b[_0x2e805b[_0x2cc097(0x161)]=0x0]=_0x2cc097(0x161),_0x2e805b[_0x2e805b['OK']=0x1]='OK',_0x2e805b[_0x2e805b[_0x2cc097(0x21e)]=0x2]=_0x2cc097(0x21e),_0x2e805b[_0x2e805b[_0x2cc097(0x180)]=0x3]=_0x2cc097(0x180),_0x2e805b[_0x2e805b[_0x2cc097(0x325)]=0x4]=_0x2cc097(0x325),_0x2e805b[_0x2e805b[_0x2cc097(0xfb)]=0x5]=_0x2cc097(0xfb),_0x2e805b[_0x2e805b['ALREADY_EXISTS']=0x6]=_0x2cc097(0xfd),_0x2e805b[_0x2e805b[_0x2cc097(0x36a)]=0x7]=_0x2cc097(0x36a),_0x2e805b[_0x2e805b[_0x2cc097(0x1aa)]=0x8]=_0x2cc097(0x1aa),_0x2e805b[_0x2e805b[_0x2cc097(0x30e)]=0x9]='COMPLETION_FINISHED',_0x2e805b[_0x2e805b[_0x2cc097(0x297)]=0xa]=_0x2cc097(0x297),_0x2e805b[_0x2e805b[_0x2cc097(0x106)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2e805b[_0x2e805b[_0x2cc097(0x26c)]=0x1771]=_0x2cc097(0x26c),_0x2e805b[_0x2e805b[_0x2cc097(0x1c8)]=0x1772]=_0x2cc097(0x1c8),_0x2e805b[_0x2e805b[_0x2cc097(0x1f9)]=0x1773]=_0x2cc097(0x1f9),_0x2e805b[_0x2e805b[_0x2cc097(0x2b6)]=0x1b59]=_0x2cc097(0x2b6),_0x2e805b[_0x2e805b['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2cc097(0x10b),_0x2e805b[_0x2e805b['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x2cc097(0x28e),_0x2e805b[_0x2e805b['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x2cc097(0x244),_0x2e805b[_0x2e805b[_0x2cc097(0x348)]=0x1b5d]=_0x2cc097(0x348),_0x2e805b[_0x2e805b['CONNECTOR_DATA_TOO_LARGE']=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x2e805b[_0x2e805b[_0x2cc097(0x32b)]=0x2329]=_0x2cc097(0x32b),_0x2e805b[_0x2e805b[_0x2cc097(0xf9)]=0x232a]=_0x2cc097(0xf9),_0x2e805b[_0x2e805b[_0x2cc097(0x2b9)]=0x232b]=_0x2cc097(0x2b9),_0x2e805b[_0x2e805b[_0x2cc097(0x2d2)]=0x232c]=_0x2cc097(0x2d2),_0x2e805b[_0x2e805b['LICENSE_DISTRO_REJECTED']=0x232d]=_0x2cc097(0x34d),_0x2e805b[_0x2e805b['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x2cc097(0x264),_0x2e805b[_0x2e805b[_0x2cc097(0x34a)]=0x2712]=_0x2cc097(0x34a),_0x2e805b[_0x2e805b[_0x2cc097(0x174)]=0x2713]=_0x2cc097(0x174),_0x2e805b[_0x2e805b[_0x2cc097(0x193)]=0x2714]=_0x2cc097(0x193),_0x2e805b[_0x2e805b[_0x2cc097(0x201)]=0x271a]=_0x2cc097(0x201),_0x2e805b[_0x2e805b['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x2e805b[_0x2e805b[_0x2cc097(0x141)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x2e805b[_0x2e805b[_0x2cc097(0x109)]=0x2ee1]=_0x2cc097(0x109),_0x2e805b[_0x2e805b['INVALID_INVITE_CODE']=0x2ee2]=_0x2cc097(0x122),_0x2e805b[_0x2e805b[_0x2cc097(0x2f3)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x2e805b[_0x2e805b[_0x2cc097(0x18f)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x2e805b[_0x2e805b[_0x2cc097(0x189)]=0x2ee5]=_0x2cc097(0x189),_0x2e805b[_0x2e805b[_0x2cc097(0x186)]=0x32c9]=_0x2cc097(0x186),_0x2e805b[_0x2e805b['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x2cc097(0x115),_0x2e805b[_0x2e805b[_0x2cc097(0x27a)]=0x32cb]=_0x2cc097(0x27a),_0x2e805b[_0x2e805b['UNRECOGNIZED']=-0x1]=_0x2cc097(0xeb),_0x2e805b))(_0x1880f6||{}),_0x2a8de8=Object[_0x2cc097(0x32d)],_0x25434c=(_0x2744b2,_0x3c024a,_0x47092d,_0x76af10)=>{const _0x2388d6=_0x2cc097;for(var _0x355578=_0x76af10>0x1?void 0x0:_0x76af10?_0x2a8de8(_0x3c024a,_0x47092d):_0x3c024a,_0x345c84=_0x2744b2[_0x2388d6(0x1b9)]-0x1,_0x4e40df;_0x345c84>=0x0;_0x345c84--)(_0x4e40df=_0x2744b2[_0x345c84])&&(_0x355578=_0x4e40df(_0x355578)||_0x355578);return _0x355578;},_0x362731=(_0x38b4e6,_0x222c38)=>(_0x5e08b2,_0x55fd37)=>_0x222c38(_0x5e08b2,_0x55fd37,_0x38b4e6);_0x50c597[_0x2cc097(0x318)]=class extends _0x42b1ed[_0x2cc097(0x2fc)]{constructor(_0x740d91,_0x1a096a,_0x131a02){const _0x1e319a=_0x2cc097;super(),this[_0x1e319a(0x2f2)]=_0x740d91,this[_0x1e319a(0x24d)]=_0x1a096a,this['_configService']=_0x131a02;}async[_0x2cc097(0xe6)](_0x3fad50,_0x1a58c8,_0x1803c9,..._0x1b30b){const _0x48ca9a=_0x2cc097;var _0x88590f,_0x27a6f6,_0x4f4e7e,_0x3d0353;const _0x73273f=this['_instanceService']['getFocusedUnit']();if(!_0x73273f)throw new Error(_0x48ca9a(0x1bf));const _0x313f85=((_0x88590f=this[_0x48ca9a(0x336)]['getConfig'](_0x3b3d06[_0x48ca9a(0x2bb)]))!=null?_0x88590f:_0x3b3d06['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x3fad50+'/run/'+_0x1a58c8,_0x1dbbe1=new URL(window[_0x48ca9a(0x378)][_0x48ca9a(0x1ad)]),_0x50bfd4={'scriptId':_0x3fad50,'runId':(_0x27a6f6=_0x1dbbe1[_0x48ca9a(0x335)][_0x48ca9a(0x16e)](_0x48ca9a(0x2ee)))!=null?_0x27a6f6:'','function':_0x1a58c8,'unitId':_0x73273f['getUnitId'](),'argsOfFunction':JSON[_0x48ca9a(0x13f)](_0x1b30b),'invokeId':(_0x4f4e7e=_0x1803c9[_0x48ca9a(0x20d)])!=null?_0x4f4e7e:'','executionId':(_0x3d0353=_0x1803c9[_0x48ca9a(0x36f)])!=null?_0x3d0353:''};try{const _0x1dccd1=await this['_httpService'][_0x48ca9a(0x301)](_0x313f85,{'body':_0x50bfd4});return _0x1dccd1[_0x48ca9a(0x19b)][_0x48ca9a(0x18b)]&&_0x1dccd1[_0x48ca9a(0x19b)]['error']['code']!==_0x1880f6['OK']?_0x48ca9a(0x1b8):_0x1dccd1[_0x48ca9a(0x19b)][_0x48ca9a(0x16c)];}catch{return _0x48ca9a(0x1b8);}}},_0x50c597[_0x2cc097(0x318)]=_0x25434c([_0x362731(0x0,_0x42b1ed['IUniverInstanceService']),_0x362731(0x1,_0x42b1ed['Inject'](_0x4e187d[_0x2cc097(0x33a)])),_0x362731(0x2,_0x42b1ed['IConfigService'])],_0x50c597['RemoteUniscriptService']),_0x50c597[_0x2cc097(0x2e5)]=_0x3259fc,_0x50c597['IURLService']=_0x2dff4b,_0x50c597[_0x2cc097(0x125)]=_0x1dba4,_0x50c597[_0x2cc097(0x1cf)]=_0x21e850,_0x50c597[_0x2cc097(0x31d)]=_0xe507d4,Object[_0x2cc097(0x173)](_0x50c597,Symbol[_0x2cc097(0x2ac)],{'value':'Module'});}));function _0x3200(_0x44f8e9,_0x357606){const _0x499f8f=_0x499f();return _0x3200=function(_0x3200d3,_0x59c2fd){_0x3200d3=_0x3200d3-0xdb;let _0x31973f=_0x499f8f[_0x3200d3];return _0x31973f;},_0x3200(_0x44f8e9,_0x357606);}function _0x499f(){const _0x55d499=['EMAIL_HAS_BEEN_BOUND','_handleEvent','collabStatus.offline','set','_assignedColors','_transformService','whenReady','useDependency','USERS_LEAVE','transformMutationsWithChangeset','editingUnit','getTypeOfUnitAdded$','univer-online','_collabCursorState$','_updateSubUnitFromURLParams','startsWith','27490WMNMGJ','setConfig','DocCollaborationEntity','CollaborationUIEventId','APPLY_REVISION_CONFILICT','send','1em','_initEntityListener','name','currentSkeleton$','_docClipboardService','_textBubble','DesktopCollaborationStatusDisplayController','LOGIN_FAILED','handleInsertRangeMoveRight','labelPosition','filter','createInstance','_lastPointer','flatMap','univerjs-icon\x20univerjs-icon-','pipe','744NvHVtr','MemberService','dispose','actions','reconnect','_injector','createIdentifier','sessionStatus$','_hovered','removeParam','getTypeOfUnitDisposed$','#fff','toStringTag','UniverInstanceType','combineLatest','handleDeleteRangeMoveLeft','@univerjs/network','onStarting','CommandType','338zOmggR','deepClone','_backgroundColor','APPLY_REJECT','measureText','_cursorInfo$','LICENSE_IMPORT_SIZE_EXCEEDED','@univerjs/docs-ui','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','ONLINE','disableLocalCache','takeUntil','beginPath','children','getDocRanges','getItem','switchMap','_initCommandExecutedListener','_handleJoinEvent','_send','DeleteRangeMoveLeftCommandId','urlChange$','_docTransformSelectionsService','createElement','enableLocalCache','_eventUnsubscribe','IRenderManagerService','purple300','fromEventSubject','_doCreateSocket','SOCKET_FAILED_RETRY','LICENSE_EXPORT_SIZE_EXCEEDED','setUndoRedoMutationParamsCache','CollaborationController','IImageIoService','addObjects','Workbook','getParam','forwardRef','getSheetObject','_hover','collab-text-range-','InsertColCommandId','split','TRANSFORM_CHANGE_OBSERVABLE_TYPE','session.connection-failed','clsx','_context','_drawTextRange','ILocalStorageService','CollaborationStatusDisplay','SheetSkeletonManagerService','getRelativeToViewportCoord','_localStorageService','setInterval','_disabled','concat','Injector','ACTIVE_UNIT_EVENT_CHANNEL','runId','onTransformChange$','UniverDocs','session.will-retry','_instanceService','INVITE_CODE_REQUIRED','_status$','toRgbString','_logService','DataLoaderService','_unitStatus','_localeService','CollaborationEvent','_anchorDot','Disposable','_collabSessionService','popstate','top','getRenderById','post','font','jsx','OffLineSingle','BrowserCollaborationSocketService','_saveCache','unsubscribe','_scene','getUnitId','_docSyncEditingCollabCursorService','setParam','permission.title','eventID','COMPLETION_FINISHED','transform','IUIPartsService','DeleteRangeMoveUpCommandId','collabCursorState$','_startSheetCollabCursor','onPointerEnter$','setAlpha','map','focused$','RemoteUniscriptService','@univerjs-pro/collaboration','saveImage','debounce','_startDocCollabCursor','WebURLService','Rect','getUniverSheetInstance','values','_selfUnitIDs','unit','_name','history','NOT_FOUND','_messageService','_refreshCollabCursors','symbol','rxjs/operators','text','LICENSE_MAX_UNITS_EXCEEDED','univer-online-status','getOwnPropertyDescriptor','LocaleService','asObservable','TEXT','collaboration.closeRoom','ISocketService','none','UniverDrawing','searchParams','_configService','OFFLINE','getSkeleton','session.collaboration-timeout','HTTPService','collabStatus.synced','_updateCollabCursors','DocSkeletonManagerService','transformSelections','VIEW_MAIN','ILogService','AWAITING','1647570HykuOl','NO_OTHER_CLIENTS_EDITING','@univerjs/core','getSheetBySheetId','Rectangle','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','APPLY_DUPLICATED','registerRefRange','YUUMI_URL_COL_OUT_OF_RANGE','2646608QpUFWj','univer-online-status-title','LICENSE_DISTRO_REJECTED','hovered','_docSkeleton','resize','getCellPositionByOffset','bottom','handleDeleteRangeMoveUp','apply','m2Prime','getRangePointData','_docTransformStateCacheService','UniverProCollaborationClientUi','collaboration-client-ui.config','_handleLeaveEvent','_registerDependencies','verdancy600','_saveTaskMap','2435642QAwNhb','setActiveRange','collabStatus.conflict','entries','handleMoveRange','endColumn','disposeWithMe','unitId','collab-rect-range-','RemoveColCommandId','unload','getCurrentSelections','INVALID_ARGUMENT','UnitStatus','touchDependencies','cursorInfo','push','executionId','IUniverInstanceService','BehaviorSubject','memberID','fillText','black','getCurrent','#FFF','SetWorksheetActivateCommand','location','next','contains','useObservable','Inject','_anchor','_unitOnClients','_transformPreviousActiveRange','isTransformMutationsWithChangesetSuccess','IConfigService','FromArray','_toggleOffline','then','_colorAssignService','operators','m1Prime','runOnServer','CLOSE_ROOM','_hideTimer','@univerjs/design','_online','UNRECOGNIZED','react/jsx-runtime','unitID','setShapeProps','moveTo','UniverUi','_cursorShapes','getActiveSheet','@univerjs/docs','_getScale','closePath','attrs','_initDependencies','SYNCED','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_localCacheService','UNAUTHENTICATED','getMemberID','ALREADY_EXISTS','blue400','NodePositionConvertToCursor','addEventListener','0\x200\x2016\x2016','_refRangeService','drawWith','row','[CollaborationDataLoaderController]','CHANGESET_REVISION_CONFILICT','getCurrentUnitForType','getStateCache','INVITE_CODE_HAS_BEEN_UES','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','APPLY_NON_SEQUENTIAL_REVISION','wsSessionTicketUrl','_renderManagerService','assign','CollaborationSessionService','Error','ColorKit','_getSessionTicket','onlineStatusTitle','_initResize','MOBILE_HAS_BEEN_BOUND','tag','getSheetId','SUBMIT_CHANGESET_TIMEOUT','delete','_handleHover','engine','displayName','CollaborationUIEventService','unshift','_range','COLORS','_onCursorUpdate','INVALID_INVITE_CODE','getViewport','application/json','SheetCollabCursorShape','ranges','search','clearTimeout','_roomMembers$','UPDATE_CURSOR','sessionTicket','selection','getMember','parse','_commandService','_transformHistoryAndStateStack','generateRandomId','defs','UniverCollaborationClientUIPlugin','_beforeCloseService','merge','_transformUndoRedoStack','React','NOT_COLLAB','OTHER_CLIENT_EDITING','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','setItem','_initEvent','textRanges','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','stringify','UniverRpc','PY_RUNTIME_SCRIPT_ERROR','call','react','collab-text-anchor-','_updateLocalCursor','useRef','url(#$1','xlink:href','redoState','ICommandService','pushState','Warning','DOC_RANGE_TYPE','EffectRefRangId','updateOfflineData','SessionStatus','@univerjs/sheets-ui','getCurrentRevOfUnit','toDisposable','_draw','translate(.97)','height','CollaborationStatus','min','column','onLocalMutation','M0\x200H16V16H0z','IMessageService','url(#off-line-single_clip0_910_343)','_clearOtherTimers','off-line-single_clip0_910_343','Optional','UNDEFINED','_updateURLWithCurrentState','isActive','_color','function','DocIMEInputManagerService','fill','transformRemoteChangeset','find','activeSheet$','currentColor','result','startRow','get','IDocClipboardService','fillRule','mapTo','div','defineProperty','YUUMI_RATE_OVER_LIMIT','indexOf','SHEET_VIEWPORT_KEY','_id','OnLineSingle','UniverProCollaboration','PENDING','registerComponent','selections','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','amd','getMergeData','PERMISSION_DENIED','ITransformService','JOIN_ROOM_FAILED','max','getUnitStatus$','syncEditingCollabCursor','WECHAT_HAS_BEEN_BOUND','createSocket','getOwnPropertySymbols','INVITE_CODE_ALREADY_BOUND','_scheduleHeartbeat','error','deserializeRangeWithSheet','Subject','forEach','USER_NOT_INVITED_CODE','subunit','_docStateChangeManagerService','_docSkeletonManagerService','YUUMI_SUBSCRIPTION_NOT_FOUND','Vector2','add','isTransformMutationFailure','RemoveRowCommandId','addClipboardHook','findNodePositionByCharIndex','getActiveRange','body','_removeClearOtherTimer','UniverNetwork','_urlService','saveTaskMap','...','_colorIndex','_getAnchorBounding','isArray','with','colorChannel1','onMouseMove','TEXT_RANGE_LAYER_INDEX','UNIVER_DOC','roomMembers','TOO_MANY_REQUESTS','doc.mutation.rich-text-editing','subUnitId','href','_cursor','replaceState','@univerjs/drawing','UniverEngineFormula','getLocalCacheKey','@univerjs/ui','Tools','registerRenderModule','range','RevisionService','Failed','length','UniverIcon','clipPath','subscribe','on-line-single_clip0_910_349','_entities','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getUndoRedoMutationParamsCache','data','_cachedData','transformIMECache','arc','collab-client.tooltip.reconnect','_entityInit$','override','SNAPSHOT_HAS_BEEN_REMOVED','use','0\x200\x2017\x2016','1569996Vrqftd','_scheduleSaving','Unknown\x20user','_imageIoService','WebBrowserSingleActiveUnitService','RefRangeService','runRefRangeMutations','_document','entityInit$','SetSelectionsOperation','_docTransformIMECacheService','onRendered','roomMembers$','prototype','SetDocZoomRatioOperation','onlineStatus','getCollabCursors$','dispose$','icon','key','disposeUnit','event$','getOffsetConfig','pluginName','clearInterval','LOCAL_CACHE_INTERVAL_KEY','_drawRectRange','svg','Plugin','_shapes','exports','rxjs','_heartbeatTimer','_memberService','saveOfflineData','hide','_notificationService','SetTextSelectionsOperation','DisposableCollection','color','on-line-single','_getMergeRange','IRemoteInstanceService','_render','_sheetSkeletonManagerService','getConfig','ENSURE_SNAPSHOT_EXECUTION','_session','init','isEditing','className','collabStatus.notCollab','width','MoveRangeCommandId','YUUMI_NO_CUBOID_FOR_QUESTION','UniverDesign','offline','defIds','_cursors','debug','_setupSubUnitSync','RxDisposable','exhaustSavingTask','replaceDocRanges','origin','newValue','invokeId','DEFAULT_WS_SESSION_TICKET_URL','@univerjs/sheets','path','UNIVER_SHEET','assignAColorForMemberID','size','show','toString','univer-online-status-icon','MessageType','26369xubBUP','@univerjs/engine-render','@univerjs-pro/collaboration-client','_getSaveTimeout','DocStateChangeManagerService','mutations','INTERNAL_ERROR','CONFLICT','requireSession','complete','makeDirty','_labelPosition','LOCAL_CACHE_INTERVAL','getAncestorScale','10hKfjnR','handleIRemoveCol','all','30hQQVLJ','FETCH_MISS','extend','has','cursorInfo$','_removeCollabCursors','_collaborationController','online','_scheduleClearOtherTimer','_onRefRangeChange','current','_ensureSubject','UniverCore','ticket','string','some','transformMutation','UniverCollaborationClientPlugin','uni.network.url-service','_revisionService','debounceTime','replace','UniverProCollaborationClient','transformByState','_themeService','loadOfflineData','serializeRangeWithSheet','APPLY_PERMISSION_DENIED','red300','getValue','SOCKET_FAILED','handleIRemoveRow','getColor','_toggleOnline','useCallback','_onCursorDelete','_httpService','_syncEditingCollabCursorService','getFocusedUnit','_collaborationUIEventService','imageSourceType','rgba(255,\x20255,\x20255,\x200.01)','_collabCursorController','handleInsertRangeMoveDown','executeCommand','idSuffix','from','RECT','DocSelectionManagerService','params','ILocalCacheService','storage','_config','shareReplay','UniverEngineRender','10629AJWkhH','_drawAnchor','_dataLoaderService','type','YUUMI_UNABLE_LOAD_URL','hasOwnProperty','_univerInstanceService','_setupBeforeClosingHandler','getUnhiddenWorksheets','round','lineTo','propertyIsEnumerable','SNAPSHOT_INVALID_SNAPSHOT','RegularPolygon','onCommandExecuted','SheetsSelectionsService','_init','addObject','IBeforeCloseService','CollaborationDataLoaderController','_createSocketURL','InsertRangeMoveRightCommandId','registerBeforeClose','OTHER_CLIENTS_EDITING','mask','collabStatus.syncing'];_0x499f=function(){return _0x55d499;};return _0x499f();}