@univerjs-pro/collaboration-client-ui 0.8.0 → 0.8.1-nightly.202506121607

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 _0x1517(){const _0x26cc9d=['mergeOverrideWithDependencies','startColumn','getValue','_univerInstanceService','getRelativeToViewportCoord','UniverEngineRender','DocCollaborationEntity','unsubscribe','UniverSheetsUi','ENSURE_SNAPSHOT_EXECUTION','_cursorInfo$','LICENSE_MAX_UNITS_EXCEEDED','_saveTaskMap','collaboration-client-ui.config','onCommandExecuted','1024621JhEGLe','_registerRenderDependencies','jsx','@univerjs/rpc','_entities','@univerjs/drawing','pipe','assignAColorForMemberID','RefRangeService','_scene','UniverDocs','RichTextEditingMutation','_cursorShapes','subunit','_getScale','UNIVER_DOC','CollaborationUIEventService','getUnhiddenWorksheets','TEXT_RANGE_LAYER_INDEX','then','cursorInfo$','body','Optional','CollaborationController','PY_RUNTIME_SCRIPT_ERROR','COLORS','_imageIoService','enableLocalCache','switchMap','transformSelections','getRangePointData','handleIRemoveCol','collab-rect-range-','activeSheet$','INVITE_CODE_HAS_BEEN_UES','handleDeleteRangeMoveUp','_commandService','getCoordByCell','onPointerLeave$','entityInit$','ThemeService','blue.400','USERS_LEAVE','_id','runOnServer','RevisionService','collabStatus.synced','_selfUnitIDs','removeParam','toDisposable','EffectRefRangId','isTransformMutationFailure','UniverProCollaboration','_updateURLWithCurrentState','history','indexOf','column','takeUntil','_uiPartsService','_localeService','DocIMEInputManagerService','transformMutationsWithChangeset','_onCursorUpdate','UniverDocsUi','PENDING','UniverEngineFormula','Error','OFFLINE','height','handleInsertRow','UniverProCollaborationClient','text','session.connection-failed','_beforeCloseService','MessageType','Rectangle','_backgroundColor','send','memberID','event$','_doCreateSocket','collab-text-range-','actions','getOwnPropertySymbols','DisposableCollection','yellow.400','_configService','_saveCache','_assignedColors','LOGIN_FAILED','DocSelectionManagerService','roomMembers','ACTIVE_UNIT_EVENT_CHANNEL','collabStatus.notCollab','SheetsSelectionsService','UniverDesign','isTransformMutationsWithChangesetSuccess','urlChange$','session.will-retry','_toggleOnline','APPLY_REJECT','_colorIndex','none','_docSyncEditingCollabCursorService','_status$','redoState','IURLService','_collaborationUIEventService','HTTPService','SetWorksheetActivateCommand','red.300','status$','useDependency','_disabled','icon','ILogService','concat','saveTaskMap','RxDisposable','UniverRpc','storage','parse','DataLoaderService','getActiveSheet','EMAIL_HAS_BEEN_BOUND','forEach','1839lQyXDc','_handleEvent','ITransformService','_dataLoaderService','split','push','@univerjs/engine-formula','WebSocketService','clipPath','override','trim','BuiltInUIPart','prototype','transformStateCache','selections','DeleteRangeMoveUpCommandId','univer-flex\x20univer-items-center','SHEET_VIEWPORT_KEY','tag','SheetSkeletonManagerService','debug','saveImage','disposeWithMe','ONLINE','off-line-icon_clip0_910_343','21ikaIWs','Workbook','UnitStatus','textRanges','from','DEFAULT_WS_SESSION_TICKET_URL','syncEditingCollabCursor','registerDependencies','INVITE_CODE_REQUIRED','loadOfflineData','Tooltip','_refreshCollabCursors','use','entries','defs','YUUMI_RATE_OVER_LIMIT','evenodd','collabCursorState$','init','_updateCollabCursors','_sheetSkeletonManagerService','Plugin','fillRule','unshift','Rect','_collabCursorController','_httpService','on-line-icon_clip0_910_349','moveTo','collabStatus.offline','restore','forwardRef','CollaborationStatus','UniverCollaborationClientPlugin','NOT_COLLAB','getOwnPropertyDescriptor','_syncEditingCollabCursorService','executeCommand','_unitOnClients','mask','UniverSheets','getFocusedUnit','_injector','setShapeProps','dispose','_cursors','_eventUnsubscribe','has','getOffsetConfig','_onRefRangeChange','_init','color','Disposable','permission.title','react','_hover','pluginName','TEXT','UniverProCollaborationClientUi','debounceTime','0\x200\x2016\x2016','Injector','_revisionService','ICommandService','collab-text-anchor-','url(#on-line-icon_clip0_910_349)','_drawTextRange','UniverUi','symbol','UniverIcon','IUniverInstanceService','params','_collaborationController','getAncestorScale','1625910kGpTCi','Unknown\x20user','IImageIoService','YUUMI_UNABLE_LOAD_URL','pushState','createIdentifier','getViewport','xlink:href','subscribe','_setupSubUnitSync','function','APPLY_REVISION_CONFILICT','getItem','getStateCache','focused$','on-line-icon','_themeService','useCallback','WebURLService','lineTo','resize','defIds','max','undoState','_createSocketURL','RegularPolygon','addObjects','SheetCollabCursorShape','getMember','ISocketService','collabStatus.conflict','@univerjs/docs-ui','_range','PERMISSION_DENIED','location','UniverNetwork','handleInsertRangeMoveDown','@univerjs-pro/collaboration','next','BrowserCollaborationSocketService','_colorAssignService','_hideTimer','range','@univerjs/design','search','font','YUUMI_NO_CUBOID_FOR_QUESTION','cursorInfo','isEditing','fill','name','LICENSE_DISTRO_REJECTED','getCurrentSelections','rxjs','_cursor','Subject','map','requireSession','_scheduleSaving','LICENSE_EXPORT_SIZE_EXCEEDED','url(#$1','#FFF','hasOwnProperty','_textBubble','CollaborationSessionService','getCellPositionByOffset','_refRangeService','serializeRangeWithSheet','IRemoteInstanceService','sheetId','_handleJoinEvent','setTimeout','endRow','clearInterval','AWAITING','skeleton','length','contains','isActive','runRefRangeMutations','_collabSessionService','CommandType','_context','operators','APPLY_PERMISSION_DENIED','_initEntityListener','SOCKET_FAILED_RETRY','error','Warning','_initStatusListener','getActiveRange','USER_NOT_INVITED_CODE','_docTransformIMECacheService','combineLatest','set','INVITE_CODE_ALREADY_BOUND','delete','1em','translate(.97)','@univerjs/network','arc','_logService','onPointerEnter$','sessionStatus$','data','_updateSubUnitFromURLParams','attrs','1581984VSImAL','useObservable','CollaborationStatusDisplay','string','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','addObject','eventID','_notificationService','react/jsx-runtime','session.collaboration-timeout','_onCursorDelete','_drawAnchor','NO_OTHER_CLIENTS_EDITING','_labelPosition','onMouseMove','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','getCurrentUnitForType','setParam','APPLY_NON_SEQUENTIAL_REVISION','http://www.w3.org/2000/svg','onTransformChange$','extend','APPLY_DUPLICATED','idSuffix','random','YUUMI_TABLE_NOT_FOUND_IN_UNIT','onRendered','currentSkeleton$','addHandlerCallback','INotificationService','@univerjs/sheets','width','_color','@univerjs-pro/collaboration-client','Tools','popstate','displayName','SetDocZoomRatioOperation','IDocClipboardService','registerRenderModule','SetSelectionsOperation','UNAUTHENTICATED','mapTo','apply','_getMergeRange','findNodePositionByCharIndex','_toggleOffline','show','black','selection','closePath','MUTATION','_urlService','M0\x200H16V16H0z','140dBQGWQ','top','CollaborationEvent','size','toRgbString','fillText','getVpScrollXYInfoByPosToVp','DeleteRangeMoveLeftCommandId','_localCacheService','post','YUUMI_ASYNCIO_CANCELLED','transformIMECache','_getSessionTicket','INVALID_INVITE_CODE','Inject','YUUMI_ALL_TABLES_IS_INVALID','_initEvent','BehaviorSubject','_shapes','RemoteUniscriptService','_anchorDot','ILocalStorageService','getSkeleton','_docStateChangeManagerService','uni.network.url-service','currentColor','connectInjector','url(#off-line-icon_clip0_910_343)','toString','getColorFromTheme','getSheetId','_roomMembers$','startsWith','_docTransformStateCacheService','Failed','InsertRowCommandId','off-line-icon','_drawRectRange','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','m1Prime','unitId','handleDeleteRangeMoveLeft','href','YUUMI_SUBSCRIPTION_NOT_FOUND','_heartbeatTimer','_transformService','_name','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','className','_renderManagerService','NOT_FOUND','INVALID_ARGUMENT','_session','OTHER_CLIENT_EDITING','_unitStatus','_removeClearOtherTimer','clearTimeout','jiqing.500','getConfig','_hovered','getDocRanges','Vector2','_setupBeforeClosingHandler','_scheduleClearOtherTimer','toStringTag','0\x200\x2017\x2016','assign','@univerjs/docs','SNAPSHOT_INVALID_SNAPSHOT','1385271XeDPBh','exhaustSavingTask','unit','_scheduleHeartbeat','searchParams','mutations','generateRandomId','exports','SNAPSHOT_HAS_BEEN_REMOVED','filter','UniverCollaborationClientUIPlugin','replace','_getSheetObject','TRANSFORM_CHANGE_OBSERVABLE_TYPE','fromEventSubject','UNIVER_SHEET','_startSheetCollabCursor','some','application/json','setActiveRange','handleInsertCol','_send','_anchor','getUnitId','_instanceService','OTHER_CLIENTS_EDITING','distinctUntilChanged','DesktopCollaborationStatusDisplayController','_messageService','UniverCore','fromEvent','IUIPartsService','Shape','save','backgroundColor','WebBrowserSingleActiveUnitService','invokeId','[RemoteUniscriptService]:\x20no\x20focused\x20unit','getMemberID','INTERNAL_ERROR','touchDependencies','@univerjs/core','subUnitId','_updateLocalCursor','svg','_document','getParam','UPDATE_CURSOR','YUUMI_AI_RUN_FAILED','hovered','reconnect','UniverInstanceType','m2Prime','SessionStatus','DocStateChangeManagerService','children','bottom','getUndoRedoMutationParamsCache','HEADER_MENU','rxjs/operators','IConfigService','ranges','measureText','ticket','_online','substring','CONFLICT','_docClipboardService','collabStatus.syncing','23515820bmztJC','updateOfflineData','unload','setUndoRedoMutationParamsCache','_docSkeletonManagerService','getColor','get','InsertRangeMoveDownCommandId','transform','ISnapshotServerService','whenReady','replaceState','path','propertyIsEnumerable','_config','_getAnchorBounding','...','onLocalMutation','_handleHeartbeatEvent','transformMutation','_collabCursorState$','type','runId','CONNECTOR_DATA_TOO_LARGE','add','getCollabCursors$','_docSkeleton','_memberService','setConfig','_transformHistoryAndStateStack','_handleHover','WECHAT_HAS_BEEN_BOUND','fillStyle','clsx','div','_lastPointer','transformRemoteChangeset','116124ACmZml','ColorKit','ILocalCacheService','getTypeOfUnitDisposed$','object','shareReplay','getRenderById','createElement','includes','DocSkeletonManagerService','RemoveColCommandId','_cachedData','drawWith','doc.mutation.rich-text-editing','isArray','_initCommandExecutedListener','CollaborationDataLoaderController','deepClone','COMPLETION_FINISHED','registerRefRange','row','debounce','CLOSE_ROOM','getUniverSheetInstance','call','disposeUnit','6876RyZEmU','amd','MemberService','beginPath','@univerjs/engine-render','with','_entityInit$','_initDependencies','YUUMI_URL_COL_OUT_OF_RANGE','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','RECT','_getSaveTimeout','getLocalCacheKey','_draw','InsertRangeMoveRightCommandId','getSheetBySheetId','newValue','LICENSE_IMPORT_SIZE_EXCEEDED','IMessageService','React','getTypeOfUnitAdded$','DOC_RANGE_TYPE','[CollaborationDataLoaderController]','subscribeEvent','values','getSheetObject','asObservable','getUnitStatus$','ALREADY_EXISTS','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','collaboration-client.offline-data-not-saved','AWAITING_WITH_PENDING','code','permission.content','unitID','round','OffLineIcon','_docTransformSelectionsService','CollaborationUIEventId','LOCAL_CACHE_INTERVAL','dispose$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','replaceDocRanges','MOBILE_HAS_BEEN_BOUND','merge','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','result','white','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','setAlpha','CHANGESET_REVISION_CONFILICT','_ensureSubject','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','SetTextSelectionsOperation','min','startRow','_initResize','createSocket','FromArray','TOO_MANY_REQUESTS','rgba(255,\x20255,\x20255,\x200.01)','labelPosition','complete','_clearOtherTimers','defineProperty','_removeCollabCursors','loadUnit','LocaleService'];_0x1517=function(){return _0x26cc9d;};return _0x1517();}function _0x2b52(_0x1d72eb,_0x2fab8d){const _0x1517ce=_0x1517();return _0x2b52=function(_0x2b5264,_0x2b2973){_0x2b5264=_0x2b5264-0xf9;let _0x39ce2a=_0x1517ce[_0x2b5264];return _0x39ce2a;},_0x2b52(_0x1d72eb,_0x2fab8d);}(function(_0x4c5937,_0x472904){const _0x1a2bcb=_0x2b52,_0x4cf56e=_0x4c5937();while(!![]){try{const _0x5d741a=parseInt(_0x1a2bcb(0x33c))/0x1+-parseInt(_0x1a2bcb(0x17f))/0x2+-parseInt(_0x1a2bcb(0x11c))/0x3*(parseInt(_0x1a2bcb(0x2e9))/0x4)+-parseInt(_0x1a2bcb(0x220))/0x5*(parseInt(_0x1a2bcb(0x2cf))/0x6)+parseInt(_0x1a2bcb(0x135))/0x7*(-parseInt(_0x1a2bcb(0x1ea))/0x8)+parseInt(_0x1a2bcb(0x265))/0x9+parseInt(_0x1a2bcb(0x2aa))/0xa;if(_0x5d741a===_0x472904)break;else _0x4cf56e['push'](_0x4cf56e['shift']());}catch(_0x15cab8){_0x4cf56e['push'](_0x4cf56e['shift']());}}}(_0x1517,0x80f88),function(_0x1d956c,_0x2158de){const _0x2f33be=_0x2b52;typeof exports==_0x2f33be(0x2d3)&&typeof module<'u'?_0x2158de(exports,require(_0x2f33be(0x20b)),require('@univerjs/core'),require(_0x2f33be(0x2ed)),require(_0x2f33be(0x1e2)),require(_0x2f33be(0x19e)),require(_0x2f33be(0x341)),require('rxjs'),require('@univerjs/docs'),require(_0x2f33be(0x1a4)),require(_0x2f33be(0x122)),require(_0x2f33be(0x208)),require(_0x2f33be(0x2a0)),require('@univerjs/sheets-ui'),require(_0x2f33be(0x1f2)),require('@univerjs/ui'),require(_0x2f33be(0x1aa)),require('react'),require('@univerjs/rpc')):typeof define==_0x2f33be(0x189)&&define[_0x2f33be(0x2ea)]?define([_0x2f33be(0x26c),_0x2f33be(0x20b),_0x2f33be(0x28e),_0x2f33be(0x2ed),_0x2f33be(0x1e2),_0x2f33be(0x19e),'@univerjs/drawing','rxjs',_0x2f33be(0x263),'@univerjs-pro/collaboration',_0x2f33be(0x122),_0x2f33be(0x208),_0x2f33be(0x2a0),'@univerjs/sheets-ui',_0x2f33be(0x1f2),'@univerjs/ui',_0x2f33be(0x1aa),_0x2f33be(0x16b),_0x2f33be(0x33f)],_0x2158de):(_0x1d956c=typeof globalThis<'u'?globalThis:_0x1d956c||self,_0x2158de(_0x1d956c[_0x2f33be(0x16f)]={},_0x1d956c[_0x2f33be(0x382)],_0x1d956c[_0x2f33be(0x282)],_0x1d956c[_0x2f33be(0x332)],_0x1d956c[_0x2f33be(0x1a2)],_0x1d956c[_0x2f33be(0x37b)],_0x1d956c['UniverDrawing'],_0x1d956c[_0x2f33be(0x1b4)],_0x1d956c[_0x2f33be(0x346)],_0x1d956c[_0x2f33be(0x370)],_0x1d956c[_0x2f33be(0x37d)],_0x1d956c[_0x2f33be(0x15d)],_0x1d956c[_0x2f33be(0x1b4)][_0x2f33be(0x1d2)],_0x1d956c[_0x2f33be(0x335)],_0x1d956c[_0x2f33be(0x2fc)],_0x1d956c[_0x2f33be(0x178)],_0x1d956c[_0x2f33be(0xfd)],_0x1d956c[_0x2f33be(0x2fc)],_0x1d956c[_0x2f33be(0x115)]));}(this,function(_0x2a7733,_0x353bdb,_0x4f4b1a,_0x4be59a,_0x504bfb,_0x2a96f2,_0x3df68c,_0x4c8fcf,_0x49ed44,_0x4afe31,_0x2f57c5,_0x54d6f1,_0x1feca5,_0xad51e4,_0x5d3531,_0x124131,_0x532a93,_0x471115,_0x14ce2b){'use strict';const _0x6b9591=_0x2b52;var _0x356591=Object['defineProperty'],_0x291006=(_0x42a6a4,_0x111377,_0x1f8c7e)=>_0x111377 in _0x42a6a4?_0x356591(_0x42a6a4,_0x111377,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f8c7e}):_0x42a6a4[_0x111377]=_0x1f8c7e,_0x54ef86=(_0x4939b8,_0x12d063,_0x13e644)=>_0x291006(_0x4939b8,typeof _0x12d063!=_0x6b9591(0x179)?_0x12d063+'':_0x12d063,_0x13e644),_0x41dac4=Object[_0x6b9591(0x158)],_0xf00f2=(_0x569afb,_0x4daab1,_0x207f80,_0x2f1c54)=>{const _0x33443f=_0x6b9591;for(var _0x3367b9=_0x2f1c54>0x1?void 0x0:_0x2f1c54?_0x41dac4(_0x4daab1,_0x207f80):_0x4daab1,_0x4ad745=_0x569afb[_0x33443f(0x1cb)]-0x1,_0x3ea471;_0x4ad745>=0x0;_0x4ad745--)(_0x3ea471=_0x569afb[_0x4ad745])&&(_0x3367b9=_0x3ea471(_0x3367b9)||_0x3367b9);return _0x3367b9;},_0x55cf5e=(_0x2e7956,_0x109438)=>(_0x1b88b8,_0x13146d)=>_0x109438(_0x1b88b8,_0x13146d,_0x2e7956);let _0x2c4cde=class extends _0x4f4b1a[_0x6b9591(0x114)]{constructor(_0x3044b5,_0x2d305d){const _0x54ccee=_0x6b9591;super(),this[_0x54ccee(0x2a8)]=_0x3044b5,this[_0x54ccee(0x356)]=_0x2d305d,this['_init']();}[_0x6b9591(0x167)](){const _0x5bb9cd=_0x6b9591,_0x682d45=this;this[_0x5bb9cd(0x132)](this[_0x5bb9cd(0x2a8)]['addClipboardHook']({'onBeforePasteImage':async _0x124969=>{const _0x3eeaff=_0x5bb9cd,_0x5a2074=await _0x682d45[_0x3eeaff(0x356)][_0x3eeaff(0x131)](_0x124969);return _0x5a2074?{'source':_0x5a2074['source'],'imageSourceType':_0x5a2074['imageSourceType']}:null;}}));}};_0x2c4cde=_0xf00f2([_0x55cf5e(0x0,_0x2a96f2[_0x6b9591(0x210)]),_0x55cf5e(0x1,_0x3df68c[_0x6b9591(0x181)])],_0x2c4cde);const _0x42d944=['purple.300',_0x6b9591(0x259),'green.600',_0x6b9591(0x10c),_0x6b9591(0x365),_0x6b9591(0x391)];class _0x3e1aeb extends _0x4f4b1a[_0x6b9591(0x169)]{constructor(){const _0x433d73=_0x6b9591;super(...arguments),_0x54ef86(this,_0x433d73(0x394),new Map()),_0x54ef86(this,_0x433d73(0x103),0x0);}[_0x6b9591(0x343)](_0x942b0b){const _0x32d618=_0x6b9591;if(this['_assignedColors']['has'](_0x942b0b))return this['_assignedColors'][_0x32d618(0x2b0)](_0x942b0b);const _0x18ecea=_0x42d944[this[_0x32d618(0x103)]];return this[_0x32d618(0x103)]=(this[_0x32d618(0x103)]+0x1)%_0x42d944[_0x32d618(0x1cb)],this[_0x32d618(0x394)][_0x32d618(0x1dd)](_0x942b0b,_0x18ecea),_0x18ecea;}}function _0x4e4824(_0x1258e8){const _0x1a2c56=_0x6b9591;let _0x32762f='';for(const _0x351423 of _0x1258e8){const {startOffset:_0x51b00b,endOffset:_0x5ad156,isActive:_0x252bce,rangeType:_0x39024b,segmentId:_0x51b018,segmentPage:_0xf44b37}=_0x351423;_0x32762f[_0x1a2c56(0x1cb)]&&(_0x32762f+=','),_0x32762f+=_0x51b00b+':'+_0x5ad156+':'+(_0x252bce?'1':'0')+':'+_0x39024b+':'+_0x51b018+':'+_0xf44b37;}return _0x32762f;}function _0x6ee52d(_0x3776b8){const _0x212201=_0x6b9591,_0x54e9dc=_0x3776b8[_0x212201(0x120)](','),_0x259d63=[];for(const _0x222bdb of _0x54e9dc){const [_0x2892b2,_0x1e5166,_0x16641d,_0x25d60d,_0x8251f4,_0x309175]=_0x222bdb[_0x212201(0x120)](':');_0x259d63[_0x212201(0x121)]({'startOffset':Number(_0x2892b2),'endOffset':Number(_0x1e5166),'collapsed':_0x2892b2===_0x1e5166,'isActive':_0x16641d==='1','rangeType':_0x25d60d===_0x4f4b1a[_0x212201(0x2fe)][_0x212201(0x16e)]?_0x4f4b1a[_0x212201(0x2fe)][_0x212201(0x16e)]:_0x4f4b1a[_0x212201(0x2fe)][_0x212201(0x2f3)],'segmentId':typeof _0x8251f4=='string'?String(_0x8251f4):'','segmentPage':Number(_0x309175!=null?_0x309175:-0x1)});}return _0x259d63[_0x212201(0x276)](_0x1788e2=>_0x1788e2[_0x212201(0x1cd)])||(_0x259d63[0x0][_0x212201(0x1cd)]=!0x0),_0x259d63;}class _0x35f7e0 extends _0x4f4b1a[_0x6b9591(0x114)]{constructor(){const _0x44cc0c=_0x6b9591;super(...arguments),_0x54ef86(this,'_collabCursorState$',new _0x4c8fcf['BehaviorSubject'](null)),_0x54ef86(this,_0x44cc0c(0x146),this['_collabCursorState$'][_0x44cc0c(0x303)]());}[_0x6b9591(0x13b)](_0x2e8b5a){const _0x259447=_0x6b9591,{unitID:_0x3704c0,memberID:_0x2a1223,textRanges:_0x32bb46}=_0x2e8b5a,_0xbf0dca=_0x4e4824(_0x32bb46);if(_0xbf0dca==='')return;const _0x386cb7={'unitID':_0x3704c0,'memberID':_0x2a1223,'selection':_0xbf0dca};this[_0x259447(0x2be)]['next'](_0x386cb7);}}var _0x344a64=Object[_0x6b9591(0x158)],_0x3d0c35=(_0x453828,_0x192575,_0xdf6d5a,_0x13fbdb)=>{const _0x1ba267=_0x6b9591;for(var _0x4df5ce=_0x13fbdb>0x1?void 0x0:_0x13fbdb?_0x344a64(_0x192575,_0xdf6d5a):_0x192575,_0x2e20c9=_0x453828[_0x1ba267(0x1cb)]-0x1,_0x916c16;_0x2e20c9>=0x0;_0x2e20c9--)(_0x916c16=_0x453828[_0x2e20c9])&&(_0x4df5ce=_0x916c16(_0x4df5ce)||_0x4df5ce);return _0x4df5ce;},_0x31bc66=(_0x2aef6d,_0xc1b0a2)=>(_0x3ba72a,_0x504824)=>_0xc1b0a2(_0x3ba72a,_0x504824,_0x2aef6d);const _0x122e2f=0x12c,_0x46b299=0x64;let _0x3ed204=class extends _0x4f4b1a[_0x6b9591(0x114)]{constructor(_0x158d89,_0x17c40a,_0x13f8c9,_0x195746,_0x28e90f,_0x234d87,_0xa06e21,_0x2f29cc,_0x2261f6){const _0xf4cddb=_0x6b9591;super(),_0x54ef86(this,_0xf4cddb(0x2a5),!0x1),_0x54ef86(this,'_init',!0x1),_0x54ef86(this,'_cursorInfo$',new _0x4c8fcf[(_0xf4cddb(0x231))](new Map())),_0x54ef86(this,_0xf4cddb(0x350),this[_0xf4cddb(0x337)][_0xf4cddb(0x303)]()),_0x54ef86(this,_0xf4cddb(0x23f),new _0x4c8fcf[(_0xf4cddb(0x231))]([])),_0x54ef86(this,'roomMembers$',this[_0xf4cddb(0x23f)][_0xf4cddb(0x342)](_0x4c8fcf[_0xf4cddb(0x170)](_0x122e2f))),_0x54ef86(this,_0xf4cddb(0x290),_0x4f4b1a[_0xf4cddb(0x2e4)](_0x566ec7=>{const _0x1d4ffd=_0xf4cddb,_0x3f1b37={'eventID':_0x4afe31['CollaborationEvent'][_0x1d4ffd(0x294)],'data':{'unitID':this[_0x1d4ffd(0x30b)],'memberID':this['_session'][_0x1d4ffd(0x28b)](),'selection':_0x4e4824(_0x566ec7)}};this['_session'][_0x1d4ffd(0x389)](_0x3f1b37,this[_0x1d4ffd(0x30b)]);},_0x46b299)),(this['unitID']=_0x158d89,this[_0xf4cddb(0x254)]=_0x17c40a,this['_injector']=_0x13f8c9,this['_colorAssignService']=_0x195746,this[_0xf4cddb(0x2c5)]=_0x28e90f,this['_syncEditingCollabCursorService']=_0x234d87,this[_0xf4cddb(0x24d)]=_0xa06e21,this[_0xf4cddb(0x330)]=_0x2f29cc,this[_0xf4cddb(0x360)]=_0x2261f6);}get[_0x6b9591(0x1ae)](){const _0x22f07b=_0x6b9591;return this[_0x22f07b(0x337)][_0x22f07b(0x32f)]();}get[_0x6b9591(0xf9)](){const _0x133520=_0x6b9591;return this[_0x133520(0x23f)][_0x133520(0x32f)]();}[_0x6b9591(0x161)](){const _0x2e5d4c=_0x6b9591;super[_0x2e5d4c(0x161)](),this[_0x2e5d4c(0x337)]['next'](new Map()),this[_0x2e5d4c(0x337)][_0x2e5d4c(0x327)](),this['_roomMembers$'][_0x2e5d4c(0x1a5)]([]),this[_0x2e5d4c(0x23f)][_0x2e5d4c(0x327)]();}[_0x6b9591(0x147)](){const _0x274cc9=_0x6b9591;this[_0x274cc9(0x167)]||(this[_0x274cc9(0x167)]=!0x0,this['_session'][_0x274cc9(0x1e6)][_0x274cc9(0x342)](_0x4c8fcf[_0x274cc9(0x375)](this['dispose$']))[_0x274cc9(0x187)](_0x368ee0=>{const _0x30e992=_0x274cc9;_0x368ee0===_0x353bdb[_0x30e992(0x29a)][_0x30e992(0x133)]?this[_0x30e992(0x101)]():this[_0x30e992(0x218)]();}),this[_0x274cc9(0x254)]['event$'][_0x274cc9(0x342)](_0x4c8fcf['takeUntil'](this[_0x274cc9(0x311)]))[_0x274cc9(0x187)](_0x271ffd=>{const _0x1b911a=_0x274cc9,_0x2b6cbf=_0x271ffd[_0x1b911a(0x1f0)];_0x2b6cbf===_0x4afe31['CollaborationEvent'][_0x1b911a(0x294)]&&this['_onCursorUpdate'](_0x271ffd),_0x2b6cbf===_0x4afe31['CollaborationEvent'][_0x1b911a(0x366)]&&this[_0x1b911a(0x1f4)](_0x271ffd);}),this[_0x274cc9(0x132)](this['_commandService'][_0x274cc9(0x33b)](_0x35da38=>{const _0x3daebc=_0x274cc9,_0x3fbc0b=_0x35da38[_0x3daebc(0x17c)];_0x3fbc0b!=null&&this[_0x3daebc(0x2a5)]&&_0x35da38['id']===_0x49ed44[_0x3daebc(0x31e)]['id']&&_0x3fbc0b[_0x3daebc(0x248)]===this[_0x3daebc(0x30b)]&&_0x3fbc0b[_0x3daebc(0x1af)]===!0x1&&_0x3fbc0b[_0x3daebc(0x2a2)][_0x3daebc(0x1cb)]>0x0&&this[_0x3daebc(0x290)](_0x3fbc0b[_0x3daebc(0x2a2)]);})),this[_0x274cc9(0x159)]['collabCursorState$'][_0x274cc9(0x342)](_0x4c8fcf['takeUntil'](this[_0x274cc9(0x311)]))[_0x274cc9(0x187)](_0x62aba3=>{const _0x229a85=_0x274cc9;if((_0x62aba3==null?void 0x0:_0x62aba3[_0x229a85(0x30b)])!==this[_0x229a85(0x30b)])return;const _0x27fce9={'eventID':_0x4afe31[_0x229a85(0x222)][_0x229a85(0x294)],'data':_0x62aba3};this[_0x229a85(0x37a)](_0x27fce9);}),this[_0x274cc9(0x132)](this[_0x274cc9(0x360)][_0x274cc9(0x33b)](_0x4cd476=>{const _0x268d2d=_0x274cc9;if(_0x4cd476[_0x268d2d(0x17c)]==null)return;const _0x32bd8f=_0x4cd476[_0x268d2d(0x17c)];if(_0x4cd476['id']!==_0x49ed44[_0x268d2d(0x347)]['id']||_0x32bd8f[_0x268d2d(0x248)]!==this['unitID'])return;const _0x54d224={'id':_0x268d2d(0x2dc),'params':_0x32bd8f},_0x54e616=this['cursorInfo'];for(const [_0x47e262,_0x4f8ae3]of _0x54e616){const _0x133b7f={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x268d2d(0x30b)],'actions':null,'textRanges':_0x4f8ae3[_0x268d2d(0x2a2)]}},_0x194796=this[_0x268d2d(0x24d)][_0x268d2d(0x2bd)](_0x54d224,_0x133b7f,!0x1);if(_0x4afe31[_0x268d2d(0x36f)](_0x194796))throw _0x194796[_0x268d2d(0x1d6)];_0x54e616['set'](_0x47e262,{..._0x4f8ae3,'ranges':_0x194796['m2Prime'][_0x268d2d(0x17c)][_0x268d2d(0x138)]});}queueMicrotask(()=>{const _0x5a77ad=_0x268d2d;this['_cursorInfo$'][_0x5a77ad(0x1a5)](_0x54e616);});})));}[_0x6b9591(0x37a)](_0x1ae0b0){const _0x4d46cd=_0x6b9591;var _0x33a7bc,_0x5511b3;const {memberID:_0x1928f0,selection:_0x5b56c9}=_0x1ae0b0[_0x4d46cd(0x1e7)],_0x1b921a=_0x6ee52d(_0x5b56c9),_0x49be69=(_0x5511b3=(_0x33a7bc=this['_memberService'][_0x4d46cd(0x19b)](this[_0x4d46cd(0x30b)],_0x1928f0))==null?void 0x0:_0x33a7bc[_0x4d46cd(0x1b1)])!=null?_0x5511b3:_0x4d46cd(0x180),_0x221fc8={'color':this[_0x4d46cd(0x1a7)][_0x4d46cd(0x343)](_0x1928f0),'name':_0x49be69,'ranges':_0x1b921a},_0x147d5b=this[_0x4d46cd(0x1ae)];_0x147d5b[_0x4d46cd(0x1dd)](_0x1928f0,_0x221fc8),this[_0x4d46cd(0x337)][_0x4d46cd(0x1a5)](_0x147d5b);}[_0x6b9591(0x1f4)](_0x2bbb34){const _0x20f269=_0x6b9591,{memberID:_0x23505e}=_0x2bbb34[_0x20f269(0x1e7)],_0x374251=this['cursorInfo'];_0x374251[_0x20f269(0x1df)](_0x23505e),this[_0x20f269(0x337)][_0x20f269(0x1a5)](_0x374251);}['_toggleOnline'](){const _0x2aac6f=_0x6b9591;var _0x46a297;if(this[_0x2aac6f(0x2a5)]=!0x0,((_0x46a297=this[_0x2aac6f(0x330)][_0x2aac6f(0x15e)]())==null?void 0x0:_0x46a297[_0x2aac6f(0x27c)]())!==this['unitID'])return;const _0x23177c=this[_0x2aac6f(0x15f)][_0x2aac6f(0x2b0)](_0x49ed44[_0x2aac6f(0x396)])[_0x2aac6f(0x25c)]();Array[_0x2aac6f(0x2dd)](_0x23177c)&&_0x23177c[_0x2aac6f(0x1cb)]>0x0&&this['_updateLocalCursor'](_0x23177c);}[_0x6b9591(0x218)](){const _0x131175=_0x6b9591;this[_0x131175(0x2a5)]=!0x1;}};_0x3ed204=_0x3d0c35([_0x31bc66(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a[_0x6b9591(0x172)])),_0x31bc66(0x3,_0x4f4b1a[_0x6b9591(0x22e)](_0x3e1aeb)),_0x31bc66(0x4,_0x4f4b1a[_0x6b9591(0x22e)](_0x353bdb[_0x6b9591(0x2eb)])),_0x31bc66(0x5,_0x4f4b1a[_0x6b9591(0x22e)](_0x35f7e0)),_0x31bc66(0x6,_0x4afe31[_0x6b9591(0x11e)]),_0x31bc66(0x7,_0x4f4b1a['IUniverInstanceService']),_0x31bc66(0x8,_0x4f4b1a['ICommandService'])],_0x3ed204);var _0x2609cd=Object['getOwnPropertyDescriptor'],_0x4c1fed=(_0x58d858,_0x500cd4,_0x4f8608,_0x5b7480)=>{for(var _0x131b23=_0x5b7480>0x1?void 0x0:_0x5b7480?_0x2609cd(_0x500cd4,_0x4f8608):_0x500cd4,_0x46aeaa=_0x58d858['length']-0x1,_0x1f2dd;_0x46aeaa>=0x0;_0x46aeaa--)(_0x1f2dd=_0x58d858[_0x46aeaa])&&(_0x131b23=_0x1f2dd(_0x131b23)||_0x131b23);return _0x131b23;},_0x197414=(_0x3e8f16,_0x4ab167)=>(_0x1df664,_0x359e0d)=>_0x4ab167(_0x1df664,_0x359e0d,_0x3e8f16);const _0x132f15=0x12c,_0x288a2e=0x64,_0x1b9b44=()=>{let _0x512d0a=[],_0x5ae27f=!0x1;return _0x47d84e=>{_0x512d0a['push'](_0x47d84e),_0x5ae27f||(_0x5ae27f=!0x0,setTimeout(()=>{const _0x39678b=_0x2b52;_0x512d0a[_0x39678b(0x11b)](_0x2b84bc=>_0x2b84bc()),_0x512d0a=[],_0x5ae27f=!0x1;}));};};let _0x4b3037=class extends _0x4f4b1a[_0x6b9591(0x114)]{constructor(_0x338164,_0x343e08,_0x51b33c,_0xf9924a,_0x47e2bf,_0x583932,_0x457252,_0x597d26){const _0x3d6ce=_0x6b9591;super(),_0x54ef86(this,_0x3d6ce(0x2a5),!0x1),_0x54ef86(this,_0x3d6ce(0x167),!0x1),_0x54ef86(this,'_cursorInfo$',new _0x4c8fcf[(_0x3d6ce(0x231))](new Map())),_0x54ef86(this,_0x3d6ce(0x350),this[_0x3d6ce(0x337)][_0x3d6ce(0x303)]()),_0x54ef86(this,_0x3d6ce(0x23f),new _0x4c8fcf[(_0x3d6ce(0x231))]([])),_0x54ef86(this,'roomMembers$',this[_0x3d6ce(0x23f)][_0x3d6ce(0x342)](_0x4c8fcf[_0x3d6ce(0x170)](_0x132f15))),_0x54ef86(this,_0x3d6ce(0x290),_0x4f4b1a['debounce']((_0x211e61,_0x27a913)=>{const _0x39886a=_0x3d6ce,_0x255309={'eventID':_0x4afe31[_0x39886a(0x222)][_0x39886a(0x294)],'data':{'unitID':this['unitID'],'memberID':this[_0x39886a(0x254)]['getMemberID'](),'selection':_0x2f57c5[_0x39886a(0x1c2)](_0x211e61,_0x27a913[_0x39886a(0x1a9)])}};this['_session'][_0x39886a(0x389)](_0x255309,this[_0x39886a(0x30b)]);},_0x288a2e)),(this['unitID']=_0x338164,this[_0x3d6ce(0x254)]=_0x343e08,this[_0x3d6ce(0x15f)]=_0x51b33c,this[_0x3d6ce(0x1a7)]=_0xf9924a,this[_0x3d6ce(0x2c5)]=_0x47e2bf,this[_0x3d6ce(0x330)]=_0x583932,this[_0x3d6ce(0x360)]=_0x457252,this['_refRangeService']=_0x597d26);}get['cursorInfo'](){const _0x23472a=_0x6b9591;return this[_0x23472a(0x337)]['getValue']();}get[_0x6b9591(0xf9)](){const _0x557e84=_0x6b9591;return this[_0x557e84(0x23f)][_0x557e84(0x32f)]();}[_0x6b9591(0x161)](){const _0x20c0d6=_0x6b9591;super[_0x20c0d6(0x161)](),this[_0x20c0d6(0x337)][_0x20c0d6(0x1a5)](new Map()),this[_0x20c0d6(0x337)]['complete'](),this[_0x20c0d6(0x23f)]['next']([]),this[_0x20c0d6(0x23f)][_0x20c0d6(0x327)]();}[_0x6b9591(0x147)](){const _0x25c894=_0x6b9591;this[_0x25c894(0x167)]||(this[_0x25c894(0x167)]=!0x0,this[_0x25c894(0x254)]['sessionStatus$']['pipe'](_0x4c8fcf[_0x25c894(0x375)](this['dispose$']))[_0x25c894(0x187)](_0x5db2ea=>{const _0x3ab8de=_0x25c894;_0x5db2ea===_0x353bdb[_0x3ab8de(0x29a)][_0x3ab8de(0x133)]?this[_0x3ab8de(0x101)]():this[_0x3ab8de(0x218)]();}),this[_0x25c894(0x254)][_0x25c894(0x38b)][_0x25c894(0x342)](_0x4c8fcf[_0x25c894(0x375)](this[_0x25c894(0x311)]))[_0x25c894(0x187)](_0x4b2511=>{const _0x3bcb0a=_0x25c894,_0x52621c=_0x4b2511['eventID'];_0x52621c===_0x4afe31[_0x3bcb0a(0x222)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x4b2511),_0x52621c===_0x4afe31[_0x3bcb0a(0x222)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x4b2511);}),this[_0x25c894(0x166)](),this[_0x25c894(0x132)](this[_0x25c894(0x360)]['onCommandExecuted'](_0x5d0e1d=>{const _0x304b75=_0x25c894;if(this[_0x304b75(0x2a5)]&&_0x5d0e1d['id']===_0x54d6f1[_0x304b75(0x212)]['id']&&_0x5d0e1d[_0x304b75(0x17c)]['unitId']===this[_0x304b75(0x30b)]){const _0x4ca0cb=_0x5d0e1d[_0x304b75(0x17c)];this[_0x304b75(0x290)](_0x4ca0cb[_0x304b75(0x28f)],_0x4ca0cb[_0x304b75(0x12a)][0x0]);}})));}[_0x6b9591(0x37a)](_0x21c1e9){const _0xdb4a88=_0x6b9591;var _0xb7e74f,_0x58ff26;const {memberID:_0x494d47,selection:_0x5ef4f7}=_0x21c1e9[_0xdb4a88(0x1e7)],{sheetName:_0x4d3eaf,range:_0x4780fc}=_0x2f57c5['deserializeRangeWithSheet'](_0x5ef4f7),_0x1d1a0f={'name':(_0x58ff26=(_0xb7e74f=this[_0xdb4a88(0x2c5)]['getMember'](this['unitID'],_0x494d47))==null?void 0x0:_0xb7e74f[_0xdb4a88(0x1b1)])!=null?_0x58ff26:_0xdb4a88(0x180),'range':this['_getMergeRange'](_0x4d3eaf,_0x4780fc),'sheetID':_0x4d3eaf,'color':this[_0xdb4a88(0x1a7)][_0xdb4a88(0x343)](_0x494d47),'selection':_0x5ef4f7},_0x5b2bf9=this[_0xdb4a88(0x1ae)];_0x5b2bf9[_0xdb4a88(0x1dd)](_0x494d47,_0x1d1a0f),this[_0xdb4a88(0x337)][_0xdb4a88(0x1a5)](_0x5b2bf9);}[_0x6b9591(0x1f4)](_0x531d88){const _0x2428f8=_0x6b9591,{memberID:_0x47ee04}=_0x531d88['data'],_0x38743c=this[_0x2428f8(0x1ae)];_0x38743c['delete'](_0x47ee04),this[_0x2428f8(0x337)][_0x2428f8(0x1a5)](_0x38743c);}[_0x6b9591(0x216)](_0x3eea87,_0x331aa1){const _0x4bd698=_0x6b9591;var _0x446dc5,_0xbe54c7;const _0x5a7139=(_0xbe54c7=(_0x446dc5=this['_univerInstanceService'][_0x4bd698(0x2e6)](this[_0x4bd698(0x30b)]))==null?void 0x0:_0x446dc5['getSheetBySheetId'](_0x3eea87))==null?void 0x0:_0xbe54c7['getMergeData']();return(_0x5a7139==null?void 0x0:_0x5a7139['find'](_0x3c7d79=>_0x4f4b1a[_0x4bd698(0x387)][_0x4bd698(0x1cc)](_0x3c7d79,_0x331aa1)))||_0x331aa1;}[_0x6b9591(0x166)](){const _0x50c34a=_0x6b9591,_0x71ec8f=new _0x4f4b1a[(_0x50c34a(0x390))](),_0x4aee41=_0x1b9b44(),_0x3cfd52=()=>{const _0x13b607=_0x50c34a;_0x71ec8f[_0x13b607(0x161)]();const _0x3a1450=(_0x3260b2,_0x5ad05f,_0x44170c,_0x17e8bb)=>{const _0x26e3a9=_0x13b607;let _0x59f30b=[];switch(_0x3260b2['id']){case _0x54d6f1[_0x26e3a9(0x36e)][_0x26e3a9(0x227)]:{_0x59f30b=_0x54d6f1[_0x26e3a9(0x249)](_0x3260b2,_0x17e8bb);break;}case _0x54d6f1[_0x26e3a9(0x36e)][_0x26e3a9(0x12b)]:{_0x59f30b=_0x54d6f1[_0x26e3a9(0x35f)](_0x3260b2,_0x17e8bb);break;}case _0x54d6f1[_0x26e3a9(0x36e)]['InsertColCommandId']:{_0x59f30b=_0x54d6f1[_0x26e3a9(0x279)](_0x3260b2,_0x17e8bb);break;}case _0x54d6f1[_0x26e3a9(0x36e)][_0x26e3a9(0x2b1)]:{_0x59f30b=_0x54d6f1[_0x26e3a9(0x1a3)](_0x3260b2,_0x17e8bb);break;}case _0x54d6f1['EffectRefRangId'][_0x26e3a9(0x2f7)]:{_0x59f30b=_0x54d6f1['handleInsertRangeMoveRight'](_0x3260b2,_0x17e8bb);break;}case _0x54d6f1[_0x26e3a9(0x36e)][_0x26e3a9(0x243)]:{_0x59f30b=_0x54d6f1[_0x26e3a9(0x381)](_0x3260b2,_0x17e8bb);break;}case _0x54d6f1['EffectRefRangId']['MoveRangeCommandId']:{_0x59f30b=_0x54d6f1['handleMoveRange'](_0x3260b2,_0x17e8bb);break;}case _0x54d6f1['EffectRefRangId'][_0x26e3a9(0x2d9)]:{_0x59f30b=_0x54d6f1[_0x26e3a9(0x35b)](_0x3260b2,_0x17e8bb);break;}case _0x54d6f1[_0x26e3a9(0x36e)]['RemoveRowCommandId']:{_0x59f30b=_0x54d6f1['handleIRemoveRow'](_0x3260b2,_0x17e8bb);break;}}const _0x9403a=_0x54d6f1[_0x26e3a9(0x1ce)](_0x59f30b,_0x17e8bb),_0x544f30=this[_0x26e3a9(0x1ae)][_0x26e3a9(0x2b0)](_0x5ad05f);if(_0x544f30&&_0x9403a){const _0x484832={..._0x544f30,'range':_0x9403a};this[_0x26e3a9(0x1ae)][_0x26e3a9(0x1dd)](_0x5ad05f,_0x484832),_0x4aee41(()=>{const _0x484221=_0x26e3a9,_0x16f4e5=this['_refRangeService']['registerRefRange'](_0x9403a,_0x375f92=>(_0x16f4e5['dispose'](),_0x3a1450(_0x375f92,_0x5ad05f,_0x44170c,_0x9403a)));_0x71ec8f[_0x484221(0x2c2)](_0x16f4e5);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x13b607(0x11b)]((_0x48cfa6,_0x426125)=>{const _0x3c8085=_0x13b607,{range:_0x956db2,sheetID:_0x54b64a}=_0x48cfa6,_0x8f1669=this[_0x3c8085(0x1c1)][_0x3c8085(0x2e2)](_0x956db2,_0x186e60=>(_0x8f1669[_0x3c8085(0x161)](),_0x3a1450(_0x186e60,_0x426125,_0x54b64a,_0x956db2)));_0x71ec8f['add'](_0x8f1669);});};this[_0x50c34a(0x132)](_0x4f4b1a['toDisposable'](this['_cursorInfo$'][_0x50c34a(0x187)](()=>{_0x3cfd52();})));}[_0x6b9591(0x101)](){const _0x16a1f7=_0x6b9591;var _0xbc8d7a,_0x4bbc05;if(this[_0x16a1f7(0x2a5)]=!0x0,((_0xbc8d7a=this['_univerInstanceService'][_0x16a1f7(0x15e)]())==null?void 0x0:_0xbc8d7a[_0x16a1f7(0x27c)]())!==this[_0x16a1f7(0x30b)])return;const _0x357fe4=(_0x4bbc05=this[_0x16a1f7(0x15f)][_0x16a1f7(0x2b0)](_0x54d6f1[_0x16a1f7(0xfc)])[_0x16a1f7(0x1b3)]())==null?void 0x0:_0x4bbc05[0x0],_0x323530=this[_0x16a1f7(0x330)][_0x16a1f7(0x1fa)](_0x4f4b1a[_0x16a1f7(0x298)][_0x16a1f7(0x274)])['getActiveSheet']();_0x357fe4&&_0x323530&&this['_updateLocalCursor'](_0x323530['getSheetId'](),_0x357fe4);}[_0x6b9591(0x218)](){const _0x4dd53f=_0x6b9591;this[_0x4dd53f(0x2a5)]=!0x1;}};_0x4b3037=_0x4c1fed([_0x197414(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a[_0x6b9591(0x172)])),_0x197414(0x3,_0x4f4b1a[_0x6b9591(0x22e)](_0x3e1aeb)),_0x197414(0x4,_0x4f4b1a[_0x6b9591(0x22e)](_0x353bdb['MemberService'])),_0x197414(0x5,_0x4f4b1a[_0x6b9591(0x17b)]),_0x197414(0x6,_0x4f4b1a[_0x6b9591(0x174)]),_0x197414(0x7,_0x4f4b1a[_0x6b9591(0x22e)](_0x54d6f1[_0x6b9591(0x344)]))],_0x4b3037);var _0x33eae3=Object[_0x6b9591(0x158)],_0x33c320=(_0xfbbc0d,_0x13fbfd,_0x557b15,_0x1b472f)=>{const _0x572223=_0x6b9591;for(var _0x49e52e=_0x1b472f>0x1?void 0x0:_0x1b472f?_0x33eae3(_0x13fbfd,_0x557b15):_0x13fbfd,_0xed82a1=_0xfbbc0d[_0x572223(0x1cb)]-0x1,_0x293bd4;_0xed82a1>=0x0;_0xed82a1--)(_0x293bd4=_0xfbbc0d[_0xed82a1])&&(_0x49e52e=_0x293bd4(_0x49e52e)||_0x49e52e);return _0x49e52e;},_0x581db0=(_0x4b19a9,_0x159514)=>(_0x50b36d,_0x433c23)=>_0x159514(_0x50b36d,_0x433c23,_0x4b19a9);let _0x24a51e=class extends _0x4f4b1a['RxDisposable']{constructor(_0x2283e6,_0x1a3350,_0x439411){const _0x4f30ae=_0x6b9591;super(),_0x54ef86(this,'_entities',new Map()),_0x54ef86(this,_0x4f30ae(0x2ef),new _0x4c8fcf[(_0x4f30ae(0x1b6))]()),(this['_univerInstanceService']=_0x2283e6,this[_0x4f30ae(0x15f)]=_0x1a3350,this[_0x4f30ae(0x1cf)]=_0x439411,this['_init']());}[_0x6b9591(0x161)](){const _0x11932d=_0x6b9591;super['dispose'](),this['_entityInit$'][_0x11932d(0x327)](),this[_0x11932d(0x340)][_0x11932d(0x11b)](_0x2b2feb=>_0x2b2feb['dispose']());}[_0x6b9591(0x2c3)](_0x93028){const _0x17d9f7=_0x6b9591;return this[_0x17d9f7(0x340)][_0x17d9f7(0x164)](_0x93028)?this[_0x17d9f7(0x340)]['get'](_0x93028)[_0x17d9f7(0x350)]:this[_0x17d9f7(0x2ef)][_0x17d9f7(0x342)](_0x4c8fcf[_0x17d9f7(0x26e)](_0x2779c9=>_0x2779c9[_0x17d9f7(0x30b)]===_0x93028),_0x4c8fcf[_0x17d9f7(0x358)](_0x216597=>_0x216597['cursorInfo$']));}[_0x6b9591(0x167)](){const _0x327626=_0x6b9591;this[_0x327626(0x330)][_0x327626(0x2fd)](_0x4f4b1a[_0x327626(0x298)][_0x327626(0x274)])[_0x327626(0x342)](_0x4c8fcf['takeUntil'](this[_0x327626(0x311)]))[_0x327626(0x187)](async _0x454feb=>{const _0x2b82b2=_0x327626,_0x933012=_0x454feb[_0x2b82b2(0x27c)](),_0x2c9a4c=await this[_0x2b82b2(0x275)](_0x933012);this[_0x2b82b2(0x2ef)][_0x2b82b2(0x1a5)](_0x2c9a4c),this[_0x2b82b2(0x340)][_0x2b82b2(0x1dd)](_0x933012,_0x2c9a4c);}),this[_0x327626(0x330)]['getTypeOfUnitAdded$'](_0x4f4b1a['UniverInstanceType']['UNIVER_DOC'])[_0x327626(0x342)](_0x4c8fcf[_0x327626(0x375)](this[_0x327626(0x311)]))[_0x327626(0x342)](_0x4c8fcf['filter'](_0xf8473d=>!_0xf8473d[_0x327626(0x27c)]()[_0x327626(0x240)]('__')))['subscribe'](async _0x162933=>{const _0x1349fb=_0x327626,_0x5d4002=_0x162933[_0x1349fb(0x27c)](),_0x27e24b=await this['_startDocCollabCursor'](_0x5d4002);this[_0x1349fb(0x2ef)]['next'](_0x27e24b),this[_0x1349fb(0x340)]['set'](_0x5d4002,_0x27e24b);}),_0x4c8fcf[_0x327626(0x315)](this[_0x327626(0x330)][_0x327626(0x2d2)](_0x4f4b1a[_0x327626(0x298)][_0x327626(0x34b)]),this[_0x327626(0x330)][_0x327626(0x2d2)](_0x4f4b1a['UniverInstanceType'][_0x327626(0x274)]))[_0x327626(0x342)](_0x4c8fcf['takeUntil'](this['dispose$']))[_0x327626(0x187)](_0x25d1e1=>{const _0x1b1003=_0x327626,_0x1ed0be=_0x25d1e1[_0x1b1003(0x27c)](),_0x43c6fc=this[_0x1b1003(0x340)][_0x1b1003(0x2b0)](_0x1ed0be);_0x43c6fc&&(_0x43c6fc[_0x1b1003(0x161)](),this['_entities'][_0x1b1003(0x1df)](_0x1ed0be));});}async[_0x6b9591(0x275)](_0x28750d){const _0x5844e7=_0x6b9591,_0x36d588=await this[_0x5844e7(0x1cf)][_0x5844e7(0x1b8)](_0x28750d),_0x1036bd=this[_0x5844e7(0x15f)]['createInstance'](_0x4b3037,_0x28750d,_0x36d588);return _0x1036bd['init'](),_0x1036bd;}async['_startDocCollabCursor'](_0x42c578){const _0x54216d=_0x6b9591,_0xd7f787=await this[_0x54216d(0x1cf)][_0x54216d(0x1b8)](_0x42c578),_0x20c21e=this[_0x54216d(0x15f)]['createInstance'](_0x3ed204,_0x42c578,_0xd7f787);return _0x20c21e[_0x54216d(0x147)](),_0x20c21e;}};_0x24a51e=_0x33c320([_0x581db0(0x0,_0x4f4b1a[_0x6b9591(0x17b)]),_0x581db0(0x1,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a['Injector'])),_0x581db0(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x353bdb[_0x6b9591(0x1bf)]))],_0x24a51e);const _0x108714=0x14,_0x599f09=0xc8,_0x15e021=0x4,_0x27c390=0x5;function _0x20e116(_0x40092b,_0x548bd5){const _0x89bbb0=_0x6b9591;let {radius:_0x914e9a,width:_0x19db86,height:_0x19c307}=_0x548bd5;_0x914e9a=_0x914e9a!=null?_0x914e9a:0x0,_0x19db86=_0x19db86!=null?_0x19db86:0x1e,_0x19c307=_0x19c307!=null?_0x19c307:0x1e;let _0x2b3fea=0x0,_0x1bbfc9=0x0,_0x164ec9=0x0;_0x2b3fea=_0x1bbfc9=_0x164ec9=Math[_0x89bbb0(0x31f)](_0x914e9a,_0x19db86/0x2,_0x19c307/0x2),_0x40092b[_0x89bbb0(0x2ec)](),_0x40092b[_0x89bbb0(0x151)](_0x2b3fea,0x0),_0x40092b[_0x89bbb0(0x192)](_0x19db86-_0x1bbfc9,0x0),_0x40092b[_0x89bbb0(0x1e3)](_0x19db86-_0x1bbfc9,_0x1bbfc9,_0x1bbfc9,Math['PI']*0x3/0x2,0x0,!0x1),_0x40092b['lineTo'](_0x19db86,_0x19c307-_0x164ec9),_0x40092b[_0x89bbb0(0x1e3)](_0x19db86-_0x164ec9,_0x19c307-_0x164ec9,_0x164ec9,0x0,Math['PI']/0x2,!0x1),_0x40092b[_0x89bbb0(0x192)](0x0,_0x19c307),_0x40092b[_0x89bbb0(0x192)](0x0,_0x2b3fea),_0x40092b[_0x89bbb0(0x1e3)](_0x2b3fea,_0x2b3fea,_0x2b3fea,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x40092b[_0x89bbb0(0x21c)](),_0x548bd5[_0x89bbb0(0x1b0)]&&(_0x40092b[_0x89bbb0(0x286)](),_0x40092b['fillStyle']=_0x548bd5[_0x89bbb0(0x1b0)],_0x548bd5[_0x89bbb0(0x14b)]===_0x89bbb0(0x145)?_0x40092b[_0x89bbb0(0x1b0)](_0x89bbb0(0x145)):_0x40092b[_0x89bbb0(0x1b0)](),_0x40092b[_0x89bbb0(0x153)]());}class _0x4d674a extends _0x4be59a['Shape']{constructor(_0x32d246,_0x2d7d22){const _0x15b8c8=_0x6b9591;super(_0x32d246,_0x2d7d22),_0x54ef86(this,_0x15b8c8(0x168)),_0x54ef86(this,_0x15b8c8(0x383)),(this[_0x15b8c8(0x168)]=_0x2d7d22==null?void 0x0:_0x2d7d22[_0x15b8c8(0x168)],this[_0x15b8c8(0x383)]=_0x2d7d22==null?void 0x0:_0x2d7d22[_0x15b8c8(0x383)]);}static[_0x6b9591(0x2db)](_0x3d1f2f,_0x454a7f){const _0x4f0a52=_0x6b9591,{text:_0x13bdff,color:_0x5a33c8}=_0x454a7f;_0x3d1f2f[_0x4f0a52(0x286)](),_0x3d1f2f[_0x4f0a52(0x1ac)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x40e08c=_0x3d1f2f[_0x4f0a52(0x2a3)](_0x13bdff)[_0x4f0a52(0x209)],_0x4fecd4=Math[_0x4f0a52(0x31f)](_0x40e08c+0x2*_0x15e021,_0x599f09);_0x20e116(_0x3d1f2f,{'height':_0x108714,'radius':0x4,'width':_0x4fecd4,'fill':_0x5a33c8}),_0x3d1f2f[_0x4f0a52(0x2ca)]=_0x4f0a52(0x1bc);const _0xf9e1f6=_0x15e021,_0x44a98d=_0x108714-_0x27c390,_0x5ca4de=_0x599f09-0x2*_0x15e021;if(_0x40e08c>_0x5ca4de){let _0xf881e3='',_0x580c32=0x0;for(const _0x3e825e of _0x13bdff){const _0x58edd8=_0x3d1f2f[_0x4f0a52(0x2a3)](_0x3e825e)[_0x4f0a52(0x209)];if(_0x580c32+_0x58edd8<=_0x5ca4de-_0x3d1f2f['measureText'](_0x4f0a52(0x2ba))[_0x4f0a52(0x209)])_0xf881e3+=_0x3e825e,_0x580c32+=_0x58edd8;else{_0xf881e3+='...';break;}}_0x3d1f2f[_0x4f0a52(0x225)](_0xf881e3,_0xf9e1f6,_0x44a98d);}else _0x3d1f2f[_0x4f0a52(0x225)](_0x13bdff,_0xf9e1f6,_0x44a98d);_0x3d1f2f[_0x4f0a52(0x153)]();}[_0x6b9591(0x2f6)](_0x3d87e6){const _0x35f3cc=_0x6b9591;_0x4d674a[_0x35f3cc(0x2db)](_0x3d87e6,this);}}const _0x5c9aa8=_0x6b9591(0x175),_0xcc4423=_0x6b9591(0x38d),_0x1410e6=_0x6b9591(0x35c),_0xd9205f=0x6,_0x4f2b5f=1.5,_0xe02463=0x4,_0x17d7f4=1.5,_0xc18c49=_0x6b9591(0x325);class _0x5d20a1{constructor(_0x117924,_0x1448c0,_0x358c9f,_0x57257d){const _0x1bbcd9=_0x6b9591;_0x54ef86(this,_0x1bbcd9(0x232),[]),_0x54ef86(this,_0x1bbcd9(0x27b),null),_0x54ef86(this,_0x1bbcd9(0x1be),null),_0x54ef86(this,_0x1bbcd9(0x234),null),_0x54ef86(this,_0x1bbcd9(0x1a8),null),_0x54ef86(this,_0x1bbcd9(0x163),null),(this[_0x1bbcd9(0x1b5)]=_0x117924,this[_0x1bbcd9(0x345)]=_0x1448c0,this[_0x1bbcd9(0x2c4)]=_0x358c9f,this[_0x1bbcd9(0x292)]=_0x57257d,this['_render']());}set['_hover'](_0x41b296){const _0x4ac4df=_0x6b9591;_0x41b296?(this[_0x4ac4df(0x234)]&&this[_0x4ac4df(0x234)]['hide'](),this['_textBubble']&&this['_textBubble'][_0x4ac4df(0x219)]()):(this[_0x4ac4df(0x234)]&&this[_0x4ac4df(0x234)][_0x4ac4df(0x219)](),this[_0x4ac4df(0x1be)]&&this['_textBubble']['hide']());}[_0x6b9591(0x161)](){const _0x4bc362=_0x6b9591;for(const _0x96a93c of this[_0x4bc362(0x232)])_0x96a93c[_0x4bc362(0x161)]();this[_0x4bc362(0x1be)]&&this[_0x4bc362(0x1be)]['dispose'](),this['_anchorDot']&&this[_0x4bc362(0x234)][_0x4bc362(0x161)](),this[_0x4bc362(0x27b)]&&this[_0x4bc362(0x27b)]['dispose'](),this[_0x4bc362(0x163)]&&this[_0x4bc362(0x163)]();}['_render'](){const _0x1718d1=_0x6b9591;var _0x33fdda;const {_docSkeleton:_0x17377e,_document:_0x412123}=this,{color:_0x44fd87,name:_0x47bde8,ranges:_0x2782a6}=this['_cursor'],_0x3a1812=_0x412123[_0x1718d1(0x165)](),{docsLeft:_0x1e640d,docsTop:_0x90a5b3}=_0x3a1812,_0x35abbc=new _0x2a96f2['NodePositionConvertToCursor'](_0x3a1812,_0x17377e);for(const {startOffset:_0xcded61,endOffset:_0x48bf36,rangeType:_0x5599f0,segmentId:_0xaf4ddb,segmentPage:_0x2d1a45,collapsed:_0x14bbc9,isActive:_0x382214}of _0x2782a6){const _0x82a926=_0x17377e[_0x1718d1(0x217)](_0xcded61,!0x0,_0xaf4ddb,_0x2d1a45);let _0x49f37e=_0x17377e[_0x1718d1(0x217)](_0x48bf36,!0x0,_0xaf4ddb,_0x2d1a45);if(_0x49f37e==null&&(_0x49f37e=_0x17377e[_0x1718d1(0x217)](_0x48bf36-0x1,!0x1,_0xaf4ddb,_0x2d1a45)),_0x382214){const {contentBoxPointGroup:_0x2ab2c1}=_0x35abbc[_0x1718d1(0x35a)](_0x49f37e,_0x49f37e);if(_0x2ab2c1['length']===0x0)continue;this[_0x1718d1(0x1f5)](_0x44fd87,_0x2ab2c1,_0x1e640d,_0x90a5b3,_0x47bde8),this[_0x1718d1(0x163)]=this[_0x1718d1(0x2c8)]();}if(_0x82a926&&_0x49f37e){if(_0x5599f0===_0x4f4b1a[_0x1718d1(0x2fe)]['RECT']){const _0x1dc841=new _0x2a96f2['NodePositionConvertToRectRange'](_0x3a1812,_0x17377e),{pointGroup:_0x5e06fa}=(_0x33fdda=_0x1dc841[_0x1718d1(0x35a)](_0x82a926,_0x49f37e))!=null?_0x33fdda:{};if(_0x5e06fa==null||_0x5e06fa['length']===0x0)continue;this[_0x1718d1(0x245)](_0x44fd87,_0x5e06fa,_0x1e640d,_0x90a5b3);}else{if(!_0x14bbc9){const {borderBoxPointGroup:_0x54848f}=_0x35abbc[_0x1718d1(0x35a)](_0x82a926,_0x49f37e);if(_0x54848f[_0x1718d1(0x1cb)]===0x0)continue;this[_0x1718d1(0x177)](_0x44fd87,_0x54848f,_0x1e640d,_0x90a5b3);}}}}}[_0x6b9591(0x1f5)](_0x2629f5,_0x11ed6d,_0x3fba6e,_0x1342ac,_0xe48dbf){const _0x36e43e=_0x6b9591,_0x372682=this[_0x36e43e(0x2b9)](_0x11ed6d),{left:_0x39a8b7,top:_0xc4b58d,height:_0x4dcdc7}=_0x372682,_0x29fe24=this[_0x36e43e(0x34a)](),_0x1457f4=_0x17d7f4/_0x29fe24,_0x40e619=new _0x4be59a[(_0x36e43e(0x14d))](_0x5c9aa8+_0x4f4b1a[_0x36e43e(0x20c)][_0x36e43e(0x26b)](_0xd9205f),{'left':_0x39a8b7+_0x3fba6e-_0x1457f4,'top':_0xc4b58d+_0x1342ac,'height':_0x4dcdc7,'width':_0x4f2b5f,'fill':_0x2629f5||_0x4be59a['getColor'](_0x4f4b1a[_0x36e43e(0x355)][_0x36e43e(0x21a)],0x0),'strokeWidth':_0x1457f4,'stroke':_0xc18c49,'evented':!0x0});this[_0x36e43e(0x27b)]=_0x40e619,this['_scene']['addObject'](_0x40e619,_0x2a96f2[_0x36e43e(0x34e)]);const _0x4e7c62=new _0x4be59a[(_0x36e43e(0x14d))](_0x5c9aa8+_0x4f4b1a[_0x36e43e(0x20c)][_0x36e43e(0x26b)](_0xd9205f),{'left':_0x39a8b7+_0x3fba6e-_0x1457f4,'top':_0xc4b58d+_0x1342ac-_0xe02463/0x2,'height':_0xe02463,'width':_0xe02463,'fill':_0x2629f5||_0x4be59a[_0x36e43e(0x2af)](_0x4f4b1a['COLORS'][_0x36e43e(0x21a)],0x0),'strokeWidth':0x0,'stroke':_0x2629f5||_0x4be59a[_0x36e43e(0x2af)](_0x4f4b1a[_0x36e43e(0x355)][_0x36e43e(0x21a)],0x0),'evented':!0x1});this[_0x36e43e(0x234)]=_0x4e7c62,this[_0x36e43e(0x345)][_0x36e43e(0x1ef)](_0x4e7c62,_0x2a96f2['TEXT_RANGE_LAYER_INDEX']);const _0x437cf8=new _0x4d674a(_0x5c9aa8+_0x4f4b1a['Tools'][_0x36e43e(0x26b)](_0xd9205f),{'left':_0x39a8b7+_0x3fba6e-_0x1457f4,'top':_0xc4b58d+_0x1342ac-_0x108714,'text':_0xe48dbf,'color':_0x2629f5});this['_textBubble']=_0x437cf8,this[_0x36e43e(0x345)][_0x36e43e(0x1ef)](_0x437cf8,_0x2a96f2[_0x36e43e(0x34e)]),this[_0x36e43e(0x16c)]=!0x1;}[_0x6b9591(0x2c8)](){const _0xfc21db=_0x6b9591,_0x5c7d25=this[_0xfc21db(0x27b)][_0xfc21db(0x1e5)]['subscribeEvent'](()=>{const _0x49e2f0=_0xfc21db;this[_0x49e2f0(0x16c)]=!0x0;}),_0x32e75b=this[_0xfc21db(0x27b)][_0xfc21db(0x362)][_0xfc21db(0x300)](()=>{const _0x30ea4f=_0xfc21db;this[_0x30ea4f(0x1a8)]&&clearTimeout(this[_0x30ea4f(0x1a8)]),this[_0x30ea4f(0x1a8)]=setTimeout(()=>{const _0x2f5175=_0x30ea4f;this[_0x2f5175(0x16c)]=!0x1;},0x7d0);});return()=>{const _0x39651b=_0xfc21db;_0x5c7d25[_0x39651b(0x334)](),_0x32e75b['unsubscribe']();};}[_0x6b9591(0x177)](_0xf86021,_0x36432f,_0x117ae6,_0x3318ef){const _0x2620a5=_0x6b9591,_0x24a4ee=new _0x4f4b1a[(_0x2620a5(0x2d0))](_0xf86021)[_0x2620a5(0x31a)](0.2)[_0x2620a5(0x224)](),_0x57415c=new _0x4be59a[(_0x2620a5(0x198))](_0xcc4423+_0x4f4b1a[_0x2620a5(0x20c)][_0x2620a5(0x26b)](_0xd9205f),{'pointsGroup':_0x36432f,'fill':_0x24a4ee||_0x4be59a[_0x2620a5(0x2af)](_0x4f4b1a[_0x2620a5(0x355)]['black'],0.2),'left':_0x117ae6,'top':_0x3318ef,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2620a5(0x232)][_0x2620a5(0x121)](_0x57415c),this[_0x2620a5(0x345)]['addObject'](_0x57415c,_0x2a96f2[_0x2620a5(0x34e)]);}[_0x6b9591(0x245)](_0x3d2650,_0x18f276,_0x5a2dc8,_0x384340){const _0x15b83f=_0x6b9591,_0x3d7b09=new _0x4f4b1a[(_0x15b83f(0x2d0))](_0x3d2650)[_0x15b83f(0x31a)](0.2)[_0x15b83f(0x224)](),_0x59dc2e=new _0x4be59a['RegularPolygon'](_0x1410e6+_0x4f4b1a['Tools'][_0x15b83f(0x26b)](_0xd9205f),{'pointsGroup':_0x18f276,'fill':_0x3d7b09||_0x4be59a[_0x15b83f(0x2af)](_0x4f4b1a[_0x15b83f(0x355)]['black'],0.2),'left':_0x5a2dc8,'top':_0x384340,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x15b83f(0x232)][_0x15b83f(0x121)](_0x59dc2e),this[_0x15b83f(0x345)][_0x15b83f(0x1ef)](_0x59dc2e,_0x2a96f2[_0x15b83f(0x34e)]);}['_getAnchorBounding'](_0x529766){const _0x26d2f9=_0x529766[0x0],_0x4e8701=_0x26d2f9[0x0],_0x2723f8=_0x26d2f9[0x2],{x:_0x182da2,y:_0x358beb}=_0x4e8701,{x:_0x5e898d,y:_0x49ddfc}=_0x2723f8;return{'left':_0x182da2,'top':_0x358beb,'width':_0x5e898d-_0x182da2,'height':_0x49ddfc-_0x358beb};}[_0x6b9591(0x34a)](){const _0x2af7d3=_0x6b9591,{scaleX:_0x77e229,scaleY:_0x4f071a}=this['_scene'][_0x2af7d3(0x17e)]();return Math[_0x2af7d3(0x195)](_0x77e229,_0x4f071a);}}var _0x5d1ccf=Object[_0x6b9591(0x158)],_0xf17665=(_0x42d274,_0x2ef2fa,_0x3b9e1e,_0x2ed186)=>{const _0x48ad4a=_0x6b9591;for(var _0x3ae2ce=_0x2ed186>0x1?void 0x0:_0x2ed186?_0x5d1ccf(_0x2ef2fa,_0x3b9e1e):_0x2ef2fa,_0x49003a=_0x42d274[_0x48ad4a(0x1cb)]-0x1,_0x7ff7ce;_0x49003a>=0x0;_0x49003a--)(_0x7ff7ce=_0x42d274[_0x49003a])&&(_0x3ae2ce=_0x7ff7ce(_0x3ae2ce)||_0x3ae2ce);return _0x3ae2ce;},_0xcbd8d4=(_0x165bb8,_0x382252)=>(_0x2f36c5,_0x175309)=>_0x382252(_0x2f36c5,_0x175309,_0x165bb8);let _0x3717cb=class extends _0x4f4b1a[_0x6b9591(0x114)]{constructor(_0x5c6596,_0x1e5f87,_0x2f3e88,_0x329721,_0xc9df18){const _0x29d6f5=_0x6b9591;super(),_0x54ef86(this,_0x29d6f5(0x348),[]),_0x54ef86(this,'_cursors',[]),(this[_0x29d6f5(0x1d1)]=_0x5c6596,this['_docSkeletonManagerService']=_0x1e5f87,this['_collabCursorController']=_0x2f3e88,this[_0x29d6f5(0x360)]=_0x329721,this[_0x29d6f5(0x18f)]=_0xc9df18,this[_0x29d6f5(0x167)]());}['_init'](){const _0xb19820=_0x6b9591,_0x183a39=this[_0xb19820(0x1d1)][_0xb19820(0x248)],_0x4fccfe=this[_0xb19820(0x2ae)];this[_0xb19820(0x132)](_0x4c8fcf[_0xb19820(0x1dc)]([this[_0xb19820(0x14e)]['getCollabCursors$'](_0x183a39),this[_0xb19820(0x18f)]['currentTheme$']])[_0xb19820(0x342)](_0x1feca5[_0xb19820(0x1b7)](([_0x57d745,_0x3724ab])=>({'skeleton':_0x4fccfe['getSkeleton'](),'cursors':[..._0x57d745[_0xb19820(0x301)]()]['flatMap'](_0xdb093=>({..._0xdb093,'color':this[_0xb19820(0x18f)][_0xb19820(0x23d)](_0xdb093[_0xb19820(0x168)])}))})))[_0xb19820(0x187)](_0x23982b=>{const _0x19ad8b=_0xb19820;if(this[_0x19ad8b(0x32a)](),_0x23982b){const {skeleton:_0x5df966,cursors:_0x56e3d5}=_0x23982b;this['_updateCollabCursors'](_0x5df966,_0x56e3d5);}})),this[_0xb19820(0x321)](),this[_0xb19820(0x2de)]();}[_0x6b9591(0x148)](_0x534b64,_0x104cc3){const _0x412ca6=_0x6b9591,{scene:_0x53860c,mainComponent:_0x6a2b07}=this[_0x412ca6(0x1d1)],_0x514578=_0x104cc3['map'](_0x536e84=>new _0x5d20a1(_0x536e84,_0x53860c,_0x534b64,_0x6a2b07));this['_cursorShapes']=_0x514578,this[_0x412ca6(0x162)]=_0x104cc3;}[_0x6b9591(0x140)](){const _0x361547=_0x6b9591;this[_0x361547(0x32a)]();const {scene:_0x5cd5a8,mainComponent:_0x3a7621}=this[_0x361547(0x1d1)],_0x2ea0dd=this[_0x361547(0x2ae)][_0x361547(0x236)](),_0x3d142f=this[_0x361547(0x162)][_0x361547(0x1b7)](_0x25002c=>new _0x5d20a1(_0x25002c,_0x5cd5a8,_0x2ea0dd,_0x3a7621));this['_cursorShapes']=_0x3d142f;}[_0x6b9591(0x32a)](){const _0xec654=_0x6b9591;this[_0xec654(0x348)][_0xec654(0x11b)](_0x111604=>_0x111604['dispose']()),this['_cursorShapes']=[];}[_0x6b9591(0x2de)](){const _0x30d725=_0x6b9591,_0x5a13b5=[_0x2a96f2[_0x30d725(0x20f)]['id']];this[_0x30d725(0x132)](this[_0x30d725(0x360)][_0x30d725(0x33b)](_0x7e8ecc=>{const _0x13018b=_0x30d725;_0x5a13b5[_0x13018b(0x2d7)](_0x7e8ecc['id'])&&_0x7e8ecc[_0x13018b(0x17c)][_0x13018b(0x248)]===this[_0x13018b(0x1d1)]['unitId']&&this[_0x13018b(0x140)]();}));}[_0x6b9591(0x321)](){const _0x1c3599=_0x6b9591;this[_0x1c3599(0x132)](_0x4f4b1a[_0x1c3599(0x273)](this[_0x1c3599(0x1d1)]['engine'][_0x1c3599(0x1fe)])['pipe'](_0x1feca5['filter'](_0x5057f6=>_0x5057f6['type']===_0x4be59a[_0x1c3599(0x272)][_0x1c3599(0x193)]),_0x1feca5['throttleTime'](0x10))[_0x1c3599(0x187)](()=>{const _0x3dc11c=_0x1c3599;this[_0x3dc11c(0x140)]();}));}};_0x3717cb=_0xf17665([_0xcbd8d4(0x1,_0x4f4b1a[_0x6b9591(0x22e)](_0x49ed44[_0x6b9591(0x2d8)])),_0xcbd8d4(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x24a51e)),_0xcbd8d4(0x3,_0x4f4b1a['ICommandService']),_0xcbd8d4(0x4,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a['ThemeService']))],_0x3717cb);const _0xb4151f=0x1,_0x14c18f=1.5;class _0x20e8ad extends _0x4be59a[_0x6b9591(0x285)]{constructor(_0x4d5122,_0x5dc9a9){const _0x5a459c=_0x6b9591;super(_0x4d5122,_0x5dc9a9),_0x54ef86(this,'_color'),_0x54ef86(this,_0x5a459c(0x25b),!0x1),_0x54ef86(this,'_range'),_0x54ef86(this,'_name',''),_0x54ef86(this,_0x5a459c(0x1f7),_0x5a459c(0x221)),_0x54ef86(this,_0x5a459c(0x388)),(_0x5dc9a9&&this[_0x5a459c(0x160)](_0x5dc9a9),this['onPointerEnter$'][_0x5a459c(0x300)](()=>this[_0x5a459c(0x160)]({'hovered':!0x0})),this[_0x5a459c(0x362)][_0x5a459c(0x300)](()=>this[_0x5a459c(0x160)]({'hovered':!0x1})));}['setShapeProps'](_0x1e1d93){const _0x494d1f=_0x6b9591;var _0x5ea64e,_0x2d8946,_0x515adb,_0x2ceff5,_0x2b7647,_0xdf8f7a;this[_0x494d1f(0x20a)]=(_0x5ea64e=_0x1e1d93['color'])!=null?_0x5ea64e:this[_0x494d1f(0x20a)],this[_0x494d1f(0x25b)]=(_0x2d8946=_0x1e1d93[_0x494d1f(0x296)])!=null?_0x2d8946:this[_0x494d1f(0x25b)],this['_range']=(_0x515adb=_0x1e1d93[_0x494d1f(0x1a9)])!=null?_0x515adb:this[_0x494d1f(0x19f)],this[_0x494d1f(0x24e)]=(_0x2ceff5=_0x1e1d93[_0x494d1f(0x1b1)])!=null?_0x2ceff5:this[_0x494d1f(0x24e)],this['_labelPosition']=(_0x2b7647=_0x1e1d93[_0x494d1f(0x326)])!=null?_0x2b7647:this['_labelPosition'],this['_backgroundColor']=(_0xdf8f7a=_0x1e1d93[_0x494d1f(0x287)])!=null?_0xdf8f7a:this['_backgroundColor'],this['transformByState']({'width':_0x1e1d93[_0x494d1f(0x209)],'height':_0x1e1d93[_0x494d1f(0x380)]});}[_0x6b9591(0x1f8)](_0x4cb03a){const _0x1c8c15=_0x6b9591,{row:_0x5b5a34,column:_0x120566}=_0x4cb03a;if(_0x5b5a34>=this[_0x1c8c15(0x19f)][_0x1c8c15(0x320)]&&_0x5b5a34<=this[_0x1c8c15(0x19f)][_0x1c8c15(0x1c7)]&&_0x120566>=this[_0x1c8c15(0x19f)][_0x1c8c15(0x32e)]&&_0x120566<=this[_0x1c8c15(0x19f)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0x1c8c15(0x160)]({'hovered':!0x1});}['triggerDblclick'](_0x5a5802){return!0x1;}['_draw'](_0x33b9b9){const _0x13e167=_0x6b9591;_0x4be59a[_0x13e167(0x14d)][_0x13e167(0x2db)](_0x33b9b9,{'width':this[_0x13e167(0x209)],'height':this[_0x13e167(0x380)],'strokeWidth':_0x14c18f,'stroke':this[_0x13e167(0x20a)],'evented':!0x1,'fill':this[_0x13e167(0x388)]}),this[_0x13e167(0x25b)]&&(_0x33b9b9[_0x13e167(0x286)](),_0x33b9b9[_0x13e167(0x2b2)](0x1,0x0,0x0,0x1,this[_0x13e167(0x209)],this[_0x13e167(0x1f7)]===_0x13e167(0x29d)?0x0:-0x14),_0x4d674a['drawWith'](_0x33b9b9,{'text':this[_0x13e167(0x24e)],'color':this[_0x13e167(0x20a)]}),_0x33b9b9[_0x13e167(0x153)]());}}var _0x4623cd=Object[_0x6b9591(0x158)],_0x59a4f6=(_0x3d5068,_0x2b9901,_0x4cf77e,_0x454586)=>{const _0x5b3fc4=_0x6b9591;for(var _0x5b8099=_0x454586>0x1?void 0x0:_0x454586?_0x4623cd(_0x2b9901,_0x4cf77e):_0x2b9901,_0x2b5452=_0x3d5068[_0x5b3fc4(0x1cb)]-0x1,_0x3c9ca4;_0x2b5452>=0x0;_0x2b5452--)(_0x3c9ca4=_0x3d5068[_0x2b5452])&&(_0x5b8099=_0x3c9ca4(_0x5b8099)||_0x5b8099);return _0x5b8099;},_0x4a5277=(_0xbe880f,_0x17ea0a)=>(_0x171a3e,_0x7c096e)=>_0x17ea0a(_0x171a3e,_0x7c096e,_0xbe880f);const _0x3a9653=0x1389;let _0x46a92e=class extends _0x4f4b1a['RxDisposable']{constructor(_0x18e0e3,_0x232e15,_0x175f8c,_0x841115){const _0x2eb8cd=_0x6b9591;super(),_0x54ef86(this,_0x2eb8cd(0x162),new Set()),_0x54ef86(this,'_lastPointer',null),(this[_0x2eb8cd(0x1d1)]=_0x18e0e3,this[_0x2eb8cd(0x149)]=_0x232e15,this[_0x2eb8cd(0x14e)]=_0x175f8c,this[_0x2eb8cd(0x18f)]=_0x841115,this[_0x2eb8cd(0x167)]());}[_0x6b9591(0x167)](){const _0x43b2b8=_0x6b9591;this[_0x43b2b8(0x149)][_0x43b2b8(0x205)][_0x43b2b8(0x342)](_0x1feca5['takeUntil'](this[_0x43b2b8(0x311)]),_0x1feca5[_0x43b2b8(0x358)](_0x28fe51=>{const _0x40c0af=_0x43b2b8;if(_0x28fe51){const _0x4e3109=_0x28fe51[_0x40c0af(0x1c4)];return _0x4c8fcf[_0x40c0af(0x1dc)](this[_0x40c0af(0x14e)][_0x40c0af(0x2c3)](this[_0x40c0af(0x1d1)][_0x40c0af(0x248)]),this['_themeService']['currentTheme$'])['pipe'](_0x1feca5['map'](([_0x5f4a54,_0x2b6c59])=>{const _0x256000=_0x40c0af,_0x26a66=new Map();return _0x5f4a54[_0x256000(0x11b)]((_0x3bd230,_0x409070)=>{const _0x3da7ed=_0x256000;if(_0x3bd230['sheetID']===_0x4e3109){const _0x5263e8={..._0x3bd230};_0x5263e8[_0x3da7ed(0x168)]=this[_0x3da7ed(0x18f)][_0x3da7ed(0x23d)](_0x3bd230[_0x3da7ed(0x168)]),_0x26a66[_0x3da7ed(0x1dd)](_0x409070,_0x5263e8);}}),{'skeleton':_0x28fe51,'cursors':_0x26a66};}));}return _0x4c8fcf['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x375098,cursors:_0x2929d9})=>{const _0x48a796=_0x43b2b8;this[_0x48a796(0x32a)](),_0x375098&&this['_updateCollabCursors'](_0x375098,_0x2929d9);}),this[_0x43b2b8(0x149)]['currentSkeleton$']['subscribe'](_0x4c0b01=>{const _0x5d9d43=_0x43b2b8;if(_0x4c0b01==null)return;const {skeleton:_0x5adaa6}=_0x4c0b01,{scene:_0x4fce5f}=this[_0x5d9d43(0x1d1)];_0x4fce5f['onPointerMove$'][_0x5d9d43(0x300)](_0x4f4b1a[_0x5d9d43(0x2e4)](_0x359726=>{const _0x551085=_0x5d9d43;var _0x49d132,_0x581f8e;const {offsetX:_0x383a2e,offsetY:_0x34d651}=_0x359726,{x:_0x4c5c38,y:_0x116cdb}=_0x4fce5f[_0x551085(0x331)](_0x4be59a[_0x551085(0x25d)][_0x551085(0x323)]([_0x383a2e,_0x34d651])),{scaleX:_0x5226d7,scaleY:_0x1a94b0}=_0x4fce5f[_0x551085(0x17e)](),_0x5729bf=_0x4fce5f[_0x551085(0x185)](_0x4be59a[_0x551085(0x12d)]['VIEW_MAIN']),_0xcdfea0=_0x4fce5f[_0x551085(0x226)](_0x4be59a[_0x551085(0x25d)][_0x551085(0x323)]([_0x4c5c38,_0x116cdb]),_0x5729bf),_0x2d4dec=_0x5adaa6[_0x551085(0x1c0)](_0x383a2e,_0x34d651,_0x5226d7,_0x1a94b0,_0xcdfea0);((_0x49d132=this[_0x551085(0x2cd)])==null?void 0x0:_0x49d132[_0x551085(0x374)])===_0x2d4dec[_0x551085(0x374)]&&((_0x581f8e=this[_0x551085(0x2cd)])==null?void 0x0:_0x581f8e[_0x551085(0x2e3)])===_0x2d4dec[_0x551085(0x2e3)]||this[_0x551085(0x162)]['forEach'](_0x3ee4e6=>{const _0x441c14=_0x551085;_0x3ee4e6[_0x441c14(0x1f8)](_0x2d4dec);});},0x64));});}['_updateCollabCursors'](_0x442fbd,_0xa39912){const _0x7ecdfa=_0x6b9591;var _0x578885;const _0x2fd607=(_0x578885=this[_0x7ecdfa(0x149)]['getCurrent']())==null?void 0x0:_0x578885[_0x7ecdfa(0x1ca)];if(!_0x2fd607)return;const _0x45fda6=this[_0x7ecdfa(0x271)]();if(!_0x45fda6)return;this[_0x7ecdfa(0x162)]['forEach'](_0x436d14=>{_0x436d14['makeDirty']();});const {scene:_0x16d91a}=_0x45fda6,_0x16699=_0x43319f(Array[_0x7ecdfa(0x139)](_0xa39912['values']()))[_0x7ecdfa(0x1b7)](_0x43ed69=>{const _0x59ad20=_0x7ecdfa,{color:_0x2cd489,range:_0x1ed2e9,name:_0x3b4d92,selection:_0xe76999,sheetID:_0x5614ea}=_0x43ed69,{startColumn:_0x3e9eaf,startRow:_0x5f2832,endColumn:_0x15b92,endRow:_0x38338d}=_0x1ed2e9,_0x21824=_0xad51e4[_0x59ad20(0x361)](_0x5f2832,_0x3e9eaf,_0x16d91a,_0x2fd607),_0x4e93e3=_0xad51e4['getCoordByCell'](_0x38338d,_0x15b92,_0x16d91a,_0x2fd607),{columnHeaderHeightAndMarginTop:_0x23c6b5}=_0x2fd607,{startX:_0x3b7dda,startY:_0x4a9765}=_0x21824,{endX:_0x4a085b,endY:_0x5b2394}=_0x4e93e3,_0x5a247e=_0x4a085b-_0x3b7dda,_0x11c281=_0x5b2394-_0x4a9765,_0x40dfe7={'labelPosition':_0x4a9765-_0x23c6b5>=_0x108714?_0x59ad20(0x221):_0x59ad20(0x29d),'sheetID':_0x5614ea,'range':_0x1ed2e9,'color':_0x2cd489,'name':_0x3b4d92,'selection':_0xe76999,'left':_0x3b7dda,'top':_0x4a9765,'width':_0x5a247e,'height':_0x11c281,'evented':!0x1,'zIndex':_0x3a9653};return new _0x20e8ad(_0x3b4d92,_0x40dfe7);});_0x16d91a[_0x7ecdfa(0x199)](_0x16699,_0xb4151f),this[_0x7ecdfa(0x162)]=new Set(_0x16699);}[_0x6b9591(0x32a)](){const _0x5a9084=_0x6b9591;var _0x22e98a;(_0x22e98a=this[_0x5a9084(0x162)])==null||_0x22e98a[_0x5a9084(0x11b)](_0x328b94=>_0x328b94[_0x5a9084(0x161)]());}[_0x6b9591(0x271)](){const _0x2035ef=_0x6b9591;return _0xad51e4[_0x2035ef(0x302)](this[_0x2035ef(0x1d1)][_0x2035ef(0x267)],this[_0x2035ef(0x1d1)]);}};_0x46a92e=_0x59a4f6([_0x4a5277(0x1,_0x4f4b1a[_0x6b9591(0x22e)](_0xad51e4[_0x6b9591(0x12f)])),_0x4a5277(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x24a51e)),_0x4a5277(0x3,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a[_0x6b9591(0x364)]))],_0x46a92e);function _0x43319f(_0x58645a){const _0x280edb=_0x6b9591,_0x28de9a=new Map();return _0x58645a[_0x280edb(0x11b)](_0x3ff6ab=>{const _0x44986c=_0x280edb;if(_0x28de9a[_0x44986c(0x164)](_0x3ff6ab[_0x44986c(0x21b)])){const _0x50cc41=_0x28de9a['get'](_0x3ff6ab['selection']);_0x50cc41['name']+=',\x20'+_0x3ff6ab['name'];}else _0x28de9a[_0x44986c(0x1dd)](_0x3ff6ab[_0x44986c(0x21b)],_0x3ff6ab);}),Array['from'](_0x28de9a['values']());}var _0x36454d=function(){const _0x147ce0=_0x6b9591;return _0x36454d=Object['assign']||function(_0x4371e0){const _0x5bcbdf=_0x2b52;for(var _0x4bdd4f,_0x6836fd=0x1,_0x122bc5=arguments[_0x5bcbdf(0x1cb)];_0x6836fd<_0x122bc5;_0x6836fd++){_0x4bdd4f=arguments[_0x6836fd];for(var _0x306f4 in _0x4bdd4f)Object[_0x5bcbdf(0x128)][_0x5bcbdf(0x1bd)]['call'](_0x4bdd4f,_0x306f4)&&(_0x4371e0[_0x306f4]=_0x4bdd4f[_0x306f4]);}return _0x4371e0;},_0x36454d[_0x147ce0(0x215)](this,arguments);},_0x200f08=function(_0x21a47b,_0x2e0ebe){const _0x5e1997=_0x6b9591;var _0x8b60bd={};for(var _0x20ec7c in _0x21a47b)Object[_0x5e1997(0x128)]['hasOwnProperty'][_0x5e1997(0x2e7)](_0x21a47b,_0x20ec7c)&&_0x2e0ebe[_0x5e1997(0x373)](_0x20ec7c)<0x0&&(_0x8b60bd[_0x20ec7c]=_0x21a47b[_0x20ec7c]);if(_0x21a47b!=null&&typeof Object[_0x5e1997(0x38f)]==_0x5e1997(0x189)){for(var _0x46c0d9=0x0,_0x20ec7c=Object[_0x5e1997(0x38f)](_0x21a47b);_0x46c0d9<_0x20ec7c[_0x5e1997(0x1cb)];_0x46c0d9++)_0x2e0ebe[_0x5e1997(0x373)](_0x20ec7c[_0x46c0d9])<0x0&&Object[_0x5e1997(0x128)][_0x5e1997(0x2b7)][_0x5e1997(0x2e7)](_0x21a47b,_0x20ec7c[_0x46c0d9])&&(_0x8b60bd[_0x20ec7c[_0x46c0d9]]=_0x21a47b[_0x20ec7c[_0x46c0d9]]);}return _0x8b60bd;},_0x578a4e=_0x471115[_0x6b9591(0x154)](function(_0x390612,_0x260ed4){const _0x57e8a5=_0x6b9591;var _0x1c8b4b=_0x390612[_0x57e8a5(0x110)],_0x3dbe6d=_0x390612['id'],_0x5cfa46=_0x390612[_0x57e8a5(0x250)],_0x19a0d9=_0x390612['extend'],_0x3c0330=_0x200f08(_0x390612,[_0x57e8a5(0x110),'id','className',_0x57e8a5(0x1ff)]),_0x12828a='univerjs-icon\x20univerjs-icon-'[_0x57e8a5(0x112)](_0x3dbe6d,'\x20')[_0x57e8a5(0x112)](_0x5cfa46||'')[_0x57e8a5(0x126)](),_0x33e183=_0x471115['useRef']('_'[_0x57e8a5(0x112)](_0x25d6bb()));return _0x40e89d(_0x1c8b4b,''[_0x57e8a5(0x112)](_0x3dbe6d),{'defIds':_0x1c8b4b[_0x57e8a5(0x194)],'idSuffix':_0x33e183['current']},_0x36454d({'ref':_0x260ed4,'className':_0x12828a},_0x3c0330),_0x19a0d9);});function _0x40e89d(_0x59ac7a,_0x27882d,_0x59b3ed,_0x1e0583,_0x117c6e){const _0x214770=_0x6b9591;return _0x471115['createElement'](_0x59ac7a[_0x214770(0x12e)],_0x36454d(_0x36454d({'key':_0x27882d},_0x6bc538(_0x59ac7a,_0x59b3ed,_0x117c6e)),_0x1e0583),(_0xdc2f4f(_0x59ac7a,_0x59b3ed)[_0x214770(0x29c)]||[])['map'](function(_0x515a0e,_0x2ec783){const _0x4f3c3d=_0x214770;return _0x40e89d(_0x515a0e,''[_0x4f3c3d(0x112)](_0x27882d,'-')['concat'](_0x59ac7a['tag'],'-')[_0x4f3c3d(0x112)](_0x2ec783),_0x59b3ed,void 0x0,_0x117c6e);}));}function _0x6bc538(_0x38912d,_0x5810d9,_0x49ea87){const _0xb90be7=_0x6b9591;var _0x284a76=_0x36454d({},_0x38912d[_0xb90be7(0x1e9)]);_0x49ea87!=null&&_0x49ea87['colorChannel1']&&_0x284a76['fill']==='colorChannel1'&&(_0x284a76[_0xb90be7(0x1b0)]=_0x49ea87['colorChannel1']),_0x38912d[_0xb90be7(0x12e)]==='mask'&&_0x284a76['id']&&(_0x284a76['id']=_0x284a76['id']+_0x5810d9[_0xb90be7(0x201)]),Object[_0xb90be7(0x142)](_0x284a76)['forEach'](function(_0x41b573){const _0x68f33b=_0xb90be7;var _0x1bd03a=_0x41b573[0x0],_0xabcd26=_0x41b573[0x1];_0x1bd03a===_0x68f33b(0x15c)&&typeof _0xabcd26==_0x68f33b(0x1ed)&&(_0x284a76[_0x1bd03a]=_0xabcd26[_0x68f33b(0x270)](/url\(#(.*)\)/,_0x68f33b(0x1bb)[_0x68f33b(0x112)](_0x5810d9[_0x68f33b(0x201)],')')));});var _0x3f903d=_0x5810d9['defIds'];return!_0x3f903d||_0x3f903d['length']===0x0||(_0x38912d[_0xb90be7(0x12e)]===_0xb90be7(0x141)&&_0x284a76[_0xb90be7(0x186)]&&(_0x284a76[_0xb90be7(0x186)]=_0x284a76[_0xb90be7(0x186)]+_0x5810d9[_0xb90be7(0x201)]),Object['entries'](_0x284a76)[_0xb90be7(0x11b)](function(_0x40c73c){const _0x374d99=_0xb90be7;var _0x24a708=_0x40c73c[0x0],_0xe4fccc=_0x40c73c[0x1];typeof _0xe4fccc==_0x374d99(0x1ed)&&(_0x284a76[_0x24a708]=_0xe4fccc[_0x374d99(0x270)](/url\(#(.*)\)/,_0x374d99(0x1bb)[_0x374d99(0x112)](_0x5810d9['idSuffix'],')')));})),_0x284a76;}function _0xdc2f4f(_0x4ec035,_0x28b509){const _0x207a80=_0x6b9591;var _0x4522e2,_0x145232=_0x28b509['defIds'];return!_0x145232||_0x145232[_0x207a80(0x1cb)]===0x0?_0x4ec035:_0x4ec035['tag']===_0x207a80(0x143)&&(!((_0x4522e2=_0x4ec035[_0x207a80(0x29c)])===null||_0x4522e2===void 0x0)&&_0x4522e2['length'])?_0x36454d(_0x36454d({},_0x4ec035),{'children':_0x4ec035[_0x207a80(0x29c)][_0x207a80(0x1b7)](function(_0x3a64d){const _0x5c1db7=_0x207a80;return typeof _0x3a64d['attrs']['id']==_0x5c1db7(0x1ed)&&_0x145232&&_0x145232['includes'](_0x3a64d[_0x5c1db7(0x1e9)]['id'])?_0x36454d(_0x36454d({},_0x3a64d),{'attrs':_0x36454d(_0x36454d({},_0x3a64d[_0x5c1db7(0x1e9)]),{'id':_0x3a64d[_0x5c1db7(0x1e9)]['id']+_0x28b509[_0x5c1db7(0x201)]})}):_0x3a64d;})}):_0x4ec035;}function _0x25d6bb(){const _0x2b032b=_0x6b9591;return Math[_0x2b032b(0x202)]()[_0x2b032b(0x23c)](0x24)[_0x2b032b(0x2a6)](0x2,0x8);}_0x578a4e[_0x6b9591(0x20e)]=_0x6b9591(0x17a);var _0x3e7c7d={'tag':'svg','attrs':{'xmlns':_0x6b9591(0x1fd),'fill':'none','viewBox':_0x6b9591(0x171),'width':_0x6b9591(0x1e0),'height':_0x6b9591(0x1e0)},'children':[{'tag':'g','attrs':{'clipPath':_0x6b9591(0x23b)},'children':[{'tag':_0x6b9591(0x2b6),'attrs':{'stroke':_0x6b9591(0x239),'d':_0x6b9591(0x1f9),'strokeLinecap':'round','strokeLinejoin':_0x6b9591(0x30c),'strokeWidth':1.2}}]},{'tag':_0x6b9591(0x143),'attrs':{},'children':[{'tag':_0x6b9591(0x124),'attrs':{'id':_0x6b9591(0x134)},'children':[{'tag':_0x6b9591(0x2b6),'attrs':{'fill':_0x6b9591(0x318),'d':_0x6b9591(0x21f)}}]}]}],'defIds':[_0x6b9591(0x134)]},_0x1e2717=_0x471115['forwardRef'](function(_0x49c504,_0x2bc21a){const _0x1f5bfd=_0x6b9591;return _0x471115[_0x1f5bfd(0x2d6)](_0x578a4e,Object['assign']({},_0x49c504,{'id':_0x1f5bfd(0x244),'ref':_0x2bc21a,'icon':_0x3e7c7d}));});_0x1e2717['displayName']=_0x6b9591(0x30d);var _0x5f588c={'tag':_0x6b9591(0x291),'attrs':{'xmlns':_0x6b9591(0x1fd),'fill':_0x6b9591(0x104),'viewBox':_0x6b9591(0x261),'width':_0x6b9591(0x1e0),'height':_0x6b9591(0x1e0)},'children':[{'tag':'g','attrs':{'clipPath':_0x6b9591(0x176)},'children':[{'tag':_0x6b9591(0x2b6),'attrs':{'stroke':_0x6b9591(0x239),'d':_0x6b9591(0x31d),'strokeLinecap':_0x6b9591(0x30c),'strokeLinejoin':_0x6b9591(0x30c),'strokeWidth':1.2}}]},{'tag':_0x6b9591(0x143),'attrs':{},'children':[{'tag':_0x6b9591(0x124),'attrs':{'id':_0x6b9591(0x150)},'children':[{'tag':_0x6b9591(0x2b6),'attrs':{'fill':_0x6b9591(0x318),'d':_0x6b9591(0x21f),'transform':_0x6b9591(0x1e1)}}]}]}],'defIds':[_0x6b9591(0x150)]},_0x1f0acc=_0x471115[_0x6b9591(0x154)](function(_0x38bcc8,_0x56f62b){const _0x30c445=_0x6b9591;return _0x471115[_0x30c445(0x2d6)](_0x578a4e,Object[_0x30c445(0x262)]({},_0x38bcc8,{'id':_0x30c445(0x18e),'ref':_0x56f62b,'icon':_0x5f588c}));});_0x1f0acc['displayName']='OnLineIcon';function _0x44d6fe(_0x5ab572){const _0x3c23f4=_0x6b9591;switch(_0x5ab572){case _0x353bdb['CollaborationStatus']['OFFLINE']:return _0x3c23f4(0x152);case _0x353bdb[_0x3c23f4(0x155)][_0x3c23f4(0x2a7)]:return _0x3c23f4(0x19d);case _0x353bdb[_0x3c23f4(0x155)]['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x353bdb[_0x3c23f4(0x155)][_0x3c23f4(0x157)]:return _0x3c23f4(0xfb);case _0x353bdb[_0x3c23f4(0x155)][_0x3c23f4(0x1c9)]:case _0x353bdb[_0x3c23f4(0x155)][_0x3c23f4(0x308)]:return _0x3c23f4(0x2a9);case _0x353bdb['CollaborationStatus']['SYNCED']:case _0x353bdb[_0x3c23f4(0x155)][_0x3c23f4(0x37c)]:return _0x3c23f4(0x36a);}}function _0x52b7e7(_0x32e1b9){const _0x476524=_0x6b9591,{status$:_0x203013}=_0x32e1b9,_0x5b3301=_0x124131[_0x476524(0x1eb)](_0x203013,_0x353bdb[_0x476524(0x155)]['NOT_COLLAB']),_0x4a4c81=_0x124131['useDependency'](_0x4f4b1a[_0x476524(0x32c)]),_0x1c495c=_0x124131[_0x476524(0x10e)](_0x353bdb[_0x476524(0x1bf)]),_0x3eca46=_0x5b3301!==_0x353bdb[_0x476524(0x155)][_0x476524(0x37f)],_0xd178f9=_0x4a4c81['t'](_0x44d6fe(_0x5b3301)),_0x1f177f=_0x3eca46?_0x5d3531[_0x476524(0x33e)](_0x1f0acc,{}):_0x5d3531[_0x476524(0x33e)](_0x1e2717,{}),_0x310806=_0x471115[_0x476524(0x190)](()=>{const _0x41ae09=_0x476524;_0x3eca46||_0x1c495c[_0x41ae09(0x297)]();},[_0x3eca46,_0x1c495c]);function _0x37972a(){const _0x3b8a10=_0x476524;return _0x5d3531['jsxs'](_0x3b8a10(0x2cc),{'className':_0x3b8a10(0x12c),'onClick':_0x310806,'children':[_0x5d3531[_0x3b8a10(0x33e)](_0x3b8a10(0x2cc),{'className':_0x532a93[_0x3b8a10(0x2cb)]('univer-flex\x20univer-mr-2\x20univer-text-xl',{'univer-text-green-500':_0x3eca46,'univer-text-red-500':!_0x3eca46}),'children':_0x1f177f}),_0x5d3531[_0x3b8a10(0x33e)]('div',{'className':_0x3b8a10(0x306),'children':_0xd178f9})]});}return _0x3eca46?_0x37972a():_0x5d3531[_0x476524(0x33e)](_0x532a93[_0x476524(0x13f)],{'title':_0x4a4c81['t']('collab-client.tooltip.reconnect'),'children':_0x37972a()});}var _0x46fbfc=Object[_0x6b9591(0x158)],_0x1d527b=(_0xca967e,_0x151e78,_0x3ea691,_0x2f02a8)=>{const _0x6114b=_0x6b9591;for(var _0x40d46a=_0x2f02a8>0x1?void 0x0:_0x2f02a8?_0x46fbfc(_0x151e78,_0x3ea691):_0x151e78,_0x22703e=_0xca967e[_0x6114b(0x1cb)]-0x1,_0x3601c6;_0x22703e>=0x0;_0x22703e--)(_0x3601c6=_0xca967e[_0x22703e])&&(_0x40d46a=_0x3601c6(_0x40d46a)||_0x40d46a);return _0x40d46a;},_0x471327=(_0x4f55ac,_0x3ad069)=>(_0x463cd1,_0x3c0f0b)=>_0x3ad069(_0x463cd1,_0x3c0f0b,_0x4f55ac);_0x2a7733['DesktopCollaborationStatusDisplayController']=class extends _0x4f4b1a[_0x6b9591(0x169)]{constructor(_0x202f6a,_0x437b96,_0x51b189,_0x45282e){const _0x453976=_0x6b9591;super(),_0x54ef86(this,_0x453976(0x106),new _0x4c8fcf[(_0x453976(0x231))](_0x353bdb['CollaborationStatus'][_0x453976(0x157)])),(this['_univerInstanceService']=_0x202f6a,this[_0x453976(0x15f)]=_0x437b96,this[_0x453976(0x17d)]=_0x51b189,this[_0x453976(0x376)]=_0x45282e,this['_initStatusComponent'](),this[_0x453976(0x1d8)]());}[_0x6b9591(0x1d8)](){const _0x2f3c3e=_0x6b9591;this[_0x2f3c3e(0x132)](this[_0x2f3c3e(0x330)][_0x2f3c3e(0x18d)]['pipe'](_0x4c8fcf[_0x2f3c3e(0x358)](()=>{const _0x45ca61=_0x2f3c3e,_0x5c03ae=this['_univerInstanceService'][_0x45ca61(0x15e)]();return _0x5c03ae?this['_collaborationController']['getCollabEntity$'](_0x5c03ae[_0x45ca61(0x27c)]()):_0x4c8fcf['of'](null);}),_0x4c8fcf[_0x2f3c3e(0x358)](_0xfdaf2d=>_0xfdaf2d?_0xfdaf2d[_0x2f3c3e(0x10d)]:_0x4c8fcf['of'](_0x353bdb['CollaborationStatus'][_0x2f3c3e(0x157)])))[_0x2f3c3e(0x187)](_0x484d1a=>{const _0x4fd2fe=_0x2f3c3e;this[_0x4fd2fe(0x106)][_0x4fd2fe(0x1a5)](_0x484d1a);}));}['_initStatusComponent'](){const _0x145f12=_0x6b9591;this[_0x145f12(0x132)](this['_uiPartsService']['registerComponent'](_0x124131[_0x145f12(0x127)][_0x145f12(0x29f)],()=>_0x124131[_0x145f12(0x23a)](_0x4e2278({'status$':this['_status$'][_0x145f12(0x303)]()}),this[_0x145f12(0x15f)])));}},_0x2a7733[_0x6b9591(0x280)]=_0x1d527b([_0x471327(0x0,_0x4f4b1a[_0x6b9591(0x17b)]),_0x471327(0x1,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a['Injector'])),_0x471327(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x353bdb[_0x6b9591(0x353)])),_0x471327(0x3,_0x124131[_0x6b9591(0x284)])],_0x2a7733[_0x6b9591(0x280)]);function _0x4e2278(_0x467f31){const {status$:_0xd4ba30}=_0x467f31;return function(){const _0x41e9ee=_0x2b52;return _0x5d3531[_0x41e9ee(0x33e)](_0x52b7e7,{'status$':_0xd4ba30});};}var _0x27ee5e=Object[_0x6b9591(0x158)],_0x20a0ed=(_0x5d7c37,_0x13fcf4,_0x1827cb,_0x278337)=>{const _0x56d5ae=_0x6b9591;for(var _0x1396ea=_0x278337>0x1?void 0x0:_0x278337?_0x27ee5e(_0x13fcf4,_0x1827cb):_0x13fcf4,_0x5c2a20=_0x5d7c37[_0x56d5ae(0x1cb)]-0x1,_0x3dd82c;_0x5c2a20>=0x0;_0x5c2a20--)(_0x3dd82c=_0x5d7c37[_0x5c2a20])&&(_0x1396ea=_0x3dd82c(_0x1396ea)||_0x1396ea);return _0x1396ea;},_0x3c11ee=(_0x5b5350,_0x273b23)=>(_0x2b1232,_0x494f76)=>_0x273b23(_0x2b1232,_0x494f76,_0x5b5350);let _0x1ea07d=class extends _0x4f4b1a[_0x6b9591(0x169)]{constructor(_0x317379,_0x1cc8e8,_0x199acc,_0x96f466,_0x41cf3b,_0x3c6a6d){const _0x1d38ff=_0x6b9591;super(),this[_0x1d38ff(0x385)]=_0x317379,this[_0x1d38ff(0x228)]=_0x1cc8e8,this['_collaborationUIEventService']=_0x199acc,this[_0x1d38ff(0x281)]=_0x96f466,this['_notificationService']=_0x41cf3b,this[_0x1d38ff(0x377)]=_0x3c6a6d,this[_0x1d38ff(0x25e)](),this[_0x1d38ff(0x230)]();}['_setupBeforeClosingHandler'](){this['disposeWithMe'](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x39bbb7=_0x2b52;if(this[_0x39bbb7(0x228)][_0x39bbb7(0x113)]['size'])return this['_localeService']['t'](_0x39bbb7(0x307));}));}[_0x6b9591(0x230)](){const _0x53ba2d=_0x6b9591;this[_0x53ba2d(0x132)](this[_0x53ba2d(0x109)][_0x53ba2d(0x38b)]['subscribe'](_0x60b41e=>{const _0x37c3d5=_0x53ba2d;_0x60b41e['id']===_0x353bdb[_0x37c3d5(0x30f)][_0x37c3d5(0x255)]&&this[_0x37c3d5(0x281)][_0x37c3d5(0x219)]({'type':_0x532a93['MessageType'][_0x37c3d5(0x1d7)],'content':this[_0x37c3d5(0x377)]['t']('collaboration.single-unit.warning')}),_0x60b41e['id']===_0x353bdb['CollaborationUIEventId'][_0x37c3d5(0x2e5)]&&this[_0x37c3d5(0x281)][_0x37c3d5(0x219)]({'type':_0x532a93['MessageType'][_0x37c3d5(0x1d7)],'content':this[_0x37c3d5(0x377)]['t']('collaboration.closeRoom')}),_0x60b41e['id']===_0x353bdb[_0x37c3d5(0x30f)][_0x37c3d5(0x1a0)]&&this[_0x37c3d5(0x1f1)]['show']({'title':this['_localeService']['t'](_0x37c3d5(0x16a)),'content':this['_localeService']['t'](_0x37c3d5(0x30a)),'type':'error','duration':0x0}),_0x60b41e['id']===_0x353bdb[_0x37c3d5(0x30f)]['CONFLICT']&&this['_messageService'][_0x37c3d5(0x219)]({'type':_0x532a93['MessageType']['Error'],'content':this[_0x37c3d5(0x377)]['t']('collaboration.closeRoom')+'('+_0x60b41e[_0x37c3d5(0x1e7)]+')'}),_0x60b41e['id']===_0x353bdb[_0x37c3d5(0x30f)]['JOIN_ROOM_FAILED']&&this[_0x37c3d5(0x281)]['show']({'type':_0x532a93[_0x37c3d5(0x386)][_0x37c3d5(0x1d7)],'content':this[_0x37c3d5(0x377)]['t'](_0x60b41e['data']||'')}),_0x60b41e['id']===_0x353bdb[_0x37c3d5(0x30f)][_0x37c3d5(0x1d5)]&&this[_0x37c3d5(0x281)][_0x37c3d5(0x219)]({'type':_0x532a93['MessageType'][_0x37c3d5(0x1d7)],'content':this['_localeService']['t'](_0x37c3d5(0x100))}),_0x60b41e['id']===_0x353bdb[_0x37c3d5(0x30f)]['SOCKET_FAILED']&&this[_0x37c3d5(0x281)][_0x37c3d5(0x219)]({'type':_0x532a93[_0x37c3d5(0x386)][_0x37c3d5(0x37e)],'content':this[_0x37c3d5(0x377)]['t'](_0x37c3d5(0x384))}),_0x60b41e['id']===_0x353bdb[_0x37c3d5(0x30f)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x37c3d5(0x281)][_0x37c3d5(0x219)]({'type':_0x532a93[_0x37c3d5(0x386)]['Error'],'content':this[_0x37c3d5(0x377)]['t'](_0x37c3d5(0x1f3))});}));}};_0x1ea07d=_0x20a0ed([_0x3c11ee(0x0,_0x124131['IBeforeCloseService']),_0x3c11ee(0x1,_0x353bdb[_0x6b9591(0x2d1)]),_0x3c11ee(0x2,_0x4f4b1a['Inject'](_0x353bdb[_0x6b9591(0x34c)])),_0x3c11ee(0x3,_0x124131[_0x6b9591(0x2fb)]),_0x3c11ee(0x4,_0x124131[_0x6b9591(0x207)]),_0x3c11ee(0x5,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a[_0x6b9591(0x32c)]))],_0x1ea07d);const _0x2208a6=_0x6b9591(0x33a),_0xbc1202={},_0x4b3148=_0x4f4b1a[_0x6b9591(0x184)](_0x6b9591(0x238));var _0xe67ad9=Object[_0x6b9591(0x158)],_0xa19887=(_0x4ac041,_0x170cce,_0x4a6eeb,_0x2d57d7)=>{for(var _0x5af5bf=_0x2d57d7>0x1?void 0x0:_0x2d57d7?_0xe67ad9(_0x170cce,_0x4a6eeb):_0x170cce,_0x2f5a1c=_0x4ac041['length']-0x1,_0x38d4e6;_0x2f5a1c>=0x0;_0x2f5a1c--)(_0x38d4e6=_0x4ac041[_0x2f5a1c])&&(_0x5af5bf=_0x38d4e6(_0x5af5bf)||_0x5af5bf);return _0x5af5bf;},_0x39c86b=(_0x7236b,_0x1d1f20)=>(_0xc43cb,_0x216661)=>_0x1d1f20(_0xc43cb,_0x216661,_0x7236b);_0x2a7733[_0x6b9591(0x2df)]=class extends _0x4f4b1a[_0x6b9591(0x114)]{constructor(_0x331973,_0x304745,_0x1327a3,_0x34d808,_0x324f89){const _0x39b747=_0x6b9591;super(),this['_urlService']=_0x331973,this[_0x39b747(0x1e4)]=_0x304745,this['_commandService']=_0x1327a3,this['_dataLoaderService']=_0x34d808,_0x324f89?_0x324f89==null||_0x324f89[_0x39b747(0x2b4)]()[_0x39b747(0x34f)](()=>this[_0x39b747(0x167)]()):(this[_0x39b747(0x1e4)][_0x39b747(0x130)](_0x39b747(0x2ff),_0x39b747(0x312)),this[_0x39b747(0x167)]());}async[_0x6b9591(0x167)](){const _0x24d66d=_0x6b9591,_0x592291=this[_0x24d66d(0x21e)][_0x24d66d(0x293)](_0x24d66d(0x267)),_0x29785c=this[_0x24d66d(0x21e)]['getParam'](_0x24d66d(0x2bf)),_0x22c120=this[_0x24d66d(0x21e)][_0x24d66d(0x293)](_0x24d66d(0x349));if(!_0x592291||!_0x29785c){this[_0x24d66d(0x1e4)][_0x24d66d(0x130)]('[CollaborationDataLoaderController]',_0x24d66d(0x319));return;}const _0x230247=await this[_0x24d66d(0x11f)][_0x24d66d(0x32b)](_0x592291,Number(_0x29785c),_0x22c120);_0x230247&&_0x230247 instanceof _0x4f4b1a[_0x24d66d(0x136)]&&this[_0x24d66d(0x188)](_0x230247);}async[_0x6b9591(0x188)](_0x5dd7d0){const _0x35767a=_0x6b9591;await this[_0x35767a(0x1e8)](_0x5dd7d0),_0x5dd7d0[_0x35767a(0x35d)][_0x35767a(0x342)](_0x4c8fcf[_0x35767a(0x375)](this[_0x35767a(0x311)]))[_0x35767a(0x187)](_0x3d5b35=>{const _0x4d44d5=_0x35767a;_0x3d5b35&&this[_0x4d44d5(0x371)](_0x3d5b35);}),this['_urlService']['urlChange$'][_0x35767a(0x342)](_0x4c8fcf['takeUntil'](this[_0x35767a(0x311)]))[_0x35767a(0x187)](()=>this['_updateSubUnitFromURLParams'](_0x5dd7d0));}['_updateURLWithCurrentState'](_0x3611b6,_0x2f5026=!0x1){const _0xc8965c=_0x6b9591,_0x11ee53=this['_urlService'][_0xc8965c(0x293)]('subunit');_0x3611b6[_0xc8965c(0x23e)]()!==_0x11ee53&&this[_0xc8965c(0x21e)][_0xc8965c(0x1fb)](_0xc8965c(0x349),_0x3611b6['getSheetId'](),_0x2f5026);}async[_0x6b9591(0x1e8)](_0x37aee2){const _0xe44994=_0x6b9591;var _0x15779e;const _0x5666d1=this[_0xe44994(0x21e)][_0xe44994(0x293)](_0xe44994(0x349));if(!_0x5666d1||!_0x37aee2[_0xe44994(0x2f8)](_0x5666d1)){const _0x23594e=_0x37aee2[_0xe44994(0x34d)]()[0x0],_0xca76bb=_0x37aee2['getSheetBySheetId'](_0x23594e);if(!_0xca76bb)return;this['_updateURLWithCurrentState'](_0xca76bb,!0x0),await this[_0xe44994(0x360)]['executeCommand'](_0x54d6f1['SetWorksheetActivateCommand']['id'],{'unitId':_0x37aee2[_0xe44994(0x27c)](),'subUnitId':_0x23594e});return;}((_0x15779e=_0x37aee2[_0xe44994(0x119)]())==null?void 0x0:_0x15779e[_0xe44994(0x23e)]())!==_0x5666d1&&await this['_commandService'][_0xe44994(0x15a)](_0x54d6f1[_0xe44994(0x10b)]['id'],{'unitId':_0x37aee2[_0xe44994(0x27c)](),'subUnitId':_0x5666d1});}},_0x2a7733[_0x6b9591(0x2df)]=_0xa19887([_0x39c86b(0x0,_0x4b3148),_0x39c86b(0x1,_0x4f4b1a[_0x6b9591(0x111)]),_0x39c86b(0x2,_0x4f4b1a[_0x6b9591(0x174)]),_0x39c86b(0x3,_0x4f4b1a[_0x6b9591(0x22e)](_0x353bdb[_0x6b9591(0x118)])),_0x39c86b(0x4,_0x4f4b1a[_0x6b9591(0x352)](_0x14ce2b[_0x6b9591(0x1c3)]))],_0x2a7733[_0x6b9591(0x2df)]);var _0x450642=Object[_0x6b9591(0x158)],_0x44f397=(_0x6d4dac,_0x476248,_0x332c39,_0x3a6993)=>{const _0x3b9c03=_0x6b9591;for(var _0xbdcc83=_0x3a6993>0x1?void 0x0:_0x3a6993?_0x450642(_0x476248,_0x332c39):_0x476248,_0x13dedb=_0x6d4dac[_0x3b9c03(0x1cb)]-0x1,_0x46a8c9;_0x13dedb>=0x0;_0x13dedb--)(_0x46a8c9=_0x6d4dac[_0x13dedb])&&(_0xbdcc83=_0x46a8c9(_0xbdcc83)||_0xbdcc83);return _0xbdcc83;},_0x3a9542=(_0x19b672,_0x105f8c)=>(_0x2e9a2e,_0x5eb344)=>_0x105f8c(_0x2e9a2e,_0x5eb344,_0x19b672);let _0x1583db=class{constructor(_0x3adc3e,_0x182586,_0xff4194){const _0x23ea69=_0x6b9591;this[_0x23ea69(0x15f)]=_0x3adc3e,this['_transformService']=_0x182586,this[_0x23ea69(0x251)]=_0xff4194;}[_0x6b9591(0x22b)](_0x315695){this['_transformUndoRedoStack'](_0x315695),this['_transformPreviousActiveRange'](_0x315695);}[_0x6b9591(0x2ce)](_0x17dc79){const _0x4a31b5=_0x6b9591,{unitID:_0x436109}=_0x17dc79,_0x1764cc=this['_renderManagerService'][_0x4a31b5(0x2d5)](_0x436109)[_0x4a31b5(0x2ee)](_0x2a96f2['DocIMEInputManagerService']),{redoCache:_0x27b8d3}=_0x1764cc[_0x4a31b5(0x29e)]();if(_0x27b8d3[_0x4a31b5(0x1cb)]===0x0)return _0x17dc79;let _0x3c94c7=_0x4f4b1a[_0x4a31b5(0x20c)][_0x4a31b5(0x2e0)](_0x17dc79['mutations'][0x0]);for(let _0x5e02f7=0x0;_0x5e02f7<_0x27b8d3[_0x4a31b5(0x1cb)];_0x5e02f7++){const _0x3a9c54={'id':_0x4a31b5(0x2dc),'params':{..._0x27b8d3[_0x5e02f7]}},_0x353526=this['_transformService'][_0x4a31b5(0x2bd)](_0x3c94c7,_0x3a9c54,!0x1);if(_0x4afe31[_0x4a31b5(0x36f)](_0x353526))throw _0x353526[_0x4a31b5(0x1d6)];_0x3c94c7=_0x353526['m1Prime'];}return{..._0x4f4b1a[_0x4a31b5(0x20c)][_0x4a31b5(0x2e0)](_0x17dc79),'mutations':[_0x3c94c7]};}['_transformUndoRedoStack'](_0x548467){const _0x4f2619=_0x6b9591,{unitID:_0x1edb04}=_0x548467,_0x54de44=this['_renderManagerService'][_0x4f2619(0x2d5)](_0x1edb04)[_0x4f2619(0x2ee)](_0x2a96f2[_0x4f2619(0x378)]),{undoCache:_0x1cccf9,redoCache:_0x2b88b7}=_0x54de44[_0x4f2619(0x29e)]();if(_0x1cccf9[_0x4f2619(0x1cb)]===0x0||_0x2b88b7[_0x4f2619(0x1cb)]===0x0)return;const _0x288c59=[],_0x37ee8f=[];let _0x37dd2c=_0x4f4b1a[_0x4f2619(0x20c)][_0x4f2619(0x2e0)](_0x548467[_0x4f2619(0x26a)][0x0]),_0x5dde5e=_0x4f4b1a[_0x4f2619(0x20c)]['deepClone'](_0x548467[_0x4f2619(0x26a)][0x0]);for(let _0x37628e=_0x1cccf9['length']-0x1;_0x37628e>=0x0;_0x37628e--){const _0x41a588={'id':_0x4f2619(0x2dc),'params':{..._0x1cccf9[_0x37628e]}},_0x24468e={'id':_0x4f2619(0x2dc),'params':{..._0x2b88b7[_0x37628e]}},_0x4aeadd=this['_transformService'][_0x4f2619(0x2bd)](_0x37dd2c,_0x41a588,!0x1),_0x29818e=this['_transformService']['transformMutation'](_0x5dde5e,_0x24468e,!0x1);if(_0x4afe31[_0x4f2619(0x36f)](_0x4aeadd))throw _0x4aeadd['error'];if(_0x4afe31[_0x4f2619(0x36f)](_0x29818e))throw _0x29818e['error'];_0x288c59[_0x4f2619(0x14c)](_0x4aeadd[_0x4f2619(0x299)][_0x4f2619(0x17c)]),_0x37ee8f[_0x4f2619(0x14c)](_0x29818e['m2Prime']['params']),_0x37dd2c=_0x4aeadd[_0x4f2619(0x247)],_0x5dde5e=_0x29818e['m1Prime'];}_0x54de44[_0x4f2619(0x2ad)]({'undoCache':_0x288c59,'redoCache':_0x37ee8f});}['_transformPreviousActiveRange'](_0x178a04){const _0x55e9fe=_0x6b9591,{unitID:_0x238f04}=_0x178a04,_0xe68814=this[_0x55e9fe(0x251)][_0x55e9fe(0x2d5)](_0x238f04)[_0x55e9fe(0x2ee)](_0x2a96f2[_0x55e9fe(0x378)]),_0x540b47=_0xe68814[_0x55e9fe(0x1d9)]();if(_0x540b47==null)return;const _0x5dc4ab=[{'id':_0x55e9fe(0x2dc),'params':{'unitId':_0x178a04['unitID'],'actions':null,'textRanges':[_0x540b47]}}],_0x33a7b2=this[_0x55e9fe(0x24d)][_0x55e9fe(0x379)](_0x178a04,_0x5dc4ab);if(!_0x4afe31[_0x55e9fe(0xfe)](_0x33a7b2))throw _0x33a7b2[_0x55e9fe(0x1d6)];const _0x52edcc=_0x33a7b2[_0x55e9fe(0x299)][0x0][_0x55e9fe(0x17c)][_0x55e9fe(0x138)];Array[_0x55e9fe(0x2dd)](_0x52edcc)&&_0x52edcc[_0x55e9fe(0x1cb)]&&_0xe68814[_0x55e9fe(0x278)](_0x52edcc[0x0]);}};_0x1583db=_0x44f397([_0x3a9542(0x0,_0x4f4b1a['Inject'](_0x4f4b1a['Injector'])),_0x3a9542(0x1,_0x4afe31['ITransformService']),_0x3a9542(0x2,_0x4be59a['IRenderManagerService'])],_0x1583db);var _0x401651=Object[_0x6b9591(0x158)],_0xc002bf=(_0x3711bc,_0x17916e,_0x5b7de6,_0x2e088a)=>{const _0x4f06ea=_0x6b9591;for(var _0x2674c5=_0x2e088a>0x1?void 0x0:_0x2e088a?_0x401651(_0x17916e,_0x5b7de6):_0x17916e,_0x34541b=_0x3711bc[_0x4f06ea(0x1cb)]-0x1,_0x39e133;_0x34541b>=0x0;_0x34541b--)(_0x39e133=_0x3711bc[_0x34541b])&&(_0x2674c5=_0x39e133(_0x2674c5)||_0x2674c5);return _0x2674c5;},_0x5ace98=(_0x152c2c,_0x126e86)=>(_0xe596e8,_0x3aed16)=>_0x126e86(_0xe596e8,_0x3aed16,_0x152c2c);let _0x429a44=class{constructor(_0x20707d,_0x9bf776,_0x4c6969){const _0xcde17b=_0x6b9591;this[_0xcde17b(0x15f)]=_0x20707d,this[_0xcde17b(0x24d)]=_0x9bf776,this['_docStateChangeManagerService']=_0x4c6969;}[_0x6b9591(0x129)](_0x2d8e81){const _0x19b81d=_0x6b9591;this[_0x19b81d(0x2c7)](_0x2d8e81);}[_0x6b9591(0x2ce)](_0x3bf8dc){const _0x4e61d6=_0x6b9591,{unitID:_0x2d3a11}=_0x3bf8dc,{collaboration:_0x36a677}=this[_0x4e61d6(0x237)][_0x4e61d6(0x18c)](_0x2d3a11);if(_0x36a677[_0x4e61d6(0x1cb)]===0x0)return _0x3bf8dc;let _0x47613c=_0x4f4b1a[_0x4e61d6(0x20c)][_0x4e61d6(0x2e0)](_0x3bf8dc[_0x4e61d6(0x26a)][0x0]);for(let _0x50b12a=0x0;_0x50b12a<_0x36a677['length'];_0x50b12a++){const _0x55a111={'id':_0x4e61d6(0x2dc),'params':{'unitId':_0x36a677[_0x50b12a][_0x4e61d6(0x248)],..._0x36a677[_0x50b12a][_0x4e61d6(0x107)]}},_0x1dfd9f=this[_0x4e61d6(0x24d)][_0x4e61d6(0x2bd)](_0x47613c,_0x55a111,!0x1);if(_0x4afe31['isTransformMutationFailure'](_0x1dfd9f))throw _0x1dfd9f[_0x4e61d6(0x1d6)];_0x47613c=_0x1dfd9f[_0x4e61d6(0x247)];}return{..._0x4f4b1a['Tools'][_0x4e61d6(0x2e0)](_0x3bf8dc),'mutations':[_0x47613c]};}[_0x6b9591(0x2c7)](_0x301e36){const _0x260735=_0x6b9591,{unitID:_0x34091c}=_0x301e36,{history:_0x6606b2,collaboration:_0x4e3830}=this['_docStateChangeManagerService'][_0x260735(0x18c)](_0x34091c);if(_0x6606b2[_0x260735(0x1cb)]===0x0&&_0x4e3830[_0x260735(0x1cb)]===0x0)return;const _0x55e27=[],_0x14b861=[];let _0x4052cf=_0x4f4b1a[_0x260735(0x20c)]['deepClone'](_0x301e36[_0x260735(0x26a)][0x0]),_0x46d45e=_0x4f4b1a[_0x260735(0x20c)][_0x260735(0x2e0)](_0x301e36[_0x260735(0x26a)][0x0]);for(let _0x23882c=_0x6606b2[_0x260735(0x1cb)]-0x1;_0x23882c>=0x0;_0x23882c--){const _0x22d89b={'id':_0x260735(0x2dc),'params':{'unitId':_0x6606b2[_0x23882c][_0x260735(0x248)],..._0x6606b2[_0x23882c][_0x260735(0x196)]}},_0x19bf37={'id':_0x260735(0x2dc),'params':{'unitId':_0x6606b2[_0x23882c][_0x260735(0x248)],..._0x6606b2[_0x23882c]['redoState']}},_0x3c11f3=this[_0x260735(0x24d)]['transformMutation'](_0x4052cf,_0x22d89b,!0x1),_0x317250=this[_0x260735(0x24d)]['transformMutation'](_0x46d45e,_0x19bf37,!0x1);if(_0x4afe31[_0x260735(0x36f)](_0x3c11f3))throw _0x3c11f3[_0x260735(0x1d6)];if(_0x4afe31[_0x260735(0x36f)](_0x317250))throw _0x317250[_0x260735(0x1d6)];_0x55e27[_0x260735(0x14c)]({..._0x6606b2[_0x23882c],'undoState':_0x3c11f3['m2Prime'][_0x260735(0x17c)],'redoState':_0x317250['m2Prime'][_0x260735(0x17c)]}),_0x4052cf=_0x3c11f3[_0x260735(0x247)],_0x46d45e=_0x317250[_0x260735(0x247)];}_0x4052cf=_0x4f4b1a['Tools'][_0x260735(0x2e0)](_0x301e36[_0x260735(0x26a)][0x0]),_0x46d45e=_0x4f4b1a[_0x260735(0x20c)][_0x260735(0x2e0)](_0x301e36[_0x260735(0x26a)][0x0]);for(let _0x385d68=_0x4e3830[_0x260735(0x1cb)]-0x1;_0x385d68>=0x0;_0x385d68--){const _0x82bdd7={'id':_0x260735(0x2dc),'params':{'unitId':_0x4e3830[_0x385d68]['unitId'],..._0x4e3830[_0x385d68]['undoState']}},_0x5ca8ce={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4e3830[_0x385d68]['unitId'],..._0x4e3830[_0x385d68][_0x260735(0x107)]}},_0x3efdb8=this[_0x260735(0x24d)]['transformMutation'](_0x4052cf,_0x82bdd7,!0x1),_0xc27c60=this[_0x260735(0x24d)][_0x260735(0x2bd)](_0x46d45e,_0x5ca8ce,!0x1);if(_0x4afe31[_0x260735(0x36f)](_0x3efdb8))throw _0x3efdb8[_0x260735(0x1d6)];if(_0x4afe31[_0x260735(0x36f)](_0xc27c60))throw _0xc27c60[_0x260735(0x1d6)];_0x14b861[_0x260735(0x14c)]({..._0x4e3830[_0x385d68],'undoState':_0x3efdb8['m2Prime'][_0x260735(0x17c)],'redoState':_0xc27c60[_0x260735(0x299)][_0x260735(0x17c)]}),_0x4052cf=_0x3efdb8[_0x260735(0x247)],_0x46d45e=_0xc27c60['m1Prime'];}this[_0x260735(0x237)]['setStateCache'](_0x34091c,{'history':_0x55e27,'collaboration':_0x14b861});}};_0x429a44=_0xc002bf([_0x5ace98(0x0,_0x4f4b1a['Inject'](_0x4f4b1a[_0x6b9591(0x172)])),_0x5ace98(0x1,_0x4afe31['ITransformService']),_0x5ace98(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x2a96f2['DocStateChangeManagerService']))],_0x429a44);var _0x5d95b2=Object['getOwnPropertyDescriptor'],_0x371e8f=(_0xa2e2d1,_0x3493ef,_0x5b3287,_0x51d356)=>{const _0x23e844=_0x6b9591;for(var _0x56fb8e=_0x51d356>0x1?void 0x0:_0x51d356?_0x5d95b2(_0x3493ef,_0x5b3287):_0x3493ef,_0x58aa0a=_0xa2e2d1[_0x23e844(0x1cb)]-0x1,_0x3844c9;_0x58aa0a>=0x0;_0x58aa0a--)(_0x3844c9=_0xa2e2d1[_0x58aa0a])&&(_0x56fb8e=_0x3844c9(_0x56fb8e)||_0x56fb8e);return _0x56fb8e;},_0x227109=(_0xe790ec,_0x47f9fd)=>(_0x20e463,_0x35330d)=>_0x47f9fd(_0x20e463,_0x35330d,_0xe790ec);let _0x3fa842=class{constructor(_0x3cb2f0,_0x4bbd69){const _0x4ef079=_0x6b9591;this[_0x4ef079(0x15f)]=_0x3cb2f0,this[_0x4ef079(0x24d)]=_0x4bbd69;}['transformSelections'](_0x3f651f){const _0x244b87=_0x6b9591;var _0x492bb7;const _0x1293c3=this['_injector'][_0x244b87(0x2b0)](_0x49ed44[_0x244b87(0x396)]),_0x3d3fa4=(_0x492bb7=_0x1293c3[_0x244b87(0x25c)]())!=null?_0x492bb7:[];if(_0x3d3fa4['length']===0x0)return;const _0x5469a5=_0x3f651f['unitID'],_0x123076=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5469a5,'actions':null,'textRanges':_0x3d3fa4}}],_0x5807c5=this[_0x244b87(0x24d)][_0x244b87(0x379)](_0x3f651f,_0x123076);if(!_0x4afe31[_0x244b87(0xfe)](_0x5807c5))throw _0x5807c5[_0x244b87(0x1d6)];const _0x5cfbaf=_0x5807c5[_0x244b87(0x299)][0x0][_0x244b87(0x17c)][_0x244b87(0x138)];Array[_0x244b87(0x2dd)](_0x5cfbaf)&&_0x5cfbaf[_0x244b87(0x1cb)]&&_0x1293c3[_0x244b87(0x313)](_0x5cfbaf,{'unitId':_0x5469a5,'subUnitId':_0x5469a5},!0x1);}};_0x3fa842=_0x371e8f([_0x227109(0x0,_0x4f4b1a['Inject'](_0x4f4b1a[_0x6b9591(0x172)])),_0x227109(0x1,_0x4afe31[_0x6b9591(0x11e)])],_0x3fa842);var _0x2b922d=Object[_0x6b9591(0x158)],_0x337f3e=(_0x1a7132,_0x2ad878,_0x3dc723,_0x41f374)=>{const _0x23b063=_0x6b9591;for(var _0x15ca54=_0x41f374>0x1?void 0x0:_0x41f374?_0x2b922d(_0x2ad878,_0x3dc723):_0x2ad878,_0x362292=_0x1a7132[_0x23b063(0x1cb)]-0x1,_0x51faad;_0x362292>=0x0;_0x362292--)(_0x51faad=_0x1a7132[_0x362292])&&(_0x15ca54=_0x51faad(_0x15ca54)||_0x15ca54);return _0x15ca54;},_0x2c7adc=(_0x4d560d,_0x151221)=>(_0x26ba3b,_0x98835e)=>_0x151221(_0x26ba3b,_0x98835e,_0x4d560d);let _0x4f247d=class extends _0x4f4b1a[_0x6b9591(0x169)]{constructor(_0x2b5f9f,_0x155d3b,_0x16516e,_0x4543ed,_0x1095b8,_0x32d79b,_0x1bc546,_0x2c8e18){const _0x507e30=_0x6b9591;super(),_0x54ef86(this,_0x507e30(0x106),new _0x4c8fcf[(_0x507e30(0x231))](_0x353bdb[_0x507e30(0x155)][_0x507e30(0x157)])),(this[_0x507e30(0x237)]=_0x2b5f9f,this[_0x507e30(0x17d)]=_0x155d3b,this[_0x507e30(0x1db)]=_0x16516e,this[_0x507e30(0x241)]=_0x4543ed,this[_0x507e30(0x30e)]=_0x1095b8,this[_0x507e30(0x105)]=_0x32d79b,this[_0x507e30(0x281)]=_0x1bc546,this['_localeService']=_0x2c8e18,this[_0x507e30(0x1d4)]());}[_0x6b9591(0x1d4)](){const _0x4e4a51=_0x6b9591;this['disposeWithMe'](this['_collaborationController'][_0x4e4a51(0x363)][_0x4e4a51(0x187)](_0x43c05f=>{const _0x2b8029=_0x4e4a51,_0x337301=this[_0x2b8029(0x237)]['docStateChange$'][_0x2b8029(0x187)](_0x5a0b16=>{const _0x5cf038=_0x2b8029;if(_0x5a0b16==null)return;const {unitId:_0x5ce1d2,redoState:_0x22fe1a,commandId:_0x5e19fb}=_0x5a0b16;if(_0x5ce1d2!==_0x43c05f[_0x5cf038(0x30b)])return;const _0x1e4793={'id':_0x5e19fb,'type':_0x4f4b1a[_0x5cf038(0x1d0)][_0x5cf038(0x21d)],'params':{'unitId':_0x5ce1d2,'actions':_0x22fe1a[_0x5cf038(0x38e)],'textRanges':null}};_0x43c05f[_0x5cf038(0x2bb)](_0x1e4793);});if(_0x43c05f['disposeWithMe'](_0x337301),_0x43c05f instanceof _0x353bdb[_0x2b8029(0x333)]){const _0x4f2c86={'onTransformIME':_0x1ba45a=>this[_0x2b8029(0x1db)][_0x2b8029(0x22b)](_0x1ba45a),'onTransformState':_0x136393=>this[_0x2b8029(0x241)][_0x2b8029(0x129)](_0x136393),'onTransformSelections':_0x17f7bd=>this['_docTransformSelectionsService'][_0x2b8029(0x359)](_0x17f7bd),'onSyncEditingCollabCursor':_0x405022=>this['_docSyncEditingCollabCursorService'][_0x2b8029(0x13b)](_0x405022),'onTransformRemoteChangesetByIMECache':_0x147da9=>this[_0x2b8029(0x1db)][_0x2b8029(0x2ce)](_0x147da9),'onTransformRemoteChangesetByStateCache':_0x52cc21=>this[_0x2b8029(0x241)]['transformRemoteChangeset'](_0x52cc21)};_0x43c05f[_0x2b8029(0x206)](_0x4f2c86);}}));}};_0x4f247d=_0x337f3e([_0x2c7adc(0x0,_0x4f4b1a[_0x6b9591(0x22e)](_0x2a96f2[_0x6b9591(0x29b)])),_0x2c7adc(0x1,_0x4f4b1a[_0x6b9591(0x22e)](_0x353bdb[_0x6b9591(0x353)])),_0x2c7adc(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x1583db)),_0x2c7adc(0x3,_0x4f4b1a['Inject'](_0x429a44)),_0x2c7adc(0x4,_0x4f4b1a[_0x6b9591(0x22e)](_0x3fa842)),_0x2c7adc(0x5,_0x4f4b1a['Inject'](_0x35f7e0)),_0x2c7adc(0x6,_0x124131[_0x6b9591(0x2fb)]),_0x2c7adc(0x7,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a['LocaleService']))],_0x4f247d);var _0x4cc03a=Object[_0x6b9591(0x158)],_0x454128=(_0x59a24c,_0x7d19f,_0x5bd65d,_0xac4544)=>{const _0x43a17b=_0x6b9591;for(var _0x316a9a=_0xac4544>0x1?void 0x0:_0xac4544?_0x4cc03a(_0x7d19f,_0x5bd65d):_0x7d19f,_0x5b4268=_0x59a24c[_0x43a17b(0x1cb)]-0x1,_0x33130d;_0x5b4268>=0x0;_0x5b4268--)(_0x33130d=_0x59a24c[_0x5b4268])&&(_0x316a9a=_0x33130d(_0x316a9a)||_0x316a9a);return _0x316a9a;},_0x66f667=(_0x549b40,_0x243b5e)=>(_0x4aecab,_0x124ef3)=>_0x243b5e(_0x4aecab,_0x124ef3,_0x549b40);let _0x5535a3=class extends _0x4f4b1a[_0x6b9591(0x169)]{constructor(_0x15c300,_0x34b2ba,_0xd7d968){const _0x2fec29=_0x6b9591;super(),_0x54ef86(this,_0x2fec29(0x2da),new Map()),_0x54ef86(this,_0x2fec29(0x339),new Map()),_0x54ef86(this,'_disabled',!0x1),(this['_configService']=_0x15c300,this['_localStorageService']=_0x34b2ba,this[_0x2fec29(0x173)]=_0xd7d968);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x6b9591(0x357)](){const _0x17baf4=_0x6b9591;this[_0x17baf4(0x10f)]=!0x1;}get[_0x6b9591(0x113)](){const _0x3dc8=_0x6b9591;return this[_0x3dc8(0x339)];}[_0x6b9591(0x161)](){const _0x4c0664=_0x6b9591;this[_0x4c0664(0x266)]()[_0x4c0664(0x34f)](()=>super[_0x4c0664(0x161)]());}async[_0x6b9591(0x13e)](_0x20a9a6){const _0x555ce3=_0x6b9591;return this['_disabled']?null:this['_localStorageService'][_0x555ce3(0x18b)](_0x353bdb[_0x555ce3(0x2f5)](_0x20a9a6));}async['saveOfflineData'](_0x2d7de5,_0x4662be){return!!this['_localStorageService']['setItem'](_0x2d7de5,_0x4662be);}[_0x6b9591(0x2ab)](_0x5b8613,_0x5d0597,_0x3ce286,_0x3274d8){const _0x244530=_0x6b9591,_0x40f878=this[_0x244530(0x173)]['getCurrentRevOfUnit'](_0x5b8613);this['_cachedData'][_0x244530(0x1dd)](_0x5b8613,{'unitID':_0x5b8613,'type':_0x5d0597,'awaitingChangeset':_0x3ce286,'mutations':_0x3274d8,'rev':_0x40f878}),this[_0x244530(0x339)][_0x244530(0x164)](_0x5b8613)||this[_0x244530(0x1b9)](_0x5b8613);}[_0x6b9591(0x1b9)](_0x50635c){const _0x27fb07=_0x6b9591,_0x3e1604=this[_0x27fb07(0x2f4)]();_0x3e1604===0x0?this['_saveCache'](_0x50635c):this[_0x27fb07(0x339)]['set'](_0x50635c,setTimeout(()=>this[_0x27fb07(0x393)](_0x50635c),_0x3e1604));}[_0x6b9591(0x2f4)](){const _0x318173=_0x6b9591;var _0x36ea90;return(_0x36ea90=this['_configService'][_0x318173(0x25a)](_0x353bdb['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x36ea90:_0x353bdb[_0x318173(0x310)];}[_0x6b9591(0x393)](_0x393bfa){const _0x211fea=_0x6b9591,_0x4219e4=this[_0x211fea(0x339)]['get'](_0x393bfa);return _0x4219e4!==void 0x0&&window[_0x211fea(0x258)](_0x4219e4),this['_localStorageService']['setItem'](_0x353bdb[_0x211fea(0x2f5)](_0x393bfa),this[_0x211fea(0x2da)][_0x211fea(0x2b0)](_0x393bfa))[_0x211fea(0x34f)](()=>this['_saveTaskMap'][_0x211fea(0x1df)](_0x393bfa));}async[_0x6b9591(0x266)](){const _0x20ac6e=_0x6b9591,_0x1363ea=[];this['_saveTaskMap'][_0x20ac6e(0x11b)]((_0x2d1a53,_0x1ece34)=>{const _0x5bf7ba=_0x20ac6e;window[_0x5bf7ba(0x258)](_0x2d1a53),_0x1363ea[_0x5bf7ba(0x121)](this[_0x5bf7ba(0x393)](_0x1ece34)[_0x5bf7ba(0x34f)](()=>{const _0x4a4200=_0x5bf7ba;this[_0x4a4200(0x339)][_0x4a4200(0x1df)](_0x1ece34);}));}),await Promise['all'](_0x1363ea);}};_0x5535a3=_0x454128([_0x66f667(0x0,_0x4f4b1a[_0x6b9591(0x2a1)]),_0x66f667(0x1,_0x4f4b1a[_0x6b9591(0x235)]),_0x66f667(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x4afe31[_0x6b9591(0x369)]))],_0x5535a3);class _0x3cd49d extends _0x4f4b1a['RxDisposable']{constructor(){const _0x154d78=_0x6b9591;super(),_0x54ef86(this,_0x154d78(0xff)),this['urlChange$']=_0x4c8fcf[_0x154d78(0x283)](window,_0x154d78(0x20d))[_0x154d78(0x342)](_0x4c8fcf[_0x154d78(0x375)](this[_0x154d78(0x311)]),_0x4c8fcf[_0x154d78(0x2d4)](0x1),_0x4c8fcf[_0x154d78(0x214)](void 0x0));}[_0x6b9591(0x1fb)](_0x2b0488,_0xc2af85,_0x34bec1=!0x1){const _0x149238=_0x6b9591,_0x4521a2=new URL(window['location'][_0x149238(0x24a)]);_0x4521a2['searchParams'][_0x149238(0x1dd)](_0x2b0488,_0xc2af85),_0x34bec1?window[_0x149238(0x372)]['replaceState']('','',_0x4521a2['toString']()):window[_0x149238(0x372)][_0x149238(0x183)]('','',_0x4521a2[_0x149238(0x23c)]());}[_0x6b9591(0x36c)](_0x2c111b,_0x282a4e=!0x1){const _0x274de3=_0x6b9591,_0x468de9=new URL(window['location'][_0x274de3(0x24a)]);_0x468de9[_0x274de3(0x269)][_0x274de3(0x1df)](_0x2c111b),_0x282a4e?window[_0x274de3(0x372)][_0x274de3(0x2b5)]('','',_0x468de9[_0x274de3(0x23c)]()):window['history'][_0x274de3(0x183)]('','',_0x468de9['toString']());}['getParam'](_0x5c30b3){const _0x5d5ca1=_0x6b9591;var _0x173e49;return(_0x173e49=new URL(window[_0x5d5ca1(0x1a1)][_0x5d5ca1(0x24a)])[_0x5d5ca1(0x269)][_0x5d5ca1(0x2b0)](_0x5c30b3))!=null?_0x173e49:void 0x0;}}var _0x43e26a=Object[_0x6b9591(0x329)],_0xba8734=Object[_0x6b9591(0x158)],_0x22fb79=(_0x41ee65,_0x4d3c42,_0x193770)=>_0x4d3c42 in _0x41ee65?_0x43e26a(_0x41ee65,_0x4d3c42,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x193770}):_0x41ee65[_0x4d3c42]=_0x193770,_0x3fa0cc=(_0x1fd013,_0x5b2365,_0x1863e1,_0x450ce3)=>{const _0x24e75e=_0x6b9591;for(var _0x1f8994=_0x450ce3>0x1?void 0x0:_0x450ce3?_0xba8734(_0x5b2365,_0x1863e1):_0x5b2365,_0x38b387=_0x1fd013[_0x24e75e(0x1cb)]-0x1,_0x521b11;_0x38b387>=0x0;_0x38b387--)(_0x521b11=_0x1fd013[_0x38b387])&&(_0x1f8994=_0x521b11(_0x1f8994)||_0x1f8994);return _0x1f8994;},_0x519955=(_0x3e8b60,_0x1fe9be)=>(_0x1ef89d,_0x19a565)=>_0x1fe9be(_0x1ef89d,_0x19a565,_0x3e8b60),_0xe66951=(_0x256594,_0x12b11a,_0x201039)=>_0x22fb79(_0x256594,_0x12b11a+'',_0x201039);const _0x2fa5d2=_0x6b9591(0x316);_0x2a7733[_0x6b9591(0x26f)]=class extends _0x4f4b1a[_0x6b9591(0x14a)]{constructor(_0x161ad5=_0xbc1202,_0x229988,_0x1a9c88,_0x1338c4){const _0x3ab7c3=_0x6b9591;super(),this[_0x3ab7c3(0x2b8)]=_0x161ad5,this[_0x3ab7c3(0x251)]=_0x229988,this['_injector']=_0x1a9c88,this[_0x3ab7c3(0x392)]=_0x1338c4;const {..._0x38ceaa}=_0x4f4b1a[_0x3ab7c3(0x315)]({},_0xbc1202,this[_0x3ab7c3(0x2b8)]);this[_0x3ab7c3(0x392)][_0x3ab7c3(0x2c6)](_0x2208a6,_0x38ceaa);}['onStarting'](){const _0xf6e32e=_0x6b9591;this['_registerDependencies'](),this[_0xf6e32e(0x2f0)]();}[_0x6b9591(0x204)](){const _0x17c177=_0x6b9591;this[_0x17c177(0x33d)]();}['_registerDependencies'](){const _0x39be3d=_0x6b9591;var _0x4bc6da;const _0x38e70f=[[_0x3e1aeb],[_0x3fa842],[_0x1583db],[_0x429a44],[_0x35f7e0],[_0x4b3148,{'useClass':_0x3cd49d}],[_0x504bfb[_0x39be3d(0x19c)],{'useClass':_0x504bfb[_0x39be3d(0x123)]}],[_0x353bdb['ILocalCacheService'],{'useClass':_0x5535a3}],[_0x2a7733[_0x39be3d(0x280)]],[_0x4f247d],[_0x1ea07d],[_0x24a51e],[_0x2c4cde],[_0x2a7733['CollaborationDataLoaderController']]];_0x4f4b1a[_0x39be3d(0x13c)](this[_0x39be3d(0x15f)],_0x4f4b1a[_0x39be3d(0x32d)](_0x38e70f,(_0x4bc6da=this['_config'])==null?void 0x0:_0x4bc6da[_0x39be3d(0x125)]));}[_0x6b9591(0x33d)](){const _0x30760b=_0x6b9591;this[_0x30760b(0x132)](this[_0x30760b(0x251)]['registerRenderModule'](_0x4f4b1a[_0x30760b(0x298)][_0x30760b(0x34b)],[_0x3717cb])),this[_0x30760b(0x132)](this[_0x30760b(0x251)][_0x30760b(0x211)](_0x4f4b1a[_0x30760b(0x298)][_0x30760b(0x274)],[_0x46a92e]));}[_0x6b9591(0x2f0)](){const _0x35e7c3=_0x6b9591;_0x4f4b1a[_0x35e7c3(0x28d)](this[_0x35e7c3(0x15f)],[[_0x24a51e],[_0x2a7733[_0x35e7c3(0x280)]],[_0x4f247d],[_0x1ea07d],[_0x2a7733[_0x35e7c3(0x2df)]]]);}},_0xe66951(_0x2a7733[_0x6b9591(0x26f)],_0x6b9591(0x16d),_0x2fa5d2),_0x2a7733['UniverCollaborationClientUIPlugin']=_0x3fa0cc([_0x4f4b1a['DependentOn'](_0x353bdb[_0x6b9591(0x156)]),_0x519955(0x1,_0x4be59a['IRenderManagerService']),_0x519955(0x2,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a[_0x6b9591(0x172)])),_0x519955(0x3,_0x4f4b1a[_0x6b9591(0x2a1)])],_0x2a7733['UniverCollaborationClientUIPlugin']);var _0x485ea3=Object[_0x6b9591(0x158)],_0x52d1fe=(_0x2f331e,_0x4a6af2,_0x321902,_0x3ec975)=>{const _0x1aec85=_0x6b9591;for(var _0xb4be52=_0x3ec975>0x1?void 0x0:_0x3ec975?_0x485ea3(_0x4a6af2,_0x321902):_0x4a6af2,_0x23bf75=_0x2f331e[_0x1aec85(0x1cb)]-0x1,_0x7eb395;_0x23bf75>=0x0;_0x23bf75--)(_0x7eb395=_0x2f331e[_0x23bf75])&&(_0xb4be52=_0x7eb395(_0xb4be52)||_0xb4be52);return _0xb4be52;},_0x5914fa=(_0x539435,_0x22d72f)=>(_0x234d99,_0x351382)=>_0x22d72f(_0x234d99,_0x351382,_0x539435);_0x2a7733[_0x6b9591(0x1a6)]=class extends _0x353bdb['CollaborationSocketService']{constructor(_0x5bc58b,_0x15fe31,_0xe0257c,_0x16016f,_0x4a7dab){super(_0x5bc58b,_0x15fe31,_0xe0257c,_0x16016f,_0x4a7dab);}async[_0x6b9591(0x322)](_0x3e79ff){const _0x2a0dc4=_0x6b9591,_0x180453=await this[_0x2a0dc4(0x22c)](),_0x469462=this['_createSocketURL'](_0x3e79ff,_0x180453);return this[_0x2a0dc4(0x38c)](_0x469462);}[_0x6b9591(0x197)](_0x56b9f5,_0x42f66b){const _0x4da61d=_0x6b9591,_0x393f14=typeof window>'u'?new URL(_0x56b9f5):new URL(_0x56b9f5,window['location']['origin']);_0x393f14[_0x4da61d(0x269)][_0x4da61d(0x1dd)]('sessionTicket',_0x42f66b);const _0x4e6398=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4da61d(0x1a1)][_0x4da61d(0x1ab)]);return _0x4e6398[_0x4da61d(0x2b0)](_0x4da61d(0x2c0))&&_0x393f14[_0x4da61d(0x269)]['set']('runId',_0x4e6398[_0x4da61d(0x2b0)](_0x4da61d(0x2c0))),_0x393f14['toString']();}async[_0x6b9591(0x22c)](){const _0x299e6c=_0x6b9591;var _0x510188,_0x1d6360,_0x1c11e9;const _0x52fff9=this[_0x299e6c(0x392)][_0x299e6c(0x25a)](_0x353bdb[_0x299e6c(0x24f)]),_0x40deca=(_0x510188=_0x52fff9==null?void 0x0:_0x52fff9['wsSessionTicketUrl'])!=null?_0x510188:_0x353bdb[_0x299e6c(0x13a)];return(_0x1c11e9=(_0x1d6360=(await this[_0x299e6c(0x14f)][_0x299e6c(0x2b0)](_0x40deca,{'headers':{'Content-Type':_0x299e6c(0x277)}}))[_0x299e6c(0x351)])==null?void 0x0:_0x1d6360[_0x299e6c(0x2a4)])!=null?_0x1c11e9:'';}},_0x2a7733[_0x6b9591(0x1a6)]=_0x52d1fe([_0x5914fa(0x0,_0x4f4b1a[_0x6b9591(0x22e)](_0x4f4b1a[_0x6b9591(0x172)])),_0x5914fa(0x1,_0x4f4b1a['Inject'](_0x504bfb['HTTPService'])),_0x5914fa(0x2,_0x4f4b1a['IConfigService']),_0x5914fa(0x3,_0x4f4b1a[_0x6b9591(0x111)]),_0x5914fa(0x4,_0x4afe31[_0x6b9591(0x2b3)])],_0x2a7733[_0x6b9591(0x1a6)]);const _0x2e2d4d=0x7530,_0x45cdd7=_0x6b9591(0xfa);class _0x619342 extends _0x4f4b1a[_0x6b9591(0x169)]{constructor(){const _0x6dd940=_0x6b9591;super(),_0x54ef86(this,_0x6dd940(0x367),_0x4f4b1a[_0x6dd940(0x26b)]()),_0x54ef86(this,_0x6dd940(0x36b),new Set()),_0x54ef86(this,_0x6dd940(0x15b),new Map()),_0x54ef86(this,'_heartbeatTimer',null),_0x54ef86(this,_0x6dd940(0x328),new Map()),_0x54ef86(this,'_unitStatus',new Map()),this[_0x6dd940(0x167)]();}[_0x6b9591(0x161)](){const _0x4e816d=_0x6b9591;super[_0x4e816d(0x161)](),this[_0x4e816d(0x328)][_0x4e816d(0x11b)]((_0x149d03,_0xcc92f0)=>this[_0x4e816d(0x257)](_0xcc92f0)),this[_0x4e816d(0x24c)]&&window[_0x4e816d(0x1c8)](this[_0x4e816d(0x24c)]);}[_0x6b9591(0x304)](_0x4ef0b9){const _0x3cd969=_0x6b9591;return this[_0x3cd969(0x31c)](_0x4ef0b9)['pipe'](_0x4c8fcf[_0x3cd969(0x27f)]());}['editingUnit'](_0x5b0bdd){const _0x3c6772=_0x6b9591;this[_0x3c6772(0x36b)][_0x3c6772(0x223)]===0x0&&this[_0x3c6772(0x268)](),this[_0x3c6772(0x36b)][_0x3c6772(0x2c2)](_0x5b0bdd),this[_0x3c6772(0x27a)]({'type':0x0,'memberID':this[_0x3c6772(0x367)],'unitIDs':[_0x5b0bdd],'isForwarded':!0x1});}[_0x6b9591(0x2e8)](_0x14c2a9){const _0x21271a=_0x6b9591;this[_0x21271a(0x36b)][_0x21271a(0x1df)](_0x14c2a9),this['_selfUnitIDs'][_0x21271a(0x223)]===0x0&&this[_0x21271a(0x24c)]&&window[_0x21271a(0x1c8)](this[_0x21271a(0x24c)]);}[_0x6b9591(0x167)](){const _0x27d8f6=_0x6b9591;this[_0x27d8f6(0x132)](_0x4f4b1a[_0x27d8f6(0x36d)](_0x4c8fcf[_0x27d8f6(0x283)](window,_0x27d8f6(0x116))[_0x27d8f6(0x187)](_0x10b819=>{const _0x4aa856=_0x27d8f6;if(_0x10b819['key']!==_0x45cdd7||!_0x10b819['newValue'])return;const _0x5e2541=JSON[_0x4aa856(0x117)](_0x10b819[_0x4aa856(0x2f9)]);this[_0x4aa856(0x11d)](_0x5e2541);}))),window['addEventListener'](_0x27d8f6(0x2ac),()=>this[_0x27d8f6(0x27a)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0x3e612e){const _0x108105=_0x6b9591;switch(_0x3e612e[_0x108105(0x2bf)]){case 0x0:this[_0x108105(0x1c5)](_0x3e612e);break;case 0x1:this['_handleLeaveEvent'](_0x3e612e);break;case 0x2:this[_0x108105(0x2bc)](_0x3e612e);break;}}[_0x6b9591(0x1c5)](_0x3de3a6){const _0x3bb4e=_0x6b9591,{unitIDs:_0x53a888,memberID:_0x1f87de,isForwarded:_0x1a54d8}=_0x3de3a6;_0x53a888[_0x3bb4e(0x11b)](_0x4b745b=>{const _0x2ebc9c=_0x3bb4e;if(!_0x1a54d8&&this[_0x2ebc9c(0x15b)][_0x2ebc9c(0x164)](_0x4b745b)&&this[_0x2ebc9c(0x31c)](_0x4b745b)['next'](_0x353bdb[_0x2ebc9c(0x137)][_0x2ebc9c(0x27e)]),!this[_0x2ebc9c(0x15b)][_0x2ebc9c(0x164)](_0x4b745b)||!this[_0x2ebc9c(0x15b)][_0x2ebc9c(0x2b0)](_0x4b745b)[_0x2ebc9c(0x164)](_0x1f87de)){const _0x3bf84f=this[_0x2ebc9c(0x15b)][_0x2ebc9c(0x2b0)](_0x4b745b)||new Set();_0x3bf84f[_0x2ebc9c(0x2c2)](_0x1f87de),this[_0x2ebc9c(0x15b)][_0x2ebc9c(0x1dd)](_0x4b745b,_0x3bf84f),this[_0x2ebc9c(0x25f)](_0x1f87de);}}),_0x1a54d8||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x3bb4e(0x36b)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x82ae89){const _0x5347d2=_0x6b9591;this['_removeClearOtherTimer'](_0x82ae89);const _0x118a7e=window[_0x5347d2(0x1c6)](()=>{const _0x170f22=_0x5347d2;this[_0x170f22(0x15b)][_0x170f22(0x11b)](_0x332581=>{const _0x4e5389=_0x170f22;_0x332581[_0x4e5389(0x1df)](_0x82ae89);});},_0x2e2d4d*0x2);this[_0x5347d2(0x328)][_0x5347d2(0x1dd)](_0x82ae89,_0x118a7e);}['_removeClearOtherTimer'](_0x5daf68){const _0x32f630=_0x6b9591;if(this[_0x32f630(0x328)][_0x32f630(0x164)](_0x5daf68)){const _0x5ee47e=this[_0x32f630(0x328)][_0x32f630(0x2b0)](_0x5daf68);_0x5ee47e&&window[_0x32f630(0x258)](_0x5ee47e),this[_0x32f630(0x328)][_0x32f630(0x1dd)](_0x5daf68,null);}}['_handleLeaveEvent'](_0x216f22){const _0x475217=_0x6b9591,{memberID:_0x4be71d,unitIDs:_0x5c04fa}=_0x216f22;_0x5c04fa[_0x475217(0x11b)](_0x2c0575=>{const _0x32a4d2=_0x475217;var _0x4bb15c;const _0xf754e7=this[_0x32a4d2(0x15b)]['get'](_0x2c0575);_0xf754e7&&(_0xf754e7[_0x32a4d2(0x1df)](_0x4be71d),(_0x4bb15c=this[_0x32a4d2(0x31c)](_0x2c0575))==null||_0x4bb15c[_0x32a4d2(0x1a5)](_0xf754e7['size']===0x0?_0x353bdb[_0x32a4d2(0x137)]['NO_OTHER_CLIENTS_EDITING']:_0x353bdb[_0x32a4d2(0x137)][_0x32a4d2(0x27e)]));}),this[_0x475217(0x257)](_0x4be71d);}[_0x6b9591(0x2bc)](_0xe34db9){const _0x2e5f42=_0x6b9591;this[_0x2e5f42(0x25f)](_0xe34db9[_0x2e5f42(0x38a)]);}[_0x6b9591(0x27a)](_0x163e2c){localStorage['setItem'](_0x45cdd7,JSON['stringify'](_0x163e2c));}[_0x6b9591(0x268)](){const _0x116f8c=_0x6b9591;this[_0x116f8c(0x24c)]=window['setInterval'](()=>{const _0x43595b=_0x116f8c;this['_send']({'type':0x2,'memberID':this[_0x43595b(0x367)]});},_0x2e2d4d);}[_0x6b9591(0x31c)](_0x191827){const _0x22f958=_0x6b9591;return this[_0x22f958(0x256)][_0x22f958(0x164)](_0x191827)||this[_0x22f958(0x256)]['set'](_0x191827,new _0x4c8fcf['BehaviorSubject'](_0x353bdb[_0x22f958(0x137)][_0x22f958(0x1f6)])),this['_unitStatus'][_0x22f958(0x2b0)](_0x191827);}}var _0x2a49c0=(_0x43b18c=>(_0x43b18c[_0x43b18c['UNDEFINED']=0x0]='UNDEFINED',_0x43b18c[_0x43b18c['OK']=0x1]='OK',_0x43b18c[_0x43b18c[_0x6b9591(0x28c)]=0x2]=_0x6b9591(0x28c),_0x43b18c[_0x43b18c[_0x6b9591(0x1a0)]=0x3]=_0x6b9591(0x1a0),_0x43b18c[_0x43b18c['NOT_FOUND']=0x4]=_0x6b9591(0x252),_0x43b18c[_0x43b18c[_0x6b9591(0x213)]=0x5]=_0x6b9591(0x213),_0x43b18c[_0x43b18c[_0x6b9591(0x305)]=0x6]=_0x6b9591(0x305),_0x43b18c[_0x43b18c[_0x6b9591(0x253)]=0x7]=_0x6b9591(0x253),_0x43b18c[_0x43b18c['TOO_MANY_REQUESTS']=0x8]=_0x6b9591(0x324),_0x43b18c[_0x43b18c['COMPLETION_FINISHED']=0x9]=_0x6b9591(0x2e1),_0x43b18c[_0x43b18c[_0x6b9591(0x395)]=0xa]=_0x6b9591(0x395),_0x43b18c[_0x43b18c['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x6b9591(0x31b),_0x43b18c[_0x43b18c[_0x6b9591(0x264)]=0x1771]=_0x6b9591(0x264),_0x43b18c[_0x43b18c['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x6b9591(0x26d),_0x43b18c[_0x43b18c[_0x6b9591(0x336)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x43b18c[_0x43b18c[_0x6b9591(0x102)]=0x1b59]='APPLY_REJECT',_0x43b18c[_0x43b18c[_0x6b9591(0x1fc)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x43b18c[_0x43b18c[_0x6b9591(0x18a)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x43b18c[_0x43b18c['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x6b9591(0x1d3),_0x43b18c[_0x43b18c[_0x6b9591(0x200)]=0x1b5d]=_0x6b9591(0x200),_0x43b18c[_0x43b18c[_0x6b9591(0x2c1)]=0x1f41]=_0x6b9591(0x2c1),_0x43b18c[_0x43b18c[_0x6b9591(0x338)]=0x2329]=_0x6b9591(0x338),_0x43b18c[_0x43b18c[_0x6b9591(0x246)]=0x232a]=_0x6b9591(0x246),_0x43b18c[_0x43b18c[_0x6b9591(0x2fa)]=0x232b]=_0x6b9591(0x2fa),_0x43b18c[_0x43b18c['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x6b9591(0x1ba),_0x43b18c[_0x43b18c[_0x6b9591(0x1b2)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x43b18c[_0x43b18c[_0x6b9591(0x182)]=0x2711]=_0x6b9591(0x182),_0x43b18c[_0x43b18c[_0x6b9591(0x2f1)]=0x2712]=_0x6b9591(0x2f1),_0x43b18c[_0x43b18c['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x6b9591(0x144),_0x43b18c[_0x43b18c[_0x6b9591(0x24b)]=0x2714]=_0x6b9591(0x24b),_0x43b18c[_0x43b18c[_0x6b9591(0x1ad)]=0x271a]=_0x6b9591(0x1ad),_0x43b18c[_0x43b18c[_0x6b9591(0x22a)]=0x271b]=_0x6b9591(0x22a),_0x43b18c[_0x43b18c[_0x6b9591(0x203)]=0x271c]=_0x6b9591(0x203),_0x43b18c[_0x43b18c[_0x6b9591(0x22f)]=0x271d]=_0x6b9591(0x22f),_0x43b18c[_0x43b18c['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x6b9591(0x1ee),_0x43b18c[_0x43b18c[_0x6b9591(0x295)]=0x271f]=_0x6b9591(0x295),_0x43b18c[_0x43b18c[_0x6b9591(0x354)]=0x2af9]=_0x6b9591(0x354),_0x43b18c[_0x43b18c['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x6b9591(0x35e),_0x43b18c[_0x43b18c[_0x6b9591(0x22d)]=0x2ee2]='INVALID_INVITE_CODE',_0x43b18c[_0x43b18c[_0x6b9591(0x13d)]=0x2ee3]=_0x6b9591(0x13d),_0x43b18c[_0x43b18c[_0x6b9591(0x1da)]=0x2ee4]=_0x6b9591(0x1da),_0x43b18c[_0x43b18c[_0x6b9591(0x1de)]=0x2ee5]=_0x6b9591(0x1de),_0x43b18c[_0x43b18c[_0x6b9591(0x2c9)]=0x32c9]=_0x6b9591(0x2c9),_0x43b18c[_0x43b18c[_0x6b9591(0x314)]=0x32ca]=_0x6b9591(0x314),_0x43b18c[_0x43b18c[_0x6b9591(0x11a)]=0x32cb]=_0x6b9591(0x11a),_0x43b18c[_0x43b18c['UNRECOGNIZED']=-0x1]='UNRECOGNIZED',_0x43b18c))(_0x2a49c0||{}),_0x4fbf59=Object[_0x6b9591(0x158)],_0x3630d3=(_0x4242fe,_0xc9fd4a,_0x7f26bf,_0x1ab8af)=>{const _0x48f2e7=_0x6b9591;for(var _0xfb3778=_0x1ab8af>0x1?void 0x0:_0x1ab8af?_0x4fbf59(_0xc9fd4a,_0x7f26bf):_0xc9fd4a,_0x4617bf=_0x4242fe[_0x48f2e7(0x1cb)]-0x1,_0x564a09;_0x4617bf>=0x0;_0x4617bf--)(_0x564a09=_0x4242fe[_0x4617bf])&&(_0xfb3778=_0x564a09(_0xfb3778)||_0xfb3778);return _0xfb3778;},_0x109e10=(_0xeaaecb,_0x287de6)=>(_0x4e0d23,_0x16f48e)=>_0x287de6(_0x4e0d23,_0x16f48e,_0xeaaecb);_0x2a7733[_0x6b9591(0x233)]=class extends _0x4f4b1a[_0x6b9591(0x169)]{constructor(_0x5bee84,_0x596888,_0x5e31c7){const _0x2cf79a=_0x6b9591;super(),this[_0x2cf79a(0x27d)]=_0x5bee84,this['_httpService']=_0x596888,this['_configService']=_0x5e31c7;}async[_0x6b9591(0x368)](_0x584418,_0x258467,_0x1f4062,..._0x4d6377){const _0x4eb75d=_0x6b9591;var _0x54390f,_0x1baa46,_0x4ec60b,_0x1222f5;const _0x123add=this[_0x4eb75d(0x27d)]['getFocusedUnit']();if(!_0x123add)throw new Error(_0x4eb75d(0x28a));const _0xbab313=((_0x54390f=this[_0x4eb75d(0x392)][_0x4eb75d(0x25a)](_0x353bdb[_0x4eb75d(0x2f2)]))!=null?_0x54390f:_0x353bdb['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x584418+'/run/'+_0x258467,_0x4b6cc8=new URL(window[_0x4eb75d(0x1a1)]['href']),_0x250c7b={'scriptId':_0x584418,'runId':(_0x1baa46=_0x4b6cc8[_0x4eb75d(0x269)][_0x4eb75d(0x2b0)](_0x4eb75d(0x2c0)))!=null?_0x1baa46:'','function':_0x258467,'unitId':_0x123add[_0x4eb75d(0x27c)](),'argsOfFunction':JSON['stringify'](_0x4d6377),'invokeId':(_0x4ec60b=_0x1f4062[_0x4eb75d(0x289)])!=null?_0x4ec60b:'','executionId':(_0x1222f5=_0x1f4062['executionId'])!=null?_0x1222f5:''};try{const _0x5546a2=await this[_0x4eb75d(0x14f)][_0x4eb75d(0x229)](_0xbab313,{'body':_0x250c7b});return _0x5546a2[_0x4eb75d(0x351)][_0x4eb75d(0x1d6)]&&_0x5546a2['body'][_0x4eb75d(0x1d6)][_0x4eb75d(0x309)]!==_0x2a49c0['OK']?_0x4eb75d(0x242):_0x5546a2['body'][_0x4eb75d(0x317)];}catch{return _0x4eb75d(0x242);}}},_0x2a7733['RemoteUniscriptService']=_0x3630d3([_0x109e10(0x0,_0x4f4b1a[_0x6b9591(0x17b)]),_0x109e10(0x1,_0x4f4b1a[_0x6b9591(0x22e)](_0x504bfb[_0x6b9591(0x10a)])),_0x109e10(0x2,_0x4f4b1a[_0x6b9591(0x2a1)])],_0x2a7733['RemoteUniscriptService']),_0x2a7733[_0x6b9591(0x1ec)]=_0x52b7e7,_0x2a7733[_0x6b9591(0x108)]=_0x4b3148,_0x2a7733[_0x6b9591(0x19a)]=_0x20e8ad,_0x2a7733[_0x6b9591(0x288)]=_0x619342,_0x2a7733[_0x6b9591(0x191)]=_0x3cd49d,Object['defineProperty'](_0x2a7733,Symbol[_0x6b9591(0x260)],{'value':'Module'});}));
1
+ (function(_0x43598f,_0x1ce069){const _0x3c682f=_0x25e4,_0x280911=_0x43598f();while(!![]){try{const _0x558bba=-parseInt(_0x3c682f(0x2b7))/0x1*(-parseInt(_0x3c682f(0x22d))/0x2)+parseInt(_0x3c682f(0x192))/0x3+parseInt(_0x3c682f(0x33b))/0x4+parseInt(_0x3c682f(0x136))/0x5*(-parseInt(_0x3c682f(0x34c))/0x6)+-parseInt(_0x3c682f(0x382))/0x7+parseInt(_0x3c682f(0x1b3))/0x8*(-parseInt(_0x3c682f(0x358))/0x9)+parseInt(_0x3c682f(0x1ed))/0xa*(parseInt(_0x3c682f(0x357))/0xb);if(_0x558bba===_0x1ce069)break;else _0x280911['push'](_0x280911['shift']());}catch(_0x23497c){_0x280911['push'](_0x280911['shift']());}}}(_0x225a,0x9fe35),function(_0x4c90d7,_0x5b5833){const _0x4061aa=_0x25e4;typeof exports==_0x4061aa(0x30e)&&typeof module<'u'?_0x5b5833(exports,require(_0x4061aa(0x2c9)),require(_0x4061aa(0x121)),require(_0x4061aa(0x2a6)),require(_0x4061aa(0x1d0)),require(_0x4061aa(0x256)),require(_0x4061aa(0x111)),require(_0x4061aa(0x114)),require('@univerjs/docs'),require(_0x4061aa(0x269)),require('@univerjs/engine-formula'),require(_0x4061aa(0x2d5)),require(_0x4061aa(0x348)),require(_0x4061aa(0x332)),require('react/jsx-runtime'),require(_0x4061aa(0x265)),require('@univerjs/design'),require(_0x4061aa(0x180)),require('@univerjs/rpc')):typeof define=='function'&&define[_0x4061aa(0x1d9)]?define([_0x4061aa(0x37e),_0x4061aa(0x2c9),'@univerjs/core',_0x4061aa(0x2a6),'@univerjs/network',_0x4061aa(0x256),_0x4061aa(0x111),_0x4061aa(0x114),'@univerjs/docs',_0x4061aa(0x269),'@univerjs/engine-formula','@univerjs/sheets',_0x4061aa(0x348),'@univerjs/sheets-ui','react/jsx-runtime',_0x4061aa(0x265),_0x4061aa(0x126),_0x4061aa(0x180),'@univerjs/rpc'],_0x5b5833):(_0x4c90d7=typeof globalThis<'u'?globalThis:_0x4c90d7||self,_0x5b5833(_0x4c90d7[_0x4061aa(0x211)]={},_0x4c90d7[_0x4061aa(0x254)],_0x4c90d7['UniverCore'],_0x4c90d7[_0x4061aa(0x20c)],_0x4c90d7[_0x4061aa(0x35c)],_0x4c90d7[_0x4061aa(0x326)],_0x4c90d7['UniverDrawing'],_0x4c90d7[_0x4061aa(0x114)],_0x4c90d7[_0x4061aa(0x215)],_0x4c90d7['UniverProCollaboration'],_0x4c90d7[_0x4061aa(0x289)],_0x4c90d7[_0x4061aa(0x1f9)],_0x4c90d7['rxjs'][_0x4061aa(0x1b6)],_0x4c90d7[_0x4061aa(0x2bb)],_0x4c90d7[_0x4061aa(0x37c)],_0x4c90d7['UniverUi'],_0x4c90d7[_0x4061aa(0x2dd)],_0x4c90d7['React'],_0x4c90d7[_0x4061aa(0x10f)]));}(this,function(_0x4392a1,_0x3d42b8,_0x20df47,_0x4e3aee,_0x230e9b,_0x8e9d75,_0x1a7423,_0x3396eb,_0xb95e52,_0x3395bd,_0x3bbe9e,_0x3148e7,_0xb9a466,_0x3410d0,_0x58edf1,_0x1229e7,_0x42ee62,_0x14d7ce,_0xdffc4){'use strict';const _0x364fc7=_0x25e4;var _0x24ec4f=Object['defineProperty'],_0x556e58=(_0x4c7413,_0x33b5a9,_0x181759)=>_0x33b5a9 in _0x4c7413?_0x24ec4f(_0x4c7413,_0x33b5a9,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x181759}):_0x4c7413[_0x33b5a9]=_0x181759,_0x4a92d0=(_0x55a34d,_0x41c959,_0x4087db)=>_0x556e58(_0x55a34d,typeof _0x41c959!=_0x364fc7(0x27e)?_0x41c959+'':_0x41c959,_0x4087db),_0xefbd97=Object[_0x364fc7(0x26c)],_0x1055ec=(_0x5d0c96,_0x1b0171,_0x43fb18,_0x503d5b)=>{for(var _0x500464=_0x503d5b>0x1?void 0x0:_0x503d5b?_0xefbd97(_0x1b0171,_0x43fb18):_0x1b0171,_0x48354c=_0x5d0c96['length']-0x1,_0x3af661;_0x48354c>=0x0;_0x48354c--)(_0x3af661=_0x5d0c96[_0x48354c])&&(_0x500464=_0x3af661(_0x500464)||_0x500464);return _0x500464;},_0xd365e8=(_0xbd8500,_0x55ba99)=>(_0x5bd548,_0x3a6158)=>_0x55ba99(_0x5bd548,_0x3a6158,_0xbd8500);let _0x5ecd54=class extends _0x20df47[_0x364fc7(0x36e)]{constructor(_0x429164,_0x3e8ea3){const _0x5d2c2a=_0x364fc7;super(),this[_0x5d2c2a(0x16e)]=_0x429164,this[_0x5d2c2a(0x24b)]=_0x3e8ea3,this[_0x5d2c2a(0x184)]();}[_0x364fc7(0x184)](){const _0x34ff83=_0x364fc7,_0x4dc90c=this;this[_0x34ff83(0x363)](this[_0x34ff83(0x16e)]['addClipboardHook']({'onBeforePasteImage':async _0xca6de1=>{const _0x3e8a93=_0x34ff83,_0x5bbdbc=await _0x4dc90c[_0x3e8a93(0x24b)]['saveImage'](_0xca6de1);return _0x5bbdbc?{'source':_0x5bbdbc['source'],'imageSourceType':_0x5bbdbc['imageSourceType']}:null;}}));}};_0x5ecd54=_0x1055ec([_0xd365e8(0x0,_0x8e9d75[_0x364fc7(0x17e)]),_0xd365e8(0x1,_0x1a7423[_0x364fc7(0x361)])],_0x5ecd54);const _0x2b4e89=[_0x364fc7(0x199),_0x364fc7(0x127),_0x364fc7(0x1d2),_0x364fc7(0x125),_0x364fc7(0x1e5),'yellow.400'];class _0x5cb8a1 extends _0x20df47['Disposable']{constructor(){const _0x5f0b9b=_0x364fc7;super(...arguments),_0x4a92d0(this,_0x5f0b9b(0x34b),new Map()),_0x4a92d0(this,_0x5f0b9b(0x384),0x0);}[_0x364fc7(0x286)](_0x10c989){const _0x3d163a=_0x364fc7;if(this[_0x3d163a(0x34b)]['has'](_0x10c989))return this[_0x3d163a(0x34b)][_0x3d163a(0x19c)](_0x10c989);const _0x2a4e04=_0x2b4e89[this[_0x3d163a(0x384)]];return this[_0x3d163a(0x384)]=(this['_colorIndex']+0x1)%_0x2b4e89[_0x3d163a(0x18f)],this[_0x3d163a(0x34b)][_0x3d163a(0x394)](_0x10c989,_0x2a4e04),_0x2a4e04;}}function _0x369e08(_0x26d382){const _0x32ecb6=_0x364fc7;let _0x16c485='';for(const _0x2f0e62 of _0x26d382){const {startOffset:_0x38e093,endOffset:_0x21d16c,isActive:_0x5c50a6,rangeType:_0x381761,segmentId:_0x272c90,segmentPage:_0x5b3d63}=_0x2f0e62;_0x16c485[_0x32ecb6(0x18f)]&&(_0x16c485+=','),_0x16c485+=_0x38e093+':'+_0x21d16c+':'+(_0x5c50a6?'1':'0')+':'+_0x381761+':'+_0x272c90+':'+_0x5b3d63;}return _0x16c485;}function _0x4d5903(_0x4cbc66){const _0x2dc81e=_0x364fc7,_0x5186bb=_0x4cbc66[_0x2dc81e(0x297)](','),_0x53972e=[];for(const _0xe46f15 of _0x5186bb){const [_0x542684,_0x27a484,_0x38468e,_0x4a1635,_0x5eda0b,_0x41c1b5]=_0xe46f15[_0x2dc81e(0x297)](':');_0x53972e[_0x2dc81e(0x1a5)]({'startOffset':Number(_0x542684),'endOffset':Number(_0x27a484),'collapsed':_0x542684===_0x27a484,'isActive':_0x38468e==='1','rangeType':_0x4a1635===_0x20df47[_0x2dc81e(0x1d5)]['TEXT']?_0x20df47[_0x2dc81e(0x1d5)][_0x2dc81e(0x279)]:_0x20df47['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x5eda0b=='string'?String(_0x5eda0b):'','segmentPage':Number(_0x41c1b5!=null?_0x41c1b5:-0x1)});}return _0x53972e[_0x2dc81e(0x1f6)](_0x5d1ac0=>_0x5d1ac0['isActive'])||(_0x53972e[0x0][_0x2dc81e(0x22b)]=!0x0),_0x53972e;}class _0x28b84a extends _0x20df47[_0x364fc7(0x36e)]{constructor(){const _0x403cd4=_0x364fc7;super(...arguments),_0x4a92d0(this,_0x403cd4(0x233),new _0x3396eb[(_0x403cd4(0x374))](null)),_0x4a92d0(this,'collabCursorState$',this['_collabCursorState$']['asObservable']());}[_0x364fc7(0x168)](_0x4f8fa2){const _0x3b1698=_0x364fc7,{unitID:_0x5086ef,memberID:_0x4eae28,textRanges:_0x5e618f}=_0x4f8fa2,_0x449b90=_0x369e08(_0x5e618f);if(_0x449b90==='')return;const _0x520053={'unitID':_0x5086ef,'memberID':_0x4eae28,'selection':_0x449b90};this[_0x3b1698(0x233)]['next'](_0x520053);}}var _0x59a0a5=Object[_0x364fc7(0x26c)],_0x2e8be0=(_0xb0271b,_0x2dbe14,_0x36a3db,_0x553219)=>{for(var _0x5a59fa=_0x553219>0x1?void 0x0:_0x553219?_0x59a0a5(_0x2dbe14,_0x36a3db):_0x2dbe14,_0x420d32=_0xb0271b['length']-0x1,_0x1565a4;_0x420d32>=0x0;_0x420d32--)(_0x1565a4=_0xb0271b[_0x420d32])&&(_0x5a59fa=_0x1565a4(_0x5a59fa)||_0x5a59fa);return _0x5a59fa;},_0x1bae86=(_0x756287,_0x3d3d86)=>(_0x3f8c7b,_0x3cef29)=>_0x3d3d86(_0x3f8c7b,_0x3cef29,_0x756287);const _0xcecaa9=0x12c,_0x776986=0x64;let _0x16045f=class extends _0x20df47[_0x364fc7(0x36e)]{constructor(_0x584166,_0x3405d3,_0xf6a7c3,_0x4338e5,_0x3dce3e,_0x51518a,_0x5bf332,_0x27f2a3,_0x370536){const _0x1f1853=_0x364fc7;super(),_0x4a92d0(this,_0x1f1853(0x2e9),!0x1),_0x4a92d0(this,_0x1f1853(0x184),!0x1),_0x4a92d0(this,_0x1f1853(0x1fc),new _0x3396eb[(_0x1f1853(0x374))](new Map())),_0x4a92d0(this,_0x1f1853(0x2f1),this[_0x1f1853(0x1fc)][_0x1f1853(0x29f)]()),_0x4a92d0(this,'_roomMembers$',new _0x3396eb[(_0x1f1853(0x374))]([])),_0x4a92d0(this,_0x1f1853(0x352),this[_0x1f1853(0x123)]['pipe'](_0x3396eb[_0x1f1853(0x26a)](_0xcecaa9))),_0x4a92d0(this,_0x1f1853(0x33a),_0x20df47[_0x1f1853(0x304)](_0x252319=>{const _0x3673a8=_0x1f1853,_0x388afa={'eventID':_0x3395bd[_0x3673a8(0x16a)][_0x3673a8(0x21a)],'data':{'unitID':this[_0x3673a8(0x25d)],'memberID':this[_0x3673a8(0x15f)][_0x3673a8(0x37b)](),'selection':_0x369e08(_0x252319)}};this[_0x3673a8(0x15f)][_0x3673a8(0x32c)](_0x388afa,this[_0x3673a8(0x25d)]);},_0x776986)),(this[_0x1f1853(0x25d)]=_0x584166,this['_session']=_0x3405d3,this[_0x1f1853(0x1b2)]=_0xf6a7c3,this['_colorAssignService']=_0x4338e5,this['_memberService']=_0x3dce3e,this[_0x1f1853(0x346)]=_0x51518a,this[_0x1f1853(0x1bf)]=_0x5bf332,this[_0x1f1853(0x1c2)]=_0x27f2a3,this[_0x1f1853(0x197)]=_0x370536);}get[_0x364fc7(0x209)](){const _0x5350c7=_0x364fc7;return this[_0x5350c7(0x1fc)]['getValue']();}get[_0x364fc7(0x112)](){const _0x17847=_0x364fc7;return this['_roomMembers$'][_0x17847(0x2c8)]();}[_0x364fc7(0x13f)](){const _0x13feac=_0x364fc7;super[_0x13feac(0x13f)](),this[_0x13feac(0x1fc)][_0x13feac(0x333)](new Map()),this['_cursorInfo$'][_0x13feac(0x2b2)](),this[_0x13feac(0x123)][_0x13feac(0x333)]([]),this[_0x13feac(0x123)][_0x13feac(0x2b2)]();}['init'](){const _0x5d3433=_0x364fc7;this[_0x5d3433(0x184)]||(this[_0x5d3433(0x184)]=!0x0,this[_0x5d3433(0x15f)][_0x5d3433(0x18a)][_0x5d3433(0x13a)](_0x3396eb[_0x5d3433(0x2ad)](this[_0x5d3433(0x365)]))[_0x5d3433(0x276)](_0x5d0dfc=>{const _0x28b22e=_0x5d3433;_0x5d0dfc===_0x3d42b8['SessionStatus'][_0x28b22e(0x306)]?this[_0x28b22e(0x1d6)]():this['_toggleOffline']();}),this[_0x5d3433(0x15f)][_0x5d3433(0x18d)][_0x5d3433(0x13a)](_0x3396eb[_0x5d3433(0x2ad)](this[_0x5d3433(0x365)]))[_0x5d3433(0x276)](_0x2e1b71=>{const _0x136ec2=_0x5d3433,_0x3de0e2=_0x2e1b71['eventID'];_0x3de0e2===_0x3395bd[_0x136ec2(0x16a)][_0x136ec2(0x21a)]&&this['_onCursorUpdate'](_0x2e1b71),_0x3de0e2===_0x3395bd[_0x136ec2(0x16a)][_0x136ec2(0x299)]&&this['_onCursorDelete'](_0x2e1b71);}),this['disposeWithMe'](this[_0x5d3433(0x197)][_0x5d3433(0x33f)](_0x4e3bec=>{const _0x3209b2=_0x5d3433,_0x934762=_0x4e3bec[_0x3209b2(0x1f3)];_0x934762!=null&&this['_online']&&_0x4e3bec['id']===_0xb95e52[_0x3209b2(0x2b5)]['id']&&_0x934762['unitId']===this[_0x3209b2(0x25d)]&&_0x934762[_0x3209b2(0x28c)]===!0x1&&_0x934762['ranges']['length']>0x0&&this['_updateLocalCursor'](_0x934762['ranges']);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x5d3433(0x13a)](_0x3396eb[_0x5d3433(0x2ad)](this[_0x5d3433(0x365)]))['subscribe'](_0x10d318=>{const _0x32f785=_0x5d3433;if((_0x10d318==null?void 0x0:_0x10d318[_0x32f785(0x25d)])!==this[_0x32f785(0x25d)])return;const _0x2ef52f={'eventID':_0x3395bd['CollaborationEvent']['UPDATE_CURSOR'],'data':_0x10d318};this[_0x32f785(0x210)](_0x2ef52f);}),this[_0x5d3433(0x363)](this[_0x5d3433(0x197)][_0x5d3433(0x33f)](_0x173d1b=>{const _0x5b3253=_0x5d3433;if(_0x173d1b['params']==null)return;const _0x43e5f8=_0x173d1b[_0x5b3253(0x1f3)];if(_0x173d1b['id']!==_0xb95e52['RichTextEditingMutation']['id']||_0x43e5f8['unitId']!==this[_0x5b3253(0x25d)])return;const _0x3d51e9={'id':_0x5b3253(0x1b1),'params':_0x43e5f8},_0x513ee1=this[_0x5b3253(0x209)];for(const [_0x2454f9,_0x155f89]of _0x513ee1){const _0x5c7440={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x5b3253(0x25d)],'actions':null,'textRanges':_0x155f89['ranges']}},_0x477c2b=this['_transformService'][_0x5b3253(0x17a)](_0x3d51e9,_0x5c7440,!0x1);if(_0x3395bd[_0x5b3253(0x271)](_0x477c2b))throw _0x477c2b[_0x5b3253(0x1bb)];_0x513ee1[_0x5b3253(0x394)](_0x2454f9,{..._0x155f89,'ranges':_0x477c2b[_0x5b3253(0x138)][_0x5b3253(0x1f3)]['textRanges']});}queueMicrotask(()=>{const _0x915c77=_0x5b3253;this[_0x915c77(0x1fc)][_0x915c77(0x333)](_0x513ee1);});})));}['_onCursorUpdate'](_0x39a17f){const _0x54bd21=_0x364fc7;var _0xe38ed0,_0x5a5593;const {memberID:_0x30b134,selection:_0x36331b}=_0x39a17f['data'],_0xef241c=_0x4d5903(_0x36331b),_0x1a367b=(_0x5a5593=(_0xe38ed0=this[_0x54bd21(0x2cb)][_0x54bd21(0x28d)](this['unitID'],_0x30b134))==null?void 0x0:_0xe38ed0[_0x54bd21(0x287)])!=null?_0x5a5593:_0x54bd21(0x2d7),_0x2226dd={'color':this[_0x54bd21(0x1b7)][_0x54bd21(0x286)](_0x30b134),'name':_0x1a367b,'ranges':_0xef241c},_0xcab940=this['cursorInfo'];_0xcab940[_0x54bd21(0x394)](_0x30b134,_0x2226dd),this[_0x54bd21(0x1fc)]['next'](_0xcab940);}[_0x364fc7(0x124)](_0x899a5d){const _0x5cade7=_0x364fc7,{memberID:_0xfcf45c}=_0x899a5d[_0x5cade7(0x277)],_0x504cab=this['cursorInfo'];_0x504cab[_0x5cade7(0x1c3)](_0xfcf45c),this[_0x5cade7(0x1fc)]['next'](_0x504cab);}[_0x364fc7(0x1d6)](){const _0x38bfc4=_0x364fc7;var _0x52e9e3;if(this[_0x38bfc4(0x2e9)]=!0x0,((_0x52e9e3=this[_0x38bfc4(0x1c2)][_0x38bfc4(0x238)]())==null?void 0x0:_0x52e9e3[_0x38bfc4(0x191)]())!==this['unitID'])return;const _0x5c9f63=this[_0x38bfc4(0x1b2)][_0x38bfc4(0x19c)](_0xb95e52[_0x38bfc4(0x247)])[_0x38bfc4(0x314)]();Array[_0x38bfc4(0x237)](_0x5c9f63)&&_0x5c9f63[_0x38bfc4(0x18f)]>0x0&&this[_0x38bfc4(0x33a)](_0x5c9f63);}[_0x364fc7(0x2eb)](){this['_online']=!0x1;}};_0x16045f=_0x2e8be0([_0x1bae86(0x2,_0x20df47[_0x364fc7(0x28b)](_0x20df47['Injector'])),_0x1bae86(0x3,_0x20df47[_0x364fc7(0x28b)](_0x5cb8a1)),_0x1bae86(0x4,_0x20df47[_0x364fc7(0x28b)](_0x3d42b8[_0x364fc7(0x317)])),_0x1bae86(0x5,_0x20df47[_0x364fc7(0x28b)](_0x28b84a)),_0x1bae86(0x6,_0x3395bd['ITransformService']),_0x1bae86(0x7,_0x20df47[_0x364fc7(0x303)]),_0x1bae86(0x8,_0x20df47[_0x364fc7(0x353)])],_0x16045f);var _0x5b4adc=Object[_0x364fc7(0x26c)],_0x4f057e=(_0x3e09ea,_0x5e0733,_0x4bc323,_0x35ffcd)=>{for(var _0x2b4b48=_0x35ffcd>0x1?void 0x0:_0x35ffcd?_0x5b4adc(_0x5e0733,_0x4bc323):_0x5e0733,_0x5a345a=_0x3e09ea['length']-0x1,_0x21c43c;_0x5a345a>=0x0;_0x5a345a--)(_0x21c43c=_0x3e09ea[_0x5a345a])&&(_0x2b4b48=_0x21c43c(_0x2b4b48)||_0x2b4b48);return _0x2b4b48;},_0x92345a=(_0x53a3e2,_0x4f6f25)=>(_0x34cf3f,_0x568507)=>_0x4f6f25(_0x34cf3f,_0x568507,_0x53a3e2);const _0x187c9f=0x12c,_0x414c39=0x64,_0x3e56df=()=>{let _0x4e25e2=[],_0x5ba84c=!0x1;return _0x5c58fb=>{_0x4e25e2['push'](_0x5c58fb),_0x5ba84c||(_0x5ba84c=!0x0,setTimeout(()=>{_0x4e25e2['forEach'](_0x41dd51=>_0x41dd51()),_0x4e25e2=[],_0x5ba84c=!0x1;}));};};let _0x53f689=class extends _0x20df47[_0x364fc7(0x36e)]{constructor(_0x2bd760,_0x3445ad,_0x17838e,_0x47b82c,_0x53a45a,_0x9191c8,_0xa5d2b5,_0x2b19d7){const _0x1a5096=_0x364fc7;super(),_0x4a92d0(this,_0x1a5096(0x2e9),!0x1),_0x4a92d0(this,_0x1a5096(0x184),!0x1),_0x4a92d0(this,'_cursorInfo$',new _0x3396eb[(_0x1a5096(0x374))](new Map())),_0x4a92d0(this,_0x1a5096(0x2f1),this[_0x1a5096(0x1fc)][_0x1a5096(0x29f)]()),_0x4a92d0(this,_0x1a5096(0x123),new _0x3396eb[(_0x1a5096(0x374))]([])),_0x4a92d0(this,_0x1a5096(0x352),this[_0x1a5096(0x123)]['pipe'](_0x3396eb[_0x1a5096(0x26a)](_0x187c9f))),_0x4a92d0(this,_0x1a5096(0x33a),_0x20df47['debounce']((_0xbb0652,_0x25be08)=>{const _0x581f7e=_0x1a5096,_0x430f2a={'eventID':_0x3395bd[_0x581f7e(0x16a)][_0x581f7e(0x21a)],'data':{'unitID':this[_0x581f7e(0x25d)],'memberID':this[_0x581f7e(0x15f)]['getMemberID'](),'selection':_0x3bbe9e[_0x581f7e(0x2e7)](_0xbb0652,_0x25be08[_0x581f7e(0x208)])}};this['_session'][_0x581f7e(0x32c)](_0x430f2a,this[_0x581f7e(0x25d)]);},_0x414c39)),(this[_0x1a5096(0x25d)]=_0x2bd760,this['_session']=_0x3445ad,this['_injector']=_0x17838e,this[_0x1a5096(0x1b7)]=_0x47b82c,this[_0x1a5096(0x2cb)]=_0x53a45a,this[_0x1a5096(0x1c2)]=_0x9191c8,this[_0x1a5096(0x197)]=_0xa5d2b5,this['_refRangeService']=_0x2b19d7);}get[_0x364fc7(0x209)](){const _0x3688fd=_0x364fc7;return this[_0x3688fd(0x1fc)][_0x3688fd(0x2c8)]();}get[_0x364fc7(0x112)](){const _0x3ccea9=_0x364fc7;return this[_0x3ccea9(0x123)][_0x3ccea9(0x2c8)]();}[_0x364fc7(0x13f)](){const _0x227b0e=_0x364fc7;super[_0x227b0e(0x13f)](),this[_0x227b0e(0x1fc)][_0x227b0e(0x333)](new Map()),this[_0x227b0e(0x1fc)]['complete'](),this['_roomMembers$']['next']([]),this[_0x227b0e(0x123)][_0x227b0e(0x2b2)]();}[_0x364fc7(0x313)](){const _0x221ca7=_0x364fc7;this['_init']||(this[_0x221ca7(0x184)]=!0x0,this['_session'][_0x221ca7(0x18a)]['pipe'](_0x3396eb[_0x221ca7(0x2ad)](this[_0x221ca7(0x365)]))[_0x221ca7(0x276)](_0x5f59f5=>{const _0x23e73a=_0x221ca7;_0x5f59f5===_0x3d42b8[_0x23e73a(0x2b1)][_0x23e73a(0x306)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x221ca7(0x15f)][_0x221ca7(0x18d)][_0x221ca7(0x13a)](_0x3396eb[_0x221ca7(0x2ad)](this[_0x221ca7(0x365)]))['subscribe'](_0x54ee44=>{const _0xfabf3c=_0x221ca7,_0x485c8a=_0x54ee44[_0xfabf3c(0x122)];_0x485c8a===_0x3395bd[_0xfabf3c(0x16a)]['UPDATE_CURSOR']&&this[_0xfabf3c(0x210)](_0x54ee44),_0x485c8a===_0x3395bd[_0xfabf3c(0x16a)][_0xfabf3c(0x299)]&&this[_0xfabf3c(0x124)](_0x54ee44);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x221ca7(0x197)][_0x221ca7(0x33f)](_0x349206=>{const _0x175054=_0x221ca7;if(this['_online']&&_0x349206['id']===_0x3148e7['SetSelectionsOperation']['id']&&_0x349206[_0x175054(0x1f3)][_0x175054(0x220)]===this[_0x175054(0x25d)]){const _0x1c30ad=_0x349206[_0x175054(0x1f3)];this[_0x175054(0x33a)](_0x1c30ad[_0x175054(0x1e6)],_0x1c30ad[_0x175054(0x207)][0x0]);}})));}[_0x364fc7(0x210)](_0x326f5c){const _0x34b6b2=_0x364fc7;var _0x1d0d71,_0xaca925;const {memberID:_0x1be6ca,selection:_0x4768b6}=_0x326f5c[_0x34b6b2(0x277)],{sheetName:_0x5ed9e4,range:_0xb25c80}=_0x3bbe9e[_0x34b6b2(0x283)](_0x4768b6),_0x597e1e={'name':(_0xaca925=(_0x1d0d71=this[_0x34b6b2(0x2cb)]['getMember'](this['unitID'],_0x1be6ca))==null?void 0x0:_0x1d0d71[_0x34b6b2(0x287)])!=null?_0xaca925:_0x34b6b2(0x2d7),'range':this[_0x34b6b2(0x2bd)](_0x5ed9e4,_0xb25c80),'sheetID':_0x5ed9e4,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x1be6ca),'selection':_0x4768b6},_0x1a0f52=this[_0x34b6b2(0x209)];_0x1a0f52[_0x34b6b2(0x394)](_0x1be6ca,_0x597e1e),this[_0x34b6b2(0x1fc)][_0x34b6b2(0x333)](_0x1a0f52);}['_onCursorDelete'](_0x1289ce){const _0x1a5592=_0x364fc7,{memberID:_0x34df2f}=_0x1289ce[_0x1a5592(0x277)],_0x26a2da=this[_0x1a5592(0x209)];_0x26a2da[_0x1a5592(0x1c3)](_0x34df2f),this[_0x1a5592(0x1fc)]['next'](_0x26a2da);}[_0x364fc7(0x2bd)](_0x1fec1a,_0x5d14a8){const _0x33f1f5=_0x364fc7;var _0x9dcb60,_0x281c99;const _0x41e712=(_0x281c99=(_0x9dcb60=this[_0x33f1f5(0x1c2)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x9dcb60[_0x33f1f5(0x28f)](_0x1fec1a))==null?void 0x0:_0x281c99['getMergeData']();return(_0x41e712==null?void 0x0:_0x41e712[_0x33f1f5(0x2ff)](_0x3d6f25=>_0x20df47[_0x33f1f5(0x378)][_0x33f1f5(0x203)](_0x3d6f25,_0x5d14a8)))||_0x5d14a8;}[_0x364fc7(0x2c2)](){const _0x46cd3e=_0x364fc7,_0x36961c=new _0x20df47[(_0x46cd3e(0x196))](),_0x33abb0=_0x3e56df(),_0x178605=()=>{const _0x6de95f=_0x46cd3e;_0x36961c[_0x6de95f(0x13f)]();const _0x1a9893=(_0x4c78ab,_0x5cad1e,_0x584a87,_0x132237)=>{const _0x58a730=_0x6de95f;let _0x550dbd=[];switch(_0x4c78ab['id']){case _0x3148e7[_0x58a730(0x1c1)]['DeleteRangeMoveLeftCommandId']:{_0x550dbd=_0x3148e7[_0x58a730(0x1c7)](_0x4c78ab,_0x132237);break;}case _0x3148e7['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x550dbd=_0x3148e7[_0x58a730(0x311)](_0x4c78ab,_0x132237);break;}case _0x3148e7[_0x58a730(0x1c1)][_0x58a730(0x2fa)]:{_0x550dbd=_0x3148e7[_0x58a730(0x36c)](_0x4c78ab,_0x132237);break;}case _0x3148e7['EffectRefRangId'][_0x58a730(0x14f)]:{_0x550dbd=_0x3148e7['handleInsertRangeMoveDown'](_0x4c78ab,_0x132237);break;}case _0x3148e7['EffectRefRangId'][_0x58a730(0x344)]:{_0x550dbd=_0x3148e7[_0x58a730(0x293)](_0x4c78ab,_0x132237);break;}case _0x3148e7['EffectRefRangId']['InsertRowCommandId']:{_0x550dbd=_0x3148e7['handleInsertRow'](_0x4c78ab,_0x132237);break;}case _0x3148e7[_0x58a730(0x1c1)][_0x58a730(0x322)]:{_0x550dbd=_0x3148e7[_0x58a730(0x309)](_0x4c78ab,_0x132237);break;}case _0x3148e7[_0x58a730(0x1c1)]['RemoveColCommandId']:{_0x550dbd=_0x3148e7[_0x58a730(0x305)](_0x4c78ab,_0x132237);break;}case _0x3148e7[_0x58a730(0x1c1)][_0x58a730(0x2fc)]:{_0x550dbd=_0x3148e7[_0x58a730(0x195)](_0x4c78ab,_0x132237);break;}}const _0x557ad8=_0x3148e7[_0x58a730(0x1d8)](_0x550dbd,_0x132237),_0x372ef3=this[_0x58a730(0x209)][_0x58a730(0x19c)](_0x5cad1e);if(_0x372ef3&&_0x557ad8){const _0x273ebf={..._0x372ef3,'range':_0x557ad8};this[_0x58a730(0x209)]['set'](_0x5cad1e,_0x273ebf),_0x33abb0(()=>{const _0x3a05bd=_0x58a730,_0x47a099=this[_0x3a05bd(0x1c4)][_0x3a05bd(0x2bf)](_0x557ad8,_0x3e5af8=>(_0x47a099[_0x3a05bd(0x13f)](),_0x1a9893(_0x3e5af8,_0x5cad1e,_0x584a87,_0x557ad8)));_0x36961c[_0x3a05bd(0x370)](_0x47a099);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x6de95f(0x24a)]((_0x5415ee,_0x2d798e)=>{const _0x19c772=_0x6de95f,{range:_0x551040,sheetID:_0x4946cb}=_0x5415ee,_0x508579=this[_0x19c772(0x1c4)][_0x19c772(0x2bf)](_0x551040,_0x21e63c=>(_0x508579[_0x19c772(0x13f)](),_0x1a9893(_0x21e63c,_0x2d798e,_0x4946cb,_0x551040)));_0x36961c[_0x19c772(0x370)](_0x508579);});};this[_0x46cd3e(0x363)](_0x20df47[_0x46cd3e(0x222)](this['_cursorInfo$']['subscribe'](()=>{_0x178605();})));}[_0x364fc7(0x1d6)](){const _0x56ae8d=_0x364fc7;var _0x150c80,_0x4398af;if(this['_online']=!0x0,((_0x150c80=this[_0x56ae8d(0x1c2)][_0x56ae8d(0x238)]())==null?void 0x0:_0x150c80[_0x56ae8d(0x191)]())!==this[_0x56ae8d(0x25d)])return;const _0x381581=(_0x4398af=this['_injector'][_0x56ae8d(0x19c)](_0x3148e7[_0x56ae8d(0x150)])[_0x56ae8d(0x1af)]())==null?void 0x0:_0x4398af[0x0],_0x43826b=this[_0x56ae8d(0x1c2)]['getCurrentUnitForType'](_0x20df47[_0x56ae8d(0x386)]['UNIVER_SHEET'])[_0x56ae8d(0x2cc)]();_0x381581&&_0x43826b&&this[_0x56ae8d(0x33a)](_0x43826b[_0x56ae8d(0x33c)](),_0x381581);}['_toggleOffline'](){const _0x33ece5=_0x364fc7;this[_0x33ece5(0x2e9)]=!0x1;}};_0x53f689=_0x4f057e([_0x92345a(0x2,_0x20df47[_0x364fc7(0x28b)](_0x20df47[_0x364fc7(0x120)])),_0x92345a(0x3,_0x20df47[_0x364fc7(0x28b)](_0x5cb8a1)),_0x92345a(0x4,_0x20df47['Inject'](_0x3d42b8[_0x364fc7(0x317)])),_0x92345a(0x5,_0x20df47[_0x364fc7(0x303)]),_0x92345a(0x6,_0x20df47[_0x364fc7(0x353)]),_0x92345a(0x7,_0x20df47[_0x364fc7(0x28b)](_0x3148e7['RefRangeService']))],_0x53f689);var _0x2759fd=Object[_0x364fc7(0x26c)],_0x42541d=(_0x5427cb,_0x12d1af,_0x23ccab,_0x25c8eb)=>{const _0x217a87=_0x364fc7;for(var _0x15b56d=_0x25c8eb>0x1?void 0x0:_0x25c8eb?_0x2759fd(_0x12d1af,_0x23ccab):_0x12d1af,_0x1a41cc=_0x5427cb[_0x217a87(0x18f)]-0x1,_0x12d219;_0x1a41cc>=0x0;_0x1a41cc--)(_0x12d219=_0x5427cb[_0x1a41cc])&&(_0x15b56d=_0x12d219(_0x15b56d)||_0x15b56d);return _0x15b56d;},_0x335437=(_0x5dcccb,_0x4afed9)=>(_0x3cdfc7,_0x558fd6)=>_0x4afed9(_0x3cdfc7,_0x558fd6,_0x5dcccb);let _0x100640=class extends _0x20df47['RxDisposable']{constructor(_0x250e30,_0x122f5a,_0x1fb054){const _0x50c691=_0x364fc7;super(),_0x4a92d0(this,_0x50c691(0x38f),new Map()),_0x4a92d0(this,_0x50c691(0x35e),new _0x3396eb[(_0x50c691(0x38d))]()),(this['_univerInstanceService']=_0x250e30,this[_0x50c691(0x1b2)]=_0x122f5a,this[_0x50c691(0x1d3)]=_0x1fb054,this[_0x50c691(0x184)]());}['dispose'](){const _0x3f52e1=_0x364fc7;super[_0x3f52e1(0x13f)](),this[_0x3f52e1(0x35e)]['complete'](),this[_0x3f52e1(0x38f)][_0x3f52e1(0x24a)](_0x5c04cc=>_0x5c04cc[_0x3f52e1(0x13f)]());}[_0x364fc7(0x1fe)](_0x49769f){const _0x49b3b7=_0x364fc7;return this[_0x49b3b7(0x38f)][_0x49b3b7(0x1f1)](_0x49769f)?this['_entities'][_0x49b3b7(0x19c)](_0x49769f)['cursorInfo$']:this[_0x49b3b7(0x35e)][_0x49b3b7(0x13a)](_0x3396eb[_0x49b3b7(0x29d)](_0x59196d=>_0x59196d[_0x49b3b7(0x25d)]===_0x49769f),_0x3396eb[_0x49b3b7(0x187)](_0x31b7a0=>_0x31b7a0[_0x49b3b7(0x2f1)]));}[_0x364fc7(0x184)](){const _0x3a578a=_0x364fc7;this['_univerInstanceService']['getTypeOfUnitAdded$'](_0x20df47[_0x3a578a(0x386)][_0x3a578a(0x32e)])[_0x3a578a(0x13a)](_0x3396eb['takeUntil'](this[_0x3a578a(0x365)]))['subscribe'](async _0xa9064b=>{const _0x3ccf8b=_0x3a578a,_0x156c81=_0xa9064b[_0x3ccf8b(0x191)](),_0x8b0184=await this[_0x3ccf8b(0x149)](_0x156c81);this[_0x3ccf8b(0x35e)][_0x3ccf8b(0x333)](_0x8b0184),this[_0x3ccf8b(0x38f)][_0x3ccf8b(0x394)](_0x156c81,_0x8b0184);}),this[_0x3a578a(0x1c2)]['getTypeOfUnitAdded$'](_0x20df47[_0x3a578a(0x386)][_0x3a578a(0x2d6)])[_0x3a578a(0x13a)](_0x3396eb[_0x3a578a(0x2ad)](this[_0x3a578a(0x365)]))['pipe'](_0x3396eb[_0x3a578a(0x29d)](_0x448916=>!_0x448916[_0x3a578a(0x191)]()['startsWith']('__')))[_0x3a578a(0x276)](async _0x14e431=>{const _0x4fff68=_0x3a578a,_0x1784a9=_0x14e431[_0x4fff68(0x191)](),_0x570a04=await this['_startDocCollabCursor'](_0x1784a9);this[_0x4fff68(0x35e)][_0x4fff68(0x333)](_0x570a04),this[_0x4fff68(0x38f)][_0x4fff68(0x394)](_0x1784a9,_0x570a04);}),_0x3396eb[_0x3a578a(0x146)](this[_0x3a578a(0x1c2)][_0x3a578a(0x174)](_0x20df47[_0x3a578a(0x386)][_0x3a578a(0x2d6)]),this[_0x3a578a(0x1c2)]['getTypeOfUnitDisposed$'](_0x20df47['UniverInstanceType'][_0x3a578a(0x32e)]))['pipe'](_0x3396eb[_0x3a578a(0x2ad)](this['dispose$']))[_0x3a578a(0x276)](_0x2c492a=>{const _0x4d7305=_0x3a578a,_0x57e5cb=_0x2c492a['getUnitId'](),_0x2000ec=this['_entities'][_0x4d7305(0x19c)](_0x57e5cb);_0x2000ec&&(_0x2000ec[_0x4d7305(0x13f)](),this[_0x4d7305(0x38f)][_0x4d7305(0x1c3)](_0x57e5cb));});}async[_0x364fc7(0x149)](_0x9b4c18){const _0x51f393=_0x364fc7,_0x4cf94a=await this[_0x51f393(0x1d3)][_0x51f393(0x1e1)](_0x9b4c18),_0x36e3d0=this['_injector'][_0x51f393(0x12a)](_0x53f689,_0x9b4c18,_0x4cf94a);return _0x36e3d0[_0x51f393(0x313)](),_0x36e3d0;}async[_0x364fc7(0x282)](_0x37e88c){const _0x79e5a=_0x364fc7,_0x40af69=await this[_0x79e5a(0x1d3)][_0x79e5a(0x1e1)](_0x37e88c),_0xb1416d=this[_0x79e5a(0x1b2)]['createInstance'](_0x16045f,_0x37e88c,_0x40af69);return _0xb1416d[_0x79e5a(0x313)](),_0xb1416d;}};_0x100640=_0x42541d([_0x335437(0x0,_0x20df47[_0x364fc7(0x303)]),_0x335437(0x1,_0x20df47['Inject'](_0x20df47[_0x364fc7(0x120)])),_0x335437(0x2,_0x20df47[_0x364fc7(0x28b)](_0x3d42b8[_0x364fc7(0x383)]))],_0x100640);const _0xa14d99=0x14,_0x1b63c7=0xc8,_0xf51cdb=0x4,_0x16408e=0x5;function _0x5c5729(_0x4c2771,_0x392fc6){const _0x2bca3e=_0x364fc7;let {radius:_0x4758af,width:_0x104562,height:_0x50a934}=_0x392fc6;_0x4758af=_0x4758af!=null?_0x4758af:0x0,_0x104562=_0x104562!=null?_0x104562:0x1e,_0x50a934=_0x50a934!=null?_0x50a934:0x1e;let _0x54901d=0x0,_0x5ca567=0x0,_0x2d28de=0x0;_0x54901d=_0x5ca567=_0x2d28de=Math[_0x2bca3e(0x243)](_0x4758af,_0x104562/0x2,_0x50a934/0x2),_0x4c2771[_0x2bca3e(0x15b)](),_0x4c2771[_0x2bca3e(0x267)](_0x54901d,0x0),_0x4c2771[_0x2bca3e(0x31b)](_0x104562-_0x5ca567,0x0),_0x4c2771[_0x2bca3e(0x31e)](_0x104562-_0x5ca567,_0x5ca567,_0x5ca567,Math['PI']*0x3/0x2,0x0,!0x1),_0x4c2771['lineTo'](_0x104562,_0x50a934-_0x2d28de),_0x4c2771[_0x2bca3e(0x31e)](_0x104562-_0x2d28de,_0x50a934-_0x2d28de,_0x2d28de,0x0,Math['PI']/0x2,!0x1),_0x4c2771[_0x2bca3e(0x31b)](0x0,_0x50a934),_0x4c2771[_0x2bca3e(0x31b)](0x0,_0x54901d),_0x4c2771['arc'](_0x54901d,_0x54901d,_0x54901d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4c2771[_0x2bca3e(0x320)](),_0x392fc6['fill']&&(_0x4c2771[_0x2bca3e(0x1ae)](),_0x4c2771[_0x2bca3e(0x2a3)]=_0x392fc6[_0x2bca3e(0x133)],_0x392fc6[_0x2bca3e(0x1a1)]===_0x2bca3e(0x139)?_0x4c2771[_0x2bca3e(0x133)]('evenodd'):_0x4c2771[_0x2bca3e(0x133)](),_0x4c2771[_0x2bca3e(0x110)]());}class _0x5b1836 extends _0x4e3aee[_0x364fc7(0x113)]{constructor(_0x37b817,_0x3c82d2){const _0x4b1783=_0x364fc7;super(_0x37b817,_0x3c82d2),_0x4a92d0(this,_0x4b1783(0x1a4)),_0x4a92d0(this,_0x4b1783(0x173)),(this[_0x4b1783(0x1a4)]=_0x3c82d2==null?void 0x0:_0x3c82d2[_0x4b1783(0x1a4)],this[_0x4b1783(0x173)]=_0x3c82d2==null?void 0x0:_0x3c82d2[_0x4b1783(0x173)]);}static[_0x364fc7(0x338)](_0x229c91,_0x1d1a93){const _0x4652c0=_0x364fc7,{text:_0x15854a,color:_0x390aff}=_0x1d1a93;_0x229c91[_0x4652c0(0x1ae)](),_0x229c91[_0x4652c0(0x36d)]=_0x4652c0(0x10c);const _0x307a4a=_0x229c91[_0x4652c0(0x379)](_0x15854a)[_0x4652c0(0x2c7)],_0x47ac6b=Math['min'](_0x307a4a+0x2*_0xf51cdb,_0x1b63c7);_0x5c5729(_0x229c91,{'height':_0xa14d99,'radius':0x4,'width':_0x47ac6b,'fill':_0x390aff}),_0x229c91[_0x4652c0(0x2a3)]=_0x4652c0(0x145);const _0x553f36=_0xf51cdb,_0x28ef8c=_0xa14d99-_0x16408e,_0x38f743=_0x1b63c7-0x2*_0xf51cdb;if(_0x307a4a>_0x38f743){let _0x585881='',_0x4c0fdc=0x0;for(const _0x345da8 of _0x15854a){const _0x1a7098=_0x229c91[_0x4652c0(0x379)](_0x345da8)[_0x4652c0(0x2c7)];if(_0x4c0fdc+_0x1a7098<=_0x38f743-_0x229c91[_0x4652c0(0x379)](_0x4652c0(0x227))[_0x4652c0(0x2c7)])_0x585881+=_0x345da8,_0x4c0fdc+=_0x1a7098;else{_0x585881+='...';break;}}_0x229c91[_0x4652c0(0x21d)](_0x585881,_0x553f36,_0x28ef8c);}else _0x229c91[_0x4652c0(0x21d)](_0x15854a,_0x553f36,_0x28ef8c);_0x229c91[_0x4652c0(0x110)]();}[_0x364fc7(0x2cd)](_0x2d14dc){const _0x6f212=_0x364fc7;_0x5b1836[_0x6f212(0x338)](_0x2d14dc,this);}}const _0x3c94cf=_0x364fc7(0x2a2),_0x2bdc63=_0x364fc7(0x312),_0x367a8e=_0x364fc7(0x1c0),_0x156cbd=0x6,_0x4569f4=1.5,_0x1026d9=0x4,_0x491806=1.5,_0x1f84cc='rgba(255,\x20255,\x20255,\x200.01)';class _0xb5b1cb{constructor(_0x4956bd,_0x58e318,_0x28d220,_0xe90383){const _0x5a04ed=_0x364fc7;_0x4a92d0(this,_0x5a04ed(0x2ae),[]),_0x4a92d0(this,_0x5a04ed(0x153),null),_0x4a92d0(this,'_textBubble',null),_0x4a92d0(this,'_anchorDot',null),_0x4a92d0(this,_0x5a04ed(0x1bc),null),_0x4a92d0(this,_0x5a04ed(0x169),null),(this[_0x5a04ed(0x2ee)]=_0x4956bd,this[_0x5a04ed(0x16b)]=_0x58e318,this['_docSkeleton']=_0x28d220,this[_0x5a04ed(0x24d)]=_0xe90383,this['_render']());}set[_0x364fc7(0x334)](_0x1ba374){const _0x17c61f=_0x364fc7;_0x1ba374?(this[_0x17c61f(0x183)]&&this[_0x17c61f(0x183)][_0x17c61f(0x35b)](),this[_0x17c61f(0x19e)]&&this[_0x17c61f(0x19e)][_0x17c61f(0x12e)]()):(this[_0x17c61f(0x183)]&&this[_0x17c61f(0x183)][_0x17c61f(0x12e)](),this[_0x17c61f(0x19e)]&&this['_textBubble'][_0x17c61f(0x35b)]());}['dispose'](){const _0x3257b0=_0x364fc7;for(const _0x514913 of this[_0x3257b0(0x2ae)])_0x514913['dispose']();this[_0x3257b0(0x19e)]&&this[_0x3257b0(0x19e)][_0x3257b0(0x13f)](),this[_0x3257b0(0x183)]&&this[_0x3257b0(0x183)][_0x3257b0(0x13f)](),this[_0x3257b0(0x153)]&&this[_0x3257b0(0x153)][_0x3257b0(0x13f)](),this[_0x3257b0(0x169)]&&this[_0x3257b0(0x169)]();}[_0x364fc7(0x18e)](){const _0x3b277a=_0x364fc7;var _0x52a1a1;const {_docSkeleton:_0x323838,_document:_0x4b2d7e}=this,{color:_0x50aad8,name:_0x51f19b,ranges:_0x38cdcc}=this[_0x3b277a(0x2ee)],_0x245f23=_0x4b2d7e[_0x3b277a(0x245)](),{docsLeft:_0x1d86f1,docsTop:_0xee5ca7}=_0x245f23,_0xbdc319=new _0x8e9d75[(_0x3b277a(0x240))](_0x245f23,_0x323838);for(const {startOffset:_0x55edee,endOffset:_0xff65dc,rangeType:_0x204b9c,segmentId:_0x4d705a,segmentPage:_0x385b20,collapsed:_0x4b5fe8,isActive:_0x31a65c}of _0x38cdcc){const _0x8023b4=_0x323838['findNodePositionByCharIndex'](_0x55edee,!0x0,_0x4d705a,_0x385b20);let _0x261d45=_0x323838[_0x3b277a(0x1ec)](_0xff65dc,!0x0,_0x4d705a,_0x385b20);if(_0x261d45==null&&(_0x261d45=_0x323838['findNodePositionByCharIndex'](_0xff65dc-0x1,!0x1,_0x4d705a,_0x385b20)),_0x31a65c){const {contentBoxPointGroup:_0x5391ef}=_0xbdc319[_0x3b277a(0x280)](_0x261d45,_0x261d45);if(_0x5391ef[_0x3b277a(0x18f)]===0x0)continue;this[_0x3b277a(0x1ce)](_0x50aad8,_0x5391ef,_0x1d86f1,_0xee5ca7,_0x51f19b),this['_eventUnsubscribe']=this[_0x3b277a(0x2b6)]();}if(_0x8023b4&&_0x261d45){if(_0x204b9c===_0x20df47[_0x3b277a(0x1d5)][_0x3b277a(0x15a)]){const _0x3741c1=new _0x8e9d75[(_0x3b277a(0x181))](_0x245f23,_0x323838),{pointGroup:_0x646c2b}=(_0x52a1a1=_0x3741c1[_0x3b277a(0x280)](_0x8023b4,_0x261d45))!=null?_0x52a1a1:{};if(_0x646c2b==null||_0x646c2b[_0x3b277a(0x18f)]===0x0)continue;this[_0x3b277a(0x391)](_0x50aad8,_0x646c2b,_0x1d86f1,_0xee5ca7);}else{if(!_0x4b5fe8){const {borderBoxPointGroup:_0x55ba12}=_0xbdc319[_0x3b277a(0x280)](_0x8023b4,_0x261d45);if(_0x55ba12[_0x3b277a(0x18f)]===0x0)continue;this[_0x3b277a(0x166)](_0x50aad8,_0x55ba12,_0x1d86f1,_0xee5ca7);}}}}}[_0x364fc7(0x1ce)](_0xa92540,_0x5525e5,_0x4f9b33,_0x157225,_0xc516e5){const _0x3dddb9=_0x364fc7,_0x3da2e8=this[_0x3dddb9(0x252)](_0x5525e5),{left:_0x5af387,top:_0x5d32a0,height:_0xbcd98e}=_0x3da2e8,_0x2b1f96=this['_getScale'](),_0x1b9858=_0x491806/_0x2b1f96,_0x5421d5=new _0x4e3aee[(_0x3dddb9(0x16d))](_0x3c94cf+_0x20df47[_0x3dddb9(0x19b)][_0x3dddb9(0x30c)](_0x156cbd),{'left':_0x5af387+_0x4f9b33-_0x1b9858,'top':_0x5d32a0+_0x157225,'height':_0xbcd98e,'width':_0x4569f4,'fill':_0xa92540||_0x4e3aee[_0x3dddb9(0x24c)](_0x20df47[_0x3dddb9(0x1e0)]['black'],0x0),'strokeWidth':_0x1b9858,'stroke':_0x1f84cc,'evented':!0x0});this['_anchor']=_0x5421d5,this['_scene'][_0x3dddb9(0x21f)](_0x5421d5,_0x8e9d75[_0x3dddb9(0x239)]);const _0x3559bf=new _0x4e3aee['Rect'](_0x3c94cf+_0x20df47['Tools'][_0x3dddb9(0x30c)](_0x156cbd),{'left':_0x5af387+_0x4f9b33-_0x1b9858,'top':_0x5d32a0+_0x157225-_0x1026d9/0x2,'height':_0x1026d9,'width':_0x1026d9,'fill':_0xa92540||_0x4e3aee['getColor'](_0x20df47['COLORS'][_0x3dddb9(0x186)],0x0),'strokeWidth':0x0,'stroke':_0xa92540||_0x4e3aee[_0x3dddb9(0x24c)](_0x20df47['COLORS']['black'],0x0),'evented':!0x1});this[_0x3dddb9(0x183)]=_0x3559bf,this[_0x3dddb9(0x16b)][_0x3dddb9(0x21f)](_0x3559bf,_0x8e9d75[_0x3dddb9(0x239)]);const _0x3ea1cc=new _0x5b1836(_0x3c94cf+_0x20df47[_0x3dddb9(0x19b)][_0x3dddb9(0x30c)](_0x156cbd),{'left':_0x5af387+_0x4f9b33-_0x1b9858,'top':_0x5d32a0+_0x157225-_0xa14d99,'text':_0xc516e5,'color':_0xa92540});this[_0x3dddb9(0x19e)]=_0x3ea1cc,this[_0x3dddb9(0x16b)][_0x3dddb9(0x21f)](_0x3ea1cc,_0x8e9d75['TEXT_RANGE_LAYER_INDEX']),this['_hover']=!0x1;}['_handleHover'](){const _0x2efe25=_0x364fc7,_0x4c0d3e=this[_0x2efe25(0x153)][_0x2efe25(0x25e)][_0x2efe25(0x2c4)](()=>{const _0x401ea0=_0x2efe25;this[_0x401ea0(0x334)]=!0x0;}),_0x1cd70a=this[_0x2efe25(0x153)][_0x2efe25(0x387)][_0x2efe25(0x2c4)](()=>{const _0xfff252=_0x2efe25;this['_hideTimer']&&clearTimeout(this[_0xfff252(0x1bc)]),this[_0xfff252(0x1bc)]=setTimeout(()=>{const _0x53851b=_0xfff252;this[_0x53851b(0x334)]=!0x1;},0x7d0);});return()=>{const _0x18f15f=_0x2efe25;_0x4c0d3e[_0x18f15f(0x1f0)](),_0x1cd70a[_0x18f15f(0x1f0)]();};}[_0x364fc7(0x166)](_0x2f8ef0,_0x127882,_0x154cd9,_0x44d4f5){const _0xdada28=_0x364fc7,_0x720cc4=new _0x20df47['ColorKit'](_0x2f8ef0)[_0xdada28(0x1a6)](0.2)['toRgbString'](),_0x3bff00=new _0x4e3aee[(_0xdada28(0x28e))](_0x2bdc63+_0x20df47[_0xdada28(0x19b)]['generateRandomId'](_0x156cbd),{'pointsGroup':_0x127882,'fill':_0x720cc4||_0x4e3aee[_0xdada28(0x24c)](_0x20df47[_0xdada28(0x1e0)][_0xdada28(0x186)],0.2),'left':_0x154cd9,'top':_0x44d4f5,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0xdada28(0x1a5)](_0x3bff00),this[_0xdada28(0x16b)][_0xdada28(0x21f)](_0x3bff00,_0x8e9d75[_0xdada28(0x239)]);}[_0x364fc7(0x391)](_0x2defe8,_0x5998d0,_0x121fb7,_0x45b4a1){const _0x452697=_0x364fc7,_0x173c00=new _0x20df47[(_0x452697(0x13e))](_0x2defe8)[_0x452697(0x1a6)](0.2)[_0x452697(0x2d1)](),_0x375ab0=new _0x4e3aee[(_0x452697(0x28e))](_0x367a8e+_0x20df47[_0x452697(0x19b)]['generateRandomId'](_0x156cbd),{'pointsGroup':_0x5998d0,'fill':_0x173c00||_0x4e3aee[_0x452697(0x24c)](_0x20df47[_0x452697(0x1e0)][_0x452697(0x186)],0.2),'left':_0x121fb7,'top':_0x45b4a1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x452697(0x2ae)]['push'](_0x375ab0),this[_0x452697(0x16b)][_0x452697(0x21f)](_0x375ab0,_0x8e9d75[_0x452697(0x239)]);}[_0x364fc7(0x252)](_0x62ebb5){const _0x106d81=_0x62ebb5[0x0],_0xe5fdd1=_0x106d81[0x0],_0x2e4654=_0x106d81[0x2],{x:_0x5c505b,y:_0x167df5}=_0xe5fdd1,{x:_0x37bb52,y:_0x27b0d1}=_0x2e4654;return{'left':_0x5c505b,'top':_0x167df5,'width':_0x37bb52-_0x5c505b,'height':_0x27b0d1-_0x167df5};}['_getScale'](){const _0x1afb1c=_0x364fc7,{scaleX:_0x5b8d40,scaleY:_0x1e09d1}=this[_0x1afb1c(0x16b)][_0x1afb1c(0x307)]();return Math[_0x1afb1c(0x273)](_0x5b8d40,_0x1e09d1);}}var _0x3660a3=Object[_0x364fc7(0x26c)],_0x89ad33=(_0x3964bc,_0x563b36,_0x42508a,_0x551445)=>{const _0x3ac344=_0x364fc7;for(var _0x1698f6=_0x551445>0x1?void 0x0:_0x551445?_0x3660a3(_0x563b36,_0x42508a):_0x563b36,_0x22c722=_0x3964bc[_0x3ac344(0x18f)]-0x1,_0xedca0c;_0x22c722>=0x0;_0x22c722--)(_0xedca0c=_0x3964bc[_0x22c722])&&(_0x1698f6=_0xedca0c(_0x1698f6)||_0x1698f6);return _0x1698f6;},_0x2f4d18=(_0x4f71c8,_0x391de3)=>(_0xb5a88,_0x2b428d)=>_0x391de3(_0xb5a88,_0x2b428d,_0x4f71c8);let _0x540093=class extends _0x20df47[_0x364fc7(0x36e)]{constructor(_0x2844ba,_0x544995,_0x399e53,_0xf1d5a0,_0x4e908a){const _0xf1e650=_0x364fc7;super(),_0x4a92d0(this,'_cursorShapes',[]),_0x4a92d0(this,'_cursors',[]),(this[_0xf1e650(0x261)]=_0x2844ba,this['_docSkeletonManagerService']=_0x544995,this[_0xf1e650(0x380)]=_0x399e53,this[_0xf1e650(0x197)]=_0xf1d5a0,this['_themeService']=_0x4e908a,this[_0xf1e650(0x184)]());}[_0x364fc7(0x184)](){const _0x558164=_0x364fc7,_0x5dbd46=this[_0x558164(0x261)]['unitId'],_0x33e8a2=this[_0x558164(0x2ca)];this[_0x558164(0x363)](_0x3396eb['combineLatest']([this['_collabCursorController'][_0x558164(0x1fe)](_0x5dbd46),this['_themeService'][_0x558164(0x281)]])['pipe'](_0xb9a466[_0x558164(0x263)](([_0x21bd92,_0x173559])=>({'skeleton':_0x33e8a2[_0x558164(0x1f2)](),'cursors':[..._0x21bd92[_0x558164(0x2a0)]()]['flatMap'](_0x52db01=>({..._0x52db01,'color':this['_themeService']['getColorFromTheme'](_0x52db01[_0x558164(0x1a4)])}))})))['subscribe'](_0x391c77=>{const _0x18dc79=_0x558164;if(this['_removeCollabCursors'](),_0x391c77){const {skeleton:_0x5217b1,cursors:_0x55e0b6}=_0x391c77;this[_0x18dc79(0x32a)](_0x5217b1,_0x55e0b6);}})),this['_initResize'](),this[_0x558164(0x151)]();}[_0x364fc7(0x32a)](_0x50b101,_0x41e330){const _0x16b72b=_0x364fc7,{scene:_0x575500,mainComponent:_0xd513a2}=this[_0x16b72b(0x261)],_0x2b48f8=_0x41e330[_0x16b72b(0x263)](_0x5c4aeb=>new _0xb5b1cb(_0x5c4aeb,_0x575500,_0x50b101,_0xd513a2));this['_cursorShapes']=_0x2b48f8,this[_0x16b72b(0x2d9)]=_0x41e330;}[_0x364fc7(0x296)](){const _0x1a1847=_0x364fc7;this['_removeCollabCursors']();const {scene:_0x7659a2,mainComponent:_0x353ea8}=this[_0x1a1847(0x261)],_0x317d0d=this['_docSkeletonManagerService'][_0x1a1847(0x1f2)](),_0x5f5741=this['_cursors']['map'](_0x2653e9=>new _0xb5b1cb(_0x2653e9,_0x7659a2,_0x317d0d,_0x353ea8));this[_0x1a1847(0x1a3)]=_0x5f5741;}['_removeCollabCursors'](){const _0x2c7a15=_0x364fc7;this[_0x2c7a15(0x1a3)][_0x2c7a15(0x24a)](_0xea2a09=>_0xea2a09[_0x2c7a15(0x13f)]()),this['_cursorShapes']=[];}[_0x364fc7(0x151)](){const _0x2a51ae=_0x364fc7,_0x2b0e07=[_0x8e9d75[_0x2a51ae(0x2ab)]['id']];this[_0x2a51ae(0x363)](this[_0x2a51ae(0x197)][_0x2a51ae(0x33f)](_0x41e048=>{const _0x2884aa=_0x2a51ae;_0x2b0e07[_0x2884aa(0x14a)](_0x41e048['id'])&&_0x41e048[_0x2884aa(0x1f3)][_0x2884aa(0x220)]===this['_context'][_0x2884aa(0x220)]&&this[_0x2884aa(0x296)]();}));}[_0x364fc7(0x266)](){const _0x6f9b8f=_0x364fc7;this[_0x6f9b8f(0x363)](_0x20df47['fromEventSubject'](this[_0x6f9b8f(0x261)][_0x6f9b8f(0x13c)][_0x6f9b8f(0x2f2)])[_0x6f9b8f(0x13a)](_0xb9a466[_0x6f9b8f(0x29d)](_0x27f98b=>_0x27f98b[_0x6f9b8f(0x27b)]===_0x4e3aee[_0x6f9b8f(0x1ea)][_0x6f9b8f(0x21b)]),_0xb9a466['throttleTime'](0x10))[_0x6f9b8f(0x276)](()=>{const _0x2bf25d=_0x6f9b8f;this[_0x2bf25d(0x296)]();}));}};_0x540093=_0x89ad33([_0x2f4d18(0x1,_0x20df47[_0x364fc7(0x28b)](_0xb95e52[_0x364fc7(0x2ef)])),_0x2f4d18(0x2,_0x20df47[_0x364fc7(0x28b)](_0x100640)),_0x2f4d18(0x3,_0x20df47[_0x364fc7(0x353)]),_0x2f4d18(0x4,_0x20df47['Inject'](_0x20df47[_0x364fc7(0x128)]))],_0x540093);const _0x39b069=0x1,_0x207198=1.5;class _0x24d54a extends _0x4e3aee['Shape']{constructor(_0x54a061,_0x3c70ed){const _0x3439fa=_0x364fc7;super(_0x54a061,_0x3c70ed),_0x4a92d0(this,_0x3439fa(0x285)),_0x4a92d0(this,_0x3439fa(0x1a0),!0x1),_0x4a92d0(this,'_range'),_0x4a92d0(this,'_name',''),_0x4a92d0(this,_0x3439fa(0x2a7),_0x3439fa(0x27a)),_0x4a92d0(this,_0x3439fa(0x18c)),(_0x3c70ed&&this[_0x3439fa(0x360)](_0x3c70ed),this[_0x3439fa(0x25e)]['subscribeEvent'](()=>this[_0x3439fa(0x360)]({'hovered':!0x0})),this[_0x3439fa(0x387)]['subscribeEvent'](()=>this[_0x3439fa(0x360)]({'hovered':!0x1})));}[_0x364fc7(0x360)](_0x4a7fcd){const _0x3ec0c6=_0x364fc7;var _0x39bf83,_0x2c52b8,_0x25707a,_0xa42a4a,_0x5dee3e,_0x4aed95;this[_0x3ec0c6(0x285)]=(_0x39bf83=_0x4a7fcd[_0x3ec0c6(0x1a4)])!=null?_0x39bf83:this['_color'],this[_0x3ec0c6(0x1a0)]=(_0x2c52b8=_0x4a7fcd['hovered'])!=null?_0x2c52b8:this[_0x3ec0c6(0x1a0)],this[_0x3ec0c6(0x295)]=(_0x25707a=_0x4a7fcd[_0x3ec0c6(0x208)])!=null?_0x25707a:this[_0x3ec0c6(0x295)],this[_0x3ec0c6(0x388)]=(_0xa42a4a=_0x4a7fcd[_0x3ec0c6(0x287)])!=null?_0xa42a4a:this[_0x3ec0c6(0x388)],this['_labelPosition']=(_0x5dee3e=_0x4a7fcd[_0x3ec0c6(0x2fb)])!=null?_0x5dee3e:this[_0x3ec0c6(0x2a7)],this['_backgroundColor']=(_0x4aed95=_0x4a7fcd[_0x3ec0c6(0x26d)])!=null?_0x4aed95:this[_0x3ec0c6(0x18c)],this[_0x3ec0c6(0x147)]({'width':_0x4a7fcd['width'],'height':_0x4a7fcd['height']});}[_0x364fc7(0x167)](_0x573a91){const _0x4dd7ae=_0x364fc7,{row:_0x57922d,column:_0xa94819}=_0x573a91;if(_0x57922d>=this[_0x4dd7ae(0x295)][_0x4dd7ae(0x115)]&&_0x57922d<=this[_0x4dd7ae(0x295)]['endRow']&&_0xa94819>=this[_0x4dd7ae(0x295)]['startColumn']&&_0xa94819<=this[_0x4dd7ae(0x295)][_0x4dd7ae(0x225)]){this[_0x4dd7ae(0x360)]({'hovered':!0x0});return;}this[_0x4dd7ae(0x360)]({'hovered':!0x1});}[_0x364fc7(0x2d8)](_0x2cc588){return!0x1;}['_draw'](_0x276f8){const _0x392ce6=_0x364fc7;_0x4e3aee['Rect'][_0x392ce6(0x338)](_0x276f8,{'width':this[_0x392ce6(0x2c7)],'height':this['height'],'strokeWidth':_0x207198,'stroke':this[_0x392ce6(0x285)],'evented':!0x1,'fill':this['_backgroundColor']}),this['_hovered']&&(_0x276f8[_0x392ce6(0x1ae)](),_0x276f8[_0x392ce6(0x219)](0x1,0x0,0x0,0x1,this['width'],this[_0x392ce6(0x2a7)]===_0x392ce6(0x201)?0x0:-0x14),_0x5b1836['drawWith'](_0x276f8,{'text':this[_0x392ce6(0x388)],'color':this[_0x392ce6(0x285)]}),_0x276f8[_0x392ce6(0x110)]());}}var _0x599754=Object[_0x364fc7(0x26c)],_0x54f5a2=(_0x476b53,_0x4346e6,_0x21e970,_0x3e5dcf)=>{const _0x219ef2=_0x364fc7;for(var _0x51423e=_0x3e5dcf>0x1?void 0x0:_0x3e5dcf?_0x599754(_0x4346e6,_0x21e970):_0x4346e6,_0x1dfff5=_0x476b53[_0x219ef2(0x18f)]-0x1,_0x2c0161;_0x1dfff5>=0x0;_0x1dfff5--)(_0x2c0161=_0x476b53[_0x1dfff5])&&(_0x51423e=_0x2c0161(_0x51423e)||_0x51423e);return _0x51423e;},_0xc3b22d=(_0x528dd8,_0x1580ca)=>(_0xa69d18,_0x313726)=>_0x1580ca(_0xa69d18,_0x313726,_0x528dd8);const _0x6c158=0x1389;let _0x1fd5d1=class extends _0x20df47[_0x364fc7(0x36e)]{constructor(_0x553999,_0x328651,_0x58662e,_0x101311){const _0x7ae9f2=_0x364fc7;super(),_0x4a92d0(this,'_cursors',new Set()),_0x4a92d0(this,'_lastPointer',null),(this[_0x7ae9f2(0x261)]=_0x553999,this[_0x7ae9f2(0x32b)]=_0x328651,this[_0x7ae9f2(0x380)]=_0x58662e,this[_0x7ae9f2(0x230)]=_0x101311,this[_0x7ae9f2(0x184)]());}[_0x364fc7(0x184)](){const _0xd9b44b=_0x364fc7;this[_0xd9b44b(0x32b)][_0xd9b44b(0x2f0)][_0xd9b44b(0x13a)](_0xb9a466['takeUntil'](this['dispose$']),_0xb9a466[_0xd9b44b(0x187)](_0x4b86bb=>{const _0x46110b=_0xd9b44b;if(_0x4b86bb){const _0x3a3f16=_0x4b86bb[_0x46110b(0x232)];return _0x3396eb[_0x46110b(0x26e)](this[_0x46110b(0x380)]['getCollabCursors$'](this['_context'][_0x46110b(0x220)]),this[_0x46110b(0x230)]['currentTheme$'])[_0x46110b(0x13a)](_0xb9a466['map'](([_0x56ad28,_0x45c552])=>{const _0x2831e4=new Map();return _0x56ad28['forEach']((_0x2c32b6,_0x1bab8d)=>{const _0x1d216b=_0x25e4;if(_0x2c32b6[_0x1d216b(0x2a4)]===_0x3a3f16){const _0x465ed2={..._0x2c32b6};_0x465ed2['color']=this[_0x1d216b(0x230)][_0x1d216b(0x377)](_0x2c32b6[_0x1d216b(0x1a4)]),_0x2831e4[_0x1d216b(0x394)](_0x1bab8d,_0x465ed2);}}),{'skeleton':_0x4b86bb,'cursors':_0x2831e4};}));}return _0x3396eb['of']({'skeleton':null,'cursors':new Map()});}))[_0xd9b44b(0x276)](({skeleton:_0x1b81fb,cursors:_0x459b3a})=>{const _0x50d441=_0xd9b44b;this[_0x50d441(0x2e8)](),_0x1b81fb&&this[_0x50d441(0x32a)](_0x1b81fb,_0x459b3a);}),this[_0xd9b44b(0x32b)][_0xd9b44b(0x2f0)][_0xd9b44b(0x276)](_0x24556d=>{const _0x5cb46a=_0xd9b44b;if(_0x24556d==null)return;const {skeleton:_0x1c9ffc}=_0x24556d,{scene:_0x5613c2}=this[_0x5cb46a(0x261)];_0x5613c2[_0x5cb46a(0x10a)][_0x5cb46a(0x2c4)](_0x20df47['debounce'](_0x1207b3=>{const _0x34b255=_0x5cb46a;var _0x53969e,_0x7b69dc;const {offsetX:_0x436cff,offsetY:_0x4b5e09}=_0x1207b3,{x:_0x3e202a,y:_0x20a5ea}=_0x5613c2['getRelativeToViewportCoord'](_0x4e3aee['Vector2'][_0x34b255(0x2c3)]([_0x436cff,_0x4b5e09])),{scaleX:_0x3b9bf6,scaleY:_0x26b3a2}=_0x5613c2[_0x34b255(0x307)](),_0x55c588=_0x5613c2['getViewport'](_0x4e3aee[_0x34b255(0x1cf)][_0x34b255(0x318)]),_0x8dae45=_0x5613c2['getVpScrollXYInfoByPosToVp'](_0x4e3aee[_0x34b255(0x30a)][_0x34b255(0x2c3)]([_0x3e202a,_0x20a5ea]),_0x55c588),_0x514377=_0x1c9ffc['getCellPositionByOffset'](_0x436cff,_0x4b5e09,_0x3b9bf6,_0x26b3a2,_0x8dae45);((_0x53969e=this[_0x34b255(0x37d)])==null?void 0x0:_0x53969e[_0x34b255(0x129)])===_0x514377['column']&&((_0x7b69dc=this[_0x34b255(0x37d)])==null?void 0x0:_0x7b69dc['row'])===_0x514377[_0x34b255(0x1a8)]||this[_0x34b255(0x2d9)][_0x34b255(0x24a)](_0x392466=>{const _0x56ccb8=_0x34b255;_0x392466[_0x56ccb8(0x167)](_0x514377);});},0x64));});}['_updateCollabCursors'](_0xe67377,_0x392469){const _0x5871a7=_0x364fc7;var _0x590caa;const _0x27bd68=(_0x590caa=this[_0x5871a7(0x32b)][_0x5871a7(0x36b)]())==null?void 0x0:_0x590caa['skeleton'];if(!_0x27bd68)return;const _0x5ab1dd=this[_0x5871a7(0x164)]();if(!_0x5ab1dd)return;this['_cursors']['forEach'](_0xa3913c=>{const _0x1d2e70=_0x5871a7;_0xa3913c[_0x1d2e70(0x31f)]();});const {scene:_0x1179e2}=_0x5ab1dd,_0x3e71d9=_0x278995(Array[_0x5871a7(0x1f4)](_0x392469[_0x5871a7(0x2a0)]()))[_0x5871a7(0x263)](_0x3c5f74=>{const _0x80f538=_0x5871a7,{color:_0x2541b3,range:_0x5ed729,name:_0x38f481,selection:_0x1b08d1,sheetID:_0x4d3264}=_0x3c5f74,{startColumn:_0x27460e,startRow:_0x193151,endColumn:_0x2e2428,endRow:_0x83005a}=_0x5ed729,_0x4591c8=_0x3410d0['getCoordByCell'](_0x193151,_0x27460e,_0x1179e2,_0x27bd68),_0x57814d=_0x3410d0['getCoordByCell'](_0x83005a,_0x2e2428,_0x1179e2,_0x27bd68),{columnHeaderHeightAndMarginTop:_0x54dd0e}=_0x27bd68,{startX:_0x11dd96,startY:_0x1ed34e}=_0x4591c8,{endX:_0x2e867a,endY:_0x10ed90}=_0x57814d,_0x3f23a3=_0x2e867a-_0x11dd96,_0x4e5d65=_0x10ed90-_0x1ed34e,_0x86a2a4={'labelPosition':_0x1ed34e-_0x54dd0e>=_0xa14d99?_0x80f538(0x27a):_0x80f538(0x201),'sheetID':_0x4d3264,'range':_0x5ed729,'color':_0x2541b3,'name':_0x38f481,'selection':_0x1b08d1,'left':_0x11dd96,'top':_0x1ed34e,'width':_0x3f23a3,'height':_0x4e5d65,'evented':!0x1,'zIndex':_0x6c158};return new _0x24d54a(_0x38f481,_0x86a2a4);});_0x1179e2['addObjects'](_0x3e71d9,_0x39b069),this[_0x5871a7(0x2d9)]=new Set(_0x3e71d9);}[_0x364fc7(0x2e8)](){const _0x4545dd=_0x364fc7;var _0x45205b;(_0x45205b=this[_0x4545dd(0x2d9)])==null||_0x45205b[_0x4545dd(0x24a)](_0x4e8fd7=>_0x4e8fd7[_0x4545dd(0x13f)]());}['_getSheetObject'](){const _0x506335=_0x364fc7;return _0x3410d0['getSheetObject'](this['_context'][_0x506335(0x2af)],this[_0x506335(0x261)]);}};_0x1fd5d1=_0x54f5a2([_0xc3b22d(0x1,_0x20df47[_0x364fc7(0x28b)](_0x3410d0[_0x364fc7(0x257)])),_0xc3b22d(0x2,_0x20df47['Inject'](_0x100640)),_0xc3b22d(0x3,_0x20df47[_0x364fc7(0x28b)](_0x20df47[_0x364fc7(0x128)]))],_0x1fd5d1);function _0x278995(_0x24fa7b){const _0x28d9fb=_0x364fc7,_0x5dc531=new Map();return _0x24fa7b[_0x28d9fb(0x24a)](_0x21eb2f=>{const _0x44d0ed=_0x28d9fb;if(_0x5dc531[_0x44d0ed(0x1f1)](_0x21eb2f[_0x44d0ed(0x19f)])){const _0x4ba90d=_0x5dc531['get'](_0x21eb2f['selection']);_0x4ba90d[_0x44d0ed(0x287)]+=',\x20'+_0x21eb2f[_0x44d0ed(0x287)];}else _0x5dc531[_0x44d0ed(0x394)](_0x21eb2f[_0x44d0ed(0x19f)],_0x21eb2f);}),Array['from'](_0x5dc531['values']());}var _0x242649=function(){const _0x481888=_0x364fc7;return _0x242649=Object['assign']||function(_0x149be9){const _0xbbbe5d=_0x25e4;for(var _0x4bc577,_0xbe6263=0x1,_0x3bd4aa=arguments['length'];_0xbe6263<_0x3bd4aa;_0xbe6263++){_0x4bc577=arguments[_0xbe6263];for(var _0x2e4034 in _0x4bc577)Object[_0xbbbe5d(0x302)][_0xbbbe5d(0x2db)][_0xbbbe5d(0x1fd)](_0x4bc577,_0x2e4034)&&(_0x149be9[_0x2e4034]=_0x4bc577[_0x2e4034]);}return _0x149be9;},_0x242649[_0x481888(0x16c)](this,arguments);},_0x237f4d=function(_0x25b209,_0x4313e6){const _0x305c52=_0x364fc7;var _0x2055ba={};for(var _0x29ef44 in _0x25b209)Object[_0x305c52(0x302)][_0x305c52(0x2db)][_0x305c52(0x1fd)](_0x25b209,_0x29ef44)&&_0x4313e6[_0x305c52(0x2b3)](_0x29ef44)<0x0&&(_0x2055ba[_0x29ef44]=_0x25b209[_0x29ef44]);if(_0x25b209!=null&&typeof Object[_0x305c52(0x20f)]=='function'){for(var _0x209ef8=0x0,_0x29ef44=Object[_0x305c52(0x20f)](_0x25b209);_0x209ef8<_0x29ef44[_0x305c52(0x18f)];_0x209ef8++)_0x4313e6['indexOf'](_0x29ef44[_0x209ef8])<0x0&&Object['prototype']['propertyIsEnumerable'][_0x305c52(0x1fd)](_0x25b209,_0x29ef44[_0x209ef8])&&(_0x2055ba[_0x29ef44[_0x209ef8]]=_0x25b209[_0x29ef44[_0x209ef8]]);}return _0x2055ba;},_0x1642cb=_0x14d7ce[_0x364fc7(0x131)](function(_0x1836a0,_0x3d5777){const _0x2ef682=_0x364fc7;var _0x504b0c=_0x1836a0[_0x2ef682(0x25c)],_0x39db21=_0x1836a0['id'],_0x27134d=_0x1836a0['className'],_0x4fccf3=_0x1836a0[_0x2ef682(0x140)],_0x3128df=_0x237f4d(_0x1836a0,[_0x2ef682(0x25c),'id',_0x2ef682(0x291),_0x2ef682(0x140)]),_0x21daed=_0x2ef682(0x159)['concat'](_0x39db21,'\x20')['concat'](_0x27134d||'')[_0x2ef682(0x2e5)](),_0x167e05=_0x14d7ce[_0x2ef682(0x1aa)]('_'['concat'](_0x64c5d9()));return _0x4ca8b4(_0x504b0c,''[_0x2ef682(0x340)](_0x39db21),{'defIds':_0x504b0c[_0x2ef682(0x38e)],'idSuffix':_0x167e05[_0x2ef682(0x13d)]},_0x242649({'ref':_0x3d5777,'className':_0x21daed},_0x3128df),_0x4fccf3);});function _0x4ca8b4(_0x7e027,_0x9e3f1f,_0x127f6f,_0x14e40a,_0x12423a){const _0x23133d=_0x364fc7;return _0x14d7ce[_0x23133d(0x20e)](_0x7e027[_0x23133d(0x27d)],_0x242649(_0x242649({'key':_0x9e3f1f},_0x23eccb(_0x7e027,_0x127f6f,_0x12423a)),_0x14e40a),(_0x3c462e(_0x7e027,_0x127f6f)['children']||[])['map'](function(_0x202180,_0x3fe111){const _0x243642=_0x23133d;return _0x4ca8b4(_0x202180,''[_0x243642(0x340)](_0x9e3f1f,'-')['concat'](_0x7e027[_0x243642(0x27d)],'-')[_0x243642(0x340)](_0x3fe111),_0x127f6f,void 0x0,_0x12423a);}));}function _0x23eccb(_0x9d1548,_0x42a523,_0x2be559){const _0x29f4a1=_0x364fc7;var _0x3bd533=_0x242649({},_0x9d1548['attrs']);_0x2be559!=null&&_0x2be559[_0x29f4a1(0x275)]&&_0x3bd533[_0x29f4a1(0x133)]===_0x29f4a1(0x275)&&(_0x3bd533[_0x29f4a1(0x133)]=_0x2be559[_0x29f4a1(0x275)]),_0x9d1548['tag']===_0x29f4a1(0x272)&&_0x3bd533['id']&&(_0x3bd533['id']=_0x3bd533['id']+_0x42a523[_0x29f4a1(0x202)]),Object['entries'](_0x3bd533)['forEach'](function(_0x573166){const _0x516c80=_0x29f4a1;var _0x3670ed=_0x573166[0x0],_0x13431a=_0x573166[0x1];_0x3670ed===_0x516c80(0x272)&&typeof _0x13431a==_0x516c80(0x336)&&(_0x3bd533[_0x3670ed]=_0x13431a[_0x516c80(0x2e6)](/url\(#(.*)\)/,'url(#$1'[_0x516c80(0x340)](_0x42a523[_0x516c80(0x202)],')')));});var _0x43e697=_0x42a523[_0x29f4a1(0x38e)];return!_0x43e697||_0x43e697['length']===0x0||(_0x9d1548['tag']===_0x29f4a1(0x35f)&&_0x3bd533[_0x29f4a1(0x2ea)]&&(_0x3bd533[_0x29f4a1(0x2ea)]=_0x3bd533['xlink:href']+_0x42a523[_0x29f4a1(0x202)]),Object['entries'](_0x3bd533)[_0x29f4a1(0x24a)](function(_0x241193){const _0xa92dcc=_0x29f4a1;var _0x1c12dc=_0x241193[0x0],_0x3e3039=_0x241193[0x1];typeof _0x3e3039==_0xa92dcc(0x336)&&(_0x3bd533[_0x1c12dc]=_0x3e3039[_0xa92dcc(0x2e6)](/url\(#(.*)\)/,_0xa92dcc(0x17d)[_0xa92dcc(0x340)](_0x42a523[_0xa92dcc(0x202)],')')));})),_0x3bd533;}function _0x3c462e(_0x2b3241,_0x45228b){const _0x3b869b=_0x364fc7;var _0x5a5974,_0x5aa99d=_0x45228b['defIds'];return!_0x5aa99d||_0x5aa99d[_0x3b869b(0x18f)]===0x0?_0x2b3241:_0x2b3241['tag']==='defs'&&(!((_0x5a5974=_0x2b3241[_0x3b869b(0x188)])===null||_0x5a5974===void 0x0)&&_0x5a5974[_0x3b869b(0x18f)])?_0x242649(_0x242649({},_0x2b3241),{'children':_0x2b3241[_0x3b869b(0x188)]['map'](function(_0x11fd30){const _0x4f96d0=_0x3b869b;return typeof _0x11fd30[_0x4f96d0(0x2e4)]['id']==_0x4f96d0(0x336)&&_0x5aa99d&&_0x5aa99d[_0x4f96d0(0x14a)](_0x11fd30[_0x4f96d0(0x2e4)]['id'])?_0x242649(_0x242649({},_0x11fd30),{'attrs':_0x242649(_0x242649({},_0x11fd30[_0x4f96d0(0x2e4)]),{'id':_0x11fd30[_0x4f96d0(0x2e4)]['id']+_0x45228b[_0x4f96d0(0x202)]})}):_0x11fd30;})}):_0x2b3241;}function _0x64c5d9(){const _0x2d22ff=_0x364fc7;return Math['random']()[_0x2d22ff(0x217)](0x24)[_0x2d22ff(0x11b)](0x2,0x8);}_0x1642cb[_0x364fc7(0x16f)]=_0x364fc7(0x13b);var _0x3e2eef={'tag':_0x364fc7(0x2e1),'attrs':{'xmlns':_0x364fc7(0x119),'fill':'none','viewBox':_0x364fc7(0x319),'width':_0x364fc7(0x35d),'height':_0x364fc7(0x35d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x364fc7(0x161),'attrs':{'stroke':'currentColor','d':_0x364fc7(0x229),'strokeLinecap':_0x364fc7(0x1ee),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x364fc7(0x2b8),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x364fc7(0x161),'attrs':{'fill':_0x364fc7(0x170),'d':_0x364fc7(0x25f)}}]}]}],'defIds':[_0x364fc7(0x235)]},_0x28461b=_0x14d7ce[_0x364fc7(0x131)](function(_0x10d859,_0x1f4e3e){const _0x2a0670=_0x364fc7;return _0x14d7ce[_0x2a0670(0x20e)](_0x1642cb,Object['assign']({},_0x10d859,{'id':_0x2a0670(0x24e),'ref':_0x1f4e3e,'icon':_0x3e2eef}));});_0x28461b[_0x364fc7(0x16f)]='OffLineIcon';var _0x3e1596={'tag':'svg','attrs':{'xmlns':_0x364fc7(0x119),'fill':_0x364fc7(0x216),'viewBox':_0x364fc7(0x22e),'width':_0x364fc7(0x35d),'height':_0x364fc7(0x35d)},'children':[{'tag':'g','attrs':{'clipPath':_0x364fc7(0x194)},'children':[{'tag':_0x364fc7(0x161),'attrs':{'stroke':'currentColor','d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':_0x364fc7(0x1ee),'strokeWidth':1.2}}]},{'tag':_0x364fc7(0x2b8),'attrs':{},'children':[{'tag':_0x364fc7(0x362),'attrs':{'id':_0x364fc7(0x1f5)},'children':[{'tag':'path','attrs':{'fill':_0x364fc7(0x170),'d':_0x364fc7(0x25f),'transform':_0x364fc7(0x2fe)}}]}]}],'defIds':[_0x364fc7(0x1f5)]},_0x46fef1=_0x14d7ce[_0x364fc7(0x131)](function(_0x4cdb3c,_0x4eef09){return _0x14d7ce['createElement'](_0x1642cb,Object['assign']({},_0x4cdb3c,{'id':'on-line-icon','ref':_0x4eef09,'icon':_0x3e1596}));});_0x46fef1['displayName']=_0x364fc7(0x324);function _0x23269f(_0x38cb91){const _0x2b686e=_0x364fc7;switch(_0x38cb91){case _0x3d42b8[_0x2b686e(0x2de)][_0x2b686e(0x345)]:return _0x2b686e(0x175);case _0x3d42b8[_0x2b686e(0x2de)][_0x2b686e(0x329)]:return _0x2b686e(0x351);case _0x3d42b8[_0x2b686e(0x2de)][_0x2b686e(0x2dc)]:return _0x2b686e(0x2c6);case _0x3d42b8[_0x2b686e(0x2de)]['NOT_COLLAB']:return _0x2b686e(0x1dd);case _0x3d42b8[_0x2b686e(0x2de)][_0x2b686e(0x34a)]:case _0x3d42b8[_0x2b686e(0x2de)]['AWAITING_WITH_PENDING']:return _0x2b686e(0x372);case _0x3d42b8[_0x2b686e(0x2de)]['SYNCED']:case _0x3d42b8[_0x2b686e(0x2de)][_0x2b686e(0x31d)]:return _0x2b686e(0x253);}}function _0x22caef(_0x5089c9){const _0x165111=_0x364fc7,{status$:_0x5a32e9}=_0x5089c9,_0xddea13=_0x1229e7[_0x165111(0x1c5)](_0x5a32e9,_0x3d42b8[_0x165111(0x2de)][_0x165111(0x154)]),_0x445a26=_0x1229e7[_0x165111(0x1c9)](_0x20df47['LocaleService']),_0x561224=_0x1229e7[_0x165111(0x1c9)](_0x3d42b8[_0x165111(0x383)]),_0x2e28c0=_0xddea13!==_0x3d42b8[_0x165111(0x2de)][_0x165111(0x345)],_0x29a66e=_0x445a26['t'](_0x23269f(_0xddea13)),_0x409c14=_0x2e28c0?_0x58edf1[_0x165111(0x1e3)](_0x46fef1,{}):_0x58edf1['jsx'](_0x28461b,{}),_0x557a1e=_0x14d7ce['useCallback'](()=>{const _0x5a79c7=_0x165111;_0x2e28c0||_0x561224[_0x5a79c7(0x29e)]();},[_0x2e28c0,_0x561224]);function _0x388647(){const _0x4c93e4=_0x165111;return _0x58edf1[_0x4c93e4(0x1cd)](_0x4c93e4(0x343),{'className':_0x4c93e4(0x234),'onClick':_0x557a1e,'children':[_0x58edf1[_0x4c93e4(0x1e3)](_0x4c93e4(0x343),{'className':_0x42ee62[_0x4c93e4(0x255)](_0x4c93e4(0x205),{'univer-text-green-500':_0x2e28c0,'univer-text-red-500':!_0x2e28c0}),'children':_0x409c14}),_0x58edf1[_0x4c93e4(0x1e3)](_0x4c93e4(0x343),{'className':_0x4c93e4(0x270),'children':_0x29a66e})]});}return _0x2e28c0?_0x388647():_0x58edf1[_0x165111(0x1e3)](_0x42ee62[_0x165111(0x37f)],{'title':_0x445a26['t']('collab-client.tooltip.reconnect'),'children':_0x388647()});}var _0x1cf597=Object[_0x364fc7(0x26c)],_0x51c141=(_0x229f4e,_0xa19c03,_0x3d0565,_0x240eab)=>{for(var _0x3eb713=_0x240eab>0x1?void 0x0:_0x240eab?_0x1cf597(_0xa19c03,_0x3d0565):_0xa19c03,_0x1793e8=_0x229f4e['length']-0x1,_0x44adcc;_0x1793e8>=0x0;_0x1793e8--)(_0x44adcc=_0x229f4e[_0x1793e8])&&(_0x3eb713=_0x44adcc(_0x3eb713)||_0x3eb713);return _0x3eb713;},_0x2b7beb=(_0x36d619,_0x28bf06)=>(_0x1bc818,_0x3238b3)=>_0x28bf06(_0x1bc818,_0x3238b3,_0x36d619);_0x4392a1[_0x364fc7(0x116)]=class extends _0x20df47[_0x364fc7(0x347)]{constructor(_0x942f18,_0x5a585f,_0x17fde9,_0x5d6d61){const _0x5a40fa=_0x364fc7;super(),_0x4a92d0(this,'_status$',new _0x3396eb[(_0x5a40fa(0x374))](_0x3d42b8[_0x5a40fa(0x2de)][_0x5a40fa(0x154)])),(this[_0x5a40fa(0x1c2)]=_0x942f18,this[_0x5a40fa(0x1b2)]=_0x5a585f,this[_0x5a40fa(0x231)]=_0x17fde9,this[_0x5a40fa(0x14d)]=_0x5d6d61,this[_0x5a40fa(0x327)](),this['_initStatusListener']());}[_0x364fc7(0x27c)](){const _0x1bf236=_0x364fc7;this[_0x1bf236(0x363)](this[_0x1bf236(0x1c2)]['focused$'][_0x1bf236(0x13a)](_0x3396eb[_0x1bf236(0x187)](()=>{const _0x1aa5f8=_0x1bf236,_0x5f22be=this[_0x1aa5f8(0x1c2)][_0x1aa5f8(0x238)]();return _0x5f22be?this[_0x1aa5f8(0x231)][_0x1aa5f8(0x30f)](_0x5f22be[_0x1aa5f8(0x191)]()):_0x3396eb['of'](null);}),_0x3396eb[_0x1bf236(0x187)](_0x301a4b=>_0x301a4b?_0x301a4b[_0x1bf236(0x262)]:_0x3396eb['of'](_0x3d42b8[_0x1bf236(0x2de)][_0x1bf236(0x154)])))[_0x1bf236(0x276)](_0x493090=>{this['_status$']['next'](_0x493090);}));}['_initStatusComponent'](){const _0x3c38d3=_0x364fc7;this[_0x3c38d3(0x363)](this['_uiPartsService'][_0x3c38d3(0x37a)](_0x1229e7[_0x3c38d3(0x17b)]['HEADER_MENU'],()=>_0x1229e7[_0x3c38d3(0x137)](_0x9e322c({'status$':this['_status$'][_0x3c38d3(0x29f)]()}),this[_0x3c38d3(0x1b2)])));}},_0x4392a1['DesktopCollaborationStatusDisplayController']=_0x51c141([_0x2b7beb(0x0,_0x20df47['IUniverInstanceService']),_0x2b7beb(0x1,_0x20df47[_0x364fc7(0x28b)](_0x20df47[_0x364fc7(0x120)])),_0x2b7beb(0x2,_0x20df47[_0x364fc7(0x28b)](_0x3d42b8[_0x364fc7(0x2b4)])),_0x2b7beb(0x3,_0x1229e7[_0x364fc7(0x2a9)])],_0x4392a1[_0x364fc7(0x116)]);function _0x9e322c(_0x81f8ca){const {status$:_0x30e1fe}=_0x81f8ca;return function(){return _0x58edf1['jsx'](_0x22caef,{'status$':_0x30e1fe});};}var _0x2f8aa3=Object[_0x364fc7(0x26c)],_0x520c54=(_0x1eb79b,_0x4f9cd4,_0x4fed1c,_0x2c4e88)=>{const _0x313a9d=_0x364fc7;for(var _0x1b41d2=_0x2c4e88>0x1?void 0x0:_0x2c4e88?_0x2f8aa3(_0x4f9cd4,_0x4fed1c):_0x4f9cd4,_0x5db9d9=_0x1eb79b[_0x313a9d(0x18f)]-0x1,_0x2b3c47;_0x5db9d9>=0x0;_0x5db9d9--)(_0x2b3c47=_0x1eb79b[_0x5db9d9])&&(_0x1b41d2=_0x2b3c47(_0x1b41d2)||_0x1b41d2);return _0x1b41d2;},_0x3e51c8=(_0x4b4f62,_0x474ef9)=>(_0x473239,_0xe5bb4f)=>_0x474ef9(_0x473239,_0xe5bb4f,_0x4b4f62);let _0x4a1f7a=class extends _0x20df47[_0x364fc7(0x347)]{constructor(_0x33d522,_0xfd881,_0x1a532c,_0x3f02aa,_0x5305a3,_0x2dc23c){const _0x5e60ed=_0x364fc7;super(),this[_0x5e60ed(0x1ab)]=_0x33d522,this['_localCacheService']=_0xfd881,this[_0x5e60ed(0x160)]=_0x1a532c,this[_0x5e60ed(0x244)]=_0x3f02aa,this['_notificationService']=_0x5305a3,this[_0x5e60ed(0x2a5)]=_0x2dc23c,this[_0x5e60ed(0x268)](),this[_0x5e60ed(0x27f)]();}['_setupBeforeClosingHandler'](){const _0x50e35c=_0x364fc7;this[_0x50e35c(0x363)](this[_0x50e35c(0x1ab)][_0x50e35c(0x117)](()=>{const _0x370cf7=_0x50e35c;if(this['_localCacheService'][_0x370cf7(0x2c1)][_0x370cf7(0x2e2)])return this[_0x370cf7(0x2a5)]['t'](_0x370cf7(0x1cb));}));}[_0x364fc7(0x27f)](){this['disposeWithMe'](this['_collaborationUIEventService']['event$']['subscribe'](_0x4900ac=>{const _0x89b3ae=_0x25e4;_0x4900ac['id']===_0x3d42b8['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x89b3ae(0x244)][_0x89b3ae(0x12e)]({'type':_0x42ee62[_0x89b3ae(0x1c6)]['Warning'],'content':this[_0x89b3ae(0x2a5)]['t'](_0x89b3ae(0x260))}),_0x4900ac['id']===_0x3d42b8['CollaborationUIEventId'][_0x89b3ae(0x144)]&&this['_messageService'][_0x89b3ae(0x12e)]({'type':_0x42ee62['MessageType'][_0x89b3ae(0x171)],'content':this[_0x89b3ae(0x2a5)]['t'](_0x89b3ae(0x1bd))}),_0x4900ac['id']===_0x3d42b8[_0x89b3ae(0x390)][_0x89b3ae(0x301)]&&this[_0x89b3ae(0x1db)]['show']({'title':this[_0x89b3ae(0x2a5)]['t'](_0x89b3ae(0x2f3)),'content':this[_0x89b3ae(0x2a5)]['t'](_0x89b3ae(0x130)),'type':_0x89b3ae(0x1bb),'duration':0x0}),_0x4900ac['id']===_0x3d42b8[_0x89b3ae(0x390)][_0x89b3ae(0x329)]&&this[_0x89b3ae(0x244)]['show']({'type':_0x42ee62[_0x89b3ae(0x1c6)]['Error'],'content':this[_0x89b3ae(0x2a5)]['t']('collaboration.closeRoom')+'('+_0x4900ac[_0x89b3ae(0x277)]+')'}),_0x4900ac['id']===_0x3d42b8[_0x89b3ae(0x390)]['JOIN_ROOM_FAILED']&&this['_messageService']['show']({'type':_0x42ee62[_0x89b3ae(0x1c6)][_0x89b3ae(0x171)],'content':this[_0x89b3ae(0x2a5)]['t'](_0x4900ac[_0x89b3ae(0x277)]||'')}),_0x4900ac['id']===_0x3d42b8[_0x89b3ae(0x390)]['SOCKET_FAILED_RETRY']&&this[_0x89b3ae(0x244)][_0x89b3ae(0x12e)]({'type':_0x42ee62[_0x89b3ae(0x1c6)]['Warning'],'content':this['_localeService']['t'](_0x89b3ae(0x12c))}),_0x4900ac['id']===_0x3d42b8[_0x89b3ae(0x390)]['SOCKET_FAILED']&&this[_0x89b3ae(0x244)]['show']({'type':_0x42ee62['MessageType'][_0x89b3ae(0x2ce)],'content':this['_localeService']['t']('session.connection-failed')}),_0x4900ac['id']===_0x3d42b8[_0x89b3ae(0x390)][_0x89b3ae(0x2be)]&&this['_messageService']['show']({'type':_0x42ee62[_0x89b3ae(0x1c6)][_0x89b3ae(0x2ce)],'content':this[_0x89b3ae(0x2a5)]['t']('session.collaboration-timeout')});}));}};_0x4a1f7a=_0x520c54([_0x3e51c8(0x0,_0x1229e7[_0x364fc7(0x339)]),_0x3e51c8(0x1,_0x3d42b8[_0x364fc7(0x1e7)]),_0x3e51c8(0x2,_0x20df47['Inject'](_0x3d42b8['CollaborationUIEventService'])),_0x3e51c8(0x3,_0x1229e7['IMessageService']),_0x3e51c8(0x4,_0x1229e7[_0x364fc7(0x36a)]),_0x3e51c8(0x5,_0x20df47[_0x364fc7(0x28b)](_0x20df47[_0x364fc7(0x182)]))],_0x4a1f7a);const _0x589226='collaboration-client-ui.config',_0x41294f={},_0x338227=_0x20df47[_0x364fc7(0x23f)](_0x364fc7(0x359));var _0x5d9afc=Object[_0x364fc7(0x26c)],_0x14dd89=(_0x43b49e,_0x29537f,_0xf28b33,_0x1f3210)=>{const _0x4c3e93=_0x364fc7;for(var _0x210d64=_0x1f3210>0x1?void 0x0:_0x1f3210?_0x5d9afc(_0x29537f,_0xf28b33):_0x29537f,_0x2fbc12=_0x43b49e[_0x4c3e93(0x18f)]-0x1,_0x1491e7;_0x2fbc12>=0x0;_0x2fbc12--)(_0x1491e7=_0x43b49e[_0x2fbc12])&&(_0x210d64=_0x1491e7(_0x210d64)||_0x210d64);return _0x210d64;},_0x2da900=(_0x104ad1,_0x36e774)=>(_0x937e32,_0x1f59c9)=>_0x36e774(_0x937e32,_0x1f59c9,_0x104ad1);_0x4392a1[_0x364fc7(0x1df)]=class extends _0x20df47['RxDisposable']{constructor(_0xedb6b8,_0x33b9c8,_0x43684a,_0x3189aa,_0x505f25){const _0x38b872=_0x364fc7;super(),this[_0x38b872(0x1e4)]=_0xedb6b8,this[_0x38b872(0x2da)]=_0x33b9c8,this[_0x38b872(0x197)]=_0x43684a,this['_dataLoaderService']=_0x3189aa,_0x505f25?_0x505f25==null||_0x505f25[_0x38b872(0x31c)]()[_0x38b872(0x274)](()=>this[_0x38b872(0x184)]()):(this[_0x38b872(0x2da)][_0x38b872(0x1da)](_0x38b872(0x32d),_0x38b872(0x1a7)),this[_0x38b872(0x184)]());}async[_0x364fc7(0x184)](){const _0x4ec0b5=_0x364fc7,_0x48e72a=this[_0x4ec0b5(0x1e4)][_0x4ec0b5(0x11e)]('unit'),_0x1869de=this['_urlService'][_0x4ec0b5(0x11e)](_0x4ec0b5(0x27b)),_0x27ee03=this['_urlService'][_0x4ec0b5(0x11e)]('subunit');if(!_0x48e72a||!_0x1869de){this[_0x4ec0b5(0x2da)]['debug'](_0x4ec0b5(0x32d),_0x4ec0b5(0x2e0));return;}const _0x5542bf=await this['_dataLoaderService'][_0x4ec0b5(0x300)](_0x48e72a,Number(_0x1869de),_0x27ee03);_0x5542bf&&_0x5542bf instanceof _0x20df47[_0x4ec0b5(0x17c)]&&this['_setupSubUnitSync'](_0x5542bf);}async[_0x364fc7(0x371)](_0x399e2f){const _0x1bf574=_0x364fc7;await this[_0x1bf574(0x349)](_0x399e2f),_0x399e2f[_0x1bf574(0x179)]['pipe'](_0x3396eb[_0x1bf574(0x2ad)](this['dispose$']))[_0x1bf574(0x276)](_0x4065f0=>{const _0x3187c3=_0x1bf574;_0x4065f0&&this[_0x3187c3(0x316)](_0x4065f0);}),this[_0x1bf574(0x1e4)][_0x1bf574(0x1dc)][_0x1bf574(0x13a)](_0x3396eb[_0x1bf574(0x2ad)](this[_0x1bf574(0x365)]))[_0x1bf574(0x276)](()=>this[_0x1bf574(0x349)](_0x399e2f));}[_0x364fc7(0x316)](_0x2038d5,_0x18683e=!0x1){const _0x4a85d4=_0x364fc7,_0x5c38f3=this[_0x4a85d4(0x1e4)][_0x4a85d4(0x11e)](_0x4a85d4(0x189));_0x2038d5[_0x4a85d4(0x33c)]()!==_0x5c38f3&&this[_0x4a85d4(0x1e4)][_0x4a85d4(0x389)]('subunit',_0x2038d5[_0x4a85d4(0x33c)](),_0x18683e);}async[_0x364fc7(0x349)](_0x1a51fb){const _0x33aac8=_0x364fc7;var _0x21efbf;const _0xaefa36=this['_urlService']['getParam'](_0x33aac8(0x189));if(!_0xaefa36||!_0x1a51fb[_0x33aac8(0x28f)](_0xaefa36)){const _0x3fad82=_0x1a51fb['getUnhiddenWorksheets']()[0x0],_0xf30c2d=_0x1a51fb['getSheetBySheetId'](_0x3fad82);if(!_0xf30c2d)return;this['_updateURLWithCurrentState'](_0xf30c2d,!0x0),await this[_0x33aac8(0x197)][_0x33aac8(0x1d7)](_0x3148e7[_0x33aac8(0x118)]['id'],{'unitId':_0x1a51fb[_0x33aac8(0x191)](),'subUnitId':_0x3fad82});return;}((_0x21efbf=_0x1a51fb[_0x33aac8(0x2cc)]())==null?void 0x0:_0x21efbf['getSheetId']())!==_0xaefa36&&await this['_commandService']['executeCommand'](_0x3148e7['SetWorksheetActivateCommand']['id'],{'unitId':_0x1a51fb['getUnitId'](),'subUnitId':_0xaefa36});}},_0x4392a1['CollaborationDataLoaderController']=_0x14dd89([_0x2da900(0x0,_0x338227),_0x2da900(0x1,_0x20df47[_0x364fc7(0x342)]),_0x2da900(0x2,_0x20df47[_0x364fc7(0x353)]),_0x2da900(0x3,_0x20df47[_0x364fc7(0x28b)](_0x3d42b8[_0x364fc7(0x1ad)])),_0x2da900(0x4,_0x20df47[_0x364fc7(0x14b)](_0xdffc4[_0x364fc7(0x341)]))],_0x4392a1[_0x364fc7(0x1df)]);var _0x453139=Object[_0x364fc7(0x26c)],_0x3cdb57=(_0x1f2e8d,_0x1f9818,_0x814777,_0x14096e)=>{const _0x228d40=_0x364fc7;for(var _0x6c50b=_0x14096e>0x1?void 0x0:_0x14096e?_0x453139(_0x1f9818,_0x814777):_0x1f9818,_0x5d34c5=_0x1f2e8d[_0x228d40(0x18f)]-0x1,_0x1e5f4a;_0x5d34c5>=0x0;_0x5d34c5--)(_0x1e5f4a=_0x1f2e8d[_0x5d34c5])&&(_0x6c50b=_0x1e5f4a(_0x6c50b)||_0x6c50b);return _0x6c50b;},_0x5f35b7=(_0x40e4bb,_0x7076ed)=>(_0x151fc3,_0x20c88a)=>_0x7076ed(_0x151fc3,_0x20c88a,_0x40e4bb);let _0x204353=class{constructor(_0x4973fa,_0x4b6b5f,_0x528a97){const _0x422920=_0x364fc7;this[_0x422920(0x1b2)]=_0x4973fa,this[_0x422920(0x1bf)]=_0x4b6b5f,this[_0x422920(0x11a)]=_0x528a97;}['transformIMECache'](_0x37f1dd){const _0x2d3334=_0x364fc7;this[_0x2d3334(0x33d)](_0x37f1dd),this[_0x2d3334(0x2ec)](_0x37f1dd);}[_0x364fc7(0x148)](_0x31cd6b){const _0x57772b=_0x364fc7,{unitID:_0x4da28e}=_0x31cd6b,_0x224053=this[_0x57772b(0x11a)][_0x57772b(0x331)](_0x4da28e)['with'](_0x8e9d75[_0x57772b(0x1ba)]),{redoCache:_0xf2a9e7}=_0x224053['getUndoRedoMutationParamsCache']();if(_0xf2a9e7['length']===0x0)return _0x31cd6b;let _0x144141=_0x20df47[_0x57772b(0x19b)][_0x57772b(0x2d0)](_0x31cd6b[_0x57772b(0x258)][0x0]);for(let _0x2ebfa7=0x0;_0x2ebfa7<_0xf2a9e7[_0x57772b(0x18f)];_0x2ebfa7++){const _0x8a6b46={'id':_0x57772b(0x1b1),'params':{..._0xf2a9e7[_0x2ebfa7]}},_0x3e2e0c=this['_transformService'][_0x57772b(0x17a)](_0x144141,_0x8a6b46,!0x1);if(_0x3395bd[_0x57772b(0x271)](_0x3e2e0c))throw _0x3e2e0c[_0x57772b(0x1bb)];_0x144141=_0x3e2e0c['m1Prime'];}return{..._0x20df47['Tools'][_0x57772b(0x2d0)](_0x31cd6b),'mutations':[_0x144141]};}['_transformUndoRedoStack'](_0x51755b){const _0x2d879f=_0x364fc7,{unitID:_0x58b671}=_0x51755b,_0x20da8c=this[_0x2d879f(0x11a)][_0x2d879f(0x331)](_0x58b671)[_0x2d879f(0x212)](_0x8e9d75['DocIMEInputManagerService']),{undoCache:_0x194810,redoCache:_0x4bf192}=_0x20da8c[_0x2d879f(0x2c0)]();if(_0x194810[_0x2d879f(0x18f)]===0x0||_0x4bf192[_0x2d879f(0x18f)]===0x0)return;const _0x154a17=[],_0x359923=[];let _0x198912=_0x20df47[_0x2d879f(0x19b)][_0x2d879f(0x2d0)](_0x51755b[_0x2d879f(0x258)][0x0]),_0x25e8e5=_0x20df47[_0x2d879f(0x19b)][_0x2d879f(0x2d0)](_0x51755b[_0x2d879f(0x258)][0x0]);for(let _0x473a7d=_0x194810['length']-0x1;_0x473a7d>=0x0;_0x473a7d--){const _0x2c9da3={'id':_0x2d879f(0x1b1),'params':{..._0x194810[_0x473a7d]}},_0x5ac6b7={'id':_0x2d879f(0x1b1),'params':{..._0x4bf192[_0x473a7d]}},_0x3b5dd4=this['_transformService'][_0x2d879f(0x17a)](_0x198912,_0x2c9da3,!0x1),_0x120421=this['_transformService'][_0x2d879f(0x17a)](_0x25e8e5,_0x5ac6b7,!0x1);if(_0x3395bd['isTransformMutationFailure'](_0x3b5dd4))throw _0x3b5dd4[_0x2d879f(0x1bb)];if(_0x3395bd['isTransformMutationFailure'](_0x120421))throw _0x120421[_0x2d879f(0x1bb)];_0x154a17[_0x2d879f(0x22f)](_0x3b5dd4[_0x2d879f(0x138)]['params']),_0x359923[_0x2d879f(0x22f)](_0x120421[_0x2d879f(0x138)]['params']),_0x198912=_0x3b5dd4[_0x2d879f(0x1ef)],_0x25e8e5=_0x120421[_0x2d879f(0x1ef)];}_0x20da8c[_0x2d879f(0x259)]({'undoCache':_0x154a17,'redoCache':_0x359923});}[_0x364fc7(0x2ec)](_0x3f7f14){const _0x122249=_0x364fc7,{unitID:_0x3cbff2}=_0x3f7f14,_0x54f3cc=this['_renderManagerService'][_0x122249(0x331)](_0x3cbff2)[_0x122249(0x212)](_0x8e9d75[_0x122249(0x1ba)]),_0x452d87=_0x54f3cc['getActiveRange']();if(_0x452d87==null)return;const _0x422605=[{'id':_0x122249(0x1b1),'params':{'unitId':_0x3f7f14[_0x122249(0x25d)],'actions':null,'textRanges':[_0x452d87]}}],_0x7001fb=this['_transformService'][_0x122249(0x163)](_0x3f7f14,_0x422605);if(!_0x3395bd[_0x122249(0x165)](_0x7001fb))throw _0x7001fb[_0x122249(0x1bb)];const _0x1c3d56=_0x7001fb[_0x122249(0x138)][0x0]['params'][_0x122249(0x2c5)];Array['isArray'](_0x1c3d56)&&_0x1c3d56['length']&&_0x54f3cc[_0x122249(0x2cf)](_0x1c3d56[0x0]);}};_0x204353=_0x3cdb57([_0x5f35b7(0x0,_0x20df47[_0x364fc7(0x28b)](_0x20df47['Injector'])),_0x5f35b7(0x1,_0x3395bd[_0x364fc7(0x20b)]),_0x5f35b7(0x2,_0x4e3aee['IRenderManagerService'])],_0x204353);var _0xdacaca=Object['getOwnPropertyDescriptor'],_0x47fc47=(_0x1bc166,_0x427587,_0x2818bb,_0x4def41)=>{const _0x4196da=_0x364fc7;for(var _0x252ad6=_0x4def41>0x1?void 0x0:_0x4def41?_0xdacaca(_0x427587,_0x2818bb):_0x427587,_0x345333=_0x1bc166[_0x4196da(0x18f)]-0x1,_0x30d46f;_0x345333>=0x0;_0x345333--)(_0x30d46f=_0x1bc166[_0x345333])&&(_0x252ad6=_0x30d46f(_0x252ad6)||_0x252ad6);return _0x252ad6;},_0x2f2c93=(_0x1393db,_0x421b81)=>(_0x2db20a,_0x4ed362)=>_0x421b81(_0x2db20a,_0x4ed362,_0x1393db);let _0x43a28d=class{constructor(_0x4d20e9,_0x30358f,_0x22ace6){const _0x581eab=_0x364fc7;this[_0x581eab(0x1b2)]=_0x4d20e9,this[_0x581eab(0x1bf)]=_0x30358f,this[_0x581eab(0x17f)]=_0x22ace6;}[_0x364fc7(0x368)](_0x406b56){this['_transformHistoryAndStateStack'](_0x406b56);}[_0x364fc7(0x148)](_0x484f22){const _0x326082=_0x364fc7,{unitID:_0xdf3249}=_0x484f22,{collaboration:_0x5f4e2e}=this[_0x326082(0x17f)][_0x326082(0x1d4)](_0xdf3249);if(_0x5f4e2e[_0x326082(0x18f)]===0x0)return _0x484f22;let _0x34ed03=_0x20df47['Tools']['deepClone'](_0x484f22[_0x326082(0x258)][0x0]);for(let _0x130569=0x0;_0x130569<_0x5f4e2e[_0x326082(0x18f)];_0x130569++){const _0x4ec674={'id':_0x326082(0x1b1),'params':{'unitId':_0x5f4e2e[_0x130569][_0x326082(0x220)],..._0x5f4e2e[_0x130569][_0x326082(0x156)]}},_0x76f7b4=this['_transformService'][_0x326082(0x17a)](_0x34ed03,_0x4ec674,!0x1);if(_0x3395bd[_0x326082(0x271)](_0x76f7b4))throw _0x76f7b4[_0x326082(0x1bb)];_0x34ed03=_0x76f7b4['m1Prime'];}return{..._0x20df47[_0x326082(0x19b)]['deepClone'](_0x484f22),'mutations':[_0x34ed03]};}[_0x364fc7(0x141)](_0x3def15){const _0x2d270e=_0x364fc7,{unitID:_0x3c824d}=_0x3def15,{history:_0x528a04,collaboration:_0x8a9386}=this[_0x2d270e(0x17f)]['getStateCache'](_0x3c824d);if(_0x528a04[_0x2d270e(0x18f)]===0x0&&_0x8a9386[_0x2d270e(0x18f)]===0x0)return;const _0x2aa52f=[],_0x37be67=[];let _0x1c0cf0=_0x20df47[_0x2d270e(0x19b)][_0x2d270e(0x2d0)](_0x3def15[_0x2d270e(0x258)][0x0]),_0x1a32f0=_0x20df47[_0x2d270e(0x19b)]['deepClone'](_0x3def15[_0x2d270e(0x258)][0x0]);for(let _0x493ca2=_0x528a04[_0x2d270e(0x18f)]-0x1;_0x493ca2>=0x0;_0x493ca2--){const _0x5672e2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x528a04[_0x493ca2][_0x2d270e(0x220)],..._0x528a04[_0x493ca2][_0x2d270e(0x28a)]}},_0x5448d5={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x528a04[_0x493ca2][_0x2d270e(0x220)],..._0x528a04[_0x493ca2][_0x2d270e(0x156)]}},_0x65a9b=this['_transformService'][_0x2d270e(0x17a)](_0x1c0cf0,_0x5672e2,!0x1),_0x255638=this['_transformService'][_0x2d270e(0x17a)](_0x1a32f0,_0x5448d5,!0x1);if(_0x3395bd['isTransformMutationFailure'](_0x65a9b))throw _0x65a9b[_0x2d270e(0x1bb)];if(_0x3395bd[_0x2d270e(0x271)](_0x255638))throw _0x255638['error'];_0x2aa52f['unshift']({..._0x528a04[_0x493ca2],'undoState':_0x65a9b['m2Prime']['params'],'redoState':_0x255638[_0x2d270e(0x138)]['params']}),_0x1c0cf0=_0x65a9b[_0x2d270e(0x1ef)],_0x1a32f0=_0x255638[_0x2d270e(0x1ef)];}_0x1c0cf0=_0x20df47[_0x2d270e(0x19b)][_0x2d270e(0x2d0)](_0x3def15[_0x2d270e(0x258)][0x0]),_0x1a32f0=_0x20df47[_0x2d270e(0x19b)][_0x2d270e(0x2d0)](_0x3def15[_0x2d270e(0x258)][0x0]);for(let _0x2a6063=_0x8a9386['length']-0x1;_0x2a6063>=0x0;_0x2a6063--){const _0x1c669c={'id':_0x2d270e(0x1b1),'params':{'unitId':_0x8a9386[_0x2a6063][_0x2d270e(0x220)],..._0x8a9386[_0x2a6063][_0x2d270e(0x28a)]}},_0x5c866c={'id':_0x2d270e(0x1b1),'params':{'unitId':_0x8a9386[_0x2a6063][_0x2d270e(0x220)],..._0x8a9386[_0x2a6063][_0x2d270e(0x156)]}},_0x164b15=this[_0x2d270e(0x1bf)][_0x2d270e(0x17a)](_0x1c0cf0,_0x1c669c,!0x1),_0x403df8=this[_0x2d270e(0x1bf)]['transformMutation'](_0x1a32f0,_0x5c866c,!0x1);if(_0x3395bd[_0x2d270e(0x271)](_0x164b15))throw _0x164b15[_0x2d270e(0x1bb)];if(_0x3395bd['isTransformMutationFailure'](_0x403df8))throw _0x403df8[_0x2d270e(0x1bb)];_0x37be67[_0x2d270e(0x22f)]({..._0x8a9386[_0x2a6063],'undoState':_0x164b15[_0x2d270e(0x138)]['params'],'redoState':_0x403df8[_0x2d270e(0x138)][_0x2d270e(0x1f3)]}),_0x1c0cf0=_0x164b15['m1Prime'],_0x1a32f0=_0x403df8[_0x2d270e(0x1ef)];}this[_0x2d270e(0x17f)][_0x2d270e(0x11f)](_0x3c824d,{'history':_0x2aa52f,'collaboration':_0x37be67});}};_0x43a28d=_0x47fc47([_0x2f2c93(0x0,_0x20df47['Inject'](_0x20df47['Injector'])),_0x2f2c93(0x1,_0x3395bd[_0x364fc7(0x20b)]),_0x2f2c93(0x2,_0x20df47[_0x364fc7(0x28b)](_0x8e9d75[_0x364fc7(0x1f8)]))],_0x43a28d);var _0x183bfb=Object['getOwnPropertyDescriptor'],_0x5265ae=(_0xe84153,_0x491494,_0x22fa7c,_0x311152)=>{const _0x42b20b=_0x364fc7;for(var _0x3a1a56=_0x311152>0x1?void 0x0:_0x311152?_0x183bfb(_0x491494,_0x22fa7c):_0x491494,_0x1a956b=_0xe84153[_0x42b20b(0x18f)]-0x1,_0x99b572;_0x1a956b>=0x0;_0x1a956b--)(_0x99b572=_0xe84153[_0x1a956b])&&(_0x3a1a56=_0x99b572(_0x3a1a56)||_0x3a1a56);return _0x3a1a56;},_0x369f80=(_0x185ace,_0x506fc3)=>(_0xd3f7a0,_0x1e0610)=>_0x506fc3(_0xd3f7a0,_0x1e0610,_0x185ace);let _0x3b2291=class{constructor(_0x2a4373,_0x19d0b1){const _0x3aacef=_0x364fc7;this[_0x3aacef(0x1b2)]=_0x2a4373,this[_0x3aacef(0x1bf)]=_0x19d0b1;}[_0x364fc7(0x381)](_0x552824){const _0x41defc=_0x364fc7;var _0x40b724;const _0x47719b=this[_0x41defc(0x1b2)][_0x41defc(0x19c)](_0xb95e52['DocSelectionManagerService']),_0x6a4707=(_0x40b724=_0x47719b[_0x41defc(0x314)]())!=null?_0x40b724:[];if(_0x6a4707[_0x41defc(0x18f)]===0x0)return;const _0x2db919=_0x552824[_0x41defc(0x25d)],_0x17ac5a=[{'id':_0x41defc(0x1b1),'params':{'unitId':_0x2db919,'actions':null,'textRanges':_0x6a4707}}],_0x5051de=this[_0x41defc(0x1bf)][_0x41defc(0x163)](_0x552824,_0x17ac5a);if(!_0x3395bd[_0x41defc(0x165)](_0x5051de))throw _0x5051de['error'];const _0x3e568f=_0x5051de['m2Prime'][0x0][_0x41defc(0x1f3)][_0x41defc(0x2c5)];Array[_0x41defc(0x237)](_0x3e568f)&&_0x3e568f['length']&&_0x47719b['replaceDocRanges'](_0x3e568f,{'unitId':_0x2db919,'subUnitId':_0x2db919},!0x1);}};_0x3b2291=_0x5265ae([_0x369f80(0x0,_0x20df47['Inject'](_0x20df47[_0x364fc7(0x120)])),_0x369f80(0x1,_0x3395bd[_0x364fc7(0x20b)])],_0x3b2291);var _0x4b8da2=Object[_0x364fc7(0x26c)],_0x1943b3=(_0x2a6e44,_0x2c6502,_0x59a9ac,_0x385584)=>{const _0x4c9f8e=_0x364fc7;for(var _0x367fa2=_0x385584>0x1?void 0x0:_0x385584?_0x4b8da2(_0x2c6502,_0x59a9ac):_0x2c6502,_0x4c4661=_0x2a6e44[_0x4c9f8e(0x18f)]-0x1,_0xaa8033;_0x4c4661>=0x0;_0x4c4661--)(_0xaa8033=_0x2a6e44[_0x4c4661])&&(_0x367fa2=_0xaa8033(_0x367fa2)||_0x367fa2);return _0x367fa2;},_0x4b1259=(_0x28146d,_0xfe76d7)=>(_0x5b7a57,_0xe0b119)=>_0xfe76d7(_0x5b7a57,_0xe0b119,_0x28146d);let _0x9e50af=class extends _0x20df47['Disposable']{constructor(_0x25bc30,_0x1fa662,_0x16e871,_0x289c22,_0x48f303,_0x6cb76,_0x45518e,_0x11f711){const _0x3d75a6=_0x364fc7;super(),_0x4a92d0(this,_0x3d75a6(0x190),new _0x3396eb[(_0x3d75a6(0x374))](_0x3d42b8[_0x3d75a6(0x2de)][_0x3d75a6(0x154)])),(this['_docStateChangeManagerService']=_0x25bc30,this['_collaborationController']=_0x1fa662,this[_0x3d75a6(0x2a1)]=_0x16e871,this[_0x3d75a6(0x373)]=_0x289c22,this[_0x3d75a6(0x1ff)]=_0x48f303,this['_docSyncEditingCollabCursorService']=_0x6cb76,this[_0x3d75a6(0x244)]=_0x45518e,this['_localeService']=_0x11f711,this['_initEntityListener']());}['_initEntityListener'](){const _0x2d570d=_0x364fc7;this['disposeWithMe'](this[_0x2d570d(0x231)]['entityInit$'][_0x2d570d(0x276)](_0x54814a=>{const _0x3cf257=_0x2d570d,_0x18af93=this[_0x3cf257(0x17f)][_0x3cf257(0x143)][_0x3cf257(0x276)](_0x5ef897=>{const _0x49fe22=_0x3cf257;if(_0x5ef897==null)return;const {unitId:_0x7aa67c,redoState:_0x1bfd1c,commandId:_0x3cf37a}=_0x5ef897;if(_0x7aa67c!==_0x54814a['unitID'])return;const _0x24cca7={'id':_0x3cf37a,'type':_0x20df47['CommandType'][_0x49fe22(0x152)],'params':{'unitId':_0x7aa67c,'actions':_0x1bfd1c[_0x49fe22(0x2f8)],'textRanges':null}};_0x54814a[_0x49fe22(0x36f)](_0x24cca7);});if(_0x54814a[_0x3cf257(0x363)](_0x18af93),_0x54814a instanceof _0x3d42b8[_0x3cf257(0x2e3)]){const _0x24ad03={'onTransformIME':_0x34f1c8=>this[_0x3cf257(0x2a1)][_0x3cf257(0x2f6)](_0x34f1c8),'onTransformState':_0x386f4b=>this[_0x3cf257(0x373)][_0x3cf257(0x368)](_0x386f4b),'onTransformSelections':_0x17d15c=>this[_0x3cf257(0x1ff)]['transformSelections'](_0x17d15c),'onSyncEditingCollabCursor':_0x14ad74=>this[_0x3cf257(0x15d)][_0x3cf257(0x168)](_0x14ad74),'onTransformRemoteChangesetByIMECache':_0x4e093e=>this['_docTransformIMECacheService'][_0x3cf257(0x148)](_0x4e093e),'onTransformRemoteChangesetByStateCache':_0x2e2904=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x2e2904)};_0x54814a['addHandlerCallback'](_0x24ad03);}}));}};_0x9e50af=_0x1943b3([_0x4b1259(0x0,_0x20df47['Inject'](_0x8e9d75[_0x364fc7(0x1f8)])),_0x4b1259(0x1,_0x20df47[_0x364fc7(0x28b)](_0x3d42b8[_0x364fc7(0x2b4)])),_0x4b1259(0x2,_0x20df47[_0x364fc7(0x28b)](_0x204353)),_0x4b1259(0x3,_0x20df47[_0x364fc7(0x28b)](_0x43a28d)),_0x4b1259(0x4,_0x20df47[_0x364fc7(0x28b)](_0x3b2291)),_0x4b1259(0x5,_0x20df47[_0x364fc7(0x28b)](_0x28b84a)),_0x4b1259(0x6,_0x1229e7['IMessageService']),_0x4b1259(0x7,_0x20df47['Inject'](_0x20df47['LocaleService']))],_0x9e50af);var _0x4e78fb=Object[_0x364fc7(0x26c)],_0x554686=(_0x5efd9f,_0x41fe0f,_0x22324d,_0x2f9076)=>{for(var _0x414311=_0x2f9076>0x1?void 0x0:_0x2f9076?_0x4e78fb(_0x41fe0f,_0x22324d):_0x41fe0f,_0x3ce131=_0x5efd9f['length']-0x1,_0x4e9c8b;_0x3ce131>=0x0;_0x3ce131--)(_0x4e9c8b=_0x5efd9f[_0x3ce131])&&(_0x414311=_0x4e9c8b(_0x414311)||_0x414311);return _0x414311;},_0x551cee=(_0x3a13e9,_0x111cfd)=>(_0x1dd118,_0x36bea8)=>_0x111cfd(_0x1dd118,_0x36bea8,_0x3a13e9);let _0x1da0c8=class extends _0x20df47[_0x364fc7(0x347)]{constructor(_0x19a27e,_0x518f3b,_0x56200b){const _0x35d992=_0x364fc7;super(),_0x4a92d0(this,_0x35d992(0x10e),new Map()),_0x4a92d0(this,'_saveTaskMap',new Map()),_0x4a92d0(this,_0x35d992(0x325),!0x1),(this[_0x35d992(0x1b8)]=_0x19a27e,this[_0x35d992(0x23e)]=_0x518f3b,this['_revisionService']=_0x56200b);}[_0x364fc7(0x29b)](){const _0x55bbcd=_0x364fc7;this[_0x55bbcd(0x325)]=!0x0;}['enableLocalCache'](){const _0xc17a9=_0x364fc7;this[_0xc17a9(0x325)]=!0x1;}get[_0x364fc7(0x2c1)](){return this['_saveTaskMap'];}['dispose'](){const _0x1f0c90=_0x364fc7;this[_0x1f0c90(0x2fd)]()[_0x1f0c90(0x274)](()=>super[_0x1f0c90(0x13f)]());}async[_0x364fc7(0x11d)](_0x25989a){const _0x1b551d=_0x364fc7;return this[_0x1b551d(0x325)]?null:this['_localStorageService']['getItem'](_0x3d42b8['getLocalCacheKey'](_0x25989a));}async['saveOfflineData'](_0x3618b5,_0x58268a){const _0x54f6b9=_0x364fc7;return!!this[_0x54f6b9(0x23e)][_0x54f6b9(0x25b)](_0x3618b5,_0x58268a);}[_0x364fc7(0x1ac)](_0x5d0d64,_0x5b158f,_0x5a9bb2,_0x12f8dc){const _0x121275=_0x364fc7,_0x4e5d18=this[_0x121275(0x185)][_0x121275(0x34d)](_0x5d0d64);this[_0x121275(0x10e)][_0x121275(0x394)](_0x5d0d64,{'unitID':_0x5d0d64,'type':_0x5b158f,'awaitingChangeset':_0x5a9bb2,'mutations':_0x12f8dc,'rev':_0x4e5d18}),this['_saveTaskMap'][_0x121275(0x1f1)](_0x5d0d64)||this[_0x121275(0x1eb)](_0x5d0d64);}[_0x364fc7(0x1eb)](_0x2ee005){const _0x37b942=_0x364fc7,_0x990d1c=this[_0x37b942(0x310)]();_0x990d1c===0x0?this[_0x37b942(0x249)](_0x2ee005):this['_saveTaskMap'][_0x37b942(0x394)](_0x2ee005,setTimeout(()=>this['_saveCache'](_0x2ee005),_0x990d1c));}[_0x364fc7(0x310)](){const _0x484724=_0x364fc7;var _0x39e182;return(_0x39e182=this[_0x484724(0x1b8)][_0x484724(0x162)](_0x3d42b8[_0x484724(0x1e8)]))!=null?_0x39e182:_0x3d42b8[_0x484724(0x315)];}[_0x364fc7(0x249)](_0xbdb693){const _0x3e990b=_0x364fc7,_0x26feae=this[_0x3e990b(0x2d4)][_0x3e990b(0x19c)](_0xbdb693);return _0x26feae!==void 0x0&&window[_0x3e990b(0x395)](_0x26feae),this[_0x3e990b(0x23e)][_0x3e990b(0x25b)](_0x3d42b8[_0x3e990b(0x33e)](_0xbdb693),this[_0x3e990b(0x10e)][_0x3e990b(0x19c)](_0xbdb693))[_0x3e990b(0x274)](()=>this[_0x3e990b(0x2d4)][_0x3e990b(0x1c3)](_0xbdb693));}async[_0x364fc7(0x2fd)](){const _0x2b5e8f=_0x364fc7,_0x57a096=[];this['_saveTaskMap'][_0x2b5e8f(0x24a)]((_0x2b4a38,_0x53e2e9)=>{const _0x178015=_0x2b5e8f;window['clearTimeout'](_0x2b4a38),_0x57a096[_0x178015(0x1a5)](this['_saveCache'](_0x53e2e9)[_0x178015(0x274)](()=>{const _0x59edea=_0x178015;this[_0x59edea(0x2d4)][_0x59edea(0x1c3)](_0x53e2e9);}));}),await Promise[_0x2b5e8f(0x248)](_0x57a096);}};_0x1da0c8=_0x554686([_0x551cee(0x0,_0x20df47['IConfigService']),_0x551cee(0x1,_0x20df47[_0x364fc7(0x2b9)]),_0x551cee(0x2,_0x20df47[_0x364fc7(0x28b)](_0x3395bd[_0x364fc7(0x19d)]))],_0x1da0c8);class _0x3b85f7 extends _0x20df47[_0x364fc7(0x36e)]{constructor(){const _0x2fb60e=_0x364fc7;super(),_0x4a92d0(this,'urlChange$'),this[_0x2fb60e(0x1dc)]=_0x3396eb['fromEvent'](window,_0x2fb60e(0x224))[_0x2fb60e(0x13a)](_0x3396eb[_0x2fb60e(0x2ad)](this['dispose$']),_0x3396eb[_0x2fb60e(0x14c)](0x1),_0x3396eb[_0x2fb60e(0x155)](void 0x0));}[_0x364fc7(0x389)](_0x3ee893,_0x3e187c,_0x411436=!0x1){const _0x5b3e02=_0x364fc7,_0xee2c29=new URL(window[_0x5b3e02(0x26f)][_0x5b3e02(0x218)]);_0xee2c29[_0x5b3e02(0x158)]['set'](_0x3ee893,_0x3e187c),_0x411436?window[_0x5b3e02(0x337)][_0x5b3e02(0x328)]('','',_0xee2c29[_0x5b3e02(0x217)]()):window['history'][_0x5b3e02(0x200)]('','',_0xee2c29['toString']());}[_0x364fc7(0x228)](_0x3091b8,_0x9eed34=!0x1){const _0x1d4d71=_0x364fc7,_0x289869=new URL(window[_0x1d4d71(0x26f)][_0x1d4d71(0x218)]);_0x289869[_0x1d4d71(0x158)][_0x1d4d71(0x1c3)](_0x3091b8),_0x9eed34?window[_0x1d4d71(0x337)][_0x1d4d71(0x328)]('','',_0x289869[_0x1d4d71(0x217)]()):window[_0x1d4d71(0x337)][_0x1d4d71(0x200)]('','',_0x289869[_0x1d4d71(0x217)]());}[_0x364fc7(0x11e)](_0x211d39){const _0x34608d=_0x364fc7;var _0xe5a10f;return(_0xe5a10f=new URL(window[_0x34608d(0x26f)][_0x34608d(0x218)])[_0x34608d(0x158)]['get'](_0x211d39))!=null?_0xe5a10f:void 0x0;}}var _0x423c81=Object['defineProperty'],_0x289026=Object[_0x364fc7(0x26c)],_0x20c90f=(_0xc5e68d,_0x12a692,_0x53d62b)=>_0x12a692 in _0xc5e68d?_0x423c81(_0xc5e68d,_0x12a692,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x53d62b}):_0xc5e68d[_0x12a692]=_0x53d62b,_0x38fc9f=(_0x3c2082,_0x587b39,_0x67a8a1,_0x4d0eee)=>{for(var _0x62e578=_0x4d0eee>0x1?void 0x0:_0x4d0eee?_0x289026(_0x587b39,_0x67a8a1):_0x587b39,_0x5b8a26=_0x3c2082['length']-0x1,_0x225b2b;_0x5b8a26>=0x0;_0x5b8a26--)(_0x225b2b=_0x3c2082[_0x5b8a26])&&(_0x62e578=_0x225b2b(_0x62e578)||_0x62e578);return _0x62e578;},_0x2ef859=(_0x265200,_0x34c538)=>(_0x5cabd9,_0x1f52eb)=>_0x34c538(_0x5cabd9,_0x1f52eb,_0x265200),_0x29932d=(_0x40d3f2,_0x45ca5f,_0x110ba3)=>_0x20c90f(_0x40d3f2,_0x45ca5f+'',_0x110ba3);const _0x2ca5bd='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x4392a1[_0x364fc7(0x226)]=class extends _0x20df47['Plugin']{constructor(_0x3dc22d=_0x41294f,_0x155510,_0x2d13f6,_0x2077bf){const _0x51de3a=_0x364fc7;super(),this[_0x51de3a(0x38b)]=_0x3dc22d,this[_0x51de3a(0x11a)]=_0x155510,this[_0x51de3a(0x1b2)]=_0x2d13f6,this['_configService']=_0x2077bf;const {..._0x145971}=_0x20df47[_0x51de3a(0x146)]({},_0x41294f,this['_config']);this['_configService'][_0x51de3a(0x172)](_0x589226,_0x145971);}[_0x364fc7(0x11c)](){const _0x3374c3=_0x364fc7;this[_0x3374c3(0x1cc)](),this[_0x3374c3(0x1e9)]();}['onRendered'](){const _0x12708b=_0x364fc7;this[_0x12708b(0x35a)]();}[_0x364fc7(0x1cc)](){const _0x43456c=_0x364fc7;var _0xb6be96;const _0x5e435a=[[_0x5cb8a1],[_0x3b2291],[_0x204353],[_0x43a28d],[_0x28b84a],[_0x338227,{'useClass':_0x3b85f7}],[_0x230e9b[_0x43456c(0x321)],{'useClass':_0x230e9b[_0x43456c(0x1f7)]}],[_0x3d42b8['ILocalCacheService'],{'useClass':_0x1da0c8}],[_0x4392a1[_0x43456c(0x116)]],[_0x9e50af],[_0x4a1f7a],[_0x100640],[_0x5ecd54],[_0x4392a1[_0x43456c(0x1df)]]];_0x20df47[_0x43456c(0x157)](this[_0x43456c(0x1b2)],_0x20df47[_0x43456c(0x204)](_0x5e435a,(_0xb6be96=this[_0x43456c(0x38b)])==null?void 0x0:_0xb6be96[_0x43456c(0x2f7)]));}['_registerRenderDependencies'](){const _0x247155=_0x364fc7;this[_0x247155(0x363)](this[_0x247155(0x11a)][_0x247155(0x193)](_0x20df47[_0x247155(0x386)][_0x247155(0x2d6)],[_0x540093])),this[_0x247155(0x363)](this['_renderManagerService'][_0x247155(0x193)](_0x20df47[_0x247155(0x386)][_0x247155(0x32e)],[_0x1fd5d1]));}['_initDependencies'](){const _0x303610=_0x364fc7;_0x20df47[_0x303610(0x10d)](this[_0x303610(0x1b2)],[[_0x100640],[_0x4392a1[_0x303610(0x116)]],[_0x9e50af],[_0x4a1f7a],[_0x4392a1[_0x303610(0x1df)]]]);}},_0x29932d(_0x4392a1['UniverCollaborationClientUIPlugin'],_0x364fc7(0x1ca),_0x2ca5bd),_0x4392a1[_0x364fc7(0x226)]=_0x38fc9f([_0x20df47['DependentOn'](_0x3d42b8[_0x364fc7(0x1e2)]),_0x2ef859(0x1,_0x4e3aee[_0x364fc7(0x23d)]),_0x2ef859(0x2,_0x20df47[_0x364fc7(0x28b)](_0x20df47[_0x364fc7(0x120)])),_0x2ef859(0x3,_0x20df47[_0x364fc7(0x298)])],_0x4392a1[_0x364fc7(0x226)]);var _0x1a9329=Object[_0x364fc7(0x26c)],_0x46a000=(_0x22c36e,_0x231e55,_0x1b1f98,_0x155954)=>{const _0x2e2af9=_0x364fc7;for(var _0x4e367a=_0x155954>0x1?void 0x0:_0x155954?_0x1a9329(_0x231e55,_0x1b1f98):_0x231e55,_0x2182c0=_0x22c36e[_0x2e2af9(0x18f)]-0x1,_0x51aa20;_0x2182c0>=0x0;_0x2182c0--)(_0x51aa20=_0x22c36e[_0x2182c0])&&(_0x4e367a=_0x51aa20(_0x4e367a)||_0x4e367a);return _0x4e367a;},_0x39d579=(_0x31d16a,_0x1e6aba)=>(_0x452438,_0x40e554)=>_0x1e6aba(_0x452438,_0x40e554,_0x31d16a);_0x4392a1[_0x364fc7(0x2df)]=class extends _0x3d42b8[_0x364fc7(0x38c)]{constructor(_0x3b2b22,_0x3c6acb,_0x5b437c,_0x56dc93,_0x1709ce){super(_0x3b2b22,_0x3c6acb,_0x5b437c,_0x56dc93,_0x1709ce);}async[_0x364fc7(0x30b)](_0x5ccaba){const _0x43714d=_0x364fc7,_0x2663e=await this[_0x43714d(0x366)](),_0x35340f=this['_createSocketURL'](_0x5ccaba,_0x2663e);return this[_0x43714d(0x375)](_0x35340f);}[_0x364fc7(0x369)](_0x2773e3,_0x1724e9){const _0x364cf9=_0x364fc7,_0x2b65ae=typeof window>'u'?new URL(_0x2773e3):new URL(_0x2773e3,window[_0x364cf9(0x26f)][_0x364cf9(0x2a8)]);_0x2b65ae[_0x364cf9(0x158)][_0x364cf9(0x394)]('sessionTicket',_0x1724e9);const _0x26ba53=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x364cf9(0x26f)][_0x364cf9(0x385)]);return _0x26ba53[_0x364cf9(0x19c)]('runId')&&_0x2b65ae[_0x364cf9(0x158)][_0x364cf9(0x394)]('runId',_0x26ba53[_0x364cf9(0x19c)](_0x364cf9(0x22c))),_0x2b65ae[_0x364cf9(0x217)]();}async['_getSessionTicket'](){const _0x507f3f=_0x364fc7;var _0x58ce06,_0x1b55f0,_0xfc9d52;const _0x51e774=this[_0x507f3f(0x1b8)][_0x507f3f(0x162)](_0x3d42b8[_0x507f3f(0x21c)]),_0x22ff1d=(_0x58ce06=_0x51e774==null?void 0x0:_0x51e774[_0x507f3f(0x350)])!=null?_0x58ce06:_0x3d42b8['DEFAULT_WS_SESSION_TICKET_URL'];return(_0xfc9d52=(_0x1b55f0=(await this[_0x507f3f(0x2ac)]['get'](_0x22ff1d,{'headers':{'Content-Type':'application/json'}}))[_0x507f3f(0x396)])==null?void 0x0:_0x1b55f0[_0x507f3f(0x213)])!=null?_0xfc9d52:'';}},_0x4392a1['BrowserCollaborationSocketService']=_0x46a000([_0x39d579(0x0,_0x20df47['Inject'](_0x20df47[_0x364fc7(0x120)])),_0x39d579(0x1,_0x20df47[_0x364fc7(0x28b)](_0x230e9b[_0x364fc7(0x2ba)])),_0x39d579(0x2,_0x20df47[_0x364fc7(0x298)]),_0x39d579(0x3,_0x20df47[_0x364fc7(0x342)]),_0x39d579(0x4,_0x3395bd['ISnapshotServerService'])],_0x4392a1[_0x364fc7(0x2df)]);const _0x4161d9=0x7530,_0x3c1896=_0x364fc7(0x23c);class _0x458c06 extends _0x20df47['Disposable']{constructor(){const _0x2612c5=_0x364fc7;super(),_0x4a92d0(this,_0x2612c5(0x21e),_0x20df47[_0x2612c5(0x30c)]()),_0x4a92d0(this,'_selfUnitIDs',new Set()),_0x4a92d0(this,_0x2612c5(0x330),new Map()),_0x4a92d0(this,_0x2612c5(0x2b0),null),_0x4a92d0(this,'_clearOtherTimers',new Map()),_0x4a92d0(this,_0x2612c5(0x34f),new Map()),this[_0x2612c5(0x184)]();}[_0x364fc7(0x13f)](){const _0x3f6fdc=_0x364fc7;super[_0x3f6fdc(0x13f)](),this['_clearOtherTimers'][_0x3f6fdc(0x24a)]((_0x112e09,_0x2c76d6)=>this[_0x3f6fdc(0x214)](_0x2c76d6)),this['_heartbeatTimer']&&window[_0x3f6fdc(0x376)](this[_0x3f6fdc(0x2b0)]);}[_0x364fc7(0x24f)](_0x26f739){const _0x430719=_0x364fc7;return this[_0x430719(0x134)](_0x26f739)[_0x430719(0x13a)](_0x3396eb[_0x430719(0x241)]());}[_0x364fc7(0x1b4)](_0x348ac8){const _0x10b914=_0x364fc7;this['_selfUnitIDs'][_0x10b914(0x2e2)]===0x0&&this[_0x10b914(0x178)](),this['_selfUnitIDs']['add'](_0x348ac8),this['_send']({'type':0x0,'memberID':this[_0x10b914(0x21e)],'unitIDs':[_0x348ac8],'isForwarded':!0x1});}[_0x364fc7(0x20d)](_0xc9b800){const _0x221467=_0x364fc7;this[_0x221467(0x14e)]['delete'](_0xc9b800),this[_0x221467(0x14e)][_0x221467(0x2e2)]===0x0&&this['_heartbeatTimer']&&window[_0x221467(0x376)](this['_heartbeatTimer']);}['_init'](){const _0x23bc48=_0x364fc7;this[_0x23bc48(0x363)](_0x20df47[_0x23bc48(0x222)](_0x3396eb[_0x23bc48(0x284)](window,_0x23bc48(0x294))[_0x23bc48(0x276)](_0x3472b7=>{const _0x56290d=_0x23bc48;if(_0x3472b7['key']!==_0x3c1896||!_0x3472b7[_0x56290d(0x12b)])return;const _0x1022f6=JSON[_0x56290d(0x2aa)](_0x3472b7['newValue']);this[_0x56290d(0x12f)](_0x1022f6);}))),window[_0x23bc48(0x2d2)]('unload',()=>this[_0x23bc48(0x176)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array['from'](this[_0x23bc48(0x14e)])}));}[_0x364fc7(0x12f)](_0xc57764){const _0x49f0c3=_0x364fc7;switch(_0xc57764[_0x49f0c3(0x27b)]){case 0x0:this[_0x49f0c3(0x15e)](_0xc57764);break;case 0x1:this[_0x49f0c3(0x177)](_0xc57764);break;case 0x2:this[_0x49f0c3(0x1c8)](_0xc57764);break;}}[_0x364fc7(0x15e)](_0x495e8f){const _0x2848f5=_0x364fc7,{unitIDs:_0x590955,memberID:_0xaecfe2,isForwarded:_0x2f0abf}=_0x495e8f;_0x590955[_0x2848f5(0x24a)](_0xa4da4b=>{const _0x220b08=_0x2848f5;if(!_0x2f0abf&&this[_0x220b08(0x330)]['has'](_0xa4da4b)&&this[_0x220b08(0x134)](_0xa4da4b)[_0x220b08(0x333)](_0x3d42b8[_0x220b08(0x335)]['OTHER_CLIENTS_EDITING']),!this[_0x220b08(0x330)][_0x220b08(0x1f1)](_0xa4da4b)||!this[_0x220b08(0x330)]['get'](_0xa4da4b)['has'](_0xaecfe2)){const _0x22a358=this[_0x220b08(0x330)]['get'](_0xa4da4b)||new Set();_0x22a358[_0x220b08(0x370)](_0xaecfe2),this[_0x220b08(0x330)]['set'](_0xa4da4b,_0x22a358),this[_0x220b08(0x1b9)](_0xaecfe2);}}),_0x2f0abf||this[_0x2848f5(0x176)]({'type':0x0,'memberID':this[_0x2848f5(0x21e)],'unitIDs':[...this[_0x2848f5(0x14e)]],'isForwarded':!0x0});}[_0x364fc7(0x1b9)](_0x36732d){const _0x260238=_0x364fc7;this[_0x260238(0x214)](_0x36732d);const _0x2ab13e=window[_0x260238(0x1b5)](()=>{const _0x254bce=_0x260238;this[_0x254bce(0x330)][_0x254bce(0x24a)](_0x428132=>{const _0x3c1728=_0x254bce;_0x428132[_0x3c1728(0x1c3)](_0x36732d);});},_0x4161d9*0x2);this[_0x260238(0x38a)][_0x260238(0x394)](_0x36732d,_0x2ab13e);}[_0x364fc7(0x214)](_0x3ae385){const _0x1690da=_0x364fc7;if(this[_0x1690da(0x38a)]['has'](_0x3ae385)){const _0x3ea6df=this[_0x1690da(0x38a)][_0x1690da(0x19c)](_0x3ae385);_0x3ea6df&&window['clearTimeout'](_0x3ea6df),this[_0x1690da(0x38a)][_0x1690da(0x394)](_0x3ae385,null);}}[_0x364fc7(0x177)](_0x2accf7){const _0x160d5f=_0x364fc7,{memberID:_0x2cb0f8,unitIDs:_0x24c812}=_0x2accf7;_0x24c812['forEach'](_0x368ac6=>{const _0x461359=_0x25e4;var _0x45e26d;const _0xefef7d=this['_unitOnClients']['get'](_0x368ac6);_0xefef7d&&(_0xefef7d[_0x461359(0x1c3)](_0x2cb0f8),(_0x45e26d=this[_0x461359(0x134)](_0x368ac6))==null||_0x45e26d[_0x461359(0x333)](_0xefef7d[_0x461359(0x2e2)]===0x0?_0x3d42b8['UnitStatus'][_0x461359(0x25a)]:_0x3d42b8[_0x461359(0x335)]['OTHER_CLIENTS_EDITING']));}),this[_0x160d5f(0x214)](_0x2cb0f8);}['_handleHeartbeatEvent'](_0x27767f){const _0x26fcb3=_0x364fc7;this['_scheduleClearOtherTimer'](_0x27767f[_0x26fcb3(0x1d1)]);}[_0x364fc7(0x176)](_0x30e92f){const _0x4135f3=_0x364fc7;localStorage[_0x4135f3(0x25b)](_0x3c1896,JSON[_0x4135f3(0x1de)](_0x30e92f));}[_0x364fc7(0x178)](){const _0x2f8a1b=_0x364fc7;this[_0x2f8a1b(0x2b0)]=window[_0x2f8a1b(0x364)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x4161d9);}['_ensureSubject'](_0x19f238){const _0x576cc8=_0x364fc7;return this[_0x576cc8(0x34f)][_0x576cc8(0x1f1)](_0x19f238)||this['_unitStatus'][_0x576cc8(0x394)](_0x19f238,new _0x3396eb['BehaviorSubject'](_0x3d42b8[_0x576cc8(0x335)][_0x576cc8(0x25a)])),this['_unitStatus'][_0x576cc8(0x19c)](_0x19f238);}}var _0x397bcc=(_0x11a3e8=>(_0x11a3e8[_0x11a3e8[_0x364fc7(0x2f4)]=0x0]=_0x364fc7(0x2f4),_0x11a3e8[_0x11a3e8['OK']=0x1]='OK',_0x11a3e8[_0x11a3e8[_0x364fc7(0x223)]=0x2]=_0x364fc7(0x223),_0x11a3e8[_0x11a3e8[_0x364fc7(0x301)]=0x3]=_0x364fc7(0x301),_0x11a3e8[_0x11a3e8[_0x364fc7(0x242)]=0x4]=_0x364fc7(0x242),_0x11a3e8[_0x11a3e8['UNAUTHENTICATED']=0x5]=_0x364fc7(0x206),_0x11a3e8[_0x11a3e8['ALREADY_EXISTS']=0x6]=_0x364fc7(0x236),_0x11a3e8[_0x11a3e8['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x11a3e8[_0x11a3e8['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x11a3e8[_0x11a3e8[_0x364fc7(0x1fa)]=0x9]='COMPLETION_FINISHED',_0x11a3e8[_0x11a3e8[_0x364fc7(0x290)]=0xa]=_0x364fc7(0x290),_0x11a3e8[_0x11a3e8[_0x364fc7(0x15c)]=0x1389]=_0x364fc7(0x15c),_0x11a3e8[_0x11a3e8[_0x364fc7(0x142)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x11a3e8[_0x11a3e8[_0x364fc7(0x10b)]=0x1772]=_0x364fc7(0x10b),_0x11a3e8[_0x11a3e8[_0x364fc7(0x18b)]=0x1773]=_0x364fc7(0x18b),_0x11a3e8[_0x11a3e8[_0x364fc7(0x135)]=0x1b59]='APPLY_REJECT',_0x11a3e8[_0x11a3e8[_0x364fc7(0x288)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x11a3e8[_0x11a3e8[_0x364fc7(0x22a)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x11a3e8[_0x11a3e8[_0x364fc7(0x198)]=0x1b5c]=_0x364fc7(0x198),_0x11a3e8[_0x11a3e8[_0x364fc7(0x393)]=0x1b5d]=_0x364fc7(0x393),_0x11a3e8[_0x11a3e8[_0x364fc7(0x29a)]=0x1f41]=_0x364fc7(0x29a),_0x11a3e8[_0x11a3e8['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x364fc7(0x2f9),_0x11a3e8[_0x11a3e8[_0x364fc7(0x1b0)]=0x232a]=_0x364fc7(0x1b0),_0x11a3e8[_0x11a3e8[_0x364fc7(0x12d)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x11a3e8[_0x11a3e8[_0x364fc7(0x132)]=0x232c]=_0x364fc7(0x132),_0x11a3e8[_0x11a3e8[_0x364fc7(0x367)]=0x232d]=_0x364fc7(0x367),_0x11a3e8[_0x11a3e8[_0x364fc7(0x246)]=0x2711]=_0x364fc7(0x246),_0x11a3e8[_0x11a3e8[_0x364fc7(0x2d3)]=0x2712]=_0x364fc7(0x2d3),_0x11a3e8[_0x11a3e8['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x364fc7(0x278),_0x11a3e8[_0x11a3e8[_0x364fc7(0x2f5)]=0x2714]=_0x364fc7(0x2f5),_0x11a3e8[_0x11a3e8[_0x364fc7(0x29c)]=0x271a]=_0x364fc7(0x29c),_0x11a3e8[_0x11a3e8[_0x364fc7(0x20a)]=0x271b]=_0x364fc7(0x20a),_0x11a3e8[_0x11a3e8['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x364fc7(0x264),_0x11a3e8[_0x11a3e8[_0x364fc7(0x323)]=0x271d]=_0x364fc7(0x323),_0x11a3e8[_0x11a3e8[_0x364fc7(0x355)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x11a3e8[_0x11a3e8[_0x364fc7(0x2bc)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x11a3e8[_0x11a3e8[_0x364fc7(0x1be)]=0x2af9]=_0x364fc7(0x1be),_0x11a3e8[_0x11a3e8['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x364fc7(0x1a9),_0x11a3e8[_0x11a3e8[_0x364fc7(0x392)]=0x2ee2]='INVALID_INVITE_CODE',_0x11a3e8[_0x11a3e8[_0x364fc7(0x397)]=0x2ee3]=_0x364fc7(0x397),_0x11a3e8[_0x11a3e8[_0x364fc7(0x31a)]=0x2ee4]=_0x364fc7(0x31a),_0x11a3e8[_0x11a3e8['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x364fc7(0x23b),_0x11a3e8[_0x11a3e8[_0x364fc7(0x1a2)]=0x32c9]=_0x364fc7(0x1a2),_0x11a3e8[_0x11a3e8[_0x364fc7(0x250)]=0x32ca]=_0x364fc7(0x250),_0x11a3e8[_0x11a3e8[_0x364fc7(0x292)]=0x32cb]=_0x364fc7(0x292),_0x11a3e8[_0x11a3e8[_0x364fc7(0x32f)]=-0x1]='UNRECOGNIZED',_0x11a3e8))(_0x397bcc||{}),_0x28efe7=Object[_0x364fc7(0x26c)],_0x4ea583=(_0x221456,_0x5c955b,_0x4b0504,_0x124e77)=>{const _0x11d96f=_0x364fc7;for(var _0x29155d=_0x124e77>0x1?void 0x0:_0x124e77?_0x28efe7(_0x5c955b,_0x4b0504):_0x5c955b,_0x51aaac=_0x221456[_0x11d96f(0x18f)]-0x1,_0x20430e;_0x51aaac>=0x0;_0x51aaac--)(_0x20430e=_0x221456[_0x51aaac])&&(_0x29155d=_0x20430e(_0x29155d)||_0x29155d);return _0x29155d;},_0x68bada=(_0x5ed424,_0x52e70f)=>(_0x20a483,_0x264c9e)=>_0x52e70f(_0x20a483,_0x264c9e,_0x5ed424);_0x4392a1[_0x364fc7(0x356)]=class extends _0x20df47['Disposable']{constructor(_0x14e79e,_0x3db351,_0x47acad){const _0x5b3417=_0x364fc7;super(),this[_0x5b3417(0x26b)]=_0x14e79e,this['_httpService']=_0x3db351,this[_0x5b3417(0x1b8)]=_0x47acad;}async['runOnServer'](_0x2a4cf1,_0x5b9f5e,_0x4150e8,..._0x2e9332){const _0x2e18e6=_0x364fc7;var _0x581bfd,_0x596122,_0x3643cf,_0x110993;const _0x225cc6=this[_0x2e18e6(0x26b)][_0x2e18e6(0x238)]();if(!_0x225cc6)throw new Error(_0x2e18e6(0x251));const _0x4234d7=((_0x581bfd=this[_0x2e18e6(0x1b8)][_0x2e18e6(0x162)](_0x3d42b8[_0x2e18e6(0x34e)]))!=null?_0x581bfd:_0x3d42b8['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x2a4cf1+_0x2e18e6(0x221)+_0x5b9f5e,_0x48f034=new URL(window[_0x2e18e6(0x26f)][_0x2e18e6(0x218)]),_0x81b1cb={'scriptId':_0x2a4cf1,'runId':(_0x596122=_0x48f034['searchParams'][_0x2e18e6(0x19c)](_0x2e18e6(0x22c)))!=null?_0x596122:'','function':_0x5b9f5e,'unitId':_0x225cc6[_0x2e18e6(0x191)](),'argsOfFunction':JSON[_0x2e18e6(0x1de)](_0x2e9332),'invokeId':(_0x3643cf=_0x4150e8['invokeId'])!=null?_0x3643cf:'','executionId':(_0x110993=_0x4150e8[_0x2e18e6(0x2ed)])!=null?_0x110993:''};try{const _0x352867=await this['_httpService'][_0x2e18e6(0x354)](_0x4234d7,{'body':_0x81b1cb});return _0x352867[_0x2e18e6(0x396)][_0x2e18e6(0x1bb)]&&_0x352867[_0x2e18e6(0x396)][_0x2e18e6(0x1bb)][_0x2e18e6(0x30d)]!==_0x397bcc['OK']?_0x2e18e6(0x308):_0x352867['body'][_0x2e18e6(0x1fb)];}catch{return _0x2e18e6(0x308);}}},_0x4392a1[_0x364fc7(0x356)]=_0x4ea583([_0x68bada(0x0,_0x20df47[_0x364fc7(0x303)]),_0x68bada(0x1,_0x20df47[_0x364fc7(0x28b)](_0x230e9b[_0x364fc7(0x2ba)])),_0x68bada(0x2,_0x20df47['IConfigService'])],_0x4392a1[_0x364fc7(0x356)]),_0x4392a1['CollaborationStatusDisplay']=_0x22caef,_0x4392a1['IURLService']=_0x338227,_0x4392a1[_0x364fc7(0x23a)]=_0x24d54a,_0x4392a1['WebBrowserSingleActiveUnitService']=_0x458c06,_0x4392a1[_0x364fc7(0x19a)]=_0x3b85f7,Object['defineProperty'](_0x4392a1,Symbol['toStringTag'],{'value':'Module'});}));function _0x25e4(_0x44c667,_0xe9271d){const _0x225a7f=_0x225a();return _0x25e4=function(_0x25e407,_0x348d80){_0x25e407=_0x25e407-0x10a;let _0x3ff4fc=_0x225a7f[_0x25e407];return _0x3ff4fc;},_0x25e4(_0x44c667,_0xe9271d);}function _0x225a(){const _0x23ede6=['_colorAssignService','_configService','_scheduleClearOtherTimer','DocIMEInputManagerService','error','_hideTimer','collaboration.closeRoom','PY_RUNTIME_SCRIPT_ERROR','_transformService','collab-rect-range-','EffectRefRangId','_univerInstanceService','delete','_refRangeService','useObservable','MessageType','handleDeleteRangeMoveLeft','_handleHeartbeatEvent','useDependency','pluginName','collaboration-client.offline-data-not-saved','_registerDependencies','jsxs','_drawAnchor','SHEET_VIEWPORT_KEY','@univerjs/network','memberID','green.600','_collabSessionService','getStateCache','DOC_RANGE_TYPE','_toggleOnline','executeCommand','runRefRangeMutations','amd','debug','_notificationService','urlChange$','collabStatus.notCollab','stringify','CollaborationDataLoaderController','COLORS','requireSession','UniverCollaborationClientPlugin','jsx','_urlService','blue.400','subUnitId','ILocalCacheService','LOCAL_CACHE_INTERVAL_KEY','_initDependencies','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_scheduleSaving','findNodePositionByCharIndex','10MgFlzJ','round','m1Prime','unsubscribe','has','getSkeleton','params','from','on-line-icon_clip0_910_349','some','WebSocketService','DocStateChangeManagerService','UniverSheets','COMPLETION_FINISHED','result','_cursorInfo$','call','getCollabCursors$','_docTransformSelectionsService','pushState','bottom','idSuffix','contains','mergeOverrideWithDependencies','univer-mr-2\x20univer-flex\x20univer-text-xl','UNAUTHENTICATED','selections','range','cursorInfo','YUUMI_ASYNCIO_CANCELLED','ITransformService','UniverEngineRender','disposeUnit','createElement','getOwnPropertySymbols','_onCursorUpdate','UniverProCollaborationClientUi','with','ticket','_removeClearOtherTimer','UniverDocs','none','toString','href','transform','UPDATE_CURSOR','resize','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','fillText','_id','addObject','unitId','/run/','toDisposable','INTERNAL_ERROR','popstate','endColumn','UniverCollaborationClientUIPlugin','...','removeParam','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','APPLY_REVISION_CONFILICT','isActive','runId','320hdzaXW','0\x200\x2017\x2016','unshift','_themeService','_collaborationController','sheetId','_collabCursorState$','univer-flex\x20univer-items-center','off-line-icon_clip0_910_343','ALREADY_EXISTS','isArray','getFocusedUnit','TEXT_RANGE_LAYER_INDEX','SheetCollabCursorShape','INVITE_CODE_ALREADY_BOUND','ACTIVE_UNIT_EVENT_CHANNEL','IRenderManagerService','_localStorageService','createIdentifier','NodePositionConvertToCursor','distinctUntilChanged','NOT_FOUND','min','_messageService','getOffsetConfig','YUUMI_UNABLE_LOAD_URL','DocSelectionManagerService','all','_saveCache','forEach','_imageIoService','getColor','_document','off-line-icon','getUnitStatus$','MOBILE_HAS_BEEN_BOUND','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_getAnchorBounding','collabStatus.synced','UniverProCollaborationClient','clsx','@univerjs/docs-ui','SheetSkeletonManagerService','mutations','setUndoRedoMutationParamsCache','NO_OTHER_CLIENTS_EDITING','setItem','icon','unitID','onPointerEnter$','M0\x200H16V16H0z','collaboration.single-unit.warning','_context','status$','map','YUUMI_TABLE_NOT_FOUND_IN_UNIT','@univerjs/ui','_initResize','moveTo','_setupBeforeClosingHandler','@univerjs-pro/collaboration','debounceTime','_instanceService','getOwnPropertyDescriptor','backgroundColor','combineLatest','location','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','isTransformMutationFailure','mask','max','then','colorChannel1','subscribe','data','YUUMI_RATE_OVER_LIMIT','TEXT','top','type','_initStatusListener','tag','symbol','_initEvent','getRangePointData','currentTheme$','_startDocCollabCursor','deserializeRangeWithSheet','fromEvent','_color','assignAColorForMemberID','name','APPLY_NON_SEQUENTIAL_REVISION','UniverEngineFormula','undoState','Inject','isEditing','getMember','RegularPolygon','getSheetBySheetId','LOGIN_FAILED','className','EMAIL_HAS_BEEN_BOUND','handleInsertRangeMoveRight','storage','_range','_refreshCollabCursors','split','IConfigService','USERS_LEAVE','CONNECTOR_DATA_TOO_LARGE','disableLocalCache','YUUMI_NO_CUBOID_FOR_QUESTION','filter','reconnect','asObservable','values','_docTransformIMECacheService','collab-text-anchor-','fillStyle','sheetID','_localeService','@univerjs/engine-render','_labelPosition','origin','IUIPartsService','parse','SetDocZoomRatioOperation','_httpService','takeUntil','_shapes','unit','_heartbeatTimer','SessionStatus','complete','indexOf','CollaborationController','SetTextSelectionsOperation','_handleHover','3205RLISvK','defs','ILocalStorageService','HTTPService','UniverSheetsUi','YUUMI_AI_RUN_FAILED','_getMergeRange','SUBMIT_CHANGESET_TIMEOUT','registerRefRange','getUndoRedoMutationParamsCache','saveTaskMap','_onRefRangeChange','FromArray','subscribeEvent','textRanges','collabStatus.fetchMiss','width','getValue','@univerjs-pro/collaboration-client','_docSkeletonManagerService','_memberService','getActiveSheet','_draw','Error','setActiveRange','deepClone','toRgbString','addEventListener','YUUMI_URL_COL_OUT_OF_RANGE','_saveTaskMap','@univerjs/sheets','UNIVER_DOC','Unknown\x20user','triggerDblclick','_cursors','_logService','hasOwnProperty','FETCH_MISS','UniverDesign','CollaborationStatus','BrowserCollaborationSocketService','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','svg','size','DocCollaborationEntity','attrs','trim','replace','serializeRangeWithSheet','_removeCollabCursors','_online','xlink:href','_toggleOffline','_transformPreviousActiveRange','executionId','_cursor','DocSkeletonManagerService','currentSkeleton$','cursorInfo$','onTransformChange$','permission.title','UNDEFINED','YUUMI_SUBSCRIPTION_NOT_FOUND','transformIMECache','override','actions','LICENSE_MAX_UNITS_EXCEEDED','InsertColCommandId','labelPosition','RemoveRowCommandId','exhaustSavingTask','translate(.97)','find','loadUnit','PERMISSION_DENIED','prototype','IUniverInstanceService','debounce','handleIRemoveCol','ONLINE','getAncestorScale','Failed','handleMoveRange','Vector2','createSocket','generateRandomId','code','object','getCollabEntity$','_getSaveTimeout','handleDeleteRangeMoveUp','collab-text-range-','init','getDocRanges','LOCAL_CACHE_INTERVAL','_updateURLWithCurrentState','MemberService','VIEW_MAIN','0\x200\x2016\x2016','USER_NOT_INVITED_CODE','lineTo','whenReady','PENDING','arc','makeDirty','closePath','ISocketService','MoveRangeCommandId','YUUMI_ALL_TABLES_IS_INVALID','OnLineIcon','_disabled','UniverDocsUi','_initStatusComponent','replaceState','CONFLICT','_updateCollabCursors','_sheetSkeletonManagerService','send','[CollaborationDataLoaderController]','UNIVER_SHEET','UNRECOGNIZED','_unitOnClients','getRenderById','@univerjs/sheets-ui','next','_hover','UnitStatus','string','history','drawWith','IBeforeCloseService','_updateLocalCursor','3799776icxbnT','getSheetId','_transformUndoRedoStack','getLocalCacheKey','onCommandExecuted','concat','IRemoteInstanceService','ILogService','div','InsertRangeMoveRightCommandId','OFFLINE','_syncEditingCollabCursorService','Disposable','rxjs/operators','_updateSubUnitFromURLParams','AWAITING','_assignedColors','24IGSlvk','getCurrentRevOfUnit','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_unitStatus','wsSessionTicketUrl','collabStatus.conflict','roomMembers$','ICommandService','post','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','RemoteUniscriptService','6303407ZqLlvR','3924ZSxJui','uni.network.url-service','_registerRenderDependencies','hide','UniverNetwork','1em','_entityInit$','use','setShapeProps','IImageIoService','clipPath','disposeWithMe','setInterval','dispose$','_getSessionTicket','LICENSE_DISTRO_REJECTED','transformStateCache','_createSocketURL','INotificationService','getCurrent','handleInsertCol','font','RxDisposable','onLocalMutation','add','_setupSubUnitSync','collabStatus.syncing','_docTransformStateCacheService','BehaviorSubject','_doCreateSocket','clearInterval','getColorFromTheme','Rectangle','measureText','registerComponent','getMemberID','React','_lastPointer','exports','Tooltip','_collabCursorController','transformSelections','3983896rZxiGM','CollaborationSessionService','_colorIndex','search','UniverInstanceType','onPointerLeave$','_name','setParam','_clearOtherTimers','_config','CollaborationSocketService','Subject','defIds','_entities','CollaborationUIEventId','_drawRectRange','INVALID_INVITE_CODE','APPLY_DUPLICATED','set','clearTimeout','body','INVITE_CODE_REQUIRED','onPointerMove$','SNAPSHOT_HAS_BEEN_REMOVED','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','touchDependencies','_cachedData','UniverRpc','restore','@univerjs/drawing','roomMembers','Shape','rxjs','startRow','DesktopCollaborationStatusDisplayController','registerBeforeClose','SetWorksheetActivateCommand','http://www.w3.org/2000/svg','_renderManagerService','substring','onStarting','loadOfflineData','getParam','setStateCache','Injector','@univerjs/core','eventID','_roomMembers$','_onCursorDelete','red.300','@univerjs/design','jiqing.500','ThemeService','column','createInstance','newValue','session.will-retry','LICENSE_IMPORT_SIZE_EXCEEDED','show','_handleEvent','permission.content','forwardRef','LICENSE_EXPORT_SIZE_EXCEEDED','fill','_ensureSubject','APPLY_REJECT','206370fxBecB','connectInjector','m2Prime','evenodd','pipe','UniverIcon','engine','current','ColorKit','dispose','extend','_transformHistoryAndStateStack','SNAPSHOT_INVALID_SNAPSHOT','docStateChange$','CLOSE_ROOM','#FFF','merge','transformByState','transformRemoteChangeset','_startSheetCollabCursor','includes','Optional','shareReplay','_uiPartsService','_selfUnitIDs','InsertRangeMoveDownCommandId','SheetsSelectionsService','_initCommandExecutedListener','MUTATION','_anchor','NOT_COLLAB','mapTo','redoState','registerDependencies','searchParams','univerjs-icon\x20univerjs-icon-','RECT','beginPath','CHANGESET_REVISION_CONFILICT','_docSyncEditingCollabCursorService','_handleJoinEvent','_session','_collaborationUIEventService','path','getConfig','transformMutationsWithChangeset','_getSheetObject','isTransformMutationsWithChangesetSuccess','_drawTextRange','onMouseMove','syncEditingCollabCursor','_eventUnsubscribe','CollaborationEvent','_scene','apply','Rect','_docClipboardService','displayName','white','Warning','setConfig','text','getTypeOfUnitDisposed$','collabStatus.offline','_send','_handleLeaveEvent','_scheduleHeartbeat','activeSheet$','transformMutation','BuiltInUIPart','Workbook','url(#$1','IDocClipboardService','_docStateChangeManagerService','react','NodePositionConvertToRectRange','LocaleService','_anchorDot','_init','_revisionService','black','switchMap','children','subunit','sessionStatus$','ENSURE_SNAPSHOT_EXECUTION','_backgroundColor','event$','_render','length','_status$','getUnitId','757128UKWgND','registerRenderModule','url(#on-line-icon_clip0_910_349)','handleIRemoveRow','DisposableCollection','_commandService','APPLY_PERMISSION_DENIED','purple.300','WebURLService','Tools','get','RevisionService','_textBubble','selection','_hovered','fillRule','WECHAT_HAS_BEEN_BOUND','_cursorShapes','color','push','setAlpha','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','row','INVITE_CODE_HAS_BEEN_UES','useRef','_beforeCloseService','updateOfflineData','DataLoaderService','save','getCurrentSelections','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','doc.mutation.rich-text-editing','_injector','16496ColPsm','editingUnit','setTimeout','operators'];_0x225a=function(){return _0x23ede6;};return _0x225a();}