@univerjs-pro/collaboration-client-ui 0.7.0-beta.0 → 0.7.0-nightly.202504291607
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/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
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 _0x44a6(_0x4478dd,_0x3fed41){const _0x3abd59=_0x3abd();return _0x44a6=function(_0x44a67b,_0x4aee14){_0x44a67b=_0x44a67b-0xea;let _0x3ef1fa=_0x3abd59[_0x44a67b];return _0x3ef1fa;},_0x44a6(_0x4478dd,_0x3fed41);}(function(_0xace6bb,_0x36bb4c){const _0x594f8b=_0x44a6,_0x1b05b5=_0xace6bb();while(!![]){try{const _0x5da8c9=parseInt(_0x594f8b(0x162))/0x1*(-parseInt(_0x594f8b(0x1d3))/0x2)+parseInt(_0x594f8b(0x1ec))/0x3*(-parseInt(_0x594f8b(0x10b))/0x4)+parseInt(_0x594f8b(0x19e))/0x5+parseInt(_0x594f8b(0x190))/0x6+-parseInt(_0x594f8b(0x338))/0x7+-parseInt(_0x594f8b(0x1e5))/0x8*(parseInt(_0x594f8b(0x1d5))/0x9)+parseInt(_0x594f8b(0x29e))/0xa;if(_0x5da8c9===_0x36bb4c)break;else _0x1b05b5['push'](_0x1b05b5['shift']());}catch(_0x3eee91){_0x1b05b5['push'](_0x1b05b5['shift']());}}}(_0x3abd,0xa19c6),function(_0x44a210,_0x5205b3){const _0x18e2cd=_0x44a6;typeof exports=='object'&&typeof module<'u'?_0x5205b3(exports,require(_0x18e2cd(0x266)),require(_0x18e2cd(0x36e)),require('@univerjs/engine-render'),require(_0x18e2cd(0x17d)),require(_0x18e2cd(0x18b)),require(_0x18e2cd(0x2e4)),require(_0x18e2cd(0xef)),require(_0x18e2cd(0x315)),require(_0x18e2cd(0x2d0)),require(_0x18e2cd(0x1d9)),require('@univerjs/sheets'),require(_0x18e2cd(0x15a)),require(_0x18e2cd(0x385)),require('react/jsx-runtime'),require(_0x18e2cd(0x179)),require(_0x18e2cd(0x347)),require(_0x18e2cd(0x104)),require('@univerjs/rpc')):typeof define==_0x18e2cd(0x1f0)&&define[_0x18e2cd(0x1d2)]?define([_0x18e2cd(0x109),_0x18e2cd(0x266),'@univerjs/core',_0x18e2cd(0x302),_0x18e2cd(0x17d),_0x18e2cd(0x18b),'@univerjs/drawing',_0x18e2cd(0xef),_0x18e2cd(0x315),_0x18e2cd(0x2d0),_0x18e2cd(0x1d9),_0x18e2cd(0x1a1),_0x18e2cd(0x15a),'@univerjs/sheets-ui',_0x18e2cd(0x17c),'@univerjs/ui','@univerjs/design',_0x18e2cd(0x104),_0x18e2cd(0x365)],_0x5205b3):(_0x44a210=typeof globalThis<'u'?globalThis:_0x44a210||self,_0x5205b3(_0x44a210['UniverProCollaborationClientUi']={},_0x44a210[_0x18e2cd(0x22e)],_0x44a210[_0x18e2cd(0x1c5)],_0x44a210['UniverEngineRender'],_0x44a210[_0x18e2cd(0x135)],_0x44a210[_0x18e2cd(0x17e)],_0x44a210['UniverDrawing'],_0x44a210[_0x18e2cd(0xef)],_0x44a210[_0x18e2cd(0x13b)],_0x44a210['UniverProCollaboration'],_0x44a210[_0x18e2cd(0x24f)],_0x44a210['UniverSheets'],_0x44a210['rxjs'][_0x18e2cd(0x195)],_0x44a210[_0x18e2cd(0x309)],_0x44a210['React'],_0x44a210[_0x18e2cd(0x233)],_0x44a210[_0x18e2cd(0xf5)],_0x44a210[_0x18e2cd(0x1fc)],_0x44a210[_0x18e2cd(0x30e)]));}(this,function(_0x23fa2d,_0x423a8c,_0x435b21,_0x4af3d8,_0x4e6983,_0x4b4959,_0x3001d4,_0x2cd233,_0xf499cd,_0x1e007a,_0x54ae3a,_0x4e65b0,_0x4ce2ac,_0x487df1,_0x242235,_0x58ede6,_0x3971cd,_0x37c89d,_0x47f244){'use strict';const _0x2c927c=_0x44a6;var _0x77b400=Object[_0x2c927c(0x386)],_0x5ef43f=(_0x4e481e,_0x2478d8,_0x417c80)=>_0x2478d8 in _0x4e481e?_0x77b400(_0x4e481e,_0x2478d8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x417c80}):_0x4e481e[_0x2478d8]=_0x417c80,_0x38f83b=(_0x1f0ee0,_0x161b08,_0x399874)=>_0x5ef43f(_0x1f0ee0,typeof _0x161b08!=_0x2c927c(0x1ac)?_0x161b08+'':_0x161b08,_0x399874),_0x51e326=Object['getOwnPropertyDescriptor'],_0xa50cb6=(_0x29b947,_0x1ca5e6,_0x35dbce,_0xfa32a1)=>{const _0x3d4fa1=_0x2c927c;for(var _0x134a26=_0xfa32a1>0x1?void 0x0:_0xfa32a1?_0x51e326(_0x1ca5e6,_0x35dbce):_0x1ca5e6,_0x208b58=_0x29b947[_0x3d4fa1(0x1cb)]-0x1,_0x59fa0;_0x208b58>=0x0;_0x208b58--)(_0x59fa0=_0x29b947[_0x208b58])&&(_0x134a26=_0x59fa0(_0x134a26)||_0x134a26);return _0x134a26;},_0x2d972f=(_0x5e09cb,_0x38dc46)=>(_0x3072db,_0x4ebb6b)=>_0x38dc46(_0x3072db,_0x4ebb6b,_0x5e09cb);let _0x49f868=class extends _0x435b21[_0x2c927c(0x30a)]{constructor(_0x94d13c,_0x361929){const _0x515856=_0x2c927c;super(),this[_0x515856(0x364)]=_0x94d13c,this['_imageIoService']=_0x361929,this[_0x515856(0x170)]();}[_0x2c927c(0x170)](){const _0x33073a=_0x2c927c,_0x301856=this;this[_0x33073a(0x2db)](this[_0x33073a(0x364)][_0x33073a(0x2f2)]({'onBeforePasteImage':async _0x222af6=>{const _0x41e648=_0x33073a,_0x5e64d5=await _0x301856[_0x41e648(0x289)]['saveImage'](_0x222af6);return _0x5e64d5?{'source':_0x5e64d5[_0x41e648(0x226)],'imageSourceType':_0x5e64d5['imageSourceType']}:null;}}));}};_0x49f868=_0xa50cb6([_0x2d972f(0x0,_0x4b4959['IDocClipboardService']),_0x2d972f(0x1,_0x3001d4[_0x2c927c(0x366)])],_0x49f868);const _0x5b4aad=['purple300','jiqing500',_0x2c927c(0x1ae),_0x2c927c(0x21f),_0x2c927c(0x224),_0x2c927c(0x34d)];class _0x90e5a9 extends _0x435b21[_0x2c927c(0x241)]{constructor(){const _0x556c1a=_0x2c927c;super(...arguments),_0x38f83b(this,_0x556c1a(0x2ba),new Map()),_0x38f83b(this,_0x556c1a(0x36f),0x0);}[_0x2c927c(0x15e)](_0x23adca){const _0x36ca9c=_0x2c927c;if(this[_0x36ca9c(0x2ba)][_0x36ca9c(0x133)](_0x23adca))return this[_0x36ca9c(0x2ba)]['get'](_0x23adca);const _0x493d8e=_0x5b4aad[this['_colorIndex']];return this[_0x36ca9c(0x36f)]=(this[_0x36ca9c(0x36f)]+0x1)%_0x5b4aad[_0x36ca9c(0x1cb)],this[_0x36ca9c(0x2ba)][_0x36ca9c(0x1e0)](_0x23adca,_0x493d8e),_0x493d8e;}}function _0x7b06ce(_0x5cfd37){const _0x89278d=_0x2c927c;let _0x3ca989='';for(const _0x5e0ead of _0x5cfd37){const {startOffset:_0x5312d7,endOffset:_0x403b41,isActive:_0x5dfdd3,rangeType:_0x5f0c3b,segmentId:_0x1beed9,segmentPage:_0x50ccee}=_0x5e0ead;_0x3ca989[_0x89278d(0x1cb)]&&(_0x3ca989+=','),_0x3ca989+=_0x5312d7+':'+_0x403b41+':'+(_0x5dfdd3?'1':'0')+':'+_0x5f0c3b+':'+_0x1beed9+':'+_0x50ccee;}return _0x3ca989;}function _0x2d7ed1(_0x5a988a){const _0x5861a8=_0x2c927c,_0x2dcdb9=_0x5a988a[_0x5861a8(0x152)](','),_0xf96efa=[];for(const _0x30262c of _0x2dcdb9){const [_0x369be6,_0x4c9df3,_0x28449b,_0x2e5c4c,_0x2ff804,_0x353851]=_0x30262c['split'](':');_0xf96efa[_0x5861a8(0x2fb)]({'startOffset':Number(_0x369be6),'endOffset':Number(_0x4c9df3),'collapsed':_0x369be6===_0x4c9df3,'isActive':_0x28449b==='1','rangeType':_0x2e5c4c===_0x435b21[_0x5861a8(0x23d)][_0x5861a8(0x277)]?_0x435b21[_0x5861a8(0x23d)][_0x5861a8(0x277)]:_0x435b21[_0x5861a8(0x23d)][_0x5861a8(0x188)],'segmentId':typeof _0x2ff804==_0x5861a8(0x250)?String(_0x2ff804):'','segmentPage':Number(_0x353851!=null?_0x353851:-0x1)});}return _0xf96efa[_0x5861a8(0x2a7)](_0x70c67=>_0x70c67['isActive'])||(_0xf96efa[0x0][_0x5861a8(0x2d6)]=!0x0),_0xf96efa;}class _0x4a01ed extends _0x435b21['RxDisposable']{constructor(){const _0x1d1189=_0x2c927c;super(...arguments),_0x38f83b(this,'_collabCursorState$',new _0x2cd233[(_0x1d1189(0x11a))](null)),_0x38f83b(this,_0x1d1189(0x1f2),this[_0x1d1189(0x147)][_0x1d1189(0x27a)]());}[_0x2c927c(0x1fb)](_0x3f290a){const _0x126dd9=_0x2c927c,{unitID:_0x47fb24,memberID:_0x11f55f,textRanges:_0x5ca09b}=_0x3f290a,_0x3991a4=_0x7b06ce(_0x5ca09b);if(_0x3991a4==='')return;const _0x22068c={'unitID':_0x47fb24,'memberID':_0x11f55f,'selection':_0x3991a4};this['_collabCursorState$'][_0x126dd9(0x1ab)](_0x22068c);}}var _0x2c1eca=Object[_0x2c927c(0x23e)],_0x3cf3d6=(_0x5cd87a,_0x4944df,_0x8aa157,_0x13199e)=>{for(var _0x192f5c=_0x13199e>0x1?void 0x0:_0x13199e?_0x2c1eca(_0x4944df,_0x8aa157):_0x4944df,_0x1808c9=_0x5cd87a['length']-0x1,_0x1fa1bd;_0x1808c9>=0x0;_0x1808c9--)(_0x1fa1bd=_0x5cd87a[_0x1808c9])&&(_0x192f5c=_0x1fa1bd(_0x192f5c)||_0x192f5c);return _0x192f5c;},_0x4f9a15=(_0x22e071,_0x409b4f)=>(_0x28e803,_0x1e2d3a)=>_0x409b4f(_0x28e803,_0x1e2d3a,_0x22e071);const _0x575a13=0x12c,_0x3ba972=0x64;let _0x232c48=class extends _0x435b21['RxDisposable']{constructor(_0x405454,_0x2188a0,_0x5c8ac0,_0xcf80b3,_0x2aaf31,_0x2e8ad4,_0x53fb47,_0x2e9b68,_0x589ed2){const _0x150869=_0x2c927c;super(),_0x38f83b(this,_0x150869(0x258),!0x1),_0x38f83b(this,_0x150869(0x170),!0x1),_0x38f83b(this,_0x150869(0x12f),new _0x2cd233[(_0x150869(0x11a))](new Map())),_0x38f83b(this,_0x150869(0x16a),this[_0x150869(0x12f)]['asObservable']()),_0x38f83b(this,_0x150869(0x149),new _0x2cd233['BehaviorSubject']([])),_0x38f83b(this,_0x150869(0x2bf),this[_0x150869(0x149)]['pipe'](_0x2cd233[_0x150869(0x32d)](_0x575a13))),_0x38f83b(this,_0x150869(0x20d),_0x435b21[_0x150869(0x156)](_0x4f5434=>{const _0xa6b291=_0x150869,_0x253bd9={'eventID':_0x1e007a[_0xa6b291(0x337)][_0xa6b291(0x1f9)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x7b06ce(_0x4f5434)}};this[_0xa6b291(0x138)][_0xa6b291(0x150)](_0x253bd9,this[_0xa6b291(0x24c)]);},_0x3ba972)),(this['unitID']=_0x405454,this['_session']=_0x2188a0,this[_0x150869(0x234)]=_0x5c8ac0,this['_colorAssignService']=_0xcf80b3,this[_0x150869(0x31a)]=_0x2aaf31,this[_0x150869(0x2ab)]=_0x2e8ad4,this[_0x150869(0x185)]=_0x53fb47,this[_0x150869(0x2cc)]=_0x2e9b68,this[_0x150869(0x36c)]=_0x589ed2);}get[_0x2c927c(0x22b)](){const _0x566f7b=_0x2c927c;return this[_0x566f7b(0x12f)][_0x566f7b(0x2c8)]();}get['roomMembers'](){const _0x4a56d4=_0x2c927c;return this['_roomMembers$'][_0x4a56d4(0x2c8)]();}[_0x2c927c(0x355)](){const _0x53e859=_0x2c927c;super[_0x53e859(0x355)](),this[_0x53e859(0x12f)][_0x53e859(0x1ab)](new Map()),this[_0x53e859(0x12f)]['complete'](),this['_roomMembers$'][_0x53e859(0x1ab)]([]),this[_0x53e859(0x149)][_0x53e859(0x24e)]();}['init'](){const _0xee1457=_0x2c927c;this[_0xee1457(0x170)]||(this['_init']=!0x0,this[_0xee1457(0x138)]['sessionStatus$'][_0xee1457(0x27e)](_0x2cd233[_0xee1457(0x308)](this[_0xee1457(0x1db)]))[_0xee1457(0x33d)](_0x29c1ce=>{const _0x3c8684=_0xee1457;_0x29c1ce===_0x423a8c[_0x3c8684(0x1b9)][_0x3c8684(0x120)]?this['_toggleOnline']():this['_toggleOffline']();}),this['_session'][_0xee1457(0x303)][_0xee1457(0x27e)](_0x2cd233['takeUntil'](this[_0xee1457(0x1db)]))[_0xee1457(0x33d)](_0x34fcfa=>{const _0x48fb7e=_0xee1457,_0x17fe4d=_0x34fcfa[_0x48fb7e(0x2ca)];_0x17fe4d===_0x1e007a[_0x48fb7e(0x337)][_0x48fb7e(0x1f9)]&&this['_onCursorUpdate'](_0x34fcfa),_0x17fe4d===_0x1e007a[_0x48fb7e(0x337)][_0x48fb7e(0x332)]&&this[_0x48fb7e(0x352)](_0x34fcfa);}),this[_0xee1457(0x2db)](this[_0xee1457(0x36c)][_0xee1457(0x37f)](_0x39597f=>{const _0x17aa91=_0xee1457,_0x3592df=_0x39597f[_0x17aa91(0x318)];_0x3592df!=null&&this['_online']&&_0x39597f['id']===_0xf499cd[_0x17aa91(0x183)]['id']&&_0x3592df[_0x17aa91(0x31c)]===this['unitID']&&_0x3592df['isEditing']===!0x1&&_0x3592df[_0x17aa91(0x2c4)]['length']>0x0&&this[_0x17aa91(0x20d)](_0x3592df[_0x17aa91(0x2c4)]);})),this[_0xee1457(0x2ab)][_0xee1457(0x1f2)][_0xee1457(0x27e)](_0x2cd233[_0xee1457(0x308)](this['dispose$']))[_0xee1457(0x33d)](_0x1ce77e=>{const _0x3acec5=_0xee1457;if((_0x1ce77e==null?void 0x0:_0x1ce77e[_0x3acec5(0x24c)])!==this[_0x3acec5(0x24c)])return;const _0x4a52bd={'eventID':_0x1e007a[_0x3acec5(0x337)][_0x3acec5(0x1f9)],'data':_0x1ce77e};this[_0x3acec5(0x320)](_0x4a52bd);}),this['disposeWithMe'](this[_0xee1457(0x36c)][_0xee1457(0x37f)](_0x2b63fc=>{const _0x5b152a=_0xee1457;if(_0x2b63fc[_0x5b152a(0x318)]==null)return;const _0x50ab5b=_0x2b63fc[_0x5b152a(0x318)];if(_0x2b63fc['id']!==_0xf499cd['RichTextEditingMutation']['id']||_0x50ab5b[_0x5b152a(0x31c)]!==this[_0x5b152a(0x24c)])return;const _0x1cd0c2={'id':_0x5b152a(0x142),'params':_0x50ab5b},_0x5cff2a=this['cursorInfo'];for(const [_0x235c6b,_0x5984a1]of _0x5cff2a){const _0x2458bc={'id':_0x5b152a(0x142),'params':{'unitId':this[_0x5b152a(0x24c)],'actions':null,'textRanges':_0x5984a1[_0x5b152a(0x2c4)]}},_0x24434d=this[_0x5b152a(0x185)]['transformMutation'](_0x1cd0c2,_0x2458bc,!0x1);if(_0x1e007a[_0x5b152a(0x160)](_0x24434d))throw _0x24434d[_0x5b152a(0x12d)];_0x5cff2a[_0x5b152a(0x1e0)](_0x235c6b,{..._0x5984a1,'ranges':_0x24434d[_0x5b152a(0x1d7)][_0x5b152a(0x318)][_0x5b152a(0xf2)]});}queueMicrotask(()=>{const _0x3c0198=_0x5b152a;this[_0x3c0198(0x12f)][_0x3c0198(0x1ab)](_0x5cff2a);});})));}[_0x2c927c(0x320)](_0x585457){const _0x29df22=_0x2c927c;var _0x3837a2,_0x363054;const {memberID:_0x4c7304,selection:_0x254f28}=_0x585457[_0x29df22(0x1dc)],_0x251e46=_0x2d7ed1(_0x254f28),_0x2959ec=(_0x363054=(_0x3837a2=this[_0x29df22(0x31a)][_0x29df22(0x264)](this['unitID'],_0x4c7304))==null?void 0x0:_0x3837a2['name'])!=null?_0x363054:_0x29df22(0x300),_0x11b527={'color':this[_0x29df22(0x2a2)][_0x29df22(0x15e)](_0x4c7304),'name':_0x2959ec,'ranges':_0x251e46},_0x12f581=this[_0x29df22(0x22b)];_0x12f581[_0x29df22(0x1e0)](_0x4c7304,_0x11b527),this[_0x29df22(0x12f)][_0x29df22(0x1ab)](_0x12f581);}[_0x2c927c(0x352)](_0x599ea4){const _0x194e46=_0x2c927c,{memberID:_0xe88a2}=_0x599ea4[_0x194e46(0x1dc)],_0x392498=this[_0x194e46(0x22b)];_0x392498[_0x194e46(0x191)](_0xe88a2),this[_0x194e46(0x12f)]['next'](_0x392498);}[_0x2c927c(0x232)](){const _0x587631=_0x2c927c;var _0x151122;if(this[_0x587631(0x258)]=!0x0,((_0x151122=this[_0x587631(0x2cc)]['getFocusedUnit']())==null?void 0x0:_0x151122[_0x587631(0x349)]())!==this[_0x587631(0x24c)])return;const _0x5d112a=this['_injector'][_0x587631(0x373)](_0xf499cd[_0x587631(0x143)])['getDocRanges']();Array[_0x587631(0x2b2)](_0x5d112a)&&_0x5d112a[_0x587631(0x1cb)]>0x0&&this['_updateLocalCursor'](_0x5d112a);}[_0x2c927c(0x1d1)](){const _0xcd32b9=_0x2c927c;this[_0xcd32b9(0x258)]=!0x1;}};_0x232c48=_0x3cf3d6([_0x4f9a15(0x2,_0x435b21['Inject'](_0x435b21[_0x2c927c(0x11c)])),_0x4f9a15(0x3,_0x435b21['Inject'](_0x90e5a9)),_0x4f9a15(0x4,_0x435b21[_0x2c927c(0x10f)](_0x423a8c['MemberService'])),_0x4f9a15(0x5,_0x435b21[_0x2c927c(0x10f)](_0x4a01ed)),_0x4f9a15(0x6,_0x1e007a[_0x2c927c(0x1be)]),_0x4f9a15(0x7,_0x435b21['IUniverInstanceService']),_0x4f9a15(0x8,_0x435b21[_0x2c927c(0x310)])],_0x232c48);var _0x1eb027=Object['getOwnPropertyDescriptor'],_0x478352=(_0x1d0f0b,_0xda490c,_0x2a1979,_0x4a7d43)=>{const _0x20a0c6=_0x2c927c;for(var _0x48e3ba=_0x4a7d43>0x1?void 0x0:_0x4a7d43?_0x1eb027(_0xda490c,_0x2a1979):_0xda490c,_0x2b42ab=_0x1d0f0b[_0x20a0c6(0x1cb)]-0x1,_0x3b948e;_0x2b42ab>=0x0;_0x2b42ab--)(_0x3b948e=_0x1d0f0b[_0x2b42ab])&&(_0x48e3ba=_0x3b948e(_0x48e3ba)||_0x48e3ba);return _0x48e3ba;},_0x4bfaeb=(_0x521cab,_0x5bee56)=>(_0x4ab914,_0x4f6b77)=>_0x5bee56(_0x4ab914,_0x4f6b77,_0x521cab);const _0x58dd89=0x12c,_0x463f57=0x64,_0x13680a=()=>{let _0x1f47a3=[],_0x4469e3=!0x1;return _0x2769f2=>{const _0x54c323=_0x44a6;_0x1f47a3[_0x54c323(0x2fb)](_0x2769f2),_0x4469e3||(_0x4469e3=!0x0,setTimeout(()=>{_0x1f47a3['forEach'](_0x1e9d7d=>_0x1e9d7d()),_0x1f47a3=[],_0x4469e3=!0x1;}));};};let _0x30ea1a=class extends _0x435b21['RxDisposable']{constructor(_0x4fe11f,_0x48d262,_0x598364,_0x365ff6,_0x16bc64,_0x27b903,_0x32c100,_0x37c634){const _0x5a5d64=_0x2c927c;super(),_0x38f83b(this,_0x5a5d64(0x258),!0x1),_0x38f83b(this,_0x5a5d64(0x170),!0x1),_0x38f83b(this,_0x5a5d64(0x12f),new _0x2cd233['BehaviorSubject'](new Map())),_0x38f83b(this,_0x5a5d64(0x16a),this['_cursorInfo$'][_0x5a5d64(0x27a)]()),_0x38f83b(this,_0x5a5d64(0x149),new _0x2cd233[(_0x5a5d64(0x11a))]([])),_0x38f83b(this,_0x5a5d64(0x2bf),this[_0x5a5d64(0x149)][_0x5a5d64(0x27e)](_0x2cd233[_0x5a5d64(0x32d)](_0x58dd89))),_0x38f83b(this,_0x5a5d64(0x20d),_0x435b21[_0x5a5d64(0x156)]((_0x96d3f2,_0xa9d505)=>{const _0xb9ba14=_0x5a5d64,_0x368d8d={'eventID':_0x1e007a[_0xb9ba14(0x337)][_0xb9ba14(0x1f9)],'data':{'unitID':this['unitID'],'memberID':this[_0xb9ba14(0x138)]['getMemberID'](),'selection':_0x54ae3a[_0xb9ba14(0x360)](_0x96d3f2,_0xa9d505[_0xb9ba14(0x1af)])}};this['_session'][_0xb9ba14(0x150)](_0x368d8d,this[_0xb9ba14(0x24c)]);},_0x463f57)),(this[_0x5a5d64(0x24c)]=_0x4fe11f,this[_0x5a5d64(0x138)]=_0x48d262,this['_injector']=_0x598364,this[_0x5a5d64(0x2a2)]=_0x365ff6,this[_0x5a5d64(0x31a)]=_0x16bc64,this[_0x5a5d64(0x2cc)]=_0x27b903,this[_0x5a5d64(0x36c)]=_0x32c100,this[_0x5a5d64(0x33b)]=_0x37c634);}get['cursorInfo'](){const _0x28d895=_0x2c927c;return this[_0x28d895(0x12f)][_0x28d895(0x2c8)]();}get[_0x2c927c(0x25f)](){const _0x3a748d=_0x2c927c;return this[_0x3a748d(0x149)][_0x3a748d(0x2c8)]();}[_0x2c927c(0x355)](){const _0x2b85e5=_0x2c927c;super['dispose'](),this['_cursorInfo$'][_0x2b85e5(0x1ab)](new Map()),this[_0x2b85e5(0x12f)][_0x2b85e5(0x24e)](),this[_0x2b85e5(0x149)][_0x2b85e5(0x1ab)]([]),this[_0x2b85e5(0x149)][_0x2b85e5(0x24e)]();}[_0x2c927c(0x124)](){const _0x454403=_0x2c927c;this[_0x454403(0x170)]||(this[_0x454403(0x170)]=!0x0,this[_0x454403(0x138)][_0x454403(0x2c2)][_0x454403(0x27e)](_0x2cd233[_0x454403(0x308)](this['dispose$']))[_0x454403(0x33d)](_0x37cec1=>{const _0x309c62=_0x454403;_0x37cec1===_0x423a8c[_0x309c62(0x1b9)][_0x309c62(0x120)]?this[_0x309c62(0x232)]():this[_0x309c62(0x1d1)]();}),this[_0x454403(0x138)]['event$']['pipe'](_0x2cd233[_0x454403(0x308)](this[_0x454403(0x1db)]))[_0x454403(0x33d)](_0xa54e38=>{const _0x39e27e=_0x454403,_0x1944d0=_0xa54e38[_0x39e27e(0x2ca)];_0x1944d0===_0x1e007a[_0x39e27e(0x337)]['UPDATE_CURSOR']&&this[_0x39e27e(0x320)](_0xa54e38),_0x1944d0===_0x1e007a[_0x39e27e(0x337)][_0x39e27e(0x332)]&&this[_0x39e27e(0x352)](_0xa54e38);}),this[_0x454403(0x328)](),this[_0x454403(0x2db)](this[_0x454403(0x36c)][_0x454403(0x37f)](_0x1dccbb=>{const _0x2a8aef=_0x454403;if(this['_online']&&_0x1dccbb['id']===_0x4e65b0['SetSelectionsOperation']['id']&&_0x1dccbb['params']['unitId']===this['unitID']){const _0x3a9cec=_0x1dccbb[_0x2a8aef(0x318)];this[_0x2a8aef(0x20d)](_0x3a9cec[_0x2a8aef(0x21e)],_0x3a9cec['selections'][0x0]);}})));}[_0x2c927c(0x320)](_0x566d5a){const _0x5eb266=_0x2c927c;var _0x4e8797,_0x4b0c8a;const {memberID:_0x1949da,selection:_0x1e1d81}=_0x566d5a[_0x5eb266(0x1dc)],{sheetName:_0x4c068f,range:_0x1d5de1}=_0x54ae3a[_0x5eb266(0x123)](_0x1e1d81),_0x3a53a8={'name':(_0x4b0c8a=(_0x4e8797=this['_memberService'][_0x5eb266(0x264)](this['unitID'],_0x1949da))==null?void 0x0:_0x4e8797[_0x5eb266(0x2f0)])!=null?_0x4b0c8a:_0x5eb266(0x300),'range':this[_0x5eb266(0x274)](_0x4c068f,_0x1d5de1),'sheetID':_0x4c068f,'color':this[_0x5eb266(0x2a2)][_0x5eb266(0x15e)](_0x1949da),'selection':_0x1e1d81},_0x284ab4=this[_0x5eb266(0x22b)];_0x284ab4[_0x5eb266(0x1e0)](_0x1949da,_0x3a53a8),this[_0x5eb266(0x12f)][_0x5eb266(0x1ab)](_0x284ab4);}[_0x2c927c(0x352)](_0x257578){const _0x149035=_0x2c927c,{memberID:_0x526d2c}=_0x257578[_0x149035(0x1dc)],_0x507b5a=this[_0x149035(0x22b)];_0x507b5a[_0x149035(0x191)](_0x526d2c),this[_0x149035(0x12f)]['next'](_0x507b5a);}['_getMergeRange'](_0x25b31c,_0x5511ba){const _0x3a8e0a=_0x2c927c;var _0x1a77d6,_0x1a5a8a;const _0x2ba1cb=(_0x1a5a8a=(_0x1a77d6=this[_0x3a8e0a(0x2cc)][_0x3a8e0a(0x27b)](this[_0x3a8e0a(0x24c)]))==null?void 0x0:_0x1a77d6['getSheetBySheetId'](_0x25b31c))==null?void 0x0:_0x1a5a8a['getMergeData']();return(_0x2ba1cb==null?void 0x0:_0x2ba1cb[_0x3a8e0a(0x19d)](_0x5a6bb1=>_0x435b21[_0x3a8e0a(0x242)][_0x3a8e0a(0x2f1)](_0x5a6bb1,_0x5511ba)))||_0x5511ba;}[_0x2c927c(0x328)](){const _0x3986fc=_0x2c927c,_0x19d525=new _0x435b21[(_0x3986fc(0x240))](),_0x2733c0=_0x13680a(),_0x4e5c77=()=>{const _0x328a60=_0x3986fc;_0x19d525[_0x328a60(0x355)]();const _0xbd0f9d=(_0x55b7e5,_0x3453e2,_0x496121,_0x10e5e3)=>{const _0x495e6b=_0x328a60;let _0x2243d1=[];switch(_0x55b7e5['id']){case _0x4e65b0[_0x495e6b(0x2ff)]['DeleteRangeMoveLeftCommandId']:{_0x2243d1=_0x4e65b0[_0x495e6b(0x110)](_0x55b7e5,_0x10e5e3);break;}case _0x4e65b0[_0x495e6b(0x2ff)][_0x495e6b(0x144)]:{_0x2243d1=_0x4e65b0[_0x495e6b(0x227)](_0x55b7e5,_0x10e5e3);break;}case _0x4e65b0[_0x495e6b(0x2ff)]['InsertColCommandId']:{_0x2243d1=_0x4e65b0['handleInsertCol'](_0x55b7e5,_0x10e5e3);break;}case _0x4e65b0[_0x495e6b(0x2ff)][_0x495e6b(0x361)]:{_0x2243d1=_0x4e65b0[_0x495e6b(0x1fd)](_0x55b7e5,_0x10e5e3);break;}case _0x4e65b0['EffectRefRangId'][_0x495e6b(0x2a6)]:{_0x2243d1=_0x4e65b0[_0x495e6b(0x321)](_0x55b7e5,_0x10e5e3);break;}case _0x4e65b0['EffectRefRangId'][_0x495e6b(0x141)]:{_0x2243d1=_0x4e65b0[_0x495e6b(0x37c)](_0x55b7e5,_0x10e5e3);break;}case _0x4e65b0[_0x495e6b(0x2ff)][_0x495e6b(0x10e)]:{_0x2243d1=_0x4e65b0[_0x495e6b(0x346)](_0x55b7e5,_0x10e5e3);break;}case _0x4e65b0[_0x495e6b(0x2ff)][_0x495e6b(0x368)]:{_0x2243d1=_0x4e65b0[_0x495e6b(0x119)](_0x55b7e5,_0x10e5e3);break;}case _0x4e65b0['EffectRefRangId'][_0x495e6b(0x363)]:{_0x2243d1=_0x4e65b0[_0x495e6b(0xf9)](_0x55b7e5,_0x10e5e3);break;}}const _0x550bfd=_0x4e65b0['runRefRangeMutations'](_0x2243d1,_0x10e5e3),_0x3a6e32=this[_0x495e6b(0x22b)][_0x495e6b(0x373)](_0x3453e2);if(_0x3a6e32&&_0x550bfd){const _0x3867be={..._0x3a6e32,'range':_0x550bfd};this[_0x495e6b(0x22b)]['set'](_0x3453e2,_0x3867be),_0x2733c0(()=>{const _0x275c83=_0x495e6b,_0x36b301=this[_0x275c83(0x33b)]['registerRefRange'](_0x550bfd,_0x11d690=>(_0x36b301[_0x275c83(0x355)](),_0xbd0f9d(_0x11d690,_0x3453e2,_0x496121,_0x550bfd)));_0x19d525[_0x275c83(0x35f)](_0x36b301);});}return{'redos':[],'undos':[]};};this[_0x328a60(0x22b)][_0x328a60(0x186)]((_0x8e3984,_0x34969c)=>{const _0x4a9163=_0x328a60,{range:_0x252826,sheetID:_0x362150}=_0x8e3984,_0x2c4cab=this[_0x4a9163(0x33b)][_0x4a9163(0x176)](_0x252826,_0x1ab2b9=>(_0x2c4cab[_0x4a9163(0x355)](),_0xbd0f9d(_0x1ab2b9,_0x34969c,_0x362150,_0x252826)));_0x19d525[_0x4a9163(0x35f)](_0x2c4cab);});};this[_0x3986fc(0x2db)](_0x435b21['toDisposable'](this['_cursorInfo$']['subscribe'](()=>{_0x4e5c77();})));}[_0x2c927c(0x232)](){const _0x10c9ca=_0x2c927c;var _0xf8de89,_0x54781d;if(this[_0x10c9ca(0x258)]=!0x0,((_0xf8de89=this[_0x10c9ca(0x2cc)]['getFocusedUnit']())==null?void 0x0:_0xf8de89[_0x10c9ca(0x349)]())!==this[_0x10c9ca(0x24c)])return;const _0x4a4319=(_0x54781d=this[_0x10c9ca(0x234)]['get'](_0x4e65b0[_0x10c9ca(0x27f)])[_0x10c9ca(0x137)]())==null?void 0x0:_0x54781d[0x0],_0x1f6808=this['_univerInstanceService'][_0x10c9ca(0x154)](_0x435b21[_0x10c9ca(0x2c3)]['UNIVER_SHEET'])[_0x10c9ca(0x248)]();_0x4a4319&&_0x1f6808&&this['_updateLocalCursor'](_0x1f6808['getSheetId'](),_0x4a4319);}[_0x2c927c(0x1d1)](){this['_online']=!0x1;}};_0x30ea1a=_0x478352([_0x4bfaeb(0x2,_0x435b21[_0x2c927c(0x10f)](_0x435b21[_0x2c927c(0x11c)])),_0x4bfaeb(0x3,_0x435b21['Inject'](_0x90e5a9)),_0x4bfaeb(0x4,_0x435b21['Inject'](_0x423a8c[_0x2c927c(0x2b4)])),_0x4bfaeb(0x5,_0x435b21[_0x2c927c(0x374)]),_0x4bfaeb(0x6,_0x435b21['ICommandService']),_0x4bfaeb(0x7,_0x435b21[_0x2c927c(0x10f)](_0x4e65b0[_0x2c927c(0x281)]))],_0x30ea1a);var _0x1ce026=Object[_0x2c927c(0x23e)],_0x2e20e6=(_0x466d90,_0x265f00,_0x1c6f9a,_0x453b28)=>{const _0x2ef351=_0x2c927c;for(var _0x27e7e0=_0x453b28>0x1?void 0x0:_0x453b28?_0x1ce026(_0x265f00,_0x1c6f9a):_0x265f00,_0x1f97ec=_0x466d90[_0x2ef351(0x1cb)]-0x1,_0x164248;_0x1f97ec>=0x0;_0x1f97ec--)(_0x164248=_0x466d90[_0x1f97ec])&&(_0x27e7e0=_0x164248(_0x27e7e0)||_0x27e7e0);return _0x27e7e0;},_0x54b4bc=(_0x446774,_0x49dff5)=>(_0x5ed49d,_0x247292)=>_0x49dff5(_0x5ed49d,_0x247292,_0x446774);let _0x5433ad=class extends _0x435b21[_0x2c927c(0x30a)]{constructor(_0x409977,_0x361cdc,_0x33e785){const _0xe4a47a=_0x2c927c;super(),_0x38f83b(this,'_entities',new Map()),_0x38f83b(this,_0xe4a47a(0x383),new _0x2cd233[(_0xe4a47a(0x112))]()),(this[_0xe4a47a(0x2cc)]=_0x409977,this['_injector']=_0x361cdc,this[_0xe4a47a(0x210)]=_0x33e785,this[_0xe4a47a(0x170)]());}[_0x2c927c(0x355)](){const _0xe4fd24=_0x2c927c;super[_0xe4fd24(0x355)](),this['_entityInit$']['complete'](),this[_0xe4fd24(0x172)][_0xe4fd24(0x186)](_0x59eaea=>_0x59eaea['dispose']());}[_0x2c927c(0x26e)](_0x43ce8b){const _0x45f3c2=_0x2c927c;return this[_0x45f3c2(0x172)][_0x45f3c2(0x133)](_0x43ce8b)?this[_0x45f3c2(0x172)][_0x45f3c2(0x373)](_0x43ce8b)[_0x45f3c2(0x16a)]:this[_0x45f3c2(0x383)]['pipe'](_0x2cd233[_0x45f3c2(0x25b)](_0x1da02a=>_0x1da02a['unitID']===_0x43ce8b),_0x2cd233['switchMap'](_0x3dd833=>_0x3dd833[_0x45f3c2(0x16a)]));}['_init'](){const _0x4fb043=_0x2c927c;this['_univerInstanceService'][_0x4fb043(0x2e5)](_0x435b21[_0x4fb043(0x2c3)][_0x4fb043(0x29d)])['pipe'](_0x2cd233[_0x4fb043(0x308)](this['dispose$']))[_0x4fb043(0x33d)](async _0x2341a6=>{const _0x4ac36e=_0x4fb043,_0x43e0bf=_0x2341a6['getUnitId'](),_0x3ae7fd=await this[_0x4ac36e(0x153)](_0x43e0bf);this[_0x4ac36e(0x383)][_0x4ac36e(0x1ab)](_0x3ae7fd),this['_entities'][_0x4ac36e(0x1e0)](_0x43e0bf,_0x3ae7fd);}),this[_0x4fb043(0x2cc)]['getTypeOfUnitAdded$'](_0x435b21['UniverInstanceType'][_0x4fb043(0x1c6)])[_0x4fb043(0x27e)](_0x2cd233[_0x4fb043(0x308)](this[_0x4fb043(0x1db)]))[_0x4fb043(0x27e)](_0x2cd233['filter'](_0x51d13c=>!_0x51d13c[_0x4fb043(0x349)]()[_0x4fb043(0x21a)]('__')))[_0x4fb043(0x33d)](async _0x177719=>{const _0x1c539d=_0x4fb043,_0x1f14bc=_0x177719['getUnitId'](),_0x5056a9=await this[_0x1c539d(0x335)](_0x1f14bc);this[_0x1c539d(0x383)][_0x1c539d(0x1ab)](_0x5056a9),this[_0x1c539d(0x172)][_0x1c539d(0x1e0)](_0x1f14bc,_0x5056a9);}),_0x2cd233[_0x4fb043(0x16c)](this[_0x4fb043(0x2cc)][_0x4fb043(0x202)](_0x435b21[_0x4fb043(0x2c3)][_0x4fb043(0x1c6)]),this[_0x4fb043(0x2cc)]['getTypeOfUnitDisposed$'](_0x435b21[_0x4fb043(0x2c3)][_0x4fb043(0x29d)]))[_0x4fb043(0x27e)](_0x2cd233['takeUntil'](this[_0x4fb043(0x1db)]))[_0x4fb043(0x33d)](_0x5e7655=>{const _0x260eeb=_0x4fb043,_0x478868=_0x5e7655[_0x260eeb(0x349)](),_0x218312=this[_0x260eeb(0x172)][_0x260eeb(0x373)](_0x478868);_0x218312&&(_0x218312[_0x260eeb(0x355)](),this[_0x260eeb(0x172)][_0x260eeb(0x191)](_0x478868));});}async[_0x2c927c(0x153)](_0x552877){const _0x131e87=_0x2c927c,_0x4bdcdc=await this['_collabSessionService']['requireSession'](_0x552877),_0xe712d9=this[_0x131e87(0x234)]['createInstance'](_0x30ea1a,_0x552877,_0x4bdcdc);return _0xe712d9[_0x131e87(0x124)](),_0xe712d9;}async['_startDocCollabCursor'](_0x541156){const _0x327d96=_0x2c927c,_0x4a00b7=await this[_0x327d96(0x210)][_0x327d96(0x1c8)](_0x541156),_0x149414=this[_0x327d96(0x234)][_0x327d96(0x2d8)](_0x232c48,_0x541156,_0x4a00b7);return _0x149414[_0x327d96(0x124)](),_0x149414;}};_0x5433ad=_0x2e20e6([_0x54b4bc(0x0,_0x435b21[_0x2c927c(0x374)]),_0x54b4bc(0x1,_0x435b21[_0x2c927c(0x10f)](_0x435b21[_0x2c927c(0x11c)])),_0x54b4bc(0x2,_0x435b21[_0x2c927c(0x10f)](_0x423a8c[_0x2c927c(0x2b9)]))],_0x5433ad);const _0x3d1e90=0x14,_0x3047c1=0xc8,_0x4680e7=0x4,_0x1c95f2=0x5;function _0x379399(_0x259a2d,_0x5512e8){const _0x57bcc5=_0x2c927c;let {radius:_0x55954a,width:_0x3da89a,height:_0x54c38f}=_0x5512e8;_0x55954a=_0x55954a!=null?_0x55954a:0x0,_0x3da89a=_0x3da89a!=null?_0x3da89a:0x1e,_0x54c38f=_0x54c38f!=null?_0x54c38f:0x1e;let _0x5835f4=0x0,_0x5873bc=0x0,_0x4a46d6=0x0;_0x5835f4=_0x5873bc=_0x4a46d6=Math[_0x57bcc5(0x253)](_0x55954a,_0x3da89a/0x2,_0x54c38f/0x2),_0x259a2d[_0x57bcc5(0x34c)](),_0x259a2d[_0x57bcc5(0x2a9)](_0x5835f4,0x0),_0x259a2d[_0x57bcc5(0x168)](_0x3da89a-_0x5873bc,0x0),_0x259a2d[_0x57bcc5(0x194)](_0x3da89a-_0x5873bc,_0x5873bc,_0x5873bc,Math['PI']*0x3/0x2,0x0,!0x1),_0x259a2d['lineTo'](_0x3da89a,_0x54c38f-_0x4a46d6),_0x259a2d[_0x57bcc5(0x194)](_0x3da89a-_0x4a46d6,_0x54c38f-_0x4a46d6,_0x4a46d6,0x0,Math['PI']/0x2,!0x1),_0x259a2d[_0x57bcc5(0x168)](0x0,_0x54c38f),_0x259a2d[_0x57bcc5(0x168)](0x0,_0x5835f4),_0x259a2d[_0x57bcc5(0x194)](_0x5835f4,_0x5835f4,_0x5835f4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x259a2d[_0x57bcc5(0x262)](),_0x5512e8['fill']&&(_0x259a2d[_0x57bcc5(0x31f)](),_0x259a2d[_0x57bcc5(0x146)]=_0x5512e8[_0x57bcc5(0x2e9)],_0x5512e8[_0x57bcc5(0x370)]==='evenodd'?_0x259a2d[_0x57bcc5(0x2e9)](_0x57bcc5(0x252)):_0x259a2d[_0x57bcc5(0x2e9)](),_0x259a2d['restore']());}class _0x11a841 extends _0x4af3d8[_0x2c927c(0x348)]{constructor(_0x40ca8b,_0x1f2359){const _0x551174=_0x2c927c;super(_0x40ca8b,_0x1f2359),_0x38f83b(this,_0x551174(0x18a)),_0x38f83b(this,'text'),(this[_0x551174(0x18a)]=_0x1f2359==null?void 0x0:_0x1f2359[_0x551174(0x18a)],this[_0x551174(0x1f8)]=_0x1f2359==null?void 0x0:_0x1f2359['text']);}static[_0x2c927c(0x1a8)](_0xda381,_0x25459b){const _0x13c076=_0x2c927c,{text:_0x93e585,color:_0x42bd11}=_0x25459b;_0xda381[_0x13c076(0x31f)](),_0xda381[_0x13c076(0x36a)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x1bdced=_0xda381[_0x13c076(0x249)](_0x93e585)[_0x13c076(0x2e3)],_0x125946=Math['min'](_0x1bdced+0x2*_0x4680e7,_0x3047c1);_0x379399(_0xda381,{'height':_0x3d1e90,'radius':0x4,'width':_0x125946,'fill':_0x42bd11}),_0xda381[_0x13c076(0x146)]=_0x13c076(0x275);const _0x253fdf=_0x4680e7,_0x43f492=_0x3d1e90-_0x1c95f2,_0x1cfdde=_0x3047c1-0x2*_0x4680e7;if(_0x1bdced>_0x1cfdde){let _0xc0975='',_0x3f7008=0x0;for(const _0x233d07 of _0x93e585){const _0x3b3652=_0xda381['measureText'](_0x233d07)[_0x13c076(0x2e3)];if(_0x3f7008+_0x3b3652<=_0x1cfdde-_0xda381[_0x13c076(0x249)](_0x13c076(0x334))['width'])_0xc0975+=_0x233d07,_0x3f7008+=_0x3b3652;else{_0xc0975+=_0x13c076(0x334);break;}}_0xda381[_0x13c076(0x345)](_0xc0975,_0x253fdf,_0x43f492);}else _0xda381[_0x13c076(0x345)](_0x93e585,_0x253fdf,_0x43f492);_0xda381[_0x13c076(0x272)]();}[_0x2c927c(0x344)](_0x1ae0d9){_0x11a841['drawWith'](_0x1ae0d9,this);}}const _0x31ccb0=_0x2c927c(0x29c),_0x22232e='collab-text-range-',_0x4ca4d9=_0x2c927c(0x2c0),_0x1d44a7=0x6,_0x17bd38=1.5,_0x151bf3=0x4,_0x3bf253=1.5,_0x42b86b='rgba(255,\x20255,\x20255,\x200.01)';class _0x1f1040{constructor(_0x541729,_0x3a3d6,_0x4d9d77,_0x3f065e){const _0x354f7d=_0x2c927c;_0x38f83b(this,'_shapes',[]),_0x38f83b(this,_0x354f7d(0x235),null),_0x38f83b(this,_0x354f7d(0x2fa),null),_0x38f83b(this,'_anchorDot',null),_0x38f83b(this,_0x354f7d(0x294),null),_0x38f83b(this,'_eventUnsubscribe',null),(this[_0x354f7d(0x12c)]=_0x541729,this[_0x354f7d(0x157)]=_0x3a3d6,this['_docSkeleton']=_0x4d9d77,this['_document']=_0x3f065e,this[_0x354f7d(0x239)]());}set[_0x2c927c(0x1cc)](_0x2eaa25){const _0x477c1e=_0x2c927c;_0x2eaa25?(this['_anchorDot']&&this[_0x477c1e(0x11b)][_0x477c1e(0x2dc)](),this['_textBubble']&&this[_0x477c1e(0x2fa)][_0x477c1e(0x1a7)]()):(this['_anchorDot']&&this[_0x477c1e(0x11b)]['show'](),this[_0x477c1e(0x2fa)]&&this[_0x477c1e(0x2fa)]['hide']());}['dispose'](){const _0x21ea04=_0x2c927c;for(const _0xea0f35 of this[_0x21ea04(0x1cd)])_0xea0f35[_0x21ea04(0x355)]();this['_textBubble']&&this[_0x21ea04(0x2fa)]['dispose'](),this[_0x21ea04(0x11b)]&&this[_0x21ea04(0x11b)][_0x21ea04(0x355)](),this['_anchor']&&this[_0x21ea04(0x235)][_0x21ea04(0x355)](),this[_0x21ea04(0x380)]&&this[_0x21ea04(0x380)]();}[_0x2c927c(0x239)](){const _0x18e503=_0x2c927c;var _0x2be97f;const {_docSkeleton:_0x3dbc57,_document:_0x2ef2a3}=this,{color:_0x35a38d,name:_0x239dc5,ranges:_0x25d72d}=this[_0x18e503(0x12c)],_0x16ce1b=_0x2ef2a3[_0x18e503(0x107)](),{docsLeft:_0x18638f,docsTop:_0x34e5b2}=_0x16ce1b,_0x1c6fa4=new _0x4b4959['NodePositionConvertToCursor'](_0x16ce1b,_0x3dbc57);for(const {startOffset:_0x1a8e0c,endOffset:_0x145a34,rangeType:_0x31518a,segmentId:_0x3dba6c,segmentPage:_0x3d0c5a,collapsed:_0x1b046f,isActive:_0x189884}of _0x25d72d){const _0x456896=_0x3dbc57['findNodePositionByCharIndex'](_0x1a8e0c,!0x0,_0x3dba6c,_0x3d0c5a);let _0x4ab612=_0x3dbc57[_0x18e503(0x2e6)](_0x145a34,!0x0,_0x3dba6c,_0x3d0c5a);if(_0x4ab612==null&&(_0x4ab612=_0x3dbc57[_0x18e503(0x2e6)](_0x145a34-0x1,!0x1,_0x3dba6c,_0x3d0c5a)),_0x189884){const {contentBoxPointGroup:_0x51cea9}=_0x1c6fa4[_0x18e503(0x343)](_0x4ab612,_0x4ab612);if(_0x51cea9[_0x18e503(0x1cb)]===0x0)continue;this[_0x18e503(0x1dd)](_0x35a38d,_0x51cea9,_0x18638f,_0x34e5b2,_0x239dc5),this[_0x18e503(0x380)]=this['_handleHover']();}if(_0x456896&&_0x4ab612){if(_0x31518a===_0x435b21[_0x18e503(0x23d)][_0x18e503(0x188)]){const _0x129a6e=new _0x4b4959[(_0x18e503(0x15b))](_0x16ce1b,_0x3dbc57),{pointGroup:_0xd3bc40}=(_0x2be97f=_0x129a6e[_0x18e503(0x343)](_0x456896,_0x4ab612))!=null?_0x2be97f:{};if(_0xd3bc40==null||_0xd3bc40[_0x18e503(0x1cb)]===0x0)continue;this[_0x18e503(0x1b2)](_0x35a38d,_0xd3bc40,_0x18638f,_0x34e5b2);}else{if(!_0x1b046f){const {borderBoxPointGroup:_0x4f1978}=_0x1c6fa4[_0x18e503(0x343)](_0x456896,_0x4ab612);if(_0x4f1978['length']===0x0)continue;this[_0x18e503(0x1a3)](_0x35a38d,_0x4f1978,_0x18638f,_0x34e5b2);}}}}}['_drawAnchor'](_0x38f2ec,_0x41dd76,_0x5b2f7c,_0x57a94e,_0x52d7fd){const _0x2317ce=_0x2c927c,_0x4b69a6=this['_getAnchorBounding'](_0x41dd76),{left:_0x66ce52,top:_0x13367c,height:_0x1ad4cc}=_0x4b69a6,_0x53b7db=this[_0x2317ce(0x247)](),_0x4bfa5c=_0x3bf253/_0x53b7db,_0x585a4a=new _0x4af3d8[(_0x2317ce(0xf6))](_0x31ccb0+_0x435b21[_0x2317ce(0x331)][_0x2317ce(0x30d)](_0x1d44a7),{'left':_0x66ce52+_0x5b2f7c-_0x4bfa5c,'top':_0x13367c+_0x57a94e,'height':_0x1ad4cc,'width':_0x17bd38,'fill':_0x38f2ec||_0x4af3d8['getColor'](_0x435b21[_0x2317ce(0x145)]['black'],0x0),'strokeWidth':_0x4bfa5c,'stroke':_0x42b86b,'evented':!0x0});this[_0x2317ce(0x235)]=_0x585a4a,this[_0x2317ce(0x157)][_0x2317ce(0x2ea)](_0x585a4a,_0x4b4959[_0x2317ce(0x29a)]);const _0x98cf55=new _0x4af3d8['Rect'](_0x31ccb0+_0x435b21[_0x2317ce(0x331)][_0x2317ce(0x30d)](_0x1d44a7),{'left':_0x66ce52+_0x5b2f7c-_0x4bfa5c,'top':_0x13367c+_0x57a94e-_0x151bf3/0x2,'height':_0x151bf3,'width':_0x151bf3,'fill':_0x38f2ec||_0x4af3d8['getColor'](_0x435b21[_0x2317ce(0x145)][_0x2317ce(0x306)],0x0),'strokeWidth':0x0,'stroke':_0x38f2ec||_0x4af3d8[_0x2317ce(0x256)](_0x435b21['COLORS'][_0x2317ce(0x306)],0x0),'evented':!0x1});this['_anchorDot']=_0x98cf55,this[_0x2317ce(0x157)][_0x2317ce(0x2ea)](_0x98cf55,_0x4b4959[_0x2317ce(0x29a)]);const _0x601888=new _0x11a841(_0x31ccb0+_0x435b21[_0x2317ce(0x331)][_0x2317ce(0x30d)](_0x1d44a7),{'left':_0x66ce52+_0x5b2f7c-_0x4bfa5c,'top':_0x13367c+_0x57a94e-_0x3d1e90,'text':_0x52d7fd,'color':_0x38f2ec});this[_0x2317ce(0x2fa)]=_0x601888,this[_0x2317ce(0x157)][_0x2317ce(0x2ea)](_0x601888,_0x4b4959[_0x2317ce(0x29a)]),this[_0x2317ce(0x1cc)]=!0x1;}[_0x2c927c(0x13a)](){const _0x43ed28=_0x2c927c,_0x59b20a=this[_0x43ed28(0x235)][_0x43ed28(0x225)][_0x43ed28(0x231)](()=>{const _0x4aa7ab=_0x43ed28;this[_0x4aa7ab(0x1cc)]=!0x0;}),_0x56ecc6=this[_0x43ed28(0x235)][_0x43ed28(0x106)][_0x43ed28(0x231)](()=>{const _0x14f797=_0x43ed28;this['_hideTimer']&&clearTimeout(this[_0x14f797(0x294)]),this[_0x14f797(0x294)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x22b942=_0x43ed28;_0x59b20a[_0x22b942(0x342)](),_0x56ecc6['unsubscribe']();};}[_0x2c927c(0x1a3)](_0x23dc08,_0x33b0e2,_0x4467fa,_0x149e4b){const _0x26ef09=_0x2c927c,_0x3ee453=new _0x435b21[(_0x26ef09(0x182))](_0x23dc08)[_0x26ef09(0x2c1)](0.2)[_0x26ef09(0x127)](),_0x4c6ee5=new _0x4af3d8[(_0x26ef09(0x13f))](_0x22232e+_0x435b21['Tools'][_0x26ef09(0x30d)](_0x1d44a7),{'pointsGroup':_0x33b0e2,'fill':_0x3ee453||_0x4af3d8[_0x26ef09(0x256)](_0x435b21[_0x26ef09(0x145)]['black'],0.2),'left':_0x4467fa,'top':_0x149e4b,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x26ef09(0x1cd)][_0x26ef09(0x2fb)](_0x4c6ee5),this[_0x26ef09(0x157)]['addObject'](_0x4c6ee5,_0x4b4959[_0x26ef09(0x29a)]);}[_0x2c927c(0x1b2)](_0x2dbca1,_0x55a521,_0x5cacac,_0x46a567){const _0x198650=_0x2c927c,_0x383ba8=new _0x435b21['ColorKit'](_0x2dbca1)['setAlpha'](0.2)['toRgbString'](),_0x2e36bf=new _0x4af3d8[(_0x198650(0x13f))](_0x4ca4d9+_0x435b21[_0x198650(0x331)][_0x198650(0x30d)](_0x1d44a7),{'pointsGroup':_0x55a521,'fill':_0x383ba8||_0x4af3d8[_0x198650(0x256)](_0x435b21['COLORS'][_0x198650(0x306)],0.2),'left':_0x5cacac,'top':_0x46a567,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x198650(0x1cd)][_0x198650(0x2fb)](_0x2e36bf),this[_0x198650(0x157)][_0x198650(0x2ea)](_0x2e36bf,_0x4b4959[_0x198650(0x29a)]);}[_0x2c927c(0x2b5)](_0x36c1c0){const _0x3143ab=_0x36c1c0[0x0],_0x395adc=_0x3143ab[0x0],_0x18633a=_0x3143ab[0x2],{x:_0x2e82aa,y:_0x189023}=_0x395adc,{x:_0x756e08,y:_0x469d84}=_0x18633a;return{'left':_0x2e82aa,'top':_0x189023,'width':_0x756e08-_0x2e82aa,'height':_0x469d84-_0x189023};}[_0x2c927c(0x247)](){const _0xc2ef74=_0x2c927c,{scaleX:_0xbf6335,scaleY:_0x244673}=this[_0xc2ef74(0x157)][_0xc2ef74(0x1ce)]();return Math[_0xc2ef74(0x2a1)](_0xbf6335,_0x244673);}}var _0x13079e=Object['getOwnPropertyDescriptor'],_0x3cdc12=(_0x13fc31,_0x219356,_0x5eca85,_0x50ed3d)=>{const _0xad2802=_0x2c927c;for(var _0x4d73d6=_0x50ed3d>0x1?void 0x0:_0x50ed3d?_0x13079e(_0x219356,_0x5eca85):_0x219356,_0x2e4d3c=_0x13fc31[_0xad2802(0x1cb)]-0x1,_0x4ea2a5;_0x2e4d3c>=0x0;_0x2e4d3c--)(_0x4ea2a5=_0x13fc31[_0x2e4d3c])&&(_0x4d73d6=_0x4ea2a5(_0x4d73d6)||_0x4d73d6);return _0x4d73d6;},_0x9acea1=(_0x1786d8,_0x1d2f88)=>(_0x43a39c,_0x3fc17f)=>_0x1d2f88(_0x43a39c,_0x3fc17f,_0x1786d8);let _0x3317c9=class extends _0x435b21[_0x2c927c(0x30a)]{constructor(_0x13da8c,_0x587460,_0x1422aa,_0x354a19,_0x336e48){const _0x5c9be2=_0x2c927c;super(),_0x38f83b(this,_0x5c9be2(0x228),[]),_0x38f83b(this,_0x5c9be2(0x2f8),[]),(this['_context']=_0x13da8c,this[_0x5c9be2(0x2d4)]=_0x587460,this[_0x5c9be2(0x261)]=_0x1422aa,this['_commandService']=_0x354a19,this[_0x5c9be2(0x278)]=_0x336e48,this[_0x5c9be2(0x170)]());}['_init'](){const _0x3e104f=_0x2c927c,_0x54c8e0=this['_context'][_0x3e104f(0x31c)],_0x57373d=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x2cd233[_0x3e104f(0x29b)]([this[_0x3e104f(0x261)]['getCollabCursors$'](_0x54c8e0),this['_themeService'][_0x3e104f(0x18e)]])['pipe'](_0x4ce2ac[_0x3e104f(0x1fe)](([_0x175b6c,_0x465522])=>({'skeleton':_0x57373d[_0x3e104f(0x371)](),'cursors':[..._0x175b6c[_0x3e104f(0x290)]()][_0x3e104f(0x167)](_0x4a2be9=>({..._0x4a2be9,'color':_0x465522[_0x4a2be9[_0x3e104f(0x18a)]]}))})))[_0x3e104f(0x33d)](_0x553bd4=>{const _0x268f5f=_0x3e104f;if(this['_removeCollabCursors'](),_0x553bd4){const {skeleton:_0xaf3e28,cursors:_0x5e6982}=_0x553bd4;this[_0x268f5f(0xf1)](_0xaf3e28,_0x5e6982);}})),this[_0x3e104f(0x35e)](),this[_0x3e104f(0x10a)]();}[_0x2c927c(0xf1)](_0x4ecae2,_0x2a20c1){const _0x448446=_0x2c927c,{scene:_0x5bb015,mainComponent:_0x36aa87}=this[_0x448446(0xee)],_0x175916=_0x2a20c1[_0x448446(0x1fe)](_0x3bd88d=>new _0x1f1040(_0x3bd88d,_0x5bb015,_0x4ecae2,_0x36aa87));this[_0x448446(0x228)]=_0x175916,this[_0x448446(0x2f8)]=_0x2a20c1;}[_0x2c927c(0x260)](){const _0x3a248c=_0x2c927c;this[_0x3a248c(0x189)]();const {scene:_0x708ffd,mainComponent:_0x5eb619}=this['_context'],_0x1d15ef=this[_0x3a248c(0x2d4)]['getSkeleton'](),_0x4e88eb=this[_0x3a248c(0x2f8)][_0x3a248c(0x1fe)](_0x973ca8=>new _0x1f1040(_0x973ca8,_0x708ffd,_0x1d15ef,_0x5eb619));this[_0x3a248c(0x228)]=_0x4e88eb;}['_removeCollabCursors'](){const _0x2242ec=_0x2c927c;this[_0x2242ec(0x228)][_0x2242ec(0x186)](_0x312363=>_0x312363[_0x2242ec(0x355)]()),this['_cursorShapes']=[];}[_0x2c927c(0x10a)](){const _0x16ffa7=_0x2c927c,_0x38565f=[_0x4b4959[_0x16ffa7(0x32a)]['id']];this[_0x16ffa7(0x2db)](this[_0x16ffa7(0x36c)][_0x16ffa7(0x37f)](_0x3cb780=>{const _0x9f4e7f=_0x16ffa7;_0x38565f[_0x9f4e7f(0x10c)](_0x3cb780['id'])&&_0x3cb780[_0x9f4e7f(0x318)]['unitId']===this[_0x9f4e7f(0xee)][_0x9f4e7f(0x31c)]&&this[_0x9f4e7f(0x260)]();}));}['_initResize'](){const _0x3e1558=_0x2c927c;this[_0x3e1558(0x2db)](_0x435b21['fromEventSubject'](this[_0x3e1558(0xee)][_0x3e1558(0x330)][_0x3e1558(0x1d4)])[_0x3e1558(0x27e)](_0x4ce2ac[_0x3e1558(0x25b)](_0xa59644=>_0xa59644[_0x3e1558(0x17b)]===_0x4af3d8[_0x3e1558(0x22f)][_0x3e1558(0x1c7)]),_0x4ce2ac[_0x3e1558(0x31d)](0x10))[_0x3e1558(0x33d)](()=>{const _0x49d006=_0x3e1558;this[_0x49d006(0x260)]();}));}};_0x3317c9=_0x3cdc12([_0x9acea1(0x1,_0x435b21[_0x2c927c(0x10f)](_0xf499cd[_0x2c927c(0xec)])),_0x9acea1(0x2,_0x435b21[_0x2c927c(0x10f)](_0x5433ad)),_0x9acea1(0x3,_0x435b21[_0x2c927c(0x310)]),_0x9acea1(0x4,_0x435b21['Inject'](_0x435b21[_0x2c927c(0x27d)]))],_0x3317c9);const _0xb6e3b4=0x1,_0x415d59=1.5;class _0x3997f5 extends _0x4af3d8[_0x2c927c(0x348)]{constructor(_0x2901fe,_0xf4666d){const _0x6fc4c2=_0x2c927c;super(_0x2901fe,_0xf4666d),_0x38f83b(this,_0x6fc4c2(0xf3)),_0x38f83b(this,_0x6fc4c2(0x2d5),!0x1),_0x38f83b(this,_0x6fc4c2(0x2fe)),_0x38f83b(this,'_name',''),_0x38f83b(this,_0x6fc4c2(0x25a),'top'),_0x38f83b(this,'_backgroundColor'),(_0xf4666d&&this[_0x6fc4c2(0x379)](_0xf4666d),this[_0x6fc4c2(0x225)][_0x6fc4c2(0x231)](()=>this[_0x6fc4c2(0x379)]({'hovered':!0x0})),this[_0x6fc4c2(0x106)]['subscribeEvent'](()=>this[_0x6fc4c2(0x379)]({'hovered':!0x1})));}[_0x2c927c(0x379)](_0x5a0b29){const _0x7d67dc=_0x2c927c;var _0x3cc700,_0x1266a9,_0x3933d0,_0x5a59b1,_0x4c67f3,_0x16574a;this[_0x7d67dc(0xf3)]=(_0x3cc700=_0x5a0b29['color'])!=null?_0x3cc700:this[_0x7d67dc(0xf3)],this['_hovered']=(_0x1266a9=_0x5a0b29[_0x7d67dc(0x351)])!=null?_0x1266a9:this[_0x7d67dc(0x2d5)],this[_0x7d67dc(0x2fe)]=(_0x3933d0=_0x5a0b29[_0x7d67dc(0x1af)])!=null?_0x3933d0:this[_0x7d67dc(0x2fe)],this[_0x7d67dc(0x270)]=(_0x5a59b1=_0x5a0b29[_0x7d67dc(0x2f0)])!=null?_0x5a59b1:this[_0x7d67dc(0x270)],this['_labelPosition']=(_0x4c67f3=_0x5a0b29[_0x7d67dc(0x37a)])!=null?_0x4c67f3:this[_0x7d67dc(0x25a)],this[_0x7d67dc(0x28a)]=(_0x16574a=_0x5a0b29[_0x7d67dc(0x305)])!=null?_0x16574a:this[_0x7d67dc(0x28a)],this[_0x7d67dc(0x324)]({'width':_0x5a0b29['width'],'height':_0x5a0b29[_0x7d67dc(0x296)]});}['onMouseMove'](_0x2cfa13){const _0x569f74=_0x2c927c,{row:_0x45d9e6,column:_0x8764dc}=_0x2cfa13;if(_0x45d9e6>=this[_0x569f74(0x2fe)]['startRow']&&_0x45d9e6<=this[_0x569f74(0x2fe)][_0x569f74(0x216)]&&_0x8764dc>=this[_0x569f74(0x2fe)][_0x569f74(0x199)]&&_0x8764dc<=this['_range'][_0x569f74(0x201)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x569f74(0x379)]({'hovered':!0x1});}[_0x2c927c(0x2aa)](_0x3209d5){return!0x1;}[_0x2c927c(0x344)](_0x24415c){const _0x16f267=_0x2c927c;_0x4af3d8['Rect'][_0x16f267(0x1a8)](_0x24415c,{'width':this[_0x16f267(0x2e3)],'height':this[_0x16f267(0x296)],'strokeWidth':_0x415d59,'stroke':this[_0x16f267(0xf3)],'evented':!0x1,'fill':this[_0x16f267(0x28a)]}),this[_0x16f267(0x2d5)]&&(_0x24415c[_0x16f267(0x31f)](),_0x24415c[_0x16f267(0x382)](0x1,0x0,0x0,0x1,this['width'],this[_0x16f267(0x25a)]===_0x16f267(0x1f5)?0x0:-0x14),_0x11a841['drawWith'](_0x24415c,{'text':this[_0x16f267(0x270)],'color':this[_0x16f267(0xf3)]}),_0x24415c[_0x16f267(0x272)]());}}var _0x539f43=Object[_0x2c927c(0x23e)],_0x2232f2=(_0x14c490,_0x15ec54,_0x224b66,_0x4ae812)=>{const _0x54e99b=_0x2c927c;for(var _0x3fc33d=_0x4ae812>0x1?void 0x0:_0x4ae812?_0x539f43(_0x15ec54,_0x224b66):_0x15ec54,_0x98cf53=_0x14c490[_0x54e99b(0x1cb)]-0x1,_0x31de69;_0x98cf53>=0x0;_0x98cf53--)(_0x31de69=_0x14c490[_0x98cf53])&&(_0x3fc33d=_0x31de69(_0x3fc33d)||_0x3fc33d);return _0x3fc33d;},_0x450bac=(_0x3c2e67,_0xaa407b)=>(_0x5b1e55,_0x3dddb9)=>_0xaa407b(_0x5b1e55,_0x3dddb9,_0x3c2e67);const _0x19461b=0x1389;let _0x3bd592=class extends _0x435b21['RxDisposable']{constructor(_0x23bc17,_0x3f4ff3,_0x4e057e,_0x420fc4){const _0x512d62=_0x2c927c;super(),_0x38f83b(this,_0x512d62(0x2f8),new Set()),_0x38f83b(this,_0x512d62(0x1b4),null),(this[_0x512d62(0xee)]=_0x23bc17,this[_0x512d62(0x140)]=_0x3f4ff3,this['_collabCursorController']=_0x4e057e,this[_0x512d62(0x278)]=_0x420fc4,this[_0x512d62(0x170)]());}['_init'](){const _0x641e3d=_0x2c927c;this[_0x641e3d(0x140)][_0x641e3d(0x1ea)][_0x641e3d(0x27e)](_0x4ce2ac[_0x641e3d(0x308)](this['dispose$']),_0x4ce2ac[_0x641e3d(0x1e8)](_0x399d10=>{const _0x593567=_0x641e3d;if(_0x399d10){const _0x5e0b84=_0x399d10[_0x593567(0x288)];return _0x2cd233[_0x593567(0x29b)](this[_0x593567(0x261)][_0x593567(0x26e)](this[_0x593567(0xee)][_0x593567(0x31c)]),this['_themeService']['currentTheme$'])[_0x593567(0x27e)](_0x4ce2ac['map'](([_0x49252b,_0x3b1699])=>{const _0x5f0979=_0x593567,_0x5041de=new Map();return _0x49252b[_0x5f0979(0x186)]((_0x397a61,_0x43482b)=>{const _0x38c4f3=_0x5f0979;if(_0x397a61[_0x38c4f3(0x304)]===_0x5e0b84){const _0x4870f6={..._0x397a61};_0x4870f6[_0x38c4f3(0x18a)]=_0x3b1699[_0x397a61[_0x38c4f3(0x18a)]],_0x5041de[_0x38c4f3(0x1e0)](_0x43482b,_0x4870f6);}}),{'skeleton':_0x399d10,'cursors':_0x5041de};}));}return _0x2cd233['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0xcecf23,cursors:_0x23f02d})=>{const _0x125e90=_0x641e3d;this[_0x125e90(0x189)](),_0xcecf23&&this['_updateCollabCursors'](_0xcecf23,_0x23f02d);}),this[_0x641e3d(0x140)][_0x641e3d(0x1ea)][_0x641e3d(0x33d)](_0x18bf6c=>{const _0x346f68=_0x641e3d;if(_0x18bf6c==null)return;const {skeleton:_0x457056}=_0x18bf6c,{scene:_0x4e5cb0}=this[_0x346f68(0xee)];_0x4e5cb0[_0x346f68(0x340)][_0x346f68(0x231)](_0x435b21[_0x346f68(0x156)](_0x126b68=>{const _0x4f5671=_0x346f68;var _0x35e121,_0x1507b2;const {offsetX:_0x549ebd,offsetY:_0xba421a}=_0x126b68,{x:_0x2ef1c9,y:_0x4aee6b}=_0x4e5cb0[_0x4f5671(0x378)](_0x4af3d8[_0x4f5671(0x118)][_0x4f5671(0x1f3)]([_0x549ebd,_0xba421a])),{scaleX:_0x4fa6e3,scaleY:_0x15d1e8}=_0x4e5cb0[_0x4f5671(0x1ce)](),_0x3eba95=_0x4e5cb0[_0x4f5671(0x1cf)](_0x4af3d8[_0x4f5671(0x257)]['VIEW_MAIN']),_0x14d508=_0x4e5cb0[_0x4f5671(0x301)](_0x4af3d8[_0x4f5671(0x118)][_0x4f5671(0x1f3)]([_0x2ef1c9,_0x4aee6b]),_0x3eba95),_0x110fd8=_0x457056[_0x4f5671(0x1f7)](_0x549ebd,_0xba421a,_0x4fa6e3,_0x15d1e8,_0x14d508);((_0x35e121=this[_0x4f5671(0x1b4)])==null?void 0x0:_0x35e121[_0x4f5671(0x265)])===_0x110fd8[_0x4f5671(0x265)]&&((_0x1507b2=this[_0x4f5671(0x1b4)])==null?void 0x0:_0x1507b2[_0x4f5671(0x163)])===_0x110fd8[_0x4f5671(0x163)]||this[_0x4f5671(0x2f8)][_0x4f5671(0x186)](_0x268994=>{_0x268994['onMouseMove'](_0x110fd8);});},0x64));});}[_0x2c927c(0xf1)](_0x4ee4bf,_0x302516){const _0x55c4a9=_0x2c927c;var _0x429266;const _0x1a8bab=(_0x429266=this['_sheetSkeletonManagerService']['getCurrent']())==null?void 0x0:_0x429266[_0x55c4a9(0x177)];if(!_0x1a8bab)return;const _0x2dc196=this[_0x55c4a9(0x28b)]();if(!_0x2dc196)return;this[_0x55c4a9(0x2f8)]['forEach'](_0x4e7118=>{const _0x5c41a6=_0x55c4a9;_0x4e7118[_0x5c41a6(0x276)]();});const {scene:_0x3d820e}=_0x2dc196,_0x3f6270=_0x572de0(Array[_0x55c4a9(0x30f)](_0x302516['values']()))[_0x55c4a9(0x1fe)](_0x29fb4f=>{const _0x24c058=_0x55c4a9,{color:_0x40b477,range:_0x27abfa,name:_0x194a9b,selection:_0x32b124,sheetID:_0x2446cd}=_0x29fb4f,{startColumn:_0x56803b,startRow:_0x3fed3e,endColumn:_0x2ff1b4,endRow:_0x531a8c}=_0x27abfa,_0x1377cf=_0x487df1['getCoordByCell'](_0x3fed3e,_0x56803b,_0x3d820e,_0x1a8bab),_0x5ab59=_0x487df1[_0x24c058(0x243)](_0x531a8c,_0x2ff1b4,_0x3d820e,_0x1a8bab),{columnHeaderHeightAndMarginTop:_0x59574b}=_0x1a8bab,{startX:_0x40e5a1,startY:_0x12f225}=_0x1377cf,{endX:_0x45e436,endY:_0x35202a}=_0x5ab59,_0x37374f=_0x45e436-_0x40e5a1,_0x3efab4=_0x35202a-_0x12f225,_0xdc3b76={'labelPosition':_0x12f225-_0x59574b>=_0x3d1e90?_0x24c058(0x111):_0x24c058(0x1f5),'sheetID':_0x2446cd,'range':_0x27abfa,'color':_0x40b477,'name':_0x194a9b,'selection':_0x32b124,'left':_0x40e5a1,'top':_0x12f225,'width':_0x37374f,'height':_0x3efab4,'evented':!0x1,'zIndex':_0x19461b};return new _0x3997f5(_0x194a9b,_0xdc3b76);});_0x3d820e[_0x55c4a9(0x271)](_0x3f6270,_0xb6e3b4),this['_cursors']=new Set(_0x3f6270);}['_removeCollabCursors'](){const _0x1f2e26=_0x2c927c;var _0x35cc45;(_0x35cc45=this[_0x1f2e26(0x2f8)])==null||_0x35cc45[_0x1f2e26(0x186)](_0x57743a=>_0x57743a[_0x1f2e26(0x355)]());}['_getSheetObject'](){const _0x2aaf93=_0x2c927c;return _0x487df1[_0x2aaf93(0x108)](this[_0x2aaf93(0xee)][_0x2aaf93(0x311)],this['_context']);}};_0x3bd592=_0x2232f2([_0x450bac(0x1,_0x435b21[_0x2c927c(0x10f)](_0x487df1[_0x2c927c(0x2cd)])),_0x450bac(0x2,_0x435b21[_0x2c927c(0x10f)](_0x5433ad)),_0x450bac(0x3,_0x435b21['Inject'](_0x435b21[_0x2c927c(0x27d)]))],_0x3bd592);function _0x572de0(_0x1e6edc){const _0xf32245=_0x2c927c,_0x56f826=new Map();return _0x1e6edc['forEach'](_0x124d20=>{const _0x1b91cb=_0x44a6;if(_0x56f826[_0x1b91cb(0x133)](_0x124d20[_0x1b91cb(0x35d)])){const _0x5b9cb9=_0x56f826[_0x1b91cb(0x373)](_0x124d20[_0x1b91cb(0x35d)]);_0x5b9cb9[_0x1b91cb(0x2f0)]+=',\x20'+_0x124d20[_0x1b91cb(0x2f0)];}else _0x56f826[_0x1b91cb(0x1e0)](_0x124d20['selection'],_0x124d20);}),Array[_0xf32245(0x30f)](_0x56f826[_0xf32245(0x290)]());}var _0x1e9d52=function(){const _0x313591=_0x2c927c;return _0x1e9d52=Object[_0x313591(0x282)]||function(_0x2aef1a){const _0x81f0b2=_0x313591;for(var _0x103298,_0x30a314=0x1,_0x4215b1=arguments[_0x81f0b2(0x1cb)];_0x30a314<_0x4215b1;_0x30a314++){_0x103298=arguments[_0x30a314];for(var _0x213e5c in _0x103298)Object['prototype'][_0x81f0b2(0x2a5)][_0x81f0b2(0x359)](_0x103298,_0x213e5c)&&(_0x2aef1a[_0x213e5c]=_0x103298[_0x213e5c]);}return _0x2aef1a;},_0x1e9d52['apply'](this,arguments);},_0x4f8897=function(_0x403a5a,_0x55936b){const _0x50436d=_0x2c927c;var _0x3ab9e6={};for(var _0x3e1b58 in _0x403a5a)Object[_0x50436d(0x174)]['hasOwnProperty'][_0x50436d(0x359)](_0x403a5a,_0x3e1b58)&&_0x55936b[_0x50436d(0x26f)](_0x3e1b58)<0x0&&(_0x3ab9e6[_0x3e1b58]=_0x403a5a[_0x3e1b58]);if(_0x403a5a!=null&&typeof Object['getOwnPropertySymbols']=='function'){for(var _0x35801e=0x0,_0x3e1b58=Object['getOwnPropertySymbols'](_0x403a5a);_0x35801e<_0x3e1b58[_0x50436d(0x1cb)];_0x35801e++)_0x55936b[_0x50436d(0x26f)](_0x3e1b58[_0x35801e])<0x0&&Object[_0x50436d(0x174)]['propertyIsEnumerable'][_0x50436d(0x359)](_0x403a5a,_0x3e1b58[_0x35801e])&&(_0x3ab9e6[_0x3e1b58[_0x35801e]]=_0x403a5a[_0x3e1b58[_0x35801e]]);}return _0x3ab9e6;},_0x4a39de=_0x37c89d['forwardRef'](function(_0x36e386,_0xf7a9c6){const _0x5f24c4=_0x2c927c;var _0x4a2744=_0x36e386[_0x5f24c4(0x297)],_0x54eb56=_0x36e386['id'],_0xa6295c=_0x36e386[_0x5f24c4(0x12b)],_0x23bb6c=_0x36e386[_0x5f24c4(0x1de)],_0x456e1f=_0x4f8897(_0x36e386,[_0x5f24c4(0x297),'id',_0x5f24c4(0x12b),_0x5f24c4(0x1de)]),_0x3505f9=_0x5f24c4(0x220)[_0x5f24c4(0x178)](_0x54eb56,'\x20')[_0x5f24c4(0x178)](_0xa6295c||'')[_0x5f24c4(0x325)](),_0x3e43fc=_0x37c89d['useRef']('_'['concat'](_0x2a3aa3()));return _0x29bb0a(_0x4a2744,''[_0x5f24c4(0x178)](_0x54eb56),{'defIds':_0x4a2744[_0x5f24c4(0x2f5)],'idSuffix':_0x3e43fc[_0x5f24c4(0x221)]},_0x1e9d52({'ref':_0xf7a9c6,'className':_0x3505f9},_0x456e1f),_0x23bb6c);});function _0x29bb0a(_0x91943,_0x4a9038,_0x269f2d,_0x2eb765,_0x54774e){const _0x1058e7=_0x2c927c;return _0x37c89d[_0x1058e7(0x357)](_0x91943['tag'],_0x1e9d52(_0x1e9d52({'key':_0x4a9038},_0x1f28c1(_0x91943,_0x269f2d,_0x54774e)),_0x2eb765),(_0x59d417(_0x91943,_0x269f2d)[_0x1058e7(0x173)]||[])[_0x1058e7(0x1fe)](function(_0x22cd5e,_0x225f5a){const _0x5ce1d5=_0x1058e7;return _0x29bb0a(_0x22cd5e,''[_0x5ce1d5(0x178)](_0x4a9038,'-')[_0x5ce1d5(0x178)](_0x91943['tag'],'-')[_0x5ce1d5(0x178)](_0x225f5a),_0x269f2d,void 0x0,_0x54774e);}));}function _0x1f28c1(_0xbe5117,_0x20dfb7,_0xafd092){const _0x4979c3=_0x2c927c;var _0x33153c=_0x1e9d52({},_0xbe5117[_0x4979c3(0x223)]);_0xafd092!=null&&_0xafd092['colorChannel1']&&_0x33153c[_0x4979c3(0x2e9)]==='colorChannel1'&&(_0x33153c[_0x4979c3(0x2e9)]=_0xafd092['colorChannel1']),_0xbe5117['tag']===_0x4979c3(0x31e)&&_0x33153c['id']&&(_0x33153c['id']=_0x33153c['id']+_0x20dfb7[_0x4979c3(0x11d)]),Object[_0x4979c3(0x24a)](_0x33153c)[_0x4979c3(0x186)](function(_0x142f3e){const _0x5327a1=_0x4979c3;var _0x535aa1=_0x142f3e[0x0],_0x3ede27=_0x142f3e[0x1];_0x535aa1===_0x5327a1(0x31e)&&typeof _0x3ede27==_0x5327a1(0x250)&&(_0x33153c[_0x535aa1]=_0x3ede27[_0x5327a1(0x2d9)](/url\(#(.*)\)/,_0x5327a1(0x358)[_0x5327a1(0x178)](_0x20dfb7[_0x5327a1(0x11d)],')')));});var _0x2d5c67=_0x20dfb7['defIds'];return!_0x2d5c67||_0x2d5c67[_0x4979c3(0x1cb)]===0x0||(_0xbe5117[_0x4979c3(0x148)]===_0x4979c3(0x37b)&&_0x33153c[_0x4979c3(0x285)]&&(_0x33153c[_0x4979c3(0x285)]=_0x33153c[_0x4979c3(0x285)]+_0x20dfb7[_0x4979c3(0x11d)]),Object['entries'](_0x33153c)[_0x4979c3(0x186)](function(_0x4461f1){const _0x4f3d8c=_0x4979c3;var _0x4454ab=_0x4461f1[0x0],_0x5e8c3c=_0x4461f1[0x1];typeof _0x5e8c3c=='string'&&(_0x33153c[_0x4454ab]=_0x5e8c3c['replace'](/url\(#(.*)\)/,_0x4f3d8c(0x358)[_0x4f3d8c(0x178)](_0x20dfb7['idSuffix'],')')));})),_0x33153c;}function _0x59d417(_0xde3011,_0x30cb14){const _0xf255c4=_0x2c927c;var _0x2d373a,_0x53526a=_0x30cb14['defIds'];return!_0x53526a||_0x53526a[_0xf255c4(0x1cb)]===0x0?_0xde3011:_0xde3011[_0xf255c4(0x148)]===_0xf255c4(0x236)&&(!((_0x2d373a=_0xde3011[_0xf255c4(0x173)])===null||_0x2d373a===void 0x0)&&_0x2d373a[_0xf255c4(0x1cb)])?_0x1e9d52(_0x1e9d52({},_0xde3011),{'children':_0xde3011[_0xf255c4(0x173)][_0xf255c4(0x1fe)](function(_0x57859d){const _0xe0141b=_0xf255c4;return typeof _0x57859d[_0xe0141b(0x223)]['id']==_0xe0141b(0x250)&&_0x53526a&&_0x53526a[_0xe0141b(0x26f)](_0x57859d[_0xe0141b(0x223)]['id'])>-0x1?_0x1e9d52(_0x1e9d52({},_0x57859d),{'attrs':_0x1e9d52(_0x1e9d52({},_0x57859d[_0xe0141b(0x223)]),{'id':_0x57859d[_0xe0141b(0x223)]['id']+_0x30cb14[_0xe0141b(0x11d)]})}):_0x57859d;})}):_0xde3011;}function _0x2a3aa3(){const _0x243190=_0x2c927c;return Math[_0x243190(0x298)]()[_0x243190(0x28e)](0x24)[_0x243190(0x28f)](0x2,0x8);}_0x4a39de[_0x2c927c(0x15c)]=_0x2c927c(0x14b);var _0x42ca44={'tag':'svg','attrs':{'fill':'none','viewBox':_0x2c927c(0x34f),'width':_0x2c927c(0x25d),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x2c927c(0x2a8)},'children':[{'tag':_0x2c927c(0x377),'attrs':{'stroke':_0x2c927c(0x2bb),'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':_0x2c927c(0x354),'strokeLinejoin':_0x2c927c(0x354),'strokeWidth':1.2}}]},{'tag':_0x2c927c(0x236),'attrs':{},'children':[{'tag':_0x2c927c(0x134),'attrs':{'id':_0x2c927c(0x1a6)},'children':[{'tag':'path','attrs':{'fill':_0x2c927c(0x161),'d':_0x2c927c(0x1e7)}}]}]}],'defIds':[_0x2c927c(0x1a6)]},_0x56e7ed=_0x37c89d[_0x2c927c(0x193)](function(_0x1c66ba,_0x13e946){const _0x308fe0=_0x2c927c;return _0x37c89d[_0x308fe0(0x357)](_0x4a39de,Object['assign']({},_0x1c66ba,{'id':_0x308fe0(0x20e),'ref':_0x13e946,'icon':_0x42ca44}));});_0x56e7ed[_0x2c927c(0x15c)]=_0x2c927c(0xfe);var _0x3f0b1a={'tag':_0x2c927c(0x22c),'attrs':{'fill':_0x2c927c(0x2b1),'viewBox':_0x2c927c(0x254),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':_0x2c927c(0x377),'attrs':{'stroke':_0x2c927c(0x2bb),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x2c927c(0x236),'attrs':{},'children':[{'tag':_0x2c927c(0x134),'attrs':{'id':_0x2c927c(0x1bb)},'children':[{'tag':_0x2c927c(0x377),'attrs':{'fill':_0x2c927c(0x161),'d':_0x2c927c(0x1e7),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x1e3bf6=_0x37c89d[_0x2c927c(0x193)](function(_0xb24327,_0x988fd){const _0xaafeca=_0x2c927c;return _0x37c89d[_0xaafeca(0x357)](_0x4a39de,Object[_0xaafeca(0x282)]({},_0xb24327,{'id':_0xaafeca(0x1ff),'ref':_0x988fd,'icon':_0x3f0b1a}));});_0x1e3bf6[_0x2c927c(0x15c)]='OnLineSingle';function _0x3afb1b(_0x138211){const _0x41ec28=_0x2c927c;switch(_0x138211){case _0x423a8c[_0x41ec28(0xf7)]['OFFLINE']:return'collabStatus.offline';case _0x423a8c['CollaborationStatus'][_0x41ec28(0x299)]:return _0x41ec28(0x2cf);case _0x423a8c[_0x41ec28(0xf7)][_0x41ec28(0x2ee)]:return _0x41ec28(0x2b7);case _0x423a8c[_0x41ec28(0xf7)]['NOT_COLLAB']:return _0x41ec28(0x2fc);case _0x423a8c[_0x41ec28(0xf7)][_0x41ec28(0x1ca)]:case _0x423a8c[_0x41ec28(0xf7)][_0x41ec28(0xfd)]:return _0x41ec28(0x151);case _0x423a8c[_0x41ec28(0xf7)][_0x41ec28(0x329)]:case _0x423a8c['CollaborationStatus'][_0x41ec28(0x2e0)]:return'collabStatus.synced';}}function _0x402c00(_0x26071f){const _0x47914f=_0x2c927c,{status$:_0x16f24f}=_0x26071f,_0x3359ac=_0x58ede6['useObservable'](_0x16f24f,_0x423a8c[_0x47914f(0xf7)]['NOT_COLLAB']),_0x4b0524=_0x58ede6[_0x47914f(0x2ed)](_0x435b21[_0x47914f(0x2f3)]),_0x4c8bc5=_0x58ede6[_0x47914f(0x2ed)](_0x423a8c[_0x47914f(0x2b9)]),_0x1df079=_0x3359ac!==_0x423a8c['CollaborationStatus'][_0x47914f(0x1c3)],_0x5edcee=_0x4b0524['t'](_0x3afb1b(_0x3359ac)),_0x398070=_0x1df079?_0x242235[_0x47914f(0x184)](_0x1e3bf6,{}):_0x242235[_0x47914f(0x184)](_0x56e7ed,{}),_0x37742c=_0x37c89d[_0x47914f(0x2ef)](()=>{const _0x1023d9=_0x47914f;_0x1df079||_0x4c8bc5[_0x1023d9(0x229)]();},[_0x1df079,_0x4c8bc5]);function _0x4b58f3(){const _0x20fcf0=_0x47914f;return _0x242235['jsxs'](_0x20fcf0(0x1ed),{'className':'univer-flex\x20univer-items-center','onClick':_0x37742c,'children':[_0x242235[_0x20fcf0(0x184)](_0x20fcf0(0x1ed),{'className':_0x3971cd[_0x20fcf0(0x218)]('univer-flex\x20univer-mr-2\x20univer-text-[20px]',_0x1df079?_0x20fcf0(0x2e2):_0x20fcf0(0x24b)),'children':_0x398070}),_0x242235['jsx']('div',{'className':'univer-text-[14px]\x20univer-leading-[32px]\x20univer-text-gray-600','children':_0x5edcee})]});}return _0x1df079?_0x4b58f3():_0x242235['jsx'](_0x3971cd[_0x47914f(0x1c9)],{'title':_0x4b0524['t']('collab-client.tooltip.reconnect'),'children':_0x4b58f3()});}var _0x474163=Object[_0x2c927c(0x23e)],_0x3d3d7b=(_0x454436,_0xeda91c,_0x28c611,_0x4db243)=>{for(var _0x279d6c=_0x4db243>0x1?void 0x0:_0x4db243?_0x474163(_0xeda91c,_0x28c611):_0xeda91c,_0x45b850=_0x454436['length']-0x1,_0x4266d0;_0x45b850>=0x0;_0x45b850--)(_0x4266d0=_0x454436[_0x45b850])&&(_0x279d6c=_0x4266d0(_0x279d6c)||_0x279d6c);return _0x279d6c;},_0x537464=(_0x22c3a0,_0x31d2f0)=>(_0xf71acf,_0x279449)=>_0x31d2f0(_0xf71acf,_0x279449,_0x22c3a0);_0x23fa2d[_0x2c927c(0x214)]=class extends _0x435b21[_0x2c927c(0x241)]{constructor(_0x414b75,_0x3f6da5,_0x50faa1,_0x52f793){const _0x2bb663=_0x2c927c;super(),_0x38f83b(this,'_status$',new _0x2cd233[(_0x2bb663(0x11a))](_0x423a8c[_0x2bb663(0xf7)][_0x2bb663(0x244)])),(this[_0x2bb663(0x2cc)]=_0x414b75,this[_0x2bb663(0x234)]=_0x3f6da5,this[_0x2bb663(0x12e)]=_0x50faa1,this[_0x2bb663(0x187)]=_0x52f793,this[_0x2bb663(0x1fa)](),this['_initStatusListener']());}[_0x2c927c(0x1c4)](){const _0x10573b=_0x2c927c;this['disposeWithMe'](this[_0x10573b(0x2cc)][_0x10573b(0x336)]['pipe'](_0x2cd233['switchMap'](()=>{const _0x3f0982=_0x10573b,_0x58a6d0=this[_0x3f0982(0x2cc)]['getFocusedUnit']();return _0x58a6d0?this[_0x3f0982(0x12e)]['getCollabEntity$'](_0x58a6d0[_0x3f0982(0x349)]()):_0x2cd233['of'](null);}),_0x2cd233[_0x10573b(0x1e8)](_0x1616d0=>_0x1616d0?_0x1616d0[_0x10573b(0x2d7)]:_0x2cd233['of'](_0x423a8c[_0x10573b(0xf7)][_0x10573b(0x244)])))['subscribe'](_0x31e596=>{const _0x243d37=_0x10573b;this[_0x243d37(0xed)][_0x243d37(0x1ab)](_0x31e596);}));}[_0x2c927c(0x1fa)](){const _0x47c802=_0x2c927c;this['disposeWithMe'](this['_uiPartsService']['registerComponent'](_0x58ede6['BuiltInUIPart'][_0x47c802(0x204)],()=>_0x58ede6[_0x47c802(0x1e2)](_0x4e0b7a({'status$':this['_status$'][_0x47c802(0x27a)]()}),this[_0x47c802(0x234)])));}},_0x23fa2d[_0x2c927c(0x214)]=_0x3d3d7b([_0x537464(0x0,_0x435b21[_0x2c927c(0x374)]),_0x537464(0x1,_0x435b21[_0x2c927c(0x10f)](_0x435b21[_0x2c927c(0x11c)])),_0x537464(0x2,_0x435b21['Inject'](_0x423a8c[_0x2c927c(0xf0)])),_0x537464(0x3,_0x58ede6['IUIPartsService'])],_0x23fa2d[_0x2c927c(0x214)]);function _0x4e0b7a(_0x24de51){const {status$:_0x3d90cc}=_0x24de51;return function(){return _0x242235['jsx'](_0x402c00,{'status$':_0x3d90cc});};}var _0x4c3144=Object[_0x2c927c(0x23e)],_0x48467c=(_0x393936,_0x490569,_0x27bae8,_0x3d9dc0)=>{const _0xfb1e38=_0x2c927c;for(var _0x406be8=_0x3d9dc0>0x1?void 0x0:_0x3d9dc0?_0x4c3144(_0x490569,_0x27bae8):_0x490569,_0x31d3d5=_0x393936[_0xfb1e38(0x1cb)]-0x1,_0x5725f6;_0x31d3d5>=0x0;_0x31d3d5--)(_0x5725f6=_0x393936[_0x31d3d5])&&(_0x406be8=_0x5725f6(_0x406be8)||_0x406be8);return _0x406be8;},_0x129794=(_0x54664e,_0xc69d00)=>(_0x401315,_0x3ba10a)=>_0xc69d00(_0x401315,_0x3ba10a,_0x54664e);let _0x35bcbb=class extends _0x435b21[_0x2c927c(0x241)]{constructor(_0x58b118,_0x377b95,_0x16314e,_0x13ff99,_0x23346e,_0x307ef4){const _0x3d56dd=_0x2c927c;super(),this[_0x3d56dd(0x341)]=_0x58b118,this['_localCacheService']=_0x377b95,this[_0x3d56dd(0x165)]=_0x16314e,this[_0x3d56dd(0x1b1)]=_0x13ff99,this['_notificationService']=_0x23346e,this[_0x3d56dd(0x1aa)]=_0x307ef4,this['_setupBeforeClosingHandler'](),this[_0x3d56dd(0x384)]();}['_setupBeforeClosingHandler'](){const _0x4bc6ff=_0x2c927c;this[_0x4bc6ff(0x2db)](this[_0x4bc6ff(0x341)][_0x4bc6ff(0x19b)](()=>{const _0x2a3062=_0x4bc6ff;if(this['_localCacheService'][_0x2a3062(0x13c)]['size'])return this['_localeService']['t'](_0x2a3062(0x1ad));}));}[_0x2c927c(0x384)](){const _0x34817b=_0x2c927c;this['disposeWithMe'](this[_0x34817b(0x165)][_0x34817b(0x303)][_0x34817b(0x33d)](_0x3ff8ee=>{const _0x30ae17=_0x34817b;_0x3ff8ee['id']===_0x423a8c['CollaborationUIEventId']['OTHER_CLIENT_EDITING']&&this[_0x30ae17(0x1b1)]['show']({'type':_0x3971cd['MessageType'][_0x30ae17(0x230)],'content':this[_0x30ae17(0x1aa)]['t'](_0x30ae17(0x14e))}),_0x3ff8ee['id']===_0x423a8c[_0x30ae17(0x26a)][_0x30ae17(0x2b8)]&&this[_0x30ae17(0x1b1)][_0x30ae17(0x1a7)]({'type':_0x3971cd['MessageType'][_0x30ae17(0x230)],'content':this[_0x30ae17(0x1aa)]['t'](_0x30ae17(0xea))}),_0x3ff8ee['id']===_0x423a8c['CollaborationUIEventId']['PERMISSION_DENIED']&&this[_0x30ae17(0x175)][_0x30ae17(0x1a7)]({'title':this[_0x30ae17(0x1aa)]['t'](_0x30ae17(0x12a)),'content':this[_0x30ae17(0x1aa)]['t']('permission.content'),'type':_0x30ae17(0x12d),'duration':0x0}),_0x3ff8ee['id']===_0x423a8c[_0x30ae17(0x26a)]['CONFLICT']&&this[_0x30ae17(0x1b1)][_0x30ae17(0x1a7)]({'type':_0x3971cd[_0x30ae17(0x169)][_0x30ae17(0x2c7)],'content':this['_localeService']['t'](_0x30ae17(0xea))+'('+_0x3ff8ee[_0x30ae17(0x1dc)]+')'}),_0x3ff8ee['id']===_0x423a8c[_0x30ae17(0x26a)][_0x30ae17(0x122)]&&this['_messageService'][_0x30ae17(0x1a7)]({'type':_0x3971cd[_0x30ae17(0x169)][_0x30ae17(0x230)],'content':this['_localeService']['t'](_0x3ff8ee['data']||'')}),_0x3ff8ee['id']===_0x423a8c[_0x30ae17(0x26a)][_0x30ae17(0x375)]&&this[_0x30ae17(0x1b1)]['show']({'type':_0x3971cd[_0x30ae17(0x169)]['Warning'],'content':this[_0x30ae17(0x1aa)]['t'](_0x30ae17(0x197))}),_0x3ff8ee['id']===_0x423a8c[_0x30ae17(0x26a)][_0x30ae17(0x2ae)]&&this[_0x30ae17(0x1b1)][_0x30ae17(0x1a7)]({'type':_0x3971cd[_0x30ae17(0x169)][_0x30ae17(0x2c7)],'content':this[_0x30ae17(0x1aa)]['t'](_0x30ae17(0x105))}),_0x3ff8ee['id']===_0x423a8c[_0x30ae17(0x26a)][_0x30ae17(0x1a0)]&&this[_0x30ae17(0x1b1)][_0x30ae17(0x1a7)]({'type':_0x3971cd[_0x30ae17(0x169)][_0x30ae17(0x2c7)],'content':this[_0x30ae17(0x1aa)]['t'](_0x30ae17(0x1ef))});}));}};_0x35bcbb=_0x48467c([_0x129794(0x0,_0x58ede6[_0x2c927c(0x23b)]),_0x129794(0x1,_0x423a8c['ILocalCacheService']),_0x129794(0x2,_0x435b21[_0x2c927c(0x10f)](_0x423a8c[_0x2c927c(0x2af)])),_0x129794(0x3,_0x58ede6[_0x2c927c(0x33c)]),_0x129794(0x4,_0x58ede6[_0x2c927c(0x126)]),_0x129794(0x5,_0x435b21[_0x2c927c(0x10f)](_0x435b21[_0x2c927c(0x2f3)]))],_0x35bcbb);const _0x382e8b=_0x2c927c(0x2c9),_0x4aa346={},_0x4a2486=_0x435b21[_0x2c927c(0x333)](_0x2c927c(0x102));var _0x2a35eb=Object['getOwnPropertyDescriptor'],_0x34070b=(_0x1ad12e,_0x4f333f,_0x42dc0f,_0xda0e13)=>{const _0x244acc=_0x2c927c;for(var _0x1e0458=_0xda0e13>0x1?void 0x0:_0xda0e13?_0x2a35eb(_0x4f333f,_0x42dc0f):_0x4f333f,_0x340a34=_0x1ad12e[_0x244acc(0x1cb)]-0x1,_0x54e6b9;_0x340a34>=0x0;_0x340a34--)(_0x54e6b9=_0x1ad12e[_0x340a34])&&(_0x1e0458=_0x54e6b9(_0x1e0458)||_0x1e0458);return _0x1e0458;},_0x44a35d=(_0x22c99b,_0x454876)=>(_0x5efa6,_0x258351)=>_0x454876(_0x5efa6,_0x258351,_0x22c99b);_0x23fa2d[_0x2c927c(0x20f)]=class extends _0x435b21[_0x2c927c(0x30a)]{constructor(_0x49a651,_0x43f024,_0x14858c,_0x36de66,_0x505632){const _0xf87680=_0x2c927c;super(),this[_0xf87680(0x362)]=_0x49a651,this[_0xf87680(0x19a)]=_0x43f024,this['_commandService']=_0x14858c,this[_0xf87680(0x1c2)]=_0x36de66,_0x505632?_0x505632==null||_0x505632[_0xf87680(0x2b3)]()[_0xf87680(0x2bd)](()=>this[_0xf87680(0x170)]()):(this[_0xf87680(0x19a)][_0xf87680(0x1da)](_0xf87680(0x2b0),_0xf87680(0x33e)),this[_0xf87680(0x170)]());}async['_init'](){const _0xd8a4fb=_0x2c927c,_0x1f17de=this['_urlService']['getParam']('unit'),_0x31e8d1=this[_0xd8a4fb(0x362)][_0xd8a4fb(0x16b)](_0xd8a4fb(0x17b)),_0x377abd=this[_0xd8a4fb(0x362)]['getParam'](_0xd8a4fb(0x1e3));if(!_0x1f17de||!_0x31e8d1){this['_logService'][_0xd8a4fb(0x1da)]('[CollaborationDataLoaderController]',_0xd8a4fb(0x30c));return;}const _0x195499=await this[_0xd8a4fb(0x1c2)]['loadUnit'](_0x1f17de,Number(_0x31e8d1),_0x377abd);_0x195499&&_0x195499 instanceof _0x435b21['Workbook']&&this['_setupSubUnitSync'](_0x195499);}async['_setupSubUnitSync'](_0x2ed50e){const _0xbd3823=_0x2c927c;await this['_updateSubUnitFromURLParams'](_0x2ed50e),_0x2ed50e[_0xbd3823(0x2dd)][_0xbd3823(0x27e)](_0x2cd233[_0xbd3823(0x308)](this['dispose$']))[_0xbd3823(0x33d)](_0x6f314e=>{const _0x6d95e8=_0xbd3823;_0x6f314e&&this[_0x6d95e8(0x207)](_0x6f314e);}),this[_0xbd3823(0x362)][_0xbd3823(0xf4)][_0xbd3823(0x27e)](_0x2cd233['takeUntil'](this['dispose$']))[_0xbd3823(0x33d)](()=>this[_0xbd3823(0x25e)](_0x2ed50e));}[_0x2c927c(0x207)](_0x1bc5ef,_0x22518f=!0x1){const _0x16e40d=_0x2c927c,_0x3b527d=this[_0x16e40d(0x362)][_0x16e40d(0x16b)]('subunit');_0x1bc5ef[_0x16e40d(0x11e)]()!==_0x3b527d&&this[_0x16e40d(0x362)][_0x16e40d(0x2be)](_0x16e40d(0x1e3),_0x1bc5ef[_0x16e40d(0x11e)](),_0x22518f);}async[_0x2c927c(0x25e)](_0x3761d5){const _0x5d3b15=_0x2c927c;var _0x53f815;const _0x24114b=this[_0x5d3b15(0x362)][_0x5d3b15(0x16b)](_0x5d3b15(0x1e3));if(!_0x24114b||!_0x3761d5['getSheetBySheetId'](_0x24114b)){const _0x93debe=_0x3761d5[_0x5d3b15(0x15d)]()[0x0],_0x47b3eb=_0x3761d5[_0x5d3b15(0x263)](_0x93debe);if(!_0x47b3eb)return;this[_0x5d3b15(0x207)](_0x47b3eb,!0x0),await this[_0x5d3b15(0x36c)][_0x5d3b15(0x2d3)](_0x4e65b0['SetWorksheetActivateCommand']['id'],{'unitId':_0x3761d5[_0x5d3b15(0x349)](),'subUnitId':_0x93debe});return;}((_0x53f815=_0x3761d5[_0x5d3b15(0x248)]())==null?void 0x0:_0x53f815[_0x5d3b15(0x11e)]())!==_0x24114b&&await this['_commandService'][_0x5d3b15(0x2d3)](_0x4e65b0[_0x5d3b15(0x18d)]['id'],{'unitId':_0x3761d5[_0x5d3b15(0x349)](),'subUnitId':_0x24114b});}},_0x23fa2d[_0x2c927c(0x20f)]=_0x34070b([_0x44a35d(0x0,_0x4a2486),_0x44a35d(0x1,_0x435b21[_0x2c927c(0x2ac)]),_0x44a35d(0x2,_0x435b21[_0x2c927c(0x310)]),_0x44a35d(0x3,_0x435b21[_0x2c927c(0x10f)](_0x423a8c[_0x2c927c(0x100)])),_0x44a35d(0x4,_0x435b21[_0x2c927c(0x139)](_0x47f244[_0x2c927c(0x33f)]))],_0x23fa2d[_0x2c927c(0x20f)]);var _0xd7ce1d=Object['getOwnPropertyDescriptor'],_0x48b05e=(_0x42a6d6,_0x24e678,_0x291b70,_0x3e2be1)=>{const _0x4a5e17=_0x2c927c;for(var _0x4a1c2b=_0x3e2be1>0x1?void 0x0:_0x3e2be1?_0xd7ce1d(_0x24e678,_0x291b70):_0x24e678,_0x4204f3=_0x42a6d6[_0x4a5e17(0x1cb)]-0x1,_0x25596a;_0x4204f3>=0x0;_0x4204f3--)(_0x25596a=_0x42a6d6[_0x4204f3])&&(_0x4a1c2b=_0x25596a(_0x4a1c2b)||_0x4a1c2b);return _0x4a1c2b;},_0x2fe2f9=(_0x1679da,_0x4cff27)=>(_0x2b6bb6,_0x4b5294)=>_0x4cff27(_0x2b6bb6,_0x4b5294,_0x1679da);let _0x326ff9=class{constructor(_0xbd2fd2,_0x386c50,_0x35329a){const _0x137930=_0x2c927c;this[_0x137930(0x234)]=_0xbd2fd2,this['_transformService']=_0x386c50,this['_renderManagerService']=_0x35329a;}[_0x2c927c(0x2e8)](_0x3abe42){const _0x429e53=_0x2c927c;this[_0x429e53(0x323)](_0x3abe42),this[_0x429e53(0x1d6)](_0x3abe42);}[_0x2c927c(0x1e4)](_0x5d67ec){const _0x367974=_0x2c927c,{unitID:_0x5ae819}=_0x5d67ec,_0x23a182=this['_renderManagerService'][_0x367974(0x21c)](_0x5ae819)[_0x367974(0x1ee)](_0x4b4959[_0x367974(0x2ad)]),{redoCache:_0x7294a8}=_0x23a182[_0x367974(0x20a)]();if(_0x7294a8[_0x367974(0x1cb)]===0x0)return _0x5d67ec;let _0x36c65=_0x435b21[_0x367974(0x331)]['deepClone'](_0x5d67ec[_0x367974(0x35c)][0x0]);for(let _0x470fc7=0x0;_0x470fc7<_0x7294a8[_0x367974(0x1cb)];_0x470fc7++){const _0x36f13a={'id':'doc.mutation.rich-text-editing','params':{..._0x7294a8[_0x470fc7]}},_0x292043=this['_transformService'][_0x367974(0x26b)](_0x36c65,_0x36f13a,!0x1);if(_0x1e007a[_0x367974(0x160)](_0x292043))throw _0x292043['error'];_0x36c65=_0x292043['m1Prime'];}return{..._0x435b21[_0x367974(0x331)][_0x367974(0x2c6)](_0x5d67ec),'mutations':[_0x36c65]};}[_0x2c927c(0x323)](_0x39fc52){const _0xa47112=_0x2c927c,{unitID:_0x4b0473}=_0x39fc52,_0x5a4057=this[_0xa47112(0x1e9)][_0xa47112(0x21c)](_0x4b0473)['with'](_0x4b4959[_0xa47112(0x2ad)]),{undoCache:_0x3351b3,redoCache:_0x2db180}=_0x5a4057[_0xa47112(0x20a)]();if(_0x3351b3['length']===0x0||_0x2db180[_0xa47112(0x1cb)]===0x0)return;const _0x1a10b9=[],_0x4d3a57=[];let _0x3e2ba1=_0x435b21[_0xa47112(0x331)][_0xa47112(0x2c6)](_0x39fc52[_0xa47112(0x35c)][0x0]),_0x3bcef8=_0x435b21[_0xa47112(0x331)]['deepClone'](_0x39fc52['mutations'][0x0]);for(let _0x5ec299=_0x3351b3[_0xa47112(0x1cb)]-0x1;_0x5ec299>=0x0;_0x5ec299--){const _0x5e6041={'id':_0xa47112(0x142),'params':{..._0x3351b3[_0x5ec299]}},_0x3cff01={'id':_0xa47112(0x142),'params':{..._0x2db180[_0x5ec299]}},_0x58f014=this['_transformService'][_0xa47112(0x26b)](_0x3e2ba1,_0x5e6041,!0x1),_0x5efecc=this[_0xa47112(0x185)]['transformMutation'](_0x3bcef8,_0x3cff01,!0x1);if(_0x1e007a[_0xa47112(0x160)](_0x58f014))throw _0x58f014['error'];if(_0x1e007a[_0xa47112(0x160)](_0x5efecc))throw _0x5efecc[_0xa47112(0x12d)];_0x1a10b9['unshift'](_0x58f014[_0xa47112(0x1d7)][_0xa47112(0x318)]),_0x4d3a57[_0xa47112(0x1c1)](_0x5efecc['m2Prime'][_0xa47112(0x318)]),_0x3e2ba1=_0x58f014[_0xa47112(0x372)],_0x3bcef8=_0x5efecc['m1Prime'];}_0x5a4057[_0xa47112(0x116)]({'undoCache':_0x1a10b9,'redoCache':_0x4d3a57});}[_0x2c927c(0x1d6)](_0x320399){const _0x2533c8=_0x2c927c,{unitID:_0x246e0d}=_0x320399,_0x37be87=this['_renderManagerService'][_0x2533c8(0x21c)](_0x246e0d)['with'](_0x4b4959[_0x2533c8(0x2ad)]),_0x4ee2d4=_0x37be87[_0x2533c8(0x350)]();if(_0x4ee2d4==null)return;const _0x2cdead=[{'id':_0x2533c8(0x142),'params':{'unitId':_0x320399[_0x2533c8(0x24c)],'actions':null,'textRanges':[_0x4ee2d4]}}],_0x21dcb0=this[_0x2533c8(0x185)]['transformMutationsWithChangeset'](_0x320399,_0x2cdead);if(!_0x1e007a[_0x2533c8(0x26c)](_0x21dcb0))throw _0x21dcb0[_0x2533c8(0x12d)];const _0x2a52c7=_0x21dcb0[_0x2533c8(0x1d7)][0x0]['params'][_0x2533c8(0xf2)];Array['isArray'](_0x2a52c7)&&_0x2a52c7[_0x2533c8(0x1cb)]&&_0x37be87[_0x2533c8(0x238)](_0x2a52c7[0x0]);}};_0x326ff9=_0x48b05e([_0x2fe2f9(0x0,_0x435b21[_0x2c927c(0x10f)](_0x435b21[_0x2c927c(0x11c)])),_0x2fe2f9(0x1,_0x1e007a[_0x2c927c(0x1be)]),_0x2fe2f9(0x2,_0x4af3d8[_0x2c927c(0x2ce)])],_0x326ff9);var _0x188008=Object[_0x2c927c(0x23e)],_0x5482e6=(_0x556871,_0x258a22,_0x2c468d,_0x522efd)=>{const _0x46d2e8=_0x2c927c;for(var _0xdad588=_0x522efd>0x1?void 0x0:_0x522efd?_0x188008(_0x258a22,_0x2c468d):_0x258a22,_0x21256e=_0x556871[_0x46d2e8(0x1cb)]-0x1,_0x1c2754;_0x21256e>=0x0;_0x21256e--)(_0x1c2754=_0x556871[_0x21256e])&&(_0xdad588=_0x1c2754(_0xdad588)||_0xdad588);return _0xdad588;},_0x27ce56=(_0x303ebe,_0x4e3925)=>(_0x358010,_0x10dc7e)=>_0x4e3925(_0x358010,_0x10dc7e,_0x303ebe);let _0x28e786=class{constructor(_0x1c7e58,_0x153b87,_0x404ad2){const _0x4f67aa=_0x2c927c;this[_0x4f67aa(0x234)]=_0x1c7e58,this[_0x4f67aa(0x185)]=_0x153b87,this[_0x4f67aa(0x367)]=_0x404ad2;}[_0x2c927c(0x16d)](_0x38cef1){this['_transformHistoryAndStateStack'](_0x38cef1);}[_0x2c927c(0x1e4)](_0x1f820f){const _0x4ee88d=_0x2c927c,{unitID:_0x53994e}=_0x1f820f,{collaboration:_0xe02502}=this[_0x4ee88d(0x367)][_0x4ee88d(0x2bc)](_0x53994e);if(_0xe02502[_0x4ee88d(0x1cb)]===0x0)return _0x1f820f;let _0x5e1fce=_0x435b21[_0x4ee88d(0x331)][_0x4ee88d(0x2c6)](_0x1f820f[_0x4ee88d(0x35c)][0x0]);for(let _0x56c453=0x0;_0x56c453<_0xe02502[_0x4ee88d(0x1cb)];_0x56c453++){const _0x5e68f2={'id':_0x4ee88d(0x142),'params':{'unitId':_0xe02502[_0x56c453][_0x4ee88d(0x31c)],..._0xe02502[_0x56c453][_0x4ee88d(0x327)]}},_0x448a87=this[_0x4ee88d(0x185)][_0x4ee88d(0x26b)](_0x5e1fce,_0x5e68f2,!0x1);if(_0x1e007a['isTransformMutationFailure'](_0x448a87))throw _0x448a87['error'];_0x5e1fce=_0x448a87['m1Prime'];}return{..._0x435b21[_0x4ee88d(0x331)][_0x4ee88d(0x2c6)](_0x1f820f),'mutations':[_0x5e1fce]};}[_0x2c927c(0x284)](_0xee6ce4){const _0x556d36=_0x2c927c,{unitID:_0x4000ed}=_0xee6ce4,{history:_0x5c1c9f,collaboration:_0x113287}=this[_0x556d36(0x367)][_0x556d36(0x2bc)](_0x4000ed);if(_0x5c1c9f[_0x556d36(0x1cb)]===0x0&&_0x113287['length']===0x0)return;const _0xb3667f=[],_0x39d1dd=[];let _0x54acbd=_0x435b21[_0x556d36(0x331)][_0x556d36(0x2c6)](_0xee6ce4['mutations'][0x0]),_0xfcec45=_0x435b21[_0x556d36(0x331)]['deepClone'](_0xee6ce4[_0x556d36(0x35c)][0x0]);for(let _0x283593=_0x5c1c9f[_0x556d36(0x1cb)]-0x1;_0x283593>=0x0;_0x283593--){const _0x2b2b87={'id':_0x556d36(0x142),'params':{'unitId':_0x5c1c9f[_0x283593]['unitId'],..._0x5c1c9f[_0x283593][_0x556d36(0x209)]}},_0x12f538={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x5c1c9f[_0x283593][_0x556d36(0x31c)],..._0x5c1c9f[_0x283593][_0x556d36(0x327)]}},_0xa1b6a4=this[_0x556d36(0x185)][_0x556d36(0x26b)](_0x54acbd,_0x2b2b87,!0x1),_0x4a581a=this[_0x556d36(0x185)][_0x556d36(0x26b)](_0xfcec45,_0x12f538,!0x1);if(_0x1e007a['isTransformMutationFailure'](_0xa1b6a4))throw _0xa1b6a4[_0x556d36(0x12d)];if(_0x1e007a[_0x556d36(0x160)](_0x4a581a))throw _0x4a581a[_0x556d36(0x12d)];_0xb3667f[_0x556d36(0x1c1)]({..._0x5c1c9f[_0x283593],'undoState':_0xa1b6a4[_0x556d36(0x1d7)][_0x556d36(0x318)],'redoState':_0x4a581a['m2Prime'][_0x556d36(0x318)]}),_0x54acbd=_0xa1b6a4[_0x556d36(0x372)],_0xfcec45=_0x4a581a['m1Prime'];}_0x54acbd=_0x435b21[_0x556d36(0x331)][_0x556d36(0x2c6)](_0xee6ce4[_0x556d36(0x35c)][0x0]),_0xfcec45=_0x435b21['Tools'][_0x556d36(0x2c6)](_0xee6ce4[_0x556d36(0x35c)][0x0]);for(let _0x3aaae4=_0x113287['length']-0x1;_0x3aaae4>=0x0;_0x3aaae4--){const _0x5d84f1={'id':_0x556d36(0x142),'params':{'unitId':_0x113287[_0x3aaae4]['unitId'],..._0x113287[_0x3aaae4][_0x556d36(0x209)]}},_0x2940ac={'id':_0x556d36(0x142),'params':{'unitId':_0x113287[_0x3aaae4][_0x556d36(0x31c)],..._0x113287[_0x3aaae4][_0x556d36(0x327)]}},_0x3cf22b=this['_transformService'][_0x556d36(0x26b)](_0x54acbd,_0x5d84f1,!0x1),_0x2334fc=this[_0x556d36(0x185)][_0x556d36(0x26b)](_0xfcec45,_0x2940ac,!0x1);if(_0x1e007a[_0x556d36(0x160)](_0x3cf22b))throw _0x3cf22b['error'];if(_0x1e007a[_0x556d36(0x160)](_0x2334fc))throw _0x2334fc[_0x556d36(0x12d)];_0x39d1dd['unshift']({..._0x113287[_0x3aaae4],'undoState':_0x3cf22b[_0x556d36(0x1d7)][_0x556d36(0x318)],'redoState':_0x2334fc[_0x556d36(0x1d7)][_0x556d36(0x318)]}),_0x54acbd=_0x3cf22b[_0x556d36(0x372)],_0xfcec45=_0x2334fc[_0x556d36(0x372)];}this['_docStateChangeManagerService'][_0x556d36(0xfb)](_0x4000ed,{'history':_0xb3667f,'collaboration':_0x39d1dd});}};_0x28e786=_0x5482e6([_0x27ce56(0x0,_0x435b21[_0x2c927c(0x10f)](_0x435b21[_0x2c927c(0x11c)])),_0x27ce56(0x1,_0x1e007a['ITransformService']),_0x27ce56(0x2,_0x435b21[_0x2c927c(0x10f)](_0x4b4959[_0x2c927c(0x2c5)]))],_0x28e786);var _0x5dda59=Object[_0x2c927c(0x23e)],_0x428088=(_0x2bfe11,_0x54c190,_0x425d74,_0xbf7896)=>{const _0x1a759d=_0x2c927c;for(var _0x4ada2c=_0xbf7896>0x1?void 0x0:_0xbf7896?_0x5dda59(_0x54c190,_0x425d74):_0x54c190,_0x32b4a8=_0x2bfe11[_0x1a759d(0x1cb)]-0x1,_0x24748f;_0x32b4a8>=0x0;_0x32b4a8--)(_0x24748f=_0x2bfe11[_0x32b4a8])&&(_0x4ada2c=_0x24748f(_0x4ada2c)||_0x4ada2c);return _0x4ada2c;},_0x1d0287=(_0x1eae47,_0x55cac4)=>(_0x3eb722,_0x412b2a)=>_0x55cac4(_0x3eb722,_0x412b2a,_0x1eae47);let _0x279da1=class{constructor(_0x569b80,_0x5678e3){const _0x49993b=_0x2c927c;this[_0x49993b(0x234)]=_0x569b80,this[_0x49993b(0x185)]=_0x5678e3;}[_0x2c927c(0x1bc)](_0x441665){const _0x5376a0=_0x2c927c;var _0x27dca5;const _0x5e3d7f=this[_0x5376a0(0x234)][_0x5376a0(0x373)](_0xf499cd[_0x5376a0(0x143)]),_0x283383=(_0x27dca5=_0x5e3d7f[_0x5376a0(0x14a)]())!=null?_0x27dca5:[];if(_0x283383[_0x5376a0(0x1cb)]===0x0)return;const _0x14b98f=_0x441665['unitID'],_0x639107=[{'id':_0x5376a0(0x142),'params':{'unitId':_0x14b98f,'actions':null,'textRanges':_0x283383}}],_0x1c4711=this[_0x5376a0(0x185)][_0x5376a0(0x280)](_0x441665,_0x639107);if(!_0x1e007a[_0x5376a0(0x26c)](_0x1c4711))throw _0x1c4711[_0x5376a0(0x12d)];const _0x522af3=_0x1c4711[_0x5376a0(0x1d7)][0x0]['params']['textRanges'];Array[_0x5376a0(0x2b2)](_0x522af3)&&_0x522af3[_0x5376a0(0x1cb)]&&_0x5e3d7f[_0x5376a0(0x200)](_0x522af3,{'unitId':_0x14b98f,'subUnitId':_0x14b98f},!0x1);}};_0x279da1=_0x428088([_0x1d0287(0x0,_0x435b21[_0x2c927c(0x10f)](_0x435b21[_0x2c927c(0x11c)])),_0x1d0287(0x1,_0x1e007a[_0x2c927c(0x1be)])],_0x279da1);var _0xc16dba=Object['getOwnPropertyDescriptor'],_0x3bf040=(_0x4be736,_0x3fc766,_0xb120eb,_0x97ff2c)=>{const _0x57e80d=_0x2c927c;for(var _0x54bac9=_0x97ff2c>0x1?void 0x0:_0x97ff2c?_0xc16dba(_0x3fc766,_0xb120eb):_0x3fc766,_0x13cb33=_0x4be736[_0x57e80d(0x1cb)]-0x1,_0x211c14;_0x13cb33>=0x0;_0x13cb33--)(_0x211c14=_0x4be736[_0x13cb33])&&(_0x54bac9=_0x211c14(_0x54bac9)||_0x54bac9);return _0x54bac9;},_0x296cf4=(_0x3858a9,_0x376e58)=>(_0x2818a8,_0x4b235e)=>_0x376e58(_0x2818a8,_0x4b235e,_0x3858a9);let _0x5465fc=class extends _0x435b21[_0x2c927c(0x241)]{constructor(_0x35c829,_0x198445,_0x15790e,_0x3934d1,_0x516276,_0x3a2cc4,_0x11a588,_0x25ee72){const _0x120079=_0x2c927c;super(),_0x38f83b(this,_0x120079(0xed),new _0x2cd233[(_0x120079(0x11a))](_0x423a8c['CollaborationStatus'][_0x120079(0x244)])),(this[_0x120079(0x367)]=_0x35c829,this['_collaborationController']=_0x198445,this[_0x120079(0x101)]=_0x15790e,this[_0x120079(0x295)]=_0x3934d1,this[_0x120079(0x128)]=_0x516276,this[_0x120079(0x2eb)]=_0x3a2cc4,this[_0x120079(0x1b1)]=_0x11a588,this[_0x120079(0x1aa)]=_0x25ee72,this[_0x120079(0x37e)]());}[_0x2c927c(0x37e)](){const _0x1002ee=_0x2c927c;this[_0x1002ee(0x2db)](this[_0x1002ee(0x12e)]['entityInit$']['subscribe'](_0x3b2e70=>{const _0x3e8960=_0x1002ee,_0x586575=this[_0x3e8960(0x367)]['docStateChange$'][_0x3e8960(0x33d)](_0x553146=>{const _0x5456ac=_0x3e8960;if(_0x553146==null)return;const {unitId:_0x2b91eb,redoState:_0x210d81,commandId:_0x5c556f}=_0x553146;if(_0x2b91eb!==_0x3b2e70[_0x5456ac(0x24c)])return;const _0x376a88={'id':_0x5c556f,'type':_0x435b21['CommandType'][_0x5456ac(0x251)],'params':{'unitId':_0x2b91eb,'actions':_0x210d81['actions'],'textRanges':null}};_0x3b2e70['onLocalMutation'](_0x376a88);});if(_0x3b2e70['disposeWithMe'](_0x586575),_0x3b2e70 instanceof _0x423a8c[_0x3e8960(0x387)]){const _0x48c127={'onTransformIME':_0x3df51a=>this['_docTransformIMECacheService'][_0x3e8960(0x2e8)](_0x3df51a),'onTransformState':_0x38c7b2=>this[_0x3e8960(0x295)][_0x3e8960(0x16d)](_0x38c7b2),'onTransformSelections':_0x5c8129=>this[_0x3e8960(0x128)][_0x3e8960(0x1bc)](_0x5c8129),'onSyncEditingCollabCursor':_0xe0b1a2=>this[_0x3e8960(0x2eb)][_0x3e8960(0x1fb)](_0xe0b1a2),'onTransformRemoteChangesetByIMECache':_0x329b8b=>this['_docTransformIMECacheService'][_0x3e8960(0x1e4)](_0x329b8b),'onTransformRemoteChangesetByStateCache':_0x621cac=>this[_0x3e8960(0x295)][_0x3e8960(0x1e4)](_0x621cac)};_0x3b2e70[_0x3e8960(0x215)](_0x48c127);}}));}};_0x5465fc=_0x3bf040([_0x296cf4(0x0,_0x435b21[_0x2c927c(0x10f)](_0x4b4959[_0x2c927c(0x2c5)])),_0x296cf4(0x1,_0x435b21[_0x2c927c(0x10f)](_0x423a8c[_0x2c927c(0xf0)])),_0x296cf4(0x2,_0x435b21[_0x2c927c(0x10f)](_0x326ff9)),_0x296cf4(0x3,_0x435b21['Inject'](_0x28e786)),_0x296cf4(0x4,_0x435b21['Inject'](_0x279da1)),_0x296cf4(0x5,_0x435b21['Inject'](_0x4a01ed)),_0x296cf4(0x6,_0x58ede6[_0x2c927c(0x33c)]),_0x296cf4(0x7,_0x435b21[_0x2c927c(0x10f)](_0x435b21[_0x2c927c(0x2f3)]))],_0x5465fc);var _0x5b0a99=Object[_0x2c927c(0x23e)],_0x2e26de=(_0x5252a7,_0x43497a,_0x3f66f9,_0x253ac5)=>{const _0x28cc2f=_0x2c927c;for(var _0x4ed662=_0x253ac5>0x1?void 0x0:_0x253ac5?_0x5b0a99(_0x43497a,_0x3f66f9):_0x43497a,_0x160743=_0x5252a7[_0x28cc2f(0x1cb)]-0x1,_0xa2901c;_0x160743>=0x0;_0x160743--)(_0xa2901c=_0x5252a7[_0x160743])&&(_0x4ed662=_0xa2901c(_0x4ed662)||_0x4ed662);return _0x4ed662;},_0x1b1842=(_0x41cd93,_0x272539)=>(_0x2a95ff,_0x4eab5e)=>_0x272539(_0x2a95ff,_0x4eab5e,_0x41cd93);let _0x19bc91=class extends _0x435b21[_0x2c927c(0x241)]{constructor(_0x369cc1,_0x3409c1,_0x5dc17d){const _0x34c1da=_0x2c927c;super(),_0x38f83b(this,_0x34c1da(0x1b0),new Map()),_0x38f83b(this,_0x34c1da(0x2ec),new Map()),_0x38f83b(this,_0x34c1da(0x35b),!0x1),(this[_0x34c1da(0x2f6)]=_0x369cc1,this[_0x34c1da(0x206)]=_0x3409c1,this[_0x34c1da(0xff)]=_0x5dc17d);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x2c927c(0xeb)](){const _0x4bc5aa=_0x2c927c;this[_0x4bc5aa(0x35b)]=!0x1;}get[_0x2c927c(0x13c)](){return this['_saveTaskMap'];}[_0x2c927c(0x355)](){const _0x57e783=_0x2c927c;this[_0x57e783(0x1b8)]()[_0x57e783(0x2bd)](()=>super['dispose']());}async[_0x2c927c(0x2df)](_0x54558b){const _0x5710d9=_0x2c927c;return this[_0x5710d9(0x35b)]?null:this[_0x5710d9(0x206)][_0x5710d9(0xfc)](_0x423a8c['getLocalCacheKey'](_0x54558b));}async[_0x2c927c(0x19f)](_0x389435,_0x22b2d5){const _0x5d43b3=_0x2c927c;return!!this[_0x5d43b3(0x206)]['setItem'](_0x389435,_0x22b2d5);}['updateOfflineData'](_0x52d48d,_0x32f7b7,_0x1ca534,_0x2dc8aa){const _0x1cd4eb=_0x2c927c,_0x29b3d5=this[_0x1cd4eb(0xff)][_0x1cd4eb(0x155)](_0x52d48d);this[_0x1cd4eb(0x1b0)]['set'](_0x52d48d,{'unitID':_0x52d48d,'type':_0x32f7b7,'awaitingChangeset':_0x1ca534,'mutations':_0x2dc8aa,'rev':_0x29b3d5}),this[_0x1cd4eb(0x2ec)][_0x1cd4eb(0x133)](_0x52d48d)||this['_scheduleSaving'](_0x52d48d);}[_0x2c927c(0x158)](_0x38cf0e){const _0x56cd3b=_0x2c927c,_0x202876=this[_0x56cd3b(0xf8)]();_0x202876===0x0?this[_0x56cd3b(0x27c)](_0x38cf0e):this[_0x56cd3b(0x2ec)]['set'](_0x38cf0e,setTimeout(()=>this[_0x56cd3b(0x27c)](_0x38cf0e),_0x202876));}[_0x2c927c(0xf8)](){const _0x4adb3e=_0x2c927c;var _0x2b8cc0;return(_0x2b8cc0=this[_0x4adb3e(0x2f6)][_0x4adb3e(0x1bf)](_0x423a8c[_0x4adb3e(0x196)]))!=null?_0x2b8cc0:_0x423a8c[_0x4adb3e(0x34e)];}[_0x2c927c(0x27c)](_0xbdb619){const _0x32ad56=_0x2c927c,_0xd0d3b1=this[_0x32ad56(0x2ec)][_0x32ad56(0x373)](_0xbdb619);return _0xd0d3b1!==void 0x0&&window[_0x32ad56(0x2a0)](_0xd0d3b1),this[_0x32ad56(0x206)][_0x32ad56(0x32f)](_0x423a8c[_0x32ad56(0x322)](_0xbdb619),this['_cachedData'][_0x32ad56(0x373)](_0xbdb619))[_0x32ad56(0x2bd)](()=>this[_0x32ad56(0x2ec)][_0x32ad56(0x191)](_0xbdb619));}async['exhaustSavingTask'](){const _0x52ad64=_0x2c927c,_0x31ea0d=[];this[_0x52ad64(0x2ec)][_0x52ad64(0x186)]((_0x5bbad3,_0x4ce6a8)=>{const _0x188cf9=_0x52ad64;window[_0x188cf9(0x2a0)](_0x5bbad3),_0x31ea0d['push'](this[_0x188cf9(0x27c)](_0x4ce6a8)[_0x188cf9(0x2bd)](()=>{const _0x5e01fb=_0x188cf9;this[_0x5e01fb(0x2ec)][_0x5e01fb(0x191)](_0x4ce6a8);}));}),await Promise[_0x52ad64(0x17a)](_0x31ea0d);}};_0x19bc91=_0x2e26de([_0x1b1842(0x0,_0x435b21['IConfigService']),_0x1b1842(0x1,_0x435b21[_0x2c927c(0x2e1)]),_0x1b1842(0x2,_0x435b21[_0x2c927c(0x10f)](_0x1e007a[_0x2c927c(0x32b)]))],_0x19bc91);class _0x1b1813 extends _0x435b21[_0x2c927c(0x30a)]{constructor(){const _0x5adce2=_0x2c927c;super(),_0x38f83b(this,_0x5adce2(0xf4)),this['urlChange$']=_0x2cd233[_0x5adce2(0x376)](window,_0x5adce2(0x267))['pipe'](_0x2cd233['takeUntil'](this['dispose$']),_0x2cd233['shareReplay'](0x1),_0x2cd233[_0x5adce2(0x164)](void 0x0));}[_0x2c927c(0x2be)](_0xd8ab56,_0x345779,_0x4f28f3=!0x1){const _0x5f54d2=_0x2c927c,_0x40e64e=new URL(window[_0x5f54d2(0x1e6)]['href']);_0x40e64e[_0x5f54d2(0x180)][_0x5f54d2(0x1e0)](_0xd8ab56,_0x345779),_0x4f28f3?window[_0x5f54d2(0x29f)][_0x5f54d2(0x369)]('','',_0x40e64e[_0x5f54d2(0x28e)]()):window[_0x5f54d2(0x29f)]['pushState']('','',_0x40e64e[_0x5f54d2(0x28e)]());}[_0x2c927c(0x1df)](_0x4414e4,_0x40af2f=!0x1){const _0x43ce70=_0x2c927c,_0x53c6ba=new URL(window[_0x43ce70(0x1e6)]['href']);_0x53c6ba[_0x43ce70(0x180)][_0x43ce70(0x191)](_0x4414e4),_0x40af2f?window[_0x43ce70(0x29f)][_0x43ce70(0x369)]('','',_0x53c6ba[_0x43ce70(0x28e)]()):window[_0x43ce70(0x29f)][_0x43ce70(0x132)]('','',_0x53c6ba[_0x43ce70(0x28e)]());}['getParam'](_0x256e16){const _0x1ee5b5=_0x2c927c;var _0xe24949;return(_0xe24949=new URL(window['location'][_0x1ee5b5(0x136)])['searchParams'][_0x1ee5b5(0x373)](_0x256e16))!=null?_0xe24949:void 0x0;}}var _0x24d0f8=Object[_0x2c927c(0x386)],_0x3194c6=Object[_0x2c927c(0x23e)],_0x62dcd1=(_0x5dfee5,_0x4aa9c1,_0x19ee5f)=>_0x4aa9c1 in _0x5dfee5?_0x24d0f8(_0x5dfee5,_0x4aa9c1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x19ee5f}):_0x5dfee5[_0x4aa9c1]=_0x19ee5f,_0x339f24=(_0x1d5ebf,_0x2fe0c2,_0x2002ce,_0x160cad)=>{const _0x121754=_0x2c927c;for(var _0x2e4a60=_0x160cad>0x1?void 0x0:_0x160cad?_0x3194c6(_0x2fe0c2,_0x2002ce):_0x2fe0c2,_0x2150be=_0x1d5ebf[_0x121754(0x1cb)]-0x1,_0x377473;_0x2150be>=0x0;_0x2150be--)(_0x377473=_0x1d5ebf[_0x2150be])&&(_0x2e4a60=_0x377473(_0x2e4a60)||_0x2e4a60);return _0x2e4a60;},_0x5a588f=(_0x4f0c1f,_0xa33e18)=>(_0x4cb694,_0x3cd11d)=>_0xa33e18(_0x4cb694,_0x3cd11d,_0x4f0c1f),_0xa00b8b=(_0x2d87c5,_0xa24b17,_0x87d022)=>_0x62dcd1(_0x2d87c5,_0xa24b17+'',_0x87d022);const _0x2e533c=_0x2c927c(0x21b);_0x23fa2d[_0x2c927c(0x198)]=class extends _0x435b21[_0x2c927c(0x28c)]{constructor(_0x1f56b5=_0x4aa346,_0x5f0d45,_0x119a91,_0x4d49c0){const _0x4697bc=_0x2c927c;super(),this[_0x4697bc(0x103)]=_0x1f56b5,this[_0x4697bc(0x1e9)]=_0x5f0d45,this[_0x4697bc(0x234)]=_0x119a91,this[_0x4697bc(0x2f6)]=_0x4d49c0;const {..._0x8ea465}=_0x435b21[_0x4697bc(0x16c)]({},_0x4aa346,this['_config']);this['_configService'][_0x4697bc(0x34a)](_0x382e8b,_0x8ea465);}[_0x2c927c(0x1d0)](){const _0x3c5074=_0x2c927c;this[_0x3c5074(0x11f)](),this[_0x3c5074(0x18f)]();}[_0x2c927c(0x2f4)](){const _0x515834=_0x2c927c;this[_0x515834(0x273)]();}[_0x2c927c(0x11f)](){const _0x5ac44a=_0x2c927c;var _0x5983e6;const _0x455a82=[[_0x90e5a9],[_0x279da1],[_0x326ff9],[_0x28e786],[_0x4a01ed],[_0x4a2486,{'useClass':_0x1b1813}],[_0x4e6983[_0x5ac44a(0x2da)],{'useClass':_0x4e6983[_0x5ac44a(0x14d)]}],[_0x423a8c[_0x5ac44a(0x339)],{'useClass':_0x19bc91}],[_0x23fa2d[_0x5ac44a(0x214)]],[_0x5465fc],[_0x35bcbb],[_0x5433ad],[_0x49f868],[_0x23fa2d['CollaborationDataLoaderController']]];_0x435b21['registerDependencies'](this['_injector'],_0x435b21[_0x5ac44a(0x1b6)](_0x455a82,(_0x5983e6=this[_0x5ac44a(0x103)])==null?void 0x0:_0x5983e6['override']));}[_0x2c927c(0x273)](){const _0x4cae3b=_0x2c927c;this[_0x4cae3b(0x2db)](this['_renderManagerService'][_0x4cae3b(0x211)](_0x435b21[_0x4cae3b(0x2c3)][_0x4cae3b(0x1c6)],[_0x3317c9])),this[_0x4cae3b(0x2db)](this[_0x4cae3b(0x1e9)]['registerRenderModule'](_0x435b21[_0x4cae3b(0x2c3)][_0x4cae3b(0x29d)],[_0x3bd592]));}[_0x2c927c(0x18f)](){const _0x39fccc=_0x2c927c;_0x435b21[_0x39fccc(0x23f)](this['_injector'],[[_0x5433ad],[_0x23fa2d[_0x39fccc(0x214)]],[_0x5465fc],[_0x35bcbb],[_0x23fa2d[_0x39fccc(0x20f)]]]);}},_0xa00b8b(_0x23fa2d[_0x2c927c(0x198)],_0x2c927c(0x307),_0x2e533c),_0x23fa2d[_0x2c927c(0x198)]=_0x339f24([_0x435b21[_0x2c927c(0x25c)](_0x423a8c[_0x2c927c(0x14f)]),_0x5a588f(0x1,_0x4af3d8[_0x2c927c(0x2ce)]),_0x5a588f(0x2,_0x435b21[_0x2c927c(0x10f)](_0x435b21[_0x2c927c(0x11c)])),_0x5a588f(0x3,_0x435b21['IConfigService'])],_0x23fa2d[_0x2c927c(0x198)]);var _0x471f6a=Object[_0x2c927c(0x23e)],_0x5684d4=(_0x34db63,_0x487fa7,_0x4fe490,_0x2e2a58)=>{const _0x50e963=_0x2c927c;for(var _0x264bfd=_0x2e2a58>0x1?void 0x0:_0x2e2a58?_0x471f6a(_0x487fa7,_0x4fe490):_0x487fa7,_0x128fdf=_0x34db63[_0x50e963(0x1cb)]-0x1,_0x183641;_0x128fdf>=0x0;_0x128fdf--)(_0x183641=_0x34db63[_0x128fdf])&&(_0x264bfd=_0x183641(_0x264bfd)||_0x264bfd);return _0x264bfd;},_0x13cf62=(_0x5e2415,_0x1e28fa)=>(_0x41934d,_0x59e750)=>_0x1e28fa(_0x41934d,_0x59e750,_0x5e2415);_0x23fa2d['BrowserCollaborationSocketService']=class extends _0x423a8c[_0x2c927c(0x269)]{constructor(_0x12445f,_0x118534,_0x28c15c,_0x4dc10e,_0x4d953c){super(_0x12445f,_0x118534,_0x28c15c,_0x4dc10e,_0x4d953c);}async[_0x2c927c(0x353)](_0x57f1ef){const _0x464ed5=_0x2c927c,_0x1f287c=await this['_getSessionTicket'](),_0x2cbc06=this[_0x464ed5(0x2d2)](_0x57f1ef,_0x1f287c);return this['_doCreateSocket'](_0x2cbc06);}[_0x2c927c(0x2d2)](_0xacfddb,_0x4b5575){const _0xdd59f1=_0x2c927c,_0x3131d2=typeof window>'u'?new URL(_0xacfddb):new URL(_0xacfddb,window[_0xdd59f1(0x1e6)][_0xdd59f1(0x381)]);_0x3131d2[_0xdd59f1(0x180)][_0xdd59f1(0x1e0)]('sessionTicket',_0x4b5575);const _0x3de3cc=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0xdd59f1(0x1e6)][_0xdd59f1(0x34b)]);return _0x3de3cc['get'](_0xdd59f1(0x192))&&_0x3131d2[_0xdd59f1(0x180)]['set'](_0xdd59f1(0x192),_0x3de3cc['get']('runId')),_0x3131d2[_0xdd59f1(0x28e)]();}async['_getSessionTicket'](){const _0x17b2e0=_0x2c927c;var _0x2a54d6,_0xd8742d,_0x30eda4;const _0x9e96f4=this[_0x17b2e0(0x2f6)][_0x17b2e0(0x1bf)](_0x423a8c[_0x17b2e0(0x31b)]),_0xec1739=(_0x2a54d6=_0x9e96f4==null?void 0x0:_0x9e96f4[_0x17b2e0(0x166)])!=null?_0x2a54d6:_0x423a8c['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x30eda4=(_0xd8742d=(await this['_httpService'][_0x17b2e0(0x373)](_0xec1739,{'headers':{'Content-Type':_0x17b2e0(0x115)}}))[_0x17b2e0(0x16e)])==null?void 0x0:_0xd8742d[_0x17b2e0(0x293)])!=null?_0x30eda4:'';}},_0x23fa2d[_0x2c927c(0x1a5)]=_0x5684d4([_0x13cf62(0x0,_0x435b21[_0x2c927c(0x10f)](_0x435b21['Injector'])),_0x13cf62(0x1,_0x435b21['Inject'](_0x4e6983[_0x2c927c(0x21d)])),_0x13cf62(0x2,_0x435b21['IConfigService']),_0x13cf62(0x3,_0x435b21[_0x2c927c(0x2ac)]),_0x13cf62(0x4,_0x1e007a['ISnapshotServerService'])],_0x23fa2d[_0x2c927c(0x1a5)]);const _0x23191a=0x7530,_0x34881a='ACTIVE_UNIT_EVENT_CHANNEL';class _0xf8cc21 extends _0x435b21['Disposable']{constructor(){const _0x4c4801=_0x2c927c;super(),_0x38f83b(this,'_id',_0x435b21[_0x4c4801(0x30d)]()),_0x38f83b(this,'_selfUnitIDs',new Set()),_0x38f83b(this,_0x4c4801(0x13e),new Map()),_0x38f83b(this,_0x4c4801(0x22a),null),_0x38f83b(this,_0x4c4801(0x24d),new Map()),_0x38f83b(this,_0x4c4801(0x10d),new Map()),this[_0x4c4801(0x170)]();}['dispose'](){const _0x24d706=_0x2c927c;super[_0x24d706(0x355)](),this[_0x24d706(0x24d)][_0x24d706(0x186)]((_0x29091d,_0x1277d3)=>this[_0x24d706(0x26d)](_0x1277d3)),this[_0x24d706(0x22a)]&&window[_0x24d706(0x222)](this[_0x24d706(0x22a)]);}[_0x2c927c(0x2cb)](_0x5c09fa){const _0x18c122=_0x2c927c;return this[_0x18c122(0x287)](_0x5c09fa)['pipe'](_0x2cd233[_0x18c122(0x2e7)]());}[_0x2c927c(0x17f)](_0x165a07){const _0xcad183=_0x2c927c;this[_0xcad183(0x356)][_0xcad183(0x1b7)]===0x0&&this[_0xcad183(0x1b3)](),this['_selfUnitIDs']['add'](_0x165a07),this['_send']({'type':0x0,'memberID':this[_0xcad183(0x37d)],'unitIDs':[_0x165a07],'isForwarded':!0x1});}['disposeUnit'](_0x3e5607){const _0x431f1d=_0x2c927c;this[_0x431f1d(0x356)][_0x431f1d(0x191)](_0x3e5607),this[_0x431f1d(0x356)][_0x431f1d(0x1b7)]===0x0&&this[_0x431f1d(0x22a)]&&window[_0x431f1d(0x222)](this[_0x431f1d(0x22a)]);}[_0x2c927c(0x170)](){const _0x195f83=_0x2c927c;this[_0x195f83(0x2db)](_0x435b21[_0x195f83(0x1bd)](_0x2cd233['fromEvent'](window,_0x195f83(0x268))[_0x195f83(0x33d)](_0x399eaa=>{const _0x308b68=_0x195f83;if(_0x399eaa[_0x308b68(0x130)]!==_0x34881a||!_0x399eaa[_0x308b68(0x317)])return;const _0x153ed0=JSON['parse'](_0x399eaa[_0x308b68(0x317)]);this[_0x308b68(0x1f4)](_0x153ed0);}))),window[_0x195f83(0x1b5)](_0x195f83(0x18c),()=>this[_0x195f83(0x312)]({'type':0x1,'memberID':this[_0x195f83(0x37d)],'unitIDs':Array[_0x195f83(0x30f)](this[_0x195f83(0x356)])}));}['_handleEvent'](_0x2af9b0){const _0x597da4=_0x2c927c;switch(_0x2af9b0[_0x597da4(0x17b)]){case 0x0:this[_0x597da4(0x2a4)](_0x2af9b0);break;case 0x1:this[_0x597da4(0x129)](_0x2af9b0);break;case 0x2:this[_0x597da4(0x1ba)](_0x2af9b0);break;}}['_handleJoinEvent'](_0x519806){const _0x6a5930=_0x2c927c,{unitIDs:_0x1e357c,memberID:_0x197c4d,isForwarded:_0xd46e88}=_0x519806;_0x1e357c[_0x6a5930(0x186)](_0x47bb5a=>{const _0x2a7454=_0x6a5930;if(!_0xd46e88&&this[_0x2a7454(0x13e)][_0x2a7454(0x133)](_0x47bb5a)&&this['_ensureSubject'](_0x47bb5a)['next'](_0x423a8c[_0x2a7454(0x203)]['OTHER_CLIENTS_EDITING']),!this[_0x2a7454(0x13e)][_0x2a7454(0x133)](_0x47bb5a)||!this[_0x2a7454(0x13e)][_0x2a7454(0x373)](_0x47bb5a)['has'](_0x197c4d)){const _0x1793e4=this[_0x2a7454(0x13e)][_0x2a7454(0x373)](_0x47bb5a)||new Set();_0x1793e4[_0x2a7454(0x35f)](_0x197c4d),this[_0x2a7454(0x13e)]['set'](_0x47bb5a,_0x1793e4),this['_scheduleClearOtherTimer'](_0x197c4d);}}),_0xd46e88||this[_0x6a5930(0x312)]({'type':0x0,'memberID':this[_0x6a5930(0x37d)],'unitIDs':[...this[_0x6a5930(0x356)]],'isForwarded':!0x0});}[_0x2c927c(0x291)](_0x2a78ed){const _0x1a541c=_0x2c927c;this[_0x1a541c(0x26d)](_0x2a78ed);const _0x26a9e4=window[_0x1a541c(0x1d8)](()=>{const _0x407115=_0x1a541c;this[_0x407115(0x13e)][_0x407115(0x186)](_0x189ef9=>{const _0x4b5d0d=_0x407115;_0x189ef9[_0x4b5d0d(0x191)](_0x2a78ed);});},_0x23191a*0x2);this[_0x1a541c(0x24d)][_0x1a541c(0x1e0)](_0x2a78ed,_0x26a9e4);}[_0x2c927c(0x26d)](_0x5c481b){const _0x50bd94=_0x2c927c;if(this[_0x50bd94(0x24d)][_0x50bd94(0x133)](_0x5c481b)){const _0x580047=this['_clearOtherTimers'][_0x50bd94(0x373)](_0x5c481b);_0x580047&&window[_0x50bd94(0x2a0)](_0x580047),this[_0x50bd94(0x24d)][_0x50bd94(0x1e0)](_0x5c481b,null);}}[_0x2c927c(0x129)](_0x365c1d){const _0x3e4cb4=_0x2c927c,{memberID:_0x414d53,unitIDs:_0x538a69}=_0x365c1d;_0x538a69[_0x3e4cb4(0x186)](_0x15243d=>{const _0x397bf2=_0x3e4cb4;var _0x1c85cb;const _0x3b897f=this[_0x397bf2(0x13e)][_0x397bf2(0x373)](_0x15243d);_0x3b897f&&(_0x3b897f[_0x397bf2(0x191)](_0x414d53),(_0x1c85cb=this[_0x397bf2(0x287)](_0x15243d))==null||_0x1c85cb[_0x397bf2(0x1ab)](_0x3b897f['size']===0x0?_0x423a8c[_0x397bf2(0x203)][_0x397bf2(0xfa)]:_0x423a8c[_0x397bf2(0x203)][_0x397bf2(0x292)]));}),this['_removeClearOtherTimer'](_0x414d53);}[_0x2c927c(0x1ba)](_0x40e97b){this['_scheduleClearOtherTimer'](_0x40e97b['memberID']);}[_0x2c927c(0x312)](_0x2bcb33){const _0x181bae=_0x2c927c;localStorage[_0x181bae(0x32f)](_0x34881a,JSON[_0x181bae(0x255)](_0x2bcb33));}['_scheduleHeartbeat'](){const _0x3cdf7e=_0x2c927c;this[_0x3cdf7e(0x22a)]=window[_0x3cdf7e(0x30b)](()=>{const _0x52f1c1=_0x3cdf7e;this[_0x52f1c1(0x312)]({'type':0x2,'memberID':this['_id']});},_0x23191a);}[_0x2c927c(0x287)](_0xe342b3){const _0x3e5ba5=_0x2c927c;return this[_0x3e5ba5(0x10d)][_0x3e5ba5(0x133)](_0xe342b3)||this['_unitStatus'][_0x3e5ba5(0x1e0)](_0xe342b3,new _0x2cd233[(_0x3e5ba5(0x11a))](_0x423a8c[_0x3e5ba5(0x203)][_0x3e5ba5(0xfa)])),this[_0x3e5ba5(0x10d)][_0x3e5ba5(0x373)](_0xe342b3);}}var _0x2268df=(_0x40d8fa=>(_0x40d8fa[_0x40d8fa['UNDEFINED']=0x0]=_0x2c927c(0x1a9),_0x40d8fa[_0x40d8fa['OK']=0x1]='OK',_0x40d8fa[_0x40d8fa[_0x2c927c(0x2d1)]=0x2]=_0x2c927c(0x2d1),_0x40d8fa[_0x40d8fa[_0x2c927c(0x23c)]=0x3]='PERMISSION_DENIED',_0x40d8fa[_0x40d8fa['NOT_FOUND']=0x4]='NOT_FOUND',_0x40d8fa[_0x40d8fa[_0x2c927c(0x208)]=0x5]=_0x2c927c(0x208),_0x40d8fa[_0x40d8fa['ALREADY_EXISTS']=0x6]=_0x2c927c(0x259),_0x40d8fa[_0x40d8fa[_0x2c927c(0x20b)]=0x7]=_0x2c927c(0x20b),_0x40d8fa[_0x40d8fa[_0x2c927c(0x28d)]=0x8]='TOO_MANY_REQUESTS',_0x40d8fa[_0x40d8fa[_0x2c927c(0x245)]=0x9]=_0x2c927c(0x245),_0x40d8fa[_0x40d8fa[_0x2c927c(0x2fd)]=0xa]='LOGIN_FAILED',_0x40d8fa[_0x40d8fa[_0x2c927c(0x326)]=0x1389]=_0x2c927c(0x326),_0x40d8fa[_0x40d8fa[_0x2c927c(0x15f)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x40d8fa[_0x40d8fa[_0x2c927c(0x36d)]=0x1772]=_0x2c927c(0x36d),_0x40d8fa[_0x40d8fa[_0x2c927c(0x2de)]=0x1773]=_0x2c927c(0x2de),_0x40d8fa[_0x40d8fa['APPLY_REJECT']=0x1b59]=_0x2c927c(0x113),_0x40d8fa[_0x40d8fa['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x2c927c(0x313),_0x40d8fa[_0x40d8fa[_0x2c927c(0x246)]=0x1b5b]=_0x2c927c(0x246),_0x40d8fa[_0x40d8fa[_0x2c927c(0x279)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x40d8fa[_0x40d8fa[_0x2c927c(0x2b6)]=0x1b5d]=_0x2c927c(0x2b6),_0x40d8fa[_0x40d8fa[_0x2c927c(0x1e1)]=0x1f41]=_0x2c927c(0x1e1),_0x40d8fa[_0x40d8fa[_0x2c927c(0x32c)]=0x2329]=_0x2c927c(0x32c),_0x40d8fa[_0x40d8fa[_0x2c927c(0x33a)]=0x232a]=_0x2c927c(0x33a),_0x40d8fa[_0x40d8fa[_0x2c927c(0x121)]=0x232b]=_0x2c927c(0x121),_0x40d8fa[_0x40d8fa[_0x2c927c(0x32e)]=0x232c]=_0x2c927c(0x32e),_0x40d8fa[_0x40d8fa[_0x2c927c(0x14c)]=0x232d]='LICENSE_DISTRO_REJECTED',_0x40d8fa[_0x40d8fa[_0x2c927c(0x1f1)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x40d8fa[_0x40d8fa[_0x2c927c(0x2f9)]=0x2712]=_0x2c927c(0x2f9),_0x40d8fa[_0x40d8fa['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x2c927c(0x219),_0x40d8fa[_0x40d8fa[_0x2c927c(0x205)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x40d8fa[_0x40d8fa[_0x2c927c(0x1a4)]=0x271a]=_0x2c927c(0x1a4),_0x40d8fa[_0x40d8fa[_0x2c927c(0x22d)]=0x271b]=_0x2c927c(0x22d),_0x40d8fa[_0x40d8fa[_0x2c927c(0x125)]=0x2af9]=_0x2c927c(0x125),_0x40d8fa[_0x40d8fa[_0x2c927c(0x181)]=0x2ee1]=_0x2c927c(0x181),_0x40d8fa[_0x40d8fa[_0x2c927c(0x1eb)]=0x2ee2]='INVALID_INVITE_CODE',_0x40d8fa[_0x40d8fa[_0x2c927c(0x286)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x40d8fa[_0x40d8fa[_0x2c927c(0x237)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x40d8fa[_0x40d8fa[_0x2c927c(0x212)]=0x2ee5]=_0x2c927c(0x212),_0x40d8fa[_0x40d8fa[_0x2c927c(0x35a)]=0x32c9]=_0x2c927c(0x35a),_0x40d8fa[_0x40d8fa['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x2c927c(0x16f),_0x40d8fa[_0x40d8fa[_0x2c927c(0x314)]=0x32cb]=_0x2c927c(0x314),_0x40d8fa[_0x40d8fa[_0x2c927c(0x316)]=-0x1]=_0x2c927c(0x316),_0x40d8fa))(_0x2268df||{}),_0x3b4c30=Object[_0x2c927c(0x23e)],_0x34da06=(_0x5f5d2f,_0x3474d9,_0x217b1a,_0x273f74)=>{for(var _0x5270b8=_0x273f74>0x1?void 0x0:_0x273f74?_0x3b4c30(_0x3474d9,_0x217b1a):_0x3474d9,_0x3aa3ae=_0x5f5d2f['length']-0x1,_0x4d8a11;_0x3aa3ae>=0x0;_0x3aa3ae--)(_0x4d8a11=_0x5f5d2f[_0x3aa3ae])&&(_0x5270b8=_0x4d8a11(_0x5270b8)||_0x5270b8);return _0x5270b8;},_0x18882a=(_0x66e05e,_0x5ed2fd)=>(_0x13f857,_0x148960)=>_0x5ed2fd(_0x13f857,_0x148960,_0x66e05e);_0x23fa2d[_0x2c927c(0x23a)]=class extends _0x435b21[_0x2c927c(0x241)]{constructor(_0x5e4c93,_0x54f720,_0x2edb78){const _0x1d1be7=_0x2c927c;super(),this[_0x1d1be7(0x319)]=_0x5e4c93,this[_0x1d1be7(0x1c0)]=_0x54f720,this[_0x1d1be7(0x2f6)]=_0x2edb78;}async[_0x2c927c(0x283)](_0x307225,_0x587c8e,_0x35eae8,..._0xfca96f){const _0x138320=_0x2c927c;var _0x5d46da,_0x36107a,_0x32c6bf,_0x594bc5;const _0x1a84e7=this[_0x138320(0x319)][_0x138320(0x1a2)]();if(!_0x1a84e7)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x1f961c=((_0x5d46da=this[_0x138320(0x2f6)][_0x138320(0x1bf)](_0x423a8c['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x5d46da:_0x423a8c[_0x138320(0x1f6)])+'/'+_0x307225+_0x138320(0x131)+_0x587c8e,_0xa31397=new URL(window[_0x138320(0x1e6)][_0x138320(0x136)]),_0x84cb={'scriptId':_0x307225,'runId':(_0x36107a=_0xa31397[_0x138320(0x180)][_0x138320(0x373)](_0x138320(0x192)))!=null?_0x36107a:'','function':_0x587c8e,'unitId':_0x1a84e7[_0x138320(0x349)](),'argsOfFunction':JSON[_0x138320(0x255)](_0xfca96f),'invokeId':(_0x32c6bf=_0x35eae8[_0x138320(0x114)])!=null?_0x32c6bf:'','executionId':(_0x594bc5=_0x35eae8['executionId'])!=null?_0x594bc5:''};try{const _0x17efc0=await this[_0x138320(0x1c0)]['post'](_0x1f961c,{'body':_0x84cb});return _0x17efc0['body'][_0x138320(0x12d)]&&_0x17efc0['body'][_0x138320(0x12d)][_0x138320(0x19c)]!==_0x2268df['OK']?_0x138320(0x36b):_0x17efc0[_0x138320(0x16e)][_0x138320(0x13d)];}catch{return _0x138320(0x36b);}}},_0x23fa2d[_0x2c927c(0x23a)]=_0x34da06([_0x18882a(0x0,_0x435b21[_0x2c927c(0x374)]),_0x18882a(0x1,_0x435b21[_0x2c927c(0x10f)](_0x4e6983[_0x2c927c(0x21d)])),_0x18882a(0x2,_0x435b21[_0x2c927c(0x217)])],_0x23fa2d[_0x2c927c(0x23a)]),_0x23fa2d[_0x2c927c(0x171)]=_0x402c00,_0x23fa2d[_0x2c927c(0x20c)]=_0x4a2486,_0x23fa2d[_0x2c927c(0x2f7)]=_0x3997f5,_0x23fa2d[_0x2c927c(0x213)]=_0xf8cc21,_0x23fa2d[_0x2c927c(0x117)]=_0x1b1813,Object[_0x2c927c(0x386)](_0x23fa2d,Symbol[_0x2c927c(0x159)],{'value':_0x2c927c(0x2a3)});}));function _0x3abd(){const _0x5b85cb=['UnitStatus','HEADER_MENU','YUUMI_SUBSCRIPTION_NOT_FOUND','_localStorageService','_updateURLWithCurrentState','UNAUTHENTICATED','undoState','getUndoRedoMutationParamsCache','INVALID_ARGUMENT','IURLService','_updateLocalCursor','off-line-single','CollaborationDataLoaderController','_collabSessionService','registerRenderModule','INVITE_CODE_ALREADY_BOUND','WebBrowserSingleActiveUnitService','DesktopCollaborationStatusDisplayController','addHandlerCallback','endRow','IConfigService','clsx','YUUMI_RATE_OVER_LIMIT','startsWith','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','getRenderById','HTTPService','subUnitId','red300','univerjs-icon\x20univerjs-icon-','current','clearInterval','attrs','blue400','onPointerEnter$','source','handleDeleteRangeMoveUp','_cursorShapes','reconnect','_heartbeatTimer','cursorInfo','svg','YUUMI_ASYNCIO_CANCELLED','UniverProCollaborationClient','TRANSFORM_CHANGE_OBSERVABLE_TYPE','Warning','subscribeEvent','_toggleOnline','UniverUi','_injector','_anchor','defs','USER_NOT_INVITED_CODE','setActiveRange','_render','RemoteUniscriptService','IBeforeCloseService','PERMISSION_DENIED','DOC_RANGE_TYPE','getOwnPropertyDescriptor','touchDependencies','DisposableCollection','Disposable','Rectangle','getCoordByCell','NOT_COLLAB','COMPLETION_FINISHED','APPLY_REVISION_CONFILICT','_getScale','getActiveSheet','measureText','entries','univer-text-red-500','unitID','_clearOtherTimers','complete','UniverEngineFormula','string','MUTATION','evenodd','min','0\x200\x2017\x2016','stringify','getColor','SHEET_VIEWPORT_KEY','_online','ALREADY_EXISTS','_labelPosition','filter','DependentOn','1em','_updateSubUnitFromURLParams','roomMembers','_refreshCollabCursors','_collabCursorController','closePath','getSheetBySheetId','getMember','column','@univerjs-pro/collaboration-client','popstate','storage','CollaborationSocketService','CollaborationUIEventId','transformMutation','isTransformMutationsWithChangesetSuccess','_removeClearOtherTimer','getCollabCursors$','indexOf','_name','addObjects','restore','_registerRenderDependencies','_getMergeRange','#FFF','makeDirty','TEXT','_themeService','APPLY_PERMISSION_DENIED','asObservable','getUniverSheetInstance','_saveCache','ThemeService','pipe','SheetsSelectionsService','transformMutationsWithChangeset','RefRangeService','assign','runOnServer','_transformHistoryAndStateStack','xlink:href','INVITE_CODE_REQUIRED','_ensureSubject','sheetId','_imageIoService','_backgroundColor','_getSheetObject','Plugin','TOO_MANY_REQUESTS','toString','substring','values','_scheduleClearOtherTimer','OTHER_CLIENTS_EDITING','ticket','_hideTimer','_docTransformStateCacheService','height','icon','random','CONFLICT','TEXT_RANGE_LAYER_INDEX','combineLatest','collab-text-anchor-','UNIVER_SHEET','27169760cDZdUN','history','clearTimeout','max','_colorAssignService','Module','_handleJoinEvent','hasOwnProperty','InsertRangeMoveRightCommandId','some','url(#off-line-single_clip0_910_343)','moveTo','triggerDblclick','_syncEditingCollabCursorService','ILogService','DocIMEInputManagerService','SOCKET_FAILED','CollaborationUIEventService','[CollaborationDataLoaderController]','none','isArray','whenReady','MemberService','_getAnchorBounding','APPLY_DUPLICATED','collabStatus.fetchMiss','CLOSE_ROOM','CollaborationSessionService','_assignedColors','currentColor','getStateCache','then','setParam','roomMembers$','collab-rect-range-','setAlpha','sessionStatus$','UniverInstanceType','ranges','DocStateChangeManagerService','deepClone','Error','getValue','collaboration-client-ui.config','eventID','getUnitStatus$','_univerInstanceService','SheetSkeletonManagerService','IRenderManagerService','collabStatus.conflict','@univerjs-pro/collaboration','INTERNAL_ERROR','_createSocketURL','executeCommand','_docSkeletonManagerService','_hovered','isActive','status$','createInstance','replace','ISocketService','disposeWithMe','hide','activeSheet$','ENSURE_SNAPSHOT_EXECUTION','loadOfflineData','PENDING','ILocalStorageService','univer-text-green-500','width','@univerjs/drawing','getTypeOfUnitAdded$','findNodePositionByCharIndex','distinctUntilChanged','transformIMECache','fill','addObject','_docSyncEditingCollabCursorService','_saveTaskMap','useDependency','FETCH_MISS','useCallback','name','contains','addClipboardHook','LocaleService','onRendered','defIds','_configService','SheetCollabCursorShape','_cursors','YUUMI_URL_COL_OUT_OF_RANGE','_textBubble','push','collabStatus.notCollab','LOGIN_FAILED','_range','EffectRefRangId','Unknown\x20user','getVpScrollXYInfoByPosToVp','@univerjs/engine-render','event$','sheetID','backgroundColor','black','pluginName','takeUntil','UniverSheetsUi','RxDisposable','setInterval','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','generateRandomId','UniverRpc','from','ICommandService','unit','_send','APPLY_NON_SEQUENTIAL_REVISION','EMAIL_HAS_BEEN_BOUND','@univerjs/docs','UNRECOGNIZED','newValue','params','_instanceService','_memberService','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','unitId','throttleTime','mask','save','_onCursorUpdate','handleInsertRangeMoveRight','getLocalCacheKey','_transformUndoRedoStack','transformByState','trim','CHANGESET_REVISION_CONFILICT','redoState','_onRefRangeChange','SYNCED','SetDocZoomRatioOperation','RevisionService','LICENSE_MAX_UNITS_EXCEEDED','debounceTime','LICENSE_EXPORT_SIZE_EXCEEDED','setItem','engine','Tools','USERS_LEAVE','createIdentifier','...','_startDocCollabCursor','focused$','CollaborationEvent','5426904mhIEhQ','ILocalCacheService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','_refRangeService','IMessageService','subscribe','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','IRemoteInstanceService','onPointerMove$','_beforeCloseService','unsubscribe','getRangePointData','_draw','fillText','handleMoveRange','@univerjs/design','Shape','getUnitId','setConfig','search','beginPath','gold400','LOCAL_CACHE_INTERVAL','0\x200\x2016\x2016','getActiveRange','hovered','_onCursorDelete','createSocket','round','dispose','_selfUnitIDs','createElement','url(#$1','call','WECHAT_HAS_BEEN_BOUND','_disabled','mutations','selection','_initResize','add','serializeRangeWithSheet','InsertRangeMoveDownCommandId','_urlService','RemoveRowCommandId','_docClipboardService','@univerjs/rpc','IImageIoService','_docStateChangeManagerService','RemoveColCommandId','replaceState','font','Failed','_commandService','SNAPSHOT_HAS_BEEN_REMOVED','@univerjs/core','_colorIndex','fillRule','getSkeleton','m1Prime','get','IUniverInstanceService','SOCKET_FAILED_RETRY','fromEvent','path','getRelativeToViewportCoord','setShapeProps','labelPosition','use','handleInsertRow','_id','_initEntityListener','onCommandExecuted','_eventUnsubscribe','origin','transform','_entityInit$','_initEvent','@univerjs/sheets-ui','defineProperty','DocCollaborationEntity','collaboration.closeRoom','enableLocalCache','DocSkeletonManagerService','_status$','_context','rxjs','CollaborationController','_updateCollabCursors','textRanges','_color','urlChange$','UniverDesign','Rect','CollaborationStatus','_getSaveTimeout','handleIRemoveRow','NO_OTHER_CLIENTS_EDITING','setStateCache','getItem','AWAITING_WITH_PENDING','OffLineSingle','_revisionService','DataLoaderService','_docTransformIMECacheService','uni.network.url-service','_config','react','session.connection-failed','onPointerLeave$','getOffsetConfig','getSheetObject','exports','_initCommandExecutedListener','104928JZJpTO','includes','_unitStatus','MoveRangeCommandId','Inject','handleDeleteRangeMoveLeft','top','Subject','APPLY_REJECT','invokeId','application/json','setUndoRedoMutationParamsCache','WebURLService','Vector2','handleIRemoveCol','BehaviorSubject','_anchorDot','Injector','idSuffix','getSheetId','_registerDependencies','ONLINE','LICENSE_IMPORT_SIZE_EXCEEDED','JOIN_ROOM_FAILED','deserializeRangeWithSheet','init','PY_RUNTIME_SCRIPT_ERROR','INotificationService','toRgbString','_docTransformSelectionsService','_handleLeaveEvent','permission.title','className','_cursor','error','_collaborationController','_cursorInfo$','key','/run/','pushState','has','clipPath','UniverNetwork','href','getCurrentSelections','_session','Optional','_handleHover','UniverDocs','saveTaskMap','result','_unitOnClients','RegularPolygon','_sheetSkeletonManagerService','InsertRowCommandId','doc.mutation.rich-text-editing','DocSelectionManagerService','DeleteRangeMoveUpCommandId','COLORS','fillStyle','_collabCursorState$','tag','_roomMembers$','getDocRanges','UniverIcon','LICENSE_DISTRO_REJECTED','WebSocketService','collaboration.single-unit.warning','UniverCollaborationClientPlugin','send','collabStatus.syncing','split','_startSheetCollabCursor','getCurrentUnitForType','getCurrentRevOfUnit','debounce','_scene','_scheduleSaving','toStringTag','rxjs/operators','NodePositionConvertToRectRange','displayName','getUnhiddenWorksheets','assignAColorForMemberID','SNAPSHOT_INVALID_SNAPSHOT','isTransformMutationFailure','#fff','857IJyFjT','row','mapTo','_collaborationUIEventService','wsSessionTicketUrl','flatMap','lineTo','MessageType','cursorInfo$','getParam','merge','transformStateCache','body','MOBILE_HAS_BEEN_BOUND','_init','CollaborationStatusDisplay','_entities','children','prototype','_notificationService','registerRefRange','skeleton','concat','@univerjs/ui','all','type','react/jsx-runtime','@univerjs/network','UniverDocsUi','editingUnit','searchParams','INVITE_CODE_HAS_BEEN_UES','ColorKit','SetTextSelectionsOperation','jsx','_transformService','forEach','_uiPartsService','RECT','_removeCollabCursors','color','@univerjs/docs-ui','unload','SetWorksheetActivateCommand','currentTheme$','_initDependencies','5209236unBPOv','delete','runId','forwardRef','arc','operators','LOCAL_CACHE_INTERVAL_KEY','session.will-retry','UniverCollaborationClientUIPlugin','startColumn','_logService','registerBeforeClose','code','find','1517065IcssDC','saveOfflineData','SUBMIT_CHANGESET_TIMEOUT','@univerjs/sheets','getFocusedUnit','_drawTextRange','YUUMI_NO_CUBOID_FOR_QUESTION','BrowserCollaborationSocketService','off-line-single_clip0_910_343','show','drawWith','UNDEFINED','_localeService','next','symbol','collaboration-client.offline-data-not-saved','verdancy600','range','_cachedData','_messageService','_drawRectRange','_scheduleHeartbeat','_lastPointer','addEventListener','mergeOverrideWithDependencies','size','exhaustSavingTask','SessionStatus','_handleHeartbeatEvent','on-line-single_clip0_910_349','transformSelections','toDisposable','ITransformService','getConfig','_httpService','unshift','_dataLoaderService','OFFLINE','_initStatusListener','UniverCore','UNIVER_DOC','resize','requireSession','Tooltip','AWAITING','length','_hover','_shapes','getAncestorScale','getViewport','onStarting','_toggleOffline','amd','1006KbADCa','onTransformChange$','15786dDRiri','_transformPreviousActiveRange','m2Prime','setTimeout','@univerjs/engine-formula','debug','dispose$','data','_drawAnchor','extend','removeParam','set','CONNECTOR_DATA_TOO_LARGE','connectInjector','subunit','transformRemoteChangeset','3352VQFucl','location','M0\x200H16V16H0z','switchMap','_renderManagerService','currentSkeleton$','INVALID_INVITE_CODE','147rfNPNK','div','with','session.collaboration-timeout','function','YUUMI_UNABLE_LOAD_URL','collabCursorState$','FromArray','_handleEvent','bottom','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getCellPositionByOffset','text','UPDATE_CURSOR','_initStatusComponent','syncEditingCollabCursor','React','handleInsertRangeMoveDown','map','on-line-single','replaceDocRanges','endColumn','getTypeOfUnitDisposed$'];_0x3abd=function(){return _0x5b85cb;};return _0x3abd();}
|