@univerjs-pro/collaboration-client-ui 0.6.10-experimental.20250411-f5b7b16 → 0.6.10-experimental.20250419-8830bd4
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 +22 -17
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0xd7de(){const _0x1a60da=['toStringTag','CollaborationDataLoaderController','undoState','_document','UniverDocs','onMouseMove','RemoveColCommandId','_docStateChangeManagerService','IUniverInstanceService','icon','_disabled','MOBILE_HAS_BEEN_BOUND','@univerjs-pro/collaboration-client','OTHER_CLIENT_EDITING','whenReady','_collabCursorController','_eventUnsubscribe','onRendered','pipe','fillRule','find','defIds','_collabSessionService','React','@univerjs/ui','1em','IURLService','univer-online-status-title','_onRefRangeChange','removeParam','displayName','/run/','syncEditingCollabCursor','CollaborationStatusDisplay','top','@univerjs/core','UniverCore','getOwnPropertySymbols','history','min','isArray','merge','delete','storage','CLOSE_ROOM','VIEW_MAIN','NOT_FOUND','_toggleOnline','RefRangeService','ColorKit','deepClone','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_backgroundColor','forEach','_hovered','memberID','_scheduleSaving','range','unitId','toRgbString','_updateCollabCursors','map','length','pushState','ILocalCacheService','getUndoRedoMutationParamsCache','436512bAAPMM','loadUnit','backgroundColor','_registerDependencies','path','_revisionService','assign','getSheetId','getCollabCursors$','onPointerEnter$','executionId','getOwnPropertyDescriptor','IRemoteInstanceService','ENSURE_SNAPSHOT_EXECUTION','origin','type','height','pluginName','send','triggerDblclick','collabStatus.fetchMiss','_colorAssignService','CollaborationController','@univerjs/sheets-ui','_initStatusComponent','sessionTicket','_transformHistoryAndStateStack','saveImage','complete','getSheetObject','registerDependencies','_config','Injector','_drawRectRange','CollaborationSocketService','replaceDocRanges','_context','onlineStatusTitle','use','_handleHover','init','4445964NbUMAC','on-line-single','_drawTextRange','collabStatus.conflict','getActiveSheet','registerRenderModule','UNIVER_DOC','SNAPSHOT_HAS_BEEN_REMOVED','_notificationService','handleInsertCol','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','Workbook','addClipboardHook','getUnitStatus$','includes','setInterval','font','DataLoaderService','OFFLINE','handleIRemoveCol','ThemeService','_cursorInfo$','_entityInit$','_scheduleClearOtherTimer','UNDEFINED','exports','onStarting','parse','_transformService','DisposableCollection','transformStateCache','transformSelections','entityInit$','verdancy600','actions','ILogService','transform','unit','MemberService','mapTo','jsx','runId','_session','unsubscribe','collabStatus.syncing','loadOfflineData','prototype','_heartbeatTimer','UniverDrawing','_hideTimer','_imageIoService','xlink:href','_colorIndex','OTHER_CLIENTS_EDITING','Tools','unload','DocStateChangeManagerService','endRow','defs','CollaborationSessionService','unshift','SetWorksheetActivateCommand','UniverCollaborationClientPlugin','restore','getColor','handleMoveRange','_roomMembers$','_setupBeforeClosingHandler','amd','override','setParam','119mkHcvj','YUUMI_UNABLE_LOAD_URL','concat','LOGIN_FAILED','getUniverSheetInstance','connectInjector','_univerInstanceService','_color','function','subUnitId','_name','transformMutationsWithChangeset','_assignedColors','UniverCollaborationClientUIPlugin','@univerjs/drawing','UniverProCollaborationClient','Vector2','clsx','subunit','registerRefRange','_updateLocalCursor','@univerjs/engine-render','error','_handleJoinEvent','clearInterval','CommandType','moveTo','saveTaskMap','BuiltInUIPart','PY_RUNTIME_SCRIPT_ERROR','serializeRangeWithSheet','_syncEditingCollabCursorService','width','SetSelectionsOperation','textRanges','_lastPointer','SNAPSHOT_INVALID_SNAPSHOT','1369336GgHibs','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','LOCAL_CACHE_INTERVAL','red300','registerComponent','Error','CollaborationUIEventId','DocSkeletonManagerService','m1Prime','jiqing500','useRef','@univerjs/docs-ui','556LmXQVv','INTERNAL_ERROR','from','_clearOtherTimers','TEXT','href','UniverDocsUi','closePath','UniverRpc','split','DOC_RANGE_TYPE','IConfigService','_initEvent','UniverInstanceType','CollaborationStatus','collab-rect-range-','HTTPService','set','_status$','cursorInfo$','_initDependencies','online','MoveRangeCommandId','_logService','div','_doCreateSocket','then','getTypeOfUnitAdded$','getSkeleton','getItem','throttleTime','M0\x200H16V16H0z','getDocRanges','wsSessionTicketUrl','_themeService','_createSocketURL','@univerjs/sheets','currentColor','show','_initStatusListener','_handleLeaveEvent','flatMap','takeUntil','_getAnchorBounding','EffectRefRangId','permission.title','onLocalMutation','_memberService','_localCacheService','endColumn','getCoordByCell','isEditing','_urlService','_init','status$','gold400','_dataLoaderService','INotificationService','permission.content','currentSkeleton$','react/jsx-runtime','replaceState','dispose','enableLocalCache','roomMembers$','UNAUTHENTICATED','UNRECOGNIZED','UniverEngineRender','addHandlerCallback','_online','unitID','black','selection','evenodd','_labelPosition','debounce','className','LICENSE_IMPORT_SIZE_EXCEEDED','docStateChange$','WebURLService','generateRandomId','@univerjs/rpc','RemoteUniscriptService','@univerjs/design','SYNCED','_saveTaskMap','_getSessionTicket','UNIVER_SHEET','transformIMECache','Shape','DeleteRangeMoveUpCommandId','clipPath','attrs','transformRemoteChangeset','startsWith','_getSaveTimeout','handleInsertRangeMoveDown','COMPLETION_FINISHED','toDisposable','getValue','USER_NOT_INVITED_CODE','@univerjs/engine-formula','_ensureSubject','AWAITING_WITH_PENDING','body','_updateURLWithCurrentState','UniverEngineFormula','updateOfflineData','Inject','string','size','_docClipboardService','result','RemoveRowCommandId','getRenderById','setConfig','_collaborationController','Plugin','SOCKET_FAILED_RETRY','BehaviorSubject','RichTextEditingMutation','bottom','_removeCollabCursors','_transformUndoRedoStack','sheetId','APPLY_NON_SEQUENTIAL_REVISION','getParam','_send','startColumn','children','debug','useCallback','onPointerLeave$','purple300','Subject','values','searchParams','onlineStatusIcon','sheetID','NO_OTHER_CLIENTS_EDITING','getMergeData','_selfUnitIDs','exhaustSavingTask','current','_handleEvent','collabStatus.synced','_onCursorUpdate','getCurrentSelections','arc','MUTATION','ONLINE','fromEvent','touchDependencies','engine','addObjects','LOCAL_CACHE_INTERVAL_KEY','_httpService','InsertRangeMoveRightCommandId','data','setShapeProps','_unitOnClients','none','40773100wWnpWa','isActive','event$','IDocClipboardService','_initCommandExecutedListener','_cachedData','DeleteRangeMoveLeftCommandId','_draw','getMember','LICENSE_MAX_UNITS_EXCEEDED','fromEventSubject','TOO_MANY_REQUESTS','BrowserCollaborationSocketService','ICommandService','assignAColorForMemberID','CHANGESET_REVISION_CONFILICT','colorChannel1','ITransformService','on-line-single_clip0_910_349','getCurrent','_hover','substring','_scheduleHeartbeat','RxDisposable','onCommandExecuted','handleDeleteRangeMoveLeft','indexOf','_refRangeService','disposeWithMe','YUUMI_RATE_OVER_LIMIT','WebBrowserSingleActiveUnitService','transformMutation','tag','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','_saveCache','Disposable','getConfig','jsxs','setStateCache','svg','_anchor','session.connection-failed','UniverUi','SessionStatus','contains','replace','filter','_injector','disposeUnit','getViewport','next','createSocket','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','debounceTime','fillStyle','popstate','with','name','off-line-single_clip0_910_343','UPDATE_CURSOR','fill','requireSession','ALREADY_EXISTS','DocIMEInputManagerService','_removeClearOtherTimer','CONFLICT','selections','#fff','NOT_COLLAB','round','hide','YUUMI_SUBSCRIPTION_NOT_FOUND','DocCollaborationEntity','RegularPolygon','INVALID_ARGUMENT','_updateSubUnitFromURLParams','row','@univerjs/docs','distinctUntilChanged','subscribeEvent','defineProperty','DocSelectionManagerService','stringify','_id','LICENSE_DISTRO_REJECTED','PERMISSION_DENIED','_scene','key','_renderManagerService','_textBubble','runOnServer','MessageType','getTypeOfUnitDisposed$','currentTheme$','getOffsetConfig','univer-online-status-icon','cursorInfo','extend','...','setUndoRedoMutationParamsCache','2645058EpXrhP','ranges','_localeService','[CollaborationDataLoaderController]','getVpScrollXYInfoByPosToVp','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','getLocalCacheKey','InsertRangeMoveDownCommandId','collabStatus.notCollab','random','TEXT_RANGE_LAYER_INDEX','_toggleOffline','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','_commandService','getStateCache','_range','isTransformMutationFailure','univer-online','call','makeDirty','createIdentifier','startRow','WECHAT_HAS_BEEN_BOUND','redoState','toString','collabCursorState$','useDependency','_setupSubUnitSync','APPLY_PERMISSION_DENIED','setAlpha','Unknown\x20user','INVITE_CODE_ALREADY_BOUND','some','_instanceService','operators','ISocketService','_getScale','_drawAnchor','_initEntityListener','all','_sheetSkeletonManagerService','65570NgMqYs','getActiveRange','location','url(#$1','IBeforeCloseService','univer-online-status','_uiPartsService','eventID','@univerjs-pro/collaboration','asObservable','collab-text-anchor-','_unitStatus','Rect','mutations','column','DesktopCollaborationStatusDisplayController','fillText','INVITE_CODE_HAS_BEEN_UES','getSheetBySheetId','roomMembers','11ANFJuH','_shapes','_render','getAncestorScale','m2Prime','getCurrentRevOfUnit','isTransformMutationsWithChangesetSuccess','RECT','collaboration-client-ui.config','UniverSheets','mask','idSuffix','add','handleInsertRangeMoveRight','_docTransformSelectionsService','FromArray','switchMap','_entities','COLORS','_cursorShapes','_refreshCollabCursors','max','collab-text-range-','getFocusedUnit','addEventListener','UnitStatus','_cursor','_cursors','SUBMIT_CHANGESET_TIMEOUT','getCurrentUnitForType','collabStatus.offline','save','transformByState','search','blue400','clearTimeout','combineLatest','subscribe','createElement','translate(.97)','135WZGsfN','setItem','hasOwnProperty','rxjs/operators','CONNECTOR_DATA_TOO_LARGE','40226YYEStH','_messageService','@univerjs/network','LICENSE_EXPORT_SIZE_EXCEEDED','#FFF','_localStorageService','Failed','SetTextSelectionsOperation','getUnitId','INVITE_CODE_REQUIRED','handleIRemoveRow','IUIPartsService','APPLY_DUPLICATED','drawWith','imageSourceType','APPLY_REJECT','ILocalStorageService','_initResize','_docTransformIMECacheService','getRangePointData','rxjs','_anchorDot','collaboration.single-unit.warning','_transformPreviousActiveRange','_collabCursorState$','entries','text','setActiveRange','newValue','_docTransformStateCacheService','createInstance','application/json','_onCursorDelete','UniverIcon','urlChange$','IMessageService','addObject','_collaborationUIEventService','LocaleService','_configService','rgba(255,\x20255,\x20255,\x200.01)','collaboration.closeRoom','sessionStatus$','dispose$','get','symbol','INVALID_INVITE_CODE','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','lineTo','forwardRef','_docSkeletonManagerService','_handleHeartbeatEvent','has','doc.mutation.rich-text-editing','getUnhiddenWorksheets','TRANSFORM_CHANGE_OBSERVABLE_TYPE','reconnect','IImageIoService','SOCKET_FAILED','color','react','YUUMI_URL_COL_OUT_OF_RANGE','_getSheetObject','activeSheet$','saveOfflineData','push','CollaborationEvent','source','handleInsertRow','USERS_LEAVE','params','findNodePositionByCharIndex','Warning'];_0xd7de=function(){return _0x1a60da;};return _0xd7de();}function _0x43a4(_0x4fa34e,_0x11b29f){const _0xd7de6d=_0xd7de();return _0x43a4=function(_0x43a449,_0xa3afa9){_0x43a449=_0x43a449-0x181;let _0x3f57e9=_0xd7de6d[_0x43a449];return _0x3f57e9;},_0x43a4(_0x4fa34e,_0x11b29f);}(function(_0x2ec807,_0x162cbd){const _0x41793f=_0x43a4,_0x5efa2f=_0x2ec807();while(!![]){try{const _0x15f300=-parseInt(_0x41793f(0x1b8))/0x1+parseInt(_0x41793f(0x334))/0x2*(parseInt(_0x41793f(0x32f))/0x3)+-parseInt(_0x41793f(0x1c4))/0x4*(parseInt(_0x41793f(0x2f3))/0x5)+-parseInt(_0x41793f(0x2ca))/0x6+-parseInt(_0x41793f(0x193))/0x7*(parseInt(_0x41793f(0x3bf))/0x8)+parseInt(_0x41793f(0x3e8))/0x9+parseInt(_0x41793f(0x266))/0xa*(parseInt(_0x41793f(0x307))/0xb);if(_0x15f300===_0x162cbd)break;else _0x5efa2f['push'](_0x5efa2f['shift']());}catch(_0x2c0913){_0x5efa2f['push'](_0x5efa2f['shift']());}}}(_0xd7de,0xdf942),function(_0x12febf,_0x18476d){const _0xa6fc3f=_0x43a4;typeof exports=='object'&&typeof module<'u'?_0x18476d(exports,require(_0xa6fc3f(0x389)),require(_0xa6fc3f(0x3a0)),require(_0xa6fc3f(0x1a8)),require(_0xa6fc3f(0x336)),require(_0xa6fc3f(0x1c3)),require(_0xa6fc3f(0x1a1)),require(_0xa6fc3f(0x348)),require(_0xa6fc3f(0x2b3)),require(_0xa6fc3f(0x2fb)),require(_0xa6fc3f(0x229)),require(_0xa6fc3f(0x1e8)),require('rxjs/operators'),require(_0xa6fc3f(0x3d6)),require('react/jsx-runtime'),require(_0xa6fc3f(0x395)),require('@univerjs/design'),require(_0xa6fc3f(0x370)),require(_0xa6fc3f(0x215))):typeof define==_0xa6fc3f(0x19b)&&define[_0xa6fc3f(0x190)]?define([_0xa6fc3f(0x401),_0xa6fc3f(0x389),'@univerjs/core',_0xa6fc3f(0x1a8),_0xa6fc3f(0x336),_0xa6fc3f(0x1c3),_0xa6fc3f(0x1a1),_0xa6fc3f(0x348),'@univerjs/docs',_0xa6fc3f(0x2fb),'@univerjs/engine-formula',_0xa6fc3f(0x1e8),_0xa6fc3f(0x332),_0xa6fc3f(0x3d6),_0xa6fc3f(0x200),_0xa6fc3f(0x395),_0xa6fc3f(0x217),_0xa6fc3f(0x370),_0xa6fc3f(0x215)],_0x18476d):(_0x12febf=typeof globalThis<'u'?globalThis:_0x12febf||self,_0x18476d(_0x12febf['UniverProCollaborationClientUi']={},_0x12febf[_0xa6fc3f(0x1a2)],_0x12febf[_0xa6fc3f(0x3a1)],_0x12febf[_0xa6fc3f(0x207)],_0x12febf['UniverNetwork'],_0x12febf[_0xa6fc3f(0x1ca)],_0x12febf[_0xa6fc3f(0x418)],_0x12febf[_0xa6fc3f(0x348)],_0x12febf[_0xa6fc3f(0x381)],_0x12febf['UniverProCollaboration'],_0x12febf[_0xa6fc3f(0x22e)],_0x12febf[_0xa6fc3f(0x310)],_0x12febf[_0xa6fc3f(0x348)][_0xa6fc3f(0x2ec)],_0x12febf['UniverSheetsUi'],_0x12febf[_0xa6fc3f(0x394)],_0x12febf[_0xa6fc3f(0x290)],_0x12febf['UniverDesign'],_0x12febf['React'],_0x12febf[_0xa6fc3f(0x1cc)]));}(this,function(_0x40e363,_0x555a80,_0x593b66,_0x302994,_0x5a7b97,_0xca2527,_0x4b4835,_0x104892,_0x54676e,_0x5cbb60,_0x3d646c,_0x51415f,_0x4cb22d,_0x9a7747,_0xa33888,_0x2965e2,_0x526ca7,_0x49a8a3,_0x53a420){'use strict';const _0x5bfbbf=_0x43a4;var _0x1b4e4d=Object[_0x5bfbbf(0x2b6)],_0x1247e2=(_0x1b9c01,_0x34dc11,_0x2f74d8)=>_0x34dc11 in _0x1b9c01?_0x1b4e4d(_0x1b9c01,_0x34dc11,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2f74d8}):_0x1b9c01[_0x34dc11]=_0x2f74d8,_0x199c2f=(_0x46f120,_0x55e0c,_0x22afff)=>_0x1247e2(_0x46f120,typeof _0x55e0c!=_0x5bfbbf(0x361)?_0x55e0c+'':_0x55e0c,_0x22afff),_0x4ba71e=Object[_0x5bfbbf(0x3ca)],_0x49b741=(_0x2dec5f,_0x38c2b2,_0xbd3d02,_0x509817)=>{for(var _0x42faa0=_0x509817>0x1?void 0x0:_0x509817?_0x4ba71e(_0x38c2b2,_0xbd3d02):_0x38c2b2,_0x5e05e4=_0x2dec5f['length']-0x1,_0xe1efcb;_0x5e05e4>=0x0;_0x5e05e4--)(_0xe1efcb=_0x2dec5f[_0x5e05e4])&&(_0x42faa0=_0xe1efcb(_0x42faa0)||_0x42faa0);return _0x42faa0;},_0x1faaa2=(_0x11696d,_0x348f96)=>(_0x4789ca,_0x3106fa)=>_0x348f96(_0x4789ca,_0x3106fa,_0x11696d);let _0x220228=class extends _0x593b66['RxDisposable']{constructor(_0x2369c1,_0x1ba4cc){const _0x7e223b=_0x5bfbbf;super(),this[_0x7e223b(0x233)]=_0x2369c1,this[_0x7e223b(0x41a)]=_0x1ba4cc,this[_0x7e223b(0x1f9)]();}['_init'](){const _0x88e7d3=_0x5bfbbf,_0xfd59a8=this;this[_0x88e7d3(0x282)](this[_0x88e7d3(0x233)][_0x88e7d3(0x3f4)]({'onBeforePasteImage':async _0x3cdb69=>{const _0x81b569=_0x88e7d3,_0x570269=await _0xfd59a8[_0x81b569(0x41a)][_0x81b569(0x3da)](_0x3cdb69);return _0x570269?{'source':_0x570269[_0x81b569(0x377)],'imageSourceType':_0x570269[_0x81b569(0x342)]}:null;}}));}};_0x220228=_0x49b741([_0x1faaa2(0x0,_0xca2527[_0x5bfbbf(0x269)]),_0x1faaa2(0x1,_0x4b4835[_0x5bfbbf(0x36d)])],_0x220228);const _0x584e21=[_0x5bfbbf(0x249),_0x5bfbbf(0x1c1),_0x5bfbbf(0x409),_0x5bfbbf(0x1bb),_0x5bfbbf(0x329),_0x5bfbbf(0x1fb)];class _0x495577 extends _0x593b66[_0x5bfbbf(0x289)]{constructor(){const _0x42df68=_0x5bfbbf;super(...arguments),_0x199c2f(this,'_assignedColors',new Map()),_0x199c2f(this,_0x42df68(0x41c),0x0);}[_0x5bfbbf(0x274)](_0x168cc9){const _0x5e3361=_0x5bfbbf;if(this[_0x5e3361(0x19f)][_0x5e3361(0x368)](_0x168cc9))return this[_0x5e3361(0x19f)][_0x5e3361(0x360)](_0x168cc9);const _0x26c4ba=_0x584e21[this[_0x5e3361(0x41c)]];return this[_0x5e3361(0x41c)]=(this[_0x5e3361(0x41c)]+0x1)%_0x584e21[_0x5e3361(0x3bb)],this[_0x5e3361(0x19f)][_0x5e3361(0x1d5)](_0x168cc9,_0x26c4ba),_0x26c4ba;}}function _0x4b7389(_0x5103f8){const _0x7beace=_0x5bfbbf;let _0x37c9c6='';for(const _0xc48568 of _0x5103f8){const {startOffset:_0x5d6dc7,endOffset:_0x254aa6,isActive:_0x52557f,rangeType:_0x5671c7,segmentId:_0x4686f1,segmentPage:_0x372957}=_0xc48568;_0x37c9c6[_0x7beace(0x3bb)]&&(_0x37c9c6+=','),_0x37c9c6+=_0x5d6dc7+':'+_0x254aa6+':'+(_0x52557f?'1':'0')+':'+_0x5671c7+':'+_0x4686f1+':'+_0x372957;}return _0x37c9c6;}function _0x16f343(_0x4150b1){const _0x11da62=_0x5bfbbf,_0x44cd5b=_0x4150b1[_0x11da62(0x1cd)](','),_0x5c5a08=[];for(const _0x493a31 of _0x44cd5b){const [_0xee91ed,_0x545dad,_0x1f828a,_0x261009,_0x75b768,_0x2183d1]=_0x493a31[_0x11da62(0x1cd)](':');_0x5c5a08['push']({'startOffset':Number(_0xee91ed),'endOffset':Number(_0x545dad),'collapsed':_0xee91ed===_0x545dad,'isActive':_0x1f828a==='1','rangeType':_0x261009===_0x593b66[_0x11da62(0x1ce)][_0x11da62(0x1c8)]?_0x593b66[_0x11da62(0x1ce)][_0x11da62(0x1c8)]:_0x593b66[_0x11da62(0x1ce)][_0x11da62(0x30e)],'segmentId':typeof _0x75b768==_0x11da62(0x231)?String(_0x75b768):'','segmentPage':Number(_0x2183d1!=null?_0x2183d1:-0x1)});}return _0x5c5a08[_0x11da62(0x2ea)](_0xf2ef5=>_0xf2ef5[_0x11da62(0x267)])||(_0x5c5a08[0x0][_0x11da62(0x267)]=!0x0),_0x5c5a08;}class _0x7e6def extends _0x593b66[_0x5bfbbf(0x27d)]{constructor(){const _0x94cd0e=_0x5bfbbf;super(...arguments),_0x199c2f(this,_0x94cd0e(0x34c),new _0x104892[(_0x94cd0e(0x23b))](null)),_0x199c2f(this,_0x94cd0e(0x2e3),this[_0x94cd0e(0x34c)][_0x94cd0e(0x2fc)]());}['syncEditingCollabCursor'](_0x1a483e){const _0x1559bc=_0x5bfbbf,{unitID:_0x163ce2,memberID:_0x160ba5,textRanges:_0xb55ae8}=_0x1a483e,_0x567778=_0x4b7389(_0xb55ae8);if(_0x567778==='')return;const _0x58859b={'unitID':_0x163ce2,'memberID':_0x160ba5,'selection':_0x567778};this[_0x1559bc(0x34c)][_0x1559bc(0x298)](_0x58859b);}}var _0xea795d=Object[_0x5bfbbf(0x3ca)],_0x35406a=(_0xe97465,_0x281d06,_0x3ba2bf,_0x51830a)=>{const _0x5ea8b0=_0x5bfbbf;for(var _0x5930d3=_0x51830a>0x1?void 0x0:_0x51830a?_0xea795d(_0x281d06,_0x3ba2bf):_0x281d06,_0x3193ee=_0xe97465[_0x5ea8b0(0x3bb)]-0x1,_0x4d9e6d;_0x3193ee>=0x0;_0x3193ee--)(_0x4d9e6d=_0xe97465[_0x3193ee])&&(_0x5930d3=_0x4d9e6d(_0x5930d3)||_0x5930d3);return _0x5930d3;},_0x482ba5=(_0x292975,_0x33ccad)=>(_0x1eb95f,_0x56589f)=>_0x33ccad(_0x1eb95f,_0x56589f,_0x292975);const _0x1fcd1d=0x12c,_0x4dbdda=0x64;let _0x2c326e=class extends _0x593b66[_0x5bfbbf(0x27d)]{constructor(_0x55bf2e,_0x9161e9,_0x59c043,_0x3c5fcf,_0x155685,_0x38ed76,_0x198975,_0x33b4f7,_0x1d2cf1){const _0xa17433=_0x5bfbbf;super(),_0x199c2f(this,'_online',!0x1),_0x199c2f(this,_0xa17433(0x1f9),!0x1),_0x199c2f(this,'_cursorInfo$',new _0x104892['BehaviorSubject'](new Map())),_0x199c2f(this,_0xa17433(0x1d7),this['_cursorInfo$'][_0xa17433(0x2fc)]()),_0x199c2f(this,_0xa17433(0x18e),new _0x104892[(_0xa17433(0x23b))]([])),_0x199c2f(this,_0xa17433(0x204),this[_0xa17433(0x18e)][_0xa17433(0x38f)](_0x104892['debounceTime'](_0x1fcd1d))),_0x199c2f(this,_0xa17433(0x1a7),_0x593b66[_0xa17433(0x20f)](_0x3b8889=>{const _0xcd3121=_0xa17433,_0x346497={'eventID':_0x5cbb60[_0xcd3121(0x376)][_0xcd3121(0x2a1)],'data':{'unitID':this[_0xcd3121(0x20a)],'memberID':this['_session']['getMemberID'](),'selection':_0x4b7389(_0x3b8889)}};this[_0xcd3121(0x412)][_0xcd3121(0x3d1)](_0x346497,this[_0xcd3121(0x20a)]);},_0x4dbdda)),(this['unitID']=_0x55bf2e,this[_0xa17433(0x412)]=_0x9161e9,this[_0xa17433(0x295)]=_0x59c043,this[_0xa17433(0x3d4)]=_0x3c5fcf,this[_0xa17433(0x1f3)]=_0x155685,this[_0xa17433(0x1b2)]=_0x38ed76,this[_0xa17433(0x404)]=_0x198975,this[_0xa17433(0x199)]=_0x33b4f7,this[_0xa17433(0x2d7)]=_0x1d2cf1);}get['cursorInfo'](){const _0x5d7097=_0x5bfbbf;return this[_0x5d7097(0x3fd)][_0x5d7097(0x227)]();}get[_0x5bfbbf(0x306)](){const _0x33fe3a=_0x5bfbbf;return this[_0x33fe3a(0x18e)][_0x33fe3a(0x227)]();}[_0x5bfbbf(0x202)](){const _0x3aa178=_0x5bfbbf;super[_0x3aa178(0x202)](),this[_0x3aa178(0x3fd)][_0x3aa178(0x298)](new Map()),this[_0x3aa178(0x3fd)][_0x3aa178(0x3db)](),this[_0x3aa178(0x18e)]['next']([]),this[_0x3aa178(0x18e)]['complete']();}[_0x5bfbbf(0x3e7)](){const _0x108990=_0x5bfbbf;this['_init']||(this['_init']=!0x0,this[_0x108990(0x412)][_0x108990(0x35e)]['pipe'](_0x104892[_0x108990(0x1ee)](this[_0x108990(0x35f)]))[_0x108990(0x32c)](_0xc3f92f=>{const _0x4c9ce8=_0x108990;_0xc3f92f===_0x555a80['SessionStatus'][_0x4c9ce8(0x25a)]?this[_0x4c9ce8(0x3ac)]():this[_0x4c9ce8(0x2d5)]();}),this['_session'][_0x108990(0x268)][_0x108990(0x38f)](_0x104892[_0x108990(0x1ee)](this[_0x108990(0x35f)]))[_0x108990(0x32c)](_0xbf0867=>{const _0x55e24a=_0x108990,_0x57e295=_0xbf0867[_0x55e24a(0x2fa)];_0x57e295===_0x5cbb60[_0x55e24a(0x376)][_0x55e24a(0x2a1)]&&this[_0x55e24a(0x256)](_0xbf0867),_0x57e295===_0x5cbb60[_0x55e24a(0x376)][_0x55e24a(0x379)]&&this[_0x55e24a(0x354)](_0xbf0867);}),this[_0x108990(0x282)](this[_0x108990(0x2d7)]['onCommandExecuted'](_0x34d6d6=>{const _0x26d1d7=_0x108990,_0x276c23=_0x34d6d6['params'];_0x276c23!=null&&this[_0x26d1d7(0x209)]&&_0x34d6d6['id']===_0x54676e[_0x26d1d7(0x33b)]['id']&&_0x276c23[_0x26d1d7(0x3b7)]===this[_0x26d1d7(0x20a)]&&_0x276c23[_0x26d1d7(0x1f7)]===!0x1&&_0x276c23[_0x26d1d7(0x2cb)][_0x26d1d7(0x3bb)]>0x0&&this[_0x26d1d7(0x1a7)](_0x276c23[_0x26d1d7(0x2cb)]);})),this[_0x108990(0x1b2)][_0x108990(0x2e3)][_0x108990(0x38f)](_0x104892[_0x108990(0x1ee)](this['dispose$']))[_0x108990(0x32c)](_0x3c5e40=>{const _0x44ef78=_0x108990;if((_0x3c5e40==null?void 0x0:_0x3c5e40[_0x44ef78(0x20a)])!==this['unitID'])return;const _0x561135={'eventID':_0x5cbb60[_0x44ef78(0x376)][_0x44ef78(0x2a1)],'data':_0x3c5e40};this['_onCursorUpdate'](_0x561135);}),this[_0x108990(0x282)](this['_commandService'][_0x108990(0x27e)](_0x517c21=>{const _0x378828=_0x108990;if(_0x517c21['params']==null)return;const _0x409481=_0x517c21['params'];if(_0x517c21['id']!==_0x54676e[_0x378828(0x23c)]['id']||_0x409481[_0x378828(0x3b7)]!==this[_0x378828(0x20a)])return;const _0x1fa9d6={'id':_0x378828(0x369),'params':_0x409481},_0x2c9cf8=this[_0x378828(0x2c6)];for(const [_0x1d93d4,_0x4d84b7]of _0x2c9cf8){const _0x127425={'id':_0x378828(0x369),'params':{'unitId':this[_0x378828(0x20a)],'actions':null,'textRanges':_0x4d84b7[_0x378828(0x2cb)]}},_0x42759f=this[_0x378828(0x404)][_0x378828(0x285)](_0x1fa9d6,_0x127425,!0x1);if(_0x5cbb60[_0x378828(0x2da)](_0x42759f))throw _0x42759f[_0x378828(0x1a9)];_0x2c9cf8[_0x378828(0x1d5)](_0x1d93d4,{..._0x4d84b7,'ranges':_0x42759f[_0x378828(0x30b)]['params']['textRanges']});}queueMicrotask(()=>{const _0x10ab59=_0x378828;this[_0x10ab59(0x3fd)][_0x10ab59(0x298)](_0x2c9cf8);});})));}[_0x5bfbbf(0x256)](_0x4fee25){const _0x18fbcd=_0x5bfbbf;var _0x3e2c4f,_0x50addf;const {memberID:_0x38e453,selection:_0x395414}=_0x4fee25[_0x18fbcd(0x262)],_0x30bce3=_0x16f343(_0x395414),_0x3065bf=(_0x50addf=(_0x3e2c4f=this[_0x18fbcd(0x1f3)][_0x18fbcd(0x26e)](this['unitID'],_0x38e453))==null?void 0x0:_0x3e2c4f[_0x18fbcd(0x29f)])!=null?_0x50addf:'Unknown\x20user',_0x38bf06={'color':this[_0x18fbcd(0x3d4)][_0x18fbcd(0x274)](_0x38e453),'name':_0x3065bf,'ranges':_0x30bce3},_0x4fc5bd=this[_0x18fbcd(0x2c6)];_0x4fc5bd[_0x18fbcd(0x1d5)](_0x38e453,_0x38bf06),this['_cursorInfo$']['next'](_0x4fc5bd);}[_0x5bfbbf(0x354)](_0x4f6284){const _0x2d9f28=_0x5bfbbf,{memberID:_0x29c68c}=_0x4f6284[_0x2d9f28(0x262)],_0x4df9b0=this[_0x2d9f28(0x2c6)];_0x4df9b0[_0x2d9f28(0x3a7)](_0x29c68c),this[_0x2d9f28(0x3fd)]['next'](_0x4df9b0);}['_toggleOnline'](){const _0x292f3b=_0x5bfbbf;var _0x34743c;if(this['_online']=!0x0,((_0x34743c=this[_0x292f3b(0x199)]['getFocusedUnit']())==null?void 0x0:_0x34743c[_0x292f3b(0x33c)]())!==this[_0x292f3b(0x20a)])return;const _0x5db667=this['_injector'][_0x292f3b(0x360)](_0x54676e[_0x292f3b(0x2b7)])[_0x292f3b(0x1e4)]();Array[_0x292f3b(0x3a5)](_0x5db667)&&_0x5db667[_0x292f3b(0x3bb)]>0x0&&this['_updateLocalCursor'](_0x5db667);}['_toggleOffline'](){const _0x43b03a=_0x5bfbbf;this[_0x43b03a(0x209)]=!0x1;}};_0x2c326e=_0x35406a([_0x482ba5(0x2,_0x593b66[_0x5bfbbf(0x230)](_0x593b66[_0x5bfbbf(0x3df)])),_0x482ba5(0x3,_0x593b66['Inject'](_0x495577)),_0x482ba5(0x4,_0x593b66[_0x5bfbbf(0x230)](_0x555a80[_0x5bfbbf(0x40e)])),_0x482ba5(0x5,_0x593b66[_0x5bfbbf(0x230)](_0x7e6def)),_0x482ba5(0x6,_0x5cbb60[_0x5bfbbf(0x277)]),_0x482ba5(0x7,_0x593b66[_0x5bfbbf(0x385)]),_0x482ba5(0x8,_0x593b66[_0x5bfbbf(0x273)])],_0x2c326e);var _0x1f22b3=Object[_0x5bfbbf(0x3ca)],_0x237ddc=(_0x3f41d0,_0x1a24d7,_0x285857,_0x1d5770)=>{const _0x4b35b0=_0x5bfbbf;for(var _0x2e33a6=_0x1d5770>0x1?void 0x0:_0x1d5770?_0x1f22b3(_0x1a24d7,_0x285857):_0x1a24d7,_0x61eaa0=_0x3f41d0[_0x4b35b0(0x3bb)]-0x1,_0x254924;_0x61eaa0>=0x0;_0x61eaa0--)(_0x254924=_0x3f41d0[_0x61eaa0])&&(_0x2e33a6=_0x254924(_0x2e33a6)||_0x2e33a6);return _0x2e33a6;},_0x3c5c4c=(_0x46cdbb,_0x1e7387)=>(_0x1fbe3b,_0x5d8816)=>_0x1e7387(_0x1fbe3b,_0x5d8816,_0x46cdbb);const _0x3ba5d9=0x12c,_0x5b4181=0x64,_0x5e5f60=()=>{let _0x322f1c=[],_0x2134f9=!0x1;return _0x551a58=>{const _0x54b497=_0x43a4;_0x322f1c[_0x54b497(0x375)](_0x551a58),_0x2134f9||(_0x2134f9=!0x0,setTimeout(()=>{const _0x3e926c=_0x54b497;_0x322f1c[_0x3e926c(0x3b2)](_0x3c84e9=>_0x3c84e9()),_0x322f1c=[],_0x2134f9=!0x1;}));};};let _0x4fce7f=class extends _0x593b66[_0x5bfbbf(0x27d)]{constructor(_0x53a2b4,_0x22ff10,_0x36ecd6,_0x5708db,_0x4881e6,_0x362c5b,_0x589cce,_0x3ff1ad){const _0x15a10b=_0x5bfbbf;super(),_0x199c2f(this,_0x15a10b(0x209),!0x1),_0x199c2f(this,_0x15a10b(0x1f9),!0x1),_0x199c2f(this,_0x15a10b(0x3fd),new _0x104892[(_0x15a10b(0x23b))](new Map())),_0x199c2f(this,_0x15a10b(0x1d7),this[_0x15a10b(0x3fd)]['asObservable']()),_0x199c2f(this,'_roomMembers$',new _0x104892[(_0x15a10b(0x23b))]([])),_0x199c2f(this,_0x15a10b(0x204),this[_0x15a10b(0x18e)][_0x15a10b(0x38f)](_0x104892[_0x15a10b(0x29b)](_0x3ba5d9))),_0x199c2f(this,_0x15a10b(0x1a7),_0x593b66[_0x15a10b(0x20f)]((_0x30afe4,_0x1eb6db)=>{const _0x5bde59=_0x15a10b,_0x23fae0={'eventID':_0x5cbb60[_0x5bde59(0x376)][_0x5bde59(0x2a1)],'data':{'unitID':this['unitID'],'memberID':this['_session']['getMemberID'](),'selection':_0x3d646c[_0x5bde59(0x1b1)](_0x30afe4,_0x1eb6db[_0x5bde59(0x3b6)])}};this[_0x5bde59(0x412)][_0x5bde59(0x3d1)](_0x23fae0,this[_0x5bde59(0x20a)]);},_0x5b4181)),(this[_0x15a10b(0x20a)]=_0x53a2b4,this['_session']=_0x22ff10,this['_injector']=_0x36ecd6,this['_colorAssignService']=_0x5708db,this[_0x15a10b(0x1f3)]=_0x4881e6,this[_0x15a10b(0x199)]=_0x362c5b,this[_0x15a10b(0x2d7)]=_0x589cce,this[_0x15a10b(0x281)]=_0x3ff1ad);}get['cursorInfo'](){const _0x29a26b=_0x5bfbbf;return this['_cursorInfo$'][_0x29a26b(0x227)]();}get[_0x5bfbbf(0x306)](){const _0x2d68d3=_0x5bfbbf;return this[_0x2d68d3(0x18e)]['getValue']();}[_0x5bfbbf(0x202)](){const _0x22f423=_0x5bfbbf;super['dispose'](),this[_0x22f423(0x3fd)]['next'](new Map()),this['_cursorInfo$']['complete'](),this[_0x22f423(0x18e)][_0x22f423(0x298)]([]),this['_roomMembers$']['complete']();}[_0x5bfbbf(0x3e7)](){const _0x5a39d3=_0x5bfbbf;this[_0x5a39d3(0x1f9)]||(this[_0x5a39d3(0x1f9)]=!0x0,this[_0x5a39d3(0x412)][_0x5a39d3(0x35e)][_0x5a39d3(0x38f)](_0x104892[_0x5a39d3(0x1ee)](this[_0x5a39d3(0x35f)]))[_0x5a39d3(0x32c)](_0x1be66e=>{const _0x3bd2af=_0x5a39d3;_0x1be66e===_0x555a80[_0x3bd2af(0x291)][_0x3bd2af(0x25a)]?this[_0x3bd2af(0x3ac)]():this[_0x3bd2af(0x2d5)]();}),this[_0x5a39d3(0x412)]['event$'][_0x5a39d3(0x38f)](_0x104892[_0x5a39d3(0x1ee)](this[_0x5a39d3(0x35f)]))[_0x5a39d3(0x32c)](_0x3510c0=>{const _0x3a3b9a=_0x5a39d3,_0x2db107=_0x3510c0[_0x3a3b9a(0x2fa)];_0x2db107===_0x5cbb60[_0x3a3b9a(0x376)][_0x3a3b9a(0x2a1)]&&this[_0x3a3b9a(0x256)](_0x3510c0),_0x2db107===_0x5cbb60[_0x3a3b9a(0x376)][_0x3a3b9a(0x379)]&&this[_0x3a3b9a(0x354)](_0x3510c0);}),this[_0x5a39d3(0x399)](),this[_0x5a39d3(0x282)](this[_0x5a39d3(0x2d7)][_0x5a39d3(0x27e)](_0x1a41bf=>{const _0x486384=_0x5a39d3;if(this[_0x486384(0x209)]&&_0x1a41bf['id']===_0x51415f[_0x486384(0x1b4)]['id']&&_0x1a41bf[_0x486384(0x37a)][_0x486384(0x3b7)]===this[_0x486384(0x20a)]){const _0xee7abe=_0x1a41bf['params'];this[_0x486384(0x1a7)](_0xee7abe[_0x486384(0x19c)],_0xee7abe[_0x486384(0x2a8)][0x0]);}})));}['_onCursorUpdate'](_0x44d690){const _0x262fff=_0x5bfbbf;var _0x3f1ca8,_0x31c98d;const {memberID:_0x3f1a1e,selection:_0x688161}=_0x44d690[_0x262fff(0x262)],{sheetName:_0x47fb86,range:_0x1298fa}=_0x3d646c['deserializeRangeWithSheet'](_0x688161),_0x208eec={'name':(_0x31c98d=(_0x3f1ca8=this[_0x262fff(0x1f3)][_0x262fff(0x26e)](this[_0x262fff(0x20a)],_0x3f1a1e))==null?void 0x0:_0x3f1ca8[_0x262fff(0x29f)])!=null?_0x31c98d:_0x262fff(0x2e8),'range':this['_getMergeRange'](_0x47fb86,_0x1298fa),'sheetID':_0x47fb86,'color':this[_0x262fff(0x3d4)][_0x262fff(0x274)](_0x3f1a1e),'selection':_0x688161},_0xe0e022=this[_0x262fff(0x2c6)];_0xe0e022[_0x262fff(0x1d5)](_0x3f1a1e,_0x208eec),this['_cursorInfo$'][_0x262fff(0x298)](_0xe0e022);}[_0x5bfbbf(0x354)](_0x144ffe){const _0xc26a02=_0x5bfbbf,{memberID:_0x1104bd}=_0x144ffe[_0xc26a02(0x262)],_0x413ed8=this['cursorInfo'];_0x413ed8['delete'](_0x1104bd),this['_cursorInfo$'][_0xc26a02(0x298)](_0x413ed8);}['_getMergeRange'](_0x277f74,_0x24050b){const _0x50454b=_0x5bfbbf;var _0x3dfbba,_0x2d3d50;const _0x59245e=(_0x2d3d50=(_0x3dfbba=this[_0x50454b(0x199)][_0x50454b(0x197)](this[_0x50454b(0x20a)]))==null?void 0x0:_0x3dfbba[_0x50454b(0x305)](_0x277f74))==null?void 0x0:_0x2d3d50[_0x50454b(0x250)]();return(_0x59245e==null?void 0x0:_0x59245e[_0x50454b(0x391)](_0x5713ab=>_0x593b66['Rectangle'][_0x50454b(0x292)](_0x5713ab,_0x24050b)))||_0x24050b;}[_0x5bfbbf(0x399)](){const _0x476142=_0x5bfbbf,_0x36f993=new _0x593b66[(_0x476142(0x405))](),_0xefa04f=_0x5e5f60(),_0x133499=()=>{const _0x38830b=_0x476142;_0x36f993[_0x38830b(0x202)]();const _0x512b21=(_0xe08284,_0x1379cd,_0x38fbc7,_0x531d85)=>{const _0x18d32c=_0x38830b;let _0x48e04f=[];switch(_0xe08284['id']){case _0x51415f['EffectRefRangId'][_0x18d32c(0x26c)]:{_0x48e04f=_0x51415f[_0x18d32c(0x27f)](_0xe08284,_0x531d85);break;}case _0x51415f[_0x18d32c(0x1f0)][_0x18d32c(0x21e)]:{_0x48e04f=_0x51415f['handleDeleteRangeMoveUp'](_0xe08284,_0x531d85);break;}case _0x51415f[_0x18d32c(0x1f0)]['InsertColCommandId']:{_0x48e04f=_0x51415f[_0x18d32c(0x3f1)](_0xe08284,_0x531d85);break;}case _0x51415f[_0x18d32c(0x1f0)][_0x18d32c(0x2d1)]:{_0x48e04f=_0x51415f[_0x18d32c(0x224)](_0xe08284,_0x531d85);break;}case _0x51415f[_0x18d32c(0x1f0)][_0x18d32c(0x261)]:{_0x48e04f=_0x51415f[_0x18d32c(0x314)](_0xe08284,_0x531d85);break;}case _0x51415f[_0x18d32c(0x1f0)]['InsertRowCommandId']:{_0x48e04f=_0x51415f[_0x18d32c(0x378)](_0xe08284,_0x531d85);break;}case _0x51415f[_0x18d32c(0x1f0)][_0x18d32c(0x1da)]:{_0x48e04f=_0x51415f[_0x18d32c(0x18d)](_0xe08284,_0x531d85);break;}case _0x51415f['EffectRefRangId'][_0x18d32c(0x383)]:{_0x48e04f=_0x51415f[_0x18d32c(0x3fb)](_0xe08284,_0x531d85);break;}case _0x51415f['EffectRefRangId'][_0x18d32c(0x235)]:{_0x48e04f=_0x51415f[_0x18d32c(0x33e)](_0xe08284,_0x531d85);break;}}const _0x43070c=_0x51415f['runRefRangeMutations'](_0x48e04f,_0x531d85),_0x2d814f=this[_0x18d32c(0x2c6)]['get'](_0x1379cd);if(_0x2d814f&&_0x43070c){const _0x35dbf2={..._0x2d814f,'range':_0x43070c};this['cursorInfo'][_0x18d32c(0x1d5)](_0x1379cd,_0x35dbf2),_0xefa04f(()=>{const _0x444337=_0x18d32c,_0x41d125=this['_refRangeService'][_0x444337(0x1a6)](_0x43070c,_0x3ffc6d=>(_0x41d125[_0x444337(0x202)](),_0x512b21(_0x3ffc6d,_0x1379cd,_0x38fbc7,_0x43070c)));_0x36f993[_0x444337(0x313)](_0x41d125);});}return{'redos':[],'undos':[]};};this['cursorInfo'][_0x38830b(0x3b2)]((_0x2e6c69,_0x52ec56)=>{const _0x595635=_0x38830b,{range:_0x2fae8d,sheetID:_0x29d9c1}=_0x2e6c69,_0xc43309=this['_refRangeService'][_0x595635(0x1a6)](_0x2fae8d,_0x258614=>(_0xc43309[_0x595635(0x202)](),_0x512b21(_0x258614,_0x52ec56,_0x29d9c1,_0x2fae8d)));_0x36f993[_0x595635(0x313)](_0xc43309);});};this[_0x476142(0x282)](_0x593b66[_0x476142(0x226)](this['_cursorInfo$'][_0x476142(0x32c)](()=>{_0x133499();})));}['_toggleOnline'](){const _0x38ec85=_0x5bfbbf;var _0x3e7f75,_0x57d738;if(this[_0x38ec85(0x209)]=!0x0,((_0x3e7f75=this['_univerInstanceService'][_0x38ec85(0x31e)]())==null?void 0x0:_0x3e7f75[_0x38ec85(0x33c)]())!==this[_0x38ec85(0x20a)])return;const _0x56b1f8=(_0x57d738=this[_0x38ec85(0x295)][_0x38ec85(0x360)](_0x51415f['SheetsSelectionsService'])[_0x38ec85(0x257)]())==null?void 0x0:_0x57d738[0x0],_0x377d1d=this['_univerInstanceService'][_0x38ec85(0x324)](_0x593b66[_0x38ec85(0x1d1)]['UNIVER_SHEET'])[_0x38ec85(0x3ec)]();_0x56b1f8&&_0x377d1d&&this[_0x38ec85(0x1a7)](_0x377d1d['getSheetId'](),_0x56b1f8);}[_0x5bfbbf(0x2d5)](){const _0x49466d=_0x5bfbbf;this[_0x49466d(0x209)]=!0x1;}};_0x4fce7f=_0x237ddc([_0x3c5c4c(0x2,_0x593b66[_0x5bfbbf(0x230)](_0x593b66[_0x5bfbbf(0x3df)])),_0x3c5c4c(0x3,_0x593b66['Inject'](_0x495577)),_0x3c5c4c(0x4,_0x593b66[_0x5bfbbf(0x230)](_0x555a80[_0x5bfbbf(0x40e)])),_0x3c5c4c(0x5,_0x593b66[_0x5bfbbf(0x385)]),_0x3c5c4c(0x6,_0x593b66['ICommandService']),_0x3c5c4c(0x7,_0x593b66['Inject'](_0x51415f[_0x5bfbbf(0x3ad)]))],_0x4fce7f);var _0x21fbb9=Object['getOwnPropertyDescriptor'],_0x18b78d=(_0x4864f5,_0x4e1396,_0x3bc400,_0x46c8ea)=>{const _0x52668b=_0x5bfbbf;for(var _0x48c861=_0x46c8ea>0x1?void 0x0:_0x46c8ea?_0x21fbb9(_0x4e1396,_0x3bc400):_0x4e1396,_0x5541ab=_0x4864f5[_0x52668b(0x3bb)]-0x1,_0x55119c;_0x5541ab>=0x0;_0x5541ab--)(_0x55119c=_0x4864f5[_0x5541ab])&&(_0x48c861=_0x55119c(_0x48c861)||_0x48c861);return _0x48c861;},_0x2f9ab0=(_0xcf3007,_0x367b44)=>(_0x5ab807,_0x415210)=>_0x367b44(_0x5ab807,_0x415210,_0xcf3007);let _0x5329c1=class extends _0x593b66[_0x5bfbbf(0x27d)]{constructor(_0x2bd4fe,_0x26c878,_0x3a7187){const _0x3e99af=_0x5bfbbf;super(),_0x199c2f(this,_0x3e99af(0x318),new Map()),_0x199c2f(this,_0x3e99af(0x3fe),new _0x104892[(_0x3e99af(0x24a))]()),(this[_0x3e99af(0x199)]=_0x2bd4fe,this[_0x3e99af(0x295)]=_0x26c878,this[_0x3e99af(0x393)]=_0x3a7187,this[_0x3e99af(0x1f9)]());}[_0x5bfbbf(0x202)](){const _0x43986a=_0x5bfbbf;super[_0x43986a(0x202)](),this[_0x43986a(0x3fe)][_0x43986a(0x3db)](),this[_0x43986a(0x318)][_0x43986a(0x3b2)](_0x20112a=>_0x20112a[_0x43986a(0x202)]());}['getCollabCursors$'](_0x92ad27){const _0x49b4c0=_0x5bfbbf;return this[_0x49b4c0(0x318)][_0x49b4c0(0x368)](_0x92ad27)?this['_entities']['get'](_0x92ad27)[_0x49b4c0(0x1d7)]:this[_0x49b4c0(0x3fe)]['pipe'](_0x104892[_0x49b4c0(0x294)](_0x52d7a6=>_0x52d7a6[_0x49b4c0(0x20a)]===_0x92ad27),_0x104892[_0x49b4c0(0x317)](_0x23d518=>_0x23d518[_0x49b4c0(0x1d7)]));}[_0x5bfbbf(0x1f9)](){const _0x2b954b=_0x5bfbbf;this[_0x2b954b(0x199)][_0x2b954b(0x1df)](_0x593b66['UniverInstanceType'][_0x2b954b(0x21b)])['pipe'](_0x104892[_0x2b954b(0x1ee)](this[_0x2b954b(0x35f)]))[_0x2b954b(0x32c)](async _0xf6f3a4=>{const _0x5de847=_0x2b954b,_0x27321e=_0xf6f3a4[_0x5de847(0x33c)](),_0x4d186f=await this['_startSheetCollabCursor'](_0x27321e);this[_0x5de847(0x3fe)][_0x5de847(0x298)](_0x4d186f),this[_0x5de847(0x318)]['set'](_0x27321e,_0x4d186f);}),this[_0x2b954b(0x199)][_0x2b954b(0x1df)](_0x593b66['UniverInstanceType'][_0x2b954b(0x3ee)])[_0x2b954b(0x38f)](_0x104892[_0x2b954b(0x1ee)](this[_0x2b954b(0x35f)]))[_0x2b954b(0x38f)](_0x104892[_0x2b954b(0x294)](_0x537107=>!_0x537107[_0x2b954b(0x33c)]()[_0x2b954b(0x222)]('__')))[_0x2b954b(0x32c)](async _0x5df6c2=>{const _0x1a4255=_0x2b954b,_0x406c45=_0x5df6c2[_0x1a4255(0x33c)](),_0xaa6b1a=await this['_startDocCollabCursor'](_0x406c45);this[_0x1a4255(0x3fe)][_0x1a4255(0x298)](_0xaa6b1a),this[_0x1a4255(0x318)]['set'](_0x406c45,_0xaa6b1a);}),_0x104892[_0x2b954b(0x3a6)](this['_univerInstanceService'][_0x2b954b(0x2c2)](_0x593b66[_0x2b954b(0x1d1)][_0x2b954b(0x3ee)]),this['_univerInstanceService'][_0x2b954b(0x2c2)](_0x593b66[_0x2b954b(0x1d1)]['UNIVER_SHEET']))[_0x2b954b(0x38f)](_0x104892[_0x2b954b(0x1ee)](this[_0x2b954b(0x35f)]))[_0x2b954b(0x32c)](_0x198264=>{const _0x35e944=_0x2b954b,_0x5b2782=_0x198264[_0x35e944(0x33c)](),_0x35667f=this[_0x35e944(0x318)][_0x35e944(0x360)](_0x5b2782);_0x35667f&&(_0x35667f[_0x35e944(0x202)](),this[_0x35e944(0x318)]['delete'](_0x5b2782));});}async['_startSheetCollabCursor'](_0x152655){const _0x2991df=_0x5bfbbf,_0x15e444=await this[_0x2991df(0x393)]['requireSession'](_0x152655),_0x1930a1=this[_0x2991df(0x295)]['createInstance'](_0x4fce7f,_0x152655,_0x15e444);return _0x1930a1['init'](),_0x1930a1;}async['_startDocCollabCursor'](_0x2b89d2){const _0x55e2b0=_0x5bfbbf,_0x11aea6=await this['_collabSessionService'][_0x55e2b0(0x2a3)](_0x2b89d2),_0x9b1863=this[_0x55e2b0(0x295)][_0x55e2b0(0x352)](_0x2c326e,_0x2b89d2,_0x11aea6);return _0x9b1863['init'](),_0x9b1863;}};_0x5329c1=_0x18b78d([_0x2f9ab0(0x0,_0x593b66['IUniverInstanceService']),_0x2f9ab0(0x1,_0x593b66[_0x5bfbbf(0x230)](_0x593b66['Injector'])),_0x2f9ab0(0x2,_0x593b66[_0x5bfbbf(0x230)](_0x555a80[_0x5bfbbf(0x187)]))],_0x5329c1);const _0x8cd2cf=0x14,_0x56d336=0xc8,_0xdf45d6=0x4,_0x1dd738=0x5;function _0xf2ef77(_0x5b3186,_0x4d182f){const _0x26bfd1=_0x5bfbbf;let {radius:_0x1d6e74,width:_0x32cd67,height:_0x3ebd9f}=_0x4d182f;_0x1d6e74=_0x1d6e74!=null?_0x1d6e74:0x0,_0x32cd67=_0x32cd67!=null?_0x32cd67:0x1e,_0x3ebd9f=_0x3ebd9f!=null?_0x3ebd9f:0x1e;let _0x5a1af5=0x0,_0x210a5c=0x0,_0x445feb=0x0;_0x5a1af5=_0x210a5c=_0x445feb=Math[_0x26bfd1(0x3a4)](_0x1d6e74,_0x32cd67/0x2,_0x3ebd9f/0x2),_0x5b3186['beginPath'](),_0x5b3186[_0x26bfd1(0x1ad)](_0x5a1af5,0x0),_0x5b3186[_0x26bfd1(0x364)](_0x32cd67-_0x210a5c,0x0),_0x5b3186[_0x26bfd1(0x258)](_0x32cd67-_0x210a5c,_0x210a5c,_0x210a5c,Math['PI']*0x3/0x2,0x0,!0x1),_0x5b3186[_0x26bfd1(0x364)](_0x32cd67,_0x3ebd9f-_0x445feb),_0x5b3186[_0x26bfd1(0x258)](_0x32cd67-_0x445feb,_0x3ebd9f-_0x445feb,_0x445feb,0x0,Math['PI']/0x2,!0x1),_0x5b3186['lineTo'](0x0,_0x3ebd9f),_0x5b3186[_0x26bfd1(0x364)](0x0,_0x5a1af5),_0x5b3186[_0x26bfd1(0x258)](_0x5a1af5,_0x5a1af5,_0x5a1af5,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x5b3186[_0x26bfd1(0x1cb)](),_0x4d182f[_0x26bfd1(0x2a2)]&&(_0x5b3186['save'](),_0x5b3186[_0x26bfd1(0x29c)]=_0x4d182f[_0x26bfd1(0x2a2)],_0x4d182f[_0x26bfd1(0x390)]===_0x26bfd1(0x20d)?_0x5b3186[_0x26bfd1(0x2a2)]('evenodd'):_0x5b3186[_0x26bfd1(0x2a2)](),_0x5b3186[_0x26bfd1(0x18b)]());}class _0x16c7a6 extends _0x302994[_0x5bfbbf(0x21d)]{constructor(_0x5613ea,_0x26a846){const _0x3343c5=_0x5bfbbf;super(_0x5613ea,_0x26a846),_0x199c2f(this,'color'),_0x199c2f(this,_0x3343c5(0x34e)),(this[_0x3343c5(0x36f)]=_0x26a846==null?void 0x0:_0x26a846[_0x3343c5(0x36f)],this[_0x3343c5(0x34e)]=_0x26a846==null?void 0x0:_0x26a846[_0x3343c5(0x34e)]);}static[_0x5bfbbf(0x341)](_0x4ad91d,_0x11f50d){const _0x253897=_0x5bfbbf,{text:_0x57f428,color:_0x5f390f}=_0x11f50d;_0x4ad91d['save'](),_0x4ad91d[_0x253897(0x3f8)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x3cd4a8=_0x4ad91d['measureText'](_0x57f428)[_0x253897(0x1b3)],_0x58c4a7=Math[_0x253897(0x3a4)](_0x3cd4a8+0x2*_0xdf45d6,_0x56d336);_0xf2ef77(_0x4ad91d,{'height':_0x8cd2cf,'radius':0x4,'width':_0x58c4a7,'fill':_0x5f390f}),_0x4ad91d[_0x253897(0x29c)]=_0x253897(0x338);const _0xfea492=_0xdf45d6,_0x10f1cd=_0x8cd2cf-_0x1dd738,_0x2cf68c=_0x56d336-0x2*_0xdf45d6;if(_0x3cd4a8>_0x2cf68c){let _0x4b5c0a='',_0x4d364e=0x0;for(const _0x576e55 of _0x57f428){const _0x161927=_0x4ad91d['measureText'](_0x576e55)['width'];if(_0x4d364e+_0x161927<=_0x2cf68c-_0x4ad91d['measureText'](_0x253897(0x2c8))[_0x253897(0x1b3)])_0x4b5c0a+=_0x576e55,_0x4d364e+=_0x161927;else{_0x4b5c0a+=_0x253897(0x2c8);break;}}_0x4ad91d[_0x253897(0x303)](_0x4b5c0a,_0xfea492,_0x10f1cd);}else _0x4ad91d[_0x253897(0x303)](_0x57f428,_0xfea492,_0x10f1cd);_0x4ad91d['restore']();}['_draw'](_0x33799a){const _0x120d03=_0x5bfbbf;_0x16c7a6[_0x120d03(0x341)](_0x33799a,this);}}const _0x32b720=_0x5bfbbf(0x2fd),_0x239a7f=_0x5bfbbf(0x31d),_0x25c9bc=_0x5bfbbf(0x1d3),_0x381764=0x6,_0x5ce3bd=1.5,_0xa4158d=0x4,_0x210965=1.5,_0x348f43=_0x5bfbbf(0x35c);class _0x1a9bea{constructor(_0xbec8b2,_0xab9097,_0x787dd3,_0x1e5ca1){const _0x92f336=_0x5bfbbf;_0x199c2f(this,_0x92f336(0x308),[]),_0x199c2f(this,_0x92f336(0x28e),null),_0x199c2f(this,'_textBubble',null),_0x199c2f(this,_0x92f336(0x349),null),_0x199c2f(this,_0x92f336(0x419),null),_0x199c2f(this,_0x92f336(0x38d),null),(this[_0x92f336(0x321)]=_0xbec8b2,this[_0x92f336(0x2bc)]=_0xab9097,this['_docSkeleton']=_0x787dd3,this[_0x92f336(0x380)]=_0x1e5ca1,this[_0x92f336(0x309)]());}set['_hover'](_0x358d08){const _0x4dc2bb=_0x5bfbbf;_0x358d08?(this[_0x4dc2bb(0x349)]&&this[_0x4dc2bb(0x349)][_0x4dc2bb(0x2ac)](),this['_textBubble']&&this[_0x4dc2bb(0x2bf)][_0x4dc2bb(0x1ea)]()):(this['_anchorDot']&&this[_0x4dc2bb(0x349)][_0x4dc2bb(0x1ea)](),this[_0x4dc2bb(0x2bf)]&&this[_0x4dc2bb(0x2bf)][_0x4dc2bb(0x2ac)]());}['dispose'](){const _0x271650=_0x5bfbbf;for(const _0xed7b68 of this[_0x271650(0x308)])_0xed7b68[_0x271650(0x202)]();this['_textBubble']&&this[_0x271650(0x2bf)]['dispose'](),this[_0x271650(0x349)]&&this['_anchorDot']['dispose'](),this[_0x271650(0x28e)]&&this['_anchor'][_0x271650(0x202)](),this[_0x271650(0x38d)]&&this[_0x271650(0x38d)]();}[_0x5bfbbf(0x309)](){const _0x163bf6=_0x5bfbbf;var _0x466585;const {_docSkeleton:_0x8d732e,_document:_0x26f824}=this,{color:_0x1f2c7f,name:_0x530ee8,ranges:_0x574b12}=this['_cursor'],_0x74dcb5=_0x26f824[_0x163bf6(0x2c4)](),{docsLeft:_0x39fcf5,docsTop:_0x5f38ce}=_0x74dcb5,_0x21fa11=new _0xca2527['NodePositionConvertToCursor'](_0x74dcb5,_0x8d732e);for(const {startOffset:_0x3f7816,endOffset:_0x333075,rangeType:_0x9c9931,segmentId:_0x12b53f,segmentPage:_0xfcc1a8,collapsed:_0xbef9dc,isActive:_0x5efa2d}of _0x574b12){const _0x5889f7=_0x8d732e[_0x163bf6(0x37b)](_0x3f7816,!0x0,_0x12b53f,_0xfcc1a8);let _0x3d15df=_0x8d732e[_0x163bf6(0x37b)](_0x333075,!0x0,_0x12b53f,_0xfcc1a8);if(_0x3d15df==null&&(_0x3d15df=_0x8d732e['findNodePositionByCharIndex'](_0x333075-0x1,!0x1,_0x12b53f,_0xfcc1a8)),_0x5efa2d){const {contentBoxPointGroup:_0x5d588f}=_0x21fa11[_0x163bf6(0x347)](_0x3d15df,_0x3d15df);if(_0x5d588f[_0x163bf6(0x3bb)]===0x0)continue;this[_0x163bf6(0x2ef)](_0x1f2c7f,_0x5d588f,_0x39fcf5,_0x5f38ce,_0x530ee8),this[_0x163bf6(0x38d)]=this[_0x163bf6(0x3e6)]();}if(_0x5889f7&&_0x3d15df){if(_0x9c9931===_0x593b66[_0x163bf6(0x1ce)][_0x163bf6(0x30e)]){const _0x2e2b89=new _0xca2527['NodePositionConvertToRectRange'](_0x74dcb5,_0x8d732e),{pointGroup:_0x38f3e0}=(_0x466585=_0x2e2b89[_0x163bf6(0x347)](_0x5889f7,_0x3d15df))!=null?_0x466585:{};if(_0x38f3e0==null||_0x38f3e0[_0x163bf6(0x3bb)]===0x0)continue;this[_0x163bf6(0x3e0)](_0x1f2c7f,_0x38f3e0,_0x39fcf5,_0x5f38ce);}else{if(!_0xbef9dc){const {borderBoxPointGroup:_0x3c1837}=_0x21fa11[_0x163bf6(0x347)](_0x5889f7,_0x3d15df);if(_0x3c1837[_0x163bf6(0x3bb)]===0x0)continue;this[_0x163bf6(0x3ea)](_0x1f2c7f,_0x3c1837,_0x39fcf5,_0x5f38ce);}}}}}[_0x5bfbbf(0x2ef)](_0x2ccacc,_0xe2a915,_0x58bdc6,_0x3c2a5f,_0x55fd9d){const _0x56cbda=_0x5bfbbf,_0x44837a=this[_0x56cbda(0x1ef)](_0xe2a915),{left:_0x3c2056,top:_0x25857e,height:_0x4673da}=_0x44837a,_0x33d05b=this[_0x56cbda(0x2ee)](),_0x2258f0=_0x210965/_0x33d05b,_0x2b8ed0=new _0x302994[(_0x56cbda(0x2ff))](_0x32b720+_0x593b66[_0x56cbda(0x182)]['generateRandomId'](_0x381764),{'left':_0x3c2056+_0x58bdc6-_0x2258f0,'top':_0x25857e+_0x3c2a5f,'height':_0x4673da,'width':_0x5ce3bd,'fill':_0x2ccacc||_0x302994[_0x56cbda(0x18c)](_0x593b66[_0x56cbda(0x319)][_0x56cbda(0x20b)],0x0),'strokeWidth':_0x2258f0,'stroke':_0x348f43,'evented':!0x0});this[_0x56cbda(0x28e)]=_0x2b8ed0,this[_0x56cbda(0x2bc)][_0x56cbda(0x358)](_0x2b8ed0,_0xca2527['TEXT_RANGE_LAYER_INDEX']);const _0x54e233=new _0x302994[(_0x56cbda(0x2ff))](_0x32b720+_0x593b66['Tools'][_0x56cbda(0x214)](_0x381764),{'left':_0x3c2056+_0x58bdc6-_0x2258f0,'top':_0x25857e+_0x3c2a5f-_0xa4158d/0x2,'height':_0xa4158d,'width':_0xa4158d,'fill':_0x2ccacc||_0x302994[_0x56cbda(0x18c)](_0x593b66[_0x56cbda(0x319)][_0x56cbda(0x20b)],0x0),'strokeWidth':0x0,'stroke':_0x2ccacc||_0x302994[_0x56cbda(0x18c)](_0x593b66[_0x56cbda(0x319)][_0x56cbda(0x20b)],0x0),'evented':!0x1});this[_0x56cbda(0x349)]=_0x54e233,this[_0x56cbda(0x2bc)]['addObject'](_0x54e233,_0xca2527[_0x56cbda(0x2d4)]);const _0x5a3695=new _0x16c7a6(_0x32b720+_0x593b66[_0x56cbda(0x182)]['generateRandomId'](_0x381764),{'left':_0x3c2056+_0x58bdc6-_0x2258f0,'top':_0x25857e+_0x3c2a5f-_0x8cd2cf,'text':_0x55fd9d,'color':_0x2ccacc});this['_textBubble']=_0x5a3695,this[_0x56cbda(0x2bc)][_0x56cbda(0x358)](_0x5a3695,_0xca2527['TEXT_RANGE_LAYER_INDEX']),this[_0x56cbda(0x27a)]=!0x1;}[_0x5bfbbf(0x3e6)](){const _0x41af08=_0x5bfbbf,_0x5b53e0=this[_0x41af08(0x28e)][_0x41af08(0x3c8)]['subscribeEvent'](()=>{const _0x5b5769=_0x41af08;this[_0x5b5769(0x27a)]=!0x0;}),_0x55ab16=this[_0x41af08(0x28e)][_0x41af08(0x248)][_0x41af08(0x2b5)](()=>{const _0x115b8c=_0x41af08;this['_hideTimer']&&clearTimeout(this[_0x115b8c(0x419)]),this[_0x115b8c(0x419)]=setTimeout(()=>{const _0x3f439c=_0x115b8c;this[_0x3f439c(0x27a)]=!0x1;},0x7d0);});return()=>{const _0x30183f=_0x41af08;_0x5b53e0[_0x30183f(0x413)](),_0x55ab16['unsubscribe']();};}['_drawTextRange'](_0x2ba9bf,_0x4a7750,_0x36d72a,_0x3cca5d){const _0x450847=_0x5bfbbf,_0xda8eae=new _0x593b66[(_0x450847(0x3ae))](_0x2ba9bf)[_0x450847(0x2e7)](0.2)[_0x450847(0x3b8)](),_0x4256a1=new _0x302994[(_0x450847(0x2af))](_0x239a7f+_0x593b66[_0x450847(0x182)][_0x450847(0x214)](_0x381764),{'pointsGroup':_0x4a7750,'fill':_0xda8eae||_0x302994[_0x450847(0x18c)](_0x593b66[_0x450847(0x319)][_0x450847(0x20b)],0.2),'left':_0x36d72a,'top':_0x3cca5d,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x450847(0x308)][_0x450847(0x375)](_0x4256a1),this[_0x450847(0x2bc)][_0x450847(0x358)](_0x4256a1,_0xca2527[_0x450847(0x2d4)]);}['_drawRectRange'](_0x1db93d,_0x13286a,_0x14a925,_0x38422c){const _0x35b640=_0x5bfbbf,_0x3d78fb=new _0x593b66[(_0x35b640(0x3ae))](_0x1db93d)[_0x35b640(0x2e7)](0.2)[_0x35b640(0x3b8)](),_0x4bdfaa=new _0x302994[(_0x35b640(0x2af))](_0x25c9bc+_0x593b66[_0x35b640(0x182)][_0x35b640(0x214)](_0x381764),{'pointsGroup':_0x13286a,'fill':_0x3d78fb||_0x302994[_0x35b640(0x18c)](_0x593b66['COLORS'][_0x35b640(0x20b)],0.2),'left':_0x14a925,'top':_0x38422c,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x35b640(0x308)][_0x35b640(0x375)](_0x4bdfaa),this[_0x35b640(0x2bc)][_0x35b640(0x358)](_0x4bdfaa,_0xca2527[_0x35b640(0x2d4)]);}[_0x5bfbbf(0x1ef)](_0xd6305f){const _0x59e3a5=_0xd6305f[0x0],_0x27da25=_0x59e3a5[0x0],_0x89d170=_0x59e3a5[0x2],{x:_0x239683,y:_0x560758}=_0x27da25,{x:_0xe7e1b3,y:_0x2ebbb5}=_0x89d170;return{'left':_0x239683,'top':_0x560758,'width':_0xe7e1b3-_0x239683,'height':_0x2ebbb5-_0x560758};}[_0x5bfbbf(0x2ee)](){const _0x4d0a13=_0x5bfbbf,{scaleX:_0x982bc0,scaleY:_0xe71ec2}=this[_0x4d0a13(0x2bc)][_0x4d0a13(0x30a)]();return Math[_0x4d0a13(0x31c)](_0x982bc0,_0xe71ec2);}}var _0x146e29=Object['getOwnPropertyDescriptor'],_0x45ea31=(_0x268682,_0x30108b,_0x13b738,_0x1b98ba)=>{const _0x131490=_0x5bfbbf;for(var _0x4eba5a=_0x1b98ba>0x1?void 0x0:_0x1b98ba?_0x146e29(_0x30108b,_0x13b738):_0x30108b,_0x279ed6=_0x268682[_0x131490(0x3bb)]-0x1,_0x589c63;_0x279ed6>=0x0;_0x279ed6--)(_0x589c63=_0x268682[_0x279ed6])&&(_0x4eba5a=_0x589c63(_0x4eba5a)||_0x4eba5a);return _0x4eba5a;},_0x16fbc9=(_0x5e8b77,_0x16fa40)=>(_0x3fe7c5,_0x177a9f)=>_0x16fa40(_0x3fe7c5,_0x177a9f,_0x5e8b77);let _0x3a6393=class extends _0x593b66[_0x5bfbbf(0x27d)]{constructor(_0x4d07a9,_0x4bbf77,_0x5d6170,_0x26cbe3,_0x1e34e9){const _0x3b8ef7=_0x5bfbbf;super(),_0x199c2f(this,_0x3b8ef7(0x31a),[]),_0x199c2f(this,_0x3b8ef7(0x322),[]),(this['_context']=_0x4d07a9,this[_0x3b8ef7(0x366)]=_0x4bbf77,this[_0x3b8ef7(0x38c)]=_0x5d6170,this[_0x3b8ef7(0x2d7)]=_0x26cbe3,this[_0x3b8ef7(0x1e6)]=_0x1e34e9,this[_0x3b8ef7(0x1f9)]());}[_0x5bfbbf(0x1f9)](){const _0x2c88a4=_0x5bfbbf,_0x5b273a=this[_0x2c88a4(0x3e3)][_0x2c88a4(0x3b7)],_0x7a2726=this[_0x2c88a4(0x366)];this[_0x2c88a4(0x282)](_0x104892['combineLatest']([this[_0x2c88a4(0x38c)]['getCollabCursors$'](_0x5b273a),this['_themeService']['currentTheme$']])[_0x2c88a4(0x38f)](_0x4cb22d['map'](([_0x57ff48,_0x31736e])=>({'skeleton':_0x7a2726[_0x2c88a4(0x1e0)](),'cursors':[..._0x57ff48[_0x2c88a4(0x24b)]()][_0x2c88a4(0x1ed)](_0x4ff17b=>({..._0x4ff17b,'color':_0x31736e[_0x4ff17b[_0x2c88a4(0x36f)]]}))})))[_0x2c88a4(0x32c)](_0x55d432=>{if(this['_removeCollabCursors'](),_0x55d432){const {skeleton:_0x488ce3,cursors:_0x250160}=_0x55d432;this['_updateCollabCursors'](_0x488ce3,_0x250160);}})),this[_0x2c88a4(0x345)](),this[_0x2c88a4(0x26a)]();}[_0x5bfbbf(0x3b9)](_0x2df13e,_0x1af891){const _0x2c1fe1=_0x5bfbbf,{scene:_0x5ddcfe,mainComponent:_0x365aa9}=this[_0x2c1fe1(0x3e3)],_0x369752=_0x1af891[_0x2c1fe1(0x3ba)](_0xe1ff55=>new _0x1a9bea(_0xe1ff55,_0x5ddcfe,_0x2df13e,_0x365aa9));this['_cursorShapes']=_0x369752,this[_0x2c1fe1(0x322)]=_0x1af891;}[_0x5bfbbf(0x31b)](){const _0x83c620=_0x5bfbbf;this[_0x83c620(0x23e)]();const {scene:_0x44f46e,mainComponent:_0x48cf46}=this[_0x83c620(0x3e3)],_0x1795fe=this[_0x83c620(0x366)][_0x83c620(0x1e0)](),_0x3f6f95=this[_0x83c620(0x322)]['map'](_0x40e827=>new _0x1a9bea(_0x40e827,_0x44f46e,_0x1795fe,_0x48cf46));this[_0x83c620(0x31a)]=_0x3f6f95;}[_0x5bfbbf(0x23e)](){const _0x4a7cee=_0x5bfbbf;this[_0x4a7cee(0x31a)][_0x4a7cee(0x3b2)](_0x2b380b=>_0x2b380b[_0x4a7cee(0x202)]()),this[_0x4a7cee(0x31a)]=[];}[_0x5bfbbf(0x26a)](){const _0x9bd78e=_0x5bfbbf,_0x4c3c25=[_0xca2527['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this['_commandService'][_0x9bd78e(0x27e)](_0x39a0bb=>{const _0x3f7f35=_0x9bd78e;_0x4c3c25[_0x3f7f35(0x3f6)](_0x39a0bb['id'])&&_0x39a0bb[_0x3f7f35(0x37a)]['unitId']===this[_0x3f7f35(0x3e3)]['unitId']&&this[_0x3f7f35(0x31b)]();}));}[_0x5bfbbf(0x345)](){const _0x43cd89=_0x5bfbbf;this[_0x43cd89(0x282)](_0x593b66[_0x43cd89(0x270)](this['_context'][_0x43cd89(0x25d)]['onTransformChange$'])[_0x43cd89(0x38f)](_0x4cb22d[_0x43cd89(0x294)](_0x29cc4a=>_0x29cc4a[_0x43cd89(0x3ce)]===_0x302994[_0x43cd89(0x36b)]['resize']),_0x4cb22d[_0x43cd89(0x1e2)](0x10))[_0x43cd89(0x32c)](()=>{const _0x83f4be=_0x43cd89;this[_0x83f4be(0x31b)]();}));}};_0x3a6393=_0x45ea31([_0x16fbc9(0x1,_0x593b66[_0x5bfbbf(0x230)](_0x54676e[_0x5bfbbf(0x1bf)])),_0x16fbc9(0x2,_0x593b66[_0x5bfbbf(0x230)](_0x5329c1)),_0x16fbc9(0x3,_0x593b66[_0x5bfbbf(0x273)]),_0x16fbc9(0x4,_0x593b66['Inject'](_0x593b66['ThemeService']))],_0x3a6393);const _0x2ad23d=0x1,_0x2c0744=1.5;class _0x16454e extends _0x302994[_0x5bfbbf(0x21d)]{constructor(_0x53c62c,_0x53267f){const _0x308053=_0x5bfbbf;super(_0x53c62c,_0x53267f),_0x199c2f(this,'_color'),_0x199c2f(this,_0x308053(0x3b3),!0x1),_0x199c2f(this,'_range'),_0x199c2f(this,'_name',''),_0x199c2f(this,_0x308053(0x20e),_0x308053(0x39f)),_0x199c2f(this,_0x308053(0x3b1)),(_0x53267f&&this['setShapeProps'](_0x53267f),this['onPointerEnter$'][_0x308053(0x2b5)](()=>this[_0x308053(0x263)]({'hovered':!0x0})),this['onPointerLeave$'][_0x308053(0x2b5)](()=>this['setShapeProps']({'hovered':!0x1})));}[_0x5bfbbf(0x263)](_0x2901c9){const _0x5c56c0=_0x5bfbbf;var _0x5027af,_0x5e0c75,_0x43093d,_0x3e7c93,_0x5acdbc,_0x1d1e70;this[_0x5c56c0(0x19a)]=(_0x5027af=_0x2901c9[_0x5c56c0(0x36f)])!=null?_0x5027af:this[_0x5c56c0(0x19a)],this[_0x5c56c0(0x3b3)]=(_0x5e0c75=_0x2901c9['hovered'])!=null?_0x5e0c75:this[_0x5c56c0(0x3b3)],this['_range']=(_0x43093d=_0x2901c9[_0x5c56c0(0x3b6)])!=null?_0x43093d:this[_0x5c56c0(0x2d9)],this[_0x5c56c0(0x19d)]=(_0x3e7c93=_0x2901c9[_0x5c56c0(0x29f)])!=null?_0x3e7c93:this[_0x5c56c0(0x19d)],this[_0x5c56c0(0x20e)]=(_0x5acdbc=_0x2901c9['labelPosition'])!=null?_0x5acdbc:this[_0x5c56c0(0x20e)],this[_0x5c56c0(0x3b1)]=(_0x1d1e70=_0x2901c9[_0x5c56c0(0x3c1)])!=null?_0x1d1e70:this[_0x5c56c0(0x3b1)],this[_0x5c56c0(0x327)]({'width':_0x2901c9[_0x5c56c0(0x1b3)],'height':_0x2901c9[_0x5c56c0(0x3cf)]});}[_0x5bfbbf(0x382)](_0x2e0b1a){const _0x4be090=_0x5bfbbf,{row:_0x1ba978,column:_0x3d4b2d}=_0x2e0b1a;if(_0x1ba978>=this[_0x4be090(0x2d9)][_0x4be090(0x2df)]&&_0x1ba978<=this['_range'][_0x4be090(0x185)]&&_0x3d4b2d>=this[_0x4be090(0x2d9)][_0x4be090(0x244)]&&_0x3d4b2d<=this[_0x4be090(0x2d9)][_0x4be090(0x1f5)]){this['setShapeProps']({'hovered':!0x0});return;}this[_0x4be090(0x263)]({'hovered':!0x1});}[_0x5bfbbf(0x3d2)](_0x4ba811){return!0x1;}[_0x5bfbbf(0x26d)](_0x398b59){const _0x15af7b=_0x5bfbbf;_0x302994[_0x15af7b(0x2ff)][_0x15af7b(0x341)](_0x398b59,{'width':this[_0x15af7b(0x1b3)],'height':this[_0x15af7b(0x3cf)],'strokeWidth':_0x2c0744,'stroke':this[_0x15af7b(0x19a)],'evented':!0x1,'fill':this[_0x15af7b(0x3b1)]}),this[_0x15af7b(0x3b3)]&&(_0x398b59[_0x15af7b(0x326)](),_0x398b59[_0x15af7b(0x40c)](0x1,0x0,0x0,0x1,this[_0x15af7b(0x1b3)],this[_0x15af7b(0x20e)]==='bottom'?0x0:-0x14),_0x16c7a6['drawWith'](_0x398b59,{'text':this[_0x15af7b(0x19d)],'color':this[_0x15af7b(0x19a)]}),_0x398b59[_0x15af7b(0x18b)]());}}var _0x5dc9dc=Object[_0x5bfbbf(0x3ca)],_0x55962b=(_0x362a99,_0x439311,_0xe22419,_0xda7b3c)=>{const _0x2900e0=_0x5bfbbf;for(var _0x59b363=_0xda7b3c>0x1?void 0x0:_0xda7b3c?_0x5dc9dc(_0x439311,_0xe22419):_0x439311,_0x3b7b52=_0x362a99[_0x2900e0(0x3bb)]-0x1,_0x5d131b;_0x3b7b52>=0x0;_0x3b7b52--)(_0x5d131b=_0x362a99[_0x3b7b52])&&(_0x59b363=_0x5d131b(_0x59b363)||_0x59b363);return _0x59b363;},_0x41c4c3=(_0x412bb0,_0x14eea8)=>(_0x438a5f,_0x16f453)=>_0x14eea8(_0x438a5f,_0x16f453,_0x412bb0);const _0x34e6dd=0x1389;let _0x462469=class extends _0x593b66[_0x5bfbbf(0x27d)]{constructor(_0xcfa886,_0x5a43b2,_0x7ec5d,_0x2ac709){const _0x262ffe=_0x5bfbbf;super(),_0x199c2f(this,_0x262ffe(0x322),new Set()),_0x199c2f(this,_0x262ffe(0x1b6),null),(this[_0x262ffe(0x3e3)]=_0xcfa886,this[_0x262ffe(0x2f2)]=_0x5a43b2,this[_0x262ffe(0x38c)]=_0x7ec5d,this[_0x262ffe(0x1e6)]=_0x2ac709,this[_0x262ffe(0x1f9)]());}[_0x5bfbbf(0x1f9)](){const _0x3c4510=_0x5bfbbf;this[_0x3c4510(0x2f2)][_0x3c4510(0x1ff)][_0x3c4510(0x38f)](_0x4cb22d[_0x3c4510(0x1ee)](this[_0x3c4510(0x35f)]),_0x4cb22d['switchMap'](_0x26b3de=>{const _0x3786aa=_0x3c4510;if(_0x26b3de){const _0x11a514=_0x26b3de[_0x3786aa(0x240)];return _0x104892[_0x3786aa(0x32b)](this['_collabCursorController'][_0x3786aa(0x3c7)](this['_context'][_0x3786aa(0x3b7)]),this[_0x3786aa(0x1e6)][_0x3786aa(0x2c3)])[_0x3786aa(0x38f)](_0x4cb22d[_0x3786aa(0x3ba)](([_0xac4b29,_0x18a410])=>{const _0x4b9b60=_0x3786aa,_0x15148e=new Map();return _0xac4b29[_0x4b9b60(0x3b2)]((_0x3afcd1,_0x3ff95f)=>{const _0x4da13f=_0x4b9b60;if(_0x3afcd1[_0x4da13f(0x24e)]===_0x11a514){const _0x36b644={..._0x3afcd1};_0x36b644[_0x4da13f(0x36f)]=_0x18a410[_0x3afcd1[_0x4da13f(0x36f)]],_0x15148e[_0x4da13f(0x1d5)](_0x3ff95f,_0x36b644);}}),{'skeleton':_0x26b3de,'cursors':_0x15148e};}));}return _0x104892['of']({'skeleton':null,'cursors':new Map()});}))[_0x3c4510(0x32c)](({skeleton:_0x36bb1f,cursors:_0xde7f})=>{const _0x848eb0=_0x3c4510;this[_0x848eb0(0x23e)](),_0x36bb1f&&this[_0x848eb0(0x3b9)](_0x36bb1f,_0xde7f);}),this[_0x3c4510(0x2f2)][_0x3c4510(0x1ff)][_0x3c4510(0x32c)](_0x32cde3=>{const _0x36c43c=_0x3c4510;if(_0x32cde3==null)return;const {skeleton:_0x49151f}=_0x32cde3,{scene:_0x2b83c6}=this[_0x36c43c(0x3e3)];_0x2b83c6['onPointerMove$'][_0x36c43c(0x2b5)](_0x593b66[_0x36c43c(0x20f)](_0x498079=>{const _0x3dd695=_0x36c43c;var _0x189d4c,_0x42841b;const {offsetX:_0x4ab77c,offsetY:_0x2efd71}=_0x498079,{x:_0x1c9d81,y:_0x49afc7}=_0x2b83c6['getRelativeToViewportCoord'](_0x302994[_0x3dd695(0x1a3)]['FromArray']([_0x4ab77c,_0x2efd71])),{scaleX:_0x5f5e02,scaleY:_0x18d661}=_0x2b83c6['getAncestorScale'](),_0x1f35ca=_0x2b83c6[_0x3dd695(0x297)](_0x302994['SHEET_VIEWPORT_KEY'][_0x3dd695(0x3aa)]),_0x4c4ef8=_0x2b83c6[_0x3dd695(0x2ce)](_0x302994[_0x3dd695(0x1a3)][_0x3dd695(0x316)]([_0x1c9d81,_0x49afc7]),_0x1f35ca),_0x45c026=_0x49151f['getCellPositionByOffset'](_0x4ab77c,_0x2efd71,_0x5f5e02,_0x18d661,_0x4c4ef8);((_0x189d4c=this[_0x3dd695(0x1b6)])==null?void 0x0:_0x189d4c[_0x3dd695(0x301)])===_0x45c026[_0x3dd695(0x301)]&&((_0x42841b=this[_0x3dd695(0x1b6)])==null?void 0x0:_0x42841b[_0x3dd695(0x2b2)])===_0x45c026[_0x3dd695(0x2b2)]||this['_cursors'][_0x3dd695(0x3b2)](_0x1297e4=>{_0x1297e4['onMouseMove'](_0x45c026);});},0x64));});}[_0x5bfbbf(0x3b9)](_0x57433c,_0x585ae6){const _0x586492=_0x5bfbbf;var _0x23ff9d;const _0x47d82e=(_0x23ff9d=this[_0x586492(0x2f2)][_0x586492(0x279)]())==null?void 0x0:_0x23ff9d['skeleton'];if(!_0x47d82e)return;const _0x2423e3=this[_0x586492(0x372)]();if(!_0x2423e3)return;this[_0x586492(0x322)][_0x586492(0x3b2)](_0x4ff80d=>{const _0x5a74e8=_0x586492;_0x4ff80d[_0x5a74e8(0x2dd)]();});const {scene:_0x24c8ad}=_0x2423e3,_0x3302a6=_0x27f19f(Array[_0x586492(0x1c6)](_0x585ae6[_0x586492(0x24b)]()))[_0x586492(0x3ba)](_0x126be2=>{const _0x29e9bb=_0x586492,{color:_0x5807a3,range:_0x136c4f,name:_0x46ea21,selection:_0x4a917c,sheetID:_0xa4b23c}=_0x126be2,{startColumn:_0x2785e6,startRow:_0x46059e,endColumn:_0xcd6661,endRow:_0x4e0a46}=_0x136c4f,_0xd2c29c=_0x9a7747[_0x29e9bb(0x1f6)](_0x46059e,_0x2785e6,_0x24c8ad,_0x47d82e),_0x15ceaa=_0x9a7747[_0x29e9bb(0x1f6)](_0x4e0a46,_0xcd6661,_0x24c8ad,_0x47d82e),{columnHeaderHeightAndMarginTop:_0x1237f2}=_0x47d82e,{startX:_0x20af69,startY:_0x2b0f8a}=_0xd2c29c,{endX:_0x5eaefc,endY:_0xcd56c2}=_0x15ceaa,_0x4d4295=_0x5eaefc-_0x20af69,_0x72c6f6=_0xcd56c2-_0x2b0f8a,_0x38f2a5={'labelPosition':_0x2b0f8a-_0x1237f2>=_0x8cd2cf?_0x29e9bb(0x39f):_0x29e9bb(0x23d),'sheetID':_0xa4b23c,'range':_0x136c4f,'color':_0x5807a3,'name':_0x46ea21,'selection':_0x4a917c,'left':_0x20af69,'top':_0x2b0f8a,'width':_0x4d4295,'height':_0x72c6f6,'evented':!0x1,'zIndex':_0x34e6dd};return new _0x16454e(_0x46ea21,_0x38f2a5);});_0x24c8ad[_0x586492(0x25e)](_0x3302a6,_0x2ad23d),this[_0x586492(0x322)]=new Set(_0x3302a6);}[_0x5bfbbf(0x23e)](){const _0x1a8448=_0x5bfbbf;var _0x1cba6a;(_0x1cba6a=this[_0x1a8448(0x322)])==null||_0x1cba6a[_0x1a8448(0x3b2)](_0x3a3b1b=>_0x3a3b1b[_0x1a8448(0x202)]());}['_getSheetObject'](){const _0xecc6d9=_0x5bfbbf;return _0x9a7747[_0xecc6d9(0x3dc)](this['_context'][_0xecc6d9(0x40d)],this['_context']);}};_0x462469=_0x55962b([_0x41c4c3(0x1,_0x593b66[_0x5bfbbf(0x230)](_0x9a7747['SheetSkeletonManagerService'])),_0x41c4c3(0x2,_0x593b66[_0x5bfbbf(0x230)](_0x5329c1)),_0x41c4c3(0x3,_0x593b66[_0x5bfbbf(0x230)](_0x593b66[_0x5bfbbf(0x3fc)]))],_0x462469);function _0x27f19f(_0x3437ab){const _0x1a1fb7=_0x5bfbbf,_0x6d775f=new Map();return _0x3437ab[_0x1a1fb7(0x3b2)](_0x4d24c9=>{const _0x2b5555=_0x1a1fb7;if(_0x6d775f[_0x2b5555(0x368)](_0x4d24c9[_0x2b5555(0x20c)])){const _0x38678a=_0x6d775f[_0x2b5555(0x360)](_0x4d24c9[_0x2b5555(0x20c)]);_0x38678a[_0x2b5555(0x29f)]+=',\x20'+_0x4d24c9[_0x2b5555(0x29f)];}else _0x6d775f[_0x2b5555(0x1d5)](_0x4d24c9[_0x2b5555(0x20c)],_0x4d24c9);}),Array[_0x1a1fb7(0x1c6)](_0x6d775f['values']());}var _0x5c3a87=function(){const _0x8396b6=_0x5bfbbf;return _0x5c3a87=Object[_0x8396b6(0x3c5)]||function(_0x4b63b7){const _0x1b7a3b=_0x8396b6;for(var _0x59715a,_0x362ea9=0x1,_0xd4c271=arguments[_0x1b7a3b(0x3bb)];_0x362ea9<_0xd4c271;_0x362ea9++){_0x59715a=arguments[_0x362ea9];for(var _0x5d6bf4 in _0x59715a)Object[_0x1b7a3b(0x416)]['hasOwnProperty'][_0x1b7a3b(0x2dc)](_0x59715a,_0x5d6bf4)&&(_0x4b63b7[_0x5d6bf4]=_0x59715a[_0x5d6bf4]);}return _0x4b63b7;},_0x5c3a87['apply'](this,arguments);},_0x499d28=function(_0x42a63e,_0x2c9ba4){const _0xb71729=_0x5bfbbf;var _0x4c6a36={};for(var _0x31ca30 in _0x42a63e)Object[_0xb71729(0x416)][_0xb71729(0x331)][_0xb71729(0x2dc)](_0x42a63e,_0x31ca30)&&_0x2c9ba4[_0xb71729(0x280)](_0x31ca30)<0x0&&(_0x4c6a36[_0x31ca30]=_0x42a63e[_0x31ca30]);if(_0x42a63e!=null&&typeof Object[_0xb71729(0x3a2)]=='function'){for(var _0x4057fc=0x0,_0x31ca30=Object[_0xb71729(0x3a2)](_0x42a63e);_0x4057fc<_0x31ca30[_0xb71729(0x3bb)];_0x4057fc++)_0x2c9ba4[_0xb71729(0x280)](_0x31ca30[_0x4057fc])<0x0&&Object['prototype']['propertyIsEnumerable'][_0xb71729(0x2dc)](_0x42a63e,_0x31ca30[_0x4057fc])&&(_0x4c6a36[_0x31ca30[_0x4057fc]]=_0x42a63e[_0x31ca30[_0x4057fc]]);}return _0x4c6a36;},_0x56aa81=_0x49a8a3[_0x5bfbbf(0x365)](function(_0x48a841,_0x150c55){const _0x5bd6f7=_0x5bfbbf;var _0x3ae7aa=_0x48a841[_0x5bd6f7(0x386)],_0x47c178=_0x48a841['id'],_0x4a3844=_0x48a841[_0x5bd6f7(0x210)],_0x58b827=_0x48a841[_0x5bd6f7(0x2c7)],_0xa57753=_0x499d28(_0x48a841,[_0x5bd6f7(0x386),'id',_0x5bd6f7(0x210),'extend']),_0x287973='univerjs-icon\x20univerjs-icon-'[_0x5bd6f7(0x195)](_0x47c178,'\x20')['concat'](_0x4a3844||'')['trim'](),_0x45e785=_0x49a8a3[_0x5bd6f7(0x1c2)]('_'[_0x5bd6f7(0x195)](_0x1f6ae6()));return _0x3dfac5(_0x3ae7aa,''[_0x5bd6f7(0x195)](_0x47c178),{'defIds':_0x3ae7aa[_0x5bd6f7(0x392)],'idSuffix':_0x45e785[_0x5bd6f7(0x253)]},_0x5c3a87({'ref':_0x150c55,'className':_0x287973},_0xa57753),_0x58b827);});function _0x3dfac5(_0x3c4959,_0x15a44d,_0x245568,_0x7712ff,_0x2307e4){const _0x35751b=_0x5bfbbf;return _0x49a8a3[_0x35751b(0x32d)](_0x3c4959[_0x35751b(0x286)],_0x5c3a87(_0x5c3a87({'key':_0x15a44d},_0x4af2c5(_0x3c4959,_0x245568,_0x2307e4)),_0x7712ff),(_0xd55313(_0x3c4959,_0x245568)[_0x35751b(0x245)]||[])[_0x35751b(0x3ba)](function(_0x32333e,_0x55996f){const _0x589aec=_0x35751b;return _0x3dfac5(_0x32333e,''[_0x589aec(0x195)](_0x15a44d,'-')[_0x589aec(0x195)](_0x3c4959[_0x589aec(0x286)],'-')[_0x589aec(0x195)](_0x55996f),_0x245568,void 0x0,_0x2307e4);}));}function _0x4af2c5(_0x1a16a6,_0x144765,_0x26c1cf){const _0x1bec7b=_0x5bfbbf;var _0x281f72=_0x5c3a87({},_0x1a16a6[_0x1bec7b(0x220)]);_0x26c1cf!=null&&_0x26c1cf[_0x1bec7b(0x276)]&&_0x281f72[_0x1bec7b(0x2a2)]===_0x1bec7b(0x276)&&(_0x281f72['fill']=_0x26c1cf[_0x1bec7b(0x276)]),_0x1a16a6[_0x1bec7b(0x286)]===_0x1bec7b(0x311)&&_0x281f72['id']&&(_0x281f72['id']=_0x281f72['id']+_0x144765['idSuffix']),Object[_0x1bec7b(0x34d)](_0x281f72)[_0x1bec7b(0x3b2)](function(_0x531591){const _0x8d892f=_0x1bec7b;var _0x3804a4=_0x531591[0x0],_0x828cb5=_0x531591[0x1];_0x3804a4===_0x8d892f(0x311)&&typeof _0x828cb5==_0x8d892f(0x231)&&(_0x281f72[_0x3804a4]=_0x828cb5['replace'](/url\(#(.*)\)/,_0x8d892f(0x2f6)[_0x8d892f(0x195)](_0x144765[_0x8d892f(0x312)],')')));});var _0x4fd401=_0x144765[_0x1bec7b(0x392)];return!_0x4fd401||_0x4fd401[_0x1bec7b(0x3bb)]===0x0||(_0x1a16a6[_0x1bec7b(0x286)]===_0x1bec7b(0x3e5)&&_0x281f72[_0x1bec7b(0x41b)]&&(_0x281f72[_0x1bec7b(0x41b)]=_0x281f72[_0x1bec7b(0x41b)]+_0x144765['idSuffix']),Object[_0x1bec7b(0x34d)](_0x281f72)[_0x1bec7b(0x3b2)](function(_0x1bfe63){const _0x55ef4c=_0x1bec7b;var _0x238374=_0x1bfe63[0x0],_0x1ed2e5=_0x1bfe63[0x1];typeof _0x1ed2e5==_0x55ef4c(0x231)&&(_0x281f72[_0x238374]=_0x1ed2e5[_0x55ef4c(0x293)](/url\(#(.*)\)/,_0x55ef4c(0x2f6)['concat'](_0x144765[_0x55ef4c(0x312)],')')));})),_0x281f72;}function _0xd55313(_0x50a914,_0x16e68a){const _0xe88a3=_0x5bfbbf;var _0xa75812,_0x14d23c=_0x16e68a[_0xe88a3(0x392)];return!_0x14d23c||_0x14d23c[_0xe88a3(0x3bb)]===0x0?_0x50a914:_0x50a914[_0xe88a3(0x286)]===_0xe88a3(0x186)&&(!((_0xa75812=_0x50a914[_0xe88a3(0x245)])===null||_0xa75812===void 0x0)&&_0xa75812['length'])?_0x5c3a87(_0x5c3a87({},_0x50a914),{'children':_0x50a914[_0xe88a3(0x245)][_0xe88a3(0x3ba)](function(_0x2592e3){const _0x52e8bf=_0xe88a3;return typeof _0x2592e3['attrs']['id']==_0x52e8bf(0x231)&&_0x14d23c&&_0x14d23c['indexOf'](_0x2592e3['attrs']['id'])>-0x1?_0x5c3a87(_0x5c3a87({},_0x2592e3),{'attrs':_0x5c3a87(_0x5c3a87({},_0x2592e3[_0x52e8bf(0x220)]),{'id':_0x2592e3[_0x52e8bf(0x220)]['id']+_0x16e68a['idSuffix']})}):_0x2592e3;})}):_0x50a914;}function _0x1f6ae6(){const _0x1412b1=_0x5bfbbf;return Math[_0x1412b1(0x2d3)]()[_0x1412b1(0x2e2)](0x24)[_0x1412b1(0x27b)](0x2,0x8);}_0x56aa81[_0x5bfbbf(0x39b)]=_0x5bfbbf(0x355);var _0xa650ff={'tag':_0x5bfbbf(0x28d),'attrs':{'fill':'none','viewBox':'0\x200\x2016\x2016','width':_0x5bfbbf(0x396),'height':_0x5bfbbf(0x396)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':'path','attrs':{'stroke':_0x5bfbbf(0x1e9),'d':_0x5bfbbf(0x363),'strokeLinecap':_0x5bfbbf(0x2ab),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x5bfbbf(0x2a0)},'children':[{'tag':_0x5bfbbf(0x3c3),'attrs':{'fill':_0x5bfbbf(0x2a9),'d':_0x5bfbbf(0x1e3)}}]}]}],'defIds':[_0x5bfbbf(0x2a0)]},_0x2e741e=_0x49a8a3[_0x5bfbbf(0x365)](function(_0x3a1c36,_0x513171){return _0x49a8a3['createElement'](_0x56aa81,Object['assign']({},_0x3a1c36,{'id':'off-line-single','ref':_0x513171,'icon':_0xa650ff}));});_0x2e741e[_0x5bfbbf(0x39b)]='OffLineSingle';var _0x400273={'tag':_0x5bfbbf(0x28d),'attrs':{'fill':_0x5bfbbf(0x265),'viewBox':'0\x200\x2017\x2016','width':_0x5bfbbf(0x396),'height':_0x5bfbbf(0x396)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-single_clip0_910_349)'},'children':[{'tag':'path','attrs':{'stroke':_0x5bfbbf(0x1e9),'d':_0x5bfbbf(0x287),'strokeLinecap':_0x5bfbbf(0x2ab),'strokeLinejoin':_0x5bfbbf(0x2ab),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x5bfbbf(0x21f),'attrs':{'id':_0x5bfbbf(0x278)},'children':[{'tag':_0x5bfbbf(0x3c3),'attrs':{'fill':_0x5bfbbf(0x2a9),'d':'M0\x200H16V16H0z','transform':_0x5bfbbf(0x32e)}}]}]}],'defIds':[_0x5bfbbf(0x278)]},_0x103e9a=_0x49a8a3[_0x5bfbbf(0x365)](function(_0x2518bc,_0x192e72){const _0x27f12a=_0x5bfbbf;return _0x49a8a3[_0x27f12a(0x32d)](_0x56aa81,Object[_0x27f12a(0x3c5)]({},_0x2518bc,{'id':_0x27f12a(0x3e9),'ref':_0x192e72,'icon':_0x400273}));});_0x103e9a[_0x5bfbbf(0x39b)]='OnLineSingle';const _0x25ad32={'onlineStatusIcon':_0x5bfbbf(0x2c5),'onlineStatusTitle':_0x5bfbbf(0x398),'onlineStatus':_0x5bfbbf(0x2f8),'online':_0x5bfbbf(0x2db),'offline':'univer-offline'};function _0x39e348(_0x3308b1){const _0x4e0dbd=_0x5bfbbf;switch(_0x3308b1){case _0x555a80[_0x4e0dbd(0x1d2)][_0x4e0dbd(0x3fa)]:return _0x4e0dbd(0x325);case _0x555a80[_0x4e0dbd(0x1d2)][_0x4e0dbd(0x2a7)]:return _0x4e0dbd(0x3eb);case _0x555a80[_0x4e0dbd(0x1d2)]['FETCH_MISS']:return _0x4e0dbd(0x3d3);case _0x555a80[_0x4e0dbd(0x1d2)]['NOT_COLLAB']:return _0x4e0dbd(0x2d2);case _0x555a80[_0x4e0dbd(0x1d2)]['AWAITING']:case _0x555a80['CollaborationStatus'][_0x4e0dbd(0x22b)]:return _0x4e0dbd(0x414);case _0x555a80['CollaborationStatus'][_0x4e0dbd(0x218)]:case _0x555a80[_0x4e0dbd(0x1d2)]['PENDING']:return _0x4e0dbd(0x255);}}function _0xb4e4b9(_0x2606ea){const _0x92f1d6=_0x5bfbbf,{status$:_0x2475c3}=_0x2606ea,_0x30630b=_0x2965e2['useObservable'](_0x2475c3,_0x555a80[_0x92f1d6(0x1d2)][_0x92f1d6(0x2aa)]),_0x2ed881=_0x2965e2['useDependency'](_0x593b66[_0x92f1d6(0x35a)]),_0x2b4071=_0x2965e2[_0x92f1d6(0x2e4)](_0x555a80[_0x92f1d6(0x187)]),_0x3a500f=_0x30630b!==_0x555a80[_0x92f1d6(0x1d2)][_0x92f1d6(0x3fa)],_0x53a24=_0x2ed881['t'](_0x39e348(_0x30630b)),_0x3fa9a8=_0x526ca7[_0x92f1d6(0x1a4)](_0x25ad32['onlineStatus'],{[_0x25ad32[_0x92f1d6(0x1d9)]]:_0x3a500f,[_0x25ad32['offline']]:!_0x3a500f}),_0x3aaab0=_0x3a500f?_0xa33888[_0x92f1d6(0x410)](_0x103e9a,{}):_0xa33888[_0x92f1d6(0x410)](_0x2e741e,{}),_0x3209ea=_0x49a8a3[_0x92f1d6(0x247)](()=>{const _0x155c89=_0x92f1d6;_0x3a500f||_0x2b4071[_0x155c89(0x36c)]();},[_0x3a500f,_0x2b4071]);function _0x223a97(){const _0x2e2699=_0x92f1d6;return _0xa33888[_0x2e2699(0x28b)]('div',{'className':_0x526ca7['clsx'](_0x3fa9a8,'univer-flex\x20univer-items-center'),'onClick':_0x3209ea,'children':[_0xa33888[_0x2e2699(0x410)](_0x2e2699(0x1dc),{'className':_0x25ad32[_0x2e2699(0x24d)],'children':_0x3aaab0}),_0xa33888[_0x2e2699(0x410)](_0x2e2699(0x1dc),{'className':_0x25ad32[_0x2e2699(0x3e4)],'children':_0x53a24})]});}return _0x3a500f?_0x223a97():_0xa33888[_0x92f1d6(0x410)](_0x526ca7['Tooltip'],{'title':_0x2ed881['t']('collab-client.tooltip.reconnect'),'children':_0x223a97()});}var _0x14e50d=Object['getOwnPropertyDescriptor'],_0x23b958=(_0x95686a,_0x5d28d5,_0x5f2db4,_0x1a881a)=>{const _0x2b8a41=_0x5bfbbf;for(var _0x28428e=_0x1a881a>0x1?void 0x0:_0x1a881a?_0x14e50d(_0x5d28d5,_0x5f2db4):_0x5d28d5,_0x10f24a=_0x95686a[_0x2b8a41(0x3bb)]-0x1,_0x50ef9b;_0x10f24a>=0x0;_0x10f24a--)(_0x50ef9b=_0x95686a[_0x10f24a])&&(_0x28428e=_0x50ef9b(_0x28428e)||_0x28428e);return _0x28428e;},_0x320833=(_0x3c3de9,_0x1f1c01)=>(_0x14737f,_0x5ab861)=>_0x1f1c01(_0x14737f,_0x5ab861,_0x3c3de9);_0x40e363[_0x5bfbbf(0x302)]=class extends _0x593b66['Disposable']{constructor(_0x40fd47,_0x265bef,_0x1bf9a5,_0x3fafd8){const _0x5ccdb1=_0x5bfbbf;super(),_0x199c2f(this,_0x5ccdb1(0x1d6),new _0x104892[(_0x5ccdb1(0x23b))](_0x555a80['CollaborationStatus'][_0x5ccdb1(0x2aa)])),(this[_0x5ccdb1(0x199)]=_0x40fd47,this[_0x5ccdb1(0x295)]=_0x265bef,this[_0x5ccdb1(0x238)]=_0x1bf9a5,this[_0x5ccdb1(0x2f9)]=_0x3fafd8,this[_0x5ccdb1(0x3d7)](),this['_initStatusListener']());}[_0x5bfbbf(0x1eb)](){const _0x1da011=_0x5bfbbf;this[_0x1da011(0x282)](this['_univerInstanceService']['focused$'][_0x1da011(0x38f)](_0x104892[_0x1da011(0x317)](()=>{const _0x55eff7=_0x1da011,_0x3d0ab5=this[_0x55eff7(0x199)][_0x55eff7(0x31e)]();return _0x3d0ab5?this[_0x55eff7(0x238)]['getCollabEntity$'](_0x3d0ab5['getUnitId']()):_0x104892['of'](null);}),_0x104892[_0x1da011(0x317)](_0x5c742c=>_0x5c742c?_0x5c742c[_0x1da011(0x1fa)]:_0x104892['of'](_0x555a80['CollaborationStatus']['NOT_COLLAB'])))[_0x1da011(0x32c)](_0x34df55=>{const _0x2ba797=_0x1da011;this[_0x2ba797(0x1d6)][_0x2ba797(0x298)](_0x34df55);}));}[_0x5bfbbf(0x3d7)](){const _0x2142cb=_0x5bfbbf;this[_0x2142cb(0x282)](this[_0x2142cb(0x2f9)][_0x2142cb(0x1bc)](_0x2965e2[_0x2142cb(0x1af)]['HEADER_MENU'],()=>_0x2965e2[_0x2142cb(0x198)](_0x4626fb({'status$':this[_0x2142cb(0x1d6)][_0x2142cb(0x2fc)]()}),this[_0x2142cb(0x295)])));}},_0x40e363[_0x5bfbbf(0x302)]=_0x23b958([_0x320833(0x0,_0x593b66[_0x5bfbbf(0x385)]),_0x320833(0x1,_0x593b66['Inject'](_0x593b66[_0x5bfbbf(0x3df)])),_0x320833(0x2,_0x593b66[_0x5bfbbf(0x230)](_0x555a80[_0x5bfbbf(0x3d5)])),_0x320833(0x3,_0x2965e2[_0x5bfbbf(0x33f)])],_0x40e363[_0x5bfbbf(0x302)]);function _0x4626fb(_0x4657a3){const {status$:_0x40bfdb}=_0x4657a3;return function(){const _0x1e375f=_0x43a4;return _0xa33888[_0x1e375f(0x410)](_0xb4e4b9,{'status$':_0x40bfdb});};}var _0x5a7839=Object[_0x5bfbbf(0x3ca)],_0x287b00=(_0x5b7169,_0x1d6bf7,_0x3ca218,_0x53032b)=>{const _0x43246d=_0x5bfbbf;for(var _0x13acdc=_0x53032b>0x1?void 0x0:_0x53032b?_0x5a7839(_0x1d6bf7,_0x3ca218):_0x1d6bf7,_0x30f510=_0x5b7169[_0x43246d(0x3bb)]-0x1,_0x192f5;_0x30f510>=0x0;_0x30f510--)(_0x192f5=_0x5b7169[_0x30f510])&&(_0x13acdc=_0x192f5(_0x13acdc)||_0x13acdc);return _0x13acdc;},_0x1ed766=(_0x4b5e08,_0x41e4f1)=>(_0x12d040,_0x347dc2)=>_0x41e4f1(_0x12d040,_0x347dc2,_0x4b5e08);let _0x1f981a=class extends _0x593b66['Disposable']{constructor(_0x59f395,_0x19de09,_0x47391d,_0x39e1a8,_0x6ae657,_0x47c540){const _0x3f916b=_0x5bfbbf;super(),this['_beforeCloseService']=_0x59f395,this[_0x3f916b(0x1f4)]=_0x19de09,this[_0x3f916b(0x359)]=_0x47391d,this[_0x3f916b(0x335)]=_0x39e1a8,this['_notificationService']=_0x6ae657,this['_localeService']=_0x47c540,this[_0x3f916b(0x18f)](),this[_0x3f916b(0x1d0)]();}[_0x5bfbbf(0x18f)](){this['disposeWithMe'](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x7088cb=_0x43a4;if(this['_localCacheService']['saveTaskMap'][_0x7088cb(0x232)])return this['_localeService']['t']('collaboration-client.offline-data-not-saved');}));}['_initEvent'](){const _0x27ae65=_0x5bfbbf;this[_0x27ae65(0x282)](this[_0x27ae65(0x359)][_0x27ae65(0x268)][_0x27ae65(0x32c)](_0x4ab99b=>{const _0x4c556f=_0x27ae65;_0x4ab99b['id']===_0x555a80[_0x4c556f(0x1be)][_0x4c556f(0x38a)]&&this[_0x4c556f(0x335)]['show']({'type':_0x526ca7[_0x4c556f(0x2c1)][_0x4c556f(0x37c)],'content':this['_localeService']['t'](_0x4c556f(0x34a))}),_0x4ab99b['id']===_0x555a80[_0x4c556f(0x1be)][_0x4c556f(0x3a9)]&&this[_0x4c556f(0x335)]['show']({'type':_0x526ca7[_0x4c556f(0x2c1)]['Warning'],'content':this['_localeService']['t'](_0x4c556f(0x35d))}),_0x4ab99b['id']===_0x555a80[_0x4c556f(0x1be)][_0x4c556f(0x2bb)]&&this[_0x4c556f(0x3f0)][_0x4c556f(0x1ea)]({'title':this[_0x4c556f(0x2cc)]['t'](_0x4c556f(0x1f1)),'content':this['_localeService']['t'](_0x4c556f(0x1fe)),'type':_0x4c556f(0x1a9),'duration':0x0}),_0x4ab99b['id']===_0x555a80['CollaborationUIEventId']['CONFLICT']&&this['_messageService'][_0x4c556f(0x1ea)]({'type':_0x526ca7[_0x4c556f(0x2c1)]['Error'],'content':this[_0x4c556f(0x2cc)]['t'](_0x4c556f(0x35d))+'('+_0x4ab99b[_0x4c556f(0x262)]+')'}),_0x4ab99b['id']===_0x555a80[_0x4c556f(0x1be)]['JOIN_ROOM_FAILED']&&this[_0x4c556f(0x335)][_0x4c556f(0x1ea)]({'type':_0x526ca7[_0x4c556f(0x2c1)]['Warning'],'content':this['_localeService']['t'](_0x4ab99b[_0x4c556f(0x262)]||'')}),_0x4ab99b['id']===_0x555a80[_0x4c556f(0x1be)][_0x4c556f(0x23a)]&&this[_0x4c556f(0x335)][_0x4c556f(0x1ea)]({'type':_0x526ca7[_0x4c556f(0x2c1)][_0x4c556f(0x37c)],'content':this['_localeService']['t']('session.will-retry')}),_0x4ab99b['id']===_0x555a80[_0x4c556f(0x1be)][_0x4c556f(0x36e)]&&this['_messageService']['show']({'type':_0x526ca7[_0x4c556f(0x2c1)][_0x4c556f(0x1bd)],'content':this[_0x4c556f(0x2cc)]['t'](_0x4c556f(0x28f))}),_0x4ab99b['id']===_0x555a80[_0x4c556f(0x1be)][_0x4c556f(0x323)]&&this[_0x4c556f(0x335)]['show']({'type':_0x526ca7['MessageType'][_0x4c556f(0x1bd)],'content':this[_0x4c556f(0x2cc)]['t']('session.collaboration-timeout')});}));}};_0x1f981a=_0x287b00([_0x1ed766(0x0,_0x2965e2[_0x5bfbbf(0x2f7)]),_0x1ed766(0x1,_0x555a80[_0x5bfbbf(0x3bd)]),_0x1ed766(0x2,_0x593b66['Inject'](_0x555a80['CollaborationUIEventService'])),_0x1ed766(0x3,_0x2965e2[_0x5bfbbf(0x357)]),_0x1ed766(0x4,_0x2965e2[_0x5bfbbf(0x1fd)]),_0x1ed766(0x5,_0x593b66['Inject'](_0x593b66[_0x5bfbbf(0x35a)]))],_0x1f981a);const _0x1b6e59=_0x5bfbbf(0x30f),_0x3e51f8={},_0xb3ebfa=_0x593b66[_0x5bfbbf(0x2de)]('uni.network.url-service');var _0x56eb91=Object[_0x5bfbbf(0x3ca)],_0x10075b=(_0x30e080,_0x316377,_0xcce1b2,_0x31aac4)=>{const _0x426741=_0x5bfbbf;for(var _0x1c2d51=_0x31aac4>0x1?void 0x0:_0x31aac4?_0x56eb91(_0x316377,_0xcce1b2):_0x316377,_0xe63494=_0x30e080[_0x426741(0x3bb)]-0x1,_0x540464;_0xe63494>=0x0;_0xe63494--)(_0x540464=_0x30e080[_0xe63494])&&(_0x1c2d51=_0x540464(_0x1c2d51)||_0x1c2d51);return _0x1c2d51;},_0x4a2d27=(_0x49f576,_0x3afc2f)=>(_0x570749,_0x1852fd)=>_0x3afc2f(_0x570749,_0x1852fd,_0x49f576);_0x40e363[_0x5bfbbf(0x37e)]=class extends _0x593b66[_0x5bfbbf(0x27d)]{constructor(_0x30a5dc,_0x4a26f7,_0x3363e2,_0x1ad4b9,_0x525211){const _0x3b0196=_0x5bfbbf;super(),this['_urlService']=_0x30a5dc,this[_0x3b0196(0x1db)]=_0x4a26f7,this[_0x3b0196(0x2d7)]=_0x3363e2,this[_0x3b0196(0x1fc)]=_0x1ad4b9,_0x525211?_0x525211==null||_0x525211[_0x3b0196(0x38b)]()['then'](()=>this['_init']()):(this['_logService'][_0x3b0196(0x246)](_0x3b0196(0x2cd),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x3b0196(0x1f9)]());}async[_0x5bfbbf(0x1f9)](){const _0x3fd885=_0x5bfbbf,_0x458aac=this['_urlService'][_0x3fd885(0x242)](_0x3fd885(0x40d)),_0xc5a277=this[_0x3fd885(0x1f8)][_0x3fd885(0x242)](_0x3fd885(0x3ce)),_0x5e302f=this[_0x3fd885(0x1f8)][_0x3fd885(0x242)](_0x3fd885(0x1a5));if(!_0x458aac||!_0xc5a277){this[_0x3fd885(0x1db)][_0x3fd885(0x246)](_0x3fd885(0x2cd),_0x3fd885(0x2cf));return;}const _0x50bbef=await this[_0x3fd885(0x1fc)][_0x3fd885(0x3c0)](_0x458aac,Number(_0xc5a277),_0x5e302f);_0x50bbef&&_0x50bbef instanceof _0x593b66[_0x3fd885(0x3f3)]&&this[_0x3fd885(0x2e5)](_0x50bbef);}async[_0x5bfbbf(0x2e5)](_0x59735c){const _0xb1b2c1=_0x5bfbbf;await this['_updateSubUnitFromURLParams'](_0x59735c),_0x59735c[_0xb1b2c1(0x373)][_0xb1b2c1(0x38f)](_0x104892['takeUntil'](this[_0xb1b2c1(0x35f)]))[_0xb1b2c1(0x32c)](_0x1934df=>{const _0x4fd123=_0xb1b2c1;_0x1934df&&this[_0x4fd123(0x22d)](_0x1934df);}),this['_urlService']['urlChange$'][_0xb1b2c1(0x38f)](_0x104892[_0xb1b2c1(0x1ee)](this[_0xb1b2c1(0x35f)]))[_0xb1b2c1(0x32c)](()=>this[_0xb1b2c1(0x2b1)](_0x59735c));}[_0x5bfbbf(0x22d)](_0xd2b5b9,_0x5f391c=!0x1){const _0x32a0d9=_0x5bfbbf,_0x1ec35d=this[_0x32a0d9(0x1f8)][_0x32a0d9(0x242)](_0x32a0d9(0x1a5));_0xd2b5b9[_0x32a0d9(0x3c6)]()!==_0x1ec35d&&this[_0x32a0d9(0x1f8)][_0x32a0d9(0x192)](_0x32a0d9(0x1a5),_0xd2b5b9['getSheetId'](),_0x5f391c);}async[_0x5bfbbf(0x2b1)](_0x4db231){const _0x3c2695=_0x5bfbbf;var _0x30501a;const _0xfdbef4=this[_0x3c2695(0x1f8)][_0x3c2695(0x242)](_0x3c2695(0x1a5));if(!_0xfdbef4||!_0x4db231['getSheetBySheetId'](_0xfdbef4)){const _0x287994=_0x4db231[_0x3c2695(0x36a)]()[0x0],_0xa9196d=_0x4db231[_0x3c2695(0x305)](_0x287994);if(!_0xa9196d)return;this['_updateURLWithCurrentState'](_0xa9196d,!0x0),await this['_commandService']['executeCommand'](_0x51415f[_0x3c2695(0x189)]['id'],{'unitId':_0x4db231['getUnitId'](),'subUnitId':_0x287994});return;}((_0x30501a=_0x4db231['getActiveSheet']())==null?void 0x0:_0x30501a[_0x3c2695(0x3c6)]())!==_0xfdbef4&&await this[_0x3c2695(0x2d7)]['executeCommand'](_0x51415f[_0x3c2695(0x189)]['id'],{'unitId':_0x4db231[_0x3c2695(0x33c)](),'subUnitId':_0xfdbef4});}},_0x40e363['CollaborationDataLoaderController']=_0x10075b([_0x4a2d27(0x0,_0xb3ebfa),_0x4a2d27(0x1,_0x593b66['ILogService']),_0x4a2d27(0x2,_0x593b66[_0x5bfbbf(0x273)]),_0x4a2d27(0x3,_0x593b66[_0x5bfbbf(0x230)](_0x555a80[_0x5bfbbf(0x3f9)])),_0x4a2d27(0x4,_0x593b66['Optional'](_0x53a420[_0x5bfbbf(0x3cb)]))],_0x40e363['CollaborationDataLoaderController']);var _0x45e1f5=Object[_0x5bfbbf(0x3ca)],_0x3d2720=(_0x4c4334,_0x2dbd13,_0x40a8db,_0x325312)=>{const _0x4cad58=_0x5bfbbf;for(var _0xb77956=_0x325312>0x1?void 0x0:_0x325312?_0x45e1f5(_0x2dbd13,_0x40a8db):_0x2dbd13,_0x7f8850=_0x4c4334[_0x4cad58(0x3bb)]-0x1,_0x4eba2c;_0x7f8850>=0x0;_0x7f8850--)(_0x4eba2c=_0x4c4334[_0x7f8850])&&(_0xb77956=_0x4eba2c(_0xb77956)||_0xb77956);return _0xb77956;},_0x43317e=(_0x5d00f0,_0x1ec834)=>(_0x163d28,_0x33135b)=>_0x1ec834(_0x163d28,_0x33135b,_0x5d00f0);let _0x4329a2=class{constructor(_0x1d6f24,_0x4b8b5d,_0x10a3e8){const _0x4e11b3=_0x5bfbbf;this[_0x4e11b3(0x295)]=_0x1d6f24,this[_0x4e11b3(0x404)]=_0x4b8b5d,this[_0x4e11b3(0x2be)]=_0x10a3e8;}[_0x5bfbbf(0x21c)](_0x9b1973){const _0x3da8a1=_0x5bfbbf;this[_0x3da8a1(0x23f)](_0x9b1973),this[_0x3da8a1(0x34b)](_0x9b1973);}[_0x5bfbbf(0x221)](_0x36594b){const _0x2f185b=_0x5bfbbf,{unitID:_0x159272}=_0x36594b,_0x26d2b2=this[_0x2f185b(0x2be)][_0x2f185b(0x236)](_0x159272)[_0x2f185b(0x29e)](_0xca2527[_0x2f185b(0x2a5)]),{redoCache:_0x1ef9d7}=_0x26d2b2['getUndoRedoMutationParamsCache']();if(_0x1ef9d7[_0x2f185b(0x3bb)]===0x0)return _0x36594b;let _0x48f1b3=_0x593b66[_0x2f185b(0x182)][_0x2f185b(0x3af)](_0x36594b[_0x2f185b(0x300)][0x0]);for(let _0x3afe98=0x0;_0x3afe98<_0x1ef9d7[_0x2f185b(0x3bb)];_0x3afe98++){const _0x4ab269={'id':_0x2f185b(0x369),'params':{..._0x1ef9d7[_0x3afe98]}},_0x22385c=this['_transformService'][_0x2f185b(0x285)](_0x48f1b3,_0x4ab269,!0x1);if(_0x5cbb60[_0x2f185b(0x2da)](_0x22385c))throw _0x22385c[_0x2f185b(0x1a9)];_0x48f1b3=_0x22385c[_0x2f185b(0x1c0)];}return{..._0x593b66['Tools'][_0x2f185b(0x3af)](_0x36594b),'mutations':[_0x48f1b3]};}[_0x5bfbbf(0x23f)](_0x165d0d){const _0x103740=_0x5bfbbf,{unitID:_0x42349f}=_0x165d0d,_0x2bdc8d=this['_renderManagerService']['getRenderById'](_0x42349f)['with'](_0xca2527[_0x103740(0x2a5)]),{undoCache:_0x418165,redoCache:_0x1923ed}=_0x2bdc8d[_0x103740(0x3be)]();if(_0x418165[_0x103740(0x3bb)]===0x0||_0x1923ed[_0x103740(0x3bb)]===0x0)return;const _0xf8e77a=[],_0xa37cff=[];let _0x45ee57=_0x593b66[_0x103740(0x182)]['deepClone'](_0x165d0d[_0x103740(0x300)][0x0]),_0x5a99df=_0x593b66[_0x103740(0x182)][_0x103740(0x3af)](_0x165d0d[_0x103740(0x300)][0x0]);for(let _0x146ecc=_0x418165[_0x103740(0x3bb)]-0x1;_0x146ecc>=0x0;_0x146ecc--){const _0x3a6f3d={'id':'doc.mutation.rich-text-editing','params':{..._0x418165[_0x146ecc]}},_0x40234b={'id':_0x103740(0x369),'params':{..._0x1923ed[_0x146ecc]}},_0x2df4f0=this[_0x103740(0x404)][_0x103740(0x285)](_0x45ee57,_0x3a6f3d,!0x1),_0x30fe3a=this[_0x103740(0x404)][_0x103740(0x285)](_0x5a99df,_0x40234b,!0x1);if(_0x5cbb60[_0x103740(0x2da)](_0x2df4f0))throw _0x2df4f0[_0x103740(0x1a9)];if(_0x5cbb60[_0x103740(0x2da)](_0x30fe3a))throw _0x30fe3a['error'];_0xf8e77a[_0x103740(0x188)](_0x2df4f0['m2Prime'][_0x103740(0x37a)]),_0xa37cff[_0x103740(0x188)](_0x30fe3a['m2Prime'][_0x103740(0x37a)]),_0x45ee57=_0x2df4f0[_0x103740(0x1c0)],_0x5a99df=_0x30fe3a[_0x103740(0x1c0)];}_0x2bdc8d[_0x103740(0x2c9)]({'undoCache':_0xf8e77a,'redoCache':_0xa37cff});}[_0x5bfbbf(0x34b)](_0x3b100b){const _0x5d17e1=_0x5bfbbf,{unitID:_0x208591}=_0x3b100b,_0x2784b2=this[_0x5d17e1(0x2be)]['getRenderById'](_0x208591)[_0x5d17e1(0x29e)](_0xca2527['DocIMEInputManagerService']),_0x14fd90=_0x2784b2[_0x5d17e1(0x2f4)]();if(_0x14fd90==null)return;const _0x429572=[{'id':_0x5d17e1(0x369),'params':{'unitId':_0x3b100b[_0x5d17e1(0x20a)],'actions':null,'textRanges':[_0x14fd90]}}],_0x177e4f=this[_0x5d17e1(0x404)]['transformMutationsWithChangeset'](_0x3b100b,_0x429572);if(!_0x5cbb60['isTransformMutationsWithChangesetSuccess'](_0x177e4f))throw _0x177e4f[_0x5d17e1(0x1a9)];const _0x1a7f1b=_0x177e4f[_0x5d17e1(0x30b)][0x0][_0x5d17e1(0x37a)]['textRanges'];Array[_0x5d17e1(0x3a5)](_0x1a7f1b)&&_0x1a7f1b[_0x5d17e1(0x3bb)]&&_0x2784b2[_0x5d17e1(0x34f)](_0x1a7f1b[0x0]);}};_0x4329a2=_0x3d2720([_0x43317e(0x0,_0x593b66['Inject'](_0x593b66[_0x5bfbbf(0x3df)])),_0x43317e(0x1,_0x5cbb60[_0x5bfbbf(0x277)]),_0x43317e(0x2,_0x302994['IRenderManagerService'])],_0x4329a2);var _0x275346=Object[_0x5bfbbf(0x3ca)],_0xb1807b=(_0x5c01c0,_0x104296,_0x15b48a,_0x160432)=>{const _0x42f9d9=_0x5bfbbf;for(var _0x4b0417=_0x160432>0x1?void 0x0:_0x160432?_0x275346(_0x104296,_0x15b48a):_0x104296,_0x3cb1ac=_0x5c01c0[_0x42f9d9(0x3bb)]-0x1,_0x9274ae;_0x3cb1ac>=0x0;_0x3cb1ac--)(_0x9274ae=_0x5c01c0[_0x3cb1ac])&&(_0x4b0417=_0x9274ae(_0x4b0417)||_0x4b0417);return _0x4b0417;},_0x158244=(_0x3b4310,_0x49bc03)=>(_0x48b32f,_0x2e74fa)=>_0x49bc03(_0x48b32f,_0x2e74fa,_0x3b4310);let _0x9f62cb=class{constructor(_0x13587e,_0x176735,_0x1e8666){const _0x58d0fa=_0x5bfbbf;this[_0x58d0fa(0x295)]=_0x13587e,this[_0x58d0fa(0x404)]=_0x176735,this[_0x58d0fa(0x384)]=_0x1e8666;}[_0x5bfbbf(0x406)](_0x1ad3de){const _0x189918=_0x5bfbbf;this[_0x189918(0x3d9)](_0x1ad3de);}[_0x5bfbbf(0x221)](_0x223ac6){const _0x2fb099=_0x5bfbbf,{unitID:_0xba87a4}=_0x223ac6,{collaboration:_0x1dd43f}=this['_docStateChangeManagerService'][_0x2fb099(0x2d8)](_0xba87a4);if(_0x1dd43f[_0x2fb099(0x3bb)]===0x0)return _0x223ac6;let _0x10dbf2=_0x593b66['Tools'][_0x2fb099(0x3af)](_0x223ac6['mutations'][0x0]);for(let _0x5383f9=0x0;_0x5383f9<_0x1dd43f['length'];_0x5383f9++){const _0x48a81d={'id':_0x2fb099(0x369),'params':{'unitId':_0x1dd43f[_0x5383f9][_0x2fb099(0x3b7)],..._0x1dd43f[_0x5383f9]['redoState']}},_0x18a0fb=this[_0x2fb099(0x404)][_0x2fb099(0x285)](_0x10dbf2,_0x48a81d,!0x1);if(_0x5cbb60[_0x2fb099(0x2da)](_0x18a0fb))throw _0x18a0fb['error'];_0x10dbf2=_0x18a0fb['m1Prime'];}return{..._0x593b66[_0x2fb099(0x182)][_0x2fb099(0x3af)](_0x223ac6),'mutations':[_0x10dbf2]};}[_0x5bfbbf(0x3d9)](_0x436bd8){const _0x1ecfa5=_0x5bfbbf,{unitID:_0x373557}=_0x436bd8,{history:_0x112ed5,collaboration:_0xd4ff35}=this['_docStateChangeManagerService']['getStateCache'](_0x373557);if(_0x112ed5['length']===0x0&&_0xd4ff35[_0x1ecfa5(0x3bb)]===0x0)return;const _0x2372aa=[],_0x26f446=[];let _0x1e3106=_0x593b66['Tools'][_0x1ecfa5(0x3af)](_0x436bd8[_0x1ecfa5(0x300)][0x0]),_0x2392b4=_0x593b66[_0x1ecfa5(0x182)][_0x1ecfa5(0x3af)](_0x436bd8[_0x1ecfa5(0x300)][0x0]);for(let _0x181da1=_0x112ed5['length']-0x1;_0x181da1>=0x0;_0x181da1--){const _0x34b3ee={'id':_0x1ecfa5(0x369),'params':{'unitId':_0x112ed5[_0x181da1][_0x1ecfa5(0x3b7)],..._0x112ed5[_0x181da1][_0x1ecfa5(0x37f)]}},_0x140233={'id':_0x1ecfa5(0x369),'params':{'unitId':_0x112ed5[_0x181da1][_0x1ecfa5(0x3b7)],..._0x112ed5[_0x181da1][_0x1ecfa5(0x2e1)]}},_0x884787=this[_0x1ecfa5(0x404)][_0x1ecfa5(0x285)](_0x1e3106,_0x34b3ee,!0x1),_0x3b6273=this['_transformService'][_0x1ecfa5(0x285)](_0x2392b4,_0x140233,!0x1);if(_0x5cbb60[_0x1ecfa5(0x2da)](_0x884787))throw _0x884787[_0x1ecfa5(0x1a9)];if(_0x5cbb60[_0x1ecfa5(0x2da)](_0x3b6273))throw _0x3b6273[_0x1ecfa5(0x1a9)];_0x2372aa[_0x1ecfa5(0x188)]({..._0x112ed5[_0x181da1],'undoState':_0x884787['m2Prime']['params'],'redoState':_0x3b6273[_0x1ecfa5(0x30b)][_0x1ecfa5(0x37a)]}),_0x1e3106=_0x884787['m1Prime'],_0x2392b4=_0x3b6273[_0x1ecfa5(0x1c0)];}_0x1e3106=_0x593b66[_0x1ecfa5(0x182)][_0x1ecfa5(0x3af)](_0x436bd8[_0x1ecfa5(0x300)][0x0]),_0x2392b4=_0x593b66[_0x1ecfa5(0x182)][_0x1ecfa5(0x3af)](_0x436bd8[_0x1ecfa5(0x300)][0x0]);for(let _0x3dced8=_0xd4ff35[_0x1ecfa5(0x3bb)]-0x1;_0x3dced8>=0x0;_0x3dced8--){const _0x3ec4d6={'id':_0x1ecfa5(0x369),'params':{'unitId':_0xd4ff35[_0x3dced8][_0x1ecfa5(0x3b7)],..._0xd4ff35[_0x3dced8][_0x1ecfa5(0x37f)]}},_0x4d6e31={'id':_0x1ecfa5(0x369),'params':{'unitId':_0xd4ff35[_0x3dced8][_0x1ecfa5(0x3b7)],..._0xd4ff35[_0x3dced8][_0x1ecfa5(0x2e1)]}},_0xd82286=this[_0x1ecfa5(0x404)][_0x1ecfa5(0x285)](_0x1e3106,_0x3ec4d6,!0x1),_0x325a5e=this[_0x1ecfa5(0x404)]['transformMutation'](_0x2392b4,_0x4d6e31,!0x1);if(_0x5cbb60[_0x1ecfa5(0x2da)](_0xd82286))throw _0xd82286['error'];if(_0x5cbb60['isTransformMutationFailure'](_0x325a5e))throw _0x325a5e[_0x1ecfa5(0x1a9)];_0x26f446[_0x1ecfa5(0x188)]({..._0xd4ff35[_0x3dced8],'undoState':_0xd82286['m2Prime'][_0x1ecfa5(0x37a)],'redoState':_0x325a5e['m2Prime']['params']}),_0x1e3106=_0xd82286[_0x1ecfa5(0x1c0)],_0x2392b4=_0x325a5e[_0x1ecfa5(0x1c0)];}this['_docStateChangeManagerService'][_0x1ecfa5(0x28c)](_0x373557,{'history':_0x2372aa,'collaboration':_0x26f446});}};_0x9f62cb=_0xb1807b([_0x158244(0x0,_0x593b66[_0x5bfbbf(0x230)](_0x593b66[_0x5bfbbf(0x3df)])),_0x158244(0x1,_0x5cbb60[_0x5bfbbf(0x277)]),_0x158244(0x2,_0x593b66['Inject'](_0xca2527[_0x5bfbbf(0x184)]))],_0x9f62cb);var _0x463c92=Object[_0x5bfbbf(0x3ca)],_0x28dfff=(_0xe33bd7,_0x57b969,_0xe161cc,_0x29b012)=>{const _0xae4217=_0x5bfbbf;for(var _0x2faf12=_0x29b012>0x1?void 0x0:_0x29b012?_0x463c92(_0x57b969,_0xe161cc):_0x57b969,_0x4c6698=_0xe33bd7[_0xae4217(0x3bb)]-0x1,_0x1cc96f;_0x4c6698>=0x0;_0x4c6698--)(_0x1cc96f=_0xe33bd7[_0x4c6698])&&(_0x2faf12=_0x1cc96f(_0x2faf12)||_0x2faf12);return _0x2faf12;},_0x189c22=(_0x391469,_0x307e6a)=>(_0x5df72a,_0xc089ca)=>_0x307e6a(_0x5df72a,_0xc089ca,_0x391469);let _0x24865b=class{constructor(_0x3a04d7,_0xeff133){const _0x1cd5f8=_0x5bfbbf;this['_injector']=_0x3a04d7,this[_0x1cd5f8(0x404)]=_0xeff133;}['transformSelections'](_0x301804){const _0x51e9a1=_0x5bfbbf;var _0x4d770d;const _0x11076a=this[_0x51e9a1(0x295)][_0x51e9a1(0x360)](_0x54676e[_0x51e9a1(0x2b7)]),_0x30bad2=(_0x4d770d=_0x11076a[_0x51e9a1(0x1e4)]())!=null?_0x4d770d:[];if(_0x30bad2[_0x51e9a1(0x3bb)]===0x0)return;const _0x4e64b8=_0x301804[_0x51e9a1(0x20a)],_0x169353=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4e64b8,'actions':null,'textRanges':_0x30bad2}}],_0x218c53=this['_transformService'][_0x51e9a1(0x19e)](_0x301804,_0x169353);if(!_0x5cbb60[_0x51e9a1(0x30d)](_0x218c53))throw _0x218c53[_0x51e9a1(0x1a9)];const _0x5a244a=_0x218c53['m2Prime'][0x0]['params'][_0x51e9a1(0x1b5)];Array['isArray'](_0x5a244a)&&_0x5a244a[_0x51e9a1(0x3bb)]&&_0x11076a[_0x51e9a1(0x3e2)](_0x5a244a,{'unitId':_0x4e64b8,'subUnitId':_0x4e64b8},!0x1);}};_0x24865b=_0x28dfff([_0x189c22(0x0,_0x593b66['Inject'](_0x593b66[_0x5bfbbf(0x3df)])),_0x189c22(0x1,_0x5cbb60[_0x5bfbbf(0x277)])],_0x24865b);var _0x382410=Object[_0x5bfbbf(0x3ca)],_0x5b207b=(_0x24faf2,_0x231d24,_0x342111,_0x316a86)=>{for(var _0x4cda3b=_0x316a86>0x1?void 0x0:_0x316a86?_0x382410(_0x231d24,_0x342111):_0x231d24,_0x4faada=_0x24faf2['length']-0x1,_0x918a73;_0x4faada>=0x0;_0x4faada--)(_0x918a73=_0x24faf2[_0x4faada])&&(_0x4cda3b=_0x918a73(_0x4cda3b)||_0x4cda3b);return _0x4cda3b;},_0x2d7293=(_0x1627d9,_0x1d18b0)=>(_0x33197a,_0x3d5cff)=>_0x1d18b0(_0x33197a,_0x3d5cff,_0x1627d9);let _0x19c564=class extends _0x593b66[_0x5bfbbf(0x289)]{constructor(_0x25ba80,_0xd37a38,_0x465238,_0x5a65f8,_0x4a8e46,_0x4eb950,_0xfc41d,_0x44b324){const _0x2d95f6=_0x5bfbbf;super(),_0x199c2f(this,_0x2d95f6(0x1d6),new _0x104892[(_0x2d95f6(0x23b))](_0x555a80['CollaborationStatus'][_0x2d95f6(0x2aa)])),(this[_0x2d95f6(0x384)]=_0x25ba80,this['_collaborationController']=_0xd37a38,this[_0x2d95f6(0x346)]=_0x465238,this['_docTransformStateCacheService']=_0x5a65f8,this[_0x2d95f6(0x315)]=_0x4a8e46,this['_docSyncEditingCollabCursorService']=_0x4eb950,this['_messageService']=_0xfc41d,this[_0x2d95f6(0x2cc)]=_0x44b324,this['_initEntityListener']());}[_0x5bfbbf(0x2f0)](){const _0x4f833e=_0x5bfbbf;this[_0x4f833e(0x282)](this[_0x4f833e(0x238)][_0x4f833e(0x408)][_0x4f833e(0x32c)](_0xe6cca7=>{const _0x23ca3f=_0x4f833e,_0x575a52=this[_0x23ca3f(0x384)][_0x23ca3f(0x212)][_0x23ca3f(0x32c)](_0x2279c4=>{const _0x40a712=_0x23ca3f;if(_0x2279c4==null)return;const {unitId:_0x315803,redoState:_0x70021a,commandId:_0x5f8be3}=_0x2279c4;if(_0x315803!==_0xe6cca7[_0x40a712(0x20a)])return;const _0x435cf8={'id':_0x5f8be3,'type':_0x593b66[_0x40a712(0x1ac)][_0x40a712(0x259)],'params':{'unitId':_0x315803,'actions':_0x70021a[_0x40a712(0x40a)],'textRanges':null}};_0xe6cca7[_0x40a712(0x1f2)](_0x435cf8);});if(_0xe6cca7[_0x23ca3f(0x282)](_0x575a52),_0xe6cca7 instanceof _0x555a80[_0x23ca3f(0x2ae)]){const _0x439695={'onTransformIME':_0x78b662=>this[_0x23ca3f(0x346)][_0x23ca3f(0x21c)](_0x78b662),'onTransformState':_0x57abcb=>this['_docTransformStateCacheService'][_0x23ca3f(0x406)](_0x57abcb),'onTransformSelections':_0x5170d6=>this[_0x23ca3f(0x315)][_0x23ca3f(0x407)](_0x5170d6),'onSyncEditingCollabCursor':_0x3b433b=>this['_docSyncEditingCollabCursorService'][_0x23ca3f(0x39d)](_0x3b433b),'onTransformRemoteChangesetByIMECache':_0x248633=>this[_0x23ca3f(0x346)][_0x23ca3f(0x221)](_0x248633),'onTransformRemoteChangesetByStateCache':_0x25c9d5=>this[_0x23ca3f(0x351)][_0x23ca3f(0x221)](_0x25c9d5)};_0xe6cca7[_0x23ca3f(0x208)](_0x439695);}}));}};_0x19c564=_0x5b207b([_0x2d7293(0x0,_0x593b66[_0x5bfbbf(0x230)](_0xca2527['DocStateChangeManagerService'])),_0x2d7293(0x1,_0x593b66[_0x5bfbbf(0x230)](_0x555a80[_0x5bfbbf(0x3d5)])),_0x2d7293(0x2,_0x593b66[_0x5bfbbf(0x230)](_0x4329a2)),_0x2d7293(0x3,_0x593b66['Inject'](_0x9f62cb)),_0x2d7293(0x4,_0x593b66[_0x5bfbbf(0x230)](_0x24865b)),_0x2d7293(0x5,_0x593b66[_0x5bfbbf(0x230)](_0x7e6def)),_0x2d7293(0x6,_0x2965e2[_0x5bfbbf(0x357)]),_0x2d7293(0x7,_0x593b66[_0x5bfbbf(0x230)](_0x593b66[_0x5bfbbf(0x35a)]))],_0x19c564);var _0x1acc0b=Object[_0x5bfbbf(0x3ca)],_0x4e3fb8=(_0x4b3211,_0x25f17e,_0x5bf5c9,_0x3f357d)=>{const _0x5e94d2=_0x5bfbbf;for(var _0x168f26=_0x3f357d>0x1?void 0x0:_0x3f357d?_0x1acc0b(_0x25f17e,_0x5bf5c9):_0x25f17e,_0x4970ee=_0x4b3211[_0x5e94d2(0x3bb)]-0x1,_0x4c7f47;_0x4970ee>=0x0;_0x4970ee--)(_0x4c7f47=_0x4b3211[_0x4970ee])&&(_0x168f26=_0x4c7f47(_0x168f26)||_0x168f26);return _0x168f26;},_0x5b1d23=(_0x7d9a1d,_0x524154)=>(_0x1bf048,_0x5717d1)=>_0x524154(_0x1bf048,_0x5717d1,_0x7d9a1d);let _0x503591=class extends _0x593b66[_0x5bfbbf(0x289)]{constructor(_0x1ed857,_0x2fac53,_0x17eed1){const _0x3e0079=_0x5bfbbf;super(),_0x199c2f(this,_0x3e0079(0x26b),new Map()),_0x199c2f(this,_0x3e0079(0x219),new Map()),_0x199c2f(this,'_disabled',!0x1),(this[_0x3e0079(0x35b)]=_0x1ed857,this[_0x3e0079(0x339)]=_0x2fac53,this['_revisionService']=_0x17eed1);}['disableLocalCache'](){this['_disabled']=!0x0;}[_0x5bfbbf(0x203)](){const _0x350764=_0x5bfbbf;this[_0x350764(0x387)]=!0x1;}get[_0x5bfbbf(0x1ae)](){return this['_saveTaskMap'];}['dispose'](){const _0x429cf0=_0x5bfbbf;this[_0x429cf0(0x252)]()[_0x429cf0(0x1de)](()=>super[_0x429cf0(0x202)]());}async[_0x5bfbbf(0x415)](_0x1c9acb){const _0x1eac78=_0x5bfbbf;return this['_disabled']?null:this[_0x1eac78(0x339)][_0x1eac78(0x1e1)](_0x555a80[_0x1eac78(0x2d0)](_0x1c9acb));}async[_0x5bfbbf(0x374)](_0x2ae3af,_0x4de574){const _0x1eae5b=_0x5bfbbf;return!!this[_0x1eae5b(0x339)][_0x1eae5b(0x330)](_0x2ae3af,_0x4de574);}[_0x5bfbbf(0x22f)](_0x283758,_0x4eed53,_0x2cf063,_0x16b977){const _0x26c096=_0x5bfbbf,_0x1d6167=this[_0x26c096(0x3c4)][_0x26c096(0x30c)](_0x283758);this[_0x26c096(0x26b)][_0x26c096(0x1d5)](_0x283758,{'unitID':_0x283758,'type':_0x4eed53,'awaitingChangeset':_0x2cf063,'mutations':_0x16b977,'rev':_0x1d6167}),this[_0x26c096(0x219)]['has'](_0x283758)||this['_scheduleSaving'](_0x283758);}[_0x5bfbbf(0x3b5)](_0xfa1e4){const _0x49a511=_0x5bfbbf,_0x4839df=this[_0x49a511(0x223)]();_0x4839df===0x0?this[_0x49a511(0x288)](_0xfa1e4):this['_saveTaskMap'][_0x49a511(0x1d5)](_0xfa1e4,setTimeout(()=>this['_saveCache'](_0xfa1e4),_0x4839df));}[_0x5bfbbf(0x223)](){const _0xee0226=_0x5bfbbf;var _0x24398a;return(_0x24398a=this[_0xee0226(0x35b)][_0xee0226(0x28a)](_0x555a80[_0xee0226(0x25f)]))!=null?_0x24398a:_0x555a80[_0xee0226(0x1ba)];}[_0x5bfbbf(0x288)](_0xe6da8e){const _0x4f9292=_0x5bfbbf,_0x2854c7=this[_0x4f9292(0x219)][_0x4f9292(0x360)](_0xe6da8e);return _0x2854c7!==void 0x0&&window[_0x4f9292(0x32a)](_0x2854c7),this[_0x4f9292(0x339)]['setItem'](_0x555a80[_0x4f9292(0x2d0)](_0xe6da8e),this[_0x4f9292(0x26b)][_0x4f9292(0x360)](_0xe6da8e))[_0x4f9292(0x1de)](()=>this[_0x4f9292(0x219)][_0x4f9292(0x3a7)](_0xe6da8e));}async['exhaustSavingTask'](){const _0x2c5b65=_0x5bfbbf,_0x3a8990=[];this[_0x2c5b65(0x219)][_0x2c5b65(0x3b2)]((_0x55782d,_0x542881)=>{const _0x41d187=_0x2c5b65;window[_0x41d187(0x32a)](_0x55782d),_0x3a8990[_0x41d187(0x375)](this[_0x41d187(0x288)](_0x542881)[_0x41d187(0x1de)](()=>{const _0x393c82=_0x41d187;this[_0x393c82(0x219)][_0x393c82(0x3a7)](_0x542881);}));}),await Promise[_0x2c5b65(0x2f1)](_0x3a8990);}};_0x503591=_0x4e3fb8([_0x5b1d23(0x0,_0x593b66[_0x5bfbbf(0x1cf)]),_0x5b1d23(0x1,_0x593b66[_0x5bfbbf(0x344)]),_0x5b1d23(0x2,_0x593b66[_0x5bfbbf(0x230)](_0x5cbb60['RevisionService']))],_0x503591);class _0xd7d9ab extends _0x593b66[_0x5bfbbf(0x27d)]{constructor(){const _0x294f78=_0x5bfbbf;super(),_0x199c2f(this,'urlChange$'),this[_0x294f78(0x356)]=_0x104892[_0x294f78(0x25b)](window,_0x294f78(0x29d))['pipe'](_0x104892['takeUntil'](this[_0x294f78(0x35f)]),_0x104892['shareReplay'](0x1),_0x104892[_0x294f78(0x40f)](void 0x0));}['setParam'](_0x2c4dc0,_0x2d1f10,_0x33efa2=!0x1){const _0x1d5e30=_0x5bfbbf,_0xdaba97=new URL(window[_0x1d5e30(0x2f5)][_0x1d5e30(0x1c9)]);_0xdaba97[_0x1d5e30(0x24c)]['set'](_0x2c4dc0,_0x2d1f10),_0x33efa2?window[_0x1d5e30(0x3a3)][_0x1d5e30(0x201)]('','',_0xdaba97[_0x1d5e30(0x2e2)]()):window['history'][_0x1d5e30(0x3bc)]('','',_0xdaba97[_0x1d5e30(0x2e2)]());}[_0x5bfbbf(0x39a)](_0x316c73,_0x388649=!0x1){const _0x24d631=_0x5bfbbf,_0x5f1355=new URL(window[_0x24d631(0x2f5)][_0x24d631(0x1c9)]);_0x5f1355['searchParams']['delete'](_0x316c73),_0x388649?window[_0x24d631(0x3a3)]['replaceState']('','',_0x5f1355[_0x24d631(0x2e2)]()):window['history'][_0x24d631(0x3bc)]('','',_0x5f1355['toString']());}[_0x5bfbbf(0x242)](_0x5a4eb7){const _0x4417c1=_0x5bfbbf;var _0x254321;return(_0x254321=new URL(window[_0x4417c1(0x2f5)][_0x4417c1(0x1c9)])[_0x4417c1(0x24c)]['get'](_0x5a4eb7))!=null?_0x254321:void 0x0;}}var _0x29c056=Object['defineProperty'],_0x7a654f=Object[_0x5bfbbf(0x3ca)],_0x22e38f=(_0x1c7ed9,_0x3b48fe,_0x3ac825)=>_0x3b48fe in _0x1c7ed9?_0x29c056(_0x1c7ed9,_0x3b48fe,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3ac825}):_0x1c7ed9[_0x3b48fe]=_0x3ac825,_0x2df702=(_0x14cdb0,_0x44287f,_0x54637b,_0x3f65f6)=>{const _0x2247a9=_0x5bfbbf;for(var _0x35c5d3=_0x3f65f6>0x1?void 0x0:_0x3f65f6?_0x7a654f(_0x44287f,_0x54637b):_0x44287f,_0xfcd760=_0x14cdb0[_0x2247a9(0x3bb)]-0x1,_0xf54d1e;_0xfcd760>=0x0;_0xfcd760--)(_0xf54d1e=_0x14cdb0[_0xfcd760])&&(_0x35c5d3=_0xf54d1e(_0x35c5d3)||_0x35c5d3);return _0x35c5d3;},_0x179ae8=(_0x300c46,_0x5c2e14)=>(_0x2de33d,_0x4a827e)=>_0x5c2e14(_0x2de33d,_0x4a827e,_0x300c46),_0x227bb6=(_0x7ac1e6,_0x51b46b,_0x532566)=>_0x22e38f(_0x7ac1e6,_0x51b46b+'',_0x532566);const _0x506926=_0x5bfbbf(0x3f2);_0x40e363[_0x5bfbbf(0x1a0)]=class extends _0x593b66[_0x5bfbbf(0x239)]{constructor(_0x1489bc=_0x3e51f8,_0x51e429,_0x3a4944,_0x11f091){const _0x31421d=_0x5bfbbf;super(),this['_config']=_0x1489bc,this['_renderManagerService']=_0x51e429,this[_0x31421d(0x295)]=_0x3a4944,this[_0x31421d(0x35b)]=_0x11f091;const {..._0x593116}=_0x593b66[_0x31421d(0x3a6)]({},_0x3e51f8,this[_0x31421d(0x3de)]);this[_0x31421d(0x35b)][_0x31421d(0x237)](_0x1b6e59,_0x593116);}[_0x5bfbbf(0x402)](){this['_registerDependencies'](),this['_initDependencies']();}[_0x5bfbbf(0x38e)](){this['_registerRenderDependencies']();}[_0x5bfbbf(0x3c2)](){const _0x5c9ebb=_0x5bfbbf;var _0x4365c5;const _0x5a6651=[[_0x495577],[_0x24865b],[_0x4329a2],[_0x9f62cb],[_0x7e6def],[_0xb3ebfa,{'useClass':_0xd7d9ab}],[_0x5a7b97[_0x5c9ebb(0x2ed)],{'useClass':_0x5a7b97['WebSocketService']}],[_0x555a80[_0x5c9ebb(0x3bd)],{'useClass':_0x503591}],[_0x40e363[_0x5c9ebb(0x302)]],[_0x19c564],[_0x1f981a],[_0x5329c1],[_0x220228],[_0x40e363[_0x5c9ebb(0x37e)]]];_0x593b66[_0x5c9ebb(0x3dd)](this[_0x5c9ebb(0x295)],_0x593b66['mergeOverrideWithDependencies'](_0x5a6651,(_0x4365c5=this['_config'])==null?void 0x0:_0x4365c5[_0x5c9ebb(0x191)]));}['_registerRenderDependencies'](){const _0x40ed19=_0x5bfbbf;this[_0x40ed19(0x282)](this['_renderManagerService'][_0x40ed19(0x3ed)](_0x593b66['UniverInstanceType'][_0x40ed19(0x3ee)],[_0x3a6393])),this[_0x40ed19(0x282)](this[_0x40ed19(0x2be)][_0x40ed19(0x3ed)](_0x593b66[_0x40ed19(0x1d1)][_0x40ed19(0x21b)],[_0x462469]));}[_0x5bfbbf(0x1d8)](){const _0x496cf9=_0x5bfbbf;_0x593b66[_0x496cf9(0x25c)](this[_0x496cf9(0x295)],[[_0x5329c1],[_0x40e363[_0x496cf9(0x302)]],[_0x19c564],[_0x1f981a],[_0x40e363[_0x496cf9(0x37e)]]]);}},_0x227bb6(_0x40e363[_0x5bfbbf(0x1a0)],_0x5bfbbf(0x3d0),_0x506926),_0x40e363[_0x5bfbbf(0x1a0)]=_0x2df702([_0x593b66['DependentOn'](_0x555a80[_0x5bfbbf(0x18a)]),_0x179ae8(0x1,_0x302994['IRenderManagerService']),_0x179ae8(0x2,_0x593b66[_0x5bfbbf(0x230)](_0x593b66[_0x5bfbbf(0x3df)])),_0x179ae8(0x3,_0x593b66['IConfigService'])],_0x40e363[_0x5bfbbf(0x1a0)]);var _0x41cd8e=Object[_0x5bfbbf(0x3ca)],_0x267ae4=(_0x13fc0d,_0x2656dc,_0x3fb3bd,_0x121763)=>{const _0x39262f=_0x5bfbbf;for(var _0x172560=_0x121763>0x1?void 0x0:_0x121763?_0x41cd8e(_0x2656dc,_0x3fb3bd):_0x2656dc,_0x44c484=_0x13fc0d[_0x39262f(0x3bb)]-0x1,_0x4c012d;_0x44c484>=0x0;_0x44c484--)(_0x4c012d=_0x13fc0d[_0x44c484])&&(_0x172560=_0x4c012d(_0x172560)||_0x172560);return _0x172560;},_0xedf7f0=(_0x3b7746,_0x543678)=>(_0x5d7a78,_0x17dd6a)=>_0x543678(_0x5d7a78,_0x17dd6a,_0x3b7746);_0x40e363[_0x5bfbbf(0x272)]=class extends _0x555a80[_0x5bfbbf(0x3e1)]{constructor(_0x49e38f,_0x4e327e,_0x1c26c6,_0x47bb7b,_0x1981e2){super(_0x49e38f,_0x4e327e,_0x1c26c6,_0x47bb7b,_0x1981e2);}async[_0x5bfbbf(0x299)](_0x1eea46){const _0x30ff05=_0x5bfbbf,_0x78be94=await this[_0x30ff05(0x21a)](),_0x2bf950=this['_createSocketURL'](_0x1eea46,_0x78be94);return this[_0x30ff05(0x1dd)](_0x2bf950);}[_0x5bfbbf(0x1e7)](_0x563c8e,_0x6b58d3){const _0x7202c2=_0x5bfbbf,_0x46be9e=typeof window>'u'?new URL(_0x563c8e):new URL(_0x563c8e,window[_0x7202c2(0x2f5)][_0x7202c2(0x3cd)]);_0x46be9e['searchParams'][_0x7202c2(0x1d5)](_0x7202c2(0x3d8),_0x6b58d3);const _0x116336=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x7202c2(0x2f5)][_0x7202c2(0x328)]);return _0x116336[_0x7202c2(0x360)]('runId')&&_0x46be9e[_0x7202c2(0x24c)]['set'](_0x7202c2(0x411),_0x116336['get'](_0x7202c2(0x411))),_0x46be9e['toString']();}async[_0x5bfbbf(0x21a)](){const _0x460bda=_0x5bfbbf;var _0x1d3f4d,_0x55b91a,_0x1d6154;const _0x43d7da=this[_0x460bda(0x35b)][_0x460bda(0x28a)](_0x555a80[_0x460bda(0x1b9)]),_0x41f6dc=(_0x1d3f4d=_0x43d7da==null?void 0x0:_0x43d7da[_0x460bda(0x1e5)])!=null?_0x1d3f4d:_0x555a80['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x1d6154=(_0x55b91a=(await this[_0x460bda(0x260)][_0x460bda(0x360)](_0x41f6dc,{'headers':{'Content-Type':_0x460bda(0x353)}}))[_0x460bda(0x22c)])==null?void 0x0:_0x55b91a['ticket'])!=null?_0x1d6154:'';}},_0x40e363[_0x5bfbbf(0x272)]=_0x267ae4([_0xedf7f0(0x0,_0x593b66[_0x5bfbbf(0x230)](_0x593b66[_0x5bfbbf(0x3df)])),_0xedf7f0(0x1,_0x593b66[_0x5bfbbf(0x230)](_0x5a7b97[_0x5bfbbf(0x1d4)])),_0xedf7f0(0x2,_0x593b66[_0x5bfbbf(0x1cf)]),_0xedf7f0(0x3,_0x593b66[_0x5bfbbf(0x40b)]),_0xedf7f0(0x4,_0x5cbb60['ISnapshotServerService'])],_0x40e363[_0x5bfbbf(0x272)]);const _0x50e7e2=0x7530,_0x5ee22a='ACTIVE_UNIT_EVENT_CHANNEL';class _0x255dd2 extends _0x593b66['Disposable']{constructor(){const _0x41c2ad=_0x5bfbbf;super(),_0x199c2f(this,_0x41c2ad(0x2b9),_0x593b66[_0x41c2ad(0x214)]()),_0x199c2f(this,'_selfUnitIDs',new Set()),_0x199c2f(this,_0x41c2ad(0x264),new Map()),_0x199c2f(this,_0x41c2ad(0x417),null),_0x199c2f(this,_0x41c2ad(0x1c7),new Map()),_0x199c2f(this,_0x41c2ad(0x2fe),new Map()),this[_0x41c2ad(0x1f9)]();}[_0x5bfbbf(0x202)](){const _0x472664=_0x5bfbbf;super[_0x472664(0x202)](),this[_0x472664(0x1c7)][_0x472664(0x3b2)]((_0x2bced9,_0x39c46d)=>this['_removeClearOtherTimer'](_0x39c46d)),this[_0x472664(0x417)]&&window[_0x472664(0x1ab)](this[_0x472664(0x417)]);}[_0x5bfbbf(0x3f5)](_0xf88575){const _0x35e6e3=_0x5bfbbf;return this[_0x35e6e3(0x22a)](_0xf88575)[_0x35e6e3(0x38f)](_0x104892[_0x35e6e3(0x2b4)]());}['editingUnit'](_0x1d5957){const _0x5b6b96=_0x5bfbbf;this[_0x5b6b96(0x251)][_0x5b6b96(0x232)]===0x0&&this[_0x5b6b96(0x27c)](),this['_selfUnitIDs'][_0x5b6b96(0x313)](_0x1d5957),this[_0x5b6b96(0x243)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x1d5957],'isForwarded':!0x1});}[_0x5bfbbf(0x296)](_0x3bffa8){const _0x46aab9=_0x5bfbbf;this[_0x46aab9(0x251)]['delete'](_0x3bffa8),this['_selfUnitIDs'][_0x46aab9(0x232)]===0x0&&this[_0x46aab9(0x417)]&&window[_0x46aab9(0x1ab)](this[_0x46aab9(0x417)]);}[_0x5bfbbf(0x1f9)](){const _0x23b6a2=_0x5bfbbf;this[_0x23b6a2(0x282)](_0x593b66[_0x23b6a2(0x226)](_0x104892[_0x23b6a2(0x25b)](window,_0x23b6a2(0x3a8))[_0x23b6a2(0x32c)](_0x1327cd=>{const _0x4cfa56=_0x23b6a2;if(_0x1327cd[_0x4cfa56(0x2bd)]!==_0x5ee22a||!_0x1327cd[_0x4cfa56(0x350)])return;const _0x27dce0=JSON[_0x4cfa56(0x403)](_0x1327cd[_0x4cfa56(0x350)]);this[_0x4cfa56(0x254)](_0x27dce0);}))),window[_0x23b6a2(0x31f)](_0x23b6a2(0x183),()=>this[_0x23b6a2(0x243)]({'type':0x1,'memberID':this[_0x23b6a2(0x2b9)],'unitIDs':Array['from'](this['_selfUnitIDs'])}));}['_handleEvent'](_0x124cab){const _0x463b03=_0x5bfbbf;switch(_0x124cab['type']){case 0x0:this[_0x463b03(0x1aa)](_0x124cab);break;case 0x1:this[_0x463b03(0x1ec)](_0x124cab);break;case 0x2:this[_0x463b03(0x367)](_0x124cab);break;}}[_0x5bfbbf(0x1aa)](_0x3546b){const _0x28b01d=_0x5bfbbf,{unitIDs:_0x5d825f,memberID:_0x44220d,isForwarded:_0x49819a}=_0x3546b;_0x5d825f[_0x28b01d(0x3b2)](_0x49bb9d=>{const _0x4f8f2d=_0x28b01d;if(!_0x49819a&&this['_unitOnClients'][_0x4f8f2d(0x368)](_0x49bb9d)&&this[_0x4f8f2d(0x22a)](_0x49bb9d)[_0x4f8f2d(0x298)](_0x555a80['UnitStatus'][_0x4f8f2d(0x181)]),!this['_unitOnClients'][_0x4f8f2d(0x368)](_0x49bb9d)||!this[_0x4f8f2d(0x264)][_0x4f8f2d(0x360)](_0x49bb9d)[_0x4f8f2d(0x368)](_0x44220d)){const _0x59d0e8=this['_unitOnClients'][_0x4f8f2d(0x360)](_0x49bb9d)||new Set();_0x59d0e8[_0x4f8f2d(0x313)](_0x44220d),this[_0x4f8f2d(0x264)][_0x4f8f2d(0x1d5)](_0x49bb9d,_0x59d0e8),this[_0x4f8f2d(0x3ff)](_0x44220d);}}),_0x49819a||this[_0x28b01d(0x243)]({'type':0x0,'memberID':this[_0x28b01d(0x2b9)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5bfbbf(0x3ff)](_0x46da7a){const _0x5a2edc=_0x5bfbbf;this[_0x5a2edc(0x2a6)](_0x46da7a);const _0x1e2b47=window['setTimeout'](()=>{const _0x1e0ab3=_0x5a2edc;this[_0x1e0ab3(0x264)][_0x1e0ab3(0x3b2)](_0x3aa431=>{const _0x53a0fb=_0x1e0ab3;_0x3aa431[_0x53a0fb(0x3a7)](_0x46da7a);});},_0x50e7e2*0x2);this[_0x5a2edc(0x1c7)][_0x5a2edc(0x1d5)](_0x46da7a,_0x1e2b47);}[_0x5bfbbf(0x2a6)](_0x451415){const _0x4dfa95=_0x5bfbbf;if(this['_clearOtherTimers'][_0x4dfa95(0x368)](_0x451415)){const _0x891845=this[_0x4dfa95(0x1c7)]['get'](_0x451415);_0x891845&&window['clearTimeout'](_0x891845),this['_clearOtherTimers'][_0x4dfa95(0x1d5)](_0x451415,null);}}['_handleLeaveEvent'](_0x19d4b7){const _0x30b75e=_0x5bfbbf,{memberID:_0x285f72,unitIDs:_0x76e3a}=_0x19d4b7;_0x76e3a[_0x30b75e(0x3b2)](_0x7acc2e=>{const _0x49a62d=_0x30b75e;var _0x3c7a75;const _0x5d175e=this['_unitOnClients']['get'](_0x7acc2e);_0x5d175e&&(_0x5d175e['delete'](_0x285f72),(_0x3c7a75=this['_ensureSubject'](_0x7acc2e))==null||_0x3c7a75['next'](_0x5d175e['size']===0x0?_0x555a80[_0x49a62d(0x320)][_0x49a62d(0x24f)]:_0x555a80[_0x49a62d(0x320)][_0x49a62d(0x181)]));}),this[_0x30b75e(0x2a6)](_0x285f72);}[_0x5bfbbf(0x367)](_0x3ebf4a){const _0x19e90e=_0x5bfbbf;this[_0x19e90e(0x3ff)](_0x3ebf4a[_0x19e90e(0x3b4)]);}['_send'](_0x230410){const _0x56e444=_0x5bfbbf;localStorage[_0x56e444(0x330)](_0x5ee22a,JSON[_0x56e444(0x2b8)](_0x230410));}[_0x5bfbbf(0x27c)](){const _0x1ec274=_0x5bfbbf;this['_heartbeatTimer']=window[_0x1ec274(0x3f7)](()=>{const _0x455e1b=_0x1ec274;this['_send']({'type':0x2,'memberID':this[_0x455e1b(0x2b9)]});},_0x50e7e2);}['_ensureSubject'](_0x34c1cc){const _0x1a6514=_0x5bfbbf;return this[_0x1a6514(0x2fe)][_0x1a6514(0x368)](_0x34c1cc)||this[_0x1a6514(0x2fe)]['set'](_0x34c1cc,new _0x104892['BehaviorSubject'](_0x555a80[_0x1a6514(0x320)][_0x1a6514(0x24f)])),this[_0x1a6514(0x2fe)]['get'](_0x34c1cc);}}var _0xb9b729=(_0x43c279=>(_0x43c279[_0x43c279['UNDEFINED']=0x0]=_0x5bfbbf(0x400),_0x43c279[_0x43c279['OK']=0x1]='OK',_0x43c279[_0x43c279['INTERNAL_ERROR']=0x2]=_0x5bfbbf(0x1c5),_0x43c279[_0x43c279['PERMISSION_DENIED']=0x3]=_0x5bfbbf(0x2bb),_0x43c279[_0x43c279[_0x5bfbbf(0x3ab)]=0x4]=_0x5bfbbf(0x3ab),_0x43c279[_0x43c279[_0x5bfbbf(0x205)]=0x5]=_0x5bfbbf(0x205),_0x43c279[_0x43c279['ALREADY_EXISTS']=0x6]=_0x5bfbbf(0x2a4),_0x43c279[_0x43c279[_0x5bfbbf(0x2b0)]=0x7]='INVALID_ARGUMENT',_0x43c279[_0x43c279[_0x5bfbbf(0x271)]=0x8]=_0x5bfbbf(0x271),_0x43c279[_0x43c279[_0x5bfbbf(0x225)]=0x9]='COMPLETION_FINISHED',_0x43c279[_0x43c279[_0x5bfbbf(0x196)]=0xa]=_0x5bfbbf(0x196),_0x43c279[_0x43c279['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x5bfbbf(0x275),_0x43c279[_0x43c279['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]=_0x5bfbbf(0x1b7),_0x43c279[_0x43c279[_0x5bfbbf(0x3ef)]=0x1772]=_0x5bfbbf(0x3ef),_0x43c279[_0x43c279['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x5bfbbf(0x3cc),_0x43c279[_0x43c279[_0x5bfbbf(0x343)]=0x1b59]=_0x5bfbbf(0x343),_0x43c279[_0x43c279['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x5bfbbf(0x241),_0x43c279[_0x43c279['APPLY_REVISION_CONFILICT']=0x1b5b]='APPLY_REVISION_CONFILICT',_0x43c279[_0x43c279[_0x5bfbbf(0x2e6)]=0x1b5c]=_0x5bfbbf(0x2e6),_0x43c279[_0x43c279[_0x5bfbbf(0x340)]=0x1b5d]=_0x5bfbbf(0x340),_0x43c279[_0x43c279[_0x5bfbbf(0x333)]=0x1f41]=_0x5bfbbf(0x333),_0x43c279[_0x43c279[_0x5bfbbf(0x26f)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x43c279[_0x43c279[_0x5bfbbf(0x29a)]=0x232a]=_0x5bfbbf(0x29a),_0x43c279[_0x43c279[_0x5bfbbf(0x211)]=0x232b]='LICENSE_IMPORT_SIZE_EXCEEDED',_0x43c279[_0x43c279[_0x5bfbbf(0x337)]=0x232c]=_0x5bfbbf(0x337),_0x43c279[_0x43c279[_0x5bfbbf(0x2ba)]=0x232d]=_0x5bfbbf(0x2ba),_0x43c279[_0x43c279[_0x5bfbbf(0x194)]=0x2711]=_0x5bfbbf(0x194),_0x43c279[_0x43c279[_0x5bfbbf(0x371)]=0x2712]=_0x5bfbbf(0x371),_0x43c279[_0x43c279['YUUMI_RATE_OVER_LIMIT']=0x2713]=_0x5bfbbf(0x283),_0x43c279[_0x43c279[_0x5bfbbf(0x2ad)]=0x2714]=_0x5bfbbf(0x2ad),_0x43c279[_0x43c279[_0x5bfbbf(0x1b0)]=0x2af9]=_0x5bfbbf(0x1b0),_0x43c279[_0x43c279['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x5bfbbf(0x304),_0x43c279[_0x43c279[_0x5bfbbf(0x362)]=0x2ee2]=_0x5bfbbf(0x362),_0x43c279[_0x43c279[_0x5bfbbf(0x33d)]=0x2ee3]=_0x5bfbbf(0x33d),_0x43c279[_0x43c279[_0x5bfbbf(0x228)]=0x2ee4]=_0x5bfbbf(0x228),_0x43c279[_0x43c279[_0x5bfbbf(0x2e9)]=0x2ee5]=_0x5bfbbf(0x2e9),_0x43c279[_0x43c279['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x5bfbbf(0x2e0),_0x43c279[_0x43c279[_0x5bfbbf(0x388)]=0x32ca]=_0x5bfbbf(0x388),_0x43c279[_0x43c279['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x43c279[_0x43c279['UNRECOGNIZED']=-0x1]=_0x5bfbbf(0x206),_0x43c279))(_0xb9b729||{}),_0x5d43a8=Object[_0x5bfbbf(0x3ca)],_0x2a5f09=(_0x207932,_0x34657f,_0x287666,_0x51f09f)=>{const _0x48ded3=_0x5bfbbf;for(var _0xa8a647=_0x51f09f>0x1?void 0x0:_0x51f09f?_0x5d43a8(_0x34657f,_0x287666):_0x34657f,_0x1546fb=_0x207932[_0x48ded3(0x3bb)]-0x1,_0x5c9eaa;_0x1546fb>=0x0;_0x1546fb--)(_0x5c9eaa=_0x207932[_0x1546fb])&&(_0xa8a647=_0x5c9eaa(_0xa8a647)||_0xa8a647);return _0xa8a647;},_0x46d2bf=(_0x552b51,_0x455fea)=>(_0x300d23,_0x41dff9)=>_0x455fea(_0x300d23,_0x41dff9,_0x552b51);_0x40e363['RemoteUniscriptService']=class extends _0x593b66[_0x5bfbbf(0x289)]{constructor(_0x59566d,_0x287474,_0x50cd97){const _0x1c9da8=_0x5bfbbf;super(),this[_0x1c9da8(0x2eb)]=_0x59566d,this[_0x1c9da8(0x260)]=_0x287474,this[_0x1c9da8(0x35b)]=_0x50cd97;}async[_0x5bfbbf(0x2c0)](_0x2632c6,_0x2442e2,_0x2b3203,..._0x4ac1e9){const _0x49feb3=_0x5bfbbf;var _0x207ee3,_0x5a81d5,_0x2ae9d1,_0x46abfe;const _0x297a77=this[_0x49feb3(0x2eb)][_0x49feb3(0x31e)]();if(!_0x297a77)throw new Error(_0x49feb3(0x3b0));const _0x87631a=((_0x207ee3=this[_0x49feb3(0x35b)][_0x49feb3(0x28a)](_0x555a80['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x207ee3:_0x555a80[_0x49feb3(0x2d6)])+'/'+_0x2632c6+_0x49feb3(0x39c)+_0x2442e2,_0x4d0144=new URL(window[_0x49feb3(0x2f5)][_0x49feb3(0x1c9)]),_0x12f0a6={'scriptId':_0x2632c6,'runId':(_0x5a81d5=_0x4d0144[_0x49feb3(0x24c)][_0x49feb3(0x360)](_0x49feb3(0x411)))!=null?_0x5a81d5:'','function':_0x2442e2,'unitId':_0x297a77[_0x49feb3(0x33c)](),'argsOfFunction':JSON[_0x49feb3(0x2b8)](_0x4ac1e9),'invokeId':(_0x2ae9d1=_0x2b3203['invokeId'])!=null?_0x2ae9d1:'','executionId':(_0x46abfe=_0x2b3203[_0x49feb3(0x3c9)])!=null?_0x46abfe:''};try{const _0x489fb7=await this['_httpService']['post'](_0x87631a,{'body':_0x12f0a6});return _0x489fb7[_0x49feb3(0x22c)]['error']&&_0x489fb7[_0x49feb3(0x22c)]['error']['code']!==_0xb9b729['OK']?_0x49feb3(0x33a):_0x489fb7[_0x49feb3(0x22c)][_0x49feb3(0x234)];}catch{return _0x49feb3(0x33a);}}},_0x40e363[_0x5bfbbf(0x216)]=_0x2a5f09([_0x46d2bf(0x0,_0x593b66['IUniverInstanceService']),_0x46d2bf(0x1,_0x593b66[_0x5bfbbf(0x230)](_0x5a7b97[_0x5bfbbf(0x1d4)])),_0x46d2bf(0x2,_0x593b66[_0x5bfbbf(0x1cf)])],_0x40e363[_0x5bfbbf(0x216)]),_0x40e363[_0x5bfbbf(0x39e)]=_0xb4e4b9,_0x40e363[_0x5bfbbf(0x397)]=_0xb3ebfa,_0x40e363['SheetCollabCursorShape']=_0x16454e,_0x40e363[_0x5bfbbf(0x284)]=_0x255dd2,_0x40e363[_0x5bfbbf(0x213)]=_0xd7d9ab,Object[_0x5bfbbf(0x2b6)](_0x40e363,Symbol[_0x5bfbbf(0x37d)],{'value':'Module'});}));
|
|
1
|
+
function _0x5cbe(){const _0x3f64d3=['YUUMI_RATE_OVER_LIMIT','_handleJoinEvent','collabCursorState$','[RemoteUniscriptService]:\x20no\x20focused\x20unit','addClipboardHook','children','_hovered','defineProperty','Subject','origin','Unknown\x20user','ISnapshotServerService','_refRangeService','_transformHistoryAndStateStack','unshift','href','call','_lastPointer','NodePositionConvertToRectRange','requireSession','off-line-single_clip0_910_343','LocaleService','PERMISSION_DENIED','_docSyncEditingCollabCursorService','setParam','COLORS','runId','Rectangle','SOCKET_FAILED_RETRY','_docSkeleton','throttleTime','IDocClipboardService','_removeCollabCursors','CollaborationController','serializeRangeWithSheet','_hover','SHEET_VIEWPORT_KEY','MemberService','getStateCache','fillText','...','displayName','startRow','cursorInfo','onPointerLeave$','_commandService','show','runRefRangeMutations','actions','_cursorShapes','UNIVER_DOC','getRenderById','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','subUnitId','ENSURE_SNAPSHOT_EXECUTION','getOffsetConfig','DEFAULT_WS_SESSION_TICKET_URL','OTHER_CLIENT_EDITING','dispose','current','MUTATION','colorChannel1','send','_getSheetObject','M0\x200H16V16H0z','_sheetSkeletonManagerService','_drawTextRange','handleIRemoveCol','DisposableCollection','_entities','_scheduleHeartbeat','CollaborationEvent','invokeId','setAlpha','_unitStatus','getSkeleton','redoState','jsx','Module','values','YUUMI_URL_COL_OUT_OF_RANGE','_docSkeletonManagerService','getUnitStatus$','NO_OTHER_CLIENTS_EDITING','CollaborationSessionService','DocSelectionManagerService','UniverCollaborationClientUIPlugin','APPLY_REJECT','SessionStatus','endColumn','getUniverSheetInstance','asObservable','red300','column','FromArray','dispose$','className','_labelPosition','verdancy600','DocStateChangeManagerService','onlineStatusIcon','YUUMI_SUBSCRIPTION_NOT_FOUND','addEventListener','IMessageService','params','replaceState','clipPath','getCellPositionByOffset','find','collabStatus.offline','drawWith','entries','_ensureSubject','exports','session.will-retry','roomMembers','pushState','USER_NOT_INVITED_CODE','type','CommandType','INVITE_CODE_REQUIRED','sessionStatus$','_backgroundColor','on-line-single','SetTextSelectionsOperation','_heartbeatTimer','getCurrentUnitForType','getRangePointData','186744AkXcpz','touchDependencies','unload','createInstance','_id','UniverProCollaborationClient','roomMembers$','IUniverInstanceService','on-line-single_clip0_910_349','RemoteUniscriptService','getLocalCacheKey','JOIN_ROOM_FAILED','_transformUndoRedoStack','_dataLoaderService','reconnect','permission.title','transformIMECache','TRANSFORM_CHANGE_OBSERVABLE_TYPE','IRemoteInstanceService','_entityInit$','_httpService','collab-client.tooltip.reconnect','unitID','_registerRenderDependencies','svg','UniverNetwork','_revisionService','getCurrentSelections','OFFLINE','_online','forwardRef','React','EMAIL_HAS_BEEN_BOUND','UniverInstanceType','_updateCollabCursors','session.connection-failed','_scene','RemoveColCommandId','CollaborationUIEventService','UNDEFINED','getFocusedUnit','getCurrent','_updateURLWithCurrentState','_cursorInfo$','_initDependencies','currentColor','3043165vGuNfv','handleDeleteRangeMoveUp','onCommandExecuted','currentTheme$','_collaborationController','_colorAssignService','@univerjs/docs-ui','mutations','getValue','SetWorksheetActivateCommand','add','entityInit$','univer-online-status-icon','setActiveRange','transformMutation','getMember','_onCursorDelete','AWAITING_WITH_PENDING','DesktopCollaborationStatusDisplayController','getUndoRedoMutationParamsCache','_startDocCollabCursor','Optional','apply','extend','_drawRectRange','registerRenderModule','_hideTimer','_notificationService','_document','_init','CollaborationStatus','fillRule','DeleteRangeMoveLeftCommandId','UNIVER_SHEET','Warning','useRef','off-line-single','WebURLService','save','_transformService','_collabCursorController','isEditing','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','registerComponent','contains','TEXT_RANGE_LAYER_INDEX','_getSaveTimeout','LOGIN_FAILED','YUUMI_NO_CUBOID_FOR_QUESTION','pipe','max','@univerjs/engine-formula','_configService','event$','_initStatusComponent','url(#on-line-single_clip0_910_349)','0\x200\x2017\x2016','setShapeProps','InsertColCommandId','LICENSE_DISTRO_REJECTED','InsertRowCommandId','handleInsertCol','IURLService','INVITE_CODE_ALREADY_BOUND','_handleLeaveEvent','_range','InsertRangeMoveDownCommandId','currentSkeleton$','random','_logService','_anchor','takeUntil','_initEntityListener','@univerjs/design','useObservable','_assignedColors','UNRECOGNIZED','ColorKit','_getSessionTicket','rxjs/operators','evenodd','@univerjs/drawing','transformRemoteChangeset','_clearOtherTimers','size','_toggleOffline','addObject','saveOfflineData','Disposable','textRanges','fill','object','defs','_univerInstanceService','OTHER_CLIENTS_EDITING','INVALID_ARGUMENT','PENDING','use','font','DocIMEInputManagerService','_localCacheService','createElement','@univerjs/sheets','IConfigService','Failed','triggerDblclick','distinctUntilChanged','univerjs-icon\x20univerjs-icon-','getMergeData','1426078LJykdi','clearInterval','onPointerEnter$','executionId','transformMutationsWithChangeset','INVALID_INVITE_CODE','transform','has','NOT_FOUND','toDisposable','#fff','CollaborationStatusDisplay','onStarting','filter','sheetId','setConfig','univer-flex\x20univer-items-center','skeleton','UniverIcon','online','propertyIsEnumerable','SNAPSHOT_HAS_BEEN_REMOVED','CLOSE_ROOM','getParam','_memberService','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getActiveRange','RegularPolygon','from','_localeService','_themeService','_messageService','_saveCache','eventID','NOT_COLLAB','then','setItem','@univerjs/sheets-ui','onLocalMutation','engine','isTransformMutationFailure','_docStateChangeManagerService','_collaborationUIEventService','map','memberID','handleMoveRange','shareReplay','onPointerMove$','_collabCursorState$','collabStatus.synced','Shape','pluginName','UnitStatus','_render','MoveRangeCommandId','Inject','_localStorageService','useDependency','MOBILE_HAS_BEEN_BOUND','div','jiqing500','UniverEngineRender','unit','_cachedData','closePath','UniverSheets','flatMap','location','isArray','SheetCollabCursorShape','url(#off-line-single_clip0_910_343)','0\x200\x2016\x2016','UniverCollaborationClientPlugin','APPLY_PERMISSION_DENIED','_instanceService','onlineStatus','_createSocketURL','undoState','@univerjs/docs','jsxs','complete','operators','tag','_context','MessageType','getOwnPropertyDescriptor','editingUnit','onlineStatusTitle','_selfUnitIDs','override','mask','_unitOnClients','debug','generateRandomId','react/jsx-runtime','968842lJgUNq','startsWith','360vMoUHC','disposeUnit','_scheduleClearOtherTimer','endRow','Tools','RichTextEditingMutation','range','next','_beforeCloseService','sessionTicket','height','forEach','SheetSkeletonManagerService','width','Error','6256djBTPr','getCollabCursors$','amd','_collabSessionService','getVpScrollXYInfoByPosToVp','_anchorDot','toRgbString','YUUMI_ASYNCIO_CANCELLED','push','wsSessionTicketUrl','_syncEditingCollabCursorService','assign','WebSocketService','row','url(#$1','IImageIoService','length','searchParams','_draw','cursorInfo$','clsx','combineLatest','onTransformChange$','executeCommand','rgba(255,\x20255,\x20255,\x200.01)','fromEvent','13428510IHyVXN','UniverSheetsUi','1em','_getAnchorBounding','_getMergeRange','@univerjs/ui','translate(.97)','DeleteRangeMoveUpCommandId','_handleEvent','debounce','getCoordByCell','_session','registerRefRange','search','_disabled','isActive','session.collaboration-timeout','disableLocalCache','ThemeService','findNodePositionByCharIndex','getSheetObject','hovered','_handleHover','BuiltInUIPart','HTTPService','@univerjs/rpc','_onCursorUpdate','getCollabEntity$','trim','_refreshCollabCursors','getRelativeToViewportCoord','setStateCache','CollaborationUIEventId','m2Prime','storage','_transformPreviousActiveRange','_toggleOnline','UniverProCollaboration','selection','collaboration-client-ui.config','doc.mutation.rich-text-editing','top','key','isTransformMutationsWithChangesetSuccess','_saveTaskMap','hasOwnProperty','_handleHeartbeatEvent','setInterval','useCallback','FETCH_MISS','none','whenReady','@univerjs/core','_drawAnchor','clearTimeout','react','_uiPartsService','replaceDocRanges','CONNECTOR_DATA_TOO_LARGE','ITransformService','newValue','delete','fromEventSubject','_updateSubUnitFromURLParams','getUnitId','parse','Workbook','error','LICENSE_MAX_UNITS_EXCEEDED','EffectRefRangId','univer-online-status-title','APPLY_NON_SEQUENTIAL_REVISION','init','docStateChange$','color','blue400','2034eIatiH','CHANGESET_REVISION_CONFILICT','225036mxSHxE','getAncestorScale','beginPath','getActiveSheet','imageSourceType','body','RxDisposable','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','Injector','DocCollaborationEntity','@univerjs-pro/collaboration','gold400','setTimeout','rxjs','merge','addObjects','APPLY_DUPLICATED','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','SheetsSelectionsService','getItem','_roomMembers$','unsubscribe','DOC_RANGE_TYPE','_urlService','focused$','urlChange$','_initCommandExecutedListener','onRendered','Rect','round','NodePositionConvertToCursor','INVITE_CODE_HAS_BEEN_UES','path','univer-offline','labelPosition','function','_setupBeforeClosingHandler','get','_name','switchMap','syncEditingCollabCursor','mergeOverrideWithDependencies','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','getSheetBySheetId','handleInsertRangeMoveRight','_shapes','collaboration.closeRoom','getMemberID','OffLineSingle','_scheduleSaving','set','registerDependencies','ONLINE','disposeWithMe','with','Plugin','_textBubble','createIdentifier','addHandlerCallback','CONFLICT','handleInsertRangeMoveDown','Vector2','_cursor','_injector','ILogService','_color','data','@univerjs/network','ranges','_setupSubUnitSync','deepClone','LOCAL_CACHE_INTERVAL','getViewport','TOO_MANY_REQUESTS','_removeClearOtherTimer','text','BehaviorSubject','getCurrentRevOfUnit','loadOfflineData','xlink:href','stringify','replace','history','IRenderManagerService','APPLY_REVISION_CONFILICT','measureText','toString','selections','idSuffix','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','prototype','popstate','lineTo','restore','subunit','_colorIndex','subscribe','_config','getTypeOfUnitDisposed$','Tooltip','split','_docTransformStateCacheService','LICENSE_IMPORT_SIZE_EXCEEDED','collab-text-anchor-','permission.content','_send','getDocRanges','@univerjs/engine-render','_imageIoService','WECHAT_HAS_BEEN_BOUND','getTypeOfUnitAdded$','fillStyle','getUnhiddenWorksheets','SOCKET_FAILED','indexOf','unitId','min','_updateLocalCursor','UniverDesign','_registerDependencies','_startSheetCollabCursor','M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','RemoveRowCommandId','offline','OnLineSingle','LICENSE_EXPORT_SIZE_EXCEEDED','handleIRemoveRow','icon','[CollaborationDataLoaderController]','black','RECT','collab-text-range-','IUIPartsService','_initStatusListener','INTERNAL_ERROR','assignAColorForMemberID','CollaborationSocketService','m1Prime','defIds','YUUMI_UNABLE_LOAD_URL','transformSelections','UniverEngineFormula','_initEvent','USERS_LEAVE','_doCreateSocket','BrowserCollaborationSocketService','ICommandService','_renderManagerService','_docClipboardService','UNAUTHENTICATED','transformStateCache','debounceTime','getSheetId','getColor','/run/','getOwnPropertySymbols','saveImage','ALREADY_EXISTS','collabStatus.conflict','post','loadUnit','_getScale','string','_cursors','moveTo','DependentOn','PY_RUNTIME_SCRIPT_ERROR','_eventUnsubscribe','_docTransformIMECacheService','attrs','UPDATE_CURSOR','subscribeEvent','TEXT','#FFF','CollaborationDataLoaderController','sheetID','arc','backgroundColor','UniverRpc','12hJOHyk','name','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','concat','mapTo','_status$'];_0x5cbe=function(){return _0x3f64d3;};return _0x5cbe();}function _0x437c(_0x14918c,_0x271973){const _0x5cbe93=_0x5cbe();return _0x437c=function(_0x437ccf,_0x1fea72){_0x437ccf=_0x437ccf-0x1d5;let _0x12065f=_0x5cbe93[_0x437ccf];return _0x12065f;},_0x437c(_0x14918c,_0x271973);}(function(_0x3fab8c,_0xfde472){const _0x5f0a6a=_0x437c,_0x28ff78=_0x3fab8c();while(!![]){try{const _0x586c5b=-parseInt(_0x5f0a6a(0x213))/0x1+-parseInt(_0x5f0a6a(0x3e7))/0x2+-parseInt(_0x5f0a6a(0x211))/0x3*(parseInt(_0x5f0a6a(0x457))/0x4)+parseInt(_0x5f0a6a(0x37a))/0x5+parseInt(_0x5f0a6a(0x2c6))/0x6*(-parseInt(_0x5f0a6a(0x446))/0x7)+-parseInt(_0x5f0a6a(0x34c))/0x8*(-parseInt(_0x5f0a6a(0x448))/0x9)+parseInt(_0x5f0a6a(0x471))/0xa;if(_0x586c5b===_0xfde472)break;else _0x28ff78['push'](_0x28ff78['shift']());}catch(_0x5acce3){_0x28ff78['push'](_0x28ff78['shift']());}}}(_0x5cbe,0x94e85),function(_0x234f58,_0x21651c){const _0x3c71da=_0x437c;typeof exports==_0x3c71da(0x3d5)&&typeof module<'u'?_0x21651c(exports,require('@univerjs-pro/collaboration-client'),require(_0x3c71da(0x1f9)),require(_0x3c71da(0x27e)),require('@univerjs/network'),require(_0x3c71da(0x380)),require(_0x3c71da(0x3cb)),require(_0x3c71da(0x220)),require(_0x3c71da(0x435)),require(_0x3c71da(0x21d)),require(_0x3c71da(0x3ad)),require('@univerjs/sheets'),require(_0x3c71da(0x3c9)),require(_0x3c71da(0x40c)),require(_0x3c71da(0x445)),require(_0x3c71da(0x476)),require(_0x3c71da(0x3c3)),require(_0x3c71da(0x1fc)),require(_0x3c71da(0x1de))):typeof define==_0x3c71da(0x236)&&define[_0x3c71da(0x459)]?define([_0x3c71da(0x33d),'@univerjs-pro/collaboration-client','@univerjs/core',_0x3c71da(0x27e),_0x3c71da(0x256),'@univerjs/docs-ui',_0x3c71da(0x3cb),_0x3c71da(0x220),_0x3c71da(0x435),'@univerjs-pro/collaboration',_0x3c71da(0x3ad),_0x3c71da(0x3e0),_0x3c71da(0x3c9),_0x3c71da(0x40c),_0x3c71da(0x445),_0x3c71da(0x476),_0x3c71da(0x3c3),_0x3c71da(0x1fc),'@univerjs/rpc'],_0x21651c):(_0x234f58=typeof globalThis<'u'?globalThis:_0x234f58||self,_0x21651c(_0x234f58['UniverProCollaborationClientUi']={},_0x234f58[_0x3c71da(0x351)],_0x234f58['UniverCore'],_0x234f58[_0x3c71da(0x424)],_0x234f58[_0x3c71da(0x365)],_0x234f58['UniverDocsUi'],_0x234f58['UniverDrawing'],_0x234f58[_0x3c71da(0x220)],_0x234f58['UniverDocs'],_0x234f58[_0x3c71da(0x1ea)],_0x234f58[_0x3c71da(0x2a0)],_0x234f58[_0x3c71da(0x428)],_0x234f58[_0x3c71da(0x220)][_0x3c71da(0x438)],_0x234f58[_0x3c71da(0x472)],_0x234f58[_0x3c71da(0x36b)],_0x234f58['UniverUi'],_0x234f58[_0x3c71da(0x289)],_0x234f58[_0x3c71da(0x36b)],_0x234f58[_0x3c71da(0x2c5)]));}(this,function(_0x4b43a5,_0x35cb60,_0x563b3c,_0x5456a1,_0x5c6440,_0x31a51f,_0x219192,_0x185656,_0x4a37f4,_0x3648c3,_0x4ac2cb,_0x333796,_0xfa893a,_0x1c136c,_0x559ca8,_0x401f0f,_0x159f9c,_0x3271c2,_0x59b92c){'use strict';const _0x33ce1a=_0x437c;var _0x5e6dae=Object['defineProperty'],_0x3f75d0=(_0x4008e6,_0x203ba8,_0x4a9a2f)=>_0x203ba8 in _0x4008e6?_0x5e6dae(_0x4008e6,_0x203ba8,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4a9a2f}):_0x4008e6[_0x203ba8]=_0x4a9a2f,_0x17ffc1=(_0x348035,_0x32593e,_0x50b1b0)=>_0x3f75d0(_0x348035,typeof _0x32593e!='symbol'?_0x32593e+'':_0x32593e,_0x50b1b0),_0x2b0a66=Object[_0x33ce1a(0x43c)],_0x368924=(_0x4fa16a,_0x22d979,_0x16b242,_0x575e99)=>{const _0x579b2b=_0x33ce1a;for(var _0x1b2dcd=_0x575e99>0x1?void 0x0:_0x575e99?_0x2b0a66(_0x22d979,_0x16b242):_0x22d979,_0x1040a7=_0x4fa16a[_0x579b2b(0x467)]-0x1,_0x36ba81;_0x1040a7>=0x0;_0x1040a7--)(_0x36ba81=_0x4fa16a[_0x1040a7])&&(_0x1b2dcd=_0x36ba81(_0x1b2dcd)||_0x1b2dcd);return _0x1b2dcd;},_0x3a7ef4=(_0x54dee7,_0x16ab96)=>(_0x3908b9,_0x5c96a1)=>_0x16ab96(_0x3908b9,_0x5c96a1,_0x54dee7);let _0x29c666=class extends _0x563b3c[_0x33ce1a(0x219)]{constructor(_0x3e09fe,_0x32be33){super(),this['_docClipboardService']=_0x3e09fe,this['_imageIoService']=_0x32be33,this['_init']();}[_0x33ce1a(0x397)](){const _0x2c9d40=_0x33ce1a,_0x3aa570=this;this['disposeWithMe'](this[_0x2c9d40(0x2a7)][_0x2c9d40(0x2d0)]({'onBeforePasteImage':async _0x581b21=>{const _0x25fa52=_0x2c9d40,_0x16f22d=await _0x3aa570[_0x25fa52(0x27f)][_0x25fa52(0x2af)](_0x581b21);return _0x16f22d?{'source':_0x16f22d['source'],'imageSourceType':_0x16f22d[_0x25fa52(0x217)]}:null;}}));}};_0x29c666=_0x368924([_0x3a7ef4(0x0,_0x31a51f[_0x33ce1a(0x2eb)]),_0x3a7ef4(0x1,_0x219192[_0x33ce1a(0x466)])],_0x29c666);const _0x4e4927=['purple300',_0x33ce1a(0x423),_0x33ce1a(0x32e),_0x33ce1a(0x328),_0x33ce1a(0x210),_0x33ce1a(0x21e)];class _0x577797 extends _0x563b3c['Disposable']{constructor(){const _0xa876e5=_0x33ce1a;super(...arguments),_0x17ffc1(this,_0xa876e5(0x3c5),new Map()),_0x17ffc1(this,_0xa876e5(0x272),0x0);}[_0x33ce1a(0x29a)](_0x3bd563){const _0x4f5ee9=_0x33ce1a;if(this[_0x4f5ee9(0x3c5)][_0x4f5ee9(0x3ee)](_0x3bd563))return this[_0x4f5ee9(0x3c5)][_0x4f5ee9(0x238)](_0x3bd563);const _0xf98a4e=_0x4e4927[this[_0x4f5ee9(0x272)]];return this[_0x4f5ee9(0x272)]=(this['_colorIndex']+0x1)%_0x4e4927[_0x4f5ee9(0x467)],this[_0x4f5ee9(0x3c5)][_0x4f5ee9(0x245)](_0x3bd563,_0xf98a4e),_0xf98a4e;}}function _0x48347e(_0x3bc331){const _0x4e205f=_0x33ce1a;let _0x581caa='';for(const _0x3329d6 of _0x3bc331){const {startOffset:_0x32363b,endOffset:_0x1d687f,isActive:_0xc75797,rangeType:_0x4515b7,segmentId:_0x40d940,segmentPage:_0xf75178}=_0x3329d6;_0x581caa[_0x4e205f(0x467)]&&(_0x581caa+=','),_0x581caa+=_0x32363b+':'+_0x1d687f+':'+(_0xc75797?'1':'0')+':'+_0x4515b7+':'+_0x40d940+':'+_0xf75178;}return _0x581caa;}function _0x2d7cf7(_0x3b636f){const _0x11870d=_0x33ce1a,_0x519513=_0x3b636f[_0x11870d(0x277)](','),_0x528c6a=[];for(const _0x70294c of _0x519513){const [_0x42e7b1,_0x2dc569,_0x26573e,_0x55e872,_0x4c331b,_0x27226c]=_0x70294c['split'](':');_0x528c6a[_0x11870d(0x45f)]({'startOffset':Number(_0x42e7b1),'endOffset':Number(_0x2dc569),'collapsed':_0x42e7b1===_0x2dc569,'isActive':_0x26573e==='1','rangeType':_0x55e872===_0x563b3c[_0x11870d(0x229)]['TEXT']?_0x563b3c['DOC_RANGE_TYPE'][_0x11870d(0x2bf)]:_0x563b3c[_0x11870d(0x229)][_0x11870d(0x295)],'segmentId':typeof _0x4c331b==_0x11870d(0x2b5)?String(_0x4c331b):'','segmentPage':Number(_0x27226c!=null?_0x27226c:-0x1)});}return _0x528c6a['some'](_0x1d25db=>_0x1d25db['isActive'])||(_0x528c6a[0x0][_0x11870d(0x480)]=!0x0),_0x528c6a;}class _0xc2b173 extends _0x563b3c['RxDisposable']{constructor(){const _0x26576f=_0x33ce1a;super(...arguments),_0x17ffc1(this,_0x26576f(0x417),new _0x185656[(_0x26576f(0x25f))](null)),_0x17ffc1(this,_0x26576f(0x2ce),this[_0x26576f(0x417)][_0x26576f(0x327)]());}['syncEditingCollabCursor'](_0x13ce9c){const {unitID:_0x275103,memberID:_0x586b9b,textRanges:_0x231abf}=_0x13ce9c,_0x5f4223=_0x48347e(_0x231abf);if(_0x5f4223==='')return;const _0x237c75={'unitID':_0x275103,'memberID':_0x586b9b,'selection':_0x5f4223};this['_collabCursorState$']['next'](_0x237c75);}}var _0x7b4677=Object[_0x33ce1a(0x43c)],_0x19f2ac=(_0x10d8b6,_0x87af0d,_0x56e3f6,_0x5b2052)=>{for(var _0x47d1fc=_0x5b2052>0x1?void 0x0:_0x5b2052?_0x7b4677(_0x87af0d,_0x56e3f6):_0x87af0d,_0x4823e1=_0x10d8b6['length']-0x1,_0x58043b;_0x4823e1>=0x0;_0x4823e1--)(_0x58043b=_0x10d8b6[_0x4823e1])&&(_0x47d1fc=_0x58043b(_0x47d1fc)||_0x47d1fc);return _0x47d1fc;},_0x48e9b6=(_0x2c933c,_0x1683f8)=>(_0x4d865d,_0x3af137)=>_0x1683f8(_0x4d865d,_0x3af137,_0x2c933c);const _0x510606=0x12c,_0x3e9369=0x64;let _0x4ae765=class extends _0x563b3c[_0x33ce1a(0x219)]{constructor(_0x277541,_0x15db84,_0x32db19,_0x452c31,_0x562458,_0x1ec224,_0x1a231e,_0x401416,_0x411884){const _0x54e217=_0x33ce1a;super(),_0x17ffc1(this,_0x54e217(0x369),!0x1),_0x17ffc1(this,_0x54e217(0x397),!0x1),_0x17ffc1(this,_0x54e217(0x377),new _0x185656[(_0x54e217(0x25f))](new Map())),_0x17ffc1(this,_0x54e217(0x46a),this[_0x54e217(0x377)][_0x54e217(0x327)]()),_0x17ffc1(this,'_roomMembers$',new _0x185656['BehaviorSubject']([])),_0x17ffc1(this,_0x54e217(0x352),this[_0x54e217(0x227)]['pipe'](_0x185656[_0x54e217(0x2aa)](_0x510606))),_0x17ffc1(this,'_updateLocalCursor',_0x563b3c['debounce'](_0x3d4e45=>{const _0x495a31=_0x54e217,_0x5ba6e9={'eventID':_0x3648c3[_0x495a31(0x313)][_0x495a31(0x2bd)],'data':{'unitID':this[_0x495a31(0x362)],'memberID':this[_0x495a31(0x47c)][_0x495a31(0x242)](),'selection':_0x48347e(_0x3d4e45)}};this[_0x495a31(0x47c)][_0x495a31(0x30a)](_0x5ba6e9,this[_0x495a31(0x362)]);},_0x3e9369)),(this[_0x54e217(0x362)]=_0x277541,this['_session']=_0x15db84,this[_0x54e217(0x252)]=_0x32db19,this['_colorAssignService']=_0x452c31,this[_0x54e217(0x3ff)]=_0x562458,this[_0x54e217(0x461)]=_0x1ec224,this['_transformService']=_0x1a231e,this[_0x54e217(0x3d7)]=_0x401416,this[_0x54e217(0x2f9)]=_0x411884);}get[_0x33ce1a(0x2f7)](){const _0x3a4e7d=_0x33ce1a;return this[_0x3a4e7d(0x377)][_0x3a4e7d(0x382)]();}get[_0x33ce1a(0x33f)](){const _0xe3ae66=_0x33ce1a;return this[_0xe3ae66(0x227)]['getValue']();}['dispose'](){const _0x2e2844=_0x33ce1a;super[_0x2e2844(0x306)](),this['_cursorInfo$'][_0x2e2844(0x44f)](new Map()),this[_0x2e2844(0x377)]['complete'](),this[_0x2e2844(0x227)][_0x2e2844(0x44f)]([]),this[_0x2e2844(0x227)][_0x2e2844(0x437)]();}[_0x33ce1a(0x20d)](){const _0x1ef35a=_0x33ce1a;this[_0x1ef35a(0x397)]||(this['_init']=!0x0,this[_0x1ef35a(0x47c)]['sessionStatus$'][_0x1ef35a(0x3ab)](_0x185656[_0x1ef35a(0x3c1)](this[_0x1ef35a(0x32b)]))[_0x1ef35a(0x273)](_0x3534e5=>{const _0x11aa9a=_0x1ef35a;_0x3534e5===_0x35cb60[_0x11aa9a(0x324)][_0x11aa9a(0x247)]?this[_0x11aa9a(0x1e9)]():this[_0x11aa9a(0x3cf)]();}),this['_session']['event$'][_0x1ef35a(0x3ab)](_0x185656[_0x1ef35a(0x3c1)](this[_0x1ef35a(0x32b)]))[_0x1ef35a(0x273)](_0xadc1c7=>{const _0x4c06a7=_0x1ef35a,_0x1f4e88=_0xadc1c7[_0x4c06a7(0x408)];_0x1f4e88===_0x3648c3[_0x4c06a7(0x313)][_0x4c06a7(0x2bd)]&&this[_0x4c06a7(0x1df)](_0xadc1c7),_0x1f4e88===_0x3648c3[_0x4c06a7(0x313)][_0x4c06a7(0x2a2)]&&this['_onCursorDelete'](_0xadc1c7);}),this[_0x1ef35a(0x248)](this['_commandService'][_0x1ef35a(0x37c)](_0x1c4847=>{const _0x2f6307=_0x1ef35a,_0x111701=_0x1c4847[_0x2f6307(0x334)];_0x111701!=null&&this[_0x2f6307(0x369)]&&_0x1c4847['id']===_0x4a37f4[_0x2f6307(0x348)]['id']&&_0x111701[_0x2f6307(0x286)]===this['unitID']&&_0x111701[_0x2f6307(0x3a3)]===!0x1&&_0x111701[_0x2f6307(0x257)][_0x2f6307(0x467)]>0x0&&this[_0x2f6307(0x288)](_0x111701[_0x2f6307(0x257)]);})),this['_syncEditingCollabCursorService']['collabCursorState$'][_0x1ef35a(0x3ab)](_0x185656[_0x1ef35a(0x3c1)](this[_0x1ef35a(0x32b)]))[_0x1ef35a(0x273)](_0x2f99af=>{const _0x1d43d5=_0x1ef35a;if((_0x2f99af==null?void 0x0:_0x2f99af[_0x1d43d5(0x362)])!==this[_0x1d43d5(0x362)])return;const _0x576a20={'eventID':_0x3648c3[_0x1d43d5(0x313)][_0x1d43d5(0x2bd)],'data':_0x2f99af};this[_0x1d43d5(0x1df)](_0x576a20);}),this['disposeWithMe'](this['_commandService'][_0x1ef35a(0x37c)](_0x201469=>{const _0x3b49d1=_0x1ef35a;if(_0x201469[_0x3b49d1(0x334)]==null)return;const _0x432f43=_0x201469[_0x3b49d1(0x334)];if(_0x201469['id']!==_0x4a37f4[_0x3b49d1(0x44d)]['id']||_0x432f43[_0x3b49d1(0x286)]!==this[_0x3b49d1(0x362)])return;const _0x540a20={'id':_0x3b49d1(0x1ed),'params':_0x432f43},_0x20872c=this[_0x3b49d1(0x2f7)];for(const [_0x316010,_0x512dbb]of _0x20872c){const _0xe4d4ee={'id':_0x3b49d1(0x1ed),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x512dbb[_0x3b49d1(0x257)]}},_0x5a9b2b=this['_transformService'][_0x3b49d1(0x388)](_0x540a20,_0xe4d4ee,!0x1);if(_0x3648c3[_0x3b49d1(0x40f)](_0x5a9b2b))throw _0x5a9b2b['error'];_0x20872c[_0x3b49d1(0x245)](_0x316010,{..._0x512dbb,'ranges':_0x5a9b2b[_0x3b49d1(0x1e6)][_0x3b49d1(0x334)][_0x3b49d1(0x3d3)]});}queueMicrotask(()=>{const _0x198433=_0x3b49d1;this[_0x198433(0x377)][_0x198433(0x44f)](_0x20872c);});})));}[_0x33ce1a(0x1df)](_0x2d4760){const _0x52b9bb=_0x33ce1a;var _0xb0ca8a,_0x572f5b;const {memberID:_0x24cc8d,selection:_0x1ac28e}=_0x2d4760[_0x52b9bb(0x255)],_0x13363c=_0x2d7cf7(_0x1ac28e),_0x52324a=(_0x572f5b=(_0xb0ca8a=this[_0x52b9bb(0x3ff)][_0x52b9bb(0x389)](this[_0x52b9bb(0x362)],_0x24cc8d))==null?void 0x0:_0xb0ca8a[_0x52b9bb(0x2c7)])!=null?_0x572f5b:_0x52b9bb(0x2d6),_0x164b40={'color':this[_0x52b9bb(0x37f)][_0x52b9bb(0x29a)](_0x24cc8d),'name':_0x52324a,'ranges':_0x13363c},_0x579227=this[_0x52b9bb(0x2f7)];_0x579227[_0x52b9bb(0x245)](_0x24cc8d,_0x164b40),this[_0x52b9bb(0x377)][_0x52b9bb(0x44f)](_0x579227);}[_0x33ce1a(0x38a)](_0x5c2ede){const _0x30e2aa=_0x33ce1a,{memberID:_0x189360}=_0x5c2ede[_0x30e2aa(0x255)],_0xd4ac87=this[_0x30e2aa(0x2f7)];_0xd4ac87['delete'](_0x189360),this[_0x30e2aa(0x377)][_0x30e2aa(0x44f)](_0xd4ac87);}['_toggleOnline'](){const _0x216ee5=_0x33ce1a;var _0x3fc4e7;if(this[_0x216ee5(0x369)]=!0x0,((_0x3fc4e7=this[_0x216ee5(0x3d7)]['getFocusedUnit']())==null?void 0x0:_0x3fc4e7[_0x216ee5(0x205)]())!==this[_0x216ee5(0x362)])return;const _0x482441=this[_0x216ee5(0x252)][_0x216ee5(0x238)](_0x4a37f4[_0x216ee5(0x321)])[_0x216ee5(0x27d)]();Array[_0x216ee5(0x42b)](_0x482441)&&_0x482441['length']>0x0&&this['_updateLocalCursor'](_0x482441);}['_toggleOffline'](){const _0x1723fc=_0x33ce1a;this[_0x1723fc(0x369)]=!0x1;}};_0x4ae765=_0x19f2ac([_0x48e9b6(0x2,_0x563b3c[_0x33ce1a(0x41e)](_0x563b3c[_0x33ce1a(0x21b)])),_0x48e9b6(0x3,_0x563b3c[_0x33ce1a(0x41e)](_0x577797)),_0x48e9b6(0x4,_0x563b3c['Inject'](_0x35cb60[_0x33ce1a(0x2f1)])),_0x48e9b6(0x5,_0x563b3c[_0x33ce1a(0x41e)](_0xc2b173)),_0x48e9b6(0x6,_0x3648c3[_0x33ce1a(0x200)]),_0x48e9b6(0x7,_0x563b3c[_0x33ce1a(0x353)]),_0x48e9b6(0x8,_0x563b3c['ICommandService'])],_0x4ae765);var _0xf680ef=Object[_0x33ce1a(0x43c)],_0x501175=(_0x4eea1d,_0x474a1f,_0x7bf97b,_0x2d158e)=>{for(var _0x400608=_0x2d158e>0x1?void 0x0:_0x2d158e?_0xf680ef(_0x474a1f,_0x7bf97b):_0x474a1f,_0x431758=_0x4eea1d['length']-0x1,_0xab506c;_0x431758>=0x0;_0x431758--)(_0xab506c=_0x4eea1d[_0x431758])&&(_0x400608=_0xab506c(_0x400608)||_0x400608);return _0x400608;},_0x5bd6d0=(_0x3fd975,_0x482412)=>(_0x4475f0,_0x19d8b4)=>_0x482412(_0x4475f0,_0x19d8b4,_0x3fd975);const _0x1bd905=0x12c,_0x1c3c94=0x64,_0x2ce115=()=>{let _0x30ac43=[],_0x58d7e0=!0x1;return _0x5aa1f1=>{const _0x384ed9=_0x437c;_0x30ac43[_0x384ed9(0x45f)](_0x5aa1f1),_0x58d7e0||(_0x58d7e0=!0x0,setTimeout(()=>{_0x30ac43['forEach'](_0x170c55=>_0x170c55()),_0x30ac43=[],_0x58d7e0=!0x1;}));};};let _0xceebdc=class extends _0x563b3c[_0x33ce1a(0x219)]{constructor(_0x85fcc3,_0x2fe0e3,_0x21d096,_0x8fcd44,_0x3ad601,_0x4e371d,_0x8d79a3,_0x289426){const _0x8ac5fb=_0x33ce1a;super(),_0x17ffc1(this,_0x8ac5fb(0x369),!0x1),_0x17ffc1(this,_0x8ac5fb(0x397),!0x1),_0x17ffc1(this,_0x8ac5fb(0x377),new _0x185656[(_0x8ac5fb(0x25f))](new Map())),_0x17ffc1(this,_0x8ac5fb(0x46a),this[_0x8ac5fb(0x377)][_0x8ac5fb(0x327)]()),_0x17ffc1(this,_0x8ac5fb(0x227),new _0x185656[(_0x8ac5fb(0x25f))]([])),_0x17ffc1(this,_0x8ac5fb(0x352),this[_0x8ac5fb(0x227)][_0x8ac5fb(0x3ab)](_0x185656[_0x8ac5fb(0x2aa)](_0x1bd905))),_0x17ffc1(this,_0x8ac5fb(0x288),_0x563b3c['debounce']((_0x2d1425,_0x51071e)=>{const _0x22808c=_0x8ac5fb,_0x71c9c4={'eventID':_0x3648c3[_0x22808c(0x313)][_0x22808c(0x2bd)],'data':{'unitID':this[_0x22808c(0x362)],'memberID':this['_session'][_0x22808c(0x242)](),'selection':_0x4ac2cb[_0x22808c(0x2ee)](_0x2d1425,_0x51071e[_0x22808c(0x44e)])}};this[_0x22808c(0x47c)]['send'](_0x71c9c4,this[_0x22808c(0x362)]);},_0x1c3c94)),(this['unitID']=_0x85fcc3,this['_session']=_0x2fe0e3,this[_0x8ac5fb(0x252)]=_0x21d096,this[_0x8ac5fb(0x37f)]=_0x8fcd44,this[_0x8ac5fb(0x3ff)]=_0x3ad601,this['_univerInstanceService']=_0x4e371d,this[_0x8ac5fb(0x2f9)]=_0x8d79a3,this[_0x8ac5fb(0x2d8)]=_0x289426);}get['cursorInfo'](){const _0x4fca88=_0x33ce1a;return this[_0x4fca88(0x377)][_0x4fca88(0x382)]();}get[_0x33ce1a(0x33f)](){const _0x4e9134=_0x33ce1a;return this['_roomMembers$'][_0x4e9134(0x382)]();}[_0x33ce1a(0x306)](){const _0x4eed8a=_0x33ce1a;super[_0x4eed8a(0x306)](),this[_0x4eed8a(0x377)][_0x4eed8a(0x44f)](new Map()),this[_0x4eed8a(0x377)]['complete'](),this[_0x4eed8a(0x227)][_0x4eed8a(0x44f)]([]),this['_roomMembers$'][_0x4eed8a(0x437)]();}[_0x33ce1a(0x20d)](){const _0x4ba8c2=_0x33ce1a;this[_0x4ba8c2(0x397)]||(this[_0x4ba8c2(0x397)]=!0x0,this['_session'][_0x4ba8c2(0x345)][_0x4ba8c2(0x3ab)](_0x185656[_0x4ba8c2(0x3c1)](this['dispose$']))['subscribe'](_0x173f87=>{const _0x3880a4=_0x4ba8c2;_0x173f87===_0x35cb60[_0x3880a4(0x324)]['ONLINE']?this[_0x3880a4(0x1e9)]():this[_0x3880a4(0x3cf)]();}),this['_session'][_0x4ba8c2(0x3af)][_0x4ba8c2(0x3ab)](_0x185656[_0x4ba8c2(0x3c1)](this[_0x4ba8c2(0x32b)]))[_0x4ba8c2(0x273)](_0x444bf7=>{const _0x39d106=_0x4ba8c2,_0x3c40c2=_0x444bf7['eventID'];_0x3c40c2===_0x3648c3['CollaborationEvent'][_0x39d106(0x2bd)]&&this[_0x39d106(0x1df)](_0x444bf7),_0x3c40c2===_0x3648c3[_0x39d106(0x313)]['USERS_LEAVE']&&this[_0x39d106(0x38a)](_0x444bf7);}),this['_onRefRangeChange'](),this['disposeWithMe'](this[_0x4ba8c2(0x2f9)][_0x4ba8c2(0x37c)](_0x20adcc=>{const _0x3a73f8=_0x4ba8c2;if(this[_0x3a73f8(0x369)]&&_0x20adcc['id']===_0x333796['SetSelectionsOperation']['id']&&_0x20adcc[_0x3a73f8(0x334)][_0x3a73f8(0x286)]===this['unitID']){const _0x400617=_0x20adcc[_0x3a73f8(0x334)];this[_0x3a73f8(0x288)](_0x400617[_0x3a73f8(0x301)],_0x400617[_0x3a73f8(0x26a)][0x0]);}})));}[_0x33ce1a(0x1df)](_0x44ed28){const _0x5f4bdb=_0x33ce1a;var _0xb5a53c,_0x2966b0;const {memberID:_0x18ec27,selection:_0x344d58}=_0x44ed28[_0x5f4bdb(0x255)],{sheetName:_0x327007,range:_0x59779b}=_0x4ac2cb['deserializeRangeWithSheet'](_0x344d58),_0x2b4cd7={'name':(_0x2966b0=(_0xb5a53c=this[_0x5f4bdb(0x3ff)][_0x5f4bdb(0x389)](this[_0x5f4bdb(0x362)],_0x18ec27))==null?void 0x0:_0xb5a53c[_0x5f4bdb(0x2c7)])!=null?_0x2966b0:_0x5f4bdb(0x2d6),'range':this[_0x5f4bdb(0x475)](_0x327007,_0x59779b),'sheetID':_0x327007,'color':this[_0x5f4bdb(0x37f)][_0x5f4bdb(0x29a)](_0x18ec27),'selection':_0x344d58},_0x3fc987=this[_0x5f4bdb(0x2f7)];_0x3fc987['set'](_0x18ec27,_0x2b4cd7),this[_0x5f4bdb(0x377)][_0x5f4bdb(0x44f)](_0x3fc987);}[_0x33ce1a(0x38a)](_0x10a7b0){const _0x2014ef=_0x33ce1a,{memberID:_0x581f6c}=_0x10a7b0['data'],_0x417921=this[_0x2014ef(0x2f7)];_0x417921['delete'](_0x581f6c),this[_0x2014ef(0x377)][_0x2014ef(0x44f)](_0x417921);}[_0x33ce1a(0x475)](_0xbb66e0,_0x65b625){const _0x11e717=_0x33ce1a;var _0x42a8aa,_0x8023b5;const _0x1c1f0d=(_0x8023b5=(_0x42a8aa=this[_0x11e717(0x3d7)][_0x11e717(0x326)](this[_0x11e717(0x362)]))==null?void 0x0:_0x42a8aa['getSheetBySheetId'](_0xbb66e0))==null?void 0x0:_0x8023b5[_0x11e717(0x3e6)]();return(_0x1c1f0d==null?void 0x0:_0x1c1f0d[_0x11e717(0x338)](_0x471174=>_0x563b3c[_0x11e717(0x2e7)][_0x11e717(0x3a6)](_0x471174,_0x65b625)))||_0x65b625;}['_onRefRangeChange'](){const _0x39ac54=_0x33ce1a,_0x433f26=new _0x563b3c[(_0x39ac54(0x310))](),_0x2df83c=_0x2ce115(),_0x16dba8=()=>{const _0x123ed2=_0x39ac54;_0x433f26[_0x123ed2(0x306)]();const _0x40d808=(_0x3da001,_0xbef452,_0x5bcf94,_0x48ecf8)=>{const _0x291d1c=_0x123ed2;let _0x194174=[];switch(_0x3da001['id']){case _0x333796[_0x291d1c(0x20a)][_0x291d1c(0x39a)]:{_0x194174=_0x333796['handleDeleteRangeMoveLeft'](_0x3da001,_0x48ecf8);break;}case _0x333796[_0x291d1c(0x20a)][_0x291d1c(0x478)]:{_0x194174=_0x333796[_0x291d1c(0x37b)](_0x3da001,_0x48ecf8);break;}case _0x333796[_0x291d1c(0x20a)][_0x291d1c(0x3b4)]:{_0x194174=_0x333796[_0x291d1c(0x3b7)](_0x3da001,_0x48ecf8);break;}case _0x333796[_0x291d1c(0x20a)][_0x291d1c(0x3bc)]:{_0x194174=_0x333796[_0x291d1c(0x24f)](_0x3da001,_0x48ecf8);break;}case _0x333796[_0x291d1c(0x20a)]['InsertRangeMoveRightCommandId']:{_0x194174=_0x333796[_0x291d1c(0x23f)](_0x3da001,_0x48ecf8);break;}case _0x333796[_0x291d1c(0x20a)][_0x291d1c(0x3b6)]:{_0x194174=_0x333796['handleInsertRow'](_0x3da001,_0x48ecf8);break;}case _0x333796[_0x291d1c(0x20a)][_0x291d1c(0x41d)]:{_0x194174=_0x333796[_0x291d1c(0x414)](_0x3da001,_0x48ecf8);break;}case _0x333796['EffectRefRangId'][_0x291d1c(0x371)]:{_0x194174=_0x333796[_0x291d1c(0x30f)](_0x3da001,_0x48ecf8);break;}case _0x333796['EffectRefRangId'][_0x291d1c(0x28d)]:{_0x194174=_0x333796[_0x291d1c(0x291)](_0x3da001,_0x48ecf8);break;}}const _0x2868f4=_0x333796[_0x291d1c(0x2fb)](_0x194174,_0x48ecf8),_0xde23b0=this['cursorInfo']['get'](_0xbef452);if(_0xde23b0&&_0x2868f4){const _0x4aead0={..._0xde23b0,'range':_0x2868f4};this[_0x291d1c(0x2f7)][_0x291d1c(0x245)](_0xbef452,_0x4aead0),_0x2df83c(()=>{const _0x4e2943=_0x291d1c,_0x5cefaf=this[_0x4e2943(0x2d8)][_0x4e2943(0x47d)](_0x2868f4,_0x4302e1=>(_0x5cefaf[_0x4e2943(0x306)](),_0x40d808(_0x4302e1,_0xbef452,_0x5bcf94,_0x2868f4)));_0x433f26[_0x4e2943(0x384)](_0x5cefaf);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x4460f9,_0x223a8e)=>{const _0x13f55f=_0x123ed2,{range:_0x2a7979,sheetID:_0x34df59}=_0x4460f9,_0x5af291=this[_0x13f55f(0x2d8)][_0x13f55f(0x47d)](_0x2a7979,_0x427c8c=>(_0x5af291[_0x13f55f(0x306)](),_0x40d808(_0x427c8c,_0x223a8e,_0x34df59,_0x2a7979)));_0x433f26['add'](_0x5af291);});};this[_0x39ac54(0x248)](_0x563b3c['toDisposable'](this[_0x39ac54(0x377)][_0x39ac54(0x273)](()=>{_0x16dba8();})));}['_toggleOnline'](){const _0x4dcd79=_0x33ce1a;var _0x53cebd,_0x299d3a;if(this[_0x4dcd79(0x369)]=!0x0,((_0x53cebd=this[_0x4dcd79(0x3d7)][_0x4dcd79(0x374)]())==null?void 0x0:_0x53cebd[_0x4dcd79(0x205)]())!==this['unitID'])return;const _0x16e083=(_0x299d3a=this['_injector'][_0x4dcd79(0x238)](_0x333796[_0x4dcd79(0x225)])[_0x4dcd79(0x367)]())==null?void 0x0:_0x299d3a[0x0],_0x3dbb69=this[_0x4dcd79(0x3d7)][_0x4dcd79(0x34a)](_0x563b3c[_0x4dcd79(0x36d)][_0x4dcd79(0x39b)])[_0x4dcd79(0x216)]();_0x16e083&&_0x3dbb69&&this[_0x4dcd79(0x288)](_0x3dbb69[_0x4dcd79(0x2ab)](),_0x16e083);}[_0x33ce1a(0x3cf)](){const _0x437c07=_0x33ce1a;this[_0x437c07(0x369)]=!0x1;}};_0xceebdc=_0x501175([_0x5bd6d0(0x2,_0x563b3c['Inject'](_0x563b3c[_0x33ce1a(0x21b)])),_0x5bd6d0(0x3,_0x563b3c['Inject'](_0x577797)),_0x5bd6d0(0x4,_0x563b3c[_0x33ce1a(0x41e)](_0x35cb60['MemberService'])),_0x5bd6d0(0x5,_0x563b3c[_0x33ce1a(0x353)]),_0x5bd6d0(0x6,_0x563b3c['ICommandService']),_0x5bd6d0(0x7,_0x563b3c['Inject'](_0x333796['RefRangeService']))],_0xceebdc);var _0x3892e5=Object[_0x33ce1a(0x43c)],_0x4b2362=(_0x3db0b2,_0x4e2998,_0x520339,_0x48c784)=>{const _0x316453=_0x33ce1a;for(var _0x9239c6=_0x48c784>0x1?void 0x0:_0x48c784?_0x3892e5(_0x4e2998,_0x520339):_0x4e2998,_0x4f0e94=_0x3db0b2[_0x316453(0x467)]-0x1,_0x21bb48;_0x4f0e94>=0x0;_0x4f0e94--)(_0x21bb48=_0x3db0b2[_0x4f0e94])&&(_0x9239c6=_0x21bb48(_0x9239c6)||_0x9239c6);return _0x9239c6;},_0x129a34=(_0x286c34,_0x44a5f2)=>(_0x444870,_0x1592c0)=>_0x44a5f2(_0x444870,_0x1592c0,_0x286c34);let _0x5621e8=class extends _0x563b3c['RxDisposable']{constructor(_0x13c99f,_0x2813cf,_0x55614b){const _0x507a8e=_0x33ce1a;super(),_0x17ffc1(this,_0x507a8e(0x311),new Map()),_0x17ffc1(this,'_entityInit$',new _0x185656[(_0x507a8e(0x2d4))]()),(this[_0x507a8e(0x3d7)]=_0x13c99f,this[_0x507a8e(0x252)]=_0x2813cf,this[_0x507a8e(0x45a)]=_0x55614b,this[_0x507a8e(0x397)]());}[_0x33ce1a(0x306)](){const _0x23fa40=_0x33ce1a;super[_0x23fa40(0x306)](),this[_0x23fa40(0x35f)][_0x23fa40(0x437)](),this['_entities'][_0x23fa40(0x453)](_0x142345=>_0x142345[_0x23fa40(0x306)]());}[_0x33ce1a(0x458)](_0x4ebbc2){const _0x5e2277=_0x33ce1a;return this[_0x5e2277(0x311)]['has'](_0x4ebbc2)?this[_0x5e2277(0x311)]['get'](_0x4ebbc2)[_0x5e2277(0x46a)]:this[_0x5e2277(0x35f)][_0x5e2277(0x3ab)](_0x185656['filter'](_0x512a59=>_0x512a59[_0x5e2277(0x362)]===_0x4ebbc2),_0x185656[_0x5e2277(0x23a)](_0x1c5233=>_0x1c5233['cursorInfo$']));}[_0x33ce1a(0x397)](){const _0x18822e=_0x33ce1a;this[_0x18822e(0x3d7)]['getTypeOfUnitAdded$'](_0x563b3c[_0x18822e(0x36d)][_0x18822e(0x39b)])[_0x18822e(0x3ab)](_0x185656[_0x18822e(0x3c1)](this[_0x18822e(0x32b)]))[_0x18822e(0x273)](async _0x540a95=>{const _0x56becd=_0x18822e,_0x177e94=_0x540a95[_0x56becd(0x205)](),_0x5778dc=await this[_0x56becd(0x28b)](_0x177e94);this[_0x56becd(0x35f)][_0x56becd(0x44f)](_0x5778dc),this[_0x56becd(0x311)]['set'](_0x177e94,_0x5778dc);}),this[_0x18822e(0x3d7)][_0x18822e(0x281)](_0x563b3c[_0x18822e(0x36d)][_0x18822e(0x2fe)])[_0x18822e(0x3ab)](_0x185656['takeUntil'](this[_0x18822e(0x32b)]))[_0x18822e(0x3ab)](_0x185656[_0x18822e(0x3f4)](_0x5d3a92=>!_0x5d3a92[_0x18822e(0x205)]()[_0x18822e(0x447)]('__')))[_0x18822e(0x273)](async _0x269c8d=>{const _0x44666d=_0x18822e,_0x42d2d0=_0x269c8d[_0x44666d(0x205)](),_0x5514d7=await this[_0x44666d(0x38e)](_0x42d2d0);this[_0x44666d(0x35f)][_0x44666d(0x44f)](_0x5514d7),this[_0x44666d(0x311)]['set'](_0x42d2d0,_0x5514d7);}),_0x185656[_0x18822e(0x221)](this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x563b3c[_0x18822e(0x36d)][_0x18822e(0x2fe)]),this['_univerInstanceService'][_0x18822e(0x275)](_0x563b3c[_0x18822e(0x36d)]['UNIVER_SHEET']))[_0x18822e(0x3ab)](_0x185656[_0x18822e(0x3c1)](this[_0x18822e(0x32b)]))['subscribe'](_0x29c179=>{const _0x4e6c60=_0x18822e,_0x49de98=_0x29c179['getUnitId'](),_0x1b9040=this[_0x4e6c60(0x311)]['get'](_0x49de98);_0x1b9040&&(_0x1b9040[_0x4e6c60(0x306)](),this['_entities'][_0x4e6c60(0x202)](_0x49de98));});}async[_0x33ce1a(0x28b)](_0x34b377){const _0x197762=_0x33ce1a,_0x4be896=await this[_0x197762(0x45a)][_0x197762(0x2df)](_0x34b377),_0x1022dd=this['_injector'][_0x197762(0x34f)](_0xceebdc,_0x34b377,_0x4be896);return _0x1022dd[_0x197762(0x20d)](),_0x1022dd;}async['_startDocCollabCursor'](_0xb1ae4b){const _0x207252=_0x33ce1a,_0x5d7720=await this[_0x207252(0x45a)][_0x207252(0x2df)](_0xb1ae4b),_0x321be8=this[_0x207252(0x252)][_0x207252(0x34f)](_0x4ae765,_0xb1ae4b,_0x5d7720);return _0x321be8[_0x207252(0x20d)](),_0x321be8;}};_0x5621e8=_0x4b2362([_0x129a34(0x0,_0x563b3c[_0x33ce1a(0x353)]),_0x129a34(0x1,_0x563b3c[_0x33ce1a(0x41e)](_0x563b3c[_0x33ce1a(0x21b)])),_0x129a34(0x2,_0x563b3c[_0x33ce1a(0x41e)](_0x35cb60[_0x33ce1a(0x320)]))],_0x5621e8);const _0x51d150=0x14,_0x481b90=0xc8,_0x442885=0x4,_0x3fb86c=0x5;function _0x191efe(_0x17d8fa,_0xe14e03){const _0x5eda66=_0x33ce1a;let {radius:_0x2f0960,width:_0x33c2e7,height:_0x287e51}=_0xe14e03;_0x2f0960=_0x2f0960!=null?_0x2f0960:0x0,_0x33c2e7=_0x33c2e7!=null?_0x33c2e7:0x1e,_0x287e51=_0x287e51!=null?_0x287e51:0x1e;let _0x106464=0x0,_0x2dd295=0x0,_0x5905fa=0x0;_0x106464=_0x2dd295=_0x5905fa=Math[_0x5eda66(0x287)](_0x2f0960,_0x33c2e7/0x2,_0x287e51/0x2),_0x17d8fa[_0x5eda66(0x215)](),_0x17d8fa[_0x5eda66(0x2b7)](_0x106464,0x0),_0x17d8fa[_0x5eda66(0x26f)](_0x33c2e7-_0x2dd295,0x0),_0x17d8fa[_0x5eda66(0x2c3)](_0x33c2e7-_0x2dd295,_0x2dd295,_0x2dd295,Math['PI']*0x3/0x2,0x0,!0x1),_0x17d8fa['lineTo'](_0x33c2e7,_0x287e51-_0x5905fa),_0x17d8fa[_0x5eda66(0x2c3)](_0x33c2e7-_0x5905fa,_0x287e51-_0x5905fa,_0x5905fa,0x0,Math['PI']/0x2,!0x1),_0x17d8fa[_0x5eda66(0x26f)](0x0,_0x287e51),_0x17d8fa['lineTo'](0x0,_0x106464),_0x17d8fa[_0x5eda66(0x2c3)](_0x106464,_0x106464,_0x106464,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x17d8fa[_0x5eda66(0x427)](),_0xe14e03[_0x5eda66(0x3d4)]&&(_0x17d8fa[_0x5eda66(0x3a0)](),_0x17d8fa[_0x5eda66(0x282)]=_0xe14e03[_0x5eda66(0x3d4)],_0xe14e03[_0x5eda66(0x399)]===_0x5eda66(0x3ca)?_0x17d8fa['fill'](_0x5eda66(0x3ca)):_0x17d8fa[_0x5eda66(0x3d4)](),_0x17d8fa['restore']());}class _0x2d8723 extends _0x5456a1['Shape']{constructor(_0x1ddd25,_0x1b0d27){const _0x2278cc=_0x33ce1a;super(_0x1ddd25,_0x1b0d27),_0x17ffc1(this,'color'),_0x17ffc1(this,_0x2278cc(0x25e)),(this[_0x2278cc(0x20f)]=_0x1b0d27==null?void 0x0:_0x1b0d27['color'],this[_0x2278cc(0x25e)]=_0x1b0d27==null?void 0x0:_0x1b0d27['text']);}static[_0x33ce1a(0x33a)](_0x392499,_0x439b9a){const _0x30e356=_0x33ce1a,{text:_0x560a3c,color:_0x12345f}=_0x439b9a;_0x392499[_0x30e356(0x3a0)](),_0x392499[_0x30e356(0x3dc)]=_0x30e356(0x3a4);const _0x10c810=_0x392499['measureText'](_0x560a3c)[_0x30e356(0x455)],_0x3a8d23=Math[_0x30e356(0x287)](_0x10c810+0x2*_0x442885,_0x481b90);_0x191efe(_0x392499,{'height':_0x51d150,'radius':0x4,'width':_0x3a8d23,'fill':_0x12345f}),_0x392499[_0x30e356(0x282)]=_0x30e356(0x2c0);const _0x94f461=_0x442885,_0x37a5ca=_0x51d150-_0x3fb86c,_0x597d41=_0x481b90-0x2*_0x442885;if(_0x10c810>_0x597d41){let _0x438df5='',_0xd310a2=0x0;for(const _0x17a80e of _0x560a3c){const _0x260710=_0x392499[_0x30e356(0x268)](_0x17a80e)[_0x30e356(0x455)];if(_0xd310a2+_0x260710<=_0x597d41-_0x392499[_0x30e356(0x268)](_0x30e356(0x2f4))[_0x30e356(0x455)])_0x438df5+=_0x17a80e,_0xd310a2+=_0x260710;else{_0x438df5+=_0x30e356(0x2f4);break;}}_0x392499[_0x30e356(0x2f3)](_0x438df5,_0x94f461,_0x37a5ca);}else _0x392499[_0x30e356(0x2f3)](_0x560a3c,_0x94f461,_0x37a5ca);_0x392499[_0x30e356(0x270)]();}[_0x33ce1a(0x469)](_0x5a1823){const _0x2fac8f=_0x33ce1a;_0x2d8723[_0x2fac8f(0x33a)](_0x5a1823,this);}}const _0x5f17c9=_0x33ce1a(0x27a),_0x4ded24=_0x33ce1a(0x296),_0x263b2c='collab-rect-range-',_0x4bf171=0x6,_0x13fca8=1.5,_0x20a77f=0x4,_0x11dee1=1.5,_0x7c639e=_0x33ce1a(0x46f);class _0x3eee42{constructor(_0xc22723,_0x208920,_0x59fffa,_0x569300){const _0x33aab5=_0x33ce1a;_0x17ffc1(this,_0x33aab5(0x240),[]),_0x17ffc1(this,_0x33aab5(0x3c0),null),_0x17ffc1(this,_0x33aab5(0x24b),null),_0x17ffc1(this,_0x33aab5(0x45c),null),_0x17ffc1(this,_0x33aab5(0x394),null),_0x17ffc1(this,_0x33aab5(0x2ba),null),(this['_cursor']=_0xc22723,this[_0x33aab5(0x370)]=_0x208920,this[_0x33aab5(0x2e9)]=_0x59fffa,this[_0x33aab5(0x396)]=_0x569300,this[_0x33aab5(0x41c)]());}set[_0x33ce1a(0x2ef)](_0x4bda69){const _0x528221=_0x33ce1a;_0x4bda69?(this['_anchorDot']&&this[_0x528221(0x45c)]['hide'](),this[_0x528221(0x24b)]&&this['_textBubble'][_0x528221(0x2fa)]()):(this[_0x528221(0x45c)]&&this['_anchorDot'][_0x528221(0x2fa)](),this[_0x528221(0x24b)]&&this[_0x528221(0x24b)]['hide']());}[_0x33ce1a(0x306)](){const _0x258f20=_0x33ce1a;for(const _0x432e8d of this[_0x258f20(0x240)])_0x432e8d[_0x258f20(0x306)]();this[_0x258f20(0x24b)]&&this[_0x258f20(0x24b)][_0x258f20(0x306)](),this[_0x258f20(0x45c)]&&this['_anchorDot'][_0x258f20(0x306)](),this['_anchor']&&this[_0x258f20(0x3c0)][_0x258f20(0x306)](),this[_0x258f20(0x2ba)]&&this[_0x258f20(0x2ba)]();}[_0x33ce1a(0x41c)](){const _0x3c41d9=_0x33ce1a;var _0xc1e4ff;const {_docSkeleton:_0x5ba43b,_document:_0xdacc76}=this,{color:_0x13560e,name:_0x31e068,ranges:_0x488ff3}=this[_0x3c41d9(0x251)],_0x5dc3f8=_0xdacc76[_0x3c41d9(0x303)](),{docsLeft:_0x43f99e,docsTop:_0x37772a}=_0x5dc3f8,_0x3f223f=new _0x31a51f[(_0x3c41d9(0x231))](_0x5dc3f8,_0x5ba43b);for(const {startOffset:_0x30ad3a,endOffset:_0x508ca4,rangeType:_0x24ce33,segmentId:_0x2d9658,segmentPage:_0x464e3d,collapsed:_0xb3cdf5,isActive:_0x44dc2e}of _0x488ff3){const _0xbd59b1=_0x5ba43b['findNodePositionByCharIndex'](_0x30ad3a,!0x0,_0x2d9658,_0x464e3d);let _0x4fcad6=_0x5ba43b[_0x3c41d9(0x1d8)](_0x508ca4,!0x0,_0x2d9658,_0x464e3d);if(_0x4fcad6==null&&(_0x4fcad6=_0x5ba43b[_0x3c41d9(0x1d8)](_0x508ca4-0x1,!0x1,_0x2d9658,_0x464e3d)),_0x44dc2e){const {contentBoxPointGroup:_0x177a97}=_0x3f223f[_0x3c41d9(0x34b)](_0x4fcad6,_0x4fcad6);if(_0x177a97[_0x3c41d9(0x467)]===0x0)continue;this[_0x3c41d9(0x1fa)](_0x13560e,_0x177a97,_0x43f99e,_0x37772a,_0x31e068),this[_0x3c41d9(0x2ba)]=this[_0x3c41d9(0x1db)]();}if(_0xbd59b1&&_0x4fcad6){if(_0x24ce33===_0x563b3c[_0x3c41d9(0x229)][_0x3c41d9(0x295)]){const _0x1abd1d=new _0x31a51f[(_0x3c41d9(0x2de))](_0x5dc3f8,_0x5ba43b),{pointGroup:_0x650f95}=(_0xc1e4ff=_0x1abd1d[_0x3c41d9(0x34b)](_0xbd59b1,_0x4fcad6))!=null?_0xc1e4ff:{};if(_0x650f95==null||_0x650f95[_0x3c41d9(0x467)]===0x0)continue;this['_drawRectRange'](_0x13560e,_0x650f95,_0x43f99e,_0x37772a);}else{if(!_0xb3cdf5){const {borderBoxPointGroup:_0x1b4a20}=_0x3f223f[_0x3c41d9(0x34b)](_0xbd59b1,_0x4fcad6);if(_0x1b4a20['length']===0x0)continue;this[_0x3c41d9(0x30e)](_0x13560e,_0x1b4a20,_0x43f99e,_0x37772a);}}}}}[_0x33ce1a(0x1fa)](_0x5a7375,_0x444518,_0x4fb500,_0x43ad57,_0x257513){const _0x7d7051=_0x33ce1a,_0x50539c=this[_0x7d7051(0x474)](_0x444518),{left:_0x406d02,top:_0x130dee,height:_0x429e8b}=_0x50539c,_0x23af2e=this[_0x7d7051(0x2b4)](),_0x56870b=_0x11dee1/_0x23af2e,_0x517934=new _0x5456a1[(_0x7d7051(0x22f))](_0x5f17c9+_0x563b3c[_0x7d7051(0x44c)][_0x7d7051(0x444)](_0x4bf171),{'left':_0x406d02+_0x4fb500-_0x56870b,'top':_0x130dee+_0x43ad57,'height':_0x429e8b,'width':_0x13fca8,'fill':_0x5a7375||_0x5456a1[_0x7d7051(0x2ac)](_0x563b3c['COLORS'][_0x7d7051(0x294)],0x0),'strokeWidth':_0x56870b,'stroke':_0x7c639e,'evented':!0x0});this[_0x7d7051(0x3c0)]=_0x517934,this['_scene']['addObject'](_0x517934,_0x31a51f[_0x7d7051(0x3a7)]);const _0x13d862=new _0x5456a1[(_0x7d7051(0x22f))](_0x5f17c9+_0x563b3c[_0x7d7051(0x44c)][_0x7d7051(0x444)](_0x4bf171),{'left':_0x406d02+_0x4fb500-_0x56870b,'top':_0x130dee+_0x43ad57-_0x20a77f/0x2,'height':_0x20a77f,'width':_0x20a77f,'fill':_0x5a7375||_0x5456a1[_0x7d7051(0x2ac)](_0x563b3c['COLORS'][_0x7d7051(0x294)],0x0),'strokeWidth':0x0,'stroke':_0x5a7375||_0x5456a1['getColor'](_0x563b3c['COLORS'][_0x7d7051(0x294)],0x0),'evented':!0x1});this[_0x7d7051(0x45c)]=_0x13d862,this[_0x7d7051(0x370)][_0x7d7051(0x3d0)](_0x13d862,_0x31a51f[_0x7d7051(0x3a7)]);const _0xc48c3b=new _0x2d8723(_0x5f17c9+_0x563b3c['Tools']['generateRandomId'](_0x4bf171),{'left':_0x406d02+_0x4fb500-_0x56870b,'top':_0x130dee+_0x43ad57-_0x51d150,'text':_0x257513,'color':_0x5a7375});this[_0x7d7051(0x24b)]=_0xc48c3b,this[_0x7d7051(0x370)][_0x7d7051(0x3d0)](_0xc48c3b,_0x31a51f[_0x7d7051(0x3a7)]),this['_hover']=!0x1;}['_handleHover'](){const _0x11c47a=_0x33ce1a,_0x104b87=this[_0x11c47a(0x3c0)][_0x11c47a(0x3e9)][_0x11c47a(0x2be)](()=>{const _0x2fb2f7=_0x11c47a;this[_0x2fb2f7(0x2ef)]=!0x0;}),_0x818b15=this['_anchor'][_0x11c47a(0x2f8)][_0x11c47a(0x2be)](()=>{const _0x429a2e=_0x11c47a;this[_0x429a2e(0x394)]&&clearTimeout(this['_hideTimer']),this['_hideTimer']=setTimeout(()=>{const _0x124205=_0x429a2e;this[_0x124205(0x2ef)]=!0x1;},0x7d0);});return()=>{const _0x48dd48=_0x11c47a;_0x104b87[_0x48dd48(0x228)](),_0x818b15[_0x48dd48(0x228)]();};}[_0x33ce1a(0x30e)](_0x17daff,_0x6c888f,_0x25297d,_0x2df279){const _0x3863b6=_0x33ce1a,_0x1d7698=new _0x563b3c[(_0x3863b6(0x3c7))](_0x17daff)[_0x3863b6(0x315)](0.2)[_0x3863b6(0x45d)](),_0x431010=new _0x5456a1['RegularPolygon'](_0x4ded24+_0x563b3c['Tools'][_0x3863b6(0x444)](_0x4bf171),{'pointsGroup':_0x6c888f,'fill':_0x1d7698||_0x5456a1[_0x3863b6(0x2ac)](_0x563b3c[_0x3863b6(0x2e5)][_0x3863b6(0x294)],0.2),'left':_0x25297d,'top':_0x2df279,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3863b6(0x240)][_0x3863b6(0x45f)](_0x431010),this[_0x3863b6(0x370)][_0x3863b6(0x3d0)](_0x431010,_0x31a51f[_0x3863b6(0x3a7)]);}[_0x33ce1a(0x392)](_0x3b5c98,_0x370d2e,_0x2112d8,_0x3aeff8){const _0x4122ba=_0x33ce1a,_0x3b909e=new _0x563b3c[(_0x4122ba(0x3c7))](_0x3b5c98)[_0x4122ba(0x315)](0.2)['toRgbString'](),_0x549ae8=new _0x5456a1[(_0x4122ba(0x402))](_0x263b2c+_0x563b3c['Tools']['generateRandomId'](_0x4bf171),{'pointsGroup':_0x370d2e,'fill':_0x3b909e||_0x5456a1[_0x4122ba(0x2ac)](_0x563b3c[_0x4122ba(0x2e5)][_0x4122ba(0x294)],0.2),'left':_0x2112d8,'top':_0x3aeff8,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x4122ba(0x45f)](_0x549ae8),this['_scene']['addObject'](_0x549ae8,_0x31a51f[_0x4122ba(0x3a7)]);}['_getAnchorBounding'](_0x50c43d){const _0x5128c7=_0x50c43d[0x0],_0x959053=_0x5128c7[0x0],_0x3cd249=_0x5128c7[0x2],{x:_0x5e282c,y:_0x2e5d5a}=_0x959053,{x:_0x154cb1,y:_0xdf981d}=_0x3cd249;return{'left':_0x5e282c,'top':_0x2e5d5a,'width':_0x154cb1-_0x5e282c,'height':_0xdf981d-_0x2e5d5a};}[_0x33ce1a(0x2b4)](){const _0x11d619=_0x33ce1a,{scaleX:_0x26369d,scaleY:_0x397daa}=this[_0x11d619(0x370)][_0x11d619(0x214)]();return Math[_0x11d619(0x3ac)](_0x26369d,_0x397daa);}}var _0x5c77ee=Object[_0x33ce1a(0x43c)],_0x53ae34=(_0x1835fc,_0x4b000f,_0x51fd58,_0xda36ea)=>{const _0x5f10c3=_0x33ce1a;for(var _0x19644f=_0xda36ea>0x1?void 0x0:_0xda36ea?_0x5c77ee(_0x4b000f,_0x51fd58):_0x4b000f,_0x113637=_0x1835fc[_0x5f10c3(0x467)]-0x1,_0xc02b5c;_0x113637>=0x0;_0x113637--)(_0xc02b5c=_0x1835fc[_0x113637])&&(_0x19644f=_0xc02b5c(_0x19644f)||_0x19644f);return _0x19644f;},_0x8960b0=(_0x8b67dc,_0x8b57df)=>(_0x29a7c0,_0x256d15)=>_0x8b57df(_0x29a7c0,_0x256d15,_0x8b67dc);let _0x1e6a15=class extends _0x563b3c[_0x33ce1a(0x219)]{constructor(_0x52d632,_0x2f81b4,_0x47e7dd,_0x20fd90,_0x39aa78){const _0x513dcd=_0x33ce1a;super(),_0x17ffc1(this,_0x513dcd(0x2fd),[]),_0x17ffc1(this,_0x513dcd(0x2b6),[]),(this[_0x513dcd(0x43a)]=_0x52d632,this[_0x513dcd(0x31d)]=_0x2f81b4,this['_collabCursorController']=_0x47e7dd,this[_0x513dcd(0x2f9)]=_0x20fd90,this[_0x513dcd(0x405)]=_0x39aa78,this[_0x513dcd(0x397)]());}[_0x33ce1a(0x397)](){const _0x298994=_0x33ce1a,_0x446e7f=this[_0x298994(0x43a)][_0x298994(0x286)],_0x2dfc91=this['_docSkeletonManagerService'];this[_0x298994(0x248)](_0x185656[_0x298994(0x46c)]([this[_0x298994(0x3a2)][_0x298994(0x458)](_0x446e7f),this[_0x298994(0x405)][_0x298994(0x37d)]])[_0x298994(0x3ab)](_0xfa893a['map'](([_0x2b0ddf,_0x39d692])=>({'skeleton':_0x2dfc91[_0x298994(0x317)](),'cursors':[..._0x2b0ddf[_0x298994(0x31b)]()][_0x298994(0x429)](_0x12cc51=>({..._0x12cc51,'color':_0x39d692[_0x12cc51[_0x298994(0x20f)]]}))})))[_0x298994(0x273)](_0x3cac30=>{const _0x2ab921=_0x298994;if(this[_0x2ab921(0x2ec)](),_0x3cac30){const {skeleton:_0x407810,cursors:_0x3c92d0}=_0x3cac30;this[_0x2ab921(0x36e)](_0x407810,_0x3c92d0);}})),this['_initResize'](),this[_0x298994(0x22d)]();}[_0x33ce1a(0x36e)](_0x5ce249,_0x2c3f74){const _0x415b8e=_0x33ce1a,{scene:_0x500a45,mainComponent:_0x49c02b}=this[_0x415b8e(0x43a)],_0x130f88=_0x2c3f74[_0x415b8e(0x412)](_0x292f2a=>new _0x3eee42(_0x292f2a,_0x500a45,_0x5ce249,_0x49c02b));this['_cursorShapes']=_0x130f88,this[_0x415b8e(0x2b6)]=_0x2c3f74;}[_0x33ce1a(0x1e2)](){const _0x52c034=_0x33ce1a;this[_0x52c034(0x2ec)]();const {scene:_0x32b1b4,mainComponent:_0x4671e3}=this[_0x52c034(0x43a)],_0x29b86a=this[_0x52c034(0x31d)][_0x52c034(0x317)](),_0x3228e0=this[_0x52c034(0x2b6)]['map'](_0x33583d=>new _0x3eee42(_0x33583d,_0x32b1b4,_0x29b86a,_0x4671e3));this[_0x52c034(0x2fd)]=_0x3228e0;}[_0x33ce1a(0x2ec)](){const _0x29833d=_0x33ce1a;this[_0x29833d(0x2fd)][_0x29833d(0x453)](_0xe6d2d2=>_0xe6d2d2[_0x29833d(0x306)]()),this[_0x29833d(0x2fd)]=[];}['_initCommandExecutedListener'](){const _0x4f5267=_0x33ce1a,_0x9b25d4=[_0x31a51f['SetDocZoomRatioOperation']['id']];this[_0x4f5267(0x248)](this[_0x4f5267(0x2f9)][_0x4f5267(0x37c)](_0xb9b28=>{const _0x2a3d10=_0x4f5267;_0x9b25d4['includes'](_0xb9b28['id'])&&_0xb9b28['params'][_0x2a3d10(0x286)]===this[_0x2a3d10(0x43a)][_0x2a3d10(0x286)]&&this['_refreshCollabCursors']();}));}['_initResize'](){const _0x41d188=_0x33ce1a;this[_0x41d188(0x248)](_0x563b3c[_0x41d188(0x203)](this[_0x41d188(0x43a)][_0x41d188(0x40e)][_0x41d188(0x46d)])['pipe'](_0xfa893a[_0x41d188(0x3f4)](_0xf5b97a=>_0xf5b97a['type']===_0x5456a1[_0x41d188(0x35d)]['resize']),_0xfa893a[_0x41d188(0x2ea)](0x10))['subscribe'](()=>{this['_refreshCollabCursors']();}));}};_0x1e6a15=_0x53ae34([_0x8960b0(0x1,_0x563b3c['Inject'](_0x4a37f4['DocSkeletonManagerService'])),_0x8960b0(0x2,_0x563b3c[_0x33ce1a(0x41e)](_0x5621e8)),_0x8960b0(0x3,_0x563b3c[_0x33ce1a(0x2a5)]),_0x8960b0(0x4,_0x563b3c[_0x33ce1a(0x41e)](_0x563b3c[_0x33ce1a(0x1d7)]))],_0x1e6a15);const _0x16032f=0x1,_0x469653=1.5;class _0x421db6 extends _0x5456a1[_0x33ce1a(0x419)]{constructor(_0x64083,_0x505af9){const _0x6c6799=_0x33ce1a;super(_0x64083,_0x505af9),_0x17ffc1(this,'_color'),_0x17ffc1(this,'_hovered',!0x1),_0x17ffc1(this,_0x6c6799(0x3bb)),_0x17ffc1(this,'_name',''),_0x17ffc1(this,'_labelPosition',_0x6c6799(0x1ee)),_0x17ffc1(this,_0x6c6799(0x346)),(_0x505af9&&this[_0x6c6799(0x3b3)](_0x505af9),this['onPointerEnter$'][_0x6c6799(0x2be)](()=>this[_0x6c6799(0x3b3)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this['setShapeProps']({'hovered':!0x1})));}['setShapeProps'](_0x57239c){const _0x15fd64=_0x33ce1a;var _0x6e35eb,_0x28c0c6,_0x31421f,_0x221af8,_0x4adf2b,_0x1f7553;this['_color']=(_0x6e35eb=_0x57239c[_0x15fd64(0x20f)])!=null?_0x6e35eb:this[_0x15fd64(0x254)],this[_0x15fd64(0x2d2)]=(_0x28c0c6=_0x57239c[_0x15fd64(0x1da)])!=null?_0x28c0c6:this[_0x15fd64(0x2d2)],this[_0x15fd64(0x3bb)]=(_0x31421f=_0x57239c['range'])!=null?_0x31421f:this[_0x15fd64(0x3bb)],this[_0x15fd64(0x239)]=(_0x221af8=_0x57239c[_0x15fd64(0x2c7)])!=null?_0x221af8:this[_0x15fd64(0x239)],this[_0x15fd64(0x32d)]=(_0x4adf2b=_0x57239c[_0x15fd64(0x235)])!=null?_0x4adf2b:this[_0x15fd64(0x32d)],this[_0x15fd64(0x346)]=(_0x1f7553=_0x57239c[_0x15fd64(0x2c4)])!=null?_0x1f7553:this[_0x15fd64(0x346)],this['transformByState']({'width':_0x57239c[_0x15fd64(0x455)],'height':_0x57239c[_0x15fd64(0x452)]});}['onMouseMove'](_0x50658e){const _0x4c5fdf=_0x33ce1a,{row:_0x3eb602,column:_0x26b5a6}=_0x50658e;if(_0x3eb602>=this['_range'][_0x4c5fdf(0x2f6)]&&_0x3eb602<=this[_0x4c5fdf(0x3bb)][_0x4c5fdf(0x44b)]&&_0x26b5a6>=this['_range']['startColumn']&&_0x26b5a6<=this['_range'][_0x4c5fdf(0x325)]){this[_0x4c5fdf(0x3b3)]({'hovered':!0x0});return;}this[_0x4c5fdf(0x3b3)]({'hovered':!0x1});}[_0x33ce1a(0x3e3)](_0x211090){return!0x1;}['_draw'](_0x42a707){const _0x421a0e=_0x33ce1a;_0x5456a1[_0x421a0e(0x22f)][_0x421a0e(0x33a)](_0x42a707,{'width':this[_0x421a0e(0x455)],'height':this[_0x421a0e(0x452)],'strokeWidth':_0x469653,'stroke':this[_0x421a0e(0x254)],'evented':!0x1,'fill':this[_0x421a0e(0x346)]}),this[_0x421a0e(0x2d2)]&&(_0x42a707[_0x421a0e(0x3a0)](),_0x42a707[_0x421a0e(0x3ed)](0x1,0x0,0x0,0x1,this['width'],this[_0x421a0e(0x32d)]==='bottom'?0x0:-0x14),_0x2d8723[_0x421a0e(0x33a)](_0x42a707,{'text':this[_0x421a0e(0x239)],'color':this[_0x421a0e(0x254)]}),_0x42a707[_0x421a0e(0x270)]());}}var _0x5c112c=Object[_0x33ce1a(0x43c)],_0x31b053=(_0x29ac35,_0x39adba,_0x3f4aac,_0x2039c8)=>{for(var _0x1bc490=_0x2039c8>0x1?void 0x0:_0x2039c8?_0x5c112c(_0x39adba,_0x3f4aac):_0x39adba,_0x2543bc=_0x29ac35['length']-0x1,_0x480da1;_0x2543bc>=0x0;_0x2543bc--)(_0x480da1=_0x29ac35[_0x2543bc])&&(_0x1bc490=_0x480da1(_0x1bc490)||_0x1bc490);return _0x1bc490;},_0x2b72c9=(_0x165845,_0x5120c7)=>(_0x2c74ac,_0x38cb7a)=>_0x5120c7(_0x2c74ac,_0x38cb7a,_0x165845);const _0x541a97=0x1389;let _0x4d5687=class extends _0x563b3c['RxDisposable']{constructor(_0x4686f5,_0x4ec0b9,_0x25c2cd,_0x2ad1d1){const _0x5f66f=_0x33ce1a;super(),_0x17ffc1(this,'_cursors',new Set()),_0x17ffc1(this,_0x5f66f(0x2dd),null),(this[_0x5f66f(0x43a)]=_0x4686f5,this[_0x5f66f(0x30d)]=_0x4ec0b9,this[_0x5f66f(0x3a2)]=_0x25c2cd,this[_0x5f66f(0x405)]=_0x2ad1d1,this['_init']());}[_0x33ce1a(0x397)](){const _0xb3bba8=_0x33ce1a;this['_sheetSkeletonManagerService'][_0xb3bba8(0x3bd)][_0xb3bba8(0x3ab)](_0xfa893a[_0xb3bba8(0x3c1)](this[_0xb3bba8(0x32b)]),_0xfa893a[_0xb3bba8(0x23a)](_0x2361b3=>{const _0x388ceb=_0xb3bba8;if(_0x2361b3){const _0x1f64ac=_0x2361b3[_0x388ceb(0x3f5)];return _0x185656['combineLatest'](this['_collabCursorController']['getCollabCursors$'](this['_context'][_0x388ceb(0x286)]),this['_themeService'][_0x388ceb(0x37d)])[_0x388ceb(0x3ab)](_0xfa893a['map'](([_0x21d000,_0xb3e60c])=>{const _0x447731=_0x388ceb,_0xf5a1b2=new Map();return _0x21d000[_0x447731(0x453)]((_0x4758b5,_0x51d869)=>{const _0x469ba9=_0x447731;if(_0x4758b5[_0x469ba9(0x2c2)]===_0x1f64ac){const _0x2c1979={..._0x4758b5};_0x2c1979['color']=_0xb3e60c[_0x4758b5[_0x469ba9(0x20f)]],_0xf5a1b2['set'](_0x51d869,_0x2c1979);}}),{'skeleton':_0x2361b3,'cursors':_0xf5a1b2};}));}return _0x185656['of']({'skeleton':null,'cursors':new Map()});}))[_0xb3bba8(0x273)](({skeleton:_0x36c9c6,cursors:_0x168150})=>{const _0x54fdb9=_0xb3bba8;this['_removeCollabCursors'](),_0x36c9c6&&this[_0x54fdb9(0x36e)](_0x36c9c6,_0x168150);}),this[_0xb3bba8(0x30d)][_0xb3bba8(0x3bd)][_0xb3bba8(0x273)](_0x3645d8=>{const _0x6d56da=_0xb3bba8;if(_0x3645d8==null)return;const {skeleton:_0x3aa537}=_0x3645d8,{scene:_0x5b3132}=this['_context'];_0x5b3132[_0x6d56da(0x416)][_0x6d56da(0x2be)](_0x563b3c[_0x6d56da(0x47a)](_0x21afda=>{const _0x1437f3=_0x6d56da;var _0x4e1772,_0x2dfa0a;const {offsetX:_0x52b421,offsetY:_0x2e0733}=_0x21afda,{x:_0x24a4db,y:_0x55b69b}=_0x5b3132[_0x1437f3(0x1e3)](_0x5456a1[_0x1437f3(0x250)]['FromArray']([_0x52b421,_0x2e0733])),{scaleX:_0x5c93be,scaleY:_0x5dcacb}=_0x5b3132[_0x1437f3(0x214)](),_0x5de243=_0x5b3132[_0x1437f3(0x25b)](_0x5456a1[_0x1437f3(0x2f0)]['VIEW_MAIN']),_0x20bd5e=_0x5b3132[_0x1437f3(0x45b)](_0x5456a1[_0x1437f3(0x250)][_0x1437f3(0x32a)]([_0x24a4db,_0x55b69b]),_0x5de243),_0x368fb7=_0x3aa537[_0x1437f3(0x337)](_0x52b421,_0x2e0733,_0x5c93be,_0x5dcacb,_0x20bd5e);((_0x4e1772=this[_0x1437f3(0x2dd)])==null?void 0x0:_0x4e1772[_0x1437f3(0x329)])===_0x368fb7[_0x1437f3(0x329)]&&((_0x2dfa0a=this[_0x1437f3(0x2dd)])==null?void 0x0:_0x2dfa0a[_0x1437f3(0x464)])===_0x368fb7['row']||this['_cursors'][_0x1437f3(0x453)](_0x2254f1=>{_0x2254f1['onMouseMove'](_0x368fb7);});},0x64));});}[_0x33ce1a(0x36e)](_0xab8e13,_0x4b312e){const _0x13bdd5=_0x33ce1a;var _0x2dd2f0;const _0x42ea1e=(_0x2dd2f0=this[_0x13bdd5(0x30d)][_0x13bdd5(0x375)]())==null?void 0x0:_0x2dd2f0[_0x13bdd5(0x3f8)];if(!_0x42ea1e)return;const _0x20d411=this['_getSheetObject']();if(!_0x20d411)return;this[_0x13bdd5(0x2b6)]['forEach'](_0x2864fb=>{_0x2864fb['makeDirty']();});const {scene:_0x3b22ee}=_0x20d411,_0x368515=_0x346c75(Array[_0x13bdd5(0x403)](_0x4b312e['values']()))[_0x13bdd5(0x412)](_0x307187=>{const _0x42d147=_0x13bdd5,{color:_0x49f61a,range:_0x17c1d9,name:_0x586802,selection:_0xd0ee2f,sheetID:_0x24dedd}=_0x307187,{startColumn:_0x362a8b,startRow:_0x5e945f,endColumn:_0x1f6219,endRow:_0x415663}=_0x17c1d9,_0x3c0356=_0x1c136c[_0x42d147(0x47b)](_0x5e945f,_0x362a8b,_0x3b22ee,_0x42ea1e),_0x3280cf=_0x1c136c[_0x42d147(0x47b)](_0x415663,_0x1f6219,_0x3b22ee,_0x42ea1e),{columnHeaderHeightAndMarginTop:_0x118181}=_0x42ea1e,{startX:_0x25bc78,startY:_0x337386}=_0x3c0356,{endX:_0x231af6,endY:_0xfa1d23}=_0x3280cf,_0x4a3aba=_0x231af6-_0x25bc78,_0x5e0360=_0xfa1d23-_0x337386,_0x1f2f7f={'labelPosition':_0x337386-_0x118181>=_0x51d150?_0x42d147(0x1ee):'bottom','sheetID':_0x24dedd,'range':_0x17c1d9,'color':_0x49f61a,'name':_0x586802,'selection':_0xd0ee2f,'left':_0x25bc78,'top':_0x337386,'width':_0x4a3aba,'height':_0x5e0360,'evented':!0x1,'zIndex':_0x541a97};return new _0x421db6(_0x586802,_0x1f2f7f);});_0x3b22ee[_0x13bdd5(0x222)](_0x368515,_0x16032f),this[_0x13bdd5(0x2b6)]=new Set(_0x368515);}[_0x33ce1a(0x2ec)](){const _0x358863=_0x33ce1a;var _0x44f8d4;(_0x44f8d4=this[_0x358863(0x2b6)])==null||_0x44f8d4['forEach'](_0xa36705=>_0xa36705[_0x358863(0x306)]());}[_0x33ce1a(0x30b)](){const _0x54ad03=_0x33ce1a;return _0x1c136c[_0x54ad03(0x1d9)](this[_0x54ad03(0x43a)][_0x54ad03(0x425)],this[_0x54ad03(0x43a)]);}};_0x4d5687=_0x31b053([_0x2b72c9(0x1,_0x563b3c[_0x33ce1a(0x41e)](_0x1c136c[_0x33ce1a(0x454)])),_0x2b72c9(0x2,_0x563b3c[_0x33ce1a(0x41e)](_0x5621e8)),_0x2b72c9(0x3,_0x563b3c[_0x33ce1a(0x41e)](_0x563b3c[_0x33ce1a(0x1d7)]))],_0x4d5687);function _0x346c75(_0x865acc){const _0x51369a=_0x33ce1a,_0x1e4319=new Map();return _0x865acc[_0x51369a(0x453)](_0x81a3e1=>{const _0x4fc36a=_0x51369a;if(_0x1e4319[_0x4fc36a(0x3ee)](_0x81a3e1[_0x4fc36a(0x1eb)])){const _0x3f12aa=_0x1e4319[_0x4fc36a(0x238)](_0x81a3e1[_0x4fc36a(0x1eb)]);_0x3f12aa[_0x4fc36a(0x2c7)]+=',\x20'+_0x81a3e1[_0x4fc36a(0x2c7)];}else _0x1e4319[_0x4fc36a(0x245)](_0x81a3e1[_0x4fc36a(0x1eb)],_0x81a3e1);}),Array[_0x51369a(0x403)](_0x1e4319[_0x51369a(0x31b)]());}var _0x424837=function(){const _0x5bb40f=_0x33ce1a;return _0x424837=Object['assign']||function(_0x714660){const _0xa8c199=_0x437c;for(var _0x32549d,_0x1fb04f=0x1,_0xc3ed70=arguments[_0xa8c199(0x467)];_0x1fb04f<_0xc3ed70;_0x1fb04f++){_0x32549d=arguments[_0x1fb04f];for(var _0x310075 in _0x32549d)Object[_0xa8c199(0x26d)][_0xa8c199(0x1f2)][_0xa8c199(0x2dc)](_0x32549d,_0x310075)&&(_0x714660[_0x310075]=_0x32549d[_0x310075]);}return _0x714660;},_0x424837[_0x5bb40f(0x390)](this,arguments);},_0x52e86d=function(_0x286e5b,_0x57aca){const _0x5ae127=_0x33ce1a;var _0x58bb12={};for(var _0x202f89 in _0x286e5b)Object['prototype'][_0x5ae127(0x1f2)][_0x5ae127(0x2dc)](_0x286e5b,_0x202f89)&&_0x57aca[_0x5ae127(0x285)](_0x202f89)<0x0&&(_0x58bb12[_0x202f89]=_0x286e5b[_0x202f89]);if(_0x286e5b!=null&&typeof Object['getOwnPropertySymbols']==_0x5ae127(0x236)){for(var _0x517637=0x0,_0x202f89=Object[_0x5ae127(0x2ae)](_0x286e5b);_0x517637<_0x202f89['length'];_0x517637++)_0x57aca[_0x5ae127(0x285)](_0x202f89[_0x517637])<0x0&&Object[_0x5ae127(0x26d)][_0x5ae127(0x3fb)][_0x5ae127(0x2dc)](_0x286e5b,_0x202f89[_0x517637])&&(_0x58bb12[_0x202f89[_0x517637]]=_0x286e5b[_0x202f89[_0x517637]]);}return _0x58bb12;},_0x1bd2fa=_0x3271c2[_0x33ce1a(0x36a)](function(_0x30ac7e,_0x21a8c6){const _0x5111a7=_0x33ce1a;var _0x35e9ac=_0x30ac7e[_0x5111a7(0x292)],_0x4a3610=_0x30ac7e['id'],_0x230a48=_0x30ac7e['className'],_0x3c035f=_0x30ac7e[_0x5111a7(0x391)],_0x290767=_0x52e86d(_0x30ac7e,[_0x5111a7(0x292),'id',_0x5111a7(0x32c),_0x5111a7(0x391)]),_0x593f84=_0x5111a7(0x3e5)['concat'](_0x4a3610,'\x20')['concat'](_0x230a48||'')[_0x5111a7(0x1e1)](),_0x2df23f=_0x3271c2[_0x5111a7(0x39d)]('_'['concat'](_0x7f855c()));return _0x49ce15(_0x35e9ac,''[_0x5111a7(0x2c9)](_0x4a3610),{'defIds':_0x35e9ac[_0x5111a7(0x29d)],'idSuffix':_0x2df23f[_0x5111a7(0x307)]},_0x424837({'ref':_0x21a8c6,'className':_0x593f84},_0x290767),_0x3c035f);});function _0x49ce15(_0x4542bb,_0x275806,_0x13f5bf,_0x2401ed,_0x45cf4d){const _0x1f3226=_0x33ce1a;return _0x3271c2['createElement'](_0x4542bb['tag'],_0x424837(_0x424837({'key':_0x275806},_0x28517a(_0x4542bb,_0x13f5bf,_0x45cf4d)),_0x2401ed),(_0x483335(_0x4542bb,_0x13f5bf)['children']||[])[_0x1f3226(0x412)](function(_0x54233e,_0x5582f1){const _0x1c7e09=_0x1f3226;return _0x49ce15(_0x54233e,''[_0x1c7e09(0x2c9)](_0x275806,'-')['concat'](_0x4542bb[_0x1c7e09(0x439)],'-')[_0x1c7e09(0x2c9)](_0x5582f1),_0x13f5bf,void 0x0,_0x45cf4d);}));}function _0x28517a(_0x1ef62d,_0x486e37,_0x104224){const _0x13b27a=_0x33ce1a;var _0x58782b=_0x424837({},_0x1ef62d[_0x13b27a(0x2bc)]);_0x104224!=null&&_0x104224['colorChannel1']&&_0x58782b[_0x13b27a(0x3d4)]===_0x13b27a(0x309)&&(_0x58782b[_0x13b27a(0x3d4)]=_0x104224[_0x13b27a(0x309)]),_0x1ef62d[_0x13b27a(0x439)]===_0x13b27a(0x441)&&_0x58782b['id']&&(_0x58782b['id']=_0x58782b['id']+_0x486e37['idSuffix']),Object[_0x13b27a(0x33b)](_0x58782b)[_0x13b27a(0x453)](function(_0x5e8af9){const _0x594e72=_0x13b27a;var _0xec6f59=_0x5e8af9[0x0],_0x9a233c=_0x5e8af9[0x1];_0xec6f59==='mask'&&typeof _0x9a233c==_0x594e72(0x2b5)&&(_0x58782b[_0xec6f59]=_0x9a233c[_0x594e72(0x264)](/url\(#(.*)\)/,_0x594e72(0x465)['concat'](_0x486e37[_0x594e72(0x26b)],')')));});var _0xdd8edc=_0x486e37[_0x13b27a(0x29d)];return!_0xdd8edc||_0xdd8edc[_0x13b27a(0x467)]===0x0||(_0x1ef62d[_0x13b27a(0x439)]===_0x13b27a(0x3db)&&_0x58782b[_0x13b27a(0x262)]&&(_0x58782b['xlink:href']=_0x58782b['xlink:href']+_0x486e37[_0x13b27a(0x26b)]),Object[_0x13b27a(0x33b)](_0x58782b)[_0x13b27a(0x453)](function(_0x4d60ff){const _0x508a2=_0x13b27a;var _0x4855b6=_0x4d60ff[0x0],_0x419c47=_0x4d60ff[0x1];typeof _0x419c47==_0x508a2(0x2b5)&&(_0x58782b[_0x4855b6]=_0x419c47[_0x508a2(0x264)](/url\(#(.*)\)/,'url(#$1'['concat'](_0x486e37['idSuffix'],')')));})),_0x58782b;}function _0x483335(_0xea9318,_0x2d338e){const _0xd940bc=_0x33ce1a;var _0x22e55b,_0x4cc0c0=_0x2d338e['defIds'];return!_0x4cc0c0||_0x4cc0c0[_0xd940bc(0x467)]===0x0?_0xea9318:_0xea9318[_0xd940bc(0x439)]===_0xd940bc(0x3d6)&&(!((_0x22e55b=_0xea9318[_0xd940bc(0x2d1)])===null||_0x22e55b===void 0x0)&&_0x22e55b[_0xd940bc(0x467)])?_0x424837(_0x424837({},_0xea9318),{'children':_0xea9318[_0xd940bc(0x2d1)][_0xd940bc(0x412)](function(_0x4e2c41){const _0x28b6ec=_0xd940bc;return typeof _0x4e2c41[_0x28b6ec(0x2bc)]['id']==_0x28b6ec(0x2b5)&&_0x4cc0c0&&_0x4cc0c0[_0x28b6ec(0x285)](_0x4e2c41[_0x28b6ec(0x2bc)]['id'])>-0x1?_0x424837(_0x424837({},_0x4e2c41),{'attrs':_0x424837(_0x424837({},_0x4e2c41[_0x28b6ec(0x2bc)]),{'id':_0x4e2c41[_0x28b6ec(0x2bc)]['id']+_0x2d338e[_0x28b6ec(0x26b)]})}):_0x4e2c41;})}):_0xea9318;}function _0x7f855c(){const _0x8ebbb6=_0x33ce1a;return Math[_0x8ebbb6(0x3be)]()['toString'](0x24)['substring'](0x2,0x8);}_0x1bd2fa['displayName']=_0x33ce1a(0x3f9);var _0x123782={'tag':_0x33ce1a(0x364),'attrs':{'fill':'none','viewBox':_0x33ce1a(0x42e),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x33ce1a(0x42d)},'children':[{'tag':'path','attrs':{'stroke':_0x33ce1a(0x379),'d':_0x33ce1a(0x21a),'strokeLinecap':_0x33ce1a(0x230),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x33ce1a(0x3d6),'attrs':{},'children':[{'tag':_0x33ce1a(0x336),'attrs':{'id':'off-line-single_clip0_910_343'},'children':[{'tag':_0x33ce1a(0x233),'attrs':{'fill':'#fff','d':_0x33ce1a(0x30c)}}]}]}],'defIds':[_0x33ce1a(0x2e0)]},_0x131fba=_0x3271c2[_0x33ce1a(0x36a)](function(_0xcc95d8,_0x251f58){const _0x1c4bbb=_0x33ce1a;return _0x3271c2[_0x1c4bbb(0x3df)](_0x1bd2fa,Object[_0x1c4bbb(0x462)]({},_0xcc95d8,{'id':_0x1c4bbb(0x39e),'ref':_0x251f58,'icon':_0x123782}));});_0x131fba[_0x33ce1a(0x2f5)]=_0x33ce1a(0x243);var _0x2dc891={'tag':_0x33ce1a(0x364),'attrs':{'fill':_0x33ce1a(0x1f7),'viewBox':_0x33ce1a(0x3b2),'width':_0x33ce1a(0x473),'height':_0x33ce1a(0x473)},'children':[{'tag':'g','attrs':{'clipPath':_0x33ce1a(0x3b1)},'children':[{'tag':_0x33ce1a(0x233),'attrs':{'stroke':_0x33ce1a(0x379),'d':_0x33ce1a(0x28c),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':_0x33ce1a(0x336),'attrs':{'id':_0x33ce1a(0x354)},'children':[{'tag':'path','attrs':{'fill':_0x33ce1a(0x3f1),'d':_0x33ce1a(0x30c),'transform':_0x33ce1a(0x477)}}]}]}],'defIds':[_0x33ce1a(0x354)]},_0x4bec2b=_0x3271c2[_0x33ce1a(0x36a)](function(_0x2790cf,_0x1fc57f){const _0x30f858=_0x33ce1a;return _0x3271c2[_0x30f858(0x3df)](_0x1bd2fa,Object[_0x30f858(0x462)]({},_0x2790cf,{'id':_0x30f858(0x347),'ref':_0x1fc57f,'icon':_0x2dc891}));});_0x4bec2b[_0x33ce1a(0x2f5)]=_0x33ce1a(0x28f);const _0x236b2b={'onlineStatusIcon':_0x33ce1a(0x386),'onlineStatusTitle':_0x33ce1a(0x20b),'onlineStatus':'univer-online-status','online':'univer-online','offline':_0x33ce1a(0x234)};function _0x524db5(_0x1bd839){const _0x32cadc=_0x33ce1a;switch(_0x1bd839){case _0x35cb60[_0x32cadc(0x398)][_0x32cadc(0x368)]:return _0x32cadc(0x339);case _0x35cb60[_0x32cadc(0x398)]['CONFLICT']:return _0x32cadc(0x2b1);case _0x35cb60[_0x32cadc(0x398)][_0x32cadc(0x1f6)]:return'collabStatus.fetchMiss';case _0x35cb60[_0x32cadc(0x398)][_0x32cadc(0x409)]:return'collabStatus.notCollab';case _0x35cb60[_0x32cadc(0x398)]['AWAITING']:case _0x35cb60['CollaborationStatus'][_0x32cadc(0x38b)]:return'collabStatus.syncing';case _0x35cb60[_0x32cadc(0x398)]['SYNCED']:case _0x35cb60['CollaborationStatus'][_0x32cadc(0x3da)]:return _0x32cadc(0x418);}}function _0x23c6fa(_0x2adf00){const _0x447fd0=_0x33ce1a,{status$:_0x422a3c}=_0x2adf00,_0x2b4bc2=_0x401f0f[_0x447fd0(0x3c4)](_0x422a3c,_0x35cb60['CollaborationStatus']['NOT_COLLAB']),_0x5d9177=_0x401f0f[_0x447fd0(0x420)](_0x563b3c[_0x447fd0(0x2e1)]),_0x588f59=_0x401f0f[_0x447fd0(0x420)](_0x35cb60[_0x447fd0(0x320)]),_0x45593=_0x2b4bc2!==_0x35cb60[_0x447fd0(0x398)][_0x447fd0(0x368)],_0x210457=_0x5d9177['t'](_0x524db5(_0x2b4bc2)),_0x4410bc=_0x159f9c[_0x447fd0(0x46b)](_0x236b2b[_0x447fd0(0x432)],{[_0x236b2b[_0x447fd0(0x3fa)]]:_0x45593,[_0x236b2b[_0x447fd0(0x28e)]]:!_0x45593}),_0x497f65=_0x45593?_0x559ca8[_0x447fd0(0x319)](_0x4bec2b,{}):_0x559ca8[_0x447fd0(0x319)](_0x131fba,{}),_0x178d44=_0x3271c2[_0x447fd0(0x1f5)](()=>{const _0x3ce6a9=_0x447fd0;_0x45593||_0x588f59[_0x3ce6a9(0x35a)]();},[_0x45593,_0x588f59]);function _0x5bb836(){const _0x220285=_0x447fd0;return _0x559ca8[_0x220285(0x436)]('div',{'className':_0x159f9c[_0x220285(0x46b)](_0x4410bc,_0x220285(0x3f7)),'onClick':_0x178d44,'children':[_0x559ca8[_0x220285(0x319)](_0x220285(0x422),{'className':_0x236b2b[_0x220285(0x330)],'children':_0x497f65}),_0x559ca8[_0x220285(0x319)](_0x220285(0x422),{'className':_0x236b2b[_0x220285(0x43e)],'children':_0x210457})]});}return _0x45593?_0x5bb836():_0x559ca8['jsx'](_0x159f9c[_0x447fd0(0x276)],{'title':_0x5d9177['t'](_0x447fd0(0x361)),'children':_0x5bb836()});}var _0x31a63c=Object[_0x33ce1a(0x43c)],_0x4e3f97=(_0x4b13db,_0x12059f,_0x2d3d47,_0x3a4d85)=>{const _0x29f611=_0x33ce1a;for(var _0xfbf681=_0x3a4d85>0x1?void 0x0:_0x3a4d85?_0x31a63c(_0x12059f,_0x2d3d47):_0x12059f,_0x3f0383=_0x4b13db[_0x29f611(0x467)]-0x1,_0x3280e0;_0x3f0383>=0x0;_0x3f0383--)(_0x3280e0=_0x4b13db[_0x3f0383])&&(_0xfbf681=_0x3280e0(_0xfbf681)||_0xfbf681);return _0xfbf681;},_0x1bb4e4=(_0x3e7bf9,_0x542c3a)=>(_0x5e2fe4,_0x5bd4bb)=>_0x542c3a(_0x5e2fe4,_0x5bd4bb,_0x3e7bf9);_0x4b43a5['DesktopCollaborationStatusDisplayController']=class extends _0x563b3c[_0x33ce1a(0x3d2)]{constructor(_0x388b8c,_0x186854,_0x1b3800,_0xfa62e1){const _0x2d4f74=_0x33ce1a;super(),_0x17ffc1(this,_0x2d4f74(0x2cb),new _0x185656[(_0x2d4f74(0x25f))](_0x35cb60[_0x2d4f74(0x398)][_0x2d4f74(0x409)])),(this['_univerInstanceService']=_0x388b8c,this['_injector']=_0x186854,this[_0x2d4f74(0x37e)]=_0x1b3800,this[_0x2d4f74(0x1fd)]=_0xfa62e1,this[_0x2d4f74(0x3b0)](),this[_0x2d4f74(0x298)]());}[_0x33ce1a(0x298)](){const _0x3522c6=_0x33ce1a;this[_0x3522c6(0x248)](this[_0x3522c6(0x3d7)][_0x3522c6(0x22b)]['pipe'](_0x185656['switchMap'](()=>{const _0x142590=_0x3522c6,_0x4c233a=this[_0x142590(0x3d7)]['getFocusedUnit']();return _0x4c233a?this[_0x142590(0x37e)][_0x142590(0x1e0)](_0x4c233a[_0x142590(0x205)]()):_0x185656['of'](null);}),_0x185656['switchMap'](_0x3f40b4=>_0x3f40b4?_0x3f40b4['status$']:_0x185656['of'](_0x35cb60[_0x3522c6(0x398)]['NOT_COLLAB'])))[_0x3522c6(0x273)](_0x28e51d=>{const _0x394984=_0x3522c6;this['_status$'][_0x394984(0x44f)](_0x28e51d);}));}[_0x33ce1a(0x3b0)](){const _0x1642c2=_0x33ce1a;this['disposeWithMe'](this['_uiPartsService'][_0x1642c2(0x3a5)](_0x401f0f[_0x1642c2(0x1dc)]['HEADER_MENU'],()=>_0x401f0f['connectInjector'](_0x24bc36({'status$':this[_0x1642c2(0x2cb)][_0x1642c2(0x327)]()}),this[_0x1642c2(0x252)])));}},_0x4b43a5[_0x33ce1a(0x38c)]=_0x4e3f97([_0x1bb4e4(0x0,_0x563b3c['IUniverInstanceService']),_0x1bb4e4(0x1,_0x563b3c[_0x33ce1a(0x41e)](_0x563b3c[_0x33ce1a(0x21b)])),_0x1bb4e4(0x2,_0x563b3c['Inject'](_0x35cb60[_0x33ce1a(0x2ed)])),_0x1bb4e4(0x3,_0x401f0f[_0x33ce1a(0x297)])],_0x4b43a5['DesktopCollaborationStatusDisplayController']);function _0x24bc36(_0x423dc3){const {status$:_0x41c59c}=_0x423dc3;return function(){const _0x2d5d1e=_0x437c;return _0x559ca8[_0x2d5d1e(0x319)](_0x23c6fa,{'status$':_0x41c59c});};}var _0x416207=Object['getOwnPropertyDescriptor'],_0x5ddcba=(_0x416096,_0x3eb4c9,_0x138e34,_0x23fb57)=>{for(var _0x4ffe26=_0x23fb57>0x1?void 0x0:_0x23fb57?_0x416207(_0x3eb4c9,_0x138e34):_0x3eb4c9,_0x56f321=_0x416096['length']-0x1,_0xabab1e;_0x56f321>=0x0;_0x56f321--)(_0xabab1e=_0x416096[_0x56f321])&&(_0x4ffe26=_0xabab1e(_0x4ffe26)||_0x4ffe26);return _0x4ffe26;},_0x5dd51b=(_0x16790b,_0x39b381)=>(_0x454687,_0x155810)=>_0x39b381(_0x454687,_0x155810,_0x16790b);let _0x1dc760=class extends _0x563b3c['Disposable']{constructor(_0x5d52b5,_0x347165,_0x57be57,_0x245089,_0x4f2f0f,_0xc6d63a){const _0x57fb49=_0x33ce1a;super(),this[_0x57fb49(0x450)]=_0x5d52b5,this['_localCacheService']=_0x347165,this[_0x57fb49(0x411)]=_0x57be57,this[_0x57fb49(0x406)]=_0x245089,this[_0x57fb49(0x395)]=_0x4f2f0f,this[_0x57fb49(0x404)]=_0xc6d63a,this['_setupBeforeClosingHandler'](),this[_0x57fb49(0x2a1)]();}[_0x33ce1a(0x237)](){const _0x39c356=_0x33ce1a;this[_0x39c356(0x248)](this[_0x39c356(0x450)]['registerBeforeClose'](()=>{const _0x293ff1=_0x39c356;if(this[_0x293ff1(0x3de)]['saveTaskMap']['size'])return this[_0x293ff1(0x404)]['t']('collaboration-client.offline-data-not-saved');}));}[_0x33ce1a(0x2a1)](){const _0x29b95b=_0x33ce1a;this[_0x29b95b(0x248)](this['_collaborationUIEventService'][_0x29b95b(0x3af)][_0x29b95b(0x273)](_0x42c767=>{const _0x5483a0=_0x29b95b;_0x42c767['id']===_0x35cb60[_0x5483a0(0x1e5)][_0x5483a0(0x305)]&&this[_0x5483a0(0x406)][_0x5483a0(0x2fa)]({'type':_0x159f9c[_0x5483a0(0x43b)][_0x5483a0(0x39c)],'content':this[_0x5483a0(0x404)]['t']('collaboration.single-unit.warning')}),_0x42c767['id']===_0x35cb60[_0x5483a0(0x1e5)][_0x5483a0(0x3fd)]&&this[_0x5483a0(0x406)][_0x5483a0(0x2fa)]({'type':_0x159f9c[_0x5483a0(0x43b)][_0x5483a0(0x39c)],'content':this['_localeService']['t'](_0x5483a0(0x241))}),_0x42c767['id']===_0x35cb60['CollaborationUIEventId'][_0x5483a0(0x2e2)]&&this['_notificationService'][_0x5483a0(0x2fa)]({'title':this[_0x5483a0(0x404)]['t'](_0x5483a0(0x35b)),'content':this[_0x5483a0(0x404)]['t'](_0x5483a0(0x27b)),'type':'error','duration':0x0}),_0x42c767['id']===_0x35cb60['CollaborationUIEventId'][_0x5483a0(0x24e)]&&this[_0x5483a0(0x406)][_0x5483a0(0x2fa)]({'type':_0x159f9c[_0x5483a0(0x43b)]['Error'],'content':this['_localeService']['t'](_0x5483a0(0x241))+'('+_0x42c767[_0x5483a0(0x255)]+')'}),_0x42c767['id']===_0x35cb60[_0x5483a0(0x1e5)][_0x5483a0(0x357)]&&this['_messageService']['show']({'type':_0x159f9c['MessageType'][_0x5483a0(0x39c)],'content':this[_0x5483a0(0x404)]['t'](_0x42c767['data']||'')}),_0x42c767['id']===_0x35cb60[_0x5483a0(0x1e5)][_0x5483a0(0x2e8)]&&this[_0x5483a0(0x406)][_0x5483a0(0x2fa)]({'type':_0x159f9c['MessageType'][_0x5483a0(0x39c)],'content':this[_0x5483a0(0x404)]['t'](_0x5483a0(0x33e))}),_0x42c767['id']===_0x35cb60[_0x5483a0(0x1e5)][_0x5483a0(0x284)]&&this[_0x5483a0(0x406)][_0x5483a0(0x2fa)]({'type':_0x159f9c[_0x5483a0(0x43b)]['Error'],'content':this[_0x5483a0(0x404)]['t'](_0x5483a0(0x36f))}),_0x42c767['id']===_0x35cb60[_0x5483a0(0x1e5)]['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x5483a0(0x406)][_0x5483a0(0x2fa)]({'type':_0x159f9c[_0x5483a0(0x43b)][_0x5483a0(0x456)],'content':this[_0x5483a0(0x404)]['t'](_0x5483a0(0x1d5))});}));}};_0x1dc760=_0x5ddcba([_0x5dd51b(0x0,_0x401f0f['IBeforeCloseService']),_0x5dd51b(0x1,_0x35cb60['ILocalCacheService']),_0x5dd51b(0x2,_0x563b3c[_0x33ce1a(0x41e)](_0x35cb60[_0x33ce1a(0x372)])),_0x5dd51b(0x3,_0x401f0f[_0x33ce1a(0x333)]),_0x5dd51b(0x4,_0x401f0f['INotificationService']),_0x5dd51b(0x5,_0x563b3c[_0x33ce1a(0x41e)](_0x563b3c[_0x33ce1a(0x2e1)]))],_0x1dc760);const _0x1a34fe=_0x33ce1a(0x1ec),_0x5ae3b2={},_0x172606=_0x563b3c[_0x33ce1a(0x24c)]('uni.network.url-service');var _0x24ffff=Object[_0x33ce1a(0x43c)],_0x3cba55=(_0x4501e8,_0x413edb,_0x16cc53,_0x2b9766)=>{const _0x5aa6f1=_0x33ce1a;for(var _0x37ebf5=_0x2b9766>0x1?void 0x0:_0x2b9766?_0x24ffff(_0x413edb,_0x16cc53):_0x413edb,_0x293375=_0x4501e8[_0x5aa6f1(0x467)]-0x1,_0x336ef4;_0x293375>=0x0;_0x293375--)(_0x336ef4=_0x4501e8[_0x293375])&&(_0x37ebf5=_0x336ef4(_0x37ebf5)||_0x37ebf5);return _0x37ebf5;},_0x5a3c35=(_0xf3d4b1,_0x1c3591)=>(_0x704624,_0x3f25ee)=>_0x1c3591(_0x704624,_0x3f25ee,_0xf3d4b1);_0x4b43a5[_0x33ce1a(0x2c1)]=class extends _0x563b3c[_0x33ce1a(0x219)]{constructor(_0x5030cc,_0x3ea92b,_0xef834e,_0x41f725,_0x932c57){const _0x48d5e8=_0x33ce1a;super(),this[_0x48d5e8(0x22a)]=_0x5030cc,this['_logService']=_0x3ea92b,this[_0x48d5e8(0x2f9)]=_0xef834e,this[_0x48d5e8(0x359)]=_0x41f725,_0x932c57?_0x932c57==null||_0x932c57[_0x48d5e8(0x1f8)]()['then'](()=>this['_init']()):(this[_0x48d5e8(0x3bf)][_0x48d5e8(0x443)]('[CollaborationDataLoaderController]',_0x48d5e8(0x23d)),this['_init']());}async[_0x33ce1a(0x397)](){const _0x22c518=_0x33ce1a,_0x55014e=this[_0x22c518(0x22a)][_0x22c518(0x3fe)](_0x22c518(0x425)),_0x5657a1=this['_urlService'][_0x22c518(0x3fe)]('type'),_0x42775d=this[_0x22c518(0x22a)][_0x22c518(0x3fe)](_0x22c518(0x271));if(!_0x55014e||!_0x5657a1){this[_0x22c518(0x3bf)][_0x22c518(0x443)](_0x22c518(0x293),_0x22c518(0x26c));return;}const _0x289813=await this['_dataLoaderService'][_0x22c518(0x2b3)](_0x55014e,Number(_0x5657a1),_0x42775d);_0x289813&&_0x289813 instanceof _0x563b3c[_0x22c518(0x207)]&&this[_0x22c518(0x258)](_0x289813);}async[_0x33ce1a(0x258)](_0x5e2647){const _0x2987ab=_0x33ce1a;await this['_updateSubUnitFromURLParams'](_0x5e2647),_0x5e2647['activeSheet$'][_0x2987ab(0x3ab)](_0x185656[_0x2987ab(0x3c1)](this['dispose$']))['subscribe'](_0x82f416=>{const _0x44955c=_0x2987ab;_0x82f416&&this[_0x44955c(0x376)](_0x82f416);}),this[_0x2987ab(0x22a)][_0x2987ab(0x22c)][_0x2987ab(0x3ab)](_0x185656[_0x2987ab(0x3c1)](this[_0x2987ab(0x32b)]))[_0x2987ab(0x273)](()=>this[_0x2987ab(0x204)](_0x5e2647));}[_0x33ce1a(0x376)](_0x4a9dcd,_0x5a6aec=!0x1){const _0x515a67=_0x33ce1a,_0x5d6809=this[_0x515a67(0x22a)][_0x515a67(0x3fe)](_0x515a67(0x271));_0x4a9dcd[_0x515a67(0x2ab)]()!==_0x5d6809&&this[_0x515a67(0x22a)][_0x515a67(0x2e4)]('subunit',_0x4a9dcd['getSheetId'](),_0x5a6aec);}async[_0x33ce1a(0x204)](_0x1c5b85){const _0x5a0633=_0x33ce1a;var _0x285cbd;const _0x5ab138=this[_0x5a0633(0x22a)][_0x5a0633(0x3fe)]('subunit');if(!_0x5ab138||!_0x1c5b85[_0x5a0633(0x23e)](_0x5ab138)){const _0x3fc3ab=_0x1c5b85[_0x5a0633(0x283)]()[0x0],_0x28b35f=_0x1c5b85[_0x5a0633(0x23e)](_0x3fc3ab);if(!_0x28b35f)return;this[_0x5a0633(0x376)](_0x28b35f,!0x0),await this[_0x5a0633(0x2f9)][_0x5a0633(0x46e)](_0x333796[_0x5a0633(0x383)]['id'],{'unitId':_0x1c5b85['getUnitId'](),'subUnitId':_0x3fc3ab});return;}((_0x285cbd=_0x1c5b85[_0x5a0633(0x216)]())==null?void 0x0:_0x285cbd['getSheetId']())!==_0x5ab138&&await this[_0x5a0633(0x2f9)][_0x5a0633(0x46e)](_0x333796[_0x5a0633(0x383)]['id'],{'unitId':_0x1c5b85['getUnitId'](),'subUnitId':_0x5ab138});}},_0x4b43a5[_0x33ce1a(0x2c1)]=_0x3cba55([_0x5a3c35(0x0,_0x172606),_0x5a3c35(0x1,_0x563b3c[_0x33ce1a(0x253)]),_0x5a3c35(0x2,_0x563b3c['ICommandService']),_0x5a3c35(0x3,_0x563b3c['Inject'](_0x35cb60['DataLoaderService'])),_0x5a3c35(0x4,_0x563b3c[_0x33ce1a(0x38f)](_0x59b92c[_0x33ce1a(0x35e)]))],_0x4b43a5[_0x33ce1a(0x2c1)]);var _0x2d66e6=Object[_0x33ce1a(0x43c)],_0x4add07=(_0x4ce640,_0x52654d,_0x18b35d,_0x37ae66)=>{const _0x40a511=_0x33ce1a;for(var _0x2755b9=_0x37ae66>0x1?void 0x0:_0x37ae66?_0x2d66e6(_0x52654d,_0x18b35d):_0x52654d,_0x37a07f=_0x4ce640[_0x40a511(0x467)]-0x1,_0x3f1f23;_0x37a07f>=0x0;_0x37a07f--)(_0x3f1f23=_0x4ce640[_0x37a07f])&&(_0x2755b9=_0x3f1f23(_0x2755b9)||_0x2755b9);return _0x2755b9;},_0x464858=(_0x575ebe,_0x5642df)=>(_0x45b229,_0x26dd9d)=>_0x5642df(_0x45b229,_0x26dd9d,_0x575ebe);let _0x45fe04=class{constructor(_0x962437,_0x52f1ec,_0x299377){const _0x2d4efc=_0x33ce1a;this[_0x2d4efc(0x252)]=_0x962437,this[_0x2d4efc(0x3a1)]=_0x52f1ec,this[_0x2d4efc(0x2a6)]=_0x299377;}[_0x33ce1a(0x35c)](_0x512ce8){const _0x3fcca4=_0x33ce1a;this[_0x3fcca4(0x358)](_0x512ce8),this[_0x3fcca4(0x1e8)](_0x512ce8);}[_0x33ce1a(0x3cc)](_0x40017c){const _0xcba3d1=_0x33ce1a,{unitID:_0x5ed94b}=_0x40017c,_0x1b2a89=this['_renderManagerService'][_0xcba3d1(0x2ff)](_0x5ed94b)[_0xcba3d1(0x249)](_0x31a51f['DocIMEInputManagerService']),{redoCache:_0x30e312}=_0x1b2a89[_0xcba3d1(0x38d)]();if(_0x30e312[_0xcba3d1(0x467)]===0x0)return _0x40017c;let _0x35e0b5=_0x563b3c[_0xcba3d1(0x44c)][_0xcba3d1(0x259)](_0x40017c[_0xcba3d1(0x381)][0x0]);for(let _0x557a7f=0x0;_0x557a7f<_0x30e312[_0xcba3d1(0x467)];_0x557a7f++){const _0x351d5f={'id':_0xcba3d1(0x1ed),'params':{..._0x30e312[_0x557a7f]}},_0x2af7c0=this[_0xcba3d1(0x3a1)][_0xcba3d1(0x388)](_0x35e0b5,_0x351d5f,!0x1);if(_0x3648c3[_0xcba3d1(0x40f)](_0x2af7c0))throw _0x2af7c0[_0xcba3d1(0x208)];_0x35e0b5=_0x2af7c0['m1Prime'];}return{..._0x563b3c[_0xcba3d1(0x44c)][_0xcba3d1(0x259)](_0x40017c),'mutations':[_0x35e0b5]};}[_0x33ce1a(0x358)](_0x4d70c0){const _0x507657=_0x33ce1a,{unitID:_0x5aa093}=_0x4d70c0,_0x410f56=this[_0x507657(0x2a6)][_0x507657(0x2ff)](_0x5aa093)[_0x507657(0x249)](_0x31a51f[_0x507657(0x3dd)]),{undoCache:_0x1f9991,redoCache:_0x3c1c57}=_0x410f56[_0x507657(0x38d)]();if(_0x1f9991['length']===0x0||_0x3c1c57[_0x507657(0x467)]===0x0)return;const _0x2dddcc=[],_0x209a2d=[];let _0x156b30=_0x563b3c['Tools'][_0x507657(0x259)](_0x4d70c0[_0x507657(0x381)][0x0]),_0x1c9baf=_0x563b3c['Tools'][_0x507657(0x259)](_0x4d70c0['mutations'][0x0]);for(let _0x508bb1=_0x1f9991[_0x507657(0x467)]-0x1;_0x508bb1>=0x0;_0x508bb1--){const _0x211301={'id':_0x507657(0x1ed),'params':{..._0x1f9991[_0x508bb1]}},_0x23ef46={'id':_0x507657(0x1ed),'params':{..._0x3c1c57[_0x508bb1]}},_0x59b1ca=this[_0x507657(0x3a1)]['transformMutation'](_0x156b30,_0x211301,!0x1),_0x580eca=this[_0x507657(0x3a1)][_0x507657(0x388)](_0x1c9baf,_0x23ef46,!0x1);if(_0x3648c3['isTransformMutationFailure'](_0x59b1ca))throw _0x59b1ca[_0x507657(0x208)];if(_0x3648c3[_0x507657(0x40f)](_0x580eca))throw _0x580eca['error'];_0x2dddcc[_0x507657(0x2da)](_0x59b1ca[_0x507657(0x1e6)][_0x507657(0x334)]),_0x209a2d['unshift'](_0x580eca[_0x507657(0x1e6)][_0x507657(0x334)]),_0x156b30=_0x59b1ca['m1Prime'],_0x1c9baf=_0x580eca['m1Prime'];}_0x410f56['setUndoRedoMutationParamsCache']({'undoCache':_0x2dddcc,'redoCache':_0x209a2d});}['_transformPreviousActiveRange'](_0x5d975a){const _0x16b07b=_0x33ce1a,{unitID:_0x250c35}=_0x5d975a,_0x172093=this['_renderManagerService'][_0x16b07b(0x2ff)](_0x250c35)[_0x16b07b(0x249)](_0x31a51f['DocIMEInputManagerService']),_0x533dfa=_0x172093[_0x16b07b(0x401)]();if(_0x533dfa==null)return;const _0x5ac104=[{'id':_0x16b07b(0x1ed),'params':{'unitId':_0x5d975a[_0x16b07b(0x362)],'actions':null,'textRanges':[_0x533dfa]}}],_0x2b5829=this[_0x16b07b(0x3a1)][_0x16b07b(0x3eb)](_0x5d975a,_0x5ac104);if(!_0x3648c3[_0x16b07b(0x1f0)](_0x2b5829))throw _0x2b5829['error'];const _0x1f6acc=_0x2b5829[_0x16b07b(0x1e6)][0x0]['params'][_0x16b07b(0x3d3)];Array[_0x16b07b(0x42b)](_0x1f6acc)&&_0x1f6acc[_0x16b07b(0x467)]&&_0x172093[_0x16b07b(0x387)](_0x1f6acc[0x0]);}};_0x45fe04=_0x4add07([_0x464858(0x0,_0x563b3c[_0x33ce1a(0x41e)](_0x563b3c[_0x33ce1a(0x21b)])),_0x464858(0x1,_0x3648c3['ITransformService']),_0x464858(0x2,_0x5456a1[_0x33ce1a(0x266)])],_0x45fe04);var _0x5e5d1c=Object[_0x33ce1a(0x43c)],_0x102baf=(_0x4bf004,_0x5a7342,_0x2078a1,_0x11b267)=>{const _0xe5f87=_0x33ce1a;for(var _0x1b0bae=_0x11b267>0x1?void 0x0:_0x11b267?_0x5e5d1c(_0x5a7342,_0x2078a1):_0x5a7342,_0x587003=_0x4bf004[_0xe5f87(0x467)]-0x1,_0x4de8ac;_0x587003>=0x0;_0x587003--)(_0x4de8ac=_0x4bf004[_0x587003])&&(_0x1b0bae=_0x4de8ac(_0x1b0bae)||_0x1b0bae);return _0x1b0bae;},_0x150f23=(_0x36c806,_0x5dbece)=>(_0x4c8e19,_0x1e0ea7)=>_0x5dbece(_0x4c8e19,_0x1e0ea7,_0x36c806);let _0x438187=class{constructor(_0x2293ad,_0x422d97,_0x20f1c3){const _0x57f16e=_0x33ce1a;this[_0x57f16e(0x252)]=_0x2293ad,this[_0x57f16e(0x3a1)]=_0x422d97,this[_0x57f16e(0x410)]=_0x20f1c3;}[_0x33ce1a(0x2a9)](_0x4231c6){this['_transformHistoryAndStateStack'](_0x4231c6);}[_0x33ce1a(0x3cc)](_0x212315){const _0x2ba187=_0x33ce1a,{unitID:_0x24e344}=_0x212315,{collaboration:_0x33b4f7}=this[_0x2ba187(0x410)][_0x2ba187(0x2f2)](_0x24e344);if(_0x33b4f7[_0x2ba187(0x467)]===0x0)return _0x212315;let _0x267f13=_0x563b3c['Tools'][_0x2ba187(0x259)](_0x212315[_0x2ba187(0x381)][0x0]);for(let _0x51c62b=0x0;_0x51c62b<_0x33b4f7['length'];_0x51c62b++){const _0x5e03b8={'id':_0x2ba187(0x1ed),'params':{'unitId':_0x33b4f7[_0x51c62b][_0x2ba187(0x286)],..._0x33b4f7[_0x51c62b][_0x2ba187(0x318)]}},_0x3b2703=this[_0x2ba187(0x3a1)][_0x2ba187(0x388)](_0x267f13,_0x5e03b8,!0x1);if(_0x3648c3[_0x2ba187(0x40f)](_0x3b2703))throw _0x3b2703['error'];_0x267f13=_0x3b2703[_0x2ba187(0x29c)];}return{..._0x563b3c['Tools'][_0x2ba187(0x259)](_0x212315),'mutations':[_0x267f13]};}[_0x33ce1a(0x2d9)](_0x53b05c){const _0x2fcfb0=_0x33ce1a,{unitID:_0x3b5252}=_0x53b05c,{history:_0x130e0c,collaboration:_0x76a307}=this[_0x2fcfb0(0x410)][_0x2fcfb0(0x2f2)](_0x3b5252);if(_0x130e0c[_0x2fcfb0(0x467)]===0x0&&_0x76a307[_0x2fcfb0(0x467)]===0x0)return;const _0x1ea74f=[],_0x120b84=[];let _0x202946=_0x563b3c[_0x2fcfb0(0x44c)][_0x2fcfb0(0x259)](_0x53b05c['mutations'][0x0]),_0x2dd0f0=_0x563b3c[_0x2fcfb0(0x44c)][_0x2fcfb0(0x259)](_0x53b05c[_0x2fcfb0(0x381)][0x0]);for(let _0x4cffe8=_0x130e0c[_0x2fcfb0(0x467)]-0x1;_0x4cffe8>=0x0;_0x4cffe8--){const _0x1bb22a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x130e0c[_0x4cffe8][_0x2fcfb0(0x286)],..._0x130e0c[_0x4cffe8][_0x2fcfb0(0x434)]}},_0x1601d0={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x130e0c[_0x4cffe8]['unitId'],..._0x130e0c[_0x4cffe8]['redoState']}},_0xeb7097=this['_transformService'][_0x2fcfb0(0x388)](_0x202946,_0x1bb22a,!0x1),_0x1fd99e=this[_0x2fcfb0(0x3a1)]['transformMutation'](_0x2dd0f0,_0x1601d0,!0x1);if(_0x3648c3[_0x2fcfb0(0x40f)](_0xeb7097))throw _0xeb7097['error'];if(_0x3648c3['isTransformMutationFailure'](_0x1fd99e))throw _0x1fd99e['error'];_0x1ea74f[_0x2fcfb0(0x2da)]({..._0x130e0c[_0x4cffe8],'undoState':_0xeb7097[_0x2fcfb0(0x1e6)][_0x2fcfb0(0x334)],'redoState':_0x1fd99e[_0x2fcfb0(0x1e6)][_0x2fcfb0(0x334)]}),_0x202946=_0xeb7097[_0x2fcfb0(0x29c)],_0x2dd0f0=_0x1fd99e[_0x2fcfb0(0x29c)];}_0x202946=_0x563b3c[_0x2fcfb0(0x44c)][_0x2fcfb0(0x259)](_0x53b05c[_0x2fcfb0(0x381)][0x0]),_0x2dd0f0=_0x563b3c[_0x2fcfb0(0x44c)]['deepClone'](_0x53b05c[_0x2fcfb0(0x381)][0x0]);for(let _0x3d84a1=_0x76a307[_0x2fcfb0(0x467)]-0x1;_0x3d84a1>=0x0;_0x3d84a1--){const _0x16a48b={'id':_0x2fcfb0(0x1ed),'params':{'unitId':_0x76a307[_0x3d84a1][_0x2fcfb0(0x286)],..._0x76a307[_0x3d84a1][_0x2fcfb0(0x434)]}},_0x30957b={'id':_0x2fcfb0(0x1ed),'params':{'unitId':_0x76a307[_0x3d84a1][_0x2fcfb0(0x286)],..._0x76a307[_0x3d84a1][_0x2fcfb0(0x318)]}},_0x2b8e71=this[_0x2fcfb0(0x3a1)]['transformMutation'](_0x202946,_0x16a48b,!0x1),_0x59b759=this[_0x2fcfb0(0x3a1)][_0x2fcfb0(0x388)](_0x2dd0f0,_0x30957b,!0x1);if(_0x3648c3[_0x2fcfb0(0x40f)](_0x2b8e71))throw _0x2b8e71['error'];if(_0x3648c3[_0x2fcfb0(0x40f)](_0x59b759))throw _0x59b759['error'];_0x120b84[_0x2fcfb0(0x2da)]({..._0x76a307[_0x3d84a1],'undoState':_0x2b8e71[_0x2fcfb0(0x1e6)][_0x2fcfb0(0x334)],'redoState':_0x59b759['m2Prime'][_0x2fcfb0(0x334)]}),_0x202946=_0x2b8e71[_0x2fcfb0(0x29c)],_0x2dd0f0=_0x59b759[_0x2fcfb0(0x29c)];}this[_0x2fcfb0(0x410)][_0x2fcfb0(0x1e4)](_0x3b5252,{'history':_0x1ea74f,'collaboration':_0x120b84});}};_0x438187=_0x102baf([_0x150f23(0x0,_0x563b3c[_0x33ce1a(0x41e)](_0x563b3c[_0x33ce1a(0x21b)])),_0x150f23(0x1,_0x3648c3[_0x33ce1a(0x200)]),_0x150f23(0x2,_0x563b3c['Inject'](_0x31a51f['DocStateChangeManagerService']))],_0x438187);var _0x40a8ac=Object[_0x33ce1a(0x43c)],_0x4fdf08=(_0x2bd22b,_0x23ade4,_0x5335ee,_0xfb4ade)=>{for(var _0x2688f7=_0xfb4ade>0x1?void 0x0:_0xfb4ade?_0x40a8ac(_0x23ade4,_0x5335ee):_0x23ade4,_0x592b4f=_0x2bd22b['length']-0x1,_0x5cf833;_0x592b4f>=0x0;_0x592b4f--)(_0x5cf833=_0x2bd22b[_0x592b4f])&&(_0x2688f7=_0x5cf833(_0x2688f7)||_0x2688f7);return _0x2688f7;},_0x9f6ffe=(_0x389029,_0x2f680e)=>(_0x28739e,_0x235d7f)=>_0x2f680e(_0x28739e,_0x235d7f,_0x389029);let _0x293a92=class{constructor(_0x3d8b1d,_0x19e19c){this['_injector']=_0x3d8b1d,this['_transformService']=_0x19e19c;}['transformSelections'](_0x2c00b9){const _0x43b3cc=_0x33ce1a;var _0x5f1e6a;const _0x4f6616=this[_0x43b3cc(0x252)][_0x43b3cc(0x238)](_0x4a37f4[_0x43b3cc(0x321)]),_0x30ed71=(_0x5f1e6a=_0x4f6616[_0x43b3cc(0x27d)]())!=null?_0x5f1e6a:[];if(_0x30ed71[_0x43b3cc(0x467)]===0x0)return;const _0x1c640c=_0x2c00b9[_0x43b3cc(0x362)],_0x23ef12=[{'id':_0x43b3cc(0x1ed),'params':{'unitId':_0x1c640c,'actions':null,'textRanges':_0x30ed71}}],_0x47e47b=this[_0x43b3cc(0x3a1)]['transformMutationsWithChangeset'](_0x2c00b9,_0x23ef12);if(!_0x3648c3['isTransformMutationsWithChangesetSuccess'](_0x47e47b))throw _0x47e47b['error'];const _0x253e56=_0x47e47b[_0x43b3cc(0x1e6)][0x0][_0x43b3cc(0x334)][_0x43b3cc(0x3d3)];Array[_0x43b3cc(0x42b)](_0x253e56)&&_0x253e56[_0x43b3cc(0x467)]&&_0x4f6616[_0x43b3cc(0x1fe)](_0x253e56,{'unitId':_0x1c640c,'subUnitId':_0x1c640c},!0x1);}};_0x293a92=_0x4fdf08([_0x9f6ffe(0x0,_0x563b3c[_0x33ce1a(0x41e)](_0x563b3c[_0x33ce1a(0x21b)])),_0x9f6ffe(0x1,_0x3648c3[_0x33ce1a(0x200)])],_0x293a92);var _0x233059=Object[_0x33ce1a(0x43c)],_0x5eacc7=(_0x3fc45e,_0x517e64,_0xcd6717,_0x1f60cc)=>{const _0x524772=_0x33ce1a;for(var _0xe4e7c8=_0x1f60cc>0x1?void 0x0:_0x1f60cc?_0x233059(_0x517e64,_0xcd6717):_0x517e64,_0x7ba546=_0x3fc45e[_0x524772(0x467)]-0x1,_0x303123;_0x7ba546>=0x0;_0x7ba546--)(_0x303123=_0x3fc45e[_0x7ba546])&&(_0xe4e7c8=_0x303123(_0xe4e7c8)||_0xe4e7c8);return _0xe4e7c8;},_0x5f1d35=(_0x2af426,_0xdb2a85)=>(_0x232e04,_0x1e644a)=>_0xdb2a85(_0x232e04,_0x1e644a,_0x2af426);let _0x24840f=class extends _0x563b3c[_0x33ce1a(0x3d2)]{constructor(_0xcfd655,_0x53d519,_0x1da0b0,_0x2df8ed,_0x1aa03f,_0x24a701,_0x1e7069,_0x56981c){const _0x4ffe9e=_0x33ce1a;super(),_0x17ffc1(this,'_status$',new _0x185656['BehaviorSubject'](_0x35cb60['CollaborationStatus'][_0x4ffe9e(0x409)])),(this['_docStateChangeManagerService']=_0xcfd655,this[_0x4ffe9e(0x37e)]=_0x53d519,this[_0x4ffe9e(0x2bb)]=_0x1da0b0,this[_0x4ffe9e(0x278)]=_0x2df8ed,this['_docTransformSelectionsService']=_0x1aa03f,this[_0x4ffe9e(0x2e3)]=_0x24a701,this['_messageService']=_0x1e7069,this[_0x4ffe9e(0x404)]=_0x56981c,this[_0x4ffe9e(0x3c2)]());}[_0x33ce1a(0x3c2)](){const _0x208dbf=_0x33ce1a;this[_0x208dbf(0x248)](this[_0x208dbf(0x37e)][_0x208dbf(0x385)]['subscribe'](_0x3bd901=>{const _0x3be210=_0x208dbf,_0x1e704e=this[_0x3be210(0x410)][_0x3be210(0x20e)][_0x3be210(0x273)](_0x420a1e=>{const _0x4d87c5=_0x3be210;if(_0x420a1e==null)return;const {unitId:_0x310a6b,redoState:_0x2dcbb5,commandId:_0x217226}=_0x420a1e;if(_0x310a6b!==_0x3bd901[_0x4d87c5(0x362)])return;const _0x11ff0d={'id':_0x217226,'type':_0x563b3c[_0x4d87c5(0x343)][_0x4d87c5(0x308)],'params':{'unitId':_0x310a6b,'actions':_0x2dcbb5[_0x4d87c5(0x2fc)],'textRanges':null}};_0x3bd901[_0x4d87c5(0x40d)](_0x11ff0d);});if(_0x3bd901[_0x3be210(0x248)](_0x1e704e),_0x3bd901 instanceof _0x35cb60[_0x3be210(0x21c)]){const _0x33bc4d={'onTransformIME':_0x38f44a=>this['_docTransformIMECacheService']['transformIMECache'](_0x38f44a),'onTransformState':_0xca7124=>this[_0x3be210(0x278)][_0x3be210(0x2a9)](_0xca7124),'onTransformSelections':_0x524a94=>this['_docTransformSelectionsService'][_0x3be210(0x29f)](_0x524a94),'onSyncEditingCollabCursor':_0x5e4d20=>this[_0x3be210(0x2e3)][_0x3be210(0x23b)](_0x5e4d20),'onTransformRemoteChangesetByIMECache':_0x3a955d=>this[_0x3be210(0x2bb)][_0x3be210(0x3cc)](_0x3a955d),'onTransformRemoteChangesetByStateCache':_0x41dd9e=>this[_0x3be210(0x278)][_0x3be210(0x3cc)](_0x41dd9e)};_0x3bd901[_0x3be210(0x24d)](_0x33bc4d);}}));}};_0x24840f=_0x5eacc7([_0x5f1d35(0x0,_0x563b3c[_0x33ce1a(0x41e)](_0x31a51f[_0x33ce1a(0x32f)])),_0x5f1d35(0x1,_0x563b3c['Inject'](_0x35cb60[_0x33ce1a(0x2ed)])),_0x5f1d35(0x2,_0x563b3c['Inject'](_0x45fe04)),_0x5f1d35(0x3,_0x563b3c[_0x33ce1a(0x41e)](_0x438187)),_0x5f1d35(0x4,_0x563b3c[_0x33ce1a(0x41e)](_0x293a92)),_0x5f1d35(0x5,_0x563b3c[_0x33ce1a(0x41e)](_0xc2b173)),_0x5f1d35(0x6,_0x401f0f['IMessageService']),_0x5f1d35(0x7,_0x563b3c[_0x33ce1a(0x41e)](_0x563b3c[_0x33ce1a(0x2e1)]))],_0x24840f);var _0x13368c=Object['getOwnPropertyDescriptor'],_0x4b3fcb=(_0x410cc0,_0x1de080,_0x1c5815,_0x15e2b8)=>{const _0x4d138e=_0x33ce1a;for(var _0x4674b2=_0x15e2b8>0x1?void 0x0:_0x15e2b8?_0x13368c(_0x1de080,_0x1c5815):_0x1de080,_0x192e43=_0x410cc0[_0x4d138e(0x467)]-0x1,_0x59ab93;_0x192e43>=0x0;_0x192e43--)(_0x59ab93=_0x410cc0[_0x192e43])&&(_0x4674b2=_0x59ab93(_0x4674b2)||_0x4674b2);return _0x4674b2;},_0x1dfd0c=(_0x25cd48,_0x3b20db)=>(_0x1f62ff,_0x168f20)=>_0x3b20db(_0x1f62ff,_0x168f20,_0x25cd48);let _0x30c27a=class extends _0x563b3c['Disposable']{constructor(_0x1a5eae,_0x2fa0c2,_0x20c2bc){const _0x4f471d=_0x33ce1a;super(),_0x17ffc1(this,_0x4f471d(0x426),new Map()),_0x17ffc1(this,_0x4f471d(0x1f1),new Map()),_0x17ffc1(this,'_disabled',!0x1),(this[_0x4f471d(0x3ae)]=_0x1a5eae,this[_0x4f471d(0x41f)]=_0x2fa0c2,this[_0x4f471d(0x366)]=_0x20c2bc);}[_0x33ce1a(0x1d6)](){const _0xd5b869=_0x33ce1a;this[_0xd5b869(0x47f)]=!0x0;}['enableLocalCache'](){const _0xf27c7c=_0x33ce1a;this[_0xf27c7c(0x47f)]=!0x1;}get['saveTaskMap'](){const _0x351f20=_0x33ce1a;return this[_0x351f20(0x1f1)];}[_0x33ce1a(0x306)](){const _0x355983=_0x33ce1a;this['exhaustSavingTask']()[_0x355983(0x40a)](()=>super['dispose']());}async[_0x33ce1a(0x261)](_0x5e9e87){const _0x288178=_0x33ce1a;return this['_disabled']?null:this[_0x288178(0x41f)][_0x288178(0x226)](_0x35cb60['getLocalCacheKey'](_0x5e9e87));}async[_0x33ce1a(0x3d1)](_0x547e07,_0x471057){const _0x2cada9=_0x33ce1a;return!!this[_0x2cada9(0x41f)][_0x2cada9(0x40b)](_0x547e07,_0x471057);}['updateOfflineData'](_0x160c9d,_0x11fa3e,_0x1537d2,_0x49fbc8){const _0x15c42c=_0x33ce1a,_0x47301e=this[_0x15c42c(0x366)][_0x15c42c(0x260)](_0x160c9d);this['_cachedData'][_0x15c42c(0x245)](_0x160c9d,{'unitID':_0x160c9d,'type':_0x11fa3e,'awaitingChangeset':_0x1537d2,'mutations':_0x49fbc8,'rev':_0x47301e}),this[_0x15c42c(0x1f1)][_0x15c42c(0x3ee)](_0x160c9d)||this[_0x15c42c(0x244)](_0x160c9d);}[_0x33ce1a(0x244)](_0x147254){const _0x2ff966=_0x33ce1a,_0x2b0160=this['_getSaveTimeout']();_0x2b0160===0x0?this[_0x2ff966(0x407)](_0x147254):this[_0x2ff966(0x1f1)][_0x2ff966(0x245)](_0x147254,setTimeout(()=>this[_0x2ff966(0x407)](_0x147254),_0x2b0160));}[_0x33ce1a(0x3a8)](){const _0x27dbf4=_0x33ce1a;var _0x141892;return(_0x141892=this[_0x27dbf4(0x3ae)]['getConfig'](_0x35cb60['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x141892:_0x35cb60[_0x27dbf4(0x25a)];}['_saveCache'](_0x2da1f1){const _0x28f6f9=_0x33ce1a,_0x397e4c=this[_0x28f6f9(0x1f1)][_0x28f6f9(0x238)](_0x2da1f1);return _0x397e4c!==void 0x0&&window[_0x28f6f9(0x1fb)](_0x397e4c),this[_0x28f6f9(0x41f)]['setItem'](_0x35cb60[_0x28f6f9(0x356)](_0x2da1f1),this[_0x28f6f9(0x426)][_0x28f6f9(0x238)](_0x2da1f1))['then'](()=>this[_0x28f6f9(0x1f1)]['delete'](_0x2da1f1));}async['exhaustSavingTask'](){const _0x37f20d=_0x33ce1a,_0x1bc123=[];this[_0x37f20d(0x1f1)][_0x37f20d(0x453)]((_0x2e63ad,_0x348f70)=>{const _0x5dde58=_0x37f20d;window['clearTimeout'](_0x2e63ad),_0x1bc123['push'](this[_0x5dde58(0x407)](_0x348f70)[_0x5dde58(0x40a)](()=>{const _0x2424c4=_0x5dde58;this[_0x2424c4(0x1f1)][_0x2424c4(0x202)](_0x348f70);}));}),await Promise['all'](_0x1bc123);}};_0x30c27a=_0x4b3fcb([_0x1dfd0c(0x0,_0x563b3c[_0x33ce1a(0x3e1)]),_0x1dfd0c(0x1,_0x563b3c['ILocalStorageService']),_0x1dfd0c(0x2,_0x563b3c[_0x33ce1a(0x41e)](_0x3648c3['RevisionService']))],_0x30c27a);class _0x11c175 extends _0x563b3c[_0x33ce1a(0x219)]{constructor(){const _0x54f3f1=_0x33ce1a;super(),_0x17ffc1(this,_0x54f3f1(0x22c)),this[_0x54f3f1(0x22c)]=_0x185656[_0x54f3f1(0x470)](window,_0x54f3f1(0x26e))['pipe'](_0x185656[_0x54f3f1(0x3c1)](this[_0x54f3f1(0x32b)]),_0x185656[_0x54f3f1(0x415)](0x1),_0x185656[_0x54f3f1(0x2ca)](void 0x0));}[_0x33ce1a(0x2e4)](_0x7d0a0e,_0x1726e2,_0x786dda=!0x1){const _0x13b666=_0x33ce1a,_0x264a92=new URL(window[_0x13b666(0x42a)]['href']);_0x264a92[_0x13b666(0x468)][_0x13b666(0x245)](_0x7d0a0e,_0x1726e2),_0x786dda?window['history'][_0x13b666(0x335)]('','',_0x264a92[_0x13b666(0x269)]()):window[_0x13b666(0x265)][_0x13b666(0x340)]('','',_0x264a92['toString']());}['removeParam'](_0x5f25e4,_0xdb7ba=!0x1){const _0x27f360=_0x33ce1a,_0x4699be=new URL(window['location'][_0x27f360(0x2db)]);_0x4699be[_0x27f360(0x468)][_0x27f360(0x202)](_0x5f25e4),_0xdb7ba?window['history'][_0x27f360(0x335)]('','',_0x4699be[_0x27f360(0x269)]()):window[_0x27f360(0x265)][_0x27f360(0x340)]('','',_0x4699be[_0x27f360(0x269)]());}[_0x33ce1a(0x3fe)](_0x274fb3){const _0x1bb8ca=_0x33ce1a;var _0xa0a4b1;return(_0xa0a4b1=new URL(window[_0x1bb8ca(0x42a)]['href'])['searchParams']['get'](_0x274fb3))!=null?_0xa0a4b1:void 0x0;}}var _0x336c1c=Object[_0x33ce1a(0x2d3)],_0x2ae3a2=Object['getOwnPropertyDescriptor'],_0x43b09e=(_0x374da3,_0x2c6e21,_0x1ac399)=>_0x2c6e21 in _0x374da3?_0x336c1c(_0x374da3,_0x2c6e21,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1ac399}):_0x374da3[_0x2c6e21]=_0x1ac399,_0x1c8d72=(_0x3adc48,_0x5dc1ca,_0x112b19,_0x649b01)=>{const _0x594a62=_0x33ce1a;for(var _0x32f3c7=_0x649b01>0x1?void 0x0:_0x649b01?_0x2ae3a2(_0x5dc1ca,_0x112b19):_0x5dc1ca,_0x1e981b=_0x3adc48[_0x594a62(0x467)]-0x1,_0xe4a3e0;_0x1e981b>=0x0;_0x1e981b--)(_0xe4a3e0=_0x3adc48[_0x1e981b])&&(_0x32f3c7=_0xe4a3e0(_0x32f3c7)||_0x32f3c7);return _0x32f3c7;},_0x7d5a1=(_0x1ef1b0,_0x322532)=>(_0x3be52f,_0x16786b)=>_0x322532(_0x3be52f,_0x16786b,_0x1ef1b0),_0x12f937=(_0x3a1c6c,_0x508afc,_0x430426)=>_0x43b09e(_0x3a1c6c,_0x508afc+'',_0x430426);const _0x585999=_0x33ce1a(0x224);_0x4b43a5[_0x33ce1a(0x322)]=class extends _0x563b3c[_0x33ce1a(0x24a)]{constructor(_0x4a5936=_0x5ae3b2,_0x459faa,_0x18f2e7,_0x1b6cd5){const _0x44dccd=_0x33ce1a;super(),this['_config']=_0x4a5936,this[_0x44dccd(0x2a6)]=_0x459faa,this[_0x44dccd(0x252)]=_0x18f2e7,this[_0x44dccd(0x3ae)]=_0x1b6cd5;const {..._0x235e06}=_0x563b3c[_0x44dccd(0x221)]({},_0x5ae3b2,this['_config']);this[_0x44dccd(0x3ae)][_0x44dccd(0x3f6)](_0x1a34fe,_0x235e06);}[_0x33ce1a(0x3f3)](){const _0x4fde74=_0x33ce1a;this[_0x4fde74(0x28a)](),this[_0x4fde74(0x378)]();}[_0x33ce1a(0x22e)](){const _0x4f9d65=_0x33ce1a;this[_0x4f9d65(0x363)]();}[_0x33ce1a(0x28a)](){const _0x1431a2=_0x33ce1a;var _0x2e5114;const _0x426cc4=[[_0x577797],[_0x293a92],[_0x45fe04],[_0x438187],[_0xc2b173],[_0x172606,{'useClass':_0x11c175}],[_0x5c6440['ISocketService'],{'useClass':_0x5c6440[_0x1431a2(0x463)]}],[_0x35cb60['ILocalCacheService'],{'useClass':_0x30c27a}],[_0x4b43a5[_0x1431a2(0x38c)]],[_0x24840f],[_0x1dc760],[_0x5621e8],[_0x29c666],[_0x4b43a5[_0x1431a2(0x2c1)]]];_0x563b3c[_0x1431a2(0x246)](this['_injector'],_0x563b3c[_0x1431a2(0x23c)](_0x426cc4,(_0x2e5114=this[_0x1431a2(0x274)])==null?void 0x0:_0x2e5114[_0x1431a2(0x440)]));}[_0x33ce1a(0x363)](){const _0x5d0363=_0x33ce1a;this['disposeWithMe'](this['_renderManagerService'][_0x5d0363(0x393)](_0x563b3c[_0x5d0363(0x36d)]['UNIVER_DOC'],[_0x1e6a15])),this[_0x5d0363(0x248)](this[_0x5d0363(0x2a6)][_0x5d0363(0x393)](_0x563b3c['UniverInstanceType'][_0x5d0363(0x39b)],[_0x4d5687]));}[_0x33ce1a(0x378)](){const _0x640a91=_0x33ce1a;_0x563b3c[_0x640a91(0x34d)](this[_0x640a91(0x252)],[[_0x5621e8],[_0x4b43a5[_0x640a91(0x38c)]],[_0x24840f],[_0x1dc760],[_0x4b43a5[_0x640a91(0x2c1)]]]);}},_0x12f937(_0x4b43a5[_0x33ce1a(0x322)],_0x33ce1a(0x41a),_0x585999),_0x4b43a5['UniverCollaborationClientUIPlugin']=_0x1c8d72([_0x563b3c[_0x33ce1a(0x2b8)](_0x35cb60[_0x33ce1a(0x42f)]),_0x7d5a1(0x1,_0x5456a1[_0x33ce1a(0x266)]),_0x7d5a1(0x2,_0x563b3c[_0x33ce1a(0x41e)](_0x563b3c[_0x33ce1a(0x21b)])),_0x7d5a1(0x3,_0x563b3c[_0x33ce1a(0x3e1)])],_0x4b43a5[_0x33ce1a(0x322)]);var _0x1f4a26=Object[_0x33ce1a(0x43c)],_0x5fbeb3=(_0x11595b,_0x5b683f,_0xad89ab,_0x3e2789)=>{const _0x91939f=_0x33ce1a;for(var _0x406793=_0x3e2789>0x1?void 0x0:_0x3e2789?_0x1f4a26(_0x5b683f,_0xad89ab):_0x5b683f,_0x1bf39a=_0x11595b[_0x91939f(0x467)]-0x1,_0x2ae323;_0x1bf39a>=0x0;_0x1bf39a--)(_0x2ae323=_0x11595b[_0x1bf39a])&&(_0x406793=_0x2ae323(_0x406793)||_0x406793);return _0x406793;},_0x3eacd9=(_0x57c85c,_0x2aed54)=>(_0x35e0e4,_0xb8fab0)=>_0x2aed54(_0x35e0e4,_0xb8fab0,_0x57c85c);_0x4b43a5['BrowserCollaborationSocketService']=class extends _0x35cb60[_0x33ce1a(0x29b)]{constructor(_0x1e591b,_0x1156b0,_0x442cdf,_0x2308c7,_0x2314a0){super(_0x1e591b,_0x1156b0,_0x442cdf,_0x2308c7,_0x2314a0);}async['createSocket'](_0x466b09){const _0x2aa1b8=_0x33ce1a,_0xc70c14=await this['_getSessionTicket'](),_0x3c0803=this[_0x2aa1b8(0x433)](_0x466b09,_0xc70c14);return this[_0x2aa1b8(0x2a3)](_0x3c0803);}[_0x33ce1a(0x433)](_0x5a1d47,_0x3d536d){const _0x43a61e=_0x33ce1a,_0x136062=typeof window>'u'?new URL(_0x5a1d47):new URL(_0x5a1d47,window[_0x43a61e(0x42a)][_0x43a61e(0x2d5)]);_0x136062[_0x43a61e(0x468)]['set'](_0x43a61e(0x451),_0x3d536d);const _0x3743e3=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x43a61e(0x42a)][_0x43a61e(0x47e)]);return _0x3743e3['get'](_0x43a61e(0x2e6))&&_0x136062[_0x43a61e(0x468)][_0x43a61e(0x245)](_0x43a61e(0x2e6),_0x3743e3['get']('runId')),_0x136062[_0x43a61e(0x269)]();}async[_0x33ce1a(0x3c8)](){const _0xb8459d=_0x33ce1a;var _0x5597c5,_0x1b2f06,_0x248719;const _0x2b5107=this[_0xb8459d(0x3ae)]['getConfig'](_0x35cb60['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x374967=(_0x5597c5=_0x2b5107==null?void 0x0:_0x2b5107[_0xb8459d(0x460)])!=null?_0x5597c5:_0x35cb60[_0xb8459d(0x304)];return(_0x248719=(_0x1b2f06=(await this['_httpService']['get'](_0x374967,{'headers':{'Content-Type':'application/json'}}))[_0xb8459d(0x218)])==null?void 0x0:_0x1b2f06['ticket'])!=null?_0x248719:'';}},_0x4b43a5[_0x33ce1a(0x2a4)]=_0x5fbeb3([_0x3eacd9(0x0,_0x563b3c['Inject'](_0x563b3c[_0x33ce1a(0x21b)])),_0x3eacd9(0x1,_0x563b3c[_0x33ce1a(0x41e)](_0x5c6440[_0x33ce1a(0x1dd)])),_0x3eacd9(0x2,_0x563b3c['IConfigService']),_0x3eacd9(0x3,_0x563b3c[_0x33ce1a(0x253)]),_0x3eacd9(0x4,_0x3648c3[_0x33ce1a(0x2d7)])],_0x4b43a5['BrowserCollaborationSocketService']);const _0x457b34=0x7530,_0xf0e71b='ACTIVE_UNIT_EVENT_CHANNEL';class _0x34743f extends _0x563b3c[_0x33ce1a(0x3d2)]{constructor(){const _0x3e2a2f=_0x33ce1a;super(),_0x17ffc1(this,'_id',_0x563b3c[_0x3e2a2f(0x444)]()),_0x17ffc1(this,_0x3e2a2f(0x43f),new Set()),_0x17ffc1(this,'_unitOnClients',new Map()),_0x17ffc1(this,'_heartbeatTimer',null),_0x17ffc1(this,_0x3e2a2f(0x3cd),new Map()),_0x17ffc1(this,_0x3e2a2f(0x316),new Map()),this['_init']();}['dispose'](){const _0x2a8476=_0x33ce1a;super[_0x2a8476(0x306)](),this[_0x2a8476(0x3cd)]['forEach']((_0x3cd471,_0x2b0717)=>this[_0x2a8476(0x25d)](_0x2b0717)),this[_0x2a8476(0x349)]&&window[_0x2a8476(0x3e8)](this['_heartbeatTimer']);}[_0x33ce1a(0x31e)](_0x54427a){const _0x7c3383=_0x33ce1a;return this[_0x7c3383(0x33c)](_0x54427a)['pipe'](_0x185656[_0x7c3383(0x3e4)]());}[_0x33ce1a(0x43d)](_0xf16820){const _0x31d122=_0x33ce1a;this[_0x31d122(0x43f)][_0x31d122(0x3ce)]===0x0&&this[_0x31d122(0x312)](),this[_0x31d122(0x43f)][_0x31d122(0x384)](_0xf16820),this[_0x31d122(0x27c)]({'type':0x0,'memberID':this[_0x31d122(0x350)],'unitIDs':[_0xf16820],'isForwarded':!0x1});}[_0x33ce1a(0x449)](_0x3de089){const _0x420454=_0x33ce1a;this[_0x420454(0x43f)]['delete'](_0x3de089),this[_0x420454(0x43f)][_0x420454(0x3ce)]===0x0&&this['_heartbeatTimer']&&window[_0x420454(0x3e8)](this[_0x420454(0x349)]);}['_init'](){const _0x152c90=_0x33ce1a;this[_0x152c90(0x248)](_0x563b3c[_0x152c90(0x3f0)](_0x185656[_0x152c90(0x470)](window,_0x152c90(0x1e7))[_0x152c90(0x273)](_0x4c8e5d=>{const _0x2caf9d=_0x152c90;if(_0x4c8e5d[_0x2caf9d(0x1ef)]!==_0xf0e71b||!_0x4c8e5d[_0x2caf9d(0x201)])return;const _0x145fb6=JSON[_0x2caf9d(0x206)](_0x4c8e5d[_0x2caf9d(0x201)]);this[_0x2caf9d(0x479)](_0x145fb6);}))),window[_0x152c90(0x332)](_0x152c90(0x34e),()=>this[_0x152c90(0x27c)]({'type':0x1,'memberID':this[_0x152c90(0x350)],'unitIDs':Array[_0x152c90(0x403)](this[_0x152c90(0x43f)])}));}[_0x33ce1a(0x479)](_0x2bc6fa){const _0x1ea8f5=_0x33ce1a;switch(_0x2bc6fa[_0x1ea8f5(0x342)]){case 0x0:this[_0x1ea8f5(0x2cd)](_0x2bc6fa);break;case 0x1:this[_0x1ea8f5(0x3ba)](_0x2bc6fa);break;case 0x2:this[_0x1ea8f5(0x1f3)](_0x2bc6fa);break;}}[_0x33ce1a(0x2cd)](_0x7f8df5){const _0xadd0b9=_0x33ce1a,{unitIDs:_0x111285,memberID:_0x351d25,isForwarded:_0xf521d1}=_0x7f8df5;_0x111285['forEach'](_0x5c2910=>{const _0x2b66e0=_0x437c;if(!_0xf521d1&&this[_0x2b66e0(0x442)]['has'](_0x5c2910)&&this['_ensureSubject'](_0x5c2910)[_0x2b66e0(0x44f)](_0x35cb60[_0x2b66e0(0x41b)][_0x2b66e0(0x3d8)]),!this[_0x2b66e0(0x442)][_0x2b66e0(0x3ee)](_0x5c2910)||!this[_0x2b66e0(0x442)][_0x2b66e0(0x238)](_0x5c2910)[_0x2b66e0(0x3ee)](_0x351d25)){const _0x3b533f=this[_0x2b66e0(0x442)][_0x2b66e0(0x238)](_0x5c2910)||new Set();_0x3b533f[_0x2b66e0(0x384)](_0x351d25),this['_unitOnClients']['set'](_0x5c2910,_0x3b533f),this[_0x2b66e0(0x44a)](_0x351d25);}}),_0xf521d1||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0xadd0b9(0x43f)]],'isForwarded':!0x0});}[_0x33ce1a(0x44a)](_0x4b825d){const _0x22a1da=_0x33ce1a;this[_0x22a1da(0x25d)](_0x4b825d);const _0x4d2dec=window[_0x22a1da(0x21f)](()=>{const _0x4dd138=_0x22a1da;this[_0x4dd138(0x442)]['forEach'](_0x72db77=>{const _0x1b8ff9=_0x4dd138;_0x72db77[_0x1b8ff9(0x202)](_0x4b825d);});},_0x457b34*0x2);this[_0x22a1da(0x3cd)][_0x22a1da(0x245)](_0x4b825d,_0x4d2dec);}[_0x33ce1a(0x25d)](_0x1793a7){const _0x387be0=_0x33ce1a;if(this[_0x387be0(0x3cd)]['has'](_0x1793a7)){const _0x312c0e=this[_0x387be0(0x3cd)][_0x387be0(0x238)](_0x1793a7);_0x312c0e&&window[_0x387be0(0x1fb)](_0x312c0e),this[_0x387be0(0x3cd)][_0x387be0(0x245)](_0x1793a7,null);}}['_handleLeaveEvent'](_0x4b7b2e){const _0x228f05=_0x33ce1a,{memberID:_0x23fa10,unitIDs:_0x524445}=_0x4b7b2e;_0x524445[_0x228f05(0x453)](_0x31abc9=>{const _0x3a8ba4=_0x228f05;var _0x3c446f;const _0x478d30=this['_unitOnClients'][_0x3a8ba4(0x238)](_0x31abc9);_0x478d30&&(_0x478d30[_0x3a8ba4(0x202)](_0x23fa10),(_0x3c446f=this[_0x3a8ba4(0x33c)](_0x31abc9))==null||_0x3c446f[_0x3a8ba4(0x44f)](_0x478d30[_0x3a8ba4(0x3ce)]===0x0?_0x35cb60[_0x3a8ba4(0x41b)]['NO_OTHER_CLIENTS_EDITING']:_0x35cb60['UnitStatus']['OTHER_CLIENTS_EDITING']));}),this['_removeClearOtherTimer'](_0x23fa10);}[_0x33ce1a(0x1f3)](_0x30203a){const _0x164995=_0x33ce1a;this[_0x164995(0x44a)](_0x30203a[_0x164995(0x413)]);}[_0x33ce1a(0x27c)](_0x5b9bc0){localStorage['setItem'](_0xf0e71b,JSON['stringify'](_0x5b9bc0));}[_0x33ce1a(0x312)](){const _0x3cb996=_0x33ce1a;this[_0x3cb996(0x349)]=window[_0x3cb996(0x1f4)](()=>{const _0x194923=_0x3cb996;this[_0x194923(0x27c)]({'type':0x2,'memberID':this[_0x194923(0x350)]});},_0x457b34);}[_0x33ce1a(0x33c)](_0x2ce271){const _0x5c562f=_0x33ce1a;return this[_0x5c562f(0x316)][_0x5c562f(0x3ee)](_0x2ce271)||this['_unitStatus']['set'](_0x2ce271,new _0x185656[(_0x5c562f(0x25f))](_0x35cb60[_0x5c562f(0x41b)][_0x5c562f(0x31f)])),this[_0x5c562f(0x316)]['get'](_0x2ce271);}}var _0x1a3ac0=(_0x6434a3=>(_0x6434a3[_0x6434a3[_0x33ce1a(0x373)]=0x0]=_0x33ce1a(0x373),_0x6434a3[_0x6434a3['OK']=0x1]='OK',_0x6434a3[_0x6434a3[_0x33ce1a(0x299)]=0x2]=_0x33ce1a(0x299),_0x6434a3[_0x6434a3[_0x33ce1a(0x2e2)]=0x3]='PERMISSION_DENIED',_0x6434a3[_0x6434a3[_0x33ce1a(0x3ef)]=0x4]='NOT_FOUND',_0x6434a3[_0x6434a3[_0x33ce1a(0x2a8)]=0x5]=_0x33ce1a(0x2a8),_0x6434a3[_0x6434a3[_0x33ce1a(0x2b0)]=0x6]=_0x33ce1a(0x2b0),_0x6434a3[_0x6434a3[_0x33ce1a(0x3d9)]=0x7]=_0x33ce1a(0x3d9),_0x6434a3[_0x6434a3['TOO_MANY_REQUESTS']=0x8]=_0x33ce1a(0x25c),_0x6434a3[_0x6434a3['COMPLETION_FINISHED']=0x9]='COMPLETION_FINISHED',_0x6434a3[_0x6434a3['LOGIN_FAILED']=0xa]=_0x33ce1a(0x3a9),_0x6434a3[_0x6434a3[_0x33ce1a(0x212)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x6434a3[_0x6434a3['SNAPSHOT_INVALID_SNAPSHOT']=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x6434a3[_0x6434a3[_0x33ce1a(0x3fc)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x6434a3[_0x6434a3[_0x33ce1a(0x302)]=0x1773]=_0x33ce1a(0x302),_0x6434a3[_0x6434a3[_0x33ce1a(0x323)]=0x1b59]=_0x33ce1a(0x323),_0x6434a3[_0x6434a3['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x33ce1a(0x20c),_0x6434a3[_0x6434a3[_0x33ce1a(0x267)]=0x1b5b]=_0x33ce1a(0x267),_0x6434a3[_0x6434a3[_0x33ce1a(0x430)]=0x1b5c]=_0x33ce1a(0x430),_0x6434a3[_0x6434a3[_0x33ce1a(0x223)]=0x1b5d]=_0x33ce1a(0x223),_0x6434a3[_0x6434a3[_0x33ce1a(0x1ff)]=0x1f41]=_0x33ce1a(0x1ff),_0x6434a3[_0x6434a3[_0x33ce1a(0x209)]=0x2329]=_0x33ce1a(0x209),_0x6434a3[_0x6434a3[_0x33ce1a(0x400)]=0x232a]=_0x33ce1a(0x400),_0x6434a3[_0x6434a3['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x33ce1a(0x279),_0x6434a3[_0x6434a3[_0x33ce1a(0x290)]=0x232c]=_0x33ce1a(0x290),_0x6434a3[_0x6434a3[_0x33ce1a(0x3b5)]=0x232d]=_0x33ce1a(0x3b5),_0x6434a3[_0x6434a3[_0x33ce1a(0x29e)]=0x2711]=_0x33ce1a(0x29e),_0x6434a3[_0x6434a3['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x33ce1a(0x31c),_0x6434a3[_0x6434a3[_0x33ce1a(0x2cc)]=0x2713]=_0x33ce1a(0x2cc),_0x6434a3[_0x6434a3[_0x33ce1a(0x331)]=0x2714]=_0x33ce1a(0x331),_0x6434a3[_0x6434a3[_0x33ce1a(0x3aa)]=0x271a]=_0x33ce1a(0x3aa),_0x6434a3[_0x6434a3['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x33ce1a(0x45e),_0x6434a3[_0x6434a3[_0x33ce1a(0x2b9)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x6434a3[_0x6434a3[_0x33ce1a(0x232)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x6434a3[_0x6434a3[_0x33ce1a(0x3ec)]=0x2ee2]=_0x33ce1a(0x3ec),_0x6434a3[_0x6434a3[_0x33ce1a(0x344)]=0x2ee3]=_0x33ce1a(0x344),_0x6434a3[_0x6434a3[_0x33ce1a(0x341)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x6434a3[_0x6434a3['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x33ce1a(0x3b9),_0x6434a3[_0x6434a3[_0x33ce1a(0x280)]=0x32c9]='WECHAT_HAS_BEEN_BOUND',_0x6434a3[_0x6434a3['MOBILE_HAS_BEEN_BOUND']=0x32ca]=_0x33ce1a(0x421),_0x6434a3[_0x6434a3[_0x33ce1a(0x36c)]=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x6434a3[_0x6434a3[_0x33ce1a(0x3c6)]=-0x1]='UNRECOGNIZED',_0x6434a3))(_0x1a3ac0||{}),_0x435a7e=Object[_0x33ce1a(0x43c)],_0x5bd981=(_0x24f96c,_0x321f3a,_0x4dff5c,_0x45c216)=>{for(var _0x21cd25=_0x45c216>0x1?void 0x0:_0x45c216?_0x435a7e(_0x321f3a,_0x4dff5c):_0x321f3a,_0x73fc92=_0x24f96c['length']-0x1,_0x5c0551;_0x73fc92>=0x0;_0x73fc92--)(_0x5c0551=_0x24f96c[_0x73fc92])&&(_0x21cd25=_0x5c0551(_0x21cd25)||_0x21cd25);return _0x21cd25;},_0x545ea2=(_0x1d95d4,_0x4b860a)=>(_0xfbb6e0,_0x5b8e20)=>_0x4b860a(_0xfbb6e0,_0x5b8e20,_0x1d95d4);_0x4b43a5[_0x33ce1a(0x355)]=class extends _0x563b3c[_0x33ce1a(0x3d2)]{constructor(_0x4ec183,_0x40cd9f,_0x1fd3fd){const _0x267cb2=_0x33ce1a;super(),this[_0x267cb2(0x431)]=_0x4ec183,this[_0x267cb2(0x360)]=_0x40cd9f,this[_0x267cb2(0x3ae)]=_0x1fd3fd;}async['runOnServer'](_0x5c0dd5,_0x2707a7,_0x9378d4,..._0x256d37){const _0x1b3d30=_0x33ce1a;var _0x7818a8,_0x549a89,_0xf506aa,_0x78c73e;const _0x5126d6=this[_0x1b3d30(0x431)][_0x1b3d30(0x374)]();if(!_0x5126d6)throw new Error(_0x1b3d30(0x2cf));const _0xdeadc9=((_0x7818a8=this[_0x1b3d30(0x3ae)]['getConfig'](_0x35cb60[_0x1b3d30(0x300)]))!=null?_0x7818a8:_0x35cb60[_0x1b3d30(0x2c8)])+'/'+_0x5c0dd5+_0x1b3d30(0x2ad)+_0x2707a7,_0x337571=new URL(window[_0x1b3d30(0x42a)][_0x1b3d30(0x2db)]),_0xde58a5={'scriptId':_0x5c0dd5,'runId':(_0x549a89=_0x337571['searchParams'][_0x1b3d30(0x238)]('runId'))!=null?_0x549a89:'','function':_0x2707a7,'unitId':_0x5126d6[_0x1b3d30(0x205)](),'argsOfFunction':JSON[_0x1b3d30(0x263)](_0x256d37),'invokeId':(_0xf506aa=_0x9378d4[_0x1b3d30(0x314)])!=null?_0xf506aa:'','executionId':(_0x78c73e=_0x9378d4[_0x1b3d30(0x3ea)])!=null?_0x78c73e:''};try{const _0x3368ac=await this[_0x1b3d30(0x360)][_0x1b3d30(0x2b2)](_0xdeadc9,{'body':_0xde58a5});return _0x3368ac['body'][_0x1b3d30(0x208)]&&_0x3368ac[_0x1b3d30(0x218)]['error']['code']!==_0x1a3ac0['OK']?_0x1b3d30(0x3e2):_0x3368ac[_0x1b3d30(0x218)]['result'];}catch{return _0x1b3d30(0x3e2);}}},_0x4b43a5[_0x33ce1a(0x355)]=_0x5bd981([_0x545ea2(0x0,_0x563b3c['IUniverInstanceService']),_0x545ea2(0x1,_0x563b3c[_0x33ce1a(0x41e)](_0x5c6440[_0x33ce1a(0x1dd)])),_0x545ea2(0x2,_0x563b3c[_0x33ce1a(0x3e1)])],_0x4b43a5['RemoteUniscriptService']),_0x4b43a5[_0x33ce1a(0x3f2)]=_0x23c6fa,_0x4b43a5[_0x33ce1a(0x3b8)]=_0x172606,_0x4b43a5[_0x33ce1a(0x42c)]=_0x421db6,_0x4b43a5['WebBrowserSingleActiveUnitService']=_0x34743f,_0x4b43a5[_0x33ce1a(0x39f)]=_0x11c175,Object[_0x33ce1a(0x2d3)](_0x4b43a5,Symbol['toStringTag'],{'value':_0x33ce1a(0x31a)});}));
|