@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505021607 → 0.7.0-nightly.202505041606

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 _0x377c(_0x4f2a9e,_0x211c44){const _0x448d27=_0x448d();return _0x377c=function(_0x377cff,_0x1db19b){_0x377cff=_0x377cff-0x9a;let _0x38703b=_0x448d27[_0x377cff];return _0x38703b;},_0x377c(_0x4f2a9e,_0x211c44);}function _0x448d(){const _0x23f7dc=['unitId','TRANSFORM_CHANGE_OBSERVABLE_TYPE','popstate','PY_RUNTIME_SCRIPT_ERROR','getCurrentSelections','drawWith','CollaborationUIEventId','session.will-retry','IUniverInstanceService','_onRefRangeChange','_updateSubUnitFromURLParams','_initResize','NodePositionConvertToRectRange','OTHER_CLIENT_EDITING','mergeOverrideWithDependencies','UniverIcon','children','xlink:href','getCellPositionByOffset','engine','apply','serializeRangeWithSheet','_hovered','Tools','onCommandExecuted','debug','_range','LICENSE_EXPORT_SIZE_EXCEEDED','name','NOT_COLLAB','setAlpha','_docTransformSelectionsService','BrowserCollaborationSocketService','handleDeleteRangeMoveUp','CollaborationSessionService','_setupSubUnitSync','_handleLeaveEvent','assign','_transformHistoryAndStateStack','SOCKET_FAILED','_getSheetObject','LICENSE_IMPORT_SIZE_EXCEEDED','forwardRef','IDocClipboardService','BehaviorSubject','deepClone','trim','_revisionService','_startDocCollabCursor','_init','storage','arc','_cursorInfo$','LOCAL_CACHE_INTERVAL','getFocusedUnit','_heartbeatTimer','_messageService','symbol','amd','transformMutation','max','USER_NOT_INVITED_CODE','fromEvent','resize','APPLY_REJECT','CollaborationEvent','location','_saveCache','RichTextEditingMutation','UniverEngineFormula','_drawAnchor','NO_OTHER_CLIENTS_EDITING','skeleton','_onCursorDelete','ILocalCacheService','executeCommand','UniverDocs','Error','_removeClearOtherTimer','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','INVITE_CODE_HAS_BEEN_UES','getMemberID','roomMembers','fromEventSubject','takeUntil','_anchorDot','_entityInit$','_initStatusListener','defineProperty','UniverCollaborationClientPlugin','UPDATE_CURSOR','setTimeout','fillRule','attrs','_initCommandExecutedListener','APPLY_NON_SEQUENTIAL_REVISION','univer-flex\x20univer-mr-2\x20univer-text-[20px]','isEditing','DOC_RANGE_TYPE','saveTaskMap','toRgbString','currentTheme$','_onCursorUpdate','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','override','VIEW_MAIN','isArray','UniverSheetsUi','transformMutationsWithChangeset','_scene','react/jsx-runtime','row','handleInsertRow','OFFLINE','transformIMECache','DeleteRangeMoveUpCommandId','lineTo','EMAIL_HAS_BEEN_BOUND','searchParams','color','CollaborationSocketService','_saveTaskMap','_online','transformStateCache','RxDisposable','DependentOn','ONLINE','YUUMI_SUBSCRIPTION_NOT_FOUND','_session','runOnServer','get','_docSkeletonManagerService','AWAITING','startColumn','TEXT_RANGE_LAYER_INDEX','setInterval','clipPath','getColor','_logService','DocSelectionManagerService','UNDEFINED','_docTransformStateCacheService','DeleteRangeMoveLeftCommandId','getConfig','_instanceService','subUnitId','collaboration.closeRoom','rxjs/operators','UniverDrawing','5283230MlIWUI','_updateURLWithCurrentState','_initStatusComponent','@univerjs/ui','/run/','idSuffix','getActiveRange','DataLoaderService','ranges','SOCKET_FAILED_RETRY','onRendered','_docTransformIMECacheService','svg','actions','RECT','roomMembers$','_localStorageService','APPLY_PERMISSION_DENIED','textRanges','WECHAT_HAS_BEEN_BOUND','string','Shape','_entities','_injector','UniverEngineRender','complete','subunit','@univerjs/rpc','extend','YUUMI_ASYNCIO_CANCELLED','univer-text-red-500','unit','@univerjs/docs-ui','handleInsertRangeMoveDown','_themeService','registerBeforeClose','OTHER_CLIENTS_EDITING','then','redoState','getCollabCursors$','saveImage','_createSocketURL','_httpService','Rectangle','from','imageSourceType','clearTimeout','entries','_initDependencies','toString','_handleHover','dispose','collaboration-client-ui.config','blue400','_getSaveTimeout','setShapeProps','round','merge','_notificationService','ACTIVE_UNIT_EVENT_CHANNEL','Vector2','loadOfflineData','IMessageService','UniverProCollaborationClientUi','getCurrentUnitForType','INTERNAL_ERROR','syncEditingCollabCursor','#fff','replace','status$','_uiPartsService','getItem','defs','setUndoRedoMutationParamsCache','WebURLService','ThemeService','ALREADY_EXISTS','_transformService','filter','@univerjs/drawing','cursorInfo','getSkeleton','addObjects','key','transformRemoteChangeset','prototype','runId','switchMap','jiqing500','MoveRangeCommandId','SNAPSHOT_INVALID_SNAPSHOT','saveOfflineData','1wsyClB','addHandlerCallback','INVITE_CODE_REQUIRED','addClipboardHook','sheetID','verdancy600','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','clsx','with','type','_updateCollabCursors','_textBubble','409486zRkQMU','Rect','CollaborationStatusDisplay','CollaborationController','length','_cursors','InsertColCommandId','getRangePointData','UniverNetwork','colorChannel1','eventID','RegularPolygon','TEXT','COLORS','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','UNIVER_SHEET','onLocalMutation','_unitOnClients','bottom','tag','map','registerRefRange','combineLatest','exhaustSavingTask','_transformUndoRedoStack','collab-text-range-','LOCAL_CACHE_INTERVAL_KEY','INVITE_CODE_ALREADY_BOUND','CollaborationDataLoaderController','_refreshCollabCursors','setConfig','pluginName','includes','0\x200\x2017\x2016','_collabSessionService','debounce','Injector','_assignedColors','generateRandomId','ColorKit','hide','all','RefRangeService','executionId','InsertRangeMoveDownCommandId','newValue','OnLineSingle','INVALID_INVITE_CODE','some','_send','_urlService','handleInsertCol','_hideTimer','collabStatus.offline','doc.mutation.rich-text-editing','current','_scheduleSaving','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','closePath','univer-text-green-500','_getScale','_docSyncEditingCollabCursorService','indexOf','pipe','split','next','_document','createElement','isTransformMutationFailure','_scheduleHeartbeat','parse','off-line-single','send','_memberService','@univerjs/design','fill','_name','BuiltInUIPart','getDocRanges','Workbook','_registerRenderDependencies','SHEET_VIEWPORT_KEY','save','5agIsxu','CONFLICT','_beforeCloseService','focused$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_collabCursorState$','data','fillStyle','mapTo','@univerjs-pro/collaboration-client','column','CONNECTOR_DATA_TOO_LARGE','_cachedData','_ensureSubject','range','SetSelectionsOperation','uni.network.url-service','getViewport','getRenderById','docStateChange$','INVALID_ARGUMENT','SNAPSHOT_HAS_BEEN_REMOVED','ITransformService','LICENSE_DISTRO_REJECTED','requireSession','getMember','icon','react','throttleTime','IBeforeCloseService','_collabCursorController','@univerjs/docs','_commandService','params','M0\x200H16V16H0z','EffectRefRangId','runRefRangeMutations','_setupBeforeClosingHandler','_scheduleClearOtherTimer','_handleJoinEvent','_config','ticket','_labelPosition','displayName','sessionStatus$','url(#$1','_render','YUUMI_NO_CUBOID_FOR_QUESTION','_id','_colorIndex','_toggleOnline','getTypeOfUnitAdded$','add','reconnect','forEach','replaceState','getVpScrollXYInfoByPosToVp','selection','_syncEditingCollabCursorService','@univerjs/network','91084HzPLoj','gold400','_cursorShapes','ILocalStorageService','1674225wEYvry','_clearOtherTimers','distinctUntilChanged','jsx','[CollaborationDataLoaderController]','_doCreateSocket','size','getLocalCacheKey','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','permission.title','disposeWithMe','text','UniverUi','MOBILE_HAS_BEEN_BOUND','unsubscribe','_localCacheService','translate(.97)','getValue','_draw','_docClipboardService','evenodd','_renderManagerService','_removeCollabCursors','hovered','collab-rect-range-','isActive','univer-flex\x20univer-items-center','endColumn','_anchor','_configService','JOIN_ROOM_FAILED','FromArray','selections','YUUMI_ALL_TABLES_IS_INVALID','useDependency','React','createSocket','Tooltip','handleMoveRange','_handleHeartbeatEvent','CommandType','_docSkeleton','CollaborationUIEventService','_dataLoaderService','values','findNodePositionByCharIndex','RemoteUniscriptService','IUIPartsService','COMPLETION_FINISHED','pushState','HEADER_MENU','PERMISSION_DENIED','_initEvent','Module','collabStatus.notCollab','error','getSheetBySheetId','subscribe','getOwnPropertySymbols','SheetsSelectionsService','path','whenReady','SessionStatus','updateOfflineData','_colorAssignService','LOGIN_FAILED','operators','onMouseMove','DocIMEInputManagerService','assignAColorForMemberID','rxjs','concat','[RemoteUniscriptService]:\x20no\x20focused\x20unit','Inject','debounceTime','NodePositionConvertToCursor','fillText','black','object','getAncestorScale','code','1em','_localeService','@univerjs-pro/collaboration','show','_unitStatus','_status$','ISocketService','init','off-line-single_clip0_910_343','_transformPreviousActiveRange','UNIVER_DOC','propertyIsEnumerable','addObject','getCollabEntity$','url(#off-line-single_clip0_910_343)','InsertRowCommandId','getParam','_toggleOffline','DocStateChangeManagerService','collaboration-client.offline-data-not-saved','_refRangeService','USERS_LEAVE','history','DocSkeletonManagerService','clearInterval','_collaborationUIEventService','Warning','backgroundColor','IRenderManagerService','YUUMI_AI_RUN_FAILED','SheetCollabCursorShape','IConfigService','createInstance','_univerInstanceService','MemberService','has','restore','_initEntityListener','onPointerMove$','_getSessionTicket','push','UniverCore','makeDirty','getOffsetConfig','_color','...','@univerjs/sheets','width','_docStateChangeManagerService','getMergeData','getStateCache','UnitStatus','SheetSkeletonManagerService','YUUMI_RATE_OVER_LIMIT','DesktopCollaborationStatusDisplayController','call','getCurrent','delete','getOwnPropertyDescriptor','getUndoRedoMutationParamsCache','unshift','cursorInfo$','_roomMembers$','@univerjs/engine-formula','_startSheetCollabCursor','m2Prime','ENSURE_SNAPSHOT_EXECUTION','RevisionService','getUnitId','getSheetId','beginPath','CollaborationStatus','SetDocZoomRatioOperation','registerDependencies','sheetId','className','0\x200\x2016\x2016','collabStatus.synced','MessageType','_collaborationController','univerjs-icon\x20univerjs-icon-','_registerDependencies','triggerDblclick','ISnapshotServerService','collabCursorState$','202839HfqwGN','YUUMI_UNABLE_LOAD_URL','on-line-single','useObservable','createIdentifier','ICommandService','onTransformChange$','_lastPointer','min','getActiveSheet','source','_selfUnitIDs','post','undoState','WebSocketService','NOT_FOUND','div','defIds','currentSkeleton$','toDisposable','contains','_drawTextRange','measureText','substring','onPointerLeave$','Subject','urlChange$','LICENSE_MAX_UNITS_EXCEEDED','SUBMIT_CHANGESET_TIMEOUT','_drawRectRange','onPointerEnter$','_hover','currentColor','setItem','_eventUnsubscribe','m1Prime','transformSelections','labelPosition','mutations','_handleEvent','subscribeEvent','INotificationService','_sheetSkeletonManagerService','url(#on-line-single_clip0_910_349)','APPLY_DUPLICATED','sessionTicket','entityInit$','YUUMI_URL_COL_OUT_OF_RANGE','HTTPService','Unknown\x20user','LocaleService','@univerjs/sheets-ui','_imageIoService','collab-client.tooltip.reconnect','enableLocalCache','dispose$','mask','body','UniverCollaborationClientUIPlugin','collabStatus.syncing','none','getCurrentRevOfUnit','_context','Failed','unitID','_backgroundColor','event$','55480SXzyCK','isTransformMutationsWithChangesetSuccess','154JHWNJN','stringify','@univerjs/core','href','IURLService','asObservable','Disposable','UNAUTHENTICATED','loadUnit','on-line-single_clip0_910_349','_getAnchorBounding','ILogService','shareReplay','UniverInstanceType','UNRECOGNIZED','_updateLocalCursor','_disabled','_cursor','_shapes','UniverRpc','jsxs','SYNCED','set','102354ADxQdR'];_0x448d=function(){return _0x23f7dc;};return _0x448d();}(function(_0x15269c,_0x278045){const _0x308b5b=_0x377c,_0x2029d5=_0x15269c();while(!![]){try{const _0x12335a=-parseInt(_0x308b5b(0x312))/0x1*(parseInt(_0x308b5b(0x31e))/0x2)+-parseInt(_0x308b5b(0x1c4))/0x3+-parseInt(_0x308b5b(0x11a))/0x4*(parseInt(_0x308b5b(0xde))/0x5)+parseInt(_0x308b5b(0x220))/0x6+parseInt(_0x308b5b(0x209))/0x7*(parseInt(_0x308b5b(0x207))/0x8)+-parseInt(_0x308b5b(0x11e))/0x9+parseInt(_0x308b5b(0x2b6))/0xa;if(_0x12335a===_0x278045)break;else _0x2029d5['push'](_0x2029d5['shift']());}catch(_0x2ee2db){_0x2029d5['push'](_0x2029d5['shift']());}}}(_0x448d,0x34ee0),function(_0xe43092,_0x3f8cdd){const _0x55e112=_0x377c;typeof exports==_0x55e112(0x16c)&&typeof module<'u'?_0x3f8cdd(exports,require(_0x55e112(0xe7)),require('@univerjs/core'),require('@univerjs/engine-render'),require(_0x55e112(0x119)),require(_0x55e112(0x2d6)),require('@univerjs/drawing'),require(_0x55e112(0x164)),require(_0x55e112(0xfd)),require(_0x55e112(0x171)),require(_0x55e112(0x1ae)),require(_0x55e112(0x19d)),require(_0x55e112(0x2b4)),require(_0x55e112(0x1f7)),require('react/jsx-runtime'),require(_0x55e112(0x2b9)),require(_0x55e112(0xd5)),require('react'),require(_0x55e112(0x2d1))):typeof define=='function'&&define[_0x55e112(0x25b)]?define(['exports',_0x55e112(0xe7),_0x55e112(0x20b),'@univerjs/engine-render',_0x55e112(0x119),_0x55e112(0x2d6),_0x55e112(0x305),'rxjs',_0x55e112(0xfd),_0x55e112(0x171),_0x55e112(0x1ae),_0x55e112(0x19d),_0x55e112(0x2b4),_0x55e112(0x1f7),_0x55e112(0x28f),_0x55e112(0x2b9),_0x55e112(0xd5),_0x55e112(0xf9),_0x55e112(0x2d1)],_0x3f8cdd):(_0xe43092=typeof globalThis<'u'?globalThis:_0xe43092||self,_0x3f8cdd(_0xe43092[_0x55e112(0x2f5)]={},_0xe43092['UniverProCollaborationClient'],_0xe43092[_0x55e112(0x198)],_0xe43092[_0x55e112(0x2ce)],_0xe43092[_0x55e112(0x326)],_0xe43092['UniverDocsUi'],_0xe43092[_0x55e112(0x2b5)],_0xe43092[_0x55e112(0x164)],_0xe43092[_0x55e112(0x26d)],_0xe43092['UniverProCollaboration'],_0xe43092[_0x55e112(0x266)],_0xe43092['UniverSheets'],_0xe43092['rxjs'][_0x55e112(0x160)],_0xe43092[_0x55e112(0x28c)],_0xe43092[_0x55e112(0x141)],_0xe43092[_0x55e112(0x12a)],_0xe43092['UniverDesign'],_0xe43092['React'],_0xe43092[_0x55e112(0x21c)]));}(this,function(_0x4b0a9d,_0x144b9c,_0x5e3496,_0x8bdac5,_0x4656bc,_0xc6f069,_0x5810ce,_0x40ed3d,_0x2415d7,_0x4251b3,_0x4c4d7e,_0x57834c,_0x46a2d7,_0x2d5f4e,_0x24ac85,_0x4dbd51,_0x13f7dc,_0x29a331,_0xc09291){'use strict';const _0x1b0c82=_0x377c;var _0x208f76=Object['defineProperty'],_0x11808b=(_0x1d6844,_0x213707,_0x203a44)=>_0x213707 in _0x1d6844?_0x208f76(_0x1d6844,_0x213707,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x203a44}):_0x1d6844[_0x213707]=_0x203a44,_0x5be2b7=(_0x91cfc,_0x3a2b5b,_0x2ad34b)=>_0x11808b(_0x91cfc,typeof _0x3a2b5b!=_0x1b0c82(0x25a)?_0x3a2b5b+'':_0x3a2b5b,_0x2ad34b),_0x3ba8b8=Object[_0x1b0c82(0x1a9)],_0x51a522=(_0x52eff7,_0x265250,_0x3bac01,_0x38ae66)=>{const _0x13007c=_0x1b0c82;for(var _0x740450=_0x38ae66>0x1?void 0x0:_0x38ae66?_0x3ba8b8(_0x265250,_0x3bac01):_0x265250,_0x391951=_0x52eff7[_0x13007c(0x322)]-0x1,_0x34021b;_0x391951>=0x0;_0x391951--)(_0x34021b=_0x52eff7[_0x391951])&&(_0x740450=_0x34021b(_0x740450)||_0x740450);return _0x740450;},_0x107fdc=(_0x1b2f53,_0x4002fe)=>(_0x365fb7,_0x2de618)=>_0x4002fe(_0x365fb7,_0x2de618,_0x1b2f53);let _0x59a980=class extends _0x5e3496[_0x1b0c82(0x29d)]{constructor(_0x376125,_0x31a627){const _0x4bef90=_0x1b0c82;super(),this['_docClipboardService']=_0x376125,this[_0x4bef90(0x1f8)]=_0x31a627,this[_0x4bef90(0x252)]();}[_0x1b0c82(0x252)](){const _0x2849df=_0x1b0c82,_0xdb1994=this;this[_0x2849df(0x128)](this[_0x2849df(0x131)][_0x2849df(0x315)]({'onBeforePasteImage':async _0x14dd93=>{const _0x37f868=_0x2849df,_0x56ac4e=await _0xdb1994[_0x37f868(0x1f8)][_0x37f868(0x2de)](_0x14dd93);return _0x56ac4e?{'source':_0x56ac4e[_0x37f868(0x1ce)],'imageSourceType':_0x56ac4e[_0x37f868(0x2e3)]}:null;}}));}};_0x59a980=_0x51a522([_0x107fdc(0x0,_0xc6f069[_0x1b0c82(0x24c)]),_0x107fdc(0x1,_0x5810ce['IImageIoService'])],_0x59a980);const _0x480b23=['purple300',_0x1b0c82(0x30e),_0x1b0c82(0x317),'red300',_0x1b0c82(0x2eb),_0x1b0c82(0x11b)];class _0x1d0933 extends _0x5e3496[_0x1b0c82(0x20f)]{constructor(){const _0x33f037=_0x1b0c82;super(...arguments),_0x5be2b7(this,_0x33f037(0xb0),new Map()),_0x5be2b7(this,_0x33f037(0x10f),0x0);}[_0x1b0c82(0x163)](_0x337243){const _0x1e7336=_0x1b0c82;if(this[_0x1e7336(0xb0)][_0x1e7336(0x192)](_0x337243))return this[_0x1e7336(0xb0)][_0x1e7336(0x2a3)](_0x337243);const _0x40999c=_0x480b23[this[_0x1e7336(0x10f)]];return this[_0x1e7336(0x10f)]=(this[_0x1e7336(0x10f)]+0x1)%_0x480b23['length'],this['_assignedColors'][_0x1e7336(0x21f)](_0x337243,_0x40999c),_0x40999c;}}function _0x10f1e6(_0x619f27){const _0x20240f=_0x1b0c82;let _0x57eeb0='';for(const _0x4e5b4b of _0x619f27){const {startOffset:_0x2dab33,endOffset:_0x505b0d,isActive:_0x1e8788,rangeType:_0x3f934d,segmentId:_0x2a150d,segmentPage:_0x4c2c17}=_0x4e5b4b;_0x57eeb0[_0x20240f(0x322)]&&(_0x57eeb0+=','),_0x57eeb0+=_0x2dab33+':'+_0x505b0d+':'+(_0x1e8788?'1':'0')+':'+_0x3f934d+':'+_0x2a150d+':'+_0x4c2c17;}return _0x57eeb0;}function _0x3635e5(_0x205f00){const _0x48000d=_0x1b0c82,_0x102fef=_0x205f00[_0x48000d(0xcb)](','),_0x2e35df=[];for(const _0x2fbcf2 of _0x102fef){const [_0x2b0b2a,_0x45a6e7,_0x4462f4,_0x21ae15,_0x546bc7,_0x83a8fe]=_0x2fbcf2[_0x48000d(0xcb)](':');_0x2e35df[_0x48000d(0x197)]({'startOffset':Number(_0x2b0b2a),'endOffset':Number(_0x45a6e7),'collapsed':_0x2b0b2a===_0x45a6e7,'isActive':_0x4462f4==='1','rangeType':_0x21ae15===_0x5e3496[_0x48000d(0x283)]['TEXT']?_0x5e3496['DOC_RANGE_TYPE'][_0x48000d(0x32a)]:_0x5e3496['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x546bc7==_0x48000d(0x2ca)?String(_0x546bc7):'','segmentPage':Number(_0x83a8fe!=null?_0x83a8fe:-0x1)});}return _0x2e35df[_0x48000d(0xbb)](_0x49a4ad=>_0x49a4ad['isActive'])||(_0x2e35df[0x0][_0x48000d(0x137)]=!0x0),_0x2e35df;}class _0x238d27 extends _0x5e3496[_0x1b0c82(0x29d)]{constructor(){const _0x261901=_0x1b0c82;super(...arguments),_0x5be2b7(this,_0x261901(0xe3),new _0x40ed3d[(_0x261901(0x24d))](null)),_0x5be2b7(this,_0x261901(0x1c3),this[_0x261901(0xe3)][_0x261901(0x20e)]());}[_0x1b0c82(0x2f8)](_0x1e0e74){const _0x4bf252=_0x1b0c82,{unitID:_0x28e236,memberID:_0x2ae84a,textRanges:_0x39186c}=_0x1e0e74,_0xab2b4=_0x10f1e6(_0x39186c);if(_0xab2b4==='')return;const _0x85be00={'unitID':_0x28e236,'memberID':_0x2ae84a,'selection':_0xab2b4};this[_0x4bf252(0xe3)][_0x4bf252(0xcc)](_0x85be00);}}var _0x4c45cf=Object['getOwnPropertyDescriptor'],_0x140f30=(_0x2dc719,_0x3c0051,_0x3b2781,_0x1b8f73)=>{const _0x3a0df7=_0x1b0c82;for(var _0x1b523d=_0x1b8f73>0x1?void 0x0:_0x1b8f73?_0x4c45cf(_0x3c0051,_0x3b2781):_0x3c0051,_0x514fd4=_0x2dc719[_0x3a0df7(0x322)]-0x1,_0x2daf9b;_0x514fd4>=0x0;_0x514fd4--)(_0x2daf9b=_0x2dc719[_0x514fd4])&&(_0x1b523d=_0x2daf9b(_0x1b523d)||_0x1b523d);return _0x1b523d;},_0x31243a=(_0x4408fa,_0x458eb1)=>(_0x5dcb8e,_0x5bfa94)=>_0x458eb1(_0x5dcb8e,_0x5bfa94,_0x4408fa);const _0xd424ba=0x12c,_0x453929=0x64;let _0x2a3fd4=class extends _0x5e3496[_0x1b0c82(0x29d)]{constructor(_0x43c9f0,_0x214f1d,_0x46ba9b,_0x5c038d,_0x23c647,_0x44b76b,_0x287ef3,_0x173eb2,_0x1c9569){const _0x33818a=_0x1b0c82;super(),_0x5be2b7(this,_0x33818a(0x29b),!0x1),_0x5be2b7(this,_0x33818a(0x252),!0x1),_0x5be2b7(this,_0x33818a(0x255),new _0x40ed3d[(_0x33818a(0x24d))](new Map())),_0x5be2b7(this,_0x33818a(0x1ac),this[_0x33818a(0x255)][_0x33818a(0x20e)]()),_0x5be2b7(this,_0x33818a(0x1ad),new _0x40ed3d[(_0x33818a(0x24d))]([])),_0x5be2b7(this,_0x33818a(0x2c5),this[_0x33818a(0x1ad)][_0x33818a(0xca)](_0x40ed3d[_0x33818a(0x168)](_0xd424ba))),_0x5be2b7(this,_0x33818a(0x218),_0x5e3496[_0x33818a(0xae)](_0x35bc3c=>{const _0x1e9cdd=_0x33818a,_0x26c887={'eventID':_0x4251b3[_0x1e9cdd(0x262)][_0x1e9cdd(0x27b)],'data':{'unitID':this['unitID'],'memberID':this[_0x1e9cdd(0x2a1)][_0x1e9cdd(0x272)](),'selection':_0x10f1e6(_0x35bc3c)}};this[_0x1e9cdd(0x2a1)][_0x1e9cdd(0xd3)](_0x26c887,this[_0x1e9cdd(0x204)]);},_0x453929)),(this[_0x33818a(0x204)]=_0x43c9f0,this[_0x33818a(0x2a1)]=_0x214f1d,this[_0x33818a(0x2cd)]=_0x46ba9b,this['_colorAssignService']=_0x5c038d,this[_0x33818a(0xd4)]=_0x23c647,this[_0x33818a(0x118)]=_0x44b76b,this[_0x33818a(0x303)]=_0x287ef3,this[_0x33818a(0x190)]=_0x173eb2,this[_0x33818a(0xfe)]=_0x1c9569);}get[_0x1b0c82(0x306)](){const _0x1b1204=_0x1b0c82;return this[_0x1b1204(0x255)][_0x1b1204(0x12f)]();}get[_0x1b0c82(0x273)](){const _0x4e675f=_0x1b0c82;return this[_0x4e675f(0x1ad)][_0x4e675f(0x12f)]();}[_0x1b0c82(0x2e9)](){const _0x7439e2=_0x1b0c82;super['dispose'](),this[_0x7439e2(0x255)][_0x7439e2(0xcc)](new Map()),this[_0x7439e2(0x255)][_0x7439e2(0x2cf)](),this['_roomMembers$']['next']([]),this[_0x7439e2(0x1ad)][_0x7439e2(0x2cf)]();}[_0x1b0c82(0x176)](){const _0x3db4b8=_0x1b0c82;this[_0x3db4b8(0x252)]||(this[_0x3db4b8(0x252)]=!0x0,this[_0x3db4b8(0x2a1)][_0x3db4b8(0x10a)][_0x3db4b8(0xca)](_0x40ed3d['takeUntil'](this['dispose$']))[_0x3db4b8(0x157)](_0xe55e1d=>{const _0x146689=_0x3db4b8;_0xe55e1d===_0x144b9c['SessionStatus'][_0x146689(0x29f)]?this[_0x146689(0x110)]():this['_toggleOffline']();}),this[_0x3db4b8(0x2a1)][_0x3db4b8(0x206)][_0x3db4b8(0xca)](_0x40ed3d[_0x3db4b8(0x275)](this[_0x3db4b8(0x1fb)]))['subscribe'](_0x1b9648=>{const _0x5f23fc=_0x3db4b8,_0x119f63=_0x1b9648[_0x5f23fc(0x328)];_0x119f63===_0x4251b3[_0x5f23fc(0x262)][_0x5f23fc(0x27b)]&&this[_0x5f23fc(0x287)](_0x1b9648),_0x119f63===_0x4251b3[_0x5f23fc(0x262)]['USERS_LEAVE']&&this[_0x5f23fc(0x26a)](_0x1b9648);}),this[_0x3db4b8(0x128)](this[_0x3db4b8(0xfe)][_0x3db4b8(0x239)](_0x5645ba=>{const _0x2eac8e=_0x3db4b8,_0x57cdc8=_0x5645ba[_0x2eac8e(0xff)];_0x57cdc8!=null&&this[_0x2eac8e(0x29b)]&&_0x5645ba['id']===_0x2415d7['SetTextSelectionsOperation']['id']&&_0x57cdc8[_0x2eac8e(0x221)]===this[_0x2eac8e(0x204)]&&_0x57cdc8[_0x2eac8e(0x282)]===!0x1&&_0x57cdc8[_0x2eac8e(0x2be)][_0x2eac8e(0x322)]>0x0&&this[_0x2eac8e(0x218)](_0x57cdc8['ranges']);})),this[_0x3db4b8(0x118)]['collabCursorState$'][_0x3db4b8(0xca)](_0x40ed3d['takeUntil'](this[_0x3db4b8(0x1fb)]))[_0x3db4b8(0x157)](_0x556d53=>{const _0x3500d6=_0x3db4b8;if((_0x556d53==null?void 0x0:_0x556d53[_0x3500d6(0x204)])!==this[_0x3500d6(0x204)])return;const _0x3ad2bf={'eventID':_0x4251b3[_0x3500d6(0x262)][_0x3500d6(0x27b)],'data':_0x556d53};this['_onCursorUpdate'](_0x3ad2bf);}),this[_0x3db4b8(0x128)](this[_0x3db4b8(0xfe)][_0x3db4b8(0x239)](_0x1bfbf1=>{const _0x5e2635=_0x3db4b8;if(_0x1bfbf1[_0x5e2635(0xff)]==null)return;const _0x118082=_0x1bfbf1[_0x5e2635(0xff)];if(_0x1bfbf1['id']!==_0x2415d7[_0x5e2635(0x265)]['id']||_0x118082[_0x5e2635(0x221)]!==this[_0x5e2635(0x204)])return;const _0x3c72be={'id':_0x5e2635(0xc1),'params':_0x118082},_0x22d8a7=this[_0x5e2635(0x306)];for(const [_0x23ecea,_0x5aa7c3]of _0x22d8a7){const _0x2a9121={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x5e2635(0x204)],'actions':null,'textRanges':_0x5aa7c3[_0x5e2635(0x2be)]}},_0xd65c1c=this[_0x5e2635(0x303)][_0x5e2635(0x25c)](_0x3c72be,_0x2a9121,!0x1);if(_0x4251b3[_0x5e2635(0xcf)](_0xd65c1c))throw _0xd65c1c[_0x5e2635(0x155)];_0x22d8a7['set'](_0x23ecea,{..._0x5aa7c3,'ranges':_0xd65c1c[_0x5e2635(0x1b0)][_0x5e2635(0xff)][_0x5e2635(0x2c8)]});}queueMicrotask(()=>{const _0x4d661c=_0x5e2635;this[_0x4d661c(0x255)][_0x4d661c(0xcc)](_0x22d8a7);});})));}[_0x1b0c82(0x287)](_0x20229a){const _0x49fb2c=_0x1b0c82;var _0x211f5d,_0x39f13f;const {memberID:_0xfa6712,selection:_0x21e0ee}=_0x20229a[_0x49fb2c(0xe4)],_0x4aa538=_0x3635e5(_0x21e0ee),_0x2a2ee8=(_0x39f13f=(_0x211f5d=this[_0x49fb2c(0xd4)][_0x49fb2c(0xf7)](this[_0x49fb2c(0x204)],_0xfa6712))==null?void 0x0:_0x211f5d[_0x49fb2c(0x23d)])!=null?_0x39f13f:_0x49fb2c(0x1f5),_0xd2ab22={'color':this['_colorAssignService']['assignAColorForMemberID'](_0xfa6712),'name':_0x2a2ee8,'ranges':_0x4aa538},_0x37460c=this[_0x49fb2c(0x306)];_0x37460c[_0x49fb2c(0x21f)](_0xfa6712,_0xd2ab22),this[_0x49fb2c(0x255)]['next'](_0x37460c);}[_0x1b0c82(0x26a)](_0x5713ce){const _0x4f3fc2=_0x1b0c82,{memberID:_0x5aade7}=_0x5713ce[_0x4f3fc2(0xe4)],_0x5541f9=this[_0x4f3fc2(0x306)];_0x5541f9[_0x4f3fc2(0x1a8)](_0x5aade7),this[_0x4f3fc2(0x255)][_0x4f3fc2(0xcc)](_0x5541f9);}[_0x1b0c82(0x110)](){const _0x92d6cc=_0x1b0c82;var _0x1e1a6c;if(this[_0x92d6cc(0x29b)]=!0x0,((_0x1e1a6c=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x1e1a6c[_0x92d6cc(0x1b3)]())!==this[_0x92d6cc(0x204)])return;const _0x428832=this[_0x92d6cc(0x2cd)]['get'](_0x2415d7[_0x92d6cc(0x2ac)])[_0x92d6cc(0xd9)]();Array[_0x92d6cc(0x28b)](_0x428832)&&_0x428832[_0x92d6cc(0x322)]>0x0&&this['_updateLocalCursor'](_0x428832);}[_0x1b0c82(0x180)](){const _0x218aaa=_0x1b0c82;this[_0x218aaa(0x29b)]=!0x1;}};_0x2a3fd4=_0x140f30([_0x31243a(0x2,_0x5e3496[_0x1b0c82(0x167)](_0x5e3496[_0x1b0c82(0xaf)])),_0x31243a(0x3,_0x5e3496[_0x1b0c82(0x167)](_0x1d0933)),_0x31243a(0x4,_0x5e3496[_0x1b0c82(0x167)](_0x144b9c[_0x1b0c82(0x191)])),_0x31243a(0x5,_0x5e3496[_0x1b0c82(0x167)](_0x238d27)),_0x31243a(0x6,_0x4251b3[_0x1b0c82(0xf4)]),_0x31243a(0x7,_0x5e3496[_0x1b0c82(0x229)]),_0x31243a(0x8,_0x5e3496[_0x1b0c82(0x1c9)])],_0x2a3fd4);var _0x24e963=Object[_0x1b0c82(0x1a9)],_0x26089e=(_0x78484f,_0x31d954,_0x49c0ea,_0x15d5ef)=>{const _0x60d1b2=_0x1b0c82;for(var _0x3840a0=_0x15d5ef>0x1?void 0x0:_0x15d5ef?_0x24e963(_0x31d954,_0x49c0ea):_0x31d954,_0x1bbff8=_0x78484f[_0x60d1b2(0x322)]-0x1,_0x1655b2;_0x1bbff8>=0x0;_0x1bbff8--)(_0x1655b2=_0x78484f[_0x1bbff8])&&(_0x3840a0=_0x1655b2(_0x3840a0)||_0x3840a0);return _0x3840a0;},_0x1198f3=(_0x58fea7,_0x393b33)=>(_0x1422e9,_0x1c6751)=>_0x393b33(_0x1422e9,_0x1c6751,_0x58fea7);const _0x2ad051=0x12c,_0x11ad09=0x64,_0x59e375=()=>{let _0x402393=[],_0x4e6169=!0x1;return _0x962f68=>{const _0xbc9616=_0x377c;_0x402393[_0xbc9616(0x197)](_0x962f68),_0x4e6169||(_0x4e6169=!0x0,setTimeout(()=>{_0x402393['forEach'](_0x2df1a5=>_0x2df1a5()),_0x402393=[],_0x4e6169=!0x1;}));};};let _0x205f36=class extends _0x5e3496[_0x1b0c82(0x29d)]{constructor(_0x28105c,_0x403630,_0x34b567,_0x130a02,_0x49a182,_0x189bf8,_0x3021c0,_0x29cc09){const _0xfaaf79=_0x1b0c82;super(),_0x5be2b7(this,'_online',!0x1),_0x5be2b7(this,'_init',!0x1),_0x5be2b7(this,_0xfaaf79(0x255),new _0x40ed3d[(_0xfaaf79(0x24d))](new Map())),_0x5be2b7(this,_0xfaaf79(0x1ac),this['_cursorInfo$'][_0xfaaf79(0x20e)]()),_0x5be2b7(this,_0xfaaf79(0x1ad),new _0x40ed3d[(_0xfaaf79(0x24d))]([])),_0x5be2b7(this,'roomMembers$',this[_0xfaaf79(0x1ad)][_0xfaaf79(0xca)](_0x40ed3d[_0xfaaf79(0x168)](_0x2ad051))),_0x5be2b7(this,_0xfaaf79(0x218),_0x5e3496['debounce']((_0x353f80,_0x44b87e)=>{const _0x7edc24=_0xfaaf79,_0x663c6d={'eventID':_0x4251b3[_0x7edc24(0x262)][_0x7edc24(0x27b)],'data':{'unitID':this[_0x7edc24(0x204)],'memberID':this[_0x7edc24(0x2a1)][_0x7edc24(0x272)](),'selection':_0x4c4d7e[_0x7edc24(0x236)](_0x353f80,_0x44b87e[_0x7edc24(0xec)])}};this['_session'][_0x7edc24(0xd3)](_0x663c6d,this[_0x7edc24(0x204)]);},_0x11ad09)),(this[_0xfaaf79(0x204)]=_0x28105c,this[_0xfaaf79(0x2a1)]=_0x403630,this[_0xfaaf79(0x2cd)]=_0x34b567,this[_0xfaaf79(0x15e)]=_0x130a02,this[_0xfaaf79(0xd4)]=_0x49a182,this[_0xfaaf79(0x190)]=_0x189bf8,this['_commandService']=_0x3021c0,this[_0xfaaf79(0x183)]=_0x29cc09);}get['cursorInfo'](){const _0xb8160f=_0x1b0c82;return this[_0xb8160f(0x255)][_0xb8160f(0x12f)]();}get[_0x1b0c82(0x273)](){const _0x2052d7=_0x1b0c82;return this[_0x2052d7(0x1ad)][_0x2052d7(0x12f)]();}['dispose'](){const _0x1fbb19=_0x1b0c82;super[_0x1fbb19(0x2e9)](),this['_cursorInfo$'][_0x1fbb19(0xcc)](new Map()),this[_0x1fbb19(0x255)][_0x1fbb19(0x2cf)](),this[_0x1fbb19(0x1ad)][_0x1fbb19(0xcc)]([]),this[_0x1fbb19(0x1ad)][_0x1fbb19(0x2cf)]();}[_0x1b0c82(0x176)](){const _0xdb269c=_0x1b0c82;this[_0xdb269c(0x252)]||(this['_init']=!0x0,this[_0xdb269c(0x2a1)][_0xdb269c(0x10a)][_0xdb269c(0xca)](_0x40ed3d[_0xdb269c(0x275)](this[_0xdb269c(0x1fb)]))[_0xdb269c(0x157)](_0x8cbfbd=>{const _0x417edd=_0xdb269c;_0x8cbfbd===_0x144b9c[_0x417edd(0x15c)][_0x417edd(0x29f)]?this[_0x417edd(0x110)]():this['_toggleOffline']();}),this[_0xdb269c(0x2a1)][_0xdb269c(0x206)][_0xdb269c(0xca)](_0x40ed3d[_0xdb269c(0x275)](this[_0xdb269c(0x1fb)]))['subscribe'](_0x5aa42a=>{const _0x2ec0e0=_0xdb269c,_0x5d4c24=_0x5aa42a[_0x2ec0e0(0x328)];_0x5d4c24===_0x4251b3[_0x2ec0e0(0x262)][_0x2ec0e0(0x27b)]&&this[_0x2ec0e0(0x287)](_0x5aa42a),_0x5d4c24===_0x4251b3[_0x2ec0e0(0x262)][_0x2ec0e0(0x184)]&&this['_onCursorDelete'](_0x5aa42a);}),this[_0xdb269c(0x22a)](),this[_0xdb269c(0x128)](this[_0xdb269c(0xfe)]['onCommandExecuted'](_0x338efe=>{const _0x35e4b4=_0xdb269c;if(this['_online']&&_0x338efe['id']===_0x57834c[_0x35e4b4(0xed)]['id']&&_0x338efe[_0x35e4b4(0xff)][_0x35e4b4(0x221)]===this[_0x35e4b4(0x204)]){const _0x4c9662=_0x338efe[_0x35e4b4(0xff)];this[_0x35e4b4(0x218)](_0x4c9662[_0x35e4b4(0x2b2)],_0x4c9662[_0x35e4b4(0x13e)][0x0]);}})));}[_0x1b0c82(0x287)](_0x2b2bb6){const _0xc1b154=_0x1b0c82;var _0x2cfbc7,_0x1c04c4;const {memberID:_0x33d21a,selection:_0x2324b8}=_0x2b2bb6[_0xc1b154(0xe4)],{sheetName:_0x21ba45,range:_0x46f644}=_0x4c4d7e['deserializeRangeWithSheet'](_0x2324b8),_0x181aed={'name':(_0x1c04c4=(_0x2cfbc7=this['_memberService'][_0xc1b154(0xf7)](this['unitID'],_0x33d21a))==null?void 0x0:_0x2cfbc7[_0xc1b154(0x23d)])!=null?_0x1c04c4:_0xc1b154(0x1f5),'range':this['_getMergeRange'](_0x21ba45,_0x46f644),'sheetID':_0x21ba45,'color':this[_0xc1b154(0x15e)]['assignAColorForMemberID'](_0x33d21a),'selection':_0x2324b8},_0x211228=this[_0xc1b154(0x306)];_0x211228[_0xc1b154(0x21f)](_0x33d21a,_0x181aed),this[_0xc1b154(0x255)][_0xc1b154(0xcc)](_0x211228);}[_0x1b0c82(0x26a)](_0x46547d){const _0x46b768=_0x1b0c82,{memberID:_0x24b8b6}=_0x46547d[_0x46b768(0xe4)],_0x4a62bf=this[_0x46b768(0x306)];_0x4a62bf[_0x46b768(0x1a8)](_0x24b8b6),this[_0x46b768(0x255)][_0x46b768(0xcc)](_0x4a62bf);}['_getMergeRange'](_0xa94052,_0x1d841a){const _0x33a7e1=_0x1b0c82;var _0x3dab1c,_0x1bdc98;const _0x2d38d3=(_0x1bdc98=(_0x3dab1c=this[_0x33a7e1(0x190)]['getUniverSheetInstance'](this[_0x33a7e1(0x204)]))==null?void 0x0:_0x3dab1c['getSheetBySheetId'](_0xa94052))==null?void 0x0:_0x1bdc98[_0x33a7e1(0x1a0)]();return(_0x2d38d3==null?void 0x0:_0x2d38d3['find'](_0x2aaf01=>_0x5e3496[_0x33a7e1(0x2e1)][_0x33a7e1(0x1d8)](_0x2aaf01,_0x1d841a)))||_0x1d841a;}[_0x1b0c82(0x22a)](){const _0x46235e=_0x1b0c82,_0x45bd55=new _0x5e3496['DisposableCollection'](),_0x48ee5c=_0x59e375(),_0x5cb1dd=()=>{const _0x3afde1=_0x377c;_0x45bd55[_0x3afde1(0x2e9)]();const _0x323862=(_0xf61310,_0x559b8c,_0x15be99,_0x1e90c8)=>{const _0x32d15b=_0x3afde1;let _0x5afd4d=[];switch(_0xf61310['id']){case _0x57834c[_0x32d15b(0x101)][_0x32d15b(0x2af)]:{_0x5afd4d=_0x57834c['handleDeleteRangeMoveLeft'](_0xf61310,_0x1e90c8);break;}case _0x57834c[_0x32d15b(0x101)][_0x32d15b(0x294)]:{_0x5afd4d=_0x57834c[_0x32d15b(0x242)](_0xf61310,_0x1e90c8);break;}case _0x57834c['EffectRefRangId'][_0x32d15b(0x324)]:{_0x5afd4d=_0x57834c[_0x32d15b(0xbe)](_0xf61310,_0x1e90c8);break;}case _0x57834c[_0x32d15b(0x101)][_0x32d15b(0xb7)]:{_0x5afd4d=_0x57834c[_0x32d15b(0x2d7)](_0xf61310,_0x1e90c8);break;}case _0x57834c['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x5afd4d=_0x57834c['handleInsertRangeMoveRight'](_0xf61310,_0x1e90c8);break;}case _0x57834c[_0x32d15b(0x101)][_0x32d15b(0x17e)]:{_0x5afd4d=_0x57834c[_0x32d15b(0x291)](_0xf61310,_0x1e90c8);break;}case _0x57834c[_0x32d15b(0x101)][_0x32d15b(0x30f)]:{_0x5afd4d=_0x57834c[_0x32d15b(0x144)](_0xf61310,_0x1e90c8);break;}case _0x57834c['EffectRefRangId']['RemoveColCommandId']:{_0x5afd4d=_0x57834c['handleIRemoveCol'](_0xf61310,_0x1e90c8);break;}case _0x57834c[_0x32d15b(0x101)]['RemoveRowCommandId']:{_0x5afd4d=_0x57834c['handleIRemoveRow'](_0xf61310,_0x1e90c8);break;}}const _0x1f2257=_0x57834c[_0x32d15b(0x102)](_0x5afd4d,_0x1e90c8),_0x378fe6=this[_0x32d15b(0x306)][_0x32d15b(0x2a3)](_0x559b8c);if(_0x378fe6&&_0x1f2257){const _0x59cce4={..._0x378fe6,'range':_0x1f2257};this['cursorInfo'][_0x32d15b(0x21f)](_0x559b8c,_0x59cce4),_0x48ee5c(()=>{const _0x3fcb46=_0x32d15b,_0x1f8cef=this['_refRangeService']['registerRefRange'](_0x1f2257,_0x2aa20e=>(_0x1f8cef[_0x3fcb46(0x2e9)](),_0x323862(_0x2aa20e,_0x559b8c,_0x15be99,_0x1f2257)));_0x45bd55[_0x3fcb46(0x112)](_0x1f8cef);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x3afde1(0x114)]((_0x1acdd7,_0x3a5189)=>{const _0x50ec09=_0x3afde1,{range:_0xd04bc,sheetID:_0x568545}=_0x1acdd7,_0x7d403d=this[_0x50ec09(0x183)][_0x50ec09(0xa0)](_0xd04bc,_0xdb8cf9=>(_0x7d403d[_0x50ec09(0x2e9)](),_0x323862(_0xdb8cf9,_0x3a5189,_0x568545,_0xd04bc)));_0x45bd55['add'](_0x7d403d);});};this[_0x46235e(0x128)](_0x5e3496[_0x46235e(0x1d7)](this[_0x46235e(0x255)][_0x46235e(0x157)](()=>{_0x5cb1dd();})));}[_0x1b0c82(0x110)](){const _0xff3232=_0x1b0c82;var _0x11afae,_0x52c5ae;if(this[_0xff3232(0x29b)]=!0x0,((_0x11afae=this[_0xff3232(0x190)]['getFocusedUnit']())==null?void 0x0:_0x11afae['getUnitId']())!==this['unitID'])return;const _0x9df7a6=(_0x52c5ae=this[_0xff3232(0x2cd)][_0xff3232(0x2a3)](_0x57834c[_0xff3232(0x159)])[_0xff3232(0x225)]())==null?void 0x0:_0x52c5ae[0x0],_0x2a6ed=this['_univerInstanceService'][_0xff3232(0x2f6)](_0x5e3496[_0xff3232(0x216)][_0xff3232(0x9a)])['getActiveSheet']();_0x9df7a6&&_0x2a6ed&&this[_0xff3232(0x218)](_0x2a6ed[_0xff3232(0x1b4)](),_0x9df7a6);}[_0x1b0c82(0x180)](){const _0x106381=_0x1b0c82;this[_0x106381(0x29b)]=!0x1;}};_0x205f36=_0x26089e([_0x1198f3(0x2,_0x5e3496[_0x1b0c82(0x167)](_0x5e3496[_0x1b0c82(0xaf)])),_0x1198f3(0x3,_0x5e3496[_0x1b0c82(0x167)](_0x1d0933)),_0x1198f3(0x4,_0x5e3496[_0x1b0c82(0x167)](_0x144b9c[_0x1b0c82(0x191)])),_0x1198f3(0x5,_0x5e3496[_0x1b0c82(0x229)]),_0x1198f3(0x6,_0x5e3496[_0x1b0c82(0x1c9)]),_0x1198f3(0x7,_0x5e3496[_0x1b0c82(0x167)](_0x57834c[_0x1b0c82(0xb5)]))],_0x205f36);var _0x16a815=Object[_0x1b0c82(0x1a9)],_0x265ff5=(_0x3175a6,_0x526ac7,_0x2a9730,_0x3ee387)=>{const _0x2cf667=_0x1b0c82;for(var _0x185ac9=_0x3ee387>0x1?void 0x0:_0x3ee387?_0x16a815(_0x526ac7,_0x2a9730):_0x526ac7,_0x7d1fc2=_0x3175a6[_0x2cf667(0x322)]-0x1,_0x331feb;_0x7d1fc2>=0x0;_0x7d1fc2--)(_0x331feb=_0x3175a6[_0x7d1fc2])&&(_0x185ac9=_0x331feb(_0x185ac9)||_0x185ac9);return _0x185ac9;},_0x1eec7a=(_0x25cdbd,_0xd5f326)=>(_0x56de8b,_0x480a97)=>_0xd5f326(_0x56de8b,_0x480a97,_0x25cdbd);let _0x58d03e=class extends _0x5e3496['RxDisposable']{constructor(_0x12f2b7,_0x26f9a4,_0x4ae262){const _0x525e5a=_0x1b0c82;super(),_0x5be2b7(this,_0x525e5a(0x2cc),new Map()),_0x5be2b7(this,_0x525e5a(0x277),new _0x40ed3d[(_0x525e5a(0x1dd))]()),(this[_0x525e5a(0x190)]=_0x12f2b7,this['_injector']=_0x26f9a4,this[_0x525e5a(0xad)]=_0x4ae262,this['_init']());}[_0x1b0c82(0x2e9)](){const _0x49eba6=_0x1b0c82;super['dispose'](),this[_0x49eba6(0x277)][_0x49eba6(0x2cf)](),this[_0x49eba6(0x2cc)]['forEach'](_0x14ed77=>_0x14ed77[_0x49eba6(0x2e9)]());}[_0x1b0c82(0x2dd)](_0x50d697){const _0x204de5=_0x1b0c82;return this['_entities'][_0x204de5(0x192)](_0x50d697)?this['_entities'][_0x204de5(0x2a3)](_0x50d697)[_0x204de5(0x1ac)]:this[_0x204de5(0x277)][_0x204de5(0xca)](_0x40ed3d[_0x204de5(0x304)](_0x4d8820=>_0x4d8820['unitID']===_0x50d697),_0x40ed3d[_0x204de5(0x30d)](_0x1937a0=>_0x1937a0[_0x204de5(0x1ac)]));}[_0x1b0c82(0x252)](){const _0xecf5f9=_0x1b0c82;this[_0xecf5f9(0x190)][_0xecf5f9(0x111)](_0x5e3496[_0xecf5f9(0x216)][_0xecf5f9(0x9a)])[_0xecf5f9(0xca)](_0x40ed3d[_0xecf5f9(0x275)](this[_0xecf5f9(0x1fb)]))['subscribe'](async _0x570b14=>{const _0x1011fe=_0xecf5f9,_0x5a661a=_0x570b14[_0x1011fe(0x1b3)](),_0x5e035e=await this[_0x1011fe(0x1af)](_0x5a661a);this[_0x1011fe(0x277)][_0x1011fe(0xcc)](_0x5e035e),this[_0x1011fe(0x2cc)][_0x1011fe(0x21f)](_0x5a661a,_0x5e035e);}),this[_0xecf5f9(0x190)]['getTypeOfUnitAdded$'](_0x5e3496[_0xecf5f9(0x216)][_0xecf5f9(0x179)])['pipe'](_0x40ed3d['takeUntil'](this[_0xecf5f9(0x1fb)]))[_0xecf5f9(0xca)](_0x40ed3d[_0xecf5f9(0x304)](_0x1486be=>!_0x1486be[_0xecf5f9(0x1b3)]()['startsWith']('__')))['subscribe'](async _0xda96c8=>{const _0x9c80bc=_0xecf5f9,_0x23e395=_0xda96c8[_0x9c80bc(0x1b3)](),_0x5d85be=await this[_0x9c80bc(0x251)](_0x23e395);this[_0x9c80bc(0x277)][_0x9c80bc(0xcc)](_0x5d85be),this[_0x9c80bc(0x2cc)][_0x9c80bc(0x21f)](_0x23e395,_0x5d85be);}),_0x40ed3d[_0xecf5f9(0x2ef)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5e3496[_0xecf5f9(0x216)][_0xecf5f9(0x179)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x5e3496[_0xecf5f9(0x216)][_0xecf5f9(0x9a)]))[_0xecf5f9(0xca)](_0x40ed3d[_0xecf5f9(0x275)](this['dispose$']))[_0xecf5f9(0x157)](_0x5a6c3e=>{const _0x4911fa=_0xecf5f9,_0x248bd6=_0x5a6c3e[_0x4911fa(0x1b3)](),_0x19c93f=this[_0x4911fa(0x2cc)][_0x4911fa(0x2a3)](_0x248bd6);_0x19c93f&&(_0x19c93f[_0x4911fa(0x2e9)](),this[_0x4911fa(0x2cc)]['delete'](_0x248bd6));});}async[_0x1b0c82(0x1af)](_0x5efbe6){const _0x2da945=_0x1b0c82,_0x30f2da=await this[_0x2da945(0xad)][_0x2da945(0xf6)](_0x5efbe6),_0xac8f0e=this[_0x2da945(0x2cd)][_0x2da945(0x18f)](_0x205f36,_0x5efbe6,_0x30f2da);return _0xac8f0e[_0x2da945(0x176)](),_0xac8f0e;}async[_0x1b0c82(0x251)](_0x2ae76b){const _0x32c31b=_0x1b0c82,_0x5d2a8c=await this[_0x32c31b(0xad)][_0x32c31b(0xf6)](_0x2ae76b),_0x48cc38=this[_0x32c31b(0x2cd)][_0x32c31b(0x18f)](_0x2a3fd4,_0x2ae76b,_0x5d2a8c);return _0x48cc38[_0x32c31b(0x176)](),_0x48cc38;}};_0x58d03e=_0x265ff5([_0x1eec7a(0x0,_0x5e3496[_0x1b0c82(0x229)]),_0x1eec7a(0x1,_0x5e3496[_0x1b0c82(0x167)](_0x5e3496[_0x1b0c82(0xaf)])),_0x1eec7a(0x2,_0x5e3496[_0x1b0c82(0x167)](_0x144b9c[_0x1b0c82(0x243)]))],_0x58d03e);const _0x59fb3c=0x14,_0x48ecd3=0xc8,_0x4d89b0=0x4,_0x48bcde=0x5;function _0x97cf2f(_0x56c9bf,_0x57d348){const _0x47825b=_0x1b0c82;let {radius:_0x3a4d20,width:_0x3869ea,height:_0x26ad0f}=_0x57d348;_0x3a4d20=_0x3a4d20!=null?_0x3a4d20:0x0,_0x3869ea=_0x3869ea!=null?_0x3869ea:0x1e,_0x26ad0f=_0x26ad0f!=null?_0x26ad0f:0x1e;let _0x59ff25=0x0,_0x260458=0x0,_0x1f408b=0x0;_0x59ff25=_0x260458=_0x1f408b=Math[_0x47825b(0x1cc)](_0x3a4d20,_0x3869ea/0x2,_0x26ad0f/0x2),_0x56c9bf[_0x47825b(0x1b5)](),_0x56c9bf['moveTo'](_0x59ff25,0x0),_0x56c9bf[_0x47825b(0x295)](_0x3869ea-_0x260458,0x0),_0x56c9bf['arc'](_0x3869ea-_0x260458,_0x260458,_0x260458,Math['PI']*0x3/0x2,0x0,!0x1),_0x56c9bf[_0x47825b(0x295)](_0x3869ea,_0x26ad0f-_0x1f408b),_0x56c9bf[_0x47825b(0x254)](_0x3869ea-_0x1f408b,_0x26ad0f-_0x1f408b,_0x1f408b,0x0,Math['PI']/0x2,!0x1),_0x56c9bf[_0x47825b(0x295)](0x0,_0x26ad0f),_0x56c9bf[_0x47825b(0x295)](0x0,_0x59ff25),_0x56c9bf[_0x47825b(0x254)](_0x59ff25,_0x59ff25,_0x59ff25,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x56c9bf[_0x47825b(0xc5)](),_0x57d348[_0x47825b(0xd6)]&&(_0x56c9bf[_0x47825b(0xdd)](),_0x56c9bf[_0x47825b(0xe5)]=_0x57d348['fill'],_0x57d348[_0x47825b(0x27d)]==='evenodd'?_0x56c9bf[_0x47825b(0xd6)](_0x47825b(0x132)):_0x56c9bf['fill'](),_0x56c9bf['restore']());}class _0x3b18c9 extends _0x8bdac5['Shape']{constructor(_0x143ce2,_0x211cf1){const _0x1742b8=_0x1b0c82;super(_0x143ce2,_0x211cf1),_0x5be2b7(this,'color'),_0x5be2b7(this,_0x1742b8(0x129)),(this[_0x1742b8(0x298)]=_0x211cf1==null?void 0x0:_0x211cf1[_0x1742b8(0x298)],this[_0x1742b8(0x129)]=_0x211cf1==null?void 0x0:_0x211cf1[_0x1742b8(0x129)]);}static[_0x1b0c82(0x226)](_0x14315e,_0x5a8cc8){const _0x5ccbc7=_0x1b0c82,{text:_0x17e511,color:_0x41c6a7}=_0x5a8cc8;_0x14315e[_0x5ccbc7(0xdd)](),_0x14315e['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x3cf56b=_0x14315e[_0x5ccbc7(0x1da)](_0x17e511)['width'],_0x1fcd6d=Math[_0x5ccbc7(0x1cc)](_0x3cf56b+0x2*_0x4d89b0,_0x48ecd3);_0x97cf2f(_0x14315e,{'height':_0x59fb3c,'radius':0x4,'width':_0x1fcd6d,'fill':_0x41c6a7}),_0x14315e[_0x5ccbc7(0xe5)]='#FFF';const _0x29504a=_0x4d89b0,_0x5e0144=_0x59fb3c-_0x48bcde,_0x4edb08=_0x48ecd3-0x2*_0x4d89b0;if(_0x3cf56b>_0x4edb08){let _0x5f36c6='',_0x527153=0x0;for(const _0x51185 of _0x17e511){const _0x3b0c1e=_0x14315e[_0x5ccbc7(0x1da)](_0x51185)[_0x5ccbc7(0x19e)];if(_0x527153+_0x3b0c1e<=_0x4edb08-_0x14315e[_0x5ccbc7(0x1da)](_0x5ccbc7(0x19c))[_0x5ccbc7(0x19e)])_0x5f36c6+=_0x51185,_0x527153+=_0x3b0c1e;else{_0x5f36c6+=_0x5ccbc7(0x19c);break;}}_0x14315e[_0x5ccbc7(0x16a)](_0x5f36c6,_0x29504a,_0x5e0144);}else _0x14315e[_0x5ccbc7(0x16a)](_0x17e511,_0x29504a,_0x5e0144);_0x14315e[_0x5ccbc7(0x193)]();}[_0x1b0c82(0x130)](_0x2d8b4c){_0x3b18c9['drawWith'](_0x2d8b4c,this);}}const _0x186823='collab-text-anchor-',_0x4ee81d=_0x1b0c82(0xa4),_0x12bce9=_0x1b0c82(0x136),_0x2363cf=0x6,_0x594b19=1.5,_0x469139=0x4,_0x12c046=1.5,_0x1e6d74='rgba(255,\x20255,\x20255,\x200.01)';class _0x230c7c{constructor(_0x4ea9d0,_0x5cd942,_0x262ba5,_0x166621){const _0x56ad31=_0x1b0c82;_0x5be2b7(this,_0x56ad31(0x21b),[]),_0x5be2b7(this,_0x56ad31(0x13a),null),_0x5be2b7(this,_0x56ad31(0x31d),null),_0x5be2b7(this,_0x56ad31(0x276),null),_0x5be2b7(this,'_hideTimer',null),_0x5be2b7(this,'_eventUnsubscribe',null),(this[_0x56ad31(0x21a)]=_0x4ea9d0,this['_scene']=_0x5cd942,this[_0x56ad31(0x147)]=_0x262ba5,this[_0x56ad31(0xcd)]=_0x166621,this[_0x56ad31(0x10c)]());}set['_hover'](_0x437835){const _0x2042a4=_0x1b0c82;_0x437835?(this[_0x2042a4(0x276)]&&this['_anchorDot'][_0x2042a4(0xb3)](),this[_0x2042a4(0x31d)]&&this[_0x2042a4(0x31d)]['show']()):(this[_0x2042a4(0x276)]&&this[_0x2042a4(0x276)][_0x2042a4(0x172)](),this[_0x2042a4(0x31d)]&&this['_textBubble'][_0x2042a4(0xb3)]());}[_0x1b0c82(0x2e9)](){const _0x386762=_0x1b0c82;for(const _0x311c9d of this['_shapes'])_0x311c9d['dispose']();this[_0x386762(0x31d)]&&this[_0x386762(0x31d)][_0x386762(0x2e9)](),this[_0x386762(0x276)]&&this[_0x386762(0x276)][_0x386762(0x2e9)](),this[_0x386762(0x13a)]&&this[_0x386762(0x13a)][_0x386762(0x2e9)](),this['_eventUnsubscribe']&&this[_0x386762(0x1e6)]();}[_0x1b0c82(0x10c)](){const _0x329406=_0x1b0c82;var _0x2bc02f;const {_docSkeleton:_0xc9b35d,_document:_0x1d0123}=this,{color:_0x4b4012,name:_0x30bfc4,ranges:_0x25ebdb}=this[_0x329406(0x21a)],_0x1ef8f8=_0x1d0123[_0x329406(0x19a)](),{docsLeft:_0x3d0ce1,docsTop:_0x39dd7e}=_0x1ef8f8,_0x528775=new _0xc6f069[(_0x329406(0x169))](_0x1ef8f8,_0xc9b35d);for(const {startOffset:_0x3e5cea,endOffset:_0x470cfc,rangeType:_0x1d696b,segmentId:_0x1e08bf,segmentPage:_0x3f965e,collapsed:_0xe490b5,isActive:_0x379567}of _0x25ebdb){const _0x55d071=_0xc9b35d[_0x329406(0x14b)](_0x3e5cea,!0x0,_0x1e08bf,_0x3f965e);let _0x531703=_0xc9b35d[_0x329406(0x14b)](_0x470cfc,!0x0,_0x1e08bf,_0x3f965e);if(_0x531703==null&&(_0x531703=_0xc9b35d[_0x329406(0x14b)](_0x470cfc-0x1,!0x1,_0x1e08bf,_0x3f965e)),_0x379567){const {contentBoxPointGroup:_0x10f8df}=_0x528775[_0x329406(0x325)](_0x531703,_0x531703);if(_0x10f8df[_0x329406(0x322)]===0x0)continue;this[_0x329406(0x267)](_0x4b4012,_0x10f8df,_0x3d0ce1,_0x39dd7e,_0x30bfc4),this['_eventUnsubscribe']=this[_0x329406(0x2e8)]();}if(_0x55d071&&_0x531703){if(_0x1d696b===_0x5e3496[_0x329406(0x283)][_0x329406(0x2c4)]){const _0x49a547=new _0xc6f069[(_0x329406(0x22d))](_0x1ef8f8,_0xc9b35d),{pointGroup:_0x42a446}=(_0x2bc02f=_0x49a547[_0x329406(0x325)](_0x55d071,_0x531703))!=null?_0x2bc02f:{};if(_0x42a446==null||_0x42a446[_0x329406(0x322)]===0x0)continue;this[_0x329406(0x1e1)](_0x4b4012,_0x42a446,_0x3d0ce1,_0x39dd7e);}else{if(!_0xe490b5){const {borderBoxPointGroup:_0x25a7b7}=_0x528775[_0x329406(0x325)](_0x55d071,_0x531703);if(_0x25a7b7[_0x329406(0x322)]===0x0)continue;this[_0x329406(0x1d9)](_0x4b4012,_0x25a7b7,_0x3d0ce1,_0x39dd7e);}}}}}['_drawAnchor'](_0x48d4a1,_0xe0df40,_0xbf9a35,_0x2f43c6,_0x436e80){const _0x3155d3=_0x1b0c82,_0x5993b9=this[_0x3155d3(0x213)](_0xe0df40),{left:_0x46fb23,top:_0x5bc446,height:_0x34beb5}=_0x5993b9,_0x497e5d=this[_0x3155d3(0xc7)](),_0x189655=_0x12c046/_0x497e5d,_0x285967=new _0x8bdac5['Rect'](_0x186823+_0x5e3496['Tools'][_0x3155d3(0xb1)](_0x2363cf),{'left':_0x46fb23+_0xbf9a35-_0x189655,'top':_0x5bc446+_0x2f43c6,'height':_0x34beb5,'width':_0x594b19,'fill':_0x48d4a1||_0x8bdac5[_0x3155d3(0x2aa)](_0x5e3496[_0x3155d3(0x32b)][_0x3155d3(0x16b)],0x0),'strokeWidth':_0x189655,'stroke':_0x1e6d74,'evented':!0x0});this[_0x3155d3(0x13a)]=_0x285967,this['_scene'][_0x3155d3(0x17b)](_0x285967,_0xc6f069['TEXT_RANGE_LAYER_INDEX']);const _0x16401b=new _0x8bdac5[(_0x3155d3(0x31f))](_0x186823+_0x5e3496[_0x3155d3(0x238)][_0x3155d3(0xb1)](_0x2363cf),{'left':_0x46fb23+_0xbf9a35-_0x189655,'top':_0x5bc446+_0x2f43c6-_0x469139/0x2,'height':_0x469139,'width':_0x469139,'fill':_0x48d4a1||_0x8bdac5[_0x3155d3(0x2aa)](_0x5e3496[_0x3155d3(0x32b)][_0x3155d3(0x16b)],0x0),'strokeWidth':0x0,'stroke':_0x48d4a1||_0x8bdac5[_0x3155d3(0x2aa)](_0x5e3496['COLORS']['black'],0x0),'evented':!0x1});this['_anchorDot']=_0x16401b,this[_0x3155d3(0x28e)][_0x3155d3(0x17b)](_0x16401b,_0xc6f069['TEXT_RANGE_LAYER_INDEX']);const _0x408672=new _0x3b18c9(_0x186823+_0x5e3496[_0x3155d3(0x238)][_0x3155d3(0xb1)](_0x2363cf),{'left':_0x46fb23+_0xbf9a35-_0x189655,'top':_0x5bc446+_0x2f43c6-_0x59fb3c,'text':_0x436e80,'color':_0x48d4a1});this['_textBubble']=_0x408672,this[_0x3155d3(0x28e)]['addObject'](_0x408672,_0xc6f069[_0x3155d3(0x2a7)]),this['_hover']=!0x1;}[_0x1b0c82(0x2e8)](){const _0x1d2a82=_0x1b0c82,_0x53a4d9=this['_anchor'][_0x1d2a82(0x1e2)]['subscribeEvent'](()=>{const _0x25f3e8=_0x1d2a82;this[_0x25f3e8(0x1e3)]=!0x0;}),_0x40fd74=this[_0x1d2a82(0x13a)][_0x1d2a82(0x1dc)]['subscribeEvent'](()=>{const _0x3be091=_0x1d2a82;this[_0x3be091(0xbf)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x35394a=_0x3be091;this[_0x35394a(0x1e3)]=!0x1;},0x7d0);});return()=>{const _0x4c55c1=_0x1d2a82;_0x53a4d9[_0x4c55c1(0x12c)](),_0x40fd74[_0x4c55c1(0x12c)]();};}['_drawTextRange'](_0x1ec867,_0x15e3e1,_0x143138,_0x5199c5){const _0x218c1e=_0x1b0c82,_0xd3cbaf=new _0x5e3496[(_0x218c1e(0xb2))](_0x1ec867)[_0x218c1e(0x23f)](0.2)[_0x218c1e(0x285)](),_0x48c2e5=new _0x8bdac5[(_0x218c1e(0x329))](_0x4ee81d+_0x5e3496['Tools']['generateRandomId'](_0x2363cf),{'pointsGroup':_0x15e3e1,'fill':_0xd3cbaf||_0x8bdac5[_0x218c1e(0x2aa)](_0x5e3496[_0x218c1e(0x32b)]['black'],0.2),'left':_0x143138,'top':_0x5199c5,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x218c1e(0x21b)][_0x218c1e(0x197)](_0x48c2e5),this['_scene'][_0x218c1e(0x17b)](_0x48c2e5,_0xc6f069[_0x218c1e(0x2a7)]);}[_0x1b0c82(0x1e1)](_0x35eefe,_0x4bef3a,_0x29bc39,_0x3a08f3){const _0x2a8b18=_0x1b0c82,_0x11f0e9=new _0x5e3496['ColorKit'](_0x35eefe)[_0x2a8b18(0x23f)](0.2)['toRgbString'](),_0x4c3f05=new _0x8bdac5['RegularPolygon'](_0x12bce9+_0x5e3496[_0x2a8b18(0x238)][_0x2a8b18(0xb1)](_0x2363cf),{'pointsGroup':_0x4bef3a,'fill':_0x11f0e9||_0x8bdac5[_0x2a8b18(0x2aa)](_0x5e3496[_0x2a8b18(0x32b)][_0x2a8b18(0x16b)],0.2),'left':_0x29bc39,'top':_0x3a08f3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2a8b18(0x21b)][_0x2a8b18(0x197)](_0x4c3f05),this['_scene'][_0x2a8b18(0x17b)](_0x4c3f05,_0xc6f069[_0x2a8b18(0x2a7)]);}[_0x1b0c82(0x213)](_0x235998){const _0x5b0217=_0x235998[0x0],_0x2dd54f=_0x5b0217[0x0],_0x3bd476=_0x5b0217[0x2],{x:_0x5b60e7,y:_0x5c350f}=_0x2dd54f,{x:_0x1d2b14,y:_0x57aa42}=_0x3bd476;return{'left':_0x5b60e7,'top':_0x5c350f,'width':_0x1d2b14-_0x5b60e7,'height':_0x57aa42-_0x5c350f};}[_0x1b0c82(0xc7)](){const _0x5cf44a=_0x1b0c82,{scaleX:_0x913df3,scaleY:_0x3ec9e3}=this['_scene'][_0x5cf44a(0x16d)]();return Math[_0x5cf44a(0x25d)](_0x913df3,_0x3ec9e3);}}var _0x1d1889=Object[_0x1b0c82(0x1a9)],_0x17e9c1=(_0xde3138,_0x11d55b,_0x52a4c7,_0x3f2750)=>{const _0x2a8b43=_0x1b0c82;for(var _0x5bfd4f=_0x3f2750>0x1?void 0x0:_0x3f2750?_0x1d1889(_0x11d55b,_0x52a4c7):_0x11d55b,_0x30128d=_0xde3138[_0x2a8b43(0x322)]-0x1,_0x5dd8b7;_0x30128d>=0x0;_0x30128d--)(_0x5dd8b7=_0xde3138[_0x30128d])&&(_0x5bfd4f=_0x5dd8b7(_0x5bfd4f)||_0x5bfd4f);return _0x5bfd4f;},_0x7411ca=(_0x505ba3,_0x37c6a0)=>(_0x392964,_0x3d4464)=>_0x37c6a0(_0x392964,_0x3d4464,_0x505ba3);let _0x5ba2b4=class extends _0x5e3496[_0x1b0c82(0x29d)]{constructor(_0x4d3378,_0x484821,_0x5b8281,_0x1a0751,_0x556b7c){const _0x9e2cba=_0x1b0c82;super(),_0x5be2b7(this,_0x9e2cba(0x11c),[]),_0x5be2b7(this,_0x9e2cba(0x323),[]),(this['_context']=_0x4d3378,this['_docSkeletonManagerService']=_0x484821,this[_0x9e2cba(0xfc)]=_0x5b8281,this[_0x9e2cba(0xfe)]=_0x1a0751,this['_themeService']=_0x556b7c,this[_0x9e2cba(0x252)]());}[_0x1b0c82(0x252)](){const _0x29fd72=_0x1b0c82,_0x5716d1=this[_0x29fd72(0x202)][_0x29fd72(0x221)],_0x55a07a=this[_0x29fd72(0x2a4)];this[_0x29fd72(0x128)](_0x40ed3d[_0x29fd72(0xa1)]([this[_0x29fd72(0xfc)][_0x29fd72(0x2dd)](_0x5716d1),this[_0x29fd72(0x2d8)]['currentTheme$']])[_0x29fd72(0xca)](_0x46a2d7[_0x29fd72(0x9f)](([_0x31376e,_0x2490a5])=>({'skeleton':_0x55a07a[_0x29fd72(0x307)](),'cursors':[..._0x31376e[_0x29fd72(0x14a)]()]['flatMap'](_0x14b681=>({..._0x14b681,'color':_0x2490a5[_0x14b681[_0x29fd72(0x298)]]}))})))[_0x29fd72(0x157)](_0x13b808=>{const _0xf0dcc8=_0x29fd72;if(this[_0xf0dcc8(0x134)](),_0x13b808){const {skeleton:_0x1f3f70,cursors:_0x1e62d0}=_0x13b808;this['_updateCollabCursors'](_0x1f3f70,_0x1e62d0);}})),this[_0x29fd72(0x22c)](),this[_0x29fd72(0x27f)]();}['_updateCollabCursors'](_0x50db78,_0x382d6e){const _0x369557=_0x1b0c82,{scene:_0x32feba,mainComponent:_0x3be779}=this[_0x369557(0x202)],_0x9e6517=_0x382d6e[_0x369557(0x9f)](_0x317a47=>new _0x230c7c(_0x317a47,_0x32feba,_0x50db78,_0x3be779));this[_0x369557(0x11c)]=_0x9e6517,this[_0x369557(0x323)]=_0x382d6e;}[_0x1b0c82(0xa8)](){const _0x2489ce=_0x1b0c82;this[_0x2489ce(0x134)]();const {scene:_0x3ee3e7,mainComponent:_0x1d312f}=this['_context'],_0x59bfd2=this[_0x2489ce(0x2a4)][_0x2489ce(0x307)](),_0x2371ac=this['_cursors'][_0x2489ce(0x9f)](_0x29db39=>new _0x230c7c(_0x29db39,_0x3ee3e7,_0x59bfd2,_0x1d312f));this[_0x2489ce(0x11c)]=_0x2371ac;}[_0x1b0c82(0x134)](){const _0x45aa80=_0x1b0c82;this[_0x45aa80(0x11c)][_0x45aa80(0x114)](_0x2ec1bc=>_0x2ec1bc[_0x45aa80(0x2e9)]()),this['_cursorShapes']=[];}[_0x1b0c82(0x27f)](){const _0x41df65=_0x1b0c82,_0x3e5c39=[_0xc6f069[_0x41df65(0x1b7)]['id']];this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x25fb80=>{const _0x5e6df6=_0x41df65;_0x3e5c39[_0x5e6df6(0xab)](_0x25fb80['id'])&&_0x25fb80['params'][_0x5e6df6(0x221)]===this['_context'][_0x5e6df6(0x221)]&&this[_0x5e6df6(0xa8)]();}));}[_0x1b0c82(0x22c)](){const _0x3eaffc=_0x1b0c82;this[_0x3eaffc(0x128)](_0x5e3496[_0x3eaffc(0x274)](this[_0x3eaffc(0x202)][_0x3eaffc(0x234)][_0x3eaffc(0x1ca)])[_0x3eaffc(0xca)](_0x46a2d7[_0x3eaffc(0x304)](_0x267841=>_0x267841[_0x3eaffc(0x31b)]===_0x8bdac5[_0x3eaffc(0x222)][_0x3eaffc(0x260)]),_0x46a2d7[_0x3eaffc(0xfa)](0x10))[_0x3eaffc(0x157)](()=>{const _0x57795b=_0x3eaffc;this[_0x57795b(0xa8)]();}));}};_0x5ba2b4=_0x17e9c1([_0x7411ca(0x1,_0x5e3496[_0x1b0c82(0x167)](_0x2415d7[_0x1b0c82(0x186)])),_0x7411ca(0x2,_0x5e3496[_0x1b0c82(0x167)](_0x58d03e)),_0x7411ca(0x3,_0x5e3496[_0x1b0c82(0x1c9)]),_0x7411ca(0x4,_0x5e3496[_0x1b0c82(0x167)](_0x5e3496[_0x1b0c82(0x301)]))],_0x5ba2b4);const _0x3a65ca=0x1,_0x3cd9ac=1.5;class _0x4b093e extends _0x8bdac5[_0x1b0c82(0x2cb)]{constructor(_0x1c7064,_0x2e2234){const _0x19500c=_0x1b0c82;super(_0x1c7064,_0x2e2234),_0x5be2b7(this,_0x19500c(0x19b)),_0x5be2b7(this,_0x19500c(0x237),!0x1),_0x5be2b7(this,'_range'),_0x5be2b7(this,_0x19500c(0xd7),''),_0x5be2b7(this,_0x19500c(0x108),'top'),_0x5be2b7(this,_0x19500c(0x205)),(_0x2e2234&&this['setShapeProps'](_0x2e2234),this[_0x19500c(0x1e2)][_0x19500c(0x1ec)](()=>this[_0x19500c(0x2ed)]({'hovered':!0x0})),this[_0x19500c(0x1dc)][_0x19500c(0x1ec)](()=>this[_0x19500c(0x2ed)]({'hovered':!0x1})));}[_0x1b0c82(0x2ed)](_0x16e27a){const _0x1ce60b=_0x1b0c82;var _0x1ed285,_0x357e32,_0x3e06a3,_0x1f98d3,_0x3c36b8,_0x3da540;this['_color']=(_0x1ed285=_0x16e27a[_0x1ce60b(0x298)])!=null?_0x1ed285:this[_0x1ce60b(0x19b)],this[_0x1ce60b(0x237)]=(_0x357e32=_0x16e27a[_0x1ce60b(0x135)])!=null?_0x357e32:this[_0x1ce60b(0x237)],this[_0x1ce60b(0x23b)]=(_0x3e06a3=_0x16e27a[_0x1ce60b(0xec)])!=null?_0x3e06a3:this[_0x1ce60b(0x23b)],this[_0x1ce60b(0xd7)]=(_0x1f98d3=_0x16e27a[_0x1ce60b(0x23d)])!=null?_0x1f98d3:this[_0x1ce60b(0xd7)],this[_0x1ce60b(0x108)]=(_0x3c36b8=_0x16e27a[_0x1ce60b(0x1e9)])!=null?_0x3c36b8:this[_0x1ce60b(0x108)],this['_backgroundColor']=(_0x3da540=_0x16e27a[_0x1ce60b(0x18a)])!=null?_0x3da540:this[_0x1ce60b(0x205)],this['transformByState']({'width':_0x16e27a[_0x1ce60b(0x19e)],'height':_0x16e27a['height']});}[_0x1b0c82(0x161)](_0xdf7b7d){const _0x1c0f68=_0x1b0c82,{row:_0x20ef47,column:_0x43a124}=_0xdf7b7d;if(_0x20ef47>=this['_range']['startRow']&&_0x20ef47<=this[_0x1c0f68(0x23b)]['endRow']&&_0x43a124>=this[_0x1c0f68(0x23b)][_0x1c0f68(0x2a6)]&&_0x43a124<=this['_range'][_0x1c0f68(0x139)]){this[_0x1c0f68(0x2ed)]({'hovered':!0x0});return;}this[_0x1c0f68(0x2ed)]({'hovered':!0x1});}[_0x1b0c82(0x1c1)](_0xee3882){return!0x1;}[_0x1b0c82(0x130)](_0x499c41){const _0x24a6b7=_0x1b0c82;_0x8bdac5[_0x24a6b7(0x31f)][_0x24a6b7(0x226)](_0x499c41,{'width':this['width'],'height':this['height'],'strokeWidth':_0x3cd9ac,'stroke':this[_0x24a6b7(0x19b)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x24a6b7(0x237)]&&(_0x499c41[_0x24a6b7(0xdd)](),_0x499c41['transform'](0x1,0x0,0x0,0x1,this[_0x24a6b7(0x19e)],this['_labelPosition']===_0x24a6b7(0x9d)?0x0:-0x14),_0x3b18c9[_0x24a6b7(0x226)](_0x499c41,{'text':this[_0x24a6b7(0xd7)],'color':this[_0x24a6b7(0x19b)]}),_0x499c41[_0x24a6b7(0x193)]());}}var _0x591943=Object[_0x1b0c82(0x1a9)],_0x152a09=(_0x2415af,_0x408084,_0x316f09,_0x4d7603)=>{const _0x214fce=_0x1b0c82;for(var _0x1edcdb=_0x4d7603>0x1?void 0x0:_0x4d7603?_0x591943(_0x408084,_0x316f09):_0x408084,_0x44d579=_0x2415af[_0x214fce(0x322)]-0x1,_0x1c1df5;_0x44d579>=0x0;_0x44d579--)(_0x1c1df5=_0x2415af[_0x44d579])&&(_0x1edcdb=_0x1c1df5(_0x1edcdb)||_0x1edcdb);return _0x1edcdb;},_0x46f24d=(_0x15b282,_0x1ed562)=>(_0x155b58,_0x4323ef)=>_0x1ed562(_0x155b58,_0x4323ef,_0x15b282);const _0x355d2b=0x1389;let _0x3ff433=class extends _0x5e3496[_0x1b0c82(0x29d)]{constructor(_0x540747,_0x50d7d5,_0x1130c1,_0x111e6d){const _0x54ad18=_0x1b0c82;super(),_0x5be2b7(this,'_cursors',new Set()),_0x5be2b7(this,_0x54ad18(0x1cb),null),(this[_0x54ad18(0x202)]=_0x540747,this[_0x54ad18(0x1ee)]=_0x50d7d5,this[_0x54ad18(0xfc)]=_0x1130c1,this[_0x54ad18(0x2d8)]=_0x111e6d,this[_0x54ad18(0x252)]());}['_init'](){const _0x530b2a=_0x1b0c82;this[_0x530b2a(0x1ee)][_0x530b2a(0x1d6)]['pipe'](_0x46a2d7[_0x530b2a(0x275)](this['dispose$']),_0x46a2d7[_0x530b2a(0x30d)](_0x2d9813=>{const _0x3727e2=_0x530b2a;if(_0x2d9813){const _0x3bdec8=_0x2d9813[_0x3727e2(0x1b9)];return _0x40ed3d['combineLatest'](this[_0x3727e2(0xfc)][_0x3727e2(0x2dd)](this[_0x3727e2(0x202)][_0x3727e2(0x221)]),this[_0x3727e2(0x2d8)][_0x3727e2(0x286)])[_0x3727e2(0xca)](_0x46a2d7[_0x3727e2(0x9f)](([_0xd5b7f1,_0x4b442d])=>{const _0x2b5402=new Map();return _0xd5b7f1['forEach']((_0xa05841,_0x1f7994)=>{const _0x395ab0=_0x377c;if(_0xa05841[_0x395ab0(0x316)]===_0x3bdec8){const _0x165e65={..._0xa05841};_0x165e65[_0x395ab0(0x298)]=_0x4b442d[_0xa05841[_0x395ab0(0x298)]],_0x2b5402[_0x395ab0(0x21f)](_0x1f7994,_0x165e65);}}),{'skeleton':_0x2d9813,'cursors':_0x2b5402};}));}return _0x40ed3d['of']({'skeleton':null,'cursors':new Map()});}))[_0x530b2a(0x157)](({skeleton:_0x1af363,cursors:_0x315e33})=>{const _0x29ef67=_0x530b2a;this[_0x29ef67(0x134)](),_0x1af363&&this[_0x29ef67(0x31c)](_0x1af363,_0x315e33);}),this['_sheetSkeletonManagerService'][_0x530b2a(0x1d6)][_0x530b2a(0x157)](_0x482663=>{const _0x2f1eaa=_0x530b2a;if(_0x482663==null)return;const {skeleton:_0x2a91dd}=_0x482663,{scene:_0x217617}=this[_0x2f1eaa(0x202)];_0x217617[_0x2f1eaa(0x195)][_0x2f1eaa(0x1ec)](_0x5e3496[_0x2f1eaa(0xae)](_0xb38c5b=>{const _0x2b1939=_0x2f1eaa;var _0x4831b8,_0x472178;const {offsetX:_0x2df8bc,offsetY:_0x391aaf}=_0xb38c5b,{x:_0x1e2355,y:_0x3ceece}=_0x217617['getRelativeToViewportCoord'](_0x8bdac5[_0x2b1939(0x2f2)][_0x2b1939(0x13d)]([_0x2df8bc,_0x391aaf])),{scaleX:_0x55e490,scaleY:_0x530e29}=_0x217617[_0x2b1939(0x16d)](),_0x496215=_0x217617[_0x2b1939(0xef)](_0x8bdac5[_0x2b1939(0xdc)][_0x2b1939(0x28a)]),_0x36d907=_0x217617[_0x2b1939(0x116)](_0x8bdac5[_0x2b1939(0x2f2)]['FromArray']([_0x1e2355,_0x3ceece]),_0x496215),_0x273a55=_0x2a91dd[_0x2b1939(0x233)](_0x2df8bc,_0x391aaf,_0x55e490,_0x530e29,_0x36d907);((_0x4831b8=this['_lastPointer'])==null?void 0x0:_0x4831b8[_0x2b1939(0xe8)])===_0x273a55['column']&&((_0x472178=this[_0x2b1939(0x1cb)])==null?void 0x0:_0x472178[_0x2b1939(0x290)])===_0x273a55['row']||this[_0x2b1939(0x323)][_0x2b1939(0x114)](_0x225332=>{const _0x4f0d1e=_0x2b1939;_0x225332[_0x4f0d1e(0x161)](_0x273a55);});},0x64));});}[_0x1b0c82(0x31c)](_0x12e092,_0x3d3489){const _0x35e620=_0x1b0c82;var _0x4e14c1;const _0x58ef61=(_0x4e14c1=this[_0x35e620(0x1ee)][_0x35e620(0x1a7)]())==null?void 0x0:_0x4e14c1[_0x35e620(0x269)];if(!_0x58ef61)return;const _0xecee69=this[_0x35e620(0x249)]();if(!_0xecee69)return;this[_0x35e620(0x323)][_0x35e620(0x114)](_0x557e96=>{const _0x48c425=_0x35e620;_0x557e96[_0x48c425(0x199)]();});const {scene:_0x4dd7b5}=_0xecee69,_0x5ca6d3=_0x580d0a(Array[_0x35e620(0x2e2)](_0x3d3489['values']()))[_0x35e620(0x9f)](_0xdd8ffd=>{const _0x365d0d=_0x35e620,{color:_0x5aea0c,range:_0x2b9b0d,name:_0x5b650f,selection:_0x95ec9a,sheetID:_0xd3f37f}=_0xdd8ffd,{startColumn:_0x11a97b,startRow:_0x3977cd,endColumn:_0x42ab5d,endRow:_0x56879a}=_0x2b9b0d,_0x224cfb=_0x2d5f4e['getCoordByCell'](_0x3977cd,_0x11a97b,_0x4dd7b5,_0x58ef61),_0x55d592=_0x2d5f4e['getCoordByCell'](_0x56879a,_0x42ab5d,_0x4dd7b5,_0x58ef61),{columnHeaderHeightAndMarginTop:_0x5d3673}=_0x58ef61,{startX:_0x1b5273,startY:_0x46c2db}=_0x224cfb,{endX:_0x26169a,endY:_0x10c603}=_0x55d592,_0x3948e4=_0x26169a-_0x1b5273,_0x2bfcaf=_0x10c603-_0x46c2db,_0x553581={'labelPosition':_0x46c2db-_0x5d3673>=_0x59fb3c?'top':_0x365d0d(0x9d),'sheetID':_0xd3f37f,'range':_0x2b9b0d,'color':_0x5aea0c,'name':_0x5b650f,'selection':_0x95ec9a,'left':_0x1b5273,'top':_0x46c2db,'width':_0x3948e4,'height':_0x2bfcaf,'evented':!0x1,'zIndex':_0x355d2b};return new _0x4b093e(_0x5b650f,_0x553581);});_0x4dd7b5[_0x35e620(0x308)](_0x5ca6d3,_0x3a65ca),this['_cursors']=new Set(_0x5ca6d3);}[_0x1b0c82(0x134)](){const _0x5b7ecd=_0x1b0c82;var _0x1570e3;(_0x1570e3=this['_cursors'])==null||_0x1570e3[_0x5b7ecd(0x114)](_0x38ba55=>_0x38ba55[_0x5b7ecd(0x2e9)]());}['_getSheetObject'](){const _0x445f55=_0x1b0c82;return _0x2d5f4e['getSheetObject'](this[_0x445f55(0x202)][_0x445f55(0x2d5)],this[_0x445f55(0x202)]);}};_0x3ff433=_0x152a09([_0x46f24d(0x1,_0x5e3496[_0x1b0c82(0x167)](_0x2d5f4e[_0x1b0c82(0x1a3)])),_0x46f24d(0x2,_0x5e3496[_0x1b0c82(0x167)](_0x58d03e)),_0x46f24d(0x3,_0x5e3496[_0x1b0c82(0x167)](_0x5e3496['ThemeService']))],_0x3ff433);function _0x580d0a(_0x16d3ec){const _0x1349cf=_0x1b0c82,_0x30f951=new Map();return _0x16d3ec[_0x1349cf(0x114)](_0x219143=>{const _0xafd25d=_0x1349cf;if(_0x30f951[_0xafd25d(0x192)](_0x219143['selection'])){const _0x56c1fe=_0x30f951[_0xafd25d(0x2a3)](_0x219143[_0xafd25d(0x117)]);_0x56c1fe[_0xafd25d(0x23d)]+=',\x20'+_0x219143[_0xafd25d(0x23d)];}else _0x30f951[_0xafd25d(0x21f)](_0x219143['selection'],_0x219143);}),Array[_0x1349cf(0x2e2)](_0x30f951[_0x1349cf(0x14a)]());}var _0x7d617b=function(){const _0x3c62a6=_0x1b0c82;return _0x7d617b=Object[_0x3c62a6(0x246)]||function(_0x4afd6b){const _0x4e3d96=_0x3c62a6;for(var _0x29c383,_0x402e8f=0x1,_0x2ebc56=arguments['length'];_0x402e8f<_0x2ebc56;_0x402e8f++){_0x29c383=arguments[_0x402e8f];for(var _0x596a50 in _0x29c383)Object[_0x4e3d96(0x30b)]['hasOwnProperty'][_0x4e3d96(0x1a6)](_0x29c383,_0x596a50)&&(_0x4afd6b[_0x596a50]=_0x29c383[_0x596a50]);}return _0x4afd6b;},_0x7d617b[_0x3c62a6(0x235)](this,arguments);},_0x5bf698=function(_0x3f9e67,_0x267982){const _0x387657=_0x1b0c82;var _0x4c287e={};for(var _0x50341b in _0x3f9e67)Object[_0x387657(0x30b)]['hasOwnProperty'][_0x387657(0x1a6)](_0x3f9e67,_0x50341b)&&_0x267982['indexOf'](_0x50341b)<0x0&&(_0x4c287e[_0x50341b]=_0x3f9e67[_0x50341b]);if(_0x3f9e67!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x59face=0x0,_0x50341b=Object[_0x387657(0x158)](_0x3f9e67);_0x59face<_0x50341b[_0x387657(0x322)];_0x59face++)_0x267982[_0x387657(0xc9)](_0x50341b[_0x59face])<0x0&&Object[_0x387657(0x30b)][_0x387657(0x17a)][_0x387657(0x1a6)](_0x3f9e67,_0x50341b[_0x59face])&&(_0x4c287e[_0x50341b[_0x59face]]=_0x3f9e67[_0x50341b[_0x59face]]);}return _0x4c287e;},_0x38c24f=_0x29a331[_0x1b0c82(0x24b)](function(_0x2b168d,_0x17b38d){const _0x33ac31=_0x1b0c82;var _0x113a8c=_0x2b168d[_0x33ac31(0xf8)],_0x5b1a0c=_0x2b168d['id'],_0x5245ca=_0x2b168d[_0x33ac31(0x1ba)],_0x448df1=_0x2b168d[_0x33ac31(0x2d2)],_0x4def9e=_0x5bf698(_0x2b168d,[_0x33ac31(0xf8),'id',_0x33ac31(0x1ba),_0x33ac31(0x2d2)]),_0x2f2f92=_0x33ac31(0x1bf)[_0x33ac31(0x165)](_0x5b1a0c,'\x20')[_0x33ac31(0x165)](_0x5245ca||'')[_0x33ac31(0x24f)](),_0x5aa246=_0x29a331['useRef']('_'[_0x33ac31(0x165)](_0x21c1a7()));return _0x2ea30d(_0x113a8c,''[_0x33ac31(0x165)](_0x5b1a0c),{'defIds':_0x113a8c[_0x33ac31(0x1d5)],'idSuffix':_0x5aa246[_0x33ac31(0xc2)]},_0x7d617b({'ref':_0x17b38d,'className':_0x2f2f92},_0x4def9e),_0x448df1);});function _0x2ea30d(_0x27ee58,_0x5212fd,_0x4de89e,_0x48b046,_0x2f445d){const _0x1c474a=_0x1b0c82;return _0x29a331[_0x1c474a(0xce)](_0x27ee58['tag'],_0x7d617b(_0x7d617b({'key':_0x5212fd},_0x2b161a(_0x27ee58,_0x4de89e,_0x2f445d)),_0x48b046),(_0x483160(_0x27ee58,_0x4de89e)[_0x1c474a(0x231)]||[])[_0x1c474a(0x9f)](function(_0x21d650,_0x120e33){const _0x282cfe=_0x1c474a;return _0x2ea30d(_0x21d650,''[_0x282cfe(0x165)](_0x5212fd,'-')['concat'](_0x27ee58['tag'],'-')[_0x282cfe(0x165)](_0x120e33),_0x4de89e,void 0x0,_0x2f445d);}));}function _0x2b161a(_0xc12572,_0x81de57,_0x322351){const _0x13e4d6=_0x1b0c82;var _0x399297=_0x7d617b({},_0xc12572[_0x13e4d6(0x27e)]);_0x322351!=null&&_0x322351[_0x13e4d6(0x327)]&&_0x399297['fill']===_0x13e4d6(0x327)&&(_0x399297['fill']=_0x322351[_0x13e4d6(0x327)]),_0xc12572[_0x13e4d6(0x9e)]==='mask'&&_0x399297['id']&&(_0x399297['id']=_0x399297['id']+_0x81de57[_0x13e4d6(0x2bb)]),Object[_0x13e4d6(0x2e5)](_0x399297)['forEach'](function(_0x54b45d){const _0x478cd6=_0x13e4d6;var _0x14c2ed=_0x54b45d[0x0],_0x2cdc7e=_0x54b45d[0x1];_0x14c2ed===_0x478cd6(0x1fc)&&typeof _0x2cdc7e==_0x478cd6(0x2ca)&&(_0x399297[_0x14c2ed]=_0x2cdc7e['replace'](/url\(#(.*)\)/,_0x478cd6(0x10b)['concat'](_0x81de57[_0x478cd6(0x2bb)],')')));});var _0x356b71=_0x81de57['defIds'];return!_0x356b71||_0x356b71[_0x13e4d6(0x322)]===0x0||(_0xc12572[_0x13e4d6(0x9e)]==='use'&&_0x399297[_0x13e4d6(0x232)]&&(_0x399297[_0x13e4d6(0x232)]=_0x399297[_0x13e4d6(0x232)]+_0x81de57[_0x13e4d6(0x2bb)]),Object[_0x13e4d6(0x2e5)](_0x399297)[_0x13e4d6(0x114)](function(_0x2f0471){const _0xe00f49=_0x13e4d6;var _0x276f54=_0x2f0471[0x0],_0x5d44ca=_0x2f0471[0x1];typeof _0x5d44ca=='string'&&(_0x399297[_0x276f54]=_0x5d44ca[_0xe00f49(0x2fa)](/url\(#(.*)\)/,_0xe00f49(0x10b)['concat'](_0x81de57['idSuffix'],')')));})),_0x399297;}function _0x483160(_0x2dab01,_0x48801a){const _0x47f90e=_0x1b0c82;var _0x3beab4,_0x40e7ad=_0x48801a['defIds'];return!_0x40e7ad||_0x40e7ad[_0x47f90e(0x322)]===0x0?_0x2dab01:_0x2dab01[_0x47f90e(0x9e)]==='defs'&&(!((_0x3beab4=_0x2dab01[_0x47f90e(0x231)])===null||_0x3beab4===void 0x0)&&_0x3beab4[_0x47f90e(0x322)])?_0x7d617b(_0x7d617b({},_0x2dab01),{'children':_0x2dab01[_0x47f90e(0x231)][_0x47f90e(0x9f)](function(_0x8ab7a1){const _0x4d682d=_0x47f90e;return typeof _0x8ab7a1[_0x4d682d(0x27e)]['id']==_0x4d682d(0x2ca)&&_0x40e7ad&&_0x40e7ad['indexOf'](_0x8ab7a1['attrs']['id'])>-0x1?_0x7d617b(_0x7d617b({},_0x8ab7a1),{'attrs':_0x7d617b(_0x7d617b({},_0x8ab7a1[_0x4d682d(0x27e)]),{'id':_0x8ab7a1[_0x4d682d(0x27e)]['id']+_0x48801a['idSuffix']})}):_0x8ab7a1;})}):_0x2dab01;}function _0x21c1a7(){const _0x56159a=_0x1b0c82;return Math['random']()['toString'](0x24)[_0x56159a(0x1db)](0x2,0x8);}_0x38c24f[_0x1b0c82(0x109)]=_0x1b0c82(0x230);var _0x45dc87={'tag':_0x1b0c82(0x2c2),'attrs':{'fill':'none','viewBox':_0x1b0c82(0x1bb),'width':_0x1b0c82(0x16f),'height':_0x1b0c82(0x16f)},'children':[{'tag':'g','attrs':{'clipPath':_0x1b0c82(0x17d)},'children':[{'tag':_0x1b0c82(0x15a),'attrs':{'stroke':_0x1b0c82(0x1e4),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x1b0c82(0x2ee),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x1b0c82(0x2a9),'attrs':{'id':_0x1b0c82(0x177)},'children':[{'tag':_0x1b0c82(0x15a),'attrs':{'fill':_0x1b0c82(0x2f9),'d':_0x1b0c82(0x100)}}]}]}],'defIds':[_0x1b0c82(0x177)]},_0x42faa7=_0x29a331[_0x1b0c82(0x24b)](function(_0x2b8cca,_0x3af2a0){const _0x17fc7b=_0x1b0c82;return _0x29a331[_0x17fc7b(0xce)](_0x38c24f,Object['assign']({},_0x2b8cca,{'id':_0x17fc7b(0xd2),'ref':_0x3af2a0,'icon':_0x45dc87}));});_0x42faa7[_0x1b0c82(0x109)]='OffLineSingle';var _0xec9f9a={'tag':_0x1b0c82(0x2c2),'attrs':{'fill':_0x1b0c82(0x200),'viewBox':_0x1b0c82(0xac),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x1b0c82(0x1ef)},'children':[{'tag':_0x1b0c82(0x15a),'attrs':{'stroke':_0x1b0c82(0x1e4),'d':_0x1b0c82(0x32c),'strokeLinecap':_0x1b0c82(0x2ee),'strokeLinejoin':_0x1b0c82(0x2ee),'strokeWidth':1.2}}]},{'tag':_0x1b0c82(0x2fe),'attrs':{},'children':[{'tag':_0x1b0c82(0x2a9),'attrs':{'id':_0x1b0c82(0x212)},'children':[{'tag':_0x1b0c82(0x15a),'attrs':{'fill':_0x1b0c82(0x2f9),'d':_0x1b0c82(0x100),'transform':_0x1b0c82(0x12e)}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x330988=_0x29a331[_0x1b0c82(0x24b)](function(_0x3b3c7f,_0x26fff8){const _0xfdfea0=_0x1b0c82;return _0x29a331[_0xfdfea0(0xce)](_0x38c24f,Object[_0xfdfea0(0x246)]({},_0x3b3c7f,{'id':_0xfdfea0(0x1c6),'ref':_0x26fff8,'icon':_0xec9f9a}));});_0x330988[_0x1b0c82(0x109)]=_0x1b0c82(0xb9);function _0x4c98ef(_0x1f788f){const _0x158107=_0x1b0c82;switch(_0x1f788f){case _0x144b9c[_0x158107(0x1b6)][_0x158107(0x292)]:return _0x158107(0xc0);case _0x144b9c[_0x158107(0x1b6)][_0x158107(0xdf)]:return'collabStatus.conflict';case _0x144b9c['CollaborationStatus']['FETCH_MISS']:return'collabStatus.fetchMiss';case _0x144b9c['CollaborationStatus'][_0x158107(0x23e)]:return _0x158107(0x154);case _0x144b9c[_0x158107(0x1b6)][_0x158107(0x2a5)]:case _0x144b9c['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x158107(0x1ff);case _0x144b9c[_0x158107(0x1b6)][_0x158107(0x21e)]:case _0x144b9c[_0x158107(0x1b6)]['PENDING']:return _0x158107(0x1bc);}}function _0xf90619(_0x4760fd){const _0x1d6ad6=_0x1b0c82,{status$:_0x1bc518}=_0x4760fd,_0x1460a1=_0x4dbd51[_0x1d6ad6(0x1c7)](_0x1bc518,_0x144b9c[_0x1d6ad6(0x1b6)][_0x1d6ad6(0x23e)]),_0x4a5ca2=_0x4dbd51[_0x1d6ad6(0x140)](_0x5e3496['LocaleService']),_0x4d6018=_0x4dbd51[_0x1d6ad6(0x140)](_0x144b9c[_0x1d6ad6(0x243)]),_0x39effa=_0x1460a1!==_0x144b9c[_0x1d6ad6(0x1b6)][_0x1d6ad6(0x292)],_0x28da80=_0x4a5ca2['t'](_0x4c98ef(_0x1460a1)),_0x39fa8d=_0x39effa?_0x24ac85[_0x1d6ad6(0x121)](_0x330988,{}):_0x24ac85['jsx'](_0x42faa7,{}),_0x21cb2c=_0x29a331['useCallback'](()=>{const _0x2d5214=_0x1d6ad6;_0x39effa||_0x4d6018[_0x2d5214(0x113)]();},[_0x39effa,_0x4d6018]);function _0x1e69e7(){const _0x4ceebe=_0x1d6ad6;return _0x24ac85[_0x4ceebe(0x21d)](_0x4ceebe(0x1d4),{'className':_0x4ceebe(0x138),'onClick':_0x21cb2c,'children':[_0x24ac85[_0x4ceebe(0x121)]('div',{'className':_0x13f7dc[_0x4ceebe(0x319)](_0x4ceebe(0x281),_0x39effa?_0x4ceebe(0xc6):_0x4ceebe(0x2d4)),'children':_0x39fa8d}),_0x24ac85[_0x4ceebe(0x121)](_0x4ceebe(0x1d4),{'className':'univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','children':_0x28da80})]});}return _0x39effa?_0x1e69e7():_0x24ac85['jsx'](_0x13f7dc[_0x1d6ad6(0x143)],{'title':_0x4a5ca2['t'](_0x1d6ad6(0x1f9)),'children':_0x1e69e7()});}var _0x39423f=Object['getOwnPropertyDescriptor'],_0x45223c=(_0x3d272a,_0x28d3e9,_0x5f3de2,_0x32c4fd)=>{const _0x2d31d2=_0x1b0c82;for(var _0x172435=_0x32c4fd>0x1?void 0x0:_0x32c4fd?_0x39423f(_0x28d3e9,_0x5f3de2):_0x28d3e9,_0x560df3=_0x3d272a[_0x2d31d2(0x322)]-0x1,_0x39fb08;_0x560df3>=0x0;_0x560df3--)(_0x39fb08=_0x3d272a[_0x560df3])&&(_0x172435=_0x39fb08(_0x172435)||_0x172435);return _0x172435;},_0x506002=(_0x10d7f3,_0x319609)=>(_0x90e72b,_0x47b89f)=>_0x319609(_0x90e72b,_0x47b89f,_0x10d7f3);_0x4b0a9d[_0x1b0c82(0x1a5)]=class extends _0x5e3496[_0x1b0c82(0x20f)]{constructor(_0x3f0e56,_0x4ddf00,_0x17b292,_0x5bb4fb){const _0x223e73=_0x1b0c82;super(),_0x5be2b7(this,_0x223e73(0x174),new _0x40ed3d['BehaviorSubject'](_0x144b9c['CollaborationStatus']['NOT_COLLAB'])),(this[_0x223e73(0x190)]=_0x3f0e56,this['_injector']=_0x4ddf00,this[_0x223e73(0x1be)]=_0x17b292,this[_0x223e73(0x2fc)]=_0x5bb4fb,this[_0x223e73(0x2b8)](),this[_0x223e73(0x278)]());}[_0x1b0c82(0x278)](){const _0x262e8e=_0x1b0c82;this[_0x262e8e(0x128)](this[_0x262e8e(0x190)][_0x262e8e(0xe1)][_0x262e8e(0xca)](_0x40ed3d[_0x262e8e(0x30d)](()=>{const _0x367647=_0x262e8e,_0x12bc8e=this[_0x367647(0x190)]['getFocusedUnit']();return _0x12bc8e?this[_0x367647(0x1be)][_0x367647(0x17c)](_0x12bc8e[_0x367647(0x1b3)]()):_0x40ed3d['of'](null);}),_0x40ed3d['switchMap'](_0x21055c=>_0x21055c?_0x21055c[_0x262e8e(0x2fb)]:_0x40ed3d['of'](_0x144b9c['CollaborationStatus'][_0x262e8e(0x23e)])))[_0x262e8e(0x157)](_0x4548b8=>{const _0x25ca5b=_0x262e8e;this[_0x25ca5b(0x174)][_0x25ca5b(0xcc)](_0x4548b8);}));}[_0x1b0c82(0x2b8)](){const _0x7569=_0x1b0c82;this[_0x7569(0x128)](this[_0x7569(0x2fc)]['registerComponent'](_0x4dbd51[_0x7569(0xd8)][_0x7569(0x150)],()=>_0x4dbd51['connectInjector'](_0x245396({'status$':this[_0x7569(0x174)][_0x7569(0x20e)]()}),this['_injector'])));}},_0x4b0a9d[_0x1b0c82(0x1a5)]=_0x45223c([_0x506002(0x0,_0x5e3496[_0x1b0c82(0x229)]),_0x506002(0x1,_0x5e3496[_0x1b0c82(0x167)](_0x5e3496[_0x1b0c82(0xaf)])),_0x506002(0x2,_0x5e3496[_0x1b0c82(0x167)](_0x144b9c[_0x1b0c82(0x321)])),_0x506002(0x3,_0x4dbd51[_0x1b0c82(0x14d)])],_0x4b0a9d[_0x1b0c82(0x1a5)]);function _0x245396(_0x327ae0){const {status$:_0x5de6f5}=_0x327ae0;return function(){return _0x24ac85['jsx'](_0xf90619,{'status$':_0x5de6f5});};}var _0x45cfef=Object['getOwnPropertyDescriptor'],_0x372809=(_0x158796,_0x48894a,_0x40a6c4,_0x28754b)=>{const _0x22fdb4=_0x1b0c82;for(var _0x41a6b7=_0x28754b>0x1?void 0x0:_0x28754b?_0x45cfef(_0x48894a,_0x40a6c4):_0x48894a,_0x7cd08d=_0x158796[_0x22fdb4(0x322)]-0x1,_0x3595cf;_0x7cd08d>=0x0;_0x7cd08d--)(_0x3595cf=_0x158796[_0x7cd08d])&&(_0x41a6b7=_0x3595cf(_0x41a6b7)||_0x41a6b7);return _0x41a6b7;},_0x335d45=(_0x535974,_0x1db4a3)=>(_0xfa0995,_0x128c95)=>_0x1db4a3(_0xfa0995,_0x128c95,_0x535974);let _0x16ae9b=class extends _0x5e3496['Disposable']{constructor(_0x617fbe,_0x416080,_0x217f7d,_0x288cf6,_0x28355a,_0x449839){const _0x250a4a=_0x1b0c82;super(),this[_0x250a4a(0xe0)]=_0x617fbe,this[_0x250a4a(0x12d)]=_0x416080,this[_0x250a4a(0x188)]=_0x217f7d,this['_messageService']=_0x288cf6,this[_0x250a4a(0x2f0)]=_0x28355a,this[_0x250a4a(0x170)]=_0x449839,this[_0x250a4a(0x103)](),this[_0x250a4a(0x152)]();}[_0x1b0c82(0x103)](){const _0x1baf99=_0x1b0c82;this[_0x1baf99(0x128)](this[_0x1baf99(0xe0)][_0x1baf99(0x2d9)](()=>{const _0x2df4b4=_0x1baf99;if(this[_0x2df4b4(0x12d)][_0x2df4b4(0x284)][_0x2df4b4(0x124)])return this['_localeService']['t'](_0x2df4b4(0x182));}));}['_initEvent'](){const _0x4532fa=_0x1b0c82;this['disposeWithMe'](this['_collaborationUIEventService'][_0x4532fa(0x206)][_0x4532fa(0x157)](_0x3acdf7=>{const _0x31e2de=_0x4532fa;_0x3acdf7['id']===_0x144b9c[_0x31e2de(0x227)][_0x31e2de(0x22e)]&&this[_0x31e2de(0x259)][_0x31e2de(0x172)]({'type':_0x13f7dc[_0x31e2de(0x1bd)][_0x31e2de(0x189)],'content':this[_0x31e2de(0x170)]['t']('collaboration.single-unit.warning')}),_0x3acdf7['id']===_0x144b9c[_0x31e2de(0x227)]['CLOSE_ROOM']&&this[_0x31e2de(0x259)]['show']({'type':_0x13f7dc[_0x31e2de(0x1bd)]['Warning'],'content':this[_0x31e2de(0x170)]['t'](_0x31e2de(0x2b3))}),_0x3acdf7['id']===_0x144b9c[_0x31e2de(0x227)]['PERMISSION_DENIED']&&this[_0x31e2de(0x2f0)][_0x31e2de(0x172)]({'title':this[_0x31e2de(0x170)]['t'](_0x31e2de(0x127)),'content':this[_0x31e2de(0x170)]['t']('permission.content'),'type':_0x31e2de(0x155),'duration':0x0}),_0x3acdf7['id']===_0x144b9c[_0x31e2de(0x227)][_0x31e2de(0xdf)]&&this[_0x31e2de(0x259)][_0x31e2de(0x172)]({'type':_0x13f7dc[_0x31e2de(0x1bd)][_0x31e2de(0x26e)],'content':this[_0x31e2de(0x170)]['t'](_0x31e2de(0x2b3))+'('+_0x3acdf7['data']+')'}),_0x3acdf7['id']===_0x144b9c[_0x31e2de(0x227)][_0x31e2de(0x13c)]&&this[_0x31e2de(0x259)]['show']({'type':_0x13f7dc['MessageType']['Warning'],'content':this['_localeService']['t'](_0x3acdf7[_0x31e2de(0xe4)]||'')}),_0x3acdf7['id']===_0x144b9c[_0x31e2de(0x227)][_0x31e2de(0x2bf)]&&this['_messageService'][_0x31e2de(0x172)]({'type':_0x13f7dc['MessageType'][_0x31e2de(0x189)],'content':this[_0x31e2de(0x170)]['t'](_0x31e2de(0x228))}),_0x3acdf7['id']===_0x144b9c[_0x31e2de(0x227)][_0x31e2de(0x248)]&&this[_0x31e2de(0x259)][_0x31e2de(0x172)]({'type':_0x13f7dc[_0x31e2de(0x1bd)][_0x31e2de(0x26e)],'content':this[_0x31e2de(0x170)]['t']('session.connection-failed')}),_0x3acdf7['id']===_0x144b9c[_0x31e2de(0x227)][_0x31e2de(0x1e0)]&&this[_0x31e2de(0x259)][_0x31e2de(0x172)]({'type':_0x13f7dc['MessageType'][_0x31e2de(0x26e)],'content':this[_0x31e2de(0x170)]['t']('session.collaboration-timeout')});}));}};_0x16ae9b=_0x372809([_0x335d45(0x0,_0x4dbd51[_0x1b0c82(0xfb)]),_0x335d45(0x1,_0x144b9c[_0x1b0c82(0x26b)]),_0x335d45(0x2,_0x5e3496['Inject'](_0x144b9c[_0x1b0c82(0x148)])),_0x335d45(0x3,_0x4dbd51[_0x1b0c82(0x2f4)]),_0x335d45(0x4,_0x4dbd51[_0x1b0c82(0x1ed)]),_0x335d45(0x5,_0x5e3496['Inject'](_0x5e3496['LocaleService']))],_0x16ae9b);const _0x10ee4b=_0x1b0c82(0x2ea),_0x11285b={},_0x3d7732=_0x5e3496[_0x1b0c82(0x1c8)](_0x1b0c82(0xee));var _0x23a7b8=Object[_0x1b0c82(0x1a9)],_0x3092e6=(_0x4603b2,_0x27f31b,_0xe37ece,_0x30723d)=>{const _0x4ad3e5=_0x1b0c82;for(var _0x1b4f30=_0x30723d>0x1?void 0x0:_0x30723d?_0x23a7b8(_0x27f31b,_0xe37ece):_0x27f31b,_0xa88635=_0x4603b2[_0x4ad3e5(0x322)]-0x1,_0x5ca8da;_0xa88635>=0x0;_0xa88635--)(_0x5ca8da=_0x4603b2[_0xa88635])&&(_0x1b4f30=_0x5ca8da(_0x1b4f30)||_0x1b4f30);return _0x1b4f30;},_0x5b5cb3=(_0x3b1896,_0x214c3d)=>(_0x63db48,_0x3ffc86)=>_0x214c3d(_0x63db48,_0x3ffc86,_0x3b1896);_0x4b0a9d[_0x1b0c82(0xa7)]=class extends _0x5e3496['RxDisposable']{constructor(_0x193bb1,_0x5a6714,_0x442eb2,_0x27272c,_0x116747){const _0x2de00d=_0x1b0c82;super(),this[_0x2de00d(0xbd)]=_0x193bb1,this[_0x2de00d(0x2ab)]=_0x5a6714,this[_0x2de00d(0xfe)]=_0x442eb2,this['_dataLoaderService']=_0x27272c,_0x116747?_0x116747==null||_0x116747[_0x2de00d(0x15b)]()[_0x2de00d(0x2db)](()=>this[_0x2de00d(0x252)]()):(this['_logService'][_0x2de00d(0x23a)](_0x2de00d(0x122),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x2de00d(0x252)]());}async[_0x1b0c82(0x252)](){const _0xd17c16=_0x1b0c82,_0x51b70a=this[_0xd17c16(0xbd)]['getParam'](_0xd17c16(0x2d5)),_0x2e184a=this[_0xd17c16(0xbd)][_0xd17c16(0x17f)](_0xd17c16(0x31b)),_0x3795eb=this[_0xd17c16(0xbd)][_0xd17c16(0x17f)](_0xd17c16(0x2d0));if(!_0x51b70a||!_0x2e184a){this[_0xd17c16(0x2ab)][_0xd17c16(0x23a)](_0xd17c16(0x122),_0xd17c16(0x270));return;}const _0xff2bf5=await this[_0xd17c16(0x149)][_0xd17c16(0x211)](_0x51b70a,Number(_0x2e184a),_0x3795eb);_0xff2bf5&&_0xff2bf5 instanceof _0x5e3496[_0xd17c16(0xda)]&&this[_0xd17c16(0x244)](_0xff2bf5);}async[_0x1b0c82(0x244)](_0x31a2cf){const _0x59908b=_0x1b0c82;await this['_updateSubUnitFromURLParams'](_0x31a2cf),_0x31a2cf['activeSheet$'][_0x59908b(0xca)](_0x40ed3d[_0x59908b(0x275)](this['dispose$']))[_0x59908b(0x157)](_0x3c37b5=>{const _0x30ec0f=_0x59908b;_0x3c37b5&&this[_0x30ec0f(0x2b7)](_0x3c37b5);}),this[_0x59908b(0xbd)][_0x59908b(0x1de)]['pipe'](_0x40ed3d[_0x59908b(0x275)](this[_0x59908b(0x1fb)]))[_0x59908b(0x157)](()=>this[_0x59908b(0x22b)](_0x31a2cf));}['_updateURLWithCurrentState'](_0x51c9c7,_0x2b5af0=!0x1){const _0x56bce2=_0x1b0c82,_0x1bb1e8=this[_0x56bce2(0xbd)][_0x56bce2(0x17f)](_0x56bce2(0x2d0));_0x51c9c7['getSheetId']()!==_0x1bb1e8&&this['_urlService']['setParam'](_0x56bce2(0x2d0),_0x51c9c7[_0x56bce2(0x1b4)](),_0x2b5af0);}async[_0x1b0c82(0x22b)](_0x3d9da2){const _0x16622c=_0x1b0c82;var _0x4792da;const _0x5ca911=this['_urlService'][_0x16622c(0x17f)](_0x16622c(0x2d0));if(!_0x5ca911||!_0x3d9da2['getSheetBySheetId'](_0x5ca911)){const _0x38d6eb=_0x3d9da2['getUnhiddenWorksheets']()[0x0],_0x5426c1=_0x3d9da2[_0x16622c(0x156)](_0x38d6eb);if(!_0x5426c1)return;this['_updateURLWithCurrentState'](_0x5426c1,!0x0),await this[_0x16622c(0xfe)][_0x16622c(0x26c)](_0x57834c['SetWorksheetActivateCommand']['id'],{'unitId':_0x3d9da2[_0x16622c(0x1b3)](),'subUnitId':_0x38d6eb});return;}((_0x4792da=_0x3d9da2[_0x16622c(0x1cd)]())==null?void 0x0:_0x4792da[_0x16622c(0x1b4)]())!==_0x5ca911&&await this['_commandService'][_0x16622c(0x26c)](_0x57834c['SetWorksheetActivateCommand']['id'],{'unitId':_0x3d9da2[_0x16622c(0x1b3)](),'subUnitId':_0x5ca911});}},_0x4b0a9d[_0x1b0c82(0xa7)]=_0x3092e6([_0x5b5cb3(0x0,_0x3d7732),_0x5b5cb3(0x1,_0x5e3496[_0x1b0c82(0x214)]),_0x5b5cb3(0x2,_0x5e3496[_0x1b0c82(0x1c9)]),_0x5b5cb3(0x3,_0x5e3496[_0x1b0c82(0x167)](_0x144b9c[_0x1b0c82(0x2bd)])),_0x5b5cb3(0x4,_0x5e3496['Optional'](_0xc09291['IRemoteInstanceService']))],_0x4b0a9d[_0x1b0c82(0xa7)]);var _0x398ecb=Object[_0x1b0c82(0x1a9)],_0x11d0ad=(_0x7ec36d,_0x12e7d5,_0x5666ef,_0x1e283c)=>{for(var _0x2e4ee8=_0x1e283c>0x1?void 0x0:_0x1e283c?_0x398ecb(_0x12e7d5,_0x5666ef):_0x12e7d5,_0x442b5d=_0x7ec36d['length']-0x1,_0x5354e1;_0x442b5d>=0x0;_0x442b5d--)(_0x5354e1=_0x7ec36d[_0x442b5d])&&(_0x2e4ee8=_0x5354e1(_0x2e4ee8)||_0x2e4ee8);return _0x2e4ee8;},_0x186843=(_0x4df11c,_0x224bff)=>(_0x3f4804,_0x51d92b)=>_0x224bff(_0x3f4804,_0x51d92b,_0x4df11c);let _0x58d15e=class{constructor(_0x5560b2,_0x4d38ac,_0x392aa1){const _0x26cc2c=_0x1b0c82;this['_injector']=_0x5560b2,this[_0x26cc2c(0x303)]=_0x4d38ac,this[_0x26cc2c(0x133)]=_0x392aa1;}[_0x1b0c82(0x293)](_0x347f3a){const _0x17c894=_0x1b0c82;this[_0x17c894(0xa3)](_0x347f3a),this['_transformPreviousActiveRange'](_0x347f3a);}[_0x1b0c82(0x30a)](_0x3ebd76){const _0x43c8ed=_0x1b0c82,{unitID:_0x2a2cbe}=_0x3ebd76,_0x91bcd7=this[_0x43c8ed(0x133)][_0x43c8ed(0xf0)](_0x2a2cbe)[_0x43c8ed(0x31a)](_0xc6f069[_0x43c8ed(0x162)]),{redoCache:_0x4f0d99}=_0x91bcd7[_0x43c8ed(0x1aa)]();if(_0x4f0d99['length']===0x0)return _0x3ebd76;let _0x59f854=_0x5e3496['Tools']['deepClone'](_0x3ebd76[_0x43c8ed(0x1ea)][0x0]);for(let _0x162460=0x0;_0x162460<_0x4f0d99[_0x43c8ed(0x322)];_0x162460++){const _0x3e275c={'id':'doc.mutation.rich-text-editing','params':{..._0x4f0d99[_0x162460]}},_0x230f7e=this[_0x43c8ed(0x303)]['transformMutation'](_0x59f854,_0x3e275c,!0x1);if(_0x4251b3[_0x43c8ed(0xcf)](_0x230f7e))throw _0x230f7e[_0x43c8ed(0x155)];_0x59f854=_0x230f7e[_0x43c8ed(0x1e7)];}return{..._0x5e3496['Tools'][_0x43c8ed(0x24e)](_0x3ebd76),'mutations':[_0x59f854]};}['_transformUndoRedoStack'](_0x2e0694){const _0x45642a=_0x1b0c82,{unitID:_0x22c0f3}=_0x2e0694,_0x298d05=this['_renderManagerService'][_0x45642a(0xf0)](_0x22c0f3)[_0x45642a(0x31a)](_0xc6f069[_0x45642a(0x162)]),{undoCache:_0x222baf,redoCache:_0x11a2a0}=_0x298d05[_0x45642a(0x1aa)]();if(_0x222baf[_0x45642a(0x322)]===0x0||_0x11a2a0[_0x45642a(0x322)]===0x0)return;const _0x3a64c0=[],_0x2a0db1=[];let _0x4bb737=_0x5e3496[_0x45642a(0x238)][_0x45642a(0x24e)](_0x2e0694[_0x45642a(0x1ea)][0x0]),_0xd9f803=_0x5e3496['Tools']['deepClone'](_0x2e0694[_0x45642a(0x1ea)][0x0]);for(let _0xf0516f=_0x222baf[_0x45642a(0x322)]-0x1;_0xf0516f>=0x0;_0xf0516f--){const _0x8efacf={'id':'doc.mutation.rich-text-editing','params':{..._0x222baf[_0xf0516f]}},_0x2b0675={'id':_0x45642a(0xc1),'params':{..._0x11a2a0[_0xf0516f]}},_0x41ef98=this[_0x45642a(0x303)]['transformMutation'](_0x4bb737,_0x8efacf,!0x1),_0x40922a=this[_0x45642a(0x303)]['transformMutation'](_0xd9f803,_0x2b0675,!0x1);if(_0x4251b3[_0x45642a(0xcf)](_0x41ef98))throw _0x41ef98[_0x45642a(0x155)];if(_0x4251b3[_0x45642a(0xcf)](_0x40922a))throw _0x40922a['error'];_0x3a64c0[_0x45642a(0x1ab)](_0x41ef98[_0x45642a(0x1b0)][_0x45642a(0xff)]),_0x2a0db1[_0x45642a(0x1ab)](_0x40922a[_0x45642a(0x1b0)][_0x45642a(0xff)]),_0x4bb737=_0x41ef98['m1Prime'],_0xd9f803=_0x40922a[_0x45642a(0x1e7)];}_0x298d05[_0x45642a(0x2ff)]({'undoCache':_0x3a64c0,'redoCache':_0x2a0db1});}[_0x1b0c82(0x178)](_0xfdb835){const _0x410f03=_0x1b0c82,{unitID:_0x23220b}=_0xfdb835,_0x1cf77b=this[_0x410f03(0x133)][_0x410f03(0xf0)](_0x23220b)['with'](_0xc6f069[_0x410f03(0x162)]),_0x2362fc=_0x1cf77b[_0x410f03(0x2bc)]();if(_0x2362fc==null)return;const _0x238002=[{'id':_0x410f03(0xc1),'params':{'unitId':_0xfdb835['unitID'],'actions':null,'textRanges':[_0x2362fc]}}],_0x279a30=this[_0x410f03(0x303)][_0x410f03(0x28d)](_0xfdb835,_0x238002);if(!_0x4251b3[_0x410f03(0x208)](_0x279a30))throw _0x279a30['error'];const _0x2636cf=_0x279a30['m2Prime'][0x0][_0x410f03(0xff)][_0x410f03(0x2c8)];Array['isArray'](_0x2636cf)&&_0x2636cf[_0x410f03(0x322)]&&_0x1cf77b['setActiveRange'](_0x2636cf[0x0]);}};_0x58d15e=_0x11d0ad([_0x186843(0x0,_0x5e3496[_0x1b0c82(0x167)](_0x5e3496[_0x1b0c82(0xaf)])),_0x186843(0x1,_0x4251b3['ITransformService']),_0x186843(0x2,_0x8bdac5[_0x1b0c82(0x18b)])],_0x58d15e);var _0x5e0e4b=Object[_0x1b0c82(0x1a9)],_0x1f2be5=(_0x51f0f5,_0x4abbd3,_0x5786f2,_0x1f4de3)=>{for(var _0x135ded=_0x1f4de3>0x1?void 0x0:_0x1f4de3?_0x5e0e4b(_0x4abbd3,_0x5786f2):_0x4abbd3,_0x30645f=_0x51f0f5['length']-0x1,_0x1ea267;_0x30645f>=0x0;_0x30645f--)(_0x1ea267=_0x51f0f5[_0x30645f])&&(_0x135ded=_0x1ea267(_0x135ded)||_0x135ded);return _0x135ded;},_0xfc39ba=(_0xdc5e53,_0x42396b)=>(_0x1d59be,_0x171c29)=>_0x42396b(_0x1d59be,_0x171c29,_0xdc5e53);let _0x4cba12=class{constructor(_0x3bb633,_0x12b18d,_0x34bbca){const _0x80483c=_0x1b0c82;this[_0x80483c(0x2cd)]=_0x3bb633,this[_0x80483c(0x303)]=_0x12b18d,this['_docStateChangeManagerService']=_0x34bbca;}[_0x1b0c82(0x29c)](_0x5bf461){const _0x47bee3=_0x1b0c82;this[_0x47bee3(0x247)](_0x5bf461);}[_0x1b0c82(0x30a)](_0x5235e7){const _0xcc9e90=_0x1b0c82,{unitID:_0x508df7}=_0x5235e7,{collaboration:_0x5885e9}=this['_docStateChangeManagerService'][_0xcc9e90(0x1a1)](_0x508df7);if(_0x5885e9[_0xcc9e90(0x322)]===0x0)return _0x5235e7;let _0x170195=_0x5e3496[_0xcc9e90(0x238)]['deepClone'](_0x5235e7[_0xcc9e90(0x1ea)][0x0]);for(let _0xd637a8=0x0;_0xd637a8<_0x5885e9[_0xcc9e90(0x322)];_0xd637a8++){const _0x4150ef={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5885e9[_0xd637a8][_0xcc9e90(0x221)],..._0x5885e9[_0xd637a8][_0xcc9e90(0x2dc)]}},_0x1a88ba=this['_transformService']['transformMutation'](_0x170195,_0x4150ef,!0x1);if(_0x4251b3[_0xcc9e90(0xcf)](_0x1a88ba))throw _0x1a88ba[_0xcc9e90(0x155)];_0x170195=_0x1a88ba[_0xcc9e90(0x1e7)];}return{..._0x5e3496[_0xcc9e90(0x238)][_0xcc9e90(0x24e)](_0x5235e7),'mutations':[_0x170195]};}[_0x1b0c82(0x247)](_0x933018){const _0x59b2bd=_0x1b0c82,{unitID:_0x50b778}=_0x933018,{history:_0x438576,collaboration:_0x1d176f}=this['_docStateChangeManagerService'][_0x59b2bd(0x1a1)](_0x50b778);if(_0x438576[_0x59b2bd(0x322)]===0x0&&_0x1d176f[_0x59b2bd(0x322)]===0x0)return;const _0x141894=[],_0xa84ef=[];let _0x8d0e71=_0x5e3496[_0x59b2bd(0x238)][_0x59b2bd(0x24e)](_0x933018[_0x59b2bd(0x1ea)][0x0]),_0x3c48a8=_0x5e3496['Tools'][_0x59b2bd(0x24e)](_0x933018[_0x59b2bd(0x1ea)][0x0]);for(let _0x32c33b=_0x438576[_0x59b2bd(0x322)]-0x1;_0x32c33b>=0x0;_0x32c33b--){const _0x2c074e={'id':_0x59b2bd(0xc1),'params':{'unitId':_0x438576[_0x32c33b][_0x59b2bd(0x221)],..._0x438576[_0x32c33b]['undoState']}},_0x4c196a={'id':_0x59b2bd(0xc1),'params':{'unitId':_0x438576[_0x32c33b]['unitId'],..._0x438576[_0x32c33b][_0x59b2bd(0x2dc)]}},_0x93c827=this[_0x59b2bd(0x303)]['transformMutation'](_0x8d0e71,_0x2c074e,!0x1),_0x1293fe=this[_0x59b2bd(0x303)][_0x59b2bd(0x25c)](_0x3c48a8,_0x4c196a,!0x1);if(_0x4251b3['isTransformMutationFailure'](_0x93c827))throw _0x93c827[_0x59b2bd(0x155)];if(_0x4251b3[_0x59b2bd(0xcf)](_0x1293fe))throw _0x1293fe[_0x59b2bd(0x155)];_0x141894[_0x59b2bd(0x1ab)]({..._0x438576[_0x32c33b],'undoState':_0x93c827[_0x59b2bd(0x1b0)][_0x59b2bd(0xff)],'redoState':_0x1293fe[_0x59b2bd(0x1b0)][_0x59b2bd(0xff)]}),_0x8d0e71=_0x93c827[_0x59b2bd(0x1e7)],_0x3c48a8=_0x1293fe[_0x59b2bd(0x1e7)];}_0x8d0e71=_0x5e3496[_0x59b2bd(0x238)][_0x59b2bd(0x24e)](_0x933018['mutations'][0x0]),_0x3c48a8=_0x5e3496[_0x59b2bd(0x238)][_0x59b2bd(0x24e)](_0x933018[_0x59b2bd(0x1ea)][0x0]);for(let _0x245635=_0x1d176f['length']-0x1;_0x245635>=0x0;_0x245635--){const _0x50781d={'id':_0x59b2bd(0xc1),'params':{'unitId':_0x1d176f[_0x245635][_0x59b2bd(0x221)],..._0x1d176f[_0x245635][_0x59b2bd(0x1d1)]}},_0x211b30={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1d176f[_0x245635]['unitId'],..._0x1d176f[_0x245635][_0x59b2bd(0x2dc)]}},_0x6831d5=this[_0x59b2bd(0x303)]['transformMutation'](_0x8d0e71,_0x50781d,!0x1),_0x2834f4=this[_0x59b2bd(0x303)]['transformMutation'](_0x3c48a8,_0x211b30,!0x1);if(_0x4251b3[_0x59b2bd(0xcf)](_0x6831d5))throw _0x6831d5[_0x59b2bd(0x155)];if(_0x4251b3[_0x59b2bd(0xcf)](_0x2834f4))throw _0x2834f4[_0x59b2bd(0x155)];_0xa84ef[_0x59b2bd(0x1ab)]({..._0x1d176f[_0x245635],'undoState':_0x6831d5[_0x59b2bd(0x1b0)][_0x59b2bd(0xff)],'redoState':_0x2834f4[_0x59b2bd(0x1b0)][_0x59b2bd(0xff)]}),_0x8d0e71=_0x6831d5['m1Prime'],_0x3c48a8=_0x2834f4[_0x59b2bd(0x1e7)];}this['_docStateChangeManagerService']['setStateCache'](_0x50b778,{'history':_0x141894,'collaboration':_0xa84ef});}};_0x4cba12=_0x1f2be5([_0xfc39ba(0x0,_0x5e3496[_0x1b0c82(0x167)](_0x5e3496['Injector'])),_0xfc39ba(0x1,_0x4251b3[_0x1b0c82(0xf4)]),_0xfc39ba(0x2,_0x5e3496[_0x1b0c82(0x167)](_0xc6f069[_0x1b0c82(0x181)]))],_0x4cba12);var _0x5b0368=Object[_0x1b0c82(0x1a9)],_0xb6ad6e=(_0x428384,_0x1160c3,_0x2d7d8b,_0x582bb1)=>{const _0x3125ac=_0x1b0c82;for(var _0x22299b=_0x582bb1>0x1?void 0x0:_0x582bb1?_0x5b0368(_0x1160c3,_0x2d7d8b):_0x1160c3,_0x5e7e63=_0x428384[_0x3125ac(0x322)]-0x1,_0x4b0a0d;_0x5e7e63>=0x0;_0x5e7e63--)(_0x4b0a0d=_0x428384[_0x5e7e63])&&(_0x22299b=_0x4b0a0d(_0x22299b)||_0x22299b);return _0x22299b;},_0x5f16bd=(_0x1b9768,_0xedf036)=>(_0x413d8a,_0x4c915b)=>_0xedf036(_0x413d8a,_0x4c915b,_0x1b9768);let _0x1b375d=class{constructor(_0x26be0a,_0xce1b28){const _0x3bcdcd=_0x1b0c82;this[_0x3bcdcd(0x2cd)]=_0x26be0a,this[_0x3bcdcd(0x303)]=_0xce1b28;}[_0x1b0c82(0x1e8)](_0x52d47f){const _0x32d9f1=_0x1b0c82;var _0x537117;const _0x3166aa=this[_0x32d9f1(0x2cd)]['get'](_0x2415d7[_0x32d9f1(0x2ac)]),_0x41092e=(_0x537117=_0x3166aa[_0x32d9f1(0xd9)]())!=null?_0x537117:[];if(_0x41092e[_0x32d9f1(0x322)]===0x0)return;const _0x5aa18a=_0x52d47f[_0x32d9f1(0x204)],_0x2b80e3=[{'id':_0x32d9f1(0xc1),'params':{'unitId':_0x5aa18a,'actions':null,'textRanges':_0x41092e}}],_0x2658b9=this[_0x32d9f1(0x303)][_0x32d9f1(0x28d)](_0x52d47f,_0x2b80e3);if(!_0x4251b3[_0x32d9f1(0x208)](_0x2658b9))throw _0x2658b9[_0x32d9f1(0x155)];const _0x370dff=_0x2658b9[_0x32d9f1(0x1b0)][0x0][_0x32d9f1(0xff)][_0x32d9f1(0x2c8)];Array[_0x32d9f1(0x28b)](_0x370dff)&&_0x370dff['length']&&_0x3166aa['replaceDocRanges'](_0x370dff,{'unitId':_0x5aa18a,'subUnitId':_0x5aa18a},!0x1);}};_0x1b375d=_0xb6ad6e([_0x5f16bd(0x0,_0x5e3496[_0x1b0c82(0x167)](_0x5e3496['Injector'])),_0x5f16bd(0x1,_0x4251b3[_0x1b0c82(0xf4)])],_0x1b375d);var _0x2050cc=Object[_0x1b0c82(0x1a9)],_0x59f4f1=(_0x2ae555,_0x26cb40,_0x2a3fda,_0x296b3f)=>{const _0x3f634f=_0x1b0c82;for(var _0x4a69f3=_0x296b3f>0x1?void 0x0:_0x296b3f?_0x2050cc(_0x26cb40,_0x2a3fda):_0x26cb40,_0x577bb9=_0x2ae555[_0x3f634f(0x322)]-0x1,_0x229b42;_0x577bb9>=0x0;_0x577bb9--)(_0x229b42=_0x2ae555[_0x577bb9])&&(_0x4a69f3=_0x229b42(_0x4a69f3)||_0x4a69f3);return _0x4a69f3;},_0x2ed7f7=(_0x4d5f77,_0x2baa19)=>(_0x5ed52c,_0x2b3e57)=>_0x2baa19(_0x5ed52c,_0x2b3e57,_0x4d5f77);let _0x350ffb=class extends _0x5e3496[_0x1b0c82(0x20f)]{constructor(_0x1b3da1,_0x5eb323,_0x2abbea,_0x5dede4,_0x205531,_0x38448e,_0x1db64e,_0x3f11a6){const _0x59de83=_0x1b0c82;super(),_0x5be2b7(this,'_status$',new _0x40ed3d[(_0x59de83(0x24d))](_0x144b9c['CollaborationStatus'][_0x59de83(0x23e)])),(this[_0x59de83(0x19f)]=_0x1b3da1,this[_0x59de83(0x1be)]=_0x5eb323,this[_0x59de83(0x2c1)]=_0x2abbea,this['_docTransformStateCacheService']=_0x5dede4,this[_0x59de83(0x240)]=_0x205531,this['_docSyncEditingCollabCursorService']=_0x38448e,this[_0x59de83(0x259)]=_0x1db64e,this[_0x59de83(0x170)]=_0x3f11a6,this['_initEntityListener']());}[_0x1b0c82(0x194)](){const _0x5d936e=_0x1b0c82;this[_0x5d936e(0x128)](this[_0x5d936e(0x1be)][_0x5d936e(0x1f2)][_0x5d936e(0x157)](_0x25d527=>{const _0x4dea86=_0x5d936e,_0x14061a=this[_0x4dea86(0x19f)][_0x4dea86(0xf1)][_0x4dea86(0x157)](_0x227d0d=>{const _0x2e1f33=_0x4dea86;if(_0x227d0d==null)return;const {unitId:_0x1343ec,redoState:_0xffb0b3,commandId:_0x32c691}=_0x227d0d;if(_0x1343ec!==_0x25d527[_0x2e1f33(0x204)])return;const _0x4ad435={'id':_0x32c691,'type':_0x5e3496[_0x2e1f33(0x146)]['MUTATION'],'params':{'unitId':_0x1343ec,'actions':_0xffb0b3[_0x2e1f33(0x2c3)],'textRanges':null}};_0x25d527[_0x2e1f33(0x9b)](_0x4ad435);});if(_0x25d527['disposeWithMe'](_0x14061a),_0x25d527 instanceof _0x144b9c['DocCollaborationEntity']){const _0x4b25b3={'onTransformIME':_0xfbfe34=>this['_docTransformIMECacheService'][_0x4dea86(0x293)](_0xfbfe34),'onTransformState':_0x4ecfe0=>this[_0x4dea86(0x2ae)][_0x4dea86(0x29c)](_0x4ecfe0),'onTransformSelections':_0x1377c0=>this[_0x4dea86(0x240)][_0x4dea86(0x1e8)](_0x1377c0),'onSyncEditingCollabCursor':_0xe81388=>this[_0x4dea86(0xc8)][_0x4dea86(0x2f8)](_0xe81388),'onTransformRemoteChangesetByIMECache':_0x9b2650=>this[_0x4dea86(0x2c1)]['transformRemoteChangeset'](_0x9b2650),'onTransformRemoteChangesetByStateCache':_0x1e972d=>this[_0x4dea86(0x2ae)][_0x4dea86(0x30a)](_0x1e972d)};_0x25d527[_0x4dea86(0x313)](_0x4b25b3);}}));}};_0x350ffb=_0x59f4f1([_0x2ed7f7(0x0,_0x5e3496[_0x1b0c82(0x167)](_0xc6f069[_0x1b0c82(0x181)])),_0x2ed7f7(0x1,_0x5e3496[_0x1b0c82(0x167)](_0x144b9c[_0x1b0c82(0x321)])),_0x2ed7f7(0x2,_0x5e3496[_0x1b0c82(0x167)](_0x58d15e)),_0x2ed7f7(0x3,_0x5e3496[_0x1b0c82(0x167)](_0x4cba12)),_0x2ed7f7(0x4,_0x5e3496['Inject'](_0x1b375d)),_0x2ed7f7(0x5,_0x5e3496[_0x1b0c82(0x167)](_0x238d27)),_0x2ed7f7(0x6,_0x4dbd51[_0x1b0c82(0x2f4)]),_0x2ed7f7(0x7,_0x5e3496['Inject'](_0x5e3496[_0x1b0c82(0x1f6)]))],_0x350ffb);var _0x2dd25c=Object[_0x1b0c82(0x1a9)],_0x1331b3=(_0x4cddbf,_0x1e2217,_0x287887,_0x4c43a2)=>{const _0x1c89ae=_0x1b0c82;for(var _0x8ec8c0=_0x4c43a2>0x1?void 0x0:_0x4c43a2?_0x2dd25c(_0x1e2217,_0x287887):_0x1e2217,_0x57a797=_0x4cddbf[_0x1c89ae(0x322)]-0x1,_0x232296;_0x57a797>=0x0;_0x57a797--)(_0x232296=_0x4cddbf[_0x57a797])&&(_0x8ec8c0=_0x232296(_0x8ec8c0)||_0x8ec8c0);return _0x8ec8c0;},_0x3d4e8e=(_0x4ad5f9,_0x11f8fd)=>(_0x4a2afb,_0xd93804)=>_0x11f8fd(_0x4a2afb,_0xd93804,_0x4ad5f9);let _0x16c28c=class extends _0x5e3496[_0x1b0c82(0x20f)]{constructor(_0x22d4bb,_0x374909,_0x2dc4e5){const _0x2394c0=_0x1b0c82;super(),_0x5be2b7(this,_0x2394c0(0xea),new Map()),_0x5be2b7(this,_0x2394c0(0x29a),new Map()),_0x5be2b7(this,_0x2394c0(0x219),!0x1),(this['_configService']=_0x22d4bb,this[_0x2394c0(0x2c6)]=_0x374909,this[_0x2394c0(0x250)]=_0x2dc4e5);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x1b0c82(0x1fa)](){const _0x2e799e=_0x1b0c82;this[_0x2e799e(0x219)]=!0x1;}get[_0x1b0c82(0x284)](){const _0x2191b0=_0x1b0c82;return this[_0x2191b0(0x29a)];}[_0x1b0c82(0x2e9)](){const _0xe648c8=_0x1b0c82;this[_0xe648c8(0xa2)]()['then'](()=>super['dispose']());}async[_0x1b0c82(0x2f3)](_0x18aa8c){const _0x3bbc01=_0x1b0c82;return this[_0x3bbc01(0x219)]?null:this['_localStorageService'][_0x3bbc01(0x2fd)](_0x144b9c[_0x3bbc01(0x125)](_0x18aa8c));}async[_0x1b0c82(0x311)](_0x7fbcd1,_0x3bc5ef){const _0x5dc48f=_0x1b0c82;return!!this[_0x5dc48f(0x2c6)][_0x5dc48f(0x1e5)](_0x7fbcd1,_0x3bc5ef);}[_0x1b0c82(0x15d)](_0x504bb2,_0x5e07a5,_0x38a7f0,_0x2eedf7){const _0x2e8ad0=_0x1b0c82,_0xef28ba=this[_0x2e8ad0(0x250)][_0x2e8ad0(0x201)](_0x504bb2);this[_0x2e8ad0(0xea)][_0x2e8ad0(0x21f)](_0x504bb2,{'unitID':_0x504bb2,'type':_0x5e07a5,'awaitingChangeset':_0x38a7f0,'mutations':_0x2eedf7,'rev':_0xef28ba}),this[_0x2e8ad0(0x29a)][_0x2e8ad0(0x192)](_0x504bb2)||this['_scheduleSaving'](_0x504bb2);}[_0x1b0c82(0xc3)](_0x54b872){const _0x5c9c8c=_0x1b0c82,_0x55b914=this['_getSaveTimeout']();_0x55b914===0x0?this['_saveCache'](_0x54b872):this[_0x5c9c8c(0x29a)][_0x5c9c8c(0x21f)](_0x54b872,setTimeout(()=>this[_0x5c9c8c(0x264)](_0x54b872),_0x55b914));}[_0x1b0c82(0x2ec)](){const _0x2b812b=_0x1b0c82;var _0x1a8eb6;return(_0x1a8eb6=this[_0x2b812b(0x13b)][_0x2b812b(0x2b0)](_0x144b9c[_0x2b812b(0xa5)]))!=null?_0x1a8eb6:_0x144b9c[_0x2b812b(0x256)];}['_saveCache'](_0x52ad7e){const _0x358c21=_0x1b0c82,_0x51af57=this[_0x358c21(0x29a)][_0x358c21(0x2a3)](_0x52ad7e);return _0x51af57!==void 0x0&&window[_0x358c21(0x2e4)](_0x51af57),this[_0x358c21(0x2c6)][_0x358c21(0x1e5)](_0x144b9c[_0x358c21(0x125)](_0x52ad7e),this[_0x358c21(0xea)][_0x358c21(0x2a3)](_0x52ad7e))[_0x358c21(0x2db)](()=>this[_0x358c21(0x29a)][_0x358c21(0x1a8)](_0x52ad7e));}async['exhaustSavingTask'](){const _0x48f249=_0x1b0c82,_0x1a5b83=[];this['_saveTaskMap'][_0x48f249(0x114)]((_0x54041d,_0x5144ab)=>{const _0x3f2fc5=_0x48f249;window[_0x3f2fc5(0x2e4)](_0x54041d),_0x1a5b83[_0x3f2fc5(0x197)](this[_0x3f2fc5(0x264)](_0x5144ab)[_0x3f2fc5(0x2db)](()=>{const _0x5f9c64=_0x3f2fc5;this[_0x5f9c64(0x29a)]['delete'](_0x5144ab);}));}),await Promise[_0x48f249(0xb4)](_0x1a5b83);}};_0x16c28c=_0x1331b3([_0x3d4e8e(0x0,_0x5e3496['IConfigService']),_0x3d4e8e(0x1,_0x5e3496[_0x1b0c82(0x11d)]),_0x3d4e8e(0x2,_0x5e3496[_0x1b0c82(0x167)](_0x4251b3[_0x1b0c82(0x1b2)]))],_0x16c28c);class _0x351f64 extends _0x5e3496['RxDisposable']{constructor(){const _0x1def14=_0x1b0c82;super(),_0x5be2b7(this,_0x1def14(0x1de)),this[_0x1def14(0x1de)]=_0x40ed3d[_0x1def14(0x25f)](window,_0x1def14(0x223))[_0x1def14(0xca)](_0x40ed3d['takeUntil'](this[_0x1def14(0x1fb)]),_0x40ed3d[_0x1def14(0x215)](0x1),_0x40ed3d[_0x1def14(0xe6)](void 0x0));}['setParam'](_0x100773,_0x14e82d,_0x387997=!0x1){const _0x9964a0=_0x1b0c82,_0x2dc61c=new URL(window['location'][_0x9964a0(0x20c)]);_0x2dc61c[_0x9964a0(0x297)][_0x9964a0(0x21f)](_0x100773,_0x14e82d),_0x387997?window[_0x9964a0(0x185)]['replaceState']('','',_0x2dc61c[_0x9964a0(0x2e7)]()):window[_0x9964a0(0x185)][_0x9964a0(0x14f)]('','',_0x2dc61c[_0x9964a0(0x2e7)]());}['removeParam'](_0x5912c4,_0x44140c=!0x1){const _0x428aa1=_0x1b0c82,_0x40e33d=new URL(window['location']['href']);_0x40e33d[_0x428aa1(0x297)]['delete'](_0x5912c4),_0x44140c?window['history'][_0x428aa1(0x115)]('','',_0x40e33d[_0x428aa1(0x2e7)]()):window[_0x428aa1(0x185)][_0x428aa1(0x14f)]('','',_0x40e33d['toString']());}[_0x1b0c82(0x17f)](_0x123343){const _0x4d933b=_0x1b0c82;var _0x24a4d3;return(_0x24a4d3=new URL(window[_0x4d933b(0x263)][_0x4d933b(0x20c)])[_0x4d933b(0x297)][_0x4d933b(0x2a3)](_0x123343))!=null?_0x24a4d3:void 0x0;}}var _0x241136=Object[_0x1b0c82(0x279)],_0x41599d=Object[_0x1b0c82(0x1a9)],_0x19e5dd=(_0x2652b2,_0x6e786,_0x278752)=>_0x6e786 in _0x2652b2?_0x241136(_0x2652b2,_0x6e786,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x278752}):_0x2652b2[_0x6e786]=_0x278752,_0x304310=(_0x5ef3c1,_0x361e41,_0x977431,_0x24ccb4)=>{const _0x3aa9ba=_0x1b0c82;for(var _0x491dc6=_0x24ccb4>0x1?void 0x0:_0x24ccb4?_0x41599d(_0x361e41,_0x977431):_0x361e41,_0x123b4a=_0x5ef3c1[_0x3aa9ba(0x322)]-0x1,_0x3e0ce6;_0x123b4a>=0x0;_0x123b4a--)(_0x3e0ce6=_0x5ef3c1[_0x123b4a])&&(_0x491dc6=_0x3e0ce6(_0x491dc6)||_0x491dc6);return _0x491dc6;},_0x43cfa2=(_0x5a4e91,_0x2ab294)=>(_0x175cb5,_0x39edd5)=>_0x2ab294(_0x175cb5,_0x39edd5,_0x5a4e91),_0x109484=(_0x4ffeb4,_0x58dbdc,_0xf9333b)=>_0x19e5dd(_0x4ffeb4,_0x58dbdc+'',_0xf9333b);const _0x245067=_0x1b0c82(0x288);_0x4b0a9d['UniverCollaborationClientUIPlugin']=class extends _0x5e3496['Plugin']{constructor(_0x5bd4a7=_0x11285b,_0x486d3f,_0x573c73,_0x3c39aa){const _0x282930=_0x1b0c82;super(),this[_0x282930(0x106)]=_0x5bd4a7,this[_0x282930(0x133)]=_0x486d3f,this[_0x282930(0x2cd)]=_0x573c73,this[_0x282930(0x13b)]=_0x3c39aa;const {..._0x24592c}=_0x5e3496['merge']({},_0x11285b,this[_0x282930(0x106)]);this[_0x282930(0x13b)][_0x282930(0xa9)](_0x10ee4b,_0x24592c);}['onStarting'](){const _0x5511b2=_0x1b0c82;this[_0x5511b2(0x1c0)](),this[_0x5511b2(0x2e6)]();}[_0x1b0c82(0x2c0)](){const _0x5957b1=_0x1b0c82;this[_0x5957b1(0xdb)]();}[_0x1b0c82(0x1c0)](){const _0x39c9b9=_0x1b0c82;var _0x2bc33c;const _0x1e41dc=[[_0x1d0933],[_0x1b375d],[_0x58d15e],[_0x4cba12],[_0x238d27],[_0x3d7732,{'useClass':_0x351f64}],[_0x4656bc[_0x39c9b9(0x175)],{'useClass':_0x4656bc[_0x39c9b9(0x1d2)]}],[_0x144b9c[_0x39c9b9(0x26b)],{'useClass':_0x16c28c}],[_0x4b0a9d[_0x39c9b9(0x1a5)]],[_0x350ffb],[_0x16ae9b],[_0x58d03e],[_0x59a980],[_0x4b0a9d['CollaborationDataLoaderController']]];_0x5e3496[_0x39c9b9(0x1b8)](this[_0x39c9b9(0x2cd)],_0x5e3496[_0x39c9b9(0x22f)](_0x1e41dc,(_0x2bc33c=this['_config'])==null?void 0x0:_0x2bc33c[_0x39c9b9(0x289)]));}[_0x1b0c82(0xdb)](){const _0x2f1863=_0x1b0c82;this[_0x2f1863(0x128)](this['_renderManagerService']['registerRenderModule'](_0x5e3496[_0x2f1863(0x216)][_0x2f1863(0x179)],[_0x5ba2b4])),this['disposeWithMe'](this['_renderManagerService']['registerRenderModule'](_0x5e3496['UniverInstanceType'][_0x2f1863(0x9a)],[_0x3ff433]));}['_initDependencies'](){const _0x58a84c=_0x1b0c82;_0x5e3496['touchDependencies'](this[_0x58a84c(0x2cd)],[[_0x58d03e],[_0x4b0a9d[_0x58a84c(0x1a5)]],[_0x350ffb],[_0x16ae9b],[_0x4b0a9d[_0x58a84c(0xa7)]]]);}},_0x109484(_0x4b0a9d['UniverCollaborationClientUIPlugin'],_0x1b0c82(0xaa),_0x245067),_0x4b0a9d[_0x1b0c82(0x1fe)]=_0x304310([_0x5e3496[_0x1b0c82(0x29e)](_0x144b9c[_0x1b0c82(0x27a)]),_0x43cfa2(0x1,_0x8bdac5[_0x1b0c82(0x18b)]),_0x43cfa2(0x2,_0x5e3496[_0x1b0c82(0x167)](_0x5e3496[_0x1b0c82(0xaf)])),_0x43cfa2(0x3,_0x5e3496[_0x1b0c82(0x18e)])],_0x4b0a9d['UniverCollaborationClientUIPlugin']);var _0x3acbcb=Object['getOwnPropertyDescriptor'],_0x45f61e=(_0x56bf3d,_0x1e3ceb,_0x1d34d8,_0x4c8ecf)=>{const _0x6ffd8b=_0x1b0c82;for(var _0xd7dcb6=_0x4c8ecf>0x1?void 0x0:_0x4c8ecf?_0x3acbcb(_0x1e3ceb,_0x1d34d8):_0x1e3ceb,_0x4c1386=_0x56bf3d[_0x6ffd8b(0x322)]-0x1,_0x40ca2b;_0x4c1386>=0x0;_0x4c1386--)(_0x40ca2b=_0x56bf3d[_0x4c1386])&&(_0xd7dcb6=_0x40ca2b(_0xd7dcb6)||_0xd7dcb6);return _0xd7dcb6;},_0x12ef4c=(_0x50a594,_0x45099f)=>(_0x58d04e,_0x1a597a)=>_0x45099f(_0x58d04e,_0x1a597a,_0x50a594);_0x4b0a9d[_0x1b0c82(0x241)]=class extends _0x144b9c[_0x1b0c82(0x299)]{constructor(_0x299e63,_0x105644,_0x2bc1ab,_0x3e5922,_0x4c3ee1){super(_0x299e63,_0x105644,_0x2bc1ab,_0x3e5922,_0x4c3ee1);}async[_0x1b0c82(0x142)](_0x3efed4){const _0x34c6bf=_0x1b0c82,_0x57ca3a=await this[_0x34c6bf(0x196)](),_0x320cf3=this[_0x34c6bf(0x2df)](_0x3efed4,_0x57ca3a);return this[_0x34c6bf(0x123)](_0x320cf3);}[_0x1b0c82(0x2df)](_0x53e52f,_0x3b960a){const _0xbed7d4=_0x1b0c82,_0xc5b94e=typeof window>'u'?new URL(_0x53e52f):new URL(_0x53e52f,window['location']['origin']);_0xc5b94e['searchParams'][_0xbed7d4(0x21f)](_0xbed7d4(0x1f1),_0x3b960a);const _0x4a2c60=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xbed7d4(0x263)]['search']);return _0x4a2c60['get']('runId')&&_0xc5b94e[_0xbed7d4(0x297)][_0xbed7d4(0x21f)](_0xbed7d4(0x30c),_0x4a2c60['get']('runId')),_0xc5b94e['toString']();}async[_0x1b0c82(0x196)](){const _0x19f05c=_0x1b0c82;var _0x190f48,_0x4942fb,_0x2e4e59;const _0x3d7b75=this[_0x19f05c(0x13b)][_0x19f05c(0x2b0)](_0x144b9c[_0x19f05c(0x318)]),_0x20f255=(_0x190f48=_0x3d7b75==null?void 0x0:_0x3d7b75['wsSessionTicketUrl'])!=null?_0x190f48:_0x144b9c['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x2e4e59=(_0x4942fb=(await this['_httpService'][_0x19f05c(0x2a3)](_0x20f255,{'headers':{'Content-Type':'application/json'}}))[_0x19f05c(0x1fd)])==null?void 0x0:_0x4942fb[_0x19f05c(0x107)])!=null?_0x2e4e59:'';}},_0x4b0a9d[_0x1b0c82(0x241)]=_0x45f61e([_0x12ef4c(0x0,_0x5e3496[_0x1b0c82(0x167)](_0x5e3496[_0x1b0c82(0xaf)])),_0x12ef4c(0x1,_0x5e3496[_0x1b0c82(0x167)](_0x4656bc[_0x1b0c82(0x1f4)])),_0x12ef4c(0x2,_0x5e3496['IConfigService']),_0x12ef4c(0x3,_0x5e3496[_0x1b0c82(0x214)]),_0x12ef4c(0x4,_0x4251b3[_0x1b0c82(0x1c2)])],_0x4b0a9d['BrowserCollaborationSocketService']);const _0x578967=0x7530,_0x58515f=_0x1b0c82(0x2f1);class _0x1ee898 extends _0x5e3496[_0x1b0c82(0x20f)]{constructor(){const _0x1e0f61=_0x1b0c82;super(),_0x5be2b7(this,_0x1e0f61(0x10e),_0x5e3496[_0x1e0f61(0xb1)]()),_0x5be2b7(this,_0x1e0f61(0x1cf),new Set()),_0x5be2b7(this,_0x1e0f61(0x9c),new Map()),_0x5be2b7(this,_0x1e0f61(0x258),null),_0x5be2b7(this,_0x1e0f61(0x11f),new Map()),_0x5be2b7(this,_0x1e0f61(0x173),new Map()),this[_0x1e0f61(0x252)]();}[_0x1b0c82(0x2e9)](){const _0x29d747=_0x1b0c82;super[_0x29d747(0x2e9)](),this[_0x29d747(0x11f)][_0x29d747(0x114)]((_0x336933,_0xfb69ce)=>this['_removeClearOtherTimer'](_0xfb69ce)),this[_0x29d747(0x258)]&&window['clearInterval'](this[_0x29d747(0x258)]);}['getUnitStatus$'](_0x194f62){const _0x403c27=_0x1b0c82;return this[_0x403c27(0xeb)](_0x194f62)[_0x403c27(0xca)](_0x40ed3d[_0x403c27(0x120)]());}['editingUnit'](_0x3fe40f){const _0x1196cd=_0x1b0c82;this[_0x1196cd(0x1cf)][_0x1196cd(0x124)]===0x0&&this[_0x1196cd(0xd0)](),this[_0x1196cd(0x1cf)][_0x1196cd(0x112)](_0x3fe40f),this[_0x1196cd(0xbc)]({'type':0x0,'memberID':this[_0x1196cd(0x10e)],'unitIDs':[_0x3fe40f],'isForwarded':!0x1});}['disposeUnit'](_0x42a714){const _0x3dd1af=_0x1b0c82;this[_0x3dd1af(0x1cf)][_0x3dd1af(0x1a8)](_0x42a714),this[_0x3dd1af(0x1cf)][_0x3dd1af(0x124)]===0x0&&this[_0x3dd1af(0x258)]&&window[_0x3dd1af(0x187)](this[_0x3dd1af(0x258)]);}['_init'](){const _0x2cdd0b=_0x1b0c82;this[_0x2cdd0b(0x128)](_0x5e3496[_0x2cdd0b(0x1d7)](_0x40ed3d[_0x2cdd0b(0x25f)](window,_0x2cdd0b(0x253))[_0x2cdd0b(0x157)](_0x176913=>{const _0x4458c9=_0x2cdd0b;if(_0x176913[_0x4458c9(0x309)]!==_0x58515f||!_0x176913['newValue'])return;const _0x2c154e=JSON[_0x4458c9(0xd1)](_0x176913[_0x4458c9(0xb8)]);this[_0x4458c9(0x1eb)](_0x2c154e);}))),window['addEventListener']('unload',()=>this['_send']({'type':0x1,'memberID':this[_0x2cdd0b(0x10e)],'unitIDs':Array[_0x2cdd0b(0x2e2)](this['_selfUnitIDs'])}));}[_0x1b0c82(0x1eb)](_0x3f5c67){const _0x496b0b=_0x1b0c82;switch(_0x3f5c67['type']){case 0x0:this[_0x496b0b(0x105)](_0x3f5c67);break;case 0x1:this[_0x496b0b(0x245)](_0x3f5c67);break;case 0x2:this[_0x496b0b(0x145)](_0x3f5c67);break;}}['_handleJoinEvent'](_0x45c18b){const _0x4708a1=_0x1b0c82,{unitIDs:_0x15bf9c,memberID:_0x48efb0,isForwarded:_0x99771f}=_0x45c18b;_0x15bf9c[_0x4708a1(0x114)](_0x11cbb2=>{const _0x249db5=_0x4708a1;if(!_0x99771f&&this['_unitOnClients'][_0x249db5(0x192)](_0x11cbb2)&&this[_0x249db5(0xeb)](_0x11cbb2)[_0x249db5(0xcc)](_0x144b9c['UnitStatus'][_0x249db5(0x2da)]),!this[_0x249db5(0x9c)][_0x249db5(0x192)](_0x11cbb2)||!this[_0x249db5(0x9c)][_0x249db5(0x2a3)](_0x11cbb2)[_0x249db5(0x192)](_0x48efb0)){const _0xea62d8=this[_0x249db5(0x9c)][_0x249db5(0x2a3)](_0x11cbb2)||new Set();_0xea62d8[_0x249db5(0x112)](_0x48efb0),this[_0x249db5(0x9c)][_0x249db5(0x21f)](_0x11cbb2,_0xea62d8),this[_0x249db5(0x104)](_0x48efb0);}}),_0x99771f||this[_0x4708a1(0xbc)]({'type':0x0,'memberID':this[_0x4708a1(0x10e)],'unitIDs':[...this[_0x4708a1(0x1cf)]],'isForwarded':!0x0});}[_0x1b0c82(0x104)](_0x930065){const _0x12761e=_0x1b0c82;this[_0x12761e(0x26f)](_0x930065);const _0x136e87=window[_0x12761e(0x27c)](()=>{const _0x43db94=_0x12761e;this[_0x43db94(0x9c)][_0x43db94(0x114)](_0x13927e=>{const _0x2ce02e=_0x43db94;_0x13927e[_0x2ce02e(0x1a8)](_0x930065);});},_0x578967*0x2);this[_0x12761e(0x11f)][_0x12761e(0x21f)](_0x930065,_0x136e87);}['_removeClearOtherTimer'](_0x3de9fd){const _0xc61b49=_0x1b0c82;if(this[_0xc61b49(0x11f)]['has'](_0x3de9fd)){const _0x3cc475=this[_0xc61b49(0x11f)][_0xc61b49(0x2a3)](_0x3de9fd);_0x3cc475&&window[_0xc61b49(0x2e4)](_0x3cc475),this[_0xc61b49(0x11f)][_0xc61b49(0x21f)](_0x3de9fd,null);}}[_0x1b0c82(0x245)](_0xa21435){const _0x42a1cf=_0x1b0c82,{memberID:_0x25f6a6,unitIDs:_0x222003}=_0xa21435;_0x222003[_0x42a1cf(0x114)](_0x147eba=>{const _0x4db0a6=_0x42a1cf;var _0x117725;const _0x4dbbeb=this[_0x4db0a6(0x9c)][_0x4db0a6(0x2a3)](_0x147eba);_0x4dbbeb&&(_0x4dbbeb[_0x4db0a6(0x1a8)](_0x25f6a6),(_0x117725=this['_ensureSubject'](_0x147eba))==null||_0x117725[_0x4db0a6(0xcc)](_0x4dbbeb[_0x4db0a6(0x124)]===0x0?_0x144b9c[_0x4db0a6(0x1a2)][_0x4db0a6(0x268)]:_0x144b9c['UnitStatus'][_0x4db0a6(0x2da)]));}),this[_0x42a1cf(0x26f)](_0x25f6a6);}['_handleHeartbeatEvent'](_0x322d26){const _0x4a56b2=_0x1b0c82;this[_0x4a56b2(0x104)](_0x322d26['memberID']);}[_0x1b0c82(0xbc)](_0x132dca){const _0x2b13ed=_0x1b0c82;localStorage[_0x2b13ed(0x1e5)](_0x58515f,JSON[_0x2b13ed(0x20a)](_0x132dca));}[_0x1b0c82(0xd0)](){const _0x3c531e=_0x1b0c82;this['_heartbeatTimer']=window[_0x3c531e(0x2a8)](()=>{const _0x3b56a6=_0x3c531e;this[_0x3b56a6(0xbc)]({'type':0x2,'memberID':this[_0x3b56a6(0x10e)]});},_0x578967);}[_0x1b0c82(0xeb)](_0x26009c){const _0x3176d8=_0x1b0c82;return this[_0x3176d8(0x173)]['has'](_0x26009c)||this['_unitStatus'][_0x3176d8(0x21f)](_0x26009c,new _0x40ed3d[(_0x3176d8(0x24d))](_0x144b9c[_0x3176d8(0x1a2)][_0x3176d8(0x268)])),this[_0x3176d8(0x173)]['get'](_0x26009c);}}var _0x2e777a=(_0x5946cd=>(_0x5946cd[_0x5946cd[_0x1b0c82(0x2ad)]=0x0]='UNDEFINED',_0x5946cd[_0x5946cd['OK']=0x1]='OK',_0x5946cd[_0x5946cd[_0x1b0c82(0x2f7)]=0x2]=_0x1b0c82(0x2f7),_0x5946cd[_0x5946cd[_0x1b0c82(0x151)]=0x3]='PERMISSION_DENIED',_0x5946cd[_0x5946cd[_0x1b0c82(0x1d3)]=0x4]='NOT_FOUND',_0x5946cd[_0x5946cd[_0x1b0c82(0x210)]=0x5]='UNAUTHENTICATED',_0x5946cd[_0x5946cd[_0x1b0c82(0x302)]=0x6]=_0x1b0c82(0x302),_0x5946cd[_0x5946cd[_0x1b0c82(0xf2)]=0x7]='INVALID_ARGUMENT',_0x5946cd[_0x5946cd['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x5946cd[_0x5946cd[_0x1b0c82(0x14e)]=0x9]=_0x1b0c82(0x14e),_0x5946cd[_0x5946cd['LOGIN_FAILED']=0xa]=_0x1b0c82(0x15f),_0x5946cd[_0x5946cd['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5946cd[_0x5946cd[_0x1b0c82(0x310)]=0x1771]=_0x1b0c82(0x310),_0x5946cd[_0x5946cd[_0x1b0c82(0xf3)]=0x1772]=_0x1b0c82(0xf3),_0x5946cd[_0x5946cd[_0x1b0c82(0x1b1)]=0x1773]=_0x1b0c82(0x1b1),_0x5946cd[_0x5946cd[_0x1b0c82(0x261)]=0x1b59]=_0x1b0c82(0x261),_0x5946cd[_0x5946cd[_0x1b0c82(0x280)]=0x1b5a]=_0x1b0c82(0x280),_0x5946cd[_0x5946cd['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5946cd[_0x5946cd[_0x1b0c82(0x2c7)]=0x1b5c]=_0x1b0c82(0x2c7),_0x5946cd[_0x5946cd['APPLY_DUPLICATED']=0x1b5d]=_0x1b0c82(0x1f0),_0x5946cd[_0x5946cd[_0x1b0c82(0xe9)]=0x1f41]=_0x1b0c82(0xe9),_0x5946cd[_0x5946cd[_0x1b0c82(0x1df)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x5946cd[_0x5946cd[_0x1b0c82(0x126)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x5946cd[_0x5946cd[_0x1b0c82(0x24a)]=0x232b]=_0x1b0c82(0x24a),_0x5946cd[_0x5946cd[_0x1b0c82(0x23c)]=0x232c]=_0x1b0c82(0x23c),_0x5946cd[_0x5946cd[_0x1b0c82(0xf5)]=0x232d]=_0x1b0c82(0xf5),_0x5946cd[_0x5946cd[_0x1b0c82(0x1c5)]=0x2711]=_0x1b0c82(0x1c5),_0x5946cd[_0x5946cd[_0x1b0c82(0x1f3)]=0x2712]=_0x1b0c82(0x1f3),_0x5946cd[_0x5946cd[_0x1b0c82(0x1a4)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x5946cd[_0x5946cd[_0x1b0c82(0x2a0)]=0x2714]=_0x1b0c82(0x2a0),_0x5946cd[_0x5946cd['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x1b0c82(0x10d),_0x5946cd[_0x5946cd[_0x1b0c82(0x2d3)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x5946cd[_0x5946cd['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x5946cd[_0x5946cd[_0x1b0c82(0x13f)]=0x271d]=_0x1b0c82(0x13f),_0x5946cd[_0x5946cd[_0x1b0c82(0xe2)]=0x271e]=_0x1b0c82(0xe2),_0x5946cd[_0x5946cd[_0x1b0c82(0x18c)]=0x271f]=_0x1b0c82(0x18c),_0x5946cd[_0x5946cd['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x1b0c82(0x224),_0x5946cd[_0x5946cd[_0x1b0c82(0x271)]=0x2ee1]=_0x1b0c82(0x271),_0x5946cd[_0x5946cd[_0x1b0c82(0xba)]=0x2ee2]=_0x1b0c82(0xba),_0x5946cd[_0x5946cd[_0x1b0c82(0x314)]=0x2ee3]=_0x1b0c82(0x314),_0x5946cd[_0x5946cd[_0x1b0c82(0x25e)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x5946cd[_0x5946cd[_0x1b0c82(0xa6)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x5946cd[_0x5946cd[_0x1b0c82(0x2c9)]=0x32c9]=_0x1b0c82(0x2c9),_0x5946cd[_0x5946cd[_0x1b0c82(0x12b)]=0x32ca]=_0x1b0c82(0x12b),_0x5946cd[_0x5946cd[_0x1b0c82(0x296)]=0x32cb]=_0x1b0c82(0x296),_0x5946cd[_0x5946cd[_0x1b0c82(0x217)]=-0x1]=_0x1b0c82(0x217),_0x5946cd))(_0x2e777a||{}),_0x5b0a74=Object[_0x1b0c82(0x1a9)],_0x4e7a78=(_0x5d4b7d,_0xd3836,_0x1c39e6,_0x1ecf59)=>{for(var _0x5bd4bd=_0x1ecf59>0x1?void 0x0:_0x1ecf59?_0x5b0a74(_0xd3836,_0x1c39e6):_0xd3836,_0x2e7278=_0x5d4b7d['length']-0x1,_0x21abe2;_0x2e7278>=0x0;_0x2e7278--)(_0x21abe2=_0x5d4b7d[_0x2e7278])&&(_0x5bd4bd=_0x21abe2(_0x5bd4bd)||_0x5bd4bd);return _0x5bd4bd;},_0x9a9890=(_0x2f9570,_0x2ec5c8)=>(_0x3916fe,_0x330d5f)=>_0x2ec5c8(_0x3916fe,_0x330d5f,_0x2f9570);_0x4b0a9d[_0x1b0c82(0x14c)]=class extends _0x5e3496['Disposable']{constructor(_0x102645,_0x68b106,_0x35d305){const _0xcb4264=_0x1b0c82;super(),this[_0xcb4264(0x2b1)]=_0x102645,this[_0xcb4264(0x2e0)]=_0x68b106,this[_0xcb4264(0x13b)]=_0x35d305;}async[_0x1b0c82(0x2a2)](_0x3a8a6b,_0x8260ea,_0xfbd108,..._0x411bb5){const _0xd005fb=_0x1b0c82;var _0x236671,_0x11303b,_0x5372a4,_0x44495f;const _0x56b76c=this[_0xd005fb(0x2b1)][_0xd005fb(0x257)]();if(!_0x56b76c)throw new Error(_0xd005fb(0x166));const _0x52b153=((_0x236671=this[_0xd005fb(0x13b)][_0xd005fb(0x2b0)](_0x144b9c[_0xd005fb(0xc4)]))!=null?_0x236671:_0x144b9c['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x3a8a6b+_0xd005fb(0x2ba)+_0x8260ea,_0x5b1a9a=new URL(window[_0xd005fb(0x263)][_0xd005fb(0x20c)]),_0x1cba9b={'scriptId':_0x3a8a6b,'runId':(_0x11303b=_0x5b1a9a['searchParams'][_0xd005fb(0x2a3)](_0xd005fb(0x30c)))!=null?_0x11303b:'','function':_0x8260ea,'unitId':_0x56b76c[_0xd005fb(0x1b3)](),'argsOfFunction':JSON[_0xd005fb(0x20a)](_0x411bb5),'invokeId':(_0x5372a4=_0xfbd108['invokeId'])!=null?_0x5372a4:'','executionId':(_0x44495f=_0xfbd108[_0xd005fb(0xb6)])!=null?_0x44495f:''};try{const _0x42f6d8=await this[_0xd005fb(0x2e0)][_0xd005fb(0x1d0)](_0x52b153,{'body':_0x1cba9b});return _0x42f6d8[_0xd005fb(0x1fd)][_0xd005fb(0x155)]&&_0x42f6d8['body'][_0xd005fb(0x155)][_0xd005fb(0x16e)]!==_0x2e777a['OK']?_0xd005fb(0x203):_0x42f6d8[_0xd005fb(0x1fd)]['result'];}catch{return _0xd005fb(0x203);}}},_0x4b0a9d[_0x1b0c82(0x14c)]=_0x4e7a78([_0x9a9890(0x0,_0x5e3496['IUniverInstanceService']),_0x9a9890(0x1,_0x5e3496['Inject'](_0x4656bc['HTTPService'])),_0x9a9890(0x2,_0x5e3496[_0x1b0c82(0x18e)])],_0x4b0a9d[_0x1b0c82(0x14c)]),_0x4b0a9d[_0x1b0c82(0x320)]=_0xf90619,_0x4b0a9d[_0x1b0c82(0x20d)]=_0x3d7732,_0x4b0a9d[_0x1b0c82(0x18d)]=_0x4b093e,_0x4b0a9d['WebBrowserSingleActiveUnitService']=_0x1ee898,_0x4b0a9d[_0x1b0c82(0x300)]=_0x351f64,Object[_0x1b0c82(0x279)](_0x4b0a9d,Symbol['toStringTag'],{'value':_0x1b0c82(0x153)});}));
1
+ function _0x5179(_0x28220f,_0xbd7858){const _0x484407=_0x4844();return _0x5179=function(_0x517955,_0x270168){_0x517955=_0x517955-0x1b4;let _0x36169f=_0x484407[_0x517955];return _0x36169f;},_0x5179(_0x28220f,_0xbd7858);}function _0x4844(){const _0x33b64d=['setUndoRedoMutationParamsCache','result','DependentOn','includes','contains','getViewport','UniverRpc','setConfig','debug','hovered','collabStatus.offline','UNDEFINED','ILocalStorageService','YUUMI_UNABLE_LOAD_URL','permission.content','SessionStatus','PENDING','doc.mutation.rich-text-editing','_cachedData','USERS_LEAVE','Error','getMember','executeCommand','subscribe','concat','split','univer-flex\x20univer-mr-2\x20univer-text-[20px]','cursorInfo','_initCommandExecutedListener','_roomMembers$','_disabled','IConfigService','_univerInstanceService','toRgbString','Warning','has','eventID','operators','RECT','getColor','CLOSE_ROOM','save','446265UgWDYn','setShapeProps','fromEvent','whenReady','syncEditingCollabCursor','_entities','fillStyle','post','isTransformMutationsWithChangesetSuccess','PY_RUNTIME_SCRIPT_ERROR','InsertRangeMoveDownCommandId','JOIN_ROOM_FAILED','ICommandService','history','div','init','UniverInstanceType','UniverCore','_dataLoaderService','drawWith','getUndoRedoMutationParamsCache','_commandService','editingUnit','switchMap','getParam','UniverDesign','m1Prime','SNAPSHOT_HAS_BEEN_REMOVED','createSocket','createInstance','RemoteUniscriptService','NodePositionConvertToCursor','RegularPolygon','getRelativeToViewportCoord','_initResize','data','_docSkeleton','collabStatus.synced','_updateCollabCursors','APPLY_REJECT','_id','_cursorShapes','disableLocalCache','indexOf','M0\x200H16V16H0z','length','mutations','_initEvent','transformSelections','ONLINE','getSkeleton','toDisposable','3280032CXNlbD','colorChannel1','InsertRowCommandId','setParam','textRanges','35562tHmqch','INVITE_CODE_HAS_BEEN_UES','APPLY_NON_SEQUENTIAL_REVISION','jsx','with','_anchor','_collabSessionService','_render','url(#off-line-single_clip0_910_343)','_entityInit$','href','toString','tag','_handleEvent','getOwnPropertySymbols','forEach','isTransformMutationFailure','column','univer-text-green-500','_messageService','@univerjs/docs','distinctUntilChanged','EffectRefRangId','UnitStatus','_syncEditingCollabCursorService','DocIMEInputManagerService','INVALID_ARGUMENT','session.connection-failed','on-line-single_clip0_910_349','_localCacheService','_saveCache','getTypeOfUnitAdded$','focused$','LocaleService','getCurrentSelections','get','moveTo','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','getVpScrollXYInfoByPosToVp','clearInterval','registerRenderModule','CommandType','then','CollaborationSessionService','WebSocketService','onCommandExecuted','_scheduleClearOtherTimer','onMouseMove','_textBubble','clsx','_hover','saveTaskMap','UNAUTHENTICATED','size','@univerjs/docs-ui','unsubscribe','dispose$','OFFLINE','_notificationService','complete','_docTransformSelectionsService','DEFAULT_WS_SESSION_TICKET_URL','_collabCursorController','_scheduleHeartbeat','_handleLeaveEvent','_docClipboardService','LICENSE_DISTRO_REJECTED','set','_localeService','CHANGESET_REVISION_CONFILICT','CollaborationStatus','pushState','CollaborationEvent','UniverProCollaborationClientUi','...','row','React','parse','_removeClearOtherTimer','UNIVER_SHEET','generateRandomId','getAncestorScale','TEXT_RANGE_LAYER_INDEX','UniverUi','addObject','_status$','EMAIL_HAS_BEEN_BOUND','INVALID_INVITE_CODE','LOCAL_CACHE_INTERVAL','_hovered','removeParam','_online','event$','PERMISSION_DENIED','push','values','symbol','_ensureSubject','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_session','forwardRef','univer-text-red-500','_setupBeforeClosingHandler','_doCreateSocket','add','InsertRangeMoveRightCommandId','find','BrowserCollaborationSocketService','_getSheetObject','UniverProCollaboration','_unitOnClients','_themeService','_docSyncEditingCollabCursorService','measureText','subunit','ranges','fillRule','getFocusedUnit','asObservable','Module','_uiPartsService','_updateURLWithCurrentState','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','origin','HEADER_MENU','getStateCache','red300','storage','451mnMwMo','_docTransformIMECacheService','off-line-single_clip0_910_343','CollaborationStatusDisplay','session.will-retry','beginPath','merge','icon','Inject','_colorAssignService','_heartbeatTimer','OffLineSingle','CONFLICT','name','deepClone','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','rxjs','onLocalMutation','loadOfflineData','_getScale','_collaborationUIEventService','IUniverInstanceService','_updateLocalCursor','ITransformService','hide','TEXT','UniverCollaborationClientPlugin','_colorIndex','[RemoteUniscriptService]:\x20no\x20focused\x20unit','react/jsx-runtime','getRangePointData','getCollabCursors$','LOGIN_FAILED','getMemberID','findNodePositionByCharIndex','UniverSheetsUi','key','FromArray','transformByState','_shapes','_transformPreviousActiveRange','endColumn','combineLatest','executionId','debounce','_cursor','RemoveColCommandId','_anchorDot','height','_transformHistoryAndStateStack','_color','RefRangeService','mergeOverrideWithDependencies','_toggleOnline','setActiveRange','Vector2','IRemoteInstanceService','getUnitId','_renderManagerService','@univerjs/design','currentSkeleton$','UniverEngineFormula','getUnhiddenWorksheets','_localStorageService','AWAITING','getSheetId','@univerjs-pro/collaboration','UniverNetwork','UPDATE_CURSOR','getUnitStatus$','_initStatusComponent','throttleTime','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','bottom','IImageIoService','@univerjs/sheets-ui','popstate','sessionStatus$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_refRangeService','_document','min','redoState','WebURLService','_startDocCollabCursor','width','_docStateChangeManagerService','sheetId','startRow','getActiveRange','handleIRemoveCol','urlChange$','DocCollaborationEntity','error','onPointerMove$','OTHER_CLIENTS_EDITING','#FFF','cursorInfo$','disposeUnit','MOBILE_HAS_BEEN_BOUND','currentTheme$','Disposable','FETCH_MISS','SetSelectionsOperation','YUUMI_URL_COL_OUT_OF_RANGE','0\x200\x2017\x2016','Unknown\x20user','INVITE_CODE_REQUIRED','152fUiIDI','source','YUUMI_AI_RUN_FAILED','8787604PSNBPB','RichTextEditingMutation','registerRefRange','selections','ALREADY_EXISTS','collaboration.closeRoom','search','_handleHover','_getAnchorBounding','MessageType','getValue','_onRefRangeChange','ColorKit','2075997XHsSqr','extend','BehaviorSubject','_cursorInfo$','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','IMessageService','searchParams','SetTextSelectionsOperation','displayName','transformRemoteChangeset','call','collaboration-client-ui.config','SheetsSelectionsService','SheetSkeletonManagerService','DocSelectionManagerService','roomMembers','skeleton','reconnect','Tools','_urlService','0\x200\x2016\x2016','_getMergeRange','collabStatus.conflict','INTERNAL_ERROR','_context','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','trim','handleDeleteRangeMoveLeft','collabStatus.fetchMiss','unitID','HTTPService','_docSkeletonManagerService','hasOwnProperty','_registerDependencies','prototype','_backgroundColor','_clearOtherTimers','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','range','_sheetSkeletonManagerService','filter','string','_scheduleSaving','setItem','DesktopCollaborationStatusDisplayController','path','map','code','ENSURE_SNAPSHOT_EXECUTION','black','ILogService','RxDisposable','gold400','transformMutationsWithChangeset','_httpService','_name','type','Shape','xlink:href','INVITE_CODE_ALREADY_BOUND','MemberService','_getSaveTimeout','onPointerLeave$','[CollaborationDataLoaderController]','@univerjs-pro/collaboration-client','#fff','touchDependencies','some','Failed','subscribeEvent','DocStateChangeManagerService','color','RemoveRowCommandId','@univerjs/ui','flatMap','takeUntil','onTransformChange$','_hideTimer','203570YJKzNk','defIds','labelPosition','@univerjs/sheets','Injector','216175TTmRus','replace','_setupSubUnitSync','LOCAL_CACHE_INTERVAL_KEY','AWAITING_WITH_PENDING','CollaborationUIEventService','useDependency','_assignedColors','purple300','getLocalCacheKey','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','DeleteRangeMoveUpCommandId','fillText','VIEW_MAIN','unshift','text','_docTransformStateCacheService','_eventUnsubscribe','replaceState','isArray','collaboration.single-unit.warning','application/json','_refreshCollabCursors','SYNCED','closePath','useRef','getCollabEntity$','UniverCollaborationClientUIPlugin','startsWith','defs','COLORS','@univerjs/network','body','on-line-single','BuiltInUIPart','@univerjs/drawing','ILocalCacheService','@univerjs/engine-render','handleInsertRangeMoveRight','collabCursorState$','fill','transformMutation','_transformService','IURLService','YUUMI_NO_CUBOID_FOR_QUESTION','debounceTime','transformIMECache','_imageIoService','top','UNRECOGNIZED','delete','APPLY_DUPLICATED','_getSessionTicket','_initDependencies','disposeWithMe','evenodd','getDocRanges','makeDirty','_memberService','collabStatus.notCollab','transformStateCache','_toggleOffline','roomMembers$','override','LICENSE_EXPORT_SIZE_EXCEEDED','svg','updateOfflineData','_createSocketURL','UniverDrawing','next','clipPath','lineTo','assignAColorForMemberID','DOC_RANGE_TYPE','_collabCursorState$','send','_lastPointer','loadUnit','_logService','connectInjector','location','_range','CONNECTOR_DATA_TOO_LARGE','_revisionService','getRenderById','params','IRenderManagerService','getOwnPropertyDescriptor','UniverDocsUi','isActive','children','amd','runOnServer','USER_NOT_INVITED_CODE','_unitStatus','_send','_drawAnchor','_updateSubUnitFromURLParams','mask','arc','ThemeService','collab-text-anchor-','OTHER_CLIENT_EDITING','shareReplay','UniverProCollaborationClient','collabStatus.syncing','SheetCollabCursorShape','_cursors','WECHAT_HAS_BEEN_BOUND','addEventListener','SetWorksheetActivateCommand','sessionTicket','_config','collab-text-range-','uni.network.url-service','assign','addObjects','_instanceService','APPLY_PERMISSION_DENIED','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','YUUMI_SUBSCRIPTION_NOT_FOUND','YUUMI_ASYNCIO_CANCELLED','SHEET_VIEWPORT_KEY','_injector','createElement','_handleHeartbeatEvent','NO_OTHER_CLIENTS_EDITING','show','_drawRectRange','registerComponent','DeleteRangeMoveLeftCommandId','runId','_drawTextRange','_labelPosition','handleIRemoveRow','entries','_onCursorUpdate','requireSession','setStateCache','current','m2Prime','Rect','Optional','onRendered','_collaborationController','isEditing','APPLY_REVISION_CONFILICT','YUUMI_ALL_TABLES_IS_INVALID','invokeId','_draw','docStateChange$','_init','round','getUniverSheetInstance','_startSheetCollabCursor','NOT_COLLAB','defineProperty','none','_initEntityListener','CollaborationUIEventId','saveOfflineData','YUUMI_TABLE_NOT_FOUND_IN_UNIT','Tooltip','idSuffix','_registerRenderDependencies','28ZrzRnY','collaboration-client.offline-data-not-saved','setAlpha','_transformUndoRedoStack','getTypeOfUnitDisposed$','pipe','attrs','_saveTaskMap','1em','YUUMI_RATE_OVER_LIMIT','CollaborationDataLoaderController','@univerjs/core','setInterval','_removeCollabCursors','DataLoaderService','unitId','INotificationService','restore','11XfSfqK','LICENSE_MAX_UNITS_EXCEEDED','getSheetBySheetId','IBeforeCloseService','_onCursorDelete','onStarting','getMergeData','onPointerEnter$','_scene','UNIVER_DOC','runRefRangeMutations','getActiveSheet','_selfUnitIDs','_initStatusListener','handleInsertRow','sheetID','triggerDblclick','Workbook','function','clearTimeout','selection','from','dispose','NOT_FOUND','getConfig','unit','currentColor','font','rxjs/operators','handleInsertRangeMoveDown','actions','SOCKET_FAILED_RETRY','@univerjs/rpc','collab-rect-range-','SNAPSHOT_INVALID_SNAPSHOT','_configService','useCallback'];_0x4844=function(){return _0x33b64d;};return _0x4844();}(function(_0x93380c,_0x4ee090){const _0x5656a=_0x5179,_0xffddbf=_0x93380c();while(!![]){try{const _0x44c611=-parseInt(_0x5656a(0x293))/0x1*(-parseInt(_0x5656a(0x31b))/0x2)+-parseInt(_0x5656a(0x417))/0x3+-parseInt(_0x5656a(0x281))/0x4*(parseInt(_0x5656a(0x1dc))/0x5)+parseInt(_0x5656a(0x316))/0x6+parseInt(_0x5656a(0x40a))/0x7+-parseInt(_0x5656a(0x407))/0x8*(parseInt(_0x5656a(0x2e2))/0x9)+parseInt(_0x5656a(0x1d7))/0xa*(parseInt(_0x5656a(0x39b))/0xb);if(_0x44c611===_0x4ee090)break;else _0xffddbf['push'](_0xffddbf['shift']());}catch(_0x44179b){_0xffddbf['push'](_0xffddbf['shift']());}}}(_0x4844,0xdaa19),function(_0x5134b4,_0x2c7aa5){const _0x13b910=_0x5179;typeof exports=='object'&&typeof module<'u'?_0x2c7aa5(exports,require(_0x13b910(0x1c9)),require('@univerjs/core'),require(_0x13b910(0x201)),require(_0x13b910(0x1fb)),require(_0x13b910(0x351)),require(_0x13b910(0x1ff)),require('rxjs'),require('@univerjs/docs'),require(_0x13b910(0x3dd)),require('@univerjs/engine-formula'),require(_0x13b910(0x1da)),require('rxjs/operators'),require('@univerjs/sheets-ui'),require(_0x13b910(0x3b8)),require(_0x13b910(0x1d2)),require(_0x13b910(0x3d6)),require('react'),require(_0x13b910(0x2b3))):typeof define==_0x13b910(0x2a5)&&define[_0x13b910(0x237)]?define(['exports',_0x13b910(0x1c9),_0x13b910(0x28c),_0x13b910(0x201),_0x13b910(0x1fb),_0x13b910(0x351),_0x13b910(0x1ff),_0x13b910(0x3ab),_0x13b910(0x32f),_0x13b910(0x3dd),'@univerjs/engine-formula',_0x13b910(0x1da),_0x13b910(0x2af),_0x13b910(0x3e6),'react/jsx-runtime','@univerjs/ui','@univerjs/design','react',_0x13b910(0x2b3)],_0x2c7aa5):(_0x5134b4=typeof globalThis<'u'?globalThis:_0x5134b4||self,_0x2c7aa5(_0x5134b4[_0x13b910(0x364)]={},_0x5134b4[_0x13b910(0x244)],_0x5134b4[_0x13b910(0x2f3)],_0x5134b4['UniverEngineRender'],_0x5134b4[_0x13b910(0x3de)],_0x5134b4[_0x13b910(0x234)],_0x5134b4[_0x13b910(0x220)],_0x5134b4[_0x13b910(0x3ab)],_0x5134b4['UniverDocs'],_0x5134b4[_0x13b910(0x388)],_0x5134b4[_0x13b910(0x3d8)],_0x5134b4['UniverSheets'],_0x5134b4[_0x13b910(0x3ab)][_0x13b910(0x2dd)],_0x5134b4[_0x13b910(0x3be)],_0x5134b4[_0x13b910(0x367)],_0x5134b4[_0x13b910(0x36e)],_0x5134b4[_0x13b910(0x2fb)],_0x5134b4[_0x13b910(0x367)],_0x5134b4[_0x13b910(0x2be)]));}(this,function(_0x46927c,_0x17756c,_0x50a9bf,_0x31c6c6,_0x5f50a3,_0x5af227,_0x4c8022,_0x13bbb4,_0x41648c,_0x1f9909,_0x3fcf62,_0x58f3cc,_0x4c07d1,_0x532dcc,_0x5df655,_0x1424a2,_0x20d413,_0x662f97,_0x5cc52c){'use strict';const _0x183e64=_0x5179;var _0x4c04be=Object['defineProperty'],_0x7ea398=(_0x311a21,_0x17700b,_0x38b8de)=>_0x17700b in _0x311a21?_0x4c04be(_0x311a21,_0x17700b,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x38b8de}):_0x311a21[_0x17700b]=_0x38b8de,_0x285378=(_0x5ea963,_0x2d651d,_0x425535)=>_0x7ea398(_0x5ea963,typeof _0x2d651d!=_0x183e64(0x37b)?_0x2d651d+'':_0x2d651d,_0x425535),_0x428711=Object['getOwnPropertyDescriptor'],_0x1478ac=(_0x141a92,_0x1f2edc,_0x24c62e,_0x57d0ba)=>{const _0x27eb7f=_0x183e64;for(var _0x1b8f2d=_0x57d0ba>0x1?void 0x0:_0x57d0ba?_0x428711(_0x1f2edc,_0x24c62e):_0x1f2edc,_0x3d8001=_0x141a92[_0x27eb7f(0x30f)]-0x1,_0x538672;_0x3d8001>=0x0;_0x3d8001--)(_0x538672=_0x141a92[_0x3d8001])&&(_0x1b8f2d=_0x538672(_0x1b8f2d)||_0x1b8f2d);return _0x1b8f2d;},_0x29b782=(_0x584754,_0x15f459)=>(_0x3b3045,_0x4c95d0)=>_0x15f459(_0x3b3045,_0x4c95d0,_0x584754);let _0x283ca8=class extends _0x50a9bf['RxDisposable']{constructor(_0xcd13d6,_0x2fe800){const _0x560e51=_0x183e64;super(),this[_0x560e51(0x35c)]=_0xcd13d6,this[_0x560e51(0x20b)]=_0x2fe800,this[_0x560e51(0x273)]();}[_0x183e64(0x273)](){const _0x5b9132=_0x183e64,_0x2aac24=this;this[_0x5b9132(0x212)](this[_0x5b9132(0x35c)]['addClipboardHook']({'onBeforePasteImage':async _0x586e92=>{const _0x5351ea=_0x5b9132,_0x1df85d=await _0x2aac24['_imageIoService']['saveImage'](_0x586e92);return _0x1df85d?{'source':_0x1df85d[_0x5351ea(0x408)],'imageSourceType':_0x1df85d['imageSourceType']}:null;}}));}};_0x283ca8=_0x1478ac([_0x29b782(0x0,_0x5af227['IDocClipboardService']),_0x29b782(0x1,_0x4c8022[_0x183e64(0x3e5)])],_0x283ca8);const _0x242fdb=[_0x183e64(0x1e4),'jiqing500','verdancy600',_0x183e64(0x399),'blue400',_0x183e64(0x1bd)];class _0x5ead00 extends _0x50a9bf['Disposable']{constructor(){const _0x5612d0=_0x183e64;super(...arguments),_0x285378(this,_0x5612d0(0x1e3),new Map()),_0x285378(this,'_colorIndex',0x0);}['assignAColorForMemberID'](_0x25c899){const _0x2b120d=_0x183e64;if(this[_0x2b120d(0x1e3)][_0x2b120d(0x2db)](_0x25c899))return this[_0x2b120d(0x1e3)][_0x2b120d(0x33e)](_0x25c899);const _0x3dd1fc=_0x242fdb[this[_0x2b120d(0x3b6)]];return this[_0x2b120d(0x3b6)]=(this[_0x2b120d(0x3b6)]+0x1)%_0x242fdb[_0x2b120d(0x30f)],this[_0x2b120d(0x1e3)][_0x2b120d(0x35e)](_0x25c899,_0x3dd1fc),_0x3dd1fc;}}function _0x5bf5f5(_0x5c38c1){const _0x149fc1=_0x183e64;let _0xfe75b5='';for(const _0x3e46b5 of _0x5c38c1){const {startOffset:_0x12765b,endOffset:_0x59d001,isActive:_0x158980,rangeType:_0x5d91ce,segmentId:_0x46e173,segmentPage:_0x12089e}=_0x3e46b5;_0xfe75b5[_0x149fc1(0x30f)]&&(_0xfe75b5+=','),_0xfe75b5+=_0x12765b+':'+_0x59d001+':'+(_0x158980?'1':'0')+':'+_0x5d91ce+':'+_0x46e173+':'+_0x12089e;}return _0xfe75b5;}function _0x8a0d5d(_0x5df581){const _0x4dbcf5=_0x183e64,_0x56f544=_0x5df581['split'](','),_0x55d8a4=[];for(const _0xc8c4a6 of _0x56f544){const [_0x5c3ba5,_0x127ca8,_0x529262,_0x4f20a2,_0x53f72f,_0x379e48]=_0xc8c4a6[_0x4dbcf5(0x2d1)](':');_0x55d8a4[_0x4dbcf5(0x379)]({'startOffset':Number(_0x5c3ba5),'endOffset':Number(_0x127ca8),'collapsed':_0x5c3ba5===_0x127ca8,'isActive':_0x529262==='1','rangeType':_0x4f20a2===_0x50a9bf[_0x4dbcf5(0x225)][_0x4dbcf5(0x3b4)]?_0x50a9bf[_0x4dbcf5(0x225)][_0x4dbcf5(0x3b4)]:_0x50a9bf['DOC_RANGE_TYPE'][_0x4dbcf5(0x2de)],'segmentId':typeof _0x53f72f==_0x4dbcf5(0x440)?String(_0x53f72f):'','segmentPage':Number(_0x379e48!=null?_0x379e48:-0x1)});}return _0x55d8a4[_0x4dbcf5(0x1cc)](_0x4c2ee1=>_0x4c2ee1['isActive'])||(_0x55d8a4[0x0][_0x4dbcf5(0x235)]=!0x0),_0x55d8a4;}class _0x2381af extends _0x50a9bf[_0x183e64(0x1bc)]{constructor(){const _0x3261b1=_0x183e64;super(...arguments),_0x285378(this,_0x3261b1(0x226),new _0x13bbb4['BehaviorSubject'](null)),_0x285378(this,_0x3261b1(0x203),this[_0x3261b1(0x226)][_0x3261b1(0x391)]());}[_0x183e64(0x2e6)](_0x297171){const _0x40414b=_0x183e64,{unitID:_0x33b89e,memberID:_0x2f09a5,textRanges:_0x29722e}=_0x297171,_0x4bfdb6=_0x5bf5f5(_0x29722e);if(_0x4bfdb6==='')return;const _0x41eb87={'unitID':_0x33b89e,'memberID':_0x2f09a5,'selection':_0x4bfdb6};this[_0x40414b(0x226)][_0x40414b(0x221)](_0x41eb87);}}var _0x46b15d=Object[_0x183e64(0x233)],_0x56018f=(_0x3164e5,_0x359afb,_0x4c9495,_0x1390b3)=>{for(var _0x313a3a=_0x1390b3>0x1?void 0x0:_0x1390b3?_0x46b15d(_0x359afb,_0x4c9495):_0x359afb,_0x5650a0=_0x3164e5['length']-0x1,_0x395ce4;_0x5650a0>=0x0;_0x5650a0--)(_0x395ce4=_0x3164e5[_0x5650a0])&&(_0x313a3a=_0x395ce4(_0x313a3a)||_0x313a3a);return _0x313a3a;},_0x1049c0=(_0xb0587,_0x1dc132)=>(_0x175ddf,_0x155c92)=>_0x1dc132(_0x175ddf,_0x155c92,_0xb0587);const _0x51d51d=0x12c,_0x541124=0x64;let _0x50060e=class extends _0x50a9bf['RxDisposable']{constructor(_0x37c7a2,_0x2bf67e,_0x4a6328,_0x21e92e,_0x137dd8,_0x20cb03,_0x1be414,_0x57ecd8,_0x1b86b5){const _0x5964fb=_0x183e64;super(),_0x285378(this,'_online',!0x1),_0x285378(this,_0x5964fb(0x273),!0x1),_0x285378(this,_0x5964fb(0x41a),new _0x13bbb4['BehaviorSubject'](new Map())),_0x285378(this,_0x5964fb(0x3fc),this[_0x5964fb(0x41a)][_0x5964fb(0x391)]()),_0x285378(this,_0x5964fb(0x2d5),new _0x13bbb4['BehaviorSubject']([])),_0x285378(this,_0x5964fb(0x21a),this[_0x5964fb(0x2d5)][_0x5964fb(0x286)](_0x13bbb4[_0x5964fb(0x209)](_0x51d51d))),_0x285378(this,_0x5964fb(0x3b1),_0x50a9bf['debounce'](_0x3457f5=>{const _0x35704b=_0x5964fb,_0x570644={'eventID':_0x1f9909['CollaborationEvent'][_0x35704b(0x3df)],'data':{'unitID':this[_0x35704b(0x434)],'memberID':this[_0x35704b(0x37e)][_0x35704b(0x3bc)](),'selection':_0x5bf5f5(_0x3457f5)}};this[_0x35704b(0x37e)][_0x35704b(0x227)](_0x570644,this[_0x35704b(0x434)]);},_0x541124)),(this[_0x5964fb(0x434)]=_0x37c7a2,this[_0x5964fb(0x37e)]=_0x2bf67e,this['_injector']=_0x4a6328,this[_0x5964fb(0x3a4)]=_0x21e92e,this[_0x5964fb(0x216)]=_0x137dd8,this[_0x5964fb(0x333)]=_0x20cb03,this[_0x5964fb(0x206)]=_0x1be414,this[_0x5964fb(0x2d8)]=_0x57ecd8,this[_0x5964fb(0x2f7)]=_0x1b86b5);}get[_0x183e64(0x2d3)](){const _0x2403cb=_0x183e64;return this[_0x2403cb(0x41a)][_0x2403cb(0x414)]();}get[_0x183e64(0x426)](){const _0x2ad42c=_0x183e64;return this[_0x2ad42c(0x2d5)][_0x2ad42c(0x414)]();}['dispose'](){const _0x2dd13c=_0x183e64;super[_0x2dd13c(0x2a9)](),this['_cursorInfo$'][_0x2dd13c(0x221)](new Map()),this[_0x2dd13c(0x41a)]['complete'](),this[_0x2dd13c(0x2d5)]['next']([]),this[_0x2dd13c(0x2d5)]['complete']();}['init'](){const _0xd2b73f=_0x183e64;this[_0xd2b73f(0x273)]||(this[_0xd2b73f(0x273)]=!0x0,this[_0xd2b73f(0x37e)][_0xd2b73f(0x3e8)][_0xd2b73f(0x286)](_0x13bbb4[_0xd2b73f(0x1d4)](this[_0xd2b73f(0x353)]))[_0xd2b73f(0x2cf)](_0x4c3951=>{const _0x51c4b3=_0xd2b73f;_0x4c3951===_0x17756c['SessionStatus']['ONLINE']?this[_0x51c4b3(0x3d0)]():this[_0x51c4b3(0x219)]();}),this[_0xd2b73f(0x37e)][_0xd2b73f(0x377)]['pipe'](_0x13bbb4['takeUntil'](this[_0xd2b73f(0x353)]))[_0xd2b73f(0x2cf)](_0x21dfe6=>{const _0x54ea7d=_0xd2b73f,_0x32900f=_0x21dfe6[_0x54ea7d(0x2dc)];_0x32900f===_0x1f9909['CollaborationEvent'][_0x54ea7d(0x3df)]&&this[_0x54ea7d(0x264)](_0x21dfe6),_0x32900f===_0x1f9909[_0x54ea7d(0x363)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x21dfe6);}),this['disposeWithMe'](this[_0xd2b73f(0x2f7)][_0xd2b73f(0x348)](_0x2fd52d=>{const _0x20b7d9=_0xd2b73f,_0x44fba7=_0x2fd52d['params'];_0x44fba7!=null&&this[_0x20b7d9(0x376)]&&_0x2fd52d['id']===_0x41648c[_0x20b7d9(0x41e)]['id']&&_0x44fba7[_0x20b7d9(0x290)]===this[_0x20b7d9(0x434)]&&_0x44fba7[_0x20b7d9(0x26d)]===!0x1&&_0x44fba7['ranges'][_0x20b7d9(0x30f)]>0x0&&this[_0x20b7d9(0x3b1)](_0x44fba7[_0x20b7d9(0x38e)]);})),this[_0xd2b73f(0x333)][_0xd2b73f(0x203)][_0xd2b73f(0x286)](_0x13bbb4['takeUntil'](this['dispose$']))[_0xd2b73f(0x2cf)](_0x140066=>{const _0x1dbf1c=_0xd2b73f;if((_0x140066==null?void 0x0:_0x140066['unitID'])!==this[_0x1dbf1c(0x434)])return;const _0x2d92b5={'eventID':_0x1f9909['CollaborationEvent'][_0x1dbf1c(0x3df)],'data':_0x140066};this['_onCursorUpdate'](_0x2d92b5);}),this[_0xd2b73f(0x212)](this[_0xd2b73f(0x2f7)][_0xd2b73f(0x348)](_0x5de0c0=>{const _0x4978ae=_0xd2b73f;if(_0x5de0c0[_0x4978ae(0x231)]==null)return;const _0x54b0f7=_0x5de0c0[_0x4978ae(0x231)];if(_0x5de0c0['id']!==_0x41648c[_0x4978ae(0x40b)]['id']||_0x54b0f7[_0x4978ae(0x290)]!==this['unitID'])return;const _0x169252={'id':_0x4978ae(0x2c9),'params':_0x54b0f7},_0x374ded=this['cursorInfo'];for(const [_0x560443,_0x4dea0d]of _0x374ded){const _0x570fe3={'id':_0x4978ae(0x2c9),'params':{'unitId':this[_0x4978ae(0x434)],'actions':null,'textRanges':_0x4dea0d['ranges']}},_0x5a7a26=this[_0x4978ae(0x206)][_0x4978ae(0x205)](_0x169252,_0x570fe3,!0x1);if(_0x1f9909[_0x4978ae(0x32b)](_0x5a7a26))throw _0x5a7a26[_0x4978ae(0x3f8)];_0x374ded[_0x4978ae(0x35e)](_0x560443,{..._0x4dea0d,'ranges':_0x5a7a26['m2Prime'][_0x4978ae(0x231)][_0x4978ae(0x31a)]});}queueMicrotask(()=>{const _0x16d0f1=_0x4978ae;this[_0x16d0f1(0x41a)][_0x16d0f1(0x221)](_0x374ded);});})));}[_0x183e64(0x264)](_0x3becdc){const _0x6015d5=_0x183e64;var _0x4ecc6b,_0x3ee763;const {memberID:_0xffbd92,selection:_0x1fed08}=_0x3becdc[_0x6015d5(0x305)],_0x41bbe8=_0x8a0d5d(_0x1fed08),_0x34ff5b=(_0x3ee763=(_0x4ecc6b=this[_0x6015d5(0x216)]['getMember'](this[_0x6015d5(0x434)],_0xffbd92))==null?void 0x0:_0x4ecc6b[_0x6015d5(0x3a8)])!=null?_0x3ee763:_0x6015d5(0x405),_0x5f35a6={'color':this[_0x6015d5(0x3a4)][_0x6015d5(0x224)](_0xffbd92),'name':_0x34ff5b,'ranges':_0x41bbe8},_0xc59834=this[_0x6015d5(0x2d3)];_0xc59834[_0x6015d5(0x35e)](_0xffbd92,_0x5f35a6),this['_cursorInfo$'][_0x6015d5(0x221)](_0xc59834);}[_0x183e64(0x297)](_0x243d95){const _0x51043f=_0x183e64,{memberID:_0x27485d}=_0x243d95[_0x51043f(0x305)],_0x3ab614=this[_0x51043f(0x2d3)];_0x3ab614[_0x51043f(0x20e)](_0x27485d),this['_cursorInfo$']['next'](_0x3ab614);}[_0x183e64(0x3d0)](){const _0x19f889=_0x183e64;var _0x3236ce;if(this[_0x19f889(0x376)]=!0x0,((_0x3236ce=this[_0x19f889(0x2d8)][_0x19f889(0x390)]())==null?void 0x0:_0x3236ce[_0x19f889(0x3d4)]())!==this[_0x19f889(0x434)])return;const _0x3137e4=this[_0x19f889(0x257)][_0x19f889(0x33e)](_0x41648c['DocSelectionManagerService'])[_0x19f889(0x214)]();Array[_0x19f889(0x1ef)](_0x3137e4)&&_0x3137e4[_0x19f889(0x30f)]>0x0&&this[_0x19f889(0x3b1)](_0x3137e4);}[_0x183e64(0x219)](){const _0x3db1fd=_0x183e64;this[_0x3db1fd(0x376)]=!0x1;}};_0x50060e=_0x56018f([_0x1049c0(0x2,_0x50a9bf['Inject'](_0x50a9bf[_0x183e64(0x1db)])),_0x1049c0(0x3,_0x50a9bf[_0x183e64(0x3a3)](_0x5ead00)),_0x1049c0(0x4,_0x50a9bf[_0x183e64(0x3a3)](_0x17756c[_0x183e64(0x1c5)])),_0x1049c0(0x5,_0x50a9bf['Inject'](_0x2381af)),_0x1049c0(0x6,_0x1f9909[_0x183e64(0x3b2)]),_0x1049c0(0x7,_0x50a9bf['IUniverInstanceService']),_0x1049c0(0x8,_0x50a9bf['ICommandService'])],_0x50060e);var _0x37f1f1=Object[_0x183e64(0x233)],_0x593ee2=(_0x3d889d,_0x5dda53,_0x1ab55c,_0x50d4b7)=>{const _0x1b1c89=_0x183e64;for(var _0x7d7a84=_0x50d4b7>0x1?void 0x0:_0x50d4b7?_0x37f1f1(_0x5dda53,_0x1ab55c):_0x5dda53,_0x182eb3=_0x3d889d[_0x1b1c89(0x30f)]-0x1,_0xc1f658;_0x182eb3>=0x0;_0x182eb3--)(_0xc1f658=_0x3d889d[_0x182eb3])&&(_0x7d7a84=_0xc1f658(_0x7d7a84)||_0x7d7a84);return _0x7d7a84;},_0x473b2f=(_0x17b181,_0x4a3932)=>(_0x406260,_0x4e5749)=>_0x4a3932(_0x406260,_0x4e5749,_0x17b181);const _0x15a933=0x12c,_0x124c5d=0x64,_0xc90a35=()=>{let _0x2d863f=[],_0x4b55e2=!0x1;return _0xf54ce6=>{const _0x5b78f4=_0x5179;_0x2d863f[_0x5b78f4(0x379)](_0xf54ce6),_0x4b55e2||(_0x4b55e2=!0x0,setTimeout(()=>{const _0x26e017=_0x5b78f4;_0x2d863f[_0x26e017(0x32a)](_0x30d2b9=>_0x30d2b9()),_0x2d863f=[],_0x4b55e2=!0x1;}));};};let _0x504e61=class extends _0x50a9bf['RxDisposable']{constructor(_0x5eb323,_0x23d528,_0x34df09,_0x585a5c,_0x16fe88,_0x569dca,_0x594025,_0x4f6a58){const _0x492861=_0x183e64;super(),_0x285378(this,_0x492861(0x376),!0x1),_0x285378(this,_0x492861(0x273),!0x1),_0x285378(this,_0x492861(0x41a),new _0x13bbb4[(_0x492861(0x419))](new Map())),_0x285378(this,_0x492861(0x3fc),this[_0x492861(0x41a)][_0x492861(0x391)]()),_0x285378(this,'_roomMembers$',new _0x13bbb4['BehaviorSubject']([])),_0x285378(this,_0x492861(0x21a),this['_roomMembers$'][_0x492861(0x286)](_0x13bbb4[_0x492861(0x209)](_0x15a933))),_0x285378(this,_0x492861(0x3b1),_0x50a9bf[_0x492861(0x3c7)]((_0x5c22ef,_0xe85448)=>{const _0x362847=_0x492861,_0x14f3c5={'eventID':_0x1f9909[_0x362847(0x363)][_0x362847(0x3df)],'data':{'unitID':this[_0x362847(0x434)],'memberID':this[_0x362847(0x37e)]['getMemberID'](),'selection':_0x3fcf62['serializeRangeWithSheet'](_0x5c22ef,_0xe85448[_0x362847(0x43d)])}};this[_0x362847(0x37e)][_0x362847(0x227)](_0x14f3c5,this[_0x362847(0x434)]);},_0x124c5d)),(this['unitID']=_0x5eb323,this['_session']=_0x23d528,this[_0x492861(0x257)]=_0x34df09,this[_0x492861(0x3a4)]=_0x585a5c,this[_0x492861(0x216)]=_0x16fe88,this[_0x492861(0x2d8)]=_0x569dca,this[_0x492861(0x2f7)]=_0x594025,this[_0x492861(0x3ea)]=_0x4f6a58);}get[_0x183e64(0x2d3)](){const _0x45205c=_0x183e64;return this[_0x45205c(0x41a)][_0x45205c(0x414)]();}get[_0x183e64(0x426)](){const _0x3b4bbf=_0x183e64;return this[_0x3b4bbf(0x2d5)][_0x3b4bbf(0x414)]();}[_0x183e64(0x2a9)](){const _0x155afd=_0x183e64;super[_0x155afd(0x2a9)](),this[_0x155afd(0x41a)][_0x155afd(0x221)](new Map()),this[_0x155afd(0x41a)][_0x155afd(0x356)](),this['_roomMembers$'][_0x155afd(0x221)]([]),this[_0x155afd(0x2d5)]['complete']();}[_0x183e64(0x2f1)](){const _0x5bad27=_0x183e64;this['_init']||(this['_init']=!0x0,this[_0x5bad27(0x37e)][_0x5bad27(0x3e8)][_0x5bad27(0x286)](_0x13bbb4[_0x5bad27(0x1d4)](this['dispose$']))['subscribe'](_0x28098f=>{const _0x5ab617=_0x5bad27;_0x28098f===_0x17756c[_0x5ab617(0x2c7)][_0x5ab617(0x313)]?this['_toggleOnline']():this[_0x5ab617(0x219)]();}),this[_0x5bad27(0x37e)][_0x5bad27(0x377)]['pipe'](_0x13bbb4[_0x5bad27(0x1d4)](this['dispose$']))['subscribe'](_0x2425db=>{const _0x2d6431=_0x5bad27,_0x94e171=_0x2425db[_0x2d6431(0x2dc)];_0x94e171===_0x1f9909['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x2d6431(0x264)](_0x2425db),_0x94e171===_0x1f9909['CollaborationEvent'][_0x2d6431(0x2cb)]&&this[_0x2d6431(0x297)](_0x2425db);}),this[_0x5bad27(0x415)](),this[_0x5bad27(0x212)](this[_0x5bad27(0x2f7)][_0x5bad27(0x348)](_0x5d7b69=>{const _0x2173ec=_0x5bad27;if(this[_0x2173ec(0x376)]&&_0x5d7b69['id']===_0x58f3cc[_0x2173ec(0x402)]['id']&&_0x5d7b69[_0x2173ec(0x231)][_0x2173ec(0x290)]===this[_0x2173ec(0x434)]){const _0x1527ed=_0x5d7b69[_0x2173ec(0x231)];this[_0x2173ec(0x3b1)](_0x1527ed['subUnitId'],_0x1527ed[_0x2173ec(0x40d)][0x0]);}})));}[_0x183e64(0x264)](_0x5e3b7d){const _0x3605ce=_0x183e64;var _0x16d21f,_0x64e6a5;const {memberID:_0x4569fe,selection:_0x3fa669}=_0x5e3b7d['data'],{sheetName:_0x3afa60,range:_0x2ca3da}=_0x3fcf62['deserializeRangeWithSheet'](_0x3fa669),_0x5a5a3a={'name':(_0x64e6a5=(_0x16d21f=this['_memberService'][_0x3605ce(0x2cd)](this[_0x3605ce(0x434)],_0x4569fe))==null?void 0x0:_0x16d21f['name'])!=null?_0x64e6a5:'Unknown\x20user','range':this[_0x3605ce(0x42c)](_0x3afa60,_0x2ca3da),'sheetID':_0x3afa60,'color':this[_0x3605ce(0x3a4)][_0x3605ce(0x224)](_0x4569fe),'selection':_0x3fa669},_0xeb0343=this[_0x3605ce(0x2d3)];_0xeb0343[_0x3605ce(0x35e)](_0x4569fe,_0x5a5a3a),this['_cursorInfo$'][_0x3605ce(0x221)](_0xeb0343);}[_0x183e64(0x297)](_0xa5db9f){const _0x50e5f4=_0x183e64,{memberID:_0x38aea7}=_0xa5db9f[_0x50e5f4(0x305)],_0x3a8995=this[_0x50e5f4(0x2d3)];_0x3a8995['delete'](_0x38aea7),this['_cursorInfo$']['next'](_0x3a8995);}[_0x183e64(0x42c)](_0x5933e2,_0x554299){const _0x34e81f=_0x183e64;var _0x41e4e3,_0x20cdc5;const _0x1b144a=(_0x20cdc5=(_0x41e4e3=this[_0x34e81f(0x2d8)][_0x34e81f(0x275)](this[_0x34e81f(0x434)]))==null?void 0x0:_0x41e4e3[_0x34e81f(0x295)](_0x5933e2))==null?void 0x0:_0x20cdc5[_0x34e81f(0x299)]();return(_0x1b144a==null?void 0x0:_0x1b144a[_0x34e81f(0x385)](_0x290d67=>_0x50a9bf['Rectangle'][_0x34e81f(0x2bc)](_0x290d67,_0x554299)))||_0x554299;}[_0x183e64(0x415)](){const _0x23a9be=_0x183e64,_0x2c2eaa=new _0x50a9bf['DisposableCollection'](),_0x52a438=_0xc90a35(),_0x706b21=()=>{const _0x541c8f=_0x5179;_0x2c2eaa[_0x541c8f(0x2a9)]();const _0x28561a=(_0x1ee907,_0x2202d7,_0x3fddf9,_0x57b0df)=>{const _0x2b15c8=_0x541c8f;let _0x81be4c=[];switch(_0x1ee907['id']){case _0x58f3cc[_0x2b15c8(0x331)][_0x2b15c8(0x25e)]:{_0x81be4c=_0x58f3cc[_0x2b15c8(0x432)](_0x1ee907,_0x57b0df);break;}case _0x58f3cc[_0x2b15c8(0x331)][_0x2b15c8(0x1e7)]:{_0x81be4c=_0x58f3cc['handleDeleteRangeMoveUp'](_0x1ee907,_0x57b0df);break;}case _0x58f3cc[_0x2b15c8(0x331)]['InsertColCommandId']:{_0x81be4c=_0x58f3cc['handleInsertCol'](_0x1ee907,_0x57b0df);break;}case _0x58f3cc[_0x2b15c8(0x331)][_0x2b15c8(0x2ec)]:{_0x81be4c=_0x58f3cc[_0x2b15c8(0x2b0)](_0x1ee907,_0x57b0df);break;}case _0x58f3cc[_0x2b15c8(0x331)][_0x2b15c8(0x384)]:{_0x81be4c=_0x58f3cc[_0x2b15c8(0x202)](_0x1ee907,_0x57b0df);break;}case _0x58f3cc[_0x2b15c8(0x331)][_0x2b15c8(0x318)]:{_0x81be4c=_0x58f3cc[_0x2b15c8(0x2a1)](_0x1ee907,_0x57b0df);break;}case _0x58f3cc[_0x2b15c8(0x331)]['MoveRangeCommandId']:{_0x81be4c=_0x58f3cc['handleMoveRange'](_0x1ee907,_0x57b0df);break;}case _0x58f3cc[_0x2b15c8(0x331)][_0x2b15c8(0x3c9)]:{_0x81be4c=_0x58f3cc[_0x2b15c8(0x3f5)](_0x1ee907,_0x57b0df);break;}case _0x58f3cc['EffectRefRangId'][_0x2b15c8(0x1d1)]:{_0x81be4c=_0x58f3cc[_0x2b15c8(0x262)](_0x1ee907,_0x57b0df);break;}}const _0x165fb8=_0x58f3cc[_0x2b15c8(0x29d)](_0x81be4c,_0x57b0df),_0x196a3b=this['cursorInfo'][_0x2b15c8(0x33e)](_0x2202d7);if(_0x196a3b&&_0x165fb8){const _0x354735={..._0x196a3b,'range':_0x165fb8};this[_0x2b15c8(0x2d3)][_0x2b15c8(0x35e)](_0x2202d7,_0x354735),_0x52a438(()=>{const _0x30bf5a=_0x2b15c8,_0x20d1ab=this[_0x30bf5a(0x3ea)][_0x30bf5a(0x40c)](_0x165fb8,_0x48c1e0=>(_0x20d1ab[_0x30bf5a(0x2a9)](),_0x28561a(_0x48c1e0,_0x2202d7,_0x3fddf9,_0x165fb8)));_0x2c2eaa[_0x30bf5a(0x383)](_0x20d1ab);});}return{'redos':[],'undos':[]};};this[_0x541c8f(0x2d3)][_0x541c8f(0x32a)]((_0x225581,_0x3726b2)=>{const _0x4d5fdd=_0x541c8f,{range:_0x16319e,sheetID:_0x5b4f06}=_0x225581,_0x1e13f5=this[_0x4d5fdd(0x3ea)][_0x4d5fdd(0x40c)](_0x16319e,_0x498bfe=>(_0x1e13f5[_0x4d5fdd(0x2a9)](),_0x28561a(_0x498bfe,_0x3726b2,_0x5b4f06,_0x16319e)));_0x2c2eaa[_0x4d5fdd(0x383)](_0x1e13f5);});};this['disposeWithMe'](_0x50a9bf[_0x23a9be(0x315)](this[_0x23a9be(0x41a)][_0x23a9be(0x2cf)](()=>{_0x706b21();})));}['_toggleOnline'](){const _0x462a7f=_0x183e64;var _0x31b913,_0x5db061;if(this[_0x462a7f(0x376)]=!0x0,((_0x31b913=this[_0x462a7f(0x2d8)][_0x462a7f(0x390)]())==null?void 0x0:_0x31b913[_0x462a7f(0x3d4)]())!==this[_0x462a7f(0x434)])return;const _0x2c652c=(_0x5db061=this[_0x462a7f(0x257)][_0x462a7f(0x33e)](_0x58f3cc[_0x462a7f(0x423)])[_0x462a7f(0x33d)]())==null?void 0x0:_0x5db061[0x0],_0x2f81b3=this[_0x462a7f(0x2d8)]['getCurrentUnitForType'](_0x50a9bf[_0x462a7f(0x2f2)][_0x462a7f(0x36a)])['getActiveSheet']();_0x2c652c&&_0x2f81b3&&this[_0x462a7f(0x3b1)](_0x2f81b3['getSheetId'](),_0x2c652c);}[_0x183e64(0x219)](){const _0x3d6285=_0x183e64;this[_0x3d6285(0x376)]=!0x1;}};_0x504e61=_0x593ee2([_0x473b2f(0x2,_0x50a9bf[_0x183e64(0x3a3)](_0x50a9bf[_0x183e64(0x1db)])),_0x473b2f(0x3,_0x50a9bf['Inject'](_0x5ead00)),_0x473b2f(0x4,_0x50a9bf[_0x183e64(0x3a3)](_0x17756c[_0x183e64(0x1c5)])),_0x473b2f(0x5,_0x50a9bf['IUniverInstanceService']),_0x473b2f(0x6,_0x50a9bf[_0x183e64(0x2ee)]),_0x473b2f(0x7,_0x50a9bf[_0x183e64(0x3a3)](_0x58f3cc[_0x183e64(0x3ce)]))],_0x504e61);var _0xb58dfc=Object[_0x183e64(0x233)],_0x24af20=(_0x33483f,_0x298da2,_0x37b38d,_0x43861b)=>{const _0x23fc6e=_0x183e64;for(var _0x1972b4=_0x43861b>0x1?void 0x0:_0x43861b?_0xb58dfc(_0x298da2,_0x37b38d):_0x298da2,_0x3764e1=_0x33483f[_0x23fc6e(0x30f)]-0x1,_0x2f238e;_0x3764e1>=0x0;_0x3764e1--)(_0x2f238e=_0x33483f[_0x3764e1])&&(_0x1972b4=_0x2f238e(_0x1972b4)||_0x1972b4);return _0x1972b4;},_0x148b23=(_0x67c681,_0x2e5794)=>(_0x181b4b,_0x434446)=>_0x2e5794(_0x181b4b,_0x434446,_0x67c681);let _0x1cd7b4=class extends _0x50a9bf['RxDisposable']{constructor(_0xabfdd9,_0x54e746,_0x5a977a){const _0x4bfed4=_0x183e64;super(),_0x285378(this,_0x4bfed4(0x2e7),new Map()),_0x285378(this,'_entityInit$',new _0x13bbb4['Subject']()),(this[_0x4bfed4(0x2d8)]=_0xabfdd9,this[_0x4bfed4(0x257)]=_0x54e746,this[_0x4bfed4(0x321)]=_0x5a977a,this[_0x4bfed4(0x273)]());}[_0x183e64(0x2a9)](){const _0xb3e7e3=_0x183e64;super[_0xb3e7e3(0x2a9)](),this[_0xb3e7e3(0x324)][_0xb3e7e3(0x356)](),this[_0xb3e7e3(0x2e7)][_0xb3e7e3(0x32a)](_0x15dbbe=>_0x15dbbe['dispose']());}[_0x183e64(0x3ba)](_0x94cc08){const _0x13d70f=_0x183e64;return this[_0x13d70f(0x2e7)][_0x13d70f(0x2db)](_0x94cc08)?this[_0x13d70f(0x2e7)]['get'](_0x94cc08)[_0x13d70f(0x3fc)]:this[_0x13d70f(0x324)][_0x13d70f(0x286)](_0x13bbb4[_0x13d70f(0x43f)](_0x4f84d7=>_0x4f84d7[_0x13d70f(0x434)]===_0x94cc08),_0x13bbb4[_0x13d70f(0x2f9)](_0x424f7e=>_0x424f7e['cursorInfo$']));}[_0x183e64(0x273)](){const _0x335cbb=_0x183e64;this[_0x335cbb(0x2d8)][_0x335cbb(0x33a)](_0x50a9bf[_0x335cbb(0x2f2)][_0x335cbb(0x36a)])[_0x335cbb(0x286)](_0x13bbb4[_0x335cbb(0x1d4)](this[_0x335cbb(0x353)]))['subscribe'](async _0x265ae4=>{const _0x1ad362=_0x335cbb,_0x27a897=_0x265ae4[_0x1ad362(0x3d4)](),_0x2a9bbf=await this[_0x1ad362(0x276)](_0x27a897);this[_0x1ad362(0x324)][_0x1ad362(0x221)](_0x2a9bbf),this[_0x1ad362(0x2e7)][_0x1ad362(0x35e)](_0x27a897,_0x2a9bbf);}),this[_0x335cbb(0x2d8)][_0x335cbb(0x33a)](_0x50a9bf[_0x335cbb(0x2f2)][_0x335cbb(0x29c)])[_0x335cbb(0x286)](_0x13bbb4[_0x335cbb(0x1d4)](this[_0x335cbb(0x353)]))[_0x335cbb(0x286)](_0x13bbb4['filter'](_0x258145=>!_0x258145[_0x335cbb(0x3d4)]()[_0x335cbb(0x1f8)]('__')))[_0x335cbb(0x2cf)](async _0x593da5=>{const _0xe39c3a=_0x335cbb,_0x26cb4b=_0x593da5['getUnitId'](),_0x336747=await this[_0xe39c3a(0x3ef)](_0x26cb4b);this[_0xe39c3a(0x324)][_0xe39c3a(0x221)](_0x336747),this[_0xe39c3a(0x2e7)][_0xe39c3a(0x35e)](_0x26cb4b,_0x336747);}),_0x13bbb4[_0x335cbb(0x3a1)](this[_0x335cbb(0x2d8)][_0x335cbb(0x285)](_0x50a9bf[_0x335cbb(0x2f2)]['UNIVER_DOC']),this[_0x335cbb(0x2d8)][_0x335cbb(0x285)](_0x50a9bf[_0x335cbb(0x2f2)]['UNIVER_SHEET']))[_0x335cbb(0x286)](_0x13bbb4[_0x335cbb(0x1d4)](this[_0x335cbb(0x353)]))[_0x335cbb(0x2cf)](_0x3f93dc=>{const _0x4566b2=_0x335cbb,_0x4f6ba5=_0x3f93dc[_0x4566b2(0x3d4)](),_0x1b42d7=this['_entities']['get'](_0x4f6ba5);_0x1b42d7&&(_0x1b42d7[_0x4566b2(0x2a9)](),this['_entities'][_0x4566b2(0x20e)](_0x4f6ba5));});}async['_startSheetCollabCursor'](_0x1d60e3){const _0x25ac28=_0x183e64,_0x5bd8ae=await this['_collabSessionService'][_0x25ac28(0x265)](_0x1d60e3),_0x4791ba=this['_injector'][_0x25ac28(0x2ff)](_0x504e61,_0x1d60e3,_0x5bd8ae);return _0x4791ba['init'](),_0x4791ba;}async[_0x183e64(0x3ef)](_0x541d18){const _0x1c7866=_0x183e64,_0x1b164e=await this[_0x1c7866(0x321)][_0x1c7866(0x265)](_0x541d18),_0x2892ac=this[_0x1c7866(0x257)][_0x1c7866(0x2ff)](_0x50060e,_0x541d18,_0x1b164e);return _0x2892ac[_0x1c7866(0x2f1)](),_0x2892ac;}};_0x1cd7b4=_0x24af20([_0x148b23(0x0,_0x50a9bf[_0x183e64(0x3b0)]),_0x148b23(0x1,_0x50a9bf['Inject'](_0x50a9bf[_0x183e64(0x1db)])),_0x148b23(0x2,_0x50a9bf[_0x183e64(0x3a3)](_0x17756c[_0x183e64(0x346)]))],_0x1cd7b4);const _0x3f07b2=0x14,_0x4b9412=0xc8,_0x33a872=0x4,_0x426cdf=0x5;function _0x410320(_0x29941b,_0x1741c9){const _0x2d90fb=_0x183e64;let {radius:_0x37bb65,width:_0x325e11,height:_0x53f4cb}=_0x1741c9;_0x37bb65=_0x37bb65!=null?_0x37bb65:0x0,_0x325e11=_0x325e11!=null?_0x325e11:0x1e,_0x53f4cb=_0x53f4cb!=null?_0x53f4cb:0x1e;let _0x403e87=0x0,_0x402f04=0x0,_0xa53597=0x0;_0x403e87=_0x402f04=_0xa53597=Math[_0x2d90fb(0x3ec)](_0x37bb65,_0x325e11/0x2,_0x53f4cb/0x2),_0x29941b[_0x2d90fb(0x3a0)](),_0x29941b[_0x2d90fb(0x33f)](_0x403e87,0x0),_0x29941b[_0x2d90fb(0x223)](_0x325e11-_0x402f04,0x0),_0x29941b[_0x2d90fb(0x23f)](_0x325e11-_0x402f04,_0x402f04,_0x402f04,Math['PI']*0x3/0x2,0x0,!0x1),_0x29941b[_0x2d90fb(0x223)](_0x325e11,_0x53f4cb-_0xa53597),_0x29941b[_0x2d90fb(0x23f)](_0x325e11-_0xa53597,_0x53f4cb-_0xa53597,_0xa53597,0x0,Math['PI']/0x2,!0x1),_0x29941b[_0x2d90fb(0x223)](0x0,_0x53f4cb),_0x29941b[_0x2d90fb(0x223)](0x0,_0x403e87),_0x29941b[_0x2d90fb(0x23f)](_0x403e87,_0x403e87,_0x403e87,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x29941b[_0x2d90fb(0x1f4)](),_0x1741c9[_0x2d90fb(0x204)]&&(_0x29941b[_0x2d90fb(0x2e1)](),_0x29941b['fillStyle']=_0x1741c9[_0x2d90fb(0x204)],_0x1741c9[_0x2d90fb(0x38f)]===_0x2d90fb(0x213)?_0x29941b[_0x2d90fb(0x204)](_0x2d90fb(0x213)):_0x29941b[_0x2d90fb(0x204)](),_0x29941b['restore']());}class _0x17781a extends _0x31c6c6[_0x183e64(0x1c2)]{constructor(_0x4f105c,_0x352a42){const _0x3bc04f=_0x183e64;super(_0x4f105c,_0x352a42),_0x285378(this,'color'),_0x285378(this,_0x3bc04f(0x1eb)),(this['color']=_0x352a42==null?void 0x0:_0x352a42[_0x3bc04f(0x1d0)],this[_0x3bc04f(0x1eb)]=_0x352a42==null?void 0x0:_0x352a42['text']);}static[_0x183e64(0x2f5)](_0x444ad3,_0x3de5d4){const _0x2c4aa7=_0x183e64,{text:_0x57af9c,color:_0x50dddc}=_0x3de5d4;_0x444ad3[_0x2c4aa7(0x2e1)](),_0x444ad3[_0x2c4aa7(0x2ae)]=_0x2c4aa7(0x430);const _0x48e320=_0x444ad3[_0x2c4aa7(0x38c)](_0x57af9c)[_0x2c4aa7(0x3f0)],_0xb6c307=Math[_0x2c4aa7(0x3ec)](_0x48e320+0x2*_0x33a872,_0x4b9412);_0x410320(_0x444ad3,{'height':_0x3f07b2,'radius':0x4,'width':_0xb6c307,'fill':_0x50dddc}),_0x444ad3[_0x2c4aa7(0x2e8)]=_0x2c4aa7(0x3fb);const _0x3bbc9a=_0x33a872,_0x3d787a=_0x3f07b2-_0x426cdf,_0xd8789a=_0x4b9412-0x2*_0x33a872;if(_0x48e320>_0xd8789a){let _0xeacb97='',_0x168cc4=0x0;for(const _0x2f8528 of _0x57af9c){const _0x941558=_0x444ad3[_0x2c4aa7(0x38c)](_0x2f8528)[_0x2c4aa7(0x3f0)];if(_0x168cc4+_0x941558<=_0xd8789a-_0x444ad3[_0x2c4aa7(0x38c)]('...')[_0x2c4aa7(0x3f0)])_0xeacb97+=_0x2f8528,_0x168cc4+=_0x941558;else{_0xeacb97+=_0x2c4aa7(0x365);break;}}_0x444ad3[_0x2c4aa7(0x1e8)](_0xeacb97,_0x3bbc9a,_0x3d787a);}else _0x444ad3['fillText'](_0x57af9c,_0x3bbc9a,_0x3d787a);_0x444ad3[_0x2c4aa7(0x292)]();}[_0x183e64(0x271)](_0x2008d2){_0x17781a['drawWith'](_0x2008d2,this);}}const _0x573c3b=_0x183e64(0x241),_0x372e84=_0x183e64(0x24d),_0x13288d=_0x183e64(0x2b4),_0x170444=0x6,_0xa12155=1.5,_0x46a09f=0x4,_0x290306=1.5,_0x20154e='rgba(255,\x20255,\x20255,\x200.01)';class _0x38fd78{constructor(_0x193e0d,_0x509286,_0x3280e8,_0x3033a8){const _0x56f523=_0x183e64;_0x285378(this,_0x56f523(0x3c2),[]),_0x285378(this,'_anchor',null),_0x285378(this,_0x56f523(0x34b),null),_0x285378(this,_0x56f523(0x3ca),null),_0x285378(this,_0x56f523(0x1d6),null),_0x285378(this,_0x56f523(0x1ed),null),(this[_0x56f523(0x3c8)]=_0x193e0d,this[_0x56f523(0x29b)]=_0x509286,this[_0x56f523(0x306)]=_0x3280e8,this[_0x56f523(0x3eb)]=_0x3033a8,this[_0x56f523(0x322)]());}set[_0x183e64(0x34d)](_0x546880){const _0x49dc51=_0x183e64;_0x546880?(this[_0x49dc51(0x3ca)]&&this[_0x49dc51(0x3ca)]['hide'](),this[_0x49dc51(0x34b)]&&this[_0x49dc51(0x34b)]['show']()):(this['_anchorDot']&&this[_0x49dc51(0x3ca)][_0x49dc51(0x25b)](),this[_0x49dc51(0x34b)]&&this['_textBubble'][_0x49dc51(0x3b3)]());}[_0x183e64(0x2a9)](){const _0x172547=_0x183e64;for(const _0x524e78 of this[_0x172547(0x3c2)])_0x524e78[_0x172547(0x2a9)]();this['_textBubble']&&this[_0x172547(0x34b)]['dispose'](),this[_0x172547(0x3ca)]&&this['_anchorDot'][_0x172547(0x2a9)](),this['_anchor']&&this['_anchor']['dispose'](),this['_eventUnsubscribe']&&this[_0x172547(0x1ed)]();}[_0x183e64(0x322)](){const _0x1f7ea5=_0x183e64;var _0x35409e;const {_docSkeleton:_0x103729,_document:_0x1c48e6}=this,{color:_0x2d55ed,name:_0x1712fe,ranges:_0x3a538f}=this[_0x1f7ea5(0x3c8)],_0x5c4ad7=_0x1c48e6['getOffsetConfig'](),{docsLeft:_0x1fe3ca,docsTop:_0x5cd39b}=_0x5c4ad7,_0x3ed3b9=new _0x5af227[(_0x1f7ea5(0x301))](_0x5c4ad7,_0x103729);for(const {startOffset:_0x3bcc62,endOffset:_0x51ad1e,rangeType:_0x236efc,segmentId:_0x187919,segmentPage:_0x13ac4b,collapsed:_0x1ba35d,isActive:_0x22c72b}of _0x3a538f){const _0x37aaa4=_0x103729['findNodePositionByCharIndex'](_0x3bcc62,!0x0,_0x187919,_0x13ac4b);let _0x49c42d=_0x103729[_0x1f7ea5(0x3bd)](_0x51ad1e,!0x0,_0x187919,_0x13ac4b);if(_0x49c42d==null&&(_0x49c42d=_0x103729['findNodePositionByCharIndex'](_0x51ad1e-0x1,!0x1,_0x187919,_0x13ac4b)),_0x22c72b){const {contentBoxPointGroup:_0x9cb5e8}=_0x3ed3b9[_0x1f7ea5(0x3b9)](_0x49c42d,_0x49c42d);if(_0x9cb5e8['length']===0x0)continue;this[_0x1f7ea5(0x23c)](_0x2d55ed,_0x9cb5e8,_0x1fe3ca,_0x5cd39b,_0x1712fe),this[_0x1f7ea5(0x1ed)]=this[_0x1f7ea5(0x411)]();}if(_0x37aaa4&&_0x49c42d){if(_0x236efc===_0x50a9bf[_0x1f7ea5(0x225)][_0x1f7ea5(0x2de)]){const _0x3300d7=new _0x5af227['NodePositionConvertToRectRange'](_0x5c4ad7,_0x103729),{pointGroup:_0x77bbb3}=(_0x35409e=_0x3300d7[_0x1f7ea5(0x3b9)](_0x37aaa4,_0x49c42d))!=null?_0x35409e:{};if(_0x77bbb3==null||_0x77bbb3['length']===0x0)continue;this['_drawRectRange'](_0x2d55ed,_0x77bbb3,_0x1fe3ca,_0x5cd39b);}else{if(!_0x1ba35d){const {borderBoxPointGroup:_0x428ce0}=_0x3ed3b9['getRangePointData'](_0x37aaa4,_0x49c42d);if(_0x428ce0[_0x1f7ea5(0x30f)]===0x0)continue;this[_0x1f7ea5(0x260)](_0x2d55ed,_0x428ce0,_0x1fe3ca,_0x5cd39b);}}}}}['_drawAnchor'](_0x252c16,_0xb76351,_0x2043a2,_0xfb9afd,_0x1b5075){const _0x5e2a76=_0x183e64,_0xc1e9e9=this[_0x5e2a76(0x412)](_0xb76351),{left:_0x1fc5b6,top:_0x5a5860,height:_0x4dd649}=_0xc1e9e9,_0x2c827e=this[_0x5e2a76(0x3ae)](),_0xe59ce3=_0x290306/_0x2c827e,_0x174f72=new _0x31c6c6[(_0x5e2a76(0x269))](_0x573c3b+_0x50a9bf['Tools']['generateRandomId'](_0x170444),{'left':_0x1fc5b6+_0x2043a2-_0xe59ce3,'top':_0x5a5860+_0xfb9afd,'height':_0x4dd649,'width':_0xa12155,'fill':_0x252c16||_0x31c6c6[_0x5e2a76(0x2df)](_0x50a9bf[_0x5e2a76(0x1fa)][_0x5e2a76(0x1ba)],0x0),'strokeWidth':_0xe59ce3,'stroke':_0x20154e,'evented':!0x0});this[_0x5e2a76(0x320)]=_0x174f72,this[_0x5e2a76(0x29b)]['addObject'](_0x174f72,_0x5af227[_0x5e2a76(0x36d)]);const _0x353b5f=new _0x31c6c6[(_0x5e2a76(0x269))](_0x573c3b+_0x50a9bf[_0x5e2a76(0x429)]['generateRandomId'](_0x170444),{'left':_0x1fc5b6+_0x2043a2-_0xe59ce3,'top':_0x5a5860+_0xfb9afd-_0x46a09f/0x2,'height':_0x46a09f,'width':_0x46a09f,'fill':_0x252c16||_0x31c6c6[_0x5e2a76(0x2df)](_0x50a9bf[_0x5e2a76(0x1fa)][_0x5e2a76(0x1ba)],0x0),'strokeWidth':0x0,'stroke':_0x252c16||_0x31c6c6[_0x5e2a76(0x2df)](_0x50a9bf[_0x5e2a76(0x1fa)][_0x5e2a76(0x1ba)],0x0),'evented':!0x1});this[_0x5e2a76(0x3ca)]=_0x353b5f,this[_0x5e2a76(0x29b)][_0x5e2a76(0x36f)](_0x353b5f,_0x5af227[_0x5e2a76(0x36d)]);const _0x40a3dd=new _0x17781a(_0x573c3b+_0x50a9bf[_0x5e2a76(0x429)][_0x5e2a76(0x36b)](_0x170444),{'left':_0x1fc5b6+_0x2043a2-_0xe59ce3,'top':_0x5a5860+_0xfb9afd-_0x3f07b2,'text':_0x1b5075,'color':_0x252c16});this[_0x5e2a76(0x34b)]=_0x40a3dd,this[_0x5e2a76(0x29b)]['addObject'](_0x40a3dd,_0x5af227[_0x5e2a76(0x36d)]),this[_0x5e2a76(0x34d)]=!0x1;}[_0x183e64(0x411)](){const _0x4b57ac=_0x183e64,_0x3f2f99=this['_anchor'][_0x4b57ac(0x29a)]['subscribeEvent'](()=>{const _0x409188=_0x4b57ac;this[_0x409188(0x34d)]=!0x0;}),_0x3ae55b=this[_0x4b57ac(0x320)][_0x4b57ac(0x1c7)]['subscribeEvent'](()=>{const _0x3340e5=_0x4b57ac;this[_0x3340e5(0x1d6)]&&clearTimeout(this[_0x3340e5(0x1d6)]),this[_0x3340e5(0x1d6)]=setTimeout(()=>{const _0xaa2c95=_0x3340e5;this[_0xaa2c95(0x34d)]=!0x1;},0x7d0);});return()=>{const _0x2a8e5a=_0x4b57ac;_0x3f2f99[_0x2a8e5a(0x352)](),_0x3ae55b[_0x2a8e5a(0x352)]();};}[_0x183e64(0x260)](_0x543dff,_0x4bcf11,_0x3d1922,_0x5bf408){const _0x253f4d=_0x183e64,_0x246bdd=new _0x50a9bf['ColorKit'](_0x543dff)[_0x253f4d(0x283)](0.2)[_0x253f4d(0x2d9)](),_0x45b7cc=new _0x31c6c6[(_0x253f4d(0x302))](_0x372e84+_0x50a9bf[_0x253f4d(0x429)][_0x253f4d(0x36b)](_0x170444),{'pointsGroup':_0x4bcf11,'fill':_0x246bdd||_0x31c6c6[_0x253f4d(0x2df)](_0x50a9bf[_0x253f4d(0x1fa)]['black'],0.2),'left':_0x3d1922,'top':_0x5bf408,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x253f4d(0x3c2)][_0x253f4d(0x379)](_0x45b7cc),this[_0x253f4d(0x29b)][_0x253f4d(0x36f)](_0x45b7cc,_0x5af227['TEXT_RANGE_LAYER_INDEX']);}[_0x183e64(0x25c)](_0x31d5fe,_0x215656,_0x3530ad,_0x5ee8e7){const _0x557eb4=_0x183e64,_0x5c466e=new _0x50a9bf[(_0x557eb4(0x416))](_0x31d5fe)['setAlpha'](0.2)[_0x557eb4(0x2d9)](),_0xd6887e=new _0x31c6c6[(_0x557eb4(0x302))](_0x13288d+_0x50a9bf[_0x557eb4(0x429)]['generateRandomId'](_0x170444),{'pointsGroup':_0x215656,'fill':_0x5c466e||_0x31c6c6[_0x557eb4(0x2df)](_0x50a9bf[_0x557eb4(0x1fa)]['black'],0.2),'left':_0x3530ad,'top':_0x5ee8e7,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0xd6887e),this[_0x557eb4(0x29b)][_0x557eb4(0x36f)](_0xd6887e,_0x5af227[_0x557eb4(0x36d)]);}[_0x183e64(0x412)](_0x3f875e){const _0x454240=_0x3f875e[0x0],_0x39dfe1=_0x454240[0x0],_0x5dd388=_0x454240[0x2],{x:_0x33d13f,y:_0x2a5b46}=_0x39dfe1,{x:_0x2daa52,y:_0x100f72}=_0x5dd388;return{'left':_0x33d13f,'top':_0x2a5b46,'width':_0x2daa52-_0x33d13f,'height':_0x100f72-_0x2a5b46};}[_0x183e64(0x3ae)](){const {scaleX:_0x5b2ebc,scaleY:_0x38d7b2}=this['_scene']['getAncestorScale']();return Math['max'](_0x5b2ebc,_0x38d7b2);}}var _0x332b1d=Object[_0x183e64(0x233)],_0x4875df=(_0x294693,_0x5e2bab,_0x58e8e8,_0x23e03e)=>{const _0x12bfa6=_0x183e64;for(var _0x5da32a=_0x23e03e>0x1?void 0x0:_0x23e03e?_0x332b1d(_0x5e2bab,_0x58e8e8):_0x5e2bab,_0x53c717=_0x294693[_0x12bfa6(0x30f)]-0x1,_0x51c930;_0x53c717>=0x0;_0x53c717--)(_0x51c930=_0x294693[_0x53c717])&&(_0x5da32a=_0x51c930(_0x5da32a)||_0x5da32a);return _0x5da32a;},_0x32beda=(_0x1b3759,_0x23cfd7)=>(_0xfd962d,_0x45033f)=>_0x23cfd7(_0xfd962d,_0x45033f,_0x1b3759);let _0x445be5=class extends _0x50a9bf[_0x183e64(0x1bc)]{constructor(_0x2af8d1,_0x2684a0,_0x847398,_0x19ed97,_0x233233){const _0xe11e0f=_0x183e64;super(),_0x285378(this,'_cursorShapes',[]),_0x285378(this,_0xe11e0f(0x247),[]),(this[_0xe11e0f(0x42f)]=_0x2af8d1,this[_0xe11e0f(0x436)]=_0x2684a0,this[_0xe11e0f(0x359)]=_0x847398,this['_commandService']=_0x19ed97,this[_0xe11e0f(0x38a)]=_0x233233,this[_0xe11e0f(0x273)]());}[_0x183e64(0x273)](){const _0x17e73e=_0x183e64,_0x541eed=this[_0x17e73e(0x42f)][_0x17e73e(0x290)],_0x2796c6=this[_0x17e73e(0x436)];this[_0x17e73e(0x212)](_0x13bbb4['combineLatest']([this['_collabCursorController'][_0x17e73e(0x3ba)](_0x541eed),this[_0x17e73e(0x38a)]['currentTheme$']])['pipe'](_0x4c07d1['map'](([_0x408bfd,_0x1b1467])=>({'skeleton':_0x2796c6[_0x17e73e(0x314)](),'cursors':[..._0x408bfd[_0x17e73e(0x37a)]()][_0x17e73e(0x1d3)](_0x5d9e57=>({..._0x5d9e57,'color':_0x1b1467[_0x5d9e57[_0x17e73e(0x1d0)]]}))})))[_0x17e73e(0x2cf)](_0x1af996=>{const _0x1acc4b=_0x17e73e;if(this[_0x1acc4b(0x28e)](),_0x1af996){const {skeleton:_0x38d8ef,cursors:_0xa8fc67}=_0x1af996;this[_0x1acc4b(0x308)](_0x38d8ef,_0xa8fc67);}})),this[_0x17e73e(0x304)](),this[_0x17e73e(0x2d4)]();}[_0x183e64(0x308)](_0x39d62c,_0x5b01a2){const _0x1f99b3=_0x183e64,{scene:_0x34b0d5,mainComponent:_0x45b8f}=this[_0x1f99b3(0x42f)],_0xf150c2=_0x5b01a2[_0x1f99b3(0x1b7)](_0x27c61e=>new _0x38fd78(_0x27c61e,_0x34b0d5,_0x39d62c,_0x45b8f));this[_0x1f99b3(0x30b)]=_0xf150c2,this[_0x1f99b3(0x247)]=_0x5b01a2;}[_0x183e64(0x1f2)](){const _0x5d381c=_0x183e64;this[_0x5d381c(0x28e)]();const {scene:_0x4c4450,mainComponent:_0x50a1ea}=this['_context'],_0x1e92b8=this[_0x5d381c(0x436)]['getSkeleton'](),_0x5970fb=this[_0x5d381c(0x247)][_0x5d381c(0x1b7)](_0x3286ba=>new _0x38fd78(_0x3286ba,_0x4c4450,_0x1e92b8,_0x50a1ea));this[_0x5d381c(0x30b)]=_0x5970fb;}['_removeCollabCursors'](){const _0x55ea04=_0x183e64;this[_0x55ea04(0x30b)]['forEach'](_0x5ca0b1=>_0x5ca0b1[_0x55ea04(0x2a9)]()),this['_cursorShapes']=[];}['_initCommandExecutedListener'](){const _0x309e3d=_0x183e64,_0x537ad3=[_0x5af227['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x309e3d(0x2f7)]['onCommandExecuted'](_0x27cee6=>{const _0x1c3eac=_0x309e3d;_0x537ad3[_0x1c3eac(0x2bb)](_0x27cee6['id'])&&_0x27cee6[_0x1c3eac(0x231)]['unitId']===this[_0x1c3eac(0x42f)][_0x1c3eac(0x290)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x50a309=_0x183e64;this['disposeWithMe'](_0x50a9bf['fromEventSubject'](this[_0x50a309(0x42f)]['engine'][_0x50a309(0x1d5)])[_0x50a309(0x286)](_0x4c07d1[_0x50a309(0x43f)](_0xbf17e=>_0xbf17e[_0x50a309(0x1c1)]===_0x31c6c6['TRANSFORM_CHANGE_OBSERVABLE_TYPE']['resize']),_0x4c07d1[_0x50a309(0x3e2)](0x10))[_0x50a309(0x2cf)](()=>{const _0x396bb6=_0x50a309;this[_0x396bb6(0x1f2)]();}));}};_0x445be5=_0x4875df([_0x32beda(0x1,_0x50a9bf['Inject'](_0x41648c['DocSkeletonManagerService'])),_0x32beda(0x2,_0x50a9bf['Inject'](_0x1cd7b4)),_0x32beda(0x3,_0x50a9bf[_0x183e64(0x2ee)]),_0x32beda(0x4,_0x50a9bf[_0x183e64(0x3a3)](_0x50a9bf[_0x183e64(0x240)]))],_0x445be5);const _0x1097f9=0x1,_0xc73524=1.5;class _0x48c5c3 extends _0x31c6c6[_0x183e64(0x1c2)]{constructor(_0x5711b3,_0x47cf3c){const _0x3f497c=_0x183e64;super(_0x5711b3,_0x47cf3c),_0x285378(this,'_color'),_0x285378(this,'_hovered',!0x1),_0x285378(this,_0x3f497c(0x22d)),_0x285378(this,_0x3f497c(0x1c0),''),_0x285378(this,_0x3f497c(0x261),_0x3f497c(0x20c)),_0x285378(this,_0x3f497c(0x43a)),(_0x47cf3c&&this[_0x3f497c(0x2e3)](_0x47cf3c),this[_0x3f497c(0x29a)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x3f497c(0x1ce)](()=>this[_0x3f497c(0x2e3)]({'hovered':!0x1})));}[_0x183e64(0x2e3)](_0x465278){const _0x5af299=_0x183e64;var _0x18a7b1,_0x1d593e,_0x41c64e,_0x17ee42,_0xdb7b17,_0x13d25d;this[_0x5af299(0x3cd)]=(_0x18a7b1=_0x465278[_0x5af299(0x1d0)])!=null?_0x18a7b1:this['_color'],this[_0x5af299(0x374)]=(_0x1d593e=_0x465278[_0x5af299(0x2c1)])!=null?_0x1d593e:this[_0x5af299(0x374)],this[_0x5af299(0x22d)]=(_0x41c64e=_0x465278['range'])!=null?_0x41c64e:this[_0x5af299(0x22d)],this[_0x5af299(0x1c0)]=(_0x17ee42=_0x465278[_0x5af299(0x3a8)])!=null?_0x17ee42:this[_0x5af299(0x1c0)],this[_0x5af299(0x261)]=(_0xdb7b17=_0x465278[_0x5af299(0x1d9)])!=null?_0xdb7b17:this[_0x5af299(0x261)],this['_backgroundColor']=(_0x13d25d=_0x465278['backgroundColor'])!=null?_0x13d25d:this[_0x5af299(0x43a)],this[_0x5af299(0x3c1)]({'width':_0x465278[_0x5af299(0x3f0)],'height':_0x465278[_0x5af299(0x3cb)]});}[_0x183e64(0x34a)](_0x2892c8){const _0x327363=_0x183e64,{row:_0x4c6509,column:_0x261fca}=_0x2892c8;if(_0x4c6509>=this[_0x327363(0x22d)][_0x327363(0x3f3)]&&_0x4c6509<=this[_0x327363(0x22d)]['endRow']&&_0x261fca>=this[_0x327363(0x22d)]['startColumn']&&_0x261fca<=this[_0x327363(0x22d)][_0x327363(0x3c4)]){this[_0x327363(0x2e3)]({'hovered':!0x0});return;}this[_0x327363(0x2e3)]({'hovered':!0x1});}[_0x183e64(0x2a3)](_0x5eee5a){return!0x1;}[_0x183e64(0x271)](_0x29c36f){const _0x516faa=_0x183e64;_0x31c6c6[_0x516faa(0x269)][_0x516faa(0x2f5)](_0x29c36f,{'width':this[_0x516faa(0x3f0)],'height':this[_0x516faa(0x3cb)],'strokeWidth':_0xc73524,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x516faa(0x43a)]}),this['_hovered']&&(_0x29c36f['save'](),_0x29c36f['transform'](0x1,0x0,0x0,0x1,this['width'],this[_0x516faa(0x261)]===_0x516faa(0x3e4)?0x0:-0x14),_0x17781a[_0x516faa(0x2f5)](_0x29c36f,{'text':this['_name'],'color':this[_0x516faa(0x3cd)]}),_0x29c36f[_0x516faa(0x292)]());}}var _0x301855=Object['getOwnPropertyDescriptor'],_0x2d2cfc=(_0x435fb1,_0x3f577a,_0x22a8eb,_0xb61877)=>{const _0x579484=_0x183e64;for(var _0x803546=_0xb61877>0x1?void 0x0:_0xb61877?_0x301855(_0x3f577a,_0x22a8eb):_0x3f577a,_0x5a324a=_0x435fb1[_0x579484(0x30f)]-0x1,_0x387c38;_0x5a324a>=0x0;_0x5a324a--)(_0x387c38=_0x435fb1[_0x5a324a])&&(_0x803546=_0x387c38(_0x803546)||_0x803546);return _0x803546;},_0x348749=(_0x52f5a1,_0x36ff7b)=>(_0xa7036f,_0x5895eb)=>_0x36ff7b(_0xa7036f,_0x5895eb,_0x52f5a1);const _0x402e17=0x1389;let _0x3b4b11=class extends _0x50a9bf['RxDisposable']{constructor(_0x5c8392,_0xea3676,_0x3ab0d9,_0x40eae5){const _0x1d0ca8=_0x183e64;super(),_0x285378(this,_0x1d0ca8(0x247),new Set()),_0x285378(this,_0x1d0ca8(0x228),null),(this[_0x1d0ca8(0x42f)]=_0x5c8392,this['_sheetSkeletonManagerService']=_0xea3676,this[_0x1d0ca8(0x359)]=_0x3ab0d9,this[_0x1d0ca8(0x38a)]=_0x40eae5,this[_0x1d0ca8(0x273)]());}[_0x183e64(0x273)](){const _0x7eda84=_0x183e64;this[_0x7eda84(0x43e)]['currentSkeleton$'][_0x7eda84(0x286)](_0x4c07d1[_0x7eda84(0x1d4)](this[_0x7eda84(0x353)]),_0x4c07d1[_0x7eda84(0x2f9)](_0x4986f7=>{const _0x4ae9cf=_0x7eda84;if(_0x4986f7){const _0x228b22=_0x4986f7[_0x4ae9cf(0x3f2)];return _0x13bbb4[_0x4ae9cf(0x3c5)](this[_0x4ae9cf(0x359)][_0x4ae9cf(0x3ba)](this[_0x4ae9cf(0x42f)][_0x4ae9cf(0x290)]),this[_0x4ae9cf(0x38a)][_0x4ae9cf(0x3ff)])['pipe'](_0x4c07d1[_0x4ae9cf(0x1b7)](([_0x5dc945,_0x451a0e])=>{const _0x385d96=_0x4ae9cf,_0x4f7380=new Map();return _0x5dc945[_0x385d96(0x32a)]((_0x5a8322,_0x486d2c)=>{const _0x195ccf=_0x385d96;if(_0x5a8322[_0x195ccf(0x2a2)]===_0x228b22){const _0x5c1afa={..._0x5a8322};_0x5c1afa[_0x195ccf(0x1d0)]=_0x451a0e[_0x5a8322[_0x195ccf(0x1d0)]],_0x4f7380[_0x195ccf(0x35e)](_0x486d2c,_0x5c1afa);}}),{'skeleton':_0x4986f7,'cursors':_0x4f7380};}));}return _0x13bbb4['of']({'skeleton':null,'cursors':new Map()});}))[_0x7eda84(0x2cf)](({skeleton:_0x301002,cursors:_0x1b003e})=>{const _0xbbcbce=_0x7eda84;this[_0xbbcbce(0x28e)](),_0x301002&&this[_0xbbcbce(0x308)](_0x301002,_0x1b003e);}),this['_sheetSkeletonManagerService'][_0x7eda84(0x3d7)][_0x7eda84(0x2cf)](_0x38f36d=>{const _0x3ec3ae=_0x7eda84;if(_0x38f36d==null)return;const {skeleton:_0x17b0c9}=_0x38f36d,{scene:_0x447a2c}=this[_0x3ec3ae(0x42f)];_0x447a2c[_0x3ec3ae(0x3f9)][_0x3ec3ae(0x1ce)](_0x50a9bf[_0x3ec3ae(0x3c7)](_0x52f75b=>{const _0x488c65=_0x3ec3ae;var _0x315847,_0x27cf24;const {offsetX:_0x444181,offsetY:_0x45cbdc}=_0x52f75b,{x:_0x1b7fb1,y:_0x409e47}=_0x447a2c[_0x488c65(0x303)](_0x31c6c6[_0x488c65(0x3d2)][_0x488c65(0x3c0)]([_0x444181,_0x45cbdc])),{scaleX:_0x44df1a,scaleY:_0x101f72}=_0x447a2c[_0x488c65(0x36c)](),_0x25ceb3=_0x447a2c[_0x488c65(0x2bd)](_0x31c6c6[_0x488c65(0x256)][_0x488c65(0x1e9)]),_0x33a35d=_0x447a2c[_0x488c65(0x341)](_0x31c6c6[_0x488c65(0x3d2)][_0x488c65(0x3c0)]([_0x1b7fb1,_0x409e47]),_0x25ceb3),_0x40a229=_0x17b0c9['getCellPositionByOffset'](_0x444181,_0x45cbdc,_0x44df1a,_0x101f72,_0x33a35d);((_0x315847=this[_0x488c65(0x228)])==null?void 0x0:_0x315847[_0x488c65(0x32c)])===_0x40a229[_0x488c65(0x32c)]&&((_0x27cf24=this[_0x488c65(0x228)])==null?void 0x0:_0x27cf24[_0x488c65(0x366)])===_0x40a229[_0x488c65(0x366)]||this['_cursors'][_0x488c65(0x32a)](_0x2b240e=>{const _0xa78eab=_0x488c65;_0x2b240e[_0xa78eab(0x34a)](_0x40a229);});},0x64));});}[_0x183e64(0x308)](_0x23d274,_0x3bbc8a){const _0x4fd406=_0x183e64;var _0x108211;const _0x2fd547=(_0x108211=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x108211[_0x4fd406(0x427)];if(!_0x2fd547)return;const _0x4df7b4=this[_0x4fd406(0x387)]();if(!_0x4df7b4)return;this['_cursors'][_0x4fd406(0x32a)](_0x2447f9=>{const _0x4ca3c5=_0x4fd406;_0x2447f9[_0x4ca3c5(0x215)]();});const {scene:_0xe1087b}=_0x4df7b4,_0x1b44ef=_0x75fa02(Array['from'](_0x3bbc8a[_0x4fd406(0x37a)]()))['map'](_0x3b9e8a=>{const _0x127f5b=_0x4fd406,{color:_0x39fdbc,range:_0x12fcdc,name:_0x2463d6,selection:_0x9a19a7,sheetID:_0x3e7191}=_0x3b9e8a,{startColumn:_0x586146,startRow:_0x25c143,endColumn:_0x22143b,endRow:_0x582569}=_0x12fcdc,_0x5d5738=_0x532dcc['getCoordByCell'](_0x25c143,_0x586146,_0xe1087b,_0x2fd547),_0x9e73b2=_0x532dcc['getCoordByCell'](_0x582569,_0x22143b,_0xe1087b,_0x2fd547),{columnHeaderHeightAndMarginTop:_0x25abf4}=_0x2fd547,{startX:_0x533bde,startY:_0x1c2657}=_0x5d5738,{endX:_0x439520,endY:_0x2bb0a9}=_0x9e73b2,_0x425f63=_0x439520-_0x533bde,_0x563223=_0x2bb0a9-_0x1c2657,_0x358b44={'labelPosition':_0x1c2657-_0x25abf4>=_0x3f07b2?_0x127f5b(0x20c):_0x127f5b(0x3e4),'sheetID':_0x3e7191,'range':_0x12fcdc,'color':_0x39fdbc,'name':_0x2463d6,'selection':_0x9a19a7,'left':_0x533bde,'top':_0x1c2657,'width':_0x425f63,'height':_0x563223,'evented':!0x1,'zIndex':_0x402e17};return new _0x48c5c3(_0x2463d6,_0x358b44);});_0xe1087b[_0x4fd406(0x250)](_0x1b44ef,_0x1097f9),this[_0x4fd406(0x247)]=new Set(_0x1b44ef);}[_0x183e64(0x28e)](){const _0x2ed7d0=_0x183e64;var _0x31d32b;(_0x31d32b=this[_0x2ed7d0(0x247)])==null||_0x31d32b[_0x2ed7d0(0x32a)](_0x443894=>_0x443894[_0x2ed7d0(0x2a9)]());}[_0x183e64(0x387)](){const _0x55c92f=_0x183e64;return _0x532dcc['getSheetObject'](this[_0x55c92f(0x42f)][_0x55c92f(0x2ac)],this['_context']);}};_0x3b4b11=_0x2d2cfc([_0x348749(0x1,_0x50a9bf[_0x183e64(0x3a3)](_0x532dcc[_0x183e64(0x424)])),_0x348749(0x2,_0x50a9bf[_0x183e64(0x3a3)](_0x1cd7b4)),_0x348749(0x3,_0x50a9bf[_0x183e64(0x3a3)](_0x50a9bf[_0x183e64(0x240)]))],_0x3b4b11);function _0x75fa02(_0x3d7ea0){const _0x273b18=_0x183e64,_0x349270=new Map();return _0x3d7ea0[_0x273b18(0x32a)](_0x2a5c8d=>{const _0x14b1aa=_0x273b18;if(_0x349270['has'](_0x2a5c8d[_0x14b1aa(0x2a7)])){const _0x485422=_0x349270[_0x14b1aa(0x33e)](_0x2a5c8d['selection']);_0x485422[_0x14b1aa(0x3a8)]+=',\x20'+_0x2a5c8d[_0x14b1aa(0x3a8)];}else _0x349270['set'](_0x2a5c8d['selection'],_0x2a5c8d);}),Array[_0x273b18(0x2a8)](_0x349270[_0x273b18(0x37a)]());}var _0x4dbe20=function(){const _0x3d26a5=_0x183e64;return _0x4dbe20=Object[_0x3d26a5(0x24f)]||function(_0x27ab8d){const _0x18a3aa=_0x3d26a5;for(var _0x3f4108,_0x3ba797=0x1,_0x27d0f8=arguments[_0x18a3aa(0x30f)];_0x3ba797<_0x27d0f8;_0x3ba797++){_0x3f4108=arguments[_0x3ba797];for(var _0x3fddde in _0x3f4108)Object[_0x18a3aa(0x439)]['hasOwnProperty'][_0x18a3aa(0x421)](_0x3f4108,_0x3fddde)&&(_0x27ab8d[_0x3fddde]=_0x3f4108[_0x3fddde]);}return _0x27ab8d;},_0x4dbe20['apply'](this,arguments);},_0x1ff001=function(_0x4fc6cf,_0x42ad8d){const _0x28c8eb=_0x183e64;var _0xa47da3={};for(var _0x3ba250 in _0x4fc6cf)Object[_0x28c8eb(0x439)][_0x28c8eb(0x437)]['call'](_0x4fc6cf,_0x3ba250)&&_0x42ad8d[_0x28c8eb(0x30d)](_0x3ba250)<0x0&&(_0xa47da3[_0x3ba250]=_0x4fc6cf[_0x3ba250]);if(_0x4fc6cf!=null&&typeof Object[_0x28c8eb(0x329)]=='function'){for(var _0x2ca99c=0x0,_0x3ba250=Object[_0x28c8eb(0x329)](_0x4fc6cf);_0x2ca99c<_0x3ba250['length'];_0x2ca99c++)_0x42ad8d['indexOf'](_0x3ba250[_0x2ca99c])<0x0&&Object['prototype']['propertyIsEnumerable']['call'](_0x4fc6cf,_0x3ba250[_0x2ca99c])&&(_0xa47da3[_0x3ba250[_0x2ca99c]]=_0x4fc6cf[_0x3ba250[_0x2ca99c]]);}return _0xa47da3;},_0x545147=_0x662f97[_0x183e64(0x37f)](function(_0x42237d,_0x10333e){const _0x574cc1=_0x183e64;var _0x5839f1=_0x42237d['icon'],_0x2f8809=_0x42237d['id'],_0x1c0f3b=_0x42237d['className'],_0x19c63a=_0x42237d[_0x574cc1(0x418)],_0x205138=_0x1ff001(_0x42237d,[_0x574cc1(0x3a2),'id','className',_0x574cc1(0x418)]),_0x4b63a5='univerjs-icon\x20univerjs-icon-'['concat'](_0x2f8809,'\x20')[_0x574cc1(0x2d0)](_0x1c0f3b||'')[_0x574cc1(0x431)](),_0x5c2c79=_0x662f97[_0x574cc1(0x1f5)]('_'['concat'](_0xafe94f()));return _0x5923ea(_0x5839f1,''[_0x574cc1(0x2d0)](_0x2f8809),{'defIds':_0x5839f1[_0x574cc1(0x1d8)],'idSuffix':_0x5c2c79[_0x574cc1(0x267)]},_0x4dbe20({'ref':_0x10333e,'className':_0x4b63a5},_0x205138),_0x19c63a);});function _0x5923ea(_0xc1db93,_0x47c7b5,_0x2e7973,_0x526e87,_0x3e202d){const _0x1b5125=_0x183e64;return _0x662f97[_0x1b5125(0x258)](_0xc1db93[_0x1b5125(0x327)],_0x4dbe20(_0x4dbe20({'key':_0x47c7b5},_0x4fd8ca(_0xc1db93,_0x2e7973,_0x3e202d)),_0x526e87),(_0xa305c8(_0xc1db93,_0x2e7973)['children']||[])[_0x1b5125(0x1b7)](function(_0x135410,_0x106e5f){const _0x3631cc=_0x1b5125;return _0x5923ea(_0x135410,''[_0x3631cc(0x2d0)](_0x47c7b5,'-')['concat'](_0xc1db93[_0x3631cc(0x327)],'-')[_0x3631cc(0x2d0)](_0x106e5f),_0x2e7973,void 0x0,_0x3e202d);}));}function _0x4fd8ca(_0x4f3dc9,_0x9f72be,_0x3b18ed){const _0x77798e=_0x183e64;var _0x213645=_0x4dbe20({},_0x4f3dc9[_0x77798e(0x287)]);_0x3b18ed!=null&&_0x3b18ed['colorChannel1']&&_0x213645[_0x77798e(0x204)]===_0x77798e(0x317)&&(_0x213645[_0x77798e(0x204)]=_0x3b18ed['colorChannel1']),_0x4f3dc9[_0x77798e(0x327)]===_0x77798e(0x23e)&&_0x213645['id']&&(_0x213645['id']=_0x213645['id']+_0x9f72be['idSuffix']),Object[_0x77798e(0x263)](_0x213645)[_0x77798e(0x32a)](function(_0x51a098){const _0x4670cf=_0x77798e;var _0x461fa6=_0x51a098[0x0],_0x37dcf6=_0x51a098[0x1];_0x461fa6===_0x4670cf(0x23e)&&typeof _0x37dcf6==_0x4670cf(0x440)&&(_0x213645[_0x461fa6]=_0x37dcf6['replace'](/url\(#(.*)\)/,'url(#$1'[_0x4670cf(0x2d0)](_0x9f72be[_0x4670cf(0x27f)],')')));});var _0x29b256=_0x9f72be[_0x77798e(0x1d8)];return!_0x29b256||_0x29b256[_0x77798e(0x30f)]===0x0||(_0x4f3dc9[_0x77798e(0x327)]==='use'&&_0x213645[_0x77798e(0x1c3)]&&(_0x213645[_0x77798e(0x1c3)]=_0x213645[_0x77798e(0x1c3)]+_0x9f72be['idSuffix']),Object[_0x77798e(0x263)](_0x213645)['forEach'](function(_0xe80afb){const _0x8f960d=_0x77798e;var _0x184eff=_0xe80afb[0x0],_0x47dd71=_0xe80afb[0x1];typeof _0x47dd71=='string'&&(_0x213645[_0x184eff]=_0x47dd71[_0x8f960d(0x1dd)](/url\(#(.*)\)/,'url(#$1'[_0x8f960d(0x2d0)](_0x9f72be[_0x8f960d(0x27f)],')')));})),_0x213645;}function _0xa305c8(_0xa6243d,_0x2140e2){const _0x534c3e=_0x183e64;var _0xefd8b6,_0x32fc6b=_0x2140e2[_0x534c3e(0x1d8)];return!_0x32fc6b||_0x32fc6b['length']===0x0?_0xa6243d:_0xa6243d[_0x534c3e(0x327)]===_0x534c3e(0x1f9)&&(!((_0xefd8b6=_0xa6243d[_0x534c3e(0x236)])===null||_0xefd8b6===void 0x0)&&_0xefd8b6[_0x534c3e(0x30f)])?_0x4dbe20(_0x4dbe20({},_0xa6243d),{'children':_0xa6243d['children']['map'](function(_0x28ba3f){const _0x44f403=_0x534c3e;return typeof _0x28ba3f['attrs']['id']==_0x44f403(0x440)&&_0x32fc6b&&_0x32fc6b[_0x44f403(0x30d)](_0x28ba3f['attrs']['id'])>-0x1?_0x4dbe20(_0x4dbe20({},_0x28ba3f),{'attrs':_0x4dbe20(_0x4dbe20({},_0x28ba3f[_0x44f403(0x287)]),{'id':_0x28ba3f[_0x44f403(0x287)]['id']+_0x2140e2[_0x44f403(0x27f)]})}):_0x28ba3f;})}):_0xa6243d;}function _0xafe94f(){return Math['random']()['toString'](0x24)['substring'](0x2,0x8);}_0x545147[_0x183e64(0x41f)]='UniverIcon';var _0x28a654={'tag':'svg','attrs':{'fill':'none','viewBox':_0x183e64(0x42b),'width':_0x183e64(0x289),'height':_0x183e64(0x289)},'children':[{'tag':'g','attrs':{'clipPath':_0x183e64(0x323)},'children':[{'tag':_0x183e64(0x1b6),'attrs':{'stroke':_0x183e64(0x2ad),'d':_0x183e64(0x253),'strokeLinecap':_0x183e64(0x274),'strokeLinejoin':_0x183e64(0x274),'strokeWidth':1.2}}]},{'tag':_0x183e64(0x1f9),'attrs':{},'children':[{'tag':_0x183e64(0x222),'attrs':{'id':_0x183e64(0x39d)},'children':[{'tag':'path','attrs':{'fill':_0x183e64(0x1ca),'d':_0x183e64(0x30e)}}]}]}],'defIds':[_0x183e64(0x39d)]},_0x15cb34=_0x662f97[_0x183e64(0x37f)](function(_0x486ef9,_0xdc43a0){const _0x2b429c=_0x183e64;return _0x662f97[_0x2b429c(0x258)](_0x545147,Object[_0x2b429c(0x24f)]({},_0x486ef9,{'id':'off-line-single','ref':_0xdc43a0,'icon':_0x28a654}));});_0x15cb34[_0x183e64(0x41f)]=_0x183e64(0x3a6);var _0x231409={'tag':_0x183e64(0x21d),'attrs':{'fill':_0x183e64(0x279),'viewBox':_0x183e64(0x404),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x183e64(0x1b6),'attrs':{'stroke':_0x183e64(0x2ad),'d':_0x183e64(0x43c),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x183e64(0x1f9),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x183e64(0x337)},'children':[{'tag':_0x183e64(0x1b6),'attrs':{'fill':'#fff','d':_0x183e64(0x30e),'transform':'translate(.97)'}}]}]}],'defIds':[_0x183e64(0x337)]},_0x28e5d2=_0x662f97[_0x183e64(0x37f)](function(_0xac3faf,_0x4afa2b){const _0xae608a=_0x183e64;return _0x662f97[_0xae608a(0x258)](_0x545147,Object[_0xae608a(0x24f)]({},_0xac3faf,{'id':_0xae608a(0x1fd),'ref':_0x4afa2b,'icon':_0x231409}));});_0x28e5d2['displayName']='OnLineSingle';function _0x36eb3f(_0x3a2b92){const _0x15830d=_0x183e64;switch(_0x3a2b92){case _0x17756c['CollaborationStatus'][_0x15830d(0x354)]:return _0x15830d(0x2c2);case _0x17756c['CollaborationStatus']['CONFLICT']:return _0x15830d(0x42d);case _0x17756c['CollaborationStatus'][_0x15830d(0x401)]:return _0x15830d(0x433);case _0x17756c[_0x15830d(0x361)][_0x15830d(0x277)]:return _0x15830d(0x217);case _0x17756c[_0x15830d(0x361)][_0x15830d(0x3db)]:case _0x17756c[_0x15830d(0x361)][_0x15830d(0x1e0)]:return _0x15830d(0x245);case _0x17756c[_0x15830d(0x361)][_0x15830d(0x1f3)]:case _0x17756c[_0x15830d(0x361)][_0x15830d(0x2c8)]:return _0x15830d(0x307);}}function _0x14ac81(_0x1944ad){const _0x1c08bd=_0x183e64,{status$:_0x27271c}=_0x1944ad,_0x234637=_0x1424a2['useObservable'](_0x27271c,_0x17756c[_0x1c08bd(0x361)][_0x1c08bd(0x277)]),_0x1d09f1=_0x1424a2[_0x1c08bd(0x1e2)](_0x50a9bf[_0x1c08bd(0x33c)]),_0x193af5=_0x1424a2[_0x1c08bd(0x1e2)](_0x17756c['CollaborationSessionService']),_0x2e887d=_0x234637!==_0x17756c['CollaborationStatus'][_0x1c08bd(0x354)],_0x422f03=_0x1d09f1['t'](_0x36eb3f(_0x234637)),_0x1c6c47=_0x2e887d?_0x5df655[_0x1c08bd(0x31e)](_0x28e5d2,{}):_0x5df655[_0x1c08bd(0x31e)](_0x15cb34,{}),_0x382051=_0x662f97[_0x1c08bd(0x2b7)](()=>{const _0x3cf2b7=_0x1c08bd;_0x2e887d||_0x193af5[_0x3cf2b7(0x428)]();},[_0x2e887d,_0x193af5]);function _0x23633d(){const _0x285af2=_0x1c08bd;return _0x5df655['jsxs'](_0x285af2(0x2f0),{'className':'univer-flex\x20univer-items-center','onClick':_0x382051,'children':[_0x5df655[_0x285af2(0x31e)](_0x285af2(0x2f0),{'className':_0x20d413[_0x285af2(0x34c)](_0x285af2(0x2d2),_0x2e887d?_0x285af2(0x32d):_0x285af2(0x380)),'children':_0x1c6c47}),_0x5df655[_0x285af2(0x31e)](_0x285af2(0x2f0),{'className':_0x285af2(0x340),'children':_0x422f03})]});}return _0x2e887d?_0x23633d():_0x5df655[_0x1c08bd(0x31e)](_0x20d413[_0x1c08bd(0x27e)],{'title':_0x1d09f1['t']('collab-client.tooltip.reconnect'),'children':_0x23633d()});}var _0x36b76c=Object['getOwnPropertyDescriptor'],_0x457037=(_0x1cbe40,_0x39ed1c,_0x5dd955,_0x46e156)=>{for(var _0x1beee7=_0x46e156>0x1?void 0x0:_0x46e156?_0x36b76c(_0x39ed1c,_0x5dd955):_0x39ed1c,_0x7ca46f=_0x1cbe40['length']-0x1,_0x25f440;_0x7ca46f>=0x0;_0x7ca46f--)(_0x25f440=_0x1cbe40[_0x7ca46f])&&(_0x1beee7=_0x25f440(_0x1beee7)||_0x1beee7);return _0x1beee7;},_0x238c38=(_0x47c96b,_0x16a373)=>(_0x3a7eca,_0x5c4d67)=>_0x16a373(_0x3a7eca,_0x5c4d67,_0x47c96b);_0x46927c[_0x183e64(0x1b5)]=class extends _0x50a9bf[_0x183e64(0x400)]{constructor(_0x5a8285,_0x33e648,_0x280245,_0x2318f2){const _0x2bbf5e=_0x183e64;super(),_0x285378(this,_0x2bbf5e(0x370),new _0x13bbb4[(_0x2bbf5e(0x419))](_0x17756c[_0x2bbf5e(0x361)][_0x2bbf5e(0x277)])),(this['_univerInstanceService']=_0x5a8285,this[_0x2bbf5e(0x257)]=_0x33e648,this['_collaborationController']=_0x280245,this['_uiPartsService']=_0x2318f2,this[_0x2bbf5e(0x3e1)](),this[_0x2bbf5e(0x2a0)]());}[_0x183e64(0x2a0)](){const _0x11e495=_0x183e64;this[_0x11e495(0x212)](this['_univerInstanceService'][_0x11e495(0x33b)][_0x11e495(0x286)](_0x13bbb4[_0x11e495(0x2f9)](()=>{const _0x5c1927=_0x11e495,_0x3c86a1=this[_0x5c1927(0x2d8)][_0x5c1927(0x390)]();return _0x3c86a1?this[_0x5c1927(0x26c)][_0x5c1927(0x1f6)](_0x3c86a1[_0x5c1927(0x3d4)]()):_0x13bbb4['of'](null);}),_0x13bbb4[_0x11e495(0x2f9)](_0x5cb84e=>_0x5cb84e?_0x5cb84e['status$']:_0x13bbb4['of'](_0x17756c[_0x11e495(0x361)][_0x11e495(0x277)])))['subscribe'](_0x45dfaf=>{const _0x1147c0=_0x11e495;this['_status$'][_0x1147c0(0x221)](_0x45dfaf);}));}[_0x183e64(0x3e1)](){const _0x3c29b0=_0x183e64;this[_0x3c29b0(0x212)](this[_0x3c29b0(0x393)][_0x3c29b0(0x25d)](_0x1424a2[_0x3c29b0(0x1fe)][_0x3c29b0(0x397)],()=>_0x1424a2[_0x3c29b0(0x22b)](_0x5ca8b6({'status$':this[_0x3c29b0(0x370)][_0x3c29b0(0x391)]()}),this['_injector'])));}},_0x46927c[_0x183e64(0x1b5)]=_0x457037([_0x238c38(0x0,_0x50a9bf[_0x183e64(0x3b0)]),_0x238c38(0x1,_0x50a9bf['Inject'](_0x50a9bf[_0x183e64(0x1db)])),_0x238c38(0x2,_0x50a9bf['Inject'](_0x17756c['CollaborationController'])),_0x238c38(0x3,_0x1424a2['IUIPartsService'])],_0x46927c['DesktopCollaborationStatusDisplayController']);function _0x5ca8b6(_0x35dcb0){const {status$:_0x20ba37}=_0x35dcb0;return function(){const _0x3bf408=_0x5179;return _0x5df655[_0x3bf408(0x31e)](_0x14ac81,{'status$':_0x20ba37});};}var _0x5aeb12=Object[_0x183e64(0x233)],_0x8f6dd7=(_0x1d2da9,_0x3a5866,_0xf76682,_0x283d74)=>{for(var _0x25d832=_0x283d74>0x1?void 0x0:_0x283d74?_0x5aeb12(_0x3a5866,_0xf76682):_0x3a5866,_0x7d0f51=_0x1d2da9['length']-0x1,_0x237689;_0x7d0f51>=0x0;_0x7d0f51--)(_0x237689=_0x1d2da9[_0x7d0f51])&&(_0x25d832=_0x237689(_0x25d832)||_0x25d832);return _0x25d832;},_0x210e2e=(_0xfbd16b,_0x102a8e)=>(_0x5293cd,_0x1f6620)=>_0x102a8e(_0x5293cd,_0x1f6620,_0xfbd16b);let _0x210a39=class extends _0x50a9bf[_0x183e64(0x400)]{constructor(_0x54b87d,_0x5c1850,_0x3dd778,_0x33a317,_0x404f5d,_0x3381b4){const _0x1f8d7c=_0x183e64;super(),this['_beforeCloseService']=_0x54b87d,this[_0x1f8d7c(0x338)]=_0x5c1850,this[_0x1f8d7c(0x3af)]=_0x3dd778,this['_messageService']=_0x33a317,this[_0x1f8d7c(0x355)]=_0x404f5d,this['_localeService']=_0x3381b4,this[_0x1f8d7c(0x381)](),this[_0x1f8d7c(0x311)]();}[_0x183e64(0x381)](){this['disposeWithMe'](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x1b6dc9=_0x5179;if(this[_0x1b6dc9(0x338)][_0x1b6dc9(0x34e)][_0x1b6dc9(0x350)])return this[_0x1b6dc9(0x35f)]['t'](_0x1b6dc9(0x282));}));}[_0x183e64(0x311)](){const _0x1dfe1c=_0x183e64;this[_0x1dfe1c(0x212)](this['_collaborationUIEventService'][_0x1dfe1c(0x377)][_0x1dfe1c(0x2cf)](_0x3833a8=>{const _0x2be0ce=_0x1dfe1c;_0x3833a8['id']===_0x17756c[_0x2be0ce(0x27b)][_0x2be0ce(0x242)]&&this[_0x2be0ce(0x32e)][_0x2be0ce(0x25b)]({'type':_0x20d413['MessageType'][_0x2be0ce(0x2da)],'content':this[_0x2be0ce(0x35f)]['t'](_0x2be0ce(0x1f0))}),_0x3833a8['id']===_0x17756c[_0x2be0ce(0x27b)][_0x2be0ce(0x2e0)]&&this[_0x2be0ce(0x32e)][_0x2be0ce(0x25b)]({'type':_0x20d413[_0x2be0ce(0x413)][_0x2be0ce(0x2da)],'content':this[_0x2be0ce(0x35f)]['t'](_0x2be0ce(0x40f))}),_0x3833a8['id']===_0x17756c[_0x2be0ce(0x27b)][_0x2be0ce(0x378)]&&this[_0x2be0ce(0x355)][_0x2be0ce(0x25b)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x2be0ce(0x35f)]['t'](_0x2be0ce(0x2c6)),'type':_0x2be0ce(0x3f8),'duration':0x0}),_0x3833a8['id']===_0x17756c[_0x2be0ce(0x27b)][_0x2be0ce(0x3a7)]&&this[_0x2be0ce(0x32e)][_0x2be0ce(0x25b)]({'type':_0x20d413[_0x2be0ce(0x413)][_0x2be0ce(0x2cc)],'content':this[_0x2be0ce(0x35f)]['t'](_0x2be0ce(0x40f))+'('+_0x3833a8['data']+')'}),_0x3833a8['id']===_0x17756c['CollaborationUIEventId'][_0x2be0ce(0x2ed)]&&this['_messageService']['show']({'type':_0x20d413[_0x2be0ce(0x413)][_0x2be0ce(0x2da)],'content':this[_0x2be0ce(0x35f)]['t'](_0x3833a8[_0x2be0ce(0x305)]||'')}),_0x3833a8['id']===_0x17756c[_0x2be0ce(0x27b)][_0x2be0ce(0x2b2)]&&this['_messageService'][_0x2be0ce(0x25b)]({'type':_0x20d413[_0x2be0ce(0x413)][_0x2be0ce(0x2da)],'content':this[_0x2be0ce(0x35f)]['t'](_0x2be0ce(0x39f))}),_0x3833a8['id']===_0x17756c[_0x2be0ce(0x27b)]['SOCKET_FAILED']&&this[_0x2be0ce(0x32e)]['show']({'type':_0x20d413[_0x2be0ce(0x413)]['Error'],'content':this[_0x2be0ce(0x35f)]['t'](_0x2be0ce(0x336))}),_0x3833a8['id']===_0x17756c[_0x2be0ce(0x27b)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x2be0ce(0x32e)][_0x2be0ce(0x25b)]({'type':_0x20d413['MessageType'][_0x2be0ce(0x2cc)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x210a39=_0x8f6dd7([_0x210e2e(0x0,_0x1424a2[_0x183e64(0x296)]),_0x210e2e(0x1,_0x17756c[_0x183e64(0x200)]),_0x210e2e(0x2,_0x50a9bf[_0x183e64(0x3a3)](_0x17756c[_0x183e64(0x1e1)])),_0x210e2e(0x3,_0x1424a2[_0x183e64(0x41c)]),_0x210e2e(0x4,_0x1424a2[_0x183e64(0x291)]),_0x210e2e(0x5,_0x50a9bf[_0x183e64(0x3a3)](_0x50a9bf[_0x183e64(0x33c)]))],_0x210a39);const _0x155136=_0x183e64(0x422),_0x5cc2d5={},_0x345468=_0x50a9bf['createIdentifier'](_0x183e64(0x24e));var _0x488108=Object[_0x183e64(0x233)],_0x59d4fe=(_0x227c31,_0x363182,_0x5094db,_0x4f9af0)=>{for(var _0x53b91d=_0x4f9af0>0x1?void 0x0:_0x4f9af0?_0x488108(_0x363182,_0x5094db):_0x363182,_0x4f60d2=_0x227c31['length']-0x1,_0x2878d6;_0x4f60d2>=0x0;_0x4f60d2--)(_0x2878d6=_0x227c31[_0x4f60d2])&&(_0x53b91d=_0x2878d6(_0x53b91d)||_0x53b91d);return _0x53b91d;},_0x365f40=(_0x99ae36,_0x213100)=>(_0x54c93a,_0x29c28d)=>_0x213100(_0x54c93a,_0x29c28d,_0x99ae36);_0x46927c[_0x183e64(0x28b)]=class extends _0x50a9bf[_0x183e64(0x1bc)]{constructor(_0x530b95,_0x5653c3,_0x99153c,_0x1a162a,_0x481bea){const _0x81584=_0x183e64;super(),this[_0x81584(0x42a)]=_0x530b95,this[_0x81584(0x22a)]=_0x5653c3,this['_commandService']=_0x99153c,this[_0x81584(0x2f4)]=_0x1a162a,_0x481bea?_0x481bea==null||_0x481bea[_0x81584(0x2e5)]()['then'](()=>this[_0x81584(0x273)]()):(this['_logService'][_0x81584(0x2c0)](_0x81584(0x1c8),_0x81584(0x37d)),this[_0x81584(0x273)]());}async['_init'](){const _0x18507e=_0x183e64,_0x44050a=this[_0x18507e(0x42a)][_0x18507e(0x2fa)](_0x18507e(0x2ac)),_0x39c7bc=this['_urlService'][_0x18507e(0x2fa)](_0x18507e(0x1c1)),_0x59e7c2=this['_urlService'][_0x18507e(0x2fa)](_0x18507e(0x38d));if(!_0x44050a||!_0x39c7bc){this[_0x18507e(0x22a)][_0x18507e(0x2c0)](_0x18507e(0x1c8),_0x18507e(0x3aa));return;}const _0x3a9593=await this[_0x18507e(0x2f4)][_0x18507e(0x229)](_0x44050a,Number(_0x39c7bc),_0x59e7c2);_0x3a9593&&_0x3a9593 instanceof _0x50a9bf[_0x18507e(0x2a4)]&&this[_0x18507e(0x1de)](_0x3a9593);}async['_setupSubUnitSync'](_0x52ff09){const _0x3c0d28=_0x183e64;await this['_updateSubUnitFromURLParams'](_0x52ff09),_0x52ff09['activeSheet$']['pipe'](_0x13bbb4[_0x3c0d28(0x1d4)](this[_0x3c0d28(0x353)]))[_0x3c0d28(0x2cf)](_0x4cae1b=>{const _0x583df9=_0x3c0d28;_0x4cae1b&&this[_0x583df9(0x394)](_0x4cae1b);}),this[_0x3c0d28(0x42a)][_0x3c0d28(0x3f6)][_0x3c0d28(0x286)](_0x13bbb4[_0x3c0d28(0x1d4)](this[_0x3c0d28(0x353)]))['subscribe'](()=>this['_updateSubUnitFromURLParams'](_0x52ff09));}[_0x183e64(0x394)](_0x55c26a,_0x5e65d7=!0x1){const _0x585945=_0x183e64,_0x47c06a=this[_0x585945(0x42a)][_0x585945(0x2fa)](_0x585945(0x38d));_0x55c26a[_0x585945(0x3dc)]()!==_0x47c06a&&this['_urlService']['setParam'](_0x585945(0x38d),_0x55c26a[_0x585945(0x3dc)](),_0x5e65d7);}async[_0x183e64(0x23d)](_0x58b17e){const _0x260a6e=_0x183e64;var _0x1564d7;const _0x506438=this[_0x260a6e(0x42a)][_0x260a6e(0x2fa)]('subunit');if(!_0x506438||!_0x58b17e[_0x260a6e(0x295)](_0x506438)){const _0x27a8c1=_0x58b17e[_0x260a6e(0x3d9)]()[0x0],_0x5bb43a=_0x58b17e[_0x260a6e(0x295)](_0x27a8c1);if(!_0x5bb43a)return;this['_updateURLWithCurrentState'](_0x5bb43a,!0x0),await this[_0x260a6e(0x2f7)]['executeCommand'](_0x58f3cc[_0x260a6e(0x24a)]['id'],{'unitId':_0x58b17e[_0x260a6e(0x3d4)](),'subUnitId':_0x27a8c1});return;}((_0x1564d7=_0x58b17e[_0x260a6e(0x29e)]())==null?void 0x0:_0x1564d7[_0x260a6e(0x3dc)]())!==_0x506438&&await this[_0x260a6e(0x2f7)][_0x260a6e(0x2ce)](_0x58f3cc[_0x260a6e(0x24a)]['id'],{'unitId':_0x58b17e[_0x260a6e(0x3d4)](),'subUnitId':_0x506438});}},_0x46927c['CollaborationDataLoaderController']=_0x59d4fe([_0x365f40(0x0,_0x345468),_0x365f40(0x1,_0x50a9bf[_0x183e64(0x1bb)]),_0x365f40(0x2,_0x50a9bf['ICommandService']),_0x365f40(0x3,_0x50a9bf[_0x183e64(0x3a3)](_0x17756c[_0x183e64(0x28f)])),_0x365f40(0x4,_0x50a9bf[_0x183e64(0x26a)](_0x5cc52c[_0x183e64(0x3d3)]))],_0x46927c[_0x183e64(0x28b)]);var _0x2c393a=Object[_0x183e64(0x233)],_0x232883=(_0x83028a,_0x46d9e9,_0x512ad1,_0x16f3a3)=>{const _0x2ae2a9=_0x183e64;for(var _0x480fa7=_0x16f3a3>0x1?void 0x0:_0x16f3a3?_0x2c393a(_0x46d9e9,_0x512ad1):_0x46d9e9,_0x59bea6=_0x83028a[_0x2ae2a9(0x30f)]-0x1,_0x409b5f;_0x59bea6>=0x0;_0x59bea6--)(_0x409b5f=_0x83028a[_0x59bea6])&&(_0x480fa7=_0x409b5f(_0x480fa7)||_0x480fa7);return _0x480fa7;},_0x513441=(_0x6edcba,_0xa5c961)=>(_0x145204,_0x3443a4)=>_0xa5c961(_0x145204,_0x3443a4,_0x6edcba);let _0x21a9d9=class{constructor(_0x592e8b,_0x31a760,_0xf0f24a){const _0x1e8059=_0x183e64;this[_0x1e8059(0x257)]=_0x592e8b,this['_transformService']=_0x31a760,this[_0x1e8059(0x3d5)]=_0xf0f24a;}[_0x183e64(0x20a)](_0xd65012){const _0xc9491a=_0x183e64;this[_0xc9491a(0x284)](_0xd65012),this[_0xc9491a(0x3c3)](_0xd65012);}[_0x183e64(0x420)](_0xfa91b4){const _0x29f1ab=_0x183e64,{unitID:_0x211bb1}=_0xfa91b4,_0x53984b=this[_0x29f1ab(0x3d5)]['getRenderById'](_0x211bb1)[_0x29f1ab(0x31f)](_0x5af227[_0x29f1ab(0x334)]),{redoCache:_0x5d798d}=_0x53984b[_0x29f1ab(0x2f6)]();if(_0x5d798d[_0x29f1ab(0x30f)]===0x0)return _0xfa91b4;let _0x5021d6=_0x50a9bf[_0x29f1ab(0x429)]['deepClone'](_0xfa91b4[_0x29f1ab(0x310)][0x0]);for(let _0x21d960=0x0;_0x21d960<_0x5d798d['length'];_0x21d960++){const _0x521433={'id':_0x29f1ab(0x2c9),'params':{..._0x5d798d[_0x21d960]}},_0x27d5e4=this['_transformService']['transformMutation'](_0x5021d6,_0x521433,!0x1);if(_0x1f9909[_0x29f1ab(0x32b)](_0x27d5e4))throw _0x27d5e4[_0x29f1ab(0x3f8)];_0x5021d6=_0x27d5e4[_0x29f1ab(0x2fc)];}return{..._0x50a9bf[_0x29f1ab(0x429)][_0x29f1ab(0x3a9)](_0xfa91b4),'mutations':[_0x5021d6]};}[_0x183e64(0x284)](_0x431387){const _0x17227c=_0x183e64,{unitID:_0x86c96f}=_0x431387,_0x27ca0d=this['_renderManagerService'][_0x17227c(0x230)](_0x86c96f)['with'](_0x5af227[_0x17227c(0x334)]),{undoCache:_0x2ddb0f,redoCache:_0x2007f4}=_0x27ca0d[_0x17227c(0x2f6)]();if(_0x2ddb0f[_0x17227c(0x30f)]===0x0||_0x2007f4['length']===0x0)return;const _0x981701=[],_0x12d093=[];let _0x4c1988=_0x50a9bf[_0x17227c(0x429)]['deepClone'](_0x431387['mutations'][0x0]),_0x28424f=_0x50a9bf[_0x17227c(0x429)][_0x17227c(0x3a9)](_0x431387[_0x17227c(0x310)][0x0]);for(let _0x14a323=_0x2ddb0f[_0x17227c(0x30f)]-0x1;_0x14a323>=0x0;_0x14a323--){const _0x2a9df2={'id':_0x17227c(0x2c9),'params':{..._0x2ddb0f[_0x14a323]}},_0x5bc83c={'id':'doc.mutation.rich-text-editing','params':{..._0x2007f4[_0x14a323]}},_0x548a68=this['_transformService'][_0x17227c(0x205)](_0x4c1988,_0x2a9df2,!0x1),_0x58cb62=this[_0x17227c(0x206)][_0x17227c(0x205)](_0x28424f,_0x5bc83c,!0x1);if(_0x1f9909[_0x17227c(0x32b)](_0x548a68))throw _0x548a68[_0x17227c(0x3f8)];if(_0x1f9909[_0x17227c(0x32b)](_0x58cb62))throw _0x58cb62[_0x17227c(0x3f8)];_0x981701[_0x17227c(0x1ea)](_0x548a68[_0x17227c(0x268)][_0x17227c(0x231)]),_0x12d093['unshift'](_0x58cb62['m2Prime'][_0x17227c(0x231)]),_0x4c1988=_0x548a68['m1Prime'],_0x28424f=_0x58cb62[_0x17227c(0x2fc)];}_0x27ca0d[_0x17227c(0x2b8)]({'undoCache':_0x981701,'redoCache':_0x12d093});}['_transformPreviousActiveRange'](_0x3edc98){const _0x1772fa=_0x183e64,{unitID:_0x44973f}=_0x3edc98,_0x229839=this[_0x1772fa(0x3d5)][_0x1772fa(0x230)](_0x44973f)[_0x1772fa(0x31f)](_0x5af227[_0x1772fa(0x334)]),_0x3c6896=_0x229839[_0x1772fa(0x3f4)]();if(_0x3c6896==null)return;const _0x2e2bce=[{'id':_0x1772fa(0x2c9),'params':{'unitId':_0x3edc98[_0x1772fa(0x434)],'actions':null,'textRanges':[_0x3c6896]}}],_0x60b056=this[_0x1772fa(0x206)][_0x1772fa(0x1be)](_0x3edc98,_0x2e2bce);if(!_0x1f9909[_0x1772fa(0x2ea)](_0x60b056))throw _0x60b056[_0x1772fa(0x3f8)];const _0x485a37=_0x60b056[_0x1772fa(0x268)][0x0]['params'][_0x1772fa(0x31a)];Array['isArray'](_0x485a37)&&_0x485a37[_0x1772fa(0x30f)]&&_0x229839[_0x1772fa(0x3d1)](_0x485a37[0x0]);}};_0x21a9d9=_0x232883([_0x513441(0x0,_0x50a9bf['Inject'](_0x50a9bf[_0x183e64(0x1db)])),_0x513441(0x1,_0x1f9909[_0x183e64(0x3b2)]),_0x513441(0x2,_0x31c6c6[_0x183e64(0x232)])],_0x21a9d9);var _0x577291=Object[_0x183e64(0x233)],_0x293dca=(_0xd5a74c,_0x3c1177,_0x3084ec,_0x332e2c)=>{for(var _0x112173=_0x332e2c>0x1?void 0x0:_0x332e2c?_0x577291(_0x3c1177,_0x3084ec):_0x3c1177,_0x3ff0dd=_0xd5a74c['length']-0x1,_0x39dd95;_0x3ff0dd>=0x0;_0x3ff0dd--)(_0x39dd95=_0xd5a74c[_0x3ff0dd])&&(_0x112173=_0x39dd95(_0x112173)||_0x112173);return _0x112173;},_0x45ce26=(_0x453737,_0x3636e6)=>(_0x35860c,_0x4acc3f)=>_0x3636e6(_0x35860c,_0x4acc3f,_0x453737);let _0x31cda2=class{constructor(_0x4e6d5c,_0x3905a4,_0x2aa7d8){const _0x37cb2d=_0x183e64;this['_injector']=_0x4e6d5c,this[_0x37cb2d(0x206)]=_0x3905a4,this['_docStateChangeManagerService']=_0x2aa7d8;}[_0x183e64(0x218)](_0x4693f3){const _0x109d7d=_0x183e64;this[_0x109d7d(0x3cc)](_0x4693f3);}[_0x183e64(0x420)](_0x2d7b28){const _0x45efc4=_0x183e64,{unitID:_0x1b71d8}=_0x2d7b28,{collaboration:_0x42ee1a}=this[_0x45efc4(0x3f1)][_0x45efc4(0x398)](_0x1b71d8);if(_0x42ee1a['length']===0x0)return _0x2d7b28;let _0x1707e3=_0x50a9bf[_0x45efc4(0x429)][_0x45efc4(0x3a9)](_0x2d7b28[_0x45efc4(0x310)][0x0]);for(let _0x38e68e=0x0;_0x38e68e<_0x42ee1a[_0x45efc4(0x30f)];_0x38e68e++){const _0x23bcde={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x42ee1a[_0x38e68e]['unitId'],..._0x42ee1a[_0x38e68e][_0x45efc4(0x3ed)]}},_0x46cae7=this[_0x45efc4(0x206)][_0x45efc4(0x205)](_0x1707e3,_0x23bcde,!0x1);if(_0x1f9909[_0x45efc4(0x32b)](_0x46cae7))throw _0x46cae7['error'];_0x1707e3=_0x46cae7['m1Prime'];}return{..._0x50a9bf[_0x45efc4(0x429)][_0x45efc4(0x3a9)](_0x2d7b28),'mutations':[_0x1707e3]};}[_0x183e64(0x3cc)](_0x1715ac){const _0x4817ef=_0x183e64,{unitID:_0x19a672}=_0x1715ac,{history:_0x10c715,collaboration:_0x5330ee}=this[_0x4817ef(0x3f1)][_0x4817ef(0x398)](_0x19a672);if(_0x10c715[_0x4817ef(0x30f)]===0x0&&_0x5330ee['length']===0x0)return;const _0x2fddcd=[],_0x36c36d=[];let _0xba418c=_0x50a9bf[_0x4817ef(0x429)][_0x4817ef(0x3a9)](_0x1715ac[_0x4817ef(0x310)][0x0]),_0x47551c=_0x50a9bf[_0x4817ef(0x429)][_0x4817ef(0x3a9)](_0x1715ac[_0x4817ef(0x310)][0x0]);for(let _0x11de5f=_0x10c715[_0x4817ef(0x30f)]-0x1;_0x11de5f>=0x0;_0x11de5f--){const _0x4309bf={'id':_0x4817ef(0x2c9),'params':{'unitId':_0x10c715[_0x11de5f][_0x4817ef(0x290)],..._0x10c715[_0x11de5f]['undoState']}},_0x4b5653={'id':_0x4817ef(0x2c9),'params':{'unitId':_0x10c715[_0x11de5f][_0x4817ef(0x290)],..._0x10c715[_0x11de5f][_0x4817ef(0x3ed)]}},_0x32fd2e=this[_0x4817ef(0x206)][_0x4817ef(0x205)](_0xba418c,_0x4309bf,!0x1),_0x9b0926=this['_transformService'][_0x4817ef(0x205)](_0x47551c,_0x4b5653,!0x1);if(_0x1f9909[_0x4817ef(0x32b)](_0x32fd2e))throw _0x32fd2e['error'];if(_0x1f9909[_0x4817ef(0x32b)](_0x9b0926))throw _0x9b0926[_0x4817ef(0x3f8)];_0x2fddcd[_0x4817ef(0x1ea)]({..._0x10c715[_0x11de5f],'undoState':_0x32fd2e[_0x4817ef(0x268)][_0x4817ef(0x231)],'redoState':_0x9b0926[_0x4817ef(0x268)]['params']}),_0xba418c=_0x32fd2e[_0x4817ef(0x2fc)],_0x47551c=_0x9b0926[_0x4817ef(0x2fc)];}_0xba418c=_0x50a9bf[_0x4817ef(0x429)][_0x4817ef(0x3a9)](_0x1715ac[_0x4817ef(0x310)][0x0]),_0x47551c=_0x50a9bf[_0x4817ef(0x429)]['deepClone'](_0x1715ac[_0x4817ef(0x310)][0x0]);for(let _0xb24ca8=_0x5330ee[_0x4817ef(0x30f)]-0x1;_0xb24ca8>=0x0;_0xb24ca8--){const _0x31441d={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5330ee[_0xb24ca8][_0x4817ef(0x290)],..._0x5330ee[_0xb24ca8]['undoState']}},_0x518ff4={'id':_0x4817ef(0x2c9),'params':{'unitId':_0x5330ee[_0xb24ca8][_0x4817ef(0x290)],..._0x5330ee[_0xb24ca8][_0x4817ef(0x3ed)]}},_0x21c9c1=this[_0x4817ef(0x206)][_0x4817ef(0x205)](_0xba418c,_0x31441d,!0x1),_0x410b4f=this[_0x4817ef(0x206)]['transformMutation'](_0x47551c,_0x518ff4,!0x1);if(_0x1f9909[_0x4817ef(0x32b)](_0x21c9c1))throw _0x21c9c1[_0x4817ef(0x3f8)];if(_0x1f9909[_0x4817ef(0x32b)](_0x410b4f))throw _0x410b4f[_0x4817ef(0x3f8)];_0x36c36d[_0x4817ef(0x1ea)]({..._0x5330ee[_0xb24ca8],'undoState':_0x21c9c1[_0x4817ef(0x268)]['params'],'redoState':_0x410b4f[_0x4817ef(0x268)][_0x4817ef(0x231)]}),_0xba418c=_0x21c9c1[_0x4817ef(0x2fc)],_0x47551c=_0x410b4f['m1Prime'];}this['_docStateChangeManagerService'][_0x4817ef(0x266)](_0x19a672,{'history':_0x2fddcd,'collaboration':_0x36c36d});}};_0x31cda2=_0x293dca([_0x45ce26(0x0,_0x50a9bf[_0x183e64(0x3a3)](_0x50a9bf[_0x183e64(0x1db)])),_0x45ce26(0x1,_0x1f9909[_0x183e64(0x3b2)]),_0x45ce26(0x2,_0x50a9bf[_0x183e64(0x3a3)](_0x5af227[_0x183e64(0x1cf)]))],_0x31cda2);var _0x148f12=Object[_0x183e64(0x233)],_0x167b87=(_0xcc357f,_0x275232,_0x1264b8,_0x270b63)=>{const _0x2d282e=_0x183e64;for(var _0x51d51a=_0x270b63>0x1?void 0x0:_0x270b63?_0x148f12(_0x275232,_0x1264b8):_0x275232,_0xd14a8b=_0xcc357f[_0x2d282e(0x30f)]-0x1,_0x4b2997;_0xd14a8b>=0x0;_0xd14a8b--)(_0x4b2997=_0xcc357f[_0xd14a8b])&&(_0x51d51a=_0x4b2997(_0x51d51a)||_0x51d51a);return _0x51d51a;},_0xc033d9=(_0x487a18,_0x4a03d8)=>(_0x2e3648,_0x5aaba1)=>_0x4a03d8(_0x2e3648,_0x5aaba1,_0x487a18);let _0x25fdc2=class{constructor(_0x4f5417,_0x2a934e){const _0x58849b=_0x183e64;this[_0x58849b(0x257)]=_0x4f5417,this[_0x58849b(0x206)]=_0x2a934e;}[_0x183e64(0x312)](_0x40df06){const _0x3c808a=_0x183e64;var _0x3313f6;const _0x432b68=this[_0x3c808a(0x257)][_0x3c808a(0x33e)](_0x41648c[_0x3c808a(0x425)]),_0x368b5e=(_0x3313f6=_0x432b68[_0x3c808a(0x214)]())!=null?_0x3313f6:[];if(_0x368b5e[_0x3c808a(0x30f)]===0x0)return;const _0xfd0dcf=_0x40df06[_0x3c808a(0x434)],_0xd4ea05=[{'id':_0x3c808a(0x2c9),'params':{'unitId':_0xfd0dcf,'actions':null,'textRanges':_0x368b5e}}],_0xfaeb8b=this[_0x3c808a(0x206)][_0x3c808a(0x1be)](_0x40df06,_0xd4ea05);if(!_0x1f9909[_0x3c808a(0x2ea)](_0xfaeb8b))throw _0xfaeb8b[_0x3c808a(0x3f8)];const _0x52837d=_0xfaeb8b['m2Prime'][0x0][_0x3c808a(0x231)]['textRanges'];Array[_0x3c808a(0x1ef)](_0x52837d)&&_0x52837d[_0x3c808a(0x30f)]&&_0x432b68['replaceDocRanges'](_0x52837d,{'unitId':_0xfd0dcf,'subUnitId':_0xfd0dcf},!0x1);}};_0x25fdc2=_0x167b87([_0xc033d9(0x0,_0x50a9bf[_0x183e64(0x3a3)](_0x50a9bf[_0x183e64(0x1db)])),_0xc033d9(0x1,_0x1f9909[_0x183e64(0x3b2)])],_0x25fdc2);var _0x13a997=Object['getOwnPropertyDescriptor'],_0x3eda09=(_0x474616,_0x31b8f0,_0x465ccd,_0x1dffc8)=>{const _0x235b09=_0x183e64;for(var _0x3e6ec3=_0x1dffc8>0x1?void 0x0:_0x1dffc8?_0x13a997(_0x31b8f0,_0x465ccd):_0x31b8f0,_0x1e1574=_0x474616[_0x235b09(0x30f)]-0x1,_0x5669aa;_0x1e1574>=0x0;_0x1e1574--)(_0x5669aa=_0x474616[_0x1e1574])&&(_0x3e6ec3=_0x5669aa(_0x3e6ec3)||_0x3e6ec3);return _0x3e6ec3;},_0x12bab7=(_0x5efa55,_0x5d27a6)=>(_0x381813,_0x117c8f)=>_0x5d27a6(_0x381813,_0x117c8f,_0x5efa55);let _0x3308a2=class extends _0x50a9bf['Disposable']{constructor(_0x5a9a22,_0x3f88ad,_0x506522,_0x24538d,_0xf8ab0d,_0x151265,_0x401659,_0x576886){const _0x522405=_0x183e64;super(),_0x285378(this,'_status$',new _0x13bbb4['BehaviorSubject'](_0x17756c[_0x522405(0x361)][_0x522405(0x277)])),(this[_0x522405(0x3f1)]=_0x5a9a22,this['_collaborationController']=_0x3f88ad,this[_0x522405(0x39c)]=_0x506522,this['_docTransformStateCacheService']=_0x24538d,this['_docTransformSelectionsService']=_0xf8ab0d,this[_0x522405(0x38b)]=_0x151265,this[_0x522405(0x32e)]=_0x401659,this[_0x522405(0x35f)]=_0x576886,this[_0x522405(0x27a)]());}[_0x183e64(0x27a)](){const _0x137ea8=_0x183e64;this[_0x137ea8(0x212)](this['_collaborationController']['entityInit$'][_0x137ea8(0x2cf)](_0x54b3=>{const _0x3596e2=_0x137ea8,_0x234d52=this['_docStateChangeManagerService'][_0x3596e2(0x272)][_0x3596e2(0x2cf)](_0x415e8c=>{const _0x8c790c=_0x3596e2;if(_0x415e8c==null)return;const {unitId:_0x220e4c,redoState:_0x450a67,commandId:_0x4338d7}=_0x415e8c;if(_0x220e4c!==_0x54b3[_0x8c790c(0x434)])return;const _0x5b25d5={'id':_0x4338d7,'type':_0x50a9bf[_0x8c790c(0x344)]['MUTATION'],'params':{'unitId':_0x220e4c,'actions':_0x450a67[_0x8c790c(0x2b1)],'textRanges':null}};_0x54b3[_0x8c790c(0x3ac)](_0x5b25d5);});if(_0x54b3['disposeWithMe'](_0x234d52),_0x54b3 instanceof _0x17756c[_0x3596e2(0x3f7)]){const _0x513682={'onTransformIME':_0xbdd0a5=>this[_0x3596e2(0x39c)][_0x3596e2(0x20a)](_0xbdd0a5),'onTransformState':_0x4c1c63=>this[_0x3596e2(0x1ec)]['transformStateCache'](_0x4c1c63),'onTransformSelections':_0x1fc31c=>this[_0x3596e2(0x357)][_0x3596e2(0x312)](_0x1fc31c),'onSyncEditingCollabCursor':_0x3d6877=>this[_0x3596e2(0x38b)][_0x3596e2(0x2e6)](_0x3d6877),'onTransformRemoteChangesetByIMECache':_0x3596e3=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x3596e3),'onTransformRemoteChangesetByStateCache':_0x1ae3a3=>this[_0x3596e2(0x1ec)][_0x3596e2(0x420)](_0x1ae3a3)};_0x54b3['addHandlerCallback'](_0x513682);}}));}};_0x3308a2=_0x3eda09([_0x12bab7(0x0,_0x50a9bf['Inject'](_0x5af227[_0x183e64(0x1cf)])),_0x12bab7(0x1,_0x50a9bf[_0x183e64(0x3a3)](_0x17756c['CollaborationController'])),_0x12bab7(0x2,_0x50a9bf['Inject'](_0x21a9d9)),_0x12bab7(0x3,_0x50a9bf[_0x183e64(0x3a3)](_0x31cda2)),_0x12bab7(0x4,_0x50a9bf[_0x183e64(0x3a3)](_0x25fdc2)),_0x12bab7(0x5,_0x50a9bf[_0x183e64(0x3a3)](_0x2381af)),_0x12bab7(0x6,_0x1424a2[_0x183e64(0x41c)]),_0x12bab7(0x7,_0x50a9bf[_0x183e64(0x3a3)](_0x50a9bf['LocaleService']))],_0x3308a2);var _0x5d2089=Object[_0x183e64(0x233)],_0xb20c23=(_0x394593,_0x255dbf,_0x3d95f3,_0x5bb214)=>{const _0x5b206a=_0x183e64;for(var _0x478218=_0x5bb214>0x1?void 0x0:_0x5bb214?_0x5d2089(_0x255dbf,_0x3d95f3):_0x255dbf,_0x48d15e=_0x394593[_0x5b206a(0x30f)]-0x1,_0x1278fd;_0x48d15e>=0x0;_0x48d15e--)(_0x1278fd=_0x394593[_0x48d15e])&&(_0x478218=_0x1278fd(_0x478218)||_0x478218);return _0x478218;},_0x500e20=(_0x2eaac3,_0x25cb46)=>(_0x42eeac,_0x4e6752)=>_0x25cb46(_0x42eeac,_0x4e6752,_0x2eaac3);let _0x855410=class extends _0x50a9bf['Disposable']{constructor(_0x3dfe8b,_0x1df6da,_0x1d277b){const _0x413099=_0x183e64;super(),_0x285378(this,_0x413099(0x2ca),new Map()),_0x285378(this,_0x413099(0x288),new Map()),_0x285378(this,'_disabled',!0x1),(this[_0x413099(0x2b6)]=_0x3dfe8b,this[_0x413099(0x3da)]=_0x1df6da,this[_0x413099(0x22f)]=_0x1d277b);}[_0x183e64(0x30c)](){const _0x4df319=_0x183e64;this[_0x4df319(0x2d6)]=!0x0;}['enableLocalCache'](){const _0xc1de45=_0x183e64;this[_0xc1de45(0x2d6)]=!0x1;}get[_0x183e64(0x34e)](){const _0x147ec2=_0x183e64;return this[_0x147ec2(0x288)];}[_0x183e64(0x2a9)](){this['exhaustSavingTask']()['then'](()=>super['dispose']());}async[_0x183e64(0x3ad)](_0x517417){const _0x5a25c4=_0x183e64;return this['_disabled']?null:this[_0x5a25c4(0x3da)]['getItem'](_0x17756c[_0x5a25c4(0x1e5)](_0x517417));}async[_0x183e64(0x27c)](_0x519161,_0x427f76){const _0x34cfe2=_0x183e64;return!!this[_0x34cfe2(0x3da)]['setItem'](_0x519161,_0x427f76);}[_0x183e64(0x21e)](_0x55dec0,_0x1333a2,_0x2ff0cf,_0xa6058e){const _0x457e81=_0x183e64,_0xe6795c=this['_revisionService']['getCurrentRevOfUnit'](_0x55dec0);this[_0x457e81(0x2ca)]['set'](_0x55dec0,{'unitID':_0x55dec0,'type':_0x1333a2,'awaitingChangeset':_0x2ff0cf,'mutations':_0xa6058e,'rev':_0xe6795c}),this['_saveTaskMap']['has'](_0x55dec0)||this['_scheduleSaving'](_0x55dec0);}[_0x183e64(0x441)](_0x137df2){const _0x5d382e=_0x183e64,_0x3b32aa=this[_0x5d382e(0x1c6)]();_0x3b32aa===0x0?this[_0x5d382e(0x339)](_0x137df2):this[_0x5d382e(0x288)]['set'](_0x137df2,setTimeout(()=>this['_saveCache'](_0x137df2),_0x3b32aa));}[_0x183e64(0x1c6)](){const _0x27c7c9=_0x183e64;var _0x1c32ad;return(_0x1c32ad=this[_0x27c7c9(0x2b6)][_0x27c7c9(0x2ab)](_0x17756c[_0x27c7c9(0x1df)]))!=null?_0x1c32ad:_0x17756c[_0x27c7c9(0x373)];}[_0x183e64(0x339)](_0x4b222e){const _0x3cb1b4=_0x183e64,_0x5c23f4=this['_saveTaskMap'][_0x3cb1b4(0x33e)](_0x4b222e);return _0x5c23f4!==void 0x0&&window[_0x3cb1b4(0x2a6)](_0x5c23f4),this[_0x3cb1b4(0x3da)][_0x3cb1b4(0x1b4)](_0x17756c['getLocalCacheKey'](_0x4b222e),this[_0x3cb1b4(0x2ca)]['get'](_0x4b222e))[_0x3cb1b4(0x345)](()=>this[_0x3cb1b4(0x288)][_0x3cb1b4(0x20e)](_0x4b222e));}async['exhaustSavingTask'](){const _0x4ef9af=[];this['_saveTaskMap']['forEach']((_0x2cec88,_0x7bce10)=>{const _0x598aa2=_0x5179;window['clearTimeout'](_0x2cec88),_0x4ef9af[_0x598aa2(0x379)](this[_0x598aa2(0x339)](_0x7bce10)[_0x598aa2(0x345)](()=>{const _0x572894=_0x598aa2;this[_0x572894(0x288)][_0x572894(0x20e)](_0x7bce10);}));}),await Promise['all'](_0x4ef9af);}};_0x855410=_0xb20c23([_0x500e20(0x0,_0x50a9bf[_0x183e64(0x2d7)]),_0x500e20(0x1,_0x50a9bf[_0x183e64(0x2c4)]),_0x500e20(0x2,_0x50a9bf['Inject'](_0x1f9909['RevisionService']))],_0x855410);class _0x510b3d extends _0x50a9bf[_0x183e64(0x1bc)]{constructor(){const _0x429f09=_0x183e64;super(),_0x285378(this,_0x429f09(0x3f6)),this['urlChange$']=_0x13bbb4[_0x429f09(0x2e4)](window,_0x429f09(0x3e7))[_0x429f09(0x286)](_0x13bbb4[_0x429f09(0x1d4)](this['dispose$']),_0x13bbb4[_0x429f09(0x243)](0x1),_0x13bbb4['mapTo'](void 0x0));}[_0x183e64(0x319)](_0x5f25de,_0x4020ed,_0x38f84f=!0x1){const _0x5a23d9=_0x183e64,_0x172af6=new URL(window[_0x5a23d9(0x22c)][_0x5a23d9(0x325)]);_0x172af6[_0x5a23d9(0x41d)][_0x5a23d9(0x35e)](_0x5f25de,_0x4020ed),_0x38f84f?window[_0x5a23d9(0x2ef)][_0x5a23d9(0x1ee)]('','',_0x172af6[_0x5a23d9(0x326)]()):window['history'][_0x5a23d9(0x362)]('','',_0x172af6[_0x5a23d9(0x326)]());}[_0x183e64(0x375)](_0x683aef,_0x4672a0=!0x1){const _0x3a0496=_0x183e64,_0x1fe521=new URL(window[_0x3a0496(0x22c)]['href']);_0x1fe521[_0x3a0496(0x41d)]['delete'](_0x683aef),_0x4672a0?window['history'][_0x3a0496(0x1ee)]('','',_0x1fe521[_0x3a0496(0x326)]()):window[_0x3a0496(0x2ef)]['pushState']('','',_0x1fe521['toString']());}['getParam'](_0x914f4c){const _0x379df3=_0x183e64;var _0x49c478;return(_0x49c478=new URL(window[_0x379df3(0x22c)]['href'])['searchParams']['get'](_0x914f4c))!=null?_0x49c478:void 0x0;}}var _0x2b64a0=Object[_0x183e64(0x278)],_0x2f5ed4=Object[_0x183e64(0x233)],_0x462693=(_0x337d9b,_0x13d667,_0x13d24f)=>_0x13d667 in _0x337d9b?_0x2b64a0(_0x337d9b,_0x13d667,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13d24f}):_0x337d9b[_0x13d667]=_0x13d24f,_0x446fe1=(_0x3a25bb,_0x147b0c,_0x19d24b,_0x4bcbd2)=>{const _0x56a3b8=_0x183e64;for(var _0x4b9df5=_0x4bcbd2>0x1?void 0x0:_0x4bcbd2?_0x2f5ed4(_0x147b0c,_0x19d24b):_0x147b0c,_0x5bec5c=_0x3a25bb[_0x56a3b8(0x30f)]-0x1,_0x1dfe44;_0x5bec5c>=0x0;_0x5bec5c--)(_0x1dfe44=_0x3a25bb[_0x5bec5c])&&(_0x4b9df5=_0x1dfe44(_0x4b9df5)||_0x4b9df5);return _0x4b9df5;},_0x1e08d5=(_0x4c7fcd,_0x4f8e67)=>(_0x576826,_0xc66a87)=>_0x4f8e67(_0x576826,_0xc66a87,_0x4c7fcd),_0x1f7f08=(_0xc2b6d,_0x560948,_0x597b57)=>_0x462693(_0xc2b6d,_0x560948+'',_0x597b57);const _0x4a1693=_0x183e64(0x3e3);_0x46927c[_0x183e64(0x1f7)]=class extends _0x50a9bf['Plugin']{constructor(_0x30266d=_0x5cc2d5,_0x3941c3,_0x424eb2,_0x1b7899){const _0x3628c9=_0x183e64;super(),this[_0x3628c9(0x24c)]=_0x30266d,this[_0x3628c9(0x3d5)]=_0x3941c3,this[_0x3628c9(0x257)]=_0x424eb2,this[_0x3628c9(0x2b6)]=_0x1b7899;const {..._0x2244a5}=_0x50a9bf[_0x3628c9(0x3a1)]({},_0x5cc2d5,this['_config']);this[_0x3628c9(0x2b6)][_0x3628c9(0x2bf)](_0x155136,_0x2244a5);}[_0x183e64(0x298)](){const _0x100325=_0x183e64;this['_registerDependencies'](),this[_0x100325(0x211)]();}[_0x183e64(0x26b)](){const _0x5892a2=_0x183e64;this[_0x5892a2(0x280)]();}[_0x183e64(0x438)](){const _0x4a1d2c=_0x183e64;var _0x19adf1;const _0x343888=[[_0x5ead00],[_0x25fdc2],[_0x21a9d9],[_0x31cda2],[_0x2381af],[_0x345468,{'useClass':_0x510b3d}],[_0x5f50a3['ISocketService'],{'useClass':_0x5f50a3[_0x4a1d2c(0x347)]}],[_0x17756c[_0x4a1d2c(0x200)],{'useClass':_0x855410}],[_0x46927c['DesktopCollaborationStatusDisplayController']],[_0x3308a2],[_0x210a39],[_0x1cd7b4],[_0x283ca8],[_0x46927c[_0x4a1d2c(0x28b)]]];_0x50a9bf['registerDependencies'](this[_0x4a1d2c(0x257)],_0x50a9bf[_0x4a1d2c(0x3cf)](_0x343888,(_0x19adf1=this[_0x4a1d2c(0x24c)])==null?void 0x0:_0x19adf1[_0x4a1d2c(0x21b)]));}[_0x183e64(0x280)](){const _0x5cb356=_0x183e64;this[_0x5cb356(0x212)](this[_0x5cb356(0x3d5)][_0x5cb356(0x343)](_0x50a9bf[_0x5cb356(0x2f2)][_0x5cb356(0x29c)],[_0x445be5])),this[_0x5cb356(0x212)](this[_0x5cb356(0x3d5)][_0x5cb356(0x343)](_0x50a9bf[_0x5cb356(0x2f2)][_0x5cb356(0x36a)],[_0x3b4b11]));}['_initDependencies'](){const _0x1bac06=_0x183e64;_0x50a9bf[_0x1bac06(0x1cb)](this[_0x1bac06(0x257)],[[_0x1cd7b4],[_0x46927c[_0x1bac06(0x1b5)]],[_0x3308a2],[_0x210a39],[_0x46927c['CollaborationDataLoaderController']]]);}},_0x1f7f08(_0x46927c['UniverCollaborationClientUIPlugin'],'pluginName',_0x4a1693),_0x46927c[_0x183e64(0x1f7)]=_0x446fe1([_0x50a9bf[_0x183e64(0x2ba)](_0x17756c[_0x183e64(0x3b5)]),_0x1e08d5(0x1,_0x31c6c6['IRenderManagerService']),_0x1e08d5(0x2,_0x50a9bf[_0x183e64(0x3a3)](_0x50a9bf[_0x183e64(0x1db)])),_0x1e08d5(0x3,_0x50a9bf[_0x183e64(0x2d7)])],_0x46927c[_0x183e64(0x1f7)]);var _0x345b28=Object[_0x183e64(0x233)],_0x1cabc5=(_0x28be31,_0x2f300d,_0x3199f8,_0x53cdc3)=>{const _0x36bcda=_0x183e64;for(var _0x5d0148=_0x53cdc3>0x1?void 0x0:_0x53cdc3?_0x345b28(_0x2f300d,_0x3199f8):_0x2f300d,_0x42dcd6=_0x28be31[_0x36bcda(0x30f)]-0x1,_0x4b25cc;_0x42dcd6>=0x0;_0x42dcd6--)(_0x4b25cc=_0x28be31[_0x42dcd6])&&(_0x5d0148=_0x4b25cc(_0x5d0148)||_0x5d0148);return _0x5d0148;},_0x17b2ec=(_0x579cc1,_0x2ce19c)=>(_0x32dc0b,_0x54d798)=>_0x2ce19c(_0x32dc0b,_0x54d798,_0x579cc1);_0x46927c[_0x183e64(0x386)]=class extends _0x17756c['CollaborationSocketService']{constructor(_0x28d6d1,_0x4e9147,_0xdeacaa,_0x1323d6,_0x39e458){super(_0x28d6d1,_0x4e9147,_0xdeacaa,_0x1323d6,_0x39e458);}async[_0x183e64(0x2fe)](_0x5d5319){const _0x519375=_0x183e64,_0x198e89=await this[_0x519375(0x210)](),_0x3a75e7=this[_0x519375(0x21f)](_0x5d5319,_0x198e89);return this[_0x519375(0x382)](_0x3a75e7);}[_0x183e64(0x21f)](_0x4995b7,_0x280008){const _0x589ff4=_0x183e64,_0x1cf66b=typeof window>'u'?new URL(_0x4995b7):new URL(_0x4995b7,window[_0x589ff4(0x22c)][_0x589ff4(0x396)]);_0x1cf66b['searchParams'][_0x589ff4(0x35e)](_0x589ff4(0x24b),_0x280008);const _0x221d53=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x589ff4(0x22c)][_0x589ff4(0x410)]);return _0x221d53[_0x589ff4(0x33e)](_0x589ff4(0x25f))&&_0x1cf66b['searchParams'][_0x589ff4(0x35e)](_0x589ff4(0x25f),_0x221d53[_0x589ff4(0x33e)](_0x589ff4(0x25f))),_0x1cf66b['toString']();}async[_0x183e64(0x210)](){const _0x410212=_0x183e64;var _0x5d976d,_0x238fb7,_0x52936b;const _0x28a8ad=this[_0x410212(0x2b6)][_0x410212(0x2ab)](_0x17756c['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x49cfd2=(_0x5d976d=_0x28a8ad==null?void 0x0:_0x28a8ad['wsSessionTicketUrl'])!=null?_0x5d976d:_0x17756c[_0x410212(0x358)];return(_0x52936b=(_0x238fb7=(await this[_0x410212(0x1bf)][_0x410212(0x33e)](_0x49cfd2,{'headers':{'Content-Type':_0x410212(0x1f1)}}))[_0x410212(0x1fc)])==null?void 0x0:_0x238fb7['ticket'])!=null?_0x52936b:'';}},_0x46927c['BrowserCollaborationSocketService']=_0x1cabc5([_0x17b2ec(0x0,_0x50a9bf[_0x183e64(0x3a3)](_0x50a9bf['Injector'])),_0x17b2ec(0x1,_0x50a9bf[_0x183e64(0x3a3)](_0x5f50a3['HTTPService'])),_0x17b2ec(0x2,_0x50a9bf[_0x183e64(0x2d7)]),_0x17b2ec(0x3,_0x50a9bf[_0x183e64(0x1bb)]),_0x17b2ec(0x4,_0x1f9909['ISnapshotServerService'])],_0x46927c[_0x183e64(0x386)]);const _0x142ca7=0x7530,_0x1468b1='ACTIVE_UNIT_EVENT_CHANNEL';class _0x3d67be extends _0x50a9bf[_0x183e64(0x400)]{constructor(){const _0x3aa5f8=_0x183e64;super(),_0x285378(this,'_id',_0x50a9bf[_0x3aa5f8(0x36b)]()),_0x285378(this,_0x3aa5f8(0x29f),new Set()),_0x285378(this,_0x3aa5f8(0x389),new Map()),_0x285378(this,'_heartbeatTimer',null),_0x285378(this,_0x3aa5f8(0x43b),new Map()),_0x285378(this,_0x3aa5f8(0x23a),new Map()),this[_0x3aa5f8(0x273)]();}['dispose'](){const _0x3ef80b=_0x183e64;super[_0x3ef80b(0x2a9)](),this[_0x3ef80b(0x43b)][_0x3ef80b(0x32a)]((_0x8793f1,_0x4d9397)=>this[_0x3ef80b(0x369)](_0x4d9397)),this[_0x3ef80b(0x3a5)]&&window[_0x3ef80b(0x342)](this[_0x3ef80b(0x3a5)]);}[_0x183e64(0x3e0)](_0x454a06){const _0x53fd9c=_0x183e64;return this[_0x53fd9c(0x37c)](_0x454a06)[_0x53fd9c(0x286)](_0x13bbb4[_0x53fd9c(0x330)]());}[_0x183e64(0x2f8)](_0x525064){const _0x5514ab=_0x183e64;this[_0x5514ab(0x29f)][_0x5514ab(0x350)]===0x0&&this[_0x5514ab(0x35a)](),this[_0x5514ab(0x29f)][_0x5514ab(0x383)](_0x525064),this[_0x5514ab(0x23b)]({'type':0x0,'memberID':this[_0x5514ab(0x30a)],'unitIDs':[_0x525064],'isForwarded':!0x1});}[_0x183e64(0x3fd)](_0x4d5c8f){const _0x12bf86=_0x183e64;this[_0x12bf86(0x29f)][_0x12bf86(0x20e)](_0x4d5c8f),this[_0x12bf86(0x29f)][_0x12bf86(0x350)]===0x0&&this[_0x12bf86(0x3a5)]&&window[_0x12bf86(0x342)](this[_0x12bf86(0x3a5)]);}[_0x183e64(0x273)](){const _0x1defe7=_0x183e64;this[_0x1defe7(0x212)](_0x50a9bf['toDisposable'](_0x13bbb4[_0x1defe7(0x2e4)](window,_0x1defe7(0x39a))[_0x1defe7(0x2cf)](_0x2ccb6f=>{const _0x525ce1=_0x1defe7;if(_0x2ccb6f[_0x525ce1(0x3bf)]!==_0x1468b1||!_0x2ccb6f['newValue'])return;const _0x472f08=JSON[_0x525ce1(0x368)](_0x2ccb6f['newValue']);this['_handleEvent'](_0x472f08);}))),window[_0x1defe7(0x249)]('unload',()=>this[_0x1defe7(0x23b)]({'type':0x1,'memberID':this[_0x1defe7(0x30a)],'unitIDs':Array[_0x1defe7(0x2a8)](this[_0x1defe7(0x29f)])}));}[_0x183e64(0x328)](_0x48bd20){const _0x24e3e7=_0x183e64;switch(_0x48bd20['type']){case 0x0:this['_handleJoinEvent'](_0x48bd20);break;case 0x1:this['_handleLeaveEvent'](_0x48bd20);break;case 0x2:this[_0x24e3e7(0x259)](_0x48bd20);break;}}['_handleJoinEvent'](_0x176894){const _0x17bc66=_0x183e64,{unitIDs:_0x20d5b0,memberID:_0x2bd138,isForwarded:_0x30b248}=_0x176894;_0x20d5b0['forEach'](_0x9d89c=>{const _0x35382d=_0x5179;if(!_0x30b248&&this[_0x35382d(0x389)][_0x35382d(0x2db)](_0x9d89c)&&this['_ensureSubject'](_0x9d89c)[_0x35382d(0x221)](_0x17756c[_0x35382d(0x332)]['OTHER_CLIENTS_EDITING']),!this['_unitOnClients'][_0x35382d(0x2db)](_0x9d89c)||!this[_0x35382d(0x389)][_0x35382d(0x33e)](_0x9d89c)[_0x35382d(0x2db)](_0x2bd138)){const _0x38b86d=this[_0x35382d(0x389)][_0x35382d(0x33e)](_0x9d89c)||new Set();_0x38b86d[_0x35382d(0x383)](_0x2bd138),this['_unitOnClients'][_0x35382d(0x35e)](_0x9d89c,_0x38b86d),this[_0x35382d(0x349)](_0x2bd138);}}),_0x30b248||this[_0x17bc66(0x23b)]({'type':0x0,'memberID':this[_0x17bc66(0x30a)],'unitIDs':[...this[_0x17bc66(0x29f)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x2c18fb){const _0x19d163=_0x183e64;this[_0x19d163(0x369)](_0x2c18fb);const _0x52de90=window['setTimeout'](()=>{const _0x551244=_0x19d163;this[_0x551244(0x389)][_0x551244(0x32a)](_0x31241a=>{_0x31241a['delete'](_0x2c18fb);});},_0x142ca7*0x2);this[_0x19d163(0x43b)][_0x19d163(0x35e)](_0x2c18fb,_0x52de90);}['_removeClearOtherTimer'](_0x21468a){const _0x38a5ce=_0x183e64;if(this['_clearOtherTimers']['has'](_0x21468a)){const _0x330d37=this['_clearOtherTimers'][_0x38a5ce(0x33e)](_0x21468a);_0x330d37&&window[_0x38a5ce(0x2a6)](_0x330d37),this[_0x38a5ce(0x43b)][_0x38a5ce(0x35e)](_0x21468a,null);}}[_0x183e64(0x35b)](_0x2b9e99){const _0x33bba5=_0x183e64,{memberID:_0x4629ba,unitIDs:_0x99c253}=_0x2b9e99;_0x99c253[_0x33bba5(0x32a)](_0x409734=>{const _0x92e49a=_0x33bba5;var _0x50f26a;const _0x2fccd7=this[_0x92e49a(0x389)]['get'](_0x409734);_0x2fccd7&&(_0x2fccd7[_0x92e49a(0x20e)](_0x4629ba),(_0x50f26a=this[_0x92e49a(0x37c)](_0x409734))==null||_0x50f26a[_0x92e49a(0x221)](_0x2fccd7['size']===0x0?_0x17756c['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x17756c[_0x92e49a(0x332)][_0x92e49a(0x3fa)]));}),this['_removeClearOtherTimer'](_0x4629ba);}['_handleHeartbeatEvent'](_0x3707ce){const _0x54e373=_0x183e64;this[_0x54e373(0x349)](_0x3707ce['memberID']);}[_0x183e64(0x23b)](_0x4c134a){const _0x54b86b=_0x183e64;localStorage[_0x54b86b(0x1b4)](_0x1468b1,JSON['stringify'](_0x4c134a));}['_scheduleHeartbeat'](){const _0x11de29=_0x183e64;this[_0x11de29(0x3a5)]=window[_0x11de29(0x28d)](()=>{this['_send']({'type':0x2,'memberID':this['_id']});},_0x142ca7);}['_ensureSubject'](_0x237b09){const _0x216e5d=_0x183e64;return this[_0x216e5d(0x23a)][_0x216e5d(0x2db)](_0x237b09)||this[_0x216e5d(0x23a)][_0x216e5d(0x35e)](_0x237b09,new _0x13bbb4[(_0x216e5d(0x419))](_0x17756c[_0x216e5d(0x332)][_0x216e5d(0x25a)])),this[_0x216e5d(0x23a)]['get'](_0x237b09);}}var _0xb683e5=(_0x371810=>(_0x371810[_0x371810[_0x183e64(0x2c3)]=0x0]=_0x183e64(0x2c3),_0x371810[_0x371810['OK']=0x1]='OK',_0x371810[_0x371810['INTERNAL_ERROR']=0x2]=_0x183e64(0x42e),_0x371810[_0x371810[_0x183e64(0x378)]=0x3]='PERMISSION_DENIED',_0x371810[_0x371810[_0x183e64(0x2aa)]=0x4]=_0x183e64(0x2aa),_0x371810[_0x371810['UNAUTHENTICATED']=0x5]=_0x183e64(0x34f),_0x371810[_0x371810[_0x183e64(0x40e)]=0x6]=_0x183e64(0x40e),_0x371810[_0x371810['INVALID_ARGUMENT']=0x7]=_0x183e64(0x335),_0x371810[_0x371810['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x371810[_0x371810['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x371810[_0x371810[_0x183e64(0x3bb)]=0xa]=_0x183e64(0x3bb),_0x371810[_0x371810[_0x183e64(0x360)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x371810[_0x371810[_0x183e64(0x2b5)]=0x1771]=_0x183e64(0x2b5),_0x371810[_0x371810[_0x183e64(0x2fd)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x371810[_0x371810[_0x183e64(0x1b9)]=0x1773]=_0x183e64(0x1b9),_0x371810[_0x371810[_0x183e64(0x309)]=0x1b59]='APPLY_REJECT',_0x371810[_0x371810[_0x183e64(0x31d)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x371810[_0x371810[_0x183e64(0x26e)]=0x1b5b]=_0x183e64(0x26e),_0x371810[_0x371810['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x183e64(0x252),_0x371810[_0x371810[_0x183e64(0x20f)]=0x1b5d]=_0x183e64(0x20f),_0x371810[_0x371810[_0x183e64(0x22e)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x371810[_0x371810[_0x183e64(0x294)]=0x2329]=_0x183e64(0x294),_0x371810[_0x371810[_0x183e64(0x41b)]=0x232a]=_0x183e64(0x41b),_0x371810[_0x371810['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x371810[_0x371810[_0x183e64(0x21c)]=0x232c]=_0x183e64(0x21c),_0x371810[_0x371810[_0x183e64(0x35d)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x371810[_0x371810['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x183e64(0x2c5),_0x371810[_0x371810['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x183e64(0x403),_0x371810[_0x371810['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x183e64(0x28a),_0x371810[_0x371810[_0x183e64(0x254)]=0x2714]=_0x183e64(0x254),_0x371810[_0x371810[_0x183e64(0x208)]=0x271a]=_0x183e64(0x208),_0x371810[_0x371810['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x183e64(0x255),_0x371810[_0x371810['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x183e64(0x27d),_0x371810[_0x371810[_0x183e64(0x26f)]=0x271d]='YUUMI_ALL_TABLES_IS_INVALID',_0x371810[_0x371810['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x183e64(0x3e9),_0x371810[_0x371810[_0x183e64(0x409)]=0x271f]=_0x183e64(0x409),_0x371810[_0x371810[_0x183e64(0x2eb)]=0x2af9]=_0x183e64(0x2eb),_0x371810[_0x371810[_0x183e64(0x31c)]=0x2ee1]=_0x183e64(0x31c),_0x371810[_0x371810[_0x183e64(0x372)]=0x2ee2]=_0x183e64(0x372),_0x371810[_0x371810['INVITE_CODE_REQUIRED']=0x2ee3]=_0x183e64(0x406),_0x371810[_0x371810[_0x183e64(0x239)]=0x2ee4]=_0x183e64(0x239),_0x371810[_0x371810[_0x183e64(0x1c4)]=0x2ee5]=_0x183e64(0x1c4),_0x371810[_0x371810['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x183e64(0x248),_0x371810[_0x371810[_0x183e64(0x3fe)]=0x32ca]=_0x183e64(0x3fe),_0x371810[_0x371810[_0x183e64(0x371)]=0x32cb]=_0x183e64(0x371),_0x371810[_0x371810[_0x183e64(0x20d)]=-0x1]='UNRECOGNIZED',_0x371810))(_0xb683e5||{}),_0x47180c=Object[_0x183e64(0x233)],_0x3e747b=(_0x1add52,_0x21d189,_0x174b32,_0xfd8f9a)=>{const _0x40da43=_0x183e64;for(var _0x3f0587=_0xfd8f9a>0x1?void 0x0:_0xfd8f9a?_0x47180c(_0x21d189,_0x174b32):_0x21d189,_0x53b064=_0x1add52[_0x40da43(0x30f)]-0x1,_0x1ea430;_0x53b064>=0x0;_0x53b064--)(_0x1ea430=_0x1add52[_0x53b064])&&(_0x3f0587=_0x1ea430(_0x3f0587)||_0x3f0587);return _0x3f0587;},_0x3e1420=(_0xa3369c,_0x40a69f)=>(_0x2f43b6,_0x40868c)=>_0x40a69f(_0x2f43b6,_0x40868c,_0xa3369c);_0x46927c[_0x183e64(0x300)]=class extends _0x50a9bf[_0x183e64(0x400)]{constructor(_0x4c8d41,_0x1aaafb,_0x4e4a01){const _0x45e544=_0x183e64;super(),this[_0x45e544(0x251)]=_0x4c8d41,this[_0x45e544(0x1bf)]=_0x1aaafb,this[_0x45e544(0x2b6)]=_0x4e4a01;}async[_0x183e64(0x238)](_0x4a24ec,_0x10ed60,_0x5dd534,..._0x5d778b){const _0x4e3162=_0x183e64;var _0x525a4b,_0x4e8d95,_0x2631e1,_0x50428a;const _0x130638=this[_0x4e3162(0x251)][_0x4e3162(0x390)]();if(!_0x130638)throw new Error(_0x4e3162(0x3b7));const _0xd47c96=((_0x525a4b=this[_0x4e3162(0x2b6)][_0x4e3162(0x2ab)](_0x17756c[_0x4e3162(0x1e6)]))!=null?_0x525a4b:_0x17756c[_0x4e3162(0x395)])+'/'+_0x4a24ec+'/run/'+_0x10ed60,_0x3c63e4=new URL(window['location'][_0x4e3162(0x325)]),_0x4c57d6={'scriptId':_0x4a24ec,'runId':(_0x4e8d95=_0x3c63e4[_0x4e3162(0x41d)][_0x4e3162(0x33e)]('runId'))!=null?_0x4e8d95:'','function':_0x10ed60,'unitId':_0x130638[_0x4e3162(0x3d4)](),'argsOfFunction':JSON['stringify'](_0x5d778b),'invokeId':(_0x2631e1=_0x5dd534[_0x4e3162(0x270)])!=null?_0x2631e1:'','executionId':(_0x50428a=_0x5dd534[_0x4e3162(0x3c6)])!=null?_0x50428a:''};try{const _0x4cc713=await this['_httpService'][_0x4e3162(0x2e9)](_0xd47c96,{'body':_0x4c57d6});return _0x4cc713[_0x4e3162(0x1fc)]['error']&&_0x4cc713[_0x4e3162(0x1fc)][_0x4e3162(0x3f8)][_0x4e3162(0x1b8)]!==_0xb683e5['OK']?_0x4e3162(0x1cd):_0x4cc713[_0x4e3162(0x1fc)][_0x4e3162(0x2b9)];}catch{return _0x4e3162(0x1cd);}}},_0x46927c[_0x183e64(0x300)]=_0x3e747b([_0x3e1420(0x0,_0x50a9bf[_0x183e64(0x3b0)]),_0x3e1420(0x1,_0x50a9bf[_0x183e64(0x3a3)](_0x5f50a3[_0x183e64(0x435)])),_0x3e1420(0x2,_0x50a9bf['IConfigService'])],_0x46927c[_0x183e64(0x300)]),_0x46927c[_0x183e64(0x39e)]=_0x14ac81,_0x46927c[_0x183e64(0x207)]=_0x345468,_0x46927c[_0x183e64(0x246)]=_0x48c5c3,_0x46927c['WebBrowserSingleActiveUnitService']=_0x3d67be,_0x46927c[_0x183e64(0x3ee)]=_0x510b3d,Object[_0x183e64(0x278)](_0x46927c,Symbol['toStringTag'],{'value':_0x183e64(0x392)});}));