@univerjs-pro/collaboration-client-ui 0.6.4 → 0.6.5

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 _0xfae9(){const _0x187d51=['addObject','getRelativeToViewportCoord','transformStateCache','_transformHistoryAndStateStack','_send','IDocClipboardService','getValue','off-line-single_clip0_910_343','setItem','UniverIcon','_refreshCollabCursors','tag','setUndoRedoMutationParamsCache','touchDependencies','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','currentColor','UniverCollaborationClientUIPlugin','onStarting','createInstance','univer-offline','APPLY_NON_SEQUENTIAL_REVISION','_unitOnClients','78YtfcOH','handleInsertRangeMoveDown','lineTo','UniverNetwork','_drawRectRange','_transformUndoRedoStack','MessageType','transform','skeleton','collabStatus.notCollab','getColor','round','current','getSheetObject','saveImage','div','getOwnPropertyDescriptor','UniverUi','@univerjs/sheets','handleIRemoveRow','_toggleOffline','_collabCursorController','defineProperty','handleDeleteRangeMoveUp','APPLY_DUPLICATED','cursorInfo','executeCommand','collaboration-client.offline-data-not-saved','storage','debounce','generateRandomId','source','deserializeRangeWithSheet','attrs','_initStatusComponent','_initDependencies','univerjs-icon\x20univerjs-icon-','8231760HLXDpk','subscribe','dispose$','_urlService','OffLineSingle','_scheduleClearOtherTimer','_textBubble','_drawAnchor','_docTransformIMECacheService','handleIRemoveCol','fromEventSubject','IRemoteInstanceService','sheetId','distinctUntilChanged','href','toRgbString','getCollabCursors$','disposeWithMe','_onCursorUpdate','translate(.97)','collabStatus.fetchMiss','syncEditingCollabCursor','from','_labelPosition','exports','doc.mutation.rich-text-editing','DeleteRangeMoveLeftCommandId','_anchorDot','popstate','LOCAL_CACHE_INTERVAL','_online','onPointerLeave$','fillStyle','toString','path','ILogService','getRangePointData','triggerDblclick','_eventUnsubscribe','TEXT_RANGE_LAYER_INDEX','@univerjs/engine-render','INVALID_ARGUMENT','LocaleService','WebBrowserSingleActiveUnitService','#fff','_context','IBeforeCloseService','_refRangeService','subscribeEvent','UniverDocsUi','prototype','useRef','getMemberID','rxjs/operators','fill','getMember','_getSaveTimeout','_collabSessionService','key','fillRule','SNAPSHOT_HAS_BEEN_REMOVED','_removeClearOtherTimer','_id','_setupSubUnitSync','unitID','getDocRanges','UNRECOGNIZED','purple300','_docTransformStateCacheService','_getScale','type','RECT','RxDisposable','undoState','_cachedData','INotificationService','eventID','unit','SetSelectionsOperation','IConfigService','send','_anchor','OnLineSingle','_localStorageService','_cursors','findNodePositionByCharIndex','editingUnit','UniverDocs','mapTo','_getMergeRange','_entities','APPLY_REVISION_CONFILICT','_entityInit$','_docSyncEditingCollabCursorService','post','xlink:href','_backgroundColor','3273012GcrhtZ','DocSkeletonManagerService','CollaborationSocketService','UniverEngineRender','url(#$1','HTTPService','handleInsertRow','InsertColCommandId','debug','flatMap','@univerjs-pro/collaboration-client','gold400','includes','onlineStatus','_docClipboardService','[RemoteUniscriptService]:\x20no\x20focused\x20unit','CollaborationDataLoaderController','getOwnPropertySymbols','OFFLINE','_initEvent','DocStateChangeManagerService','DocSelectionManagerService','offline','_init','@univerjs-pro/collaboration','filter','LICENSE_EXPORT_SIZE_EXCEEDED','_cursor','unshift','selection','_startSheetCollabCursor','name','VIEW_MAIN','Workbook','univer-online-status','pipe','getCoordByCell','some','column','YUUMI_RATE_OVER_LIMIT','ITransformService','data','UniverSheets','_toggleOnline','_initCommandExecutedListener','parse','MemberService','code','FETCH_MISS','_handleLeaveEvent','color','idSuffix','unitId','JOIN_ROOM_FAILED','error','off-line-single','_getSheetObject','UniverEngineFormula','entries','focused$','currentTheme$','LICENSE_DISTRO_REJECTED','_collabCursorState$','univer-flex\x20univer-items-center','url(#off-line-single_clip0_910_343)','UNIVER_SHEET','top','@univerjs/rpc','setAlpha','getCurrentUnitForType','NO_OTHER_CLIENTS_EDITING','transformByState','_hover','transformSelections','OTHER_CLIENT_EDITING','_handleEvent','@univerjs/core','UNIVER_DOC','_themeService','NodePositionConvertToRectRange','Error','ISnapshotServerService','indexOf','transformMutation','assign','random','bottom','CollaborationStatus','handleDeleteRangeMoveLeft','handleInsertRangeMoveRight','width','defIds','CONNECTOR_DATA_TOO_LARGE','RichTextEditingMutation','DocIMEInputManagerService','getCellPositionByOffset','handleMoveRange','CollaborationUIEventId','next','show','hovered','_initEntityListener','SetTextSelectionsOperation','ONLINE','_heartbeatTimer','UniverDrawing','collab-client.tooltip.reconnect','@univerjs/drawing','COLORS','memberID','9273aBPGQM','getConfig','SOCKET_FAILED','_cursorInfo$','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','operators','onCommandExecuted','APPLY_REJECT','_createSocketURL','_transformService','session.will-retry','UniverProCollaborationClientUi','_removeCollabCursors','isTransformMutationsWithChangesetSuccess','ALREADY_EXISTS','IUIPartsService','className','startColumn','collabCursorState$','_range','onlineStatusTitle','Plugin','YUUMI_URL_COL_OUT_OF_RANGE','endColumn','redoState','createIdentifier','_handleHeartbeatEvent','Failed','SOCKET_FAILED_RETRY','getLocalCacheKey','IRenderManagerService','_getAnchorBounding','collab-text-range-','/run/','body','_docSkeleton','height','_httpService','UniverInstanceType','saveOfflineData','1394455SybPCX','IUniverInstanceService','_sheetSkeletonManagerService','urlChange$','add','Warning','SNAPSHOT_INVALID_SNAPSHOT','init','UNAUTHENTICATED','_session','_registerRenderDependencies','Shape','function','ACTIVE_UNIT_EVENT_CHANNEL','_commandService','registerDependencies','_notificationService','switchMap','isArray','executionId','call','getUnitId','stringify','univer-online-status-title','cursorInfo$','CommandType','icon','addEventListener','RemoteUniscriptService','UnitStatus','assignAColorForMemberID','_lastPointer','Inject','mergeOverrideWithDependencies','registerRefRange','_revisionService','_color','drawWith','collabStatus.offline','UPDATE_CURSOR','WebURLService','row','setActiveRange','roomMembers$','status$','replaceDocRanges','unsubscribe','_initStatusListener','replace','_collaborationUIEventService','UNDEFINED','_docSkeletonManagerService','Vector2','2333944YTLHYZ','Tools','EffectRefRangId','getUndoRedoMutationParamsCache','SUBMIT_CHANGESET_TIMEOUT','getItem','delete','Rectangle','invokeId','unload','TOO_MANY_REQUESTS','sheetID','_messageService','registerBeforeClose','startRow','_selfUnitIDs','getSheetBySheetId','RegularPolygon','ThemeService','map','loadOfflineData','_scheduleHeartbeat','getCollabEntity$','_handleHover','isActive','_localCacheService','restore','colorChannel1','clearTimeout','getCurrentSelections','loadUnit','none','setStateCache','BrowserCollaborationSocketService','univer-online-status-icon','DocCollaborationEntity','arc','PY_RUNTIME_SCRIPT_ERROR','LICENSE_IMPORT_SIZE_EXCEEDED','CollaborationStatusDisplay','@univerjs/design','mutations','_clearOtherTimers','isTransformMutationFailure','getAncestorScale','mask','_config','useDependency','runOnServer','makeDirty','_getSessionTicket','_univerInstanceService','collaboration.closeRoom','length','SYNCED','string','Optional','substring','evenodd','asObservable','rxjs','textRanges','_doCreateSocket','newValue','endRow','exhaustSavingTask','646471HBDxpC','NOT_COLLAB','React','black','@univerjs/engine-formula','ISocketService','DisposableCollection','...','0\x200\x2016\x2016','DataLoaderService','YUUMI_UNABLE_LOAD_URL','ILocalCacheService','_imageIoService','BehaviorSubject','debounceTime','isEditing','values','clipPath','setShapeProps','beginPath','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getSheetId','forwardRef','hide','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','_updateSubUnitFromURLParams','LICENSE_MAX_UNITS_EXCEEDED','uni.network.url-service','Rect','subUnitId','roomMembers','CONFLICT','getTypeOfUnitAdded$','_colorAssignService','apply','CHANGESET_REVISION_CONFILICT','transformRemoteChangeset','collab-rect-range-','blue400','getMergeData','addObjects','moveTo','_setupBeforeClosingHandler','updateOfflineData','combineLatest','RemoveColCommandId','transformIMECache','SetWorksheetActivateCommand','FromArray','all','connectInjector','shareReplay','runId','getStateCache','transformMutationsWithChangeset','M0\x200H16V16H0z','displayName','m2Prime','DEFAULT_WS_SESSION_TICKET_URL','LOCAL_CACHE_INTERVAL_KEY','IImageIoService','_handleJoinEvent','has','_document','_hideTimer','clsx','ranges','children','activeSheet$','throttleTime','_scheduleSaving','_shapes','TEXT','_syncEditingCollabCursorService','searchParams','APPLY_PERMISSION_DENIED','@univerjs/docs','ILocalStorageService','CollaborationController','engine','Module','_logService','react','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_scene','COMPLETION_FINISHED','svg','_collaborationController','getUnitStatus$','[CollaborationDataLoaderController]','_startDocCollabCursor','YUUMI_SUBSCRIPTION_NOT_FOUND','text','ColorKit','IMessageService','_docTransformSelectionsService','_draw','location','clearInterval','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','UniverDesign','UniverRpc','takeUntil','onMouseMove','getVpScrollXYInfoByPosToVp','rgba(255,\x20255,\x20255,\x200.01)','reconnect','save','fillText','_roomMembers$','collab-text-anchor-','_drawTextRange','UniverCollaborationClientPlugin','ICommandService','toDisposable','entityInit$','forEach','merge','setParam','DesktopCollaborationStatusDisplayController','RevisionService','SHEET_VIEWPORT_KEY','subunit','with','handleInsertCol','getActiveSheet','onTransformChange$','fromEvent','sessionStatus$','ENSURE_SNAPSHOT_EXECUTION','origin','Subject','_uiPartsService','_onRefRangeChange','jsx','imageSourceType','_localeService','range','url(#on-line-single_clip0_910_349)','event$','NodePositionConvertToCursor','9076900IKYedF','disposeUnit','UniverProCollaboration','createSocket','OTHER_CLIENTS_EDITING','_cursorShapes','getSkeleton','MUTATION','createElement','getRenderById','font','online','removeParam','_render','dispose','_saveTaskMap','TRANSFORM_CHANGE_OBSERVABLE_TYPE','propertyIsEnumerable','history','set','getTypeOfUnitDisposed$','SessionStatus','USERS_LEAVE','_memberService','CollaborationEvent','deepClone','min','session.connection-failed','measureText','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','wsSessionTicketUrl','@univerjs/ui','@univerjs/network','DOC_RANGE_TYPE','permission.title','pushState','PERMISSION_DENIED','requireSession','get','_updateLocalCursor','_onCursorDelete','_updateCollabCursors','_name','@univerjs/sheets-ui','_injector','_hovered','onPointerMove$','symbol','m1Prime','Disposable','on-line-single','size','addClipboardHook','getOffsetConfig','react/jsx-runtime','defs','Injector','complete','RemoveRowCommandId','SetDocZoomRatioOperation','disableLocalCache','_renderManagerService','find','_status$','1em','params','split','_saveCache','_disabled','_beforeCloseService','Unknown\x20user','registerRenderModule','concat','currentSkeleton$','_updateURLWithCurrentState','_assignedColors','NOT_FOUND','collaboration.single-unit.warning','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','getFocusedUnit','#FFF','2012IVWutK','getParam','hasOwnProperty','getViewport','_configService','_ensureSubject','extend','_unitStatus','AWAITING_WITH_PENDING','push','_dataLoaderService','on-line-single_clip0_910_349','_docStateChangeManagerService'];_0xfae9=function(){return _0x187d51;};return _0xfae9();}function _0x574a(_0x5ef45e,_0x258fee){const _0xfae93f=_0xfae9();return _0x574a=function(_0x574aa1,_0x543f17){_0x574aa1=_0x574aa1-0x161;let _0x204a4d=_0xfae93f[_0x574aa1];return _0x204a4d;},_0x574a(_0x5ef45e,_0x258fee);}(function(_0x518d32,_0x5e5878){const _0x554b05=_0x574a,_0x2f7d3b=_0x518d32();while(!![]){try{const _0x36e099=parseInt(_0x554b05(0x3da))/0x1+parseInt(_0x554b05(0x17b))/0x2+-parseInt(_0x554b05(0x3b2))/0x3*(parseInt(_0x554b05(0x29b))/0x4)+parseInt(_0x554b05(0x24a))/0x5+parseInt(_0x554b05(0x2be))/0x6*(-parseInt(_0x554b05(0x1bd))/0x7)+-parseInt(_0x554b05(0x2e3))/0x8+parseInt(_0x554b05(0x344))/0x9;if(_0x36e099===_0x5e5878)break;else _0x2f7d3b['push'](_0x2f7d3b['shift']());}catch(_0x2ba120){_0x2f7d3b['push'](_0x2f7d3b['shift']());}}}(_0xfae9,0xe96ef),function(_0x264883,_0xbf83db){const _0x3e52fd=_0x574a;typeof exports=='object'&&typeof module<'u'?_0xbf83db(exports,require(_0x3e52fd(0x34e)),require(_0x3e52fd(0x390)),require('@univerjs/engine-render'),require(_0x3e52fd(0x26a)),require('@univerjs/docs-ui'),require(_0x3e52fd(0x3af)),require(_0x3e52fd(0x1b7)),require('@univerjs/docs'),require(_0x3e52fd(0x35c)),require(_0x3e52fd(0x1c1)),require(_0x3e52fd(0x2d0)),require(_0x3e52fd(0x318)),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require(_0x3e52fd(0x269)),require(_0x3e52fd(0x1a3)),require('react'),require(_0x3e52fd(0x387))):typeof define==_0x3e52fd(0x3e6)&&define['amd']?define([_0x3e52fd(0x2fb),'@univerjs-pro/collaboration-client',_0x3e52fd(0x390),_0x3e52fd(0x30b),_0x3e52fd(0x26a),'@univerjs/docs-ui',_0x3e52fd(0x3af),'rxjs',_0x3e52fd(0x209),'@univerjs-pro/collaboration',_0x3e52fd(0x1c1),_0x3e52fd(0x2d0),_0x3e52fd(0x318),_0x3e52fd(0x275),_0x3e52fd(0x280),_0x3e52fd(0x269),_0x3e52fd(0x1a3),_0x3e52fd(0x20f),_0x3e52fd(0x387)],_0xbf83db):(_0x264883=typeof globalThis<'u'?globalThis:_0x264883||self,_0xbf83db(_0x264883[_0x3e52fd(0x3bd)]={},_0x264883['UniverProCollaborationClient'],_0x264883['UniverCore'],_0x264883[_0x3e52fd(0x347)],_0x264883[_0x3e52fd(0x2c1)],_0x264883[_0x3e52fd(0x314)],_0x264883[_0x3e52fd(0x3ad)],_0x264883[_0x3e52fd(0x1b7)],_0x264883[_0x3e52fd(0x33a)],_0x264883[_0x3e52fd(0x24c)],_0x264883[_0x3e52fd(0x37d)],_0x264883[_0x3e52fd(0x36e)],_0x264883[_0x3e52fd(0x1b7)][_0x3e52fd(0x3b7)],_0x264883['UniverSheetsUi'],_0x264883[_0x3e52fd(0x1bf)],_0x264883[_0x3e52fd(0x2cf)],_0x264883[_0x3e52fd(0x221)],_0x264883['React'],_0x264883[_0x3e52fd(0x222)]));}(this,function(_0x193121,_0x5b04f9,_0x2a9662,_0x53abef,_0x3990c8,_0xccddd6,_0x4e8796,_0x539394,_0x1b62f9,_0x119f28,_0xe1fbe2,_0x10d874,_0x388455,_0x56a566,_0x532104,_0x31156b,_0x2b73f1,_0x1309ea,_0x5100b8){'use strict';const _0x22f257=_0x574a;var _0x90df04=Object[_0x22f257(0x2d4)],_0x9e1258=(_0x5c4540,_0x4cc368,_0x5785e5)=>_0x4cc368 in _0x5c4540?_0x90df04(_0x5c4540,_0x4cc368,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x5785e5}):_0x5c4540[_0x4cc368]=_0x5785e5,_0x30b7bc=(_0x38cbb3,_0x239005,_0x5da0eb)=>_0x9e1258(_0x38cbb3,typeof _0x239005!=_0x22f257(0x279)?_0x239005+'':_0x239005,_0x5da0eb),_0x4fb2c3=Object[_0x22f257(0x2ce)],_0x8b0e09=(_0x5927f8,_0x1bf5c9,_0x16fa72,_0x763551)=>{for(var _0x39cfa5=_0x763551>0x1?void 0x0:_0x763551?_0x4fb2c3(_0x1bf5c9,_0x16fa72):_0x1bf5c9,_0x5987bf=_0x5927f8['length']-0x1,_0x200b52;_0x5987bf>=0x0;_0x5987bf--)(_0x200b52=_0x5927f8[_0x5987bf])&&(_0x39cfa5=_0x200b52(_0x39cfa5)||_0x39cfa5);return _0x39cfa5;},_0xf2eea1=(_0x1218b4,_0x3cb8cd)=>(_0x378696,_0x170fee)=>_0x3cb8cd(_0x378696,_0x170fee,_0x1218b4);let _0x25a21d=class extends _0x2a9662[_0x22f257(0x32b)]{constructor(_0x121b30,_0x379d29){const _0xf3ca58=_0x22f257;super(),this[_0xf3ca58(0x352)]=_0x121b30,this[_0xf3ca58(0x1c9)]=_0x379d29,this['_init']();}['_init'](){const _0xc7d42f=_0x22f257,_0x5d9a1b=this;this[_0xc7d42f(0x2f4)](this[_0xc7d42f(0x352)][_0xc7d42f(0x27e)]({'onBeforePasteImage':async _0x398ad3=>{const _0x176d76=_0xc7d42f,_0x2c8a86=await _0x5d9a1b['_imageIoService'][_0x176d76(0x2cc)](_0x398ad3);return _0x2c8a86?{'source':_0x2c8a86[_0x176d76(0x2dd)],'imageSourceType':_0x2c8a86[_0x176d76(0x244)]}:null;}}));}};_0x25a21d=_0x8b0e09([_0xf2eea1(0x0,_0xccddd6[_0x22f257(0x2ad)]),_0xf2eea1(0x1,_0x4e8796[_0x22f257(0x1f9)])],_0x25a21d);const _0x3b6ba=[_0x22f257(0x326),'jiqing500','verdancy600','red300',_0x22f257(0x1e3),_0x22f257(0x34f)];class _0x40de99 extends _0x2a9662[_0x22f257(0x27b)]{constructor(){const _0x5a502c=_0x22f257;super(...arguments),_0x30b7bc(this,_0x5a502c(0x295),new Map()),_0x30b7bc(this,'_colorIndex',0x0);}[_0x22f257(0x164)](_0x3079b3){const _0x4f53ff=_0x22f257;if(this[_0x4f53ff(0x295)]['has'](_0x3079b3))return this[_0x4f53ff(0x295)][_0x4f53ff(0x270)](_0x3079b3);const _0x4fbb35=_0x3b6ba[this['_colorIndex']];return this['_colorIndex']=(this['_colorIndex']+0x1)%_0x3b6ba[_0x4f53ff(0x1b0)],this[_0x4f53ff(0x295)][_0x4f53ff(0x25d)](_0x3079b3,_0x4fbb35),_0x4fbb35;}}function _0x3508f1(_0x5841f7){const _0x1dbc20=_0x22f257;let _0x437fc5='';for(const _0x39785c of _0x5841f7){const {startOffset:_0x28b432,endOffset:_0x2eb1f9,isActive:_0x19b467,rangeType:_0x2f85de,segmentId:_0x3f8103,segmentPage:_0x244ccf}=_0x39785c;_0x437fc5[_0x1dbc20(0x1b0)]&&(_0x437fc5+=','),_0x437fc5+=_0x28b432+':'+_0x2eb1f9+':'+(_0x19b467?'1':'0')+':'+_0x2f85de+':'+_0x3f8103+':'+_0x244ccf;}return _0x437fc5;}function _0x36a3eb(_0x557ffc){const _0x5e0a50=_0x22f257,_0x1513c3=_0x557ffc['split'](','),_0x2e2f7e=[];for(const _0x5a5684 of _0x1513c3){const [_0x54e2d6,_0x3414db,_0x34f34f,_0x9a9ae2,_0x3399c3,_0x191b99]=_0x5a5684[_0x5e0a50(0x28c)](':');_0x2e2f7e[_0x5e0a50(0x2a4)]({'startOffset':Number(_0x54e2d6),'endOffset':Number(_0x3414db),'collapsed':_0x54e2d6===_0x3414db,'isActive':_0x34f34f==='1','rangeType':_0x9a9ae2===_0x2a9662[_0x5e0a50(0x26b)][_0x5e0a50(0x205)]?_0x2a9662[_0x5e0a50(0x26b)][_0x5e0a50(0x205)]:_0x2a9662['DOC_RANGE_TYPE'][_0x5e0a50(0x32a)],'segmentId':typeof _0x3399c3==_0x5e0a50(0x1b2)?String(_0x3399c3):'','segmentPage':Number(_0x191b99!=null?_0x191b99:-0x1)});}return _0x2e2f7e[_0x5e0a50(0x369)](_0x52e21a=>_0x52e21a[_0x5e0a50(0x193)])||(_0x2e2f7e[0x0][_0x5e0a50(0x193)]=!0x0),_0x2e2f7e;}class _0x48dd5 extends _0x2a9662['RxDisposable']{constructor(){const _0x4a945b=_0x22f257;super(...arguments),_0x30b7bc(this,_0x4a945b(0x382),new _0x539394[(_0x4a945b(0x1ca))](null)),_0x30b7bc(this,'collabCursorState$',this[_0x4a945b(0x382)]['asObservable']());}[_0x22f257(0x2f8)](_0x5746d0){const _0x4afa1e=_0x22f257,{unitID:_0x11baee,memberID:_0x226bb2,textRanges:_0xe60d6b}=_0x5746d0,_0x2fdfe9=_0x3508f1(_0xe60d6b);if(_0x2fdfe9==='')return;const _0x5ed500={'unitID':_0x11baee,'memberID':_0x226bb2,'selection':_0x2fdfe9};this[_0x4afa1e(0x382)][_0x4afa1e(0x3a6)](_0x5ed500);}}var _0x92bc8e=Object[_0x22f257(0x2ce)],_0x2a486a=(_0x155e81,_0x8dd661,_0x12f45e,_0xc6795b)=>{const _0x416168=_0x22f257;for(var _0x236dd3=_0xc6795b>0x1?void 0x0:_0xc6795b?_0x92bc8e(_0x8dd661,_0x12f45e):_0x8dd661,_0x4cb44f=_0x155e81[_0x416168(0x1b0)]-0x1,_0x6690a9;_0x4cb44f>=0x0;_0x4cb44f--)(_0x6690a9=_0x155e81[_0x4cb44f])&&(_0x236dd3=_0x6690a9(_0x236dd3)||_0x236dd3);return _0x236dd3;},_0x3d2a90=(_0x2625d0,_0xb60839)=>(_0x3a5195,_0x5dc42f)=>_0xb60839(_0x3a5195,_0x5dc42f,_0x2625d0);const _0x5bc3fc=0x12c,_0x1b5e07=0x64;let _0x50a508=class extends _0x2a9662[_0x22f257(0x32b)]{constructor(_0x5edb71,_0x22fd10,_0x44cd23,_0x45842b,_0x1f6b82,_0x4b45a1,_0x321167,_0x22914e,_0x1a3965){const _0x4bdbb0=_0x22f257;super(),_0x30b7bc(this,'_online',!0x1),_0x30b7bc(this,_0x4bdbb0(0x35b),!0x1),_0x30b7bc(this,_0x4bdbb0(0x3b5),new _0x539394[(_0x4bdbb0(0x1ca))](new Map())),_0x30b7bc(this,_0x4bdbb0(0x3f2),this[_0x4bdbb0(0x3b5)]['asObservable']()),_0x30b7bc(this,_0x4bdbb0(0x22a),new _0x539394[(_0x4bdbb0(0x1ca))]([])),_0x30b7bc(this,_0x4bdbb0(0x171),this[_0x4bdbb0(0x22a)][_0x4bdbb0(0x367)](_0x539394[_0x4bdbb0(0x1cb)](_0x5bc3fc))),_0x30b7bc(this,'_updateLocalCursor',_0x2a9662['debounce'](_0x36e17c=>{const _0x2cf933=_0x4bdbb0,_0x597f94={'eventID':_0x119f28[_0x2cf933(0x262)][_0x2cf933(0x16d)],'data':{'unitID':this[_0x2cf933(0x323)],'memberID':this['_session']['getMemberID'](),'selection':_0x3508f1(_0x36e17c)}};this[_0x2cf933(0x3e3)][_0x2cf933(0x333)](_0x597f94,this[_0x2cf933(0x323)]);},_0x1b5e07)),(this['unitID']=_0x5edb71,this[_0x4bdbb0(0x3e3)]=_0x22fd10,this[_0x4bdbb0(0x276)]=_0x44cd23,this[_0x4bdbb0(0x1de)]=_0x45842b,this[_0x4bdbb0(0x261)]=_0x1f6b82,this[_0x4bdbb0(0x206)]=_0x4b45a1,this[_0x4bdbb0(0x3bb)]=_0x321167,this[_0x4bdbb0(0x1ae)]=_0x22914e,this[_0x4bdbb0(0x3e8)]=_0x1a3965);}get[_0x22f257(0x2d7)](){const _0x2182e8=_0x22f257;return this[_0x2182e8(0x3b5)][_0x2182e8(0x2ae)]();}get[_0x22f257(0x1db)](){const _0x4a6c77=_0x22f257;return this[_0x4a6c77(0x22a)]['getValue']();}[_0x22f257(0x258)](){const _0x2401dc=_0x22f257;super['dispose'](),this[_0x2401dc(0x3b5)]['next'](new Map()),this[_0x2401dc(0x3b5)][_0x2401dc(0x283)](),this['_roomMembers$'][_0x2401dc(0x3a6)]([]),this[_0x2401dc(0x22a)][_0x2401dc(0x283)]();}['init'](){const _0x5c883a=_0x22f257;this[_0x5c883a(0x35b)]||(this[_0x5c883a(0x35b)]=!0x0,this['_session'][_0x5c883a(0x23d)][_0x5c883a(0x367)](_0x539394[_0x5c883a(0x223)](this[_0x5c883a(0x2e5)]))[_0x5c883a(0x2e4)](_0x278da4=>{const _0x5cc60c=_0x5c883a;_0x278da4===_0x5b04f9['SessionStatus'][_0x5cc60c(0x3ab)]?this[_0x5cc60c(0x36f)]():this[_0x5cc60c(0x2d2)]();}),this[_0x5c883a(0x3e3)][_0x5c883a(0x248)][_0x5c883a(0x367)](_0x539394[_0x5c883a(0x223)](this[_0x5c883a(0x2e5)]))['subscribe'](_0x28355f=>{const _0x1d3247=_0x5c883a,_0x19f3c3=_0x28355f[_0x1d3247(0x32f)];_0x19f3c3===_0x119f28[_0x1d3247(0x262)][_0x1d3247(0x16d)]&&this[_0x1d3247(0x2f5)](_0x28355f),_0x19f3c3===_0x119f28[_0x1d3247(0x262)][_0x1d3247(0x260)]&&this[_0x1d3247(0x272)](_0x28355f);}),this[_0x5c883a(0x2f4)](this[_0x5c883a(0x3e8)]['onCommandExecuted'](_0x417908=>{const _0x4ae016=_0x5c883a,_0x415a85=_0x417908[_0x4ae016(0x28b)];_0x415a85!=null&&this[_0x4ae016(0x301)]&&_0x417908['id']===_0x1b62f9[_0x4ae016(0x3aa)]['id']&&_0x415a85[_0x4ae016(0x378)]===this[_0x4ae016(0x323)]&&_0x415a85[_0x4ae016(0x1cc)]===!0x1&&_0x415a85[_0x4ae016(0x1ff)][_0x4ae016(0x1b0)]>0x0&&this[_0x4ae016(0x271)](_0x415a85['ranges']);})),this['_syncEditingCollabCursorService'][_0x5c883a(0x3c4)][_0x5c883a(0x367)](_0x539394[_0x5c883a(0x223)](this['dispose$']))[_0x5c883a(0x2e4)](_0x58beea=>{const _0x4b5ca8=_0x5c883a;if((_0x58beea==null?void 0x0:_0x58beea[_0x4b5ca8(0x323)])!==this[_0x4b5ca8(0x323)])return;const _0x53d7d1={'eventID':_0x119f28[_0x4b5ca8(0x262)][_0x4b5ca8(0x16d)],'data':_0x58beea};this[_0x4b5ca8(0x2f5)](_0x53d7d1);}),this['disposeWithMe'](this['_commandService'][_0x5c883a(0x3b8)](_0x1855c7=>{const _0x28d908=_0x5c883a;if(_0x1855c7[_0x28d908(0x28b)]==null)return;const _0x5f1451=_0x1855c7[_0x28d908(0x28b)];if(_0x1855c7['id']!==_0x1b62f9[_0x28d908(0x3a1)]['id']||_0x5f1451[_0x28d908(0x378)]!==this[_0x28d908(0x323)])return;const _0xb948f={'id':'doc.mutation.rich-text-editing','params':_0x5f1451},_0x1f5ab6=this[_0x28d908(0x2d7)];for(const [_0x132571,_0x1afb14]of _0x1f5ab6){const _0x42c230={'id':_0x28d908(0x2fc),'params':{'unitId':this[_0x28d908(0x323)],'actions':null,'textRanges':_0x1afb14[_0x28d908(0x1ff)]}},_0x54773e=this[_0x28d908(0x3bb)][_0x28d908(0x397)](_0xb948f,_0x42c230,!0x1);if(_0x119f28[_0x28d908(0x1a6)](_0x54773e))throw _0x54773e[_0x28d908(0x37a)];_0x1f5ab6[_0x28d908(0x25d)](_0x132571,{..._0x1afb14,'ranges':_0x54773e[_0x28d908(0x1f6)][_0x28d908(0x28b)]['textRanges']});}queueMicrotask(()=>{const _0x2bf9ea=_0x28d908;this[_0x2bf9ea(0x3b5)][_0x2bf9ea(0x3a6)](_0x1f5ab6);});})));}['_onCursorUpdate'](_0x28f7f2){const _0x57a21f=_0x22f257;var _0x289756,_0x4cd30a;const {memberID:_0xdd1aeb,selection:_0xb89217}=_0x28f7f2['data'],_0x1acbba=_0x36a3eb(_0xb89217),_0x1f67a1=(_0x4cd30a=(_0x289756=this[_0x57a21f(0x261)][_0x57a21f(0x31a)](this['unitID'],_0xdd1aeb))==null?void 0x0:_0x289756[_0x57a21f(0x363)])!=null?_0x4cd30a:_0x57a21f(0x290),_0x3789a0={'color':this['_colorAssignService'][_0x57a21f(0x164)](_0xdd1aeb),'name':_0x1f67a1,'ranges':_0x1acbba},_0x435359=this[_0x57a21f(0x2d7)];_0x435359[_0x57a21f(0x25d)](_0xdd1aeb,_0x3789a0),this[_0x57a21f(0x3b5)][_0x57a21f(0x3a6)](_0x435359);}['_onCursorDelete'](_0x59c43e){const _0x30bc50=_0x22f257,{memberID:_0x5adb11}=_0x59c43e[_0x30bc50(0x36d)],_0x193c50=this[_0x30bc50(0x2d7)];_0x193c50[_0x30bc50(0x181)](_0x5adb11),this[_0x30bc50(0x3b5)]['next'](_0x193c50);}[_0x22f257(0x36f)](){const _0x38f326=_0x22f257;var _0x15d9a6;if(this[_0x38f326(0x301)]=!0x0,((_0x15d9a6=this[_0x38f326(0x1ae)]['getFocusedUnit']())==null?void 0x0:_0x15d9a6['getUnitId']())!==this['unitID'])return;const _0x5331cc=this[_0x38f326(0x276)][_0x38f326(0x270)](_0x1b62f9[_0x38f326(0x359)])[_0x38f326(0x324)]();Array[_0x38f326(0x3ec)](_0x5331cc)&&_0x5331cc['length']>0x0&&this[_0x38f326(0x271)](_0x5331cc);}[_0x22f257(0x2d2)](){const _0x1c1f85=_0x22f257;this[_0x1c1f85(0x301)]=!0x1;}};_0x50a508=_0x2a486a([_0x3d2a90(0x2,_0x2a9662['Inject'](_0x2a9662['Injector'])),_0x3d2a90(0x3,_0x2a9662['Inject'](_0x40de99)),_0x3d2a90(0x4,_0x2a9662[_0x22f257(0x166)](_0x5b04f9[_0x22f257(0x372)])),_0x3d2a90(0x5,_0x2a9662[_0x22f257(0x166)](_0x48dd5)),_0x3d2a90(0x6,_0x119f28['ITransformService']),_0x3d2a90(0x7,_0x2a9662[_0x22f257(0x3db)]),_0x3d2a90(0x8,_0x2a9662[_0x22f257(0x22e)])],_0x50a508);var _0x45e348=Object[_0x22f257(0x2ce)],_0xb070d4=(_0x4d1042,_0x28bae6,_0x2bb857,_0x4160b9)=>{const _0x30a6a7=_0x22f257;for(var _0x5744f0=_0x4160b9>0x1?void 0x0:_0x4160b9?_0x45e348(_0x28bae6,_0x2bb857):_0x28bae6,_0x425853=_0x4d1042[_0x30a6a7(0x1b0)]-0x1,_0x1df1cd;_0x425853>=0x0;_0x425853--)(_0x1df1cd=_0x4d1042[_0x425853])&&(_0x5744f0=_0x1df1cd(_0x5744f0)||_0x5744f0);return _0x5744f0;},_0x59b22b=(_0x17b65b,_0x2d11ea)=>(_0x223ade,_0x4ebd68)=>_0x2d11ea(_0x223ade,_0x4ebd68,_0x17b65b);const _0x2a27cb=0x12c,_0x4cfb04=0x64,_0x5b916d=()=>{let _0x3c8904=[],_0x576e60=!0x1;return _0x3b67d1=>{const _0x82d9be=_0x574a;_0x3c8904[_0x82d9be(0x2a4)](_0x3b67d1),_0x576e60||(_0x576e60=!0x0,setTimeout(()=>{const _0x213776=_0x82d9be;_0x3c8904[_0x213776(0x231)](_0xa53360=>_0xa53360()),_0x3c8904=[],_0x576e60=!0x1;}));};};let _0x1b8dd4=class extends _0x2a9662[_0x22f257(0x32b)]{constructor(_0x1cad44,_0x8d62b3,_0x530596,_0x5f6c24,_0xb444c3,_0x496f15,_0x18a69f,_0xfc046a){const _0x478144=_0x22f257;super(),_0x30b7bc(this,_0x478144(0x301),!0x1),_0x30b7bc(this,'_init',!0x1),_0x30b7bc(this,'_cursorInfo$',new _0x539394[(_0x478144(0x1ca))](new Map())),_0x30b7bc(this,_0x478144(0x3f2),this['_cursorInfo$']['asObservable']()),_0x30b7bc(this,'_roomMembers$',new _0x539394[(_0x478144(0x1ca))]([])),_0x30b7bc(this,_0x478144(0x171),this[_0x478144(0x22a)][_0x478144(0x367)](_0x539394[_0x478144(0x1cb)](_0x2a27cb))),_0x30b7bc(this,_0x478144(0x271),_0x2a9662[_0x478144(0x2db)]((_0x10be73,_0x3453f4)=>{const _0x3db7f4=_0x478144,_0x337f9c={'eventID':_0x119f28[_0x3db7f4(0x262)][_0x3db7f4(0x16d)],'data':{'unitID':this[_0x3db7f4(0x323)],'memberID':this[_0x3db7f4(0x3e3)][_0x3db7f4(0x317)](),'selection':_0xe1fbe2['serializeRangeWithSheet'](_0x10be73,_0x3453f4[_0x3db7f4(0x246)])}};this[_0x3db7f4(0x3e3)][_0x3db7f4(0x333)](_0x337f9c,this[_0x3db7f4(0x323)]);},_0x4cfb04)),(this['unitID']=_0x1cad44,this['_session']=_0x8d62b3,this['_injector']=_0x530596,this[_0x478144(0x1de)]=_0x5f6c24,this[_0x478144(0x261)]=_0xb444c3,this['_univerInstanceService']=_0x496f15,this[_0x478144(0x3e8)]=_0x18a69f,this[_0x478144(0x312)]=_0xfc046a);}get['cursorInfo'](){const _0x5e3a29=_0x22f257;return this['_cursorInfo$'][_0x5e3a29(0x2ae)]();}get[_0x22f257(0x1db)](){const _0x54a299=_0x22f257;return this['_roomMembers$'][_0x54a299(0x2ae)]();}['dispose'](){const _0x5372ce=_0x22f257;super['dispose'](),this[_0x5372ce(0x3b5)]['next'](new Map()),this['_cursorInfo$'][_0x5372ce(0x283)](),this['_roomMembers$'][_0x5372ce(0x3a6)]([]),this[_0x5372ce(0x22a)]['complete']();}[_0x22f257(0x3e1)](){const _0x576246=_0x22f257;this['_init']||(this[_0x576246(0x35b)]=!0x0,this[_0x576246(0x3e3)][_0x576246(0x23d)][_0x576246(0x367)](_0x539394[_0x576246(0x223)](this[_0x576246(0x2e5)]))[_0x576246(0x2e4)](_0x40dbfc=>{const _0x4df3de=_0x576246;_0x40dbfc===_0x5b04f9[_0x4df3de(0x25f)][_0x4df3de(0x3ab)]?this[_0x4df3de(0x36f)]():this[_0x4df3de(0x2d2)]();}),this[_0x576246(0x3e3)][_0x576246(0x248)][_0x576246(0x367)](_0x539394[_0x576246(0x223)](this['dispose$']))[_0x576246(0x2e4)](_0xaaeb00=>{const _0x533c75=_0x576246,_0x29243b=_0xaaeb00['eventID'];_0x29243b===_0x119f28[_0x533c75(0x262)][_0x533c75(0x16d)]&&this[_0x533c75(0x2f5)](_0xaaeb00),_0x29243b===_0x119f28[_0x533c75(0x262)][_0x533c75(0x260)]&&this['_onCursorDelete'](_0xaaeb00);}),this['_onRefRangeChange'](),this[_0x576246(0x2f4)](this['_commandService']['onCommandExecuted'](_0x210da7=>{const _0x46ad76=_0x576246;if(this[_0x46ad76(0x301)]&&_0x210da7['id']===_0x10d874[_0x46ad76(0x331)]['id']&&_0x210da7[_0x46ad76(0x28b)]['unitId']===this[_0x46ad76(0x323)]){const _0x5c1bb3=_0x210da7[_0x46ad76(0x28b)];this[_0x46ad76(0x271)](_0x5c1bb3[_0x46ad76(0x1da)],_0x5c1bb3['selections'][0x0]);}})));}[_0x22f257(0x2f5)](_0x3e3ba5){const _0x13ebad=_0x22f257;var _0x54fff2,_0x389c13;const {memberID:_0x22bb4e,selection:_0x12f9ac}=_0x3e3ba5[_0x13ebad(0x36d)],{sheetName:_0x470a2d,range:_0x32e19d}=_0xe1fbe2[_0x13ebad(0x2de)](_0x12f9ac),_0x2bfc9f={'name':(_0x389c13=(_0x54fff2=this[_0x13ebad(0x261)][_0x13ebad(0x31a)](this[_0x13ebad(0x323)],_0x22bb4e))==null?void 0x0:_0x54fff2[_0x13ebad(0x363)])!=null?_0x389c13:_0x13ebad(0x290),'range':this['_getMergeRange'](_0x470a2d,_0x32e19d),'sheetID':_0x470a2d,'color':this[_0x13ebad(0x1de)]['assignAColorForMemberID'](_0x22bb4e),'selection':_0x12f9ac},_0x2a69c6=this[_0x13ebad(0x2d7)];_0x2a69c6['set'](_0x22bb4e,_0x2bfc9f),this[_0x13ebad(0x3b5)][_0x13ebad(0x3a6)](_0x2a69c6);}[_0x22f257(0x272)](_0x1d5f09){const _0x386fcb=_0x22f257,{memberID:_0x28fa16}=_0x1d5f09[_0x386fcb(0x36d)],_0x18e5fc=this[_0x386fcb(0x2d7)];_0x18e5fc[_0x386fcb(0x181)](_0x28fa16),this[_0x386fcb(0x3b5)][_0x386fcb(0x3a6)](_0x18e5fc);}[_0x22f257(0x33c)](_0x238b8a,_0x295056){const _0x2c024e=_0x22f257;var _0x216722,_0x478881;const _0x4d6902=(_0x478881=(_0x216722=this[_0x2c024e(0x1ae)]['getUniverSheetInstance'](this['unitID']))==null?void 0x0:_0x216722[_0x2c024e(0x18b)](_0x238b8a))==null?void 0x0:_0x478881[_0x2c024e(0x1e4)]();return(_0x4d6902==null?void 0x0:_0x4d6902[_0x2c024e(0x288)](_0x345136=>_0x2a9662[_0x2c024e(0x182)]['contains'](_0x345136,_0x295056)))||_0x295056;}[_0x22f257(0x242)](){const _0x16986f=_0x22f257,_0x3689f7=new _0x2a9662[(_0x16986f(0x1c3))](),_0x56377d=_0x5b916d(),_0x5bba70=()=>{const _0xac6503=_0x16986f;_0x3689f7['dispose']();const _0x72d1b9=(_0x12ab50,_0x25f96e,_0x238923,_0x2a79a3)=>{const _0x4b6a5c=_0x574a;let _0x403b5f=[];switch(_0x12ab50['id']){case _0x10d874[_0x4b6a5c(0x17d)][_0x4b6a5c(0x2fd)]:{_0x403b5f=_0x10d874[_0x4b6a5c(0x39c)](_0x12ab50,_0x2a79a3);break;}case _0x10d874[_0x4b6a5c(0x17d)]['DeleteRangeMoveUpCommandId']:{_0x403b5f=_0x10d874[_0x4b6a5c(0x2d5)](_0x12ab50,_0x2a79a3);break;}case _0x10d874[_0x4b6a5c(0x17d)][_0x4b6a5c(0x34b)]:{_0x403b5f=_0x10d874[_0x4b6a5c(0x239)](_0x12ab50,_0x2a79a3);break;}case _0x10d874[_0x4b6a5c(0x17d)]['InsertRangeMoveDownCommandId']:{_0x403b5f=_0x10d874[_0x4b6a5c(0x2bf)](_0x12ab50,_0x2a79a3);break;}case _0x10d874[_0x4b6a5c(0x17d)]['InsertRangeMoveRightCommandId']:{_0x403b5f=_0x10d874[_0x4b6a5c(0x39d)](_0x12ab50,_0x2a79a3);break;}case _0x10d874[_0x4b6a5c(0x17d)]['InsertRowCommandId']:{_0x403b5f=_0x10d874[_0x4b6a5c(0x34a)](_0x12ab50,_0x2a79a3);break;}case _0x10d874[_0x4b6a5c(0x17d)]['MoveRangeCommandId']:{_0x403b5f=_0x10d874[_0x4b6a5c(0x3a4)](_0x12ab50,_0x2a79a3);break;}case _0x10d874[_0x4b6a5c(0x17d)][_0x4b6a5c(0x1ea)]:{_0x403b5f=_0x10d874[_0x4b6a5c(0x2ec)](_0x12ab50,_0x2a79a3);break;}case _0x10d874[_0x4b6a5c(0x17d)][_0x4b6a5c(0x284)]:{_0x403b5f=_0x10d874[_0x4b6a5c(0x2d1)](_0x12ab50,_0x2a79a3);break;}}const _0x452193=_0x10d874['runRefRangeMutations'](_0x403b5f,_0x2a79a3),_0x4f7d78=this[_0x4b6a5c(0x2d7)][_0x4b6a5c(0x270)](_0x25f96e);if(_0x4f7d78&&_0x452193){const _0x4a667f={..._0x4f7d78,'range':_0x452193};this[_0x4b6a5c(0x2d7)][_0x4b6a5c(0x25d)](_0x25f96e,_0x4a667f),_0x56377d(()=>{const _0x459585=_0x4b6a5c,_0x2bf62d=this[_0x459585(0x312)]['registerRefRange'](_0x452193,_0x190361=>(_0x2bf62d[_0x459585(0x258)](),_0x72d1b9(_0x190361,_0x25f96e,_0x238923,_0x452193)));_0x3689f7['add'](_0x2bf62d);});}return{'redos':[],'undos':[]};};this[_0xac6503(0x2d7)][_0xac6503(0x231)]((_0x49b8fe,_0x5156a2)=>{const _0x595009=_0xac6503,{range:_0x34eaf5,sheetID:_0x121d7f}=_0x49b8fe,_0x3bdc79=this[_0x595009(0x312)][_0x595009(0x168)](_0x34eaf5,_0x11f921=>(_0x3bdc79[_0x595009(0x258)](),_0x72d1b9(_0x11f921,_0x5156a2,_0x121d7f,_0x34eaf5)));_0x3689f7[_0x595009(0x3de)](_0x3bdc79);});};this[_0x16986f(0x2f4)](_0x2a9662[_0x16986f(0x22f)](this[_0x16986f(0x3b5)][_0x16986f(0x2e4)](()=>{_0x5bba70();})));}[_0x22f257(0x36f)](){const _0x5987b0=_0x22f257;var _0x5530eb,_0x8675b5;if(this[_0x5987b0(0x301)]=!0x0,((_0x5530eb=this[_0x5987b0(0x1ae)][_0x5987b0(0x299)]())==null?void 0x0:_0x5530eb[_0x5987b0(0x3ef)]())!==this[_0x5987b0(0x323)])return;const _0x25cd74=(_0x8675b5=this['_injector'][_0x5987b0(0x270)](_0x10d874['SheetsSelectionsService'])[_0x5987b0(0x198)]())==null?void 0x0:_0x8675b5[0x0],_0x563ea7=this[_0x5987b0(0x1ae)][_0x5987b0(0x389)](_0x2a9662[_0x5987b0(0x3d8)][_0x5987b0(0x385)])[_0x5987b0(0x23a)]();_0x25cd74&&_0x563ea7&&this[_0x5987b0(0x271)](_0x563ea7[_0x5987b0(0x1d2)](),_0x25cd74);}[_0x22f257(0x2d2)](){const _0xc3b3bd=_0x22f257;this[_0xc3b3bd(0x301)]=!0x1;}};_0x1b8dd4=_0xb070d4([_0x59b22b(0x2,_0x2a9662['Inject'](_0x2a9662['Injector'])),_0x59b22b(0x3,_0x2a9662[_0x22f257(0x166)](_0x40de99)),_0x59b22b(0x4,_0x2a9662[_0x22f257(0x166)](_0x5b04f9[_0x22f257(0x372)])),_0x59b22b(0x5,_0x2a9662[_0x22f257(0x3db)]),_0x59b22b(0x6,_0x2a9662[_0x22f257(0x22e)]),_0x59b22b(0x7,_0x2a9662[_0x22f257(0x166)](_0x10d874['RefRangeService']))],_0x1b8dd4);var _0x2c1e11=Object[_0x22f257(0x2ce)],_0x126c59=(_0x4d64f8,_0x3b08b5,_0x5755a4,_0x21aace)=>{const _0x15a5f4=_0x22f257;for(var _0x16235d=_0x21aace>0x1?void 0x0:_0x21aace?_0x2c1e11(_0x3b08b5,_0x5755a4):_0x3b08b5,_0x629d76=_0x4d64f8[_0x15a5f4(0x1b0)]-0x1,_0x4e0ab0;_0x629d76>=0x0;_0x629d76--)(_0x4e0ab0=_0x4d64f8[_0x629d76])&&(_0x16235d=_0x4e0ab0(_0x16235d)||_0x16235d);return _0x16235d;},_0x2064fe=(_0x3b51ba,_0x455e40)=>(_0x1f575f,_0xb7a76a)=>_0x455e40(_0x1f575f,_0xb7a76a,_0x3b51ba);let _0x2dfea8=class extends _0x2a9662['RxDisposable']{constructor(_0x1bcf46,_0x4d63d9,_0x494d34){const _0x561381=_0x22f257;super(),_0x30b7bc(this,'_entities',new Map()),_0x30b7bc(this,_0x561381(0x33f),new _0x539394[(_0x561381(0x240))]()),(this[_0x561381(0x1ae)]=_0x1bcf46,this['_injector']=_0x4d63d9,this[_0x561381(0x31c)]=_0x494d34,this['_init']());}['dispose'](){const _0x4b6227=_0x22f257;super[_0x4b6227(0x258)](),this[_0x4b6227(0x33f)][_0x4b6227(0x283)](),this[_0x4b6227(0x33d)][_0x4b6227(0x231)](_0x3578b7=>_0x3578b7[_0x4b6227(0x258)]());}['getCollabCursors$'](_0x50b0f2){const _0x1cbc58=_0x22f257;return this[_0x1cbc58(0x33d)][_0x1cbc58(0x1fb)](_0x50b0f2)?this[_0x1cbc58(0x33d)][_0x1cbc58(0x270)](_0x50b0f2)[_0x1cbc58(0x3f2)]:this[_0x1cbc58(0x33f)][_0x1cbc58(0x367)](_0x539394[_0x1cbc58(0x35d)](_0x11e103=>_0x11e103[_0x1cbc58(0x323)]===_0x50b0f2),_0x539394[_0x1cbc58(0x3eb)](_0x47bb9a=>_0x47bb9a[_0x1cbc58(0x3f2)]));}[_0x22f257(0x35b)](){const _0x3adbdb=_0x22f257;this[_0x3adbdb(0x1ae)][_0x3adbdb(0x1dd)](_0x2a9662['UniverInstanceType'][_0x3adbdb(0x385)])[_0x3adbdb(0x367)](_0x539394['takeUntil'](this[_0x3adbdb(0x2e5)]))[_0x3adbdb(0x2e4)](async _0x36ff88=>{const _0x26479f=_0x3adbdb,_0x3f73de=_0x36ff88['getUnitId'](),_0x2490b6=await this['_startSheetCollabCursor'](_0x3f73de);this[_0x26479f(0x33f)][_0x26479f(0x3a6)](_0x2490b6),this[_0x26479f(0x33d)]['set'](_0x3f73de,_0x2490b6);}),this[_0x3adbdb(0x1ae)][_0x3adbdb(0x1dd)](_0x2a9662[_0x3adbdb(0x3d8)][_0x3adbdb(0x391)])[_0x3adbdb(0x367)](_0x539394[_0x3adbdb(0x223)](this[_0x3adbdb(0x2e5)]))[_0x3adbdb(0x367)](_0x539394[_0x3adbdb(0x35d)](_0x10a275=>!_0x10a275[_0x3adbdb(0x3ef)]()['startsWith']('__')))['subscribe'](async _0x2240d4=>{const _0x3df924=_0x3adbdb,_0x46cfd3=_0x2240d4[_0x3df924(0x3ef)](),_0x394ab6=await this['_startDocCollabCursor'](_0x46cfd3);this[_0x3df924(0x33f)][_0x3df924(0x3a6)](_0x394ab6),this[_0x3df924(0x33d)][_0x3df924(0x25d)](_0x46cfd3,_0x394ab6);}),_0x539394[_0x3adbdb(0x232)](this[_0x3adbdb(0x1ae)][_0x3adbdb(0x25e)](_0x2a9662[_0x3adbdb(0x3d8)][_0x3adbdb(0x391)]),this[_0x3adbdb(0x1ae)]['getTypeOfUnitDisposed$'](_0x2a9662[_0x3adbdb(0x3d8)][_0x3adbdb(0x385)]))[_0x3adbdb(0x367)](_0x539394['takeUntil'](this[_0x3adbdb(0x2e5)]))[_0x3adbdb(0x2e4)](_0x3c426b=>{const _0x559f5d=_0x3adbdb,_0x2a619f=_0x3c426b['getUnitId'](),_0x51c610=this['_entities']['get'](_0x2a619f);_0x51c610&&(_0x51c610[_0x559f5d(0x258)](),this[_0x559f5d(0x33d)][_0x559f5d(0x181)](_0x2a619f));});}async[_0x22f257(0x362)](_0x3f8da2){const _0x249e6e=_0x22f257,_0x528dc9=await this[_0x249e6e(0x31c)][_0x249e6e(0x26f)](_0x3f8da2),_0x19b619=this[_0x249e6e(0x276)][_0x249e6e(0x2ba)](_0x1b8dd4,_0x3f8da2,_0x528dc9);return _0x19b619[_0x249e6e(0x3e1)](),_0x19b619;}async[_0x22f257(0x217)](_0x1bc99d){const _0x185f02=_0x22f257,_0xa372a5=await this['_collabSessionService'][_0x185f02(0x26f)](_0x1bc99d),_0x3e889c=this[_0x185f02(0x276)][_0x185f02(0x2ba)](_0x50a508,_0x1bc99d,_0xa372a5);return _0x3e889c['init'](),_0x3e889c;}};_0x2dfea8=_0x126c59([_0x2064fe(0x0,_0x2a9662['IUniverInstanceService']),_0x2064fe(0x1,_0x2a9662[_0x22f257(0x166)](_0x2a9662[_0x22f257(0x282)])),_0x2064fe(0x2,_0x2a9662[_0x22f257(0x166)](_0x5b04f9['CollaborationSessionService']))],_0x2dfea8);const _0x8b5212=0x14,_0x2627c4=0xc8,_0x59a6b8=0x4,_0x57b58b=0x5;function _0x173a6e(_0x3f6757,_0x577e5b){const _0x12308d=_0x22f257;let {radius:_0x5dbc49,width:_0x21af0e,height:_0x522451}=_0x577e5b;_0x5dbc49=_0x5dbc49!=null?_0x5dbc49:0x0,_0x21af0e=_0x21af0e!=null?_0x21af0e:0x1e,_0x522451=_0x522451!=null?_0x522451:0x1e;let _0x50ecf8=0x0,_0x4c1447=0x0,_0x343a59=0x0;_0x50ecf8=_0x4c1447=_0x343a59=Math[_0x12308d(0x264)](_0x5dbc49,_0x21af0e/0x2,_0x522451/0x2),_0x3f6757[_0x12308d(0x1d0)](),_0x3f6757[_0x12308d(0x1e6)](_0x50ecf8,0x0),_0x3f6757[_0x12308d(0x2c0)](_0x21af0e-_0x4c1447,0x0),_0x3f6757[_0x12308d(0x19f)](_0x21af0e-_0x4c1447,_0x4c1447,_0x4c1447,Math['PI']*0x3/0x2,0x0,!0x1),_0x3f6757['lineTo'](_0x21af0e,_0x522451-_0x343a59),_0x3f6757[_0x12308d(0x19f)](_0x21af0e-_0x343a59,_0x522451-_0x343a59,_0x343a59,0x0,Math['PI']/0x2,!0x1),_0x3f6757['lineTo'](0x0,_0x522451),_0x3f6757['lineTo'](0x0,_0x50ecf8),_0x3f6757['arc'](_0x50ecf8,_0x50ecf8,_0x50ecf8,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x3f6757['closePath'](),_0x577e5b[_0x12308d(0x319)]&&(_0x3f6757[_0x12308d(0x228)](),_0x3f6757[_0x12308d(0x303)]=_0x577e5b['fill'],_0x577e5b[_0x12308d(0x31e)]===_0x12308d(0x1b5)?_0x3f6757[_0x12308d(0x319)](_0x12308d(0x1b5)):_0x3f6757['fill'](),_0x3f6757[_0x12308d(0x195)]());}class _0x84e299 extends _0x53abef[_0x22f257(0x3e5)]{constructor(_0x1a723c,_0x41e3c3){const _0x52f794=_0x22f257;super(_0x1a723c,_0x41e3c3),_0x30b7bc(this,_0x52f794(0x376)),_0x30b7bc(this,_0x52f794(0x219)),(this[_0x52f794(0x376)]=_0x41e3c3==null?void 0x0:_0x41e3c3[_0x52f794(0x376)],this['text']=_0x41e3c3==null?void 0x0:_0x41e3c3[_0x52f794(0x219)]);}static['drawWith'](_0xee7561,_0x538ea2){const _0x49eed5=_0x22f257,{text:_0x417beb,color:_0x102182}=_0x538ea2;_0xee7561[_0x49eed5(0x228)](),_0xee7561[_0x49eed5(0x254)]=_0x49eed5(0x220);const _0x518eaf=_0xee7561[_0x49eed5(0x266)](_0x417beb)['width'],_0x431819=Math['min'](_0x518eaf+0x2*_0x59a6b8,_0x2627c4);_0x173a6e(_0xee7561,{'height':_0x8b5212,'radius':0x4,'width':_0x431819,'fill':_0x102182}),_0xee7561[_0x49eed5(0x303)]=_0x49eed5(0x29a);const _0x201b5f=_0x59a6b8,_0x5a88ce=_0x8b5212-_0x57b58b,_0x1b665c=_0x2627c4-0x2*_0x59a6b8;if(_0x518eaf>_0x1b665c){let _0x46793c='',_0x554e6c=0x0;for(const _0x445061 of _0x417beb){const _0x105aea=_0xee7561['measureText'](_0x445061)[_0x49eed5(0x39e)];if(_0x554e6c+_0x105aea<=_0x1b665c-_0xee7561['measureText']('...')[_0x49eed5(0x39e)])_0x46793c+=_0x445061,_0x554e6c+=_0x105aea;else{_0x46793c+=_0x49eed5(0x1c4);break;}}_0xee7561[_0x49eed5(0x229)](_0x46793c,_0x201b5f,_0x5a88ce);}else _0xee7561['fillText'](_0x417beb,_0x201b5f,_0x5a88ce);_0xee7561[_0x49eed5(0x195)]();}[_0x22f257(0x21d)](_0xbd3c70){const _0x4047e6=_0x22f257;_0x84e299[_0x4047e6(0x16b)](_0xbd3c70,this);}}const _0x5eb4a6=_0x22f257(0x22b),_0x11bfe7=_0x22f257(0x3d2),_0xeb3814=_0x22f257(0x1e2),_0x14ebd1=0x6,_0x12aeee=1.5,_0x1c27b7=0x4,_0x47253f=1.5,_0x440b3f=_0x22f257(0x226);class _0x37aef7{constructor(_0x32fc84,_0x2476f7,_0x14dce2,_0xfa1188){const _0xbb365e=_0x22f257;_0x30b7bc(this,_0xbb365e(0x204),[]),_0x30b7bc(this,_0xbb365e(0x334),null),_0x30b7bc(this,'_textBubble',null),_0x30b7bc(this,_0xbb365e(0x2fe),null),_0x30b7bc(this,'_hideTimer',null),_0x30b7bc(this,'_eventUnsubscribe',null),(this[_0xbb365e(0x35f)]=_0x32fc84,this[_0xbb365e(0x211)]=_0x2476f7,this[_0xbb365e(0x3d5)]=_0x14dce2,this[_0xbb365e(0x1fc)]=_0xfa1188,this['_render']());}set['_hover'](_0x520e8a){const _0x423664=_0x22f257;_0x520e8a?(this['_anchorDot']&&this['_anchorDot'][_0x423664(0x1d4)](),this[_0x423664(0x2e9)]&&this[_0x423664(0x2e9)][_0x423664(0x3a7)]()):(this['_anchorDot']&&this[_0x423664(0x2fe)][_0x423664(0x3a7)](),this['_textBubble']&&this[_0x423664(0x2e9)][_0x423664(0x1d4)]());}[_0x22f257(0x258)](){const _0x3872bf=_0x22f257;for(const _0x5addf0 of this[_0x3872bf(0x204)])_0x5addf0[_0x3872bf(0x258)]();this[_0x3872bf(0x2e9)]&&this['_textBubble']['dispose'](),this['_anchorDot']&&this['_anchorDot'][_0x3872bf(0x258)](),this['_anchor']&&this[_0x3872bf(0x334)][_0x3872bf(0x258)](),this[_0x3872bf(0x309)]&&this['_eventUnsubscribe']();}[_0x22f257(0x257)](){const _0xb60728=_0x22f257;var _0x225e6f;const {_docSkeleton:_0x315e53,_document:_0xbc18b8}=this,{color:_0x4b89d7,name:_0x26543a,ranges:_0x2cc93a}=this[_0xb60728(0x35f)],_0x536f11=_0xbc18b8[_0xb60728(0x27f)](),{docsLeft:_0x3f17ed,docsTop:_0x7fb118}=_0x536f11,_0x1da5cf=new _0xccddd6[(_0xb60728(0x249))](_0x536f11,_0x315e53);for(const {startOffset:_0xeb8d55,endOffset:_0x6ece6b,rangeType:_0x18f4c6,segmentId:_0x114900,segmentPage:_0x43650c,collapsed:_0xe5e8ff,isActive:_0x120fdd}of _0x2cc93a){const _0x5e7b14=_0x315e53[_0xb60728(0x338)](_0xeb8d55,!0x0,_0x114900,_0x43650c);let _0x514fbb=_0x315e53[_0xb60728(0x338)](_0x6ece6b,!0x0,_0x114900,_0x43650c);if(_0x514fbb==null&&(_0x514fbb=_0x315e53['findNodePositionByCharIndex'](_0x6ece6b-0x1,!0x1,_0x114900,_0x43650c)),_0x120fdd){const {contentBoxPointGroup:_0x4956c8}=_0x1da5cf[_0xb60728(0x307)](_0x514fbb,_0x514fbb);if(_0x4956c8[_0xb60728(0x1b0)]===0x0)continue;this[_0xb60728(0x2ea)](_0x4b89d7,_0x4956c8,_0x3f17ed,_0x7fb118,_0x26543a),this[_0xb60728(0x309)]=this[_0xb60728(0x192)]();}if(_0x5e7b14&&_0x514fbb){if(_0x18f4c6===_0x2a9662[_0xb60728(0x26b)][_0xb60728(0x32a)]){const _0x3671d9=new _0xccddd6[(_0xb60728(0x393))](_0x536f11,_0x315e53),{pointGroup:_0x9726fa}=(_0x225e6f=_0x3671d9[_0xb60728(0x307)](_0x5e7b14,_0x514fbb))!=null?_0x225e6f:{};if(_0x9726fa==null||_0x9726fa[_0xb60728(0x1b0)]===0x0)continue;this[_0xb60728(0x2c2)](_0x4b89d7,_0x9726fa,_0x3f17ed,_0x7fb118);}else{if(!_0xe5e8ff){const {borderBoxPointGroup:_0x5f09df}=_0x1da5cf[_0xb60728(0x307)](_0x5e7b14,_0x514fbb);if(_0x5f09df[_0xb60728(0x1b0)]===0x0)continue;this[_0xb60728(0x22c)](_0x4b89d7,_0x5f09df,_0x3f17ed,_0x7fb118);}}}}}[_0x22f257(0x2ea)](_0x3fd0a4,_0x339567,_0x1e09b6,_0xaed142,_0x3ea37b){const _0x4355c0=_0x22f257,_0x1df2d0=this['_getAnchorBounding'](_0x339567),{left:_0x2e3241,top:_0x4fb776,height:_0x232759}=_0x1df2d0,_0x94285c=this[_0x4355c0(0x328)](),_0x8baddc=_0x47253f/_0x94285c,_0x372daa=new _0x53abef[(_0x4355c0(0x1d9))](_0x5eb4a6+_0x2a9662[_0x4355c0(0x17c)]['generateRandomId'](_0x14ebd1),{'left':_0x2e3241+_0x1e09b6-_0x8baddc,'top':_0x4fb776+_0xaed142,'height':_0x232759,'width':_0x12aeee,'fill':_0x3fd0a4||_0x53abef[_0x4355c0(0x2c8)](_0x2a9662[_0x4355c0(0x3b0)][_0x4355c0(0x1c0)],0x0),'strokeWidth':_0x8baddc,'stroke':_0x440b3f,'evented':!0x0});this[_0x4355c0(0x334)]=_0x372daa,this['_scene'][_0x4355c0(0x2a8)](_0x372daa,_0xccddd6['TEXT_RANGE_LAYER_INDEX']);const _0x217770=new _0x53abef[(_0x4355c0(0x1d9))](_0x5eb4a6+_0x2a9662[_0x4355c0(0x17c)]['generateRandomId'](_0x14ebd1),{'left':_0x2e3241+_0x1e09b6-_0x8baddc,'top':_0x4fb776+_0xaed142-_0x1c27b7/0x2,'height':_0x1c27b7,'width':_0x1c27b7,'fill':_0x3fd0a4||_0x53abef['getColor'](_0x2a9662[_0x4355c0(0x3b0)][_0x4355c0(0x1c0)],0x0),'strokeWidth':0x0,'stroke':_0x3fd0a4||_0x53abef['getColor'](_0x2a9662['COLORS'][_0x4355c0(0x1c0)],0x0),'evented':!0x1});this['_anchorDot']=_0x217770,this[_0x4355c0(0x211)]['addObject'](_0x217770,_0xccddd6[_0x4355c0(0x30a)]);const _0x2c2d00=new _0x84e299(_0x5eb4a6+_0x2a9662[_0x4355c0(0x17c)]['generateRandomId'](_0x14ebd1),{'left':_0x2e3241+_0x1e09b6-_0x8baddc,'top':_0x4fb776+_0xaed142-_0x8b5212,'text':_0x3ea37b,'color':_0x3fd0a4});this[_0x4355c0(0x2e9)]=_0x2c2d00,this[_0x4355c0(0x211)]['addObject'](_0x2c2d00,_0xccddd6['TEXT_RANGE_LAYER_INDEX']),this[_0x4355c0(0x38c)]=!0x1;}[_0x22f257(0x192)](){const _0xcf90c1=_0x22f257,_0x14570d=this[_0xcf90c1(0x334)]['onPointerEnter$']['subscribeEvent'](()=>{const _0x3488ea=_0xcf90c1;this[_0x3488ea(0x38c)]=!0x0;}),_0x5170a6=this[_0xcf90c1(0x334)]['onPointerLeave$'][_0xcf90c1(0x313)](()=>{const _0x1d5d83=_0xcf90c1;this[_0x1d5d83(0x1fd)]&&clearTimeout(this[_0x1d5d83(0x1fd)]),this[_0x1d5d83(0x1fd)]=setTimeout(()=>{const _0xbb28fa=_0x1d5d83;this[_0xbb28fa(0x38c)]=!0x1;},0x7d0);});return()=>{const _0x4888e1=_0xcf90c1;_0x14570d[_0x4888e1(0x174)](),_0x5170a6[_0x4888e1(0x174)]();};}[_0x22f257(0x22c)](_0x51b938,_0x1a6ba3,_0x977cbf,_0x18757f){const _0x1f0a9a=_0x22f257,_0x45afb4=new _0x2a9662[(_0x1f0a9a(0x21a))](_0x51b938)[_0x1f0a9a(0x388)](0.2)[_0x1f0a9a(0x2f2)](),_0x133300=new _0x53abef[(_0x1f0a9a(0x18c))](_0x11bfe7+_0x2a9662['Tools'][_0x1f0a9a(0x2dc)](_0x14ebd1),{'pointsGroup':_0x1a6ba3,'fill':_0x45afb4||_0x53abef[_0x1f0a9a(0x2c8)](_0x2a9662['COLORS'][_0x1f0a9a(0x1c0)],0.2),'left':_0x977cbf,'top':_0x18757f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes']['push'](_0x133300),this[_0x1f0a9a(0x211)][_0x1f0a9a(0x2a8)](_0x133300,_0xccddd6[_0x1f0a9a(0x30a)]);}['_drawRectRange'](_0x559b33,_0x5120e0,_0x399343,_0x50aadc){const _0x230c85=_0x22f257,_0x4a64af=new _0x2a9662[(_0x230c85(0x21a))](_0x559b33)[_0x230c85(0x388)](0.2)[_0x230c85(0x2f2)](),_0x255808=new _0x53abef[(_0x230c85(0x18c))](_0xeb3814+_0x2a9662['Tools'][_0x230c85(0x2dc)](_0x14ebd1),{'pointsGroup':_0x5120e0,'fill':_0x4a64af||_0x53abef['getColor'](_0x2a9662[_0x230c85(0x3b0)][_0x230c85(0x1c0)],0.2),'left':_0x399343,'top':_0x50aadc,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x230c85(0x204)][_0x230c85(0x2a4)](_0x255808),this[_0x230c85(0x211)][_0x230c85(0x2a8)](_0x255808,_0xccddd6[_0x230c85(0x30a)]);}[_0x22f257(0x3d1)](_0x47c6ac){const _0x20e57c=_0x47c6ac[0x0],_0x1a8dbd=_0x20e57c[0x0],_0x583201=_0x20e57c[0x2],{x:_0x3b48e5,y:_0xbc2c6b}=_0x1a8dbd,{x:_0x2ea4a7,y:_0xed93c1}=_0x583201;return{'left':_0x3b48e5,'top':_0xbc2c6b,'width':_0x2ea4a7-_0x3b48e5,'height':_0xed93c1-_0xbc2c6b};}[_0x22f257(0x328)](){const _0x4dea8d=_0x22f257,{scaleX:_0x2583e0,scaleY:_0x278568}=this['_scene'][_0x4dea8d(0x1a7)]();return Math['max'](_0x2583e0,_0x278568);}}var _0x5d6029=Object[_0x22f257(0x2ce)],_0x33edb9=(_0x8716dd,_0x3c5167,_0x509903,_0x31a194)=>{const _0x45198b=_0x22f257;for(var _0x4dcd8a=_0x31a194>0x1?void 0x0:_0x31a194?_0x5d6029(_0x3c5167,_0x509903):_0x3c5167,_0x51386d=_0x8716dd[_0x45198b(0x1b0)]-0x1,_0x40f2cd;_0x51386d>=0x0;_0x51386d--)(_0x40f2cd=_0x8716dd[_0x51386d])&&(_0x4dcd8a=_0x40f2cd(_0x4dcd8a)||_0x4dcd8a);return _0x4dcd8a;},_0x5900ba=(_0x348c4d,_0x4c34ca)=>(_0x1da180,_0x4ed708)=>_0x4c34ca(_0x1da180,_0x4ed708,_0x348c4d);let _0x3cbae1=class extends _0x2a9662['RxDisposable']{constructor(_0x5443bd,_0x5ec484,_0x535358,_0xf87466,_0x3eff29){const _0x3444c4=_0x22f257;super(),_0x30b7bc(this,_0x3444c4(0x24f),[]),_0x30b7bc(this,_0x3444c4(0x337),[]),(this['_context']=_0x5443bd,this['_docSkeletonManagerService']=_0x5ec484,this[_0x3444c4(0x2d3)]=_0x535358,this[_0x3444c4(0x3e8)]=_0xf87466,this['_themeService']=_0x3eff29,this[_0x3444c4(0x35b)]());}[_0x22f257(0x35b)](){const _0x58e73c=_0x22f257,_0xef4912=this['_context']['unitId'],_0x16b3ba=this[_0x58e73c(0x179)];this['disposeWithMe'](_0x539394[_0x58e73c(0x1e9)]([this[_0x58e73c(0x2d3)]['getCollabCursors$'](_0xef4912),this['_themeService'][_0x58e73c(0x380)]])[_0x58e73c(0x367)](_0x388455[_0x58e73c(0x18e)](([_0x2ba7f2,_0x5de7b3])=>({'skeleton':_0x16b3ba[_0x58e73c(0x250)](),'cursors':[..._0x2ba7f2[_0x58e73c(0x1cd)]()][_0x58e73c(0x34d)](_0x315f33=>({..._0x315f33,'color':_0x5de7b3[_0x315f33['color']]}))})))[_0x58e73c(0x2e4)](_0x2dd162=>{const _0x30c050=_0x58e73c;if(this['_removeCollabCursors'](),_0x2dd162){const {skeleton:_0x1c59d4,cursors:_0x25bcda}=_0x2dd162;this[_0x30c050(0x273)](_0x1c59d4,_0x25bcda);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x22f257(0x273)](_0x8e0b66,_0x2eee29){const _0x4d1e2a=_0x22f257,{scene:_0x22e187,mainComponent:_0x4b0730}=this['_context'],_0x5574cf=_0x2eee29['map'](_0x594490=>new _0x37aef7(_0x594490,_0x22e187,_0x8e0b66,_0x4b0730));this['_cursorShapes']=_0x5574cf,this[_0x4d1e2a(0x337)]=_0x2eee29;}[_0x22f257(0x2b2)](){const _0x4a75aa=_0x22f257;this[_0x4a75aa(0x3be)]();const {scene:_0x18e5be,mainComponent:_0x4a292a}=this['_context'],_0x45586e=this['_docSkeletonManagerService'][_0x4a75aa(0x250)](),_0x3d1b66=this['_cursors'][_0x4a75aa(0x18e)](_0x5220c8=>new _0x37aef7(_0x5220c8,_0x18e5be,_0x45586e,_0x4a292a));this[_0x4a75aa(0x24f)]=_0x3d1b66;}[_0x22f257(0x3be)](){const _0x3a2a42=_0x22f257;this[_0x3a2a42(0x24f)][_0x3a2a42(0x231)](_0x31b0f7=>_0x31b0f7['dispose']()),this[_0x3a2a42(0x24f)]=[];}[_0x22f257(0x370)](){const _0x55aeb3=_0x22f257,_0x574c99=[_0xccddd6[_0x55aeb3(0x285)]['id']];this[_0x55aeb3(0x2f4)](this[_0x55aeb3(0x3e8)][_0x55aeb3(0x3b8)](_0x3118cd=>{const _0xf774da=_0x55aeb3;_0x574c99[_0xf774da(0x350)](_0x3118cd['id'])&&_0x3118cd[_0xf774da(0x28b)][_0xf774da(0x378)]===this[_0xf774da(0x310)]['unitId']&&this[_0xf774da(0x2b2)]();}));}['_initResize'](){const _0x1d23c5=_0x22f257;this['disposeWithMe'](_0x2a9662[_0x1d23c5(0x2ed)](this[_0x1d23c5(0x310)][_0x1d23c5(0x20c)][_0x1d23c5(0x23b)])[_0x1d23c5(0x367)](_0x388455[_0x1d23c5(0x35d)](_0x5c2b9c=>_0x5c2b9c[_0x1d23c5(0x329)]===_0x53abef[_0x1d23c5(0x25a)]['resize']),_0x388455[_0x1d23c5(0x202)](0x10))[_0x1d23c5(0x2e4)](()=>{this['_refreshCollabCursors']();}));}};_0x3cbae1=_0x33edb9([_0x5900ba(0x1,_0x2a9662[_0x22f257(0x166)](_0x1b62f9[_0x22f257(0x345)])),_0x5900ba(0x2,_0x2a9662['Inject'](_0x2dfea8)),_0x5900ba(0x3,_0x2a9662[_0x22f257(0x22e)]),_0x5900ba(0x4,_0x2a9662[_0x22f257(0x166)](_0x2a9662[_0x22f257(0x18d)]))],_0x3cbae1);const _0x250fc4=0x1,_0x49329c=1.5;class _0x3a9bf4 extends _0x53abef['Shape']{constructor(_0x47fdaa,_0x5607e5){const _0x49e3cc=_0x22f257;super(_0x47fdaa,_0x5607e5),_0x30b7bc(this,_0x49e3cc(0x16a)),_0x30b7bc(this,_0x49e3cc(0x277),!0x1),_0x30b7bc(this,_0x49e3cc(0x3c5)),_0x30b7bc(this,'_name',''),_0x30b7bc(this,_0x49e3cc(0x2fa),_0x49e3cc(0x386)),_0x30b7bc(this,'_backgroundColor'),(_0x5607e5&&this[_0x49e3cc(0x1cf)](_0x5607e5),this['onPointerEnter$'][_0x49e3cc(0x313)](()=>this[_0x49e3cc(0x1cf)]({'hovered':!0x0})),this[_0x49e3cc(0x302)]['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x22f257(0x1cf)](_0x45fb78){const _0x640e99=_0x22f257;var _0xe41810,_0x35d634,_0x1a902f,_0x28d9c9,_0x243721,_0x3a3f34;this[_0x640e99(0x16a)]=(_0xe41810=_0x45fb78[_0x640e99(0x376)])!=null?_0xe41810:this['_color'],this['_hovered']=(_0x35d634=_0x45fb78[_0x640e99(0x3a8)])!=null?_0x35d634:this[_0x640e99(0x277)],this[_0x640e99(0x3c5)]=(_0x1a902f=_0x45fb78[_0x640e99(0x246)])!=null?_0x1a902f:this[_0x640e99(0x3c5)],this[_0x640e99(0x274)]=(_0x28d9c9=_0x45fb78[_0x640e99(0x363)])!=null?_0x28d9c9:this['_name'],this[_0x640e99(0x2fa)]=(_0x243721=_0x45fb78['labelPosition'])!=null?_0x243721:this[_0x640e99(0x2fa)],this['_backgroundColor']=(_0x3a3f34=_0x45fb78['backgroundColor'])!=null?_0x3a3f34:this[_0x640e99(0x343)],this[_0x640e99(0x38b)]({'width':_0x45fb78[_0x640e99(0x39e)],'height':_0x45fb78[_0x640e99(0x3d6)]});}[_0x22f257(0x224)](_0x4c8893){const _0x26ea25=_0x22f257,{row:_0x26d23d,column:_0x44cd51}=_0x4c8893;if(_0x26d23d>=this[_0x26ea25(0x3c5)][_0x26ea25(0x189)]&&_0x26d23d<=this[_0x26ea25(0x3c5)][_0x26ea25(0x1bb)]&&_0x44cd51>=this['_range'][_0x26ea25(0x3c3)]&&_0x44cd51<=this[_0x26ea25(0x3c5)][_0x26ea25(0x3c9)]){this[_0x26ea25(0x1cf)]({'hovered':!0x0});return;}this[_0x26ea25(0x1cf)]({'hovered':!0x1});}[_0x22f257(0x308)](_0x5be708){return!0x1;}[_0x22f257(0x21d)](_0x555cf6){const _0x37471b=_0x22f257;_0x53abef[_0x37471b(0x1d9)][_0x37471b(0x16b)](_0x555cf6,{'width':this[_0x37471b(0x39e)],'height':this[_0x37471b(0x3d6)],'strokeWidth':_0x49329c,'stroke':this['_color'],'evented':!0x1,'fill':this['_backgroundColor']}),this[_0x37471b(0x277)]&&(_0x555cf6['save'](),_0x555cf6[_0x37471b(0x2c5)](0x1,0x0,0x0,0x1,this[_0x37471b(0x39e)],this[_0x37471b(0x2fa)]===_0x37471b(0x39a)?0x0:-0x14),_0x84e299[_0x37471b(0x16b)](_0x555cf6,{'text':this[_0x37471b(0x274)],'color':this[_0x37471b(0x16a)]}),_0x555cf6[_0x37471b(0x195)]());}}var _0x56a006=Object[_0x22f257(0x2ce)],_0x3a1ddf=(_0x47b325,_0x39dd53,_0x40b3e0,_0x557ae3)=>{const _0x48d169=_0x22f257;for(var _0x2bb1b6=_0x557ae3>0x1?void 0x0:_0x557ae3?_0x56a006(_0x39dd53,_0x40b3e0):_0x39dd53,_0x45743d=_0x47b325[_0x48d169(0x1b0)]-0x1,_0x3698a6;_0x45743d>=0x0;_0x45743d--)(_0x3698a6=_0x47b325[_0x45743d])&&(_0x2bb1b6=_0x3698a6(_0x2bb1b6)||_0x2bb1b6);return _0x2bb1b6;},_0x24e7f5=(_0x1fd90e,_0x1628aa)=>(_0x50c905,_0x7c6ded)=>_0x1628aa(_0x50c905,_0x7c6ded,_0x1fd90e);const _0xd714ea=0x1389;let _0x139261=class extends _0x2a9662[_0x22f257(0x32b)]{constructor(_0x4448ec,_0xefc81c,_0xf2e4c0,_0x2eec5d){const _0x51f713=_0x22f257;super(),_0x30b7bc(this,_0x51f713(0x337),new Set()),_0x30b7bc(this,_0x51f713(0x165),null),(this[_0x51f713(0x310)]=_0x4448ec,this['_sheetSkeletonManagerService']=_0xefc81c,this[_0x51f713(0x2d3)]=_0xf2e4c0,this[_0x51f713(0x392)]=_0x2eec5d,this[_0x51f713(0x35b)]());}[_0x22f257(0x35b)](){const _0x40407b=_0x22f257;this['_sheetSkeletonManagerService'][_0x40407b(0x293)]['pipe'](_0x388455[_0x40407b(0x223)](this['dispose$']),_0x388455[_0x40407b(0x3eb)](_0x2dd824=>{const _0x15f804=_0x40407b;if(_0x2dd824){const _0x7b6f2=_0x2dd824[_0x15f804(0x2ef)];return _0x539394[_0x15f804(0x1e9)](this[_0x15f804(0x2d3)][_0x15f804(0x2f3)](this[_0x15f804(0x310)]['unitId']),this[_0x15f804(0x392)][_0x15f804(0x380)])[_0x15f804(0x367)](_0x388455['map'](([_0x10df18,_0x5688b5])=>{const _0x5c5cec=_0x15f804,_0x1de8a5=new Map();return _0x10df18[_0x5c5cec(0x231)]((_0x2a60b8,_0x51f2c3)=>{const _0x1c7ea5=_0x5c5cec;if(_0x2a60b8[_0x1c7ea5(0x186)]===_0x7b6f2){const _0x377ce8={..._0x2a60b8};_0x377ce8['color']=_0x5688b5[_0x2a60b8['color']],_0x1de8a5[_0x1c7ea5(0x25d)](_0x51f2c3,_0x377ce8);}}),{'skeleton':_0x2dd824,'cursors':_0x1de8a5};}));}return _0x539394['of']({'skeleton':null,'cursors':new Map()});}))[_0x40407b(0x2e4)](({skeleton:_0x2fb1c1,cursors:_0x4cfd75})=>{const _0x387355=_0x40407b;this[_0x387355(0x3be)](),_0x2fb1c1&&this[_0x387355(0x273)](_0x2fb1c1,_0x4cfd75);}),this[_0x40407b(0x3dc)]['currentSkeleton$'][_0x40407b(0x2e4)](_0x187782=>{const _0x3199d0=_0x40407b;if(_0x187782==null)return;const {skeleton:_0x5b9f24}=_0x187782,{scene:_0x2dd023}=this['_context'];_0x2dd023[_0x3199d0(0x278)]['subscribeEvent'](_0x2a9662[_0x3199d0(0x2db)](_0x284930=>{const _0x2af583=_0x3199d0;var _0x2e4134,_0x4a01e9;const {offsetX:_0x4ed235,offsetY:_0x635b64}=_0x284930,{x:_0x1fb7b2,y:_0x4816b0}=_0x2dd023[_0x2af583(0x2a9)](_0x53abef[_0x2af583(0x17a)][_0x2af583(0x1ed)]([_0x4ed235,_0x635b64])),{scaleX:_0x3e3b2b,scaleY:_0x2ca3ed}=_0x2dd023['getAncestorScale'](),_0x395c1d=_0x2dd023[_0x2af583(0x29e)](_0x53abef[_0x2af583(0x236)][_0x2af583(0x364)]),_0x393bb9=_0x2dd023[_0x2af583(0x225)](_0x53abef[_0x2af583(0x17a)][_0x2af583(0x1ed)]([_0x1fb7b2,_0x4816b0]),_0x395c1d),_0x2d7ab3=_0x5b9f24[_0x2af583(0x3a3)](_0x4ed235,_0x635b64,_0x3e3b2b,_0x2ca3ed,_0x393bb9);((_0x2e4134=this['_lastPointer'])==null?void 0x0:_0x2e4134[_0x2af583(0x36a)])===_0x2d7ab3[_0x2af583(0x36a)]&&((_0x4a01e9=this[_0x2af583(0x165)])==null?void 0x0:_0x4a01e9[_0x2af583(0x16f)])===_0x2d7ab3['row']||this[_0x2af583(0x337)][_0x2af583(0x231)](_0xe22beb=>{const _0x39a357=_0x2af583;_0xe22beb[_0x39a357(0x224)](_0x2d7ab3);});},0x64));});}[_0x22f257(0x273)](_0x37eaa2,_0x5f24ba){const _0x2b7b29=_0x22f257;var _0x7b0b62;const _0x5cff08=(_0x7b0b62=this[_0x2b7b29(0x3dc)]['getCurrent']())==null?void 0x0:_0x7b0b62[_0x2b7b29(0x2c6)];if(!_0x5cff08)return;const _0x3f8f4b=this[_0x2b7b29(0x37c)]();if(!_0x3f8f4b)return;this['_cursors'][_0x2b7b29(0x231)](_0x489a8d=>{const _0x35ebff=_0x2b7b29;_0x489a8d[_0x35ebff(0x1ac)]();});const {scene:_0x38da67}=_0x3f8f4b,_0x463c8f=_0x13bbd9(Array[_0x2b7b29(0x2f9)](_0x5f24ba[_0x2b7b29(0x1cd)]()))[_0x2b7b29(0x18e)](_0x303b4d=>{const _0x3e18d8=_0x2b7b29,{color:_0x83c22d,range:_0x3c4173,name:_0x1052a2,selection:_0x4387fb,sheetID:_0x38bbf0}=_0x303b4d,{startColumn:_0xdc357a,startRow:_0x2e3f4a,endColumn:_0x585d17,endRow:_0x588b87}=_0x3c4173,_0xeedc9b=_0x56a566[_0x3e18d8(0x368)](_0x2e3f4a,_0xdc357a,_0x38da67,_0x5cff08),_0x17f837=_0x56a566[_0x3e18d8(0x368)](_0x588b87,_0x585d17,_0x38da67,_0x5cff08),{columnHeaderHeightAndMarginTop:_0x590796}=_0x5cff08,{startX:_0x1b0ba6,startY:_0x3a2efb}=_0xeedc9b,{endX:_0x2ba0b4,endY:_0x4b65f8}=_0x17f837,_0x15eaa7=_0x2ba0b4-_0x1b0ba6,_0x18de43=_0x4b65f8-_0x3a2efb,_0x2072a1={'labelPosition':_0x3a2efb-_0x590796>=_0x8b5212?_0x3e18d8(0x386):_0x3e18d8(0x39a),'sheetID':_0x38bbf0,'range':_0x3c4173,'color':_0x83c22d,'name':_0x1052a2,'selection':_0x4387fb,'left':_0x1b0ba6,'top':_0x3a2efb,'width':_0x15eaa7,'height':_0x18de43,'evented':!0x1,'zIndex':_0xd714ea};return new _0x3a9bf4(_0x1052a2,_0x2072a1);});_0x38da67[_0x2b7b29(0x1e5)](_0x463c8f,_0x250fc4),this['_cursors']=new Set(_0x463c8f);}['_removeCollabCursors'](){const _0x497876=_0x22f257;var _0x3d1c38;(_0x3d1c38=this[_0x497876(0x337)])==null||_0x3d1c38[_0x497876(0x231)](_0x179998=>_0x179998[_0x497876(0x258)]());}[_0x22f257(0x37c)](){const _0x5820cc=_0x22f257;return _0x56a566[_0x5820cc(0x2cb)](this[_0x5820cc(0x310)]['unit'],this[_0x5820cc(0x310)]);}};_0x139261=_0x3a1ddf([_0x24e7f5(0x1,_0x2a9662['Inject'](_0x56a566['SheetSkeletonManagerService'])),_0x24e7f5(0x2,_0x2a9662['Inject'](_0x2dfea8)),_0x24e7f5(0x3,_0x2a9662[_0x22f257(0x166)](_0x2a9662[_0x22f257(0x18d)]))],_0x139261);function _0x13bbd9(_0x1312ec){const _0x53cf6a=_0x22f257,_0x2d9cea=new Map();return _0x1312ec[_0x53cf6a(0x231)](_0x1a4773=>{const _0x2e1697=_0x53cf6a;if(_0x2d9cea[_0x2e1697(0x1fb)](_0x1a4773['selection'])){const _0x33844a=_0x2d9cea[_0x2e1697(0x270)](_0x1a4773[_0x2e1697(0x361)]);_0x33844a['name']+=',\x20'+_0x1a4773[_0x2e1697(0x363)];}else _0x2d9cea['set'](_0x1a4773[_0x2e1697(0x361)],_0x1a4773);}),Array[_0x53cf6a(0x2f9)](_0x2d9cea['values']());}var _0x5e3f59=function(){const _0x22e1c3=_0x22f257;return _0x5e3f59=Object[_0x22e1c3(0x398)]||function(_0x4224df){const _0x8186b8=_0x22e1c3;for(var _0x4f936f,_0x4a0cc8=0x1,_0x578d5b=arguments[_0x8186b8(0x1b0)];_0x4a0cc8<_0x578d5b;_0x4a0cc8++){_0x4f936f=arguments[_0x4a0cc8];for(var _0x2ef008 in _0x4f936f)Object['prototype'][_0x8186b8(0x29d)][_0x8186b8(0x3ee)](_0x4f936f,_0x2ef008)&&(_0x4224df[_0x2ef008]=_0x4f936f[_0x2ef008]);}return _0x4224df;},_0x5e3f59[_0x22e1c3(0x1df)](this,arguments);},_0x5f4c2e=function(_0x590c78,_0x19ba85){const _0xf6a917=_0x22f257;var _0x1b9687={};for(var _0x5e7dd4 in _0x590c78)Object['prototype']['hasOwnProperty'][_0xf6a917(0x3ee)](_0x590c78,_0x5e7dd4)&&_0x19ba85['indexOf'](_0x5e7dd4)<0x0&&(_0x1b9687[_0x5e7dd4]=_0x590c78[_0x5e7dd4]);if(_0x590c78!=null&&typeof Object[_0xf6a917(0x355)]=='function'){for(var _0xcf0dc5=0x0,_0x5e7dd4=Object['getOwnPropertySymbols'](_0x590c78);_0xcf0dc5<_0x5e7dd4['length'];_0xcf0dc5++)_0x19ba85[_0xf6a917(0x396)](_0x5e7dd4[_0xcf0dc5])<0x0&&Object[_0xf6a917(0x315)][_0xf6a917(0x25b)][_0xf6a917(0x3ee)](_0x590c78,_0x5e7dd4[_0xcf0dc5])&&(_0x1b9687[_0x5e7dd4[_0xcf0dc5]]=_0x590c78[_0x5e7dd4[_0xcf0dc5]]);}return _0x1b9687;},_0x5380d8=_0x1309ea[_0x22f257(0x1d3)](function(_0x41403d,_0x4cdf3b){const _0xe6b477=_0x22f257;var _0x467f6c=_0x41403d['icon'],_0x354bec=_0x41403d['id'],_0x432d4f=_0x41403d[_0xe6b477(0x3c2)],_0x33ef53=_0x41403d[_0xe6b477(0x2a1)],_0xf07a22=_0x5f4c2e(_0x41403d,[_0xe6b477(0x3f4),'id',_0xe6b477(0x3c2),'extend']),_0x239102=_0xe6b477(0x2e2)[_0xe6b477(0x292)](_0x354bec,'\x20')[_0xe6b477(0x292)](_0x432d4f||'')['trim'](),_0x2df8a6=_0x1309ea[_0xe6b477(0x316)]('_'[_0xe6b477(0x292)](_0x58b7a2()));return _0xf1efa(_0x467f6c,''[_0xe6b477(0x292)](_0x354bec),{'defIds':_0x467f6c[_0xe6b477(0x39f)],'idSuffix':_0x2df8a6[_0xe6b477(0x2ca)]},_0x5e3f59({'ref':_0x4cdf3b,'className':_0x239102},_0xf07a22),_0x33ef53);});function _0xf1efa(_0xaa3260,_0x3e0458,_0x1f61d0,_0x4ca4d3,_0x238c93){const _0x2fd2c3=_0x22f257;return _0x1309ea[_0x2fd2c3(0x252)](_0xaa3260[_0x2fd2c3(0x2b3)],_0x5e3f59(_0x5e3f59({'key':_0x3e0458},_0x35acb6(_0xaa3260,_0x1f61d0,_0x238c93)),_0x4ca4d3),(_0x2f9070(_0xaa3260,_0x1f61d0)['children']||[])['map'](function(_0x2bc1b8,_0x13d13d){const _0x4420aa=_0x2fd2c3;return _0xf1efa(_0x2bc1b8,''[_0x4420aa(0x292)](_0x3e0458,'-')[_0x4420aa(0x292)](_0xaa3260[_0x4420aa(0x2b3)],'-')['concat'](_0x13d13d),_0x1f61d0,void 0x0,_0x238c93);}));}function _0x35acb6(_0x429291,_0x2fd676,_0x197b93){const _0x3d8e03=_0x22f257;var _0x217831=_0x5e3f59({},_0x429291[_0x3d8e03(0x2df)]);_0x197b93!=null&&_0x197b93['colorChannel1']&&_0x217831[_0x3d8e03(0x319)]===_0x3d8e03(0x196)&&(_0x217831[_0x3d8e03(0x319)]=_0x197b93[_0x3d8e03(0x196)]),_0x429291[_0x3d8e03(0x2b3)]==='mask'&&_0x217831['id']&&(_0x217831['id']=_0x217831['id']+_0x2fd676[_0x3d8e03(0x377)]),Object['entries'](_0x217831)[_0x3d8e03(0x231)](function(_0x35fdbc){const _0x300c36=_0x3d8e03;var _0x592b3e=_0x35fdbc[0x0],_0x2bd62d=_0x35fdbc[0x1];_0x592b3e===_0x300c36(0x1a8)&&typeof _0x2bd62d=='string'&&(_0x217831[_0x592b3e]=_0x2bd62d[_0x300c36(0x176)](/url\(#(.*)\)/,_0x300c36(0x348)[_0x300c36(0x292)](_0x2fd676[_0x300c36(0x377)],')')));});var _0x1e41b5=_0x2fd676[_0x3d8e03(0x39f)];return!_0x1e41b5||_0x1e41b5[_0x3d8e03(0x1b0)]===0x0||(_0x429291['tag']==='use'&&_0x217831[_0x3d8e03(0x342)]&&(_0x217831[_0x3d8e03(0x342)]=_0x217831[_0x3d8e03(0x342)]+_0x2fd676[_0x3d8e03(0x377)]),Object[_0x3d8e03(0x37e)](_0x217831)[_0x3d8e03(0x231)](function(_0x1f1460){const _0x484136=_0x3d8e03;var _0x4b63c2=_0x1f1460[0x0],_0x498c46=_0x1f1460[0x1];typeof _0x498c46==_0x484136(0x1b2)&&(_0x217831[_0x4b63c2]=_0x498c46['replace'](/url\(#(.*)\)/,'url(#$1'[_0x484136(0x292)](_0x2fd676[_0x484136(0x377)],')')));})),_0x217831;}function _0x2f9070(_0x1f6d01,_0x3ddec){const _0x10b62f=_0x22f257;var _0x42ac9b,_0x44e1d4=_0x3ddec['defIds'];return!_0x44e1d4||_0x44e1d4[_0x10b62f(0x1b0)]===0x0?_0x1f6d01:_0x1f6d01[_0x10b62f(0x2b3)]===_0x10b62f(0x281)&&(!((_0x42ac9b=_0x1f6d01['children'])===null||_0x42ac9b===void 0x0)&&_0x42ac9b[_0x10b62f(0x1b0)])?_0x5e3f59(_0x5e3f59({},_0x1f6d01),{'children':_0x1f6d01[_0x10b62f(0x200)][_0x10b62f(0x18e)](function(_0x28bedd){const _0x24cfba=_0x10b62f;return typeof _0x28bedd[_0x24cfba(0x2df)]['id']==_0x24cfba(0x1b2)&&_0x44e1d4&&_0x44e1d4['indexOf'](_0x28bedd[_0x24cfba(0x2df)]['id'])>-0x1?_0x5e3f59(_0x5e3f59({},_0x28bedd),{'attrs':_0x5e3f59(_0x5e3f59({},_0x28bedd[_0x24cfba(0x2df)]),{'id':_0x28bedd[_0x24cfba(0x2df)]['id']+_0x3ddec[_0x24cfba(0x377)]})}):_0x28bedd;})}):_0x1f6d01;}function _0x58b7a2(){const _0x1c5243=_0x22f257;return Math[_0x1c5243(0x399)]()[_0x1c5243(0x304)](0x24)[_0x1c5243(0x1b4)](0x2,0x8);}_0x5380d8['displayName']=_0x22f257(0x2b1);var _0x35b5c3={'tag':'svg','attrs':{'fill':_0x22f257(0x19a),'viewBox':_0x22f257(0x1c5),'width':_0x22f257(0x28a),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x22f257(0x384)},'children':[{'tag':_0x22f257(0x305),'attrs':{'stroke':_0x22f257(0x2b7),'d':_0x22f257(0x298),'strokeLinecap':_0x22f257(0x2c9),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x22f257(0x1ce),'attrs':{'id':_0x22f257(0x2af)},'children':[{'tag':_0x22f257(0x305),'attrs':{'fill':_0x22f257(0x30f),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x34c8ce=_0x1309ea[_0x22f257(0x1d3)](function(_0x193c36,_0x2374c5){const _0x3195dc=_0x22f257;return _0x1309ea[_0x3195dc(0x252)](_0x5380d8,Object[_0x3195dc(0x398)]({},_0x193c36,{'id':_0x3195dc(0x37b),'ref':_0x2374c5,'icon':_0x35b5c3}));});_0x34c8ce['displayName']=_0x22f257(0x2e7);var _0x3dc25c={'tag':_0x22f257(0x213),'attrs':{'fill':_0x22f257(0x19a),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x22f257(0x28a)},'children':[{'tag':'g','attrs':{'clipPath':_0x22f257(0x247)},'children':[{'tag':_0x22f257(0x305),'attrs':{'stroke':_0x22f257(0x2b7),'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':_0x22f257(0x2c9),'strokeLinejoin':_0x22f257(0x2c9),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x22f257(0x305),'attrs':{'fill':_0x22f257(0x30f),'d':_0x22f257(0x1f4),'transform':_0x22f257(0x2f6)}}]}]}],'defIds':[_0x22f257(0x2a6)]},_0x4e3bb8=_0x1309ea[_0x22f257(0x1d3)](function(_0x2e2c24,_0x330307){const _0xff900b=_0x22f257;return _0x1309ea[_0xff900b(0x252)](_0x5380d8,Object['assign']({},_0x2e2c24,{'id':_0xff900b(0x27c),'ref':_0x330307,'icon':_0x3dc25c}));});_0x4e3bb8[_0x22f257(0x1f5)]=_0x22f257(0x335);const _0x2083c4={'onlineStatusIcon':_0x22f257(0x19d),'onlineStatusTitle':_0x22f257(0x3f1),'onlineStatus':_0x22f257(0x366),'online':'univer-online','offline':_0x22f257(0x2bb)};function _0x1833bb(_0x4fc45d){const _0x129619=_0x22f257;switch(_0x4fc45d){case _0x5b04f9[_0x129619(0x39b)][_0x129619(0x356)]:return _0x129619(0x16c);case _0x5b04f9[_0x129619(0x39b)][_0x129619(0x1dc)]:return'collabStatus.conflict';case _0x5b04f9[_0x129619(0x39b)][_0x129619(0x374)]:return _0x129619(0x2f7);case _0x5b04f9[_0x129619(0x39b)][_0x129619(0x1be)]:return _0x129619(0x2c7);case _0x5b04f9[_0x129619(0x39b)]['AWAITING']:case _0x5b04f9[_0x129619(0x39b)][_0x129619(0x2a3)]:return'collabStatus.syncing';case _0x5b04f9[_0x129619(0x39b)][_0x129619(0x1b1)]:case _0x5b04f9[_0x129619(0x39b)]['PENDING']:return'collabStatus.synced';}}function _0x4dd7b0(_0x312747){const _0xd262c7=_0x22f257,{status$:_0x1feb36}=_0x312747,_0x4afcc3=_0x31156b['useObservable'](_0x1feb36,_0x5b04f9['CollaborationStatus'][_0xd262c7(0x1be)]),_0x553040=_0x31156b['useDependency'](_0x2a9662['LocaleService']),_0x2510d6=_0x31156b[_0xd262c7(0x1aa)](_0x5b04f9['CollaborationSessionService']),_0xd643fc=_0x4afcc3!==_0x5b04f9[_0xd262c7(0x39b)][_0xd262c7(0x356)],_0x190913=_0x553040['t'](_0x1833bb(_0x4afcc3)),_0x4d96ce=_0x2b73f1[_0xd262c7(0x1fe)](_0x2083c4[_0xd262c7(0x351)],{[_0x2083c4[_0xd262c7(0x255)]]:_0xd643fc,[_0x2083c4[_0xd262c7(0x35a)]]:!_0xd643fc}),_0x23372f=_0xd643fc?_0x532104[_0xd262c7(0x243)](_0x4e3bb8,{}):_0x532104[_0xd262c7(0x243)](_0x34c8ce,{}),_0x3d6870=_0x1309ea['useCallback'](()=>{const _0x12dc09=_0xd262c7;_0xd643fc||_0x2510d6[_0x12dc09(0x227)]();},[_0xd643fc,_0x2510d6]);function _0x7ac01e(){const _0x2933cf=_0xd262c7;return _0x532104['jsxs'](_0x2933cf(0x2cd),{'className':_0x2b73f1[_0x2933cf(0x1fe)](_0x4d96ce,_0x2933cf(0x383)),'onClick':_0x3d6870,'children':[_0x532104[_0x2933cf(0x243)](_0x2933cf(0x2cd),{'className':_0x2083c4['onlineStatusIcon'],'children':_0x23372f}),_0x532104[_0x2933cf(0x243)](_0x2933cf(0x2cd),{'className':_0x2083c4[_0x2933cf(0x3c6)],'children':_0x190913})]});}return _0xd643fc?_0x7ac01e():_0x532104[_0xd262c7(0x243)](_0x2b73f1['Tooltip'],{'title':_0x553040['t'](_0xd262c7(0x3ae)),'children':_0x7ac01e()});}var _0x1b7f64=Object[_0x22f257(0x2ce)],_0x4d8c94=(_0x275d6d,_0x5dfaa3,_0x4b2c65,_0x121032)=>{for(var _0x259786=_0x121032>0x1?void 0x0:_0x121032?_0x1b7f64(_0x5dfaa3,_0x4b2c65):_0x5dfaa3,_0x38f024=_0x275d6d['length']-0x1,_0xe6ee79;_0x38f024>=0x0;_0x38f024--)(_0xe6ee79=_0x275d6d[_0x38f024])&&(_0x259786=_0xe6ee79(_0x259786)||_0x259786);return _0x259786;},_0x1993cb=(_0x4a6972,_0x188d8c)=>(_0x40a7b3,_0x1b305f)=>_0x188d8c(_0x40a7b3,_0x1b305f,_0x4a6972);_0x193121[_0x22f257(0x234)]=class extends _0x2a9662[_0x22f257(0x27b)]{constructor(_0x35fdb5,_0x437279,_0x8db0e7,_0x51a282){const _0x3f75e0=_0x22f257;super(),_0x30b7bc(this,'_status$',new _0x539394[(_0x3f75e0(0x1ca))](_0x5b04f9['CollaborationStatus'][_0x3f75e0(0x1be)])),(this[_0x3f75e0(0x1ae)]=_0x35fdb5,this[_0x3f75e0(0x276)]=_0x437279,this['_collaborationController']=_0x8db0e7,this[_0x3f75e0(0x241)]=_0x51a282,this[_0x3f75e0(0x2e0)](),this[_0x3f75e0(0x175)]());}[_0x22f257(0x175)](){const _0x19fc5f=_0x22f257;this['disposeWithMe'](this[_0x19fc5f(0x1ae)][_0x19fc5f(0x37f)]['pipe'](_0x539394['switchMap'](()=>{const _0x1ad7b8=_0x19fc5f,_0x23cb2f=this[_0x1ad7b8(0x1ae)][_0x1ad7b8(0x299)]();return _0x23cb2f?this[_0x1ad7b8(0x214)][_0x1ad7b8(0x191)](_0x23cb2f['getUnitId']()):_0x539394['of'](null);}),_0x539394[_0x19fc5f(0x3eb)](_0xc6ad0c=>_0xc6ad0c?_0xc6ad0c[_0x19fc5f(0x172)]:_0x539394['of'](_0x5b04f9[_0x19fc5f(0x39b)][_0x19fc5f(0x1be)])))[_0x19fc5f(0x2e4)](_0x1a792e=>{const _0x1eef54=_0x19fc5f;this[_0x1eef54(0x289)]['next'](_0x1a792e);}));}[_0x22f257(0x2e0)](){const _0x278685=_0x22f257;this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x31156b['BuiltInUIPart']['HEADER_MENU'],()=>_0x31156b[_0x278685(0x1ef)](_0x5d2ec7({'status$':this[_0x278685(0x289)][_0x278685(0x1b6)]()}),this[_0x278685(0x276)])));}},_0x193121[_0x22f257(0x234)]=_0x4d8c94([_0x1993cb(0x0,_0x2a9662['IUniverInstanceService']),_0x1993cb(0x1,_0x2a9662['Inject'](_0x2a9662[_0x22f257(0x282)])),_0x1993cb(0x2,_0x2a9662[_0x22f257(0x166)](_0x5b04f9[_0x22f257(0x20b)])),_0x1993cb(0x3,_0x31156b[_0x22f257(0x3c1)])],_0x193121[_0x22f257(0x234)]);function _0x5d2ec7(_0xbd9b71){const {status$:_0x4659c5}=_0xbd9b71;return function(){const _0x1d47a1=_0x574a;return _0x532104[_0x1d47a1(0x243)](_0x4dd7b0,{'status$':_0x4659c5});};}var _0x5b6966=Object[_0x22f257(0x2ce)],_0x3ad3bd=(_0x4ac238,_0x4dc387,_0x2762d2,_0x48a2fb)=>{for(var _0x418c30=_0x48a2fb>0x1?void 0x0:_0x48a2fb?_0x5b6966(_0x4dc387,_0x2762d2):_0x4dc387,_0x5c15a8=_0x4ac238['length']-0x1,_0x4282c7;_0x5c15a8>=0x0;_0x5c15a8--)(_0x4282c7=_0x4ac238[_0x5c15a8])&&(_0x418c30=_0x4282c7(_0x418c30)||_0x418c30);return _0x418c30;},_0x9854f9=(_0x23bc94,_0x591035)=>(_0x1e1e59,_0x323ed2)=>_0x591035(_0x1e1e59,_0x323ed2,_0x23bc94);let _0x4f47f0=class extends _0x2a9662[_0x22f257(0x27b)]{constructor(_0x1474ad,_0x4c3c74,_0x44c4d6,_0x436cf3,_0x3635b6,_0x5d83c5){const _0x260d2c=_0x22f257;super(),this[_0x260d2c(0x28f)]=_0x1474ad,this[_0x260d2c(0x194)]=_0x4c3c74,this[_0x260d2c(0x177)]=_0x44c4d6,this[_0x260d2c(0x187)]=_0x436cf3,this[_0x260d2c(0x3ea)]=_0x3635b6,this[_0x260d2c(0x245)]=_0x5d83c5,this[_0x260d2c(0x1e7)](),this[_0x260d2c(0x357)]();}['_setupBeforeClosingHandler'](){const _0x4601dd=_0x22f257;this[_0x4601dd(0x2f4)](this[_0x4601dd(0x28f)][_0x4601dd(0x188)](()=>{const _0x230123=_0x4601dd;if(this[_0x230123(0x194)]['saveTaskMap'][_0x230123(0x27d)])return this[_0x230123(0x245)]['t'](_0x230123(0x2d9));}));}[_0x22f257(0x357)](){const _0x21a303=_0x22f257;this[_0x21a303(0x2f4)](this[_0x21a303(0x177)][_0x21a303(0x248)][_0x21a303(0x2e4)](_0x14a4ba=>{const _0x526dff=_0x21a303;_0x14a4ba['id']===_0x5b04f9['CollaborationUIEventId'][_0x526dff(0x38e)]&&this[_0x526dff(0x187)][_0x526dff(0x3a7)]({'type':_0x2b73f1[_0x526dff(0x2c4)][_0x526dff(0x3df)],'content':this[_0x526dff(0x245)]['t'](_0x526dff(0x297))}),_0x14a4ba['id']===_0x5b04f9[_0x526dff(0x3a5)]['CLOSE_ROOM']&&this['_messageService']['show']({'type':_0x2b73f1[_0x526dff(0x2c4)][_0x526dff(0x3df)],'content':this[_0x526dff(0x245)]['t'](_0x526dff(0x1af))}),_0x14a4ba['id']===_0x5b04f9[_0x526dff(0x3a5)][_0x526dff(0x26e)]&&this['_notificationService'][_0x526dff(0x3a7)]({'title':this[_0x526dff(0x245)]['t'](_0x526dff(0x26c)),'content':this['_localeService']['t']('permission.content'),'type':_0x526dff(0x37a),'duration':0x0}),_0x14a4ba['id']===_0x5b04f9[_0x526dff(0x3a5)]['CONFLICT']&&this[_0x526dff(0x187)][_0x526dff(0x3a7)]({'type':_0x2b73f1[_0x526dff(0x2c4)]['Error'],'content':this[_0x526dff(0x245)]['t'](_0x526dff(0x1af))+'('+_0x14a4ba[_0x526dff(0x36d)]+')'}),_0x14a4ba['id']===_0x5b04f9[_0x526dff(0x3a5)][_0x526dff(0x379)]&&this['_messageService']['show']({'type':_0x2b73f1['MessageType'][_0x526dff(0x3df)],'content':this[_0x526dff(0x245)]['t'](_0x14a4ba[_0x526dff(0x36d)]||'')}),_0x14a4ba['id']===_0x5b04f9[_0x526dff(0x3a5)][_0x526dff(0x3ce)]&&this[_0x526dff(0x187)][_0x526dff(0x3a7)]({'type':_0x2b73f1[_0x526dff(0x2c4)][_0x526dff(0x3df)],'content':this[_0x526dff(0x245)]['t'](_0x526dff(0x3bc))}),_0x14a4ba['id']===_0x5b04f9[_0x526dff(0x3a5)][_0x526dff(0x3b4)]&&this[_0x526dff(0x187)][_0x526dff(0x3a7)]({'type':_0x2b73f1[_0x526dff(0x2c4)][_0x526dff(0x394)],'content':this[_0x526dff(0x245)]['t'](_0x526dff(0x265))}),_0x14a4ba['id']===_0x5b04f9['CollaborationUIEventId'][_0x526dff(0x17f)]&&this[_0x526dff(0x187)]['show']({'type':_0x2b73f1[_0x526dff(0x2c4)][_0x526dff(0x394)],'content':this[_0x526dff(0x245)]['t']('session.collaboration-timeout')});}));}};_0x4f47f0=_0x3ad3bd([_0x9854f9(0x0,_0x31156b[_0x22f257(0x311)]),_0x9854f9(0x1,_0x5b04f9['ILocalCacheService']),_0x9854f9(0x2,_0x2a9662[_0x22f257(0x166)](_0x5b04f9['CollaborationUIEventService'])),_0x9854f9(0x3,_0x31156b[_0x22f257(0x21b)]),_0x9854f9(0x4,_0x31156b[_0x22f257(0x32e)]),_0x9854f9(0x5,_0x2a9662['Inject'](_0x2a9662[_0x22f257(0x30d)]))],_0x4f47f0);const _0x3dee98='collaboration-client-ui.config',_0x1b9837={},_0x41d97e=_0x2a9662[_0x22f257(0x3cb)](_0x22f257(0x1d8));var _0x7af701=Object[_0x22f257(0x2ce)],_0x530ce2=(_0x3fc649,_0x1db8c6,_0x1d9c7a,_0x56c3cd)=>{const _0x5bbaed=_0x22f257;for(var _0x2ec0b8=_0x56c3cd>0x1?void 0x0:_0x56c3cd?_0x7af701(_0x1db8c6,_0x1d9c7a):_0x1db8c6,_0xece662=_0x3fc649[_0x5bbaed(0x1b0)]-0x1,_0x92caf3;_0xece662>=0x0;_0xece662--)(_0x92caf3=_0x3fc649[_0xece662])&&(_0x2ec0b8=_0x92caf3(_0x2ec0b8)||_0x2ec0b8);return _0x2ec0b8;},_0x1055b0=(_0x3ee082,_0x3e1148)=>(_0x5f2e46,_0xc10eb5)=>_0x3e1148(_0x5f2e46,_0xc10eb5,_0x3ee082);_0x193121[_0x22f257(0x354)]=class extends _0x2a9662[_0x22f257(0x32b)]{constructor(_0x4677bc,_0x20b351,_0x5c85e2,_0x2638ca,_0x580651){const _0x17be82=_0x22f257;super(),this['_urlService']=_0x4677bc,this[_0x17be82(0x20e)]=_0x20b351,this['_commandService']=_0x5c85e2,this[_0x17be82(0x2a5)]=_0x2638ca,_0x580651?_0x580651==null||_0x580651['whenReady']()['then'](()=>this['_init']()):(this[_0x17be82(0x20e)][_0x17be82(0x34c)](_0x17be82(0x216),_0x17be82(0x2b6)),this[_0x17be82(0x35b)]());}async['_init'](){const _0x1cdd4d=_0x22f257,_0x3e5b6a=this[_0x1cdd4d(0x2e6)][_0x1cdd4d(0x29c)](_0x1cdd4d(0x330)),_0x2a164c=this[_0x1cdd4d(0x2e6)][_0x1cdd4d(0x29c)]('type'),_0x3b7a14=this[_0x1cdd4d(0x2e6)][_0x1cdd4d(0x29c)]('subunit');if(!_0x3e5b6a||!_0x2a164c){this[_0x1cdd4d(0x20e)]['debug'](_0x1cdd4d(0x216),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x30abf1=await this[_0x1cdd4d(0x2a5)][_0x1cdd4d(0x199)](_0x3e5b6a,Number(_0x2a164c),_0x3b7a14);_0x30abf1&&_0x30abf1 instanceof _0x2a9662[_0x1cdd4d(0x365)]&&this[_0x1cdd4d(0x322)](_0x30abf1);}async[_0x22f257(0x322)](_0x1c6aaf){const _0x263ba3=_0x22f257;await this[_0x263ba3(0x1d6)](_0x1c6aaf),_0x1c6aaf[_0x263ba3(0x201)]['pipe'](_0x539394[_0x263ba3(0x223)](this[_0x263ba3(0x2e5)]))[_0x263ba3(0x2e4)](_0x556f0b=>{const _0xd3342a=_0x263ba3;_0x556f0b&&this[_0xd3342a(0x294)](_0x556f0b);}),this[_0x263ba3(0x2e6)][_0x263ba3(0x3dd)][_0x263ba3(0x367)](_0x539394[_0x263ba3(0x223)](this[_0x263ba3(0x2e5)]))[_0x263ba3(0x2e4)](()=>this[_0x263ba3(0x1d6)](_0x1c6aaf));}[_0x22f257(0x294)](_0x261445,_0xdb162d=!0x1){const _0x53b96c=_0x22f257,_0x2944a6=this[_0x53b96c(0x2e6)]['getParam'](_0x53b96c(0x237));_0x261445['getSheetId']()!==_0x2944a6&&this['_urlService'][_0x53b96c(0x233)]('subunit',_0x261445[_0x53b96c(0x1d2)](),_0xdb162d);}async[_0x22f257(0x1d6)](_0x276c61){const _0x598a5a=_0x22f257;var _0x5a98bd;const _0xa7d42f=this[_0x598a5a(0x2e6)][_0x598a5a(0x29c)](_0x598a5a(0x237));if(!_0xa7d42f||!_0x276c61['getSheetBySheetId'](_0xa7d42f)){const _0x37b42b=_0x276c61['getUnhiddenWorksheets']()[0x0],_0x394fc4=_0x276c61[_0x598a5a(0x18b)](_0x37b42b);if(!_0x394fc4)return;this[_0x598a5a(0x294)](_0x394fc4,!0x0),await this['_commandService'][_0x598a5a(0x2d8)](_0x10d874[_0x598a5a(0x1ec)]['id'],{'unitId':_0x276c61[_0x598a5a(0x3ef)](),'subUnitId':_0x37b42b});return;}((_0x5a98bd=_0x276c61[_0x598a5a(0x23a)]())==null?void 0x0:_0x5a98bd[_0x598a5a(0x1d2)]())!==_0xa7d42f&&await this[_0x598a5a(0x3e8)][_0x598a5a(0x2d8)](_0x10d874['SetWorksheetActivateCommand']['id'],{'unitId':_0x276c61['getUnitId'](),'subUnitId':_0xa7d42f});}},_0x193121['CollaborationDataLoaderController']=_0x530ce2([_0x1055b0(0x0,_0x41d97e),_0x1055b0(0x1,_0x2a9662[_0x22f257(0x306)]),_0x1055b0(0x2,_0x2a9662[_0x22f257(0x22e)]),_0x1055b0(0x3,_0x2a9662[_0x22f257(0x166)](_0x5b04f9[_0x22f257(0x1c6)])),_0x1055b0(0x4,_0x2a9662[_0x22f257(0x1b3)](_0x5100b8[_0x22f257(0x2ee)]))],_0x193121[_0x22f257(0x354)]);var _0x44fe18=Object[_0x22f257(0x2ce)],_0x201b3c=(_0x179051,_0x34e7b2,_0x1541af,_0x378020)=>{for(var _0xf1ca4c=_0x378020>0x1?void 0x0:_0x378020?_0x44fe18(_0x34e7b2,_0x1541af):_0x34e7b2,_0x558c67=_0x179051['length']-0x1,_0x46efd5;_0x558c67>=0x0;_0x558c67--)(_0x46efd5=_0x179051[_0x558c67])&&(_0xf1ca4c=_0x46efd5(_0xf1ca4c)||_0xf1ca4c);return _0xf1ca4c;},_0x3d02f6=(_0x4dbd77,_0x2d99ab)=>(_0x1390f6,_0x450ac2)=>_0x2d99ab(_0x1390f6,_0x450ac2,_0x4dbd77);let _0x1659e9=class{constructor(_0x1a8cc8,_0x230e5a,_0x295f95){const _0x2fc274=_0x22f257;this[_0x2fc274(0x276)]=_0x1a8cc8,this[_0x2fc274(0x3bb)]=_0x230e5a,this[_0x2fc274(0x287)]=_0x295f95;}[_0x22f257(0x1eb)](_0x76e6d1){const _0x153c9b=_0x22f257;this[_0x153c9b(0x2c3)](_0x76e6d1),this['_transformPreviousActiveRange'](_0x76e6d1);}[_0x22f257(0x1e1)](_0x443b9b){const _0x30a051=_0x22f257,{unitID:_0x3cb1dc}=_0x443b9b,_0x20e4e9=this[_0x30a051(0x287)][_0x30a051(0x253)](_0x3cb1dc)[_0x30a051(0x238)](_0xccddd6[_0x30a051(0x3a2)]),{redoCache:_0x1cbd97}=_0x20e4e9[_0x30a051(0x17e)]();if(_0x1cbd97[_0x30a051(0x1b0)]===0x0)return _0x443b9b;let _0x1f99f9=_0x2a9662[_0x30a051(0x17c)][_0x30a051(0x263)](_0x443b9b['mutations'][0x0]);for(let _0x74875a=0x0;_0x74875a<_0x1cbd97[_0x30a051(0x1b0)];_0x74875a++){const _0x1188ae={'id':_0x30a051(0x2fc),'params':{..._0x1cbd97[_0x74875a]}},_0x945e3c=this[_0x30a051(0x3bb)][_0x30a051(0x397)](_0x1f99f9,_0x1188ae,!0x1);if(_0x119f28['isTransformMutationFailure'](_0x945e3c))throw _0x945e3c['error'];_0x1f99f9=_0x945e3c[_0x30a051(0x27a)];}return{..._0x2a9662[_0x30a051(0x17c)][_0x30a051(0x263)](_0x443b9b),'mutations':[_0x1f99f9]};}[_0x22f257(0x2c3)](_0xfe0e87){const _0x233611=_0x22f257,{unitID:_0x21e3f9}=_0xfe0e87,_0x3a69d2=this[_0x233611(0x287)]['getRenderById'](_0x21e3f9)[_0x233611(0x238)](_0xccddd6[_0x233611(0x3a2)]),{undoCache:_0x445573,redoCache:_0x15b21f}=_0x3a69d2[_0x233611(0x17e)]();if(_0x445573[_0x233611(0x1b0)]===0x0||_0x15b21f['length']===0x0)return;const _0x941958=[],_0x5693b9=[];let _0x4d8db6=_0x2a9662[_0x233611(0x17c)]['deepClone'](_0xfe0e87[_0x233611(0x1a4)][0x0]),_0x2859e2=_0x2a9662['Tools'][_0x233611(0x263)](_0xfe0e87[_0x233611(0x1a4)][0x0]);for(let _0x45282c=_0x445573['length']-0x1;_0x45282c>=0x0;_0x45282c--){const _0x25c594={'id':_0x233611(0x2fc),'params':{..._0x445573[_0x45282c]}},_0x8cd8b={'id':'doc.mutation.rich-text-editing','params':{..._0x15b21f[_0x45282c]}},_0x549745=this[_0x233611(0x3bb)][_0x233611(0x397)](_0x4d8db6,_0x25c594,!0x1),_0x23f907=this[_0x233611(0x3bb)][_0x233611(0x397)](_0x2859e2,_0x8cd8b,!0x1);if(_0x119f28['isTransformMutationFailure'](_0x549745))throw _0x549745['error'];if(_0x119f28[_0x233611(0x1a6)](_0x23f907))throw _0x23f907['error'];_0x941958[_0x233611(0x360)](_0x549745[_0x233611(0x1f6)][_0x233611(0x28b)]),_0x5693b9[_0x233611(0x360)](_0x23f907[_0x233611(0x1f6)][_0x233611(0x28b)]),_0x4d8db6=_0x549745[_0x233611(0x27a)],_0x2859e2=_0x23f907['m1Prime'];}_0x3a69d2[_0x233611(0x2b4)]({'undoCache':_0x941958,'redoCache':_0x5693b9});}['_transformPreviousActiveRange'](_0x2ec193){const _0x17d04d=_0x22f257,{unitID:_0x543f0d}=_0x2ec193,_0x32af75=this['_renderManagerService'][_0x17d04d(0x253)](_0x543f0d)[_0x17d04d(0x238)](_0xccddd6[_0x17d04d(0x3a2)]),_0x52bf29=_0x32af75['getActiveRange']();if(_0x52bf29==null)return;const _0x4b21e4=[{'id':_0x17d04d(0x2fc),'params':{'unitId':_0x2ec193[_0x17d04d(0x323)],'actions':null,'textRanges':[_0x52bf29]}}],_0x4ce490=this['_transformService']['transformMutationsWithChangeset'](_0x2ec193,_0x4b21e4);if(!_0x119f28[_0x17d04d(0x3bf)](_0x4ce490))throw _0x4ce490['error'];const _0x477433=_0x4ce490[_0x17d04d(0x1f6)][0x0]['params']['textRanges'];Array[_0x17d04d(0x3ec)](_0x477433)&&_0x477433[_0x17d04d(0x1b0)]&&_0x32af75[_0x17d04d(0x170)](_0x477433[0x0]);}};_0x1659e9=_0x201b3c([_0x3d02f6(0x0,_0x2a9662[_0x22f257(0x166)](_0x2a9662[_0x22f257(0x282)])),_0x3d02f6(0x1,_0x119f28[_0x22f257(0x36c)]),_0x3d02f6(0x2,_0x53abef['IRenderManagerService'])],_0x1659e9);var _0x3da4c3=Object[_0x22f257(0x2ce)],_0x43a31d=(_0x42c1ba,_0x4f1ce0,_0x29a90c,_0x4a3564)=>{const _0x63c082=_0x22f257;for(var _0x290800=_0x4a3564>0x1?void 0x0:_0x4a3564?_0x3da4c3(_0x4f1ce0,_0x29a90c):_0x4f1ce0,_0xcedd7d=_0x42c1ba[_0x63c082(0x1b0)]-0x1,_0x2db91a;_0xcedd7d>=0x0;_0xcedd7d--)(_0x2db91a=_0x42c1ba[_0xcedd7d])&&(_0x290800=_0x2db91a(_0x290800)||_0x290800);return _0x290800;},_0x4e731e=(_0x51c94d,_0x1b22a6)=>(_0x106416,_0x2fd94d)=>_0x1b22a6(_0x106416,_0x2fd94d,_0x51c94d);let _0x4e7219=class{constructor(_0x573a1f,_0x470215,_0x231de4){const _0x48e373=_0x22f257;this[_0x48e373(0x276)]=_0x573a1f,this[_0x48e373(0x3bb)]=_0x470215,this['_docStateChangeManagerService']=_0x231de4;}[_0x22f257(0x2aa)](_0x557a1d){this['_transformHistoryAndStateStack'](_0x557a1d);}[_0x22f257(0x1e1)](_0x10fd86){const _0x4698fb=_0x22f257,{unitID:_0x3ce045}=_0x10fd86,{collaboration:_0x4e4084}=this[_0x4698fb(0x2a7)]['getStateCache'](_0x3ce045);if(_0x4e4084[_0x4698fb(0x1b0)]===0x0)return _0x10fd86;let _0x15755d=_0x2a9662[_0x4698fb(0x17c)][_0x4698fb(0x263)](_0x10fd86[_0x4698fb(0x1a4)][0x0]);for(let _0x22dd2f=0x0;_0x22dd2f<_0x4e4084[_0x4698fb(0x1b0)];_0x22dd2f++){const _0xaa28fa={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4e4084[_0x22dd2f][_0x4698fb(0x378)],..._0x4e4084[_0x22dd2f][_0x4698fb(0x3ca)]}},_0x40abe2=this[_0x4698fb(0x3bb)]['transformMutation'](_0x15755d,_0xaa28fa,!0x1);if(_0x119f28[_0x4698fb(0x1a6)](_0x40abe2))throw _0x40abe2[_0x4698fb(0x37a)];_0x15755d=_0x40abe2[_0x4698fb(0x27a)];}return{..._0x2a9662[_0x4698fb(0x17c)][_0x4698fb(0x263)](_0x10fd86),'mutations':[_0x15755d]};}[_0x22f257(0x2ab)](_0x49759a){const _0x210b29=_0x22f257,{unitID:_0x41a8b2}=_0x49759a,{history:_0x4cff01,collaboration:_0x1a9a6a}=this[_0x210b29(0x2a7)][_0x210b29(0x1f2)](_0x41a8b2);if(_0x4cff01[_0x210b29(0x1b0)]===0x0&&_0x1a9a6a[_0x210b29(0x1b0)]===0x0)return;const _0x5179b6=[],_0xef262d=[];let _0x2e3084=_0x2a9662[_0x210b29(0x17c)][_0x210b29(0x263)](_0x49759a[_0x210b29(0x1a4)][0x0]),_0x2fc4a4=_0x2a9662[_0x210b29(0x17c)][_0x210b29(0x263)](_0x49759a['mutations'][0x0]);for(let _0x1f48d5=_0x4cff01[_0x210b29(0x1b0)]-0x1;_0x1f48d5>=0x0;_0x1f48d5--){const _0x14e450={'id':_0x210b29(0x2fc),'params':{'unitId':_0x4cff01[_0x1f48d5][_0x210b29(0x378)],..._0x4cff01[_0x1f48d5][_0x210b29(0x32c)]}},_0x161132={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4cff01[_0x1f48d5][_0x210b29(0x378)],..._0x4cff01[_0x1f48d5]['redoState']}},_0x219996=this[_0x210b29(0x3bb)][_0x210b29(0x397)](_0x2e3084,_0x14e450,!0x1),_0x4cba41=this[_0x210b29(0x3bb)][_0x210b29(0x397)](_0x2fc4a4,_0x161132,!0x1);if(_0x119f28[_0x210b29(0x1a6)](_0x219996))throw _0x219996[_0x210b29(0x37a)];if(_0x119f28[_0x210b29(0x1a6)](_0x4cba41))throw _0x4cba41[_0x210b29(0x37a)];_0x5179b6[_0x210b29(0x360)]({..._0x4cff01[_0x1f48d5],'undoState':_0x219996[_0x210b29(0x1f6)][_0x210b29(0x28b)],'redoState':_0x4cba41[_0x210b29(0x1f6)][_0x210b29(0x28b)]}),_0x2e3084=_0x219996['m1Prime'],_0x2fc4a4=_0x4cba41[_0x210b29(0x27a)];}_0x2e3084=_0x2a9662[_0x210b29(0x17c)][_0x210b29(0x263)](_0x49759a[_0x210b29(0x1a4)][0x0]),_0x2fc4a4=_0x2a9662[_0x210b29(0x17c)]['deepClone'](_0x49759a['mutations'][0x0]);for(let _0x575c31=_0x1a9a6a[_0x210b29(0x1b0)]-0x1;_0x575c31>=0x0;_0x575c31--){const _0xbbae54={'id':_0x210b29(0x2fc),'params':{'unitId':_0x1a9a6a[_0x575c31][_0x210b29(0x378)],..._0x1a9a6a[_0x575c31][_0x210b29(0x32c)]}},_0x36feaa={'id':_0x210b29(0x2fc),'params':{'unitId':_0x1a9a6a[_0x575c31][_0x210b29(0x378)],..._0x1a9a6a[_0x575c31][_0x210b29(0x3ca)]}},_0x256bfc=this[_0x210b29(0x3bb)][_0x210b29(0x397)](_0x2e3084,_0xbbae54,!0x1),_0x184715=this['_transformService'][_0x210b29(0x397)](_0x2fc4a4,_0x36feaa,!0x1);if(_0x119f28[_0x210b29(0x1a6)](_0x256bfc))throw _0x256bfc['error'];if(_0x119f28[_0x210b29(0x1a6)](_0x184715))throw _0x184715['error'];_0xef262d[_0x210b29(0x360)]({..._0x1a9a6a[_0x575c31],'undoState':_0x256bfc[_0x210b29(0x1f6)][_0x210b29(0x28b)],'redoState':_0x184715['m2Prime'][_0x210b29(0x28b)]}),_0x2e3084=_0x256bfc['m1Prime'],_0x2fc4a4=_0x184715[_0x210b29(0x27a)];}this[_0x210b29(0x2a7)][_0x210b29(0x19b)](_0x41a8b2,{'history':_0x5179b6,'collaboration':_0xef262d});}};_0x4e7219=_0x43a31d([_0x4e731e(0x0,_0x2a9662[_0x22f257(0x166)](_0x2a9662[_0x22f257(0x282)])),_0x4e731e(0x1,_0x119f28[_0x22f257(0x36c)]),_0x4e731e(0x2,_0x2a9662[_0x22f257(0x166)](_0xccddd6[_0x22f257(0x358)]))],_0x4e7219);var _0x55de07=Object[_0x22f257(0x2ce)],_0x304171=(_0x3587b9,_0x5eaa57,_0x544075,_0x10efbb)=>{const _0x489251=_0x22f257;for(var _0x33dac5=_0x10efbb>0x1?void 0x0:_0x10efbb?_0x55de07(_0x5eaa57,_0x544075):_0x5eaa57,_0x2ab309=_0x3587b9[_0x489251(0x1b0)]-0x1,_0x45471d;_0x2ab309>=0x0;_0x2ab309--)(_0x45471d=_0x3587b9[_0x2ab309])&&(_0x33dac5=_0x45471d(_0x33dac5)||_0x33dac5);return _0x33dac5;},_0x11a97f=(_0x554e3c,_0x1c5880)=>(_0x182526,_0x4cb0db)=>_0x1c5880(_0x182526,_0x4cb0db,_0x554e3c);let _0x2511cb=class{constructor(_0x5b776c,_0x3b5690){const _0x19c6f2=_0x22f257;this['_injector']=_0x5b776c,this[_0x19c6f2(0x3bb)]=_0x3b5690;}[_0x22f257(0x38d)](_0x64b4d8){const _0x49b9a8=_0x22f257;var _0x153d70;const _0x2a0ec0=this[_0x49b9a8(0x276)][_0x49b9a8(0x270)](_0x1b62f9[_0x49b9a8(0x359)]),_0x4d9d1a=(_0x153d70=_0x2a0ec0['getDocRanges']())!=null?_0x153d70:[];if(_0x4d9d1a[_0x49b9a8(0x1b0)]===0x0)return;const _0x44f839=_0x64b4d8['unitID'],_0x221ca2=[{'id':_0x49b9a8(0x2fc),'params':{'unitId':_0x44f839,'actions':null,'textRanges':_0x4d9d1a}}],_0x249431=this[_0x49b9a8(0x3bb)][_0x49b9a8(0x1f3)](_0x64b4d8,_0x221ca2);if(!_0x119f28[_0x49b9a8(0x3bf)](_0x249431))throw _0x249431['error'];const _0x151091=_0x249431[_0x49b9a8(0x1f6)][0x0][_0x49b9a8(0x28b)][_0x49b9a8(0x1b8)];Array[_0x49b9a8(0x3ec)](_0x151091)&&_0x151091[_0x49b9a8(0x1b0)]&&_0x2a0ec0[_0x49b9a8(0x173)](_0x151091,{'unitId':_0x44f839,'subUnitId':_0x44f839},!0x1);}};_0x2511cb=_0x304171([_0x11a97f(0x0,_0x2a9662['Inject'](_0x2a9662[_0x22f257(0x282)])),_0x11a97f(0x1,_0x119f28[_0x22f257(0x36c)])],_0x2511cb);var _0x50246b=Object['getOwnPropertyDescriptor'],_0x5412e1=(_0x1a17ad,_0x2ee56f,_0x5f5b4c,_0x10e7ef)=>{const _0x1ef8ae=_0x22f257;for(var _0x138bb6=_0x10e7ef>0x1?void 0x0:_0x10e7ef?_0x50246b(_0x2ee56f,_0x5f5b4c):_0x2ee56f,_0x270d29=_0x1a17ad[_0x1ef8ae(0x1b0)]-0x1,_0x3e0bb5;_0x270d29>=0x0;_0x270d29--)(_0x3e0bb5=_0x1a17ad[_0x270d29])&&(_0x138bb6=_0x3e0bb5(_0x138bb6)||_0x138bb6);return _0x138bb6;},_0x2b2187=(_0x430de5,_0x1bf3b6)=>(_0x3a81dc,_0x1f3c42)=>_0x1bf3b6(_0x3a81dc,_0x1f3c42,_0x430de5);let _0x516d54=class extends _0x2a9662['Disposable']{constructor(_0x133012,_0x1db394,_0x5d5ec1,_0x56d9bb,_0x39e7fb,_0x302c14,_0x5e5674,_0x2dac4b){const _0x1489b7=_0x22f257;super(),_0x30b7bc(this,_0x1489b7(0x289),new _0x539394[(_0x1489b7(0x1ca))](_0x5b04f9['CollaborationStatus'][_0x1489b7(0x1be)])),(this[_0x1489b7(0x2a7)]=_0x133012,this[_0x1489b7(0x214)]=_0x1db394,this[_0x1489b7(0x2eb)]=_0x5d5ec1,this['_docTransformStateCacheService']=_0x56d9bb,this[_0x1489b7(0x21c)]=_0x39e7fb,this[_0x1489b7(0x340)]=_0x302c14,this['_messageService']=_0x5e5674,this['_localeService']=_0x2dac4b,this[_0x1489b7(0x3a9)]());}[_0x22f257(0x3a9)](){const _0x3096e1=_0x22f257;this['disposeWithMe'](this[_0x3096e1(0x214)][_0x3096e1(0x230)][_0x3096e1(0x2e4)](_0x3ad443=>{const _0x5621d1=_0x3096e1,_0x5261f0=this[_0x5621d1(0x2a7)]['docStateChange$'][_0x5621d1(0x2e4)](_0x3a329f=>{const _0x10b854=_0x5621d1;if(_0x3a329f==null)return;const {unitId:_0x44a853,redoState:_0x4561b8,commandId:_0x29339b}=_0x3a329f;if(_0x44a853!==_0x3ad443[_0x10b854(0x323)])return;const _0x58a8c8={'id':_0x29339b,'type':_0x2a9662[_0x10b854(0x3f3)][_0x10b854(0x251)],'params':{'unitId':_0x44a853,'actions':_0x4561b8['actions'],'textRanges':null}};_0x3ad443['onLocalMutation'](_0x58a8c8);});if(_0x3ad443[_0x5621d1(0x2f4)](_0x5261f0),_0x3ad443 instanceof _0x5b04f9[_0x5621d1(0x19e)]){const _0xd4ba17={'onTransformIME':_0x16c237=>this[_0x5621d1(0x2eb)][_0x5621d1(0x1eb)](_0x16c237),'onTransformState':_0x5e0571=>this[_0x5621d1(0x327)][_0x5621d1(0x2aa)](_0x5e0571),'onTransformSelections':_0x55387a=>this[_0x5621d1(0x21c)][_0x5621d1(0x38d)](_0x55387a),'onSyncEditingCollabCursor':_0x7182d9=>this[_0x5621d1(0x340)]['syncEditingCollabCursor'](_0x7182d9),'onTransformRemoteChangesetByIMECache':_0x21d877=>this[_0x5621d1(0x2eb)][_0x5621d1(0x1e1)](_0x21d877),'onTransformRemoteChangesetByStateCache':_0x4b9003=>this['_docTransformStateCacheService'][_0x5621d1(0x1e1)](_0x4b9003)};_0x3ad443['addHandlerCallback'](_0xd4ba17);}}));}};_0x516d54=_0x5412e1([_0x2b2187(0x0,_0x2a9662[_0x22f257(0x166)](_0xccddd6[_0x22f257(0x358)])),_0x2b2187(0x1,_0x2a9662[_0x22f257(0x166)](_0x5b04f9['CollaborationController'])),_0x2b2187(0x2,_0x2a9662['Inject'](_0x1659e9)),_0x2b2187(0x3,_0x2a9662[_0x22f257(0x166)](_0x4e7219)),_0x2b2187(0x4,_0x2a9662['Inject'](_0x2511cb)),_0x2b2187(0x5,_0x2a9662[_0x22f257(0x166)](_0x48dd5)),_0x2b2187(0x6,_0x31156b['IMessageService']),_0x2b2187(0x7,_0x2a9662[_0x22f257(0x166)](_0x2a9662[_0x22f257(0x30d)]))],_0x516d54);var _0x471900=Object[_0x22f257(0x2ce)],_0x1c71d7=(_0x41062d,_0x275d0d,_0x2a1e63,_0x1ad38a)=>{const _0x56ff2d=_0x22f257;for(var _0x3ad97d=_0x1ad38a>0x1?void 0x0:_0x1ad38a?_0x471900(_0x275d0d,_0x2a1e63):_0x275d0d,_0x4b4764=_0x41062d[_0x56ff2d(0x1b0)]-0x1,_0x367232;_0x4b4764>=0x0;_0x4b4764--)(_0x367232=_0x41062d[_0x4b4764])&&(_0x3ad97d=_0x367232(_0x3ad97d)||_0x3ad97d);return _0x3ad97d;},_0x521389=(_0x1a2672,_0x4cd02f)=>(_0x33496d,_0x2b8636)=>_0x4cd02f(_0x33496d,_0x2b8636,_0x1a2672);let _0x1f2734=class extends _0x2a9662[_0x22f257(0x27b)]{constructor(_0x2fc657,_0x1c61fa,_0x4b1e99){const _0x18b99e=_0x22f257;super(),_0x30b7bc(this,_0x18b99e(0x32d),new Map()),_0x30b7bc(this,'_saveTaskMap',new Map()),_0x30b7bc(this,_0x18b99e(0x28e),!0x1),(this[_0x18b99e(0x29f)]=_0x2fc657,this[_0x18b99e(0x336)]=_0x1c61fa,this[_0x18b99e(0x169)]=_0x4b1e99);}[_0x22f257(0x286)](){const _0x91f124=_0x22f257;this[_0x91f124(0x28e)]=!0x0;}['enableLocalCache'](){this['_disabled']=!0x1;}get['saveTaskMap'](){const _0x29da58=_0x22f257;return this[_0x29da58(0x259)];}['dispose'](){const _0x28d38a=_0x22f257;this[_0x28d38a(0x1bc)]()['then'](()=>super[_0x28d38a(0x258)]());}async[_0x22f257(0x18f)](_0x2536c6){const _0x178bba=_0x22f257;return this['_disabled']?null:this[_0x178bba(0x336)][_0x178bba(0x180)](_0x5b04f9[_0x178bba(0x3cf)](_0x2536c6));}async[_0x22f257(0x3d9)](_0xef6b2c,_0x51671d){const _0x4ff1aa=_0x22f257;return!!this[_0x4ff1aa(0x336)][_0x4ff1aa(0x2b0)](_0xef6b2c,_0x51671d);}[_0x22f257(0x1e8)](_0x2290fc,_0x16d805,_0x3cf7e5,_0x2c5165){const _0x3d8ecb=_0x22f257,_0xca1090=this[_0x3d8ecb(0x169)]['getCurrentRevOfUnit'](_0x2290fc);this[_0x3d8ecb(0x32d)][_0x3d8ecb(0x25d)](_0x2290fc,{'unitID':_0x2290fc,'type':_0x16d805,'awaitingChangeset':_0x3cf7e5,'mutations':_0x2c5165,'rev':_0xca1090}),this[_0x3d8ecb(0x259)][_0x3d8ecb(0x1fb)](_0x2290fc)||this['_scheduleSaving'](_0x2290fc);}[_0x22f257(0x203)](_0x594eac){const _0x18e459=_0x22f257,_0x3b61bf=this['_getSaveTimeout']();_0x3b61bf===0x0?this[_0x18e459(0x28d)](_0x594eac):this['_saveTaskMap']['set'](_0x594eac,setTimeout(()=>this[_0x18e459(0x28d)](_0x594eac),_0x3b61bf));}[_0x22f257(0x31b)](){const _0x21c3be=_0x22f257;var _0x5c6031;return(_0x5c6031=this['_configService'][_0x21c3be(0x3b3)](_0x5b04f9[_0x21c3be(0x1f8)]))!=null?_0x5c6031:_0x5b04f9[_0x21c3be(0x300)];}[_0x22f257(0x28d)](_0x31c8dc){const _0x4ea2b1=_0x22f257,_0x33f4e5=this[_0x4ea2b1(0x259)][_0x4ea2b1(0x270)](_0x31c8dc);return _0x33f4e5!==void 0x0&&window[_0x4ea2b1(0x197)](_0x33f4e5),this['_localStorageService'][_0x4ea2b1(0x2b0)](_0x5b04f9[_0x4ea2b1(0x3cf)](_0x31c8dc),this['_cachedData'][_0x4ea2b1(0x270)](_0x31c8dc))['then'](()=>this[_0x4ea2b1(0x259)]['delete'](_0x31c8dc));}async['exhaustSavingTask'](){const _0x1f166d=_0x22f257,_0x300e75=[];this['_saveTaskMap'][_0x1f166d(0x231)]((_0x4d9e1f,_0x919400)=>{const _0x4ade88=_0x1f166d;window[_0x4ade88(0x197)](_0x4d9e1f),_0x300e75['push'](this[_0x4ade88(0x28d)](_0x919400)['then'](()=>{const _0x388ae6=_0x4ade88;this['_saveTaskMap'][_0x388ae6(0x181)](_0x919400);}));}),await Promise[_0x1f166d(0x1ee)](_0x300e75);}};_0x1f2734=_0x1c71d7([_0x521389(0x0,_0x2a9662['IConfigService']),_0x521389(0x1,_0x2a9662[_0x22f257(0x20a)]),_0x521389(0x2,_0x2a9662[_0x22f257(0x166)](_0x119f28[_0x22f257(0x235)]))],_0x1f2734);class _0x358029 extends _0x2a9662[_0x22f257(0x32b)]{constructor(){const _0x14911c=_0x22f257;super(),_0x30b7bc(this,'urlChange$'),this[_0x14911c(0x3dd)]=_0x539394[_0x14911c(0x23c)](window,_0x14911c(0x2ff))['pipe'](_0x539394[_0x14911c(0x223)](this[_0x14911c(0x2e5)]),_0x539394[_0x14911c(0x1f0)](0x1),_0x539394[_0x14911c(0x33b)](void 0x0));}[_0x22f257(0x233)](_0x449a51,_0x345623,_0x5ccbe6=!0x1){const _0x3612af=_0x22f257,_0x55eccf=new URL(window[_0x3612af(0x21e)][_0x3612af(0x2f1)]);_0x55eccf[_0x3612af(0x207)][_0x3612af(0x25d)](_0x449a51,_0x345623),_0x5ccbe6?window[_0x3612af(0x25c)]['replaceState']('','',_0x55eccf['toString']()):window[_0x3612af(0x25c)][_0x3612af(0x26d)]('','',_0x55eccf[_0x3612af(0x304)]());}[_0x22f257(0x256)](_0x25a56e,_0xea0181=!0x1){const _0x45daa3=_0x22f257,_0x1256cb=new URL(window[_0x45daa3(0x21e)][_0x45daa3(0x2f1)]);_0x1256cb[_0x45daa3(0x207)][_0x45daa3(0x181)](_0x25a56e),_0xea0181?window[_0x45daa3(0x25c)]['replaceState']('','',_0x1256cb[_0x45daa3(0x304)]()):window[_0x45daa3(0x25c)][_0x45daa3(0x26d)]('','',_0x1256cb[_0x45daa3(0x304)]());}[_0x22f257(0x29c)](_0x4b5596){const _0x1fa203=_0x22f257;var _0xf8fe17;return(_0xf8fe17=new URL(window[_0x1fa203(0x21e)][_0x1fa203(0x2f1)])['searchParams'][_0x1fa203(0x270)](_0x4b5596))!=null?_0xf8fe17:void 0x0;}}var _0x1f12d8=Object[_0x22f257(0x2d4)],_0x30c6e0=Object[_0x22f257(0x2ce)],_0x29f519=(_0x3a06da,_0x3944f8,_0x27838f)=>_0x3944f8 in _0x3a06da?_0x1f12d8(_0x3a06da,_0x3944f8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x27838f}):_0x3a06da[_0x3944f8]=_0x27838f,_0xd7b833=(_0x3b89c0,_0x38ea18,_0x5b3e22,_0x317181)=>{const _0x4c8465=_0x22f257;for(var _0x28f376=_0x317181>0x1?void 0x0:_0x317181?_0x30c6e0(_0x38ea18,_0x5b3e22):_0x38ea18,_0x506a2b=_0x3b89c0[_0x4c8465(0x1b0)]-0x1,_0x55163b;_0x506a2b>=0x0;_0x506a2b--)(_0x55163b=_0x3b89c0[_0x506a2b])&&(_0x28f376=_0x55163b(_0x28f376)||_0x28f376);return _0x28f376;},_0x4cace2=(_0x258a5e,_0x2dc430)=>(_0x38cd56,_0x55b828)=>_0x2dc430(_0x38cd56,_0x55b828,_0x258a5e),_0x26f678=(_0x360366,_0x8f4abd,_0x40972b)=>_0x29f519(_0x360366,_0x8f4abd+'',_0x40972b);const _0x11c0cc=_0x22f257(0x1d5);_0x193121[_0x22f257(0x2b8)]=class extends _0x2a9662[_0x22f257(0x3c7)]{constructor(_0xac5a7c=_0x1b9837,_0x144aea,_0x283b97,_0x2cd993){const _0x32158c=_0x22f257;super(),this[_0x32158c(0x1a9)]=_0xac5a7c,this[_0x32158c(0x287)]=_0x144aea,this['_injector']=_0x283b97,this['_configService']=_0x2cd993;const {..._0x164675}=_0x2a9662[_0x32158c(0x232)]({},_0x1b9837,this['_config']);this[_0x32158c(0x29f)]['setConfig'](_0x3dee98,_0x164675);}[_0x22f257(0x2b9)](){const _0x2a2376=_0x22f257;this['_registerDependencies'](),this[_0x2a2376(0x2e1)]();}['onRendered'](){const _0x56caf2=_0x22f257;this[_0x56caf2(0x3e4)]();}['_registerDependencies'](){const _0xe2b829=_0x22f257;var _0x53a6be;const _0x1abbad=[[_0x40de99],[_0x2511cb],[_0x1659e9],[_0x4e7219],[_0x48dd5],[_0x41d97e,{'useClass':_0x358029}],[_0x3990c8[_0xe2b829(0x1c2)],{'useClass':_0x3990c8['WebSocketService']}],[_0x5b04f9[_0xe2b829(0x1c8)],{'useClass':_0x1f2734}],[_0x193121[_0xe2b829(0x234)]],[_0x516d54],[_0x4f47f0],[_0x2dfea8],[_0x25a21d],[_0x193121[_0xe2b829(0x354)]]];_0x2a9662[_0xe2b829(0x3e9)](this[_0xe2b829(0x276)],_0x2a9662[_0xe2b829(0x167)](_0x1abbad,(_0x53a6be=this[_0xe2b829(0x1a9)])==null?void 0x0:_0x53a6be['override']));}[_0x22f257(0x3e4)](){const _0x1fa55b=_0x22f257;this[_0x1fa55b(0x2f4)](this[_0x1fa55b(0x287)][_0x1fa55b(0x291)](_0x2a9662['UniverInstanceType'][_0x1fa55b(0x391)],[_0x3cbae1])),this['disposeWithMe'](this[_0x1fa55b(0x287)]['registerRenderModule'](_0x2a9662[_0x1fa55b(0x3d8)][_0x1fa55b(0x385)],[_0x139261]));}[_0x22f257(0x2e1)](){const _0x32759d=_0x22f257;_0x2a9662[_0x32759d(0x2b5)](this['_injector'],[[_0x2dfea8],[_0x193121[_0x32759d(0x234)]],[_0x516d54],[_0x4f47f0],[_0x193121['CollaborationDataLoaderController']]]);}},_0x26f678(_0x193121[_0x22f257(0x2b8)],'pluginName',_0x11c0cc),_0x193121[_0x22f257(0x2b8)]=_0xd7b833([_0x2a9662['DependentOn'](_0x5b04f9[_0x22f257(0x22d)]),_0x4cace2(0x1,_0x53abef[_0x22f257(0x3d0)]),_0x4cace2(0x2,_0x2a9662[_0x22f257(0x166)](_0x2a9662[_0x22f257(0x282)])),_0x4cace2(0x3,_0x2a9662[_0x22f257(0x332)])],_0x193121[_0x22f257(0x2b8)]);var _0x501884=Object[_0x22f257(0x2ce)],_0x3f2d04=(_0xf4142e,_0x21816d,_0x5706a4,_0x3a1ef6)=>{const _0x33353e=_0x22f257;for(var _0x587723=_0x3a1ef6>0x1?void 0x0:_0x3a1ef6?_0x501884(_0x21816d,_0x5706a4):_0x21816d,_0x3fa12b=_0xf4142e[_0x33353e(0x1b0)]-0x1,_0x433b39;_0x3fa12b>=0x0;_0x3fa12b--)(_0x433b39=_0xf4142e[_0x3fa12b])&&(_0x587723=_0x433b39(_0x587723)||_0x587723);return _0x587723;},_0x1eb75e=(_0x13b25c,_0x5673a4)=>(_0x52d271,_0x139868)=>_0x5673a4(_0x52d271,_0x139868,_0x13b25c);_0x193121[_0x22f257(0x19c)]=class extends _0x5b04f9[_0x22f257(0x346)]{constructor(_0x77402c,_0xe7bbcb,_0x3811e7,_0x5ccc36,_0x308f7d){super(_0x77402c,_0xe7bbcb,_0x3811e7,_0x5ccc36,_0x308f7d);}async[_0x22f257(0x24d)](_0x426346){const _0x28faeb=_0x22f257,_0x2ced84=await this['_getSessionTicket'](),_0x38e066=this[_0x28faeb(0x3ba)](_0x426346,_0x2ced84);return this[_0x28faeb(0x1b9)](_0x38e066);}[_0x22f257(0x3ba)](_0x2ba3ab,_0x502bf9){const _0x4d0a8d=_0x22f257,_0x1be19f=typeof window>'u'?new URL(_0x2ba3ab):new URL(_0x2ba3ab,window[_0x4d0a8d(0x21e)][_0x4d0a8d(0x23f)]);_0x1be19f[_0x4d0a8d(0x207)]['set']('sessionTicket',_0x502bf9);const _0x4e2ca0=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4d0a8d(0x21e)]['search']);return _0x4e2ca0['get']('runId')&&_0x1be19f['searchParams'][_0x4d0a8d(0x25d)]('runId',_0x4e2ca0['get']('runId')),_0x1be19f['toString']();}async[_0x22f257(0x1ad)](){const _0x166724=_0x22f257;var _0x3fa05c,_0x464635,_0x248e9b;const _0x51ed4d=this['_configService']['getConfig'](_0x5b04f9[_0x166724(0x3b6)]),_0xf095ed=(_0x3fa05c=_0x51ed4d==null?void 0x0:_0x51ed4d[_0x166724(0x268)])!=null?_0x3fa05c:_0x5b04f9[_0x166724(0x1f7)];return(_0x248e9b=(_0x464635=(await this['_httpService'][_0x166724(0x270)](_0xf095ed,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x464635['ticket'])!=null?_0x248e9b:'';}},_0x193121[_0x22f257(0x19c)]=_0x3f2d04([_0x1eb75e(0x0,_0x2a9662['Inject'](_0x2a9662[_0x22f257(0x282)])),_0x1eb75e(0x1,_0x2a9662['Inject'](_0x3990c8['HTTPService'])),_0x1eb75e(0x2,_0x2a9662[_0x22f257(0x332)]),_0x1eb75e(0x3,_0x2a9662['ILogService']),_0x1eb75e(0x4,_0x119f28[_0x22f257(0x395)])],_0x193121['BrowserCollaborationSocketService']);const _0x29a153=0x7530,_0x6c929c=_0x22f257(0x3e7);class _0x102ee9 extends _0x2a9662[_0x22f257(0x27b)]{constructor(){const _0x21c154=_0x22f257;super(),_0x30b7bc(this,_0x21c154(0x321),_0x2a9662['generateRandomId']()),_0x30b7bc(this,_0x21c154(0x18a),new Set()),_0x30b7bc(this,_0x21c154(0x2bd),new Map()),_0x30b7bc(this,_0x21c154(0x3ac),null),_0x30b7bc(this,_0x21c154(0x1a5),new Map()),_0x30b7bc(this,'_unitStatus',new Map()),this[_0x21c154(0x35b)]();}[_0x22f257(0x258)](){const _0x1fda46=_0x22f257;super['dispose'](),this[_0x1fda46(0x1a5)][_0x1fda46(0x231)]((_0x4ac9b7,_0x16cb37)=>this[_0x1fda46(0x320)](_0x16cb37)),this[_0x1fda46(0x3ac)]&&window[_0x1fda46(0x21f)](this['_heartbeatTimer']);}[_0x22f257(0x215)](_0x26912b){const _0x4b8fae=_0x22f257;return this[_0x4b8fae(0x2a0)](_0x26912b)[_0x4b8fae(0x367)](_0x539394[_0x4b8fae(0x2f0)]());}[_0x22f257(0x339)](_0x1feaba){const _0x77ce4d=_0x22f257;this[_0x77ce4d(0x18a)][_0x77ce4d(0x27d)]===0x0&&this['_scheduleHeartbeat'](),this[_0x77ce4d(0x18a)][_0x77ce4d(0x3de)](_0x1feaba),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x1feaba],'isForwarded':!0x1});}[_0x22f257(0x24b)](_0x26e3e0){const _0xa660f8=_0x22f257;this['_selfUnitIDs'][_0xa660f8(0x181)](_0x26e3e0),this[_0xa660f8(0x18a)][_0xa660f8(0x27d)]===0x0&&this[_0xa660f8(0x3ac)]&&window[_0xa660f8(0x21f)](this['_heartbeatTimer']);}[_0x22f257(0x35b)](){const _0x535d5b=_0x22f257;this['disposeWithMe'](_0x2a9662[_0x535d5b(0x22f)](_0x539394[_0x535d5b(0x23c)](window,_0x535d5b(0x2da))[_0x535d5b(0x2e4)](_0x43d4d3=>{const _0x68687=_0x535d5b;if(_0x43d4d3[_0x68687(0x31d)]!==_0x6c929c||!_0x43d4d3[_0x68687(0x1ba)])return;const _0x30b0d3=JSON[_0x68687(0x371)](_0x43d4d3[_0x68687(0x1ba)]);this[_0x68687(0x38f)](_0x30b0d3);}))),window[_0x535d5b(0x161)](_0x535d5b(0x184),()=>this[_0x535d5b(0x2ac)]({'type':0x1,'memberID':this[_0x535d5b(0x321)],'unitIDs':Array['from'](this[_0x535d5b(0x18a)])}));}[_0x22f257(0x38f)](_0x352702){const _0x3b0a93=_0x22f257;switch(_0x352702[_0x3b0a93(0x329)]){case 0x0:this['_handleJoinEvent'](_0x352702);break;case 0x1:this[_0x3b0a93(0x375)](_0x352702);break;case 0x2:this[_0x3b0a93(0x3cc)](_0x352702);break;}}[_0x22f257(0x1fa)](_0x5a01d9){const _0xc62292=_0x22f257,{unitIDs:_0x2a8270,memberID:_0x18e5d8,isForwarded:_0xd8b6f4}=_0x5a01d9;_0x2a8270[_0xc62292(0x231)](_0x56e0d0=>{const _0x1bc5b4=_0xc62292;if(!_0xd8b6f4&&this[_0x1bc5b4(0x2bd)][_0x1bc5b4(0x1fb)](_0x56e0d0)&&this[_0x1bc5b4(0x2a0)](_0x56e0d0)[_0x1bc5b4(0x3a6)](_0x5b04f9[_0x1bc5b4(0x163)][_0x1bc5b4(0x24e)]),!this['_unitOnClients'][_0x1bc5b4(0x1fb)](_0x56e0d0)||!this[_0x1bc5b4(0x2bd)][_0x1bc5b4(0x270)](_0x56e0d0)[_0x1bc5b4(0x1fb)](_0x18e5d8)){const _0x29e165=this['_unitOnClients'][_0x1bc5b4(0x270)](_0x56e0d0)||new Set();_0x29e165['add'](_0x18e5d8),this[_0x1bc5b4(0x2bd)][_0x1bc5b4(0x25d)](_0x56e0d0,_0x29e165),this['_scheduleClearOtherTimer'](_0x18e5d8);}}),_0xd8b6f4||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0xc62292(0x18a)]],'isForwarded':!0x0});}[_0x22f257(0x2e8)](_0x1d1041){const _0x2e9343=_0x22f257;this[_0x2e9343(0x320)](_0x1d1041);const _0x42f192=window['setTimeout'](()=>{this['_unitOnClients']['forEach'](_0x1b4b92=>{_0x1b4b92['delete'](_0x1d1041);});},_0x29a153*0x2);this[_0x2e9343(0x1a5)]['set'](_0x1d1041,_0x42f192);}['_removeClearOtherTimer'](_0x3f3008){const _0x3254e3=_0x22f257;if(this[_0x3254e3(0x1a5)][_0x3254e3(0x1fb)](_0x3f3008)){const _0x5c31af=this[_0x3254e3(0x1a5)]['get'](_0x3f3008);_0x5c31af&&window['clearTimeout'](_0x5c31af),this['_clearOtherTimers']['set'](_0x3f3008,null);}}[_0x22f257(0x375)](_0x5a765a){const _0x13eab8=_0x22f257,{memberID:_0x3beba3,unitIDs:_0x14abda}=_0x5a765a;_0x14abda[_0x13eab8(0x231)](_0x5e24ec=>{const _0x2a9448=_0x13eab8;var _0x432f05;const _0x433a25=this[_0x2a9448(0x2bd)][_0x2a9448(0x270)](_0x5e24ec);_0x433a25&&(_0x433a25['delete'](_0x3beba3),(_0x432f05=this[_0x2a9448(0x2a0)](_0x5e24ec))==null||_0x432f05[_0x2a9448(0x3a6)](_0x433a25[_0x2a9448(0x27d)]===0x0?_0x5b04f9[_0x2a9448(0x163)][_0x2a9448(0x38a)]:_0x5b04f9['UnitStatus'][_0x2a9448(0x24e)]));}),this[_0x13eab8(0x320)](_0x3beba3);}[_0x22f257(0x3cc)](_0x33734b){const _0x302ea8=_0x22f257;this[_0x302ea8(0x2e8)](_0x33734b[_0x302ea8(0x3b1)]);}['_send'](_0x4e1b3e){const _0x1b7443=_0x22f257;localStorage[_0x1b7443(0x2b0)](_0x6c929c,JSON[_0x1b7443(0x3f0)](_0x4e1b3e));}[_0x22f257(0x190)](){this['_heartbeatTimer']=window['setInterval'](()=>{const _0x12202a=_0x574a;this['_send']({'type':0x2,'memberID':this[_0x12202a(0x321)]});},_0x29a153);}[_0x22f257(0x2a0)](_0x2679c6){const _0x4b9e4b=_0x22f257;return this[_0x4b9e4b(0x2a2)][_0x4b9e4b(0x1fb)](_0x2679c6)||this[_0x4b9e4b(0x2a2)][_0x4b9e4b(0x25d)](_0x2679c6,new _0x539394[(_0x4b9e4b(0x1ca))](_0x5b04f9[_0x4b9e4b(0x163)][_0x4b9e4b(0x38a)])),this[_0x4b9e4b(0x2a2)][_0x4b9e4b(0x270)](_0x2679c6);}}var _0x15aa14=(_0x5aea25=>(_0x5aea25[_0x5aea25[_0x22f257(0x178)]=0x0]=_0x22f257(0x178),_0x5aea25[_0x5aea25['OK']=0x1]='OK',_0x5aea25[_0x5aea25['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x5aea25[_0x5aea25[_0x22f257(0x26e)]=0x3]='PERMISSION_DENIED',_0x5aea25[_0x5aea25[_0x22f257(0x296)]=0x4]=_0x22f257(0x296),_0x5aea25[_0x5aea25[_0x22f257(0x3e2)]=0x5]=_0x22f257(0x3e2),_0x5aea25[_0x5aea25['ALREADY_EXISTS']=0x6]=_0x22f257(0x3c0),_0x5aea25[_0x5aea25[_0x22f257(0x30c)]=0x7]=_0x22f257(0x30c),_0x5aea25[_0x5aea25[_0x22f257(0x185)]=0x8]=_0x22f257(0x185),_0x5aea25[_0x5aea25[_0x22f257(0x212)]=0x9]='COMPLETION_FINISHED',_0x5aea25[_0x5aea25[_0x22f257(0x1e0)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x5aea25[_0x5aea25[_0x22f257(0x3e0)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x5aea25[_0x5aea25[_0x22f257(0x31f)]=0x1772]=_0x22f257(0x31f),_0x5aea25[_0x5aea25['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x22f257(0x23e),_0x5aea25[_0x5aea25['APPLY_REJECT']=0x1b59]=_0x22f257(0x3b9),_0x5aea25[_0x5aea25[_0x22f257(0x2bc)]=0x1b5a]=_0x22f257(0x2bc),_0x5aea25[_0x5aea25[_0x22f257(0x33e)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x5aea25[_0x5aea25[_0x22f257(0x208)]=0x1b5c]=_0x22f257(0x208),_0x5aea25[_0x5aea25[_0x22f257(0x2d6)]=0x1b5d]='APPLY_DUPLICATED',_0x5aea25[_0x5aea25['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x22f257(0x3a0),_0x5aea25[_0x5aea25[_0x22f257(0x1d7)]=0x2329]=_0x22f257(0x1d7),_0x5aea25[_0x5aea25[_0x22f257(0x267)]=0x232a]=_0x22f257(0x267),_0x5aea25[_0x5aea25[_0x22f257(0x1a1)]=0x232b]=_0x22f257(0x1a1),_0x5aea25[_0x5aea25[_0x22f257(0x35e)]=0x232c]=_0x22f257(0x35e),_0x5aea25[_0x5aea25[_0x22f257(0x381)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x5aea25[_0x5aea25[_0x22f257(0x1c7)]=0x2711]=_0x22f257(0x1c7),_0x5aea25[_0x5aea25['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x22f257(0x3c8),_0x5aea25[_0x5aea25[_0x22f257(0x36b)]=0x2713]=_0x22f257(0x36b),_0x5aea25[_0x5aea25[_0x22f257(0x218)]=0x2714]=_0x22f257(0x218),_0x5aea25[_0x5aea25[_0x22f257(0x1a0)]=0x2af9]=_0x22f257(0x1a0),_0x5aea25[_0x5aea25[_0x22f257(0x325)]=-0x1]=_0x22f257(0x325),_0x5aea25))(_0x15aa14||{}),_0x54d780=Object['getOwnPropertyDescriptor'],_0x5e690f=(_0x1f897c,_0x1edab5,_0x56c033,_0x4a5236)=>{for(var _0x151e7a=_0x4a5236>0x1?void 0x0:_0x4a5236?_0x54d780(_0x1edab5,_0x56c033):_0x1edab5,_0x51d8cb=_0x1f897c['length']-0x1,_0x2bc414;_0x51d8cb>=0x0;_0x51d8cb--)(_0x2bc414=_0x1f897c[_0x51d8cb])&&(_0x151e7a=_0x2bc414(_0x151e7a)||_0x151e7a);return _0x151e7a;},_0x5bfcc4=(_0x3302f8,_0x2fc5d5)=>(_0x5efa7b,_0xb285db)=>_0x2fc5d5(_0x5efa7b,_0xb285db,_0x3302f8);_0x193121[_0x22f257(0x162)]=class extends _0x2a9662[_0x22f257(0x27b)]{constructor(_0x1d3edb,_0x2cf6b8,_0xef14cb){super(),this['_instanceService']=_0x1d3edb,this['_httpService']=_0x2cf6b8,this['_configService']=_0xef14cb;}async[_0x22f257(0x1ab)](_0x2d07ca,_0xe3132f,_0x4ba163,..._0x38ce66){const _0x45aac8=_0x22f257;var _0x580c51,_0x208369,_0x449d65,_0x507e1a;const _0x46d55a=this['_instanceService'][_0x45aac8(0x299)]();if(!_0x46d55a)throw new Error(_0x45aac8(0x353));const _0x2a4889=((_0x580c51=this[_0x45aac8(0x29f)][_0x45aac8(0x3b3)](_0x5b04f9[_0x45aac8(0x1d1)]))!=null?_0x580c51:_0x5b04f9[_0x45aac8(0x210)])+'/'+_0x2d07ca+_0x45aac8(0x3d3)+_0xe3132f,_0x2a9b19=new URL(window['location'][_0x45aac8(0x2f1)]),_0x2af37b={'scriptId':_0x2d07ca,'runId':(_0x208369=_0x2a9b19[_0x45aac8(0x207)][_0x45aac8(0x270)](_0x45aac8(0x1f1)))!=null?_0x208369:'','function':_0xe3132f,'unitId':_0x46d55a[_0x45aac8(0x3ef)](),'argsOfFunction':JSON['stringify'](_0x38ce66),'invokeId':(_0x449d65=_0x4ba163[_0x45aac8(0x183)])!=null?_0x449d65:'','executionId':(_0x507e1a=_0x4ba163[_0x45aac8(0x3ed)])!=null?_0x507e1a:''};try{const _0x3f1b6f=await this[_0x45aac8(0x3d7)][_0x45aac8(0x341)](_0x2a4889,{'body':_0x2af37b});return _0x3f1b6f[_0x45aac8(0x3d4)]['error']&&_0x3f1b6f['body'][_0x45aac8(0x37a)][_0x45aac8(0x373)]!==_0x15aa14['OK']?'Failed':_0x3f1b6f[_0x45aac8(0x3d4)]['result'];}catch{return _0x45aac8(0x3cd);}}},_0x193121['RemoteUniscriptService']=_0x5e690f([_0x5bfcc4(0x0,_0x2a9662[_0x22f257(0x3db)]),_0x5bfcc4(0x1,_0x2a9662[_0x22f257(0x166)](_0x3990c8[_0x22f257(0x349)])),_0x5bfcc4(0x2,_0x2a9662['IConfigService'])],_0x193121['RemoteUniscriptService']),_0x193121[_0x22f257(0x1a2)]=_0x4dd7b0,_0x193121['IURLService']=_0x41d97e,_0x193121['SheetCollabCursorShape']=_0x3a9bf4,_0x193121[_0x22f257(0x30e)]=_0x102ee9,_0x193121[_0x22f257(0x16e)]=_0x358029,Object[_0x22f257(0x2d4)](_0x193121,Symbol['toStringTag'],{'value':_0x22f257(0x20d)});}));
1
+ function _0x1203(_0x5e49e5,_0xf4c755){const _0x3f174a=_0x3f17();return _0x1203=function(_0x1203f2,_0x5bf377){_0x1203f2=_0x1203f2-0x10f;let _0x4df371=_0x3f174a[_0x1203f2];return _0x4df371;},_0x1203(_0x5e49e5,_0xf4c755);}(function(_0x2b5d1e,_0x3377bd){const _0x1295b7=_0x1203,_0x1f374f=_0x2b5d1e();while(!![]){try{const _0x5708c1=-parseInt(_0x1295b7(0x2c1))/0x1*(-parseInt(_0x1295b7(0x321))/0x2)+parseInt(_0x1295b7(0x12e))/0x3+parseInt(_0x1295b7(0x1ce))/0x4*(parseInt(_0x1295b7(0x206))/0x5)+-parseInt(_0x1295b7(0x220))/0x6+-parseInt(_0x1295b7(0x2fe))/0x7+parseInt(_0x1295b7(0x314))/0x8+parseInt(_0x1295b7(0x28e))/0x9*(-parseInt(_0x1295b7(0x293))/0xa);if(_0x5708c1===_0x3377bd)break;else _0x1f374f['push'](_0x1f374f['shift']());}catch(_0x48b463){_0x1f374f['push'](_0x1f374f['shift']());}}}(_0x3f17,0x817aa),function(_0x28ec3d,_0xf2d88e){const _0xb23d49=_0x1203;typeof exports==_0xb23d49(0x16a)&&typeof module<'u'?_0xf2d88e(exports,require(_0xb23d49(0x327)),require('@univerjs/core'),require(_0xb23d49(0x1ae)),require(_0xb23d49(0x311)),require(_0xb23d49(0x35e)),require('@univerjs/drawing'),require('rxjs'),require('@univerjs/docs'),require(_0xb23d49(0x249)),require(_0xb23d49(0x1ca)),require('@univerjs/sheets'),require(_0xb23d49(0x292)),require(_0xb23d49(0x117)),require(_0xb23d49(0x288)),require(_0xb23d49(0x2ff)),require(_0xb23d49(0x187)),require(_0xb23d49(0x129)),require(_0xb23d49(0x332))):typeof define==_0xb23d49(0x26a)&&define[_0xb23d49(0x2ec)]?define([_0xb23d49(0x119),_0xb23d49(0x327),'@univerjs/core',_0xb23d49(0x1ae),_0xb23d49(0x311),_0xb23d49(0x35e),_0xb23d49(0x20a),_0xb23d49(0x337),_0xb23d49(0x2a2),_0xb23d49(0x249),_0xb23d49(0x1ca),'@univerjs/sheets','rxjs/operators','@univerjs/sheets-ui',_0xb23d49(0x288),_0xb23d49(0x2ff),_0xb23d49(0x187),_0xb23d49(0x129),'@univerjs/rpc'],_0xf2d88e):(_0x28ec3d=typeof globalThis<'u'?globalThis:_0x28ec3d||self,_0xf2d88e(_0x28ec3d['UniverProCollaborationClientUi']={},_0x28ec3d[_0xb23d49(0x27b)],_0x28ec3d[_0xb23d49(0x156)],_0x28ec3d[_0xb23d49(0x312)],_0x28ec3d[_0xb23d49(0x360)],_0x28ec3d[_0xb23d49(0x2b8)],_0x28ec3d['UniverDrawing'],_0x28ec3d[_0xb23d49(0x337)],_0x28ec3d[_0xb23d49(0x2d9)],_0x28ec3d[_0xb23d49(0x2a1)],_0x28ec3d[_0xb23d49(0x2e7)],_0x28ec3d['UniverSheets'],_0x28ec3d[_0xb23d49(0x337)][_0xb23d49(0x218)],_0x28ec3d[_0xb23d49(0x1b2)],_0x28ec3d[_0xb23d49(0x1fb)],_0x28ec3d[_0xb23d49(0x29a)],_0x28ec3d[_0xb23d49(0x278)],_0x28ec3d[_0xb23d49(0x1fb)],_0x28ec3d[_0xb23d49(0x1f8)]));}(this,function(_0x4d216a,_0x1a23f6,_0x4daaee,_0x516e6e,_0x447a48,_0x3a7962,_0x2e599d,_0x25ffe0,_0x117c25,_0x4bf9d6,_0xbb93a,_0x4763f4,_0x52817c,_0x586155,_0x536b6d,_0xce6f4,_0x8b6e78,_0x2f0a38,_0x5a151a){'use strict';const _0x2000b7=_0x1203;var _0x3d61f2=Object[_0x2000b7(0x163)],_0x53d338=(_0x18a549,_0x256a02,_0x32e677)=>_0x256a02 in _0x18a549?_0x3d61f2(_0x18a549,_0x256a02,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x32e677}):_0x18a549[_0x256a02]=_0x32e677,_0x5ab58f=(_0x1d8a16,_0x1e306e,_0x466f61)=>_0x53d338(_0x1d8a16,typeof _0x1e306e!=_0x2000b7(0x188)?_0x1e306e+'':_0x1e306e,_0x466f61),_0xf8eb54=Object[_0x2000b7(0x391)],_0x557331=(_0x2c1adf,_0x39eb02,_0x4ebf42,_0x104b65)=>{const _0x3e440a=_0x2000b7;for(var _0x111e5d=_0x104b65>0x1?void 0x0:_0x104b65?_0xf8eb54(_0x39eb02,_0x4ebf42):_0x39eb02,_0x1da3e8=_0x2c1adf[_0x3e440a(0x299)]-0x1,_0x4551e7;_0x1da3e8>=0x0;_0x1da3e8--)(_0x4551e7=_0x2c1adf[_0x1da3e8])&&(_0x111e5d=_0x4551e7(_0x111e5d)||_0x111e5d);return _0x111e5d;},_0x38f49e=(_0x4a9452,_0x42541d)=>(_0x2f86c3,_0x2d9401)=>_0x42541d(_0x2f86c3,_0x2d9401,_0x4a9452);let _0x5ba04c=class extends _0x4daaee[_0x2000b7(0x310)]{constructor(_0x9bcac7,_0x2ae478){const _0x34f234=_0x2000b7;super(),this['_docClipboardService']=_0x9bcac7,this['_imageIoService']=_0x2ae478,this[_0x34f234(0x1f3)]();}[_0x2000b7(0x1f3)](){const _0x9db26=_0x2000b7,_0x461908=this;this[_0x9db26(0x16c)](this[_0x9db26(0x346)][_0x9db26(0x271)]({'onBeforePasteImage':async _0x5b4371=>{const _0x26315a=_0x9db26,_0x36ce2a=await _0x461908['_imageIoService'][_0x26315a(0x302)](_0x5b4371);return _0x36ce2a?{'source':_0x36ce2a['source'],'imageSourceType':_0x36ce2a[_0x26315a(0x33a)]}:null;}}));}};_0x5ba04c=_0x557331([_0x38f49e(0x0,_0x3a7962[_0x2000b7(0x398)]),_0x38f49e(0x1,_0x2e599d[_0x2000b7(0x32d)])],_0x5ba04c);const _0x8bc9d7=[_0x2000b7(0x38f),'jiqing500','verdancy600',_0x2000b7(0x18a),_0x2000b7(0x26f),'gold400'];class _0x408012 extends _0x4daaee[_0x2000b7(0x266)]{constructor(){const _0x18218c=_0x2000b7;super(...arguments),_0x5ab58f(this,_0x18218c(0x14c),new Map()),_0x5ab58f(this,_0x18218c(0x280),0x0);}['assignAColorForMemberID'](_0x34923b){const _0x47614a=_0x2000b7;if(this[_0x47614a(0x14c)][_0x47614a(0x263)](_0x34923b))return this['_assignedColors'][_0x47614a(0x237)](_0x34923b);const _0xc841a=_0x8bc9d7[this[_0x47614a(0x280)]];return this[_0x47614a(0x280)]=(this[_0x47614a(0x280)]+0x1)%_0x8bc9d7[_0x47614a(0x299)],this[_0x47614a(0x14c)][_0x47614a(0x214)](_0x34923b,_0xc841a),_0xc841a;}}function _0x47947b(_0x50d41a){const _0x52b919=_0x2000b7;let _0x3a7fd7='';for(const _0x40d2fb of _0x50d41a){const {startOffset:_0xecdca7,endOffset:_0x5a08da,isActive:_0x2628eb,rangeType:_0x4c7c04,segmentId:_0x199337,segmentPage:_0x4125e3}=_0x40d2fb;_0x3a7fd7[_0x52b919(0x299)]&&(_0x3a7fd7+=','),_0x3a7fd7+=_0xecdca7+':'+_0x5a08da+':'+(_0x2628eb?'1':'0')+':'+_0x4c7c04+':'+_0x199337+':'+_0x4125e3;}return _0x3a7fd7;}function _0x3c9d3c(_0x2f41ea){const _0x3b3c58=_0x2000b7,_0x232981=_0x2f41ea[_0x3b3c58(0x375)](','),_0x4ef3f7=[];for(const _0x27539b of _0x232981){const [_0x20c12d,_0x5f5674,_0x292d5a,_0x4bc8b0,_0x13e8d7,_0xa149fb]=_0x27539b[_0x3b3c58(0x375)](':');_0x4ef3f7[_0x3b3c58(0x35d)]({'startOffset':Number(_0x20c12d),'endOffset':Number(_0x5f5674),'collapsed':_0x20c12d===_0x5f5674,'isActive':_0x292d5a==='1','rangeType':_0x4bc8b0===_0x4daaee['DOC_RANGE_TYPE']['TEXT']?_0x4daaee['DOC_RANGE_TYPE'][_0x3b3c58(0x374)]:_0x4daaee[_0x3b3c58(0x236)][_0x3b3c58(0x2d3)],'segmentId':typeof _0x13e8d7==_0x3b3c58(0x198)?String(_0x13e8d7):'','segmentPage':Number(_0xa149fb!=null?_0xa149fb:-0x1)});}return _0x4ef3f7[_0x3b3c58(0x2e6)](_0x4192ea=>_0x4192ea[_0x3b3c58(0x31a)])||(_0x4ef3f7[0x0][_0x3b3c58(0x31a)]=!0x0),_0x4ef3f7;}class _0x22bc4b extends _0x4daaee[_0x2000b7(0x310)]{constructor(){const _0x38b9b7=_0x2000b7;super(...arguments),_0x5ab58f(this,'_collabCursorState$',new _0x25ffe0['BehaviorSubject'](null)),_0x5ab58f(this,_0x38b9b7(0x1a6),this[_0x38b9b7(0x175)][_0x38b9b7(0x1ac)]());}[_0x2000b7(0x167)](_0x4b74f8){const _0x2caf69=_0x2000b7,{unitID:_0x2d0eb6,memberID:_0x6586a0,textRanges:_0x5f3ede}=_0x4b74f8,_0x2659be=_0x47947b(_0x5f3ede);if(_0x2659be==='')return;const _0x4af3b1={'unitID':_0x2d0eb6,'memberID':_0x6586a0,'selection':_0x2659be};this[_0x2caf69(0x175)][_0x2caf69(0x367)](_0x4af3b1);}}var _0x1e0cf4=Object[_0x2000b7(0x391)],_0x1c3110=(_0x104c1f,_0x12be97,_0x6286fa,_0x1e4cc4)=>{for(var _0x116eb0=_0x1e4cc4>0x1?void 0x0:_0x1e4cc4?_0x1e0cf4(_0x12be97,_0x6286fa):_0x12be97,_0x7226b9=_0x104c1f['length']-0x1,_0x38573c;_0x7226b9>=0x0;_0x7226b9--)(_0x38573c=_0x104c1f[_0x7226b9])&&(_0x116eb0=_0x38573c(_0x116eb0)||_0x116eb0);return _0x116eb0;},_0x2e0185=(_0x1a6aeb,_0x4c010a)=>(_0x4a6933,_0x52ee2a)=>_0x4c010a(_0x4a6933,_0x52ee2a,_0x1a6aeb);const _0x4bcf61=0x12c,_0x183d09=0x64;let _0x5ee8b4=class extends _0x4daaee[_0x2000b7(0x310)]{constructor(_0x2973bd,_0x20b00b,_0x1d9b01,_0xa733d7,_0x281e82,_0x74ad92,_0x500b21,_0xec9b9b,_0x464bdd){const _0x156f63=_0x2000b7;super(),_0x5ab58f(this,'_online',!0x1),_0x5ab58f(this,_0x156f63(0x1f3),!0x1),_0x5ab58f(this,_0x156f63(0x2ca),new _0x25ffe0[(_0x156f63(0x20d))](new Map())),_0x5ab58f(this,'cursorInfo$',this[_0x156f63(0x2ca)][_0x156f63(0x1ac)]()),_0x5ab58f(this,_0x156f63(0x139),new _0x25ffe0[(_0x156f63(0x20d))]([])),_0x5ab58f(this,'roomMembers$',this[_0x156f63(0x139)]['pipe'](_0x25ffe0[_0x156f63(0x371)](_0x4bcf61))),_0x5ab58f(this,_0x156f63(0x26d),_0x4daaee[_0x156f63(0x2f1)](_0x11d5c8=>{const _0x3e7334=_0x156f63,_0x37a2f2={'eventID':_0x4bf9d6[_0x3e7334(0x13a)][_0x3e7334(0x204)],'data':{'unitID':this[_0x3e7334(0x1f4)],'memberID':this[_0x3e7334(0x202)]['getMemberID'](),'selection':_0x47947b(_0x11d5c8)}};this['_session'][_0x3e7334(0x2c6)](_0x37a2f2,this[_0x3e7334(0x1f4)]);},_0x183d09)),(this[_0x156f63(0x1f4)]=_0x2973bd,this[_0x156f63(0x202)]=_0x20b00b,this[_0x156f63(0x2e3)]=_0x1d9b01,this[_0x156f63(0x2a9)]=_0xa733d7,this[_0x156f63(0x1fa)]=_0x281e82,this[_0x156f63(0x2be)]=_0x74ad92,this[_0x156f63(0x2f3)]=_0x500b21,this[_0x156f63(0x197)]=_0xec9b9b,this[_0x156f63(0x2df)]=_0x464bdd);}get[_0x2000b7(0x1eb)](){const _0x459d92=_0x2000b7;return this[_0x459d92(0x2ca)][_0x459d92(0x2aa)]();}get['roomMembers'](){const _0x27ab40=_0x2000b7;return this[_0x27ab40(0x139)][_0x27ab40(0x2aa)]();}[_0x2000b7(0x251)](){const _0x40acb9=_0x2000b7;super[_0x40acb9(0x251)](),this[_0x40acb9(0x2ca)][_0x40acb9(0x367)](new Map()),this[_0x40acb9(0x2ca)][_0x40acb9(0x194)](),this['_roomMembers$'][_0x40acb9(0x367)]([]),this[_0x40acb9(0x139)]['complete']();}[_0x2000b7(0x2bc)](){const _0x1162eb=_0x2000b7;this['_init']||(this[_0x1162eb(0x1f3)]=!0x0,this[_0x1162eb(0x202)][_0x1162eb(0x270)][_0x1162eb(0x213)](_0x25ffe0[_0x1162eb(0x274)](this['dispose$']))[_0x1162eb(0x287)](_0xde7ed1=>{const _0x383b5a=_0x1162eb;_0xde7ed1===_0x1a23f6[_0x383b5a(0x277)][_0x383b5a(0x372)]?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x1162eb(0x202)][_0x1162eb(0x152)][_0x1162eb(0x213)](_0x25ffe0['takeUntil'](this[_0x1162eb(0x254)]))[_0x1162eb(0x287)](_0x517d26=>{const _0x1c0e58=_0x1162eb,_0x2d0130=_0x517d26[_0x1c0e58(0x19f)];_0x2d0130===_0x4bf9d6[_0x1c0e58(0x13a)][_0x1c0e58(0x204)]&&this[_0x1c0e58(0x286)](_0x517d26),_0x2d0130===_0x4bf9d6[_0x1c0e58(0x13a)][_0x1c0e58(0x21b)]&&this['_onCursorDelete'](_0x517d26);}),this[_0x1162eb(0x16c)](this[_0x1162eb(0x2df)][_0x1162eb(0x24f)](_0xf12b0a=>{const _0x3e29b9=_0x1162eb,_0x2a6f58=_0xf12b0a['params'];_0x2a6f58!=null&&this['_online']&&_0xf12b0a['id']===_0x117c25[_0x3e29b9(0x22d)]['id']&&_0x2a6f58[_0x3e29b9(0x26b)]===this['unitID']&&_0x2a6f58['isEditing']===!0x1&&_0x2a6f58[_0x3e29b9(0x137)]['length']>0x0&&this[_0x3e29b9(0x26d)](_0x2a6f58[_0x3e29b9(0x137)]);})),this[_0x1162eb(0x2be)]['collabCursorState$'][_0x1162eb(0x213)](_0x25ffe0[_0x1162eb(0x274)](this['dispose$']))['subscribe'](_0x3fe280=>{const _0x33fced=_0x1162eb;if((_0x3fe280==null?void 0x0:_0x3fe280['unitID'])!==this[_0x33fced(0x1f4)])return;const _0x21a7ff={'eventID':_0x4bf9d6[_0x33fced(0x13a)][_0x33fced(0x204)],'data':_0x3fe280};this[_0x33fced(0x286)](_0x21a7ff);}),this['disposeWithMe'](this[_0x1162eb(0x2df)]['onCommandExecuted'](_0x29e1f3=>{const _0x47bae1=_0x1162eb;if(_0x29e1f3[_0x47bae1(0x335)]==null)return;const _0x29be18=_0x29e1f3[_0x47bae1(0x335)];if(_0x29e1f3['id']!==_0x117c25[_0x47bae1(0x18d)]['id']||_0x29be18[_0x47bae1(0x26b)]!==this['unitID'])return;const _0x403317={'id':_0x47bae1(0x164),'params':_0x29be18},_0xc4549=this[_0x47bae1(0x1eb)];for(const [_0x48ff78,_0x330c0a]of _0xc4549){const _0x4ff084={'id':_0x47bae1(0x164),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x330c0a['ranges']}},_0x2ecc40=this[_0x47bae1(0x2f3)]['transformMutation'](_0x403317,_0x4ff084,!0x1);if(_0x4bf9d6['isTransformMutationFailure'](_0x2ecc40))throw _0x2ecc40[_0x47bae1(0x159)];_0xc4549[_0x47bae1(0x214)](_0x48ff78,{..._0x330c0a,'ranges':_0x2ecc40[_0x47bae1(0x38d)][_0x47bae1(0x335)]['textRanges']});}queueMicrotask(()=>{const _0x1671ab=_0x47bae1;this[_0x1671ab(0x2ca)][_0x1671ab(0x367)](_0xc4549);});})));}[_0x2000b7(0x286)](_0x37c1e7){const _0x1ada0c=_0x2000b7;var _0x4ba7be,_0x34b981;const {memberID:_0x208825,selection:_0x25ab8d}=_0x37c1e7[_0x1ada0c(0x268)],_0x2ed8c3=_0x3c9d3c(_0x25ab8d),_0x52b207=(_0x34b981=(_0x4ba7be=this['_memberService'][_0x1ada0c(0x1d4)](this[_0x1ada0c(0x1f4)],_0x208825))==null?void 0x0:_0x4ba7be[_0x1ada0c(0x212)])!=null?_0x34b981:_0x1ada0c(0x388),_0x34889f={'color':this[_0x1ada0c(0x2a9)]['assignAColorForMemberID'](_0x208825),'name':_0x52b207,'ranges':_0x2ed8c3},_0x5106d1=this[_0x1ada0c(0x1eb)];_0x5106d1['set'](_0x208825,_0x34889f),this[_0x1ada0c(0x2ca)]['next'](_0x5106d1);}[_0x2000b7(0x2ee)](_0x5489c1){const _0x35ee73=_0x2000b7,{memberID:_0x1c1c95}=_0x5489c1[_0x35ee73(0x268)],_0x3c0351=this[_0x35ee73(0x1eb)];_0x3c0351[_0x35ee73(0x178)](_0x1c1c95),this[_0x35ee73(0x2ca)][_0x35ee73(0x367)](_0x3c0351);}[_0x2000b7(0x301)](){const _0x40d076=_0x2000b7;var _0x263dc6;if(this['_online']=!0x0,((_0x263dc6=this[_0x40d076(0x197)][_0x40d076(0x1dd)]())==null?void 0x0:_0x263dc6[_0x40d076(0x24c)]())!==this[_0x40d076(0x1f4)])return;const _0x11e8d3=this[_0x40d076(0x2e3)][_0x40d076(0x237)](_0x117c25['DocSelectionManagerService'])[_0x40d076(0x1b7)]();Array['isArray'](_0x11e8d3)&&_0x11e8d3[_0x40d076(0x299)]>0x0&&this[_0x40d076(0x26d)](_0x11e8d3);}[_0x2000b7(0x356)](){const _0x350221=_0x2000b7;this[_0x350221(0x15d)]=!0x1;}};_0x5ee8b4=_0x1c3110([_0x2e0185(0x2,_0x4daaee['Inject'](_0x4daaee[_0x2000b7(0x248)])),_0x2e0185(0x3,_0x4daaee[_0x2000b7(0x393)](_0x408012)),_0x2e0185(0x4,_0x4daaee[_0x2000b7(0x393)](_0x1a23f6[_0x2000b7(0x2b0)])),_0x2e0185(0x5,_0x4daaee[_0x2000b7(0x393)](_0x22bc4b)),_0x2e0185(0x6,_0x4bf9d6[_0x2000b7(0x15a)]),_0x2e0185(0x7,_0x4daaee[_0x2000b7(0x1df)]),_0x2e0185(0x8,_0x4daaee[_0x2000b7(0x2b3)])],_0x5ee8b4);var _0x260ea2=Object[_0x2000b7(0x391)],_0xf67643=(_0x27b340,_0x503ba8,_0x2dc830,_0x4f920c)=>{const _0xd083de=_0x2000b7;for(var _0x54f172=_0x4f920c>0x1?void 0x0:_0x4f920c?_0x260ea2(_0x503ba8,_0x2dc830):_0x503ba8,_0x3dc816=_0x27b340[_0xd083de(0x299)]-0x1,_0x2a1035;_0x3dc816>=0x0;_0x3dc816--)(_0x2a1035=_0x27b340[_0x3dc816])&&(_0x54f172=_0x2a1035(_0x54f172)||_0x54f172);return _0x54f172;},_0x19b28c=(_0x2b597a,_0x143eef)=>(_0x6b2034,_0x1e13e8)=>_0x143eef(_0x6b2034,_0x1e13e8,_0x2b597a);const _0x163665=0x12c,_0x1fd4a4=0x64,_0x6e9b90=()=>{let _0x8b2037=[],_0x1de988=!0x1;return _0x3f7176=>{_0x8b2037['push'](_0x3f7176),_0x1de988||(_0x1de988=!0x0,setTimeout(()=>{_0x8b2037['forEach'](_0x377b27=>_0x377b27()),_0x8b2037=[],_0x1de988=!0x1;}));};};let _0x2db49b=class extends _0x4daaee[_0x2000b7(0x310)]{constructor(_0x4d105a,_0x322a9f,_0x235877,_0x58265e,_0xdd8263,_0x5273db,_0x13604e,_0x27a972){const _0x28f91a=_0x2000b7;super(),_0x5ab58f(this,_0x28f91a(0x15d),!0x1),_0x5ab58f(this,'_init',!0x1),_0x5ab58f(this,_0x28f91a(0x2ca),new _0x25ffe0[(_0x28f91a(0x20d))](new Map())),_0x5ab58f(this,_0x28f91a(0x264),this[_0x28f91a(0x2ca)][_0x28f91a(0x1ac)]()),_0x5ab58f(this,_0x28f91a(0x139),new _0x25ffe0[(_0x28f91a(0x20d))]([])),_0x5ab58f(this,_0x28f91a(0x382),this['_roomMembers$'][_0x28f91a(0x213)](_0x25ffe0[_0x28f91a(0x371)](_0x163665))),_0x5ab58f(this,_0x28f91a(0x26d),_0x4daaee[_0x28f91a(0x2f1)]((_0x3cd6c4,_0x43356d)=>{const _0x24d4e1=_0x28f91a,_0x59f6a6={'eventID':_0x4bf9d6[_0x24d4e1(0x13a)][_0x24d4e1(0x204)],'data':{'unitID':this[_0x24d4e1(0x1f4)],'memberID':this[_0x24d4e1(0x202)][_0x24d4e1(0x1da)](),'selection':_0xbb93a[_0x24d4e1(0x2f6)](_0x3cd6c4,_0x43356d[_0x24d4e1(0x2b5)])}};this['_session'][_0x24d4e1(0x2c6)](_0x59f6a6,this[_0x24d4e1(0x1f4)]);},_0x1fd4a4)),(this[_0x28f91a(0x1f4)]=_0x4d105a,this['_session']=_0x322a9f,this[_0x28f91a(0x2e3)]=_0x235877,this[_0x28f91a(0x2a9)]=_0x58265e,this['_memberService']=_0xdd8263,this[_0x28f91a(0x197)]=_0x5273db,this[_0x28f91a(0x2df)]=_0x13604e,this[_0x28f91a(0x2c7)]=_0x27a972);}get['cursorInfo'](){const _0x8c8c31=_0x2000b7;return this[_0x8c8c31(0x2ca)][_0x8c8c31(0x2aa)]();}get[_0x2000b7(0x140)](){const _0x100b06=_0x2000b7;return this['_roomMembers$'][_0x100b06(0x2aa)]();}['dispose'](){const _0x5d7706=_0x2000b7;super['dispose'](),this['_cursorInfo$'][_0x5d7706(0x367)](new Map()),this['_cursorInfo$'][_0x5d7706(0x194)](),this[_0x5d7706(0x139)][_0x5d7706(0x367)]([]),this[_0x5d7706(0x139)]['complete']();}[_0x2000b7(0x2bc)](){const _0x5c6ead=_0x2000b7;this[_0x5c6ead(0x1f3)]||(this[_0x5c6ead(0x1f3)]=!0x0,this[_0x5c6ead(0x202)]['sessionStatus$'][_0x5c6ead(0x213)](_0x25ffe0[_0x5c6ead(0x274)](this[_0x5c6ead(0x254)]))['subscribe'](_0x355db2=>{const _0xe640f9=_0x5c6ead;_0x355db2===_0x1a23f6[_0xe640f9(0x277)][_0xe640f9(0x372)]?this[_0xe640f9(0x301)]():this[_0xe640f9(0x356)]();}),this[_0x5c6ead(0x202)][_0x5c6ead(0x152)][_0x5c6ead(0x213)](_0x25ffe0[_0x5c6ead(0x274)](this[_0x5c6ead(0x254)]))[_0x5c6ead(0x287)](_0x9c9b06=>{const _0x58dc66=_0x5c6ead,_0x3defdd=_0x9c9b06[_0x58dc66(0x19f)];_0x3defdd===_0x4bf9d6['CollaborationEvent'][_0x58dc66(0x204)]&&this[_0x58dc66(0x286)](_0x9c9b06),_0x3defdd===_0x4bf9d6[_0x58dc66(0x13a)]['USERS_LEAVE']&&this[_0x58dc66(0x2ee)](_0x9c9b06);}),this['_onRefRangeChange'](),this[_0x5c6ead(0x16c)](this[_0x5c6ead(0x2df)]['onCommandExecuted'](_0x20297f=>{const _0x3e9014=_0x5c6ead;if(this[_0x3e9014(0x15d)]&&_0x20297f['id']===_0x4763f4[_0x3e9014(0x2c4)]['id']&&_0x20297f[_0x3e9014(0x335)][_0x3e9014(0x26b)]===this['unitID']){const _0x2fb356=_0x20297f[_0x3e9014(0x335)];this[_0x3e9014(0x26d)](_0x2fb356[_0x3e9014(0x276)],_0x2fb356[_0x3e9014(0x244)][0x0]);}})));}['_onCursorUpdate'](_0x426d34){const _0x14142c=_0x2000b7;var _0x1fa385,_0x340b3f;const {memberID:_0x23e473,selection:_0x536a5c}=_0x426d34[_0x14142c(0x268)],{sheetName:_0x1f82c6,range:_0x134b5b}=_0xbb93a['deserializeRangeWithSheet'](_0x536a5c),_0x229f5a={'name':(_0x340b3f=(_0x1fa385=this[_0x14142c(0x1fa)][_0x14142c(0x1d4)](this[_0x14142c(0x1f4)],_0x23e473))==null?void 0x0:_0x1fa385[_0x14142c(0x212)])!=null?_0x340b3f:_0x14142c(0x388),'range':this['_getMergeRange'](_0x1f82c6,_0x134b5b),'sheetID':_0x1f82c6,'color':this['_colorAssignService']['assignAColorForMemberID'](_0x23e473),'selection':_0x536a5c},_0x12a251=this['cursorInfo'];_0x12a251[_0x14142c(0x214)](_0x23e473,_0x229f5a),this[_0x14142c(0x2ca)]['next'](_0x12a251);}[_0x2000b7(0x2ee)](_0x4fcb25){const _0x18115b=_0x2000b7,{memberID:_0x410d0f}=_0x4fcb25[_0x18115b(0x268)],_0x2913b4=this[_0x18115b(0x1eb)];_0x2913b4[_0x18115b(0x178)](_0x410d0f),this[_0x18115b(0x2ca)][_0x18115b(0x367)](_0x2913b4);}[_0x2000b7(0x148)](_0x4ef6d0,_0x2d1e33){const _0x87aefb=_0x2000b7;var _0xd28132,_0x5946b4;const _0x4892aa=(_0x5946b4=(_0xd28132=this[_0x87aefb(0x197)][_0x87aefb(0x35a)](this[_0x87aefb(0x1f4)]))==null?void 0x0:_0xd28132[_0x87aefb(0x12b)](_0x4ef6d0))==null?void 0x0:_0x5946b4[_0x87aefb(0x33e)]();return(_0x4892aa==null?void 0x0:_0x4892aa[_0x87aefb(0x1e3)](_0x15e9a0=>_0x4daaee[_0x87aefb(0x181)]['contains'](_0x15e9a0,_0x2d1e33)))||_0x2d1e33;}[_0x2000b7(0x370)](){const _0x2e5c3f=_0x2000b7,_0x559a65=new _0x4daaee['DisposableCollection'](),_0x12ce4d=_0x6e9b90(),_0x36d076=()=>{const _0xa6fc31=_0x1203;_0x559a65[_0xa6fc31(0x251)]();const _0x2e84c4=(_0x423aa6,_0x463756,_0x37b952,_0x57232d)=>{const _0x4fcd2f=_0xa6fc31;let _0x468c85=[];switch(_0x423aa6['id']){case _0x4763f4[_0x4fcd2f(0x394)]['DeleteRangeMoveLeftCommandId']:{_0x468c85=_0x4763f4[_0x4fcd2f(0x182)](_0x423aa6,_0x57232d);break;}case _0x4763f4['EffectRefRangId'][_0x4fcd2f(0x1ad)]:{_0x468c85=_0x4763f4[_0x4fcd2f(0x25d)](_0x423aa6,_0x57232d);break;}case _0x4763f4[_0x4fcd2f(0x394)][_0x4fcd2f(0x1c4)]:{_0x468c85=_0x4763f4['handleInsertCol'](_0x423aa6,_0x57232d);break;}case _0x4763f4[_0x4fcd2f(0x394)][_0x4fcd2f(0x319)]:{_0x468c85=_0x4763f4[_0x4fcd2f(0x2fd)](_0x423aa6,_0x57232d);break;}case _0x4763f4[_0x4fcd2f(0x394)][_0x4fcd2f(0x172)]:{_0x468c85=_0x4763f4[_0x4fcd2f(0x184)](_0x423aa6,_0x57232d);break;}case _0x4763f4[_0x4fcd2f(0x394)][_0x4fcd2f(0x146)]:{_0x468c85=_0x4763f4[_0x4fcd2f(0x399)](_0x423aa6,_0x57232d);break;}case _0x4763f4['EffectRefRangId'][_0x4fcd2f(0x154)]:{_0x468c85=_0x4763f4['handleMoveRange'](_0x423aa6,_0x57232d);break;}case _0x4763f4[_0x4fcd2f(0x394)][_0x4fcd2f(0x1ef)]:{_0x468c85=_0x4763f4['handleIRemoveCol'](_0x423aa6,_0x57232d);break;}case _0x4763f4[_0x4fcd2f(0x394)][_0x4fcd2f(0x15f)]:{_0x468c85=_0x4763f4['handleIRemoveRow'](_0x423aa6,_0x57232d);break;}}const _0x240925=_0x4763f4[_0x4fcd2f(0x2c0)](_0x468c85,_0x57232d),_0x48b5d9=this['cursorInfo'][_0x4fcd2f(0x237)](_0x463756);if(_0x48b5d9&&_0x240925){const _0x5c8d0e={..._0x48b5d9,'range':_0x240925};this[_0x4fcd2f(0x1eb)][_0x4fcd2f(0x214)](_0x463756,_0x5c8d0e),_0x12ce4d(()=>{const _0x584458=_0x4fcd2f,_0x23f24f=this[_0x584458(0x2c7)]['registerRefRange'](_0x240925,_0x140ee0=>(_0x23f24f[_0x584458(0x251)](),_0x2e84c4(_0x140ee0,_0x463756,_0x37b952,_0x240925)));_0x559a65['add'](_0x23f24f);});}return{'redos':[],'undos':[]};};this[_0xa6fc31(0x1eb)][_0xa6fc31(0x20c)]((_0x1a3907,_0x5d663a)=>{const _0x530ab5=_0xa6fc31,{range:_0x442da8,sheetID:_0x2a89bc}=_0x1a3907,_0x56ec8f=this[_0x530ab5(0x2c7)][_0x530ab5(0x25b)](_0x442da8,_0x5de2b5=>(_0x56ec8f['dispose'](),_0x2e84c4(_0x5de2b5,_0x5d663a,_0x2a89bc,_0x442da8)));_0x559a65['add'](_0x56ec8f);});};this[_0x2e5c3f(0x16c)](_0x4daaee[_0x2e5c3f(0x316)](this[_0x2e5c3f(0x2ca)][_0x2e5c3f(0x287)](()=>{_0x36d076();})));}[_0x2000b7(0x301)](){const _0x544add=_0x2000b7;var _0x2862bf,_0x2f5200;if(this[_0x544add(0x15d)]=!0x0,((_0x2862bf=this[_0x544add(0x197)]['getFocusedUnit']())==null?void 0x0:_0x2862bf[_0x544add(0x24c)]())!==this[_0x544add(0x1f4)])return;const _0x1867eb=(_0x2f5200=this['_injector'][_0x544add(0x237)](_0x4763f4[_0x544add(0x315)])[_0x544add(0x36f)]())==null?void 0x0:_0x2f5200[0x0],_0x88950b=this[_0x544add(0x197)][_0x544add(0x2f0)](_0x4daaee[_0x544add(0x192)]['UNIVER_SHEET'])[_0x544add(0x1d6)]();_0x1867eb&&_0x88950b&&this['_updateLocalCursor'](_0x88950b[_0x544add(0x161)](),_0x1867eb);}[_0x2000b7(0x356)](){const _0x3f7517=_0x2000b7;this[_0x3f7517(0x15d)]=!0x1;}};_0x2db49b=_0xf67643([_0x19b28c(0x2,_0x4daaee[_0x2000b7(0x393)](_0x4daaee[_0x2000b7(0x248)])),_0x19b28c(0x3,_0x4daaee[_0x2000b7(0x393)](_0x408012)),_0x19b28c(0x4,_0x4daaee[_0x2000b7(0x393)](_0x1a23f6[_0x2000b7(0x2b0)])),_0x19b28c(0x5,_0x4daaee[_0x2000b7(0x1df)]),_0x19b28c(0x6,_0x4daaee['ICommandService']),_0x19b28c(0x7,_0x4daaee[_0x2000b7(0x393)](_0x4763f4[_0x2000b7(0x16e)]))],_0x2db49b);var _0x33cc2b=Object[_0x2000b7(0x391)],_0x1d6761=(_0x22154e,_0x3989a9,_0x50c507,_0x3112f5)=>{const _0x4acf7f=_0x2000b7;for(var _0x11d0f7=_0x3112f5>0x1?void 0x0:_0x3112f5?_0x33cc2b(_0x3989a9,_0x50c507):_0x3989a9,_0x19e9b8=_0x22154e[_0x4acf7f(0x299)]-0x1,_0x1d1893;_0x19e9b8>=0x0;_0x19e9b8--)(_0x1d1893=_0x22154e[_0x19e9b8])&&(_0x11d0f7=_0x1d1893(_0x11d0f7)||_0x11d0f7);return _0x11d0f7;},_0x5b7ec9=(_0x40f56a,_0x3df349)=>(_0x54177d,_0x24a161)=>_0x3df349(_0x54177d,_0x24a161,_0x40f56a);let _0x5bba6c=class extends _0x4daaee['RxDisposable']{constructor(_0x4a16a4,_0x29bfcc,_0x578ae2){const _0x3f4d79=_0x2000b7;super(),_0x5ab58f(this,_0x3f4d79(0x27e),new Map()),_0x5ab58f(this,_0x3f4d79(0x359),new _0x25ffe0[(_0x3f4d79(0x1af))]()),(this[_0x3f4d79(0x197)]=_0x4a16a4,this['_injector']=_0x29bfcc,this[_0x3f4d79(0x219)]=_0x578ae2,this[_0x3f4d79(0x1f3)]());}[_0x2000b7(0x251)](){const _0x3f192f=_0x2000b7;super['dispose'](),this[_0x3f192f(0x359)][_0x3f192f(0x194)](),this[_0x3f192f(0x27e)][_0x3f192f(0x20c)](_0x50562b=>_0x50562b[_0x3f192f(0x251)]());}[_0x2000b7(0x23b)](_0x581a3f){const _0x4d7f8c=_0x2000b7;return this['_entities']['has'](_0x581a3f)?this[_0x4d7f8c(0x27e)][_0x4d7f8c(0x237)](_0x581a3f)['cursorInfo$']:this[_0x4d7f8c(0x359)][_0x4d7f8c(0x213)](_0x25ffe0[_0x4d7f8c(0x252)](_0x395460=>_0x395460[_0x4d7f8c(0x1f4)]===_0x581a3f),_0x25ffe0[_0x4d7f8c(0x1ab)](_0x1e7bf1=>_0x1e7bf1[_0x4d7f8c(0x264)]));}[_0x2000b7(0x1f3)](){const _0x35b5a5=_0x2000b7;this[_0x35b5a5(0x197)][_0x35b5a5(0x313)](_0x4daaee[_0x35b5a5(0x192)]['UNIVER_SHEET'])[_0x35b5a5(0x213)](_0x25ffe0['takeUntil'](this[_0x35b5a5(0x254)]))[_0x35b5a5(0x287)](async _0x430421=>{const _0x1e6ce6=_0x35b5a5,_0x3436d6=_0x430421['getUnitId'](),_0x108722=await this['_startSheetCollabCursor'](_0x3436d6);this[_0x1e6ce6(0x359)]['next'](_0x108722),this['_entities'][_0x1e6ce6(0x214)](_0x3436d6,_0x108722);}),this['_univerInstanceService'][_0x35b5a5(0x313)](_0x4daaee[_0x35b5a5(0x192)][_0x35b5a5(0x1ee)])[_0x35b5a5(0x213)](_0x25ffe0[_0x35b5a5(0x274)](this[_0x35b5a5(0x254)]))[_0x35b5a5(0x213)](_0x25ffe0[_0x35b5a5(0x252)](_0x552bd4=>!_0x552bd4[_0x35b5a5(0x24c)]()[_0x35b5a5(0x2d1)]('__')))[_0x35b5a5(0x287)](async _0x429e02=>{const _0x2a9d3f=_0x35b5a5,_0xa18448=_0x429e02['getUnitId'](),_0x591ff9=await this[_0x2a9d3f(0x386)](_0xa18448);this[_0x2a9d3f(0x359)][_0x2a9d3f(0x367)](_0x591ff9),this[_0x2a9d3f(0x27e)][_0x2a9d3f(0x214)](_0xa18448,_0x591ff9);}),_0x25ffe0['merge'](this[_0x35b5a5(0x197)][_0x35b5a5(0x233)](_0x4daaee[_0x35b5a5(0x192)][_0x35b5a5(0x1ee)]),this[_0x35b5a5(0x197)][_0x35b5a5(0x233)](_0x4daaee['UniverInstanceType'][_0x35b5a5(0x1cf)]))['pipe'](_0x25ffe0[_0x35b5a5(0x274)](this[_0x35b5a5(0x254)]))[_0x35b5a5(0x287)](_0x5bdde2=>{const _0x38aed3=_0x35b5a5,_0x1d656c=_0x5bdde2[_0x38aed3(0x24c)](),_0x3654d0=this[_0x38aed3(0x27e)][_0x38aed3(0x237)](_0x1d656c);_0x3654d0&&(_0x3654d0[_0x38aed3(0x251)](),this['_entities'][_0x38aed3(0x178)](_0x1d656c));});}async[_0x2000b7(0x260)](_0x2322f2){const _0x3bb9b8=_0x2000b7,_0x50d1bb=await this[_0x3bb9b8(0x219)][_0x3bb9b8(0x323)](_0x2322f2),_0xd43110=this['_injector']['createInstance'](_0x2db49b,_0x2322f2,_0x50d1bb);return _0xd43110[_0x3bb9b8(0x2bc)](),_0xd43110;}async[_0x2000b7(0x386)](_0x1b202e){const _0x581df7=_0x2000b7,_0x268cdc=await this[_0x581df7(0x219)][_0x581df7(0x323)](_0x1b202e),_0x10cc88=this[_0x581df7(0x2e3)]['createInstance'](_0x5ee8b4,_0x1b202e,_0x268cdc);return _0x10cc88[_0x581df7(0x2bc)](),_0x10cc88;}};_0x5bba6c=_0x1d6761([_0x5b7ec9(0x0,_0x4daaee[_0x2000b7(0x1df)]),_0x5b7ec9(0x1,_0x4daaee[_0x2000b7(0x393)](_0x4daaee[_0x2000b7(0x248)])),_0x5b7ec9(0x2,_0x4daaee[_0x2000b7(0x393)](_0x1a23f6[_0x2000b7(0x158)]))],_0x5bba6c);const _0x19e71f=0x14,_0x5b4dba=0xc8,_0x19d91e=0x4,_0xab8434=0x5;function _0x235c3b(_0x139a12,_0x1eb237){const _0x580ee4=_0x2000b7;let {radius:_0x219f83,width:_0xc21b2a,height:_0x2ce1eb}=_0x1eb237;_0x219f83=_0x219f83!=null?_0x219f83:0x0,_0xc21b2a=_0xc21b2a!=null?_0xc21b2a:0x1e,_0x2ce1eb=_0x2ce1eb!=null?_0x2ce1eb:0x1e;let _0x158652=0x0,_0x1924be=0x0,_0x1a2346=0x0;_0x158652=_0x1924be=_0x1a2346=Math[_0x580ee4(0x1ec)](_0x219f83,_0xc21b2a/0x2,_0x2ce1eb/0x2),_0x139a12[_0x580ee4(0x282)](),_0x139a12['moveTo'](_0x158652,0x0),_0x139a12[_0x580ee4(0x238)](_0xc21b2a-_0x1924be,0x0),_0x139a12[_0x580ee4(0x279)](_0xc21b2a-_0x1924be,_0x1924be,_0x1924be,Math['PI']*0x3/0x2,0x0,!0x1),_0x139a12['lineTo'](_0xc21b2a,_0x2ce1eb-_0x1a2346),_0x139a12['arc'](_0xc21b2a-_0x1a2346,_0x2ce1eb-_0x1a2346,_0x1a2346,0x0,Math['PI']/0x2,!0x1),_0x139a12[_0x580ee4(0x238)](0x0,_0x2ce1eb),_0x139a12[_0x580ee4(0x238)](0x0,_0x158652),_0x139a12[_0x580ee4(0x279)](_0x158652,_0x158652,_0x158652,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x139a12[_0x580ee4(0x300)](),_0x1eb237['fill']&&(_0x139a12[_0x580ee4(0x162)](),_0x139a12[_0x580ee4(0x2e9)]=_0x1eb237[_0x580ee4(0x124)],_0x1eb237[_0x580ee4(0x2d2)]===_0x580ee4(0x28f)?_0x139a12[_0x580ee4(0x124)](_0x580ee4(0x28f)):_0x139a12[_0x580ee4(0x124)](),_0x139a12[_0x580ee4(0x1a4)]());}class _0x375aeb extends _0x516e6e[_0x2000b7(0x37a)]{constructor(_0x49d50d,_0x575484){const _0x4b1d55=_0x2000b7;super(_0x49d50d,_0x575484),_0x5ab58f(this,'color'),_0x5ab58f(this,_0x4b1d55(0x19e)),(this['color']=_0x575484==null?void 0x0:_0x575484[_0x4b1d55(0x217)],this[_0x4b1d55(0x19e)]=_0x575484==null?void 0x0:_0x575484[_0x4b1d55(0x19e)]);}static[_0x2000b7(0x2b7)](_0x60f3dd,_0x2ff042){const _0x1a5ffb=_0x2000b7,{text:_0x50fb69,color:_0x2eb146}=_0x2ff042;_0x60f3dd[_0x1a5ffb(0x162)](),_0x60f3dd[_0x1a5ffb(0x1bc)]=_0x1a5ffb(0x16f);const _0x194954=_0x60f3dd[_0x1a5ffb(0x38a)](_0x50fb69)['width'],_0xbc2d9a=Math['min'](_0x194954+0x2*_0x19d91e,_0x5b4dba);_0x235c3b(_0x60f3dd,{'height':_0x19e71f,'radius':0x4,'width':_0xbc2d9a,'fill':_0x2eb146}),_0x60f3dd[_0x1a5ffb(0x2e9)]='#FFF';const _0x5b4756=_0x19d91e,_0x58fec0=_0x19e71f-_0xab8434,_0x9e87fd=_0x5b4dba-0x2*_0x19d91e;if(_0x194954>_0x9e87fd){let _0x58fccb='',_0x2c3fc0=0x0;for(const _0x314d48 of _0x50fb69){const _0x4daae4=_0x60f3dd['measureText'](_0x314d48)['width'];if(_0x2c3fc0+_0x4daae4<=_0x9e87fd-_0x60f3dd['measureText'](_0x1a5ffb(0x179))[_0x1a5ffb(0x306)])_0x58fccb+=_0x314d48,_0x2c3fc0+=_0x4daae4;else{_0x58fccb+=_0x1a5ffb(0x179);break;}}_0x60f3dd[_0x1a5ffb(0x369)](_0x58fccb,_0x5b4756,_0x58fec0);}else _0x60f3dd['fillText'](_0x50fb69,_0x5b4756,_0x58fec0);_0x60f3dd[_0x1a5ffb(0x1a4)]();}[_0x2000b7(0x1e2)](_0x8aadcf){const _0x122830=_0x2000b7;_0x375aeb[_0x122830(0x2b7)](_0x8aadcf,this);}}const _0x388735='collab-text-anchor-',_0x322265=_0x2000b7(0x1e0),_0x571909=_0x2000b7(0x308),_0x5e1858=0x6,_0x31fa15=1.5,_0x132590=0x4,_0xa880c0=1.5,_0x4654c8=_0x2000b7(0x11f);class _0x41dbdd{constructor(_0x3f5fcb,_0x3fc82b,_0x30d905,_0x279149){const _0x96f19e=_0x2000b7;_0x5ab58f(this,'_shapes',[]),_0x5ab58f(this,'_anchor',null),_0x5ab58f(this,_0x96f19e(0x339),null),_0x5ab58f(this,'_anchorDot',null),_0x5ab58f(this,_0x96f19e(0x390),null),_0x5ab58f(this,_0x96f19e(0x377),null),(this[_0x96f19e(0x31c)]=_0x3f5fcb,this[_0x96f19e(0x2da)]=_0x3fc82b,this['_docSkeleton']=_0x30d905,this['_document']=_0x279149,this[_0x96f19e(0x361)]());}set['_hover'](_0x2a756c){const _0xc75b76=_0x2000b7;_0x2a756c?(this[_0xc75b76(0x12d)]&&this[_0xc75b76(0x12d)][_0xc75b76(0x1f5)](),this[_0xc75b76(0x339)]&&this[_0xc75b76(0x339)][_0xc75b76(0x32c)]()):(this[_0xc75b76(0x12d)]&&this[_0xc75b76(0x12d)][_0xc75b76(0x32c)](),this[_0xc75b76(0x339)]&&this['_textBubble'][_0xc75b76(0x1f5)]());}[_0x2000b7(0x251)](){const _0x33954b=_0x2000b7;for(const _0x4acc69 of this[_0x33954b(0x331)])_0x4acc69[_0x33954b(0x251)]();this[_0x33954b(0x339)]&&this[_0x33954b(0x339)][_0x33954b(0x251)](),this['_anchorDot']&&this[_0x33954b(0x12d)][_0x33954b(0x251)](),this['_anchor']&&this[_0x33954b(0x2a7)][_0x33954b(0x251)](),this[_0x33954b(0x377)]&&this[_0x33954b(0x377)]();}['_render'](){const _0x1bab01=_0x2000b7;var _0xdbbb34;const {_docSkeleton:_0x55b49d,_document:_0x22d30d}=this,{color:_0x5dfe72,name:_0x5d1887,ranges:_0x362efa}=this[_0x1bab01(0x31c)],_0x364736=_0x22d30d['getOffsetConfig'](),{docsLeft:_0x4f44e2,docsTop:_0x1413df}=_0x364736,_0xa21e1b=new _0x3a7962['NodePositionConvertToCursor'](_0x364736,_0x55b49d);for(const {startOffset:_0x4f3447,endOffset:_0x452bfa,rangeType:_0x215ded,segmentId:_0x5339da,segmentPage:_0x4869b3,collapsed:_0x230810,isActive:_0x3ab5ea}of _0x362efa){const _0x370f38=_0x55b49d[_0x1bab01(0x25c)](_0x4f3447,!0x0,_0x5339da,_0x4869b3);let _0x20f14f=_0x55b49d['findNodePositionByCharIndex'](_0x452bfa,!0x0,_0x5339da,_0x4869b3);if(_0x20f14f==null&&(_0x20f14f=_0x55b49d['findNodePositionByCharIndex'](_0x452bfa-0x1,!0x1,_0x5339da,_0x4869b3)),_0x3ab5ea){const {contentBoxPointGroup:_0x112c4a}=_0xa21e1b['getRangePointData'](_0x20f14f,_0x20f14f);if(_0x112c4a[_0x1bab01(0x299)]===0x0)continue;this['_drawAnchor'](_0x5dfe72,_0x112c4a,_0x4f44e2,_0x1413df,_0x5d1887),this[_0x1bab01(0x377)]=this[_0x1bab01(0x14b)]();}if(_0x370f38&&_0x20f14f){if(_0x215ded===_0x4daaee[_0x1bab01(0x236)][_0x1bab01(0x2d3)]){const _0x3f1950=new _0x3a7962[(_0x1bab01(0x1a0))](_0x364736,_0x55b49d),{pointGroup:_0x47802e}=(_0xdbbb34=_0x3f1950[_0x1bab01(0x333)](_0x370f38,_0x20f14f))!=null?_0xdbbb34:{};if(_0x47802e==null||_0x47802e[_0x1bab01(0x299)]===0x0)continue;this['_drawRectRange'](_0x5dfe72,_0x47802e,_0x4f44e2,_0x1413df);}else{if(!_0x230810){const {borderBoxPointGroup:_0x5818f5}=_0xa21e1b[_0x1bab01(0x333)](_0x370f38,_0x20f14f);if(_0x5818f5['length']===0x0)continue;this['_drawTextRange'](_0x5dfe72,_0x5818f5,_0x4f44e2,_0x1413df);}}}}}['_drawAnchor'](_0x49a7f1,_0x375f73,_0x5375cc,_0x3f07b4,_0x10843a){const _0x444278=_0x2000b7,_0x39a03b=this[_0x444278(0x357)](_0x375f73),{left:_0x5c96c6,top:_0x131656,height:_0x2821a8}=_0x39a03b,_0x4d5429=this['_getScale'](),_0x14365d=_0xa880c0/_0x4d5429,_0x858ca3=new _0x516e6e[(_0x444278(0x304))](_0x388735+_0x4daaee[_0x444278(0x1e6)][_0x444278(0x309)](_0x5e1858),{'left':_0x5c96c6+_0x5375cc-_0x14365d,'top':_0x131656+_0x3f07b4,'height':_0x2821a8,'width':_0x31fa15,'fill':_0x49a7f1||_0x516e6e[_0x444278(0x2e2)](_0x4daaee[_0x444278(0x186)][_0x444278(0x1b9)],0x0),'strokeWidth':_0x14365d,'stroke':_0x4654c8,'evented':!0x0});this[_0x444278(0x2a7)]=_0x858ca3,this[_0x444278(0x2da)][_0x444278(0x240)](_0x858ca3,_0x3a7962[_0x444278(0x157)]);const _0x3c778d=new _0x516e6e[(_0x444278(0x304))](_0x388735+_0x4daaee['Tools']['generateRandomId'](_0x5e1858),{'left':_0x5c96c6+_0x5375cc-_0x14365d,'top':_0x131656+_0x3f07b4-_0x132590/0x2,'height':_0x132590,'width':_0x132590,'fill':_0x49a7f1||_0x516e6e[_0x444278(0x2e2)](_0x4daaee['COLORS'][_0x444278(0x1b9)],0x0),'strokeWidth':0x0,'stroke':_0x49a7f1||_0x516e6e[_0x444278(0x2e2)](_0x4daaee[_0x444278(0x186)]['black'],0x0),'evented':!0x1});this[_0x444278(0x12d)]=_0x3c778d,this[_0x444278(0x2da)][_0x444278(0x240)](_0x3c778d,_0x3a7962[_0x444278(0x157)]);const _0x12df91=new _0x375aeb(_0x388735+_0x4daaee[_0x444278(0x1e6)][_0x444278(0x309)](_0x5e1858),{'left':_0x5c96c6+_0x5375cc-_0x14365d,'top':_0x131656+_0x3f07b4-_0x19e71f,'text':_0x10843a,'color':_0x49a7f1});this[_0x444278(0x339)]=_0x12df91,this[_0x444278(0x2da)][_0x444278(0x240)](_0x12df91,_0x3a7962[_0x444278(0x157)]),this[_0x444278(0x24b)]=!0x1;}[_0x2000b7(0x14b)](){const _0x2df62c=_0x2000b7,_0x3515b2=this[_0x2df62c(0x2a7)][_0x2df62c(0x347)][_0x2df62c(0x176)](()=>{const _0x4e1529=_0x2df62c;this[_0x4e1529(0x24b)]=!0x0;}),_0x1ee832=this[_0x2df62c(0x2a7)]['onPointerLeave$']['subscribeEvent'](()=>{const _0x37af4d=_0x2df62c;this[_0x37af4d(0x390)]&&clearTimeout(this[_0x37af4d(0x390)]),this[_0x37af4d(0x390)]=setTimeout(()=>{const _0x4376ff=_0x37af4d;this[_0x4376ff(0x24b)]=!0x1;},0x7d0);});return()=>{const _0x31549f=_0x2df62c;_0x3515b2[_0x31549f(0x1f2)](),_0x1ee832[_0x31549f(0x1f2)]();};}['_drawTextRange'](_0x4f810e,_0x21010f,_0x12d2c5,_0x5537da){const _0x3853a7=_0x2000b7,_0x423c0b=new _0x4daaee[(_0x3853a7(0x2c9))](_0x4f810e)['setAlpha'](0.2)[_0x3853a7(0x1d5)](),_0x41dca6=new _0x516e6e[(_0x3853a7(0x2f4))](_0x322265+_0x4daaee[_0x3853a7(0x1e6)]['generateRandomId'](_0x5e1858),{'pointsGroup':_0x21010f,'fill':_0x423c0b||_0x516e6e[_0x3853a7(0x2e2)](_0x4daaee[_0x3853a7(0x186)][_0x3853a7(0x1b9)],0.2),'left':_0x12d2c5,'top':_0x5537da,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3853a7(0x331)][_0x3853a7(0x35d)](_0x41dca6),this[_0x3853a7(0x2da)][_0x3853a7(0x240)](_0x41dca6,_0x3a7962[_0x3853a7(0x157)]);}['_drawRectRange'](_0x102b7f,_0x441733,_0x4d7aef,_0x22b7c){const _0x32d7fb=_0x2000b7,_0x4f4f06=new _0x4daaee['ColorKit'](_0x102b7f)[_0x32d7fb(0x122)](0.2)[_0x32d7fb(0x1d5)](),_0x2111eb=new _0x516e6e[(_0x32d7fb(0x2f4))](_0x571909+_0x4daaee[_0x32d7fb(0x1e6)][_0x32d7fb(0x309)](_0x5e1858),{'pointsGroup':_0x441733,'fill':_0x4f4f06||_0x516e6e[_0x32d7fb(0x2e2)](_0x4daaee[_0x32d7fb(0x186)]['black'],0.2),'left':_0x4d7aef,'top':_0x22b7c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x32d7fb(0x331)]['push'](_0x2111eb),this[_0x32d7fb(0x2da)][_0x32d7fb(0x240)](_0x2111eb,_0x3a7962['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x5496d5){const _0x504ea7=_0x5496d5[0x0],_0x1b9885=_0x504ea7[0x0],_0x46bdd0=_0x504ea7[0x2],{x:_0x5909f1,y:_0x38aff6}=_0x1b9885,{x:_0x1a5223,y:_0x451c33}=_0x46bdd0;return{'left':_0x5909f1,'top':_0x38aff6,'width':_0x1a5223-_0x5909f1,'height':_0x451c33-_0x38aff6};}['_getScale'](){const _0x3626dd=_0x2000b7,{scaleX:_0x3cd160,scaleY:_0x1fa87e}=this[_0x3626dd(0x2da)][_0x3626dd(0x36d)]();return Math[_0x3626dd(0x2d4)](_0x3cd160,_0x1fa87e);}}var _0x2c4be5=Object[_0x2000b7(0x391)],_0x4192ac=(_0x426a66,_0x425309,_0x530b54,_0x1c2983)=>{for(var _0x13d30e=_0x1c2983>0x1?void 0x0:_0x1c2983?_0x2c4be5(_0x425309,_0x530b54):_0x425309,_0x40d873=_0x426a66['length']-0x1,_0x1a8a99;_0x40d873>=0x0;_0x40d873--)(_0x1a8a99=_0x426a66[_0x40d873])&&(_0x13d30e=_0x1a8a99(_0x13d30e)||_0x13d30e);return _0x13d30e;},_0x497466=(_0x4ea63b,_0x2b64b5)=>(_0x223fef,_0x485af8)=>_0x2b64b5(_0x223fef,_0x485af8,_0x4ea63b);let _0x76b9ec=class extends _0x4daaee['RxDisposable']{constructor(_0x4eb7c6,_0xfcced,_0x57c4a4,_0x1883d6,_0x2ee82e){const _0x428dcf=_0x2000b7;super(),_0x5ab58f(this,_0x428dcf(0x1cc),[]),_0x5ab58f(this,_0x428dcf(0x363),[]),(this['_context']=_0x4eb7c6,this[_0x428dcf(0x265)]=_0xfcced,this[_0x428dcf(0x2e1)]=_0x57c4a4,this['_commandService']=_0x1883d6,this[_0x428dcf(0x31f)]=_0x2ee82e,this[_0x428dcf(0x1f3)]());}['_init'](){const _0x1df7b0=_0x2000b7,_0x58b747=this['_context'][_0x1df7b0(0x26b)],_0x454135=this['_docSkeletonManagerService'];this[_0x1df7b0(0x16c)](_0x25ffe0[_0x1df7b0(0x28d)]([this[_0x1df7b0(0x2e1)][_0x1df7b0(0x23b)](_0x58b747),this[_0x1df7b0(0x31f)][_0x1df7b0(0x231)]])[_0x1df7b0(0x213)](_0x52817c[_0x1df7b0(0x174)](([_0x448415,_0x51d4c5])=>({'skeleton':_0x454135[_0x1df7b0(0x354)](),'cursors':[..._0x448415[_0x1df7b0(0x2e8)]()][_0x1df7b0(0x35c)](_0x4b2785=>({..._0x4b2785,'color':_0x51d4c5[_0x4b2785[_0x1df7b0(0x217)]]}))})))[_0x1df7b0(0x287)](_0x45b6fa=>{const _0x5d1bd3=_0x1df7b0;if(this[_0x5d1bd3(0x275)](),_0x45b6fa){const {skeleton:_0x33ab2e,cursors:_0x36589c}=_0x45b6fa;this['_updateCollabCursors'](_0x33ab2e,_0x36589c);}})),this['_initResize'](),this[_0x1df7b0(0x2ea)]();}[_0x2000b7(0x291)](_0x596428,_0x609ec6){const _0x35b5b5=_0x2000b7,{scene:_0x154042,mainComponent:_0x423f2d}=this[_0x35b5b5(0x2a5)],_0x74b31a=_0x609ec6[_0x35b5b5(0x174)](_0x59b643=>new _0x41dbdd(_0x59b643,_0x154042,_0x596428,_0x423f2d));this[_0x35b5b5(0x1cc)]=_0x74b31a,this[_0x35b5b5(0x363)]=_0x609ec6;}['_refreshCollabCursors'](){const _0x1809c6=_0x2000b7;this[_0x1809c6(0x275)]();const {scene:_0x16f067,mainComponent:_0x17469b}=this[_0x1809c6(0x2a5)],_0xa403f4=this[_0x1809c6(0x265)][_0x1809c6(0x354)](),_0x2d7239=this[_0x1809c6(0x363)][_0x1809c6(0x174)](_0x584c87=>new _0x41dbdd(_0x584c87,_0x16f067,_0xa403f4,_0x17469b));this['_cursorShapes']=_0x2d7239;}[_0x2000b7(0x275)](){const _0x34b636=_0x2000b7;this[_0x34b636(0x1cc)][_0x34b636(0x20c)](_0xfbdb8c=>_0xfbdb8c['dispose']()),this['_cursorShapes']=[];}[_0x2000b7(0x2ea)](){const _0x13ddc7=_0x2000b7,_0x3d316d=[_0x3a7962[_0x13ddc7(0x30b)]['id']];this['disposeWithMe'](this['_commandService'][_0x13ddc7(0x24f)](_0xb9ba91=>{const _0x3e1ca7=_0x13ddc7;_0x3d316d[_0x3e1ca7(0x1c7)](_0xb9ba91['id'])&&_0xb9ba91[_0x3e1ca7(0x335)]['unitId']===this[_0x3e1ca7(0x2a5)][_0x3e1ca7(0x26b)]&&this[_0x3e1ca7(0x35f)]();}));}[_0x2000b7(0x1de)](){const _0xe81799=_0x2000b7;this['disposeWithMe'](_0x4daaee['fromEventSubject'](this[_0xe81799(0x2a5)][_0xe81799(0x389)][_0xe81799(0x2dc)])[_0xe81799(0x213)](_0x52817c[_0xe81799(0x252)](_0x32a039=>_0x32a039[_0xe81799(0x203)]===_0x516e6e[_0xe81799(0x28a)][_0xe81799(0x2db)]),_0x52817c[_0xe81799(0x22a)](0x10))[_0xe81799(0x287)](()=>{this['_refreshCollabCursors']();}));}};_0x76b9ec=_0x4192ac([_0x497466(0x1,_0x4daaee[_0x2000b7(0x393)](_0x117c25[_0x2000b7(0x2e5)])),_0x497466(0x2,_0x4daaee[_0x2000b7(0x393)](_0x5bba6c)),_0x497466(0x3,_0x4daaee[_0x2000b7(0x2b3)]),_0x497466(0x4,_0x4daaee[_0x2000b7(0x393)](_0x4daaee['ThemeService']))],_0x76b9ec);const _0x212774=0x1,_0x40ea67=1.5;class _0x195c54 extends _0x516e6e[_0x2000b7(0x37a)]{constructor(_0x5a255f,_0x15f4b5){const _0x2a29ce=_0x2000b7;super(_0x5a255f,_0x15f4b5),_0x5ab58f(this,_0x2a29ce(0x228)),_0x5ab58f(this,_0x2a29ce(0x334),!0x1),_0x5ab58f(this,_0x2a29ce(0x36a)),_0x5ab58f(this,_0x2a29ce(0x180),''),_0x5ab58f(this,_0x2a29ce(0x257),'top'),_0x5ab58f(this,_0x2a29ce(0x342)),(_0x15f4b5&&this[_0x2a29ce(0x145)](_0x15f4b5),this[_0x2a29ce(0x347)][_0x2a29ce(0x176)](()=>this[_0x2a29ce(0x145)]({'hovered':!0x0})),this['onPointerLeave$'][_0x2a29ce(0x176)](()=>this[_0x2a29ce(0x145)]({'hovered':!0x1})));}['setShapeProps'](_0x203a69){const _0x3b53b9=_0x2000b7;var _0x2e00dc,_0x47c223,_0x436041,_0x340e9c,_0x51fe9a,_0x5583e3;this[_0x3b53b9(0x228)]=(_0x2e00dc=_0x203a69[_0x3b53b9(0x217)])!=null?_0x2e00dc:this['_color'],this[_0x3b53b9(0x334)]=(_0x47c223=_0x203a69[_0x3b53b9(0x380)])!=null?_0x47c223:this[_0x3b53b9(0x334)],this[_0x3b53b9(0x36a)]=(_0x436041=_0x203a69[_0x3b53b9(0x2b5)])!=null?_0x436041:this['_range'],this['_name']=(_0x340e9c=_0x203a69[_0x3b53b9(0x212)])!=null?_0x340e9c:this[_0x3b53b9(0x180)],this[_0x3b53b9(0x257)]=(_0x51fe9a=_0x203a69[_0x3b53b9(0x21c)])!=null?_0x51fe9a:this[_0x3b53b9(0x257)],this[_0x3b53b9(0x342)]=(_0x5583e3=_0x203a69[_0x3b53b9(0x111)])!=null?_0x5583e3:this[_0x3b53b9(0x342)],this[_0x3b53b9(0x289)]({'width':_0x203a69['width'],'height':_0x203a69[_0x3b53b9(0x1dc)]});}[_0x2000b7(0x350)](_0x5bebaa){const _0x577d83=_0x2000b7,{row:_0x2a8d04,column:_0x5d9e18}=_0x5bebaa;if(_0x2a8d04>=this[_0x577d83(0x36a)][_0x577d83(0x351)]&&_0x2a8d04<=this[_0x577d83(0x36a)][_0x577d83(0x166)]&&_0x5d9e18>=this[_0x577d83(0x36a)]['startColumn']&&_0x5d9e18<=this[_0x577d83(0x36a)][_0x577d83(0x136)]){this[_0x577d83(0x145)]({'hovered':!0x0});return;}this[_0x577d83(0x145)]({'hovered':!0x1});}[_0x2000b7(0x193)](_0x9cd20){return!0x1;}[_0x2000b7(0x1e2)](_0x59f1ee){const _0x5e5206=_0x2000b7;_0x516e6e[_0x5e5206(0x304)][_0x5e5206(0x2b7)](_0x59f1ee,{'width':this[_0x5e5206(0x306)],'height':this['height'],'strokeWidth':_0x40ea67,'stroke':this[_0x5e5206(0x228)],'evented':!0x1,'fill':this[_0x5e5206(0x342)]}),this[_0x5e5206(0x334)]&&(_0x59f1ee['save'](),_0x59f1ee['transform'](0x1,0x0,0x0,0x1,this[_0x5e5206(0x306)],this[_0x5e5206(0x257)]===_0x5e5206(0x14d)?0x0:-0x14),_0x375aeb[_0x5e5206(0x2b7)](_0x59f1ee,{'text':this[_0x5e5206(0x180)],'color':this[_0x5e5206(0x228)]}),_0x59f1ee[_0x5e5206(0x1a4)]());}}var _0x1b537b=Object[_0x2000b7(0x391)],_0xe56d01=(_0x42a115,_0x2f8d8e,_0x3d6256,_0x5d89c5)=>{const _0x33b94e=_0x2000b7;for(var _0xb77854=_0x5d89c5>0x1?void 0x0:_0x5d89c5?_0x1b537b(_0x2f8d8e,_0x3d6256):_0x2f8d8e,_0x37e812=_0x42a115[_0x33b94e(0x299)]-0x1,_0x17ed2d;_0x37e812>=0x0;_0x37e812--)(_0x17ed2d=_0x42a115[_0x37e812])&&(_0xb77854=_0x17ed2d(_0xb77854)||_0xb77854);return _0xb77854;},_0x231599=(_0x1ca9da,_0x4f9ff5)=>(_0x1bac63,_0x2a7511)=>_0x4f9ff5(_0x1bac63,_0x2a7511,_0x1ca9da);const _0x3f1d9a=0x1389;let _0x21e388=class extends _0x4daaee[_0x2000b7(0x310)]{constructor(_0x378558,_0x2922f2,_0x58f644,_0x83e9b8){const _0x1995c1=_0x2000b7;super(),_0x5ab58f(this,_0x1995c1(0x363),new Set()),_0x5ab58f(this,_0x1995c1(0x2bd),null),(this[_0x1995c1(0x2a5)]=_0x378558,this[_0x1995c1(0x379)]=_0x2922f2,this[_0x1995c1(0x2e1)]=_0x58f644,this[_0x1995c1(0x31f)]=_0x83e9b8,this[_0x1995c1(0x1f3)]());}[_0x2000b7(0x1f3)](){const _0x200208=_0x2000b7;this[_0x200208(0x379)][_0x200208(0x1a5)][_0x200208(0x213)](_0x52817c['takeUntil'](this[_0x200208(0x254)]),_0x52817c[_0x200208(0x1ab)](_0x157821=>{const _0x3846e4=_0x200208;if(_0x157821){const _0x4d0cea=_0x157821[_0x3846e4(0x21f)];return _0x25ffe0[_0x3846e4(0x28d)](this[_0x3846e4(0x2e1)][_0x3846e4(0x23b)](this[_0x3846e4(0x2a5)][_0x3846e4(0x26b)]),this[_0x3846e4(0x31f)]['currentTheme$'])[_0x3846e4(0x213)](_0x52817c[_0x3846e4(0x174)](([_0xc18378,_0x1ee3bb])=>{const _0x4ccdd5=new Map();return _0xc18378['forEach']((_0x4e2a0c,_0x84b144)=>{const _0x3e9b6b=_0x1203;if(_0x4e2a0c[_0x3e9b6b(0x1c9)]===_0x4d0cea){const _0x1b75da={..._0x4e2a0c};_0x1b75da[_0x3e9b6b(0x217)]=_0x1ee3bb[_0x4e2a0c[_0x3e9b6b(0x217)]],_0x4ccdd5[_0x3e9b6b(0x214)](_0x84b144,_0x1b75da);}}),{'skeleton':_0x157821,'cursors':_0x4ccdd5};}));}return _0x25ffe0['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x424a19,cursors:_0x30f55b})=>{const _0x47403e=_0x200208;this[_0x47403e(0x275)](),_0x424a19&&this[_0x47403e(0x291)](_0x424a19,_0x30f55b);}),this[_0x200208(0x379)][_0x200208(0x1a5)][_0x200208(0x287)](_0x505454=>{const _0x4169c1=_0x200208;if(_0x505454==null)return;const {skeleton:_0x3f8266}=_0x505454,{scene:_0x52e314}=this[_0x4169c1(0x2a5)];_0x52e314[_0x4169c1(0x173)][_0x4169c1(0x176)](_0x4daaee[_0x4169c1(0x2f1)](_0x46f148=>{const _0x2e9a43=_0x4169c1;var _0x482f61,_0x1c839f;const {offsetX:_0x4b3755,offsetY:_0x17963a}=_0x46f148,{x:_0x4646d9,y:_0x3cd44a}=_0x52e314[_0x2e9a43(0x2ad)](_0x516e6e[_0x2e9a43(0x396)]['FromArray']([_0x4b3755,_0x17963a])),{scaleX:_0x3b815d,scaleY:_0x4331a2}=_0x52e314['getAncestorScale'](),_0x52c0ea=_0x52e314[_0x2e9a43(0x2f9)](_0x516e6e['SHEET_VIEWPORT_KEY']['VIEW_MAIN']),_0xf92807=_0x52e314[_0x2e9a43(0x1cd)](_0x516e6e['Vector2']['FromArray']([_0x4646d9,_0x3cd44a]),_0x52c0ea),_0x3c7e38=_0x3f8266['getCellPositionByOffset'](_0x4b3755,_0x17963a,_0x3b815d,_0x4331a2,_0xf92807);((_0x482f61=this[_0x2e9a43(0x2bd)])==null?void 0x0:_0x482f61[_0x2e9a43(0x2c3)])===_0x3c7e38['column']&&((_0x1c839f=this[_0x2e9a43(0x2bd)])==null?void 0x0:_0x1c839f[_0x2e9a43(0x27d)])===_0x3c7e38[_0x2e9a43(0x27d)]||this[_0x2e9a43(0x363)][_0x2e9a43(0x20c)](_0x214b1e=>{const _0x2f29c9=_0x2e9a43;_0x214b1e[_0x2f29c9(0x350)](_0x3c7e38);});},0x64));});}['_updateCollabCursors'](_0x4ae591,_0x112a93){const _0x1fc8cc=_0x2000b7;var _0x357091;const _0x3f33ea=(_0x357091=this[_0x1fc8cc(0x379)][_0x1fc8cc(0x132)]())==null?void 0x0:_0x357091[_0x1fc8cc(0x255)];if(!_0x3f33ea)return;const _0x190a6f=this[_0x1fc8cc(0x1c0)]();if(!_0x190a6f)return;this[_0x1fc8cc(0x363)][_0x1fc8cc(0x20c)](_0x14ff68=>{const _0x582a91=_0x1fc8cc;_0x14ff68[_0x582a91(0x1d3)]();});const {scene:_0x258050}=_0x190a6f,_0x3fba65=_0x55bf6e(Array[_0x1fc8cc(0x2d7)](_0x112a93['values']()))['map'](_0x4f1500=>{const _0x13faf3=_0x1fc8cc,{color:_0x31eb71,range:_0x442945,name:_0x1a57d2,selection:_0x40c880,sheetID:_0x5893c1}=_0x4f1500,{startColumn:_0x25628e,startRow:_0x286531,endColumn:_0x61110e,endRow:_0x1020aa}=_0x442945,_0x4913c8=_0x586155[_0x13faf3(0x18c)](_0x286531,_0x25628e,_0x258050,_0x3f33ea),_0x46a00a=_0x586155[_0x13faf3(0x18c)](_0x1020aa,_0x61110e,_0x258050,_0x3f33ea),{columnHeaderHeightAndMarginTop:_0xfaf4d4}=_0x3f33ea,{startX:_0x2ffb2b,startY:_0x133cf9}=_0x4913c8,{endX:_0x5e4671,endY:_0x3f7ed1}=_0x46a00a,_0x329e3a=_0x5e4671-_0x2ffb2b,_0x21104b=_0x3f7ed1-_0x133cf9,_0x2a0065={'labelPosition':_0x133cf9-_0xfaf4d4>=_0x19e71f?_0x13faf3(0x2a6):_0x13faf3(0x14d),'sheetID':_0x5893c1,'range':_0x442945,'color':_0x31eb71,'name':_0x1a57d2,'selection':_0x40c880,'left':_0x2ffb2b,'top':_0x133cf9,'width':_0x329e3a,'height':_0x21104b,'evented':!0x1,'zIndex':_0x3f1d9a};return new _0x195c54(_0x1a57d2,_0x2a0065);});_0x258050[_0x1fc8cc(0x39a)](_0x3fba65,_0x212774),this[_0x1fc8cc(0x363)]=new Set(_0x3fba65);}['_removeCollabCursors'](){const _0x25c566=_0x2000b7;var _0x3e865d;(_0x3e865d=this['_cursors'])==null||_0x3e865d[_0x25c566(0x20c)](_0x41bc44=>_0x41bc44[_0x25c566(0x251)]());}[_0x2000b7(0x1c0)](){const _0x474594=_0x2000b7;return _0x586155[_0x474594(0x26e)](this['_context']['unit'],this[_0x474594(0x2a5)]);}};_0x21e388=_0xe56d01([_0x231599(0x1,_0x4daaee[_0x2000b7(0x393)](_0x586155[_0x2000b7(0x22e)])),_0x231599(0x2,_0x4daaee[_0x2000b7(0x393)](_0x5bba6c)),_0x231599(0x3,_0x4daaee[_0x2000b7(0x393)](_0x4daaee[_0x2000b7(0x2b1)]))],_0x21e388);function _0x55bf6e(_0x1c3f81){const _0x30af9c=_0x2000b7,_0x14e1c7=new Map();return _0x1c3f81['forEach'](_0x4e0a4f=>{const _0x5d78fc=_0x1203;if(_0x14e1c7[_0x5d78fc(0x263)](_0x4e0a4f[_0x5d78fc(0x2d0)])){const _0x31deb1=_0x14e1c7[_0x5d78fc(0x237)](_0x4e0a4f[_0x5d78fc(0x2d0)]);_0x31deb1[_0x5d78fc(0x212)]+=',\x20'+_0x4e0a4f[_0x5d78fc(0x212)];}else _0x14e1c7[_0x5d78fc(0x214)](_0x4e0a4f['selection'],_0x4e0a4f);}),Array['from'](_0x14e1c7[_0x30af9c(0x2e8)]());}var _0x3c6a52=function(){const _0x290acb=_0x2000b7;return _0x3c6a52=Object[_0x290acb(0x325)]||function(_0x55d4a0){const _0x94a8ad=_0x290acb;for(var _0x35f710,_0x1d22e3=0x1,_0x4a60dd=arguments[_0x94a8ad(0x299)];_0x1d22e3<_0x4a60dd;_0x1d22e3++){_0x35f710=arguments[_0x1d22e3];for(var _0x31a818 in _0x35f710)Object[_0x94a8ad(0x2e4)]['hasOwnProperty']['call'](_0x35f710,_0x31a818)&&(_0x55d4a0[_0x31a818]=_0x35f710[_0x31a818]);}return _0x55d4a0;},_0x3c6a52[_0x290acb(0x235)](this,arguments);},_0x1cde7d=function(_0x434344,_0x3a0934){const _0x5c3f1c=_0x2000b7;var _0x2ad3fb={};for(var _0x200f8d in _0x434344)Object[_0x5c3f1c(0x2e4)][_0x5c3f1c(0x13c)][_0x5c3f1c(0x36b)](_0x434344,_0x200f8d)&&_0x3a0934[_0x5c3f1c(0x38c)](_0x200f8d)<0x0&&(_0x2ad3fb[_0x200f8d]=_0x434344[_0x200f8d]);if(_0x434344!=null&&typeof Object[_0x5c3f1c(0x381)]==_0x5c3f1c(0x26a)){for(var _0x408020=0x0,_0x200f8d=Object[_0x5c3f1c(0x381)](_0x434344);_0x408020<_0x200f8d['length'];_0x408020++)_0x3a0934[_0x5c3f1c(0x38c)](_0x200f8d[_0x408020])<0x0&&Object[_0x5c3f1c(0x2e4)][_0x5c3f1c(0x1c3)][_0x5c3f1c(0x36b)](_0x434344,_0x200f8d[_0x408020])&&(_0x2ad3fb[_0x200f8d[_0x408020]]=_0x434344[_0x200f8d[_0x408020]]);}return _0x2ad3fb;},_0x1c88a6=_0x2f0a38[_0x2000b7(0x324)](function(_0x2c8249,_0x3dac73){const _0x4d2b01=_0x2000b7;var _0x1db9cb=_0x2c8249[_0x4d2b01(0x17b)],_0x458155=_0x2c8249['id'],_0x103919=_0x2c8249['className'],_0x55f010=_0x2c8249['extend'],_0xed1811=_0x1cde7d(_0x2c8249,[_0x4d2b01(0x17b),'id','className','extend']),_0x3decfd='univerjs-icon\x20univerjs-icon-'['concat'](_0x458155,'\x20')[_0x4d2b01(0x2eb)](_0x103919||'')[_0x4d2b01(0x2f7)](),_0x42f5f6=_0x2f0a38[_0x4d2b01(0x1d7)]('_'['concat'](_0x2b60eb()));return _0x47e4fc(_0x1db9cb,''['concat'](_0x458155),{'defIds':_0x1db9cb[_0x4d2b01(0x318)],'idSuffix':_0x42f5f6[_0x4d2b01(0x1ea)]},_0x3c6a52({'ref':_0x3dac73,'className':_0x3decfd},_0xed1811),_0x55f010);});function _0x47e4fc(_0x2ca3bd,_0x30aa3b,_0x59e9b4,_0x2f937c,_0x42de9b){const _0x10ef8f=_0x2000b7;return _0x2f0a38[_0x10ef8f(0x250)](_0x2ca3bd['tag'],_0x3c6a52(_0x3c6a52({'key':_0x30aa3b},_0x2638db(_0x2ca3bd,_0x59e9b4,_0x42de9b)),_0x2f937c),(_0x2e32a4(_0x2ca3bd,_0x59e9b4)[_0x10ef8f(0x144)]||[])[_0x10ef8f(0x174)](function(_0x1cd8da,_0x22ffe2){const _0x101226=_0x10ef8f;return _0x47e4fc(_0x1cd8da,''[_0x101226(0x2eb)](_0x30aa3b,'-')['concat'](_0x2ca3bd[_0x101226(0x242)],'-')[_0x101226(0x2eb)](_0x22ffe2),_0x59e9b4,void 0x0,_0x42de9b);}));}function _0x2638db(_0x4f4618,_0x91f89,_0x599a22){const _0x1e0f7d=_0x2000b7;var _0x5caad2=_0x3c6a52({},_0x4f4618[_0x1e0f7d(0x21d)]);_0x599a22!=null&&_0x599a22[_0x1e0f7d(0x170)]&&_0x5caad2[_0x1e0f7d(0x124)]==='colorChannel1'&&(_0x5caad2[_0x1e0f7d(0x124)]=_0x599a22['colorChannel1']),_0x4f4618[_0x1e0f7d(0x242)]==='mask'&&_0x5caad2['id']&&(_0x5caad2['id']=_0x5caad2['id']+_0x91f89[_0x1e0f7d(0x294)]),Object[_0x1e0f7d(0x1fc)](_0x5caad2)[_0x1e0f7d(0x20c)](function(_0x5877e2){const _0x1128d8=_0x1e0f7d;var _0x1d78c7=_0x5877e2[0x0],_0x59ee13=_0x5877e2[0x1];_0x1d78c7===_0x1128d8(0x1bd)&&typeof _0x59ee13==_0x1128d8(0x198)&&(_0x5caad2[_0x1d78c7]=_0x59ee13[_0x1128d8(0x199)](/url\(#(.*)\)/,_0x1128d8(0x283)['concat'](_0x91f89['idSuffix'],')')));});var _0x4e2a00=_0x91f89[_0x1e0f7d(0x318)];return!_0x4e2a00||_0x4e2a00[_0x1e0f7d(0x299)]===0x0||(_0x4f4618[_0x1e0f7d(0x242)]===_0x1e0f7d(0x216)&&_0x5caad2[_0x1e0f7d(0x37f)]&&(_0x5caad2[_0x1e0f7d(0x37f)]=_0x5caad2[_0x1e0f7d(0x37f)]+_0x91f89['idSuffix']),Object[_0x1e0f7d(0x1fc)](_0x5caad2)['forEach'](function(_0x27c9d8){const _0x41c913=_0x1e0f7d;var _0x506449=_0x27c9d8[0x0],_0x352946=_0x27c9d8[0x1];typeof _0x352946==_0x41c913(0x198)&&(_0x5caad2[_0x506449]=_0x352946['replace'](/url\(#(.*)\)/,_0x41c913(0x283)[_0x41c913(0x2eb)](_0x91f89[_0x41c913(0x294)],')')));})),_0x5caad2;}function _0x2e32a4(_0xb0691c,_0x2f978c){const _0x18890c=_0x2000b7;var _0x348843,_0xc19260=_0x2f978c[_0x18890c(0x318)];return!_0xc19260||_0xc19260[_0x18890c(0x299)]===0x0?_0xb0691c:_0xb0691c[_0x18890c(0x242)]===_0x18890c(0x34d)&&(!((_0x348843=_0xb0691c[_0x18890c(0x144)])===null||_0x348843===void 0x0)&&_0x348843[_0x18890c(0x299)])?_0x3c6a52(_0x3c6a52({},_0xb0691c),{'children':_0xb0691c[_0x18890c(0x144)][_0x18890c(0x174)](function(_0x3b13b7){const _0x2a96d2=_0x18890c;return typeof _0x3b13b7[_0x2a96d2(0x21d)]['id']==_0x2a96d2(0x198)&&_0xc19260&&_0xc19260[_0x2a96d2(0x38c)](_0x3b13b7[_0x2a96d2(0x21d)]['id'])>-0x1?_0x3c6a52(_0x3c6a52({},_0x3b13b7),{'attrs':_0x3c6a52(_0x3c6a52({},_0x3b13b7[_0x2a96d2(0x21d)]),{'id':_0x3b13b7[_0x2a96d2(0x21d)]['id']+_0x2f978c[_0x2a96d2(0x294)]})}):_0x3b13b7;})}):_0xb0691c;}function _0x2b60eb(){const _0x416ed6=_0x2000b7;return Math['random']()[_0x416ed6(0x24e)](0x24)[_0x416ed6(0x18b)](0x2,0x8);}_0x1c88a6[_0x2000b7(0x14a)]='UniverIcon';var _0x488126={'tag':_0x2000b7(0x23c),'attrs':{'fill':_0x2000b7(0x1ba),'viewBox':_0x2000b7(0x28c),'width':_0x2000b7(0x23e),'height':_0x2000b7(0x23e)},'children':[{'tag':'g','attrs':{'clipPath':_0x2000b7(0x329)},'children':[{'tag':_0x2000b7(0x2bf),'attrs':{'stroke':_0x2000b7(0x2a4),'d':_0x2000b7(0x320),'strokeLinecap':_0x2000b7(0x15e),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x2000b7(0x127),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':_0x2000b7(0x23a),'d':_0x2000b7(0x183)}}]}]}],'defIds':[_0x2000b7(0x397)]},_0x38dced=_0x2f0a38[_0x2000b7(0x324)](function(_0x1c3b0f,_0x52efe1){const _0x4367a6=_0x2000b7;return _0x2f0a38['createElement'](_0x1c88a6,Object[_0x4367a6(0x325)]({},_0x1c3b0f,{'id':_0x4367a6(0x2cd),'ref':_0x52efe1,'icon':_0x488126}));});_0x38dced[_0x2000b7(0x14a)]=_0x2000b7(0x150);var _0x15caea={'tag':_0x2000b7(0x23c),'attrs':{'fill':'none','viewBox':_0x2000b7(0x2cf),'width':_0x2000b7(0x23e),'height':_0x2000b7(0x23e)},'children':[{'tag':'g','attrs':{'clipPath':_0x2000b7(0x1d2)},'children':[{'tag':_0x2000b7(0x2bf),'attrs':{'stroke':_0x2000b7(0x2a4),'d':_0x2000b7(0x160),'strokeLinecap':_0x2000b7(0x15e),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2000b7(0x34d),'attrs':{},'children':[{'tag':_0x2000b7(0x127),'attrs':{'id':_0x2000b7(0x2a0)},'children':[{'tag':_0x2000b7(0x2bf),'attrs':{'fill':'#fff','d':_0x2000b7(0x183),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x5c6f70=_0x2f0a38['forwardRef'](function(_0x26ebf5,_0x583c23){const _0x2d2ce4=_0x2000b7;return _0x2f0a38[_0x2d2ce4(0x250)](_0x1c88a6,Object[_0x2d2ce4(0x325)]({},_0x26ebf5,{'id':_0x2d2ce4(0x2fb),'ref':_0x583c23,'icon':_0x15caea}));});_0x5c6f70[_0x2000b7(0x14a)]=_0x2000b7(0x37b);const _0x52cb5c={'onlineStatusIcon':'univer-online-status-icon','onlineStatusTitle':'univer-online-status-title','onlineStatus':_0x2000b7(0x31e),'online':_0x2000b7(0x22c),'offline':_0x2000b7(0x1b6)};function _0x5d128c(_0x574b07){const _0x348639=_0x2000b7;switch(_0x574b07){case _0x1a23f6['CollaborationStatus'][_0x348639(0x348)]:return _0x348639(0x232);case _0x1a23f6[_0x348639(0x125)][_0x348639(0x365)]:return _0x348639(0x120);case _0x1a23f6[_0x348639(0x125)][_0x348639(0x2cb)]:return _0x348639(0x21e);case _0x1a23f6[_0x348639(0x125)][_0x348639(0x20f)]:return _0x348639(0x2d5);case _0x1a23f6[_0x348639(0x125)][_0x348639(0x1f1)]:case _0x1a23f6[_0x348639(0x125)]['AWAITING_WITH_PENDING']:return _0x348639(0x17d);case _0x1a23f6[_0x348639(0x125)][_0x348639(0x169)]:case _0x1a23f6[_0x348639(0x125)][_0x348639(0x298)]:return _0x348639(0x17e);}}function _0x4f0ceb(_0x5984e6){const _0x2898c9=_0x2000b7,{status$:_0x4f0866}=_0x5984e6,_0x3f3c76=_0xce6f4[_0x2898c9(0x155)](_0x4f0866,_0x1a23f6[_0x2898c9(0x125)][_0x2898c9(0x20f)]),_0x8954d=_0xce6f4[_0x2898c9(0x1a3)](_0x4daaee[_0x2898c9(0x195)]),_0x16615b=_0xce6f4['useDependency'](_0x1a23f6[_0x2898c9(0x158)]),_0x3f2936=_0x3f3c76!==_0x1a23f6[_0x2898c9(0x125)][_0x2898c9(0x348)],_0x565123=_0x8954d['t'](_0x5d128c(_0x3f3c76)),_0x262dc6=_0x8b6e78[_0x2898c9(0x37d)](_0x52cb5c['onlineStatus'],{[_0x52cb5c[_0x2898c9(0x247)]]:_0x3f2936,[_0x52cb5c[_0x2898c9(0x376)]]:!_0x3f2936}),_0x989cfe=_0x3f2936?_0x536b6d[_0x2898c9(0x345)](_0x5c6f70,{}):_0x536b6d[_0x2898c9(0x345)](_0x38dced,{}),_0x2f67ad=_0x2f0a38[_0x2898c9(0x19a)](()=>{const _0x4fd872=_0x2898c9;_0x3f2936||_0x16615b[_0x4fd872(0x207)]();},[_0x3f2936,_0x16615b]);function _0x46f4d1(){const _0x5917c8=_0x2898c9;return _0x536b6d[_0x5917c8(0x18f)](_0x5917c8(0x269),{'className':_0x8b6e78[_0x5917c8(0x37d)](_0x262dc6,_0x5917c8(0x246)),'onClick':_0x2f67ad,'children':[_0x536b6d[_0x5917c8(0x345)](_0x5917c8(0x269),{'className':_0x52cb5c[_0x5917c8(0x1b5)],'children':_0x989cfe}),_0x536b6d[_0x5917c8(0x345)](_0x5917c8(0x269),{'className':_0x52cb5c[_0x5917c8(0x358)],'children':_0x565123})]});}return _0x3f2936?_0x46f4d1():_0x536b6d[_0x2898c9(0x345)](_0x8b6e78['Tooltip'],{'title':_0x8954d['t'](_0x2898c9(0x19b)),'children':_0x46f4d1()});}var _0x44c4dc=Object['getOwnPropertyDescriptor'],_0x52b841=(_0x41621d,_0x221206,_0xff2d61,_0x20936e)=>{const _0x185b29=_0x2000b7;for(var _0xc4f7c=_0x20936e>0x1?void 0x0:_0x20936e?_0x44c4dc(_0x221206,_0xff2d61):_0x221206,_0x1c696d=_0x41621d[_0x185b29(0x299)]-0x1,_0x1276d6;_0x1c696d>=0x0;_0x1c696d--)(_0x1276d6=_0x41621d[_0x1c696d])&&(_0xc4f7c=_0x1276d6(_0xc4f7c)||_0xc4f7c);return _0xc4f7c;},_0x428979=(_0x5f25ab,_0x33fc11)=>(_0xdd1deb,_0x439386)=>_0x33fc11(_0xdd1deb,_0x439386,_0x5f25ab);_0x4d216a[_0x2000b7(0x2ab)]=class extends _0x4daaee[_0x2000b7(0x266)]{constructor(_0x104ecd,_0x2722a1,_0x4eda95,_0x3ccc3a){const _0x3d8cd4=_0x2000b7;super(),_0x5ab58f(this,_0x3d8cd4(0x37e),new _0x25ffe0[(_0x3d8cd4(0x20d))](_0x1a23f6[_0x3d8cd4(0x125)][_0x3d8cd4(0x20f)])),(this[_0x3d8cd4(0x197)]=_0x104ecd,this[_0x3d8cd4(0x2e3)]=_0x2722a1,this[_0x3d8cd4(0x22f)]=_0x4eda95,this[_0x3d8cd4(0x16d)]=_0x3ccc3a,this[_0x3d8cd4(0x27f)](),this[_0x3d8cd4(0x11b)]());}[_0x2000b7(0x11b)](){const _0x2ce175=_0x2000b7;this[_0x2ce175(0x16c)](this[_0x2ce175(0x197)]['focused$'][_0x2ce175(0x213)](_0x25ffe0[_0x2ce175(0x1ab)](()=>{const _0x5c23e8=_0x2ce175,_0x4e504a=this[_0x5c23e8(0x197)]['getFocusedUnit']();return _0x4e504a?this['_collaborationController'][_0x5c23e8(0x296)](_0x4e504a[_0x5c23e8(0x24c)]()):_0x25ffe0['of'](null);}),_0x25ffe0[_0x2ce175(0x1ab)](_0x2adffa=>_0x2adffa?_0x2adffa[_0x2ce175(0x31d)]:_0x25ffe0['of'](_0x1a23f6[_0x2ce175(0x125)][_0x2ce175(0x20f)])))[_0x2ce175(0x287)](_0x4fef22=>{const _0x1b41dd=_0x2ce175;this[_0x1b41dd(0x37e)][_0x1b41dd(0x367)](_0x4fef22);}));}[_0x2000b7(0x27f)](){const _0x5ae632=_0x2000b7;this['disposeWithMe'](this['_uiPartsService'][_0x5ae632(0x19c)](_0xce6f4[_0x5ae632(0x1fe)][_0x5ae632(0x2cc)],()=>_0xce6f4['connectInjector'](_0x33b6d3({'status$':this[_0x5ae632(0x37e)][_0x5ae632(0x1ac)]()}),this[_0x5ae632(0x2e3)])));}},_0x4d216a[_0x2000b7(0x2ab)]=_0x52b841([_0x428979(0x0,_0x4daaee[_0x2000b7(0x1df)]),_0x428979(0x1,_0x4daaee[_0x2000b7(0x393)](_0x4daaee[_0x2000b7(0x248)])),_0x428979(0x2,_0x4daaee[_0x2000b7(0x393)](_0x1a23f6[_0x2000b7(0x2af)])),_0x428979(0x3,_0xce6f4[_0x2000b7(0x24a)])],_0x4d216a[_0x2000b7(0x2ab)]);function _0x33b6d3(_0x5a8dc1){const {status$:_0x3b62a2}=_0x5a8dc1;return function(){const _0x5a5492=_0x1203;return _0x536b6d[_0x5a5492(0x345)](_0x4f0ceb,{'status$':_0x3b62a2});};}var _0x5991a0=Object['getOwnPropertyDescriptor'],_0x34fb08=(_0x10753a,_0x3435c7,_0x215d4b,_0xedca7c)=>{for(var _0x2f9088=_0xedca7c>0x1?void 0x0:_0xedca7c?_0x5991a0(_0x3435c7,_0x215d4b):_0x3435c7,_0x3fb895=_0x10753a['length']-0x1,_0x4f8478;_0x3fb895>=0x0;_0x3fb895--)(_0x4f8478=_0x10753a[_0x3fb895])&&(_0x2f9088=_0x4f8478(_0x2f9088)||_0x2f9088);return _0x2f9088;},_0x150a71=(_0x559517,_0x2a4f71)=>(_0x120746,_0x448527)=>_0x2a4f71(_0x120746,_0x448527,_0x559517);let _0x39470e=class extends _0x4daaee[_0x2000b7(0x266)]{constructor(_0x116da1,_0x258021,_0x2f128c,_0x55bcf1,_0x3bfb74,_0xe0acc0){const _0x1ad60c=_0x2000b7;super(),this['_beforeCloseService']=_0x116da1,this[_0x1ad60c(0x305)]=_0x258021,this['_collaborationUIEventService']=_0x2f128c,this[_0x1ad60c(0x185)]=_0x55bcf1,this['_notificationService']=_0x3bfb74,this[_0x1ad60c(0x303)]=_0xe0acc0,this[_0x1ad60c(0x1d9)](),this['_initEvent']();}[_0x2000b7(0x1d9)](){const _0xdd7356=_0x2000b7;this[_0xdd7356(0x16c)](this['_beforeCloseService'][_0xdd7356(0x23f)](()=>{const _0x4be36f=_0xdd7356;if(this[_0x4be36f(0x305)][_0x4be36f(0x123)][_0x4be36f(0x1e1)])return this[_0x4be36f(0x303)]['t'](_0x4be36f(0x256));}));}[_0x2000b7(0x22b)](){const _0x33a3fc=_0x2000b7;this[_0x33a3fc(0x16c)](this[_0x33a3fc(0x16b)][_0x33a3fc(0x152)][_0x33a3fc(0x287)](_0x149a15=>{const _0x4d5563=_0x33a3fc;_0x149a15['id']===_0x1a23f6['CollaborationUIEventId'][_0x4d5563(0x1f6)]&&this[_0x4d5563(0x185)]['show']({'type':_0x8b6e78[_0x4d5563(0x34b)][_0x4d5563(0x344)],'content':this[_0x4d5563(0x303)]['t'](_0x4d5563(0x230))}),_0x149a15['id']===_0x1a23f6['CollaborationUIEventId']['CLOSE_ROOM']&&this['_messageService']['show']({'type':_0x8b6e78['MessageType']['Warning'],'content':this[_0x4d5563(0x303)]['t'](_0x4d5563(0x34a))}),_0x149a15['id']===_0x1a23f6[_0x4d5563(0x383)][_0x4d5563(0x29f)]&&this[_0x4d5563(0x30f)][_0x4d5563(0x32c)]({'title':this[_0x4d5563(0x303)]['t'](_0x4d5563(0x1b0)),'content':this['_localeService']['t'](_0x4d5563(0x1aa)),'type':_0x4d5563(0x159),'duration':0x0}),_0x149a15['id']===_0x1a23f6[_0x4d5563(0x383)][_0x4d5563(0x365)]&&this['_messageService'][_0x4d5563(0x32c)]({'type':_0x8b6e78[_0x4d5563(0x34b)][_0x4d5563(0x281)],'content':this['_localeService']['t'](_0x4d5563(0x34a))+'('+_0x149a15[_0x4d5563(0x268)]+')'}),_0x149a15['id']===_0x1a23f6[_0x4d5563(0x383)]['JOIN_ROOM_FAILED']&&this['_messageService']['show']({'type':_0x8b6e78[_0x4d5563(0x34b)][_0x4d5563(0x344)],'content':this[_0x4d5563(0x303)]['t'](_0x149a15['data']||'')}),_0x149a15['id']===_0x1a23f6[_0x4d5563(0x383)][_0x4d5563(0x151)]&&this[_0x4d5563(0x185)]['show']({'type':_0x8b6e78[_0x4d5563(0x34b)][_0x4d5563(0x344)],'content':this[_0x4d5563(0x303)]['t'](_0x4d5563(0x131))}),_0x149a15['id']===_0x1a23f6['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x4d5563(0x185)][_0x4d5563(0x32c)]({'type':_0x8b6e78['MessageType'][_0x4d5563(0x281)],'content':this['_localeService']['t']('session.connection-failed')}),_0x149a15['id']===_0x1a23f6['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x4d5563(0x32c)]({'type':_0x8b6e78[_0x4d5563(0x34b)][_0x4d5563(0x281)],'content':this[_0x4d5563(0x303)]['t'](_0x4d5563(0x395))});}));}};_0x39470e=_0x34fb08([_0x150a71(0x0,_0xce6f4[_0x2000b7(0x2d8)]),_0x150a71(0x1,_0x1a23f6['ILocalCacheService']),_0x150a71(0x2,_0x4daaee[_0x2000b7(0x393)](_0x1a23f6[_0x2000b7(0x33d)])),_0x150a71(0x3,_0xce6f4[_0x2000b7(0x1ed)]),_0x150a71(0x4,_0xce6f4[_0x2000b7(0x14f)]),_0x150a71(0x5,_0x4daaee['Inject'](_0x4daaee[_0x2000b7(0x195)]))],_0x39470e);const _0x4ccaec=_0x2000b7(0x27a),_0x158d6f={},_0x3d4844=_0x4daaee[_0x2000b7(0x253)](_0x2000b7(0x134));var _0x26eaa1=Object[_0x2000b7(0x391)],_0x393e36=(_0x431751,_0x40c43f,_0x4b5ed5,_0x4dac38)=>{const _0x159251=_0x2000b7;for(var _0x1c06cc=_0x4dac38>0x1?void 0x0:_0x4dac38?_0x26eaa1(_0x40c43f,_0x4b5ed5):_0x40c43f,_0x97b3b6=_0x431751[_0x159251(0x299)]-0x1,_0x100ecc;_0x97b3b6>=0x0;_0x97b3b6--)(_0x100ecc=_0x431751[_0x97b3b6])&&(_0x1c06cc=_0x100ecc(_0x1c06cc)||_0x1c06cc);return _0x1c06cc;},_0x47ea13=(_0x1a2605,_0x4201f9)=>(_0x3b18d1,_0x4fd722)=>_0x4201f9(_0x3b18d1,_0x4fd722,_0x1a2605);_0x4d216a[_0x2000b7(0x1b1)]=class extends _0x4daaee[_0x2000b7(0x310)]{constructor(_0x3b07d1,_0x57652e,_0x534117,_0x4c8dd5,_0x5e3d0b){const _0x7ffca3=_0x2000b7;super(),this['_urlService']=_0x3b07d1,this['_logService']=_0x57652e,this[_0x7ffca3(0x2df)]=_0x534117,this['_dataLoaderService']=_0x4c8dd5,_0x5e3d0b?_0x5e3d0b==null||_0x5e3d0b['whenReady']()[_0x7ffca3(0x25f)](()=>this[_0x7ffca3(0x1f3)]()):(this[_0x7ffca3(0x340)][_0x7ffca3(0x224)](_0x7ffca3(0x1a8),_0x7ffca3(0x121)),this[_0x7ffca3(0x1f3)]());}async[_0x2000b7(0x1f3)](){const _0x37f266=_0x2000b7,_0x450f83=this[_0x37f266(0x322)]['getParam'](_0x37f266(0x366)),_0x217d01=this['_urlService'][_0x37f266(0x2b2)]('type'),_0x153451=this['_urlService'][_0x37f266(0x2b2)](_0x37f266(0x10f));if(!_0x450f83||!_0x217d01){this[_0x37f266(0x340)][_0x37f266(0x224)](_0x37f266(0x1a8),_0x37f266(0x378));return;}const _0x4b0c1a=await this[_0x37f266(0x118)][_0x37f266(0x30e)](_0x450f83,Number(_0x217d01),_0x153451);_0x4b0c1a&&_0x4b0c1a instanceof _0x4daaee[_0x37f266(0x13f)]&&this[_0x37f266(0x15b)](_0x4b0c1a);}async[_0x2000b7(0x15b)](_0x388ebf){const _0x4abed9=_0x2000b7;await this[_0x4abed9(0x229)](_0x388ebf),_0x388ebf[_0x4abed9(0x1c5)]['pipe'](_0x25ffe0[_0x4abed9(0x274)](this[_0x4abed9(0x254)]))[_0x4abed9(0x287)](_0x2bca56=>{const _0x1c1a77=_0x4abed9;_0x2bca56&&this[_0x1c1a77(0x1d8)](_0x2bca56);}),this[_0x4abed9(0x322)][_0x4abed9(0x222)][_0x4abed9(0x213)](_0x25ffe0[_0x4abed9(0x274)](this['dispose$']))[_0x4abed9(0x287)](()=>this[_0x4abed9(0x229)](_0x388ebf));}[_0x2000b7(0x1d8)](_0x5eab97,_0x2d95d9=!0x1){const _0x33d608=_0x2000b7,_0x34fcd4=this[_0x33d608(0x322)][_0x33d608(0x2b2)](_0x33d608(0x10f));_0x5eab97[_0x33d608(0x161)]()!==_0x34fcd4&&this[_0x33d608(0x322)][_0x33d608(0x29b)](_0x33d608(0x10f),_0x5eab97[_0x33d608(0x161)](),_0x2d95d9);}async['_updateSubUnitFromURLParams'](_0x430377){const _0x2e2faf=_0x2000b7;var _0x1d24bd;const _0x10abca=this[_0x2e2faf(0x322)]['getParam'](_0x2e2faf(0x10f));if(!_0x10abca||!_0x430377[_0x2e2faf(0x12b)](_0x10abca)){const _0x294d1e=_0x430377[_0x2e2faf(0x11c)]()[0x0],_0x346d23=_0x430377[_0x2e2faf(0x12b)](_0x294d1e);if(!_0x346d23)return;this['_updateURLWithCurrentState'](_0x346d23,!0x0),await this[_0x2e2faf(0x2df)]['executeCommand'](_0x4763f4[_0x2e2faf(0x12c)]['id'],{'unitId':_0x430377[_0x2e2faf(0x24c)](),'subUnitId':_0x294d1e});return;}((_0x1d24bd=_0x430377[_0x2e2faf(0x1d6)]())==null?void 0x0:_0x1d24bd[_0x2e2faf(0x161)]())!==_0x10abca&&await this['_commandService'][_0x2e2faf(0x355)](_0x4763f4[_0x2e2faf(0x12c)]['id'],{'unitId':_0x430377['getUnitId'](),'subUnitId':_0x10abca});}},_0x4d216a[_0x2000b7(0x1b1)]=_0x393e36([_0x47ea13(0x0,_0x3d4844),_0x47ea13(0x1,_0x4daaee[_0x2000b7(0x2b4)]),_0x47ea13(0x2,_0x4daaee[_0x2000b7(0x2b3)]),_0x47ea13(0x3,_0x4daaee['Inject'](_0x1a23f6['DataLoaderService'])),_0x47ea13(0x4,_0x4daaee['Optional'](_0x5a151a[_0x2000b7(0x189)]))],_0x4d216a[_0x2000b7(0x1b1)]);var _0x3c89d5=Object[_0x2000b7(0x391)],_0x2db320=(_0x45dd76,_0x15b6a6,_0x89c9b6,_0x7d376a)=>{const _0x888b81=_0x2000b7;for(var _0x3b464b=_0x7d376a>0x1?void 0x0:_0x7d376a?_0x3c89d5(_0x15b6a6,_0x89c9b6):_0x15b6a6,_0xc112c4=_0x45dd76[_0x888b81(0x299)]-0x1,_0x192ced;_0xc112c4>=0x0;_0xc112c4--)(_0x192ced=_0x45dd76[_0xc112c4])&&(_0x3b464b=_0x192ced(_0x3b464b)||_0x3b464b);return _0x3b464b;},_0x31448a=(_0x2ec1d0,_0x618375)=>(_0x3b6ae7,_0xefaf70)=>_0x618375(_0x3b6ae7,_0xefaf70,_0x2ec1d0);let _0x56b9ed=class{constructor(_0x169d0c,_0x59f124,_0x398fba){const _0x146eda=_0x2000b7;this[_0x146eda(0x2e3)]=_0x169d0c,this[_0x146eda(0x2f3)]=_0x59f124,this['_renderManagerService']=_0x398fba;}[_0x2000b7(0x28b)](_0x3ece2c){const _0x53cad7=_0x2000b7;this[_0x53cad7(0x209)](_0x3ece2c),this['_transformPreviousActiveRange'](_0x3ece2c);}[_0x2000b7(0x2b9)](_0x1b4567){const _0x1bf486=_0x2000b7,{unitID:_0x121f9f}=_0x1b4567,_0x56179e=this['_renderManagerService'][_0x1bf486(0x2ba)](_0x121f9f)['with'](_0x3a7962[_0x1bf486(0x285)]),{redoCache:_0x40cc31}=_0x56179e[_0x1bf486(0x33f)]();if(_0x40cc31[_0x1bf486(0x299)]===0x0)return _0x1b4567;let _0x3beddc=_0x4daaee[_0x1bf486(0x1e6)][_0x1bf486(0x34f)](_0x1b4567[_0x1bf486(0x1ff)][0x0]);for(let _0x306453=0x0;_0x306453<_0x40cc31[_0x1bf486(0x299)];_0x306453++){const _0x58122c={'id':_0x1bf486(0x164),'params':{..._0x40cc31[_0x306453]}},_0x604744=this[_0x1bf486(0x2f3)][_0x1bf486(0x2c5)](_0x3beddc,_0x58122c,!0x1);if(_0x4bf9d6[_0x1bf486(0x1f0)](_0x604744))throw _0x604744['error'];_0x3beddc=_0x604744[_0x1bf486(0x25a)];}return{..._0x4daaee[_0x1bf486(0x1e6)][_0x1bf486(0x34f)](_0x1b4567),'mutations':[_0x3beddc]};}['_transformUndoRedoStack'](_0x2869b6){const _0x58cfac=_0x2000b7,{unitID:_0x40f742}=_0x2869b6,_0x54b313=this['_renderManagerService'][_0x58cfac(0x2ba)](_0x40f742)[_0x58cfac(0x1e9)](_0x3a7962[_0x58cfac(0x285)]),{undoCache:_0x5409af,redoCache:_0x532719}=_0x54b313[_0x58cfac(0x33f)]();if(_0x5409af[_0x58cfac(0x299)]===0x0||_0x532719[_0x58cfac(0x299)]===0x0)return;const _0x17f583=[],_0x170575=[];let _0x15476f=_0x4daaee['Tools'][_0x58cfac(0x34f)](_0x2869b6['mutations'][0x0]),_0x57dc09=_0x4daaee[_0x58cfac(0x1e6)]['deepClone'](_0x2869b6[_0x58cfac(0x1ff)][0x0]);for(let _0x97aa9e=_0x5409af[_0x58cfac(0x299)]-0x1;_0x97aa9e>=0x0;_0x97aa9e--){const _0x561ac6={'id':_0x58cfac(0x164),'params':{..._0x5409af[_0x97aa9e]}},_0x5ce681={'id':_0x58cfac(0x164),'params':{..._0x532719[_0x97aa9e]}},_0x1dfe35=this['_transformService'][_0x58cfac(0x2c5)](_0x15476f,_0x561ac6,!0x1),_0x8b4b38=this[_0x58cfac(0x2f3)][_0x58cfac(0x2c5)](_0x57dc09,_0x5ce681,!0x1);if(_0x4bf9d6['isTransformMutationFailure'](_0x1dfe35))throw _0x1dfe35[_0x58cfac(0x159)];if(_0x4bf9d6['isTransformMutationFailure'](_0x8b4b38))throw _0x8b4b38[_0x58cfac(0x159)];_0x17f583[_0x58cfac(0x2dd)](_0x1dfe35['m2Prime']['params']),_0x170575[_0x58cfac(0x2dd)](_0x8b4b38[_0x58cfac(0x38d)]['params']),_0x15476f=_0x1dfe35[_0x58cfac(0x25a)],_0x57dc09=_0x8b4b38[_0x58cfac(0x25a)];}_0x54b313['setUndoRedoMutationParamsCache']({'undoCache':_0x17f583,'redoCache':_0x170575});}[_0x2000b7(0x215)](_0x2983ea){const _0x4a2939=_0x2000b7,{unitID:_0x44fc59}=_0x2983ea,_0x27ade7=this['_renderManagerService'][_0x4a2939(0x2ba)](_0x44fc59)[_0x4a2939(0x1e9)](_0x3a7962[_0x4a2939(0x285)]),_0x6abd1d=_0x27ade7[_0x4a2939(0x110)]();if(_0x6abd1d==null)return;const _0x595c28=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x2983ea[_0x4a2939(0x1f4)],'actions':null,'textRanges':[_0x6abd1d]}}],_0x4ad37e=this[_0x4a2939(0x2f3)][_0x4a2939(0x128)](_0x2983ea,_0x595c28);if(!_0x4bf9d6[_0x4a2939(0x31b)](_0x4ad37e))throw _0x4ad37e[_0x4a2939(0x159)];const _0x49d726=_0x4ad37e[_0x4a2939(0x38d)][0x0][_0x4a2939(0x335)][_0x4a2939(0x113)];Array[_0x4a2939(0x362)](_0x49d726)&&_0x49d726[_0x4a2939(0x299)]&&_0x27ade7['setActiveRange'](_0x49d726[0x0]);}};_0x56b9ed=_0x2db320([_0x31448a(0x0,_0x4daaee[_0x2000b7(0x393)](_0x4daaee[_0x2000b7(0x248)])),_0x31448a(0x1,_0x4bf9d6[_0x2000b7(0x15a)]),_0x31448a(0x2,_0x516e6e[_0x2000b7(0x1b8)])],_0x56b9ed);var _0x5af0cc=Object[_0x2000b7(0x391)],_0x4a4396=(_0x1f18e3,_0x21c30a,_0x3cd58d,_0x28abe7)=>{const _0x340aaf=_0x2000b7;for(var _0x366998=_0x28abe7>0x1?void 0x0:_0x28abe7?_0x5af0cc(_0x21c30a,_0x3cd58d):_0x21c30a,_0x1c4024=_0x1f18e3[_0x340aaf(0x299)]-0x1,_0x180628;_0x1c4024>=0x0;_0x1c4024--)(_0x180628=_0x1f18e3[_0x1c4024])&&(_0x366998=_0x180628(_0x366998)||_0x366998);return _0x366998;},_0x5a30db=(_0x1023e2,_0x3328fa)=>(_0x404c1e,_0x53d688)=>_0x3328fa(_0x404c1e,_0x53d688,_0x1023e2);let _0x364cd9=class{constructor(_0x3604fd,_0x365029,_0x397476){const _0x21d567=_0x2000b7;this['_injector']=_0x3604fd,this[_0x21d567(0x2f3)]=_0x365029,this[_0x21d567(0x1f7)]=_0x397476;}[_0x2000b7(0x2ed)](_0x3fbe4a){this['_transformHistoryAndStateStack'](_0x3fbe4a);}[_0x2000b7(0x2b9)](_0x48e99f){const _0x2164e0=_0x2000b7,{unitID:_0x1599ae}=_0x48e99f,{collaboration:_0x135f7f}=this['_docStateChangeManagerService'][_0x2164e0(0x27c)](_0x1599ae);if(_0x135f7f[_0x2164e0(0x299)]===0x0)return _0x48e99f;let _0x4bac1c=_0x4daaee[_0x2164e0(0x1e6)][_0x2164e0(0x34f)](_0x48e99f['mutations'][0x0]);for(let _0x8cf7fe=0x0;_0x8cf7fe<_0x135f7f['length'];_0x8cf7fe++){const _0x18757d={'id':_0x2164e0(0x164),'params':{'unitId':_0x135f7f[_0x8cf7fe][_0x2164e0(0x26b)],..._0x135f7f[_0x8cf7fe][_0x2164e0(0x1bf)]}},_0x50e565=this[_0x2164e0(0x2f3)]['transformMutation'](_0x4bac1c,_0x18757d,!0x1);if(_0x4bf9d6['isTransformMutationFailure'](_0x50e565))throw _0x50e565[_0x2164e0(0x159)];_0x4bac1c=_0x50e565['m1Prime'];}return{..._0x4daaee[_0x2164e0(0x1e6)][_0x2164e0(0x34f)](_0x48e99f),'mutations':[_0x4bac1c]};}[_0x2000b7(0x112)](_0x1e4fd1){const _0x4ffeb5=_0x2000b7,{unitID:_0x37955a}=_0x1e4fd1,{history:_0x54da8d,collaboration:_0x11a1d5}=this[_0x4ffeb5(0x1f7)][_0x4ffeb5(0x27c)](_0x37955a);if(_0x54da8d['length']===0x0&&_0x11a1d5[_0x4ffeb5(0x299)]===0x0)return;const _0x14ce43=[],_0x415a95=[];let _0xd07673=_0x4daaee[_0x4ffeb5(0x1e6)][_0x4ffeb5(0x34f)](_0x1e4fd1[_0x4ffeb5(0x1ff)][0x0]),_0x92a644=_0x4daaee[_0x4ffeb5(0x1e6)][_0x4ffeb5(0x34f)](_0x1e4fd1[_0x4ffeb5(0x1ff)][0x0]);for(let _0x2e8c73=_0x54da8d[_0x4ffeb5(0x299)]-0x1;_0x2e8c73>=0x0;_0x2e8c73--){const _0x585a4c={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x54da8d[_0x2e8c73]['unitId'],..._0x54da8d[_0x2e8c73][_0x4ffeb5(0x165)]}},_0x22c5af={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x54da8d[_0x2e8c73]['unitId'],..._0x54da8d[_0x2e8c73][_0x4ffeb5(0x1bf)]}},_0x534ba0=this[_0x4ffeb5(0x2f3)]['transformMutation'](_0xd07673,_0x585a4c,!0x1),_0x5551e2=this[_0x4ffeb5(0x2f3)][_0x4ffeb5(0x2c5)](_0x92a644,_0x22c5af,!0x1);if(_0x4bf9d6[_0x4ffeb5(0x1f0)](_0x534ba0))throw _0x534ba0[_0x4ffeb5(0x159)];if(_0x4bf9d6[_0x4ffeb5(0x1f0)](_0x5551e2))throw _0x5551e2[_0x4ffeb5(0x159)];_0x14ce43[_0x4ffeb5(0x2dd)]({..._0x54da8d[_0x2e8c73],'undoState':_0x534ba0['m2Prime'][_0x4ffeb5(0x335)],'redoState':_0x5551e2[_0x4ffeb5(0x38d)][_0x4ffeb5(0x335)]}),_0xd07673=_0x534ba0['m1Prime'],_0x92a644=_0x5551e2[_0x4ffeb5(0x25a)];}_0xd07673=_0x4daaee[_0x4ffeb5(0x1e6)][_0x4ffeb5(0x34f)](_0x1e4fd1[_0x4ffeb5(0x1ff)][0x0]),_0x92a644=_0x4daaee[_0x4ffeb5(0x1e6)][_0x4ffeb5(0x34f)](_0x1e4fd1[_0x4ffeb5(0x1ff)][0x0]);for(let _0x4f1938=_0x11a1d5[_0x4ffeb5(0x299)]-0x1;_0x4f1938>=0x0;_0x4f1938--){const _0x159e4e={'id':_0x4ffeb5(0x164),'params':{'unitId':_0x11a1d5[_0x4f1938][_0x4ffeb5(0x26b)],..._0x11a1d5[_0x4f1938][_0x4ffeb5(0x165)]}},_0x224bf9={'id':_0x4ffeb5(0x164),'params':{'unitId':_0x11a1d5[_0x4f1938][_0x4ffeb5(0x26b)],..._0x11a1d5[_0x4f1938]['redoState']}},_0x1ec876=this['_transformService']['transformMutation'](_0xd07673,_0x159e4e,!0x1),_0x4b5847=this[_0x4ffeb5(0x2f3)][_0x4ffeb5(0x2c5)](_0x92a644,_0x224bf9,!0x1);if(_0x4bf9d6[_0x4ffeb5(0x1f0)](_0x1ec876))throw _0x1ec876[_0x4ffeb5(0x159)];if(_0x4bf9d6[_0x4ffeb5(0x1f0)](_0x4b5847))throw _0x4b5847[_0x4ffeb5(0x159)];_0x415a95['unshift']({..._0x11a1d5[_0x4f1938],'undoState':_0x1ec876[_0x4ffeb5(0x38d)][_0x4ffeb5(0x335)],'redoState':_0x4b5847['m2Prime']['params']}),_0xd07673=_0x1ec876[_0x4ffeb5(0x25a)],_0x92a644=_0x4b5847[_0x4ffeb5(0x25a)];}this[_0x4ffeb5(0x1f7)][_0x4ffeb5(0x210)](_0x37955a,{'history':_0x14ce43,'collaboration':_0x415a95});}};_0x364cd9=_0x4a4396([_0x5a30db(0x0,_0x4daaee['Inject'](_0x4daaee[_0x2000b7(0x248)])),_0x5a30db(0x1,_0x4bf9d6[_0x2000b7(0x15a)]),_0x5a30db(0x2,_0x4daaee[_0x2000b7(0x393)](_0x3a7962[_0x2000b7(0x126)]))],_0x364cd9);var _0x549894=Object[_0x2000b7(0x391)],_0x34f5e0=(_0x2f0cdc,_0x37cf6c,_0x56b2c6,_0x258b47)=>{const _0x34e4e4=_0x2000b7;for(var _0x32b417=_0x258b47>0x1?void 0x0:_0x258b47?_0x549894(_0x37cf6c,_0x56b2c6):_0x37cf6c,_0x30545b=_0x2f0cdc[_0x34e4e4(0x299)]-0x1,_0x2444b4;_0x30545b>=0x0;_0x30545b--)(_0x2444b4=_0x2f0cdc[_0x30545b])&&(_0x32b417=_0x2444b4(_0x32b417)||_0x32b417);return _0x32b417;},_0x21243c=(_0x483e90,_0x312e1e)=>(_0x1e7ac7,_0x261bc8)=>_0x312e1e(_0x1e7ac7,_0x261bc8,_0x483e90);let _0x3d2590=class{constructor(_0x48c13c,_0x1cb57c){const _0x2a2273=_0x2000b7;this['_injector']=_0x48c13c,this[_0x2a2273(0x2f3)]=_0x1cb57c;}['transformSelections'](_0x5ce319){const _0x239b99=_0x2000b7;var _0x504b7c;const _0x54442e=this['_injector'][_0x239b99(0x237)](_0x117c25['DocSelectionManagerService']),_0x1c929e=(_0x504b7c=_0x54442e['getDocRanges']())!=null?_0x504b7c:[];if(_0x1c929e['length']===0x0)return;const _0xb0ba9f=_0x5ce319['unitID'],_0x31583a=[{'id':_0x239b99(0x164),'params':{'unitId':_0xb0ba9f,'actions':null,'textRanges':_0x1c929e}}],_0x29292d=this[_0x239b99(0x2f3)][_0x239b99(0x128)](_0x5ce319,_0x31583a);if(!_0x4bf9d6[_0x239b99(0x31b)](_0x29292d))throw _0x29292d[_0x239b99(0x159)];const _0x4a2dbb=_0x29292d[_0x239b99(0x38d)][0x0][_0x239b99(0x335)]['textRanges'];Array['isArray'](_0x4a2dbb)&&_0x4a2dbb[_0x239b99(0x299)]&&_0x54442e[_0x239b99(0x2ae)](_0x4a2dbb,{'unitId':_0xb0ba9f,'subUnitId':_0xb0ba9f},!0x1);}};_0x3d2590=_0x34f5e0([_0x21243c(0x0,_0x4daaee['Inject'](_0x4daaee['Injector'])),_0x21243c(0x1,_0x4bf9d6[_0x2000b7(0x15a)])],_0x3d2590);var _0x399ca4=Object[_0x2000b7(0x391)],_0x480346=(_0x4f942c,_0x4cd72d,_0x368b77,_0x1591ab)=>{const _0x737720=_0x2000b7;for(var _0x1064f4=_0x1591ab>0x1?void 0x0:_0x1591ab?_0x399ca4(_0x4cd72d,_0x368b77):_0x4cd72d,_0x1b156b=_0x4f942c[_0x737720(0x299)]-0x1,_0x55590c;_0x1b156b>=0x0;_0x1b156b--)(_0x55590c=_0x4f942c[_0x1b156b])&&(_0x1064f4=_0x55590c(_0x1064f4)||_0x1064f4);return _0x1064f4;},_0x242ee1=(_0x48f4a7,_0x3db348)=>(_0x2afd2e,_0x89207b)=>_0x3db348(_0x2afd2e,_0x89207b,_0x48f4a7);let _0xe77899=class extends _0x4daaee['Disposable']{constructor(_0x2088fb,_0x2623e5,_0x467c3c,_0x3b4f31,_0x22accb,_0x51d6b2,_0x518d2b,_0x18aca6){const _0x54a8dd=_0x2000b7;super(),_0x5ab58f(this,_0x54a8dd(0x37e),new _0x25ffe0[(_0x54a8dd(0x20d))](_0x1a23f6['CollaborationStatus']['NOT_COLLAB'])),(this[_0x54a8dd(0x1f7)]=_0x2088fb,this[_0x54a8dd(0x22f)]=_0x2623e5,this[_0x54a8dd(0x37c)]=_0x467c3c,this[_0x54a8dd(0x11a)]=_0x3b4f31,this['_docTransformSelectionsService']=_0x22accb,this[_0x54a8dd(0x25e)]=_0x51d6b2,this[_0x54a8dd(0x185)]=_0x518d2b,this[_0x54a8dd(0x303)]=_0x18aca6,this[_0x54a8dd(0x24d)]());}[_0x2000b7(0x24d)](){const _0x329753=_0x2000b7;this[_0x329753(0x16c)](this[_0x329753(0x22f)][_0x329753(0x272)][_0x329753(0x287)](_0x1e69ac=>{const _0x6d84c8=_0x329753,_0x37c720=this['_docStateChangeManagerService'][_0x6d84c8(0x259)][_0x6d84c8(0x287)](_0x5d47c5=>{const _0x26e432=_0x6d84c8;if(_0x5d47c5==null)return;const {unitId:_0x32be28,redoState:_0x44c741,commandId:_0x3db59b}=_0x5d47c5;if(_0x32be28!==_0x1e69ac[_0x26e432(0x1f4)])return;const _0x33fdb2={'id':_0x3db59b,'type':_0x4daaee[_0x26e432(0x205)]['MUTATION'],'params':{'unitId':_0x32be28,'actions':_0x44c741[_0x26e432(0x1e4)],'textRanges':null}};_0x1e69ac['onLocalMutation'](_0x33fdb2);});if(_0x1e69ac[_0x6d84c8(0x16c)](_0x37c720),_0x1e69ac instanceof _0x1a23f6[_0x6d84c8(0x168)]){const _0x44b3d5={'onTransformIME':_0x5b517e=>this['_docTransformIMECacheService'][_0x6d84c8(0x28b)](_0x5b517e),'onTransformState':_0x404ade=>this[_0x6d84c8(0x11a)][_0x6d84c8(0x2ed)](_0x404ade),'onTransformSelections':_0x38da30=>this['_docTransformSelectionsService']['transformSelections'](_0x38da30),'onSyncEditingCollabCursor':_0x5383cb=>this[_0x6d84c8(0x25e)][_0x6d84c8(0x167)](_0x5383cb),'onTransformRemoteChangesetByIMECache':_0x384baf=>this[_0x6d84c8(0x37c)][_0x6d84c8(0x2b9)](_0x384baf),'onTransformRemoteChangesetByStateCache':_0x3ae33a=>this[_0x6d84c8(0x11a)][_0x6d84c8(0x2b9)](_0x3ae33a)};_0x1e69ac[_0x6d84c8(0x13e)](_0x44b3d5);}}));}};_0xe77899=_0x480346([_0x242ee1(0x0,_0x4daaee[_0x2000b7(0x393)](_0x3a7962[_0x2000b7(0x126)])),_0x242ee1(0x1,_0x4daaee['Inject'](_0x1a23f6[_0x2000b7(0x2af)])),_0x242ee1(0x2,_0x4daaee[_0x2000b7(0x393)](_0x56b9ed)),_0x242ee1(0x3,_0x4daaee[_0x2000b7(0x393)](_0x364cd9)),_0x242ee1(0x4,_0x4daaee['Inject'](_0x3d2590)),_0x242ee1(0x5,_0x4daaee['Inject'](_0x22bc4b)),_0x242ee1(0x6,_0xce6f4[_0x2000b7(0x1ed)]),_0x242ee1(0x7,_0x4daaee[_0x2000b7(0x393)](_0x4daaee[_0x2000b7(0x195)]))],_0xe77899);var _0x3a0b98=Object[_0x2000b7(0x391)],_0x1b30b9=(_0x3a3e95,_0x56a1c0,_0x345c5d,_0x106377)=>{const _0x259ae9=_0x2000b7;for(var _0x53633b=_0x106377>0x1?void 0x0:_0x106377?_0x3a0b98(_0x56a1c0,_0x345c5d):_0x56a1c0,_0x35a73a=_0x3a3e95[_0x259ae9(0x299)]-0x1,_0x3a4f37;_0x35a73a>=0x0;_0x35a73a--)(_0x3a4f37=_0x3a3e95[_0x35a73a])&&(_0x53633b=_0x3a4f37(_0x53633b)||_0x53633b);return _0x53633b;},_0x421d8f=(_0x44bec1,_0x3d5a1b)=>(_0x582255,_0xb8b93c)=>_0x3d5a1b(_0x582255,_0xb8b93c,_0x44bec1);let _0x51a940=class extends _0x4daaee[_0x2000b7(0x266)]{constructor(_0x79142f,_0x44628e,_0xb615d9){const _0x673028=_0x2000b7;super(),_0x5ab58f(this,_0x673028(0x290),new Map()),_0x5ab58f(this,_0x673028(0x1a2),new Map()),_0x5ab58f(this,'_disabled',!0x1),(this[_0x673028(0x1f9)]=_0x79142f,this[_0x673028(0x385)]=_0x44628e,this[_0x673028(0x29d)]=_0xb615d9);}['disableLocalCache'](){const _0x188fda=_0x2000b7;this[_0x188fda(0x1a7)]=!0x0;}[_0x2000b7(0x2ef)](){const _0x521d74=_0x2000b7;this[_0x521d74(0x1a7)]=!0x1;}get[_0x2000b7(0x123)](){const _0x285a4a=_0x2000b7;return this[_0x285a4a(0x1a2)];}[_0x2000b7(0x251)](){const _0x175fb2=_0x2000b7;this[_0x175fb2(0x1c2)]()[_0x175fb2(0x25f)](()=>super[_0x175fb2(0x251)]());}async['loadOfflineData'](_0x5b6ed5){const _0x2df646=_0x2000b7;return this['_disabled']?null:this[_0x2df646(0x385)][_0x2df646(0x262)](_0x1a23f6[_0x2df646(0x368)](_0x5b6ed5));}async[_0x2000b7(0x223)](_0x8c0134,_0x389d29){const _0x215dad=_0x2000b7;return!!this[_0x215dad(0x385)][_0x215dad(0x36c)](_0x8c0134,_0x389d29);}[_0x2000b7(0x1e7)](_0x157e90,_0x12837c,_0x1b358e,_0x2b0974){const _0x2d2351=_0x2000b7,_0x44b5cd=this[_0x2d2351(0x29d)]['getCurrentRevOfUnit'](_0x157e90);this[_0x2d2351(0x290)][_0x2d2351(0x214)](_0x157e90,{'unitID':_0x157e90,'type':_0x12837c,'awaitingChangeset':_0x1b358e,'mutations':_0x2b0974,'rev':_0x44b5cd}),this[_0x2d2351(0x1a2)][_0x2d2351(0x263)](_0x157e90)||this['_scheduleSaving'](_0x157e90);}[_0x2000b7(0x241)](_0x309cdb){const _0x249769=_0x2000b7,_0x55d2d7=this[_0x249769(0x239)]();_0x55d2d7===0x0?this['_saveCache'](_0x309cdb):this[_0x249769(0x1a2)][_0x249769(0x214)](_0x309cdb,setTimeout(()=>this[_0x249769(0x32f)](_0x309cdb),_0x55d2d7));}[_0x2000b7(0x239)](){const _0x33bb71=_0x2000b7;var _0x3ae04a;return(_0x3ae04a=this[_0x33bb71(0x1f9)]['getConfig'](_0x1a23f6[_0x33bb71(0x38b)]))!=null?_0x3ae04a:_0x1a23f6[_0x33bb71(0x38e)];}[_0x2000b7(0x32f)](_0x289c8c){const _0x1c6182=_0x2000b7,_0xd8bb88=this[_0x1c6182(0x1a2)][_0x1c6182(0x237)](_0x289c8c);return _0xd8bb88!==void 0x0&&window['clearTimeout'](_0xd8bb88),this[_0x1c6182(0x385)][_0x1c6182(0x36c)](_0x1a23f6['getLocalCacheKey'](_0x289c8c),this[_0x1c6182(0x290)][_0x1c6182(0x237)](_0x289c8c))['then'](()=>this[_0x1c6182(0x1a2)][_0x1c6182(0x178)](_0x289c8c));}async['exhaustSavingTask'](){const _0x32e092=_0x2000b7,_0x959dff=[];this[_0x32e092(0x1a2)]['forEach']((_0x41323a,_0x15bc48)=>{const _0x44104f=_0x32e092;window[_0x44104f(0x227)](_0x41323a),_0x959dff[_0x44104f(0x35d)](this[_0x44104f(0x32f)](_0x15bc48)[_0x44104f(0x25f)](()=>{this['_saveTaskMap']['delete'](_0x15bc48);}));}),await Promise[_0x32e092(0x29e)](_0x959dff);}};_0x51a940=_0x1b30b9([_0x421d8f(0x0,_0x4daaee[_0x2000b7(0x171)]),_0x421d8f(0x1,_0x4daaee[_0x2000b7(0x261)]),_0x421d8f(0x2,_0x4daaee[_0x2000b7(0x393)](_0x4bf9d6['RevisionService']))],_0x51a940);class _0x3b7f30 extends _0x4daaee['RxDisposable']{constructor(){const _0xcda309=_0x2000b7;super(),_0x5ab58f(this,_0xcda309(0x222)),this[_0xcda309(0x222)]=_0x25ffe0['fromEvent'](window,_0xcda309(0x114))['pipe'](_0x25ffe0[_0xcda309(0x274)](this[_0xcda309(0x254)]),_0x25ffe0[_0xcda309(0x1c1)](0x1),_0x25ffe0[_0xcda309(0x33c)](void 0x0));}[_0x2000b7(0x29b)](_0xec1fe4,_0x7f2643,_0x574bf8=!0x1){const _0x56d435=_0x2000b7,_0x835fad=new URL(window[_0x56d435(0x30d)][_0x56d435(0x364)]);_0x835fad[_0x56d435(0x1c8)][_0x56d435(0x214)](_0xec1fe4,_0x7f2643),_0x574bf8?window['history'][_0x56d435(0x245)]('','',_0x835fad['toString']()):window[_0x56d435(0x225)][_0x56d435(0x32b)]('','',_0x835fad[_0x56d435(0x24e)]());}['removeParam'](_0x3e53f2,_0x487e0b=!0x1){const _0x242204=_0x2000b7,_0x162009=new URL(window[_0x242204(0x30d)]['href']);_0x162009[_0x242204(0x1c8)][_0x242204(0x178)](_0x3e53f2),_0x487e0b?window['history'][_0x242204(0x245)]('','',_0x162009[_0x242204(0x24e)]()):window[_0x242204(0x225)][_0x242204(0x32b)]('','',_0x162009[_0x242204(0x24e)]());}[_0x2000b7(0x2b2)](_0x5a0e3d){const _0x5df7d3=_0x2000b7;var _0x20cb43;return(_0x20cb43=new URL(window['location'][_0x5df7d3(0x364)])[_0x5df7d3(0x1c8)][_0x5df7d3(0x237)](_0x5a0e3d))!=null?_0x20cb43:void 0x0;}}var _0x42779c=Object[_0x2000b7(0x163)],_0x586523=Object[_0x2000b7(0x391)],_0x38ef3f=(_0x390214,_0x76ecef,_0x171b4c)=>_0x76ecef in _0x390214?_0x42779c(_0x390214,_0x76ecef,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x171b4c}):_0x390214[_0x76ecef]=_0x171b4c,_0x3cd352=(_0x5f9f3c,_0x308f04,_0x51ff66,_0x269e07)=>{const _0x4c6c8a=_0x2000b7;for(var _0x593a01=_0x269e07>0x1?void 0x0:_0x269e07?_0x586523(_0x308f04,_0x51ff66):_0x308f04,_0x54355d=_0x5f9f3c[_0x4c6c8a(0x299)]-0x1,_0x5ac395;_0x54355d>=0x0;_0x54355d--)(_0x5ac395=_0x5f9f3c[_0x54355d])&&(_0x593a01=_0x5ac395(_0x593a01)||_0x593a01);return _0x593a01;},_0x36b503=(_0x57bb95,_0x458e6b)=>(_0x303a55,_0x14d44c)=>_0x458e6b(_0x303a55,_0x14d44c,_0x57bb95),_0x24e279=(_0xc3f1c4,_0x1daf2d,_0x3d0e35)=>_0x38ef3f(_0xc3f1c4,_0x1daf2d+'',_0x3d0e35);const _0x4a9a9d=_0x2000b7(0x2a3);_0x4d216a[_0x2000b7(0x258)]=class extends _0x4daaee[_0x2000b7(0x201)]{constructor(_0xd4fae0=_0x158d6f,_0xb2b8a8,_0x2ca19b,_0x5d730e){const _0xa9aaeb=_0x2000b7;super(),this[_0xa9aaeb(0x200)]=_0xd4fae0,this[_0xa9aaeb(0x21a)]=_0xb2b8a8,this[_0xa9aaeb(0x2e3)]=_0x2ca19b,this[_0xa9aaeb(0x1f9)]=_0x5d730e;const {..._0x578a1f}=_0x4daaee[_0xa9aaeb(0x243)]({},_0x158d6f,this[_0xa9aaeb(0x200)]);this[_0xa9aaeb(0x1f9)]['setConfig'](_0x4ccaec,_0x578a1f);}[_0x2000b7(0x307)](){const _0x40cd68=_0x2000b7;this[_0x40cd68(0x32a)](),this['_initDependencies']();}[_0x2000b7(0x208)](){const _0x37a75f=_0x2000b7;this[_0x37a75f(0x17c)]();}['_registerDependencies'](){const _0x4db6ee=_0x2000b7;var _0x4dcba8;const _0x3401f7=[[_0x408012],[_0x3d2590],[_0x56b9ed],[_0x364cd9],[_0x22bc4b],[_0x3d4844,{'useClass':_0x3b7f30}],[_0x447a48[_0x4db6ee(0x2fa)],{'useClass':_0x447a48['WebSocketService']}],[_0x1a23f6['ILocalCacheService'],{'useClass':_0x51a940}],[_0x4d216a[_0x4db6ee(0x2ab)]],[_0xe77899],[_0x39470e],[_0x5bba6c],[_0x5ba04c],[_0x4d216a[_0x4db6ee(0x1b1)]]];_0x4daaee['registerDependencies'](this['_injector'],_0x4daaee['mergeOverrideWithDependencies'](_0x3401f7,(_0x4dcba8=this[_0x4db6ee(0x200)])==null?void 0x0:_0x4dcba8[_0x4db6ee(0x17f)]));}['_registerRenderDependencies'](){const _0x3b7240=_0x2000b7;this[_0x3b7240(0x16c)](this[_0x3b7240(0x21a)][_0x3b7240(0x2c2)](_0x4daaee[_0x3b7240(0x192)][_0x3b7240(0x1ee)],[_0x76b9ec])),this[_0x3b7240(0x16c)](this['_renderManagerService'][_0x3b7240(0x2c2)](_0x4daaee['UniverInstanceType'][_0x3b7240(0x1cf)],[_0x21e388]));}['_initDependencies'](){const _0x316661=_0x2000b7;_0x4daaee[_0x316661(0x284)](this['_injector'],[[_0x5bba6c],[_0x4d216a['DesktopCollaborationStatusDisplayController']],[_0xe77899],[_0x39470e],[_0x4d216a[_0x316661(0x1b1)]]]);}},_0x24e279(_0x4d216a[_0x2000b7(0x258)],_0x2000b7(0x30a),_0x4a9a9d),_0x4d216a[_0x2000b7(0x258)]=_0x3cd352([_0x4daaee[_0x2000b7(0x234)](_0x1a23f6[_0x2000b7(0x35b)]),_0x36b503(0x1,_0x516e6e['IRenderManagerService']),_0x36b503(0x2,_0x4daaee[_0x2000b7(0x393)](_0x4daaee[_0x2000b7(0x248)])),_0x36b503(0x3,_0x4daaee[_0x2000b7(0x171)])],_0x4d216a[_0x2000b7(0x258)]);var _0x2b99d9=Object[_0x2000b7(0x391)],_0x4ad058=(_0x3b1393,_0x3b4d91,_0x104ffa,_0x45e98c)=>{const _0x3e635f=_0x2000b7;for(var _0x5892b9=_0x45e98c>0x1?void 0x0:_0x45e98c?_0x2b99d9(_0x3b4d91,_0x104ffa):_0x3b4d91,_0x3fd1d8=_0x3b1393[_0x3e635f(0x299)]-0x1,_0x53271d;_0x3fd1d8>=0x0;_0x3fd1d8--)(_0x53271d=_0x3b1393[_0x3fd1d8])&&(_0x5892b9=_0x53271d(_0x5892b9)||_0x5892b9);return _0x5892b9;},_0x457970=(_0x5d2e31,_0x1fb38d)=>(_0x404e84,_0x4b7c85)=>_0x1fb38d(_0x404e84,_0x4b7c85,_0x5d2e31);_0x4d216a['BrowserCollaborationSocketService']=class extends _0x1a23f6['CollaborationSocketService']{constructor(_0x3c2097,_0x244d8d,_0x28bf93,_0x38e947,_0x5892e3){super(_0x3c2097,_0x244d8d,_0x28bf93,_0x38e947,_0x5892e3);}async['createSocket'](_0x5a5d64){const _0x1bdfd2=_0x2000b7,_0x3c8de0=await this['_getSessionTicket'](),_0x2304d5=this[_0x1bdfd2(0x1be)](_0x5a5d64,_0x3c8de0);return this[_0x1bdfd2(0x2bb)](_0x2304d5);}[_0x2000b7(0x1be)](_0x5803d7,_0x1110a1){const _0x3bbed1=_0x2000b7,_0x2181fa=typeof window>'u'?new URL(_0x5803d7):new URL(_0x5803d7,window['location']['origin']);_0x2181fa[_0x3bbed1(0x1c8)][_0x3bbed1(0x214)]('sessionTicket',_0x1110a1);const _0x576782=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x3bbed1(0x30d)]['search']);return _0x576782[_0x3bbed1(0x237)](_0x3bbed1(0x14e))&&_0x2181fa[_0x3bbed1(0x1c8)][_0x3bbed1(0x214)]('runId',_0x576782[_0x3bbed1(0x237)](_0x3bbed1(0x14e))),_0x2181fa[_0x3bbed1(0x24e)]();}async['_getSessionTicket'](){const _0x39d8dd=_0x2000b7;var _0x11b274,_0x2e54ed,_0x89975d;const _0x20d272=this[_0x39d8dd(0x1f9)][_0x39d8dd(0x34e)](_0x1a23f6['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x3bf479=(_0x11b274=_0x20d272==null?void 0x0:_0x20d272[_0x39d8dd(0x2b6)])!=null?_0x11b274:_0x1a23f6['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x89975d=(_0x2e54ed=(await this[_0x39d8dd(0x142)][_0x39d8dd(0x237)](_0x3bf479,{'headers':{'Content-Type':_0x39d8dd(0x190)}}))[_0x39d8dd(0x330)])==null?void 0x0:_0x2e54ed[_0x39d8dd(0x20b)])!=null?_0x89975d:'';}},_0x4d216a[_0x2000b7(0x13b)]=_0x4ad058([_0x457970(0x0,_0x4daaee[_0x2000b7(0x393)](_0x4daaee[_0x2000b7(0x248)])),_0x457970(0x1,_0x4daaee['Inject'](_0x447a48[_0x2000b7(0x2e0)])),_0x457970(0x2,_0x4daaee['IConfigService']),_0x457970(0x3,_0x4daaee['ILogService']),_0x457970(0x4,_0x4bf9d6[_0x2000b7(0x2de)])],_0x4d216a['BrowserCollaborationSocketService']);const _0x1d0a35=0x7530,_0x3add9f=_0x2000b7(0x1e5);class _0x47ba83 extends _0x4daaee[_0x2000b7(0x266)]{constructor(){const _0x54ff30=_0x2000b7;super(),_0x5ab58f(this,_0x54ff30(0x2a8),_0x4daaee[_0x54ff30(0x309)]()),_0x5ab58f(this,_0x54ff30(0x2d6),new Set()),_0x5ab58f(this,_0x54ff30(0x1d1),new Map()),_0x5ab58f(this,'_heartbeatTimer',null),_0x5ab58f(this,_0x54ff30(0x29c),new Map()),_0x5ab58f(this,'_unitStatus',new Map()),this[_0x54ff30(0x1f3)]();}[_0x2000b7(0x251)](){const _0x347eeb=_0x2000b7;super[_0x347eeb(0x251)](),this['_clearOtherTimers']['forEach']((_0xcce81a,_0xc9b2d3)=>this[_0x347eeb(0x295)](_0xc9b2d3)),this[_0x347eeb(0x2f5)]&&window[_0x347eeb(0x39b)](this[_0x347eeb(0x2f5)]);}[_0x2000b7(0x2f8)](_0x4798a0){const _0x2b1941=_0x2000b7;return this['_ensureSubject'](_0x4798a0)['pipe'](_0x25ffe0[_0x2b1941(0x328)]());}[_0x2000b7(0x1a1)](_0x1cf3e4){const _0x28d53e=_0x2000b7;this[_0x28d53e(0x2d6)]['size']===0x0&&this[_0x28d53e(0x1a9)](),this[_0x28d53e(0x2d6)][_0x28d53e(0x297)](_0x1cf3e4),this[_0x28d53e(0x387)]({'type':0x0,'memberID':this[_0x28d53e(0x2a8)],'unitIDs':[_0x1cf3e4],'isForwarded':!0x1});}[_0x2000b7(0x353)](_0x34f713){const _0x15bb7b=_0x2000b7;this[_0x15bb7b(0x2d6)][_0x15bb7b(0x178)](_0x34f713),this[_0x15bb7b(0x2d6)][_0x15bb7b(0x1e1)]===0x0&&this[_0x15bb7b(0x2f5)]&&window[_0x15bb7b(0x39b)](this[_0x15bb7b(0x2f5)]);}[_0x2000b7(0x1f3)](){const _0x59018c=_0x2000b7;this[_0x59018c(0x16c)](_0x4daaee[_0x59018c(0x316)](_0x25ffe0['fromEvent'](window,_0x59018c(0x273))[_0x59018c(0x287)](_0x52e32c=>{const _0x2d1ec1=_0x59018c;if(_0x52e32c['key']!==_0x3add9f||!_0x52e32c[_0x2d1ec1(0x373)])return;const _0xb54f37=JSON[_0x2d1ec1(0x336)](_0x52e32c[_0x2d1ec1(0x373)]);this['_handleEvent'](_0xb54f37);}))),window[_0x59018c(0x221)]('unload',()=>this[_0x59018c(0x387)]({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x59018c(0x2d7)](this[_0x59018c(0x2d6)])}));}[_0x2000b7(0x392)](_0x15d58e){const _0xc87409=_0x2000b7;switch(_0x15d58e[_0xc87409(0x203)]){case 0x0:this[_0xc87409(0x1db)](_0x15d58e);break;case 0x1:this[_0xc87409(0x30c)](_0x15d58e);break;case 0x2:this[_0xc87409(0x1c6)](_0x15d58e);break;}}[_0x2000b7(0x1db)](_0x19a76a){const _0x4b0c06=_0x2000b7,{unitIDs:_0x4e9618,memberID:_0x237b9d,isForwarded:_0x2a5f2a}=_0x19a76a;_0x4e9618[_0x4b0c06(0x20c)](_0x5781a2=>{const _0x2eb6eb=_0x4b0c06;if(!_0x2a5f2a&&this['_unitOnClients'][_0x2eb6eb(0x263)](_0x5781a2)&&this[_0x2eb6eb(0x2ac)](_0x5781a2)[_0x2eb6eb(0x367)](_0x1a23f6[_0x2eb6eb(0x267)]['OTHER_CLIENTS_EDITING']),!this[_0x2eb6eb(0x1d1)][_0x2eb6eb(0x263)](_0x5781a2)||!this[_0x2eb6eb(0x1d1)][_0x2eb6eb(0x237)](_0x5781a2)[_0x2eb6eb(0x263)](_0x237b9d)){const _0x2e3c5f=this['_unitOnClients'][_0x2eb6eb(0x237)](_0x5781a2)||new Set();_0x2e3c5f[_0x2eb6eb(0x297)](_0x237b9d),this[_0x2eb6eb(0x1d1)][_0x2eb6eb(0x214)](_0x5781a2,_0x2e3c5f),this['_scheduleClearOtherTimer'](_0x237b9d);}}),_0x2a5f2a||this[_0x4b0c06(0x387)]({'type':0x0,'memberID':this[_0x4b0c06(0x2a8)],'unitIDs':[...this[_0x4b0c06(0x2d6)]],'isForwarded':!0x0});}[_0x2000b7(0x26c)](_0x3a7f7c){const _0x6fd246=_0x2000b7;this[_0x6fd246(0x295)](_0x3a7f7c);const _0x2afe14=window[_0x6fd246(0x226)](()=>{const _0x49f001=_0x6fd246;this[_0x49f001(0x1d1)][_0x49f001(0x20c)](_0x2fd1d1=>{const _0x42ee2b=_0x49f001;_0x2fd1d1[_0x42ee2b(0x178)](_0x3a7f7c);});},_0x1d0a35*0x2);this['_clearOtherTimers']['set'](_0x3a7f7c,_0x2afe14);}[_0x2000b7(0x295)](_0x573d1a){const _0x331f8a=_0x2000b7;if(this[_0x331f8a(0x29c)][_0x331f8a(0x263)](_0x573d1a)){const _0x576808=this['_clearOtherTimers'][_0x331f8a(0x237)](_0x573d1a);_0x576808&&window[_0x331f8a(0x227)](_0x576808),this[_0x331f8a(0x29c)][_0x331f8a(0x214)](_0x573d1a,null);}}['_handleLeaveEvent'](_0x4dd7f3){const _0x54beb7=_0x2000b7,{memberID:_0x579b7e,unitIDs:_0x3d5fca}=_0x4dd7f3;_0x3d5fca[_0x54beb7(0x20c)](_0x1beeb4=>{const _0x2bf42c=_0x54beb7;var _0x11fb52;const _0x3cf907=this[_0x2bf42c(0x1d1)][_0x2bf42c(0x237)](_0x1beeb4);_0x3cf907&&(_0x3cf907[_0x2bf42c(0x178)](_0x579b7e),(_0x11fb52=this[_0x2bf42c(0x2ac)](_0x1beeb4))==null||_0x11fb52[_0x2bf42c(0x367)](_0x3cf907[_0x2bf42c(0x1e1)]===0x0?_0x1a23f6[_0x2bf42c(0x267)]['NO_OTHER_CLIENTS_EDITING']:_0x1a23f6[_0x2bf42c(0x267)][_0x2bf42c(0x20e)]));}),this['_removeClearOtherTimer'](_0x579b7e);}[_0x2000b7(0x1c6)](_0x37e707){const _0x56b71b=_0x2000b7;this[_0x56b71b(0x26c)](_0x37e707[_0x56b71b(0x341)]);}['_send'](_0xa0055){const _0x26499c=_0x2000b7;localStorage[_0x26499c(0x36c)](_0x3add9f,JSON[_0x26499c(0x153)](_0xa0055));}[_0x2000b7(0x1a9)](){const _0x38cfad=_0x2000b7;this[_0x38cfad(0x2f5)]=window[_0x38cfad(0x317)](()=>{const _0x208554=_0x38cfad;this[_0x208554(0x387)]({'type':0x2,'memberID':this['_id']});},_0x1d0a35);}[_0x2000b7(0x2ac)](_0x2e08a5){const _0x2261a4=_0x2000b7;return this[_0x2261a4(0x115)]['has'](_0x2e08a5)||this[_0x2261a4(0x115)][_0x2261a4(0x214)](_0x2e08a5,new _0x25ffe0[(_0x2261a4(0x20d))](_0x1a23f6[_0x2261a4(0x267)][_0x2261a4(0x143)])),this[_0x2261a4(0x115)][_0x2261a4(0x237)](_0x2e08a5);}}var _0x3a22a1=(_0x59d28f=>(_0x59d28f[_0x59d28f[_0x2000b7(0x147)]=0x0]=_0x2000b7(0x147),_0x59d28f[_0x59d28f['OK']=0x1]='OK',_0x59d28f[_0x59d28f['INTERNAL_ERROR']=0x2]=_0x2000b7(0x338),_0x59d28f[_0x59d28f['PERMISSION_DENIED']=0x3]=_0x2000b7(0x29f),_0x59d28f[_0x59d28f[_0x2000b7(0x2ce)]=0x4]=_0x2000b7(0x2ce),_0x59d28f[_0x59d28f[_0x2000b7(0x13d)]=0x5]=_0x2000b7(0x13d),_0x59d28f[_0x59d28f[_0x2000b7(0x33b)]=0x6]=_0x2000b7(0x33b),_0x59d28f[_0x59d28f[_0x2000b7(0x130)]=0x7]=_0x2000b7(0x130),_0x59d28f[_0x59d28f['TOO_MANY_REQUESTS']=0x8]='TOO_MANY_REQUESTS',_0x59d28f[_0x59d28f['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x59d28f[_0x59d28f[_0x2000b7(0x32e)]=0x1389]=_0x2000b7(0x32e),_0x59d28f[_0x59d28f[_0x2000b7(0x133)]=0x1771]=_0x2000b7(0x133),_0x59d28f[_0x59d28f[_0x2000b7(0x141)]=0x1772]=_0x2000b7(0x141),_0x59d28f[_0x59d28f[_0x2000b7(0x12f)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x59d28f[_0x59d28f[_0x2000b7(0x2f2)]=0x1b59]=_0x2000b7(0x2f2),_0x59d28f[_0x59d28f['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2000b7(0x211),_0x59d28f[_0x59d28f[_0x2000b7(0x149)]=0x1b5b]=_0x2000b7(0x149),_0x59d28f[_0x59d28f['APPLY_PERMISSION_DENIED']=0x1b5c]=_0x2000b7(0x384),_0x59d28f[_0x59d28f['APPLY_DUPLICATED']=0x1b5d]=_0x2000b7(0x2c8),_0x59d28f[_0x59d28f[_0x2000b7(0x1d0)]=0x1f41]=_0x2000b7(0x1d0),_0x59d28f[_0x59d28f[_0x2000b7(0x11d)]=0x2329]=_0x2000b7(0x11d),_0x59d28f[_0x59d28f[_0x2000b7(0x1bb)]=0x232a]=_0x2000b7(0x1bb),_0x59d28f[_0x59d28f[_0x2000b7(0x1b3)]=0x232b]=_0x2000b7(0x1b3),_0x59d28f[_0x59d28f['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x2000b7(0x11e),_0x59d28f[_0x59d28f[_0x2000b7(0x1cb)]=0x232d]=_0x2000b7(0x1cb),_0x59d28f[_0x59d28f[_0x2000b7(0x138)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x59d28f[_0x59d28f['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x59d28f[_0x59d28f['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x2000b7(0x1b4),_0x59d28f[_0x59d28f[_0x2000b7(0x23d)]=0x2714]=_0x2000b7(0x23d),_0x59d28f[_0x59d28f['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x2000b7(0x2fc),_0x59d28f[_0x59d28f[_0x2000b7(0x17a)]=-0x1]=_0x2000b7(0x17a),_0x59d28f))(_0x3a22a1||{}),_0x1423c8=Object[_0x2000b7(0x391)],_0x417e48=(_0x703b91,_0x1ac962,_0xb9db95,_0x4ef914)=>{for(var _0x30df23=_0x4ef914>0x1?void 0x0:_0x4ef914?_0x1423c8(_0x1ac962,_0xb9db95):_0x1ac962,_0x5517b0=_0x703b91['length']-0x1,_0x402b43;_0x5517b0>=0x0;_0x5517b0--)(_0x402b43=_0x703b91[_0x5517b0])&&(_0x30df23=_0x402b43(_0x30df23)||_0x30df23);return _0x30df23;},_0x4368aa=(_0x31ca21,_0x5c2b5e)=>(_0x831b31,_0x3d8f9a)=>_0x5c2b5e(_0x831b31,_0x3d8f9a,_0x31ca21);_0x4d216a[_0x2000b7(0x177)]=class extends _0x4daaee[_0x2000b7(0x266)]{constructor(_0x5420f6,_0x19c096,_0x11f0b5){const _0x2f575c=_0x2000b7;super(),this[_0x2f575c(0x191)]=_0x5420f6,this[_0x2f575c(0x142)]=_0x19c096,this[_0x2f575c(0x1f9)]=_0x11f0b5;}async[_0x2000b7(0x18e)](_0x1245e7,_0x39c44b,_0x1f602c,..._0x3eafa7){const _0x1241b6=_0x2000b7;var _0x485ad2,_0xe0b075,_0x19e3f7,_0xba2d15;const _0x1c69bb=this[_0x1241b6(0x191)][_0x1241b6(0x1dd)]();if(!_0x1c69bb)throw new Error(_0x1241b6(0x1e8));const _0x1f0270=((_0x485ad2=this[_0x1241b6(0x1f9)]['getConfig'](_0x1a23f6[_0x1241b6(0x12a)]))!=null?_0x485ad2:_0x1a23f6['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x1245e7+_0x1241b6(0x135)+_0x39c44b,_0x5b1038=new URL(window['location'][_0x1241b6(0x364)]),_0xa03b9={'scriptId':_0x1245e7,'runId':(_0xe0b075=_0x5b1038[_0x1241b6(0x1c8)][_0x1241b6(0x237)](_0x1241b6(0x14e)))!=null?_0xe0b075:'','function':_0x39c44b,'unitId':_0x1c69bb[_0x1241b6(0x24c)](),'argsOfFunction':JSON['stringify'](_0x3eafa7),'invokeId':(_0x19e3f7=_0x1f602c[_0x1241b6(0x326)])!=null?_0x19e3f7:'','executionId':(_0xba2d15=_0x1f602c['executionId'])!=null?_0xba2d15:''};try{const _0x459814=await this[_0x1241b6(0x142)]['post'](_0x1f0270,{'body':_0xa03b9});return _0x459814[_0x1241b6(0x330)][_0x1241b6(0x159)]&&_0x459814[_0x1241b6(0x330)]['error'][_0x1241b6(0x1fd)]!==_0x3a22a1['OK']?_0x1241b6(0x352):_0x459814[_0x1241b6(0x330)][_0x1241b6(0x349)];}catch{return _0x1241b6(0x352);}}},_0x4d216a['RemoteUniscriptService']=_0x417e48([_0x4368aa(0x0,_0x4daaee[_0x2000b7(0x1df)]),_0x4368aa(0x1,_0x4daaee[_0x2000b7(0x393)](_0x447a48[_0x2000b7(0x2e0)])),_0x4368aa(0x2,_0x4daaee[_0x2000b7(0x171)])],_0x4d216a[_0x2000b7(0x177)]),_0x4d216a[_0x2000b7(0x196)]=_0x4f0ceb,_0x4d216a[_0x2000b7(0x343)]=_0x3d4844,_0x4d216a[_0x2000b7(0x34c)]=_0x195c54,_0x4d216a[_0x2000b7(0x116)]=_0x47ba83,_0x4d216a[_0x2000b7(0x36e)]=_0x3b7f30,Object[_0x2000b7(0x163)](_0x4d216a,Symbol[_0x2000b7(0x15c)],{'value':_0x2000b7(0x19d)});}));function _0x3f17(){const _0x54e254=['getCollabEntity$','add','PENDING','length','UniverUi','setParam','_clearOtherTimers','_revisionService','all','PERMISSION_DENIED','on-line-single_clip0_910_349','UniverProCollaboration','@univerjs/docs','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','currentColor','_context','top','_anchor','_id','_colorAssignService','getValue','DesktopCollaborationStatusDisplayController','_ensureSubject','getRelativeToViewportCoord','replaceDocRanges','CollaborationController','MemberService','ThemeService','getParam','ICommandService','ILogService','range','wsSessionTicketUrl','drawWith','UniverDocsUi','transformRemoteChangeset','getRenderById','_doCreateSocket','init','_lastPointer','_syncEditingCollabCursorService','path','runRefRangeMutations','1578qqIicS','registerRenderModule','column','SetSelectionsOperation','transformMutation','send','_refRangeService','APPLY_DUPLICATED','ColorKit','_cursorInfo$','FETCH_MISS','HEADER_MENU','off-line-single','NOT_FOUND','0\x200\x2017\x2016','selection','startsWith','fillRule','RECT','max','collabStatus.notCollab','_selfUnitIDs','from','IBeforeCloseService','UniverDocs','_scene','resize','onTransformChange$','unshift','ISnapshotServerService','_commandService','HTTPService','_collabCursorController','getColor','_injector','prototype','DocSkeletonManagerService','some','UniverEngineFormula','values','fillStyle','_initCommandExecutedListener','concat','amd','transformStateCache','_onCursorDelete','enableLocalCache','getCurrentUnitForType','debounce','APPLY_REJECT','_transformService','RegularPolygon','_heartbeatTimer','serializeRangeWithSheet','trim','getUnitStatus$','getViewport','ISocketService','on-line-single','PY_RUNTIME_SCRIPT_ERROR','handleInsertRangeMoveDown','3630067jePKFi','@univerjs/ui','closePath','_toggleOnline','saveImage','_localeService','Rect','_localCacheService','width','onStarting','collab-rect-range-','generateRandomId','pluginName','SetDocZoomRatioOperation','_handleLeaveEvent','location','loadUnit','_notificationService','RxDisposable','@univerjs/network','UniverEngineRender','getTypeOfUnitAdded$','7270392NtMoxj','SheetsSelectionsService','toDisposable','setInterval','defIds','InsertRangeMoveDownCommandId','isActive','isTransformMutationsWithChangesetSuccess','_cursor','status$','univer-online-status','_themeService','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','516alzHyV','_urlService','requireSession','forwardRef','assign','invokeId','@univerjs-pro/collaboration-client','distinctUntilChanged','url(#off-line-single_clip0_910_343)','_registerDependencies','pushState','show','IImageIoService','CHANGESET_REVISION_CONFILICT','_saveCache','body','_shapes','@univerjs/rpc','getRangePointData','_hovered','params','parse','rxjs','INTERNAL_ERROR','_textBubble','imageSourceType','ALREADY_EXISTS','mapTo','CollaborationUIEventService','getMergeData','getUndoRedoMutationParamsCache','_logService','memberID','_backgroundColor','IURLService','Warning','jsx','_docClipboardService','onPointerEnter$','OFFLINE','result','collaboration.closeRoom','MessageType','SheetCollabCursorShape','defs','getConfig','deepClone','onMouseMove','startRow','Failed','disposeUnit','getSkeleton','executeCommand','_toggleOffline','_getAnchorBounding','onlineStatusTitle','_entityInit$','getUniverSheetInstance','UniverCollaborationClientPlugin','flatMap','push','@univerjs/docs-ui','_refreshCollabCursors','UniverNetwork','_render','isArray','_cursors','href','CONFLICT','unit','next','getLocalCacheKey','fillText','_range','call','setItem','getAncestorScale','WebURLService','getCurrentSelections','_onRefRangeChange','debounceTime','ONLINE','newValue','TEXT','split','offline','_eventUnsubscribe','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_sheetSkeletonManagerService','Shape','OnLineSingle','_docTransformIMECacheService','clsx','_status$','xlink:href','hovered','getOwnPropertySymbols','roomMembers$','CollaborationUIEventId','APPLY_PERMISSION_DENIED','_localStorageService','_startDocCollabCursor','_send','Unknown\x20user','engine','measureText','LOCAL_CACHE_INTERVAL_KEY','indexOf','m2Prime','LOCAL_CACHE_INTERVAL','purple300','_hideTimer','getOwnPropertyDescriptor','_handleEvent','Inject','EffectRefRangId','session.collaboration-timeout','Vector2','off-line-single_clip0_910_343','IDocClipboardService','handleInsertRow','addObjects','clearInterval','subunit','getActiveRange','backgroundColor','_transformHistoryAndStateStack','textRanges','popstate','_unitStatus','WebBrowserSingleActiveUnitService','@univerjs/sheets-ui','_dataLoaderService','exports','_docTransformStateCacheService','_initStatusListener','getUnhiddenWorksheets','LICENSE_MAX_UNITS_EXCEEDED','LICENSE_EXPORT_SIZE_EXCEEDED','rgba(255,\x20255,\x20255,\x200.01)','collabStatus.conflict','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','setAlpha','saveTaskMap','fill','CollaborationStatus','DocStateChangeManagerService','clipPath','transformMutationsWithChangeset','react','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','getSheetBySheetId','SetWorksheetActivateCommand','_anchorDot','219423BTaLyX','ENSURE_SNAPSHOT_EXECUTION','INVALID_ARGUMENT','session.will-retry','getCurrent','SNAPSHOT_INVALID_SNAPSHOT','uni.network.url-service','/run/','endColumn','ranges','YUUMI_UNABLE_LOAD_URL','_roomMembers$','CollaborationEvent','BrowserCollaborationSocketService','hasOwnProperty','UNAUTHENTICATED','addHandlerCallback','Workbook','roomMembers','SNAPSHOT_HAS_BEEN_REMOVED','_httpService','NO_OTHER_CLIENTS_EDITING','children','setShapeProps','InsertRowCommandId','UNDEFINED','_getMergeRange','APPLY_REVISION_CONFILICT','displayName','_handleHover','_assignedColors','bottom','runId','INotificationService','OffLineSingle','SOCKET_FAILED_RETRY','event$','stringify','MoveRangeCommandId','useObservable','UniverCore','TEXT_RANGE_LAYER_INDEX','CollaborationSessionService','error','ITransformService','_setupSubUnitSync','toStringTag','_online','round','RemoveRowCommandId','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','getSheetId','save','defineProperty','doc.mutation.rich-text-editing','undoState','endRow','syncEditingCollabCursor','DocCollaborationEntity','SYNCED','object','_collaborationUIEventService','disposeWithMe','_uiPartsService','RefRangeService','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','colorChannel1','IConfigService','InsertRangeMoveRightCommandId','onPointerMove$','map','_collabCursorState$','subscribeEvent','RemoteUniscriptService','delete','...','UNRECOGNIZED','icon','_registerRenderDependencies','collabStatus.syncing','collabStatus.synced','override','_name','Rectangle','handleDeleteRangeMoveLeft','M0\x200H16V16H0z','handleInsertRangeMoveRight','_messageService','COLORS','@univerjs/design','symbol','IRemoteInstanceService','red300','substring','getCoordByCell','RichTextEditingMutation','runOnServer','jsxs','application/json','_instanceService','UniverInstanceType','triggerDblclick','complete','LocaleService','CollaborationStatusDisplay','_univerInstanceService','string','replace','useCallback','collab-client.tooltip.reconnect','registerComponent','Module','text','eventID','NodePositionConvertToRectRange','editingUnit','_saveTaskMap','useDependency','restore','currentSkeleton$','collabCursorState$','_disabled','[CollaborationDataLoaderController]','_scheduleHeartbeat','permission.content','switchMap','asObservable','DeleteRangeMoveUpCommandId','@univerjs/engine-render','Subject','permission.title','CollaborationDataLoaderController','UniverSheetsUi','LICENSE_IMPORT_SIZE_EXCEEDED','YUUMI_RATE_OVER_LIMIT','onlineStatusIcon','univer-offline','getDocRanges','IRenderManagerService','black','none','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','font','mask','_createSocketURL','redoState','_getSheetObject','shareReplay','exhaustSavingTask','propertyIsEnumerable','InsertColCommandId','activeSheet$','_handleHeartbeatEvent','includes','searchParams','sheetID','@univerjs/engine-formula','LICENSE_DISTRO_REJECTED','_cursorShapes','getVpScrollXYInfoByPosToVp','886328mUflJz','UNIVER_SHEET','CONNECTOR_DATA_TOO_LARGE','_unitOnClients','url(#on-line-single_clip0_910_349)','makeDirty','getMember','toRgbString','getActiveSheet','useRef','_updateURLWithCurrentState','_setupBeforeClosingHandler','getMemberID','_handleJoinEvent','height','getFocusedUnit','_initResize','IUniverInstanceService','collab-text-range-','size','_draw','find','actions','ACTIVE_UNIT_EVENT_CHANNEL','Tools','updateOfflineData','[RemoteUniscriptService]:\x20no\x20focused\x20unit','with','current','cursorInfo','min','IMessageService','UNIVER_DOC','RemoveColCommandId','isTransformMutationFailure','AWAITING','unsubscribe','_init','unitID','hide','OTHER_CLIENT_EDITING','_docStateChangeManagerService','UniverRpc','_configService','_memberService','React','entries','code','BuiltInUIPart','mutations','_config','Plugin','_session','type','UPDATE_CURSOR','CommandType','5ISprxp','reconnect','onRendered','_transformUndoRedoStack','@univerjs/drawing','ticket','forEach','BehaviorSubject','OTHER_CLIENTS_EDITING','NOT_COLLAB','setStateCache','APPLY_NON_SEQUENTIAL_REVISION','name','pipe','set','_transformPreviousActiveRange','use','color','operators','_collabSessionService','_renderManagerService','USERS_LEAVE','labelPosition','attrs','collabStatus.fetchMiss','sheetId','124152QwFINW','addEventListener','urlChange$','saveOfflineData','debug','history','setTimeout','clearTimeout','_color','_updateSubUnitFromURLParams','throttleTime','_initEvent','univer-online','SetTextSelectionsOperation','SheetSkeletonManagerService','_collaborationController','collaboration.single-unit.warning','currentTheme$','collabStatus.offline','getTypeOfUnitDisposed$','DependentOn','apply','DOC_RANGE_TYPE','get','lineTo','_getSaveTimeout','#fff','getCollabCursors$','svg','YUUMI_SUBSCRIPTION_NOT_FOUND','1em','registerBeforeClose','addObject','_scheduleSaving','tag','merge','selections','replaceState','univer-flex\x20univer-items-center','online','Injector','@univerjs-pro/collaboration','IUIPartsService','_hover','getUnitId','_initEntityListener','toString','onCommandExecuted','createElement','dispose','filter','createIdentifier','dispose$','skeleton','collaboration-client.offline-data-not-saved','_labelPosition','UniverCollaborationClientUIPlugin','docStateChange$','m1Prime','registerRefRange','findNodePositionByCharIndex','handleDeleteRangeMoveUp','_docSyncEditingCollabCursorService','then','_startSheetCollabCursor','ILocalStorageService','getItem','has','cursorInfo$','_docSkeletonManagerService','Disposable','UnitStatus','data','div','function','unitId','_scheduleClearOtherTimer','_updateLocalCursor','getSheetObject','blue400','sessionStatus$','addClipboardHook','entityInit$','storage','takeUntil','_removeCollabCursors','subUnitId','SessionStatus','UniverDesign','arc','collaboration-client-ui.config','UniverProCollaborationClient','getStateCache','row','_entities','_initStatusComponent','_colorIndex','Error','beginPath','url(#$1','touchDependencies','DocIMEInputManagerService','_onCursorUpdate','subscribe','react/jsx-runtime','transformByState','TRANSFORM_CHANGE_OBSERVABLE_TYPE','transformIMECache','0\x200\x2016\x2016','combineLatest','4869243padEHO','evenodd','_cachedData','_updateCollabCursors','rxjs/operators','10TyFUEI','idSuffix','_removeClearOtherTimer'];_0x3f17=function(){return _0x54e254;};return _0x3f17();}