@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202505301607 → 0.8.0-nightly.202506011606

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 _0x31bb(){const _0x10a94e=['currentColor','_startSheetCollabCursor','ThemeService','green.600','length','0\x200\x2017\x2016','tag','entityInit$','_document','_unitStatus','LICENSE_MAX_UNITS_EXCEEDED','getCurrentRevOfUnit','@univerjs/engine-render','saveOfflineData','labelPosition','getConfig','LICENSE_EXPORT_SIZE_EXCEEDED','getUniverSheetInstance','serializeRangeWithSheet','INVALID_ARGUMENT','complete','_startDocCollabCursor','setStateCache','univer-flex\x20univer-mr-2\x20univer-text-xl','disposeUnit','IUniverInstanceService','RefRangeService','_clearOtherTimers','TEXT_RANGE_LAYER_INDEX','LocaleService','SYNCED','from','collabStatus.offline','fromEvent','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_unitOnClients','_id','closePath','MoveRangeCommandId','forwardRef','_handleLeaveEvent','TEXT','cursorInfo','getMemberID','NO_OTHER_CLIENTS_EDITING','findNodePositionByCharIndex','_range','collaboration.single-unit.warning','_labelPosition','68176YFUiDk','children','InsertRowCommandId','DataLoaderService','transformMutationsWithChangeset','_refreshCollabCursors','useDependency','@univerjs/sheets-ui','_textBubble','mapTo','ILogService','with','_status$','@univerjs/engine-formula','IRenderManagerService','width','UniverProCollaborationClientUi','_initEntityListener','registerDependencies','getParam','handleDeleteRangeMoveLeft','APPLY_REJECT','_drawAnchor','_ensureSubject','@univerjs/rpc','round','INVITE_CODE_ALREADY_BOUND','_initStatusListener','getViewport','on-line-icon_clip0_910_349','SOCKET_FAILED','ISnapshotServerService','_transformUndoRedoStack','collab-text-anchor-','urlChange$','_refRangeService','RECT','fillStyle','InsertRangeMoveDownCommandId','_scheduleHeartbeat','registerRefRange','_disabled','deserializeRangeWithSheet','range','getActiveSheet','unit','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_revisionService','CHANGESET_REVISION_CONFILICT','getSheetId','_assignedColors','3931038aSYlrp','getDocRanges','LICENSE_DISTRO_REJECTED','_colorIndex','getCurrent','UniverEngineRender','_memberService','CollaborationUIEventId','USERS_LEAVE','#FFF','init','_color','clipPath','UniverProCollaboration','application/json','_shapes','touchDependencies','code','row','_hideTimer','RemoteUniscriptService','rxjs/operators','apply','toStringTag','transformRemoteChangeset','blue.400','_saveTaskMap','_dataLoaderService','substring','CollaborationUIEventService','IRemoteInstanceService','153TCQGAh','YUUMI_SUBSCRIPTION_NOT_FOUND','_transformService','DesktopCollaborationStatusDisplayController','onStarting','ONLINE','toRgbString','UniverDocs','ILocalCacheService','UniverCore','concat','_lastPointer','...','collab-client.tooltip.reconnect','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_instanceService','EffectRefRangId','@univerjs/sheets','_docStateChangeManagerService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','NOT_FOUND','YUUMI_TABLE_NOT_FOUND_IN_UNIT','handleInsertRangeMoveRight','stringify','className','ISocketService','_anchor','CONFLICT','source','subunit','getCellPositionByOffset','setParam','function','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_updateLocalCursor','operators','name','AWAITING','requireSession','_doCreateSocket','measureText','lineTo','univerjs-icon\x20univerjs-icon-','INVALID_INVITE_CODE','toDisposable','Warning','Tools','ITransformService','getRelativeToViewportCoord','invokeId','UniverRpc','getUnitId','_hovered','mergeOverrideWithDependencies','20aBsTJi','@univerjs-pro/collaboration','fillText','SNAPSHOT_HAS_BEEN_REMOVED','includes','takeUntil','UniverInstanceType','focused$','CollaborationSessionService','override','CONNECTOR_DATA_TOO_LARGE','SheetSkeletonManagerService','some','has','React','_cursors','ENSURE_SNAPSHOT_EXECUTION','_syncEditingCollabCursorService','_heartbeatTimer','_urlService','SOCKET_FAILED_RETRY','currentTheme$','_transformPreviousActiveRange','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','loadOfflineData','clsx','IMessageService','path','data','WebURLService','_setupBeforeClosingHandler','BehaviorSubject','_docTransformStateCacheService','_cursorInfo$','_univerInstanceService','imageSourceType','colorChannel1','collaboration-client-ui.config','use','YUUMI_UNABLE_LOAD_URL','_entities','getValue','LOGIN_FAILED','3325629EmVyKR','14244550VaBiCk','_httpService','getMergeData','location','WebBrowserSingleActiveUnitService','@univerjs-pro/collaboration-client','href','_eventUnsubscribe','_name','_docTransformSelectionsService','UNIVER_SHEET','_collaborationController','current','status$','subscribeEvent','_initEvent','_themeService','pipe','unitId','syncEditingCollabCursor','cursorInfo$','SheetCollabCursorShape','result','height','getCoordByCell','_imageIoService','UNAUTHENTICATED','debug','univer-flex\x20univer-items-center','IURLService','connectInjector','WECHAT_HAS_BEEN_BOUND','pluginName','setItem','_init','_commandService','_onCursorDelete','dispose','bottom','black','transformIMECache','mask','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','TOO_MANY_REQUESTS','unshift','COLORS','_entityInit$','redoState','PERMISSION_DENIED','OFFLINE','NodePositionConvertToRectRange','_logService','_toggleOnline','_config','_updateSubUnitFromURLParams','BrowserCollaborationSocketService','HTTPService','addClipboardHook','switchMap','getFocusedUnit','getActiveRange','getSheetBySheetId','RemoveColCommandId','executionId','JOIN_ROOM_FAILED','UNIVER_DOC','collabStatus.syncing','_setupSubUnitSync','yellow.400','flatMap','getAncestorScale','UNDEFINED','fromEventSubject','Optional','APPLY_REVISION_CONFILICT','_cursorShapes','m2Prime','MemberService','searchParams','forEach','_handleEvent','UniverDesign','off-line-icon_clip0_910_343','handleDeleteRangeMoveUp','IBeforeCloseService','all','_render','clearInterval','RegularPolygon','SetSelectionsOperation','148890wQHtmw','DOC_RANGE_TYPE','addHandlerCallback','[CollaborationDataLoaderController]','http://www.w3.org/2000/svg','currentSkeleton$','newValue','Rect','unitID','getUndoRedoMutationParamsCache','UniverNetwork','_collabCursorState$','contains','HEADER_MENU','_renderManagerService','DisposableCollection','jsx','on-line-icon','push','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','isTransformMutationsWithChangesetSuccess','@univerjs/core','min','UniverEngineFormula','endColumn','registerRenderModule','toString','_docClipboardService','collab-text-range-','split','subUnitId','UPDATE_CURSOR','addObjects','WebSocketService','CollaborationController','IDocClipboardService','_handleHover','debounce','div','getStateCache','ACTIVE_UNIT_EVENT_CHANNEL','_drawTextRange','handleInsertCol','_selfUnitIDs','call','Disposable','arc','/run/','setTimeout','OTHER_CLIENTS_EDITING','0\x200\x2016\x2016','error','object','_injector','setUndoRedoMutationParamsCache','_removeClearOtherTimer','Subject','_getAnchorBounding','OTHER_CLIENT_EDITING','hovered','replace','SetWorksheetActivateCommand','Injector','_docSkeletonManagerService','m1Prime','drawWith','mutations','UniverUi','_session','next','distinctUntilChanged','url(#$1','setShapeProps','transformMutation','updateOfflineData','deepClone','combineLatest','_colorAssignService','OnLineIcon','backgroundColor','createElement','VIEW_MAIN','ticket','getSheetObject','LICENSE_IMPORT_SIZE_EXCEEDED','handleMoveRange','getItem','ILocalStorageService','YUUMI_RATE_OVER_LIMIT','RxDisposable','filter','_messageService','getTypeOfUnitAdded$','_saveCache','Shape','values','_notificationService','UNRECOGNIZED','_online','_scheduleClearOtherTimer','_configService','registerBeforeClose','YUUMI_AI_RUN_FAILED','docStateChange$','whenReady','setActiveRange','SessionStatus','_scheduleSaving','permission.title','roomMembers$','onCommandExecuted','_updateURLWithCurrentState','ICommandService','transformSelections','defIds','onPointerLeave$','getRenderById','USER_NOT_INVITED_CODE','Module','prototype','_sheetSkeletonManagerService','svg','_anchorDot','attrs','_toggleOffline','_collaborationUIEventService','sheetID','InsertRangeMoveRightCommandId','createIdentifier','UnitStatus','parse','CLOSE_ROOM','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getOwnPropertyDescriptor','SetTextSelectionsOperation','DocStateChangeManagerService','evenodd','UniverSheetsUi','top','shareReplay','_handleJoinEvent','propertyIsEnumerable','textRanges','extend','loadUnit','displayName','defineProperty','_docTransformIMECacheService','UniverIcon','react','onMouseMove','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','8111341VjxEQd','event$','COMPLETION_FINISHED','runId','APPLY_PERMISSION_DENIED','assign','transform','selection','UniverDrawing','rxjs','asObservable','actions','CollaborationDataLoaderController','session.connection-failed','addObject','generateRandomId','isTransformMutationFailure','url(#on-line-icon_clip0_910_349)','_context','_getMergeRange','params','collabStatus.notCollab','jsxs','1em','UniverCollaborationClientUIPlugin','2609300VlIQTb','skeleton','removeParam','resize','set','getCollabEntity$','hasOwnProperty','isEditing','color','APPLY_DUPLICATED','_initStatusComponent','show','getOwnPropertySymbols','@univerjs/docs','then','useObservable','fill','_docSyncEditingCollabCursorService','SNAPSHOT_INVALID_SNAPSHOT','RichTextEditingMutation','handleInsertRow','disposeWithMe','sessionTicket','@univerjs/drawing','engine','saveTaskMap','send','handleIRemoveRow','@univerjs/network','history','handleIRemoveCol','uni.network.url-service','FETCH_MISS','collabStatus.conflict','_handleHeartbeatEvent','_localeService','Unknown\x20user','_onRefRangeChange','post','merge','setConfig','font','subscribe','size','SheetsSelectionsService','DocIMEInputManagerService','getSkeleton','NOT_COLLAB','FromArray','transformStateCache','@univerjs/ui','doc.mutation.rich-text-editing','getVpScrollXYInfoByPosToVp','UniverSheets','CollaborationEvent','setAlpha','collabCursorState$','Inject','permission.content','white','_roomMembers$','YUUMI_ASYNCIO_CANCELLED','CollaborationStatus','DocSkeletonManagerService','Vector2','executeCommand','IConfigService','_updateCollabCursors','_registerRenderDependencies','APPLY_NON_SEQUENTIAL_REVISION','getLocalCacheKey','icon','fillRule','_getSaveTimeout','sessionStatus$','_createSocketURL','_initDependencies','max','_initResize','onPointerEnter$','wsSessionTicketUrl','PENDING','unload','_uiPartsService','undoState','setInterval','DeleteRangeMoveLeftCommandId','clearTimeout','Failed','indexOf','onPointerMove$','LOCAL_CACHE_INTERVAL_KEY','editingUnit','getColorFromTheme','MOBILE_HAS_BEEN_BOUND','string','CollaborationStatusDisplay','SUBMIT_CHANGESET_TIMEOUT','map','ColorKit','triggerDblclick','M0\x200H16V16H0z','ALREADY_EXISTS','get','jiqing.500','isArray','replaceState','_transformHistoryAndStateStack','add','entries','endRow','_initCommandExecutedListener','symbol','_localStorageService','_getSessionTicket','_cursor','enableLocalCache','OffLineIcon','restore','assignAColorForMemberID','YUUMI_ALL_TABLES_IS_INVALID','delete','defs','reconnect','url(#off-line-icon_clip0_910_343)','saveImage','getRangePointData','_hover','INVITE_CODE_HAS_BEEN_UES','_cachedData','collab-rect-range-','_beforeCloseService','_scene','dispose$','_registerDependencies','_collabCursorController','idSuffix','getCollabCursors$','@univerjs/docs-ui','_localCacheService','_removeCollabCursors','text','createSocket','Error','_getSheetObject','pushState','UniverCollaborationClientPlugin','xlink:href','4CxmsOY','runOnServer','save','getMember','getColor','ranges','RemoveRowCommandId','getUnhiddenWorksheets','collaboration.closeRoom','eventID','_backgroundColor','MessageType','none','_draw','RevisionService','YUUMI_NO_CUBOID_FOR_QUESTION','_send','[RemoteUniscriptService]:\x20no\x20focused\x20unit','NodePositionConvertToCursor','startsWith','_onCursorUpdate','debounceTime','_collabSessionService','_getScale','body','unsubscribe','INVITE_CODE_REQUIRED'];_0x31bb=function(){return _0x10a94e;};return _0x31bb();}function _0x527c(_0x1fa53a,_0x2415f0){const _0x31bb04=_0x31bb();return _0x527c=function(_0x527cec,_0x565f05){_0x527cec=_0x527cec-0x1a9;let _0x208648=_0x31bb04[_0x527cec];return _0x208648;},_0x527c(_0x1fa53a,_0x2415f0);}(function(_0x2ef64d,_0x24effc){const _0x3f4e01=_0x527c,_0x361cde=_0x2ef64d();while(!![]){try{const _0x157871=-parseInt(_0x3f4e01(0x38b))/0x1*(parseInt(_0x3f4e01(0x411))/0x2)+-parseInt(_0x3f4e01(0x3b6))/0x3*(-parseInt(_0x3f4e01(0x2b7))/0x4)+parseInt(_0x3f4e01(0x223))/0x5+parseInt(_0x3f4e01(0x336))/0x6+-parseInt(_0x3f4e01(0x20a))/0x7+parseInt(_0x3f4e01(0x303))/0x8*(-parseInt(_0x3f4e01(0x355))/0x9)+parseInt(_0x3f4e01(0x3b7))/0xa;if(_0x157871===_0x24effc)break;else _0x361cde['push'](_0x361cde['shift']());}catch(_0x3054be){_0x361cde['push'](_0x361cde['shift']());}}}(_0x31bb,0xdfff6),function(_0xbdbfc3,_0xf9b208){const _0x5a8b4f=_0x527c;typeof exports==_0x5a8b4f(0x445)&&typeof module<'u'?_0xf9b208(exports,require(_0x5a8b4f(0x3bc)),require(_0x5a8b4f(0x426)),require(_0x5a8b4f(0x2de)),require('@univerjs/network'),require(_0x5a8b4f(0x2ad)),require(_0x5a8b4f(0x23a)),require(_0x5a8b4f(0x213)),require(_0x5a8b4f(0x230)),require(_0x5a8b4f(0x38c)),require(_0x5a8b4f(0x310)),require(_0x5a8b4f(0x366)),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require(_0x5a8b4f(0x31b))):typeof define==_0x5a8b4f(0x375)&&define['amd']?define(['exports','@univerjs-pro/collaboration-client','@univerjs/core',_0x5a8b4f(0x2de),_0x5a8b4f(0x23f),_0x5a8b4f(0x2ad),_0x5a8b4f(0x23a),_0x5a8b4f(0x213),_0x5a8b4f(0x230),'@univerjs-pro/collaboration','@univerjs/engine-formula',_0x5a8b4f(0x366),_0x5a8b4f(0x34b),_0x5a8b4f(0x30a),'react/jsx-runtime',_0x5a8b4f(0x255),'@univerjs/design',_0x5a8b4f(0x207),_0x5a8b4f(0x31b)],_0xf9b208):(_0xbdbfc3=typeof globalThis<'u'?globalThis:_0xbdbfc3||self,_0xf9b208(_0xbdbfc3[_0x5a8b4f(0x313)]={},_0xbdbfc3['UniverProCollaborationClient'],_0xbdbfc3[_0x5a8b4f(0x35e)],_0xbdbfc3[_0x5a8b4f(0x33b)],_0xbdbfc3[_0x5a8b4f(0x41b)],_0xbdbfc3['UniverDocsUi'],_0xbdbfc3[_0x5a8b4f(0x212)],_0xbdbfc3['rxjs'],_0xbdbfc3[_0x5a8b4f(0x35c)],_0xbdbfc3[_0x5a8b4f(0x343)],_0xbdbfc3[_0x5a8b4f(0x428)],_0xbdbfc3[_0x5a8b4f(0x258)],_0xbdbfc3[_0x5a8b4f(0x213)][_0x5a8b4f(0x378)],_0xbdbfc3[_0x5a8b4f(0x1fb)],_0xbdbfc3[_0x5a8b4f(0x399)],_0xbdbfc3[_0x5a8b4f(0x1b5)],_0xbdbfc3[_0x5a8b4f(0x408)],_0xbdbfc3['React'],_0xbdbfc3[_0x5a8b4f(0x387)]));}(this,function(_0x426480,_0x3fc21c,_0x359b28,_0x3ed47a,_0xbf88ec,_0x4a4345,_0x306819,_0xd7a771,_0x133a4c,_0x5e144e,_0x1556fb,_0xb83d99,_0xf6eebe,_0x231ad7,_0x1688bd,_0x203bca,_0xfc0b26,_0xd0c191,_0x40c6dc){'use strict';const _0x2aac72=_0x527c;var _0x5b09f1=Object[_0x2aac72(0x204)],_0x25fce2=(_0x54f4d1,_0x4bb4c6,_0x2c560c)=>_0x4bb4c6 in _0x54f4d1?_0x5b09f1(_0x54f4d1,_0x4bb4c6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2c560c}):_0x54f4d1[_0x4bb4c6]=_0x2c560c,_0x1c8185=(_0x46ed2d,_0x556566,_0x55f15e)=>_0x25fce2(_0x46ed2d,typeof _0x556566!=_0x2aac72(0x293)?_0x556566+'':_0x556566,_0x55f15e),_0xf2bdbd=Object['getOwnPropertyDescriptor'],_0x10d903=(_0x2195b3,_0x15c004,_0x58341b,_0x326eb5)=>{const _0xc9d082=_0x2aac72;for(var _0x71474=_0x326eb5>0x1?void 0x0:_0x326eb5?_0xf2bdbd(_0x15c004,_0x58341b):_0x15c004,_0x45660b=_0x2195b3[_0xc9d082(0x2d6)]-0x1,_0x148b9f;_0x45660b>=0x0;_0x45660b--)(_0x148b9f=_0x2195b3[_0x45660b])&&(_0x71474=_0x148b9f(_0x71474)||_0x71474);return _0x71474;},_0x12a202=(_0x5cb216,_0x3f478e)=>(_0x46c80b,_0x421175)=>_0x3f478e(_0x46c80b,_0x421175,_0x5cb216);let _0x27fa3a=class extends _0x359b28[_0x2aac72(0x1cb)]{constructor(_0x2f7945,_0x550cad){const _0x14bd1d=_0x2aac72;super(),this[_0x14bd1d(0x42c)]=_0x2f7945,this['_imageIoService']=_0x550cad,this[_0x14bd1d(0x3d9)]();}['_init'](){const _0x527a5c=_0x2aac72,_0x670fba=this;this[_0x527a5c(0x238)](this['_docClipboardService'][_0x527a5c(0x3f0)]({'onBeforePasteImage':async _0x428c2b=>{const _0x3f68ed=_0x527a5c,_0x11ccd8=await _0x670fba[_0x3f68ed(0x3d0)][_0x3f68ed(0x2a0)](_0x428c2b);return _0x11ccd8?{'source':_0x11ccd8[_0x3f68ed(0x371)],'imageSourceType':_0x11ccd8[_0x3f68ed(0x3ae)]}:null;}}));}};_0x27fa3a=_0x10d903([_0x12a202(0x0,_0x4a4345[_0x2aac72(0x434)]),_0x12a202(0x1,_0x306819['IImageIoService'])],_0x27fa3a);const _0x367bfc=['purple.300',_0x2aac72(0x28b),_0x2aac72(0x2d5),'red.300',_0x2aac72(0x34f),_0x2aac72(0x3fb)];class _0x4b05bb extends _0x359b28[_0x2aac72(0x43e)]{constructor(){const _0xc6626e=_0x2aac72;super(...arguments),_0x1c8185(this,_0xc6626e(0x335),new Map()),_0x1c8185(this,_0xc6626e(0x339),0x0);}[_0x2aac72(0x29a)](_0x28dd9b){const _0x59ae6e=_0x2aac72;if(this[_0x59ae6e(0x335)][_0x59ae6e(0x398)](_0x28dd9b))return this['_assignedColors'][_0x59ae6e(0x28a)](_0x28dd9b);const _0xa74e1b=_0x367bfc[this[_0x59ae6e(0x339)]];return this[_0x59ae6e(0x339)]=(this['_colorIndex']+0x1)%_0x367bfc[_0x59ae6e(0x2d6)],this[_0x59ae6e(0x335)][_0x59ae6e(0x227)](_0x28dd9b,_0xa74e1b),_0xa74e1b;}}function _0x1d4bdb(_0x67f9f){const _0x35310e=_0x2aac72;let _0x3489d6='';for(const _0x3912fa of _0x67f9f){const {startOffset:_0x163476,endOffset:_0x45f351,isActive:_0x296799,rangeType:_0x1d8cec,segmentId:_0x47e9aa,segmentPage:_0x46fe74}=_0x3912fa;_0x3489d6[_0x35310e(0x2d6)]&&(_0x3489d6+=','),_0x3489d6+=_0x163476+':'+_0x45f351+':'+(_0x296799?'1':'0')+':'+_0x1d8cec+':'+_0x47e9aa+':'+_0x46fe74;}return _0x3489d6;}function _0x7fe7fe(_0x57e319){const _0xa7bdfe=_0x2aac72,_0x416c49=_0x57e319[_0xa7bdfe(0x42e)](','),_0x14ed0a=[];for(const _0x57b12a of _0x416c49){const [_0x310756,_0x16c2b7,_0x40bbe4,_0x28172d,_0x41762a,_0x13a9b8]=_0x57b12a[_0xa7bdfe(0x42e)](':');_0x14ed0a[_0xa7bdfe(0x423)]({'startOffset':Number(_0x310756),'endOffset':Number(_0x16c2b7),'collapsed':_0x310756===_0x16c2b7,'isActive':_0x40bbe4==='1','rangeType':_0x28172d===_0x359b28['DOC_RANGE_TYPE'][_0xa7bdfe(0x2fb)]?_0x359b28[_0xa7bdfe(0x412)]['TEXT']:_0x359b28[_0xa7bdfe(0x412)][_0xa7bdfe(0x327)],'segmentId':typeof _0x41762a==_0xa7bdfe(0x282)?String(_0x41762a):'','segmentPage':Number(_0x13a9b8!=null?_0x13a9b8:-0x1)});}return _0x14ed0a[_0xa7bdfe(0x397)](_0x48d1cf=>_0x48d1cf['isActive'])||(_0x14ed0a[0x0]['isActive']=!0x0),_0x14ed0a;}class _0x151cd4 extends _0x359b28['RxDisposable']{constructor(){const _0xd269c=_0x2aac72;super(...arguments),_0x1c8185(this,_0xd269c(0x41c),new _0xd7a771[(_0xd269c(0x3aa))](null)),_0x1c8185(this,_0xd269c(0x25b),this[_0xd269c(0x41c)][_0xd269c(0x214)]());}['syncEditingCollabCursor'](_0x7cd9f0){const _0x1a0aca=_0x2aac72,{unitID:_0x47463a,memberID:_0x376dd0,textRanges:_0x3c4ecd}=_0x7cd9f0,_0x37d1a1=_0x1d4bdb(_0x3c4ecd);if(_0x37d1a1==='')return;const _0x2c2e2c={'unitID':_0x47463a,'memberID':_0x376dd0,'selection':_0x37d1a1};this[_0x1a0aca(0x41c)][_0x1a0aca(0x1b7)](_0x2c2e2c);}}var _0x35c2c9=Object[_0x2aac72(0x1f7)],_0x5e69cc=(_0x1c02b5,_0x35bcbf,_0x3e2761,_0xb6a1df)=>{const _0x2c544f=_0x2aac72;for(var _0x695cc8=_0xb6a1df>0x1?void 0x0:_0xb6a1df?_0x35c2c9(_0x35bcbf,_0x3e2761):_0x35bcbf,_0x24119e=_0x1c02b5[_0x2c544f(0x2d6)]-0x1,_0x3a4cf9;_0x24119e>=0x0;_0x24119e--)(_0x3a4cf9=_0x1c02b5[_0x24119e])&&(_0x695cc8=_0x3a4cf9(_0x695cc8)||_0x695cc8);return _0x695cc8;},_0x1fab89=(_0x10cf07,_0x4d5588)=>(_0x3f0bc2,_0x5df6ff)=>_0x4d5588(_0x3f0bc2,_0x5df6ff,_0x10cf07);const _0x220bfe=0x12c,_0x49d488=0x64;let _0x49aa2d=class extends _0x359b28[_0x2aac72(0x1cb)]{constructor(_0x5e178b,_0xb2b311,_0x258619,_0x4e3668,_0x599eda,_0x4d810b,_0x47b49d,_0x53dfc1,_0x1e7822){const _0x30fc04=_0x2aac72;super(),_0x1c8185(this,'_online',!0x1),_0x1c8185(this,'_init',!0x1),_0x1c8185(this,_0x30fc04(0x3ac),new _0xd7a771['BehaviorSubject'](new Map())),_0x1c8185(this,_0x30fc04(0x3cb),this['_cursorInfo$']['asObservable']()),_0x1c8185(this,_0x30fc04(0x25f),new _0xd7a771['BehaviorSubject']([])),_0x1c8185(this,_0x30fc04(0x1df),this[_0x30fc04(0x25f)]['pipe'](_0xd7a771[_0x30fc04(0x2cc)](_0x220bfe))),_0x1c8185(this,_0x30fc04(0x377),_0x359b28['debounce'](_0x34aaae=>{const _0x5abde7=_0x30fc04,_0x7e4709={'eventID':_0x5e144e[_0x5abde7(0x259)][_0x5abde7(0x430)],'data':{'unitID':this[_0x5abde7(0x419)],'memberID':this['_session'][_0x5abde7(0x2fd)](),'selection':_0x1d4bdb(_0x34aaae)}};this[_0x5abde7(0x1b6)][_0x5abde7(0x23d)](_0x7e4709,this[_0x5abde7(0x419)]);},_0x49d488)),(this[_0x30fc04(0x419)]=_0x5e178b,this[_0x30fc04(0x1b6)]=_0xb2b311,this[_0x30fc04(0x446)]=_0x258619,this[_0x30fc04(0x1bf)]=_0x4e3668,this['_memberService']=_0x599eda,this['_syncEditingCollabCursorService']=_0x4d810b,this[_0x30fc04(0x357)]=_0x47b49d,this[_0x30fc04(0x3ad)]=_0x53dfc1,this[_0x30fc04(0x3da)]=_0x1e7822);}get['cursorInfo'](){const _0x2e1ea5=_0x2aac72;return this[_0x2e1ea5(0x3ac)][_0x2e1ea5(0x3b4)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x2aac72(0x3dc)](){const _0x358a4a=_0x2aac72;super['dispose'](),this[_0x358a4a(0x3ac)][_0x358a4a(0x1b7)](new Map()),this[_0x358a4a(0x3ac)][_0x358a4a(0x2e6)](),this[_0x358a4a(0x25f)]['next']([]),this['_roomMembers$'][_0x358a4a(0x2e6)]();}['init'](){const _0x17457a=_0x2aac72;this[_0x17457a(0x3d9)]||(this[_0x17457a(0x3d9)]=!0x0,this[_0x17457a(0x1b6)][_0x17457a(0x26d)][_0x17457a(0x3c8)](_0xd7a771['takeUntil'](this[_0x17457a(0x2a8)]))[_0x17457a(0x24d)](_0x209105=>{const _0x2be2a2=_0x17457a;_0x209105===_0x3fc21c[_0x2be2a2(0x1dc)][_0x2be2a2(0x35a)]?this[_0x2be2a2(0x3eb)]():this[_0x2be2a2(0x1ee)]();}),this[_0x17457a(0x1b6)][_0x17457a(0x20b)]['pipe'](_0xd7a771[_0x17457a(0x390)](this[_0x17457a(0x2a8)]))['subscribe'](_0x2cf51e=>{const _0x5ea892=_0x17457a,_0x3771e2=_0x2cf51e[_0x5ea892(0x2c0)];_0x3771e2===_0x5e144e[_0x5ea892(0x259)][_0x5ea892(0x430)]&&this[_0x5ea892(0x2cb)](_0x2cf51e),_0x3771e2===_0x5e144e['CollaborationEvent'][_0x5ea892(0x33e)]&&this[_0x5ea892(0x3db)](_0x2cf51e);}),this[_0x17457a(0x238)](this[_0x17457a(0x3da)]['onCommandExecuted'](_0x1005ad=>{const _0xc0797a=_0x17457a,_0x930946=_0x1005ad[_0xc0797a(0x21e)];_0x930946!=null&&this[_0xc0797a(0x1d4)]&&_0x1005ad['id']===_0x133a4c[_0xc0797a(0x1f8)]['id']&&_0x930946[_0xc0797a(0x3c9)]===this[_0xc0797a(0x419)]&&_0x930946[_0xc0797a(0x22a)]===!0x1&&_0x930946['ranges'][_0xc0797a(0x2d6)]>0x0&&this[_0xc0797a(0x377)](_0x930946['ranges']);})),this[_0x17457a(0x39c)][_0x17457a(0x25b)][_0x17457a(0x3c8)](_0xd7a771['takeUntil'](this['dispose$']))['subscribe'](_0x26c7e2=>{const _0x20413b=_0x17457a;if((_0x26c7e2==null?void 0x0:_0x26c7e2[_0x20413b(0x419)])!==this['unitID'])return;const _0x3fcbc0={'eventID':_0x5e144e[_0x20413b(0x259)][_0x20413b(0x430)],'data':_0x26c7e2};this[_0x20413b(0x2cb)](_0x3fcbc0);}),this['disposeWithMe'](this['_commandService'][_0x17457a(0x1e0)](_0x77b905=>{const _0x29253b=_0x17457a;if(_0x77b905[_0x29253b(0x21e)]==null)return;const _0x3c38e2=_0x77b905['params'];if(_0x77b905['id']!==_0x133a4c[_0x29253b(0x236)]['id']||_0x3c38e2[_0x29253b(0x3c9)]!==this[_0x29253b(0x419)])return;const _0x5f2735={'id':_0x29253b(0x256),'params':_0x3c38e2},_0x5f1892=this[_0x29253b(0x2fc)];for(const [_0x127347,_0x5c39ca]of _0x5f1892){const _0x4c08e3={'id':_0x29253b(0x256),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x5c39ca[_0x29253b(0x2bc)]}},_0x2e1277=this[_0x29253b(0x357)]['transformMutation'](_0x5f2735,_0x4c08e3,!0x1);if(_0x5e144e[_0x29253b(0x21a)](_0x2e1277))throw _0x2e1277[_0x29253b(0x444)];_0x5f1892['set'](_0x127347,{..._0x5c39ca,'ranges':_0x2e1277[_0x29253b(0x403)]['params'][_0x29253b(0x200)]});}queueMicrotask(()=>{const _0x405dbe=_0x29253b;this[_0x405dbe(0x3ac)][_0x405dbe(0x1b7)](_0x5f1892);});})));}[_0x2aac72(0x2cb)](_0x43afdd){const _0xf20825=_0x2aac72;var _0x11edb7,_0x5ed6dd;const {memberID:_0x230179,selection:_0x39cbbb}=_0x43afdd[_0xf20825(0x3a7)],_0x4125d2=_0x7fe7fe(_0x39cbbb),_0x18a39c=(_0x5ed6dd=(_0x11edb7=this[_0xf20825(0x33c)][_0xf20825(0x2ba)](this[_0xf20825(0x419)],_0x230179))==null?void 0x0:_0x11edb7[_0xf20825(0x379)])!=null?_0x5ed6dd:_0xf20825(0x247),_0x11aba8={'color':this['_colorAssignService'][_0xf20825(0x29a)](_0x230179),'name':_0x18a39c,'ranges':_0x4125d2},_0xf924e9=this[_0xf20825(0x2fc)];_0xf924e9['set'](_0x230179,_0x11aba8),this[_0xf20825(0x3ac)][_0xf20825(0x1b7)](_0xf924e9);}[_0x2aac72(0x3db)](_0x500939){const _0x388ee3=_0x2aac72,{memberID:_0x5a2433}=_0x500939[_0x388ee3(0x3a7)],_0x149e0d=this[_0x388ee3(0x2fc)];_0x149e0d[_0x388ee3(0x29c)](_0x5a2433),this['_cursorInfo$'][_0x388ee3(0x1b7)](_0x149e0d);}[_0x2aac72(0x3eb)](){const _0x9cff49=_0x2aac72;var _0xa1a053;if(this[_0x9cff49(0x1d4)]=!0x0,((_0xa1a053=this[_0x9cff49(0x3ad)][_0x9cff49(0x3f2)]())==null?void 0x0:_0xa1a053[_0x9cff49(0x388)]())!==this[_0x9cff49(0x419)])return;const _0x4bf040=this[_0x9cff49(0x446)][_0x9cff49(0x28a)](_0x133a4c['DocSelectionManagerService'])[_0x9cff49(0x337)]();Array[_0x9cff49(0x28c)](_0x4bf040)&&_0x4bf040[_0x9cff49(0x2d6)]>0x0&&this[_0x9cff49(0x377)](_0x4bf040);}[_0x2aac72(0x1ee)](){this['_online']=!0x1;}};_0x49aa2d=_0x5e69cc([_0x1fab89(0x2,_0x359b28[_0x2aac72(0x25c)](_0x359b28['Injector'])),_0x1fab89(0x3,_0x359b28['Inject'](_0x4b05bb)),_0x1fab89(0x4,_0x359b28[_0x2aac72(0x25c)](_0x3fc21c[_0x2aac72(0x404)])),_0x1fab89(0x5,_0x359b28[_0x2aac72(0x25c)](_0x151cd4)),_0x1fab89(0x6,_0x5e144e['ITransformService']),_0x1fab89(0x7,_0x359b28['IUniverInstanceService']),_0x1fab89(0x8,_0x359b28[_0x2aac72(0x1e2)])],_0x49aa2d);var _0x5079e1=Object['getOwnPropertyDescriptor'],_0x264360=(_0x6fe351,_0x231df3,_0x559939,_0x106522)=>{for(var _0x513adc=_0x106522>0x1?void 0x0:_0x106522?_0x5079e1(_0x231df3,_0x559939):_0x231df3,_0x4bf54d=_0x6fe351['length']-0x1,_0x56903b;_0x4bf54d>=0x0;_0x4bf54d--)(_0x56903b=_0x6fe351[_0x4bf54d])&&(_0x513adc=_0x56903b(_0x513adc)||_0x513adc);return _0x513adc;},_0x29d522=(_0x554ccf,_0xdce683)=>(_0x500660,_0x422253)=>_0xdce683(_0x500660,_0x422253,_0x554ccf);const _0x101db2=0x12c,_0x585918=0x64,_0x12f437=()=>{let _0x2e9652=[],_0x5e89b2=!0x1;return _0x4b40c3=>{const _0x329e80=_0x527c;_0x2e9652[_0x329e80(0x423)](_0x4b40c3),_0x5e89b2||(_0x5e89b2=!0x0,setTimeout(()=>{const _0x529cf0=_0x329e80;_0x2e9652[_0x529cf0(0x406)](_0x1071c4=>_0x1071c4()),_0x2e9652=[],_0x5e89b2=!0x1;}));};};let _0x1597ae=class extends _0x359b28['RxDisposable']{constructor(_0x510c85,_0x56bf92,_0x573b2d,_0x4b0075,_0x230bd5,_0xb08214,_0x42c5b0,_0x31c603){const _0x2c9512=_0x2aac72;super(),_0x1c8185(this,_0x2c9512(0x1d4),!0x1),_0x1c8185(this,_0x2c9512(0x3d9),!0x1),_0x1c8185(this,_0x2c9512(0x3ac),new _0xd7a771[(_0x2c9512(0x3aa))](new Map())),_0x1c8185(this,_0x2c9512(0x3cb),this[_0x2c9512(0x3ac)][_0x2c9512(0x214)]()),_0x1c8185(this,'_roomMembers$',new _0xd7a771[(_0x2c9512(0x3aa))]([])),_0x1c8185(this,_0x2c9512(0x1df),this[_0x2c9512(0x25f)]['pipe'](_0xd7a771[_0x2c9512(0x2cc)](_0x101db2))),_0x1c8185(this,_0x2c9512(0x377),_0x359b28[_0x2c9512(0x436)]((_0x159113,_0x22882b)=>{const _0x3e9d3e=_0x2c9512,_0x1011a4={'eventID':_0x5e144e[_0x3e9d3e(0x259)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x3e9d3e(0x419)],'memberID':this[_0x3e9d3e(0x1b6)][_0x3e9d3e(0x2fd)](),'selection':_0x1556fb[_0x3e9d3e(0x2e4)](_0x159113,_0x22882b[_0x3e9d3e(0x32e)])}};this[_0x3e9d3e(0x1b6)][_0x3e9d3e(0x23d)](_0x1011a4,this['unitID']);},_0x585918)),(this[_0x2c9512(0x419)]=_0x510c85,this[_0x2c9512(0x1b6)]=_0x56bf92,this[_0x2c9512(0x446)]=_0x573b2d,this['_colorAssignService']=_0x4b0075,this[_0x2c9512(0x33c)]=_0x230bd5,this['_univerInstanceService']=_0xb08214,this[_0x2c9512(0x3da)]=_0x42c5b0,this[_0x2c9512(0x326)]=_0x31c603);}get['cursorInfo'](){return this['_cursorInfo$']['getValue']();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x2aac72(0x3dc)](){const _0x18e91b=_0x2aac72;super[_0x18e91b(0x3dc)](),this['_cursorInfo$'][_0x18e91b(0x1b7)](new Map()),this[_0x18e91b(0x3ac)][_0x18e91b(0x2e6)](),this[_0x18e91b(0x25f)][_0x18e91b(0x1b7)]([]),this[_0x18e91b(0x25f)]['complete']();}[_0x2aac72(0x340)](){const _0x5d3b19=_0x2aac72;this['_init']||(this['_init']=!0x0,this[_0x5d3b19(0x1b6)][_0x5d3b19(0x26d)][_0x5d3b19(0x3c8)](_0xd7a771[_0x5d3b19(0x390)](this[_0x5d3b19(0x2a8)]))[_0x5d3b19(0x24d)](_0x4bd50e=>{const _0x4a7f0a=_0x5d3b19;_0x4bd50e===_0x3fc21c[_0x4a7f0a(0x1dc)][_0x4a7f0a(0x35a)]?this[_0x4a7f0a(0x3eb)]():this['_toggleOffline']();}),this['_session'][_0x5d3b19(0x20b)]['pipe'](_0xd7a771[_0x5d3b19(0x390)](this[_0x5d3b19(0x2a8)]))['subscribe'](_0x2c411e=>{const _0x59efd9=_0x5d3b19,_0x4b38f9=_0x2c411e['eventID'];_0x4b38f9===_0x5e144e[_0x59efd9(0x259)][_0x59efd9(0x430)]&&this[_0x59efd9(0x2cb)](_0x2c411e),_0x4b38f9===_0x5e144e[_0x59efd9(0x259)]['USERS_LEAVE']&&this[_0x59efd9(0x3db)](_0x2c411e);}),this['_onRefRangeChange'](),this[_0x5d3b19(0x238)](this['_commandService']['onCommandExecuted'](_0x5e7cd1=>{const _0x39c3bc=_0x5d3b19;if(this[_0x39c3bc(0x1d4)]&&_0x5e7cd1['id']===_0xb83d99[_0x39c3bc(0x410)]['id']&&_0x5e7cd1[_0x39c3bc(0x21e)][_0x39c3bc(0x3c9)]===this[_0x39c3bc(0x419)]){const _0x51e4c6=_0x5e7cd1['params'];this[_0x39c3bc(0x377)](_0x51e4c6[_0x39c3bc(0x42f)],_0x51e4c6['selections'][0x0]);}})));}[_0x2aac72(0x2cb)](_0x4a2f0a){const _0x222f05=_0x2aac72;var _0x5e0eab,_0x1d2216;const {memberID:_0x286222,selection:_0x3028de}=_0x4a2f0a[_0x222f05(0x3a7)],{sheetName:_0x3de83d,range:_0x4ade35}=_0x1556fb[_0x222f05(0x32d)](_0x3028de),_0x417ed4={'name':(_0x1d2216=(_0x5e0eab=this['_memberService']['getMember'](this[_0x222f05(0x419)],_0x286222))==null?void 0x0:_0x5e0eab[_0x222f05(0x379)])!=null?_0x1d2216:'Unknown\x20user','range':this[_0x222f05(0x21d)](_0x3de83d,_0x4ade35),'sheetID':_0x3de83d,'color':this[_0x222f05(0x1bf)][_0x222f05(0x29a)](_0x286222),'selection':_0x3028de},_0x36cff0=this[_0x222f05(0x2fc)];_0x36cff0[_0x222f05(0x227)](_0x286222,_0x417ed4),this[_0x222f05(0x3ac)][_0x222f05(0x1b7)](_0x36cff0);}[_0x2aac72(0x3db)](_0x428136){const _0x2826ff=_0x2aac72,{memberID:_0x48a742}=_0x428136['data'],_0x1a6583=this[_0x2826ff(0x2fc)];_0x1a6583[_0x2826ff(0x29c)](_0x48a742),this['_cursorInfo$'][_0x2826ff(0x1b7)](_0x1a6583);}[_0x2aac72(0x21d)](_0x3b8592,_0x24f052){const _0x8977a1=_0x2aac72;var _0x1bf318,_0x8d7d79;const _0x2924f0=(_0x8d7d79=(_0x1bf318=this[_0x8977a1(0x3ad)][_0x8977a1(0x2e3)](this['unitID']))==null?void 0x0:_0x1bf318[_0x8977a1(0x3f4)](_0x3b8592))==null?void 0x0:_0x8d7d79[_0x8977a1(0x3b9)]();return(_0x2924f0==null?void 0x0:_0x2924f0['find'](_0x19b127=>_0x359b28['Rectangle'][_0x8977a1(0x41d)](_0x19b127,_0x24f052)))||_0x24f052;}[_0x2aac72(0x248)](){const _0x597e7b=_0x2aac72,_0x7f45d8=new _0x359b28[(_0x597e7b(0x420))](),_0x4d7844=_0x12f437(),_0x87eaa3=()=>{const _0x22bb41=_0x597e7b;_0x7f45d8[_0x22bb41(0x3dc)]();const _0x82f8d7=(_0x5f011f,_0x2e25f2,_0xa29c9b,_0xf4c59f)=>{const _0x2f276d=_0x22bb41;let _0x5e2652=[];switch(_0x5f011f['id']){case _0xb83d99[_0x2f276d(0x365)][_0x2f276d(0x279)]:{_0x5e2652=_0xb83d99[_0x2f276d(0x317)](_0x5f011f,_0xf4c59f);break;}case _0xb83d99[_0x2f276d(0x365)]['DeleteRangeMoveUpCommandId']:{_0x5e2652=_0xb83d99[_0x2f276d(0x40a)](_0x5f011f,_0xf4c59f);break;}case _0xb83d99[_0x2f276d(0x365)]['InsertColCommandId']:{_0x5e2652=_0xb83d99[_0x2f276d(0x43b)](_0x5f011f,_0xf4c59f);break;}case _0xb83d99[_0x2f276d(0x365)][_0x2f276d(0x329)]:{_0x5e2652=_0xb83d99['handleInsertRangeMoveDown'](_0x5f011f,_0xf4c59f);break;}case _0xb83d99['EffectRefRangId'][_0x2f276d(0x1f1)]:{_0x5e2652=_0xb83d99[_0x2f276d(0x36b)](_0x5f011f,_0xf4c59f);break;}case _0xb83d99[_0x2f276d(0x365)][_0x2f276d(0x305)]:{_0x5e2652=_0xb83d99[_0x2f276d(0x237)](_0x5f011f,_0xf4c59f);break;}case _0xb83d99['EffectRefRangId'][_0x2f276d(0x2f8)]:{_0x5e2652=_0xb83d99[_0x2f276d(0x1c7)](_0x5f011f,_0xf4c59f);break;}case _0xb83d99[_0x2f276d(0x365)][_0x2f276d(0x3f5)]:{_0x5e2652=_0xb83d99[_0x2f276d(0x241)](_0x5f011f,_0xf4c59f);break;}case _0xb83d99[_0x2f276d(0x365)][_0x2f276d(0x2bd)]:{_0x5e2652=_0xb83d99[_0x2f276d(0x23e)](_0x5f011f,_0xf4c59f);break;}}const _0x41040e=_0xb83d99['runRefRangeMutations'](_0x5e2652,_0xf4c59f),_0xe7adb0=this[_0x2f276d(0x2fc)]['get'](_0x2e25f2);if(_0xe7adb0&&_0x41040e){const _0x1acaca={..._0xe7adb0,'range':_0x41040e};this['cursorInfo'][_0x2f276d(0x227)](_0x2e25f2,_0x1acaca),_0x4d7844(()=>{const _0x1c2010=_0x2f276d,_0xac2d08=this[_0x1c2010(0x326)][_0x1c2010(0x32b)](_0x41040e,_0x49c577=>(_0xac2d08[_0x1c2010(0x3dc)](),_0x82f8d7(_0x49c577,_0x2e25f2,_0xa29c9b,_0x41040e)));_0x7f45d8[_0x1c2010(0x28f)](_0xac2d08);});}return{'redos':[],'undos':[]};};this[_0x22bb41(0x2fc)][_0x22bb41(0x406)]((_0x137312,_0x599371)=>{const _0x2ab7c9=_0x22bb41,{range:_0x158fba,sheetID:_0xb12661}=_0x137312,_0x782080=this[_0x2ab7c9(0x326)][_0x2ab7c9(0x32b)](_0x158fba,_0x36090a=>(_0x782080[_0x2ab7c9(0x3dc)](),_0x82f8d7(_0x36090a,_0x599371,_0xb12661,_0x158fba)));_0x7f45d8['add'](_0x782080);});};this['disposeWithMe'](_0x359b28[_0x597e7b(0x381)](this['_cursorInfo$'][_0x597e7b(0x24d)](()=>{_0x87eaa3();})));}[_0x2aac72(0x3eb)](){const _0x4af2a1=_0x2aac72;var _0x22cb85,_0x1ab9f6;if(this['_online']=!0x0,((_0x22cb85=this[_0x4af2a1(0x3ad)]['getFocusedUnit']())==null?void 0x0:_0x22cb85[_0x4af2a1(0x388)]())!==this[_0x4af2a1(0x419)])return;const _0x2699d0=(_0x1ab9f6=this[_0x4af2a1(0x446)]['get'](_0xb83d99[_0x4af2a1(0x24f)])['getCurrentSelections']())==null?void 0x0:_0x1ab9f6[0x0],_0x11150f=this['_univerInstanceService']['getCurrentUnitForType'](_0x359b28[_0x4af2a1(0x391)]['UNIVER_SHEET'])[_0x4af2a1(0x32f)]();_0x2699d0&&_0x11150f&&this[_0x4af2a1(0x377)](_0x11150f[_0x4af2a1(0x334)](),_0x2699d0);}[_0x2aac72(0x1ee)](){const _0x43da2c=_0x2aac72;this[_0x43da2c(0x1d4)]=!0x1;}};_0x1597ae=_0x264360([_0x29d522(0x2,_0x359b28['Inject'](_0x359b28[_0x2aac72(0x1b0)])),_0x29d522(0x3,_0x359b28[_0x2aac72(0x25c)](_0x4b05bb)),_0x29d522(0x4,_0x359b28[_0x2aac72(0x25c)](_0x3fc21c[_0x2aac72(0x404)])),_0x29d522(0x5,_0x359b28[_0x2aac72(0x2eb)]),_0x29d522(0x6,_0x359b28[_0x2aac72(0x1e2)]),_0x29d522(0x7,_0x359b28[_0x2aac72(0x25c)](_0xb83d99[_0x2aac72(0x2ec)]))],_0x1597ae);var _0x392a6c=Object['getOwnPropertyDescriptor'],_0x3ab155=(_0x257dfb,_0x126db9,_0x4616bf,_0x2f5c69)=>{for(var _0x5652f9=_0x2f5c69>0x1?void 0x0:_0x2f5c69?_0x392a6c(_0x126db9,_0x4616bf):_0x126db9,_0x610d20=_0x257dfb['length']-0x1,_0x2ada56;_0x610d20>=0x0;_0x610d20--)(_0x2ada56=_0x257dfb[_0x610d20])&&(_0x5652f9=_0x2ada56(_0x5652f9)||_0x5652f9);return _0x5652f9;},_0x38bf7f=(_0x3f549a,_0x561d2a)=>(_0x570651,_0x5364ed)=>_0x561d2a(_0x570651,_0x5364ed,_0x3f549a);let _0x229012=class extends _0x359b28[_0x2aac72(0x1cb)]{constructor(_0x4e0810,_0x508bad,_0x390510){const _0x43ffe2=_0x2aac72;super(),_0x1c8185(this,_0x43ffe2(0x3b3),new Map()),_0x1c8185(this,_0x43ffe2(0x3e5),new _0xd7a771[(_0x43ffe2(0x1aa))]()),(this[_0x43ffe2(0x3ad)]=_0x4e0810,this[_0x43ffe2(0x446)]=_0x508bad,this[_0x43ffe2(0x2cd)]=_0x390510,this[_0x43ffe2(0x3d9)]());}[_0x2aac72(0x3dc)](){const _0x500aa0=_0x2aac72;super[_0x500aa0(0x3dc)](),this['_entityInit$'][_0x500aa0(0x2e6)](),this['_entities'][_0x500aa0(0x406)](_0x6874b2=>_0x6874b2['dispose']());}[_0x2aac72(0x2ac)](_0x4e51c7){const _0x710096=_0x2aac72;return this[_0x710096(0x3b3)][_0x710096(0x398)](_0x4e51c7)?this[_0x710096(0x3b3)][_0x710096(0x28a)](_0x4e51c7)[_0x710096(0x3cb)]:this['_entityInit$'][_0x710096(0x3c8)](_0xd7a771[_0x710096(0x1cc)](_0x4d27b5=>_0x4d27b5[_0x710096(0x419)]===_0x4e51c7),_0xd7a771['switchMap'](_0x5ca035=>_0x5ca035[_0x710096(0x3cb)]));}[_0x2aac72(0x3d9)](){const _0x2984aa=_0x2aac72;this[_0x2984aa(0x3ad)][_0x2984aa(0x1ce)](_0x359b28[_0x2984aa(0x391)]['UNIVER_SHEET'])[_0x2984aa(0x3c8)](_0xd7a771[_0x2984aa(0x390)](this[_0x2984aa(0x2a8)]))[_0x2984aa(0x24d)](async _0x3e311f=>{const _0x3e4a08=_0x2984aa,_0x4b96fa=_0x3e311f[_0x3e4a08(0x388)](),_0x20c522=await this[_0x3e4a08(0x2d3)](_0x4b96fa);this['_entityInit$'][_0x3e4a08(0x1b7)](_0x20c522),this['_entities'][_0x3e4a08(0x227)](_0x4b96fa,_0x20c522);}),this[_0x2984aa(0x3ad)]['getTypeOfUnitAdded$'](_0x359b28[_0x2984aa(0x391)][_0x2984aa(0x3f8)])[_0x2984aa(0x3c8)](_0xd7a771[_0x2984aa(0x390)](this[_0x2984aa(0x2a8)]))[_0x2984aa(0x3c8)](_0xd7a771[_0x2984aa(0x1cc)](_0x49aa10=>!_0x49aa10[_0x2984aa(0x388)]()[_0x2984aa(0x2ca)]('__')))['subscribe'](async _0xe8b6c5=>{const _0x3ab660=_0x2984aa,_0x2be06c=_0xe8b6c5[_0x3ab660(0x388)](),_0x38fe6d=await this[_0x3ab660(0x2e7)](_0x2be06c);this[_0x3ab660(0x3e5)]['next'](_0x38fe6d),this[_0x3ab660(0x3b3)]['set'](_0x2be06c,_0x38fe6d);}),_0xd7a771[_0x2984aa(0x24a)](this[_0x2984aa(0x3ad)]['getTypeOfUnitDisposed$'](_0x359b28[_0x2984aa(0x391)]['UNIVER_DOC']),this[_0x2984aa(0x3ad)]['getTypeOfUnitDisposed$'](_0x359b28[_0x2984aa(0x391)][_0x2984aa(0x3c1)]))[_0x2984aa(0x3c8)](_0xd7a771[_0x2984aa(0x390)](this[_0x2984aa(0x2a8)]))[_0x2984aa(0x24d)](_0x491020=>{const _0x3fb79a=_0x2984aa,_0x4498df=_0x491020[_0x3fb79a(0x388)](),_0x307274=this[_0x3fb79a(0x3b3)][_0x3fb79a(0x28a)](_0x4498df);_0x307274&&(_0x307274[_0x3fb79a(0x3dc)](),this[_0x3fb79a(0x3b3)][_0x3fb79a(0x29c)](_0x4498df));});}async[_0x2aac72(0x2d3)](_0x52e047){const _0x10e13b=_0x2aac72,_0x3c5ffa=await this['_collabSessionService']['requireSession'](_0x52e047),_0x10bb50=this[_0x10e13b(0x446)]['createInstance'](_0x1597ae,_0x52e047,_0x3c5ffa);return _0x10bb50[_0x10e13b(0x340)](),_0x10bb50;}async[_0x2aac72(0x2e7)](_0xe44c85){const _0x5c06f0=_0x2aac72,_0xc83e99=await this[_0x5c06f0(0x2cd)][_0x5c06f0(0x37b)](_0xe44c85),_0x11ab4c=this[_0x5c06f0(0x446)]['createInstance'](_0x49aa2d,_0xe44c85,_0xc83e99);return _0x11ab4c[_0x5c06f0(0x340)](),_0x11ab4c;}};_0x229012=_0x3ab155([_0x38bf7f(0x0,_0x359b28[_0x2aac72(0x2eb)]),_0x38bf7f(0x1,_0x359b28[_0x2aac72(0x25c)](_0x359b28[_0x2aac72(0x1b0)])),_0x38bf7f(0x2,_0x359b28[_0x2aac72(0x25c)](_0x3fc21c[_0x2aac72(0x393)]))],_0x229012);const _0x4be509=0x14,_0x4cca83=0xc8,_0x3fd393=0x4,_0x26eec4=0x5;function _0x5ef45d(_0x21c3a2,_0x2228f8){const _0x233638=_0x2aac72;let {radius:_0x2b6116,width:_0x44a1d1,height:_0x24eb74}=_0x2228f8;_0x2b6116=_0x2b6116!=null?_0x2b6116:0x0,_0x44a1d1=_0x44a1d1!=null?_0x44a1d1:0x1e,_0x24eb74=_0x24eb74!=null?_0x24eb74:0x1e;let _0x5b98c3=0x0,_0x2c6d49=0x0,_0x311642=0x0;_0x5b98c3=_0x2c6d49=_0x311642=Math[_0x233638(0x427)](_0x2b6116,_0x44a1d1/0x2,_0x24eb74/0x2),_0x21c3a2['beginPath'](),_0x21c3a2['moveTo'](_0x5b98c3,0x0),_0x21c3a2[_0x233638(0x37e)](_0x44a1d1-_0x2c6d49,0x0),_0x21c3a2[_0x233638(0x43f)](_0x44a1d1-_0x2c6d49,_0x2c6d49,_0x2c6d49,Math['PI']*0x3/0x2,0x0,!0x1),_0x21c3a2[_0x233638(0x37e)](_0x44a1d1,_0x24eb74-_0x311642),_0x21c3a2[_0x233638(0x43f)](_0x44a1d1-_0x311642,_0x24eb74-_0x311642,_0x311642,0x0,Math['PI']/0x2,!0x1),_0x21c3a2[_0x233638(0x37e)](0x0,_0x24eb74),_0x21c3a2[_0x233638(0x37e)](0x0,_0x5b98c3),_0x21c3a2[_0x233638(0x43f)](_0x5b98c3,_0x5b98c3,_0x5b98c3,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x21c3a2[_0x233638(0x2f7)](),_0x2228f8[_0x233638(0x233)]&&(_0x21c3a2[_0x233638(0x2b9)](),_0x21c3a2['fillStyle']=_0x2228f8[_0x233638(0x233)],_0x2228f8[_0x233638(0x26b)]===_0x233638(0x1fa)?_0x21c3a2[_0x233638(0x233)](_0x233638(0x1fa)):_0x21c3a2['fill'](),_0x21c3a2[_0x233638(0x299)]());}class _0x7c97eb extends _0x3ed47a[_0x2aac72(0x1d0)]{constructor(_0x373a25,_0x30c602){const _0x2d34a8=_0x2aac72;super(_0x373a25,_0x30c602),_0x1c8185(this,_0x2d34a8(0x22b)),_0x1c8185(this,_0x2d34a8(0x2b0)),(this[_0x2d34a8(0x22b)]=_0x30c602==null?void 0x0:_0x30c602['color'],this[_0x2d34a8(0x2b0)]=_0x30c602==null?void 0x0:_0x30c602[_0x2d34a8(0x2b0)]);}static[_0x2aac72(0x1b3)](_0x2a2d66,_0x2c6a66){const _0xc8af5=_0x2aac72,{text:_0x593426,color:_0xa6128d}=_0x2c6a66;_0x2a2d66[_0xc8af5(0x2b9)](),_0x2a2d66[_0xc8af5(0x24c)]=_0xc8af5(0x331);const _0x5775bf=_0x2a2d66['measureText'](_0x593426)[_0xc8af5(0x312)],_0x5c19a5=Math[_0xc8af5(0x427)](_0x5775bf+0x2*_0x3fd393,_0x4cca83);_0x5ef45d(_0x2a2d66,{'height':_0x4be509,'radius':0x4,'width':_0x5c19a5,'fill':_0xa6128d}),_0x2a2d66[_0xc8af5(0x328)]=_0xc8af5(0x33f);const _0x41ae6f=_0x3fd393,_0x30f6ce=_0x4be509-_0x26eec4,_0x4f49de=_0x4cca83-0x2*_0x3fd393;if(_0x5775bf>_0x4f49de){let _0xcb4688='',_0x18a7ac=0x0;for(const _0x19c120 of _0x593426){const _0x79cf=_0x2a2d66[_0xc8af5(0x37d)](_0x19c120)['width'];if(_0x18a7ac+_0x79cf<=_0x4f49de-_0x2a2d66[_0xc8af5(0x37d)](_0xc8af5(0x361))[_0xc8af5(0x312)])_0xcb4688+=_0x19c120,_0x18a7ac+=_0x79cf;else{_0xcb4688+=_0xc8af5(0x361);break;}}_0x2a2d66['fillText'](_0xcb4688,_0x41ae6f,_0x30f6ce);}else _0x2a2d66[_0xc8af5(0x38d)](_0x593426,_0x41ae6f,_0x30f6ce);_0x2a2d66[_0xc8af5(0x299)]();}['_draw'](_0x1bda73){const _0x14f956=_0x2aac72;_0x7c97eb[_0x14f956(0x1b3)](_0x1bda73,this);}}const _0x291f7c=_0x2aac72(0x324),_0x11c335=_0x2aac72(0x42d),_0x31df0a=_0x2aac72(0x2a5),_0x573564=0x6,_0x3a1f68=1.5,_0xd0ee04=0x4,_0x24d060=1.5,_0x5b1403='rgba(255,\x20255,\x20255,\x200.01)';class _0x297e7e{constructor(_0x5cbb31,_0x4b0370,_0xfa0693,_0x1dfc8a){const _0x170d7c=_0x2aac72;_0x1c8185(this,_0x170d7c(0x345),[]),_0x1c8185(this,_0x170d7c(0x36f),null),_0x1c8185(this,_0x170d7c(0x30b),null),_0x1c8185(this,_0x170d7c(0x1ec),null),_0x1c8185(this,_0x170d7c(0x349),null),_0x1c8185(this,_0x170d7c(0x3be),null),(this[_0x170d7c(0x296)]=_0x5cbb31,this[_0x170d7c(0x2a7)]=_0x4b0370,this['_docSkeleton']=_0xfa0693,this[_0x170d7c(0x2da)]=_0x1dfc8a,this['_render']());}set[_0x2aac72(0x2a2)](_0x45f3dc){const _0x30b9f7=_0x2aac72;_0x45f3dc?(this[_0x30b9f7(0x1ec)]&&this[_0x30b9f7(0x1ec)]['hide'](),this[_0x30b9f7(0x30b)]&&this[_0x30b9f7(0x30b)][_0x30b9f7(0x22e)]()):(this[_0x30b9f7(0x1ec)]&&this[_0x30b9f7(0x1ec)][_0x30b9f7(0x22e)](),this['_textBubble']&&this[_0x30b9f7(0x30b)]['hide']());}['dispose'](){const _0xb69a9e=_0x2aac72;for(const _0x2b058e of this['_shapes'])_0x2b058e['dispose']();this[_0xb69a9e(0x30b)]&&this[_0xb69a9e(0x30b)][_0xb69a9e(0x3dc)](),this['_anchorDot']&&this[_0xb69a9e(0x1ec)][_0xb69a9e(0x3dc)](),this[_0xb69a9e(0x36f)]&&this['_anchor']['dispose'](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x2aac72(0x40d)](){const _0x49a11f=_0x2aac72;var _0x5cf38b;const {_docSkeleton:_0x4f8fc2,_document:_0x51ee20}=this,{color:_0x5e9509,name:_0x4643b5,ranges:_0x14c53b}=this[_0x49a11f(0x296)],_0x20faeb=_0x51ee20['getOffsetConfig'](),{docsLeft:_0xc46f68,docsTop:_0x2a81ee}=_0x20faeb,_0x2e2423=new _0x4a4345[(_0x49a11f(0x2c9))](_0x20faeb,_0x4f8fc2);for(const {startOffset:_0x55bf1b,endOffset:_0x4aea12,rangeType:_0xae6757,segmentId:_0x50cec4,segmentPage:_0x15adbb,collapsed:_0x54cd2c,isActive:_0x1098b2}of _0x14c53b){const _0x4ea21f=_0x4f8fc2[_0x49a11f(0x2ff)](_0x55bf1b,!0x0,_0x50cec4,_0x15adbb);let _0x18b0c3=_0x4f8fc2[_0x49a11f(0x2ff)](_0x4aea12,!0x0,_0x50cec4,_0x15adbb);if(_0x18b0c3==null&&(_0x18b0c3=_0x4f8fc2[_0x49a11f(0x2ff)](_0x4aea12-0x1,!0x1,_0x50cec4,_0x15adbb)),_0x1098b2){const {contentBoxPointGroup:_0x43ee56}=_0x2e2423[_0x49a11f(0x2a1)](_0x18b0c3,_0x18b0c3);if(_0x43ee56[_0x49a11f(0x2d6)]===0x0)continue;this[_0x49a11f(0x319)](_0x5e9509,_0x43ee56,_0xc46f68,_0x2a81ee,_0x4643b5),this[_0x49a11f(0x3be)]=this[_0x49a11f(0x435)]();}if(_0x4ea21f&&_0x18b0c3){if(_0xae6757===_0x359b28[_0x49a11f(0x412)]['RECT']){const _0x3e39a7=new _0x4a4345[(_0x49a11f(0x3e9))](_0x20faeb,_0x4f8fc2),{pointGroup:_0x4f267e}=(_0x5cf38b=_0x3e39a7[_0x49a11f(0x2a1)](_0x4ea21f,_0x18b0c3))!=null?_0x5cf38b:{};if(_0x4f267e==null||_0x4f267e['length']===0x0)continue;this['_drawRectRange'](_0x5e9509,_0x4f267e,_0xc46f68,_0x2a81ee);}else{if(!_0x54cd2c){const {borderBoxPointGroup:_0xb5bd6f}=_0x2e2423[_0x49a11f(0x2a1)](_0x4ea21f,_0x18b0c3);if(_0xb5bd6f[_0x49a11f(0x2d6)]===0x0)continue;this[_0x49a11f(0x43a)](_0x5e9509,_0xb5bd6f,_0xc46f68,_0x2a81ee);}}}}}[_0x2aac72(0x319)](_0x4ee009,_0x2d855a,_0x7348a1,_0x444681,_0x2ac839){const _0x6f3b09=_0x2aac72,_0x320d7f=this['_getAnchorBounding'](_0x2d855a),{left:_0x580568,top:_0x21a3b8,height:_0x4e552d}=_0x320d7f,_0x18c331=this[_0x6f3b09(0x2ce)](),_0x157ed5=_0x24d060/_0x18c331,_0x31d3e0=new _0x3ed47a[(_0x6f3b09(0x418))](_0x291f7c+_0x359b28['Tools'][_0x6f3b09(0x219)](_0x573564),{'left':_0x580568+_0x7348a1-_0x157ed5,'top':_0x21a3b8+_0x444681,'height':_0x4e552d,'width':_0x3a1f68,'fill':_0x4ee009||_0x3ed47a[_0x6f3b09(0x2bb)](_0x359b28[_0x6f3b09(0x3e4)][_0x6f3b09(0x3de)],0x0),'strokeWidth':_0x157ed5,'stroke':_0x5b1403,'evented':!0x0});this[_0x6f3b09(0x36f)]=_0x31d3e0,this[_0x6f3b09(0x2a7)][_0x6f3b09(0x218)](_0x31d3e0,_0x4a4345[_0x6f3b09(0x2ee)]);const _0x5180f2=new _0x3ed47a[(_0x6f3b09(0x418))](_0x291f7c+_0x359b28[_0x6f3b09(0x383)]['generateRandomId'](_0x573564),{'left':_0x580568+_0x7348a1-_0x157ed5,'top':_0x21a3b8+_0x444681-_0xd0ee04/0x2,'height':_0xd0ee04,'width':_0xd0ee04,'fill':_0x4ee009||_0x3ed47a[_0x6f3b09(0x2bb)](_0x359b28[_0x6f3b09(0x3e4)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x4ee009||_0x3ed47a['getColor'](_0x359b28[_0x6f3b09(0x3e4)][_0x6f3b09(0x3de)],0x0),'evented':!0x1});this['_anchorDot']=_0x5180f2,this[_0x6f3b09(0x2a7)][_0x6f3b09(0x218)](_0x5180f2,_0x4a4345[_0x6f3b09(0x2ee)]);const _0xc4f76b=new _0x7c97eb(_0x291f7c+_0x359b28['Tools'][_0x6f3b09(0x219)](_0x573564),{'left':_0x580568+_0x7348a1-_0x157ed5,'top':_0x21a3b8+_0x444681-_0x4be509,'text':_0x2ac839,'color':_0x4ee009});this['_textBubble']=_0xc4f76b,this[_0x6f3b09(0x2a7)][_0x6f3b09(0x218)](_0xc4f76b,_0x4a4345[_0x6f3b09(0x2ee)]),this[_0x6f3b09(0x2a2)]=!0x1;}['_handleHover'](){const _0x57f3df=_0x2aac72,_0x28a932=this[_0x57f3df(0x36f)][_0x57f3df(0x272)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x4f79e7=this[_0x57f3df(0x36f)]['onPointerLeave$'][_0x57f3df(0x3c5)](()=>{this['_hideTimer']&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x404477=_0x57f3df;_0x28a932[_0x404477(0x2d0)](),_0x4f79e7[_0x404477(0x2d0)]();};}['_drawTextRange'](_0x22e9ca,_0x37a03d,_0x5887ac,_0x1e1f48){const _0x1ebd51=_0x2aac72,_0x376321=new _0x359b28[(_0x1ebd51(0x286))](_0x22e9ca)[_0x1ebd51(0x25a)](0.2)[_0x1ebd51(0x35b)](),_0x599d07=new _0x3ed47a[(_0x1ebd51(0x40f))](_0x11c335+_0x359b28['Tools'][_0x1ebd51(0x219)](_0x573564),{'pointsGroup':_0x37a03d,'fill':_0x376321||_0x3ed47a[_0x1ebd51(0x2bb)](_0x359b28[_0x1ebd51(0x3e4)][_0x1ebd51(0x3de)],0.2),'left':_0x5887ac,'top':_0x1e1f48,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x1ebd51(0x423)](_0x599d07),this['_scene'][_0x1ebd51(0x218)](_0x599d07,_0x4a4345[_0x1ebd51(0x2ee)]);}['_drawRectRange'](_0x1c6c4f,_0x124a0a,_0x3728fa,_0x574e76){const _0x57af4f=_0x2aac72,_0x5eb05a=new _0x359b28['ColorKit'](_0x1c6c4f)[_0x57af4f(0x25a)](0.2)['toRgbString'](),_0x1fcb8c=new _0x3ed47a['RegularPolygon'](_0x31df0a+_0x359b28[_0x57af4f(0x383)][_0x57af4f(0x219)](_0x573564),{'pointsGroup':_0x124a0a,'fill':_0x5eb05a||_0x3ed47a[_0x57af4f(0x2bb)](_0x359b28[_0x57af4f(0x3e4)][_0x57af4f(0x3de)],0.2),'left':_0x3728fa,'top':_0x574e76,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x57af4f(0x345)][_0x57af4f(0x423)](_0x1fcb8c),this['_scene'][_0x57af4f(0x218)](_0x1fcb8c,_0x4a4345[_0x57af4f(0x2ee)]);}[_0x2aac72(0x1ab)](_0x85d182){const _0x248614=_0x85d182[0x0],_0x239a79=_0x248614[0x0],_0x4d2214=_0x248614[0x2],{x:_0x28e537,y:_0x5cba06}=_0x239a79,{x:_0x99c328,y:_0x1f6573}=_0x4d2214;return{'left':_0x28e537,'top':_0x5cba06,'width':_0x99c328-_0x28e537,'height':_0x1f6573-_0x5cba06};}[_0x2aac72(0x2ce)](){const _0x397a99=_0x2aac72,{scaleX:_0xbd16c9,scaleY:_0xd94c90}=this['_scene']['getAncestorScale']();return Math[_0x397a99(0x270)](_0xbd16c9,_0xd94c90);}}var _0x20f487=Object['getOwnPropertyDescriptor'],_0x70c14d=(_0x156530,_0xad0c1c,_0x2ccd81,_0xf08bc)=>{for(var _0x238017=_0xf08bc>0x1?void 0x0:_0xf08bc?_0x20f487(_0xad0c1c,_0x2ccd81):_0xad0c1c,_0x5ed785=_0x156530['length']-0x1,_0x18725d;_0x5ed785>=0x0;_0x5ed785--)(_0x18725d=_0x156530[_0x5ed785])&&(_0x238017=_0x18725d(_0x238017)||_0x238017);return _0x238017;},_0x3b7beb=(_0x2198a6,_0x46c9b5)=>(_0x5a45c4,_0x2aae32)=>_0x46c9b5(_0x5a45c4,_0x2aae32,_0x2198a6);let _0x3ed32a=class extends _0x359b28[_0x2aac72(0x1cb)]{constructor(_0xebcef1,_0x37d2b1,_0x14f700,_0x17a746,_0x38fef6){const _0x41f88f=_0x2aac72;super(),_0x1c8185(this,_0x41f88f(0x402),[]),_0x1c8185(this,_0x41f88f(0x39a),[]),(this[_0x41f88f(0x21c)]=_0xebcef1,this[_0x41f88f(0x1b1)]=_0x37d2b1,this['_collabCursorController']=_0x14f700,this[_0x41f88f(0x3da)]=_0x17a746,this[_0x41f88f(0x3c7)]=_0x38fef6,this[_0x41f88f(0x3d9)]());}[_0x2aac72(0x3d9)](){const _0x50e7bb=_0x2aac72,_0x4beb6a=this[_0x50e7bb(0x21c)][_0x50e7bb(0x3c9)],_0x579708=this[_0x50e7bb(0x1b1)];this['disposeWithMe'](_0xd7a771[_0x50e7bb(0x1be)]([this['_collabCursorController'][_0x50e7bb(0x2ac)](_0x4beb6a),this['_themeService'][_0x50e7bb(0x3a0)]])[_0x50e7bb(0x3c8)](_0xf6eebe['map'](([_0x9ebc68,_0x3e7ad2])=>({'skeleton':_0x579708[_0x50e7bb(0x251)](),'cursors':[..._0x9ebc68[_0x50e7bb(0x1d1)]()][_0x50e7bb(0x3fc)](_0xfc5a5d=>({..._0xfc5a5d,'color':this[_0x50e7bb(0x3c7)]['getColorFromTheme'](_0xfc5a5d[_0x50e7bb(0x22b)])}))})))[_0x50e7bb(0x24d)](_0x22423f=>{const _0x5a6532=_0x50e7bb;if(this[_0x5a6532(0x2af)](),_0x22423f){const {skeleton:_0x44234d,cursors:_0x3794c0}=_0x22423f;this[_0x5a6532(0x266)](_0x44234d,_0x3794c0);}})),this[_0x50e7bb(0x271)](),this[_0x50e7bb(0x292)]();}[_0x2aac72(0x266)](_0x1dfbf9,_0x50628b){const _0xaad4bd=_0x2aac72,{scene:_0x54b2b0,mainComponent:_0x31b36a}=this['_context'],_0x158b42=_0x50628b[_0xaad4bd(0x285)](_0x6aaf8f=>new _0x297e7e(_0x6aaf8f,_0x54b2b0,_0x1dfbf9,_0x31b36a));this['_cursorShapes']=_0x158b42,this[_0xaad4bd(0x39a)]=_0x50628b;}[_0x2aac72(0x308)](){const _0x2177be=_0x2aac72;this['_removeCollabCursors']();const {scene:_0x5e9143,mainComponent:_0x323a84}=this[_0x2177be(0x21c)],_0x4433dc=this[_0x2177be(0x1b1)][_0x2177be(0x251)](),_0x4fd552=this['_cursors'][_0x2177be(0x285)](_0x2bd2cc=>new _0x297e7e(_0x2bd2cc,_0x5e9143,_0x4433dc,_0x323a84));this[_0x2177be(0x402)]=_0x4fd552;}['_removeCollabCursors'](){const _0x45dcfc=_0x2aac72;this[_0x45dcfc(0x402)][_0x45dcfc(0x406)](_0x2561c2=>_0x2561c2[_0x45dcfc(0x3dc)]()),this['_cursorShapes']=[];}[_0x2aac72(0x292)](){const _0x2a3e5e=_0x2aac72,_0xf89ad2=[_0x4a4345['SetDocZoomRatioOperation']['id']];this[_0x2a3e5e(0x238)](this[_0x2a3e5e(0x3da)][_0x2a3e5e(0x1e0)](_0x27e602=>{const _0xecd380=_0x2a3e5e;_0xf89ad2[_0xecd380(0x38f)](_0x27e602['id'])&&_0x27e602['params'][_0xecd380(0x3c9)]===this['_context'][_0xecd380(0x3c9)]&&this[_0xecd380(0x308)]();}));}[_0x2aac72(0x271)](){const _0x174fbd=_0x2aac72;this[_0x174fbd(0x238)](_0x359b28[_0x174fbd(0x3ff)](this['_context'][_0x174fbd(0x23b)]['onTransformChange$'])['pipe'](_0xf6eebe[_0x174fbd(0x1cc)](_0x2042dc=>_0x2042dc['type']===_0x3ed47a['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x174fbd(0x226)]),_0xf6eebe['throttleTime'](0x10))['subscribe'](()=>{const _0x49d580=_0x174fbd;this[_0x49d580(0x308)]();}));}};_0x3ed32a=_0x70c14d([_0x3b7beb(0x1,_0x359b28['Inject'](_0x133a4c[_0x2aac72(0x262)])),_0x3b7beb(0x2,_0x359b28['Inject'](_0x229012)),_0x3b7beb(0x3,_0x359b28[_0x2aac72(0x1e2)]),_0x3b7beb(0x4,_0x359b28[_0x2aac72(0x25c)](_0x359b28[_0x2aac72(0x2d4)]))],_0x3ed32a);const _0x2cdb79=0x1,_0x5ae2bc=1.5;class _0xe5b0aa extends _0x3ed47a[_0x2aac72(0x1d0)]{constructor(_0x5366f0,_0x198a76){const _0x3c6b98=_0x2aac72;super(_0x5366f0,_0x198a76),_0x1c8185(this,_0x3c6b98(0x341)),_0x1c8185(this,'_hovered',!0x1),_0x1c8185(this,_0x3c6b98(0x300)),_0x1c8185(this,_0x3c6b98(0x3bf),''),_0x1c8185(this,_0x3c6b98(0x302),_0x3c6b98(0x1fc)),_0x1c8185(this,_0x3c6b98(0x2c1)),(_0x198a76&&this['setShapeProps'](_0x198a76),this[_0x3c6b98(0x272)]['subscribeEvent'](()=>this[_0x3c6b98(0x1ba)]({'hovered':!0x0})),this[_0x3c6b98(0x1e5)][_0x3c6b98(0x3c5)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x2aac72(0x1ba)](_0x5a72b2){const _0xd30c06=_0x2aac72;var _0x190d2f,_0x3d4103,_0x56c72b,_0x14b8f8,_0x5f40bd,_0x28f3a7;this[_0xd30c06(0x341)]=(_0x190d2f=_0x5a72b2[_0xd30c06(0x22b)])!=null?_0x190d2f:this[_0xd30c06(0x341)],this['_hovered']=(_0x3d4103=_0x5a72b2[_0xd30c06(0x1ad)])!=null?_0x3d4103:this[_0xd30c06(0x389)],this[_0xd30c06(0x300)]=(_0x56c72b=_0x5a72b2['range'])!=null?_0x56c72b:this[_0xd30c06(0x300)],this[_0xd30c06(0x3bf)]=(_0x14b8f8=_0x5a72b2[_0xd30c06(0x379)])!=null?_0x14b8f8:this[_0xd30c06(0x3bf)],this[_0xd30c06(0x302)]=(_0x5f40bd=_0x5a72b2[_0xd30c06(0x2e0)])!=null?_0x5f40bd:this[_0xd30c06(0x302)],this['_backgroundColor']=(_0x28f3a7=_0x5a72b2[_0xd30c06(0x1c1)])!=null?_0x28f3a7:this[_0xd30c06(0x2c1)],this['transformByState']({'width':_0x5a72b2[_0xd30c06(0x312)],'height':_0x5a72b2[_0xd30c06(0x3ce)]});}['onMouseMove'](_0x17870d){const _0x3680d4=_0x2aac72,{row:_0x5b534a,column:_0x2d2ccf}=_0x17870d;if(_0x5b534a>=this[_0x3680d4(0x300)]['startRow']&&_0x5b534a<=this[_0x3680d4(0x300)][_0x3680d4(0x291)]&&_0x2d2ccf>=this[_0x3680d4(0x300)]['startColumn']&&_0x2d2ccf<=this[_0x3680d4(0x300)][_0x3680d4(0x429)]){this[_0x3680d4(0x1ba)]({'hovered':!0x0});return;}this[_0x3680d4(0x1ba)]({'hovered':!0x1});}[_0x2aac72(0x287)](_0x37a825){return!0x1;}[_0x2aac72(0x2c4)](_0x5f428f){const _0xab2d54=_0x2aac72;_0x3ed47a['Rect'][_0xab2d54(0x1b3)](_0x5f428f,{'width':this[_0xab2d54(0x312)],'height':this[_0xab2d54(0x3ce)],'strokeWidth':_0x5ae2bc,'stroke':this[_0xab2d54(0x341)],'evented':!0x1,'fill':this[_0xab2d54(0x2c1)]}),this[_0xab2d54(0x389)]&&(_0x5f428f[_0xab2d54(0x2b9)](),_0x5f428f[_0xab2d54(0x210)](0x1,0x0,0x0,0x1,this[_0xab2d54(0x312)],this[_0xab2d54(0x302)]===_0xab2d54(0x3dd)?0x0:-0x14),_0x7c97eb[_0xab2d54(0x1b3)](_0x5f428f,{'text':this[_0xab2d54(0x3bf)],'color':this['_color']}),_0x5f428f[_0xab2d54(0x299)]());}}var _0x43de66=Object[_0x2aac72(0x1f7)],_0x569f36=(_0x262dae,_0x4a1d68,_0x28774a,_0x9a4e36)=>{const _0x6d8b6c=_0x2aac72;for(var _0x247d4b=_0x9a4e36>0x1?void 0x0:_0x9a4e36?_0x43de66(_0x4a1d68,_0x28774a):_0x4a1d68,_0x1d32e0=_0x262dae[_0x6d8b6c(0x2d6)]-0x1,_0x4f8df0;_0x1d32e0>=0x0;_0x1d32e0--)(_0x4f8df0=_0x262dae[_0x1d32e0])&&(_0x247d4b=_0x4f8df0(_0x247d4b)||_0x247d4b);return _0x247d4b;},_0x547402=(_0x48d0bc,_0xe1f523)=>(_0x25d36d,_0x98fce8)=>_0xe1f523(_0x25d36d,_0x98fce8,_0x48d0bc);const _0x4418a5=0x1389;let _0x43f166=class extends _0x359b28[_0x2aac72(0x1cb)]{constructor(_0x3cfcb1,_0x28d6c4,_0x346034,_0x4966f2){const _0x24c6c8=_0x2aac72;super(),_0x1c8185(this,_0x24c6c8(0x39a),new Set()),_0x1c8185(this,_0x24c6c8(0x360),null),(this['_context']=_0x3cfcb1,this[_0x24c6c8(0x1ea)]=_0x28d6c4,this[_0x24c6c8(0x2aa)]=_0x346034,this[_0x24c6c8(0x3c7)]=_0x4966f2,this['_init']());}['_init'](){const _0x2e28d5=_0x2aac72;this[_0x2e28d5(0x1ea)]['currentSkeleton$'][_0x2e28d5(0x3c8)](_0xf6eebe[_0x2e28d5(0x390)](this[_0x2e28d5(0x2a8)]),_0xf6eebe[_0x2e28d5(0x3f1)](_0x47e80c=>{const _0x24f6cd=_0x2e28d5;if(_0x47e80c){const _0x3da1f4=_0x47e80c['sheetId'];return _0xd7a771[_0x24f6cd(0x1be)](this[_0x24f6cd(0x2aa)][_0x24f6cd(0x2ac)](this['_context'][_0x24f6cd(0x3c9)]),this['_themeService'][_0x24f6cd(0x3a0)])[_0x24f6cd(0x3c8)](_0xf6eebe[_0x24f6cd(0x285)](([_0x2e3635,_0x43fc38])=>{const _0x2925c9=_0x24f6cd,_0x145d76=new Map();return _0x2e3635[_0x2925c9(0x406)]((_0x4a8c8e,_0x52a1bb)=>{const _0x23d046=_0x2925c9;if(_0x4a8c8e[_0x23d046(0x1f0)]===_0x3da1f4){const _0x40c0eb={..._0x4a8c8e};_0x40c0eb[_0x23d046(0x22b)]=this[_0x23d046(0x3c7)][_0x23d046(0x280)](_0x4a8c8e['color']),_0x145d76['set'](_0x52a1bb,_0x40c0eb);}}),{'skeleton':_0x47e80c,'cursors':_0x145d76};}));}return _0xd7a771['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x447e18,cursors:_0x33133f})=>{const _0x481cab=_0x2e28d5;this['_removeCollabCursors'](),_0x447e18&&this[_0x481cab(0x266)](_0x447e18,_0x33133f);}),this[_0x2e28d5(0x1ea)][_0x2e28d5(0x416)][_0x2e28d5(0x24d)](_0x322b2c=>{const _0x577b7a=_0x2e28d5;if(_0x322b2c==null)return;const {skeleton:_0xf1cad4}=_0x322b2c,{scene:_0x4e2ba0}=this[_0x577b7a(0x21c)];_0x4e2ba0[_0x577b7a(0x27d)][_0x577b7a(0x3c5)](_0x359b28[_0x577b7a(0x436)](_0x508900=>{const _0x100e2a=_0x577b7a;var _0xdb7e39,_0x5e3e23;const {offsetX:_0x543d42,offsetY:_0x3ac73}=_0x508900,{x:_0x12c1b2,y:_0x414b75}=_0x4e2ba0[_0x100e2a(0x385)](_0x3ed47a[_0x100e2a(0x263)][_0x100e2a(0x253)]([_0x543d42,_0x3ac73])),{scaleX:_0x2990ee,scaleY:_0x26949e}=_0x4e2ba0[_0x100e2a(0x3fd)](),_0xe30124=_0x4e2ba0[_0x100e2a(0x31f)](_0x3ed47a['SHEET_VIEWPORT_KEY'][_0x100e2a(0x1c3)]),_0x1f690a=_0x4e2ba0[_0x100e2a(0x257)](_0x3ed47a[_0x100e2a(0x263)][_0x100e2a(0x253)]([_0x12c1b2,_0x414b75]),_0xe30124),_0xeac947=_0xf1cad4[_0x100e2a(0x373)](_0x543d42,_0x3ac73,_0x2990ee,_0x26949e,_0x1f690a);((_0xdb7e39=this[_0x100e2a(0x360)])==null?void 0x0:_0xdb7e39['column'])===_0xeac947['column']&&((_0x5e3e23=this[_0x100e2a(0x360)])==null?void 0x0:_0x5e3e23[_0x100e2a(0x348)])===_0xeac947[_0x100e2a(0x348)]||this['_cursors']['forEach'](_0x456c5f=>{const _0x2b6a63=_0x100e2a;_0x456c5f[_0x2b6a63(0x208)](_0xeac947);});},0x64));});}[_0x2aac72(0x266)](_0x3875d0,_0x10026c){const _0x3ec67d=_0x2aac72;var _0x37659d;const _0x3fb788=(_0x37659d=this[_0x3ec67d(0x1ea)][_0x3ec67d(0x33a)]())==null?void 0x0:_0x37659d[_0x3ec67d(0x224)];if(!_0x3fb788)return;const _0x1f3a3a=this['_getSheetObject']();if(!_0x1f3a3a)return;this[_0x3ec67d(0x39a)][_0x3ec67d(0x406)](_0x1c6aff=>{_0x1c6aff['makeDirty']();});const {scene:_0x4db105}=_0x1f3a3a,_0x5b1caa=_0x2fff67(Array[_0x3ec67d(0x2f1)](_0x10026c[_0x3ec67d(0x1d1)]()))[_0x3ec67d(0x285)](_0x35d990=>{const _0x594de6=_0x3ec67d,{color:_0x3efc07,range:_0x33f522,name:_0x5aee41,selection:_0xe85dd7,sheetID:_0x37cbdc}=_0x35d990,{startColumn:_0x384a48,startRow:_0x5e808f,endColumn:_0x4310bf,endRow:_0x2557d5}=_0x33f522,_0x4a6a1a=_0x231ad7['getCoordByCell'](_0x5e808f,_0x384a48,_0x4db105,_0x3fb788),_0x14ef3c=_0x231ad7[_0x594de6(0x3cf)](_0x2557d5,_0x4310bf,_0x4db105,_0x3fb788),{columnHeaderHeightAndMarginTop:_0xca065e}=_0x3fb788,{startX:_0x352e1f,startY:_0x561347}=_0x4a6a1a,{endX:_0x3de73c,endY:_0x5e8188}=_0x14ef3c,_0x4e1639=_0x3de73c-_0x352e1f,_0x143758=_0x5e8188-_0x561347,_0x1d1f05={'labelPosition':_0x561347-_0xca065e>=_0x4be509?_0x594de6(0x1fc):_0x594de6(0x3dd),'sheetID':_0x37cbdc,'range':_0x33f522,'color':_0x3efc07,'name':_0x5aee41,'selection':_0xe85dd7,'left':_0x352e1f,'top':_0x561347,'width':_0x4e1639,'height':_0x143758,'evented':!0x1,'zIndex':_0x4418a5};return new _0xe5b0aa(_0x5aee41,_0x1d1f05);});_0x4db105[_0x3ec67d(0x431)](_0x5b1caa,_0x2cdb79),this[_0x3ec67d(0x39a)]=new Set(_0x5b1caa);}[_0x2aac72(0x2af)](){const _0x49c59e=_0x2aac72;var _0x5e994b;(_0x5e994b=this['_cursors'])==null||_0x5e994b['forEach'](_0x30680f=>_0x30680f[_0x49c59e(0x3dc)]());}[_0x2aac72(0x2b3)](){const _0x3c000d=_0x2aac72;return _0x231ad7[_0x3c000d(0x1c5)](this[_0x3c000d(0x21c)][_0x3c000d(0x330)],this[_0x3c000d(0x21c)]);}};_0x43f166=_0x569f36([_0x547402(0x1,_0x359b28[_0x2aac72(0x25c)](_0x231ad7[_0x2aac72(0x396)])),_0x547402(0x2,_0x359b28[_0x2aac72(0x25c)](_0x229012)),_0x547402(0x3,_0x359b28[_0x2aac72(0x25c)](_0x359b28[_0x2aac72(0x2d4)]))],_0x43f166);function _0x2fff67(_0x2f950b){const _0x40f89f=_0x2aac72,_0xc42949=new Map();return _0x2f950b['forEach'](_0x5be90a=>{const _0x3ebdb2=_0x527c;if(_0xc42949[_0x3ebdb2(0x398)](_0x5be90a[_0x3ebdb2(0x211)])){const _0x26fd69=_0xc42949[_0x3ebdb2(0x28a)](_0x5be90a[_0x3ebdb2(0x211)]);_0x26fd69['name']+=',\x20'+_0x5be90a['name'];}else _0xc42949[_0x3ebdb2(0x227)](_0x5be90a[_0x3ebdb2(0x211)],_0x5be90a);}),Array['from'](_0xc42949[_0x40f89f(0x1d1)]());}var _0x2c6ad6=function(){const _0x5153c5=_0x2aac72;return _0x2c6ad6=Object[_0x5153c5(0x20f)]||function(_0xd23c2c){const _0x20e650=_0x5153c5;for(var _0x55df60,_0x32185b=0x1,_0x1c208e=arguments['length'];_0x32185b<_0x1c208e;_0x32185b++){_0x55df60=arguments[_0x32185b];for(var _0x49535f in _0x55df60)Object[_0x20e650(0x1e9)][_0x20e650(0x229)][_0x20e650(0x43d)](_0x55df60,_0x49535f)&&(_0xd23c2c[_0x49535f]=_0x55df60[_0x49535f]);}return _0xd23c2c;},_0x2c6ad6[_0x5153c5(0x34c)](this,arguments);},_0x1ac944=function(_0x4e2416,_0x5301dc){const _0x53a2e9=_0x2aac72;var _0x1cbb94={};for(var _0x63d7a2 in _0x4e2416)Object[_0x53a2e9(0x1e9)][_0x53a2e9(0x229)][_0x53a2e9(0x43d)](_0x4e2416,_0x63d7a2)&&_0x5301dc[_0x53a2e9(0x27c)](_0x63d7a2)<0x0&&(_0x1cbb94[_0x63d7a2]=_0x4e2416[_0x63d7a2]);if(_0x4e2416!=null&&typeof Object[_0x53a2e9(0x22f)]==_0x53a2e9(0x375)){for(var _0x2f5c16=0x0,_0x63d7a2=Object[_0x53a2e9(0x22f)](_0x4e2416);_0x2f5c16<_0x63d7a2[_0x53a2e9(0x2d6)];_0x2f5c16++)_0x5301dc[_0x53a2e9(0x27c)](_0x63d7a2[_0x2f5c16])<0x0&&Object[_0x53a2e9(0x1e9)][_0x53a2e9(0x1ff)][_0x53a2e9(0x43d)](_0x4e2416,_0x63d7a2[_0x2f5c16])&&(_0x1cbb94[_0x63d7a2[_0x2f5c16]]=_0x4e2416[_0x63d7a2[_0x2f5c16]]);}return _0x1cbb94;},_0x261eb2=_0xd0c191[_0x2aac72(0x2f9)](function(_0x2811c9,_0x4a26fa){const _0x48776d=_0x2aac72;var _0x5a1de2=_0x2811c9[_0x48776d(0x26a)],_0x2adfef=_0x2811c9['id'],_0x3ffc0d=_0x2811c9['className'],_0x5261f9=_0x2811c9[_0x48776d(0x201)],_0xac331a=_0x1ac944(_0x2811c9,['icon','id',_0x48776d(0x36d),_0x48776d(0x201)]),_0x2b8e98=_0x48776d(0x37f)[_0x48776d(0x35f)](_0x2adfef,'\x20')[_0x48776d(0x35f)](_0x3ffc0d||'')['trim'](),_0x36a126=_0xd0c191['useRef']('_'[_0x48776d(0x35f)](_0x29f862()));return _0x34821d(_0x5a1de2,''[_0x48776d(0x35f)](_0x2adfef),{'defIds':_0x5a1de2[_0x48776d(0x1e4)],'idSuffix':_0x36a126[_0x48776d(0x3c3)]},_0x2c6ad6({'ref':_0x4a26fa,'className':_0x2b8e98},_0xac331a),_0x5261f9);});function _0x34821d(_0x2b8878,_0x42d2a6,_0x135541,_0x50e321,_0x27e31f){const _0x31b378=_0x2aac72;return _0xd0c191[_0x31b378(0x1c2)](_0x2b8878[_0x31b378(0x2d8)],_0x2c6ad6(_0x2c6ad6({'key':_0x42d2a6},_0x5ef92f(_0x2b8878,_0x135541,_0x27e31f)),_0x50e321),(_0x4db07d(_0x2b8878,_0x135541)[_0x31b378(0x304)]||[])['map'](function(_0x3702ff,_0x2f9149){const _0x3d454f=_0x31b378;return _0x34821d(_0x3702ff,''['concat'](_0x42d2a6,'-')['concat'](_0x2b8878[_0x3d454f(0x2d8)],'-')[_0x3d454f(0x35f)](_0x2f9149),_0x135541,void 0x0,_0x27e31f);}));}function _0x5ef92f(_0x5c2df2,_0x29f2c0,_0xe0a95d){const _0x253084=_0x2aac72;var _0x149588=_0x2c6ad6({},_0x5c2df2['attrs']);_0xe0a95d!=null&&_0xe0a95d[_0x253084(0x3af)]&&_0x149588['fill']==='colorChannel1'&&(_0x149588[_0x253084(0x233)]=_0xe0a95d[_0x253084(0x3af)]),_0x5c2df2[_0x253084(0x2d8)]===_0x253084(0x3e0)&&_0x149588['id']&&(_0x149588['id']=_0x149588['id']+_0x29f2c0[_0x253084(0x2ab)]),Object[_0x253084(0x290)](_0x149588)[_0x253084(0x406)](function(_0x1ec5b0){const _0x2d0845=_0x253084;var _0x4fa982=_0x1ec5b0[0x0],_0x3f3a97=_0x1ec5b0[0x1];_0x4fa982==='mask'&&typeof _0x3f3a97==_0x2d0845(0x282)&&(_0x149588[_0x4fa982]=_0x3f3a97['replace'](/url\(#(.*)\)/,_0x2d0845(0x1b9)['concat'](_0x29f2c0['idSuffix'],')')));});var _0x5376fb=_0x29f2c0[_0x253084(0x1e4)];return!_0x5376fb||_0x5376fb['length']===0x0||(_0x5c2df2[_0x253084(0x2d8)]===_0x253084(0x3b1)&&_0x149588[_0x253084(0x2b6)]&&(_0x149588[_0x253084(0x2b6)]=_0x149588['xlink:href']+_0x29f2c0[_0x253084(0x2ab)]),Object[_0x253084(0x290)](_0x149588)['forEach'](function(_0x55bb30){const _0x3fff68=_0x253084;var _0x365aab=_0x55bb30[0x0],_0x2481f7=_0x55bb30[0x1];typeof _0x2481f7==_0x3fff68(0x282)&&(_0x149588[_0x365aab]=_0x2481f7[_0x3fff68(0x1ae)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x29f2c0['idSuffix'],')')));})),_0x149588;}function _0x4db07d(_0x58c594,_0x11f74f){const _0x283da3=_0x2aac72;var _0x3cc36a,_0x3ac412=_0x11f74f[_0x283da3(0x1e4)];return!_0x3ac412||_0x3ac412[_0x283da3(0x2d6)]===0x0?_0x58c594:_0x58c594[_0x283da3(0x2d8)]===_0x283da3(0x29d)&&(!((_0x3cc36a=_0x58c594[_0x283da3(0x304)])===null||_0x3cc36a===void 0x0)&&_0x3cc36a[_0x283da3(0x2d6)])?_0x2c6ad6(_0x2c6ad6({},_0x58c594),{'children':_0x58c594[_0x283da3(0x304)][_0x283da3(0x285)](function(_0x269a79){const _0x5493ab=_0x283da3;return typeof _0x269a79[_0x5493ab(0x1ed)]['id']==_0x5493ab(0x282)&&_0x3ac412&&_0x3ac412[_0x5493ab(0x38f)](_0x269a79[_0x5493ab(0x1ed)]['id'])?_0x2c6ad6(_0x2c6ad6({},_0x269a79),{'attrs':_0x2c6ad6(_0x2c6ad6({},_0x269a79[_0x5493ab(0x1ed)]),{'id':_0x269a79[_0x5493ab(0x1ed)]['id']+_0x11f74f['idSuffix']})}):_0x269a79;})}):_0x58c594;}function _0x29f862(){const _0x547bf0=_0x2aac72;return Math['random']()['toString'](0x24)[_0x547bf0(0x352)](0x2,0x8);}_0x261eb2[_0x2aac72(0x203)]=_0x2aac72(0x206);var _0x57eeec={'tag':_0x2aac72(0x1eb),'attrs':{'xmlns':_0x2aac72(0x415),'fill':_0x2aac72(0x2c3),'viewBox':_0x2aac72(0x443),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2aac72(0x29f)},'children':[{'tag':_0x2aac72(0x3a6),'attrs':{'stroke':_0x2aac72(0x2d2),'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':_0x2aac72(0x31c),'strokeLinejoin':_0x2aac72(0x31c),'strokeWidth':1.2}}]},{'tag':_0x2aac72(0x29d),'attrs':{},'children':[{'tag':_0x2aac72(0x342),'attrs':{'id':_0x2aac72(0x409)},'children':[{'tag':_0x2aac72(0x3a6),'attrs':{'fill':_0x2aac72(0x25e),'d':_0x2aac72(0x288)}}]}]}],'defIds':[_0x2aac72(0x409)]},_0x2c2f16=_0xd0c191['forwardRef'](function(_0x21788a,_0x3aeace){const _0x54ded3=_0x2aac72;return _0xd0c191[_0x54ded3(0x1c2)](_0x261eb2,Object['assign']({},_0x21788a,{'id':'off-line-icon','ref':_0x3aeace,'icon':_0x57eeec}));});_0x2c2f16[_0x2aac72(0x203)]=_0x2aac72(0x298);var _0x4e0d8d={'tag':_0x2aac72(0x1eb),'attrs':{'xmlns':_0x2aac72(0x415),'fill':'none','viewBox':_0x2aac72(0x2d7),'width':_0x2aac72(0x221),'height':_0x2aac72(0x221)},'children':[{'tag':'g','attrs':{'clipPath':_0x2aac72(0x21b)},'children':[{'tag':_0x2aac72(0x3a6),'attrs':{'stroke':_0x2aac72(0x2d2),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x2aac72(0x31c),'strokeLinejoin':_0x2aac72(0x31c),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2aac72(0x342),'attrs':{'id':_0x2aac72(0x320)},'children':[{'tag':'path','attrs':{'fill':_0x2aac72(0x25e),'d':_0x2aac72(0x288),'transform':'translate(.97)'}}]}]}],'defIds':[_0x2aac72(0x320)]},_0x3b1652=_0xd0c191[_0x2aac72(0x2f9)](function(_0x32e2a8,_0xb2691f){const _0x51db34=_0x2aac72;return _0xd0c191[_0x51db34(0x1c2)](_0x261eb2,Object[_0x51db34(0x20f)]({},_0x32e2a8,{'id':_0x51db34(0x422),'ref':_0xb2691f,'icon':_0x4e0d8d}));});_0x3b1652[_0x2aac72(0x203)]=_0x2aac72(0x1c0);function _0x3aa81f(_0x4d0e01){const _0x1583ab=_0x2aac72;switch(_0x4d0e01){case _0x3fc21c['CollaborationStatus'][_0x1583ab(0x3e8)]:return _0x1583ab(0x2f2);case _0x3fc21c[_0x1583ab(0x261)][_0x1583ab(0x370)]:return _0x1583ab(0x244);case _0x3fc21c[_0x1583ab(0x261)][_0x1583ab(0x243)]:return'collabStatus.fetchMiss';case _0x3fc21c[_0x1583ab(0x261)]['NOT_COLLAB']:return _0x1583ab(0x21f);case _0x3fc21c[_0x1583ab(0x261)][_0x1583ab(0x37a)]:case _0x3fc21c[_0x1583ab(0x261)]['AWAITING_WITH_PENDING']:return _0x1583ab(0x3f9);case _0x3fc21c[_0x1583ab(0x261)][_0x1583ab(0x2f0)]:case _0x3fc21c[_0x1583ab(0x261)][_0x1583ab(0x274)]:return'collabStatus.synced';}}function _0xef02bb(_0x31f38c){const _0x22b957=_0x2aac72,{status$:_0xec80a0}=_0x31f38c,_0x3206f6=_0x203bca[_0x22b957(0x232)](_0xec80a0,_0x3fc21c[_0x22b957(0x261)]['NOT_COLLAB']),_0x2503a0=_0x203bca[_0x22b957(0x309)](_0x359b28['LocaleService']),_0x2365ff=_0x203bca[_0x22b957(0x309)](_0x3fc21c['CollaborationSessionService']),_0x43dac1=_0x3206f6!==_0x3fc21c[_0x22b957(0x261)][_0x22b957(0x3e8)],_0x526691=_0x2503a0['t'](_0x3aa81f(_0x3206f6)),_0x30ebfa=_0x43dac1?_0x1688bd[_0x22b957(0x421)](_0x3b1652,{}):_0x1688bd[_0x22b957(0x421)](_0x2c2f16,{}),_0x2c69fa=_0xd0c191['useCallback'](()=>{const _0x1a04e7=_0x22b957;_0x43dac1||_0x2365ff[_0x1a04e7(0x29e)]();},[_0x43dac1,_0x2365ff]);function _0x543daf(){const _0x5c67aa=_0x22b957;return _0x1688bd[_0x5c67aa(0x220)](_0x5c67aa(0x437),{'className':_0x5c67aa(0x3d3),'onClick':_0x2c69fa,'children':[_0x1688bd[_0x5c67aa(0x421)](_0x5c67aa(0x437),{'className':_0xfc0b26[_0x5c67aa(0x3a4)](_0x5c67aa(0x2e9),{'univer-text-green-500':_0x43dac1,'univer-text-red-500':!_0x43dac1}),'children':_0x30ebfa}),_0x1688bd['jsx'](_0x5c67aa(0x437),{'className':_0x5c67aa(0x363),'children':_0x526691})]});}return _0x43dac1?_0x543daf():_0x1688bd[_0x22b957(0x421)](_0xfc0b26['Tooltip'],{'title':_0x2503a0['t'](_0x22b957(0x362)),'children':_0x543daf()});}var _0x2c1d35=Object['getOwnPropertyDescriptor'],_0x3a15a5=(_0x51390c,_0x2b258f,_0x515cc8,_0x45ef88)=>{const _0x5699ce=_0x2aac72;for(var _0x5d2242=_0x45ef88>0x1?void 0x0:_0x45ef88?_0x2c1d35(_0x2b258f,_0x515cc8):_0x2b258f,_0x3987ec=_0x51390c[_0x5699ce(0x2d6)]-0x1,_0x2da118;_0x3987ec>=0x0;_0x3987ec--)(_0x2da118=_0x51390c[_0x3987ec])&&(_0x5d2242=_0x2da118(_0x5d2242)||_0x5d2242);return _0x5d2242;},_0x5117d1=(_0x4ee331,_0xe2d53)=>(_0x2ea5cc,_0xb569a4)=>_0xe2d53(_0x2ea5cc,_0xb569a4,_0x4ee331);_0x426480[_0x2aac72(0x358)]=class extends _0x359b28[_0x2aac72(0x43e)]{constructor(_0xa06b06,_0x48b02c,_0x4b082d,_0x3614e7){const _0x30dd79=_0x2aac72;super(),_0x1c8185(this,'_status$',new _0xd7a771[(_0x30dd79(0x3aa))](_0x3fc21c[_0x30dd79(0x261)][_0x30dd79(0x252)])),(this['_univerInstanceService']=_0xa06b06,this[_0x30dd79(0x446)]=_0x48b02c,this[_0x30dd79(0x3c2)]=_0x4b082d,this[_0x30dd79(0x276)]=_0x3614e7,this[_0x30dd79(0x22d)](),this[_0x30dd79(0x31e)]());}['_initStatusListener'](){const _0xb1a035=_0x2aac72;this[_0xb1a035(0x238)](this[_0xb1a035(0x3ad)][_0xb1a035(0x392)][_0xb1a035(0x3c8)](_0xd7a771[_0xb1a035(0x3f1)](()=>{const _0x2c3d97=_0xb1a035,_0xef59a4=this[_0x2c3d97(0x3ad)][_0x2c3d97(0x3f2)]();return _0xef59a4?this[_0x2c3d97(0x3c2)][_0x2c3d97(0x228)](_0xef59a4['getUnitId']()):_0xd7a771['of'](null);}),_0xd7a771[_0xb1a035(0x3f1)](_0x1b29a1=>_0x1b29a1?_0x1b29a1[_0xb1a035(0x3c4)]:_0xd7a771['of'](_0x3fc21c[_0xb1a035(0x261)]['NOT_COLLAB'])))[_0xb1a035(0x24d)](_0x5e2025=>{this['_status$']['next'](_0x5e2025);}));}[_0x2aac72(0x22d)](){const _0x3fb432=_0x2aac72;this[_0x3fb432(0x238)](this[_0x3fb432(0x276)]['registerComponent'](_0x203bca['BuiltInUIPart'][_0x3fb432(0x41e)],()=>_0x203bca[_0x3fb432(0x3d5)](_0x1b3e7b({'status$':this[_0x3fb432(0x30f)][_0x3fb432(0x214)]()}),this['_injector'])));}},_0x426480[_0x2aac72(0x358)]=_0x3a15a5([_0x5117d1(0x0,_0x359b28['IUniverInstanceService']),_0x5117d1(0x1,_0x359b28[_0x2aac72(0x25c)](_0x359b28[_0x2aac72(0x1b0)])),_0x5117d1(0x2,_0x359b28['Inject'](_0x3fc21c[_0x2aac72(0x433)])),_0x5117d1(0x3,_0x203bca['IUIPartsService'])],_0x426480[_0x2aac72(0x358)]);function _0x1b3e7b(_0x1c88a8){const {status$:_0x12d4cd}=_0x1c88a8;return function(){const _0x202f39=_0x527c;return _0x1688bd[_0x202f39(0x421)](_0xef02bb,{'status$':_0x12d4cd});};}var _0x493d23=Object[_0x2aac72(0x1f7)],_0x339a0b=(_0x1317f4,_0x27069e,_0xd9f34a,_0x23f1fd)=>{const _0x3540d0=_0x2aac72;for(var _0x30f4d5=_0x23f1fd>0x1?void 0x0:_0x23f1fd?_0x493d23(_0x27069e,_0xd9f34a):_0x27069e,_0x5990e0=_0x1317f4[_0x3540d0(0x2d6)]-0x1,_0x23ce65;_0x5990e0>=0x0;_0x5990e0--)(_0x23ce65=_0x1317f4[_0x5990e0])&&(_0x30f4d5=_0x23ce65(_0x30f4d5)||_0x30f4d5);return _0x30f4d5;},_0x4079c3=(_0x7e6ef4,_0x2844cb)=>(_0x4b6b82,_0x25460d)=>_0x2844cb(_0x4b6b82,_0x25460d,_0x7e6ef4);let _0x540180=class extends _0x359b28[_0x2aac72(0x43e)]{constructor(_0x47a2d1,_0x55b4fd,_0x26841e,_0x3c74ec,_0x3f67da,_0x78c720){const _0x6288fd=_0x2aac72;super(),this[_0x6288fd(0x2a6)]=_0x47a2d1,this['_localCacheService']=_0x55b4fd,this[_0x6288fd(0x1ef)]=_0x26841e,this[_0x6288fd(0x1cd)]=_0x3c74ec,this[_0x6288fd(0x1d2)]=_0x3f67da,this[_0x6288fd(0x246)]=_0x78c720,this[_0x6288fd(0x3a9)](),this[_0x6288fd(0x3c6)]();}[_0x2aac72(0x3a9)](){const _0x4090d3=_0x2aac72;this[_0x4090d3(0x238)](this['_beforeCloseService'][_0x4090d3(0x1d7)](()=>{const _0x32cbff=_0x4090d3;if(this[_0x32cbff(0x2ae)][_0x32cbff(0x23c)][_0x32cbff(0x24e)])return this[_0x32cbff(0x246)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x2aac72(0x3c6)](){const _0x504c8b=_0x2aac72;this[_0x504c8b(0x238)](this[_0x504c8b(0x1ef)]['event$'][_0x504c8b(0x24d)](_0x4228c7=>{const _0x214abb=_0x504c8b;_0x4228c7['id']===_0x3fc21c[_0x214abb(0x33d)][_0x214abb(0x1ac)]&&this[_0x214abb(0x1cd)][_0x214abb(0x22e)]({'type':_0xfc0b26[_0x214abb(0x2c2)][_0x214abb(0x382)],'content':this['_localeService']['t'](_0x214abb(0x301))}),_0x4228c7['id']===_0x3fc21c[_0x214abb(0x33d)][_0x214abb(0x1f5)]&&this[_0x214abb(0x1cd)][_0x214abb(0x22e)]({'type':_0xfc0b26[_0x214abb(0x2c2)][_0x214abb(0x382)],'content':this['_localeService']['t'](_0x214abb(0x2bf))}),_0x4228c7['id']===_0x3fc21c[_0x214abb(0x33d)][_0x214abb(0x3e7)]&&this[_0x214abb(0x1d2)]['show']({'title':this[_0x214abb(0x246)]['t'](_0x214abb(0x1de)),'content':this['_localeService']['t'](_0x214abb(0x25d)),'type':_0x214abb(0x444),'duration':0x0}),_0x4228c7['id']===_0x3fc21c[_0x214abb(0x33d)][_0x214abb(0x370)]&&this[_0x214abb(0x1cd)]['show']({'type':_0xfc0b26[_0x214abb(0x2c2)][_0x214abb(0x2b2)],'content':this[_0x214abb(0x246)]['t'](_0x214abb(0x2bf))+'('+_0x4228c7[_0x214abb(0x3a7)]+')'}),_0x4228c7['id']===_0x3fc21c[_0x214abb(0x33d)][_0x214abb(0x3f7)]&&this['_messageService']['show']({'type':_0xfc0b26[_0x214abb(0x2c2)][_0x214abb(0x382)],'content':this['_localeService']['t'](_0x4228c7[_0x214abb(0x3a7)]||'')}),_0x4228c7['id']===_0x3fc21c[_0x214abb(0x33d)][_0x214abb(0x39f)]&&this[_0x214abb(0x1cd)][_0x214abb(0x22e)]({'type':_0xfc0b26[_0x214abb(0x2c2)][_0x214abb(0x382)],'content':this[_0x214abb(0x246)]['t']('session.will-retry')}),_0x4228c7['id']===_0x3fc21c[_0x214abb(0x33d)][_0x214abb(0x321)]&&this[_0x214abb(0x1cd)][_0x214abb(0x22e)]({'type':_0xfc0b26[_0x214abb(0x2c2)][_0x214abb(0x2b2)],'content':this[_0x214abb(0x246)]['t'](_0x214abb(0x217))}),_0x4228c7['id']===_0x3fc21c[_0x214abb(0x33d)][_0x214abb(0x284)]&&this[_0x214abb(0x1cd)][_0x214abb(0x22e)]({'type':_0xfc0b26['MessageType'][_0x214abb(0x2b2)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x540180=_0x339a0b([_0x4079c3(0x0,_0x203bca[_0x2aac72(0x40b)]),_0x4079c3(0x1,_0x3fc21c['ILocalCacheService']),_0x4079c3(0x2,_0x359b28[_0x2aac72(0x25c)](_0x3fc21c[_0x2aac72(0x353)])),_0x4079c3(0x3,_0x203bca[_0x2aac72(0x3a5)]),_0x4079c3(0x4,_0x203bca['INotificationService']),_0x4079c3(0x5,_0x359b28[_0x2aac72(0x25c)](_0x359b28['LocaleService']))],_0x540180);const _0x8b5bc2=_0x2aac72(0x3b0),_0x29bb51={},_0x3c4fa8=_0x359b28[_0x2aac72(0x1f2)](_0x2aac72(0x242));var _0x178d72=Object[_0x2aac72(0x1f7)],_0x49ce40=(_0x3b5f90,_0xc54042,_0x2b9130,_0x543d66)=>{const _0x576920=_0x2aac72;for(var _0x293b25=_0x543d66>0x1?void 0x0:_0x543d66?_0x178d72(_0xc54042,_0x2b9130):_0xc54042,_0x13db6a=_0x3b5f90[_0x576920(0x2d6)]-0x1,_0x2d58bb;_0x13db6a>=0x0;_0x13db6a--)(_0x2d58bb=_0x3b5f90[_0x13db6a])&&(_0x293b25=_0x2d58bb(_0x293b25)||_0x293b25);return _0x293b25;},_0x2b9072=(_0x494673,_0x1af435)=>(_0x3f94a6,_0x461640)=>_0x1af435(_0x3f94a6,_0x461640,_0x494673);_0x426480[_0x2aac72(0x216)]=class extends _0x359b28['RxDisposable']{constructor(_0x5a05e0,_0x4d01ad,_0x1d1c7e,_0x38b5a8,_0x3bc33a){const _0x91a3cd=_0x2aac72;super(),this[_0x91a3cd(0x39e)]=_0x5a05e0,this[_0x91a3cd(0x3ea)]=_0x4d01ad,this[_0x91a3cd(0x3da)]=_0x1d1c7e,this[_0x91a3cd(0x351)]=_0x38b5a8,_0x3bc33a?_0x3bc33a==null||_0x3bc33a[_0x91a3cd(0x1da)]()[_0x91a3cd(0x231)](()=>this[_0x91a3cd(0x3d9)]()):(this[_0x91a3cd(0x3ea)]['debug'](_0x91a3cd(0x414),_0x91a3cd(0x209)),this['_init']());}async['_init'](){const _0xe779db=_0x2aac72,_0x23d104=this[_0xe779db(0x39e)][_0xe779db(0x316)](_0xe779db(0x330)),_0xc1d8b1=this[_0xe779db(0x39e)]['getParam']('type'),_0x1b217b=this[_0xe779db(0x39e)]['getParam'](_0xe779db(0x372));if(!_0x23d104||!_0xc1d8b1){this[_0xe779db(0x3ea)][_0xe779db(0x3d2)](_0xe779db(0x414),_0xe779db(0x3a2));return;}const _0x544968=await this[_0xe779db(0x351)][_0xe779db(0x202)](_0x23d104,Number(_0xc1d8b1),_0x1b217b);_0x544968&&_0x544968 instanceof _0x359b28['Workbook']&&this['_setupSubUnitSync'](_0x544968);}async[_0x2aac72(0x3fa)](_0x47739e){const _0x1ce1f3=_0x2aac72;await this['_updateSubUnitFromURLParams'](_0x47739e),_0x47739e['activeSheet$'][_0x1ce1f3(0x3c8)](_0xd7a771['takeUntil'](this['dispose$']))[_0x1ce1f3(0x24d)](_0x479420=>{const _0x5ba1f5=_0x1ce1f3;_0x479420&&this[_0x5ba1f5(0x1e1)](_0x479420);}),this[_0x1ce1f3(0x39e)][_0x1ce1f3(0x325)]['pipe'](_0xd7a771[_0x1ce1f3(0x390)](this[_0x1ce1f3(0x2a8)]))[_0x1ce1f3(0x24d)](()=>this['_updateSubUnitFromURLParams'](_0x47739e));}['_updateURLWithCurrentState'](_0x5c67c2,_0x316d76=!0x1){const _0xbe7bb6=_0x2aac72,_0x46a739=this[_0xbe7bb6(0x39e)]['getParam'](_0xbe7bb6(0x372));_0x5c67c2[_0xbe7bb6(0x334)]()!==_0x46a739&&this['_urlService'][_0xbe7bb6(0x374)](_0xbe7bb6(0x372),_0x5c67c2[_0xbe7bb6(0x334)](),_0x316d76);}async[_0x2aac72(0x3ed)](_0x2f70b4){const _0x86a4be=_0x2aac72;var _0x150e02;const _0x331517=this['_urlService'][_0x86a4be(0x316)](_0x86a4be(0x372));if(!_0x331517||!_0x2f70b4[_0x86a4be(0x3f4)](_0x331517)){const _0x4480ac=_0x2f70b4[_0x86a4be(0x2be)]()[0x0],_0x1b7e2c=_0x2f70b4['getSheetBySheetId'](_0x4480ac);if(!_0x1b7e2c)return;this['_updateURLWithCurrentState'](_0x1b7e2c,!0x0),await this[_0x86a4be(0x3da)][_0x86a4be(0x264)](_0xb83d99[_0x86a4be(0x1af)]['id'],{'unitId':_0x2f70b4[_0x86a4be(0x388)](),'subUnitId':_0x4480ac});return;}((_0x150e02=_0x2f70b4[_0x86a4be(0x32f)]())==null?void 0x0:_0x150e02[_0x86a4be(0x334)]())!==_0x331517&&await this[_0x86a4be(0x3da)][_0x86a4be(0x264)](_0xb83d99['SetWorksheetActivateCommand']['id'],{'unitId':_0x2f70b4[_0x86a4be(0x388)](),'subUnitId':_0x331517});}},_0x426480['CollaborationDataLoaderController']=_0x49ce40([_0x2b9072(0x0,_0x3c4fa8),_0x2b9072(0x1,_0x359b28[_0x2aac72(0x30d)]),_0x2b9072(0x2,_0x359b28[_0x2aac72(0x1e2)]),_0x2b9072(0x3,_0x359b28[_0x2aac72(0x25c)](_0x3fc21c[_0x2aac72(0x306)])),_0x2b9072(0x4,_0x359b28[_0x2aac72(0x400)](_0x40c6dc[_0x2aac72(0x354)]))],_0x426480[_0x2aac72(0x216)]);var _0x1e3fe4=Object[_0x2aac72(0x1f7)],_0x42bb4c=(_0xd9d565,_0x51553e,_0x5d6d66,_0x17ef10)=>{for(var _0x30bd4d=_0x17ef10>0x1?void 0x0:_0x17ef10?_0x1e3fe4(_0x51553e,_0x5d6d66):_0x51553e,_0x3df9a1=_0xd9d565['length']-0x1,_0x4ec657;_0x3df9a1>=0x0;_0x3df9a1--)(_0x4ec657=_0xd9d565[_0x3df9a1])&&(_0x30bd4d=_0x4ec657(_0x30bd4d)||_0x30bd4d);return _0x30bd4d;},_0x3eaf73=(_0x4ff2e7,_0x273d3f)=>(_0x244886,_0x4363c1)=>_0x273d3f(_0x244886,_0x4363c1,_0x4ff2e7);let _0x3bd9bc=class{constructor(_0x554688,_0xe0ecc8,_0x52ba0c){const _0x1d3a40=_0x2aac72;this['_injector']=_0x554688,this[_0x1d3a40(0x357)]=_0xe0ecc8,this['_renderManagerService']=_0x52ba0c;}[_0x2aac72(0x3df)](_0x2d2303){const _0x1cf09a=_0x2aac72;this[_0x1cf09a(0x323)](_0x2d2303),this['_transformPreviousActiveRange'](_0x2d2303);}[_0x2aac72(0x34e)](_0x221698){const _0x1b51fa=_0x2aac72,{unitID:_0x2771d2}=_0x221698,_0x4bb1c7=this[_0x1b51fa(0x41f)][_0x1b51fa(0x1e6)](_0x2771d2)[_0x1b51fa(0x30e)](_0x4a4345[_0x1b51fa(0x250)]),{redoCache:_0x4582c8}=_0x4bb1c7[_0x1b51fa(0x41a)]();if(_0x4582c8[_0x1b51fa(0x2d6)]===0x0)return _0x221698;let _0x24124b=_0x359b28[_0x1b51fa(0x383)][_0x1b51fa(0x1bd)](_0x221698['mutations'][0x0]);for(let _0x44b30a=0x0;_0x44b30a<_0x4582c8[_0x1b51fa(0x2d6)];_0x44b30a++){const _0x5a3869={'id':_0x1b51fa(0x256),'params':{..._0x4582c8[_0x44b30a]}},_0x2f0215=this['_transformService'][_0x1b51fa(0x1bb)](_0x24124b,_0x5a3869,!0x1);if(_0x5e144e[_0x1b51fa(0x21a)](_0x2f0215))throw _0x2f0215[_0x1b51fa(0x444)];_0x24124b=_0x2f0215[_0x1b51fa(0x1b2)];}return{..._0x359b28['Tools']['deepClone'](_0x221698),'mutations':[_0x24124b]};}[_0x2aac72(0x323)](_0xf00482){const _0x2b904c=_0x2aac72,{unitID:_0x22e245}=_0xf00482,_0x56d5ce=this[_0x2b904c(0x41f)][_0x2b904c(0x1e6)](_0x22e245)[_0x2b904c(0x30e)](_0x4a4345[_0x2b904c(0x250)]),{undoCache:_0x20adfc,redoCache:_0x2726ae}=_0x56d5ce['getUndoRedoMutationParamsCache']();if(_0x20adfc[_0x2b904c(0x2d6)]===0x0||_0x2726ae[_0x2b904c(0x2d6)]===0x0)return;const _0x1b3964=[],_0x6d0939=[];let _0x2e7d8a=_0x359b28[_0x2b904c(0x383)][_0x2b904c(0x1bd)](_0xf00482[_0x2b904c(0x1b4)][0x0]),_0x370ac3=_0x359b28[_0x2b904c(0x383)][_0x2b904c(0x1bd)](_0xf00482[_0x2b904c(0x1b4)][0x0]);for(let _0x58b557=_0x20adfc[_0x2b904c(0x2d6)]-0x1;_0x58b557>=0x0;_0x58b557--){const _0x5511cd={'id':_0x2b904c(0x256),'params':{..._0x20adfc[_0x58b557]}},_0x52bd96={'id':_0x2b904c(0x256),'params':{..._0x2726ae[_0x58b557]}},_0x11c024=this['_transformService']['transformMutation'](_0x2e7d8a,_0x5511cd,!0x1),_0x440c91=this['_transformService'][_0x2b904c(0x1bb)](_0x370ac3,_0x52bd96,!0x1);if(_0x5e144e[_0x2b904c(0x21a)](_0x11c024))throw _0x11c024['error'];if(_0x5e144e[_0x2b904c(0x21a)](_0x440c91))throw _0x440c91[_0x2b904c(0x444)];_0x1b3964[_0x2b904c(0x3e3)](_0x11c024['m2Prime'][_0x2b904c(0x21e)]),_0x6d0939['unshift'](_0x440c91['m2Prime']['params']),_0x2e7d8a=_0x11c024['m1Prime'],_0x370ac3=_0x440c91['m1Prime'];}_0x56d5ce[_0x2b904c(0x447)]({'undoCache':_0x1b3964,'redoCache':_0x6d0939});}[_0x2aac72(0x3a1)](_0x282e92){const _0x3fce8b=_0x2aac72,{unitID:_0x487ad2}=_0x282e92,_0x10e317=this[_0x3fce8b(0x41f)][_0x3fce8b(0x1e6)](_0x487ad2)['with'](_0x4a4345[_0x3fce8b(0x250)]),_0x25cf9d=_0x10e317[_0x3fce8b(0x3f3)]();if(_0x25cf9d==null)return;const _0x205bb7=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x282e92['unitID'],'actions':null,'textRanges':[_0x25cf9d]}}],_0x543f02=this[_0x3fce8b(0x357)][_0x3fce8b(0x307)](_0x282e92,_0x205bb7);if(!_0x5e144e[_0x3fce8b(0x425)](_0x543f02))throw _0x543f02[_0x3fce8b(0x444)];const _0x529d67=_0x543f02[_0x3fce8b(0x403)][0x0][_0x3fce8b(0x21e)][_0x3fce8b(0x200)];Array[_0x3fce8b(0x28c)](_0x529d67)&&_0x529d67[_0x3fce8b(0x2d6)]&&_0x10e317[_0x3fce8b(0x1db)](_0x529d67[0x0]);}};_0x3bd9bc=_0x42bb4c([_0x3eaf73(0x0,_0x359b28[_0x2aac72(0x25c)](_0x359b28[_0x2aac72(0x1b0)])),_0x3eaf73(0x1,_0x5e144e['ITransformService']),_0x3eaf73(0x2,_0x3ed47a[_0x2aac72(0x311)])],_0x3bd9bc);var _0x465333=Object[_0x2aac72(0x1f7)],_0x1eb0d5=(_0x458c82,_0xbc4808,_0x31ac5d,_0x5ab5cf)=>{const _0x5023a5=_0x2aac72;for(var _0x3855fa=_0x5ab5cf>0x1?void 0x0:_0x5ab5cf?_0x465333(_0xbc4808,_0x31ac5d):_0xbc4808,_0x4e7187=_0x458c82[_0x5023a5(0x2d6)]-0x1,_0x50d82c;_0x4e7187>=0x0;_0x4e7187--)(_0x50d82c=_0x458c82[_0x4e7187])&&(_0x3855fa=_0x50d82c(_0x3855fa)||_0x3855fa);return _0x3855fa;},_0x1cf178=(_0x22f574,_0x446fd7)=>(_0x54461d,_0x26c16b)=>_0x446fd7(_0x54461d,_0x26c16b,_0x22f574);let _0x4bb887=class{constructor(_0x33a7b6,_0x1992c2,_0x21fcc7){const _0x2f09da=_0x2aac72;this[_0x2f09da(0x446)]=_0x33a7b6,this['_transformService']=_0x1992c2,this['_docStateChangeManagerService']=_0x21fcc7;}[_0x2aac72(0x254)](_0x1cc8a9){const _0x28e657=_0x2aac72;this[_0x28e657(0x28e)](_0x1cc8a9);}[_0x2aac72(0x34e)](_0x345991){const _0x1d575b=_0x2aac72,{unitID:_0x43249f}=_0x345991,{collaboration:_0x211b26}=this[_0x1d575b(0x367)][_0x1d575b(0x438)](_0x43249f);if(_0x211b26[_0x1d575b(0x2d6)]===0x0)return _0x345991;let _0x5e808b=_0x359b28['Tools'][_0x1d575b(0x1bd)](_0x345991[_0x1d575b(0x1b4)][0x0]);for(let _0x1f5739=0x0;_0x1f5739<_0x211b26[_0x1d575b(0x2d6)];_0x1f5739++){const _0x302b02={'id':_0x1d575b(0x256),'params':{'unitId':_0x211b26[_0x1f5739][_0x1d575b(0x3c9)],..._0x211b26[_0x1f5739][_0x1d575b(0x3e6)]}},_0x1c1a8b=this[_0x1d575b(0x357)][_0x1d575b(0x1bb)](_0x5e808b,_0x302b02,!0x1);if(_0x5e144e['isTransformMutationFailure'](_0x1c1a8b))throw _0x1c1a8b[_0x1d575b(0x444)];_0x5e808b=_0x1c1a8b[_0x1d575b(0x1b2)];}return{..._0x359b28[_0x1d575b(0x383)][_0x1d575b(0x1bd)](_0x345991),'mutations':[_0x5e808b]};}[_0x2aac72(0x28e)](_0x297c83){const _0xb63bd4=_0x2aac72,{unitID:_0x1dcd07}=_0x297c83,{history:_0x21122b,collaboration:_0x215521}=this[_0xb63bd4(0x367)]['getStateCache'](_0x1dcd07);if(_0x21122b[_0xb63bd4(0x2d6)]===0x0&&_0x215521[_0xb63bd4(0x2d6)]===0x0)return;const _0x2645e4=[],_0x2010ac=[];let _0x314aeb=_0x359b28['Tools'][_0xb63bd4(0x1bd)](_0x297c83[_0xb63bd4(0x1b4)][0x0]),_0x457036=_0x359b28[_0xb63bd4(0x383)][_0xb63bd4(0x1bd)](_0x297c83[_0xb63bd4(0x1b4)][0x0]);for(let _0x25b4ac=_0x21122b[_0xb63bd4(0x2d6)]-0x1;_0x25b4ac>=0x0;_0x25b4ac--){const _0x3a0154={'id':_0xb63bd4(0x256),'params':{'unitId':_0x21122b[_0x25b4ac]['unitId'],..._0x21122b[_0x25b4ac][_0xb63bd4(0x277)]}},_0x3c56e8={'id':_0xb63bd4(0x256),'params':{'unitId':_0x21122b[_0x25b4ac][_0xb63bd4(0x3c9)],..._0x21122b[_0x25b4ac]['redoState']}},_0x5acaec=this[_0xb63bd4(0x357)][_0xb63bd4(0x1bb)](_0x314aeb,_0x3a0154,!0x1),_0x52a5f6=this[_0xb63bd4(0x357)][_0xb63bd4(0x1bb)](_0x457036,_0x3c56e8,!0x1);if(_0x5e144e['isTransformMutationFailure'](_0x5acaec))throw _0x5acaec[_0xb63bd4(0x444)];if(_0x5e144e['isTransformMutationFailure'](_0x52a5f6))throw _0x52a5f6['error'];_0x2645e4[_0xb63bd4(0x3e3)]({..._0x21122b[_0x25b4ac],'undoState':_0x5acaec['m2Prime']['params'],'redoState':_0x52a5f6[_0xb63bd4(0x403)][_0xb63bd4(0x21e)]}),_0x314aeb=_0x5acaec['m1Prime'],_0x457036=_0x52a5f6['m1Prime'];}_0x314aeb=_0x359b28['Tools']['deepClone'](_0x297c83[_0xb63bd4(0x1b4)][0x0]),_0x457036=_0x359b28['Tools'][_0xb63bd4(0x1bd)](_0x297c83[_0xb63bd4(0x1b4)][0x0]);for(let _0x38c46e=_0x215521['length']-0x1;_0x38c46e>=0x0;_0x38c46e--){const _0x303cba={'id':_0xb63bd4(0x256),'params':{'unitId':_0x215521[_0x38c46e]['unitId'],..._0x215521[_0x38c46e][_0xb63bd4(0x277)]}},_0x3c3a18={'id':_0xb63bd4(0x256),'params':{'unitId':_0x215521[_0x38c46e][_0xb63bd4(0x3c9)],..._0x215521[_0x38c46e][_0xb63bd4(0x3e6)]}},_0x8f0fb3=this[_0xb63bd4(0x357)][_0xb63bd4(0x1bb)](_0x314aeb,_0x303cba,!0x1),_0x34313f=this[_0xb63bd4(0x357)][_0xb63bd4(0x1bb)](_0x457036,_0x3c3a18,!0x1);if(_0x5e144e[_0xb63bd4(0x21a)](_0x8f0fb3))throw _0x8f0fb3[_0xb63bd4(0x444)];if(_0x5e144e[_0xb63bd4(0x21a)](_0x34313f))throw _0x34313f[_0xb63bd4(0x444)];_0x2010ac[_0xb63bd4(0x3e3)]({..._0x215521[_0x38c46e],'undoState':_0x8f0fb3['m2Prime'][_0xb63bd4(0x21e)],'redoState':_0x34313f[_0xb63bd4(0x403)]['params']}),_0x314aeb=_0x8f0fb3['m1Prime'],_0x457036=_0x34313f[_0xb63bd4(0x1b2)];}this[_0xb63bd4(0x367)][_0xb63bd4(0x2e8)](_0x1dcd07,{'history':_0x2645e4,'collaboration':_0x2010ac});}};_0x4bb887=_0x1eb0d5([_0x1cf178(0x0,_0x359b28['Inject'](_0x359b28[_0x2aac72(0x1b0)])),_0x1cf178(0x1,_0x5e144e[_0x2aac72(0x384)]),_0x1cf178(0x2,_0x359b28['Inject'](_0x4a4345['DocStateChangeManagerService']))],_0x4bb887);var _0x22ecbe=Object[_0x2aac72(0x1f7)],_0x4c8fb8=(_0x46aefa,_0x18fff4,_0x125bad,_0x3fae8b)=>{const _0x53c001=_0x2aac72;for(var _0x35f704=_0x3fae8b>0x1?void 0x0:_0x3fae8b?_0x22ecbe(_0x18fff4,_0x125bad):_0x18fff4,_0x225fc6=_0x46aefa[_0x53c001(0x2d6)]-0x1,_0x926ad6;_0x225fc6>=0x0;_0x225fc6--)(_0x926ad6=_0x46aefa[_0x225fc6])&&(_0x35f704=_0x926ad6(_0x35f704)||_0x35f704);return _0x35f704;},_0x5a285e=(_0x43426a,_0x17416e)=>(_0x49b679,_0x501f2f)=>_0x17416e(_0x49b679,_0x501f2f,_0x43426a);let _0x5e7ef7=class{constructor(_0x36df75,_0xbedef7){const _0x401579=_0x2aac72;this['_injector']=_0x36df75,this[_0x401579(0x357)]=_0xbedef7;}[_0x2aac72(0x1e3)](_0x2ad547){const _0x93ca0b=_0x2aac72;var _0x5866af;const _0x109735=this['_injector'][_0x93ca0b(0x28a)](_0x133a4c['DocSelectionManagerService']),_0x3e3a22=(_0x5866af=_0x109735[_0x93ca0b(0x337)]())!=null?_0x5866af:[];if(_0x3e3a22[_0x93ca0b(0x2d6)]===0x0)return;const _0x415cfd=_0x2ad547[_0x93ca0b(0x419)],_0x2f48e7=[{'id':_0x93ca0b(0x256),'params':{'unitId':_0x415cfd,'actions':null,'textRanges':_0x3e3a22}}],_0x19f9ae=this['_transformService']['transformMutationsWithChangeset'](_0x2ad547,_0x2f48e7);if(!_0x5e144e[_0x93ca0b(0x425)](_0x19f9ae))throw _0x19f9ae[_0x93ca0b(0x444)];const _0x1b2fa1=_0x19f9ae[_0x93ca0b(0x403)][0x0][_0x93ca0b(0x21e)]['textRanges'];Array[_0x93ca0b(0x28c)](_0x1b2fa1)&&_0x1b2fa1['length']&&_0x109735['replaceDocRanges'](_0x1b2fa1,{'unitId':_0x415cfd,'subUnitId':_0x415cfd},!0x1);}};_0x5e7ef7=_0x4c8fb8([_0x5a285e(0x0,_0x359b28[_0x2aac72(0x25c)](_0x359b28['Injector'])),_0x5a285e(0x1,_0x5e144e[_0x2aac72(0x384)])],_0x5e7ef7);var _0x269b5c=Object['getOwnPropertyDescriptor'],_0x5bb91d=(_0x21bdf1,_0x5ba231,_0x30d566,_0x485641)=>{const _0x51ee3b=_0x2aac72;for(var _0x155656=_0x485641>0x1?void 0x0:_0x485641?_0x269b5c(_0x5ba231,_0x30d566):_0x5ba231,_0x2ad884=_0x21bdf1[_0x51ee3b(0x2d6)]-0x1,_0x843474;_0x2ad884>=0x0;_0x2ad884--)(_0x843474=_0x21bdf1[_0x2ad884])&&(_0x155656=_0x843474(_0x155656)||_0x155656);return _0x155656;},_0x491544=(_0x44c0c7,_0x1683b2)=>(_0x78a8a2,_0x56c865)=>_0x1683b2(_0x78a8a2,_0x56c865,_0x44c0c7);let _0x6f45eb=class extends _0x359b28[_0x2aac72(0x43e)]{constructor(_0x1d499c,_0x2c2b78,_0xa3796e,_0x27e173,_0x5907cf,_0x6d990b,_0x3094c7,_0x44d371){const _0x15bd7f=_0x2aac72;super(),_0x1c8185(this,_0x15bd7f(0x30f),new _0xd7a771[(_0x15bd7f(0x3aa))](_0x3fc21c['CollaborationStatus'][_0x15bd7f(0x252)])),(this[_0x15bd7f(0x367)]=_0x1d499c,this[_0x15bd7f(0x3c2)]=_0x2c2b78,this[_0x15bd7f(0x205)]=_0xa3796e,this[_0x15bd7f(0x3ab)]=_0x27e173,this[_0x15bd7f(0x3c0)]=_0x5907cf,this[_0x15bd7f(0x234)]=_0x6d990b,this['_messageService']=_0x3094c7,this['_localeService']=_0x44d371,this[_0x15bd7f(0x314)]());}['_initEntityListener'](){const _0x3b701b=_0x2aac72;this['disposeWithMe'](this[_0x3b701b(0x3c2)][_0x3b701b(0x2d9)][_0x3b701b(0x24d)](_0x2311fd=>{const _0x3e1940=_0x3b701b,_0x233751=this[_0x3e1940(0x367)][_0x3e1940(0x1d9)]['subscribe'](_0x19312a=>{const _0x51a813=_0x3e1940;if(_0x19312a==null)return;const {unitId:_0xc53e9c,redoState:_0x33c411,commandId:_0x5c21b9}=_0x19312a;if(_0xc53e9c!==_0x2311fd[_0x51a813(0x419)])return;const _0x350873={'id':_0x5c21b9,'type':_0x359b28['CommandType']['MUTATION'],'params':{'unitId':_0xc53e9c,'actions':_0x33c411[_0x51a813(0x215)],'textRanges':null}};_0x2311fd['onLocalMutation'](_0x350873);});if(_0x2311fd[_0x3e1940(0x238)](_0x233751),_0x2311fd instanceof _0x3fc21c['DocCollaborationEntity']){const _0x164c34={'onTransformIME':_0x4612fe=>this[_0x3e1940(0x205)][_0x3e1940(0x3df)](_0x4612fe),'onTransformState':_0x16e611=>this[_0x3e1940(0x3ab)]['transformStateCache'](_0x16e611),'onTransformSelections':_0x4f9e3c=>this[_0x3e1940(0x3c0)]['transformSelections'](_0x4f9e3c),'onSyncEditingCollabCursor':_0x5559a7=>this[_0x3e1940(0x234)][_0x3e1940(0x3ca)](_0x5559a7),'onTransformRemoteChangesetByIMECache':_0x78d5c7=>this[_0x3e1940(0x205)][_0x3e1940(0x34e)](_0x78d5c7),'onTransformRemoteChangesetByStateCache':_0x3c64bb=>this[_0x3e1940(0x3ab)][_0x3e1940(0x34e)](_0x3c64bb)};_0x2311fd[_0x3e1940(0x413)](_0x164c34);}}));}};_0x6f45eb=_0x5bb91d([_0x491544(0x0,_0x359b28[_0x2aac72(0x25c)](_0x4a4345[_0x2aac72(0x1f9)])),_0x491544(0x1,_0x359b28[_0x2aac72(0x25c)](_0x3fc21c['CollaborationController'])),_0x491544(0x2,_0x359b28[_0x2aac72(0x25c)](_0x3bd9bc)),_0x491544(0x3,_0x359b28[_0x2aac72(0x25c)](_0x4bb887)),_0x491544(0x4,_0x359b28['Inject'](_0x5e7ef7)),_0x491544(0x5,_0x359b28['Inject'](_0x151cd4)),_0x491544(0x6,_0x203bca[_0x2aac72(0x3a5)]),_0x491544(0x7,_0x359b28[_0x2aac72(0x25c)](_0x359b28[_0x2aac72(0x2ef)]))],_0x6f45eb);var _0x9f6c18=Object[_0x2aac72(0x1f7)],_0x4462c5=(_0xd57cb8,_0xcedb5a,_0x52b9bb,_0x5dc954)=>{const _0x33bc22=_0x2aac72;for(var _0xf6dfbd=_0x5dc954>0x1?void 0x0:_0x5dc954?_0x9f6c18(_0xcedb5a,_0x52b9bb):_0xcedb5a,_0x1a2951=_0xd57cb8[_0x33bc22(0x2d6)]-0x1,_0x3d1aa3;_0x1a2951>=0x0;_0x1a2951--)(_0x3d1aa3=_0xd57cb8[_0x1a2951])&&(_0xf6dfbd=_0x3d1aa3(_0xf6dfbd)||_0xf6dfbd);return _0xf6dfbd;},_0x5514fb=(_0x16f03a,_0x24a253)=>(_0xcd455f,_0x481add)=>_0x24a253(_0xcd455f,_0x481add,_0x16f03a);let _0x5abf90=class extends _0x359b28[_0x2aac72(0x43e)]{constructor(_0x1098d0,_0x558b03,_0x47a806){const _0x45fe58=_0x2aac72;super(),_0x1c8185(this,_0x45fe58(0x2a4),new Map()),_0x1c8185(this,_0x45fe58(0x350),new Map()),_0x1c8185(this,'_disabled',!0x1),(this[_0x45fe58(0x1d6)]=_0x1098d0,this[_0x45fe58(0x294)]=_0x558b03,this[_0x45fe58(0x332)]=_0x47a806);}['disableLocalCache'](){const _0x31586e=_0x2aac72;this[_0x31586e(0x32c)]=!0x0;}[_0x2aac72(0x297)](){const _0x52fb16=_0x2aac72;this[_0x52fb16(0x32c)]=!0x1;}get[_0x2aac72(0x23c)](){const _0x31cf6d=_0x2aac72;return this[_0x31cf6d(0x350)];}[_0x2aac72(0x3dc)](){const _0x16bb03=_0x2aac72;this['exhaustSavingTask']()['then'](()=>super[_0x16bb03(0x3dc)]());}async[_0x2aac72(0x3a3)](_0x1ed111){const _0x3a8cef=_0x2aac72;return this[_0x3a8cef(0x32c)]?null:this[_0x3a8cef(0x294)][_0x3a8cef(0x1c8)](_0x3fc21c[_0x3a8cef(0x269)](_0x1ed111));}async[_0x2aac72(0x2df)](_0x242ce7,_0x778be3){const _0x2cfe00=_0x2aac72;return!!this[_0x2cfe00(0x294)][_0x2cfe00(0x3d8)](_0x242ce7,_0x778be3);}[_0x2aac72(0x1bc)](_0x282192,_0x1d3e4f,_0x106815,_0xf9c906){const _0x3ca360=_0x2aac72,_0x525771=this[_0x3ca360(0x332)][_0x3ca360(0x2dd)](_0x282192);this[_0x3ca360(0x2a4)][_0x3ca360(0x227)](_0x282192,{'unitID':_0x282192,'type':_0x1d3e4f,'awaitingChangeset':_0x106815,'mutations':_0xf9c906,'rev':_0x525771}),this[_0x3ca360(0x350)][_0x3ca360(0x398)](_0x282192)||this[_0x3ca360(0x1dd)](_0x282192);}['_scheduleSaving'](_0x4aa9bc){const _0x5041b4=_0x2aac72,_0x1ee302=this[_0x5041b4(0x26c)]();_0x1ee302===0x0?this[_0x5041b4(0x1cf)](_0x4aa9bc):this[_0x5041b4(0x350)][_0x5041b4(0x227)](_0x4aa9bc,setTimeout(()=>this[_0x5041b4(0x1cf)](_0x4aa9bc),_0x1ee302));}[_0x2aac72(0x26c)](){const _0x278b4d=_0x2aac72;var _0x3990b4;return(_0x3990b4=this['_configService'][_0x278b4d(0x2e1)](_0x3fc21c[_0x278b4d(0x27e)]))!=null?_0x3990b4:_0x3fc21c['LOCAL_CACHE_INTERVAL'];}[_0x2aac72(0x1cf)](_0x5db3f2){const _0x3d2aaa=_0x2aac72,_0x5525a1=this[_0x3d2aaa(0x350)][_0x3d2aaa(0x28a)](_0x5db3f2);return _0x5525a1!==void 0x0&&window['clearTimeout'](_0x5525a1),this[_0x3d2aaa(0x294)][_0x3d2aaa(0x3d8)](_0x3fc21c['getLocalCacheKey'](_0x5db3f2),this['_cachedData']['get'](_0x5db3f2))[_0x3d2aaa(0x231)](()=>this[_0x3d2aaa(0x350)][_0x3d2aaa(0x29c)](_0x5db3f2));}async['exhaustSavingTask'](){const _0x111434=_0x2aac72,_0x29ba36=[];this[_0x111434(0x350)][_0x111434(0x406)]((_0x5d0661,_0x48e52b)=>{const _0x4e8b6d=_0x111434;window[_0x4e8b6d(0x27a)](_0x5d0661),_0x29ba36['push'](this[_0x4e8b6d(0x1cf)](_0x48e52b)[_0x4e8b6d(0x231)](()=>{const _0x10fe76=_0x4e8b6d;this[_0x10fe76(0x350)][_0x10fe76(0x29c)](_0x48e52b);}));}),await Promise[_0x111434(0x40c)](_0x29ba36);}};_0x5abf90=_0x4462c5([_0x5514fb(0x0,_0x359b28[_0x2aac72(0x265)]),_0x5514fb(0x1,_0x359b28[_0x2aac72(0x1c9)]),_0x5514fb(0x2,_0x359b28[_0x2aac72(0x25c)](_0x5e144e[_0x2aac72(0x2c5)]))],_0x5abf90);class _0x5192b8 extends _0x359b28[_0x2aac72(0x1cb)]{constructor(){const _0x3b1eed=_0x2aac72;super(),_0x1c8185(this,_0x3b1eed(0x325)),this[_0x3b1eed(0x325)]=_0xd7a771['fromEvent'](window,'popstate')['pipe'](_0xd7a771[_0x3b1eed(0x390)](this['dispose$']),_0xd7a771[_0x3b1eed(0x1fd)](0x1),_0xd7a771[_0x3b1eed(0x30c)](void 0x0));}['setParam'](_0x3ea65b,_0x518d92,_0x953aeb=!0x1){const _0x507971=_0x2aac72,_0x3f47b9=new URL(window[_0x507971(0x3ba)]['href']);_0x3f47b9[_0x507971(0x405)][_0x507971(0x227)](_0x3ea65b,_0x518d92),_0x953aeb?window[_0x507971(0x240)][_0x507971(0x28d)]('','',_0x3f47b9['toString']()):window['history'][_0x507971(0x2b4)]('','',_0x3f47b9[_0x507971(0x42b)]());}[_0x2aac72(0x225)](_0x487d40,_0x480e43=!0x1){const _0x2af191=_0x2aac72,_0x56d0ee=new URL(window['location'][_0x2af191(0x3bd)]);_0x56d0ee[_0x2af191(0x405)][_0x2af191(0x29c)](_0x487d40),_0x480e43?window[_0x2af191(0x240)][_0x2af191(0x28d)]('','',_0x56d0ee[_0x2af191(0x42b)]()):window['history'][_0x2af191(0x2b4)]('','',_0x56d0ee['toString']());}[_0x2aac72(0x316)](_0x143128){const _0x4dfa1c=_0x2aac72;var _0x1b36bb;return(_0x1b36bb=new URL(window[_0x4dfa1c(0x3ba)]['href'])[_0x4dfa1c(0x405)][_0x4dfa1c(0x28a)](_0x143128))!=null?_0x1b36bb:void 0x0;}}var _0x4d781f=Object['defineProperty'],_0x113d56=Object[_0x2aac72(0x1f7)],_0x2b54a5=(_0x46846b,_0x14c6e6,_0x19a492)=>_0x14c6e6 in _0x46846b?_0x4d781f(_0x46846b,_0x14c6e6,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19a492}):_0x46846b[_0x14c6e6]=_0x19a492,_0x53ff4a=(_0x4f8af4,_0x52168b,_0x1f8c5c,_0x267da5)=>{for(var _0x401cde=_0x267da5>0x1?void 0x0:_0x267da5?_0x113d56(_0x52168b,_0x1f8c5c):_0x52168b,_0x27e860=_0x4f8af4['length']-0x1,_0x17036c;_0x27e860>=0x0;_0x27e860--)(_0x17036c=_0x4f8af4[_0x27e860])&&(_0x401cde=_0x17036c(_0x401cde)||_0x401cde);return _0x401cde;},_0x4d2965=(_0x501004,_0x531229)=>(_0x23abd7,_0x5dfdfd)=>_0x531229(_0x23abd7,_0x5dfdfd,_0x501004),_0x46209d=(_0x324ab6,_0x18711f,_0x58c521)=>_0x2b54a5(_0x324ab6,_0x18711f+'',_0x58c521);const _0x4342e2=_0x2aac72(0x1f6);_0x426480[_0x2aac72(0x222)]=class extends _0x359b28['Plugin']{constructor(_0x1f1ea0=_0x29bb51,_0x1c6a33,_0x49827e,_0x3860b5){const _0x5b941a=_0x2aac72;super(),this[_0x5b941a(0x3ec)]=_0x1f1ea0,this[_0x5b941a(0x41f)]=_0x1c6a33,this[_0x5b941a(0x446)]=_0x49827e,this['_configService']=_0x3860b5;const {..._0x9bfed7}=_0x359b28[_0x5b941a(0x24a)]({},_0x29bb51,this[_0x5b941a(0x3ec)]);this['_configService'][_0x5b941a(0x24b)](_0x8b5bc2,_0x9bfed7);}[_0x2aac72(0x359)](){const _0x425601=_0x2aac72;this[_0x425601(0x2a9)](),this[_0x425601(0x26f)]();}['onRendered'](){const _0x237589=_0x2aac72;this[_0x237589(0x267)]();}[_0x2aac72(0x2a9)](){const _0x1c6850=_0x2aac72;var _0xb33c69;const _0x5d7cd4=[[_0x4b05bb],[_0x5e7ef7],[_0x3bd9bc],[_0x4bb887],[_0x151cd4],[_0x3c4fa8,{'useClass':_0x5192b8}],[_0xbf88ec[_0x1c6850(0x36e)],{'useClass':_0xbf88ec[_0x1c6850(0x432)]}],[_0x3fc21c[_0x1c6850(0x35d)],{'useClass':_0x5abf90}],[_0x426480[_0x1c6850(0x358)]],[_0x6f45eb],[_0x540180],[_0x229012],[_0x27fa3a],[_0x426480[_0x1c6850(0x216)]]];_0x359b28[_0x1c6850(0x315)](this[_0x1c6850(0x446)],_0x359b28[_0x1c6850(0x38a)](_0x5d7cd4,(_0xb33c69=this[_0x1c6850(0x3ec)])==null?void 0x0:_0xb33c69[_0x1c6850(0x394)]));}[_0x2aac72(0x267)](){const _0xe99456=_0x2aac72;this[_0xe99456(0x238)](this['_renderManagerService'][_0xe99456(0x42a)](_0x359b28[_0xe99456(0x391)][_0xe99456(0x3f8)],[_0x3ed32a])),this[_0xe99456(0x238)](this[_0xe99456(0x41f)][_0xe99456(0x42a)](_0x359b28['UniverInstanceType'][_0xe99456(0x3c1)],[_0x43f166]));}[_0x2aac72(0x26f)](){const _0x44995b=_0x2aac72;_0x359b28[_0x44995b(0x346)](this[_0x44995b(0x446)],[[_0x229012],[_0x426480['DesktopCollaborationStatusDisplayController']],[_0x6f45eb],[_0x540180],[_0x426480[_0x44995b(0x216)]]]);}},_0x46209d(_0x426480[_0x2aac72(0x222)],_0x2aac72(0x3d7),_0x4342e2),_0x426480['UniverCollaborationClientUIPlugin']=_0x53ff4a([_0x359b28['DependentOn'](_0x3fc21c[_0x2aac72(0x2b5)]),_0x4d2965(0x1,_0x3ed47a[_0x2aac72(0x311)]),_0x4d2965(0x2,_0x359b28['Inject'](_0x359b28[_0x2aac72(0x1b0)])),_0x4d2965(0x3,_0x359b28[_0x2aac72(0x265)])],_0x426480[_0x2aac72(0x222)]);var _0x506119=Object[_0x2aac72(0x1f7)],_0x474ef6=(_0x197199,_0x24cc67,_0x2f1bc9,_0x3ac215)=>{const _0x3a703f=_0x2aac72;for(var _0x41c0ec=_0x3ac215>0x1?void 0x0:_0x3ac215?_0x506119(_0x24cc67,_0x2f1bc9):_0x24cc67,_0x4dde00=_0x197199[_0x3a703f(0x2d6)]-0x1,_0x53ebd3;_0x4dde00>=0x0;_0x4dde00--)(_0x53ebd3=_0x197199[_0x4dde00])&&(_0x41c0ec=_0x53ebd3(_0x41c0ec)||_0x41c0ec);return _0x41c0ec;},_0x1653ee=(_0x103894,_0x55f6f0)=>(_0xbbaba3,_0x1c59d8)=>_0x55f6f0(_0xbbaba3,_0x1c59d8,_0x103894);_0x426480[_0x2aac72(0x3ee)]=class extends _0x3fc21c['CollaborationSocketService']{constructor(_0x1705c1,_0x50f6c3,_0x55b780,_0x250fb2,_0x412f0f){super(_0x1705c1,_0x50f6c3,_0x55b780,_0x250fb2,_0x412f0f);}async[_0x2aac72(0x2b1)](_0x1a12b8){const _0x152d56=_0x2aac72,_0x43d395=await this[_0x152d56(0x295)](),_0x1c10b9=this[_0x152d56(0x26e)](_0x1a12b8,_0x43d395);return this[_0x152d56(0x37c)](_0x1c10b9);}[_0x2aac72(0x26e)](_0x135521,_0x3de772){const _0x57238c=_0x2aac72,_0x3aed3c=typeof window>'u'?new URL(_0x135521):new URL(_0x135521,window[_0x57238c(0x3ba)]['origin']);_0x3aed3c[_0x57238c(0x405)]['set'](_0x57238c(0x239),_0x3de772);const _0x4f10da=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x57238c(0x3ba)]['search']);return _0x4f10da['get']('runId')&&_0x3aed3c[_0x57238c(0x405)][_0x57238c(0x227)](_0x57238c(0x20d),_0x4f10da[_0x57238c(0x28a)](_0x57238c(0x20d))),_0x3aed3c['toString']();}async[_0x2aac72(0x295)](){const _0x5f29c5=_0x2aac72;var _0x204539,_0x1dbe41,_0x393a00;const _0x2aaa22=this['_configService'][_0x5f29c5(0x2e1)](_0x3fc21c[_0x5f29c5(0x2f4)]),_0x2cdd0a=(_0x204539=_0x2aaa22==null?void 0x0:_0x2aaa22[_0x5f29c5(0x273)])!=null?_0x204539:_0x3fc21c['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x393a00=(_0x1dbe41=(await this['_httpService'][_0x5f29c5(0x28a)](_0x2cdd0a,{'headers':{'Content-Type':_0x5f29c5(0x344)}}))[_0x5f29c5(0x2cf)])==null?void 0x0:_0x1dbe41[_0x5f29c5(0x1c4)])!=null?_0x393a00:'';}},_0x426480['BrowserCollaborationSocketService']=_0x474ef6([_0x1653ee(0x0,_0x359b28[_0x2aac72(0x25c)](_0x359b28[_0x2aac72(0x1b0)])),_0x1653ee(0x1,_0x359b28['Inject'](_0xbf88ec['HTTPService'])),_0x1653ee(0x2,_0x359b28[_0x2aac72(0x265)]),_0x1653ee(0x3,_0x359b28['ILogService']),_0x1653ee(0x4,_0x5e144e[_0x2aac72(0x322)])],_0x426480[_0x2aac72(0x3ee)]);const _0x857855=0x7530,_0x153a28=_0x2aac72(0x439);class _0x116c01 extends _0x359b28[_0x2aac72(0x43e)]{constructor(){const _0x47ed33=_0x2aac72;super(),_0x1c8185(this,_0x47ed33(0x2f6),_0x359b28[_0x47ed33(0x219)]()),_0x1c8185(this,_0x47ed33(0x43c),new Set()),_0x1c8185(this,'_unitOnClients',new Map()),_0x1c8185(this,'_heartbeatTimer',null),_0x1c8185(this,'_clearOtherTimers',new Map()),_0x1c8185(this,_0x47ed33(0x2db),new Map()),this[_0x47ed33(0x3d9)]();}[_0x2aac72(0x3dc)](){const _0x701fbb=_0x2aac72;super[_0x701fbb(0x3dc)](),this[_0x701fbb(0x2ed)]['forEach']((_0x515bc0,_0x2f6f78)=>this[_0x701fbb(0x1a9)](_0x2f6f78)),this[_0x701fbb(0x39d)]&&window[_0x701fbb(0x40e)](this[_0x701fbb(0x39d)]);}['getUnitStatus$'](_0x31301b){const _0x378187=_0x2aac72;return this[_0x378187(0x31a)](_0x31301b)['pipe'](_0xd7a771[_0x378187(0x1b8)]());}[_0x2aac72(0x27f)](_0x43c385){const _0x5d3996=_0x2aac72;this['_selfUnitIDs'][_0x5d3996(0x24e)]===0x0&&this[_0x5d3996(0x32a)](),this['_selfUnitIDs'][_0x5d3996(0x28f)](_0x43c385),this[_0x5d3996(0x2c7)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x43c385],'isForwarded':!0x1});}[_0x2aac72(0x2ea)](_0x5144ed){const _0x3a7826=_0x2aac72;this[_0x3a7826(0x43c)][_0x3a7826(0x29c)](_0x5144ed),this[_0x3a7826(0x43c)][_0x3a7826(0x24e)]===0x0&&this['_heartbeatTimer']&&window[_0x3a7826(0x40e)](this['_heartbeatTimer']);}[_0x2aac72(0x3d9)](){const _0x21010d=_0x2aac72;this[_0x21010d(0x238)](_0x359b28[_0x21010d(0x381)](_0xd7a771[_0x21010d(0x2f3)](window,'storage')[_0x21010d(0x24d)](_0xc0be4=>{const _0x3b708e=_0x21010d;if(_0xc0be4['key']!==_0x153a28||!_0xc0be4[_0x3b708e(0x417)])return;const _0xfa844a=JSON[_0x3b708e(0x1f4)](_0xc0be4[_0x3b708e(0x417)]);this[_0x3b708e(0x407)](_0xfa844a);}))),window['addEventListener'](_0x21010d(0x275),()=>this[_0x21010d(0x2c7)]({'type':0x1,'memberID':this[_0x21010d(0x2f6)],'unitIDs':Array[_0x21010d(0x2f1)](this[_0x21010d(0x43c)])}));}['_handleEvent'](_0x2be357){const _0x1db582=_0x2aac72;switch(_0x2be357['type']){case 0x0:this[_0x1db582(0x1fe)](_0x2be357);break;case 0x1:this[_0x1db582(0x2fa)](_0x2be357);break;case 0x2:this['_handleHeartbeatEvent'](_0x2be357);break;}}[_0x2aac72(0x1fe)](_0x53dac5){const _0x53e906=_0x2aac72,{unitIDs:_0x4dd40c,memberID:_0x20b1cc,isForwarded:_0x4fde30}=_0x53dac5;_0x4dd40c[_0x53e906(0x406)](_0x48add9=>{const _0x2a4703=_0x53e906;if(!_0x4fde30&&this[_0x2a4703(0x2f5)][_0x2a4703(0x398)](_0x48add9)&&this[_0x2a4703(0x31a)](_0x48add9)[_0x2a4703(0x1b7)](_0x3fc21c[_0x2a4703(0x1f3)][_0x2a4703(0x442)]),!this['_unitOnClients'][_0x2a4703(0x398)](_0x48add9)||!this[_0x2a4703(0x2f5)][_0x2a4703(0x28a)](_0x48add9)[_0x2a4703(0x398)](_0x20b1cc)){const _0x5732b2=this[_0x2a4703(0x2f5)]['get'](_0x48add9)||new Set();_0x5732b2[_0x2a4703(0x28f)](_0x20b1cc),this[_0x2a4703(0x2f5)]['set'](_0x48add9,_0x5732b2),this[_0x2a4703(0x1d5)](_0x20b1cc);}}),_0x4fde30||this[_0x53e906(0x2c7)]({'type':0x0,'memberID':this[_0x53e906(0x2f6)],'unitIDs':[...this[_0x53e906(0x43c)]],'isForwarded':!0x0});}[_0x2aac72(0x1d5)](_0x54f6cc){const _0x176018=_0x2aac72;this[_0x176018(0x1a9)](_0x54f6cc);const _0x4191af=window[_0x176018(0x441)](()=>{const _0x5b32bf=_0x176018;this[_0x5b32bf(0x2f5)][_0x5b32bf(0x406)](_0x348174=>{const _0x4042e9=_0x5b32bf;_0x348174[_0x4042e9(0x29c)](_0x54f6cc);});},_0x857855*0x2);this[_0x176018(0x2ed)][_0x176018(0x227)](_0x54f6cc,_0x4191af);}[_0x2aac72(0x1a9)](_0x30d602){const _0xb89910=_0x2aac72;if(this['_clearOtherTimers'][_0xb89910(0x398)](_0x30d602)){const _0x2b89b6=this[_0xb89910(0x2ed)]['get'](_0x30d602);_0x2b89b6&&window[_0xb89910(0x27a)](_0x2b89b6),this['_clearOtherTimers'][_0xb89910(0x227)](_0x30d602,null);}}[_0x2aac72(0x2fa)](_0x1d4a44){const _0x354a52=_0x2aac72,{memberID:_0x43a2e5,unitIDs:_0x542e63}=_0x1d4a44;_0x542e63[_0x354a52(0x406)](_0x3ad966=>{const _0x11202c=_0x354a52;var _0x3e71e9;const _0x1fd9ab=this['_unitOnClients'][_0x11202c(0x28a)](_0x3ad966);_0x1fd9ab&&(_0x1fd9ab[_0x11202c(0x29c)](_0x43a2e5),(_0x3e71e9=this['_ensureSubject'](_0x3ad966))==null||_0x3e71e9[_0x11202c(0x1b7)](_0x1fd9ab[_0x11202c(0x24e)]===0x0?_0x3fc21c[_0x11202c(0x1f3)][_0x11202c(0x2fe)]:_0x3fc21c[_0x11202c(0x1f3)][_0x11202c(0x442)]));}),this[_0x354a52(0x1a9)](_0x43a2e5);}[_0x2aac72(0x245)](_0x4d627a){const _0x267739=_0x2aac72;this[_0x267739(0x1d5)](_0x4d627a['memberID']);}[_0x2aac72(0x2c7)](_0x1192d9){const _0x1769a4=_0x2aac72;localStorage[_0x1769a4(0x3d8)](_0x153a28,JSON[_0x1769a4(0x36c)](_0x1192d9));}[_0x2aac72(0x32a)](){const _0x2e34fb=_0x2aac72;this[_0x2e34fb(0x39d)]=window[_0x2e34fb(0x278)](()=>{const _0x29e1ad=_0x2e34fb;this['_send']({'type':0x2,'memberID':this[_0x29e1ad(0x2f6)]});},_0x857855);}[_0x2aac72(0x31a)](_0x4f7234){const _0x3b827f=_0x2aac72;return this[_0x3b827f(0x2db)][_0x3b827f(0x398)](_0x4f7234)||this[_0x3b827f(0x2db)][_0x3b827f(0x227)](_0x4f7234,new _0xd7a771['BehaviorSubject'](_0x3fc21c[_0x3b827f(0x1f3)][_0x3b827f(0x2fe)])),this[_0x3b827f(0x2db)][_0x3b827f(0x28a)](_0x4f7234);}}var _0x569986=(_0x13475e=>(_0x13475e[_0x13475e['UNDEFINED']=0x0]=_0x2aac72(0x3fe),_0x13475e[_0x13475e['OK']=0x1]='OK',_0x13475e[_0x13475e['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x13475e[_0x13475e[_0x2aac72(0x3e7)]=0x3]=_0x2aac72(0x3e7),_0x13475e[_0x13475e[_0x2aac72(0x369)]=0x4]=_0x2aac72(0x369),_0x13475e[_0x13475e[_0x2aac72(0x3d1)]=0x5]=_0x2aac72(0x3d1),_0x13475e[_0x13475e[_0x2aac72(0x289)]=0x6]=_0x2aac72(0x289),_0x13475e[_0x13475e[_0x2aac72(0x2e5)]=0x7]=_0x2aac72(0x2e5),_0x13475e[_0x13475e[_0x2aac72(0x3e2)]=0x8]=_0x2aac72(0x3e2),_0x13475e[_0x13475e['COMPLETION_FINISHED']=0x9]=_0x2aac72(0x20c),_0x13475e[_0x13475e[_0x2aac72(0x3b5)]=0xa]=_0x2aac72(0x3b5),_0x13475e[_0x13475e[_0x2aac72(0x333)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x13475e[_0x13475e[_0x2aac72(0x235)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x13475e[_0x13475e[_0x2aac72(0x38e)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x13475e[_0x13475e[_0x2aac72(0x39b)]=0x1773]=_0x2aac72(0x39b),_0x13475e[_0x13475e[_0x2aac72(0x318)]=0x1b59]=_0x2aac72(0x318),_0x13475e[_0x13475e[_0x2aac72(0x268)]=0x1b5a]=_0x2aac72(0x268),_0x13475e[_0x13475e['APPLY_REVISION_CONFILICT']=0x1b5b]=_0x2aac72(0x401),_0x13475e[_0x13475e[_0x2aac72(0x20e)]=0x1b5c]=_0x2aac72(0x20e),_0x13475e[_0x13475e[_0x2aac72(0x22c)]=0x1b5d]=_0x2aac72(0x22c),_0x13475e[_0x13475e['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x2aac72(0x395),_0x13475e[_0x13475e[_0x2aac72(0x2dc)]=0x2329]=_0x2aac72(0x2dc),_0x13475e[_0x13475e[_0x2aac72(0x424)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x13475e[_0x13475e[_0x2aac72(0x1c6)]=0x232b]=_0x2aac72(0x1c6),_0x13475e[_0x13475e[_0x2aac72(0x2e2)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x13475e[_0x13475e[_0x2aac72(0x338)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x13475e[_0x13475e[_0x2aac72(0x3b2)]=0x2711]=_0x2aac72(0x3b2),_0x13475e[_0x13475e['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x13475e[_0x13475e[_0x2aac72(0x1ca)]=0x2713]=_0x2aac72(0x1ca),_0x13475e[_0x13475e[_0x2aac72(0x356)]=0x2714]=_0x2aac72(0x356),_0x13475e[_0x13475e[_0x2aac72(0x2c6)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x13475e[_0x13475e[_0x2aac72(0x260)]=0x271b]=_0x2aac72(0x260),_0x13475e[_0x13475e[_0x2aac72(0x36a)]=0x271c]=_0x2aac72(0x36a),_0x13475e[_0x13475e[_0x2aac72(0x29b)]=0x271d]=_0x2aac72(0x29b),_0x13475e[_0x13475e[_0x2aac72(0x3e1)]=0x271e]=_0x2aac72(0x3e1),_0x13475e[_0x13475e[_0x2aac72(0x1d8)]=0x271f]=_0x2aac72(0x1d8),_0x13475e[_0x13475e['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x13475e[_0x13475e[_0x2aac72(0x2a3)]=0x2ee1]=_0x2aac72(0x2a3),_0x13475e[_0x13475e[_0x2aac72(0x380)]=0x2ee2]='INVALID_INVITE_CODE',_0x13475e[_0x13475e[_0x2aac72(0x2d1)]=0x2ee3]=_0x2aac72(0x2d1),_0x13475e[_0x13475e['USER_NOT_INVITED_CODE']=0x2ee4]=_0x2aac72(0x1e7),_0x13475e[_0x13475e['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x2aac72(0x31d),_0x13475e[_0x13475e[_0x2aac72(0x3d6)]=0x32c9]=_0x2aac72(0x3d6),_0x13475e[_0x13475e[_0x2aac72(0x281)]=0x32ca]=_0x2aac72(0x281),_0x13475e[_0x13475e['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x13475e[_0x13475e[_0x2aac72(0x1d3)]=-0x1]=_0x2aac72(0x1d3),_0x13475e))(_0x569986||{}),_0x2cef0a=Object[_0x2aac72(0x1f7)],_0xdf3e3a=(_0x4b5d8f,_0x5f0322,_0x107b88,_0x522675)=>{const _0x57cadc=_0x2aac72;for(var _0x181ac3=_0x522675>0x1?void 0x0:_0x522675?_0x2cef0a(_0x5f0322,_0x107b88):_0x5f0322,_0x3072f6=_0x4b5d8f[_0x57cadc(0x2d6)]-0x1,_0x2ddf43;_0x3072f6>=0x0;_0x3072f6--)(_0x2ddf43=_0x4b5d8f[_0x3072f6])&&(_0x181ac3=_0x2ddf43(_0x181ac3)||_0x181ac3);return _0x181ac3;},_0x12ad78=(_0x63b806,_0x4e9ea9)=>(_0x32adad,_0x1fa276)=>_0x4e9ea9(_0x32adad,_0x1fa276,_0x63b806);_0x426480['RemoteUniscriptService']=class extends _0x359b28[_0x2aac72(0x43e)]{constructor(_0x2ea62e,_0x3e53ce,_0x10ac48){const _0x3e286e=_0x2aac72;super(),this[_0x3e286e(0x364)]=_0x2ea62e,this[_0x3e286e(0x3b8)]=_0x3e53ce,this['_configService']=_0x10ac48;}async[_0x2aac72(0x2b8)](_0x26b608,_0xd785db,_0x1d8cf7,..._0x57a425){const _0x5c0af8=_0x2aac72;var _0x2f20a4,_0x1bff35,_0x5cea38,_0x2508cd;const _0x471b23=this['_instanceService']['getFocusedUnit']();if(!_0x471b23)throw new Error(_0x5c0af8(0x2c8));const _0x36cee7=((_0x2f20a4=this[_0x5c0af8(0x1d6)][_0x5c0af8(0x2e1)](_0x3fc21c[_0x5c0af8(0x368)]))!=null?_0x2f20a4:_0x3fc21c[_0x5c0af8(0x376)])+'/'+_0x26b608+_0x5c0af8(0x440)+_0xd785db,_0x15969=new URL(window[_0x5c0af8(0x3ba)][_0x5c0af8(0x3bd)]),_0x2e35e2={'scriptId':_0x26b608,'runId':(_0x1bff35=_0x15969[_0x5c0af8(0x405)][_0x5c0af8(0x28a)](_0x5c0af8(0x20d)))!=null?_0x1bff35:'','function':_0xd785db,'unitId':_0x471b23[_0x5c0af8(0x388)](),'argsOfFunction':JSON['stringify'](_0x57a425),'invokeId':(_0x5cea38=_0x1d8cf7[_0x5c0af8(0x386)])!=null?_0x5cea38:'','executionId':(_0x2508cd=_0x1d8cf7[_0x5c0af8(0x3f6)])!=null?_0x2508cd:''};try{const _0x107993=await this[_0x5c0af8(0x3b8)][_0x5c0af8(0x249)](_0x36cee7,{'body':_0x2e35e2});return _0x107993[_0x5c0af8(0x2cf)][_0x5c0af8(0x444)]&&_0x107993[_0x5c0af8(0x2cf)][_0x5c0af8(0x444)][_0x5c0af8(0x347)]!==_0x569986['OK']?_0x5c0af8(0x27b):_0x107993[_0x5c0af8(0x2cf)][_0x5c0af8(0x3cd)];}catch{return _0x5c0af8(0x27b);}}},_0x426480[_0x2aac72(0x34a)]=_0xdf3e3a([_0x12ad78(0x0,_0x359b28[_0x2aac72(0x2eb)]),_0x12ad78(0x1,_0x359b28['Inject'](_0xbf88ec[_0x2aac72(0x3ef)])),_0x12ad78(0x2,_0x359b28[_0x2aac72(0x265)])],_0x426480[_0x2aac72(0x34a)]),_0x426480[_0x2aac72(0x283)]=_0xef02bb,_0x426480[_0x2aac72(0x3d4)]=_0x3c4fa8,_0x426480[_0x2aac72(0x3cc)]=_0xe5b0aa,_0x426480[_0x2aac72(0x3bb)]=_0x116c01,_0x426480[_0x2aac72(0x3a8)]=_0x5192b8,Object[_0x2aac72(0x204)](_0x426480,Symbol[_0x2aac72(0x34d)],{'value':_0x2aac72(0x1e8)});}));
1
+ (function(_0x49416b,_0x267d16){const _0xbdff5f=_0x2785,_0x3bccb2=_0x49416b();while(!![]){try{const _0x46f8a3=-parseInt(_0xbdff5f(0x369))/0x1*(-parseInt(_0xbdff5f(0x313))/0x2)+-parseInt(_0xbdff5f(0x436))/0x3+parseInt(_0xbdff5f(0x30b))/0x4+parseInt(_0xbdff5f(0x23d))/0x5+parseInt(_0xbdff5f(0x2c9))/0x6+parseInt(_0xbdff5f(0x408))/0x7*(parseInt(_0xbdff5f(0x231))/0x8)+-parseInt(_0xbdff5f(0x35c))/0x9;if(_0x46f8a3===_0x267d16)break;else _0x3bccb2['push'](_0x3bccb2['shift']());}catch(_0x4be68c){_0x3bccb2['push'](_0x3bccb2['shift']());}}}(_0x375c,0xe073d),function(_0x6d4f61,_0x5d7ef7){const _0x3f10fe=_0x2785;typeof exports==_0x3f10fe(0x2c5)&&typeof module<'u'?_0x5d7ef7(exports,require(_0x3f10fe(0x2e7)),require(_0x3f10fe(0x435)),require(_0x3f10fe(0x200)),require(_0x3f10fe(0x41f)),require(_0x3f10fe(0x34b)),require('@univerjs/drawing'),require(_0x3f10fe(0x3ab)),require(_0x3f10fe(0x35b)),require(_0x3f10fe(0x28d)),require(_0x3f10fe(0x2e2)),require('@univerjs/sheets'),require(_0x3f10fe(0x1f1)),require(_0x3f10fe(0x25d)),require(_0x3f10fe(0x208)),require('@univerjs/ui'),require(_0x3f10fe(0x3af)),require('react'),require(_0x3f10fe(0x28b))):typeof define==_0x3f10fe(0x201)&&define[_0x3f10fe(0x355)]?define([_0x3f10fe(0x38f),_0x3f10fe(0x2e7),_0x3f10fe(0x435),_0x3f10fe(0x200),_0x3f10fe(0x41f),_0x3f10fe(0x34b),'@univerjs/drawing','rxjs',_0x3f10fe(0x35b),_0x3f10fe(0x28d),'@univerjs/engine-formula','@univerjs/sheets',_0x3f10fe(0x1f1),'@univerjs/sheets-ui',_0x3f10fe(0x208),_0x3f10fe(0x356),'@univerjs/design',_0x3f10fe(0x351),_0x3f10fe(0x28b)],_0x5d7ef7):(_0x6d4f61=typeof globalThis<'u'?globalThis:_0x6d4f61||self,_0x5d7ef7(_0x6d4f61[_0x3f10fe(0x1b5)]={},_0x6d4f61[_0x3f10fe(0x1d3)],_0x6d4f61[_0x3f10fe(0x352)],_0x6d4f61[_0x3f10fe(0x2b8)],_0x6d4f61['UniverNetwork'],_0x6d4f61[_0x3f10fe(0x42a)],_0x6d4f61[_0x3f10fe(0x1e2)],_0x6d4f61['rxjs'],_0x6d4f61[_0x3f10fe(0x301)],_0x6d4f61[_0x3f10fe(0x19c)],_0x6d4f61[_0x3f10fe(0x1aa)],_0x6d4f61[_0x3f10fe(0x40d)],_0x6d4f61['rxjs']['operators'],_0x6d4f61[_0x3f10fe(0x1ac)],_0x6d4f61['React'],_0x6d4f61[_0x3f10fe(0x32c)],_0x6d4f61[_0x3f10fe(0x2da)],_0x6d4f61[_0x3f10fe(0x32a)],_0x6d4f61['UniverRpc']));}(this,function(_0x2f60c5,_0xfdd47c,_0x45454d,_0x17a4de,_0x4cb81d,_0x1b66a1,_0x25f2aa,_0x481401,_0x1af111,_0x368b75,_0x3ca4e0,_0x518da4,_0x382509,_0x3497ae,_0x135d70,_0x933c1a,_0x4402cc,_0x54e81b,_0x1c6948){'use strict';const _0x2273bc=_0x2785;var _0x1576c9=Object[_0x2273bc(0x2ee)],_0x4f9554=(_0x542d1e,_0x25aa57,_0x4dc99d)=>_0x25aa57 in _0x542d1e?_0x1576c9(_0x542d1e,_0x25aa57,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4dc99d}):_0x542d1e[_0x25aa57]=_0x4dc99d,_0x394afd=(_0x1a8acf,_0x1257e3,_0x47c58a)=>_0x4f9554(_0x1a8acf,typeof _0x1257e3!='symbol'?_0x1257e3+'':_0x1257e3,_0x47c58a),_0x40a020=Object['getOwnPropertyDescriptor'],_0x40f308=(_0x1a1725,_0x50bac8,_0x538c55,_0x138de3)=>{for(var _0x333fbf=_0x138de3>0x1?void 0x0:_0x138de3?_0x40a020(_0x50bac8,_0x538c55):_0x50bac8,_0x297c11=_0x1a1725['length']-0x1,_0x14f72c;_0x297c11>=0x0;_0x297c11--)(_0x14f72c=_0x1a1725[_0x297c11])&&(_0x333fbf=_0x14f72c(_0x333fbf)||_0x333fbf);return _0x333fbf;},_0x1091e=(_0x1ba126,_0x43f520)=>(_0x39f774,_0x603361)=>_0x43f520(_0x39f774,_0x603361,_0x1ba126);let _0x4604dc=class extends _0x45454d[_0x2273bc(0x42d)]{constructor(_0x4f2c05,_0x483565){const _0x1693c2=_0x2273bc;super(),this[_0x1693c2(0x2b4)]=_0x4f2c05,this[_0x1693c2(0x38c)]=_0x483565,this[_0x1693c2(0x27f)]();}[_0x2273bc(0x27f)](){const _0x500241=_0x2273bc,_0x468edf=this;this['disposeWithMe'](this[_0x500241(0x2b4)][_0x500241(0x37e)]({'onBeforePasteImage':async _0x5110c5=>{const _0x37a465=_0x500241,_0xeb9b68=await _0x468edf[_0x37a465(0x38c)][_0x37a465(0x40c)](_0x5110c5);return _0xeb9b68?{'source':_0xeb9b68[_0x37a465(0x2f2)],'imageSourceType':_0xeb9b68[_0x37a465(0x3ee)]}:null;}}));}};_0x4604dc=_0x40f308([_0x1091e(0x0,_0x1b66a1[_0x2273bc(0x3ba)]),_0x1091e(0x1,_0x25f2aa['IImageIoService'])],_0x4604dc);const _0x5c65c5=['purple.300',_0x2273bc(0x1e5),_0x2273bc(0x212),_0x2273bc(0x36e),_0x2273bc(0x393),_0x2273bc(0x26b)];class _0x308b95 extends _0x45454d[_0x2273bc(0x359)]{constructor(){const _0x5cd927=_0x2273bc;super(...arguments),_0x394afd(this,_0x5cd927(0x390),new Map()),_0x394afd(this,_0x5cd927(0x3f3),0x0);}[_0x2273bc(0x247)](_0x526e87){const _0x1cdde3=_0x2273bc;if(this[_0x1cdde3(0x390)][_0x1cdde3(0x385)](_0x526e87))return this[_0x1cdde3(0x390)][_0x1cdde3(0x1ef)](_0x526e87);const _0x20b589=_0x5c65c5[this[_0x1cdde3(0x3f3)]];return this[_0x1cdde3(0x3f3)]=(this[_0x1cdde3(0x3f3)]+0x1)%_0x5c65c5['length'],this[_0x1cdde3(0x390)][_0x1cdde3(0x2e8)](_0x526e87,_0x20b589),_0x20b589;}}function _0x4e0fd4(_0xd366cf){let _0x4be75e='';for(const _0x130a32 of _0xd366cf){const {startOffset:_0x237d86,endOffset:_0x17cf3a,isActive:_0x3f825a,rangeType:_0x1649b1,segmentId:_0x2efb00,segmentPage:_0x482d6a}=_0x130a32;_0x4be75e['length']&&(_0x4be75e+=','),_0x4be75e+=_0x237d86+':'+_0x17cf3a+':'+(_0x3f825a?'1':'0')+':'+_0x1649b1+':'+_0x2efb00+':'+_0x482d6a;}return _0x4be75e;}function _0x2af1b0(_0x35a5fe){const _0x1480ad=_0x2273bc,_0x2d9c17=_0x35a5fe[_0x1480ad(0x3b9)](','),_0x4c2bbb=[];for(const _0x478e57 of _0x2d9c17){const [_0x253361,_0x79b540,_0x30f222,_0x5008fc,_0x48e7a7,_0x5b38ea]=_0x478e57[_0x1480ad(0x3b9)](':');_0x4c2bbb[_0x1480ad(0x273)]({'startOffset':Number(_0x253361),'endOffset':Number(_0x79b540),'collapsed':_0x253361===_0x79b540,'isActive':_0x30f222==='1','rangeType':_0x5008fc===_0x45454d[_0x1480ad(0x287)][_0x1480ad(0x3e2)]?_0x45454d[_0x1480ad(0x287)][_0x1480ad(0x3e2)]:_0x45454d['DOC_RANGE_TYPE'][_0x1480ad(0x317)],'segmentId':typeof _0x48e7a7=='string'?String(_0x48e7a7):'','segmentPage':Number(_0x5b38ea!=null?_0x5b38ea:-0x1)});}return _0x4c2bbb[_0x1480ad(0x1eb)](_0x353b22=>_0x353b22[_0x1480ad(0x404)])||(_0x4c2bbb[0x0][_0x1480ad(0x404)]=!0x0),_0x4c2bbb;}class _0x43f1e3 extends _0x45454d['RxDisposable']{constructor(){const _0x590c1f=_0x2273bc;super(...arguments),_0x394afd(this,'_collabCursorState$',new _0x481401[(_0x590c1f(0x2e4))](null)),_0x394afd(this,_0x590c1f(0x3e7),this[_0x590c1f(0x392)][_0x590c1f(0x39f)]());}[_0x2273bc(0x31d)](_0x3a3da9){const _0x28c2d9=_0x2273bc,{unitID:_0x573a15,memberID:_0x33fc7f,textRanges:_0x515ff7}=_0x3a3da9,_0x253124=_0x4e0fd4(_0x515ff7);if(_0x253124==='')return;const _0x3b25e8={'unitID':_0x573a15,'memberID':_0x33fc7f,'selection':_0x253124};this[_0x28c2d9(0x392)][_0x28c2d9(0x33c)](_0x3b25e8);}}var _0x44f65a=Object[_0x2273bc(0x43a)],_0x640358=(_0x271976,_0x354db5,_0x124465,_0x30c43b)=>{const _0x438080=_0x2273bc;for(var _0x3b8703=_0x30c43b>0x1?void 0x0:_0x30c43b?_0x44f65a(_0x354db5,_0x124465):_0x354db5,_0x366981=_0x271976[_0x438080(0x1cb)]-0x1,_0x54bc0e;_0x366981>=0x0;_0x366981--)(_0x54bc0e=_0x271976[_0x366981])&&(_0x3b8703=_0x54bc0e(_0x3b8703)||_0x3b8703);return _0x3b8703;},_0x256a26=(_0x4ad8cc,_0x1fac5d)=>(_0x40f36e,_0x1fa816)=>_0x1fac5d(_0x40f36e,_0x1fa816,_0x4ad8cc);const _0xb0d87=0x12c,_0x3dcffa=0x64;let _0xe2085d=class extends _0x45454d[_0x2273bc(0x42d)]{constructor(_0x4f3614,_0x34c502,_0x293b9e,_0x423510,_0x2dfe3c,_0x59dabd,_0x263c59,_0x1ee1d8,_0x57f1cb){const _0x5c2e65=_0x2273bc;super(),_0x394afd(this,_0x5c2e65(0x36b),!0x1),_0x394afd(this,'_init',!0x1),_0x394afd(this,_0x5c2e65(0x37c),new _0x481401[(_0x5c2e65(0x2e4))](new Map())),_0x394afd(this,_0x5c2e65(0x20e),this[_0x5c2e65(0x37c)][_0x5c2e65(0x39f)]()),_0x394afd(this,'_roomMembers$',new _0x481401[(_0x5c2e65(0x2e4))]([])),_0x394afd(this,'roomMembers$',this[_0x5c2e65(0x363)][_0x5c2e65(0x262)](_0x481401['debounceTime'](_0xb0d87))),_0x394afd(this,'_updateLocalCursor',_0x45454d[_0x5c2e65(0x29d)](_0x55e3ea=>{const _0x2fb3dd=_0x5c2e65,_0x3db762={'eventID':_0x368b75['CollaborationEvent'][_0x2fb3dd(0x34c)],'data':{'unitID':this[_0x2fb3dd(0x2cb)],'memberID':this[_0x2fb3dd(0x33b)][_0x2fb3dd(0x2ea)](),'selection':_0x4e0fd4(_0x55e3ea)}};this[_0x2fb3dd(0x33b)][_0x2fb3dd(0x401)](_0x3db762,this[_0x2fb3dd(0x2cb)]);},_0x3dcffa)),(this[_0x5c2e65(0x2cb)]=_0x4f3614,this[_0x5c2e65(0x33b)]=_0x34c502,this['_injector']=_0x293b9e,this[_0x5c2e65(0x237)]=_0x423510,this[_0x5c2e65(0x3f8)]=_0x2dfe3c,this['_syncEditingCollabCursorService']=_0x59dabd,this[_0x5c2e65(0x333)]=_0x263c59,this[_0x5c2e65(0x383)]=_0x1ee1d8,this[_0x5c2e65(0x1c1)]=_0x57f1cb);}get[_0x2273bc(0x2f9)](){const _0x99ab42=_0x2273bc;return this['_cursorInfo$'][_0x99ab42(0x3f5)]();}get[_0x2273bc(0x3cf)](){const _0x1e672e=_0x2273bc;return this[_0x1e672e(0x363)][_0x1e672e(0x3f5)]();}['dispose'](){const _0x4d45ba=_0x2273bc;super[_0x4d45ba(0x3b5)](),this[_0x4d45ba(0x37c)]['next'](new Map()),this[_0x4d45ba(0x37c)][_0x4d45ba(0x417)](),this['_roomMembers$'][_0x4d45ba(0x33c)]([]),this[_0x4d45ba(0x363)][_0x4d45ba(0x417)]();}[_0x2273bc(0x3db)](){const _0x267c88=_0x2273bc;this[_0x267c88(0x27f)]||(this['_init']=!0x0,this[_0x267c88(0x33b)][_0x267c88(0x25c)]['pipe'](_0x481401[_0x267c88(0x2f3)](this['dispose$']))[_0x267c88(0x2b7)](_0x11af30=>{const _0x498009=_0x267c88;_0x11af30===_0xfdd47c[_0x498009(0x332)][_0x498009(0x425)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session']['event$'][_0x267c88(0x262)](_0x481401[_0x267c88(0x2f3)](this[_0x267c88(0x1ad)]))['subscribe'](_0x14bb67=>{const _0x330811=_0x267c88,_0x1f3c2c=_0x14bb67[_0x330811(0x1b4)];_0x1f3c2c===_0x368b75[_0x330811(0x43b)][_0x330811(0x34c)]&&this[_0x330811(0x421)](_0x14bb67),_0x1f3c2c===_0x368b75[_0x330811(0x43b)][_0x330811(0x343)]&&this[_0x330811(0x23a)](_0x14bb67);}),this[_0x267c88(0x36f)](this[_0x267c88(0x1c1)][_0x267c88(0x353)](_0x51f354=>{const _0x5559a6=_0x267c88,_0x11b55f=_0x51f354['params'];_0x11b55f!=null&&this['_online']&&_0x51f354['id']===_0x1af111[_0x5559a6(0x3f9)]['id']&&_0x11b55f[_0x5559a6(0x338)]===this[_0x5559a6(0x2cb)]&&_0x11b55f['isEditing']===!0x1&&_0x11b55f[_0x5559a6(0x41c)][_0x5559a6(0x1cb)]>0x0&&this[_0x5559a6(0x35e)](_0x11b55f['ranges']);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x267c88(0x262)](_0x481401['takeUntil'](this['dispose$']))[_0x267c88(0x2b7)](_0x59ec19=>{const _0x4ca96=_0x267c88;if((_0x59ec19==null?void 0x0:_0x59ec19[_0x4ca96(0x2cb)])!==this[_0x4ca96(0x2cb)])return;const _0x5a6a8b={'eventID':_0x368b75[_0x4ca96(0x43b)]['UPDATE_CURSOR'],'data':_0x59ec19};this[_0x4ca96(0x421)](_0x5a6a8b);}),this[_0x267c88(0x36f)](this[_0x267c88(0x1c1)][_0x267c88(0x353)](_0x23eb9e=>{const _0x3565e0=_0x267c88;if(_0x23eb9e[_0x3565e0(0x399)]==null)return;const _0x224a49=_0x23eb9e[_0x3565e0(0x399)];if(_0x23eb9e['id']!==_0x1af111[_0x3565e0(0x39e)]['id']||_0x224a49[_0x3565e0(0x338)]!==this['unitID'])return;const _0x5dc16f={'id':_0x3565e0(0x2b5),'params':_0x224a49},_0x377beb=this[_0x3565e0(0x2f9)];for(const [_0x38beaa,_0x30a7fb]of _0x377beb){const _0x12bb11={'id':_0x3565e0(0x2b5),'params':{'unitId':this[_0x3565e0(0x2cb)],'actions':null,'textRanges':_0x30a7fb['ranges']}},_0x54aeea=this[_0x3565e0(0x333)][_0x3565e0(0x2cc)](_0x5dc16f,_0x12bb11,!0x1);if(_0x368b75[_0x3565e0(0x31e)](_0x54aeea))throw _0x54aeea[_0x3565e0(0x372)];_0x377beb['set'](_0x38beaa,{..._0x30a7fb,'ranges':_0x54aeea[_0x3565e0(0x248)][_0x3565e0(0x399)]['textRanges']});}queueMicrotask(()=>{const _0x33ed7f=_0x3565e0;this[_0x33ed7f(0x37c)]['next'](_0x377beb);});})));}[_0x2273bc(0x421)](_0x4597ef){const _0x40f5e4=_0x2273bc;var _0x4814ad,_0x1c212d;const {memberID:_0x1dbe99,selection:_0x3d7ed8}=_0x4597ef[_0x40f5e4(0x3be)],_0x13b93b=_0x2af1b0(_0x3d7ed8),_0x360089=(_0x1c212d=(_0x4814ad=this[_0x40f5e4(0x3f8)][_0x40f5e4(0x3a7)](this[_0x40f5e4(0x2cb)],_0x1dbe99))==null?void 0x0:_0x4814ad[_0x40f5e4(0x2c8)])!=null?_0x1c212d:_0x40f5e4(0x202),_0x2559af={'color':this[_0x40f5e4(0x237)]['assignAColorForMemberID'](_0x1dbe99),'name':_0x360089,'ranges':_0x13b93b},_0x13f7a0=this[_0x40f5e4(0x2f9)];_0x13f7a0[_0x40f5e4(0x2e8)](_0x1dbe99,_0x2559af),this[_0x40f5e4(0x37c)][_0x40f5e4(0x33c)](_0x13f7a0);}[_0x2273bc(0x23a)](_0x2c40be){const _0x283f03=_0x2273bc,{memberID:_0xdd5014}=_0x2c40be[_0x283f03(0x3be)],_0x4c68ae=this[_0x283f03(0x2f9)];_0x4c68ae[_0x283f03(0x43c)](_0xdd5014),this[_0x283f03(0x37c)]['next'](_0x4c68ae);}[_0x2273bc(0x431)](){const _0x23fa89=_0x2273bc;var _0x17b857;if(this[_0x23fa89(0x36b)]=!0x0,((_0x17b857=this[_0x23fa89(0x383)][_0x23fa89(0x3d2)]())==null?void 0x0:_0x17b857[_0x23fa89(0x318)]())!==this['unitID'])return;const _0x1338fa=this[_0x23fa89(0x3ca)][_0x23fa89(0x1ef)](_0x1af111['DocSelectionManagerService'])[_0x23fa89(0x21f)]();Array[_0x23fa89(0x387)](_0x1338fa)&&_0x1338fa[_0x23fa89(0x1cb)]>0x0&&this[_0x23fa89(0x35e)](_0x1338fa);}[_0x2273bc(0x1c2)](){const _0x2bc11c=_0x2273bc;this[_0x2bc11c(0x36b)]=!0x1;}};_0xe2085d=_0x640358([_0x256a26(0x2,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x3b2)])),_0x256a26(0x3,_0x45454d['Inject'](_0x308b95)),_0x256a26(0x4,_0x45454d['Inject'](_0xfdd47c[_0x2273bc(0x294)])),_0x256a26(0x5,_0x45454d[_0x2273bc(0x37f)](_0x43f1e3)),_0x256a26(0x6,_0x368b75['ITransformService']),_0x256a26(0x7,_0x45454d[_0x2273bc(0x1b1)]),_0x256a26(0x8,_0x45454d[_0x2273bc(0x3d0)])],_0xe2085d);var _0x5b3e29=Object[_0x2273bc(0x43a)],_0x1c0493=(_0x3662ca,_0x1dce5a,_0x2ba60f,_0x1e484c)=>{const _0x36a778=_0x2273bc;for(var _0x2f234b=_0x1e484c>0x1?void 0x0:_0x1e484c?_0x5b3e29(_0x1dce5a,_0x2ba60f):_0x1dce5a,_0x515046=_0x3662ca[_0x36a778(0x1cb)]-0x1,_0x229a51;_0x515046>=0x0;_0x515046--)(_0x229a51=_0x3662ca[_0x515046])&&(_0x2f234b=_0x229a51(_0x2f234b)||_0x2f234b);return _0x2f234b;},_0x33ca4f=(_0x48dda8,_0x4828e9)=>(_0x433ca5,_0x49462d)=>_0x4828e9(_0x433ca5,_0x49462d,_0x48dda8);const _0x2fa893=0x12c,_0x3d468d=0x64,_0x533d0d=()=>{let _0x8118d1=[],_0x3202e5=!0x1;return _0x40c667=>{const _0x514e45=_0x2785;_0x8118d1[_0x514e45(0x273)](_0x40c667),_0x3202e5||(_0x3202e5=!0x0,setTimeout(()=>{const _0x59a416=_0x514e45;_0x8118d1[_0x59a416(0x213)](_0x21024e=>_0x21024e()),_0x8118d1=[],_0x3202e5=!0x1;}));};};let _0x3b6a78=class extends _0x45454d['RxDisposable']{constructor(_0x104901,_0x414fc9,_0x8eba51,_0x2c0a57,_0x257a7e,_0x1b6c1c,_0x382fe2,_0x13d106){const _0x292cd3=_0x2273bc;super(),_0x394afd(this,_0x292cd3(0x36b),!0x1),_0x394afd(this,'_init',!0x1),_0x394afd(this,_0x292cd3(0x37c),new _0x481401[(_0x292cd3(0x2e4))](new Map())),_0x394afd(this,'cursorInfo$',this[_0x292cd3(0x37c)][_0x292cd3(0x39f)]()),_0x394afd(this,_0x292cd3(0x363),new _0x481401['BehaviorSubject']([])),_0x394afd(this,_0x292cd3(0x1bb),this[_0x292cd3(0x363)][_0x292cd3(0x262)](_0x481401['debounceTime'](_0x2fa893))),_0x394afd(this,_0x292cd3(0x35e),_0x45454d[_0x292cd3(0x29d)]((_0x4ac853,_0x32549d)=>{const _0x53dec7=_0x292cd3,_0x41a43f={'eventID':_0x368b75[_0x53dec7(0x43b)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x53dec7(0x33b)]['getMemberID'](),'selection':_0x3ca4e0['serializeRangeWithSheet'](_0x4ac853,_0x32549d[_0x53dec7(0x3c8)])}};this[_0x53dec7(0x33b)][_0x53dec7(0x401)](_0x41a43f,this[_0x53dec7(0x2cb)]);},_0x3d468d)),(this[_0x292cd3(0x2cb)]=_0x104901,this['_session']=_0x414fc9,this['_injector']=_0x8eba51,this['_colorAssignService']=_0x2c0a57,this['_memberService']=_0x257a7e,this[_0x292cd3(0x383)]=_0x1b6c1c,this[_0x292cd3(0x1c1)]=_0x382fe2,this[_0x292cd3(0x382)]=_0x13d106);}get['cursorInfo'](){const _0x6fb14=_0x2273bc;return this[_0x6fb14(0x37c)][_0x6fb14(0x3f5)]();}get[_0x2273bc(0x3cf)](){const _0x801dae=_0x2273bc;return this[_0x801dae(0x363)][_0x801dae(0x3f5)]();}[_0x2273bc(0x3b5)](){const _0xa18340=_0x2273bc;super['dispose'](),this[_0xa18340(0x37c)][_0xa18340(0x33c)](new Map()),this[_0xa18340(0x37c)][_0xa18340(0x417)](),this['_roomMembers$'][_0xa18340(0x33c)]([]),this[_0xa18340(0x363)][_0xa18340(0x417)]();}[_0x2273bc(0x3db)](){const _0x1135d9=_0x2273bc;this[_0x1135d9(0x27f)]||(this[_0x1135d9(0x27f)]=!0x0,this[_0x1135d9(0x33b)][_0x1135d9(0x25c)][_0x1135d9(0x262)](_0x481401['takeUntil'](this['dispose$']))['subscribe'](_0x1c5eb4=>{const _0x15e8ae=_0x1135d9;_0x1c5eb4===_0xfdd47c['SessionStatus']['ONLINE']?this[_0x15e8ae(0x431)]():this[_0x15e8ae(0x1c2)]();}),this[_0x1135d9(0x33b)][_0x1135d9(0x241)]['pipe'](_0x481401[_0x1135d9(0x2f3)](this[_0x1135d9(0x1ad)]))[_0x1135d9(0x2b7)](_0x2ef17b=>{const _0x545d52=_0x1135d9,_0x25740a=_0x2ef17b['eventID'];_0x25740a===_0x368b75['CollaborationEvent'][_0x545d52(0x34c)]&&this[_0x545d52(0x421)](_0x2ef17b),_0x25740a===_0x368b75[_0x545d52(0x43b)][_0x545d52(0x343)]&&this[_0x545d52(0x23a)](_0x2ef17b);}),this[_0x1135d9(0x315)](),this[_0x1135d9(0x36f)](this[_0x1135d9(0x1c1)][_0x1135d9(0x353)](_0x4dc2f3=>{const _0x5d81e1=_0x1135d9;if(this['_online']&&_0x4dc2f3['id']===_0x518da4[_0x5d81e1(0x398)]['id']&&_0x4dc2f3[_0x5d81e1(0x399)][_0x5d81e1(0x338)]===this[_0x5d81e1(0x2cb)]){const _0x2aced9=_0x4dc2f3[_0x5d81e1(0x399)];this['_updateLocalCursor'](_0x2aced9[_0x5d81e1(0x3c4)],_0x2aced9[_0x5d81e1(0x1ca)][0x0]);}})));}[_0x2273bc(0x421)](_0x241be0){const _0x58256c=_0x2273bc;var _0x2b208c,_0x299dc6;const {memberID:_0x4b4b3e,selection:_0x30c48d}=_0x241be0['data'],{sheetName:_0x2453b7,range:_0x17d488}=_0x3ca4e0[_0x58256c(0x319)](_0x30c48d),_0x50d76b={'name':(_0x299dc6=(_0x2b208c=this['_memberService'][_0x58256c(0x3a7)](this[_0x58256c(0x2cb)],_0x4b4b3e))==null?void 0x0:_0x2b208c['name'])!=null?_0x299dc6:_0x58256c(0x202),'range':this[_0x58256c(0x2dc)](_0x2453b7,_0x17d488),'sheetID':_0x2453b7,'color':this[_0x58256c(0x237)][_0x58256c(0x247)](_0x4b4b3e),'selection':_0x30c48d},_0x1706cb=this[_0x58256c(0x2f9)];_0x1706cb['set'](_0x4b4b3e,_0x50d76b),this['_cursorInfo$'][_0x58256c(0x33c)](_0x1706cb);}[_0x2273bc(0x23a)](_0xb660bf){const _0x399aca=_0x2273bc,{memberID:_0x4d4901}=_0xb660bf[_0x399aca(0x3be)],_0x12de01=this['cursorInfo'];_0x12de01[_0x399aca(0x43c)](_0x4d4901),this[_0x399aca(0x37c)]['next'](_0x12de01);}[_0x2273bc(0x2dc)](_0x101671,_0x564b49){const _0x547439=_0x2273bc;var _0x45b573,_0x21216b;const _0x6e875c=(_0x21216b=(_0x45b573=this[_0x547439(0x383)][_0x547439(0x3bc)](this[_0x547439(0x2cb)]))==null?void 0x0:_0x45b573[_0x547439(0x2ca)](_0x101671))==null?void 0x0:_0x21216b[_0x547439(0x39c)]();return(_0x6e875c==null?void 0x0:_0x6e875c['find'](_0x2caacd=>_0x45454d[_0x547439(0x285)]['contains'](_0x2caacd,_0x564b49)))||_0x564b49;}[_0x2273bc(0x315)](){const _0x3bc66d=_0x2273bc,_0x133e4f=new _0x45454d['DisposableCollection'](),_0x783d93=_0x533d0d(),_0x2a2b16=()=>{const _0x2a410c=_0x2785;_0x133e4f[_0x2a410c(0x3b5)]();const _0x3d9061=(_0x5d10f5,_0x9cbaf8,_0x1c39ad,_0x2ca478)=>{const _0x5e816b=_0x2a410c;let _0x7a87e=[];switch(_0x5d10f5['id']){case _0x518da4[_0x5e816b(0x3d9)]['DeleteRangeMoveLeftCommandId']:{_0x7a87e=_0x518da4[_0x5e816b(0x28f)](_0x5d10f5,_0x2ca478);break;}case _0x518da4[_0x5e816b(0x3d9)][_0x5e816b(0x2c0)]:{_0x7a87e=_0x518da4[_0x5e816b(0x3ec)](_0x5d10f5,_0x2ca478);break;}case _0x518da4['EffectRefRangId'][_0x5e816b(0x344)]:{_0x7a87e=_0x518da4[_0x5e816b(0x2c4)](_0x5d10f5,_0x2ca478);break;}case _0x518da4[_0x5e816b(0x3d9)][_0x5e816b(0x1a6)]:{_0x7a87e=_0x518da4['handleInsertRangeMoveDown'](_0x5d10f5,_0x2ca478);break;}case _0x518da4[_0x5e816b(0x3d9)][_0x5e816b(0x345)]:{_0x7a87e=_0x518da4[_0x5e816b(0x378)](_0x5d10f5,_0x2ca478);break;}case _0x518da4[_0x5e816b(0x3d9)][_0x5e816b(0x22f)]:{_0x7a87e=_0x518da4[_0x5e816b(0x386)](_0x5d10f5,_0x2ca478);break;}case _0x518da4[_0x5e816b(0x3d9)][_0x5e816b(0x1f6)]:{_0x7a87e=_0x518da4[_0x5e816b(0x26c)](_0x5d10f5,_0x2ca478);break;}case _0x518da4[_0x5e816b(0x3d9)][_0x5e816b(0x1e1)]:{_0x7a87e=_0x518da4[_0x5e816b(0x2bf)](_0x5d10f5,_0x2ca478);break;}case _0x518da4[_0x5e816b(0x3d9)][_0x5e816b(0x207)]:{_0x7a87e=_0x518da4[_0x5e816b(0x1c7)](_0x5d10f5,_0x2ca478);break;}}const _0xa3a0f2=_0x518da4[_0x5e816b(0x3e6)](_0x7a87e,_0x2ca478),_0x93f9f7=this['cursorInfo'][_0x5e816b(0x1ef)](_0x9cbaf8);if(_0x93f9f7&&_0xa3a0f2){const _0x264500={..._0x93f9f7,'range':_0xa3a0f2};this[_0x5e816b(0x2f9)][_0x5e816b(0x2e8)](_0x9cbaf8,_0x264500),_0x783d93(()=>{const _0x94584c=_0x5e816b,_0x16c5cf=this[_0x94584c(0x382)][_0x94584c(0x419)](_0xa3a0f2,_0xda2086=>(_0x16c5cf['dispose'](),_0x3d9061(_0xda2086,_0x9cbaf8,_0x1c39ad,_0xa3a0f2)));_0x133e4f['add'](_0x16c5cf);});}return{'redos':[],'undos':[]};};this[_0x2a410c(0x2f9)][_0x2a410c(0x213)]((_0x4bdcdd,_0x123b5b)=>{const _0x5243b1=_0x2a410c,{range:_0x5b43fe,sheetID:_0x1fd018}=_0x4bdcdd,_0x587bf3=this[_0x5243b1(0x382)]['registerRefRange'](_0x5b43fe,_0x4ae2e8=>(_0x587bf3[_0x5243b1(0x3b5)](),_0x3d9061(_0x4ae2e8,_0x123b5b,_0x1fd018,_0x5b43fe)));_0x133e4f[_0x5243b1(0x1ee)](_0x587bf3);});};this[_0x3bc66d(0x36f)](_0x45454d[_0x3bc66d(0x1c0)](this[_0x3bc66d(0x37c)][_0x3bc66d(0x2b7)](()=>{_0x2a2b16();})));}[_0x2273bc(0x431)](){const _0x509bb0=_0x2273bc;var _0x81a2fa,_0x3e2c13;if(this['_online']=!0x0,((_0x81a2fa=this[_0x509bb0(0x383)][_0x509bb0(0x3d2)]())==null?void 0x0:_0x81a2fa['getUnitId']())!==this['unitID'])return;const _0x29dc6d=(_0x3e2c13=this['_injector']['get'](_0x518da4['SheetsSelectionsService'])[_0x509bb0(0x3b4)]())==null?void 0x0:_0x3e2c13[0x0],_0x467d73=this['_univerInstanceService'][_0x509bb0(0x429)](_0x45454d[_0x509bb0(0x307)]['UNIVER_SHEET'])['getActiveSheet']();_0x29dc6d&&_0x467d73&&this[_0x509bb0(0x35e)](_0x467d73[_0x509bb0(0x1be)](),_0x29dc6d);}[_0x2273bc(0x1c2)](){const _0x13f5f5=_0x2273bc;this[_0x13f5f5(0x36b)]=!0x1;}};_0x3b6a78=_0x1c0493([_0x33ca4f(0x2,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x3b2)])),_0x33ca4f(0x3,_0x45454d[_0x2273bc(0x37f)](_0x308b95)),_0x33ca4f(0x4,_0x45454d['Inject'](_0xfdd47c[_0x2273bc(0x294)])),_0x33ca4f(0x5,_0x45454d[_0x2273bc(0x1b1)]),_0x33ca4f(0x6,_0x45454d[_0x2273bc(0x3d0)]),_0x33ca4f(0x7,_0x45454d['Inject'](_0x518da4['RefRangeService']))],_0x3b6a78);var _0x3425eb=Object[_0x2273bc(0x43a)],_0x3a0eda=(_0x4d70ad,_0x39a054,_0xf23cde,_0x5d8019)=>{const _0x4824fc=_0x2273bc;for(var _0x35a5e8=_0x5d8019>0x1?void 0x0:_0x5d8019?_0x3425eb(_0x39a054,_0xf23cde):_0x39a054,_0x52c1bf=_0x4d70ad[_0x4824fc(0x1cb)]-0x1,_0x3f4f15;_0x52c1bf>=0x0;_0x52c1bf--)(_0x3f4f15=_0x4d70ad[_0x52c1bf])&&(_0x35a5e8=_0x3f4f15(_0x35a5e8)||_0x35a5e8);return _0x35a5e8;},_0x129d3b=(_0x9f0e54,_0x2583e2)=>(_0x240a39,_0x1b397)=>_0x2583e2(_0x240a39,_0x1b397,_0x9f0e54);let _0x344c8e=class extends _0x45454d['RxDisposable']{constructor(_0x500624,_0xc18da3,_0x5d7217){const _0x3e8590=_0x2273bc;super(),_0x394afd(this,_0x3e8590(0x28c),new Map()),_0x394afd(this,_0x3e8590(0x411),new _0x481401[(_0x3e8590(0x438))]()),(this[_0x3e8590(0x383)]=_0x500624,this[_0x3e8590(0x3ca)]=_0xc18da3,this[_0x3e8590(0x38d)]=_0x5d7217,this[_0x3e8590(0x27f)]());}[_0x2273bc(0x3b5)](){const _0x275f00=_0x2273bc;super[_0x275f00(0x3b5)](),this[_0x275f00(0x411)][_0x275f00(0x417)](),this[_0x275f00(0x28c)][_0x275f00(0x213)](_0x1c7fcc=>_0x1c7fcc['dispose']());}[_0x2273bc(0x249)](_0x13fcc5){const _0x3cfd47=_0x2273bc;return this[_0x3cfd47(0x28c)][_0x3cfd47(0x385)](_0x13fcc5)?this['_entities'][_0x3cfd47(0x1ef)](_0x13fcc5)['cursorInfo$']:this['_entityInit$'][_0x3cfd47(0x262)](_0x481401['filter'](_0x176080=>_0x176080['unitID']===_0x13fcc5),_0x481401[_0x3cfd47(0x275)](_0x588d0a=>_0x588d0a['cursorInfo$']));}[_0x2273bc(0x27f)](){const _0x283163=_0x2273bc;this[_0x283163(0x383)]['getTypeOfUnitAdded$'](_0x45454d['UniverInstanceType']['UNIVER_SHEET'])[_0x283163(0x262)](_0x481401['takeUntil'](this[_0x283163(0x1ad)]))[_0x283163(0x2b7)](async _0x1ef958=>{const _0x13e682=_0x283163,_0x5dc70b=_0x1ef958[_0x13e682(0x318)](),_0x8198b=await this[_0x13e682(0x3c7)](_0x5dc70b);this[_0x13e682(0x411)][_0x13e682(0x33c)](_0x8198b),this[_0x13e682(0x28c)][_0x13e682(0x2e8)](_0x5dc70b,_0x8198b);}),this[_0x283163(0x383)][_0x283163(0x38e)](_0x45454d[_0x283163(0x307)][_0x283163(0x27c)])[_0x283163(0x262)](_0x481401[_0x283163(0x2f3)](this[_0x283163(0x1ad)]))[_0x283163(0x262)](_0x481401[_0x283163(0x334)](_0x16aff4=>!_0x16aff4[_0x283163(0x318)]()[_0x283163(0x42f)]('__')))[_0x283163(0x2b7)](async _0x79ce5e=>{const _0x4518d3=_0x283163,_0x4dddcc=_0x79ce5e[_0x4518d3(0x318)](),_0x4611a5=await this[_0x4518d3(0x304)](_0x4dddcc);this['_entityInit$'][_0x4518d3(0x33c)](_0x4611a5),this['_entities']['set'](_0x4dddcc,_0x4611a5);}),_0x481401['merge'](this[_0x283163(0x383)][_0x283163(0x420)](_0x45454d['UniverInstanceType'][_0x283163(0x27c)]),this[_0x283163(0x383)][_0x283163(0x420)](_0x45454d[_0x283163(0x307)]['UNIVER_SHEET']))[_0x283163(0x262)](_0x481401['takeUntil'](this[_0x283163(0x1ad)]))[_0x283163(0x2b7)](_0x294024=>{const _0x366837=_0x283163,_0x1df501=_0x294024['getUnitId'](),_0x2529dd=this['_entities'][_0x366837(0x1ef)](_0x1df501);_0x2529dd&&(_0x2529dd[_0x366837(0x3b5)](),this['_entities'][_0x366837(0x43c)](_0x1df501));});}async[_0x2273bc(0x3c7)](_0x1937c3){const _0x18c5da=_0x2273bc,_0x2fc7e7=await this[_0x18c5da(0x38d)]['requireSession'](_0x1937c3),_0xf0daa3=this[_0x18c5da(0x3ca)][_0x18c5da(0x250)](_0x3b6a78,_0x1937c3,_0x2fc7e7);return _0xf0daa3[_0x18c5da(0x3db)](),_0xf0daa3;}async['_startDocCollabCursor'](_0x4e5d4b){const _0x3f3b0b=_0x2273bc,_0x54f6d9=await this[_0x3f3b0b(0x38d)][_0x3f3b0b(0x1ed)](_0x4e5d4b),_0x41800b=this[_0x3f3b0b(0x3ca)]['createInstance'](_0xe2085d,_0x4e5d4b,_0x54f6d9);return _0x41800b[_0x3f3b0b(0x3db)](),_0x41800b;}};_0x344c8e=_0x3a0eda([_0x129d3b(0x0,_0x45454d[_0x2273bc(0x1b1)]),_0x129d3b(0x1,_0x45454d['Inject'](_0x45454d[_0x2273bc(0x3b2)])),_0x129d3b(0x2,_0x45454d[_0x2273bc(0x37f)](_0xfdd47c[_0x2273bc(0x1a0)]))],_0x344c8e);const _0x12fb24=0x14,_0x458ef9=0xc8,_0xf971df=0x4,_0x1efc0e=0x5;function _0x19c1b2(_0x1f604a,_0x30f341){const _0x10bdbf=_0x2273bc;let {radius:_0x5abf26,width:_0x2f2c6c,height:_0x4e8c46}=_0x30f341;_0x5abf26=_0x5abf26!=null?_0x5abf26:0x0,_0x2f2c6c=_0x2f2c6c!=null?_0x2f2c6c:0x1e,_0x4e8c46=_0x4e8c46!=null?_0x4e8c46:0x1e;let _0x216f2d=0x0,_0x14f6d2=0x0,_0x194acf=0x0;_0x216f2d=_0x14f6d2=_0x194acf=Math[_0x10bdbf(0x3bd)](_0x5abf26,_0x2f2c6c/0x2,_0x4e8c46/0x2),_0x1f604a['beginPath'](),_0x1f604a[_0x10bdbf(0x303)](_0x216f2d,0x0),_0x1f604a[_0x10bdbf(0x368)](_0x2f2c6c-_0x14f6d2,0x0),_0x1f604a[_0x10bdbf(0x310)](_0x2f2c6c-_0x14f6d2,_0x14f6d2,_0x14f6d2,Math['PI']*0x3/0x2,0x0,!0x1),_0x1f604a[_0x10bdbf(0x368)](_0x2f2c6c,_0x4e8c46-_0x194acf),_0x1f604a[_0x10bdbf(0x310)](_0x2f2c6c-_0x194acf,_0x4e8c46-_0x194acf,_0x194acf,0x0,Math['PI']/0x2,!0x1),_0x1f604a[_0x10bdbf(0x368)](0x0,_0x4e8c46),_0x1f604a[_0x10bdbf(0x368)](0x0,_0x216f2d),_0x1f604a[_0x10bdbf(0x310)](_0x216f2d,_0x216f2d,_0x216f2d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1f604a['closePath'](),_0x30f341['fill']&&(_0x1f604a[_0x10bdbf(0x24a)](),_0x1f604a[_0x10bdbf(0x367)]=_0x30f341[_0x10bdbf(0x297)],_0x30f341[_0x10bdbf(0x22d)]===_0x10bdbf(0x1b3)?_0x1f604a[_0x10bdbf(0x297)](_0x10bdbf(0x1b3)):_0x1f604a['fill'](),_0x1f604a[_0x10bdbf(0x2a5)]());}class _0x399458 extends _0x17a4de['Shape']{constructor(_0x4e680a,_0x3fa2ad){const _0x52621e=_0x2273bc;super(_0x4e680a,_0x3fa2ad),_0x394afd(this,'color'),_0x394afd(this,_0x52621e(0x35d)),(this[_0x52621e(0x2df)]=_0x3fa2ad==null?void 0x0:_0x3fa2ad[_0x52621e(0x2df)],this[_0x52621e(0x35d)]=_0x3fa2ad==null?void 0x0:_0x3fa2ad[_0x52621e(0x35d)]);}static['drawWith'](_0x301279,_0x468535){const _0x20fc73=_0x2273bc,{text:_0x2e1cf3,color:_0x5944a4}=_0x468535;_0x301279[_0x20fc73(0x24a)](),_0x301279[_0x20fc73(0x40a)]=_0x20fc73(0x3c0);const _0x45a93c=_0x301279['measureText'](_0x2e1cf3)[_0x20fc73(0x2fb)],_0x18d95a=Math['min'](_0x45a93c+0x2*_0xf971df,_0x458ef9);_0x19c1b2(_0x301279,{'height':_0x12fb24,'radius':0x4,'width':_0x18d95a,'fill':_0x5944a4}),_0x301279['fillStyle']=_0x20fc73(0x1d8);const _0x463440=_0xf971df,_0x2e82df=_0x12fb24-_0x1efc0e,_0xf0c620=_0x458ef9-0x2*_0xf971df;if(_0x45a93c>_0xf0c620){let _0x48a757='',_0x57740a=0x0;for(const _0x49f735 of _0x2e1cf3){const _0x186495=_0x301279[_0x20fc73(0x3c9)](_0x49f735)['width'];if(_0x57740a+_0x186495<=_0xf0c620-_0x301279[_0x20fc73(0x3c9)](_0x20fc73(0x366))[_0x20fc73(0x2fb)])_0x48a757+=_0x49f735,_0x57740a+=_0x186495;else{_0x48a757+=_0x20fc73(0x366);break;}}_0x301279[_0x20fc73(0x1fe)](_0x48a757,_0x463440,_0x2e82df);}else _0x301279['fillText'](_0x2e1cf3,_0x463440,_0x2e82df);_0x301279[_0x20fc73(0x2a5)]();}[_0x2273bc(0x33f)](_0x59f7f4){const _0x3bd5e8=_0x2273bc;_0x399458[_0x3bd5e8(0x2ce)](_0x59f7f4,this);}}const _0x55cfd8=_0x2273bc(0x406),_0xd18c9f=_0x2273bc(0x26f),_0x435355=_0x2273bc(0x21d),_0x2fefc3=0x6,_0x5316e5=1.5,_0x5b7271=0x4,_0x2dade2=1.5,_0x182343=_0x2273bc(0x36a);class _0x4e5939{constructor(_0x41e24a,_0x22ea3f,_0x9d4eae,_0x268a95){const _0xc3523a=_0x2273bc;_0x394afd(this,_0xc3523a(0x2f6),[]),_0x394afd(this,_0xc3523a(0x38b),null),_0x394afd(this,_0xc3523a(0x246),null),_0x394afd(this,_0xc3523a(0x27a),null),_0x394afd(this,_0xc3523a(0x2de),null),_0x394afd(this,_0xc3523a(0x37b),null),(this['_cursor']=_0x41e24a,this[_0xc3523a(0x1fa)]=_0x22ea3f,this[_0xc3523a(0x339)]=_0x9d4eae,this['_document']=_0x268a95,this['_render']());}set['_hover'](_0x468f56){const _0x1f1d5d=_0x2273bc;_0x468f56?(this[_0x1f1d5d(0x27a)]&&this[_0x1f1d5d(0x27a)][_0x1f1d5d(0x1ce)](),this['_textBubble']&&this[_0x1f1d5d(0x246)][_0x1f1d5d(0x3dd)]()):(this[_0x1f1d5d(0x27a)]&&this[_0x1f1d5d(0x27a)][_0x1f1d5d(0x3dd)](),this['_textBubble']&&this[_0x1f1d5d(0x246)]['hide']());}['dispose'](){const _0x42ff2f=_0x2273bc;for(const _0xbea4ff of this['_shapes'])_0xbea4ff[_0x42ff2f(0x3b5)]();this['_textBubble']&&this['_textBubble'][_0x42ff2f(0x3b5)](),this[_0x42ff2f(0x27a)]&&this[_0x42ff2f(0x27a)][_0x42ff2f(0x3b5)](),this[_0x42ff2f(0x38b)]&&this[_0x42ff2f(0x38b)][_0x42ff2f(0x3b5)](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x2273bc(0x300)](){const _0x290725=_0x2273bc;var _0x16979e;const {_docSkeleton:_0x36d55d,_document:_0x21c6a8}=this,{color:_0x46ef35,name:_0x4dc8ca,ranges:_0x1a1c9c}=this[_0x290725(0x347)],_0x43ccc0=_0x21c6a8[_0x290725(0x381)](),{docsLeft:_0x3d11c8,docsTop:_0x33c4bb}=_0x43ccc0,_0x5d2245=new _0x1b66a1[(_0x290725(0x2d7))](_0x43ccc0,_0x36d55d);for(const {startOffset:_0x16798b,endOffset:_0x54f893,rangeType:_0xed3904,segmentId:_0x536a8e,segmentPage:_0x21c05e,collapsed:_0x3b464e,isActive:_0x36fc16}of _0x1a1c9c){const _0x57d7de=_0x36d55d[_0x290725(0x1cd)](_0x16798b,!0x0,_0x536a8e,_0x21c05e);let _0x30a4ca=_0x36d55d[_0x290725(0x1cd)](_0x54f893,!0x0,_0x536a8e,_0x21c05e);if(_0x30a4ca==null&&(_0x30a4ca=_0x36d55d[_0x290725(0x1cd)](_0x54f893-0x1,!0x1,_0x536a8e,_0x21c05e)),_0x36fc16){const {contentBoxPointGroup:_0x2b14bc}=_0x5d2245[_0x290725(0x39a)](_0x30a4ca,_0x30a4ca);if(_0x2b14bc[_0x290725(0x1cb)]===0x0)continue;this[_0x290725(0x29b)](_0x46ef35,_0x2b14bc,_0x3d11c8,_0x33c4bb,_0x4dc8ca),this[_0x290725(0x37b)]=this['_handleHover']();}if(_0x57d7de&&_0x30a4ca){if(_0xed3904===_0x45454d[_0x290725(0x287)][_0x290725(0x317)]){const _0x4e8870=new _0x1b66a1[(_0x290725(0x2a9))](_0x43ccc0,_0x36d55d),{pointGroup:_0x5de268}=(_0x16979e=_0x4e8870[_0x290725(0x39a)](_0x57d7de,_0x30a4ca))!=null?_0x16979e:{};if(_0x5de268==null||_0x5de268[_0x290725(0x1cb)]===0x0)continue;this['_drawRectRange'](_0x46ef35,_0x5de268,_0x3d11c8,_0x33c4bb);}else{if(!_0x3b464e){const {borderBoxPointGroup:_0x1809ee}=_0x5d2245[_0x290725(0x39a)](_0x57d7de,_0x30a4ca);if(_0x1809ee[_0x290725(0x1cb)]===0x0)continue;this['_drawTextRange'](_0x46ef35,_0x1809ee,_0x3d11c8,_0x33c4bb);}}}}}[_0x2273bc(0x29b)](_0x2a38c5,_0x249f81,_0x417f5b,_0x30ac43,_0x1e4f51){const _0x353638=_0x2273bc,_0x543746=this['_getAnchorBounding'](_0x249f81),{left:_0x439073,top:_0x3ae2b5,height:_0xad94b8}=_0x543746,_0xe5ff5d=this[_0x353638(0x25b)](),_0x511fd0=_0x2dade2/_0xe5ff5d,_0x4ce70d=new _0x17a4de[(_0x353638(0x256))](_0x55cfd8+_0x45454d[_0x353638(0x400)]['generateRandomId'](_0x2fefc3),{'left':_0x439073+_0x417f5b-_0x511fd0,'top':_0x3ae2b5+_0x30ac43,'height':_0xad94b8,'width':_0x5316e5,'fill':_0x2a38c5||_0x17a4de[_0x353638(0x328)](_0x45454d['COLORS'][_0x353638(0x1bf)],0x0),'strokeWidth':_0x511fd0,'stroke':_0x182343,'evented':!0x0});this['_anchor']=_0x4ce70d,this['_scene'][_0x353638(0x2c3)](_0x4ce70d,_0x1b66a1[_0x353638(0x2c7)]);const _0x1749ed=new _0x17a4de[(_0x353638(0x256))](_0x55cfd8+_0x45454d[_0x353638(0x400)]['generateRandomId'](_0x2fefc3),{'left':_0x439073+_0x417f5b-_0x511fd0,'top':_0x3ae2b5+_0x30ac43-_0x5b7271/0x2,'height':_0x5b7271,'width':_0x5b7271,'fill':_0x2a38c5||_0x17a4de[_0x353638(0x328)](_0x45454d['COLORS'][_0x353638(0x1bf)],0x0),'strokeWidth':0x0,'stroke':_0x2a38c5||_0x17a4de[_0x353638(0x328)](_0x45454d[_0x353638(0x35f)]['black'],0x0),'evented':!0x1});this[_0x353638(0x27a)]=_0x1749ed,this[_0x353638(0x1fa)]['addObject'](_0x1749ed,_0x1b66a1['TEXT_RANGE_LAYER_INDEX']);const _0x3b4ce1=new _0x399458(_0x55cfd8+_0x45454d['Tools'][_0x353638(0x3b0)](_0x2fefc3),{'left':_0x439073+_0x417f5b-_0x511fd0,'top':_0x3ae2b5+_0x30ac43-_0x12fb24,'text':_0x1e4f51,'color':_0x2a38c5});this[_0x353638(0x246)]=_0x3b4ce1,this['_scene'][_0x353638(0x2c3)](_0x3b4ce1,_0x1b66a1[_0x353638(0x2c7)]),this[_0x353638(0x1ae)]=!0x1;}[_0x2273bc(0x321)](){const _0x4f00cf=_0x2273bc,_0x585e64=this[_0x4f00cf(0x38b)][_0x4f00cf(0x412)][_0x4f00cf(0x1c6)](()=>{const _0xe59b7f=_0x4f00cf;this[_0xe59b7f(0x1ae)]=!0x0;}),_0x20a9f6=this['_anchor']['onPointerLeave$'][_0x4f00cf(0x1c6)](()=>{const _0x5d90cb=_0x4f00cf;this[_0x5d90cb(0x2de)]&&clearTimeout(this[_0x5d90cb(0x2de)]),this[_0x5d90cb(0x2de)]=setTimeout(()=>{const _0x45eccd=_0x5d90cb;this[_0x45eccd(0x1ae)]=!0x1;},0x7d0);});return()=>{const _0x168b37=_0x4f00cf;_0x585e64[_0x168b37(0x19a)](),_0x20a9f6['unsubscribe']();};}[_0x2273bc(0x288)](_0x5af3b2,_0x58de59,_0x2e3d0e,_0x23f55b){const _0x214aae=_0x2273bc,_0x286ced=new _0x45454d[(_0x214aae(0x3fb))](_0x5af3b2)['setAlpha'](0.2)[_0x214aae(0x20c)](),_0x2c8b00=new _0x17a4de[(_0x214aae(0x1bc))](_0xd18c9f+_0x45454d[_0x214aae(0x400)][_0x214aae(0x3b0)](_0x2fefc3),{'pointsGroup':_0x58de59,'fill':_0x286ced||_0x17a4de[_0x214aae(0x328)](_0x45454d[_0x214aae(0x35f)][_0x214aae(0x1bf)],0.2),'left':_0x2e3d0e,'top':_0x23f55b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x214aae(0x2f6)][_0x214aae(0x273)](_0x2c8b00),this[_0x214aae(0x1fa)][_0x214aae(0x2c3)](_0x2c8b00,_0x1b66a1['TEXT_RANGE_LAYER_INDEX']);}[_0x2273bc(0x25e)](_0x1fdace,_0x64baa7,_0x2cf832,_0x5b6f40){const _0x1b71d4=_0x2273bc,_0x1eca0b=new _0x45454d[(_0x1b71d4(0x3fb))](_0x1fdace)[_0x1b71d4(0x2fa)](0.2)[_0x1b71d4(0x20c)](),_0x35ba4a=new _0x17a4de[(_0x1b71d4(0x1bc))](_0x435355+_0x45454d[_0x1b71d4(0x400)][_0x1b71d4(0x3b0)](_0x2fefc3),{'pointsGroup':_0x64baa7,'fill':_0x1eca0b||_0x17a4de[_0x1b71d4(0x328)](_0x45454d[_0x1b71d4(0x35f)][_0x1b71d4(0x1bf)],0.2),'left':_0x2cf832,'top':_0x5b6f40,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1b71d4(0x2f6)][_0x1b71d4(0x273)](_0x35ba4a),this[_0x1b71d4(0x1fa)][_0x1b71d4(0x2c3)](_0x35ba4a,_0x1b66a1['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x17dd41){const _0xc60e8f=_0x17dd41[0x0],_0x117c7f=_0xc60e8f[0x0],_0x16eb9a=_0xc60e8f[0x2],{x:_0x2a3658,y:_0x302214}=_0x117c7f,{x:_0x36a9fe,y:_0x58268c}=_0x16eb9a;return{'left':_0x2a3658,'top':_0x302214,'width':_0x36a9fe-_0x2a3658,'height':_0x58268c-_0x302214};}[_0x2273bc(0x25b)](){const _0x118d81=_0x2273bc,{scaleX:_0x4659f7,scaleY:_0x3cac78}=this[_0x118d81(0x1fa)][_0x118d81(0x206)]();return Math[_0x118d81(0x29f)](_0x4659f7,_0x3cac78);}}var _0x340a65=Object[_0x2273bc(0x43a)],_0x2365a7=(_0x4a950e,_0x432b95,_0x57c43a,_0x5bce56)=>{const _0x5e9b3c=_0x2273bc;for(var _0x3a7ae9=_0x5bce56>0x1?void 0x0:_0x5bce56?_0x340a65(_0x432b95,_0x57c43a):_0x432b95,_0x35bf8f=_0x4a950e[_0x5e9b3c(0x1cb)]-0x1,_0x472b10;_0x35bf8f>=0x0;_0x35bf8f--)(_0x472b10=_0x4a950e[_0x35bf8f])&&(_0x3a7ae9=_0x472b10(_0x3a7ae9)||_0x3a7ae9);return _0x3a7ae9;},_0x37d464=(_0x13ec61,_0x147aae)=>(_0x249f06,_0x337869)=>_0x147aae(_0x249f06,_0x337869,_0x13ec61);let _0xd126a4=class extends _0x45454d[_0x2273bc(0x42d)]{constructor(_0x419c01,_0x526719,_0x4ce503,_0x45f82b,_0x2d5d72){const _0x41cc52=_0x2273bc;super(),_0x394afd(this,'_cursorShapes',[]),_0x394afd(this,_0x41cc52(0x225),[]),(this['_context']=_0x419c01,this[_0x41cc52(0x324)]=_0x526719,this['_collabCursorController']=_0x4ce503,this['_commandService']=_0x45f82b,this[_0x41cc52(0x204)]=_0x2d5d72,this['_init']());}['_init'](){const _0x41b59f=_0x2273bc,_0xc2db2b=this[_0x41b59f(0x3b7)][_0x41b59f(0x338)],_0x26c754=this['_docSkeletonManagerService'];this[_0x41b59f(0x36f)](_0x481401['combineLatest']([this[_0x41b59f(0x405)][_0x41b59f(0x249)](_0xc2db2b),this[_0x41b59f(0x204)][_0x41b59f(0x19f)]])[_0x41b59f(0x262)](_0x382509[_0x41b59f(0x2ef)](([_0x45e539,_0x283a5b])=>({'skeleton':_0x26c754[_0x41b59f(0x1e6)](),'cursors':[..._0x45e539['values']()]['flatMap'](_0x4d8b25=>({..._0x4d8b25,'color':this['_themeService']['getColorFromTheme'](_0x4d8b25['color'])}))})))['subscribe'](_0x1a0c6c=>{const _0x578245=_0x41b59f;if(this[_0x578245(0x41d)](),_0x1a0c6c){const {skeleton:_0x4c9b3d,cursors:_0x3c939e}=_0x1a0c6c;this[_0x578245(0x1c9)](_0x4c9b3d,_0x3c939e);}})),this[_0x41b59f(0x26a)](),this[_0x41b59f(0x1ec)]();}[_0x2273bc(0x1c9)](_0x47199c,_0x25c74c){const _0x49a8d6=_0x2273bc,{scene:_0x52fc8e,mainComponent:_0x71106}=this['_context'],_0x4c9322=_0x25c74c[_0x49a8d6(0x2ef)](_0x466dac=>new _0x4e5939(_0x466dac,_0x52fc8e,_0x47199c,_0x71106));this[_0x49a8d6(0x342)]=_0x4c9322,this[_0x49a8d6(0x225)]=_0x25c74c;}[_0x2273bc(0x1a9)](){const _0x4cd9ac=_0x2273bc;this['_removeCollabCursors']();const {scene:_0x329d54,mainComponent:_0x361eda}=this[_0x4cd9ac(0x3b7)],_0x35c5f8=this['_docSkeletonManagerService'][_0x4cd9ac(0x1e6)](),_0x36e61e=this[_0x4cd9ac(0x225)]['map'](_0x57f74e=>new _0x4e5939(_0x57f74e,_0x329d54,_0x35c5f8,_0x361eda));this['_cursorShapes']=_0x36e61e;}['_removeCollabCursors'](){const _0x2bf6c1=_0x2273bc;this[_0x2bf6c1(0x342)]['forEach'](_0x326817=>_0x326817[_0x2bf6c1(0x3b5)]()),this[_0x2bf6c1(0x342)]=[];}[_0x2273bc(0x1ec)](){const _0x1173e3=_0x2273bc,_0x14c54b=[_0x1b66a1[_0x1173e3(0x1fc)]['id']];this['disposeWithMe'](this[_0x1173e3(0x1c1)]['onCommandExecuted'](_0x2f9ef4=>{const _0x3a0c11=_0x1173e3;_0x14c54b[_0x3a0c11(0x3ea)](_0x2f9ef4['id'])&&_0x2f9ef4[_0x3a0c11(0x399)][_0x3a0c11(0x338)]===this['_context'][_0x3a0c11(0x338)]&&this[_0x3a0c11(0x1a9)]();}));}[_0x2273bc(0x26a)](){const _0x79bb5f=_0x2273bc;this[_0x79bb5f(0x36f)](_0x45454d[_0x79bb5f(0x3d3)](this[_0x79bb5f(0x3b7)]['engine']['onTransformChange$'])[_0x79bb5f(0x262)](_0x382509[_0x79bb5f(0x334)](_0x3a9999=>_0x3a9999[_0x79bb5f(0x28e)]===_0x17a4de['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x79bb5f(0x2be)]),_0x382509[_0x79bb5f(0x1df)](0x10))[_0x79bb5f(0x2b7)](()=>{const _0x3413ac=_0x79bb5f;this[_0x3413ac(0x1a9)]();}));}};_0xd126a4=_0x2365a7([_0x37d464(0x1,_0x45454d[_0x2273bc(0x37f)](_0x1af111['DocSkeletonManagerService'])),_0x37d464(0x2,_0x45454d[_0x2273bc(0x37f)](_0x344c8e)),_0x37d464(0x3,_0x45454d[_0x2273bc(0x3d0)]),_0x37d464(0x4,_0x45454d[_0x2273bc(0x37f)](_0x45454d['ThemeService']))],_0xd126a4);const _0x4faee9=0x1,_0x173b07=1.5;class _0x1ce661 extends _0x17a4de[_0x2273bc(0x325)]{constructor(_0x19e91a,_0x500833){const _0x3adbea=_0x2273bc;super(_0x19e91a,_0x500833),_0x394afd(this,_0x3adbea(0x40e)),_0x394afd(this,_0x3adbea(0x3b1),!0x1),_0x394afd(this,'_range'),_0x394afd(this,_0x3adbea(0x365),''),_0x394afd(this,_0x3adbea(0x32f),_0x3adbea(0x31a)),_0x394afd(this,_0x3adbea(0x1da)),(_0x500833&&this[_0x3adbea(0x24c)](_0x500833),this[_0x3adbea(0x412)][_0x3adbea(0x1c6)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x3adbea(0x1c6)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x2273bc(0x24c)](_0x4b0140){const _0x4635d6=_0x2273bc;var _0x917070,_0x54d1ff,_0x3b448c,_0x5b6949,_0x1ed02e,_0x5008ea;this[_0x4635d6(0x40e)]=(_0x917070=_0x4b0140[_0x4635d6(0x2df)])!=null?_0x917070:this[_0x4635d6(0x40e)],this[_0x4635d6(0x3b1)]=(_0x54d1ff=_0x4b0140[_0x4635d6(0x33d)])!=null?_0x54d1ff:this[_0x4635d6(0x3b1)],this[_0x4635d6(0x3f1)]=(_0x3b448c=_0x4b0140[_0x4635d6(0x3c8)])!=null?_0x3b448c:this[_0x4635d6(0x3f1)],this[_0x4635d6(0x365)]=(_0x5b6949=_0x4b0140[_0x4635d6(0x2c8)])!=null?_0x5b6949:this[_0x4635d6(0x365)],this[_0x4635d6(0x32f)]=(_0x1ed02e=_0x4b0140['labelPosition'])!=null?_0x1ed02e:this[_0x4635d6(0x32f)],this['_backgroundColor']=(_0x5008ea=_0x4b0140['backgroundColor'])!=null?_0x5008ea:this[_0x4635d6(0x1da)],this[_0x4635d6(0x23b)]({'width':_0x4b0140[_0x4635d6(0x2fb)],'height':_0x4b0140[_0x4635d6(0x2a8)]});}[_0x2273bc(0x24d)](_0x1389e4){const _0x1ea53a=_0x2273bc,{row:_0x824b3f,column:_0x27a707}=_0x1389e4;if(_0x824b3f>=this[_0x1ea53a(0x3f1)][_0x1ea53a(0x23f)]&&_0x824b3f<=this[_0x1ea53a(0x3f1)][_0x1ea53a(0x3d7)]&&_0x27a707>=this[_0x1ea53a(0x3f1)][_0x1ea53a(0x1b2)]&&_0x27a707<=this[_0x1ea53a(0x3f1)][_0x1ea53a(0x222)]){this[_0x1ea53a(0x24c)]({'hovered':!0x0});return;}this[_0x1ea53a(0x24c)]({'hovered':!0x1});}[_0x2273bc(0x2ab)](_0x261f3f){return!0x1;}[_0x2273bc(0x33f)](_0x1fe1d7){const _0x25c034=_0x2273bc;_0x17a4de[_0x25c034(0x256)][_0x25c034(0x2ce)](_0x1fe1d7,{'width':this[_0x25c034(0x2fb)],'height':this[_0x25c034(0x2a8)],'strokeWidth':_0x173b07,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x25c034(0x1da)]}),this[_0x25c034(0x3b1)]&&(_0x1fe1d7[_0x25c034(0x24a)](),_0x1fe1d7[_0x25c034(0x23e)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x25c034(0x1f4)?0x0:-0x14),_0x399458[_0x25c034(0x2ce)](_0x1fe1d7,{'text':this[_0x25c034(0x365)],'color':this[_0x25c034(0x40e)]}),_0x1fe1d7[_0x25c034(0x2a5)]());}}var _0x5c5a0a=Object[_0x2273bc(0x43a)],_0x2abcd1=(_0x4370b9,_0x4d510e,_0x2507b4,_0x549ded)=>{const _0x420c6c=_0x2273bc;for(var _0x144ffd=_0x549ded>0x1?void 0x0:_0x549ded?_0x5c5a0a(_0x4d510e,_0x2507b4):_0x4d510e,_0x5d00b4=_0x4370b9[_0x420c6c(0x1cb)]-0x1,_0x2098d4;_0x5d00b4>=0x0;_0x5d00b4--)(_0x2098d4=_0x4370b9[_0x5d00b4])&&(_0x144ffd=_0x2098d4(_0x144ffd)||_0x144ffd);return _0x144ffd;},_0x4e35ad=(_0x25179f,_0x1be003)=>(_0x44ac95,_0x3f80a7)=>_0x1be003(_0x44ac95,_0x3f80a7,_0x25179f);const _0x934b23=0x1389;let _0x4549a0=class extends _0x45454d[_0x2273bc(0x42d)]{constructor(_0x114de2,_0x39fa90,_0x1bc824,_0x251c1e){const _0x50a55d=_0x2273bc;super(),_0x394afd(this,_0x50a55d(0x225),new Set()),_0x394afd(this,_0x50a55d(0x239),null),(this[_0x50a55d(0x3b7)]=_0x114de2,this[_0x50a55d(0x293)]=_0x39fa90,this[_0x50a55d(0x405)]=_0x1bc824,this[_0x50a55d(0x204)]=_0x251c1e,this[_0x50a55d(0x27f)]());}['_init'](){const _0x271e5a=_0x2273bc;this[_0x271e5a(0x293)][_0x271e5a(0x2e6)][_0x271e5a(0x262)](_0x382509[_0x271e5a(0x2f3)](this['dispose$']),_0x382509['switchMap'](_0x5ba84d=>{const _0x1abba2=_0x271e5a;if(_0x5ba84d){const _0x38561c=_0x5ba84d[_0x1abba2(0x263)];return _0x481401['combineLatest'](this['_collabCursorController'][_0x1abba2(0x249)](this[_0x1abba2(0x3b7)][_0x1abba2(0x338)]),this[_0x1abba2(0x204)][_0x1abba2(0x19f)])[_0x1abba2(0x262)](_0x382509[_0x1abba2(0x2ef)](([_0x55d29a,_0x1a33b8])=>{const _0x4a9ab0=_0x1abba2,_0x20f243=new Map();return _0x55d29a[_0x4a9ab0(0x213)]((_0x25cc16,_0x357cf7)=>{const _0x4a058b=_0x4a9ab0;if(_0x25cc16[_0x4a058b(0x3df)]===_0x38561c){const _0x284424={..._0x25cc16};_0x284424[_0x4a058b(0x2df)]=this[_0x4a058b(0x204)][_0x4a058b(0x24b)](_0x25cc16[_0x4a058b(0x2df)]),_0x20f243['set'](_0x357cf7,_0x284424);}}),{'skeleton':_0x5ba84d,'cursors':_0x20f243};}));}return _0x481401['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x4fba66,cursors:_0x290692})=>{const _0x2b03e3=_0x271e5a;this[_0x2b03e3(0x41d)](),_0x4fba66&&this[_0x2b03e3(0x1c9)](_0x4fba66,_0x290692);}),this[_0x271e5a(0x293)][_0x271e5a(0x2e6)][_0x271e5a(0x2b7)](_0x1ea948=>{const _0x3237a0=_0x271e5a;if(_0x1ea948==null)return;const {skeleton:_0x4def76}=_0x1ea948,{scene:_0x1774cf}=this['_context'];_0x1774cf[_0x3237a0(0x3c3)][_0x3237a0(0x1c6)](_0x45454d[_0x3237a0(0x29d)](_0x209a66=>{const _0x53fc2a=_0x3237a0;var _0x1b8909,_0x5cfd35;const {offsetX:_0x254ff5,offsetY:_0x5beb53}=_0x209a66,{x:_0x1bfc6e,y:_0x3a4e80}=_0x1774cf[_0x53fc2a(0x2f0)](_0x17a4de['Vector2'][_0x53fc2a(0x215)]([_0x254ff5,_0x5beb53])),{scaleX:_0x37e5ce,scaleY:_0xe29ce1}=_0x1774cf[_0x53fc2a(0x206)](),_0xd57072=_0x1774cf[_0x53fc2a(0x427)](_0x17a4de['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0x1be1b6=_0x1774cf['getVpScrollXYInfoByPosToVp'](_0x17a4de[_0x53fc2a(0x2ba)][_0x53fc2a(0x215)]([_0x1bfc6e,_0x3a4e80]),_0xd57072),_0x278e69=_0x4def76[_0x53fc2a(0x1e9)](_0x254ff5,_0x5beb53,_0x37e5ce,_0xe29ce1,_0x1be1b6);((_0x1b8909=this[_0x53fc2a(0x239)])==null?void 0x0:_0x1b8909[_0x53fc2a(0x20a)])===_0x278e69['column']&&((_0x5cfd35=this[_0x53fc2a(0x239)])==null?void 0x0:_0x5cfd35[_0x53fc2a(0x354)])===_0x278e69['row']||this[_0x53fc2a(0x225)][_0x53fc2a(0x213)](_0xfc7580=>{const _0x42acbf=_0x53fc2a;_0xfc7580[_0x42acbf(0x24d)](_0x278e69);});},0x64));});}[_0x2273bc(0x1c9)](_0x4f29ea,_0x124dfc){const _0x421980=_0x2273bc;var _0x472a3c;const _0x15cdf5=(_0x472a3c=this[_0x421980(0x293)][_0x421980(0x1a5)]())==null?void 0x0:_0x472a3c[_0x421980(0x35a)];if(!_0x15cdf5)return;const _0x28e826=this[_0x421980(0x422)]();if(!_0x28e826)return;this[_0x421980(0x225)]['forEach'](_0x4b35c1=>{const _0x1e7c7f=_0x421980;_0x4b35c1[_0x1e7c7f(0x299)]();});const {scene:_0xa666be}=_0x28e826,_0x8a6ff2=_0x507bfd(Array[_0x421980(0x320)](_0x124dfc['values']()))[_0x421980(0x2ef)](_0x374323=>{const _0x267324=_0x421980,{color:_0xb3830d,range:_0x2d6c02,name:_0x4c7a7f,selection:_0x158185,sheetID:_0x1ed0fc}=_0x374323,{startColumn:_0x109b3b,startRow:_0x22b970,endColumn:_0x2922c9,endRow:_0x3d0b5b}=_0x2d6c02,_0x428ad6=_0x3497ae['getCoordByCell'](_0x22b970,_0x109b3b,_0xa666be,_0x15cdf5),_0x58516b=_0x3497ae[_0x267324(0x3e1)](_0x3d0b5b,_0x2922c9,_0xa666be,_0x15cdf5),{columnHeaderHeightAndMarginTop:_0x1d51cb}=_0x15cdf5,{startX:_0x69354f,startY:_0x2dac4e}=_0x428ad6,{endX:_0x5b8deb,endY:_0x24d85c}=_0x58516b,_0xad5006=_0x5b8deb-_0x69354f,_0x55dd11=_0x24d85c-_0x2dac4e,_0x2bec5b={'labelPosition':_0x2dac4e-_0x1d51cb>=_0x12fb24?_0x267324(0x31a):_0x267324(0x1f4),'sheetID':_0x1ed0fc,'range':_0x2d6c02,'color':_0xb3830d,'name':_0x4c7a7f,'selection':_0x158185,'left':_0x69354f,'top':_0x2dac4e,'width':_0xad5006,'height':_0x55dd11,'evented':!0x1,'zIndex':_0x934b23};return new _0x1ce661(_0x4c7a7f,_0x2bec5b);});_0xa666be[_0x421980(0x3aa)](_0x8a6ff2,_0x4faee9),this[_0x421980(0x225)]=new Set(_0x8a6ff2);}[_0x2273bc(0x41d)](){const _0x46bc17=_0x2273bc;var _0x4618b1;(_0x4618b1=this[_0x46bc17(0x225)])==null||_0x4618b1['forEach'](_0x3d640b=>_0x3d640b[_0x46bc17(0x3b5)]());}[_0x2273bc(0x422)](){const _0x44ff12=_0x2273bc;return _0x3497ae[_0x44ff12(0x423)](this[_0x44ff12(0x3b7)]['unit'],this['_context']);}};_0x4549a0=_0x2abcd1([_0x4e35ad(0x1,_0x45454d[_0x2273bc(0x37f)](_0x3497ae[_0x2273bc(0x272)])),_0x4e35ad(0x2,_0x45454d[_0x2273bc(0x37f)](_0x344c8e)),_0x4e35ad(0x3,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x388)]))],_0x4549a0);function _0x507bfd(_0x2185fd){const _0x5e2138=_0x2273bc,_0x1a06bc=new Map();return _0x2185fd[_0x5e2138(0x213)](_0x29d759=>{const _0x38632d=_0x5e2138;if(_0x1a06bc[_0x38632d(0x385)](_0x29d759[_0x38632d(0x20d)])){const _0xf8948e=_0x1a06bc[_0x38632d(0x1ef)](_0x29d759[_0x38632d(0x20d)]);_0xf8948e[_0x38632d(0x2c8)]+=',\x20'+_0x29d759[_0x38632d(0x2c8)];}else _0x1a06bc[_0x38632d(0x2e8)](_0x29d759[_0x38632d(0x20d)],_0x29d759);}),Array['from'](_0x1a06bc[_0x5e2138(0x2db)]());}var _0x23332e=function(){const _0x3fd0df=_0x2273bc;return _0x23332e=Object[_0x3fd0df(0x252)]||function(_0x411734){const _0x4b1d0b=_0x3fd0df;for(var _0x6e6ac6,_0x17783d=0x1,_0x24cae1=arguments[_0x4b1d0b(0x1cb)];_0x17783d<_0x24cae1;_0x17783d++){_0x6e6ac6=arguments[_0x17783d];for(var _0x33b1d9 in _0x6e6ac6)Object[_0x4b1d0b(0x267)][_0x4b1d0b(0x296)][_0x4b1d0b(0x240)](_0x6e6ac6,_0x33b1d9)&&(_0x411734[_0x33b1d9]=_0x6e6ac6[_0x33b1d9]);}return _0x411734;},_0x23332e['apply'](this,arguments);},_0x2a822d=function(_0x479b67,_0x5e717b){const _0x39c3dc=_0x2273bc;var _0x4fcf5c={};for(var _0x34a7fc in _0x479b67)Object[_0x39c3dc(0x267)][_0x39c3dc(0x296)][_0x39c3dc(0x240)](_0x479b67,_0x34a7fc)&&_0x5e717b[_0x39c3dc(0x279)](_0x34a7fc)<0x0&&(_0x4fcf5c[_0x34a7fc]=_0x479b67[_0x34a7fc]);if(_0x479b67!=null&&typeof Object[_0x39c3dc(0x22c)]==_0x39c3dc(0x201)){for(var _0x531a6c=0x0,_0x34a7fc=Object['getOwnPropertySymbols'](_0x479b67);_0x531a6c<_0x34a7fc[_0x39c3dc(0x1cb)];_0x531a6c++)_0x5e717b[_0x39c3dc(0x279)](_0x34a7fc[_0x531a6c])<0x0&&Object[_0x39c3dc(0x267)][_0x39c3dc(0x1cf)][_0x39c3dc(0x240)](_0x479b67,_0x34a7fc[_0x531a6c])&&(_0x4fcf5c[_0x34a7fc[_0x531a6c]]=_0x479b67[_0x34a7fc[_0x531a6c]]);}return _0x4fcf5c;},_0x55d344=_0x54e81b['forwardRef'](function(_0x3e1ce9,_0x26556d){const _0x1ba26d=_0x2273bc;var _0x5a4a80=_0x3e1ce9['icon'],_0x3a8db1=_0x3e1ce9['id'],_0x59caf9=_0x3e1ce9[_0x1ba26d(0x371)],_0x26712f=_0x3e1ce9[_0x1ba26d(0x28a)],_0x3f516d=_0x2a822d(_0x3e1ce9,[_0x1ba26d(0x27b),'id',_0x1ba26d(0x371),'extend']),_0x44964c=_0x1ba26d(0x2d2)['concat'](_0x3a8db1,'\x20')[_0x1ba26d(0x311)](_0x59caf9||'')[_0x1ba26d(0x220)](),_0x2015ec=_0x54e81b[_0x1ba26d(0x3cb)]('_'[_0x1ba26d(0x311)](_0x189850()));return _0x1b8856(_0x5a4a80,''[_0x1ba26d(0x311)](_0x3a8db1),{'defIds':_0x5a4a80['defIds'],'idSuffix':_0x2015ec[_0x1ba26d(0x3e8)]},_0x23332e({'ref':_0x26556d,'className':_0x44964c},_0x3f516d),_0x26712f);});function _0x1b8856(_0x2bd0cb,_0x2e5e7c,_0x2d673c,_0x51023d,_0x44ea77){const _0x1fb805=_0x2273bc;return _0x54e81b[_0x1fb805(0x2a7)](_0x2bd0cb['tag'],_0x23332e(_0x23332e({'key':_0x2e5e7c},_0x1e4294(_0x2bd0cb,_0x2d673c,_0x44ea77)),_0x51023d),(_0xe717a1(_0x2bd0cb,_0x2d673c)['children']||[])[_0x1fb805(0x2ef)](function(_0x2acd7a,_0x33f6c0){const _0x1818f4=_0x1fb805;return _0x1b8856(_0x2acd7a,''['concat'](_0x2e5e7c,'-')[_0x1818f4(0x311)](_0x2bd0cb['tag'],'-')[_0x1818f4(0x311)](_0x33f6c0),_0x2d673c,void 0x0,_0x44ea77);}));}function _0x1e4294(_0x34be68,_0x14cc05,_0x43cb90){const _0x5359cd=_0x2273bc;var _0x25dd49=_0x23332e({},_0x34be68['attrs']);_0x43cb90!=null&&_0x43cb90[_0x5359cd(0x21e)]&&_0x25dd49[_0x5359cd(0x297)]===_0x5359cd(0x21e)&&(_0x25dd49['fill']=_0x43cb90[_0x5359cd(0x21e)]),_0x34be68[_0x5359cd(0x2f4)]===_0x5359cd(0x281)&&_0x25dd49['id']&&(_0x25dd49['id']=_0x25dd49['id']+_0x14cc05[_0x5359cd(0x397)]),Object[_0x5359cd(0x2e3)](_0x25dd49)[_0x5359cd(0x213)](function(_0x157a05){const _0xb932f9=_0x5359cd;var _0x425144=_0x157a05[0x0],_0x48a2e6=_0x157a05[0x1];_0x425144==='mask'&&typeof _0x48a2e6==_0xb932f9(0x326)&&(_0x25dd49[_0x425144]=_0x48a2e6[_0xb932f9(0x234)](/url\(#(.*)\)/,'url(#$1'[_0xb932f9(0x311)](_0x14cc05[_0xb932f9(0x397)],')')));});var _0x2dd7b8=_0x14cc05[_0x5359cd(0x416)];return!_0x2dd7b8||_0x2dd7b8[_0x5359cd(0x1cb)]===0x0||(_0x34be68[_0x5359cd(0x2f4)]===_0x5359cd(0x396)&&_0x25dd49[_0x5359cd(0x2a6)]&&(_0x25dd49[_0x5359cd(0x2a6)]=_0x25dd49[_0x5359cd(0x2a6)]+_0x14cc05[_0x5359cd(0x397)]),Object[_0x5359cd(0x2e3)](_0x25dd49)[_0x5359cd(0x213)](function(_0x5950f1){const _0x5d6bd9=_0x5359cd;var _0x5ab7e0=_0x5950f1[0x0],_0x1f57bf=_0x5950f1[0x1];typeof _0x1f57bf==_0x5d6bd9(0x326)&&(_0x25dd49[_0x5ab7e0]=_0x1f57bf[_0x5d6bd9(0x234)](/url\(#(.*)\)/,_0x5d6bd9(0x2bc)[_0x5d6bd9(0x311)](_0x14cc05[_0x5d6bd9(0x397)],')')));})),_0x25dd49;}function _0xe717a1(_0x177628,_0xdf730){const _0x32fc27=_0x2273bc;var _0x1ce5f4,_0x16d427=_0xdf730['defIds'];return!_0x16d427||_0x16d427[_0x32fc27(0x1cb)]===0x0?_0x177628:_0x177628[_0x32fc27(0x2f4)]===_0x32fc27(0x2b2)&&(!((_0x1ce5f4=_0x177628[_0x32fc27(0x3d4)])===null||_0x1ce5f4===void 0x0)&&_0x1ce5f4['length'])?_0x23332e(_0x23332e({},_0x177628),{'children':_0x177628[_0x32fc27(0x3d4)][_0x32fc27(0x2ef)](function(_0x10030e){const _0x45cf39=_0x32fc27;return typeof _0x10030e[_0x45cf39(0x286)]['id']==_0x45cf39(0x326)&&_0x16d427&&_0x16d427['includes'](_0x10030e[_0x45cf39(0x286)]['id'])?_0x23332e(_0x23332e({},_0x10030e),{'attrs':_0x23332e(_0x23332e({},_0x10030e[_0x45cf39(0x286)]),{'id':_0x10030e[_0x45cf39(0x286)]['id']+_0xdf730[_0x45cf39(0x397)]})}):_0x10030e;})}):_0x177628;}function _0x189850(){const _0x1c9833=_0x2273bc;return Math[_0x1c9833(0x1de)]()[_0x1c9833(0x439)](0x24)['substring'](0x2,0x8);}_0x55d344[_0x2273bc(0x1d1)]=_0x2273bc(0x3c5);var _0x40f3a8={'tag':'svg','attrs':{'xmlns':_0x2273bc(0x1e3),'fill':_0x2273bc(0x2d1),'viewBox':_0x2273bc(0x3a1),'width':_0x2273bc(0x348),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2273bc(0x1dd)},'children':[{'tag':_0x2273bc(0x437),'attrs':{'stroke':_0x2273bc(0x3dc),'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':_0x2273bc(0x3f2),'strokeLinejoin':_0x2273bc(0x3f2),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2273bc(0x205),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x2273bc(0x2a0),'d':_0x2273bc(0x214)}}]}]}],'defIds':[_0x2273bc(0x27e)]},_0x3bdc49=_0x54e81b['forwardRef'](function(_0x1d481b,_0x420fb2){const _0x53b3a1=_0x2273bc;return _0x54e81b['createElement'](_0x55d344,Object[_0x53b3a1(0x252)]({},_0x1d481b,{'id':_0x53b3a1(0x229),'ref':_0x420fb2,'icon':_0x40f3a8}));});_0x3bdc49[_0x2273bc(0x1d1)]=_0x2273bc(0x2ae);var _0x4b810d={'tag':_0x2273bc(0x37d),'attrs':{'xmlns':_0x2273bc(0x1e3),'fill':_0x2273bc(0x2d1),'viewBox':'0\x200\x2017\x2016','width':_0x2273bc(0x348),'height':_0x2273bc(0x348)},'children':[{'tag':'g','attrs':{'clipPath':_0x2273bc(0x266)},'children':[{'tag':_0x2273bc(0x437),'attrs':{'stroke':_0x2273bc(0x3dc),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2273bc(0x2b2),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x2273bc(0x437),'attrs':{'fill':_0x2273bc(0x2a0),'d':'M0\x200H16V16H0z','transform':_0x2273bc(0x3c2)}}]}]}],'defIds':[_0x2273bc(0x1cc)]},_0x598470=_0x54e81b['forwardRef'](function(_0x332fc7,_0x261a57){const _0xcf0991=_0x2273bc;return _0x54e81b[_0xcf0991(0x2a7)](_0x55d344,Object['assign']({},_0x332fc7,{'id':_0xcf0991(0x1a3),'ref':_0x261a57,'icon':_0x4b810d}));});_0x598470[_0x2273bc(0x1d1)]='OnLineIcon';function _0x4c276e(_0x4b49ac){const _0x476ced=_0x2273bc;switch(_0x4b49ac){case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x3a9)]:return'collabStatus.offline';case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x2c1)]:return _0x476ced(0x276);case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x323)]:return _0x476ced(0x2b6);case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x2ad)]:return _0x476ced(0x2a3);case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x1f8)]:case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x265)]:return _0x476ced(0x433);case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x3fa)]:case _0xfdd47c[_0x476ced(0x336)][_0x476ced(0x394)]:return _0x476ced(0x242);}}function _0x3b257c(_0x32186b){const _0x39ee6e=_0x2273bc,{status$:_0x575431}=_0x32186b,_0x252c94=_0x933c1a['useObservable'](_0x575431,_0xfdd47c[_0x39ee6e(0x336)][_0x39ee6e(0x2ad)]),_0x4422d1=_0x933c1a[_0x39ee6e(0x37a)](_0x45454d['LocaleService']),_0x2fd44a=_0x933c1a[_0x39ee6e(0x37a)](_0xfdd47c[_0x39ee6e(0x1a0)]),_0x18bc9b=_0x252c94!==_0xfdd47c[_0x39ee6e(0x336)]['OFFLINE'],_0x1b3180=_0x4422d1['t'](_0x4c276e(_0x252c94)),_0x43271b=_0x18bc9b?_0x135d70['jsx'](_0x598470,{}):_0x135d70[_0x39ee6e(0x2cf)](_0x3bdc49,{}),_0x182884=_0x54e81b[_0x39ee6e(0x3f4)](()=>{const _0x554207=_0x39ee6e;_0x18bc9b||_0x2fd44a[_0x554207(0x264)]();},[_0x18bc9b,_0x2fd44a]);function _0x585965(){const _0x394a2f=_0x39ee6e;return _0x135d70[_0x394a2f(0x3f0)]('div',{'className':_0x394a2f(0x271),'onClick':_0x182884,'children':[_0x135d70['jsx']('div',{'className':_0x4402cc[_0x394a2f(0x1f7)](_0x394a2f(0x32b),{'univer-text-green-500':_0x18bc9b,'univer-text-red-500':!_0x18bc9b}),'children':_0x43271b}),_0x135d70[_0x394a2f(0x2cf)]('div',{'className':_0x394a2f(0x259),'children':_0x1b3180})]});}return _0x18bc9b?_0x585965():_0x135d70[_0x39ee6e(0x2cf)](_0x4402cc[_0x39ee6e(0x3ad)],{'title':_0x4422d1['t'](_0x39ee6e(0x413)),'children':_0x585965()});}var _0x2cbb1a=Object['getOwnPropertyDescriptor'],_0x33b08d=(_0x6eb057,_0x17def1,_0x3a875b,_0x589f5f)=>{const _0x463c25=_0x2273bc;for(var _0x4909a0=_0x589f5f>0x1?void 0x0:_0x589f5f?_0x2cbb1a(_0x17def1,_0x3a875b):_0x17def1,_0x4ff184=_0x6eb057[_0x463c25(0x1cb)]-0x1,_0x1b7634;_0x4ff184>=0x0;_0x4ff184--)(_0x1b7634=_0x6eb057[_0x4ff184])&&(_0x4909a0=_0x1b7634(_0x4909a0)||_0x4909a0);return _0x4909a0;},_0x42a49e=(_0x16ee96,_0x7ce236)=>(_0x1e1148,_0x495059)=>_0x7ce236(_0x1e1148,_0x495059,_0x16ee96);_0x2f60c5[_0x2273bc(0x3f7)]=class extends _0x45454d[_0x2273bc(0x359)]{constructor(_0x56d744,_0x1ee484,_0x3372fb,_0x1109f0){const _0x5208dc=_0x2273bc;super(),_0x394afd(this,_0x5208dc(0x292),new _0x481401[(_0x5208dc(0x2e4))](_0xfdd47c[_0x5208dc(0x336)][_0x5208dc(0x2ad)])),(this[_0x5208dc(0x383)]=_0x56d744,this[_0x5208dc(0x3ca)]=_0x1ee484,this[_0x5208dc(0x305)]=_0x3372fb,this[_0x5208dc(0x3fc)]=_0x1109f0,this[_0x5208dc(0x2b3)](),this[_0x5208dc(0x284)]());}[_0x2273bc(0x284)](){const _0x4221d7=_0x2273bc;this['disposeWithMe'](this[_0x4221d7(0x383)][_0x4221d7(0x2ec)][_0x4221d7(0x262)](_0x481401[_0x4221d7(0x275)](()=>{const _0x43af43=_0x4221d7,_0x51e43e=this[_0x43af43(0x383)][_0x43af43(0x3d2)]();return _0x51e43e?this[_0x43af43(0x305)][_0x43af43(0x39d)](_0x51e43e['getUnitId']()):_0x481401['of'](null);}),_0x481401['switchMap'](_0x1c0ee4=>_0x1c0ee4?_0x1c0ee4['status$']:_0x481401['of'](_0xfdd47c['CollaborationStatus'][_0x4221d7(0x2ad)])))[_0x4221d7(0x2b7)](_0x29ec8f=>{const _0x356188=_0x4221d7;this['_status$'][_0x356188(0x33c)](_0x29ec8f);}));}[_0x2273bc(0x2b3)](){const _0x4f9e88=_0x2273bc;this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x933c1a[_0x4f9e88(0x216)][_0x4f9e88(0x19b)],()=>_0x933c1a['connectInjector'](_0x192f4f({'status$':this[_0x4f9e88(0x292)][_0x4f9e88(0x39f)]()}),this[_0x4f9e88(0x3ca)])));}},_0x2f60c5[_0x2273bc(0x3f7)]=_0x33b08d([_0x42a49e(0x0,_0x45454d[_0x2273bc(0x1b1)]),_0x42a49e(0x1,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x3b2)])),_0x42a49e(0x2,_0x45454d[_0x2273bc(0x37f)](_0xfdd47c['CollaborationController'])),_0x42a49e(0x3,_0x933c1a[_0x2273bc(0x244)])],_0x2f60c5[_0x2273bc(0x3f7)]);function _0x192f4f(_0x4e25ea){const {status$:_0x36da8c}=_0x4e25ea;return function(){return _0x135d70['jsx'](_0x3b257c,{'status$':_0x36da8c});};}var _0x2f35c6=Object[_0x2273bc(0x43a)],_0x54f4e8=(_0x2a5aa7,_0x109392,_0x53fa06,_0x4fa624)=>{for(var _0x14d941=_0x4fa624>0x1?void 0x0:_0x4fa624?_0x2f35c6(_0x109392,_0x53fa06):_0x109392,_0x379423=_0x2a5aa7['length']-0x1,_0x2304f6;_0x379423>=0x0;_0x379423--)(_0x2304f6=_0x2a5aa7[_0x379423])&&(_0x14d941=_0x2304f6(_0x14d941)||_0x14d941);return _0x14d941;},_0x1bc95c=(_0x29a769,_0x546397)=>(_0x296f3b,_0x44d3e2)=>_0x546397(_0x296f3b,_0x44d3e2,_0x29a769);let _0x32a402=class extends _0x45454d[_0x2273bc(0x359)]{constructor(_0x44e800,_0xe1a0a6,_0x27bf9d,_0x38d5e4,_0x45e253,_0x1fd025){const _0x3db505=_0x2273bc;super(),this[_0x3db505(0x337)]=_0x44e800,this['_localCacheService']=_0xe1a0a6,this[_0x3db505(0x361)]=_0x27bf9d,this[_0x3db505(0x1d7)]=_0x38d5e4,this['_notificationService']=_0x45e253,this['_localeService']=_0x1fd025,this['_setupBeforeClosingHandler'](),this[_0x3db505(0x350)]();}['_setupBeforeClosingHandler'](){const _0x49ad30=_0x2273bc;this[_0x49ad30(0x36f)](this[_0x49ad30(0x337)][_0x49ad30(0x3c6)](()=>{const _0x227c58=_0x49ad30;if(this[_0x227c58(0x257)]['saveTaskMap'][_0x227c58(0x379)])return this[_0x227c58(0x3e9)]['t'](_0x227c58(0x38a));}));}['_initEvent'](){const _0x269779=_0x2273bc;this[_0x269779(0x36f)](this[_0x269779(0x361)][_0x269779(0x241)]['subscribe'](_0x262b2f=>{const _0x496a20=_0x269779;_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)][_0x496a20(0x291)]&&this[_0x496a20(0x1d7)]['show']({'type':_0x4402cc[_0x496a20(0x409)][_0x496a20(0x23c)],'content':this['_localeService']['t'](_0x496a20(0x2e5))}),_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)][_0x496a20(0x295)]&&this[_0x496a20(0x1d7)][_0x496a20(0x3dd)]({'type':_0x4402cc[_0x496a20(0x409)][_0x496a20(0x23c)],'content':this[_0x496a20(0x3e9)]['t'](_0x496a20(0x40f))}),_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)][_0x496a20(0x341)]&&this['_notificationService']['show']({'title':this['_localeService']['t'](_0x496a20(0x2bb)),'content':this[_0x496a20(0x3e9)]['t'](_0x496a20(0x233)),'type':'error','duration':0x0}),_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)][_0x496a20(0x2c1)]&&this['_messageService'][_0x496a20(0x3dd)]({'type':_0x4402cc[_0x496a20(0x409)][_0x496a20(0x329)],'content':this[_0x496a20(0x3e9)]['t']('collaboration.closeRoom')+'('+_0x262b2f[_0x496a20(0x3be)]+')'}),_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)][_0x496a20(0x1d9)]&&this[_0x496a20(0x1d7)]['show']({'type':_0x4402cc[_0x496a20(0x409)][_0x496a20(0x23c)],'content':this['_localeService']['t'](_0x262b2f[_0x496a20(0x3be)]||'')}),_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)]['SOCKET_FAILED_RETRY']&&this[_0x496a20(0x1d7)][_0x496a20(0x3dd)]({'type':_0x4402cc[_0x496a20(0x409)][_0x496a20(0x23c)],'content':this[_0x496a20(0x3e9)]['t'](_0x496a20(0x33a))}),_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)]['SOCKET_FAILED']&&this[_0x496a20(0x1d7)]['show']({'type':_0x4402cc[_0x496a20(0x409)][_0x496a20(0x329)],'content':this[_0x496a20(0x3e9)]['t'](_0x496a20(0x32d))}),_0x262b2f['id']===_0xfdd47c[_0x496a20(0x414)][_0x496a20(0x29e)]&&this[_0x496a20(0x1d7)]['show']({'type':_0x4402cc[_0x496a20(0x409)][_0x496a20(0x329)],'content':this[_0x496a20(0x3e9)]['t'](_0x496a20(0x32e))});}));}};_0x32a402=_0x54f4e8([_0x1bc95c(0x0,_0x933c1a[_0x2273bc(0x24f)]),_0x1bc95c(0x1,_0xfdd47c[_0x2273bc(0x415)]),_0x1bc95c(0x2,_0x45454d[_0x2273bc(0x37f)](_0xfdd47c['CollaborationUIEventService'])),_0x1bc95c(0x3,_0x933c1a[_0x2273bc(0x1ff)]),_0x1bc95c(0x4,_0x933c1a[_0x2273bc(0x243)]),_0x1bc95c(0x5,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x1ba)]))],_0x32a402);const _0x523261=_0x2273bc(0x2dd),_0x217a89={},_0x3f856f=_0x45454d[_0x2273bc(0x36d)](_0x2273bc(0x19e));var _0x1cd880=Object[_0x2273bc(0x43a)],_0x4548e5=(_0xce3f43,_0x23a8c2,_0x448e3b,_0xdfc7b4)=>{const _0x27691b=_0x2273bc;for(var _0xc06539=_0xdfc7b4>0x1?void 0x0:_0xdfc7b4?_0x1cd880(_0x23a8c2,_0x448e3b):_0x23a8c2,_0x15d0ec=_0xce3f43[_0x27691b(0x1cb)]-0x1,_0x59328a;_0x15d0ec>=0x0;_0x15d0ec--)(_0x59328a=_0xce3f43[_0x15d0ec])&&(_0xc06539=_0x59328a(_0xc06539)||_0xc06539);return _0xc06539;},_0x1facf8=(_0x1d1d2e,_0x5abc50)=>(_0x28bfa3,_0x36595e)=>_0x5abc50(_0x28bfa3,_0x36595e,_0x1d1d2e);_0x2f60c5[_0x2273bc(0x3ed)]=class extends _0x45454d[_0x2273bc(0x42d)]{constructor(_0x3be5a3,_0x39a383,_0x4496bd,_0x2ecbdb,_0x4de41a){const _0x314dae=_0x2273bc;super(),this['_urlService']=_0x3be5a3,this[_0x314dae(0x1a2)]=_0x39a383,this['_commandService']=_0x4496bd,this[_0x314dae(0x309)]=_0x2ecbdb,_0x4de41a?_0x4de41a==null||_0x4de41a[_0x314dae(0x364)]()[_0x314dae(0x2d5)](()=>this[_0x314dae(0x27f)]()):(this[_0x314dae(0x1a2)]['debug'](_0x314dae(0x1d6),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x314dae(0x27f)]());}async[_0x2273bc(0x27f)](){const _0x5d24a1=_0x2273bc,_0xcc7577=this[_0x5d24a1(0x22b)]['getParam'](_0x5d24a1(0x3a2)),_0x34b3c0=this[_0x5d24a1(0x22b)][_0x5d24a1(0x330)](_0x5d24a1(0x28e)),_0x38471f=this['_urlService'][_0x5d24a1(0x330)]('subunit');if(!_0xcc7577||!_0x34b3c0){this[_0x5d24a1(0x1a2)][_0x5d24a1(0x219)]('[CollaborationDataLoaderController]',_0x5d24a1(0x1e7));return;}const _0xc22207=await this[_0x5d24a1(0x309)][_0x5d24a1(0x1f2)](_0xcc7577,Number(_0x34b3c0),_0x38471f);_0xc22207&&_0xc22207 instanceof _0x45454d[_0x5d24a1(0x1e0)]&&this['_setupSubUnitSync'](_0xc22207);}async[_0x2273bc(0x370)](_0x4e0c63){const _0x1a87be=_0x2273bc;await this[_0x1a87be(0x34f)](_0x4e0c63),_0x4e0c63['activeSheet$'][_0x1a87be(0x262)](_0x481401[_0x1a87be(0x2f3)](this['dispose$']))['subscribe'](_0x375d69=>{const _0x6e95ef=_0x1a87be;_0x375d69&&this[_0x6e95ef(0x3e3)](_0x375d69);}),this[_0x1a87be(0x22b)][_0x1a87be(0x1d5)][_0x1a87be(0x262)](_0x481401[_0x1a87be(0x2f3)](this['dispose$']))[_0x1a87be(0x2b7)](()=>this['_updateSubUnitFromURLParams'](_0x4e0c63));}[_0x2273bc(0x3e3)](_0x320e35,_0x502eaf=!0x1){const _0x43e0f4=_0x2273bc,_0x51bb69=this[_0x43e0f4(0x22b)][_0x43e0f4(0x330)](_0x43e0f4(0x2d3));_0x320e35['getSheetId']()!==_0x51bb69&&this[_0x43e0f4(0x22b)][_0x43e0f4(0x221)](_0x43e0f4(0x2d3),_0x320e35[_0x43e0f4(0x1be)](),_0x502eaf);}async[_0x2273bc(0x34f)](_0x5668cd){const _0x1552ec=_0x2273bc;var _0x4cb0d5;const _0x5e2d12=this['_urlService']['getParam'](_0x1552ec(0x2d3));if(!_0x5e2d12||!_0x5668cd[_0x1552ec(0x2ca)](_0x5e2d12)){const _0x3a5467=_0x5668cd[_0x1552ec(0x349)]()[0x0],_0x1c93a0=_0x5668cd[_0x1552ec(0x2ca)](_0x3a5467);if(!_0x1c93a0)return;this[_0x1552ec(0x3e3)](_0x1c93a0,!0x0),await this['_commandService'][_0x1552ec(0x238)](_0x518da4[_0x1552ec(0x2a4)]['id'],{'unitId':_0x5668cd[_0x1552ec(0x318)](),'subUnitId':_0x3a5467});return;}((_0x4cb0d5=_0x5668cd[_0x1552ec(0x2f1)]())==null?void 0x0:_0x4cb0d5[_0x1552ec(0x1be)]())!==_0x5e2d12&&await this[_0x1552ec(0x1c1)][_0x1552ec(0x238)](_0x518da4['SetWorksheetActivateCommand']['id'],{'unitId':_0x5668cd[_0x1552ec(0x318)](),'subUnitId':_0x5e2d12});}},_0x2f60c5[_0x2273bc(0x3ed)]=_0x4548e5([_0x1facf8(0x0,_0x3f856f),_0x1facf8(0x1,_0x45454d[_0x2273bc(0x254)]),_0x1facf8(0x2,_0x45454d[_0x2273bc(0x3d0)]),_0x1facf8(0x3,_0x45454d[_0x2273bc(0x37f)](_0xfdd47c[_0x2273bc(0x42c)])),_0x1facf8(0x4,_0x45454d[_0x2273bc(0x362)](_0x1c6948['IRemoteInstanceService']))],_0x2f60c5[_0x2273bc(0x3ed)]);var _0x2a5c9b=Object[_0x2273bc(0x43a)],_0x5a3827=(_0x52c887,_0x56da02,_0x14f43a,_0x14720a)=>{const _0x2ff166=_0x2273bc;for(var _0x40efac=_0x14720a>0x1?void 0x0:_0x14720a?_0x2a5c9b(_0x56da02,_0x14f43a):_0x56da02,_0x30e2c1=_0x52c887[_0x2ff166(0x1cb)]-0x1,_0x91d48d;_0x30e2c1>=0x0;_0x30e2c1--)(_0x91d48d=_0x52c887[_0x30e2c1])&&(_0x40efac=_0x91d48d(_0x40efac)||_0x40efac);return _0x40efac;},_0x1731e2=(_0x30bf50,_0x4295d1)=>(_0x1ce35f,_0x2e9c71)=>_0x4295d1(_0x1ce35f,_0x2e9c71,_0x30bf50);let _0x54f8ab=class{constructor(_0x8c7b4a,_0x24a46b,_0x339833){const _0x4fcc4e=_0x2273bc;this['_injector']=_0x8c7b4a,this[_0x4fcc4e(0x333)]=_0x24a46b,this[_0x4fcc4e(0x3da)]=_0x339833;}[_0x2273bc(0x316)](_0x5abaa8){const _0xcaf42c=_0x2273bc;this[_0xcaf42c(0x357)](_0x5abaa8),this[_0xcaf42c(0x314)](_0x5abaa8);}[_0x2273bc(0x2fc)](_0x410936){const _0x1201d2=_0x2273bc,{unitID:_0x1ff1a3}=_0x410936,_0x3c9c68=this['_renderManagerService'][_0x1201d2(0x270)](_0x1ff1a3)['with'](_0x1b66a1[_0x1201d2(0x430)]),{redoCache:_0x593c73}=_0x3c9c68[_0x1201d2(0x3a8)]();if(_0x593c73[_0x1201d2(0x1cb)]===0x0)return _0x410936;let _0x38013a=_0x45454d[_0x1201d2(0x400)]['deepClone'](_0x410936[_0x1201d2(0x2d4)][0x0]);for(let _0x3af561=0x0;_0x3af561<_0x593c73[_0x1201d2(0x1cb)];_0x3af561++){const _0x3431dc={'id':_0x1201d2(0x2b5),'params':{..._0x593c73[_0x3af561]}},_0x407021=this['_transformService'][_0x1201d2(0x2cc)](_0x38013a,_0x3431dc,!0x1);if(_0x368b75[_0x1201d2(0x31e)](_0x407021))throw _0x407021['error'];_0x38013a=_0x407021[_0x1201d2(0x283)];}return{..._0x45454d['Tools'][_0x1201d2(0x1c3)](_0x410936),'mutations':[_0x38013a]};}[_0x2273bc(0x357)](_0xd15e33){const _0x1b71ef=_0x2273bc,{unitID:_0xbf5ff1}=_0xd15e33,_0x294dc5=this[_0x1b71ef(0x3da)][_0x1b71ef(0x270)](_0xbf5ff1)[_0x1b71ef(0x22e)](_0x1b66a1[_0x1b71ef(0x430)]),{undoCache:_0x4b32fc,redoCache:_0x3b6b8c}=_0x294dc5[_0x1b71ef(0x3a8)]();if(_0x4b32fc[_0x1b71ef(0x1cb)]===0x0||_0x3b6b8c[_0x1b71ef(0x1cb)]===0x0)return;const _0x59a58f=[],_0xcd08a5=[];let _0x19fa17=_0x45454d[_0x1b71ef(0x400)]['deepClone'](_0xd15e33['mutations'][0x0]),_0x5db532=_0x45454d[_0x1b71ef(0x400)]['deepClone'](_0xd15e33['mutations'][0x0]);for(let _0x84ce8b=_0x4b32fc[_0x1b71ef(0x1cb)]-0x1;_0x84ce8b>=0x0;_0x84ce8b--){const _0xe601d2={'id':_0x1b71ef(0x2b5),'params':{..._0x4b32fc[_0x84ce8b]}},_0xe0a785={'id':_0x1b71ef(0x2b5),'params':{..._0x3b6b8c[_0x84ce8b]}},_0x3b165f=this[_0x1b71ef(0x333)]['transformMutation'](_0x19fa17,_0xe601d2,!0x1),_0x15385c=this[_0x1b71ef(0x333)][_0x1b71ef(0x2cc)](_0x5db532,_0xe0a785,!0x1);if(_0x368b75[_0x1b71ef(0x31e)](_0x3b165f))throw _0x3b165f[_0x1b71ef(0x372)];if(_0x368b75[_0x1b71ef(0x31e)](_0x15385c))throw _0x15385c['error'];_0x59a58f[_0x1b71ef(0x3a3)](_0x3b165f['m2Prime'][_0x1b71ef(0x399)]),_0xcd08a5[_0x1b71ef(0x3a3)](_0x15385c[_0x1b71ef(0x248)][_0x1b71ef(0x399)]),_0x19fa17=_0x3b165f[_0x1b71ef(0x283)],_0x5db532=_0x15385c['m1Prime'];}_0x294dc5[_0x1b71ef(0x2f8)]({'undoCache':_0x59a58f,'redoCache':_0xcd08a5});}[_0x2273bc(0x314)](_0x4ec90a){const _0xc2a5df=_0x2273bc,{unitID:_0x14fc38}=_0x4ec90a,_0x3dd27f=this[_0xc2a5df(0x3da)][_0xc2a5df(0x270)](_0x14fc38)[_0xc2a5df(0x22e)](_0x1b66a1['DocIMEInputManagerService']),_0x49c3f3=_0x3dd27f[_0xc2a5df(0x2b0)]();if(_0x49c3f3==null)return;const _0x344e8f=[{'id':_0xc2a5df(0x2b5),'params':{'unitId':_0x4ec90a['unitID'],'actions':null,'textRanges':[_0x49c3f3]}}],_0x50177e=this['_transformService'][_0xc2a5df(0x30c)](_0x4ec90a,_0x344e8f);if(!_0x368b75['isTransformMutationsWithChangesetSuccess'](_0x50177e))throw _0x50177e['error'];const _0x33d436=_0x50177e['m2Prime'][0x0][_0xc2a5df(0x399)]['textRanges'];Array[_0xc2a5df(0x387)](_0x33d436)&&_0x33d436['length']&&_0x3dd27f['setActiveRange'](_0x33d436[0x0]);}};_0x54f8ab=_0x5a3827([_0x1731e2(0x0,_0x45454d[_0x2273bc(0x37f)](_0x45454d['Injector'])),_0x1731e2(0x1,_0x368b75['ITransformService']),_0x1731e2(0x2,_0x17a4de[_0x2273bc(0x19d)])],_0x54f8ab);var _0x16b4af=Object['getOwnPropertyDescriptor'],_0x2c3c09=(_0x36a61f,_0x5887ae,_0x54c79d,_0x191bf8)=>{const _0x5f3365=_0x2273bc;for(var _0x2213a2=_0x191bf8>0x1?void 0x0:_0x191bf8?_0x16b4af(_0x5887ae,_0x54c79d):_0x5887ae,_0x55b8f8=_0x36a61f[_0x5f3365(0x1cb)]-0x1,_0x373b9f;_0x55b8f8>=0x0;_0x55b8f8--)(_0x373b9f=_0x36a61f[_0x55b8f8])&&(_0x2213a2=_0x373b9f(_0x2213a2)||_0x2213a2);return _0x2213a2;},_0x21e813=(_0x5291e2,_0x5c9fa0)=>(_0x7f0d63,_0x5307ed)=>_0x5c9fa0(_0x7f0d63,_0x5307ed,_0x5291e2);let _0x5bc7a6=class{constructor(_0x52b86e,_0x2cc737,_0x3c6628){const _0x553243=_0x2273bc;this[_0x553243(0x3ca)]=_0x52b86e,this[_0x553243(0x333)]=_0x2cc737,this['_docStateChangeManagerService']=_0x3c6628;}[_0x2273bc(0x217)](_0xf46380){const _0x9c85e8=_0x2273bc;this[_0x9c85e8(0x30a)](_0xf46380);}[_0x2273bc(0x2fc)](_0xe6e2a8){const _0x14ed2f=_0x2273bc,{unitID:_0x51f1af}=_0xe6e2a8,{collaboration:_0xa952f2}=this[_0x14ed2f(0x2d9)][_0x14ed2f(0x373)](_0x51f1af);if(_0xa952f2[_0x14ed2f(0x1cb)]===0x0)return _0xe6e2a8;let _0x4be24d=_0x45454d[_0x14ed2f(0x400)][_0x14ed2f(0x1c3)](_0xe6e2a8[_0x14ed2f(0x2d4)][0x0]);for(let _0x127935=0x0;_0x127935<_0xa952f2[_0x14ed2f(0x1cb)];_0x127935++){const _0x5f30fd={'id':_0x14ed2f(0x2b5),'params':{'unitId':_0xa952f2[_0x127935][_0x14ed2f(0x338)],..._0xa952f2[_0x127935][_0x14ed2f(0x25f)]}},_0x6285c5=this[_0x14ed2f(0x333)][_0x14ed2f(0x2cc)](_0x4be24d,_0x5f30fd,!0x1);if(_0x368b75['isTransformMutationFailure'](_0x6285c5))throw _0x6285c5[_0x14ed2f(0x372)];_0x4be24d=_0x6285c5[_0x14ed2f(0x283)];}return{..._0x45454d[_0x14ed2f(0x400)][_0x14ed2f(0x1c3)](_0xe6e2a8),'mutations':[_0x4be24d]};}[_0x2273bc(0x30a)](_0x410b23){const _0x3327ce=_0x2273bc,{unitID:_0x5b950e}=_0x410b23,{history:_0x3f73c1,collaboration:_0x474bf7}=this[_0x3327ce(0x2d9)][_0x3327ce(0x373)](_0x5b950e);if(_0x3f73c1['length']===0x0&&_0x474bf7['length']===0x0)return;const _0x59a43f=[],_0x750fa=[];let _0x2d581d=_0x45454d[_0x3327ce(0x400)][_0x3327ce(0x1c3)](_0x410b23[_0x3327ce(0x2d4)][0x0]),_0x55e4b5=_0x45454d[_0x3327ce(0x400)][_0x3327ce(0x1c3)](_0x410b23['mutations'][0x0]);for(let _0x5bf6d6=_0x3f73c1[_0x3327ce(0x1cb)]-0x1;_0x5bf6d6>=0x0;_0x5bf6d6--){const _0x512145={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3f73c1[_0x5bf6d6][_0x3327ce(0x338)],..._0x3f73c1[_0x5bf6d6][_0x3327ce(0x3d6)]}},_0x36e42={'id':_0x3327ce(0x2b5),'params':{'unitId':_0x3f73c1[_0x5bf6d6][_0x3327ce(0x338)],..._0x3f73c1[_0x5bf6d6][_0x3327ce(0x25f)]}},_0x5caf61=this['_transformService'][_0x3327ce(0x2cc)](_0x2d581d,_0x512145,!0x1),_0x4cfac0=this[_0x3327ce(0x333)][_0x3327ce(0x2cc)](_0x55e4b5,_0x36e42,!0x1);if(_0x368b75[_0x3327ce(0x31e)](_0x5caf61))throw _0x5caf61['error'];if(_0x368b75[_0x3327ce(0x31e)](_0x4cfac0))throw _0x4cfac0[_0x3327ce(0x372)];_0x59a43f[_0x3327ce(0x3a3)]({..._0x3f73c1[_0x5bf6d6],'undoState':_0x5caf61[_0x3327ce(0x248)][_0x3327ce(0x399)],'redoState':_0x4cfac0[_0x3327ce(0x248)][_0x3327ce(0x399)]}),_0x2d581d=_0x5caf61[_0x3327ce(0x283)],_0x55e4b5=_0x4cfac0[_0x3327ce(0x283)];}_0x2d581d=_0x45454d['Tools'][_0x3327ce(0x1c3)](_0x410b23['mutations'][0x0]),_0x55e4b5=_0x45454d[_0x3327ce(0x400)][_0x3327ce(0x1c3)](_0x410b23['mutations'][0x0]);for(let _0x56e3e7=_0x474bf7['length']-0x1;_0x56e3e7>=0x0;_0x56e3e7--){const _0x1afc34={'id':_0x3327ce(0x2b5),'params':{'unitId':_0x474bf7[_0x56e3e7][_0x3327ce(0x338)],..._0x474bf7[_0x56e3e7][_0x3327ce(0x3d6)]}},_0x4c8d2f={'id':_0x3327ce(0x2b5),'params':{'unitId':_0x474bf7[_0x56e3e7][_0x3327ce(0x338)],..._0x474bf7[_0x56e3e7][_0x3327ce(0x25f)]}},_0x4addf7=this[_0x3327ce(0x333)][_0x3327ce(0x2cc)](_0x2d581d,_0x1afc34,!0x1),_0x4e98c0=this[_0x3327ce(0x333)][_0x3327ce(0x2cc)](_0x55e4b5,_0x4c8d2f,!0x1);if(_0x368b75[_0x3327ce(0x31e)](_0x4addf7))throw _0x4addf7[_0x3327ce(0x372)];if(_0x368b75[_0x3327ce(0x31e)](_0x4e98c0))throw _0x4e98c0['error'];_0x750fa[_0x3327ce(0x3a3)]({..._0x474bf7[_0x56e3e7],'undoState':_0x4addf7['m2Prime']['params'],'redoState':_0x4e98c0[_0x3327ce(0x248)][_0x3327ce(0x399)]}),_0x2d581d=_0x4addf7[_0x3327ce(0x283)],_0x55e4b5=_0x4e98c0[_0x3327ce(0x283)];}this['_docStateChangeManagerService'][_0x3327ce(0x3e0)](_0x5b950e,{'history':_0x59a43f,'collaboration':_0x750fa});}};_0x5bc7a6=_0x2c3c09([_0x21e813(0x0,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x3b2)])),_0x21e813(0x1,_0x368b75['ITransformService']),_0x21e813(0x2,_0x45454d[_0x2273bc(0x37f)](_0x1b66a1[_0x2273bc(0x2d6)]))],_0x5bc7a6);var _0x3db08e=Object['getOwnPropertyDescriptor'],_0x5bef3b=(_0x48deb7,_0x4606f2,_0x5d9912,_0x115b76)=>{const _0x2288c6=_0x2273bc;for(var _0xeb89b6=_0x115b76>0x1?void 0x0:_0x115b76?_0x3db08e(_0x4606f2,_0x5d9912):_0x4606f2,_0x57220c=_0x48deb7[_0x2288c6(0x1cb)]-0x1,_0x349f0f;_0x57220c>=0x0;_0x57220c--)(_0x349f0f=_0x48deb7[_0x57220c])&&(_0xeb89b6=_0x349f0f(_0xeb89b6)||_0xeb89b6);return _0xeb89b6;},_0x2c1376=(_0x39f6a8,_0x19e1dd)=>(_0x30f082,_0x36934d)=>_0x19e1dd(_0x30f082,_0x36934d,_0x39f6a8);let _0x1a6bea=class{constructor(_0x4ce9bd,_0x415f79){const _0x269664=_0x2273bc;this[_0x269664(0x3ca)]=_0x4ce9bd,this[_0x269664(0x333)]=_0x415f79;}[_0x2273bc(0x2bd)](_0x489cb5){const _0x57c2b5=_0x2273bc;var _0x43b1a4;const _0x42943a=this[_0x57c2b5(0x3ca)]['get'](_0x1af111[_0x57c2b5(0x41a)]),_0x57af41=(_0x43b1a4=_0x42943a[_0x57c2b5(0x21f)]())!=null?_0x43b1a4:[];if(_0x57af41[_0x57c2b5(0x1cb)]===0x0)return;const _0x5c7ce0=_0x489cb5['unitID'],_0x50c08e=[{'id':_0x57c2b5(0x2b5),'params':{'unitId':_0x5c7ce0,'actions':null,'textRanges':_0x57af41}}],_0x48b9ef=this[_0x57c2b5(0x333)][_0x57c2b5(0x30c)](_0x489cb5,_0x50c08e);if(!_0x368b75[_0x57c2b5(0x2a1)](_0x48b9ef))throw _0x48b9ef[_0x57c2b5(0x372)];const _0x585c1c=_0x48b9ef[_0x57c2b5(0x248)][0x0][_0x57c2b5(0x399)][_0x57c2b5(0x24e)];Array['isArray'](_0x585c1c)&&_0x585c1c['length']&&_0x42943a[_0x57c2b5(0x255)](_0x585c1c,{'unitId':_0x5c7ce0,'subUnitId':_0x5c7ce0},!0x1);}};_0x1a6bea=_0x5bef3b([_0x2c1376(0x0,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x3b2)])),_0x2c1376(0x1,_0x368b75[_0x2273bc(0x432)])],_0x1a6bea);var _0x2c1a5d=Object['getOwnPropertyDescriptor'],_0x4bea5b=(_0x3b1a49,_0x3f6d36,_0x3fa60b,_0x10c689)=>{const _0x1744d2=_0x2273bc;for(var _0x4d3048=_0x10c689>0x1?void 0x0:_0x10c689?_0x2c1a5d(_0x3f6d36,_0x3fa60b):_0x3f6d36,_0x4354a3=_0x3b1a49[_0x1744d2(0x1cb)]-0x1,_0x3c38f1;_0x4354a3>=0x0;_0x4354a3--)(_0x3c38f1=_0x3b1a49[_0x4354a3])&&(_0x4d3048=_0x3c38f1(_0x4d3048)||_0x4d3048);return _0x4d3048;},_0xfec4a4=(_0x2b79f9,_0x58454b)=>(_0x580eec,_0x2d0ce1)=>_0x58454b(_0x580eec,_0x2d0ce1,_0x2b79f9);let _0x3bf269=class extends _0x45454d[_0x2273bc(0x359)]{constructor(_0x48ad9c,_0x2fb01e,_0x27dc27,_0x669534,_0x38594d,_0x507b97,_0x375395,_0x5173e2){const _0x2788cd=_0x2273bc;super(),_0x394afd(this,'_status$',new _0x481401[(_0x2788cd(0x2e4))](_0xfdd47c[_0x2788cd(0x336)]['NOT_COLLAB'])),(this[_0x2788cd(0x2d9)]=_0x48ad9c,this[_0x2788cd(0x305)]=_0x2fb01e,this[_0x2788cd(0x258)]=_0x27dc27,this[_0x2788cd(0x322)]=_0x669534,this[_0x2788cd(0x235)]=_0x38594d,this[_0x2788cd(0x2c2)]=_0x507b97,this[_0x2788cd(0x1d7)]=_0x375395,this[_0x2788cd(0x3e9)]=_0x5173e2,this[_0x2788cd(0x2e1)]());}[_0x2273bc(0x2e1)](){const _0x38e3e7=_0x2273bc;this[_0x38e3e7(0x36f)](this[_0x38e3e7(0x305)][_0x38e3e7(0x2f5)][_0x38e3e7(0x2b7)](_0xf26b9d=>{const _0x5d351a=_0x38e3e7,_0x402aa5=this[_0x5d351a(0x2d9)][_0x5d351a(0x2c6)][_0x5d351a(0x2b7)](_0x298d3c=>{const _0x4d5344=_0x5d351a;if(_0x298d3c==null)return;const {unitId:_0x31ec13,redoState:_0x315108,commandId:_0x4e291d}=_0x298d3c;if(_0x31ec13!==_0xf26b9d[_0x4d5344(0x2cb)])return;const _0x13d97e={'id':_0x4e291d,'type':_0x45454d[_0x4d5344(0x376)][_0x4d5344(0x375)],'params':{'unitId':_0x31ec13,'actions':_0x315108[_0x4d5344(0x33e)],'textRanges':null}};_0xf26b9d[_0x4d5344(0x1b0)](_0x13d97e);});if(_0xf26b9d['disposeWithMe'](_0x402aa5),_0xf26b9d instanceof _0xfdd47c[_0x5d351a(0x3e4)]){const _0x3b1dbe={'onTransformIME':_0x2290bd=>this[_0x5d351a(0x258)][_0x5d351a(0x316)](_0x2290bd),'onTransformState':_0x489d2e=>this[_0x5d351a(0x322)][_0x5d351a(0x217)](_0x489d2e),'onTransformSelections':_0x29eb43=>this[_0x5d351a(0x235)]['transformSelections'](_0x29eb43),'onSyncEditingCollabCursor':_0x2f1d11=>this[_0x5d351a(0x2c2)]['syncEditingCollabCursor'](_0x2f1d11),'onTransformRemoteChangesetByIMECache':_0x20f154=>this['_docTransformIMECacheService'][_0x5d351a(0x2fc)](_0x20f154),'onTransformRemoteChangesetByStateCache':_0x37e197=>this[_0x5d351a(0x322)][_0x5d351a(0x2fc)](_0x37e197)};_0xf26b9d[_0x5d351a(0x1c5)](_0x3b1dbe);}}));}};_0x3bf269=_0x4bea5b([_0xfec4a4(0x0,_0x45454d['Inject'](_0x1b66a1['DocStateChangeManagerService'])),_0xfec4a4(0x1,_0x45454d[_0x2273bc(0x37f)](_0xfdd47c[_0x2273bc(0x391)])),_0xfec4a4(0x2,_0x45454d[_0x2273bc(0x37f)](_0x54f8ab)),_0xfec4a4(0x3,_0x45454d[_0x2273bc(0x37f)](_0x5bc7a6)),_0xfec4a4(0x4,_0x45454d[_0x2273bc(0x37f)](_0x1a6bea)),_0xfec4a4(0x5,_0x45454d['Inject'](_0x43f1e3)),_0xfec4a4(0x6,_0x933c1a[_0x2273bc(0x1ff)]),_0xfec4a4(0x7,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x1ba)]))],_0x3bf269);var _0x8be958=Object[_0x2273bc(0x43a)],_0x365e70=(_0xd62fb8,_0xd85428,_0x4bd220,_0x36f1eb)=>{const _0x2f6c2c=_0x2273bc;for(var _0x58fbd6=_0x36f1eb>0x1?void 0x0:_0x36f1eb?_0x8be958(_0xd85428,_0x4bd220):_0xd85428,_0x3341a2=_0xd62fb8[_0x2f6c2c(0x1cb)]-0x1,_0x2d170d;_0x3341a2>=0x0;_0x3341a2--)(_0x2d170d=_0xd62fb8[_0x3341a2])&&(_0x58fbd6=_0x2d170d(_0x58fbd6)||_0x58fbd6);return _0x58fbd6;},_0x5d978f=(_0x1f4084,_0x4664a6)=>(_0xe37140,_0x1e9889)=>_0x4664a6(_0xe37140,_0x1e9889,_0x1f4084);let _0x2bc1fb=class extends _0x45454d['Disposable']{constructor(_0x2daa27,_0x1fd503,_0x40cd14){const _0x5c836f=_0x2273bc;super(),_0x394afd(this,_0x5c836f(0x428),new Map()),_0x394afd(this,_0x5c836f(0x226),new Map()),_0x394afd(this,_0x5c836f(0x20f),!0x1),(this[_0x5c836f(0x289)]=_0x2daa27,this['_localStorageService']=_0x1fd503,this['_revisionService']=_0x40cd14);}[_0x2273bc(0x302)](){const _0x41f50e=_0x2273bc;this[_0x41f50e(0x20f)]=!0x0;}['enableLocalCache'](){const _0x1883f1=_0x2273bc;this[_0x1883f1(0x20f)]=!0x1;}get['saveTaskMap'](){const _0x1b4b0b=_0x2273bc;return this[_0x1b4b0b(0x226)];}['dispose'](){const _0x148ab5=_0x2273bc;this['exhaustSavingTask']()['then'](()=>super[_0x148ab5(0x3b5)]());}async[_0x2273bc(0x1b8)](_0x1203fb){const _0x4fb99b=_0x2273bc;return this[_0x4fb99b(0x20f)]?null:this[_0x4fb99b(0x34e)][_0x4fb99b(0x1a7)](_0xfdd47c[_0x4fb99b(0x3ac)](_0x1203fb));}async[_0x2273bc(0x3a0)](_0x5a60a1,_0x372a24){const _0x4e8d0d=_0x2273bc;return!!this[_0x4e8d0d(0x34e)][_0x4e8d0d(0x251)](_0x5a60a1,_0x372a24);}['updateOfflineData'](_0x49bfe1,_0x2a2de6,_0x202512,_0x1c8f59){const _0x45d07d=_0x2273bc,_0x91ad76=this[_0x45d07d(0x3fe)][_0x45d07d(0x2d8)](_0x49bfe1);this['_cachedData']['set'](_0x49bfe1,{'unitID':_0x49bfe1,'type':_0x2a2de6,'awaitingChangeset':_0x202512,'mutations':_0x1c8f59,'rev':_0x91ad76}),this[_0x45d07d(0x226)]['has'](_0x49bfe1)||this[_0x45d07d(0x2aa)](_0x49bfe1);}[_0x2273bc(0x2aa)](_0x5702d3){const _0x3db7f1=_0x2273bc,_0x10f059=this['_getSaveTimeout']();_0x10f059===0x0?this[_0x3db7f1(0x360)](_0x5702d3):this[_0x3db7f1(0x226)][_0x3db7f1(0x2e8)](_0x5702d3,setTimeout(()=>this[_0x3db7f1(0x360)](_0x5702d3),_0x10f059));}['_getSaveTimeout'](){const _0x5890ed=_0x2273bc;var _0x48e4f0;return(_0x48e4f0=this[_0x5890ed(0x289)][_0x5890ed(0x2d0)](_0xfdd47c[_0x5890ed(0x402)]))!=null?_0x48e4f0:_0xfdd47c[_0x5890ed(0x380)];}[_0x2273bc(0x360)](_0x529c85){const _0x49396c=_0x2273bc,_0xac4e91=this[_0x49396c(0x226)]['get'](_0x529c85);return _0xac4e91!==void 0x0&&window[_0x49396c(0x3de)](_0xac4e91),this[_0x49396c(0x34e)][_0x49396c(0x251)](_0xfdd47c[_0x49396c(0x3ac)](_0x529c85),this[_0x49396c(0x428)][_0x49396c(0x1ef)](_0x529c85))[_0x49396c(0x2d5)](()=>this[_0x49396c(0x226)]['delete'](_0x529c85));}async['exhaustSavingTask'](){const _0x24c5fa=_0x2273bc,_0x3671a4=[];this[_0x24c5fa(0x226)][_0x24c5fa(0x213)]((_0x3bda65,_0x2e756b)=>{const _0x2653bf=_0x24c5fa;window[_0x2653bf(0x3de)](_0x3bda65),_0x3671a4[_0x2653bf(0x273)](this['_saveCache'](_0x2e756b)[_0x2653bf(0x2d5)](()=>{const _0x475e7c=_0x2653bf;this[_0x475e7c(0x226)]['delete'](_0x2e756b);}));}),await Promise[_0x24c5fa(0x1d0)](_0x3671a4);}};_0x2bc1fb=_0x365e70([_0x5d978f(0x0,_0x45454d['IConfigService']),_0x5d978f(0x1,_0x45454d['ILocalStorageService']),_0x5d978f(0x2,_0x45454d[_0x2273bc(0x37f)](_0x368b75[_0x2273bc(0x1c4)]))],_0x2bc1fb);class _0x2cdbea extends _0x45454d[_0x2273bc(0x42d)]{constructor(){const _0xde6741=_0x2273bc;super(),_0x394afd(this,_0xde6741(0x1d5)),this[_0xde6741(0x1d5)]=_0x481401[_0xde6741(0x224)](window,_0xde6741(0x1f0))['pipe'](_0x481401[_0xde6741(0x2f3)](this[_0xde6741(0x1ad)]),_0x481401[_0xde6741(0x2ed)](0x1),_0x481401[_0xde6741(0x3d8)](void 0x0));}['setParam'](_0x6b0421,_0x3eeba8,_0x5322d3=!0x1){const _0x2164a0=_0x2273bc,_0x5bd3fa=new URL(window[_0x2164a0(0x269)][_0x2164a0(0x3cd)]);_0x5bd3fa[_0x2164a0(0x31c)][_0x2164a0(0x2e8)](_0x6b0421,_0x3eeba8),_0x5322d3?window[_0x2164a0(0x418)]['replaceState']('','',_0x5bd3fa[_0x2164a0(0x439)]()):window['history']['pushState']('','',_0x5bd3fa[_0x2164a0(0x439)]());}[_0x2273bc(0x209)](_0x51ae49,_0x2035b9=!0x1){const _0x2682ff=_0x2273bc,_0x10715b=new URL(window[_0x2682ff(0x269)]['href']);_0x10715b[_0x2682ff(0x31c)][_0x2682ff(0x43c)](_0x51ae49),_0x2035b9?window['history']['replaceState']('','',_0x10715b[_0x2682ff(0x439)]()):window['history']['pushState']('','',_0x10715b['toString']());}[_0x2273bc(0x330)](_0x2973f1){const _0x20bba8=_0x2273bc;var _0x48601;return(_0x48601=new URL(window[_0x20bba8(0x269)]['href'])[_0x20bba8(0x31c)][_0x20bba8(0x1ef)](_0x2973f1))!=null?_0x48601:void 0x0;}}var _0x3f707d=Object[_0x2273bc(0x2ee)],_0x219225=Object[_0x2273bc(0x43a)],_0x3fb5a9=(_0x46ea45,_0x41b5d4,_0x591fbb)=>_0x41b5d4 in _0x46ea45?_0x3f707d(_0x46ea45,_0x41b5d4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x591fbb}):_0x46ea45[_0x41b5d4]=_0x591fbb,_0x227552=(_0x23ab93,_0x3001a8,_0x57713a,_0x3e3712)=>{const _0x8720df=_0x2273bc;for(var _0x716dd0=_0x3e3712>0x1?void 0x0:_0x3e3712?_0x219225(_0x3001a8,_0x57713a):_0x3001a8,_0xb4060c=_0x23ab93[_0x8720df(0x1cb)]-0x1,_0x17d53b;_0xb4060c>=0x0;_0xb4060c--)(_0x17d53b=_0x23ab93[_0xb4060c])&&(_0x716dd0=_0x17d53b(_0x716dd0)||_0x716dd0);return _0x716dd0;},_0x464ea7=(_0x531f2a,_0x39cc6f)=>(_0x364aec,_0x11a5fc)=>_0x39cc6f(_0x364aec,_0x11a5fc,_0x531f2a),_0x175cee=(_0x52383e,_0x3d39c7,_0x2f57d8)=>_0x3fb5a9(_0x52383e,_0x3d39c7+'',_0x2f57d8);const _0x15639c='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x2f60c5[_0x2273bc(0x1bd)]=class extends _0x45454d['Plugin']{constructor(_0x2e7460=_0x217a89,_0x2fd60a,_0x5408c5,_0x47cc27){const _0x551a13=_0x2273bc;super(),this[_0x551a13(0x223)]=_0x2e7460,this['_renderManagerService']=_0x2fd60a,this[_0x551a13(0x3ca)]=_0x5408c5,this['_configService']=_0x47cc27;const {..._0xd03fc8}=_0x45454d[_0x551a13(0x340)]({},_0x217a89,this['_config']);this[_0x551a13(0x289)]['setConfig'](_0x523261,_0xd03fc8);}[_0x2273bc(0x1a8)](){const _0x4a6833=_0x2273bc;this[_0x4a6833(0x1dc)](),this[_0x4a6833(0x1b6)]();}['onRendered'](){const _0x406f89=_0x2273bc;this[_0x406f89(0x26e)]();}[_0x2273bc(0x1dc)](){const _0xcdbf1e=_0x2273bc;var _0x59f265;const _0xe77379=[[_0x308b95],[_0x1a6bea],[_0x54f8ab],[_0x5bc7a6],[_0x43f1e3],[_0x3f856f,{'useClass':_0x2cdbea}],[_0x4cb81d[_0xcdbf1e(0x228)],{'useClass':_0x4cb81d[_0xcdbf1e(0x377)]}],[_0xfdd47c[_0xcdbf1e(0x415)],{'useClass':_0x2bc1fb}],[_0x2f60c5[_0xcdbf1e(0x3f7)]],[_0x3bf269],[_0x32a402],[_0x344c8e],[_0x4604dc],[_0x2f60c5[_0xcdbf1e(0x3ed)]]];_0x45454d[_0xcdbf1e(0x1db)](this[_0xcdbf1e(0x3ca)],_0x45454d[_0xcdbf1e(0x2a2)](_0xe77379,(_0x59f265=this[_0xcdbf1e(0x223)])==null?void 0x0:_0x59f265[_0xcdbf1e(0x34d)]));}[_0x2273bc(0x26e)](){const _0x31fe94=_0x2273bc;this['disposeWithMe'](this[_0x31fe94(0x3da)][_0x31fe94(0x2f7)](_0x45454d['UniverInstanceType'][_0x31fe94(0x27c)],[_0xd126a4])),this[_0x31fe94(0x36f)](this[_0x31fe94(0x3da)][_0x31fe94(0x2f7)](_0x45454d[_0x31fe94(0x307)][_0x31fe94(0x41e)],[_0x4549a0]));}[_0x2273bc(0x1b6)](){const _0x4de3f1=_0x2273bc;_0x45454d['touchDependencies'](this['_injector'],[[_0x344c8e],[_0x2f60c5[_0x4de3f1(0x3f7)]],[_0x3bf269],[_0x32a402],[_0x2f60c5['CollaborationDataLoaderController']]]);}},_0x175cee(_0x2f60c5['UniverCollaborationClientUIPlugin'],_0x2273bc(0x1fd),_0x15639c),_0x2f60c5[_0x2273bc(0x1bd)]=_0x227552([_0x45454d[_0x2273bc(0x3d1)](_0xfdd47c[_0x2273bc(0x39b)]),_0x464ea7(0x1,_0x17a4de[_0x2273bc(0x19d)]),_0x464ea7(0x2,_0x45454d[_0x2273bc(0x37f)](_0x45454d[_0x2273bc(0x3b2)])),_0x464ea7(0x3,_0x45454d[_0x2273bc(0x3b8)])],_0x2f60c5[_0x2273bc(0x1bd)]);var _0x594e5f=Object[_0x2273bc(0x43a)],_0x2f0b52=(_0x4f692b,_0x2227c9,_0x10c5ec,_0x3fd949)=>{const _0x52bd42=_0x2273bc;for(var _0x487886=_0x3fd949>0x1?void 0x0:_0x3fd949?_0x594e5f(_0x2227c9,_0x10c5ec):_0x2227c9,_0x1145bd=_0x4f692b[_0x52bd42(0x1cb)]-0x1,_0x4b7bb6;_0x1145bd>=0x0;_0x1145bd--)(_0x4b7bb6=_0x4f692b[_0x1145bd])&&(_0x487886=_0x4b7bb6(_0x487886)||_0x487886);return _0x487886;},_0x2506ac=(_0x55235d,_0x45f405)=>(_0x3ff8d4,_0x1df549)=>_0x45f405(_0x3ff8d4,_0x1df549,_0x55235d);_0x2f60c5[_0x2273bc(0x3ef)]=class extends _0xfdd47c[_0x2273bc(0x1b7)]{constructor(_0xa6ed53,_0x306bde,_0x1f3d3c,_0x368125,_0x41845c){super(_0xa6ed53,_0x306bde,_0x1f3d3c,_0x368125,_0x41845c);}async['createSocket'](_0x24d5ce){const _0x4cd7b2=_0x2273bc,_0x5da434=await this['_getSessionTicket'](),_0xa96eea=this['_createSocketURL'](_0x24d5ce,_0x5da434);return this[_0x4cd7b2(0x1ab)](_0xa96eea);}[_0x2273bc(0x3bf)](_0x5564af,_0x40cdf8){const _0xa07490=_0x2273bc,_0x18abef=typeof window>'u'?new URL(_0x5564af):new URL(_0x5564af,window['location'][_0xa07490(0x3d5)]);_0x18abef[_0xa07490(0x31c)][_0xa07490(0x2e8)](_0xa07490(0x227),_0x40cdf8);const _0x3af352=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0xa07490(0x230)]);return _0x3af352[_0xa07490(0x1ef)](_0xa07490(0x1b9))&&_0x18abef[_0xa07490(0x31c)][_0xa07490(0x2e8)]('runId',_0x3af352[_0xa07490(0x1ef)](_0xa07490(0x1b9))),_0x18abef[_0xa07490(0x439)]();}async[_0x2273bc(0x30d)](){const _0x5c3882=_0x2273bc;var _0x26b579,_0x471785,_0x1014ac;const _0x1d62c5=this['_configService']['getConfig'](_0xfdd47c[_0x5c3882(0x1e8)]),_0x4a0ec0=(_0x26b579=_0x1d62c5==null?void 0x0:_0x1d62c5[_0x5c3882(0x1e4)])!=null?_0x26b579:_0xfdd47c[_0x5c3882(0x312)];return(_0x1014ac=(_0x471785=(await this['_httpService'][_0x5c3882(0x1ef)](_0x4a0ec0,{'headers':{'Content-Type':_0x5c3882(0x410)}}))['body'])==null?void 0x0:_0x471785[_0x5c3882(0x2eb)])!=null?_0x1014ac:'';}},_0x2f60c5[_0x2273bc(0x3ef)]=_0x2f0b52([_0x2506ac(0x0,_0x45454d['Inject'](_0x45454d[_0x2273bc(0x3b2)])),_0x2506ac(0x1,_0x45454d[_0x2273bc(0x37f)](_0x4cb81d[_0x2273bc(0x232)])),_0x2506ac(0x2,_0x45454d['IConfigService']),_0x2506ac(0x3,_0x45454d[_0x2273bc(0x254)]),_0x2506ac(0x4,_0x368b75[_0x2273bc(0x298)])],_0x2f60c5[_0x2273bc(0x3ef)]);const _0x268e66=0x7530,_0x40b229='ACTIVE_UNIT_EVENT_CHANNEL';class _0x34ffca extends _0x45454d['Disposable']{constructor(){const _0x467d20=_0x2273bc;super(),_0x394afd(this,_0x467d20(0x2fd),_0x45454d[_0x467d20(0x3b0)]()),_0x394afd(this,_0x467d20(0x3a4),new Set()),_0x394afd(this,_0x467d20(0x274),new Map()),_0x394afd(this,_0x467d20(0x3cc),null),_0x394afd(this,_0x467d20(0x335),new Map()),_0x394afd(this,_0x467d20(0x2e9),new Map()),this[_0x467d20(0x27f)]();}['dispose'](){const _0x2d2fba=_0x2273bc;super['dispose'](),this[_0x2d2fba(0x335)][_0x2d2fba(0x213)]((_0x214cb1,_0x4ec6a)=>this['_removeClearOtherTimer'](_0x4ec6a)),this['_heartbeatTimer']&&window[_0x2d2fba(0x1d4)](this[_0x2d2fba(0x3cc)]);}[_0x2273bc(0x218)](_0x1f4609){const _0x7a40be=_0x2273bc;return this['_ensureSubject'](_0x1f4609)['pipe'](_0x481401[_0x7a40be(0x1c8)]());}['editingUnit'](_0x1629ae){const _0x4ec8bf=_0x2273bc;this['_selfUnitIDs']['size']===0x0&&this[_0x4ec8bf(0x245)](),this[_0x4ec8bf(0x3a4)]['add'](_0x1629ae),this[_0x4ec8bf(0x261)]({'type':0x0,'memberID':this[_0x4ec8bf(0x2fd)],'unitIDs':[_0x1629ae],'isForwarded':!0x1});}[_0x2273bc(0x290)](_0x57b2da){const _0x33c54f=_0x2273bc;this[_0x33c54f(0x3a4)]['delete'](_0x57b2da),this['_selfUnitIDs'][_0x33c54f(0x379)]===0x0&&this[_0x33c54f(0x3cc)]&&window[_0x33c54f(0x1d4)](this[_0x33c54f(0x3cc)]);}['_init'](){const _0x2752e7=_0x2273bc;this[_0x2752e7(0x36f)](_0x45454d['toDisposable'](_0x481401[_0x2752e7(0x224)](window,_0x2752e7(0x2b1))['subscribe'](_0x10405c=>{const _0x2be4c5=_0x2752e7;if(_0x10405c[_0x2be4c5(0x30e)]!==_0x40b229||!_0x10405c[_0x2be4c5(0x306)])return;const _0xb322f6=JSON['parse'](_0x10405c[_0x2be4c5(0x306)]);this[_0x2be4c5(0x260)](_0xb322f6);}))),window[_0x2752e7(0x20b)](_0x2752e7(0x331),()=>this[_0x2752e7(0x261)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x2752e7(0x320)](this[_0x2752e7(0x3a4)])}));}[_0x2273bc(0x260)](_0x56c446){const _0x5248b5=_0x2273bc;switch(_0x56c446[_0x5248b5(0x28e)]){case 0x0:this['_handleJoinEvent'](_0x56c446);break;case 0x1:this[_0x5248b5(0x42b)](_0x56c446);break;case 0x2:this[_0x5248b5(0x282)](_0x56c446);break;}}['_handleJoinEvent'](_0x41bc1c){const _0x536cdf=_0x2273bc,{unitIDs:_0x2fd064,memberID:_0x29c627,isForwarded:_0x451d55}=_0x41bc1c;_0x2fd064[_0x536cdf(0x213)](_0x583d47=>{const _0x429fa5=_0x536cdf;if(!_0x451d55&&this[_0x429fa5(0x274)][_0x429fa5(0x385)](_0x583d47)&&this[_0x429fa5(0x407)](_0x583d47)['next'](_0xfdd47c[_0x429fa5(0x3bb)][_0x429fa5(0x424)]),!this[_0x429fa5(0x274)]['has'](_0x583d47)||!this['_unitOnClients']['get'](_0x583d47)[_0x429fa5(0x385)](_0x29c627)){const _0x338088=this[_0x429fa5(0x274)][_0x429fa5(0x1ef)](_0x583d47)||new Set();_0x338088[_0x429fa5(0x1ee)](_0x29c627),this[_0x429fa5(0x274)][_0x429fa5(0x2e8)](_0x583d47,_0x338088),this[_0x429fa5(0x41b)](_0x29c627);}}),_0x451d55||this[_0x536cdf(0x261)]({'type':0x0,'memberID':this[_0x536cdf(0x2fd)],'unitIDs':[...this[_0x536cdf(0x3a4)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x316419){const _0x21bd66=_0x2273bc;this[_0x21bd66(0x3eb)](_0x316419);const _0x650ed=window[_0x21bd66(0x26d)](()=>{const _0x1de0ee=_0x21bd66;this[_0x1de0ee(0x274)][_0x1de0ee(0x213)](_0x71ac3e=>{const _0x1d9989=_0x1de0ee;_0x71ac3e[_0x1d9989(0x43c)](_0x316419);});},_0x268e66*0x2);this[_0x21bd66(0x335)][_0x21bd66(0x2e8)](_0x316419,_0x650ed);}[_0x2273bc(0x3eb)](_0x5d9f2a){const _0x176f25=_0x2273bc;if(this['_clearOtherTimers']['has'](_0x5d9f2a)){const _0x591185=this['_clearOtherTimers'][_0x176f25(0x1ef)](_0x5d9f2a);_0x591185&&window[_0x176f25(0x3de)](_0x591185),this[_0x176f25(0x335)][_0x176f25(0x2e8)](_0x5d9f2a,null);}}['_handleLeaveEvent'](_0x5f1944){const _0x37bc60=_0x2273bc,{memberID:_0x1ca5cc,unitIDs:_0x21f580}=_0x5f1944;_0x21f580[_0x37bc60(0x213)](_0x4451f6=>{const _0x2bb4f6=_0x37bc60;var _0x2ae748;const _0x1e934c=this[_0x2bb4f6(0x274)][_0x2bb4f6(0x1ef)](_0x4451f6);_0x1e934c&&(_0x1e934c[_0x2bb4f6(0x43c)](_0x1ca5cc),(_0x2ae748=this[_0x2bb4f6(0x407)](_0x4451f6))==null||_0x2ae748['next'](_0x1e934c['size']===0x0?_0xfdd47c[_0x2bb4f6(0x3bb)]['NO_OTHER_CLIENTS_EDITING']:_0xfdd47c[_0x2bb4f6(0x3bb)][_0x2bb4f6(0x424)]));}),this[_0x37bc60(0x3eb)](_0x1ca5cc);}[_0x2273bc(0x282)](_0x36a518){const _0x1800ec=_0x2273bc;this['_scheduleClearOtherTimer'](_0x36a518[_0x1800ec(0x2ff)]);}[_0x2273bc(0x261)](_0x377a2b){const _0x20df45=_0x2273bc;localStorage[_0x20df45(0x251)](_0x40b229,JSON[_0x20df45(0x3b3)](_0x377a2b));}['_scheduleHeartbeat'](){const _0x2bea1e=_0x2273bc;this[_0x2bea1e(0x3cc)]=window['setInterval'](()=>{const _0x4f6632=_0x2bea1e;this[_0x4f6632(0x261)]({'type':0x2,'memberID':this[_0x4f6632(0x2fd)]});},_0x268e66);}[_0x2273bc(0x407)](_0xe1086e){const _0x4ede41=_0x2273bc;return this[_0x4ede41(0x2e9)][_0x4ede41(0x385)](_0xe1086e)||this[_0x4ede41(0x2e9)][_0x4ede41(0x2e8)](_0xe1086e,new _0x481401[(_0x4ede41(0x2e4))](_0xfdd47c[_0x4ede41(0x3bb)][_0x4ede41(0x346)])),this[_0x4ede41(0x2e9)]['get'](_0xe1086e);}}var _0x2e13d2=(_0x53a168=>(_0x53a168[_0x53a168['UNDEFINED']=0x0]=_0x2273bc(0x211),_0x53a168[_0x53a168['OK']=0x1]='OK',_0x53a168[_0x53a168[_0x2273bc(0x2af)]=0x2]=_0x2273bc(0x2af),_0x53a168[_0x53a168[_0x2273bc(0x341)]=0x3]=_0x2273bc(0x341),_0x53a168[_0x53a168[_0x2273bc(0x3f6)]=0x4]='NOT_FOUND',_0x53a168[_0x53a168[_0x2273bc(0x29a)]=0x5]=_0x2273bc(0x29a),_0x53a168[_0x53a168[_0x2273bc(0x22a)]=0x6]=_0x2273bc(0x22a),_0x53a168[_0x53a168['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x53a168[_0x53a168[_0x2273bc(0x268)]=0x8]=_0x2273bc(0x268),_0x53a168[_0x53a168[_0x2273bc(0x1ea)]=0x9]=_0x2273bc(0x1ea),_0x53a168[_0x53a168[_0x2273bc(0x358)]=0xa]=_0x2273bc(0x358),_0x53a168[_0x53a168[_0x2273bc(0x426)]=0x1389]=_0x2273bc(0x426),_0x53a168[_0x53a168[_0x2273bc(0x203)]=0x1771]=_0x2273bc(0x203),_0x53a168[_0x53a168[_0x2273bc(0x1a1)]=0x1772]=_0x2273bc(0x1a1),_0x53a168[_0x53a168['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x2273bc(0x1fb),_0x53a168[_0x53a168[_0x2273bc(0x3a6)]=0x1b59]=_0x2273bc(0x3a6),_0x53a168[_0x53a168[_0x2273bc(0x25a)]=0x1b5a]=_0x2273bc(0x25a),_0x53a168[_0x53a168[_0x2273bc(0x1f5)]=0x1b5b]=_0x2273bc(0x1f5),_0x53a168[_0x53a168['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x2273bc(0x21a),_0x53a168[_0x53a168[_0x2273bc(0x21c)]=0x1b5d]=_0x2273bc(0x21c),_0x53a168[_0x53a168[_0x2273bc(0x1a4)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x53a168[_0x53a168['LICENSE_MAX_UNITS_EXCEEDED']=0x2329]=_0x2273bc(0x3ff),_0x53a168[_0x53a168[_0x2273bc(0x1d2)]=0x232a]=_0x2273bc(0x1d2),_0x53a168[_0x53a168['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x2273bc(0x3c1),_0x53a168[_0x53a168[_0x2273bc(0x2ac)]=0x232c]=_0x2273bc(0x2ac),_0x53a168[_0x53a168[_0x2273bc(0x21b)]=0x232d]=_0x2273bc(0x21b),_0x53a168[_0x53a168[_0x2273bc(0x3b6)]=0x2711]=_0x2273bc(0x3b6),_0x53a168[_0x53a168[_0x2273bc(0x34a)]=0x2712]=_0x2273bc(0x34a),_0x53a168[_0x53a168['YUUMI_RATE_OVER_LIMIT']=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x53a168[_0x53a168[_0x2273bc(0x31f)]=0x2714]=_0x2273bc(0x31f),_0x53a168[_0x53a168[_0x2273bc(0x3a5)]=0x271a]=_0x2273bc(0x3a5),_0x53a168[_0x53a168[_0x2273bc(0x3e5)]=0x271b]=_0x2273bc(0x3e5),_0x53a168[_0x53a168[_0x2273bc(0x434)]=0x271c]=_0x2273bc(0x434),_0x53a168[_0x53a168[_0x2273bc(0x3ce)]=0x271d]=_0x2273bc(0x3ce),_0x53a168[_0x53a168[_0x2273bc(0x277)]=0x271e]=_0x2273bc(0x277),_0x53a168[_0x53a168[_0x2273bc(0x374)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x53a168[_0x53a168[_0x2273bc(0x327)]=0x2af9]=_0x2273bc(0x327),_0x53a168[_0x53a168[_0x2273bc(0x3fd)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x53a168[_0x53a168[_0x2273bc(0x42e)]=0x2ee2]=_0x2273bc(0x42e),_0x53a168[_0x53a168[_0x2273bc(0x253)]=0x2ee3]=_0x2273bc(0x253),_0x53a168[_0x53a168[_0x2273bc(0x2cd)]=0x2ee4]=_0x2273bc(0x2cd),_0x53a168[_0x53a168['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x53a168[_0x53a168[_0x2273bc(0x30f)]=0x32c9]=_0x2273bc(0x30f),_0x53a168[_0x53a168[_0x2273bc(0x236)]=0x32ca]=_0x2273bc(0x236),_0x53a168[_0x53a168['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x2273bc(0x384),_0x53a168[_0x53a168[_0x2273bc(0x2b9)]=-0x1]='UNRECOGNIZED',_0x53a168))(_0x2e13d2||{}),_0x3db398=Object[_0x2273bc(0x43a)],_0x5831f4=(_0x1b3ebd,_0x48e16d,_0x1f72ca,_0x28423e)=>{for(var _0x2f2902=_0x28423e>0x1?void 0x0:_0x28423e?_0x3db398(_0x48e16d,_0x1f72ca):_0x48e16d,_0x6b2ae=_0x1b3ebd['length']-0x1,_0x2b485c;_0x6b2ae>=0x0;_0x6b2ae--)(_0x2b485c=_0x1b3ebd[_0x6b2ae])&&(_0x2f2902=_0x2b485c(_0x2f2902)||_0x2f2902);return _0x2f2902;},_0x386288=(_0x712917,_0x176842)=>(_0x592fc1,_0x133874)=>_0x176842(_0x592fc1,_0x133874,_0x712917);_0x2f60c5[_0x2273bc(0x395)]=class extends _0x45454d[_0x2273bc(0x359)]{constructor(_0x35e790,_0x28c305,_0xe54dd1){const _0x142e33=_0x2273bc;super(),this[_0x142e33(0x308)]=_0x35e790,this[_0x142e33(0x210)]=_0x28c305,this[_0x142e33(0x289)]=_0xe54dd1;}async[_0x2273bc(0x1f3)](_0x2255ea,_0xf20350,_0x554315,..._0x59fd4c){const _0x471f3e=_0x2273bc;var _0x49c141,_0x3a4561,_0x3fd3a8,_0x196792;const _0x4fbebb=this[_0x471f3e(0x308)][_0x471f3e(0x3d2)]();if(!_0x4fbebb)throw new Error(_0x471f3e(0x1f9));const _0x4b7617=((_0x49c141=this['_configService'][_0x471f3e(0x2d0)](_0xfdd47c[_0x471f3e(0x278)]))!=null?_0x49c141:_0xfdd47c['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x2255ea+_0x471f3e(0x389)+_0xf20350,_0x537023=new URL(window[_0x471f3e(0x269)][_0x471f3e(0x3cd)]),_0x43556b={'scriptId':_0x2255ea,'runId':(_0x3a4561=_0x537023['searchParams']['get'](_0x471f3e(0x1b9)))!=null?_0x3a4561:'','function':_0xf20350,'unitId':_0x4fbebb[_0x471f3e(0x318)](),'argsOfFunction':JSON[_0x471f3e(0x3b3)](_0x59fd4c),'invokeId':(_0x3fd3a8=_0x554315[_0x471f3e(0x403)])!=null?_0x3fd3a8:'','executionId':(_0x196792=_0x554315[_0x471f3e(0x29c)])!=null?_0x196792:''};try{const _0x5506d3=await this[_0x471f3e(0x210)][_0x471f3e(0x280)](_0x4b7617,{'body':_0x43556b});return _0x5506d3[_0x471f3e(0x3ae)][_0x471f3e(0x372)]&&_0x5506d3[_0x471f3e(0x3ae)][_0x471f3e(0x372)][_0x471f3e(0x1af)]!==_0x2e13d2['OK']?'Failed':_0x5506d3[_0x471f3e(0x3ae)][_0x471f3e(0x40b)];}catch{return _0x471f3e(0x31b);}}},_0x2f60c5[_0x2273bc(0x395)]=_0x5831f4([_0x386288(0x0,_0x45454d['IUniverInstanceService']),_0x386288(0x1,_0x45454d[_0x2273bc(0x37f)](_0x4cb81d[_0x2273bc(0x232)])),_0x386288(0x2,_0x45454d[_0x2273bc(0x3b8)])],_0x2f60c5[_0x2273bc(0x395)]),_0x2f60c5[_0x2273bc(0x2e0)]=_0x3b257c,_0x2f60c5[_0x2273bc(0x2fe)]=_0x3f856f,_0x2f60c5['SheetCollabCursorShape']=_0x1ce661,_0x2f60c5[_0x2273bc(0x36c)]=_0x34ffca,_0x2f60c5['WebURLService']=_0x2cdbea,Object['defineProperty'](_0x2f60c5,Symbol['toStringTag'],{'value':_0x2273bc(0x27d)});}));function _0x2785(_0x1ee551,_0x7c5cb2){const _0x375cfc=_0x375c();return _0x2785=function(_0x2785fe,_0x1fab15){_0x2785fe=_0x2785fe-0x19a;let _0x176f19=_0x375cfc[_0x2785fe];return _0x176f19;},_0x2785(_0x1ee551,_0x7c5cb2);}function _0x375c(){const _0x1d173d=['react','UniverCore','onCommandExecuted','row','amd','@univerjs/ui','_transformUndoRedoStack','LOGIN_FAILED','Disposable','skeleton','@univerjs/docs','5479416iZgobi','text','_updateLocalCursor','COLORS','_saveCache','_collaborationUIEventService','Optional','_roomMembers$','whenReady','_name','...','fillStyle','lineTo','29GTlrQh','rgba(255,\x20255,\x20255,\x200.01)','_online','WebBrowserSingleActiveUnitService','createIdentifier','red.300','disposeWithMe','_setupSubUnitSync','className','error','getStateCache','YUUMI_AI_RUN_FAILED','MUTATION','CommandType','WebSocketService','handleInsertRangeMoveRight','size','useDependency','_eventUnsubscribe','_cursorInfo$','svg','addClipboardHook','Inject','LOCAL_CACHE_INTERVAL','getOffsetConfig','_refRangeService','_univerInstanceService','EMAIL_HAS_BEEN_BOUND','has','handleInsertRow','isArray','ThemeService','/run/','collaboration-client.offline-data-not-saved','_anchor','_imageIoService','_collabSessionService','getTypeOfUnitAdded$','exports','_assignedColors','CollaborationController','_collabCursorState$','blue.400','PENDING','RemoteUniscriptService','use','idSuffix','SetSelectionsOperation','params','getRangePointData','UniverCollaborationClientPlugin','getMergeData','getCollabEntity$','RichTextEditingMutation','asObservable','saveOfflineData','0\x200\x2016\x2016','unit','unshift','_selfUnitIDs','YUUMI_NO_CUBOID_FOR_QUESTION','APPLY_REJECT','getMember','getUndoRedoMutationParamsCache','OFFLINE','addObjects','rxjs','getLocalCacheKey','Tooltip','body','@univerjs/design','generateRandomId','_hovered','Injector','stringify','getCurrentSelections','dispose','YUUMI_UNABLE_LOAD_URL','_context','IConfigService','split','IDocClipboardService','UnitStatus','getUniverSheetInstance','min','data','_createSocketURL','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','LICENSE_IMPORT_SIZE_EXCEEDED','translate(.97)','onPointerMove$','subUnitId','UniverIcon','registerBeforeClose','_startSheetCollabCursor','range','measureText','_injector','useRef','_heartbeatTimer','href','YUUMI_ALL_TABLES_IS_INVALID','roomMembers','ICommandService','DependentOn','getFocusedUnit','fromEventSubject','children','origin','undoState','endRow','mapTo','EffectRefRangId','_renderManagerService','init','currentColor','show','clearTimeout','sheetID','setStateCache','getCoordByCell','TEXT','_updateURLWithCurrentState','DocCollaborationEntity','YUUMI_ASYNCIO_CANCELLED','runRefRangeMutations','collabCursorState$','current','_localeService','includes','_removeClearOtherTimer','handleDeleteRangeMoveUp','CollaborationDataLoaderController','imageSourceType','BrowserCollaborationSocketService','jsxs','_range','round','_colorIndex','useCallback','getValue','NOT_FOUND','DesktopCollaborationStatusDisplayController','_memberService','SetTextSelectionsOperation','SYNCED','ColorKit','_uiPartsService','INVITE_CODE_HAS_BEEN_UES','_revisionService','LICENSE_MAX_UNITS_EXCEEDED','Tools','send','LOCAL_CACHE_INTERVAL_KEY','invokeId','isActive','_collabCursorController','collab-text-anchor-','_ensureSubject','175yhaHPB','MessageType','font','result','saveImage','UniverSheets','_color','collaboration.closeRoom','application/json','_entityInit$','onPointerEnter$','collab-client.tooltip.reconnect','CollaborationUIEventId','ILocalCacheService','defIds','complete','history','registerRefRange','DocSelectionManagerService','_scheduleClearOtherTimer','ranges','_removeCollabCursors','UNIVER_SHEET','@univerjs/network','getTypeOfUnitDisposed$','_onCursorUpdate','_getSheetObject','getSheetObject','OTHER_CLIENTS_EDITING','ONLINE','CHANGESET_REVISION_CONFILICT','getViewport','_cachedData','getCurrentUnitForType','UniverDocsUi','_handleLeaveEvent','DataLoaderService','RxDisposable','INVALID_INVITE_CODE','startsWith','DocIMEInputManagerService','_toggleOnline','ITransformService','collabStatus.syncing','YUUMI_TABLE_NOT_FOUND_IN_UNIT','@univerjs/core','3814869Gipcln','path','Subject','toString','getOwnPropertyDescriptor','CollaborationEvent','delete','unsubscribe','HEADER_MENU','UniverProCollaboration','IRenderManagerService','uni.network.url-service','currentTheme$','CollaborationSessionService','SNAPSHOT_HAS_BEEN_REMOVED','_logService','on-line-icon','CONNECTOR_DATA_TOO_LARGE','getCurrent','InsertRangeMoveDownCommandId','getItem','onStarting','_refreshCollabCursors','UniverEngineFormula','_doCreateSocket','UniverSheetsUi','dispose$','_hover','code','onLocalMutation','IUniverInstanceService','startColumn','evenodd','eventID','UniverProCollaborationClientUi','_initDependencies','CollaborationSocketService','loadOfflineData','runId','LocaleService','roomMembers$','RegularPolygon','UniverCollaborationClientUIPlugin','getSheetId','black','toDisposable','_commandService','_toggleOffline','deepClone','RevisionService','addHandlerCallback','subscribeEvent','handleIRemoveRow','distinctUntilChanged','_updateCollabCursors','selections','length','on-line-icon_clip0_910_349','findNodePositionByCharIndex','hide','propertyIsEnumerable','all','displayName','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','UniverProCollaborationClient','clearInterval','urlChange$','[CollaborationDataLoaderController]','_messageService','#FFF','JOIN_ROOM_FAILED','_backgroundColor','registerDependencies','_registerDependencies','url(#off-line-icon_clip0_910_343)','random','throttleTime','Workbook','RemoveColCommandId','UniverDrawing','http://www.w3.org/2000/svg','wsSessionTicketUrl','jiqing.500','getSkeleton','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','getCellPositionByOffset','COMPLETION_FINISHED','some','_initCommandExecutedListener','requireSession','add','get','popstate','rxjs/operators','loadUnit','runOnServer','bottom','APPLY_REVISION_CONFILICT','MoveRangeCommandId','clsx','AWAITING','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_scene','ENSURE_SNAPSHOT_EXECUTION','SetDocZoomRatioOperation','pluginName','fillText','IMessageService','@univerjs/engine-render','function','Unknown\x20user','SNAPSHOT_INVALID_SNAPSHOT','_themeService','clipPath','getAncestorScale','RemoveRowCommandId','react/jsx-runtime','removeParam','column','addEventListener','toRgbString','selection','cursorInfo$','_disabled','_httpService','UNDEFINED','green.600','forEach','M0\x200H16V16H0z','FromArray','BuiltInUIPart','transformStateCache','getUnitStatus$','debug','APPLY_PERMISSION_DENIED','LICENSE_DISTRO_REJECTED','APPLY_DUPLICATED','collab-rect-range-','colorChannel1','getDocRanges','trim','setParam','endColumn','_config','fromEvent','_cursors','_saveTaskMap','sessionTicket','ISocketService','off-line-icon','ALREADY_EXISTS','_urlService','getOwnPropertySymbols','fillRule','with','InsertRowCommandId','search','512072IXgPQI','HTTPService','permission.content','replace','_docTransformSelectionsService','MOBILE_HAS_BEEN_BOUND','_colorAssignService','executeCommand','_lastPointer','_onCursorDelete','transformByState','Warning','2236810lvDACR','transform','startRow','call','event$','collabStatus.synced','INotificationService','IUIPartsService','_scheduleHeartbeat','_textBubble','assignAColorForMemberID','m2Prime','getCollabCursors$','save','getColorFromTheme','setShapeProps','onMouseMove','textRanges','IBeforeCloseService','createInstance','setItem','assign','INVITE_CODE_REQUIRED','ILogService','replaceDocRanges','Rect','_localCacheService','_docTransformIMECacheService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','APPLY_NON_SEQUENTIAL_REVISION','_getScale','sessionStatus$','@univerjs/sheets-ui','_drawRectRange','redoState','_handleEvent','_send','pipe','sheetId','reconnect','AWAITING_WITH_PENDING','url(#on-line-icon_clip0_910_349)','prototype','TOO_MANY_REQUESTS','location','_initResize','yellow.400','handleMoveRange','setTimeout','_registerRenderDependencies','collab-text-range-','getRenderById','univer-flex\x20univer-items-center','SheetSkeletonManagerService','push','_unitOnClients','switchMap','collabStatus.conflict','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','indexOf','_anchorDot','icon','UNIVER_DOC','Module','off-line-icon_clip0_910_343','_init','post','mask','_handleHeartbeatEvent','m1Prime','_initStatusListener','Rectangle','attrs','DOC_RANGE_TYPE','_drawTextRange','_configService','extend','@univerjs/rpc','_entities','@univerjs-pro/collaboration','type','handleDeleteRangeMoveLeft','disposeUnit','OTHER_CLIENT_EDITING','_status$','_sheetSkeletonManagerService','MemberService','CLOSE_ROOM','hasOwnProperty','fill','ISnapshotServerService','makeDirty','UNAUTHENTICATED','_drawAnchor','executionId','debounce','SUBMIT_CHANGESET_TIMEOUT','max','white','isTransformMutationsWithChangesetSuccess','mergeOverrideWithDependencies','collabStatus.notCollab','SetWorksheetActivateCommand','restore','xlink:href','createElement','height','NodePositionConvertToRectRange','_scheduleSaving','triggerDblclick','LICENSE_EXPORT_SIZE_EXCEEDED','NOT_COLLAB','OffLineIcon','INTERNAL_ERROR','getActiveRange','storage','defs','_initStatusComponent','_docClipboardService','doc.mutation.rich-text-editing','collabStatus.fetchMiss','subscribe','UniverEngineRender','UNRECOGNIZED','Vector2','permission.title','url(#$1','transformSelections','resize','handleIRemoveCol','DeleteRangeMoveUpCommandId','CONFLICT','_docSyncEditingCollabCursorService','addObject','handleInsertCol','object','docStateChange$','TEXT_RANGE_LAYER_INDEX','name','170742zuDZNY','getSheetBySheetId','unitID','transformMutation','USER_NOT_INVITED_CODE','drawWith','jsx','getConfig','none','univerjs-icon\x20univerjs-icon-','subunit','mutations','then','DocStateChangeManagerService','NodePositionConvertToCursor','getCurrentRevOfUnit','_docStateChangeManagerService','UniverDesign','values','_getMergeRange','collaboration-client-ui.config','_hideTimer','color','CollaborationStatusDisplay','_initEntityListener','@univerjs/engine-formula','entries','BehaviorSubject','collaboration.single-unit.warning','currentSkeleton$','@univerjs-pro/collaboration-client','set','_unitStatus','getMemberID','ticket','focused$','shareReplay','defineProperty','map','getRelativeToViewportCoord','getActiveSheet','source','takeUntil','tag','entityInit$','_shapes','registerRenderModule','setUndoRedoMutationParamsCache','cursorInfo','setAlpha','width','transformRemoteChangeset','_id','IURLService','memberID','_render','UniverDocs','disableLocalCache','moveTo','_startDocCollabCursor','_collaborationController','newValue','UniverInstanceType','_instanceService','_dataLoaderService','_transformHistoryAndStateStack','2282908MHSwJL','transformMutationsWithChangeset','_getSessionTicket','key','WECHAT_HAS_BEEN_BOUND','arc','concat','DEFAULT_WS_SESSION_TICKET_URL','10554jHOVco','_transformPreviousActiveRange','_onRefRangeChange','transformIMECache','RECT','getUnitId','deserializeRangeWithSheet','top','Failed','searchParams','syncEditingCollabCursor','isTransformMutationFailure','YUUMI_SUBSCRIPTION_NOT_FOUND','from','_handleHover','_docTransformStateCacheService','FETCH_MISS','_docSkeletonManagerService','Shape','string','PY_RUNTIME_SCRIPT_ERROR','getColor','Error','React','univer-flex\x20univer-mr-2\x20univer-text-xl','UniverUi','session.connection-failed','session.collaboration-timeout','_labelPosition','getParam','unload','SessionStatus','_transformService','filter','_clearOtherTimers','CollaborationStatus','_beforeCloseService','unitId','_docSkeleton','session.will-retry','_session','next','hovered','actions','_draw','merge','PERMISSION_DENIED','_cursorShapes','USERS_LEAVE','InsertColCommandId','InsertRangeMoveRightCommandId','NO_OTHER_CLIENTS_EDITING','_cursor','1em','getUnhiddenWorksheets','YUUMI_URL_COL_OUT_OF_RANGE','@univerjs/docs-ui','UPDATE_CURSOR','override','_localStorageService','_updateSubUnitFromURLParams','_initEvent'];_0x375c=function(){return _0x1d173d;};return _0x375c();}