@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250424-9e348ed → 0.6.10-experimental.20250427-173dc06

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 _0x4bff(){const _0x1ffcbd=['transformIMECache','toRgbString','blue400','permission.content','9571962GwAyYT','UniverEngineFormula','USER_NOT_INVITED_CODE','APPLY_REJECT','debug','DocIMEInputManagerService','getMergeData','PERMISSION_DENIED','transformMutationsWithChangeset','UniverDrawing','merge','_localeService','Tools','_disabled','FromArray','CONNECTOR_DATA_TOO_LARGE','useDependency','handleInsertRangeMoveDown','next','origin','icon','INVALID_INVITE_CODE','jsxs','getSheetId','_transformService','createIdentifier','hasOwnProperty','getCoordByCell','getUnitId','HTTPService','url(#$1','row','SetTextSelectionsOperation','fillStyle','ILocalStorageService','@univerjs/docs-ui','_getSaveTimeout','_onCursorUpdate','getSkeleton','toString','PENDING','_handleEvent','_handleHover','replace','body','_draw','294281UKcuWT','_updateCollabCursors','SUBMIT_CHANGESET_TIMEOUT','fill','getValue','split','LocaleService','unit','parse','addClipboardHook','session.collaboration-timeout','takeUntil','setActiveRange','_init','use','propertyIsEnumerable','setAlpha','purple300','session.connection-failed','location','DataLoaderService','Module','mergeOverrideWithDependencies','RxDisposable','YUUMI_NO_CUBOID_FOR_QUESTION','Shape','rxjs','_labelPosition','_drawAnchor','jiqing500','getItem','unshift','IUniverInstanceService','...','getRangePointData','_collaborationUIEventService','DesktopCollaborationStatusDisplayController','_clearOtherTimers','UNIVER_SHEET','_collabCursorController','useRef','collabStatus.offline','YUUMI_SUBSCRIPTION_NOT_FOUND','loadUnit','findNodePositionByCharIndex','labelPosition','pushState','_updateLocalCursor','_logService','_handleHeartbeatEvent','_themeService','event$','application/json','off-line-single_clip0_910_343','_renderManagerService','HEADER_MENU','code','_initStatusComponent','collabStatus.notCollab','switchMap','doc.mutation.rich-text-editing','SetSelectionsOperation','getActiveRange','round','_scheduleClearOtherTimer','_refRangeService','values','colorChannel1','ILocalCacheService','_shapes','_univerInstanceService','NodePositionConvertToCursor','override','dispose$','urlChange$','SheetSkeletonManagerService','_ensureSubject','_anchor','_configService','_docSkeletonManagerService','setShapeProps','exhaustSavingTask','_removeClearOtherTimer','FETCH_MISS','hovered','LOCAL_CACHE_INTERVAL_KEY','show','_localCacheService','mapTo','displayName','RemoteUniscriptService','collabStatus.conflict','_drawTextRange','undoState','_hideTimer','univer-online-status-title','INTERNAL_ERROR','Optional','onPointerLeave$','_roomMembers$','sessionStatus$','hide','CONFLICT','CommandType','eventID','Inject','column','_onRefRangeChange','endRow','runRefRangeMutations','CollaborationDataLoaderController','resize','_colorAssignService','UnitStatus','assign','UniverSheetsUi','INVITE_CODE_ALREADY_BOUND','_transformHistoryAndStateStack','CollaborationStatusDisplay','BuiltInUIPart','touchDependencies','setInterval','svg','_scheduleSaving','params','Failed','_onCursorDelete','UniverDesign','_docClipboardService','deepClone','jsx','@univerjs/engine-render','_docTransformSelectionsService','registerDependencies','RemoveRowCommandId','clearTimeout','defIds','@univerjs/ui','_cursorInfo$','Injector','getColor','mutations','delete','_initResize','Rect','IUIPartsService','getLocalCacheKey','_setupSubUnitSync','unload','Warning','BrowserCollaborationSocketService','@univerjs/core','getTypeOfUnitAdded$','_createSocketURL','_getMergeRange','_initEvent','redoState','IMessageService','_backgroundColor','_document','_saveCache','@univerjs/engine-formula','UniverCollaborationClientPlugin','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','createInstance','then','Vector2','makeDirty','apply','_docSyncEditingCollabCursorService','collab-client.tooltip.reconnect','collab-rect-range-','SOCKET_FAILED','defs','getRenderById','Plugin','TOO_MANY_REQUESTS','UniverSheets','clearInterval','transformRemoteChangeset','UniverNetwork','_refreshCollabCursors','runOnServer','saveTaskMap','React','registerRenderModule','transformStateCache','M0\x200H16V16H0z','_localStorageService','SNAPSHOT_HAS_BEEN_REMOVED','SetDocZoomRatioOperation','addHandlerCallback','getCollabCursors$','_dataLoaderService','replaceState','YUUMI_URL_COL_OUT_OF_RANGE','IConfigService','WECHAT_HAS_BEEN_BOUND','transformMutation','@univerjs/drawing','_color','react/jsx-runtime','forEach','getConfig','ticket','setUndoRedoMutationParamsCache','add','LICENSE_DISTRO_REJECTED','YUUMI_RATE_OVER_LIMIT','AWAITING_WITH_PENDING','stringify','_revisionService','selections','pipe','selection','addEventListener','_eventUnsubscribe','setStateCache','handleIRemoveCol','UniverProCollaborationClient','data','@univerjs/sheets','sessionTicket','removeParam','textRanges','startsWith','entries','object','_collabSessionService','getCurrentUnitForType','subunit','MessageType','pluginName','black','online','RefRangeService','on-line-single_clip0_910_349','tag','handleMoveRange','debounce','save','ICommandService','VIEW_MAIN','univer-online-status-icon','gold400','has','[RemoteUniscriptService]:\x20no\x20focused\x20unit','disposeWithMe','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','_startDocCollabCursor','ENSURE_SNAPSHOT_EXECUTION','handleInsertRangeMoveRight','unitID','roomMembers','_hover','setItem','univer-online-status','_getSessionTicket','univer-offline','INVALID_ARGUMENT','LICENSE_IMPORT_SIZE_EXCEEDED','getCellPositionByOffset','string','_handleJoinEvent','SessionStatus','_range','collab-text-anchor-','_getScale','603uAjYoA','runId','translate(.97)','concat','_initStatusListener','DisposableCollection','div','WebSocketService','handleInsertRow','off-line-single','onMouseMove','_online','INotificationService','getStateCache','idSuffix','INVITE_CODE_REQUIRED','complete','currentTheme$','_colorIndex','_registerRenderDependencies','cursorInfo$','_collaborationController','UNIVER_DOC','moveTo','UniverInstanceType','getMemberID','MOBILE_HAS_BEEN_BOUND','editingUnit','getCurrentSelections','getFocusedUnit','collab-text-range-','init','_getAnchorBounding','_unitOnClients','YUUMI_ASYNCIO_CANCELLED','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','InsertRowCommandId','_initEntityListener','subUnitId','_drawRectRange','OnLineSingle','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','fillText','font','handleIRemoveRow','function','replaceDocRanges','_messageService','children','sheetID','drawWith','_initCommandExecutedListener','SHEET_VIEWPORT_KEY','createSocket','COMPLETION_FINISHED','getOffsetConfig','_transformUndoRedoStack','isArray','contains','NOT_COLLAB','_notificationService','_docTransformIMECacheService','onRendered','getVpScrollXYInfoByPosToVp','_commandService','getOwnPropertyDescriptor','getCurrentRevOfUnit','lineTo','onlineStatus','backgroundColor','ThemeService','CollaborationUIEventId','_selfUnitIDs','_lastPointer','offline','fromEvent','toDisposable','univer-online','_id','roomMembers$','3012olFdDY','disposeUnit','SYNCED','evenodd','_docTransformStateCacheService','_sheetSkeletonManagerService','_collabCursorState$','top','OFFLINE','WebBrowserSingleActiveUnitService','ILogService','_cursors','onTransformChange$','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getParam','390283mrZBqF','getUndoRedoMutationParamsCache','ITransformService','getSheetBySheetId','addObjects','UNAUTHENTICATED','_status$','OffLineSingle','UPDATE_CURSOR','IRenderManagerService','ALREADY_EXISTS','generateRandomId','size','USERS_LEAVE','UNDEFINED','UniverIcon','deserializeRangeWithSheet','serializeRangeWithSheet','@univerjs/sheets-ui','on-line-single','handleDeleteRangeMoveUp','NO_OTHER_CLIENTS_EDITING','DocSelectionManagerService','executeCommand','17730jROoat','_send','isTransformMutationFailure','@univerjs/rpc','beginPath','saveOfflineData','loadOfflineData','range','IImageIoService','1em','send','clipPath','combineLatest','path','AWAITING','MoveRangeCommandId','CollaborationUIEventService','@univerjs-pro/collaboration','registerComponent','UniverDocsUi','_hovered','popstate','fillRule','dispose','m2Prime','skeleton','@univerjs/network','univerjs-icon\x20univerjs-icon-','7473123PtJmAV','type','transform','_handleLeaveEvent','8KdvWAw','forwardRef','operators','_config','_setupBeforeClosingHandler','disableLocalCache','[CollaborationDataLoaderController]','DocSkeletonManagerService','_entityInit$','_unitStatus','filter','ACTIVE_UNIT_EVENT_CHANNEL','assignAColorForMemberID','IURLService','actions','_initDependencies','startColumn','setTimeout','handleDeleteRangeMoveLeft','_toggleOffline','_getSheetObject','Rectangle','_removeCollabCursors','none','6077770TNFTYf','LICENSE_EXPORT_SIZE_EXCEEDED','_instanceService','SNAPSHOT_INVALID_SNAPSHOT','_cursorShapes','5cVeosR','cursorInfo','CollaborationStatus','collaboration.closeRoom','unsubscribe','saveImage','getCollabEntity$','from','syncEditingCollabCursor','Unknown\x20user','_syncEditingCollabCursorService','red300','DocStateChangeManagerService','height','_toggleOnline','attrs','_registerDependencies','TEXT','getDocRanges','#fff','requireSession','updateOfflineData','LOCAL_CACHE_INTERVAL','addObject','with','_anchorDot','_scene','onLocalMutation','_beforeCloseService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','newValue','collaboration.single-unit.warning','onCommandExecuted','session.will-retry','extend','_docSkeleton','RECT','DocCollaborationEntity','_transformPreviousActiveRange','verdancy600','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','UNRECOGNIZED','SheetsSelectionsService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_assignedColors','_session','UniverProCollaboration','_uiPartsService','color','arc','@univerjs-pro/collaboration-client','transformSelections','JOIN_ROOM_FAILED','map','name','_saveTaskMap','get','_updateSubUnitFromURLParams','#FFF','currentColor','restore','ranges','collabCursorState$','isTransformMutationsWithChangesetSuccess','max','asObservable','_memberService','ONLINE','0\x200\x2017\x2016','_cachedData','22WGcFBO','_context','RegularPolygon','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','text','trim','mask','wsSessionTicketUrl','url(#on-line-single_clip0_910_349)','substring','throttleTime','history','APPLY_DUPLICATED','length','isActive','UniverCollaborationClientUIPlugin','_docStateChangeManagerService','createElement','SetWorksheetActivateCommand','YUUMI_UNABLE_LOAD_URL','all','_cursor','ColorKit','push','UniverProCollaborationClientUi','reconnect','APPLY_NON_SEQUENTIAL_REVISION','handleInsertCol','subscribeEvent','docStateChange$','DEFAULT_WS_SESSION_TICKET_URL','storage','getUniverSheetInstance','includes','COLORS','searchParams','defineProperty','search','executionId','xlink:href','InsertRangeMoveDownCommandId','OTHER_CLIENTS_EDITING','4120aGykSK','LICENSE_MAX_UNITS_EXCEEDED','Tooltip','_scheduleHeartbeat','_startSheetCollabCursor','_urlService','SOCKET_FAILED_RETRY','univer-flex\x20univer-items-center','LOGIN_FAILED','Workbook','_injector','_name','EffectRefRangId','CLOSE_ROOM','_httpService','BehaviorSubject','CollaborationController','indexOf','getAncestorScale','Disposable','rxjs/operators','bottom','isEditing','react','0\x200\x2016\x2016','CollaborationSocketService','getViewport','subscribe','min','CHANGESET_REVISION_CONFILICT','APPLY_REVISION_CONFILICT','call','PY_RUNTIME_SCRIPT_ERROR','setParam','OTHER_CLIENT_EDITING','IDocClipboardService','sheetId','result','flatMap','measureText','key','unitId','registerRefRange','onPointerMove$','getUnhiddenWorksheets','prototype','TEXT_RANGE_LAYER_INDEX','@univerjs/design','m1Prime','Error','_heartbeatTimer','error','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','width','find','NOT_FOUND','_updateURLWithCurrentState','getRelativeToViewportCoord','RichTextEditingMutation','whenReady','engine','_render','connectInjector','MUTATION','current','_entities','_textBubble','DependentOn','@univerjs/docs','random','href','imageSourceType','DOC_RANGE_TYPE','getSheetObject','post','collabStatus.fetchMiss','source','set','className','getActiveSheet','clsx','29644hZzeJX','fromEventSubject','symbol','entityInit$','setConfig','CollaborationEvent','onStarting'];_0x4bff=function(){return _0x1ffcbd;};return _0x4bff();}function _0x34df(_0x5e7399,_0x404f9f){const _0x4bffaf=_0x4bff();return _0x34df=function(_0x34df1e,_0x3f9193){_0x34df1e=_0x34df1e-0x14f;let _0x348ad9=_0x4bffaf[_0x34df1e];return _0x348ad9;},_0x34df(_0x5e7399,_0x404f9f);}(function(_0x9e89d9,_0x310390){const _0x2a7dac=_0x34df,_0x4cdada=_0x9e89d9();while(!![]){try{const _0x3c84a9=parseInt(_0x2a7dac(0x3b8))/0x1*(-parseInt(_0x2a7dac(0x3f0))/0x2)+-parseInt(_0x2a7dac(0x359))/0x3*(parseInt(_0x2a7dac(0x214))/0x4)+parseInt(_0x2a7dac(0x153))/0x5*(parseInt(_0x2a7dac(0x21f))/0x6)+-parseInt(_0x2a7dac(0x3ec))/0x7+-parseInt(_0x2a7dac(0x1c3))/0x8*(parseInt(_0x2a7dac(0x3d0))/0x9)+-parseInt(_0x2a7dac(0x408))/0xa*(parseInt(_0x2a7dac(0x199))/0xb)+-parseInt(_0x2a7dac(0x3a9))/0xc*(-parseInt(_0x2a7dac(0x24d))/0xd);if(_0x3c84a9===_0x310390)break;else _0x4cdada['push'](_0x4cdada['shift']());}catch(_0x21af2c){_0x4cdada['push'](_0x4cdada['shift']());}}}(_0x4bff,0xe2c0a),function(_0x28ae58,_0x3f00d5){const _0x377bff=_0x34df;typeof exports==_0x377bff(0x330)&&typeof module<'u'?_0x3f00d5(exports,require(_0x377bff(0x185)),require(_0x377bff(0x2e4)),require(_0x377bff(0x2d0)),require(_0x377bff(0x3ea)),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require(_0x377bff(0x267)),require(_0x377bff(0x207)),require('@univerjs-pro/collaboration'),require(_0x377bff(0x2ee)),require(_0x377bff(0x32a)),require(_0x377bff(0x1d7)),require(_0x377bff(0x3ca)),require(_0x377bff(0x316)),require(_0x377bff(0x2d6)),require(_0x377bff(0x1f2)),require(_0x377bff(0x1da)),require('@univerjs/rpc')):typeof define==_0x377bff(0x386)&&define['amd']?define(['exports',_0x377bff(0x185),'@univerjs/core',_0x377bff(0x2d0),_0x377bff(0x3ea),_0x377bff(0x242),_0x377bff(0x314),_0x377bff(0x267),_0x377bff(0x207),_0x377bff(0x3e1),_0x377bff(0x2ee),_0x377bff(0x32a),_0x377bff(0x1d7),_0x377bff(0x3ca),_0x377bff(0x316),_0x377bff(0x2d6),_0x377bff(0x1f2),_0x377bff(0x1da),_0x377bff(0x3d3)],_0x3f00d5):(_0x28ae58=typeof globalThis<'u'?globalThis:_0x28ae58||self,_0x3f00d5(_0x28ae58[_0x377bff(0x1b1)]={},_0x28ae58[_0x377bff(0x328)],_0x28ae58['UniverCore'],_0x28ae58['UniverEngineRender'],_0x28ae58[_0x377bff(0x301)],_0x28ae58[_0x377bff(0x3e3)],_0x28ae58[_0x377bff(0x228)],_0x28ae58[_0x377bff(0x267)],_0x28ae58['UniverDocs'],_0x28ae58[_0x377bff(0x181)],_0x28ae58[_0x377bff(0x220)],_0x28ae58[_0x377bff(0x2fe)],_0x28ae58['rxjs'][_0x377bff(0x3f2)],_0x28ae58[_0x377bff(0x2c0)],_0x28ae58['React'],_0x28ae58['UniverUi'],_0x28ae58[_0x377bff(0x2cc)],_0x28ae58[_0x377bff(0x305)],_0x28ae58['UniverRpc']));}(this,function(_0x5751ef,_0x532446,_0x34ef93,_0x2209eb,_0x48293c,_0x224eaf,_0x2839cb,_0x5d5b35,_0x3fedbd,_0x1ed92e,_0x391f9f,_0x3b361a,_0x23b730,_0x6f8d75,_0x40d2c5,_0x28ec01,_0x5074dc,_0x8b31d3,_0x401dab){'use strict';const _0x272080=_0x34df;var _0x5e0b64=Object[_0x272080(0x1bd)],_0x2d297f=(_0x34c781,_0x98c3b3,_0x232372)=>_0x98c3b3 in _0x34c781?_0x5e0b64(_0x34c781,_0x98c3b3,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x232372}):_0x34c781[_0x98c3b3]=_0x232372,_0x8888c3=(_0x5e489d,_0xd6e5ac,_0x4856d0)=>_0x2d297f(_0x5e489d,typeof _0xd6e5ac!=_0x272080(0x216)?_0xd6e5ac+'':_0xd6e5ac,_0x4856d0),_0x49232a=Object[_0x272080(0x39a)],_0x8ba12a=(_0x20b1b8,_0x2e91b2,_0x3943a6,_0x1a459d)=>{const _0x4076e7=_0x272080;for(var _0x273031=_0x1a459d>0x1?void 0x0:_0x1a459d?_0x49232a(_0x2e91b2,_0x3943a6):_0x2e91b2,_0x1d229d=_0x20b1b8[_0x4076e7(0x1a6)]-0x1,_0x4139e5;_0x1d229d>=0x0;_0x1d229d--)(_0x4139e5=_0x20b1b8[_0x1d229d])&&(_0x273031=_0x4139e5(_0x273031)||_0x273031);return _0x273031;},_0x1ebb63=(_0x5982a7,_0x940fa2)=>(_0x2589e3,_0x586379)=>_0x940fa2(_0x2589e3,_0x586379,_0x5982a7);let _0x1c71aa=class extends _0x34ef93[_0x272080(0x264)]{constructor(_0x4f13d7,_0x2dbebe){const _0x47560c=_0x272080;super(),this[_0x47560c(0x2cd)]=_0x4f13d7,this['_imageIoService']=_0x2dbebe,this['_init']();}[_0x272080(0x25a)](){const _0x118077=_0x272080,_0xf13840=this;this['disposeWithMe'](this['_docClipboardService'][_0x118077(0x256)]({'onBeforePasteImage':async _0x2e7567=>{const _0x3e4c7e=_0x118077,_0x565b8f=await _0xf13840['_imageIoService'][_0x3e4c7e(0x158)](_0x2e7567);return _0x565b8f?{'source':_0x565b8f[_0x3e4c7e(0x20f)],'imageSourceType':_0x565b8f[_0x3e4c7e(0x20a)]}:null;}}));}};_0x1c71aa=_0x8ba12a([_0x1ebb63(0x0,_0x224eaf[_0x272080(0x1e6)]),_0x1ebb63(0x1,_0x2839cb[_0x272080(0x3d8)])],_0x1c71aa);const _0x13f5a5=[_0x272080(0x25e),_0x272080(0x26a),_0x272080(0x17a),_0x272080(0x15e),_0x272080(0x21d),_0x272080(0x341)];class _0x2a507e extends _0x34ef93[_0x272080(0x1d6)]{constructor(){const _0x17d5bb=_0x272080;super(...arguments),_0x8888c3(this,_0x17d5bb(0x17f),new Map()),_0x8888c3(this,_0x17d5bb(0x36b),0x0);}[_0x272080(0x3fc)](_0x415c85){const _0x3a871a=_0x272080;if(this[_0x3a871a(0x17f)][_0x3a871a(0x342)](_0x415c85))return this[_0x3a871a(0x17f)][_0x3a871a(0x18b)](_0x415c85);const _0x2a51e7=_0x13f5a5[this[_0x3a871a(0x36b)]];return this[_0x3a871a(0x36b)]=(this['_colorIndex']+0x1)%_0x13f5a5['length'],this['_assignedColors']['set'](_0x415c85,_0x2a51e7),_0x2a51e7;}}function _0x227ff0(_0x1b1345){let _0x1ccf8d='';for(const _0x239c42 of _0x1b1345){const {startOffset:_0x4ce161,endOffset:_0x2d8747,isActive:_0x1d1069,rangeType:_0x25df98,segmentId:_0x45df55,segmentPage:_0x1b2af6}=_0x239c42;_0x1ccf8d['length']&&(_0x1ccf8d+=','),_0x1ccf8d+=_0x4ce161+':'+_0x2d8747+':'+(_0x1d1069?'1':'0')+':'+_0x25df98+':'+_0x45df55+':'+_0x1b2af6;}return _0x1ccf8d;}function _0x113c11(_0x548d94){const _0x9117f3=_0x272080,_0x33308d=_0x548d94['split'](','),_0x569e74=[];for(const _0x33a7e7 of _0x33308d){const [_0x1dd89b,_0x476b9c,_0x2d1d40,_0x4fbd4a,_0x42aba6,_0x17fb94]=_0x33a7e7[_0x9117f3(0x252)](':');_0x569e74[_0x9117f3(0x1b0)]({'startOffset':Number(_0x1dd89b),'endOffset':Number(_0x476b9c),'collapsed':_0x1dd89b===_0x476b9c,'isActive':_0x2d1d40==='1','rangeType':_0x4fbd4a===_0x34ef93[_0x9117f3(0x20b)][_0x9117f3(0x164)]?_0x34ef93['DOC_RANGE_TYPE']['TEXT']:_0x34ef93[_0x9117f3(0x20b)]['RECT'],'segmentId':typeof _0x42aba6==_0x9117f3(0x353)?String(_0x42aba6):'','segmentPage':Number(_0x17fb94!=null?_0x17fb94:-0x1)});}return _0x569e74['some'](_0x3e79d1=>_0x3e79d1[_0x9117f3(0x1a7)])||(_0x569e74[0x0][_0x9117f3(0x1a7)]=!0x0),_0x569e74;}class _0x269c04 extends _0x34ef93[_0x272080(0x264)]{constructor(){const _0x6336fb=_0x272080;super(...arguments),_0x8888c3(this,_0x6336fb(0x3af),new _0x5d5b35[(_0x6336fb(0x1d2))](null)),_0x8888c3(this,'collabCursorState$',this['_collabCursorState$'][_0x6336fb(0x194)]());}[_0x272080(0x15b)](_0x53426a){const _0x2a2092=_0x272080,{unitID:_0x2c8cdc,memberID:_0x31080d,textRanges:_0x30245b}=_0x53426a,_0x39e1f6=_0x227ff0(_0x30245b);if(_0x39e1f6==='')return;const _0x445bee={'unitID':_0x2c8cdc,'memberID':_0x31080d,'selection':_0x39e1f6};this[_0x2a2092(0x3af)][_0x2a2092(0x231)](_0x445bee);}}var _0x25712b=Object[_0x272080(0x39a)],_0x5db198=(_0x43ff29,_0x464102,_0x21cf57,_0x11c161)=>{const _0x500768=_0x272080;for(var _0x1ba781=_0x11c161>0x1?void 0x0:_0x11c161?_0x25712b(_0x464102,_0x21cf57):_0x464102,_0x127efe=_0x43ff29[_0x500768(0x1a6)]-0x1,_0x6338ec;_0x127efe>=0x0;_0x127efe--)(_0x6338ec=_0x43ff29[_0x127efe])&&(_0x1ba781=_0x6338ec(_0x1ba781)||_0x1ba781);return _0x1ba781;},_0x126f0c=(_0x2b48ea,_0x5017c)=>(_0x1dcfba,_0x31c766)=>_0x5017c(_0x1dcfba,_0x31c766,_0x2b48ea);const _0x1c3eab=0x12c,_0x48ebee=0x64;let _0x39e491=class extends _0x34ef93[_0x272080(0x264)]{constructor(_0x39d608,_0x154a29,_0x58f39a,_0x2ce1ef,_0x3208dc,_0x410c2d,_0x48f718,_0x9da083,_0x11edea){const _0x4360fa=_0x272080;super(),_0x8888c3(this,_0x4360fa(0x364),!0x1),_0x8888c3(this,'_init',!0x1),_0x8888c3(this,'_cursorInfo$',new _0x5d5b35[(_0x4360fa(0x1d2))](new Map())),_0x8888c3(this,'cursorInfo$',this[_0x4360fa(0x2d7)][_0x4360fa(0x194)]()),_0x8888c3(this,_0x4360fa(0x2b0),new _0x5d5b35[(_0x4360fa(0x1d2))]([])),_0x8888c3(this,_0x4360fa(0x3a8),this[_0x4360fa(0x2b0)][_0x4360fa(0x322)](_0x5d5b35['debounceTime'](_0x1c3eab))),_0x8888c3(this,'_updateLocalCursor',_0x34ef93['debounce'](_0x4f210f=>{const _0x240fb1=_0x4360fa,_0x304eb1={'eventID':_0x1ed92e[_0x240fb1(0x219)][_0x240fb1(0x3c0)],'data':{'unitID':this[_0x240fb1(0x349)],'memberID':this['_session'][_0x240fb1(0x372)](),'selection':_0x227ff0(_0x4f210f)}};this[_0x240fb1(0x180)][_0x240fb1(0x3da)](_0x304eb1,this[_0x240fb1(0x349)]);},_0x48ebee)),(this[_0x4360fa(0x349)]=_0x39d608,this[_0x4360fa(0x180)]=_0x154a29,this[_0x4360fa(0x1cd)]=_0x58f39a,this['_colorAssignService']=_0x2ce1ef,this[_0x4360fa(0x195)]=_0x3208dc,this[_0x4360fa(0x15d)]=_0x410c2d,this[_0x4360fa(0x237)]=_0x48f718,this[_0x4360fa(0x293)]=_0x9da083,this[_0x4360fa(0x399)]=_0x11edea);}get[_0x272080(0x154)](){const _0x38aceb=_0x272080;return this[_0x38aceb(0x2d7)][_0x38aceb(0x251)]();}get[_0x272080(0x34a)](){const _0x124adc=_0x272080;return this[_0x124adc(0x2b0)][_0x124adc(0x251)]();}['dispose'](){const _0x540f45=_0x272080;super['dispose'](),this[_0x540f45(0x2d7)]['next'](new Map()),this[_0x540f45(0x2d7)][_0x540f45(0x369)](),this['_roomMembers$']['next']([]),this[_0x540f45(0x2b0)][_0x540f45(0x369)]();}[_0x272080(0x378)](){const _0x18047e=_0x272080;this[_0x18047e(0x25a)]||(this[_0x18047e(0x25a)]=!0x0,this[_0x18047e(0x180)][_0x18047e(0x2b1)][_0x18047e(0x322)](_0x5d5b35[_0x18047e(0x258)](this[_0x18047e(0x296)]))[_0x18047e(0x1de)](_0x1b3744=>{const _0x282f59=_0x18047e;_0x1b3744===_0x532446[_0x282f59(0x355)][_0x282f59(0x196)]?this['_toggleOnline']():this[_0x282f59(0x403)]();}),this[_0x18047e(0x180)]['event$'][_0x18047e(0x322)](_0x5d5b35['takeUntil'](this[_0x18047e(0x296)]))[_0x18047e(0x1de)](_0x55672d=>{const _0x312318=_0x18047e,_0x53c881=_0x55672d[_0x312318(0x2b5)];_0x53c881===_0x1ed92e[_0x312318(0x219)][_0x312318(0x3c0)]&&this[_0x312318(0x244)](_0x55672d),_0x53c881===_0x1ed92e['CollaborationEvent'][_0x312318(0x3c5)]&&this[_0x312318(0x2cb)](_0x55672d);}),this['disposeWithMe'](this[_0x18047e(0x399)][_0x18047e(0x173)](_0x39be75=>{const _0x43d1a9=_0x18047e,_0x4d14e3=_0x39be75['params'];_0x4d14e3!=null&&this[_0x43d1a9(0x364)]&&_0x39be75['id']===_0x3fedbd[_0x43d1a9(0x23f)]['id']&&_0x4d14e3[_0x43d1a9(0x1ec)]===this[_0x43d1a9(0x349)]&&_0x4d14e3[_0x43d1a9(0x1d9)]===!0x1&&_0x4d14e3[_0x43d1a9(0x190)][_0x43d1a9(0x1a6)]>0x0&&this[_0x43d1a9(0x27c)](_0x4d14e3[_0x43d1a9(0x190)]);})),this[_0x18047e(0x15d)][_0x18047e(0x191)][_0x18047e(0x322)](_0x5d5b35[_0x18047e(0x258)](this[_0x18047e(0x296)]))[_0x18047e(0x1de)](_0x5c557b=>{const _0x29179f=_0x18047e;if((_0x5c557b==null?void 0x0:_0x5c557b[_0x29179f(0x349)])!==this['unitID'])return;const _0x5ce2d5={'eventID':_0x1ed92e['CollaborationEvent'][_0x29179f(0x3c0)],'data':_0x5c557b};this['_onCursorUpdate'](_0x5ce2d5);}),this[_0x18047e(0x344)](this['_commandService']['onCommandExecuted'](_0x24a5c8=>{const _0x2589ca=_0x18047e;if(_0x24a5c8[_0x2589ca(0x2c9)]==null)return;const _0x111aac=_0x24a5c8[_0x2589ca(0x2c9)];if(_0x24a5c8['id']!==_0x3fedbd[_0x2589ca(0x1fd)]['id']||_0x111aac[_0x2589ca(0x1ec)]!==this['unitID'])return;const _0x3e4c38={'id':_0x2589ca(0x289),'params':_0x111aac},_0x5a972d=this[_0x2589ca(0x154)];for(const [_0x7f0add,_0x115a3d]of _0x5a972d){const _0x55c4f6={'id':_0x2589ca(0x289),'params':{'unitId':this[_0x2589ca(0x349)],'actions':null,'textRanges':_0x115a3d['ranges']}},_0x2f03b1=this['_transformService'][_0x2589ca(0x313)](_0x3e4c38,_0x55c4f6,!0x1);if(_0x1ed92e['isTransformMutationFailure'](_0x2f03b1))throw _0x2f03b1[_0x2589ca(0x1f6)];_0x5a972d[_0x2589ca(0x210)](_0x7f0add,{..._0x115a3d,'ranges':_0x2f03b1[_0x2589ca(0x3e8)][_0x2589ca(0x2c9)][_0x2589ca(0x32d)]});}queueMicrotask(()=>{const _0x59c6dc=_0x2589ca;this[_0x59c6dc(0x2d7)]['next'](_0x5a972d);});})));}[_0x272080(0x244)](_0x869d52){const _0x3d4350=_0x272080;var _0x2d5fa0,_0x3a6d2b;const {memberID:_0x1d789f,selection:_0x1a0be3}=_0x869d52['data'],_0x5849ff=_0x113c11(_0x1a0be3),_0x54363a=(_0x3a6d2b=(_0x2d5fa0=this[_0x3d4350(0x195)]['getMember'](this[_0x3d4350(0x349)],_0x1d789f))==null?void 0x0:_0x2d5fa0[_0x3d4350(0x189)])!=null?_0x3a6d2b:_0x3d4350(0x15c),_0x20e41d={'color':this[_0x3d4350(0x2bd)][_0x3d4350(0x3fc)](_0x1d789f),'name':_0x54363a,'ranges':_0x5849ff},_0x28dd2b=this[_0x3d4350(0x154)];_0x28dd2b[_0x3d4350(0x210)](_0x1d789f,_0x20e41d),this[_0x3d4350(0x2d7)][_0x3d4350(0x231)](_0x28dd2b);}['_onCursorDelete'](_0x43422b){const _0x3ad56c=_0x272080,{memberID:_0x1dd3a3}=_0x43422b['data'],_0x2b41d0=this['cursorInfo'];_0x2b41d0['delete'](_0x1dd3a3),this['_cursorInfo$'][_0x3ad56c(0x231)](_0x2b41d0);}[_0x272080(0x161)](){const _0x2d9c9c=_0x272080;var _0x32dd52;if(this[_0x2d9c9c(0x364)]=!0x0,((_0x32dd52=this[_0x2d9c9c(0x293)][_0x2d9c9c(0x376)]())==null?void 0x0:_0x32dd52[_0x2d9c9c(0x23b)]())!==this[_0x2d9c9c(0x349)])return;const _0x5510f9=this[_0x2d9c9c(0x1cd)][_0x2d9c9c(0x18b)](_0x3fedbd[_0x2d9c9c(0x3ce)])[_0x2d9c9c(0x165)]();Array[_0x2d9c9c(0x392)](_0x5510f9)&&_0x5510f9['length']>0x0&&this[_0x2d9c9c(0x27c)](_0x5510f9);}[_0x272080(0x403)](){const _0xc4bb25=_0x272080;this[_0xc4bb25(0x364)]=!0x1;}};_0x39e491=_0x5db198([_0x126f0c(0x2,_0x34ef93[_0x272080(0x2b6)](_0x34ef93['Injector'])),_0x126f0c(0x3,_0x34ef93[_0x272080(0x2b6)](_0x2a507e)),_0x126f0c(0x4,_0x34ef93[_0x272080(0x2b6)](_0x532446['MemberService'])),_0x126f0c(0x5,_0x34ef93[_0x272080(0x2b6)](_0x269c04)),_0x126f0c(0x6,_0x1ed92e[_0x272080(0x3ba)]),_0x126f0c(0x7,_0x34ef93[_0x272080(0x26d)]),_0x126f0c(0x8,_0x34ef93['ICommandService'])],_0x39e491);var _0x7f9d2=Object[_0x272080(0x39a)],_0xc62901=(_0x52dfd0,_0x5dfac2,_0x1999bc,_0x47a96b)=>{const _0x42c31a=_0x272080;for(var _0x40bbb4=_0x47a96b>0x1?void 0x0:_0x47a96b?_0x7f9d2(_0x5dfac2,_0x1999bc):_0x5dfac2,_0x53e772=_0x52dfd0[_0x42c31a(0x1a6)]-0x1,_0x2a865d;_0x53e772>=0x0;_0x53e772--)(_0x2a865d=_0x52dfd0[_0x53e772])&&(_0x40bbb4=_0x2a865d(_0x40bbb4)||_0x40bbb4);return _0x40bbb4;},_0x50b911=(_0x4a5a0c,_0x482f4c)=>(_0x13a9c4,_0x4d892d)=>_0x482f4c(_0x13a9c4,_0x4d892d,_0x4a5a0c);const _0x36272e=0x12c,_0x4c33d5=0x64,_0x5be2ea=()=>{let _0x12ad9d=[],_0x220068=!0x1;return _0x37fcba=>{const _0x27424f=_0x34df;_0x12ad9d[_0x27424f(0x1b0)](_0x37fcba),_0x220068||(_0x220068=!0x0,setTimeout(()=>{const _0x5237e5=_0x27424f;_0x12ad9d[_0x5237e5(0x317)](_0x4e7fb1=>_0x4e7fb1()),_0x12ad9d=[],_0x220068=!0x1;}));};};let _0x2a2d46=class extends _0x34ef93['RxDisposable']{constructor(_0x3b1a81,_0x4d5541,_0x2229c8,_0x532429,_0x463c9d,_0xdc3c6a,_0x37215f,_0x3957b0){const _0x199856=_0x272080;super(),_0x8888c3(this,_0x199856(0x364),!0x1),_0x8888c3(this,_0x199856(0x25a),!0x1),_0x8888c3(this,'_cursorInfo$',new _0x5d5b35[(_0x199856(0x1d2))](new Map())),_0x8888c3(this,_0x199856(0x36d),this[_0x199856(0x2d7)][_0x199856(0x194)]()),_0x8888c3(this,_0x199856(0x2b0),new _0x5d5b35[(_0x199856(0x1d2))]([])),_0x8888c3(this,_0x199856(0x3a8),this[_0x199856(0x2b0)][_0x199856(0x322)](_0x5d5b35['debounceTime'](_0x36272e))),_0x8888c3(this,_0x199856(0x27c),_0x34ef93[_0x199856(0x33c)]((_0x3fea91,_0x1b8d1e)=>{const _0x530260=_0x199856,_0x3e2b68={'eventID':_0x1ed92e[_0x530260(0x219)][_0x530260(0x3c0)],'data':{'unitID':this['unitID'],'memberID':this[_0x530260(0x180)][_0x530260(0x372)](),'selection':_0x391f9f[_0x530260(0x3c9)](_0x3fea91,_0x1b8d1e[_0x530260(0x3d7)])}};this[_0x530260(0x180)][_0x530260(0x3da)](_0x3e2b68,this[_0x530260(0x349)]);},_0x4c33d5)),(this[_0x199856(0x349)]=_0x3b1a81,this[_0x199856(0x180)]=_0x4d5541,this[_0x199856(0x1cd)]=_0x2229c8,this[_0x199856(0x2bd)]=_0x532429,this[_0x199856(0x195)]=_0x463c9d,this['_univerInstanceService']=_0xdc3c6a,this[_0x199856(0x399)]=_0x37215f,this[_0x199856(0x28e)]=_0x3957b0);}get[_0x272080(0x154)](){const _0x55c522=_0x272080;return this[_0x55c522(0x2d7)][_0x55c522(0x251)]();}get[_0x272080(0x34a)](){const _0x50b738=_0x272080;return this[_0x50b738(0x2b0)][_0x50b738(0x251)]();}['dispose'](){const _0xe4d48b=_0x272080;super[_0xe4d48b(0x3e7)](),this[_0xe4d48b(0x2d7)][_0xe4d48b(0x231)](new Map()),this[_0xe4d48b(0x2d7)][_0xe4d48b(0x369)](),this[_0xe4d48b(0x2b0)][_0xe4d48b(0x231)]([]),this[_0xe4d48b(0x2b0)]['complete']();}[_0x272080(0x378)](){const _0x5c9ead=_0x272080;this[_0x5c9ead(0x25a)]||(this[_0x5c9ead(0x25a)]=!0x0,this['_session'][_0x5c9ead(0x2b1)][_0x5c9ead(0x322)](_0x5d5b35[_0x5c9ead(0x258)](this[_0x5c9ead(0x296)]))[_0x5c9ead(0x1de)](_0x32e917=>{const _0x5a23f9=_0x5c9ead;_0x32e917===_0x532446['SessionStatus']['ONLINE']?this[_0x5a23f9(0x161)]():this[_0x5a23f9(0x403)]();}),this['_session'][_0x5c9ead(0x280)][_0x5c9ead(0x322)](_0x5d5b35[_0x5c9ead(0x258)](this[_0x5c9ead(0x296)]))[_0x5c9ead(0x1de)](_0x4c05ce=>{const _0x15c9ca=_0x5c9ead,_0x13378d=_0x4c05ce[_0x15c9ca(0x2b5)];_0x13378d===_0x1ed92e[_0x15c9ca(0x219)]['UPDATE_CURSOR']&&this[_0x15c9ca(0x244)](_0x4c05ce),_0x13378d===_0x1ed92e[_0x15c9ca(0x219)][_0x15c9ca(0x3c5)]&&this[_0x15c9ca(0x2cb)](_0x4c05ce);}),this[_0x5c9ead(0x2b8)](),this[_0x5c9ead(0x344)](this[_0x5c9ead(0x399)][_0x5c9ead(0x173)](_0x1d7083=>{const _0x526eed=_0x5c9ead;if(this[_0x526eed(0x364)]&&_0x1d7083['id']===_0x3b361a[_0x526eed(0x28a)]['id']&&_0x1d7083[_0x526eed(0x2c9)][_0x526eed(0x1ec)]===this[_0x526eed(0x349)]){const _0x35ed71=_0x1d7083[_0x526eed(0x2c9)];this[_0x526eed(0x27c)](_0x35ed71[_0x526eed(0x37f)],_0x35ed71[_0x526eed(0x321)][0x0]);}})));}['_onCursorUpdate'](_0x2f994c){const _0x5c47f3=_0x272080;var _0x27a8ec,_0x3cc461;const {memberID:_0x2910b4,selection:_0x2bc805}=_0x2f994c['data'],{sheetName:_0x23f9c9,range:_0x325619}=_0x391f9f[_0x5c47f3(0x3c8)](_0x2bc805),_0x4d543d={'name':(_0x3cc461=(_0x27a8ec=this['_memberService']['getMember'](this[_0x5c47f3(0x349)],_0x2910b4))==null?void 0x0:_0x27a8ec[_0x5c47f3(0x189)])!=null?_0x3cc461:'Unknown\x20user','range':this['_getMergeRange'](_0x23f9c9,_0x325619),'sheetID':_0x23f9c9,'color':this[_0x5c47f3(0x2bd)][_0x5c47f3(0x3fc)](_0x2910b4),'selection':_0x2bc805},_0x486a8e=this[_0x5c47f3(0x154)];_0x486a8e['set'](_0x2910b4,_0x4d543d),this[_0x5c47f3(0x2d7)]['next'](_0x486a8e);}['_onCursorDelete'](_0x52d6c3){const _0x4c967a=_0x272080,{memberID:_0xa6a16b}=_0x52d6c3[_0x4c967a(0x329)],_0x4772aa=this['cursorInfo'];_0x4772aa[_0x4c967a(0x2db)](_0xa6a16b),this['_cursorInfo$']['next'](_0x4772aa);}[_0x272080(0x2e7)](_0x36b8a2,_0x14504b){const _0x1d9cfb=_0x272080;var _0x40a4d2,_0x6305a6;const _0x256fa3=(_0x6305a6=(_0x40a4d2=this[_0x1d9cfb(0x293)][_0x1d9cfb(0x1b9)](this[_0x1d9cfb(0x349)]))==null?void 0x0:_0x40a4d2['getSheetBySheetId'](_0x36b8a2))==null?void 0x0:_0x6305a6[_0x1d9cfb(0x225)]();return(_0x256fa3==null?void 0x0:_0x256fa3[_0x1d9cfb(0x1f9)](_0x1c4319=>_0x34ef93[_0x1d9cfb(0x405)][_0x1d9cfb(0x393)](_0x1c4319,_0x14504b)))||_0x14504b;}['_onRefRangeChange'](){const _0xee035c=_0x272080,_0x5dbf34=new _0x34ef93[(_0xee035c(0x35e))](),_0x56302c=_0x5be2ea(),_0xfb9fbd=()=>{const _0x28693e=_0xee035c;_0x5dbf34[_0x28693e(0x3e7)]();const _0x19993d=(_0x542a5c,_0x577f09,_0x580b15,_0x16af96)=>{const _0x1a3089=_0x28693e;let _0x5b2eb9=[];switch(_0x542a5c['id']){case _0x3b361a[_0x1a3089(0x1cf)]['DeleteRangeMoveLeftCommandId']:{_0x5b2eb9=_0x3b361a[_0x1a3089(0x402)](_0x542a5c,_0x16af96);break;}case _0x3b361a[_0x1a3089(0x1cf)]['DeleteRangeMoveUpCommandId']:{_0x5b2eb9=_0x3b361a[_0x1a3089(0x3cc)](_0x542a5c,_0x16af96);break;}case _0x3b361a[_0x1a3089(0x1cf)]['InsertColCommandId']:{_0x5b2eb9=_0x3b361a[_0x1a3089(0x1b4)](_0x542a5c,_0x16af96);break;}case _0x3b361a[_0x1a3089(0x1cf)][_0x1a3089(0x1c1)]:{_0x5b2eb9=_0x3b361a[_0x1a3089(0x230)](_0x542a5c,_0x16af96);break;}case _0x3b361a[_0x1a3089(0x1cf)]['InsertRangeMoveRightCommandId']:{_0x5b2eb9=_0x3b361a[_0x1a3089(0x348)](_0x542a5c,_0x16af96);break;}case _0x3b361a[_0x1a3089(0x1cf)][_0x1a3089(0x37d)]:{_0x5b2eb9=_0x3b361a[_0x1a3089(0x361)](_0x542a5c,_0x16af96);break;}case _0x3b361a['EffectRefRangId'][_0x1a3089(0x3df)]:{_0x5b2eb9=_0x3b361a[_0x1a3089(0x33b)](_0x542a5c,_0x16af96);break;}case _0x3b361a[_0x1a3089(0x1cf)]['RemoveColCommandId']:{_0x5b2eb9=_0x3b361a[_0x1a3089(0x327)](_0x542a5c,_0x16af96);break;}case _0x3b361a[_0x1a3089(0x1cf)][_0x1a3089(0x2d3)]:{_0x5b2eb9=_0x3b361a[_0x1a3089(0x385)](_0x542a5c,_0x16af96);break;}}const _0x16c4cc=_0x3b361a[_0x1a3089(0x2ba)](_0x5b2eb9,_0x16af96),_0x5c37b8=this[_0x1a3089(0x154)][_0x1a3089(0x18b)](_0x577f09);if(_0x5c37b8&&_0x16c4cc){const _0x16968b={..._0x5c37b8,'range':_0x16c4cc};this['cursorInfo'][_0x1a3089(0x210)](_0x577f09,_0x16968b),_0x56302c(()=>{const _0x159be2=_0x1a3089,_0x3de94b=this['_refRangeService'][_0x159be2(0x1ed)](_0x16c4cc,_0x31aaeb=>(_0x3de94b[_0x159be2(0x3e7)](),_0x19993d(_0x31aaeb,_0x577f09,_0x580b15,_0x16c4cc)));_0x5dbf34['add'](_0x3de94b);});}return{'redos':[],'undos':[]};};this[_0x28693e(0x154)][_0x28693e(0x317)]((_0x41a038,_0x258a79)=>{const _0x3946fc=_0x28693e,{range:_0x5003d1,sheetID:_0x404540}=_0x41a038,_0x5d7783=this[_0x3946fc(0x28e)][_0x3946fc(0x1ed)](_0x5003d1,_0x3d07fc=>(_0x5d7783[_0x3946fc(0x3e7)](),_0x19993d(_0x3d07fc,_0x258a79,_0x404540,_0x5003d1)));_0x5dbf34[_0x3946fc(0x31b)](_0x5d7783);});};this[_0xee035c(0x344)](_0x34ef93[_0xee035c(0x3a5)](this[_0xee035c(0x2d7)]['subscribe'](()=>{_0xfb9fbd();})));}[_0x272080(0x161)](){const _0x44cdc1=_0x272080;var _0x250d99,_0xffdc64;if(this['_online']=!0x0,((_0x250d99=this['_univerInstanceService'][_0x44cdc1(0x376)]())==null?void 0x0:_0x250d99['getUnitId']())!==this[_0x44cdc1(0x349)])return;const _0x36df95=(_0xffdc64=this[_0x44cdc1(0x1cd)][_0x44cdc1(0x18b)](_0x3b361a[_0x44cdc1(0x17d)])[_0x44cdc1(0x375)]())==null?void 0x0:_0xffdc64[0x0],_0x239ba7=this['_univerInstanceService'][_0x44cdc1(0x332)](_0x34ef93['UniverInstanceType'][_0x44cdc1(0x273)])['getActiveSheet']();_0x36df95&&_0x239ba7&&this['_updateLocalCursor'](_0x239ba7[_0x44cdc1(0x236)](),_0x36df95);}['_toggleOffline'](){const _0x43e261=_0x272080;this[_0x43e261(0x364)]=!0x1;}};_0x2a2d46=_0xc62901([_0x50b911(0x2,_0x34ef93[_0x272080(0x2b6)](_0x34ef93[_0x272080(0x2d8)])),_0x50b911(0x3,_0x34ef93[_0x272080(0x2b6)](_0x2a507e)),_0x50b911(0x4,_0x34ef93[_0x272080(0x2b6)](_0x532446['MemberService'])),_0x50b911(0x5,_0x34ef93[_0x272080(0x26d)]),_0x50b911(0x6,_0x34ef93['ICommandService']),_0x50b911(0x7,_0x34ef93[_0x272080(0x2b6)](_0x3b361a[_0x272080(0x338)]))],_0x2a2d46);var _0x29cc0f=Object['getOwnPropertyDescriptor'],_0x5e2708=(_0x5221f7,_0x32d795,_0x350239,_0x4920df)=>{const _0x2bc419=_0x272080;for(var _0x19501f=_0x4920df>0x1?void 0x0:_0x4920df?_0x29cc0f(_0x32d795,_0x350239):_0x32d795,_0x524f5f=_0x5221f7[_0x2bc419(0x1a6)]-0x1,_0x177c09;_0x524f5f>=0x0;_0x524f5f--)(_0x177c09=_0x5221f7[_0x524f5f])&&(_0x19501f=_0x177c09(_0x19501f)||_0x19501f);return _0x19501f;},_0x3416b6=(_0xe93503,_0x321aa6)=>(_0x53e37b,_0x2de550)=>_0x321aa6(_0x53e37b,_0x2de550,_0xe93503);let _0x3a2a53=class extends _0x34ef93[_0x272080(0x264)]{constructor(_0x2ab8bf,_0x24d33e,_0x4b9f4c){const _0x1d3fb9=_0x272080;super(),_0x8888c3(this,_0x1d3fb9(0x204),new Map()),_0x8888c3(this,'_entityInit$',new _0x5d5b35['Subject']()),(this[_0x1d3fb9(0x293)]=_0x2ab8bf,this['_injector']=_0x24d33e,this['_collabSessionService']=_0x4b9f4c,this[_0x1d3fb9(0x25a)]());}[_0x272080(0x3e7)](){const _0x565469=_0x272080;super[_0x565469(0x3e7)](),this['_entityInit$'][_0x565469(0x369)](),this[_0x565469(0x204)][_0x565469(0x317)](_0x546d28=>_0x546d28[_0x565469(0x3e7)]());}[_0x272080(0x30d)](_0x1c7d07){const _0x40961c=_0x272080;return this[_0x40961c(0x204)][_0x40961c(0x342)](_0x1c7d07)?this[_0x40961c(0x204)][_0x40961c(0x18b)](_0x1c7d07)['cursorInfo$']:this[_0x40961c(0x3f8)]['pipe'](_0x5d5b35[_0x40961c(0x3fa)](_0x4183cc=>_0x4183cc[_0x40961c(0x349)]===_0x1c7d07),_0x5d5b35['switchMap'](_0x533ba3=>_0x533ba3[_0x40961c(0x36d)]));}[_0x272080(0x25a)](){const _0x3d9394=_0x272080;this[_0x3d9394(0x293)][_0x3d9394(0x2e5)](_0x34ef93[_0x3d9394(0x371)][_0x3d9394(0x273)])[_0x3d9394(0x322)](_0x5d5b35[_0x3d9394(0x258)](this[_0x3d9394(0x296)]))[_0x3d9394(0x1de)](async _0x3c7dfd=>{const _0x2e7384=_0x3d9394,_0x11f523=_0x3c7dfd[_0x2e7384(0x23b)](),_0x2025b0=await this[_0x2e7384(0x1c7)](_0x11f523);this[_0x2e7384(0x3f8)][_0x2e7384(0x231)](_0x2025b0),this[_0x2e7384(0x204)]['set'](_0x11f523,_0x2025b0);}),this[_0x3d9394(0x293)][_0x3d9394(0x2e5)](_0x34ef93[_0x3d9394(0x371)][_0x3d9394(0x36f)])[_0x3d9394(0x322)](_0x5d5b35[_0x3d9394(0x258)](this[_0x3d9394(0x296)]))[_0x3d9394(0x322)](_0x5d5b35['filter'](_0xc834a9=>!_0xc834a9[_0x3d9394(0x23b)]()[_0x3d9394(0x32e)]('__')))[_0x3d9394(0x1de)](async _0x54167c=>{const _0x4faf3b=_0x3d9394,_0x3845ee=_0x54167c[_0x4faf3b(0x23b)](),_0x1b28f0=await this[_0x4faf3b(0x346)](_0x3845ee);this[_0x4faf3b(0x3f8)][_0x4faf3b(0x231)](_0x1b28f0),this[_0x4faf3b(0x204)][_0x4faf3b(0x210)](_0x3845ee,_0x1b28f0);}),_0x5d5b35['merge'](this[_0x3d9394(0x293)]['getTypeOfUnitDisposed$'](_0x34ef93[_0x3d9394(0x371)][_0x3d9394(0x36f)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x34ef93['UniverInstanceType'][_0x3d9394(0x273)]))[_0x3d9394(0x322)](_0x5d5b35['takeUntil'](this['dispose$']))[_0x3d9394(0x1de)](_0x5cd71f=>{const _0xb5ac09=_0x3d9394,_0x5802c5=_0x5cd71f[_0xb5ac09(0x23b)](),_0x3610fe=this['_entities'][_0xb5ac09(0x18b)](_0x5802c5);_0x3610fe&&(_0x3610fe[_0xb5ac09(0x3e7)](),this['_entities'][_0xb5ac09(0x2db)](_0x5802c5));});}async['_startSheetCollabCursor'](_0x59b17c){const _0x516521=_0x272080,_0x1c8bb7=await this[_0x516521(0x331)][_0x516521(0x167)](_0x59b17c),_0x2e4bc7=this[_0x516521(0x1cd)][_0x516521(0x2f1)](_0x2a2d46,_0x59b17c,_0x1c8bb7);return _0x2e4bc7[_0x516521(0x378)](),_0x2e4bc7;}async['_startDocCollabCursor'](_0x3fa557){const _0x3183f2=_0x272080,_0x3d81b3=await this[_0x3183f2(0x331)]['requireSession'](_0x3fa557),_0x4fb701=this[_0x3183f2(0x1cd)][_0x3183f2(0x2f1)](_0x39e491,_0x3fa557,_0x3d81b3);return _0x4fb701[_0x3183f2(0x378)](),_0x4fb701;}};_0x3a2a53=_0x5e2708([_0x3416b6(0x0,_0x34ef93[_0x272080(0x26d)]),_0x3416b6(0x1,_0x34ef93[_0x272080(0x2b6)](_0x34ef93[_0x272080(0x2d8)])),_0x3416b6(0x2,_0x34ef93[_0x272080(0x2b6)](_0x532446['CollaborationSessionService']))],_0x3a2a53);const _0x235ca2=0x14,_0x3c363b=0xc8,_0x484d55=0x4,_0x539399=0x5;function _0x433090(_0x4036de,_0x4b4764){const _0x4981dc=_0x272080;let {radius:_0x27a9bf,width:_0x16fc93,height:_0x3ca68c}=_0x4b4764;_0x27a9bf=_0x27a9bf!=null?_0x27a9bf:0x0,_0x16fc93=_0x16fc93!=null?_0x16fc93:0x1e,_0x3ca68c=_0x3ca68c!=null?_0x3ca68c:0x1e;let _0x4d6eae=0x0,_0x425e37=0x0,_0x551251=0x0;_0x4d6eae=_0x425e37=_0x551251=Math['min'](_0x27a9bf,_0x16fc93/0x2,_0x3ca68c/0x2),_0x4036de[_0x4981dc(0x3d4)](),_0x4036de[_0x4981dc(0x370)](_0x4d6eae,0x0),_0x4036de[_0x4981dc(0x39c)](_0x16fc93-_0x425e37,0x0),_0x4036de['arc'](_0x16fc93-_0x425e37,_0x425e37,_0x425e37,Math['PI']*0x3/0x2,0x0,!0x1),_0x4036de[_0x4981dc(0x39c)](_0x16fc93,_0x3ca68c-_0x551251),_0x4036de['arc'](_0x16fc93-_0x551251,_0x3ca68c-_0x551251,_0x551251,0x0,Math['PI']/0x2,!0x1),_0x4036de[_0x4981dc(0x39c)](0x0,_0x3ca68c),_0x4036de[_0x4981dc(0x39c)](0x0,_0x4d6eae),_0x4036de[_0x4981dc(0x184)](_0x4d6eae,_0x4d6eae,_0x4d6eae,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4036de['closePath'](),_0x4b4764['fill']&&(_0x4036de[_0x4981dc(0x33d)](),_0x4036de[_0x4981dc(0x240)]=_0x4b4764[_0x4981dc(0x250)],_0x4b4764[_0x4981dc(0x3e6)]===_0x4981dc(0x3ac)?_0x4036de['fill'](_0x4981dc(0x3ac)):_0x4036de[_0x4981dc(0x250)](),_0x4036de[_0x4981dc(0x18f)]());}class _0x15d60e extends _0x2209eb[_0x272080(0x266)]{constructor(_0x4d6528,_0x1ea3e9){const _0x5a4291=_0x272080;super(_0x4d6528,_0x1ea3e9),_0x8888c3(this,_0x5a4291(0x183)),_0x8888c3(this,_0x5a4291(0x19d)),(this['color']=_0x1ea3e9==null?void 0x0:_0x1ea3e9['color'],this['text']=_0x1ea3e9==null?void 0x0:_0x1ea3e9[_0x5a4291(0x19d)]);}static[_0x272080(0x38b)](_0x2f881a,_0x22e752){const _0x2a7c24=_0x272080,{text:_0x16fb69,color:_0x20a798}=_0x22e752;_0x2f881a['save'](),_0x2f881a[_0x2a7c24(0x384)]=_0x2a7c24(0x1f7);const _0x37e2b1=_0x2f881a[_0x2a7c24(0x1ea)](_0x16fb69)[_0x2a7c24(0x1f8)],_0x2aa569=Math[_0x2a7c24(0x1df)](_0x37e2b1+0x2*_0x484d55,_0x3c363b);_0x433090(_0x2f881a,{'height':_0x235ca2,'radius':0x4,'width':_0x2aa569,'fill':_0x20a798}),_0x2f881a[_0x2a7c24(0x240)]=_0x2a7c24(0x18d);const _0x3800cb=_0x484d55,_0x227942=_0x235ca2-_0x539399,_0x5ac67f=_0x3c363b-0x2*_0x484d55;if(_0x37e2b1>_0x5ac67f){let _0x5e0568='',_0x2047cb=0x0;for(const _0x4998fe of _0x16fb69){const _0xf1d98b=_0x2f881a[_0x2a7c24(0x1ea)](_0x4998fe)['width'];if(_0x2047cb+_0xf1d98b<=_0x5ac67f-_0x2f881a[_0x2a7c24(0x1ea)](_0x2a7c24(0x26e))['width'])_0x5e0568+=_0x4998fe,_0x2047cb+=_0xf1d98b;else{_0x5e0568+=_0x2a7c24(0x26e);break;}}_0x2f881a['fillText'](_0x5e0568,_0x3800cb,_0x227942);}else _0x2f881a[_0x2a7c24(0x383)](_0x16fb69,_0x3800cb,_0x227942);_0x2f881a[_0x2a7c24(0x18f)]();}[_0x272080(0x24c)](_0x4c41f7){const _0x1ae049=_0x272080;_0x15d60e[_0x1ae049(0x38b)](_0x4c41f7,this);}}const _0x531fc9=_0x272080(0x357),_0x4caa38=_0x272080(0x377),_0x4a2da9=_0x272080(0x2f8),_0x47c9f4=0x6,_0x3721d0=1.5,_0x2864c9=0x4,_0x5d6149=1.5,_0xdbf9bf='rgba(255,\x20255,\x20255,\x200.01)';class _0x1217f7{constructor(_0x4c3b71,_0x4022b8,_0x1668ac,_0x2e07c2){const _0x1f6000=_0x272080;_0x8888c3(this,_0x1f6000(0x292),[]),_0x8888c3(this,'_anchor',null),_0x8888c3(this,_0x1f6000(0x205),null),_0x8888c3(this,'_anchorDot',null),_0x8888c3(this,'_hideTimer',null),_0x8888c3(this,_0x1f6000(0x325),null),(this[_0x1f6000(0x1ae)]=_0x4c3b71,this[_0x1f6000(0x16d)]=_0x4022b8,this[_0x1f6000(0x176)]=_0x1668ac,this[_0x1f6000(0x2ec)]=_0x2e07c2,this[_0x1f6000(0x200)]());}set[_0x272080(0x34b)](_0x4e138a){const _0x405486=_0x272080;_0x4e138a?(this['_anchorDot']&&this[_0x405486(0x16c)][_0x405486(0x2b2)](),this[_0x405486(0x205)]&&this['_textBubble'][_0x405486(0x2a3)]()):(this[_0x405486(0x16c)]&&this['_anchorDot'][_0x405486(0x2a3)](),this[_0x405486(0x205)]&&this[_0x405486(0x205)][_0x405486(0x2b2)]());}[_0x272080(0x3e7)](){const _0x236fb3=_0x272080;for(const _0x4f1a0f of this[_0x236fb3(0x292)])_0x4f1a0f[_0x236fb3(0x3e7)]();this[_0x236fb3(0x205)]&&this[_0x236fb3(0x205)]['dispose'](),this['_anchorDot']&&this[_0x236fb3(0x16c)]['dispose'](),this[_0x236fb3(0x29a)]&&this[_0x236fb3(0x29a)][_0x236fb3(0x3e7)](),this[_0x236fb3(0x325)]&&this[_0x236fb3(0x325)]();}['_render'](){const _0x2faf34=_0x272080;var _0xbf69f4;const {_docSkeleton:_0x32b4b5,_document:_0x56a1fb}=this,{color:_0x430d6f,name:_0x1c6412,ranges:_0x260a58}=this[_0x2faf34(0x1ae)],_0x47adff=_0x56a1fb[_0x2faf34(0x390)](),{docsLeft:_0x8645c1,docsTop:_0x57e8e8}=_0x47adff,_0x44b459=new _0x224eaf[(_0x2faf34(0x294))](_0x47adff,_0x32b4b5);for(const {startOffset:_0x30f62a,endOffset:_0x4ac190,rangeType:_0x380b9d,segmentId:_0x95f8eb,segmentPage:_0x540c9f,collapsed:_0x1aa189,isActive:_0x380f5e}of _0x260a58){const _0x5c554e=_0x32b4b5[_0x2faf34(0x279)](_0x30f62a,!0x0,_0x95f8eb,_0x540c9f);let _0x49d7ad=_0x32b4b5[_0x2faf34(0x279)](_0x4ac190,!0x0,_0x95f8eb,_0x540c9f);if(_0x49d7ad==null&&(_0x49d7ad=_0x32b4b5['findNodePositionByCharIndex'](_0x4ac190-0x1,!0x1,_0x95f8eb,_0x540c9f)),_0x380f5e){const {contentBoxPointGroup:_0x58a7ad}=_0x44b459[_0x2faf34(0x26f)](_0x49d7ad,_0x49d7ad);if(_0x58a7ad[_0x2faf34(0x1a6)]===0x0)continue;this[_0x2faf34(0x269)](_0x430d6f,_0x58a7ad,_0x8645c1,_0x57e8e8,_0x1c6412),this[_0x2faf34(0x325)]=this['_handleHover']();}if(_0x5c554e&&_0x49d7ad){if(_0x380b9d===_0x34ef93['DOC_RANGE_TYPE'][_0x2faf34(0x177)]){const _0x5d4622=new _0x224eaf['NodePositionConvertToRectRange'](_0x47adff,_0x32b4b5),{pointGroup:_0x2cab2b}=(_0xbf69f4=_0x5d4622[_0x2faf34(0x26f)](_0x5c554e,_0x49d7ad))!=null?_0xbf69f4:{};if(_0x2cab2b==null||_0x2cab2b[_0x2faf34(0x1a6)]===0x0)continue;this[_0x2faf34(0x380)](_0x430d6f,_0x2cab2b,_0x8645c1,_0x57e8e8);}else{if(!_0x1aa189){const {borderBoxPointGroup:_0x510ed8}=_0x44b459[_0x2faf34(0x26f)](_0x5c554e,_0x49d7ad);if(_0x510ed8[_0x2faf34(0x1a6)]===0x0)continue;this[_0x2faf34(0x2a9)](_0x430d6f,_0x510ed8,_0x8645c1,_0x57e8e8);}}}}}[_0x272080(0x269)](_0x4f6811,_0x5999dc,_0x1cd791,_0x1727d4,_0x50aa78){const _0x259f05=_0x272080,_0x24515e=this[_0x259f05(0x379)](_0x5999dc),{left:_0xfba0b0,top:_0x3def44,height:_0xae6d56}=_0x24515e,_0x176f09=this[_0x259f05(0x358)](),_0x5f0c2e=_0x5d6149/_0x176f09,_0x5d07f2=new _0x2209eb['Rect'](_0x531fc9+_0x34ef93[_0x259f05(0x22b)]['generateRandomId'](_0x47c9f4),{'left':_0xfba0b0+_0x1cd791-_0x5f0c2e,'top':_0x3def44+_0x1727d4,'height':_0xae6d56,'width':_0x3721d0,'fill':_0x4f6811||_0x2209eb[_0x259f05(0x2d9)](_0x34ef93[_0x259f05(0x1bb)][_0x259f05(0x336)],0x0),'strokeWidth':_0x5f0c2e,'stroke':_0xdbf9bf,'evented':!0x0});this[_0x259f05(0x29a)]=_0x5d07f2,this['_scene'][_0x259f05(0x16a)](_0x5d07f2,_0x224eaf[_0x259f05(0x1f1)]);const _0x37a8a4=new _0x2209eb[(_0x259f05(0x2dd))](_0x531fc9+_0x34ef93[_0x259f05(0x22b)][_0x259f05(0x3c3)](_0x47c9f4),{'left':_0xfba0b0+_0x1cd791-_0x5f0c2e,'top':_0x3def44+_0x1727d4-_0x2864c9/0x2,'height':_0x2864c9,'width':_0x2864c9,'fill':_0x4f6811||_0x2209eb[_0x259f05(0x2d9)](_0x34ef93['COLORS'][_0x259f05(0x336)],0x0),'strokeWidth':0x0,'stroke':_0x4f6811||_0x2209eb['getColor'](_0x34ef93[_0x259f05(0x1bb)][_0x259f05(0x336)],0x0),'evented':!0x1});this[_0x259f05(0x16c)]=_0x37a8a4,this[_0x259f05(0x16d)][_0x259f05(0x16a)](_0x37a8a4,_0x224eaf[_0x259f05(0x1f1)]);const _0x49e828=new _0x15d60e(_0x531fc9+_0x34ef93[_0x259f05(0x22b)]['generateRandomId'](_0x47c9f4),{'left':_0xfba0b0+_0x1cd791-_0x5f0c2e,'top':_0x3def44+_0x1727d4-_0x235ca2,'text':_0x50aa78,'color':_0x4f6811});this['_textBubble']=_0x49e828,this[_0x259f05(0x16d)][_0x259f05(0x16a)](_0x49e828,_0x224eaf[_0x259f05(0x1f1)]),this[_0x259f05(0x34b)]=!0x1;}[_0x272080(0x249)](){const _0x19a501=_0x272080,_0x42d837=this[_0x19a501(0x29a)]['onPointerEnter$']['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x5ae5be=this['_anchor'][_0x19a501(0x2af)][_0x19a501(0x1b5)](()=>{const _0x371e04=_0x19a501;this[_0x371e04(0x2ab)]&&clearTimeout(this[_0x371e04(0x2ab)]),this[_0x371e04(0x2ab)]=setTimeout(()=>{const _0xf08003=_0x371e04;this[_0xf08003(0x34b)]=!0x1;},0x7d0);});return()=>{const _0x3007f8=_0x19a501;_0x42d837[_0x3007f8(0x157)](),_0x5ae5be[_0x3007f8(0x157)]();};}['_drawTextRange'](_0x4f2a14,_0x25df81,_0x196588,_0xd4ba26){const _0x4b0b66=_0x272080,_0x42fb1e=new _0x34ef93[(_0x4b0b66(0x1af))](_0x4f2a14)[_0x4b0b66(0x25d)](0.2)[_0x4b0b66(0x21c)](),_0x3a4c7b=new _0x2209eb[(_0x4b0b66(0x19b))](_0x4caa38+_0x34ef93[_0x4b0b66(0x22b)][_0x4b0b66(0x3c3)](_0x47c9f4),{'pointsGroup':_0x25df81,'fill':_0x42fb1e||_0x2209eb[_0x4b0b66(0x2d9)](_0x34ef93[_0x4b0b66(0x1bb)][_0x4b0b66(0x336)],0.2),'left':_0x196588,'top':_0xd4ba26,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4b0b66(0x1b0)](_0x3a4c7b),this['_scene'][_0x4b0b66(0x16a)](_0x3a4c7b,_0x224eaf[_0x4b0b66(0x1f1)]);}[_0x272080(0x380)](_0x1a0bc0,_0x49ce1e,_0x58b3dc,_0x4401e0){const _0x11b9d4=_0x272080,_0x2975c7=new _0x34ef93[(_0x11b9d4(0x1af))](_0x1a0bc0)[_0x11b9d4(0x25d)](0.2)['toRgbString'](),_0x302cf4=new _0x2209eb[(_0x11b9d4(0x19b))](_0x4a2da9+_0x34ef93['Tools'][_0x11b9d4(0x3c3)](_0x47c9f4),{'pointsGroup':_0x49ce1e,'fill':_0x2975c7||_0x2209eb[_0x11b9d4(0x2d9)](_0x34ef93['COLORS'][_0x11b9d4(0x336)],0.2),'left':_0x58b3dc,'top':_0x4401e0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x11b9d4(0x292)][_0x11b9d4(0x1b0)](_0x302cf4),this[_0x11b9d4(0x16d)][_0x11b9d4(0x16a)](_0x302cf4,_0x224eaf[_0x11b9d4(0x1f1)]);}['_getAnchorBounding'](_0x2fec6e){const _0x1649a7=_0x2fec6e[0x0],_0x1eb865=_0x1649a7[0x0],_0x136c57=_0x1649a7[0x2],{x:_0x4a985d,y:_0x3519aa}=_0x1eb865,{x:_0x442358,y:_0x5b54ba}=_0x136c57;return{'left':_0x4a985d,'top':_0x3519aa,'width':_0x442358-_0x4a985d,'height':_0x5b54ba-_0x3519aa};}[_0x272080(0x358)](){const _0x181d45=_0x272080,{scaleX:_0x1a3e8c,scaleY:_0x56a6c1}=this[_0x181d45(0x16d)][_0x181d45(0x1d5)]();return Math[_0x181d45(0x193)](_0x1a3e8c,_0x56a6c1);}}var _0x1af9b6=Object[_0x272080(0x39a)],_0x2e130e=(_0x5108c5,_0x285956,_0x13f32f,_0x2a64f4)=>{for(var _0x554b93=_0x2a64f4>0x1?void 0x0:_0x2a64f4?_0x1af9b6(_0x285956,_0x13f32f):_0x285956,_0x3b80f6=_0x5108c5['length']-0x1,_0x141b66;_0x3b80f6>=0x0;_0x3b80f6--)(_0x141b66=_0x5108c5[_0x3b80f6])&&(_0x554b93=_0x141b66(_0x554b93)||_0x554b93);return _0x554b93;},_0x35712b=(_0x3e7f1b,_0x2ff5c0)=>(_0x260b88,_0x1d9331)=>_0x2ff5c0(_0x260b88,_0x1d9331,_0x3e7f1b);let _0x4f923e=class extends _0x34ef93[_0x272080(0x264)]{constructor(_0x4738fb,_0x8b8579,_0x1cb79c,_0x608f93,_0x149951){const _0x20b74c=_0x272080;super(),_0x8888c3(this,'_cursorShapes',[]),_0x8888c3(this,_0x20b74c(0x3b4),[]),(this[_0x20b74c(0x19a)]=_0x4738fb,this[_0x20b74c(0x29c)]=_0x8b8579,this[_0x20b74c(0x274)]=_0x1cb79c,this[_0x20b74c(0x399)]=_0x608f93,this[_0x20b74c(0x27f)]=_0x149951,this['_init']());}[_0x272080(0x25a)](){const _0x3c5256=_0x272080,_0x1615cb=this[_0x3c5256(0x19a)]['unitId'],_0x294642=this[_0x3c5256(0x29c)];this[_0x3c5256(0x344)](_0x5d5b35[_0x3c5256(0x3dc)]([this[_0x3c5256(0x274)][_0x3c5256(0x30d)](_0x1615cb),this[_0x3c5256(0x27f)]['currentTheme$']])[_0x3c5256(0x322)](_0x23b730[_0x3c5256(0x188)](([_0xd89fae,_0x56a1e2])=>({'skeleton':_0x294642[_0x3c5256(0x245)](),'cursors':[..._0xd89fae['values']()][_0x3c5256(0x1e9)](_0xb2af3a=>({..._0xb2af3a,'color':_0x56a1e2[_0xb2af3a[_0x3c5256(0x183)]]}))})))['subscribe'](_0x1a49b3=>{const _0x1bf23a=_0x3c5256;if(this['_removeCollabCursors'](),_0x1a49b3){const {skeleton:_0x207521,cursors:_0xcc360c}=_0x1a49b3;this[_0x1bf23a(0x24e)](_0x207521,_0xcc360c);}})),this[_0x3c5256(0x2dc)](),this['_initCommandExecutedListener']();}[_0x272080(0x24e)](_0xbb53c8,_0x591232){const _0x523f2e=_0x272080,{scene:_0x1b5891,mainComponent:_0x347d34}=this[_0x523f2e(0x19a)],_0x40c290=_0x591232[_0x523f2e(0x188)](_0x264b54=>new _0x1217f7(_0x264b54,_0x1b5891,_0xbb53c8,_0x347d34));this['_cursorShapes']=_0x40c290,this[_0x523f2e(0x3b4)]=_0x591232;}[_0x272080(0x302)](){const _0x1aa4b9=_0x272080;this[_0x1aa4b9(0x406)]();const {scene:_0x4cc888,mainComponent:_0x31e1b8}=this[_0x1aa4b9(0x19a)],_0x3f8d76=this[_0x1aa4b9(0x29c)][_0x1aa4b9(0x245)](),_0x33df75=this['_cursors'][_0x1aa4b9(0x188)](_0x34e844=>new _0x1217f7(_0x34e844,_0x4cc888,_0x3f8d76,_0x31e1b8));this[_0x1aa4b9(0x152)]=_0x33df75;}[_0x272080(0x406)](){const _0x3acdf3=_0x272080;this[_0x3acdf3(0x152)][_0x3acdf3(0x317)](_0x818668=>_0x818668['dispose']()),this[_0x3acdf3(0x152)]=[];}[_0x272080(0x38c)](){const _0x5686f9=_0x272080,_0x3ec66e=[_0x224eaf[_0x5686f9(0x30b)]['id']];this[_0x5686f9(0x344)](this['_commandService'][_0x5686f9(0x173)](_0x5446de=>{const _0x1597c4=_0x5686f9;_0x3ec66e[_0x1597c4(0x1ba)](_0x5446de['id'])&&_0x5446de['params'][_0x1597c4(0x1ec)]===this[_0x1597c4(0x19a)]['unitId']&&this[_0x1597c4(0x302)]();}));}['_initResize'](){const _0x59309b=_0x272080;this['disposeWithMe'](_0x34ef93[_0x59309b(0x215)](this[_0x59309b(0x19a)][_0x59309b(0x1ff)][_0x59309b(0x3b5)])['pipe'](_0x23b730['filter'](_0x517806=>_0x517806[_0x59309b(0x3ed)]===_0x2209eb['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x59309b(0x2bc)]),_0x23b730[_0x59309b(0x1a3)](0x10))[_0x59309b(0x1de)](()=>{const _0x313aa3=_0x59309b;this[_0x313aa3(0x302)]();}));}};_0x4f923e=_0x2e130e([_0x35712b(0x1,_0x34ef93[_0x272080(0x2b6)](_0x3fedbd[_0x272080(0x3f7)])),_0x35712b(0x2,_0x34ef93[_0x272080(0x2b6)](_0x3a2a53)),_0x35712b(0x3,_0x34ef93[_0x272080(0x33e)]),_0x35712b(0x4,_0x34ef93[_0x272080(0x2b6)](_0x34ef93['ThemeService']))],_0x4f923e);const _0x2a5711=0x1,_0x11e01c=1.5;class _0xba3d32 extends _0x2209eb['Shape']{constructor(_0x51ed93,_0x51975a){const _0x5dbf43=_0x272080;super(_0x51ed93,_0x51975a),_0x8888c3(this,'_color'),_0x8888c3(this,_0x5dbf43(0x3e4),!0x1),_0x8888c3(this,_0x5dbf43(0x356)),_0x8888c3(this,_0x5dbf43(0x1ce),''),_0x8888c3(this,'_labelPosition',_0x5dbf43(0x3b0)),_0x8888c3(this,_0x5dbf43(0x2eb)),(_0x51975a&&this[_0x5dbf43(0x29d)](_0x51975a),this['onPointerEnter$'][_0x5dbf43(0x1b5)](()=>this[_0x5dbf43(0x29d)]({'hovered':!0x0})),this[_0x5dbf43(0x2af)][_0x5dbf43(0x1b5)](()=>this[_0x5dbf43(0x29d)]({'hovered':!0x1})));}[_0x272080(0x29d)](_0x47e4b0){const _0x4d7719=_0x272080;var _0x2c77ad,_0x549d65,_0x225e0f,_0x4ad6db,_0x5a9441,_0x29c569;this[_0x4d7719(0x315)]=(_0x2c77ad=_0x47e4b0[_0x4d7719(0x183)])!=null?_0x2c77ad:this['_color'],this[_0x4d7719(0x3e4)]=(_0x549d65=_0x47e4b0[_0x4d7719(0x2a1)])!=null?_0x549d65:this['_hovered'],this[_0x4d7719(0x356)]=(_0x225e0f=_0x47e4b0['range'])!=null?_0x225e0f:this['_range'],this[_0x4d7719(0x1ce)]=(_0x4ad6db=_0x47e4b0[_0x4d7719(0x189)])!=null?_0x4ad6db:this[_0x4d7719(0x1ce)],this['_labelPosition']=(_0x5a9441=_0x47e4b0[_0x4d7719(0x27a)])!=null?_0x5a9441:this['_labelPosition'],this[_0x4d7719(0x2eb)]=(_0x29c569=_0x47e4b0[_0x4d7719(0x39e)])!=null?_0x29c569:this[_0x4d7719(0x2eb)],this['transformByState']({'width':_0x47e4b0['width'],'height':_0x47e4b0[_0x4d7719(0x160)]});}[_0x272080(0x363)](_0x19dc11){const _0xe647ad=_0x272080,{row:_0x13a4aa,column:_0x18b1f3}=_0x19dc11;if(_0x13a4aa>=this[_0xe647ad(0x356)]['startRow']&&_0x13a4aa<=this[_0xe647ad(0x356)][_0xe647ad(0x2b9)]&&_0x18b1f3>=this[_0xe647ad(0x356)][_0xe647ad(0x400)]&&_0x18b1f3<=this[_0xe647ad(0x356)]['endColumn']){this['setShapeProps']({'hovered':!0x0});return;}this[_0xe647ad(0x29d)]({'hovered':!0x1});}['triggerDblclick'](_0x446650){return!0x1;}[_0x272080(0x24c)](_0x1905ac){const _0x4e6043=_0x272080;_0x2209eb[_0x4e6043(0x2dd)][_0x4e6043(0x38b)](_0x1905ac,{'width':this['width'],'height':this['height'],'strokeWidth':_0x11e01c,'stroke':this[_0x4e6043(0x315)],'evented':!0x1,'fill':this[_0x4e6043(0x2eb)]}),this['_hovered']&&(_0x1905ac[_0x4e6043(0x33d)](),_0x1905ac[_0x4e6043(0x3ee)](0x1,0x0,0x0,0x1,this[_0x4e6043(0x1f8)],this[_0x4e6043(0x268)]===_0x4e6043(0x1d8)?0x0:-0x14),_0x15d60e[_0x4e6043(0x38b)](_0x1905ac,{'text':this[_0x4e6043(0x1ce)],'color':this[_0x4e6043(0x315)]}),_0x1905ac[_0x4e6043(0x18f)]());}}var _0x570ec6=Object[_0x272080(0x39a)],_0x3c5a22=(_0x3a4728,_0x59d66d,_0x13e815,_0x36ddc6)=>{const _0x38056d=_0x272080;for(var _0x224666=_0x36ddc6>0x1?void 0x0:_0x36ddc6?_0x570ec6(_0x59d66d,_0x13e815):_0x59d66d,_0x10cd3b=_0x3a4728[_0x38056d(0x1a6)]-0x1,_0x4531a0;_0x10cd3b>=0x0;_0x10cd3b--)(_0x4531a0=_0x3a4728[_0x10cd3b])&&(_0x224666=_0x4531a0(_0x224666)||_0x224666);return _0x224666;},_0x27ebd5=(_0x5e0cdf,_0xed296d)=>(_0x244e26,_0x217792)=>_0xed296d(_0x244e26,_0x217792,_0x5e0cdf);const _0x4495cb=0x1389;let _0x2b81a8=class extends _0x34ef93[_0x272080(0x264)]{constructor(_0x7aeed2,_0xe9efe5,_0x21daad,_0xc2c052){const _0x52b08c=_0x272080;super(),_0x8888c3(this,_0x52b08c(0x3b4),new Set()),_0x8888c3(this,_0x52b08c(0x3a2),null),(this[_0x52b08c(0x19a)]=_0x7aeed2,this[_0x52b08c(0x3ae)]=_0xe9efe5,this[_0x52b08c(0x274)]=_0x21daad,this[_0x52b08c(0x27f)]=_0xc2c052,this[_0x52b08c(0x25a)]());}[_0x272080(0x25a)](){const _0x4c7c77=_0x272080;this[_0x4c7c77(0x3ae)]['currentSkeleton$'][_0x4c7c77(0x322)](_0x23b730[_0x4c7c77(0x258)](this[_0x4c7c77(0x296)]),_0x23b730[_0x4c7c77(0x288)](_0x3b37b6=>{const _0x5d7633=_0x4c7c77;if(_0x3b37b6){const _0x29d78a=_0x3b37b6[_0x5d7633(0x1e7)];return _0x5d5b35[_0x5d7633(0x3dc)](this['_collabCursorController'][_0x5d7633(0x30d)](this[_0x5d7633(0x19a)]['unitId']),this[_0x5d7633(0x27f)][_0x5d7633(0x36a)])[_0x5d7633(0x322)](_0x23b730[_0x5d7633(0x188)](([_0x118f5e,_0x134922])=>{const _0xbf72a5=new Map();return _0x118f5e['forEach']((_0x37ca02,_0x4fc7b1)=>{const _0x494091=_0x34df;if(_0x37ca02[_0x494091(0x38a)]===_0x29d78a){const _0x453c71={..._0x37ca02};_0x453c71['color']=_0x134922[_0x37ca02[_0x494091(0x183)]],_0xbf72a5[_0x494091(0x210)](_0x4fc7b1,_0x453c71);}}),{'skeleton':_0x3b37b6,'cursors':_0xbf72a5};}));}return _0x5d5b35['of']({'skeleton':null,'cursors':new Map()});}))[_0x4c7c77(0x1de)](({skeleton:_0x15bcbe,cursors:_0x224fd4})=>{const _0x3f6a2d=_0x4c7c77;this[_0x3f6a2d(0x406)](),_0x15bcbe&&this[_0x3f6a2d(0x24e)](_0x15bcbe,_0x224fd4);}),this[_0x4c7c77(0x3ae)]['currentSkeleton$'][_0x4c7c77(0x1de)](_0x58e31a=>{const _0x19e86a=_0x4c7c77;if(_0x58e31a==null)return;const {skeleton:_0x1f8e9a}=_0x58e31a,{scene:_0x6cf162}=this[_0x19e86a(0x19a)];_0x6cf162[_0x19e86a(0x1ee)]['subscribeEvent'](_0x34ef93[_0x19e86a(0x33c)](_0x409d7b=>{const _0x1d0046=_0x19e86a;var _0x22a725,_0x49198b;const {offsetX:_0x122256,offsetY:_0xd798be}=_0x409d7b,{x:_0x572d70,y:_0x5abcb9}=_0x6cf162[_0x1d0046(0x1fc)](_0x2209eb[_0x1d0046(0x2f3)][_0x1d0046(0x22d)]([_0x122256,_0xd798be])),{scaleX:_0x467e5b,scaleY:_0x2041fa}=_0x6cf162['getAncestorScale'](),_0xb79329=_0x6cf162[_0x1d0046(0x1dd)](_0x2209eb[_0x1d0046(0x38d)][_0x1d0046(0x33f)]),_0x12eab2=_0x6cf162[_0x1d0046(0x398)](_0x2209eb[_0x1d0046(0x2f3)][_0x1d0046(0x22d)]([_0x572d70,_0x5abcb9]),_0xb79329),_0x52bedb=_0x1f8e9a[_0x1d0046(0x352)](_0x122256,_0xd798be,_0x467e5b,_0x2041fa,_0x12eab2);((_0x22a725=this[_0x1d0046(0x3a2)])==null?void 0x0:_0x22a725[_0x1d0046(0x2b7)])===_0x52bedb[_0x1d0046(0x2b7)]&&((_0x49198b=this[_0x1d0046(0x3a2)])==null?void 0x0:_0x49198b['row'])===_0x52bedb[_0x1d0046(0x23e)]||this[_0x1d0046(0x3b4)][_0x1d0046(0x317)](_0x137e12=>{_0x137e12['onMouseMove'](_0x52bedb);});},0x64));});}[_0x272080(0x24e)](_0x1cea9f,_0xd3dc5c){const _0x1db68c=_0x272080;var _0x81e5f3;const _0x47e511=(_0x81e5f3=this[_0x1db68c(0x3ae)]['getCurrent']())==null?void 0x0:_0x81e5f3[_0x1db68c(0x3e9)];if(!_0x47e511)return;const _0x36c60f=this[_0x1db68c(0x404)]();if(!_0x36c60f)return;this[_0x1db68c(0x3b4)][_0x1db68c(0x317)](_0x3a323d=>{const _0x5e2fbe=_0x1db68c;_0x3a323d[_0x5e2fbe(0x2f4)]();});const {scene:_0xef88fd}=_0x36c60f,_0x2ec39e=_0x5945dd(Array[_0x1db68c(0x15a)](_0xd3dc5c[_0x1db68c(0x28f)]()))[_0x1db68c(0x188)](_0x4400de=>{const _0x246c21=_0x1db68c,{color:_0x589285,range:_0x53d3d2,name:_0x3da82f,selection:_0x5cf200,sheetID:_0x1cc4c3}=_0x4400de,{startColumn:_0x43709e,startRow:_0x1ff450,endColumn:_0x1fcf13,endRow:_0x25d530}=_0x53d3d2,_0x1f9026=_0x6f8d75['getCoordByCell'](_0x1ff450,_0x43709e,_0xef88fd,_0x47e511),_0x297bcb=_0x6f8d75[_0x246c21(0x23a)](_0x25d530,_0x1fcf13,_0xef88fd,_0x47e511),{columnHeaderHeightAndMarginTop:_0x3b5a3b}=_0x47e511,{startX:_0x169b13,startY:_0x6e7f75}=_0x1f9026,{endX:_0x3bdfbe,endY:_0x3cac62}=_0x297bcb,_0x1a29f6=_0x3bdfbe-_0x169b13,_0x179638=_0x3cac62-_0x6e7f75,_0x3b2feb={'labelPosition':_0x6e7f75-_0x3b5a3b>=_0x235ca2?'top':_0x246c21(0x1d8),'sheetID':_0x1cc4c3,'range':_0x53d3d2,'color':_0x589285,'name':_0x3da82f,'selection':_0x5cf200,'left':_0x169b13,'top':_0x6e7f75,'width':_0x1a29f6,'height':_0x179638,'evented':!0x1,'zIndex':_0x4495cb};return new _0xba3d32(_0x3da82f,_0x3b2feb);});_0xef88fd[_0x1db68c(0x3bc)](_0x2ec39e,_0x2a5711),this[_0x1db68c(0x3b4)]=new Set(_0x2ec39e);}['_removeCollabCursors'](){const _0x564d90=_0x272080;var _0x579349;(_0x579349=this[_0x564d90(0x3b4)])==null||_0x579349[_0x564d90(0x317)](_0x31c882=>_0x31c882[_0x564d90(0x3e7)]());}[_0x272080(0x404)](){const _0x579526=_0x272080;return _0x6f8d75[_0x579526(0x20c)](this[_0x579526(0x19a)]['unit'],this[_0x579526(0x19a)]);}};_0x2b81a8=_0x3c5a22([_0x27ebd5(0x1,_0x34ef93[_0x272080(0x2b6)](_0x6f8d75[_0x272080(0x298)])),_0x27ebd5(0x2,_0x34ef93[_0x272080(0x2b6)](_0x3a2a53)),_0x27ebd5(0x3,_0x34ef93['Inject'](_0x34ef93[_0x272080(0x39f)]))],_0x2b81a8);function _0x5945dd(_0x5ca697){const _0x5273fd=_0x272080,_0x2f04ba=new Map();return _0x5ca697[_0x5273fd(0x317)](_0x3720be=>{const _0x40eacd=_0x5273fd;if(_0x2f04ba[_0x40eacd(0x342)](_0x3720be['selection'])){const _0x40ec07=_0x2f04ba[_0x40eacd(0x18b)](_0x3720be[_0x40eacd(0x323)]);_0x40ec07['name']+=',\x20'+_0x3720be[_0x40eacd(0x189)];}else _0x2f04ba['set'](_0x3720be[_0x40eacd(0x323)],_0x3720be);}),Array[_0x5273fd(0x15a)](_0x2f04ba[_0x5273fd(0x28f)]());}var _0x5319ba=function(){const _0xf6d771=_0x272080;return _0x5319ba=Object[_0xf6d771(0x2bf)]||function(_0x1088c7){const _0x15ea8a=_0xf6d771;for(var _0x1976ee,_0x2a2081=0x1,_0x269805=arguments[_0x15ea8a(0x1a6)];_0x2a2081<_0x269805;_0x2a2081++){_0x1976ee=arguments[_0x2a2081];for(var _0x7a6041 in _0x1976ee)Object[_0x15ea8a(0x1f0)][_0x15ea8a(0x239)][_0x15ea8a(0x1e2)](_0x1976ee,_0x7a6041)&&(_0x1088c7[_0x7a6041]=_0x1976ee[_0x7a6041]);}return _0x1088c7;},_0x5319ba[_0xf6d771(0x2f5)](this,arguments);},_0x26396d=function(_0xc3ae49,_0x70fc6){const _0x5b5a3a=_0x272080;var _0x4d4c57={};for(var _0x40e878 in _0xc3ae49)Object['prototype']['hasOwnProperty']['call'](_0xc3ae49,_0x40e878)&&_0x70fc6['indexOf'](_0x40e878)<0x0&&(_0x4d4c57[_0x40e878]=_0xc3ae49[_0x40e878]);if(_0xc3ae49!=null&&typeof Object['getOwnPropertySymbols']==_0x5b5a3a(0x386)){for(var _0x2101b9=0x0,_0x40e878=Object['getOwnPropertySymbols'](_0xc3ae49);_0x2101b9<_0x40e878['length'];_0x2101b9++)_0x70fc6[_0x5b5a3a(0x1d4)](_0x40e878[_0x2101b9])<0x0&&Object[_0x5b5a3a(0x1f0)][_0x5b5a3a(0x25c)][_0x5b5a3a(0x1e2)](_0xc3ae49,_0x40e878[_0x2101b9])&&(_0x4d4c57[_0x40e878[_0x2101b9]]=_0xc3ae49[_0x40e878[_0x2101b9]]);}return _0x4d4c57;},_0x353d57=_0x8b31d3[_0x272080(0x3f1)](function(_0x463432,_0x3e1493){const _0x1576a4=_0x272080;var _0x4282ed=_0x463432[_0x1576a4(0x233)],_0x1a5068=_0x463432['id'],_0xb47070=_0x463432[_0x1576a4(0x211)],_0xa9fa9a=_0x463432[_0x1576a4(0x175)],_0x5e54d2=_0x26396d(_0x463432,[_0x1576a4(0x233),'id',_0x1576a4(0x211),_0x1576a4(0x175)]),_0x29977e=_0x1576a4(0x3eb)['concat'](_0x1a5068,'\x20')[_0x1576a4(0x35c)](_0xb47070||'')[_0x1576a4(0x19e)](),_0x5278b4=_0x8b31d3[_0x1576a4(0x275)]('_'['concat'](_0x52fdef()));return _0x2b22c9(_0x4282ed,''[_0x1576a4(0x35c)](_0x1a5068),{'defIds':_0x4282ed[_0x1576a4(0x2d5)],'idSuffix':_0x5278b4[_0x1576a4(0x203)]},_0x5319ba({'ref':_0x3e1493,'className':_0x29977e},_0x5e54d2),_0xa9fa9a);});function _0x2b22c9(_0x447794,_0x4dfc0f,_0x5c2307,_0x87ddb5,_0x58d867){const _0x4a1bd8=_0x272080;return _0x8b31d3[_0x4a1bd8(0x1aa)](_0x447794[_0x4a1bd8(0x33a)],_0x5319ba(_0x5319ba({'key':_0x4dfc0f},_0xcd1aaa(_0x447794,_0x5c2307,_0x58d867)),_0x87ddb5),(_0x4aba40(_0x447794,_0x5c2307)[_0x4a1bd8(0x389)]||[])['map'](function(_0x56c230,_0x3ea915){const _0x42426d=_0x4a1bd8;return _0x2b22c9(_0x56c230,''[_0x42426d(0x35c)](_0x4dfc0f,'-')['concat'](_0x447794['tag'],'-')['concat'](_0x3ea915),_0x5c2307,void 0x0,_0x58d867);}));}function _0xcd1aaa(_0x32ffa8,_0x40b7d6,_0x1d758a){const _0x4efe55=_0x272080;var _0x30a75b=_0x5319ba({},_0x32ffa8[_0x4efe55(0x162)]);_0x1d758a!=null&&_0x1d758a['colorChannel1']&&_0x30a75b[_0x4efe55(0x250)]===_0x4efe55(0x290)&&(_0x30a75b[_0x4efe55(0x250)]=_0x1d758a['colorChannel1']),_0x32ffa8['tag']==='mask'&&_0x30a75b['id']&&(_0x30a75b['id']=_0x30a75b['id']+_0x40b7d6[_0x4efe55(0x367)]),Object[_0x4efe55(0x32f)](_0x30a75b)[_0x4efe55(0x317)](function(_0x4e6247){const _0x74ee1a=_0x4efe55;var _0x1c66e7=_0x4e6247[0x0],_0x1777a6=_0x4e6247[0x1];_0x1c66e7===_0x74ee1a(0x19f)&&typeof _0x1777a6==_0x74ee1a(0x353)&&(_0x30a75b[_0x1c66e7]=_0x1777a6[_0x74ee1a(0x24a)](/url\(#(.*)\)/,_0x74ee1a(0x23d)[_0x74ee1a(0x35c)](_0x40b7d6[_0x74ee1a(0x367)],')')));});var _0x1b865d=_0x40b7d6[_0x4efe55(0x2d5)];return!_0x1b865d||_0x1b865d[_0x4efe55(0x1a6)]===0x0||(_0x32ffa8[_0x4efe55(0x33a)]===_0x4efe55(0x25b)&&_0x30a75b[_0x4efe55(0x1c0)]&&(_0x30a75b[_0x4efe55(0x1c0)]=_0x30a75b['xlink:href']+_0x40b7d6[_0x4efe55(0x367)]),Object[_0x4efe55(0x32f)](_0x30a75b)['forEach'](function(_0x2eec34){const _0x13a77d=_0x4efe55;var _0x128725=_0x2eec34[0x0],_0x26c8f6=_0x2eec34[0x1];typeof _0x26c8f6==_0x13a77d(0x353)&&(_0x30a75b[_0x128725]=_0x26c8f6['replace'](/url\(#(.*)\)/,_0x13a77d(0x23d)['concat'](_0x40b7d6[_0x13a77d(0x367)],')')));})),_0x30a75b;}function _0x4aba40(_0x3f39ab,_0x71eddf){const _0x12bc7b=_0x272080;var _0x4fb5ee,_0x386028=_0x71eddf[_0x12bc7b(0x2d5)];return!_0x386028||_0x386028['length']===0x0?_0x3f39ab:_0x3f39ab[_0x12bc7b(0x33a)]==='defs'&&(!((_0x4fb5ee=_0x3f39ab[_0x12bc7b(0x389)])===null||_0x4fb5ee===void 0x0)&&_0x4fb5ee[_0x12bc7b(0x1a6)])?_0x5319ba(_0x5319ba({},_0x3f39ab),{'children':_0x3f39ab[_0x12bc7b(0x389)][_0x12bc7b(0x188)](function(_0x19abda){const _0x1846c4=_0x12bc7b;return typeof _0x19abda[_0x1846c4(0x162)]['id']==_0x1846c4(0x353)&&_0x386028&&_0x386028['indexOf'](_0x19abda[_0x1846c4(0x162)]['id'])>-0x1?_0x5319ba(_0x5319ba({},_0x19abda),{'attrs':_0x5319ba(_0x5319ba({},_0x19abda[_0x1846c4(0x162)]),{'id':_0x19abda[_0x1846c4(0x162)]['id']+_0x71eddf[_0x1846c4(0x367)]})}):_0x19abda;})}):_0x3f39ab;}function _0x52fdef(){const _0x28b22b=_0x272080;return Math[_0x28b22b(0x208)]()['toString'](0x24)[_0x28b22b(0x1a2)](0x2,0x8);}_0x353d57['displayName']=_0x272080(0x3c7);var _0x2feacc={'tag':_0x272080(0x2c7),'attrs':{'fill':_0x272080(0x407),'viewBox':_0x272080(0x1db),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x272080(0x18e),'d':_0x272080(0x37c),'strokeLinecap':_0x272080(0x28c),'strokeLinejoin':_0x272080(0x28c),'strokeWidth':1.2}}]},{'tag':_0x272080(0x2fa),'attrs':{},'children':[{'tag':_0x272080(0x3db),'attrs':{'id':_0x272080(0x282)},'children':[{'tag':_0x272080(0x3dd),'attrs':{'fill':'#fff','d':_0x272080(0x308)}}]}]}],'defIds':[_0x272080(0x282)]},_0x2a7dc7=_0x8b31d3['forwardRef'](function(_0x1ff059,_0xdbc68d){const _0x59e3be=_0x272080;return _0x8b31d3[_0x59e3be(0x1aa)](_0x353d57,Object[_0x59e3be(0x2bf)]({},_0x1ff059,{'id':_0x59e3be(0x362),'ref':_0xdbc68d,'icon':_0x2feacc}));});_0x2a7dc7[_0x272080(0x2a6)]=_0x272080(0x3bf);var _0x16c759={'tag':'svg','attrs':{'fill':_0x272080(0x407),'viewBox':_0x272080(0x197),'width':_0x272080(0x3d9),'height':_0x272080(0x3d9)},'children':[{'tag':'g','attrs':{'clipPath':_0x272080(0x1a1)},'children':[{'tag':_0x272080(0x3dd),'attrs':{'stroke':_0x272080(0x18e),'d':_0x272080(0x345),'strokeLinecap':_0x272080(0x28c),'strokeLinejoin':_0x272080(0x28c),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x272080(0x3dd),'attrs':{'fill':_0x272080(0x166),'d':_0x272080(0x308),'transform':_0x272080(0x35b)}}]}]}],'defIds':[_0x272080(0x339)]},_0x16e296=_0x8b31d3[_0x272080(0x3f1)](function(_0x13110c,_0x5cf2df){const _0x10bb39=_0x272080;return _0x8b31d3[_0x10bb39(0x1aa)](_0x353d57,Object[_0x10bb39(0x2bf)]({},_0x13110c,{'id':_0x10bb39(0x3cb),'ref':_0x5cf2df,'icon':_0x16c759}));});_0x16e296[_0x272080(0x2a6)]=_0x272080(0x381);const _0x22dc39={'onlineStatusIcon':_0x272080(0x340),'onlineStatusTitle':_0x272080(0x2ac),'onlineStatus':_0x272080(0x34d),'online':_0x272080(0x3a6),'offline':_0x272080(0x34f)};function _0x3cadbf(_0x19a9ef){const _0x50f48f=_0x272080;switch(_0x19a9ef){case _0x532446[_0x50f48f(0x155)][_0x50f48f(0x3b1)]:return _0x50f48f(0x276);case _0x532446[_0x50f48f(0x155)][_0x50f48f(0x2b3)]:return _0x50f48f(0x2a8);case _0x532446[_0x50f48f(0x155)][_0x50f48f(0x2a0)]:return _0x50f48f(0x20e);case _0x532446[_0x50f48f(0x155)]['NOT_COLLAB']:return _0x50f48f(0x287);case _0x532446[_0x50f48f(0x155)][_0x50f48f(0x3de)]:case _0x532446[_0x50f48f(0x155)][_0x50f48f(0x31e)]:return'collabStatus.syncing';case _0x532446[_0x50f48f(0x155)][_0x50f48f(0x3ab)]:case _0x532446[_0x50f48f(0x155)][_0x50f48f(0x247)]:return'collabStatus.synced';}}function _0x3d3adb(_0x3ef100){const _0x290a88=_0x272080,{status$:_0x393a62}=_0x3ef100,_0x48b68a=_0x28ec01['useObservable'](_0x393a62,_0x532446['CollaborationStatus'][_0x290a88(0x394)]),_0x36c545=_0x28ec01[_0x290a88(0x22f)](_0x34ef93['LocaleService']),_0x37f37b=_0x28ec01['useDependency'](_0x532446['CollaborationSessionService']),_0x4ddcc7=_0x48b68a!==_0x532446[_0x290a88(0x155)][_0x290a88(0x3b1)],_0x4f1f20=_0x36c545['t'](_0x3cadbf(_0x48b68a)),_0x14ba1a=_0x5074dc[_0x290a88(0x213)](_0x22dc39[_0x290a88(0x39d)],{[_0x22dc39[_0x290a88(0x337)]]:_0x4ddcc7,[_0x22dc39[_0x290a88(0x3a3)]]:!_0x4ddcc7}),_0x394922=_0x4ddcc7?_0x40d2c5[_0x290a88(0x2cf)](_0x16e296,{}):_0x40d2c5[_0x290a88(0x2cf)](_0x2a7dc7,{}),_0x5edb9d=_0x8b31d3['useCallback'](()=>{const _0x3424bc=_0x290a88;_0x4ddcc7||_0x37f37b[_0x3424bc(0x1b2)]();},[_0x4ddcc7,_0x37f37b]);function _0x5a9ac4(){const _0x301738=_0x290a88;return _0x40d2c5[_0x301738(0x235)](_0x301738(0x35f),{'className':_0x5074dc[_0x301738(0x213)](_0x14ba1a,_0x301738(0x1ca)),'onClick':_0x5edb9d,'children':[_0x40d2c5[_0x301738(0x2cf)]('div',{'className':_0x22dc39['onlineStatusIcon'],'children':_0x394922}),_0x40d2c5[_0x301738(0x2cf)](_0x301738(0x35f),{'className':_0x22dc39['onlineStatusTitle'],'children':_0x4f1f20})]});}return _0x4ddcc7?_0x5a9ac4():_0x40d2c5['jsx'](_0x5074dc[_0x290a88(0x1c5)],{'title':_0x36c545['t'](_0x290a88(0x2f7)),'children':_0x5a9ac4()});}var _0x1aa291=Object[_0x272080(0x39a)],_0xccd6a5=(_0x5944c0,_0x12bd2b,_0x54794d,_0x19cbd2)=>{const _0xd7fb14=_0x272080;for(var _0x5c5320=_0x19cbd2>0x1?void 0x0:_0x19cbd2?_0x1aa291(_0x12bd2b,_0x54794d):_0x12bd2b,_0x41415a=_0x5944c0[_0xd7fb14(0x1a6)]-0x1,_0x170cf8;_0x41415a>=0x0;_0x41415a--)(_0x170cf8=_0x5944c0[_0x41415a])&&(_0x5c5320=_0x170cf8(_0x5c5320)||_0x5c5320);return _0x5c5320;},_0x473db4=(_0x4b5a77,_0x3a582d)=>(_0x4b1206,_0x2596ef)=>_0x3a582d(_0x4b1206,_0x2596ef,_0x4b5a77);_0x5751ef[_0x272080(0x271)]=class extends _0x34ef93[_0x272080(0x1d6)]{constructor(_0x4bc72f,_0x1521ad,_0x34cb0e,_0x355258){const _0x3d24df=_0x272080;super(),_0x8888c3(this,_0x3d24df(0x3be),new _0x5d5b35['BehaviorSubject'](_0x532446['CollaborationStatus'][_0x3d24df(0x394)])),(this[_0x3d24df(0x293)]=_0x4bc72f,this['_injector']=_0x1521ad,this[_0x3d24df(0x36e)]=_0x34cb0e,this['_uiPartsService']=_0x355258,this[_0x3d24df(0x286)](),this['_initStatusListener']());}[_0x272080(0x35d)](){const _0x416dcc=_0x272080;this[_0x416dcc(0x344)](this[_0x416dcc(0x293)]['focused$']['pipe'](_0x5d5b35[_0x416dcc(0x288)](()=>{const _0x1798ac=_0x416dcc,_0x12941d=this[_0x1798ac(0x293)]['getFocusedUnit']();return _0x12941d?this['_collaborationController'][_0x1798ac(0x159)](_0x12941d['getUnitId']()):_0x5d5b35['of'](null);}),_0x5d5b35['switchMap'](_0x26e615=>_0x26e615?_0x26e615['status$']:_0x5d5b35['of'](_0x532446['CollaborationStatus']['NOT_COLLAB'])))['subscribe'](_0x6badf1=>{const _0xe734ba=_0x416dcc;this[_0xe734ba(0x3be)]['next'](_0x6badf1);}));}[_0x272080(0x286)](){const _0x366118=_0x272080;this[_0x366118(0x344)](this[_0x366118(0x182)][_0x366118(0x3e2)](_0x28ec01[_0x366118(0x2c4)][_0x366118(0x284)],()=>_0x28ec01[_0x366118(0x201)](_0x3d71b1({'status$':this[_0x366118(0x3be)][_0x366118(0x194)]()}),this[_0x366118(0x1cd)])));}},_0x5751ef[_0x272080(0x271)]=_0xccd6a5([_0x473db4(0x0,_0x34ef93['IUniverInstanceService']),_0x473db4(0x1,_0x34ef93[_0x272080(0x2b6)](_0x34ef93['Injector'])),_0x473db4(0x2,_0x34ef93['Inject'](_0x532446[_0x272080(0x1d3)])),_0x473db4(0x3,_0x28ec01[_0x272080(0x2de)])],_0x5751ef[_0x272080(0x271)]);function _0x3d71b1(_0x2487dd){const {status$:_0x405103}=_0x2487dd;return function(){const _0x337e0c=_0x34df;return _0x40d2c5[_0x337e0c(0x2cf)](_0x3d3adb,{'status$':_0x405103});};}var _0x18869a=Object[_0x272080(0x39a)],_0x3f7c68=(_0xe66c16,_0x31f81d,_0x3cde0,_0x85820b)=>{const _0x5263a5=_0x272080;for(var _0x32df56=_0x85820b>0x1?void 0x0:_0x85820b?_0x18869a(_0x31f81d,_0x3cde0):_0x31f81d,_0x17f894=_0xe66c16[_0x5263a5(0x1a6)]-0x1,_0x228a8d;_0x17f894>=0x0;_0x17f894--)(_0x228a8d=_0xe66c16[_0x17f894])&&(_0x32df56=_0x228a8d(_0x32df56)||_0x32df56);return _0x32df56;},_0x1d224a=(_0x4bbd14,_0x4ad16e)=>(_0x50c7b3,_0x4b1a6f)=>_0x4ad16e(_0x50c7b3,_0x4b1a6f,_0x4bbd14);let _0x4d2528=class extends _0x34ef93[_0x272080(0x1d6)]{constructor(_0x531c9b,_0x4888a8,_0x2cbf4a,_0x3c3576,_0x59a6b9,_0x339480){const _0x4b0f34=_0x272080;super(),this[_0x4b0f34(0x16f)]=_0x531c9b,this[_0x4b0f34(0x2a4)]=_0x4888a8,this[_0x4b0f34(0x270)]=_0x2cbf4a,this[_0x4b0f34(0x388)]=_0x3c3576,this[_0x4b0f34(0x395)]=_0x59a6b9,this[_0x4b0f34(0x22a)]=_0x339480,this[_0x4b0f34(0x3f4)](),this[_0x4b0f34(0x2e8)]();}['_setupBeforeClosingHandler'](){const _0xe094c=_0x272080;this[_0xe094c(0x344)](this[_0xe094c(0x16f)]['registerBeforeClose'](()=>{const _0x538f9c=_0xe094c;if(this[_0x538f9c(0x2a4)][_0x538f9c(0x304)][_0x538f9c(0x3c4)])return this[_0x538f9c(0x22a)]['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x2be8b2=_0x272080;this[_0x2be8b2(0x344)](this[_0x2be8b2(0x270)][_0x2be8b2(0x280)][_0x2be8b2(0x1de)](_0x4d18bd=>{const _0x4f07cc=_0x2be8b2;_0x4d18bd['id']===_0x532446[_0x4f07cc(0x3a0)][_0x4f07cc(0x1e5)]&&this['_messageService'][_0x4f07cc(0x2a3)]({'type':_0x5074dc[_0x4f07cc(0x334)][_0x4f07cc(0x2e2)],'content':this[_0x4f07cc(0x22a)]['t'](_0x4f07cc(0x172))}),_0x4d18bd['id']===_0x532446[_0x4f07cc(0x3a0)][_0x4f07cc(0x1d0)]&&this[_0x4f07cc(0x388)]['show']({'type':_0x5074dc['MessageType'][_0x4f07cc(0x2e2)],'content':this['_localeService']['t'](_0x4f07cc(0x156))}),_0x4d18bd['id']===_0x532446['CollaborationUIEventId'][_0x4f07cc(0x226)]&&this[_0x4f07cc(0x395)][_0x4f07cc(0x2a3)]({'title':this[_0x4f07cc(0x22a)]['t']('permission.title'),'content':this[_0x4f07cc(0x22a)]['t'](_0x4f07cc(0x21e)),'type':'error','duration':0x0}),_0x4d18bd['id']===_0x532446[_0x4f07cc(0x3a0)]['CONFLICT']&&this[_0x4f07cc(0x388)][_0x4f07cc(0x2a3)]({'type':_0x5074dc[_0x4f07cc(0x334)][_0x4f07cc(0x1f4)],'content':this[_0x4f07cc(0x22a)]['t'](_0x4f07cc(0x156))+'('+_0x4d18bd['data']+')'}),_0x4d18bd['id']===_0x532446[_0x4f07cc(0x3a0)][_0x4f07cc(0x187)]&&this[_0x4f07cc(0x388)]['show']({'type':_0x5074dc[_0x4f07cc(0x334)][_0x4f07cc(0x2e2)],'content':this[_0x4f07cc(0x22a)]['t'](_0x4d18bd[_0x4f07cc(0x329)]||'')}),_0x4d18bd['id']===_0x532446['CollaborationUIEventId'][_0x4f07cc(0x1c9)]&&this[_0x4f07cc(0x388)][_0x4f07cc(0x2a3)]({'type':_0x5074dc[_0x4f07cc(0x334)][_0x4f07cc(0x2e2)],'content':this[_0x4f07cc(0x22a)]['t'](_0x4f07cc(0x174))}),_0x4d18bd['id']===_0x532446[_0x4f07cc(0x3a0)][_0x4f07cc(0x2f9)]&&this[_0x4f07cc(0x388)][_0x4f07cc(0x2a3)]({'type':_0x5074dc[_0x4f07cc(0x334)][_0x4f07cc(0x1f4)],'content':this[_0x4f07cc(0x22a)]['t'](_0x4f07cc(0x25f))}),_0x4d18bd['id']===_0x532446[_0x4f07cc(0x3a0)][_0x4f07cc(0x24f)]&&this[_0x4f07cc(0x388)][_0x4f07cc(0x2a3)]({'type':_0x5074dc['MessageType'][_0x4f07cc(0x1f4)],'content':this[_0x4f07cc(0x22a)]['t'](_0x4f07cc(0x257))});}));}};_0x4d2528=_0x3f7c68([_0x1d224a(0x0,_0x28ec01['IBeforeCloseService']),_0x1d224a(0x1,_0x532446[_0x272080(0x291)]),_0x1d224a(0x2,_0x34ef93[_0x272080(0x2b6)](_0x532446[_0x272080(0x3e0)])),_0x1d224a(0x3,_0x28ec01[_0x272080(0x2ea)]),_0x1d224a(0x4,_0x28ec01[_0x272080(0x365)]),_0x1d224a(0x5,_0x34ef93[_0x272080(0x2b6)](_0x34ef93[_0x272080(0x253)]))],_0x4d2528);const _0x5e66f7='collaboration-client-ui.config',_0x2f4c4c={},_0x1ee0c8=_0x34ef93[_0x272080(0x238)]('uni.network.url-service');var _0x52a7c6=Object['getOwnPropertyDescriptor'],_0x1c0f11=(_0x423814,_0x5ec181,_0x319f1b,_0x2225a9)=>{const _0x3c639f=_0x272080;for(var _0x4e5430=_0x2225a9>0x1?void 0x0:_0x2225a9?_0x52a7c6(_0x5ec181,_0x319f1b):_0x5ec181,_0x5d4060=_0x423814[_0x3c639f(0x1a6)]-0x1,_0x2dcd76;_0x5d4060>=0x0;_0x5d4060--)(_0x2dcd76=_0x423814[_0x5d4060])&&(_0x4e5430=_0x2dcd76(_0x4e5430)||_0x4e5430);return _0x4e5430;},_0x3d09da=(_0x12c456,_0x7d1b31)=>(_0x2f4bc5,_0x586222)=>_0x7d1b31(_0x2f4bc5,_0x586222,_0x12c456);_0x5751ef['CollaborationDataLoaderController']=class extends _0x34ef93[_0x272080(0x264)]{constructor(_0x1bb07e,_0x318154,_0x31a325,_0x4a2680,_0x423de4){const _0x65936f=_0x272080;super(),this[_0x65936f(0x1c8)]=_0x1bb07e,this[_0x65936f(0x27d)]=_0x318154,this[_0x65936f(0x399)]=_0x31a325,this[_0x65936f(0x30e)]=_0x4a2680,_0x423de4?_0x423de4==null||_0x423de4[_0x65936f(0x1fe)]()[_0x65936f(0x2f2)](()=>this[_0x65936f(0x25a)]()):(this[_0x65936f(0x27d)][_0x65936f(0x223)]('[CollaborationDataLoaderController]',_0x65936f(0x17b)),this['_init']());}async[_0x272080(0x25a)](){const _0x55858f=_0x272080,_0xc787a8=this[_0x55858f(0x1c8)][_0x55858f(0x3b7)](_0x55858f(0x254)),_0x34d7f2=this[_0x55858f(0x1c8)][_0x55858f(0x3b7)]('type'),_0x250a94=this[_0x55858f(0x1c8)][_0x55858f(0x3b7)](_0x55858f(0x333));if(!_0xc787a8||!_0x34d7f2){this['_logService']['debug'](_0x55858f(0x3f6),_0x55858f(0x19c));return;}const _0x570d98=await this[_0x55858f(0x30e)][_0x55858f(0x278)](_0xc787a8,Number(_0x34d7f2),_0x250a94);_0x570d98&&_0x570d98 instanceof _0x34ef93[_0x55858f(0x1cc)]&&this[_0x55858f(0x2e0)](_0x570d98);}async[_0x272080(0x2e0)](_0x154438){const _0x161541=_0x272080;await this[_0x161541(0x18c)](_0x154438),_0x154438['activeSheet$'][_0x161541(0x322)](_0x5d5b35[_0x161541(0x258)](this[_0x161541(0x296)]))[_0x161541(0x1de)](_0x4d17c1=>{const _0x58f8e7=_0x161541;_0x4d17c1&&this[_0x58f8e7(0x1fb)](_0x4d17c1);}),this['_urlService']['urlChange$']['pipe'](_0x5d5b35['takeUntil'](this['dispose$']))[_0x161541(0x1de)](()=>this[_0x161541(0x18c)](_0x154438));}[_0x272080(0x1fb)](_0x55620f,_0x34b092=!0x1){const _0x3c2750=_0x272080,_0x40e931=this['_urlService'][_0x3c2750(0x3b7)](_0x3c2750(0x333));_0x55620f[_0x3c2750(0x236)]()!==_0x40e931&&this[_0x3c2750(0x1c8)]['setParam'](_0x3c2750(0x333),_0x55620f[_0x3c2750(0x236)](),_0x34b092);}async[_0x272080(0x18c)](_0x301091){const _0xb141f0=_0x272080;var _0x1e49a3;const _0x1342fb=this[_0xb141f0(0x1c8)][_0xb141f0(0x3b7)]('subunit');if(!_0x1342fb||!_0x301091['getSheetBySheetId'](_0x1342fb)){const _0x30af23=_0x301091[_0xb141f0(0x1ef)]()[0x0],_0x1f35e5=_0x301091[_0xb141f0(0x3bb)](_0x30af23);if(!_0x1f35e5)return;this[_0xb141f0(0x1fb)](_0x1f35e5,!0x0),await this[_0xb141f0(0x399)][_0xb141f0(0x3cf)](_0x3b361a[_0xb141f0(0x1ab)]['id'],{'unitId':_0x301091[_0xb141f0(0x23b)](),'subUnitId':_0x30af23});return;}((_0x1e49a3=_0x301091[_0xb141f0(0x212)]())==null?void 0x0:_0x1e49a3[_0xb141f0(0x236)]())!==_0x1342fb&&await this[_0xb141f0(0x399)][_0xb141f0(0x3cf)](_0x3b361a[_0xb141f0(0x1ab)]['id'],{'unitId':_0x301091[_0xb141f0(0x23b)](),'subUnitId':_0x1342fb});}},_0x5751ef[_0x272080(0x2bb)]=_0x1c0f11([_0x3d09da(0x0,_0x1ee0c8),_0x3d09da(0x1,_0x34ef93[_0x272080(0x3b3)]),_0x3d09da(0x2,_0x34ef93['ICommandService']),_0x3d09da(0x3,_0x34ef93[_0x272080(0x2b6)](_0x532446[_0x272080(0x261)])),_0x3d09da(0x4,_0x34ef93[_0x272080(0x2ae)](_0x401dab['IRemoteInstanceService']))],_0x5751ef[_0x272080(0x2bb)]);var _0x5f1c0a=Object[_0x272080(0x39a)],_0x28579b=(_0x30d8b3,_0x42b330,_0x3689e7,_0x17f2be)=>{const _0x3588bc=_0x272080;for(var _0x21b7ca=_0x17f2be>0x1?void 0x0:_0x17f2be?_0x5f1c0a(_0x42b330,_0x3689e7):_0x42b330,_0x329500=_0x30d8b3[_0x3588bc(0x1a6)]-0x1,_0x374bff;_0x329500>=0x0;_0x329500--)(_0x374bff=_0x30d8b3[_0x329500])&&(_0x21b7ca=_0x374bff(_0x21b7ca)||_0x21b7ca);return _0x21b7ca;},_0x11f750=(_0x32c190,_0x510ae1)=>(_0x3be0f6,_0x484be3)=>_0x510ae1(_0x3be0f6,_0x484be3,_0x32c190);let _0xbd984d=class{constructor(_0x18689d,_0x43f51e,_0x388aeb){const _0x3c5ecd=_0x272080;this['_injector']=_0x18689d,this[_0x3c5ecd(0x237)]=_0x43f51e,this[_0x3c5ecd(0x283)]=_0x388aeb;}[_0x272080(0x21b)](_0x103656){const _0x3d1c78=_0x272080;this[_0x3d1c78(0x391)](_0x103656),this[_0x3d1c78(0x179)](_0x103656);}[_0x272080(0x300)](_0x2477b0){const _0x56beb6=_0x272080,{unitID:_0x471255}=_0x2477b0,_0x165a6b=this[_0x56beb6(0x283)][_0x56beb6(0x2fb)](_0x471255)[_0x56beb6(0x16b)](_0x224eaf['DocIMEInputManagerService']),{redoCache:_0x34bddb}=_0x165a6b[_0x56beb6(0x3b9)]();if(_0x34bddb[_0x56beb6(0x1a6)]===0x0)return _0x2477b0;let _0x3d86ba=_0x34ef93[_0x56beb6(0x22b)][_0x56beb6(0x2ce)](_0x2477b0['mutations'][0x0]);for(let _0x55115a=0x0;_0x55115a<_0x34bddb[_0x56beb6(0x1a6)];_0x55115a++){const _0x546636={'id':_0x56beb6(0x289),'params':{..._0x34bddb[_0x55115a]}},_0x4adaeb=this['_transformService'][_0x56beb6(0x313)](_0x3d86ba,_0x546636,!0x1);if(_0x1ed92e[_0x56beb6(0x3d2)](_0x4adaeb))throw _0x4adaeb[_0x56beb6(0x1f6)];_0x3d86ba=_0x4adaeb[_0x56beb6(0x1f3)];}return{..._0x34ef93[_0x56beb6(0x22b)][_0x56beb6(0x2ce)](_0x2477b0),'mutations':[_0x3d86ba]};}[_0x272080(0x391)](_0x9cb20c){const _0x483379=_0x272080,{unitID:_0x386877}=_0x9cb20c,_0x533028=this[_0x483379(0x283)]['getRenderById'](_0x386877)[_0x483379(0x16b)](_0x224eaf[_0x483379(0x224)]),{undoCache:_0x3a83c3,redoCache:_0x45894e}=_0x533028['getUndoRedoMutationParamsCache']();if(_0x3a83c3[_0x483379(0x1a6)]===0x0||_0x45894e[_0x483379(0x1a6)]===0x0)return;const _0x2a8a2f=[],_0x35e398=[];let _0x5334fb=_0x34ef93[_0x483379(0x22b)][_0x483379(0x2ce)](_0x9cb20c['mutations'][0x0]),_0x1343bf=_0x34ef93[_0x483379(0x22b)][_0x483379(0x2ce)](_0x9cb20c[_0x483379(0x2da)][0x0]);for(let _0x164993=_0x3a83c3['length']-0x1;_0x164993>=0x0;_0x164993--){const _0x85c212={'id':'doc.mutation.rich-text-editing','params':{..._0x3a83c3[_0x164993]}},_0x363021={'id':_0x483379(0x289),'params':{..._0x45894e[_0x164993]}},_0x1d5d98=this[_0x483379(0x237)][_0x483379(0x313)](_0x5334fb,_0x85c212,!0x1),_0x1bb5cc=this[_0x483379(0x237)][_0x483379(0x313)](_0x1343bf,_0x363021,!0x1);if(_0x1ed92e[_0x483379(0x3d2)](_0x1d5d98))throw _0x1d5d98[_0x483379(0x1f6)];if(_0x1ed92e['isTransformMutationFailure'](_0x1bb5cc))throw _0x1bb5cc['error'];_0x2a8a2f[_0x483379(0x26c)](_0x1d5d98[_0x483379(0x3e8)][_0x483379(0x2c9)]),_0x35e398[_0x483379(0x26c)](_0x1bb5cc[_0x483379(0x3e8)][_0x483379(0x2c9)]),_0x5334fb=_0x1d5d98[_0x483379(0x1f3)],_0x1343bf=_0x1bb5cc[_0x483379(0x1f3)];}_0x533028[_0x483379(0x31a)]({'undoCache':_0x2a8a2f,'redoCache':_0x35e398});}[_0x272080(0x179)](_0x1e8897){const _0x1f6aee=_0x272080,{unitID:_0x18f168}=_0x1e8897,_0x559d65=this['_renderManagerService'][_0x1f6aee(0x2fb)](_0x18f168)['with'](_0x224eaf[_0x1f6aee(0x224)]),_0x68d0aa=_0x559d65[_0x1f6aee(0x28b)]();if(_0x68d0aa==null)return;const _0x2c828e=[{'id':_0x1f6aee(0x289),'params':{'unitId':_0x1e8897[_0x1f6aee(0x349)],'actions':null,'textRanges':[_0x68d0aa]}}],_0x169299=this[_0x1f6aee(0x237)][_0x1f6aee(0x227)](_0x1e8897,_0x2c828e);if(!_0x1ed92e[_0x1f6aee(0x192)](_0x169299))throw _0x169299[_0x1f6aee(0x1f6)];const _0x1b4fbb=_0x169299[_0x1f6aee(0x3e8)][0x0][_0x1f6aee(0x2c9)]['textRanges'];Array[_0x1f6aee(0x392)](_0x1b4fbb)&&_0x1b4fbb[_0x1f6aee(0x1a6)]&&_0x559d65[_0x1f6aee(0x259)](_0x1b4fbb[0x0]);}};_0xbd984d=_0x28579b([_0x11f750(0x0,_0x34ef93['Inject'](_0x34ef93[_0x272080(0x2d8)])),_0x11f750(0x1,_0x1ed92e[_0x272080(0x3ba)]),_0x11f750(0x2,_0x2209eb['IRenderManagerService'])],_0xbd984d);var _0x3ad897=Object[_0x272080(0x39a)],_0x38923a=(_0x2b0a25,_0x25c746,_0x198c52,_0x5e5952)=>{const _0x5b3ed4=_0x272080;for(var _0x5e054a=_0x5e5952>0x1?void 0x0:_0x5e5952?_0x3ad897(_0x25c746,_0x198c52):_0x25c746,_0x1d05cd=_0x2b0a25[_0x5b3ed4(0x1a6)]-0x1,_0x2cb0e8;_0x1d05cd>=0x0;_0x1d05cd--)(_0x2cb0e8=_0x2b0a25[_0x1d05cd])&&(_0x5e054a=_0x2cb0e8(_0x5e054a)||_0x5e054a);return _0x5e054a;},_0x50cba8=(_0x5d0de9,_0x287373)=>(_0x2a38ae,_0xaa27f)=>_0x287373(_0x2a38ae,_0xaa27f,_0x5d0de9);let _0x55dd4d=class{constructor(_0xa648b6,_0x1dea51,_0x510d05){const _0x1521e4=_0x272080;this[_0x1521e4(0x1cd)]=_0xa648b6,this[_0x1521e4(0x237)]=_0x1dea51,this[_0x1521e4(0x1a9)]=_0x510d05;}[_0x272080(0x307)](_0x410a30){const _0x3e4bac=_0x272080;this[_0x3e4bac(0x2c2)](_0x410a30);}[_0x272080(0x300)](_0x39f9e7){const _0x2c895d=_0x272080,{unitID:_0x41d847}=_0x39f9e7,{collaboration:_0x5ba650}=this['_docStateChangeManagerService'][_0x2c895d(0x366)](_0x41d847);if(_0x5ba650[_0x2c895d(0x1a6)]===0x0)return _0x39f9e7;let _0x280010=_0x34ef93[_0x2c895d(0x22b)][_0x2c895d(0x2ce)](_0x39f9e7[_0x2c895d(0x2da)][0x0]);for(let _0x212e8b=0x0;_0x212e8b<_0x5ba650[_0x2c895d(0x1a6)];_0x212e8b++){const _0x4c249c={'id':_0x2c895d(0x289),'params':{'unitId':_0x5ba650[_0x212e8b][_0x2c895d(0x1ec)],..._0x5ba650[_0x212e8b][_0x2c895d(0x2e9)]}},_0x4e4c71=this['_transformService'][_0x2c895d(0x313)](_0x280010,_0x4c249c,!0x1);if(_0x1ed92e['isTransformMutationFailure'](_0x4e4c71))throw _0x4e4c71['error'];_0x280010=_0x4e4c71[_0x2c895d(0x1f3)];}return{..._0x34ef93[_0x2c895d(0x22b)][_0x2c895d(0x2ce)](_0x39f9e7),'mutations':[_0x280010]};}[_0x272080(0x2c2)](_0x1b731a){const _0x3a17c3=_0x272080,{unitID:_0x1a8646}=_0x1b731a,{history:_0x163c50,collaboration:_0x46bac0}=this[_0x3a17c3(0x1a9)]['getStateCache'](_0x1a8646);if(_0x163c50[_0x3a17c3(0x1a6)]===0x0&&_0x46bac0[_0x3a17c3(0x1a6)]===0x0)return;const _0x10daaa=[],_0x544d22=[];let _0x261a37=_0x34ef93[_0x3a17c3(0x22b)]['deepClone'](_0x1b731a[_0x3a17c3(0x2da)][0x0]),_0x4e7976=_0x34ef93[_0x3a17c3(0x22b)][_0x3a17c3(0x2ce)](_0x1b731a[_0x3a17c3(0x2da)][0x0]);for(let _0x3a99d6=_0x163c50[_0x3a17c3(0x1a6)]-0x1;_0x3a99d6>=0x0;_0x3a99d6--){const _0x5db07f={'id':_0x3a17c3(0x289),'params':{'unitId':_0x163c50[_0x3a99d6][_0x3a17c3(0x1ec)],..._0x163c50[_0x3a99d6][_0x3a17c3(0x2aa)]}},_0x2074b6={'id':_0x3a17c3(0x289),'params':{'unitId':_0x163c50[_0x3a99d6][_0x3a17c3(0x1ec)],..._0x163c50[_0x3a99d6][_0x3a17c3(0x2e9)]}},_0x204ed5=this[_0x3a17c3(0x237)][_0x3a17c3(0x313)](_0x261a37,_0x5db07f,!0x1),_0x478fa6=this[_0x3a17c3(0x237)][_0x3a17c3(0x313)](_0x4e7976,_0x2074b6,!0x1);if(_0x1ed92e['isTransformMutationFailure'](_0x204ed5))throw _0x204ed5[_0x3a17c3(0x1f6)];if(_0x1ed92e['isTransformMutationFailure'](_0x478fa6))throw _0x478fa6[_0x3a17c3(0x1f6)];_0x10daaa['unshift']({..._0x163c50[_0x3a99d6],'undoState':_0x204ed5[_0x3a17c3(0x3e8)][_0x3a17c3(0x2c9)],'redoState':_0x478fa6[_0x3a17c3(0x3e8)][_0x3a17c3(0x2c9)]}),_0x261a37=_0x204ed5['m1Prime'],_0x4e7976=_0x478fa6['m1Prime'];}_0x261a37=_0x34ef93[_0x3a17c3(0x22b)]['deepClone'](_0x1b731a[_0x3a17c3(0x2da)][0x0]),_0x4e7976=_0x34ef93[_0x3a17c3(0x22b)][_0x3a17c3(0x2ce)](_0x1b731a['mutations'][0x0]);for(let _0x1bd0ee=_0x46bac0[_0x3a17c3(0x1a6)]-0x1;_0x1bd0ee>=0x0;_0x1bd0ee--){const _0xca150b={'id':_0x3a17c3(0x289),'params':{'unitId':_0x46bac0[_0x1bd0ee][_0x3a17c3(0x1ec)],..._0x46bac0[_0x1bd0ee]['undoState']}},_0x3b2025={'id':_0x3a17c3(0x289),'params':{'unitId':_0x46bac0[_0x1bd0ee][_0x3a17c3(0x1ec)],..._0x46bac0[_0x1bd0ee][_0x3a17c3(0x2e9)]}},_0x2bc6c6=this[_0x3a17c3(0x237)][_0x3a17c3(0x313)](_0x261a37,_0xca150b,!0x1),_0x4db3c9=this['_transformService'][_0x3a17c3(0x313)](_0x4e7976,_0x3b2025,!0x1);if(_0x1ed92e[_0x3a17c3(0x3d2)](_0x2bc6c6))throw _0x2bc6c6['error'];if(_0x1ed92e[_0x3a17c3(0x3d2)](_0x4db3c9))throw _0x4db3c9[_0x3a17c3(0x1f6)];_0x544d22[_0x3a17c3(0x26c)]({..._0x46bac0[_0x1bd0ee],'undoState':_0x2bc6c6['m2Prime'][_0x3a17c3(0x2c9)],'redoState':_0x4db3c9[_0x3a17c3(0x3e8)]['params']}),_0x261a37=_0x2bc6c6[_0x3a17c3(0x1f3)],_0x4e7976=_0x4db3c9[_0x3a17c3(0x1f3)];}this['_docStateChangeManagerService'][_0x3a17c3(0x326)](_0x1a8646,{'history':_0x10daaa,'collaboration':_0x544d22});}};_0x55dd4d=_0x38923a([_0x50cba8(0x0,_0x34ef93['Inject'](_0x34ef93[_0x272080(0x2d8)])),_0x50cba8(0x1,_0x1ed92e[_0x272080(0x3ba)]),_0x50cba8(0x2,_0x34ef93[_0x272080(0x2b6)](_0x224eaf[_0x272080(0x15f)]))],_0x55dd4d);var _0x407844=Object[_0x272080(0x39a)],_0x57a788=(_0x223240,_0x39599a,_0x4b84d6,_0x5769a1)=>{for(var _0x5acd80=_0x5769a1>0x1?void 0x0:_0x5769a1?_0x407844(_0x39599a,_0x4b84d6):_0x39599a,_0x2b6fa2=_0x223240['length']-0x1,_0x4af162;_0x2b6fa2>=0x0;_0x2b6fa2--)(_0x4af162=_0x223240[_0x2b6fa2])&&(_0x5acd80=_0x4af162(_0x5acd80)||_0x5acd80);return _0x5acd80;},_0x30ce56=(_0x3c624c,_0x19ebcf)=>(_0x454f03,_0x2181b5)=>_0x19ebcf(_0x454f03,_0x2181b5,_0x3c624c);let _0x5111dd=class{constructor(_0x17de1e,_0x41f3a8){const _0xcfdb41=_0x272080;this[_0xcfdb41(0x1cd)]=_0x17de1e,this[_0xcfdb41(0x237)]=_0x41f3a8;}[_0x272080(0x186)](_0x5423ae){const _0x2ca964=_0x272080;var _0x1b4a84;const _0x23601c=this[_0x2ca964(0x1cd)][_0x2ca964(0x18b)](_0x3fedbd[_0x2ca964(0x3ce)]),_0x1470a9=(_0x1b4a84=_0x23601c[_0x2ca964(0x165)]())!=null?_0x1b4a84:[];if(_0x1470a9[_0x2ca964(0x1a6)]===0x0)return;const _0x2e5614=_0x5423ae[_0x2ca964(0x349)],_0x961085=[{'id':_0x2ca964(0x289),'params':{'unitId':_0x2e5614,'actions':null,'textRanges':_0x1470a9}}],_0x32edcd=this[_0x2ca964(0x237)]['transformMutationsWithChangeset'](_0x5423ae,_0x961085);if(!_0x1ed92e['isTransformMutationsWithChangesetSuccess'](_0x32edcd))throw _0x32edcd[_0x2ca964(0x1f6)];const _0x513a49=_0x32edcd['m2Prime'][0x0][_0x2ca964(0x2c9)][_0x2ca964(0x32d)];Array['isArray'](_0x513a49)&&_0x513a49[_0x2ca964(0x1a6)]&&_0x23601c[_0x2ca964(0x387)](_0x513a49,{'unitId':_0x2e5614,'subUnitId':_0x2e5614},!0x1);}};_0x5111dd=_0x57a788([_0x30ce56(0x0,_0x34ef93['Inject'](_0x34ef93[_0x272080(0x2d8)])),_0x30ce56(0x1,_0x1ed92e[_0x272080(0x3ba)])],_0x5111dd);var _0x5f1345=Object['getOwnPropertyDescriptor'],_0x42511c=(_0x4bb3eb,_0x161f2b,_0x1ddb17,_0x4a9fb9)=>{const _0x26f15e=_0x272080;for(var _0xae751b=_0x4a9fb9>0x1?void 0x0:_0x4a9fb9?_0x5f1345(_0x161f2b,_0x1ddb17):_0x161f2b,_0x170435=_0x4bb3eb[_0x26f15e(0x1a6)]-0x1,_0x3c7526;_0x170435>=0x0;_0x170435--)(_0x3c7526=_0x4bb3eb[_0x170435])&&(_0xae751b=_0x3c7526(_0xae751b)||_0xae751b);return _0xae751b;},_0x4a053c=(_0x135edd,_0x619456)=>(_0x8c4872,_0x2ce314)=>_0x619456(_0x8c4872,_0x2ce314,_0x135edd);let _0x5bbfdc=class extends _0x34ef93[_0x272080(0x1d6)]{constructor(_0x3cb61a,_0x12f6c4,_0x1f8614,_0x3af782,_0x217db5,_0x5d2607,_0x11508a,_0x38d48e){const _0x491136=_0x272080;super(),_0x8888c3(this,_0x491136(0x3be),new _0x5d5b35[(_0x491136(0x1d2))](_0x532446[_0x491136(0x155)]['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0x3cb61a,this[_0x491136(0x36e)]=_0x12f6c4,this[_0x491136(0x396)]=_0x1f8614,this[_0x491136(0x3ad)]=_0x3af782,this[_0x491136(0x2d1)]=_0x217db5,this[_0x491136(0x2f6)]=_0x5d2607,this[_0x491136(0x388)]=_0x11508a,this[_0x491136(0x22a)]=_0x38d48e,this[_0x491136(0x37e)]());}[_0x272080(0x37e)](){const _0x51c306=_0x272080;this[_0x51c306(0x344)](this[_0x51c306(0x36e)][_0x51c306(0x217)][_0x51c306(0x1de)](_0x7d0247=>{const _0x2c540d=_0x51c306,_0x4ae591=this[_0x2c540d(0x1a9)][_0x2c540d(0x1b6)][_0x2c540d(0x1de)](_0xf924ee=>{const _0x7977d0=_0x2c540d;if(_0xf924ee==null)return;const {unitId:_0x705fbd,redoState:_0x161dd7,commandId:_0x43e42e}=_0xf924ee;if(_0x705fbd!==_0x7d0247[_0x7977d0(0x349)])return;const _0x4ab54e={'id':_0x43e42e,'type':_0x34ef93[_0x7977d0(0x2b4)][_0x7977d0(0x202)],'params':{'unitId':_0x705fbd,'actions':_0x161dd7[_0x7977d0(0x3fe)],'textRanges':null}};_0x7d0247[_0x7977d0(0x16e)](_0x4ab54e);});if(_0x7d0247['disposeWithMe'](_0x4ae591),_0x7d0247 instanceof _0x532446[_0x2c540d(0x178)]){const _0x2e87c6={'onTransformIME':_0x3898f3=>this[_0x2c540d(0x396)][_0x2c540d(0x21b)](_0x3898f3),'onTransformState':_0x43de53=>this[_0x2c540d(0x3ad)]['transformStateCache'](_0x43de53),'onTransformSelections':_0x1dfc7a=>this[_0x2c540d(0x2d1)][_0x2c540d(0x186)](_0x1dfc7a),'onSyncEditingCollabCursor':_0x2f626f=>this[_0x2c540d(0x2f6)]['syncEditingCollabCursor'](_0x2f626f),'onTransformRemoteChangesetByIMECache':_0x4561ce=>this[_0x2c540d(0x396)][_0x2c540d(0x300)](_0x4561ce),'onTransformRemoteChangesetByStateCache':_0x4718da=>this[_0x2c540d(0x3ad)][_0x2c540d(0x300)](_0x4718da)};_0x7d0247[_0x2c540d(0x30c)](_0x2e87c6);}}));}};_0x5bbfdc=_0x42511c([_0x4a053c(0x0,_0x34ef93['Inject'](_0x224eaf['DocStateChangeManagerService'])),_0x4a053c(0x1,_0x34ef93[_0x272080(0x2b6)](_0x532446['CollaborationController'])),_0x4a053c(0x2,_0x34ef93[_0x272080(0x2b6)](_0xbd984d)),_0x4a053c(0x3,_0x34ef93[_0x272080(0x2b6)](_0x55dd4d)),_0x4a053c(0x4,_0x34ef93[_0x272080(0x2b6)](_0x5111dd)),_0x4a053c(0x5,_0x34ef93[_0x272080(0x2b6)](_0x269c04)),_0x4a053c(0x6,_0x28ec01[_0x272080(0x2ea)]),_0x4a053c(0x7,_0x34ef93[_0x272080(0x2b6)](_0x34ef93[_0x272080(0x253)]))],_0x5bbfdc);var _0x43be08=Object[_0x272080(0x39a)],_0x531d74=(_0x183f1a,_0xe0800a,_0x294433,_0x1bff75)=>{const _0x416f31=_0x272080;for(var _0x4e1800=_0x1bff75>0x1?void 0x0:_0x1bff75?_0x43be08(_0xe0800a,_0x294433):_0xe0800a,_0x22ef18=_0x183f1a[_0x416f31(0x1a6)]-0x1,_0x4407b5;_0x22ef18>=0x0;_0x22ef18--)(_0x4407b5=_0x183f1a[_0x22ef18])&&(_0x4e1800=_0x4407b5(_0x4e1800)||_0x4e1800);return _0x4e1800;},_0x5e12e6=(_0x24f80c,_0x302af7)=>(_0x5338a4,_0x838b0e)=>_0x302af7(_0x5338a4,_0x838b0e,_0x24f80c);let _0x61c197=class extends _0x34ef93[_0x272080(0x1d6)]{constructor(_0x421ad7,_0x22f4f6,_0x1e2eb1){const _0x5798f1=_0x272080;super(),_0x8888c3(this,'_cachedData',new Map()),_0x8888c3(this,_0x5798f1(0x18a),new Map()),_0x8888c3(this,_0x5798f1(0x22c),!0x1),(this[_0x5798f1(0x29b)]=_0x421ad7,this[_0x5798f1(0x309)]=_0x22f4f6,this[_0x5798f1(0x320)]=_0x1e2eb1);}[_0x272080(0x3f5)](){const _0x245bb6=_0x272080;this[_0x245bb6(0x22c)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x272080(0x304)](){const _0x40e0bd=_0x272080;return this[_0x40e0bd(0x18a)];}['dispose'](){const _0x47a64d=_0x272080;this['exhaustSavingTask']()[_0x47a64d(0x2f2)](()=>super[_0x47a64d(0x3e7)]());}async[_0x272080(0x3d6)](_0xb5fba3){const _0x3bd6e3=_0x272080;return this[_0x3bd6e3(0x22c)]?null:this[_0x3bd6e3(0x309)][_0x3bd6e3(0x26b)](_0x532446[_0x3bd6e3(0x2df)](_0xb5fba3));}async[_0x272080(0x3d5)](_0x1610ba,_0x44c4a0){const _0x20a3d8=_0x272080;return!!this[_0x20a3d8(0x309)][_0x20a3d8(0x34c)](_0x1610ba,_0x44c4a0);}[_0x272080(0x168)](_0x2f499e,_0x3751c1,_0x9b9ac6,_0x44f474){const _0x1792aa=_0x272080,_0x5dea83=this[_0x1792aa(0x320)][_0x1792aa(0x39b)](_0x2f499e);this[_0x1792aa(0x198)][_0x1792aa(0x210)](_0x2f499e,{'unitID':_0x2f499e,'type':_0x3751c1,'awaitingChangeset':_0x9b9ac6,'mutations':_0x44f474,'rev':_0x5dea83}),this[_0x1792aa(0x18a)][_0x1792aa(0x342)](_0x2f499e)||this[_0x1792aa(0x2c8)](_0x2f499e);}[_0x272080(0x2c8)](_0x39b559){const _0x38ca50=_0x272080,_0x464196=this[_0x38ca50(0x243)]();_0x464196===0x0?this[_0x38ca50(0x2ed)](_0x39b559):this[_0x38ca50(0x18a)][_0x38ca50(0x210)](_0x39b559,setTimeout(()=>this['_saveCache'](_0x39b559),_0x464196));}[_0x272080(0x243)](){const _0x3895ac=_0x272080;var _0x2d8247;return(_0x2d8247=this[_0x3895ac(0x29b)][_0x3895ac(0x318)](_0x532446[_0x3895ac(0x2a2)]))!=null?_0x2d8247:_0x532446[_0x3895ac(0x169)];}[_0x272080(0x2ed)](_0x56bc16){const _0x200379=_0x272080,_0xefc1ed=this[_0x200379(0x18a)]['get'](_0x56bc16);return _0xefc1ed!==void 0x0&&window[_0x200379(0x2d4)](_0xefc1ed),this['_localStorageService'][_0x200379(0x34c)](_0x532446['getLocalCacheKey'](_0x56bc16),this[_0x200379(0x198)][_0x200379(0x18b)](_0x56bc16))['then'](()=>this[_0x200379(0x18a)][_0x200379(0x2db)](_0x56bc16));}async[_0x272080(0x29e)](){const _0x1e21e2=_0x272080,_0x2d90b4=[];this[_0x1e21e2(0x18a)]['forEach']((_0x1fcb47,_0x47f36b)=>{const _0x3d40f5=_0x1e21e2;window[_0x3d40f5(0x2d4)](_0x1fcb47),_0x2d90b4[_0x3d40f5(0x1b0)](this['_saveCache'](_0x47f36b)[_0x3d40f5(0x2f2)](()=>{const _0x4c6e78=_0x3d40f5;this[_0x4c6e78(0x18a)]['delete'](_0x47f36b);}));}),await Promise[_0x1e21e2(0x1ad)](_0x2d90b4);}};_0x61c197=_0x531d74([_0x5e12e6(0x0,_0x34ef93[_0x272080(0x311)]),_0x5e12e6(0x1,_0x34ef93[_0x272080(0x241)]),_0x5e12e6(0x2,_0x34ef93['Inject'](_0x1ed92e['RevisionService']))],_0x61c197);class _0x3cf3b8 extends _0x34ef93[_0x272080(0x264)]{constructor(){const _0x2434b4=_0x272080;super(),_0x8888c3(this,_0x2434b4(0x297)),this[_0x2434b4(0x297)]=_0x5d5b35[_0x2434b4(0x3a4)](window,_0x2434b4(0x3e5))[_0x2434b4(0x322)](_0x5d5b35[_0x2434b4(0x258)](this['dispose$']),_0x5d5b35['shareReplay'](0x1),_0x5d5b35[_0x2434b4(0x2a5)](void 0x0));}[_0x272080(0x1e4)](_0x3c1496,_0x1f8a3f,_0x18a903=!0x1){const _0x5e7217=_0x272080,_0xa6f336=new URL(window[_0x5e7217(0x260)]['href']);_0xa6f336[_0x5e7217(0x1bc)][_0x5e7217(0x210)](_0x3c1496,_0x1f8a3f),_0x18a903?window[_0x5e7217(0x1a4)]['replaceState']('','',_0xa6f336[_0x5e7217(0x246)]()):window[_0x5e7217(0x1a4)][_0x5e7217(0x27b)]('','',_0xa6f336['toString']());}[_0x272080(0x32c)](_0x498640,_0x583e29=!0x1){const _0x5a3908=_0x272080,_0x1e2610=new URL(window[_0x5a3908(0x260)][_0x5a3908(0x209)]);_0x1e2610[_0x5a3908(0x1bc)][_0x5a3908(0x2db)](_0x498640),_0x583e29?window[_0x5a3908(0x1a4)][_0x5a3908(0x30f)]('','',_0x1e2610[_0x5a3908(0x246)]()):window['history'][_0x5a3908(0x27b)]('','',_0x1e2610[_0x5a3908(0x246)]());}[_0x272080(0x3b7)](_0x6f1b4d){const _0x57138b=_0x272080;var _0x34306d;return(_0x34306d=new URL(window[_0x57138b(0x260)][_0x57138b(0x209)])[_0x57138b(0x1bc)][_0x57138b(0x18b)](_0x6f1b4d))!=null?_0x34306d:void 0x0;}}var _0xc7c4bd=Object[_0x272080(0x1bd)],_0x106ce5=Object[_0x272080(0x39a)],_0x3aa5fd=(_0x29a0fb,_0x4dc9ac,_0x179267)=>_0x4dc9ac in _0x29a0fb?_0xc7c4bd(_0x29a0fb,_0x4dc9ac,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x179267}):_0x29a0fb[_0x4dc9ac]=_0x179267,_0xeb3c2=(_0x3870e7,_0x54b57f,_0x390133,_0x4930eb)=>{const _0x51e69b=_0x272080;for(var _0x38eab5=_0x4930eb>0x1?void 0x0:_0x4930eb?_0x106ce5(_0x54b57f,_0x390133):_0x54b57f,_0x5646cc=_0x3870e7[_0x51e69b(0x1a6)]-0x1,_0x4982a0;_0x5646cc>=0x0;_0x5646cc--)(_0x4982a0=_0x3870e7[_0x5646cc])&&(_0x38eab5=_0x4982a0(_0x38eab5)||_0x38eab5);return _0x38eab5;},_0x4c4b10=(_0x225027,_0xcea3d5)=>(_0x5aefa9,_0x5d09f4)=>_0xcea3d5(_0x5aefa9,_0x5d09f4,_0x225027),_0x8b393f=(_0x26102f,_0x16342e,_0x3bad4d)=>_0x3aa5fd(_0x26102f,_0x16342e+'',_0x3bad4d);const _0x50d4f7=_0x272080(0x3b6);_0x5751ef['UniverCollaborationClientUIPlugin']=class extends _0x34ef93[_0x272080(0x2fc)]{constructor(_0x3d2874=_0x2f4c4c,_0x4b5679,_0x3dbea1,_0x2eb021){const _0x155292=_0x272080;super(),this['_config']=_0x3d2874,this['_renderManagerService']=_0x4b5679,this['_injector']=_0x3dbea1,this['_configService']=_0x2eb021;const {..._0x525228}=_0x34ef93[_0x155292(0x229)]({},_0x2f4c4c,this[_0x155292(0x3f3)]);this[_0x155292(0x29b)][_0x155292(0x218)](_0x5e66f7,_0x525228);}[_0x272080(0x21a)](){const _0x23dd76=_0x272080;this[_0x23dd76(0x163)](),this['_initDependencies']();}[_0x272080(0x397)](){const _0x31e346=_0x272080;this[_0x31e346(0x36c)]();}[_0x272080(0x163)](){const _0x55d265=_0x272080;var _0x45983c;const _0xad11df=[[_0x2a507e],[_0x5111dd],[_0xbd984d],[_0x55dd4d],[_0x269c04],[_0x1ee0c8,{'useClass':_0x3cf3b8}],[_0x48293c['ISocketService'],{'useClass':_0x48293c[_0x55d265(0x360)]}],[_0x532446['ILocalCacheService'],{'useClass':_0x61c197}],[_0x5751ef[_0x55d265(0x271)]],[_0x5bbfdc],[_0x4d2528],[_0x3a2a53],[_0x1c71aa],[_0x5751ef[_0x55d265(0x2bb)]]];_0x34ef93[_0x55d265(0x2d2)](this['_injector'],_0x34ef93[_0x55d265(0x263)](_0xad11df,(_0x45983c=this[_0x55d265(0x3f3)])==null?void 0x0:_0x45983c[_0x55d265(0x295)]));}['_registerRenderDependencies'](){const _0x46b8a2=_0x272080;this[_0x46b8a2(0x344)](this[_0x46b8a2(0x283)]['registerRenderModule'](_0x34ef93['UniverInstanceType'][_0x46b8a2(0x36f)],[_0x4f923e])),this[_0x46b8a2(0x344)](this['_renderManagerService'][_0x46b8a2(0x306)](_0x34ef93[_0x46b8a2(0x371)][_0x46b8a2(0x273)],[_0x2b81a8]));}[_0x272080(0x3ff)](){const _0x260387=_0x272080;_0x34ef93[_0x260387(0x2c5)](this['_injector'],[[_0x3a2a53],[_0x5751ef[_0x260387(0x271)]],[_0x5bbfdc],[_0x4d2528],[_0x5751ef[_0x260387(0x2bb)]]]);}},_0x8b393f(_0x5751ef[_0x272080(0x1a8)],_0x272080(0x335),_0x50d4f7),_0x5751ef['UniverCollaborationClientUIPlugin']=_0xeb3c2([_0x34ef93[_0x272080(0x206)](_0x532446[_0x272080(0x2ef)]),_0x4c4b10(0x1,_0x2209eb[_0x272080(0x3c1)]),_0x4c4b10(0x2,_0x34ef93[_0x272080(0x2b6)](_0x34ef93['Injector'])),_0x4c4b10(0x3,_0x34ef93[_0x272080(0x311)])],_0x5751ef[_0x272080(0x1a8)]);var _0x2a3ac5=Object[_0x272080(0x39a)],_0x51c7cd=(_0x1b2eb0,_0x5ac560,_0x869ab,_0x2e49e3)=>{const _0x4a4d4b=_0x272080;for(var _0x57e4ba=_0x2e49e3>0x1?void 0x0:_0x2e49e3?_0x2a3ac5(_0x5ac560,_0x869ab):_0x5ac560,_0x4f8457=_0x1b2eb0[_0x4a4d4b(0x1a6)]-0x1,_0x15f2a6;_0x4f8457>=0x0;_0x4f8457--)(_0x15f2a6=_0x1b2eb0[_0x4f8457])&&(_0x57e4ba=_0x15f2a6(_0x57e4ba)||_0x57e4ba);return _0x57e4ba;},_0x2bd5f1=(_0x516308,_0x285d44)=>(_0x5d20f6,_0x1afc0a)=>_0x285d44(_0x5d20f6,_0x1afc0a,_0x516308);_0x5751ef[_0x272080(0x2e3)]=class extends _0x532446[_0x272080(0x1dc)]{constructor(_0xdd1cef,_0x32d8c1,_0xf5262f,_0x1acbf1,_0x31135d){super(_0xdd1cef,_0x32d8c1,_0xf5262f,_0x1acbf1,_0x31135d);}async[_0x272080(0x38e)](_0x241df4){const _0x23f399=_0x272080,_0x5882a8=await this[_0x23f399(0x34e)](),_0x27fc1a=this[_0x23f399(0x2e6)](_0x241df4,_0x5882a8);return this['_doCreateSocket'](_0x27fc1a);}['_createSocketURL'](_0x5d2ae6,_0x460795){const _0x35c0a4=_0x272080,_0x4ca050=typeof window>'u'?new URL(_0x5d2ae6):new URL(_0x5d2ae6,window[_0x35c0a4(0x260)][_0x35c0a4(0x232)]);_0x4ca050[_0x35c0a4(0x1bc)]['set'](_0x35c0a4(0x32b),_0x460795);const _0x4e39e2=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x35c0a4(0x260)][_0x35c0a4(0x1be)]);return _0x4e39e2[_0x35c0a4(0x18b)]('runId')&&_0x4ca050[_0x35c0a4(0x1bc)][_0x35c0a4(0x210)](_0x35c0a4(0x35a),_0x4e39e2[_0x35c0a4(0x18b)]('runId')),_0x4ca050['toString']();}async[_0x272080(0x34e)](){const _0x59d948=_0x272080;var _0x542652,_0x315dfa,_0x263742;const _0x4d1268=this['_configService']['getConfig'](_0x532446[_0x59d948(0x382)]),_0x415a39=(_0x542652=_0x4d1268==null?void 0x0:_0x4d1268[_0x59d948(0x1a0)])!=null?_0x542652:_0x532446[_0x59d948(0x1b7)];return(_0x263742=(_0x315dfa=(await this['_httpService'][_0x59d948(0x18b)](_0x415a39,{'headers':{'Content-Type':_0x59d948(0x281)}}))['body'])==null?void 0x0:_0x315dfa[_0x59d948(0x319)])!=null?_0x263742:'';}},_0x5751ef[_0x272080(0x2e3)]=_0x51c7cd([_0x2bd5f1(0x0,_0x34ef93['Inject'](_0x34ef93[_0x272080(0x2d8)])),_0x2bd5f1(0x1,_0x34ef93[_0x272080(0x2b6)](_0x48293c[_0x272080(0x23c)])),_0x2bd5f1(0x2,_0x34ef93[_0x272080(0x311)]),_0x2bd5f1(0x3,_0x34ef93[_0x272080(0x3b3)]),_0x2bd5f1(0x4,_0x1ed92e['ISnapshotServerService'])],_0x5751ef[_0x272080(0x2e3)]);const _0x42bab1=0x7530,_0x231dc2=_0x272080(0x3fb);class _0xe2e5ad extends _0x34ef93['Disposable']{constructor(){const _0xdedded=_0x272080;super(),_0x8888c3(this,'_id',_0x34ef93['generateRandomId']()),_0x8888c3(this,_0xdedded(0x3a1),new Set()),_0x8888c3(this,_0xdedded(0x37a),new Map()),_0x8888c3(this,_0xdedded(0x1f5),null),_0x8888c3(this,_0xdedded(0x272),new Map()),_0x8888c3(this,_0xdedded(0x3f9),new Map()),this['_init']();}[_0x272080(0x3e7)](){const _0x5dfd22=_0x272080;super[_0x5dfd22(0x3e7)](),this[_0x5dfd22(0x272)][_0x5dfd22(0x317)]((_0x4f1a99,_0x8a10b6)=>this[_0x5dfd22(0x29f)](_0x8a10b6)),this[_0x5dfd22(0x1f5)]&&window['clearInterval'](this[_0x5dfd22(0x1f5)]);}['getUnitStatus$'](_0x2c6bbb){const _0x5eb3b4=_0x272080;return this['_ensureSubject'](_0x2c6bbb)[_0x5eb3b4(0x322)](_0x5d5b35['distinctUntilChanged']());}[_0x272080(0x374)](_0xb2e9a5){const _0x581ca1=_0x272080;this[_0x581ca1(0x3a1)][_0x581ca1(0x3c4)]===0x0&&this[_0x581ca1(0x1c6)](),this[_0x581ca1(0x3a1)][_0x581ca1(0x31b)](_0xb2e9a5),this['_send']({'type':0x0,'memberID':this[_0x581ca1(0x3a7)],'unitIDs':[_0xb2e9a5],'isForwarded':!0x1});}[_0x272080(0x3aa)](_0x4cae78){const _0x126c21=_0x272080;this[_0x126c21(0x3a1)][_0x126c21(0x2db)](_0x4cae78),this[_0x126c21(0x3a1)]['size']===0x0&&this[_0x126c21(0x1f5)]&&window[_0x126c21(0x2ff)](this[_0x126c21(0x1f5)]);}['_init'](){const _0x2ff023=_0x272080;this[_0x2ff023(0x344)](_0x34ef93[_0x2ff023(0x3a5)](_0x5d5b35[_0x2ff023(0x3a4)](window,_0x2ff023(0x1b8))['subscribe'](_0x459939=>{const _0x1908d8=_0x2ff023;if(_0x459939[_0x1908d8(0x1eb)]!==_0x231dc2||!_0x459939[_0x1908d8(0x171)])return;const _0x11bbb3=JSON[_0x1908d8(0x255)](_0x459939['newValue']);this['_handleEvent'](_0x11bbb3);}))),window[_0x2ff023(0x324)](_0x2ff023(0x2e1),()=>this[_0x2ff023(0x3d1)]({'type':0x1,'memberID':this[_0x2ff023(0x3a7)],'unitIDs':Array[_0x2ff023(0x15a)](this[_0x2ff023(0x3a1)])}));}[_0x272080(0x248)](_0x5db053){const _0x4b40ed=_0x272080;switch(_0x5db053[_0x4b40ed(0x3ed)]){case 0x0:this[_0x4b40ed(0x354)](_0x5db053);break;case 0x1:this[_0x4b40ed(0x3ef)](_0x5db053);break;case 0x2:this[_0x4b40ed(0x27e)](_0x5db053);break;}}[_0x272080(0x354)](_0x1b832d){const _0xa1539f=_0x272080,{unitIDs:_0x3dd69d,memberID:_0x51061b,isForwarded:_0x1a202f}=_0x1b832d;_0x3dd69d[_0xa1539f(0x317)](_0x334f05=>{const _0x5be074=_0xa1539f;if(!_0x1a202f&&this['_unitOnClients']['has'](_0x334f05)&&this[_0x5be074(0x299)](_0x334f05)['next'](_0x532446[_0x5be074(0x2be)][_0x5be074(0x1c2)]),!this[_0x5be074(0x37a)]['has'](_0x334f05)||!this[_0x5be074(0x37a)][_0x5be074(0x18b)](_0x334f05)[_0x5be074(0x342)](_0x51061b)){const _0x52f778=this['_unitOnClients'][_0x5be074(0x18b)](_0x334f05)||new Set();_0x52f778[_0x5be074(0x31b)](_0x51061b),this[_0x5be074(0x37a)][_0x5be074(0x210)](_0x334f05,_0x52f778),this[_0x5be074(0x28d)](_0x51061b);}}),_0x1a202f||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0xa1539f(0x3a1)]],'isForwarded':!0x0});}[_0x272080(0x28d)](_0x334cca){const _0x2a09bc=_0x272080;this[_0x2a09bc(0x29f)](_0x334cca);const _0x309522=window[_0x2a09bc(0x401)](()=>{const _0x1fc3b7=_0x2a09bc;this['_unitOnClients'][_0x1fc3b7(0x317)](_0x2fd659=>{const _0x3c469f=_0x1fc3b7;_0x2fd659[_0x3c469f(0x2db)](_0x334cca);});},_0x42bab1*0x2);this['_clearOtherTimers']['set'](_0x334cca,_0x309522);}[_0x272080(0x29f)](_0x168366){const _0x562d3a=_0x272080;if(this[_0x562d3a(0x272)]['has'](_0x168366)){const _0x192b70=this[_0x562d3a(0x272)][_0x562d3a(0x18b)](_0x168366);_0x192b70&&window[_0x562d3a(0x2d4)](_0x192b70),this[_0x562d3a(0x272)]['set'](_0x168366,null);}}[_0x272080(0x3ef)](_0xadbf0){const _0x488709=_0x272080,{memberID:_0x14d416,unitIDs:_0x548cd8}=_0xadbf0;_0x548cd8[_0x488709(0x317)](_0x5b1535=>{const _0x443c2e=_0x488709;var _0x2f1011;const _0x4da9cd=this['_unitOnClients'][_0x443c2e(0x18b)](_0x5b1535);_0x4da9cd&&(_0x4da9cd[_0x443c2e(0x2db)](_0x14d416),(_0x2f1011=this[_0x443c2e(0x299)](_0x5b1535))==null||_0x2f1011[_0x443c2e(0x231)](_0x4da9cd[_0x443c2e(0x3c4)]===0x0?_0x532446[_0x443c2e(0x2be)][_0x443c2e(0x3cd)]:_0x532446[_0x443c2e(0x2be)][_0x443c2e(0x1c2)]));}),this['_removeClearOtherTimer'](_0x14d416);}[_0x272080(0x27e)](_0x4a00ae){const _0x2c38d5=_0x272080;this[_0x2c38d5(0x28d)](_0x4a00ae['memberID']);}[_0x272080(0x3d1)](_0x3bd04d){const _0x22a775=_0x272080;localStorage[_0x22a775(0x34c)](_0x231dc2,JSON[_0x22a775(0x31f)](_0x3bd04d));}['_scheduleHeartbeat'](){const _0x3912f2=_0x272080;this['_heartbeatTimer']=window[_0x3912f2(0x2c6)](()=>{const _0x1d4f4b=_0x3912f2;this[_0x1d4f4b(0x3d1)]({'type':0x2,'memberID':this[_0x1d4f4b(0x3a7)]});},_0x42bab1);}[_0x272080(0x299)](_0x552785){const _0x17e1b7=_0x272080;return this[_0x17e1b7(0x3f9)][_0x17e1b7(0x342)](_0x552785)||this[_0x17e1b7(0x3f9)][_0x17e1b7(0x210)](_0x552785,new _0x5d5b35['BehaviorSubject'](_0x532446[_0x17e1b7(0x2be)][_0x17e1b7(0x3cd)])),this[_0x17e1b7(0x3f9)]['get'](_0x552785);}}var _0x311290=(_0x291b7a=>(_0x291b7a[_0x291b7a[_0x272080(0x3c6)]=0x0]='UNDEFINED',_0x291b7a[_0x291b7a['OK']=0x1]='OK',_0x291b7a[_0x291b7a[_0x272080(0x2ad)]=0x2]=_0x272080(0x2ad),_0x291b7a[_0x291b7a[_0x272080(0x226)]=0x3]=_0x272080(0x226),_0x291b7a[_0x291b7a[_0x272080(0x1fa)]=0x4]=_0x272080(0x1fa),_0x291b7a[_0x291b7a['UNAUTHENTICATED']=0x5]=_0x272080(0x3bd),_0x291b7a[_0x291b7a[_0x272080(0x3c2)]=0x6]=_0x272080(0x3c2),_0x291b7a[_0x291b7a[_0x272080(0x350)]=0x7]=_0x272080(0x350),_0x291b7a[_0x291b7a[_0x272080(0x2fd)]=0x8]=_0x272080(0x2fd),_0x291b7a[_0x291b7a[_0x272080(0x38f)]=0x9]=_0x272080(0x38f),_0x291b7a[_0x291b7a[_0x272080(0x1cb)]=0xa]='LOGIN_FAILED',_0x291b7a[_0x291b7a[_0x272080(0x1e0)]=0x1389]=_0x272080(0x1e0),_0x291b7a[_0x291b7a[_0x272080(0x151)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x291b7a[_0x291b7a['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x272080(0x30a),_0x291b7a[_0x291b7a[_0x272080(0x347)]=0x1773]=_0x272080(0x347),_0x291b7a[_0x291b7a[_0x272080(0x222)]=0x1b59]='APPLY_REJECT',_0x291b7a[_0x291b7a[_0x272080(0x1b3)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x291b7a[_0x291b7a[_0x272080(0x1e1)]=0x1b5b]=_0x272080(0x1e1),_0x291b7a[_0x291b7a['APPLY_PERMISSION_DENIED']=0x1b5c]='APPLY_PERMISSION_DENIED',_0x291b7a[_0x291b7a[_0x272080(0x1a5)]=0x1b5d]=_0x272080(0x1a5),_0x291b7a[_0x291b7a[_0x272080(0x22e)]=0x1f41]=_0x272080(0x22e),_0x291b7a[_0x291b7a[_0x272080(0x1c4)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x291b7a[_0x291b7a[_0x272080(0x170)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x291b7a[_0x291b7a[_0x272080(0x351)]=0x232b]=_0x272080(0x351),_0x291b7a[_0x291b7a[_0x272080(0x14f)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x291b7a[_0x291b7a['LICENSE_DISTRO_REJECTED']=0x232d]=_0x272080(0x31c),_0x291b7a[_0x291b7a['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x272080(0x1ac),_0x291b7a[_0x291b7a[_0x272080(0x310)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x291b7a[_0x291b7a[_0x272080(0x31d)]=0x2713]=_0x272080(0x31d),_0x291b7a[_0x291b7a[_0x272080(0x277)]=0x2714]=_0x272080(0x277),_0x291b7a[_0x291b7a['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x272080(0x265),_0x291b7a[_0x291b7a[_0x272080(0x37b)]=0x271b]=_0x272080(0x37b),_0x291b7a[_0x291b7a[_0x272080(0x1e3)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x291b7a[_0x291b7a['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x291b7a[_0x291b7a[_0x272080(0x234)]=0x2ee2]='INVALID_INVITE_CODE',_0x291b7a[_0x291b7a[_0x272080(0x368)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x291b7a[_0x291b7a[_0x272080(0x221)]=0x2ee4]=_0x272080(0x221),_0x291b7a[_0x291b7a[_0x272080(0x2c1)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x291b7a[_0x291b7a[_0x272080(0x312)]=0x32c9]=_0x272080(0x312),_0x291b7a[_0x291b7a[_0x272080(0x373)]=0x32ca]=_0x272080(0x373),_0x291b7a[_0x291b7a['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x291b7a[_0x291b7a[_0x272080(0x17c)]=-0x1]=_0x272080(0x17c),_0x291b7a))(_0x311290||{}),_0x105911=Object['getOwnPropertyDescriptor'],_0x23dabe=(_0x3ded6f,_0x49d437,_0x51a9b6,_0x59970f)=>{const _0x5883b2=_0x272080;for(var _0x328b34=_0x59970f>0x1?void 0x0:_0x59970f?_0x105911(_0x49d437,_0x51a9b6):_0x49d437,_0x52b5c6=_0x3ded6f[_0x5883b2(0x1a6)]-0x1,_0x70958f;_0x52b5c6>=0x0;_0x52b5c6--)(_0x70958f=_0x3ded6f[_0x52b5c6])&&(_0x328b34=_0x70958f(_0x328b34)||_0x328b34);return _0x328b34;},_0x24955f=(_0x1d6b29,_0x4ea800)=>(_0x3ed8ed,_0x21ae28)=>_0x4ea800(_0x3ed8ed,_0x21ae28,_0x1d6b29);_0x5751ef[_0x272080(0x2a7)]=class extends _0x34ef93[_0x272080(0x1d6)]{constructor(_0x1fccf2,_0x385e25,_0x10c4fc){const _0x481cd7=_0x272080;super(),this['_instanceService']=_0x1fccf2,this[_0x481cd7(0x1d1)]=_0x385e25,this[_0x481cd7(0x29b)]=_0x10c4fc;}async[_0x272080(0x303)](_0x8b4759,_0x215bc4,_0x2513a5,..._0x2b5e96){const _0x19b170=_0x272080;var _0x213404,_0x25c774,_0x27a171,_0x521338;const _0x3ca339=this[_0x19b170(0x150)][_0x19b170(0x376)]();if(!_0x3ca339)throw new Error(_0x19b170(0x343));const _0x125e91=((_0x213404=this['_configService'][_0x19b170(0x318)](_0x532446[_0x19b170(0x17e)]))!=null?_0x213404:_0x532446[_0x19b170(0x2f0)])+'/'+_0x8b4759+'/run/'+_0x215bc4,_0x1e7367=new URL(window[_0x19b170(0x260)][_0x19b170(0x209)]),_0x5c8cba={'scriptId':_0x8b4759,'runId':(_0x25c774=_0x1e7367[_0x19b170(0x1bc)][_0x19b170(0x18b)](_0x19b170(0x35a)))!=null?_0x25c774:'','function':_0x215bc4,'unitId':_0x3ca339[_0x19b170(0x23b)](),'argsOfFunction':JSON[_0x19b170(0x31f)](_0x2b5e96),'invokeId':(_0x27a171=_0x2513a5['invokeId'])!=null?_0x27a171:'','executionId':(_0x521338=_0x2513a5[_0x19b170(0x1bf)])!=null?_0x521338:''};try{const _0x505781=await this[_0x19b170(0x1d1)][_0x19b170(0x20d)](_0x125e91,{'body':_0x5c8cba});return _0x505781[_0x19b170(0x24b)][_0x19b170(0x1f6)]&&_0x505781[_0x19b170(0x24b)][_0x19b170(0x1f6)][_0x19b170(0x285)]!==_0x311290['OK']?_0x19b170(0x2ca):_0x505781['body'][_0x19b170(0x1e8)];}catch{return _0x19b170(0x2ca);}}},_0x5751ef[_0x272080(0x2a7)]=_0x23dabe([_0x24955f(0x0,_0x34ef93[_0x272080(0x26d)]),_0x24955f(0x1,_0x34ef93['Inject'](_0x48293c['HTTPService'])),_0x24955f(0x2,_0x34ef93['IConfigService'])],_0x5751ef[_0x272080(0x2a7)]),_0x5751ef[_0x272080(0x2c3)]=_0x3d3adb,_0x5751ef[_0x272080(0x3fd)]=_0x1ee0c8,_0x5751ef['SheetCollabCursorShape']=_0xba3d32,_0x5751ef[_0x272080(0x3b2)]=_0xe2e5ad,_0x5751ef['WebURLService']=_0x3cf3b8,Object[_0x272080(0x1bd)](_0x5751ef,Symbol['toStringTag'],{'value':_0x272080(0x262)});}));
1
+ (function(_0x275a8f,_0x2bd4f2){const _0x5783dd=_0x568e,_0x27e166=_0x275a8f();while(!![]){try{const _0x5e3080=-parseInt(_0x5783dd(0x2a2))/0x1*(-parseInt(_0x5783dd(0xce))/0x2)+parseInt(_0x5783dd(0x158))/0x3*(-parseInt(_0x5783dd(0x227))/0x4)+-parseInt(_0x5783dd(0xd7))/0x5+parseInt(_0x5783dd(0xdd))/0x6*(-parseInt(_0x5783dd(0x153))/0x7)+parseInt(_0x5783dd(0x2b6))/0x8+-parseInt(_0x5783dd(0x184))/0x9+parseInt(_0x5783dd(0x239))/0xa;if(_0x5e3080===_0x2bd4f2)break;else _0x27e166['push'](_0x27e166['shift']());}catch(_0x55f025){_0x27e166['push'](_0x27e166['shift']());}}}(_0x3ec5,0xb9b59),function(_0x13abc6,_0x4151bd){const _0x18d6b5=_0x568e;typeof exports==_0x18d6b5(0x28c)&&typeof module<'u'?_0x4151bd(exports,require(_0x18d6b5(0xeb)),require(_0x18d6b5(0x2e1)),require(_0x18d6b5(0x22f)),require('@univerjs/network'),require(_0x18d6b5(0x152)),require(_0x18d6b5(0x21d)),require('rxjs'),require(_0x18d6b5(0xea)),require(_0x18d6b5(0x2b0)),require('@univerjs/engine-formula'),require(_0x18d6b5(0x282)),require(_0x18d6b5(0xd9)),require('@univerjs/sheets-ui'),require(_0x18d6b5(0xf1)),require('@univerjs/ui'),require(_0x18d6b5(0x15e)),require(_0x18d6b5(0x1c5)),require('@univerjs/rpc')):typeof define==_0x18d6b5(0x28d)&&define['amd']?define([_0x18d6b5(0x2dd),'@univerjs-pro/collaboration-client',_0x18d6b5(0x2e1),'@univerjs/engine-render',_0x18d6b5(0x1b7),'@univerjs/docs-ui',_0x18d6b5(0x21d),_0x18d6b5(0x2aa),_0x18d6b5(0xea),_0x18d6b5(0x2b0),'@univerjs/engine-formula','@univerjs/sheets','rxjs/operators',_0x18d6b5(0x140),_0x18d6b5(0xf1),'@univerjs/ui',_0x18d6b5(0x15e),_0x18d6b5(0x1c5),_0x18d6b5(0x1d6)],_0x4151bd):(_0x13abc6=typeof globalThis<'u'?globalThis:_0x13abc6||self,_0x4151bd(_0x13abc6['UniverProCollaborationClientUi']={},_0x13abc6[_0x18d6b5(0x1ab)],_0x13abc6[_0x18d6b5(0x139)],_0x13abc6['UniverEngineRender'],_0x13abc6[_0x18d6b5(0x2ad)],_0x13abc6[_0x18d6b5(0xab)],_0x13abc6[_0x18d6b5(0x156)],_0x13abc6[_0x18d6b5(0x2aa)],_0x13abc6[_0x18d6b5(0xa0)],_0x13abc6[_0x18d6b5(0x28f)],_0x13abc6[_0x18d6b5(0x31d)],_0x13abc6['UniverSheets'],_0x13abc6[_0x18d6b5(0x2aa)][_0x18d6b5(0x142)],_0x13abc6[_0x18d6b5(0x1f1)],_0x13abc6[_0x18d6b5(0x21f)],_0x13abc6['UniverUi'],_0x13abc6[_0x18d6b5(0x1c8)],_0x13abc6[_0x18d6b5(0x21f)],_0x13abc6[_0x18d6b5(0x32a)]));}(this,function(_0x353bdb,_0x47040c,_0x52210e,_0x45eaa5,_0x2c7691,_0xd08195,_0x42c020,_0x27f681,_0x20d49c,_0x4251a6,_0x2b9df9,_0x1f677a,_0x41470f,_0x3b105a,_0x351132,_0x4f6f29,_0x4bb591,_0x854b5b,_0x29b1e1){'use strict';const _0x4cf005=_0x568e;var _0x13a4af=Object[_0x4cf005(0x11f)],_0x1bfdb8=(_0x2589fd,_0x55fa30,_0x1f4335)=>_0x55fa30 in _0x2589fd?_0x13a4af(_0x2589fd,_0x55fa30,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1f4335}):_0x2589fd[_0x55fa30]=_0x1f4335,_0xb6ff52=(_0x549ad5,_0x234f52,_0x4498b2)=>_0x1bfdb8(_0x549ad5,typeof _0x234f52!=_0x4cf005(0x2b1)?_0x234f52+'':_0x234f52,_0x4498b2),_0x4c0473=Object[_0x4cf005(0x19c)],_0x3bd33b=(_0x45c925,_0x4030c5,_0x55b097,_0x155cd5)=>{for(var _0x1feafd=_0x155cd5>0x1?void 0x0:_0x155cd5?_0x4c0473(_0x4030c5,_0x55b097):_0x4030c5,_0x2abd36=_0x45c925['length']-0x1,_0x24121f;_0x2abd36>=0x0;_0x2abd36--)(_0x24121f=_0x45c925[_0x2abd36])&&(_0x1feafd=_0x24121f(_0x1feafd)||_0x1feafd);return _0x1feafd;},_0x37066c=(_0x33ea46,_0x22c747)=>(_0x4e0cd2,_0xa4436f)=>_0x22c747(_0x4e0cd2,_0xa4436f,_0x33ea46);let _0x180543=class extends _0x52210e[_0x4cf005(0x238)]{constructor(_0x565e05,_0x2013db){const _0x1e7795=_0x4cf005;super(),this[_0x1e7795(0xc2)]=_0x565e05,this[_0x1e7795(0x300)]=_0x2013db,this[_0x1e7795(0x138)]();}[_0x4cf005(0x138)](){const _0x58e9ff=_0x4cf005,_0x192c70=this;this[_0x58e9ff(0x285)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x2d7290=>{const _0xa65d40=_0x58e9ff,_0x4a4d55=await _0x192c70['_imageIoService']['saveImage'](_0x2d7290);return _0x4a4d55?{'source':_0x4a4d55[_0xa65d40(0x20c)],'imageSourceType':_0x4a4d55[_0xa65d40(0x196)]}:null;}}));}};_0x180543=_0x3bd33b([_0x37066c(0x0,_0xd08195['IDocClipboardService']),_0x37066c(0x1,_0x42c020[_0x4cf005(0x272)])],_0x180543);const _0x3eb08b=['purple300',_0x4cf005(0x29c),'verdancy600',_0x4cf005(0xfb),_0x4cf005(0x125),_0x4cf005(0xed)];class _0x499053 extends _0x52210e['Disposable']{constructor(){const _0xbc79ca=_0x4cf005;super(...arguments),_0xb6ff52(this,_0xbc79ca(0x147),new Map()),_0xb6ff52(this,_0xbc79ca(0x1bb),0x0);}[_0x4cf005(0x192)](_0x3c5346){const _0x4939f5=_0x4cf005;if(this[_0x4939f5(0x147)][_0x4939f5(0x178)](_0x3c5346))return this[_0x4939f5(0x147)]['get'](_0x3c5346);const _0x2fa165=_0x3eb08b[this['_colorIndex']];return this[_0x4939f5(0x1bb)]=(this['_colorIndex']+0x1)%_0x3eb08b['length'],this[_0x4939f5(0x147)][_0x4939f5(0x202)](_0x3c5346,_0x2fa165),_0x2fa165;}}function _0x16a80a(_0xaf9bbc){let _0x4c14a6='';for(const _0x14387e of _0xaf9bbc){const {startOffset:_0x3e04bb,endOffset:_0x1b2491,isActive:_0x6a9777,rangeType:_0xeecc38,segmentId:_0x3cc961,segmentPage:_0x537cd4}=_0x14387e;_0x4c14a6['length']&&(_0x4c14a6+=','),_0x4c14a6+=_0x3e04bb+':'+_0x1b2491+':'+(_0x6a9777?'1':'0')+':'+_0xeecc38+':'+_0x3cc961+':'+_0x537cd4;}return _0x4c14a6;}function _0x4c64c4(_0x295e02){const _0x308bbc=_0x4cf005,_0x5f3c5c=_0x295e02[_0x308bbc(0xad)](','),_0x1d78d4=[];for(const _0x289395 of _0x5f3c5c){const [_0x24de1c,_0x5df3e9,_0x99106d,_0x2fc94c,_0x141ef8,_0x11b9b4]=_0x289395[_0x308bbc(0xad)](':');_0x1d78d4[_0x308bbc(0x11e)]({'startOffset':Number(_0x24de1c),'endOffset':Number(_0x5df3e9),'collapsed':_0x24de1c===_0x5df3e9,'isActive':_0x99106d==='1','rangeType':_0x2fc94c===_0x52210e[_0x308bbc(0x24e)]['TEXT']?_0x52210e[_0x308bbc(0x24e)][_0x308bbc(0x2fc)]:_0x52210e[_0x308bbc(0x24e)]['RECT'],'segmentId':typeof _0x141ef8=='string'?String(_0x141ef8):'','segmentPage':Number(_0x11b9b4!=null?_0x11b9b4:-0x1)});}return _0x1d78d4[_0x308bbc(0xfe)](_0x5df6fe=>_0x5df6fe[_0x308bbc(0x1e8)])||(_0x1d78d4[0x0][_0x308bbc(0x1e8)]=!0x0),_0x1d78d4;}class _0x446a6c extends _0x52210e[_0x4cf005(0x238)]{constructor(){const _0x352b3d=_0x4cf005;super(...arguments),_0xb6ff52(this,_0x352b3d(0x2fd),new _0x27f681['BehaviorSubject'](null)),_0xb6ff52(this,'collabCursorState$',this[_0x352b3d(0x2fd)]['asObservable']());}[_0x4cf005(0x321)](_0x359ea2){const _0x1282a6=_0x4cf005,{unitID:_0x2dab18,memberID:_0x411e37,textRanges:_0x3f2fff}=_0x359ea2,_0x292919=_0x16a80a(_0x3f2fff);if(_0x292919==='')return;const _0x2485e4={'unitID':_0x2dab18,'memberID':_0x411e37,'selection':_0x292919};this[_0x1282a6(0x2fd)][_0x1282a6(0x161)](_0x2485e4);}}var _0x48c278=Object[_0x4cf005(0x19c)],_0x227422=(_0xa89137,_0x29114d,_0x1710f1,_0x27f7d8)=>{for(var _0x2ccc54=_0x27f7d8>0x1?void 0x0:_0x27f7d8?_0x48c278(_0x29114d,_0x1710f1):_0x29114d,_0x46b440=_0xa89137['length']-0x1,_0x2844af;_0x46b440>=0x0;_0x46b440--)(_0x2844af=_0xa89137[_0x46b440])&&(_0x2ccc54=_0x2844af(_0x2ccc54)||_0x2ccc54);return _0x2ccc54;},_0x33fde2=(_0x25a2b1,_0x3493e2)=>(_0x2b8188,_0x510d3f)=>_0x3493e2(_0x2b8188,_0x510d3f,_0x25a2b1);const _0x48cb46=0x12c,_0x562d70=0x64;let _0x150543=class extends _0x52210e[_0x4cf005(0x238)]{constructor(_0x47836b,_0x366d16,_0x2dd73c,_0x2cb153,_0x19466a,_0xd027fe,_0xcd8e55,_0x26c2cf,_0x69d2ed){const _0x20a6e0=_0x4cf005;super(),_0xb6ff52(this,_0x20a6e0(0xc3),!0x1),_0xb6ff52(this,_0x20a6e0(0x138),!0x1),_0xb6ff52(this,_0x20a6e0(0x194),new _0x27f681[(_0x20a6e0(0x132))](new Map())),_0xb6ff52(this,'cursorInfo$',this['_cursorInfo$'][_0x20a6e0(0x1b6)]()),_0xb6ff52(this,_0x20a6e0(0x20d),new _0x27f681['BehaviorSubject']([])),_0xb6ff52(this,_0x20a6e0(0x256),this[_0x20a6e0(0x20d)][_0x20a6e0(0x23f)](_0x27f681[_0x20a6e0(0x200)](_0x48cb46))),_0xb6ff52(this,_0x20a6e0(0x29b),_0x52210e[_0x20a6e0(0x1a5)](_0x35887f=>{const _0x41a04d=_0x20a6e0,_0x419c08={'eventID':_0x4251a6['CollaborationEvent'][_0x41a04d(0x1f5)],'data':{'unitID':this[_0x41a04d(0x1d1)],'memberID':this[_0x41a04d(0x276)][_0x41a04d(0x109)](),'selection':_0x16a80a(_0x35887f)}};this['_session'][_0x41a04d(0x244)](_0x419c08,this['unitID']);},_0x562d70)),(this[_0x20a6e0(0x1d1)]=_0x47836b,this[_0x20a6e0(0x276)]=_0x366d16,this[_0x20a6e0(0x335)]=_0x2dd73c,this[_0x20a6e0(0x218)]=_0x2cb153,this[_0x20a6e0(0x224)]=_0x19466a,this[_0x20a6e0(0xcb)]=_0xd027fe,this[_0x20a6e0(0x13b)]=_0xcd8e55,this[_0x20a6e0(0x1a0)]=_0x26c2cf,this[_0x20a6e0(0x1a7)]=_0x69d2ed);}get[_0x4cf005(0x230)](){const _0x2b5e33=_0x4cf005;return this[_0x2b5e33(0x194)][_0x2b5e33(0x136)]();}get['roomMembers'](){return this['_roomMembers$']['getValue']();}[_0x4cf005(0xf7)](){const _0x34dc30=_0x4cf005;super['dispose'](),this[_0x34dc30(0x194)][_0x34dc30(0x161)](new Map()),this['_cursorInfo$'][_0x34dc30(0x1a1)](),this['_roomMembers$'][_0x34dc30(0x161)]([]),this[_0x34dc30(0x20d)][_0x34dc30(0x1a1)]();}[_0x4cf005(0x176)](){const _0x8ed3f7=_0x4cf005;this['_init']||(this[_0x8ed3f7(0x138)]=!0x0,this[_0x8ed3f7(0x276)][_0x8ed3f7(0x204)][_0x8ed3f7(0x23f)](_0x27f681[_0x8ed3f7(0xd2)](this[_0x8ed3f7(0x183)]))['subscribe'](_0x332598=>{const _0x57b65d=_0x8ed3f7;_0x332598===_0x47040c['SessionStatus'][_0x57b65d(0x315)]?this[_0x57b65d(0x1ed)]():this[_0x57b65d(0x18d)]();}),this[_0x8ed3f7(0x276)][_0x8ed3f7(0x141)][_0x8ed3f7(0x23f)](_0x27f681[_0x8ed3f7(0xd2)](this['dispose$']))['subscribe'](_0x4e30b1=>{const _0x48d3c9=_0x8ed3f7,_0x40b534=_0x4e30b1[_0x48d3c9(0x110)];_0x40b534===_0x4251a6['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x4e30b1),_0x40b534===_0x4251a6[_0x48d3c9(0x2cb)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x4e30b1);}),this[_0x8ed3f7(0x285)](this[_0x8ed3f7(0x1a7)][_0x8ed3f7(0x143)](_0x536dcd=>{const _0x189bcd=_0x8ed3f7,_0x380f84=_0x536dcd[_0x189bcd(0x2ae)];_0x380f84!=null&&this[_0x189bcd(0xc3)]&&_0x536dcd['id']===_0x20d49c[_0x189bcd(0x181)]['id']&&_0x380f84[_0x189bcd(0x163)]===this[_0x189bcd(0x1d1)]&&_0x380f84[_0x189bcd(0x1b8)]===!0x1&&_0x380f84[_0x189bcd(0x25b)][_0x189bcd(0x20e)]>0x0&&this[_0x189bcd(0x29b)](_0x380f84[_0x189bcd(0x25b)]);})),this[_0x8ed3f7(0xcb)][_0x8ed3f7(0x211)][_0x8ed3f7(0x23f)](_0x27f681[_0x8ed3f7(0xd2)](this[_0x8ed3f7(0x183)]))[_0x8ed3f7(0x21a)](_0x230371=>{const _0x225821=_0x8ed3f7;if((_0x230371==null?void 0x0:_0x230371[_0x225821(0x1d1)])!==this['unitID'])return;const _0x530788={'eventID':_0x4251a6['CollaborationEvent'][_0x225821(0x1f5)],'data':_0x230371};this['_onCursorUpdate'](_0x530788);}),this[_0x8ed3f7(0x285)](this[_0x8ed3f7(0x1a7)]['onCommandExecuted'](_0x31ffee=>{const _0x2fa718=_0x8ed3f7;if(_0x31ffee[_0x2fa718(0x2ae)]==null)return;const _0x247d8a=_0x31ffee[_0x2fa718(0x2ae)];if(_0x31ffee['id']!==_0x20d49c[_0x2fa718(0x160)]['id']||_0x247d8a['unitId']!==this[_0x2fa718(0x1d1)])return;const _0xe71af9={'id':_0x2fa718(0xc1),'params':_0x247d8a},_0x5ac545=this[_0x2fa718(0x230)];for(const [_0x3857d1,_0x4f0f22]of _0x5ac545){const _0x2d0048={'id':_0x2fa718(0xc1),'params':{'unitId':this[_0x2fa718(0x1d1)],'actions':null,'textRanges':_0x4f0f22[_0x2fa718(0x25b)]}},_0x15ce35=this[_0x2fa718(0x13b)][_0x2fa718(0x296)](_0xe71af9,_0x2d0048,!0x1);if(_0x4251a6[_0x2fa718(0xe3)](_0x15ce35))throw _0x15ce35[_0x2fa718(0x1db)];_0x5ac545[_0x2fa718(0x202)](_0x3857d1,{..._0x4f0f22,'ranges':_0x15ce35['m2Prime']['params'][_0x2fa718(0x2a3)]});}queueMicrotask(()=>{const _0x101e15=_0x2fa718;this[_0x101e15(0x194)][_0x101e15(0x161)](_0x5ac545);});})));}['_onCursorUpdate'](_0x33c562){const _0x2d9ff4=_0x4cf005;var _0x458535,_0x5d59f4;const {memberID:_0x4e3b8f,selection:_0x1b95ac}=_0x33c562['data'],_0x54ebff=_0x4c64c4(_0x1b95ac),_0x562fc4=(_0x5d59f4=(_0x458535=this[_0x2d9ff4(0x224)][_0x2d9ff4(0xf2)](this[_0x2d9ff4(0x1d1)],_0x4e3b8f))==null?void 0x0:_0x458535[_0x2d9ff4(0x306)])!=null?_0x5d59f4:_0x2d9ff4(0xbf),_0x5201ec={'color':this[_0x2d9ff4(0x218)][_0x2d9ff4(0x192)](_0x4e3b8f),'name':_0x562fc4,'ranges':_0x54ebff},_0x3e2b40=this[_0x2d9ff4(0x230)];_0x3e2b40[_0x2d9ff4(0x202)](_0x4e3b8f,_0x5201ec),this['_cursorInfo$'][_0x2d9ff4(0x161)](_0x3e2b40);}[_0x4cf005(0x247)](_0x350426){const _0x5d2ecb=_0x4cf005,{memberID:_0x58cdc6}=_0x350426['data'],_0x189c8d=this[_0x5d2ecb(0x230)];_0x189c8d[_0x5d2ecb(0x101)](_0x58cdc6),this[_0x5d2ecb(0x194)][_0x5d2ecb(0x161)](_0x189c8d);}['_toggleOnline'](){const _0x1b289b=_0x4cf005;var _0x30fbaa;if(this['_online']=!0x0,((_0x30fbaa=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x30fbaa[_0x1b289b(0x302)]())!==this[_0x1b289b(0x1d1)])return;const _0x2a5e6a=this[_0x1b289b(0x335)][_0x1b289b(0x1d2)](_0x20d49c[_0x1b289b(0x1d7)])[_0x1b289b(0x10e)]();Array[_0x1b289b(0x2ac)](_0x2a5e6a)&&_0x2a5e6a[_0x1b289b(0x20e)]>0x0&&this[_0x1b289b(0x29b)](_0x2a5e6a);}[_0x4cf005(0x18d)](){const _0x191e08=_0x4cf005;this[_0x191e08(0xc3)]=!0x1;}};_0x150543=_0x227422([_0x33fde2(0x2,_0x52210e[_0x4cf005(0x2d1)](_0x52210e[_0x4cf005(0x2d9)])),_0x33fde2(0x3,_0x52210e[_0x4cf005(0x2d1)](_0x499053)),_0x33fde2(0x4,_0x52210e[_0x4cf005(0x2d1)](_0x47040c[_0x4cf005(0x29a)])),_0x33fde2(0x5,_0x52210e[_0x4cf005(0x2d1)](_0x446a6c)),_0x33fde2(0x6,_0x4251a6[_0x4cf005(0xc5)]),_0x33fde2(0x7,_0x52210e[_0x4cf005(0xf3)]),_0x33fde2(0x8,_0x52210e[_0x4cf005(0x18a)])],_0x150543);var _0x3ee1df=Object['getOwnPropertyDescriptor'],_0x5bdd46=(_0x5c4afb,_0x4853b6,_0x38eb46,_0x5f2398)=>{const _0x548864=_0x4cf005;for(var _0x268761=_0x5f2398>0x1?void 0x0:_0x5f2398?_0x3ee1df(_0x4853b6,_0x38eb46):_0x4853b6,_0x8f5d42=_0x5c4afb[_0x548864(0x20e)]-0x1,_0x10ac16;_0x8f5d42>=0x0;_0x8f5d42--)(_0x10ac16=_0x5c4afb[_0x8f5d42])&&(_0x268761=_0x10ac16(_0x268761)||_0x268761);return _0x268761;},_0x2d4c00=(_0x1b07cd,_0x30924e)=>(_0x18889a,_0x49b473)=>_0x30924e(_0x18889a,_0x49b473,_0x1b07cd);const _0xae5357=0x12c,_0x771626=0x64,_0x2bd041=()=>{let _0x7fc7a0=[],_0x44861c=!0x1;return _0x4ac515=>{const _0x4ff443=_0x568e;_0x7fc7a0[_0x4ff443(0x11e)](_0x4ac515),_0x44861c||(_0x44861c=!0x0,setTimeout(()=>{_0x7fc7a0['forEach'](_0x110b98=>_0x110b98()),_0x7fc7a0=[],_0x44861c=!0x1;}));};};let _0x3caa59=class extends _0x52210e[_0x4cf005(0x238)]{constructor(_0x2bd331,_0x8b67b6,_0x2d89f9,_0x40a222,_0x3089e8,_0x53f890,_0x3b2452,_0x3cb37f){const _0x54d688=_0x4cf005;super(),_0xb6ff52(this,_0x54d688(0xc3),!0x1),_0xb6ff52(this,'_init',!0x1),_0xb6ff52(this,'_cursorInfo$',new _0x27f681['BehaviorSubject'](new Map())),_0xb6ff52(this,_0x54d688(0x167),this[_0x54d688(0x194)][_0x54d688(0x1b6)]()),_0xb6ff52(this,_0x54d688(0x20d),new _0x27f681[(_0x54d688(0x132))]([])),_0xb6ff52(this,_0x54d688(0x256),this['_roomMembers$'][_0x54d688(0x23f)](_0x27f681[_0x54d688(0x200)](_0xae5357))),_0xb6ff52(this,_0x54d688(0x29b),_0x52210e[_0x54d688(0x1a5)]((_0x1c3c34,_0x2e5daf)=>{const _0x88a36e=_0x54d688,_0x108d49={'eventID':_0x4251a6[_0x88a36e(0x2cb)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x88a36e(0x1d1)],'memberID':this['_session']['getMemberID'](),'selection':_0x2b9df9[_0x88a36e(0x317)](_0x1c3c34,_0x2e5daf['range'])}};this[_0x88a36e(0x276)]['send'](_0x108d49,this[_0x88a36e(0x1d1)]);},_0x771626)),(this[_0x54d688(0x1d1)]=_0x2bd331,this[_0x54d688(0x276)]=_0x8b67b6,this[_0x54d688(0x335)]=_0x2d89f9,this[_0x54d688(0x218)]=_0x40a222,this[_0x54d688(0x224)]=_0x3089e8,this['_univerInstanceService']=_0x53f890,this[_0x54d688(0x1a7)]=_0x3b2452,this[_0x54d688(0x31b)]=_0x3cb37f);}get[_0x4cf005(0x230)](){const _0x53dc9a=_0x4cf005;return this[_0x53dc9a(0x194)]['getValue']();}get['roomMembers'](){const _0x3d5bcc=_0x4cf005;return this[_0x3d5bcc(0x20d)][_0x3d5bcc(0x136)]();}[_0x4cf005(0xf7)](){const _0x3f9d69=_0x4cf005;super[_0x3f9d69(0xf7)](),this[_0x3f9d69(0x194)][_0x3f9d69(0x161)](new Map()),this['_cursorInfo$'][_0x3f9d69(0x1a1)](),this[_0x3f9d69(0x20d)]['next']([]),this[_0x3f9d69(0x20d)][_0x3f9d69(0x1a1)]();}[_0x4cf005(0x176)](){const _0x25bd8d=_0x4cf005;this[_0x25bd8d(0x138)]||(this[_0x25bd8d(0x138)]=!0x0,this[_0x25bd8d(0x276)][_0x25bd8d(0x204)]['pipe'](_0x27f681[_0x25bd8d(0xd2)](this[_0x25bd8d(0x183)]))[_0x25bd8d(0x21a)](_0x1e7152=>{const _0x5d1ed8=_0x25bd8d;_0x1e7152===_0x47040c[_0x5d1ed8(0x1c4)]['ONLINE']?this['_toggleOnline']():this[_0x5d1ed8(0x18d)]();}),this[_0x25bd8d(0x276)]['event$']['pipe'](_0x27f681['takeUntil'](this[_0x25bd8d(0x183)]))['subscribe'](_0x39ca73=>{const _0x2dc4e8=_0x25bd8d,_0x27d631=_0x39ca73['eventID'];_0x27d631===_0x4251a6['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x2dc4e8(0x206)](_0x39ca73),_0x27d631===_0x4251a6[_0x2dc4e8(0x2cb)][_0x2dc4e8(0x1c1)]&&this[_0x2dc4e8(0x247)](_0x39ca73);}),this[_0x25bd8d(0x330)](),this['disposeWithMe'](this[_0x25bd8d(0x1a7)][_0x25bd8d(0x143)](_0x20e735=>{const _0x1ffbce=_0x25bd8d;if(this[_0x1ffbce(0xc3)]&&_0x20e735['id']===_0x1f677a[_0x1ffbce(0x273)]['id']&&_0x20e735[_0x1ffbce(0x2ae)][_0x1ffbce(0x163)]===this[_0x1ffbce(0x1d1)]){const _0x453212=_0x20e735['params'];this[_0x1ffbce(0x29b)](_0x453212[_0x1ffbce(0x22c)],_0x453212['selections'][0x0]);}})));}['_onCursorUpdate'](_0x3d3f9c){const _0x52d02e=_0x4cf005;var _0x35e32c,_0x80da07;const {memberID:_0x479c54,selection:_0x3c3ff4}=_0x3d3f9c[_0x52d02e(0x1fe)],{sheetName:_0x416b8b,range:_0x3e6615}=_0x2b9df9[_0x52d02e(0x2b8)](_0x3c3ff4),_0x15899c={'name':(_0x80da07=(_0x35e32c=this['_memberService']['getMember'](this[_0x52d02e(0x1d1)],_0x479c54))==null?void 0x0:_0x35e32c['name'])!=null?_0x80da07:_0x52d02e(0xbf),'range':this['_getMergeRange'](_0x416b8b,_0x3e6615),'sheetID':_0x416b8b,'color':this[_0x52d02e(0x218)][_0x52d02e(0x192)](_0x479c54),'selection':_0x3c3ff4},_0x38a9c6=this[_0x52d02e(0x230)];_0x38a9c6[_0x52d02e(0x202)](_0x479c54,_0x15899c),this[_0x52d02e(0x194)][_0x52d02e(0x161)](_0x38a9c6);}[_0x4cf005(0x247)](_0x4c0948){const _0x1ab2f7=_0x4cf005,{memberID:_0x1ea8bd}=_0x4c0948[_0x1ab2f7(0x1fe)],_0x278031=this[_0x1ab2f7(0x230)];_0x278031['delete'](_0x1ea8bd),this[_0x1ab2f7(0x194)][_0x1ab2f7(0x161)](_0x278031);}[_0x4cf005(0x25f)](_0x4dbf1d,_0x4e958a){const _0x3dfa0e=_0x4cf005;var _0xfbac9e,_0x15128c;const _0x3f4903=(_0x15128c=(_0xfbac9e=this['_univerInstanceService'][_0x3dfa0e(0xa8)](this[_0x3dfa0e(0x1d1)]))==null?void 0x0:_0xfbac9e['getSheetBySheetId'](_0x4dbf1d))==null?void 0x0:_0x15128c[_0x3dfa0e(0x1cf)]();return(_0x3f4903==null?void 0x0:_0x3f4903[_0x3dfa0e(0x150)](_0x14f5a4=>_0x52210e[_0x3dfa0e(0x170)]['contains'](_0x14f5a4,_0x4e958a)))||_0x4e958a;}[_0x4cf005(0x330)](){const _0x3d5ec0=_0x4cf005,_0x4a5050=new _0x52210e[(_0x3d5ec0(0x2f2))](),_0x494eab=_0x2bd041(),_0x5ae12d=()=>{const _0x5bdb08=_0x3d5ec0;_0x4a5050[_0x5bdb08(0xf7)]();const _0x302a54=(_0x1d4105,_0x6c00a3,_0x30b3c7,_0x3ec3f2)=>{const _0x23d8a5=_0x5bdb08;let _0xc018a0=[];switch(_0x1d4105['id']){case _0x1f677a['EffectRefRangId'][_0x23d8a5(0x2be)]:{_0xc018a0=_0x1f677a['handleDeleteRangeMoveLeft'](_0x1d4105,_0x3ec3f2);break;}case _0x1f677a[_0x23d8a5(0x18b)][_0x23d8a5(0x289)]:{_0xc018a0=_0x1f677a[_0x23d8a5(0x16d)](_0x1d4105,_0x3ec3f2);break;}case _0x1f677a[_0x23d8a5(0x18b)]['InsertColCommandId']:{_0xc018a0=_0x1f677a[_0x23d8a5(0x149)](_0x1d4105,_0x3ec3f2);break;}case _0x1f677a[_0x23d8a5(0x18b)][_0x23d8a5(0x15d)]:{_0xc018a0=_0x1f677a['handleInsertRangeMoveDown'](_0x1d4105,_0x3ec3f2);break;}case _0x1f677a[_0x23d8a5(0x18b)][_0x23d8a5(0x266)]:{_0xc018a0=_0x1f677a['handleInsertRangeMoveRight'](_0x1d4105,_0x3ec3f2);break;}case _0x1f677a[_0x23d8a5(0x18b)][_0x23d8a5(0x1a2)]:{_0xc018a0=_0x1f677a[_0x23d8a5(0x23d)](_0x1d4105,_0x3ec3f2);break;}case _0x1f677a[_0x23d8a5(0x18b)]['MoveRangeCommandId']:{_0xc018a0=_0x1f677a[_0x23d8a5(0x320)](_0x1d4105,_0x3ec3f2);break;}case _0x1f677a[_0x23d8a5(0x18b)][_0x23d8a5(0x1dd)]:{_0xc018a0=_0x1f677a['handleIRemoveCol'](_0x1d4105,_0x3ec3f2);break;}case _0x1f677a[_0x23d8a5(0x18b)][_0x23d8a5(0x2c5)]:{_0xc018a0=_0x1f677a['handleIRemoveRow'](_0x1d4105,_0x3ec3f2);break;}}const _0x17156d=_0x1f677a[_0x23d8a5(0x27b)](_0xc018a0,_0x3ec3f2),_0x30042f=this[_0x23d8a5(0x230)][_0x23d8a5(0x1d2)](_0x6c00a3);if(_0x30042f&&_0x17156d){const _0x1ce875={..._0x30042f,'range':_0x17156d};this['cursorInfo']['set'](_0x6c00a3,_0x1ce875),_0x494eab(()=>{const _0x52e31a=_0x23d8a5,_0x190513=this[_0x52e31a(0x31b)]['registerRefRange'](_0x17156d,_0x5b734c=>(_0x190513[_0x52e31a(0xf7)](),_0x302a54(_0x5b734c,_0x6c00a3,_0x30b3c7,_0x17156d)));_0x4a5050[_0x52e31a(0x12c)](_0x190513);});}return{'redos':[],'undos':[]};};this[_0x5bdb08(0x230)][_0x5bdb08(0x2f5)]((_0x5ea98f,_0x1a568e)=>{const _0x5adffa=_0x5bdb08,{range:_0xb3a1cb,sheetID:_0x156789}=_0x5ea98f,_0x135854=this[_0x5adffa(0x31b)][_0x5adffa(0xbe)](_0xb3a1cb,_0x5e0978=>(_0x135854[_0x5adffa(0xf7)](),_0x302a54(_0x5e0978,_0x1a568e,_0x156789,_0xb3a1cb)));_0x4a5050[_0x5adffa(0x12c)](_0x135854);});};this['disposeWithMe'](_0x52210e[_0x3d5ec0(0x2df)](this[_0x3d5ec0(0x194)]['subscribe'](()=>{_0x5ae12d();})));}[_0x4cf005(0x1ed)](){const _0x57b530=_0x4cf005;var _0x327497,_0x3717e6;if(this['_online']=!0x0,((_0x327497=this[_0x57b530(0x1a0)][_0x57b530(0x2bc)]())==null?void 0x0:_0x327497[_0x57b530(0x302)]())!==this[_0x57b530(0x1d1)])return;const _0x390a81=(_0x3717e6=this[_0x57b530(0x335)][_0x57b530(0x1d2)](_0x1f677a[_0x57b530(0xb0)])[_0x57b530(0x329)]())==null?void 0x0:_0x3717e6[0x0],_0x25657b=this[_0x57b530(0x1a0)][_0x57b530(0x174)](_0x52210e[_0x57b530(0x268)][_0x57b530(0x2d2)])['getActiveSheet']();_0x390a81&&_0x25657b&&this[_0x57b530(0x29b)](_0x25657b[_0x57b530(0x13d)](),_0x390a81);}[_0x4cf005(0x18d)](){const _0x466b95=_0x4cf005;this[_0x466b95(0xc3)]=!0x1;}};_0x3caa59=_0x5bdd46([_0x2d4c00(0x2,_0x52210e[_0x4cf005(0x2d1)](_0x52210e[_0x4cf005(0x2d9)])),_0x2d4c00(0x3,_0x52210e['Inject'](_0x499053)),_0x2d4c00(0x4,_0x52210e[_0x4cf005(0x2d1)](_0x47040c[_0x4cf005(0x29a)])),_0x2d4c00(0x5,_0x52210e[_0x4cf005(0xf3)]),_0x2d4c00(0x6,_0x52210e[_0x4cf005(0x18a)]),_0x2d4c00(0x7,_0x52210e[_0x4cf005(0x2d1)](_0x1f677a[_0x4cf005(0x16f)]))],_0x3caa59);var _0x2822cb=Object[_0x4cf005(0x19c)],_0x195308=(_0x3f6a91,_0x5a4a0a,_0x394868,_0x5d44eb)=>{const _0x57448c=_0x4cf005;for(var _0x3b0dca=_0x5d44eb>0x1?void 0x0:_0x5d44eb?_0x2822cb(_0x5a4a0a,_0x394868):_0x5a4a0a,_0x33b2d7=_0x3f6a91[_0x57448c(0x20e)]-0x1,_0x25489a;_0x33b2d7>=0x0;_0x33b2d7--)(_0x25489a=_0x3f6a91[_0x33b2d7])&&(_0x3b0dca=_0x25489a(_0x3b0dca)||_0x3b0dca);return _0x3b0dca;},_0x3af61d=(_0xfaa354,_0x6cda95)=>(_0x3cf69d,_0x11776a)=>_0x6cda95(_0x3cf69d,_0x11776a,_0xfaa354);let _0x1ee3b8=class extends _0x52210e[_0x4cf005(0x238)]{constructor(_0x2ea33c,_0x3ad13f,_0x1eb0a3){const _0x3c5b90=_0x4cf005;super(),_0xb6ff52(this,_0x3c5b90(0x203),new Map()),_0xb6ff52(this,_0x3c5b90(0x15f),new _0x27f681[(_0x3c5b90(0x105))]()),(this[_0x3c5b90(0x1a0)]=_0x2ea33c,this[_0x3c5b90(0x335)]=_0x3ad13f,this[_0x3c5b90(0x248)]=_0x1eb0a3,this[_0x3c5b90(0x138)]());}[_0x4cf005(0xf7)](){const _0x8fa3f3=_0x4cf005;super['dispose'](),this[_0x8fa3f3(0x15f)][_0x8fa3f3(0x1a1)](),this[_0x8fa3f3(0x203)]['forEach'](_0x41e0eb=>_0x41e0eb['dispose']());}['getCollabCursors$'](_0x4738ee){const _0x29b86d=_0x4cf005;return this['_entities']['has'](_0x4738ee)?this[_0x29b86d(0x203)][_0x29b86d(0x1d2)](_0x4738ee)[_0x29b86d(0x167)]:this[_0x29b86d(0x15f)][_0x29b86d(0x23f)](_0x27f681[_0x29b86d(0x17b)](_0x3f5a25=>_0x3f5a25[_0x29b86d(0x1d1)]===_0x4738ee),_0x27f681[_0x29b86d(0x29d)](_0x4241a1=>_0x4241a1[_0x29b86d(0x167)]));}[_0x4cf005(0x138)](){const _0x39d183=_0x4cf005;this[_0x39d183(0x1a0)]['getTypeOfUnitAdded$'](_0x52210e['UniverInstanceType'][_0x39d183(0x2d2)])[_0x39d183(0x23f)](_0x27f681[_0x39d183(0xd2)](this[_0x39d183(0x183)]))[_0x39d183(0x21a)](async _0xfa3964=>{const _0x469d55=_0x39d183,_0x5defa9=_0xfa3964[_0x469d55(0x302)](),_0x5ebcde=await this['_startSheetCollabCursor'](_0x5defa9);this[_0x469d55(0x15f)][_0x469d55(0x161)](_0x5ebcde),this[_0x469d55(0x203)][_0x469d55(0x202)](_0x5defa9,_0x5ebcde);}),this[_0x39d183(0x1a0)]['getTypeOfUnitAdded$'](_0x52210e['UniverInstanceType'][_0x39d183(0x169)])['pipe'](_0x27f681['takeUntil'](this[_0x39d183(0x183)]))[_0x39d183(0x23f)](_0x27f681[_0x39d183(0x17b)](_0x4ecd90=>!_0x4ecd90[_0x39d183(0x302)]()[_0x39d183(0x179)]('__')))[_0x39d183(0x21a)](async _0x557b82=>{const _0x5999e0=_0x39d183,_0x301721=_0x557b82['getUnitId'](),_0x362427=await this[_0x5999e0(0x1cd)](_0x301721);this[_0x5999e0(0x15f)][_0x5999e0(0x161)](_0x362427),this[_0x5999e0(0x203)]['set'](_0x301721,_0x362427);}),_0x27f681[_0x39d183(0xa9)](this[_0x39d183(0x1a0)][_0x39d183(0x1d9)](_0x52210e[_0x39d183(0x268)][_0x39d183(0x169)]),this[_0x39d183(0x1a0)][_0x39d183(0x1d9)](_0x52210e[_0x39d183(0x268)][_0x39d183(0x2d2)]))[_0x39d183(0x23f)](_0x27f681['takeUntil'](this[_0x39d183(0x183)]))[_0x39d183(0x21a)](_0x36b011=>{const _0x328cf4=_0x39d183,_0x53230b=_0x36b011['getUnitId'](),_0x442307=this[_0x328cf4(0x203)][_0x328cf4(0x1d2)](_0x53230b);_0x442307&&(_0x442307[_0x328cf4(0xf7)](),this[_0x328cf4(0x203)][_0x328cf4(0x101)](_0x53230b));});}async[_0x4cf005(0x16a)](_0x4b27e6){const _0x3cc100=_0x4cf005,_0x1e7f28=await this[_0x3cc100(0x248)][_0x3cc100(0x304)](_0x4b27e6),_0x35c591=this[_0x3cc100(0x335)][_0x3cc100(0x2ea)](_0x3caa59,_0x4b27e6,_0x1e7f28);return _0x35c591[_0x3cc100(0x176)](),_0x35c591;}async[_0x4cf005(0x1cd)](_0x321e55){const _0x30e36c=_0x4cf005,_0x1e8b0c=await this[_0x30e36c(0x248)]['requireSession'](_0x321e55),_0xde6611=this[_0x30e36c(0x335)][_0x30e36c(0x2ea)](_0x150543,_0x321e55,_0x1e8b0c);return _0xde6611[_0x30e36c(0x176)](),_0xde6611;}};_0x1ee3b8=_0x195308([_0x3af61d(0x0,_0x52210e['IUniverInstanceService']),_0x3af61d(0x1,_0x52210e[_0x4cf005(0x2d1)](_0x52210e[_0x4cf005(0x2d9)])),_0x3af61d(0x2,_0x52210e[_0x4cf005(0x2d1)](_0x47040c[_0x4cf005(0x270)]))],_0x1ee3b8);const _0x26e7ed=0x14,_0x628218=0xc8,_0x93c2c1=0x4,_0x30d96b=0x5;function _0xa0c346(_0xe96e3f,_0x3cf627){const _0x22be6a=_0x4cf005;let {radius:_0x3eb840,width:_0x13297e,height:_0x53efe3}=_0x3cf627;_0x3eb840=_0x3eb840!=null?_0x3eb840:0x0,_0x13297e=_0x13297e!=null?_0x13297e:0x1e,_0x53efe3=_0x53efe3!=null?_0x53efe3:0x1e;let _0x3a8c7f=0x0,_0x343374=0x0,_0x32c0ea=0x0;_0x3a8c7f=_0x343374=_0x32c0ea=Math['min'](_0x3eb840,_0x13297e/0x2,_0x53efe3/0x2),_0xe96e3f[_0x22be6a(0x30c)](),_0xe96e3f[_0x22be6a(0x222)](_0x3a8c7f,0x0),_0xe96e3f[_0x22be6a(0x127)](_0x13297e-_0x343374,0x0),_0xe96e3f['arc'](_0x13297e-_0x343374,_0x343374,_0x343374,Math['PI']*0x3/0x2,0x0,!0x1),_0xe96e3f['lineTo'](_0x13297e,_0x53efe3-_0x32c0ea),_0xe96e3f['arc'](_0x13297e-_0x32c0ea,_0x53efe3-_0x32c0ea,_0x32c0ea,0x0,Math['PI']/0x2,!0x1),_0xe96e3f[_0x22be6a(0x127)](0x0,_0x53efe3),_0xe96e3f[_0x22be6a(0x127)](0x0,_0x3a8c7f),_0xe96e3f['arc'](_0x3a8c7f,_0x3a8c7f,_0x3a8c7f,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xe96e3f[_0x22be6a(0x2db)](),_0x3cf627[_0x22be6a(0x2e6)]&&(_0xe96e3f['save'](),_0xe96e3f[_0x22be6a(0x21e)]=_0x3cf627[_0x22be6a(0x2e6)],_0x3cf627[_0x22be6a(0x164)]==='evenodd'?_0xe96e3f[_0x22be6a(0x2e6)](_0x22be6a(0x305)):_0xe96e3f[_0x22be6a(0x2e6)](),_0xe96e3f['restore']());}class _0x556dcb extends _0x45eaa5[_0x4cf005(0x1b2)]{constructor(_0x2ebe1b,_0x121da0){const _0x3fc348=_0x4cf005;super(_0x2ebe1b,_0x121da0),_0xb6ff52(this,'color'),_0xb6ff52(this,'text'),(this[_0x3fc348(0xb6)]=_0x121da0==null?void 0x0:_0x121da0[_0x3fc348(0xb6)],this[_0x3fc348(0x2f0)]=_0x121da0==null?void 0x0:_0x121da0[_0x3fc348(0x2f0)]);}static[_0x4cf005(0x323)](_0x5af3a0,_0xd12233){const _0x54cb25=_0x4cf005,{text:_0x34f7a1,color:_0x3f85d3}=_0xd12233;_0x5af3a0[_0x54cb25(0x220)](),_0x5af3a0[_0x54cb25(0x262)]=_0x54cb25(0x1f9);const _0x1b57b2=_0x5af3a0[_0x54cb25(0x257)](_0x34f7a1)['width'],_0x5db0e3=Math[_0x54cb25(0x23b)](_0x1b57b2+0x2*_0x93c2c1,_0x628218);_0xa0c346(_0x5af3a0,{'height':_0x26e7ed,'radius':0x4,'width':_0x5db0e3,'fill':_0x3f85d3}),_0x5af3a0['fillStyle']='#FFF';const _0x527b3d=_0x93c2c1,_0x343752=_0x26e7ed-_0x30d96b,_0x13745b=_0x628218-0x2*_0x93c2c1;if(_0x1b57b2>_0x13745b){let _0x502137='',_0x56529b=0x0;for(const _0x20c84c of _0x34f7a1){const _0x35eed7=_0x5af3a0[_0x54cb25(0x257)](_0x20c84c)['width'];if(_0x56529b+_0x35eed7<=_0x13745b-_0x5af3a0[_0x54cb25(0x257)](_0x54cb25(0x121))[_0x54cb25(0xaa)])_0x502137+=_0x20c84c,_0x56529b+=_0x35eed7;else{_0x502137+=_0x54cb25(0x121);break;}}_0x5af3a0[_0x54cb25(0x229)](_0x502137,_0x527b3d,_0x343752);}else _0x5af3a0['fillText'](_0x34f7a1,_0x527b3d,_0x343752);_0x5af3a0[_0x54cb25(0x23c)]();}[_0x4cf005(0xcd)](_0x2ad203){const _0x26a1a5=_0x4cf005;_0x556dcb[_0x26a1a5(0x323)](_0x2ad203,this);}}const _0x162ae9='collab-text-anchor-',_0x877f00='collab-text-range-',_0x330b69=_0x4cf005(0x187),_0x3ee6e0=0x6,_0x4b7bd7=1.5,_0x41bddb=0x4,_0x42083b=1.5,_0xe0d208=_0x4cf005(0x2d8);class _0xdd03db{constructor(_0x5884a5,_0x25c1d3,_0x37f56d,_0x95928){const _0x54cefb=_0x4cf005;_0xb6ff52(this,'_shapes',[]),_0xb6ff52(this,_0x54cefb(0x2b7),null),_0xb6ff52(this,_0x54cefb(0x1eb),null),_0xb6ff52(this,_0x54cefb(0x31c),null),_0xb6ff52(this,_0x54cefb(0x13c),null),_0xb6ff52(this,_0x54cefb(0x1e5),null),(this[_0x54cefb(0x316)]=_0x5884a5,this[_0x54cefb(0x1fc)]=_0x25c1d3,this[_0x54cefb(0x107)]=_0x37f56d,this[_0x54cefb(0x29e)]=_0x95928,this['_render']());}set[_0x4cf005(0x216)](_0x215717){const _0x487c09=_0x4cf005;_0x215717?(this['_anchorDot']&&this['_anchorDot']['hide'](),this[_0x487c09(0x1eb)]&&this[_0x487c09(0x1eb)]['show']()):(this[_0x487c09(0x31c)]&&this[_0x487c09(0x31c)][_0x487c09(0x1e9)](),this[_0x487c09(0x1eb)]&&this[_0x487c09(0x1eb)][_0x487c09(0xe0)]());}[_0x4cf005(0xf7)](){const _0x3fa423=_0x4cf005;for(const _0x1834f6 of this[_0x3fa423(0xdb)])_0x1834f6[_0x3fa423(0xf7)]();this[_0x3fa423(0x1eb)]&&this[_0x3fa423(0x1eb)][_0x3fa423(0xf7)](),this[_0x3fa423(0x31c)]&&this[_0x3fa423(0x31c)][_0x3fa423(0xf7)](),this[_0x3fa423(0x2b7)]&&this['_anchor']['dispose'](),this[_0x3fa423(0x1e5)]&&this[_0x3fa423(0x1e5)]();}[_0x4cf005(0x223)](){const _0x539244=_0x4cf005;var _0x58d0ef;const {_docSkeleton:_0x410ea3,_document:_0x5d3b5f}=this,{color:_0x42bd3b,name:_0x484b13,ranges:_0x21e17a}=this['_cursor'],_0x58039b=_0x5d3b5f[_0x539244(0x1d3)](),{docsLeft:_0x3c9f80,docsTop:_0x58dd86}=_0x58039b,_0x6a9a93=new _0xd08195[(_0x539244(0x2f1))](_0x58039b,_0x410ea3);for(const {startOffset:_0x5e2bf7,endOffset:_0x19dcf8,rangeType:_0x470ba5,segmentId:_0x4cfd4a,segmentPage:_0x1005ac,collapsed:_0x376dfb,isActive:_0xa8f0fb}of _0x21e17a){const _0x9690c3=_0x410ea3['findNodePositionByCharIndex'](_0x5e2bf7,!0x0,_0x4cfd4a,_0x1005ac);let _0x23e069=_0x410ea3[_0x539244(0x2d3)](_0x19dcf8,!0x0,_0x4cfd4a,_0x1005ac);if(_0x23e069==null&&(_0x23e069=_0x410ea3[_0x539244(0x2d3)](_0x19dcf8-0x1,!0x1,_0x4cfd4a,_0x1005ac)),_0xa8f0fb){const {contentBoxPointGroup:_0x3dbe3d}=_0x6a9a93[_0x539244(0x301)](_0x23e069,_0x23e069);if(_0x3dbe3d[_0x539244(0x20e)]===0x0)continue;this[_0x539244(0x1ee)](_0x42bd3b,_0x3dbe3d,_0x3c9f80,_0x58dd86,_0x484b13),this[_0x539244(0x1e5)]=this['_handleHover']();}if(_0x9690c3&&_0x23e069){if(_0x470ba5===_0x52210e[_0x539244(0x24e)][_0x539244(0x144)]){const _0x5ee7bb=new _0xd08195[(_0x539244(0xee))](_0x58039b,_0x410ea3),{pointGroup:_0x409b77}=(_0x58d0ef=_0x5ee7bb[_0x539244(0x301)](_0x9690c3,_0x23e069))!=null?_0x58d0ef:{};if(_0x409b77==null||_0x409b77[_0x539244(0x20e)]===0x0)continue;this[_0x539244(0x2ce)](_0x42bd3b,_0x409b77,_0x3c9f80,_0x58dd86);}else{if(!_0x376dfb){const {borderBoxPointGroup:_0xd05aa0}=_0x6a9a93[_0x539244(0x301)](_0x9690c3,_0x23e069);if(_0xd05aa0[_0x539244(0x20e)]===0x0)continue;this[_0x539244(0x207)](_0x42bd3b,_0xd05aa0,_0x3c9f80,_0x58dd86);}}}}}[_0x4cf005(0x1ee)](_0x46dc54,_0x254bc9,_0x37f8c6,_0x1438c9,_0x3cdcef){const _0x7ee9be=_0x4cf005,_0x12c7b9=this[_0x7ee9be(0xe8)](_0x254bc9),{left:_0x17d609,top:_0x15ddb3,height:_0x28f2bb}=_0x12c7b9,_0x20e8cd=this[_0x7ee9be(0x124)](),_0x21cd02=_0x42083b/_0x20e8cd,_0x58112c=new _0x45eaa5[(_0x7ee9be(0x190))](_0x162ae9+_0x52210e[_0x7ee9be(0xdc)][_0x7ee9be(0x2c7)](_0x3ee6e0),{'left':_0x17d609+_0x37f8c6-_0x21cd02,'top':_0x15ddb3+_0x1438c9,'height':_0x28f2bb,'width':_0x4b7bd7,'fill':_0x46dc54||_0x45eaa5[_0x7ee9be(0xa7)](_0x52210e[_0x7ee9be(0x2c2)][_0x7ee9be(0x254)],0x0),'strokeWidth':_0x21cd02,'stroke':_0xe0d208,'evented':!0x0});this[_0x7ee9be(0x2b7)]=_0x58112c,this[_0x7ee9be(0x1fc)][_0x7ee9be(0x31f)](_0x58112c,_0xd08195['TEXT_RANGE_LAYER_INDEX']);const _0x111ee2=new _0x45eaa5[(_0x7ee9be(0x190))](_0x162ae9+_0x52210e[_0x7ee9be(0xdc)][_0x7ee9be(0x2c7)](_0x3ee6e0),{'left':_0x17d609+_0x37f8c6-_0x21cd02,'top':_0x15ddb3+_0x1438c9-_0x41bddb/0x2,'height':_0x41bddb,'width':_0x41bddb,'fill':_0x46dc54||_0x45eaa5['getColor'](_0x52210e['COLORS'][_0x7ee9be(0x254)],0x0),'strokeWidth':0x0,'stroke':_0x46dc54||_0x45eaa5['getColor'](_0x52210e[_0x7ee9be(0x2c2)][_0x7ee9be(0x254)],0x0),'evented':!0x1});this[_0x7ee9be(0x31c)]=_0x111ee2,this[_0x7ee9be(0x1fc)]['addObject'](_0x111ee2,_0xd08195[_0x7ee9be(0x100)]);const _0x514f23=new _0x556dcb(_0x162ae9+_0x52210e[_0x7ee9be(0xdc)][_0x7ee9be(0x2c7)](_0x3ee6e0),{'left':_0x17d609+_0x37f8c6-_0x21cd02,'top':_0x15ddb3+_0x1438c9-_0x26e7ed,'text':_0x3cdcef,'color':_0x46dc54});this[_0x7ee9be(0x1eb)]=_0x514f23,this[_0x7ee9be(0x1fc)][_0x7ee9be(0x31f)](_0x514f23,_0xd08195[_0x7ee9be(0x100)]),this[_0x7ee9be(0x216)]=!0x1;}[_0x4cf005(0x252)](){const _0x626469=_0x4cf005,_0xd5015f=this[_0x626469(0x2b7)][_0x626469(0x1b1)][_0x626469(0x308)](()=>{const _0x108bdd=_0x626469;this[_0x108bdd(0x216)]=!0x0;}),_0x408f6b=this[_0x626469(0x2b7)][_0x626469(0x318)][_0x626469(0x308)](()=>{const _0x1ee324=_0x626469;this[_0x1ee324(0x13c)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x3bead4=_0x1ee324;this[_0x3bead4(0x216)]=!0x1;},0x7d0);});return()=>{const _0x1b98e3=_0x626469;_0xd5015f['unsubscribe'](),_0x408f6b[_0x1b98e3(0x166)]();};}[_0x4cf005(0x207)](_0x3f73c6,_0x1c5071,_0xd1e897,_0x27cba1){const _0x5b316c=_0x4cf005,_0x44a482=new _0x52210e['ColorKit'](_0x3f73c6)[_0x5b316c(0x1ad)](0.2)[_0x5b316c(0x26d)](),_0x1f4d63=new _0x45eaa5['RegularPolygon'](_0x877f00+_0x52210e['Tools'][_0x5b316c(0x2c7)](_0x3ee6e0),{'pointsGroup':_0x1c5071,'fill':_0x44a482||_0x45eaa5['getColor'](_0x52210e['COLORS'][_0x5b316c(0x254)],0.2),'left':_0xd1e897,'top':_0x27cba1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5b316c(0xdb)]['push'](_0x1f4d63),this[_0x5b316c(0x1fc)][_0x5b316c(0x31f)](_0x1f4d63,_0xd08195['TEXT_RANGE_LAYER_INDEX']);}[_0x4cf005(0x2ce)](_0x263498,_0x47d3dd,_0x35db7c,_0x115071){const _0x6bc512=_0x4cf005,_0x155d16=new _0x52210e['ColorKit'](_0x263498)[_0x6bc512(0x1ad)](0.2)['toRgbString'](),_0x43f91e=new _0x45eaa5[(_0x6bc512(0x16e))](_0x330b69+_0x52210e[_0x6bc512(0xdc)][_0x6bc512(0x2c7)](_0x3ee6e0),{'pointsGroup':_0x47d3dd,'fill':_0x155d16||_0x45eaa5['getColor'](_0x52210e[_0x6bc512(0x2c2)]['black'],0.2),'left':_0x35db7c,'top':_0x115071,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x6bc512(0xdb)][_0x6bc512(0x11e)](_0x43f91e),this['_scene']['addObject'](_0x43f91e,_0xd08195['TEXT_RANGE_LAYER_INDEX']);}[_0x4cf005(0xe8)](_0x76b3f4){const _0x562fc7=_0x76b3f4[0x0],_0x41ceb4=_0x562fc7[0x0],_0x4a9d54=_0x562fc7[0x2],{x:_0x3bd0bc,y:_0x200262}=_0x41ceb4,{x:_0xe4dd2c,y:_0x492c11}=_0x4a9d54;return{'left':_0x3bd0bc,'top':_0x200262,'width':_0xe4dd2c-_0x3bd0bc,'height':_0x492c11-_0x200262};}[_0x4cf005(0x124)](){const _0x49e9e6=_0x4cf005,{scaleX:_0x54c60d,scaleY:_0xce286}=this[_0x49e9e6(0x1fc)][_0x49e9e6(0x243)]();return Math[_0x49e9e6(0x120)](_0x54c60d,_0xce286);}}var _0x28fcbc=Object[_0x4cf005(0x19c)],_0x17f92e=(_0x530e9f,_0xecf06,_0xca88a5,_0x13a007)=>{const _0x570772=_0x4cf005;for(var _0x2ed2eb=_0x13a007>0x1?void 0x0:_0x13a007?_0x28fcbc(_0xecf06,_0xca88a5):_0xecf06,_0x5a01a0=_0x530e9f[_0x570772(0x20e)]-0x1,_0x199edb;_0x5a01a0>=0x0;_0x5a01a0--)(_0x199edb=_0x530e9f[_0x5a01a0])&&(_0x2ed2eb=_0x199edb(_0x2ed2eb)||_0x2ed2eb);return _0x2ed2eb;},_0x10e080=(_0x2b1640,_0x52123b)=>(_0x3edb38,_0x186913)=>_0x52123b(_0x3edb38,_0x186913,_0x2b1640);let _0x14e670=class extends _0x52210e[_0x4cf005(0x238)]{constructor(_0x285690,_0x14f2e3,_0x231d6b,_0x291169,_0x2dc664){const _0x2720d5=_0x4cf005;super(),_0xb6ff52(this,_0x2720d5(0x253),[]),_0xb6ff52(this,'_cursors',[]),(this[_0x2720d5(0x1a4)]=_0x285690,this[_0x2720d5(0x2c6)]=_0x14f2e3,this[_0x2720d5(0x237)]=_0x231d6b,this[_0x2720d5(0x1a7)]=_0x291169,this[_0x2720d5(0x328)]=_0x2dc664,this[_0x2720d5(0x138)]());}[_0x4cf005(0x138)](){const _0x32803d=_0x4cf005,_0x124cba=this[_0x32803d(0x1a4)]['unitId'],_0x4e7e20=this[_0x32803d(0x2c6)];this[_0x32803d(0x285)](_0x27f681[_0x32803d(0x1e4)]([this[_0x32803d(0x237)][_0x32803d(0x17e)](_0x124cba),this[_0x32803d(0x328)][_0x32803d(0x108)]])[_0x32803d(0x23f)](_0x41470f['map'](([_0x5f1a96,_0x54f2e0])=>({'skeleton':_0x4e7e20[_0x32803d(0x1d4)](),'cursors':[..._0x5f1a96[_0x32803d(0xb2)]()][_0x32803d(0x1e3)](_0x39bfbf=>({..._0x39bfbf,'color':_0x54f2e0[_0x39bfbf[_0x32803d(0xb6)]]}))})))[_0x32803d(0x21a)](_0x1c3c31=>{const _0x1e6c49=_0x32803d;if(this[_0x1e6c49(0x312)](),_0x1c3c31){const {skeleton:_0x4ad841,cursors:_0x36dab2}=_0x1c3c31;this['_updateCollabCursors'](_0x4ad841,_0x36dab2);}})),this[_0x32803d(0x307)](),this[_0x32803d(0x217)]();}['_updateCollabCursors'](_0x2edd27,_0x1c5032){const _0xb8de58=_0x4cf005,{scene:_0x1c1b4b,mainComponent:_0x503651}=this[_0xb8de58(0x1a4)],_0x4145ea=_0x1c5032[_0xb8de58(0x25d)](_0x4a3c04=>new _0xdd03db(_0x4a3c04,_0x1c1b4b,_0x2edd27,_0x503651));this[_0xb8de58(0x253)]=_0x4145ea,this[_0xb8de58(0x212)]=_0x1c5032;}[_0x4cf005(0x1c7)](){const _0x570331=_0x4cf005;this[_0x570331(0x312)]();const {scene:_0x37bdea,mainComponent:_0x12730f}=this['_context'],_0x39048a=this[_0x570331(0x2c6)][_0x570331(0x1d4)](),_0x134e2a=this[_0x570331(0x212)][_0x570331(0x25d)](_0xfdf56a=>new _0xdd03db(_0xfdf56a,_0x37bdea,_0x39048a,_0x12730f));this[_0x570331(0x253)]=_0x134e2a;}[_0x4cf005(0x312)](){const _0x5200b4=_0x4cf005;this[_0x5200b4(0x253)]['forEach'](_0x39836e=>_0x39836e[_0x5200b4(0xf7)]()),this[_0x5200b4(0x253)]=[];}[_0x4cf005(0x217)](){const _0x1e7cd9=_0x4cf005,_0x34f8ed=[_0xd08195[_0x1e7cd9(0x279)]['id']];this[_0x1e7cd9(0x285)](this[_0x1e7cd9(0x1a7)][_0x1e7cd9(0x143)](_0x3ccd44=>{const _0x3d661b=_0x1e7cd9;_0x34f8ed[_0x3d661b(0x14a)](_0x3ccd44['id'])&&_0x3ccd44[_0x3d661b(0x2ae)]['unitId']===this['_context'][_0x3d661b(0x163)]&&this['_refreshCollabCursors']();}));}[_0x4cf005(0x307)](){const _0x53334a=_0x4cf005;this[_0x53334a(0x285)](_0x52210e[_0x53334a(0xb5)](this[_0x53334a(0x1a4)][_0x53334a(0x14b)][_0x53334a(0x2a7)])[_0x53334a(0x23f)](_0x41470f[_0x53334a(0x17b)](_0x335819=>_0x335819[_0x53334a(0x24b)]===_0x45eaa5[_0x53334a(0x1a8)][_0x53334a(0x27f)]),_0x41470f[_0x53334a(0xac)](0x10))[_0x53334a(0x21a)](()=>{const _0x1d2255=_0x53334a;this[_0x1d2255(0x1c7)]();}));}};_0x14e670=_0x17f92e([_0x10e080(0x1,_0x52210e[_0x4cf005(0x2d1)](_0x20d49c['DocSkeletonManagerService'])),_0x10e080(0x2,_0x52210e['Inject'](_0x1ee3b8)),_0x10e080(0x3,_0x52210e['ICommandService']),_0x10e080(0x4,_0x52210e[_0x4cf005(0x2d1)](_0x52210e['ThemeService']))],_0x14e670);const _0x13c51d=0x1,_0x1a4a96=1.5;class _0x220a7d extends _0x45eaa5[_0x4cf005(0x1b2)]{constructor(_0x3d5d0c,_0x383425){const _0x32d598=_0x4cf005;super(_0x3d5d0c,_0x383425),_0xb6ff52(this,_0x32d598(0x284)),_0xb6ff52(this,_0x32d598(0x2f7),!0x1),_0xb6ff52(this,_0x32d598(0x291)),_0xb6ff52(this,'_name',''),_0xb6ff52(this,_0x32d598(0x1fd),_0x32d598(0x2e2)),_0xb6ff52(this,_0x32d598(0x1d0)),(_0x383425&&this['setShapeProps'](_0x383425),this[_0x32d598(0x1b1)][_0x32d598(0x308)](()=>this[_0x32d598(0x251)]({'hovered':!0x0})),this['onPointerLeave$'][_0x32d598(0x308)](()=>this[_0x32d598(0x251)]({'hovered':!0x1})));}[_0x4cf005(0x251)](_0x1aa8ba){const _0x2ad88a=_0x4cf005;var _0x1a66ba,_0x4ef435,_0x23cd4e,_0x232d80,_0x38f171,_0x5981d9;this[_0x2ad88a(0x284)]=(_0x1a66ba=_0x1aa8ba[_0x2ad88a(0xb6)])!=null?_0x1a66ba:this[_0x2ad88a(0x284)],this[_0x2ad88a(0x2f7)]=(_0x4ef435=_0x1aa8ba[_0x2ad88a(0x2a8)])!=null?_0x4ef435:this[_0x2ad88a(0x2f7)],this[_0x2ad88a(0x291)]=(_0x23cd4e=_0x1aa8ba[_0x2ad88a(0x2c0)])!=null?_0x23cd4e:this[_0x2ad88a(0x291)],this[_0x2ad88a(0x118)]=(_0x232d80=_0x1aa8ba['name'])!=null?_0x232d80:this[_0x2ad88a(0x118)],this['_labelPosition']=(_0x38f171=_0x1aa8ba[_0x2ad88a(0x22b)])!=null?_0x38f171:this[_0x2ad88a(0x1fd)],this['_backgroundColor']=(_0x5981d9=_0x1aa8ba[_0x2ad88a(0x1ef)])!=null?_0x5981d9:this[_0x2ad88a(0x1d0)],this[_0x2ad88a(0xe9)]({'width':_0x1aa8ba[_0x2ad88a(0xaa)],'height':_0x1aa8ba[_0x2ad88a(0x2de)]});}[_0x4cf005(0x24d)](_0x8201fb){const _0x1c40bb=_0x4cf005,{row:_0x58695c,column:_0x3b2b5b}=_0x8201fb;if(_0x58695c>=this[_0x1c40bb(0x291)][_0x1c40bb(0x1bc)]&&_0x58695c<=this['_range'][_0x1c40bb(0x25a)]&&_0x3b2b5b>=this[_0x1c40bb(0x291)][_0x1c40bb(0x25e)]&&_0x3b2b5b<=this['_range'][_0x1c40bb(0x287)]){this[_0x1c40bb(0x251)]({'hovered':!0x0});return;}this[_0x1c40bb(0x251)]({'hovered':!0x1});}[_0x4cf005(0x2a0)](_0x346eda){return!0x1;}['_draw'](_0x4084aa){const _0x20deeb=_0x4cf005;_0x45eaa5[_0x20deeb(0x190)]['drawWith'](_0x4084aa,{'width':this['width'],'height':this[_0x20deeb(0x2de)],'strokeWidth':_0x1a4a96,'stroke':this[_0x20deeb(0x284)],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x20deeb(0x2f7)]&&(_0x4084aa[_0x20deeb(0x220)](),_0x4084aa[_0x20deeb(0xb3)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x20deeb(0x26c)?0x0:-0x14),_0x556dcb['drawWith'](_0x4084aa,{'text':this['_name'],'color':this['_color']}),_0x4084aa[_0x20deeb(0x23c)]());}}var _0x24db63=Object['getOwnPropertyDescriptor'],_0x325748=(_0x549ced,_0xcd2d1e,_0x104df7,_0x3c468f)=>{for(var _0x33faa2=_0x3c468f>0x1?void 0x0:_0x3c468f?_0x24db63(_0xcd2d1e,_0x104df7):_0xcd2d1e,_0x5461a9=_0x549ced['length']-0x1,_0x3feefa;_0x5461a9>=0x0;_0x5461a9--)(_0x3feefa=_0x549ced[_0x5461a9])&&(_0x33faa2=_0x3feefa(_0x33faa2)||_0x33faa2);return _0x33faa2;},_0x1770c9=(_0x3fd31b,_0x49239a)=>(_0x3849f2,_0x5313b8)=>_0x49239a(_0x3849f2,_0x5313b8,_0x3fd31b);const _0x1ab59c=0x1389;let _0x396fbf=class extends _0x52210e[_0x4cf005(0x238)]{constructor(_0x51a8d0,_0xc76acd,_0x7a320b,_0x935b1b){const _0x17017c=_0x4cf005;super(),_0xb6ff52(this,'_cursors',new Set()),_0xb6ff52(this,'_lastPointer',null),(this[_0x17017c(0x1a4)]=_0x51a8d0,this[_0x17017c(0x2cc)]=_0xc76acd,this[_0x17017c(0x237)]=_0x7a320b,this[_0x17017c(0x328)]=_0x935b1b,this[_0x17017c(0x138)]());}['_init'](){const _0x34b918=_0x4cf005;this['_sheetSkeletonManagerService'][_0x34b918(0x15c)][_0x34b918(0x23f)](_0x41470f['takeUntil'](this[_0x34b918(0x183)]),_0x41470f['switchMap'](_0x2fd45c=>{const _0x22c9ea=_0x34b918;if(_0x2fd45c){const _0x254f66=_0x2fd45c[_0x22c9ea(0x326)];return _0x27f681[_0x22c9ea(0x1e4)](this[_0x22c9ea(0x237)]['getCollabCursors$'](this[_0x22c9ea(0x1a4)]['unitId']),this[_0x22c9ea(0x328)][_0x22c9ea(0x108)])[_0x22c9ea(0x23f)](_0x41470f[_0x22c9ea(0x25d)](([_0x1e77f5,_0x3d90d5])=>{const _0x2ddceb=_0x22c9ea,_0x5126f8=new Map();return _0x1e77f5[_0x2ddceb(0x2f5)]((_0x3390ce,_0x61633)=>{const _0x2f265d=_0x2ddceb;if(_0x3390ce[_0x2f265d(0x185)]===_0x254f66){const _0x4c688f={..._0x3390ce};_0x4c688f[_0x2f265d(0xb6)]=_0x3d90d5[_0x3390ce[_0x2f265d(0xb6)]],_0x5126f8[_0x2f265d(0x202)](_0x61633,_0x4c688f);}}),{'skeleton':_0x2fd45c,'cursors':_0x5126f8};}));}return _0x27f681['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0xeea41a,cursors:_0x314988})=>{const _0x1ab149=_0x34b918;this[_0x1ab149(0x312)](),_0xeea41a&&this[_0x1ab149(0x151)](_0xeea41a,_0x314988);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x34b918(0x21a)](_0x3b6909=>{const _0x49373a=_0x34b918;if(_0x3b6909==null)return;const {skeleton:_0x253081}=_0x3b6909,{scene:_0x53b9f5}=this['_context'];_0x53b9f5[_0x49373a(0x228)][_0x49373a(0x308)](_0x52210e[_0x49373a(0x1a5)](_0x4eb134=>{const _0x2ce591=_0x49373a;var _0x37e45f,_0x5d0904;const {offsetX:_0x33c373,offsetY:_0x203251}=_0x4eb134,{x:_0x4e93d3,y:_0x3bdee5}=_0x53b9f5[_0x2ce591(0x26a)](_0x45eaa5[_0x2ce591(0x128)][_0x2ce591(0x210)]([_0x33c373,_0x203251])),{scaleX:_0x5a5829,scaleY:_0x1e0007}=_0x53b9f5[_0x2ce591(0x243)](),_0x5ed1ed=_0x53b9f5[_0x2ce591(0x2bb)](_0x45eaa5['SHEET_VIEWPORT_KEY'][_0x2ce591(0x1ff)]),_0x148f08=_0x53b9f5[_0x2ce591(0x28e)](_0x45eaa5[_0x2ce591(0x128)]['FromArray']([_0x4e93d3,_0x3bdee5]),_0x5ed1ed),_0x57d995=_0x253081[_0x2ce591(0x2f6)](_0x33c373,_0x203251,_0x5a5829,_0x1e0007,_0x148f08);((_0x37e45f=this['_lastPointer'])==null?void 0x0:_0x37e45f[_0x2ce591(0x2d7)])===_0x57d995['column']&&((_0x5d0904=this['_lastPointer'])==null?void 0x0:_0x5d0904[_0x2ce591(0x277)])===_0x57d995[_0x2ce591(0x277)]||this[_0x2ce591(0x212)][_0x2ce591(0x2f5)](_0x3bbeb4=>{const _0x387526=_0x2ce591;_0x3bbeb4[_0x387526(0x24d)](_0x57d995);});},0x64));});}['_updateCollabCursors'](_0x3d5356,_0x15c2e4){const _0x4d0ecd=_0x4cf005;var _0x5446c8;const _0x21d733=(_0x5446c8=this[_0x4d0ecd(0x2cc)]['getCurrent']())==null?void 0x0:_0x5446c8[_0x4d0ecd(0x2c1)];if(!_0x21d733)return;const _0x409cc0=this[_0x4d0ecd(0xf4)]();if(!_0x409cc0)return;this[_0x4d0ecd(0x212)][_0x4d0ecd(0x2f5)](_0x45c865=>{const _0x16630d=_0x4d0ecd;_0x45c865[_0x16630d(0xa5)]();});const {scene:_0x1eb345}=_0x409cc0,_0x1d41d4=_0xe3cae5(Array[_0x4d0ecd(0x195)](_0x15c2e4[_0x4d0ecd(0xb2)]()))[_0x4d0ecd(0x25d)](_0x1079df=>{const _0x1682ec=_0x4d0ecd,{color:_0x119890,range:_0x4a2373,name:_0x1f5151,selection:_0x1ac685,sheetID:_0x583aad}=_0x1079df,{startColumn:_0x177b37,startRow:_0x54606f,endColumn:_0x5a2024,endRow:_0x23d642}=_0x4a2373,_0x134aab=_0x3b105a['getCoordByCell'](_0x54606f,_0x177b37,_0x1eb345,_0x21d733),_0x389ace=_0x3b105a[_0x1682ec(0x2c8)](_0x23d642,_0x5a2024,_0x1eb345,_0x21d733),{columnHeaderHeightAndMarginTop:_0x180bd8}=_0x21d733,{startX:_0x81b603,startY:_0xcd5f16}=_0x134aab,{endX:_0x577b60,endY:_0x4a65dd}=_0x389ace,_0x2217e5=_0x577b60-_0x81b603,_0x4c603d=_0x4a65dd-_0xcd5f16,_0x3c1fe5={'labelPosition':_0xcd5f16-_0x180bd8>=_0x26e7ed?'top':'bottom','sheetID':_0x583aad,'range':_0x4a2373,'color':_0x119890,'name':_0x1f5151,'selection':_0x1ac685,'left':_0x81b603,'top':_0xcd5f16,'width':_0x2217e5,'height':_0x4c603d,'evented':!0x1,'zIndex':_0x1ab59c};return new _0x220a7d(_0x1f5151,_0x3c1fe5);});_0x1eb345[_0x4d0ecd(0x2eb)](_0x1d41d4,_0x13c51d),this[_0x4d0ecd(0x212)]=new Set(_0x1d41d4);}[_0x4cf005(0x312)](){const _0x46d2bb=_0x4cf005;var _0x4f2717;(_0x4f2717=this[_0x46d2bb(0x212)])==null||_0x4f2717[_0x46d2bb(0x2f5)](_0x47a816=>_0x47a816[_0x46d2bb(0xf7)]());}[_0x4cf005(0xf4)](){const _0x4f9ca9=_0x4cf005;return _0x3b105a['getSheetObject'](this[_0x4f9ca9(0x1a4)][_0x4f9ca9(0x155)],this[_0x4f9ca9(0x1a4)]);}};_0x396fbf=_0x325748([_0x1770c9(0x1,_0x52210e[_0x4cf005(0x2d1)](_0x3b105a['SheetSkeletonManagerService'])),_0x1770c9(0x2,_0x52210e['Inject'](_0x1ee3b8)),_0x1770c9(0x3,_0x52210e[_0x4cf005(0x2d1)](_0x52210e[_0x4cf005(0x123)]))],_0x396fbf);function _0xe3cae5(_0x2bd6d8){const _0x24c72e=_0x4cf005,_0x54220b=new Map();return _0x2bd6d8['forEach'](_0x3da13f=>{const _0x777bd7=_0x568e;if(_0x54220b['has'](_0x3da13f[_0x777bd7(0xde)])){const _0x5a6b36=_0x54220b[_0x777bd7(0x1d2)](_0x3da13f[_0x777bd7(0xde)]);_0x5a6b36[_0x777bd7(0x306)]+=',\x20'+_0x3da13f[_0x777bd7(0x306)];}else _0x54220b[_0x777bd7(0x202)](_0x3da13f['selection'],_0x3da13f);}),Array[_0x24c72e(0x195)](_0x54220b[_0x24c72e(0xb2)]());}var _0x3653ed=function(){const _0x132752=_0x4cf005;return _0x3653ed=Object[_0x132752(0xca)]||function(_0x4732da){const _0x250839=_0x132752;for(var _0x3810bd,_0x2f73e2=0x1,_0x2460a8=arguments[_0x250839(0x20e)];_0x2f73e2<_0x2460a8;_0x2f73e2++){_0x3810bd=arguments[_0x2f73e2];for(var _0x4a692b in _0x3810bd)Object[_0x250839(0x2c9)][_0x250839(0x2f8)]['call'](_0x3810bd,_0x4a692b)&&(_0x4732da[_0x4a692b]=_0x3810bd[_0x4a692b]);}return _0x4732da;},_0x3653ed[_0x132752(0x2ca)](this,arguments);},_0x20e761=function(_0x1ffd19,_0x32459b){const _0x4e6899=_0x4cf005;var _0x526761={};for(var _0x5c5a21 in _0x1ffd19)Object[_0x4e6899(0x2c9)][_0x4e6899(0x2f8)]['call'](_0x1ffd19,_0x5c5a21)&&_0x32459b[_0x4e6899(0x1fb)](_0x5c5a21)<0x0&&(_0x526761[_0x5c5a21]=_0x1ffd19[_0x5c5a21]);if(_0x1ffd19!=null&&typeof Object[_0x4e6899(0xbd)]=='function'){for(var _0x2f417c=0x0,_0x5c5a21=Object[_0x4e6899(0xbd)](_0x1ffd19);_0x2f417c<_0x5c5a21[_0x4e6899(0x20e)];_0x2f417c++)_0x32459b[_0x4e6899(0x1fb)](_0x5c5a21[_0x2f417c])<0x0&&Object[_0x4e6899(0x2c9)][_0x4e6899(0x2af)][_0x4e6899(0x331)](_0x1ffd19,_0x5c5a21[_0x2f417c])&&(_0x526761[_0x5c5a21[_0x2f417c]]=_0x1ffd19[_0x5c5a21[_0x2f417c]]);}return _0x526761;},_0x21ef57=_0x854b5b['forwardRef'](function(_0x2702b4,_0x46c501){const _0x529545=_0x4cf005;var _0x6ba5b9=_0x2702b4['icon'],_0x263b34=_0x2702b4['id'],_0x32aaab=_0x2702b4[_0x529545(0xb4)],_0x4dba3a=_0x2702b4[_0x529545(0x2ec)],_0x10ada5=_0x20e761(_0x2702b4,[_0x529545(0x313),'id',_0x529545(0xb4),'extend']),_0x8fba6f=_0x529545(0x10a)[_0x529545(0x14f)](_0x263b34,'\x20')[_0x529545(0x14f)](_0x32aaab||'')[_0x529545(0x1cb)](),_0x56a60b=_0x854b5b[_0x529545(0x133)]('_'[_0x529545(0x14f)](_0x21d979()));return _0x36a290(_0x6ba5b9,''[_0x529545(0x14f)](_0x263b34),{'defIds':_0x6ba5b9[_0x529545(0x186)],'idSuffix':_0x56a60b['current']},_0x3653ed({'ref':_0x46c501,'className':_0x8fba6f},_0x10ada5),_0x4dba3a);});function _0x36a290(_0x554134,_0x9e55c,_0x4f209e,_0x5a90a8,_0x2d8d28){const _0x5583b2=_0x4cf005;return _0x854b5b['createElement'](_0x554134['tag'],_0x3653ed(_0x3653ed({'key':_0x9e55c},_0x5aeba3(_0x554134,_0x4f209e,_0x2d8d28)),_0x5a90a8),(_0x2ea5a6(_0x554134,_0x4f209e)[_0x5583b2(0xa6)]||[])[_0x5583b2(0x25d)](function(_0x4bef48,_0x4164d9){const _0x2148aa=_0x5583b2;return _0x36a290(_0x4bef48,''['concat'](_0x9e55c,'-')[_0x2148aa(0x14f)](_0x554134[_0x2148aa(0x26e)],'-')[_0x2148aa(0x14f)](_0x4164d9),_0x4f209e,void 0x0,_0x2d8d28);}));}function _0x5aeba3(_0x4d2964,_0x145835,_0x34a006){const _0x2d17e6=_0x4cf005;var _0x382e31=_0x3653ed({},_0x4d2964[_0x2d17e6(0x1ba)]);_0x34a006!=null&&_0x34a006[_0x2d17e6(0xbc)]&&_0x382e31[_0x2d17e6(0x2e6)]===_0x2d17e6(0xbc)&&(_0x382e31[_0x2d17e6(0x2e6)]=_0x34a006[_0x2d17e6(0xbc)]),_0x4d2964[_0x2d17e6(0x26e)]===_0x2d17e6(0x19b)&&_0x382e31['id']&&(_0x382e31['id']=_0x382e31['id']+_0x145835['idSuffix']),Object[_0x2d17e6(0xf6)](_0x382e31)[_0x2d17e6(0x2f5)](function(_0x3099bd){const _0xd36b3b=_0x2d17e6;var _0x49e6b0=_0x3099bd[0x0],_0x7f278e=_0x3099bd[0x1];_0x49e6b0===_0xd36b3b(0x19b)&&typeof _0x7f278e==_0xd36b3b(0x10b)&&(_0x382e31[_0x49e6b0]=_0x7f278e['replace'](/url\(#(.*)\)/,_0xd36b3b(0xf8)['concat'](_0x145835[_0xd36b3b(0x309)],')')));});var _0x31f5b1=_0x145835['defIds'];return!_0x31f5b1||_0x31f5b1[_0x2d17e6(0x20e)]===0x0||(_0x4d2964[_0x2d17e6(0x26e)]===_0x2d17e6(0x131)&&_0x382e31[_0x2d17e6(0x2bd)]&&(_0x382e31['xlink:href']=_0x382e31['xlink:href']+_0x145835[_0x2d17e6(0x309)]),Object['entries'](_0x382e31)[_0x2d17e6(0x2f5)](function(_0x51f115){const _0x49f9fa=_0x2d17e6;var _0x5af300=_0x51f115[0x0],_0x86087b=_0x51f115[0x1];typeof _0x86087b==_0x49f9fa(0x10b)&&(_0x382e31[_0x5af300]=_0x86087b[_0x49f9fa(0x32c)](/url\(#(.*)\)/,_0x49f9fa(0xf8)[_0x49f9fa(0x14f)](_0x145835[_0x49f9fa(0x309)],')')));})),_0x382e31;}function _0x2ea5a6(_0x4cab0e,_0x12495a){const _0x4c343e=_0x4cf005;var _0x406de2,_0x57a4b4=_0x12495a[_0x4c343e(0x186)];return!_0x57a4b4||_0x57a4b4[_0x4c343e(0x20e)]===0x0?_0x4cab0e:_0x4cab0e[_0x4c343e(0x26e)]==='defs'&&(!((_0x406de2=_0x4cab0e['children'])===null||_0x406de2===void 0x0)&&_0x406de2[_0x4c343e(0x20e)])?_0x3653ed(_0x3653ed({},_0x4cab0e),{'children':_0x4cab0e['children'][_0x4c343e(0x25d)](function(_0x209762){const _0x30ca02=_0x4c343e;return typeof _0x209762[_0x30ca02(0x1ba)]['id']==_0x30ca02(0x10b)&&_0x57a4b4&&_0x57a4b4[_0x30ca02(0x1fb)](_0x209762['attrs']['id'])>-0x1?_0x3653ed(_0x3653ed({},_0x209762),{'attrs':_0x3653ed(_0x3653ed({},_0x209762[_0x30ca02(0x1ba)]),{'id':_0x209762[_0x30ca02(0x1ba)]['id']+_0x12495a[_0x30ca02(0x309)]})}):_0x209762;})}):_0x4cab0e;}function _0x21d979(){const _0x87e1ec=_0x4cf005;return Math['random']()[_0x87e1ec(0x334)](0x24)[_0x87e1ec(0x27c)](0x2,0x8);}_0x21ef57[_0x4cf005(0x1cc)]=_0x4cf005(0x258);var _0xbeffb0={'tag':_0x4cf005(0xd4),'attrs':{'fill':_0x4cf005(0x283),'viewBox':'0\x200\x2016\x2016','width':_0x4cf005(0x324),'height':_0x4cf005(0x324)},'children':[{'tag':'g','attrs':{'clipPath':_0x4cf005(0x336)},'children':[{'tag':_0x4cf005(0x198),'attrs':{'stroke':_0x4cf005(0x297),'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':_0x4cf005(0x267),'strokeLinejoin':_0x4cf005(0x267),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x4cf005(0x14c),'attrs':{'id':_0x4cf005(0x188)},'children':[{'tag':_0x4cf005(0x198),'attrs':{'fill':'#fff','d':_0x4cf005(0x15a)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x1142b5=_0x854b5b[_0x4cf005(0xe5)](function(_0x18ffd7,_0xcd6425){const _0xcc1b8c=_0x4cf005;return _0x854b5b[_0xcc1b8c(0x199)](_0x21ef57,Object[_0xcc1b8c(0xca)]({},_0x18ffd7,{'id':'off-line-single','ref':_0xcd6425,'icon':_0xbeffb0}));});_0x1142b5[_0x4cf005(0x1cc)]=_0x4cf005(0x165);var _0x5989fe={'tag':_0x4cf005(0xd4),'attrs':{'fill':_0x4cf005(0x283),'viewBox':_0x4cf005(0x122),'width':'1em','height':_0x4cf005(0x324)},'children':[{'tag':'g','attrs':{'clipPath':_0x4cf005(0x13a)},'children':[{'tag':_0x4cf005(0x198),'attrs':{'stroke':_0x4cf005(0x297),'d':_0x4cf005(0x265),'strokeLinecap':_0x4cf005(0x267),'strokeLinejoin':_0x4cf005(0x267),'strokeWidth':1.2}}]},{'tag':_0x4cf005(0x269),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x4cf005(0x198),'attrs':{'fill':_0x4cf005(0x22a),'d':_0x4cf005(0x15a),'transform':'translate(.97)'}}]}]}],'defIds':[_0x4cf005(0x1b4)]},_0x90e28b=_0x854b5b[_0x4cf005(0xe5)](function(_0x337dd3,_0x2cb56d){const _0x1b2537=_0x4cf005;return _0x854b5b['createElement'](_0x21ef57,Object['assign']({},_0x337dd3,{'id':_0x1b2537(0x1f0),'ref':_0x2cb56d,'icon':_0x5989fe}));});_0x90e28b['displayName']='OnLineSingle';function _0x1e8de5(_0x5d646e){const _0x4de518=_0x4cf005;switch(_0x5d646e){case _0x47040c[_0x4de518(0x1b9)][_0x4de518(0xc7)]:return _0x4de518(0xd0);case _0x47040c[_0x4de518(0x1b9)][_0x4de518(0x2dc)]:return _0x4de518(0x30a);case _0x47040c['CollaborationStatus'][_0x4de518(0x18e)]:return _0x4de518(0x14e);case _0x47040c[_0x4de518(0x1b9)]['NOT_COLLAB']:return _0x4de518(0x1c2);case _0x47040c['CollaborationStatus'][_0x4de518(0x177)]:case _0x47040c[_0x4de518(0x1b9)]['AWAITING_WITH_PENDING']:return _0x4de518(0x1be);case _0x47040c[_0x4de518(0x1b9)][_0x4de518(0xcc)]:case _0x47040c['CollaborationStatus'][_0x4de518(0x2c4)]:return'collabStatus.synced';}}function _0xddad9e(_0x5ac6cb){const _0x68296=_0x4cf005,{status$:_0x46df8e}=_0x5ac6cb,_0x5b43f3=_0x4f6f29[_0x68296(0x209)](_0x46df8e,_0x47040c[_0x68296(0x1b9)][_0x68296(0xe1)]),_0xe673ea=_0x4f6f29['useDependency'](_0x52210e[_0x68296(0x250)]),_0x3eed23=_0x4f6f29[_0x68296(0x295)](_0x47040c[_0x68296(0x270)]),_0x28d89d=_0x5b43f3!==_0x47040c[_0x68296(0x1b9)]['OFFLINE'],_0x44432a=_0xe673ea['t'](_0x1e8de5(_0x5b43f3)),_0x19c981=_0x28d89d?_0x351132['jsx'](_0x90e28b,{}):_0x351132[_0x68296(0x327)](_0x1142b5,{}),_0x4b64ca=_0x854b5b['useCallback'](()=>{_0x28d89d||_0x3eed23['reconnect']();},[_0x28d89d,_0x3eed23]);function _0x263380(){const _0x25d618=_0x68296;return _0x351132[_0x25d618(0x205)]('div',{'className':_0x25d618(0x1b3),'onClick':_0x4b64ca,'children':[_0x351132[_0x25d618(0x327)](_0x25d618(0xa2),{'className':_0x4bb591[_0x25d618(0x219)]('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x28d89d?_0x25d618(0x232):'univer-text-red-500'),'children':_0x19c981}),_0x351132[_0x25d618(0x327)](_0x25d618(0xa2),{'className':_0x25d618(0x12d),'children':_0x44432a})]});}return _0x28d89d?_0x263380():_0x351132[_0x68296(0x327)](_0x4bb591['Tooltip'],{'title':_0xe673ea['t'](_0x68296(0x30b)),'children':_0x263380()});}var _0x3d665d=Object['getOwnPropertyDescriptor'],_0x1121db=(_0x3c68c9,_0x7f4664,_0x48caef,_0x4e0d9a)=>{const _0x4fdbf0=_0x4cf005;for(var _0x50d766=_0x4e0d9a>0x1?void 0x0:_0x4e0d9a?_0x3d665d(_0x7f4664,_0x48caef):_0x7f4664,_0x42938d=_0x3c68c9[_0x4fdbf0(0x20e)]-0x1,_0x459116;_0x42938d>=0x0;_0x42938d--)(_0x459116=_0x3c68c9[_0x42938d])&&(_0x50d766=_0x459116(_0x50d766)||_0x50d766);return _0x50d766;},_0x27bd55=(_0x459e19,_0x13e736)=>(_0x1d9dae,_0x28b7a7)=>_0x13e736(_0x1d9dae,_0x28b7a7,_0x459e19);_0x353bdb[_0x4cf005(0x2b5)]=class extends _0x52210e['Disposable']{constructor(_0x27fab0,_0x88c0ab,_0x39548c,_0x3e1fa6){const _0x3b1401=_0x4cf005;super(),_0xb6ff52(this,_0x3b1401(0x13f),new _0x27f681[(_0x3b1401(0x132))](_0x47040c[_0x3b1401(0x1b9)][_0x3b1401(0xe1)])),(this[_0x3b1401(0x1a0)]=_0x27fab0,this['_injector']=_0x88c0ab,this[_0x3b1401(0x325)]=_0x39548c,this['_uiPartsService']=_0x3e1fa6,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x4cf005(0x189)](){const _0x4a13b5=_0x4cf005;this[_0x4a13b5(0x285)](this['_univerInstanceService']['focused$'][_0x4a13b5(0x23f)](_0x27f681[_0x4a13b5(0x29d)](()=>{const _0x24029d=_0x4a13b5,_0x293c2d=this['_univerInstanceService'][_0x24029d(0x2bc)]();return _0x293c2d?this[_0x24029d(0x325)][_0x24029d(0x24f)](_0x293c2d[_0x24029d(0x302)]()):_0x27f681['of'](null);}),_0x27f681[_0x4a13b5(0x29d)](_0x2ebe6f=>_0x2ebe6f?_0x2ebe6f[_0x4a13b5(0xd8)]:_0x27f681['of'](_0x47040c[_0x4a13b5(0x1b9)][_0x4a13b5(0xe1)])))[_0x4a13b5(0x21a)](_0x1d41a2=>{const _0x402eec=_0x4a13b5;this['_status$'][_0x402eec(0x161)](_0x1d41a2);}));}[_0x4cf005(0x25c)](){const _0xbb784=_0x4cf005;this[_0xbb784(0x285)](this[_0xbb784(0x1e2)][_0xbb784(0x168)](_0x4f6f29[_0xbb784(0x162)][_0xbb784(0x240)],()=>_0x4f6f29[_0xbb784(0x2da)](_0x4aec03({'status$':this[_0xbb784(0x13f)]['asObservable']()}),this['_injector'])));}},_0x353bdb[_0x4cf005(0x2b5)]=_0x1121db([_0x27bd55(0x0,_0x52210e[_0x4cf005(0xf3)]),_0x27bd55(0x1,_0x52210e[_0x4cf005(0x2d1)](_0x52210e[_0x4cf005(0x2d9)])),_0x27bd55(0x2,_0x52210e[_0x4cf005(0x2d1)](_0x47040c[_0x4cf005(0x2b9)])),_0x27bd55(0x3,_0x4f6f29['IUIPartsService'])],_0x353bdb[_0x4cf005(0x2b5)]);function _0x4aec03(_0x4613e4){const {status$:_0xca6b1a}=_0x4613e4;return function(){const _0x45b400=_0x568e;return _0x351132[_0x45b400(0x327)](_0xddad9e,{'status$':_0xca6b1a});};}var _0x576d3d=Object['getOwnPropertyDescriptor'],_0x50804=(_0x41248c,_0x3251a9,_0x996f74,_0x5f58c6)=>{const _0x40d37d=_0x4cf005;for(var _0xa6aecb=_0x5f58c6>0x1?void 0x0:_0x5f58c6?_0x576d3d(_0x3251a9,_0x996f74):_0x3251a9,_0x37252a=_0x41248c[_0x40d37d(0x20e)]-0x1,_0x388238;_0x37252a>=0x0;_0x37252a--)(_0x388238=_0x41248c[_0x37252a])&&(_0xa6aecb=_0x388238(_0xa6aecb)||_0xa6aecb);return _0xa6aecb;},_0x25a7a0=(_0x5291ca,_0x457ce4)=>(_0x4fa565,_0x4107b1)=>_0x457ce4(_0x4fa565,_0x4107b1,_0x5291ca);let _0x6a5d98=class extends _0x52210e[_0x4cf005(0x260)]{constructor(_0x5d7460,_0xf6c800,_0x18fcfd,_0x51207b,_0x20de6b,_0x5de673){const _0x4bfe04=_0x4cf005;super(),this[_0x4bfe04(0x30e)]=_0x5d7460,this[_0x4bfe04(0x2e8)]=_0xf6c800,this[_0x4bfe04(0x28b)]=_0x18fcfd,this[_0x4bfe04(0xb9)]=_0x51207b,this[_0x4bfe04(0xec)]=_0x20de6b,this['_localeService']=_0x5de673,this[_0x4bfe04(0xb1)](),this[_0x4bfe04(0x314)]();}[_0x4cf005(0xb1)](){const _0x1eef41=_0x4cf005;this[_0x1eef41(0x285)](this[_0x1eef41(0x30e)][_0x1eef41(0x261)](()=>{const _0x127248=_0x1eef41;if(this[_0x127248(0x2e8)][_0x127248(0x180)][_0x127248(0x157)])return this[_0x127248(0xd6)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x4cf005(0x314)](){const _0x5b6db9=_0x4cf005;this[_0x5b6db9(0x285)](this[_0x5b6db9(0x28b)][_0x5b6db9(0x141)][_0x5b6db9(0x21a)](_0x35cea0=>{const _0x1040f1=_0x5b6db9;_0x35cea0['id']===_0x47040c['CollaborationUIEventId'][_0x1040f1(0x1c3)]&&this[_0x1040f1(0xb9)]['show']({'type':_0x4bb591['MessageType'][_0x1040f1(0x259)],'content':this['_localeService']['t']('collaboration.single-unit.warning')}),_0x35cea0['id']===_0x47040c[_0x1040f1(0xc9)][_0x1040f1(0x130)]&&this[_0x1040f1(0xb9)][_0x1040f1(0x1e9)]({'type':_0x4bb591[_0x1040f1(0x31e)][_0x1040f1(0x259)],'content':this[_0x1040f1(0xd6)]['t'](_0x1040f1(0x2a5))}),_0x35cea0['id']===_0x47040c[_0x1040f1(0xc9)][_0x1040f1(0x104)]&&this[_0x1040f1(0xec)]['show']({'title':this[_0x1040f1(0xd6)]['t']('permission.title'),'content':this[_0x1040f1(0xd6)]['t'](_0x1040f1(0x2ba)),'type':_0x1040f1(0x1db),'duration':0x0}),_0x35cea0['id']===_0x47040c[_0x1040f1(0xc9)][_0x1040f1(0x2dc)]&&this[_0x1040f1(0xb9)]['show']({'type':_0x4bb591[_0x1040f1(0x31e)][_0x1040f1(0x255)],'content':this[_0x1040f1(0xd6)]['t'](_0x1040f1(0x2a5))+'('+_0x35cea0[_0x1040f1(0x1fe)]+')'}),_0x35cea0['id']===_0x47040c[_0x1040f1(0xc9)][_0x1040f1(0x235)]&&this[_0x1040f1(0xb9)]['show']({'type':_0x4bb591[_0x1040f1(0x31e)][_0x1040f1(0x259)],'content':this[_0x1040f1(0xd6)]['t'](_0x35cea0[_0x1040f1(0x1fe)]||'')}),_0x35cea0['id']===_0x47040c[_0x1040f1(0xc9)][_0x1040f1(0x2b2)]&&this[_0x1040f1(0xb9)][_0x1040f1(0x1e9)]({'type':_0x4bb591[_0x1040f1(0x31e)]['Warning'],'content':this['_localeService']['t'](_0x1040f1(0x28a))}),_0x35cea0['id']===_0x47040c[_0x1040f1(0xc9)]['SOCKET_FAILED']&&this[_0x1040f1(0xb9)][_0x1040f1(0x1e9)]({'type':_0x4bb591[_0x1040f1(0x31e)]['Error'],'content':this[_0x1040f1(0xd6)]['t']('session.connection-failed')}),_0x35cea0['id']===_0x47040c[_0x1040f1(0xc9)][_0x1040f1(0x2b4)]&&this[_0x1040f1(0xb9)][_0x1040f1(0x1e9)]({'type':_0x4bb591[_0x1040f1(0x31e)]['Error'],'content':this[_0x1040f1(0xd6)]['t'](_0x1040f1(0x1d8))});}));}};_0x6a5d98=_0x50804([_0x25a7a0(0x0,_0x4f6f29['IBeforeCloseService']),_0x25a7a0(0x1,_0x47040c['ILocalCacheService']),_0x25a7a0(0x2,_0x52210e[_0x4cf005(0x2d1)](_0x47040c[_0x4cf005(0x221)])),_0x25a7a0(0x3,_0x4f6f29[_0x4cf005(0x103)]),_0x25a7a0(0x4,_0x4f6f29[_0x4cf005(0x1fa)]),_0x25a7a0(0x5,_0x52210e[_0x4cf005(0x2d1)](_0x52210e[_0x4cf005(0x250)]))],_0x6a5d98);const _0xbaf90d=_0x4cf005(0x111),_0x2468a5={},_0x3ada57=_0x52210e[_0x4cf005(0x1f6)](_0x4cf005(0x11c));var _0x3a6cc1=Object[_0x4cf005(0x19c)],_0x465e07=(_0x8b3812,_0x2476c6,_0x9b088d,_0x336a47)=>{for(var _0x43a3c3=_0x336a47>0x1?void 0x0:_0x336a47?_0x3a6cc1(_0x2476c6,_0x9b088d):_0x2476c6,_0xfbfaee=_0x8b3812['length']-0x1,_0x81054e;_0xfbfaee>=0x0;_0xfbfaee--)(_0x81054e=_0x8b3812[_0xfbfaee])&&(_0x43a3c3=_0x81054e(_0x43a3c3)||_0x43a3c3);return _0x43a3c3;},_0x4ee37d=(_0x4bb156,_0x48e7da)=>(_0x5f2708,_0x3bf8c0)=>_0x48e7da(_0x5f2708,_0x3bf8c0,_0x4bb156);_0x353bdb[_0x4cf005(0x208)]=class extends _0x52210e[_0x4cf005(0x238)]{constructor(_0x542e8d,_0x591d7b,_0x2c0f2d,_0x53b1fb,_0x3900eb){const _0x1fa9b7=_0x4cf005;super(),this['_urlService']=_0x542e8d,this[_0x1fa9b7(0x234)]=_0x591d7b,this[_0x1fa9b7(0x1a7)]=_0x2c0f2d,this[_0x1fa9b7(0x2f4)]=_0x53b1fb,_0x3900eb?_0x3900eb==null||_0x3900eb[_0x1fa9b7(0x333)]()['then'](()=>this[_0x1fa9b7(0x138)]()):(this[_0x1fa9b7(0x234)][_0x1fa9b7(0xf5)](_0x1fa9b7(0x1aa),_0x1fa9b7(0xfa)),this['_init']());}async[_0x4cf005(0x138)](){const _0x2b77d4=_0x4cf005,_0x36bfb6=this[_0x2b77d4(0x9f)]['getParam']('unit'),_0xb0e852=this[_0x2b77d4(0x9f)][_0x2b77d4(0x290)]('type'),_0x2ee7cd=this[_0x2b77d4(0x9f)][_0x2b77d4(0x290)]('subunit');if(!_0x36bfb6||!_0xb0e852){this[_0x2b77d4(0x234)][_0x2b77d4(0xf5)](_0x2b77d4(0x1aa),_0x2b77d4(0x2d4));return;}const _0xb5e313=await this['_dataLoaderService'][_0x2b77d4(0x159)](_0x36bfb6,Number(_0xb0e852),_0x2ee7cd);_0xb5e313&&_0xb5e313 instanceof _0x52210e['Workbook']&&this[_0x2b77d4(0x225)](_0xb5e313);}async['_setupSubUnitSync'](_0x4754ab){const _0xcf72e=_0x4cf005;await this['_updateSubUnitFromURLParams'](_0x4754ab),_0x4754ab[_0xcf72e(0x30f)][_0xcf72e(0x23f)](_0x27f681[_0xcf72e(0xd2)](this[_0xcf72e(0x183)]))[_0xcf72e(0x21a)](_0x34354c=>{const _0x514c7f=_0xcf72e;_0x34354c&&this[_0x514c7f(0x249)](_0x34354c);}),this[_0xcf72e(0x9f)][_0xcf72e(0x22e)][_0xcf72e(0x23f)](_0x27f681[_0xcf72e(0xd2)](this['dispose$']))[_0xcf72e(0x21a)](()=>this['_updateSubUnitFromURLParams'](_0x4754ab));}[_0x4cf005(0x249)](_0x26c933,_0x57b9c0=!0x1){const _0x32949d=_0x4cf005,_0x24d946=this[_0x32949d(0x9f)][_0x32949d(0x290)](_0x32949d(0x19d));_0x26c933[_0x32949d(0x13d)]()!==_0x24d946&&this[_0x32949d(0x9f)][_0x32949d(0x17a)](_0x32949d(0x19d),_0x26c933['getSheetId'](),_0x57b9c0);}async[_0x4cf005(0xa4)](_0x300183){const _0x34dca5=_0x4cf005;var _0xe91f1b;const _0x1303d7=this[_0x34dca5(0x9f)][_0x34dca5(0x290)](_0x34dca5(0x19d));if(!_0x1303d7||!_0x300183[_0x34dca5(0x2a1)](_0x1303d7)){const _0x5df5fa=_0x300183['getUnhiddenWorksheets']()[0x0],_0x406e7d=_0x300183['getSheetBySheetId'](_0x5df5fa);if(!_0x406e7d)return;this[_0x34dca5(0x249)](_0x406e7d,!0x0),await this['_commandService'][_0x34dca5(0xa1)](_0x1f677a[_0x34dca5(0xf0)]['id'],{'unitId':_0x300183[_0x34dca5(0x302)](),'subUnitId':_0x5df5fa});return;}((_0xe91f1b=_0x300183['getActiveSheet']())==null?void 0x0:_0xe91f1b['getSheetId']())!==_0x1303d7&&await this[_0x34dca5(0x1a7)][_0x34dca5(0xa1)](_0x1f677a[_0x34dca5(0xf0)]['id'],{'unitId':_0x300183[_0x34dca5(0x302)](),'subUnitId':_0x1303d7});}},_0x353bdb['CollaborationDataLoaderController']=_0x465e07([_0x4ee37d(0x0,_0x3ada57),_0x4ee37d(0x1,_0x52210e[_0x4cf005(0x264)]),_0x4ee37d(0x2,_0x52210e[_0x4cf005(0x18a)]),_0x4ee37d(0x3,_0x52210e[_0x4cf005(0x2d1)](_0x47040c[_0x4cf005(0x292)])),_0x4ee37d(0x4,_0x52210e[_0x4cf005(0x1ae)](_0x29b1e1['IRemoteInstanceService']))],_0x353bdb[_0x4cf005(0x208)]);var _0xaa3e40=Object[_0x4cf005(0x19c)],_0x57bc31=(_0x463d77,_0x581469,_0x3d1b25,_0x298737)=>{const _0x41bce1=_0x4cf005;for(var _0x6cade4=_0x298737>0x1?void 0x0:_0x298737?_0xaa3e40(_0x581469,_0x3d1b25):_0x581469,_0x26a459=_0x463d77[_0x41bce1(0x20e)]-0x1,_0x5819ab;_0x26a459>=0x0;_0x26a459--)(_0x5819ab=_0x463d77[_0x26a459])&&(_0x6cade4=_0x5819ab(_0x6cade4)||_0x6cade4);return _0x6cade4;},_0x362862=(_0x208611,_0x24057d)=>(_0x515251,_0x44f026)=>_0x24057d(_0x515251,_0x44f026,_0x208611);let _0x305957=class{constructor(_0x4737b6,_0x5d7a97,_0x5508f8){const _0x2ded5b=_0x4cf005;this[_0x2ded5b(0x335)]=_0x4737b6,this['_transformService']=_0x5d7a97,this[_0x2ded5b(0x115)]=_0x5508f8;}['transformIMECache'](_0x27f2f6){const _0x3b62ee=_0x4cf005;this[_0x3b62ee(0x17c)](_0x27f2f6),this['_transformPreviousActiveRange'](_0x27f2f6);}[_0x4cf005(0x214)](_0xa81a16){const _0x5af432=_0x4cf005,{unitID:_0x5ec232}=_0xa81a16,_0xc46125=this['_renderManagerService'][_0x5af432(0x18f)](_0x5ec232)['with'](_0xd08195[_0x5af432(0x10c)]),{redoCache:_0x5923f3}=_0xc46125['getUndoRedoMutationParamsCache']();if(_0x5923f3[_0x5af432(0x20e)]===0x0)return _0xa81a16;let _0x3f6885=_0x52210e['Tools'][_0x5af432(0x172)](_0xa81a16[_0x5af432(0xaf)][0x0]);for(let _0x3fef08=0x0;_0x3fef08<_0x5923f3[_0x5af432(0x20e)];_0x3fef08++){const _0x2859ab={'id':_0x5af432(0xc1),'params':{..._0x5923f3[_0x3fef08]}},_0x1a5ae6=this[_0x5af432(0x13b)]['transformMutation'](_0x3f6885,_0x2859ab,!0x1);if(_0x4251a6['isTransformMutationFailure'](_0x1a5ae6))throw _0x1a5ae6['error'];_0x3f6885=_0x1a5ae6[_0x5af432(0x2e5)];}return{..._0x52210e[_0x5af432(0xdc)][_0x5af432(0x172)](_0xa81a16),'mutations':[_0x3f6885]};}[_0x4cf005(0x17c)](_0x3d8db8){const _0x37c593=_0x4cf005,{unitID:_0x45a995}=_0x3d8db8,_0xc8c015=this[_0x37c593(0x115)][_0x37c593(0x18f)](_0x45a995)[_0x37c593(0x17f)](_0xd08195[_0x37c593(0x10c)]),{undoCache:_0x48a785,redoCache:_0x2a9297}=_0xc8c015['getUndoRedoMutationParamsCache']();if(_0x48a785[_0x37c593(0x20e)]===0x0||_0x2a9297['length']===0x0)return;const _0x4ee50d=[],_0x4370ad=[];let _0x1df4d0=_0x52210e[_0x37c593(0xdc)][_0x37c593(0x172)](_0x3d8db8[_0x37c593(0xaf)][0x0]),_0x151140=_0x52210e[_0x37c593(0xdc)]['deepClone'](_0x3d8db8[_0x37c593(0xaf)][0x0]);for(let _0x68b2a4=_0x48a785[_0x37c593(0x20e)]-0x1;_0x68b2a4>=0x0;_0x68b2a4--){const _0xb593ad={'id':_0x37c593(0xc1),'params':{..._0x48a785[_0x68b2a4]}},_0x3089f0={'id':'doc.mutation.rich-text-editing','params':{..._0x2a9297[_0x68b2a4]}},_0x1850ab=this[_0x37c593(0x13b)][_0x37c593(0x296)](_0x1df4d0,_0xb593ad,!0x1),_0x144c5a=this[_0x37c593(0x13b)][_0x37c593(0x296)](_0x151140,_0x3089f0,!0x1);if(_0x4251a6[_0x37c593(0xe3)](_0x1850ab))throw _0x1850ab[_0x37c593(0x1db)];if(_0x4251a6[_0x37c593(0xe3)](_0x144c5a))throw _0x144c5a[_0x37c593(0x1db)];_0x4ee50d[_0x37c593(0xc0)](_0x1850ab['m2Prime'][_0x37c593(0x2ae)]),_0x4370ad[_0x37c593(0xc0)](_0x144c5a[_0x37c593(0x231)][_0x37c593(0x2ae)]),_0x1df4d0=_0x1850ab['m1Prime'],_0x151140=_0x144c5a[_0x37c593(0x2e5)];}_0xc8c015[_0x37c593(0x1e0)]({'undoCache':_0x4ee50d,'redoCache':_0x4370ad});}[_0x4cf005(0x11d)](_0x353981){const _0xbaf5a2=_0x4cf005,{unitID:_0x491a73}=_0x353981,_0x3f025d=this[_0xbaf5a2(0x115)]['getRenderById'](_0x491a73)['with'](_0xd08195['DocIMEInputManagerService']),_0xad0953=_0x3f025d['getActiveRange']();if(_0xad0953==null)return;const _0x24beaa=[{'id':_0xbaf5a2(0xc1),'params':{'unitId':_0x353981['unitID'],'actions':null,'textRanges':[_0xad0953]}}],_0xef6e65=this['_transformService'][_0xbaf5a2(0x286)](_0x353981,_0x24beaa);if(!_0x4251a6[_0xbaf5a2(0x1a9)](_0xef6e65))throw _0xef6e65[_0xbaf5a2(0x1db)];const _0xc360fa=_0xef6e65[_0xbaf5a2(0x231)][0x0]['params'][_0xbaf5a2(0x2a3)];Array[_0xbaf5a2(0x2ac)](_0xc360fa)&&_0xc360fa[_0xbaf5a2(0x20e)]&&_0x3f025d[_0xbaf5a2(0x117)](_0xc360fa[0x0]);}};_0x305957=_0x57bc31([_0x362862(0x0,_0x52210e[_0x4cf005(0x2d1)](_0x52210e[_0x4cf005(0x2d9)])),_0x362862(0x1,_0x4251a6[_0x4cf005(0xc5)]),_0x362862(0x2,_0x45eaa5['IRenderManagerService'])],_0x305957);var _0x5a8a59=Object[_0x4cf005(0x19c)],_0x420047=(_0x32d886,_0x4ca046,_0x2864e7,_0x41b380)=>{const _0x5b957e=_0x4cf005;for(var _0x5f1a51=_0x41b380>0x1?void 0x0:_0x41b380?_0x5a8a59(_0x4ca046,_0x2864e7):_0x4ca046,_0x1cfa7d=_0x32d886[_0x5b957e(0x20e)]-0x1,_0x3e0bb0;_0x1cfa7d>=0x0;_0x1cfa7d--)(_0x3e0bb0=_0x32d886[_0x1cfa7d])&&(_0x5f1a51=_0x3e0bb0(_0x5f1a51)||_0x5f1a51);return _0x5f1a51;},_0x34acbb=(_0x28521d,_0x3e4581)=>(_0x21986c,_0x2e11e7)=>_0x3e4581(_0x21986c,_0x2e11e7,_0x28521d);let _0x544020=class{constructor(_0x3fbe4e,_0x443f52,_0x2f6a05){const _0x522f7b=_0x4cf005;this[_0x522f7b(0x335)]=_0x3fbe4e,this[_0x522f7b(0x13b)]=_0x443f52,this['_docStateChangeManagerService']=_0x2f6a05;}[_0x4cf005(0x10f)](_0x886f){const _0x5d948e=_0x4cf005;this[_0x5d948e(0x294)](_0x886f);}[_0x4cf005(0x214)](_0x15e390){const _0x4ec9bd=_0x4cf005,{unitID:_0x3017b4}=_0x15e390,{collaboration:_0x3b5516}=this[_0x4ec9bd(0x1e1)][_0x4ec9bd(0x1dc)](_0x3017b4);if(_0x3b5516[_0x4ec9bd(0x20e)]===0x0)return _0x15e390;let _0x26d68c=_0x52210e[_0x4ec9bd(0xdc)][_0x4ec9bd(0x172)](_0x15e390[_0x4ec9bd(0xaf)][0x0]);for(let _0x4267bb=0x0;_0x4267bb<_0x3b5516[_0x4ec9bd(0x20e)];_0x4267bb++){const _0x10a9d7={'id':_0x4ec9bd(0xc1),'params':{'unitId':_0x3b5516[_0x4267bb]['unitId'],..._0x3b5516[_0x4267bb]['redoState']}},_0x2c6291=this[_0x4ec9bd(0x13b)][_0x4ec9bd(0x296)](_0x26d68c,_0x10a9d7,!0x1);if(_0x4251a6[_0x4ec9bd(0xe3)](_0x2c6291))throw _0x2c6291[_0x4ec9bd(0x1db)];_0x26d68c=_0x2c6291['m1Prime'];}return{..._0x52210e['Tools'][_0x4ec9bd(0x172)](_0x15e390),'mutations':[_0x26d68c]};}['_transformHistoryAndStateStack'](_0x2a1dd7){const _0x46b885=_0x4cf005,{unitID:_0x27eec2}=_0x2a1dd7,{history:_0x2fd0d0,collaboration:_0x29e1c0}=this[_0x46b885(0x1e1)]['getStateCache'](_0x27eec2);if(_0x2fd0d0[_0x46b885(0x20e)]===0x0&&_0x29e1c0[_0x46b885(0x20e)]===0x0)return;const _0x352d56=[],_0xdc8527=[];let _0x2ec53b=_0x52210e[_0x46b885(0xdc)][_0x46b885(0x172)](_0x2a1dd7[_0x46b885(0xaf)][0x0]),_0x58f102=_0x52210e['Tools'][_0x46b885(0x172)](_0x2a1dd7[_0x46b885(0xaf)][0x0]);for(let _0x4bf6f0=_0x2fd0d0[_0x46b885(0x20e)]-0x1;_0x4bf6f0>=0x0;_0x4bf6f0--){const _0x4e0998={'id':_0x46b885(0xc1),'params':{'unitId':_0x2fd0d0[_0x4bf6f0][_0x46b885(0x163)],..._0x2fd0d0[_0x4bf6f0][_0x46b885(0x18c)]}},_0x49910a={'id':_0x46b885(0xc1),'params':{'unitId':_0x2fd0d0[_0x4bf6f0][_0x46b885(0x163)],..._0x2fd0d0[_0x4bf6f0][_0x46b885(0x1c0)]}},_0x1b81da=this[_0x46b885(0x13b)]['transformMutation'](_0x2ec53b,_0x4e0998,!0x1),_0xacc2ad=this[_0x46b885(0x13b)]['transformMutation'](_0x58f102,_0x49910a,!0x1);if(_0x4251a6[_0x46b885(0xe3)](_0x1b81da))throw _0x1b81da[_0x46b885(0x1db)];if(_0x4251a6[_0x46b885(0xe3)](_0xacc2ad))throw _0xacc2ad[_0x46b885(0x1db)];_0x352d56[_0x46b885(0xc0)]({..._0x2fd0d0[_0x4bf6f0],'undoState':_0x1b81da[_0x46b885(0x231)][_0x46b885(0x2ae)],'redoState':_0xacc2ad[_0x46b885(0x231)][_0x46b885(0x2ae)]}),_0x2ec53b=_0x1b81da['m1Prime'],_0x58f102=_0xacc2ad[_0x46b885(0x2e5)];}_0x2ec53b=_0x52210e[_0x46b885(0xdc)][_0x46b885(0x172)](_0x2a1dd7[_0x46b885(0xaf)][0x0]),_0x58f102=_0x52210e[_0x46b885(0xdc)][_0x46b885(0x172)](_0x2a1dd7[_0x46b885(0xaf)][0x0]);for(let _0x248964=_0x29e1c0[_0x46b885(0x20e)]-0x1;_0x248964>=0x0;_0x248964--){const _0x3c4643={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x29e1c0[_0x248964][_0x46b885(0x163)],..._0x29e1c0[_0x248964]['undoState']}},_0x2acd90={'id':_0x46b885(0xc1),'params':{'unitId':_0x29e1c0[_0x248964][_0x46b885(0x163)],..._0x29e1c0[_0x248964][_0x46b885(0x1c0)]}},_0x3fb5a8=this[_0x46b885(0x13b)][_0x46b885(0x296)](_0x2ec53b,_0x3c4643,!0x1),_0x4154d8=this[_0x46b885(0x13b)][_0x46b885(0x296)](_0x58f102,_0x2acd90,!0x1);if(_0x4251a6['isTransformMutationFailure'](_0x3fb5a8))throw _0x3fb5a8[_0x46b885(0x1db)];if(_0x4251a6[_0x46b885(0xe3)](_0x4154d8))throw _0x4154d8[_0x46b885(0x1db)];_0xdc8527['unshift']({..._0x29e1c0[_0x248964],'undoState':_0x3fb5a8[_0x46b885(0x231)][_0x46b885(0x2ae)],'redoState':_0x4154d8['m2Prime']['params']}),_0x2ec53b=_0x3fb5a8[_0x46b885(0x2e5)],_0x58f102=_0x4154d8['m1Prime'];}this[_0x46b885(0x1e1)][_0x46b885(0x12f)](_0x27eec2,{'history':_0x352d56,'collaboration':_0xdc8527});}};_0x544020=_0x420047([_0x34acbb(0x0,_0x52210e['Inject'](_0x52210e['Injector'])),_0x34acbb(0x1,_0x4251a6['ITransformService']),_0x34acbb(0x2,_0x52210e[_0x4cf005(0x2d1)](_0xd08195[_0x4cf005(0x137)]))],_0x544020);var _0x5faf7b=Object['getOwnPropertyDescriptor'],_0x14ff41=(_0x445539,_0x8c8eb7,_0x3e5f26,_0x1b9436)=>{for(var _0x402188=_0x1b9436>0x1?void 0x0:_0x1b9436?_0x5faf7b(_0x8c8eb7,_0x3e5f26):_0x8c8eb7,_0x5d32e4=_0x445539['length']-0x1,_0x488a24;_0x5d32e4>=0x0;_0x5d32e4--)(_0x488a24=_0x445539[_0x5d32e4])&&(_0x402188=_0x488a24(_0x402188)||_0x402188);return _0x402188;},_0x21cff6=(_0x19ac43,_0x2b7925)=>(_0x1d691c,_0x4fcdeb)=>_0x2b7925(_0x1d691c,_0x4fcdeb,_0x19ac43);let _0x3bdbdd=class{constructor(_0x2dcd66,_0xc664d8){const _0x341fd0=_0x4cf005;this[_0x341fd0(0x335)]=_0x2dcd66,this[_0x341fd0(0x13b)]=_0xc664d8;}[_0x4cf005(0x2cd)](_0x5a9ffe){const _0x23f2d4=_0x4cf005;var _0x519d68;const _0x340387=this['_injector']['get'](_0x20d49c[_0x23f2d4(0x1d7)]),_0x124065=(_0x519d68=_0x340387[_0x23f2d4(0x10e)]())!=null?_0x519d68:[];if(_0x124065['length']===0x0)return;const _0x44e67a=_0x5a9ffe[_0x23f2d4(0x1d1)],_0x19a267=[{'id':_0x23f2d4(0xc1),'params':{'unitId':_0x44e67a,'actions':null,'textRanges':_0x124065}}],_0x3fddb4=this[_0x23f2d4(0x13b)][_0x23f2d4(0x286)](_0x5a9ffe,_0x19a267);if(!_0x4251a6[_0x23f2d4(0x1a9)](_0x3fddb4))throw _0x3fddb4[_0x23f2d4(0x1db)];const _0x592d44=_0x3fddb4['m2Prime'][0x0][_0x23f2d4(0x2ae)][_0x23f2d4(0x2a3)];Array[_0x23f2d4(0x2ac)](_0x592d44)&&_0x592d44['length']&&_0x340387[_0x23f2d4(0x2cf)](_0x592d44,{'unitId':_0x44e67a,'subUnitId':_0x44e67a},!0x1);}};_0x3bdbdd=_0x14ff41([_0x21cff6(0x0,_0x52210e[_0x4cf005(0x2d1)](_0x52210e[_0x4cf005(0x2d9)])),_0x21cff6(0x1,_0x4251a6[_0x4cf005(0xc5)])],_0x3bdbdd);var _0x399993=Object[_0x4cf005(0x19c)],_0x1dc587=(_0x16cf03,_0x53b5fc,_0x1d4321,_0x3fa886)=>{const _0x52222a=_0x4cf005;for(var _0x39e889=_0x3fa886>0x1?void 0x0:_0x3fa886?_0x399993(_0x53b5fc,_0x1d4321):_0x53b5fc,_0x399320=_0x16cf03[_0x52222a(0x20e)]-0x1,_0x5ae0d3;_0x399320>=0x0;_0x399320--)(_0x5ae0d3=_0x16cf03[_0x399320])&&(_0x39e889=_0x5ae0d3(_0x39e889)||_0x39e889);return _0x39e889;},_0x282219=(_0x5c38ff,_0x33f326)=>(_0x39f823,_0x3ccbd3)=>_0x33f326(_0x39f823,_0x3ccbd3,_0x5c38ff);let _0x4c9816=class extends _0x52210e['Disposable']{constructor(_0x3c070f,_0x1f0971,_0x170154,_0x5cdab7,_0x172f5c,_0xb02260,_0x2f778a,_0x2e2475){const _0x318a3d=_0x4cf005;super(),_0xb6ff52(this,'_status$',new _0x27f681[(_0x318a3d(0x132))](_0x47040c[_0x318a3d(0x1b9)][_0x318a3d(0xe1)])),(this['_docStateChangeManagerService']=_0x3c070f,this[_0x318a3d(0x325)]=_0x1f0971,this[_0x318a3d(0x2e7)]=_0x170154,this[_0x318a3d(0x1f3)]=_0x5cdab7,this[_0x318a3d(0x20f)]=_0x172f5c,this['_docSyncEditingCollabCursorService']=_0xb02260,this[_0x318a3d(0xb9)]=_0x2f778a,this[_0x318a3d(0xd6)]=_0x2e2475,this[_0x318a3d(0x2e9)]());}[_0x4cf005(0x2e9)](){const _0x394b8a=_0x4cf005;this[_0x394b8a(0x285)](this[_0x394b8a(0x325)][_0x394b8a(0x14d)][_0x394b8a(0x21a)](_0x211bec=>{const _0x5d1c2b=_0x394b8a,_0x36457e=this[_0x5d1c2b(0x1e1)][_0x5d1c2b(0x21c)][_0x5d1c2b(0x21a)](_0x3ab94d=>{const _0xcf685b=_0x5d1c2b;if(_0x3ab94d==null)return;const {unitId:_0x5ab3c4,redoState:_0x1534f7,commandId:_0x3dc9c2}=_0x3ab94d;if(_0x5ab3c4!==_0x211bec[_0xcf685b(0x1d1)])return;const _0x3ed7a6={'id':_0x3dc9c2,'type':_0x52210e[_0xcf685b(0x2f3)][_0xcf685b(0x246)],'params':{'unitId':_0x5ab3c4,'actions':_0x1534f7['actions'],'textRanges':null}};_0x211bec[_0xcf685b(0x236)](_0x3ed7a6);});if(_0x211bec[_0x5d1c2b(0x285)](_0x36457e),_0x211bec instanceof _0x47040c[_0x5d1c2b(0x263)]){const _0x7da5b={'onTransformIME':_0x2bb260=>this[_0x5d1c2b(0x2e7)][_0x5d1c2b(0x171)](_0x2bb260),'onTransformState':_0x3b58b3=>this[_0x5d1c2b(0x1f3)][_0x5d1c2b(0x10f)](_0x3b58b3),'onTransformSelections':_0x395472=>this[_0x5d1c2b(0x20f)][_0x5d1c2b(0x2cd)](_0x395472),'onSyncEditingCollabCursor':_0x5e27fa=>this[_0x5d1c2b(0x106)][_0x5d1c2b(0x321)](_0x5e27fa),'onTransformRemoteChangesetByIMECache':_0xcc591c=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0xcc591c),'onTransformRemoteChangesetByStateCache':_0x3201b7=>this[_0x5d1c2b(0x1f3)][_0x5d1c2b(0x214)](_0x3201b7)};_0x211bec['addHandlerCallback'](_0x7da5b);}}));}};_0x4c9816=_0x1dc587([_0x282219(0x0,_0x52210e[_0x4cf005(0x2d1)](_0xd08195[_0x4cf005(0x137)])),_0x282219(0x1,_0x52210e[_0x4cf005(0x2d1)](_0x47040c[_0x4cf005(0x2b9)])),_0x282219(0x2,_0x52210e[_0x4cf005(0x2d1)](_0x305957)),_0x282219(0x3,_0x52210e['Inject'](_0x544020)),_0x282219(0x4,_0x52210e[_0x4cf005(0x2d1)](_0x3bdbdd)),_0x282219(0x5,_0x52210e[_0x4cf005(0x2d1)](_0x446a6c)),_0x282219(0x6,_0x4f6f29['IMessageService']),_0x282219(0x7,_0x52210e['Inject'](_0x52210e[_0x4cf005(0x250)]))],_0x4c9816);var _0x19d0bc=Object[_0x4cf005(0x19c)],_0x46828c=(_0x50b05c,_0xd3c9ea,_0x4f3a21,_0x2f0f09)=>{const _0x1cd621=_0x4cf005;for(var _0x423d3b=_0x2f0f09>0x1?void 0x0:_0x2f0f09?_0x19d0bc(_0xd3c9ea,_0x4f3a21):_0xd3c9ea,_0xd40d5=_0x50b05c[_0x1cd621(0x20e)]-0x1,_0x464aa6;_0xd40d5>=0x0;_0xd40d5--)(_0x464aa6=_0x50b05c[_0xd40d5])&&(_0x423d3b=_0x464aa6(_0x423d3b)||_0x423d3b);return _0x423d3b;},_0xfb2dc7=(_0x20af6a,_0xcedeec)=>(_0x258f33,_0x1c19d1)=>_0xcedeec(_0x258f33,_0x1c19d1,_0x20af6a);let _0x384eb2=class extends _0x52210e[_0x4cf005(0x260)]{constructor(_0x22f597,_0x4a7605,_0x3f7484){const _0x2da5e5=_0x4cf005;super(),_0xb6ff52(this,'_cachedData',new Map()),_0xb6ff52(this,_0x2da5e5(0x32f),new Map()),_0xb6ff52(this,'_disabled',!0x1),(this[_0x2da5e5(0x1c6)]=_0x22f597,this['_localStorageService']=_0x4a7605,this[_0x2da5e5(0x319)]=_0x3f7484);}[_0x4cf005(0x197)](){const _0x16e873=_0x4cf005;this[_0x16e873(0x288)]=!0x0;}[_0x4cf005(0xc4)](){this['_disabled']=!0x1;}get[_0x4cf005(0x180)](){const _0x4580b8=_0x4cf005;return this[_0x4580b8(0x32f)];}['dispose'](){const _0x22ec34=_0x4cf005;this['exhaustSavingTask']()[_0x22ec34(0xfc)](()=>super['dispose']());}async[_0x4cf005(0xdf)](_0x40f141){const _0x576960=_0x4cf005;return this[_0x576960(0x288)]?null:this[_0x576960(0x26b)]['getItem'](_0x47040c['getLocalCacheKey'](_0x40f141));}async['saveOfflineData'](_0x4cde41,_0x26f186){const _0x3aceda=_0x4cf005;return!!this[_0x3aceda(0x26b)][_0x3aceda(0xb7)](_0x4cde41,_0x26f186);}[_0x4cf005(0x2f9)](_0x49eff6,_0x164d78,_0x510109,_0x5a8717){const _0xb56865=_0x4cf005,_0x8a2e7e=this[_0xb56865(0x319)]['getCurrentRevOfUnit'](_0x49eff6);this[_0xb56865(0xe7)][_0xb56865(0x202)](_0x49eff6,{'unitID':_0x49eff6,'type':_0x164d78,'awaitingChangeset':_0x510109,'mutations':_0x5a8717,'rev':_0x8a2e7e}),this[_0xb56865(0x32f)][_0xb56865(0x178)](_0x49eff6)||this[_0xb56865(0x24a)](_0x49eff6);}[_0x4cf005(0x24a)](_0x3111c6){const _0x15465c=_0x4cf005,_0x43c81d=this[_0x15465c(0x173)]();_0x43c81d===0x0?this['_saveCache'](_0x3111c6):this['_saveTaskMap']['set'](_0x3111c6,setTimeout(()=>this['_saveCache'](_0x3111c6),_0x43c81d));}[_0x4cf005(0x173)](){const _0xd9f620=_0x4cf005;var _0x490dc2;return(_0x490dc2=this[_0xd9f620(0x1c6)][_0xd9f620(0x1f2)](_0x47040c['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x490dc2:_0x47040c[_0xd9f620(0x1a6)];}[_0x4cf005(0x1af)](_0x22667d){const _0xa7f45c=_0x4cf005,_0x1eebf0=this[_0xa7f45c(0x32f)][_0xa7f45c(0x1d2)](_0x22667d);return _0x1eebf0!==void 0x0&&window['clearTimeout'](_0x1eebf0),this['_localStorageService'][_0xa7f45c(0xb7)](_0x47040c[_0xa7f45c(0xf9)](_0x22667d),this[_0xa7f45c(0xe7)]['get'](_0x22667d))[_0xa7f45c(0xfc)](()=>this[_0xa7f45c(0x32f)]['delete'](_0x22667d));}async[_0x4cf005(0x2ee)](){const _0x35978=_0x4cf005,_0xc0f946=[];this[_0x35978(0x32f)][_0x35978(0x2f5)]((_0x5cd9c6,_0x4efae9)=>{const _0x5c4bbc=_0x35978;window['clearTimeout'](_0x5cd9c6),_0xc0f946[_0x5c4bbc(0x11e)](this[_0x5c4bbc(0x1af)](_0x4efae9)[_0x5c4bbc(0xfc)](()=>{const _0x5f08f6=_0x5c4bbc;this[_0x5f08f6(0x32f)][_0x5f08f6(0x101)](_0x4efae9);}));}),await Promise['all'](_0xc0f946);}};_0x384eb2=_0x46828c([_0xfb2dc7(0x0,_0x52210e[_0x4cf005(0xc6)]),_0xfb2dc7(0x1,_0x52210e['ILocalStorageService']),_0xfb2dc7(0x2,_0x52210e[_0x4cf005(0x2d1)](_0x4251a6['RevisionService']))],_0x384eb2);class _0x30528a extends _0x52210e[_0x4cf005(0x238)]{constructor(){const _0x33dfa5=_0x4cf005;super(),_0xb6ff52(this,'urlChange$'),this[_0x33dfa5(0x22e)]=_0x27f681['fromEvent'](window,_0x33dfa5(0xbb))[_0x33dfa5(0x23f)](_0x27f681['takeUntil'](this[_0x33dfa5(0x183)]),_0x27f681[_0x33dfa5(0x298)](0x1),_0x27f681[_0x33dfa5(0x20b)](void 0x0));}[_0x4cf005(0x17a)](_0x178ecc,_0x5df29a,_0x25c9db=!0x1){const _0x3b1342=_0x4cf005,_0x3b8738=new URL(window['location'][_0x3b1342(0x2c3)]);_0x3b8738[_0x3b1342(0x129)]['set'](_0x178ecc,_0x5df29a),_0x25c9db?window[_0x3b1342(0xef)][_0x3b1342(0x113)]('','',_0x3b8738['toString']()):window[_0x3b1342(0xef)][_0x3b1342(0x1c9)]('','',_0x3b8738[_0x3b1342(0x334)]());}[_0x4cf005(0x13e)](_0x510bbf,_0x5c80d2=!0x1){const _0x184242=_0x4cf005,_0x462260=new URL(window[_0x184242(0x2ab)][_0x184242(0x2c3)]);_0x462260[_0x184242(0x129)][_0x184242(0x101)](_0x510bbf),_0x5c80d2?window[_0x184242(0xef)][_0x184242(0x113)]('','',_0x462260[_0x184242(0x334)]()):window[_0x184242(0xef)][_0x184242(0x1c9)]('','',_0x462260['toString']());}[_0x4cf005(0x290)](_0x4bee4f){const _0x71c23f=_0x4cf005;var _0x51e9f8;return(_0x51e9f8=new URL(window['location']['href'])['searchParams'][_0x71c23f(0x1d2)](_0x4bee4f))!=null?_0x51e9f8:void 0x0;}}var _0x371b5d=Object['defineProperty'],_0x30283b=Object[_0x4cf005(0x19c)],_0x21e8ac=(_0x56be22,_0x4fdc40,_0xdba573)=>_0x4fdc40 in _0x56be22?_0x371b5d(_0x56be22,_0x4fdc40,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xdba573}):_0x56be22[_0x4fdc40]=_0xdba573,_0x44192d=(_0x7c70e2,_0x3525f5,_0x358cd1,_0x25774b)=>{const _0x278fc3=_0x4cf005;for(var _0x13414c=_0x25774b>0x1?void 0x0:_0x25774b?_0x30283b(_0x3525f5,_0x358cd1):_0x3525f5,_0x3fde1a=_0x7c70e2[_0x278fc3(0x20e)]-0x1,_0x2cfbad;_0x3fde1a>=0x0;_0x3fde1a--)(_0x2cfbad=_0x7c70e2[_0x3fde1a])&&(_0x13414c=_0x2cfbad(_0x13414c)||_0x13414c);return _0x13414c;},_0xf14134=(_0x2ddcb3,_0x12ef15)=>(_0x376de8,_0x292e29)=>_0x12ef15(_0x376de8,_0x292e29,_0x2ddcb3),_0x36e9e5=(_0x353e93,_0x39efa8,_0x52c811)=>_0x21e8ac(_0x353e93,_0x39efa8+'',_0x52c811);const _0xa7e745=_0x4cf005(0x154);_0x353bdb['UniverCollaborationClientUIPlugin']=class extends _0x52210e[_0x4cf005(0x145)]{constructor(_0x396ecb=_0x2468a5,_0x417305,_0x17fc25,_0x4ac42e){const _0x526fd2=_0x4cf005;super(),this[_0x526fd2(0x1a3)]=_0x396ecb,this[_0x526fd2(0x115)]=_0x417305,this[_0x526fd2(0x335)]=_0x17fc25,this[_0x526fd2(0x1c6)]=_0x4ac42e;const {..._0x5ed107}=_0x52210e[_0x526fd2(0xa9)]({},_0x2468a5,this[_0x526fd2(0x1a3)]);this[_0x526fd2(0x1c6)][_0x526fd2(0x11a)](_0xbaf90d,_0x5ed107);}[_0x4cf005(0x27a)](){const _0x577e57=_0x4cf005;this[_0x577e57(0x126)](),this[_0x577e57(0x2bf)]();}[_0x4cf005(0x1b0)](){const _0x8f66db=_0x4cf005;this[_0x8f66db(0x193)]();}[_0x4cf005(0x126)](){const _0x2009ac=_0x4cf005;var _0x49fc98;const _0x4625d3=[[_0x499053],[_0x3bdbdd],[_0x305957],[_0x544020],[_0x446a6c],[_0x3ada57,{'useClass':_0x30528a}],[_0x2c7691[_0x2009ac(0x242)],{'useClass':_0x2c7691[_0x2009ac(0x112)]}],[_0x47040c[_0x2009ac(0x2ef)],{'useClass':_0x384eb2}],[_0x353bdb[_0x2009ac(0x2b5)]],[_0x4c9816],[_0x6a5d98],[_0x1ee3b8],[_0x180543],[_0x353bdb[_0x2009ac(0x208)]]];_0x52210e['registerDependencies'](this[_0x2009ac(0x335)],_0x52210e['mergeOverrideWithDependencies'](_0x4625d3,(_0x49fc98=this['_config'])==null?void 0x0:_0x49fc98['override']));}[_0x4cf005(0x193)](){const _0x296e63=_0x4cf005;this[_0x296e63(0x285)](this[_0x296e63(0x115)][_0x296e63(0x332)](_0x52210e[_0x296e63(0x268)][_0x296e63(0x169)],[_0x14e670])),this['disposeWithMe'](this[_0x296e63(0x115)][_0x296e63(0x332)](_0x52210e[_0x296e63(0x268)][_0x296e63(0x2d2)],[_0x396fbf]));}[_0x4cf005(0x2bf)](){const _0x1012df=_0x4cf005;_0x52210e[_0x1012df(0x175)](this[_0x1012df(0x335)],[[_0x1ee3b8],[_0x353bdb[_0x1012df(0x2b5)]],[_0x4c9816],[_0x6a5d98],[_0x353bdb[_0x1012df(0x208)]]]);}},_0x36e9e5(_0x353bdb[_0x4cf005(0x2ed)],_0x4cf005(0x2d0),_0xa7e745),_0x353bdb[_0x4cf005(0x2ed)]=_0x44192d([_0x52210e[_0x4cf005(0x32b)](_0x47040c['UniverCollaborationClientPlugin']),_0xf14134(0x1,_0x45eaa5['IRenderManagerService']),_0xf14134(0x2,_0x52210e['Inject'](_0x52210e['Injector'])),_0xf14134(0x3,_0x52210e[_0x4cf005(0xc6)])],_0x353bdb[_0x4cf005(0x2ed)]);var _0x39586b=Object[_0x4cf005(0x19c)],_0x2b0f8c=(_0x528b73,_0x633180,_0x2b9c6b,_0x30f058)=>{const _0xa299c8=_0x4cf005;for(var _0x429229=_0x30f058>0x1?void 0x0:_0x30f058?_0x39586b(_0x633180,_0x2b9c6b):_0x633180,_0x4e6796=_0x528b73[_0xa299c8(0x20e)]-0x1,_0x1a90c8;_0x4e6796>=0x0;_0x4e6796--)(_0x1a90c8=_0x528b73[_0x4e6796])&&(_0x429229=_0x1a90c8(_0x429229)||_0x429229);return _0x429229;},_0x280604=(_0x4bdc6a,_0x3928a1)=>(_0x3ffd98,_0x546556)=>_0x3928a1(_0x3ffd98,_0x546556,_0x4bdc6a);_0x353bdb[_0x4cf005(0x2e0)]=class extends _0x47040c['CollaborationSocketService']{constructor(_0x329977,_0xe2c3da,_0x4a6874,_0x7f65c2,_0x36a1f4){super(_0x329977,_0xe2c3da,_0x4a6874,_0x7f65c2,_0x36a1f4);}async[_0x4cf005(0x1ac)](_0x364feb){const _0x36c828=_0x4cf005,_0x27671f=await this[_0x36c828(0x274)](),_0x3c8435=this[_0x36c828(0x2fa)](_0x364feb,_0x27671f);return this['_doCreateSocket'](_0x3c8435);}[_0x4cf005(0x2fa)](_0x46c044,_0x198606){const _0x33a080=_0x4cf005,_0x5effb3=typeof window>'u'?new URL(_0x46c044):new URL(_0x46c044,window[_0x33a080(0x2ab)][_0x33a080(0x32d)]);_0x5effb3[_0x33a080(0x129)][_0x33a080(0x202)]('sessionTicket',_0x198606);const _0x3c4162=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x33a080(0x2ab)][_0x33a080(0x20a)]);return _0x3c4162[_0x33a080(0x1d2)]('runId')&&_0x5effb3['searchParams'][_0x33a080(0x202)](_0x33a080(0x16c),_0x3c4162['get'](_0x33a080(0x16c))),_0x5effb3[_0x33a080(0x334)]();}async[_0x4cf005(0x274)](){const _0xb41c19=_0x4cf005;var _0x3d572c,_0x2ee14c,_0x40037e;const _0x776da8=this[_0xb41c19(0x1c6)][_0xb41c19(0x1f2)](_0x47040c[_0xb41c19(0x1bd)]),_0x554ffc=(_0x3d572c=_0x776da8==null?void 0x0:_0x776da8['wsSessionTicketUrl'])!=null?_0x3d572c:_0x47040c['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x40037e=(_0x2ee14c=(await this[_0xb41c19(0x135)][_0xb41c19(0x1d2)](_0x554ffc,{'headers':{'Content-Type':_0xb41c19(0xae)}}))[_0xb41c19(0xd1)])==null?void 0x0:_0x2ee14c['ticket'])!=null?_0x40037e:'';}},_0x353bdb[_0x4cf005(0x2e0)]=_0x2b0f8c([_0x280604(0x0,_0x52210e[_0x4cf005(0x2d1)](_0x52210e[_0x4cf005(0x2d9)])),_0x280604(0x1,_0x52210e[_0x4cf005(0x2d1)](_0x2c7691['HTTPService'])),_0x280604(0x2,_0x52210e[_0x4cf005(0xc6)]),_0x280604(0x3,_0x52210e['ILogService']),_0x280604(0x4,_0x4251a6[_0x4cf005(0x1e6)])],_0x353bdb[_0x4cf005(0x2e0)]);const _0x5895a6=0x7530,_0x558197=_0x4cf005(0x31a);class _0x335b10 extends _0x52210e['Disposable']{constructor(){const _0x40be65=_0x4cf005;super(),_0xb6ff52(this,_0x40be65(0xb8),_0x52210e['generateRandomId']()),_0xb6ff52(this,_0x40be65(0x322),new Set()),_0xb6ff52(this,_0x40be65(0x245),new Map()),_0xb6ff52(this,'_heartbeatTimer',null),_0xb6ff52(this,_0x40be65(0x27d),new Map()),_0xb6ff52(this,'_unitStatus',new Map()),this[_0x40be65(0x138)]();}['dispose'](){const _0x40058b=_0x4cf005;super[_0x40058b(0xf7)](),this[_0x40058b(0x27d)][_0x40058b(0x2f5)]((_0x37527f,_0x4e8dca)=>this[_0x40058b(0x1ea)](_0x4e8dca)),this[_0x40058b(0x182)]&&window[_0x40058b(0x271)](this[_0x40058b(0x182)]);}[_0x4cf005(0x148)](_0x4f9ac3){const _0x376fdf=_0x4cf005;return this[_0x376fdf(0x281)](_0x4f9ac3)[_0x376fdf(0x23f)](_0x27f681[_0x376fdf(0x10d)]());}[_0x4cf005(0x1ca)](_0x46cd85){const _0x1af501=_0x4cf005;this[_0x1af501(0x322)][_0x1af501(0x157)]===0x0&&this[_0x1af501(0x311)](),this['_selfUnitIDs'][_0x1af501(0x12c)](_0x46cd85),this[_0x1af501(0x213)]({'type':0x0,'memberID':this[_0x1af501(0xb8)],'unitIDs':[_0x46cd85],'isForwarded':!0x1});}['disposeUnit'](_0x456c91){const _0x124c4e=_0x4cf005;this[_0x124c4e(0x322)]['delete'](_0x456c91),this['_selfUnitIDs']['size']===0x0&&this['_heartbeatTimer']&&window[_0x124c4e(0x271)](this[_0x124c4e(0x182)]);}[_0x4cf005(0x138)](){const _0x426312=_0x4cf005;this[_0x426312(0x285)](_0x52210e[_0x426312(0x2df)](_0x27f681[_0x426312(0x12a)](window,_0x426312(0x2fb))[_0x426312(0x21a)](_0x300467=>{const _0x43868a=_0x426312;if(_0x300467[_0x43868a(0x1d5)]!==_0x558197||!_0x300467[_0x43868a(0x17d)])return;const _0x26d700=JSON[_0x43868a(0x23a)](_0x300467[_0x43868a(0x17d)]);this['_handleEvent'](_0x26d700);}))),window[_0x426312(0xa3)]('unload',()=>this[_0x426312(0x213)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x426312(0x195)](this['_selfUnitIDs'])}));}[_0x4cf005(0xc8)](_0x1ef04b){const _0x55afc5=_0x4cf005;switch(_0x1ef04b['type']){case 0x0:this[_0x55afc5(0x26f)](_0x1ef04b);break;case 0x1:this[_0x55afc5(0x16b)](_0x1ef04b);break;case 0x2:this[_0x55afc5(0x19f)](_0x1ef04b);break;}}['_handleJoinEvent'](_0x48a87e){const _0x344720=_0x4cf005,{unitIDs:_0x4a4d69,memberID:_0x3015f9,isForwarded:_0x38b863}=_0x48a87e;_0x4a4d69['forEach'](_0x33d98d=>{const _0x115456=_0x568e;if(!_0x38b863&&this[_0x115456(0x245)][_0x115456(0x178)](_0x33d98d)&&this['_ensureSubject'](_0x33d98d)[_0x115456(0x161)](_0x47040c[_0x115456(0xe6)][_0x115456(0x1df)]),!this[_0x115456(0x245)][_0x115456(0x178)](_0x33d98d)||!this[_0x115456(0x245)][_0x115456(0x1d2)](_0x33d98d)[_0x115456(0x178)](_0x3015f9)){const _0x23c08d=this['_unitOnClients']['get'](_0x33d98d)||new Set();_0x23c08d[_0x115456(0x12c)](_0x3015f9),this[_0x115456(0x245)][_0x115456(0x202)](_0x33d98d,_0x23c08d),this['_scheduleClearOtherTimer'](_0x3015f9);}}),_0x38b863||this[_0x344720(0x213)]({'type':0x0,'memberID':this[_0x344720(0xb8)],'unitIDs':[...this[_0x344720(0x322)]],'isForwarded':!0x0});}[_0x4cf005(0x2a6)](_0x1dad0e){const _0x5475f7=_0x4cf005;this[_0x5475f7(0x1ea)](_0x1dad0e);const _0x1bdfc7=window['setTimeout'](()=>{const _0x26bd40=_0x5475f7;this['_unitOnClients'][_0x26bd40(0x2f5)](_0x4880ac=>{const _0x2aaed0=_0x26bd40;_0x4880ac[_0x2aaed0(0x101)](_0x1dad0e);});},_0x5895a6*0x2);this[_0x5475f7(0x27d)][_0x5475f7(0x202)](_0x1dad0e,_0x1bdfc7);}['_removeClearOtherTimer'](_0x496e8f){const _0x2ed7f7=_0x4cf005;if(this['_clearOtherTimers'][_0x2ed7f7(0x178)](_0x496e8f)){const _0xe22d80=this[_0x2ed7f7(0x27d)][_0x2ed7f7(0x1d2)](_0x496e8f);_0xe22d80&&window['clearTimeout'](_0xe22d80),this['_clearOtherTimers'][_0x2ed7f7(0x202)](_0x496e8f,null);}}[_0x4cf005(0x16b)](_0xa0cb0b){const _0x4f15ed=_0x4cf005,{memberID:_0x21f262,unitIDs:_0x369919}=_0xa0cb0b;_0x369919[_0x4f15ed(0x2f5)](_0x29f328=>{const _0x31eb39=_0x4f15ed;var _0x5a66e4;const _0x219db6=this[_0x31eb39(0x245)][_0x31eb39(0x1d2)](_0x29f328);_0x219db6&&(_0x219db6[_0x31eb39(0x101)](_0x21f262),(_0x5a66e4=this[_0x31eb39(0x281)](_0x29f328))==null||_0x5a66e4['next'](_0x219db6['size']===0x0?_0x47040c[_0x31eb39(0xe6)][_0x31eb39(0x2fe)]:_0x47040c['UnitStatus'][_0x31eb39(0x1df)]));}),this[_0x4f15ed(0x1ea)](_0x21f262);}['_handleHeartbeatEvent'](_0x542271){const _0x524898=_0x4cf005;this['_scheduleClearOtherTimer'](_0x542271[_0x524898(0x2e3)]);}[_0x4cf005(0x213)](_0xe1f000){const _0x564c28=_0x4cf005;localStorage[_0x564c28(0xb7)](_0x558197,JSON[_0x564c28(0x32e)](_0xe1f000));}['_scheduleHeartbeat'](){const _0x59125f=_0x4cf005;this['_heartbeatTimer']=window[_0x59125f(0x24c)](()=>{const _0x332dcc=_0x59125f;this[_0x332dcc(0x213)]({'type':0x2,'memberID':this[_0x332dcc(0xb8)]});},_0x5895a6);}['_ensureSubject'](_0x3d6118){const _0x50c88c=_0x4cf005;return this[_0x50c88c(0x241)][_0x50c88c(0x178)](_0x3d6118)||this[_0x50c88c(0x241)][_0x50c88c(0x202)](_0x3d6118,new _0x27f681[(_0x50c88c(0x132))](_0x47040c[_0x50c88c(0xe6)][_0x50c88c(0x2fe)])),this[_0x50c88c(0x241)][_0x50c88c(0x1d2)](_0x3d6118);}}var _0x2549b0=(_0x4b8b92=>(_0x4b8b92[_0x4b8b92[_0x4cf005(0x11b)]=0x0]=_0x4cf005(0x11b),_0x4b8b92[_0x4b8b92['OK']=0x1]='OK',_0x4b8b92[_0x4b8b92[_0x4cf005(0x1b5)]=0x2]=_0x4cf005(0x1b5),_0x4b8b92[_0x4b8b92['PERMISSION_DENIED']=0x3]='PERMISSION_DENIED',_0x4b8b92[_0x4b8b92['NOT_FOUND']=0x4]='NOT_FOUND',_0x4b8b92[_0x4b8b92['UNAUTHENTICATED']=0x5]=_0x4cf005(0x134),_0x4b8b92[_0x4b8b92['ALREADY_EXISTS']=0x6]=_0x4cf005(0x2e4),_0x4b8b92[_0x4b8b92[_0x4cf005(0xba)]=0x7]=_0x4cf005(0xba),_0x4b8b92[_0x4b8b92[_0x4cf005(0x1da)]=0x8]=_0x4cf005(0x1da),_0x4b8b92[_0x4b8b92['COMPLETION_FINISHED']=0x9]=_0x4cf005(0xd5),_0x4b8b92[_0x4b8b92[_0x4cf005(0x1bf)]=0xa]=_0x4cf005(0x1bf),_0x4b8b92[_0x4b8b92[_0x4cf005(0x278)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x4b8b92[_0x4b8b92[_0x4cf005(0x19e)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x4b8b92[_0x4b8b92['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4cf005(0x303),_0x4b8b92[_0x4b8b92['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4b8b92[_0x4b8b92[_0x4cf005(0x215)]=0x1b59]=_0x4cf005(0x215),_0x4b8b92[_0x4b8b92[_0x4cf005(0x293)]=0x1b5a]=_0x4cf005(0x293),_0x4b8b92[_0x4b8b92[_0x4cf005(0x2ff)]=0x1b5b]=_0x4cf005(0x2ff),_0x4b8b92[_0x4b8b92[_0x4cf005(0x21b)]=0x1b5c]=_0x4cf005(0x21b),_0x4b8b92[_0x4b8b92[_0x4cf005(0xcf)]=0x1b5d]=_0x4cf005(0xcf),_0x4b8b92[_0x4b8b92['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x4cf005(0x1f7),_0x4b8b92[_0x4b8b92[_0x4cf005(0x15b)]=0x2329]=_0x4cf005(0x15b),_0x4b8b92[_0x4b8b92['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x4cf005(0x226),_0x4b8b92[_0x4b8b92[_0x4cf005(0x233)]=0x232b]=_0x4cf005(0x233),_0x4b8b92[_0x4b8b92['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4cf005(0x2b3),_0x4b8b92[_0x4b8b92[_0x4cf005(0xe2)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x4b8b92[_0x4b8b92['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4cf005(0x119),_0x4b8b92[_0x4b8b92[_0x4cf005(0x1f4)]=0x2712]=_0x4cf005(0x1f4),_0x4b8b92[_0x4b8b92[_0x4cf005(0xfd)]=0x2713]=_0x4cf005(0xfd),_0x4b8b92[_0x4b8b92[_0x4cf005(0x22d)]=0x2714]=_0x4cf005(0x22d),_0x4b8b92[_0x4b8b92[_0x4cf005(0xda)]=0x271a]=_0x4cf005(0xda),_0x4b8b92[_0x4b8b92[_0x4cf005(0x1de)]=0x271b]=_0x4cf005(0x1de),_0x4b8b92[_0x4b8b92[_0x4cf005(0x12b)]=0x2af9]=_0x4cf005(0x12b),_0x4b8b92[_0x4b8b92['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4cf005(0x1ec),_0x4b8b92[_0x4b8b92[_0x4cf005(0x30d)]=0x2ee2]=_0x4cf005(0x30d),_0x4b8b92[_0x4b8b92['INVITE_CODE_REQUIRED']=0x2ee3]=_0x4cf005(0x299),_0x4b8b92[_0x4b8b92[_0x4cf005(0x1e7)]=0x2ee4]=_0x4cf005(0x1e7),_0x4b8b92[_0x4b8b92[_0x4cf005(0x275)]=0x2ee5]=_0x4cf005(0x275),_0x4b8b92[_0x4b8b92[_0x4cf005(0x27e)]=0x32c9]=_0x4cf005(0x27e),_0x4b8b92[_0x4b8b92[_0x4cf005(0x102)]=0x32ca]=_0x4cf005(0x102),_0x4b8b92[_0x4b8b92[_0x4cf005(0x2d6)]=0x32cb]=_0x4cf005(0x2d6),_0x4b8b92[_0x4b8b92[_0x4cf005(0x2a9)]=-0x1]=_0x4cf005(0x2a9),_0x4b8b92))(_0x2549b0||{}),_0x3cf54e=Object['getOwnPropertyDescriptor'],_0x1fe504=(_0xc1fb77,_0x24eda5,_0x15c926,_0x756d57)=>{const _0xf85b0f=_0x4cf005;for(var _0x3c1cab=_0x756d57>0x1?void 0x0:_0x756d57?_0x3cf54e(_0x24eda5,_0x15c926):_0x24eda5,_0x3c7e8c=_0xc1fb77[_0xf85b0f(0x20e)]-0x1,_0x3163cf;_0x3c7e8c>=0x0;_0x3c7e8c--)(_0x3163cf=_0xc1fb77[_0x3c7e8c])&&(_0x3c1cab=_0x3163cf(_0x3c1cab)||_0x3c1cab);return _0x3c1cab;},_0x332ea9=(_0x36f619,_0x4f16e2)=>(_0x71e309,_0xd8de7e)=>_0x4f16e2(_0x71e309,_0xd8de7e,_0x36f619);_0x353bdb['RemoteUniscriptService']=class extends _0x52210e[_0x4cf005(0x260)]{constructor(_0x4f2d1d,_0x1fedf5,_0x88468f){const _0x12f7e5=_0x4cf005;super(),this[_0x12f7e5(0x116)]=_0x4f2d1d,this[_0x12f7e5(0x135)]=_0x1fedf5,this[_0x12f7e5(0x1c6)]=_0x88468f;}async[_0x4cf005(0x2a4)](_0xb93557,_0x52f125,_0x42a946,..._0x1805bd){const _0x2e6a65=_0x4cf005;var _0xe306fd,_0x1ee1e2,_0x3affab,_0x57db55;const _0x1304c2=this[_0x2e6a65(0x116)][_0x2e6a65(0x2bc)]();if(!_0x1304c2)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x15112b=((_0xe306fd=this[_0x2e6a65(0x1c6)]['getConfig'](_0x47040c['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0xe306fd:_0x47040c[_0x2e6a65(0x146)])+'/'+_0xb93557+_0x2e6a65(0xff)+_0x52f125,_0x51d426=new URL(window[_0x2e6a65(0x2ab)][_0x2e6a65(0x2c3)]),_0xc1369b={'scriptId':_0xb93557,'runId':(_0x1ee1e2=_0x51d426['searchParams'][_0x2e6a65(0x1d2)](_0x2e6a65(0x16c)))!=null?_0x1ee1e2:'','function':_0x52f125,'unitId':_0x1304c2['getUnitId'](),'argsOfFunction':JSON[_0x2e6a65(0x32e)](_0x1805bd),'invokeId':(_0x3affab=_0x42a946[_0x2e6a65(0x23e)])!=null?_0x3affab:'','executionId':(_0x57db55=_0x42a946[_0x2e6a65(0x201)])!=null?_0x57db55:''};try{const _0x232971=await this[_0x2e6a65(0x135)][_0x2e6a65(0x2d5)](_0x15112b,{'body':_0xc1369b});return _0x232971['body'][_0x2e6a65(0x1db)]&&_0x232971[_0x2e6a65(0xd1)][_0x2e6a65(0x1db)][_0x2e6a65(0x1f8)]!==_0x2549b0['OK']?'Failed':_0x232971[_0x2e6a65(0xd1)][_0x2e6a65(0xd3)];}catch{return'Failed';}}},_0x353bdb[_0x4cf005(0x1ce)]=_0x1fe504([_0x332ea9(0x0,_0x52210e[_0x4cf005(0xf3)]),_0x332ea9(0x1,_0x52210e['Inject'](_0x2c7691[_0x4cf005(0xe4)])),_0x332ea9(0x2,_0x52210e[_0x4cf005(0xc6)])],_0x353bdb[_0x4cf005(0x1ce)]),_0x353bdb[_0x4cf005(0x29f)]=_0xddad9e,_0x353bdb[_0x4cf005(0x280)]=_0x3ada57,_0x353bdb[_0x4cf005(0x310)]=_0x220a7d,_0x353bdb[_0x4cf005(0x12e)]=_0x335b10,_0x353bdb[_0x4cf005(0x19a)]=_0x30528a,Object[_0x4cf005(0x11f)](_0x353bdb,Symbol[_0x4cf005(0x114)],{'value':_0x4cf005(0x191)});}));function _0x568e(_0x33bbe4,_0xf13551){const _0x3ec5bc=_0x3ec5();return _0x568e=function(_0x568e1f,_0x1aa9f8){_0x568e1f=_0x568e1f-0x9f;let _0x4bc111=_0x3ec5bc[_0x568e1f];return _0x4bc111;},_0x568e(_0x33bbe4,_0xf13551);}function _0x3ec5(){const _0x541a5e=['_session','row','CHANGESET_REVISION_CONFILICT','SetDocZoomRatioOperation','onStarting','runRefRangeMutations','substring','_clearOtherTimers','WECHAT_HAS_BEEN_BOUND','resize','IURLService','_ensureSubject','@univerjs/sheets','none','_color','disposeWithMe','transformMutationsWithChangeset','endColumn','_disabled','DeleteRangeMoveUpCommandId','session.will-retry','_collaborationUIEventService','object','function','getVpScrollXYInfoByPosToVp','UniverProCollaboration','getParam','_range','DataLoaderService','APPLY_NON_SEQUENTIAL_REVISION','_transformHistoryAndStateStack','useDependency','transformMutation','currentColor','shareReplay','INVITE_CODE_REQUIRED','MemberService','_updateLocalCursor','jiqing500','switchMap','_document','CollaborationStatusDisplay','triggerDblclick','getSheetBySheetId','1EiCgiF','textRanges','runOnServer','collaboration.closeRoom','_scheduleClearOtherTimer','onTransformChange$','hovered','UNRECOGNIZED','rxjs','location','isArray','UniverNetwork','params','propertyIsEnumerable','@univerjs-pro/collaboration','symbol','SOCKET_FAILED_RETRY','LICENSE_EXPORT_SIZE_EXCEEDED','SUBMIT_CHANGESET_TIMEOUT','DesktopCollaborationStatusDisplayController','7075832bINEaM','_anchor','deserializeRangeWithSheet','CollaborationController','permission.content','getViewport','getFocusedUnit','xlink:href','DeleteRangeMoveLeftCommandId','_initDependencies','range','skeleton','COLORS','href','PENDING','RemoveRowCommandId','_docSkeletonManagerService','generateRandomId','getCoordByCell','prototype','apply','CollaborationEvent','_sheetSkeletonManagerService','transformSelections','_drawRectRange','replaceDocRanges','pluginName','Inject','UNIVER_SHEET','findNodePositionByCharIndex','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','post','EMAIL_HAS_BEEN_BOUND','column','rgba(255,\x20255,\x20255,\x200.01)','Injector','connectInjector','closePath','CONFLICT','exports','height','toDisposable','BrowserCollaborationSocketService','@univerjs/core','top','memberID','ALREADY_EXISTS','m1Prime','fill','_docTransformIMECacheService','_localCacheService','_initEntityListener','createInstance','addObjects','extend','UniverCollaborationClientUIPlugin','exhaustSavingTask','ILocalCacheService','text','NodePositionConvertToCursor','DisposableCollection','CommandType','_dataLoaderService','forEach','getCellPositionByOffset','_hovered','hasOwnProperty','updateOfflineData','_createSocketURL','storage','TEXT','_collabCursorState$','NO_OTHER_CLIENTS_EDITING','APPLY_REVISION_CONFILICT','_imageIoService','getRangePointData','getUnitId','SNAPSHOT_HAS_BEEN_REMOVED','requireSession','evenodd','name','_initResize','subscribeEvent','idSuffix','collabStatus.conflict','collab-client.tooltip.reconnect','beginPath','INVALID_INVITE_CODE','_beforeCloseService','activeSheet$','SheetCollabCursorShape','_scheduleHeartbeat','_removeCollabCursors','icon','_initEvent','ONLINE','_cursor','serializeRangeWithSheet','onPointerLeave$','_revisionService','ACTIVE_UNIT_EVENT_CHANNEL','_refRangeService','_anchorDot','UniverEngineFormula','MessageType','addObject','handleMoveRange','syncEditingCollabCursor','_selfUnitIDs','drawWith','1em','_collaborationController','sheetId','jsx','_themeService','getCurrentSelections','UniverRpc','DependentOn','replace','origin','stringify','_saveTaskMap','_onRefRangeChange','call','registerRenderModule','whenReady','toString','_injector','url(#off-line-single_clip0_910_343)','_urlService','UniverDocs','executeCommand','div','addEventListener','_updateSubUnitFromURLParams','makeDirty','children','getColor','getUniverSheetInstance','merge','width','UniverDocsUi','throttleTime','split','application/json','mutations','SheetsSelectionsService','_setupBeforeClosingHandler','values','transform','className','fromEventSubject','color','setItem','_id','_messageService','INVALID_ARGUMENT','popstate','colorChannel1','getOwnPropertySymbols','registerRefRange','Unknown\x20user','unshift','doc.mutation.rich-text-editing','_docClipboardService','_online','enableLocalCache','ITransformService','IConfigService','OFFLINE','_handleEvent','CollaborationUIEventId','assign','_syncEditingCollabCursorService','SYNCED','_draw','2954318rIWKdY','APPLY_DUPLICATED','collabStatus.offline','body','takeUntil','result','svg','COMPLETION_FINISHED','_localeService','2688465yxWzWB','status$','rxjs/operators','YUUMI_NO_CUBOID_FOR_QUESTION','_shapes','Tools','6DZuerF','selection','loadOfflineData','hide','NOT_COLLAB','LICENSE_DISTRO_REJECTED','isTransformMutationFailure','HTTPService','forwardRef','UnitStatus','_cachedData','_getAnchorBounding','transformByState','@univerjs/docs','@univerjs-pro/collaboration-client','_notificationService','gold400','NodePositionConvertToRectRange','history','SetWorksheetActivateCommand','react/jsx-runtime','getMember','IUniverInstanceService','_getSheetObject','debug','entries','dispose','url(#$1','getLocalCacheKey','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','red300','then','YUUMI_RATE_OVER_LIMIT','some','/run/','TEXT_RANGE_LAYER_INDEX','delete','MOBILE_HAS_BEEN_BOUND','IMessageService','PERMISSION_DENIED','Subject','_docSyncEditingCollabCursorService','_docSkeleton','currentTheme$','getMemberID','univerjs-icon\x20univerjs-icon-','string','DocIMEInputManagerService','distinctUntilChanged','getDocRanges','transformStateCache','eventID','collaboration-client-ui.config','WebSocketService','replaceState','toStringTag','_renderManagerService','_instanceService','setActiveRange','_name','YUUMI_UNABLE_LOAD_URL','setConfig','UNDEFINED','uni.network.url-service','_transformPreviousActiveRange','push','defineProperty','max','...','0\x200\x2017\x2016','ThemeService','_getScale','blue400','_registerDependencies','lineTo','Vector2','searchParams','fromEvent','PY_RUNTIME_SCRIPT_ERROR','add','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','WebBrowserSingleActiveUnitService','setStateCache','CLOSE_ROOM','use','BehaviorSubject','useRef','UNAUTHENTICATED','_httpService','getValue','DocStateChangeManagerService','_init','UniverCore','url(#on-line-single_clip0_910_349)','_transformService','_hideTimer','getSheetId','removeParam','_status$','@univerjs/sheets-ui','event$','operators','onCommandExecuted','RECT','Plugin','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_assignedColors','getUnitStatus$','handleInsertCol','includes','engine','clipPath','entityInit$','collabStatus.fetchMiss','concat','find','_updateCollabCursors','@univerjs/docs-ui','1406552FYaoaS','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','unit','UniverDrawing','size','3ySbgLw','loadUnit','M0\x200H16V16H0z','LICENSE_MAX_UNITS_EXCEEDED','currentSkeleton$','InsertRangeMoveDownCommandId','@univerjs/design','_entityInit$','RichTextEditingMutation','next','BuiltInUIPart','unitId','fillRule','OffLineSingle','unsubscribe','cursorInfo$','registerComponent','UNIVER_DOC','_startSheetCollabCursor','_handleLeaveEvent','runId','handleDeleteRangeMoveUp','RegularPolygon','RefRangeService','Rectangle','transformIMECache','deepClone','_getSaveTimeout','getCurrentUnitForType','touchDependencies','init','AWAITING','has','startsWith','setParam','filter','_transformUndoRedoStack','newValue','getCollabCursors$','with','saveTaskMap','SetTextSelectionsOperation','_heartbeatTimer','dispose$','3667617SIGxpw','sheetID','defIds','collab-rect-range-','off-line-single_clip0_910_343','_initStatusListener','ICommandService','EffectRefRangId','undoState','_toggleOffline','FETCH_MISS','getRenderById','Rect','Module','assignAColorForMemberID','_registerRenderDependencies','_cursorInfo$','from','imageSourceType','disableLocalCache','path','createElement','WebURLService','mask','getOwnPropertyDescriptor','subunit','SNAPSHOT_INVALID_SNAPSHOT','_handleHeartbeatEvent','_univerInstanceService','complete','InsertRowCommandId','_config','_context','debounce','LOCAL_CACHE_INTERVAL','_commandService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','isTransformMutationsWithChangesetSuccess','[CollaborationDataLoaderController]','UniverProCollaborationClient','createSocket','setAlpha','Optional','_saveCache','onRendered','onPointerEnter$','Shape','univer-flex\x20univer-items-center','on-line-single_clip0_910_349','INTERNAL_ERROR','asObservable','@univerjs/network','isEditing','CollaborationStatus','attrs','_colorIndex','startRow','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','collabStatus.syncing','LOGIN_FAILED','redoState','USERS_LEAVE','collabStatus.notCollab','OTHER_CLIENT_EDITING','SessionStatus','react','_configService','_refreshCollabCursors','UniverDesign','pushState','editingUnit','trim','displayName','_startDocCollabCursor','RemoteUniscriptService','getMergeData','_backgroundColor','unitID','get','getOffsetConfig','getSkeleton','key','@univerjs/rpc','DocSelectionManagerService','session.collaboration-timeout','getTypeOfUnitDisposed$','TOO_MANY_REQUESTS','error','getStateCache','RemoveColCommandId','YUUMI_ASYNCIO_CANCELLED','OTHER_CLIENTS_EDITING','setUndoRedoMutationParamsCache','_docStateChangeManagerService','_uiPartsService','flatMap','combineLatest','_eventUnsubscribe','ISnapshotServerService','USER_NOT_INVITED_CODE','isActive','show','_removeClearOtherTimer','_textBubble','INVITE_CODE_HAS_BEEN_UES','_toggleOnline','_drawAnchor','backgroundColor','on-line-single','UniverSheetsUi','getConfig','_docTransformStateCacheService','YUUMI_URL_COL_OUT_OF_RANGE','UPDATE_CURSOR','createIdentifier','CONNECTOR_DATA_TOO_LARGE','code','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','INotificationService','indexOf','_scene','_labelPosition','data','VIEW_MAIN','debounceTime','executionId','set','_entities','sessionStatus$','jsxs','_onCursorUpdate','_drawTextRange','CollaborationDataLoaderController','useObservable','search','mapTo','source','_roomMembers$','length','_docTransformSelectionsService','FromArray','collabCursorState$','_cursors','_send','transformRemoteChangeset','APPLY_REJECT','_hover','_initCommandExecutedListener','_colorAssignService','clsx','subscribe','APPLY_PERMISSION_DENIED','docStateChange$','@univerjs/drawing','fillStyle','React','save','CollaborationUIEventService','moveTo','_render','_memberService','_setupSubUnitSync','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','4198836eLrvyn','onPointerMove$','fillText','#fff','labelPosition','subUnitId','YUUMI_SUBSCRIPTION_NOT_FOUND','urlChange$','@univerjs/engine-render','cursorInfo','m2Prime','univer-text-green-500','LICENSE_IMPORT_SIZE_EXCEEDED','_logService','JOIN_ROOM_FAILED','onLocalMutation','_collabCursorController','RxDisposable','5948780jnXKAD','parse','min','restore','handleInsertRow','invokeId','pipe','HEADER_MENU','_unitStatus','ISocketService','getAncestorScale','send','_unitOnClients','MUTATION','_onCursorDelete','_collabSessionService','_updateURLWithCurrentState','_scheduleSaving','type','setInterval','onMouseMove','DOC_RANGE_TYPE','getCollabEntity$','LocaleService','setShapeProps','_handleHover','_cursorShapes','black','Error','roomMembers$','measureText','UniverIcon','Warning','endRow','ranges','_initStatusComponent','map','startColumn','_getMergeRange','Disposable','registerBeforeClose','font','DocCollaborationEntity','ILogService','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','InsertRangeMoveRightCommandId','round','UniverInstanceType','defs','getRelativeToViewportCoord','_localStorageService','bottom','toRgbString','tag','_handleJoinEvent','CollaborationSessionService','clearInterval','IImageIoService','SetSelectionsOperation','_getSessionTicket','INVITE_CODE_ALREADY_BOUND'];_0x3ec5=function(){return _0x541a5e;};return _0x3ec5();}