@univerjs-pro/collaboration-client-ui 0.7.0-beta.0 → 0.7.0-beta.1

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 _0x5841(_0x39553d,_0x44caa){const _0x441605=_0x4416();return _0x5841=function(_0x58416e,_0x81968f){_0x58416e=_0x58416e-0x10e;let _0x299eb2=_0x441605[_0x58416e];return _0x299eb2;},_0x5841(_0x39553d,_0x44caa);}function _0x4416(){const _0x1367bc=['_ensureSubject','_beforeCloseService','EffectRefRangId','UniverEngineFormula','@univerjs/engine-formula','defs','collaboration-client.offline-data-not-saved','_sheetSkeletonManagerService','CollaborationEvent','_hideTimer','InsertRangeMoveRightCommandId','getDocRanges','UniverUi','addClipboardHook','origin','docStateChange$','M0\x200H16V16H0z','IRemoteInstanceService','_getMergeRange','dispose','UniverProCollaboration','distinctUntilChanged','_localStorageService','_anchorDot','getFocusedUnit','UNAUTHENTICATED','LICENSE_DISTRO_REJECTED','_httpService','YUUMI_URL_COL_OUT_OF_RANGE','loadUnit','_unitOnClients','onRendered','next','rxjs','subscribe','238UvIGQS','getCollabEntity$','_roomMembers$','_getScale','enableLocalCache','WebSocketService','setConfig','history','getRelativeToViewportCoord','ITransformService','APPLY_REVISION_CONFILICT','UniverNetwork','NodePositionConvertToCursor','_transformPreviousActiveRange','roomMembers$','getRenderById','TEXT_RANGE_LAYER_INDEX','error','url(#$1','debug','_cursor','type','_context','serializeRangeWithSheet','APPLY_DUPLICATED','permission.content','arc','TOO_MANY_REQUESTS','off-line-single','HTTPService','_initEvent','round','unitId','UniverProCollaborationClientUi','parse','OFFLINE','_status$','useDependency','APPLY_NON_SEQUENTIAL_REVISION','registerComponent','Disposable','@univerjs/engine-render','handleDeleteRangeMoveLeft','selections','_docStateChangeManagerService','has','IRenderManagerService','getCurrentSelections','_notificationService','_drawTextRange','focused$','status$','requireSession','collabStatus.conflict','getValue','getVpScrollXYInfoByPosToVp','search','_collaborationUIEventService','51291GSrtsc','startsWith','SOCKET_FAILED_RETRY','_entityInit$','APPLY_PERMISSION_DENIED','_saveTaskMap','UniverInstanceType','_doCreateSocket','registerRenderModule','_hover','_initDependencies','getMemberID','_entities','replaceDocRanges','...','getSheetObject','icon','exhaustSavingTask','LocaleService','/run/','HEADER_MENU','@univerjs-pro/collaboration','hovered','UNRECOGNIZED','_collabCursorController','LOCAL_CACHE_INTERVAL','fill','add','YUUMI_RATE_OVER_LIMIT','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','switchMap','transformMutation','application/json','_onCursorDelete','_getSheetObject','univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','complete','_getSessionTicket','prototype','JOIN_ROOM_FAILED','current','66VifSaW','cursorInfo$','_messageService','hasOwnProperty','OffLineSingle','getTypeOfUnitDisposed$','RemoveRowCommandId','amd','m1Prime','IUniverInstanceService','entityInit$','transformMutationsWithChangeset','_assignedColors','clearTimeout','runRefRangeMutations','LICENSE_MAX_UNITS_EXCEEDED','IBeforeCloseService','0\x200\x2017\x2016','_handleHeartbeatEvent','defineProperty','collabStatus.offline','_revisionService','url(#on-line-single_clip0_910_349)','disposeWithMe','getSkeleton','gold400','_updateSubUnitFromURLParams','map','RevisionService','concat','then','_onCursorUpdate','getUndoRedoMutationParamsCache','createSocket','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_document','_session','UniverSheets','lineTo','_univerInstanceService','params','getColor','ONLINE','split','newValue','collab-rect-range-','WebBrowserSingleActiveUnitService','searchParams','saveOfflineData','min','OTHER_CLIENTS_EDITING','180282hNxclJ','_dataLoaderService','_docClipboardService','handleDeleteRangeMoveUp','_handleLeaveEvent','@univerjs/sheets-ui','getSheetId','UniverEngineRender','getConfig','Rectangle','_localCacheService','column','YUUMI_ASYNCIO_CANCELLED','SUBMIT_CHANGESET_TIMEOUT','@univerjs/design','IUIPartsService','_selfUnitIDs','PY_RUNTIME_SCRIPT_ERROR','path','_shapes','ColorKit','getSheetBySheetId','CollaborationSocketService','isActive','RxDisposable','findNodePositionByCharIndex','IDocClipboardService','INotificationService','Warning','@univerjs/network','name','roomMembers','_eventUnsubscribe','_online','RefRangeService','length','getActiveSheet','12855bOEdFn','find','sheetId','2209630VcOYXk','react','addObject','none','WECHAT_HAS_BEEN_BOUND','_handleHover','UNIVER_SHEET','assignAColorForMemberID','_onRefRangeChange','NOT_FOUND','saveTaskMap','USERS_LEAVE','setActiveRange','SNAPSHOT_INVALID_SNAPSHOT','symbol','30010UiRJhb','transformIMECache','_drawAnchor','max','forwardRef','wsSessionTicketUrl','Injector','shareReplay','trim','_syncEditingCollabCursorService','_memberService','getAncestorScale','LOGIN_FAILED','setParam','collaboration-client-ui.config','DocStateChangeManagerService','blue400','body','doc.mutation.rich-text-editing','disposeUnit','addEventListener','purple300','labelPosition','RegularPolygon','_unitStatus','NO_OTHER_CLIENTS_EDITING','debounce','_transformHistoryAndStateStack','setTimeout','_config','_setupBeforeClosingHandler','extend','loadOfflineData','_updateCollabCursors','ICommandService','colorChannel1','UniverCore','values','unshift','_colorIndex','_injector','black','AWAITING','_docSyncEditingCollabCursorService','getMergeData','getOwnPropertyDescriptor','height','_scheduleClearOtherTimer','_renderManagerService','Tools','_createSocketURL','transform','isTransformMutationFailure','syncEditingCollabCursor','triggerDblclick','pipe','size','getLocalCacheKey','debounceTime','_updateLocalCursor','#fff','IMessageService','isTransformMutationsWithChangesetSuccess','override','getRangePointData','range','random','text','clearInterval','_startDocCollabCursor','mutations','_removeClearOtherTimer','_scheduleSaving','_id','_name','@univerjs/drawing','sheetID','BehaviorSubject','_docTransformSelectionsService','post','assign','CHANGESET_REVISION_CONFILICT','children','rxjs/operators','session.will-retry','bottom','createIdentifier','UniverDrawing','@univerjs/core','Inject','uni.network.url-service','propertyIsEnumerable','Optional','ThemeService','subscribeEvent','CollaborationController','_draw','SetWorksheetActivateCommand','_registerDependencies','OTHER_CLIENT_EDITING','connectInjector','_collabSessionService','_cachedData','currentSkeleton$','UniverSheetsUi','ISnapshotServerService','handleInsertRow','location','fillStyle','registerRefRange','SYNCED','React','_refreshCollabCursors','session.collaboration-timeout','subUnitId','takeUntil','RemoteUniscriptService','ACTIVE_UNIT_EVENT_CHANNEL','_initCommandExecutedListener','DesktopCollaborationStatusDisplayController','ALREADY_EXISTS','moveTo','off-line-single_clip0_910_343','handleInsertRangeMoveDown','forEach','ILocalStorageService','_range','CollaborationStatus','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','permission.title','substring','createInstance','_themeService','USER_NOT_INVITED_CODE','CollaborationUIEventId','createElement','from','UniverRpc','combineLatest','Vector2','div','getTypeOfUnitAdded$','_collaborationController','_updateURLWithCurrentState','operators','DependentOn','UnitStatus','_configService','removeParam','_anchor','key','top','deserializeRangeWithSheet','VIEW_MAIN','SHEET_VIEWPORT_KEY','DataLoaderService','SNAPSHOT_HAS_BEEN_REMOVED','width','_collabCursorState$','collabStatus.syncing','_imageIoService','actions','onPointerLeave$','ticket','collab-text-anchor-','setShapeProps','_refRangeService','mask','urlChange$','color','_colorAssignService','MessageType','univer-text-green-500','collabCursorState$','tag','ISocketService','@univerjs/ui','UNDEFINED','useObservable','sessionTicket','data','Error','YUUMI_SUBSCRIPTION_NOT_FOUND','resize','collab-text-range-','@univerjs/docs','NOT_COLLAB','m2Prime','_disabled','_handleJoinEvent','MOBILE_HAS_BEEN_BOUND','univer-flex\x20univer-items-center','set','replaceState','executeCommand','startColumn','updateOfflineData','unit','collaboration.closeRoom','mergeOverrideWithDependencies','_cursorInfo$','currentTheme$','_init','univer-text-red-500','MoveRangeCommandId','_color','SessionStatus','unsubscribe','7690518fHOHrH','use','BrowserCollaborationSocketService','ENSURE_SNAPSHOT_EXECUTION','send','_docSkeletonManagerService','cursorInfo','CollaborationUIEventService','textRanges','DocCollaborationEntity','_transformService','dispose$','_drawRectRange','measureText','getCoordByCell','init','evenodd','_cursorShapes','session.connection-failed','getItem','_initResize','subunit','deepClone','code','className','INVITE_CODE_ALREADY_BOUND','MemberService','defIds','attrs','Subject','verdancy600','_scheduleHeartbeat','getUnitStatus$','setItem','_toggleOnline','EMAIL_HAS_BEEN_BOUND','transformSelections','getUnitId','row','includes','indexOf','1em','transformStateCache','toRgbString','disableLocalCache','SetSelectionsOperation','ILogService','IURLService','UniverDesign','_heartbeatTimer','asObservable','pluginName','Plugin','LICENSE_EXPORT_SIZE_EXCEEDED','COMPLETION_FINISHED','whenReady','unload','DOC_RANGE_TYPE','PENDING','APPLY_REJECT','_instanceService','handleIRemoveCol','getStateCache','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','Rect','_hovered','getUniverSheetInstance','getViewport','_textBubble','sessionStatus$','BuiltInUIPart','_commandService','UniverCollaborationClientUIPlugin','@univerjs/sheets','_setupSubUnitSync','_docTransformStateCacheService','onPointerMove$','jsx','unitID','isArray','getOwnPropertySymbols','setUndoRedoMutationParamsCache','_startSheetCollabCursor','generateRandomId','onMouseMove','show','fromEvent','_docTransformIMECacheService','closePath','currentColor','setAlpha','RECT','save','UPDATE_CURSOR','redoState','setStateCache','_localeService','toStringTag','selection','with','CollaborationDataLoaderController','handleMoveRange','FromArray','merge','UniverCollaborationClientPlugin','_lastPointer','xlink:href','_initStatusListener','Workbook','UniverProCollaborationClient','collabStatus.synced','all','_urlService','Shape','_removeCollabCursors','getMember','getCellPositionByOffset','toDisposable','result','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','_backgroundColor','_labelPosition','call','string','INVITE_CODE_REQUIRED','getParam','856tdkTRR','runId','replace','MUTATION','_getAnchorBounding','SheetsSelectionsService','entries','_getSaveTimeout','transformRemoteChangeset','eventID','YUUMI_NO_CUBOID_FOR_QUESTION','event$','svg','RichTextEditingMutation','on-line-single_clip0_910_349','memberID','stringify','exports','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','SetDocZoomRatioOperation','@univerjs/docs-ui','DocSelectionManagerService','_handleEvent','function','get','_toggleOffline','collab-client.tooltip.reconnect','ILocalCacheService','delete','CollaborationSessionService','some','drawWith','PERMISSION_DENIED','_saveCache','_cursors','[CollaborationDataLoaderController]','14201210WoLOjU','engine','_scene','undoState','_transformUndoRedoStack','@univerjs-pro/collaboration-client','_send','IConfigService','DisposableCollection','CLOSE_ROOM','SetTextSelectionsOperation','COLORS','DocIMEInputManagerService','_render','idSuffix','collabStatus.notCollab','_docSkeleton','DEFAULT_WS_SESSION_TICKET_URL','getUnhiddenWorksheets','href','_initStatusComponent','InsertRowCommandId','storage','toString','font','displayName','onPointerEnter$','getOffsetConfig','CONFLICT','activeSheet$','on-line-single','addObjects','_clearOtherTimers','fillText','Unknown\x20user','YUUMI_UNABLE_LOAD_URL','push','hide','pushState','onStarting','react/jsx-runtime','1300xRfdtY','_uiPartsService','addHandlerCallback','FETCH_MISS','isEditing','INTERNAL_ERROR','handleInsertCol','UNIVER_DOC','DeleteRangeMoveUpCommandId','getCollabCursors$','CONNECTOR_DATA_TOO_LARGE','InsertColCommandId','_logService','url(#off-line-single_clip0_910_343)','onCommandExecuted','reconnect'];_0x4416=function(){return _0x1367bc;};return _0x4416();}(function(_0x8134f3,_0x12598f){const _0x2e9d68=_0x5841,_0x5ca0be=_0x8134f3();while(!![]){try{const _0x3c0bbb=-parseInt(_0x2e9d68(0x358))/0x1*(-parseInt(_0x2e9d68(0x2ee))/0x2)+-parseInt(_0x2e9d68(0x346))/0x3*(-parseInt(_0x2e9d68(0x258))/0x4)+-parseInt(_0x2e9d68(0x349))/0x5+parseInt(_0x2e9d68(0x321))/0x6*(-parseInt(_0x2e9d68(0x28b))/0x7)+parseInt(_0x2e9d68(0x20b))/0x8*(parseInt(_0x2e9d68(0x2c5))/0x9)+-parseInt(_0x2e9d68(0x22f))/0xa+parseInt(_0x2e9d68(0x18d))/0xb;if(_0x3c0bbb===_0x12598f)break;else _0x5ca0be['push'](_0x5ca0be['shift']());}catch(_0x1cf91c){_0x5ca0be['push'](_0x5ca0be['shift']());}}}(_0x4416,0xc5531),function(_0x2a49c1,_0x331a20){const _0x74e936=_0x5841;typeof exports=='object'&&typeof module<'u'?_0x331a20(exports,require(_0x74e936(0x234)),require('@univerjs/core'),require('@univerjs/engine-render'),require(_0x74e936(0x33e)),require(_0x74e936(0x21f)),require(_0x74e936(0x3a3)),require(_0x74e936(0x289)),require(_0x74e936(0x176)),require(_0x74e936(0x2da)),require(_0x74e936(0x26c)),require(_0x74e936(0x1d6)),require('rxjs/operators'),require(_0x74e936(0x326)),require(_0x74e936(0x257)),require(_0x74e936(0x16d)),require(_0x74e936(0x32f)),require(_0x74e936(0x34a)),require('@univerjs/rpc')):typeof define==_0x74e936(0x222)&&define[_0x74e936(0x2f5)]?define([_0x74e936(0x21c),_0x74e936(0x234),_0x74e936(0x115),_0x74e936(0x2b4),_0x74e936(0x33e),'@univerjs/docs-ui','@univerjs/drawing',_0x74e936(0x289),'@univerjs/docs',_0x74e936(0x2da),_0x74e936(0x26c),_0x74e936(0x1d6),_0x74e936(0x110),'@univerjs/sheets-ui','react/jsx-runtime',_0x74e936(0x16d),_0x74e936(0x32f),'react','@univerjs/rpc'],_0x331a20):(_0x2a49c1=typeof globalThis<'u'?globalThis:_0x2a49c1||self,_0x331a20(_0x2a49c1[_0x74e936(0x2ac)]={},_0x2a49c1[_0x74e936(0x1fa)],_0x2a49c1[_0x74e936(0x37c)],_0x2a49c1[_0x74e936(0x328)],_0x2a49c1[_0x74e936(0x296)],_0x2a49c1['UniverDocsUi'],_0x2a49c1[_0x74e936(0x114)],_0x2a49c1[_0x74e936(0x289)],_0x2a49c1['UniverDocs'],_0x2a49c1[_0x74e936(0x27c)],_0x2a49c1[_0x74e936(0x26b)],_0x2a49c1[_0x74e936(0x313)],_0x2a49c1[_0x74e936(0x289)][_0x74e936(0x14d)],_0x2a49c1[_0x74e936(0x125)],_0x2a49c1[_0x74e936(0x12c)],_0x2a49c1[_0x74e936(0x274)],_0x2a49c1[_0x74e936(0x1bd)],_0x2a49c1[_0x74e936(0x12c)],_0x2a49c1[_0x74e936(0x146)]));}(this,function(_0x4c3250,_0x2c72d0,_0x5bf9c6,_0x5d1039,_0x28d1f0,_0x1a8f2e,_0x32ed5f,_0x496cb2,_0x50e692,_0x4e6003,_0x44be57,_0x4fd62b,_0x19b4ce,_0x45d045,_0x5540cf,_0x106fc7,_0x165dd1,_0xab82b5,_0x1d3fe6){'use strict';const _0x19a859=_0x5841;var _0x1cbfe9=Object[_0x19a859(0x301)],_0x22e32e=(_0x11e0d3,_0x3c9bd8,_0x1eab2b)=>_0x3c9bd8 in _0x11e0d3?_0x1cbfe9(_0x11e0d3,_0x3c9bd8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1eab2b}):_0x11e0d3[_0x3c9bd8]=_0x1eab2b,_0x521fa5=(_0xf7ad17,_0x422f42,_0x1cca67)=>_0x22e32e(_0xf7ad17,typeof _0x422f42!=_0x19a859(0x357)?_0x422f42+'':_0x422f42,_0x1cca67),_0x5e463f=Object[_0x19a859(0x385)],_0x36cb6a=(_0x3ccca4,_0x5e3f5f,_0x2adf32,_0x309caf)=>{const _0x158809=_0x19a859;for(var _0x1e29c6=_0x309caf>0x1?void 0x0:_0x309caf?_0x5e463f(_0x5e3f5f,_0x2adf32):_0x5e3f5f,_0x4efffc=_0x3ccca4[_0x158809(0x344)]-0x1,_0x52f7e8;_0x4efffc>=0x0;_0x4efffc--)(_0x52f7e8=_0x3ccca4[_0x4efffc])&&(_0x1e29c6=_0x52f7e8(_0x1e29c6)||_0x1e29c6);return _0x1e29c6;},_0x39b60c=(_0x1711ca,_0x4f685e)=>(_0x30e9b6,_0x58de0a)=>_0x4f685e(_0x30e9b6,_0x58de0a,_0x1711ca);let _0x41ef61=class extends _0x5bf9c6['RxDisposable']{constructor(_0x19e246,_0x352f4a){const _0x1c8750=_0x19a859;super(),this[_0x1c8750(0x323)]=_0x19e246,this[_0x1c8750(0x15d)]=_0x352f4a,this[_0x1c8750(0x187)]();}[_0x19a859(0x187)](){const _0x2cccf1=_0x19a859,_0x3bfa1c=this;this[_0x2cccf1(0x305)](this[_0x2cccf1(0x323)][_0x2cccf1(0x275)]({'onBeforePasteImage':async _0x1cd2b6=>{const _0x58ab85=_0x2cccf1,_0x1cab38=await _0x3bfa1c[_0x58ab85(0x15d)]['saveImage'](_0x1cd2b6);return _0x1cab38?{'source':_0x1cab38['source'],'imageSourceType':_0x1cab38['imageSourceType']}:null;}}));}};_0x41ef61=_0x36cb6a([_0x39b60c(0x0,_0x1a8f2e[_0x19a859(0x33b)]),_0x39b60c(0x1,_0x32ed5f['IImageIoService'])],_0x41ef61);const _0x3b1f63=[_0x19a859(0x36d),'jiqing500',_0x19a859(0x1ab),'red300',_0x19a859(0x368),_0x19a859(0x307)];class _0x30d5cc extends _0x5bf9c6['Disposable']{constructor(){const _0x5cbd57=_0x19a859;super(...arguments),_0x521fa5(this,_0x5cbd57(0x2fa),new Map()),_0x521fa5(this,'_colorIndex',0x0);}[_0x19a859(0x350)](_0x17b72b){const _0xdcb8b8=_0x19a859;if(this['_assignedColors'][_0xdcb8b8(0x2b8)](_0x17b72b))return this[_0xdcb8b8(0x2fa)]['get'](_0x17b72b);const _0x33eb80=_0x3b1f63[this['_colorIndex']];return this[_0xdcb8b8(0x37f)]=(this[_0xdcb8b8(0x37f)]+0x1)%_0x3b1f63['length'],this[_0xdcb8b8(0x2fa)][_0xdcb8b8(0x17d)](_0x17b72b,_0x33eb80),_0x33eb80;}}function _0x23dcc3(_0x215137){let _0x2dfb2b='';for(const _0x3abd55 of _0x215137){const {startOffset:_0xb8259e,endOffset:_0x55d6c2,isActive:_0x193841,rangeType:_0x3f8139,segmentId:_0x5588d9,segmentPage:_0x4553c3}=_0x3abd55;_0x2dfb2b['length']&&(_0x2dfb2b+=','),_0x2dfb2b+=_0xb8259e+':'+_0x55d6c2+':'+(_0x193841?'1':'0')+':'+_0x3f8139+':'+_0x5588d9+':'+_0x4553c3;}return _0x2dfb2b;}function _0xe496a5(_0x1de54d){const _0x2d80a3=_0x19a859,_0x4bd327=_0x1de54d[_0x2d80a3(0x319)](','),_0x2d9676=[];for(const _0x2a178e of _0x4bd327){const [_0x11982e,_0x3adb6c,_0xadad32,_0x3147ab,_0x2f6d28,_0x9e751e]=_0x2a178e['split'](':');_0x2d9676['push']({'startOffset':Number(_0x11982e),'endOffset':Number(_0x3adb6c),'collapsed':_0x11982e===_0x3adb6c,'isActive':_0xadad32==='1','rangeType':_0x3147ab===_0x5bf9c6[_0x2d80a3(0x1c6)]['TEXT']?_0x5bf9c6['DOC_RANGE_TYPE']['TEXT']:_0x5bf9c6[_0x2d80a3(0x1c6)][_0x2d80a3(0x1e8)],'segmentId':typeof _0x2f6d28==_0x2d80a3(0x208)?String(_0x2f6d28):'','segmentPage':Number(_0x9e751e!=null?_0x9e751e:-0x1)});}return _0x2d9676[_0x2d80a3(0x229)](_0x311d81=>_0x311d81[_0x2d80a3(0x338)])||(_0x2d9676[0x0][_0x2d80a3(0x338)]=!0x0),_0x2d9676;}class _0x299122 extends _0x5bf9c6[_0x19a859(0x339)]{constructor(){const _0x3f2a10=_0x19a859;super(...arguments),_0x521fa5(this,_0x3f2a10(0x15b),new _0x496cb2['BehaviorSubject'](null)),_0x521fa5(this,_0x3f2a10(0x16a),this[_0x3f2a10(0x15b)]['asObservable']());}['syncEditingCollabCursor'](_0x5ac2de){const _0x496e8e=_0x19a859,{unitID:_0x1bd9b0,memberID:_0x3726f9,textRanges:_0x4280d0}=_0x5ac2de,_0x36309d=_0x23dcc3(_0x4280d0);if(_0x36309d==='')return;const _0x381b00={'unitID':_0x1bd9b0,'memberID':_0x3726f9,'selection':_0x36309d};this[_0x496e8e(0x15b)][_0x496e8e(0x288)](_0x381b00);}}var _0x3938c2=Object[_0x19a859(0x385)],_0x849b3d=(_0x1afe1d,_0x76b9cd,_0x492c1f,_0x2b1701)=>{const _0x2af25b=_0x19a859;for(var _0x2b7afc=_0x2b1701>0x1?void 0x0:_0x2b1701?_0x3938c2(_0x76b9cd,_0x492c1f):_0x76b9cd,_0x4ec48c=_0x1afe1d[_0x2af25b(0x344)]-0x1,_0x1d9941;_0x4ec48c>=0x0;_0x4ec48c--)(_0x1d9941=_0x1afe1d[_0x4ec48c])&&(_0x2b7afc=_0x1d9941(_0x2b7afc)||_0x2b7afc);return _0x2b7afc;},_0x2a899b=(_0x238f93,_0x34e166)=>(_0x3f8c9a,_0x3525cc)=>_0x34e166(_0x3f8c9a,_0x3525cc,_0x238f93);const _0x4d5d64=0x12c,_0x303001=0x64;let _0x5964e0=class extends _0x5bf9c6[_0x19a859(0x339)]{constructor(_0x154aa6,_0x42af39,_0x3e8b09,_0x1d1159,_0xf2fb4c,_0x5d0b8d,_0x3f75ad,_0x185cbe,_0x473101){const _0x201cb9=_0x19a859;super(),_0x521fa5(this,_0x201cb9(0x342),!0x1),_0x521fa5(this,_0x201cb9(0x187),!0x1),_0x521fa5(this,'_cursorInfo$',new _0x496cb2[(_0x201cb9(0x3a5))](new Map())),_0x521fa5(this,'cursorInfo$',this[_0x201cb9(0x185)][_0x201cb9(0x1bf)]()),_0x521fa5(this,_0x201cb9(0x28d),new _0x496cb2[(_0x201cb9(0x3a5))]([])),_0x521fa5(this,_0x201cb9(0x299),this[_0x201cb9(0x28d)][_0x201cb9(0x38f)](_0x496cb2[_0x201cb9(0x392)](_0x4d5d64))),_0x521fa5(this,_0x201cb9(0x393),_0x5bf9c6['debounce'](_0x303954=>{const _0x2ac2=_0x201cb9,_0x54efd5={'eventID':_0x4e6003[_0x2ac2(0x270)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x2ac2(0x312)][_0x2ac2(0x2d0)](),'selection':_0x23dcc3(_0x303954)}};this['_session']['send'](_0x54efd5,this['unitID']);},_0x303001)),(this[_0x201cb9(0x1db)]=_0x154aa6,this[_0x201cb9(0x312)]=_0x42af39,this[_0x201cb9(0x380)]=_0x3e8b09,this[_0x201cb9(0x167)]=_0x1d1159,this['_memberService']=_0xf2fb4c,this[_0x201cb9(0x361)]=_0x5d0b8d,this['_transformService']=_0x3f75ad,this[_0x201cb9(0x315)]=_0x185cbe,this['_commandService']=_0x473101);}get['cursorInfo'](){const _0x271864=_0x19a859;return this[_0x271864(0x185)][_0x271864(0x2c1)]();}get[_0x19a859(0x340)](){return this['_roomMembers$']['getValue']();}[_0x19a859(0x27b)](){const _0x4a48ad=_0x19a859;super['dispose'](),this['_cursorInfo$'][_0x4a48ad(0x288)](new Map()),this[_0x4a48ad(0x185)][_0x4a48ad(0x2e9)](),this[_0x4a48ad(0x28d)][_0x4a48ad(0x288)]([]),this['_roomMembers$'][_0x4a48ad(0x2e9)]();}[_0x19a859(0x19c)](){const _0x5ae5ef=_0x19a859;this[_0x5ae5ef(0x187)]||(this[_0x5ae5ef(0x187)]=!0x0,this[_0x5ae5ef(0x312)][_0x5ae5ef(0x1d2)][_0x5ae5ef(0x38f)](_0x496cb2['takeUntil'](this['dispose$']))[_0x5ae5ef(0x28a)](_0x586ecd=>{const _0x3733b9=_0x5ae5ef;_0x586ecd===_0x2c72d0[_0x3733b9(0x18b)][_0x3733b9(0x318)]?this[_0x3733b9(0x1af)]():this['_toggleOffline']();}),this['_session'][_0x5ae5ef(0x216)][_0x5ae5ef(0x38f)](_0x496cb2[_0x5ae5ef(0x130)](this[_0x5ae5ef(0x198)]))[_0x5ae5ef(0x28a)](_0x131d9d=>{const _0x48529f=_0x5ae5ef,_0x3c92f5=_0x131d9d[_0x48529f(0x214)];_0x3c92f5===_0x4e6003[_0x48529f(0x270)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x131d9d),_0x3c92f5===_0x4e6003[_0x48529f(0x270)][_0x48529f(0x354)]&&this[_0x48529f(0x2e6)](_0x131d9d);}),this[_0x5ae5ef(0x305)](this[_0x5ae5ef(0x1d4)][_0x5ae5ef(0x266)](_0x121ad0=>{const _0x51bb92=_0x5ae5ef,_0x1af7ca=_0x121ad0[_0x51bb92(0x316)];_0x1af7ca!=null&&this['_online']&&_0x121ad0['id']===_0x50e692[_0x51bb92(0x239)]['id']&&_0x1af7ca[_0x51bb92(0x2ab)]===this[_0x51bb92(0x1db)]&&_0x1af7ca[_0x51bb92(0x25c)]===!0x1&&_0x1af7ca['ranges'][_0x51bb92(0x344)]>0x0&&this[_0x51bb92(0x393)](_0x1af7ca['ranges']);})),this[_0x5ae5ef(0x361)][_0x5ae5ef(0x16a)][_0x5ae5ef(0x38f)](_0x496cb2[_0x5ae5ef(0x130)](this[_0x5ae5ef(0x198)]))[_0x5ae5ef(0x28a)](_0x45ba50=>{const _0x50a8a7=_0x5ae5ef;if((_0x45ba50==null?void 0x0:_0x45ba50[_0x50a8a7(0x1db)])!==this[_0x50a8a7(0x1db)])return;const _0x2324a8={'eventID':_0x4e6003[_0x50a8a7(0x270)]['UPDATE_CURSOR'],'data':_0x45ba50};this[_0x50a8a7(0x30d)](_0x2324a8);}),this[_0x5ae5ef(0x305)](this[_0x5ae5ef(0x1d4)][_0x5ae5ef(0x266)](_0x4fb321=>{const _0x3fa9de=_0x5ae5ef;if(_0x4fb321[_0x3fa9de(0x316)]==null)return;const _0x2191d3=_0x4fb321[_0x3fa9de(0x316)];if(_0x4fb321['id']!==_0x50e692[_0x3fa9de(0x218)]['id']||_0x2191d3[_0x3fa9de(0x2ab)]!==this[_0x3fa9de(0x1db)])return;const _0x10a874={'id':_0x3fa9de(0x36a),'params':_0x2191d3},_0xaed740=this[_0x3fa9de(0x193)];for(const [_0x3dd706,_0x30d2d4]of _0xaed740){const _0x384d02={'id':_0x3fa9de(0x36a),'params':{'unitId':this[_0x3fa9de(0x1db)],'actions':null,'textRanges':_0x30d2d4['ranges']}},_0x3b47a0=this[_0x3fa9de(0x197)]['transformMutation'](_0x10a874,_0x384d02,!0x1);if(_0x4e6003[_0x3fa9de(0x38c)](_0x3b47a0))throw _0x3b47a0['error'];_0xaed740[_0x3fa9de(0x17d)](_0x3dd706,{..._0x30d2d4,'ranges':_0x3b47a0[_0x3fa9de(0x178)][_0x3fa9de(0x316)][_0x3fa9de(0x195)]});}queueMicrotask(()=>{const _0x2cb3b5=_0x3fa9de;this[_0x2cb3b5(0x185)][_0x2cb3b5(0x288)](_0xaed740);});})));}[_0x19a859(0x30d)](_0x24bde9){const _0xe0c9d0=_0x19a859;var _0xbd7078,_0x24e7c9;const {memberID:_0x334155,selection:_0x8c4b7}=_0x24bde9['data'],_0x3516b2=_0xe496a5(_0x8c4b7),_0x5021eb=(_0x24e7c9=(_0xbd7078=this[_0xe0c9d0(0x362)]['getMember'](this['unitID'],_0x334155))==null?void 0x0:_0xbd7078[_0xe0c9d0(0x33f)])!=null?_0x24e7c9:_0xe0c9d0(0x251),_0x19f57c={'color':this[_0xe0c9d0(0x167)][_0xe0c9d0(0x350)](_0x334155),'name':_0x5021eb,'ranges':_0x3516b2},_0x4d5af5=this[_0xe0c9d0(0x193)];_0x4d5af5[_0xe0c9d0(0x17d)](_0x334155,_0x19f57c),this[_0xe0c9d0(0x185)][_0xe0c9d0(0x288)](_0x4d5af5);}[_0x19a859(0x2e6)](_0x4e7e2b){const _0x48f2cc=_0x19a859,{memberID:_0x26db54}=_0x4e7e2b[_0x48f2cc(0x171)],_0x565d0d=this['cursorInfo'];_0x565d0d[_0x48f2cc(0x227)](_0x26db54),this[_0x48f2cc(0x185)]['next'](_0x565d0d);}['_toggleOnline'](){const _0x405a79=_0x19a859;var _0x3bfbb6;if(this['_online']=!0x0,((_0x3bfbb6=this[_0x405a79(0x315)][_0x405a79(0x280)]())==null?void 0x0:_0x3bfbb6['getUnitId']())!==this['unitID'])return;const _0x42aef5=this[_0x405a79(0x380)][_0x405a79(0x223)](_0x50e692['DocSelectionManagerService'])[_0x405a79(0x273)]();Array[_0x405a79(0x1dc)](_0x42aef5)&&_0x42aef5['length']>0x0&&this['_updateLocalCursor'](_0x42aef5);}[_0x19a859(0x224)](){const _0x2acc7e=_0x19a859;this[_0x2acc7e(0x342)]=!0x1;}};_0x5964e0=_0x849b3d([_0x2a899b(0x2,_0x5bf9c6[_0x19a859(0x116)](_0x5bf9c6[_0x19a859(0x35e)])),_0x2a899b(0x3,_0x5bf9c6[_0x19a859(0x116)](_0x30d5cc)),_0x2a899b(0x4,_0x5bf9c6[_0x19a859(0x116)](_0x2c72d0[_0x19a859(0x1a7)])),_0x2a899b(0x5,_0x5bf9c6[_0x19a859(0x116)](_0x299122)),_0x2a899b(0x6,_0x4e6003['ITransformService']),_0x2a899b(0x7,_0x5bf9c6[_0x19a859(0x2f7)]),_0x2a899b(0x8,_0x5bf9c6[_0x19a859(0x37a)])],_0x5964e0);var _0x24604c=Object[_0x19a859(0x385)],_0x11def2=(_0x2e454a,_0x4f5bc7,_0xbbe697,_0x522941)=>{for(var _0x2d2fd7=_0x522941>0x1?void 0x0:_0x522941?_0x24604c(_0x4f5bc7,_0xbbe697):_0x4f5bc7,_0x43b25c=_0x2e454a['length']-0x1,_0x23d25f;_0x43b25c>=0x0;_0x43b25c--)(_0x23d25f=_0x2e454a[_0x43b25c])&&(_0x2d2fd7=_0x23d25f(_0x2d2fd7)||_0x2d2fd7);return _0x2d2fd7;},_0x205450=(_0x4401a1,_0x430eec)=>(_0x19f891,_0x1e6a93)=>_0x430eec(_0x19f891,_0x1e6a93,_0x4401a1);const _0x51b22d=0x12c,_0x599b02=0x64,_0x533af3=()=>{let _0x193331=[],_0x5813a4=!0x1;return _0x2f929f=>{_0x193331['push'](_0x2f929f),_0x5813a4||(_0x5813a4=!0x0,setTimeout(()=>{_0x193331['forEach'](_0x4b475c=>_0x4b475c()),_0x193331=[],_0x5813a4=!0x1;}));};};let _0x23df67=class extends _0x5bf9c6[_0x19a859(0x339)]{constructor(_0x537362,_0x1574dd,_0x193057,_0x32e698,_0x2a8b59,_0x39bcfe,_0x429fa8,_0x4828bb){const _0x5c4125=_0x19a859;super(),_0x521fa5(this,_0x5c4125(0x342),!0x1),_0x521fa5(this,_0x5c4125(0x187),!0x1),_0x521fa5(this,'_cursorInfo$',new _0x496cb2[(_0x5c4125(0x3a5))](new Map())),_0x521fa5(this,'cursorInfo$',this[_0x5c4125(0x185)][_0x5c4125(0x1bf)]()),_0x521fa5(this,_0x5c4125(0x28d),new _0x496cb2[(_0x5c4125(0x3a5))]([])),_0x521fa5(this,_0x5c4125(0x299),this[_0x5c4125(0x28d)]['pipe'](_0x496cb2[_0x5c4125(0x392)](_0x51b22d))),_0x521fa5(this,'_updateLocalCursor',_0x5bf9c6[_0x5c4125(0x372)]((_0x51b194,_0x5c5f7b)=>{const _0x2de5da=_0x5c4125,_0x2da884={'eventID':_0x4e6003[_0x2de5da(0x270)][_0x2de5da(0x1ea)],'data':{'unitID':this[_0x2de5da(0x1db)],'memberID':this[_0x2de5da(0x312)]['getMemberID'](),'selection':_0x44be57[_0x2de5da(0x2a2)](_0x51b194,_0x5c5f7b['range'])}};this['_session'][_0x2de5da(0x191)](_0x2da884,this[_0x2de5da(0x1db)]);},_0x599b02)),(this['unitID']=_0x537362,this[_0x5c4125(0x312)]=_0x1574dd,this[_0x5c4125(0x380)]=_0x193057,this[_0x5c4125(0x167)]=_0x32e698,this['_memberService']=_0x2a8b59,this[_0x5c4125(0x315)]=_0x39bcfe,this[_0x5c4125(0x1d4)]=_0x429fa8,this[_0x5c4125(0x163)]=_0x4828bb);}get[_0x19a859(0x193)](){const _0x3cd3e9=_0x19a859;return this[_0x3cd3e9(0x185)][_0x3cd3e9(0x2c1)]();}get['roomMembers'](){const _0xc93928=_0x19a859;return this[_0xc93928(0x28d)][_0xc93928(0x2c1)]();}[_0x19a859(0x27b)](){const _0x3f4da9=_0x19a859;super[_0x3f4da9(0x27b)](),this[_0x3f4da9(0x185)][_0x3f4da9(0x288)](new Map()),this[_0x3f4da9(0x185)][_0x3f4da9(0x2e9)](),this[_0x3f4da9(0x28d)][_0x3f4da9(0x288)]([]),this[_0x3f4da9(0x28d)][_0x3f4da9(0x2e9)]();}[_0x19a859(0x19c)](){const _0x59200d=_0x19a859;this[_0x59200d(0x187)]||(this[_0x59200d(0x187)]=!0x0,this[_0x59200d(0x312)]['sessionStatus$'][_0x59200d(0x38f)](_0x496cb2[_0x59200d(0x130)](this[_0x59200d(0x198)]))['subscribe'](_0x5af3d4=>{const _0x4361ae=_0x59200d;_0x5af3d4===_0x2c72d0[_0x4361ae(0x18b)]['ONLINE']?this[_0x4361ae(0x1af)]():this[_0x4361ae(0x224)]();}),this[_0x59200d(0x312)]['event$']['pipe'](_0x496cb2[_0x59200d(0x130)](this[_0x59200d(0x198)]))[_0x59200d(0x28a)](_0x4db848=>{const _0x20fb85=_0x59200d,_0x1f6c75=_0x4db848[_0x20fb85(0x214)];_0x1f6c75===_0x4e6003[_0x20fb85(0x270)][_0x20fb85(0x1ea)]&&this[_0x20fb85(0x30d)](_0x4db848),_0x1f6c75===_0x4e6003[_0x20fb85(0x270)][_0x20fb85(0x354)]&&this[_0x20fb85(0x2e6)](_0x4db848);}),this[_0x59200d(0x351)](),this[_0x59200d(0x305)](this[_0x59200d(0x1d4)][_0x59200d(0x266)](_0x19f456=>{const _0xd53508=_0x59200d;if(this[_0xd53508(0x342)]&&_0x19f456['id']===_0x4fd62b[_0xd53508(0x1ba)]['id']&&_0x19f456['params'][_0xd53508(0x2ab)]===this['unitID']){const _0x48ab9f=_0x19f456[_0xd53508(0x316)];this[_0xd53508(0x393)](_0x48ab9f[_0xd53508(0x12f)],_0x48ab9f[_0xd53508(0x2b6)][0x0]);}})));}[_0x19a859(0x30d)](_0x5a153e){const _0x2944fd=_0x19a859;var _0x5187d8,_0xc4a36;const {memberID:_0x2210f7,selection:_0x4a6b47}=_0x5a153e[_0x2944fd(0x171)],{sheetName:_0x586b8d,range:_0x4b3dc4}=_0x44be57[_0x2944fd(0x155)](_0x4a6b47),_0x4b1fd0={'name':(_0xc4a36=(_0x5187d8=this['_memberService'][_0x2944fd(0x200)](this[_0x2944fd(0x1db)],_0x2210f7))==null?void 0x0:_0x5187d8[_0x2944fd(0x33f)])!=null?_0xc4a36:_0x2944fd(0x251),'range':this[_0x2944fd(0x27a)](_0x586b8d,_0x4b3dc4),'sheetID':_0x586b8d,'color':this[_0x2944fd(0x167)][_0x2944fd(0x350)](_0x2210f7),'selection':_0x4a6b47},_0x196620=this[_0x2944fd(0x193)];_0x196620[_0x2944fd(0x17d)](_0x2210f7,_0x4b1fd0),this[_0x2944fd(0x185)][_0x2944fd(0x288)](_0x196620);}['_onCursorDelete'](_0x4e5435){const _0x5823b8=_0x19a859,{memberID:_0x55d3d5}=_0x4e5435[_0x5823b8(0x171)],_0x46d4ae=this[_0x5823b8(0x193)];_0x46d4ae[_0x5823b8(0x227)](_0x55d3d5),this['_cursorInfo$'][_0x5823b8(0x288)](_0x46d4ae);}[_0x19a859(0x27a)](_0x9b2206,_0x3ff7c7){const _0x4d7aea=_0x19a859;var _0x3e0047,_0x23f714;const _0x531aad=(_0x23f714=(_0x3e0047=this[_0x4d7aea(0x315)][_0x4d7aea(0x1cf)](this[_0x4d7aea(0x1db)]))==null?void 0x0:_0x3e0047['getSheetBySheetId'](_0x9b2206))==null?void 0x0:_0x23f714[_0x4d7aea(0x384)]();return(_0x531aad==null?void 0x0:_0x531aad[_0x4d7aea(0x347)](_0x8aa37f=>_0x5bf9c6[_0x4d7aea(0x32a)]['contains'](_0x8aa37f,_0x3ff7c7)))||_0x3ff7c7;}[_0x19a859(0x351)](){const _0x7370f0=_0x19a859,_0x598635=new _0x5bf9c6[(_0x7370f0(0x237))](),_0x449f23=_0x533af3(),_0x431b10=()=>{const _0x6f86f9=_0x7370f0;_0x598635[_0x6f86f9(0x27b)]();const _0x494859=(_0xce6ecc,_0x3804bc,_0x511acb,_0xb4eda4)=>{const _0x395991=_0x6f86f9;let _0x3de434=[];switch(_0xce6ecc['id']){case _0x4fd62b[_0x395991(0x26a)]['DeleteRangeMoveLeftCommandId']:{_0x3de434=_0x4fd62b[_0x395991(0x2b5)](_0xce6ecc,_0xb4eda4);break;}case _0x4fd62b['EffectRefRangId'][_0x395991(0x260)]:{_0x3de434=_0x4fd62b[_0x395991(0x324)](_0xce6ecc,_0xb4eda4);break;}case _0x4fd62b[_0x395991(0x26a)][_0x395991(0x263)]:{_0x3de434=_0x4fd62b[_0x395991(0x25e)](_0xce6ecc,_0xb4eda4);break;}case _0x4fd62b[_0x395991(0x26a)]['InsertRangeMoveDownCommandId']:{_0x3de434=_0x4fd62b[_0x395991(0x138)](_0xce6ecc,_0xb4eda4);break;}case _0x4fd62b['EffectRefRangId'][_0x395991(0x272)]:{_0x3de434=_0x4fd62b['handleInsertRangeMoveRight'](_0xce6ecc,_0xb4eda4);break;}case _0x4fd62b['EffectRefRangId'][_0x395991(0x244)]:{_0x3de434=_0x4fd62b[_0x395991(0x127)](_0xce6ecc,_0xb4eda4);break;}case _0x4fd62b[_0x395991(0x26a)][_0x395991(0x189)]:{_0x3de434=_0x4fd62b[_0x395991(0x1f2)](_0xce6ecc,_0xb4eda4);break;}case _0x4fd62b['EffectRefRangId']['RemoveColCommandId']:{_0x3de434=_0x4fd62b[_0x395991(0x1ca)](_0xce6ecc,_0xb4eda4);break;}case _0x4fd62b['EffectRefRangId'][_0x395991(0x2f4)]:{_0x3de434=_0x4fd62b['handleIRemoveRow'](_0xce6ecc,_0xb4eda4);break;}}const _0x159ce4=_0x4fd62b[_0x395991(0x2fc)](_0x3de434,_0xb4eda4),_0x5e6ff2=this['cursorInfo']['get'](_0x3804bc);if(_0x5e6ff2&&_0x159ce4){const _0x25a10d={..._0x5e6ff2,'range':_0x159ce4};this['cursorInfo'][_0x395991(0x17d)](_0x3804bc,_0x25a10d),_0x449f23(()=>{const _0x3bf221=_0x395991,_0x41fe93=this[_0x3bf221(0x163)][_0x3bf221(0x12a)](_0x159ce4,_0x3ae31a=>(_0x41fe93['dispose'](),_0x494859(_0x3ae31a,_0x3804bc,_0x511acb,_0x159ce4)));_0x598635[_0x3bf221(0x2e0)](_0x41fe93);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x6f86f9(0x139)]((_0x99bc8b,_0x137ab6)=>{const _0xb6e164=_0x6f86f9,{range:_0x218167,sheetID:_0x2e82ba}=_0x99bc8b,_0x5a9198=this['_refRangeService'][_0xb6e164(0x12a)](_0x218167,_0x34d702=>(_0x5a9198['dispose'](),_0x494859(_0x34d702,_0x137ab6,_0x2e82ba,_0x218167)));_0x598635[_0xb6e164(0x2e0)](_0x5a9198);});};this[_0x7370f0(0x305)](_0x5bf9c6[_0x7370f0(0x202)](this[_0x7370f0(0x185)]['subscribe'](()=>{_0x431b10();})));}[_0x19a859(0x1af)](){const _0x2da4fb=_0x19a859;var _0x41907f,_0x1adcfb;if(this[_0x2da4fb(0x342)]=!0x0,((_0x41907f=this['_univerInstanceService'][_0x2da4fb(0x280)]())==null?void 0x0:_0x41907f[_0x2da4fb(0x1b2)]())!==this[_0x2da4fb(0x1db)])return;const _0x1a41c9=(_0x1adcfb=this[_0x2da4fb(0x380)][_0x2da4fb(0x223)](_0x4fd62b[_0x2da4fb(0x210)])[_0x2da4fb(0x2ba)]())==null?void 0x0:_0x1adcfb[0x0],_0x32983a=this[_0x2da4fb(0x315)]['getCurrentUnitForType'](_0x5bf9c6['UniverInstanceType'][_0x2da4fb(0x34f)])[_0x2da4fb(0x345)]();_0x1a41c9&&_0x32983a&&this[_0x2da4fb(0x393)](_0x32983a[_0x2da4fb(0x327)](),_0x1a41c9);}['_toggleOffline'](){this['_online']=!0x1;}};_0x23df67=_0x11def2([_0x205450(0x2,_0x5bf9c6[_0x19a859(0x116)](_0x5bf9c6[_0x19a859(0x35e)])),_0x205450(0x3,_0x5bf9c6['Inject'](_0x30d5cc)),_0x205450(0x4,_0x5bf9c6['Inject'](_0x2c72d0[_0x19a859(0x1a7)])),_0x205450(0x5,_0x5bf9c6[_0x19a859(0x2f7)]),_0x205450(0x6,_0x5bf9c6[_0x19a859(0x37a)]),_0x205450(0x7,_0x5bf9c6['Inject'](_0x4fd62b[_0x19a859(0x343)]))],_0x23df67);var _0x480e65=Object['getOwnPropertyDescriptor'],_0x458e4a=(_0x193a6f,_0x5198fa,_0x185d7a,_0x58c54e)=>{const _0x37f96c=_0x19a859;for(var _0x4267fe=_0x58c54e>0x1?void 0x0:_0x58c54e?_0x480e65(_0x5198fa,_0x185d7a):_0x5198fa,_0x323af7=_0x193a6f[_0x37f96c(0x344)]-0x1,_0x28f97f;_0x323af7>=0x0;_0x323af7--)(_0x28f97f=_0x193a6f[_0x323af7])&&(_0x4267fe=_0x28f97f(_0x4267fe)||_0x4267fe);return _0x4267fe;},_0x1388d5=(_0x201f34,_0x3e5dea)=>(_0x5bfba3,_0x4ef656)=>_0x3e5dea(_0x5bfba3,_0x4ef656,_0x201f34);let _0x3097e7=class extends _0x5bf9c6[_0x19a859(0x339)]{constructor(_0x53c2de,_0x133e1a,_0x2749dd){const _0x2f4808=_0x19a859;super(),_0x521fa5(this,'_entities',new Map()),_0x521fa5(this,'_entityInit$',new _0x496cb2[(_0x2f4808(0x1aa))]()),(this['_univerInstanceService']=_0x53c2de,this[_0x2f4808(0x380)]=_0x133e1a,this['_collabSessionService']=_0x2749dd,this[_0x2f4808(0x187)]());}[_0x19a859(0x27b)](){const _0x23cbcc=_0x19a859;super[_0x23cbcc(0x27b)](),this['_entityInit$']['complete'](),this[_0x23cbcc(0x2d1)][_0x23cbcc(0x139)](_0x52065e=>_0x52065e[_0x23cbcc(0x27b)]());}[_0x19a859(0x261)](_0x113506){const _0x32db63=_0x19a859;return this[_0x32db63(0x2d1)][_0x32db63(0x2b8)](_0x113506)?this[_0x32db63(0x2d1)]['get'](_0x113506)[_0x32db63(0x2ef)]:this[_0x32db63(0x2c8)][_0x32db63(0x38f)](_0x496cb2['filter'](_0x569bbe=>_0x569bbe[_0x32db63(0x1db)]===_0x113506),_0x496cb2[_0x32db63(0x2e3)](_0x2f2b75=>_0x2f2b75[_0x32db63(0x2ef)]));}[_0x19a859(0x187)](){const _0x1b930a=_0x19a859;this['_univerInstanceService'][_0x1b930a(0x14a)](_0x5bf9c6[_0x1b930a(0x2cb)][_0x1b930a(0x34f)])[_0x1b930a(0x38f)](_0x496cb2['takeUntil'](this[_0x1b930a(0x198)]))[_0x1b930a(0x28a)](async _0x3aa261=>{const _0x123bd2=_0x1b930a,_0x35afe8=_0x3aa261[_0x123bd2(0x1b2)](),_0x4e718f=await this['_startSheetCollabCursor'](_0x35afe8);this[_0x123bd2(0x2c8)]['next'](_0x4e718f),this[_0x123bd2(0x2d1)][_0x123bd2(0x17d)](_0x35afe8,_0x4e718f);}),this[_0x1b930a(0x315)][_0x1b930a(0x14a)](_0x5bf9c6[_0x1b930a(0x2cb)][_0x1b930a(0x25f)])['pipe'](_0x496cb2['takeUntil'](this[_0x1b930a(0x198)]))[_0x1b930a(0x38f)](_0x496cb2['filter'](_0x4ae148=>!_0x4ae148[_0x1b930a(0x1b2)]()[_0x1b930a(0x2c6)]('__')))[_0x1b930a(0x28a)](async _0x5ff80=>{const _0x1594ac=_0x1b930a,_0x54c66b=_0x5ff80['getUnitId'](),_0x43be6e=await this[_0x1594ac(0x39d)](_0x54c66b);this[_0x1594ac(0x2c8)][_0x1594ac(0x288)](_0x43be6e),this[_0x1594ac(0x2d1)]['set'](_0x54c66b,_0x43be6e);}),_0x496cb2[_0x1b930a(0x1f4)](this[_0x1b930a(0x315)][_0x1b930a(0x2f3)](_0x5bf9c6[_0x1b930a(0x2cb)][_0x1b930a(0x25f)]),this[_0x1b930a(0x315)][_0x1b930a(0x2f3)](_0x5bf9c6[_0x1b930a(0x2cb)][_0x1b930a(0x34f)]))['pipe'](_0x496cb2[_0x1b930a(0x130)](this[_0x1b930a(0x198)]))[_0x1b930a(0x28a)](_0xbd45db=>{const _0x1518dd=_0x1b930a,_0x233d41=_0xbd45db[_0x1518dd(0x1b2)](),_0x5339ae=this[_0x1518dd(0x2d1)][_0x1518dd(0x223)](_0x233d41);_0x5339ae&&(_0x5339ae['dispose'](),this[_0x1518dd(0x2d1)][_0x1518dd(0x227)](_0x233d41));});}async[_0x19a859(0x1df)](_0x20ab0c){const _0x58119c=_0x19a859,_0x5c85e1=await this['_collabSessionService'][_0x58119c(0x2bf)](_0x20ab0c),_0x1ed500=this['_injector'][_0x58119c(0x140)](_0x23df67,_0x20ab0c,_0x5c85e1);return _0x1ed500[_0x58119c(0x19c)](),_0x1ed500;}async[_0x19a859(0x39d)](_0x1664d8){const _0x366fb5=_0x19a859,_0x472f10=await this[_0x366fb5(0x122)][_0x366fb5(0x2bf)](_0x1664d8),_0x2b31ed=this['_injector'][_0x366fb5(0x140)](_0x5964e0,_0x1664d8,_0x472f10);return _0x2b31ed['init'](),_0x2b31ed;}};_0x3097e7=_0x458e4a([_0x1388d5(0x0,_0x5bf9c6[_0x19a859(0x2f7)]),_0x1388d5(0x1,_0x5bf9c6[_0x19a859(0x116)](_0x5bf9c6[_0x19a859(0x35e)])),_0x1388d5(0x2,_0x5bf9c6[_0x19a859(0x116)](_0x2c72d0[_0x19a859(0x228)]))],_0x3097e7);const _0x41ef4a=0x14,_0x4ea8bc=0xc8,_0x3efecc=0x4,_0x54ed1d=0x5;function _0x2377a1(_0x1385a6,_0x1fe553){const _0x29f10d=_0x19a859;let {radius:_0x570111,width:_0x297ed6,height:_0x428799}=_0x1fe553;_0x570111=_0x570111!=null?_0x570111:0x0,_0x297ed6=_0x297ed6!=null?_0x297ed6:0x1e,_0x428799=_0x428799!=null?_0x428799:0x1e;let _0x174b93=0x0,_0x5bac9d=0x0,_0x473893=0x0;_0x174b93=_0x5bac9d=_0x473893=Math[_0x29f10d(0x31f)](_0x570111,_0x297ed6/0x2,_0x428799/0x2),_0x1385a6['beginPath'](),_0x1385a6[_0x29f10d(0x136)](_0x174b93,0x0),_0x1385a6[_0x29f10d(0x314)](_0x297ed6-_0x5bac9d,0x0),_0x1385a6[_0x29f10d(0x2a5)](_0x297ed6-_0x5bac9d,_0x5bac9d,_0x5bac9d,Math['PI']*0x3/0x2,0x0,!0x1),_0x1385a6[_0x29f10d(0x314)](_0x297ed6,_0x428799-_0x473893),_0x1385a6['arc'](_0x297ed6-_0x473893,_0x428799-_0x473893,_0x473893,0x0,Math['PI']/0x2,!0x1),_0x1385a6[_0x29f10d(0x314)](0x0,_0x428799),_0x1385a6['lineTo'](0x0,_0x174b93),_0x1385a6[_0x29f10d(0x2a5)](_0x174b93,_0x174b93,_0x174b93,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x1385a6[_0x29f10d(0x1e5)](),_0x1fe553[_0x29f10d(0x2df)]&&(_0x1385a6[_0x29f10d(0x1e9)](),_0x1385a6[_0x29f10d(0x129)]=_0x1fe553['fill'],_0x1fe553['fillRule']===_0x29f10d(0x19d)?_0x1385a6[_0x29f10d(0x2df)](_0x29f10d(0x19d)):_0x1385a6[_0x29f10d(0x2df)](),_0x1385a6['restore']());}class _0x1c1073 extends _0x5d1039[_0x19a859(0x1fe)]{constructor(_0x4d6775,_0x5cc842){const _0x1f79ac=_0x19a859;super(_0x4d6775,_0x5cc842),_0x521fa5(this,_0x1f79ac(0x166)),_0x521fa5(this,'text'),(this[_0x1f79ac(0x166)]=_0x5cc842==null?void 0x0:_0x5cc842[_0x1f79ac(0x166)],this[_0x1f79ac(0x39b)]=_0x5cc842==null?void 0x0:_0x5cc842[_0x1f79ac(0x39b)]);}static[_0x19a859(0x22a)](_0x31e298,_0x13d3af){const _0x9682b7=_0x19a859,{text:_0x18cb03,color:_0x4963d2}=_0x13d3af;_0x31e298['save'](),_0x31e298[_0x9682b7(0x247)]=_0x9682b7(0x21d);const _0x31bccf=_0x31e298['measureText'](_0x18cb03)[_0x9682b7(0x15a)],_0x49e92a=Math[_0x9682b7(0x31f)](_0x31bccf+0x2*_0x3efecc,_0x4ea8bc);_0x2377a1(_0x31e298,{'height':_0x41ef4a,'radius':0x4,'width':_0x49e92a,'fill':_0x4963d2}),_0x31e298['fillStyle']='#FFF';const _0x5170ed=_0x3efecc,_0x28ac4f=_0x41ef4a-_0x54ed1d,_0x41761c=_0x4ea8bc-0x2*_0x3efecc;if(_0x31bccf>_0x41761c){let _0x34488e='',_0x265153=0x0;for(const _0x7e6e90 of _0x18cb03){const _0x52fa99=_0x31e298[_0x9682b7(0x19a)](_0x7e6e90)[_0x9682b7(0x15a)];if(_0x265153+_0x52fa99<=_0x41761c-_0x31e298['measureText']('...')[_0x9682b7(0x15a)])_0x34488e+=_0x7e6e90,_0x265153+=_0x52fa99;else{_0x34488e+=_0x9682b7(0x2d3);break;}}_0x31e298[_0x9682b7(0x250)](_0x34488e,_0x5170ed,_0x28ac4f);}else _0x31e298['fillText'](_0x18cb03,_0x5170ed,_0x28ac4f);_0x31e298['restore']();}['_draw'](_0x4fbff5){_0x1c1073['drawWith'](_0x4fbff5,this);}}const _0x1b5ccb=_0x19a859(0x161),_0x59c981=_0x19a859(0x175),_0x3dbb14=_0x19a859(0x31b),_0x17ae26=0x6,_0x36f5cf=1.5,_0xcb5651=0x4,_0x576fab=1.5,_0x187490='rgba(255,\x20255,\x20255,\x200.01)';class _0x4b4332{constructor(_0x3d12b7,_0x5a4e46,_0x112810,_0xb38a2a){const _0x5b21d4=_0x19a859;_0x521fa5(this,'_shapes',[]),_0x521fa5(this,_0x5b21d4(0x152),null),_0x521fa5(this,_0x5b21d4(0x1d1),null),_0x521fa5(this,_0x5b21d4(0x27f),null),_0x521fa5(this,_0x5b21d4(0x271),null),_0x521fa5(this,_0x5b21d4(0x341),null),(this[_0x5b21d4(0x29f)]=_0x3d12b7,this[_0x5b21d4(0x231)]=_0x5a4e46,this[_0x5b21d4(0x23f)]=_0x112810,this[_0x5b21d4(0x311)]=_0xb38a2a,this['_render']());}set[_0x19a859(0x2ce)](_0x2e07a0){const _0x19ec8f=_0x19a859;_0x2e07a0?(this['_anchorDot']&&this[_0x19ec8f(0x27f)][_0x19ec8f(0x254)](),this[_0x19ec8f(0x1d1)]&&this[_0x19ec8f(0x1d1)][_0x19ec8f(0x1e2)]()):(this['_anchorDot']&&this[_0x19ec8f(0x27f)]['show'](),this[_0x19ec8f(0x1d1)]&&this[_0x19ec8f(0x1d1)][_0x19ec8f(0x254)]());}[_0x19a859(0x27b)](){const _0x9a2341=_0x19a859;for(const _0x21bff0 of this[_0x9a2341(0x334)])_0x21bff0[_0x9a2341(0x27b)]();this[_0x9a2341(0x1d1)]&&this[_0x9a2341(0x1d1)][_0x9a2341(0x27b)](),this[_0x9a2341(0x27f)]&&this[_0x9a2341(0x27f)][_0x9a2341(0x27b)](),this[_0x9a2341(0x152)]&&this[_0x9a2341(0x152)][_0x9a2341(0x27b)](),this[_0x9a2341(0x341)]&&this[_0x9a2341(0x341)]();}[_0x19a859(0x23c)](){const _0x102296=_0x19a859;var _0x7aebcd;const {_docSkeleton:_0x29cce8,_document:_0x2e5ced}=this,{color:_0xc01857,name:_0x37573a,ranges:_0x5e2909}=this[_0x102296(0x29f)],_0x5c8d82=_0x2e5ced[_0x102296(0x24a)](),{docsLeft:_0x3c4b67,docsTop:_0x3063db}=_0x5c8d82,_0x3ad78b=new _0x1a8f2e[(_0x102296(0x297))](_0x5c8d82,_0x29cce8);for(const {startOffset:_0x1bb189,endOffset:_0x2dd0fb,rangeType:_0x1e51f4,segmentId:_0x5db2e9,segmentPage:_0x2973c0,collapsed:_0x43160f,isActive:_0x562d03}of _0x5e2909){const _0x2b4410=_0x29cce8[_0x102296(0x33a)](_0x1bb189,!0x0,_0x5db2e9,_0x2973c0);let _0xcec2d1=_0x29cce8[_0x102296(0x33a)](_0x2dd0fb,!0x0,_0x5db2e9,_0x2973c0);if(_0xcec2d1==null&&(_0xcec2d1=_0x29cce8[_0x102296(0x33a)](_0x2dd0fb-0x1,!0x1,_0x5db2e9,_0x2973c0)),_0x562d03){const {contentBoxPointGroup:_0xc9538f}=_0x3ad78b[_0x102296(0x398)](_0xcec2d1,_0xcec2d1);if(_0xc9538f[_0x102296(0x344)]===0x0)continue;this[_0x102296(0x35a)](_0xc01857,_0xc9538f,_0x3c4b67,_0x3063db,_0x37573a),this[_0x102296(0x341)]=this[_0x102296(0x34e)]();}if(_0x2b4410&&_0xcec2d1){if(_0x1e51f4===_0x5bf9c6[_0x102296(0x1c6)][_0x102296(0x1e8)]){const _0x4ab870=new _0x1a8f2e['NodePositionConvertToRectRange'](_0x5c8d82,_0x29cce8),{pointGroup:_0x5a52ab}=(_0x7aebcd=_0x4ab870['getRangePointData'](_0x2b4410,_0xcec2d1))!=null?_0x7aebcd:{};if(_0x5a52ab==null||_0x5a52ab['length']===0x0)continue;this['_drawRectRange'](_0xc01857,_0x5a52ab,_0x3c4b67,_0x3063db);}else{if(!_0x43160f){const {borderBoxPointGroup:_0x38722a}=_0x3ad78b[_0x102296(0x398)](_0x2b4410,_0xcec2d1);if(_0x38722a[_0x102296(0x344)]===0x0)continue;this[_0x102296(0x2bc)](_0xc01857,_0x38722a,_0x3c4b67,_0x3063db);}}}}}[_0x19a859(0x35a)](_0x4dcc25,_0x4f54f7,_0x198dbb,_0x482827,_0xf2af98){const _0x5110bd=_0x19a859,_0x571d0b=this[_0x5110bd(0x20f)](_0x4f54f7),{left:_0x5eebe0,top:_0x15331e,height:_0x42be80}=_0x571d0b,_0x52ac4e=this[_0x5110bd(0x28e)](),_0x4b225f=_0x576fab/_0x52ac4e,_0x53d035=new _0x5d1039['Rect'](_0x1b5ccb+_0x5bf9c6[_0x5110bd(0x389)]['generateRandomId'](_0x17ae26),{'left':_0x5eebe0+_0x198dbb-_0x4b225f,'top':_0x15331e+_0x482827,'height':_0x42be80,'width':_0x36f5cf,'fill':_0x4dcc25||_0x5d1039[_0x5110bd(0x317)](_0x5bf9c6[_0x5110bd(0x23a)][_0x5110bd(0x381)],0x0),'strokeWidth':_0x4b225f,'stroke':_0x187490,'evented':!0x0});this['_anchor']=_0x53d035,this['_scene'][_0x5110bd(0x34b)](_0x53d035,_0x1a8f2e[_0x5110bd(0x29b)]);const _0x1055d1=new _0x5d1039['Rect'](_0x1b5ccb+_0x5bf9c6[_0x5110bd(0x389)][_0x5110bd(0x1e0)](_0x17ae26),{'left':_0x5eebe0+_0x198dbb-_0x4b225f,'top':_0x15331e+_0x482827-_0xcb5651/0x2,'height':_0xcb5651,'width':_0xcb5651,'fill':_0x4dcc25||_0x5d1039[_0x5110bd(0x317)](_0x5bf9c6[_0x5110bd(0x23a)][_0x5110bd(0x381)],0x0),'strokeWidth':0x0,'stroke':_0x4dcc25||_0x5d1039[_0x5110bd(0x317)](_0x5bf9c6['COLORS'][_0x5110bd(0x381)],0x0),'evented':!0x1});this['_anchorDot']=_0x1055d1,this[_0x5110bd(0x231)]['addObject'](_0x1055d1,_0x1a8f2e[_0x5110bd(0x29b)]);const _0x3a4c0d=new _0x1c1073(_0x1b5ccb+_0x5bf9c6[_0x5110bd(0x389)][_0x5110bd(0x1e0)](_0x17ae26),{'left':_0x5eebe0+_0x198dbb-_0x4b225f,'top':_0x15331e+_0x482827-_0x41ef4a,'text':_0xf2af98,'color':_0x4dcc25});this[_0x5110bd(0x1d1)]=_0x3a4c0d,this[_0x5110bd(0x231)]['addObject'](_0x3a4c0d,_0x1a8f2e[_0x5110bd(0x29b)]),this['_hover']=!0x1;}[_0x19a859(0x34e)](){const _0x2de212=_0x19a859,_0x360292=this[_0x2de212(0x152)][_0x2de212(0x249)][_0x2de212(0x11b)](()=>{const _0x156aec=_0x2de212;this[_0x156aec(0x2ce)]=!0x0;}),_0x1c0c1a=this[_0x2de212(0x152)][_0x2de212(0x15f)]['subscribeEvent'](()=>{const _0x3a485c=_0x2de212;this[_0x3a485c(0x271)]&&clearTimeout(this[_0x3a485c(0x271)]),this[_0x3a485c(0x271)]=setTimeout(()=>{const _0x53a1ea=_0x3a485c;this[_0x53a1ea(0x2ce)]=!0x1;},0x7d0);});return()=>{const _0x47ab3c=_0x2de212;_0x360292[_0x47ab3c(0x18c)](),_0x1c0c1a['unsubscribe']();};}[_0x19a859(0x2bc)](_0x269199,_0x5af60c,_0x4b85f5,_0x2ef3d0){const _0x399641=_0x19a859,_0x52157b=new _0x5bf9c6[(_0x399641(0x335))](_0x269199)[_0x399641(0x1e7)](0.2)[_0x399641(0x1b8)](),_0xbeb517=new _0x5d1039[(_0x399641(0x36f))](_0x59c981+_0x5bf9c6[_0x399641(0x389)][_0x399641(0x1e0)](_0x17ae26),{'pointsGroup':_0x5af60c,'fill':_0x52157b||_0x5d1039[_0x399641(0x317)](_0x5bf9c6[_0x399641(0x23a)][_0x399641(0x381)],0.2),'left':_0x4b85f5,'top':_0x2ef3d0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x399641(0x334)][_0x399641(0x253)](_0xbeb517),this['_scene'][_0x399641(0x34b)](_0xbeb517,_0x1a8f2e[_0x399641(0x29b)]);}[_0x19a859(0x199)](_0x188a20,_0x52bbc1,_0x46a733,_0x3ac81a){const _0x3cec97=_0x19a859,_0xaff5b6=new _0x5bf9c6[(_0x3cec97(0x335))](_0x188a20)[_0x3cec97(0x1e7)](0.2)['toRgbString'](),_0x3ac5a3=new _0x5d1039[(_0x3cec97(0x36f))](_0x3dbb14+_0x5bf9c6[_0x3cec97(0x389)][_0x3cec97(0x1e0)](_0x17ae26),{'pointsGroup':_0x52bbc1,'fill':_0xaff5b6||_0x5d1039[_0x3cec97(0x317)](_0x5bf9c6[_0x3cec97(0x23a)][_0x3cec97(0x381)],0.2),'left':_0x46a733,'top':_0x3ac81a,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3cec97(0x334)][_0x3cec97(0x253)](_0x3ac5a3),this[_0x3cec97(0x231)][_0x3cec97(0x34b)](_0x3ac5a3,_0x1a8f2e[_0x3cec97(0x29b)]);}[_0x19a859(0x20f)](_0x4d8d37){const _0x430fea=_0x4d8d37[0x0],_0x294cc6=_0x430fea[0x0],_0x57e516=_0x430fea[0x2],{x:_0x15bc0b,y:_0x1f8799}=_0x294cc6,{x:_0xff73f5,y:_0x149d04}=_0x57e516;return{'left':_0x15bc0b,'top':_0x1f8799,'width':_0xff73f5-_0x15bc0b,'height':_0x149d04-_0x1f8799};}[_0x19a859(0x28e)](){const _0x724456=_0x19a859,{scaleX:_0x40270c,scaleY:_0x499923}=this['_scene']['getAncestorScale']();return Math[_0x724456(0x35b)](_0x40270c,_0x499923);}}var _0x1dd39f=Object[_0x19a859(0x385)],_0x5bc22d=(_0x36e31c,_0x276ecc,_0xc9240,_0x280731)=>{const _0xe797b6=_0x19a859;for(var _0x4a382a=_0x280731>0x1?void 0x0:_0x280731?_0x1dd39f(_0x276ecc,_0xc9240):_0x276ecc,_0x52aff5=_0x36e31c[_0xe797b6(0x344)]-0x1,_0x100204;_0x52aff5>=0x0;_0x52aff5--)(_0x100204=_0x36e31c[_0x52aff5])&&(_0x4a382a=_0x100204(_0x4a382a)||_0x4a382a);return _0x4a382a;},_0x3f4a1e=(_0x42daa8,_0x4c0a64)=>(_0x1026b5,_0x16200f)=>_0x4c0a64(_0x1026b5,_0x16200f,_0x42daa8);let _0x488d8f=class extends _0x5bf9c6[_0x19a859(0x339)]{constructor(_0x235329,_0x20feab,_0x4b6ca0,_0x3fbb6c,_0x239f91){const _0x3c6340=_0x19a859;super(),_0x521fa5(this,_0x3c6340(0x19e),[]),_0x521fa5(this,_0x3c6340(0x22d),[]),(this[_0x3c6340(0x2a1)]=_0x235329,this[_0x3c6340(0x192)]=_0x20feab,this[_0x3c6340(0x2dd)]=_0x4b6ca0,this['_commandService']=_0x3fbb6c,this[_0x3c6340(0x141)]=_0x239f91,this[_0x3c6340(0x187)]());}[_0x19a859(0x187)](){const _0x1138a1=_0x19a859,_0x55b569=this[_0x1138a1(0x2a1)][_0x1138a1(0x2ab)],_0x5b6d4f=this[_0x1138a1(0x192)];this[_0x1138a1(0x305)](_0x496cb2[_0x1138a1(0x147)]([this[_0x1138a1(0x2dd)][_0x1138a1(0x261)](_0x55b569),this[_0x1138a1(0x141)]['currentTheme$']])['pipe'](_0x19b4ce[_0x1138a1(0x309)](([_0x3f24ab,_0x48ae37])=>({'skeleton':_0x5b6d4f[_0x1138a1(0x306)](),'cursors':[..._0x3f24ab[_0x1138a1(0x37d)]()]['flatMap'](_0xefb72d=>({..._0xefb72d,'color':_0x48ae37[_0xefb72d[_0x1138a1(0x166)]]}))})))['subscribe'](_0x5a5666=>{const _0x234b92=_0x1138a1;if(this['_removeCollabCursors'](),_0x5a5666){const {skeleton:_0x31111e,cursors:_0x170bf8}=_0x5a5666;this[_0x234b92(0x379)](_0x31111e,_0x170bf8);}})),this['_initResize'](),this[_0x1138a1(0x133)]();}['_updateCollabCursors'](_0x5d078f,_0x502495){const _0x479d97=_0x19a859,{scene:_0x55b530,mainComponent:_0x237dda}=this[_0x479d97(0x2a1)],_0x57c35c=_0x502495[_0x479d97(0x309)](_0x10d853=>new _0x4b4332(_0x10d853,_0x55b530,_0x5d078f,_0x237dda));this[_0x479d97(0x19e)]=_0x57c35c,this[_0x479d97(0x22d)]=_0x502495;}[_0x19a859(0x12d)](){const _0x2521f6=_0x19a859;this[_0x2521f6(0x1ff)]();const {scene:_0x42ee76,mainComponent:_0x23a228}=this[_0x2521f6(0x2a1)],_0x4a5b7d=this['_docSkeletonManagerService'][_0x2521f6(0x306)](),_0x5cb123=this[_0x2521f6(0x22d)][_0x2521f6(0x309)](_0x2b3808=>new _0x4b4332(_0x2b3808,_0x42ee76,_0x4a5b7d,_0x23a228));this[_0x2521f6(0x19e)]=_0x5cb123;}[_0x19a859(0x1ff)](){const _0x2f4fd0=_0x19a859;this[_0x2f4fd0(0x19e)][_0x2f4fd0(0x139)](_0x5194a7=>_0x5194a7['dispose']()),this[_0x2f4fd0(0x19e)]=[];}[_0x19a859(0x133)](){const _0x53b0cd=_0x19a859,_0x29a0de=[_0x1a8f2e[_0x53b0cd(0x21e)]['id']];this[_0x53b0cd(0x305)](this[_0x53b0cd(0x1d4)]['onCommandExecuted'](_0x401538=>{const _0x5ea3b6=_0x53b0cd;_0x29a0de[_0x5ea3b6(0x1b4)](_0x401538['id'])&&_0x401538[_0x5ea3b6(0x316)][_0x5ea3b6(0x2ab)]===this[_0x5ea3b6(0x2a1)][_0x5ea3b6(0x2ab)]&&this[_0x5ea3b6(0x12d)]();}));}[_0x19a859(0x1a1)](){const _0x45451a=_0x19a859;this[_0x45451a(0x305)](_0x5bf9c6['fromEventSubject'](this[_0x45451a(0x2a1)][_0x45451a(0x230)]['onTransformChange$'])[_0x45451a(0x38f)](_0x19b4ce['filter'](_0xe89bda=>_0xe89bda[_0x45451a(0x2a0)]===_0x5d1039['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x45451a(0x174)]),_0x19b4ce['throttleTime'](0x10))[_0x45451a(0x28a)](()=>{const _0x489b04=_0x45451a;this[_0x489b04(0x12d)]();}));}};_0x488d8f=_0x5bc22d([_0x3f4a1e(0x1,_0x5bf9c6[_0x19a859(0x116)](_0x50e692['DocSkeletonManagerService'])),_0x3f4a1e(0x2,_0x5bf9c6[_0x19a859(0x116)](_0x3097e7)),_0x3f4a1e(0x3,_0x5bf9c6[_0x19a859(0x37a)]),_0x3f4a1e(0x4,_0x5bf9c6[_0x19a859(0x116)](_0x5bf9c6[_0x19a859(0x11a)]))],_0x488d8f);const _0x3ff862=0x1,_0x17eb92=1.5;class _0x30557c extends _0x5d1039['Shape']{constructor(_0x54f77a,_0x521290){const _0x3281e9=_0x19a859;super(_0x54f77a,_0x521290),_0x521fa5(this,_0x3281e9(0x18a)),_0x521fa5(this,_0x3281e9(0x1ce),!0x1),_0x521fa5(this,'_range'),_0x521fa5(this,_0x3281e9(0x3a2),''),_0x521fa5(this,_0x3281e9(0x206),_0x3281e9(0x154)),_0x521fa5(this,_0x3281e9(0x205)),(_0x521290&&this[_0x3281e9(0x162)](_0x521290),this[_0x3281e9(0x249)]['subscribeEvent'](()=>this[_0x3281e9(0x162)]({'hovered':!0x0})),this[_0x3281e9(0x15f)]['subscribeEvent'](()=>this[_0x3281e9(0x162)]({'hovered':!0x1})));}[_0x19a859(0x162)](_0x67d751){const _0xf03078=_0x19a859;var _0x12bb96,_0x399b0d,_0x52bf94,_0xafee21,_0x2bbf05,_0x1f2738;this['_color']=(_0x12bb96=_0x67d751[_0xf03078(0x166)])!=null?_0x12bb96:this[_0xf03078(0x18a)],this[_0xf03078(0x1ce)]=(_0x399b0d=_0x67d751[_0xf03078(0x2db)])!=null?_0x399b0d:this[_0xf03078(0x1ce)],this['_range']=(_0x52bf94=_0x67d751[_0xf03078(0x399)])!=null?_0x52bf94:this[_0xf03078(0x13b)],this['_name']=(_0xafee21=_0x67d751[_0xf03078(0x33f)])!=null?_0xafee21:this[_0xf03078(0x3a2)],this[_0xf03078(0x206)]=(_0x2bbf05=_0x67d751[_0xf03078(0x36e)])!=null?_0x2bbf05:this[_0xf03078(0x206)],this[_0xf03078(0x205)]=(_0x1f2738=_0x67d751['backgroundColor'])!=null?_0x1f2738:this[_0xf03078(0x205)],this['transformByState']({'width':_0x67d751['width'],'height':_0x67d751[_0xf03078(0x386)]});}[_0x19a859(0x1e1)](_0x2aa017){const _0x4d44be=_0x19a859,{row:_0x5351f4,column:_0x3518d2}=_0x2aa017;if(_0x5351f4>=this[_0x4d44be(0x13b)]['startRow']&&_0x5351f4<=this[_0x4d44be(0x13b)]['endRow']&&_0x3518d2>=this[_0x4d44be(0x13b)][_0x4d44be(0x180)]&&_0x3518d2<=this[_0x4d44be(0x13b)]['endColumn']){this[_0x4d44be(0x162)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x19a859(0x38e)](_0x4f1b25){return!0x1;}[_0x19a859(0x11d)](_0x31d526){const _0x551df2=_0x19a859;_0x5d1039[_0x551df2(0x1cd)]['drawWith'](_0x31d526,{'width':this[_0x551df2(0x15a)],'height':this[_0x551df2(0x386)],'strokeWidth':_0x17eb92,'stroke':this[_0x551df2(0x18a)],'evented':!0x1,'fill':this[_0x551df2(0x205)]}),this[_0x551df2(0x1ce)]&&(_0x31d526['save'](),_0x31d526[_0x551df2(0x38b)](0x1,0x0,0x0,0x1,this['width'],this[_0x551df2(0x206)]===_0x551df2(0x112)?0x0:-0x14),_0x1c1073[_0x551df2(0x22a)](_0x31d526,{'text':this['_name'],'color':this[_0x551df2(0x18a)]}),_0x31d526['restore']());}}var _0x1e2088=Object[_0x19a859(0x385)],_0x15f004=(_0x46896a,_0xe63b3,_0x2b24da,_0x1516f8)=>{const _0xae0be=_0x19a859;for(var _0x59a8a1=_0x1516f8>0x1?void 0x0:_0x1516f8?_0x1e2088(_0xe63b3,_0x2b24da):_0xe63b3,_0xb0c84a=_0x46896a[_0xae0be(0x344)]-0x1,_0x129945;_0xb0c84a>=0x0;_0xb0c84a--)(_0x129945=_0x46896a[_0xb0c84a])&&(_0x59a8a1=_0x129945(_0x59a8a1)||_0x59a8a1);return _0x59a8a1;},_0x51b434=(_0x5b4db6,_0x584512)=>(_0x38b1a4,_0x30bd57)=>_0x584512(_0x38b1a4,_0x30bd57,_0x5b4db6);const _0x57a422=0x1389;let _0x9b9b90=class extends _0x5bf9c6['RxDisposable']{constructor(_0x5e0c2c,_0x527584,_0x294695,_0x3822bc){const _0x407c21=_0x19a859;super(),_0x521fa5(this,'_cursors',new Set()),_0x521fa5(this,_0x407c21(0x1f6),null),(this[_0x407c21(0x2a1)]=_0x5e0c2c,this[_0x407c21(0x26f)]=_0x527584,this[_0x407c21(0x2dd)]=_0x294695,this['_themeService']=_0x3822bc,this[_0x407c21(0x187)]());}['_init'](){const _0x18e834=_0x19a859;this[_0x18e834(0x26f)]['currentSkeleton$']['pipe'](_0x19b4ce[_0x18e834(0x130)](this[_0x18e834(0x198)]),_0x19b4ce[_0x18e834(0x2e3)](_0x204fcb=>{const _0x4fe1e7=_0x18e834;if(_0x204fcb){const _0x4359b2=_0x204fcb[_0x4fe1e7(0x348)];return _0x496cb2['combineLatest'](this[_0x4fe1e7(0x2dd)]['getCollabCursors$'](this['_context']['unitId']),this['_themeService'][_0x4fe1e7(0x186)])[_0x4fe1e7(0x38f)](_0x19b4ce['map'](([_0x429706,_0x534439])=>{const _0x14074b=_0x4fe1e7,_0x5ae039=new Map();return _0x429706[_0x14074b(0x139)]((_0x211e6e,_0x56b1ca)=>{const _0x5b2fea=_0x14074b;if(_0x211e6e[_0x5b2fea(0x3a4)]===_0x4359b2){const _0xa7ddf7={..._0x211e6e};_0xa7ddf7[_0x5b2fea(0x166)]=_0x534439[_0x211e6e['color']],_0x5ae039['set'](_0x56b1ca,_0xa7ddf7);}}),{'skeleton':_0x204fcb,'cursors':_0x5ae039};}));}return _0x496cb2['of']({'skeleton':null,'cursors':new Map()});}))[_0x18e834(0x28a)](({skeleton:_0x2310fb,cursors:_0x1055da})=>{const _0x4c8ca5=_0x18e834;this[_0x4c8ca5(0x1ff)](),_0x2310fb&&this['_updateCollabCursors'](_0x2310fb,_0x1055da);}),this[_0x18e834(0x26f)][_0x18e834(0x124)][_0x18e834(0x28a)](_0x67d540=>{const _0x35a4fa=_0x18e834;if(_0x67d540==null)return;const {skeleton:_0x480467}=_0x67d540,{scene:_0x2ad4ff}=this[_0x35a4fa(0x2a1)];_0x2ad4ff[_0x35a4fa(0x1d9)]['subscribeEvent'](_0x5bf9c6[_0x35a4fa(0x372)](_0x2ecf95=>{const _0x32df59=_0x35a4fa;var _0x1bfcc9,_0x284779;const {offsetX:_0x5cb8e4,offsetY:_0x1048a3}=_0x2ecf95,{x:_0x595489,y:_0x2f3347}=_0x2ad4ff[_0x32df59(0x293)](_0x5d1039[_0x32df59(0x148)]['FromArray']([_0x5cb8e4,_0x1048a3])),{scaleX:_0x4fd9e1,scaleY:_0xbd2a4c}=_0x2ad4ff[_0x32df59(0x363)](),_0x475017=_0x2ad4ff[_0x32df59(0x1d0)](_0x5d1039[_0x32df59(0x157)][_0x32df59(0x156)]),_0x8cbe17=_0x2ad4ff[_0x32df59(0x2c2)](_0x5d1039['Vector2'][_0x32df59(0x1f3)]([_0x595489,_0x2f3347]),_0x475017),_0x1c37a5=_0x480467[_0x32df59(0x201)](_0x5cb8e4,_0x1048a3,_0x4fd9e1,_0xbd2a4c,_0x8cbe17);((_0x1bfcc9=this[_0x32df59(0x1f6)])==null?void 0x0:_0x1bfcc9[_0x32df59(0x32c)])===_0x1c37a5['column']&&((_0x284779=this[_0x32df59(0x1f6)])==null?void 0x0:_0x284779[_0x32df59(0x1b3)])===_0x1c37a5[_0x32df59(0x1b3)]||this['_cursors'][_0x32df59(0x139)](_0x37787c=>{const _0x58fe6d=_0x32df59;_0x37787c[_0x58fe6d(0x1e1)](_0x1c37a5);});},0x64));});}['_updateCollabCursors'](_0x438d59,_0x5e8179){const _0x19fc0d=_0x19a859;var _0x720153;const _0x47b945=(_0x720153=this[_0x19fc0d(0x26f)]['getCurrent']())==null?void 0x0:_0x720153['skeleton'];if(!_0x47b945)return;const _0x488377=this[_0x19fc0d(0x2e7)]();if(!_0x488377)return;this[_0x19fc0d(0x22d)][_0x19fc0d(0x139)](_0x45ca3a=>{_0x45ca3a['makeDirty']();});const {scene:_0x38c8ef}=_0x488377,_0x259019=_0x30398d(Array[_0x19fc0d(0x145)](_0x5e8179[_0x19fc0d(0x37d)]()))['map'](_0xe7cd88=>{const _0x43ac01=_0x19fc0d,{color:_0x3d5576,range:_0xd21e,name:_0x3cfcd4,selection:_0x50fe38,sheetID:_0x5278dd}=_0xe7cd88,{startColumn:_0x2e54e2,startRow:_0x29bb3e,endColumn:_0x3afebf,endRow:_0x56a228}=_0xd21e,_0x243382=_0x45d045[_0x43ac01(0x19b)](_0x29bb3e,_0x2e54e2,_0x38c8ef,_0x47b945),_0x504ea=_0x45d045[_0x43ac01(0x19b)](_0x56a228,_0x3afebf,_0x38c8ef,_0x47b945),{columnHeaderHeightAndMarginTop:_0x152e1d}=_0x47b945,{startX:_0x298651,startY:_0x3c2314}=_0x243382,{endX:_0x1fb767,endY:_0x84c8be}=_0x504ea,_0x27e360=_0x1fb767-_0x298651,_0x194d52=_0x84c8be-_0x3c2314,_0x14138a={'labelPosition':_0x3c2314-_0x152e1d>=_0x41ef4a?_0x43ac01(0x154):_0x43ac01(0x112),'sheetID':_0x5278dd,'range':_0xd21e,'color':_0x3d5576,'name':_0x3cfcd4,'selection':_0x50fe38,'left':_0x298651,'top':_0x3c2314,'width':_0x27e360,'height':_0x194d52,'evented':!0x1,'zIndex':_0x57a422};return new _0x30557c(_0x3cfcd4,_0x14138a);});_0x38c8ef[_0x19fc0d(0x24e)](_0x259019,_0x3ff862),this[_0x19fc0d(0x22d)]=new Set(_0x259019);}[_0x19a859(0x1ff)](){const _0x500120=_0x19a859;var _0x249989;(_0x249989=this['_cursors'])==null||_0x249989[_0x500120(0x139)](_0x327ab1=>_0x327ab1[_0x500120(0x27b)]());}[_0x19a859(0x2e7)](){const _0x4f0bcd=_0x19a859;return _0x45d045[_0x4f0bcd(0x2d4)](this[_0x4f0bcd(0x2a1)][_0x4f0bcd(0x182)],this[_0x4f0bcd(0x2a1)]);}};_0x9b9b90=_0x15f004([_0x51b434(0x1,_0x5bf9c6[_0x19a859(0x116)](_0x45d045['SheetSkeletonManagerService'])),_0x51b434(0x2,_0x5bf9c6[_0x19a859(0x116)](_0x3097e7)),_0x51b434(0x3,_0x5bf9c6[_0x19a859(0x116)](_0x5bf9c6[_0x19a859(0x11a)]))],_0x9b9b90);function _0x30398d(_0x58c07b){const _0x343449=_0x19a859,_0x5b6003=new Map();return _0x58c07b[_0x343449(0x139)](_0xff101=>{const _0x13d37f=_0x343449;if(_0x5b6003[_0x13d37f(0x2b8)](_0xff101[_0x13d37f(0x1ef)])){const _0x1e120c=_0x5b6003[_0x13d37f(0x223)](_0xff101[_0x13d37f(0x1ef)]);_0x1e120c[_0x13d37f(0x33f)]+=',\x20'+_0xff101[_0x13d37f(0x33f)];}else _0x5b6003['set'](_0xff101['selection'],_0xff101);}),Array[_0x343449(0x145)](_0x5b6003['values']());}var _0xe4b539=function(){const _0x42dc55=_0x19a859;return _0xe4b539=Object[_0x42dc55(0x3a8)]||function(_0x577194){const _0x299730=_0x42dc55;for(var _0x47a954,_0x17a44d=0x1,_0xa0f122=arguments[_0x299730(0x344)];_0x17a44d<_0xa0f122;_0x17a44d++){_0x47a954=arguments[_0x17a44d];for(var _0x223351 in _0x47a954)Object[_0x299730(0x2eb)][_0x299730(0x2f1)]['call'](_0x47a954,_0x223351)&&(_0x577194[_0x223351]=_0x47a954[_0x223351]);}return _0x577194;},_0xe4b539['apply'](this,arguments);},_0x373af3=function(_0x473425,_0x3db273){const _0x42981b=_0x19a859;var _0x2dde9d={};for(var _0x3dd852 in _0x473425)Object[_0x42981b(0x2eb)][_0x42981b(0x2f1)][_0x42981b(0x207)](_0x473425,_0x3dd852)&&_0x3db273[_0x42981b(0x1b5)](_0x3dd852)<0x0&&(_0x2dde9d[_0x3dd852]=_0x473425[_0x3dd852]);if(_0x473425!=null&&typeof Object[_0x42981b(0x1dd)]=='function'){for(var _0x250ad6=0x0,_0x3dd852=Object[_0x42981b(0x1dd)](_0x473425);_0x250ad6<_0x3dd852['length'];_0x250ad6++)_0x3db273['indexOf'](_0x3dd852[_0x250ad6])<0x0&&Object[_0x42981b(0x2eb)][_0x42981b(0x118)]['call'](_0x473425,_0x3dd852[_0x250ad6])&&(_0x2dde9d[_0x3dd852[_0x250ad6]]=_0x473425[_0x3dd852[_0x250ad6]]);}return _0x2dde9d;},_0x4a3bf8=_0xab82b5[_0x19a859(0x35c)](function(_0x4af63d,_0x109e2f){const _0x5a4bc1=_0x19a859;var _0x1bcaea=_0x4af63d['icon'],_0x1d49d8=_0x4af63d['id'],_0x381001=_0x4af63d[_0x5a4bc1(0x1a5)],_0x21bc10=_0x4af63d[_0x5a4bc1(0x377)],_0x52b9bd=_0x373af3(_0x4af63d,[_0x5a4bc1(0x2d5),'id',_0x5a4bc1(0x1a5),'extend']),_0x488aaa='univerjs-icon\x20univerjs-icon-'[_0x5a4bc1(0x30b)](_0x1d49d8,'\x20')[_0x5a4bc1(0x30b)](_0x381001||'')[_0x5a4bc1(0x360)](),_0x49bb9d=_0xab82b5['useRef']('_'['concat'](_0x1f6ecc()));return _0x169858(_0x1bcaea,''['concat'](_0x1d49d8),{'defIds':_0x1bcaea['defIds'],'idSuffix':_0x49bb9d[_0x5a4bc1(0x2ed)]},_0xe4b539({'ref':_0x109e2f,'className':_0x488aaa},_0x52b9bd),_0x21bc10);});function _0x169858(_0x8f0dcc,_0x3de37d,_0x5139cf,_0x56cebf,_0x58a6cd){const _0x59b1b4=_0x19a859;return _0xab82b5[_0x59b1b4(0x144)](_0x8f0dcc['tag'],_0xe4b539(_0xe4b539({'key':_0x3de37d},_0x49bbd1(_0x8f0dcc,_0x5139cf,_0x58a6cd)),_0x56cebf),(_0x51a1b8(_0x8f0dcc,_0x5139cf)[_0x59b1b4(0x10f)]||[])['map'](function(_0x4c06d1,_0x3f330e){const _0x58e24d=_0x59b1b4;return _0x169858(_0x4c06d1,''[_0x58e24d(0x30b)](_0x3de37d,'-')['concat'](_0x8f0dcc[_0x58e24d(0x16b)],'-')[_0x58e24d(0x30b)](_0x3f330e),_0x5139cf,void 0x0,_0x58a6cd);}));}function _0x49bbd1(_0x280671,_0x30426e,_0x3fff50){const _0x26ffa0=_0x19a859;var _0x4cba22=_0xe4b539({},_0x280671['attrs']);_0x3fff50!=null&&_0x3fff50[_0x26ffa0(0x37b)]&&_0x4cba22[_0x26ffa0(0x2df)]===_0x26ffa0(0x37b)&&(_0x4cba22[_0x26ffa0(0x2df)]=_0x3fff50['colorChannel1']),_0x280671[_0x26ffa0(0x16b)]===_0x26ffa0(0x164)&&_0x4cba22['id']&&(_0x4cba22['id']=_0x4cba22['id']+_0x30426e[_0x26ffa0(0x23d)]),Object[_0x26ffa0(0x211)](_0x4cba22)['forEach'](function(_0x505922){const _0x1aa687=_0x26ffa0;var _0x1c520e=_0x505922[0x0],_0xf23ca9=_0x505922[0x1];_0x1c520e===_0x1aa687(0x164)&&typeof _0xf23ca9==_0x1aa687(0x208)&&(_0x4cba22[_0x1c520e]=_0xf23ca9[_0x1aa687(0x20d)](/url\(#(.*)\)/,'url(#$1'[_0x1aa687(0x30b)](_0x30426e['idSuffix'],')')));});var _0x4fb094=_0x30426e[_0x26ffa0(0x1a8)];return!_0x4fb094||_0x4fb094[_0x26ffa0(0x344)]===0x0||(_0x280671[_0x26ffa0(0x16b)]===_0x26ffa0(0x18e)&&_0x4cba22[_0x26ffa0(0x1f7)]&&(_0x4cba22[_0x26ffa0(0x1f7)]=_0x4cba22[_0x26ffa0(0x1f7)]+_0x30426e['idSuffix']),Object[_0x26ffa0(0x211)](_0x4cba22)[_0x26ffa0(0x139)](function(_0x2aeb92){const _0x164c38=_0x26ffa0;var _0x1c9538=_0x2aeb92[0x0],_0x56b980=_0x2aeb92[0x1];typeof _0x56b980=='string'&&(_0x4cba22[_0x1c9538]=_0x56b980['replace'](/url\(#(.*)\)/,_0x164c38(0x29d)[_0x164c38(0x30b)](_0x30426e[_0x164c38(0x23d)],')')));})),_0x4cba22;}function _0x51a1b8(_0x54ea60,_0x10d371){const _0x2c7bf6=_0x19a859;var _0x33358b,_0x3092bf=_0x10d371['defIds'];return!_0x3092bf||_0x3092bf[_0x2c7bf6(0x344)]===0x0?_0x54ea60:_0x54ea60[_0x2c7bf6(0x16b)]==='defs'&&(!((_0x33358b=_0x54ea60[_0x2c7bf6(0x10f)])===null||_0x33358b===void 0x0)&&_0x33358b[_0x2c7bf6(0x344)])?_0xe4b539(_0xe4b539({},_0x54ea60),{'children':_0x54ea60[_0x2c7bf6(0x10f)][_0x2c7bf6(0x309)](function(_0x44062b){const _0x29ca36=_0x2c7bf6;return typeof _0x44062b['attrs']['id']==_0x29ca36(0x208)&&_0x3092bf&&_0x3092bf[_0x29ca36(0x1b5)](_0x44062b[_0x29ca36(0x1a9)]['id'])>-0x1?_0xe4b539(_0xe4b539({},_0x44062b),{'attrs':_0xe4b539(_0xe4b539({},_0x44062b[_0x29ca36(0x1a9)]),{'id':_0x44062b[_0x29ca36(0x1a9)]['id']+_0x10d371[_0x29ca36(0x23d)]})}):_0x44062b;})}):_0x54ea60;}function _0x1f6ecc(){const _0x93bf88=_0x19a859;return Math[_0x93bf88(0x39a)]()[_0x93bf88(0x246)](0x24)[_0x93bf88(0x13f)](0x2,0x8);}_0x4a3bf8[_0x19a859(0x248)]='UniverIcon';var _0x461e80={'tag':_0x19a859(0x217),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x19a859(0x1b6),'height':_0x19a859(0x1b6)},'children':[{'tag':'g','attrs':{'clipPath':_0x19a859(0x265)},'children':[{'tag':_0x19a859(0x333),'attrs':{'stroke':_0x19a859(0x1e6),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x19a859(0x2aa),'strokeLinejoin':_0x19a859(0x2aa),'strokeWidth':1.2}}]},{'tag':_0x19a859(0x26d),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x19a859(0x137)},'children':[{'tag':_0x19a859(0x333),'attrs':{'fill':_0x19a859(0x394),'d':_0x19a859(0x278)}}]}]}],'defIds':['off-line-single_clip0_910_343']},_0x1f3904=_0xab82b5[_0x19a859(0x35c)](function(_0x4bc6c2,_0x37cc09){const _0x797ff1=_0x19a859;return _0xab82b5[_0x797ff1(0x144)](_0x4a3bf8,Object['assign']({},_0x4bc6c2,{'id':_0x797ff1(0x2a7),'ref':_0x37cc09,'icon':_0x461e80}));});_0x1f3904[_0x19a859(0x248)]=_0x19a859(0x2f2);var _0x47458f={'tag':_0x19a859(0x217),'attrs':{'fill':_0x19a859(0x34c),'viewBox':_0x19a859(0x2ff),'width':_0x19a859(0x1b6),'height':_0x19a859(0x1b6)},'children':[{'tag':'g','attrs':{'clipPath':_0x19a859(0x304)},'children':[{'tag':_0x19a859(0x333),'attrs':{'stroke':'currentColor','d':_0x19a859(0x2e2),'strokeLinecap':_0x19a859(0x2aa),'strokeLinejoin':_0x19a859(0x2aa),'strokeWidth':1.2}}]},{'tag':_0x19a859(0x26d),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x19a859(0x278),'transform':'translate(.97)'}}]}]}],'defIds':[_0x19a859(0x219)]},_0xa5b3a3=_0xab82b5[_0x19a859(0x35c)](function(_0x1c1b65,_0x368fe6){const _0x1f2a5f=_0x19a859;return _0xab82b5['createElement'](_0x4a3bf8,Object[_0x1f2a5f(0x3a8)]({},_0x1c1b65,{'id':_0x1f2a5f(0x24d),'ref':_0x368fe6,'icon':_0x47458f}));});_0xa5b3a3[_0x19a859(0x248)]='OnLineSingle';function _0x3c4821(_0x176dbc){const _0x14b484=_0x19a859;switch(_0x176dbc){case _0x2c72d0[_0x14b484(0x13c)][_0x14b484(0x2ae)]:return _0x14b484(0x302);case _0x2c72d0[_0x14b484(0x13c)][_0x14b484(0x24b)]:return _0x14b484(0x2c0);case _0x2c72d0[_0x14b484(0x13c)][_0x14b484(0x25b)]:return'collabStatus.fetchMiss';case _0x2c72d0[_0x14b484(0x13c)]['NOT_COLLAB']:return _0x14b484(0x23e);case _0x2c72d0[_0x14b484(0x13c)][_0x14b484(0x382)]:case _0x2c72d0['CollaborationStatus']['AWAITING_WITH_PENDING']:return _0x14b484(0x15c);case _0x2c72d0[_0x14b484(0x13c)][_0x14b484(0x12b)]:case _0x2c72d0['CollaborationStatus'][_0x14b484(0x1c7)]:return _0x14b484(0x1fb);}}function _0x4957f6(_0x1be164){const _0x5c21a0=_0x19a859,{status$:_0xb366c0}=_0x1be164,_0x399ab7=_0x106fc7[_0x5c21a0(0x16f)](_0xb366c0,_0x2c72d0['CollaborationStatus'][_0x5c21a0(0x177)]),_0x2dab5c=_0x106fc7[_0x5c21a0(0x2b0)](_0x5bf9c6[_0x5c21a0(0x2d7)]),_0x12b00b=_0x106fc7['useDependency'](_0x2c72d0['CollaborationSessionService']),_0x1d9b91=_0x399ab7!==_0x2c72d0[_0x5c21a0(0x13c)][_0x5c21a0(0x2ae)],_0x554584=_0x2dab5c['t'](_0x3c4821(_0x399ab7)),_0x2b24c4=_0x1d9b91?_0x5540cf[_0x5c21a0(0x1da)](_0xa5b3a3,{}):_0x5540cf[_0x5c21a0(0x1da)](_0x1f3904,{}),_0x53714a=_0xab82b5['useCallback'](()=>{const _0x107711=_0x5c21a0;_0x1d9b91||_0x12b00b[_0x107711(0x267)]();},[_0x1d9b91,_0x12b00b]);function _0xcc1376(){const _0x5008ee=_0x5c21a0;return _0x5540cf['jsxs']('div',{'className':_0x5008ee(0x17c),'onClick':_0x53714a,'children':[_0x5540cf[_0x5008ee(0x1da)](_0x5008ee(0x149),{'className':_0x165dd1['clsx']('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x1d9b91?_0x5008ee(0x169):_0x5008ee(0x188)),'children':_0x2b24c4}),_0x5540cf['jsx'](_0x5008ee(0x149),{'className':_0x5008ee(0x2e8),'children':_0x554584})]});}return _0x1d9b91?_0xcc1376():_0x5540cf['jsx'](_0x165dd1['Tooltip'],{'title':_0x2dab5c['t'](_0x5c21a0(0x225)),'children':_0xcc1376()});}var _0x3495c3=Object[_0x19a859(0x385)],_0xaaf97b=(_0x121beb,_0x35926d,_0x43f60b,_0xba6cfe)=>{const _0x58bf15=_0x19a859;for(var _0x5eb6c1=_0xba6cfe>0x1?void 0x0:_0xba6cfe?_0x3495c3(_0x35926d,_0x43f60b):_0x35926d,_0x580bd7=_0x121beb[_0x58bf15(0x344)]-0x1,_0x20046a;_0x580bd7>=0x0;_0x580bd7--)(_0x20046a=_0x121beb[_0x580bd7])&&(_0x5eb6c1=_0x20046a(_0x5eb6c1)||_0x5eb6c1);return _0x5eb6c1;},_0x1270d0=(_0x2721cb,_0x25aefc)=>(_0x10ac6e,_0x27eafc)=>_0x25aefc(_0x10ac6e,_0x27eafc,_0x2721cb);_0x4c3250[_0x19a859(0x134)]=class extends _0x5bf9c6['Disposable']{constructor(_0x1f0946,_0x3430e0,_0x3a396a,_0xe4e9ac){const _0x43dca7=_0x19a859;super(),_0x521fa5(this,_0x43dca7(0x2af),new _0x496cb2[(_0x43dca7(0x3a5))](_0x2c72d0['CollaborationStatus'][_0x43dca7(0x177)])),(this[_0x43dca7(0x315)]=_0x1f0946,this['_injector']=_0x3430e0,this[_0x43dca7(0x14b)]=_0x3a396a,this[_0x43dca7(0x259)]=_0xe4e9ac,this[_0x43dca7(0x243)](),this[_0x43dca7(0x1f8)]());}[_0x19a859(0x1f8)](){const _0x13b49d=_0x19a859;this[_0x13b49d(0x305)](this['_univerInstanceService'][_0x13b49d(0x2bd)][_0x13b49d(0x38f)](_0x496cb2[_0x13b49d(0x2e3)](()=>{const _0x3d3fc5=_0x13b49d,_0x36dc81=this[_0x3d3fc5(0x315)][_0x3d3fc5(0x280)]();return _0x36dc81?this[_0x3d3fc5(0x14b)][_0x3d3fc5(0x28c)](_0x36dc81[_0x3d3fc5(0x1b2)]()):_0x496cb2['of'](null);}),_0x496cb2[_0x13b49d(0x2e3)](_0x7d27b8=>_0x7d27b8?_0x7d27b8[_0x13b49d(0x2be)]:_0x496cb2['of'](_0x2c72d0['CollaborationStatus']['NOT_COLLAB'])))[_0x13b49d(0x28a)](_0x7f5647=>{const _0x55e9bb=_0x13b49d;this[_0x55e9bb(0x2af)][_0x55e9bb(0x288)](_0x7f5647);}));}[_0x19a859(0x243)](){const _0x2ce3e8=_0x19a859;this[_0x2ce3e8(0x305)](this[_0x2ce3e8(0x259)][_0x2ce3e8(0x2b2)](_0x106fc7[_0x2ce3e8(0x1d3)][_0x2ce3e8(0x2d9)],()=>_0x106fc7[_0x2ce3e8(0x121)](_0x515436({'status$':this[_0x2ce3e8(0x2af)][_0x2ce3e8(0x1bf)]()}),this[_0x2ce3e8(0x380)])));}},_0x4c3250[_0x19a859(0x134)]=_0xaaf97b([_0x1270d0(0x0,_0x5bf9c6['IUniverInstanceService']),_0x1270d0(0x1,_0x5bf9c6['Inject'](_0x5bf9c6['Injector'])),_0x1270d0(0x2,_0x5bf9c6[_0x19a859(0x116)](_0x2c72d0['CollaborationController'])),_0x1270d0(0x3,_0x106fc7[_0x19a859(0x330)])],_0x4c3250[_0x19a859(0x134)]);function _0x515436(_0x1e9eaf){const {status$:_0x4a0e34}=_0x1e9eaf;return function(){const _0x33c7b6=_0x5841;return _0x5540cf[_0x33c7b6(0x1da)](_0x4957f6,{'status$':_0x4a0e34});};}var _0x1ae155=Object[_0x19a859(0x385)],_0x1b5fc0=(_0x4eb8b1,_0x23357a,_0x112222,_0x61df19)=>{const _0x5ba927=_0x19a859;for(var _0x20dcce=_0x61df19>0x1?void 0x0:_0x61df19?_0x1ae155(_0x23357a,_0x112222):_0x23357a,_0x266b9b=_0x4eb8b1[_0x5ba927(0x344)]-0x1,_0x36bce2;_0x266b9b>=0x0;_0x266b9b--)(_0x36bce2=_0x4eb8b1[_0x266b9b])&&(_0x20dcce=_0x36bce2(_0x20dcce)||_0x20dcce);return _0x20dcce;},_0x15f855=(_0x107f41,_0x58732e)=>(_0x5300ad,_0x3e003f)=>_0x58732e(_0x5300ad,_0x3e003f,_0x107f41);let _0x461047=class extends _0x5bf9c6[_0x19a859(0x2b3)]{constructor(_0x505011,_0x165ccb,_0x4f7890,_0x5edf98,_0x33f901,_0x30aa13){const _0x42d47b=_0x19a859;super(),this[_0x42d47b(0x269)]=_0x505011,this['_localCacheService']=_0x165ccb,this[_0x42d47b(0x2c4)]=_0x4f7890,this[_0x42d47b(0x2f0)]=_0x5edf98,this['_notificationService']=_0x33f901,this[_0x42d47b(0x1ed)]=_0x30aa13,this[_0x42d47b(0x376)](),this[_0x42d47b(0x2a9)]();}[_0x19a859(0x376)](){const _0x427b75=_0x19a859;this[_0x427b75(0x305)](this[_0x427b75(0x269)]['registerBeforeClose'](()=>{const _0x518f4a=_0x427b75;if(this[_0x518f4a(0x32b)][_0x518f4a(0x353)][_0x518f4a(0x390)])return this[_0x518f4a(0x1ed)]['t'](_0x518f4a(0x26e));}));}['_initEvent'](){const _0x2f0b5f=_0x19a859;this[_0x2f0b5f(0x305)](this[_0x2f0b5f(0x2c4)][_0x2f0b5f(0x216)]['subscribe'](_0xc336c6=>{const _0x3613e5=_0x2f0b5f;_0xc336c6['id']===_0x2c72d0['CollaborationUIEventId'][_0x3613e5(0x120)]&&this[_0x3613e5(0x2f0)][_0x3613e5(0x1e2)]({'type':_0x165dd1['MessageType'][_0x3613e5(0x33d)],'content':this[_0x3613e5(0x1ed)]['t']('collaboration.single-unit.warning')}),_0xc336c6['id']===_0x2c72d0[_0x3613e5(0x143)][_0x3613e5(0x238)]&&this[_0x3613e5(0x2f0)][_0x3613e5(0x1e2)]({'type':_0x165dd1[_0x3613e5(0x168)][_0x3613e5(0x33d)],'content':this['_localeService']['t'](_0x3613e5(0x183))}),_0xc336c6['id']===_0x2c72d0['CollaborationUIEventId'][_0x3613e5(0x22b)]&&this[_0x3613e5(0x2bb)][_0x3613e5(0x1e2)]({'title':this[_0x3613e5(0x1ed)]['t'](_0x3613e5(0x13e)),'content':this['_localeService']['t'](_0x3613e5(0x2a4)),'type':_0x3613e5(0x29c),'duration':0x0}),_0xc336c6['id']===_0x2c72d0[_0x3613e5(0x143)][_0x3613e5(0x24b)]&&this[_0x3613e5(0x2f0)][_0x3613e5(0x1e2)]({'type':_0x165dd1[_0x3613e5(0x168)][_0x3613e5(0x172)],'content':this[_0x3613e5(0x1ed)]['t'](_0x3613e5(0x183))+'('+_0xc336c6[_0x3613e5(0x171)]+')'}),_0xc336c6['id']===_0x2c72d0[_0x3613e5(0x143)][_0x3613e5(0x2ec)]&&this[_0x3613e5(0x2f0)][_0x3613e5(0x1e2)]({'type':_0x165dd1[_0x3613e5(0x168)]['Warning'],'content':this['_localeService']['t'](_0xc336c6[_0x3613e5(0x171)]||'')}),_0xc336c6['id']===_0x2c72d0[_0x3613e5(0x143)][_0x3613e5(0x2c7)]&&this[_0x3613e5(0x2f0)][_0x3613e5(0x1e2)]({'type':_0x165dd1[_0x3613e5(0x168)]['Warning'],'content':this[_0x3613e5(0x1ed)]['t'](_0x3613e5(0x111))}),_0xc336c6['id']===_0x2c72d0['CollaborationUIEventId']['SOCKET_FAILED']&&this[_0x3613e5(0x2f0)][_0x3613e5(0x1e2)]({'type':_0x165dd1['MessageType']['Error'],'content':this[_0x3613e5(0x1ed)]['t'](_0x3613e5(0x19f))}),_0xc336c6['id']===_0x2c72d0[_0x3613e5(0x143)][_0x3613e5(0x32e)]&&this[_0x3613e5(0x2f0)][_0x3613e5(0x1e2)]({'type':_0x165dd1[_0x3613e5(0x168)][_0x3613e5(0x172)],'content':this[_0x3613e5(0x1ed)]['t'](_0x3613e5(0x12e))});}));}};_0x461047=_0x1b5fc0([_0x15f855(0x0,_0x106fc7[_0x19a859(0x2fe)]),_0x15f855(0x1,_0x2c72d0[_0x19a859(0x226)]),_0x15f855(0x2,_0x5bf9c6[_0x19a859(0x116)](_0x2c72d0[_0x19a859(0x194)])),_0x15f855(0x3,_0x106fc7[_0x19a859(0x395)]),_0x15f855(0x4,_0x106fc7[_0x19a859(0x33c)]),_0x15f855(0x5,_0x5bf9c6[_0x19a859(0x116)](_0x5bf9c6['LocaleService']))],_0x461047);const _0x598514=_0x19a859(0x366),_0x15e6bd={},_0x1b2902=_0x5bf9c6[_0x19a859(0x113)](_0x19a859(0x117));var _0x5cae06=Object[_0x19a859(0x385)],_0x5bd6bb=(_0x3bf09b,_0x254a3a,_0x4cb8e8,_0x23e538)=>{for(var _0x4fb7fd=_0x23e538>0x1?void 0x0:_0x23e538?_0x5cae06(_0x254a3a,_0x4cb8e8):_0x254a3a,_0x26638d=_0x3bf09b['length']-0x1,_0x2ac5c3;_0x26638d>=0x0;_0x26638d--)(_0x2ac5c3=_0x3bf09b[_0x26638d])&&(_0x4fb7fd=_0x2ac5c3(_0x4fb7fd)||_0x4fb7fd);return _0x4fb7fd;},_0xc3ca45=(_0xde19a1,_0x22044f)=>(_0xf4880f,_0x23ef12)=>_0x22044f(_0xf4880f,_0x23ef12,_0xde19a1);_0x4c3250[_0x19a859(0x1f1)]=class extends _0x5bf9c6[_0x19a859(0x339)]{constructor(_0x1f21a4,_0x42939d,_0x2fc0c8,_0x3df0f6,_0x598381){const _0x365084=_0x19a859;super(),this[_0x365084(0x1fd)]=_0x1f21a4,this[_0x365084(0x264)]=_0x42939d,this[_0x365084(0x1d4)]=_0x2fc0c8,this[_0x365084(0x322)]=_0x3df0f6,_0x598381?_0x598381==null||_0x598381[_0x365084(0x1c4)]()[_0x365084(0x30c)](()=>this['_init']()):(this[_0x365084(0x264)][_0x365084(0x29e)](_0x365084(0x22e),_0x365084(0x204)),this['_init']());}async['_init'](){const _0x59b3e4=_0x19a859,_0x3daf28=this[_0x59b3e4(0x1fd)][_0x59b3e4(0x20a)]('unit'),_0x3201c7=this[_0x59b3e4(0x1fd)][_0x59b3e4(0x20a)]('type'),_0x19d7b6=this[_0x59b3e4(0x1fd)][_0x59b3e4(0x20a)](_0x59b3e4(0x1a2));if(!_0x3daf28||!_0x3201c7){this[_0x59b3e4(0x264)][_0x59b3e4(0x29e)](_0x59b3e4(0x22e),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x274304=await this[_0x59b3e4(0x322)][_0x59b3e4(0x285)](_0x3daf28,Number(_0x3201c7),_0x19d7b6);_0x274304&&_0x274304 instanceof _0x5bf9c6[_0x59b3e4(0x1f9)]&&this[_0x59b3e4(0x1d7)](_0x274304);}async[_0x19a859(0x1d7)](_0x14bfc2){const _0x5c0fa3=_0x19a859;await this[_0x5c0fa3(0x308)](_0x14bfc2),_0x14bfc2[_0x5c0fa3(0x24c)][_0x5c0fa3(0x38f)](_0x496cb2[_0x5c0fa3(0x130)](this['dispose$']))[_0x5c0fa3(0x28a)](_0x2623bb=>{const _0x40f409=_0x5c0fa3;_0x2623bb&&this[_0x40f409(0x14c)](_0x2623bb);}),this[_0x5c0fa3(0x1fd)][_0x5c0fa3(0x165)][_0x5c0fa3(0x38f)](_0x496cb2[_0x5c0fa3(0x130)](this['dispose$']))[_0x5c0fa3(0x28a)](()=>this[_0x5c0fa3(0x308)](_0x14bfc2));}[_0x19a859(0x14c)](_0x38f450,_0x5328fd=!0x1){const _0x478354=_0x19a859,_0x439e82=this['_urlService'][_0x478354(0x20a)](_0x478354(0x1a2));_0x38f450[_0x478354(0x327)]()!==_0x439e82&&this[_0x478354(0x1fd)][_0x478354(0x365)](_0x478354(0x1a2),_0x38f450[_0x478354(0x327)](),_0x5328fd);}async['_updateSubUnitFromURLParams'](_0x113747){const _0x499e70=_0x19a859;var _0x24b0e1;const _0x283bf6=this[_0x499e70(0x1fd)]['getParam'](_0x499e70(0x1a2));if(!_0x283bf6||!_0x113747[_0x499e70(0x336)](_0x283bf6)){const _0x7ebc36=_0x113747[_0x499e70(0x241)]()[0x0],_0x4a30f1=_0x113747[_0x499e70(0x336)](_0x7ebc36);if(!_0x4a30f1)return;this[_0x499e70(0x14c)](_0x4a30f1,!0x0),await this[_0x499e70(0x1d4)][_0x499e70(0x17f)](_0x4fd62b[_0x499e70(0x11e)]['id'],{'unitId':_0x113747[_0x499e70(0x1b2)](),'subUnitId':_0x7ebc36});return;}((_0x24b0e1=_0x113747[_0x499e70(0x345)]())==null?void 0x0:_0x24b0e1['getSheetId']())!==_0x283bf6&&await this['_commandService'][_0x499e70(0x17f)](_0x4fd62b[_0x499e70(0x11e)]['id'],{'unitId':_0x113747[_0x499e70(0x1b2)](),'subUnitId':_0x283bf6});}},_0x4c3250[_0x19a859(0x1f1)]=_0x5bd6bb([_0xc3ca45(0x0,_0x1b2902),_0xc3ca45(0x1,_0x5bf9c6[_0x19a859(0x1bb)]),_0xc3ca45(0x2,_0x5bf9c6['ICommandService']),_0xc3ca45(0x3,_0x5bf9c6[_0x19a859(0x116)](_0x2c72d0[_0x19a859(0x158)])),_0xc3ca45(0x4,_0x5bf9c6[_0x19a859(0x119)](_0x1d3fe6[_0x19a859(0x279)]))],_0x4c3250[_0x19a859(0x1f1)]);var _0x4f03ce=Object[_0x19a859(0x385)],_0x3c5bad=(_0x3e8acb,_0x1fd94f,_0x1f097c,_0x183721)=>{const _0x1581be=_0x19a859;for(var _0x4825c1=_0x183721>0x1?void 0x0:_0x183721?_0x4f03ce(_0x1fd94f,_0x1f097c):_0x1fd94f,_0x262c8f=_0x3e8acb[_0x1581be(0x344)]-0x1,_0x579ee7;_0x262c8f>=0x0;_0x262c8f--)(_0x579ee7=_0x3e8acb[_0x262c8f])&&(_0x4825c1=_0x579ee7(_0x4825c1)||_0x4825c1);return _0x4825c1;},_0x398879=(_0x337b55,_0x1cfe36)=>(_0x35a824,_0x23992a)=>_0x1cfe36(_0x35a824,_0x23992a,_0x337b55);let _0x28b55a=class{constructor(_0x52da4e,_0x2b766b,_0x344f66){const _0x416dbe=_0x19a859;this[_0x416dbe(0x380)]=_0x52da4e,this[_0x416dbe(0x197)]=_0x2b766b,this[_0x416dbe(0x388)]=_0x344f66;}[_0x19a859(0x359)](_0x241939){const _0x48b1a7=_0x19a859;this[_0x48b1a7(0x233)](_0x241939),this[_0x48b1a7(0x298)](_0x241939);}['transformRemoteChangeset'](_0x9f5c27){const _0x454d44=_0x19a859,{unitID:_0x5820fc}=_0x9f5c27,_0x5b26cd=this['_renderManagerService'][_0x454d44(0x29a)](_0x5820fc)[_0x454d44(0x1f0)](_0x1a8f2e[_0x454d44(0x23b)]),{redoCache:_0x5bf581}=_0x5b26cd[_0x454d44(0x30e)]();if(_0x5bf581['length']===0x0)return _0x9f5c27;let _0x44c828=_0x5bf9c6[_0x454d44(0x389)][_0x454d44(0x1a3)](_0x9f5c27[_0x454d44(0x39e)][0x0]);for(let _0xd96f27=0x0;_0xd96f27<_0x5bf581[_0x454d44(0x344)];_0xd96f27++){const _0x3520ce={'id':_0x454d44(0x36a),'params':{..._0x5bf581[_0xd96f27]}},_0x4aa113=this[_0x454d44(0x197)][_0x454d44(0x2e4)](_0x44c828,_0x3520ce,!0x1);if(_0x4e6003[_0x454d44(0x38c)](_0x4aa113))throw _0x4aa113[_0x454d44(0x29c)];_0x44c828=_0x4aa113[_0x454d44(0x2f6)];}return{..._0x5bf9c6[_0x454d44(0x389)][_0x454d44(0x1a3)](_0x9f5c27),'mutations':[_0x44c828]};}[_0x19a859(0x233)](_0x2a4e90){const _0x4ca2c3=_0x19a859,{unitID:_0x3e42bc}=_0x2a4e90,_0x77eb4=this[_0x4ca2c3(0x388)][_0x4ca2c3(0x29a)](_0x3e42bc)['with'](_0x1a8f2e['DocIMEInputManagerService']),{undoCache:_0x5196e5,redoCache:_0x6363d}=_0x77eb4[_0x4ca2c3(0x30e)]();if(_0x5196e5[_0x4ca2c3(0x344)]===0x0||_0x6363d['length']===0x0)return;const _0x837529=[],_0x24f453=[];let _0x444a61=_0x5bf9c6[_0x4ca2c3(0x389)][_0x4ca2c3(0x1a3)](_0x2a4e90[_0x4ca2c3(0x39e)][0x0]),_0x1b57ae=_0x5bf9c6[_0x4ca2c3(0x389)][_0x4ca2c3(0x1a3)](_0x2a4e90[_0x4ca2c3(0x39e)][0x0]);for(let _0x36ed7f=_0x5196e5[_0x4ca2c3(0x344)]-0x1;_0x36ed7f>=0x0;_0x36ed7f--){const _0x38b298={'id':_0x4ca2c3(0x36a),'params':{..._0x5196e5[_0x36ed7f]}},_0x4407e5={'id':_0x4ca2c3(0x36a),'params':{..._0x6363d[_0x36ed7f]}},_0x4a03f8=this[_0x4ca2c3(0x197)][_0x4ca2c3(0x2e4)](_0x444a61,_0x38b298,!0x1),_0x3e2250=this[_0x4ca2c3(0x197)][_0x4ca2c3(0x2e4)](_0x1b57ae,_0x4407e5,!0x1);if(_0x4e6003['isTransformMutationFailure'](_0x4a03f8))throw _0x4a03f8[_0x4ca2c3(0x29c)];if(_0x4e6003['isTransformMutationFailure'](_0x3e2250))throw _0x3e2250[_0x4ca2c3(0x29c)];_0x837529[_0x4ca2c3(0x37e)](_0x4a03f8[_0x4ca2c3(0x178)][_0x4ca2c3(0x316)]),_0x24f453[_0x4ca2c3(0x37e)](_0x3e2250[_0x4ca2c3(0x178)][_0x4ca2c3(0x316)]),_0x444a61=_0x4a03f8[_0x4ca2c3(0x2f6)],_0x1b57ae=_0x3e2250[_0x4ca2c3(0x2f6)];}_0x77eb4[_0x4ca2c3(0x1de)]({'undoCache':_0x837529,'redoCache':_0x24f453});}[_0x19a859(0x298)](_0x343fd2){const _0x336654=_0x19a859,{unitID:_0x155b92}=_0x343fd2,_0x2ecbf5=this[_0x336654(0x388)]['getRenderById'](_0x155b92)['with'](_0x1a8f2e[_0x336654(0x23b)]),_0x15fada=_0x2ecbf5['getActiveRange']();if(_0x15fada==null)return;const _0x573327=[{'id':_0x336654(0x36a),'params':{'unitId':_0x343fd2[_0x336654(0x1db)],'actions':null,'textRanges':[_0x15fada]}}],_0x419960=this[_0x336654(0x197)][_0x336654(0x2f9)](_0x343fd2,_0x573327);if(!_0x4e6003['isTransformMutationsWithChangesetSuccess'](_0x419960))throw _0x419960['error'];const _0x41fa74=_0x419960[_0x336654(0x178)][0x0][_0x336654(0x316)]['textRanges'];Array[_0x336654(0x1dc)](_0x41fa74)&&_0x41fa74[_0x336654(0x344)]&&_0x2ecbf5[_0x336654(0x355)](_0x41fa74[0x0]);}};_0x28b55a=_0x3c5bad([_0x398879(0x0,_0x5bf9c6[_0x19a859(0x116)](_0x5bf9c6[_0x19a859(0x35e)])),_0x398879(0x1,_0x4e6003['ITransformService']),_0x398879(0x2,_0x5d1039[_0x19a859(0x2b9)])],_0x28b55a);var _0x313a08=Object[_0x19a859(0x385)],_0x168cdf=(_0x506ac1,_0x224072,_0xaa2eec,_0x1ab155)=>{const _0x316746=_0x19a859;for(var _0x51e3f6=_0x1ab155>0x1?void 0x0:_0x1ab155?_0x313a08(_0x224072,_0xaa2eec):_0x224072,_0x183092=_0x506ac1[_0x316746(0x344)]-0x1,_0x3a8a4b;_0x183092>=0x0;_0x183092--)(_0x3a8a4b=_0x506ac1[_0x183092])&&(_0x51e3f6=_0x3a8a4b(_0x51e3f6)||_0x51e3f6);return _0x51e3f6;},_0x2ea903=(_0x125679,_0x5a4609)=>(_0x3a84ba,_0x2e2d23)=>_0x5a4609(_0x3a84ba,_0x2e2d23,_0x125679);let _0x4794ff=class{constructor(_0x145d08,_0x32651a,_0x216403){const _0x4d3954=_0x19a859;this[_0x4d3954(0x380)]=_0x145d08,this[_0x4d3954(0x197)]=_0x32651a,this[_0x4d3954(0x2b7)]=_0x216403;}[_0x19a859(0x1b7)](_0x3b75f4){const _0x11e2c9=_0x19a859;this[_0x11e2c9(0x373)](_0x3b75f4);}[_0x19a859(0x213)](_0x5baea4){const _0xb81e16=_0x19a859,{unitID:_0x53125f}=_0x5baea4,{collaboration:_0xf5b215}=this[_0xb81e16(0x2b7)][_0xb81e16(0x1cb)](_0x53125f);if(_0xf5b215[_0xb81e16(0x344)]===0x0)return _0x5baea4;let _0x16a770=_0x5bf9c6[_0xb81e16(0x389)]['deepClone'](_0x5baea4[_0xb81e16(0x39e)][0x0]);for(let _0x2936d2=0x0;_0x2936d2<_0xf5b215[_0xb81e16(0x344)];_0x2936d2++){const _0x49ac58={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0xf5b215[_0x2936d2][_0xb81e16(0x2ab)],..._0xf5b215[_0x2936d2][_0xb81e16(0x1eb)]}},_0x43b26d=this[_0xb81e16(0x197)]['transformMutation'](_0x16a770,_0x49ac58,!0x1);if(_0x4e6003['isTransformMutationFailure'](_0x43b26d))throw _0x43b26d[_0xb81e16(0x29c)];_0x16a770=_0x43b26d[_0xb81e16(0x2f6)];}return{..._0x5bf9c6[_0xb81e16(0x389)]['deepClone'](_0x5baea4),'mutations':[_0x16a770]};}['_transformHistoryAndStateStack'](_0xc54e30){const _0x519d6b=_0x19a859,{unitID:_0x4faf15}=_0xc54e30,{history:_0x256a3c,collaboration:_0x32afa1}=this[_0x519d6b(0x2b7)][_0x519d6b(0x1cb)](_0x4faf15);if(_0x256a3c['length']===0x0&&_0x32afa1[_0x519d6b(0x344)]===0x0)return;const _0x488595=[],_0x5daf0a=[];let _0x3bce19=_0x5bf9c6['Tools'][_0x519d6b(0x1a3)](_0xc54e30[_0x519d6b(0x39e)][0x0]),_0x421334=_0x5bf9c6['Tools'][_0x519d6b(0x1a3)](_0xc54e30[_0x519d6b(0x39e)][0x0]);for(let _0x1d0114=_0x256a3c[_0x519d6b(0x344)]-0x1;_0x1d0114>=0x0;_0x1d0114--){const _0x57202d={'id':_0x519d6b(0x36a),'params':{'unitId':_0x256a3c[_0x1d0114][_0x519d6b(0x2ab)],..._0x256a3c[_0x1d0114][_0x519d6b(0x232)]}},_0x302969={'id':_0x519d6b(0x36a),'params':{'unitId':_0x256a3c[_0x1d0114][_0x519d6b(0x2ab)],..._0x256a3c[_0x1d0114]['redoState']}},_0x4c0002=this[_0x519d6b(0x197)]['transformMutation'](_0x3bce19,_0x57202d,!0x1),_0x6d5951=this[_0x519d6b(0x197)][_0x519d6b(0x2e4)](_0x421334,_0x302969,!0x1);if(_0x4e6003['isTransformMutationFailure'](_0x4c0002))throw _0x4c0002['error'];if(_0x4e6003[_0x519d6b(0x38c)](_0x6d5951))throw _0x6d5951['error'];_0x488595['unshift']({..._0x256a3c[_0x1d0114],'undoState':_0x4c0002['m2Prime']['params'],'redoState':_0x6d5951[_0x519d6b(0x178)]['params']}),_0x3bce19=_0x4c0002[_0x519d6b(0x2f6)],_0x421334=_0x6d5951[_0x519d6b(0x2f6)];}_0x3bce19=_0x5bf9c6[_0x519d6b(0x389)][_0x519d6b(0x1a3)](_0xc54e30[_0x519d6b(0x39e)][0x0]),_0x421334=_0x5bf9c6[_0x519d6b(0x389)][_0x519d6b(0x1a3)](_0xc54e30[_0x519d6b(0x39e)][0x0]);for(let _0x255210=_0x32afa1[_0x519d6b(0x344)]-0x1;_0x255210>=0x0;_0x255210--){const _0x3f39bf={'id':_0x519d6b(0x36a),'params':{'unitId':_0x32afa1[_0x255210][_0x519d6b(0x2ab)],..._0x32afa1[_0x255210][_0x519d6b(0x232)]}},_0x142d2a={'id':_0x519d6b(0x36a),'params':{'unitId':_0x32afa1[_0x255210][_0x519d6b(0x2ab)],..._0x32afa1[_0x255210]['redoState']}},_0x328bca=this['_transformService'][_0x519d6b(0x2e4)](_0x3bce19,_0x3f39bf,!0x1),_0x1440a9=this[_0x519d6b(0x197)][_0x519d6b(0x2e4)](_0x421334,_0x142d2a,!0x1);if(_0x4e6003[_0x519d6b(0x38c)](_0x328bca))throw _0x328bca[_0x519d6b(0x29c)];if(_0x4e6003['isTransformMutationFailure'](_0x1440a9))throw _0x1440a9[_0x519d6b(0x29c)];_0x5daf0a['unshift']({..._0x32afa1[_0x255210],'undoState':_0x328bca[_0x519d6b(0x178)][_0x519d6b(0x316)],'redoState':_0x1440a9[_0x519d6b(0x178)][_0x519d6b(0x316)]}),_0x3bce19=_0x328bca[_0x519d6b(0x2f6)],_0x421334=_0x1440a9[_0x519d6b(0x2f6)];}this['_docStateChangeManagerService'][_0x519d6b(0x1ec)](_0x4faf15,{'history':_0x488595,'collaboration':_0x5daf0a});}};_0x4794ff=_0x168cdf([_0x2ea903(0x0,_0x5bf9c6['Inject'](_0x5bf9c6[_0x19a859(0x35e)])),_0x2ea903(0x1,_0x4e6003['ITransformService']),_0x2ea903(0x2,_0x5bf9c6[_0x19a859(0x116)](_0x1a8f2e[_0x19a859(0x367)]))],_0x4794ff);var _0x1b9a9f=Object[_0x19a859(0x385)],_0x148658=(_0x2ab418,_0x3b00e8,_0x49769b,_0x44e6fc)=>{const _0x351583=_0x19a859;for(var _0x32e16a=_0x44e6fc>0x1?void 0x0:_0x44e6fc?_0x1b9a9f(_0x3b00e8,_0x49769b):_0x3b00e8,_0x47bc58=_0x2ab418[_0x351583(0x344)]-0x1,_0x218e1b;_0x47bc58>=0x0;_0x47bc58--)(_0x218e1b=_0x2ab418[_0x47bc58])&&(_0x32e16a=_0x218e1b(_0x32e16a)||_0x32e16a);return _0x32e16a;},_0x15bfdc=(_0x6e0264,_0x47512d)=>(_0x29dd5c,_0x1e0dbe)=>_0x47512d(_0x29dd5c,_0x1e0dbe,_0x6e0264);let _0x4c0a13=class{constructor(_0x336f1b,_0xc1a4ef){const _0x474bc7=_0x19a859;this[_0x474bc7(0x380)]=_0x336f1b,this[_0x474bc7(0x197)]=_0xc1a4ef;}[_0x19a859(0x1b1)](_0x2a7f27){const _0xb7c0b8=_0x19a859;var _0x35bef4;const _0x4b22d0=this['_injector'][_0xb7c0b8(0x223)](_0x50e692[_0xb7c0b8(0x220)]),_0x41ba40=(_0x35bef4=_0x4b22d0[_0xb7c0b8(0x273)]())!=null?_0x35bef4:[];if(_0x41ba40[_0xb7c0b8(0x344)]===0x0)return;const _0x2979aa=_0x2a7f27[_0xb7c0b8(0x1db)],_0x4d862c=[{'id':_0xb7c0b8(0x36a),'params':{'unitId':_0x2979aa,'actions':null,'textRanges':_0x41ba40}}],_0x76d930=this['_transformService']['transformMutationsWithChangeset'](_0x2a7f27,_0x4d862c);if(!_0x4e6003[_0xb7c0b8(0x396)](_0x76d930))throw _0x76d930['error'];const _0x5bf435=_0x76d930[_0xb7c0b8(0x178)][0x0][_0xb7c0b8(0x316)][_0xb7c0b8(0x195)];Array['isArray'](_0x5bf435)&&_0x5bf435[_0xb7c0b8(0x344)]&&_0x4b22d0[_0xb7c0b8(0x2d2)](_0x5bf435,{'unitId':_0x2979aa,'subUnitId':_0x2979aa},!0x1);}};_0x4c0a13=_0x148658([_0x15bfdc(0x0,_0x5bf9c6[_0x19a859(0x116)](_0x5bf9c6[_0x19a859(0x35e)])),_0x15bfdc(0x1,_0x4e6003[_0x19a859(0x294)])],_0x4c0a13);var _0x323b9b=Object[_0x19a859(0x385)],_0xe1a31e=(_0x7c7e97,_0x574088,_0x14d5ec,_0x132502)=>{for(var _0x83211a=_0x132502>0x1?void 0x0:_0x132502?_0x323b9b(_0x574088,_0x14d5ec):_0x574088,_0x5101b5=_0x7c7e97['length']-0x1,_0x4269bf;_0x5101b5>=0x0;_0x5101b5--)(_0x4269bf=_0x7c7e97[_0x5101b5])&&(_0x83211a=_0x4269bf(_0x83211a)||_0x83211a);return _0x83211a;},_0x5d4b28=(_0x57e09a,_0x2d3d3e)=>(_0x5011ed,_0x23fd39)=>_0x2d3d3e(_0x5011ed,_0x23fd39,_0x57e09a);let _0x48fe55=class extends _0x5bf9c6[_0x19a859(0x2b3)]{constructor(_0x5f0bb2,_0x47d2bc,_0x2f441c,_0x5bb05a,_0x197db5,_0x43a69b,_0x26aa4f,_0x2e055c){const _0x541fd5=_0x19a859;super(),_0x521fa5(this,_0x541fd5(0x2af),new _0x496cb2[(_0x541fd5(0x3a5))](_0x2c72d0['CollaborationStatus']['NOT_COLLAB'])),(this[_0x541fd5(0x2b7)]=_0x5f0bb2,this[_0x541fd5(0x14b)]=_0x47d2bc,this[_0x541fd5(0x1e4)]=_0x2f441c,this[_0x541fd5(0x1d8)]=_0x5bb05a,this[_0x541fd5(0x3a6)]=_0x197db5,this[_0x541fd5(0x383)]=_0x43a69b,this['_messageService']=_0x26aa4f,this[_0x541fd5(0x1ed)]=_0x2e055c,this['_initEntityListener']());}['_initEntityListener'](){const _0x1ab517=_0x19a859;this[_0x1ab517(0x305)](this[_0x1ab517(0x14b)][_0x1ab517(0x2f8)][_0x1ab517(0x28a)](_0x233552=>{const _0x3ee915=_0x1ab517,_0x20f033=this[_0x3ee915(0x2b7)][_0x3ee915(0x277)][_0x3ee915(0x28a)](_0x1220ed=>{const _0x1f2f44=_0x3ee915;if(_0x1220ed==null)return;const {unitId:_0x10512d,redoState:_0x43d159,commandId:_0x1c20fb}=_0x1220ed;if(_0x10512d!==_0x233552[_0x1f2f44(0x1db)])return;const _0x20b7b8={'id':_0x1c20fb,'type':_0x5bf9c6['CommandType'][_0x1f2f44(0x20e)],'params':{'unitId':_0x10512d,'actions':_0x43d159[_0x1f2f44(0x15e)],'textRanges':null}};_0x233552['onLocalMutation'](_0x20b7b8);});if(_0x233552['disposeWithMe'](_0x20f033),_0x233552 instanceof _0x2c72d0[_0x3ee915(0x196)]){const _0x15bddc={'onTransformIME':_0x62b844=>this['_docTransformIMECacheService'][_0x3ee915(0x359)](_0x62b844),'onTransformState':_0x3adde2=>this['_docTransformStateCacheService'][_0x3ee915(0x1b7)](_0x3adde2),'onTransformSelections':_0xf268c1=>this[_0x3ee915(0x3a6)][_0x3ee915(0x1b1)](_0xf268c1),'onSyncEditingCollabCursor':_0x3ee221=>this[_0x3ee915(0x383)][_0x3ee915(0x38d)](_0x3ee221),'onTransformRemoteChangesetByIMECache':_0x3628c1=>this[_0x3ee915(0x1e4)]['transformRemoteChangeset'](_0x3628c1),'onTransformRemoteChangesetByStateCache':_0x16d507=>this[_0x3ee915(0x1d8)][_0x3ee915(0x213)](_0x16d507)};_0x233552[_0x3ee915(0x25a)](_0x15bddc);}}));}};_0x48fe55=_0xe1a31e([_0x5d4b28(0x0,_0x5bf9c6[_0x19a859(0x116)](_0x1a8f2e[_0x19a859(0x367)])),_0x5d4b28(0x1,_0x5bf9c6['Inject'](_0x2c72d0[_0x19a859(0x11c)])),_0x5d4b28(0x2,_0x5bf9c6[_0x19a859(0x116)](_0x28b55a)),_0x5d4b28(0x3,_0x5bf9c6['Inject'](_0x4794ff)),_0x5d4b28(0x4,_0x5bf9c6[_0x19a859(0x116)](_0x4c0a13)),_0x5d4b28(0x5,_0x5bf9c6[_0x19a859(0x116)](_0x299122)),_0x5d4b28(0x6,_0x106fc7[_0x19a859(0x395)]),_0x5d4b28(0x7,_0x5bf9c6[_0x19a859(0x116)](_0x5bf9c6[_0x19a859(0x2d7)]))],_0x48fe55);var _0x4aed49=Object['getOwnPropertyDescriptor'],_0x1641bd=(_0x56a8a5,_0x182133,_0x4397e9,_0x1519ab)=>{const _0x1f0920=_0x19a859;for(var _0x171f54=_0x1519ab>0x1?void 0x0:_0x1519ab?_0x4aed49(_0x182133,_0x4397e9):_0x182133,_0x4085b0=_0x56a8a5[_0x1f0920(0x344)]-0x1,_0xa643be;_0x4085b0>=0x0;_0x4085b0--)(_0xa643be=_0x56a8a5[_0x4085b0])&&(_0x171f54=_0xa643be(_0x171f54)||_0x171f54);return _0x171f54;},_0xde872e=(_0x2bbcf4,_0x1e7253)=>(_0x36f6d7,_0x5a0ef0)=>_0x1e7253(_0x36f6d7,_0x5a0ef0,_0x2bbcf4);let _0x25e0c4=class extends _0x5bf9c6[_0x19a859(0x2b3)]{constructor(_0xb6e86,_0x4a00c6,_0x4fdb72){const _0x5d12ab=_0x19a859;super(),_0x521fa5(this,_0x5d12ab(0x123),new Map()),_0x521fa5(this,'_saveTaskMap',new Map()),_0x521fa5(this,_0x5d12ab(0x179),!0x1),(this[_0x5d12ab(0x150)]=_0xb6e86,this['_localStorageService']=_0x4a00c6,this[_0x5d12ab(0x303)]=_0x4fdb72);}[_0x19a859(0x1b9)](){const _0x43d3c1=_0x19a859;this[_0x43d3c1(0x179)]=!0x0;}[_0x19a859(0x28f)](){const _0x5e41a9=_0x19a859;this[_0x5e41a9(0x179)]=!0x1;}get['saveTaskMap'](){const _0x247166=_0x19a859;return this[_0x247166(0x2ca)];}['dispose'](){const _0x35b22b=_0x19a859;this[_0x35b22b(0x2d6)]()[_0x35b22b(0x30c)](()=>super['dispose']());}async[_0x19a859(0x378)](_0x11b9bb){const _0x495d1b=_0x19a859;return this[_0x495d1b(0x179)]?null:this[_0x495d1b(0x27e)][_0x495d1b(0x1a0)](_0x2c72d0[_0x495d1b(0x391)](_0x11b9bb));}async[_0x19a859(0x31e)](_0x1ce63f,_0x123cb7){const _0xe1f478=_0x19a859;return!!this[_0xe1f478(0x27e)][_0xe1f478(0x1ae)](_0x1ce63f,_0x123cb7);}[_0x19a859(0x181)](_0x224734,_0x4463c8,_0x32509f,_0x4383fd){const _0x5bbbaf=_0x19a859,_0x1ef40b=this[_0x5bbbaf(0x303)]['getCurrentRevOfUnit'](_0x224734);this[_0x5bbbaf(0x123)][_0x5bbbaf(0x17d)](_0x224734,{'unitID':_0x224734,'type':_0x4463c8,'awaitingChangeset':_0x32509f,'mutations':_0x4383fd,'rev':_0x1ef40b}),this[_0x5bbbaf(0x2ca)]['has'](_0x224734)||this[_0x5bbbaf(0x3a0)](_0x224734);}[_0x19a859(0x3a0)](_0x1e59c2){const _0x18a4d5=_0x19a859,_0x302373=this[_0x18a4d5(0x212)]();_0x302373===0x0?this['_saveCache'](_0x1e59c2):this['_saveTaskMap'][_0x18a4d5(0x17d)](_0x1e59c2,setTimeout(()=>this[_0x18a4d5(0x22c)](_0x1e59c2),_0x302373));}['_getSaveTimeout'](){const _0x1a951a=_0x19a859;var _0x13642a;return(_0x13642a=this[_0x1a951a(0x150)][_0x1a951a(0x329)](_0x2c72d0['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x13642a:_0x2c72d0[_0x1a951a(0x2de)];}['_saveCache'](_0x1d7586){const _0x548649=_0x19a859,_0x1c59e9=this[_0x548649(0x2ca)][_0x548649(0x223)](_0x1d7586);return _0x1c59e9!==void 0x0&&window[_0x548649(0x2fb)](_0x1c59e9),this[_0x548649(0x27e)][_0x548649(0x1ae)](_0x2c72d0['getLocalCacheKey'](_0x1d7586),this[_0x548649(0x123)][_0x548649(0x223)](_0x1d7586))['then'](()=>this[_0x548649(0x2ca)]['delete'](_0x1d7586));}async[_0x19a859(0x2d6)](){const _0x47bca4=_0x19a859,_0x43c951=[];this[_0x47bca4(0x2ca)][_0x47bca4(0x139)]((_0x54c8a8,_0x43e7c5)=>{const _0x4ba8d0=_0x47bca4;window['clearTimeout'](_0x54c8a8),_0x43c951[_0x4ba8d0(0x253)](this['_saveCache'](_0x43e7c5)[_0x4ba8d0(0x30c)](()=>{const _0x173fda=_0x4ba8d0;this[_0x173fda(0x2ca)]['delete'](_0x43e7c5);}));}),await Promise[_0x47bca4(0x1fc)](_0x43c951);}};_0x25e0c4=_0x1641bd([_0xde872e(0x0,_0x5bf9c6[_0x19a859(0x236)]),_0xde872e(0x1,_0x5bf9c6[_0x19a859(0x13a)]),_0xde872e(0x2,_0x5bf9c6[_0x19a859(0x116)](_0x4e6003[_0x19a859(0x30a)]))],_0x25e0c4);class _0x2d34a4 extends _0x5bf9c6[_0x19a859(0x339)]{constructor(){const _0x17c675=_0x19a859;super(),_0x521fa5(this,_0x17c675(0x165)),this[_0x17c675(0x165)]=_0x496cb2[_0x17c675(0x1e3)](window,'popstate')['pipe'](_0x496cb2['takeUntil'](this['dispose$']),_0x496cb2[_0x17c675(0x35f)](0x1),_0x496cb2['mapTo'](void 0x0));}['setParam'](_0x220a78,_0x5d7098,_0x4cdb2a=!0x1){const _0x2dc95f=_0x19a859,_0x4858b3=new URL(window[_0x2dc95f(0x128)][_0x2dc95f(0x242)]);_0x4858b3[_0x2dc95f(0x31d)][_0x2dc95f(0x17d)](_0x220a78,_0x5d7098),_0x4cdb2a?window['history'][_0x2dc95f(0x17e)]('','',_0x4858b3[_0x2dc95f(0x246)]()):window['history'][_0x2dc95f(0x255)]('','',_0x4858b3[_0x2dc95f(0x246)]());}[_0x19a859(0x151)](_0x3ede4a,_0x4b7416=!0x1){const _0x24506d=_0x19a859,_0x10d6c8=new URL(window[_0x24506d(0x128)][_0x24506d(0x242)]);_0x10d6c8[_0x24506d(0x31d)][_0x24506d(0x227)](_0x3ede4a),_0x4b7416?window[_0x24506d(0x292)][_0x24506d(0x17e)]('','',_0x10d6c8[_0x24506d(0x246)]()):window[_0x24506d(0x292)][_0x24506d(0x255)]('','',_0x10d6c8[_0x24506d(0x246)]());}[_0x19a859(0x20a)](_0x5e1abf){const _0x589ef9=_0x19a859;var _0x416e8d;return(_0x416e8d=new URL(window[_0x589ef9(0x128)][_0x589ef9(0x242)])['searchParams'][_0x589ef9(0x223)](_0x5e1abf))!=null?_0x416e8d:void 0x0;}}var _0x38d471=Object[_0x19a859(0x301)],_0x55e279=Object[_0x19a859(0x385)],_0x20489b=(_0x39c423,_0x3e05ea,_0x23b123)=>_0x3e05ea in _0x39c423?_0x38d471(_0x39c423,_0x3e05ea,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x23b123}):_0x39c423[_0x3e05ea]=_0x23b123,_0x3b8278=(_0x5be6c6,_0x2e3a03,_0x3aa7c6,_0x3d8fd7)=>{const _0x8bdeba=_0x19a859;for(var _0x2599da=_0x3d8fd7>0x1?void 0x0:_0x3d8fd7?_0x55e279(_0x2e3a03,_0x3aa7c6):_0x2e3a03,_0x1c1591=_0x5be6c6[_0x8bdeba(0x344)]-0x1,_0x4dec44;_0x1c1591>=0x0;_0x1c1591--)(_0x4dec44=_0x5be6c6[_0x1c1591])&&(_0x2599da=_0x4dec44(_0x2599da)||_0x2599da);return _0x2599da;},_0x5bca95=(_0x380308,_0x148c9e)=>(_0x40b562,_0x570dce)=>_0x148c9e(_0x40b562,_0x570dce,_0x380308),_0xd877f6=(_0x51ed10,_0x5ec9f8,_0x20b0de)=>_0x20489b(_0x51ed10,_0x5ec9f8+'',_0x20b0de);const _0x536ec4='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x4c3250[_0x19a859(0x1d5)]=class extends _0x5bf9c6[_0x19a859(0x1c1)]{constructor(_0x42850e=_0x15e6bd,_0x18edff,_0x29fa8c,_0xa5fe81){const _0x4a2ce0=_0x19a859;super(),this[_0x4a2ce0(0x375)]=_0x42850e,this['_renderManagerService']=_0x18edff,this['_injector']=_0x29fa8c,this['_configService']=_0xa5fe81;const {..._0x4f7214}=_0x5bf9c6[_0x4a2ce0(0x1f4)]({},_0x15e6bd,this['_config']);this[_0x4a2ce0(0x150)][_0x4a2ce0(0x291)](_0x598514,_0x4f7214);}[_0x19a859(0x256)](){const _0x278a7c=_0x19a859;this[_0x278a7c(0x11f)](),this[_0x278a7c(0x2cf)]();}[_0x19a859(0x287)](){this['_registerRenderDependencies']();}[_0x19a859(0x11f)](){const _0x2606cf=_0x19a859;var _0x4ac783;const _0x1e19b2=[[_0x30d5cc],[_0x4c0a13],[_0x28b55a],[_0x4794ff],[_0x299122],[_0x1b2902,{'useClass':_0x2d34a4}],[_0x28d1f0[_0x2606cf(0x16c)],{'useClass':_0x28d1f0[_0x2606cf(0x290)]}],[_0x2c72d0['ILocalCacheService'],{'useClass':_0x25e0c4}],[_0x4c3250[_0x2606cf(0x134)]],[_0x48fe55],[_0x461047],[_0x3097e7],[_0x41ef61],[_0x4c3250[_0x2606cf(0x1f1)]]];_0x5bf9c6['registerDependencies'](this[_0x2606cf(0x380)],_0x5bf9c6[_0x2606cf(0x184)](_0x1e19b2,(_0x4ac783=this['_config'])==null?void 0x0:_0x4ac783[_0x2606cf(0x397)]));}['_registerRenderDependencies'](){const _0x2c5416=_0x19a859;this[_0x2c5416(0x305)](this[_0x2c5416(0x388)]['registerRenderModule'](_0x5bf9c6[_0x2c5416(0x2cb)][_0x2c5416(0x25f)],[_0x488d8f])),this[_0x2c5416(0x305)](this[_0x2c5416(0x388)][_0x2c5416(0x2cd)](_0x5bf9c6[_0x2c5416(0x2cb)]['UNIVER_SHEET'],[_0x9b9b90]));}[_0x19a859(0x2cf)](){const _0x58ec57=_0x19a859;_0x5bf9c6['touchDependencies'](this[_0x58ec57(0x380)],[[_0x3097e7],[_0x4c3250[_0x58ec57(0x134)]],[_0x48fe55],[_0x461047],[_0x4c3250[_0x58ec57(0x1f1)]]]);}},_0xd877f6(_0x4c3250[_0x19a859(0x1d5)],_0x19a859(0x1c0),_0x536ec4),_0x4c3250[_0x19a859(0x1d5)]=_0x3b8278([_0x5bf9c6[_0x19a859(0x14e)](_0x2c72d0[_0x19a859(0x1f5)]),_0x5bca95(0x1,_0x5d1039[_0x19a859(0x2b9)]),_0x5bca95(0x2,_0x5bf9c6[_0x19a859(0x116)](_0x5bf9c6[_0x19a859(0x35e)])),_0x5bca95(0x3,_0x5bf9c6[_0x19a859(0x236)])],_0x4c3250[_0x19a859(0x1d5)]);var _0x10dc38=Object[_0x19a859(0x385)],_0x5d1f84=(_0x15b804,_0x276d95,_0x17debd,_0x1e255d)=>{for(var _0x406a47=_0x1e255d>0x1?void 0x0:_0x1e255d?_0x10dc38(_0x276d95,_0x17debd):_0x276d95,_0x437907=_0x15b804['length']-0x1,_0x404c9c;_0x437907>=0x0;_0x437907--)(_0x404c9c=_0x15b804[_0x437907])&&(_0x406a47=_0x404c9c(_0x406a47)||_0x406a47);return _0x406a47;},_0x3f7ca0=(_0x472ae2,_0x2b0d19)=>(_0x46310d,_0x43a3e0)=>_0x2b0d19(_0x46310d,_0x43a3e0,_0x472ae2);_0x4c3250[_0x19a859(0x18f)]=class extends _0x2c72d0[_0x19a859(0x337)]{constructor(_0xa06f35,_0x40346b,_0x1a99fe,_0x306d89,_0x55739c){super(_0xa06f35,_0x40346b,_0x1a99fe,_0x306d89,_0x55739c);}async[_0x19a859(0x30f)](_0x2c70f9){const _0x441338=_0x19a859,_0x5b6b0b=await this[_0x441338(0x2ea)](),_0x4560cf=this[_0x441338(0x38a)](_0x2c70f9,_0x5b6b0b);return this[_0x441338(0x2cc)](_0x4560cf);}['_createSocketURL'](_0x17c4a9,_0x430708){const _0x1b7fe9=_0x19a859,_0x328e32=typeof window>'u'?new URL(_0x17c4a9):new URL(_0x17c4a9,window['location'][_0x1b7fe9(0x276)]);_0x328e32[_0x1b7fe9(0x31d)][_0x1b7fe9(0x17d)](_0x1b7fe9(0x170),_0x430708);const _0x1c6d7d=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x1b7fe9(0x128)][_0x1b7fe9(0x2c3)]);return _0x1c6d7d['get'](_0x1b7fe9(0x20c))&&_0x328e32['searchParams'][_0x1b7fe9(0x17d)](_0x1b7fe9(0x20c),_0x1c6d7d[_0x1b7fe9(0x223)]('runId')),_0x328e32[_0x1b7fe9(0x246)]();}async[_0x19a859(0x2ea)](){const _0x56fcc5=_0x19a859;var _0x2ec385,_0x35f6ca,_0x261588;const _0x2e0401=this['_configService'][_0x56fcc5(0x329)](_0x2c72d0[_0x56fcc5(0x310)]),_0x3fc08c=(_0x2ec385=_0x2e0401==null?void 0x0:_0x2e0401[_0x56fcc5(0x35d)])!=null?_0x2ec385:_0x2c72d0[_0x56fcc5(0x240)];return(_0x261588=(_0x35f6ca=(await this[_0x56fcc5(0x283)][_0x56fcc5(0x223)](_0x3fc08c,{'headers':{'Content-Type':_0x56fcc5(0x2e5)}}))[_0x56fcc5(0x369)])==null?void 0x0:_0x35f6ca[_0x56fcc5(0x160)])!=null?_0x261588:'';}},_0x4c3250[_0x19a859(0x18f)]=_0x5d1f84([_0x3f7ca0(0x0,_0x5bf9c6[_0x19a859(0x116)](_0x5bf9c6[_0x19a859(0x35e)])),_0x3f7ca0(0x1,_0x5bf9c6[_0x19a859(0x116)](_0x28d1f0[_0x19a859(0x2a8)])),_0x3f7ca0(0x2,_0x5bf9c6[_0x19a859(0x236)]),_0x3f7ca0(0x3,_0x5bf9c6[_0x19a859(0x1bb)]),_0x3f7ca0(0x4,_0x4e6003[_0x19a859(0x126)])],_0x4c3250[_0x19a859(0x18f)]);const _0x1a01ef=0x7530,_0x3b6a89=_0x19a859(0x132);class _0x34154d extends _0x5bf9c6[_0x19a859(0x2b3)]{constructor(){const _0x570c32=_0x19a859;super(),_0x521fa5(this,'_id',_0x5bf9c6[_0x570c32(0x1e0)]()),_0x521fa5(this,'_selfUnitIDs',new Set()),_0x521fa5(this,_0x570c32(0x286),new Map()),_0x521fa5(this,'_heartbeatTimer',null),_0x521fa5(this,'_clearOtherTimers',new Map()),_0x521fa5(this,_0x570c32(0x370),new Map()),this[_0x570c32(0x187)]();}[_0x19a859(0x27b)](){const _0x1a5805=_0x19a859;super[_0x1a5805(0x27b)](),this['_clearOtherTimers'][_0x1a5805(0x139)]((_0x54987c,_0x353955)=>this[_0x1a5805(0x39f)](_0x353955)),this[_0x1a5805(0x1be)]&&window[_0x1a5805(0x39c)](this['_heartbeatTimer']);}[_0x19a859(0x1ad)](_0x212c04){const _0x47f20f=_0x19a859;return this['_ensureSubject'](_0x212c04)[_0x47f20f(0x38f)](_0x496cb2[_0x47f20f(0x27d)]());}['editingUnit'](_0xd29f59){const _0x4339e2=_0x19a859;this[_0x4339e2(0x331)][_0x4339e2(0x390)]===0x0&&this[_0x4339e2(0x1ac)](),this[_0x4339e2(0x331)]['add'](_0xd29f59),this['_send']({'type':0x0,'memberID':this[_0x4339e2(0x3a1)],'unitIDs':[_0xd29f59],'isForwarded':!0x1});}[_0x19a859(0x36b)](_0x2302c9){const _0x4db6f8=_0x19a859;this['_selfUnitIDs'][_0x4db6f8(0x227)](_0x2302c9),this['_selfUnitIDs'][_0x4db6f8(0x390)]===0x0&&this[_0x4db6f8(0x1be)]&&window[_0x4db6f8(0x39c)](this[_0x4db6f8(0x1be)]);}[_0x19a859(0x187)](){const _0x19a3e3=_0x19a859;this[_0x19a3e3(0x305)](_0x5bf9c6['toDisposable'](_0x496cb2[_0x19a3e3(0x1e3)](window,_0x19a3e3(0x245))[_0x19a3e3(0x28a)](_0x51c660=>{const _0x1453a8=_0x19a3e3;if(_0x51c660[_0x1453a8(0x153)]!==_0x3b6a89||!_0x51c660[_0x1453a8(0x31a)])return;const _0x51221a=JSON[_0x1453a8(0x2ad)](_0x51c660[_0x1453a8(0x31a)]);this[_0x1453a8(0x221)](_0x51221a);}))),window[_0x19a3e3(0x36c)](_0x19a3e3(0x1c5),()=>this[_0x19a3e3(0x235)]({'type':0x1,'memberID':this[_0x19a3e3(0x3a1)],'unitIDs':Array['from'](this[_0x19a3e3(0x331)])}));}[_0x19a859(0x221)](_0x2c49e1){const _0x33822e=_0x19a859;switch(_0x2c49e1[_0x33822e(0x2a0)]){case 0x0:this[_0x33822e(0x17a)](_0x2c49e1);break;case 0x1:this[_0x33822e(0x325)](_0x2c49e1);break;case 0x2:this[_0x33822e(0x300)](_0x2c49e1);break;}}[_0x19a859(0x17a)](_0x40ce47){const _0x332ff4=_0x19a859,{unitIDs:_0x9f2945,memberID:_0x762de4,isForwarded:_0x16a1f1}=_0x40ce47;_0x9f2945[_0x332ff4(0x139)](_0x616234=>{const _0x1626f3=_0x332ff4;if(!_0x16a1f1&&this['_unitOnClients']['has'](_0x616234)&&this[_0x1626f3(0x268)](_0x616234)['next'](_0x2c72d0[_0x1626f3(0x14f)][_0x1626f3(0x320)]),!this[_0x1626f3(0x286)][_0x1626f3(0x2b8)](_0x616234)||!this[_0x1626f3(0x286)][_0x1626f3(0x223)](_0x616234)[_0x1626f3(0x2b8)](_0x762de4)){const _0x356ca5=this[_0x1626f3(0x286)][_0x1626f3(0x223)](_0x616234)||new Set();_0x356ca5['add'](_0x762de4),this['_unitOnClients'][_0x1626f3(0x17d)](_0x616234,_0x356ca5),this[_0x1626f3(0x387)](_0x762de4);}}),_0x16a1f1||this[_0x332ff4(0x235)]({'type':0x0,'memberID':this[_0x332ff4(0x3a1)],'unitIDs':[...this[_0x332ff4(0x331)]],'isForwarded':!0x0});}[_0x19a859(0x387)](_0x4d884c){const _0x4c33c=_0x19a859;this['_removeClearOtherTimer'](_0x4d884c);const _0x26ed1f=window[_0x4c33c(0x374)](()=>{const _0x153fc4=_0x4c33c;this[_0x153fc4(0x286)][_0x153fc4(0x139)](_0x353b8f=>{const _0x47e9c1=_0x153fc4;_0x353b8f[_0x47e9c1(0x227)](_0x4d884c);});},_0x1a01ef*0x2);this[_0x4c33c(0x24f)][_0x4c33c(0x17d)](_0x4d884c,_0x26ed1f);}['_removeClearOtherTimer'](_0xac5cfe){const _0x570fc1=_0x19a859;if(this[_0x570fc1(0x24f)][_0x570fc1(0x2b8)](_0xac5cfe)){const _0x5c120c=this[_0x570fc1(0x24f)][_0x570fc1(0x223)](_0xac5cfe);_0x5c120c&&window[_0x570fc1(0x2fb)](_0x5c120c),this[_0x570fc1(0x24f)][_0x570fc1(0x17d)](_0xac5cfe,null);}}[_0x19a859(0x325)](_0x126b5c){const _0x251dba=_0x19a859,{memberID:_0x7c419d,unitIDs:_0x251b83}=_0x126b5c;_0x251b83[_0x251dba(0x139)](_0x197357=>{const _0x41a874=_0x251dba;var _0x3ed355;const _0x537d93=this['_unitOnClients'][_0x41a874(0x223)](_0x197357);_0x537d93&&(_0x537d93[_0x41a874(0x227)](_0x7c419d),(_0x3ed355=this[_0x41a874(0x268)](_0x197357))==null||_0x3ed355['next'](_0x537d93[_0x41a874(0x390)]===0x0?_0x2c72d0[_0x41a874(0x14f)]['NO_OTHER_CLIENTS_EDITING']:_0x2c72d0[_0x41a874(0x14f)][_0x41a874(0x320)]));}),this[_0x251dba(0x39f)](_0x7c419d);}[_0x19a859(0x300)](_0xfdde90){const _0x16d9d4=_0x19a859;this[_0x16d9d4(0x387)](_0xfdde90[_0x16d9d4(0x21a)]);}[_0x19a859(0x235)](_0x3ea8da){const _0x317b27=_0x19a859;localStorage[_0x317b27(0x1ae)](_0x3b6a89,JSON['stringify'](_0x3ea8da));}[_0x19a859(0x1ac)](){const _0x58e42b=_0x19a859;this[_0x58e42b(0x1be)]=window['setInterval'](()=>{const _0x4b0b58=_0x58e42b;this[_0x4b0b58(0x235)]({'type':0x2,'memberID':this[_0x4b0b58(0x3a1)]});},_0x1a01ef);}[_0x19a859(0x268)](_0x5244ff){const _0x4c18b4=_0x19a859;return this[_0x4c18b4(0x370)]['has'](_0x5244ff)||this[_0x4c18b4(0x370)][_0x4c18b4(0x17d)](_0x5244ff,new _0x496cb2[(_0x4c18b4(0x3a5))](_0x2c72d0['UnitStatus'][_0x4c18b4(0x371)])),this[_0x4c18b4(0x370)][_0x4c18b4(0x223)](_0x5244ff);}}var _0x16942c=(_0x11e3a7=>(_0x11e3a7[_0x11e3a7['UNDEFINED']=0x0]=_0x19a859(0x16e),_0x11e3a7[_0x11e3a7['OK']=0x1]='OK',_0x11e3a7[_0x11e3a7[_0x19a859(0x25d)]=0x2]='INTERNAL_ERROR',_0x11e3a7[_0x11e3a7[_0x19a859(0x22b)]=0x3]=_0x19a859(0x22b),_0x11e3a7[_0x11e3a7[_0x19a859(0x352)]=0x4]='NOT_FOUND',_0x11e3a7[_0x11e3a7['UNAUTHENTICATED']=0x5]=_0x19a859(0x281),_0x11e3a7[_0x11e3a7['ALREADY_EXISTS']=0x6]=_0x19a859(0x135),_0x11e3a7[_0x11e3a7['INVALID_ARGUMENT']=0x7]='INVALID_ARGUMENT',_0x11e3a7[_0x11e3a7[_0x19a859(0x2a6)]=0x8]='TOO_MANY_REQUESTS',_0x11e3a7[_0x11e3a7[_0x19a859(0x1c3)]=0x9]='COMPLETION_FINISHED',_0x11e3a7[_0x11e3a7[_0x19a859(0x364)]=0xa]='LOGIN_FAILED',_0x11e3a7[_0x11e3a7[_0x19a859(0x10e)]=0x1389]=_0x19a859(0x10e),_0x11e3a7[_0x11e3a7[_0x19a859(0x356)]=0x1771]=_0x19a859(0x356),_0x11e3a7[_0x11e3a7[_0x19a859(0x159)]=0x1772]=_0x19a859(0x159),_0x11e3a7[_0x11e3a7['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x19a859(0x190),_0x11e3a7[_0x11e3a7[_0x19a859(0x1c8)]=0x1b59]=_0x19a859(0x1c8),_0x11e3a7[_0x11e3a7[_0x19a859(0x2b1)]=0x1b5a]=_0x19a859(0x2b1),_0x11e3a7[_0x11e3a7[_0x19a859(0x295)]=0x1b5b]=_0x19a859(0x295),_0x11e3a7[_0x11e3a7[_0x19a859(0x2c9)]=0x1b5c]=_0x19a859(0x2c9),_0x11e3a7[_0x11e3a7[_0x19a859(0x2a3)]=0x1b5d]=_0x19a859(0x2a3),_0x11e3a7[_0x11e3a7[_0x19a859(0x262)]=0x1f41]=_0x19a859(0x262),_0x11e3a7[_0x11e3a7[_0x19a859(0x2fd)]=0x2329]=_0x19a859(0x2fd),_0x11e3a7[_0x11e3a7['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x19a859(0x13d),_0x11e3a7[_0x11e3a7['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x11e3a7[_0x11e3a7['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x19a859(0x1c2),_0x11e3a7[_0x11e3a7[_0x19a859(0x282)]=0x232d]=_0x19a859(0x282),_0x11e3a7[_0x11e3a7[_0x19a859(0x252)]=0x2711]=_0x19a859(0x252),_0x11e3a7[_0x11e3a7[_0x19a859(0x284)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x11e3a7[_0x11e3a7['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x19a859(0x2e1),_0x11e3a7[_0x11e3a7[_0x19a859(0x173)]=0x2714]=_0x19a859(0x173),_0x11e3a7[_0x11e3a7[_0x19a859(0x215)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x11e3a7[_0x11e3a7[_0x19a859(0x32d)]=0x271b]=_0x19a859(0x32d),_0x11e3a7[_0x11e3a7[_0x19a859(0x332)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x11e3a7[_0x11e3a7['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x11e3a7[_0x11e3a7['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x11e3a7[_0x11e3a7[_0x19a859(0x209)]=0x2ee3]=_0x19a859(0x209),_0x11e3a7[_0x11e3a7[_0x19a859(0x142)]=0x2ee4]=_0x19a859(0x142),_0x11e3a7[_0x11e3a7[_0x19a859(0x1a6)]=0x2ee5]=_0x19a859(0x1a6),_0x11e3a7[_0x11e3a7[_0x19a859(0x34d)]=0x32c9]=_0x19a859(0x34d),_0x11e3a7[_0x11e3a7[_0x19a859(0x17b)]=0x32ca]=_0x19a859(0x17b),_0x11e3a7[_0x11e3a7[_0x19a859(0x1b0)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x11e3a7[_0x11e3a7[_0x19a859(0x2dc)]=-0x1]=_0x19a859(0x2dc),_0x11e3a7))(_0x16942c||{}),_0x49044d=Object[_0x19a859(0x385)],_0x23af9d=(_0x2e231f,_0x38c2fd,_0x48590f,_0x24380d)=>{const _0x18bc74=_0x19a859;for(var _0x204e82=_0x24380d>0x1?void 0x0:_0x24380d?_0x49044d(_0x38c2fd,_0x48590f):_0x38c2fd,_0x290771=_0x2e231f[_0x18bc74(0x344)]-0x1,_0x1ecaec;_0x290771>=0x0;_0x290771--)(_0x1ecaec=_0x2e231f[_0x290771])&&(_0x204e82=_0x1ecaec(_0x204e82)||_0x204e82);return _0x204e82;},_0x2ac5b0=(_0x44cc1d,_0x139546)=>(_0x586b09,_0xa2fb5d)=>_0x139546(_0x586b09,_0xa2fb5d,_0x44cc1d);_0x4c3250[_0x19a859(0x131)]=class extends _0x5bf9c6[_0x19a859(0x2b3)]{constructor(_0x290b01,_0x1f9fcb,_0x484865){const _0x4f654f=_0x19a859;super(),this[_0x4f654f(0x1c9)]=_0x290b01,this[_0x4f654f(0x283)]=_0x1f9fcb,this[_0x4f654f(0x150)]=_0x484865;}async['runOnServer'](_0x541fbf,_0x512535,_0x5f0a0e,..._0x1d99d8){const _0x5a4956=_0x19a859;var _0x328fa6,_0xb20131,_0x2c5775,_0x26ba26;const _0x49bc2c=this[_0x5a4956(0x1c9)][_0x5a4956(0x280)]();if(!_0x49bc2c)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x5d43c1=((_0x328fa6=this[_0x5a4956(0x150)]['getConfig'](_0x2c72d0[_0x5a4956(0x1cc)]))!=null?_0x328fa6:_0x2c72d0['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x541fbf+_0x5a4956(0x2d8)+_0x512535,_0x22d31f=new URL(window[_0x5a4956(0x128)]['href']),_0x1ed427={'scriptId':_0x541fbf,'runId':(_0xb20131=_0x22d31f['searchParams']['get'](_0x5a4956(0x20c)))!=null?_0xb20131:'','function':_0x512535,'unitId':_0x49bc2c[_0x5a4956(0x1b2)](),'argsOfFunction':JSON[_0x5a4956(0x21b)](_0x1d99d8),'invokeId':(_0x2c5775=_0x5f0a0e['invokeId'])!=null?_0x2c5775:'','executionId':(_0x26ba26=_0x5f0a0e['executionId'])!=null?_0x26ba26:''};try{const _0x216956=await this[_0x5a4956(0x283)][_0x5a4956(0x3a7)](_0x5d43c1,{'body':_0x1ed427});return _0x216956[_0x5a4956(0x369)][_0x5a4956(0x29c)]&&_0x216956[_0x5a4956(0x369)][_0x5a4956(0x29c)][_0x5a4956(0x1a4)]!==_0x16942c['OK']?'Failed':_0x216956[_0x5a4956(0x369)][_0x5a4956(0x203)];}catch{return'Failed';}}},_0x4c3250[_0x19a859(0x131)]=_0x23af9d([_0x2ac5b0(0x0,_0x5bf9c6[_0x19a859(0x2f7)]),_0x2ac5b0(0x1,_0x5bf9c6[_0x19a859(0x116)](_0x28d1f0[_0x19a859(0x2a8)])),_0x2ac5b0(0x2,_0x5bf9c6[_0x19a859(0x236)])],_0x4c3250[_0x19a859(0x131)]),_0x4c3250['CollaborationStatusDisplay']=_0x4957f6,_0x4c3250[_0x19a859(0x1bc)]=_0x1b2902,_0x4c3250['SheetCollabCursorShape']=_0x30557c,_0x4c3250[_0x19a859(0x31c)]=_0x34154d,_0x4c3250['WebURLService']=_0x2d34a4,Object[_0x19a859(0x301)](_0x4c3250,Symbol[_0x19a859(0x1ee)],{'value':'Module'});}));
1
+ function _0x1ca7(_0x3b1429,_0x5bb3e){const _0x216992=_0x2169();return _0x1ca7=function(_0x1ca75d,_0x3ede52){_0x1ca75d=_0x1ca75d-0x1b3;let _0x847374=_0x216992[_0x1ca75d];return _0x847374;},_0x1ca7(_0x3b1429,_0x5bb3e);}function _0x2169(){const _0x3af9e1=['_session','ILogService','_collaborationController','trim','UniverDesign','getUnitStatus$','uni.network.url-service','url(#on-line-single_clip0_910_349)','YUUMI_AI_RUN_FAILED','_logService','getCellPositionByOffset','_toggleOnline','status$','values','_config','_id','_onCursorUpdate','toDisposable','getMergeData','21036xzGxUK','removeParam','_localeService','combineLatest','_registerRenderDependencies','SheetSkeletonManagerService','url(#off-line-single_clip0_910_343)','selections','RemoveColCommandId','parse','ITransformService','_cachedData','_getSaveTimeout','memberID','LOGIN_FAILED','MessageType','_getAnchorBounding','delete','_docSkeleton','IMessageService','onLocalMutation','RegularPolygon','UniverSheetsUi','collaboration.closeRoom','DependentOn','ticket','throttleTime','collabStatus.notCollab','current','_docStateChangeManagerService','_univerInstanceService','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','onPointerEnter$','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','react/jsx-runtime','startColumn','saveTaskMap','_docTransformStateCacheService','sessionTicket','getCurrentRevOfUnit','_lastPointer','width','saveOfflineData','complete','transformSelections','red.300','OTHER_CLIENTS_EDITING','send','assignAColorForMemberID','defs','max','_transformUndoRedoStack','jsx','ACTIVE_UNIT_EVENT_CHANNEL','svg','_handleHeartbeatEvent','DesktopCollaborationStatusDisplayController','unitId','hasOwnProperty','YUUMI_ALL_TABLES_IS_INVALID','unit','PY_RUNTIME_SCRIPT_ERROR','InsertRowCommandId','_colorIndex','_initDependencies','onMouseMove','_beforeCloseService','ALREADY_EXISTS','currentSkeleton$','RemoveRowCommandId','column','override','cursorInfo','engine','TEXT_RANGE_LAYER_INDEX','_cursorInfo$','eventID','prototype','USER_NOT_INVITED_CODE','whenReady','UniverEngineRender','_initEntityListener','MOBILE_HAS_BEEN_BOUND','LICENSE_EXPORT_SIZE_EXCEEDED','_collabSessionService','_scene','SessionStatus','hide','urlChange$','CONFLICT','toString','_localCacheService','min','InsertRangeMoveRightCommandId','collabStatus.conflict','UniverUi','_backgroundColor','LOCAL_CACHE_INTERVAL_KEY','rxjs/operators','SetSelectionsOperation','body','_assignedColors','setConfig','backgroundColor','mutations','xlink:href','IRenderManagerService','from','onPointerLeave$','jiqing.500','_hover','M0\x200H16V16H0z','setItem','LICENSE_IMPORT_SIZE_EXCEEDED','APPLY_REVISION_CONFILICT','_createSocketURL','handleIRemoveCol','subscribe','resize','_configService','_drawRectRange','_dataLoaderService','getMember','[CollaborationDataLoaderController]','addEventListener','univer-text-green-500','row','IConfigService','history','_getMergeRange','getSheetId','PENDING','runId','1497221cnUhaT','url(#$1','@univerjs-pro/collaboration','toRgbString','_revisionService','registerRenderModule','AWAITING_WITH_PENDING','_saveCache','getViewport','doc.mutation.rich-text-editing','getStateCache','newValue','IBeforeCloseService','roomMembers$','_disabled','ThemeService','setShapeProps','DocStateChangeManagerService','sessionStatus$','event$','_httpService','getCollabCursors$','LICENSE_MAX_UNITS_EXCEEDED','OFFLINE','setInterval','registerBeforeClose','CollaborationController','_docClipboardService','has','BrowserCollaborationSocketService','generateRandomId','add','CollaborationUIEventService','focused$','20jbRqyE','univer-flex\x20univer-items-center','1em','HTTPService','_entities','UniverCore','564TnnlRB','getItem','SheetCollabCursorShape','path','SOCKET_FAILED','_sheetSkeletonManagerService','object','RemoteUniscriptService','random','executionId','EffectRefRangId','_scheduleHeartbeat','replaceState','setStateCache','params','getUndoRedoMutationParamsCache','VIEW_MAIN','type','sheetId','getCurrentUnitForType','_transformPreviousActiveRange','Tools','@univerjs/ui','RECT','getSheetBySheetId','size','mask','_transformHistoryAndStateStack','@univerjs/rpc','tag','_name','_drawTextRange','_scheduleClearOtherTimer','syncEditingCollabCursor','merge','setAlpha','_unitStatus','searchParams','_instanceService','_toggleOffline','disposeWithMe','enableLocalCache','getMemberID','NO_OTHER_CLIENTS_EDITING','clsx','endColumn','switchMap','blue.400','@univerjs/engine-render','makeDirty','connectInjector','useRef','_initResize','react','_context','m2Prime','findNodePositionByCharIndex','/run/','call','selection','off-line-single_clip0_910_343','then','getValue','APPLY_PERMISSION_DENIED','find','operators','_updateURLWithCurrentState','_getSheetObject','FromArray','_online','replace','_handleEvent','transformIMECache','roomMembers','className','round','unshift','popstate','_getSessionTicket','TOO_MANY_REQUESTS','YUUMI_TABLE_NOT_FOUND_IN_UNIT','72bcXgYR','_labelPosition','SetTextSelectionsOperation','includes','@univerjs/docs','fromEvent','children','_clearOtherTimers','div','isTransformMutationFailure','USERS_LEAVE','dispose$','getUniverSheetInstance','apply','_send','Shape','Optional','set','permission.content','COMPLETION_FINISHED','ColorKit','Warning','Injector','AWAITING','LocaleService','Workbook','search','74atwzVb','APPLY_DUPLICATED','href','distinctUntilChanged','MoveRangeCommandId','takeUntil','_unitOnClients','save','getAncestorScale','_cursors','#FFF','NOT_COLLAB','with','_refreshCollabCursors','indexOf','TRANSFORM_CHANGE_OBSERVABLE_TYPE','ENSURE_SNAPSHOT_EXECUTION','@univerjs/engine-formula','registerRefRange','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','arc','_docSkeletonManagerService','_initStatusComponent','handleInsertCol','@univerjs/core','DOC_RANGE_TYPE','LICENSE_DISTRO_REJECTED','@univerjs/design','@univerjs-pro/collaboration-client','_memberService','Disposable','IUIPartsService','getColorFromTheme','textRanges','BehaviorSubject','_docTransformSelectionsService','RxDisposable','exhaustSavingTask','_color','_initEvent','on-line-single_clip0_910_349','clipPath','_updateCollabCursors','forEach','_transformService','Plugin','asObservable','isTransformMutationsWithChangesetSuccess','_collabCursorController','getOwnPropertySymbols','_anchor','touchDependencies','wsSessionTicketUrl','_initCommandExecutedListener','purple.300','_cursorShapes','createElement','invokeId','location','sheetID','InsertColCommandId','_updateSubUnitFromURLParams','addObjects','fillStyle','string','docStateChange$','collab-text-anchor-','UniverCollaborationClientPlugin','map','_ensureSubject','UniverDocs','fillText','DeleteRangeMoveUpCommandId','#fff','0\x200\x2016\x2016','endRow','on-line-single','OffLineSingle','_imageIoService','NodePositionConvertToCursor','_drawAnchor','_commandService','propertyIsEnumerable','subunit','_roomMembers$','color','NodePositionConvertToRectRange','use','handleIRemoveRow','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','238238DPznIO','_colorAssignService','addHandlerCallback','deepClone','_collabCursorState$','OnLineSingle','Rect','UniverIcon','isEditing','fill','collabStatus.syncing','moveTo','_render','triggerDblclick','runOnServer','get','addClipboardHook','IUniverInstanceService','attrs','rxjs','_onCursorDelete','_docTransformIMECacheService','_init','collabStatus.fetchMiss','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','ISocketService','_scheduleSaving','subscribeEvent','_hideTimer','@univerjs/docs-ui','setUndoRedoMutationParamsCache','getCurrent','_refRangeService','YUUMI_URL_COL_OUT_OF_RANGE','DocCollaborationEntity','translate(.97)','CollaborationStatus','_selfUnitIDs','getConfig','_startDocCollabCursor','CollaborationSocketService','show','collabCursorState$','SNAPSHOT_HAS_BEEN_REMOVED','@univerjs/sheets-ui','SetDocZoomRatioOperation','_doCreateSocket','startRow','useDependency','UNRECOGNIZED','executeCommand','DEFAULT_WS_SESSION_TICKET_URL','function','ILocalStorageService','icon','jsxs','application/json','unload','stringify','getCoordByCell','DeleteRangeMoveLeftCommandId','@univerjs/sheets','_handleHover','UNDEFINED','BuiltInUIPart','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','845xnOmtJ','debug','getTypeOfUnitAdded$','_registerDependencies','beginPath','debounce','UNIVER_SHEET','getDocRanges','defineProperty','_handleLeaveEvent','_range','INVALID_INVITE_CODE','_textBubble','text','handleDeleteRangeMoveUp','filter','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','startsWith','_initStatusListener','DocIMEInputManagerService','loadUnit','SheetsSelectionsService','INVITE_CODE_REQUIRED','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600','HEADER_MENU','_themeService','getActiveRange','_heartbeatTimer','extend','onStarting','createInstance','_shapes','getSkeleton','IDocClipboardService','addObject','_getScale','collab-text-range-','Tooltip','next','_setupBeforeClosingHandler','_localStorageService','univer-text-red-500','MUTATION','_anchorDot','idSuffix','UniverRpc','activeSheet$','UniverInstanceType','_removeClearOtherTimer','UniverProCollaborationClientUi','YUUMI_ASYNCIO_CANCELLED','_handleJoinEvent','getUnitId','handleDeleteRangeMoveLeft','React','data','source','debounceTime','CommandType','black','isArray','0\x200\x2017\x2016','push','CollaborationUIEventId','WECHAT_HAS_BEEN_BOUND','YUUMI_UNABLE_LOAD_URL','UniverDrawing','result','origin','getTypeOfUnitDisposed$','UNAUTHENTICATED','DisposableCollection','Vector2','error','185088XCZXwf','getCurrentSelections','COLORS','updateOfflineData','editingUnit','some','subUnitId','createIdentifier','SUBMIT_CHANGESET_TIMEOUT','UNIVER_DOC','univerjs-icon\x20univerjs-icon-','UniverNetwork','getActiveSheet','handleInsertRangeMoveDown','actions','none','UniverCollaborationClientUIPlugin','entries','entityInit$','unitID','RevisionService','IURLService','forwardRef','MemberService','Inject','pluginName','EMAIL_HAS_BEEN_BOUND','INVITE_CODE_HAS_BEEN_UES','concat','setActiveRange','18410zRYnvP','height','collabStatus.offline','IImageIoService','_eventUnsubscribe','hovered','...','TEXT','_draw','getVpScrollXYInfoByPosToVp','_saveTaskMap','dispose','clearTimeout','m1Prime','collaboration-client-ui.config','getSheetObject','ranges','_hovered','SNAPSHOT_INVALID_SNAPSHOT','init','_docSyncEditingCollabCursorService','getRangePointData','session.collaboration-timeout','4156JOcaFk','requireSession','CollaborationEvent','SOCKET_FAILED_RETRY','lineTo','UnitStatus','useCallback','getOwnPropertyDescriptor','Failed','_updateLocalCursor','Unknown\x20user','IRemoteInstanceService','registerComponent','onTransformChange$','_uiPartsService','name','registerDependencies','_removeCollabCursors','transform','Rectangle','getParam','CONNECTOR_DATA_TOO_LARGE','WebURLService','SetWorksheetActivateCommand','getOffsetConfig','toStringTag','green.600','@univerjs/network','ICommandService','ILocalCacheService','UPDATE_CURSOR','split','_injector','permission.title','length','univer-flex\x20univer-mr-2\x20univer-text-xl','restore','mergeOverrideWithDependencies','transformMutationsWithChangeset','_messageService','transformStateCache','unsubscribe','_entityInit$','YUUMI_RATE_OVER_LIMIT','WebBrowserSingleActiveUnitService','currentTheme$','UniverDocsUi','INVALID_ARGUMENT','NOT_FOUND','180srLUFw','session.will-retry','pipe','createSocket','setParam','_status$','transformRemoteChangeset','drawWith','8508VDuIIW','transformMutation','getRenderById','Subject','measureText','CollaborationDataLoaderController','collabStatus.synced','pushState','_cursor','ISnapshotServerService','assign','undoState','getFocusedUnit','key','PERMISSION_DENIED','displayName','bottom','collaboration.single-unit.warning','post','_urlService','_renderManagerService','APPLY_REJECT','onCommandExecuted','_document','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','defIds','getColor','colorChannel1','onPointerMove$'];_0x2169=function(){return _0x3af9e1;};return _0x2169();}(function(_0xd5f0d2,_0x5ad658){const _0x542c90=_0x1ca7,_0x4b2d88=_0xd5f0d2();while(!![]){try{const _0x184616=parseInt(_0x542c90(0x26d))/0x1*(-parseInt(_0x542c90(0x3b6))/0x2)+parseInt(_0x542c90(0x29d))/0x3+-parseInt(_0x542c90(0x234))/0x4*(parseInt(_0x542c90(0x1b5))/0x5)+parseInt(_0x542c90(0x265))/0x6*(-parseInt(_0x542c90(0x21d))/0x7)+parseInt(_0x542c90(0x1ff))/0x8*(parseInt(_0x542c90(0x39b))/0x9)+-parseInt(_0x542c90(0x344))/0xa*(parseInt(_0x542c90(0x322))/0xb)+parseInt(_0x542c90(0x34a))/0xc*(parseInt(_0x542c90(0x410))/0xd);if(_0x184616===_0x5ad658)break;else _0x4b2d88['push'](_0x4b2d88['shift']());}catch(_0x505dd3){_0x4b2d88['push'](_0x4b2d88['shift']());}}}(_0x2169,0x33bc9),function(_0xc01286,_0x1803a8){const _0x48a15c=_0x1ca7;typeof exports==_0x48a15c(0x350)&&typeof module<'u'?_0x1803a8(exports,require(_0x48a15c(0x3d2)),require(_0x48a15c(0x3ce)),require(_0x48a15c(0x37a)),require(_0x48a15c(0x24f)),require(_0x48a15c(0x42d)),require('@univerjs/drawing'),require(_0x48a15c(0x423)),require(_0x48a15c(0x39f)),require(_0x48a15c(0x324)),require(_0x48a15c(0x3c7)),require(_0x48a15c(0x44d)),require('rxjs/operators'),require('@univerjs/sheets-ui'),require(_0x48a15c(0x2bf)),require(_0x48a15c(0x360)),require(_0x48a15c(0x3d1)),require(_0x48a15c(0x37f)),require(_0x48a15c(0x366))):typeof define==_0x48a15c(0x444)&&define['amd']?define(['exports','@univerjs-pro/collaboration-client','@univerjs/core',_0x48a15c(0x37a),_0x48a15c(0x24f),_0x48a15c(0x42d),'@univerjs/drawing',_0x48a15c(0x423),_0x48a15c(0x39f),'@univerjs-pro/collaboration',_0x48a15c(0x3c7),_0x48a15c(0x44d),_0x48a15c(0x2ff),_0x48a15c(0x43c),_0x48a15c(0x2bf),_0x48a15c(0x360),_0x48a15c(0x3d1),_0x48a15c(0x37f),_0x48a15c(0x366)],_0x1803a8):(_0xc01286=typeof globalThis<'u'?globalThis:_0xc01286||self,_0x1803a8(_0xc01286[_0x48a15c(0x1e6)]={},_0xc01286['UniverProCollaborationClient'],_0xc01286[_0x48a15c(0x349)],_0xc01286[_0x48a15c(0x2ed)],_0xc01286[_0x48a15c(0x20a)],_0xc01286[_0x48a15c(0x262)],_0xc01286[_0x48a15c(0x1f7)],_0xc01286[_0x48a15c(0x423)],_0xc01286[_0x48a15c(0x3fc)],_0xc01286['UniverProCollaboration'],_0xc01286['UniverEngineFormula'],_0xc01286['UniverSheets'],_0xc01286['rxjs'][_0x48a15c(0x38b)],_0xc01286[_0x48a15c(0x2b3)],_0xc01286['React'],_0xc01286[_0x48a15c(0x2fc)],_0xc01286[_0x48a15c(0x28e)],_0xc01286[_0x48a15c(0x1eb)],_0xc01286[_0x48a15c(0x1e2)]));}(this,function(_0x116d4d,_0x1aad47,_0x383603,_0x45ed6b,_0x6644c2,_0x3770d3,_0x5c4da3,_0x4d1a54,_0x2025ef,_0x10deac,_0x1e78a1,_0x29f5a3,_0x1ba25a,_0x8f5ed3,_0x3b452b,_0x56e642,_0x161d18,_0x1ea0ca,_0x6d915e){'use strict';const _0x135356=_0x1ca7;var _0x2b9b41=Object[_0x135356(0x1bd)],_0x1c973c=(_0x2e84a2,_0x4a4279,_0x25b952)=>_0x4a4279 in _0x2e84a2?_0x2b9b41(_0x2e84a2,_0x4a4279,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x25b952}):_0x2e84a2[_0x4a4279]=_0x25b952,_0x45f451=(_0x560f1d,_0x2511f7,_0x4dc394)=>_0x1c973c(_0x560f1d,typeof _0x2511f7!='symbol'?_0x2511f7+'':_0x2511f7,_0x4dc394),_0x7096f3=Object[_0x135356(0x23b)],_0x408a9c=(_0x4294c6,_0x396b9b,_0x2f269e,_0x4e9b57)=>{for(var _0x3d008=_0x4e9b57>0x1?void 0x0:_0x4e9b57?_0x7096f3(_0x396b9b,_0x2f269e):_0x396b9b,_0x408905=_0x4294c6['length']-0x1,_0x4fd34b;_0x408905>=0x0;_0x408905--)(_0x4fd34b=_0x4294c6[_0x408905])&&(_0x3d008=_0x4fd34b(_0x3d008)||_0x3d008);return _0x3d008;},_0x48b2b9=(_0x5b0f8e,_0x51fe2a)=>(_0x79b47f,_0x796e17)=>_0x51fe2a(_0x79b47f,_0x796e17,_0x5b0f8e);let _0x597a68=class extends _0x383603[_0x135356(0x3da)]{constructor(_0x10bb90,_0x243fab){const _0x54364a=_0x135356;super(),this[_0x54364a(0x33d)]=_0x10bb90,this[_0x54364a(0x404)]=_0x243fab,this[_0x54364a(0x426)]();}[_0x135356(0x426)](){const _0x2b57a1=_0x135356,_0xa30fa8=this;this[_0x2b57a1(0x372)](this[_0x2b57a1(0x33d)][_0x2b57a1(0x420)]({'onBeforePasteImage':async _0x9218a3=>{const _0x31ceb5=_0x2b57a1,_0x45abf7=await _0xa30fa8[_0x31ceb5(0x404)]['saveImage'](_0x9218a3);return _0x45abf7?{'source':_0x45abf7[_0x31ceb5(0x1ed)],'imageSourceType':_0x45abf7['imageSourceType']}:null;}}));}};_0x597a68=_0x408a9c([_0x48b2b9(0x0,_0x3770d3[_0x135356(0x1d6)]),_0x48b2b9(0x1,_0x5c4da3[_0x135356(0x220)])],_0x597a68);const _0x44e940=[_0x135356(0x3ec),_0x135356(0x30a),_0x135356(0x24e),_0x135356(0x2ca),_0x135356(0x379),'yellow.400'];class _0x4fe781 extends _0x383603[_0x135356(0x3d4)]{constructor(){const _0x3c4127=_0x135356;super(...arguments),_0x45f451(this,_0x3c4127(0x302),new Map()),_0x45f451(this,_0x3c4127(0x2dc),0x0);}['assignAColorForMemberID'](_0x1ac536){const _0x1ce994=_0x135356;if(this['_assignedColors'][_0x1ce994(0x33e)](_0x1ac536))return this[_0x1ce994(0x302)]['get'](_0x1ac536);const _0x46527b=_0x44e940[this[_0x1ce994(0x2dc)]];return this[_0x1ce994(0x2dc)]=(this[_0x1ce994(0x2dc)]+0x1)%_0x44e940[_0x1ce994(0x256)],this[_0x1ce994(0x302)][_0x1ce994(0x3ac)](_0x1ac536,_0x46527b),_0x46527b;}}function _0x4ea25b(_0x3ab908){const _0x34d724=_0x135356;let _0x1592f4='';for(const _0x4fac77 of _0x3ab908){const {startOffset:_0x3d3d2c,endOffset:_0x3e028f,isActive:_0x5be1ce,rangeType:_0x24daef,segmentId:_0x385c51,segmentPage:_0x410b6f}=_0x4fac77;_0x1592f4[_0x34d724(0x256)]&&(_0x1592f4+=','),_0x1592f4+=_0x3d3d2c+':'+_0x3e028f+':'+(_0x5be1ce?'1':'0')+':'+_0x24daef+':'+_0x385c51+':'+_0x410b6f;}return _0x1592f4;}function _0xe6df7(_0x376a17){const _0x30171e=_0x135356,_0x2272d4=_0x376a17[_0x30171e(0x253)](','),_0x1cb849=[];for(const _0x4c0db8 of _0x2272d4){const [_0x2b1af1,_0x1b835c,_0x2e1bcf,_0x3af875,_0x534e71,_0x156c14]=_0x4c0db8['split'](':');_0x1cb849['push']({'startOffset':Number(_0x2b1af1),'endOffset':Number(_0x1b835c),'collapsed':_0x2b1af1===_0x1b835c,'isActive':_0x2e1bcf==='1','rangeType':_0x3af875===_0x383603[_0x30171e(0x3cf)][_0x30171e(0x224)]?_0x383603[_0x30171e(0x3cf)]['TEXT']:_0x383603['DOC_RANGE_TYPE'][_0x30171e(0x361)],'segmentId':typeof _0x534e71==_0x30171e(0x3f6)?String(_0x534e71):'','segmentPage':Number(_0x156c14!=null?_0x156c14:-0x1)});}return _0x1cb849[_0x30171e(0x204)](_0x15a788=>_0x15a788['isActive'])||(_0x1cb849[0x0]['isActive']=!0x0),_0x1cb849;}class _0x3d617a extends _0x383603[_0x135356(0x3da)]{constructor(){const _0x4b0f32=_0x135356;super(...arguments),_0x45f451(this,_0x4b0f32(0x414),new _0x4d1a54[(_0x4b0f32(0x3d8))](null)),_0x45f451(this,_0x4b0f32(0x43a),this['_collabCursorState$'][_0x4b0f32(0x3e4)]());}[_0x135356(0x36b)](_0x5009a4){const _0x2719ac=_0x135356,{unitID:_0x260249,memberID:_0x3bd3db,textRanges:_0x49f267}=_0x5009a4,_0x51de3b=_0x4ea25b(_0x49f267);if(_0x51de3b==='')return;const _0x579f31={'unitID':_0x260249,'memberID':_0x3bd3db,'selection':_0x51de3b};this[_0x2719ac(0x414)]['next'](_0x579f31);}}var _0x460b12=Object[_0x135356(0x23b)],_0x107e16=(_0x5a7e21,_0x573d54,_0x16f07e,_0x4c1194)=>{const _0x37aa9f=_0x135356;for(var _0x52bb48=_0x4c1194>0x1?void 0x0:_0x4c1194?_0x460b12(_0x573d54,_0x16f07e):_0x573d54,_0x38b1f4=_0x5a7e21[_0x37aa9f(0x256)]-0x1,_0x8eda07;_0x38b1f4>=0x0;_0x38b1f4--)(_0x8eda07=_0x5a7e21[_0x38b1f4])&&(_0x52bb48=_0x8eda07(_0x52bb48)||_0x52bb48);return _0x52bb48;},_0x74db8e=(_0x45174e,_0x396e2a)=>(_0x5a1e0e,_0x55eb68)=>_0x396e2a(_0x5a1e0e,_0x55eb68,_0x45174e);const _0x4e2211=0x12c,_0xf9c39d=0x64;let _0x299d4f=class extends _0x383603[_0x135356(0x3da)]{constructor(_0x4edc20,_0x4f6904,_0x8ae86b,_0x3e1531,_0x931429,_0x2e3d4d,_0x245f51,_0x4b46c3,_0xc14861){const _0xa163c5=_0x135356;super(),_0x45f451(this,_0xa163c5(0x38f),!0x1),_0x45f451(this,_0xa163c5(0x426),!0x1),_0x45f451(this,'_cursorInfo$',new _0x4d1a54[(_0xa163c5(0x3d8))](new Map())),_0x45f451(this,'cursorInfo$',this[_0xa163c5(0x2e8)][_0xa163c5(0x3e4)]()),_0x45f451(this,_0xa163c5(0x40a),new _0x4d1a54[(_0xa163c5(0x3d8))]([])),_0x45f451(this,_0xa163c5(0x32f),this[_0xa163c5(0x40a)][_0xa163c5(0x267)](_0x4d1a54[_0xa163c5(0x1ee)](_0x4e2211))),_0x45f451(this,_0xa163c5(0x23d),_0x383603[_0xa163c5(0x1ba)](_0xd53780=>{const _0x3201bf=_0xa163c5,_0x5a4d8d={'eventID':_0x10deac[_0x3201bf(0x236)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x3201bf(0x212)],'memberID':this[_0x3201bf(0x28a)][_0x3201bf(0x374)](),'selection':_0x4ea25b(_0xd53780)}};this[_0x3201bf(0x28a)][_0x3201bf(0x2cc)](_0x5a4d8d,this[_0x3201bf(0x212)]);},_0xf9c39d)),(this[_0xa163c5(0x212)]=_0x4edc20,this[_0xa163c5(0x28a)]=_0x4f6904,this[_0xa163c5(0x254)]=_0x8ae86b,this['_colorAssignService']=_0x3e1531,this[_0xa163c5(0x3d3)]=_0x931429,this['_syncEditingCollabCursorService']=_0x2e3d4d,this['_transformService']=_0x245f51,this['_univerInstanceService']=_0x4b46c3,this[_0xa163c5(0x407)]=_0xc14861);}get[_0x135356(0x2e5)](){const _0x249556=_0x135356;return this[_0x249556(0x2e8)][_0x249556(0x388)]();}get[_0x135356(0x393)](){const _0x264790=_0x135356;return this[_0x264790(0x40a)][_0x264790(0x388)]();}[_0x135356(0x228)](){const _0xc33ffe=_0x135356;super[_0xc33ffe(0x228)](),this[_0xc33ffe(0x2e8)]['next'](new Map()),this[_0xc33ffe(0x2e8)][_0xc33ffe(0x2c8)](),this[_0xc33ffe(0x40a)][_0xc33ffe(0x1db)]([]),this['_roomMembers$'][_0xc33ffe(0x2c8)]();}[_0x135356(0x230)](){const _0x4fd383=_0x135356;this[_0x4fd383(0x426)]||(this['_init']=!0x0,this[_0x4fd383(0x28a)][_0x4fd383(0x334)]['pipe'](_0x4d1a54[_0x4fd383(0x3bb)](this[_0x4fd383(0x3a6)]))['subscribe'](_0xa04ec2=>{_0xa04ec2===_0x1aad47['SessionStatus']['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x4fd383(0x28a)][_0x4fd383(0x335)][_0x4fd383(0x267)](_0x4d1a54[_0x4fd383(0x3bb)](this[_0x4fd383(0x3a6)]))[_0x4fd383(0x312)](_0x1ed1f3=>{const _0xa8c27a=_0x4fd383,_0x421133=_0x1ed1f3[_0xa8c27a(0x2e9)];_0x421133===_0x10deac[_0xa8c27a(0x236)][_0xa8c27a(0x252)]&&this[_0xa8c27a(0x29a)](_0x1ed1f3),_0x421133===_0x10deac[_0xa8c27a(0x236)][_0xa8c27a(0x3a5)]&&this[_0xa8c27a(0x424)](_0x1ed1f3);}),this[_0x4fd383(0x372)](this['_commandService'][_0x4fd383(0x283)](_0x10f124=>{const _0x29fecb=_0x4fd383,_0x5d1c00=_0x10f124[_0x29fecb(0x358)];_0x5d1c00!=null&&this[_0x29fecb(0x38f)]&&_0x10f124['id']===_0x2025ef[_0x29fecb(0x39d)]['id']&&_0x5d1c00['unitId']===this[_0x29fecb(0x212)]&&_0x5d1c00[_0x29fecb(0x418)]===!0x1&&_0x5d1c00[_0x29fecb(0x22d)][_0x29fecb(0x256)]>0x0&&this[_0x29fecb(0x23d)](_0x5d1c00[_0x29fecb(0x22d)]);})),this['_syncEditingCollabCursorService'][_0x4fd383(0x43a)][_0x4fd383(0x267)](_0x4d1a54[_0x4fd383(0x3bb)](this[_0x4fd383(0x3a6)]))['subscribe'](_0x5fb024=>{const _0x54d2c0=_0x4fd383;if((_0x5fb024==null?void 0x0:_0x5fb024[_0x54d2c0(0x212)])!==this[_0x54d2c0(0x212)])return;const _0x471955={'eventID':_0x10deac['CollaborationEvent'][_0x54d2c0(0x252)],'data':_0x5fb024};this['_onCursorUpdate'](_0x471955);}),this[_0x4fd383(0x372)](this[_0x4fd383(0x407)][_0x4fd383(0x283)](_0x447b92=>{const _0xafe5ee=_0x4fd383;if(_0x447b92[_0xafe5ee(0x358)]==null)return;const _0x49bf16=_0x447b92[_0xafe5ee(0x358)];if(_0x447b92['id']!==_0x2025ef['RichTextEditingMutation']['id']||_0x49bf16['unitId']!==this[_0xafe5ee(0x212)])return;const _0x13ee70={'id':'doc.mutation.rich-text-editing','params':_0x49bf16},_0x59b121=this['cursorInfo'];for(const [_0x47c261,_0x375302]of _0x59b121){const _0x11f8d4={'id':_0xafe5ee(0x32b),'params':{'unitId':this[_0xafe5ee(0x212)],'actions':null,'textRanges':_0x375302['ranges']}},_0x250d86=this['_transformService']['transformMutation'](_0x13ee70,_0x11f8d4,!0x1);if(_0x10deac[_0xafe5ee(0x3a4)](_0x250d86))throw _0x250d86[_0xafe5ee(0x1fe)];_0x59b121[_0xafe5ee(0x3ac)](_0x47c261,{..._0x375302,'ranges':_0x250d86[_0xafe5ee(0x381)]['params']['textRanges']});}queueMicrotask(()=>{const _0x3b93b1=_0xafe5ee;this[_0x3b93b1(0x2e8)][_0x3b93b1(0x1db)](_0x59b121);});})));}[_0x135356(0x29a)](_0x576dee){const _0x305431=_0x135356;var _0x4baafc,_0x331c58;const {memberID:_0x121d8c,selection:_0x3d2a52}=_0x576dee[_0x305431(0x1ec)],_0x5983cd=_0xe6df7(_0x3d2a52),_0x2ee88e=(_0x331c58=(_0x4baafc=this[_0x305431(0x3d3)]['getMember'](this[_0x305431(0x212)],_0x121d8c))==null?void 0x0:_0x4baafc['name'])!=null?_0x331c58:_0x305431(0x23e),_0x403401={'color':this[_0x305431(0x411)][_0x305431(0x2cd)](_0x121d8c),'name':_0x2ee88e,'ranges':_0x5983cd},_0x1e247e=this[_0x305431(0x2e5)];_0x1e247e['set'](_0x121d8c,_0x403401),this[_0x305431(0x2e8)][_0x305431(0x1db)](_0x1e247e);}[_0x135356(0x424)](_0x31828e){const _0x3d0dc7=_0x135356,{memberID:_0x41b6fd}=_0x31828e[_0x3d0dc7(0x1ec)],_0x539fb8=this[_0x3d0dc7(0x2e5)];_0x539fb8['delete'](_0x41b6fd),this[_0x3d0dc7(0x2e8)][_0x3d0dc7(0x1db)](_0x539fb8);}[_0x135356(0x295)](){const _0x40a5a0=_0x135356;var _0x308d2c;if(this[_0x40a5a0(0x38f)]=!0x0,((_0x308d2c=this[_0x40a5a0(0x2bb)][_0x40a5a0(0x279)]())==null?void 0x0:_0x308d2c['getUnitId']())!==this[_0x40a5a0(0x212)])return;const _0x16abea=this[_0x40a5a0(0x254)][_0x40a5a0(0x41f)](_0x2025ef['DocSelectionManagerService'])[_0x40a5a0(0x1bc)]();Array[_0x40a5a0(0x1f1)](_0x16abea)&&_0x16abea[_0x40a5a0(0x256)]>0x0&&this['_updateLocalCursor'](_0x16abea);}[_0x135356(0x371)](){const _0x3871c8=_0x135356;this[_0x3871c8(0x38f)]=!0x1;}};_0x299d4f=_0x107e16([_0x74db8e(0x2,_0x383603[_0x135356(0x217)](_0x383603[_0x135356(0x3b1)])),_0x74db8e(0x3,_0x383603[_0x135356(0x217)](_0x4fe781)),_0x74db8e(0x4,_0x383603[_0x135356(0x217)](_0x1aad47[_0x135356(0x216)])),_0x74db8e(0x5,_0x383603[_0x135356(0x217)](_0x3d617a)),_0x74db8e(0x6,_0x10deac[_0x135356(0x2a7)]),_0x74db8e(0x7,_0x383603['IUniverInstanceService']),_0x74db8e(0x8,_0x383603[_0x135356(0x250)])],_0x299d4f);var _0x507284=Object[_0x135356(0x23b)],_0x5f5615=(_0x244fc4,_0x5cbf73,_0x508c21,_0x2d7a04)=>{for(var _0x2f338c=_0x2d7a04>0x1?void 0x0:_0x2d7a04?_0x507284(_0x5cbf73,_0x508c21):_0x5cbf73,_0x20253e=_0x244fc4['length']-0x1,_0x34bf58;_0x20253e>=0x0;_0x20253e--)(_0x34bf58=_0x244fc4[_0x20253e])&&(_0x2f338c=_0x34bf58(_0x2f338c)||_0x2f338c);return _0x2f338c;},_0x44f28e=(_0x3ad8ce,_0xf55d7b)=>(_0x598a75,_0x489d34)=>_0xf55d7b(_0x598a75,_0x489d34,_0x3ad8ce);const _0x3cf351=0x12c,_0x5d3a62=0x64,_0x213550=()=>{let _0x2deb1d=[],_0xe981f6=!0x1;return _0x5184de=>{const _0x337d02=_0x1ca7;_0x2deb1d[_0x337d02(0x1f3)](_0x5184de),_0xe981f6||(_0xe981f6=!0x0,setTimeout(()=>{_0x2deb1d['forEach'](_0x209c2a=>_0x209c2a()),_0x2deb1d=[],_0xe981f6=!0x1;}));};};let _0x6ddf84=class extends _0x383603[_0x135356(0x3da)]{constructor(_0x247387,_0x510a40,_0x55e8fc,_0x13a873,_0x597271,_0x2fc893,_0x408880,_0x36914e){const _0x1ad586=_0x135356;super(),_0x45f451(this,'_online',!0x1),_0x45f451(this,_0x1ad586(0x426),!0x1),_0x45f451(this,_0x1ad586(0x2e8),new _0x4d1a54[(_0x1ad586(0x3d8))](new Map())),_0x45f451(this,'cursorInfo$',this[_0x1ad586(0x2e8)]['asObservable']()),_0x45f451(this,_0x1ad586(0x40a),new _0x4d1a54[(_0x1ad586(0x3d8))]([])),_0x45f451(this,_0x1ad586(0x32f),this['_roomMembers$'][_0x1ad586(0x267)](_0x4d1a54[_0x1ad586(0x1ee)](_0x3cf351))),_0x45f451(this,_0x1ad586(0x23d),_0x383603[_0x1ad586(0x1ba)]((_0x1e34ec,_0x2605af)=>{const _0x263683=_0x1ad586,_0x4c0ce0={'eventID':_0x10deac[_0x263683(0x236)][_0x263683(0x252)],'data':{'unitID':this['unitID'],'memberID':this[_0x263683(0x28a)]['getMemberID'](),'selection':_0x1e78a1['serializeRangeWithSheet'](_0x1e34ec,_0x2605af['range'])}};this[_0x263683(0x28a)][_0x263683(0x2cc)](_0x4c0ce0,this['unitID']);},_0x5d3a62)),(this['unitID']=_0x247387,this['_session']=_0x510a40,this[_0x1ad586(0x254)]=_0x55e8fc,this[_0x1ad586(0x411)]=_0x13a873,this[_0x1ad586(0x3d3)]=_0x597271,this['_univerInstanceService']=_0x2fc893,this[_0x1ad586(0x407)]=_0x408880,this['_refRangeService']=_0x36914e);}get[_0x135356(0x2e5)](){const _0x503441=_0x135356;return this['_cursorInfo$'][_0x503441(0x388)]();}get[_0x135356(0x393)](){const _0x1c85e5=_0x135356;return this[_0x1c85e5(0x40a)][_0x1c85e5(0x388)]();}['dispose'](){const _0x289d50=_0x135356;super['dispose'](),this[_0x289d50(0x2e8)][_0x289d50(0x1db)](new Map()),this[_0x289d50(0x2e8)]['complete'](),this[_0x289d50(0x40a)][_0x289d50(0x1db)]([]),this[_0x289d50(0x40a)]['complete']();}[_0x135356(0x230)](){const _0x47049b=_0x135356;this[_0x47049b(0x426)]||(this[_0x47049b(0x426)]=!0x0,this[_0x47049b(0x28a)][_0x47049b(0x334)][_0x47049b(0x267)](_0x4d1a54[_0x47049b(0x3bb)](this[_0x47049b(0x3a6)]))['subscribe'](_0x44e79d=>{const _0x5e69ba=_0x47049b;_0x44e79d===_0x1aad47[_0x5e69ba(0x2f3)]['ONLINE']?this[_0x5e69ba(0x295)]():this[_0x5e69ba(0x371)]();}),this['_session'][_0x47049b(0x335)][_0x47049b(0x267)](_0x4d1a54['takeUntil'](this['dispose$']))[_0x47049b(0x312)](_0xf4ba4c=>{const _0x2b4f5a=_0x47049b,_0x5518f5=_0xf4ba4c['eventID'];_0x5518f5===_0x10deac[_0x2b4f5a(0x236)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0xf4ba4c),_0x5518f5===_0x10deac['CollaborationEvent'][_0x2b4f5a(0x3a5)]&&this['_onCursorDelete'](_0xf4ba4c);}),this['_onRefRangeChange'](),this[_0x47049b(0x372)](this[_0x47049b(0x407)]['onCommandExecuted'](_0x1e9965=>{const _0x33ce01=_0x47049b;if(this['_online']&&_0x1e9965['id']===_0x29f5a3[_0x33ce01(0x300)]['id']&&_0x1e9965['params'][_0x33ce01(0x2d6)]===this['unitID']){const _0x325bbd=_0x1e9965[_0x33ce01(0x358)];this['_updateLocalCursor'](_0x325bbd[_0x33ce01(0x205)],_0x325bbd[_0x33ce01(0x2a4)][0x0]);}})));}[_0x135356(0x29a)](_0x3990c0){const _0x3a9eef=_0x135356;var _0x57ece8,_0x31c349;const {memberID:_0xf6d053,selection:_0x5a70ee}=_0x3990c0[_0x3a9eef(0x1ec)],{sheetName:_0x3c9a42,range:_0x397a26}=_0x1e78a1['deserializeRangeWithSheet'](_0x5a70ee),_0x23c464={'name':(_0x31c349=(_0x57ece8=this[_0x3a9eef(0x3d3)][_0x3a9eef(0x317)](this['unitID'],_0xf6d053))==null?void 0x0:_0x57ece8[_0x3a9eef(0x243)])!=null?_0x31c349:_0x3a9eef(0x23e),'range':this['_getMergeRange'](_0x3c9a42,_0x397a26),'sheetID':_0x3c9a42,'color':this['_colorAssignService']['assignAColorForMemberID'](_0xf6d053),'selection':_0x5a70ee},_0x45373=this['cursorInfo'];_0x45373[_0x3a9eef(0x3ac)](_0xf6d053,_0x23c464),this[_0x3a9eef(0x2e8)][_0x3a9eef(0x1db)](_0x45373);}[_0x135356(0x424)](_0x4e91ee){const _0x1954b1=_0x135356,{memberID:_0x18cf37}=_0x4e91ee[_0x1954b1(0x1ec)],_0x77ba5e=this[_0x1954b1(0x2e5)];_0x77ba5e[_0x1954b1(0x2ae)](_0x18cf37),this[_0x1954b1(0x2e8)][_0x1954b1(0x1db)](_0x77ba5e);}[_0x135356(0x31e)](_0x49b005,_0x4d795e){const _0x366a69=_0x135356;var _0xff654,_0x22e391;const _0x5f41b2=(_0x22e391=(_0xff654=this[_0x366a69(0x2bb)][_0x366a69(0x3a7)](this[_0x366a69(0x212)]))==null?void 0x0:_0xff654[_0x366a69(0x362)](_0x49b005))==null?void 0x0:_0x22e391[_0x366a69(0x29c)]();return(_0x5f41b2==null?void 0x0:_0x5f41b2[_0x366a69(0x38a)](_0x2f124f=>_0x383603[_0x366a69(0x247)]['contains'](_0x2f124f,_0x4d795e)))||_0x4d795e;}['_onRefRangeChange'](){const _0x3a0405=_0x135356,_0x16c19a=new _0x383603[(_0x3a0405(0x1fc))](),_0x288333=_0x213550(),_0x4bfd7b=()=>{const _0x327ee4=_0x3a0405;_0x16c19a[_0x327ee4(0x228)]();const _0x2b9089=(_0x39877c,_0x38ab04,_0x40fd73,_0x339b9e)=>{const _0x35ce74=_0x327ee4;let _0x4a6944=[];switch(_0x39877c['id']){case _0x29f5a3[_0x35ce74(0x354)][_0x35ce74(0x44c)]:{_0x4a6944=_0x29f5a3[_0x35ce74(0x1ea)](_0x39877c,_0x339b9e);break;}case _0x29f5a3[_0x35ce74(0x354)][_0x35ce74(0x3fe)]:{_0x4a6944=_0x29f5a3[_0x35ce74(0x1c3)](_0x39877c,_0x339b9e);break;}case _0x29f5a3[_0x35ce74(0x354)][_0x35ce74(0x3f2)]:{_0x4a6944=_0x29f5a3[_0x35ce74(0x3cd)](_0x39877c,_0x339b9e);break;}case _0x29f5a3[_0x35ce74(0x354)]['InsertRangeMoveDownCommandId']:{_0x4a6944=_0x29f5a3[_0x35ce74(0x20c)](_0x39877c,_0x339b9e);break;}case _0x29f5a3[_0x35ce74(0x354)][_0x35ce74(0x2fa)]:{_0x4a6944=_0x29f5a3['handleInsertRangeMoveRight'](_0x39877c,_0x339b9e);break;}case _0x29f5a3[_0x35ce74(0x354)][_0x35ce74(0x2db)]:{_0x4a6944=_0x29f5a3['handleInsertRow'](_0x39877c,_0x339b9e);break;}case _0x29f5a3[_0x35ce74(0x354)][_0x35ce74(0x3ba)]:{_0x4a6944=_0x29f5a3['handleMoveRange'](_0x39877c,_0x339b9e);break;}case _0x29f5a3[_0x35ce74(0x354)][_0x35ce74(0x2a5)]:{_0x4a6944=_0x29f5a3[_0x35ce74(0x311)](_0x39877c,_0x339b9e);break;}case _0x29f5a3['EffectRefRangId'][_0x35ce74(0x2e2)]:{_0x4a6944=_0x29f5a3[_0x35ce74(0x40e)](_0x39877c,_0x339b9e);break;}}const _0x24aa97=_0x29f5a3['runRefRangeMutations'](_0x4a6944,_0x339b9e),_0x131c83=this['cursorInfo'][_0x35ce74(0x41f)](_0x38ab04);if(_0x131c83&&_0x24aa97){const _0x544670={..._0x131c83,'range':_0x24aa97};this[_0x35ce74(0x2e5)][_0x35ce74(0x3ac)](_0x38ab04,_0x544670),_0x288333(()=>{const _0x27bd75=_0x35ce74,_0x45f56d=this[_0x27bd75(0x430)][_0x27bd75(0x3c8)](_0x24aa97,_0x3be103=>(_0x45f56d[_0x27bd75(0x228)](),_0x2b9089(_0x3be103,_0x38ab04,_0x40fd73,_0x24aa97)));_0x16c19a['add'](_0x45f56d);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x327ee4(0x3e1)]((_0x56154b,_0x513199)=>{const _0x38235c=_0x327ee4,{range:_0x57673d,sheetID:_0x1a2ad0}=_0x56154b,_0x439389=this[_0x38235c(0x430)][_0x38235c(0x3c8)](_0x57673d,_0x169716=>(_0x439389[_0x38235c(0x228)](),_0x2b9089(_0x169716,_0x513199,_0x1a2ad0,_0x57673d)));_0x16c19a[_0x38235c(0x341)](_0x439389);});};this[_0x3a0405(0x372)](_0x383603[_0x3a0405(0x29b)](this[_0x3a0405(0x2e8)]['subscribe'](()=>{_0x4bfd7b();})));}[_0x135356(0x295)](){const _0x53c1f8=_0x135356;var _0xe5d530,_0x3ee03b;if(this['_online']=!0x0,((_0xe5d530=this[_0x53c1f8(0x2bb)]['getFocusedUnit']())==null?void 0x0:_0xe5d530[_0x53c1f8(0x1e9)]())!==this['unitID'])return;const _0x2e25af=(_0x3ee03b=this[_0x53c1f8(0x254)][_0x53c1f8(0x41f)](_0x29f5a3[_0x53c1f8(0x1ca)])[_0x53c1f8(0x200)]())==null?void 0x0:_0x3ee03b[0x0],_0x3507f7=this[_0x53c1f8(0x2bb)][_0x53c1f8(0x35d)](_0x383603[_0x53c1f8(0x1e4)][_0x53c1f8(0x1bb)])[_0x53c1f8(0x20b)]();_0x2e25af&&_0x3507f7&&this[_0x53c1f8(0x23d)](_0x3507f7['getSheetId'](),_0x2e25af);}[_0x135356(0x371)](){this['_online']=!0x1;}};_0x6ddf84=_0x5f5615([_0x44f28e(0x2,_0x383603[_0x135356(0x217)](_0x383603[_0x135356(0x3b1)])),_0x44f28e(0x3,_0x383603[_0x135356(0x217)](_0x4fe781)),_0x44f28e(0x4,_0x383603[_0x135356(0x217)](_0x1aad47[_0x135356(0x216)])),_0x44f28e(0x5,_0x383603['IUniverInstanceService']),_0x44f28e(0x6,_0x383603[_0x135356(0x250)]),_0x44f28e(0x7,_0x383603[_0x135356(0x217)](_0x29f5a3['RefRangeService']))],_0x6ddf84);var _0x4a44e7=Object[_0x135356(0x23b)],_0x5be6f8=(_0x4fc1a3,_0x4406fe,_0x7340cd,_0x3862cd)=>{const _0x23d92c=_0x135356;for(var _0x240bfe=_0x3862cd>0x1?void 0x0:_0x3862cd?_0x4a44e7(_0x4406fe,_0x7340cd):_0x4406fe,_0x2039be=_0x4fc1a3[_0x23d92c(0x256)]-0x1,_0x71a3ad;_0x2039be>=0x0;_0x2039be--)(_0x71a3ad=_0x4fc1a3[_0x2039be])&&(_0x240bfe=_0x71a3ad(_0x240bfe)||_0x240bfe);return _0x240bfe;},_0x25ade7=(_0x344926,_0x291450)=>(_0x1851a0,_0x1ab812)=>_0x291450(_0x1851a0,_0x1ab812,_0x344926);let _0x2f9f56=class extends _0x383603[_0x135356(0x3da)]{constructor(_0x302b7a,_0x58e9a5,_0x457bb2){const _0x551f27=_0x135356;super(),_0x45f451(this,_0x551f27(0x348),new Map()),_0x45f451(this,'_entityInit$',new _0x4d1a54[(_0x551f27(0x270))]()),(this[_0x551f27(0x2bb)]=_0x302b7a,this[_0x551f27(0x254)]=_0x58e9a5,this[_0x551f27(0x2f1)]=_0x457bb2,this[_0x551f27(0x426)]());}['dispose'](){const _0x5eb786=_0x135356;super['dispose'](),this[_0x5eb786(0x25e)][_0x5eb786(0x2c8)](),this[_0x5eb786(0x348)][_0x5eb786(0x3e1)](_0x22dae4=>_0x22dae4[_0x5eb786(0x228)]());}[_0x135356(0x337)](_0x24b709){const _0x4f8be3=_0x135356;return this[_0x4f8be3(0x348)][_0x4f8be3(0x33e)](_0x24b709)?this[_0x4f8be3(0x348)][_0x4f8be3(0x41f)](_0x24b709)['cursorInfo$']:this[_0x4f8be3(0x25e)][_0x4f8be3(0x267)](_0x4d1a54['filter'](_0x2082fc=>_0x2082fc['unitID']===_0x24b709),_0x4d1a54[_0x4f8be3(0x378)](_0x181e27=>_0x181e27['cursorInfo$']));}[_0x135356(0x426)](){const _0x4709b6=_0x135356;this[_0x4709b6(0x2bb)][_0x4709b6(0x1b7)](_0x383603['UniverInstanceType'][_0x4709b6(0x1bb)])[_0x4709b6(0x267)](_0x4d1a54['takeUntil'](this[_0x4709b6(0x3a6)]))['subscribe'](async _0x1081ee=>{const _0x7fc405=_0x4709b6,_0x48e2ac=_0x1081ee[_0x7fc405(0x1e9)](),_0xc69e14=await this['_startSheetCollabCursor'](_0x48e2ac);this[_0x7fc405(0x25e)]['next'](_0xc69e14),this[_0x7fc405(0x348)][_0x7fc405(0x3ac)](_0x48e2ac,_0xc69e14);}),this[_0x4709b6(0x2bb)][_0x4709b6(0x1b7)](_0x383603[_0x4709b6(0x1e4)][_0x4709b6(0x208)])[_0x4709b6(0x267)](_0x4d1a54[_0x4709b6(0x3bb)](this['dispose$']))[_0x4709b6(0x267)](_0x4d1a54['filter'](_0x3a3bf4=>!_0x3a3bf4[_0x4709b6(0x1e9)]()[_0x4709b6(0x1c6)]('__')))[_0x4709b6(0x312)](async _0x33df01=>{const _0x412c34=_0x4709b6,_0x593933=_0x33df01['getUnitId'](),_0x5a6f01=await this['_startDocCollabCursor'](_0x593933);this[_0x412c34(0x25e)][_0x412c34(0x1db)](_0x5a6f01),this[_0x412c34(0x348)][_0x412c34(0x3ac)](_0x593933,_0x5a6f01);}),_0x4d1a54[_0x4709b6(0x36c)](this[_0x4709b6(0x2bb)][_0x4709b6(0x1fa)](_0x383603[_0x4709b6(0x1e4)]['UNIVER_DOC']),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x383603[_0x4709b6(0x1e4)][_0x4709b6(0x1bb)]))['pipe'](_0x4d1a54[_0x4709b6(0x3bb)](this[_0x4709b6(0x3a6)]))[_0x4709b6(0x312)](_0x4b5bb1=>{const _0x492906=_0x4709b6,_0x5124d9=_0x4b5bb1[_0x492906(0x1e9)](),_0x4657d6=this[_0x492906(0x348)][_0x492906(0x41f)](_0x5124d9);_0x4657d6&&(_0x4657d6[_0x492906(0x228)](),this[_0x492906(0x348)]['delete'](_0x5124d9));});}async['_startSheetCollabCursor'](_0x5d0026){const _0x54e7f6=_0x135356,_0x401398=await this['_collabSessionService'][_0x54e7f6(0x235)](_0x5d0026),_0x45a389=this[_0x54e7f6(0x254)]['createInstance'](_0x6ddf84,_0x5d0026,_0x401398);return _0x45a389[_0x54e7f6(0x230)](),_0x45a389;}async[_0x135356(0x437)](_0x5edbcc){const _0x46f1b9=_0x135356,_0x16af75=await this[_0x46f1b9(0x2f1)][_0x46f1b9(0x235)](_0x5edbcc),_0x482c3d=this[_0x46f1b9(0x254)][_0x46f1b9(0x1d3)](_0x299d4f,_0x5edbcc,_0x16af75);return _0x482c3d[_0x46f1b9(0x230)](),_0x482c3d;}};_0x2f9f56=_0x5be6f8([_0x25ade7(0x0,_0x383603[_0x135356(0x421)]),_0x25ade7(0x1,_0x383603['Inject'](_0x383603['Injector'])),_0x25ade7(0x2,_0x383603[_0x135356(0x217)](_0x1aad47['CollaborationSessionService']))],_0x2f9f56);const _0x4fed14=0x14,_0x135b00=0xc8,_0x1213d7=0x4,_0x43ed74=0x5;function _0x227cc8(_0xe0073e,_0x3c117a){const _0x4fbec7=_0x135356;let {radius:_0x254a8f,width:_0x52bb1f,height:_0x35c93c}=_0x3c117a;_0x254a8f=_0x254a8f!=null?_0x254a8f:0x0,_0x52bb1f=_0x52bb1f!=null?_0x52bb1f:0x1e,_0x35c93c=_0x35c93c!=null?_0x35c93c:0x1e;let _0x1fa667=0x0,_0x346346=0x0,_0x127cf5=0x0;_0x1fa667=_0x346346=_0x127cf5=Math[_0x4fbec7(0x2f9)](_0x254a8f,_0x52bb1f/0x2,_0x35c93c/0x2),_0xe0073e[_0x4fbec7(0x1b9)](),_0xe0073e[_0x4fbec7(0x41b)](_0x1fa667,0x0),_0xe0073e[_0x4fbec7(0x238)](_0x52bb1f-_0x346346,0x0),_0xe0073e['arc'](_0x52bb1f-_0x346346,_0x346346,_0x346346,Math['PI']*0x3/0x2,0x0,!0x1),_0xe0073e['lineTo'](_0x52bb1f,_0x35c93c-_0x127cf5),_0xe0073e[_0x4fbec7(0x3ca)](_0x52bb1f-_0x127cf5,_0x35c93c-_0x127cf5,_0x127cf5,0x0,Math['PI']/0x2,!0x1),_0xe0073e[_0x4fbec7(0x238)](0x0,_0x35c93c),_0xe0073e['lineTo'](0x0,_0x1fa667),_0xe0073e[_0x4fbec7(0x3ca)](_0x1fa667,_0x1fa667,_0x1fa667,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0xe0073e['closePath'](),_0x3c117a[_0x4fbec7(0x419)]&&(_0xe0073e['save'](),_0xe0073e[_0x4fbec7(0x3f5)]=_0x3c117a[_0x4fbec7(0x419)],_0x3c117a['fillRule']==='evenodd'?_0xe0073e[_0x4fbec7(0x419)]('evenodd'):_0xe0073e[_0x4fbec7(0x419)](),_0xe0073e[_0x4fbec7(0x258)]());}class _0x1cb8d1 extends _0x45ed6b['Shape']{constructor(_0x34c3e3,_0x4006bc){const _0x3d6b77=_0x135356;super(_0x34c3e3,_0x4006bc),_0x45f451(this,_0x3d6b77(0x40b)),_0x45f451(this,_0x3d6b77(0x1c2)),(this[_0x3d6b77(0x40b)]=_0x4006bc==null?void 0x0:_0x4006bc['color'],this['text']=_0x4006bc==null?void 0x0:_0x4006bc['text']);}static[_0x135356(0x26c)](_0x418f4e,_0x47a103){const _0x2774e8=_0x135356,{text:_0x3c7098,color:_0x285821}=_0x47a103;_0x418f4e[_0x2774e8(0x3bd)](),_0x418f4e['font']='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x3998ea=_0x418f4e[_0x2774e8(0x271)](_0x3c7098)['width'],_0xc0d20=Math[_0x2774e8(0x2f9)](_0x3998ea+0x2*_0x1213d7,_0x135b00);_0x227cc8(_0x418f4e,{'height':_0x4fed14,'radius':0x4,'width':_0xc0d20,'fill':_0x285821}),_0x418f4e[_0x2774e8(0x3f5)]=_0x2774e8(0x3c0);const _0x50f398=_0x1213d7,_0x429b6f=_0x4fed14-_0x43ed74,_0x3dacfc=_0x135b00-0x2*_0x1213d7;if(_0x3998ea>_0x3dacfc){let _0x40c7e3='',_0xf84a06=0x0;for(const _0x4da01a of _0x3c7098){const _0x34fd9e=_0x418f4e[_0x2774e8(0x271)](_0x4da01a)['width'];if(_0xf84a06+_0x34fd9e<=_0x3dacfc-_0x418f4e[_0x2774e8(0x271)](_0x2774e8(0x223))[_0x2774e8(0x2c6)])_0x40c7e3+=_0x4da01a,_0xf84a06+=_0x34fd9e;else{_0x40c7e3+=_0x2774e8(0x223);break;}}_0x418f4e[_0x2774e8(0x3fd)](_0x40c7e3,_0x50f398,_0x429b6f);}else _0x418f4e['fillText'](_0x3c7098,_0x50f398,_0x429b6f);_0x418f4e[_0x2774e8(0x258)]();}[_0x135356(0x225)](_0x2eb9fc){const _0x31528f=_0x135356;_0x1cb8d1[_0x31528f(0x26c)](_0x2eb9fc,this);}}const _0x3f28b9=_0x135356(0x3f8),_0x489530=_0x135356(0x1d9),_0x11cd57='collab-rect-range-',_0x52a06e=0x6,_0x4048d1=1.5,_0x31608a=0x4,_0x1570b5=1.5,_0x55a63f='rgba(255,\x20255,\x20255,\x200.01)';class _0x45a03d{constructor(_0x4e561a,_0x270978,_0x58d188,_0x148b28){const _0x313849=_0x135356;_0x45f451(this,_0x313849(0x1d4),[]),_0x45f451(this,_0x313849(0x3e8),null),_0x45f451(this,_0x313849(0x1c1),null),_0x45f451(this,_0x313849(0x1e0),null),_0x45f451(this,'_hideTimer',null),_0x45f451(this,_0x313849(0x221),null),(this[_0x313849(0x275)]=_0x4e561a,this[_0x313849(0x2f2)]=_0x270978,this[_0x313849(0x2af)]=_0x58d188,this[_0x313849(0x284)]=_0x148b28,this[_0x313849(0x41c)]());}set[_0x135356(0x30b)](_0x23414a){const _0x1350b0=_0x135356;_0x23414a?(this['_anchorDot']&&this['_anchorDot'][_0x1350b0(0x2f4)](),this['_textBubble']&&this[_0x1350b0(0x1c1)]['show']()):(this[_0x1350b0(0x1e0)]&&this[_0x1350b0(0x1e0)][_0x1350b0(0x439)](),this['_textBubble']&&this[_0x1350b0(0x1c1)]['hide']());}[_0x135356(0x228)](){const _0xbb83ca=_0x135356;for(const _0x4f50fc of this[_0xbb83ca(0x1d4)])_0x4f50fc['dispose']();this[_0xbb83ca(0x1c1)]&&this[_0xbb83ca(0x1c1)][_0xbb83ca(0x228)](),this['_anchorDot']&&this[_0xbb83ca(0x1e0)][_0xbb83ca(0x228)](),this['_anchor']&&this[_0xbb83ca(0x3e8)][_0xbb83ca(0x228)](),this['_eventUnsubscribe']&&this[_0xbb83ca(0x221)]();}[_0x135356(0x41c)](){const _0x1ee18a=_0x135356;var _0x4913de;const {_docSkeleton:_0x2a1cb1,_document:_0x114607}=this,{color:_0x50d5c2,name:_0x53f04c,ranges:_0x4ef268}=this[_0x1ee18a(0x275)],_0x360c2e=_0x114607[_0x1ee18a(0x24c)](),{docsLeft:_0x44b00e,docsTop:_0x528862}=_0x360c2e,_0xcfff3a=new _0x3770d3[(_0x1ee18a(0x405))](_0x360c2e,_0x2a1cb1);for(const {startOffset:_0x2baadb,endOffset:_0x4ff671,rangeType:_0x2f81a3,segmentId:_0xeab134,segmentPage:_0x200334,collapsed:_0x300995,isActive:_0x5a2d63}of _0x4ef268){const _0x398dfe=_0x2a1cb1['findNodePositionByCharIndex'](_0x2baadb,!0x0,_0xeab134,_0x200334);let _0x586989=_0x2a1cb1[_0x1ee18a(0x382)](_0x4ff671,!0x0,_0xeab134,_0x200334);if(_0x586989==null&&(_0x586989=_0x2a1cb1[_0x1ee18a(0x382)](_0x4ff671-0x1,!0x1,_0xeab134,_0x200334)),_0x5a2d63){const {contentBoxPointGroup:_0x156c57}=_0xcfff3a[_0x1ee18a(0x232)](_0x586989,_0x586989);if(_0x156c57['length']===0x0)continue;this[_0x1ee18a(0x406)](_0x50d5c2,_0x156c57,_0x44b00e,_0x528862,_0x53f04c),this[_0x1ee18a(0x221)]=this['_handleHover']();}if(_0x398dfe&&_0x586989){if(_0x2f81a3===_0x383603[_0x1ee18a(0x3cf)][_0x1ee18a(0x361)]){const _0x29b778=new _0x3770d3[(_0x1ee18a(0x40c))](_0x360c2e,_0x2a1cb1),{pointGroup:_0x348b65}=(_0x4913de=_0x29b778[_0x1ee18a(0x232)](_0x398dfe,_0x586989))!=null?_0x4913de:{};if(_0x348b65==null||_0x348b65[_0x1ee18a(0x256)]===0x0)continue;this[_0x1ee18a(0x315)](_0x50d5c2,_0x348b65,_0x44b00e,_0x528862);}else{if(!_0x300995){const {borderBoxPointGroup:_0x24d3e0}=_0xcfff3a[_0x1ee18a(0x232)](_0x398dfe,_0x586989);if(_0x24d3e0[_0x1ee18a(0x256)]===0x0)continue;this[_0x1ee18a(0x369)](_0x50d5c2,_0x24d3e0,_0x44b00e,_0x528862);}}}}}[_0x135356(0x406)](_0x15ff95,_0xe9f173,_0x1223c2,_0x166197,_0x15463c){const _0x21e956=_0x135356,_0x5a825c=this[_0x21e956(0x2ad)](_0xe9f173),{left:_0x34aae3,top:_0xb617ae,height:_0x52e465}=_0x5a825c,_0x4f335f=this[_0x21e956(0x1d8)](),_0xd2de13=_0x1570b5/_0x4f335f,_0x276021=new _0x45ed6b['Rect'](_0x3f28b9+_0x383603[_0x21e956(0x35f)]['generateRandomId'](_0x52a06e),{'left':_0x34aae3+_0x1223c2-_0xd2de13,'top':_0xb617ae+_0x166197,'height':_0x52e465,'width':_0x4048d1,'fill':_0x15ff95||_0x45ed6b['getColor'](_0x383603[_0x21e956(0x201)]['black'],0x0),'strokeWidth':_0xd2de13,'stroke':_0x55a63f,'evented':!0x0});this[_0x21e956(0x3e8)]=_0x276021,this[_0x21e956(0x2f2)][_0x21e956(0x1d7)](_0x276021,_0x3770d3[_0x21e956(0x2e7)]);const _0x1f5c41=new _0x45ed6b[(_0x21e956(0x416))](_0x3f28b9+_0x383603[_0x21e956(0x35f)][_0x21e956(0x340)](_0x52a06e),{'left':_0x34aae3+_0x1223c2-_0xd2de13,'top':_0xb617ae+_0x166197-_0x31608a/0x2,'height':_0x31608a,'width':_0x31608a,'fill':_0x15ff95||_0x45ed6b[_0x21e956(0x287)](_0x383603[_0x21e956(0x201)][_0x21e956(0x1f0)],0x0),'strokeWidth':0x0,'stroke':_0x15ff95||_0x45ed6b[_0x21e956(0x287)](_0x383603[_0x21e956(0x201)]['black'],0x0),'evented':!0x1});this[_0x21e956(0x1e0)]=_0x1f5c41,this[_0x21e956(0x2f2)][_0x21e956(0x1d7)](_0x1f5c41,_0x3770d3[_0x21e956(0x2e7)]);const _0x346b2a=new _0x1cb8d1(_0x3f28b9+_0x383603[_0x21e956(0x35f)][_0x21e956(0x340)](_0x52a06e),{'left':_0x34aae3+_0x1223c2-_0xd2de13,'top':_0xb617ae+_0x166197-_0x4fed14,'text':_0x15463c,'color':_0x15ff95});this[_0x21e956(0x1c1)]=_0x346b2a,this[_0x21e956(0x2f2)][_0x21e956(0x1d7)](_0x346b2a,_0x3770d3[_0x21e956(0x2e7)]),this[_0x21e956(0x30b)]=!0x1;}[_0x135356(0x44e)](){const _0x268327=_0x135356,_0x27d5b6=this['_anchor']['onPointerEnter$']['subscribeEvent'](()=>{const _0x2d7284=_0x1ca7;this[_0x2d7284(0x30b)]=!0x0;}),_0x22b377=this[_0x268327(0x3e8)]['onPointerLeave$'][_0x268327(0x42b)](()=>{const _0x261459=_0x268327;this[_0x261459(0x42c)]&&clearTimeout(this[_0x261459(0x42c)]),this[_0x261459(0x42c)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0xb9955e=_0x268327;_0x27d5b6[_0xb9955e(0x25d)](),_0x22b377[_0xb9955e(0x25d)]();};}[_0x135356(0x369)](_0x172421,_0x290b14,_0x68d06b,_0x39451c){const _0x1668a6=_0x135356,_0x340011=new _0x383603[(_0x1668a6(0x3af))](_0x172421)['setAlpha'](0.2)['toRgbString'](),_0x56d4b1=new _0x45ed6b[(_0x1668a6(0x2b2))](_0x489530+_0x383603[_0x1668a6(0x35f)][_0x1668a6(0x340)](_0x52a06e),{'pointsGroup':_0x290b14,'fill':_0x340011||_0x45ed6b[_0x1668a6(0x287)](_0x383603[_0x1668a6(0x201)][_0x1668a6(0x1f0)],0.2),'left':_0x68d06b,'top':_0x39451c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1668a6(0x1d4)]['push'](_0x56d4b1),this[_0x1668a6(0x2f2)]['addObject'](_0x56d4b1,_0x3770d3['TEXT_RANGE_LAYER_INDEX']);}[_0x135356(0x315)](_0x168876,_0x43d6a1,_0x20870f,_0x15be46){const _0x91545e=_0x135356,_0x515c2b=new _0x383603[(_0x91545e(0x3af))](_0x168876)[_0x91545e(0x36d)](0.2)[_0x91545e(0x325)](),_0x45cb5e=new _0x45ed6b['RegularPolygon'](_0x11cd57+_0x383603['Tools']['generateRandomId'](_0x52a06e),{'pointsGroup':_0x43d6a1,'fill':_0x515c2b||_0x45ed6b['getColor'](_0x383603[_0x91545e(0x201)][_0x91545e(0x1f0)],0.2),'left':_0x20870f,'top':_0x15be46,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x91545e(0x1f3)](_0x45cb5e),this[_0x91545e(0x2f2)]['addObject'](_0x45cb5e,_0x3770d3[_0x91545e(0x2e7)]);}[_0x135356(0x2ad)](_0x3a8e17){const _0xc7614f=_0x3a8e17[0x0],_0x312d0a=_0xc7614f[0x0],_0x1cf2b=_0xc7614f[0x2],{x:_0x5cdddd,y:_0x2a656f}=_0x312d0a,{x:_0x5b539e,y:_0x1c09df}=_0x1cf2b;return{'left':_0x5cdddd,'top':_0x2a656f,'width':_0x5b539e-_0x5cdddd,'height':_0x1c09df-_0x2a656f};}[_0x135356(0x1d8)](){const _0x4c3051=_0x135356,{scaleX:_0x3d76df,scaleY:_0x2487da}=this[_0x4c3051(0x2f2)][_0x4c3051(0x3be)]();return Math[_0x4c3051(0x2cf)](_0x3d76df,_0x2487da);}}var _0x54ce98=Object[_0x135356(0x23b)],_0x49d6b2=(_0x19ecce,_0x207e77,_0x59bdf2,_0xf74b65)=>{for(var _0x1e39b4=_0xf74b65>0x1?void 0x0:_0xf74b65?_0x54ce98(_0x207e77,_0x59bdf2):_0x207e77,_0x918ded=_0x19ecce['length']-0x1,_0x5b55c4;_0x918ded>=0x0;_0x918ded--)(_0x5b55c4=_0x19ecce[_0x918ded])&&(_0x1e39b4=_0x5b55c4(_0x1e39b4)||_0x1e39b4);return _0x1e39b4;},_0x494fa6=(_0x49b4b0,_0x2cd305)=>(_0x2189d5,_0x37b1b5)=>_0x2cd305(_0x2189d5,_0x37b1b5,_0x49b4b0);let _0x17e282=class extends _0x383603[_0x135356(0x3da)]{constructor(_0x3d4071,_0x47508f,_0x331006,_0x136031,_0xc04dc5){const _0xf5bbc1=_0x135356;super(),_0x45f451(this,_0xf5bbc1(0x3ed),[]),_0x45f451(this,_0xf5bbc1(0x3bf),[]),(this[_0xf5bbc1(0x380)]=_0x3d4071,this['_docSkeletonManagerService']=_0x47508f,this[_0xf5bbc1(0x3e6)]=_0x331006,this[_0xf5bbc1(0x407)]=_0x136031,this['_themeService']=_0xc04dc5,this[_0xf5bbc1(0x426)]());}[_0x135356(0x426)](){const _0x54c35d=_0x135356,_0x34adef=this[_0x54c35d(0x380)]['unitId'],_0x4777c8=this[_0x54c35d(0x3cb)];this[_0x54c35d(0x372)](_0x4d1a54[_0x54c35d(0x2a0)]([this['_collabCursorController'][_0x54c35d(0x337)](_0x34adef),this['_themeService'][_0x54c35d(0x261)]])[_0x54c35d(0x267)](_0x1ba25a['map'](([_0xb7249c,_0x79910c])=>({'skeleton':_0x4777c8[_0x54c35d(0x1d5)](),'cursors':[..._0xb7249c[_0x54c35d(0x297)]()]['flatMap'](_0x524708=>({..._0x524708,'color':this[_0x54c35d(0x1ce)][_0x54c35d(0x3d6)](_0x524708['color'])}))})))['subscribe'](_0x565f2b=>{const _0x1dc3a2=_0x54c35d;if(this['_removeCollabCursors'](),_0x565f2b){const {skeleton:_0x16c38d,cursors:_0x3bb7bb}=_0x565f2b;this[_0x1dc3a2(0x3e0)](_0x16c38d,_0x3bb7bb);}})),this[_0x54c35d(0x37e)](),this[_0x54c35d(0x3eb)]();}['_updateCollabCursors'](_0x202efa,_0x442071){const _0x3fa48b=_0x135356,{scene:_0x1e3f38,mainComponent:_0x2a2dfa}=this['_context'],_0x16cd05=_0x442071[_0x3fa48b(0x3fa)](_0x1dbd41=>new _0x45a03d(_0x1dbd41,_0x1e3f38,_0x202efa,_0x2a2dfa));this['_cursorShapes']=_0x16cd05,this['_cursors']=_0x442071;}[_0x135356(0x3c3)](){const _0x208297=_0x135356;this[_0x208297(0x245)]();const {scene:_0x2a08ad,mainComponent:_0x3e4f52}=this[_0x208297(0x380)],_0x243f75=this[_0x208297(0x3cb)][_0x208297(0x1d5)](),_0x46eebe=this[_0x208297(0x3bf)][_0x208297(0x3fa)](_0x41d232=>new _0x45a03d(_0x41d232,_0x2a08ad,_0x243f75,_0x3e4f52));this[_0x208297(0x3ed)]=_0x46eebe;}[_0x135356(0x245)](){const _0x9b4986=_0x135356;this['_cursorShapes']['forEach'](_0x146bfc=>_0x146bfc[_0x9b4986(0x228)]()),this[_0x9b4986(0x3ed)]=[];}[_0x135356(0x3eb)](){const _0x4e7fff=_0x135356,_0x525eeb=[_0x3770d3[_0x4e7fff(0x43d)]['id']];this[_0x4e7fff(0x372)](this[_0x4e7fff(0x407)][_0x4e7fff(0x283)](_0x575363=>{const _0x25d24d=_0x4e7fff;_0x525eeb[_0x25d24d(0x39e)](_0x575363['id'])&&_0x575363[_0x25d24d(0x358)][_0x25d24d(0x2d6)]===this[_0x25d24d(0x380)][_0x25d24d(0x2d6)]&&this['_refreshCollabCursors']();}));}[_0x135356(0x37e)](){const _0xdef394=_0x135356;this['disposeWithMe'](_0x383603['fromEventSubject'](this[_0xdef394(0x380)][_0xdef394(0x2e6)][_0xdef394(0x241)])[_0xdef394(0x267)](_0x1ba25a[_0xdef394(0x1c4)](_0xc2cd83=>_0xc2cd83[_0xdef394(0x35b)]===_0x45ed6b[_0xdef394(0x3c5)][_0xdef394(0x313)]),_0x1ba25a[_0xdef394(0x2b7)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x17e282=_0x49d6b2([_0x494fa6(0x1,_0x383603[_0x135356(0x217)](_0x2025ef['DocSkeletonManagerService'])),_0x494fa6(0x2,_0x383603[_0x135356(0x217)](_0x2f9f56)),_0x494fa6(0x3,_0x383603[_0x135356(0x250)]),_0x494fa6(0x4,_0x383603['Inject'](_0x383603[_0x135356(0x331)]))],_0x17e282);const _0xf60e58=0x1,_0x3eb89c=1.5;class _0x233f6c extends _0x45ed6b[_0x135356(0x3aa)]{constructor(_0x219178,_0x7fecd9){const _0x3f372f=_0x135356;super(_0x219178,_0x7fecd9),_0x45f451(this,_0x3f372f(0x3dc)),_0x45f451(this,'_hovered',!0x1),_0x45f451(this,_0x3f372f(0x1bf)),_0x45f451(this,_0x3f372f(0x368),''),_0x45f451(this,_0x3f372f(0x39c),'top'),_0x45f451(this,_0x3f372f(0x2fd)),(_0x7fecd9&&this['setShapeProps'](_0x7fecd9),this[_0x3f372f(0x2bd)][_0x3f372f(0x42b)](()=>this[_0x3f372f(0x332)]({'hovered':!0x0})),this[_0x3f372f(0x309)][_0x3f372f(0x42b)](()=>this[_0x3f372f(0x332)]({'hovered':!0x1})));}['setShapeProps'](_0x22f697){const _0x56299e=_0x135356;var _0x5607d2,_0x217fd7,_0x2e1dc8,_0x36d09c,_0x29978c,_0x957b9c;this[_0x56299e(0x3dc)]=(_0x5607d2=_0x22f697[_0x56299e(0x40b)])!=null?_0x5607d2:this[_0x56299e(0x3dc)],this[_0x56299e(0x22e)]=(_0x217fd7=_0x22f697[_0x56299e(0x222)])!=null?_0x217fd7:this[_0x56299e(0x22e)],this[_0x56299e(0x1bf)]=(_0x2e1dc8=_0x22f697['range'])!=null?_0x2e1dc8:this[_0x56299e(0x1bf)],this[_0x56299e(0x368)]=(_0x36d09c=_0x22f697[_0x56299e(0x243)])!=null?_0x36d09c:this['_name'],this[_0x56299e(0x39c)]=(_0x29978c=_0x22f697['labelPosition'])!=null?_0x29978c:this['_labelPosition'],this[_0x56299e(0x2fd)]=(_0x957b9c=_0x22f697[_0x56299e(0x304)])!=null?_0x957b9c:this[_0x56299e(0x2fd)],this['transformByState']({'width':_0x22f697[_0x56299e(0x2c6)],'height':_0x22f697[_0x56299e(0x21e)]});}[_0x135356(0x2de)](_0x48973c){const _0x5bea8f=_0x135356,{row:_0x3d856e,column:_0x1a4060}=_0x48973c;if(_0x3d856e>=this[_0x5bea8f(0x1bf)][_0x5bea8f(0x43f)]&&_0x3d856e<=this[_0x5bea8f(0x1bf)][_0x5bea8f(0x401)]&&_0x1a4060>=this[_0x5bea8f(0x1bf)][_0x5bea8f(0x2c0)]&&_0x1a4060<=this[_0x5bea8f(0x1bf)][_0x5bea8f(0x377)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x5bea8f(0x332)]({'hovered':!0x1});}[_0x135356(0x41d)](_0x317906){return!0x1;}[_0x135356(0x225)](_0x32b8a7){const _0x383ac1=_0x135356;_0x45ed6b[_0x383ac1(0x416)]['drawWith'](_0x32b8a7,{'width':this[_0x383ac1(0x2c6)],'height':this[_0x383ac1(0x21e)],'strokeWidth':_0x3eb89c,'stroke':this[_0x383ac1(0x3dc)],'evented':!0x1,'fill':this[_0x383ac1(0x2fd)]}),this[_0x383ac1(0x22e)]&&(_0x32b8a7['save'](),_0x32b8a7[_0x383ac1(0x246)](0x1,0x0,0x0,0x1,this[_0x383ac1(0x2c6)],this['_labelPosition']==='bottom'?0x0:-0x14),_0x1cb8d1[_0x383ac1(0x26c)](_0x32b8a7,{'text':this[_0x383ac1(0x368)],'color':this[_0x383ac1(0x3dc)]}),_0x32b8a7[_0x383ac1(0x258)]());}}var _0x1f1a59=Object['getOwnPropertyDescriptor'],_0x1c785c=(_0xd4cac4,_0x73617e,_0x252912,_0x3cea9b)=>{const _0x2a4254=_0x135356;for(var _0x6d29e0=_0x3cea9b>0x1?void 0x0:_0x3cea9b?_0x1f1a59(_0x73617e,_0x252912):_0x73617e,_0x4de84b=_0xd4cac4[_0x2a4254(0x256)]-0x1,_0x3c09f2;_0x4de84b>=0x0;_0x4de84b--)(_0x3c09f2=_0xd4cac4[_0x4de84b])&&(_0x6d29e0=_0x3c09f2(_0x6d29e0)||_0x6d29e0);return _0x6d29e0;},_0x2d73a7=(_0x512450,_0x938b7a)=>(_0x4d0309,_0x4b1d0b)=>_0x938b7a(_0x4d0309,_0x4b1d0b,_0x512450);const _0x33686d=0x1389;let _0x3cd002=class extends _0x383603['RxDisposable']{constructor(_0x105a1d,_0x72cad7,_0x1faf5a,_0x2e9d5b){const _0x3c21ec=_0x135356;super(),_0x45f451(this,_0x3c21ec(0x3bf),new Set()),_0x45f451(this,'_lastPointer',null),(this['_context']=_0x105a1d,this[_0x3c21ec(0x34f)]=_0x72cad7,this[_0x3c21ec(0x3e6)]=_0x1faf5a,this[_0x3c21ec(0x1ce)]=_0x2e9d5b,this['_init']());}[_0x135356(0x426)](){const _0x4362d3=_0x135356;this['_sheetSkeletonManagerService'][_0x4362d3(0x2e1)][_0x4362d3(0x267)](_0x1ba25a[_0x4362d3(0x3bb)](this[_0x4362d3(0x3a6)]),_0x1ba25a[_0x4362d3(0x378)](_0x14d986=>{const _0x7f8422=_0x4362d3;if(_0x14d986){const _0x178d51=_0x14d986[_0x7f8422(0x35c)];return _0x4d1a54[_0x7f8422(0x2a0)](this['_collabCursorController'][_0x7f8422(0x337)](this[_0x7f8422(0x380)][_0x7f8422(0x2d6)]),this[_0x7f8422(0x1ce)][_0x7f8422(0x261)])['pipe'](_0x1ba25a[_0x7f8422(0x3fa)](([_0x4266e2,_0x46a0fe])=>{const _0x41b263=_0x7f8422,_0x5b1e49=new Map();return _0x4266e2[_0x41b263(0x3e1)]((_0x242ac8,_0x1836e5)=>{const _0x13d00c=_0x41b263;if(_0x242ac8[_0x13d00c(0x3f1)]===_0x178d51){const _0x3c6366={..._0x242ac8};_0x3c6366[_0x13d00c(0x40b)]=this['_themeService'][_0x13d00c(0x3d6)](_0x242ac8[_0x13d00c(0x40b)]),_0x5b1e49[_0x13d00c(0x3ac)](_0x1836e5,_0x3c6366);}}),{'skeleton':_0x14d986,'cursors':_0x5b1e49};}));}return _0x4d1a54['of']({'skeleton':null,'cursors':new Map()});}))[_0x4362d3(0x312)](({skeleton:_0x3010fe,cursors:_0x52c033})=>{const _0x40c3e6=_0x4362d3;this[_0x40c3e6(0x245)](),_0x3010fe&&this[_0x40c3e6(0x3e0)](_0x3010fe,_0x52c033);}),this['_sheetSkeletonManagerService']['currentSkeleton$'][_0x4362d3(0x312)](_0x466b7d=>{const _0x4a7d41=_0x4362d3;if(_0x466b7d==null)return;const {skeleton:_0x5d0ce2}=_0x466b7d,{scene:_0xd8059}=this[_0x4a7d41(0x380)];_0xd8059[_0x4a7d41(0x289)]['subscribeEvent'](_0x383603['debounce'](_0x3fe263=>{const _0x385246=_0x4a7d41;var _0x5d4d86,_0x5143cf;const {offsetX:_0x25765c,offsetY:_0x581959}=_0x3fe263,{x:_0x50a899,y:_0x4e7bf0}=_0xd8059['getRelativeToViewportCoord'](_0x45ed6b[_0x385246(0x1fd)][_0x385246(0x38e)]([_0x25765c,_0x581959])),{scaleX:_0x3758ee,scaleY:_0x277eaf}=_0xd8059[_0x385246(0x3be)](),_0x3ec410=_0xd8059[_0x385246(0x32a)](_0x45ed6b['SHEET_VIEWPORT_KEY'][_0x385246(0x35a)]),_0x1a0c9d=_0xd8059[_0x385246(0x226)](_0x45ed6b['Vector2'][_0x385246(0x38e)]([_0x50a899,_0x4e7bf0]),_0x3ec410),_0x825c9=_0x5d0ce2[_0x385246(0x294)](_0x25765c,_0x581959,_0x3758ee,_0x277eaf,_0x1a0c9d);((_0x5d4d86=this[_0x385246(0x2c5)])==null?void 0x0:_0x5d4d86[_0x385246(0x2e3)])===_0x825c9[_0x385246(0x2e3)]&&((_0x5143cf=this['_lastPointer'])==null?void 0x0:_0x5143cf['row'])===_0x825c9[_0x385246(0x31b)]||this[_0x385246(0x3bf)]['forEach'](_0x237c9a=>{const _0xff9cf1=_0x385246;_0x237c9a[_0xff9cf1(0x2de)](_0x825c9);});},0x64));});}[_0x135356(0x3e0)](_0x65edc0,_0x495598){const _0x2a82bd=_0x135356;var _0x545e10;const _0x3e4864=(_0x545e10=this['_sheetSkeletonManagerService'][_0x2a82bd(0x42f)]())==null?void 0x0:_0x545e10['skeleton'];if(!_0x3e4864)return;const _0x35b289=this[_0x2a82bd(0x38d)]();if(!_0x35b289)return;this[_0x2a82bd(0x3bf)]['forEach'](_0x11ed5d=>{const _0x5d52b7=_0x2a82bd;_0x11ed5d[_0x5d52b7(0x37b)]();});const {scene:_0x54be45}=_0x35b289,_0x1ab555=_0x51c0b3(Array[_0x2a82bd(0x308)](_0x495598[_0x2a82bd(0x297)]()))['map'](_0x35f7a6=>{const _0x38239f=_0x2a82bd,{color:_0x27f61c,range:_0x5414ed,name:_0x356037,selection:_0x472ee3,sheetID:_0x4bf492}=_0x35f7a6,{startColumn:_0x45a17e,startRow:_0x331c9f,endColumn:_0x57b548,endRow:_0x23d79c}=_0x5414ed,_0x9d564a=_0x8f5ed3[_0x38239f(0x44b)](_0x331c9f,_0x45a17e,_0x54be45,_0x3e4864),_0x21d550=_0x8f5ed3[_0x38239f(0x44b)](_0x23d79c,_0x57b548,_0x54be45,_0x3e4864),{columnHeaderHeightAndMarginTop:_0x31b507}=_0x3e4864,{startX:_0x10da40,startY:_0x19310d}=_0x9d564a,{endX:_0x2789a7,endY:_0x550b60}=_0x21d550,_0x3bc771=_0x2789a7-_0x10da40,_0xe02b83=_0x550b60-_0x19310d,_0x32743d={'labelPosition':_0x19310d-_0x31b507>=_0x4fed14?'top':_0x38239f(0x27d),'sheetID':_0x4bf492,'range':_0x5414ed,'color':_0x27f61c,'name':_0x356037,'selection':_0x472ee3,'left':_0x10da40,'top':_0x19310d,'width':_0x3bc771,'height':_0xe02b83,'evented':!0x1,'zIndex':_0x33686d};return new _0x233f6c(_0x356037,_0x32743d);});_0x54be45[_0x2a82bd(0x3f4)](_0x1ab555,_0xf60e58),this['_cursors']=new Set(_0x1ab555);}[_0x135356(0x245)](){const _0x3509f9=_0x135356;var _0x7cbb26;(_0x7cbb26=this[_0x3509f9(0x3bf)])==null||_0x7cbb26[_0x3509f9(0x3e1)](_0x3414f9=>_0x3414f9[_0x3509f9(0x228)]());}[_0x135356(0x38d)](){const _0x14051a=_0x135356;return _0x8f5ed3[_0x14051a(0x22c)](this[_0x14051a(0x380)]['unit'],this['_context']);}};_0x3cd002=_0x1c785c([_0x2d73a7(0x1,_0x383603[_0x135356(0x217)](_0x8f5ed3[_0x135356(0x2a2)])),_0x2d73a7(0x2,_0x383603[_0x135356(0x217)](_0x2f9f56)),_0x2d73a7(0x3,_0x383603['Inject'](_0x383603[_0x135356(0x331)]))],_0x3cd002);function _0x51c0b3(_0x30a5ca){const _0x55e912=_0x135356,_0x35f973=new Map();return _0x30a5ca['forEach'](_0x325566=>{const _0x2c04e3=_0x1ca7;if(_0x35f973[_0x2c04e3(0x33e)](_0x325566[_0x2c04e3(0x385)])){const _0x24335b=_0x35f973[_0x2c04e3(0x41f)](_0x325566[_0x2c04e3(0x385)]);_0x24335b['name']+=',\x20'+_0x325566[_0x2c04e3(0x243)];}else _0x35f973[_0x2c04e3(0x3ac)](_0x325566[_0x2c04e3(0x385)],_0x325566);}),Array[_0x55e912(0x308)](_0x35f973['values']());}var _0x2f6ec3=function(){const _0x61d275=_0x135356;return _0x2f6ec3=Object[_0x61d275(0x277)]||function(_0x32400c){const _0x2d993a=_0x61d275;for(var _0x5c4100,_0x58de8e=0x1,_0x1eb621=arguments['length'];_0x58de8e<_0x1eb621;_0x58de8e++){_0x5c4100=arguments[_0x58de8e];for(var _0x48d370 in _0x5c4100)Object[_0x2d993a(0x2ea)][_0x2d993a(0x2d7)][_0x2d993a(0x384)](_0x5c4100,_0x48d370)&&(_0x32400c[_0x48d370]=_0x5c4100[_0x48d370]);}return _0x32400c;},_0x2f6ec3[_0x61d275(0x3a8)](this,arguments);},_0x1316e4=function(_0xcf7675,_0x10c7dd){const _0x395bde=_0x135356;var _0x5011ba={};for(var _0x8bf09c in _0xcf7675)Object[_0x395bde(0x2ea)]['hasOwnProperty'][_0x395bde(0x384)](_0xcf7675,_0x8bf09c)&&_0x10c7dd[_0x395bde(0x3c4)](_0x8bf09c)<0x0&&(_0x5011ba[_0x8bf09c]=_0xcf7675[_0x8bf09c]);if(_0xcf7675!=null&&typeof Object[_0x395bde(0x3e7)]==_0x395bde(0x444)){for(var _0x4a2edf=0x0,_0x8bf09c=Object[_0x395bde(0x3e7)](_0xcf7675);_0x4a2edf<_0x8bf09c[_0x395bde(0x256)];_0x4a2edf++)_0x10c7dd[_0x395bde(0x3c4)](_0x8bf09c[_0x4a2edf])<0x0&&Object[_0x395bde(0x2ea)][_0x395bde(0x408)][_0x395bde(0x384)](_0xcf7675,_0x8bf09c[_0x4a2edf])&&(_0x5011ba[_0x8bf09c[_0x4a2edf]]=_0xcf7675[_0x8bf09c[_0x4a2edf]]);}return _0x5011ba;},_0x2c9cf5=_0x1ea0ca[_0x135356(0x215)](function(_0x418cd8,_0x5e76f9){const _0x50c95f=_0x135356;var _0xb00e60=_0x418cd8[_0x50c95f(0x446)],_0x58eb1f=_0x418cd8['id'],_0x2baf2b=_0x418cd8[_0x50c95f(0x394)],_0x3a2584=_0x418cd8[_0x50c95f(0x1d1)],_0x973cf3=_0x1316e4(_0x418cd8,[_0x50c95f(0x446),'id',_0x50c95f(0x394),_0x50c95f(0x1d1)]),_0x4add17=_0x50c95f(0x209)[_0x50c95f(0x21b)](_0x58eb1f,'\x20')['concat'](_0x2baf2b||'')[_0x50c95f(0x28d)](),_0x1c5391=_0x1ea0ca[_0x50c95f(0x37d)]('_'['concat'](_0xff3bca()));return _0x3ff70b(_0xb00e60,''[_0x50c95f(0x21b)](_0x58eb1f),{'defIds':_0xb00e60[_0x50c95f(0x286)],'idSuffix':_0x1c5391[_0x50c95f(0x2b9)]},_0x2f6ec3({'ref':_0x5e76f9,'className':_0x4add17},_0x973cf3),_0x3a2584);});function _0x3ff70b(_0x5448fc,_0x56f4cc,_0x632b66,_0x3b47f9,_0x3bae1b){const _0x23d5db=_0x135356;return _0x1ea0ca['createElement'](_0x5448fc[_0x23d5db(0x367)],_0x2f6ec3(_0x2f6ec3({'key':_0x56f4cc},_0x33fbc9(_0x5448fc,_0x632b66,_0x3bae1b)),_0x3b47f9),(_0x3cd972(_0x5448fc,_0x632b66)['children']||[])[_0x23d5db(0x3fa)](function(_0x20d5b9,_0x49364d){const _0x48dc23=_0x23d5db;return _0x3ff70b(_0x20d5b9,''[_0x48dc23(0x21b)](_0x56f4cc,'-')[_0x48dc23(0x21b)](_0x5448fc[_0x48dc23(0x367)],'-')[_0x48dc23(0x21b)](_0x49364d),_0x632b66,void 0x0,_0x3bae1b);}));}function _0x33fbc9(_0x154389,_0x5d44df,_0x3a2081){const _0x249d8a=_0x135356;var _0x2f77fb=_0x2f6ec3({},_0x154389['attrs']);_0x3a2081!=null&&_0x3a2081['colorChannel1']&&_0x2f77fb[_0x249d8a(0x419)]===_0x249d8a(0x288)&&(_0x2f77fb[_0x249d8a(0x419)]=_0x3a2081[_0x249d8a(0x288)]),_0x154389['tag']==='mask'&&_0x2f77fb['id']&&(_0x2f77fb['id']=_0x2f77fb['id']+_0x5d44df[_0x249d8a(0x1e1)]),Object['entries'](_0x2f77fb)['forEach'](function(_0x3d94dd){const _0x333a6a=_0x249d8a;var _0x42475c=_0x3d94dd[0x0],_0xa88d79=_0x3d94dd[0x1];_0x42475c===_0x333a6a(0x364)&&typeof _0xa88d79==_0x333a6a(0x3f6)&&(_0x2f77fb[_0x42475c]=_0xa88d79[_0x333a6a(0x390)](/url\(#(.*)\)/,_0x333a6a(0x323)['concat'](_0x5d44df['idSuffix'],')')));});var _0x59ac70=_0x5d44df['defIds'];return!_0x59ac70||_0x59ac70[_0x249d8a(0x256)]===0x0||(_0x154389[_0x249d8a(0x367)]===_0x249d8a(0x40d)&&_0x2f77fb['xlink:href']&&(_0x2f77fb[_0x249d8a(0x306)]=_0x2f77fb[_0x249d8a(0x306)]+_0x5d44df[_0x249d8a(0x1e1)]),Object[_0x249d8a(0x210)](_0x2f77fb)['forEach'](function(_0x3333c3){const _0xf34215=_0x249d8a;var _0x1ed617=_0x3333c3[0x0],_0x44ede6=_0x3333c3[0x1];typeof _0x44ede6==_0xf34215(0x3f6)&&(_0x2f77fb[_0x1ed617]=_0x44ede6[_0xf34215(0x390)](/url\(#(.*)\)/,_0xf34215(0x323)[_0xf34215(0x21b)](_0x5d44df[_0xf34215(0x1e1)],')')));})),_0x2f77fb;}function _0x3cd972(_0x392410,_0x48d7be){const _0x20edc9=_0x135356;var _0x531953,_0x1651ee=_0x48d7be[_0x20edc9(0x286)];return!_0x1651ee||_0x1651ee['length']===0x0?_0x392410:_0x392410[_0x20edc9(0x367)]===_0x20edc9(0x2ce)&&(!((_0x531953=_0x392410[_0x20edc9(0x3a1)])===null||_0x531953===void 0x0)&&_0x531953[_0x20edc9(0x256)])?_0x2f6ec3(_0x2f6ec3({},_0x392410),{'children':_0x392410[_0x20edc9(0x3a1)]['map'](function(_0x159d03){const _0x28381c=_0x20edc9;return typeof _0x159d03[_0x28381c(0x422)]['id']=='string'&&_0x1651ee&&_0x1651ee[_0x28381c(0x3c4)](_0x159d03[_0x28381c(0x422)]['id'])>-0x1?_0x2f6ec3(_0x2f6ec3({},_0x159d03),{'attrs':_0x2f6ec3(_0x2f6ec3({},_0x159d03[_0x28381c(0x422)]),{'id':_0x159d03['attrs']['id']+_0x48d7be[_0x28381c(0x1e1)]})}):_0x159d03;})}):_0x392410;}function _0xff3bca(){const _0x22beaf=_0x135356;return Math[_0x22beaf(0x352)]()[_0x22beaf(0x2f7)](0x24)['substring'](0x2,0x8);}_0x2c9cf5['displayName']=_0x135356(0x417);var _0x5bdbb7={'tag':'svg','attrs':{'fill':_0x135356(0x20e),'viewBox':_0x135356(0x400),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x135356(0x2a3)},'children':[{'tag':_0x135356(0x34d),'attrs':{'stroke':'currentColor','d':_0x135356(0x285),'strokeLinecap':_0x135356(0x395),'strokeLinejoin':_0x135356(0x395),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x135356(0x3df),'attrs':{'id':_0x135356(0x386)},'children':[{'tag':'path','attrs':{'fill':_0x135356(0x3ff),'d':_0x135356(0x30c)}}]}]}],'defIds':[_0x135356(0x386)]},_0x569717=_0x1ea0ca[_0x135356(0x215)](function(_0x2527b4,_0x294bb9){const _0x254b3c=_0x135356;return _0x1ea0ca['createElement'](_0x2c9cf5,Object[_0x254b3c(0x277)]({},_0x2527b4,{'id':'off-line-single','ref':_0x294bb9,'icon':_0x5bdbb7}));});_0x569717['displayName']=_0x135356(0x403);var _0x45c801={'tag':_0x135356(0x2d3),'attrs':{'fill':'none','viewBox':_0x135356(0x1f2),'width':_0x135356(0x346),'height':_0x135356(0x346)},'children':[{'tag':'g','attrs':{'clipPath':_0x135356(0x291)},'children':[{'tag':_0x135356(0x34d),'attrs':{'stroke':'currentColor','d':_0x135356(0x2be),'strokeLinecap':'round','strokeLinejoin':_0x135356(0x395),'strokeWidth':1.2}}]},{'tag':_0x135356(0x2ce),'attrs':{},'children':[{'tag':_0x135356(0x3df),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x135356(0x34d),'attrs':{'fill':_0x135356(0x3ff),'d':'M0\x200H16V16H0z','transform':_0x135356(0x433)}}]}]}],'defIds':[_0x135356(0x3de)]},_0x13f542=_0x1ea0ca[_0x135356(0x215)](function(_0x6a441c,_0x21cc90){const _0x6ff1d5=_0x135356;return _0x1ea0ca[_0x6ff1d5(0x3ee)](_0x2c9cf5,Object['assign']({},_0x6a441c,{'id':_0x6ff1d5(0x402),'ref':_0x21cc90,'icon':_0x45c801}));});_0x13f542[_0x135356(0x27c)]=_0x135356(0x415);function _0x133751(_0x24927b){const _0x173c8c=_0x135356;switch(_0x24927b){case _0x1aad47[_0x173c8c(0x434)][_0x173c8c(0x339)]:return _0x173c8c(0x21f);case _0x1aad47[_0x173c8c(0x434)][_0x173c8c(0x2f6)]:return _0x173c8c(0x2fb);case _0x1aad47[_0x173c8c(0x434)]['FETCH_MISS']:return _0x173c8c(0x427);case _0x1aad47[_0x173c8c(0x434)][_0x173c8c(0x3c1)]:return _0x173c8c(0x2b8);case _0x1aad47[_0x173c8c(0x434)][_0x173c8c(0x3b2)]:case _0x1aad47[_0x173c8c(0x434)][_0x173c8c(0x328)]:return _0x173c8c(0x41a);case _0x1aad47['CollaborationStatus']['SYNCED']:case _0x1aad47[_0x173c8c(0x434)][_0x173c8c(0x320)]:return _0x173c8c(0x273);}}function _0x58c9da(_0x154683){const _0x459607=_0x135356,{status$:_0x5bca4b}=_0x154683,_0x398113=_0x56e642['useObservable'](_0x5bca4b,_0x1aad47[_0x459607(0x434)][_0x459607(0x3c1)]),_0x454c0b=_0x56e642[_0x459607(0x440)](_0x383603[_0x459607(0x3b3)]),_0x1ff1b8=_0x56e642[_0x459607(0x440)](_0x1aad47['CollaborationSessionService']),_0x568eb6=_0x398113!==_0x1aad47['CollaborationStatus']['OFFLINE'],_0x5bbdf4=_0x454c0b['t'](_0x133751(_0x398113)),_0xecf21b=_0x568eb6?_0x3b452b[_0x459607(0x2d1)](_0x13f542,{}):_0x3b452b[_0x459607(0x2d1)](_0x569717,{}),_0x16de6e=_0x1ea0ca[_0x459607(0x23a)](()=>{_0x568eb6||_0x1ff1b8['reconnect']();},[_0x568eb6,_0x1ff1b8]);function _0x21f052(){const _0x15205b=_0x459607;return _0x3b452b[_0x15205b(0x447)]('div',{'className':_0x15205b(0x345),'onClick':_0x16de6e,'children':[_0x3b452b[_0x15205b(0x2d1)](_0x15205b(0x3a3),{'className':_0x161d18[_0x15205b(0x376)](_0x15205b(0x257),_0x568eb6?_0x15205b(0x31a):_0x15205b(0x1de)),'children':_0xecf21b}),_0x3b452b[_0x15205b(0x2d1)](_0x15205b(0x3a3),{'className':_0x15205b(0x1cc),'children':_0x5bbdf4})]});}return _0x568eb6?_0x21f052():_0x3b452b[_0x459607(0x2d1)](_0x161d18[_0x459607(0x1da)],{'title':_0x454c0b['t']('collab-client.tooltip.reconnect'),'children':_0x21f052()});}var _0xb3164c=Object[_0x135356(0x23b)],_0x1caae3=(_0x16e04b,_0x1c939b,_0x579fb9,_0x276202)=>{const _0xc6e5f=_0x135356;for(var _0x40cd18=_0x276202>0x1?void 0x0:_0x276202?_0xb3164c(_0x1c939b,_0x579fb9):_0x1c939b,_0x52d21a=_0x16e04b[_0xc6e5f(0x256)]-0x1,_0x31a2fc;_0x52d21a>=0x0;_0x52d21a--)(_0x31a2fc=_0x16e04b[_0x52d21a])&&(_0x40cd18=_0x31a2fc(_0x40cd18)||_0x40cd18);return _0x40cd18;},_0x152c63=(_0x169fc8,_0x22c88a)=>(_0xb6c801,_0x2d0d55)=>_0x22c88a(_0xb6c801,_0x2d0d55,_0x169fc8);_0x116d4d[_0x135356(0x2d5)]=class extends _0x383603['Disposable']{constructor(_0x1599e2,_0xeb9a33,_0x31b5c3,_0x22d598){const _0x2fa5ef=_0x135356;super(),_0x45f451(this,_0x2fa5ef(0x26a),new _0x4d1a54['BehaviorSubject'](_0x1aad47[_0x2fa5ef(0x434)][_0x2fa5ef(0x3c1)])),(this[_0x2fa5ef(0x2bb)]=_0x1599e2,this[_0x2fa5ef(0x254)]=_0xeb9a33,this[_0x2fa5ef(0x28c)]=_0x31b5c3,this[_0x2fa5ef(0x242)]=_0x22d598,this[_0x2fa5ef(0x3cc)](),this[_0x2fa5ef(0x1c7)]());}[_0x135356(0x1c7)](){const _0x1e0b10=_0x135356;this[_0x1e0b10(0x372)](this['_univerInstanceService'][_0x1e0b10(0x343)][_0x1e0b10(0x267)](_0x4d1a54[_0x1e0b10(0x378)](()=>{const _0x11c511=_0x1e0b10,_0x1d3f6b=this[_0x11c511(0x2bb)][_0x11c511(0x279)]();return _0x1d3f6b?this[_0x11c511(0x28c)]['getCollabEntity$'](_0x1d3f6b['getUnitId']()):_0x4d1a54['of'](null);}),_0x4d1a54[_0x1e0b10(0x378)](_0x4b695b=>_0x4b695b?_0x4b695b[_0x1e0b10(0x296)]:_0x4d1a54['of'](_0x1aad47[_0x1e0b10(0x434)][_0x1e0b10(0x3c1)])))[_0x1e0b10(0x312)](_0x120a0f=>{const _0x23501e=_0x1e0b10;this[_0x23501e(0x26a)][_0x23501e(0x1db)](_0x120a0f);}));}[_0x135356(0x3cc)](){const _0x565433=_0x135356;this[_0x565433(0x372)](this[_0x565433(0x242)][_0x565433(0x240)](_0x56e642[_0x565433(0x1b3)][_0x565433(0x1cd)],()=>_0x56e642[_0x565433(0x37c)](_0x3ca503({'status$':this[_0x565433(0x26a)][_0x565433(0x3e4)]()}),this[_0x565433(0x254)])));}},_0x116d4d[_0x135356(0x2d5)]=_0x1caae3([_0x152c63(0x0,_0x383603[_0x135356(0x421)]),_0x152c63(0x1,_0x383603['Inject'](_0x383603[_0x135356(0x3b1)])),_0x152c63(0x2,_0x383603[_0x135356(0x217)](_0x1aad47[_0x135356(0x33c)])),_0x152c63(0x3,_0x56e642[_0x135356(0x3d5)])],_0x116d4d[_0x135356(0x2d5)]);function _0x3ca503(_0x35e559){const {status$:_0x261b7a}=_0x35e559;return function(){const _0x11ea7c=_0x1ca7;return _0x3b452b[_0x11ea7c(0x2d1)](_0x58c9da,{'status$':_0x261b7a});};}var _0x4981ce=Object['getOwnPropertyDescriptor'],_0x1f3c42=(_0x46ddd6,_0xb0bd83,_0x54c0c6,_0x444ce4)=>{const _0x1dad18=_0x135356;for(var _0x9bc3ed=_0x444ce4>0x1?void 0x0:_0x444ce4?_0x4981ce(_0xb0bd83,_0x54c0c6):_0xb0bd83,_0x28db3a=_0x46ddd6[_0x1dad18(0x256)]-0x1,_0x1637a9;_0x28db3a>=0x0;_0x28db3a--)(_0x1637a9=_0x46ddd6[_0x28db3a])&&(_0x9bc3ed=_0x1637a9(_0x9bc3ed)||_0x9bc3ed);return _0x9bc3ed;},_0x327c2c=(_0x425d7b,_0x5c5c84)=>(_0x3198e3,_0xd953ac)=>_0x5c5c84(_0x3198e3,_0xd953ac,_0x425d7b);let _0x5ecd56=class extends _0x383603[_0x135356(0x3d4)]{constructor(_0x5b0c9e,_0x2cd258,_0x4d3538,_0x4b19b9,_0x196ba8,_0x23aa92){const _0x4872ea=_0x135356;super(),this[_0x4872ea(0x2df)]=_0x5b0c9e,this['_localCacheService']=_0x2cd258,this['_collaborationUIEventService']=_0x4d3538,this[_0x4872ea(0x25b)]=_0x4b19b9,this['_notificationService']=_0x196ba8,this['_localeService']=_0x23aa92,this[_0x4872ea(0x1dc)](),this['_initEvent']();}[_0x135356(0x1dc)](){const _0x4a0dfb=_0x135356;this[_0x4a0dfb(0x372)](this[_0x4a0dfb(0x2df)][_0x4a0dfb(0x33b)](()=>{const _0x38c564=_0x4a0dfb;if(this[_0x38c564(0x2f8)][_0x38c564(0x2c1)][_0x38c564(0x363)])return this[_0x38c564(0x29f)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x135356(0x3dd)](){const _0x25a464=_0x135356;this[_0x25a464(0x372)](this['_collaborationUIEventService']['event$'][_0x25a464(0x312)](_0x18959d=>{const _0x358c3b=_0x25a464;_0x18959d['id']===_0x1aad47[_0x358c3b(0x1f4)]['OTHER_CLIENT_EDITING']&&this['_messageService'][_0x358c3b(0x439)]({'type':_0x161d18[_0x358c3b(0x2ac)]['Warning'],'content':this[_0x358c3b(0x29f)]['t'](_0x358c3b(0x27e))}),_0x18959d['id']===_0x1aad47[_0x358c3b(0x1f4)]['CLOSE_ROOM']&&this[_0x358c3b(0x25b)][_0x358c3b(0x439)]({'type':_0x161d18[_0x358c3b(0x2ac)]['Warning'],'content':this[_0x358c3b(0x29f)]['t'](_0x358c3b(0x2b4))}),_0x18959d['id']===_0x1aad47[_0x358c3b(0x1f4)][_0x358c3b(0x27b)]&&this['_notificationService'][_0x358c3b(0x439)]({'title':this[_0x358c3b(0x29f)]['t'](_0x358c3b(0x255)),'content':this['_localeService']['t'](_0x358c3b(0x3ad)),'type':_0x358c3b(0x1fe),'duration':0x0}),_0x18959d['id']===_0x1aad47[_0x358c3b(0x1f4)][_0x358c3b(0x2f6)]&&this['_messageService'][_0x358c3b(0x439)]({'type':_0x161d18[_0x358c3b(0x2ac)]['Error'],'content':this['_localeService']['t'](_0x358c3b(0x2b4))+'('+_0x18959d[_0x358c3b(0x1ec)]+')'}),_0x18959d['id']===_0x1aad47[_0x358c3b(0x1f4)]['JOIN_ROOM_FAILED']&&this['_messageService'][_0x358c3b(0x439)]({'type':_0x161d18[_0x358c3b(0x2ac)]['Warning'],'content':this[_0x358c3b(0x29f)]['t'](_0x18959d[_0x358c3b(0x1ec)]||'')}),_0x18959d['id']===_0x1aad47[_0x358c3b(0x1f4)][_0x358c3b(0x237)]&&this[_0x358c3b(0x25b)][_0x358c3b(0x439)]({'type':_0x161d18[_0x358c3b(0x2ac)][_0x358c3b(0x3b0)],'content':this['_localeService']['t'](_0x358c3b(0x266))}),_0x18959d['id']===_0x1aad47[_0x358c3b(0x1f4)][_0x358c3b(0x34e)]&&this[_0x358c3b(0x25b)][_0x358c3b(0x439)]({'type':_0x161d18['MessageType']['Error'],'content':this['_localeService']['t']('session.connection-failed')}),_0x18959d['id']===_0x1aad47[_0x358c3b(0x1f4)][_0x358c3b(0x207)]&&this[_0x358c3b(0x25b)][_0x358c3b(0x439)]({'type':_0x161d18[_0x358c3b(0x2ac)]['Error'],'content':this[_0x358c3b(0x29f)]['t'](_0x358c3b(0x233))});}));}};_0x5ecd56=_0x1f3c42([_0x327c2c(0x0,_0x56e642[_0x135356(0x32e)]),_0x327c2c(0x1,_0x1aad47[_0x135356(0x251)]),_0x327c2c(0x2,_0x383603[_0x135356(0x217)](_0x1aad47[_0x135356(0x342)])),_0x327c2c(0x3,_0x56e642['IMessageService']),_0x327c2c(0x4,_0x56e642['INotificationService']),_0x327c2c(0x5,_0x383603[_0x135356(0x217)](_0x383603[_0x135356(0x3b3)]))],_0x5ecd56);const _0x531fac=_0x135356(0x22b),_0x2feb86={},_0x4179ff=_0x383603[_0x135356(0x206)](_0x135356(0x290));var _0x45f7c4=Object[_0x135356(0x23b)],_0x4bd67d=(_0x233d41,_0x1cffbf,_0x1a0bc4,_0x9fd139)=>{const _0x47635a=_0x135356;for(var _0x52939d=_0x9fd139>0x1?void 0x0:_0x9fd139?_0x45f7c4(_0x1cffbf,_0x1a0bc4):_0x1cffbf,_0x2d7ca2=_0x233d41[_0x47635a(0x256)]-0x1,_0x4ad50a;_0x2d7ca2>=0x0;_0x2d7ca2--)(_0x4ad50a=_0x233d41[_0x2d7ca2])&&(_0x52939d=_0x4ad50a(_0x52939d)||_0x52939d);return _0x52939d;},_0x2c02c6=(_0x377e18,_0x333d6f)=>(_0x3ecbb5,_0x5bca8c)=>_0x333d6f(_0x3ecbb5,_0x5bca8c,_0x377e18);_0x116d4d[_0x135356(0x272)]=class extends _0x383603[_0x135356(0x3da)]{constructor(_0xa3458e,_0x4ad402,_0x3ddd05,_0x737665,_0x4b7c13){const _0x2b4afa=_0x135356;super(),this[_0x2b4afa(0x280)]=_0xa3458e,this[_0x2b4afa(0x293)]=_0x4ad402,this[_0x2b4afa(0x407)]=_0x3ddd05,this[_0x2b4afa(0x316)]=_0x737665,_0x4b7c13?_0x4b7c13==null||_0x4b7c13[_0x2b4afa(0x2ec)]()[_0x2b4afa(0x387)](()=>this[_0x2b4afa(0x426)]()):(this['_logService'][_0x2b4afa(0x1b6)](_0x2b4afa(0x318),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x2b4afa(0x426)]());}async[_0x135356(0x426)](){const _0x3d09f1=_0x135356,_0x5a75c1=this[_0x3d09f1(0x280)][_0x3d09f1(0x248)](_0x3d09f1(0x2d9)),_0x5f3cbd=this[_0x3d09f1(0x280)][_0x3d09f1(0x248)](_0x3d09f1(0x35b)),_0x39d141=this[_0x3d09f1(0x280)]['getParam'](_0x3d09f1(0x409));if(!_0x5a75c1||!_0x5f3cbd){this['_logService']['debug']('[CollaborationDataLoaderController]',_0x3d09f1(0x40f));return;}const _0x2a2c22=await this[_0x3d09f1(0x316)][_0x3d09f1(0x1c9)](_0x5a75c1,Number(_0x5f3cbd),_0x39d141);_0x2a2c22&&_0x2a2c22 instanceof _0x383603[_0x3d09f1(0x3b4)]&&this['_setupSubUnitSync'](_0x2a2c22);}async['_setupSubUnitSync'](_0x41bf79){const _0x15f573=_0x135356;await this[_0x15f573(0x3f3)](_0x41bf79),_0x41bf79[_0x15f573(0x1e3)][_0x15f573(0x267)](_0x4d1a54[_0x15f573(0x3bb)](this[_0x15f573(0x3a6)]))[_0x15f573(0x312)](_0x521b0e=>{const _0x21e590=_0x15f573;_0x521b0e&&this[_0x21e590(0x38c)](_0x521b0e);}),this[_0x15f573(0x280)][_0x15f573(0x2f5)][_0x15f573(0x267)](_0x4d1a54[_0x15f573(0x3bb)](this['dispose$']))[_0x15f573(0x312)](()=>this['_updateSubUnitFromURLParams'](_0x41bf79));}[_0x135356(0x38c)](_0x5d3112,_0x3efe30=!0x1){const _0x4af2be=_0x135356,_0x1d7748=this['_urlService'][_0x4af2be(0x248)](_0x4af2be(0x409));_0x5d3112['getSheetId']()!==_0x1d7748&&this[_0x4af2be(0x280)][_0x4af2be(0x269)](_0x4af2be(0x409),_0x5d3112['getSheetId'](),_0x3efe30);}async[_0x135356(0x3f3)](_0x134b18){const _0x5d4b69=_0x135356;var _0xaf82b1;const _0x307207=this[_0x5d4b69(0x280)][_0x5d4b69(0x248)](_0x5d4b69(0x409));if(!_0x307207||!_0x134b18['getSheetBySheetId'](_0x307207)){const _0x2a29c8=_0x134b18['getUnhiddenWorksheets']()[0x0],_0x5f2e1f=_0x134b18['getSheetBySheetId'](_0x2a29c8);if(!_0x5f2e1f)return;this[_0x5d4b69(0x38c)](_0x5f2e1f,!0x0),await this[_0x5d4b69(0x407)][_0x5d4b69(0x442)](_0x29f5a3[_0x5d4b69(0x24b)]['id'],{'unitId':_0x134b18[_0x5d4b69(0x1e9)](),'subUnitId':_0x2a29c8});return;}((_0xaf82b1=_0x134b18[_0x5d4b69(0x20b)]())==null?void 0x0:_0xaf82b1[_0x5d4b69(0x31f)]())!==_0x307207&&await this[_0x5d4b69(0x407)][_0x5d4b69(0x442)](_0x29f5a3[_0x5d4b69(0x24b)]['id'],{'unitId':_0x134b18[_0x5d4b69(0x1e9)](),'subUnitId':_0x307207});}},_0x116d4d[_0x135356(0x272)]=_0x4bd67d([_0x2c02c6(0x0,_0x4179ff),_0x2c02c6(0x1,_0x383603[_0x135356(0x28b)]),_0x2c02c6(0x2,_0x383603[_0x135356(0x250)]),_0x2c02c6(0x3,_0x383603['Inject'](_0x1aad47['DataLoaderService'])),_0x2c02c6(0x4,_0x383603[_0x135356(0x3ab)](_0x6d915e[_0x135356(0x23f)]))],_0x116d4d[_0x135356(0x272)]);var _0x30dd88=Object[_0x135356(0x23b)],_0x49115a=(_0x5befee,_0x569311,_0x4668c8,_0x1d8af9)=>{const _0x3da94f=_0x135356;for(var _0x27f874=_0x1d8af9>0x1?void 0x0:_0x1d8af9?_0x30dd88(_0x569311,_0x4668c8):_0x569311,_0x1bee0f=_0x5befee[_0x3da94f(0x256)]-0x1,_0x36b5a0;_0x1bee0f>=0x0;_0x1bee0f--)(_0x36b5a0=_0x5befee[_0x1bee0f])&&(_0x27f874=_0x36b5a0(_0x27f874)||_0x27f874);return _0x27f874;},_0x53e3af=(_0x3b4cd9,_0x410842)=>(_0x1de593,_0x3498b4)=>_0x410842(_0x1de593,_0x3498b4,_0x3b4cd9);let _0x36429d=class{constructor(_0x11abcf,_0xf68f4a,_0x1173e5){const _0x9d9408=_0x135356;this['_injector']=_0x11abcf,this[_0x9d9408(0x3e2)]=_0xf68f4a,this[_0x9d9408(0x281)]=_0x1173e5;}[_0x135356(0x392)](_0x397de1){const _0xc04ef7=_0x135356;this[_0xc04ef7(0x2d0)](_0x397de1),this[_0xc04ef7(0x35e)](_0x397de1);}[_0x135356(0x26b)](_0x7515a5){const _0x297a52=_0x135356,{unitID:_0x4dae1a}=_0x7515a5,_0x57a5b7=this[_0x297a52(0x281)]['getRenderById'](_0x4dae1a)['with'](_0x3770d3['DocIMEInputManagerService']),{redoCache:_0x1415c1}=_0x57a5b7[_0x297a52(0x359)]();if(_0x1415c1[_0x297a52(0x256)]===0x0)return _0x7515a5;let _0x5d9f3f=_0x383603[_0x297a52(0x35f)][_0x297a52(0x413)](_0x7515a5[_0x297a52(0x305)][0x0]);for(let _0x2ca1a6=0x0;_0x2ca1a6<_0x1415c1['length'];_0x2ca1a6++){const _0x558d9e={'id':'doc.mutation.rich-text-editing','params':{..._0x1415c1[_0x2ca1a6]}},_0x42cbb3=this['_transformService'][_0x297a52(0x26e)](_0x5d9f3f,_0x558d9e,!0x1);if(_0x10deac[_0x297a52(0x3a4)](_0x42cbb3))throw _0x42cbb3[_0x297a52(0x1fe)];_0x5d9f3f=_0x42cbb3['m1Prime'];}return{..._0x383603['Tools'][_0x297a52(0x413)](_0x7515a5),'mutations':[_0x5d9f3f]};}['_transformUndoRedoStack'](_0x2641ab){const _0x1b8750=_0x135356,{unitID:_0x56e423}=_0x2641ab,_0x51bba5=this[_0x1b8750(0x281)][_0x1b8750(0x26f)](_0x56e423)[_0x1b8750(0x3c2)](_0x3770d3[_0x1b8750(0x1c8)]),{undoCache:_0x1a8fba,redoCache:_0x377566}=_0x51bba5[_0x1b8750(0x359)]();if(_0x1a8fba[_0x1b8750(0x256)]===0x0||_0x377566[_0x1b8750(0x256)]===0x0)return;const _0x57cc1a=[],_0x37ba55=[];let _0x1c53e5=_0x383603[_0x1b8750(0x35f)]['deepClone'](_0x2641ab[_0x1b8750(0x305)][0x0]),_0x2a6f1b=_0x383603['Tools']['deepClone'](_0x2641ab[_0x1b8750(0x305)][0x0]);for(let _0x142bcf=_0x1a8fba['length']-0x1;_0x142bcf>=0x0;_0x142bcf--){const _0x49069b={'id':_0x1b8750(0x32b),'params':{..._0x1a8fba[_0x142bcf]}},_0x3cbf26={'id':_0x1b8750(0x32b),'params':{..._0x377566[_0x142bcf]}},_0x53a950=this[_0x1b8750(0x3e2)][_0x1b8750(0x26e)](_0x1c53e5,_0x49069b,!0x1),_0x574089=this[_0x1b8750(0x3e2)][_0x1b8750(0x26e)](_0x2a6f1b,_0x3cbf26,!0x1);if(_0x10deac[_0x1b8750(0x3a4)](_0x53a950))throw _0x53a950[_0x1b8750(0x1fe)];if(_0x10deac['isTransformMutationFailure'](_0x574089))throw _0x574089[_0x1b8750(0x1fe)];_0x57cc1a[_0x1b8750(0x396)](_0x53a950['m2Prime'][_0x1b8750(0x358)]),_0x37ba55[_0x1b8750(0x396)](_0x574089[_0x1b8750(0x381)][_0x1b8750(0x358)]),_0x1c53e5=_0x53a950[_0x1b8750(0x22a)],_0x2a6f1b=_0x574089[_0x1b8750(0x22a)];}_0x51bba5[_0x1b8750(0x42e)]({'undoCache':_0x57cc1a,'redoCache':_0x37ba55});}['_transformPreviousActiveRange'](_0x128a2f){const _0x5a94d6=_0x135356,{unitID:_0xe9b74a}=_0x128a2f,_0x53094e=this['_renderManagerService'][_0x5a94d6(0x26f)](_0xe9b74a)[_0x5a94d6(0x3c2)](_0x3770d3['DocIMEInputManagerService']),_0x25953b=_0x53094e[_0x5a94d6(0x1cf)]();if(_0x25953b==null)return;const _0x1b30d1=[{'id':_0x5a94d6(0x32b),'params':{'unitId':_0x128a2f[_0x5a94d6(0x212)],'actions':null,'textRanges':[_0x25953b]}}],_0x5306e4=this[_0x5a94d6(0x3e2)][_0x5a94d6(0x25a)](_0x128a2f,_0x1b30d1);if(!_0x10deac[_0x5a94d6(0x3e5)](_0x5306e4))throw _0x5306e4[_0x5a94d6(0x1fe)];const _0x12e352=_0x5306e4[_0x5a94d6(0x381)][0x0][_0x5a94d6(0x358)][_0x5a94d6(0x3d7)];Array[_0x5a94d6(0x1f1)](_0x12e352)&&_0x12e352[_0x5a94d6(0x256)]&&_0x53094e[_0x5a94d6(0x21c)](_0x12e352[0x0]);}};_0x36429d=_0x49115a([_0x53e3af(0x0,_0x383603[_0x135356(0x217)](_0x383603['Injector'])),_0x53e3af(0x1,_0x10deac[_0x135356(0x2a7)]),_0x53e3af(0x2,_0x45ed6b[_0x135356(0x307)])],_0x36429d);var _0x23d967=Object[_0x135356(0x23b)],_0x2d3a6e=(_0x32edbc,_0x1c875a,_0x13bc5a,_0x1140bf)=>{const _0x4ade11=_0x135356;for(var _0x314d1c=_0x1140bf>0x1?void 0x0:_0x1140bf?_0x23d967(_0x1c875a,_0x13bc5a):_0x1c875a,_0x539a98=_0x32edbc[_0x4ade11(0x256)]-0x1,_0x5f3d84;_0x539a98>=0x0;_0x539a98--)(_0x5f3d84=_0x32edbc[_0x539a98])&&(_0x314d1c=_0x5f3d84(_0x314d1c)||_0x314d1c);return _0x314d1c;},_0x38f85c=(_0x3c53f1,_0x5bef04)=>(_0x11e7b5,_0x514582)=>_0x5bef04(_0x11e7b5,_0x514582,_0x3c53f1);let _0x39b001=class{constructor(_0x4f8069,_0x23d527,_0x220022){const _0x279604=_0x135356;this[_0x279604(0x254)]=_0x4f8069,this['_transformService']=_0x23d527,this[_0x279604(0x2ba)]=_0x220022;}[_0x135356(0x25c)](_0x2a1c9f){const _0x5af881=_0x135356;this[_0x5af881(0x365)](_0x2a1c9f);}['transformRemoteChangeset'](_0x40f24e){const _0x30ac99=_0x135356,{unitID:_0xff72c8}=_0x40f24e,{collaboration:_0x5e356d}=this[_0x30ac99(0x2ba)][_0x30ac99(0x32c)](_0xff72c8);if(_0x5e356d[_0x30ac99(0x256)]===0x0)return _0x40f24e;let _0x186e5e=_0x383603['Tools'][_0x30ac99(0x413)](_0x40f24e['mutations'][0x0]);for(let _0xb5ad6c=0x0;_0xb5ad6c<_0x5e356d[_0x30ac99(0x256)];_0xb5ad6c++){const _0x1e5872={'id':_0x30ac99(0x32b),'params':{'unitId':_0x5e356d[_0xb5ad6c]['unitId'],..._0x5e356d[_0xb5ad6c]['redoState']}},_0x15895d=this['_transformService'][_0x30ac99(0x26e)](_0x186e5e,_0x1e5872,!0x1);if(_0x10deac['isTransformMutationFailure'](_0x15895d))throw _0x15895d[_0x30ac99(0x1fe)];_0x186e5e=_0x15895d[_0x30ac99(0x22a)];}return{..._0x383603[_0x30ac99(0x35f)][_0x30ac99(0x413)](_0x40f24e),'mutations':[_0x186e5e]};}['_transformHistoryAndStateStack'](_0x1ab581){const _0x21c23f=_0x135356,{unitID:_0x233931}=_0x1ab581,{history:_0x2a514b,collaboration:_0x102914}=this['_docStateChangeManagerService']['getStateCache'](_0x233931);if(_0x2a514b[_0x21c23f(0x256)]===0x0&&_0x102914[_0x21c23f(0x256)]===0x0)return;const _0x25e735=[],_0x47ec36=[];let _0x5c9265=_0x383603[_0x21c23f(0x35f)][_0x21c23f(0x413)](_0x1ab581['mutations'][0x0]),_0x37803f=_0x383603[_0x21c23f(0x35f)][_0x21c23f(0x413)](_0x1ab581[_0x21c23f(0x305)][0x0]);for(let _0x44bc27=_0x2a514b[_0x21c23f(0x256)]-0x1;_0x44bc27>=0x0;_0x44bc27--){const _0x5cb992={'id':_0x21c23f(0x32b),'params':{'unitId':_0x2a514b[_0x44bc27][_0x21c23f(0x2d6)],..._0x2a514b[_0x44bc27][_0x21c23f(0x278)]}},_0x1df4ce={'id':_0x21c23f(0x32b),'params':{'unitId':_0x2a514b[_0x44bc27]['unitId'],..._0x2a514b[_0x44bc27]['redoState']}},_0x5b040a=this[_0x21c23f(0x3e2)]['transformMutation'](_0x5c9265,_0x5cb992,!0x1),_0x4af244=this['_transformService']['transformMutation'](_0x37803f,_0x1df4ce,!0x1);if(_0x10deac['isTransformMutationFailure'](_0x5b040a))throw _0x5b040a['error'];if(_0x10deac[_0x21c23f(0x3a4)](_0x4af244))throw _0x4af244['error'];_0x25e735[_0x21c23f(0x396)]({..._0x2a514b[_0x44bc27],'undoState':_0x5b040a[_0x21c23f(0x381)][_0x21c23f(0x358)],'redoState':_0x4af244['m2Prime'][_0x21c23f(0x358)]}),_0x5c9265=_0x5b040a['m1Prime'],_0x37803f=_0x4af244[_0x21c23f(0x22a)];}_0x5c9265=_0x383603[_0x21c23f(0x35f)][_0x21c23f(0x413)](_0x1ab581[_0x21c23f(0x305)][0x0]),_0x37803f=_0x383603[_0x21c23f(0x35f)][_0x21c23f(0x413)](_0x1ab581[_0x21c23f(0x305)][0x0]);for(let _0x4fb642=_0x102914[_0x21c23f(0x256)]-0x1;_0x4fb642>=0x0;_0x4fb642--){const _0x52fc07={'id':_0x21c23f(0x32b),'params':{'unitId':_0x102914[_0x4fb642][_0x21c23f(0x2d6)],..._0x102914[_0x4fb642][_0x21c23f(0x278)]}},_0x4ee476={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x102914[_0x4fb642][_0x21c23f(0x2d6)],..._0x102914[_0x4fb642]['redoState']}},_0x391797=this[_0x21c23f(0x3e2)][_0x21c23f(0x26e)](_0x5c9265,_0x52fc07,!0x1),_0x230680=this[_0x21c23f(0x3e2)][_0x21c23f(0x26e)](_0x37803f,_0x4ee476,!0x1);if(_0x10deac[_0x21c23f(0x3a4)](_0x391797))throw _0x391797['error'];if(_0x10deac['isTransformMutationFailure'](_0x230680))throw _0x230680['error'];_0x47ec36[_0x21c23f(0x396)]({..._0x102914[_0x4fb642],'undoState':_0x391797[_0x21c23f(0x381)]['params'],'redoState':_0x230680[_0x21c23f(0x381)][_0x21c23f(0x358)]}),_0x5c9265=_0x391797[_0x21c23f(0x22a)],_0x37803f=_0x230680[_0x21c23f(0x22a)];}this['_docStateChangeManagerService'][_0x21c23f(0x357)](_0x233931,{'history':_0x25e735,'collaboration':_0x47ec36});}};_0x39b001=_0x2d3a6e([_0x38f85c(0x0,_0x383603[_0x135356(0x217)](_0x383603['Injector'])),_0x38f85c(0x1,_0x10deac[_0x135356(0x2a7)]),_0x38f85c(0x2,_0x383603[_0x135356(0x217)](_0x3770d3[_0x135356(0x333)]))],_0x39b001);var _0x22bc74=Object[_0x135356(0x23b)],_0xf5d785=(_0x7d71f,_0x24b88b,_0x17d22e,_0x1e8d34)=>{const _0x3398e3=_0x135356;for(var _0x5cf215=_0x1e8d34>0x1?void 0x0:_0x1e8d34?_0x22bc74(_0x24b88b,_0x17d22e):_0x24b88b,_0x1794fe=_0x7d71f[_0x3398e3(0x256)]-0x1,_0xaee6f;_0x1794fe>=0x0;_0x1794fe--)(_0xaee6f=_0x7d71f[_0x1794fe])&&(_0x5cf215=_0xaee6f(_0x5cf215)||_0x5cf215);return _0x5cf215;},_0x2979ff=(_0x3cb88d,_0x5a2dc0)=>(_0x54eaf2,_0x52ff2c)=>_0x5a2dc0(_0x54eaf2,_0x52ff2c,_0x3cb88d);let _0x55530a=class{constructor(_0x3790a2,_0x260a6a){const _0x4c212b=_0x135356;this[_0x4c212b(0x254)]=_0x3790a2,this[_0x4c212b(0x3e2)]=_0x260a6a;}['transformSelections'](_0x25218c){const _0x19ad5a=_0x135356;var _0x2c853e;const _0x1fc1fe=this[_0x19ad5a(0x254)][_0x19ad5a(0x41f)](_0x2025ef['DocSelectionManagerService']),_0x221218=(_0x2c853e=_0x1fc1fe['getDocRanges']())!=null?_0x2c853e:[];if(_0x221218[_0x19ad5a(0x256)]===0x0)return;const _0x4e8b8e=_0x25218c[_0x19ad5a(0x212)],_0x4d89b7=[{'id':_0x19ad5a(0x32b),'params':{'unitId':_0x4e8b8e,'actions':null,'textRanges':_0x221218}}],_0x545846=this[_0x19ad5a(0x3e2)][_0x19ad5a(0x25a)](_0x25218c,_0x4d89b7);if(!_0x10deac[_0x19ad5a(0x3e5)](_0x545846))throw _0x545846['error'];const _0x2a32a2=_0x545846[_0x19ad5a(0x381)][0x0][_0x19ad5a(0x358)][_0x19ad5a(0x3d7)];Array[_0x19ad5a(0x1f1)](_0x2a32a2)&&_0x2a32a2[_0x19ad5a(0x256)]&&_0x1fc1fe['replaceDocRanges'](_0x2a32a2,{'unitId':_0x4e8b8e,'subUnitId':_0x4e8b8e},!0x1);}};_0x55530a=_0xf5d785([_0x2979ff(0x0,_0x383603[_0x135356(0x217)](_0x383603[_0x135356(0x3b1)])),_0x2979ff(0x1,_0x10deac[_0x135356(0x2a7)])],_0x55530a);var _0x63fee9=Object['getOwnPropertyDescriptor'],_0x2a50fd=(_0x25315b,_0x4a5ea7,_0x3570b5,_0x321864)=>{for(var _0x1cd6e8=_0x321864>0x1?void 0x0:_0x321864?_0x63fee9(_0x4a5ea7,_0x3570b5):_0x4a5ea7,_0x43e8f4=_0x25315b['length']-0x1,_0x2399c8;_0x43e8f4>=0x0;_0x43e8f4--)(_0x2399c8=_0x25315b[_0x43e8f4])&&(_0x1cd6e8=_0x2399c8(_0x1cd6e8)||_0x1cd6e8);return _0x1cd6e8;},_0x51dafa=(_0x5a59ed,_0x3ae9f9)=>(_0x22862f,_0x2474d5)=>_0x3ae9f9(_0x22862f,_0x2474d5,_0x5a59ed);let _0x27f5a1=class extends _0x383603[_0x135356(0x3d4)]{constructor(_0x240570,_0x54bc96,_0x1cd7d5,_0x2c7968,_0x1607ad,_0x3913bb,_0x3555d6,_0x38a844){const _0x5ad490=_0x135356;super(),_0x45f451(this,_0x5ad490(0x26a),new _0x4d1a54[(_0x5ad490(0x3d8))](_0x1aad47['CollaborationStatus'][_0x5ad490(0x3c1)])),(this['_docStateChangeManagerService']=_0x240570,this[_0x5ad490(0x28c)]=_0x54bc96,this[_0x5ad490(0x425)]=_0x1cd7d5,this['_docTransformStateCacheService']=_0x2c7968,this[_0x5ad490(0x3d9)]=_0x1607ad,this['_docSyncEditingCollabCursorService']=_0x3913bb,this[_0x5ad490(0x25b)]=_0x3555d6,this[_0x5ad490(0x29f)]=_0x38a844,this[_0x5ad490(0x2ee)]());}['_initEntityListener'](){const _0x5654e4=_0x135356;this['disposeWithMe'](this['_collaborationController'][_0x5654e4(0x211)]['subscribe'](_0x2c0d2f=>{const _0x536131=_0x5654e4,_0x6c86c4=this[_0x536131(0x2ba)][_0x536131(0x3f7)]['subscribe'](_0x589932=>{const _0xc11c2d=_0x536131;if(_0x589932==null)return;const {unitId:_0x45046f,redoState:_0x3c6fc3,commandId:_0x2e0467}=_0x589932;if(_0x45046f!==_0x2c0d2f[_0xc11c2d(0x212)])return;const _0x21b39f={'id':_0x2e0467,'type':_0x383603[_0xc11c2d(0x1ef)][_0xc11c2d(0x1df)],'params':{'unitId':_0x45046f,'actions':_0x3c6fc3[_0xc11c2d(0x20d)],'textRanges':null}};_0x2c0d2f[_0xc11c2d(0x2b1)](_0x21b39f);});if(_0x2c0d2f['disposeWithMe'](_0x6c86c4),_0x2c0d2f instanceof _0x1aad47[_0x536131(0x432)]){const _0x147033={'onTransformIME':_0x186337=>this[_0x536131(0x425)][_0x536131(0x392)](_0x186337),'onTransformState':_0x2af74b=>this[_0x536131(0x2c2)][_0x536131(0x25c)](_0x2af74b),'onTransformSelections':_0x156aaf=>this[_0x536131(0x3d9)][_0x536131(0x2c9)](_0x156aaf),'onSyncEditingCollabCursor':_0x374330=>this[_0x536131(0x231)][_0x536131(0x36b)](_0x374330),'onTransformRemoteChangesetByIMECache':_0x465681=>this[_0x536131(0x425)][_0x536131(0x26b)](_0x465681),'onTransformRemoteChangesetByStateCache':_0x3b9b13=>this[_0x536131(0x2c2)][_0x536131(0x26b)](_0x3b9b13)};_0x2c0d2f[_0x536131(0x412)](_0x147033);}}));}};_0x27f5a1=_0x2a50fd([_0x51dafa(0x0,_0x383603[_0x135356(0x217)](_0x3770d3[_0x135356(0x333)])),_0x51dafa(0x1,_0x383603[_0x135356(0x217)](_0x1aad47[_0x135356(0x33c)])),_0x51dafa(0x2,_0x383603[_0x135356(0x217)](_0x36429d)),_0x51dafa(0x3,_0x383603[_0x135356(0x217)](_0x39b001)),_0x51dafa(0x4,_0x383603[_0x135356(0x217)](_0x55530a)),_0x51dafa(0x5,_0x383603['Inject'](_0x3d617a)),_0x51dafa(0x6,_0x56e642[_0x135356(0x2b0)]),_0x51dafa(0x7,_0x383603[_0x135356(0x217)](_0x383603[_0x135356(0x3b3)]))],_0x27f5a1);var _0x203d86=Object[_0x135356(0x23b)],_0x2ddc93=(_0x2a4d1c,_0x3f73fb,_0x4f2665,_0x2b6a5c)=>{for(var _0x342424=_0x2b6a5c>0x1?void 0x0:_0x2b6a5c?_0x203d86(_0x3f73fb,_0x4f2665):_0x3f73fb,_0x360aa8=_0x2a4d1c['length']-0x1,_0x84ee07;_0x360aa8>=0x0;_0x360aa8--)(_0x84ee07=_0x2a4d1c[_0x360aa8])&&(_0x342424=_0x84ee07(_0x342424)||_0x342424);return _0x342424;},_0x3abd4e=(_0xbf0a9,_0x4a7add)=>(_0x2c8c04,_0x34f7bc)=>_0x4a7add(_0x2c8c04,_0x34f7bc,_0xbf0a9);let _0x3bcae2=class extends _0x383603[_0x135356(0x3d4)]{constructor(_0x2de251,_0x1fb252,_0xb8f13b){const _0x20683a=_0x135356;super(),_0x45f451(this,_0x20683a(0x2a8),new Map()),_0x45f451(this,_0x20683a(0x227),new Map()),_0x45f451(this,_0x20683a(0x330),!0x1),(this['_configService']=_0x2de251,this['_localStorageService']=_0x1fb252,this[_0x20683a(0x326)]=_0xb8f13b);}['disableLocalCache'](){const _0x421519=_0x135356;this[_0x421519(0x330)]=!0x0;}[_0x135356(0x373)](){const _0x2647de=_0x135356;this[_0x2647de(0x330)]=!0x1;}get[_0x135356(0x2c1)](){const _0x1aa370=_0x135356;return this[_0x1aa370(0x227)];}[_0x135356(0x228)](){const _0x56fbb9=_0x135356;this[_0x56fbb9(0x3db)]()['then'](()=>super[_0x56fbb9(0x228)]());}async['loadOfflineData'](_0x214740){const _0x23413e=_0x135356;return this[_0x23413e(0x330)]?null:this['_localStorageService'][_0x23413e(0x34b)](_0x1aad47['getLocalCacheKey'](_0x214740));}async[_0x135356(0x2c7)](_0x165c37,_0x1b6042){const _0x2553bb=_0x135356;return!!this[_0x2553bb(0x1dd)][_0x2553bb(0x30d)](_0x165c37,_0x1b6042);}[_0x135356(0x202)](_0x35f086,_0x5521b3,_0x50b459,_0x87bafe){const _0x1f683b=_0x135356,_0x2c0277=this[_0x1f683b(0x326)][_0x1f683b(0x2c4)](_0x35f086);this[_0x1f683b(0x2a8)][_0x1f683b(0x3ac)](_0x35f086,{'unitID':_0x35f086,'type':_0x5521b3,'awaitingChangeset':_0x50b459,'mutations':_0x87bafe,'rev':_0x2c0277}),this[_0x1f683b(0x227)][_0x1f683b(0x33e)](_0x35f086)||this[_0x1f683b(0x42a)](_0x35f086);}[_0x135356(0x42a)](_0x92658c){const _0x199fff=_0x135356,_0x3629e9=this[_0x199fff(0x2a9)]();_0x3629e9===0x0?this[_0x199fff(0x329)](_0x92658c):this[_0x199fff(0x227)]['set'](_0x92658c,setTimeout(()=>this[_0x199fff(0x329)](_0x92658c),_0x3629e9));}[_0x135356(0x2a9)](){const _0x276255=_0x135356;var _0x4ef6e3;return(_0x4ef6e3=this['_configService']['getConfig'](_0x1aad47[_0x276255(0x2fe)]))!=null?_0x4ef6e3:_0x1aad47['LOCAL_CACHE_INTERVAL'];}[_0x135356(0x329)](_0x20fd04){const _0x47eb1a=_0x135356,_0x28a492=this['_saveTaskMap'][_0x47eb1a(0x41f)](_0x20fd04);return _0x28a492!==void 0x0&&window['clearTimeout'](_0x28a492),this['_localStorageService'][_0x47eb1a(0x30d)](_0x1aad47['getLocalCacheKey'](_0x20fd04),this[_0x47eb1a(0x2a8)][_0x47eb1a(0x41f)](_0x20fd04))[_0x47eb1a(0x387)](()=>this[_0x47eb1a(0x227)]['delete'](_0x20fd04));}async[_0x135356(0x3db)](){const _0x6e767a=_0x135356,_0x4d2566=[];this[_0x6e767a(0x227)][_0x6e767a(0x3e1)]((_0x2b832d,_0x227cee)=>{const _0x56d288=_0x6e767a;window[_0x56d288(0x229)](_0x2b832d),_0x4d2566[_0x56d288(0x1f3)](this[_0x56d288(0x329)](_0x227cee)[_0x56d288(0x387)](()=>{const _0x309b3d=_0x56d288;this[_0x309b3d(0x227)][_0x309b3d(0x2ae)](_0x227cee);}));}),await Promise['all'](_0x4d2566);}};_0x3bcae2=_0x2ddc93([_0x3abd4e(0x0,_0x383603[_0x135356(0x31c)]),_0x3abd4e(0x1,_0x383603[_0x135356(0x445)]),_0x3abd4e(0x2,_0x383603[_0x135356(0x217)](_0x10deac[_0x135356(0x213)]))],_0x3bcae2);class _0x7d40e3 extends _0x383603['RxDisposable']{constructor(){const _0x4e3478=_0x135356;super(),_0x45f451(this,_0x4e3478(0x2f5)),this[_0x4e3478(0x2f5)]=_0x4d1a54[_0x4e3478(0x3a0)](window,_0x4e3478(0x397))[_0x4e3478(0x267)](_0x4d1a54[_0x4e3478(0x3bb)](this[_0x4e3478(0x3a6)]),_0x4d1a54['shareReplay'](0x1),_0x4d1a54['mapTo'](void 0x0));}[_0x135356(0x269)](_0x25460c,_0x48be3d,_0x1a3cb9=!0x1){const _0x459d82=_0x135356,_0x53ad9d=new URL(window[_0x459d82(0x3f0)][_0x459d82(0x3b8)]);_0x53ad9d[_0x459d82(0x36f)]['set'](_0x25460c,_0x48be3d),_0x1a3cb9?window['history'][_0x459d82(0x356)]('','',_0x53ad9d['toString']()):window[_0x459d82(0x31d)][_0x459d82(0x274)]('','',_0x53ad9d[_0x459d82(0x2f7)]());}[_0x135356(0x29e)](_0x32bfa7,_0x491735=!0x1){const _0x403088=_0x135356,_0x45b50f=new URL(window[_0x403088(0x3f0)][_0x403088(0x3b8)]);_0x45b50f['searchParams'][_0x403088(0x2ae)](_0x32bfa7),_0x491735?window[_0x403088(0x31d)]['replaceState']('','',_0x45b50f['toString']()):window[_0x403088(0x31d)][_0x403088(0x274)]('','',_0x45b50f['toString']());}['getParam'](_0x1427c3){const _0x5be1b8=_0x135356;var _0x2142d0;return(_0x2142d0=new URL(window['location'][_0x5be1b8(0x3b8)])[_0x5be1b8(0x36f)]['get'](_0x1427c3))!=null?_0x2142d0:void 0x0;}}var _0x347d24=Object['defineProperty'],_0x408fc3=Object[_0x135356(0x23b)],_0x3bf45a=(_0x397dc8,_0x5273a7,_0x13da04)=>_0x5273a7 in _0x397dc8?_0x347d24(_0x397dc8,_0x5273a7,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x13da04}):_0x397dc8[_0x5273a7]=_0x13da04,_0xa0e4cc=(_0x3adf5d,_0x66d14d,_0x3727a6,_0x4603cf)=>{const _0x4fbc45=_0x135356;for(var _0xcaf202=_0x4603cf>0x1?void 0x0:_0x4603cf?_0x408fc3(_0x66d14d,_0x3727a6):_0x66d14d,_0x1f2101=_0x3adf5d[_0x4fbc45(0x256)]-0x1,_0x532f8e;_0x1f2101>=0x0;_0x1f2101--)(_0x532f8e=_0x3adf5d[_0x1f2101])&&(_0xcaf202=_0x532f8e(_0xcaf202)||_0xcaf202);return _0xcaf202;},_0x37e71a=(_0x15dbe8,_0x35b21c)=>(_0xc640f2,_0x5e279c)=>_0x35b21c(_0xc640f2,_0x5e279c,_0x15dbe8),_0xd24664=(_0x384afb,_0x2040bc,_0x466e0d)=>_0x3bf45a(_0x384afb,_0x2040bc+'',_0x466e0d);const _0x327e35='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x116d4d[_0x135356(0x20f)]=class extends _0x383603[_0x135356(0x3e3)]{constructor(_0x3c9a5f=_0x2feb86,_0x2c99b6,_0x68f944,_0x318792){const _0x4a558b=_0x135356;super(),this['_config']=_0x3c9a5f,this[_0x4a558b(0x281)]=_0x2c99b6,this[_0x4a558b(0x254)]=_0x68f944,this['_configService']=_0x318792;const {..._0x407815}=_0x383603[_0x4a558b(0x36c)]({},_0x2feb86,this[_0x4a558b(0x298)]);this[_0x4a558b(0x314)][_0x4a558b(0x303)](_0x531fac,_0x407815);}[_0x135356(0x1d2)](){const _0x77fc0a=_0x135356;this[_0x77fc0a(0x1b8)](),this['_initDependencies']();}['onRendered'](){this['_registerRenderDependencies']();}['_registerDependencies'](){const _0x17d262=_0x135356;var _0x24bd80;const _0x23224f=[[_0x4fe781],[_0x55530a],[_0x36429d],[_0x39b001],[_0x3d617a],[_0x4179ff,{'useClass':_0x7d40e3}],[_0x6644c2[_0x17d262(0x429)],{'useClass':_0x6644c2['WebSocketService']}],[_0x1aad47[_0x17d262(0x251)],{'useClass':_0x3bcae2}],[_0x116d4d['DesktopCollaborationStatusDisplayController']],[_0x27f5a1],[_0x5ecd56],[_0x2f9f56],[_0x597a68],[_0x116d4d[_0x17d262(0x272)]]];_0x383603[_0x17d262(0x244)](this[_0x17d262(0x254)],_0x383603[_0x17d262(0x259)](_0x23224f,(_0x24bd80=this[_0x17d262(0x298)])==null?void 0x0:_0x24bd80[_0x17d262(0x2e4)]));}[_0x135356(0x2a1)](){const _0xaa487a=_0x135356;this[_0xaa487a(0x372)](this[_0xaa487a(0x281)][_0xaa487a(0x327)](_0x383603[_0xaa487a(0x1e4)][_0xaa487a(0x208)],[_0x17e282])),this[_0xaa487a(0x372)](this[_0xaa487a(0x281)][_0xaa487a(0x327)](_0x383603['UniverInstanceType'][_0xaa487a(0x1bb)],[_0x3cd002]));}[_0x135356(0x2dd)](){const _0xd2bd46=_0x135356;_0x383603[_0xd2bd46(0x3e9)](this[_0xd2bd46(0x254)],[[_0x2f9f56],[_0x116d4d['DesktopCollaborationStatusDisplayController']],[_0x27f5a1],[_0x5ecd56],[_0x116d4d[_0xd2bd46(0x272)]]]);}},_0xd24664(_0x116d4d[_0x135356(0x20f)],_0x135356(0x218),_0x327e35),_0x116d4d[_0x135356(0x20f)]=_0xa0e4cc([_0x383603[_0x135356(0x2b5)](_0x1aad47[_0x135356(0x3f9)]),_0x37e71a(0x1,_0x45ed6b['IRenderManagerService']),_0x37e71a(0x2,_0x383603[_0x135356(0x217)](_0x383603[_0x135356(0x3b1)])),_0x37e71a(0x3,_0x383603[_0x135356(0x31c)])],_0x116d4d[_0x135356(0x20f)]);var _0xd0e78f=Object[_0x135356(0x23b)],_0x172879=(_0x4659f3,_0x45a23f,_0x26735d,_0x48bbf7)=>{const _0x3c506e=_0x135356;for(var _0xf1ec16=_0x48bbf7>0x1?void 0x0:_0x48bbf7?_0xd0e78f(_0x45a23f,_0x26735d):_0x45a23f,_0x76731c=_0x4659f3[_0x3c506e(0x256)]-0x1,_0x1f0b22;_0x76731c>=0x0;_0x76731c--)(_0x1f0b22=_0x4659f3[_0x76731c])&&(_0xf1ec16=_0x1f0b22(_0xf1ec16)||_0xf1ec16);return _0xf1ec16;},_0x2b0121=(_0x156311,_0x32fd86)=>(_0x446263,_0x4ea4b8)=>_0x32fd86(_0x446263,_0x4ea4b8,_0x156311);_0x116d4d[_0x135356(0x33f)]=class extends _0x1aad47[_0x135356(0x438)]{constructor(_0x3b635f,_0x2b4fa0,_0x465002,_0x3c82d7,_0x49b5ed){super(_0x3b635f,_0x2b4fa0,_0x465002,_0x3c82d7,_0x49b5ed);}async[_0x135356(0x268)](_0x257372){const _0x23dc69=_0x135356,_0x1aff26=await this[_0x23dc69(0x398)](),_0x5ebbb1=this[_0x23dc69(0x310)](_0x257372,_0x1aff26);return this[_0x23dc69(0x43e)](_0x5ebbb1);}[_0x135356(0x310)](_0x42405d,_0x5c7212){const _0x5eeaaf=_0x135356,_0x54069e=typeof window>'u'?new URL(_0x42405d):new URL(_0x42405d,window[_0x5eeaaf(0x3f0)][_0x5eeaaf(0x1f9)]);_0x54069e[_0x5eeaaf(0x36f)][_0x5eeaaf(0x3ac)](_0x5eeaaf(0x2c3),_0x5c7212);const _0x180e8b=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x5eeaaf(0x3b5)]);return _0x180e8b[_0x5eeaaf(0x41f)]('runId')&&_0x54069e[_0x5eeaaf(0x36f)]['set'](_0x5eeaaf(0x321),_0x180e8b[_0x5eeaaf(0x41f)](_0x5eeaaf(0x321))),_0x54069e['toString']();}async[_0x135356(0x398)](){const _0x24371c=_0x135356;var _0x430177,_0x26296b,_0x445db7;const _0x2f9124=this[_0x24371c(0x314)]['getConfig'](_0x1aad47[_0x24371c(0x428)]),_0x3ba20c=(_0x430177=_0x2f9124==null?void 0x0:_0x2f9124[_0x24371c(0x3ea)])!=null?_0x430177:_0x1aad47[_0x24371c(0x443)];return(_0x445db7=(_0x26296b=(await this[_0x24371c(0x336)][_0x24371c(0x41f)](_0x3ba20c,{'headers':{'Content-Type':_0x24371c(0x448)}}))['body'])==null?void 0x0:_0x26296b[_0x24371c(0x2b6)])!=null?_0x445db7:'';}},_0x116d4d[_0x135356(0x33f)]=_0x172879([_0x2b0121(0x0,_0x383603[_0x135356(0x217)](_0x383603[_0x135356(0x3b1)])),_0x2b0121(0x1,_0x383603[_0x135356(0x217)](_0x6644c2[_0x135356(0x347)])),_0x2b0121(0x2,_0x383603[_0x135356(0x31c)]),_0x2b0121(0x3,_0x383603[_0x135356(0x28b)]),_0x2b0121(0x4,_0x10deac[_0x135356(0x276)])],_0x116d4d['BrowserCollaborationSocketService']);const _0x3f4499=0x7530,_0x14170d=_0x135356(0x2d2);class _0x1adcdf extends _0x383603[_0x135356(0x3d4)]{constructor(){const _0x4f9e3b=_0x135356;super(),_0x45f451(this,_0x4f9e3b(0x299),_0x383603[_0x4f9e3b(0x340)]()),_0x45f451(this,_0x4f9e3b(0x435),new Set()),_0x45f451(this,'_unitOnClients',new Map()),_0x45f451(this,_0x4f9e3b(0x1d0),null),_0x45f451(this,'_clearOtherTimers',new Map()),_0x45f451(this,'_unitStatus',new Map()),this[_0x4f9e3b(0x426)]();}['dispose'](){const _0x1528ad=_0x135356;super[_0x1528ad(0x228)](),this[_0x1528ad(0x3a2)]['forEach']((_0x1f10e4,_0x3599f3)=>this['_removeClearOtherTimer'](_0x3599f3)),this[_0x1528ad(0x1d0)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x135356(0x28f)](_0x2258fc){const _0x30b861=_0x135356;return this['_ensureSubject'](_0x2258fc)[_0x30b861(0x267)](_0x4d1a54[_0x30b861(0x3b9)]());}[_0x135356(0x203)](_0x5e71d3){const _0x1b94d5=_0x135356;this[_0x1b94d5(0x435)][_0x1b94d5(0x363)]===0x0&&this['_scheduleHeartbeat'](),this[_0x1b94d5(0x435)][_0x1b94d5(0x341)](_0x5e71d3),this[_0x1b94d5(0x3a9)]({'type':0x0,'memberID':this[_0x1b94d5(0x299)],'unitIDs':[_0x5e71d3],'isForwarded':!0x1});}['disposeUnit'](_0x2757c2){const _0x2a01f3=_0x135356;this[_0x2a01f3(0x435)][_0x2a01f3(0x2ae)](_0x2757c2),this[_0x2a01f3(0x435)][_0x2a01f3(0x363)]===0x0&&this[_0x2a01f3(0x1d0)]&&window['clearInterval'](this[_0x2a01f3(0x1d0)]);}['_init'](){const _0x90374c=_0x135356;this[_0x90374c(0x372)](_0x383603[_0x90374c(0x29b)](_0x4d1a54[_0x90374c(0x3a0)](window,'storage')[_0x90374c(0x312)](_0x4d7ea7=>{const _0x48c7c3=_0x90374c;if(_0x4d7ea7[_0x48c7c3(0x27a)]!==_0x14170d||!_0x4d7ea7[_0x48c7c3(0x32d)])return;const _0x2000d2=JSON[_0x48c7c3(0x2a6)](_0x4d7ea7[_0x48c7c3(0x32d)]);this[_0x48c7c3(0x391)](_0x2000d2);}))),window[_0x90374c(0x319)](_0x90374c(0x449),()=>this['_send']({'type':0x1,'memberID':this['_id'],'unitIDs':Array[_0x90374c(0x308)](this[_0x90374c(0x435)])}));}[_0x135356(0x391)](_0x542966){const _0x45e0bc=_0x135356;switch(_0x542966[_0x45e0bc(0x35b)]){case 0x0:this[_0x45e0bc(0x1e8)](_0x542966);break;case 0x1:this[_0x45e0bc(0x1be)](_0x542966);break;case 0x2:this[_0x45e0bc(0x2d4)](_0x542966);break;}}['_handleJoinEvent'](_0x52c485){const _0x5ba8e4=_0x135356,{unitIDs:_0x400e0a,memberID:_0x58a656,isForwarded:_0x39d9cc}=_0x52c485;_0x400e0a[_0x5ba8e4(0x3e1)](_0xefc6dc=>{const _0x31293d=_0x5ba8e4;if(!_0x39d9cc&&this[_0x31293d(0x3bc)][_0x31293d(0x33e)](_0xefc6dc)&&this[_0x31293d(0x3fb)](_0xefc6dc)['next'](_0x1aad47['UnitStatus']['OTHER_CLIENTS_EDITING']),!this[_0x31293d(0x3bc)][_0x31293d(0x33e)](_0xefc6dc)||!this['_unitOnClients']['get'](_0xefc6dc)[_0x31293d(0x33e)](_0x58a656)){const _0x15a06a=this[_0x31293d(0x3bc)][_0x31293d(0x41f)](_0xefc6dc)||new Set();_0x15a06a[_0x31293d(0x341)](_0x58a656),this['_unitOnClients'][_0x31293d(0x3ac)](_0xefc6dc,_0x15a06a),this[_0x31293d(0x36a)](_0x58a656);}}),_0x39d9cc||this[_0x5ba8e4(0x3a9)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x5ba8e4(0x435)]],'isForwarded':!0x0});}['_scheduleClearOtherTimer'](_0x603c50){const _0x2e240f=_0x135356;this[_0x2e240f(0x1e5)](_0x603c50);const _0x509724=window['setTimeout'](()=>{const _0x4fd748=_0x2e240f;this[_0x4fd748(0x3bc)][_0x4fd748(0x3e1)](_0x20387b=>{const _0x186aae=_0x4fd748;_0x20387b[_0x186aae(0x2ae)](_0x603c50);});},_0x3f4499*0x2);this['_clearOtherTimers'][_0x2e240f(0x3ac)](_0x603c50,_0x509724);}['_removeClearOtherTimer'](_0x5034f5){const _0x1f3773=_0x135356;if(this[_0x1f3773(0x3a2)]['has'](_0x5034f5)){const _0x3bcb03=this[_0x1f3773(0x3a2)][_0x1f3773(0x41f)](_0x5034f5);_0x3bcb03&&window[_0x1f3773(0x229)](_0x3bcb03),this[_0x1f3773(0x3a2)][_0x1f3773(0x3ac)](_0x5034f5,null);}}[_0x135356(0x1be)](_0x374d0d){const _0x466e04=_0x135356,{memberID:_0x22e324,unitIDs:_0x580715}=_0x374d0d;_0x580715['forEach'](_0x6e3128=>{const _0x23b7d8=_0x1ca7;var _0x456197;const _0x505647=this[_0x23b7d8(0x3bc)][_0x23b7d8(0x41f)](_0x6e3128);_0x505647&&(_0x505647[_0x23b7d8(0x2ae)](_0x22e324),(_0x456197=this['_ensureSubject'](_0x6e3128))==null||_0x456197[_0x23b7d8(0x1db)](_0x505647[_0x23b7d8(0x363)]===0x0?_0x1aad47['UnitStatus'][_0x23b7d8(0x375)]:_0x1aad47[_0x23b7d8(0x239)][_0x23b7d8(0x2cb)]));}),this[_0x466e04(0x1e5)](_0x22e324);}[_0x135356(0x2d4)](_0x182030){const _0x46d75c=_0x135356;this[_0x46d75c(0x36a)](_0x182030[_0x46d75c(0x2aa)]);}['_send'](_0x2b6a0b){const _0x5e0569=_0x135356;localStorage[_0x5e0569(0x30d)](_0x14170d,JSON['stringify'](_0x2b6a0b));}[_0x135356(0x355)](){const _0x3db073=_0x135356;this[_0x3db073(0x1d0)]=window[_0x3db073(0x33a)](()=>{const _0x388bcd=_0x3db073;this[_0x388bcd(0x3a9)]({'type':0x2,'memberID':this[_0x388bcd(0x299)]});},_0x3f4499);}[_0x135356(0x3fb)](_0x39f817){const _0x5cfa31=_0x135356;return this[_0x5cfa31(0x36e)][_0x5cfa31(0x33e)](_0x39f817)||this[_0x5cfa31(0x36e)][_0x5cfa31(0x3ac)](_0x39f817,new _0x4d1a54['BehaviorSubject'](_0x1aad47['UnitStatus'][_0x5cfa31(0x375)])),this[_0x5cfa31(0x36e)][_0x5cfa31(0x41f)](_0x39f817);}}var _0x6d8110=(_0x98b3ca=>(_0x98b3ca[_0x98b3ca[_0x135356(0x44f)]=0x0]=_0x135356(0x44f),_0x98b3ca[_0x98b3ca['OK']=0x1]='OK',_0x98b3ca[_0x98b3ca['INTERNAL_ERROR']=0x2]='INTERNAL_ERROR',_0x98b3ca[_0x98b3ca[_0x135356(0x27b)]=0x3]=_0x135356(0x27b),_0x98b3ca[_0x98b3ca[_0x135356(0x264)]=0x4]='NOT_FOUND',_0x98b3ca[_0x98b3ca[_0x135356(0x1fb)]=0x5]='UNAUTHENTICATED',_0x98b3ca[_0x98b3ca[_0x135356(0x2e0)]=0x6]=_0x135356(0x2e0),_0x98b3ca[_0x98b3ca['INVALID_ARGUMENT']=0x7]=_0x135356(0x263),_0x98b3ca[_0x98b3ca[_0x135356(0x399)]=0x8]='TOO_MANY_REQUESTS',_0x98b3ca[_0x98b3ca['COMPLETION_FINISHED']=0x9]=_0x135356(0x3ae),_0x98b3ca[_0x98b3ca[_0x135356(0x2ab)]=0xa]='LOGIN_FAILED',_0x98b3ca[_0x98b3ca['CHANGESET_REVISION_CONFILICT']=0x1389]='CHANGESET_REVISION_CONFILICT',_0x98b3ca[_0x98b3ca[_0x135356(0x22f)]=0x1771]=_0x135356(0x22f),_0x98b3ca[_0x98b3ca[_0x135356(0x43b)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x98b3ca[_0x98b3ca[_0x135356(0x3c6)]=0x1773]=_0x135356(0x3c6),_0x98b3ca[_0x98b3ca[_0x135356(0x282)]=0x1b59]=_0x135356(0x282),_0x98b3ca[_0x98b3ca['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x98b3ca[_0x98b3ca[_0x135356(0x30f)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x98b3ca[_0x98b3ca[_0x135356(0x389)]=0x1b5c]=_0x135356(0x389),_0x98b3ca[_0x98b3ca[_0x135356(0x3b7)]=0x1b5d]='APPLY_DUPLICATED',_0x98b3ca[_0x98b3ca[_0x135356(0x249)]=0x1f41]='CONNECTOR_DATA_TOO_LARGE',_0x98b3ca[_0x98b3ca[_0x135356(0x338)]=0x2329]=_0x135356(0x338),_0x98b3ca[_0x98b3ca['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x135356(0x3c9),_0x98b3ca[_0x98b3ca['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x135356(0x30e),_0x98b3ca[_0x98b3ca[_0x135356(0x2f0)]=0x232c]=_0x135356(0x2f0),_0x98b3ca[_0x98b3ca[_0x135356(0x3d0)]=0x232d]=_0x135356(0x3d0),_0x98b3ca[_0x98b3ca[_0x135356(0x1f6)]=0x2711]=_0x135356(0x1f6),_0x98b3ca[_0x98b3ca[_0x135356(0x431)]=0x2712]=_0x135356(0x431),_0x98b3ca[_0x98b3ca[_0x135356(0x25f)]=0x2713]=_0x135356(0x25f),_0x98b3ca[_0x98b3ca['YUUMI_SUBSCRIPTION_NOT_FOUND']=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x98b3ca[_0x98b3ca['YUUMI_NO_CUBOID_FOR_QUESTION']=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x98b3ca[_0x98b3ca[_0x135356(0x1e7)]=0x271b]=_0x135356(0x1e7),_0x98b3ca[_0x98b3ca[_0x135356(0x39a)]=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x98b3ca[_0x98b3ca[_0x135356(0x2d8)]=0x271d]=_0x135356(0x2d8),_0x98b3ca[_0x98b3ca[_0x135356(0x1b4)]=0x271e]=_0x135356(0x1b4),_0x98b3ca[_0x98b3ca['YUUMI_AI_RUN_FAILED']=0x271f]=_0x135356(0x292),_0x98b3ca[_0x98b3ca['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x135356(0x2da),_0x98b3ca[_0x98b3ca[_0x135356(0x21a)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x98b3ca[_0x98b3ca[_0x135356(0x1c0)]=0x2ee2]='INVALID_INVITE_CODE',_0x98b3ca[_0x98b3ca['INVITE_CODE_REQUIRED']=0x2ee3]=_0x135356(0x1cb),_0x98b3ca[_0x98b3ca[_0x135356(0x2eb)]=0x2ee4]=_0x135356(0x2eb),_0x98b3ca[_0x98b3ca['INVITE_CODE_ALREADY_BOUND']=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x98b3ca[_0x98b3ca[_0x135356(0x1f5)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x98b3ca[_0x98b3ca['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x135356(0x2ef),_0x98b3ca[_0x98b3ca[_0x135356(0x219)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x98b3ca[_0x98b3ca[_0x135356(0x441)]=-0x1]=_0x135356(0x441),_0x98b3ca))(_0x6d8110||{}),_0x276b01=Object[_0x135356(0x23b)],_0x403a97=(_0x1a6f63,_0xd5924,_0x465f8b,_0xaab8ea)=>{const _0x533c35=_0x135356;for(var _0x5cee9b=_0xaab8ea>0x1?void 0x0:_0xaab8ea?_0x276b01(_0xd5924,_0x465f8b):_0xd5924,_0x3e9613=_0x1a6f63[_0x533c35(0x256)]-0x1,_0x41c981;_0x3e9613>=0x0;_0x3e9613--)(_0x41c981=_0x1a6f63[_0x3e9613])&&(_0x5cee9b=_0x41c981(_0x5cee9b)||_0x5cee9b);return _0x5cee9b;},_0x425be6=(_0x3945f6,_0x5759fc)=>(_0x425f0e,_0x4146a0)=>_0x5759fc(_0x425f0e,_0x4146a0,_0x3945f6);_0x116d4d['RemoteUniscriptService']=class extends _0x383603['Disposable']{constructor(_0x4bb3b3,_0x252473,_0x5c7021){const _0x5137b1=_0x135356;super(),this[_0x5137b1(0x370)]=_0x4bb3b3,this[_0x5137b1(0x336)]=_0x252473,this[_0x5137b1(0x314)]=_0x5c7021;}async[_0x135356(0x41e)](_0x3f4758,_0xf8b4ac,_0x268c3e,..._0x2bcefc){const _0xc3caa9=_0x135356;var _0x56728b,_0x2b3232,_0x3306c0,_0x505dfc;const _0x525b51=this['_instanceService']['getFocusedUnit']();if(!_0x525b51)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x2ed61d=((_0x56728b=this['_configService'][_0xc3caa9(0x436)](_0x1aad47[_0xc3caa9(0x2bc)]))!=null?_0x56728b:_0x1aad47[_0xc3caa9(0x1c5)])+'/'+_0x3f4758+_0xc3caa9(0x383)+_0xf8b4ac,_0x4da955=new URL(window[_0xc3caa9(0x3f0)][_0xc3caa9(0x3b8)]),_0x33ed7e={'scriptId':_0x3f4758,'runId':(_0x2b3232=_0x4da955[_0xc3caa9(0x36f)][_0xc3caa9(0x41f)]('runId'))!=null?_0x2b3232:'','function':_0xf8b4ac,'unitId':_0x525b51['getUnitId'](),'argsOfFunction':JSON[_0xc3caa9(0x44a)](_0x2bcefc),'invokeId':(_0x3306c0=_0x268c3e[_0xc3caa9(0x3ef)])!=null?_0x3306c0:'','executionId':(_0x505dfc=_0x268c3e[_0xc3caa9(0x353)])!=null?_0x505dfc:''};try{const _0x20fa33=await this[_0xc3caa9(0x336)][_0xc3caa9(0x27f)](_0x2ed61d,{'body':_0x33ed7e});return _0x20fa33[_0xc3caa9(0x301)]['error']&&_0x20fa33['body']['error']['code']!==_0x6d8110['OK']?_0xc3caa9(0x23c):_0x20fa33[_0xc3caa9(0x301)][_0xc3caa9(0x1f8)];}catch{return'Failed';}}},_0x116d4d[_0x135356(0x351)]=_0x403a97([_0x425be6(0x0,_0x383603[_0x135356(0x421)]),_0x425be6(0x1,_0x383603[_0x135356(0x217)](_0x6644c2[_0x135356(0x347)])),_0x425be6(0x2,_0x383603[_0x135356(0x31c)])],_0x116d4d['RemoteUniscriptService']),_0x116d4d['CollaborationStatusDisplay']=_0x58c9da,_0x116d4d[_0x135356(0x214)]=_0x4179ff,_0x116d4d[_0x135356(0x34c)]=_0x233f6c,_0x116d4d[_0x135356(0x260)]=_0x1adcdf,_0x116d4d[_0x135356(0x24a)]=_0x7d40e3,Object[_0x135356(0x1bd)](_0x116d4d,Symbol[_0x135356(0x24d)],{'value':'Module'});}));