@univerjs-pro/collaboration-client-ui 0.8.0-nightly.202506081606 → 0.8.0-nightly.202506101607

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 _0x4d59(){const _0x39329b=['univer-flex\x20univer-mr-2\x20univer-text-xl','_handleLeaveEvent','selection','479214vYuljj','getTypeOfUnitDisposed$','50YOWHIi','WebBrowserSingleActiveUnitService','set','from','unitId','CollaborationStatus','startColumn','INVITE_CODE_HAS_BEEN_UES','UniverProCollaborationClient','save','getOwnPropertySymbols','ILocalCacheService','collab-text-anchor-','merge','PERMISSION_DENIED','RichTextEditingMutation','sessionStatus$','disableLocalCache','IConfigService','HTTPService','getCurrentRevOfUnit','M0\x200H16V16H0z','collab-rect-range-','SYNCED','BrowserCollaborationSocketService','_imageIoService','debounceTime','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','6561312bqylFM','yellow.400','evenodd','onCommandExecuted','blue.400','session.collaboration-timeout','onStarting','getViewport','Disposable','_handleJoinEvent','skeleton','setShapeProps','displayName','InsertRowCommandId','RemoveRowCommandId','distinctUntilChanged','SheetSkeletonManagerService','#FFF','_removeClearOtherTimer','getCoordByCell','ILocalStorageService','0\x200\x2016\x2016','_scheduleSaving','getUndoRedoMutationParamsCache','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','INVALID_INVITE_CODE','_shapes','url(#on-line-icon_clip0_910_349)','clearTimeout','use','debug','on-line-icon_clip0_910_349','ranges','executeCommand','extend','YUUMI_TABLE_NOT_FOUND_IN_UNIT','_dataLoaderService','UNIVER_SHEET','isTransformMutationFailure','saveOfflineData','deserializeRangeWithSheet','UniverDrawing','_collaborationController','_doCreateSocket','@univerjs/docs-ui','RevisionService','activeSheet$','2160432VBGwfJ','DocSelectionManagerService','labelPosition','operators','permission.content','ColorKit','hide','transformStateCache','OnLineIcon','searchParams','undoState','runId','React','_registerRenderDependencies','subUnitId','_unitOnClients','UniverProCollaborationClientUi','path','white','handleDeleteRangeMoveUp','call','mergeOverrideWithDependencies','className','collaboration-client.offline-data-not-saved','_disabled','backgroundColor','collabStatus.notCollab','@univerjs/core','imageSourceType','_docStateChangeManagerService','SOCKET_FAILED','Rectangle','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getFocusedUnit','asObservable','DependentOn','NOT_COLLAB','CollaborationDataLoaderController','getTypeOfUnitAdded$','assign','CHANGESET_REVISION_CONFILICT','onPointerMove$','EffectRefRangId','@univerjs/engine-render','WebSocketService','setAlpha','function','_cachedData','then','result','@univerjs/sheets-ui','switchMap','fromEvent','unshift','OffLineIcon','getActiveSheet','replace','_docTransformStateCacheService','http://www.w3.org/2000/svg','collab-text-range-','url(#off-line-icon_clip0_910_343)','string','ACTIVE_UNIT_EVENT_CHANNEL','_name','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','fillRule','CONNECTOR_DATA_TOO_LARGE','ONLINE','cursorInfo$','getDocRanges','UniverDesign','DeleteRangeMoveUpCommandId','ticket','currentSkeleton$','_updateLocalCursor','@univerjs/drawing','getMember','LOGIN_FAILED','handleIRemoveRow','mapTo','clearInterval','_docSyncEditingCollabCursorService','_cursorShapes','propertyIsEnumerable','IRenderManagerService','Module','YUUMI_SUBSCRIPTION_NOT_FOUND','ICommandService','UniverCollaborationClientUIPlugin','runRefRangeMutations','getConfig','_assignedColors','subscribe','FromArray','UNRECOGNIZED','SetWorksheetActivateCommand','JOIN_ROOM_FAILED','dispose','CollaborationSessionService','WECHAT_HAS_BEEN_BOUND','createElement','fill','bottom','WebURLService','_onCursorUpdate','_roomMembers$','Workbook','Failed','SHEET_VIEWPORT_KEY','combineLatest','Shape','_cursor','Error','OFFLINE','concat','error','_id','syncEditingCollabCursor','pushState','colorChannel1','override','findNodePositionByCharIndex','deepClone','all','debounce','unitID','IImageIoService','collabStatus.synced','_commandService','children','SOCKET_FAILED_RETRY','isActive','PY_RUNTIME_SCRIPT_ERROR','_heartbeatTimer','SheetsSelectionsService','_refRangeService','_range','green.600','setItem','LocaleService','split','triggerDblclick','_logService','NOT_FOUND','getOwnPropertyDescriptor','_syncEditingCollabCursorService','isEditing','loadOfflineData','connectInjector','handleInsertRangeMoveRight','sheetId','_themeService','_docTransformIMECacheService','UniverUi','unload','values','_localeService','UNDEFINED','event$','dispose$','_saveCache','_initResize','Inject','post','Injector','next','_colorIndex','_localStorageService','entityInit$','prototype','IURLService','getCurrentSelections','2719440BNpZYX','_unitStatus','TRANSFORM_CHANGE_OBSERVABLE_TYPE','search','OTHER_CLIENTS_EDITING','rxjs/operators','_httpService','transformRemoteChangeset','forEach','@univerjs/design','SessionStatus','registerRenderModule','_notificationService','getCurrentUnitForType','_draw','off-line-icon','RemoteUniscriptService','replaceDocRanges','_colorAssignService','_startDocCollabCursor','height','OTHER_CLIENT_EDITING','@univerjs/ui','currentTheme$','getValue','includes','CollaborationUIEventId','479866AOyeEv','makeDirty','_transformUndoRedoStack','subscribeEvent','_collabCursorController','_context','_textBubble','_uiPartsService','redoState','startRow','startsWith','addObject','_status$','max','@univerjs/network','_initStatusListener','setParam','YUUMI_NO_CUBOID_FOR_QUESTION','getSheetObject','MoveRangeCommandId','BuiltInUIPart','Rect','status$','show','handleDeleteRangeMoveLeft','createInstance','get','_session','_getSheetObject','_sheetSkeletonManagerService','InsertColCommandId','div','_getAnchorBounding','_toggleOffline','eventID','rgba(255,\x20255,\x20255,\x200.01)','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','xlink:href','beginPath','useDependency','generateRandomId','sessionTicket','_injector','throttleTime','_messageService','_clearOtherTimers','stringify','SetTextSelectionsOperation','_cursorInfo$','exports','whenReady','range','...','UniverProCollaboration','restore','Warning','APPLY_PERMISSION_DENIED','transformMutation','mutations','_beforeCloseService','NodePositionConvertToRectRange','transformIMECache','addHandlerCallback','_refreshCollabCursors','1em','@univerjs/rpc','getItem','UniverRpc','href','AWAITING','_docSkeleton','DesktopCollaborationStatusDisplayController','_lastPointer','getActiveRange','find','RxDisposable','_collabSessionService','object','getOffsetConfig','getColorFromTheme','_render','IDocClipboardService','_getMergeRange','assignAColorForMemberID','measureText','push','storage','_drawTextRange','Unknown\x20user','_startSheetCollabCursor','_collaborationUIEventService','transformMutationsWithChangeset','getCollabCursors$','UNIVER_DOC','collabStatus.conflict','tag','setActiveRange','location','text','0\x200\x2017\x2016','source','/run/','DOC_RANGE_TYPE','UnitStatus','getUnitId','runOnServer','FETCH_MISS','_univerInstanceService','UniverCore','toDisposable','_handleHeartbeatEvent','INotificationService','LICENSE_IMPORT_SIZE_EXCEEDED','defineProperty','add','hovered','textRanges','@univerjs-pro/collaboration','sheetID','_initStatusComponent','code','onRendered','saveImage','UPDATE_CURSOR','docStateChange$','size','color','params','round','_entities','getAncestorScale','UniverSheetsUi','memberID','Vector2','collaboration.closeRoom','translate(.97)','invokeId','_handleEvent','ENSURE_SNAPSHOT_EXECUTION','getSkeleton','getStateCache','toString','svg','_memberService','drawWith','shareReplay','DeleteRangeMoveLeftCommandId','_revisionService','getUnhiddenWorksheets','MUTATION','top','_collabCursorState$','ThemeService','pipe','collabStatus.fetchMiss','USER_NOT_INVITED_CODE','_getSessionTicket','3gyHAmD','LOCAL_CACHE_INTERVAL_KEY','defs','INTERNAL_ERROR','_init','getCurrent','YUUMI_ALL_TABLES_IS_INVALID','clipPath','jsx','Tools','UniverNetwork','TOO_MANY_REQUESTS','_registerDependencies','defIds','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','onTransformChange$','toStringTag','CollaborationStatusDisplay','_transformHistoryAndStateStack','onLocalMutation','flatMap','length','forwardRef','registerRefRange','mask','SUBMIT_CHANGESET_TIMEOUT','amd','arc','_getSaveTimeout','url(#$1','isArray','UniverEngineRender','isTransformMutationsWithChangesetSuccess','DocSkeletonManagerService','red.300','_toggleOnline','_labelPosition','SNAPSHOT_HAS_BEEN_REMOVED','UniverDocs','handleInsertRow','_instanceService','_initEvent','setUndoRedoMutationParamsCache','UNAUTHENTICATED','ILogService','APPLY_NON_SEQUENTIAL_REVISION','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','idSuffix','_onRefRangeChange','fillStyle','_saveTaskMap','saveTaskMap','APPLY_REVISION_CONFILICT','_setupBeforeClosingHandler','init','@univerjs/docs','has','column','_drawAnchor','InsertRangeMoveDownCommandId','createSocket','@univerjs-pro/collaboration-client','replaceState','2845395PeLATl','RemoveColCommandId','black','_hideTimer','@univerjs/engine-formula','LICENSE_MAX_UNITS_EXCEEDED','COMPLETION_FINISHED','permission.title','icon','unsubscribe','application/json','filter','_updateCollabCursors','_drawRectRange','onMouseMove','_configService','getRenderById','_urlService','_docClipboardService','TEXT','_anchor','subunit','min','MessageType','INVITE_CODE_REQUIRED','_ensureSubject','_transformPreviousActiveRange','trim','INVITE_CODE_ALREADY_BOUND','UniverIcon','SNAPSHOT_INVALID_SNAPSHOT','indexOf','_removeCollabCursors','m2Prime','_entityInit$','touchDependencies','IUIPartsService','_cursors','createIdentifier','_backgroundColor','takeUntil','registerComponent','closePath','react/jsx-runtime','getLocalCacheKey','DocIMEInputManagerService','row','_createSocketURL','_initDependencies','_initEntityListener','IUniverInstanceService','updateOfflineData','COLORS','on-line-icon','getRangePointData','rxjs','setTimeout','_scheduleHeartbeat','getColor','_selfUnitIDs','CollaborationUIEventService','Tooltip','history','_getScale','_anchorDot','YUUMI_UNABLE_LOAD_URL','entries','UniverCollaborationClientPlugin','useRef','send','MemberService','data','urlChange$','_online','_handleHover','_document','currentColor','LICENSE_DISTRO_REJECTED','map','APPLY_REJECT','@univerjs/sheets','hasOwnProperty','_transformService','_updateURLWithCurrentState','APPLY_DUPLICATED','transformSelections','univerjs-icon\x20univerjs-icon-','MOBILE_HAS_BEEN_BOUND','requireSession','getUnitStatus$','_eventUnsubscribe','_renderManagerService','unit','YUUMI_RATE_OVER_LIMIT','_docTransformSelectionsService','delete','_localCacheService','BehaviorSubject','getUniverSheetInstance','INVALID_ARGUMENT','getCollabEntity$','executionId','loadUnit','_hover','_onCursorDelete','_scene','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','current','contains','handleInsertRangeMoveDown','popstate','pluginName','TEXT_RANGE_LAYER_INDEX','exhaustSavingTask','react','SetDocZoomRatioOperation','LICENSE_EXPORT_SIZE_EXCEEDED','roomMembers','ITransformService','some','setInterval','addObjects','removeParam','CollaborationController','focused$','setConfig','_color','fillText','CONFLICT','lineTo','CollaborationEvent','reconnect','endRow','4535608NYUwoM','resize','with','jsxs','getSheetBySheetId','_hovered','complete','session.will-retry','_updateSubUnitFromURLParams','useObservable','onPointerEnter$','m1Prime','UniverInstanceType','disposeWithMe','registerBeforeClose','collabCursorState$','wsSessionTicketUrl','cursorInfo','body','YUUMI_AI_RUN_FAILED','Subject','ISocketService','apply','actions','_config','YUUMI_URL_COL_OUT_OF_RANGE','getSheetId','_initCommandExecutedListener','clsx','name','_docSkeletonManagerService','_setupSubUnitSync','width','attrs','CommandType','_send','doc.mutation.rich-text-editing','font','RefRangeService','type','[CollaborationDataLoaderController]','_scheduleClearOtherTimer','onPointerLeave$'];_0x4d59=function(){return _0x39329b;};return _0x4d59();}function _0x56ac(_0x5584e4,_0x45e95f){const _0x4d59c2=_0x4d59();return _0x56ac=function(_0x56acaf,_0x294214){_0x56acaf=_0x56acaf-0x8c;let _0x5f3e63=_0x4d59c2[_0x56acaf];return _0x5f3e63;},_0x56ac(_0x5584e4,_0x45e95f);}(function(_0x29b320,_0x1354ff){const _0x24fb51=_0x56ac,_0x596227=_0x29b320();while(!![]){try{const _0x1278b7=parseInt(_0x24fb51(0x9e))/0x1*(-parseInt(_0x24fb51(0x2a4))/0x2)+-parseInt(_0x24fb51(0x289))/0x3+parseInt(_0x24fb51(0x162))/0x4+-parseInt(_0x24fb51(0x192))/0x5*(-parseInt(_0x24fb51(0x190))/0x6)+-parseInt(_0x24fb51(0xdd))/0x7+parseInt(_0x24fb51(0x1ae))/0x8+parseInt(_0x24fb51(0x1dd))/0x9;if(_0x1278b7===_0x1354ff)break;else _0x596227['push'](_0x596227['shift']());}catch(_0x37744f){_0x596227['push'](_0x596227['shift']());}}}(_0x4d59,0xea628),function(_0x213f89,_0x1f5b09){const _0x206a82=_0x56ac;typeof exports==_0x206a82(0x2f1)&&typeof module<'u'?_0x1f5b09(exports,require(_0x206a82(0xdb)),require(_0x206a82(0x1f8)),require(_0x206a82(0x208)),require('@univerjs/network'),require(_0x206a82(0x1da)),require(_0x206a82(0x228)),require('rxjs'),require(_0x206a82(0xd5)),require(_0x206a82(0x319)),require(_0x206a82(0xe1)),require(_0x206a82(0x12d)),require(_0x206a82(0x28e)),require(_0x206a82(0x20f)),require('react/jsx-runtime'),require(_0x206a82(0x29f)),require(_0x206a82(0x292)),require(_0x206a82(0x14f)),require(_0x206a82(0x2e5))):typeof define==_0x206a82(0x20b)&&define[_0x206a82(0xb8)]?define([_0x206a82(0x2d5),'@univerjs-pro/collaboration-client',_0x206a82(0x1f8),_0x206a82(0x208),_0x206a82(0x2b2),_0x206a82(0x1da),_0x206a82(0x228),_0x206a82(0x114),_0x206a82(0xd5),_0x206a82(0x319),_0x206a82(0xe1),_0x206a82(0x12d),_0x206a82(0x28e),'@univerjs/sheets-ui',_0x206a82(0x108),_0x206a82(0x29f),'@univerjs/design',_0x206a82(0x14f),'@univerjs/rpc'],_0x1f5b09):(_0x213f89=typeof globalThis<'u'?globalThis:_0x213f89||self,_0x1f5b09(_0x213f89[_0x206a82(0x1ed)]={},_0x213f89[_0x206a82(0x19a)],_0x213f89[_0x206a82(0x310)],_0x213f89[_0x206a82(0xbd)],_0x213f89[_0x206a82(0xa8)],_0x213f89['UniverDocsUi'],_0x213f89[_0x206a82(0x1d7)],_0x213f89[_0x206a82(0x114)],_0x213f89[_0x206a82(0xc4)],_0x213f89[_0x206a82(0x2d9)],_0x213f89['UniverEngineFormula'],_0x213f89['UniverSheets'],_0x213f89[_0x206a82(0x114)][_0x206a82(0x1e0)],_0x213f89[_0x206a82(0x327)],_0x213f89[_0x206a82(0x1e9)],_0x213f89[_0x206a82(0x276)],_0x213f89[_0x206a82(0x223)],_0x213f89[_0x206a82(0x1e9)],_0x213f89[_0x206a82(0x2e7)]));}(this,function(_0x2bf47a,_0x56139f,_0x5cc899,_0xa3a2fa,_0x225722,_0x45cbcb,_0x3e221e,_0x16a76f,_0xcf3dad,_0x158f44,_0x427481,_0x156504,_0x4faa9f,_0x19b11c,_0x73eb1b,_0x218fbf,_0x3b992f,_0x4d5c38,_0x2a95b8){'use strict';const _0x3a3b32=_0x56ac;var _0x25f7fc=Object[_0x3a3b32(0x315)],_0x51c7d6=(_0x66b49,_0x2bcf98,_0x5c07bc)=>_0x2bcf98 in _0x66b49?_0x25f7fc(_0x66b49,_0x2bcf98,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5c07bc}):_0x66b49[_0x2bcf98]=_0x5c07bc,_0x40a5a2=(_0x38d55d,_0x30aede,_0x318027)=>_0x51c7d6(_0x38d55d,typeof _0x30aede!='symbol'?_0x30aede+'':_0x30aede,_0x318027),_0x1491e8=Object[_0x3a3b32(0x26d)],_0x5dd51a=(_0x433577,_0x433cca,_0x1c8e32,_0x2e1053)=>{for(var _0x4e4176=_0x2e1053>0x1?void 0x0:_0x2e1053?_0x1491e8(_0x433cca,_0x1c8e32):_0x433cca,_0x1b9e0=_0x433577['length']-0x1,_0x4a49d9;_0x1b9e0>=0x0;_0x1b9e0--)(_0x4a49d9=_0x433577[_0x1b9e0])&&(_0x4e4176=_0x4a49d9(_0x4e4176)||_0x4e4176);return _0x4e4176;},_0x35c63a=(_0x4e5b0b,_0x4c8240)=>(_0x4030fa,_0x3cde91)=>_0x4c8240(_0x4030fa,_0x3cde91,_0x4e5b0b);let _0x51dd46=class extends _0x5cc899[_0x3a3b32(0x2ef)]{constructor(_0x113e87,_0x5aaac0){const _0x5f11ec=_0x3a3b32;super(),this[_0x5f11ec(0xef)]=_0x113e87,this[_0x5f11ec(0x1ab)]=_0x5aaac0,this[_0x5f11ec(0xa2)]();}[_0x3a3b32(0xa2)](){const _0x33eded=_0x3a3b32,_0x8b368c=this;this['disposeWithMe'](this[_0x33eded(0xef)]['addClipboardHook']({'onBeforePasteImage':async _0x37aae0=>{const _0x2628ab=_0x33eded,_0x346848=await _0x8b368c['_imageIoService'][_0x2628ab(0x31e)](_0x37aae0);return _0x346848?{'source':_0x346848[_0x2628ab(0x308)],'imageSourceType':_0x346848[_0x2628ab(0x1f9)]}:null;}}));}};_0x51dd46=_0x5dd51a([_0x35c63a(0x0,_0x45cbcb[_0x3a3b32(0x2f5)]),_0x35c63a(0x1,_0x3e221e[_0x3a3b32(0x25b)])],_0x51dd46);const _0x2a5316=['purple.300','jiqing.500',_0x3a3b32(0x266),_0x3a3b32(0xc0),_0x3a3b32(0x1b2),_0x3a3b32(0x1af)];class _0x138d33 extends _0x5cc899[_0x3a3b32(0x1b6)]{constructor(){const _0x2d0248=_0x3a3b32;super(...arguments),_0x40a5a2(this,_0x2d0248(0x238),new Map()),_0x40a5a2(this,_0x2d0248(0x283),0x0);}[_0x3a3b32(0x2f7)](_0x2cf0bb){const _0x47dc75=_0x3a3b32;if(this[_0x47dc75(0x238)][_0x47dc75(0xd6)](_0x2cf0bb))return this[_0x47dc75(0x238)]['get'](_0x2cf0bb);const _0x2610b6=_0x2a5316[this[_0x47dc75(0x283)]];return this['_colorIndex']=(this[_0x47dc75(0x283)]+0x1)%_0x2a5316[_0x47dc75(0xb3)],this[_0x47dc75(0x238)][_0x47dc75(0x194)](_0x2cf0bb,_0x2610b6),_0x2610b6;}}function _0x5cf42e(_0x21df44){let _0x515355='';for(const _0x1f6212 of _0x21df44){const {startOffset:_0x5b409b,endOffset:_0x3f5307,isActive:_0xc139ce,rangeType:_0x19c059,segmentId:_0x26e136,segmentPage:_0x38de58}=_0x1f6212;_0x515355['length']&&(_0x515355+=','),_0x515355+=_0x5b409b+':'+_0x3f5307+':'+(_0xc139ce?'1':'0')+':'+_0x19c059+':'+_0x26e136+':'+_0x38de58;}return _0x515355;}function _0x520bdb(_0x578c66){const _0x1b664e=_0x3a3b32,_0x1a24ae=_0x578c66['split'](','),_0x30df50=[];for(const _0x2bde33 of _0x1a24ae){const [_0x43a5e8,_0x463e95,_0x294551,_0x400b11,_0x59ce52,_0x47d2a2]=_0x2bde33[_0x1b664e(0x269)](':');_0x30df50[_0x1b664e(0x2f9)]({'startOffset':Number(_0x43a5e8),'endOffset':Number(_0x463e95),'collapsed':_0x43a5e8===_0x463e95,'isActive':_0x294551==='1','rangeType':_0x400b11===_0x5cc899[_0x1b664e(0x30a)][_0x1b664e(0xf0)]?_0x5cc899[_0x1b664e(0x30a)][_0x1b664e(0xf0)]:_0x5cc899['DOC_RANGE_TYPE']['RECT'],'segmentId':typeof _0x59ce52==_0x1b664e(0x21a)?String(_0x59ce52):'','segmentPage':Number(_0x47d2a2!=null?_0x47d2a2:-0x1)});}return _0x30df50[_0x1b664e(0x154)](_0x392f4d=>_0x392f4d[_0x1b664e(0x260)])||(_0x30df50[0x0][_0x1b664e(0x260)]=!0x0),_0x30df50;}class _0x4fe24f extends _0x5cc899[_0x3a3b32(0x2ef)]{constructor(){const _0x350c13=_0x3a3b32;super(...arguments),_0x40a5a2(this,_0x350c13(0x98),new _0x16a76f['BehaviorSubject'](null)),_0x40a5a2(this,_0x350c13(0x171),this[_0x350c13(0x98)]['asObservable']());}[_0x3a3b32(0x252)](_0x152f96){const _0x593ed7=_0x3a3b32,{unitID:_0x116818,memberID:_0x176860,textRanges:_0x48e4b8}=_0x152f96,_0x119ccc=_0x5cf42e(_0x48e4b8);if(_0x119ccc==='')return;const _0x35f63b={'unitID':_0x116818,'memberID':_0x176860,'selection':_0x119ccc};this[_0x593ed7(0x98)][_0x593ed7(0x282)](_0x35f63b);}}var _0x3acac5=Object[_0x3a3b32(0x26d)],_0x5d3c1c=(_0x34b7cd,_0x3d8e1f,_0x4628db,_0xc8ed6a)=>{const _0x45f970=_0x3a3b32;for(var _0x2a480b=_0xc8ed6a>0x1?void 0x0:_0xc8ed6a?_0x3acac5(_0x3d8e1f,_0x4628db):_0x3d8e1f,_0x16f54f=_0x34b7cd[_0x45f970(0xb3)]-0x1,_0x2a2e1a;_0x16f54f>=0x0;_0x16f54f--)(_0x2a2e1a=_0x34b7cd[_0x16f54f])&&(_0x2a480b=_0x2a2e1a(_0x2a480b)||_0x2a480b);return _0x2a480b;},_0x1d6ef5=(_0xffda4e,_0x51e688)=>(_0x31b225,_0x435223)=>_0x51e688(_0x31b225,_0x435223,_0xffda4e);const _0x2d38ce=0x12c,_0x36547e=0x64;let _0x3cd518=class extends _0x5cc899[_0x3a3b32(0x2ef)]{constructor(_0x130fd1,_0x599bc3,_0x1697ad,_0x10a205,_0x25a9c7,_0x261227,_0x33517e,_0x14c742,_0x47d55a){const _0x13332e=_0x3a3b32;super(),_0x40a5a2(this,_0x13332e(0x126),!0x1),_0x40a5a2(this,_0x13332e(0xa2),!0x1),_0x40a5a2(this,_0x13332e(0x2d4),new _0x16a76f[(_0x13332e(0x13e))](new Map())),_0x40a5a2(this,_0x13332e(0x221),this[_0x13332e(0x2d4)][_0x13332e(0x1ff)]()),_0x40a5a2(this,_0x13332e(0x246),new _0x16a76f['BehaviorSubject']([])),_0x40a5a2(this,'roomMembers$',this[_0x13332e(0x246)]['pipe'](_0x16a76f[_0x13332e(0x1ac)](_0x2d38ce))),_0x40a5a2(this,_0x13332e(0x227),_0x5cc899[_0x13332e(0x259)](_0x9eb151=>{const _0x3e0242=_0x13332e,_0x3a6435={'eventID':_0x158f44['CollaborationEvent'][_0x3e0242(0x31f)],'data':{'unitID':this['unitID'],'memberID':this[_0x3e0242(0x2bf)]['getMemberID'](),'selection':_0x5cf42e(_0x9eb151)}};this[_0x3e0242(0x2bf)][_0x3e0242(0x122)](_0x3a6435,this[_0x3e0242(0x25a)]);},_0x36547e)),(this['unitID']=_0x130fd1,this[_0x13332e(0x2bf)]=_0x599bc3,this['_injector']=_0x1697ad,this[_0x13332e(0x29b)]=_0x10a205,this[_0x13332e(0x90)]=_0x25a9c7,this[_0x13332e(0x26e)]=_0x261227,this[_0x13332e(0x12f)]=_0x33517e,this[_0x13332e(0x30f)]=_0x14c742,this['_commandService']=_0x47d55a);}get['cursorInfo'](){const _0x5bfd9b=_0x3a3b32;return this['_cursorInfo$'][_0x5bfd9b(0x2a1)]();}get[_0x3a3b32(0x152)](){const _0x3f0fe0=_0x3a3b32;return this[_0x3f0fe0(0x246)][_0x3f0fe0(0x2a1)]();}[_0x3a3b32(0x23e)](){const _0x5451b6=_0x3a3b32;super[_0x5451b6(0x23e)](),this['_cursorInfo$'][_0x5451b6(0x282)](new Map()),this[_0x5451b6(0x2d4)][_0x5451b6(0x168)](),this[_0x5451b6(0x246)]['next']([]),this[_0x5451b6(0x246)][_0x5451b6(0x168)]();}[_0x3a3b32(0xd4)](){const _0x42ad01=_0x3a3b32;this[_0x42ad01(0xa2)]||(this[_0x42ad01(0xa2)]=!0x0,this[_0x42ad01(0x2bf)][_0x42ad01(0x1a2)][_0x42ad01(0x9a)](_0x16a76f[_0x42ad01(0x105)](this[_0x42ad01(0x27c)]))[_0x42ad01(0x239)](_0x49c8f6=>{const _0x43a65d=_0x42ad01;_0x49c8f6===_0x56139f[_0x43a65d(0x293)][_0x43a65d(0x220)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x42ad01(0x2bf)]['event$'][_0x42ad01(0x9a)](_0x16a76f[_0x42ad01(0x105)](this[_0x42ad01(0x27c)]))['subscribe'](_0x249d56=>{const _0x1da527=_0x42ad01,_0x3ee990=_0x249d56[_0x1da527(0x2c6)];_0x3ee990===_0x158f44[_0x1da527(0x15f)][_0x1da527(0x31f)]&&this[_0x1da527(0x245)](_0x249d56),_0x3ee990===_0x158f44[_0x1da527(0x15f)]['USERS_LEAVE']&&this[_0x1da527(0x145)](_0x249d56);}),this[_0x42ad01(0x16f)](this[_0x42ad01(0x25d)]['onCommandExecuted'](_0x38b6b8=>{const _0x42b912=_0x42ad01,_0x239223=_0x38b6b8['params'];_0x239223!=null&&this['_online']&&_0x38b6b8['id']===_0xcf3dad[_0x42b912(0x2d3)]['id']&&_0x239223[_0x42b912(0x196)]===this[_0x42b912(0x25a)]&&_0x239223[_0x42b912(0x26f)]===!0x1&&_0x239223[_0x42b912(0x1ce)]['length']>0x0&&this['_updateLocalCursor'](_0x239223[_0x42b912(0x1ce)]);})),this['_syncEditingCollabCursorService'][_0x42ad01(0x171)][_0x42ad01(0x9a)](_0x16a76f[_0x42ad01(0x105)](this[_0x42ad01(0x27c)]))[_0x42ad01(0x239)](_0x6f5418=>{const _0x17c04a=_0x42ad01;if((_0x6f5418==null?void 0x0:_0x6f5418[_0x17c04a(0x25a)])!==this[_0x17c04a(0x25a)])return;const _0x32aa95={'eventID':_0x158f44['CollaborationEvent'][_0x17c04a(0x31f)],'data':_0x6f5418};this[_0x17c04a(0x245)](_0x32aa95);}),this[_0x42ad01(0x16f)](this['_commandService']['onCommandExecuted'](_0x4b0e2d=>{const _0x292f09=_0x42ad01;if(_0x4b0e2d['params']==null)return;const _0x1f357a=_0x4b0e2d[_0x292f09(0x323)];if(_0x4b0e2d['id']!==_0xcf3dad[_0x292f09(0x1a1)]['id']||_0x1f357a[_0x292f09(0x196)]!==this[_0x292f09(0x25a)])return;const _0x2fe3ff={'id':'doc.mutation.rich-text-editing','params':_0x1f357a},_0x1afdd8=this[_0x292f09(0x173)];for(const [_0x430b4c,_0x365d5]of _0x1afdd8){const _0x29b589={'id':_0x292f09(0x186),'params':{'unitId':this[_0x292f09(0x25a)],'actions':null,'textRanges':_0x365d5[_0x292f09(0x1ce)]}},_0x574634=this[_0x292f09(0x12f)][_0x292f09(0x2dd)](_0x2fe3ff,_0x29b589,!0x1);if(_0x158f44[_0x292f09(0x1d4)](_0x574634))throw _0x574634['error'];_0x1afdd8[_0x292f09(0x194)](_0x430b4c,{..._0x365d5,'ranges':_0x574634[_0x292f09(0xfe)][_0x292f09(0x323)][_0x292f09(0x318)]});}queueMicrotask(()=>{const _0x3ce807=_0x292f09;this[_0x3ce807(0x2d4)][_0x3ce807(0x282)](_0x1afdd8);});})));}[_0x3a3b32(0x245)](_0xf84683){const _0x1f2803=_0x3a3b32;var _0x21c43d,_0x1102de;const {memberID:_0x569406,selection:_0x4350c2}=_0xf84683[_0x1f2803(0x124)],_0x3968b2=_0x520bdb(_0x4350c2),_0x4e8573=(_0x1102de=(_0x21c43d=this[_0x1f2803(0x90)][_0x1f2803(0x229)](this[_0x1f2803(0x25a)],_0x569406))==null?void 0x0:_0x21c43d[_0x1f2803(0x17f)])!=null?_0x1102de:_0x1f2803(0x2fc),_0x13ed5b={'color':this[_0x1f2803(0x29b)][_0x1f2803(0x2f7)](_0x569406),'name':_0x4e8573,'ranges':_0x3968b2},_0xb2432d=this[_0x1f2803(0x173)];_0xb2432d['set'](_0x569406,_0x13ed5b),this[_0x1f2803(0x2d4)][_0x1f2803(0x282)](_0xb2432d);}[_0x3a3b32(0x145)](_0x19b6c0){const _0x5af7b1=_0x3a3b32,{memberID:_0x427132}=_0x19b6c0[_0x5af7b1(0x124)],_0x46697d=this[_0x5af7b1(0x173)];_0x46697d[_0x5af7b1(0x13c)](_0x427132),this['_cursorInfo$']['next'](_0x46697d);}[_0x3a3b32(0xc1)](){const _0x540c61=_0x3a3b32;var _0x3ce2b9;if(this[_0x540c61(0x126)]=!0x0,((_0x3ce2b9=this[_0x540c61(0x30f)][_0x540c61(0x1fe)]())==null?void 0x0:_0x3ce2b9[_0x540c61(0x30c)]())!==this[_0x540c61(0x25a)])return;const _0x25d179=this['_injector'][_0x540c61(0x2be)](_0xcf3dad['DocSelectionManagerService'])[_0x540c61(0x222)]();Array[_0x540c61(0xbc)](_0x25d179)&&_0x25d179['length']>0x0&&this['_updateLocalCursor'](_0x25d179);}[_0x3a3b32(0x2c5)](){const _0x32eb55=_0x3a3b32;this[_0x32eb55(0x126)]=!0x1;}};_0x3cd518=_0x5d3c1c([_0x1d6ef5(0x2,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899[_0x3a3b32(0x281)])),_0x1d6ef5(0x3,_0x5cc899[_0x3a3b32(0x27f)](_0x138d33)),_0x1d6ef5(0x4,_0x5cc899[_0x3a3b32(0x27f)](_0x56139f['MemberService'])),_0x1d6ef5(0x5,_0x5cc899[_0x3a3b32(0x27f)](_0x4fe24f)),_0x1d6ef5(0x6,_0x158f44[_0x3a3b32(0x153)]),_0x1d6ef5(0x7,_0x5cc899[_0x3a3b32(0x10f)]),_0x1d6ef5(0x8,_0x5cc899[_0x3a3b32(0x234)])],_0x3cd518);var _0x2bdf73=Object[_0x3a3b32(0x26d)],_0x18a5cc=(_0x3fce89,_0x5be657,_0x42bf0b,_0x24d279)=>{const _0x31c76a=_0x3a3b32;for(var _0xa49248=_0x24d279>0x1?void 0x0:_0x24d279?_0x2bdf73(_0x5be657,_0x42bf0b):_0x5be657,_0x5ad3b2=_0x3fce89[_0x31c76a(0xb3)]-0x1,_0x211414;_0x5ad3b2>=0x0;_0x5ad3b2--)(_0x211414=_0x3fce89[_0x5ad3b2])&&(_0xa49248=_0x211414(_0xa49248)||_0xa49248);return _0xa49248;},_0x47ac2d=(_0x17ce02,_0x8e67c2)=>(_0x2465ba,_0x9f3a8c)=>_0x8e67c2(_0x2465ba,_0x9f3a8c,_0x17ce02);const _0x53b7f9=0x12c,_0xea6a1d=0x64,_0x131beb=()=>{let _0x434d36=[],_0x481ecc=!0x1;return _0x54dbfd=>{const _0x10895e=_0x56ac;_0x434d36[_0x10895e(0x2f9)](_0x54dbfd),_0x481ecc||(_0x481ecc=!0x0,setTimeout(()=>{const _0x4ca234=_0x10895e;_0x434d36[_0x4ca234(0x291)](_0x5bed6c=>_0x5bed6c()),_0x434d36=[],_0x481ecc=!0x1;}));};};let _0x2074c6=class extends _0x5cc899['RxDisposable']{constructor(_0x7cd426,_0x4e621f,_0xff91c2,_0x2995c5,_0x5ae717,_0xf75632,_0x3b157c,_0x2dbf39){const _0x37ff39=_0x3a3b32;super(),_0x40a5a2(this,'_online',!0x1),_0x40a5a2(this,'_init',!0x1),_0x40a5a2(this,_0x37ff39(0x2d4),new _0x16a76f['BehaviorSubject'](new Map())),_0x40a5a2(this,_0x37ff39(0x221),this[_0x37ff39(0x2d4)][_0x37ff39(0x1ff)]()),_0x40a5a2(this,_0x37ff39(0x246),new _0x16a76f[(_0x37ff39(0x13e))]([])),_0x40a5a2(this,'roomMembers$',this[_0x37ff39(0x246)]['pipe'](_0x16a76f[_0x37ff39(0x1ac)](_0x53b7f9))),_0x40a5a2(this,_0x37ff39(0x227),_0x5cc899[_0x37ff39(0x259)]((_0x57e2fe,_0x2cb8bf)=>{const _0x40b5db=_0x37ff39,_0x5909bb={'eventID':_0x158f44['CollaborationEvent'][_0x40b5db(0x31f)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x427481['serializeRangeWithSheet'](_0x57e2fe,_0x2cb8bf['range'])}};this[_0x40b5db(0x2bf)][_0x40b5db(0x122)](_0x5909bb,this[_0x40b5db(0x25a)]);},_0xea6a1d)),(this[_0x37ff39(0x25a)]=_0x7cd426,this[_0x37ff39(0x2bf)]=_0x4e621f,this[_0x37ff39(0x2ce)]=_0xff91c2,this[_0x37ff39(0x29b)]=_0x2995c5,this[_0x37ff39(0x90)]=_0x5ae717,this[_0x37ff39(0x30f)]=_0xf75632,this['_commandService']=_0x3b157c,this[_0x37ff39(0x264)]=_0x2dbf39);}get[_0x3a3b32(0x173)](){const _0x4b7106=_0x3a3b32;return this[_0x4b7106(0x2d4)][_0x4b7106(0x2a1)]();}get[_0x3a3b32(0x152)](){return this['_roomMembers$']['getValue']();}[_0x3a3b32(0x23e)](){const _0x45ca18=_0x3a3b32;super['dispose'](),this[_0x45ca18(0x2d4)][_0x45ca18(0x282)](new Map()),this[_0x45ca18(0x2d4)][_0x45ca18(0x168)](),this[_0x45ca18(0x246)]['next']([]),this[_0x45ca18(0x246)]['complete']();}[_0x3a3b32(0xd4)](){const _0x2ead02=_0x3a3b32;this['_init']||(this[_0x2ead02(0xa2)]=!0x0,this[_0x2ead02(0x2bf)][_0x2ead02(0x1a2)][_0x2ead02(0x9a)](_0x16a76f[_0x2ead02(0x105)](this[_0x2ead02(0x27c)]))[_0x2ead02(0x239)](_0x103718=>{const _0x1ee92b=_0x2ead02;_0x103718===_0x56139f['SessionStatus'][_0x1ee92b(0x220)]?this[_0x1ee92b(0xc1)]():this['_toggleOffline']();}),this[_0x2ead02(0x2bf)][_0x2ead02(0x27b)][_0x2ead02(0x9a)](_0x16a76f[_0x2ead02(0x105)](this[_0x2ead02(0x27c)]))[_0x2ead02(0x239)](_0x3c0197=>{const _0x49d389=_0x2ead02,_0x2c7923=_0x3c0197['eventID'];_0x2c7923===_0x158f44['CollaborationEvent'][_0x49d389(0x31f)]&&this[_0x49d389(0x245)](_0x3c0197),_0x2c7923===_0x158f44['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x3c0197);}),this[_0x2ead02(0xce)](),this[_0x2ead02(0x16f)](this[_0x2ead02(0x25d)][_0x2ead02(0x1b1)](_0x2fe1e9=>{const _0x4e9cfe=_0x2ead02;if(this[_0x4e9cfe(0x126)]&&_0x2fe1e9['id']===_0x156504['SetSelectionsOperation']['id']&&_0x2fe1e9[_0x4e9cfe(0x323)]['unitId']===this['unitID']){const _0x249d1f=_0x2fe1e9[_0x4e9cfe(0x323)];this[_0x4e9cfe(0x227)](_0x249d1f[_0x4e9cfe(0x1eb)],_0x249d1f['selections'][0x0]);}})));}['_onCursorUpdate'](_0x2d72cb){const _0x5c2ea5=_0x3a3b32;var _0x5404f0,_0x3d5c53;const {memberID:_0xc76547,selection:_0x5caf75}=_0x2d72cb[_0x5c2ea5(0x124)],{sheetName:_0x2c974c,range:_0x501c19}=_0x427481[_0x5c2ea5(0x1d6)](_0x5caf75),_0x1e06ef={'name':(_0x3d5c53=(_0x5404f0=this[_0x5c2ea5(0x90)][_0x5c2ea5(0x229)](this[_0x5c2ea5(0x25a)],_0xc76547))==null?void 0x0:_0x5404f0[_0x5c2ea5(0x17f)])!=null?_0x3d5c53:_0x5c2ea5(0x2fc),'range':this[_0x5c2ea5(0x2f6)](_0x2c974c,_0x501c19),'sheetID':_0x2c974c,'color':this[_0x5c2ea5(0x29b)]['assignAColorForMemberID'](_0xc76547),'selection':_0x5caf75},_0x45642c=this[_0x5c2ea5(0x173)];_0x45642c[_0x5c2ea5(0x194)](_0xc76547,_0x1e06ef),this[_0x5c2ea5(0x2d4)][_0x5c2ea5(0x282)](_0x45642c);}[_0x3a3b32(0x145)](_0x9f9654){const _0x4854d6=_0x3a3b32,{memberID:_0x2bad56}=_0x9f9654[_0x4854d6(0x124)],_0x14aa9a=this[_0x4854d6(0x173)];_0x14aa9a[_0x4854d6(0x13c)](_0x2bad56),this['_cursorInfo$'][_0x4854d6(0x282)](_0x14aa9a);}[_0x3a3b32(0x2f6)](_0x3c0894,_0x573bf1){const _0x1494de=_0x3a3b32;var _0x50d761,_0x165b4e;const _0x4e98f7=(_0x165b4e=(_0x50d761=this[_0x1494de(0x30f)][_0x1494de(0x13f)](this['unitID']))==null?void 0x0:_0x50d761['getSheetBySheetId'](_0x3c0894))==null?void 0x0:_0x165b4e['getMergeData']();return(_0x4e98f7==null?void 0x0:_0x4e98f7[_0x1494de(0x2ee)](_0x349db5=>_0x5cc899[_0x1494de(0x1fc)][_0x1494de(0x149)](_0x349db5,_0x573bf1)))||_0x573bf1;}['_onRefRangeChange'](){const _0x355c06=_0x3a3b32,_0x1c1916=new _0x5cc899['DisposableCollection'](),_0x40421f=_0x131beb(),_0x44de8a=()=>{const _0x464b89=_0x56ac;_0x1c1916[_0x464b89(0x23e)]();const _0x36fa00=(_0x8c0017,_0x490468,_0x24342f,_0x4dd02e)=>{const _0x6eec94=_0x464b89;let _0x41f265=[];switch(_0x8c0017['id']){case _0x156504['EffectRefRangId'][_0x6eec94(0x93)]:{_0x41f265=_0x156504[_0x6eec94(0x2bc)](_0x8c0017,_0x4dd02e);break;}case _0x156504[_0x6eec94(0x207)][_0x6eec94(0x224)]:{_0x41f265=_0x156504[_0x6eec94(0x1f0)](_0x8c0017,_0x4dd02e);break;}case _0x156504[_0x6eec94(0x207)][_0x6eec94(0x2c2)]:{_0x41f265=_0x156504['handleInsertCol'](_0x8c0017,_0x4dd02e);break;}case _0x156504['EffectRefRangId'][_0x6eec94(0xd9)]:{_0x41f265=_0x156504[_0x6eec94(0x14a)](_0x8c0017,_0x4dd02e);break;}case _0x156504['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x41f265=_0x156504[_0x6eec94(0x272)](_0x8c0017,_0x4dd02e);break;}case _0x156504[_0x6eec94(0x207)][_0x6eec94(0x1bb)]:{_0x41f265=_0x156504[_0x6eec94(0xc5)](_0x8c0017,_0x4dd02e);break;}case _0x156504[_0x6eec94(0x207)][_0x6eec94(0x2b7)]:{_0x41f265=_0x156504['handleMoveRange'](_0x8c0017,_0x4dd02e);break;}case _0x156504[_0x6eec94(0x207)][_0x6eec94(0xde)]:{_0x41f265=_0x156504['handleIRemoveCol'](_0x8c0017,_0x4dd02e);break;}case _0x156504['EffectRefRangId'][_0x6eec94(0x1bc)]:{_0x41f265=_0x156504[_0x6eec94(0x22b)](_0x8c0017,_0x4dd02e);break;}}const _0x3e5337=_0x156504[_0x6eec94(0x236)](_0x41f265,_0x4dd02e),_0x10ab75=this[_0x6eec94(0x173)][_0x6eec94(0x2be)](_0x490468);if(_0x10ab75&&_0x3e5337){const _0x2a46df={..._0x10ab75,'range':_0x3e5337};this[_0x6eec94(0x173)]['set'](_0x490468,_0x2a46df),_0x40421f(()=>{const _0x14d11c=_0x6eec94,_0x4f8ed1=this['_refRangeService']['registerRefRange'](_0x3e5337,_0x102fda=>(_0x4f8ed1[_0x14d11c(0x23e)](),_0x36fa00(_0x102fda,_0x490468,_0x24342f,_0x3e5337)));_0x1c1916[_0x14d11c(0x316)](_0x4f8ed1);});}return{'redos':[],'undos':[]};};this[_0x464b89(0x173)]['forEach']((_0x193c46,_0x46d42d)=>{const _0x156e5b=_0x464b89,{range:_0x470b0e,sheetID:_0x53d500}=_0x193c46,_0x3f6b18=this[_0x156e5b(0x264)][_0x156e5b(0xb5)](_0x470b0e,_0x2a7dbb=>(_0x3f6b18[_0x156e5b(0x23e)](),_0x36fa00(_0x2a7dbb,_0x46d42d,_0x53d500,_0x470b0e)));_0x1c1916[_0x156e5b(0x316)](_0x3f6b18);});};this[_0x355c06(0x16f)](_0x5cc899[_0x355c06(0x311)](this[_0x355c06(0x2d4)][_0x355c06(0x239)](()=>{_0x44de8a();})));}[_0x3a3b32(0xc1)](){const _0x38bab1=_0x3a3b32;var _0x14f86f,_0x2aa020;if(this[_0x38bab1(0x126)]=!0x0,((_0x14f86f=this[_0x38bab1(0x30f)][_0x38bab1(0x1fe)]())==null?void 0x0:_0x14f86f[_0x38bab1(0x30c)]())!==this[_0x38bab1(0x25a)])return;const _0x4bc9ef=(_0x2aa020=this[_0x38bab1(0x2ce)][_0x38bab1(0x2be)](_0x156504[_0x38bab1(0x263)])[_0x38bab1(0x288)]())==null?void 0x0:_0x2aa020[0x0],_0x260472=this[_0x38bab1(0x30f)][_0x38bab1(0x296)](_0x5cc899['UniverInstanceType']['UNIVER_SHEET'])[_0x38bab1(0x214)]();_0x4bc9ef&&_0x260472&&this[_0x38bab1(0x227)](_0x260472['getSheetId'](),_0x4bc9ef);}['_toggleOffline'](){const _0x14c199=_0x3a3b32;this[_0x14c199(0x126)]=!0x1;}};_0x2074c6=_0x18a5cc([_0x47ac2d(0x2,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899['Injector'])),_0x47ac2d(0x3,_0x5cc899[_0x3a3b32(0x27f)](_0x138d33)),_0x47ac2d(0x4,_0x5cc899[_0x3a3b32(0x27f)](_0x56139f[_0x3a3b32(0x123)])),_0x47ac2d(0x5,_0x5cc899[_0x3a3b32(0x10f)]),_0x47ac2d(0x6,_0x5cc899[_0x3a3b32(0x234)]),_0x47ac2d(0x7,_0x5cc899[_0x3a3b32(0x27f)](_0x156504[_0x3a3b32(0x188)]))],_0x2074c6);var _0x1d39ad=Object[_0x3a3b32(0x26d)],_0x52e77b=(_0x4da442,_0x2a410d,_0x54030f,_0x498470)=>{const _0x4f72a5=_0x3a3b32;for(var _0x157837=_0x498470>0x1?void 0x0:_0x498470?_0x1d39ad(_0x2a410d,_0x54030f):_0x2a410d,_0x4fdb8d=_0x4da442[_0x4f72a5(0xb3)]-0x1,_0x5ab35d;_0x4fdb8d>=0x0;_0x4fdb8d--)(_0x5ab35d=_0x4da442[_0x4fdb8d])&&(_0x157837=_0x5ab35d(_0x157837)||_0x157837);return _0x157837;},_0x3548fa=(_0x2a9c47,_0x1111f9)=>(_0x3717ea,_0x568cfd)=>_0x1111f9(_0x3717ea,_0x568cfd,_0x2a9c47);let _0x6e1b81=class extends _0x5cc899['RxDisposable']{constructor(_0x465d70,_0x14afa2,_0x319238){const _0x36437d=_0x3a3b32;super(),_0x40a5a2(this,_0x36437d(0x325),new Map()),_0x40a5a2(this,_0x36437d(0xff),new _0x16a76f[(_0x36437d(0x176))]()),(this['_univerInstanceService']=_0x465d70,this[_0x36437d(0x2ce)]=_0x14afa2,this[_0x36437d(0x2f0)]=_0x319238,this[_0x36437d(0xa2)]());}[_0x3a3b32(0x23e)](){const _0x4cda06=_0x3a3b32;super[_0x4cda06(0x23e)](),this[_0x4cda06(0xff)][_0x4cda06(0x168)](),this[_0x4cda06(0x325)]['forEach'](_0x574f25=>_0x574f25['dispose']());}[_0x3a3b32(0x300)](_0x3970eb){const _0x45ab7a=_0x3a3b32;return this['_entities'][_0x45ab7a(0xd6)](_0x3970eb)?this[_0x45ab7a(0x325)][_0x45ab7a(0x2be)](_0x3970eb)[_0x45ab7a(0x221)]:this[_0x45ab7a(0xff)][_0x45ab7a(0x9a)](_0x16a76f[_0x45ab7a(0xe8)](_0x1d7fcd=>_0x1d7fcd[_0x45ab7a(0x25a)]===_0x3970eb),_0x16a76f[_0x45ab7a(0x210)](_0x84433=>_0x84433[_0x45ab7a(0x221)]));}[_0x3a3b32(0xa2)](){const _0x3e2fc6=_0x3a3b32;this[_0x3e2fc6(0x30f)][_0x3e2fc6(0x203)](_0x5cc899[_0x3e2fc6(0x16e)][_0x3e2fc6(0x1d3)])[_0x3e2fc6(0x9a)](_0x16a76f['takeUntil'](this[_0x3e2fc6(0x27c)]))[_0x3e2fc6(0x239)](async _0x2d609b=>{const _0x383210=_0x3e2fc6,_0x206bb2=_0x2d609b[_0x383210(0x30c)](),_0x326fb5=await this[_0x383210(0x2fd)](_0x206bb2);this[_0x383210(0xff)]['next'](_0x326fb5),this[_0x383210(0x325)][_0x383210(0x194)](_0x206bb2,_0x326fb5);}),this[_0x3e2fc6(0x30f)][_0x3e2fc6(0x203)](_0x5cc899[_0x3e2fc6(0x16e)]['UNIVER_DOC'])[_0x3e2fc6(0x9a)](_0x16a76f['takeUntil'](this[_0x3e2fc6(0x27c)]))[_0x3e2fc6(0x9a)](_0x16a76f[_0x3e2fc6(0xe8)](_0x1613cf=>!_0x1613cf['getUnitId']()[_0x3e2fc6(0x2ae)]('__')))[_0x3e2fc6(0x239)](async _0x3b2ebc=>{const _0x185808=_0x3e2fc6,_0x9de830=_0x3b2ebc[_0x185808(0x30c)](),_0x5e3aae=await this[_0x185808(0x29c)](_0x9de830);this[_0x185808(0xff)][_0x185808(0x282)](_0x5e3aae),this['_entities']['set'](_0x9de830,_0x5e3aae);}),_0x16a76f['merge'](this[_0x3e2fc6(0x30f)][_0x3e2fc6(0x191)](_0x5cc899[_0x3e2fc6(0x16e)][_0x3e2fc6(0x301)]),this[_0x3e2fc6(0x30f)][_0x3e2fc6(0x191)](_0x5cc899['UniverInstanceType'][_0x3e2fc6(0x1d3)]))[_0x3e2fc6(0x9a)](_0x16a76f[_0x3e2fc6(0x105)](this[_0x3e2fc6(0x27c)]))[_0x3e2fc6(0x239)](_0x3757fe=>{const _0x4b1e3f=_0x3e2fc6,_0x4f6270=_0x3757fe[_0x4b1e3f(0x30c)](),_0x461c26=this[_0x4b1e3f(0x325)][_0x4b1e3f(0x2be)](_0x4f6270);_0x461c26&&(_0x461c26[_0x4b1e3f(0x23e)](),this[_0x4b1e3f(0x325)][_0x4b1e3f(0x13c)](_0x4f6270));});}async[_0x3a3b32(0x2fd)](_0x21bde4){const _0x417f41=_0x3a3b32,_0xbbe60b=await this[_0x417f41(0x2f0)][_0x417f41(0x135)](_0x21bde4),_0x603ad8=this[_0x417f41(0x2ce)][_0x417f41(0x2bd)](_0x2074c6,_0x21bde4,_0xbbe60b);return _0x603ad8[_0x417f41(0xd4)](),_0x603ad8;}async['_startDocCollabCursor'](_0x4c8ab5){const _0x4cd64e=_0x3a3b32,_0x3fffcb=await this['_collabSessionService'][_0x4cd64e(0x135)](_0x4c8ab5),_0xaaf53c=this['_injector'][_0x4cd64e(0x2bd)](_0x3cd518,_0x4c8ab5,_0x3fffcb);return _0xaaf53c[_0x4cd64e(0xd4)](),_0xaaf53c;}};_0x6e1b81=_0x52e77b([_0x3548fa(0x0,_0x5cc899[_0x3a3b32(0x10f)]),_0x3548fa(0x1,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899[_0x3a3b32(0x281)])),_0x3548fa(0x2,_0x5cc899[_0x3a3b32(0x27f)](_0x56139f[_0x3a3b32(0x23f)]))],_0x6e1b81);const _0x12924c=0x14,_0x17f9d8=0xc8,_0x1f84c0=0x4,_0x30bc6f=0x5;function _0x9b6f3f(_0x4cac28,_0x4e4dcc){const _0x468bf4=_0x3a3b32;let {radius:_0x1dad9d,width:_0x5e8bce,height:_0x8973f6}=_0x4e4dcc;_0x1dad9d=_0x1dad9d!=null?_0x1dad9d:0x0,_0x5e8bce=_0x5e8bce!=null?_0x5e8bce:0x1e,_0x8973f6=_0x8973f6!=null?_0x8973f6:0x1e;let _0x25afdb=0x0,_0x3e8a56=0x0,_0x4d1d89=0x0;_0x25afdb=_0x3e8a56=_0x4d1d89=Math[_0x468bf4(0xf3)](_0x1dad9d,_0x5e8bce/0x2,_0x8973f6/0x2),_0x4cac28[_0x468bf4(0x2ca)](),_0x4cac28['moveTo'](_0x25afdb,0x0),_0x4cac28[_0x468bf4(0x15e)](_0x5e8bce-_0x3e8a56,0x0),_0x4cac28[_0x468bf4(0xb9)](_0x5e8bce-_0x3e8a56,_0x3e8a56,_0x3e8a56,Math['PI']*0x3/0x2,0x0,!0x1),_0x4cac28[_0x468bf4(0x15e)](_0x5e8bce,_0x8973f6-_0x4d1d89),_0x4cac28[_0x468bf4(0xb9)](_0x5e8bce-_0x4d1d89,_0x8973f6-_0x4d1d89,_0x4d1d89,0x0,Math['PI']/0x2,!0x1),_0x4cac28[_0x468bf4(0x15e)](0x0,_0x8973f6),_0x4cac28[_0x468bf4(0x15e)](0x0,_0x25afdb),_0x4cac28[_0x468bf4(0xb9)](_0x25afdb,_0x25afdb,_0x25afdb,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x4cac28[_0x468bf4(0x107)](),_0x4e4dcc[_0x468bf4(0x242)]&&(_0x4cac28[_0x468bf4(0x19b)](),_0x4cac28['fillStyle']=_0x4e4dcc[_0x468bf4(0x242)],_0x4e4dcc[_0x468bf4(0x21e)]==='evenodd'?_0x4cac28[_0x468bf4(0x242)](_0x468bf4(0x1b0)):_0x4cac28['fill'](),_0x4cac28[_0x468bf4(0x2da)]());}class _0x8e950f extends _0xa3a2fa[_0x3a3b32(0x24b)]{constructor(_0x5a51a5,_0xb02d5d){const _0x23980c=_0x3a3b32;super(_0x5a51a5,_0xb02d5d),_0x40a5a2(this,'color'),_0x40a5a2(this,_0x23980c(0x306)),(this[_0x23980c(0x322)]=_0xb02d5d==null?void 0x0:_0xb02d5d[_0x23980c(0x322)],this['text']=_0xb02d5d==null?void 0x0:_0xb02d5d[_0x23980c(0x306)]);}static[_0x3a3b32(0x91)](_0xe07ed0,_0x19bfb3){const _0x214ca2=_0x3a3b32,{text:_0x437213,color:_0x292c68}=_0x19bfb3;_0xe07ed0[_0x214ca2(0x19b)](),_0xe07ed0[_0x214ca2(0x187)]=_0x214ca2(0xac);const _0x313474=_0xe07ed0[_0x214ca2(0x2f8)](_0x437213)[_0x214ca2(0x182)],_0x1e4a15=Math['min'](_0x313474+0x2*_0x1f84c0,_0x17f9d8);_0x9b6f3f(_0xe07ed0,{'height':_0x12924c,'radius':0x4,'width':_0x1e4a15,'fill':_0x292c68}),_0xe07ed0[_0x214ca2(0xcf)]=_0x214ca2(0x1bf);const _0x590243=_0x1f84c0,_0x2ab53c=_0x12924c-_0x30bc6f,_0x487573=_0x17f9d8-0x2*_0x1f84c0;if(_0x313474>_0x487573){let _0x10f47b='',_0x33ca2e=0x0;for(const _0x40de6e of _0x437213){const _0x37d097=_0xe07ed0[_0x214ca2(0x2f8)](_0x40de6e)[_0x214ca2(0x182)];if(_0x33ca2e+_0x37d097<=_0x487573-_0xe07ed0[_0x214ca2(0x2f8)]('...')[_0x214ca2(0x182)])_0x10f47b+=_0x40de6e,_0x33ca2e+=_0x37d097;else{_0x10f47b+=_0x214ca2(0x2d8);break;}}_0xe07ed0[_0x214ca2(0x15c)](_0x10f47b,_0x590243,_0x2ab53c);}else _0xe07ed0[_0x214ca2(0x15c)](_0x437213,_0x590243,_0x2ab53c);_0xe07ed0['restore']();}[_0x3a3b32(0x297)](_0x1d688d){_0x8e950f['drawWith'](_0x1d688d,this);}}const _0x2c041c=_0x3a3b32(0x19e),_0xe5237b=_0x3a3b32(0x218),_0x3df2a0=_0x3a3b32(0x1a8),_0x3708e6=0x6,_0x1d03a0=1.5,_0x422cf7=0x4,_0x28741e=1.5,_0x1ec2f7=_0x3a3b32(0x2c7);class _0x2d8a56{constructor(_0x257110,_0x5da521,_0x1f14af,_0x1ad32b){const _0x4930ec=_0x3a3b32;_0x40a5a2(this,_0x4930ec(0x1c8),[]),_0x40a5a2(this,_0x4930ec(0xf1),null),_0x40a5a2(this,'_textBubble',null),_0x40a5a2(this,_0x4930ec(0x11d),null),_0x40a5a2(this,'_hideTimer',null),_0x40a5a2(this,_0x4930ec(0x137),null),(this[_0x4930ec(0x24c)]=_0x257110,this[_0x4930ec(0x146)]=_0x5da521,this[_0x4930ec(0x2ea)]=_0x1f14af,this[_0x4930ec(0x128)]=_0x1ad32b,this['_render']());}set[_0x3a3b32(0x144)](_0x2f6c43){const _0x4179ad=_0x3a3b32;_0x2f6c43?(this[_0x4179ad(0x11d)]&&this[_0x4179ad(0x11d)][_0x4179ad(0x1e3)](),this['_textBubble']&&this[_0x4179ad(0x2aa)][_0x4179ad(0x2bb)]()):(this[_0x4179ad(0x11d)]&&this['_anchorDot'][_0x4179ad(0x2bb)](),this[_0x4179ad(0x2aa)]&&this[_0x4179ad(0x2aa)][_0x4179ad(0x1e3)]());}[_0x3a3b32(0x23e)](){const _0xe3662a=_0x3a3b32;for(const _0xe1b471 of this[_0xe3662a(0x1c8)])_0xe1b471[_0xe3662a(0x23e)]();this['_textBubble']&&this[_0xe3662a(0x2aa)][_0xe3662a(0x23e)](),this[_0xe3662a(0x11d)]&&this[_0xe3662a(0x11d)][_0xe3662a(0x23e)](),this[_0xe3662a(0xf1)]&&this[_0xe3662a(0xf1)][_0xe3662a(0x23e)](),this[_0xe3662a(0x137)]&&this[_0xe3662a(0x137)]();}[_0x3a3b32(0x2f4)](){const _0x2c4f23=_0x3a3b32;var _0x113ae8;const {_docSkeleton:_0x510b1a,_document:_0x3d1749}=this,{color:_0x3c08e9,name:_0x6544f6,ranges:_0x29c5dd}=this[_0x2c4f23(0x24c)],_0x3677d8=_0x3d1749[_0x2c4f23(0x2f2)](),{docsLeft:_0x31e5f8,docsTop:_0x132dce}=_0x3677d8,_0xb43aee=new _0x45cbcb['NodePositionConvertToCursor'](_0x3677d8,_0x510b1a);for(const {startOffset:_0x1a5a20,endOffset:_0x213ee5,rangeType:_0x54e3c3,segmentId:_0x912e03,segmentPage:_0x38a3a2,collapsed:_0x42c097,isActive:_0x19fb0c}of _0x29c5dd){const _0x21b3fc=_0x510b1a['findNodePositionByCharIndex'](_0x1a5a20,!0x0,_0x912e03,_0x38a3a2);let _0x1eded7=_0x510b1a[_0x2c4f23(0x256)](_0x213ee5,!0x0,_0x912e03,_0x38a3a2);if(_0x1eded7==null&&(_0x1eded7=_0x510b1a[_0x2c4f23(0x256)](_0x213ee5-0x1,!0x1,_0x912e03,_0x38a3a2)),_0x19fb0c){const {contentBoxPointGroup:_0x547443}=_0xb43aee[_0x2c4f23(0x113)](_0x1eded7,_0x1eded7);if(_0x547443[_0x2c4f23(0xb3)]===0x0)continue;this['_drawAnchor'](_0x3c08e9,_0x547443,_0x31e5f8,_0x132dce,_0x6544f6),this[_0x2c4f23(0x137)]=this[_0x2c4f23(0x127)]();}if(_0x21b3fc&&_0x1eded7){if(_0x54e3c3===_0x5cc899[_0x2c4f23(0x30a)]['RECT']){const _0x426b5d=new _0x45cbcb[(_0x2c4f23(0x2e0))](_0x3677d8,_0x510b1a),{pointGroup:_0x578a6e}=(_0x113ae8=_0x426b5d[_0x2c4f23(0x113)](_0x21b3fc,_0x1eded7))!=null?_0x113ae8:{};if(_0x578a6e==null||_0x578a6e[_0x2c4f23(0xb3)]===0x0)continue;this[_0x2c4f23(0xea)](_0x3c08e9,_0x578a6e,_0x31e5f8,_0x132dce);}else{if(!_0x42c097){const {borderBoxPointGroup:_0x3cb47f}=_0xb43aee[_0x2c4f23(0x113)](_0x21b3fc,_0x1eded7);if(_0x3cb47f[_0x2c4f23(0xb3)]===0x0)continue;this[_0x2c4f23(0x2fb)](_0x3c08e9,_0x3cb47f,_0x31e5f8,_0x132dce);}}}}}[_0x3a3b32(0xd8)](_0x3b2404,_0x535d03,_0x1c2eaf,_0x3437dd,_0x4fab16){const _0x5f086=_0x3a3b32,_0x259221=this[_0x5f086(0x2c4)](_0x535d03),{left:_0x1b13ac,top:_0x495007,height:_0x77ef3c}=_0x259221,_0x46cbfc=this[_0x5f086(0x11c)](),_0x4a6391=_0x28741e/_0x46cbfc,_0x34222b=new _0xa3a2fa[(_0x5f086(0x2b9))](_0x2c041c+_0x5cc899[_0x5f086(0xa7)][_0x5f086(0x2cc)](_0x3708e6),{'left':_0x1b13ac+_0x1c2eaf-_0x4a6391,'top':_0x495007+_0x3437dd,'height':_0x77ef3c,'width':_0x1d03a0,'fill':_0x3b2404||_0xa3a2fa[_0x5f086(0x117)](_0x5cc899['COLORS']['black'],0x0),'strokeWidth':_0x4a6391,'stroke':_0x1ec2f7,'evented':!0x0});this[_0x5f086(0xf1)]=_0x34222b,this[_0x5f086(0x146)][_0x5f086(0x2af)](_0x34222b,_0x45cbcb[_0x5f086(0x14d)]);const _0x40dbbe=new _0xa3a2fa[(_0x5f086(0x2b9))](_0x2c041c+_0x5cc899['Tools'][_0x5f086(0x2cc)](_0x3708e6),{'left':_0x1b13ac+_0x1c2eaf-_0x4a6391,'top':_0x495007+_0x3437dd-_0x422cf7/0x2,'height':_0x422cf7,'width':_0x422cf7,'fill':_0x3b2404||_0xa3a2fa[_0x5f086(0x117)](_0x5cc899['COLORS'][_0x5f086(0xdf)],0x0),'strokeWidth':0x0,'stroke':_0x3b2404||_0xa3a2fa[_0x5f086(0x117)](_0x5cc899[_0x5f086(0x111)][_0x5f086(0xdf)],0x0),'evented':!0x1});this['_anchorDot']=_0x40dbbe,this[_0x5f086(0x146)][_0x5f086(0x2af)](_0x40dbbe,_0x45cbcb[_0x5f086(0x14d)]);const _0x40249a=new _0x8e950f(_0x2c041c+_0x5cc899['Tools'][_0x5f086(0x2cc)](_0x3708e6),{'left':_0x1b13ac+_0x1c2eaf-_0x4a6391,'top':_0x495007+_0x3437dd-_0x12924c,'text':_0x4fab16,'color':_0x3b2404});this[_0x5f086(0x2aa)]=_0x40249a,this[_0x5f086(0x146)][_0x5f086(0x2af)](_0x40249a,_0x45cbcb['TEXT_RANGE_LAYER_INDEX']),this[_0x5f086(0x144)]=!0x1;}['_handleHover'](){const _0x2da48e=_0x3a3b32,_0x5829fa=this[_0x2da48e(0xf1)][_0x2da48e(0x16c)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x5db813=this['_anchor'][_0x2da48e(0x18c)][_0x2da48e(0x2a7)](()=>{const _0x21f492=_0x2da48e;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x21f492(0xe0)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x34780b=_0x2da48e;_0x5829fa['unsubscribe'](),_0x5db813[_0x34780b(0xe6)]();};}[_0x3a3b32(0x2fb)](_0x4bc11e,_0x42b435,_0x8a6917,_0x36fba1){const _0x21809e=_0x3a3b32,_0x14a197=new _0x5cc899[(_0x21809e(0x1e2))](_0x4bc11e)[_0x21809e(0x20a)](0.2)['toRgbString'](),_0x571b5c=new _0xa3a2fa['RegularPolygon'](_0xe5237b+_0x5cc899[_0x21809e(0xa7)][_0x21809e(0x2cc)](_0x3708e6),{'pointsGroup':_0x42b435,'fill':_0x14a197||_0xa3a2fa[_0x21809e(0x117)](_0x5cc899[_0x21809e(0x111)]['black'],0.2),'left':_0x8a6917,'top':_0x36fba1,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x21809e(0x1c8)][_0x21809e(0x2f9)](_0x571b5c),this[_0x21809e(0x146)]['addObject'](_0x571b5c,_0x45cbcb[_0x21809e(0x14d)]);}[_0x3a3b32(0xea)](_0x4e56d3,_0x250033,_0x2dfb85,_0x2f160b){const _0x6935a5=_0x3a3b32,_0x127705=new _0x5cc899[(_0x6935a5(0x1e2))](_0x4e56d3)[_0x6935a5(0x20a)](0.2)['toRgbString'](),_0x499c68=new _0xa3a2fa['RegularPolygon'](_0x3df2a0+_0x5cc899[_0x6935a5(0xa7)][_0x6935a5(0x2cc)](_0x3708e6),{'pointsGroup':_0x250033,'fill':_0x127705||_0xa3a2fa[_0x6935a5(0x117)](_0x5cc899[_0x6935a5(0x111)][_0x6935a5(0xdf)],0.2),'left':_0x2dfb85,'top':_0x2f160b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x6935a5(0x1c8)]['push'](_0x499c68),this[_0x6935a5(0x146)]['addObject'](_0x499c68,_0x45cbcb[_0x6935a5(0x14d)]);}[_0x3a3b32(0x2c4)](_0x5d7845){const _0x448e21=_0x5d7845[0x0],_0x52d1c6=_0x448e21[0x0],_0x44f6d6=_0x448e21[0x2],{x:_0x39af5b,y:_0x26ce46}=_0x52d1c6,{x:_0x420771,y:_0x2a1e6b}=_0x44f6d6;return{'left':_0x39af5b,'top':_0x26ce46,'width':_0x420771-_0x39af5b,'height':_0x2a1e6b-_0x26ce46};}[_0x3a3b32(0x11c)](){const _0x1e6410=_0x3a3b32,{scaleX:_0x5e221c,scaleY:_0x34616d}=this[_0x1e6410(0x146)]['getAncestorScale']();return Math[_0x1e6410(0x2b1)](_0x5e221c,_0x34616d);}}var _0x64439c=Object[_0x3a3b32(0x26d)],_0xfe4265=(_0x47ff78,_0x37d6b4,_0x11e3df,_0x92bfcf)=>{const _0x1f6b13=_0x3a3b32;for(var _0x8b2618=_0x92bfcf>0x1?void 0x0:_0x92bfcf?_0x64439c(_0x37d6b4,_0x11e3df):_0x37d6b4,_0x4fbee8=_0x47ff78[_0x1f6b13(0xb3)]-0x1,_0x3b1bba;_0x4fbee8>=0x0;_0x4fbee8--)(_0x3b1bba=_0x47ff78[_0x4fbee8])&&(_0x8b2618=_0x3b1bba(_0x8b2618)||_0x8b2618);return _0x8b2618;},_0x2f1100=(_0x43afb5,_0x4cc7ec)=>(_0x46ad83,_0x4f77b8)=>_0x4cc7ec(_0x46ad83,_0x4f77b8,_0x43afb5);let _0xf4fa45=class extends _0x5cc899[_0x3a3b32(0x2ef)]{constructor(_0x2229cf,_0x105067,_0x2d3ef1,_0xba3ee2,_0x432384){const _0x270235=_0x3a3b32;super(),_0x40a5a2(this,'_cursorShapes',[]),_0x40a5a2(this,_0x270235(0x102),[]),(this['_context']=_0x2229cf,this[_0x270235(0x180)]=_0x105067,this['_collabCursorController']=_0x2d3ef1,this[_0x270235(0x25d)]=_0xba3ee2,this[_0x270235(0x274)]=_0x432384,this['_init']());}[_0x3a3b32(0xa2)](){const _0x190cea=_0x3a3b32,_0x105820=this[_0x190cea(0x2a9)][_0x190cea(0x196)],_0x28db7c=this[_0x190cea(0x180)];this['disposeWithMe'](_0x16a76f['combineLatest']([this['_collabCursorController'][_0x190cea(0x300)](_0x105820),this[_0x190cea(0x274)][_0x190cea(0x2a0)]])[_0x190cea(0x9a)](_0x4faa9f[_0x190cea(0x12b)](([_0x1ac27b,_0x552193])=>({'skeleton':_0x28db7c[_0x190cea(0x8c)](),'cursors':[..._0x1ac27b['values']()][_0x190cea(0xb2)](_0x469376=>({..._0x469376,'color':this[_0x190cea(0x274)][_0x190cea(0x2f3)](_0x469376[_0x190cea(0x322)])}))})))['subscribe'](_0x1f9af0=>{const _0x3aa297=_0x190cea;if(this[_0x3aa297(0xfd)](),_0x1f9af0){const {skeleton:_0x4b26e7,cursors:_0xe74974}=_0x1f9af0;this[_0x3aa297(0xe9)](_0x4b26e7,_0xe74974);}})),this[_0x190cea(0x27e)](),this[_0x190cea(0x17d)]();}['_updateCollabCursors'](_0x2942dd,_0x132090){const _0x4f7f4b=_0x3a3b32,{scene:_0x2dcf0e,mainComponent:_0x1ee2ce}=this[_0x4f7f4b(0x2a9)],_0x105b49=_0x132090[_0x4f7f4b(0x12b)](_0x58eccd=>new _0x2d8a56(_0x58eccd,_0x2dcf0e,_0x2942dd,_0x1ee2ce));this['_cursorShapes']=_0x105b49,this[_0x4f7f4b(0x102)]=_0x132090;}[_0x3a3b32(0x2e3)](){const _0x5dab5f=_0x3a3b32;this[_0x5dab5f(0xfd)]();const {scene:_0x30c4ce,mainComponent:_0x2ec19d}=this[_0x5dab5f(0x2a9)],_0x58fcc1=this['_docSkeletonManagerService'][_0x5dab5f(0x8c)](),_0x47f39c=this[_0x5dab5f(0x102)][_0x5dab5f(0x12b)](_0x126425=>new _0x2d8a56(_0x126425,_0x30c4ce,_0x58fcc1,_0x2ec19d));this[_0x5dab5f(0x22f)]=_0x47f39c;}[_0x3a3b32(0xfd)](){const _0x1c59c5=_0x3a3b32;this['_cursorShapes'][_0x1c59c5(0x291)](_0xa7b94a=>_0xa7b94a[_0x1c59c5(0x23e)]()),this[_0x1c59c5(0x22f)]=[];}['_initCommandExecutedListener'](){const _0x3bd91d=_0x3a3b32,_0x11c9e7=[_0x45cbcb[_0x3bd91d(0x150)]['id']];this[_0x3bd91d(0x16f)](this[_0x3bd91d(0x25d)][_0x3bd91d(0x1b1)](_0x2c6326=>{const _0x1ac741=_0x3bd91d;_0x11c9e7['includes'](_0x2c6326['id'])&&_0x2c6326[_0x1ac741(0x323)][_0x1ac741(0x196)]===this[_0x1ac741(0x2a9)][_0x1ac741(0x196)]&&this[_0x1ac741(0x2e3)]();}));}[_0x3a3b32(0x27e)](){const _0x2ef1b0=_0x3a3b32;this[_0x2ef1b0(0x16f)](_0x5cc899['fromEventSubject'](this[_0x2ef1b0(0x2a9)]['engine'][_0x2ef1b0(0xad)])['pipe'](_0x4faa9f[_0x2ef1b0(0xe8)](_0x135092=>_0x135092[_0x2ef1b0(0x189)]===_0xa3a2fa[_0x2ef1b0(0x28b)][_0x2ef1b0(0x163)]),_0x4faa9f[_0x2ef1b0(0x2cf)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0xf4fa45=_0xfe4265([_0x2f1100(0x1,_0x5cc899[_0x3a3b32(0x27f)](_0xcf3dad[_0x3a3b32(0xbf)])),_0x2f1100(0x2,_0x5cc899[_0x3a3b32(0x27f)](_0x6e1b81)),_0x2f1100(0x3,_0x5cc899[_0x3a3b32(0x234)]),_0x2f1100(0x4,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899[_0x3a3b32(0x99)]))],_0xf4fa45);const _0x475930=0x1,_0x53128f=1.5;class _0x56e01b extends _0xa3a2fa[_0x3a3b32(0x24b)]{constructor(_0x156d1f,_0x426cc5){const _0x50e81c=_0x3a3b32;super(_0x156d1f,_0x426cc5),_0x40a5a2(this,_0x50e81c(0x15b)),_0x40a5a2(this,_0x50e81c(0x167),!0x1),_0x40a5a2(this,'_range'),_0x40a5a2(this,_0x50e81c(0x21c),''),_0x40a5a2(this,'_labelPosition',_0x50e81c(0x97)),_0x40a5a2(this,_0x50e81c(0x104)),(_0x426cc5&&this[_0x50e81c(0x1b9)](_0x426cc5),this[_0x50e81c(0x16c)][_0x50e81c(0x2a7)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x50e81c(0x18c)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x3f8959){const _0x2b7240=_0x3a3b32;var _0x5ad2cc,_0x4642fd,_0xda2cf2,_0x319410,_0x1ff739,_0x5cb3ec;this[_0x2b7240(0x15b)]=(_0x5ad2cc=_0x3f8959['color'])!=null?_0x5ad2cc:this['_color'],this['_hovered']=(_0x4642fd=_0x3f8959[_0x2b7240(0x317)])!=null?_0x4642fd:this[_0x2b7240(0x167)],this[_0x2b7240(0x265)]=(_0xda2cf2=_0x3f8959[_0x2b7240(0x2d7)])!=null?_0xda2cf2:this[_0x2b7240(0x265)],this[_0x2b7240(0x21c)]=(_0x319410=_0x3f8959[_0x2b7240(0x17f)])!=null?_0x319410:this[_0x2b7240(0x21c)],this['_labelPosition']=(_0x1ff739=_0x3f8959[_0x2b7240(0x1df)])!=null?_0x1ff739:this[_0x2b7240(0xc2)],this[_0x2b7240(0x104)]=(_0x5cb3ec=_0x3f8959[_0x2b7240(0x1f6)])!=null?_0x5cb3ec:this[_0x2b7240(0x104)],this['transformByState']({'width':_0x3f8959[_0x2b7240(0x182)],'height':_0x3f8959[_0x2b7240(0x29d)]});}[_0x3a3b32(0xeb)](_0x21dfa8){const _0x27c551=_0x3a3b32,{row:_0x1b287c,column:_0xa6767d}=_0x21dfa8;if(_0x1b287c>=this[_0x27c551(0x265)][_0x27c551(0x2ad)]&&_0x1b287c<=this[_0x27c551(0x265)][_0x27c551(0x161)]&&_0xa6767d>=this[_0x27c551(0x265)][_0x27c551(0x198)]&&_0xa6767d<=this[_0x27c551(0x265)]['endColumn']){this[_0x27c551(0x1b9)]({'hovered':!0x0});return;}this[_0x27c551(0x1b9)]({'hovered':!0x1});}[_0x3a3b32(0x26a)](_0x4f31be){return!0x1;}[_0x3a3b32(0x297)](_0x4ab01f){const _0x17e4f2=_0x3a3b32;_0xa3a2fa[_0x17e4f2(0x2b9)][_0x17e4f2(0x91)](_0x4ab01f,{'width':this['width'],'height':this[_0x17e4f2(0x29d)],'strokeWidth':_0x53128f,'stroke':this[_0x17e4f2(0x15b)],'evented':!0x1,'fill':this[_0x17e4f2(0x104)]}),this['_hovered']&&(_0x4ab01f['save'](),_0x4ab01f['transform'](0x1,0x0,0x0,0x1,this[_0x17e4f2(0x182)],this[_0x17e4f2(0xc2)]===_0x17e4f2(0x243)?0x0:-0x14),_0x8e950f[_0x17e4f2(0x91)](_0x4ab01f,{'text':this[_0x17e4f2(0x21c)],'color':this['_color']}),_0x4ab01f['restore']());}}var _0x5aea8b=Object[_0x3a3b32(0x26d)],_0x1588dd=(_0xf4ae6b,_0x89f5ea,_0x332759,_0xf21b41)=>{for(var _0x54d659=_0xf21b41>0x1?void 0x0:_0xf21b41?_0x5aea8b(_0x89f5ea,_0x332759):_0x89f5ea,_0x5019b9=_0xf4ae6b['length']-0x1,_0xb8782b;_0x5019b9>=0x0;_0x5019b9--)(_0xb8782b=_0xf4ae6b[_0x5019b9])&&(_0x54d659=_0xb8782b(_0x54d659)||_0x54d659);return _0x54d659;},_0x5c12a6=(_0x536a2c,_0x3bf151)=>(_0x1538f1,_0x69af51)=>_0x3bf151(_0x1538f1,_0x69af51,_0x536a2c);const _0x171475=0x1389;let _0x97462d=class extends _0x5cc899['RxDisposable']{constructor(_0x12daa0,_0x603473,_0x20e263,_0x58d934){const _0x3b6099=_0x3a3b32;super(),_0x40a5a2(this,_0x3b6099(0x102),new Set()),_0x40a5a2(this,_0x3b6099(0x2ec),null),(this['_context']=_0x12daa0,this[_0x3b6099(0x2c1)]=_0x603473,this['_collabCursorController']=_0x20e263,this[_0x3b6099(0x274)]=_0x58d934,this[_0x3b6099(0xa2)]());}[_0x3a3b32(0xa2)](){const _0x5eb629=_0x3a3b32;this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x5eb629(0x9a)](_0x4faa9f['takeUntil'](this[_0x5eb629(0x27c)]),_0x4faa9f[_0x5eb629(0x210)](_0x2043c6=>{const _0x466ee6=_0x5eb629;if(_0x2043c6){const _0x505553=_0x2043c6[_0x466ee6(0x273)];return _0x16a76f[_0x466ee6(0x24a)](this[_0x466ee6(0x2a8)][_0x466ee6(0x300)](this[_0x466ee6(0x2a9)][_0x466ee6(0x196)]),this[_0x466ee6(0x274)][_0x466ee6(0x2a0)])[_0x466ee6(0x9a)](_0x4faa9f['map'](([_0x418e75,_0x5aee82])=>{const _0x31b75a=_0x466ee6,_0x590072=new Map();return _0x418e75[_0x31b75a(0x291)]((_0x484aba,_0x12d758)=>{const _0xc716aa=_0x31b75a;if(_0x484aba[_0xc716aa(0x31a)]===_0x505553){const _0x184809={..._0x484aba};_0x184809[_0xc716aa(0x322)]=this[_0xc716aa(0x274)][_0xc716aa(0x2f3)](_0x484aba[_0xc716aa(0x322)]),_0x590072[_0xc716aa(0x194)](_0x12d758,_0x184809);}}),{'skeleton':_0x2043c6,'cursors':_0x590072};}));}return _0x16a76f['of']({'skeleton':null,'cursors':new Map()});}))[_0x5eb629(0x239)](({skeleton:_0x382af1,cursors:_0x935136})=>{const _0x1a8151=_0x5eb629;this[_0x1a8151(0xfd)](),_0x382af1&&this[_0x1a8151(0xe9)](_0x382af1,_0x935136);}),this['_sheetSkeletonManagerService'][_0x5eb629(0x226)][_0x5eb629(0x239)](_0x150d28=>{const _0x6db7cd=_0x5eb629;if(_0x150d28==null)return;const {skeleton:_0x4a8ffd}=_0x150d28,{scene:_0x371b40}=this[_0x6db7cd(0x2a9)];_0x371b40[_0x6db7cd(0x206)][_0x6db7cd(0x2a7)](_0x5cc899['debounce'](_0x599621=>{const _0x996324=_0x6db7cd;var _0x5625ac,_0x1c014f;const {offsetX:_0x22abf5,offsetY:_0xb3856b}=_0x599621,{x:_0x2d7204,y:_0x51f323}=_0x371b40['getRelativeToViewportCoord'](_0xa3a2fa[_0x996324(0x329)][_0x996324(0x23a)]([_0x22abf5,_0xb3856b])),{scaleX:_0x239703,scaleY:_0x10dec4}=_0x371b40[_0x996324(0x326)](),_0x21f29c=_0x371b40[_0x996324(0x1b5)](_0xa3a2fa[_0x996324(0x249)]['VIEW_MAIN']),_0x526a2a=_0x371b40['getVpScrollXYInfoByPosToVp'](_0xa3a2fa['Vector2'][_0x996324(0x23a)]([_0x2d7204,_0x51f323]),_0x21f29c),_0x4ad5b8=_0x4a8ffd['getCellPositionByOffset'](_0x22abf5,_0xb3856b,_0x239703,_0x10dec4,_0x526a2a);((_0x5625ac=this[_0x996324(0x2ec)])==null?void 0x0:_0x5625ac[_0x996324(0xd7)])===_0x4ad5b8[_0x996324(0xd7)]&&((_0x1c014f=this[_0x996324(0x2ec)])==null?void 0x0:_0x1c014f[_0x996324(0x10b)])===_0x4ad5b8[_0x996324(0x10b)]||this[_0x996324(0x102)][_0x996324(0x291)](_0x349d88=>{const _0x59d20a=_0x996324;_0x349d88[_0x59d20a(0xeb)](_0x4ad5b8);});},0x64));});}[_0x3a3b32(0xe9)](_0x14487c,_0x4bfb50){const _0x3d9ec1=_0x3a3b32;var _0x3e02c7;const _0xcd2d9=(_0x3e02c7=this[_0x3d9ec1(0x2c1)][_0x3d9ec1(0xa3)]())==null?void 0x0:_0x3e02c7[_0x3d9ec1(0x1b8)];if(!_0xcd2d9)return;const _0x1a62e7=this[_0x3d9ec1(0x2c0)]();if(!_0x1a62e7)return;this[_0x3d9ec1(0x102)][_0x3d9ec1(0x291)](_0x28dcd1=>{const _0x4dc331=_0x3d9ec1;_0x28dcd1[_0x4dc331(0x2a5)]();});const {scene:_0x1a0872}=_0x1a62e7,_0x339933=_0x5b2943(Array[_0x3d9ec1(0x195)](_0x4bfb50[_0x3d9ec1(0x278)]()))[_0x3d9ec1(0x12b)](_0x40a4c3=>{const _0x19cc85=_0x3d9ec1,{color:_0x4214ac,range:_0x3c543b,name:_0x582931,selection:_0x5bf3e3,sheetID:_0x3d1903}=_0x40a4c3,{startColumn:_0xec1b32,startRow:_0x4789bc,endColumn:_0x491412,endRow:_0x5c0101}=_0x3c543b,_0x481a72=_0x19b11c[_0x19cc85(0x1c1)](_0x4789bc,_0xec1b32,_0x1a0872,_0xcd2d9),_0x2d7340=_0x19b11c[_0x19cc85(0x1c1)](_0x5c0101,_0x491412,_0x1a0872,_0xcd2d9),{columnHeaderHeightAndMarginTop:_0x1317b0}=_0xcd2d9,{startX:_0x2c37a9,startY:_0x1a9a89}=_0x481a72,{endX:_0x452ba2,endY:_0x1bfb7d}=_0x2d7340,_0x44a0d9=_0x452ba2-_0x2c37a9,_0x79e548=_0x1bfb7d-_0x1a9a89,_0x151f8c={'labelPosition':_0x1a9a89-_0x1317b0>=_0x12924c?'top':_0x19cc85(0x243),'sheetID':_0x3d1903,'range':_0x3c543b,'color':_0x4214ac,'name':_0x582931,'selection':_0x5bf3e3,'left':_0x2c37a9,'top':_0x1a9a89,'width':_0x44a0d9,'height':_0x79e548,'evented':!0x1,'zIndex':_0x171475};return new _0x56e01b(_0x582931,_0x151f8c);});_0x1a0872[_0x3d9ec1(0x156)](_0x339933,_0x475930),this[_0x3d9ec1(0x102)]=new Set(_0x339933);}[_0x3a3b32(0xfd)](){var _0x149883;(_0x149883=this['_cursors'])==null||_0x149883['forEach'](_0x57a9a6=>_0x57a9a6['dispose']());}[_0x3a3b32(0x2c0)](){const _0x37f083=_0x3a3b32;return _0x19b11c[_0x37f083(0x2b6)](this[_0x37f083(0x2a9)][_0x37f083(0x139)],this[_0x37f083(0x2a9)]);}};_0x97462d=_0x1588dd([_0x5c12a6(0x1,_0x5cc899[_0x3a3b32(0x27f)](_0x19b11c[_0x3a3b32(0x1be)])),_0x5c12a6(0x2,_0x5cc899[_0x3a3b32(0x27f)](_0x6e1b81)),_0x5c12a6(0x3,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899[_0x3a3b32(0x99)]))],_0x97462d);function _0x5b2943(_0x87b8e4){const _0x38e05b=_0x3a3b32,_0x18a82a=new Map();return _0x87b8e4[_0x38e05b(0x291)](_0x147ae6=>{const _0xc7b95c=_0x38e05b;if(_0x18a82a[_0xc7b95c(0xd6)](_0x147ae6[_0xc7b95c(0x18f)])){const _0x4ff7be=_0x18a82a['get'](_0x147ae6['selection']);_0x4ff7be[_0xc7b95c(0x17f)]+=',\x20'+_0x147ae6[_0xc7b95c(0x17f)];}else _0x18a82a[_0xc7b95c(0x194)](_0x147ae6['selection'],_0x147ae6);}),Array[_0x38e05b(0x195)](_0x18a82a[_0x38e05b(0x278)]());}var _0x3d0ea2=function(){const _0x1b9865=_0x3a3b32;return _0x3d0ea2=Object[_0x1b9865(0x204)]||function(_0x11b8e4){const _0x23127a=_0x1b9865;for(var _0x487361,_0x25a332=0x1,_0x1702b3=arguments[_0x23127a(0xb3)];_0x25a332<_0x1702b3;_0x25a332++){_0x487361=arguments[_0x25a332];for(var _0x5c3dc0 in _0x487361)Object[_0x23127a(0x286)]['hasOwnProperty'][_0x23127a(0x1f1)](_0x487361,_0x5c3dc0)&&(_0x11b8e4[_0x5c3dc0]=_0x487361[_0x5c3dc0]);}return _0x11b8e4;},_0x3d0ea2[_0x1b9865(0x178)](this,arguments);},_0x2583e4=function(_0x59dc7e,_0x22621d){const _0x276a15=_0x3a3b32;var _0xc24814={};for(var _0x1b979e in _0x59dc7e)Object['prototype'][_0x276a15(0x12e)][_0x276a15(0x1f1)](_0x59dc7e,_0x1b979e)&&_0x22621d[_0x276a15(0xfc)](_0x1b979e)<0x0&&(_0xc24814[_0x1b979e]=_0x59dc7e[_0x1b979e]);if(_0x59dc7e!=null&&typeof Object[_0x276a15(0x19c)]=='function'){for(var _0x581475=0x0,_0x1b979e=Object['getOwnPropertySymbols'](_0x59dc7e);_0x581475<_0x1b979e[_0x276a15(0xb3)];_0x581475++)_0x22621d[_0x276a15(0xfc)](_0x1b979e[_0x581475])<0x0&&Object[_0x276a15(0x286)][_0x276a15(0x230)]['call'](_0x59dc7e,_0x1b979e[_0x581475])&&(_0xc24814[_0x1b979e[_0x581475]]=_0x59dc7e[_0x1b979e[_0x581475]]);}return _0xc24814;},_0x5183b0=_0x4d5c38['forwardRef'](function(_0x5639fc,_0x552697){const _0x1ec921=_0x3a3b32;var _0x154493=_0x5639fc[_0x1ec921(0xe5)],_0x18ec9a=_0x5639fc['id'],_0x43cdb9=_0x5639fc[_0x1ec921(0x1f3)],_0x2c537f=_0x5639fc[_0x1ec921(0x1d0)],_0x44d4cc=_0x2583e4(_0x5639fc,[_0x1ec921(0xe5),'id',_0x1ec921(0x1f3),_0x1ec921(0x1d0)]),_0x20edf0=_0x1ec921(0x133)[_0x1ec921(0x24f)](_0x18ec9a,'\x20')[_0x1ec921(0x24f)](_0x43cdb9||'')[_0x1ec921(0xf8)](),_0xfe947b=_0x4d5c38[_0x1ec921(0x121)]('_'[_0x1ec921(0x24f)](_0x3fd373()));return _0xdd1f99(_0x154493,''[_0x1ec921(0x24f)](_0x18ec9a),{'defIds':_0x154493[_0x1ec921(0xab)],'idSuffix':_0xfe947b[_0x1ec921(0x148)]},_0x3d0ea2({'ref':_0x552697,'className':_0x20edf0},_0x44d4cc),_0x2c537f);});function _0xdd1f99(_0x110c4f,_0x405994,_0x284ce6,_0x3b6fc4,_0x417d1c){const _0x3825a0=_0x3a3b32;return _0x4d5c38[_0x3825a0(0x241)](_0x110c4f[_0x3825a0(0x303)],_0x3d0ea2(_0x3d0ea2({'key':_0x405994},_0x145756(_0x110c4f,_0x284ce6,_0x417d1c)),_0x3b6fc4),(_0x3ac0ea(_0x110c4f,_0x284ce6)[_0x3825a0(0x25e)]||[])[_0x3825a0(0x12b)](function(_0x4dc577,_0x289810){const _0x2e9bbc=_0x3825a0;return _0xdd1f99(_0x4dc577,''[_0x2e9bbc(0x24f)](_0x405994,'-')[_0x2e9bbc(0x24f)](_0x110c4f[_0x2e9bbc(0x303)],'-')[_0x2e9bbc(0x24f)](_0x289810),_0x284ce6,void 0x0,_0x417d1c);}));}function _0x145756(_0x2d3682,_0x176a9b,_0x502249){const _0x46bf5b=_0x3a3b32;var _0x284215=_0x3d0ea2({},_0x2d3682[_0x46bf5b(0x183)]);_0x502249!=null&&_0x502249['colorChannel1']&&_0x284215[_0x46bf5b(0x242)]===_0x46bf5b(0x254)&&(_0x284215[_0x46bf5b(0x242)]=_0x502249[_0x46bf5b(0x254)]),_0x2d3682[_0x46bf5b(0x303)]==='mask'&&_0x284215['id']&&(_0x284215['id']=_0x284215['id']+_0x176a9b[_0x46bf5b(0xcd)]),Object[_0x46bf5b(0x11f)](_0x284215)[_0x46bf5b(0x291)](function(_0x4f68ec){const _0x1ced81=_0x46bf5b;var _0x2fc673=_0x4f68ec[0x0],_0x77774f=_0x4f68ec[0x1];_0x2fc673===_0x1ced81(0xb6)&&typeof _0x77774f=='string'&&(_0x284215[_0x2fc673]=_0x77774f[_0x1ced81(0x215)](/url\(#(.*)\)/,_0x1ced81(0xbb)['concat'](_0x176a9b[_0x1ced81(0xcd)],')')));});var _0x3cf53d=_0x176a9b['defIds'];return!_0x3cf53d||_0x3cf53d[_0x46bf5b(0xb3)]===0x0||(_0x2d3682['tag']===_0x46bf5b(0x1cb)&&_0x284215['xlink:href']&&(_0x284215[_0x46bf5b(0x2c9)]=_0x284215[_0x46bf5b(0x2c9)]+_0x176a9b[_0x46bf5b(0xcd)]),Object[_0x46bf5b(0x11f)](_0x284215)[_0x46bf5b(0x291)](function(_0x53736c){const _0x2d99ed=_0x46bf5b;var _0x188a26=_0x53736c[0x0],_0x5cc525=_0x53736c[0x1];typeof _0x5cc525==_0x2d99ed(0x21a)&&(_0x284215[_0x188a26]=_0x5cc525[_0x2d99ed(0x215)](/url\(#(.*)\)/,_0x2d99ed(0xbb)[_0x2d99ed(0x24f)](_0x176a9b['idSuffix'],')')));})),_0x284215;}function _0x3ac0ea(_0x3a2995,_0x57f661){const _0x376b4d=_0x3a3b32;var _0xcd4fb2,_0x43b9aa=_0x57f661['defIds'];return!_0x43b9aa||_0x43b9aa[_0x376b4d(0xb3)]===0x0?_0x3a2995:_0x3a2995[_0x376b4d(0x303)]===_0x376b4d(0xa0)&&(!((_0xcd4fb2=_0x3a2995['children'])===null||_0xcd4fb2===void 0x0)&&_0xcd4fb2['length'])?_0x3d0ea2(_0x3d0ea2({},_0x3a2995),{'children':_0x3a2995[_0x376b4d(0x25e)][_0x376b4d(0x12b)](function(_0x50d287){const _0x12a762=_0x376b4d;return typeof _0x50d287[_0x12a762(0x183)]['id']==_0x12a762(0x21a)&&_0x43b9aa&&_0x43b9aa[_0x12a762(0x2a2)](_0x50d287[_0x12a762(0x183)]['id'])?_0x3d0ea2(_0x3d0ea2({},_0x50d287),{'attrs':_0x3d0ea2(_0x3d0ea2({},_0x50d287[_0x12a762(0x183)]),{'id':_0x50d287[_0x12a762(0x183)]['id']+_0x57f661['idSuffix']})}):_0x50d287;})}):_0x3a2995;}function _0x3fd373(){const _0x412be6=_0x3a3b32;return Math['random']()[_0x412be6(0x8e)](0x24)['substring'](0x2,0x8);}_0x5183b0[_0x3a3b32(0x1ba)]=_0x3a3b32(0xfa);var _0x2dd86c={'tag':_0x3a3b32(0x8f),'attrs':{'xmlns':_0x3a3b32(0x217),'fill':'none','viewBox':_0x3a3b32(0x1c3),'width':_0x3a3b32(0x2e4),'height':_0x3a3b32(0x2e4)},'children':[{'tag':'g','attrs':{'clipPath':_0x3a3b32(0x219)},'children':[{'tag':_0x3a3b32(0x1ee),'attrs':{'stroke':'currentColor','d':_0x3a3b32(0x2c8),'strokeLinecap':'round','strokeLinejoin':_0x3a3b32(0x324),'strokeWidth':1.2}}]},{'tag':_0x3a3b32(0xa0),'attrs':{},'children':[{'tag':_0x3a3b32(0xa5),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x3a3b32(0x1ee),'attrs':{'fill':_0x3a3b32(0x1ef),'d':_0x3a3b32(0x1a7)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x2dd16e=_0x4d5c38['forwardRef'](function(_0x2127be,_0x2d9598){const _0x562d04=_0x3a3b32;return _0x4d5c38[_0x562d04(0x241)](_0x5183b0,Object[_0x562d04(0x204)]({},_0x2127be,{'id':_0x562d04(0x298),'ref':_0x2d9598,'icon':_0x2dd86c}));});_0x2dd16e[_0x3a3b32(0x1ba)]=_0x3a3b32(0x213);var _0x1d73c4={'tag':_0x3a3b32(0x8f),'attrs':{'xmlns':_0x3a3b32(0x217),'fill':'none','viewBox':_0x3a3b32(0x307),'width':'1em','height':_0x3a3b32(0x2e4)},'children':[{'tag':'g','attrs':{'clipPath':_0x3a3b32(0x1c9)},'children':[{'tag':'path','attrs':{'stroke':_0x3a3b32(0x129),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':_0x3a3b32(0x324),'strokeWidth':1.2}}]},{'tag':_0x3a3b32(0xa0),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-icon_clip0_910_349'},'children':[{'tag':_0x3a3b32(0x1ee),'attrs':{'fill':_0x3a3b32(0x1ef),'d':_0x3a3b32(0x1a7),'transform':_0x3a3b32(0x32b)}}]}]}],'defIds':[_0x3a3b32(0x1cd)]},_0x15cc13=_0x4d5c38[_0x3a3b32(0xb4)](function(_0x1a8e89,_0x3009df){const _0x10b07f=_0x3a3b32;return _0x4d5c38['createElement'](_0x5183b0,Object[_0x10b07f(0x204)]({},_0x1a8e89,{'id':_0x10b07f(0x112),'ref':_0x3009df,'icon':_0x1d73c4}));});_0x15cc13[_0x3a3b32(0x1ba)]=_0x3a3b32(0x1e5);function _0x1d2708(_0x3b4ffa){const _0x268631=_0x3a3b32;switch(_0x3b4ffa){case _0x56139f['CollaborationStatus'][_0x268631(0x24e)]:return'collabStatus.offline';case _0x56139f[_0x268631(0x197)][_0x268631(0x15d)]:return _0x268631(0x302);case _0x56139f[_0x268631(0x197)][_0x268631(0x30e)]:return _0x268631(0x9b);case _0x56139f[_0x268631(0x197)][_0x268631(0x201)]:return _0x268631(0x1f7);case _0x56139f[_0x268631(0x197)][_0x268631(0x2e9)]:case _0x56139f[_0x268631(0x197)]['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x56139f[_0x268631(0x197)][_0x268631(0x1a9)]:case _0x56139f[_0x268631(0x197)]['PENDING']:return _0x268631(0x25c);}}function _0x2cfcc7(_0x11689e){const _0xbadc14=_0x3a3b32,{status$:_0x109b7c}=_0x11689e,_0x2250d1=_0x218fbf[_0xbadc14(0x16b)](_0x109b7c,_0x56139f[_0xbadc14(0x197)][_0xbadc14(0x201)]),_0x5073d5=_0x218fbf[_0xbadc14(0x2cb)](_0x5cc899[_0xbadc14(0x268)]),_0x5ea54a=_0x218fbf[_0xbadc14(0x2cb)](_0x56139f[_0xbadc14(0x23f)]),_0x44f995=_0x2250d1!==_0x56139f[_0xbadc14(0x197)][_0xbadc14(0x24e)],_0x1e60db=_0x5073d5['t'](_0x1d2708(_0x2250d1)),_0xebafea=_0x44f995?_0x73eb1b[_0xbadc14(0xa6)](_0x15cc13,{}):_0x73eb1b['jsx'](_0x2dd16e,{}),_0x16ed70=_0x4d5c38['useCallback'](()=>{const _0x2ee28d=_0xbadc14;_0x44f995||_0x5ea54a[_0x2ee28d(0x160)]();},[_0x44f995,_0x5ea54a]);function _0x384662(){const _0x581d84=_0xbadc14;return _0x73eb1b[_0x581d84(0x165)]('div',{'className':'univer-flex\x20univer-items-center','onClick':_0x16ed70,'children':[_0x73eb1b['jsx'](_0x581d84(0x2c3),{'className':_0x3b992f[_0x581d84(0x17e)](_0x581d84(0x18d),{'univer-text-green-500':_0x44f995,'univer-text-red-500':!_0x44f995}),'children':_0xebafea}),_0x73eb1b[_0x581d84(0xa6)](_0x581d84(0x2c3),{'className':'univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','children':_0x1e60db})]});}return _0x44f995?_0x384662():_0x73eb1b[_0xbadc14(0xa6)](_0x3b992f[_0xbadc14(0x11a)],{'title':_0x5073d5['t']('collab-client.tooltip.reconnect'),'children':_0x384662()});}var _0x2474bd=Object[_0x3a3b32(0x26d)],_0x2d9012=(_0x516f1d,_0xb1633d,_0x4579ba,_0x372688)=>{const _0x51bcb3=_0x3a3b32;for(var _0x56a9ce=_0x372688>0x1?void 0x0:_0x372688?_0x2474bd(_0xb1633d,_0x4579ba):_0xb1633d,_0x1bbde2=_0x516f1d[_0x51bcb3(0xb3)]-0x1,_0x20ed30;_0x1bbde2>=0x0;_0x1bbde2--)(_0x20ed30=_0x516f1d[_0x1bbde2])&&(_0x56a9ce=_0x20ed30(_0x56a9ce)||_0x56a9ce);return _0x56a9ce;},_0x32e9fa=(_0x4fc09a,_0xafa3de)=>(_0xf402b2,_0x4ae25a)=>_0xafa3de(_0xf402b2,_0x4ae25a,_0x4fc09a);_0x2bf47a[_0x3a3b32(0x2eb)]=class extends _0x5cc899[_0x3a3b32(0x1b6)]{constructor(_0x2d17ac,_0x104ec3,_0x2c81fb,_0x3f287a){const _0xab8f6d=_0x3a3b32;super(),_0x40a5a2(this,'_status$',new _0x16a76f[(_0xab8f6d(0x13e))](_0x56139f['CollaborationStatus'][_0xab8f6d(0x201)])),(this[_0xab8f6d(0x30f)]=_0x2d17ac,this['_injector']=_0x104ec3,this[_0xab8f6d(0x1d8)]=_0x2c81fb,this[_0xab8f6d(0x2ab)]=_0x3f287a,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x3a3b32(0x2b3)](){const _0x1b55df=_0x3a3b32;this['disposeWithMe'](this[_0x1b55df(0x30f)][_0x1b55df(0x159)]['pipe'](_0x16a76f['switchMap'](()=>{const _0x291353=_0x1b55df,_0x4920ba=this[_0x291353(0x30f)][_0x291353(0x1fe)]();return _0x4920ba?this[_0x291353(0x1d8)][_0x291353(0x141)](_0x4920ba[_0x291353(0x30c)]()):_0x16a76f['of'](null);}),_0x16a76f['switchMap'](_0x2ce918=>_0x2ce918?_0x2ce918[_0x1b55df(0x2ba)]:_0x16a76f['of'](_0x56139f[_0x1b55df(0x197)][_0x1b55df(0x201)])))[_0x1b55df(0x239)](_0x263dee=>{const _0x4b37a7=_0x1b55df;this[_0x4b37a7(0x2b0)][_0x4b37a7(0x282)](_0x263dee);}));}[_0x3a3b32(0x31b)](){const _0x5336a9=_0x3a3b32;this[_0x5336a9(0x16f)](this[_0x5336a9(0x2ab)][_0x5336a9(0x106)](_0x218fbf[_0x5336a9(0x2b8)]['HEADER_MENU'],()=>_0x218fbf[_0x5336a9(0x271)](_0x537d23({'status$':this['_status$'][_0x5336a9(0x1ff)]()}),this['_injector'])));}},_0x2bf47a[_0x3a3b32(0x2eb)]=_0x2d9012([_0x32e9fa(0x0,_0x5cc899[_0x3a3b32(0x10f)]),_0x32e9fa(0x1,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899[_0x3a3b32(0x281)])),_0x32e9fa(0x2,_0x5cc899[_0x3a3b32(0x27f)](_0x56139f[_0x3a3b32(0x158)])),_0x32e9fa(0x3,_0x218fbf[_0x3a3b32(0x101)])],_0x2bf47a[_0x3a3b32(0x2eb)]);function _0x537d23(_0x40624c){const {status$:_0x405d82}=_0x40624c;return function(){return _0x73eb1b['jsx'](_0x2cfcc7,{'status$':_0x405d82});};}var _0x564e58=Object[_0x3a3b32(0x26d)],_0x11bf26=(_0x2a505e,_0x7f07e0,_0x4cb76e,_0x320a42)=>{const _0x458c53=_0x3a3b32;for(var _0x4e8871=_0x320a42>0x1?void 0x0:_0x320a42?_0x564e58(_0x7f07e0,_0x4cb76e):_0x7f07e0,_0x1816f0=_0x2a505e[_0x458c53(0xb3)]-0x1,_0x5a41f0;_0x1816f0>=0x0;_0x1816f0--)(_0x5a41f0=_0x2a505e[_0x1816f0])&&(_0x4e8871=_0x5a41f0(_0x4e8871)||_0x4e8871);return _0x4e8871;},_0x538c5b=(_0x382a82,_0xd8cc0)=>(_0x232fc0,_0x2d1d98)=>_0xd8cc0(_0x232fc0,_0x2d1d98,_0x382a82);let _0x705ea4=class extends _0x5cc899[_0x3a3b32(0x1b6)]{constructor(_0x29fac4,_0x28518c,_0x3ac517,_0x2a1575,_0x570f11,_0x40d312){const _0x2228ad=_0x3a3b32;super(),this[_0x2228ad(0x2df)]=_0x29fac4,this[_0x2228ad(0x13d)]=_0x28518c,this[_0x2228ad(0x2fe)]=_0x3ac517,this[_0x2228ad(0x2d0)]=_0x2a1575,this[_0x2228ad(0x295)]=_0x570f11,this[_0x2228ad(0x279)]=_0x40d312,this[_0x2228ad(0xd3)](),this[_0x2228ad(0xc7)]();}[_0x3a3b32(0xd3)](){const _0x1e8bfd=_0x3a3b32;this[_0x1e8bfd(0x16f)](this[_0x1e8bfd(0x2df)][_0x1e8bfd(0x170)](()=>{const _0x2c9f98=_0x1e8bfd;if(this[_0x2c9f98(0x13d)][_0x2c9f98(0xd1)][_0x2c9f98(0x321)])return this[_0x2c9f98(0x279)]['t'](_0x2c9f98(0x1f4));}));}[_0x3a3b32(0xc7)](){const _0x17ded3=_0x3a3b32;this[_0x17ded3(0x16f)](this[_0x17ded3(0x2fe)][_0x17ded3(0x27b)][_0x17ded3(0x239)](_0x19ee9d=>{const _0x268e4e=_0x17ded3;_0x19ee9d['id']===_0x56139f[_0x268e4e(0x2a3)][_0x268e4e(0x29e)]&&this['_messageService'][_0x268e4e(0x2bb)]({'type':_0x3b992f['MessageType']['Warning'],'content':this[_0x268e4e(0x279)]['t']('collaboration.single-unit.warning')}),_0x19ee9d['id']===_0x56139f[_0x268e4e(0x2a3)]['CLOSE_ROOM']&&this[_0x268e4e(0x2d0)][_0x268e4e(0x2bb)]({'type':_0x3b992f[_0x268e4e(0xf4)][_0x268e4e(0x2db)],'content':this[_0x268e4e(0x279)]['t'](_0x268e4e(0x32a))}),_0x19ee9d['id']===_0x56139f[_0x268e4e(0x2a3)][_0x268e4e(0x1a0)]&&this[_0x268e4e(0x295)][_0x268e4e(0x2bb)]({'title':this[_0x268e4e(0x279)]['t'](_0x268e4e(0xe4)),'content':this[_0x268e4e(0x279)]['t'](_0x268e4e(0x1e1)),'type':_0x268e4e(0x250),'duration':0x0}),_0x19ee9d['id']===_0x56139f[_0x268e4e(0x2a3)][_0x268e4e(0x15d)]&&this[_0x268e4e(0x2d0)][_0x268e4e(0x2bb)]({'type':_0x3b992f['MessageType']['Error'],'content':this[_0x268e4e(0x279)]['t'](_0x268e4e(0x32a))+'('+_0x19ee9d[_0x268e4e(0x124)]+')'}),_0x19ee9d['id']===_0x56139f[_0x268e4e(0x2a3)][_0x268e4e(0x23d)]&&this[_0x268e4e(0x2d0)]['show']({'type':_0x3b992f[_0x268e4e(0xf4)]['Warning'],'content':this[_0x268e4e(0x279)]['t'](_0x19ee9d[_0x268e4e(0x124)]||'')}),_0x19ee9d['id']===_0x56139f['CollaborationUIEventId'][_0x268e4e(0x25f)]&&this['_messageService'][_0x268e4e(0x2bb)]({'type':_0x3b992f[_0x268e4e(0xf4)][_0x268e4e(0x2db)],'content':this['_localeService']['t'](_0x268e4e(0x169))}),_0x19ee9d['id']===_0x56139f[_0x268e4e(0x2a3)][_0x268e4e(0x1fb)]&&this['_messageService'][_0x268e4e(0x2bb)]({'type':_0x3b992f[_0x268e4e(0xf4)][_0x268e4e(0x24d)],'content':this[_0x268e4e(0x279)]['t']('session.connection-failed')}),_0x19ee9d['id']===_0x56139f[_0x268e4e(0x2a3)][_0x268e4e(0xb7)]&&this[_0x268e4e(0x2d0)]['show']({'type':_0x3b992f[_0x268e4e(0xf4)]['Error'],'content':this[_0x268e4e(0x279)]['t'](_0x268e4e(0x1b3))});}));}};_0x705ea4=_0x11bf26([_0x538c5b(0x0,_0x218fbf['IBeforeCloseService']),_0x538c5b(0x1,_0x56139f['ILocalCacheService']),_0x538c5b(0x2,_0x5cc899['Inject'](_0x56139f[_0x3a3b32(0x119)])),_0x538c5b(0x3,_0x218fbf['IMessageService']),_0x538c5b(0x4,_0x218fbf[_0x3a3b32(0x313)]),_0x538c5b(0x5,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899[_0x3a3b32(0x268)]))],_0x705ea4);const _0x41e66c='collaboration-client-ui.config',_0x5918aa={},_0x179a0b=_0x5cc899[_0x3a3b32(0x103)]('uni.network.url-service');var _0x330d67=Object[_0x3a3b32(0x26d)],_0x57bb93=(_0x9775cd,_0x2ed15b,_0x234fab,_0x1f124e)=>{const _0x27420f=_0x3a3b32;for(var _0x327126=_0x1f124e>0x1?void 0x0:_0x1f124e?_0x330d67(_0x2ed15b,_0x234fab):_0x2ed15b,_0x3b352b=_0x9775cd[_0x27420f(0xb3)]-0x1,_0x3c4898;_0x3b352b>=0x0;_0x3b352b--)(_0x3c4898=_0x9775cd[_0x3b352b])&&(_0x327126=_0x3c4898(_0x327126)||_0x327126);return _0x327126;},_0x5cbe33=(_0x93807d,_0x41a98f)=>(_0x786957,_0x39cf32)=>_0x41a98f(_0x786957,_0x39cf32,_0x93807d);_0x2bf47a['CollaborationDataLoaderController']=class extends _0x5cc899[_0x3a3b32(0x2ef)]{constructor(_0x2ea833,_0x2ca6f2,_0x1d6cf3,_0x2f41a3,_0x424538){const _0x42ee49=_0x3a3b32;super(),this[_0x42ee49(0xee)]=_0x2ea833,this['_logService']=_0x2ca6f2,this[_0x42ee49(0x25d)]=_0x1d6cf3,this[_0x42ee49(0x1d2)]=_0x2f41a3,_0x424538?_0x424538==null||_0x424538[_0x42ee49(0x2d6)]()[_0x42ee49(0x20d)](()=>this[_0x42ee49(0xa2)]()):(this[_0x42ee49(0x26b)][_0x42ee49(0x1cc)](_0x42ee49(0x18a),_0x42ee49(0xcc)),this['_init']());}async[_0x3a3b32(0xa2)](){const _0x11689a=_0x3a3b32,_0x230de4=this['_urlService']['getParam'](_0x11689a(0x139)),_0x4c9495=this['_urlService']['getParam'](_0x11689a(0x189)),_0x1aabf1=this['_urlService']['getParam'](_0x11689a(0xf2));if(!_0x230de4||!_0x4c9495){this[_0x11689a(0x26b)][_0x11689a(0x1cc)](_0x11689a(0x18a),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x12bd36=await this[_0x11689a(0x1d2)][_0x11689a(0x143)](_0x230de4,Number(_0x4c9495),_0x1aabf1);_0x12bd36&&_0x12bd36 instanceof _0x5cc899[_0x11689a(0x247)]&&this[_0x11689a(0x181)](_0x12bd36);}async[_0x3a3b32(0x181)](_0x3a70c6){const _0x97e8be=_0x3a3b32;await this[_0x97e8be(0x16a)](_0x3a70c6),_0x3a70c6[_0x97e8be(0x1dc)][_0x97e8be(0x9a)](_0x16a76f['takeUntil'](this[_0x97e8be(0x27c)]))[_0x97e8be(0x239)](_0x520083=>{const _0x96494a=_0x97e8be;_0x520083&&this[_0x96494a(0x130)](_0x520083);}),this[_0x97e8be(0xee)][_0x97e8be(0x125)]['pipe'](_0x16a76f[_0x97e8be(0x105)](this[_0x97e8be(0x27c)]))['subscribe'](()=>this[_0x97e8be(0x16a)](_0x3a70c6));}[_0x3a3b32(0x130)](_0x422663,_0x4b2aa5=!0x1){const _0x4d113d=_0x3a3b32,_0x5d5766=this[_0x4d113d(0xee)]['getParam'](_0x4d113d(0xf2));_0x422663[_0x4d113d(0x17c)]()!==_0x5d5766&&this[_0x4d113d(0xee)]['setParam'](_0x4d113d(0xf2),_0x422663['getSheetId'](),_0x4b2aa5);}async[_0x3a3b32(0x16a)](_0x34e679){const _0x516011=_0x3a3b32;var _0x2e0ff0;const _0x401537=this[_0x516011(0xee)]['getParam'](_0x516011(0xf2));if(!_0x401537||!_0x34e679[_0x516011(0x166)](_0x401537)){const _0x335a9e=_0x34e679[_0x516011(0x95)]()[0x0],_0x21f100=_0x34e679[_0x516011(0x166)](_0x335a9e);if(!_0x21f100)return;this[_0x516011(0x130)](_0x21f100,!0x0),await this[_0x516011(0x25d)][_0x516011(0x1cf)](_0x156504[_0x516011(0x23c)]['id'],{'unitId':_0x34e679[_0x516011(0x30c)](),'subUnitId':_0x335a9e});return;}((_0x2e0ff0=_0x34e679[_0x516011(0x214)]())==null?void 0x0:_0x2e0ff0[_0x516011(0x17c)]())!==_0x401537&&await this[_0x516011(0x25d)][_0x516011(0x1cf)](_0x156504['SetWorksheetActivateCommand']['id'],{'unitId':_0x34e679[_0x516011(0x30c)](),'subUnitId':_0x401537});}},_0x2bf47a[_0x3a3b32(0x202)]=_0x57bb93([_0x5cbe33(0x0,_0x179a0b),_0x5cbe33(0x1,_0x5cc899[_0x3a3b32(0xca)]),_0x5cbe33(0x2,_0x5cc899[_0x3a3b32(0x234)]),_0x5cbe33(0x3,_0x5cc899[_0x3a3b32(0x27f)](_0x56139f['DataLoaderService'])),_0x5cbe33(0x4,_0x5cc899['Optional'](_0x2a95b8['IRemoteInstanceService']))],_0x2bf47a['CollaborationDataLoaderController']);var _0x437650=Object[_0x3a3b32(0x26d)],_0x3e77a7=(_0x674d2a,_0x414a35,_0x539fef,_0x2b923a)=>{const _0x2703be=_0x3a3b32;for(var _0x5195ee=_0x2b923a>0x1?void 0x0:_0x2b923a?_0x437650(_0x414a35,_0x539fef):_0x414a35,_0x3fcbf5=_0x674d2a[_0x2703be(0xb3)]-0x1,_0x2701f1;_0x3fcbf5>=0x0;_0x3fcbf5--)(_0x2701f1=_0x674d2a[_0x3fcbf5])&&(_0x5195ee=_0x2701f1(_0x5195ee)||_0x5195ee);return _0x5195ee;},_0x4dc6d0=(_0x3e6281,_0x107b93)=>(_0x3274be,_0x29915c)=>_0x107b93(_0x3274be,_0x29915c,_0x3e6281);let _0x4ba19a=class{constructor(_0x5a9cb7,_0x307873,_0x377e08){const _0x1e5439=_0x3a3b32;this[_0x1e5439(0x2ce)]=_0x5a9cb7,this['_transformService']=_0x307873,this['_renderManagerService']=_0x377e08;}[_0x3a3b32(0x2e1)](_0x4e03c4){const _0x3f85ed=_0x3a3b32;this[_0x3f85ed(0x2a6)](_0x4e03c4),this[_0x3f85ed(0xf7)](_0x4e03c4);}[_0x3a3b32(0x290)](_0x8b36aa){const _0x395f35=_0x3a3b32,{unitID:_0x46280a}=_0x8b36aa,_0x48fde0=this[_0x395f35(0x138)][_0x395f35(0xed)](_0x46280a)[_0x395f35(0x164)](_0x45cbcb[_0x395f35(0x10a)]),{redoCache:_0x5c6ffa}=_0x48fde0[_0x395f35(0x1c5)]();if(_0x5c6ffa[_0x395f35(0xb3)]===0x0)return _0x8b36aa;let _0x31c057=_0x5cc899[_0x395f35(0xa7)][_0x395f35(0x257)](_0x8b36aa[_0x395f35(0x2de)][0x0]);for(let _0x4f280a=0x0;_0x4f280a<_0x5c6ffa[_0x395f35(0xb3)];_0x4f280a++){const _0x4657e0={'id':_0x395f35(0x186),'params':{..._0x5c6ffa[_0x4f280a]}},_0xe126c2=this[_0x395f35(0x12f)][_0x395f35(0x2dd)](_0x31c057,_0x4657e0,!0x1);if(_0x158f44[_0x395f35(0x1d4)](_0xe126c2))throw _0xe126c2[_0x395f35(0x250)];_0x31c057=_0xe126c2[_0x395f35(0x16d)];}return{..._0x5cc899[_0x395f35(0xa7)][_0x395f35(0x257)](_0x8b36aa),'mutations':[_0x31c057]};}[_0x3a3b32(0x2a6)](_0x2b9a51){const _0x26e4f2=_0x3a3b32,{unitID:_0x172e88}=_0x2b9a51,_0x452ecc=this[_0x26e4f2(0x138)][_0x26e4f2(0xed)](_0x172e88)[_0x26e4f2(0x164)](_0x45cbcb[_0x26e4f2(0x10a)]),{undoCache:_0x28c323,redoCache:_0x163c98}=_0x452ecc['getUndoRedoMutationParamsCache']();if(_0x28c323[_0x26e4f2(0xb3)]===0x0||_0x163c98[_0x26e4f2(0xb3)]===0x0)return;const _0x12724d=[],_0x2bf706=[];let _0x9c722=_0x5cc899[_0x26e4f2(0xa7)][_0x26e4f2(0x257)](_0x2b9a51['mutations'][0x0]),_0x2c69d6=_0x5cc899[_0x26e4f2(0xa7)][_0x26e4f2(0x257)](_0x2b9a51['mutations'][0x0]);for(let _0x36e583=_0x28c323['length']-0x1;_0x36e583>=0x0;_0x36e583--){const _0x203194={'id':_0x26e4f2(0x186),'params':{..._0x28c323[_0x36e583]}},_0x71655={'id':'doc.mutation.rich-text-editing','params':{..._0x163c98[_0x36e583]}},_0x19d917=this[_0x26e4f2(0x12f)]['transformMutation'](_0x9c722,_0x203194,!0x1),_0x67ddbc=this[_0x26e4f2(0x12f)][_0x26e4f2(0x2dd)](_0x2c69d6,_0x71655,!0x1);if(_0x158f44[_0x26e4f2(0x1d4)](_0x19d917))throw _0x19d917[_0x26e4f2(0x250)];if(_0x158f44['isTransformMutationFailure'](_0x67ddbc))throw _0x67ddbc[_0x26e4f2(0x250)];_0x12724d[_0x26e4f2(0x212)](_0x19d917[_0x26e4f2(0xfe)][_0x26e4f2(0x323)]),_0x2bf706[_0x26e4f2(0x212)](_0x67ddbc[_0x26e4f2(0xfe)]['params']),_0x9c722=_0x19d917[_0x26e4f2(0x16d)],_0x2c69d6=_0x67ddbc['m1Prime'];}_0x452ecc[_0x26e4f2(0xc8)]({'undoCache':_0x12724d,'redoCache':_0x2bf706});}['_transformPreviousActiveRange'](_0x58427d){const _0x3644a1=_0x3a3b32,{unitID:_0x17692b}=_0x58427d,_0x1e5f10=this[_0x3644a1(0x138)]['getRenderById'](_0x17692b)['with'](_0x45cbcb[_0x3644a1(0x10a)]),_0x5c8bd5=_0x1e5f10[_0x3644a1(0x2ed)]();if(_0x5c8bd5==null)return;const _0x5a689d=[{'id':_0x3644a1(0x186),'params':{'unitId':_0x58427d[_0x3644a1(0x25a)],'actions':null,'textRanges':[_0x5c8bd5]}}],_0x5c4ed0=this['_transformService'][_0x3644a1(0x2ff)](_0x58427d,_0x5a689d);if(!_0x158f44[_0x3644a1(0xbe)](_0x5c4ed0))throw _0x5c4ed0['error'];const _0x456aa5=_0x5c4ed0[_0x3644a1(0xfe)][0x0][_0x3644a1(0x323)][_0x3644a1(0x318)];Array[_0x3644a1(0xbc)](_0x456aa5)&&_0x456aa5[_0x3644a1(0xb3)]&&_0x1e5f10[_0x3644a1(0x304)](_0x456aa5[0x0]);}};_0x4ba19a=_0x3e77a7([_0x4dc6d0(0x0,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899[_0x3a3b32(0x281)])),_0x4dc6d0(0x1,_0x158f44[_0x3a3b32(0x153)]),_0x4dc6d0(0x2,_0xa3a2fa['IRenderManagerService'])],_0x4ba19a);var _0x24a758=Object['getOwnPropertyDescriptor'],_0x14205f=(_0x44e38d,_0x2fdf82,_0x1b948c,_0x3e50c0)=>{const _0x508aba=_0x3a3b32;for(var _0x214838=_0x3e50c0>0x1?void 0x0:_0x3e50c0?_0x24a758(_0x2fdf82,_0x1b948c):_0x2fdf82,_0xf75ffc=_0x44e38d[_0x508aba(0xb3)]-0x1,_0x44b963;_0xf75ffc>=0x0;_0xf75ffc--)(_0x44b963=_0x44e38d[_0xf75ffc])&&(_0x214838=_0x44b963(_0x214838)||_0x214838);return _0x214838;},_0xd32f77=(_0x3ea8d3,_0x2cb2b7)=>(_0x124e3e,_0x202f43)=>_0x2cb2b7(_0x124e3e,_0x202f43,_0x3ea8d3);let _0x1568d1=class{constructor(_0xff9b68,_0x1e6e6d,_0x5a714e){const _0x3d1303=_0x3a3b32;this[_0x3d1303(0x2ce)]=_0xff9b68,this[_0x3d1303(0x12f)]=_0x1e6e6d,this[_0x3d1303(0x1fa)]=_0x5a714e;}[_0x3a3b32(0x1e4)](_0x4aa11b){const _0x5779e3=_0x3a3b32;this[_0x5779e3(0xb0)](_0x4aa11b);}[_0x3a3b32(0x290)](_0x37747e){const _0x38bb92=_0x3a3b32,{unitID:_0x239575}=_0x37747e,{collaboration:_0x40d3e8}=this[_0x38bb92(0x1fa)][_0x38bb92(0x8d)](_0x239575);if(_0x40d3e8['length']===0x0)return _0x37747e;let _0x50f5e4=_0x5cc899[_0x38bb92(0xa7)][_0x38bb92(0x257)](_0x37747e[_0x38bb92(0x2de)][0x0]);for(let _0x2b6f10=0x0;_0x2b6f10<_0x40d3e8[_0x38bb92(0xb3)];_0x2b6f10++){const _0x44d180={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x40d3e8[_0x2b6f10][_0x38bb92(0x196)],..._0x40d3e8[_0x2b6f10][_0x38bb92(0x2ac)]}},_0x59ab8d=this[_0x38bb92(0x12f)][_0x38bb92(0x2dd)](_0x50f5e4,_0x44d180,!0x1);if(_0x158f44[_0x38bb92(0x1d4)](_0x59ab8d))throw _0x59ab8d[_0x38bb92(0x250)];_0x50f5e4=_0x59ab8d[_0x38bb92(0x16d)];}return{..._0x5cc899['Tools'][_0x38bb92(0x257)](_0x37747e),'mutations':[_0x50f5e4]};}[_0x3a3b32(0xb0)](_0x26da2d){const _0x57b4a5=_0x3a3b32,{unitID:_0x3b3b5b}=_0x26da2d,{history:_0x46b1cb,collaboration:_0x51a44b}=this['_docStateChangeManagerService']['getStateCache'](_0x3b3b5b);if(_0x46b1cb['length']===0x0&&_0x51a44b[_0x57b4a5(0xb3)]===0x0)return;const _0x158ea1=[],_0x2e820b=[];let _0x624c6e=_0x5cc899[_0x57b4a5(0xa7)][_0x57b4a5(0x257)](_0x26da2d[_0x57b4a5(0x2de)][0x0]),_0x464dd2=_0x5cc899[_0x57b4a5(0xa7)][_0x57b4a5(0x257)](_0x26da2d[_0x57b4a5(0x2de)][0x0]);for(let _0x279563=_0x46b1cb[_0x57b4a5(0xb3)]-0x1;_0x279563>=0x0;_0x279563--){const _0x12ea0f={'id':_0x57b4a5(0x186),'params':{'unitId':_0x46b1cb[_0x279563][_0x57b4a5(0x196)],..._0x46b1cb[_0x279563][_0x57b4a5(0x1e7)]}},_0x5c7910={'id':_0x57b4a5(0x186),'params':{'unitId':_0x46b1cb[_0x279563][_0x57b4a5(0x196)],..._0x46b1cb[_0x279563][_0x57b4a5(0x2ac)]}},_0x435575=this['_transformService']['transformMutation'](_0x624c6e,_0x12ea0f,!0x1),_0xab5114=this[_0x57b4a5(0x12f)][_0x57b4a5(0x2dd)](_0x464dd2,_0x5c7910,!0x1);if(_0x158f44[_0x57b4a5(0x1d4)](_0x435575))throw _0x435575['error'];if(_0x158f44[_0x57b4a5(0x1d4)](_0xab5114))throw _0xab5114[_0x57b4a5(0x250)];_0x158ea1['unshift']({..._0x46b1cb[_0x279563],'undoState':_0x435575[_0x57b4a5(0xfe)]['params'],'redoState':_0xab5114[_0x57b4a5(0xfe)][_0x57b4a5(0x323)]}),_0x624c6e=_0x435575[_0x57b4a5(0x16d)],_0x464dd2=_0xab5114[_0x57b4a5(0x16d)];}_0x624c6e=_0x5cc899['Tools'][_0x57b4a5(0x257)](_0x26da2d[_0x57b4a5(0x2de)][0x0]),_0x464dd2=_0x5cc899['Tools']['deepClone'](_0x26da2d['mutations'][0x0]);for(let _0x989dda=_0x51a44b[_0x57b4a5(0xb3)]-0x1;_0x989dda>=0x0;_0x989dda--){const _0x3e9035={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x51a44b[_0x989dda][_0x57b4a5(0x196)],..._0x51a44b[_0x989dda]['undoState']}},_0x7a776c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x51a44b[_0x989dda][_0x57b4a5(0x196)],..._0x51a44b[_0x989dda][_0x57b4a5(0x2ac)]}},_0x46e638=this[_0x57b4a5(0x12f)]['transformMutation'](_0x624c6e,_0x3e9035,!0x1),_0x4bc47d=this[_0x57b4a5(0x12f)][_0x57b4a5(0x2dd)](_0x464dd2,_0x7a776c,!0x1);if(_0x158f44[_0x57b4a5(0x1d4)](_0x46e638))throw _0x46e638[_0x57b4a5(0x250)];if(_0x158f44[_0x57b4a5(0x1d4)](_0x4bc47d))throw _0x4bc47d[_0x57b4a5(0x250)];_0x2e820b[_0x57b4a5(0x212)]({..._0x51a44b[_0x989dda],'undoState':_0x46e638[_0x57b4a5(0xfe)]['params'],'redoState':_0x4bc47d[_0x57b4a5(0xfe)][_0x57b4a5(0x323)]}),_0x624c6e=_0x46e638[_0x57b4a5(0x16d)],_0x464dd2=_0x4bc47d[_0x57b4a5(0x16d)];}this[_0x57b4a5(0x1fa)]['setStateCache'](_0x3b3b5b,{'history':_0x158ea1,'collaboration':_0x2e820b});}};_0x1568d1=_0x14205f([_0xd32f77(0x0,_0x5cc899['Inject'](_0x5cc899[_0x3a3b32(0x281)])),_0xd32f77(0x1,_0x158f44[_0x3a3b32(0x153)]),_0xd32f77(0x2,_0x5cc899['Inject'](_0x45cbcb['DocStateChangeManagerService']))],_0x1568d1);var _0x53f23e=Object[_0x3a3b32(0x26d)],_0x20e9a0=(_0x5a9a07,_0x182da4,_0x181524,_0x5e555b)=>{const _0x5b6986=_0x3a3b32;for(var _0x3922ed=_0x5e555b>0x1?void 0x0:_0x5e555b?_0x53f23e(_0x182da4,_0x181524):_0x182da4,_0x12d0e5=_0x5a9a07[_0x5b6986(0xb3)]-0x1,_0x11fa7c;_0x12d0e5>=0x0;_0x12d0e5--)(_0x11fa7c=_0x5a9a07[_0x12d0e5])&&(_0x3922ed=_0x11fa7c(_0x3922ed)||_0x3922ed);return _0x3922ed;},_0x5ad132=(_0x2d66be,_0x158ca0)=>(_0x3e0623,_0x2f5911)=>_0x158ca0(_0x3e0623,_0x2f5911,_0x2d66be);let _0x3dddae=class{constructor(_0x7f93fc,_0x28a4db){const _0x2f3b46=_0x3a3b32;this['_injector']=_0x7f93fc,this[_0x2f3b46(0x12f)]=_0x28a4db;}[_0x3a3b32(0x132)](_0x51ac3e){const _0x2e135a=_0x3a3b32;var _0x43ab58;const _0x148875=this['_injector']['get'](_0xcf3dad[_0x2e135a(0x1de)]),_0x133e91=(_0x43ab58=_0x148875[_0x2e135a(0x222)]())!=null?_0x43ab58:[];if(_0x133e91['length']===0x0)return;const _0x9c10b8=_0x51ac3e[_0x2e135a(0x25a)],_0x389837=[{'id':_0x2e135a(0x186),'params':{'unitId':_0x9c10b8,'actions':null,'textRanges':_0x133e91}}],_0x7f8970=this[_0x2e135a(0x12f)][_0x2e135a(0x2ff)](_0x51ac3e,_0x389837);if(!_0x158f44['isTransformMutationsWithChangesetSuccess'](_0x7f8970))throw _0x7f8970['error'];const _0x467b00=_0x7f8970[_0x2e135a(0xfe)][0x0][_0x2e135a(0x323)]['textRanges'];Array[_0x2e135a(0xbc)](_0x467b00)&&_0x467b00[_0x2e135a(0xb3)]&&_0x148875[_0x2e135a(0x29a)](_0x467b00,{'unitId':_0x9c10b8,'subUnitId':_0x9c10b8},!0x1);}};_0x3dddae=_0x20e9a0([_0x5ad132(0x0,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899[_0x3a3b32(0x281)])),_0x5ad132(0x1,_0x158f44[_0x3a3b32(0x153)])],_0x3dddae);var _0x21bf26=Object[_0x3a3b32(0x26d)],_0x5849df=(_0xa6bdb7,_0x5556b1,_0x41a3f3,_0x164af1)=>{const _0x4c189e=_0x3a3b32;for(var _0x3cc068=_0x164af1>0x1?void 0x0:_0x164af1?_0x21bf26(_0x5556b1,_0x41a3f3):_0x5556b1,_0xba20c7=_0xa6bdb7[_0x4c189e(0xb3)]-0x1,_0x57a017;_0xba20c7>=0x0;_0xba20c7--)(_0x57a017=_0xa6bdb7[_0xba20c7])&&(_0x3cc068=_0x57a017(_0x3cc068)||_0x3cc068);return _0x3cc068;},_0x47a9d7=(_0x5291b0,_0x10d5bc)=>(_0x2581c9,_0x2ff5fd)=>_0x10d5bc(_0x2581c9,_0x2ff5fd,_0x5291b0);let _0x5002a1=class extends _0x5cc899['Disposable']{constructor(_0x3dcbda,_0x55e0a2,_0x20a728,_0x7fb3be,_0x45d953,_0x2726b4,_0x3d305d,_0x173c8c){const _0x512284=_0x3a3b32;super(),_0x40a5a2(this,_0x512284(0x2b0),new _0x16a76f[(_0x512284(0x13e))](_0x56139f[_0x512284(0x197)][_0x512284(0x201)])),(this['_docStateChangeManagerService']=_0x3dcbda,this[_0x512284(0x1d8)]=_0x55e0a2,this[_0x512284(0x275)]=_0x20a728,this[_0x512284(0x216)]=_0x7fb3be,this[_0x512284(0x13b)]=_0x45d953,this[_0x512284(0x22e)]=_0x2726b4,this[_0x512284(0x2d0)]=_0x3d305d,this['_localeService']=_0x173c8c,this[_0x512284(0x10e)]());}[_0x3a3b32(0x10e)](){const _0x41958b=_0x3a3b32;this[_0x41958b(0x16f)](this[_0x41958b(0x1d8)][_0x41958b(0x285)][_0x41958b(0x239)](_0x37558b=>{const _0x57f16f=_0x41958b,_0x1f7704=this[_0x57f16f(0x1fa)][_0x57f16f(0x320)][_0x57f16f(0x239)](_0xc3e18a=>{const _0x59b140=_0x57f16f;if(_0xc3e18a==null)return;const {unitId:_0x4c7803,redoState:_0x4aa07c,commandId:_0x56d302}=_0xc3e18a;if(_0x4c7803!==_0x37558b[_0x59b140(0x25a)])return;const _0x1295f0={'id':_0x56d302,'type':_0x5cc899[_0x59b140(0x184)][_0x59b140(0x96)],'params':{'unitId':_0x4c7803,'actions':_0x4aa07c[_0x59b140(0x179)],'textRanges':null}};_0x37558b[_0x59b140(0xb1)](_0x1295f0);});if(_0x37558b['disposeWithMe'](_0x1f7704),_0x37558b instanceof _0x56139f['DocCollaborationEntity']){const _0x565462={'onTransformIME':_0x120672=>this[_0x57f16f(0x275)][_0x57f16f(0x2e1)](_0x120672),'onTransformState':_0x174471=>this[_0x57f16f(0x216)][_0x57f16f(0x1e4)](_0x174471),'onTransformSelections':_0x2abaf8=>this[_0x57f16f(0x13b)]['transformSelections'](_0x2abaf8),'onSyncEditingCollabCursor':_0x7d5ee4=>this[_0x57f16f(0x22e)][_0x57f16f(0x252)](_0x7d5ee4),'onTransformRemoteChangesetByIMECache':_0x42202e=>this['_docTransformIMECacheService'][_0x57f16f(0x290)](_0x42202e),'onTransformRemoteChangesetByStateCache':_0x15fa02=>this['_docTransformStateCacheService'][_0x57f16f(0x290)](_0x15fa02)};_0x37558b[_0x57f16f(0x2e2)](_0x565462);}}));}};_0x5002a1=_0x5849df([_0x47a9d7(0x0,_0x5cc899[_0x3a3b32(0x27f)](_0x45cbcb['DocStateChangeManagerService'])),_0x47a9d7(0x1,_0x5cc899[_0x3a3b32(0x27f)](_0x56139f[_0x3a3b32(0x158)])),_0x47a9d7(0x2,_0x5cc899[_0x3a3b32(0x27f)](_0x4ba19a)),_0x47a9d7(0x3,_0x5cc899['Inject'](_0x1568d1)),_0x47a9d7(0x4,_0x5cc899[_0x3a3b32(0x27f)](_0x3dddae)),_0x47a9d7(0x5,_0x5cc899[_0x3a3b32(0x27f)](_0x4fe24f)),_0x47a9d7(0x6,_0x218fbf['IMessageService']),_0x47a9d7(0x7,_0x5cc899['Inject'](_0x5cc899[_0x3a3b32(0x268)]))],_0x5002a1);var _0x31f53e=Object[_0x3a3b32(0x26d)],_0xb54e2f=(_0x72819b,_0x38332c,_0x1ff758,_0x49b013)=>{for(var _0x5b2680=_0x49b013>0x1?void 0x0:_0x49b013?_0x31f53e(_0x38332c,_0x1ff758):_0x38332c,_0x24874b=_0x72819b['length']-0x1,_0x4a8e34;_0x24874b>=0x0;_0x24874b--)(_0x4a8e34=_0x72819b[_0x24874b])&&(_0x5b2680=_0x4a8e34(_0x5b2680)||_0x5b2680);return _0x5b2680;},_0x1be74c=(_0xb127e6,_0x1e6385)=>(_0x3142e0,_0x3e9ce0)=>_0x1e6385(_0x3142e0,_0x3e9ce0,_0xb127e6);let _0x43aa91=class extends _0x5cc899[_0x3a3b32(0x1b6)]{constructor(_0x4e20b0,_0x531d5f,_0x577a63){const _0x42309d=_0x3a3b32;super(),_0x40a5a2(this,_0x42309d(0x20c),new Map()),_0x40a5a2(this,_0x42309d(0xd0),new Map()),_0x40a5a2(this,'_disabled',!0x1),(this[_0x42309d(0xec)]=_0x4e20b0,this[_0x42309d(0x284)]=_0x531d5f,this[_0x42309d(0x94)]=_0x577a63);}[_0x3a3b32(0x1a3)](){const _0x395295=_0x3a3b32;this[_0x395295(0x1f5)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get['saveTaskMap'](){return this['_saveTaskMap'];}[_0x3a3b32(0x23e)](){const _0x5dfbb4=_0x3a3b32;this[_0x5dfbb4(0x14e)]()['then'](()=>super[_0x5dfbb4(0x23e)]());}async[_0x3a3b32(0x270)](_0x189261){const _0x42a58a=_0x3a3b32;return this[_0x42a58a(0x1f5)]?null:this['_localStorageService'][_0x42a58a(0x2e6)](_0x56139f['getLocalCacheKey'](_0x189261));}async[_0x3a3b32(0x1d5)](_0x4638f4,_0x2d23ce){const _0x1857e6=_0x3a3b32;return!!this[_0x1857e6(0x284)]['setItem'](_0x4638f4,_0x2d23ce);}[_0x3a3b32(0x110)](_0x3f9749,_0x2e33d1,_0x15885f,_0x1c242b){const _0x5e41a9=_0x3a3b32,_0x423153=this[_0x5e41a9(0x94)][_0x5e41a9(0x1a6)](_0x3f9749);this['_cachedData']['set'](_0x3f9749,{'unitID':_0x3f9749,'type':_0x2e33d1,'awaitingChangeset':_0x15885f,'mutations':_0x1c242b,'rev':_0x423153}),this[_0x5e41a9(0xd0)][_0x5e41a9(0xd6)](_0x3f9749)||this['_scheduleSaving'](_0x3f9749);}[_0x3a3b32(0x1c4)](_0x3f3bb8){const _0x29e7e4=_0x3a3b32,_0x32d1f2=this[_0x29e7e4(0xba)]();_0x32d1f2===0x0?this[_0x29e7e4(0x27d)](_0x3f3bb8):this[_0x29e7e4(0xd0)][_0x29e7e4(0x194)](_0x3f3bb8,setTimeout(()=>this[_0x29e7e4(0x27d)](_0x3f3bb8),_0x32d1f2));}[_0x3a3b32(0xba)](){const _0x38c4c4=_0x3a3b32;var _0x12d99e;return(_0x12d99e=this[_0x38c4c4(0xec)]['getConfig'](_0x56139f[_0x38c4c4(0x9f)]))!=null?_0x12d99e:_0x56139f['LOCAL_CACHE_INTERVAL'];}[_0x3a3b32(0x27d)](_0x1da96a){const _0x1e85e6=_0x3a3b32,_0x20d5b7=this['_saveTaskMap']['get'](_0x1da96a);return _0x20d5b7!==void 0x0&&window['clearTimeout'](_0x20d5b7),this[_0x1e85e6(0x284)][_0x1e85e6(0x267)](_0x56139f[_0x1e85e6(0x109)](_0x1da96a),this[_0x1e85e6(0x20c)]['get'](_0x1da96a))[_0x1e85e6(0x20d)](()=>this[_0x1e85e6(0xd0)][_0x1e85e6(0x13c)](_0x1da96a));}async[_0x3a3b32(0x14e)](){const _0x2f950a=_0x3a3b32,_0x490d9f=[];this[_0x2f950a(0xd0)][_0x2f950a(0x291)]((_0x217829,_0x923f17)=>{const _0x135e13=_0x2f950a;window['clearTimeout'](_0x217829),_0x490d9f[_0x135e13(0x2f9)](this['_saveCache'](_0x923f17)[_0x135e13(0x20d)](()=>{const _0x1e0277=_0x135e13;this['_saveTaskMap'][_0x1e0277(0x13c)](_0x923f17);}));}),await Promise[_0x2f950a(0x258)](_0x490d9f);}};_0x43aa91=_0xb54e2f([_0x1be74c(0x0,_0x5cc899[_0x3a3b32(0x1a4)]),_0x1be74c(0x1,_0x5cc899[_0x3a3b32(0x1c2)]),_0x1be74c(0x2,_0x5cc899[_0x3a3b32(0x27f)](_0x158f44[_0x3a3b32(0x1db)]))],_0x43aa91);class _0x389b48 extends _0x5cc899[_0x3a3b32(0x2ef)]{constructor(){const _0x593893=_0x3a3b32;super(),_0x40a5a2(this,_0x593893(0x125)),this[_0x593893(0x125)]=_0x16a76f[_0x593893(0x211)](window,_0x593893(0x14b))[_0x593893(0x9a)](_0x16a76f['takeUntil'](this[_0x593893(0x27c)]),_0x16a76f[_0x593893(0x92)](0x1),_0x16a76f[_0x593893(0x22c)](void 0x0));}[_0x3a3b32(0x2b4)](_0xbda28,_0x388f06,_0xa21d51=!0x1){const _0x483b9a=_0x3a3b32,_0x55a72a=new URL(window[_0x483b9a(0x305)][_0x483b9a(0x2e8)]);_0x55a72a[_0x483b9a(0x1e6)]['set'](_0xbda28,_0x388f06),_0xa21d51?window['history']['replaceState']('','',_0x55a72a['toString']()):window['history'][_0x483b9a(0x253)]('','',_0x55a72a[_0x483b9a(0x8e)]());}[_0x3a3b32(0x157)](_0x10943b,_0x338af5=!0x1){const _0x5a2cf3=_0x3a3b32,_0x5d2b79=new URL(window[_0x5a2cf3(0x305)][_0x5a2cf3(0x2e8)]);_0x5d2b79[_0x5a2cf3(0x1e6)][_0x5a2cf3(0x13c)](_0x10943b),_0x338af5?window[_0x5a2cf3(0x11b)][_0x5a2cf3(0xdc)]('','',_0x5d2b79[_0x5a2cf3(0x8e)]()):window[_0x5a2cf3(0x11b)][_0x5a2cf3(0x253)]('','',_0x5d2b79[_0x5a2cf3(0x8e)]());}['getParam'](_0x56a962){const _0x27528d=_0x3a3b32;var _0x46c7da;return(_0x46c7da=new URL(window[_0x27528d(0x305)][_0x27528d(0x2e8)])[_0x27528d(0x1e6)][_0x27528d(0x2be)](_0x56a962))!=null?_0x46c7da:void 0x0;}}var _0x3db3a2=Object['defineProperty'],_0x2488fa=Object[_0x3a3b32(0x26d)],_0x5294a6=(_0x3def71,_0x535d2f,_0x163bf4)=>_0x535d2f in _0x3def71?_0x3db3a2(_0x3def71,_0x535d2f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x163bf4}):_0x3def71[_0x535d2f]=_0x163bf4,_0x43aa03=(_0x582991,_0x536654,_0x1ec4d8,_0x143e8e)=>{const _0x2d43a2=_0x3a3b32;for(var _0x51d01f=_0x143e8e>0x1?void 0x0:_0x143e8e?_0x2488fa(_0x536654,_0x1ec4d8):_0x536654,_0x25bf88=_0x582991[_0x2d43a2(0xb3)]-0x1,_0x2ec900;_0x25bf88>=0x0;_0x25bf88--)(_0x2ec900=_0x582991[_0x25bf88])&&(_0x51d01f=_0x2ec900(_0x51d01f)||_0x51d01f);return _0x51d01f;},_0x2b1506=(_0x517792,_0x294544)=>(_0x39c405,_0x4c3f4f)=>_0x294544(_0x39c405,_0x4c3f4f,_0x517792),_0x32d857=(_0x1ad088,_0x691de0,_0x5ab5c9)=>_0x5294a6(_0x1ad088,_0x691de0+'',_0x5ab5c9);const _0x34f13c='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x2bf47a[_0x3a3b32(0x235)]=class extends _0x5cc899['Plugin']{constructor(_0x31c913=_0x5918aa,_0x52b7d2,_0x1890bb,_0x46eacd){const _0x10c54c=_0x3a3b32;super(),this[_0x10c54c(0x17a)]=_0x31c913,this[_0x10c54c(0x138)]=_0x52b7d2,this[_0x10c54c(0x2ce)]=_0x1890bb,this[_0x10c54c(0xec)]=_0x46eacd;const {..._0x45d847}=_0x5cc899[_0x10c54c(0x19f)]({},_0x5918aa,this[_0x10c54c(0x17a)]);this[_0x10c54c(0xec)][_0x10c54c(0x15a)](_0x41e66c,_0x45d847);}[_0x3a3b32(0x1b4)](){const _0x420df3=_0x3a3b32;this[_0x420df3(0xaa)](),this[_0x420df3(0x10d)]();}[_0x3a3b32(0x31d)](){const _0x45e72a=_0x3a3b32;this[_0x45e72a(0x1ea)]();}['_registerDependencies'](){const _0x2966da=_0x3a3b32;var _0xb16b5e;const _0x59df19=[[_0x138d33],[_0x3dddae],[_0x4ba19a],[_0x1568d1],[_0x4fe24f],[_0x179a0b,{'useClass':_0x389b48}],[_0x225722[_0x2966da(0x177)],{'useClass':_0x225722[_0x2966da(0x209)]}],[_0x56139f[_0x2966da(0x19d)],{'useClass':_0x43aa91}],[_0x2bf47a[_0x2966da(0x2eb)]],[_0x5002a1],[_0x705ea4],[_0x6e1b81],[_0x51dd46],[_0x2bf47a[_0x2966da(0x202)]]];_0x5cc899['registerDependencies'](this[_0x2966da(0x2ce)],_0x5cc899[_0x2966da(0x1f2)](_0x59df19,(_0xb16b5e=this[_0x2966da(0x17a)])==null?void 0x0:_0xb16b5e[_0x2966da(0x255)]));}['_registerRenderDependencies'](){const _0x1cb4e4=_0x3a3b32;this[_0x1cb4e4(0x16f)](this['_renderManagerService'][_0x1cb4e4(0x294)](_0x5cc899[_0x1cb4e4(0x16e)][_0x1cb4e4(0x301)],[_0xf4fa45])),this[_0x1cb4e4(0x16f)](this[_0x1cb4e4(0x138)]['registerRenderModule'](_0x5cc899[_0x1cb4e4(0x16e)][_0x1cb4e4(0x1d3)],[_0x97462d]));}[_0x3a3b32(0x10d)](){const _0x38ffc0=_0x3a3b32;_0x5cc899[_0x38ffc0(0x100)](this['_injector'],[[_0x6e1b81],[_0x2bf47a[_0x38ffc0(0x2eb)]],[_0x5002a1],[_0x705ea4],[_0x2bf47a[_0x38ffc0(0x202)]]]);}},_0x32d857(_0x2bf47a[_0x3a3b32(0x235)],_0x3a3b32(0x14c),_0x34f13c),_0x2bf47a[_0x3a3b32(0x235)]=_0x43aa03([_0x5cc899[_0x3a3b32(0x200)](_0x56139f[_0x3a3b32(0x120)]),_0x2b1506(0x1,_0xa3a2fa[_0x3a3b32(0x231)]),_0x2b1506(0x2,_0x5cc899['Inject'](_0x5cc899[_0x3a3b32(0x281)])),_0x2b1506(0x3,_0x5cc899[_0x3a3b32(0x1a4)])],_0x2bf47a[_0x3a3b32(0x235)]);var _0xd77236=Object[_0x3a3b32(0x26d)],_0x4619ea=(_0x18bbcd,_0x2d6727,_0x323729,_0x34c7e2)=>{const _0xb54078=_0x3a3b32;for(var _0x285129=_0x34c7e2>0x1?void 0x0:_0x34c7e2?_0xd77236(_0x2d6727,_0x323729):_0x2d6727,_0xcc4cd4=_0x18bbcd[_0xb54078(0xb3)]-0x1,_0x53d9b6;_0xcc4cd4>=0x0;_0xcc4cd4--)(_0x53d9b6=_0x18bbcd[_0xcc4cd4])&&(_0x285129=_0x53d9b6(_0x285129)||_0x285129);return _0x285129;},_0x576e95=(_0x49ac41,_0x3436ab)=>(_0x3df6b2,_0x53bf1d)=>_0x3436ab(_0x3df6b2,_0x53bf1d,_0x49ac41);_0x2bf47a[_0x3a3b32(0x1aa)]=class extends _0x56139f['CollaborationSocketService']{constructor(_0x3893bc,_0x2dfbda,_0x4b857b,_0x7af82b,_0x10ca1c){super(_0x3893bc,_0x2dfbda,_0x4b857b,_0x7af82b,_0x10ca1c);}async[_0x3a3b32(0xda)](_0x582b9c){const _0x97fe49=_0x3a3b32,_0x2cb56f=await this[_0x97fe49(0x9d)](),_0x5bb669=this['_createSocketURL'](_0x582b9c,_0x2cb56f);return this[_0x97fe49(0x1d9)](_0x5bb669);}[_0x3a3b32(0x10c)](_0x1d9439,_0xec164f){const _0x59e595=_0x3a3b32,_0x549ad7=typeof window>'u'?new URL(_0x1d9439):new URL(_0x1d9439,window[_0x59e595(0x305)]['origin']);_0x549ad7[_0x59e595(0x1e6)]['set'](_0x59e595(0x2cd),_0xec164f);const _0x2b09cb=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x59e595(0x305)][_0x59e595(0x28c)]);return _0x2b09cb['get'](_0x59e595(0x1e8))&&_0x549ad7[_0x59e595(0x1e6)]['set'](_0x59e595(0x1e8),_0x2b09cb[_0x59e595(0x2be)](_0x59e595(0x1e8))),_0x549ad7[_0x59e595(0x8e)]();}async[_0x3a3b32(0x9d)](){const _0x20ce7a=_0x3a3b32;var _0x424afc,_0xb99d70,_0x463967;const _0x5b0999=this[_0x20ce7a(0xec)][_0x20ce7a(0x237)](_0x56139f[_0x20ce7a(0x147)]),_0x5c2fbc=(_0x424afc=_0x5b0999==null?void 0x0:_0x5b0999[_0x20ce7a(0x172)])!=null?_0x424afc:_0x56139f['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x463967=(_0xb99d70=(await this[_0x20ce7a(0x28f)][_0x20ce7a(0x2be)](_0x5c2fbc,{'headers':{'Content-Type':_0x20ce7a(0xe7)}}))[_0x20ce7a(0x174)])==null?void 0x0:_0xb99d70[_0x20ce7a(0x225)])!=null?_0x463967:'';}},_0x2bf47a[_0x3a3b32(0x1aa)]=_0x4619ea([_0x576e95(0x0,_0x5cc899[_0x3a3b32(0x27f)](_0x5cc899[_0x3a3b32(0x281)])),_0x576e95(0x1,_0x5cc899[_0x3a3b32(0x27f)](_0x225722[_0x3a3b32(0x1a5)])),_0x576e95(0x2,_0x5cc899['IConfigService']),_0x576e95(0x3,_0x5cc899[_0x3a3b32(0xca)]),_0x576e95(0x4,_0x158f44['ISnapshotServerService'])],_0x2bf47a[_0x3a3b32(0x1aa)]);const _0x309bfd=0x7530,_0x9b0507=_0x3a3b32(0x21b);class _0x54b25e extends _0x5cc899[_0x3a3b32(0x1b6)]{constructor(){const _0x2b7b58=_0x3a3b32;super(),_0x40a5a2(this,'_id',_0x5cc899[_0x2b7b58(0x2cc)]()),_0x40a5a2(this,_0x2b7b58(0x118),new Set()),_0x40a5a2(this,_0x2b7b58(0x1ec),new Map()),_0x40a5a2(this,_0x2b7b58(0x262),null),_0x40a5a2(this,_0x2b7b58(0x2d1),new Map()),_0x40a5a2(this,_0x2b7b58(0x28a),new Map()),this[_0x2b7b58(0xa2)]();}[_0x3a3b32(0x23e)](){const _0x5e3bf7=_0x3a3b32;super['dispose'](),this['_clearOtherTimers'][_0x5e3bf7(0x291)]((_0x3430e1,_0x49182f)=>this[_0x5e3bf7(0x1c0)](_0x49182f)),this[_0x5e3bf7(0x262)]&&window[_0x5e3bf7(0x22d)](this['_heartbeatTimer']);}[_0x3a3b32(0x136)](_0x2786e8){const _0x1e7f37=_0x3a3b32;return this['_ensureSubject'](_0x2786e8)[_0x1e7f37(0x9a)](_0x16a76f[_0x1e7f37(0x1bd)]());}['editingUnit'](_0x512ef4){const _0x16db2c=_0x3a3b32;this[_0x16db2c(0x118)]['size']===0x0&&this[_0x16db2c(0x116)](),this['_selfUnitIDs'][_0x16db2c(0x316)](_0x512ef4),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x512ef4],'isForwarded':!0x1});}['disposeUnit'](_0xddc573){const _0xb2db94=_0x3a3b32;this[_0xb2db94(0x118)][_0xb2db94(0x13c)](_0xddc573),this['_selfUnitIDs']['size']===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0xb2db94(0x262)]);}[_0x3a3b32(0xa2)](){const _0x184a41=_0x3a3b32;this[_0x184a41(0x16f)](_0x5cc899[_0x184a41(0x311)](_0x16a76f[_0x184a41(0x211)](window,_0x184a41(0x2fa))[_0x184a41(0x239)](_0x2d23ae=>{const _0x50299c=_0x184a41;if(_0x2d23ae['key']!==_0x9b0507||!_0x2d23ae['newValue'])return;const _0x1996e8=JSON['parse'](_0x2d23ae['newValue']);this[_0x50299c(0x32d)](_0x1996e8);}))),window['addEventListener'](_0x184a41(0x277),()=>this[_0x184a41(0x185)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x184a41(0x195)](this['_selfUnitIDs'])}));}[_0x3a3b32(0x32d)](_0x28bf2b){const _0x20c0b4=_0x3a3b32;switch(_0x28bf2b[_0x20c0b4(0x189)]){case 0x0:this[_0x20c0b4(0x1b7)](_0x28bf2b);break;case 0x1:this[_0x20c0b4(0x18e)](_0x28bf2b);break;case 0x2:this[_0x20c0b4(0x312)](_0x28bf2b);break;}}[_0x3a3b32(0x1b7)](_0x54649e){const _0x45d81f=_0x3a3b32,{unitIDs:_0x386aa0,memberID:_0x13400f,isForwarded:_0x1b7594}=_0x54649e;_0x386aa0['forEach'](_0x23e44b=>{const _0x4a9b80=_0x56ac;if(!_0x1b7594&&this[_0x4a9b80(0x1ec)]['has'](_0x23e44b)&&this[_0x4a9b80(0xf6)](_0x23e44b)[_0x4a9b80(0x282)](_0x56139f[_0x4a9b80(0x30b)][_0x4a9b80(0x28d)]),!this[_0x4a9b80(0x1ec)]['has'](_0x23e44b)||!this[_0x4a9b80(0x1ec)]['get'](_0x23e44b)[_0x4a9b80(0xd6)](_0x13400f)){const _0x140414=this[_0x4a9b80(0x1ec)]['get'](_0x23e44b)||new Set();_0x140414[_0x4a9b80(0x316)](_0x13400f),this[_0x4a9b80(0x1ec)][_0x4a9b80(0x194)](_0x23e44b,_0x140414),this[_0x4a9b80(0x18b)](_0x13400f);}}),_0x1b7594||this[_0x45d81f(0x185)]({'type':0x0,'memberID':this[_0x45d81f(0x251)],'unitIDs':[...this[_0x45d81f(0x118)]],'isForwarded':!0x0});}[_0x3a3b32(0x18b)](_0x35fe0e){const _0x23788f=_0x3a3b32;this[_0x23788f(0x1c0)](_0x35fe0e);const _0xcb16d1=window[_0x23788f(0x115)](()=>{const _0x22987e=_0x23788f;this['_unitOnClients'][_0x22987e(0x291)](_0x2cf484=>{const _0x5d3d42=_0x22987e;_0x2cf484[_0x5d3d42(0x13c)](_0x35fe0e);});},_0x309bfd*0x2);this[_0x23788f(0x2d1)][_0x23788f(0x194)](_0x35fe0e,_0xcb16d1);}[_0x3a3b32(0x1c0)](_0x141701){const _0x5e723f=_0x3a3b32;if(this[_0x5e723f(0x2d1)][_0x5e723f(0xd6)](_0x141701)){const _0x1c2c40=this[_0x5e723f(0x2d1)]['get'](_0x141701);_0x1c2c40&&window[_0x5e723f(0x1ca)](_0x1c2c40),this[_0x5e723f(0x2d1)][_0x5e723f(0x194)](_0x141701,null);}}['_handleLeaveEvent'](_0xdb1cfe){const _0x4b9be9=_0x3a3b32,{memberID:_0x285b3a,unitIDs:_0x786753}=_0xdb1cfe;_0x786753[_0x4b9be9(0x291)](_0x1fcc2b=>{const _0x5110ad=_0x4b9be9;var _0x5095a5;const _0x4852d3=this[_0x5110ad(0x1ec)]['get'](_0x1fcc2b);_0x4852d3&&(_0x4852d3[_0x5110ad(0x13c)](_0x285b3a),(_0x5095a5=this[_0x5110ad(0xf6)](_0x1fcc2b))==null||_0x5095a5['next'](_0x4852d3['size']===0x0?_0x56139f['UnitStatus']['NO_OTHER_CLIENTS_EDITING']:_0x56139f[_0x5110ad(0x30b)][_0x5110ad(0x28d)]));}),this['_removeClearOtherTimer'](_0x285b3a);}['_handleHeartbeatEvent'](_0x29eb2a){const _0x135d98=_0x3a3b32;this[_0x135d98(0x18b)](_0x29eb2a[_0x135d98(0x328)]);}[_0x3a3b32(0x185)](_0x3d35d5){const _0x244465=_0x3a3b32;localStorage[_0x244465(0x267)](_0x9b0507,JSON[_0x244465(0x2d2)](_0x3d35d5));}[_0x3a3b32(0x116)](){const _0xa6a07a=_0x3a3b32;this['_heartbeatTimer']=window[_0xa6a07a(0x155)](()=>{const _0x5ada35=_0xa6a07a;this[_0x5ada35(0x185)]({'type':0x2,'memberID':this[_0x5ada35(0x251)]});},_0x309bfd);}['_ensureSubject'](_0x933fea){const _0x391efa=_0x3a3b32;return this['_unitStatus'][_0x391efa(0xd6)](_0x933fea)||this[_0x391efa(0x28a)][_0x391efa(0x194)](_0x933fea,new _0x16a76f[(_0x391efa(0x13e))](_0x56139f[_0x391efa(0x30b)]['NO_OTHER_CLIENTS_EDITING'])),this[_0x391efa(0x28a)][_0x391efa(0x2be)](_0x933fea);}}var _0x32591f=(_0x155586=>(_0x155586[_0x155586[_0x3a3b32(0x27a)]=0x0]='UNDEFINED',_0x155586[_0x155586['OK']=0x1]='OK',_0x155586[_0x155586['INTERNAL_ERROR']=0x2]=_0x3a3b32(0xa1),_0x155586[_0x155586[_0x3a3b32(0x1a0)]=0x3]='PERMISSION_DENIED',_0x155586[_0x155586['NOT_FOUND']=0x4]=_0x3a3b32(0x26c),_0x155586[_0x155586[_0x3a3b32(0xc9)]=0x5]=_0x3a3b32(0xc9),_0x155586[_0x155586['ALREADY_EXISTS']=0x6]='ALREADY_EXISTS',_0x155586[_0x155586['INVALID_ARGUMENT']=0x7]=_0x3a3b32(0x140),_0x155586[_0x155586['TOO_MANY_REQUESTS']=0x8]=_0x3a3b32(0xa9),_0x155586[_0x155586['COMPLETION_FINISHED']=0x9]=_0x3a3b32(0xe3),_0x155586[_0x155586[_0x3a3b32(0x22a)]=0xa]=_0x3a3b32(0x22a),_0x155586[_0x155586[_0x3a3b32(0x205)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x155586[_0x155586[_0x3a3b32(0xfb)]=0x1771]=_0x3a3b32(0xfb),_0x155586[_0x155586[_0x3a3b32(0xc3)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x155586[_0x155586[_0x3a3b32(0x32e)]=0x1773]=_0x3a3b32(0x32e),_0x155586[_0x155586[_0x3a3b32(0x12c)]=0x1b59]=_0x3a3b32(0x12c),_0x155586[_0x155586[_0x3a3b32(0xcb)]=0x1b5a]=_0x3a3b32(0xcb),_0x155586[_0x155586[_0x3a3b32(0xd2)]=0x1b5b]=_0x3a3b32(0xd2),_0x155586[_0x155586[_0x3a3b32(0x2dc)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x155586[_0x155586[_0x3a3b32(0x131)]=0x1b5d]=_0x3a3b32(0x131),_0x155586[_0x155586[_0x3a3b32(0x21f)]=0x1f41]=_0x3a3b32(0x21f),_0x155586[_0x155586[_0x3a3b32(0xe2)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x155586[_0x155586[_0x3a3b32(0x1ad)]=0x232a]=_0x3a3b32(0x1ad),_0x155586[_0x155586[_0x3a3b32(0x314)]=0x232b]=_0x3a3b32(0x314),_0x155586[_0x155586[_0x3a3b32(0x151)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x155586[_0x155586[_0x3a3b32(0x12a)]=0x232d]=_0x3a3b32(0x12a),_0x155586[_0x155586['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x3a3b32(0x11e),_0x155586[_0x155586[_0x3a3b32(0x17b)]=0x2712]=_0x3a3b32(0x17b),_0x155586[_0x155586[_0x3a3b32(0x13a)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x155586[_0x155586[_0x3a3b32(0x233)]=0x2714]=_0x3a3b32(0x233),_0x155586[_0x155586['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]=_0x3a3b32(0x2b5),_0x155586[_0x155586['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x155586[_0x155586[_0x3a3b32(0x1d1)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x155586[_0x155586[_0x3a3b32(0xa4)]=0x271d]=_0x3a3b32(0xa4),_0x155586[_0x155586[_0x3a3b32(0x1c6)]=0x271e]=_0x3a3b32(0x1c6),_0x155586[_0x155586[_0x3a3b32(0x175)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x155586[_0x155586[_0x3a3b32(0x261)]=0x2af9]=_0x3a3b32(0x261),_0x155586[_0x155586[_0x3a3b32(0x199)]=0x2ee1]=_0x3a3b32(0x199),_0x155586[_0x155586[_0x3a3b32(0x1c7)]=0x2ee2]='INVALID_INVITE_CODE',_0x155586[_0x155586[_0x3a3b32(0xf5)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x155586[_0x155586[_0x3a3b32(0x9c)]=0x2ee4]=_0x3a3b32(0x9c),_0x155586[_0x155586['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x3a3b32(0xf9),_0x155586[_0x155586[_0x3a3b32(0x240)]=0x32c9]=_0x3a3b32(0x240),_0x155586[_0x155586['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x3a3b32(0x134),_0x155586[_0x155586['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x155586[_0x155586[_0x3a3b32(0x23b)]=-0x1]=_0x3a3b32(0x23b),_0x155586))(_0x32591f||{}),_0x46081e=Object[_0x3a3b32(0x26d)],_0x3810c4=(_0x3dc2fb,_0x5d9866,_0x45b666,_0x3dfdf9)=>{const _0x5f39dd=_0x3a3b32;for(var _0x145500=_0x3dfdf9>0x1?void 0x0:_0x3dfdf9?_0x46081e(_0x5d9866,_0x45b666):_0x5d9866,_0x2a315c=_0x3dc2fb[_0x5f39dd(0xb3)]-0x1,_0x3d5931;_0x2a315c>=0x0;_0x2a315c--)(_0x3d5931=_0x3dc2fb[_0x2a315c])&&(_0x145500=_0x3d5931(_0x145500)||_0x145500);return _0x145500;},_0x568fbe=(_0x445797,_0x5ccf5d)=>(_0x500ef9,_0x153f8c)=>_0x5ccf5d(_0x500ef9,_0x153f8c,_0x445797);_0x2bf47a[_0x3a3b32(0x299)]=class extends _0x5cc899['Disposable']{constructor(_0x568981,_0x2d55db,_0x120d11){const _0x100a94=_0x3a3b32;super(),this[_0x100a94(0xc6)]=_0x568981,this[_0x100a94(0x28f)]=_0x2d55db,this[_0x100a94(0xec)]=_0x120d11;}async[_0x3a3b32(0x30d)](_0xb0cd9e,_0x2f8e5d,_0x5a108f,..._0x3bb78b){const _0x403c2b=_0x3a3b32;var _0x203575,_0x4e70c5,_0x46512f,_0x4a3dbf;const _0x19f877=this['_instanceService'][_0x403c2b(0x1fe)]();if(!_0x19f877)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x259afc=((_0x203575=this[_0x403c2b(0xec)][_0x403c2b(0x237)](_0x56139f[_0x403c2b(0x1fd)]))!=null?_0x203575:_0x56139f[_0x403c2b(0x21d)])+'/'+_0xb0cd9e+_0x403c2b(0x309)+_0x2f8e5d,_0x399b30=new URL(window[_0x403c2b(0x305)][_0x403c2b(0x2e8)]),_0x226b6a={'scriptId':_0xb0cd9e,'runId':(_0x4e70c5=_0x399b30[_0x403c2b(0x1e6)][_0x403c2b(0x2be)]('runId'))!=null?_0x4e70c5:'','function':_0x2f8e5d,'unitId':_0x19f877[_0x403c2b(0x30c)](),'argsOfFunction':JSON[_0x403c2b(0x2d2)](_0x3bb78b),'invokeId':(_0x46512f=_0x5a108f[_0x403c2b(0x32c)])!=null?_0x46512f:'','executionId':(_0x4a3dbf=_0x5a108f[_0x403c2b(0x142)])!=null?_0x4a3dbf:''};try{const _0x6a3fbe=await this['_httpService'][_0x403c2b(0x280)](_0x259afc,{'body':_0x226b6a});return _0x6a3fbe['body'][_0x403c2b(0x250)]&&_0x6a3fbe[_0x403c2b(0x174)][_0x403c2b(0x250)][_0x403c2b(0x31c)]!==_0x32591f['OK']?_0x403c2b(0x248):_0x6a3fbe[_0x403c2b(0x174)][_0x403c2b(0x20e)];}catch{return _0x403c2b(0x248);}}},_0x2bf47a[_0x3a3b32(0x299)]=_0x3810c4([_0x568fbe(0x0,_0x5cc899[_0x3a3b32(0x10f)]),_0x568fbe(0x1,_0x5cc899[_0x3a3b32(0x27f)](_0x225722[_0x3a3b32(0x1a5)])),_0x568fbe(0x2,_0x5cc899[_0x3a3b32(0x1a4)])],_0x2bf47a[_0x3a3b32(0x299)]),_0x2bf47a[_0x3a3b32(0xaf)]=_0x2cfcc7,_0x2bf47a[_0x3a3b32(0x287)]=_0x179a0b,_0x2bf47a['SheetCollabCursorShape']=_0x56e01b,_0x2bf47a[_0x3a3b32(0x193)]=_0x54b25e,_0x2bf47a[_0x3a3b32(0x244)]=_0x389b48,Object[_0x3a3b32(0x315)](_0x2bf47a,Symbol[_0x3a3b32(0xae)],{'value':_0x3a3b32(0x232)});}));
1
+ (function(_0x282fde,_0x55a950){const _0x51e926=_0x44a6,_0x5a620c=_0x282fde();while(!![]){try{const _0x329831=-parseInt(_0x51e926(0x3f1))/0x1+-parseInt(_0x51e926(0x2d8))/0x2*(-parseInt(_0x51e926(0x45a))/0x3)+-parseInt(_0x51e926(0x25d))/0x4*(-parseInt(_0x51e926(0x21f))/0x5)+parseInt(_0x51e926(0x24e))/0x6*(-parseInt(_0x51e926(0x38d))/0x7)+-parseInt(_0x51e926(0x303))/0x8+-parseInt(_0x51e926(0x376))/0x9*(-parseInt(_0x51e926(0x3bc))/0xa)+-parseInt(_0x51e926(0x2a3))/0xb*(-parseInt(_0x51e926(0x428))/0xc);if(_0x329831===_0x55a950)break;else _0x5a620c['push'](_0x5a620c['shift']());}catch(_0x3e94eb){_0x5a620c['push'](_0x5a620c['shift']());}}}(_0x567f,0x95a6d),function(_0xa74403,_0x1ed216){const _0x351b7c=_0x44a6;typeof exports==_0x351b7c(0x483)&&typeof module<'u'?_0x1ed216(exports,require(_0x351b7c(0x3d2)),require(_0x351b7c(0x271)),require(_0x351b7c(0x3fe)),require(_0x351b7c(0x2ca)),require(_0x351b7c(0x3c3)),require(_0x351b7c(0x477)),require(_0x351b7c(0x246)),require(_0x351b7c(0x3df)),require('@univerjs-pro/collaboration'),require(_0x351b7c(0x2b2)),require(_0x351b7c(0x348)),require(_0x351b7c(0x387)),require(_0x351b7c(0x22e)),require(_0x351b7c(0x21c)),require(_0x351b7c(0x3c0)),require(_0x351b7c(0x3ab)),require(_0x351b7c(0x479)),require(_0x351b7c(0x27a))):typeof define==_0x351b7c(0x319)&&define[_0x351b7c(0x448)]?define(['exports',_0x351b7c(0x3d2),_0x351b7c(0x271),'@univerjs/engine-render',_0x351b7c(0x2ca),'@univerjs/docs-ui',_0x351b7c(0x477),'rxjs',_0x351b7c(0x3df),'@univerjs-pro/collaboration',_0x351b7c(0x2b2),_0x351b7c(0x348),'rxjs/operators',_0x351b7c(0x22e),'react/jsx-runtime','@univerjs/ui',_0x351b7c(0x3ab),_0x351b7c(0x479),_0x351b7c(0x27a)],_0x1ed216):(_0xa74403=typeof globalThis<'u'?globalThis:_0xa74403||self,_0x1ed216(_0xa74403[_0x351b7c(0x3e3)]={},_0xa74403[_0x351b7c(0x305)],_0xa74403['UniverCore'],_0xa74403[_0x351b7c(0x20b)],_0xa74403[_0x351b7c(0x2c9)],_0xa74403[_0x351b7c(0x2f7)],_0xa74403['UniverDrawing'],_0xa74403['rxjs'],_0xa74403[_0x351b7c(0x335)],_0xa74403[_0x351b7c(0x1f8)],_0xa74403[_0x351b7c(0x2f3)],_0xa74403[_0x351b7c(0x221)],_0xa74403[_0x351b7c(0x246)][_0x351b7c(0x418)],_0xa74403[_0x351b7c(0x26d)],_0xa74403[_0x351b7c(0x384)],_0xa74403[_0x351b7c(0x349)],_0xa74403['UniverDesign'],_0xa74403[_0x351b7c(0x384)],_0xa74403[_0x351b7c(0x375)]));}(this,function(_0x2b6d0b,_0x57d487,_0x468931,_0x5d71b0,_0x10caf6,_0x13c110,_0x28266e,_0x946ff9,_0x3b619f,_0x1042b5,_0x3d45f6,_0x35f756,_0x2e4f52,_0x1c415a,_0x50b559,_0x5a4aac,_0x498b76,_0x50701b,_0x4bc5c4){'use strict';const _0x912252=_0x44a6;var _0x595368=Object[_0x912252(0x2c3)],_0x2b7b0c=(_0x47dfd7,_0x253471,_0x358399)=>_0x253471 in _0x47dfd7?_0x595368(_0x47dfd7,_0x253471,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x358399}):_0x47dfd7[_0x253471]=_0x358399,_0x52c450=(_0xec9786,_0x2321a4,_0x2df21f)=>_0x2b7b0c(_0xec9786,typeof _0x2321a4!='symbol'?_0x2321a4+'':_0x2321a4,_0x2df21f),_0x3c0a19=Object[_0x912252(0x289)],_0x4928e1=(_0x4604a9,_0x2566be,_0x2dae70,_0xe42880)=>{const _0x32a90f=_0x912252;for(var _0x114eb6=_0xe42880>0x1?void 0x0:_0xe42880?_0x3c0a19(_0x2566be,_0x2dae70):_0x2566be,_0x1f8afa=_0x4604a9[_0x32a90f(0x414)]-0x1,_0x2e0ca2;_0x1f8afa>=0x0;_0x1f8afa--)(_0x2e0ca2=_0x4604a9[_0x1f8afa])&&(_0x114eb6=_0x2e0ca2(_0x114eb6)||_0x114eb6);return _0x114eb6;},_0x48c637=(_0xeec06c,_0x5235ff)=>(_0xa4328,_0x2dd73b)=>_0x5235ff(_0xa4328,_0x2dd73b,_0xeec06c);let _0xf1d0fc=class extends _0x468931[_0x912252(0x3ba)]{constructor(_0xf2f90d,_0x12074f){const _0x31ffe1=_0x912252;super(),this[_0x31ffe1(0x3e9)]=_0xf2f90d,this[_0x31ffe1(0x311)]=_0x12074f,this[_0x31ffe1(0x48e)]();}[_0x912252(0x48e)](){const _0x3ce2ce=_0x912252,_0x184e55=this;this[_0x3ce2ce(0x3d8)](this['_docClipboardService']['addClipboardHook']({'onBeforePasteImage':async _0x17851c=>{const _0x2a1555=_0x3ce2ce,_0x1ecae0=await _0x184e55[_0x2a1555(0x311)]['saveImage'](_0x17851c);return _0x1ecae0?{'source':_0x1ecae0[_0x2a1555(0x2a1)],'imageSourceType':_0x1ecae0[_0x2a1555(0x35d)]}:null;}}));}};_0xf1d0fc=_0x4928e1([_0x48c637(0x0,_0x13c110['IDocClipboardService']),_0x48c637(0x1,_0x28266e['IImageIoService'])],_0xf1d0fc);const _0x364c1b=['purple.300',_0x912252(0x253),_0x912252(0x482),_0x912252(0x36c),_0x912252(0x344),_0x912252(0x247)];class _0xb034cf extends _0x468931[_0x912252(0x3dc)]{constructor(){const _0x460eb1=_0x912252;super(...arguments),_0x52c450(this,'_assignedColors',new Map()),_0x52c450(this,_0x460eb1(0x32f),0x0);}[_0x912252(0x430)](_0x552a59){const _0xc87a54=_0x912252;if(this[_0xc87a54(0x374)][_0xc87a54(0x2a7)](_0x552a59))return this['_assignedColors'][_0xc87a54(0x2ae)](_0x552a59);const _0x3567a8=_0x364c1b[this[_0xc87a54(0x32f)]];return this[_0xc87a54(0x32f)]=(this['_colorIndex']+0x1)%_0x364c1b[_0xc87a54(0x414)],this['_assignedColors'][_0xc87a54(0x382)](_0x552a59,_0x3567a8),_0x3567a8;}}function _0xe385ba(_0x4c6a08){const _0x1fcc96=_0x912252;let _0x47a97f='';for(const _0x2afc9e of _0x4c6a08){const {startOffset:_0x4182ce,endOffset:_0x2d6856,isActive:_0x88b820,rangeType:_0x5d95e1,segmentId:_0x5d675b,segmentPage:_0x469f18}=_0x2afc9e;_0x47a97f[_0x1fcc96(0x414)]&&(_0x47a97f+=','),_0x47a97f+=_0x4182ce+':'+_0x2d6856+':'+(_0x88b820?'1':'0')+':'+_0x5d95e1+':'+_0x5d675b+':'+_0x469f18;}return _0x47a97f;}function _0x586af6(_0x3aae6d){const _0x5ea92b=_0x912252,_0x131715=_0x3aae6d[_0x5ea92b(0x267)](','),_0x221cee=[];for(const _0x236d5f of _0x131715){const [_0x3d9c2d,_0x240a15,_0x1387b4,_0x28c067,_0x354b1b,_0x40634c]=_0x236d5f[_0x5ea92b(0x267)](':');_0x221cee[_0x5ea92b(0x381)]({'startOffset':Number(_0x3d9c2d),'endOffset':Number(_0x240a15),'collapsed':_0x3d9c2d===_0x240a15,'isActive':_0x1387b4==='1','rangeType':_0x28c067===_0x468931[_0x5ea92b(0x34a)][_0x5ea92b(0x449)]?_0x468931['DOC_RANGE_TYPE'][_0x5ea92b(0x449)]:_0x468931[_0x5ea92b(0x34a)][_0x5ea92b(0x42b)],'segmentId':typeof _0x354b1b==_0x5ea92b(0x2d0)?String(_0x354b1b):'','segmentPage':Number(_0x40634c!=null?_0x40634c:-0x1)});}return _0x221cee['some'](_0x50ff40=>_0x50ff40[_0x5ea92b(0x3d5)])||(_0x221cee[0x0]['isActive']=!0x0),_0x221cee;}class _0x360d85 extends _0x468931['RxDisposable']{constructor(){const _0x103eb4=_0x912252;super(...arguments),_0x52c450(this,_0x103eb4(0x28d),new _0x946ff9[(_0x103eb4(0x239))](null)),_0x52c450(this,_0x103eb4(0x42c),this[_0x103eb4(0x28d)][_0x103eb4(0x3ac)]());}[_0x912252(0x1fa)](_0x1bcae4){const _0x53f64c=_0x912252,{unitID:_0x4a9ab7,memberID:_0x38d98c,textRanges:_0x44c07b}=_0x1bcae4,_0x502d42=_0xe385ba(_0x44c07b);if(_0x502d42==='')return;const _0x39aa8f={'unitID':_0x4a9ab7,'memberID':_0x38d98c,'selection':_0x502d42};this[_0x53f64c(0x28d)][_0x53f64c(0x44f)](_0x39aa8f);}}var _0x3b85a8=Object['getOwnPropertyDescriptor'],_0x4a2d88=(_0x64656a,_0x5133f5,_0x23e368,_0x4e186b)=>{const _0x1a07f2=_0x912252;for(var _0x262cd2=_0x4e186b>0x1?void 0x0:_0x4e186b?_0x3b85a8(_0x5133f5,_0x23e368):_0x5133f5,_0x28852e=_0x64656a[_0x1a07f2(0x414)]-0x1,_0x4917d1;_0x28852e>=0x0;_0x28852e--)(_0x4917d1=_0x64656a[_0x28852e])&&(_0x262cd2=_0x4917d1(_0x262cd2)||_0x262cd2);return _0x262cd2;},_0x12eb0e=(_0x18d6c0,_0x4a3b98)=>(_0x32f5fb,_0x55fec4)=>_0x4a3b98(_0x32f5fb,_0x55fec4,_0x18d6c0);const _0x2ec19f=0x12c,_0x367c83=0x64;let _0x55254e=class extends _0x468931[_0x912252(0x3ba)]{constructor(_0x495b08,_0x5a0df4,_0x2acc33,_0x557476,_0x1aa3ac,_0x41f8ac,_0x57aedc,_0x1d9ba1,_0x38df07){const _0x4cdd93=_0x912252;super(),_0x52c450(this,_0x4cdd93(0x30f),!0x1),_0x52c450(this,_0x4cdd93(0x48e),!0x1),_0x52c450(this,'_cursorInfo$',new _0x946ff9[(_0x4cdd93(0x239))](new Map())),_0x52c450(this,_0x4cdd93(0x397),this[_0x4cdd93(0x211)]['asObservable']()),_0x52c450(this,_0x4cdd93(0x37d),new _0x946ff9[(_0x4cdd93(0x239))]([])),_0x52c450(this,_0x4cdd93(0x3d0),this[_0x4cdd93(0x37d)]['pipe'](_0x946ff9['debounceTime'](_0x2ec19f))),_0x52c450(this,_0x4cdd93(0x447),_0x468931['debounce'](_0x1b5710=>{const _0x3a08dc=_0x4cdd93,_0x3d02f1={'eventID':_0x1042b5[_0x3a08dc(0x202)][_0x3a08dc(0x23d)],'data':{'unitID':this[_0x3a08dc(0x2ac)],'memberID':this[_0x3a08dc(0x472)][_0x3a08dc(0x322)](),'selection':_0xe385ba(_0x1b5710)}};this[_0x3a08dc(0x472)][_0x3a08dc(0x3ec)](_0x3d02f1,this[_0x3a08dc(0x2ac)]);},_0x367c83)),(this[_0x4cdd93(0x2ac)]=_0x495b08,this[_0x4cdd93(0x472)]=_0x5a0df4,this[_0x4cdd93(0x457)]=_0x2acc33,this[_0x4cdd93(0x292)]=_0x557476,this[_0x4cdd93(0x330)]=_0x1aa3ac,this['_syncEditingCollabCursorService']=_0x41f8ac,this[_0x4cdd93(0x318)]=_0x57aedc,this[_0x4cdd93(0x31b)]=_0x1d9ba1,this[_0x4cdd93(0x391)]=_0x38df07);}get[_0x912252(0x3f0)](){return this['_cursorInfo$']['getValue']();}get[_0x912252(0x3c1)](){const _0x34de9f=_0x912252;return this[_0x34de9f(0x37d)]['getValue']();}[_0x912252(0x3ae)](){const _0x4fe5b4=_0x912252;super['dispose'](),this[_0x4fe5b4(0x211)][_0x4fe5b4(0x44f)](new Map()),this[_0x4fe5b4(0x211)]['complete'](),this[_0x4fe5b4(0x37d)][_0x4fe5b4(0x44f)]([]),this['_roomMembers$'][_0x4fe5b4(0x336)]();}[_0x912252(0x2e9)](){const _0x41b34a=_0x912252;this[_0x41b34a(0x48e)]||(this['_init']=!0x0,this[_0x41b34a(0x472)][_0x41b34a(0x463)][_0x41b34a(0x252)](_0x946ff9[_0x41b34a(0x3a7)](this[_0x41b34a(0x41b)]))[_0x41b34a(0x38c)](_0x2f7fcd=>{const _0x27ffb4=_0x41b34a;_0x2f7fcd===_0x57d487[_0x27ffb4(0x3e1)][_0x27ffb4(0x276)]?this[_0x27ffb4(0x23f)]():this['_toggleOffline']();}),this[_0x41b34a(0x472)][_0x41b34a(0x44c)][_0x41b34a(0x252)](_0x946ff9['takeUntil'](this['dispose$']))[_0x41b34a(0x38c)](_0x181238=>{const _0x5263b5=_0x41b34a,_0x3abe95=_0x181238[_0x5263b5(0x48a)];_0x3abe95===_0x1042b5['CollaborationEvent']['UPDATE_CURSOR']&&this[_0x5263b5(0x443)](_0x181238),_0x3abe95===_0x1042b5['CollaborationEvent'][_0x5263b5(0x261)]&&this[_0x5263b5(0x399)](_0x181238);}),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x5e6718=>{const _0x1eca81=_0x41b34a,_0x177350=_0x5e6718['params'];_0x177350!=null&&this['_online']&&_0x5e6718['id']===_0x3b619f[_0x1eca81(0x234)]['id']&&_0x177350['unitId']===this[_0x1eca81(0x2ac)]&&_0x177350['isEditing']===!0x1&&_0x177350[_0x1eca81(0x26a)][_0x1eca81(0x414)]>0x0&&this['_updateLocalCursor'](_0x177350[_0x1eca81(0x26a)]);})),this[_0x41b34a(0x3d7)][_0x41b34a(0x42c)][_0x41b34a(0x252)](_0x946ff9[_0x41b34a(0x3a7)](this['dispose$']))[_0x41b34a(0x38c)](_0xa598c2=>{const _0x429f90=_0x41b34a;if((_0xa598c2==null?void 0x0:_0xa598c2[_0x429f90(0x2ac)])!==this['unitID'])return;const _0x10f3a9={'eventID':_0x1042b5[_0x429f90(0x202)][_0x429f90(0x23d)],'data':_0xa598c2};this[_0x429f90(0x443)](_0x10f3a9);}),this[_0x41b34a(0x3d8)](this[_0x41b34a(0x391)][_0x41b34a(0x3f7)](_0x5450aa=>{const _0x1b5f76=_0x41b34a;if(_0x5450aa[_0x1b5f76(0x43d)]==null)return;const _0x5aa760=_0x5450aa[_0x1b5f76(0x43d)];if(_0x5450aa['id']!==_0x3b619f[_0x1b5f76(0x453)]['id']||_0x5aa760[_0x1b5f76(0x25e)]!==this[_0x1b5f76(0x2ac)])return;const _0x5e14b6={'id':'doc.mutation.rich-text-editing','params':_0x5aa760},_0x34897d=this[_0x1b5f76(0x3f0)];for(const [_0x4dba95,_0x3ee099]of _0x34897d){const _0x3fe806={'id':_0x1b5f76(0x46d),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x3ee099[_0x1b5f76(0x26a)]}},_0x1ebbae=this[_0x1b5f76(0x318)][_0x1b5f76(0x314)](_0x5e14b6,_0x3fe806,!0x1);if(_0x1042b5[_0x1b5f76(0x337)](_0x1ebbae))throw _0x1ebbae[_0x1b5f76(0x2b4)];_0x34897d[_0x1b5f76(0x382)](_0x4dba95,{..._0x3ee099,'ranges':_0x1ebbae['m2Prime'][_0x1b5f76(0x43d)][_0x1b5f76(0x407)]});}queueMicrotask(()=>{const _0x5b1bc6=_0x1b5f76;this[_0x5b1bc6(0x211)][_0x5b1bc6(0x44f)](_0x34897d);});})));}[_0x912252(0x443)](_0x573579){const _0xd5d1f5=_0x912252;var _0x311c41,_0x59ffdf;const {memberID:_0x145e9f,selection:_0x437253}=_0x573579[_0xd5d1f5(0x293)],_0x151f9f=_0x586af6(_0x437253),_0x2d4812=(_0x59ffdf=(_0x311c41=this[_0xd5d1f5(0x330)][_0xd5d1f5(0x48f)](this[_0xd5d1f5(0x2ac)],_0x145e9f))==null?void 0x0:_0x311c41[_0xd5d1f5(0x3b9)])!=null?_0x59ffdf:_0xd5d1f5(0x34e),_0x2b88cf={'color':this[_0xd5d1f5(0x292)]['assignAColorForMemberID'](_0x145e9f),'name':_0x2d4812,'ranges':_0x151f9f},_0x34d2e5=this[_0xd5d1f5(0x3f0)];_0x34d2e5[_0xd5d1f5(0x382)](_0x145e9f,_0x2b88cf),this[_0xd5d1f5(0x211)][_0xd5d1f5(0x44f)](_0x34d2e5);}[_0x912252(0x399)](_0x51ad72){const _0x1eb5dc=_0x912252,{memberID:_0x4fe612}=_0x51ad72['data'],_0x22261f=this['cursorInfo'];_0x22261f[_0x1eb5dc(0x1f9)](_0x4fe612),this[_0x1eb5dc(0x211)][_0x1eb5dc(0x44f)](_0x22261f);}[_0x912252(0x23f)](){const _0x25fca5=_0x912252;var _0x598fd0;if(this[_0x25fca5(0x30f)]=!0x0,((_0x598fd0=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x598fd0[_0x25fca5(0x2e8)]())!==this[_0x25fca5(0x2ac)])return;const _0x23fa12=this[_0x25fca5(0x457)][_0x25fca5(0x2ae)](_0x3b619f[_0x25fca5(0x409)])['getDocRanges']();Array[_0x25fca5(0x2d5)](_0x23fa12)&&_0x23fa12['length']>0x0&&this[_0x25fca5(0x447)](_0x23fa12);}[_0x912252(0x302)](){const _0x43e64f=_0x912252;this[_0x43e64f(0x30f)]=!0x1;}};_0x55254e=_0x4a2d88([_0x12eb0e(0x2,_0x468931[_0x912252(0x37e)](_0x468931[_0x912252(0x1fd)])),_0x12eb0e(0x3,_0x468931[_0x912252(0x37e)](_0xb034cf)),_0x12eb0e(0x4,_0x468931[_0x912252(0x37e)](_0x57d487[_0x912252(0x393)])),_0x12eb0e(0x5,_0x468931[_0x912252(0x37e)](_0x360d85)),_0x12eb0e(0x6,_0x1042b5[_0x912252(0x3f3)]),_0x12eb0e(0x7,_0x468931['IUniverInstanceService']),_0x12eb0e(0x8,_0x468931[_0x912252(0x3fa)])],_0x55254e);var _0x296e75=Object['getOwnPropertyDescriptor'],_0x1cacd5=(_0x4a1ce3,_0x36f9b2,_0x18d429,_0x4a89a5)=>{for(var _0x2a5fe2=_0x4a89a5>0x1?void 0x0:_0x4a89a5?_0x296e75(_0x36f9b2,_0x18d429):_0x36f9b2,_0x16cba5=_0x4a1ce3['length']-0x1,_0x5dc95f;_0x16cba5>=0x0;_0x16cba5--)(_0x5dc95f=_0x4a1ce3[_0x16cba5])&&(_0x2a5fe2=_0x5dc95f(_0x2a5fe2)||_0x2a5fe2);return _0x2a5fe2;},_0x3aac02=(_0x50f4d4,_0x5699ba)=>(_0xf74920,_0x37f350)=>_0x5699ba(_0xf74920,_0x37f350,_0x50f4d4);const _0x47e8b1=0x12c,_0x104ff9=0x64,_0x598ce9=()=>{let _0x7a01cb=[],_0x19f71f=!0x1;return _0x6e32ff=>{_0x7a01cb['push'](_0x6e32ff),_0x19f71f||(_0x19f71f=!0x0,setTimeout(()=>{const _0x5af3dc=_0x44a6;_0x7a01cb[_0x5af3dc(0x2fc)](_0x2f0625=>_0x2f0625()),_0x7a01cb=[],_0x19f71f=!0x1;}));};};let _0xe6db79=class extends _0x468931[_0x912252(0x3ba)]{constructor(_0x31d7b5,_0x951a8,_0x29f28f,_0x508471,_0x1b3d22,_0x24ec51,_0x59f8ac,_0x3719bb){const _0x262a21=_0x912252;super(),_0x52c450(this,'_online',!0x1),_0x52c450(this,'_init',!0x1),_0x52c450(this,'_cursorInfo$',new _0x946ff9['BehaviorSubject'](new Map())),_0x52c450(this,'cursorInfo$',this['_cursorInfo$'][_0x262a21(0x3ac)]()),_0x52c450(this,_0x262a21(0x37d),new _0x946ff9[(_0x262a21(0x239))]([])),_0x52c450(this,'roomMembers$',this['_roomMembers$'][_0x262a21(0x252)](_0x946ff9['debounceTime'](_0x47e8b1))),_0x52c450(this,_0x262a21(0x447),_0x468931[_0x262a21(0x343)]((_0x163b0c,_0x3ecb61)=>{const _0x36406f=_0x262a21,_0x542886={'eventID':_0x1042b5[_0x36406f(0x202)][_0x36406f(0x23d)],'data':{'unitID':this[_0x36406f(0x2ac)],'memberID':this[_0x36406f(0x472)][_0x36406f(0x322)](),'selection':_0x3d45f6['serializeRangeWithSheet'](_0x163b0c,_0x3ecb61[_0x36406f(0x464)])}};this[_0x36406f(0x472)]['send'](_0x542886,this[_0x36406f(0x2ac)]);},_0x104ff9)),(this['unitID']=_0x31d7b5,this[_0x262a21(0x472)]=_0x951a8,this[_0x262a21(0x457)]=_0x29f28f,this[_0x262a21(0x292)]=_0x508471,this[_0x262a21(0x330)]=_0x1b3d22,this[_0x262a21(0x31b)]=_0x24ec51,this['_commandService']=_0x59f8ac,this[_0x262a21(0x2d3)]=_0x3719bb);}get[_0x912252(0x3f0)](){const _0x2064e5=_0x912252;return this[_0x2064e5(0x211)]['getValue']();}get[_0x912252(0x3c1)](){const _0x2e072d=_0x912252;return this['_roomMembers$'][_0x2e072d(0x31a)]();}['dispose'](){const _0x58803b=_0x912252;super[_0x58803b(0x3ae)](),this['_cursorInfo$'][_0x58803b(0x44f)](new Map()),this['_cursorInfo$'][_0x58803b(0x336)](),this[_0x58803b(0x37d)][_0x58803b(0x44f)]([]),this[_0x58803b(0x37d)][_0x58803b(0x336)]();}[_0x912252(0x2e9)](){const _0x374728=_0x912252;this[_0x374728(0x48e)]||(this[_0x374728(0x48e)]=!0x0,this[_0x374728(0x472)][_0x374728(0x463)][_0x374728(0x252)](_0x946ff9[_0x374728(0x3a7)](this[_0x374728(0x41b)]))['subscribe'](_0x28e210=>{const _0x176d95=_0x374728;_0x28e210===_0x57d487[_0x176d95(0x3e1)][_0x176d95(0x276)]?this['_toggleOnline']():this[_0x176d95(0x302)]();}),this[_0x374728(0x472)][_0x374728(0x44c)][_0x374728(0x252)](_0x946ff9[_0x374728(0x3a7)](this['dispose$']))[_0x374728(0x38c)](_0x1bbab2=>{const _0x172420=_0x374728,_0x1293d6=_0x1bbab2[_0x172420(0x48a)];_0x1293d6===_0x1042b5[_0x172420(0x202)][_0x172420(0x23d)]&&this[_0x172420(0x443)](_0x1bbab2),_0x1293d6===_0x1042b5[_0x172420(0x202)][_0x172420(0x261)]&&this[_0x172420(0x399)](_0x1bbab2);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x374728(0x391)]['onCommandExecuted'](_0x58b9ae=>{const _0x37553d=_0x374728;if(this[_0x37553d(0x30f)]&&_0x58b9ae['id']===_0x35f756[_0x37553d(0x32b)]['id']&&_0x58b9ae[_0x37553d(0x43d)][_0x37553d(0x25e)]===this[_0x37553d(0x2ac)]){const _0x437998=_0x58b9ae[_0x37553d(0x43d)];this[_0x37553d(0x447)](_0x437998['subUnitId'],_0x437998[_0x37553d(0x250)][0x0]);}})));}[_0x912252(0x443)](_0x1eefb5){const _0x535432=_0x912252;var _0x3e08bf,_0x159f22;const {memberID:_0xccb2b8,selection:_0x38f9ca}=_0x1eefb5['data'],{sheetName:_0x2efcc6,range:_0x27b868}=_0x3d45f6[_0x535432(0x2f0)](_0x38f9ca),_0x5a466d={'name':(_0x159f22=(_0x3e08bf=this[_0x535432(0x330)]['getMember'](this[_0x535432(0x2ac)],_0xccb2b8))==null?void 0x0:_0x3e08bf[_0x535432(0x3b9)])!=null?_0x159f22:_0x535432(0x34e),'range':this['_getMergeRange'](_0x2efcc6,_0x27b868),'sheetID':_0x2efcc6,'color':this['_colorAssignService'][_0x535432(0x430)](_0xccb2b8),'selection':_0x38f9ca},_0xf94cab=this['cursorInfo'];_0xf94cab[_0x535432(0x382)](_0xccb2b8,_0x5a466d),this[_0x535432(0x211)][_0x535432(0x44f)](_0xf94cab);}['_onCursorDelete'](_0x5bf146){const _0x351004=_0x912252,{memberID:_0x36827a}=_0x5bf146[_0x351004(0x293)],_0x37c02f=this['cursorInfo'];_0x37c02f[_0x351004(0x1f9)](_0x36827a),this[_0x351004(0x211)]['next'](_0x37c02f);}[_0x912252(0x40c)](_0x1af691,_0x1696a0){const _0x3a3fde=_0x912252;var _0x1f0d6d,_0x2b006b;const _0x1da9b6=(_0x2b006b=(_0x1f0d6d=this['_univerInstanceService'][_0x3a3fde(0x326)](this['unitID']))==null?void 0x0:_0x1f0d6d['getSheetBySheetId'](_0x1af691))==null?void 0x0:_0x2b006b[_0x3a3fde(0x408)]();return(_0x1da9b6==null?void 0x0:_0x1da9b6[_0x3a3fde(0x29e)](_0x3b7ee8=>_0x468931[_0x3a3fde(0x301)][_0x3a3fde(0x2da)](_0x3b7ee8,_0x1696a0)))||_0x1696a0;}[_0x912252(0x38f)](){const _0x675b78=_0x912252,_0x16777d=new _0x468931[(_0x675b78(0x350))](),_0x24cc64=_0x598ce9(),_0x4e3690=()=>{const _0x16e006=_0x675b78;_0x16777d['dispose']();const _0x1dce77=(_0x1d3c56,_0x1482a8,_0x5e56a8,_0x4a6633)=>{const _0x14de29=_0x44a6;let _0x4d8353=[];switch(_0x1d3c56['id']){case _0x35f756[_0x14de29(0x3e7)][_0x14de29(0x22b)]:{_0x4d8353=_0x35f756[_0x14de29(0x21b)](_0x1d3c56,_0x4a6633);break;}case _0x35f756[_0x14de29(0x3e7)][_0x14de29(0x207)]:{_0x4d8353=_0x35f756[_0x14de29(0x2b1)](_0x1d3c56,_0x4a6633);break;}case _0x35f756['EffectRefRangId'][_0x14de29(0x37a)]:{_0x4d8353=_0x35f756[_0x14de29(0x254)](_0x1d3c56,_0x4a6633);break;}case _0x35f756[_0x14de29(0x3e7)][_0x14de29(0x258)]:{_0x4d8353=_0x35f756[_0x14de29(0x2f8)](_0x1d3c56,_0x4a6633);break;}case _0x35f756['EffectRefRangId']['InsertRangeMoveRightCommandId']:{_0x4d8353=_0x35f756[_0x14de29(0x327)](_0x1d3c56,_0x4a6633);break;}case _0x35f756[_0x14de29(0x3e7)][_0x14de29(0x27b)]:{_0x4d8353=_0x35f756[_0x14de29(0x3ea)](_0x1d3c56,_0x4a6633);break;}case _0x35f756[_0x14de29(0x3e7)][_0x14de29(0x425)]:{_0x4d8353=_0x35f756[_0x14de29(0x2df)](_0x1d3c56,_0x4a6633);break;}case _0x35f756[_0x14de29(0x3e7)][_0x14de29(0x283)]:{_0x4d8353=_0x35f756[_0x14de29(0x296)](_0x1d3c56,_0x4a6633);break;}case _0x35f756[_0x14de29(0x3e7)][_0x14de29(0x441)]:{_0x4d8353=_0x35f756[_0x14de29(0x424)](_0x1d3c56,_0x4a6633);break;}}const _0x238def=_0x35f756[_0x14de29(0x3cd)](_0x4d8353,_0x4a6633),_0x2e9ee1=this[_0x14de29(0x3f0)][_0x14de29(0x2ae)](_0x1482a8);if(_0x2e9ee1&&_0x238def){const _0x276c9f={..._0x2e9ee1,'range':_0x238def};this['cursorInfo']['set'](_0x1482a8,_0x276c9f),_0x24cc64(()=>{const _0x1a4985=_0x14de29,_0x4ffbac=this[_0x1a4985(0x2d3)]['registerRefRange'](_0x238def,_0x486209=>(_0x4ffbac['dispose'](),_0x1dce77(_0x486209,_0x1482a8,_0x5e56a8,_0x238def)));_0x16777d[_0x1a4985(0x3d4)](_0x4ffbac);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x16e006(0x2fc)]((_0x5f4c84,_0x3d0654)=>{const _0x34eef8=_0x16e006,{range:_0x12ee15,sheetID:_0x742ffb}=_0x5f4c84,_0x5b91d7=this[_0x34eef8(0x2d3)][_0x34eef8(0x1fe)](_0x12ee15,_0xc229e2=>(_0x5b91d7[_0x34eef8(0x3ae)](),_0x1dce77(_0xc229e2,_0x3d0654,_0x742ffb,_0x12ee15)));_0x16777d[_0x34eef8(0x3d4)](_0x5b91d7);});};this[_0x675b78(0x3d8)](_0x468931[_0x675b78(0x42d)](this['_cursorInfo$'][_0x675b78(0x38c)](()=>{_0x4e3690();})));}[_0x912252(0x23f)](){const _0x4399c4=_0x912252;var _0x4ec783,_0x535e28;if(this['_online']=!0x0,((_0x4ec783=this['_univerInstanceService'][_0x4399c4(0x29c)]())==null?void 0x0:_0x4ec783['getUnitId']())!==this[_0x4399c4(0x2ac)])return;const _0x3bf46b=(_0x535e28=this[_0x4399c4(0x457)][_0x4399c4(0x2ae)](_0x35f756[_0x4399c4(0x3c8)])[_0x4399c4(0x452)]())==null?void 0x0:_0x535e28[0x0],_0x4343a1=this['_univerInstanceService']['getCurrentUnitForType'](_0x468931[_0x4399c4(0x329)]['UNIVER_SHEET'])[_0x4399c4(0x23c)]();_0x3bf46b&&_0x4343a1&&this[_0x4399c4(0x447)](_0x4343a1['getSheetId'](),_0x3bf46b);}['_toggleOffline'](){this['_online']=!0x1;}};_0xe6db79=_0x1cacd5([_0x3aac02(0x2,_0x468931[_0x912252(0x37e)](_0x468931['Injector'])),_0x3aac02(0x3,_0x468931[_0x912252(0x37e)](_0xb034cf)),_0x3aac02(0x4,_0x468931['Inject'](_0x57d487[_0x912252(0x393)])),_0x3aac02(0x5,_0x468931[_0x912252(0x47c)]),_0x3aac02(0x6,_0x468931[_0x912252(0x3fa)]),_0x3aac02(0x7,_0x468931[_0x912252(0x37e)](_0x35f756[_0x912252(0x3c2)]))],_0xe6db79);var _0x5a0afe=Object['getOwnPropertyDescriptor'],_0x5f142d=(_0x153bd6,_0x51ea02,_0x479645,_0x365051)=>{const _0xd6cace=_0x912252;for(var _0x2eff32=_0x365051>0x1?void 0x0:_0x365051?_0x5a0afe(_0x51ea02,_0x479645):_0x51ea02,_0x385938=_0x153bd6[_0xd6cace(0x414)]-0x1,_0x35aff3;_0x385938>=0x0;_0x385938--)(_0x35aff3=_0x153bd6[_0x385938])&&(_0x2eff32=_0x35aff3(_0x2eff32)||_0x2eff32);return _0x2eff32;},_0xc9e39e=(_0x1863e5,_0x3b41eb)=>(_0x48ead2,_0x1196dd)=>_0x3b41eb(_0x48ead2,_0x1196dd,_0x1863e5);let _0x59a198=class extends _0x468931[_0x912252(0x3ba)]{constructor(_0x3791a3,_0x310907,_0x57629e){const _0x5d40a8=_0x912252;super(),_0x52c450(this,_0x5d40a8(0x200),new Map()),_0x52c450(this,_0x5d40a8(0x338),new _0x946ff9['Subject']()),(this[_0x5d40a8(0x31b)]=_0x3791a3,this['_injector']=_0x310907,this[_0x5d40a8(0x355)]=_0x57629e,this[_0x5d40a8(0x48e)]());}[_0x912252(0x3ae)](){const _0x2b3238=_0x912252;super['dispose'](),this[_0x2b3238(0x338)][_0x2b3238(0x336)](),this[_0x2b3238(0x200)][_0x2b3238(0x2fc)](_0x317d71=>_0x317d71[_0x2b3238(0x3ae)]());}[_0x912252(0x3a6)](_0x5bdcaa){const _0x2e0907=_0x912252;return this[_0x2e0907(0x200)]['has'](_0x5bdcaa)?this[_0x2e0907(0x200)][_0x2e0907(0x2ae)](_0x5bdcaa)[_0x2e0907(0x397)]:this['_entityInit$']['pipe'](_0x946ff9[_0x2e0907(0x28a)](_0x288852=>_0x288852[_0x2e0907(0x2ac)]===_0x5bdcaa),_0x946ff9[_0x2e0907(0x461)](_0x5a50a1=>_0x5a50a1['cursorInfo$']));}[_0x912252(0x48e)](){const _0x367f37=_0x912252;this['_univerInstanceService'][_0x367f37(0x2e5)](_0x468931[_0x367f37(0x329)]['UNIVER_SHEET'])[_0x367f37(0x252)](_0x946ff9['takeUntil'](this[_0x367f37(0x41b)]))['subscribe'](async _0x4ada1f=>{const _0x5b5aa1=_0x367f37,_0x5c89ac=_0x4ada1f['getUnitId'](),_0x2cc1a1=await this[_0x5b5aa1(0x351)](_0x5c89ac);this['_entityInit$'][_0x5b5aa1(0x44f)](_0x2cc1a1),this[_0x5b5aa1(0x200)][_0x5b5aa1(0x382)](_0x5c89ac,_0x2cc1a1);}),this[_0x367f37(0x31b)]['getTypeOfUnitAdded$'](_0x468931['UniverInstanceType'][_0x367f37(0x475)])[_0x367f37(0x252)](_0x946ff9[_0x367f37(0x3a7)](this[_0x367f37(0x41b)]))['pipe'](_0x946ff9[_0x367f37(0x28a)](_0x389f79=>!_0x389f79['getUnitId']()['startsWith']('__')))[_0x367f37(0x38c)](async _0x5e2d6c=>{const _0x153881=_0x367f37,_0x496717=_0x5e2d6c[_0x153881(0x2e8)](),_0x5bb0d6=await this[_0x153881(0x272)](_0x496717);this[_0x153881(0x338)][_0x153881(0x44f)](_0x5bb0d6),this[_0x153881(0x200)][_0x153881(0x382)](_0x496717,_0x5bb0d6);}),_0x946ff9[_0x367f37(0x24a)](this[_0x367f37(0x31b)]['getTypeOfUnitDisposed$'](_0x468931['UniverInstanceType'][_0x367f37(0x475)]),this[_0x367f37(0x31b)]['getTypeOfUnitDisposed$'](_0x468931[_0x367f37(0x329)][_0x367f37(0x1ff)]))[_0x367f37(0x252)](_0x946ff9['takeUntil'](this['dispose$']))[_0x367f37(0x38c)](_0x227e30=>{const _0x82f8a4=_0x367f37,_0x2d0d62=_0x227e30['getUnitId'](),_0x2de947=this['_entities'][_0x82f8a4(0x2ae)](_0x2d0d62);_0x2de947&&(_0x2de947['dispose'](),this['_entities'][_0x82f8a4(0x1f9)](_0x2d0d62));});}async[_0x912252(0x351)](_0x240504){const _0x4544b1=_0x912252,_0x440bb5=await this['_collabSessionService'][_0x4544b1(0x251)](_0x240504),_0x364c33=this['_injector']['createInstance'](_0xe6db79,_0x240504,_0x440bb5);return _0x364c33[_0x4544b1(0x2e9)](),_0x364c33;}async[_0x912252(0x272)](_0x4649a3){const _0x3cb95f=_0x912252,_0xa9c58=await this[_0x3cb95f(0x355)][_0x3cb95f(0x251)](_0x4649a3),_0x218a43=this['_injector'][_0x3cb95f(0x233)](_0x55254e,_0x4649a3,_0xa9c58);return _0x218a43[_0x3cb95f(0x2e9)](),_0x218a43;}};_0x59a198=_0x5f142d([_0xc9e39e(0x0,_0x468931['IUniverInstanceService']),_0xc9e39e(0x1,_0x468931[_0x912252(0x37e)](_0x468931[_0x912252(0x1fd)])),_0xc9e39e(0x2,_0x468931['Inject'](_0x57d487[_0x912252(0x476)]))],_0x59a198);const _0x244c9d=0x14,_0x2286a2=0xc8,_0x1bed4f=0x4,_0x50e1fb=0x5;function _0x3ddb88(_0xf84ce9,_0x4e8e6e){const _0x473b32=_0x912252;let {radius:_0x27d86c,width:_0x22d128,height:_0x1b2a10}=_0x4e8e6e;_0x27d86c=_0x27d86c!=null?_0x27d86c:0x0,_0x22d128=_0x22d128!=null?_0x22d128:0x1e,_0x1b2a10=_0x1b2a10!=null?_0x1b2a10:0x1e;let _0x4cc060=0x0,_0x29449b=0x0,_0x58ce97=0x0;_0x4cc060=_0x29449b=_0x58ce97=Math['min'](_0x27d86c,_0x22d128/0x2,_0x1b2a10/0x2),_0xf84ce9['beginPath'](),_0xf84ce9[_0x473b32(0x411)](_0x4cc060,0x0),_0xf84ce9[_0x473b32(0x3be)](_0x22d128-_0x29449b,0x0),_0xf84ce9[_0x473b32(0x23e)](_0x22d128-_0x29449b,_0x29449b,_0x29449b,Math['PI']*0x3/0x2,0x0,!0x1),_0xf84ce9[_0x473b32(0x3be)](_0x22d128,_0x1b2a10-_0x58ce97),_0xf84ce9[_0x473b32(0x23e)](_0x22d128-_0x58ce97,_0x1b2a10-_0x58ce97,_0x58ce97,0x0,Math['PI']/0x2,!0x1),_0xf84ce9[_0x473b32(0x3be)](0x0,_0x1b2a10),_0xf84ce9[_0x473b32(0x3be)](0x0,_0x4cc060),_0xf84ce9[_0x473b32(0x23e)](_0x4cc060,_0x4cc060,_0x4cc060,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xf84ce9[_0x473b32(0x3a9)](),_0x4e8e6e[_0x473b32(0x3f2)]&&(_0xf84ce9[_0x473b32(0x262)](),_0xf84ce9[_0x473b32(0x3a8)]=_0x4e8e6e[_0x473b32(0x3f2)],_0x4e8e6e[_0x473b32(0x450)]===_0x473b32(0x41a)?_0xf84ce9['fill'](_0x473b32(0x41a)):_0xf84ce9[_0x473b32(0x3f2)](),_0xf84ce9['restore']());}class _0x39d77d extends _0x5d71b0['Shape']{constructor(_0xab7d25,_0x1503ae){const _0x421a84=_0x912252;super(_0xab7d25,_0x1503ae),_0x52c450(this,_0x421a84(0x2f1)),_0x52c450(this,_0x421a84(0x35f)),(this[_0x421a84(0x2f1)]=_0x1503ae==null?void 0x0:_0x1503ae[_0x421a84(0x2f1)],this[_0x421a84(0x35f)]=_0x1503ae==null?void 0x0:_0x1503ae[_0x421a84(0x35f)]);}static['drawWith'](_0x5282e2,_0x171149){const _0x537368=_0x912252,{text:_0x9dc943,color:_0x177756}=_0x171149;_0x5282e2[_0x537368(0x262)](),_0x5282e2[_0x537368(0x365)]=_0x537368(0x46c);const _0x3e2dfc=_0x5282e2[_0x537368(0x3fc)](_0x9dc943)[_0x537368(0x3fd)],_0x385da7=Math[_0x537368(0x334)](_0x3e2dfc+0x2*_0x1bed4f,_0x2286a2);_0x3ddb88(_0x5282e2,{'height':_0x244c9d,'radius':0x4,'width':_0x385da7,'fill':_0x177756}),_0x5282e2['fillStyle']=_0x537368(0x41e);const _0xbc5fc3=_0x1bed4f,_0xd8ed68=_0x244c9d-_0x50e1fb,_0xf4dbcc=_0x2286a2-0x2*_0x1bed4f;if(_0x3e2dfc>_0xf4dbcc){let _0x3cbe2d='',_0x5c39a3=0x0;for(const _0x4488e9 of _0x9dc943){const _0x2229a1=_0x5282e2[_0x537368(0x3fc)](_0x4488e9)['width'];if(_0x5c39a3+_0x2229a1<=_0xf4dbcc-_0x5282e2[_0x537368(0x3fc)](_0x537368(0x487))[_0x537368(0x3fd)])_0x3cbe2d+=_0x4488e9,_0x5c39a3+=_0x2229a1;else{_0x3cbe2d+=_0x537368(0x487);break;}}_0x5282e2[_0x537368(0x2ed)](_0x3cbe2d,_0xbc5fc3,_0xd8ed68);}else _0x5282e2['fillText'](_0x9dc943,_0xbc5fc3,_0xd8ed68);_0x5282e2[_0x537368(0x20f)]();}[_0x912252(0x312)](_0x267a4f){const _0x5b58ce=_0x912252;_0x39d77d[_0x5b58ce(0x33f)](_0x267a4f,this);}}const _0x14c62e=_0x912252(0x2e3),_0x51f42f=_0x912252(0x29b),_0x2bf035=_0x912252(0x41c),_0x160e53=0x6,_0x5d769b=1.5,_0x18c05a=0x4,_0x278160=1.5,_0x4741bf=_0x912252(0x3ed);class _0x344ce8{constructor(_0x180bd0,_0x3262ee,_0x35e211,_0x595712){const _0x23bb66=_0x912252;_0x52c450(this,_0x23bb66(0x325),[]),_0x52c450(this,_0x23bb66(0x2e0),null),_0x52c450(this,'_textBubble',null),_0x52c450(this,_0x23bb66(0x275),null),_0x52c450(this,_0x23bb66(0x372),null),_0x52c450(this,_0x23bb66(0x346),null),(this[_0x23bb66(0x2b8)]=_0x180bd0,this['_scene']=_0x3262ee,this[_0x23bb66(0x227)]=_0x35e211,this[_0x23bb66(0x240)]=_0x595712,this[_0x23bb66(0x26e)]());}set[_0x912252(0x360)](_0x2c0699){const _0x676fdc=_0x912252;_0x2c0699?(this[_0x676fdc(0x275)]&&this[_0x676fdc(0x275)][_0x676fdc(0x235)](),this['_textBubble']&&this[_0x676fdc(0x30a)]['show']()):(this['_anchorDot']&&this['_anchorDot'][_0x676fdc(0x32d)](),this['_textBubble']&&this[_0x676fdc(0x30a)][_0x676fdc(0x235)]());}[_0x912252(0x3ae)](){const _0x5926b9=_0x912252;for(const _0x3dc489 of this[_0x5926b9(0x325)])_0x3dc489[_0x5926b9(0x3ae)]();this[_0x5926b9(0x30a)]&&this[_0x5926b9(0x30a)][_0x5926b9(0x3ae)](),this[_0x5926b9(0x275)]&&this[_0x5926b9(0x275)]['dispose'](),this[_0x5926b9(0x2e0)]&&this[_0x5926b9(0x2e0)]['dispose'](),this['_eventUnsubscribe']&&this['_eventUnsubscribe']();}[_0x912252(0x26e)](){const _0x107eb7=_0x912252;var _0x534816;const {_docSkeleton:_0x48bb71,_document:_0x382e00}=this,{color:_0x5126ce,name:_0x35f8f5,ranges:_0x119383}=this[_0x107eb7(0x2b8)],_0x3f3a04=_0x382e00['getOffsetConfig'](),{docsLeft:_0x428b06,docsTop:_0x5137d9}=_0x3f3a04,_0x4a5bc9=new _0x13c110['NodePositionConvertToCursor'](_0x3f3a04,_0x48bb71);for(const {startOffset:_0x236e8c,endOffset:_0x87a3c7,rangeType:_0x4296ca,segmentId:_0xeeb505,segmentPage:_0x402466,collapsed:_0x45c053,isActive:_0xa6dd33}of _0x119383){const _0x371051=_0x48bb71[_0x107eb7(0x333)](_0x236e8c,!0x0,_0xeeb505,_0x402466);let _0x48fae9=_0x48bb71['findNodePositionByCharIndex'](_0x87a3c7,!0x0,_0xeeb505,_0x402466);if(_0x48fae9==null&&(_0x48fae9=_0x48bb71['findNodePositionByCharIndex'](_0x87a3c7-0x1,!0x1,_0xeeb505,_0x402466)),_0xa6dd33){const {contentBoxPointGroup:_0xac1b7c}=_0x4a5bc9[_0x107eb7(0x3d1)](_0x48fae9,_0x48fae9);if(_0xac1b7c[_0x107eb7(0x414)]===0x0)continue;this['_drawAnchor'](_0x5126ce,_0xac1b7c,_0x428b06,_0x5137d9,_0x35f8f5),this[_0x107eb7(0x346)]=this['_handleHover']();}if(_0x371051&&_0x48fae9){if(_0x4296ca===_0x468931['DOC_RANGE_TYPE'][_0x107eb7(0x42b)]){const _0x12e3fa=new _0x13c110[(_0x107eb7(0x28e))](_0x3f3a04,_0x48bb71),{pointGroup:_0x537cca}=(_0x534816=_0x12e3fa[_0x107eb7(0x3d1)](_0x371051,_0x48fae9))!=null?_0x534816:{};if(_0x537cca==null||_0x537cca[_0x107eb7(0x414)]===0x0)continue;this[_0x107eb7(0x48c)](_0x5126ce,_0x537cca,_0x428b06,_0x5137d9);}else{if(!_0x45c053){const {borderBoxPointGroup:_0x546964}=_0x4a5bc9[_0x107eb7(0x3d1)](_0x371051,_0x48fae9);if(_0x546964[_0x107eb7(0x414)]===0x0)continue;this[_0x107eb7(0x3a3)](_0x5126ce,_0x546964,_0x428b06,_0x5137d9);}}}}}['_drawAnchor'](_0x2bcd06,_0x27f046,_0x498cfb,_0x29eba6,_0x30faa6){const _0x4282e2=_0x912252,_0x5dbdda=this[_0x4282e2(0x26b)](_0x27f046),{left:_0x3b7e2c,top:_0x2ce4a5,height:_0x49619e}=_0x5dbdda,_0x467517=this['_getScale'](),_0x1c84cc=_0x278160/_0x467517,_0x372a76=new _0x5d71b0[(_0x4282e2(0x440))](_0x14c62e+_0x468931[_0x4282e2(0x24d)][_0x4282e2(0x2b7)](_0x160e53),{'left':_0x3b7e2c+_0x498cfb-_0x1c84cc,'top':_0x2ce4a5+_0x29eba6,'height':_0x49619e,'width':_0x5d769b,'fill':_0x2bcd06||_0x5d71b0[_0x4282e2(0x2e7)](_0x468931[_0x4282e2(0x2ce)][_0x4282e2(0x415)],0x0),'strokeWidth':_0x1c84cc,'stroke':_0x4741bf,'evented':!0x0});this[_0x4282e2(0x2e0)]=_0x372a76,this['_scene'][_0x4282e2(0x31e)](_0x372a76,_0x13c110[_0x4282e2(0x460)]);const _0x40bfb8=new _0x5d71b0[(_0x4282e2(0x440))](_0x14c62e+_0x468931[_0x4282e2(0x24d)][_0x4282e2(0x2b7)](_0x160e53),{'left':_0x3b7e2c+_0x498cfb-_0x1c84cc,'top':_0x2ce4a5+_0x29eba6-_0x18c05a/0x2,'height':_0x18c05a,'width':_0x18c05a,'fill':_0x2bcd06||_0x5d71b0[_0x4282e2(0x2e7)](_0x468931['COLORS'][_0x4282e2(0x415)],0x0),'strokeWidth':0x0,'stroke':_0x2bcd06||_0x5d71b0[_0x4282e2(0x2e7)](_0x468931['COLORS']['black'],0x0),'evented':!0x1});this[_0x4282e2(0x275)]=_0x40bfb8,this[_0x4282e2(0x3bb)]['addObject'](_0x40bfb8,_0x13c110[_0x4282e2(0x460)]);const _0x3a1380=new _0x39d77d(_0x14c62e+_0x468931[_0x4282e2(0x24d)][_0x4282e2(0x2b7)](_0x160e53),{'left':_0x3b7e2c+_0x498cfb-_0x1c84cc,'top':_0x2ce4a5+_0x29eba6-_0x244c9d,'text':_0x30faa6,'color':_0x2bcd06});this[_0x4282e2(0x30a)]=_0x3a1380,this['_scene'][_0x4282e2(0x31e)](_0x3a1380,_0x13c110[_0x4282e2(0x460)]),this['_hover']=!0x1;}[_0x912252(0x455)](){const _0x4ee5d0=_0x912252,_0x32678f=this[_0x4ee5d0(0x2e0)][_0x4ee5d0(0x359)][_0x4ee5d0(0x41d)](()=>{const _0x1e59c0=_0x4ee5d0;this[_0x1e59c0(0x360)]=!0x0;}),_0x3fc8ae=this['_anchor']['onPointerLeave$'][_0x4ee5d0(0x41d)](()=>{const _0x16abf3=_0x4ee5d0;this['_hideTimer']&&clearTimeout(this['_hideTimer']),this[_0x16abf3(0x372)]=setTimeout(()=>{const _0x5949c5=_0x16abf3;this[_0x5949c5(0x360)]=!0x1;},0x7d0);});return()=>{const _0x53f202=_0x4ee5d0;_0x32678f[_0x53f202(0x3a0)](),_0x3fc8ae[_0x53f202(0x3a0)]();};}[_0x912252(0x3a3)](_0x5347be,_0x5d29d9,_0x580489,_0x42235e){const _0x63ef3f=_0x912252,_0x1a9b37=new _0x468931[(_0x63ef3f(0x45d))](_0x5347be)[_0x63ef3f(0x3f5)](0.2)['toRgbString'](),_0x3ee7ce=new _0x5d71b0[(_0x63ef3f(0x216))](_0x51f42f+_0x468931[_0x63ef3f(0x24d)][_0x63ef3f(0x2b7)](_0x160e53),{'pointsGroup':_0x5d29d9,'fill':_0x1a9b37||_0x5d71b0['getColor'](_0x468931[_0x63ef3f(0x2ce)][_0x63ef3f(0x415)],0.2),'left':_0x580489,'top':_0x42235e,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x63ef3f(0x381)](_0x3ee7ce),this[_0x63ef3f(0x3bb)][_0x63ef3f(0x31e)](_0x3ee7ce,_0x13c110[_0x63ef3f(0x460)]);}['_drawRectRange'](_0x1eb97f,_0x242b1e,_0x7a5999,_0xd3456e){const _0x2ddb07=_0x912252,_0x313449=new _0x468931[(_0x2ddb07(0x45d))](_0x1eb97f)[_0x2ddb07(0x3f5)](0.2)['toRgbString'](),_0x34bbc1=new _0x5d71b0[(_0x2ddb07(0x216))](_0x2bf035+_0x468931[_0x2ddb07(0x24d)]['generateRandomId'](_0x160e53),{'pointsGroup':_0x242b1e,'fill':_0x313449||_0x5d71b0[_0x2ddb07(0x2e7)](_0x468931['COLORS']['black'],0.2),'left':_0x7a5999,'top':_0xd3456e,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x2ddb07(0x325)][_0x2ddb07(0x381)](_0x34bbc1),this[_0x2ddb07(0x3bb)]['addObject'](_0x34bbc1,_0x13c110[_0x2ddb07(0x460)]);}['_getAnchorBounding'](_0x37a342){const _0x3510ce=_0x37a342[0x0],_0x51c42b=_0x3510ce[0x0],_0x513efc=_0x3510ce[0x2],{x:_0x2144c6,y:_0x3f296d}=_0x51c42b,{x:_0x13d82f,y:_0x31de09}=_0x513efc;return{'left':_0x2144c6,'top':_0x3f296d,'width':_0x13d82f-_0x2144c6,'height':_0x31de09-_0x3f296d};}[_0x912252(0x3ee)](){const _0xdec9d2=_0x912252,{scaleX:_0x58a783,scaleY:_0x47ba5b}=this[_0xdec9d2(0x3bb)][_0xdec9d2(0x3c9)]();return Math[_0xdec9d2(0x270)](_0x58a783,_0x47ba5b);}}var _0x332780=Object['getOwnPropertyDescriptor'],_0x4a6376=(_0x4a1fd3,_0x1815da,_0x2ceea3,_0x19cacf)=>{for(var _0x2f8193=_0x19cacf>0x1?void 0x0:_0x19cacf?_0x332780(_0x1815da,_0x2ceea3):_0x1815da,_0x72242d=_0x4a1fd3['length']-0x1,_0x2d6549;_0x72242d>=0x0;_0x72242d--)(_0x2d6549=_0x4a1fd3[_0x72242d])&&(_0x2f8193=_0x2d6549(_0x2f8193)||_0x2f8193);return _0x2f8193;},_0x1189dd=(_0x42d191,_0x150a06)=>(_0x1f44af,_0x1ce755)=>_0x150a06(_0x1f44af,_0x1ce755,_0x42d191);let _0x2735fe=class extends _0x468931[_0x912252(0x3ba)]{constructor(_0xb13c36,_0x445ec4,_0x167915,_0x2f5dde,_0x4970d7){const _0x421037=_0x912252;super(),_0x52c450(this,_0x421037(0x27c),[]),_0x52c450(this,_0x421037(0x2a9),[]),(this[_0x421037(0x3e2)]=_0xb13c36,this[_0x421037(0x37c)]=_0x445ec4,this[_0x421037(0x24b)]=_0x167915,this['_commandService']=_0x2f5dde,this[_0x421037(0x28b)]=_0x4970d7,this[_0x421037(0x48e)]());}[_0x912252(0x48e)](){const _0x3203a=_0x912252,_0x2008ba=this[_0x3203a(0x3e2)][_0x3203a(0x25e)],_0x1c7708=this[_0x3203a(0x37c)];this['disposeWithMe'](_0x946ff9['combineLatest']([this[_0x3203a(0x24b)][_0x3203a(0x3a6)](_0x2008ba),this[_0x3203a(0x28b)]['currentTheme$']])[_0x3203a(0x252)](_0x2e4f52[_0x3203a(0x284)](([_0xc4d013,_0x40b54c])=>({'skeleton':_0x1c7708[_0x3203a(0x377)](),'cursors':[..._0xc4d013[_0x3203a(0x40d)]()][_0x3203a(0x34c)](_0x427eec=>({..._0x427eec,'color':this[_0x3203a(0x28b)][_0x3203a(0x3b6)](_0x427eec[_0x3203a(0x2f1)])}))})))[_0x3203a(0x38c)](_0x4e247e=>{const _0x1ea2d6=_0x3203a;if(this[_0x1ea2d6(0x474)](),_0x4e247e){const {skeleton:_0x4d3f64,cursors:_0x259fba}=_0x4e247e;this[_0x1ea2d6(0x32c)](_0x4d3f64,_0x259fba);}})),this[_0x3203a(0x33a)](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x168788,_0x2188f0){const _0x28d437=_0x912252,{scene:_0x9621df,mainComponent:_0x439984}=this[_0x28d437(0x3e2)],_0x112c7b=_0x2188f0[_0x28d437(0x284)](_0x5568ed=>new _0x344ce8(_0x5568ed,_0x9621df,_0x168788,_0x439984));this[_0x28d437(0x27c)]=_0x112c7b,this[_0x28d437(0x2a9)]=_0x2188f0;}[_0x912252(0x43b)](){const _0x5828f9=_0x912252;this[_0x5828f9(0x474)]();const {scene:_0x4deca9,mainComponent:_0xea021a}=this['_context'],_0x4e0dd5=this[_0x5828f9(0x37c)][_0x5828f9(0x377)](),_0x35a3e8=this[_0x5828f9(0x2a9)][_0x5828f9(0x284)](_0x40cca6=>new _0x344ce8(_0x40cca6,_0x4deca9,_0x4e0dd5,_0xea021a));this[_0x5828f9(0x27c)]=_0x35a3e8;}[_0x912252(0x474)](){const _0x5ebbb8=_0x912252;this[_0x5ebbb8(0x27c)][_0x5ebbb8(0x2fc)](_0x5e6fd0=>_0x5e6fd0[_0x5ebbb8(0x3ae)]()),this[_0x5ebbb8(0x27c)]=[];}['_initCommandExecutedListener'](){const _0x89be6b=_0x912252,_0x4c687c=[_0x13c110[_0x89be6b(0x2aa)]['id']];this[_0x89be6b(0x3d8)](this['_commandService']['onCommandExecuted'](_0x37de19=>{const _0x2d3a63=_0x89be6b;_0x4c687c[_0x2d3a63(0x3ad)](_0x37de19['id'])&&_0x37de19[_0x2d3a63(0x43d)][_0x2d3a63(0x25e)]===this[_0x2d3a63(0x3e2)]['unitId']&&this[_0x2d3a63(0x43b)]();}));}[_0x912252(0x33a)](){const _0x3b207f=_0x912252;this[_0x3b207f(0x3d8)](_0x468931[_0x3b207f(0x42f)](this[_0x3b207f(0x3e2)][_0x3b207f(0x3aa)][_0x3b207f(0x380)])[_0x3b207f(0x252)](_0x2e4f52[_0x3b207f(0x28a)](_0x1a701b=>_0x1a701b[_0x3b207f(0x468)]===_0x5d71b0[_0x3b207f(0x2cf)][_0x3b207f(0x2e2)]),_0x2e4f52['throttleTime'](0x10))[_0x3b207f(0x38c)](()=>{const _0x448ca3=_0x3b207f;this[_0x448ca3(0x43b)]();}));}};_0x2735fe=_0x4a6376([_0x1189dd(0x1,_0x468931[_0x912252(0x37e)](_0x3b619f['DocSkeletonManagerService'])),_0x1189dd(0x2,_0x468931[_0x912252(0x37e)](_0x59a198)),_0x1189dd(0x3,_0x468931[_0x912252(0x3fa)]),_0x1189dd(0x4,_0x468931['Inject'](_0x468931[_0x912252(0x3a4)]))],_0x2735fe);const _0x45d45c=0x1,_0x12200e=1.5;class _0x2b188b extends _0x5d71b0['Shape']{constructor(_0x440051,_0xd9dd0a){const _0x5ef279=_0x912252;super(_0x440051,_0xd9dd0a),_0x52c450(this,_0x5ef279(0x291)),_0x52c450(this,'_hovered',!0x1),_0x52c450(this,_0x5ef279(0x385)),_0x52c450(this,_0x5ef279(0x413),''),_0x52c450(this,_0x5ef279(0x458),_0x5ef279(0x219)),_0x52c450(this,_0x5ef279(0x2fa)),(_0xd9dd0a&&this[_0x5ef279(0x299)](_0xd9dd0a),this[_0x5ef279(0x359)][_0x5ef279(0x41d)](()=>this[_0x5ef279(0x299)]({'hovered':!0x0})),this[_0x5ef279(0x43e)][_0x5ef279(0x41d)](()=>this[_0x5ef279(0x299)]({'hovered':!0x1})));}[_0x912252(0x299)](_0xd1cc47){const _0x48ff4b=_0x912252;var _0x21de83,_0xecbad9,_0x1493db,_0x10f6a1,_0x516265,_0x595a57;this[_0x48ff4b(0x291)]=(_0x21de83=_0xd1cc47[_0x48ff4b(0x2f1)])!=null?_0x21de83:this[_0x48ff4b(0x291)],this['_hovered']=(_0xecbad9=_0xd1cc47[_0x48ff4b(0x3dd)])!=null?_0xecbad9:this[_0x48ff4b(0x1f4)],this[_0x48ff4b(0x385)]=(_0x1493db=_0xd1cc47[_0x48ff4b(0x464)])!=null?_0x1493db:this[_0x48ff4b(0x385)],this[_0x48ff4b(0x413)]=(_0x10f6a1=_0xd1cc47[_0x48ff4b(0x3b9)])!=null?_0x10f6a1:this[_0x48ff4b(0x413)],this[_0x48ff4b(0x458)]=(_0x516265=_0xd1cc47['labelPosition'])!=null?_0x516265:this[_0x48ff4b(0x458)],this['_backgroundColor']=(_0x595a57=_0xd1cc47[_0x48ff4b(0x213)])!=null?_0x595a57:this[_0x48ff4b(0x2fa)],this[_0x48ff4b(0x419)]({'width':_0xd1cc47['width'],'height':_0xd1cc47[_0x48ff4b(0x3de)]});}[_0x912252(0x433)](_0x475a2f){const _0x1d6464=_0x912252,{row:_0x4c5269,column:_0x38d0bc}=_0x475a2f;if(_0x4c5269>=this[_0x1d6464(0x385)][_0x1d6464(0x307)]&&_0x4c5269<=this['_range']['endRow']&&_0x38d0bc>=this[_0x1d6464(0x385)][_0x1d6464(0x38a)]&&_0x38d0bc<=this[_0x1d6464(0x385)]['endColumn']){this[_0x1d6464(0x299)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x912252(0x31f)](_0xb88fc3){return!0x1;}[_0x912252(0x312)](_0x5055aa){const _0x510c13=_0x912252;_0x5d71b0['Rect'][_0x510c13(0x33f)](_0x5055aa,{'width':this[_0x510c13(0x3fd)],'height':this[_0x510c13(0x3de)],'strokeWidth':_0x12200e,'stroke':this[_0x510c13(0x291)],'evented':!0x1,'fill':this[_0x510c13(0x2fa)]}),this['_hovered']&&(_0x5055aa['save'](),_0x5055aa[_0x510c13(0x423)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']===_0x510c13(0x228)?0x0:-0x14),_0x39d77d[_0x510c13(0x33f)](_0x5055aa,{'text':this['_name'],'color':this['_color']}),_0x5055aa['restore']());}}var _0xf2a4f2=Object[_0x912252(0x289)],_0x18e4b3=(_0x27053f,_0x53f993,_0x30bd81,_0x5c2bea)=>{const _0x4e9b9b=_0x912252;for(var _0x3025ff=_0x5c2bea>0x1?void 0x0:_0x5c2bea?_0xf2a4f2(_0x53f993,_0x30bd81):_0x53f993,_0x491652=_0x27053f[_0x4e9b9b(0x414)]-0x1,_0x54f01e;_0x491652>=0x0;_0x491652--)(_0x54f01e=_0x27053f[_0x491652])&&(_0x3025ff=_0x54f01e(_0x3025ff)||_0x3025ff);return _0x3025ff;},_0xbb08b1=(_0x38cd9e,_0x423135)=>(_0x174431,_0x28622a)=>_0x423135(_0x174431,_0x28622a,_0x38cd9e);const _0x347c13=0x1389;let _0x58f27b=class extends _0x468931[_0x912252(0x3ba)]{constructor(_0xe9820f,_0x3c2f3e,_0x50ced1,_0x1ac648){const _0x3a4089=_0x912252;super(),_0x52c450(this,_0x3a4089(0x2a9),new Set()),_0x52c450(this,_0x3a4089(0x347),null),(this[_0x3a4089(0x3e2)]=_0xe9820f,this[_0x3a4089(0x2e6)]=_0x3c2f3e,this[_0x3a4089(0x24b)]=_0x50ced1,this[_0x3a4089(0x28b)]=_0x1ac648,this['_init']());}['_init'](){const _0x3f6a77=_0x912252;this[_0x3f6a77(0x2e6)][_0x3f6a77(0x209)][_0x3f6a77(0x252)](_0x2e4f52[_0x3f6a77(0x3a7)](this['dispose$']),_0x2e4f52[_0x3f6a77(0x461)](_0x5240b8=>{const _0x49cbc3=_0x3f6a77;if(_0x5240b8){const _0x5d2a36=_0x5240b8['sheetId'];return _0x946ff9[_0x49cbc3(0x3fb)](this[_0x49cbc3(0x24b)][_0x49cbc3(0x3a6)](this[_0x49cbc3(0x3e2)][_0x49cbc3(0x25e)]),this[_0x49cbc3(0x28b)][_0x49cbc3(0x295)])[_0x49cbc3(0x252)](_0x2e4f52[_0x49cbc3(0x284)](([_0x1e2ae4,_0xbc899c])=>{const _0x3c9496=_0x49cbc3,_0x3b2644=new Map();return _0x1e2ae4[_0x3c9496(0x2fc)]((_0x349241,_0x39024d)=>{const _0x4535e2=_0x3c9496;if(_0x349241[_0x4535e2(0x481)]===_0x5d2a36){const _0x1a919b={..._0x349241};_0x1a919b[_0x4535e2(0x2f1)]=this[_0x4535e2(0x28b)]['getColorFromTheme'](_0x349241[_0x4535e2(0x2f1)]),_0x3b2644[_0x4535e2(0x382)](_0x39024d,_0x1a919b);}}),{'skeleton':_0x5240b8,'cursors':_0x3b2644};}));}return _0x946ff9['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x13e098,cursors:_0x301337})=>{const _0x2906f5=_0x3f6a77;this[_0x2906f5(0x474)](),_0x13e098&&this[_0x2906f5(0x32c)](_0x13e098,_0x301337);}),this[_0x3f6a77(0x2e6)][_0x3f6a77(0x209)][_0x3f6a77(0x38c)](_0x3f064d=>{const _0x1e63b4=_0x3f6a77;if(_0x3f064d==null)return;const {skeleton:_0x4a5181}=_0x3f064d,{scene:_0x344f3a}=this[_0x1e63b4(0x3e2)];_0x344f3a[_0x1e63b4(0x2ec)][_0x1e63b4(0x41d)](_0x468931[_0x1e63b4(0x343)](_0x45f062=>{const _0x2697e2=_0x1e63b4;var _0x3eb523,_0x2a0e27;const {offsetX:_0x24881b,offsetY:_0x216972}=_0x45f062,{x:_0x2ce504,y:_0x37fa92}=_0x344f3a[_0x2697e2(0x208)](_0x5d71b0[_0x2697e2(0x2db)]['FromArray']([_0x24881b,_0x216972])),{scaleX:_0x4165e2,scaleY:_0x12fed5}=_0x344f3a[_0x2697e2(0x3c9)](),_0x501bb8=_0x344f3a[_0x2697e2(0x2be)](_0x5d71b0[_0x2697e2(0x33b)][_0x2697e2(0x265)]),_0x391d90=_0x344f3a[_0x2697e2(0x260)](_0x5d71b0['Vector2'][_0x2697e2(0x320)]([_0x2ce504,_0x37fa92]),_0x501bb8),_0x7b478c=_0x4a5181[_0x2697e2(0x203)](_0x24881b,_0x216972,_0x4165e2,_0x12fed5,_0x391d90);((_0x3eb523=this['_lastPointer'])==null?void 0x0:_0x3eb523['column'])===_0x7b478c[_0x2697e2(0x323)]&&((_0x2a0e27=this[_0x2697e2(0x347)])==null?void 0x0:_0x2a0e27[_0x2697e2(0x3d3)])===_0x7b478c['row']||this['_cursors'][_0x2697e2(0x2fc)](_0x5e0b32=>{_0x5e0b32['onMouseMove'](_0x7b478c);});},0x64));});}['_updateCollabCursors'](_0x3a3514,_0x511b18){const _0x3008a0=_0x912252;var _0x73be36;const _0x1e43ac=(_0x73be36=this['_sheetSkeletonManagerService'][_0x3008a0(0x45c)]())==null?void 0x0:_0x73be36[_0x3008a0(0x2c4)];if(!_0x1e43ac)return;const _0x7c86f3=this[_0x3008a0(0x268)]();if(!_0x7c86f3)return;this[_0x3008a0(0x2a9)][_0x3008a0(0x2fc)](_0x52037d=>{const _0x539cb6=_0x3008a0;_0x52037d[_0x539cb6(0x2dc)]();});const {scene:_0x103bc7}=_0x7c86f3,_0x338971=_0x4461ad(Array[_0x3008a0(0x3f9)](_0x511b18['values']()))[_0x3008a0(0x284)](_0x40bf4d=>{const _0x3c888e=_0x3008a0,{color:_0x1f998b,range:_0x4b9bb5,name:_0x307bab,selection:_0x146f62,sheetID:_0x5d7ee5}=_0x40bf4d,{startColumn:_0x56aba0,startRow:_0x160db7,endColumn:_0x5db1a3,endRow:_0x14e287}=_0x4b9bb5,_0x3af442=_0x1c415a[_0x3c888e(0x41f)](_0x160db7,_0x56aba0,_0x103bc7,_0x1e43ac),_0x50d1fe=_0x1c415a[_0x3c888e(0x41f)](_0x14e287,_0x5db1a3,_0x103bc7,_0x1e43ac),{columnHeaderHeightAndMarginTop:_0x530e49}=_0x1e43ac,{startX:_0x31d33f,startY:_0x469417}=_0x3af442,{endX:_0x9ea201,endY:_0x1ff4d0}=_0x50d1fe,_0x39ee7a=_0x9ea201-_0x31d33f,_0x436f42=_0x1ff4d0-_0x469417,_0x2eb906={'labelPosition':_0x469417-_0x530e49>=_0x244c9d?_0x3c888e(0x219):'bottom','sheetID':_0x5d7ee5,'range':_0x4b9bb5,'color':_0x1f998b,'name':_0x307bab,'selection':_0x146f62,'left':_0x31d33f,'top':_0x469417,'width':_0x39ee7a,'height':_0x436f42,'evented':!0x1,'zIndex':_0x347c13};return new _0x2b188b(_0x307bab,_0x2eb906);});_0x103bc7[_0x3008a0(0x40a)](_0x338971,_0x45d45c),this['_cursors']=new Set(_0x338971);}['_removeCollabCursors'](){const _0x1c111c=_0x912252;var _0x5f5632;(_0x5f5632=this[_0x1c111c(0x2a9)])==null||_0x5f5632[_0x1c111c(0x2fc)](_0x4c3ef9=>_0x4c3ef9[_0x1c111c(0x3ae)]());}['_getSheetObject'](){const _0x399d29=_0x912252;return _0x1c415a[_0x399d29(0x31d)](this[_0x399d29(0x3e2)]['unit'],this[_0x399d29(0x3e2)]);}};_0x58f27b=_0x18e4b3([_0xbb08b1(0x1,_0x468931[_0x912252(0x37e)](_0x1c415a['SheetSkeletonManagerService'])),_0xbb08b1(0x2,_0x468931[_0x912252(0x37e)](_0x59a198)),_0xbb08b1(0x3,_0x468931[_0x912252(0x37e)](_0x468931[_0x912252(0x3a4)]))],_0x58f27b);function _0x4461ad(_0x116214){const _0x2258fa=_0x912252,_0x2db6e0=new Map();return _0x116214[_0x2258fa(0x2fc)](_0x3580c8=>{const _0x5675d7=_0x2258fa;if(_0x2db6e0[_0x5675d7(0x2a7)](_0x3580c8['selection'])){const _0x579b46=_0x2db6e0['get'](_0x3580c8[_0x5675d7(0x3ca)]);_0x579b46[_0x5675d7(0x3b9)]+=',\x20'+_0x3580c8[_0x5675d7(0x3b9)];}else _0x2db6e0['set'](_0x3580c8[_0x5675d7(0x3ca)],_0x3580c8);}),Array['from'](_0x2db6e0[_0x2258fa(0x40d)]());}var _0xfd89b7=function(){const _0x2ee51a=_0x912252;return _0xfd89b7=Object[_0x2ee51a(0x3cb)]||function(_0x3b50a5){const _0x46f4dc=_0x2ee51a;for(var _0x6d27a5,_0x1334a7=0x1,_0x2a8412=arguments[_0x46f4dc(0x414)];_0x1334a7<_0x2a8412;_0x1334a7++){_0x6d27a5=arguments[_0x1334a7];for(var _0x556f6a in _0x6d27a5)Object[_0x46f4dc(0x3eb)]['hasOwnProperty'][_0x46f4dc(0x390)](_0x6d27a5,_0x556f6a)&&(_0x3b50a5[_0x556f6a]=_0x6d27a5[_0x556f6a]);}return _0x3b50a5;},_0xfd89b7['apply'](this,arguments);},_0x4d8446=function(_0x1af742,_0x473706){const _0x290909=_0x912252;var _0x5db3fa={};for(var _0x5350cd in _0x1af742)Object[_0x290909(0x3eb)][_0x290909(0x309)][_0x290909(0x390)](_0x1af742,_0x5350cd)&&_0x473706[_0x290909(0x2d9)](_0x5350cd)<0x0&&(_0x5db3fa[_0x5350cd]=_0x1af742[_0x5350cd]);if(_0x1af742!=null&&typeof Object['getOwnPropertySymbols']==_0x290909(0x319)){for(var _0x57bb1e=0x0,_0x5350cd=Object[_0x290909(0x236)](_0x1af742);_0x57bb1e<_0x5350cd['length'];_0x57bb1e++)_0x473706['indexOf'](_0x5350cd[_0x57bb1e])<0x0&&Object[_0x290909(0x3eb)][_0x290909(0x37b)]['call'](_0x1af742,_0x5350cd[_0x57bb1e])&&(_0x5db3fa[_0x5350cd[_0x57bb1e]]=_0x1af742[_0x5350cd[_0x57bb1e]]);}return _0x5db3fa;},_0x58b9e5=_0x50701b[_0x912252(0x400)](function(_0x1cae35,_0x5d4376){const _0xa11d14=_0x912252;var _0x3f6c2a=_0x1cae35[_0xa11d14(0x2bd)],_0x476129=_0x1cae35['id'],_0x3d48b1=_0x1cae35[_0xa11d14(0x308)],_0x1916df=_0x1cae35['extend'],_0x4b96e0=_0x4d8446(_0x1cae35,[_0xa11d14(0x2bd),'id',_0xa11d14(0x308),'extend']),_0x36792f=_0xa11d14(0x467)['concat'](_0x476129,'\x20')['concat'](_0x3d48b1||'')[_0xa11d14(0x2e4)](),_0x325508=_0x50701b[_0xa11d14(0x28c)]('_'['concat'](_0x28c161()));return _0x43e8a3(_0x3f6c2a,''[_0xa11d14(0x3f8)](_0x476129),{'defIds':_0x3f6c2a[_0xa11d14(0x3d9)],'idSuffix':_0x325508['current']},_0xfd89b7({'ref':_0x5d4376,'className':_0x36792f},_0x4b96e0),_0x1916df);});function _0x43e8a3(_0x206638,_0x5dc712,_0x2e3fc2,_0x3c195f,_0x207ba2){const _0x14168f=_0x912252;return _0x50701b[_0x14168f(0x21d)](_0x206638['tag'],_0xfd89b7(_0xfd89b7({'key':_0x5dc712},_0x23a1e8(_0x206638,_0x2e3fc2,_0x207ba2)),_0x3c195f),(_0x5f57bc(_0x206638,_0x2e3fc2)[_0x14168f(0x3b7)]||[])[_0x14168f(0x284)](function(_0xb05b9c,_0x341e6c){const _0x55ba5b=_0x14168f;return _0x43e8a3(_0xb05b9c,''[_0x55ba5b(0x3f8)](_0x5dc712,'-')['concat'](_0x206638['tag'],'-')[_0x55ba5b(0x3f8)](_0x341e6c),_0x2e3fc2,void 0x0,_0x207ba2);}));}function _0x23a1e8(_0xb420e9,_0x2d1618,_0x31dc8c){const _0x62929e=_0x912252;var _0x3b5530=_0xfd89b7({},_0xb420e9[_0x62929e(0x466)]);_0x31dc8c!=null&&_0x31dc8c['colorChannel1']&&_0x3b5530[_0x62929e(0x3f2)]===_0x62929e(0x485)&&(_0x3b5530[_0x62929e(0x3f2)]=_0x31dc8c[_0x62929e(0x485)]),_0xb420e9[_0x62929e(0x3c4)]===_0x62929e(0x206)&&_0x3b5530['id']&&(_0x3b5530['id']=_0x3b5530['id']+_0x2d1618[_0x62929e(0x370)]),Object['entries'](_0x3b5530)[_0x62929e(0x2fc)](function(_0x35bcfd){const _0x44a9c6=_0x62929e;var _0x403b3d=_0x35bcfd[0x0],_0x16bdb8=_0x35bcfd[0x1];_0x403b3d===_0x44a9c6(0x206)&&typeof _0x16bdb8==_0x44a9c6(0x2d0)&&(_0x3b5530[_0x403b3d]=_0x16bdb8[_0x44a9c6(0x42e)](/url\(#(.*)\)/,_0x44a9c6(0x2f9)['concat'](_0x2d1618['idSuffix'],')')));});var _0x43998e=_0x2d1618[_0x62929e(0x3d9)];return!_0x43998e||_0x43998e[_0x62929e(0x414)]===0x0||(_0xb420e9['tag']==='use'&&_0x3b5530[_0x62929e(0x300)]&&(_0x3b5530[_0x62929e(0x300)]=_0x3b5530['xlink:href']+_0x2d1618[_0x62929e(0x370)]),Object['entries'](_0x3b5530)['forEach'](function(_0x37dd16){const _0x50d111=_0x62929e;var _0x4ad304=_0x37dd16[0x0],_0x587054=_0x37dd16[0x1];typeof _0x587054=='string'&&(_0x3b5530[_0x4ad304]=_0x587054[_0x50d111(0x42e)](/url\(#(.*)\)/,_0x50d111(0x2f9)[_0x50d111(0x3f8)](_0x2d1618['idSuffix'],')')));})),_0x3b5530;}function _0x5f57bc(_0x40802f,_0x389c99){const _0x34d58d=_0x912252;var _0x556322,_0x8ff366=_0x389c99[_0x34d58d(0x3d9)];return!_0x8ff366||_0x8ff366[_0x34d58d(0x414)]===0x0?_0x40802f:_0x40802f[_0x34d58d(0x3c4)]===_0x34d58d(0x263)&&(!((_0x556322=_0x40802f['children'])===null||_0x556322===void 0x0)&&_0x556322['length'])?_0xfd89b7(_0xfd89b7({},_0x40802f),{'children':_0x40802f[_0x34d58d(0x3b7)][_0x34d58d(0x284)](function(_0x26e40f){const _0x3a76de=_0x34d58d;return typeof _0x26e40f[_0x3a76de(0x466)]['id']==_0x3a76de(0x2d0)&&_0x8ff366&&_0x8ff366[_0x3a76de(0x3ad)](_0x26e40f[_0x3a76de(0x466)]['id'])?_0xfd89b7(_0xfd89b7({},_0x26e40f),{'attrs':_0xfd89b7(_0xfd89b7({},_0x26e40f[_0x3a76de(0x466)]),{'id':_0x26e40f[_0x3a76de(0x466)]['id']+_0x389c99[_0x3a76de(0x370)]})}):_0x26e40f;})}):_0x40802f;}function _0x28c161(){const _0x145144=_0x912252;return Math['random']()[_0x145144(0x324)](0x24)[_0x145144(0x362)](0x2,0x8);}_0x58b9e5[_0x912252(0x45f)]=_0x912252(0x484);var _0x5263f5={'tag':_0x912252(0x2a5),'attrs':{'xmlns':_0x912252(0x237),'fill':_0x912252(0x215),'viewBox':_0x912252(0x2ad),'width':_0x912252(0x3da),'height':_0x912252(0x3da)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x912252(0x386),'attrs':{'stroke':'currentColor','d':_0x912252(0x45e),'strokeLinecap':_0x912252(0x243),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x912252(0x444),'attrs':{'id':_0x912252(0x439)},'children':[{'tag':_0x912252(0x386),'attrs':{'fill':_0x912252(0x367),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':[_0x912252(0x439)]},_0x11cf1f=_0x50701b[_0x912252(0x400)](function(_0x32f455,_0x407f54){const _0x215897=_0x912252;return _0x50701b[_0x215897(0x21d)](_0x58b9e5,Object[_0x215897(0x3cb)]({},_0x32f455,{'id':'off-line-icon','ref':_0x407f54,'icon':_0x5263f5}));});_0x11cf1f[_0x912252(0x45f)]='OffLineIcon';var _0x574e1e={'tag':_0x912252(0x2a5),'attrs':{'xmlns':_0x912252(0x237),'fill':_0x912252(0x215),'viewBox':'0\x200\x2017\x2016','width':_0x912252(0x3da),'height':_0x912252(0x3da)},'children':[{'tag':'g','attrs':{'clipPath':_0x912252(0x22d)},'children':[{'tag':_0x912252(0x386),'attrs':{'stroke':_0x912252(0x30e),'d':_0x912252(0x352),'strokeLinecap':_0x912252(0x243),'strokeLinejoin':_0x912252(0x243),'strokeWidth':1.2}}]},{'tag':_0x912252(0x263),'attrs':{},'children':[{'tag':_0x912252(0x444),'attrs':{'id':_0x912252(0x366)},'children':[{'tag':_0x912252(0x386),'attrs':{'fill':_0x912252(0x367),'d':_0x912252(0x2c0),'transform':'translate(.97)'}}]}]}],'defIds':[_0x912252(0x366)]},_0x4f8f11=_0x50701b[_0x912252(0x400)](function(_0x354290,_0xe703e6){const _0x568bb3=_0x912252;return _0x50701b[_0x568bb3(0x21d)](_0x58b9e5,Object[_0x568bb3(0x3cb)]({},_0x354290,{'id':_0x568bb3(0x3af),'ref':_0xe703e6,'icon':_0x574e1e}));});_0x4f8f11[_0x912252(0x45f)]='OnLineIcon';function _0xfb600e(_0x550971){const _0x320a08=_0x912252;switch(_0x550971){case _0x57d487[_0x320a08(0x40f)][_0x320a08(0x451)]:return _0x320a08(0x3b1);case _0x57d487[_0x320a08(0x40f)][_0x320a08(0x2e1)]:return _0x320a08(0x222);case _0x57d487[_0x320a08(0x40f)][_0x320a08(0x321)]:return _0x320a08(0x356);case _0x57d487['CollaborationStatus']['NOT_COLLAB']:return _0x320a08(0x373);case _0x57d487[_0x320a08(0x40f)][_0x320a08(0x486)]:case _0x57d487[_0x320a08(0x40f)][_0x320a08(0x35b)]:return'collabStatus.syncing';case _0x57d487[_0x320a08(0x40f)][_0x320a08(0x294)]:case _0x57d487[_0x320a08(0x40f)]['PENDING']:return'collabStatus.synced';}}function _0x3ce189(_0x3c2317){const _0x34d2da=_0x912252,{status$:_0x4f0f2}=_0x3c2317,_0x4773bb=_0x5a4aac['useObservable'](_0x4f0f2,_0x57d487[_0x34d2da(0x40f)][_0x34d2da(0x22a)]),_0x5849aa=_0x5a4aac[_0x34d2da(0x402)](_0x468931[_0x34d2da(0x2bb)]),_0x4d68f1=_0x5a4aac['useDependency'](_0x57d487['CollaborationSessionService']),_0x546eab=_0x4773bb!==_0x57d487['CollaborationStatus'][_0x34d2da(0x451)],_0x718834=_0x5849aa['t'](_0xfb600e(_0x4773bb)),_0x3723cb=_0x546eab?_0x50b559[_0x34d2da(0x21a)](_0x4f8f11,{}):_0x50b559[_0x34d2da(0x21a)](_0x11cf1f,{}),_0x30625c=_0x50701b['useCallback'](()=>{const _0x471aa0=_0x34d2da;_0x546eab||_0x4d68f1[_0x471aa0(0x47f)]();},[_0x546eab,_0x4d68f1]);function _0x56b60d(){const _0x20d747=_0x34d2da;return _0x50b559[_0x20d747(0x2a2)](_0x20d747(0x2a4),{'className':_0x20d747(0x437),'onClick':_0x30625c,'children':[_0x50b559[_0x20d747(0x21a)](_0x20d747(0x2a4),{'className':_0x498b76['clsx'](_0x20d747(0x3ce),{'univer-text-green-500':_0x546eab,'univer-text-red-500':!_0x546eab}),'children':_0x3723cb}),_0x50b559[_0x20d747(0x21a)](_0x20d747(0x2a4),{'className':_0x20d747(0x35e),'children':_0x718834})]});}return _0x546eab?_0x56b60d():_0x50b559[_0x34d2da(0x21a)](_0x498b76['Tooltip'],{'title':_0x5849aa['t'](_0x34d2da(0x281)),'children':_0x56b60d()});}var _0x520529=Object[_0x912252(0x289)],_0x2f20d1=(_0x386163,_0x1fc5f8,_0x3112d3,_0x333e7e)=>{const _0x4905c5=_0x912252;for(var _0x71be73=_0x333e7e>0x1?void 0x0:_0x333e7e?_0x520529(_0x1fc5f8,_0x3112d3):_0x1fc5f8,_0x486e67=_0x386163[_0x4905c5(0x414)]-0x1,_0x3c055;_0x486e67>=0x0;_0x486e67--)(_0x3c055=_0x386163[_0x486e67])&&(_0x71be73=_0x3c055(_0x71be73)||_0x71be73);return _0x71be73;},_0x5f0800=(_0x8f20d2,_0xd37740)=>(_0x1bbffe,_0x1fb59b)=>_0xd37740(_0x1bbffe,_0x1fb59b,_0x8f20d2);_0x2b6d0b[_0x912252(0x36d)]=class extends _0x468931[_0x912252(0x3dc)]{constructor(_0x3e943c,_0x1e3809,_0x3e4088,_0x588cf7){const _0x246efe=_0x912252;super(),_0x52c450(this,'_status$',new _0x946ff9[(_0x246efe(0x239))](_0x57d487[_0x246efe(0x40f)]['NOT_COLLAB'])),(this['_univerInstanceService']=_0x3e943c,this[_0x246efe(0x457)]=_0x1e3809,this[_0x246efe(0x29f)]=_0x3e4088,this[_0x246efe(0x2c6)]=_0x588cf7,this[_0x246efe(0x201)](),this[_0x246efe(0x3db)]());}[_0x912252(0x3db)](){const _0x244166=_0x912252;this[_0x244166(0x3d8)](this[_0x244166(0x31b)][_0x244166(0x2cb)][_0x244166(0x252)](_0x946ff9[_0x244166(0x461)](()=>{const _0x3d13ed=_0x244166,_0x2c530c=this[_0x3d13ed(0x31b)]['getFocusedUnit']();return _0x2c530c?this['_collaborationController'][_0x3d13ed(0x361)](_0x2c530c[_0x3d13ed(0x2e8)]()):_0x946ff9['of'](null);}),_0x946ff9[_0x244166(0x461)](_0x447493=>_0x447493?_0x447493['status$']:_0x946ff9['of'](_0x57d487['CollaborationStatus']['NOT_COLLAB'])))['subscribe'](_0x4119d9=>{const _0x5f5cac=_0x244166;this[_0x5f5cac(0x39f)][_0x5f5cac(0x44f)](_0x4119d9);}));}[_0x912252(0x201)](){const _0x45eb32=_0x912252;this[_0x45eb32(0x3d8)](this[_0x45eb32(0x2c6)][_0x45eb32(0x223)](_0x5a4aac['BuiltInUIPart']['HEADER_MENU'],()=>_0x5a4aac['connectInjector'](_0x4434af({'status$':this['_status$'][_0x45eb32(0x3ac)]()}),this[_0x45eb32(0x457)])));}},_0x2b6d0b[_0x912252(0x36d)]=_0x2f20d1([_0x5f0800(0x0,_0x468931['IUniverInstanceService']),_0x5f0800(0x1,_0x468931[_0x912252(0x37e)](_0x468931[_0x912252(0x1fd)])),_0x5f0800(0x2,_0x468931[_0x912252(0x37e)](_0x57d487[_0x912252(0x404)])),_0x5f0800(0x3,_0x5a4aac[_0x912252(0x435)])],_0x2b6d0b[_0x912252(0x36d)]);function _0x4434af(_0x3fa67f){const {status$:_0x384e3f}=_0x3fa67f;return function(){const _0xc3ed47=_0x44a6;return _0x50b559[_0xc3ed47(0x21a)](_0x3ce189,{'status$':_0x384e3f});};}var _0x2be27e=Object[_0x912252(0x289)],_0x1b0276=(_0x3475d3,_0xc32da4,_0x1e78d1,_0xc9097c)=>{const _0x342e0c=_0x912252;for(var _0x5e932f=_0xc9097c>0x1?void 0x0:_0xc9097c?_0x2be27e(_0xc32da4,_0x1e78d1):_0xc32da4,_0x501643=_0x3475d3[_0x342e0c(0x414)]-0x1,_0x48deba;_0x501643>=0x0;_0x501643--)(_0x48deba=_0x3475d3[_0x501643])&&(_0x5e932f=_0x48deba(_0x5e932f)||_0x5e932f);return _0x5e932f;},_0x45258d=(_0x228cf1,_0x2a13ec)=>(_0x1acaaa,_0x513c66)=>_0x2a13ec(_0x1acaaa,_0x513c66,_0x228cf1);let _0xe29bcd=class extends _0x468931[_0x912252(0x3dc)]{constructor(_0x4bf27e,_0x424eb8,_0xffd98,_0x53af5d,_0x4792d4,_0x1e7023){const _0x29d87f=_0x912252;super(),this[_0x29d87f(0x427)]=_0x4bf27e,this[_0x29d87f(0x249)]=_0x424eb8,this[_0x29d87f(0x217)]=_0xffd98,this['_messageService']=_0x53af5d,this[_0x29d87f(0x231)]=_0x4792d4,this['_localeService']=_0x1e7023,this[_0x29d87f(0x3b4)](),this[_0x29d87f(0x25a)]();}[_0x912252(0x3b4)](){const _0x3d5c2a=_0x912252;this[_0x3d5c2a(0x3d8)](this[_0x3d5c2a(0x427)][_0x3d5c2a(0x256)](()=>{const _0x187963=_0x3d5c2a;if(this['_localCacheService'][_0x187963(0x20e)]['size'])return this[_0x187963(0x2bf)]['t'](_0x187963(0x306));}));}[_0x912252(0x25a)](){const _0x1854b5=_0x912252;this[_0x1854b5(0x3d8)](this['_collaborationUIEventService'][_0x1854b5(0x44c)][_0x1854b5(0x38c)](_0x532e98=>{const _0x36cfc9=_0x1854b5;_0x532e98['id']===_0x57d487['CollaborationUIEventId'][_0x36cfc9(0x3a1)]&&this[_0x36cfc9(0x23b)][_0x36cfc9(0x32d)]({'type':_0x498b76['MessageType'][_0x36cfc9(0x282)],'content':this[_0x36cfc9(0x2bf)]['t']('collaboration.single-unit.warning')}),_0x532e98['id']===_0x57d487[_0x36cfc9(0x434)][_0x36cfc9(0x371)]&&this[_0x36cfc9(0x23b)][_0x36cfc9(0x32d)]({'type':_0x498b76['MessageType']['Warning'],'content':this['_localeService']['t'](_0x36cfc9(0x368))}),_0x532e98['id']===_0x57d487['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x36cfc9(0x231)]['show']({'title':this[_0x36cfc9(0x2bf)]['t'](_0x36cfc9(0x25f)),'content':this[_0x36cfc9(0x2bf)]['t']('permission.content'),'type':'error','duration':0x0}),_0x532e98['id']===_0x57d487[_0x36cfc9(0x434)][_0x36cfc9(0x2e1)]&&this[_0x36cfc9(0x23b)][_0x36cfc9(0x32d)]({'type':_0x498b76[_0x36cfc9(0x1f6)][_0x36cfc9(0x286)],'content':this[_0x36cfc9(0x2bf)]['t'](_0x36cfc9(0x368))+'('+_0x532e98['data']+')'}),_0x532e98['id']===_0x57d487[_0x36cfc9(0x434)][_0x36cfc9(0x422)]&&this[_0x36cfc9(0x23b)][_0x36cfc9(0x32d)]({'type':_0x498b76[_0x36cfc9(0x1f6)][_0x36cfc9(0x282)],'content':this['_localeService']['t'](_0x532e98[_0x36cfc9(0x293)]||'')}),_0x532e98['id']===_0x57d487[_0x36cfc9(0x434)][_0x36cfc9(0x3e5)]&&this[_0x36cfc9(0x23b)][_0x36cfc9(0x32d)]({'type':_0x498b76[_0x36cfc9(0x1f6)][_0x36cfc9(0x282)],'content':this['_localeService']['t'](_0x36cfc9(0x39e))}),_0x532e98['id']===_0x57d487[_0x36cfc9(0x434)]['SOCKET_FAILED']&&this['_messageService'][_0x36cfc9(0x32d)]({'type':_0x498b76[_0x36cfc9(0x1f6)]['Error'],'content':this[_0x36cfc9(0x2bf)]['t'](_0x36cfc9(0x2f2))}),_0x532e98['id']===_0x57d487[_0x36cfc9(0x434)][_0x36cfc9(0x470)]&&this[_0x36cfc9(0x23b)][_0x36cfc9(0x32d)]({'type':_0x498b76['MessageType']['Error'],'content':this[_0x36cfc9(0x2bf)]['t']('session.collaboration-timeout')});}));}};_0xe29bcd=_0x1b0276([_0x45258d(0x0,_0x5a4aac[_0x912252(0x2c2)]),_0x45258d(0x1,_0x57d487[_0x912252(0x421)]),_0x45258d(0x2,_0x468931[_0x912252(0x37e)](_0x57d487[_0x912252(0x20a)])),_0x45258d(0x3,_0x5a4aac[_0x912252(0x2c1)]),_0x45258d(0x4,_0x5a4aac['INotificationService']),_0x45258d(0x5,_0x468931[_0x912252(0x37e)](_0x468931[_0x912252(0x2bb)]))],_0xe29bcd);const _0xe01fb2=_0x912252(0x3c7),_0x1a3a24={},_0x36a885=_0x468931['createIdentifier'](_0x912252(0x490));var _0x18c01c=Object[_0x912252(0x289)],_0x97b297=(_0x5aa47e,_0x4c6907,_0xfc2603,_0x4390f7)=>{for(var _0x1c8502=_0x4390f7>0x1?void 0x0:_0x4390f7?_0x18c01c(_0x4c6907,_0xfc2603):_0x4c6907,_0x12bc3f=_0x5aa47e['length']-0x1,_0x92383;_0x12bc3f>=0x0;_0x12bc3f--)(_0x92383=_0x5aa47e[_0x12bc3f])&&(_0x1c8502=_0x92383(_0x1c8502)||_0x1c8502);return _0x1c8502;},_0x12fea4=(_0x4d5c61,_0x21c541)=>(_0x1bf9ad,_0x250527)=>_0x21c541(_0x1bf9ad,_0x250527,_0x4d5c61);_0x2b6d0b[_0x912252(0x26c)]=class extends _0x468931['RxDisposable']{constructor(_0x5ed53a,_0x4260f5,_0x50edbc,_0x479fc5,_0x1afb92){const _0x48d6e6=_0x912252;super(),this[_0x48d6e6(0x269)]=_0x5ed53a,this[_0x48d6e6(0x396)]=_0x4260f5,this['_commandService']=_0x50edbc,this[_0x48d6e6(0x332)]=_0x479fc5,_0x1afb92?_0x1afb92==null||_0x1afb92['whenReady']()[_0x48d6e6(0x341)](()=>this[_0x48d6e6(0x48e)]()):(this[_0x48d6e6(0x396)][_0x48d6e6(0x37f)](_0x48d6e6(0x44b),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x912252(0x48e)](){const _0x5fc34e=_0x912252,_0x356895=this[_0x5fc34e(0x269)][_0x5fc34e(0x30b)]('unit'),_0x211f57=this[_0x5fc34e(0x269)][_0x5fc34e(0x30b)]('type'),_0x32031c=this[_0x5fc34e(0x269)][_0x5fc34e(0x30b)]('subunit');if(!_0x356895||!_0x211f57){this[_0x5fc34e(0x396)][_0x5fc34e(0x37f)](_0x5fc34e(0x44b),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x75adfe=await this[_0x5fc34e(0x332)][_0x5fc34e(0x392)](_0x356895,Number(_0x211f57),_0x32031c);_0x75adfe&&_0x75adfe instanceof _0x468931['Workbook']&&this[_0x5fc34e(0x266)](_0x75adfe);}async[_0x912252(0x266)](_0x37959d){const _0x5b67d9=_0x912252;await this[_0x5b67d9(0x2a6)](_0x37959d),_0x37959d[_0x5b67d9(0x2d6)][_0x5b67d9(0x252)](_0x946ff9['takeUntil'](this[_0x5b67d9(0x41b)]))[_0x5b67d9(0x38c)](_0x43fac5=>{const _0x1a5376=_0x5b67d9;_0x43fac5&&this[_0x1a5376(0x432)](_0x43fac5);}),this['_urlService'][_0x5b67d9(0x2bc)][_0x5b67d9(0x252)](_0x946ff9[_0x5b67d9(0x3a7)](this[_0x5b67d9(0x41b)]))['subscribe'](()=>this[_0x5b67d9(0x2a6)](_0x37959d));}[_0x912252(0x432)](_0x1abca8,_0x206fa1=!0x1){const _0x285d49=_0x912252,_0x23f03e=this[_0x285d49(0x269)][_0x285d49(0x30b)](_0x285d49(0x22c));_0x1abca8[_0x285d49(0x2fe)]()!==_0x23f03e&&this['_urlService']['setParam'](_0x285d49(0x22c),_0x1abca8['getSheetId'](),_0x206fa1);}async['_updateSubUnitFromURLParams'](_0x567c90){const _0x4851fa=_0x912252;var _0x9b4565;const _0x54a846=this['_urlService'][_0x4851fa(0x30b)](_0x4851fa(0x22c));if(!_0x54a846||!_0x567c90[_0x4851fa(0x1f3)](_0x54a846)){const _0x1a8744=_0x567c90['getUnhiddenWorksheets']()[0x0],_0x5f419a=_0x567c90[_0x4851fa(0x1f3)](_0x1a8744);if(!_0x5f419a)return;this[_0x4851fa(0x432)](_0x5f419a,!0x0),await this[_0x4851fa(0x391)][_0x4851fa(0x46b)](_0x35f756[_0x4851fa(0x405)]['id'],{'unitId':_0x567c90[_0x4851fa(0x2e8)](),'subUnitId':_0x1a8744});return;}((_0x9b4565=_0x567c90[_0x4851fa(0x23c)]())==null?void 0x0:_0x9b4565[_0x4851fa(0x2fe)]())!==_0x54a846&&await this[_0x4851fa(0x391)][_0x4851fa(0x46b)](_0x35f756[_0x4851fa(0x405)]['id'],{'unitId':_0x567c90[_0x4851fa(0x2e8)](),'subUnitId':_0x54a846});}},_0x2b6d0b[_0x912252(0x26c)]=_0x97b297([_0x12fea4(0x0,_0x36a885),_0x12fea4(0x1,_0x468931[_0x912252(0x35a)]),_0x12fea4(0x2,_0x468931[_0x912252(0x3fa)]),_0x12fea4(0x3,_0x468931[_0x912252(0x37e)](_0x57d487[_0x912252(0x328)])),_0x12fea4(0x4,_0x468931[_0x912252(0x471)](_0x4bc5c4[_0x912252(0x340)]))],_0x2b6d0b[_0x912252(0x26c)]);var _0x10d98e=Object[_0x912252(0x289)],_0x20a0d2=(_0x197401,_0xda5221,_0x256a0c,_0x58b26a)=>{const _0x1078b8=_0x912252;for(var _0x48df49=_0x58b26a>0x1?void 0x0:_0x58b26a?_0x10d98e(_0xda5221,_0x256a0c):_0xda5221,_0x326943=_0x197401[_0x1078b8(0x414)]-0x1,_0x441be2;_0x326943>=0x0;_0x326943--)(_0x441be2=_0x197401[_0x326943])&&(_0x48df49=_0x441be2(_0x48df49)||_0x48df49);return _0x48df49;},_0x37923a=(_0xa66830,_0x1f44fe)=>(_0x46b4c3,_0x1b0306)=>_0x1f44fe(_0x46b4c3,_0x1b0306,_0xa66830);let _0x52e565=class{constructor(_0x354ad8,_0x532edc,_0x215222){const _0x35a2d5=_0x912252;this[_0x35a2d5(0x457)]=_0x354ad8,this[_0x35a2d5(0x318)]=_0x532edc,this['_renderManagerService']=_0x215222;}[_0x912252(0x20d)](_0x25edc0){const _0x12cb7e=_0x912252;this[_0x12cb7e(0x2d1)](_0x25edc0),this[_0x12cb7e(0x2dd)](_0x25edc0);}[_0x912252(0x280)](_0x540731){const _0x33f34c=_0x912252,{unitID:_0x1a35d2}=_0x540731,_0x3eb669=this[_0x33f34c(0x26f)][_0x33f34c(0x39a)](_0x1a35d2)[_0x33f34c(0x442)](_0x13c110[_0x33f34c(0x226)]),{redoCache:_0x59932a}=_0x3eb669[_0x33f34c(0x39c)]();if(_0x59932a['length']===0x0)return _0x540731;let _0x9444f1=_0x468931['Tools']['deepClone'](_0x540731[_0x33f34c(0x47e)][0x0]);for(let _0x3a2bcf=0x0;_0x3a2bcf<_0x59932a[_0x33f34c(0x414)];_0x3a2bcf++){const _0x36a798={'id':'doc.mutation.rich-text-editing','params':{..._0x59932a[_0x3a2bcf]}},_0x182f36=this[_0x33f34c(0x318)][_0x33f34c(0x314)](_0x9444f1,_0x36a798,!0x1);if(_0x1042b5[_0x33f34c(0x337)](_0x182f36))throw _0x182f36['error'];_0x9444f1=_0x182f36[_0x33f34c(0x298)];}return{..._0x468931[_0x33f34c(0x24d)][_0x33f34c(0x241)](_0x540731),'mutations':[_0x9444f1]};}['_transformUndoRedoStack'](_0x30439f){const _0x1b2e50=_0x912252,{unitID:_0x16140f}=_0x30439f,_0x5b8c9a=this[_0x1b2e50(0x26f)][_0x1b2e50(0x39a)](_0x16140f)[_0x1b2e50(0x442)](_0x13c110[_0x1b2e50(0x226)]),{undoCache:_0x2720df,redoCache:_0x2a84b8}=_0x5b8c9a['getUndoRedoMutationParamsCache']();if(_0x2720df['length']===0x0||_0x2a84b8[_0x1b2e50(0x414)]===0x0)return;const _0x1b0f37=[],_0x3b28c5=[];let _0x4c7bc9=_0x468931[_0x1b2e50(0x24d)][_0x1b2e50(0x241)](_0x30439f['mutations'][0x0]),_0x5b9e15=_0x468931[_0x1b2e50(0x24d)][_0x1b2e50(0x241)](_0x30439f[_0x1b2e50(0x47e)][0x0]);for(let _0x405f62=_0x2720df['length']-0x1;_0x405f62>=0x0;_0x405f62--){const _0x1154ef={'id':_0x1b2e50(0x46d),'params':{..._0x2720df[_0x405f62]}},_0x240475={'id':_0x1b2e50(0x46d),'params':{..._0x2a84b8[_0x405f62]}},_0x30e238=this['_transformService'][_0x1b2e50(0x314)](_0x4c7bc9,_0x1154ef,!0x1),_0x550e1c=this['_transformService'][_0x1b2e50(0x314)](_0x5b9e15,_0x240475,!0x1);if(_0x1042b5['isTransformMutationFailure'](_0x30e238))throw _0x30e238[_0x1b2e50(0x2b4)];if(_0x1042b5[_0x1b2e50(0x337)](_0x550e1c))throw _0x550e1c[_0x1b2e50(0x2b4)];_0x1b0f37['unshift'](_0x30e238[_0x1b2e50(0x438)][_0x1b2e50(0x43d)]),_0x3b28c5[_0x1b2e50(0x353)](_0x550e1c[_0x1b2e50(0x438)]['params']),_0x4c7bc9=_0x30e238['m1Prime'],_0x5b9e15=_0x550e1c[_0x1b2e50(0x298)];}_0x5b8c9a[_0x1b2e50(0x3cf)]({'undoCache':_0x1b0f37,'redoCache':_0x3b28c5});}[_0x912252(0x2dd)](_0x1a52a9){const _0x1199ae=_0x912252,{unitID:_0x30d5bc}=_0x1a52a9,_0x25fb40=this[_0x1199ae(0x26f)]['getRenderById'](_0x30d5bc)[_0x1199ae(0x442)](_0x13c110[_0x1199ae(0x226)]),_0x4440b8=_0x25fb40['getActiveRange']();if(_0x4440b8==null)return;const _0x1436c8=[{'id':_0x1199ae(0x46d),'params':{'unitId':_0x1a52a9[_0x1199ae(0x2ac)],'actions':null,'textRanges':[_0x4440b8]}}],_0x506654=this[_0x1199ae(0x318)][_0x1199ae(0x43c)](_0x1a52a9,_0x1436c8);if(!_0x1042b5[_0x1199ae(0x32e)](_0x506654))throw _0x506654[_0x1199ae(0x2b4)];const _0x2573ca=_0x506654['m2Prime'][0x0][_0x1199ae(0x43d)][_0x1199ae(0x407)];Array['isArray'](_0x2573ca)&&_0x2573ca[_0x1199ae(0x414)]&&_0x25fb40['setActiveRange'](_0x2573ca[0x0]);}};_0x52e565=_0x20a0d2([_0x37923a(0x0,_0x468931['Inject'](_0x468931[_0x912252(0x1fd)])),_0x37923a(0x1,_0x1042b5[_0x912252(0x3f3)]),_0x37923a(0x2,_0x5d71b0[_0x912252(0x38b)])],_0x52e565);var _0x3136e3=Object[_0x912252(0x289)],_0x34dc3c=(_0x483166,_0x59fc39,_0x521511,_0x1cfd68)=>{const _0x422c14=_0x912252;for(var _0xded792=_0x1cfd68>0x1?void 0x0:_0x1cfd68?_0x3136e3(_0x59fc39,_0x521511):_0x59fc39,_0x22522a=_0x483166[_0x422c14(0x414)]-0x1,_0x101a3c;_0x22522a>=0x0;_0x22522a--)(_0x101a3c=_0x483166[_0x22522a])&&(_0xded792=_0x101a3c(_0xded792)||_0xded792);return _0xded792;},_0x2f48b1=(_0xf98ba3,_0x91dc8c)=>(_0x4d74a9,_0xeb224a)=>_0x91dc8c(_0x4d74a9,_0xeb224a,_0xf98ba3);let _0x35f102=class{constructor(_0x1b7cd7,_0x173799,_0x38606a){const _0x26e620=_0x912252;this[_0x26e620(0x457)]=_0x1b7cd7,this[_0x26e620(0x318)]=_0x173799,this['_docStateChangeManagerService']=_0x38606a;}[_0x912252(0x277)](_0x3aa9ba){const _0x1f198f=_0x912252;this[_0x1f198f(0x2cd)](_0x3aa9ba);}[_0x912252(0x280)](_0x4238ac){const _0x360a4c=_0x912252,{unitID:_0x34091d}=_0x4238ac,{collaboration:_0x2edfac}=this[_0x360a4c(0x2b0)][_0x360a4c(0x420)](_0x34091d);if(_0x2edfac[_0x360a4c(0x414)]===0x0)return _0x4238ac;let _0x545567=_0x468931['Tools'][_0x360a4c(0x241)](_0x4238ac[_0x360a4c(0x47e)][0x0]);for(let _0x47a429=0x0;_0x47a429<_0x2edfac[_0x360a4c(0x414)];_0x47a429++){const _0x407049={'id':_0x360a4c(0x46d),'params':{'unitId':_0x2edfac[_0x47a429][_0x360a4c(0x25e)],..._0x2edfac[_0x47a429][_0x360a4c(0x473)]}},_0x50cbc8=this['_transformService'][_0x360a4c(0x314)](_0x545567,_0x407049,!0x1);if(_0x1042b5['isTransformMutationFailure'](_0x50cbc8))throw _0x50cbc8[_0x360a4c(0x2b4)];_0x545567=_0x50cbc8['m1Prime'];}return{..._0x468931[_0x360a4c(0x24d)]['deepClone'](_0x4238ac),'mutations':[_0x545567]};}[_0x912252(0x2cd)](_0x1aba90){const _0x573c46=_0x912252,{unitID:_0x2b804c}=_0x1aba90,{history:_0x26d2dc,collaboration:_0x369333}=this[_0x573c46(0x2b0)]['getStateCache'](_0x2b804c);if(_0x26d2dc[_0x573c46(0x414)]===0x0&&_0x369333[_0x573c46(0x414)]===0x0)return;const _0x26c847=[],_0x5cc237=[];let _0x34b558=_0x468931[_0x573c46(0x24d)][_0x573c46(0x241)](_0x1aba90[_0x573c46(0x47e)][0x0]),_0x26df13=_0x468931[_0x573c46(0x24d)][_0x573c46(0x241)](_0x1aba90[_0x573c46(0x47e)][0x0]);for(let _0x55ba58=_0x26d2dc[_0x573c46(0x414)]-0x1;_0x55ba58>=0x0;_0x55ba58--){const _0x52c96d={'id':_0x573c46(0x46d),'params':{'unitId':_0x26d2dc[_0x55ba58]['unitId'],..._0x26d2dc[_0x55ba58][_0x573c46(0x27d)]}},_0x5a0748={'id':_0x573c46(0x46d),'params':{'unitId':_0x26d2dc[_0x55ba58]['unitId'],..._0x26d2dc[_0x55ba58]['redoState']}},_0x1f4024=this['_transformService'][_0x573c46(0x314)](_0x34b558,_0x52c96d,!0x1),_0x55440d=this[_0x573c46(0x318)][_0x573c46(0x314)](_0x26df13,_0x5a0748,!0x1);if(_0x1042b5[_0x573c46(0x337)](_0x1f4024))throw _0x1f4024['error'];if(_0x1042b5[_0x573c46(0x337)](_0x55440d))throw _0x55440d[_0x573c46(0x2b4)];_0x26c847['unshift']({..._0x26d2dc[_0x55ba58],'undoState':_0x1f4024[_0x573c46(0x438)]['params'],'redoState':_0x55440d[_0x573c46(0x438)][_0x573c46(0x43d)]}),_0x34b558=_0x1f4024[_0x573c46(0x298)],_0x26df13=_0x55440d[_0x573c46(0x298)];}_0x34b558=_0x468931[_0x573c46(0x24d)][_0x573c46(0x241)](_0x1aba90['mutations'][0x0]),_0x26df13=_0x468931[_0x573c46(0x24d)][_0x573c46(0x241)](_0x1aba90[_0x573c46(0x47e)][0x0]);for(let _0x54b491=_0x369333[_0x573c46(0x414)]-0x1;_0x54b491>=0x0;_0x54b491--){const _0x362d0b={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x369333[_0x54b491][_0x573c46(0x25e)],..._0x369333[_0x54b491]['undoState']}},_0x211ab4={'id':_0x573c46(0x46d),'params':{'unitId':_0x369333[_0x54b491][_0x573c46(0x25e)],..._0x369333[_0x54b491][_0x573c46(0x473)]}},_0x5f2f0a=this[_0x573c46(0x318)][_0x573c46(0x314)](_0x34b558,_0x362d0b,!0x1),_0xd5c684=this[_0x573c46(0x318)][_0x573c46(0x314)](_0x26df13,_0x211ab4,!0x1);if(_0x1042b5['isTransformMutationFailure'](_0x5f2f0a))throw _0x5f2f0a[_0x573c46(0x2b4)];if(_0x1042b5['isTransformMutationFailure'](_0xd5c684))throw _0xd5c684[_0x573c46(0x2b4)];_0x5cc237[_0x573c46(0x353)]({..._0x369333[_0x54b491],'undoState':_0x5f2f0a[_0x573c46(0x438)][_0x573c46(0x43d)],'redoState':_0xd5c684[_0x573c46(0x438)][_0x573c46(0x43d)]}),_0x34b558=_0x5f2f0a['m1Prime'],_0x26df13=_0xd5c684[_0x573c46(0x298)];}this[_0x573c46(0x2b0)][_0x573c46(0x21e)](_0x2b804c,{'history':_0x26c847,'collaboration':_0x5cc237});}};_0x35f102=_0x34dc3c([_0x2f48b1(0x0,_0x468931[_0x912252(0x37e)](_0x468931[_0x912252(0x1fd)])),_0x2f48b1(0x1,_0x1042b5[_0x912252(0x3f3)]),_0x2f48b1(0x2,_0x468931[_0x912252(0x37e)](_0x13c110[_0x912252(0x212)]))],_0x35f102);var _0x23e08e=Object[_0x912252(0x289)],_0x490802=(_0x547cc6,_0x10cdcd,_0x3e2a0b,_0x35000b)=>{const _0x3ba0fa=_0x912252;for(var _0x339251=_0x35000b>0x1?void 0x0:_0x35000b?_0x23e08e(_0x10cdcd,_0x3e2a0b):_0x10cdcd,_0x35e6c5=_0x547cc6[_0x3ba0fa(0x414)]-0x1,_0x5c74c6;_0x35e6c5>=0x0;_0x35e6c5--)(_0x5c74c6=_0x547cc6[_0x35e6c5])&&(_0x339251=_0x5c74c6(_0x339251)||_0x339251);return _0x339251;},_0x20df2d=(_0x29e388,_0x2dc3c3)=>(_0x3d37ab,_0x3968fe)=>_0x2dc3c3(_0x3d37ab,_0x3968fe,_0x29e388);let _0x26ea7d=class{constructor(_0x28dcc5,_0x46d234){const _0x324da4=_0x912252;this['_injector']=_0x28dcc5,this[_0x324da4(0x318)]=_0x46d234;}[_0x912252(0x43f)](_0x2c55c2){const _0x2f5d3f=_0x912252;var _0x4c37e3;const _0x5db188=this['_injector'][_0x2f5d3f(0x2ae)](_0x3b619f[_0x2f5d3f(0x409)]),_0x10e67f=(_0x4c37e3=_0x5db188[_0x2f5d3f(0x3ef)]())!=null?_0x4c37e3:[];if(_0x10e67f['length']===0x0)return;const _0x5e9c75=_0x2c55c2[_0x2f5d3f(0x2ac)],_0x33a219=[{'id':_0x2f5d3f(0x46d),'params':{'unitId':_0x5e9c75,'actions':null,'textRanges':_0x10e67f}}],_0x538866=this['_transformService'][_0x2f5d3f(0x43c)](_0x2c55c2,_0x33a219);if(!_0x1042b5[_0x2f5d3f(0x32e)](_0x538866))throw _0x538866[_0x2f5d3f(0x2b4)];const _0x491ee0=_0x538866[_0x2f5d3f(0x438)][0x0][_0x2f5d3f(0x43d)][_0x2f5d3f(0x407)];Array[_0x2f5d3f(0x2d5)](_0x491ee0)&&_0x491ee0[_0x2f5d3f(0x414)]&&_0x5db188[_0x2f5d3f(0x242)](_0x491ee0,{'unitId':_0x5e9c75,'subUnitId':_0x5e9c75},!0x1);}};_0x26ea7d=_0x490802([_0x20df2d(0x0,_0x468931[_0x912252(0x37e)](_0x468931['Injector'])),_0x20df2d(0x1,_0x1042b5[_0x912252(0x3f3)])],_0x26ea7d);var _0x1dafc6=Object['getOwnPropertyDescriptor'],_0x20b1f1=(_0x9651e4,_0x3e9101,_0x2519b8,_0x345884)=>{const _0x2d9594=_0x912252;for(var _0x273444=_0x345884>0x1?void 0x0:_0x345884?_0x1dafc6(_0x3e9101,_0x2519b8):_0x3e9101,_0x27cb22=_0x9651e4[_0x2d9594(0x414)]-0x1,_0x26c3d9;_0x27cb22>=0x0;_0x27cb22--)(_0x26c3d9=_0x9651e4[_0x27cb22])&&(_0x273444=_0x26c3d9(_0x273444)||_0x273444);return _0x273444;},_0x5db33d=(_0x216a7b,_0x44d419)=>(_0x32f547,_0x5960d2)=>_0x44d419(_0x32f547,_0x5960d2,_0x216a7b);let _0x32f1f1=class extends _0x468931[_0x912252(0x3dc)]{constructor(_0xba9065,_0x101f6d,_0x142593,_0x9b059a,_0xad2360,_0x39c1f9,_0x192354,_0x45c0d3){const _0x430945=_0x912252;super(),_0x52c450(this,_0x430945(0x39f),new _0x946ff9[(_0x430945(0x239))](_0x57d487['CollaborationStatus']['NOT_COLLAB'])),(this['_docStateChangeManagerService']=_0xba9065,this[_0x430945(0x29f)]=_0x101f6d,this[_0x430945(0x40e)]=_0x142593,this[_0x430945(0x23a)]=_0x9b059a,this[_0x430945(0x255)]=_0xad2360,this['_docSyncEditingCollabCursorService']=_0x39c1f9,this[_0x430945(0x23b)]=_0x192354,this['_localeService']=_0x45c0d3,this[_0x430945(0x48d)]());}['_initEntityListener'](){const _0x4e0344=_0x912252;this[_0x4e0344(0x3d8)](this['_collaborationController'][_0x4e0344(0x230)][_0x4e0344(0x38c)](_0x3b7361=>{const _0x6d2056=_0x4e0344,_0x30e17f=this['_docStateChangeManagerService']['docStateChange$']['subscribe'](_0x118de5=>{const _0xc06903=_0x44a6;if(_0x118de5==null)return;const {unitId:_0x67d9db,redoState:_0x3ceda0,commandId:_0x33b4e2}=_0x118de5;if(_0x67d9db!==_0x3b7361[_0xc06903(0x2ac)])return;const _0x45aab5={'id':_0x33b4e2,'type':_0x468931[_0xc06903(0x2c7)][_0xc06903(0x24c)],'params':{'unitId':_0x67d9db,'actions':_0x3ceda0[_0xc06903(0x429)],'textRanges':null}};_0x3b7361[_0xc06903(0x410)](_0x45aab5);});if(_0x3b7361[_0x6d2056(0x3d8)](_0x30e17f),_0x3b7361 instanceof _0x57d487[_0x6d2056(0x30d)]){const _0xae8da0={'onTransformIME':_0x5d4d32=>this[_0x6d2056(0x40e)][_0x6d2056(0x20d)](_0x5d4d32),'onTransformState':_0x54a180=>this[_0x6d2056(0x23a)][_0x6d2056(0x277)](_0x54a180),'onTransformSelections':_0x120954=>this[_0x6d2056(0x255)][_0x6d2056(0x43f)](_0x120954),'onSyncEditingCollabCursor':_0x21f392=>this[_0x6d2056(0x2c5)]['syncEditingCollabCursor'](_0x21f392),'onTransformRemoteChangesetByIMECache':_0x13dff4=>this[_0x6d2056(0x40e)]['transformRemoteChangeset'](_0x13dff4),'onTransformRemoteChangesetByStateCache':_0x52d2c8=>this[_0x6d2056(0x23a)]['transformRemoteChangeset'](_0x52d2c8)};_0x3b7361['addHandlerCallback'](_0xae8da0);}}));}};_0x32f1f1=_0x20b1f1([_0x5db33d(0x0,_0x468931[_0x912252(0x37e)](_0x13c110[_0x912252(0x212)])),_0x5db33d(0x1,_0x468931['Inject'](_0x57d487['CollaborationController'])),_0x5db33d(0x2,_0x468931[_0x912252(0x37e)](_0x52e565)),_0x5db33d(0x3,_0x468931[_0x912252(0x37e)](_0x35f102)),_0x5db33d(0x4,_0x468931[_0x912252(0x37e)](_0x26ea7d)),_0x5db33d(0x5,_0x468931[_0x912252(0x37e)](_0x360d85)),_0x5db33d(0x6,_0x5a4aac[_0x912252(0x2c1)]),_0x5db33d(0x7,_0x468931[_0x912252(0x37e)](_0x468931[_0x912252(0x2bb)]))],_0x32f1f1);var _0x5db896=Object[_0x912252(0x289)],_0x4cf9c9=(_0x540fff,_0x4b016f,_0xdc8211,_0x42d7be)=>{for(var _0x2b9c47=_0x42d7be>0x1?void 0x0:_0x42d7be?_0x5db896(_0x4b016f,_0xdc8211):_0x4b016f,_0xdf7952=_0x540fff['length']-0x1,_0x244398;_0xdf7952>=0x0;_0xdf7952--)(_0x244398=_0x540fff[_0xdf7952])&&(_0x2b9c47=_0x244398(_0x2b9c47)||_0x2b9c47);return _0x2b9c47;},_0xb0c52b=(_0x1a79f1,_0xa34ec4)=>(_0x246131,_0x7dc34d)=>_0xa34ec4(_0x246131,_0x7dc34d,_0x1a79f1);let _0x3a7379=class extends _0x468931['Disposable']{constructor(_0x468d56,_0x472205,_0x4ce285){const _0x1feb84=_0x912252;super(),_0x52c450(this,_0x1feb84(0x232),new Map()),_0x52c450(this,_0x1feb84(0x363),new Map()),_0x52c450(this,_0x1feb84(0x36e),!0x1),(this[_0x1feb84(0x357)]=_0x468d56,this['_localStorageService']=_0x472205,this[_0x1feb84(0x31c)]=_0x4ce285);}[_0x912252(0x446)](){const _0x15ca31=_0x912252;this[_0x15ca31(0x36e)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get[_0x912252(0x20e)](){const _0x7c6f3e=_0x912252;return this[_0x7c6f3e(0x363)];}[_0x912252(0x3ae)](){const _0x9c3187=_0x912252;this[_0x9c3187(0x229)]()['then'](()=>super[_0x9c3187(0x3ae)]());}async[_0x912252(0x3cc)](_0x8d2986){const _0x18c39b=_0x912252;return this[_0x18c39b(0x36e)]?null:this[_0x18c39b(0x3c5)][_0x18c39b(0x1fb)](_0x57d487['getLocalCacheKey'](_0x8d2986));}async[_0x912252(0x313)](_0xd37a10,_0x265114){const _0x11ae6a=_0x912252;return!!this[_0x11ae6a(0x3c5)][_0x11ae6a(0x403)](_0xd37a10,_0x265114);}[_0x912252(0x2cc)](_0x1abb6a,_0xcd240b,_0x46b6a0,_0x1124d0){const _0x417964=_0x912252,_0x53efc3=this['_revisionService'][_0x417964(0x285)](_0x1abb6a);this[_0x417964(0x232)][_0x417964(0x382)](_0x1abb6a,{'unitID':_0x1abb6a,'type':_0xcd240b,'awaitingChangeset':_0x46b6a0,'mutations':_0x1124d0,'rev':_0x53efc3}),this[_0x417964(0x363)][_0x417964(0x2a7)](_0x1abb6a)||this[_0x417964(0x22f)](_0x1abb6a);}[_0x912252(0x22f)](_0xfabae3){const _0x3b7573=_0x912252,_0x5d30f1=this['_getSaveTimeout']();_0x5d30f1===0x0?this[_0x3b7573(0x20c)](_0xfabae3):this[_0x3b7573(0x363)][_0x3b7573(0x382)](_0xfabae3,setTimeout(()=>this[_0x3b7573(0x20c)](_0xfabae3),_0x5d30f1));}[_0x912252(0x27f)](){const _0x251010=_0x912252;var _0x42bce8;return(_0x42bce8=this['_configService'][_0x251010(0x3b5)](_0x57d487[_0x251010(0x3bf)]))!=null?_0x42bce8:_0x57d487['LOCAL_CACHE_INTERVAL'];}[_0x912252(0x20c)](_0x2512f4){const _0x2bf9c7=_0x912252,_0x317bb3=this['_saveTaskMap']['get'](_0x2512f4);return _0x317bb3!==void 0x0&&window[_0x2bf9c7(0x1f5)](_0x317bb3),this[_0x2bf9c7(0x3c5)]['setItem'](_0x57d487[_0x2bf9c7(0x1f7)](_0x2512f4),this[_0x2bf9c7(0x232)][_0x2bf9c7(0x2ae)](_0x2512f4))[_0x2bf9c7(0x341)](()=>this[_0x2bf9c7(0x363)][_0x2bf9c7(0x1f9)](_0x2512f4));}async[_0x912252(0x229)](){const _0xedfd97=_0x912252,_0x10a595=[];this[_0xedfd97(0x363)][_0xedfd97(0x2fc)]((_0x5ce0a1,_0x24e7e5)=>{const _0x3df68c=_0xedfd97;window[_0x3df68c(0x1f5)](_0x5ce0a1),_0x10a595[_0x3df68c(0x381)](this['_saveCache'](_0x24e7e5)[_0x3df68c(0x341)](()=>{const _0x4d4d05=_0x3df68c;this[_0x4d4d05(0x363)][_0x4d4d05(0x1f9)](_0x24e7e5);}));}),await Promise[_0xedfd97(0x369)](_0x10a595);}};_0x3a7379=_0x4cf9c9([_0xb0c52b(0x0,_0x468931[_0x912252(0x25c)]),_0xb0c52b(0x1,_0x468931['ILocalStorageService']),_0xb0c52b(0x2,_0x468931[_0x912252(0x37e)](_0x1042b5[_0x912252(0x2a8)]))],_0x3a7379);class _0x27a589 extends _0x468931[_0x912252(0x3ba)]{constructor(){const _0xdc1312=_0x912252;super(),_0x52c450(this,_0xdc1312(0x2bc)),this[_0xdc1312(0x2bc)]=_0x946ff9[_0xdc1312(0x34b)](window,_0xdc1312(0x2f6))['pipe'](_0x946ff9[_0xdc1312(0x3a7)](this[_0xdc1312(0x41b)]),_0x946ff9[_0xdc1312(0x33c)](0x1),_0x946ff9[_0xdc1312(0x3ff)](void 0x0));}['setParam'](_0x46c403,_0xd0b2e9,_0x185df1=!0x1){const _0x133f38=_0x912252,_0xd12178=new URL(window[_0x133f38(0x220)][_0x133f38(0x316)]);_0xd12178[_0x133f38(0x36f)][_0x133f38(0x382)](_0x46c403,_0xd0b2e9),_0x185df1?window[_0x133f38(0x2c8)][_0x133f38(0x43a)]('','',_0xd12178['toString']()):window['history']['pushState']('','',_0xd12178[_0x133f38(0x324)]());}[_0x912252(0x279)](_0x3aadfb,_0x1ba5b1=!0x1){const _0x5aafe6=_0x912252,_0x2e5a82=new URL(window['location'][_0x5aafe6(0x316)]);_0x2e5a82[_0x5aafe6(0x36f)][_0x5aafe6(0x1f9)](_0x3aadfb),_0x1ba5b1?window['history'][_0x5aafe6(0x43a)]('','',_0x2e5a82[_0x5aafe6(0x324)]()):window['history'][_0x5aafe6(0x47a)]('','',_0x2e5a82[_0x5aafe6(0x324)]());}['getParam'](_0x3ebe4c){const _0x1a627d=_0x912252;var _0x5f097f;return(_0x5f097f=new URL(window[_0x1a627d(0x220)][_0x1a627d(0x316)])[_0x1a627d(0x36f)][_0x1a627d(0x2ae)](_0x3ebe4c))!=null?_0x5f097f:void 0x0;}}var _0x559faa=Object[_0x912252(0x2c3)],_0x5e0bcf=Object['getOwnPropertyDescriptor'],_0x382b18=(_0x4d3925,_0x3d1faf,_0xc7880c)=>_0x3d1faf in _0x4d3925?_0x559faa(_0x4d3925,_0x3d1faf,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xc7880c}):_0x4d3925[_0x3d1faf]=_0xc7880c,_0x464552=(_0xd249d7,_0xde9e2a,_0x3a3083,_0x312077)=>{const _0x17b390=_0x912252;for(var _0x2f2a48=_0x312077>0x1?void 0x0:_0x312077?_0x5e0bcf(_0xde9e2a,_0x3a3083):_0xde9e2a,_0x25e014=_0xd249d7[_0x17b390(0x414)]-0x1,_0x10f425;_0x25e014>=0x0;_0x25e014--)(_0x10f425=_0xd249d7[_0x25e014])&&(_0x2f2a48=_0x10f425(_0x2f2a48)||_0x2f2a48);return _0x2f2a48;},_0x363d09=(_0x301cd5,_0x4cbada)=>(_0xc2fcb2,_0x24e2e6)=>_0x4cbada(_0xc2fcb2,_0x24e2e6,_0x301cd5),_0xc2563=(_0x1e33ff,_0x418075,_0xc30846)=>_0x382b18(_0x1e33ff,_0x418075+'',_0xc30846);const _0x900d92='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x2b6d0b[_0x912252(0x3f6)]=class extends _0x468931[_0x912252(0x288)]{constructor(_0x3bbfbc=_0x1a3a24,_0x483bab,_0x10c133,_0x11def7){const _0x3a2c43=_0x912252;super(),this[_0x3a2c43(0x331)]=_0x3bbfbc,this['_renderManagerService']=_0x483bab,this[_0x3a2c43(0x457)]=_0x10c133,this[_0x3a2c43(0x357)]=_0x11def7;const {..._0x264deb}=_0x468931[_0x3a2c43(0x24a)]({},_0x1a3a24,this[_0x3a2c43(0x331)]);this[_0x3a2c43(0x357)][_0x3a2c43(0x406)](_0xe01fb2,_0x264deb);}['onStarting'](){const _0x2cbec5=_0x912252;this[_0x2cbec5(0x2ab)](),this[_0x2cbec5(0x2ee)]();}[_0x912252(0x459)](){const _0x4545ae=_0x912252;this[_0x4545ae(0x25b)]();}[_0x912252(0x2ab)](){const _0xcad8ee=_0x912252;var _0x9b1998;const _0x9a4f8=[[_0xb034cf],[_0x26ea7d],[_0x52e565],[_0x35f102],[_0x360d85],[_0x36a885,{'useClass':_0x27a589}],[_0x10caf6[_0xcad8ee(0x32a)],{'useClass':_0x10caf6[_0xcad8ee(0x46e)]}],[_0x57d487[_0xcad8ee(0x421)],{'useClass':_0x3a7379}],[_0x2b6d0b[_0xcad8ee(0x36d)]],[_0x32f1f1],[_0xe29bcd],[_0x59a198],[_0xf1d0fc],[_0x2b6d0b['CollaborationDataLoaderController']]];_0x468931['registerDependencies'](this[_0xcad8ee(0x457)],_0x468931['mergeOverrideWithDependencies'](_0x9a4f8,(_0x9b1998=this[_0xcad8ee(0x331)])==null?void 0x0:_0x9b1998[_0xcad8ee(0x395)]));}[_0x912252(0x25b)](){const _0x37c879=_0x912252;this[_0x37c879(0x3d8)](this[_0x37c879(0x26f)][_0x37c879(0x389)](_0x468931['UniverInstanceType']['UNIVER_DOC'],[_0x2735fe])),this[_0x37c879(0x3d8)](this[_0x37c879(0x26f)][_0x37c879(0x389)](_0x468931['UniverInstanceType'][_0x37c879(0x1ff)],[_0x58f27b]));}['_initDependencies'](){const _0x2a17d9=_0x912252;_0x468931[_0x2a17d9(0x489)](this[_0x2a17d9(0x457)],[[_0x59a198],[_0x2b6d0b[_0x2a17d9(0x36d)]],[_0x32f1f1],[_0xe29bcd],[_0x2b6d0b[_0x2a17d9(0x26c)]]]);}},_0xc2563(_0x2b6d0b[_0x912252(0x3f6)],_0x912252(0x34d),_0x900d92),_0x2b6d0b[_0x912252(0x3f6)]=_0x464552([_0x468931[_0x912252(0x35c)](_0x57d487[_0x912252(0x2b3)]),_0x363d09(0x1,_0x5d71b0[_0x912252(0x38b)]),_0x363d09(0x2,_0x468931[_0x912252(0x37e)](_0x468931['Injector'])),_0x363d09(0x3,_0x468931[_0x912252(0x25c)])],_0x2b6d0b[_0x912252(0x3f6)]);var _0x28461b=Object[_0x912252(0x289)],_0x3400ed=(_0x5da3a8,_0x36b0a1,_0x55614f,_0x358e53)=>{const _0x1302f5=_0x912252;for(var _0x4e0536=_0x358e53>0x1?void 0x0:_0x358e53?_0x28461b(_0x36b0a1,_0x55614f):_0x36b0a1,_0x4679e4=_0x5da3a8[_0x1302f5(0x414)]-0x1,_0x1be0d7;_0x4679e4>=0x0;_0x4679e4--)(_0x1be0d7=_0x5da3a8[_0x4679e4])&&(_0x4e0536=_0x1be0d7(_0x4e0536)||_0x4e0536);return _0x4e0536;},_0x2560b9=(_0xfa2084,_0xccb8b6)=>(_0x37c163,_0x2d4981)=>_0xccb8b6(_0x37c163,_0x2d4981,_0xfa2084);_0x2b6d0b['BrowserCollaborationSocketService']=class extends _0x57d487['CollaborationSocketService']{constructor(_0x4a5c5f,_0x3144e4,_0x1cb4cd,_0x4eb718,_0x161efb){super(_0x4a5c5f,_0x3144e4,_0x1cb4cd,_0x4eb718,_0x161efb);}async['createSocket'](_0x47f95d){const _0x55d881=_0x912252,_0x3bedef=await this[_0x55d881(0x2f4)](),_0x10a528=this[_0x55d881(0x3c6)](_0x47f95d,_0x3bedef);return this['_doCreateSocket'](_0x10a528);}[_0x912252(0x3c6)](_0x166fe0,_0x24f644){const _0x21743e=_0x912252,_0x2f833b=typeof window>'u'?new URL(_0x166fe0):new URL(_0x166fe0,window['location'][_0x21743e(0x1fc)]);_0x2f833b[_0x21743e(0x36f)]['set'](_0x21743e(0x416),_0x24f644);const _0x3183c6=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x21743e(0x220)][_0x21743e(0x310)]);return _0x3183c6['get']('runId')&&_0x2f833b[_0x21743e(0x36f)][_0x21743e(0x382)](_0x21743e(0x345),_0x3183c6[_0x21743e(0x2ae)]('runId')),_0x2f833b[_0x21743e(0x324)]();}async['_getSessionTicket'](){const _0x942ad6=_0x912252;var _0x30b131,_0x4113df,_0x807f30;const _0x54acd1=this[_0x942ad6(0x357)][_0x942ad6(0x3b5)](_0x57d487[_0x942ad6(0x2a0)]),_0x3e03cc=(_0x30b131=_0x54acd1==null?void 0x0:_0x54acd1[_0x942ad6(0x2fb)])!=null?_0x30b131:_0x57d487[_0x942ad6(0x48b)];return(_0x807f30=(_0x4113df=(await this[_0x942ad6(0x28f)][_0x942ad6(0x2ae)](_0x3e03cc,{'headers':{'Content-Type':_0x942ad6(0x3d6)}}))[_0x942ad6(0x2b9)])==null?void 0x0:_0x4113df[_0x942ad6(0x42a)])!=null?_0x807f30:'';}},_0x2b6d0b['BrowserCollaborationSocketService']=_0x3400ed([_0x2560b9(0x0,_0x468931[_0x912252(0x37e)](_0x468931[_0x912252(0x1fd)])),_0x2560b9(0x1,_0x468931[_0x912252(0x37e)](_0x10caf6[_0x912252(0x225)])),_0x2560b9(0x2,_0x468931[_0x912252(0x25c)]),_0x2560b9(0x3,_0x468931[_0x912252(0x35a)]),_0x2560b9(0x4,_0x1042b5[_0x912252(0x315)])],_0x2b6d0b[_0x912252(0x33d)]);const _0x234fd8=0x7530,_0x185079=_0x912252(0x364);class _0x14e0a4 extends _0x468931[_0x912252(0x3dc)]{constructor(){const _0x35aa40=_0x912252;super(),_0x52c450(this,_0x35aa40(0x39d),_0x468931[_0x35aa40(0x2b7)]()),_0x52c450(this,_0x35aa40(0x2ff),new Set()),_0x52c450(this,_0x35aa40(0x45b),new Map()),_0x52c450(this,_0x35aa40(0x2b5),null),_0x52c450(this,_0x35aa40(0x354),new Map()),_0x52c450(this,_0x35aa40(0x29d),new Map()),this[_0x35aa40(0x48e)]();}[_0x912252(0x3ae)](){const _0xc50cc=_0x912252;super[_0xc50cc(0x3ae)](),this[_0xc50cc(0x354)][_0xc50cc(0x2fc)]((_0x3ef775,_0x21fb26)=>this[_0xc50cc(0x2d2)](_0x21fb26)),this[_0xc50cc(0x2b5)]&&window[_0xc50cc(0x245)](this[_0xc50cc(0x2b5)]);}['getUnitStatus$'](_0x22908e){const _0x39cb30=_0x912252;return this[_0x39cb30(0x273)](_0x22908e)['pipe'](_0x946ff9[_0x39cb30(0x394)]());}[_0x912252(0x210)](_0x44cdde){const _0x1df739=_0x912252;this[_0x1df739(0x2ff)][_0x1df739(0x3bd)]===0x0&&this[_0x1df739(0x2de)](),this[_0x1df739(0x2ff)]['add'](_0x44cdde),this[_0x1df739(0x488)]({'type':0x0,'memberID':this[_0x1df739(0x39d)],'unitIDs':[_0x44cdde],'isForwarded':!0x1});}[_0x912252(0x278)](_0x4caa55){const _0x7d4382=_0x912252;this[_0x7d4382(0x2ff)][_0x7d4382(0x1f9)](_0x4caa55),this[_0x7d4382(0x2ff)][_0x7d4382(0x3bd)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x7d4382(0x2b5)]);}[_0x912252(0x48e)](){const _0x280eae=_0x912252;this[_0x280eae(0x3d8)](_0x468931['toDisposable'](_0x946ff9['fromEvent'](window,'storage')['subscribe'](_0x812369=>{const _0x47a902=_0x280eae;if(_0x812369[_0x47a902(0x274)]!==_0x185079||!_0x812369[_0x47a902(0x465)])return;const _0x327a9f=JSON[_0x47a902(0x3e6)](_0x812369[_0x47a902(0x465)]);this[_0x47a902(0x401)](_0x327a9f);}))),window['addEventListener'](_0x280eae(0x436),()=>this[_0x280eae(0x488)]({'type':0x1,'memberID':this[_0x280eae(0x39d)],'unitIDs':Array['from'](this[_0x280eae(0x2ff)])}));}['_handleEvent'](_0x87474b){const _0x3c61bb=_0x912252;switch(_0x87474b[_0x3c61bb(0x468)]){case 0x0:this[_0x3c61bb(0x478)](_0x87474b);break;case 0x1:this[_0x3c61bb(0x29a)](_0x87474b);break;case 0x2:this[_0x3c61bb(0x388)](_0x87474b);break;}}['_handleJoinEvent'](_0x31f7d5){const _0x285cff=_0x912252,{unitIDs:_0x483770,memberID:_0x188785,isForwarded:_0xf06458}=_0x31f7d5;_0x483770[_0x285cff(0x2fc)](_0x4ba9de=>{const _0x2c9d24=_0x285cff;if(!_0xf06458&&this[_0x2c9d24(0x45b)][_0x2c9d24(0x2a7)](_0x4ba9de)&&this[_0x2c9d24(0x273)](_0x4ba9de)[_0x2c9d24(0x44f)](_0x57d487[_0x2c9d24(0x412)][_0x2c9d24(0x297)]),!this[_0x2c9d24(0x45b)][_0x2c9d24(0x2a7)](_0x4ba9de)||!this['_unitOnClients'][_0x2c9d24(0x2ae)](_0x4ba9de)[_0x2c9d24(0x2a7)](_0x188785)){const _0xf49b84=this[_0x2c9d24(0x45b)][_0x2c9d24(0x2ae)](_0x4ba9de)||new Set();_0xf49b84[_0x2c9d24(0x3d4)](_0x188785),this[_0x2c9d24(0x45b)][_0x2c9d24(0x382)](_0x4ba9de,_0xf49b84),this['_scheduleClearOtherTimer'](_0x188785);}}),_0xf06458||this[_0x285cff(0x488)]({'type':0x0,'memberID':this[_0x285cff(0x39d)],'unitIDs':[...this[_0x285cff(0x2ff)]],'isForwarded':!0x0});}[_0x912252(0x224)](_0x537e39){const _0xd8df72=_0x912252;this[_0xd8df72(0x2d2)](_0x537e39);const _0x44c4ee=window[_0xd8df72(0x287)](()=>{const _0x34a7d5=_0xd8df72;this[_0x34a7d5(0x45b)][_0x34a7d5(0x2fc)](_0x34f34d=>{const _0x32367e=_0x34a7d5;_0x34f34d[_0x32367e(0x1f9)](_0x537e39);});},_0x234fd8*0x2);this[_0xd8df72(0x354)][_0xd8df72(0x382)](_0x537e39,_0x44c4ee);}['_removeClearOtherTimer'](_0x53b4fa){const _0x4a3f15=_0x912252;if(this['_clearOtherTimers'][_0x4a3f15(0x2a7)](_0x53b4fa)){const _0x22f3c1=this[_0x4a3f15(0x354)][_0x4a3f15(0x2ae)](_0x53b4fa);_0x22f3c1&&window[_0x4a3f15(0x1f5)](_0x22f3c1),this[_0x4a3f15(0x354)][_0x4a3f15(0x382)](_0x53b4fa,null);}}['_handleLeaveEvent'](_0x59e015){const _0x1ddc3e=_0x912252,{memberID:_0x17fc73,unitIDs:_0x2eb628}=_0x59e015;_0x2eb628[_0x1ddc3e(0x2fc)](_0x38a113=>{const _0xdb5962=_0x1ddc3e;var _0x4b0a34;const _0x38920e=this[_0xdb5962(0x45b)][_0xdb5962(0x2ae)](_0x38a113);_0x38920e&&(_0x38920e[_0xdb5962(0x1f9)](_0x17fc73),(_0x4b0a34=this['_ensureSubject'](_0x38a113))==null||_0x4b0a34['next'](_0x38920e[_0xdb5962(0x3bd)]===0x0?_0x57d487[_0xdb5962(0x412)][_0xdb5962(0x248)]:_0x57d487[_0xdb5962(0x412)][_0xdb5962(0x297)]));}),this[_0x1ddc3e(0x2d2)](_0x17fc73);}[_0x912252(0x388)](_0x5e3bad){const _0x46d90b=_0x912252;this[_0x46d90b(0x224)](_0x5e3bad['memberID']);}[_0x912252(0x488)](_0x7332b1){const _0xb5e6c1=_0x912252;localStorage['setItem'](_0x185079,JSON[_0xb5e6c1(0x40b)](_0x7332b1));}['_scheduleHeartbeat'](){const _0x2a03cf=_0x912252;this['_heartbeatTimer']=window[_0x2a03cf(0x3b3)](()=>{const _0x2c8a74=_0x2a03cf;this[_0x2c8a74(0x488)]({'type':0x2,'memberID':this[_0x2c8a74(0x39d)]});},_0x234fd8);}[_0x912252(0x273)](_0x5c52c5){const _0x1f73fc=_0x912252;return this['_unitStatus'][_0x1f73fc(0x2a7)](_0x5c52c5)||this[_0x1f73fc(0x29d)][_0x1f73fc(0x382)](_0x5c52c5,new _0x946ff9['BehaviorSubject'](_0x57d487[_0x1f73fc(0x412)][_0x1f73fc(0x248)])),this[_0x1f73fc(0x29d)][_0x1f73fc(0x2ae)](_0x5c52c5);}}var _0x36c03d=(_0x6dad8b=>(_0x6dad8b[_0x6dad8b[_0x912252(0x38e)]=0x0]=_0x912252(0x38e),_0x6dad8b[_0x6dad8b['OK']=0x1]='OK',_0x6dad8b[_0x6dad8b[_0x912252(0x454)]=0x2]=_0x912252(0x454),_0x6dad8b[_0x6dad8b[_0x912252(0x2eb)]=0x3]='PERMISSION_DENIED',_0x6dad8b[_0x6dad8b[_0x912252(0x2ea)]=0x4]=_0x912252(0x2ea),_0x6dad8b[_0x6dad8b[_0x912252(0x480)]=0x5]='UNAUTHENTICATED',_0x6dad8b[_0x6dad8b[_0x912252(0x3b8)]=0x6]=_0x912252(0x3b8),_0x6dad8b[_0x6dad8b[_0x912252(0x2d7)]=0x7]=_0x912252(0x2d7),_0x6dad8b[_0x6dad8b[_0x912252(0x3b0)]=0x8]=_0x912252(0x3b0),_0x6dad8b[_0x6dad8b[_0x912252(0x383)]=0x9]=_0x912252(0x383),_0x6dad8b[_0x6dad8b[_0x912252(0x36a)]=0xa]='LOGIN_FAILED',_0x6dad8b[_0x6dad8b[_0x912252(0x456)]=0x1389]=_0x912252(0x456),_0x6dad8b[_0x6dad8b[_0x912252(0x358)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x6dad8b[_0x6dad8b[_0x912252(0x39b)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x6dad8b[_0x6dad8b[_0x912252(0x259)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x6dad8b[_0x6dad8b[_0x912252(0x3a2)]=0x1b59]=_0x912252(0x3a2),_0x6dad8b[_0x6dad8b[_0x912252(0x257)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x6dad8b[_0x6dad8b[_0x912252(0x205)]=0x1b5b]=_0x912252(0x205),_0x6dad8b[_0x6dad8b['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x912252(0x2af),_0x6dad8b[_0x6dad8b['APPLY_DUPLICATED']=0x1b5d]='APPLY_DUPLICATED',_0x6dad8b[_0x6dad8b['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x912252(0x3b2),_0x6dad8b[_0x6dad8b[_0x912252(0x244)]=0x2329]=_0x912252(0x244),_0x6dad8b[_0x6dad8b[_0x912252(0x24f)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x6dad8b[_0x6dad8b[_0x912252(0x469)]=0x232b]=_0x912252(0x469),_0x6dad8b[_0x6dad8b['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x912252(0x44e),_0x6dad8b[_0x6dad8b[_0x912252(0x238)]=0x232d]=_0x912252(0x238),_0x6dad8b[_0x6dad8b[_0x912252(0x3f4)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x6dad8b[_0x6dad8b[_0x912252(0x46f)]=0x2712]=_0x912252(0x46f),_0x6dad8b[_0x6dad8b[_0x912252(0x3a5)]=0x2713]=_0x912252(0x3a5),_0x6dad8b[_0x6dad8b[_0x912252(0x33e)]=0x2714]=_0x912252(0x33e),_0x6dad8b[_0x6dad8b[_0x912252(0x3e4)]=0x271a]=_0x912252(0x3e4),_0x6dad8b[_0x6dad8b[_0x912252(0x398)]=0x271b]=_0x912252(0x398),_0x6dad8b[_0x6dad8b[_0x912252(0x417)]=0x271c]=_0x912252(0x417),_0x6dad8b[_0x6dad8b[_0x912252(0x342)]=0x271d]=_0x912252(0x342),_0x6dad8b[_0x6dad8b['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x912252(0x36b),_0x6dad8b[_0x6dad8b[_0x912252(0x46a)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x6dad8b[_0x6dad8b[_0x912252(0x426)]=0x2af9]=_0x912252(0x426),_0x6dad8b[_0x6dad8b[_0x912252(0x2fd)]=0x2ee1]=_0x912252(0x2fd),_0x6dad8b[_0x6dad8b[_0x912252(0x218)]=0x2ee2]='INVALID_INVITE_CODE',_0x6dad8b[_0x6dad8b[_0x912252(0x2b6)]=0x2ee3]=_0x912252(0x2b6),_0x6dad8b[_0x6dad8b[_0x912252(0x379)]=0x2ee4]=_0x912252(0x379),_0x6dad8b[_0x6dad8b['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x912252(0x2d4),_0x6dad8b[_0x6dad8b['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x912252(0x3e8),_0x6dad8b[_0x6dad8b[_0x912252(0x47d)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x6dad8b[_0x6dad8b[_0x912252(0x431)]=0x32cb]=_0x912252(0x431),_0x6dad8b[_0x6dad8b[_0x912252(0x339)]=-0x1]=_0x912252(0x339),_0x6dad8b))(_0x36c03d||{}),_0x1c4288=Object['getOwnPropertyDescriptor'],_0x45861c=(_0x3eced6,_0x43dac7,_0x35340e,_0x2450cf)=>{const _0x44533e=_0x912252;for(var _0x3194a9=_0x2450cf>0x1?void 0x0:_0x2450cf?_0x1c4288(_0x43dac7,_0x35340e):_0x43dac7,_0xc00c58=_0x3eced6[_0x44533e(0x414)]-0x1,_0x59acf0;_0xc00c58>=0x0;_0xc00c58--)(_0x59acf0=_0x3eced6[_0xc00c58])&&(_0x3194a9=_0x59acf0(_0x3194a9)||_0x3194a9);return _0x3194a9;},_0x4ec22a=(_0x20adbd,_0x63fcf8)=>(_0xf9cc9a,_0x40af2c)=>_0x63fcf8(_0xf9cc9a,_0x40af2c,_0x20adbd);_0x2b6d0b[_0x912252(0x27e)]=class extends _0x468931[_0x912252(0x3dc)]{constructor(_0x466eb0,_0x398f14,_0x4a3fa9){const _0x2da755=_0x912252;super(),this[_0x2da755(0x462)]=_0x466eb0,this[_0x2da755(0x28f)]=_0x398f14,this['_configService']=_0x4a3fa9;}async[_0x912252(0x264)](_0x4512fc,_0x3cc769,_0x598455,..._0x207e52){const _0x1924eb=_0x912252;var _0x5786dd,_0x3067cf,_0x58a1dc,_0x357dcd;const _0x3ed4e8=this['_instanceService'][_0x1924eb(0x29c)]();if(!_0x3ed4e8)throw new Error(_0x1924eb(0x378));const _0x2b3050=((_0x5786dd=this['_configService'][_0x1924eb(0x3b5)](_0x57d487[_0x1924eb(0x30c)]))!=null?_0x5786dd:_0x57d487[_0x1924eb(0x304)])+'/'+_0x4512fc+_0x1924eb(0x44a)+_0x3cc769,_0x1911e5=new URL(window['location'][_0x1924eb(0x316)]),_0x4a371a={'scriptId':_0x4512fc,'runId':(_0x3067cf=_0x1911e5['searchParams'][_0x1924eb(0x2ae)](_0x1924eb(0x345)))!=null?_0x3067cf:'','function':_0x3cc769,'unitId':_0x3ed4e8[_0x1924eb(0x2e8)](),'argsOfFunction':JSON[_0x1924eb(0x40b)](_0x207e52),'invokeId':(_0x58a1dc=_0x598455[_0x1924eb(0x214)])!=null?_0x58a1dc:'','executionId':(_0x357dcd=_0x598455[_0x1924eb(0x47b)])!=null?_0x357dcd:''};try{const _0x180f07=await this[_0x1924eb(0x28f)][_0x1924eb(0x445)](_0x2b3050,{'body':_0x4a371a});return _0x180f07['body'][_0x1924eb(0x2b4)]&&_0x180f07['body'][_0x1924eb(0x2b4)][_0x1924eb(0x44d)]!==_0x36c03d['OK']?'Failed':_0x180f07['body'][_0x1924eb(0x204)];}catch{return _0x1924eb(0x2f5);}}},_0x2b6d0b['RemoteUniscriptService']=_0x45861c([_0x4ec22a(0x0,_0x468931['IUniverInstanceService']),_0x4ec22a(0x1,_0x468931[_0x912252(0x37e)](_0x10caf6['HTTPService'])),_0x4ec22a(0x2,_0x468931['IConfigService'])],_0x2b6d0b[_0x912252(0x27e)]),_0x2b6d0b[_0x912252(0x2ef)]=_0x3ce189,_0x2b6d0b[_0x912252(0x2ba)]=_0x36a885,_0x2b6d0b['SheetCollabCursorShape']=_0x2b188b,_0x2b6d0b[_0x912252(0x317)]=_0x14e0a4,_0x2b6d0b[_0x912252(0x290)]=_0x27a589,Object[_0x912252(0x2c3)](_0x2b6d0b,Symbol[_0x912252(0x3e0)],{'value':_0x912252(0x34f)});}));function _0x44a6(_0x1f82fe,_0x5c8979){const _0x567f03=_0x567f();return _0x44a6=function(_0x44a656,_0x5825ee){_0x44a656=_0x44a656-0x1f3;let _0xcbe6b9=_0x567f03[_0x44a656];return _0xcbe6b9;},_0x44a6(_0x1f82fe,_0x5c8979);}function _0x567f(){const _0x20ab16=['_handleEvent','useDependency','setItem','CollaborationController','SetWorksheetActivateCommand','setConfig','textRanges','getMergeData','DocSelectionManagerService','addObjects','stringify','_getMergeRange','values','_docTransformIMECacheService','CollaborationStatus','onLocalMutation','moveTo','UnitStatus','_name','length','black','sessionTicket','YUUMI_TABLE_NOT_FOUND_IN_UNIT','operators','transformByState','evenodd','dispose$','collab-rect-range-','subscribeEvent','#FFF','getCoordByCell','getStateCache','ILocalCacheService','JOIN_ROOM_FAILED','transform','handleIRemoveRow','MoveRangeCommandId','PY_RUNTIME_SCRIPT_ERROR','_beforeCloseService','131916AbZQEo','actions','ticket','RECT','collabCursorState$','toDisposable','replace','fromEventSubject','assignAColorForMemberID','EMAIL_HAS_BEEN_BOUND','_updateURLWithCurrentState','onMouseMove','CollaborationUIEventId','IUIPartsService','unload','univer-flex\x20univer-items-center','m2Prime','off-line-icon_clip0_910_343','replaceState','_refreshCollabCursors','transformMutationsWithChangeset','params','onPointerLeave$','transformSelections','Rect','RemoveRowCommandId','with','_onCursorUpdate','clipPath','post','disableLocalCache','_updateLocalCursor','amd','TEXT','/run/','[CollaborationDataLoaderController]','event$','code','LICENSE_EXPORT_SIZE_EXCEEDED','next','fillRule','OFFLINE','getCurrentSelections','RichTextEditingMutation','INTERNAL_ERROR','_handleHover','CHANGESET_REVISION_CONFILICT','_injector','_labelPosition','onRendered','6CMzNjd','_unitOnClients','getCurrent','ColorKit','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','displayName','TEXT_RANGE_LAYER_INDEX','switchMap','_instanceService','sessionStatus$','range','newValue','attrs','univerjs-icon\x20univerjs-icon-','type','LICENSE_IMPORT_SIZE_EXCEEDED','YUUMI_AI_RUN_FAILED','executeCommand','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','doc.mutation.rich-text-editing','WebSocketService','YUUMI_URL_COL_OUT_OF_RANGE','SUBMIT_CHANGESET_TIMEOUT','Optional','_session','redoState','_removeCollabCursors','UNIVER_DOC','CollaborationSessionService','@univerjs/drawing','_handleJoinEvent','react','pushState','executionId','IUniverInstanceService','MOBILE_HAS_BEEN_BOUND','mutations','reconnect','UNAUTHENTICATED','sheetID','green.600','object','UniverIcon','colorChannel1','AWAITING','...','_send','touchDependencies','eventID','DEFAULT_WS_SESSION_TICKET_URL','_drawRectRange','_initEntityListener','_init','getMember','uni.network.url-service','getSheetBySheetId','_hovered','clearTimeout','MessageType','getLocalCacheKey','UniverProCollaboration','delete','syncEditingCollabCursor','getItem','origin','Injector','registerRefRange','UNIVER_SHEET','_entities','_initStatusComponent','CollaborationEvent','getCellPositionByOffset','result','APPLY_REVISION_CONFILICT','mask','DeleteRangeMoveUpCommandId','getRelativeToViewportCoord','currentSkeleton$','CollaborationUIEventService','UniverEngineRender','_saveCache','transformIMECache','saveTaskMap','restore','editingUnit','_cursorInfo$','DocStateChangeManagerService','backgroundColor','invokeId','none','RegularPolygon','_collaborationUIEventService','INVALID_INVITE_CODE','top','jsx','handleDeleteRangeMoveLeft','react/jsx-runtime','createElement','setStateCache','30LJKaOG','location','UniverSheets','collabStatus.conflict','registerComponent','_scheduleClearOtherTimer','HTTPService','DocIMEInputManagerService','_docSkeleton','bottom','exhaustSavingTask','NOT_COLLAB','DeleteRangeMoveLeftCommandId','subunit','url(#on-line-icon_clip0_910_349)','@univerjs/sheets-ui','_scheduleSaving','entityInit$','_notificationService','_cachedData','createInstance','SetTextSelectionsOperation','hide','getOwnPropertySymbols','http://www.w3.org/2000/svg','LICENSE_DISTRO_REJECTED','BehaviorSubject','_docTransformStateCacheService','_messageService','getActiveSheet','UPDATE_CURSOR','arc','_toggleOnline','_document','deepClone','replaceDocRanges','round','LICENSE_MAX_UNITS_EXCEEDED','clearInterval','rxjs','yellow.400','NO_OTHER_CLIENTS_EDITING','_localCacheService','merge','_collabCursorController','MUTATION','Tools','18JxzhwP','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','selections','requireSession','pipe','jiqing.500','handleInsertCol','_docTransformSelectionsService','registerBeforeClose','APPLY_NON_SEQUENTIAL_REVISION','InsertRangeMoveDownCommandId','ENSURE_SNAPSHOT_EXECUTION','_initEvent','_registerRenderDependencies','IConfigService','640456dLWMZq','unitId','permission.title','getVpScrollXYInfoByPosToVp','USERS_LEAVE','save','defs','runOnServer','VIEW_MAIN','_setupSubUnitSync','split','_getSheetObject','_urlService','ranges','_getAnchorBounding','CollaborationDataLoaderController','UniverSheetsUi','_render','_renderManagerService','max','@univerjs/core','_startDocCollabCursor','_ensureSubject','key','_anchorDot','ONLINE','transformStateCache','disposeUnit','removeParam','@univerjs/rpc','InsertRowCommandId','_cursorShapes','undoState','RemoteUniscriptService','_getSaveTimeout','transformRemoteChangeset','collab-client.tooltip.reconnect','Warning','RemoveColCommandId','map','getCurrentRevOfUnit','Error','setTimeout','Plugin','getOwnPropertyDescriptor','filter','_themeService','useRef','_collabCursorState$','NodePositionConvertToRectRange','_httpService','WebURLService','_color','_colorAssignService','data','SYNCED','currentTheme$','handleIRemoveCol','OTHER_CLIENTS_EDITING','m1Prime','setShapeProps','_handleLeaveEvent','collab-text-range-','getFocusedUnit','_unitStatus','find','_collaborationController','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','source','jsxs','242BtrMmS','div','svg','_updateSubUnitFromURLParams','has','RevisionService','_cursors','SetDocZoomRatioOperation','_registerDependencies','unitID','0\x200\x2016\x2016','get','APPLY_PERMISSION_DENIED','_docStateChangeManagerService','handleDeleteRangeMoveUp','@univerjs/engine-formula','UniverCollaborationClientPlugin','error','_heartbeatTimer','INVITE_CODE_REQUIRED','generateRandomId','_cursor','body','IURLService','LocaleService','urlChange$','icon','getViewport','_localeService','M0\x200H16V16H0z','IMessageService','IBeforeCloseService','defineProperty','skeleton','_docSyncEditingCollabCursorService','_uiPartsService','CommandType','history','UniverNetwork','@univerjs/network','focused$','updateOfflineData','_transformHistoryAndStateStack','COLORS','TRANSFORM_CHANGE_OBSERVABLE_TYPE','string','_transformUndoRedoStack','_removeClearOtherTimer','_refRangeService','INVITE_CODE_ALREADY_BOUND','isArray','activeSheet$','INVALID_ARGUMENT','483010WDNomD','indexOf','contains','Vector2','makeDirty','_transformPreviousActiveRange','_scheduleHeartbeat','handleMoveRange','_anchor','CONFLICT','resize','collab-text-anchor-','trim','getTypeOfUnitAdded$','_sheetSkeletonManagerService','getColor','getUnitId','init','NOT_FOUND','PERMISSION_DENIED','onPointerMove$','fillText','_initDependencies','CollaborationStatusDisplay','deserializeRangeWithSheet','color','session.connection-failed','UniverEngineFormula','_getSessionTicket','Failed','popstate','UniverDocsUi','handleInsertRangeMoveDown','url(#$1','_backgroundColor','wsSessionTicketUrl','forEach','INVITE_CODE_HAS_BEEN_UES','getSheetId','_selfUnitIDs','xlink:href','Rectangle','_toggleOffline','3621272fBaSsM','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','UniverProCollaborationClient','collaboration-client.offline-data-not-saved','startRow','className','hasOwnProperty','_textBubble','getParam','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','DocCollaborationEntity','currentColor','_online','search','_imageIoService','_draw','saveOfflineData','transformMutation','ISnapshotServerService','href','WebBrowserSingleActiveUnitService','_transformService','function','getValue','_univerInstanceService','_revisionService','getSheetObject','addObject','triggerDblclick','FromArray','FETCH_MISS','getMemberID','column','toString','_shapes','getUniverSheetInstance','handleInsertRangeMoveRight','DataLoaderService','UniverInstanceType','ISocketService','SetSelectionsOperation','_updateCollabCursors','show','isTransformMutationsWithChangesetSuccess','_colorIndex','_memberService','_config','_dataLoaderService','findNodePositionByCharIndex','min','UniverDocs','complete','isTransformMutationFailure','_entityInit$','UNRECOGNIZED','_initResize','SHEET_VIEWPORT_KEY','shareReplay','BrowserCollaborationSocketService','YUUMI_SUBSCRIPTION_NOT_FOUND','drawWith','IRemoteInstanceService','then','YUUMI_ALL_TABLES_IS_INVALID','debounce','blue.400','runId','_eventUnsubscribe','_lastPointer','@univerjs/sheets','UniverUi','DOC_RANGE_TYPE','fromEvent','flatMap','pluginName','Unknown\x20user','Module','DisposableCollection','_startSheetCollabCursor','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','unshift','_clearOtherTimers','_collabSessionService','collabStatus.fetchMiss','_configService','SNAPSHOT_INVALID_SNAPSHOT','onPointerEnter$','ILogService','AWAITING_WITH_PENDING','DependentOn','imageSourceType','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','text','_hover','getCollabEntity$','substring','_saveTaskMap','ACTIVE_UNIT_EVENT_CHANNEL','font','on-line-icon_clip0_910_349','white','collaboration.closeRoom','all','LOGIN_FAILED','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','red.300','DesktopCollaborationStatusDisplayController','_disabled','searchParams','idSuffix','CLOSE_ROOM','_hideTimer','collabStatus.notCollab','_assignedColors','UniverRpc','660537IVgvQO','getSkeleton','[RemoteUniscriptService]:\x20no\x20focused\x20unit','USER_NOT_INVITED_CODE','InsertColCommandId','propertyIsEnumerable','_docSkeletonManagerService','_roomMembers$','Inject','debug','onTransformChange$','push','set','COMPLETION_FINISHED','React','_range','path','rxjs/operators','_handleHeartbeatEvent','registerRenderModule','startColumn','IRenderManagerService','subscribe','1491105NpimeH','UNDEFINED','_onRefRangeChange','call','_commandService','loadUnit','MemberService','distinctUntilChanged','override','_logService','cursorInfo$','YUUMI_ASYNCIO_CANCELLED','_onCursorDelete','getRenderById','SNAPSHOT_HAS_BEEN_REMOVED','getUndoRedoMutationParamsCache','_id','session.will-retry','_status$','unsubscribe','OTHER_CLIENT_EDITING','APPLY_REJECT','_drawTextRange','ThemeService','YUUMI_RATE_OVER_LIMIT','getCollabCursors$','takeUntil','fillStyle','closePath','engine','@univerjs/design','asObservable','includes','dispose','on-line-icon','TOO_MANY_REQUESTS','collabStatus.offline','CONNECTOR_DATA_TOO_LARGE','setInterval','_setupBeforeClosingHandler','getConfig','getColorFromTheme','children','ALREADY_EXISTS','name','RxDisposable','_scene','130LpUngO','size','lineTo','LOCAL_CACHE_INTERVAL_KEY','@univerjs/ui','roomMembers','RefRangeService','@univerjs/docs-ui','tag','_localStorageService','_createSocketURL','collaboration-client-ui.config','SheetsSelectionsService','getAncestorScale','selection','assign','loadOfflineData','runRefRangeMutations','univer-flex\x20univer-mr-2\x20univer-text-xl','setUndoRedoMutationParamsCache','roomMembers$','getRangePointData','@univerjs-pro/collaboration-client','row','add','isActive','application/json','_syncEditingCollabCursorService','disposeWithMe','defIds','1em','_initStatusListener','Disposable','hovered','height','@univerjs/docs','toStringTag','SessionStatus','_context','UniverProCollaborationClientUi','YUUMI_NO_CUBOID_FOR_QUESTION','SOCKET_FAILED_RETRY','parse','EffectRefRangId','WECHAT_HAS_BEEN_BOUND','_docClipboardService','handleInsertRow','prototype','send','rgba(255,\x20255,\x20255,\x200.01)','_getScale','getDocRanges','cursorInfo','934972WOvYYg','fill','ITransformService','YUUMI_UNABLE_LOAD_URL','setAlpha','UniverCollaborationClientUIPlugin','onCommandExecuted','concat','from','ICommandService','combineLatest','measureText','width','@univerjs/engine-render','mapTo','forwardRef'];_0x567f=function(){return _0x20ab16;};return _0x567f();}