@univerjs-pro/collaboration-client-ui 0.8.3-nightly.202507010644 → 0.8.3-nightly.202507011607
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/ko-KR.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/ko-KR.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/ko-KR.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/ko-KR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x3de9(_0x1a14e6,_0xd72565){const _0x14a444=_0x14a4();return _0x3de9=function(_0x3de9b5,_0x594b82){_0x3de9b5=_0x3de9b5-0xaa;let _0x1027b4=_0x14a444[_0x3de9b5];return _0x1027b4;},_0x3de9(_0x1a14e6,_0xd72565);}function _0x14a4(){const _0x1b69f9=['engine','debounceTime','with','PY_RUNTIME_SCRIPT_ERROR','call','extend','string','getUndoRedoMutationParamsCache','getOwnPropertySymbols','_registerRenderDependencies','touchDependencies','sheetId','transformByState','104JhrCWf','getItem','_docClipboardService','textRanges','_updateSubUnitFromURLParams','idSuffix','_hover','entityInit$','urlChange$','getAncestorScale','use','_collaborationController','_handleEvent','size','labelPosition','IConfigService','OFFLINE','OffLineIcon','currentSkeleton$','RegularPolygon','loadOfflineData','_getMergeRange','_initCommandExecutedListener','subscribeEvent','IImageIoService','startRow','cursorInfo$','RevisionService','ColorKit','createIdentifier','MemberService','478263scFxNJ','replaceState','RxDisposable','row','@univerjs/engine-formula','useCallback','7580MXTGIF','onLocalMutation','EMAIL_HAS_BEEN_BOUND','ITransformService','_instanceService','_send','AWAITING_WITH_PENDING','createElement','type','react/jsx-runtime','collabStatus.offline','RemoteUniscriptService','_localCacheService','unshift','random','href','has','on-line-icon','_clearOtherTimers','_onRefRangeChange','getCoordByCell','_saveTaskMap','getParam','getUnhiddenWorksheets','DesktopCollaborationStatusDisplayController','TEXT_RANGE_LAYER_INDEX','[CollaborationDataLoaderController]','hide','connectInjector','getRangePointData','_labelPosition','_beforeCloseService','UniverUi','clearTimeout','tag','symbol','forwardRef','memberID','SessionStatus','currentColor','@univerjs-pro/collaboration','_sheetSkeletonManagerService','_onCursorUpdate','YUUMI_NO_CUBOID_FOR_QUESTION','redoState','roomMembers$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','INVITE_CODE_ALREADY_BOUND','_lastPointer','handleIRemoveRow','none','LICENSE_DISTRO_REJECTED','registerBeforeClose','delete','search','_transformPreviousActiveRange','_collabCursorController','UniverCore','DataLoaderService','0\x200\x2016\x2016','_doCreateSocket','_drawAnchor','77zZlmZM','_setupSubUnitSync','YUUMI_SUBSCRIPTION_NOT_FOUND','Error','_httpService','WECHAT_HAS_BEEN_BOUND','DEFAULT_WS_SESSION_TICKET_URL','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','column','BrowserCollaborationSocketService','setAlpha','triggerDblclick','UNRECOGNIZED','univer-mr-2\x20univer-flex\x20univer-text-xl','_removeCollabCursors','YUUMI_CONNECTOR_URL_NOT_FOUND','MOBILE_VERIFY_CODE_MISMATCH','ONLINE','_entities','_memberService','_color','off-line-icon_clip0_910_343','_createSocketURL','_toggleOffline','Tools','reconnect','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','path','Unknown\x20user','getActiveSheet','APPLY_DUPLICATED','onStarting','popstate','IRemoteInstanceService','setUndoRedoMutationParamsCache','MOBILE_HAS_BEEN_BOUND','transformMutation','runRefRangeMutations','flatMap','getCellPositionByOffset','RefRangeService','LocaleService','@univerjs/network','USERS_LEAVE','dispose','session.collaboration-timeout','addObjects','CollaborationDataLoaderController','_config','isArray','WebSocketService','setTimeout','_saveCache','fillRule','_scene','m2Prime','next','subunit','...','color','CollaborationSessionService','pushState','YUUMI_URL_COL_OUT_OF_RANGE','includes','getSheetObject','handleDeleteRangeMoveUp','on-line-icon_clip0_910_349','@univerjs/docs','_initEntityListener','USER_NOT_INVITED_CODE','DocSelectionManagerService','transformIMECache','_hideTimer','_syncEditingCollabCursorService','div','params','_docTransformIMECacheService','endColumn','APPLY_REVISION_CONFILICT','add','@univerjs/core','_hovered','UniverDocsUi','requireSession','disposeWithMe','split','selections','show','send','resize','collabStatus.fetchMiss','saveOfflineData','ICommandService','executeCommand','CollaborationSocketService','1em','IUniverInstanceService','_localeService','setConfig','UniverDrawing','Workbook','_updateURLWithCurrentState','eventID','ILocalCacheService','setItem','_handleLeaveEvent','_initEvent','runId','NOT_COLLAB','loadUnit','getStateCache','ILocalStorageService','searchParams','Module','EMAIL_VERIFY_CODE_MISMATCH','InsertRangeMoveDownCommandId','registerComponent','_notificationService','getLocalCacheKey','univer-flex\x20univer-items-center','svg','_startDocCollabCursor','LOGIN_FAILED','IURLService','getSheetId','_name','createSocket','@univerjs/design','attrs','_transformService','_registerDependencies','IUIPartsService','VIEW_MAIN','getRenderById','isTransformMutationsWithChangesetSuccess','MoveRangeCommandId','UniverEngineFormula','EffectRefRangId','find','_themeService','SetWorksheetActivateCommand','_onCursorDelete','Plugin','saveTaskMap','UNDEFINED','onPointerEnter$','registerDependencies','icon','TEXT','handleDeleteRangeMoveLeft','getTypeOfUnitAdded$','ALREADY_EXISTS','height','#FFF','unitID','_urlService','_handleHeartbeatEvent','isTransformMutationFailure','mapTo','_cursor','collaboration.closeRoom','children','docStateChange$','setParam','9xIgLLd','NO_OTHER_CLIENTS_EDITING','Warning','apply','getTypeOfUnitDisposed$','currentTheme$','unit','_session','_removeClearOtherTimer','trim','ENSURE_SNAPSHOT_EXECUTION','lineTo','switchMap','colorChannel1','measureText','12wMyiTz','TOO_MANY_REQUESTS','_initDependencies','drawWith','INotificationService','RemoveColCommandId','UniverDesign','isActive','collabStatus.syncing','IMessageService','removeParam','@univerjs/ui','generateRandomId','url(#off-line-icon_clip0_910_343)','IBeforeCloseService','amd','_getScale','_injector','getCollabCursors$','handleInsertCol','white','permission.content','CONNECTOR_DATA_TOO_LARGE','ThemeService','RECT','name','_colorAssignService','font','evenodd','_backgroundColor','LOCAL_CACHE_INTERVAL','INVALID_ARGUMENT','selection','DocCollaborationEntity','permission.title','UniverInstanceType','getVpScrollXYInfoByPosToVp','addObject','session.connection-failed','combineLatest','_status$','_toggleOnline','_roomMembers$','UPDATE_CURSOR','useDependency','PERMISSION_DENIED','getCurrentRevOfUnit','_shapes','onRendered','UNAUTHENTICATED','updateOfflineData','jiqing.500','substring','_localStorageService','concat','ACTIVE_UNIT_EVENT_CHANNEL','url(#$1','NodePositionConvertToRectRange','_refRangeService','TRANSFORM_CHANGE_OBSERVABLE_TYPE','_id','_draw','save','status$','onMouseMove','operators','UniverProCollaborationClient','104299YBOVqe','transform','UniverProCollaborationClientUi','pluginName','SheetSkeletonManagerService','_collaborationUIEventService','init','push','yellow.400','transformSelections','forEach','Optional','session.will-retry','result','sessionStatus$','SHEET_VIEWPORT_KEY','_getSaveTimeout','Disposable','beginPath','SNAPSHOT_INVALID_SNAPSHOT','_transformUndoRedoStack','_docSkeletonManagerService','getMember','CollaborationUIEventId','disposeUnit','SOCKET_FAILED','toStringTag','findNodePositionByCharIndex','_range','clsx','propertyIsEnumerable','IRenderManagerService','indexOf','doc.mutation.rich-text-editing','_messageService','UNIVER_SHEET','M0\x200H16V16H0z','collaboration.single-unit.warning','UniverDocs','event$','_renderManagerService','MessageType','dispose$','_disabled','_anchorDot','getOffsetConfig','_revisionService','_scheduleHeartbeat','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','Vector2','_commandService','getConfig','setShapeProps','toString','focused$','blue.400','_scheduleClearOtherTimer','_docTransformSelectionsService','mutations','ILogService','handleInsertRangeMoveDown','APPLY_REJECT','runOnServer','getUnitId','CollaborationStatusDisplay','DocStateChangeManagerService','source','_updateCollabCursors','toRgbString','getFocusedUnit','_univerInstanceService','getUnitStatus$','registerRefRange','BuiltInUIPart','LICENSE_EXPORT_SIZE_EXCEEDED','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','_heartbeatTimer','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','UnitStatus','DocIMEInputManagerService','whenReady','DependentOn','CollaborationStatus','takeUntil','subscribe','cursorInfo','all','_cursorInfo$','top','_getSheetObject','transformMutationsWithChangeset','_unitOnClients','_drawTextRange','editingUnit','NOT_FOUND','history','_collabSessionService','681480UFkBam','mask','getColor','_entityInit$','getColorFromTheme','_docStateChangeManagerService','Shape','_unitStatus','moveTo','transformStateCache','some','addClipboardHook','jsxs','@univerjs/rpc','fillStyle','getCurrent','fill','_getSessionTicket','UniverCollaborationClientUIPlugin','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','_handleHover','purple.300','@univerjs-pro/collaboration-client','hasOwnProperty','getSkeleton','fromEventSubject','collabStatus.synced','exports','min','_configService','restore','_collabCursorState$','BehaviorSubject','CONFLICT','black','UniverEngineRender','_online','subUnitId','_updateLocalCursor','onPointerLeave$','url(#on-line-icon_clip0_910_349)','INVITE_CODE_HAS_BEEN_UES','stringify','get','Rect','_scheduleSaving','INTERNAL_ERROR','ISnapshotServerService','FromArray','fillText','_cachedData','defIds','then','serializeRangeWithSheet','LICENSE_IMPORT_SIZE_EXCEEDED','jsx','APPLY_PERMISSION_DENIED','CHANGESET_REVISION_CONFILICT','YUUMI_ALL_TABLES_IS_INVALID','LICENSE_MAX_UNITS_EXCEEDED','override','DeleteRangeMoveLeftCommandId','hovered','http://www.w3.org/2000/svg','className','22ZYfXcx','pipe','closePath','uni.network.url-service','OTHER_CLIENTS_EDITING','values','UNIVER_DOC','getDocRanges','RichTextEditingMutation','startsWith','actions','collabCursorState$','error','_render','fromEvent','UniverSheetsUi','arc','setActiveRange','bottom','defs','getViewport','_ensureSubject','collaboration-client-ui.config','UniverSheets','INVITE_CODE_REQUIRED','YUUMI_UNABLE_LOAD_URL','clearInterval','FETCH_MISS','data','max','ISocketService','map','_document','InsertColCommandId','range','_imageIoService','PENDING','_initStatusListener','Injector','_docSyncEditingCollabCursorService','roomMembers','6687016mPsIGy','15058SBndkO','getMemberID','CollaborationEvent','4073095qFUZLz','from','xlink:href','exhaustSavingTask','DOC_RANGE_TYPE','InsertRangeMoveRightCommandId','DeleteRangeMoveUpCommandId','newValue','InsertRowCommandId','enableLocalCache','_refreshCollabCursors','backgroundColor','useObservable','transformRemoteChangeset','React','CLOSE_ROOM','collaboration-client.offline-data-not-saved','executionId','length','entries','useRef','HTTPService','distinctUntilChanged','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','debounce','asObservable','_colorIndex','COMPLETION_FINISHED','contains','handleInsertRow','_anchor','location','Failed','assign','CollaborationUIEventService','collab-text-range-','ranges','set','_initStatusComponent','_cursors','round','36beUEtK','_selfUnitIDs','prototype','CollaborationController','rxjs/operators','_logService','Inject','getCurrentUnitForType','undoState','getSheetBySheetId','body','endRow','_transformHistoryAndStateStack','_initResize','m1Prime','filter','ticket','onCommandExecuted','width','@univerjs/sheets-ui','collab-rect-range-','unitId','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','SNAPSHOT_HAS_BEEN_REMOVED','COLORS','_cursorShapes','displayName','_getAnchorBounding','complete','text','_assignedColors','replaceDocRanges','registerRenderModule','getCurrentSelections','_context','_uiPartsService','getValue','createInstance','UniverNetwork','YUUMI_RATE_OVER_LIMIT','_textBubble','function','_docTransformStateCacheService','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','DisposableCollection','SOCKET_FAILED_RETRY','_init','clipPath','collabStatus.notCollab','_handleJoinEvent','deepClone','syncEditingCollabCursor','replace','_eventUnsubscribe','application/json','_drawRectRange','wsSessionTicketUrl','getOwnPropertyDescriptor','defineProperty','unsubscribe'];_0x14a4=function(){return _0x1b69f9;};return _0x14a4();}(function(_0x51d88d,_0x32c265){const _0x14fe84=_0x3de9,_0x513b03=_0x51d88d();while(!![]){try{const _0x2a4a6c=parseInt(_0x14fe84(0x219))/0x1*(parseInt(_0x14fe84(0x28e))/0x2)+-parseInt(_0x14fe84(0x2ad))/0x3*(parseInt(_0x14fe84(0x10a))/0x4)+parseInt(_0x14fe84(0x21c))/0x5+-parseInt(_0x14fe84(0x1ae))/0x6*(parseInt(_0x14fe84(0x2f1))/0x7)+parseInt(_0x14fe84(0x218))/0x8*(parseInt(_0x14fe84(0xfb))/0x9)+parseInt(_0x14fe84(0x2b3))/0xa*(parseInt(_0x14fe84(0x1ef))/0xb)+parseInt(_0x14fe84(0x245))/0xc*(parseInt(_0x14fe84(0x14d))/0xd);if(_0x2a4a6c===_0x32c265)break;else _0x513b03['push'](_0x513b03['shift']());}catch(_0x3b3476){_0x513b03['push'](_0x513b03['shift']());}}}(_0x14a4,0xb293e),function(_0x49996a,_0x3c1e3f){const _0x4c208a=_0x3de9;typeof exports=='object'&&typeof module<'u'?_0x3c1e3f(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x4c208a(0x26e)&&define[_0x4c208a(0x119)]?define([_0x4c208a(0x1c9),_0x4c208a(0x1c4),_0x4c208a(0x341),'@univerjs/engine-render',_0x4c208a(0x31b),'@univerjs/docs-ui','@univerjs/drawing','rxjs',_0x4c208a(0x2db),_0x4c208a(0x334),_0x4c208a(0x2b1),'@univerjs/sheets',_0x4c208a(0x249),_0x4c208a(0x258),_0x4c208a(0x2bc),_0x4c208a(0x115),_0x4c208a(0xd6),'react',_0x4c208a(0x1bb)],_0x3c1e3f):(_0x49996a=typeof globalThis<'u'?globalThis:_0x49996a||self,_0x3c1e3f(_0x49996a[_0x4c208a(0x14f)]={},_0x49996a[_0x4c208a(0x14c)],_0x49996a[_0x4c208a(0x2ec)],_0x49996a[_0x4c208a(0x1d1)],_0x49996a[_0x4c208a(0x26b)],_0x49996a[_0x4c208a(0x343)],_0x49996a[_0x4c208a(0xba)],_0x49996a['rxjs'],_0x49996a['UniverProCollaboration'],_0x49996a[_0x4c208a(0x173)],_0x49996a[_0x4c208a(0xdf)],_0x49996a[_0x4c208a(0x206)],_0x49996a['rxjs'][_0x4c208a(0x14b)],_0x49996a[_0x4c208a(0x1fe)],_0x49996a['React'],_0x49996a[_0x4c208a(0x2d3)],_0x49996a[_0x4c208a(0x110)],_0x49996a[_0x4c208a(0x22a)],_0x49996a['UniverRpc']));}(this,function(_0x4e86fa,_0x3a2a7b,_0x34ebd1,_0x25b909,_0x4ece0e,_0x277641,_0x4e51ba,_0x3dc992,_0x26da06,_0x14e34b,_0x53151d,_0x762c7b,_0x3fc8e3,_0x184213,_0x4877af,_0x41e240,_0x588e34,_0x4eebd7,_0x2f5ca0){'use strict';const _0x5972b3=_0x3de9;var _0x2255a2=Object[_0x5972b3(0x27f)],_0x20317f=(_0x39216b,_0x703bfa,_0x27c1ea)=>_0x703bfa in _0x39216b?_0x2255a2(_0x39216b,_0x703bfa,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x27c1ea}):_0x39216b[_0x703bfa]=_0x27c1ea,_0x47e648=(_0x69dd49,_0x5bb9a2,_0x4946cb)=>_0x20317f(_0x69dd49,typeof _0x5bb9a2!=_0x5972b3(0x2d6)?_0x5bb9a2+'':_0x5bb9a2,_0x4946cb),_0x41be8f=Object[_0x5972b3(0x27e)],_0x2a4fe8=(_0x3bed79,_0x17b67a,_0x23462f,_0x1c029f)=>{for(var _0x1190e8=_0x1c029f>0x1?void 0x0:_0x1c029f?_0x41be8f(_0x17b67a,_0x23462f):_0x17b67a,_0x3c7462=_0x3bed79['length']-0x1,_0x1c1e84;_0x3c7462>=0x0;_0x3c7462--)(_0x1c1e84=_0x3bed79[_0x3c7462])&&(_0x1190e8=_0x1c1e84(_0x1190e8)||_0x1190e8);return _0x1190e8;},_0x2f9b5d=(_0x2db5d2,_0x20fcbd)=>(_0x290d3a,_0x426add)=>_0x20fcbd(_0x290d3a,_0x426add,_0x2db5d2);let _0x211ac6=class extends _0x34ebd1['RxDisposable']{constructor(_0x515ff4,_0xb3e216){const _0x5bcc1c=_0x5972b3;super(),this['_docClipboardService']=_0x515ff4,this[_0x5bcc1c(0x212)]=_0xb3e216,this['_init']();}[_0x5972b3(0x273)](){const _0x1acb52=_0x5972b3,_0x2a4300=this;this[_0x1acb52(0xab)](this[_0x1acb52(0x290)][_0x1acb52(0x1b9)]({'onBeforePasteImage':async _0x30c7e5=>{const _0x3c492e=_0x1acb52,_0x179932=await _0x2a4300['_imageIoService']['saveImage'](_0x30c7e5);return _0x179932?{'source':_0x179932[_0x3c492e(0x18f)],'imageSourceType':_0x179932['imageSourceType']}:null;}}));}};_0x211ac6=_0x2a4fe8([_0x2f9b5d(0x0,_0x277641['IDocClipboardService']),_0x2f9b5d(0x1,_0x4e51ba[_0x5972b3(0x2a6)])],_0x211ac6);const _0x552804=[_0x5972b3(0x1c3),_0x5972b3(0x13d),'green.600','red.300',_0x5972b3(0x184),_0x5972b3(0x155)];class _0x512efc extends _0x34ebd1[_0x5972b3(0x15e)]{constructor(){const _0x2c0e80=_0x5972b3;super(...arguments),_0x47e648(this,'_assignedColors',new Map()),_0x47e648(this,_0x2c0e80(0x236),0x0);}['assignAColorForMemberID'](_0x53f0ba){const _0x4f3c90=_0x5972b3;if(this[_0x4f3c90(0x263)]['has'](_0x53f0ba))return this['_assignedColors'][_0x4f3c90(0x1d9)](_0x53f0ba);const _0x21ee46=_0x552804[this[_0x4f3c90(0x236)]];return this['_colorIndex']=(this[_0x4f3c90(0x236)]+0x1)%_0x552804[_0x4f3c90(0x22e)],this[_0x4f3c90(0x263)][_0x4f3c90(0x241)](_0x53f0ba,_0x21ee46),_0x21ee46;}}function _0x553aa2(_0x1b0f30){const _0x1aaebe=_0x5972b3;let _0x1b22f2='';for(const _0x36e12a of _0x1b0f30){const {startOffset:_0x24969b,endOffset:_0x211318,isActive:_0x3a53d6,rangeType:_0x44b000,segmentId:_0x9219a5,segmentPage:_0x1185e3}=_0x36e12a;_0x1b22f2[_0x1aaebe(0x22e)]&&(_0x1b22f2+=','),_0x1b22f2+=_0x24969b+':'+_0x211318+':'+(_0x3a53d6?'1':'0')+':'+_0x44b000+':'+_0x9219a5+':'+_0x1185e3;}return _0x1b22f2;}function _0x13e64e(_0x166cc8){const _0xebf174=_0x5972b3,_0x34a214=_0x166cc8[_0xebf174(0xac)](','),_0x579274=[];for(const _0x2a81a7 of _0x34a214){const [_0x96f379,_0x6b2ad2,_0x954109,_0x1f9f51,_0x58eb87,_0xc56a68]=_0x2a81a7[_0xebf174(0xac)](':');_0x579274[_0xebf174(0x154)]({'startOffset':Number(_0x96f379),'endOffset':Number(_0x6b2ad2),'collapsed':_0x96f379===_0x6b2ad2,'isActive':_0x954109==='1','rangeType':_0x1f9f51===_0x34ebd1['DOC_RANGE_TYPE']['TEXT']?_0x34ebd1[_0xebf174(0x220)][_0xebf174(0xeb)]:_0x34ebd1[_0xebf174(0x220)][_0xebf174(0x122)],'segmentId':typeof _0x58eb87==_0xebf174(0x287)?String(_0x58eb87):'','segmentPage':Number(_0xc56a68!=null?_0xc56a68:-0x1)});}return _0x579274[_0xebf174(0x1b8)](_0xb58b9c=>_0xb58b9c['isActive'])||(_0x579274[0x0][_0xebf174(0x111)]=!0x0),_0x579274;}class _0x1ece76 extends _0x34ebd1[_0x5972b3(0x2af)]{constructor(){const _0x55f5bc=_0x5972b3;super(...arguments),_0x47e648(this,'_collabCursorState$',new _0x3dc992[(_0x55f5bc(0x1ce))](null)),_0x47e648(this,_0x55f5bc(0x1fa),this[_0x55f5bc(0x1cd)][_0x55f5bc(0x235)]());}[_0x5972b3(0x278)](_0x374f){const _0x5e99e0=_0x5972b3,{unitID:_0x804ac9,memberID:_0x303ec3,textRanges:_0x2e57a0}=_0x374f,_0x3f4722=_0x553aa2(_0x2e57a0);if(_0x3f4722==='')return;const _0x2028fb={'unitID':_0x804ac9,'memberID':_0x303ec3,'selection':_0x3f4722};this[_0x5e99e0(0x1cd)][_0x5e99e0(0x329)](_0x2028fb);}}var _0x11bdba=Object[_0x5972b3(0x27e)],_0x20e015=(_0x3a8424,_0x748914,_0x4ad730,_0x5b49fb)=>{const _0x38dc6f=_0x5972b3;for(var _0x3aeec1=_0x5b49fb>0x1?void 0x0:_0x5b49fb?_0x11bdba(_0x748914,_0x4ad730):_0x748914,_0x4a35c7=_0x3a8424[_0x38dc6f(0x22e)]-0x1,_0x1621ca;_0x4a35c7>=0x0;_0x4a35c7--)(_0x1621ca=_0x3a8424[_0x4a35c7])&&(_0x3aeec1=_0x1621ca(_0x3aeec1)||_0x3aeec1);return _0x3aeec1;},_0x59cf17=(_0x361bbd,_0x5f2217)=>(_0x596c17,_0x6f5ac1)=>_0x5f2217(_0x596c17,_0x6f5ac1,_0x361bbd);const _0x1eae75=0x12c,_0xc583d9=0x64;let _0x40cc4d=class extends _0x34ebd1[_0x5972b3(0x2af)]{constructor(_0x1c0ed7,_0x465647,_0xbf38fd,_0x419743,_0xc24e87,_0x578da1,_0x912fb2,_0x32f9d0,_0x117811){const _0x4d7395=_0x5972b3;super(),_0x47e648(this,_0x4d7395(0x1d2),!0x1),_0x47e648(this,_0x4d7395(0x273),!0x1),_0x47e648(this,_0x4d7395(0x1a4),new _0x3dc992[(_0x4d7395(0x1ce))](new Map())),_0x47e648(this,_0x4d7395(0x2a8),this[_0x4d7395(0x1a4)][_0x4d7395(0x235)]()),_0x47e648(this,_0x4d7395(0x134),new _0x3dc992['BehaviorSubject']([])),_0x47e648(this,_0x4d7395(0x2e0),this['_roomMembers$'][_0x4d7395(0x1f0)](_0x3dc992[_0x4d7395(0x282)](_0x1eae75))),_0x47e648(this,_0x4d7395(0x1d4),_0x34ebd1[_0x4d7395(0x234)](_0x5431bf=>{const _0x8f5935=_0x4d7395,_0x528aed={'eventID':_0x26da06[_0x8f5935(0x21b)][_0x8f5935(0x135)],'data':{'unitID':this[_0x8f5935(0xf1)],'memberID':this['_session']['getMemberID'](),'selection':_0x553aa2(_0x5431bf)}};this[_0x8f5935(0x102)]['send'](_0x528aed,this[_0x8f5935(0xf1)]);},_0xc583d9)),(this[_0x4d7395(0xf1)]=_0x1c0ed7,this[_0x4d7395(0x102)]=_0x465647,this[_0x4d7395(0x11b)]=_0xbf38fd,this[_0x4d7395(0x124)]=_0x419743,this[_0x4d7395(0x304)]=_0xc24e87,this[_0x4d7395(0x33a)]=_0x578da1,this[_0x4d7395(0xd8)]=_0x912fb2,this[_0x4d7395(0x193)]=_0x32f9d0,this['_commandService']=_0x117811);}get[_0x5972b3(0x1a2)](){const _0x38aca5=_0x5972b3;return this[_0x38aca5(0x1a4)][_0x38aca5(0x269)]();}get[_0x5972b3(0x217)](){const _0xeae3af=_0x5972b3;return this[_0xeae3af(0x134)]['getValue']();}[_0x5972b3(0x31d)](){const _0x122b14=_0x5972b3;super['dispose'](),this[_0x122b14(0x1a4)]['next'](new Map()),this[_0x122b14(0x1a4)][_0x122b14(0x261)](),this[_0x122b14(0x134)][_0x122b14(0x329)]([]),this[_0x122b14(0x134)][_0x122b14(0x261)]();}[_0x5972b3(0x153)](){const _0x5c78b4=_0x5972b3;this[_0x5c78b4(0x273)]||(this['_init']=!0x0,this[_0x5c78b4(0x102)]['sessionStatus$'][_0x5c78b4(0x1f0)](_0x3dc992['takeUntil'](this[_0x5c78b4(0x177)]))['subscribe'](_0x2a2532=>{const _0x546624=_0x5c78b4;_0x2a2532===_0x3a2a7b[_0x546624(0x2d9)][_0x546624(0x302)]?this[_0x546624(0x133)]():this[_0x546624(0x308)]();}),this[_0x5c78b4(0x102)][_0x5c78b4(0x174)][_0x5c78b4(0x1f0)](_0x3dc992[_0x5c78b4(0x1a0)](this[_0x5c78b4(0x177)]))[_0x5c78b4(0x1a1)](_0x5579f8=>{const _0x4eb5f0=_0x5c78b4,_0x14070c=_0x5579f8[_0x4eb5f0(0xbd)];_0x14070c===_0x26da06[_0x4eb5f0(0x21b)]['UPDATE_CURSOR']&&this[_0x4eb5f0(0x2dd)](_0x5579f8),_0x14070c===_0x26da06[_0x4eb5f0(0x21b)][_0x4eb5f0(0x31c)]&&this[_0x4eb5f0(0xe4)](_0x5579f8);}),this[_0x5c78b4(0xab)](this[_0x5c78b4(0x17f)]['onCommandExecuted'](_0x240571=>{const _0x4f3a67=_0x5c78b4,_0x3364e9=_0x240571[_0x4f3a67(0x33c)];_0x3364e9!=null&&this[_0x4f3a67(0x1d2)]&&_0x240571['id']===_0x14e34b['SetTextSelectionsOperation']['id']&&_0x3364e9['unitId']===this['unitID']&&_0x3364e9['isEditing']===!0x1&&_0x3364e9[_0x4f3a67(0x240)]['length']>0x0&&this[_0x4f3a67(0x1d4)](_0x3364e9[_0x4f3a67(0x240)]);})),this[_0x5c78b4(0x33a)][_0x5c78b4(0x1fa)][_0x5c78b4(0x1f0)](_0x3dc992[_0x5c78b4(0x1a0)](this[_0x5c78b4(0x177)]))[_0x5c78b4(0x1a1)](_0x4e1901=>{const _0x208d99=_0x5c78b4;if((_0x4e1901==null?void 0x0:_0x4e1901[_0x208d99(0xf1)])!==this[_0x208d99(0xf1)])return;const _0x523a02={'eventID':_0x26da06[_0x208d99(0x21b)]['UPDATE_CURSOR'],'data':_0x4e1901};this[_0x208d99(0x2dd)](_0x523a02);}),this[_0x5c78b4(0xab)](this[_0x5c78b4(0x17f)]['onCommandExecuted'](_0x4c8e59=>{const _0x4e9e11=_0x5c78b4;if(_0x4c8e59[_0x4e9e11(0x33c)]==null)return;const _0x5ab5ad=_0x4c8e59[_0x4e9e11(0x33c)];if(_0x4c8e59['id']!==_0x14e34b[_0x4e9e11(0x1f7)]['id']||_0x5ab5ad[_0x4e9e11(0x25a)]!==this['unitID'])return;const _0x1b5e7c={'id':'doc.mutation.rich-text-editing','params':_0x5ab5ad},_0x1de564=this[_0x4e9e11(0x1a2)];for(const [_0x21824b,_0x48a0f7]of _0x1de564){const _0x5b03c7={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x4e9e11(0xf1)],'actions':null,'textRanges':_0x48a0f7[_0x4e9e11(0x240)]}},_0x4c5fcb=this['_transformService']['transformMutation'](_0x1b5e7c,_0x5b03c7,!0x1);if(_0x26da06[_0x4e9e11(0xf4)](_0x4c5fcb))throw _0x4c5fcb['error'];_0x1de564[_0x4e9e11(0x241)](_0x21824b,{..._0x48a0f7,'ranges':_0x4c5fcb['m2Prime'][_0x4e9e11(0x33c)][_0x4e9e11(0x291)]});}queueMicrotask(()=>{const _0x14b6ee=_0x4e9e11;this['_cursorInfo$'][_0x14b6ee(0x329)](_0x1de564);});})));}[_0x5972b3(0x2dd)](_0x1bd882){const _0x3989bc=_0x5972b3;var _0xeecffb,_0x5fd513;const {memberID:_0x27494e,selection:_0x32cdd9}=_0x1bd882[_0x3989bc(0x20b)],_0x3991a9=_0x13e64e(_0x32cdd9),_0x366e50=(_0x5fd513=(_0xeecffb=this[_0x3989bc(0x304)][_0x3989bc(0x163)](this[_0x3989bc(0xf1)],_0x27494e))==null?void 0x0:_0xeecffb['name'])!=null?_0x5fd513:_0x3989bc(0x30d),_0x2bc76f={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x27494e),'name':_0x366e50,'ranges':_0x3991a9},_0x4c8e4c=this[_0x3989bc(0x1a2)];_0x4c8e4c['set'](_0x27494e,_0x2bc76f),this['_cursorInfo$'][_0x3989bc(0x329)](_0x4c8e4c);}[_0x5972b3(0xe4)](_0x46cb9f){const _0x342c4e=_0x5972b3,{memberID:_0x4ac658}=_0x46cb9f['data'],_0x3b8c9b=this['cursorInfo'];_0x3b8c9b[_0x342c4e(0x2e8)](_0x4ac658),this[_0x342c4e(0x1a4)][_0x342c4e(0x329)](_0x3b8c9b);}[_0x5972b3(0x133)](){const _0x449ae6=_0x5972b3;var _0x390748;if(this['_online']=!0x0,((_0x390748=this[_0x449ae6(0x193)]['getFocusedUnit']())==null?void 0x0:_0x390748[_0x449ae6(0x18c)]())!==this[_0x449ae6(0xf1)])return;const _0x4c5aad=this[_0x449ae6(0x11b)][_0x449ae6(0x1d9)](_0x14e34b[_0x449ae6(0x337)])[_0x449ae6(0x1f6)]();Array[_0x449ae6(0x322)](_0x4c5aad)&&_0x4c5aad['length']>0x0&&this[_0x449ae6(0x1d4)](_0x4c5aad);}['_toggleOffline'](){const _0x44f31a=_0x5972b3;this[_0x44f31a(0x1d2)]=!0x1;}};_0x40cc4d=_0x20e015([_0x59cf17(0x2,_0x34ebd1[_0x5972b3(0x24b)](_0x34ebd1[_0x5972b3(0x215)])),_0x59cf17(0x3,_0x34ebd1[_0x5972b3(0x24b)](_0x512efc)),_0x59cf17(0x4,_0x34ebd1[_0x5972b3(0x24b)](_0x3a2a7b[_0x5972b3(0x2ac)])),_0x59cf17(0x5,_0x34ebd1[_0x5972b3(0x24b)](_0x1ece76)),_0x59cf17(0x6,_0x26da06[_0x5972b3(0x2b6)]),_0x59cf17(0x7,_0x34ebd1['IUniverInstanceService']),_0x59cf17(0x8,_0x34ebd1['ICommandService'])],_0x40cc4d);var _0x43852e=Object['getOwnPropertyDescriptor'],_0xaa1940=(_0x3ad88d,_0x334335,_0x2445f7,_0x45c5bb)=>{const _0x4db467=_0x5972b3;for(var _0x43412f=_0x45c5bb>0x1?void 0x0:_0x45c5bb?_0x43852e(_0x334335,_0x2445f7):_0x334335,_0x52a43f=_0x3ad88d[_0x4db467(0x22e)]-0x1,_0x1f67a1;_0x52a43f>=0x0;_0x52a43f--)(_0x1f67a1=_0x3ad88d[_0x52a43f])&&(_0x43412f=_0x1f67a1(_0x43412f)||_0x43412f);return _0x43412f;},_0x5672d3=(_0x4185f4,_0x411720)=>(_0xbb257a,_0x45f16e)=>_0x411720(_0xbb257a,_0x45f16e,_0x4185f4);const _0x3ce410=0x12c,_0x4eaabc=0x64,_0x27979a=()=>{let _0x5e8124=[],_0x1ac22f=!0x1;return _0x3eb087=>{const _0x3d4cd5=_0x3de9;_0x5e8124[_0x3d4cd5(0x154)](_0x3eb087),_0x1ac22f||(_0x1ac22f=!0x0,setTimeout(()=>{_0x5e8124['forEach'](_0x228cfe=>_0x228cfe()),_0x5e8124=[],_0x1ac22f=!0x1;}));};};let _0x5e3362=class extends _0x34ebd1['RxDisposable']{constructor(_0x372f7f,_0x11d147,_0x5b6b8f,_0x1b7724,_0x2ced9f,_0x29313b,_0x2db199,_0x5611b9){const _0xb65cb8=_0x5972b3;super(),_0x47e648(this,_0xb65cb8(0x1d2),!0x1),_0x47e648(this,_0xb65cb8(0x273),!0x1),_0x47e648(this,_0xb65cb8(0x1a4),new _0x3dc992['BehaviorSubject'](new Map())),_0x47e648(this,'cursorInfo$',this[_0xb65cb8(0x1a4)][_0xb65cb8(0x235)]()),_0x47e648(this,_0xb65cb8(0x134),new _0x3dc992[(_0xb65cb8(0x1ce))]([])),_0x47e648(this,_0xb65cb8(0x2e0),this['_roomMembers$']['pipe'](_0x3dc992[_0xb65cb8(0x282)](_0x3ce410))),_0x47e648(this,_0xb65cb8(0x1d4),_0x34ebd1[_0xb65cb8(0x234)]((_0x8eeb63,_0x2d3184)=>{const _0x5779dd=_0xb65cb8,_0x27f323={'eventID':_0x26da06[_0x5779dd(0x21b)][_0x5779dd(0x135)],'data':{'unitID':this[_0x5779dd(0xf1)],'memberID':this[_0x5779dd(0x102)][_0x5779dd(0x21a)](),'selection':_0x53151d[_0x5779dd(0x1e3)](_0x8eeb63,_0x2d3184[_0x5779dd(0x211)])}};this['_session'][_0x5779dd(0xaf)](_0x27f323,this['unitID']);},_0x4eaabc)),(this[_0xb65cb8(0xf1)]=_0x372f7f,this['_session']=_0x11d147,this['_injector']=_0x5b6b8f,this[_0xb65cb8(0x124)]=_0x1b7724,this[_0xb65cb8(0x304)]=_0x2ced9f,this[_0xb65cb8(0x193)]=_0x29313b,this[_0xb65cb8(0x17f)]=_0x2db199,this[_0xb65cb8(0x144)]=_0x5611b9);}get[_0x5972b3(0x1a2)](){const _0x5a568d=_0x5972b3;return this[_0x5a568d(0x1a4)]['getValue']();}get[_0x5972b3(0x217)](){const _0x145e66=_0x5972b3;return this['_roomMembers$'][_0x145e66(0x269)]();}[_0x5972b3(0x31d)](){const _0x38de56=_0x5972b3;super[_0x38de56(0x31d)](),this[_0x38de56(0x1a4)][_0x38de56(0x329)](new Map()),this[_0x38de56(0x1a4)]['complete'](),this[_0x38de56(0x134)][_0x38de56(0x329)]([]),this[_0x38de56(0x134)][_0x38de56(0x261)]();}[_0x5972b3(0x153)](){const _0x1ce1de=_0x5972b3;this[_0x1ce1de(0x273)]||(this['_init']=!0x0,this['_session'][_0x1ce1de(0x15b)][_0x1ce1de(0x1f0)](_0x3dc992[_0x1ce1de(0x1a0)](this['dispose$']))[_0x1ce1de(0x1a1)](_0xab88d4=>{const _0x379081=_0x1ce1de;_0xab88d4===_0x3a2a7b[_0x379081(0x2d9)][_0x379081(0x302)]?this[_0x379081(0x133)]():this['_toggleOffline']();}),this[_0x1ce1de(0x102)][_0x1ce1de(0x174)][_0x1ce1de(0x1f0)](_0x3dc992[_0x1ce1de(0x1a0)](this[_0x1ce1de(0x177)]))[_0x1ce1de(0x1a1)](_0xbca58f=>{const _0x4343e5=_0x1ce1de,_0x1d4ea0=_0xbca58f[_0x4343e5(0xbd)];_0x1d4ea0===_0x26da06[_0x4343e5(0x21b)][_0x4343e5(0x135)]&&this[_0x4343e5(0x2dd)](_0xbca58f),_0x1d4ea0===_0x26da06['CollaborationEvent'][_0x4343e5(0x31c)]&&this[_0x4343e5(0xe4)](_0xbca58f);}),this[_0x1ce1de(0x2c6)](),this[_0x1ce1de(0xab)](this[_0x1ce1de(0x17f)][_0x1ce1de(0x256)](_0x4298ed=>{const _0x2beadc=_0x1ce1de;if(this[_0x2beadc(0x1d2)]&&_0x4298ed['id']===_0x762c7b['SetSelectionsOperation']['id']&&_0x4298ed[_0x2beadc(0x33c)]['unitId']===this['unitID']){const _0x4e108e=_0x4298ed[_0x2beadc(0x33c)];this[_0x2beadc(0x1d4)](_0x4e108e[_0x2beadc(0x1d3)],_0x4e108e[_0x2beadc(0xad)][0x0]);}})));}[_0x5972b3(0x2dd)](_0x390a95){const _0x356f33=_0x5972b3;var _0x27547d,_0xfbe823;const {memberID:_0x3c12d4,selection:_0x43aebe}=_0x390a95[_0x356f33(0x20b)],{sheetName:_0x222048,range:_0xc8fcca}=_0x53151d['deserializeRangeWithSheet'](_0x43aebe),_0x13170e={'name':(_0xfbe823=(_0x27547d=this[_0x356f33(0x304)][_0x356f33(0x163)](this[_0x356f33(0xf1)],_0x3c12d4))==null?void 0x0:_0x27547d[_0x356f33(0x123)])!=null?_0xfbe823:_0x356f33(0x30d),'range':this[_0x356f33(0x2a3)](_0x222048,_0xc8fcca),'sheetID':_0x222048,'color':this[_0x356f33(0x124)]['assignAColorForMemberID'](_0x3c12d4),'selection':_0x43aebe},_0xbb3dcd=this[_0x356f33(0x1a2)];_0xbb3dcd[_0x356f33(0x241)](_0x3c12d4,_0x13170e),this[_0x356f33(0x1a4)][_0x356f33(0x329)](_0xbb3dcd);}[_0x5972b3(0xe4)](_0x3bdbe7){const _0x3f2203=_0x5972b3,{memberID:_0x572ea2}=_0x3bdbe7[_0x3f2203(0x20b)],_0x24e6a3=this[_0x3f2203(0x1a2)];_0x24e6a3['delete'](_0x572ea2),this['_cursorInfo$'][_0x3f2203(0x329)](_0x24e6a3);}[_0x5972b3(0x2a3)](_0x5f21f9,_0x1d7873){const _0x1884d2=_0x5972b3;var _0x185be6,_0x30341d;const _0x42bcf6=(_0x30341d=(_0x185be6=this[_0x1884d2(0x193)]['getUniverSheetInstance'](this[_0x1884d2(0xf1)]))==null?void 0x0:_0x185be6[_0x1884d2(0x24e)](_0x5f21f9))==null?void 0x0:_0x30341d['getMergeData']();return(_0x42bcf6==null?void 0x0:_0x42bcf6[_0x1884d2(0xe1)](_0x4515ed=>_0x34ebd1['Rectangle'][_0x1884d2(0x238)](_0x4515ed,_0x1d7873)))||_0x1d7873;}[_0x5972b3(0x2c6)](){const _0x609b85=_0x5972b3,_0x23eb4a=new _0x34ebd1[(_0x609b85(0x271))](),_0x2e721d=_0x27979a(),_0x1ab9c7=()=>{const _0x2827b1=_0x609b85;_0x23eb4a[_0x2827b1(0x31d)]();const _0x3dc09d=(_0x2f7d36,_0x1e4301,_0x2505af,_0x2ec6e9)=>{const _0x3a5e72=_0x2827b1;let _0x5be3db=[];switch(_0x2f7d36['id']){case _0x762c7b[_0x3a5e72(0xe0)][_0x3a5e72(0x1eb)]:{_0x5be3db=_0x762c7b[_0x3a5e72(0xec)](_0x2f7d36,_0x2ec6e9);break;}case _0x762c7b[_0x3a5e72(0xe0)][_0x3a5e72(0x222)]:{_0x5be3db=_0x762c7b[_0x3a5e72(0x332)](_0x2f7d36,_0x2ec6e9);break;}case _0x762c7b['EffectRefRangId'][_0x3a5e72(0x210)]:{_0x5be3db=_0x762c7b[_0x3a5e72(0x11d)](_0x2f7d36,_0x2ec6e9);break;}case _0x762c7b[_0x3a5e72(0xe0)][_0x3a5e72(0xca)]:{_0x5be3db=_0x762c7b[_0x3a5e72(0x189)](_0x2f7d36,_0x2ec6e9);break;}case _0x762c7b['EffectRefRangId'][_0x3a5e72(0x221)]:{_0x5be3db=_0x762c7b['handleInsertRangeMoveRight'](_0x2f7d36,_0x2ec6e9);break;}case _0x762c7b['EffectRefRangId'][_0x3a5e72(0x224)]:{_0x5be3db=_0x762c7b[_0x3a5e72(0x239)](_0x2f7d36,_0x2ec6e9);break;}case _0x762c7b[_0x3a5e72(0xe0)][_0x3a5e72(0xde)]:{_0x5be3db=_0x762c7b['handleMoveRange'](_0x2f7d36,_0x2ec6e9);break;}case _0x762c7b[_0x3a5e72(0xe0)][_0x3a5e72(0x10f)]:{_0x5be3db=_0x762c7b['handleIRemoveCol'](_0x2f7d36,_0x2ec6e9);break;}case _0x762c7b['EffectRefRangId']['RemoveRowCommandId']:{_0x5be3db=_0x762c7b[_0x3a5e72(0x2e4)](_0x2f7d36,_0x2ec6e9);break;}}const _0x5bf8c4=_0x762c7b[_0x3a5e72(0x316)](_0x5be3db,_0x2ec6e9),_0x1a2814=this['cursorInfo'][_0x3a5e72(0x1d9)](_0x1e4301);if(_0x1a2814&&_0x5bf8c4){const _0x2962f9={..._0x1a2814,'range':_0x5bf8c4};this[_0x3a5e72(0x1a2)]['set'](_0x1e4301,_0x2962f9),_0x2e721d(()=>{const _0x5c2e8c=_0x3a5e72,_0x5a8ed9=this['_refRangeService'][_0x5c2e8c(0x195)](_0x5bf8c4,_0xb0814=>(_0x5a8ed9[_0x5c2e8c(0x31d)](),_0x3dc09d(_0xb0814,_0x1e4301,_0x2505af,_0x5bf8c4)));_0x23eb4a[_0x5c2e8c(0x340)](_0x5a8ed9);});}return{'redos':[],'undos':[]};};this['cursorInfo']['forEach']((_0x19e588,_0x289c48)=>{const _0x2ac852=_0x2827b1,{range:_0x287f60,sheetID:_0x490977}=_0x19e588,_0x319eee=this[_0x2ac852(0x144)][_0x2ac852(0x195)](_0x287f60,_0xf45d1b=>(_0x319eee[_0x2ac852(0x31d)](),_0x3dc09d(_0xf45d1b,_0x289c48,_0x490977,_0x287f60)));_0x23eb4a[_0x2ac852(0x340)](_0x319eee);});};this[_0x609b85(0xab)](_0x34ebd1['toDisposable'](this['_cursorInfo$'][_0x609b85(0x1a1)](()=>{_0x1ab9c7();})));}[_0x5972b3(0x133)](){const _0x560978=_0x5972b3;var _0x1c849d,_0x29ac54;if(this[_0x560978(0x1d2)]=!0x0,((_0x1c849d=this[_0x560978(0x193)][_0x560978(0x192)]())==null?void 0x0:_0x1c849d[_0x560978(0x18c)]())!==this[_0x560978(0xf1)])return;const _0x35f6dc=(_0x29ac54=this[_0x560978(0x11b)][_0x560978(0x1d9)](_0x762c7b['SheetsSelectionsService'])[_0x560978(0x266)]())==null?void 0x0:_0x29ac54[0x0],_0xcea981=this[_0x560978(0x193)][_0x560978(0x24c)](_0x34ebd1[_0x560978(0x12d)][_0x560978(0x170)])[_0x560978(0x30e)]();_0x35f6dc&&_0xcea981&&this['_updateLocalCursor'](_0xcea981[_0x560978(0xd3)](),_0x35f6dc);}['_toggleOffline'](){const _0x2e88ac=_0x5972b3;this[_0x2e88ac(0x1d2)]=!0x1;}};_0x5e3362=_0xaa1940([_0x5672d3(0x2,_0x34ebd1[_0x5972b3(0x24b)](_0x34ebd1['Injector'])),_0x5672d3(0x3,_0x34ebd1[_0x5972b3(0x24b)](_0x512efc)),_0x5672d3(0x4,_0x34ebd1[_0x5972b3(0x24b)](_0x3a2a7b['MemberService'])),_0x5672d3(0x5,_0x34ebd1[_0x5972b3(0xb7)]),_0x5672d3(0x6,_0x34ebd1[_0x5972b3(0xb3)]),_0x5672d3(0x7,_0x34ebd1[_0x5972b3(0x24b)](_0x762c7b[_0x5972b3(0x319)]))],_0x5e3362);var _0x20aedd=Object[_0x5972b3(0x27e)],_0x41364c=(_0x4f7dac,_0x196321,_0x335f59,_0x2f031e)=>{for(var _0x395e65=_0x2f031e>0x1?void 0x0:_0x2f031e?_0x20aedd(_0x196321,_0x335f59):_0x196321,_0x52bc3c=_0x4f7dac['length']-0x1,_0x1ccc55;_0x52bc3c>=0x0;_0x52bc3c--)(_0x1ccc55=_0x4f7dac[_0x52bc3c])&&(_0x395e65=_0x1ccc55(_0x395e65)||_0x395e65);return _0x395e65;},_0x1fbc89=(_0xaacea,_0x24b1bc)=>(_0x59e063,_0x3fd029)=>_0x24b1bc(_0x59e063,_0x3fd029,_0xaacea);let _0x2debf7=class extends _0x34ebd1['RxDisposable']{constructor(_0x48dd7d,_0x3ac454,_0x2a66fd){const _0x3b97c7=_0x5972b3;super(),_0x47e648(this,_0x3b97c7(0x303),new Map()),_0x47e648(this,_0x3b97c7(0x1b1),new _0x3dc992['Subject']()),(this['_univerInstanceService']=_0x48dd7d,this[_0x3b97c7(0x11b)]=_0x3ac454,this['_collabSessionService']=_0x2a66fd,this[_0x3b97c7(0x273)]());}[_0x5972b3(0x31d)](){const _0x1b846c=_0x5972b3;super[_0x1b846c(0x31d)](),this[_0x1b846c(0x1b1)][_0x1b846c(0x261)](),this[_0x1b846c(0x303)][_0x1b846c(0x157)](_0x3f0d11=>_0x3f0d11['dispose']());}[_0x5972b3(0x11c)](_0x4e50ee){const _0x3efbd7=_0x5972b3;return this[_0x3efbd7(0x303)][_0x3efbd7(0x2c3)](_0x4e50ee)?this[_0x3efbd7(0x303)][_0x3efbd7(0x1d9)](_0x4e50ee)[_0x3efbd7(0x2a8)]:this[_0x3efbd7(0x1b1)][_0x3efbd7(0x1f0)](_0x3dc992[_0x3efbd7(0x254)](_0x5065f5=>_0x5065f5['unitID']===_0x4e50ee),_0x3dc992['switchMap'](_0x32bc9c=>_0x32bc9c[_0x3efbd7(0x2a8)]));}[_0x5972b3(0x273)](){const _0x3690f1=_0x5972b3;this['_univerInstanceService'][_0x3690f1(0xed)](_0x34ebd1[_0x3690f1(0x12d)][_0x3690f1(0x170)])[_0x3690f1(0x1f0)](_0x3dc992[_0x3690f1(0x1a0)](this[_0x3690f1(0x177)]))[_0x3690f1(0x1a1)](async _0x5c967e=>{const _0x13725a=_0x3690f1,_0x32c7d3=_0x5c967e[_0x13725a(0x18c)](),_0x263184=await this['_startSheetCollabCursor'](_0x32c7d3);this[_0x13725a(0x1b1)]['next'](_0x263184),this[_0x13725a(0x303)][_0x13725a(0x241)](_0x32c7d3,_0x263184);}),this[_0x3690f1(0x193)][_0x3690f1(0xed)](_0x34ebd1[_0x3690f1(0x12d)]['UNIVER_DOC'])[_0x3690f1(0x1f0)](_0x3dc992[_0x3690f1(0x1a0)](this[_0x3690f1(0x177)]))[_0x3690f1(0x1f0)](_0x3dc992[_0x3690f1(0x254)](_0x277336=>!_0x277336[_0x3690f1(0x18c)]()[_0x3690f1(0x1f8)]('__')))[_0x3690f1(0x1a1)](async _0x1ccf55=>{const _0x19895e=_0x3690f1,_0x415a1=_0x1ccf55['getUnitId'](),_0x25fa42=await this[_0x19895e(0xd0)](_0x415a1);this[_0x19895e(0x1b1)][_0x19895e(0x329)](_0x25fa42),this['_entities'][_0x19895e(0x241)](_0x415a1,_0x25fa42);}),_0x3dc992['merge'](this[_0x3690f1(0x193)][_0x3690f1(0xff)](_0x34ebd1[_0x3690f1(0x12d)][_0x3690f1(0x1f5)]),this[_0x3690f1(0x193)]['getTypeOfUnitDisposed$'](_0x34ebd1[_0x3690f1(0x12d)]['UNIVER_SHEET']))[_0x3690f1(0x1f0)](_0x3dc992[_0x3690f1(0x1a0)](this['dispose$']))[_0x3690f1(0x1a1)](_0x39e7d4=>{const _0x21e8ad=_0x3690f1,_0x3bbf9d=_0x39e7d4['getUnitId'](),_0x37ccc7=this[_0x21e8ad(0x303)][_0x21e8ad(0x1d9)](_0x3bbf9d);_0x37ccc7&&(_0x37ccc7[_0x21e8ad(0x31d)](),this[_0x21e8ad(0x303)][_0x21e8ad(0x2e8)](_0x3bbf9d));});}async['_startSheetCollabCursor'](_0x23f503){const _0x11586c=_0x5972b3,_0x5d8137=await this['_collabSessionService'][_0x11586c(0xaa)](_0x23f503),_0x1258d9=this[_0x11586c(0x11b)][_0x11586c(0x26a)](_0x5e3362,_0x23f503,_0x5d8137);return _0x1258d9[_0x11586c(0x153)](),_0x1258d9;}async['_startDocCollabCursor'](_0xf79bdc){const _0x17f866=_0x5972b3,_0x2de7ea=await this[_0x17f866(0x1ad)][_0x17f866(0xaa)](_0xf79bdc),_0x1ab109=this[_0x17f866(0x11b)][_0x17f866(0x26a)](_0x40cc4d,_0xf79bdc,_0x2de7ea);return _0x1ab109[_0x17f866(0x153)](),_0x1ab109;}};_0x2debf7=_0x41364c([_0x1fbc89(0x0,_0x34ebd1['IUniverInstanceService']),_0x1fbc89(0x1,_0x34ebd1[_0x5972b3(0x24b)](_0x34ebd1[_0x5972b3(0x215)])),_0x1fbc89(0x2,_0x34ebd1[_0x5972b3(0x24b)](_0x3a2a7b[_0x5972b3(0x32d)]))],_0x2debf7);const _0x13f6c2=0x14,_0x550df8=0xc8,_0x37923b=0x4,_0x21006e=0x5;function _0x28e0ae(_0x402e5e,_0x517719){const _0x22302f=_0x5972b3;let {radius:_0xba3853,width:_0x5f9316,height:_0x5e20f0}=_0x517719;_0xba3853=_0xba3853!=null?_0xba3853:0x0,_0x5f9316=_0x5f9316!=null?_0x5f9316:0x1e,_0x5e20f0=_0x5e20f0!=null?_0x5e20f0:0x1e;let _0x4bd3cf=0x0,_0x39e41e=0x0,_0x326ccb=0x0;_0x4bd3cf=_0x39e41e=_0x326ccb=Math[_0x22302f(0x1ca)](_0xba3853,_0x5f9316/0x2,_0x5e20f0/0x2),_0x402e5e[_0x22302f(0x15f)](),_0x402e5e[_0x22302f(0x1b6)](_0x4bd3cf,0x0),_0x402e5e['lineTo'](_0x5f9316-_0x39e41e,0x0),_0x402e5e['arc'](_0x5f9316-_0x39e41e,_0x39e41e,_0x39e41e,Math['PI']*0x3/0x2,0x0,!0x1),_0x402e5e[_0x22302f(0x106)](_0x5f9316,_0x5e20f0-_0x326ccb),_0x402e5e[_0x22302f(0x1ff)](_0x5f9316-_0x326ccb,_0x5e20f0-_0x326ccb,_0x326ccb,0x0,Math['PI']/0x2,!0x1),_0x402e5e[_0x22302f(0x106)](0x0,_0x5e20f0),_0x402e5e[_0x22302f(0x106)](0x0,_0x4bd3cf),_0x402e5e[_0x22302f(0x1ff)](_0x4bd3cf,_0x4bd3cf,_0x4bd3cf,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x402e5e[_0x22302f(0x1f1)](),_0x517719[_0x22302f(0x1be)]&&(_0x402e5e[_0x22302f(0x148)](),_0x402e5e[_0x22302f(0x1bc)]=_0x517719[_0x22302f(0x1be)],_0x517719[_0x22302f(0x326)]===_0x22302f(0x126)?_0x402e5e[_0x22302f(0x1be)]('evenodd'):_0x402e5e['fill'](),_0x402e5e[_0x22302f(0x1cc)]());}class _0x30610d extends _0x25b909[_0x5972b3(0x1b4)]{constructor(_0x45ee8b,_0x20fbb3){const _0x3d33b6=_0x5972b3;super(_0x45ee8b,_0x20fbb3),_0x47e648(this,_0x3d33b6(0x32c)),_0x47e648(this,_0x3d33b6(0x262)),(this['color']=_0x20fbb3==null?void 0x0:_0x20fbb3[_0x3d33b6(0x32c)],this[_0x3d33b6(0x262)]=_0x20fbb3==null?void 0x0:_0x20fbb3[_0x3d33b6(0x262)]);}static[_0x5972b3(0x10d)](_0x2e0f14,_0x70af1c){const _0x7c743=_0x5972b3,{text:_0x55bda7,color:_0x2986ca}=_0x70af1c;_0x2e0f14[_0x7c743(0x148)](),_0x2e0f14[_0x7c743(0x125)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x5707ac=_0x2e0f14[_0x7c743(0x109)](_0x55bda7)[_0x7c743(0x257)],_0x2417ac=Math[_0x7c743(0x1ca)](_0x5707ac+0x2*_0x37923b,_0x550df8);_0x28e0ae(_0x2e0f14,{'height':_0x13f6c2,'radius':0x4,'width':_0x2417ac,'fill':_0x2986ca}),_0x2e0f14[_0x7c743(0x1bc)]=_0x7c743(0xf0);const _0x53735e=_0x37923b,_0xf41a99=_0x13f6c2-_0x21006e,_0x2c7ec6=_0x550df8-0x2*_0x37923b;if(_0x5707ac>_0x2c7ec6){let _0x5b394f='',_0x481a28=0x0;for(const _0x1f6a6e of _0x55bda7){const _0x36ca8d=_0x2e0f14['measureText'](_0x1f6a6e)[_0x7c743(0x257)];if(_0x481a28+_0x36ca8d<=_0x2c7ec6-_0x2e0f14[_0x7c743(0x109)](_0x7c743(0x32b))[_0x7c743(0x257)])_0x5b394f+=_0x1f6a6e,_0x481a28+=_0x36ca8d;else{_0x5b394f+=_0x7c743(0x32b);break;}}_0x2e0f14[_0x7c743(0x1df)](_0x5b394f,_0x53735e,_0xf41a99);}else _0x2e0f14[_0x7c743(0x1df)](_0x55bda7,_0x53735e,_0xf41a99);_0x2e0f14['restore']();}[_0x5972b3(0x147)](_0x29a8c5){const _0x6e9a31=_0x5972b3;_0x30610d[_0x6e9a31(0x10d)](_0x29a8c5,this);}}const _0x226220='collab-text-anchor-',_0x5e099a=_0x5972b3(0x23f),_0x2ddd32=_0x5972b3(0x259),_0x3f3004=0x6,_0x50ec66=1.5,_0x240dee=0x4,_0x591cc8=1.5,_0x58b37b='rgba(255,\x20255,\x20255,\x200.01)';class _0x3ef596{constructor(_0x313dda,_0x1e8b2a,_0xee32a3,_0x2853ea){const _0x1cd03b=_0x5972b3;_0x47e648(this,_0x1cd03b(0x139),[]),_0x47e648(this,_0x1cd03b(0x23a),null),_0x47e648(this,_0x1cd03b(0x26d),null),_0x47e648(this,_0x1cd03b(0x179),null),_0x47e648(this,'_hideTimer',null),_0x47e648(this,_0x1cd03b(0x27a),null),(this[_0x1cd03b(0xf6)]=_0x313dda,this[_0x1cd03b(0x327)]=_0x1e8b2a,this['_docSkeleton']=_0xee32a3,this[_0x1cd03b(0x20f)]=_0x2853ea,this[_0x1cd03b(0x1fc)]());}set[_0x5972b3(0x294)](_0x3ecc70){const _0x1fee00=_0x5972b3;_0x3ecc70?(this['_anchorDot']&&this[_0x1fee00(0x179)][_0x1fee00(0x2ce)](),this[_0x1fee00(0x26d)]&&this[_0x1fee00(0x26d)][_0x1fee00(0xae)]()):(this['_anchorDot']&&this[_0x1fee00(0x179)]['show'](),this['_textBubble']&&this['_textBubble']['hide']());}[_0x5972b3(0x31d)](){const _0x5982ad=_0x5972b3;for(const _0x1ed32a of this[_0x5982ad(0x139)])_0x1ed32a[_0x5982ad(0x31d)]();this[_0x5982ad(0x26d)]&&this['_textBubble'][_0x5982ad(0x31d)](),this[_0x5982ad(0x179)]&&this[_0x5982ad(0x179)]['dispose'](),this['_anchor']&&this[_0x5982ad(0x23a)]['dispose'](),this[_0x5982ad(0x27a)]&&this[_0x5982ad(0x27a)]();}[_0x5972b3(0x1fc)](){const _0x4020e5=_0x5972b3;var _0x2ef050;const {_docSkeleton:_0x523385,_document:_0x4305b8}=this,{color:_0x540ab0,name:_0x28e7c5,ranges:_0xc7843a}=this[_0x4020e5(0xf6)],_0x2efeed=_0x4305b8[_0x4020e5(0x17a)](),{docsLeft:_0x35a8d8,docsTop:_0x4ef8a0}=_0x2efeed,_0x27f486=new _0x277641['NodePositionConvertToCursor'](_0x2efeed,_0x523385);for(const {startOffset:_0x34d856,endOffset:_0x36fb19,rangeType:_0x1e26a1,segmentId:_0x7d1f43,segmentPage:_0x17eed4,collapsed:_0x28ecb3,isActive:_0x3a0310}of _0xc7843a){const _0x36f65b=_0x523385[_0x4020e5(0x168)](_0x34d856,!0x0,_0x7d1f43,_0x17eed4);let _0x4ede07=_0x523385[_0x4020e5(0x168)](_0x36fb19,!0x0,_0x7d1f43,_0x17eed4);if(_0x4ede07==null&&(_0x4ede07=_0x523385['findNodePositionByCharIndex'](_0x36fb19-0x1,!0x1,_0x7d1f43,_0x17eed4)),_0x3a0310){const {contentBoxPointGroup:_0x1a964d}=_0x27f486[_0x4020e5(0x2d0)](_0x4ede07,_0x4ede07);if(_0x1a964d[_0x4020e5(0x22e)]===0x0)continue;this[_0x4020e5(0x2f0)](_0x540ab0,_0x1a964d,_0x35a8d8,_0x4ef8a0,_0x28e7c5),this[_0x4020e5(0x27a)]=this[_0x4020e5(0x1c2)]();}if(_0x36f65b&&_0x4ede07){if(_0x1e26a1===_0x34ebd1[_0x4020e5(0x220)][_0x4020e5(0x122)]){const _0x15469d=new _0x277641[(_0x4020e5(0x143))](_0x2efeed,_0x523385),{pointGroup:_0x52d1a2}=(_0x2ef050=_0x15469d[_0x4020e5(0x2d0)](_0x36f65b,_0x4ede07))!=null?_0x2ef050:{};if(_0x52d1a2==null||_0x52d1a2[_0x4020e5(0x22e)]===0x0)continue;this[_0x4020e5(0x27c)](_0x540ab0,_0x52d1a2,_0x35a8d8,_0x4ef8a0);}else{if(!_0x28ecb3){const {borderBoxPointGroup:_0x3b1e30}=_0x27f486['getRangePointData'](_0x36f65b,_0x4ede07);if(_0x3b1e30[_0x4020e5(0x22e)]===0x0)continue;this[_0x4020e5(0x1a9)](_0x540ab0,_0x3b1e30,_0x35a8d8,_0x4ef8a0);}}}}}['_drawAnchor'](_0xb9365f,_0x231f4e,_0x189456,_0x407456,_0x1808fd){const _0x1e9825=_0x5972b3,_0x26b7f0=this[_0x1e9825(0x260)](_0x231f4e),{left:_0x4919b7,top:_0x1fdd70,height:_0xd41d7f}=_0x26b7f0,_0x144f1a=this[_0x1e9825(0x11a)](),_0x3b09b3=_0x591cc8/_0x144f1a,_0x443b81=new _0x25b909['Rect'](_0x226220+_0x34ebd1[_0x1e9825(0x309)]['generateRandomId'](_0x3f3004),{'left':_0x4919b7+_0x189456-_0x3b09b3,'top':_0x1fdd70+_0x407456,'height':_0xd41d7f,'width':_0x50ec66,'fill':_0xb9365f||_0x25b909[_0x1e9825(0x1b0)](_0x34ebd1[_0x1e9825(0x25d)][_0x1e9825(0x1d0)],0x0),'strokeWidth':_0x3b09b3,'stroke':_0x58b37b,'evented':!0x0});this['_anchor']=_0x443b81,this[_0x1e9825(0x327)][_0x1e9825(0x12f)](_0x443b81,_0x277641[_0x1e9825(0x2cc)]);const _0x1c35c9=new _0x25b909[(_0x1e9825(0x1da))](_0x226220+_0x34ebd1['Tools'][_0x1e9825(0x116)](_0x3f3004),{'left':_0x4919b7+_0x189456-_0x3b09b3,'top':_0x1fdd70+_0x407456-_0x240dee/0x2,'height':_0x240dee,'width':_0x240dee,'fill':_0xb9365f||_0x25b909[_0x1e9825(0x1b0)](_0x34ebd1[_0x1e9825(0x25d)][_0x1e9825(0x1d0)],0x0),'strokeWidth':0x0,'stroke':_0xb9365f||_0x25b909[_0x1e9825(0x1b0)](_0x34ebd1[_0x1e9825(0x25d)][_0x1e9825(0x1d0)],0x0),'evented':!0x1});this[_0x1e9825(0x179)]=_0x1c35c9,this['_scene'][_0x1e9825(0x12f)](_0x1c35c9,_0x277641[_0x1e9825(0x2cc)]);const _0x17b6fd=new _0x30610d(_0x226220+_0x34ebd1[_0x1e9825(0x309)][_0x1e9825(0x116)](_0x3f3004),{'left':_0x4919b7+_0x189456-_0x3b09b3,'top':_0x1fdd70+_0x407456-_0x13f6c2,'text':_0x1808fd,'color':_0xb9365f});this[_0x1e9825(0x26d)]=_0x17b6fd,this[_0x1e9825(0x327)][_0x1e9825(0x12f)](_0x17b6fd,_0x277641[_0x1e9825(0x2cc)]),this['_hover']=!0x1;}[_0x5972b3(0x1c2)](){const _0x45895e=_0x5972b3,_0x1660bc=this[_0x45895e(0x23a)][_0x45895e(0xe8)]['subscribeEvent'](()=>{const _0xfba132=_0x45895e;this[_0xfba132(0x294)]=!0x0;}),_0x12dbf1=this['_anchor'][_0x45895e(0x1d5)]['subscribeEvent'](()=>{const _0x5168d8=_0x45895e;this[_0x5168d8(0x339)]&&clearTimeout(this['_hideTimer']),this[_0x5168d8(0x339)]=setTimeout(()=>{const _0x3cc32e=_0x5168d8;this[_0x3cc32e(0x294)]=!0x1;},0x7d0);});return()=>{const _0x10a97c=_0x45895e;_0x1660bc[_0x10a97c(0x280)](),_0x12dbf1['unsubscribe']();};}[_0x5972b3(0x1a9)](_0x381ea5,_0x43c5de,_0x587b29,_0x4e04a2){const _0x1382d5=_0x5972b3,_0x30ee6d=new _0x34ebd1[(_0x1382d5(0x2aa))](_0x381ea5)['setAlpha'](0.2)[_0x1382d5(0x191)](),_0x1e2c81=new _0x25b909[(_0x1382d5(0x2a1))](_0x5e099a+_0x34ebd1[_0x1382d5(0x309)][_0x1382d5(0x116)](_0x3f3004),{'pointsGroup':_0x43c5de,'fill':_0x30ee6d||_0x25b909['getColor'](_0x34ebd1['COLORS'][_0x1382d5(0x1d0)],0.2),'left':_0x587b29,'top':_0x4e04a2,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1382d5(0x139)][_0x1382d5(0x154)](_0x1e2c81),this[_0x1382d5(0x327)][_0x1382d5(0x12f)](_0x1e2c81,_0x277641[_0x1382d5(0x2cc)]);}['_drawRectRange'](_0x48823f,_0x46fcf3,_0xe61ad,_0x216bc3){const _0x28d24a=_0x5972b3,_0x34b7d8=new _0x34ebd1[(_0x28d24a(0x2aa))](_0x48823f)[_0x28d24a(0x2fb)](0.2)['toRgbString'](),_0x1b1e30=new _0x25b909[(_0x28d24a(0x2a1))](_0x2ddd32+_0x34ebd1['Tools'][_0x28d24a(0x116)](_0x3f3004),{'pointsGroup':_0x46fcf3,'fill':_0x34b7d8||_0x25b909['getColor'](_0x34ebd1['COLORS'][_0x28d24a(0x1d0)],0.2),'left':_0xe61ad,'top':_0x216bc3,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x28d24a(0x139)]['push'](_0x1b1e30),this['_scene'][_0x28d24a(0x12f)](_0x1b1e30,_0x277641[_0x28d24a(0x2cc)]);}[_0x5972b3(0x260)](_0x2def04){const _0xc439a3=_0x2def04[0x0],_0x4f0a85=_0xc439a3[0x0],_0x1d1cfb=_0xc439a3[0x2],{x:_0x4f54e4,y:_0x3f6f84}=_0x4f0a85,{x:_0x18a1b0,y:_0x4bdf0c}=_0x1d1cfb;return{'left':_0x4f54e4,'top':_0x3f6f84,'width':_0x18a1b0-_0x4f54e4,'height':_0x4bdf0c-_0x3f6f84};}[_0x5972b3(0x11a)](){const _0x5dda0a=_0x5972b3,{scaleX:_0x5606d9,scaleY:_0x37f48a}=this[_0x5dda0a(0x327)]['getAncestorScale']();return Math[_0x5dda0a(0x20c)](_0x5606d9,_0x37f48a);}}var _0x3e415b=Object[_0x5972b3(0x27e)],_0x12080a=(_0x41e280,_0x1254c4,_0x22c6e3,_0x5dcb71)=>{const _0x3d0425=_0x5972b3;for(var _0x160802=_0x5dcb71>0x1?void 0x0:_0x5dcb71?_0x3e415b(_0x1254c4,_0x22c6e3):_0x1254c4,_0x50ab9a=_0x41e280[_0x3d0425(0x22e)]-0x1,_0x41b30f;_0x50ab9a>=0x0;_0x50ab9a--)(_0x41b30f=_0x41e280[_0x50ab9a])&&(_0x160802=_0x41b30f(_0x160802)||_0x160802);return _0x160802;},_0x4e3a29=(_0x291e55,_0x1c5576)=>(_0x550962,_0x5b9991)=>_0x1c5576(_0x550962,_0x5b9991,_0x291e55);let _0x38f847=class extends _0x34ebd1['RxDisposable']{constructor(_0x4fd640,_0x49f545,_0x42bd45,_0x411b45,_0x3b776a){const _0x4389f0=_0x5972b3;super(),_0x47e648(this,_0x4389f0(0x25e),[]),_0x47e648(this,_0x4389f0(0x243),[]),(this[_0x4389f0(0x267)]=_0x4fd640,this[_0x4389f0(0x162)]=_0x49f545,this[_0x4389f0(0x2eb)]=_0x42bd45,this[_0x4389f0(0x17f)]=_0x411b45,this['_themeService']=_0x3b776a,this['_init']());}[_0x5972b3(0x273)](){const _0x5a518c=_0x5972b3,_0x18745b=this[_0x5a518c(0x267)][_0x5a518c(0x25a)],_0x34b3c6=this[_0x5a518c(0x162)];this[_0x5a518c(0xab)](_0x3dc992[_0x5a518c(0x131)]([this[_0x5a518c(0x2eb)][_0x5a518c(0x11c)](_0x18745b),this[_0x5a518c(0xe2)][_0x5a518c(0x100)]])['pipe'](_0x3fc8e3[_0x5a518c(0x20e)](([_0x2e0ff6,_0x15af48])=>({'skeleton':_0x34b3c6[_0x5a518c(0x1c6)](),'cursors':[..._0x2e0ff6[_0x5a518c(0x1f4)]()][_0x5a518c(0x317)](_0x2f65d5=>({..._0x2f65d5,'color':this[_0x5a518c(0xe2)][_0x5a518c(0x1b2)](_0x2f65d5[_0x5a518c(0x32c)])}))})))['subscribe'](_0x44ad8e=>{const _0x3ca9fe=_0x5a518c;if(this[_0x3ca9fe(0x2ff)](),_0x44ad8e){const {skeleton:_0x1957e8,cursors:_0x2b389c}=_0x44ad8e;this['_updateCollabCursors'](_0x1957e8,_0x2b389c);}})),this[_0x5a518c(0x252)](),this[_0x5a518c(0x2a4)]();}[_0x5972b3(0x190)](_0x1ab255,_0x4fcf28){const _0x28355a=_0x5972b3,{scene:_0x5cafba,mainComponent:_0x101919}=this[_0x28355a(0x267)],_0x489cdb=_0x4fcf28['map'](_0x503d41=>new _0x3ef596(_0x503d41,_0x5cafba,_0x1ab255,_0x101919));this[_0x28355a(0x25e)]=_0x489cdb,this[_0x28355a(0x243)]=_0x4fcf28;}['_refreshCollabCursors'](){const _0x170686=_0x5972b3;this[_0x170686(0x2ff)]();const {scene:_0x9cb1cb,mainComponent:_0x2146a7}=this['_context'],_0x2e20f0=this['_docSkeletonManagerService']['getSkeleton'](),_0x5c9aff=this['_cursors'][_0x170686(0x20e)](_0x57e594=>new _0x3ef596(_0x57e594,_0x9cb1cb,_0x2e20f0,_0x2146a7));this['_cursorShapes']=_0x5c9aff;}[_0x5972b3(0x2ff)](){const _0x48fc63=_0x5972b3;this[_0x48fc63(0x25e)][_0x48fc63(0x157)](_0x17ee2e=>_0x17ee2e['dispose']()),this[_0x48fc63(0x25e)]=[];}['_initCommandExecutedListener'](){const _0x2a14a1=_0x5972b3,_0x308a64=[_0x277641['SetDocZoomRatioOperation']['id']];this['disposeWithMe'](this[_0x2a14a1(0x17f)][_0x2a14a1(0x256)](_0x2a57d8=>{const _0xc222fe=_0x2a14a1;_0x308a64[_0xc222fe(0x330)](_0x2a57d8['id'])&&_0x2a57d8[_0xc222fe(0x33c)]['unitId']===this[_0xc222fe(0x267)][_0xc222fe(0x25a)]&&this[_0xc222fe(0x226)]();}));}[_0x5972b3(0x252)](){const _0x5b2b04=_0x5972b3;this[_0x5b2b04(0xab)](_0x34ebd1[_0x5b2b04(0x1c7)](this[_0x5b2b04(0x267)][_0x5b2b04(0x281)]['onTransformChange$'])[_0x5b2b04(0x1f0)](_0x3fc8e3[_0x5b2b04(0x254)](_0x4ff6f3=>_0x4ff6f3[_0x5b2b04(0x2bb)]===_0x25b909[_0x5b2b04(0x145)][_0x5b2b04(0xb0)]),_0x3fc8e3['throttleTime'](0x10))[_0x5b2b04(0x1a1)](()=>{const _0x2229b5=_0x5b2b04;this[_0x2229b5(0x226)]();}));}};_0x38f847=_0x12080a([_0x4e3a29(0x1,_0x34ebd1[_0x5972b3(0x24b)](_0x14e34b['DocSkeletonManagerService'])),_0x4e3a29(0x2,_0x34ebd1[_0x5972b3(0x24b)](_0x2debf7)),_0x4e3a29(0x3,_0x34ebd1[_0x5972b3(0xb3)]),_0x4e3a29(0x4,_0x34ebd1[_0x5972b3(0x24b)](_0x34ebd1['ThemeService']))],_0x38f847);const _0x2ebfab=0x1,_0x3a7328=1.5;class _0x34dc28 extends _0x25b909[_0x5972b3(0x1b4)]{constructor(_0x5dbb39,_0x170222){const _0x3e1cf1=_0x5972b3;super(_0x5dbb39,_0x170222),_0x47e648(this,_0x3e1cf1(0x305)),_0x47e648(this,_0x3e1cf1(0x342),!0x1),_0x47e648(this,_0x3e1cf1(0x169)),_0x47e648(this,'_name',''),_0x47e648(this,'_labelPosition',_0x3e1cf1(0x1a5)),_0x47e648(this,_0x3e1cf1(0x127)),(_0x170222&&this[_0x3e1cf1(0x181)](_0x170222),this['onPointerEnter$'][_0x3e1cf1(0x2a5)](()=>this['setShapeProps']({'hovered':!0x0})),this[_0x3e1cf1(0x1d5)]['subscribeEvent'](()=>this[_0x3e1cf1(0x181)]({'hovered':!0x1})));}['setShapeProps'](_0x6bdbe5){const _0x1a72b1=_0x5972b3;var _0x32e729,_0x656b9e,_0x20793c,_0x36378d,_0x174c07,_0x24712d;this[_0x1a72b1(0x305)]=(_0x32e729=_0x6bdbe5[_0x1a72b1(0x32c)])!=null?_0x32e729:this['_color'],this[_0x1a72b1(0x342)]=(_0x656b9e=_0x6bdbe5[_0x1a72b1(0x1ec)])!=null?_0x656b9e:this[_0x1a72b1(0x342)],this[_0x1a72b1(0x169)]=(_0x20793c=_0x6bdbe5[_0x1a72b1(0x211)])!=null?_0x20793c:this[_0x1a72b1(0x169)],this[_0x1a72b1(0xd4)]=(_0x36378d=_0x6bdbe5[_0x1a72b1(0x123)])!=null?_0x36378d:this[_0x1a72b1(0xd4)],this[_0x1a72b1(0x2d1)]=(_0x174c07=_0x6bdbe5[_0x1a72b1(0x29c)])!=null?_0x174c07:this['_labelPosition'],this[_0x1a72b1(0x127)]=(_0x24712d=_0x6bdbe5[_0x1a72b1(0x227)])!=null?_0x24712d:this['_backgroundColor'],this[_0x1a72b1(0x28d)]({'width':_0x6bdbe5[_0x1a72b1(0x257)],'height':_0x6bdbe5['height']});}[_0x5972b3(0x14a)](_0x554d6b){const _0x47cd84=_0x5972b3,{row:_0xe7bb6d,column:_0x622429}=_0x554d6b;if(_0xe7bb6d>=this[_0x47cd84(0x169)][_0x47cd84(0x2a7)]&&_0xe7bb6d<=this['_range'][_0x47cd84(0x250)]&&_0x622429>=this[_0x47cd84(0x169)]['startColumn']&&_0x622429<=this[_0x47cd84(0x169)][_0x47cd84(0x33e)]){this['setShapeProps']({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x5972b3(0x2fc)](_0x5cdebc){return!0x1;}[_0x5972b3(0x147)](_0x247a04){const _0x2af3bd=_0x5972b3;_0x25b909['Rect'][_0x2af3bd(0x10d)](_0x247a04,{'width':this[_0x2af3bd(0x257)],'height':this[_0x2af3bd(0xef)],'strokeWidth':_0x3a7328,'stroke':this[_0x2af3bd(0x305)],'evented':!0x1,'fill':this[_0x2af3bd(0x127)]}),this['_hovered']&&(_0x247a04['save'](),_0x247a04[_0x2af3bd(0x14e)](0x1,0x0,0x0,0x1,this['width'],this['_labelPosition']==='bottom'?0x0:-0x14),_0x30610d[_0x2af3bd(0x10d)](_0x247a04,{'text':this[_0x2af3bd(0xd4)],'color':this[_0x2af3bd(0x305)]}),_0x247a04[_0x2af3bd(0x1cc)]());}}var _0x456da0=Object[_0x5972b3(0x27e)],_0x575aad=(_0x4cf570,_0x515ce3,_0x5514ff,_0x2920e1)=>{const _0x2c3aee=_0x5972b3;for(var _0x13d650=_0x2920e1>0x1?void 0x0:_0x2920e1?_0x456da0(_0x515ce3,_0x5514ff):_0x515ce3,_0x2e95a9=_0x4cf570[_0x2c3aee(0x22e)]-0x1,_0x458004;_0x2e95a9>=0x0;_0x2e95a9--)(_0x458004=_0x4cf570[_0x2e95a9])&&(_0x13d650=_0x458004(_0x13d650)||_0x13d650);return _0x13d650;},_0x224f19=(_0x17bd7c,_0x356109)=>(_0x3e6fe6,_0x4bccc7)=>_0x356109(_0x3e6fe6,_0x4bccc7,_0x17bd7c);const _0x25e5f7=0x1389;let _0x265562=class extends _0x34ebd1[_0x5972b3(0x2af)]{constructor(_0x5b3f7d,_0x3fc659,_0x2f1ce6,_0x181ef8){const _0x7f21c6=_0x5972b3;super(),_0x47e648(this,_0x7f21c6(0x243),new Set()),_0x47e648(this,_0x7f21c6(0x2e3),null),(this[_0x7f21c6(0x267)]=_0x5b3f7d,this[_0x7f21c6(0x2dc)]=_0x3fc659,this[_0x7f21c6(0x2eb)]=_0x2f1ce6,this[_0x7f21c6(0xe2)]=_0x181ef8,this[_0x7f21c6(0x273)]());}['_init'](){const _0x41bae3=_0x5972b3;this['_sheetSkeletonManagerService'][_0x41bae3(0x2a0)][_0x41bae3(0x1f0)](_0x3fc8e3['takeUntil'](this[_0x41bae3(0x177)]),_0x3fc8e3[_0x41bae3(0x107)](_0x5029cc=>{const _0x2df68a=_0x41bae3;if(_0x5029cc){const _0x579d09=_0x5029cc[_0x2df68a(0x28c)];return _0x3dc992[_0x2df68a(0x131)](this[_0x2df68a(0x2eb)][_0x2df68a(0x11c)](this[_0x2df68a(0x267)][_0x2df68a(0x25a)]),this['_themeService'][_0x2df68a(0x100)])[_0x2df68a(0x1f0)](_0x3fc8e3[_0x2df68a(0x20e)](([_0x3cee26,_0x3c3ab9])=>{const _0x2c30d3=_0x2df68a,_0x423fba=new Map();return _0x3cee26[_0x2c30d3(0x157)]((_0x4e8323,_0xcd42ed)=>{const _0xb92c02=_0x2c30d3;if(_0x4e8323['sheetID']===_0x579d09){const _0x4b051a={..._0x4e8323};_0x4b051a[_0xb92c02(0x32c)]=this[_0xb92c02(0xe2)][_0xb92c02(0x1b2)](_0x4e8323[_0xb92c02(0x32c)]),_0x423fba['set'](_0xcd42ed,_0x4b051a);}}),{'skeleton':_0x5029cc,'cursors':_0x423fba};}));}return _0x3dc992['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x27d517,cursors:_0x4e9109})=>{this['_removeCollabCursors'](),_0x27d517&&this['_updateCollabCursors'](_0x27d517,_0x4e9109);}),this[_0x41bae3(0x2dc)][_0x41bae3(0x2a0)][_0x41bae3(0x1a1)](_0x2a9303=>{const _0x24c4df=_0x41bae3;if(_0x2a9303==null)return;const {skeleton:_0x479ccc}=_0x2a9303,{scene:_0x72757e}=this['_context'];_0x72757e['onPointerMove$'][_0x24c4df(0x2a5)](_0x34ebd1[_0x24c4df(0x234)](_0x15b3f3=>{const _0x53f321=_0x24c4df;var _0x1bd2ce,_0x323bb2;const {offsetX:_0x26f819,offsetY:_0x5293a3}=_0x15b3f3,{x:_0x87ffb,y:_0x573524}=_0x72757e['getRelativeToViewportCoord'](_0x25b909[_0x53f321(0x17e)][_0x53f321(0x1de)]([_0x26f819,_0x5293a3])),{scaleX:_0x4bedeb,scaleY:_0x10c8fd}=_0x72757e[_0x53f321(0x297)](),_0x2c33ef=_0x72757e[_0x53f321(0x203)](_0x25b909[_0x53f321(0x15c)][_0x53f321(0xdb)]),_0x167a26=_0x72757e[_0x53f321(0x12e)](_0x25b909[_0x53f321(0x17e)][_0x53f321(0x1de)]([_0x87ffb,_0x573524]),_0x2c33ef),_0x2c77c5=_0x479ccc[_0x53f321(0x318)](_0x26f819,_0x5293a3,_0x4bedeb,_0x10c8fd,_0x167a26);((_0x1bd2ce=this[_0x53f321(0x2e3)])==null?void 0x0:_0x1bd2ce[_0x53f321(0x2f9)])===_0x2c77c5['column']&&((_0x323bb2=this['_lastPointer'])==null?void 0x0:_0x323bb2[_0x53f321(0x2b0)])===_0x2c77c5[_0x53f321(0x2b0)]||this[_0x53f321(0x243)][_0x53f321(0x157)](_0x1b4c8b=>{const _0x270df0=_0x53f321;_0x1b4c8b[_0x270df0(0x14a)](_0x2c77c5);});},0x64));});}['_updateCollabCursors'](_0x1a9285,_0x187598){const _0x5a857b=_0x5972b3;var _0xc13970;const _0x3ba000=(_0xc13970=this[_0x5a857b(0x2dc)][_0x5a857b(0x1bd)]())==null?void 0x0:_0xc13970['skeleton'];if(!_0x3ba000)return;const _0x5161b9=this[_0x5a857b(0x1a6)]();if(!_0x5161b9)return;this[_0x5a857b(0x243)][_0x5a857b(0x157)](_0x196d7a=>{_0x196d7a['makeDirty']();});const {scene:_0x54a2bc}=_0x5161b9,_0x321d2e=_0x96238f(Array['from'](_0x187598[_0x5a857b(0x1f4)]()))[_0x5a857b(0x20e)](_0x57e444=>{const _0x5c0f48=_0x5a857b,{color:_0x41e6e8,range:_0x833eae,name:_0x1dc1e3,selection:_0xb13f81,sheetID:_0xbae311}=_0x57e444,{startColumn:_0x34fe53,startRow:_0x2c9f43,endColumn:_0x1021a3,endRow:_0x415a20}=_0x833eae,_0x5af932=_0x184213[_0x5c0f48(0x2c7)](_0x2c9f43,_0x34fe53,_0x54a2bc,_0x3ba000),_0x3e7474=_0x184213[_0x5c0f48(0x2c7)](_0x415a20,_0x1021a3,_0x54a2bc,_0x3ba000),{columnHeaderHeightAndMarginTop:_0x4920ab}=_0x3ba000,{startX:_0x4f7d47,startY:_0x33cc44}=_0x5af932,{endX:_0x114cff,endY:_0xc60a6d}=_0x3e7474,_0x268a72=_0x114cff-_0x4f7d47,_0x111746=_0xc60a6d-_0x33cc44,_0x241d68={'labelPosition':_0x33cc44-_0x4920ab>=_0x13f6c2?_0x5c0f48(0x1a5):_0x5c0f48(0x201),'sheetID':_0xbae311,'range':_0x833eae,'color':_0x41e6e8,'name':_0x1dc1e3,'selection':_0xb13f81,'left':_0x4f7d47,'top':_0x33cc44,'width':_0x268a72,'height':_0x111746,'evented':!0x1,'zIndex':_0x25e5f7};return new _0x34dc28(_0x1dc1e3,_0x241d68);});_0x54a2bc[_0x5a857b(0x31f)](_0x321d2e,_0x2ebfab),this[_0x5a857b(0x243)]=new Set(_0x321d2e);}['_removeCollabCursors'](){const _0x180a10=_0x5972b3;var _0x3e60db;(_0x3e60db=this[_0x180a10(0x243)])==null||_0x3e60db[_0x180a10(0x157)](_0x505140=>_0x505140[_0x180a10(0x31d)]());}['_getSheetObject'](){const _0x596ccf=_0x5972b3;return _0x184213[_0x596ccf(0x331)](this[_0x596ccf(0x267)][_0x596ccf(0x101)],this['_context']);}};_0x265562=_0x575aad([_0x224f19(0x1,_0x34ebd1[_0x5972b3(0x24b)](_0x184213[_0x5972b3(0x151)])),_0x224f19(0x2,_0x34ebd1[_0x5972b3(0x24b)](_0x2debf7)),_0x224f19(0x3,_0x34ebd1[_0x5972b3(0x24b)](_0x34ebd1[_0x5972b3(0x121)]))],_0x265562);function _0x96238f(_0x3e2fd0){const _0x12f1b4=_0x5972b3,_0x1077af=new Map();return _0x3e2fd0[_0x12f1b4(0x157)](_0x25d238=>{const _0x52268b=_0x12f1b4;if(_0x1077af[_0x52268b(0x2c3)](_0x25d238['selection'])){const _0x1cdfdf=_0x1077af['get'](_0x25d238['selection']);_0x1cdfdf['name']+=',\x20'+_0x25d238[_0x52268b(0x123)];}else _0x1077af[_0x52268b(0x241)](_0x25d238[_0x52268b(0x12a)],_0x25d238);}),Array[_0x12f1b4(0x21d)](_0x1077af[_0x12f1b4(0x1f4)]());}var _0x241031=function(){const _0x2743ad=_0x5972b3;return _0x241031=Object[_0x2743ad(0x23d)]||function(_0x34cac6){const _0x45c480=_0x2743ad;for(var _0x124007,_0x189109=0x1,_0x590287=arguments[_0x45c480(0x22e)];_0x189109<_0x590287;_0x189109++){_0x124007=arguments[_0x189109];for(var _0x22a83d in _0x124007)Object['prototype'][_0x45c480(0x1c5)][_0x45c480(0x285)](_0x124007,_0x22a83d)&&(_0x34cac6[_0x22a83d]=_0x124007[_0x22a83d]);}return _0x34cac6;},_0x241031[_0x2743ad(0xfe)](this,arguments);},_0x3a8ad5=function(_0x1f611f,_0x344b47){const _0x490c45=_0x5972b3;var _0x327492={};for(var _0x11fd38 in _0x1f611f)Object[_0x490c45(0x247)][_0x490c45(0x1c5)][_0x490c45(0x285)](_0x1f611f,_0x11fd38)&&_0x344b47['indexOf'](_0x11fd38)<0x0&&(_0x327492[_0x11fd38]=_0x1f611f[_0x11fd38]);if(_0x1f611f!=null&&typeof Object[_0x490c45(0x289)]==_0x490c45(0x26e)){for(var _0x219ffd=0x0,_0x11fd38=Object[_0x490c45(0x289)](_0x1f611f);_0x219ffd<_0x11fd38[_0x490c45(0x22e)];_0x219ffd++)_0x344b47[_0x490c45(0x16d)](_0x11fd38[_0x219ffd])<0x0&&Object[_0x490c45(0x247)][_0x490c45(0x16b)][_0x490c45(0x285)](_0x1f611f,_0x11fd38[_0x219ffd])&&(_0x327492[_0x11fd38[_0x219ffd]]=_0x1f611f[_0x11fd38[_0x219ffd]]);}return _0x327492;},_0x1159b1=_0x4eebd7['forwardRef'](function(_0x591f23,_0x56936e){const _0x11d9fe=_0x5972b3;var _0x37f15c=_0x591f23[_0x11d9fe(0xea)],_0x4671e2=_0x591f23['id'],_0x867753=_0x591f23['className'],_0x19ceb8=_0x591f23['extend'],_0x5e9ed6=_0x3a8ad5(_0x591f23,['icon','id',_0x11d9fe(0x1ee),_0x11d9fe(0x286)]),_0x3276b2='univerjs-icon\x20univerjs-icon-'[_0x11d9fe(0x140)](_0x4671e2,'\x20')['concat'](_0x867753||'')[_0x11d9fe(0x104)](),_0x51ca8e=_0x4eebd7[_0x11d9fe(0x230)]('_'[_0x11d9fe(0x140)](_0x556b3b()));return _0x5354c1(_0x37f15c,''[_0x11d9fe(0x140)](_0x4671e2),{'defIds':_0x37f15c[_0x11d9fe(0x1e1)],'idSuffix':_0x51ca8e['current']},_0x241031({'ref':_0x56936e,'className':_0x3276b2},_0x5e9ed6),_0x19ceb8);});function _0x5354c1(_0x3ce961,_0x20e2af,_0x30dec4,_0x5f3bf0,_0x38358d){const _0x4ec269=_0x5972b3;return _0x4eebd7['createElement'](_0x3ce961[_0x4ec269(0x2d5)],_0x241031(_0x241031({'key':_0x20e2af},_0x2cf73e(_0x3ce961,_0x30dec4,_0x38358d)),_0x5f3bf0),(_0x5bef8a(_0x3ce961,_0x30dec4)['children']||[])[_0x4ec269(0x20e)](function(_0x1265b1,_0x4972aa){const _0xcd45bf=_0x4ec269;return _0x5354c1(_0x1265b1,''[_0xcd45bf(0x140)](_0x20e2af,'-')['concat'](_0x3ce961[_0xcd45bf(0x2d5)],'-')['concat'](_0x4972aa),_0x30dec4,void 0x0,_0x38358d);}));}function _0x2cf73e(_0x54657f,_0x5241ab,_0x4f84f0){const _0x50b7da=_0x5972b3;var _0x163c1a=_0x241031({},_0x54657f['attrs']);_0x4f84f0!=null&&_0x4f84f0[_0x50b7da(0x108)]&&_0x163c1a[_0x50b7da(0x1be)]===_0x50b7da(0x108)&&(_0x163c1a[_0x50b7da(0x1be)]=_0x4f84f0['colorChannel1']),_0x54657f['tag']===_0x50b7da(0x1af)&&_0x163c1a['id']&&(_0x163c1a['id']=_0x163c1a['id']+_0x5241ab['idSuffix']),Object[_0x50b7da(0x22f)](_0x163c1a)['forEach'](function(_0x3aaa1e){const _0x1ecbf7=_0x50b7da;var _0x1fac2d=_0x3aaa1e[0x0],_0x56080a=_0x3aaa1e[0x1];_0x1fac2d===_0x1ecbf7(0x1af)&&typeof _0x56080a==_0x1ecbf7(0x287)&&(_0x163c1a[_0x1fac2d]=_0x56080a['replace'](/url\(#(.*)\)/,_0x1ecbf7(0x142)[_0x1ecbf7(0x140)](_0x5241ab[_0x1ecbf7(0x293)],')')));});var _0x82f0b0=_0x5241ab[_0x50b7da(0x1e1)];return!_0x82f0b0||_0x82f0b0[_0x50b7da(0x22e)]===0x0||(_0x54657f[_0x50b7da(0x2d5)]===_0x50b7da(0x298)&&_0x163c1a[_0x50b7da(0x21e)]&&(_0x163c1a[_0x50b7da(0x21e)]=_0x163c1a['xlink:href']+_0x5241ab[_0x50b7da(0x293)]),Object[_0x50b7da(0x22f)](_0x163c1a)[_0x50b7da(0x157)](function(_0x521e54){const _0x4558e5=_0x50b7da;var _0x3423a2=_0x521e54[0x0],_0x1724f7=_0x521e54[0x1];typeof _0x1724f7=='string'&&(_0x163c1a[_0x3423a2]=_0x1724f7[_0x4558e5(0x279)](/url\(#(.*)\)/,'url(#$1'[_0x4558e5(0x140)](_0x5241ab[_0x4558e5(0x293)],')')));})),_0x163c1a;}function _0x5bef8a(_0x1c44f0,_0x10b624){const _0x472af0=_0x5972b3;var _0x2bd938,_0x15d431=_0x10b624[_0x472af0(0x1e1)];return!_0x15d431||_0x15d431[_0x472af0(0x22e)]===0x0?_0x1c44f0:_0x1c44f0[_0x472af0(0x2d5)]===_0x472af0(0x202)&&(!((_0x2bd938=_0x1c44f0[_0x472af0(0xf8)])===null||_0x2bd938===void 0x0)&&_0x2bd938['length'])?_0x241031(_0x241031({},_0x1c44f0),{'children':_0x1c44f0[_0x472af0(0xf8)][_0x472af0(0x20e)](function(_0x580e6d){const _0x3aca48=_0x472af0;return typeof _0x580e6d[_0x3aca48(0xd7)]['id']==_0x3aca48(0x287)&&_0x15d431&&_0x15d431[_0x3aca48(0x330)](_0x580e6d['attrs']['id'])?_0x241031(_0x241031({},_0x580e6d),{'attrs':_0x241031(_0x241031({},_0x580e6d[_0x3aca48(0xd7)]),{'id':_0x580e6d['attrs']['id']+_0x10b624[_0x3aca48(0x293)]})}):_0x580e6d;})}):_0x1c44f0;}function _0x556b3b(){const _0x10fa01=_0x5972b3;return Math[_0x10fa01(0x2c1)]()[_0x10fa01(0x182)](0x24)[_0x10fa01(0x13e)](0x2,0x8);}_0x1159b1[_0x5972b3(0x25f)]='UniverIcon';var _0x24e805={'tag':_0x5972b3(0xcf),'attrs':{'xmlns':'http://www.w3.org/2000/svg','fill':_0x5972b3(0x2e5),'viewBox':_0x5972b3(0x2ee),'width':'1em','height':_0x5972b3(0xb6)},'children':[{'tag':'g','attrs':{'clipPath':_0x5972b3(0x117)},'children':[{'tag':_0x5972b3(0x30c),'attrs':{'stroke':_0x5972b3(0x2da),'d':_0x5972b3(0x270),'strokeLinecap':_0x5972b3(0x244),'strokeLinejoin':_0x5972b3(0x244),'strokeWidth':1.2}}]},{'tag':_0x5972b3(0x202),'attrs':{},'children':[{'tag':_0x5972b3(0x274),'attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':'path','attrs':{'fill':'white','d':_0x5972b3(0x171)}}]}]}],'defIds':[_0x5972b3(0x306)]},_0x3b207b=_0x4eebd7[_0x5972b3(0x2d7)](function(_0x1a3e57,_0x2621c4){const _0xad54bb=_0x5972b3;return _0x4eebd7[_0xad54bb(0x2ba)](_0x1159b1,Object['assign']({},_0x1a3e57,{'id':'off-line-icon','ref':_0x2621c4,'icon':_0x24e805}));});_0x3b207b[_0x5972b3(0x25f)]=_0x5972b3(0x29f);var _0x30fcce={'tag':_0x5972b3(0xcf),'attrs':{'xmlns':_0x5972b3(0x1ed),'fill':_0x5972b3(0x2e5),'viewBox':'0\x200\x2017\x2016','width':'1em','height':_0x5972b3(0xb6)},'children':[{'tag':'g','attrs':{'clipPath':_0x5972b3(0x1d6)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x5972b3(0x30b),'strokeLinecap':_0x5972b3(0x244),'strokeLinejoin':_0x5972b3(0x244),'strokeWidth':1.2}}]},{'tag':_0x5972b3(0x202),'attrs':{},'children':[{'tag':_0x5972b3(0x274),'attrs':{'id':_0x5972b3(0x333)},'children':[{'tag':_0x5972b3(0x30c),'attrs':{'fill':_0x5972b3(0x11e),'d':_0x5972b3(0x171),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x5c870e=_0x4eebd7['forwardRef'](function(_0x5f0fea,_0x30fae5){const _0x2a17f4=_0x5972b3;return _0x4eebd7[_0x2a17f4(0x2ba)](_0x1159b1,Object['assign']({},_0x5f0fea,{'id':_0x2a17f4(0x2c4),'ref':_0x30fae5,'icon':_0x30fcce}));});_0x5c870e[_0x5972b3(0x25f)]='OnLineIcon';function _0x598556(_0x2abd2b){const _0x28f16d=_0x5972b3;switch(_0x2abd2b){case _0x3a2a7b[_0x28f16d(0x19f)][_0x28f16d(0x29e)]:return _0x28f16d(0x2bd);case _0x3a2a7b['CollaborationStatus'][_0x28f16d(0x1cf)]:return'collabStatus.conflict';case _0x3a2a7b[_0x28f16d(0x19f)][_0x28f16d(0x20a)]:return _0x28f16d(0xb1);case _0x3a2a7b[_0x28f16d(0x19f)][_0x28f16d(0xc3)]:return _0x28f16d(0x275);case _0x3a2a7b[_0x28f16d(0x19f)]['AWAITING']:case _0x3a2a7b['CollaborationStatus'][_0x28f16d(0x2b9)]:return _0x28f16d(0x112);case _0x3a2a7b[_0x28f16d(0x19f)]['SYNCED']:case _0x3a2a7b['CollaborationStatus'][_0x28f16d(0x213)]:return _0x28f16d(0x1c8);}}function _0x3f0665(_0x529434){const _0x3501dd=_0x5972b3,{status$:_0x202fb4}=_0x529434,_0x5384a2=_0x41e240[_0x3501dd(0x228)](_0x202fb4,_0x3a2a7b[_0x3501dd(0x19f)][_0x3501dd(0xc3)]),_0x1dc863=_0x41e240[_0x3501dd(0x136)](_0x34ebd1[_0x3501dd(0x31a)]),_0x230af7=_0x41e240[_0x3501dd(0x136)](_0x3a2a7b[_0x3501dd(0x32d)]),_0x4e8f7f=_0x5384a2!==_0x3a2a7b[_0x3501dd(0x19f)]['OFFLINE'],_0x9ff0f1=_0x1dc863['t'](_0x598556(_0x5384a2)),_0x28acd9=_0x4e8f7f?_0x4877af['jsx'](_0x5c870e,{}):_0x4877af[_0x3501dd(0x1e5)](_0x3b207b,{}),_0x2b71ed=_0x4eebd7[_0x3501dd(0x2b2)](()=>{const _0x425a35=_0x3501dd;_0x4e8f7f||_0x230af7[_0x425a35(0x30a)]();},[_0x4e8f7f,_0x230af7]);function _0x3d8e4e(){const _0x5eeb89=_0x3501dd;return _0x4877af[_0x5eeb89(0x1ba)]('div',{'className':_0x5eeb89(0xce),'onClick':_0x2b71ed,'children':[_0x4877af[_0x5eeb89(0x1e5)](_0x5eeb89(0x33b),{'className':_0x588e34[_0x5eeb89(0x16a)](_0x5eeb89(0x2fe),{'univer-text-green-500':_0x4e8f7f,'univer-text-red-500':!_0x4e8f7f}),'children':_0x28acd9}),_0x4877af[_0x5eeb89(0x1e5)]('div',{'className':_0x5eeb89(0x1c1),'children':_0x9ff0f1})]});}return _0x4e8f7f?_0x3d8e4e():_0x4877af['jsx'](_0x588e34['Tooltip'],{'title':_0x1dc863['t']('collab-client.tooltip.reconnect'),'children':_0x3d8e4e()});}var _0x5ea34a=Object[_0x5972b3(0x27e)],_0x977b0b=(_0x2f1a67,_0x431ec6,_0x12729e,_0xba46e4)=>{const _0x3e2d5d=_0x5972b3;for(var _0x3e5da2=_0xba46e4>0x1?void 0x0:_0xba46e4?_0x5ea34a(_0x431ec6,_0x12729e):_0x431ec6,_0x2681b2=_0x2f1a67[_0x3e2d5d(0x22e)]-0x1,_0x3faa8b;_0x2681b2>=0x0;_0x2681b2--)(_0x3faa8b=_0x2f1a67[_0x2681b2])&&(_0x3e5da2=_0x3faa8b(_0x3e5da2)||_0x3e5da2);return _0x3e5da2;},_0x1ca527=(_0x95b997,_0x29e8a9)=>(_0x305139,_0x302745)=>_0x29e8a9(_0x305139,_0x302745,_0x95b997);_0x4e86fa[_0x5972b3(0x2cb)]=class extends _0x34ebd1[_0x5972b3(0x15e)]{constructor(_0x48b82b,_0xf9d70f,_0x5c0b1a,_0x285501){const _0xe59f28=_0x5972b3;super(),_0x47e648(this,_0xe59f28(0x132),new _0x3dc992[(_0xe59f28(0x1ce))](_0x3a2a7b['CollaborationStatus'][_0xe59f28(0xc3)])),(this[_0xe59f28(0x193)]=_0x48b82b,this[_0xe59f28(0x11b)]=_0xf9d70f,this[_0xe59f28(0x299)]=_0x5c0b1a,this['_uiPartsService']=_0x285501,this[_0xe59f28(0x242)](),this[_0xe59f28(0x214)]());}[_0x5972b3(0x214)](){const _0x43cc5c=_0x5972b3;this[_0x43cc5c(0xab)](this[_0x43cc5c(0x193)][_0x43cc5c(0x183)]['pipe'](_0x3dc992[_0x43cc5c(0x107)](()=>{const _0x4c02f0=_0x43cc5c,_0x4147e0=this[_0x4c02f0(0x193)][_0x4c02f0(0x192)]();return _0x4147e0?this[_0x4c02f0(0x299)]['getCollabEntity$'](_0x4147e0[_0x4c02f0(0x18c)]()):_0x3dc992['of'](null);}),_0x3dc992[_0x43cc5c(0x107)](_0x445df9=>_0x445df9?_0x445df9[_0x43cc5c(0x149)]:_0x3dc992['of'](_0x3a2a7b[_0x43cc5c(0x19f)][_0x43cc5c(0xc3)])))[_0x43cc5c(0x1a1)](_0x530d65=>{const _0x49765c=_0x43cc5c;this[_0x49765c(0x132)][_0x49765c(0x329)](_0x530d65);}));}['_initStatusComponent'](){const _0x4af22b=_0x5972b3;this[_0x4af22b(0xab)](this[_0x4af22b(0x268)][_0x4af22b(0xcb)](_0x41e240[_0x4af22b(0x196)]['HEADER_MENU'],()=>_0x41e240[_0x4af22b(0x2cf)](_0x13c55e({'status$':this[_0x4af22b(0x132)][_0x4af22b(0x235)]()}),this[_0x4af22b(0x11b)])));}},_0x4e86fa[_0x5972b3(0x2cb)]=_0x977b0b([_0x1ca527(0x0,_0x34ebd1[_0x5972b3(0xb7)]),_0x1ca527(0x1,_0x34ebd1[_0x5972b3(0x24b)](_0x34ebd1[_0x5972b3(0x215)])),_0x1ca527(0x2,_0x34ebd1[_0x5972b3(0x24b)](_0x3a2a7b[_0x5972b3(0x248)])),_0x1ca527(0x3,_0x41e240[_0x5972b3(0xda)])],_0x4e86fa['DesktopCollaborationStatusDisplayController']);function _0x13c55e(_0x502ab1){const {status$:_0x473435}=_0x502ab1;return function(){const _0x666a58=_0x3de9;return _0x4877af[_0x666a58(0x1e5)](_0x3f0665,{'status$':_0x473435});};}var _0x439823=Object[_0x5972b3(0x27e)],_0x3e6b63=(_0x2f8044,_0x16781a,_0x79e721,_0x44a17a)=>{const _0x188d58=_0x5972b3;for(var _0x3c2856=_0x44a17a>0x1?void 0x0:_0x44a17a?_0x439823(_0x16781a,_0x79e721):_0x16781a,_0xe1cb5d=_0x2f8044[_0x188d58(0x22e)]-0x1,_0x1d6eb1;_0xe1cb5d>=0x0;_0xe1cb5d--)(_0x1d6eb1=_0x2f8044[_0xe1cb5d])&&(_0x3c2856=_0x1d6eb1(_0x3c2856)||_0x3c2856);return _0x3c2856;},_0x225028=(_0x32f771,_0x1494b3)=>(_0xb72626,_0x327f86)=>_0x1494b3(_0xb72626,_0x327f86,_0x32f771);let _0x581134=class extends _0x34ebd1['Disposable']{constructor(_0x3a324a,_0x3c0f18,_0x30c15f,_0x23f1bc,_0x41a1c5,_0x233079){const _0x51db34=_0x5972b3;super(),this['_beforeCloseService']=_0x3a324a,this[_0x51db34(0x2bf)]=_0x3c0f18,this[_0x51db34(0x152)]=_0x30c15f,this['_messageService']=_0x23f1bc,this[_0x51db34(0xcc)]=_0x41a1c5,this['_localeService']=_0x233079,this['_setupBeforeClosingHandler'](),this[_0x51db34(0xc1)]();}['_setupBeforeClosingHandler'](){const _0x1f7c7d=_0x5972b3;this[_0x1f7c7d(0xab)](this[_0x1f7c7d(0x2d2)][_0x1f7c7d(0x2e7)](()=>{const _0x33d852=_0x1f7c7d;if(this['_localCacheService'][_0x33d852(0xe6)][_0x33d852(0x29b)])return this[_0x33d852(0xb8)]['t'](_0x33d852(0x22c));}));}[_0x5972b3(0xc1)](){const _0x37c554=_0x5972b3;this[_0x37c554(0xab)](this[_0x37c554(0x152)]['event$'][_0x37c554(0x1a1)](_0x3086c9=>{const _0x3a137d=_0x37c554;_0x3086c9['id']===_0x3a2a7b[_0x3a137d(0x164)]['OTHER_CLIENT_EDITING']&&this[_0x3a137d(0x16f)][_0x3a137d(0xae)]({'type':_0x588e34['MessageType'][_0x3a137d(0xfd)],'content':this[_0x3a137d(0xb8)]['t'](_0x3a137d(0x172))}),_0x3086c9['id']===_0x3a2a7b['CollaborationUIEventId'][_0x3a137d(0x22b)]&&this[_0x3a137d(0x16f)][_0x3a137d(0xae)]({'type':_0x588e34[_0x3a137d(0x176)][_0x3a137d(0xfd)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0x3086c9['id']===_0x3a2a7b['CollaborationUIEventId'][_0x3a137d(0x137)]&&this[_0x3a137d(0xcc)][_0x3a137d(0xae)]({'title':this['_localeService']['t'](_0x3a137d(0x12c)),'content':this[_0x3a137d(0xb8)]['t'](_0x3a137d(0x11f)),'type':'error','duration':0x0}),_0x3086c9['id']===_0x3a2a7b['CollaborationUIEventId'][_0x3a137d(0x1cf)]&&this[_0x3a137d(0x16f)][_0x3a137d(0xae)]({'type':_0x588e34[_0x3a137d(0x176)][_0x3a137d(0x2f4)],'content':this['_localeService']['t'](_0x3a137d(0xf7))+'('+_0x3086c9[_0x3a137d(0x20b)]+')'}),_0x3086c9['id']===_0x3a2a7b[_0x3a137d(0x164)]['JOIN_ROOM_FAILED']&&this[_0x3a137d(0x16f)][_0x3a137d(0xae)]({'type':_0x588e34[_0x3a137d(0x176)][_0x3a137d(0xfd)],'content':this[_0x3a137d(0xb8)]['t'](_0x3086c9[_0x3a137d(0x20b)]||'')}),_0x3086c9['id']===_0x3a2a7b[_0x3a137d(0x164)][_0x3a137d(0x272)]&&this[_0x3a137d(0x16f)][_0x3a137d(0xae)]({'type':_0x588e34[_0x3a137d(0x176)][_0x3a137d(0xfd)],'content':this[_0x3a137d(0xb8)]['t'](_0x3a137d(0x159))}),_0x3086c9['id']===_0x3a2a7b[_0x3a137d(0x164)][_0x3a137d(0x166)]&&this[_0x3a137d(0x16f)][_0x3a137d(0xae)]({'type':_0x588e34[_0x3a137d(0x176)][_0x3a137d(0x2f4)],'content':this[_0x3a137d(0xb8)]['t'](_0x3a137d(0x130))}),_0x3086c9['id']===_0x3a2a7b['CollaborationUIEventId']['SUBMIT_CHANGESET_TIMEOUT']&&this[_0x3a137d(0x16f)][_0x3a137d(0xae)]({'type':_0x588e34[_0x3a137d(0x176)]['Error'],'content':this[_0x3a137d(0xb8)]['t'](_0x3a137d(0x31e))});}));}};_0x581134=_0x3e6b63([_0x225028(0x0,_0x41e240[_0x5972b3(0x118)]),_0x225028(0x1,_0x3a2a7b[_0x5972b3(0xbe)]),_0x225028(0x2,_0x34ebd1[_0x5972b3(0x24b)](_0x3a2a7b[_0x5972b3(0x23e)])),_0x225028(0x3,_0x41e240[_0x5972b3(0x113)]),_0x225028(0x4,_0x41e240[_0x5972b3(0x10e)]),_0x225028(0x5,_0x34ebd1[_0x5972b3(0x24b)](_0x34ebd1[_0x5972b3(0x31a)]))],_0x581134);const _0x2276f7=_0x5972b3(0x205),_0x4d53cb={},_0x32bcf8=_0x34ebd1[_0x5972b3(0x2ab)](_0x5972b3(0x1f2));var _0x3b695a=Object['getOwnPropertyDescriptor'],_0xfe297d=(_0x32d212,_0x879c54,_0x1f2daa,_0x3c7713)=>{const _0x10fa3d=_0x5972b3;for(var _0x12e949=_0x3c7713>0x1?void 0x0:_0x3c7713?_0x3b695a(_0x879c54,_0x1f2daa):_0x879c54,_0x1adf6f=_0x32d212[_0x10fa3d(0x22e)]-0x1,_0x2a1cc9;_0x1adf6f>=0x0;_0x1adf6f--)(_0x2a1cc9=_0x32d212[_0x1adf6f])&&(_0x12e949=_0x2a1cc9(_0x12e949)||_0x12e949);return _0x12e949;},_0x368409=(_0x1108b0,_0x1af063)=>(_0x266e27,_0x48b4a9)=>_0x1af063(_0x266e27,_0x48b4a9,_0x1108b0);_0x4e86fa[_0x5972b3(0x320)]=class extends _0x34ebd1[_0x5972b3(0x2af)]{constructor(_0x2dd027,_0x8f12d,_0x3e72be,_0x5ecffb,_0x3ea13e){const _0x23135f=_0x5972b3;super(),this[_0x23135f(0xf2)]=_0x2dd027,this[_0x23135f(0x24a)]=_0x8f12d,this[_0x23135f(0x17f)]=_0x3e72be,this['_dataLoaderService']=_0x5ecffb,_0x3ea13e?_0x3ea13e==null||_0x3ea13e[_0x23135f(0x19d)]()['then'](()=>this[_0x23135f(0x273)]()):(this['_logService']['debug']('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x23135f(0x273)]());}async[_0x5972b3(0x273)](){const _0x49e9bc=_0x5972b3,_0x348e66=this[_0x49e9bc(0xf2)][_0x49e9bc(0x2c9)](_0x49e9bc(0x101)),_0x3473b7=this[_0x49e9bc(0xf2)]['getParam'](_0x49e9bc(0x2bb)),_0x346710=this['_urlService'][_0x49e9bc(0x2c9)](_0x49e9bc(0x32a));if(!_0x348e66||!_0x3473b7){this[_0x49e9bc(0x24a)]['debug'](_0x49e9bc(0x2cd),_0x49e9bc(0x233));return;}const _0x3191fe=await this['_dataLoaderService'][_0x49e9bc(0xc4)](_0x348e66,Number(_0x3473b7),_0x346710);_0x3191fe&&_0x3191fe instanceof _0x34ebd1[_0x49e9bc(0xbb)]&&this[_0x49e9bc(0x2f2)](_0x3191fe);}async[_0x5972b3(0x2f2)](_0x43bac0){const _0x347f43=_0x5972b3;await this[_0x347f43(0x292)](_0x43bac0),_0x43bac0['activeSheet$'][_0x347f43(0x1f0)](_0x3dc992[_0x347f43(0x1a0)](this[_0x347f43(0x177)]))[_0x347f43(0x1a1)](_0x42bdcc=>{const _0x20ca37=_0x347f43;_0x42bdcc&&this[_0x20ca37(0xbc)](_0x42bdcc);}),this[_0x347f43(0xf2)][_0x347f43(0x296)][_0x347f43(0x1f0)](_0x3dc992['takeUntil'](this[_0x347f43(0x177)]))[_0x347f43(0x1a1)](()=>this[_0x347f43(0x292)](_0x43bac0));}[_0x5972b3(0xbc)](_0x43cfc4,_0x34ed58=!0x1){const _0x2616f3=_0x5972b3,_0x56bb70=this[_0x2616f3(0xf2)][_0x2616f3(0x2c9)]('subunit');_0x43cfc4[_0x2616f3(0xd3)]()!==_0x56bb70&&this[_0x2616f3(0xf2)][_0x2616f3(0xfa)](_0x2616f3(0x32a),_0x43cfc4['getSheetId'](),_0x34ed58);}async[_0x5972b3(0x292)](_0x343050){const _0x2f9ddb=_0x5972b3;var _0x376db5;const _0x522b48=this[_0x2f9ddb(0xf2)][_0x2f9ddb(0x2c9)]('subunit');if(!_0x522b48||!_0x343050[_0x2f9ddb(0x24e)](_0x522b48)){const _0x1bbcf0=_0x343050[_0x2f9ddb(0x2ca)]()[0x0],_0x31d980=_0x343050[_0x2f9ddb(0x24e)](_0x1bbcf0);if(!_0x31d980)return;this['_updateURLWithCurrentState'](_0x31d980,!0x0),await this[_0x2f9ddb(0x17f)]['executeCommand'](_0x762c7b[_0x2f9ddb(0xe3)]['id'],{'unitId':_0x343050['getUnitId'](),'subUnitId':_0x1bbcf0});return;}((_0x376db5=_0x343050[_0x2f9ddb(0x30e)]())==null?void 0x0:_0x376db5[_0x2f9ddb(0xd3)]())!==_0x522b48&&await this[_0x2f9ddb(0x17f)][_0x2f9ddb(0xb4)](_0x762c7b['SetWorksheetActivateCommand']['id'],{'unitId':_0x343050[_0x2f9ddb(0x18c)](),'subUnitId':_0x522b48});}},_0x4e86fa[_0x5972b3(0x320)]=_0xfe297d([_0x368409(0x0,_0x32bcf8),_0x368409(0x1,_0x34ebd1[_0x5972b3(0x188)]),_0x368409(0x2,_0x34ebd1[_0x5972b3(0xb3)]),_0x368409(0x3,_0x34ebd1[_0x5972b3(0x24b)](_0x3a2a7b[_0x5972b3(0x2ed)])),_0x368409(0x4,_0x34ebd1[_0x5972b3(0x158)](_0x2f5ca0[_0x5972b3(0x312)]))],_0x4e86fa['CollaborationDataLoaderController']);var _0x655f15=Object['getOwnPropertyDescriptor'],_0xfa5406=(_0x4b06ec,_0x119aa5,_0x3eddb0,_0x2479af)=>{const _0x44ccde=_0x5972b3;for(var _0x1d08f9=_0x2479af>0x1?void 0x0:_0x2479af?_0x655f15(_0x119aa5,_0x3eddb0):_0x119aa5,_0xa2450c=_0x4b06ec[_0x44ccde(0x22e)]-0x1,_0x191ca2;_0xa2450c>=0x0;_0xa2450c--)(_0x191ca2=_0x4b06ec[_0xa2450c])&&(_0x1d08f9=_0x191ca2(_0x1d08f9)||_0x1d08f9);return _0x1d08f9;},_0x20abdd=(_0x4f190e,_0x22ccf0)=>(_0x176195,_0x591719)=>_0x22ccf0(_0x176195,_0x591719,_0x4f190e);let _0xc4af03=class{constructor(_0x1c830a,_0x51d99e,_0x10cfab){const _0x185a5a=_0x5972b3;this['_injector']=_0x1c830a,this['_transformService']=_0x51d99e,this[_0x185a5a(0x175)]=_0x10cfab;}[_0x5972b3(0x338)](_0x11956a){const _0x46a0b4=_0x5972b3;this['_transformUndoRedoStack'](_0x11956a),this[_0x46a0b4(0x2ea)](_0x11956a);}[_0x5972b3(0x229)](_0x3a49b5){const _0x228a44=_0x5972b3,{unitID:_0x12b057}=_0x3a49b5,_0x173142=this['_renderManagerService'][_0x228a44(0xdc)](_0x12b057)['with'](_0x277641[_0x228a44(0x19c)]),{redoCache:_0x599302}=_0x173142[_0x228a44(0x288)]();if(_0x599302[_0x228a44(0x22e)]===0x0)return _0x3a49b5;let _0x4bcc09=_0x34ebd1['Tools'][_0x228a44(0x277)](_0x3a49b5[_0x228a44(0x187)][0x0]);for(let _0xc5d2bb=0x0;_0xc5d2bb<_0x599302[_0x228a44(0x22e)];_0xc5d2bb++){const _0x53be6a={'id':'doc.mutation.rich-text-editing','params':{..._0x599302[_0xc5d2bb]}},_0x455d1f=this[_0x228a44(0xd8)][_0x228a44(0x315)](_0x4bcc09,_0x53be6a,!0x1);if(_0x26da06[_0x228a44(0xf4)](_0x455d1f))throw _0x455d1f[_0x228a44(0x1fb)];_0x4bcc09=_0x455d1f[_0x228a44(0x253)];}return{..._0x34ebd1[_0x228a44(0x309)][_0x228a44(0x277)](_0x3a49b5),'mutations':[_0x4bcc09]};}[_0x5972b3(0x161)](_0x2de928){const _0x4731b6=_0x5972b3,{unitID:_0x5a732a}=_0x2de928,_0x5355af=this[_0x4731b6(0x175)][_0x4731b6(0xdc)](_0x5a732a)[_0x4731b6(0x283)](_0x277641[_0x4731b6(0x19c)]),{undoCache:_0x2c88b5,redoCache:_0x4832e7}=_0x5355af[_0x4731b6(0x288)]();if(_0x2c88b5[_0x4731b6(0x22e)]===0x0||_0x4832e7['length']===0x0)return;const _0x599c1c=[],_0x2ecc33=[];let _0x1c352c=_0x34ebd1[_0x4731b6(0x309)][_0x4731b6(0x277)](_0x2de928[_0x4731b6(0x187)][0x0]),_0x55d5f0=_0x34ebd1['Tools']['deepClone'](_0x2de928['mutations'][0x0]);for(let _0x46668d=_0x2c88b5[_0x4731b6(0x22e)]-0x1;_0x46668d>=0x0;_0x46668d--){const _0x4c4d72={'id':_0x4731b6(0x16e),'params':{..._0x2c88b5[_0x46668d]}},_0x3ba29a={'id':_0x4731b6(0x16e),'params':{..._0x4832e7[_0x46668d]}},_0xd3e2de=this[_0x4731b6(0xd8)]['transformMutation'](_0x1c352c,_0x4c4d72,!0x1),_0x4ac25c=this[_0x4731b6(0xd8)]['transformMutation'](_0x55d5f0,_0x3ba29a,!0x1);if(_0x26da06['isTransformMutationFailure'](_0xd3e2de))throw _0xd3e2de[_0x4731b6(0x1fb)];if(_0x26da06[_0x4731b6(0xf4)](_0x4ac25c))throw _0x4ac25c[_0x4731b6(0x1fb)];_0x599c1c[_0x4731b6(0x2c0)](_0xd3e2de[_0x4731b6(0x328)][_0x4731b6(0x33c)]),_0x2ecc33[_0x4731b6(0x2c0)](_0x4ac25c['m2Prime']['params']),_0x1c352c=_0xd3e2de['m1Prime'],_0x55d5f0=_0x4ac25c[_0x4731b6(0x253)];}_0x5355af[_0x4731b6(0x313)]({'undoCache':_0x599c1c,'redoCache':_0x2ecc33});}[_0x5972b3(0x2ea)](_0x3e194d){const _0x3bc925=_0x5972b3,{unitID:_0x4f676d}=_0x3e194d,_0x1df058=this[_0x3bc925(0x175)][_0x3bc925(0xdc)](_0x4f676d)[_0x3bc925(0x283)](_0x277641[_0x3bc925(0x19c)]),_0x1017f8=_0x1df058['getActiveRange']();if(_0x1017f8==null)return;const _0x2958f7=[{'id':_0x3bc925(0x16e),'params':{'unitId':_0x3e194d[_0x3bc925(0xf1)],'actions':null,'textRanges':[_0x1017f8]}}],_0x452b61=this[_0x3bc925(0xd8)]['transformMutationsWithChangeset'](_0x3e194d,_0x2958f7);if(!_0x26da06[_0x3bc925(0xdd)](_0x452b61))throw _0x452b61[_0x3bc925(0x1fb)];const _0x2fb690=_0x452b61[_0x3bc925(0x328)][0x0][_0x3bc925(0x33c)][_0x3bc925(0x291)];Array['isArray'](_0x2fb690)&&_0x2fb690[_0x3bc925(0x22e)]&&_0x1df058[_0x3bc925(0x200)](_0x2fb690[0x0]);}};_0xc4af03=_0xfa5406([_0x20abdd(0x0,_0x34ebd1[_0x5972b3(0x24b)](_0x34ebd1[_0x5972b3(0x215)])),_0x20abdd(0x1,_0x26da06['ITransformService']),_0x20abdd(0x2,_0x25b909[_0x5972b3(0x16c)])],_0xc4af03);var _0x3d2a6f=Object[_0x5972b3(0x27e)],_0x4271e5=(_0x206283,_0x5ca058,_0xc9335f,_0x38111e)=>{const _0x3a6cf9=_0x5972b3;for(var _0xadd718=_0x38111e>0x1?void 0x0:_0x38111e?_0x3d2a6f(_0x5ca058,_0xc9335f):_0x5ca058,_0x68856a=_0x206283[_0x3a6cf9(0x22e)]-0x1,_0x3ca6b9;_0x68856a>=0x0;_0x68856a--)(_0x3ca6b9=_0x206283[_0x68856a])&&(_0xadd718=_0x3ca6b9(_0xadd718)||_0xadd718);return _0xadd718;},_0x449f00=(_0x493e1d,_0x9bd41f)=>(_0x27bc46,_0x12525f)=>_0x9bd41f(_0x27bc46,_0x12525f,_0x493e1d);let _0x52938b=class{constructor(_0x47ce55,_0x5c723c,_0xf3df8a){const _0x440eec=_0x5972b3;this[_0x440eec(0x11b)]=_0x47ce55,this['_transformService']=_0x5c723c,this[_0x440eec(0x1b3)]=_0xf3df8a;}[_0x5972b3(0x1b7)](_0x1128b9){const _0x5d460a=_0x5972b3;this[_0x5d460a(0x251)](_0x1128b9);}[_0x5972b3(0x229)](_0x331fe0){const _0xa66ea7=_0x5972b3,{unitID:_0x42b3cd}=_0x331fe0,{collaboration:_0x3225b7}=this[_0xa66ea7(0x1b3)][_0xa66ea7(0xc5)](_0x42b3cd);if(_0x3225b7[_0xa66ea7(0x22e)]===0x0)return _0x331fe0;let _0x1b8172=_0x34ebd1[_0xa66ea7(0x309)]['deepClone'](_0x331fe0[_0xa66ea7(0x187)][0x0]);for(let _0x146e55=0x0;_0x146e55<_0x3225b7['length'];_0x146e55++){const _0x2cad41={'id':_0xa66ea7(0x16e),'params':{'unitId':_0x3225b7[_0x146e55][_0xa66ea7(0x25a)],..._0x3225b7[_0x146e55][_0xa66ea7(0x2df)]}},_0x4ac722=this[_0xa66ea7(0xd8)][_0xa66ea7(0x315)](_0x1b8172,_0x2cad41,!0x1);if(_0x26da06['isTransformMutationFailure'](_0x4ac722))throw _0x4ac722['error'];_0x1b8172=_0x4ac722['m1Prime'];}return{..._0x34ebd1['Tools'][_0xa66ea7(0x277)](_0x331fe0),'mutations':[_0x1b8172]};}[_0x5972b3(0x251)](_0x2835d9){const _0x2a55d0=_0x5972b3,{unitID:_0x4fa283}=_0x2835d9,{history:_0x44f79e,collaboration:_0x292278}=this[_0x2a55d0(0x1b3)][_0x2a55d0(0xc5)](_0x4fa283);if(_0x44f79e['length']===0x0&&_0x292278[_0x2a55d0(0x22e)]===0x0)return;const _0x30934e=[],_0x1e0c51=[];let _0x5d141d=_0x34ebd1[_0x2a55d0(0x309)][_0x2a55d0(0x277)](_0x2835d9[_0x2a55d0(0x187)][0x0]),_0x5f21ed=_0x34ebd1[_0x2a55d0(0x309)]['deepClone'](_0x2835d9[_0x2a55d0(0x187)][0x0]);for(let _0x2a1e55=_0x44f79e[_0x2a55d0(0x22e)]-0x1;_0x2a1e55>=0x0;_0x2a1e55--){const _0x2b453d={'id':_0x2a55d0(0x16e),'params':{'unitId':_0x44f79e[_0x2a1e55][_0x2a55d0(0x25a)],..._0x44f79e[_0x2a1e55][_0x2a55d0(0x24d)]}},_0x5760e6={'id':_0x2a55d0(0x16e),'params':{'unitId':_0x44f79e[_0x2a1e55]['unitId'],..._0x44f79e[_0x2a1e55][_0x2a55d0(0x2df)]}},_0xa5c206=this[_0x2a55d0(0xd8)][_0x2a55d0(0x315)](_0x5d141d,_0x2b453d,!0x1),_0x4dbd9b=this[_0x2a55d0(0xd8)][_0x2a55d0(0x315)](_0x5f21ed,_0x5760e6,!0x1);if(_0x26da06[_0x2a55d0(0xf4)](_0xa5c206))throw _0xa5c206['error'];if(_0x26da06[_0x2a55d0(0xf4)](_0x4dbd9b))throw _0x4dbd9b[_0x2a55d0(0x1fb)];_0x30934e[_0x2a55d0(0x2c0)]({..._0x44f79e[_0x2a1e55],'undoState':_0xa5c206[_0x2a55d0(0x328)]['params'],'redoState':_0x4dbd9b[_0x2a55d0(0x328)][_0x2a55d0(0x33c)]}),_0x5d141d=_0xa5c206['m1Prime'],_0x5f21ed=_0x4dbd9b[_0x2a55d0(0x253)];}_0x5d141d=_0x34ebd1[_0x2a55d0(0x309)]['deepClone'](_0x2835d9[_0x2a55d0(0x187)][0x0]),_0x5f21ed=_0x34ebd1[_0x2a55d0(0x309)][_0x2a55d0(0x277)](_0x2835d9[_0x2a55d0(0x187)][0x0]);for(let _0x5a842e=_0x292278['length']-0x1;_0x5a842e>=0x0;_0x5a842e--){const _0x30dead={'id':_0x2a55d0(0x16e),'params':{'unitId':_0x292278[_0x5a842e][_0x2a55d0(0x25a)],..._0x292278[_0x5a842e][_0x2a55d0(0x24d)]}},_0x2de789={'id':_0x2a55d0(0x16e),'params':{'unitId':_0x292278[_0x5a842e][_0x2a55d0(0x25a)],..._0x292278[_0x5a842e][_0x2a55d0(0x2df)]}},_0x3bea9b=this['_transformService']['transformMutation'](_0x5d141d,_0x30dead,!0x1),_0x5f1393=this[_0x2a55d0(0xd8)][_0x2a55d0(0x315)](_0x5f21ed,_0x2de789,!0x1);if(_0x26da06['isTransformMutationFailure'](_0x3bea9b))throw _0x3bea9b[_0x2a55d0(0x1fb)];if(_0x26da06[_0x2a55d0(0xf4)](_0x5f1393))throw _0x5f1393[_0x2a55d0(0x1fb)];_0x1e0c51[_0x2a55d0(0x2c0)]({..._0x292278[_0x5a842e],'undoState':_0x3bea9b[_0x2a55d0(0x328)][_0x2a55d0(0x33c)],'redoState':_0x5f1393[_0x2a55d0(0x328)][_0x2a55d0(0x33c)]}),_0x5d141d=_0x3bea9b[_0x2a55d0(0x253)],_0x5f21ed=_0x5f1393['m1Prime'];}this['_docStateChangeManagerService']['setStateCache'](_0x4fa283,{'history':_0x30934e,'collaboration':_0x1e0c51});}};_0x52938b=_0x4271e5([_0x449f00(0x0,_0x34ebd1[_0x5972b3(0x24b)](_0x34ebd1[_0x5972b3(0x215)])),_0x449f00(0x1,_0x26da06[_0x5972b3(0x2b6)]),_0x449f00(0x2,_0x34ebd1['Inject'](_0x277641[_0x5972b3(0x18e)]))],_0x52938b);var _0x1a66f4=Object[_0x5972b3(0x27e)],_0x3d788c=(_0x12ee6a,_0x54ea92,_0x247978,_0x47f96c)=>{for(var _0x3e956b=_0x47f96c>0x1?void 0x0:_0x47f96c?_0x1a66f4(_0x54ea92,_0x247978):_0x54ea92,_0xac4479=_0x12ee6a['length']-0x1,_0x31c4a1;_0xac4479>=0x0;_0xac4479--)(_0x31c4a1=_0x12ee6a[_0xac4479])&&(_0x3e956b=_0x31c4a1(_0x3e956b)||_0x3e956b);return _0x3e956b;},_0x599786=(_0x3581aa,_0x47a144)=>(_0x3b8199,_0x4bbbb8)=>_0x47a144(_0x3b8199,_0x4bbbb8,_0x3581aa);let _0x1f2ba9=class{constructor(_0x4ae8ce,_0x28ce6c){const _0x437a34=_0x5972b3;this[_0x437a34(0x11b)]=_0x4ae8ce,this['_transformService']=_0x28ce6c;}[_0x5972b3(0x156)](_0x59dee9){const _0x19b1f9=_0x5972b3;var _0x5959ec;const _0x288395=this['_injector']['get'](_0x14e34b[_0x19b1f9(0x337)]),_0x9f203=(_0x5959ec=_0x288395['getDocRanges']())!=null?_0x5959ec:[];if(_0x9f203[_0x19b1f9(0x22e)]===0x0)return;const _0x109cb2=_0x59dee9['unitID'],_0x48ba23=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x109cb2,'actions':null,'textRanges':_0x9f203}}],_0x465652=this['_transformService'][_0x19b1f9(0x1a7)](_0x59dee9,_0x48ba23);if(!_0x26da06[_0x19b1f9(0xdd)](_0x465652))throw _0x465652[_0x19b1f9(0x1fb)];const _0x18323a=_0x465652[_0x19b1f9(0x328)][0x0][_0x19b1f9(0x33c)][_0x19b1f9(0x291)];Array['isArray'](_0x18323a)&&_0x18323a[_0x19b1f9(0x22e)]&&_0x288395[_0x19b1f9(0x264)](_0x18323a,{'unitId':_0x109cb2,'subUnitId':_0x109cb2},!0x1);}};_0x1f2ba9=_0x3d788c([_0x599786(0x0,_0x34ebd1[_0x5972b3(0x24b)](_0x34ebd1[_0x5972b3(0x215)])),_0x599786(0x1,_0x26da06[_0x5972b3(0x2b6)])],_0x1f2ba9);var _0x40dc63=Object[_0x5972b3(0x27e)],_0x1f83ff=(_0x31628a,_0x5679ee,_0x7d83e2,_0x3e9d03)=>{const _0xfaa16a=_0x5972b3;for(var _0x450938=_0x3e9d03>0x1?void 0x0:_0x3e9d03?_0x40dc63(_0x5679ee,_0x7d83e2):_0x5679ee,_0x57394b=_0x31628a[_0xfaa16a(0x22e)]-0x1,_0x33acdd;_0x57394b>=0x0;_0x57394b--)(_0x33acdd=_0x31628a[_0x57394b])&&(_0x450938=_0x33acdd(_0x450938)||_0x450938);return _0x450938;},_0x375209=(_0x255c08,_0x54b5de)=>(_0x9c6d,_0x12a333)=>_0x54b5de(_0x9c6d,_0x12a333,_0x255c08);let _0x2a5c91=class extends _0x34ebd1[_0x5972b3(0x15e)]{constructor(_0x43324b,_0x7cd8e4,_0x240e3f,_0x2636e0,_0xd17386,_0x2f7427,_0x109557,_0x45dc47){const _0x1325d6=_0x5972b3;super(),_0x47e648(this,'_status$',new _0x3dc992[(_0x1325d6(0x1ce))](_0x3a2a7b[_0x1325d6(0x19f)]['NOT_COLLAB'])),(this[_0x1325d6(0x1b3)]=_0x43324b,this[_0x1325d6(0x299)]=_0x7cd8e4,this[_0x1325d6(0x33d)]=_0x240e3f,this[_0x1325d6(0x26f)]=_0x2636e0,this[_0x1325d6(0x186)]=_0xd17386,this[_0x1325d6(0x216)]=_0x2f7427,this['_messageService']=_0x109557,this[_0x1325d6(0xb8)]=_0x45dc47,this[_0x1325d6(0x335)]());}[_0x5972b3(0x335)](){const _0x285e7a=_0x5972b3;this[_0x285e7a(0xab)](this[_0x285e7a(0x299)][_0x285e7a(0x295)]['subscribe'](_0x13e58=>{const _0x3edfab=_0x285e7a,_0x1dde03=this['_docStateChangeManagerService'][_0x3edfab(0xf9)][_0x3edfab(0x1a1)](_0x3bf657=>{const _0x27cc25=_0x3edfab;if(_0x3bf657==null)return;const {unitId:_0x4f0669,redoState:_0x261fec,commandId:_0xdb4ad7}=_0x3bf657;if(_0x4f0669!==_0x13e58['unitID'])return;const _0x7a68d5={'id':_0xdb4ad7,'type':_0x34ebd1['CommandType']['MUTATION'],'params':{'unitId':_0x4f0669,'actions':_0x261fec[_0x27cc25(0x1f9)],'textRanges':null}};_0x13e58[_0x27cc25(0x2b4)](_0x7a68d5);});if(_0x13e58[_0x3edfab(0xab)](_0x1dde03),_0x13e58 instanceof _0x3a2a7b[_0x3edfab(0x12b)]){const _0x4fe79a={'onTransformIME':_0x1c410c=>this[_0x3edfab(0x33d)][_0x3edfab(0x338)](_0x1c410c),'onTransformState':_0x240b01=>this[_0x3edfab(0x26f)][_0x3edfab(0x1b7)](_0x240b01),'onTransformSelections':_0x54c65d=>this[_0x3edfab(0x186)][_0x3edfab(0x156)](_0x54c65d),'onSyncEditingCollabCursor':_0x50138d=>this[_0x3edfab(0x216)][_0x3edfab(0x278)](_0x50138d),'onTransformRemoteChangesetByIMECache':_0x3c3106=>this['_docTransformIMECacheService']['transformRemoteChangeset'](_0x3c3106),'onTransformRemoteChangesetByStateCache':_0x4ad0fa=>this[_0x3edfab(0x26f)][_0x3edfab(0x229)](_0x4ad0fa)};_0x13e58['addHandlerCallback'](_0x4fe79a);}}));}};_0x2a5c91=_0x1f83ff([_0x375209(0x0,_0x34ebd1['Inject'](_0x277641[_0x5972b3(0x18e)])),_0x375209(0x1,_0x34ebd1[_0x5972b3(0x24b)](_0x3a2a7b[_0x5972b3(0x248)])),_0x375209(0x2,_0x34ebd1[_0x5972b3(0x24b)](_0xc4af03)),_0x375209(0x3,_0x34ebd1[_0x5972b3(0x24b)](_0x52938b)),_0x375209(0x4,_0x34ebd1[_0x5972b3(0x24b)](_0x1f2ba9)),_0x375209(0x5,_0x34ebd1['Inject'](_0x1ece76)),_0x375209(0x6,_0x41e240[_0x5972b3(0x113)]),_0x375209(0x7,_0x34ebd1[_0x5972b3(0x24b)](_0x34ebd1['LocaleService']))],_0x2a5c91);var _0x4c9a36=Object[_0x5972b3(0x27e)],_0x17b01f=(_0x3107f2,_0x46a95f,_0x336f34,_0x15a9b9)=>{const _0x110aa4=_0x5972b3;for(var _0x449fd9=_0x15a9b9>0x1?void 0x0:_0x15a9b9?_0x4c9a36(_0x46a95f,_0x336f34):_0x46a95f,_0x5ed1d4=_0x3107f2[_0x110aa4(0x22e)]-0x1,_0x536f0d;_0x5ed1d4>=0x0;_0x5ed1d4--)(_0x536f0d=_0x3107f2[_0x5ed1d4])&&(_0x449fd9=_0x536f0d(_0x449fd9)||_0x449fd9);return _0x449fd9;},_0x236dd2=(_0x2c88e,_0x117f7a)=>(_0x5297d4,_0x5eaf1a)=>_0x117f7a(_0x5297d4,_0x5eaf1a,_0x2c88e);let _0x386666=class extends _0x34ebd1[_0x5972b3(0x15e)]{constructor(_0x16c506,_0x4fb1e6,_0x231c80){const _0x1e5450=_0x5972b3;super(),_0x47e648(this,_0x1e5450(0x1e0),new Map()),_0x47e648(this,_0x1e5450(0x2c8),new Map()),_0x47e648(this,_0x1e5450(0x178),!0x1),(this[_0x1e5450(0x1cb)]=_0x16c506,this[_0x1e5450(0x13f)]=_0x4fb1e6,this['_revisionService']=_0x231c80);}['disableLocalCache'](){const _0x3a389f=_0x5972b3;this[_0x3a389f(0x178)]=!0x0;}[_0x5972b3(0x225)](){const _0x45b5f2=_0x5972b3;this[_0x45b5f2(0x178)]=!0x1;}get[_0x5972b3(0xe6)](){return this['_saveTaskMap'];}[_0x5972b3(0x31d)](){const _0x40e958=_0x5972b3;this[_0x40e958(0x21f)]()[_0x40e958(0x1e2)](()=>super[_0x40e958(0x31d)]());}async[_0x5972b3(0x2a2)](_0x490d46){const _0x19a801=_0x5972b3;return this[_0x19a801(0x178)]?null:this[_0x19a801(0x13f)][_0x19a801(0x28f)](_0x3a2a7b[_0x19a801(0xcd)](_0x490d46));}async[_0x5972b3(0xb2)](_0x30ef1d,_0xcf7879){const _0x27543f=_0x5972b3;return!!this[_0x27543f(0x13f)][_0x27543f(0xbf)](_0x30ef1d,_0xcf7879);}[_0x5972b3(0x13c)](_0x2d740d,_0x55971c,_0x4bd72c,_0x269e09){const _0x3dc780=_0x5972b3,_0x40975c=this[_0x3dc780(0x17b)][_0x3dc780(0x138)](_0x2d740d);this['_cachedData'][_0x3dc780(0x241)](_0x2d740d,{'unitID':_0x2d740d,'type':_0x55971c,'awaitingChangeset':_0x4bd72c,'mutations':_0x269e09,'rev':_0x40975c}),this[_0x3dc780(0x2c8)][_0x3dc780(0x2c3)](_0x2d740d)||this[_0x3dc780(0x1db)](_0x2d740d);}[_0x5972b3(0x1db)](_0x3567ce){const _0x29442f=_0x5972b3,_0xd9f9f9=this[_0x29442f(0x15d)]();_0xd9f9f9===0x0?this[_0x29442f(0x325)](_0x3567ce):this[_0x29442f(0x2c8)][_0x29442f(0x241)](_0x3567ce,setTimeout(()=>this['_saveCache'](_0x3567ce),_0xd9f9f9));}[_0x5972b3(0x15d)](){const _0x428689=_0x5972b3;var _0x2b65c8;return(_0x2b65c8=this[_0x428689(0x1cb)][_0x428689(0x180)](_0x3a2a7b['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x2b65c8:_0x3a2a7b[_0x428689(0x128)];}[_0x5972b3(0x325)](_0x3ebbba){const _0x514661=_0x5972b3,_0x3250a7=this[_0x514661(0x2c8)][_0x514661(0x1d9)](_0x3ebbba);return _0x3250a7!==void 0x0&&window[_0x514661(0x2d4)](_0x3250a7),this[_0x514661(0x13f)][_0x514661(0xbf)](_0x3a2a7b[_0x514661(0xcd)](_0x3ebbba),this['_cachedData']['get'](_0x3ebbba))[_0x514661(0x1e2)](()=>this[_0x514661(0x2c8)][_0x514661(0x2e8)](_0x3ebbba));}async[_0x5972b3(0x21f)](){const _0x436d9b=_0x5972b3,_0x2aa1e1=[];this[_0x436d9b(0x2c8)][_0x436d9b(0x157)]((_0xbc7236,_0xf8b983)=>{const _0x1020d6=_0x436d9b;window[_0x1020d6(0x2d4)](_0xbc7236),_0x2aa1e1[_0x1020d6(0x154)](this[_0x1020d6(0x325)](_0xf8b983)[_0x1020d6(0x1e2)](()=>{const _0x150072=_0x1020d6;this[_0x150072(0x2c8)][_0x150072(0x2e8)](_0xf8b983);}));}),await Promise[_0x436d9b(0x1a3)](_0x2aa1e1);}};_0x386666=_0x17b01f([_0x236dd2(0x0,_0x34ebd1[_0x5972b3(0x29d)]),_0x236dd2(0x1,_0x34ebd1[_0x5972b3(0xc6)]),_0x236dd2(0x2,_0x34ebd1[_0x5972b3(0x24b)](_0x26da06[_0x5972b3(0x2a9)]))],_0x386666);class _0x3d4b0b extends _0x34ebd1[_0x5972b3(0x2af)]{constructor(){const _0x1f9258=_0x5972b3;super(),_0x47e648(this,_0x1f9258(0x296)),this[_0x1f9258(0x296)]=_0x3dc992[_0x1f9258(0x1fd)](window,_0x1f9258(0x311))[_0x1f9258(0x1f0)](_0x3dc992[_0x1f9258(0x1a0)](this[_0x1f9258(0x177)]),_0x3dc992['shareReplay'](0x1),_0x3dc992[_0x1f9258(0xf5)](void 0x0));}[_0x5972b3(0xfa)](_0x4909cc,_0x48652b,_0x44f2bb=!0x1){const _0x2ed908=_0x5972b3,_0x1470fb=new URL(window['location'][_0x2ed908(0x2c2)]);_0x1470fb[_0x2ed908(0xc7)][_0x2ed908(0x241)](_0x4909cc,_0x48652b),_0x44f2bb?window[_0x2ed908(0x1ac)][_0x2ed908(0x2ae)]('','',_0x1470fb[_0x2ed908(0x182)]()):window[_0x2ed908(0x1ac)][_0x2ed908(0x32e)]('','',_0x1470fb['toString']());}[_0x5972b3(0x114)](_0x17e4f8,_0x622fe3=!0x1){const _0x4dfc8b=_0x5972b3,_0x7864aa=new URL(window['location'][_0x4dfc8b(0x2c2)]);_0x7864aa[_0x4dfc8b(0xc7)][_0x4dfc8b(0x2e8)](_0x17e4f8),_0x622fe3?window['history'][_0x4dfc8b(0x2ae)]('','',_0x7864aa['toString']()):window[_0x4dfc8b(0x1ac)][_0x4dfc8b(0x32e)]('','',_0x7864aa[_0x4dfc8b(0x182)]());}['getParam'](_0x3bb216){const _0x30171c=_0x5972b3;var _0x5191e3;return(_0x5191e3=new URL(window['location'][_0x30171c(0x2c2)])[_0x30171c(0xc7)]['get'](_0x3bb216))!=null?_0x5191e3:void 0x0;}}var _0x59c0ca=Object[_0x5972b3(0x27f)],_0x1af3ea=Object[_0x5972b3(0x27e)],_0xf7e15c=(_0x1fe7b8,_0x48e4ca,_0x392281)=>_0x48e4ca in _0x1fe7b8?_0x59c0ca(_0x1fe7b8,_0x48e4ca,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x392281}):_0x1fe7b8[_0x48e4ca]=_0x392281,_0x36d9d9=(_0x195f2a,_0x5a7674,_0x30b7c8,_0x4052ee)=>{const _0x1bb6e1=_0x5972b3;for(var _0x2e026c=_0x4052ee>0x1?void 0x0:_0x4052ee?_0x1af3ea(_0x5a7674,_0x30b7c8):_0x5a7674,_0x40db0c=_0x195f2a[_0x1bb6e1(0x22e)]-0x1,_0x196315;_0x40db0c>=0x0;_0x40db0c--)(_0x196315=_0x195f2a[_0x40db0c])&&(_0x2e026c=_0x196315(_0x2e026c)||_0x2e026c);return _0x2e026c;},_0x4e2a92=(_0x49d6e8,_0x20942a)=>(_0x2c6364,_0xc09b48)=>_0x20942a(_0x2c6364,_0xc09b48,_0x49d6e8),_0xf7d88e=(_0x2949a6,_0x36d5dd,_0x5ac193)=>_0xf7e15c(_0x2949a6,_0x36d5dd+'',_0x5ac193);const _0x313977='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x4e86fa[_0x5972b3(0x1c0)]=class extends _0x34ebd1[_0x5972b3(0xe5)]{constructor(_0x48dde6=_0x4d53cb,_0x504b04,_0x3727c0,_0xd86fcc){const _0x574965=_0x5972b3;super(),this[_0x574965(0x321)]=_0x48dde6,this[_0x574965(0x175)]=_0x504b04,this[_0x574965(0x11b)]=_0x3727c0,this[_0x574965(0x1cb)]=_0xd86fcc;const {..._0x560b72}=_0x34ebd1['merge']({},_0x4d53cb,this['_config']);this[_0x574965(0x1cb)][_0x574965(0xb9)](_0x2276f7,_0x560b72);}[_0x5972b3(0x310)](){const _0x3c11c9=_0x5972b3;this[_0x3c11c9(0xd9)](),this[_0x3c11c9(0x10c)]();}[_0x5972b3(0x13a)](){const _0x2e446f=_0x5972b3;this[_0x2e446f(0x28a)]();}[_0x5972b3(0xd9)](){const _0x101ebc=_0x5972b3;var _0xa7063e;const _0xad25d8=[[_0x512efc],[_0x1f2ba9],[_0xc4af03],[_0x52938b],[_0x1ece76],[_0x32bcf8,{'useClass':_0x3d4b0b}],[_0x4ece0e[_0x101ebc(0x20d)],{'useClass':_0x4ece0e[_0x101ebc(0x323)]}],[_0x3a2a7b[_0x101ebc(0xbe)],{'useClass':_0x386666}],[_0x4e86fa[_0x101ebc(0x2cb)]],[_0x2a5c91],[_0x581134],[_0x2debf7],[_0x211ac6],[_0x4e86fa['CollaborationDataLoaderController']]];_0x34ebd1[_0x101ebc(0xe9)](this['_injector'],_0x34ebd1['mergeOverrideWithDependencies'](_0xad25d8,(_0xa7063e=this[_0x101ebc(0x321)])==null?void 0x0:_0xa7063e[_0x101ebc(0x1ea)]));}[_0x5972b3(0x28a)](){const _0x5bd994=_0x5972b3;this[_0x5bd994(0xab)](this[_0x5bd994(0x175)][_0x5bd994(0x265)](_0x34ebd1[_0x5bd994(0x12d)][_0x5bd994(0x1f5)],[_0x38f847])),this['disposeWithMe'](this[_0x5bd994(0x175)][_0x5bd994(0x265)](_0x34ebd1[_0x5bd994(0x12d)][_0x5bd994(0x170)],[_0x265562]));}[_0x5972b3(0x10c)](){const _0x6080af=_0x5972b3;_0x34ebd1[_0x6080af(0x28b)](this['_injector'],[[_0x2debf7],[_0x4e86fa[_0x6080af(0x2cb)]],[_0x2a5c91],[_0x581134],[_0x4e86fa[_0x6080af(0x320)]]]);}},_0xf7d88e(_0x4e86fa['UniverCollaborationClientUIPlugin'],_0x5972b3(0x150),_0x313977),_0x4e86fa['UniverCollaborationClientUIPlugin']=_0x36d9d9([_0x34ebd1[_0x5972b3(0x19e)](_0x3a2a7b['UniverCollaborationClientPlugin']),_0x4e2a92(0x1,_0x25b909[_0x5972b3(0x16c)]),_0x4e2a92(0x2,_0x34ebd1[_0x5972b3(0x24b)](_0x34ebd1[_0x5972b3(0x215)])),_0x4e2a92(0x3,_0x34ebd1['IConfigService'])],_0x4e86fa[_0x5972b3(0x1c0)]);var _0x531b71=Object[_0x5972b3(0x27e)],_0x2ac438=(_0x33e92d,_0x4e84c3,_0x1f64d8,_0x46a18f)=>{const _0x3d1132=_0x5972b3;for(var _0x3d7caa=_0x46a18f>0x1?void 0x0:_0x46a18f?_0x531b71(_0x4e84c3,_0x1f64d8):_0x4e84c3,_0x2cfd16=_0x33e92d[_0x3d1132(0x22e)]-0x1,_0x3a7bc3;_0x2cfd16>=0x0;_0x2cfd16--)(_0x3a7bc3=_0x33e92d[_0x2cfd16])&&(_0x3d7caa=_0x3a7bc3(_0x3d7caa)||_0x3d7caa);return _0x3d7caa;},_0x268470=(_0x59e959,_0xe563b2)=>(_0x1fe63d,_0x335639)=>_0xe563b2(_0x1fe63d,_0x335639,_0x59e959);_0x4e86fa[_0x5972b3(0x2fa)]=class extends _0x3a2a7b[_0x5972b3(0xb5)]{constructor(_0x5cb23f,_0x5ba9ee,_0x469a8c,_0x2bc219,_0x439195){super(_0x5cb23f,_0x5ba9ee,_0x469a8c,_0x2bc219,_0x439195);}async[_0x5972b3(0xd5)](_0x40fd6b){const _0x25646f=_0x5972b3,_0x420d2d=await this['_getSessionTicket'](),_0x56379a=this[_0x25646f(0x307)](_0x40fd6b,_0x420d2d);return this[_0x25646f(0x2ef)](_0x56379a);}[_0x5972b3(0x307)](_0x401821,_0x156829){const _0x333087=_0x5972b3,_0x2e5225=typeof window>'u'?new URL(_0x401821):new URL(_0x401821,window[_0x333087(0x23b)]['origin']);_0x2e5225['searchParams'][_0x333087(0x241)]('sessionTicket',_0x156829);const _0x47bc1c=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x333087(0x23b)][_0x333087(0x2e9)]);return _0x47bc1c[_0x333087(0x1d9)]('runId')&&_0x2e5225[_0x333087(0xc7)][_0x333087(0x241)](_0x333087(0xc2),_0x47bc1c['get'](_0x333087(0xc2))),_0x2e5225[_0x333087(0x182)]();}async[_0x5972b3(0x1bf)](){const _0xad8724=_0x5972b3;var _0x345903,_0x56e78d,_0xc5ef04;const _0x52822b=this['_configService'][_0xad8724(0x180)](_0x3a2a7b[_0xad8724(0x17d)]),_0x74822d=(_0x345903=_0x52822b==null?void 0x0:_0x52822b[_0xad8724(0x27d)])!=null?_0x345903:_0x3a2a7b[_0xad8724(0x2f7)];return(_0xc5ef04=(_0x56e78d=(await this[_0xad8724(0x2f5)][_0xad8724(0x1d9)](_0x74822d,{'headers':{'Content-Type':_0xad8724(0x27b)}}))['body'])==null?void 0x0:_0x56e78d[_0xad8724(0x255)])!=null?_0xc5ef04:'';}},_0x4e86fa[_0x5972b3(0x2fa)]=_0x2ac438([_0x268470(0x0,_0x34ebd1[_0x5972b3(0x24b)](_0x34ebd1['Injector'])),_0x268470(0x1,_0x34ebd1[_0x5972b3(0x24b)](_0x4ece0e[_0x5972b3(0x231)])),_0x268470(0x2,_0x34ebd1[_0x5972b3(0x29d)]),_0x268470(0x3,_0x34ebd1[_0x5972b3(0x188)]),_0x268470(0x4,_0x26da06[_0x5972b3(0x1dd)])],_0x4e86fa[_0x5972b3(0x2fa)]);const _0x2b8f8f=0x7530,_0x794ddb=_0x5972b3(0x141);class _0x17f4ee extends _0x34ebd1['Disposable']{constructor(){const _0x38e6e3=_0x5972b3;super(),_0x47e648(this,_0x38e6e3(0x146),_0x34ebd1[_0x38e6e3(0x116)]()),_0x47e648(this,_0x38e6e3(0x246),new Set()),_0x47e648(this,_0x38e6e3(0x1a8),new Map()),_0x47e648(this,_0x38e6e3(0x199),null),_0x47e648(this,_0x38e6e3(0x2c5),new Map()),_0x47e648(this,_0x38e6e3(0x1b5),new Map()),this[_0x38e6e3(0x273)]();}['dispose'](){const _0x19f309=_0x5972b3;super[_0x19f309(0x31d)](),this['_clearOtherTimers']['forEach']((_0x78b31b,_0x22c28c)=>this[_0x19f309(0x103)](_0x22c28c)),this[_0x19f309(0x199)]&&window['clearInterval'](this[_0x19f309(0x199)]);}[_0x5972b3(0x194)](_0xa41001){const _0x14e526=_0x5972b3;return this['_ensureSubject'](_0xa41001)[_0x14e526(0x1f0)](_0x3dc992[_0x14e526(0x232)]());}[_0x5972b3(0x1aa)](_0x56b199){const _0x5c51c3=_0x5972b3;this[_0x5c51c3(0x246)][_0x5c51c3(0x29b)]===0x0&&this[_0x5c51c3(0x17c)](),this[_0x5c51c3(0x246)][_0x5c51c3(0x340)](_0x56b199),this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x56b199],'isForwarded':!0x1});}[_0x5972b3(0x165)](_0x3574cf){const _0x4040e4=_0x5972b3;this[_0x4040e4(0x246)][_0x4040e4(0x2e8)](_0x3574cf),this[_0x4040e4(0x246)][_0x4040e4(0x29b)]===0x0&&this[_0x4040e4(0x199)]&&window[_0x4040e4(0x209)](this[_0x4040e4(0x199)]);}[_0x5972b3(0x273)](){const _0x4a7adf=_0x5972b3;this[_0x4a7adf(0xab)](_0x34ebd1['toDisposable'](_0x3dc992[_0x4a7adf(0x1fd)](window,'storage')[_0x4a7adf(0x1a1)](_0x5b0ca9=>{const _0x2bebb4=_0x4a7adf;if(_0x5b0ca9['key']!==_0x794ddb||!_0x5b0ca9[_0x2bebb4(0x223)])return;const _0x1bfdf2=JSON['parse'](_0x5b0ca9[_0x2bebb4(0x223)]);this[_0x2bebb4(0x29a)](_0x1bfdf2);}))),window['addEventListener']('unload',()=>this[_0x4a7adf(0x2b8)]({'type':0x1,'memberID':this[_0x4a7adf(0x146)],'unitIDs':Array['from'](this[_0x4a7adf(0x246)])}));}[_0x5972b3(0x29a)](_0xa6954f){const _0x16c952=_0x5972b3;switch(_0xa6954f['type']){case 0x0:this[_0x16c952(0x276)](_0xa6954f);break;case 0x1:this[_0x16c952(0xc0)](_0xa6954f);break;case 0x2:this[_0x16c952(0xf3)](_0xa6954f);break;}}[_0x5972b3(0x276)](_0x3a4932){const _0x223443=_0x5972b3,{unitIDs:_0x169b9d,memberID:_0x412b5a,isForwarded:_0x46e872}=_0x3a4932;_0x169b9d[_0x223443(0x157)](_0x5e41f1=>{const _0x3d2651=_0x223443;if(!_0x46e872&&this[_0x3d2651(0x1a8)][_0x3d2651(0x2c3)](_0x5e41f1)&&this['_ensureSubject'](_0x5e41f1)['next'](_0x3a2a7b[_0x3d2651(0x19b)][_0x3d2651(0x1f3)]),!this[_0x3d2651(0x1a8)][_0x3d2651(0x2c3)](_0x5e41f1)||!this['_unitOnClients']['get'](_0x5e41f1)[_0x3d2651(0x2c3)](_0x412b5a)){const _0x2ce7c9=this[_0x3d2651(0x1a8)][_0x3d2651(0x1d9)](_0x5e41f1)||new Set();_0x2ce7c9[_0x3d2651(0x340)](_0x412b5a),this[_0x3d2651(0x1a8)]['set'](_0x5e41f1,_0x2ce7c9),this['_scheduleClearOtherTimer'](_0x412b5a);}}),_0x46e872||this[_0x223443(0x2b8)]({'type':0x0,'memberID':this[_0x223443(0x146)],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x5972b3(0x185)](_0x1919db){const _0x508c57=_0x5972b3;this['_removeClearOtherTimer'](_0x1919db);const _0x292050=window[_0x508c57(0x324)](()=>{const _0x324bfd=_0x508c57;this[_0x324bfd(0x1a8)][_0x324bfd(0x157)](_0x2dac94=>{const _0x5c4750=_0x324bfd;_0x2dac94[_0x5c4750(0x2e8)](_0x1919db);});},_0x2b8f8f*0x2);this[_0x508c57(0x2c5)][_0x508c57(0x241)](_0x1919db,_0x292050);}['_removeClearOtherTimer'](_0x198e1d){const _0x5c9b10=_0x5972b3;if(this[_0x5c9b10(0x2c5)][_0x5c9b10(0x2c3)](_0x198e1d)){const _0x2aba65=this[_0x5c9b10(0x2c5)][_0x5c9b10(0x1d9)](_0x198e1d);_0x2aba65&&window[_0x5c9b10(0x2d4)](_0x2aba65),this[_0x5c9b10(0x2c5)][_0x5c9b10(0x241)](_0x198e1d,null);}}[_0x5972b3(0xc0)](_0x4312bf){const _0x3e14d8=_0x5972b3,{memberID:_0x3f7bcf,unitIDs:_0x2232e7}=_0x4312bf;_0x2232e7[_0x3e14d8(0x157)](_0x15cf85=>{const _0xfa7893=_0x3e14d8;var _0x7d5c7a;const _0x3b4699=this['_unitOnClients'][_0xfa7893(0x1d9)](_0x15cf85);_0x3b4699&&(_0x3b4699[_0xfa7893(0x2e8)](_0x3f7bcf),(_0x7d5c7a=this['_ensureSubject'](_0x15cf85))==null||_0x7d5c7a[_0xfa7893(0x329)](_0x3b4699[_0xfa7893(0x29b)]===0x0?_0x3a2a7b[_0xfa7893(0x19b)][_0xfa7893(0xfc)]:_0x3a2a7b[_0xfa7893(0x19b)][_0xfa7893(0x1f3)]));}),this[_0x3e14d8(0x103)](_0x3f7bcf);}[_0x5972b3(0xf3)](_0x115504){const _0x43a21c=_0x5972b3;this[_0x43a21c(0x185)](_0x115504[_0x43a21c(0x2d8)]);}[_0x5972b3(0x2b8)](_0x42e680){const _0xdcf8b=_0x5972b3;localStorage[_0xdcf8b(0xbf)](_0x794ddb,JSON['stringify'](_0x42e680));}['_scheduleHeartbeat'](){const _0x2678a5=_0x5972b3;this[_0x2678a5(0x199)]=window['setInterval'](()=>{const _0x14a4ac=_0x2678a5;this['_send']({'type':0x2,'memberID':this[_0x14a4ac(0x146)]});},_0x2b8f8f);}[_0x5972b3(0x204)](_0x5df025){const _0x215fad=_0x5972b3;return this[_0x215fad(0x1b5)][_0x215fad(0x2c3)](_0x5df025)||this[_0x215fad(0x1b5)][_0x215fad(0x241)](_0x5df025,new _0x3dc992['BehaviorSubject'](_0x3a2a7b[_0x215fad(0x19b)][_0x215fad(0xfc)])),this['_unitStatus'][_0x215fad(0x1d9)](_0x5df025);}}var _0x44ff76=(_0x504dfe=>(_0x504dfe[_0x504dfe['UNDEFINED']=0x0]=_0x5972b3(0xe7),_0x504dfe[_0x504dfe['OK']=0x1]='OK',_0x504dfe[_0x504dfe[_0x5972b3(0x1dc)]=0x2]=_0x5972b3(0x1dc),_0x504dfe[_0x504dfe[_0x5972b3(0x137)]=0x3]=_0x5972b3(0x137),_0x504dfe[_0x504dfe['NOT_FOUND']=0x4]=_0x5972b3(0x1ab),_0x504dfe[_0x504dfe['UNAUTHENTICATED']=0x5]=_0x5972b3(0x13b),_0x504dfe[_0x504dfe[_0x5972b3(0xee)]=0x6]=_0x5972b3(0xee),_0x504dfe[_0x504dfe[_0x5972b3(0x129)]=0x7]='INVALID_ARGUMENT',_0x504dfe[_0x504dfe['TOO_MANY_REQUESTS']=0x8]=_0x5972b3(0x10b),_0x504dfe[_0x504dfe[_0x5972b3(0x237)]=0x9]='COMPLETION_FINISHED',_0x504dfe[_0x504dfe['LOGIN_FAILED']=0xa]=_0x5972b3(0xd1),_0x504dfe[_0x504dfe[_0x5972b3(0x301)]=0xb]=_0x5972b3(0x301),_0x504dfe[_0x504dfe['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x5972b3(0x198),_0x504dfe[_0x504dfe[_0x5972b3(0xc9)]=0xd]=_0x5972b3(0xc9),_0x504dfe[_0x504dfe[_0x5972b3(0x19a)]=0xe]=_0x5972b3(0x19a),_0x504dfe[_0x504dfe[_0x5972b3(0x1e7)]=0x1389]=_0x5972b3(0x1e7),_0x504dfe[_0x504dfe[_0x5972b3(0x160)]=0x1771]=_0x5972b3(0x160),_0x504dfe[_0x504dfe[_0x5972b3(0x25c)]=0x1772]='SNAPSHOT_HAS_BEEN_REMOVED',_0x504dfe[_0x504dfe['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x5972b3(0x105),_0x504dfe[_0x504dfe[_0x5972b3(0x18a)]=0x1b59]=_0x5972b3(0x18a),_0x504dfe[_0x504dfe['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x504dfe[_0x504dfe[_0x5972b3(0x33f)]=0x1b5b]=_0x5972b3(0x33f),_0x504dfe[_0x504dfe[_0x5972b3(0x1e6)]=0x1b5c]=_0x5972b3(0x1e6),_0x504dfe[_0x504dfe[_0x5972b3(0x30f)]=0x1b5d]=_0x5972b3(0x30f),_0x504dfe[_0x504dfe[_0x5972b3(0x120)]=0x1f41]=_0x5972b3(0x120),_0x504dfe[_0x504dfe[_0x5972b3(0x1e9)]=0x2329]=_0x5972b3(0x1e9),_0x504dfe[_0x504dfe[_0x5972b3(0x2f8)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x504dfe[_0x504dfe[_0x5972b3(0x1e4)]=0x232b]=_0x5972b3(0x1e4),_0x504dfe[_0x504dfe[_0x5972b3(0x197)]=0x232c]=_0x5972b3(0x197),_0x504dfe[_0x504dfe[_0x5972b3(0x2e6)]=0x232d]=_0x5972b3(0x2e6),_0x504dfe[_0x504dfe[_0x5972b3(0x208)]=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x504dfe[_0x504dfe['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]=_0x5972b3(0x32f),_0x504dfe[_0x504dfe[_0x5972b3(0x26c)]=0x2713]=_0x5972b3(0x26c),_0x504dfe[_0x504dfe[_0x5972b3(0x2f3)]=0x2714]=_0x5972b3(0x2f3),_0x504dfe[_0x504dfe[_0x5972b3(0x2de)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x504dfe[_0x504dfe['YUUMI_ASYNCIO_CANCELLED']=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x504dfe[_0x504dfe['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x504dfe[_0x504dfe[_0x5972b3(0x1e8)]=0x271d]=_0x5972b3(0x1e8),_0x504dfe[_0x504dfe[_0x5972b3(0x2e1)]=0x271e]=_0x5972b3(0x2e1),_0x504dfe[_0x504dfe['YUUMI_AI_RUN_FAILED']=0x271f]='YUUMI_AI_RUN_FAILED',_0x504dfe[_0x504dfe['YUUMI_CONNECTOR_URL_NOT_FOUND']=0x2720]=_0x5972b3(0x300),_0x504dfe[_0x504dfe[_0x5972b3(0x284)]=0x2af9]=_0x5972b3(0x284),_0x504dfe[_0x504dfe[_0x5972b3(0x1d7)]=0x2ee1]=_0x5972b3(0x1d7),_0x504dfe[_0x504dfe['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x504dfe[_0x504dfe[_0x5972b3(0x207)]=0x2ee3]=_0x5972b3(0x207),_0x504dfe[_0x504dfe[_0x5972b3(0x336)]=0x2ee4]='USER_NOT_INVITED_CODE',_0x504dfe[_0x504dfe[_0x5972b3(0x2e2)]=0x2ee5]=_0x5972b3(0x2e2),_0x504dfe[_0x504dfe['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x5972b3(0x2f6),_0x504dfe[_0x504dfe[_0x5972b3(0x314)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x504dfe[_0x504dfe[_0x5972b3(0x2b5)]=0x32cb]=_0x5972b3(0x2b5),_0x504dfe[_0x504dfe['UNRECOGNIZED']=-0x1]=_0x5972b3(0x2fd),_0x504dfe))(_0x44ff76||{}),_0x317463=Object[_0x5972b3(0x27e)],_0xfb0c57=(_0x1125a9,_0x578774,_0x109e86,_0xa772d9)=>{for(var _0x4add65=_0xa772d9>0x1?void 0x0:_0xa772d9?_0x317463(_0x578774,_0x109e86):_0x578774,_0x484d94=_0x1125a9['length']-0x1,_0x32316e;_0x484d94>=0x0;_0x484d94--)(_0x32316e=_0x1125a9[_0x484d94])&&(_0x4add65=_0x32316e(_0x4add65)||_0x4add65);return _0x4add65;},_0x1e652f=(_0xc16ae5,_0x3d6eb9)=>(_0x245096,_0x260387)=>_0x3d6eb9(_0x245096,_0x260387,_0xc16ae5);_0x4e86fa[_0x5972b3(0x2be)]=class extends _0x34ebd1['Disposable']{constructor(_0x599399,_0x4bed40,_0x3db1d3){const _0x1a1550=_0x5972b3;super(),this[_0x1a1550(0x2b7)]=_0x599399,this['_httpService']=_0x4bed40,this[_0x1a1550(0x1cb)]=_0x3db1d3;}async[_0x5972b3(0x18b)](_0xbbcea6,_0x24e60d,_0x4219e6,..._0x59b644){const _0x12c031=_0x5972b3;var _0x128bc2,_0x4f3e15,_0x4e1724,_0x1199fb;const _0x11bd7e=this['_instanceService'][_0x12c031(0x192)]();if(!_0x11bd7e)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x23724e=((_0x128bc2=this[_0x12c031(0x1cb)][_0x12c031(0x180)](_0x3a2a7b['REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY']))!=null?_0x128bc2:_0x3a2a7b[_0x12c031(0x25b)])+'/'+_0xbbcea6+'/run/'+_0x24e60d,_0x13fca5=new URL(window[_0x12c031(0x23b)][_0x12c031(0x2c2)]),_0x35ca2d={'scriptId':_0xbbcea6,'runId':(_0x4f3e15=_0x13fca5[_0x12c031(0xc7)][_0x12c031(0x1d9)](_0x12c031(0xc2)))!=null?_0x4f3e15:'','function':_0x24e60d,'unitId':_0x11bd7e[_0x12c031(0x18c)](),'argsOfFunction':JSON[_0x12c031(0x1d8)](_0x59b644),'invokeId':(_0x4e1724=_0x4219e6['invokeId'])!=null?_0x4e1724:'','executionId':(_0x1199fb=_0x4219e6[_0x12c031(0x22d)])!=null?_0x1199fb:''};try{const _0x1169c7=await this[_0x12c031(0x2f5)]['post'](_0x23724e,{'body':_0x35ca2d});return _0x1169c7['body'][_0x12c031(0x1fb)]&&_0x1169c7[_0x12c031(0x24f)][_0x12c031(0x1fb)]['code']!==_0x44ff76['OK']?'Failed':_0x1169c7['body'][_0x12c031(0x15a)];}catch{return _0x12c031(0x23c);}}},_0x4e86fa[_0x5972b3(0x2be)]=_0xfb0c57([_0x1e652f(0x0,_0x34ebd1['IUniverInstanceService']),_0x1e652f(0x1,_0x34ebd1['Inject'](_0x4ece0e[_0x5972b3(0x231)])),_0x1e652f(0x2,_0x34ebd1[_0x5972b3(0x29d)])],_0x4e86fa[_0x5972b3(0x2be)]),_0x4e86fa[_0x5972b3(0x18d)]=_0x3f0665,_0x4e86fa[_0x5972b3(0xd2)]=_0x32bcf8,_0x4e86fa['SheetCollabCursorShape']=_0x34dc28,_0x4e86fa['WebBrowserSingleActiveUnitService']=_0x17f4ee,_0x4e86fa['WebURLService']=_0x3d4b0b,Object[_0x5972b3(0x27f)](_0x4e86fa,Symbol[_0x5972b3(0x167)],{'value':_0x5972b3(0xc8)});}));
|
|
1
|
+
function _0xe20a(_0x18ebc0,_0x282483){const _0x1e628c=_0x1e62();return _0xe20a=function(_0xe20a70,_0x1c0083){_0xe20a70=_0xe20a70-0xcc;let _0x1b30a2=_0x1e628c[_0xe20a70];return _0x1b30a2;},_0xe20a(_0x18ebc0,_0x282483);}(function(_0x3707fb,_0x13a9ac){const _0x3a3ae7=_0xe20a,_0x148877=_0x3707fb();while(!![]){try{const _0x562857=parseInt(_0x3a3ae7(0x2ad))/0x1*(parseInt(_0x3a3ae7(0x301))/0x2)+-parseInt(_0x3a3ae7(0x2b8))/0x3*(-parseInt(_0x3a3ae7(0x34c))/0x4)+-parseInt(_0x3a3ae7(0x154))/0x5*(parseInt(_0x3a3ae7(0x112))/0x6)+-parseInt(_0x3a3ae7(0x11d))/0x7*(parseInt(_0x3a3ae7(0x1d0))/0x8)+-parseInt(_0x3a3ae7(0x318))/0x9+parseInt(_0x3a3ae7(0x23c))/0xa*(-parseInt(_0x3a3ae7(0x209))/0xb)+parseInt(_0x3a3ae7(0x2f4))/0xc;if(_0x562857===_0x13a9ac)break;else _0x148877['push'](_0x148877['shift']());}catch(_0x1b0626){_0x148877['push'](_0x148877['shift']());}}}(_0x1e62,0x86125),function(_0x29b411,_0x337348){const _0x5ad4c7=_0xe20a;typeof exports=='object'&&typeof module<'u'?_0x337348(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('rxjs'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('@univerjs/sheets'),require('rxjs/operators'),require('@univerjs/sheets-ui'),require('react/jsx-runtime'),require('@univerjs/ui'),require('@univerjs/design'),require('react'),require('@univerjs/rpc')):typeof define==_0x5ad4c7(0x133)&&define[_0x5ad4c7(0x323)]?define([_0x5ad4c7(0x319),_0x5ad4c7(0x113),_0x5ad4c7(0x1a7),_0x5ad4c7(0x1e9),_0x5ad4c7(0x2e5),_0x5ad4c7(0x181),_0x5ad4c7(0x304),_0x5ad4c7(0x292),_0x5ad4c7(0x25e),_0x5ad4c7(0x151),'@univerjs/engine-formula',_0x5ad4c7(0x2f7),'rxjs/operators',_0x5ad4c7(0x17c),_0x5ad4c7(0x2a5),'@univerjs/ui','@univerjs/design','react','@univerjs/rpc'],_0x337348):(_0x29b411=typeof globalThis<'u'?globalThis:_0x29b411||self,_0x337348(_0x29b411[_0x5ad4c7(0x244)]={},_0x29b411[_0x5ad4c7(0xfa)],_0x29b411[_0x5ad4c7(0x330)],_0x29b411[_0x5ad4c7(0x30e)],_0x29b411[_0x5ad4c7(0x21f)],_0x29b411[_0x5ad4c7(0x134)],_0x29b411['UniverDrawing'],_0x29b411[_0x5ad4c7(0x292)],_0x29b411[_0x5ad4c7(0x28a)],_0x29b411[_0x5ad4c7(0x1ad)],_0x29b411[_0x5ad4c7(0x1ec)],_0x29b411[_0x5ad4c7(0xea)],_0x29b411['rxjs'][_0x5ad4c7(0x166)],_0x29b411[_0x5ad4c7(0x1c2)],_0x29b411['React'],_0x29b411[_0x5ad4c7(0x329)],_0x29b411['UniverDesign'],_0x29b411[_0x5ad4c7(0xe5)],_0x29b411['UniverRpc']));}(this,function(_0x859d06,_0x598cf7,_0x3ed692,_0x419507,_0x49efbc,_0xe79878,_0xe9ed14,_0x5e60be,_0x5ba996,_0x59de32,_0x4a53dd,_0x43bed5,_0x324d3d,_0x515dd7,_0xd65c4f,_0x24fd59,_0x42626e,_0x116135,_0x416a51){'use strict';const _0x29331a=_0xe20a;var _0x53cb2c=Object[_0x29331a(0x26f)],_0x221e60=(_0xdd1040,_0x476a2c,_0x4cc201)=>_0x476a2c in _0xdd1040?_0x53cb2c(_0xdd1040,_0x476a2c,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x4cc201}):_0xdd1040[_0x476a2c]=_0x4cc201,_0x1a32bd=(_0xcb2957,_0x4779f3,_0x443671)=>_0x221e60(_0xcb2957,typeof _0x4779f3!=_0x29331a(0x267)?_0x4779f3+'':_0x4779f3,_0x443671),_0x5b9e96=Object[_0x29331a(0x1bc)],_0x1b80b9=(_0xe706f8,_0x299fd2,_0xa984ee,_0x587859)=>{const _0x43fc1b=_0x29331a;for(var _0x168b09=_0x587859>0x1?void 0x0:_0x587859?_0x5b9e96(_0x299fd2,_0xa984ee):_0x299fd2,_0x1514ca=_0xe706f8[_0x43fc1b(0x1dc)]-0x1,_0x47b5ce;_0x1514ca>=0x0;_0x1514ca--)(_0x47b5ce=_0xe706f8[_0x1514ca])&&(_0x168b09=_0x47b5ce(_0x168b09)||_0x168b09);return _0x168b09;},_0x22998e=(_0x4feeb5,_0xc97ba0)=>(_0x374f69,_0x21025d)=>_0xc97ba0(_0x374f69,_0x21025d,_0x4feeb5);let _0x24d325=class extends _0x3ed692[_0x29331a(0x13e)]{constructor(_0x1d2c29,_0x2f0d20){const _0x257113=_0x29331a;super(),this[_0x257113(0x235)]=_0x1d2c29,this[_0x257113(0x15a)]=_0x2f0d20,this[_0x257113(0x283)]();}['_init'](){const _0x5391b6=_0x29331a,_0x2173d1=this;this[_0x5391b6(0x234)](this[_0x5391b6(0x235)][_0x5391b6(0x19c)]({'onBeforePasteImage':async _0x79718=>{const _0x576437=_0x5391b6,_0x294b06=await _0x2173d1[_0x576437(0x15a)][_0x576437(0x2bc)](_0x79718);return _0x294b06?{'source':_0x294b06['source'],'imageSourceType':_0x294b06[_0x576437(0xe8)]}:null;}}));}};_0x24d325=_0x1b80b9([_0x22998e(0x0,_0xe79878[_0x29331a(0x2e1)]),_0x22998e(0x1,_0xe9ed14[_0x29331a(0x1d5)])],_0x24d325);const _0x3b952b=['purple.300','jiqing.500','green.600',_0x29331a(0x202),_0x29331a(0x114),_0x29331a(0x28f)];class _0x2e3539 extends _0x3ed692['Disposable']{constructor(){const _0x274317=_0x29331a;super(...arguments),_0x1a32bd(this,'_assignedColors',new Map()),_0x1a32bd(this,_0x274317(0x238),0x0);}[_0x29331a(0x2e9)](_0x14aa55){const _0x4b4a99=_0x29331a;if(this[_0x4b4a99(0x257)][_0x4b4a99(0x194)](_0x14aa55))return this[_0x4b4a99(0x257)][_0x4b4a99(0x159)](_0x14aa55);const _0x14ba7b=_0x3b952b[this[_0x4b4a99(0x238)]];return this[_0x4b4a99(0x238)]=(this[_0x4b4a99(0x238)]+0x1)%_0x3b952b[_0x4b4a99(0x1dc)],this[_0x4b4a99(0x257)][_0x4b4a99(0x333)](_0x14aa55,_0x14ba7b),_0x14ba7b;}}function _0x42c823(_0x39c4dc){const _0x26ec53=_0x29331a;let _0x543bd7='';for(const _0xd6a821 of _0x39c4dc){const {startOffset:_0x10c59a,endOffset:_0x55f062,isActive:_0x200697,rangeType:_0x241ee2,segmentId:_0x108b21,segmentPage:_0x41d783}=_0xd6a821;_0x543bd7[_0x26ec53(0x1dc)]&&(_0x543bd7+=','),_0x543bd7+=_0x10c59a+':'+_0x55f062+':'+(_0x200697?'1':'0')+':'+_0x241ee2+':'+_0x108b21+':'+_0x41d783;}return _0x543bd7;}function _0x21b2e5(_0xf483e5){const _0x424385=_0x29331a,_0x163a56=_0xf483e5['split'](','),_0x21c2f8=[];for(const _0x178a0a of _0x163a56){const [_0x508b1f,_0x100bff,_0x49c31e,_0x2a3b11,_0x193bc5,_0x13cfc7]=_0x178a0a[_0x424385(0xeb)](':');_0x21c2f8[_0x424385(0x322)]({'startOffset':Number(_0x508b1f),'endOffset':Number(_0x100bff),'collapsed':_0x508b1f===_0x100bff,'isActive':_0x49c31e==='1','rangeType':_0x2a3b11===_0x3ed692[_0x424385(0x2e2)]['TEXT']?_0x3ed692['DOC_RANGE_TYPE'][_0x424385(0x2d0)]:_0x3ed692[_0x424385(0x2e2)][_0x424385(0x1a4)],'segmentId':typeof _0x193bc5==_0x424385(0x13b)?String(_0x193bc5):'','segmentPage':Number(_0x13cfc7!=null?_0x13cfc7:-0x1)});}return _0x21c2f8['some'](_0x43ae4d=>_0x43ae4d[_0x424385(0x14c)])||(_0x21c2f8[0x0][_0x424385(0x14c)]=!0x0),_0x21c2f8;}class _0x144f0d extends _0x3ed692[_0x29331a(0x13e)]{constructor(){const _0xa08787=_0x29331a;super(...arguments),_0x1a32bd(this,_0xa08787(0x2d6),new _0x5e60be[(_0xa08787(0x24d))](null)),_0x1a32bd(this,'collabCursorState$',this[_0xa08787(0x2d6)][_0xa08787(0x199)]());}[_0x29331a(0x26a)](_0x4ce3de){const _0x2a91b8=_0x29331a,{unitID:_0x17382a,memberID:_0x31f446,textRanges:_0x456232}=_0x4ce3de,_0x347116=_0x42c823(_0x456232);if(_0x347116==='')return;const _0x4c67b9={'unitID':_0x17382a,'memberID':_0x31f446,'selection':_0x347116};this[_0x2a91b8(0x2d6)][_0x2a91b8(0x1f4)](_0x4c67b9);}}var _0xec891c=Object['getOwnPropertyDescriptor'],_0x1290bc=(_0x2725bc,_0x1b70b8,_0x197ac7,_0xe4889)=>{for(var _0xfce341=_0xe4889>0x1?void 0x0:_0xe4889?_0xec891c(_0x1b70b8,_0x197ac7):_0x1b70b8,_0x1d0af7=_0x2725bc['length']-0x1,_0x2ed9c5;_0x1d0af7>=0x0;_0x1d0af7--)(_0x2ed9c5=_0x2725bc[_0x1d0af7])&&(_0xfce341=_0x2ed9c5(_0xfce341)||_0xfce341);return _0xfce341;},_0x5d2e6c=(_0x2c8640,_0x3ad227)=>(_0x3e273d,_0x15e877)=>_0x3ad227(_0x3e273d,_0x15e877,_0x2c8640);const _0x5a4a31=0x12c,_0x3ce65d=0x64;let _0xac5050=class extends _0x3ed692[_0x29331a(0x13e)]{constructor(_0x5f55e4,_0x117a2d,_0x3243a2,_0x2dbf14,_0x40ff27,_0x2900c4,_0x490f82,_0x57101f,_0x77cdc2){const _0x1f8c13=_0x29331a;super(),_0x1a32bd(this,_0x1f8c13(0x2f6),!0x1),_0x1a32bd(this,_0x1f8c13(0x283),!0x1),_0x1a32bd(this,_0x1f8c13(0x123),new _0x5e60be['BehaviorSubject'](new Map())),_0x1a32bd(this,'cursorInfo$',this[_0x1f8c13(0x123)][_0x1f8c13(0x199)]()),_0x1a32bd(this,_0x1f8c13(0x266),new _0x5e60be[(_0x1f8c13(0x24d))]([])),_0x1a32bd(this,_0x1f8c13(0x104),this[_0x1f8c13(0x266)]['pipe'](_0x5e60be[_0x1f8c13(0x16b)](_0x5a4a31))),_0x1a32bd(this,_0x1f8c13(0x366),_0x3ed692['debounce'](_0x2aa65a=>{const _0x4426f5=_0x1f8c13,_0x5d9092={'eventID':_0x5ba996['CollaborationEvent'][_0x4426f5(0x268)],'data':{'unitID':this[_0x4426f5(0x144)],'memberID':this[_0x4426f5(0x189)][_0x4426f5(0x1cb)](),'selection':_0x42c823(_0x2aa65a)}};this['_session'][_0x4426f5(0x340)](_0x5d9092,this[_0x4426f5(0x144)]);},_0x3ce65d)),(this[_0x1f8c13(0x144)]=_0x5f55e4,this['_session']=_0x117a2d,this[_0x1f8c13(0x23e)]=_0x3243a2,this['_colorAssignService']=_0x2dbf14,this['_memberService']=_0x40ff27,this[_0x1f8c13(0x368)]=_0x2900c4,this['_transformService']=_0x490f82,this['_univerInstanceService']=_0x57101f,this['_commandService']=_0x77cdc2);}get[_0x29331a(0xdf)](){const _0x2c17a9=_0x29331a;return this[_0x2c17a9(0x123)][_0x2c17a9(0x33f)]();}get['roomMembers'](){const _0x2ed7e6=_0x29331a;return this[_0x2ed7e6(0x266)]['getValue']();}[_0x29331a(0x2f0)](){const _0x294a1d=_0x29331a;super[_0x294a1d(0x2f0)](),this[_0x294a1d(0x123)]['next'](new Map()),this[_0x294a1d(0x123)]['complete'](),this[_0x294a1d(0x266)][_0x294a1d(0x1f4)]([]),this[_0x294a1d(0x266)][_0x294a1d(0x28d)]();}[_0x29331a(0x1e7)](){const _0x5e028a=_0x29331a;this[_0x5e028a(0x283)]||(this[_0x5e028a(0x283)]=!0x0,this[_0x5e028a(0x189)][_0x5e028a(0x2e7)]['pipe'](_0x5e60be[_0x5e028a(0xf0)](this[_0x5e028a(0x289)]))['subscribe'](_0x480c89=>{const _0x4810e5=_0x5e028a;_0x480c89===_0x598cf7[_0x4810e5(0x22b)]['ONLINE']?this[_0x4810e5(0x17f)]():this[_0x4810e5(0x17e)]();}),this[_0x5e028a(0x189)][_0x5e028a(0x2bb)][_0x5e028a(0x127)](_0x5e60be[_0x5e028a(0xf0)](this[_0x5e028a(0x289)]))['subscribe'](_0x500191=>{const _0x24efa5=_0x5e028a,_0x18a29c=_0x500191[_0x24efa5(0x2f8)];_0x18a29c===_0x5ba996[_0x24efa5(0x360)][_0x24efa5(0x268)]&&this[_0x24efa5(0x1f6)](_0x500191),_0x18a29c===_0x5ba996[_0x24efa5(0x360)][_0x24efa5(0x2c1)]&&this[_0x24efa5(0x161)](_0x500191);}),this['disposeWithMe'](this[_0x5e028a(0x23a)][_0x5e028a(0x13f)](_0x369285=>{const _0x3cb6e6=_0x5e028a,_0xccdd1c=_0x369285[_0x3cb6e6(0x239)];_0xccdd1c!=null&&this['_online']&&_0x369285['id']===_0x59de32['SetTextSelectionsOperation']['id']&&_0xccdd1c['unitId']===this['unitID']&&_0xccdd1c[_0x3cb6e6(0x10e)]===!0x1&&_0xccdd1c['ranges'][_0x3cb6e6(0x1dc)]>0x0&&this['_updateLocalCursor'](_0xccdd1c['ranges']);})),this[_0x5e028a(0x368)][_0x5e028a(0x34e)][_0x5e028a(0x127)](_0x5e60be[_0x5e028a(0xf0)](this['dispose$']))['subscribe'](_0x2d0caa=>{const _0xa1aed=_0x5e028a;if((_0x2d0caa==null?void 0x0:_0x2d0caa[_0xa1aed(0x144)])!==this[_0xa1aed(0x144)])return;const _0xbcd9ba={'eventID':_0x5ba996[_0xa1aed(0x360)]['UPDATE_CURSOR'],'data':_0x2d0caa};this[_0xa1aed(0x1f6)](_0xbcd9ba);}),this[_0x5e028a(0x234)](this[_0x5e028a(0x23a)][_0x5e028a(0x13f)](_0x405d39=>{const _0x2840ce=_0x5e028a;if(_0x405d39['params']==null)return;const _0x28e61c=_0x405d39[_0x2840ce(0x239)];if(_0x405d39['id']!==_0x59de32[_0x2840ce(0x351)]['id']||_0x28e61c[_0x2840ce(0x2a8)]!==this['unitID'])return;const _0x3aa641={'id':_0x2840ce(0x22c),'params':_0x28e61c},_0x17b0f1=this[_0x2840ce(0xdf)];for(const [_0x572c47,_0x202f98]of _0x17b0f1){const _0x3f71ea={'id':_0x2840ce(0x22c),'params':{'unitId':this[_0x2840ce(0x144)],'actions':null,'textRanges':_0x202f98[_0x2840ce(0x221)]}},_0x114f26=this[_0x2840ce(0x2d9)][_0x2840ce(0x2f9)](_0x3aa641,_0x3f71ea,!0x1);if(_0x5ba996['isTransformMutationFailure'](_0x114f26))throw _0x114f26[_0x2840ce(0x2ce)];_0x17b0f1[_0x2840ce(0x333)](_0x572c47,{..._0x202f98,'ranges':_0x114f26[_0x2840ce(0x1ea)][_0x2840ce(0x239)][_0x2840ce(0x28e)]});}queueMicrotask(()=>{const _0x1adbe2=_0x2840ce;this['_cursorInfo$'][_0x1adbe2(0x1f4)](_0x17b0f1);});})));}[_0x29331a(0x1f6)](_0x632838){const _0x18266e=_0x29331a;var _0x97f071,_0x1cd389;const {memberID:_0x20d632,selection:_0x14092d}=_0x632838[_0x18266e(0x1b3)],_0x3d5324=_0x21b2e5(_0x14092d),_0x23f136=(_0x1cd389=(_0x97f071=this['_memberService']['getMember'](this['unitID'],_0x20d632))==null?void 0x0:_0x97f071[_0x18266e(0x259)])!=null?_0x1cd389:'Unknown\x20user',_0x4ad5c5={'color':this['_colorAssignService'][_0x18266e(0x2e9)](_0x20d632),'name':_0x23f136,'ranges':_0x3d5324},_0x801fed=this[_0x18266e(0xdf)];_0x801fed[_0x18266e(0x333)](_0x20d632,_0x4ad5c5),this[_0x18266e(0x123)][_0x18266e(0x1f4)](_0x801fed);}[_0x29331a(0x161)](_0x55c369){const _0x3eac5e=_0x29331a,{memberID:_0x45323f}=_0x55c369['data'],_0xc48d3c=this['cursorInfo'];_0xc48d3c['delete'](_0x45323f),this[_0x3eac5e(0x123)]['next'](_0xc48d3c);}[_0x29331a(0x17f)](){const _0x53e495=_0x29331a;var _0x74d0f2;if(this[_0x53e495(0x2f6)]=!0x0,((_0x74d0f2=this[_0x53e495(0x27d)][_0x53e495(0xd1)]())==null?void 0x0:_0x74d0f2[_0x53e495(0x28c)]())!==this[_0x53e495(0x144)])return;const _0x2afced=this[_0x53e495(0x23e)][_0x53e495(0x159)](_0x59de32[_0x53e495(0x125)])[_0x53e495(0x16a)]();Array[_0x53e495(0x187)](_0x2afced)&&_0x2afced[_0x53e495(0x1dc)]>0x0&&this['_updateLocalCursor'](_0x2afced);}['_toggleOffline'](){this['_online']=!0x1;}};_0xac5050=_0x1290bc([_0x5d2e6c(0x2,_0x3ed692[_0x29331a(0x17b)](_0x3ed692[_0x29331a(0xf7)])),_0x5d2e6c(0x3,_0x3ed692[_0x29331a(0x17b)](_0x2e3539)),_0x5d2e6c(0x4,_0x3ed692[_0x29331a(0x17b)](_0x598cf7[_0x29331a(0x1a9)])),_0x5d2e6c(0x5,_0x3ed692['Inject'](_0x144f0d)),_0x5d2e6c(0x6,_0x5ba996[_0x29331a(0x299)]),_0x5d2e6c(0x7,_0x3ed692[_0x29331a(0x1d8)]),_0x5d2e6c(0x8,_0x3ed692[_0x29331a(0x21b)])],_0xac5050);var _0x315a59=Object['getOwnPropertyDescriptor'],_0x145617=(_0xab5ee4,_0x11451b,_0x532a9a,_0xe8827a)=>{for(var _0x28cdf3=_0xe8827a>0x1?void 0x0:_0xe8827a?_0x315a59(_0x11451b,_0x532a9a):_0x11451b,_0x204fdc=_0xab5ee4['length']-0x1,_0x409b70;_0x204fdc>=0x0;_0x204fdc--)(_0x409b70=_0xab5ee4[_0x204fdc])&&(_0x28cdf3=_0x409b70(_0x28cdf3)||_0x28cdf3);return _0x28cdf3;},_0x5812b6=(_0x3e440c,_0x331783)=>(_0x71fdf7,_0x14ea7f)=>_0x331783(_0x71fdf7,_0x14ea7f,_0x3e440c);const _0x19365c=0x12c,_0x4d1372=0x64,_0x50957a=()=>{let _0x1c9a1f=[],_0x10cae2=!0x1;return _0xf7f7cc=>{const _0x1fdfde=_0xe20a;_0x1c9a1f[_0x1fdfde(0x322)](_0xf7f7cc),_0x10cae2||(_0x10cae2=!0x0,setTimeout(()=>{const _0x1fd79b=_0x1fdfde;_0x1c9a1f[_0x1fd79b(0x1da)](_0x4d339f=>_0x4d339f()),_0x1c9a1f=[],_0x10cae2=!0x1;}));};};let _0x1ef0b5=class extends _0x3ed692['RxDisposable']{constructor(_0x39ee74,_0x3afb35,_0x53492e,_0x5bff25,_0x4f31e0,_0x1d832f,_0x159d0f,_0x3b51fc){const _0x1aa431=_0x29331a;super(),_0x1a32bd(this,_0x1aa431(0x2f6),!0x1),_0x1a32bd(this,_0x1aa431(0x283),!0x1),_0x1a32bd(this,_0x1aa431(0x123),new _0x5e60be[(_0x1aa431(0x24d))](new Map())),_0x1a32bd(this,_0x1aa431(0x312),this['_cursorInfo$'][_0x1aa431(0x199)]()),_0x1a32bd(this,_0x1aa431(0x266),new _0x5e60be[(_0x1aa431(0x24d))]([])),_0x1a32bd(this,'roomMembers$',this[_0x1aa431(0x266)]['pipe'](_0x5e60be['debounceTime'](_0x19365c))),_0x1a32bd(this,_0x1aa431(0x366),_0x3ed692[_0x1aa431(0x2f5)]((_0x1568a4,_0x2f02f6)=>{const _0x48fd13=_0x1aa431,_0x17c5f0={'eventID':_0x5ba996[_0x48fd13(0x360)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x48fd13(0x144)],'memberID':this['_session'][_0x48fd13(0x1cb)](),'selection':_0x4a53dd[_0x48fd13(0x27f)](_0x1568a4,_0x2f02f6[_0x48fd13(0x191)])}};this[_0x48fd13(0x189)][_0x48fd13(0x340)](_0x17c5f0,this[_0x48fd13(0x144)]);},_0x4d1372)),(this['unitID']=_0x39ee74,this[_0x1aa431(0x189)]=_0x3afb35,this[_0x1aa431(0x23e)]=_0x53492e,this[_0x1aa431(0x118)]=_0x5bff25,this['_memberService']=_0x4f31e0,this['_univerInstanceService']=_0x1d832f,this[_0x1aa431(0x23a)]=_0x159d0f,this[_0x1aa431(0x272)]=_0x3b51fc);}get['cursorInfo'](){const _0x2bd9b4=_0x29331a;return this[_0x2bd9b4(0x123)][_0x2bd9b4(0x33f)]();}get[_0x29331a(0x325)](){const _0x394a17=_0x29331a;return this[_0x394a17(0x266)]['getValue']();}[_0x29331a(0x2f0)](){const _0xfd26d8=_0x29331a;super[_0xfd26d8(0x2f0)](),this[_0xfd26d8(0x123)]['next'](new Map()),this['_cursorInfo$'][_0xfd26d8(0x28d)](),this[_0xfd26d8(0x266)][_0xfd26d8(0x1f4)]([]),this[_0xfd26d8(0x266)]['complete']();}[_0x29331a(0x1e7)](){const _0x57cee7=_0x29331a;this[_0x57cee7(0x283)]||(this[_0x57cee7(0x283)]=!0x0,this[_0x57cee7(0x189)]['sessionStatus$'][_0x57cee7(0x127)](_0x5e60be['takeUntil'](this[_0x57cee7(0x289)]))[_0x57cee7(0x1c4)](_0x15b695=>{const _0xa245b5=_0x57cee7;_0x15b695===_0x598cf7[_0xa245b5(0x22b)]['ONLINE']?this[_0xa245b5(0x17f)]():this[_0xa245b5(0x17e)]();}),this[_0x57cee7(0x189)]['event$'][_0x57cee7(0x127)](_0x5e60be['takeUntil'](this['dispose$']))[_0x57cee7(0x1c4)](_0x5e8b6a=>{const _0xfa75e8=_0x57cee7,_0xcfcc81=_0x5e8b6a['eventID'];_0xcfcc81===_0x5ba996[_0xfa75e8(0x360)][_0xfa75e8(0x268)]&&this[_0xfa75e8(0x1f6)](_0x5e8b6a),_0xcfcc81===_0x5ba996[_0xfa75e8(0x360)][_0xfa75e8(0x2c1)]&&this[_0xfa75e8(0x161)](_0x5e8b6a);}),this[_0x57cee7(0x1b0)](),this[_0x57cee7(0x234)](this['_commandService'][_0x57cee7(0x13f)](_0x522f99=>{const _0x4a71b9=_0x57cee7;if(this[_0x4a71b9(0x2f6)]&&_0x522f99['id']===_0x43bed5[_0x4a71b9(0x2ba)]['id']&&_0x522f99[_0x4a71b9(0x239)][_0x4a71b9(0x2a8)]===this['unitID']){const _0xccb716=_0x522f99[_0x4a71b9(0x239)];this[_0x4a71b9(0x366)](_0xccb716[_0x4a71b9(0x195)],_0xccb716[_0x4a71b9(0x1d2)][0x0]);}})));}[_0x29331a(0x1f6)](_0xfb5789){const _0x40e7b1=_0x29331a;var _0x41ab3f,_0x18801c;const {memberID:_0x4d21a2,selection:_0x5dce98}=_0xfb5789['data'],{sheetName:_0x2ba37a,range:_0x2cef46}=_0x4a53dd['deserializeRangeWithSheet'](_0x5dce98),_0x1bf17e={'name':(_0x18801c=(_0x41ab3f=this[_0x40e7b1(0x106)]['getMember'](this[_0x40e7b1(0x144)],_0x4d21a2))==null?void 0x0:_0x41ab3f['name'])!=null?_0x18801c:_0x40e7b1(0xf6),'range':this[_0x40e7b1(0x22d)](_0x2ba37a,_0x2cef46),'sheetID':_0x2ba37a,'color':this[_0x40e7b1(0x118)]['assignAColorForMemberID'](_0x4d21a2),'selection':_0x5dce98},_0x4c1321=this[_0x40e7b1(0xdf)];_0x4c1321[_0x40e7b1(0x333)](_0x4d21a2,_0x1bf17e),this[_0x40e7b1(0x123)]['next'](_0x4c1321);}[_0x29331a(0x161)](_0x1b58bd){const _0x5c6a95=_0x29331a,{memberID:_0x5ea51a}=_0x1b58bd[_0x5c6a95(0x1b3)],_0xee7824=this[_0x5c6a95(0xdf)];_0xee7824['delete'](_0x5ea51a),this[_0x5c6a95(0x123)][_0x5c6a95(0x1f4)](_0xee7824);}[_0x29331a(0x22d)](_0x18400f,_0x168c6e){const _0x370406=_0x29331a;var _0x26678a,_0x5d6937;const _0x27e3ff=(_0x5d6937=(_0x26678a=this[_0x370406(0x27d)][_0x370406(0x11c)](this[_0x370406(0x144)]))==null?void 0x0:_0x26678a['getSheetBySheetId'](_0x18400f))==null?void 0x0:_0x5d6937[_0x370406(0x348)]();return(_0x27e3ff==null?void 0x0:_0x27e3ff['find'](_0x35f217=>_0x3ed692['Rectangle'][_0x370406(0x1f5)](_0x35f217,_0x168c6e)))||_0x168c6e;}[_0x29331a(0x1b0)](){const _0x4af846=_0x29331a,_0x5919e7=new _0x3ed692[(_0x4af846(0x336))](),_0x3141a8=_0x50957a(),_0x3b6cc2=()=>{const _0x51034b=_0x4af846;_0x5919e7[_0x51034b(0x2f0)]();const _0x29f24a=(_0x383f20,_0x575e8a,_0x3b62c6,_0x2d30a5)=>{const _0x5350ea=_0x51034b;let _0x34836a=[];switch(_0x383f20['id']){case _0x43bed5[_0x5350ea(0x15b)][_0x5350ea(0x201)]:{_0x34836a=_0x43bed5['handleDeleteRangeMoveLeft'](_0x383f20,_0x2d30a5);break;}case _0x43bed5[_0x5350ea(0x15b)][_0x5350ea(0x16f)]:{_0x34836a=_0x43bed5[_0x5350ea(0x176)](_0x383f20,_0x2d30a5);break;}case _0x43bed5['EffectRefRangId'][_0x5350ea(0xe3)]:{_0x34836a=_0x43bed5[_0x5350ea(0x130)](_0x383f20,_0x2d30a5);break;}case _0x43bed5['EffectRefRangId'][_0x5350ea(0x10f)]:{_0x34836a=_0x43bed5[_0x5350ea(0x215)](_0x383f20,_0x2d30a5);break;}case _0x43bed5[_0x5350ea(0x15b)][_0x5350ea(0x107)]:{_0x34836a=_0x43bed5[_0x5350ea(0x2d2)](_0x383f20,_0x2d30a5);break;}case _0x43bed5[_0x5350ea(0x15b)][_0x5350ea(0x31a)]:{_0x34836a=_0x43bed5[_0x5350ea(0x15c)](_0x383f20,_0x2d30a5);break;}case _0x43bed5[_0x5350ea(0x15b)][_0x5350ea(0x217)]:{_0x34836a=_0x43bed5[_0x5350ea(0x309)](_0x383f20,_0x2d30a5);break;}case _0x43bed5[_0x5350ea(0x15b)][_0x5350ea(0x1a2)]:{_0x34836a=_0x43bed5[_0x5350ea(0x31f)](_0x383f20,_0x2d30a5);break;}case _0x43bed5[_0x5350ea(0x15b)][_0x5350ea(0x2d5)]:{_0x34836a=_0x43bed5['handleIRemoveRow'](_0x383f20,_0x2d30a5);break;}}const _0x395440=_0x43bed5[_0x5350ea(0x354)](_0x34836a,_0x2d30a5),_0x28d8f8=this[_0x5350ea(0xdf)]['get'](_0x575e8a);if(_0x28d8f8&&_0x395440){const _0x116c10={..._0x28d8f8,'range':_0x395440};this[_0x5350ea(0xdf)][_0x5350ea(0x333)](_0x575e8a,_0x116c10),_0x3141a8(()=>{const _0x189412=_0x5350ea,_0x13556b=this[_0x189412(0x272)][_0x189412(0x229)](_0x395440,_0x223bd0=>(_0x13556b[_0x189412(0x2f0)](),_0x29f24a(_0x223bd0,_0x575e8a,_0x3b62c6,_0x395440)));_0x5919e7[_0x189412(0x26d)](_0x13556b);});}return{'redos':[],'undos':[]};};this[_0x51034b(0xdf)][_0x51034b(0x1da)]((_0x7507de,_0x476f32)=>{const _0x212f03=_0x51034b,{range:_0x5a2704,sheetID:_0x12b87a}=_0x7507de,_0x4c251d=this[_0x212f03(0x272)][_0x212f03(0x229)](_0x5a2704,_0x22b259=>(_0x4c251d[_0x212f03(0x2f0)](),_0x29f24a(_0x22b259,_0x476f32,_0x12b87a,_0x5a2704)));_0x5919e7[_0x212f03(0x26d)](_0x4c251d);});};this[_0x4af846(0x234)](_0x3ed692[_0x4af846(0x132)](this[_0x4af846(0x123)][_0x4af846(0x1c4)](()=>{_0x3b6cc2();})));}[_0x29331a(0x17f)](){const _0x10e95c=_0x29331a;var _0x3019c7,_0x51f923;if(this[_0x10e95c(0x2f6)]=!0x0,((_0x3019c7=this[_0x10e95c(0x27d)][_0x10e95c(0xd1)]())==null?void 0x0:_0x3019c7[_0x10e95c(0x28c)]())!==this[_0x10e95c(0x144)])return;const _0x30344d=(_0x51f923=this[_0x10e95c(0x23e)][_0x10e95c(0x159)](_0x43bed5[_0x10e95c(0x26b)])[_0x10e95c(0xff)]())==null?void 0x0:_0x51f923[0x0],_0x1fc52f=this[_0x10e95c(0x27d)]['getCurrentUnitForType'](_0x3ed692['UniverInstanceType'][_0x10e95c(0x1d7)])[_0x10e95c(0x2d1)]();_0x30344d&&_0x1fc52f&&this[_0x10e95c(0x366)](_0x1fc52f[_0x10e95c(0x1cd)](),_0x30344d);}[_0x29331a(0x17e)](){const _0x4f9240=_0x29331a;this[_0x4f9240(0x2f6)]=!0x1;}};_0x1ef0b5=_0x145617([_0x5812b6(0x2,_0x3ed692[_0x29331a(0x17b)](_0x3ed692[_0x29331a(0xf7)])),_0x5812b6(0x3,_0x3ed692['Inject'](_0x2e3539)),_0x5812b6(0x4,_0x3ed692['Inject'](_0x598cf7[_0x29331a(0x1a9)])),_0x5812b6(0x5,_0x3ed692[_0x29331a(0x1d8)]),_0x5812b6(0x6,_0x3ed692[_0x29331a(0x21b)]),_0x5812b6(0x7,_0x3ed692[_0x29331a(0x17b)](_0x43bed5['RefRangeService']))],_0x1ef0b5);var _0x3a63c4=Object['getOwnPropertyDescriptor'],_0x34196b=(_0x4aa55f,_0x14c604,_0x72b339,_0x4bf826)=>{const _0x3111c8=_0x29331a;for(var _0x4417e1=_0x4bf826>0x1?void 0x0:_0x4bf826?_0x3a63c4(_0x14c604,_0x72b339):_0x14c604,_0xad05b4=_0x4aa55f[_0x3111c8(0x1dc)]-0x1,_0x169b95;_0xad05b4>=0x0;_0xad05b4--)(_0x169b95=_0x4aa55f[_0xad05b4])&&(_0x4417e1=_0x169b95(_0x4417e1)||_0x4417e1);return _0x4417e1;},_0x3833d0=(_0x13e473,_0x21f36e)=>(_0x933771,_0x194e50)=>_0x21f36e(_0x933771,_0x194e50,_0x13e473);let _0xbf522a=class extends _0x3ed692['RxDisposable']{constructor(_0x2d66e6,_0x3b4528,_0x316345){const _0x1ea171=_0x29331a;super(),_0x1a32bd(this,'_entities',new Map()),_0x1a32bd(this,'_entityInit$',new _0x5e60be[(_0x1ea171(0x1b8))]()),(this[_0x1ea171(0x27d)]=_0x2d66e6,this[_0x1ea171(0x23e)]=_0x3b4528,this[_0x1ea171(0x24b)]=_0x316345,this['_init']());}[_0x29331a(0x2f0)](){const _0x40041d=_0x29331a;super['dispose'](),this[_0x40041d(0x190)][_0x40041d(0x28d)](),this['_entities'][_0x40041d(0x1da)](_0x1686d1=>_0x1686d1[_0x40041d(0x2f0)]());}[_0x29331a(0x247)](_0x514371){const _0x3f46e4=_0x29331a;return this[_0x3f46e4(0x2dd)][_0x3f46e4(0x194)](_0x514371)?this[_0x3f46e4(0x2dd)][_0x3f46e4(0x159)](_0x514371)[_0x3f46e4(0x312)]:this[_0x3f46e4(0x190)]['pipe'](_0x5e60be[_0x3f46e4(0x2aa)](_0x589b6c=>_0x589b6c[_0x3f46e4(0x144)]===_0x514371),_0x5e60be['switchMap'](_0x1f1418=>_0x1f1418['cursorInfo$']));}[_0x29331a(0x283)](){const _0x567942=_0x29331a;this[_0x567942(0x27d)][_0x567942(0x2cd)](_0x3ed692[_0x567942(0x2b3)][_0x567942(0x1d7)])[_0x567942(0x127)](_0x5e60be[_0x567942(0xf0)](this[_0x567942(0x289)]))[_0x567942(0x1c4)](async _0xa2a328=>{const _0x5bc189=_0x567942,_0x391604=_0xa2a328[_0x5bc189(0x28c)](),_0x314290=await this[_0x5bc189(0x2c7)](_0x391604);this[_0x5bc189(0x190)][_0x5bc189(0x1f4)](_0x314290),this[_0x5bc189(0x2dd)]['set'](_0x391604,_0x314290);}),this[_0x567942(0x27d)][_0x567942(0x2cd)](_0x3ed692[_0x567942(0x2b3)][_0x567942(0x2fb)])['pipe'](_0x5e60be[_0x567942(0xf0)](this[_0x567942(0x289)]))[_0x567942(0x127)](_0x5e60be[_0x567942(0x2aa)](_0x4dc859=>!_0x4dc859[_0x567942(0x28c)]()[_0x567942(0x25f)]('__')))['subscribe'](async _0x2e7b91=>{const _0x18ba45=_0x567942,_0x5dc267=_0x2e7b91[_0x18ba45(0x28c)](),_0x37e2a8=await this[_0x18ba45(0x10b)](_0x5dc267);this[_0x18ba45(0x190)][_0x18ba45(0x1f4)](_0x37e2a8),this[_0x18ba45(0x2dd)][_0x18ba45(0x333)](_0x5dc267,_0x37e2a8);}),_0x5e60be[_0x567942(0x2fd)](this['_univerInstanceService'][_0x567942(0x18f)](_0x3ed692[_0x567942(0x2b3)][_0x567942(0x2fb)]),this[_0x567942(0x27d)]['getTypeOfUnitDisposed$'](_0x3ed692[_0x567942(0x2b3)][_0x567942(0x1d7)]))[_0x567942(0x127)](_0x5e60be['takeUntil'](this['dispose$']))[_0x567942(0x1c4)](_0x36a924=>{const _0x59a1f5=_0x567942,_0x5d5c4f=_0x36a924[_0x59a1f5(0x28c)](),_0x29b10a=this[_0x59a1f5(0x2dd)][_0x59a1f5(0x159)](_0x5d5c4f);_0x29b10a&&(_0x29b10a[_0x59a1f5(0x2f0)](),this[_0x59a1f5(0x2dd)][_0x59a1f5(0x21e)](_0x5d5c4f));});}async[_0x29331a(0x2c7)](_0x4791e0){const _0x54d546=_0x29331a,_0xcfe5e9=await this['_collabSessionService'][_0x54d546(0x33a)](_0x4791e0),_0x56b371=this[_0x54d546(0x23e)][_0x54d546(0x2a2)](_0x1ef0b5,_0x4791e0,_0xcfe5e9);return _0x56b371[_0x54d546(0x1e7)](),_0x56b371;}async['_startDocCollabCursor'](_0x2b6e35){const _0x59870d=_0x29331a,_0x12be92=await this[_0x59870d(0x24b)][_0x59870d(0x33a)](_0x2b6e35),_0x2cbfb4=this[_0x59870d(0x23e)][_0x59870d(0x2a2)](_0xac5050,_0x2b6e35,_0x12be92);return _0x2cbfb4[_0x59870d(0x1e7)](),_0x2cbfb4;}};_0xbf522a=_0x34196b([_0x3833d0(0x0,_0x3ed692[_0x29331a(0x1d8)]),_0x3833d0(0x1,_0x3ed692[_0x29331a(0x17b)](_0x3ed692[_0x29331a(0xf7)])),_0x3833d0(0x2,_0x3ed692[_0x29331a(0x17b)](_0x598cf7['CollaborationSessionService']))],_0xbf522a);const _0x389747=0x14,_0x196197=0xc8,_0xf69b93=0x4,_0x1a2fb4=0x5;function _0x3aeb39(_0x28bcc9,_0x28ee4c){const _0x4c9ab6=_0x29331a;let {radius:_0x1e41c1,width:_0x29ec68,height:_0x791498}=_0x28ee4c;_0x1e41c1=_0x1e41c1!=null?_0x1e41c1:0x0,_0x29ec68=_0x29ec68!=null?_0x29ec68:0x1e,_0x791498=_0x791498!=null?_0x791498:0x1e;let _0x3674cf=0x0,_0x28c1ff=0x0,_0x57509f=0x0;_0x3674cf=_0x28c1ff=_0x57509f=Math[_0x4c9ab6(0x175)](_0x1e41c1,_0x29ec68/0x2,_0x791498/0x2),_0x28bcc9[_0x4c9ab6(0x162)](),_0x28bcc9[_0x4c9ab6(0x30a)](_0x3674cf,0x0),_0x28bcc9['lineTo'](_0x29ec68-_0x28c1ff,0x0),_0x28bcc9[_0x4c9ab6(0x324)](_0x29ec68-_0x28c1ff,_0x28c1ff,_0x28c1ff,Math['PI']*0x3/0x2,0x0,!0x1),_0x28bcc9['lineTo'](_0x29ec68,_0x791498-_0x57509f),_0x28bcc9[_0x4c9ab6(0x324)](_0x29ec68-_0x57509f,_0x791498-_0x57509f,_0x57509f,0x0,Math['PI']/0x2,!0x1),_0x28bcc9[_0x4c9ab6(0x1a1)](0x0,_0x791498),_0x28bcc9[_0x4c9ab6(0x1a1)](0x0,_0x3674cf),_0x28bcc9[_0x4c9ab6(0x324)](_0x3674cf,_0x3674cf,_0x3674cf,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x28bcc9[_0x4c9ab6(0x24a)](),_0x28ee4c[_0x4c9ab6(0x1c6)]&&(_0x28bcc9[_0x4c9ab6(0x14a)](),_0x28bcc9[_0x4c9ab6(0x1dd)]=_0x28ee4c[_0x4c9ab6(0x1c6)],_0x28ee4c[_0x4c9ab6(0x141)]===_0x4c9ab6(0x129)?_0x28bcc9[_0x4c9ab6(0x1c6)](_0x4c9ab6(0x129)):_0x28bcc9[_0x4c9ab6(0x1c6)](),_0x28bcc9[_0x4c9ab6(0x342)]());}class _0x52bf41 extends _0x419507[_0x29331a(0x302)]{constructor(_0x2a184e,_0x24e8cf){const _0x49a690=_0x29331a;super(_0x2a184e,_0x24e8cf),_0x1a32bd(this,'color'),_0x1a32bd(this,_0x49a690(0x31d)),(this[_0x49a690(0x150)]=_0x24e8cf==null?void 0x0:_0x24e8cf[_0x49a690(0x150)],this[_0x49a690(0x31d)]=_0x24e8cf==null?void 0x0:_0x24e8cf[_0x49a690(0x31d)]);}static['drawWith'](_0x217d49,_0x150c90){const _0x53a6a4=_0x29331a,{text:_0x10b49b,color:_0x30a1f4}=_0x150c90;_0x217d49[_0x53a6a4(0x14a)](),_0x217d49[_0x53a6a4(0x173)]=_0x53a6a4(0x358);const _0x265663=_0x217d49['measureText'](_0x10b49b)[_0x53a6a4(0x2b5)],_0x33d13d=Math[_0x53a6a4(0x175)](_0x265663+0x2*_0xf69b93,_0x196197);_0x3aeb39(_0x217d49,{'height':_0x389747,'radius':0x4,'width':_0x33d13d,'fill':_0x30a1f4}),_0x217d49['fillStyle']=_0x53a6a4(0x1b9);const _0x209f34=_0xf69b93,_0x5d6c35=_0x389747-_0x1a2fb4,_0x54d23d=_0x196197-0x2*_0xf69b93;if(_0x265663>_0x54d23d){let _0x31ade0='',_0xbe4191=0x0;for(const _0x32a08d of _0x10b49b){const _0x3bfd62=_0x217d49[_0x53a6a4(0x359)](_0x32a08d)['width'];if(_0xbe4191+_0x3bfd62<=_0x54d23d-_0x217d49[_0x53a6a4(0x359)](_0x53a6a4(0x32e))[_0x53a6a4(0x2b5)])_0x31ade0+=_0x32a08d,_0xbe4191+=_0x3bfd62;else{_0x31ade0+='...';break;}}_0x217d49[_0x53a6a4(0x24c)](_0x31ade0,_0x209f34,_0x5d6c35);}else _0x217d49['fillText'](_0x10b49b,_0x209f34,_0x5d6c35);_0x217d49[_0x53a6a4(0x342)]();}[_0x29331a(0x10a)](_0x227c98){const _0x27c83e=_0x29331a;_0x52bf41[_0x27c83e(0x11e)](_0x227c98,this);}}const _0xeb9fc6=_0x29331a(0x352),_0x43e4e5=_0x29331a(0x184),_0x22b47c='collab-rect-range-',_0x393139=0x6,_0x265f07=1.5,_0xe2ad38=0x4,_0x26a134=1.5,_0x34d7b2='rgba(255,\x20255,\x20255,\x200.01)';class _0x5022c7{constructor(_0x18e347,_0xc29d6d,_0x38da33,_0x1573c6){const _0x5c809a=_0x29331a;_0x1a32bd(this,_0x5c809a(0xde),[]),_0x1a32bd(this,_0x5c809a(0xd2),null),_0x1a32bd(this,_0x5c809a(0x260),null),_0x1a32bd(this,'_anchorDot',null),_0x1a32bd(this,_0x5c809a(0x287),null),_0x1a32bd(this,_0x5c809a(0x220),null),(this[_0x5c809a(0x160)]=_0x18e347,this[_0x5c809a(0x1ed)]=_0xc29d6d,this['_docSkeleton']=_0x38da33,this['_document']=_0x1573c6,this[_0x5c809a(0x136)]());}set['_hover'](_0x5b9ea0){const _0x48367d=_0x29331a;_0x5b9ea0?(this[_0x48367d(0x12b)]&&this['_anchorDot'][_0x48367d(0x1ff)](),this[_0x48367d(0x260)]&&this[_0x48367d(0x260)][_0x48367d(0x1bd)]()):(this['_anchorDot']&&this['_anchorDot'][_0x48367d(0x1bd)](),this['_textBubble']&&this[_0x48367d(0x260)][_0x48367d(0x1ff)]());}[_0x29331a(0x2f0)](){const _0x563a5f=_0x29331a;for(const _0x4b0bc3 of this[_0x563a5f(0xde)])_0x4b0bc3[_0x563a5f(0x2f0)]();this[_0x563a5f(0x260)]&&this[_0x563a5f(0x260)][_0x563a5f(0x2f0)](),this[_0x563a5f(0x12b)]&&this[_0x563a5f(0x12b)][_0x563a5f(0x2f0)](),this[_0x563a5f(0xd2)]&&this[_0x563a5f(0xd2)][_0x563a5f(0x2f0)](),this[_0x563a5f(0x220)]&&this[_0x563a5f(0x220)]();}['_render'](){const _0x54cdbd=_0x29331a;var _0x1248ce;const {_docSkeleton:_0x1377a0,_document:_0x491189}=this,{color:_0x12ca7c,name:_0x2ca555,ranges:_0x1dc235}=this[_0x54cdbd(0x160)],_0x459dda=_0x491189[_0x54cdbd(0x1c5)](),{docsLeft:_0x33c2f2,docsTop:_0x259470}=_0x459dda,_0x13d9ec=new _0xe79878[(_0x54cdbd(0x33c))](_0x459dda,_0x1377a0);for(const {startOffset:_0x536b82,endOffset:_0x17422b,rangeType:_0x5cb228,segmentId:_0x5f1644,segmentPage:_0x86a365,collapsed:_0x3d56b4,isActive:_0x374e24}of _0x1dc235){const _0x17ff4d=_0x1377a0['findNodePositionByCharIndex'](_0x536b82,!0x0,_0x5f1644,_0x86a365);let _0x542a1c=_0x1377a0['findNodePositionByCharIndex'](_0x17422b,!0x0,_0x5f1644,_0x86a365);if(_0x542a1c==null&&(_0x542a1c=_0x1377a0[_0x54cdbd(0x337)](_0x17422b-0x1,!0x1,_0x5f1644,_0x86a365)),_0x374e24){const {contentBoxPointGroup:_0x2f043f}=_0x13d9ec[_0x54cdbd(0x22e)](_0x542a1c,_0x542a1c);if(_0x2f043f['length']===0x0)continue;this[_0x54cdbd(0x222)](_0x12ca7c,_0x2f043f,_0x33c2f2,_0x259470,_0x2ca555),this['_eventUnsubscribe']=this[_0x54cdbd(0x1f0)]();}if(_0x17ff4d&&_0x542a1c){if(_0x5cb228===_0x3ed692[_0x54cdbd(0x2e2)][_0x54cdbd(0x1a4)]){const _0x1d8e08=new _0xe79878[(_0x54cdbd(0x216))](_0x459dda,_0x1377a0),{pointGroup:_0x680b56}=(_0x1248ce=_0x1d8e08[_0x54cdbd(0x22e)](_0x17ff4d,_0x542a1c))!=null?_0x1248ce:{};if(_0x680b56==null||_0x680b56['length']===0x0)continue;this[_0x54cdbd(0x361)](_0x12ca7c,_0x680b56,_0x33c2f2,_0x259470);}else{if(!_0x3d56b4){const {borderBoxPointGroup:_0x4aedb5}=_0x13d9ec[_0x54cdbd(0x22e)](_0x17ff4d,_0x542a1c);if(_0x4aedb5[_0x54cdbd(0x1dc)]===0x0)continue;this['_drawTextRange'](_0x12ca7c,_0x4aedb5,_0x33c2f2,_0x259470);}}}}}['_drawAnchor'](_0x2e47e5,_0x16c557,_0xe8134,_0xe804e,_0x506a09){const _0x1d918f=_0x29331a,_0x971446=this[_0x1d918f(0x2bf)](_0x16c557),{left:_0x475fb1,top:_0x285a1e,height:_0x49325f}=_0x971446,_0x2a15a0=this[_0x1d918f(0x1db)](),_0x47756a=_0x26a134/_0x2a15a0,_0xbbb675=new _0x419507[(_0x1d918f(0x29c))](_0xeb9fc6+_0x3ed692[_0x1d918f(0x357)][_0x1d918f(0x2d7)](_0x393139),{'left':_0x475fb1+_0xe8134-_0x47756a,'top':_0x285a1e+_0xe804e,'height':_0x49325f,'width':_0x265f07,'fill':_0x2e47e5||_0x419507[_0x1d918f(0x305)](_0x3ed692['COLORS']['black'],0x0),'strokeWidth':_0x47756a,'stroke':_0x34d7b2,'evented':!0x0});this[_0x1d918f(0xd2)]=_0xbbb675,this[_0x1d918f(0x1ed)][_0x1d918f(0x177)](_0xbbb675,_0xe79878[_0x1d918f(0x367)]);const _0x4f2a02=new _0x419507['Rect'](_0xeb9fc6+_0x3ed692[_0x1d918f(0x357)][_0x1d918f(0x2d7)](_0x393139),{'left':_0x475fb1+_0xe8134-_0x47756a,'top':_0x285a1e+_0xe804e-_0xe2ad38/0x2,'height':_0xe2ad38,'width':_0xe2ad38,'fill':_0x2e47e5||_0x419507[_0x1d918f(0x305)](_0x3ed692[_0x1d918f(0x2b9)][_0x1d918f(0x2c6)],0x0),'strokeWidth':0x0,'stroke':_0x2e47e5||_0x419507[_0x1d918f(0x305)](_0x3ed692[_0x1d918f(0x2b9)][_0x1d918f(0x2c6)],0x0),'evented':!0x1});this[_0x1d918f(0x12b)]=_0x4f2a02,this['_scene'][_0x1d918f(0x177)](_0x4f2a02,_0xe79878['TEXT_RANGE_LAYER_INDEX']);const _0x18dd14=new _0x52bf41(_0xeb9fc6+_0x3ed692[_0x1d918f(0x357)]['generateRandomId'](_0x393139),{'left':_0x475fb1+_0xe8134-_0x47756a,'top':_0x285a1e+_0xe804e-_0x389747,'text':_0x506a09,'color':_0x2e47e5});this[_0x1d918f(0x260)]=_0x18dd14,this[_0x1d918f(0x1ed)][_0x1d918f(0x177)](_0x18dd14,_0xe79878[_0x1d918f(0x367)]),this[_0x1d918f(0x2fe)]=!0x1;}['_handleHover'](){const _0x3dde0a=_0x29331a,_0x2983c5=this[_0x3dde0a(0xd2)][_0x3dde0a(0x242)][_0x3dde0a(0x2ef)](()=>{const _0x504a5d=_0x3dde0a;this[_0x504a5d(0x2fe)]=!0x0;}),_0x4a0c38=this[_0x3dde0a(0xd2)]['onPointerLeave$'][_0x3dde0a(0x2ef)](()=>{const _0x3a73bd=_0x3dde0a;this[_0x3a73bd(0x287)]&&clearTimeout(this[_0x3a73bd(0x287)]),this[_0x3a73bd(0x287)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x1f123f=_0x3dde0a;_0x2983c5[_0x1f123f(0x2f1)](),_0x4a0c38[_0x1f123f(0x2f1)]();};}[_0x29331a(0xfc)](_0x544e7d,_0x5a92d2,_0x36904f,_0x16b6a0){const _0x1d3294=_0x29331a,_0x5d2bb9=new _0x3ed692['ColorKit'](_0x544e7d)['setAlpha'](0.2)[_0x1d3294(0x344)](),_0x308839=new _0x419507[(_0x1d3294(0x1fd))](_0x43e4e5+_0x3ed692[_0x1d3294(0x357)]['generateRandomId'](_0x393139),{'pointsGroup':_0x5a92d2,'fill':_0x5d2bb9||_0x419507[_0x1d3294(0x305)](_0x3ed692['COLORS'][_0x1d3294(0x2c6)],0.2),'left':_0x36904f,'top':_0x16b6a0,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x1d3294(0xde)][_0x1d3294(0x322)](_0x308839),this['_scene']['addObject'](_0x308839,_0xe79878[_0x1d3294(0x367)]);}[_0x29331a(0x361)](_0x237d0d,_0xee8b72,_0xe91b7a,_0x55c401){const _0x576195=_0x29331a,_0x54fd99=new _0x3ed692[(_0x576195(0x17a))](_0x237d0d)[_0x576195(0x192)](0.2)[_0x576195(0x344)](),_0x17c609=new _0x419507[(_0x576195(0x1fd))](_0x22b47c+_0x3ed692[_0x576195(0x357)][_0x576195(0x2d7)](_0x393139),{'pointsGroup':_0xee8b72,'fill':_0x54fd99||_0x419507['getColor'](_0x3ed692[_0x576195(0x2b9)]['black'],0.2),'left':_0xe91b7a,'top':_0x55c401,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x576195(0xde)]['push'](_0x17c609),this[_0x576195(0x1ed)]['addObject'](_0x17c609,_0xe79878['TEXT_RANGE_LAYER_INDEX']);}[_0x29331a(0x2bf)](_0x555b80){const _0x3e7bed=_0x555b80[0x0],_0x12e37f=_0x3e7bed[0x0],_0x2ba9af=_0x3e7bed[0x2],{x:_0x1cbae0,y:_0x4a6217}=_0x12e37f,{x:_0x6694a9,y:_0x224651}=_0x2ba9af;return{'left':_0x1cbae0,'top':_0x4a6217,'width':_0x6694a9-_0x1cbae0,'height':_0x224651-_0x4a6217};}['_getScale'](){const _0x5b0c11=_0x29331a,{scaleX:_0x1163a5,scaleY:_0x59edc0}=this[_0x5b0c11(0x1ed)][_0x5b0c11(0x12e)]();return Math['max'](_0x1163a5,_0x59edc0);}}var _0x29573a=Object[_0x29331a(0x1bc)],_0x303ca8=(_0x244776,_0x27af52,_0x10b7ec,_0x1dde61)=>{const _0x453881=_0x29331a;for(var _0x29c0f1=_0x1dde61>0x1?void 0x0:_0x1dde61?_0x29573a(_0x27af52,_0x10b7ec):_0x27af52,_0x217231=_0x244776[_0x453881(0x1dc)]-0x1,_0x5cdd77;_0x217231>=0x0;_0x217231--)(_0x5cdd77=_0x244776[_0x217231])&&(_0x29c0f1=_0x5cdd77(_0x29c0f1)||_0x29c0f1);return _0x29c0f1;},_0xafae19=(_0x1017d6,_0x21e14a)=>(_0x2aa3c6,_0xde2e93)=>_0x21e14a(_0x2aa3c6,_0xde2e93,_0x1017d6);let _0x2007b0=class extends _0x3ed692['RxDisposable']{constructor(_0x1d54af,_0x11ff14,_0x465f8e,_0x2bba91,_0x20cae5){const _0x948330=_0x29331a;super(),_0x1a32bd(this,_0x948330(0x29f),[]),_0x1a32bd(this,_0x948330(0x2fa),[]),(this[_0x948330(0x135)]=_0x1d54af,this[_0x948330(0x2ec)]=_0x11ff14,this[_0x948330(0x232)]=_0x465f8e,this[_0x948330(0x23a)]=_0x2bba91,this[_0x948330(0x346)]=_0x20cae5,this[_0x948330(0x283)]());}[_0x29331a(0x283)](){const _0x4a1d5a=_0x29331a,_0x51319c=this[_0x4a1d5a(0x135)][_0x4a1d5a(0x2a8)],_0x2fa17c=this[_0x4a1d5a(0x2ec)];this[_0x4a1d5a(0x234)](_0x5e60be['combineLatest']([this[_0x4a1d5a(0x232)]['getCollabCursors$'](_0x51319c),this[_0x4a1d5a(0x346)][_0x4a1d5a(0x25c)]])[_0x4a1d5a(0x127)](_0x324d3d[_0x4a1d5a(0x2e4)](([_0x326e2b,_0x51e052])=>({'skeleton':_0x2fa17c[_0x4a1d5a(0x1aa)](),'cursors':[..._0x326e2b['values']()]['flatMap'](_0x3d56e6=>({..._0x3d56e6,'color':this[_0x4a1d5a(0x346)][_0x4a1d5a(0x2a6)](_0x3d56e6[_0x4a1d5a(0x150)])}))})))[_0x4a1d5a(0x1c4)](_0x161919=>{if(this['_removeCollabCursors'](),_0x161919){const {skeleton:_0x4c0794,cursors:_0x114b21}=_0x161919;this['_updateCollabCursors'](_0x4c0794,_0x114b21);}})),this['_initResize'](),this['_initCommandExecutedListener']();}['_updateCollabCursors'](_0x26371f,_0x45cf5a){const _0x295073=_0x29331a,{scene:_0x368964,mainComponent:_0x38c614}=this[_0x295073(0x135)],_0x48901e=_0x45cf5a[_0x295073(0x2e4)](_0xccd201=>new _0x5022c7(_0xccd201,_0x368964,_0x26371f,_0x38c614));this[_0x295073(0x29f)]=_0x48901e,this['_cursors']=_0x45cf5a;}['_refreshCollabCursors'](){const _0x394c8b=_0x29331a;this['_removeCollabCursors']();const {scene:_0x432234,mainComponent:_0x5c0b65}=this[_0x394c8b(0x135)],_0x1ed52f=this[_0x394c8b(0x2ec)][_0x394c8b(0x1aa)](),_0x433792=this[_0x394c8b(0x2fa)][_0x394c8b(0x2e4)](_0x4124b1=>new _0x5022c7(_0x4124b1,_0x432234,_0x1ed52f,_0x5c0b65));this[_0x394c8b(0x29f)]=_0x433792;}[_0x29331a(0x2b6)](){const _0x2f4da8=_0x29331a;this[_0x2f4da8(0x29f)][_0x2f4da8(0x1da)](_0x5a3ada=>_0x5a3ada[_0x2f4da8(0x2f0)]()),this[_0x2f4da8(0x29f)]=[];}[_0x29331a(0x2cc)](){const _0x2f707e=_0x29331a,_0x160290=[_0xe79878[_0x2f707e(0x35e)]['id']];this['disposeWithMe'](this[_0x2f707e(0x23a)][_0x2f707e(0x13f)](_0x377566=>{const _0x34f3ce=_0x2f707e;_0x160290[_0x34f3ce(0x124)](_0x377566['id'])&&_0x377566[_0x34f3ce(0x239)][_0x34f3ce(0x2a8)]===this[_0x34f3ce(0x135)][_0x34f3ce(0x2a8)]&&this[_0x34f3ce(0x1bb)]();}));}['_initResize'](){const _0x33f0cf=_0x29331a;this[_0x33f0cf(0x234)](_0x3ed692[_0x33f0cf(0x29a)](this[_0x33f0cf(0x135)][_0x33f0cf(0x193)][_0x33f0cf(0xf8)])[_0x33f0cf(0x127)](_0x324d3d[_0x33f0cf(0x2aa)](_0x326ddb=>_0x326ddb[_0x33f0cf(0x321)]===_0x419507['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x33f0cf(0x203)]),_0x324d3d['throttleTime'](0x10))[_0x33f0cf(0x1c4)](()=>{const _0x5b8c2c=_0x33f0cf;this[_0x5b8c2c(0x1bb)]();}));}};_0x2007b0=_0x303ca8([_0xafae19(0x1,_0x3ed692[_0x29331a(0x17b)](_0x59de32[_0x29331a(0x2ed)])),_0xafae19(0x2,_0x3ed692['Inject'](_0xbf522a)),_0xafae19(0x3,_0x3ed692[_0x29331a(0x21b)]),_0xafae19(0x4,_0x3ed692['Inject'](_0x3ed692['ThemeService']))],_0x2007b0);const _0x353074=0x1,_0x142f01=1.5;class _0xcac5d2 extends _0x419507[_0x29331a(0x302)]{constructor(_0x46682d,_0x2cd928){const _0x2a5776=_0x29331a;super(_0x46682d,_0x2cd928),_0x1a32bd(this,_0x2a5776(0x1e0)),_0x1a32bd(this,'_hovered',!0x1),_0x1a32bd(this,_0x2a5776(0x185)),_0x1a32bd(this,'_name',''),_0x1a32bd(this,_0x2a5776(0x33d),_0x2a5776(0x20a)),_0x1a32bd(this,_0x2a5776(0x2a0)),(_0x2cd928&&this['setShapeProps'](_0x2cd928),this['onPointerEnter$'][_0x2a5776(0x2ef)](()=>this[_0x2a5776(0xcc)]({'hovered':!0x0})),this[_0x2a5776(0xee)][_0x2a5776(0x2ef)](()=>this[_0x2a5776(0xcc)]({'hovered':!0x1})));}[_0x29331a(0xcc)](_0xfc0f05){const _0x32e546=_0x29331a;var _0x2ae6c0,_0x470de0,_0x22319c,_0x581bfa,_0x4cf279,_0x494ba7;this['_color']=(_0x2ae6c0=_0xfc0f05['color'])!=null?_0x2ae6c0:this['_color'],this[_0x32e546(0xf1)]=(_0x470de0=_0xfc0f05[_0x32e546(0xed)])!=null?_0x470de0:this[_0x32e546(0xf1)],this[_0x32e546(0x185)]=(_0x22319c=_0xfc0f05['range'])!=null?_0x22319c:this[_0x32e546(0x185)],this[_0x32e546(0xd6)]=(_0x581bfa=_0xfc0f05[_0x32e546(0x259)])!=null?_0x581bfa:this[_0x32e546(0xd6)],this[_0x32e546(0x33d)]=(_0x4cf279=_0xfc0f05[_0x32e546(0x2c3)])!=null?_0x4cf279:this[_0x32e546(0x33d)],this[_0x32e546(0x2a0)]=(_0x494ba7=_0xfc0f05[_0x32e546(0x34a)])!=null?_0x494ba7:this[_0x32e546(0x2a0)],this[_0x32e546(0x1e3)]({'width':_0xfc0f05[_0x32e546(0x2b5)],'height':_0xfc0f05[_0x32e546(0x1fc)]});}[_0x29331a(0x252)](_0x2f13ae){const _0x3d866d=_0x29331a,{row:_0x3b8b1f,column:_0x508048}=_0x2f13ae;if(_0x3b8b1f>=this[_0x3d866d(0x185)]['startRow']&&_0x3b8b1f<=this[_0x3d866d(0x185)][_0x3d866d(0x16c)]&&_0x508048>=this[_0x3d866d(0x185)]['startColumn']&&_0x508048<=this['_range'][_0x3d866d(0x338)]){this[_0x3d866d(0xcc)]({'hovered':!0x0});return;}this[_0x3d866d(0xcc)]({'hovered':!0x1});}['triggerDblclick'](_0x511ecb){return!0x1;}[_0x29331a(0x10a)](_0x554f77){const _0x34a02e=_0x29331a;_0x419507[_0x34a02e(0x29c)][_0x34a02e(0x11e)](_0x554f77,{'width':this[_0x34a02e(0x2b5)],'height':this[_0x34a02e(0x1fc)],'strokeWidth':_0x142f01,'stroke':this['_color'],'evented':!0x1,'fill':this[_0x34a02e(0x2a0)]}),this['_hovered']&&(_0x554f77[_0x34a02e(0x14a)](),_0x554f77[_0x34a02e(0x169)](0x1,0x0,0x0,0x1,this[_0x34a02e(0x2b5)],this[_0x34a02e(0x33d)]===_0x34a02e(0x270)?0x0:-0x14),_0x52bf41['drawWith'](_0x554f77,{'text':this['_name'],'color':this['_color']}),_0x554f77['restore']());}}var _0x3ed66f=Object['getOwnPropertyDescriptor'],_0x14dea2=(_0x35fa2f,_0x121ab5,_0x56229e,_0x41656e)=>{const _0x19d0c9=_0x29331a;for(var _0x43f31e=_0x41656e>0x1?void 0x0:_0x41656e?_0x3ed66f(_0x121ab5,_0x56229e):_0x121ab5,_0xdd14cf=_0x35fa2f[_0x19d0c9(0x1dc)]-0x1,_0x19bf45;_0xdd14cf>=0x0;_0xdd14cf--)(_0x19bf45=_0x35fa2f[_0xdd14cf])&&(_0x43f31e=_0x19bf45(_0x43f31e)||_0x43f31e);return _0x43f31e;},_0x550eaa=(_0x391d83,_0x4eb270)=>(_0xd5978e,_0x579f43)=>_0x4eb270(_0xd5978e,_0x579f43,_0x391d83);const _0x2f7177=0x1389;let _0x565d77=class extends _0x3ed692[_0x29331a(0x13e)]{constructor(_0x1e58eb,_0x434ecf,_0x4fd9d2,_0x4a3cf0){const _0x383488=_0x29331a;super(),_0x1a32bd(this,'_cursors',new Set()),_0x1a32bd(this,_0x383488(0x115),null),(this[_0x383488(0x135)]=_0x1e58eb,this[_0x383488(0x206)]=_0x434ecf,this[_0x383488(0x232)]=_0x4fd9d2,this[_0x383488(0x346)]=_0x4a3cf0,this['_init']());}['_init'](){const _0x96ed3d=_0x29331a;this['_sheetSkeletonManagerService'][_0x96ed3d(0x1fb)][_0x96ed3d(0x127)](_0x324d3d[_0x96ed3d(0xf0)](this[_0x96ed3d(0x289)]),_0x324d3d[_0x96ed3d(0x233)](_0x4c861f=>{const _0x2b8660=_0x96ed3d;if(_0x4c861f){const _0x445ca4=_0x4c861f[_0x2b8660(0x341)];return _0x5e60be['combineLatest'](this[_0x2b8660(0x232)][_0x2b8660(0x247)](this['_context'][_0x2b8660(0x2a8)]),this[_0x2b8660(0x346)][_0x2b8660(0x25c)])['pipe'](_0x324d3d[_0x2b8660(0x2e4)](([_0x192922,_0x328c35])=>{const _0x5f2eca=_0x2b8660,_0x150f3d=new Map();return _0x192922[_0x5f2eca(0x1da)]((_0x2e7fb5,_0x450cd9)=>{const _0x5e0d52=_0x5f2eca;if(_0x2e7fb5['sheetID']===_0x445ca4){const _0x1b534e={..._0x2e7fb5};_0x1b534e[_0x5e0d52(0x150)]=this[_0x5e0d52(0x346)][_0x5e0d52(0x2a6)](_0x2e7fb5[_0x5e0d52(0x150)]),_0x150f3d[_0x5e0d52(0x333)](_0x450cd9,_0x1b534e);}}),{'skeleton':_0x4c861f,'cursors':_0x150f3d};}));}return _0x5e60be['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x355810,cursors:_0x33aaea})=>{const _0xb72089=_0x96ed3d;this[_0xb72089(0x2b6)](),_0x355810&&this[_0xb72089(0x100)](_0x355810,_0x33aaea);}),this[_0x96ed3d(0x206)][_0x96ed3d(0x1fb)][_0x96ed3d(0x1c4)](_0x245183=>{const _0x2f9d5e=_0x96ed3d;if(_0x245183==null)return;const {skeleton:_0x4fcb3e}=_0x245183,{scene:_0x79cb01}=this[_0x2f9d5e(0x135)];_0x79cb01[_0x2f9d5e(0x297)][_0x2f9d5e(0x2ef)](_0x3ed692[_0x2f9d5e(0x2f5)](_0x4374bc=>{const _0x49efa5=_0x2f9d5e;var _0x8ea970,_0x5b8949;const {offsetX:_0x1e540f,offsetY:_0xfc10f4}=_0x4374bc,{x:_0x57829d,y:_0x1ed95f}=_0x79cb01[_0x49efa5(0x20f)](_0x419507[_0x49efa5(0x1ae)][_0x49efa5(0xe1)]([_0x1e540f,_0xfc10f4])),{scaleX:_0x33b822,scaleY:_0x313ced}=_0x79cb01[_0x49efa5(0x12e)](),_0x2251a4=_0x79cb01[_0x49efa5(0x2f2)](_0x419507[_0x49efa5(0xdb)]['VIEW_MAIN']),_0x1971d8=_0x79cb01[_0x49efa5(0x364)](_0x419507['Vector2'][_0x49efa5(0xe1)]([_0x57829d,_0x1ed95f]),_0x2251a4),_0xc68d77=_0x4fcb3e['getCellPositionByOffset'](_0x1e540f,_0xfc10f4,_0x33b822,_0x313ced,_0x1971d8);((_0x8ea970=this['_lastPointer'])==null?void 0x0:_0x8ea970[_0x49efa5(0x207)])===_0xc68d77['column']&&((_0x5b8949=this[_0x49efa5(0x115)])==null?void 0x0:_0x5b8949[_0x49efa5(0x2b4)])===_0xc68d77[_0x49efa5(0x2b4)]||this['_cursors'][_0x49efa5(0x1da)](_0x191744=>{_0x191744['onMouseMove'](_0xc68d77);});},0x64));});}[_0x29331a(0x100)](_0xbb972c,_0x24970a){const _0x3a8020=_0x29331a;var _0x1eb919;const _0x2c5f0f=(_0x1eb919=this[_0x3a8020(0x206)][_0x3a8020(0x273)]())==null?void 0x0:_0x1eb919[_0x3a8020(0xd7)];if(!_0x2c5f0f)return;const _0x12e27e=this['_getSheetObject']();if(!_0x12e27e)return;this[_0x3a8020(0x2fa)][_0x3a8020(0x1da)](_0x292c63=>{const _0x2c68da=_0x3a8020;_0x292c63[_0x2c68da(0x205)]();});const {scene:_0x3d0587}=_0x12e27e,_0x4cd187=_0x4652a6(Array[_0x3a8020(0x2ae)](_0x24970a[_0x3a8020(0x145)]()))[_0x3a8020(0x2e4)](_0x4628b9=>{const _0xd6e4fe=_0x3a8020,{color:_0xedc58b,range:_0x561903,name:_0x209782,selection:_0x4d27d7,sheetID:_0x2178bc}=_0x4628b9,{startColumn:_0x117f7b,startRow:_0x506723,endColumn:_0x29090c,endRow:_0x3b3f78}=_0x561903,_0x76418=_0x515dd7[_0xd6e4fe(0x294)](_0x506723,_0x117f7b,_0x3d0587,_0x2c5f0f),_0x6cf623=_0x515dd7[_0xd6e4fe(0x294)](_0x3b3f78,_0x29090c,_0x3d0587,_0x2c5f0f),{columnHeaderHeightAndMarginTop:_0x13c26e}=_0x2c5f0f,{startX:_0x1074b7,startY:_0x1ac6c4}=_0x76418,{endX:_0x4e1d76,endY:_0x4019f0}=_0x6cf623,_0x3ab625=_0x4e1d76-_0x1074b7,_0x1904a2=_0x4019f0-_0x1ac6c4,_0x4f7f6f={'labelPosition':_0x1ac6c4-_0x13c26e>=_0x389747?'top':_0xd6e4fe(0x270),'sheetID':_0x2178bc,'range':_0x561903,'color':_0xedc58b,'name':_0x209782,'selection':_0x4d27d7,'left':_0x1074b7,'top':_0x1ac6c4,'width':_0x3ab625,'height':_0x1904a2,'evented':!0x1,'zIndex':_0x2f7177};return new _0xcac5d2(_0x209782,_0x4f7f6f);});_0x3d0587[_0x3a8020(0x311)](_0x4cd187,_0x353074),this[_0x3a8020(0x2fa)]=new Set(_0x4cd187);}[_0x29331a(0x2b6)](){const _0x7ae553=_0x29331a;var _0x337932;(_0x337932=this[_0x7ae553(0x2fa)])==null||_0x337932['forEach'](_0x42705d=>_0x42705d['dispose']());}['_getSheetObject'](){const _0x5ac7f9=_0x29331a;return _0x515dd7['getSheetObject'](this[_0x5ac7f9(0x135)][_0x5ac7f9(0xe7)],this[_0x5ac7f9(0x135)]);}};_0x565d77=_0x14dea2([_0x550eaa(0x1,_0x3ed692[_0x29331a(0x17b)](_0x515dd7[_0x29331a(0x328)])),_0x550eaa(0x2,_0x3ed692[_0x29331a(0x17b)](_0xbf522a)),_0x550eaa(0x3,_0x3ed692[_0x29331a(0x17b)](_0x3ed692[_0x29331a(0x13d)]))],_0x565d77);function _0x4652a6(_0x502e26){const _0x1a27a2=_0x29331a,_0x282256=new Map();return _0x502e26[_0x1a27a2(0x1da)](_0x1bb108=>{const _0x50c62=_0x1a27a2;if(_0x282256[_0x50c62(0x194)](_0x1bb108[_0x50c62(0x19e)])){const _0x11dff2=_0x282256[_0x50c62(0x159)](_0x1bb108['selection']);_0x11dff2[_0x50c62(0x259)]+=',\x20'+_0x1bb108[_0x50c62(0x259)];}else _0x282256['set'](_0x1bb108['selection'],_0x1bb108);}),Array[_0x1a27a2(0x2ae)](_0x282256[_0x1a27a2(0x145)]());}var _0x548a9a=function(){const _0x2da86c=_0x29331a;return _0x548a9a=Object[_0x2da86c(0x2ff)]||function(_0x111b34){const _0x786c84=_0x2da86c;for(var _0x1ca297,_0x5caaff=0x1,_0x3336de=arguments[_0x786c84(0x1dc)];_0x5caaff<_0x3336de;_0x5caaff++){_0x1ca297=arguments[_0x5caaff];for(var _0x2c44c7 in _0x1ca297)Object[_0x786c84(0x314)][_0x786c84(0x155)]['call'](_0x1ca297,_0x2c44c7)&&(_0x111b34[_0x2c44c7]=_0x1ca297[_0x2c44c7]);}return _0x111b34;},_0x548a9a[_0x2da86c(0x249)](this,arguments);},_0x4fbda0=function(_0x29ad65,_0x433c27){const _0x3f6588=_0x29331a;var _0x308c1c={};for(var _0x21a56b in _0x29ad65)Object[_0x3f6588(0x314)]['hasOwnProperty'][_0x3f6588(0x363)](_0x29ad65,_0x21a56b)&&_0x433c27['indexOf'](_0x21a56b)<0x0&&(_0x308c1c[_0x21a56b]=_0x29ad65[_0x21a56b]);if(_0x29ad65!=null&&typeof Object[_0x3f6588(0x25b)]==_0x3f6588(0x133)){for(var _0x472ee9=0x0,_0x21a56b=Object[_0x3f6588(0x25b)](_0x29ad65);_0x472ee9<_0x21a56b[_0x3f6588(0x1dc)];_0x472ee9++)_0x433c27['indexOf'](_0x21a56b[_0x472ee9])<0x0&&Object['prototype'][_0x3f6588(0x19a)][_0x3f6588(0x363)](_0x29ad65,_0x21a56b[_0x472ee9])&&(_0x308c1c[_0x21a56b[_0x472ee9]]=_0x29ad65[_0x21a56b[_0x472ee9]]);}return _0x308c1c;},_0x3a54b3=_0x116135[_0x29331a(0x211)](function(_0x43530d,_0x59d1b9){const _0x43b25c=_0x29331a;var _0x1d09e6=_0x43530d['icon'],_0x1e4033=_0x43530d['id'],_0x430ea2=_0x43530d[_0x43b25c(0x171)],_0x429894=_0x43530d[_0x43b25c(0x1e6)],_0x44550f=_0x4fbda0(_0x43530d,[_0x43b25c(0x2ab),'id',_0x43b25c(0x171),_0x43b25c(0x1e6)]),_0x2293c0=_0x43b25c(0x131)[_0x43b25c(0x2b2)](_0x1e4033,'\x20')[_0x43b25c(0x2b2)](_0x430ea2||'')[_0x43b25c(0x2b1)](),_0xbbd743=_0x116135[_0x43b25c(0x1e2)]('_'[_0x43b25c(0x2b2)](_0x40e9b7()));return _0x53c8e2(_0x1d09e6,''[_0x43b25c(0x2b2)](_0x1e4033),{'defIds':_0x1d09e6['defIds'],'idSuffix':_0xbbd743['current']},_0x548a9a({'ref':_0x59d1b9,'className':_0x2293c0},_0x44550f),_0x429894);});function _0x53c8e2(_0x4220e6,_0x5b0173,_0x54dbe5,_0x4caead,_0x2fef85){const _0x51cbd6=_0x29331a;return _0x116135[_0x51cbd6(0x262)](_0x4220e6['tag'],_0x548a9a(_0x548a9a({'key':_0x5b0173},_0x2b42ca(_0x4220e6,_0x54dbe5,_0x2fef85)),_0x4caead),(_0x457324(_0x4220e6,_0x54dbe5)[_0x51cbd6(0x22f)]||[])[_0x51cbd6(0x2e4)](function(_0x16ff63,_0xc4f3b6){const _0x47183d=_0x51cbd6;return _0x53c8e2(_0x16ff63,''[_0x47183d(0x2b2)](_0x5b0173,'-')[_0x47183d(0x2b2)](_0x4220e6['tag'],'-')[_0x47183d(0x2b2)](_0xc4f3b6),_0x54dbe5,void 0x0,_0x2fef85);}));}function _0x2b42ca(_0x470b58,_0x4849f2,_0x4d90f3){const _0x236535=_0x29331a;var _0xc8e3e0=_0x548a9a({},_0x470b58[_0x236535(0x19f)]);_0x4d90f3!=null&&_0x4d90f3['colorChannel1']&&_0xc8e3e0['fill']===_0x236535(0xe4)&&(_0xc8e3e0[_0x236535(0x1c6)]=_0x4d90f3[_0x236535(0xe4)]),_0x470b58['tag']===_0x236535(0x11b)&&_0xc8e3e0['id']&&(_0xc8e3e0['id']=_0xc8e3e0['id']+_0x4849f2[_0x236535(0x2e6)]),Object[_0x236535(0x27a)](_0xc8e3e0)[_0x236535(0x1da)](function(_0xc9149a){const _0xc8b1e1=_0x236535;var _0x386aea=_0xc9149a[0x0],_0x159a38=_0xc9149a[0x1];_0x386aea===_0xc8b1e1(0x11b)&&typeof _0x159a38==_0xc8b1e1(0x13b)&&(_0xc8e3e0[_0x386aea]=_0x159a38[_0xc8b1e1(0xf2)](/url\(#(.*)\)/,_0xc8b1e1(0x29e)[_0xc8b1e1(0x2b2)](_0x4849f2['idSuffix'],')')));});var _0x2468c2=_0x4849f2[_0x236535(0x1e8)];return!_0x2468c2||_0x2468c2[_0x236535(0x1dc)]===0x0||(_0x470b58['tag']===_0x236535(0x1d1)&&_0xc8e3e0[_0x236535(0x228)]&&(_0xc8e3e0[_0x236535(0x228)]=_0xc8e3e0['xlink:href']+_0x4849f2[_0x236535(0x2e6)]),Object[_0x236535(0x27a)](_0xc8e3e0)[_0x236535(0x1da)](function(_0x3afa30){const _0xe2d5c6=_0x236535;var _0x4ccc1d=_0x3afa30[0x0],_0xacbe02=_0x3afa30[0x1];typeof _0xacbe02==_0xe2d5c6(0x13b)&&(_0xc8e3e0[_0x4ccc1d]=_0xacbe02['replace'](/url\(#(.*)\)/,_0xe2d5c6(0x29e)[_0xe2d5c6(0x2b2)](_0x4849f2[_0xe2d5c6(0x2e6)],')')));})),_0xc8e3e0;}function _0x457324(_0x308308,_0x25e641){const _0x2a0463=_0x29331a;var _0x4a117c,_0x2dac17=_0x25e641[_0x2a0463(0x1e8)];return!_0x2dac17||_0x2dac17[_0x2a0463(0x1dc)]===0x0?_0x308308:_0x308308['tag']==='defs'&&(!((_0x4a117c=_0x308308[_0x2a0463(0x22f)])===null||_0x4a117c===void 0x0)&&_0x4a117c[_0x2a0463(0x1dc)])?_0x548a9a(_0x548a9a({},_0x308308),{'children':_0x308308[_0x2a0463(0x22f)][_0x2a0463(0x2e4)](function(_0x33f231){const _0x4ca739=_0x2a0463;return typeof _0x33f231[_0x4ca739(0x19f)]['id']==_0x4ca739(0x13b)&&_0x2dac17&&_0x2dac17['includes'](_0x33f231['attrs']['id'])?_0x548a9a(_0x548a9a({},_0x33f231),{'attrs':_0x548a9a(_0x548a9a({},_0x33f231['attrs']),{'id':_0x33f231[_0x4ca739(0x19f)]['id']+_0x25e641[_0x4ca739(0x2e6)]})}):_0x33f231;})}):_0x308308;}function _0x40e9b7(){const _0x108cf4=_0x29331a;return Math[_0x108cf4(0x2ac)]()[_0x108cf4(0x243)](0x24)[_0x108cf4(0x291)](0x2,0x8);}_0x3a54b3[_0x29331a(0x315)]=_0x29331a(0x1de);var _0x55f949={'tag':'svg','attrs':{'xmlns':_0x29331a(0x14f),'fill':_0x29331a(0xfd),'viewBox':'0\x200\x2016\x2016','width':'1em','height':_0x29331a(0x275)},'children':[{'tag':'g','attrs':{'clipPath':_0x29331a(0x317)},'children':[{'tag':_0x29331a(0x197),'attrs':{'stroke':_0x29331a(0x1d9),'d':'M3.61971\x2011.6499C2.40304\x2011.6499\x200.699707\x2011.1024\x200.699707\x208.9124C0.699707\x206.3574\x203.25471\x205.8099\x203.98471\x205.8099C4.34971\x204.5324\x205.07971\x202.5249\x207.99971\x202.5249C10.5547\x202.5249\x2011.6497\x203.9849\x2012.0147\x205.2624C12.0147\x205.2624\x2015.2997\x205.6274\x2015.2997\x208.7299C15.2997\x2010.9199\x2013.8397\x2011.6499\x2012.3797\x2011.6499M9.82471\x209.82466L6.17471\x2013.4747M6.17471\x209.82466L9.82471\x2013.4747','strokeLinecap':_0x29331a(0x278),'strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x29331a(0x212),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':'off-line-icon_clip0_910_343'},'children':[{'tag':_0x29331a(0x197),'attrs':{'fill':_0x29331a(0x1eb),'d':'M0\x200H16V16H0z'}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x41eaaa=_0x116135[_0x29331a(0x211)](function(_0x1ec937,_0x219543){const _0x54c88f=_0x29331a;return _0x116135['createElement'](_0x3a54b3,Object[_0x54c88f(0x2ff)]({},_0x1ec937,{'id':_0x54c88f(0x167),'ref':_0x219543,'icon':_0x55f949}));});_0x41eaaa['displayName']=_0x29331a(0x298);var _0x2c89fe={'tag':_0x29331a(0x102),'attrs':{'xmlns':_0x29331a(0x14f),'fill':_0x29331a(0xfd),'viewBox':_0x29331a(0x1c3),'width':_0x29331a(0x275),'height':_0x29331a(0x275)},'children':[{'tag':'g','attrs':{'clipPath':_0x29331a(0x241)},'children':[{'tag':'path','attrs':{'stroke':_0x29331a(0x1d9),'d':_0x29331a(0x108),'strokeLinecap':_0x29331a(0x278),'strokeLinejoin':_0x29331a(0x278),'strokeWidth':1.2}}]},{'tag':_0x29331a(0x212),'attrs':{},'children':[{'tag':_0x29331a(0x316),'attrs':{'id':_0x29331a(0x2cf)},'children':[{'tag':_0x29331a(0x197),'attrs':{'fill':_0x29331a(0x1eb),'d':_0x29331a(0x110),'transform':_0x29331a(0x307)}}]}]}],'defIds':['on-line-icon_clip0_910_349']},_0x5d74d3=_0x116135[_0x29331a(0x211)](function(_0x3d2ba6,_0x15cd8c){const _0x14a2cb=_0x29331a;return _0x116135[_0x14a2cb(0x262)](_0x3a54b3,Object[_0x14a2cb(0x2ff)]({},_0x3d2ba6,{'id':_0x14a2cb(0x142),'ref':_0x15cd8c,'icon':_0x2c89fe}));});_0x5d74d3[_0x29331a(0x315)]=_0x29331a(0x1be);function _0x42d3d9(_0x429c0f){const _0x2adc60=_0x29331a;switch(_0x429c0f){case _0x598cf7[_0x2adc60(0x126)][_0x2adc60(0x16e)]:return _0x2adc60(0x180);case _0x598cf7[_0x2adc60(0x126)][_0x2adc60(0x33b)]:return _0x2adc60(0x2d4);case _0x598cf7[_0x2adc60(0x126)][_0x2adc60(0x103)]:return'collabStatus.fetchMiss';case _0x598cf7[_0x2adc60(0x126)][_0x2adc60(0x11f)]:return _0x2adc60(0xf3);case _0x598cf7[_0x2adc60(0x126)]['AWAITING']:case _0x598cf7[_0x2adc60(0x126)][_0x2adc60(0x14e)]:return _0x2adc60(0x248);case _0x598cf7[_0x2adc60(0x126)][_0x2adc60(0x198)]:case _0x598cf7[_0x2adc60(0x126)][_0x2adc60(0x32d)]:return _0x2adc60(0x179);}}function _0x1fa59a(_0xd57f0c){const _0xdacf8a=_0x29331a,{status$:_0x1a84e3}=_0xd57f0c,_0x4a63d9=_0x24fd59[_0xdacf8a(0x139)](_0x1a84e3,_0x598cf7[_0xdacf8a(0x126)]['NOT_COLLAB']),_0x464615=_0x24fd59[_0xdacf8a(0x274)](_0x3ed692[_0xdacf8a(0x12a)]),_0x4b64a3=_0x24fd59[_0xdacf8a(0x274)](_0x598cf7['CollaborationSessionService']),_0x23a0c5=_0x4a63d9!==_0x598cf7[_0xdacf8a(0x126)]['OFFLINE'],_0xde7b3a=_0x464615['t'](_0x42d3d9(_0x4a63d9)),_0x1c9adf=_0x23a0c5?_0xd65c4f['jsx'](_0x5d74d3,{}):_0xd65c4f[_0xdacf8a(0x219)](_0x41eaaa,{}),_0xfed406=_0x116135[_0xdacf8a(0x26e)](()=>{const _0x3a9487=_0xdacf8a;_0x23a0c5||_0x4b64a3[_0x3a9487(0x32b)]();},[_0x23a0c5,_0x4b64a3]);function _0x52b652(){const _0x236630=_0xdacf8a;return _0xd65c4f[_0x236630(0xdd)]('div',{'className':_0x236630(0x208),'onClick':_0xfed406,'children':[_0xd65c4f[_0x236630(0x219)]('div',{'className':_0x42626e[_0x236630(0x223)](_0x236630(0x165),{'univer-text-green-500':_0x23a0c5,'univer-text-red-500':!_0x23a0c5}),'children':_0x1c9adf}),_0xd65c4f[_0x236630(0x219)](_0x236630(0x2ca),{'className':_0x236630(0x35b),'children':_0xde7b3a})]});}return _0x23a0c5?_0x52b652():_0xd65c4f[_0xdacf8a(0x219)](_0x42626e['Tooltip'],{'title':_0x464615['t']('collab-client.tooltip.reconnect'),'children':_0x52b652()});}var _0x11c4c5=Object[_0x29331a(0x1bc)],_0x206574=(_0x15890c,_0x118a21,_0x189f1f,_0x5e24ec)=>{const _0x11b29b=_0x29331a;for(var _0x4b6bef=_0x5e24ec>0x1?void 0x0:_0x5e24ec?_0x11c4c5(_0x118a21,_0x189f1f):_0x118a21,_0x4f8b60=_0x15890c[_0x11b29b(0x1dc)]-0x1,_0x55e9a4;_0x4f8b60>=0x0;_0x4f8b60--)(_0x55e9a4=_0x15890c[_0x4f8b60])&&(_0x4b6bef=_0x55e9a4(_0x4b6bef)||_0x4b6bef);return _0x4b6bef;},_0x1948c3=(_0x5bd50b,_0x2991ca)=>(_0x5ad7d5,_0x21fc29)=>_0x2991ca(_0x5ad7d5,_0x21fc29,_0x5bd50b);_0x859d06[_0x29331a(0xef)]=class extends _0x3ed692[_0x29331a(0x35f)]{constructor(_0x543f41,_0x1b4271,_0xb1d530,_0x1e2afa){const _0x34f1d8=_0x29331a;super(),_0x1a32bd(this,_0x34f1d8(0x1b5),new _0x5e60be[(_0x34f1d8(0x24d))](_0x598cf7[_0x34f1d8(0x126)][_0x34f1d8(0x11f)])),(this[_0x34f1d8(0x27d)]=_0x543f41,this[_0x34f1d8(0x23e)]=_0x1b4271,this[_0x34f1d8(0x353)]=_0xb1d530,this['_uiPartsService']=_0x1e2afa,this[_0x34f1d8(0x31c)](),this[_0x34f1d8(0x246)]());}[_0x29331a(0x246)](){const _0x94191a=_0x29331a;this[_0x94191a(0x234)](this[_0x94191a(0x27d)]['focused$'][_0x94191a(0x127)](_0x5e60be[_0x94191a(0x233)](()=>{const _0x34fda4=_0x94191a,_0xe74a2e=this['_univerInstanceService'][_0x34fda4(0xd1)]();return _0xe74a2e?this['_collaborationController'][_0x34fda4(0x347)](_0xe74a2e[_0x34fda4(0x28c)]()):_0x5e60be['of'](null);}),_0x5e60be[_0x94191a(0x233)](_0x224f8f=>_0x224f8f?_0x224f8f['status$']:_0x5e60be['of'](_0x598cf7[_0x94191a(0x126)]['NOT_COLLAB'])))[_0x94191a(0x1c4)](_0x574360=>{const _0xda59d1=_0x94191a;this[_0xda59d1(0x1b5)][_0xda59d1(0x1f4)](_0x574360);}));}[_0x29331a(0x31c)](){const _0x3faec0=_0x29331a;this[_0x3faec0(0x234)](this[_0x3faec0(0x2eb)]['registerComponent'](_0x24fd59[_0x3faec0(0x343)][_0x3faec0(0x308)],()=>_0x24fd59[_0x3faec0(0x356)](_0x1423c6({'status$':this[_0x3faec0(0x1b5)]['asObservable']()}),this[_0x3faec0(0x23e)])));}},_0x859d06[_0x29331a(0xef)]=_0x206574([_0x1948c3(0x0,_0x3ed692[_0x29331a(0x1d8)]),_0x1948c3(0x1,_0x3ed692['Inject'](_0x3ed692[_0x29331a(0xf7)])),_0x1948c3(0x2,_0x3ed692['Inject'](_0x598cf7[_0x29331a(0x105)])),_0x1948c3(0x3,_0x24fd59[_0x29331a(0x23f)])],_0x859d06[_0x29331a(0xef)]);function _0x1423c6(_0x686965){const {status$:_0x48e659}=_0x686965;return function(){const _0xb21885=_0xe20a;return _0xd65c4f[_0xb21885(0x219)](_0x1fa59a,{'status$':_0x48e659});};}var _0x476629=Object[_0x29331a(0x1bc)],_0x1302be=(_0xb596e0,_0x119b1a,_0x391ab7,_0x1e166a)=>{const _0x2d05ae=_0x29331a;for(var _0x437a9c=_0x1e166a>0x1?void 0x0:_0x1e166a?_0x476629(_0x119b1a,_0x391ab7):_0x119b1a,_0x1d7d2b=_0xb596e0[_0x2d05ae(0x1dc)]-0x1,_0x517923;_0x1d7d2b>=0x0;_0x1d7d2b--)(_0x517923=_0xb596e0[_0x1d7d2b])&&(_0x437a9c=_0x517923(_0x437a9c)||_0x437a9c);return _0x437a9c;},_0x955e56=(_0x1fa7dc,_0x120d8b)=>(_0x5171f3,_0x27f14e)=>_0x120d8b(_0x5171f3,_0x27f14e,_0x1fa7dc);let _0xb5ce92=class extends _0x3ed692['Disposable']{constructor(_0x47c856,_0x29640f,_0x5e156d,_0x4f2d31,_0x44aaee,_0x4327da){const _0x1332e4=_0x29331a;super(),this[_0x1332e4(0x240)]=_0x47c856,this[_0x1332e4(0x30d)]=_0x29640f,this[_0x1332e4(0x35a)]=_0x5e156d,this[_0x1332e4(0x296)]=_0x4f2d31,this[_0x1332e4(0x34f)]=_0x44aaee,this[_0x1332e4(0x1e5)]=_0x4327da,this[_0x1332e4(0x109)](),this[_0x1332e4(0x2c9)]();}['_setupBeforeClosingHandler'](){const _0x5d55b8=_0x29331a;this[_0x5d55b8(0x234)](this[_0x5d55b8(0x240)][_0x5d55b8(0x138)](()=>{const _0x656328=_0x5d55b8;if(this[_0x656328(0x30d)][_0x656328(0x282)][_0x656328(0x1ca)])return this[_0x656328(0x1e5)]['t'](_0x656328(0x35c));}));}['_initEvent'](){const _0x55026d=_0x29331a;this[_0x55026d(0x234)](this[_0x55026d(0x35a)][_0x55026d(0x2bb)][_0x55026d(0x1c4)](_0x39515e=>{const _0x38b461=_0x55026d;_0x39515e['id']===_0x598cf7[_0x38b461(0xf5)]['OTHER_CLIENT_EDITING']&&this[_0x38b461(0x296)]['show']({'type':_0x42626e['MessageType']['Warning'],'content':this['_localeService']['t'](_0x38b461(0x196))}),_0x39515e['id']===_0x598cf7['CollaborationUIEventId']['CLOSE_ROOM']&&this['_messageService'][_0x38b461(0x1bd)]({'type':_0x42626e[_0x38b461(0x21c)]['Warning'],'content':this[_0x38b461(0x1e5)]['t'](_0x38b461(0xf4))}),_0x39515e['id']===_0x598cf7[_0x38b461(0xf5)][_0x38b461(0x1fe)]&&this[_0x38b461(0x34f)]['show']({'title':this[_0x38b461(0x1e5)]['t']('permission.title'),'content':this['_localeService']['t']('permission.content'),'type':_0x38b461(0x2ce),'duration':0x0}),_0x39515e['id']===_0x598cf7[_0x38b461(0xf5)][_0x38b461(0x33b)]&&this[_0x38b461(0x296)][_0x38b461(0x1bd)]({'type':_0x42626e[_0x38b461(0x21c)][_0x38b461(0x276)],'content':this[_0x38b461(0x1e5)]['t']('collaboration.closeRoom')+'('+_0x39515e['data']+')'}),_0x39515e['id']===_0x598cf7[_0x38b461(0xf5)][_0x38b461(0x1b2)]&&this[_0x38b461(0x296)][_0x38b461(0x1bd)]({'type':_0x42626e['MessageType'][_0x38b461(0x231)],'content':this[_0x38b461(0x1e5)]['t'](_0x39515e[_0x38b461(0x1b3)]||'')}),_0x39515e['id']===_0x598cf7[_0x38b461(0xf5)]['SOCKET_FAILED_RETRY']&&this[_0x38b461(0x296)][_0x38b461(0x1bd)]({'type':_0x42626e[_0x38b461(0x21c)][_0x38b461(0x231)],'content':this[_0x38b461(0x1e5)]['t'](_0x38b461(0x116))}),_0x39515e['id']===_0x598cf7[_0x38b461(0xf5)][_0x38b461(0x210)]&&this[_0x38b461(0x296)][_0x38b461(0x1bd)]({'type':_0x42626e[_0x38b461(0x21c)]['Error'],'content':this[_0x38b461(0x1e5)]['t'](_0x38b461(0x2b7))}),_0x39515e['id']===_0x598cf7['CollaborationUIEventId'][_0x38b461(0x280)]&&this[_0x38b461(0x296)][_0x38b461(0x1bd)]({'type':_0x42626e[_0x38b461(0x21c)][_0x38b461(0x276)],'content':this['_localeService']['t'](_0x38b461(0x157))});}));}};_0xb5ce92=_0x1302be([_0x955e56(0x0,_0x24fd59['IBeforeCloseService']),_0x955e56(0x1,_0x598cf7[_0x29331a(0x13a)]),_0x955e56(0x2,_0x3ed692[_0x29331a(0x17b)](_0x598cf7['CollaborationUIEventService'])),_0x955e56(0x3,_0x24fd59['IMessageService']),_0x955e56(0x4,_0x24fd59['INotificationService']),_0x955e56(0x5,_0x3ed692['Inject'](_0x3ed692['LocaleService']))],_0xb5ce92);const _0x17f436=_0x29331a(0x1c8),_0x417975={},_0x56c537=_0x3ed692[_0x29331a(0xfb)](_0x29331a(0x258));var _0x1bb0da=Object[_0x29331a(0x1bc)],_0x5a313f=(_0x12aaa5,_0x43ab0b,_0x19688d,_0x42bcea)=>{const _0x1b0add=_0x29331a;for(var _0x14caf0=_0x42bcea>0x1?void 0x0:_0x42bcea?_0x1bb0da(_0x43ab0b,_0x19688d):_0x43ab0b,_0xc6a676=_0x12aaa5[_0x1b0add(0x1dc)]-0x1,_0x29f708;_0xc6a676>=0x0;_0xc6a676--)(_0x29f708=_0x12aaa5[_0xc6a676])&&(_0x14caf0=_0x29f708(_0x14caf0)||_0x14caf0);return _0x14caf0;},_0x1402d6=(_0x32e534,_0x269c1b)=>(_0x1e57b1,_0x490f20)=>_0x269c1b(_0x1e57b1,_0x490f20,_0x32e534);_0x859d06['CollaborationDataLoaderController']=class extends _0x3ed692['RxDisposable']{constructor(_0x4a4e9f,_0x237deb,_0x4f4a11,_0x58b293,_0x5011ed){const _0x6866fd=_0x29331a;super(),this[_0x6866fd(0x128)]=_0x4a4e9f,this[_0x6866fd(0x24e)]=_0x237deb,this[_0x6866fd(0x23a)]=_0x4f4a11,this[_0x6866fd(0x290)]=_0x58b293,_0x5011ed?_0x5011ed==null||_0x5011ed['whenReady']()['then'](()=>this[_0x6866fd(0x283)]()):(this[_0x6866fd(0x24e)][_0x6866fd(0x320)]('[CollaborationDataLoaderController]','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this['_init']());}async[_0x29331a(0x283)](){const _0x56e615=_0x29331a,_0x4a8578=this[_0x56e615(0x128)]['getParam']('unit'),_0x417556=this[_0x56e615(0x128)]['getParam'](_0x56e615(0x321)),_0xac6fc5=this[_0x56e615(0x128)][_0x56e615(0x1a6)](_0x56e615(0x254));if(!_0x4a8578||!_0x417556){this[_0x56e615(0x24e)][_0x56e615(0x320)](_0x56e615(0x21d),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x5872a0=await this[_0x56e615(0x290)][_0x56e615(0x1ef)](_0x4a8578,Number(_0x417556),_0xac6fc5);_0x5872a0&&_0x5872a0 instanceof _0x3ed692['Workbook']&&this[_0x56e615(0x1b1)](_0x5872a0);}async['_setupSubUnitSync'](_0x443cb4){const _0x1ca221=_0x29331a;await this['_updateSubUnitFromURLParams'](_0x443cb4),_0x443cb4[_0x1ca221(0x24f)]['pipe'](_0x5e60be[_0x1ca221(0xf0)](this[_0x1ca221(0x289)]))[_0x1ca221(0x1c4)](_0x55a3b2=>{_0x55a3b2&&this['_updateURLWithCurrentState'](_0x55a3b2);}),this[_0x1ca221(0x128)][_0x1ca221(0x14b)][_0x1ca221(0x127)](_0x5e60be[_0x1ca221(0xf0)](this[_0x1ca221(0x289)]))[_0x1ca221(0x1c4)](()=>this[_0x1ca221(0x119)](_0x443cb4));}[_0x29331a(0x28b)](_0x501ae6,_0x423529=!0x1){const _0x5f0480=_0x29331a,_0x245052=this[_0x5f0480(0x128)][_0x5f0480(0x1a6)](_0x5f0480(0x254));_0x501ae6[_0x5f0480(0x1cd)]()!==_0x245052&&this[_0x5f0480(0x128)][_0x5f0480(0x2c8)](_0x5f0480(0x254),_0x501ae6[_0x5f0480(0x1cd)](),_0x423529);}async[_0x29331a(0x119)](_0x542179){const _0x56e2ba=_0x29331a;var _0xcbf6e1;const _0x12722a=this[_0x56e2ba(0x128)][_0x56e2ba(0x1a6)](_0x56e2ba(0x254));if(!_0x12722a||!_0x542179[_0x56e2ba(0x2cb)](_0x12722a)){const _0x50e53d=_0x542179[_0x56e2ba(0x1a8)]()[0x0],_0x152b00=_0x542179['getSheetBySheetId'](_0x50e53d);if(!_0x152b00)return;this['_updateURLWithCurrentState'](_0x152b00,!0x0),await this[_0x56e2ba(0x23a)][_0x56e2ba(0x13c)](_0x43bed5[_0x56e2ba(0xec)]['id'],{'unitId':_0x542179['getUnitId'](),'subUnitId':_0x50e53d});return;}((_0xcbf6e1=_0x542179[_0x56e2ba(0x2d1)]())==null?void 0x0:_0xcbf6e1[_0x56e2ba(0x1cd)]())!==_0x12722a&&await this[_0x56e2ba(0x23a)][_0x56e2ba(0x13c)](_0x43bed5[_0x56e2ba(0xec)]['id'],{'unitId':_0x542179[_0x56e2ba(0x28c)](),'subUnitId':_0x12722a});}},_0x859d06[_0x29331a(0x152)]=_0x5a313f([_0x1402d6(0x0,_0x56c537),_0x1402d6(0x1,_0x3ed692['ILogService']),_0x1402d6(0x2,_0x3ed692[_0x29331a(0x21b)]),_0x1402d6(0x3,_0x3ed692[_0x29331a(0x17b)](_0x598cf7[_0x29331a(0xdc)])),_0x1402d6(0x4,_0x3ed692['Optional'](_0x416a51['IRemoteInstanceService']))],_0x859d06[_0x29331a(0x152)]);var _0x18315b=Object[_0x29331a(0x1bc)],_0x141eb9=(_0x251673,_0x467ee1,_0x2e3652,_0x2a8982)=>{const _0x54e3ea=_0x29331a;for(var _0x5df494=_0x2a8982>0x1?void 0x0:_0x2a8982?_0x18315b(_0x467ee1,_0x2e3652):_0x467ee1,_0x71b3e0=_0x251673[_0x54e3ea(0x1dc)]-0x1,_0x47186f;_0x71b3e0>=0x0;_0x71b3e0--)(_0x47186f=_0x251673[_0x71b3e0])&&(_0x5df494=_0x47186f(_0x5df494)||_0x5df494);return _0x5df494;},_0x19e3ad=(_0x5b2a26,_0x527db0)=>(_0x3a853b,_0x2d8062)=>_0x527db0(_0x3a853b,_0x2d8062,_0x5b2a26);let _0x482d07=class{constructor(_0x450b93,_0x2d8d20,_0x10859d){const _0x1169c2=_0x29331a;this[_0x1169c2(0x23e)]=_0x450b93,this['_transformService']=_0x2d8d20,this[_0x1169c2(0x261)]=_0x10859d;}[_0x29331a(0x15d)](_0x41fde1){const _0x84989f=_0x29331a;this['_transformUndoRedoStack'](_0x41fde1),this[_0x84989f(0x2db)](_0x41fde1);}[_0x29331a(0x332)](_0x5a7983){const _0x46bce3=_0x29331a,{unitID:_0x45da2c}=_0x5a7983,_0x336eab=this[_0x46bce3(0x261)][_0x46bce3(0x156)](_0x45da2c)[_0x46bce3(0x18e)](_0xe79878[_0x46bce3(0x263)]),{redoCache:_0x180c50}=_0x336eab[_0x46bce3(0x20c)]();if(_0x180c50['length']===0x0)return _0x5a7983;let _0x4836e3=_0x3ed692['Tools'][_0x46bce3(0x10d)](_0x5a7983[_0x46bce3(0x147)][0x0]);for(let _0x31f50a=0x0;_0x31f50a<_0x180c50[_0x46bce3(0x1dc)];_0x31f50a++){const _0xe50966={'id':_0x46bce3(0x22c),'params':{..._0x180c50[_0x31f50a]}},_0x519310=this[_0x46bce3(0x2d9)]['transformMutation'](_0x4836e3,_0xe50966,!0x1);if(_0x5ba996['isTransformMutationFailure'](_0x519310))throw _0x519310['error'];_0x4836e3=_0x519310[_0x46bce3(0x12f)];}return{..._0x3ed692[_0x46bce3(0x357)][_0x46bce3(0x10d)](_0x5a7983),'mutations':[_0x4836e3]};}[_0x29331a(0x2de)](_0x5ef183){const _0x2c36bb=_0x29331a,{unitID:_0xef3d6e}=_0x5ef183,_0x5bef62=this[_0x2c36bb(0x261)][_0x2c36bb(0x156)](_0xef3d6e)['with'](_0xe79878[_0x2c36bb(0x263)]),{undoCache:_0xd7e46b,redoCache:_0x12a7c8}=_0x5bef62['getUndoRedoMutationParamsCache']();if(_0xd7e46b[_0x2c36bb(0x1dc)]===0x0||_0x12a7c8[_0x2c36bb(0x1dc)]===0x0)return;const _0x125036=[],_0x461ba0=[];let _0x25c140=_0x3ed692['Tools'][_0x2c36bb(0x10d)](_0x5ef183[_0x2c36bb(0x147)][0x0]),_0x265169=_0x3ed692['Tools'][_0x2c36bb(0x10d)](_0x5ef183['mutations'][0x0]);for(let _0x1e4025=_0xd7e46b[_0x2c36bb(0x1dc)]-0x1;_0x1e4025>=0x0;_0x1e4025--){const _0x333249={'id':_0x2c36bb(0x22c),'params':{..._0xd7e46b[_0x1e4025]}},_0x3d6964={'id':_0x2c36bb(0x22c),'params':{..._0x12a7c8[_0x1e4025]}},_0x3296ff=this['_transformService'][_0x2c36bb(0x2f9)](_0x25c140,_0x333249,!0x1),_0x2bd431=this[_0x2c36bb(0x2d9)][_0x2c36bb(0x2f9)](_0x265169,_0x3d6964,!0x1);if(_0x5ba996[_0x2c36bb(0x204)](_0x3296ff))throw _0x3296ff['error'];if(_0x5ba996[_0x2c36bb(0x204)](_0x2bd431))throw _0x2bd431[_0x2c36bb(0x2ce)];_0x125036[_0x2c36bb(0x2e3)](_0x3296ff[_0x2c36bb(0x1ea)][_0x2c36bb(0x239)]),_0x461ba0[_0x2c36bb(0x2e3)](_0x2bd431[_0x2c36bb(0x1ea)][_0x2c36bb(0x239)]),_0x25c140=_0x3296ff[_0x2c36bb(0x12f)],_0x265169=_0x2bd431[_0x2c36bb(0x12f)];}_0x5bef62[_0x2c36bb(0x2c0)]({'undoCache':_0x125036,'redoCache':_0x461ba0});}[_0x29331a(0x2db)](_0x5b2602){const _0x4c3d67=_0x29331a,{unitID:_0x31a27e}=_0x5b2602,_0x3a0248=this[_0x4c3d67(0x261)][_0x4c3d67(0x156)](_0x31a27e)[_0x4c3d67(0x18e)](_0xe79878[_0x4c3d67(0x263)]),_0x36c927=_0x3a0248[_0x4c3d67(0x279)]();if(_0x36c927==null)return;const _0x4b2f9b=[{'id':_0x4c3d67(0x22c),'params':{'unitId':_0x5b2602[_0x4c3d67(0x144)],'actions':null,'textRanges':[_0x36c927]}}],_0x371f7a=this[_0x4c3d67(0x2d9)][_0x4c3d67(0x120)](_0x5b2602,_0x4b2f9b);if(!_0x5ba996['isTransformMutationsWithChangesetSuccess'](_0x371f7a))throw _0x371f7a[_0x4c3d67(0x2ce)];const _0xed5858=_0x371f7a[_0x4c3d67(0x1ea)][0x0][_0x4c3d67(0x239)][_0x4c3d67(0x28e)];Array['isArray'](_0xed5858)&&_0xed5858[_0x4c3d67(0x1dc)]&&_0x3a0248[_0x4c3d67(0x31e)](_0xed5858[0x0]);}};_0x482d07=_0x141eb9([_0x19e3ad(0x0,_0x3ed692['Inject'](_0x3ed692[_0x29331a(0xf7)])),_0x19e3ad(0x1,_0x5ba996[_0x29331a(0x299)]),_0x19e3ad(0x2,_0x419507[_0x29331a(0x1d4)])],_0x482d07);var _0xfef1d8=Object[_0x29331a(0x1bc)],_0x5141f9=(_0x188936,_0x4a49a9,_0x220dd9,_0x4b25f9)=>{const _0x4549f6=_0x29331a;for(var _0x3cff2d=_0x4b25f9>0x1?void 0x0:_0x4b25f9?_0xfef1d8(_0x4a49a9,_0x220dd9):_0x4a49a9,_0x56e32c=_0x188936[_0x4549f6(0x1dc)]-0x1,_0xe4ce3f;_0x56e32c>=0x0;_0x56e32c--)(_0xe4ce3f=_0x188936[_0x56e32c])&&(_0x3cff2d=_0xe4ce3f(_0x3cff2d)||_0x3cff2d);return _0x3cff2d;},_0x1a6645=(_0x1b8867,_0x297ca5)=>(_0x38cab9,_0x42d229)=>_0x297ca5(_0x38cab9,_0x42d229,_0x1b8867);let _0x26c1ca=class{constructor(_0x423ee1,_0x2dd053,_0x18fa83){const _0xb95e0c=_0x29331a;this[_0xb95e0c(0x23e)]=_0x423ee1,this['_transformService']=_0x2dd053,this[_0xb95e0c(0x256)]=_0x18fa83;}[_0x29331a(0x22a)](_0x19618f){const _0x1916cd=_0x29331a;this[_0x1916cd(0x16d)](_0x19618f);}[_0x29331a(0x332)](_0x2d0e30){const _0x52f92d=_0x29331a,{unitID:_0x22cc2c}=_0x2d0e30,{collaboration:_0x1c631e}=this[_0x52f92d(0x256)][_0x52f92d(0xd3)](_0x22cc2c);if(_0x1c631e[_0x52f92d(0x1dc)]===0x0)return _0x2d0e30;let _0x246c82=_0x3ed692[_0x52f92d(0x357)][_0x52f92d(0x10d)](_0x2d0e30[_0x52f92d(0x147)][0x0]);for(let _0x592765=0x0;_0x592765<_0x1c631e['length'];_0x592765++){const _0x15f5bf={'id':_0x52f92d(0x22c),'params':{'unitId':_0x1c631e[_0x592765][_0x52f92d(0x2a8)],..._0x1c631e[_0x592765][_0x52f92d(0x2d8)]}},_0xb1f5a2=this[_0x52f92d(0x2d9)][_0x52f92d(0x2f9)](_0x246c82,_0x15f5bf,!0x1);if(_0x5ba996[_0x52f92d(0x204)](_0xb1f5a2))throw _0xb1f5a2[_0x52f92d(0x2ce)];_0x246c82=_0xb1f5a2['m1Prime'];}return{..._0x3ed692[_0x52f92d(0x357)][_0x52f92d(0x10d)](_0x2d0e30),'mutations':[_0x246c82]};}[_0x29331a(0x16d)](_0x960c77){const _0x1299ff=_0x29331a,{unitID:_0x5c5620}=_0x960c77,{history:_0x202f8a,collaboration:_0x4395ad}=this[_0x1299ff(0x256)][_0x1299ff(0xd3)](_0x5c5620);if(_0x202f8a[_0x1299ff(0x1dc)]===0x0&&_0x4395ad[_0x1299ff(0x1dc)]===0x0)return;const _0x18b452=[],_0x57177b=[];let _0xdb04a1=_0x3ed692[_0x1299ff(0x357)][_0x1299ff(0x10d)](_0x960c77[_0x1299ff(0x147)][0x0]),_0x3b1d06=_0x3ed692['Tools'][_0x1299ff(0x10d)](_0x960c77[_0x1299ff(0x147)][0x0]);for(let _0x13523f=_0x202f8a[_0x1299ff(0x1dc)]-0x1;_0x13523f>=0x0;_0x13523f--){const _0x2d4d41={'id':_0x1299ff(0x22c),'params':{'unitId':_0x202f8a[_0x13523f][_0x1299ff(0x2a8)],..._0x202f8a[_0x13523f][_0x1299ff(0x143)]}},_0x2364cc={'id':_0x1299ff(0x22c),'params':{'unitId':_0x202f8a[_0x13523f]['unitId'],..._0x202f8a[_0x13523f]['redoState']}},_0x1c58c8=this[_0x1299ff(0x2d9)][_0x1299ff(0x2f9)](_0xdb04a1,_0x2d4d41,!0x1),_0x1a2215=this[_0x1299ff(0x2d9)][_0x1299ff(0x2f9)](_0x3b1d06,_0x2364cc,!0x1);if(_0x5ba996[_0x1299ff(0x204)](_0x1c58c8))throw _0x1c58c8[_0x1299ff(0x2ce)];if(_0x5ba996[_0x1299ff(0x204)](_0x1a2215))throw _0x1a2215[_0x1299ff(0x2ce)];_0x18b452[_0x1299ff(0x2e3)]({..._0x202f8a[_0x13523f],'undoState':_0x1c58c8[_0x1299ff(0x1ea)][_0x1299ff(0x239)],'redoState':_0x1a2215[_0x1299ff(0x1ea)][_0x1299ff(0x239)]}),_0xdb04a1=_0x1c58c8[_0x1299ff(0x12f)],_0x3b1d06=_0x1a2215[_0x1299ff(0x12f)];}_0xdb04a1=_0x3ed692[_0x1299ff(0x357)][_0x1299ff(0x10d)](_0x960c77[_0x1299ff(0x147)][0x0]),_0x3b1d06=_0x3ed692['Tools'][_0x1299ff(0x10d)](_0x960c77[_0x1299ff(0x147)][0x0]);for(let _0xda6d37=_0x4395ad[_0x1299ff(0x1dc)]-0x1;_0xda6d37>=0x0;_0xda6d37--){const _0x4203eb={'id':_0x1299ff(0x22c),'params':{'unitId':_0x4395ad[_0xda6d37][_0x1299ff(0x2a8)],..._0x4395ad[_0xda6d37]['undoState']}},_0x5e9fe2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x4395ad[_0xda6d37]['unitId'],..._0x4395ad[_0xda6d37]['redoState']}},_0x33fd39=this[_0x1299ff(0x2d9)][_0x1299ff(0x2f9)](_0xdb04a1,_0x4203eb,!0x1),_0x1f7d1e=this[_0x1299ff(0x2d9)][_0x1299ff(0x2f9)](_0x3b1d06,_0x5e9fe2,!0x1);if(_0x5ba996[_0x1299ff(0x204)](_0x33fd39))throw _0x33fd39['error'];if(_0x5ba996[_0x1299ff(0x204)](_0x1f7d1e))throw _0x1f7d1e[_0x1299ff(0x2ce)];_0x57177b[_0x1299ff(0x2e3)]({..._0x4395ad[_0xda6d37],'undoState':_0x33fd39[_0x1299ff(0x1ea)]['params'],'redoState':_0x1f7d1e[_0x1299ff(0x1ea)][_0x1299ff(0x239)]}),_0xdb04a1=_0x33fd39[_0x1299ff(0x12f)],_0x3b1d06=_0x1f7d1e[_0x1299ff(0x12f)];}this[_0x1299ff(0x256)][_0x1299ff(0x146)](_0x5c5620,{'history':_0x18b452,'collaboration':_0x57177b});}};_0x26c1ca=_0x5141f9([_0x1a6645(0x0,_0x3ed692[_0x29331a(0x17b)](_0x3ed692[_0x29331a(0xf7)])),_0x1a6645(0x1,_0x5ba996['ITransformService']),_0x1a6645(0x2,_0x3ed692['Inject'](_0xe79878[_0x29331a(0x269)]))],_0x26c1ca);var _0x388076=Object[_0x29331a(0x1bc)],_0x2037ef=(_0x58c84b,_0x12b0cd,_0x1b55bf,_0x184777)=>{const _0x496a85=_0x29331a;for(var _0x2c550b=_0x184777>0x1?void 0x0:_0x184777?_0x388076(_0x12b0cd,_0x1b55bf):_0x12b0cd,_0xe98411=_0x58c84b[_0x496a85(0x1dc)]-0x1,_0x57cc18;_0xe98411>=0x0;_0xe98411--)(_0x57cc18=_0x58c84b[_0xe98411])&&(_0x2c550b=_0x57cc18(_0x2c550b)||_0x2c550b);return _0x2c550b;},_0x3ec21b=(_0x2b8b00,_0x279fdf)=>(_0x5c7513,_0x579f2d)=>_0x279fdf(_0x5c7513,_0x579f2d,_0x2b8b00);let _0x2a5adc=class{constructor(_0x4f93db,_0x59d5f7){const _0x16555a=_0x29331a;this[_0x16555a(0x23e)]=_0x4f93db,this[_0x16555a(0x2d9)]=_0x59d5f7;}[_0x29331a(0x284)](_0x1a3efc){const _0x513e87=_0x29331a;var _0x3dcf4e;const _0x443161=this[_0x513e87(0x23e)][_0x513e87(0x159)](_0x59de32[_0x513e87(0x125)]),_0x42f38c=(_0x3dcf4e=_0x443161['getDocRanges']())!=null?_0x3dcf4e:[];if(_0x42f38c['length']===0x0)return;const _0x49fbcb=_0x1a3efc['unitID'],_0x5bb4f=[{'id':_0x513e87(0x22c),'params':{'unitId':_0x49fbcb,'actions':null,'textRanges':_0x42f38c}}],_0x582cd9=this[_0x513e87(0x2d9)][_0x513e87(0x120)](_0x1a3efc,_0x5bb4f);if(!_0x5ba996[_0x513e87(0x163)](_0x582cd9))throw _0x582cd9[_0x513e87(0x2ce)];const _0x5e5f9f=_0x582cd9[_0x513e87(0x1ea)][0x0][_0x513e87(0x239)][_0x513e87(0x28e)];Array['isArray'](_0x5e5f9f)&&_0x5e5f9f[_0x513e87(0x1dc)]&&_0x443161[_0x513e87(0x230)](_0x5e5f9f,{'unitId':_0x49fbcb,'subUnitId':_0x49fbcb},!0x1);}};_0x2a5adc=_0x2037ef([_0x3ec21b(0x0,_0x3ed692['Inject'](_0x3ed692['Injector'])),_0x3ec21b(0x1,_0x5ba996['ITransformService'])],_0x2a5adc);var _0x24f0e9=Object[_0x29331a(0x1bc)],_0xdada38=(_0x41b4e7,_0xa6ef3f,_0x385819,_0x3c3a28)=>{const _0x32f188=_0x29331a;for(var _0x7c8477=_0x3c3a28>0x1?void 0x0:_0x3c3a28?_0x24f0e9(_0xa6ef3f,_0x385819):_0xa6ef3f,_0x869607=_0x41b4e7[_0x32f188(0x1dc)]-0x1,_0x181232;_0x869607>=0x0;_0x869607--)(_0x181232=_0x41b4e7[_0x869607])&&(_0x7c8477=_0x181232(_0x7c8477)||_0x7c8477);return _0x7c8477;},_0x3c035e=(_0x4abdec,_0x1c903c)=>(_0x326cbf,_0x596055)=>_0x1c903c(_0x326cbf,_0x596055,_0x4abdec);let _0x25dfe0=class extends _0x3ed692['Disposable']{constructor(_0x4c6568,_0x5f0b81,_0xee7d57,_0x4a18ed,_0x272508,_0x453111,_0x51cb3e,_0x453673){const _0x1ed8ca=_0x29331a;super(),_0x1a32bd(this,'_status$',new _0x5e60be[(_0x1ed8ca(0x24d))](_0x598cf7['CollaborationStatus'][_0x1ed8ca(0x11f)])),(this['_docStateChangeManagerService']=_0x4c6568,this[_0x1ed8ca(0x353)]=_0x5f0b81,this['_docTransformIMECacheService']=_0xee7d57,this[_0x1ed8ca(0x300)]=_0x4a18ed,this[_0x1ed8ca(0x1a3)]=_0x272508,this['_docSyncEditingCollabCursorService']=_0x453111,this['_messageService']=_0x51cb3e,this['_localeService']=_0x453673,this[_0x1ed8ca(0x224)]());}[_0x29331a(0x224)](){const _0xb34ccb=_0x29331a;this['disposeWithMe'](this['_collaborationController'][_0xb34ccb(0x350)][_0xb34ccb(0x1c4)](_0x12ed1d=>{const _0x58aa79=_0xb34ccb,_0x317329=this[_0x58aa79(0x256)][_0x58aa79(0x137)][_0x58aa79(0x1c4)](_0x21e29f=>{const _0x12e7dc=_0x58aa79;if(_0x21e29f==null)return;const {unitId:_0x3dce9b,redoState:_0x54eb88,commandId:_0x4fc9fc}=_0x21e29f;if(_0x3dce9b!==_0x12ed1d[_0x12e7dc(0x144)])return;const _0x32d67a={'id':_0x4fc9fc,'type':_0x3ed692[_0x12e7dc(0x1df)]['MUTATION'],'params':{'unitId':_0x3dce9b,'actions':_0x54eb88['actions'],'textRanges':null}};_0x12ed1d[_0x12e7dc(0xd0)](_0x32d67a);});if(_0x12ed1d['disposeWithMe'](_0x317329),_0x12ed1d instanceof _0x598cf7['DocCollaborationEntity']){const _0x24e609={'onTransformIME':_0x4780f3=>this['_docTransformIMECacheService'][_0x58aa79(0x15d)](_0x4780f3),'onTransformState':_0x54fd3e=>this[_0x58aa79(0x300)][_0x58aa79(0x22a)](_0x54fd3e),'onTransformSelections':_0x1e282a=>this['_docTransformSelectionsService'][_0x58aa79(0x284)](_0x1e282a),'onSyncEditingCollabCursor':_0x5bbc80=>this[_0x58aa79(0x345)][_0x58aa79(0x26a)](_0x5bbc80),'onTransformRemoteChangesetByIMECache':_0x307a47=>this[_0x58aa79(0x1d6)][_0x58aa79(0x332)](_0x307a47),'onTransformRemoteChangesetByStateCache':_0x54677e=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x54677e)};_0x12ed1d[_0x58aa79(0x1a0)](_0x24e609);}}));}};_0x25dfe0=_0xdada38([_0x3c035e(0x0,_0x3ed692[_0x29331a(0x17b)](_0xe79878['DocStateChangeManagerService'])),_0x3c035e(0x1,_0x3ed692[_0x29331a(0x17b)](_0x598cf7[_0x29331a(0x105)])),_0x3c035e(0x2,_0x3ed692[_0x29331a(0x17b)](_0x482d07)),_0x3c035e(0x3,_0x3ed692[_0x29331a(0x17b)](_0x26c1ca)),_0x3c035e(0x4,_0x3ed692[_0x29331a(0x17b)](_0x2a5adc)),_0x3c035e(0x5,_0x3ed692[_0x29331a(0x17b)](_0x144f0d)),_0x3c035e(0x6,_0x24fd59['IMessageService']),_0x3c035e(0x7,_0x3ed692['Inject'](_0x3ed692[_0x29331a(0x12a)]))],_0x25dfe0);var _0x291612=Object[_0x29331a(0x1bc)],_0x3060fd=(_0x3730da,_0x3ed4fb,_0x1e4140,_0x53d966)=>{const _0x3052f6=_0x29331a;for(var _0x296164=_0x53d966>0x1?void 0x0:_0x53d966?_0x291612(_0x3ed4fb,_0x1e4140):_0x3ed4fb,_0x397a8f=_0x3730da[_0x3052f6(0x1dc)]-0x1,_0x5cfae7;_0x397a8f>=0x0;_0x397a8f--)(_0x5cfae7=_0x3730da[_0x397a8f])&&(_0x296164=_0x5cfae7(_0x296164)||_0x296164);return _0x296164;},_0x2f4236=(_0x409836,_0x9a1e5c)=>(_0xbe614b,_0xd38306)=>_0x9a1e5c(_0xbe614b,_0xd38306,_0x409836);let _0x2c611b=class extends _0x3ed692[_0x29331a(0x35f)]{constructor(_0x3ae0ca,_0x3c8c87,_0xbd142d){const _0x374e9e=_0x29331a;super(),_0x1a32bd(this,_0x374e9e(0x293),new Map()),_0x1a32bd(this,'_saveTaskMap',new Map()),_0x1a32bd(this,_0x374e9e(0x19d),!0x1),(this[_0x374e9e(0x149)]=_0x3ae0ca,this['_localStorageService']=_0x3c8c87,this[_0x374e9e(0x1ee)]=_0xbd142d);}[_0x29331a(0x140)](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x1198a3=_0x29331a;this[_0x1198a3(0x19d)]=!0x1;}get[_0x29331a(0x282)](){return this['_saveTaskMap'];}[_0x29331a(0x2f0)](){const _0x1c1f0d=_0x29331a;this[_0x1c1f0d(0xfe)]()[_0x1c1f0d(0x182)](()=>super['dispose']());}async['loadOfflineData'](_0x59b101){const _0x326bb6=_0x29331a;return this[_0x326bb6(0x19d)]?null:this[_0x326bb6(0x101)][_0x326bb6(0x12d)](_0x598cf7[_0x326bb6(0x153)](_0x59b101));}async[_0x29331a(0x32c)](_0x4b1a73,_0x10d9a9){const _0x4782da=_0x29331a;return!!this['_localStorageService'][_0x4782da(0x27b)](_0x4b1a73,_0x10d9a9);}[_0x29331a(0xcf)](_0x22a5d4,_0x57c886,_0x19b63a,_0x2e5b4f){const _0x13e3ba=_0x29331a,_0x3dd425=this[_0x13e3ba(0x1ee)]['getCurrentRevOfUnit'](_0x22a5d4);this[_0x13e3ba(0x293)][_0x13e3ba(0x333)](_0x22a5d4,{'unitID':_0x22a5d4,'type':_0x57c886,'awaitingChangeset':_0x19b63a,'mutations':_0x2e5b4f,'rev':_0x3dd425}),this[_0x13e3ba(0xd9)][_0x13e3ba(0x194)](_0x22a5d4)||this[_0x13e3ba(0x2a4)](_0x22a5d4);}['_scheduleSaving'](_0x45181f){const _0x34be84=_0x29331a,_0x169132=this[_0x34be84(0x313)]();_0x169132===0x0?this[_0x34be84(0x18d)](_0x45181f):this[_0x34be84(0xd9)][_0x34be84(0x333)](_0x45181f,setTimeout(()=>this[_0x34be84(0x18d)](_0x45181f),_0x169132));}[_0x29331a(0x313)](){const _0x2d93f7=_0x29331a;var _0x53e6ff;return(_0x53e6ff=this[_0x2d93f7(0x149)]['getConfig'](_0x598cf7['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0x53e6ff:_0x598cf7[_0x2d93f7(0x2a7)];}[_0x29331a(0x18d)](_0x247e67){const _0x261b50=_0x29331a,_0x3c456c=this[_0x261b50(0xd9)][_0x261b50(0x159)](_0x247e67);return _0x3c456c!==void 0x0&&window[_0x261b50(0x17d)](_0x3c456c),this['_localStorageService']['setItem'](_0x598cf7[_0x261b50(0x153)](_0x247e67),this[_0x261b50(0x293)][_0x261b50(0x159)](_0x247e67))[_0x261b50(0x182)](()=>this[_0x261b50(0xd9)]['delete'](_0x247e67));}async[_0x29331a(0xfe)](){const _0x45244c=_0x29331a,_0x5c450d=[];this['_saveTaskMap'][_0x45244c(0x1da)]((_0x18e3a5,_0x1ff39b)=>{const _0x95bd8=_0x45244c;window[_0x95bd8(0x17d)](_0x18e3a5),_0x5c450d[_0x95bd8(0x322)](this[_0x95bd8(0x18d)](_0x1ff39b)[_0x95bd8(0x182)](()=>{this['_saveTaskMap']['delete'](_0x1ff39b);}));}),await Promise[_0x45244c(0x30f)](_0x5c450d);}};_0x2c611b=_0x3060fd([_0x2f4236(0x0,_0x3ed692[_0x29331a(0xe6)]),_0x2f4236(0x1,_0x3ed692['ILocalStorageService']),_0x2f4236(0x2,_0x3ed692['Inject'](_0x5ba996['RevisionService']))],_0x2c611b);class _0x2e4a3d extends _0x3ed692['RxDisposable']{constructor(){const _0x28e6bd=_0x29331a;super(),_0x1a32bd(this,_0x28e6bd(0x14b)),this[_0x28e6bd(0x14b)]=_0x5e60be[_0x28e6bd(0x218)](window,_0x28e6bd(0x339))[_0x28e6bd(0x127)](_0x5e60be[_0x28e6bd(0xf0)](this[_0x28e6bd(0x289)]),_0x5e60be['shareReplay'](0x1),_0x5e60be['mapTo'](void 0x0));}[_0x29331a(0x2c8)](_0x1b516f,_0x3168cc,_0x4a5a3f=!0x1){const _0x5495ed=_0x29331a,_0x13983e=new URL(window['location'][_0x5495ed(0x362)]);_0x13983e[_0x5495ed(0x2ee)]['set'](_0x1b516f,_0x3168cc),_0x4a5a3f?window[_0x5495ed(0x20e)][_0x5495ed(0x1bf)]('','',_0x13983e[_0x5495ed(0x243)]()):window[_0x5495ed(0x20e)][_0x5495ed(0x1b7)]('','',_0x13983e[_0x5495ed(0x243)]());}[_0x29331a(0x349)](_0x2c29ac,_0x9d857c=!0x1){const _0x128e9d=_0x29331a,_0x306800=new URL(window[_0x128e9d(0x32a)][_0x128e9d(0x362)]);_0x306800[_0x128e9d(0x2ee)][_0x128e9d(0x21e)](_0x2c29ac),_0x9d857c?window['history'][_0x128e9d(0x1bf)]('','',_0x306800[_0x128e9d(0x243)]()):window[_0x128e9d(0x20e)][_0x128e9d(0x1b7)]('','',_0x306800[_0x128e9d(0x243)]());}[_0x29331a(0x1a6)](_0x30a7fc){const _0x27a249=_0x29331a;var _0x593761;return(_0x593761=new URL(window[_0x27a249(0x32a)][_0x27a249(0x362)])[_0x27a249(0x2ee)][_0x27a249(0x159)](_0x30a7fc))!=null?_0x593761:void 0x0;}}var _0x36d2c2=Object[_0x29331a(0x26f)],_0x170dca=Object[_0x29331a(0x1bc)],_0x3c0e2d=(_0x234838,_0x273110,_0xced42a)=>_0x273110 in _0x234838?_0x36d2c2(_0x234838,_0x273110,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xced42a}):_0x234838[_0x273110]=_0xced42a,_0x17d10a=(_0x4424d9,_0x1c0e04,_0x38348d,_0x17caf0)=>{const _0x5d1dbe=_0x29331a;for(var _0x27f9f3=_0x17caf0>0x1?void 0x0:_0x17caf0?_0x170dca(_0x1c0e04,_0x38348d):_0x1c0e04,_0x55b02a=_0x4424d9[_0x5d1dbe(0x1dc)]-0x1,_0x51c11b;_0x55b02a>=0x0;_0x55b02a--)(_0x51c11b=_0x4424d9[_0x55b02a])&&(_0x27f9f3=_0x51c11b(_0x27f9f3)||_0x27f9f3);return _0x27f9f3;},_0xa12880=(_0x63b71c,_0x2116b9)=>(_0x5db84e,_0x301eeb)=>_0x2116b9(_0x5db84e,_0x301eeb,_0x63b71c),_0xdbd17c=(_0x2d4011,_0x5e1258,_0x22e103)=>_0x3c0e2d(_0x2d4011,_0x5e1258+'',_0x22e103);const _0x3ffcda='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x859d06[_0x29331a(0x21a)]=class extends _0x3ed692[_0x29331a(0x1f1)]{constructor(_0x44d350=_0x417975,_0x1e7f7d,_0x5d4fed,_0x61f9c7){const _0x445a9c=_0x29331a;super(),this['_config']=_0x44d350,this[_0x445a9c(0x261)]=_0x1e7f7d,this[_0x445a9c(0x23e)]=_0x5d4fed,this[_0x445a9c(0x149)]=_0x61f9c7;const {..._0x39e467}=_0x3ed692['merge']({},_0x417975,this[_0x445a9c(0x2fc)]);this[_0x445a9c(0x149)][_0x445a9c(0x33e)](_0x17f436,_0x39e467);}[_0x29331a(0x18a)](){const _0x33accf=_0x29331a;this[_0x33accf(0xd8)](),this[_0x33accf(0x1f8)]();}[_0x29331a(0x188)](){const _0x7a19af=_0x29331a;this[_0x7a19af(0x30b)]();}[_0x29331a(0xd8)](){const _0x24f125=_0x29331a;var _0x4a907d;const _0x33acdb=[[_0x2e3539],[_0x2a5adc],[_0x482d07],[_0x26c1ca],[_0x144f0d],[_0x56c537,{'useClass':_0x2e4a3d}],[_0x49efbc[_0x24f125(0x1b4)],{'useClass':_0x49efbc[_0x24f125(0x288)]}],[_0x598cf7[_0x24f125(0x13a)],{'useClass':_0x2c611b}],[_0x859d06['DesktopCollaborationStatusDisplayController']],[_0x25dfe0],[_0xb5ce92],[_0xbf522a],[_0x24d325],[_0x859d06[_0x24f125(0x152)]]];_0x3ed692['registerDependencies'](this['_injector'],_0x3ed692[_0x24f125(0x306)](_0x33acdb,(_0x4a907d=this[_0x24f125(0x2fc)])==null?void 0x0:_0x4a907d[_0x24f125(0x295)]));}['_registerRenderDependencies'](){const _0x31d23b=_0x29331a;this[_0x31d23b(0x234)](this[_0x31d23b(0x261)]['registerRenderModule'](_0x3ed692[_0x31d23b(0x2b3)][_0x31d23b(0x2fb)],[_0x2007b0])),this[_0x31d23b(0x234)](this['_renderManagerService']['registerRenderModule'](_0x3ed692[_0x31d23b(0x2b3)]['UNIVER_SHEET'],[_0x565d77]));}[_0x29331a(0x1f8)](){const _0x5553cd=_0x29331a;_0x3ed692[_0x5553cd(0x277)](this[_0x5553cd(0x23e)],[[_0xbf522a],[_0x859d06[_0x5553cd(0xef)]],[_0x25dfe0],[_0xb5ce92],[_0x859d06[_0x5553cd(0x152)]]]);}},_0xdbd17c(_0x859d06[_0x29331a(0x21a)],_0x29331a(0x27c),_0x3ffcda),_0x859d06[_0x29331a(0x21a)]=_0x17d10a([_0x3ed692[_0x29331a(0x1c1)](_0x598cf7[_0x29331a(0x2e0)]),_0xa12880(0x1,_0x419507[_0x29331a(0x1d4)]),_0xa12880(0x2,_0x3ed692[_0x29331a(0x17b)](_0x3ed692[_0x29331a(0xf7)])),_0xa12880(0x3,_0x3ed692[_0x29331a(0xe6)])],_0x859d06[_0x29331a(0x21a)]);var _0x2d7518=Object[_0x29331a(0x1bc)],_0x4c0fa7=(_0x1e6644,_0x1d8e8d,_0x491103,_0x5fe038)=>{for(var _0x8cbffb=_0x5fe038>0x1?void 0x0:_0x5fe038?_0x2d7518(_0x1d8e8d,_0x491103):_0x1d8e8d,_0x33c1de=_0x1e6644['length']-0x1,_0x43e187;_0x33c1de>=0x0;_0x33c1de--)(_0x43e187=_0x1e6644[_0x33c1de])&&(_0x8cbffb=_0x43e187(_0x8cbffb)||_0x8cbffb);return _0x8cbffb;},_0x1b686c=(_0x11f9ee,_0x928773)=>(_0x5d6b98,_0x38579f)=>_0x928773(_0x5d6b98,_0x38579f,_0x11f9ee);_0x859d06[_0x29331a(0x18c)]=class extends _0x598cf7[_0x29331a(0xe9)]{constructor(_0x3833bd,_0x51f77d,_0x50dbc6,_0x24e141,_0x180c73){super(_0x3833bd,_0x51f77d,_0x50dbc6,_0x24e141,_0x180c73);}async[_0x29331a(0x265)](_0x4dceed){const _0x50abe8=_0x29331a,_0x2a94a6=await this[_0x50abe8(0x2da)](),_0x4bb206=this[_0x50abe8(0x227)](_0x4dceed,_0x2a94a6);return this[_0x50abe8(0x1cf)](_0x4bb206);}[_0x29331a(0x227)](_0x1e1451,_0x2f05ee){const _0x4703d0=_0x29331a,_0x34d75e=typeof window>'u'?new URL(_0x1e1451):new URL(_0x1e1451,window[_0x4703d0(0x32a)][_0x4703d0(0x213)]);_0x34d75e['searchParams'][_0x4703d0(0x333)](_0x4703d0(0x25a),_0x2f05ee);const _0x524619=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location'][_0x4703d0(0x27e)]);return _0x524619[_0x4703d0(0x159)](_0x4703d0(0x31b))&&_0x34d75e['searchParams'][_0x4703d0(0x333)]('runId',_0x524619['get'](_0x4703d0(0x31b))),_0x34d75e[_0x4703d0(0x243)]();}async[_0x29331a(0x2da)](){const _0x395a3e=_0x29331a;var _0x4016ab,_0x320091,_0x437c9a;const _0xc38c2f=this[_0x395a3e(0x149)][_0x395a3e(0x369)](_0x598cf7['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x2b9c62=(_0x4016ab=_0xc38c2f==null?void 0x0:_0xc38c2f[_0x395a3e(0x164)])!=null?_0x4016ab:_0x598cf7[_0x395a3e(0x29d)];return(_0x437c9a=(_0x320091=(await this['_httpService'][_0x395a3e(0x159)](_0x2b9c62,{'headers':{'Content-Type':'application/json'}}))[_0x395a3e(0x172)])==null?void 0x0:_0x320091[_0x395a3e(0x11a)])!=null?_0x437c9a:'';}},_0x859d06[_0x29331a(0x18c)]=_0x4c0fa7([_0x1b686c(0x0,_0x3ed692[_0x29331a(0x17b)](_0x3ed692[_0x29331a(0xf7)])),_0x1b686c(0x1,_0x3ed692['Inject'](_0x49efbc[_0x29331a(0xd5)])),_0x1b686c(0x2,_0x3ed692[_0x29331a(0xe6)]),_0x1b686c(0x3,_0x3ed692[_0x29331a(0x2c2)]),_0x1b686c(0x4,_0x5ba996['ISnapshotServerService'])],_0x859d06[_0x29331a(0x18c)]);const _0x5ac7c3=0x7530,_0x53a356=_0x29331a(0x20b);class _0x33cae5 extends _0x3ed692['Disposable']{constructor(){const _0x3ae027=_0x29331a;super(),_0x1a32bd(this,_0x3ae027(0x14d),_0x3ed692[_0x3ae027(0x2d7)]()),_0x1a32bd(this,_0x3ae027(0x168),new Set()),_0x1a32bd(this,'_unitOnClients',new Map()),_0x1a32bd(this,_0x3ae027(0x310),null),_0x1a32bd(this,_0x3ae027(0x335),new Map()),_0x1a32bd(this,_0x3ae027(0x1af),new Map()),this['_init']();}[_0x29331a(0x2f0)](){const _0x5cbf73=_0x29331a;super[_0x5cbf73(0x2f0)](),this[_0x5cbf73(0x335)][_0x5cbf73(0x1da)]((_0x545050,_0x21982a)=>this[_0x5cbf73(0x186)](_0x21982a)),this[_0x5cbf73(0x310)]&&window['clearInterval'](this['_heartbeatTimer']);}[_0x29331a(0x271)](_0x555a8d){const _0x12ce4b=_0x29331a;return this[_0x12ce4b(0x20d)](_0x555a8d)['pipe'](_0x5e60be['distinctUntilChanged']());}[_0x29331a(0x1f9)](_0x3ae4fa){const _0x49aec9=_0x29331a;this['_selfUnitIDs'][_0x49aec9(0x1ca)]===0x0&&this[_0x49aec9(0x34d)](),this[_0x49aec9(0x168)]['add'](_0x3ae4fa),this[_0x49aec9(0x1f3)]({'type':0x0,'memberID':this[_0x49aec9(0x14d)],'unitIDs':[_0x3ae4fa],'isForwarded':!0x1});}[_0x29331a(0x1ba)](_0x367746){const _0x19b323=_0x29331a;this[_0x19b323(0x168)][_0x19b323(0x21e)](_0x367746),this['_selfUnitIDs'][_0x19b323(0x1ca)]===0x0&&this[_0x19b323(0x310)]&&window[_0x19b323(0x264)](this['_heartbeatTimer']);}['_init'](){const _0x556370=_0x29331a;this[_0x556370(0x234)](_0x3ed692[_0x556370(0x132)](_0x5e60be['fromEvent'](window,_0x556370(0x355))[_0x556370(0x1c4)](_0x68ff32=>{const _0x13f3c9=_0x556370;if(_0x68ff32[_0x13f3c9(0x1c0)]!==_0x53a356||!_0x68ff32[_0x13f3c9(0xe0)])return;const _0x4924fd=JSON[_0x13f3c9(0x10c)](_0x68ff32['newValue']);this[_0x13f3c9(0x26c)](_0x4924fd);}))),window['addEventListener'](_0x556370(0x2e8),()=>this[_0x556370(0x1f3)]({'type':0x1,'memberID':this[_0x556370(0x14d)],'unitIDs':Array[_0x556370(0x2ae)](this[_0x556370(0x168)])}));}['_handleEvent'](_0x9a5e8f){const _0x242c96=_0x29331a;switch(_0x9a5e8f[_0x242c96(0x321)]){case 0x0:this['_handleJoinEvent'](_0x9a5e8f);break;case 0x1:this[_0x242c96(0x117)](_0x9a5e8f);break;case 0x2:this[_0x242c96(0x178)](_0x9a5e8f);break;}}[_0x29331a(0x2d3)](_0x1f0c26){const _0x1c4665=_0x29331a,{unitIDs:_0x510c8b,memberID:_0xa0fa3b,isForwarded:_0x1d6ceb}=_0x1f0c26;_0x510c8b[_0x1c4665(0x1da)](_0x5b895d=>{const _0x40415e=_0x1c4665;if(!_0x1d6ceb&&this['_unitOnClients'][_0x40415e(0x194)](_0x5b895d)&&this[_0x40415e(0x20d)](_0x5b895d)[_0x40415e(0x1f4)](_0x598cf7[_0x40415e(0x237)][_0x40415e(0x255)]),!this[_0x40415e(0x285)][_0x40415e(0x194)](_0x5b895d)||!this['_unitOnClients'][_0x40415e(0x159)](_0x5b895d)[_0x40415e(0x194)](_0xa0fa3b)){const _0x193a5f=this['_unitOnClients'][_0x40415e(0x159)](_0x5b895d)||new Set();_0x193a5f['add'](_0xa0fa3b),this[_0x40415e(0x285)][_0x40415e(0x333)](_0x5b895d,_0x193a5f),this[_0x40415e(0x23d)](_0xa0fa3b);}}),_0x1d6ceb||this['_send']({'type':0x0,'memberID':this[_0x1c4665(0x14d)],'unitIDs':[...this[_0x1c4665(0x168)]],'isForwarded':!0x0});}[_0x29331a(0x23d)](_0x36bb41){const _0x5646ec=_0x29331a;this[_0x5646ec(0x186)](_0x36bb41);const _0x4583dd=window['setTimeout'](()=>{const _0x2d370a=_0x5646ec;this[_0x2d370a(0x285)][_0x2d370a(0x1da)](_0x43e004=>{_0x43e004['delete'](_0x36bb41);});},_0x5ac7c3*0x2);this[_0x5646ec(0x335)]['set'](_0x36bb41,_0x4583dd);}[_0x29331a(0x186)](_0x51f5b2){const _0x98f37c=_0x29331a;if(this[_0x98f37c(0x335)][_0x98f37c(0x194)](_0x51f5b2)){const _0x3cb7a3=this[_0x98f37c(0x335)][_0x98f37c(0x159)](_0x51f5b2);_0x3cb7a3&&window[_0x98f37c(0x17d)](_0x3cb7a3),this[_0x98f37c(0x335)]['set'](_0x51f5b2,null);}}[_0x29331a(0x117)](_0x82ee60){const _0x5ecc43=_0x29331a,{memberID:_0x5363f2,unitIDs:_0x28f0e3}=_0x82ee60;_0x28f0e3['forEach'](_0x3589fd=>{const _0x1a7ef0=_0xe20a;var _0x32418d;const _0x1d722d=this[_0x1a7ef0(0x285)][_0x1a7ef0(0x159)](_0x3589fd);_0x1d722d&&(_0x1d722d['delete'](_0x5363f2),(_0x32418d=this[_0x1a7ef0(0x20d)](_0x3589fd))==null||_0x32418d[_0x1a7ef0(0x1f4)](_0x1d722d[_0x1a7ef0(0x1ca)]===0x0?_0x598cf7[_0x1a7ef0(0x237)][_0x1a7ef0(0x1ce)]:_0x598cf7[_0x1a7ef0(0x237)][_0x1a7ef0(0x255)]));}),this[_0x5ecc43(0x186)](_0x5363f2);}[_0x29331a(0x178)](_0x4b5698){const _0x5d54f7=_0x29331a;this[_0x5d54f7(0x23d)](_0x4b5698[_0x5d54f7(0xf9)]);}[_0x29331a(0x1f3)](_0x37b1d0){const _0x599eb2=_0x29331a;localStorage[_0x599eb2(0x27b)](_0x53a356,JSON[_0x599eb2(0x19b)](_0x37b1d0));}[_0x29331a(0x34d)](){const _0x3a5bde=_0x29331a;this['_heartbeatTimer']=window[_0x3a5bde(0x286)](()=>{const _0x3015da=_0x3a5bde;this['_send']({'type':0x2,'memberID':this[_0x3015da(0x14d)]});},_0x5ac7c3);}['_ensureSubject'](_0x296aae){const _0x927f63=_0x29331a;return this['_unitStatus'][_0x927f63(0x194)](_0x296aae)||this[_0x927f63(0x1af)][_0x927f63(0x333)](_0x296aae,new _0x5e60be[(_0x927f63(0x24d))](_0x598cf7[_0x927f63(0x237)][_0x927f63(0x1ce)])),this[_0x927f63(0x1af)][_0x927f63(0x159)](_0x296aae);}}var _0x5d1563=(_0x4920b8=>(_0x4920b8[_0x4920b8[_0x29331a(0x1f2)]=0x0]='UNDEFINED',_0x4920b8[_0x4920b8['OK']=0x1]='OK',_0x4920b8[_0x4920b8[_0x29331a(0x2f3)]=0x2]='INTERNAL_ERROR',_0x4920b8[_0x4920b8['PERMISSION_DENIED']=0x3]=_0x29331a(0x1fe),_0x4920b8[_0x4920b8[_0x29331a(0x1c7)]=0x4]=_0x29331a(0x1c7),_0x4920b8[_0x4920b8[_0x29331a(0x2c4)]=0x5]=_0x29331a(0x2c4),_0x4920b8[_0x4920b8[_0x29331a(0x122)]=0x6]='ALREADY_EXISTS',_0x4920b8[_0x4920b8[_0x29331a(0x1fa)]=0x7]='INVALID_ARGUMENT',_0x4920b8[_0x4920b8[_0x29331a(0x2a3)]=0x8]='TOO_MANY_REQUESTS',_0x4920b8[_0x4920b8[_0x29331a(0x2ea)]=0x9]='COMPLETION_FINISHED',_0x4920b8[_0x4920b8[_0x29331a(0x121)]=0xa]=_0x29331a(0x121),_0x4920b8[_0x4920b8[_0x29331a(0x2b0)]=0xb]=_0x29331a(0x2b0),_0x4920b8[_0x4920b8[_0x29331a(0x15e)]=0xc]='MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED',_0x4920b8[_0x4920b8[_0x29331a(0x1e1)]=0xd]=_0x29331a(0x1e1),_0x4920b8[_0x4920b8[_0x29331a(0x331)]=0xe]=_0x29331a(0x331),_0x4920b8[_0x4920b8[_0x29331a(0x1ac)]=0x1389]=_0x29331a(0x1ac),_0x4920b8[_0x4920b8[_0x29331a(0x170)]=0x1771]=_0x29331a(0x170),_0x4920b8[_0x4920b8[_0x29331a(0x245)]=0x1772]=_0x29331a(0x245),_0x4920b8[_0x4920b8[_0x29331a(0x250)]=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x4920b8[_0x4920b8[_0x29331a(0x2c5)]=0x1b59]=_0x29331a(0x2c5),_0x4920b8[_0x4920b8['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]=_0x29331a(0x148),_0x4920b8[_0x4920b8[_0x29331a(0x1b6)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x4920b8[_0x4920b8[_0x29331a(0x281)]=0x1b5c]=_0x29331a(0x281),_0x4920b8[_0x4920b8[_0x29331a(0x303)]=0x1b5d]=_0x29331a(0x303),_0x4920b8[_0x4920b8[_0x29331a(0x1cc)]=0x1f41]=_0x29331a(0x1cc),_0x4920b8[_0x4920b8[_0x29331a(0x225)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x4920b8[_0x4920b8[_0x29331a(0x12c)]=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x4920b8[_0x4920b8[_0x29331a(0xcd)]=0x232b]=_0x29331a(0xcd),_0x4920b8[_0x4920b8[_0x29331a(0x158)]=0x232c]=_0x29331a(0x158),_0x4920b8[_0x4920b8[_0x29331a(0x34b)]=0x232d]=_0x29331a(0x34b),_0x4920b8[_0x4920b8[_0x29331a(0xe2)]=0x2711]=_0x29331a(0xe2),_0x4920b8[_0x4920b8[_0x29331a(0x1f7)]=0x2712]=_0x29331a(0x1f7),_0x4920b8[_0x4920b8[_0x29331a(0x30c)]=0x2713]=_0x29331a(0x30c),_0x4920b8[_0x4920b8[_0x29331a(0x35d)]=0x2714]=_0x29331a(0x35d),_0x4920b8[_0x4920b8[_0x29331a(0x226)]=0x271a]=_0x29331a(0x226),_0x4920b8[_0x4920b8[_0x29331a(0x2be)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x4920b8[_0x4920b8[_0x29331a(0x183)]=0x271c]=_0x29331a(0x183),_0x4920b8[_0x4920b8[_0x29331a(0x1a5)]=0x271d]=_0x29331a(0x1a5),_0x4920b8[_0x4920b8[_0x29331a(0xda)]=0x271e]=_0x29331a(0xda),_0x4920b8[_0x4920b8[_0x29331a(0x23b)]=0x271f]='YUUMI_AI_RUN_FAILED',_0x4920b8[_0x4920b8[_0x29331a(0x2bd)]=0x2720]=_0x29331a(0x2bd),_0x4920b8[_0x4920b8['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x29331a(0xd4),_0x4920b8[_0x4920b8[_0x29331a(0x18b)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x4920b8[_0x4920b8['INVALID_INVITE_CODE']=0x2ee2]=_0x29331a(0x2df),_0x4920b8[_0x4920b8[_0x29331a(0x29b)]=0x2ee3]='INVITE_CODE_REQUIRED',_0x4920b8[_0x4920b8['USER_NOT_INVITED_CODE']=0x2ee4]='USER_NOT_INVITED_CODE',_0x4920b8[_0x4920b8[_0x29331a(0x214)]=0x2ee5]=_0x29331a(0x214),_0x4920b8[_0x4920b8[_0x29331a(0x251)]=0x32c9]=_0x29331a(0x251),_0x4920b8[_0x4920b8[_0x29331a(0x2a1)]=0x32ca]=_0x29331a(0x2a1),_0x4920b8[_0x4920b8[_0x29331a(0x32f)]=0x32cb]=_0x29331a(0x32f),_0x4920b8[_0x4920b8[_0x29331a(0x2af)]=-0x1]=_0x29331a(0x2af),_0x4920b8))(_0x5d1563||{}),_0x2ad0b3=Object['getOwnPropertyDescriptor'],_0x162ae6=(_0x4a7fcb,_0x2773b9,_0x2273da,_0x5a28d3)=>{for(var _0x46bf33=_0x5a28d3>0x1?void 0x0:_0x5a28d3?_0x2ad0b3(_0x2773b9,_0x2273da):_0x2773b9,_0x2a3126=_0x4a7fcb['length']-0x1,_0x2aa6ed;_0x2a3126>=0x0;_0x2a3126--)(_0x2aa6ed=_0x4a7fcb[_0x2a3126])&&(_0x46bf33=_0x2aa6ed(_0x46bf33)||_0x46bf33);return _0x46bf33;},_0x51e384=(_0x52bdd6,_0x2afbd9)=>(_0x355561,_0x5675fa)=>_0x2afbd9(_0x355561,_0x5675fa,_0x52bdd6);_0x859d06[_0x29331a(0x326)]=class extends _0x3ed692[_0x29331a(0x35f)]{constructor(_0x264552,_0x44bf6a,_0x421b98){const _0x291c3c=_0x29331a;super(),this['_instanceService']=_0x264552,this[_0x291c3c(0x365)]=_0x44bf6a,this[_0x291c3c(0x149)]=_0x421b98;}async[_0x29331a(0x327)](_0x2f8f93,_0x34bba3,_0x2b7f48,..._0x7ad271){const _0x15c7b3=_0x29331a;var _0x596a55,_0x11f818,_0x773b09,_0x19e0de;const _0x3c5247=this[_0x15c7b3(0x200)]['getFocusedUnit']();if(!_0x3c5247)throw new Error(_0x15c7b3(0x2dc));const _0x3021d7=((_0x596a55=this['_configService'][_0x15c7b3(0x369)](_0x598cf7[_0x15c7b3(0x253)]))!=null?_0x596a55:_0x598cf7['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x2f8f93+_0x15c7b3(0x1c9)+_0x34bba3,_0x24cf31=new URL(window[_0x15c7b3(0x32a)][_0x15c7b3(0x362)]),_0x4291b6={'scriptId':_0x2f8f93,'runId':(_0x11f818=_0x24cf31[_0x15c7b3(0x2ee)]['get'](_0x15c7b3(0x31b)))!=null?_0x11f818:'','function':_0x34bba3,'unitId':_0x3c5247['getUnitId'](),'argsOfFunction':JSON[_0x15c7b3(0x19b)](_0x7ad271),'invokeId':(_0x773b09=_0x2b7f48[_0x15c7b3(0x15f)])!=null?_0x773b09:'','executionId':(_0x19e0de=_0x2b7f48[_0x15c7b3(0x334)])!=null?_0x19e0de:''};try{const _0x3e1525=await this[_0x15c7b3(0x365)][_0x15c7b3(0xce)](_0x3021d7,{'body':_0x4291b6});return _0x3e1525['body'][_0x15c7b3(0x2ce)]&&_0x3e1525[_0x15c7b3(0x172)][_0x15c7b3(0x2ce)][_0x15c7b3(0x174)]!==_0x5d1563['OK']?_0x15c7b3(0x25d):_0x3e1525[_0x15c7b3(0x172)][_0x15c7b3(0x111)];}catch{return'Failed';}}},_0x859d06['RemoteUniscriptService']=_0x162ae6([_0x51e384(0x0,_0x3ed692[_0x29331a(0x1d8)]),_0x51e384(0x1,_0x3ed692['Inject'](_0x49efbc['HTTPService'])),_0x51e384(0x2,_0x3ed692[_0x29331a(0xe6)])],_0x859d06[_0x29331a(0x326)]),_0x859d06[_0x29331a(0x2a9)]=_0x1fa59a,_0x859d06['IURLService']=_0x56c537,_0x859d06['SheetCollabCursorShape']=_0xcac5d2,_0x859d06[_0x29331a(0x236)]=_0x33cae5,_0x859d06[_0x29331a(0x1d3)]=_0x2e4a3d,Object[_0x29331a(0x26f)](_0x859d06,Symbol[_0x29331a(0x1ab)],{'value':_0x29331a(0x1e4)});}));function _0x1e62(){const _0x33bd02=['SheetsSelectionsService','_handleEvent','add','useCallback','defineProperty','bottom','getUnitStatus$','_refRangeService','getCurrent','useDependency','1em','Error','touchDependencies','round','getActiveRange','entries','setItem','pluginName','_univerInstanceService','search','serializeRangeWithSheet','SUBMIT_CHANGESET_TIMEOUT','APPLY_PERMISSION_DENIED','saveTaskMap','_init','transformSelections','_unitOnClients','setInterval','_hideTimer','WebSocketService','dispose$','UniverProCollaboration','_updateURLWithCurrentState','getUnitId','complete','textRanges','yellow.400','_dataLoaderService','substring','rxjs','_cachedData','getCoordByCell','override','_messageService','onPointerMove$','OffLineIcon','ITransformService','fromEventSubject','INVITE_CODE_REQUIRED','Rect','DEFAULT_WS_SESSION_TICKET_URL','url(#$1','_cursorShapes','_backgroundColor','MOBILE_HAS_BEEN_BOUND','createInstance','TOO_MANY_REQUESTS','_scheduleSaving','react/jsx-runtime','getColorFromTheme','LOCAL_CACHE_INTERVAL','unitId','CollaborationStatusDisplay','filter','icon','random','770129MvpLqw','from','UNRECOGNIZED','MOBILE_VERIFY_CODE_MISMATCH','trim','concat','UniverInstanceType','row','width','_removeCollabCursors','session.connection-failed','896439jISIVA','COLORS','SetSelectionsOperation','event$','saveImage','YUUMI_CONNECTOR_URL_NOT_FOUND','YUUMI_ASYNCIO_CANCELLED','_getAnchorBounding','setUndoRedoMutationParamsCache','USERS_LEAVE','ILogService','labelPosition','UNAUTHENTICATED','APPLY_REJECT','black','_startSheetCollabCursor','setParam','_initEvent','div','getSheetBySheetId','_initCommandExecutedListener','getTypeOfUnitAdded$','error','on-line-icon_clip0_910_349','TEXT','getActiveSheet','handleInsertRangeMoveRight','_handleJoinEvent','collabStatus.conflict','RemoveRowCommandId','_collabCursorState$','generateRandomId','redoState','_transformService','_getSessionTicket','_transformPreviousActiveRange','[RemoteUniscriptService]:\x20no\x20focused\x20unit','_entities','_transformUndoRedoStack','INVALID_INVITE_CODE','UniverCollaborationClientPlugin','IDocClipboardService','DOC_RANGE_TYPE','unshift','map','@univerjs/network','idSuffix','sessionStatus$','unload','assignAColorForMemberID','COMPLETION_FINISHED','_uiPartsService','_docSkeletonManagerService','DocSkeletonManagerService','searchParams','subscribeEvent','dispose','unsubscribe','getViewport','INTERNAL_ERROR','12521964AsXTsd','debounce','_online','@univerjs/sheets','eventID','transformMutation','_cursors','UNIVER_DOC','_config','merge','_hover','assign','_docTransformStateCacheService','2SMqGDx','Shape','APPLY_DUPLICATED','@univerjs/drawing','getColor','mergeOverrideWithDependencies','translate(.97)','HEADER_MENU','handleMoveRange','moveTo','_registerRenderDependencies','YUUMI_RATE_OVER_LIMIT','_localCacheService','UniverEngineRender','all','_heartbeatTimer','addObjects','cursorInfo$','_getSaveTimeout','prototype','displayName','clipPath','url(#off-line-icon_clip0_910_343)','7304742wqNVBj','exports','InsertRowCommandId','runId','_initStatusComponent','text','setActiveRange','handleIRemoveCol','debug','type','push','amd','arc','roomMembers','RemoteUniscriptService','runOnServer','SheetSkeletonManagerService','UniverUi','location','reconnect','saveOfflineData','PENDING','...','EMAIL_HAS_BEEN_BOUND','UniverCore','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','transformRemoteChangeset','set','executionId','_clearOtherTimers','DisposableCollection','findNodePositionByCharIndex','endColumn','popstate','requireSession','CONFLICT','NodePositionConvertToCursor','_labelPosition','setConfig','getValue','send','sheetId','restore','BuiltInUIPart','toRgbString','_docSyncEditingCollabCursorService','_themeService','getCollabEntity$','getMergeData','removeParam','backgroundColor','LICENSE_DISTRO_REJECTED','8LbxtOO','_scheduleHeartbeat','collabCursorState$','_notificationService','entityInit$','RichTextEditingMutation','collab-text-anchor-','_collaborationController','runRefRangeMutations','storage','connectInjector','Tools','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','measureText','_collaborationUIEventService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','collaboration-client.offline-data-not-saved','YUUMI_SUBSCRIPTION_NOT_FOUND','SetDocZoomRatioOperation','Disposable','CollaborationEvent','_drawRectRange','href','call','getVpScrollXYInfoByPosToVp','_httpService','_updateLocalCursor','TEXT_RANGE_LAYER_INDEX','_syncEditingCollabCursorService','getConfig','setShapeProps','LICENSE_IMPORT_SIZE_EXCEEDED','post','updateOfflineData','onLocalMutation','getFocusedUnit','_anchor','getStateCache','PY_RUNTIME_SCRIPT_ERROR','HTTPService','_name','skeleton','_registerDependencies','_saveTaskMap','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','SHEET_VIEWPORT_KEY','DataLoaderService','jsxs','_shapes','cursorInfo','newValue','FromArray','YUUMI_UNABLE_LOAD_URL','InsertColCommandId','colorChannel1','React','IConfigService','unit','imageSourceType','CollaborationSocketService','UniverSheets','split','SetWorksheetActivateCommand','hovered','onPointerLeave$','DesktopCollaborationStatusDisplayController','takeUntil','_hovered','replace','collabStatus.notCollab','collaboration.closeRoom','CollaborationUIEventId','Unknown\x20user','Injector','onTransformChange$','memberID','UniverProCollaborationClient','createIdentifier','_drawTextRange','none','exhaustSavingTask','getCurrentSelections','_updateCollabCursors','_localStorageService','svg','FETCH_MISS','roomMembers$','CollaborationController','_memberService','InsertRangeMoveRightCommandId','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','_setupBeforeClosingHandler','_draw','_startDocCollabCursor','parse','deepClone','isEditing','InsertRangeMoveDownCommandId','M0\x200H16V16H0z','result','567660iBldtK','@univerjs-pro/collaboration-client','blue.400','_lastPointer','session.will-retry','_handleLeaveEvent','_colorAssignService','_updateSubUnitFromURLParams','ticket','mask','getUniverSheetInstance','7rImyOB','drawWith','NOT_COLLAB','transformMutationsWithChangeset','LOGIN_FAILED','ALREADY_EXISTS','_cursorInfo$','includes','DocSelectionManagerService','CollaborationStatus','pipe','_urlService','evenodd','LocaleService','_anchorDot','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','getItem','getAncestorScale','m1Prime','handleInsertCol','univerjs-icon\x20univerjs-icon-','toDisposable','function','UniverDocsUi','_context','_render','docStateChange$','registerBeforeClose','useObservable','ILocalCacheService','string','executeCommand','ThemeService','RxDisposable','onCommandExecuted','disableLocalCache','fillRule','on-line-icon','undoState','unitID','values','setStateCache','mutations','APPLY_NON_SEQUENTIAL_REVISION','_configService','save','urlChange$','isActive','_id','AWAITING_WITH_PENDING','http://www.w3.org/2000/svg','color','@univerjs/docs','CollaborationDataLoaderController','getLocalCacheKey','10kGBHfB','hasOwnProperty','getRenderById','session.collaboration-timeout','LICENSE_EXPORT_SIZE_EXCEEDED','get','_imageIoService','EffectRefRangId','handleInsertRow','transformIMECache','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','invokeId','_cursor','_onCursorDelete','beginPath','isTransformMutationsWithChangesetSuccess','wsSessionTicketUrl','univer-mr-2\x20univer-flex\x20univer-text-xl','operators','off-line-icon','_selfUnitIDs','transform','getDocRanges','debounceTime','endRow','_transformHistoryAndStateStack','OFFLINE','DeleteRangeMoveUpCommandId','SNAPSHOT_INVALID_SNAPSHOT','className','body','font','code','min','handleDeleteRangeMoveUp','addObject','_handleHeartbeatEvent','collabStatus.synced','ColorKit','Inject','@univerjs/sheets-ui','clearTimeout','_toggleOffline','_toggleOnline','collabStatus.offline','@univerjs/docs-ui','then','YUUMI_TABLE_NOT_FOUND_IN_UNIT','collab-text-range-','_range','_removeClearOtherTimer','isArray','onRendered','_session','onStarting','INVITE_CODE_HAS_BEEN_UES','BrowserCollaborationSocketService','_saveCache','with','getTypeOfUnitDisposed$','_entityInit$','range','setAlpha','engine','has','subUnitId','collaboration.single-unit.warning','path','SYNCED','asObservable','propertyIsEnumerable','stringify','addClipboardHook','_disabled','selection','attrs','addHandlerCallback','lineTo','RemoveColCommandId','_docTransformSelectionsService','RECT','YUUMI_ALL_TABLES_IS_INVALID','getParam','@univerjs/core','getUnhiddenWorksheets','MemberService','getSkeleton','toStringTag','CHANGESET_REVISION_CONFILICT','UniverDocs','Vector2','_unitStatus','_onRefRangeChange','_setupSubUnitSync','JOIN_ROOM_FAILED','data','ISocketService','_status$','APPLY_REVISION_CONFILICT','pushState','Subject','#FFF','disposeUnit','_refreshCollabCursors','getOwnPropertyDescriptor','show','OnLineIcon','replaceState','key','DependentOn','UniverSheetsUi','0\x200\x2017\x2016','subscribe','getOffsetConfig','fill','NOT_FOUND','collaboration-client-ui.config','/run/','size','getMemberID','CONNECTOR_DATA_TOO_LARGE','getSheetId','NO_OTHER_CLIENTS_EDITING','_doCreateSocket','4942200edPACK','use','selections','WebURLService','IRenderManagerService','IImageIoService','_docTransformIMECacheService','UNIVER_SHEET','IUniverInstanceService','currentColor','forEach','_getScale','length','fillStyle','UniverIcon','CommandType','_color','EMAIL_VERIFY_CODE_MISMATCH','useRef','transformByState','Module','_localeService','extend','init','defIds','@univerjs/engine-render','m2Prime','white','UniverEngineFormula','_scene','_revisionService','loadUnit','_handleHover','Plugin','UNDEFINED','_send','next','contains','_onCursorUpdate','YUUMI_URL_COL_OUT_OF_RANGE','_initDependencies','editingUnit','INVALID_ARGUMENT','currentSkeleton$','height','RegularPolygon','PERMISSION_DENIED','hide','_instanceService','DeleteRangeMoveLeftCommandId','red.300','resize','isTransformMutationFailure','makeDirty','_sheetSkeletonManagerService','column','univer-flex\x20univer-items-center','1339041tivsiA','top','ACTIVE_UNIT_EVENT_CHANNEL','getUndoRedoMutationParamsCache','_ensureSubject','history','getRelativeToViewportCoord','SOCKET_FAILED','forwardRef','defs','origin','INVITE_CODE_ALREADY_BOUND','handleInsertRangeMoveDown','NodePositionConvertToRectRange','MoveRangeCommandId','fromEvent','jsx','UniverCollaborationClientUIPlugin','ICommandService','MessageType','[CollaborationDataLoaderController]','delete','UniverNetwork','_eventUnsubscribe','ranges','_drawAnchor','clsx','_initEntityListener','LICENSE_MAX_UNITS_EXCEEDED','YUUMI_NO_CUBOID_FOR_QUESTION','_createSocketURL','xlink:href','registerRefRange','transformStateCache','SessionStatus','doc.mutation.rich-text-editing','_getMergeRange','getRangePointData','children','replaceDocRanges','Warning','_collabCursorController','switchMap','disposeWithMe','_docClipboardService','WebBrowserSingleActiveUnitService','UnitStatus','_colorIndex','params','_commandService','YUUMI_AI_RUN_FAILED','20NsPkBB','_scheduleClearOtherTimer','_injector','IUIPartsService','_beforeCloseService','url(#on-line-icon_clip0_910_349)','onPointerEnter$','toString','UniverProCollaborationClientUi','SNAPSHOT_HAS_BEEN_REMOVED','_initStatusListener','getCollabCursors$','collabStatus.syncing','apply','closePath','_collabSessionService','fillText','BehaviorSubject','_logService','activeSheet$','ENSURE_SNAPSHOT_EXECUTION','WECHAT_HAS_BEEN_BOUND','onMouseMove','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','subunit','OTHER_CLIENTS_EDITING','_docStateChangeManagerService','_assignedColors','uni.network.url-service','name','sessionTicket','getOwnPropertySymbols','currentTheme$','Failed','@univerjs-pro/collaboration','startsWith','_textBubble','_renderManagerService','createElement','DocIMEInputManagerService','clearInterval','createSocket','_roomMembers$','symbol','UPDATE_CURSOR','DocStateChangeManagerService','syncEditingCollabCursor'];_0x1e62=function(){return _0x33bd02;};return _0x1e62();}
|