@univerjs-pro/collaboration-client-ui 0.7.0-nightly.202505181606 → 0.7.0-nightly.202505201607
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/cjs/facade.js +1 -1
- package/lib/cjs/index.js +1 -1
- package/lib/cjs/locale/en-US.js +1 -1
- package/lib/cjs/locale/fa-IR.js +1 -1
- package/lib/cjs/locale/fr-FR.js +1 -1
- package/lib/cjs/locale/ru-RU.js +1 -1
- package/lib/cjs/locale/vi-VN.js +1 -1
- package/lib/cjs/locale/zh-CN.js +1 -1
- package/lib/cjs/locale/zh-TW.js +1 -1
- package/lib/es/facade.js +1 -1
- package/lib/es/index.js +1 -1
- package/lib/es/locale/en-US.js +1 -1
- package/lib/es/locale/fa-IR.js +1 -1
- package/lib/es/locale/fr-FR.js +1 -1
- package/lib/es/locale/ru-RU.js +1 -1
- package/lib/es/locale/vi-VN.js +1 -1
- package/lib/es/locale/zh-CN.js +1 -1
- package/lib/es/locale/zh-TW.js +1 -1
- package/lib/facade.js +1 -1
- package/lib/index.js +1 -1
- package/lib/locale/en-US.js +1 -1
- package/lib/locale/fa-IR.js +1 -1
- package/lib/locale/fr-FR.js +1 -1
- package/lib/locale/ru-RU.js +1 -1
- package/lib/locale/vi-VN.js +1 -1
- package/lib/locale/zh-CN.js +1 -1
- package/lib/locale/zh-TW.js +1 -1
- package/lib/umd/facade.js +1 -1
- package/lib/umd/index.js +1 -1
- package/lib/umd/locale/en-US.js +1 -1
- package/lib/umd/locale/fa-IR.js +1 -1
- package/lib/umd/locale/fr-FR.js +1 -1
- package/lib/umd/locale/ru-RU.js +1 -1
- package/lib/umd/locale/vi-VN.js +1 -1
- package/lib/umd/locale/zh-CN.js +1 -1
- package/lib/umd/locale/zh-TW.js +1 -1
- package/package.json +15 -15
package/lib/umd/index.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x222d(_0xcd4c06,_0x5efa0b){const _0x32d0fd=_0x32d0();return _0x222d=function(_0x222d7b,_0x25a689){_0x222d7b=_0x222d7b-0x114;let _0x49c271=_0x32d0fd[_0x222d7b];return _0x49c271;},_0x222d(_0xcd4c06,_0x5efa0b);}function _0x32d0(){const _0x51a3e4=['attrs','sheetID','getLocalCacheKey','0\x200\x2016\x2016','18VeUjvk','resize','_uiPartsService','debounceTime','APPLY_NON_SEQUENTIAL_REVISION','min','INVITE_CODE_REQUIRED','getDocRanges','includes','_scheduleHeartbeat','connectInjector','UniverEngineRender','range','disposeWithMe','Shape','useDependency','_color','_anchor','registerRefRange','setActiveRange','_lastPointer','HTTPService','MUTATION','apply','runOnServer','getUnhiddenWorksheets','transformStateCache','startsWith','ALREADY_EXISTS','operators','_send','JOIN_ROOM_FAILED','UniverCollaborationClientPlugin','black','DocIMEInputManagerService','registerRenderModule','restore','_eventUnsubscribe','getMergeData','transformMutation','_startSheetCollabCursor','getCollabCursors$','createInstance','2224602hFiDuz','jsx','_updateSubUnitFromURLParams','handleInsertCol','evenodd','map','CollaborationEvent','row','getUnitId','IMessageService','_handleJoinEvent','next','useObservable','OTHER_CLIENTS_EDITING','asObservable','getRelativeToViewportCoord','jiqing.500','saveOfflineData','session.connection-failed','init','INVITE_CODE_HAS_BEEN_UES','handleIRemoveCol','setUndoRedoMutationParamsCache','_saveCache','getUniverSheetInstance','UniverSheetsUi','saveTaskMap','_anchorDot','180138XnGURl','getFocusedUnit','xlink:href','_saveTaskMap','ColorKit','_collabCursorState$','measureText','backgroundColor','_status$','addObjects','getCellPositionByOffset','Inject','extend','BrowserCollaborationSocketService','RxDisposable','_getMergeRange','trim','_cursorShapes','_injector','BehaviorSubject','imageSourceType','SetWorksheetActivateCommand','values','getSheetObject','onPointerMove$','SetDocZoomRatioOperation','contains','MemberService','_id','_unitOnClients','whenReady','handleDeleteRangeMoveLeft','skeleton','_docTransformStateCacheService','setParam','location','_docClipboardService','clearInterval','NOT_COLLAB','getColorFromTheme','jsxs','Module','unsubscribe','stringify','debug','TEXT','clipPath','fromEvent','substring','@univerjs/sheets','APPLY_REJECT','_name','_selfUnitIDs','LICENSE_IMPORT_SIZE_EXCEEDED','_setupBeforeClosingHandler','createSocket','InsertRangeMoveRightCommandId','_render','[CollaborationDataLoaderController]','Failed','SNAPSHOT_INVALID_SNAPSHOT','combineLatest','merge','ITransformService','9BKtRmr','_updateURLWithCurrentState','handleInsertRow','font','IRemoteInstanceService','CONNECTOR_DATA_TOO_LARGE','shareReplay','isActive','YUUMI_URL_COL_OUT_OF_RANGE','makeDirty','Subject','send','react','getSheetId','_labelPosition','3008410SkGtsu','_initResize','InsertRowCommandId','_getScale','registerBeforeClose','hovered','complete','collabStatus.fetchMiss','mapTo','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','getViewport','RefRangeService','getParam','SOCKET_FAILED_RETRY','color','LOGIN_FAILED','replaceState','searchParams','UniverDocs','isTransformMutationsWithChangesetSuccess','use','sessionTicket','collabStatus.notCollab','ACTIVE_UNIT_EVENT_CHANNEL','0\x200\x2017\x2016','_session','_unitStatus','requireSession','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_ensureSubject','InsertRangeMoveDownCommandId','_online','roomMembers','UniverDocsUi','RECT','_updateLocalCursor','@univerjs/design','YUUMI_ALL_TABLES_IS_INVALID','handleMoveRange','IDocClipboardService','getOffsetConfig','collab-text-anchor-','get','entries','_shapes','UPDATE_CURSOR','doc.mutation.rich-text-editing','LICENSE_DISTRO_REJECTED','tag','pushState','_transformHistoryAndStateStack','displayName','_notificationService','name','SYNCED','IURLService','HEADER_MENU','collaboration.closeRoom','then','FromArray','_createSocketURL','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','@univerjs/sheets-ui','collabStatus.conflict','INVALID_INVITE_CODE','_context','UniverUi','4791809RBjXZA','object','from','36031hRzOMz','_toggleOffline','transformSelections','green.600','react/jsx-runtime','_textBubble','takeUntil','_sheetSkeletonManagerService','getUndoRedoMutationParamsCache','@univerjs/engine-formula','addObject','getTypeOfUnitAdded$','_heartbeatTimer','syncEditingCollabCursor','232GNiJBr','LOCAL_CACHE_INTERVAL','eventID','BuiltInUIPart','CollaborationController','UNIVER_DOC','_httpService','removeParam','MOBILE_HAS_BEEN_BOUND','memberID','debounce','FETCH_MISS','runRefRangeMutations','currentColor','assign','_removeClearOtherTimer','getOwnPropertyDescriptor','UNRECOGNIZED','throttleTime','children','OffLineSingle','YUUMI_RATE_OVER_LIMIT','_handleHeartbeatEvent','_docTransformSelectionsService','CollaborationUIEventId','generateRandomId','delete','getAncestorScale','permission.content','WebURLService','IUniverInstanceService','ILocalCacheService','defIds','session.collaboration-timeout','_transformPreviousActiveRange','_localStorageService','executeCommand','_cursors','getActiveRange','subUnitId','YUUMI_SUBSCRIPTION_NOT_FOUND','exports','rgba(255,\x20255,\x20255,\x200.01)','hasOwnProperty','top','CLOSE_ROOM','beginPath','INVALID_ARGUMENT','textRanges','@univerjs/rpc','actions','_initCommandExecutedListener','getRenderById','YUUMI_ASYNCIO_CANCELLED','YUUMI_NO_CUBOID_FOR_QUESTION','_initDependencies','invokeId','592970OoRclH','_colorIndex','activeSheet$','red.300','UniverProCollaborationClientUi','_clearOtherTimers','concat','_renderManagerService','getStateCache','getItem','collab-rect-range-','rxjs/operators','CollaborationStatusDisplay','Unknown\x20user','#FFF','_collabCursorController','getOwnPropertySymbols','max','_onCursorUpdate','event$','UNIVER_SHEET','Disposable','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','endColumn','SheetsSelectionsService','forEach','DocSkeletonManagerService','ONLINE','RichTextEditingMutation','_getSheetObject','_dataLoaderService','find','IConfigService','pipe','CHANGESET_REVISION_CONFILICT','MoveRangeCommandId','Plugin','filter','SetSelectionsOperation','_scheduleClearOtherTimer','SHEET_VIEWPORT_KEY','sheetId','triggerDblclick','_commandService','popstate','result','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','all','[RemoteUniscriptService]:\x20no\x20focused\x20unit','UniverDesign','has','height','642364CBytUf','updateOfflineData','setConfig','Injector','getCoordByCell','_handleEvent','flatMap','_cachedData','size','DocStateChangeManagerService','_scene','UniverEngineFormula','_initEntityListener','CollaborationSocketService','_cursor','_hover','isEditing','_collabSessionService','onRendered','cursorInfo','_transformUndoRedoStack','_entities','_transformService','url(#on-line-single_clip0_910_349)','getMember','SetTextSelectionsOperation','LICENSE_MAX_UNITS_EXCEEDED','getVpScrollXYInfoByPosToVp','off-line-single_clip0_910_343','_drawTextRange','loadOfflineData','selection','INotificationService','getCurrent','M0\x200H16V16H0z','getColor','NodePositionConvertToRectRange','newValue','UniverInstanceType','_localeService','indexOf','runId','ThemeService','_colorAssignService','IUIPartsService','bottom','url(#$1','serializeRangeWithSheet','defs','ticket','unitID','@univerjs/drawing','div','selections','rxjs','save','_messageService','push','TEXT_RANGE_LAYER_INDEX','@univerjs/docs-ui','SOCKET_FAILED','useRef','_cursorInfo$','origin','APPLY_DUPLICATED','subscribe','forwardRef','Rectangle','_collaborationUIEventService','call','handleInsertRangeMoveDown','IRenderManagerService','_config','clearTimeout','source','_disabled','UniverNetwork','@univerjs/engine-render','ranges','EMAIL_HAS_BEEN_BOUND','USERS_LEAVE','#fff','path','UniverProCollaborationClient','wsSessionTicketUrl','width','code','set','DesktopCollaborationStatusDisplayController','_getSessionTicket','_registerRenderDependencies','Workbook','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','isTransformMutationFailure','transformMutationsWithChangeset','WebBrowserSingleActiveUnitService','setTimeout','symbol','setShapeProps','onMouseMove','none','switchMap','RevisionService','_docStateChangeManagerService','CollaborationStatus','findNodePositionByCharIndex','registerDependencies','getSheetBySheetId','EffectRefRangId','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','DeleteRangeMoveLeftCommandId','dispose$','_refRangeService','@univerjs/ui','ILogService','APPLY_REVISION_CONFILICT','application/json','CONFLICT','_docSyncEditingCollabCursorService','RemoveColCommandId','body','_document','setAlpha','setInterval','saveImage','NO_OTHER_CLIENTS_EDITING','add','_scheduleSaving','toRgbString','_registerDependencies','_themeService','MessageType','currentSkeleton$','PERMISSION_DENIED','_drawRectRange','_roomMembers$','Tools','unshift','@univerjs-pro/collaboration-client','entityInit$','PENDING','_hideTimer','@univerjs/core','exhaustSavingTask','parse','_configService','unit','_startDocCollabCursor','CollaborationDataLoaderController','roomMembers$','type','1em','_backgroundColor','_docSkeletonManagerService','function','_urlService','_toggleOnline','transformIMECache','string','_revisionService','_onCursorDelete','show','_imageIoService','_initEvent','getTypeOfUnitDisposed$','_localCacheService','DOC_RANGE_TYPE','_handleHover','SessionStatus','collab-text-range-','labelPosition','Vector2','undoState','ISocketService','_range','getSkeleton','lineTo','_memberService','_instanceService','_getSaveTimeout','colorChannel1','onPointerLeave$','moveTo','transformRemoteChangeset','getConfig','round','cursorInfo$','setItem','with','_init','toDisposable','DEFAULT_WS_SESSION_TICKET_URL','fillRule','COMPLETION_FINISHED','onCommandExecuted','onLocalMutation','_drawAnchor','endRow','m2Prime','arc','_collaborationController','Rect','_docTransformIMECacheService','45DQsNDf','getCollabEntity$','handleIRemoveRow','column','toString','COLORS','unitId','amd','split','drawWith','RegularPolygon','defineProperty','DataLoaderService','_updateCollabCursors','TOO_MANY_REQUESTS','params','svg','sessionStatus$','_beforeCloseService','OTHER_CLIENT_EDITING','SheetSkeletonManagerService','getCurrentSelections','handleInsertRangeMoveRight','React','getUnitStatus$','deserializeRangeWithSheet','AWAITING_WITH_PENDING','UNDEFINED','editingUnit','unload','_entityInit$','mask','urlChange$','_hovered','data','RemoteUniscriptService','UniverCore','collabCursorState$','UniverProCollaboration','YUUMI_TABLE_NOT_FOUND_IN_UNIT','collaboration-client-ui.config','subscribeEvent','registerComponent','WECHAT_HAS_BEEN_BOUND','LocaleService','mergeOverrideWithDependencies','Warning','_refreshCollabCursors','clsx','UniverCollaborationClientUIPlugin','DisposableCollection','some','getRangePointData','idSuffix','UnitStatus','history','...','WebSocketService','on-line-single','fillText','assignAColorForMemberID','_handleLeaveEvent','_syncEditingCollabCursorService','icon','getMemberID','fill','dispose','YUUMI_AI_RUN_FAILED','className','DocCollaborationEntity','prototype','ICommandService','hide','uni.network.url-service','Error','currentTheme$','current','UniverDrawing','DocSelectionManagerService','_setupSubUnitSync','PY_RUNTIME_SCRIPT_ERROR','USER_NOT_INVITED_CODE','length','transform','href','redoState','UNAUTHENTICATED','OFFLINE','m1Prime','_draw','subunit','_assignedColors','@univerjs/network','collaboration-client.offline-data-not-saved','touchDependencies','session.will-retry','collabStatus.syncing','_univerInstanceService','INVITE_CODE_ALREADY_BOUND','collaboration.single-unit.warning','APPLY_PERMISSION_DENIED','univerjs-icon\x20univerjs-icon-','createIdentifier','IBeforeCloseService','deepClone','collab-client.tooltip.reconnect','mutations','storage','CollaborationSessionService','purple.300','addClipboardHook','LICENSE_EXPORT_SIZE_EXCEEDED','random','error','replace','text','createElement','SNAPSHOT_HAS_BEEN_REMOVED','onPointerEnter$','YUUMI_UNABLE_LOAD_URL','enableLocalCache','INTERNAL_ERROR','_removeCollabCursors','isArray','getValue','_initStatusComponent','@univerjs/docs','SheetCollabCursorShape'];_0x32d0=function(){return _0x51a3e4;};return _0x32d0();}(function(_0x3325b4,_0x5a5ae2){const _0x2df7ee=_0x222d,_0x536d40=_0x3325b4();while(!![]){try{const _0x37f0c4=-parseInt(_0x2df7ee(0x2e1))/0x1*(parseInt(_0x2df7ee(0x205))/0x2)+parseInt(_0x2df7ee(0x28c))/0x3*(-parseInt(_0x2df7ee(0x35c))/0x4)+-parseInt(_0x2df7ee(0x29b))/0x5+parseInt(_0x2df7ee(0x230))/0x6+-parseInt(_0x2df7ee(0x24c))/0x7*(-parseInt(_0x2df7ee(0x2ef))/0x8)+parseInt(_0x2df7ee(0x181))/0x9*(parseInt(_0x2df7ee(0x328))/0xa)+parseInt(_0x2df7ee(0x2de))/0xb;if(_0x37f0c4===_0x5a5ae2)break;else _0x536d40['push'](_0x536d40['shift']());}catch(_0x9d8598){_0x536d40['push'](_0x536d40['shift']());}}}(_0x32d0,0x6bc4f),function(_0x31f457,_0x348fa5){const _0x5efd31=_0x222d;typeof exports==_0x5efd31(0x2df)&&typeof module<'u'?_0x348fa5(exports,require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require(_0x5efd31(0x3a9)),require(_0x5efd31(0x1dd)),require('@univerjs/docs-ui'),require(_0x5efd31(0x38f)),require(_0x5efd31(0x392)),require(_0x5efd31(0x1ff)),require('@univerjs-pro/collaboration'),require(_0x5efd31(0x2ea)),require(_0x5efd31(0x27d)),require(_0x5efd31(0x333)),require(_0x5efd31(0x2d9)),require('react/jsx-runtime'),require('@univerjs/ui'),require(_0x5efd31(0x2bf)),require(_0x5efd31(0x298)),require(_0x5efd31(0x320))):typeof define=='function'&&define[_0x5efd31(0x188)]?define([_0x5efd31(0x318),_0x5efd31(0x140),_0x5efd31(0x144),'@univerjs/engine-render',_0x5efd31(0x1dd),_0x5efd31(0x397),'@univerjs/drawing',_0x5efd31(0x392),_0x5efd31(0x1ff),'@univerjs-pro/collaboration','@univerjs/engine-formula',_0x5efd31(0x27d),_0x5efd31(0x333),'@univerjs/sheets-ui',_0x5efd31(0x2e5),_0x5efd31(0x127),_0x5efd31(0x2bf),'react','@univerjs/rpc'],_0x348fa5):(_0x31f457=typeof globalThis<'u'?globalThis:_0x31f457||self,_0x348fa5(_0x31f457[_0x5efd31(0x32c)]={},_0x31f457[_0x5efd31(0x3af)],_0x31f457[_0x5efd31(0x1a5)],_0x31f457[_0x5efd31(0x210)],_0x31f457[_0x5efd31(0x3a8)],_0x31f457[_0x5efd31(0x2bc)],_0x31f457[_0x5efd31(0x1ce)],_0x31f457['rxjs'],_0x31f457[_0x5efd31(0x2ad)],_0x31f457[_0x5efd31(0x1a7)],_0x31f457[_0x5efd31(0x367)],_0x31f457['UniverSheets'],_0x31f457[_0x5efd31(0x392)][_0x5efd31(0x222)],_0x31f457[_0x5efd31(0x249)],_0x31f457[_0x5efd31(0x198)],_0x31f457[_0x5efd31(0x2dd)],_0x31f457[_0x5efd31(0x359)],_0x31f457[_0x5efd31(0x198)],_0x31f457['UniverRpc']));}(this,function(_0x58baf5,_0x2023db,_0x58b3ad,_0x839618,_0x22d557,_0x2e0d09,_0x4a52f9,_0x6dabd3,_0x54ca13,_0x44c456,_0xd290cd,_0x3a3c4e,_0x2f5382,_0x31b2f1,_0x5116ef,_0x1a2ea0,_0x43985a,_0xf0b2ac,_0x47f72b){'use strict';const _0x4db1c3=_0x222d;var _0x3e77b4=Object['defineProperty'],_0x308c07=(_0x2fc093,_0x424520,_0x55c710)=>_0x424520 in _0x2fc093?_0x3e77b4(_0x2fc093,_0x424520,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x55c710}):_0x2fc093[_0x424520]=_0x55c710,_0x1fc77e=(_0x1ef3cb,_0x43ef71,_0xf6bbcf)=>_0x308c07(_0x1ef3cb,typeof _0x43ef71!=_0x4db1c3(0x117)?_0x43ef71+'':_0x43ef71,_0xf6bbcf),_0x14a1cc=Object['getOwnPropertyDescriptor'],_0x166f6f=(_0x567d0b,_0x3f3df0,_0x52983f,_0x4314d3)=>{const _0x112798=_0x4db1c3;for(var _0x3da7e1=_0x4314d3>0x1?void 0x0:_0x4314d3?_0x14a1cc(_0x3f3df0,_0x52983f):_0x3f3df0,_0x270562=_0x567d0b[_0x112798(0x1d3)]-0x1,_0x1f7b48;_0x270562>=0x0;_0x270562--)(_0x1f7b48=_0x567d0b[_0x270562])&&(_0x3da7e1=_0x1f7b48(_0x3da7e1)||_0x3da7e1);return _0x3da7e1;},_0x4c6900=(_0x194bf3,_0x4a8520)=>(_0x493e73,_0x469a55)=>_0x4a8520(_0x493e73,_0x469a55,_0x194bf3);let _0x10030f=class extends _0x58b3ad[_0x4db1c3(0x25a)]{constructor(_0x1d60c3,_0x12bce1){const _0xdbdcd4=_0x4db1c3;super(),this[_0xdbdcd4(0x270)]=_0x1d60c3,this[_0xdbdcd4(0x158)]=_0x12bce1,this['_init']();}[_0x4db1c3(0x173)](){const _0x2e5186=_0x4db1c3,_0x41294e=this;this[_0x2e5186(0x212)](this['_docClipboardService'][_0x2e5186(0x1ef)]({'onBeforePasteImage':async _0x136745=>{const _0x5d5c65=_0x2e5186,_0x5bf58e=await _0x41294e['_imageIoService'][_0x5d5c65(0x132)](_0x136745);return _0x5bf58e?{'source':_0x5bf58e[_0x5d5c65(0x3a6)],'imageSourceType':_0x5bf58e[_0x5d5c65(0x260)]}:null;}}));}};_0x10030f=_0x166f6f([_0x4c6900(0x0,_0x2e0d09[_0x4db1c3(0x2c2)]),_0x4c6900(0x1,_0x4a52f9['IImageIoService'])],_0x10030f);const _0x1ba055=[_0x4db1c3(0x1ee),_0x4db1c3(0x240),_0x4db1c3(0x2e4),_0x4db1c3(0x32b),'blue.400','yellow.400'];class _0x3b2cd0 extends _0x58b3ad['Disposable']{constructor(){const _0x376bd6=_0x4db1c3;super(...arguments),_0x1fc77e(this,_0x376bd6(0x1dc),new Map()),_0x1fc77e(this,_0x376bd6(0x329),0x0);}[_0x4db1c3(0x1bd)](_0x41a309){const _0x2ec50f=_0x4db1c3;if(this[_0x2ec50f(0x1dc)][_0x2ec50f(0x35a)](_0x41a309))return this[_0x2ec50f(0x1dc)]['get'](_0x41a309);const _0x563b34=_0x1ba055[this[_0x2ec50f(0x329)]];return this[_0x2ec50f(0x329)]=(this[_0x2ec50f(0x329)]+0x1)%_0x1ba055[_0x2ec50f(0x1d3)],this[_0x2ec50f(0x1dc)][_0x2ec50f(0x3b3)](_0x41a309,_0x563b34),_0x563b34;}}function _0x435a91(_0x5c8d75){const _0x2981ff=_0x4db1c3;let _0x1992c6='';for(const _0x230f8a of _0x5c8d75){const {startOffset:_0x5bcd11,endOffset:_0x502419,isActive:_0x21a183,rangeType:_0x548813,segmentId:_0x8bfc46,segmentPage:_0x182975}=_0x230f8a;_0x1992c6[_0x2981ff(0x1d3)]&&(_0x1992c6+=','),_0x1992c6+=_0x5bcd11+':'+_0x502419+':'+(_0x21a183?'1':'0')+':'+_0x548813+':'+_0x8bfc46+':'+_0x182975;}return _0x1992c6;}function _0x1aabfe(_0x4e9807){const _0x5693b2=_0x4db1c3,_0x44f90e=_0x4e9807['split'](','),_0x5c3737=[];for(const _0x1f4c90 of _0x44f90e){const [_0x5ef6b2,_0x7f1fc6,_0x4aaf0a,_0x2a6563,_0x506771,_0x5014a6]=_0x1f4c90[_0x5693b2(0x189)](':');_0x5c3737[_0x5693b2(0x395)]({'startOffset':Number(_0x5ef6b2),'endOffset':Number(_0x7f1fc6),'collapsed':_0x5ef6b2===_0x7f1fc6,'isActive':_0x4aaf0a==='1','rangeType':_0x2a6563===_0x58b3ad[_0x5693b2(0x15c)][_0x5693b2(0x279)]?_0x58b3ad[_0x5693b2(0x15c)][_0x5693b2(0x279)]:_0x58b3ad[_0x5693b2(0x15c)]['RECT'],'segmentId':typeof _0x506771==_0x5693b2(0x154)?String(_0x506771):'','segmentPage':Number(_0x5014a6!=null?_0x5014a6:-0x1)});}return _0x5c3737[_0x5693b2(0x1b4)](_0x5639af=>_0x5639af[_0x5693b2(0x293)])||(_0x5c3737[0x0]['isActive']=!0x0),_0x5c3737;}class _0x5ba099 extends _0x58b3ad['RxDisposable']{constructor(){const _0x21d71e=_0x4db1c3;super(...arguments),_0x1fc77e(this,_0x21d71e(0x251),new _0x6dabd3['BehaviorSubject'](null)),_0x1fc77e(this,'collabCursorState$',this[_0x21d71e(0x251)][_0x21d71e(0x23e)]());}[_0x4db1c3(0x2ee)](_0x322fc4){const _0x5446f4=_0x4db1c3,{unitID:_0x47aef7,memberID:_0x5e0a07,textRanges:_0x37d0a8}=_0x322fc4,_0x192c1b=_0x435a91(_0x37d0a8);if(_0x192c1b==='')return;const _0x21af74={'unitID':_0x47aef7,'memberID':_0x5e0a07,'selection':_0x192c1b};this[_0x5446f4(0x251)]['next'](_0x21af74);}}var _0x206811=Object[_0x4db1c3(0x2ff)],_0xf5046d=(_0xd20b27,_0x13c5fe,_0x32cb2c,_0x3f2810)=>{const _0x577455=_0x4db1c3;for(var _0x3fc68b=_0x3f2810>0x1?void 0x0:_0x3f2810?_0x206811(_0x13c5fe,_0x32cb2c):_0x13c5fe,_0x3ba6ad=_0xd20b27[_0x577455(0x1d3)]-0x1,_0x41cc77;_0x3ba6ad>=0x0;_0x3ba6ad--)(_0x41cc77=_0xd20b27[_0x3ba6ad])&&(_0x3fc68b=_0x41cc77(_0x3fc68b)||_0x3fc68b);return _0x3fc68b;},_0x3ba9d7=(_0x96f591,_0x296097)=>(_0x4adf40,_0x5a38ec)=>_0x296097(_0x4adf40,_0x5a38ec,_0x96f591);const _0x309e61=0x12c,_0x1b79d5=0x64;let _0x508d12=class extends _0x58b3ad[_0x4db1c3(0x25a)]{constructor(_0x4686a1,_0x305f16,_0x2f85fa,_0x41a371,_0x1d31a9,_0xa00281,_0x4a5efa,_0x41f1c4,_0x2e3fea){const _0x5e36f8=_0x4db1c3;super(),_0x1fc77e(this,_0x5e36f8(0x2ba),!0x1),_0x1fc77e(this,_0x5e36f8(0x173),!0x1),_0x1fc77e(this,_0x5e36f8(0x39a),new _0x6dabd3['BehaviorSubject'](new Map())),_0x1fc77e(this,_0x5e36f8(0x170),this['_cursorInfo$'][_0x5e36f8(0x23e)]()),_0x1fc77e(this,_0x5e36f8(0x13d),new _0x6dabd3[(_0x5e36f8(0x25f))]([])),_0x1fc77e(this,'roomMembers$',this[_0x5e36f8(0x13d)][_0x5e36f8(0x349)](_0x6dabd3['debounceTime'](_0x309e61))),_0x1fc77e(this,_0x5e36f8(0x2be),_0x58b3ad[_0x5e36f8(0x2f9)](_0x244ccf=>{const _0xdfdf0=_0x5e36f8,_0x36deb8={'eventID':_0x44c456['CollaborationEvent'][_0xdfdf0(0x2c8)],'data':{'unitID':this[_0xdfdf0(0x38e)],'memberID':this[_0xdfdf0(0x2b4)][_0xdfdf0(0x1c1)](),'selection':_0x435a91(_0x244ccf)}};this[_0xdfdf0(0x2b4)][_0xdfdf0(0x297)](_0x36deb8,this[_0xdfdf0(0x38e)]);},_0x1b79d5)),(this[_0x5e36f8(0x38e)]=_0x4686a1,this[_0x5e36f8(0x2b4)]=_0x305f16,this[_0x5e36f8(0x25e)]=_0x2f85fa,this[_0x5e36f8(0x387)]=_0x41a371,this[_0x5e36f8(0x167)]=_0x1d31a9,this[_0x5e36f8(0x1bf)]=_0xa00281,this[_0x5e36f8(0x372)]=_0x4a5efa,this['_univerInstanceService']=_0x41f1c4,this[_0x5e36f8(0x353)]=_0x2e3fea);}get['cursorInfo'](){const _0x1dc740=_0x4db1c3;return this[_0x1dc740(0x39a)]['getValue']();}get[_0x4db1c3(0x2bb)](){const _0x5c6e6d=_0x4db1c3;return this[_0x5c6e6d(0x13d)][_0x5c6e6d(0x1fd)]();}[_0x4db1c3(0x1c3)](){const _0x45bda3=_0x4db1c3;super[_0x45bda3(0x1c3)](),this[_0x45bda3(0x39a)][_0x45bda3(0x23b)](new Map()),this[_0x45bda3(0x39a)]['complete'](),this['_roomMembers$']['next']([]),this[_0x45bda3(0x13d)][_0x45bda3(0x2a1)]();}[_0x4db1c3(0x243)](){const _0x3e7c6d=_0x4db1c3;this[_0x3e7c6d(0x173)]||(this['_init']=!0x0,this[_0x3e7c6d(0x2b4)]['sessionStatus$'][_0x3e7c6d(0x349)](_0x6dabd3['takeUntil'](this[_0x3e7c6d(0x125)]))[_0x3e7c6d(0x39d)](_0x405997=>{const _0x447646=_0x3e7c6d;_0x405997===_0x2023db[_0x447646(0x15e)][_0x447646(0x343)]?this[_0x447646(0x152)]():this[_0x447646(0x2e2)]();}),this[_0x3e7c6d(0x2b4)][_0x3e7c6d(0x33b)]['pipe'](_0x6dabd3[_0x3e7c6d(0x2e7)](this['dispose$']))[_0x3e7c6d(0x39d)](_0x212b14=>{const _0x37b758=_0x3e7c6d,_0xb9f9ee=_0x212b14[_0x37b758(0x2f1)];_0xb9f9ee===_0x44c456[_0x37b758(0x236)]['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x212b14),_0xb9f9ee===_0x44c456[_0x37b758(0x236)][_0x37b758(0x3ac)]&&this[_0x37b758(0x156)](_0x212b14);}),this['disposeWithMe'](this[_0x3e7c6d(0x353)]['onCommandExecuted'](_0x1bd34c=>{const _0x310fbc=_0x3e7c6d,_0x15a108=_0x1bd34c[_0x310fbc(0x190)];_0x15a108!=null&&this['_online']&&_0x1bd34c['id']===_0x54ca13[_0x310fbc(0x375)]['id']&&_0x15a108[_0x310fbc(0x187)]===this['unitID']&&_0x15a108[_0x310fbc(0x36c)]===!0x1&&_0x15a108['ranges']['length']>0x0&&this[_0x310fbc(0x2be)](_0x15a108[_0x310fbc(0x3aa)]);})),this['_syncEditingCollabCursorService'][_0x3e7c6d(0x1a6)][_0x3e7c6d(0x349)](_0x6dabd3[_0x3e7c6d(0x2e7)](this[_0x3e7c6d(0x125)]))[_0x3e7c6d(0x39d)](_0x2ed579=>{const _0x3aaaa4=_0x3e7c6d;if((_0x2ed579==null?void 0x0:_0x2ed579[_0x3aaaa4(0x38e)])!==this[_0x3aaaa4(0x38e)])return;const _0x44649f={'eventID':_0x44c456[_0x3aaaa4(0x236)][_0x3aaaa4(0x2c8)],'data':_0x2ed579};this['_onCursorUpdate'](_0x44649f);}),this[_0x3e7c6d(0x212)](this['_commandService'][_0x3e7c6d(0x178)](_0x1b7407=>{const _0x28fd67=_0x3e7c6d;if(_0x1b7407[_0x28fd67(0x190)]==null)return;const _0x4ca499=_0x1b7407[_0x28fd67(0x190)];if(_0x1b7407['id']!==_0x54ca13[_0x28fd67(0x344)]['id']||_0x4ca499[_0x28fd67(0x187)]!==this[_0x28fd67(0x38e)])return;const _0x308203={'id':_0x28fd67(0x2c9),'params':_0x4ca499},_0x4415bc=this[_0x28fd67(0x36f)];for(const [_0x1b0d9d,_0x1c3b88]of _0x4415bc){const _0x2d5b81={'id':_0x28fd67(0x2c9),'params':{'unitId':this['unitID'],'actions':null,'textRanges':_0x1c3b88[_0x28fd67(0x3aa)]}},_0x26b08f=this['_transformService'][_0x28fd67(0x22c)](_0x308203,_0x2d5b81,!0x1);if(_0x44c456[_0x28fd67(0x3b9)](_0x26b08f))throw _0x26b08f['error'];_0x4415bc[_0x28fd67(0x3b3)](_0x1b0d9d,{..._0x1c3b88,'ranges':_0x26b08f[_0x28fd67(0x17c)][_0x28fd67(0x190)][_0x28fd67(0x31f)]});}queueMicrotask(()=>{const _0x2b3b50=_0x28fd67;this[_0x2b3b50(0x39a)]['next'](_0x4415bc);});})));}[_0x4db1c3(0x33a)](_0x32efc){const _0x34d7ff=_0x4db1c3;var _0x3e72f5,_0x24a94a;const {memberID:_0x2ecbcb,selection:_0x270cda}=_0x32efc[_0x34d7ff(0x1a3)],_0x1d6010=_0x1aabfe(_0x270cda),_0x371abc=(_0x24a94a=(_0x3e72f5=this[_0x34d7ff(0x167)][_0x34d7ff(0x374)](this[_0x34d7ff(0x38e)],_0x2ecbcb))==null?void 0x0:_0x3e72f5[_0x34d7ff(0x2d0)])!=null?_0x24a94a:_0x34d7ff(0x335),_0x2740c4={'color':this[_0x34d7ff(0x387)][_0x34d7ff(0x1bd)](_0x2ecbcb),'name':_0x371abc,'ranges':_0x1d6010},_0x2826a4=this[_0x34d7ff(0x36f)];_0x2826a4['set'](_0x2ecbcb,_0x2740c4),this[_0x34d7ff(0x39a)][_0x34d7ff(0x23b)](_0x2826a4);}[_0x4db1c3(0x156)](_0x1ba011){const _0x536cb4=_0x4db1c3,{memberID:_0x879d55}=_0x1ba011[_0x536cb4(0x1a3)],_0x4c4945=this[_0x536cb4(0x36f)];_0x4c4945[_0x536cb4(0x309)](_0x879d55),this['_cursorInfo$'][_0x536cb4(0x23b)](_0x4c4945);}['_toggleOnline'](){const _0xb1d557=_0x4db1c3;var _0x290104;if(this[_0xb1d557(0x2ba)]=!0x0,((_0x290104=this[_0xb1d557(0x1e2)][_0xb1d557(0x24d)]())==null?void 0x0:_0x290104['getUnitId']())!==this['unitID'])return;const _0x31654b=this[_0xb1d557(0x25e)]['get'](_0x54ca13[_0xb1d557(0x1cf)])[_0xb1d557(0x20c)]();Array[_0xb1d557(0x1fc)](_0x31654b)&&_0x31654b[_0xb1d557(0x1d3)]>0x0&&this[_0xb1d557(0x2be)](_0x31654b);}[_0x4db1c3(0x2e2)](){const _0x1da1a2=_0x4db1c3;this[_0x1da1a2(0x2ba)]=!0x1;}};_0x508d12=_0xf5046d([_0x3ba9d7(0x2,_0x58b3ad[_0x4db1c3(0x257)](_0x58b3ad[_0x4db1c3(0x35f)])),_0x3ba9d7(0x3,_0x58b3ad[_0x4db1c3(0x257)](_0x3b2cd0)),_0x3ba9d7(0x4,_0x58b3ad[_0x4db1c3(0x257)](_0x2023db[_0x4db1c3(0x267)])),_0x3ba9d7(0x5,_0x58b3ad['Inject'](_0x5ba099)),_0x3ba9d7(0x6,_0x44c456[_0x4db1c3(0x28b)]),_0x3ba9d7(0x7,_0x58b3ad[_0x4db1c3(0x30d)]),_0x3ba9d7(0x8,_0x58b3ad['ICommandService'])],_0x508d12);var _0x426de4=Object[_0x4db1c3(0x2ff)],_0xa544e4=(_0x5f3355,_0x36e6d9,_0x5806c4,_0x9e752f)=>{const _0x430d18=_0x4db1c3;for(var _0x3da4e4=_0x9e752f>0x1?void 0x0:_0x9e752f?_0x426de4(_0x36e6d9,_0x5806c4):_0x36e6d9,_0x5c5e4e=_0x5f3355[_0x430d18(0x1d3)]-0x1,_0x4ba025;_0x5c5e4e>=0x0;_0x5c5e4e--)(_0x4ba025=_0x5f3355[_0x5c5e4e])&&(_0x3da4e4=_0x4ba025(_0x3da4e4)||_0x3da4e4);return _0x3da4e4;},_0x4ac81b=(_0x552d71,_0x1ef232)=>(_0x5f233a,_0x38c1f5)=>_0x1ef232(_0x5f233a,_0x38c1f5,_0x552d71);const _0x479bd1=0x12c,_0x44726d=0x64,_0x48c7b0=()=>{let _0x5e663f=[],_0xbda748=!0x1;return _0x3fbc49=>{const _0x2f869d=_0x222d;_0x5e663f[_0x2f869d(0x395)](_0x3fbc49),_0xbda748||(_0xbda748=!0x0,setTimeout(()=>{const _0x3b66d3=_0x2f869d;_0x5e663f[_0x3b66d3(0x341)](_0x2421a6=>_0x2421a6()),_0x5e663f=[],_0xbda748=!0x1;}));};};let _0x44f3d5=class extends _0x58b3ad['RxDisposable']{constructor(_0x290703,_0x30570e,_0x1fb515,_0x11bef3,_0x170887,_0x11b788,_0x3e3181,_0x39fd63){const _0x55f3f6=_0x4db1c3;super(),_0x1fc77e(this,_0x55f3f6(0x2ba),!0x1),_0x1fc77e(this,_0x55f3f6(0x173),!0x1),_0x1fc77e(this,_0x55f3f6(0x39a),new _0x6dabd3['BehaviorSubject'](new Map())),_0x1fc77e(this,_0x55f3f6(0x170),this[_0x55f3f6(0x39a)][_0x55f3f6(0x23e)]()),_0x1fc77e(this,_0x55f3f6(0x13d),new _0x6dabd3[(_0x55f3f6(0x25f))]([])),_0x1fc77e(this,_0x55f3f6(0x14b),this[_0x55f3f6(0x13d)][_0x55f3f6(0x349)](_0x6dabd3[_0x55f3f6(0x208)](_0x479bd1))),_0x1fc77e(this,_0x55f3f6(0x2be),_0x58b3ad[_0x55f3f6(0x2f9)]((_0x16b229,_0x4c6813)=>{const _0x27a964=_0x55f3f6,_0x50c2b8={'eventID':_0x44c456[_0x27a964(0x236)][_0x27a964(0x2c8)],'data':{'unitID':this[_0x27a964(0x38e)],'memberID':this[_0x27a964(0x2b4)][_0x27a964(0x1c1)](),'selection':_0xd290cd[_0x27a964(0x38b)](_0x16b229,_0x4c6813['range'])}};this[_0x27a964(0x2b4)][_0x27a964(0x297)](_0x50c2b8,this[_0x27a964(0x38e)]);},_0x44726d)),(this[_0x55f3f6(0x38e)]=_0x290703,this[_0x55f3f6(0x2b4)]=_0x30570e,this[_0x55f3f6(0x25e)]=_0x1fb515,this['_colorAssignService']=_0x11bef3,this[_0x55f3f6(0x167)]=_0x170887,this[_0x55f3f6(0x1e2)]=_0x11b788,this[_0x55f3f6(0x353)]=_0x3e3181,this[_0x55f3f6(0x126)]=_0x39fd63);}get[_0x4db1c3(0x36f)](){const _0x1a42e5=_0x4db1c3;return this['_cursorInfo$'][_0x1a42e5(0x1fd)]();}get[_0x4db1c3(0x2bb)](){const _0x4f9b21=_0x4db1c3;return this[_0x4f9b21(0x13d)][_0x4f9b21(0x1fd)]();}[_0x4db1c3(0x1c3)](){const _0x16c3e1=_0x4db1c3;super['dispose'](),this['_cursorInfo$'][_0x16c3e1(0x23b)](new Map()),this['_cursorInfo$'][_0x16c3e1(0x2a1)](),this[_0x16c3e1(0x13d)][_0x16c3e1(0x23b)]([]),this['_roomMembers$'][_0x16c3e1(0x2a1)]();}[_0x4db1c3(0x243)](){const _0x5ea525=_0x4db1c3;this['_init']||(this[_0x5ea525(0x173)]=!0x0,this[_0x5ea525(0x2b4)][_0x5ea525(0x192)]['pipe'](_0x6dabd3[_0x5ea525(0x2e7)](this[_0x5ea525(0x125)]))[_0x5ea525(0x39d)](_0x2d110b=>{const _0x319cdf=_0x5ea525;_0x2d110b===_0x2023db[_0x319cdf(0x15e)]['ONLINE']?this['_toggleOnline']():this['_toggleOffline']();}),this[_0x5ea525(0x2b4)][_0x5ea525(0x33b)]['pipe'](_0x6dabd3['takeUntil'](this[_0x5ea525(0x125)]))[_0x5ea525(0x39d)](_0x40f3b9=>{const _0x129f8c=_0x5ea525,_0x5b2956=_0x40f3b9[_0x129f8c(0x2f1)];_0x5b2956===_0x44c456[_0x129f8c(0x236)][_0x129f8c(0x2c8)]&&this['_onCursorUpdate'](_0x40f3b9),_0x5b2956===_0x44c456[_0x129f8c(0x236)]['USERS_LEAVE']&&this['_onCursorDelete'](_0x40f3b9);}),this['_onRefRangeChange'](),this[_0x5ea525(0x212)](this[_0x5ea525(0x353)][_0x5ea525(0x178)](_0x12e88a=>{const _0x4006be=_0x5ea525;if(this[_0x4006be(0x2ba)]&&_0x12e88a['id']===_0x3a3c4e[_0x4006be(0x34e)]['id']&&_0x12e88a[_0x4006be(0x190)][_0x4006be(0x187)]===this[_0x4006be(0x38e)]){const _0x2e3349=_0x12e88a['params'];this[_0x4006be(0x2be)](_0x2e3349[_0x4006be(0x316)],_0x2e3349[_0x4006be(0x391)][0x0]);}})));}[_0x4db1c3(0x33a)](_0xec1cd2){const _0x29f31a=_0x4db1c3;var _0x178d7f,_0x2cfd04;const {memberID:_0x1ecf5c,selection:_0x1391b6}=_0xec1cd2[_0x29f31a(0x1a3)],{sheetName:_0xb49106,range:_0x153585}=_0xd290cd[_0x29f31a(0x19a)](_0x1391b6),_0x2750d2={'name':(_0x2cfd04=(_0x178d7f=this[_0x29f31a(0x167)][_0x29f31a(0x374)](this['unitID'],_0x1ecf5c))==null?void 0x0:_0x178d7f[_0x29f31a(0x2d0)])!=null?_0x2cfd04:_0x29f31a(0x335),'range':this['_getMergeRange'](_0xb49106,_0x153585),'sheetID':_0xb49106,'color':this['_colorAssignService'][_0x29f31a(0x1bd)](_0x1ecf5c),'selection':_0x1391b6},_0x2a8ebd=this[_0x29f31a(0x36f)];_0x2a8ebd[_0x29f31a(0x3b3)](_0x1ecf5c,_0x2750d2),this[_0x29f31a(0x39a)][_0x29f31a(0x23b)](_0x2a8ebd);}[_0x4db1c3(0x156)](_0x352023){const _0x254f7a=_0x4db1c3,{memberID:_0x6736ba}=_0x352023[_0x254f7a(0x1a3)],_0x43602e=this[_0x254f7a(0x36f)];_0x43602e[_0x254f7a(0x309)](_0x6736ba),this[_0x254f7a(0x39a)]['next'](_0x43602e);}[_0x4db1c3(0x25b)](_0x4a0053,_0x410324){const _0x5f4a1b=_0x4db1c3;var _0x867519,_0x1b967a;const _0x38c287=(_0x1b967a=(_0x867519=this[_0x5f4a1b(0x1e2)][_0x5f4a1b(0x248)](this[_0x5f4a1b(0x38e)]))==null?void 0x0:_0x867519[_0x5f4a1b(0x121)](_0x4a0053))==null?void 0x0:_0x1b967a[_0x5f4a1b(0x22b)]();return(_0x38c287==null?void 0x0:_0x38c287[_0x5f4a1b(0x347)](_0x30c3c2=>_0x58b3ad[_0x5f4a1b(0x39f)][_0x5f4a1b(0x266)](_0x30c3c2,_0x410324)))||_0x410324;}['_onRefRangeChange'](){const _0x12038=_0x4db1c3,_0x6dbbc8=new _0x58b3ad[(_0x12038(0x1b3))](),_0x3c823c=_0x48c7b0(),_0x4456c3=()=>{const _0x2b8324=_0x12038;_0x6dbbc8[_0x2b8324(0x1c3)]();const _0x5ee55e=(_0x43dab8,_0x3ade5e,_0x36db8f,_0x3da41a)=>{const _0x595c95=_0x2b8324;let _0x1fd9b1=[];switch(_0x43dab8['id']){case _0x3a3c4e['EffectRefRangId'][_0x595c95(0x124)]:{_0x1fd9b1=_0x3a3c4e[_0x595c95(0x26b)](_0x43dab8,_0x3da41a);break;}case _0x3a3c4e['EffectRefRangId']['DeleteRangeMoveUpCommandId']:{_0x1fd9b1=_0x3a3c4e['handleDeleteRangeMoveUp'](_0x43dab8,_0x3da41a);break;}case _0x3a3c4e[_0x595c95(0x122)]['InsertColCommandId']:{_0x1fd9b1=_0x3a3c4e[_0x595c95(0x233)](_0x43dab8,_0x3da41a);break;}case _0x3a3c4e[_0x595c95(0x122)][_0x595c95(0x2b9)]:{_0x1fd9b1=_0x3a3c4e[_0x595c95(0x3a2)](_0x43dab8,_0x3da41a);break;}case _0x3a3c4e['EffectRefRangId'][_0x595c95(0x284)]:{_0x1fd9b1=_0x3a3c4e[_0x595c95(0x197)](_0x43dab8,_0x3da41a);break;}case _0x3a3c4e[_0x595c95(0x122)][_0x595c95(0x29d)]:{_0x1fd9b1=_0x3a3c4e[_0x595c95(0x28e)](_0x43dab8,_0x3da41a);break;}case _0x3a3c4e['EffectRefRangId'][_0x595c95(0x34b)]:{_0x1fd9b1=_0x3a3c4e[_0x595c95(0x2c1)](_0x43dab8,_0x3da41a);break;}case _0x3a3c4e['EffectRefRangId'][_0x595c95(0x12d)]:{_0x1fd9b1=_0x3a3c4e[_0x595c95(0x245)](_0x43dab8,_0x3da41a);break;}case _0x3a3c4e['EffectRefRangId']['RemoveRowCommandId']:{_0x1fd9b1=_0x3a3c4e[_0x595c95(0x183)](_0x43dab8,_0x3da41a);break;}}const _0x82137f=_0x3a3c4e[_0x595c95(0x2fb)](_0x1fd9b1,_0x3da41a),_0x3b7a53=this['cursorInfo'][_0x595c95(0x2c5)](_0x3ade5e);if(_0x3b7a53&&_0x82137f){const _0x3a05b1={..._0x3b7a53,'range':_0x82137f};this[_0x595c95(0x36f)][_0x595c95(0x3b3)](_0x3ade5e,_0x3a05b1),_0x3c823c(()=>{const _0x4b8f1b=_0x595c95,_0x33efc4=this[_0x4b8f1b(0x126)][_0x4b8f1b(0x217)](_0x82137f,_0x37d3e7=>(_0x33efc4[_0x4b8f1b(0x1c3)](),_0x5ee55e(_0x37d3e7,_0x3ade5e,_0x36db8f,_0x82137f)));_0x6dbbc8[_0x4b8f1b(0x134)](_0x33efc4);});}return{'redos':[],'undos':[]};};this[_0x2b8324(0x36f)]['forEach']((_0x2d1177,_0x35efec)=>{const _0x487ac2=_0x2b8324,{range:_0x416771,sheetID:_0x158fbf}=_0x2d1177,_0x67bc44=this[_0x487ac2(0x126)][_0x487ac2(0x217)](_0x416771,_0x527a80=>(_0x67bc44['dispose'](),_0x5ee55e(_0x527a80,_0x35efec,_0x158fbf,_0x416771)));_0x6dbbc8[_0x487ac2(0x134)](_0x67bc44);});};this[_0x12038(0x212)](_0x58b3ad['toDisposable'](this[_0x12038(0x39a)][_0x12038(0x39d)](()=>{_0x4456c3();})));}[_0x4db1c3(0x152)](){const _0x192477=_0x4db1c3;var _0x27084b,_0x1df15c;if(this[_0x192477(0x2ba)]=!0x0,((_0x27084b=this[_0x192477(0x1e2)][_0x192477(0x24d)]())==null?void 0x0:_0x27084b[_0x192477(0x238)]())!==this[_0x192477(0x38e)])return;const _0x105ab9=(_0x1df15c=this['_injector'][_0x192477(0x2c5)](_0x3a3c4e[_0x192477(0x340)])[_0x192477(0x196)]())==null?void 0x0:_0x1df15c[0x0],_0x545f2a=this[_0x192477(0x1e2)]['getCurrentUnitForType'](_0x58b3ad[_0x192477(0x382)]['UNIVER_SHEET'])['getActiveSheet']();_0x105ab9&&_0x545f2a&&this[_0x192477(0x2be)](_0x545f2a['getSheetId'](),_0x105ab9);}[_0x4db1c3(0x2e2)](){const _0x1530eb=_0x4db1c3;this[_0x1530eb(0x2ba)]=!0x1;}};_0x44f3d5=_0xa544e4([_0x4ac81b(0x2,_0x58b3ad[_0x4db1c3(0x257)](_0x58b3ad[_0x4db1c3(0x35f)])),_0x4ac81b(0x3,_0x58b3ad[_0x4db1c3(0x257)](_0x3b2cd0)),_0x4ac81b(0x4,_0x58b3ad[_0x4db1c3(0x257)](_0x2023db['MemberService'])),_0x4ac81b(0x5,_0x58b3ad[_0x4db1c3(0x30d)]),_0x4ac81b(0x6,_0x58b3ad[_0x4db1c3(0x1c8)]),_0x4ac81b(0x7,_0x58b3ad[_0x4db1c3(0x257)](_0x3a3c4e[_0x4db1c3(0x2a6)]))],_0x44f3d5);var _0x8b2e26=Object['getOwnPropertyDescriptor'],_0x34333e=(_0xa385f0,_0x5ac42a,_0x498cac,_0x1fb288)=>{const _0x48ced2=_0x4db1c3;for(var _0x5560e0=_0x1fb288>0x1?void 0x0:_0x1fb288?_0x8b2e26(_0x5ac42a,_0x498cac):_0x5ac42a,_0x35a83e=_0xa385f0[_0x48ced2(0x1d3)]-0x1,_0x430d0a;_0x35a83e>=0x0;_0x35a83e--)(_0x430d0a=_0xa385f0[_0x35a83e])&&(_0x5560e0=_0x430d0a(_0x5560e0)||_0x5560e0);return _0x5560e0;},_0x4f45a1=(_0x4296c7,_0x2b9118)=>(_0x499f7f,_0x19c878)=>_0x2b9118(_0x499f7f,_0x19c878,_0x4296c7);let _0x37f18b=class extends _0x58b3ad[_0x4db1c3(0x25a)]{constructor(_0x2b7a0d,_0x185ff2,_0x480fe5){const _0x533e20=_0x4db1c3;super(),_0x1fc77e(this,_0x533e20(0x371),new Map()),_0x1fc77e(this,_0x533e20(0x19f),new _0x6dabd3[(_0x533e20(0x296))]()),(this['_univerInstanceService']=_0x2b7a0d,this['_injector']=_0x185ff2,this[_0x533e20(0x36d)]=_0x480fe5,this[_0x533e20(0x173)]());}[_0x4db1c3(0x1c3)](){const _0x1a93aa=_0x4db1c3;super[_0x1a93aa(0x1c3)](),this[_0x1a93aa(0x19f)][_0x1a93aa(0x2a1)](),this['_entities']['forEach'](_0xbb5f60=>_0xbb5f60[_0x1a93aa(0x1c3)]());}[_0x4db1c3(0x22e)](_0x29b7bf){const _0xc30a64=_0x4db1c3;return this[_0xc30a64(0x371)][_0xc30a64(0x35a)](_0x29b7bf)?this['_entities'][_0xc30a64(0x2c5)](_0x29b7bf)['cursorInfo$']:this['_entityInit$'][_0xc30a64(0x349)](_0x6dabd3['filter'](_0x333b2e=>_0x333b2e[_0xc30a64(0x38e)]===_0x29b7bf),_0x6dabd3[_0xc30a64(0x11b)](_0x30e106=>_0x30e106[_0xc30a64(0x170)]));}[_0x4db1c3(0x173)](){const _0x438884=_0x4db1c3;this['_univerInstanceService'][_0x438884(0x2ec)](_0x58b3ad[_0x438884(0x382)][_0x438884(0x33c)])[_0x438884(0x349)](_0x6dabd3[_0x438884(0x2e7)](this[_0x438884(0x125)]))[_0x438884(0x39d)](async _0x442dac=>{const _0xac5415=_0x438884,_0x450d72=_0x442dac[_0xac5415(0x238)](),_0x215640=await this[_0xac5415(0x22d)](_0x450d72);this[_0xac5415(0x19f)][_0xac5415(0x23b)](_0x215640),this['_entities'][_0xac5415(0x3b3)](_0x450d72,_0x215640);}),this['_univerInstanceService'][_0x438884(0x2ec)](_0x58b3ad['UniverInstanceType'][_0x438884(0x2f4)])[_0x438884(0x349)](_0x6dabd3[_0x438884(0x2e7)](this['dispose$']))[_0x438884(0x349)](_0x6dabd3[_0x438884(0x34d)](_0x1a9558=>!_0x1a9558[_0x438884(0x238)]()[_0x438884(0x220)]('__')))[_0x438884(0x39d)](async _0x18ead8=>{const _0x3d786a=_0x438884,_0x872a38=_0x18ead8[_0x3d786a(0x238)](),_0x44787a=await this[_0x3d786a(0x149)](_0x872a38);this['_entityInit$'][_0x3d786a(0x23b)](_0x44787a),this[_0x3d786a(0x371)]['set'](_0x872a38,_0x44787a);}),_0x6dabd3[_0x438884(0x28a)](this['_univerInstanceService'][_0x438884(0x15a)](_0x58b3ad[_0x438884(0x382)]['UNIVER_DOC']),this[_0x438884(0x1e2)]['getTypeOfUnitDisposed$'](_0x58b3ad[_0x438884(0x382)][_0x438884(0x33c)]))[_0x438884(0x349)](_0x6dabd3['takeUntil'](this[_0x438884(0x125)]))[_0x438884(0x39d)](_0x3246a3=>{const _0x40cde7=_0x438884,_0x5f32e4=_0x3246a3[_0x40cde7(0x238)](),_0x22e1b6=this[_0x40cde7(0x371)][_0x40cde7(0x2c5)](_0x5f32e4);_0x22e1b6&&(_0x22e1b6[_0x40cde7(0x1c3)](),this[_0x40cde7(0x371)][_0x40cde7(0x309)](_0x5f32e4));});}async[_0x4db1c3(0x22d)](_0x3ee89f){const _0x32c482=_0x4db1c3,_0x3d10c9=await this['_collabSessionService'][_0x32c482(0x2b6)](_0x3ee89f),_0x2a8f84=this['_injector'][_0x32c482(0x22f)](_0x44f3d5,_0x3ee89f,_0x3d10c9);return _0x2a8f84[_0x32c482(0x243)](),_0x2a8f84;}async['_startDocCollabCursor'](_0x50c2ef){const _0x40333d=_0x4db1c3,_0x34919d=await this[_0x40333d(0x36d)][_0x40333d(0x2b6)](_0x50c2ef),_0x3d042a=this[_0x40333d(0x25e)][_0x40333d(0x22f)](_0x508d12,_0x50c2ef,_0x34919d);return _0x3d042a[_0x40333d(0x243)](),_0x3d042a;}};_0x37f18b=_0x34333e([_0x4f45a1(0x0,_0x58b3ad['IUniverInstanceService']),_0x4f45a1(0x1,_0x58b3ad[_0x4db1c3(0x257)](_0x58b3ad['Injector'])),_0x4f45a1(0x2,_0x58b3ad[_0x4db1c3(0x257)](_0x2023db[_0x4db1c3(0x1ed)]))],_0x37f18b);const _0x2f36af=0x14,_0x19becf=0xc8,_0x1ed6cd=0x4,_0x2f49d5=0x5;function _0x187791(_0x6cef6b,_0x4b045b){const _0xbb2086=_0x4db1c3;let {radius:_0x1e7292,width:_0x342015,height:_0x5575a6}=_0x4b045b;_0x1e7292=_0x1e7292!=null?_0x1e7292:0x0,_0x342015=_0x342015!=null?_0x342015:0x1e,_0x5575a6=_0x5575a6!=null?_0x5575a6:0x1e;let _0x5331f7=0x0,_0x1c81d0=0x0,_0x7ee8cd=0x0;_0x5331f7=_0x1c81d0=_0x7ee8cd=Math[_0xbb2086(0x20a)](_0x1e7292,_0x342015/0x2,_0x5575a6/0x2),_0x6cef6b[_0xbb2086(0x31d)](),_0x6cef6b[_0xbb2086(0x16c)](_0x5331f7,0x0),_0x6cef6b[_0xbb2086(0x166)](_0x342015-_0x1c81d0,0x0),_0x6cef6b[_0xbb2086(0x17d)](_0x342015-_0x1c81d0,_0x1c81d0,_0x1c81d0,Math['PI']*0x3/0x2,0x0,!0x1),_0x6cef6b[_0xbb2086(0x166)](_0x342015,_0x5575a6-_0x7ee8cd),_0x6cef6b[_0xbb2086(0x17d)](_0x342015-_0x7ee8cd,_0x5575a6-_0x7ee8cd,_0x7ee8cd,0x0,Math['PI']/0x2,!0x1),_0x6cef6b['lineTo'](0x0,_0x5575a6),_0x6cef6b[_0xbb2086(0x166)](0x0,_0x5331f7),_0x6cef6b['arc'](_0x5331f7,_0x5331f7,_0x5331f7,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x6cef6b['closePath'](),_0x4b045b['fill']&&(_0x6cef6b[_0xbb2086(0x393)](),_0x6cef6b['fillStyle']=_0x4b045b[_0xbb2086(0x1c2)],_0x4b045b[_0xbb2086(0x176)]===_0xbb2086(0x234)?_0x6cef6b[_0xbb2086(0x1c2)](_0xbb2086(0x234)):_0x6cef6b[_0xbb2086(0x1c2)](),_0x6cef6b[_0xbb2086(0x229)]());}class _0x2a5523 extends _0x839618[_0x4db1c3(0x213)]{constructor(_0x1620d5,_0x2b5ada){const _0x21bee5=_0x4db1c3;super(_0x1620d5,_0x2b5ada),_0x1fc77e(this,_0x21bee5(0x2a9)),_0x1fc77e(this,_0x21bee5(0x1f4)),(this[_0x21bee5(0x2a9)]=_0x2b5ada==null?void 0x0:_0x2b5ada['color'],this[_0x21bee5(0x1f4)]=_0x2b5ada==null?void 0x0:_0x2b5ada['text']);}static['drawWith'](_0x509e7b,_0x5c8cae){const _0x175ca1=_0x4db1c3,{text:_0x1bb341,color:_0x1437ae}=_0x5c8cae;_0x509e7b[_0x175ca1(0x393)](),_0x509e7b[_0x175ca1(0x28f)]=_0x175ca1(0x123);const _0x4f399e=_0x509e7b['measureText'](_0x1bb341)[_0x175ca1(0x3b1)],_0x191626=Math[_0x175ca1(0x20a)](_0x4f399e+0x2*_0x1ed6cd,_0x19becf);_0x187791(_0x509e7b,{'height':_0x2f36af,'radius':0x4,'width':_0x191626,'fill':_0x1437ae}),_0x509e7b['fillStyle']=_0x175ca1(0x336);const _0x919b5a=_0x1ed6cd,_0x332144=_0x2f36af-_0x2f49d5,_0x13d30c=_0x19becf-0x2*_0x1ed6cd;if(_0x4f399e>_0x13d30c){let _0x4b45b7='',_0x12cfc2=0x0;for(const _0x2fed36 of _0x1bb341){const _0x4b15e0=_0x509e7b['measureText'](_0x2fed36)['width'];if(_0x12cfc2+_0x4b15e0<=_0x13d30c-_0x509e7b[_0x175ca1(0x252)](_0x175ca1(0x1b9))[_0x175ca1(0x3b1)])_0x4b45b7+=_0x2fed36,_0x12cfc2+=_0x4b15e0;else{_0x4b45b7+=_0x175ca1(0x1b9);break;}}_0x509e7b[_0x175ca1(0x1bc)](_0x4b45b7,_0x919b5a,_0x332144);}else _0x509e7b[_0x175ca1(0x1bc)](_0x1bb341,_0x919b5a,_0x332144);_0x509e7b[_0x175ca1(0x229)]();}[_0x4db1c3(0x1da)](_0x38af74){const _0x5878a1=_0x4db1c3;_0x2a5523[_0x5878a1(0x18a)](_0x38af74,this);}}const _0x249ec0=_0x4db1c3(0x2c4),_0x5a52b2=_0x4db1c3(0x15f),_0x372e1f=_0x4db1c3(0x332),_0x261a32=0x6,_0x3f96e7=1.5,_0x5cd01c=0x4,_0x5d5301=1.5,_0x39e7d7=_0x4db1c3(0x319);class _0x4152ac{constructor(_0x117bed,_0x3a89d0,_0x291a96,_0x580cfd){const _0x14c29a=_0x4db1c3;_0x1fc77e(this,_0x14c29a(0x2c7),[]),_0x1fc77e(this,_0x14c29a(0x216),null),_0x1fc77e(this,_0x14c29a(0x2e6),null),_0x1fc77e(this,_0x14c29a(0x24b),null),_0x1fc77e(this,'_hideTimer',null),_0x1fc77e(this,'_eventUnsubscribe',null),(this[_0x14c29a(0x36a)]=_0x117bed,this['_scene']=_0x3a89d0,this['_docSkeleton']=_0x291a96,this[_0x14c29a(0x12f)]=_0x580cfd,this[_0x14c29a(0x285)]());}set[_0x4db1c3(0x36b)](_0x16af38){const _0xd7e8c3=_0x4db1c3;_0x16af38?(this['_anchorDot']&&this[_0xd7e8c3(0x24b)][_0xd7e8c3(0x1c9)](),this[_0xd7e8c3(0x2e6)]&&this['_textBubble'][_0xd7e8c3(0x157)]()):(this[_0xd7e8c3(0x24b)]&&this[_0xd7e8c3(0x24b)][_0xd7e8c3(0x157)](),this[_0xd7e8c3(0x2e6)]&&this[_0xd7e8c3(0x2e6)][_0xd7e8c3(0x1c9)]());}[_0x4db1c3(0x1c3)](){const _0xac5c2=_0x4db1c3;for(const _0x1760cd of this[_0xac5c2(0x2c7)])_0x1760cd[_0xac5c2(0x1c3)]();this[_0xac5c2(0x2e6)]&&this[_0xac5c2(0x2e6)][_0xac5c2(0x1c3)](),this[_0xac5c2(0x24b)]&&this[_0xac5c2(0x24b)][_0xac5c2(0x1c3)](),this[_0xac5c2(0x216)]&&this[_0xac5c2(0x216)][_0xac5c2(0x1c3)](),this[_0xac5c2(0x22a)]&&this[_0xac5c2(0x22a)]();}[_0x4db1c3(0x285)](){const _0x4e31be=_0x4db1c3;var _0x482e7b;const {_docSkeleton:_0x59d28b,_document:_0x518573}=this,{color:_0x1f9175,name:_0x448a5c,ranges:_0x4caaf7}=this[_0x4e31be(0x36a)],_0x4ac338=_0x518573[_0x4e31be(0x2c3)](),{docsLeft:_0x3a6012,docsTop:_0x1dfe55}=_0x4ac338,_0x3554d6=new _0x2e0d09['NodePositionConvertToCursor'](_0x4ac338,_0x59d28b);for(const {startOffset:_0x48b4c8,endOffset:_0x4bc699,rangeType:_0x29e29f,segmentId:_0x41ee06,segmentPage:_0x2acd7e,collapsed:_0x49a811,isActive:_0x47018d}of _0x4caaf7){const _0x4e1e7b=_0x59d28b[_0x4e31be(0x11f)](_0x48b4c8,!0x0,_0x41ee06,_0x2acd7e);let _0x17b21d=_0x59d28b[_0x4e31be(0x11f)](_0x4bc699,!0x0,_0x41ee06,_0x2acd7e);if(_0x17b21d==null&&(_0x17b21d=_0x59d28b['findNodePositionByCharIndex'](_0x4bc699-0x1,!0x1,_0x41ee06,_0x2acd7e)),_0x47018d){const {contentBoxPointGroup:_0x666816}=_0x3554d6[_0x4e31be(0x1b5)](_0x17b21d,_0x17b21d);if(_0x666816[_0x4e31be(0x1d3)]===0x0)continue;this[_0x4e31be(0x17a)](_0x1f9175,_0x666816,_0x3a6012,_0x1dfe55,_0x448a5c),this[_0x4e31be(0x22a)]=this[_0x4e31be(0x15d)]();}if(_0x4e1e7b&&_0x17b21d){if(_0x29e29f===_0x58b3ad['DOC_RANGE_TYPE'][_0x4e31be(0x2bd)]){const _0x3439c5=new _0x2e0d09[(_0x4e31be(0x380))](_0x4ac338,_0x59d28b),{pointGroup:_0x16e30c}=(_0x482e7b=_0x3439c5['getRangePointData'](_0x4e1e7b,_0x17b21d))!=null?_0x482e7b:{};if(_0x16e30c==null||_0x16e30c[_0x4e31be(0x1d3)]===0x0)continue;this[_0x4e31be(0x13c)](_0x1f9175,_0x16e30c,_0x3a6012,_0x1dfe55);}else{if(!_0x49a811){const {borderBoxPointGroup:_0xa56b0a}=_0x3554d6['getRangePointData'](_0x4e1e7b,_0x17b21d);if(_0xa56b0a['length']===0x0)continue;this[_0x4e31be(0x379)](_0x1f9175,_0xa56b0a,_0x3a6012,_0x1dfe55);}}}}}[_0x4db1c3(0x17a)](_0x4fe8bb,_0x2b9163,_0x1e8831,_0x6527d8,_0x32ec6a){const _0x52d01d=_0x4db1c3,_0x20027f=this['_getAnchorBounding'](_0x2b9163),{left:_0x40aef8,top:_0x218665,height:_0x188b70}=_0x20027f,_0x3a20cb=this['_getScale'](),_0x34b02d=_0x5d5301/_0x3a20cb,_0x48a195=new _0x839618[(_0x52d01d(0x17f))](_0x249ec0+_0x58b3ad['Tools'][_0x52d01d(0x308)](_0x261a32),{'left':_0x40aef8+_0x1e8831-_0x34b02d,'top':_0x218665+_0x6527d8,'height':_0x188b70,'width':_0x3f96e7,'fill':_0x4fe8bb||_0x839618['getColor'](_0x58b3ad['COLORS'][_0x52d01d(0x226)],0x0),'strokeWidth':_0x34b02d,'stroke':_0x39e7d7,'evented':!0x0});this[_0x52d01d(0x216)]=_0x48a195,this[_0x52d01d(0x366)][_0x52d01d(0x2eb)](_0x48a195,_0x2e0d09[_0x52d01d(0x396)]);const _0x2bd705=new _0x839618['Rect'](_0x249ec0+_0x58b3ad[_0x52d01d(0x13e)]['generateRandomId'](_0x261a32),{'left':_0x40aef8+_0x1e8831-_0x34b02d,'top':_0x218665+_0x6527d8-_0x5cd01c/0x2,'height':_0x5cd01c,'width':_0x5cd01c,'fill':_0x4fe8bb||_0x839618[_0x52d01d(0x37f)](_0x58b3ad[_0x52d01d(0x186)]['black'],0x0),'strokeWidth':0x0,'stroke':_0x4fe8bb||_0x839618[_0x52d01d(0x37f)](_0x58b3ad[_0x52d01d(0x186)][_0x52d01d(0x226)],0x0),'evented':!0x1});this['_anchorDot']=_0x2bd705,this[_0x52d01d(0x366)][_0x52d01d(0x2eb)](_0x2bd705,_0x2e0d09[_0x52d01d(0x396)]);const _0x5d7a48=new _0x2a5523(_0x249ec0+_0x58b3ad[_0x52d01d(0x13e)]['generateRandomId'](_0x261a32),{'left':_0x40aef8+_0x1e8831-_0x34b02d,'top':_0x218665+_0x6527d8-_0x2f36af,'text':_0x32ec6a,'color':_0x4fe8bb});this[_0x52d01d(0x2e6)]=_0x5d7a48,this[_0x52d01d(0x366)]['addObject'](_0x5d7a48,_0x2e0d09[_0x52d01d(0x396)]),this[_0x52d01d(0x36b)]=!0x1;}[_0x4db1c3(0x15d)](){const _0x439065=_0x4db1c3,_0x2af8bf=this[_0x439065(0x216)][_0x439065(0x1f7)][_0x439065(0x1aa)](()=>{const _0x32b22c=_0x439065;this[_0x32b22c(0x36b)]=!0x0;}),_0x5de349=this[_0x439065(0x216)][_0x439065(0x16b)]['subscribeEvent'](()=>{const _0x2382bc=_0x439065;this[_0x2382bc(0x143)]&&clearTimeout(this[_0x2382bc(0x143)]),this[_0x2382bc(0x143)]=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{const _0x4411fa=_0x439065;_0x2af8bf[_0x4411fa(0x276)](),_0x5de349[_0x4411fa(0x276)]();};}[_0x4db1c3(0x379)](_0x302120,_0x32557f,_0xd707a6,_0x4c0348){const _0x5eb569=_0x4db1c3,_0x4512c8=new _0x58b3ad['ColorKit'](_0x302120)['setAlpha'](0.2)['toRgbString'](),_0x4bf65d=new _0x839618[(_0x5eb569(0x18b))](_0x5a52b2+_0x58b3ad['Tools'][_0x5eb569(0x308)](_0x261a32),{'pointsGroup':_0x32557f,'fill':_0x4512c8||_0x839618[_0x5eb569(0x37f)](_0x58b3ad[_0x5eb569(0x186)]['black'],0.2),'left':_0xd707a6,'top':_0x4c0348,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5eb569(0x2c7)][_0x5eb569(0x395)](_0x4bf65d),this[_0x5eb569(0x366)][_0x5eb569(0x2eb)](_0x4bf65d,_0x2e0d09[_0x5eb569(0x396)]);}[_0x4db1c3(0x13c)](_0x5dbe90,_0x2cedf9,_0x2c4cbf,_0x32c06f){const _0x7d418b=_0x4db1c3,_0x265bae=new _0x58b3ad[(_0x7d418b(0x250))](_0x5dbe90)[_0x7d418b(0x130)](0.2)[_0x7d418b(0x136)](),_0x381cc1=new _0x839618[(_0x7d418b(0x18b))](_0x372e1f+_0x58b3ad[_0x7d418b(0x13e)][_0x7d418b(0x308)](_0x261a32),{'pointsGroup':_0x2cedf9,'fill':_0x265bae||_0x839618[_0x7d418b(0x37f)](_0x58b3ad[_0x7d418b(0x186)][_0x7d418b(0x226)],0.2),'left':_0x2c4cbf,'top':_0x32c06f,'evented':!0x1,'debounceParentDirty':!0x1});this['_shapes'][_0x7d418b(0x395)](_0x381cc1),this[_0x7d418b(0x366)][_0x7d418b(0x2eb)](_0x381cc1,_0x2e0d09[_0x7d418b(0x396)]);}['_getAnchorBounding'](_0x510ad8){const _0x3b4f20=_0x510ad8[0x0],_0x598413=_0x3b4f20[0x0],_0x2de92b=_0x3b4f20[0x2],{x:_0x4eb997,y:_0x3d666d}=_0x598413,{x:_0x200c6a,y:_0x34c082}=_0x2de92b;return{'left':_0x4eb997,'top':_0x3d666d,'width':_0x200c6a-_0x4eb997,'height':_0x34c082-_0x3d666d};}[_0x4db1c3(0x29e)](){const _0x40ccec=_0x4db1c3,{scaleX:_0x302efd,scaleY:_0x1b32ff}=this[_0x40ccec(0x366)][_0x40ccec(0x30a)]();return Math[_0x40ccec(0x339)](_0x302efd,_0x1b32ff);}}var _0xbcd82d=Object[_0x4db1c3(0x2ff)],_0x38742f=(_0x2c9540,_0x5d77a5,_0x10b728,_0x54f90f)=>{const _0xbcaf39=_0x4db1c3;for(var _0x3bd6b2=_0x54f90f>0x1?void 0x0:_0x54f90f?_0xbcd82d(_0x5d77a5,_0x10b728):_0x5d77a5,_0x148231=_0x2c9540[_0xbcaf39(0x1d3)]-0x1,_0x199d85;_0x148231>=0x0;_0x148231--)(_0x199d85=_0x2c9540[_0x148231])&&(_0x3bd6b2=_0x199d85(_0x3bd6b2)||_0x3bd6b2);return _0x3bd6b2;},_0x16c793=(_0x36038f,_0x5a9277)=>(_0x446b9e,_0x4df1a5)=>_0x5a9277(_0x446b9e,_0x4df1a5,_0x36038f);let _0x250bc8=class extends _0x58b3ad[_0x4db1c3(0x25a)]{constructor(_0x4439f4,_0x41413c,_0xef7cfe,_0x533129,_0x5cfd12){const _0x1f4e92=_0x4db1c3;super(),_0x1fc77e(this,'_cursorShapes',[]),_0x1fc77e(this,_0x1f4e92(0x314),[]),(this[_0x1f4e92(0x2dc)]=_0x4439f4,this['_docSkeletonManagerService']=_0x41413c,this[_0x1f4e92(0x337)]=_0xef7cfe,this['_commandService']=_0x533129,this[_0x1f4e92(0x138)]=_0x5cfd12,this['_init']());}[_0x4db1c3(0x173)](){const _0x473cda=_0x4db1c3,_0x5a2724=this['_context']['unitId'],_0x483227=this['_docSkeletonManagerService'];this['disposeWithMe'](_0x6dabd3[_0x473cda(0x289)]([this[_0x473cda(0x337)][_0x473cda(0x22e)](_0x5a2724),this[_0x473cda(0x138)]['currentTheme$']])[_0x473cda(0x349)](_0x2f5382[_0x473cda(0x235)](([_0x16b2c6,_0x190aaa])=>({'skeleton':_0x483227[_0x473cda(0x165)](),'cursors':[..._0x16b2c6[_0x473cda(0x262)]()][_0x473cda(0x362)](_0x13ed92=>({..._0x13ed92,'color':this[_0x473cda(0x138)][_0x473cda(0x273)](_0x13ed92[_0x473cda(0x2a9)])}))})))[_0x473cda(0x39d)](_0x38846d=>{const _0x51285f=_0x473cda;if(this[_0x51285f(0x1fb)](),_0x38846d){const {skeleton:_0x1199f9,cursors:_0x11417b}=_0x38846d;this[_0x51285f(0x18e)](_0x1199f9,_0x11417b);}})),this[_0x473cda(0x29c)](),this[_0x473cda(0x322)]();}[_0x4db1c3(0x18e)](_0x95a5a6,_0x58d5ce){const _0x429ad3=_0x4db1c3,{scene:_0x574e55,mainComponent:_0x256ea7}=this[_0x429ad3(0x2dc)],_0x24bd98=_0x58d5ce['map'](_0x35deaa=>new _0x4152ac(_0x35deaa,_0x574e55,_0x95a5a6,_0x256ea7));this[_0x429ad3(0x25d)]=_0x24bd98,this['_cursors']=_0x58d5ce;}[_0x4db1c3(0x1b0)](){const _0x133bea=_0x4db1c3;this[_0x133bea(0x1fb)]();const {scene:_0x26d5f1,mainComponent:_0x19c518}=this[_0x133bea(0x2dc)],_0x3b0a09=this[_0x133bea(0x14f)]['getSkeleton'](),_0x2edb4e=this['_cursors'][_0x133bea(0x235)](_0x5e0502=>new _0x4152ac(_0x5e0502,_0x26d5f1,_0x3b0a09,_0x19c518));this[_0x133bea(0x25d)]=_0x2edb4e;}[_0x4db1c3(0x1fb)](){const _0x2c274c=_0x4db1c3;this[_0x2c274c(0x25d)]['forEach'](_0xf36e0c=>_0xf36e0c[_0x2c274c(0x1c3)]()),this[_0x2c274c(0x25d)]=[];}[_0x4db1c3(0x322)](){const _0x3f5a7a=_0x4db1c3,_0x4fe0ee=[_0x2e0d09[_0x3f5a7a(0x265)]['id']];this[_0x3f5a7a(0x212)](this['_commandService'][_0x3f5a7a(0x178)](_0x5e7f86=>{const _0x58ab8a=_0x3f5a7a;_0x4fe0ee[_0x58ab8a(0x20d)](_0x5e7f86['id'])&&_0x5e7f86[_0x58ab8a(0x190)][_0x58ab8a(0x187)]===this['_context']['unitId']&&this[_0x58ab8a(0x1b0)]();}));}[_0x4db1c3(0x29c)](){const _0x7a1675=_0x4db1c3;this[_0x7a1675(0x212)](_0x58b3ad['fromEventSubject'](this[_0x7a1675(0x2dc)]['engine']['onTransformChange$'])[_0x7a1675(0x349)](_0x2f5382[_0x7a1675(0x34d)](_0xf62fd0=>_0xf62fd0['type']===_0x839618['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x7a1675(0x206)]),_0x2f5382[_0x7a1675(0x301)](0x10))[_0x7a1675(0x39d)](()=>{this['_refreshCollabCursors']();}));}};_0x250bc8=_0x38742f([_0x16c793(0x1,_0x58b3ad[_0x4db1c3(0x257)](_0x54ca13[_0x4db1c3(0x342)])),_0x16c793(0x2,_0x58b3ad[_0x4db1c3(0x257)](_0x37f18b)),_0x16c793(0x3,_0x58b3ad['ICommandService']),_0x16c793(0x4,_0x58b3ad[_0x4db1c3(0x257)](_0x58b3ad['ThemeService']))],_0x250bc8);const _0x1d7c54=0x1,_0x28749=1.5;class _0x2f939e extends _0x839618[_0x4db1c3(0x213)]{constructor(_0x2f72c5,_0x517b4f){const _0x5aca94=_0x4db1c3;super(_0x2f72c5,_0x517b4f),_0x1fc77e(this,_0x5aca94(0x215)),_0x1fc77e(this,_0x5aca94(0x1a2),!0x1),_0x1fc77e(this,_0x5aca94(0x164)),_0x1fc77e(this,'_name',''),_0x1fc77e(this,'_labelPosition',_0x5aca94(0x31b)),_0x1fc77e(this,_0x5aca94(0x14e)),(_0x517b4f&&this[_0x5aca94(0x118)](_0x517b4f),this[_0x5aca94(0x1f7)][_0x5aca94(0x1aa)](()=>this['setShapeProps']({'hovered':!0x0})),this['onPointerLeave$'][_0x5aca94(0x1aa)](()=>this[_0x5aca94(0x118)]({'hovered':!0x1})));}[_0x4db1c3(0x118)](_0x5cf2f0){const _0x3ac12c=_0x4db1c3;var _0x477c92,_0x51cef6,_0xa58906,_0x2217b6,_0x5d2668,_0x1fa979;this[_0x3ac12c(0x215)]=(_0x477c92=_0x5cf2f0['color'])!=null?_0x477c92:this[_0x3ac12c(0x215)],this['_hovered']=(_0x51cef6=_0x5cf2f0[_0x3ac12c(0x2a0)])!=null?_0x51cef6:this[_0x3ac12c(0x1a2)],this['_range']=(_0xa58906=_0x5cf2f0[_0x3ac12c(0x211)])!=null?_0xa58906:this[_0x3ac12c(0x164)],this[_0x3ac12c(0x27f)]=(_0x2217b6=_0x5cf2f0['name'])!=null?_0x2217b6:this[_0x3ac12c(0x27f)],this[_0x3ac12c(0x29a)]=(_0x5d2668=_0x5cf2f0[_0x3ac12c(0x160)])!=null?_0x5d2668:this['_labelPosition'],this[_0x3ac12c(0x14e)]=(_0x1fa979=_0x5cf2f0[_0x3ac12c(0x253)])!=null?_0x1fa979:this[_0x3ac12c(0x14e)],this['transformByState']({'width':_0x5cf2f0[_0x3ac12c(0x3b1)],'height':_0x5cf2f0[_0x3ac12c(0x35b)]});}[_0x4db1c3(0x119)](_0x5ed783){const _0x1fcbd3=_0x4db1c3,{row:_0x15fa9f,column:_0x2aba08}=_0x5ed783;if(_0x15fa9f>=this[_0x1fcbd3(0x164)]['startRow']&&_0x15fa9f<=this[_0x1fcbd3(0x164)][_0x1fcbd3(0x17b)]&&_0x2aba08>=this[_0x1fcbd3(0x164)]['startColumn']&&_0x2aba08<=this[_0x1fcbd3(0x164)][_0x1fcbd3(0x33f)]){this[_0x1fcbd3(0x118)]({'hovered':!0x0});return;}this['setShapeProps']({'hovered':!0x1});}[_0x4db1c3(0x352)](_0x3f1419){return!0x1;}[_0x4db1c3(0x1da)](_0x353dec){const _0x3d5cfa=_0x4db1c3;_0x839618['Rect'][_0x3d5cfa(0x18a)](_0x353dec,{'width':this[_0x3d5cfa(0x3b1)],'height':this[_0x3d5cfa(0x35b)],'strokeWidth':_0x28749,'stroke':this[_0x3d5cfa(0x215)],'evented':!0x1,'fill':this[_0x3d5cfa(0x14e)]}),this[_0x3d5cfa(0x1a2)]&&(_0x353dec['save'](),_0x353dec[_0x3d5cfa(0x1d4)](0x1,0x0,0x0,0x1,this[_0x3d5cfa(0x3b1)],this[_0x3d5cfa(0x29a)]===_0x3d5cfa(0x389)?0x0:-0x14),_0x2a5523[_0x3d5cfa(0x18a)](_0x353dec,{'text':this['_name'],'color':this[_0x3d5cfa(0x215)]}),_0x353dec[_0x3d5cfa(0x229)]());}}var _0x5d7326=Object[_0x4db1c3(0x2ff)],_0x116e40=(_0xef63e8,_0x5d2215,_0xcfe57f,_0x5aac97)=>{for(var _0x38df71=_0x5aac97>0x1?void 0x0:_0x5aac97?_0x5d7326(_0x5d2215,_0xcfe57f):_0x5d2215,_0x455072=_0xef63e8['length']-0x1,_0x490781;_0x455072>=0x0;_0x455072--)(_0x490781=_0xef63e8[_0x455072])&&(_0x38df71=_0x490781(_0x38df71)||_0x38df71);return _0x38df71;},_0xe44dfe=(_0x2d8f1c,_0x29d9a2)=>(_0x483ec7,_0x306f39)=>_0x29d9a2(_0x483ec7,_0x306f39,_0x2d8f1c);const _0x5d9545=0x1389;let _0x82a8ef=class extends _0x58b3ad[_0x4db1c3(0x25a)]{constructor(_0x4478b3,_0x40700a,_0x26a34f,_0x1d5816){const _0x3ad447=_0x4db1c3;super(),_0x1fc77e(this,_0x3ad447(0x314),new Set()),_0x1fc77e(this,_0x3ad447(0x219),null),(this[_0x3ad447(0x2dc)]=_0x4478b3,this[_0x3ad447(0x2e8)]=_0x40700a,this[_0x3ad447(0x337)]=_0x26a34f,this[_0x3ad447(0x138)]=_0x1d5816,this[_0x3ad447(0x173)]());}[_0x4db1c3(0x173)](){const _0x5a92d8=_0x4db1c3;this[_0x5a92d8(0x2e8)][_0x5a92d8(0x13a)]['pipe'](_0x2f5382[_0x5a92d8(0x2e7)](this[_0x5a92d8(0x125)]),_0x2f5382[_0x5a92d8(0x11b)](_0x5c872d=>{const _0x46aabd=_0x5a92d8;if(_0x5c872d){const _0x557a65=_0x5c872d[_0x46aabd(0x351)];return _0x6dabd3[_0x46aabd(0x289)](this[_0x46aabd(0x337)]['getCollabCursors$'](this[_0x46aabd(0x2dc)][_0x46aabd(0x187)]),this[_0x46aabd(0x138)][_0x46aabd(0x1cc)])[_0x46aabd(0x349)](_0x2f5382[_0x46aabd(0x235)](([_0xa7cb24,_0x1a6176])=>{const _0x526de8=_0x46aabd,_0x107a16=new Map();return _0xa7cb24[_0x526de8(0x341)]((_0x39351a,_0x4b10f7)=>{const _0xbe115d=_0x526de8;if(_0x39351a[_0xbe115d(0x202)]===_0x557a65){const _0x21a4ab={..._0x39351a};_0x21a4ab[_0xbe115d(0x2a9)]=this['_themeService'][_0xbe115d(0x273)](_0x39351a[_0xbe115d(0x2a9)]),_0x107a16[_0xbe115d(0x3b3)](_0x4b10f7,_0x21a4ab);}}),{'skeleton':_0x5c872d,'cursors':_0x107a16};}));}return _0x6dabd3['of']({'skeleton':null,'cursors':new Map()});}))[_0x5a92d8(0x39d)](({skeleton:_0x2f6cb0,cursors:_0x3e98dd})=>{const _0x30db6d=_0x5a92d8;this[_0x30db6d(0x1fb)](),_0x2f6cb0&&this['_updateCollabCursors'](_0x2f6cb0,_0x3e98dd);}),this[_0x5a92d8(0x2e8)][_0x5a92d8(0x13a)][_0x5a92d8(0x39d)](_0x2c598d=>{const _0x188438=_0x5a92d8;if(_0x2c598d==null)return;const {skeleton:_0x13c69f}=_0x2c598d,{scene:_0x3bafc9}=this[_0x188438(0x2dc)];_0x3bafc9[_0x188438(0x264)][_0x188438(0x1aa)](_0x58b3ad[_0x188438(0x2f9)](_0x2b426=>{const _0x2fd296=_0x188438;var _0xfffe4,_0x1bf70b;const {offsetX:_0x3fda8a,offsetY:_0x50d15f}=_0x2b426,{x:_0xab8267,y:_0x4343fe}=_0x3bafc9[_0x2fd296(0x23f)](_0x839618[_0x2fd296(0x161)][_0x2fd296(0x2d6)]([_0x3fda8a,_0x50d15f])),{scaleX:_0x1a71a9,scaleY:_0x4ba497}=_0x3bafc9[_0x2fd296(0x30a)](),_0x32f281=_0x3bafc9[_0x2fd296(0x2a5)](_0x839618[_0x2fd296(0x350)]['VIEW_MAIN']),_0x2b23af=_0x3bafc9[_0x2fd296(0x377)](_0x839618[_0x2fd296(0x161)][_0x2fd296(0x2d6)]([_0xab8267,_0x4343fe]),_0x32f281),_0x4a15f0=_0x13c69f[_0x2fd296(0x256)](_0x3fda8a,_0x50d15f,_0x1a71a9,_0x4ba497,_0x2b23af);((_0xfffe4=this[_0x2fd296(0x219)])==null?void 0x0:_0xfffe4['column'])===_0x4a15f0[_0x2fd296(0x184)]&&((_0x1bf70b=this[_0x2fd296(0x219)])==null?void 0x0:_0x1bf70b[_0x2fd296(0x237)])===_0x4a15f0[_0x2fd296(0x237)]||this[_0x2fd296(0x314)][_0x2fd296(0x341)](_0x400bab=>{_0x400bab['onMouseMove'](_0x4a15f0);});},0x64));});}[_0x4db1c3(0x18e)](_0x2580fc,_0xf34c){const _0x327ab2=_0x4db1c3;var _0x5f1a2e;const _0x2bb110=(_0x5f1a2e=this['_sheetSkeletonManagerService'][_0x327ab2(0x37d)]())==null?void 0x0:_0x5f1a2e[_0x327ab2(0x26c)];if(!_0x2bb110)return;const _0x5274ef=this[_0x327ab2(0x345)]();if(!_0x5274ef)return;this[_0x327ab2(0x314)][_0x327ab2(0x341)](_0x473522=>{const _0x8f7f07=_0x327ab2;_0x473522[_0x8f7f07(0x295)]();});const {scene:_0x51f99e}=_0x5274ef,_0x54b95e=_0x57f00b(Array[_0x327ab2(0x2e0)](_0xf34c[_0x327ab2(0x262)]()))['map'](_0x27d8ac=>{const _0x189bfc=_0x327ab2,{color:_0x7d9c46,range:_0x1d60ec,name:_0x1158f9,selection:_0xef910e,sheetID:_0x5b6325}=_0x27d8ac,{startColumn:_0x218c74,startRow:_0x1d8f53,endColumn:_0x4c75c9,endRow:_0x3157c6}=_0x1d60ec,_0x55a9c6=_0x31b2f1[_0x189bfc(0x360)](_0x1d8f53,_0x218c74,_0x51f99e,_0x2bb110),_0xd572e9=_0x31b2f1[_0x189bfc(0x360)](_0x3157c6,_0x4c75c9,_0x51f99e,_0x2bb110),{columnHeaderHeightAndMarginTop:_0x38c20f}=_0x2bb110,{startX:_0x4cbc3b,startY:_0x25fb85}=_0x55a9c6,{endX:_0x2a94c9,endY:_0x3f3aa3}=_0xd572e9,_0x3e2314=_0x2a94c9-_0x4cbc3b,_0x31d820=_0x3f3aa3-_0x25fb85,_0x15fd62={'labelPosition':_0x25fb85-_0x38c20f>=_0x2f36af?'top':'bottom','sheetID':_0x5b6325,'range':_0x1d60ec,'color':_0x7d9c46,'name':_0x1158f9,'selection':_0xef910e,'left':_0x4cbc3b,'top':_0x25fb85,'width':_0x3e2314,'height':_0x31d820,'evented':!0x1,'zIndex':_0x5d9545};return new _0x2f939e(_0x1158f9,_0x15fd62);});_0x51f99e[_0x327ab2(0x255)](_0x54b95e,_0x1d7c54),this[_0x327ab2(0x314)]=new Set(_0x54b95e);}[_0x4db1c3(0x1fb)](){const _0x12881a=_0x4db1c3;var _0x4a8923;(_0x4a8923=this[_0x12881a(0x314)])==null||_0x4a8923[_0x12881a(0x341)](_0x58ac13=>_0x58ac13[_0x12881a(0x1c3)]());}['_getSheetObject'](){const _0x162a60=_0x4db1c3;return _0x31b2f1[_0x162a60(0x263)](this[_0x162a60(0x2dc)][_0x162a60(0x148)],this[_0x162a60(0x2dc)]);}};_0x82a8ef=_0x116e40([_0xe44dfe(0x1,_0x58b3ad[_0x4db1c3(0x257)](_0x31b2f1[_0x4db1c3(0x195)])),_0xe44dfe(0x2,_0x58b3ad['Inject'](_0x37f18b)),_0xe44dfe(0x3,_0x58b3ad[_0x4db1c3(0x257)](_0x58b3ad[_0x4db1c3(0x386)]))],_0x82a8ef);function _0x57f00b(_0x1b5178){const _0x481c38=_0x4db1c3,_0x3e8ce6=new Map();return _0x1b5178[_0x481c38(0x341)](_0x5b6090=>{const _0x168cd7=_0x481c38;if(_0x3e8ce6['has'](_0x5b6090['selection'])){const _0x48a1f1=_0x3e8ce6[_0x168cd7(0x2c5)](_0x5b6090[_0x168cd7(0x37b)]);_0x48a1f1['name']+=',\x20'+_0x5b6090[_0x168cd7(0x2d0)];}else _0x3e8ce6['set'](_0x5b6090['selection'],_0x5b6090);}),Array[_0x481c38(0x2e0)](_0x3e8ce6['values']());}var _0x2b2a5d=function(){const _0x25fe08=_0x4db1c3;return _0x2b2a5d=Object[_0x25fe08(0x2fd)]||function(_0x3ffad3){const _0xe6c7a9=_0x25fe08;for(var _0x15fc4b,_0x2f7bf7=0x1,_0x2d56ea=arguments['length'];_0x2f7bf7<_0x2d56ea;_0x2f7bf7++){_0x15fc4b=arguments[_0x2f7bf7];for(var _0x38db0f in _0x15fc4b)Object[_0xe6c7a9(0x1c7)][_0xe6c7a9(0x31a)]['call'](_0x15fc4b,_0x38db0f)&&(_0x3ffad3[_0x38db0f]=_0x15fc4b[_0x38db0f]);}return _0x3ffad3;},_0x2b2a5d[_0x25fe08(0x21c)](this,arguments);},_0x1b5d1b=function(_0x4f929b,_0x12d89f){const _0x85eafe=_0x4db1c3;var _0x253cee={};for(var _0x19c213 in _0x4f929b)Object[_0x85eafe(0x1c7)][_0x85eafe(0x31a)][_0x85eafe(0x3a1)](_0x4f929b,_0x19c213)&&_0x12d89f[_0x85eafe(0x384)](_0x19c213)<0x0&&(_0x253cee[_0x19c213]=_0x4f929b[_0x19c213]);if(_0x4f929b!=null&&typeof Object[_0x85eafe(0x338)]==_0x85eafe(0x150)){for(var _0xb41569=0x0,_0x19c213=Object[_0x85eafe(0x338)](_0x4f929b);_0xb41569<_0x19c213['length'];_0xb41569++)_0x12d89f[_0x85eafe(0x384)](_0x19c213[_0xb41569])<0x0&&Object[_0x85eafe(0x1c7)]['propertyIsEnumerable'][_0x85eafe(0x3a1)](_0x4f929b,_0x19c213[_0xb41569])&&(_0x253cee[_0x19c213[_0xb41569]]=_0x4f929b[_0x19c213[_0xb41569]]);}return _0x253cee;},_0x3286b0=_0xf0b2ac[_0x4db1c3(0x39e)](function(_0x2fb58a,_0x1acca2){const _0x22eeab=_0x4db1c3;var _0x809656=_0x2fb58a[_0x22eeab(0x1c0)],_0x4e9e9e=_0x2fb58a['id'],_0xa61375=_0x2fb58a['className'],_0x40362c=_0x2fb58a[_0x22eeab(0x258)],_0x57b167=_0x1b5d1b(_0x2fb58a,['icon','id',_0x22eeab(0x1c5),_0x22eeab(0x258)]),_0x11542f=_0x22eeab(0x1e6)[_0x22eeab(0x32e)](_0x4e9e9e,'\x20')[_0x22eeab(0x32e)](_0xa61375||'')[_0x22eeab(0x25c)](),_0x5f1e06=_0xf0b2ac[_0x22eeab(0x399)]('_'['concat'](_0xd956d5()));return _0x534f5a(_0x809656,''[_0x22eeab(0x32e)](_0x4e9e9e),{'defIds':_0x809656[_0x22eeab(0x30f)],'idSuffix':_0x5f1e06[_0x22eeab(0x1cd)]},_0x2b2a5d({'ref':_0x1acca2,'className':_0x11542f},_0x57b167),_0x40362c);});function _0x534f5a(_0x542889,_0x3f8322,_0x6116a3,_0x227c7d,_0x462f97){const _0x38e583=_0x4db1c3;return _0xf0b2ac[_0x38e583(0x1f5)](_0x542889[_0x38e583(0x2cb)],_0x2b2a5d(_0x2b2a5d({'key':_0x3f8322},_0xea4ead(_0x542889,_0x6116a3,_0x462f97)),_0x227c7d),(_0x4b963f(_0x542889,_0x6116a3)[_0x38e583(0x302)]||[])[_0x38e583(0x235)](function(_0x379be6,_0x4fda6e){const _0x226990=_0x38e583;return _0x534f5a(_0x379be6,''['concat'](_0x3f8322,'-')[_0x226990(0x32e)](_0x542889['tag'],'-')[_0x226990(0x32e)](_0x4fda6e),_0x6116a3,void 0x0,_0x462f97);}));}function _0xea4ead(_0x4b812e,_0x51ba38,_0x434c5b){const _0x315d16=_0x4db1c3;var _0x4d1395=_0x2b2a5d({},_0x4b812e[_0x315d16(0x201)]);_0x434c5b!=null&&_0x434c5b['colorChannel1']&&_0x4d1395['fill']==='colorChannel1'&&(_0x4d1395[_0x315d16(0x1c2)]=_0x434c5b[_0x315d16(0x16a)]),_0x4b812e[_0x315d16(0x2cb)]===_0x315d16(0x1a0)&&_0x4d1395['id']&&(_0x4d1395['id']=_0x4d1395['id']+_0x51ba38['idSuffix']),Object[_0x315d16(0x2c6)](_0x4d1395)[_0x315d16(0x341)](function(_0xc63eaa){const _0x4b2007=_0x315d16;var _0x5c4c0b=_0xc63eaa[0x0],_0x120f86=_0xc63eaa[0x1];_0x5c4c0b===_0x4b2007(0x1a0)&&typeof _0x120f86==_0x4b2007(0x154)&&(_0x4d1395[_0x5c4c0b]=_0x120f86[_0x4b2007(0x1f3)](/url\(#(.*)\)/,_0x4b2007(0x38a)[_0x4b2007(0x32e)](_0x51ba38[_0x4b2007(0x1b6)],')')));});var _0x15fb1d=_0x51ba38[_0x315d16(0x30f)];return!_0x15fb1d||_0x15fb1d[_0x315d16(0x1d3)]===0x0||(_0x4b812e[_0x315d16(0x2cb)]===_0x315d16(0x2af)&&_0x4d1395[_0x315d16(0x24e)]&&(_0x4d1395[_0x315d16(0x24e)]=_0x4d1395[_0x315d16(0x24e)]+_0x51ba38['idSuffix']),Object[_0x315d16(0x2c6)](_0x4d1395)[_0x315d16(0x341)](function(_0x416f09){const _0x3b1210=_0x315d16;var _0x65e93f=_0x416f09[0x0],_0xb0735=_0x416f09[0x1];typeof _0xb0735=='string'&&(_0x4d1395[_0x65e93f]=_0xb0735['replace'](/url\(#(.*)\)/,'url(#$1'[_0x3b1210(0x32e)](_0x51ba38[_0x3b1210(0x1b6)],')')));})),_0x4d1395;}function _0x4b963f(_0x520ed4,_0x447e1a){const _0x1975e1=_0x4db1c3;var _0x49e33d,_0x303782=_0x447e1a[_0x1975e1(0x30f)];return!_0x303782||_0x303782['length']===0x0?_0x520ed4:_0x520ed4[_0x1975e1(0x2cb)]===_0x1975e1(0x38c)&&(!((_0x49e33d=_0x520ed4['children'])===null||_0x49e33d===void 0x0)&&_0x49e33d[_0x1975e1(0x1d3)])?_0x2b2a5d(_0x2b2a5d({},_0x520ed4),{'children':_0x520ed4[_0x1975e1(0x302)]['map'](function(_0x13a2d){const _0x241f25=_0x1975e1;return typeof _0x13a2d[_0x241f25(0x201)]['id']==_0x241f25(0x154)&&_0x303782&&_0x303782['indexOf'](_0x13a2d[_0x241f25(0x201)]['id'])>-0x1?_0x2b2a5d(_0x2b2a5d({},_0x13a2d),{'attrs':_0x2b2a5d(_0x2b2a5d({},_0x13a2d[_0x241f25(0x201)]),{'id':_0x13a2d[_0x241f25(0x201)]['id']+_0x447e1a[_0x241f25(0x1b6)]})}):_0x13a2d;})}):_0x520ed4;}function _0xd956d5(){const _0x250e14=_0x4db1c3;return Math[_0x250e14(0x1f1)]()[_0x250e14(0x185)](0x24)[_0x250e14(0x27c)](0x2,0x8);}_0x3286b0['displayName']='UniverIcon';var _0xe7c75b={'tag':_0x4db1c3(0x191),'attrs':{'fill':_0x4db1c3(0x11a),'viewBox':_0x4db1c3(0x204),'width':_0x4db1c3(0x14d),'height':_0x4db1c3(0x14d)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-single_clip0_910_343)'},'children':[{'tag':_0x4db1c3(0x3ae),'attrs':{'stroke':_0x4db1c3(0x2fc),'d':_0x4db1c3(0x2d8),'strokeLinecap':_0x4db1c3(0x16f),'strokeLinejoin':_0x4db1c3(0x16f),'strokeWidth':1.2}}]},{'tag':_0x4db1c3(0x38c),'attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x4db1c3(0x378)},'children':[{'tag':_0x4db1c3(0x3ae),'attrs':{'fill':_0x4db1c3(0x3ad),'d':_0x4db1c3(0x37e)}}]}]}],'defIds':[_0x4db1c3(0x378)]},_0x2ac8dc=_0xf0b2ac[_0x4db1c3(0x39e)](function(_0x15c757,_0x1afad5){const _0x17b4f9=_0x4db1c3;return _0xf0b2ac[_0x17b4f9(0x1f5)](_0x3286b0,Object[_0x17b4f9(0x2fd)]({},_0x15c757,{'id':'off-line-single','ref':_0x1afad5,'icon':_0xe7c75b}));});_0x2ac8dc['displayName']=_0x4db1c3(0x303);var _0x436151={'tag':_0x4db1c3(0x191),'attrs':{'fill':'none','viewBox':_0x4db1c3(0x2b3),'width':_0x4db1c3(0x14d),'height':_0x4db1c3(0x14d)},'children':[{'tag':'g','attrs':{'clipPath':_0x4db1c3(0x373)},'children':[{'tag':_0x4db1c3(0x3ae),'attrs':{'stroke':_0x4db1c3(0x2fc),'d':_0x4db1c3(0x2a4),'strokeLinecap':'round','strokeLinejoin':_0x4db1c3(0x16f),'strokeWidth':1.2}}]},{'tag':_0x4db1c3(0x38c),'attrs':{},'children':[{'tag':_0x4db1c3(0x27a),'attrs':{'id':'on-line-single_clip0_910_349'},'children':[{'tag':_0x4db1c3(0x3ae),'attrs':{'fill':_0x4db1c3(0x3ad),'d':_0x4db1c3(0x37e),'transform':'translate(.97)'}}]}]}],'defIds':['on-line-single_clip0_910_349']},_0x2cd5c9=_0xf0b2ac[_0x4db1c3(0x39e)](function(_0x2abcac,_0x22194d){const _0x503062=_0x4db1c3;return _0xf0b2ac['createElement'](_0x3286b0,Object['assign']({},_0x2abcac,{'id':_0x503062(0x1bb),'ref':_0x22194d,'icon':_0x436151}));});_0x2cd5c9[_0x4db1c3(0x2ce)]='OnLineSingle';function _0x39c85a(_0x10bc22){const _0x215768=_0x4db1c3;switch(_0x10bc22){case _0x2023db[_0x215768(0x11e)][_0x215768(0x1d8)]:return'collabStatus.offline';case _0x2023db[_0x215768(0x11e)]['CONFLICT']:return _0x215768(0x2da);case _0x2023db[_0x215768(0x11e)][_0x215768(0x2fa)]:return _0x215768(0x2a2);case _0x2023db[_0x215768(0x11e)][_0x215768(0x272)]:return _0x215768(0x2b1);case _0x2023db[_0x215768(0x11e)]['AWAITING']:case _0x2023db[_0x215768(0x11e)][_0x215768(0x19b)]:return _0x215768(0x1e1);case _0x2023db[_0x215768(0x11e)][_0x215768(0x2d1)]:case _0x2023db[_0x215768(0x11e)][_0x215768(0x142)]:return'collabStatus.synced';}}function _0x478902(_0x27e7d2){const _0x34d488=_0x4db1c3,{status$:_0x21c9c1}=_0x27e7d2,_0x28e3f3=_0x1a2ea0[_0x34d488(0x23c)](_0x21c9c1,_0x2023db[_0x34d488(0x11e)][_0x34d488(0x272)]),_0x143bed=_0x1a2ea0[_0x34d488(0x214)](_0x58b3ad[_0x34d488(0x1ad)]),_0x2eb1a5=_0x1a2ea0['useDependency'](_0x2023db['CollaborationSessionService']),_0x6b9419=_0x28e3f3!==_0x2023db[_0x34d488(0x11e)][_0x34d488(0x1d8)],_0x587d55=_0x143bed['t'](_0x39c85a(_0x28e3f3)),_0x3c6caf=_0x6b9419?_0x5116ef[_0x34d488(0x231)](_0x2cd5c9,{}):_0x5116ef[_0x34d488(0x231)](_0x2ac8dc,{}),_0x2d464f=_0xf0b2ac['useCallback'](()=>{_0x6b9419||_0x2eb1a5['reconnect']();},[_0x6b9419,_0x2eb1a5]);function _0x15ff7a(){const _0x41d075=_0x34d488;return _0x5116ef[_0x41d075(0x274)](_0x41d075(0x390),{'className':'univer-flex\x20univer-items-center','onClick':_0x2d464f,'children':[_0x5116ef[_0x41d075(0x231)](_0x41d075(0x390),{'className':_0x43985a[_0x41d075(0x1b1)]('univer-flex\x20univer-mr-2\x20univer-text-xl',{'univer-text-green-500':_0x6b9419,'univer-text-red-500':!_0x6b9419}),'children':_0x3c6caf}),_0x5116ef['jsx']('div',{'className':_0x41d075(0x33e),'children':_0x587d55})]});}return _0x6b9419?_0x15ff7a():_0x5116ef['jsx'](_0x43985a['Tooltip'],{'title':_0x143bed['t'](_0x34d488(0x1ea)),'children':_0x15ff7a()});}var _0x793154=Object['getOwnPropertyDescriptor'],_0xb08a6f=(_0x35d285,_0x303173,_0x42c584,_0x5d8271)=>{const _0x310f75=_0x4db1c3;for(var _0xd6bade=_0x5d8271>0x1?void 0x0:_0x5d8271?_0x793154(_0x303173,_0x42c584):_0x303173,_0x5543e6=_0x35d285[_0x310f75(0x1d3)]-0x1,_0x3500ff;_0x5543e6>=0x0;_0x5543e6--)(_0x3500ff=_0x35d285[_0x5543e6])&&(_0xd6bade=_0x3500ff(_0xd6bade)||_0xd6bade);return _0xd6bade;},_0x51536f=(_0x150c01,_0x47064a)=>(_0x254ea0,_0x224e22)=>_0x47064a(_0x254ea0,_0x224e22,_0x150c01);_0x58baf5[_0x4db1c3(0x3b4)]=class extends _0x58b3ad[_0x4db1c3(0x33d)]{constructor(_0x4ecab4,_0x21d377,_0x6da284,_0x177b44){const _0xdbced5=_0x4db1c3;super(),_0x1fc77e(this,_0xdbced5(0x254),new _0x6dabd3[(_0xdbced5(0x25f))](_0x2023db[_0xdbced5(0x11e)][_0xdbced5(0x272)])),(this[_0xdbced5(0x1e2)]=_0x4ecab4,this[_0xdbced5(0x25e)]=_0x21d377,this[_0xdbced5(0x17e)]=_0x6da284,this[_0xdbced5(0x207)]=_0x177b44,this[_0xdbced5(0x1fe)](),this['_initStatusListener']());}['_initStatusListener'](){const _0x376917=_0x4db1c3;this['disposeWithMe'](this[_0x376917(0x1e2)]['focused$'][_0x376917(0x349)](_0x6dabd3[_0x376917(0x11b)](()=>{const _0x56fe7f=_0x376917,_0x5990eb=this[_0x56fe7f(0x1e2)]['getFocusedUnit']();return _0x5990eb?this[_0x56fe7f(0x17e)][_0x56fe7f(0x182)](_0x5990eb[_0x56fe7f(0x238)]()):_0x6dabd3['of'](null);}),_0x6dabd3['switchMap'](_0x528aa9=>_0x528aa9?_0x528aa9['status$']:_0x6dabd3['of'](_0x2023db[_0x376917(0x11e)][_0x376917(0x272)])))[_0x376917(0x39d)](_0x3d4a01=>{const _0x3d5e34=_0x376917;this[_0x3d5e34(0x254)]['next'](_0x3d4a01);}));}[_0x4db1c3(0x1fe)](){const _0x465862=_0x4db1c3;this[_0x465862(0x212)](this['_uiPartsService'][_0x465862(0x1ab)](_0x1a2ea0[_0x465862(0x2f2)][_0x465862(0x2d3)],()=>_0x1a2ea0[_0x465862(0x20f)](_0x2d8bb2({'status$':this[_0x465862(0x254)][_0x465862(0x23e)]()}),this[_0x465862(0x25e)])));}},_0x58baf5[_0x4db1c3(0x3b4)]=_0xb08a6f([_0x51536f(0x0,_0x58b3ad[_0x4db1c3(0x30d)]),_0x51536f(0x1,_0x58b3ad['Inject'](_0x58b3ad['Injector'])),_0x51536f(0x2,_0x58b3ad[_0x4db1c3(0x257)](_0x2023db[_0x4db1c3(0x2f3)])),_0x51536f(0x3,_0x1a2ea0[_0x4db1c3(0x388)])],_0x58baf5['DesktopCollaborationStatusDisplayController']);function _0x2d8bb2(_0x46d570){const {status$:_0x29fbae}=_0x46d570;return function(){const _0x56bf8c=_0x222d;return _0x5116ef[_0x56bf8c(0x231)](_0x478902,{'status$':_0x29fbae});};}var _0x13a89f=Object['getOwnPropertyDescriptor'],_0x37a252=(_0x30fef7,_0x4ebf86,_0x4c2899,_0x4b2dc2)=>{const _0x1da6de=_0x4db1c3;for(var _0x469aad=_0x4b2dc2>0x1?void 0x0:_0x4b2dc2?_0x13a89f(_0x4ebf86,_0x4c2899):_0x4ebf86,_0x4f3475=_0x30fef7[_0x1da6de(0x1d3)]-0x1,_0x483804;_0x4f3475>=0x0;_0x4f3475--)(_0x483804=_0x30fef7[_0x4f3475])&&(_0x469aad=_0x483804(_0x469aad)||_0x469aad);return _0x469aad;},_0xcb97ef=(_0x4143d9,_0x11f326)=>(_0x5492cb,_0x19c9d2)=>_0x11f326(_0x5492cb,_0x19c9d2,_0x4143d9);let _0xf7f3cb=class extends _0x58b3ad[_0x4db1c3(0x33d)]{constructor(_0x4424b4,_0x475c97,_0x59f24e,_0xd842ea,_0x5f50ee,_0x18e3b3){const _0x48a808=_0x4db1c3;super(),this[_0x48a808(0x193)]=_0x4424b4,this['_localCacheService']=_0x475c97,this[_0x48a808(0x3a0)]=_0x59f24e,this['_messageService']=_0xd842ea,this[_0x48a808(0x2cf)]=_0x5f50ee,this[_0x48a808(0x383)]=_0x18e3b3,this[_0x48a808(0x282)](),this[_0x48a808(0x159)]();}[_0x4db1c3(0x282)](){const _0x4faba0=_0x4db1c3;this[_0x4faba0(0x212)](this['_beforeCloseService'][_0x4faba0(0x29f)](()=>{const _0x133645=_0x4faba0;if(this[_0x133645(0x15b)][_0x133645(0x24a)][_0x133645(0x364)])return this[_0x133645(0x383)]['t'](_0x133645(0x1de));}));}[_0x4db1c3(0x159)](){const _0x141ded=_0x4db1c3;this['disposeWithMe'](this[_0x141ded(0x3a0)]['event$'][_0x141ded(0x39d)](_0x4cdd9f=>{const _0x4f1f85=_0x141ded;_0x4cdd9f['id']===_0x2023db[_0x4f1f85(0x307)][_0x4f1f85(0x194)]&&this['_messageService'][_0x4f1f85(0x157)]({'type':_0x43985a[_0x4f1f85(0x139)][_0x4f1f85(0x1af)],'content':this[_0x4f1f85(0x383)]['t'](_0x4f1f85(0x1e4))}),_0x4cdd9f['id']===_0x2023db[_0x4f1f85(0x307)][_0x4f1f85(0x31c)]&&this[_0x4f1f85(0x394)][_0x4f1f85(0x157)]({'type':_0x43985a[_0x4f1f85(0x139)]['Warning'],'content':this[_0x4f1f85(0x383)]['t'](_0x4f1f85(0x2d4))}),_0x4cdd9f['id']===_0x2023db[_0x4f1f85(0x307)][_0x4f1f85(0x13b)]&&this[_0x4f1f85(0x2cf)][_0x4f1f85(0x157)]({'title':this['_localeService']['t']('permission.title'),'content':this[_0x4f1f85(0x383)]['t'](_0x4f1f85(0x30b)),'type':_0x4f1f85(0x1f2),'duration':0x0}),_0x4cdd9f['id']===_0x2023db['CollaborationUIEventId'][_0x4f1f85(0x12b)]&&this['_messageService'][_0x4f1f85(0x157)]({'type':_0x43985a['MessageType'][_0x4f1f85(0x1cb)],'content':this['_localeService']['t'](_0x4f1f85(0x2d4))+'('+_0x4cdd9f[_0x4f1f85(0x1a3)]+')'}),_0x4cdd9f['id']===_0x2023db[_0x4f1f85(0x307)][_0x4f1f85(0x224)]&&this[_0x4f1f85(0x394)][_0x4f1f85(0x157)]({'type':_0x43985a['MessageType'][_0x4f1f85(0x1af)],'content':this[_0x4f1f85(0x383)]['t'](_0x4cdd9f[_0x4f1f85(0x1a3)]||'')}),_0x4cdd9f['id']===_0x2023db[_0x4f1f85(0x307)][_0x4f1f85(0x2a8)]&&this[_0x4f1f85(0x394)][_0x4f1f85(0x157)]({'type':_0x43985a[_0x4f1f85(0x139)][_0x4f1f85(0x1af)],'content':this['_localeService']['t'](_0x4f1f85(0x1e0))}),_0x4cdd9f['id']===_0x2023db[_0x4f1f85(0x307)][_0x4f1f85(0x398)]&&this[_0x4f1f85(0x394)][_0x4f1f85(0x157)]({'type':_0x43985a[_0x4f1f85(0x139)][_0x4f1f85(0x1cb)],'content':this[_0x4f1f85(0x383)]['t'](_0x4f1f85(0x242))}),_0x4cdd9f['id']===_0x2023db[_0x4f1f85(0x307)]['SUBMIT_CHANGESET_TIMEOUT']&&this['_messageService'][_0x4f1f85(0x157)]({'type':_0x43985a['MessageType'][_0x4f1f85(0x1cb)],'content':this[_0x4f1f85(0x383)]['t'](_0x4f1f85(0x310))});}));}};_0xf7f3cb=_0x37a252([_0xcb97ef(0x0,_0x1a2ea0[_0x4db1c3(0x1e8)]),_0xcb97ef(0x1,_0x2023db[_0x4db1c3(0x30e)]),_0xcb97ef(0x2,_0x58b3ad[_0x4db1c3(0x257)](_0x2023db['CollaborationUIEventService'])),_0xcb97ef(0x3,_0x1a2ea0[_0x4db1c3(0x239)]),_0xcb97ef(0x4,_0x1a2ea0[_0x4db1c3(0x37c)]),_0xcb97ef(0x5,_0x58b3ad['Inject'](_0x58b3ad[_0x4db1c3(0x1ad)]))],_0xf7f3cb);const _0x121401=_0x4db1c3(0x1a9),_0x5ce969={},_0x5b0fb3=_0x58b3ad[_0x4db1c3(0x1e7)](_0x4db1c3(0x1ca));var _0x4c9615=Object['getOwnPropertyDescriptor'],_0x2be001=(_0x411c5c,_0x177efe,_0x22537f,_0x55351f)=>{const _0x60ce65=_0x4db1c3;for(var _0x204f63=_0x55351f>0x1?void 0x0:_0x55351f?_0x4c9615(_0x177efe,_0x22537f):_0x177efe,_0x30c453=_0x411c5c[_0x60ce65(0x1d3)]-0x1,_0x919e44;_0x30c453>=0x0;_0x30c453--)(_0x919e44=_0x411c5c[_0x30c453])&&(_0x204f63=_0x919e44(_0x204f63)||_0x204f63);return _0x204f63;},_0xa8e7dd=(_0x3ce3e1,_0x5156de)=>(_0x55518d,_0x59be0c)=>_0x5156de(_0x55518d,_0x59be0c,_0x3ce3e1);_0x58baf5[_0x4db1c3(0x14a)]=class extends _0x58b3ad[_0x4db1c3(0x25a)]{constructor(_0x108524,_0x2f6ccc,_0x1686d1,_0x2f3276,_0x12f6b5){const _0x2cd08c=_0x4db1c3;super(),this[_0x2cd08c(0x151)]=_0x108524,this['_logService']=_0x2f6ccc,this[_0x2cd08c(0x353)]=_0x1686d1,this['_dataLoaderService']=_0x2f3276,_0x12f6b5?_0x12f6b5==null||_0x12f6b5[_0x2cd08c(0x26a)]()['then'](()=>this[_0x2cd08c(0x173)]()):(this['_logService'][_0x2cd08c(0x278)](_0x2cd08c(0x286),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x2cd08c(0x173)]());}async[_0x4db1c3(0x173)](){const _0x53f9b8=_0x4db1c3,_0x3bd363=this[_0x53f9b8(0x151)][_0x53f9b8(0x2a7)](_0x53f9b8(0x148)),_0x33d769=this[_0x53f9b8(0x151)]['getParam'](_0x53f9b8(0x14c)),_0x2939d8=this['_urlService']['getParam'](_0x53f9b8(0x1db));if(!_0x3bd363||!_0x33d769){this['_logService'][_0x53f9b8(0x278)](_0x53f9b8(0x286),'No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.');return;}const _0x49e71a=await this[_0x53f9b8(0x346)]['loadUnit'](_0x3bd363,Number(_0x33d769),_0x2939d8);_0x49e71a&&_0x49e71a instanceof _0x58b3ad[_0x53f9b8(0x3b7)]&&this[_0x53f9b8(0x1d0)](_0x49e71a);}async[_0x4db1c3(0x1d0)](_0x43d75a){const _0x1a6a67=_0x4db1c3;await this[_0x1a6a67(0x232)](_0x43d75a),_0x43d75a[_0x1a6a67(0x32a)]['pipe'](_0x6dabd3[_0x1a6a67(0x2e7)](this[_0x1a6a67(0x125)]))[_0x1a6a67(0x39d)](_0x111de8=>{const _0x1cde03=_0x1a6a67;_0x111de8&&this[_0x1cde03(0x28d)](_0x111de8);}),this[_0x1a6a67(0x151)]['urlChange$'][_0x1a6a67(0x349)](_0x6dabd3[_0x1a6a67(0x2e7)](this['dispose$']))[_0x1a6a67(0x39d)](()=>this['_updateSubUnitFromURLParams'](_0x43d75a));}[_0x4db1c3(0x28d)](_0x2d558e,_0x453409=!0x1){const _0x50cd25=_0x4db1c3,_0x39fbcd=this[_0x50cd25(0x151)][_0x50cd25(0x2a7)]('subunit');_0x2d558e[_0x50cd25(0x299)]()!==_0x39fbcd&&this[_0x50cd25(0x151)][_0x50cd25(0x26e)](_0x50cd25(0x1db),_0x2d558e[_0x50cd25(0x299)](),_0x453409);}async[_0x4db1c3(0x232)](_0x231093){const _0x33a494=_0x4db1c3;var _0x3e11e8;const _0x9b12b3=this[_0x33a494(0x151)][_0x33a494(0x2a7)](_0x33a494(0x1db));if(!_0x9b12b3||!_0x231093[_0x33a494(0x121)](_0x9b12b3)){const _0x2ed9c5=_0x231093[_0x33a494(0x21e)]()[0x0],_0x51a941=_0x231093[_0x33a494(0x121)](_0x2ed9c5);if(!_0x51a941)return;this[_0x33a494(0x28d)](_0x51a941,!0x0),await this[_0x33a494(0x353)][_0x33a494(0x313)](_0x3a3c4e[_0x33a494(0x261)]['id'],{'unitId':_0x231093[_0x33a494(0x238)](),'subUnitId':_0x2ed9c5});return;}((_0x3e11e8=_0x231093['getActiveSheet']())==null?void 0x0:_0x3e11e8[_0x33a494(0x299)]())!==_0x9b12b3&&await this[_0x33a494(0x353)]['executeCommand'](_0x3a3c4e[_0x33a494(0x261)]['id'],{'unitId':_0x231093['getUnitId'](),'subUnitId':_0x9b12b3});}},_0x58baf5['CollaborationDataLoaderController']=_0x2be001([_0xa8e7dd(0x0,_0x5b0fb3),_0xa8e7dd(0x1,_0x58b3ad[_0x4db1c3(0x128)]),_0xa8e7dd(0x2,_0x58b3ad[_0x4db1c3(0x1c8)]),_0xa8e7dd(0x3,_0x58b3ad['Inject'](_0x2023db[_0x4db1c3(0x18d)])),_0xa8e7dd(0x4,_0x58b3ad['Optional'](_0x47f72b[_0x4db1c3(0x290)]))],_0x58baf5[_0x4db1c3(0x14a)]);var _0x2c8170=Object[_0x4db1c3(0x2ff)],_0x56c37d=(_0x18a7d8,_0x11216d,_0x21adf9,_0x59cf71)=>{const _0x29cc00=_0x4db1c3;for(var _0x24ede6=_0x59cf71>0x1?void 0x0:_0x59cf71?_0x2c8170(_0x11216d,_0x21adf9):_0x11216d,_0x1e805b=_0x18a7d8[_0x29cc00(0x1d3)]-0x1,_0x3e1e16;_0x1e805b>=0x0;_0x1e805b--)(_0x3e1e16=_0x18a7d8[_0x1e805b])&&(_0x24ede6=_0x3e1e16(_0x24ede6)||_0x24ede6);return _0x24ede6;},_0x110b40=(_0x38bbb5,_0x70306a)=>(_0x28c180,_0x48378f)=>_0x70306a(_0x28c180,_0x48378f,_0x38bbb5);let _0x1bcd8a=class{constructor(_0x338313,_0x275988,_0x4681cf){const _0x4776b4=_0x4db1c3;this[_0x4776b4(0x25e)]=_0x338313,this[_0x4776b4(0x372)]=_0x275988,this['_renderManagerService']=_0x4681cf;}[_0x4db1c3(0x153)](_0x1cd518){const _0x787146=_0x4db1c3;this['_transformUndoRedoStack'](_0x1cd518),this[_0x787146(0x311)](_0x1cd518);}[_0x4db1c3(0x16d)](_0x55484e){const _0x1c7aa0=_0x4db1c3,{unitID:_0x2106c7}=_0x55484e,_0x405176=this['_renderManagerService']['getRenderById'](_0x2106c7)[_0x1c7aa0(0x172)](_0x2e0d09[_0x1c7aa0(0x227)]),{redoCache:_0x400320}=_0x405176[_0x1c7aa0(0x2e9)]();if(_0x400320[_0x1c7aa0(0x1d3)]===0x0)return _0x55484e;let _0x293089=_0x58b3ad[_0x1c7aa0(0x13e)]['deepClone'](_0x55484e['mutations'][0x0]);for(let _0x7c915f=0x0;_0x7c915f<_0x400320[_0x1c7aa0(0x1d3)];_0x7c915f++){const _0x2cab7c={'id':_0x1c7aa0(0x2c9),'params':{..._0x400320[_0x7c915f]}},_0x10f6e9=this['_transformService'][_0x1c7aa0(0x22c)](_0x293089,_0x2cab7c,!0x1);if(_0x44c456[_0x1c7aa0(0x3b9)](_0x10f6e9))throw _0x10f6e9[_0x1c7aa0(0x1f2)];_0x293089=_0x10f6e9[_0x1c7aa0(0x1d9)];}return{..._0x58b3ad[_0x1c7aa0(0x13e)]['deepClone'](_0x55484e),'mutations':[_0x293089]};}[_0x4db1c3(0x370)](_0x37bbfe){const _0x400fa7=_0x4db1c3,{unitID:_0x3084ef}=_0x37bbfe,_0x1ea9ec=this[_0x400fa7(0x32f)][_0x400fa7(0x323)](_0x3084ef)[_0x400fa7(0x172)](_0x2e0d09[_0x400fa7(0x227)]),{undoCache:_0x22b07b,redoCache:_0x43df68}=_0x1ea9ec[_0x400fa7(0x2e9)]();if(_0x22b07b['length']===0x0||_0x43df68[_0x400fa7(0x1d3)]===0x0)return;const _0x37728a=[],_0x21ebf6=[];let _0x16eab8=_0x58b3ad[_0x400fa7(0x13e)][_0x400fa7(0x1e9)](_0x37bbfe[_0x400fa7(0x1eb)][0x0]),_0x22327f=_0x58b3ad[_0x400fa7(0x13e)][_0x400fa7(0x1e9)](_0x37bbfe[_0x400fa7(0x1eb)][0x0]);for(let _0x45d2e2=_0x22b07b['length']-0x1;_0x45d2e2>=0x0;_0x45d2e2--){const _0x278e1a={'id':_0x400fa7(0x2c9),'params':{..._0x22b07b[_0x45d2e2]}},_0x4ebdb9={'id':_0x400fa7(0x2c9),'params':{..._0x43df68[_0x45d2e2]}},_0x3712a3=this['_transformService']['transformMutation'](_0x16eab8,_0x278e1a,!0x1),_0x4c322c=this[_0x400fa7(0x372)][_0x400fa7(0x22c)](_0x22327f,_0x4ebdb9,!0x1);if(_0x44c456[_0x400fa7(0x3b9)](_0x3712a3))throw _0x3712a3[_0x400fa7(0x1f2)];if(_0x44c456[_0x400fa7(0x3b9)](_0x4c322c))throw _0x4c322c['error'];_0x37728a[_0x400fa7(0x13f)](_0x3712a3[_0x400fa7(0x17c)][_0x400fa7(0x190)]),_0x21ebf6[_0x400fa7(0x13f)](_0x4c322c[_0x400fa7(0x17c)]['params']),_0x16eab8=_0x3712a3[_0x400fa7(0x1d9)],_0x22327f=_0x4c322c['m1Prime'];}_0x1ea9ec[_0x400fa7(0x246)]({'undoCache':_0x37728a,'redoCache':_0x21ebf6});}[_0x4db1c3(0x311)](_0x4a0078){const _0x591741=_0x4db1c3,{unitID:_0x57904e}=_0x4a0078,_0x1ccc2b=this[_0x591741(0x32f)][_0x591741(0x323)](_0x57904e)[_0x591741(0x172)](_0x2e0d09['DocIMEInputManagerService']),_0x3c376f=_0x1ccc2b[_0x591741(0x315)]();if(_0x3c376f==null)return;const _0x559f06=[{'id':_0x591741(0x2c9),'params':{'unitId':_0x4a0078['unitID'],'actions':null,'textRanges':[_0x3c376f]}}],_0xbcfef5=this[_0x591741(0x372)][_0x591741(0x114)](_0x4a0078,_0x559f06);if(!_0x44c456[_0x591741(0x2ae)](_0xbcfef5))throw _0xbcfef5[_0x591741(0x1f2)];const _0x410ae0=_0xbcfef5[_0x591741(0x17c)][0x0]['params'][_0x591741(0x31f)];Array['isArray'](_0x410ae0)&&_0x410ae0[_0x591741(0x1d3)]&&_0x1ccc2b[_0x591741(0x218)](_0x410ae0[0x0]);}};_0x1bcd8a=_0x56c37d([_0x110b40(0x0,_0x58b3ad[_0x4db1c3(0x257)](_0x58b3ad[_0x4db1c3(0x35f)])),_0x110b40(0x1,_0x44c456[_0x4db1c3(0x28b)]),_0x110b40(0x2,_0x839618[_0x4db1c3(0x3a3)])],_0x1bcd8a);var _0x3bdbf3=Object[_0x4db1c3(0x2ff)],_0x49a90f=(_0x2c5e50,_0x35a730,_0x28cf57,_0x1b37c3)=>{const _0x784969=_0x4db1c3;for(var _0x20d384=_0x1b37c3>0x1?void 0x0:_0x1b37c3?_0x3bdbf3(_0x35a730,_0x28cf57):_0x35a730,_0x231b36=_0x2c5e50[_0x784969(0x1d3)]-0x1,_0x421ceb;_0x231b36>=0x0;_0x231b36--)(_0x421ceb=_0x2c5e50[_0x231b36])&&(_0x20d384=_0x421ceb(_0x20d384)||_0x20d384);return _0x20d384;},_0x4ff1fa=(_0x5b7132,_0x53acb1)=>(_0x382dd7,_0x3074e4)=>_0x53acb1(_0x382dd7,_0x3074e4,_0x5b7132);let _0x25f93b=class{constructor(_0x3f3058,_0x482557,_0x378f7b){this['_injector']=_0x3f3058,this['_transformService']=_0x482557,this['_docStateChangeManagerService']=_0x378f7b;}[_0x4db1c3(0x21f)](_0xf5488c){const _0x2c5f90=_0x4db1c3;this[_0x2c5f90(0x2cd)](_0xf5488c);}[_0x4db1c3(0x16d)](_0x331b19){const _0x30ea84=_0x4db1c3,{unitID:_0x49ad87}=_0x331b19,{collaboration:_0x21a7c3}=this['_docStateChangeManagerService'][_0x30ea84(0x330)](_0x49ad87);if(_0x21a7c3[_0x30ea84(0x1d3)]===0x0)return _0x331b19;let _0x373ec7=_0x58b3ad[_0x30ea84(0x13e)][_0x30ea84(0x1e9)](_0x331b19[_0x30ea84(0x1eb)][0x0]);for(let _0x5864be=0x0;_0x5864be<_0x21a7c3[_0x30ea84(0x1d3)];_0x5864be++){const _0x4aa5cb={'id':_0x30ea84(0x2c9),'params':{'unitId':_0x21a7c3[_0x5864be][_0x30ea84(0x187)],..._0x21a7c3[_0x5864be][_0x30ea84(0x1d6)]}},_0x598051=this[_0x30ea84(0x372)][_0x30ea84(0x22c)](_0x373ec7,_0x4aa5cb,!0x1);if(_0x44c456[_0x30ea84(0x3b9)](_0x598051))throw _0x598051[_0x30ea84(0x1f2)];_0x373ec7=_0x598051['m1Prime'];}return{..._0x58b3ad['Tools']['deepClone'](_0x331b19),'mutations':[_0x373ec7]};}[_0x4db1c3(0x2cd)](_0x5bb51d){const _0x3e49c4=_0x4db1c3,{unitID:_0x2cb8e7}=_0x5bb51d,{history:_0x53f617,collaboration:_0x3d7ab7}=this[_0x3e49c4(0x11d)]['getStateCache'](_0x2cb8e7);if(_0x53f617[_0x3e49c4(0x1d3)]===0x0&&_0x3d7ab7['length']===0x0)return;const _0x5c3329=[],_0x9bed07=[];let _0x1afb20=_0x58b3ad['Tools'][_0x3e49c4(0x1e9)](_0x5bb51d[_0x3e49c4(0x1eb)][0x0]),_0x4ffb9b=_0x58b3ad[_0x3e49c4(0x13e)]['deepClone'](_0x5bb51d[_0x3e49c4(0x1eb)][0x0]);for(let _0x23c657=_0x53f617[_0x3e49c4(0x1d3)]-0x1;_0x23c657>=0x0;_0x23c657--){const _0x18fc02={'id':_0x3e49c4(0x2c9),'params':{'unitId':_0x53f617[_0x23c657]['unitId'],..._0x53f617[_0x23c657][_0x3e49c4(0x162)]}},_0x239240={'id':_0x3e49c4(0x2c9),'params':{'unitId':_0x53f617[_0x23c657][_0x3e49c4(0x187)],..._0x53f617[_0x23c657][_0x3e49c4(0x1d6)]}},_0x53e69b=this['_transformService'][_0x3e49c4(0x22c)](_0x1afb20,_0x18fc02,!0x1),_0x3fcf50=this[_0x3e49c4(0x372)][_0x3e49c4(0x22c)](_0x4ffb9b,_0x239240,!0x1);if(_0x44c456['isTransformMutationFailure'](_0x53e69b))throw _0x53e69b[_0x3e49c4(0x1f2)];if(_0x44c456[_0x3e49c4(0x3b9)](_0x3fcf50))throw _0x3fcf50['error'];_0x5c3329['unshift']({..._0x53f617[_0x23c657],'undoState':_0x53e69b['m2Prime'][_0x3e49c4(0x190)],'redoState':_0x3fcf50[_0x3e49c4(0x17c)]['params']}),_0x1afb20=_0x53e69b[_0x3e49c4(0x1d9)],_0x4ffb9b=_0x3fcf50[_0x3e49c4(0x1d9)];}_0x1afb20=_0x58b3ad[_0x3e49c4(0x13e)][_0x3e49c4(0x1e9)](_0x5bb51d[_0x3e49c4(0x1eb)][0x0]),_0x4ffb9b=_0x58b3ad[_0x3e49c4(0x13e)][_0x3e49c4(0x1e9)](_0x5bb51d[_0x3e49c4(0x1eb)][0x0]);for(let _0x5795c1=_0x3d7ab7[_0x3e49c4(0x1d3)]-0x1;_0x5795c1>=0x0;_0x5795c1--){const _0x4d0265={'id':_0x3e49c4(0x2c9),'params':{'unitId':_0x3d7ab7[_0x5795c1][_0x3e49c4(0x187)],..._0x3d7ab7[_0x5795c1][_0x3e49c4(0x162)]}},_0x35852f={'id':_0x3e49c4(0x2c9),'params':{'unitId':_0x3d7ab7[_0x5795c1][_0x3e49c4(0x187)],..._0x3d7ab7[_0x5795c1][_0x3e49c4(0x1d6)]}},_0x1058a9=this['_transformService'][_0x3e49c4(0x22c)](_0x1afb20,_0x4d0265,!0x1),_0x2c9c49=this[_0x3e49c4(0x372)]['transformMutation'](_0x4ffb9b,_0x35852f,!0x1);if(_0x44c456['isTransformMutationFailure'](_0x1058a9))throw _0x1058a9[_0x3e49c4(0x1f2)];if(_0x44c456[_0x3e49c4(0x3b9)](_0x2c9c49))throw _0x2c9c49['error'];_0x9bed07['unshift']({..._0x3d7ab7[_0x5795c1],'undoState':_0x1058a9['m2Prime'][_0x3e49c4(0x190)],'redoState':_0x2c9c49['m2Prime']['params']}),_0x1afb20=_0x1058a9[_0x3e49c4(0x1d9)],_0x4ffb9b=_0x2c9c49[_0x3e49c4(0x1d9)];}this[_0x3e49c4(0x11d)]['setStateCache'](_0x2cb8e7,{'history':_0x5c3329,'collaboration':_0x9bed07});}};_0x25f93b=_0x49a90f([_0x4ff1fa(0x0,_0x58b3ad['Inject'](_0x58b3ad[_0x4db1c3(0x35f)])),_0x4ff1fa(0x1,_0x44c456['ITransformService']),_0x4ff1fa(0x2,_0x58b3ad[_0x4db1c3(0x257)](_0x2e0d09[_0x4db1c3(0x365)]))],_0x25f93b);var _0x1d900c=Object['getOwnPropertyDescriptor'],_0x140f59=(_0x11ba02,_0x29fb68,_0x2780c9,_0x2554c6)=>{const _0x40f100=_0x4db1c3;for(var _0x4abe35=_0x2554c6>0x1?void 0x0:_0x2554c6?_0x1d900c(_0x29fb68,_0x2780c9):_0x29fb68,_0xb4d78c=_0x11ba02[_0x40f100(0x1d3)]-0x1,_0x4e2627;_0xb4d78c>=0x0;_0xb4d78c--)(_0x4e2627=_0x11ba02[_0xb4d78c])&&(_0x4abe35=_0x4e2627(_0x4abe35)||_0x4abe35);return _0x4abe35;},_0x58703e=(_0x3969f3,_0x3cb846)=>(_0x44c5f9,_0xb2f465)=>_0x3cb846(_0x44c5f9,_0xb2f465,_0x3969f3);let _0xfa4a5c=class{constructor(_0x1ca8ce,_0x391bdb){const _0x2c8ca3=_0x4db1c3;this[_0x2c8ca3(0x25e)]=_0x1ca8ce,this[_0x2c8ca3(0x372)]=_0x391bdb;}[_0x4db1c3(0x2e3)](_0x3769ff){const _0x4881c6=_0x4db1c3;var _0x1b5f51;const _0x1b2135=this['_injector']['get'](_0x54ca13[_0x4881c6(0x1cf)]),_0xef81d2=(_0x1b5f51=_0x1b2135['getDocRanges']())!=null?_0x1b5f51:[];if(_0xef81d2[_0x4881c6(0x1d3)]===0x0)return;const _0x21a8ea=_0x3769ff[_0x4881c6(0x38e)],_0x3bc13f=[{'id':_0x4881c6(0x2c9),'params':{'unitId':_0x21a8ea,'actions':null,'textRanges':_0xef81d2}}],_0x3caeac=this[_0x4881c6(0x372)][_0x4881c6(0x114)](_0x3769ff,_0x3bc13f);if(!_0x44c456[_0x4881c6(0x2ae)](_0x3caeac))throw _0x3caeac['error'];const _0x4d901f=_0x3caeac[_0x4881c6(0x17c)][0x0][_0x4881c6(0x190)][_0x4881c6(0x31f)];Array[_0x4881c6(0x1fc)](_0x4d901f)&&_0x4d901f['length']&&_0x1b2135['replaceDocRanges'](_0x4d901f,{'unitId':_0x21a8ea,'subUnitId':_0x21a8ea},!0x1);}};_0xfa4a5c=_0x140f59([_0x58703e(0x0,_0x58b3ad['Inject'](_0x58b3ad['Injector'])),_0x58703e(0x1,_0x44c456['ITransformService'])],_0xfa4a5c);var _0x545744=Object[_0x4db1c3(0x2ff)],_0x405458=(_0x2aca30,_0x366182,_0xcedbf3,_0x3212af)=>{const _0x3f1464=_0x4db1c3;for(var _0x45e9f5=_0x3212af>0x1?void 0x0:_0x3212af?_0x545744(_0x366182,_0xcedbf3):_0x366182,_0x34f869=_0x2aca30[_0x3f1464(0x1d3)]-0x1,_0x52b2d2;_0x34f869>=0x0;_0x34f869--)(_0x52b2d2=_0x2aca30[_0x34f869])&&(_0x45e9f5=_0x52b2d2(_0x45e9f5)||_0x45e9f5);return _0x45e9f5;},_0x1415b1=(_0x2d7931,_0x2dde6e)=>(_0x21124d,_0x1b4a8a)=>_0x2dde6e(_0x21124d,_0x1b4a8a,_0x2d7931);let _0x5a7032=class extends _0x58b3ad['Disposable']{constructor(_0xdfdc59,_0x272439,_0x4ee4da,_0xd9b6b9,_0x4388c7,_0x1216ec,_0x241984,_0x401f40){const _0x22b08a=_0x4db1c3;super(),_0x1fc77e(this,_0x22b08a(0x254),new _0x6dabd3[(_0x22b08a(0x25f))](_0x2023db['CollaborationStatus']['NOT_COLLAB'])),(this[_0x22b08a(0x11d)]=_0xdfdc59,this['_collaborationController']=_0x272439,this[_0x22b08a(0x180)]=_0x4ee4da,this[_0x22b08a(0x26d)]=_0xd9b6b9,this[_0x22b08a(0x306)]=_0x4388c7,this[_0x22b08a(0x12c)]=_0x1216ec,this[_0x22b08a(0x394)]=_0x241984,this['_localeService']=_0x401f40,this[_0x22b08a(0x368)]());}[_0x4db1c3(0x368)](){const _0x573acf=_0x4db1c3;this[_0x573acf(0x212)](this['_collaborationController'][_0x573acf(0x141)][_0x573acf(0x39d)](_0x106b73=>{const _0x3f2c26=_0x573acf,_0x1371d6=this[_0x3f2c26(0x11d)]['docStateChange$'][_0x3f2c26(0x39d)](_0xe15a22=>{const _0x404bdb=_0x3f2c26;if(_0xe15a22==null)return;const {unitId:_0x39e43c,redoState:_0x25b3fc,commandId:_0x51e238}=_0xe15a22;if(_0x39e43c!==_0x106b73['unitID'])return;const _0x182417={'id':_0x51e238,'type':_0x58b3ad['CommandType'][_0x404bdb(0x21b)],'params':{'unitId':_0x39e43c,'actions':_0x25b3fc[_0x404bdb(0x321)],'textRanges':null}};_0x106b73[_0x404bdb(0x179)](_0x182417);});if(_0x106b73['disposeWithMe'](_0x1371d6),_0x106b73 instanceof _0x2023db[_0x3f2c26(0x1c6)]){const _0x3d56a2={'onTransformIME':_0x123a9d=>this[_0x3f2c26(0x180)][_0x3f2c26(0x153)](_0x123a9d),'onTransformState':_0x45c646=>this[_0x3f2c26(0x26d)][_0x3f2c26(0x21f)](_0x45c646),'onTransformSelections':_0x51890b=>this[_0x3f2c26(0x306)][_0x3f2c26(0x2e3)](_0x51890b),'onSyncEditingCollabCursor':_0x28bc14=>this['_docSyncEditingCollabCursorService']['syncEditingCollabCursor'](_0x28bc14),'onTransformRemoteChangesetByIMECache':_0x455ea0=>this[_0x3f2c26(0x180)][_0x3f2c26(0x16d)](_0x455ea0),'onTransformRemoteChangesetByStateCache':_0x575074=>this[_0x3f2c26(0x26d)]['transformRemoteChangeset'](_0x575074)};_0x106b73['addHandlerCallback'](_0x3d56a2);}}));}};_0x5a7032=_0x405458([_0x1415b1(0x0,_0x58b3ad[_0x4db1c3(0x257)](_0x2e0d09['DocStateChangeManagerService'])),_0x1415b1(0x1,_0x58b3ad[_0x4db1c3(0x257)](_0x2023db[_0x4db1c3(0x2f3)])),_0x1415b1(0x2,_0x58b3ad[_0x4db1c3(0x257)](_0x1bcd8a)),_0x1415b1(0x3,_0x58b3ad[_0x4db1c3(0x257)](_0x25f93b)),_0x1415b1(0x4,_0x58b3ad[_0x4db1c3(0x257)](_0xfa4a5c)),_0x1415b1(0x5,_0x58b3ad[_0x4db1c3(0x257)](_0x5ba099)),_0x1415b1(0x6,_0x1a2ea0[_0x4db1c3(0x239)]),_0x1415b1(0x7,_0x58b3ad[_0x4db1c3(0x257)](_0x58b3ad[_0x4db1c3(0x1ad)]))],_0x5a7032);var _0x4ca036=Object[_0x4db1c3(0x2ff)],_0xc66d06=(_0x32afce,_0xe04f0b,_0x25e4d4,_0x402ead)=>{const _0x1b97cb=_0x4db1c3;for(var _0xb6a961=_0x402ead>0x1?void 0x0:_0x402ead?_0x4ca036(_0xe04f0b,_0x25e4d4):_0xe04f0b,_0x40ea70=_0x32afce[_0x1b97cb(0x1d3)]-0x1,_0x33f75e;_0x40ea70>=0x0;_0x40ea70--)(_0x33f75e=_0x32afce[_0x40ea70])&&(_0xb6a961=_0x33f75e(_0xb6a961)||_0xb6a961);return _0xb6a961;},_0x1390ba=(_0x25ac3b,_0x3b391a)=>(_0x5caa35,_0x5e1979)=>_0x3b391a(_0x5caa35,_0x5e1979,_0x25ac3b);let _0x1e2bc7=class extends _0x58b3ad[_0x4db1c3(0x33d)]{constructor(_0x290cad,_0x4d5960,_0x3e0175){const _0x45f761=_0x4db1c3;super(),_0x1fc77e(this,'_cachedData',new Map()),_0x1fc77e(this,_0x45f761(0x24f),new Map()),_0x1fc77e(this,'_disabled',!0x1),(this['_configService']=_0x290cad,this[_0x45f761(0x312)]=_0x4d5960,this[_0x45f761(0x155)]=_0x3e0175);}['disableLocalCache'](){const _0x501287=_0x4db1c3;this[_0x501287(0x3a7)]=!0x0;}[_0x4db1c3(0x1f9)](){const _0x394a9a=_0x4db1c3;this[_0x394a9a(0x3a7)]=!0x1;}get[_0x4db1c3(0x24a)](){const _0x4ee889=_0x4db1c3;return this[_0x4ee889(0x24f)];}[_0x4db1c3(0x1c3)](){const _0x353fb2=_0x4db1c3;this[_0x353fb2(0x145)]()['then'](()=>super[_0x353fb2(0x1c3)]());}async[_0x4db1c3(0x37a)](_0x5d3464){const _0x9bb75d=_0x4db1c3;return this[_0x9bb75d(0x3a7)]?null:this[_0x9bb75d(0x312)][_0x9bb75d(0x331)](_0x2023db[_0x9bb75d(0x203)](_0x5d3464));}async[_0x4db1c3(0x241)](_0x1c7abd,_0x31abdc){const _0x553b81=_0x4db1c3;return!!this[_0x553b81(0x312)][_0x553b81(0x171)](_0x1c7abd,_0x31abdc);}[_0x4db1c3(0x35d)](_0x1df0b1,_0x262871,_0x5e6afc,_0x285574){const _0xe61e61=_0x4db1c3,_0x4b297a=this['_revisionService']['getCurrentRevOfUnit'](_0x1df0b1);this[_0xe61e61(0x363)][_0xe61e61(0x3b3)](_0x1df0b1,{'unitID':_0x1df0b1,'type':_0x262871,'awaitingChangeset':_0x5e6afc,'mutations':_0x285574,'rev':_0x4b297a}),this[_0xe61e61(0x24f)][_0xe61e61(0x35a)](_0x1df0b1)||this[_0xe61e61(0x135)](_0x1df0b1);}[_0x4db1c3(0x135)](_0x148e35){const _0xd12841=_0x4db1c3,_0x8606e5=this[_0xd12841(0x169)]();_0x8606e5===0x0?this[_0xd12841(0x247)](_0x148e35):this[_0xd12841(0x24f)][_0xd12841(0x3b3)](_0x148e35,setTimeout(()=>this[_0xd12841(0x247)](_0x148e35),_0x8606e5));}['_getSaveTimeout'](){const _0x3a5c23=_0x4db1c3;var _0xbb194c;return(_0xbb194c=this[_0x3a5c23(0x147)]['getConfig'](_0x2023db['LOCAL_CACHE_INTERVAL_KEY']))!=null?_0xbb194c:_0x2023db[_0x3a5c23(0x2f0)];}['_saveCache'](_0x39e911){const _0x1c8d30=_0x4db1c3,_0x504a93=this[_0x1c8d30(0x24f)][_0x1c8d30(0x2c5)](_0x39e911);return _0x504a93!==void 0x0&&window[_0x1c8d30(0x3a5)](_0x504a93),this[_0x1c8d30(0x312)][_0x1c8d30(0x171)](_0x2023db['getLocalCacheKey'](_0x39e911),this[_0x1c8d30(0x363)][_0x1c8d30(0x2c5)](_0x39e911))[_0x1c8d30(0x2d5)](()=>this[_0x1c8d30(0x24f)][_0x1c8d30(0x309)](_0x39e911));}async[_0x4db1c3(0x145)](){const _0x574ce7=_0x4db1c3,_0x824e8b=[];this[_0x574ce7(0x24f)][_0x574ce7(0x341)]((_0x5b5688,_0x432d59)=>{const _0x185d86=_0x574ce7;window[_0x185d86(0x3a5)](_0x5b5688),_0x824e8b[_0x185d86(0x395)](this['_saveCache'](_0x432d59)[_0x185d86(0x2d5)](()=>{const _0x7d5abc=_0x185d86;this[_0x7d5abc(0x24f)][_0x7d5abc(0x309)](_0x432d59);}));}),await Promise[_0x574ce7(0x357)](_0x824e8b);}};_0x1e2bc7=_0xc66d06([_0x1390ba(0x0,_0x58b3ad['IConfigService']),_0x1390ba(0x1,_0x58b3ad['ILocalStorageService']),_0x1390ba(0x2,_0x58b3ad['Inject'](_0x44c456[_0x4db1c3(0x11c)]))],_0x1e2bc7);class _0x253271 extends _0x58b3ad[_0x4db1c3(0x25a)]{constructor(){const _0x528f47=_0x4db1c3;super(),_0x1fc77e(this,_0x528f47(0x1a1)),this[_0x528f47(0x1a1)]=_0x6dabd3[_0x528f47(0x27b)](window,_0x528f47(0x354))[_0x528f47(0x349)](_0x6dabd3[_0x528f47(0x2e7)](this[_0x528f47(0x125)]),_0x6dabd3[_0x528f47(0x292)](0x1),_0x6dabd3[_0x528f47(0x2a3)](void 0x0));}[_0x4db1c3(0x26e)](_0x49f110,_0x3f7357,_0x297029=!0x1){const _0x264713=_0x4db1c3,_0x446bfa=new URL(window[_0x264713(0x26f)]['href']);_0x446bfa['searchParams'][_0x264713(0x3b3)](_0x49f110,_0x3f7357),_0x297029?window['history'][_0x264713(0x2ab)]('','',_0x446bfa[_0x264713(0x185)]()):window['history'][_0x264713(0x2cc)]('','',_0x446bfa[_0x264713(0x185)]());}[_0x4db1c3(0x2f6)](_0x5410fe,_0x3ee81f=!0x1){const _0x15ef3c=_0x4db1c3,_0x4a9fef=new URL(window[_0x15ef3c(0x26f)][_0x15ef3c(0x1d5)]);_0x4a9fef['searchParams'][_0x15ef3c(0x309)](_0x5410fe),_0x3ee81f?window[_0x15ef3c(0x1b8)]['replaceState']('','',_0x4a9fef['toString']()):window[_0x15ef3c(0x1b8)][_0x15ef3c(0x2cc)]('','',_0x4a9fef[_0x15ef3c(0x185)]());}[_0x4db1c3(0x2a7)](_0x44b334){const _0x3d7d89=_0x4db1c3;var _0x211876;return(_0x211876=new URL(window['location'][_0x3d7d89(0x1d5)])[_0x3d7d89(0x2ac)][_0x3d7d89(0x2c5)](_0x44b334))!=null?_0x211876:void 0x0;}}var _0x23fbaf=Object[_0x4db1c3(0x18c)],_0xacffd6=Object[_0x4db1c3(0x2ff)],_0x3eb885=(_0xb3ce3,_0x24fd2f,_0x10ce97)=>_0x24fd2f in _0xb3ce3?_0x23fbaf(_0xb3ce3,_0x24fd2f,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x10ce97}):_0xb3ce3[_0x24fd2f]=_0x10ce97,_0x321123=(_0x216465,_0x1272f4,_0x571938,_0x144bf5)=>{const _0x31d5c4=_0x4db1c3;for(var _0x8a9c54=_0x144bf5>0x1?void 0x0:_0x144bf5?_0xacffd6(_0x1272f4,_0x571938):_0x1272f4,_0x4b3656=_0x216465[_0x31d5c4(0x1d3)]-0x1,_0x43af5d;_0x4b3656>=0x0;_0x4b3656--)(_0x43af5d=_0x216465[_0x4b3656])&&(_0x8a9c54=_0x43af5d(_0x8a9c54)||_0x8a9c54);return _0x8a9c54;},_0x55b6ad=(_0x1106b5,_0x1cefca)=>(_0x41fb29,_0x52d8ea)=>_0x1cefca(_0x41fb29,_0x52d8ea,_0x1106b5),_0xf8aeec=(_0x2ab365,_0x30dca6,_0x49438d)=>_0x3eb885(_0x2ab365,_0x30dca6+'',_0x49438d);const _0x4e8c98='UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN';_0x58baf5[_0x4db1c3(0x1b2)]=class extends _0x58b3ad[_0x4db1c3(0x34c)]{constructor(_0x3bedc1=_0x5ce969,_0x5cad64,_0x38802f,_0x4f6b5f){const _0x3d115c=_0x4db1c3;super(),this[_0x3d115c(0x3a4)]=_0x3bedc1,this[_0x3d115c(0x32f)]=_0x5cad64,this[_0x3d115c(0x25e)]=_0x38802f,this[_0x3d115c(0x147)]=_0x4f6b5f;const {..._0x587ac0}=_0x58b3ad[_0x3d115c(0x28a)]({},_0x5ce969,this[_0x3d115c(0x3a4)]);this[_0x3d115c(0x147)][_0x3d115c(0x35e)](_0x121401,_0x587ac0);}['onStarting'](){const _0x4efb3b=_0x4db1c3;this[_0x4efb3b(0x137)](),this[_0x4efb3b(0x326)]();}[_0x4db1c3(0x36e)](){const _0xcd3aec=_0x4db1c3;this[_0xcd3aec(0x3b6)]();}[_0x4db1c3(0x137)](){const _0x3b7efa=_0x4db1c3;var _0x51ccc0;const _0x348c19=[[_0x3b2cd0],[_0xfa4a5c],[_0x1bcd8a],[_0x25f93b],[_0x5ba099],[_0x5b0fb3,{'useClass':_0x253271}],[_0x22d557[_0x3b7efa(0x163)],{'useClass':_0x22d557[_0x3b7efa(0x1ba)]}],[_0x2023db['ILocalCacheService'],{'useClass':_0x1e2bc7}],[_0x58baf5['DesktopCollaborationStatusDisplayController']],[_0x5a7032],[_0xf7f3cb],[_0x37f18b],[_0x10030f],[_0x58baf5['CollaborationDataLoaderController']]];_0x58b3ad[_0x3b7efa(0x120)](this['_injector'],_0x58b3ad[_0x3b7efa(0x1ae)](_0x348c19,(_0x51ccc0=this[_0x3b7efa(0x3a4)])==null?void 0x0:_0x51ccc0['override']));}[_0x4db1c3(0x3b6)](){const _0xdf7baf=_0x4db1c3;this[_0xdf7baf(0x212)](this[_0xdf7baf(0x32f)][_0xdf7baf(0x228)](_0x58b3ad[_0xdf7baf(0x382)]['UNIVER_DOC'],[_0x250bc8])),this[_0xdf7baf(0x212)](this[_0xdf7baf(0x32f)][_0xdf7baf(0x228)](_0x58b3ad[_0xdf7baf(0x382)][_0xdf7baf(0x33c)],[_0x82a8ef]));}[_0x4db1c3(0x326)](){const _0x2a3cdb=_0x4db1c3;_0x58b3ad[_0x2a3cdb(0x1df)](this[_0x2a3cdb(0x25e)],[[_0x37f18b],[_0x58baf5[_0x2a3cdb(0x3b4)]],[_0x5a7032],[_0xf7f3cb],[_0x58baf5[_0x2a3cdb(0x14a)]]]);}},_0xf8aeec(_0x58baf5[_0x4db1c3(0x1b2)],'pluginName',_0x4e8c98),_0x58baf5[_0x4db1c3(0x1b2)]=_0x321123([_0x58b3ad['DependentOn'](_0x2023db[_0x4db1c3(0x225)]),_0x55b6ad(0x1,_0x839618[_0x4db1c3(0x3a3)]),_0x55b6ad(0x2,_0x58b3ad[_0x4db1c3(0x257)](_0x58b3ad[_0x4db1c3(0x35f)])),_0x55b6ad(0x3,_0x58b3ad['IConfigService'])],_0x58baf5[_0x4db1c3(0x1b2)]);var _0x28ec92=Object['getOwnPropertyDescriptor'],_0xca9509=(_0x2abcd9,_0x37980e,_0x35521c,_0x4b3ed7)=>{const _0x219842=_0x4db1c3;for(var _0x3baebd=_0x4b3ed7>0x1?void 0x0:_0x4b3ed7?_0x28ec92(_0x37980e,_0x35521c):_0x37980e,_0x31aad7=_0x2abcd9[_0x219842(0x1d3)]-0x1,_0x23fe89;_0x31aad7>=0x0;_0x31aad7--)(_0x23fe89=_0x2abcd9[_0x31aad7])&&(_0x3baebd=_0x23fe89(_0x3baebd)||_0x3baebd);return _0x3baebd;},_0x40a579=(_0x4df6fa,_0x532efd)=>(_0x1a5acc,_0x20b18a)=>_0x532efd(_0x1a5acc,_0x20b18a,_0x4df6fa);_0x58baf5[_0x4db1c3(0x259)]=class extends _0x2023db[_0x4db1c3(0x369)]{constructor(_0x2c48fa,_0x4d57c9,_0x34899e,_0x317705,_0x222ecd){super(_0x2c48fa,_0x4d57c9,_0x34899e,_0x317705,_0x222ecd);}async[_0x4db1c3(0x283)](_0x355bef){const _0x40ef92=_0x4db1c3,_0x2ddaf7=await this[_0x40ef92(0x3b5)](),_0x2263ea=this['_createSocketURL'](_0x355bef,_0x2ddaf7);return this['_doCreateSocket'](_0x2263ea);}[_0x4db1c3(0x2d7)](_0x5ad2cd,_0x18f14a){const _0x217376=_0x4db1c3,_0x21e464=typeof window>'u'?new URL(_0x5ad2cd):new URL(_0x5ad2cd,window[_0x217376(0x26f)][_0x217376(0x39b)]);_0x21e464[_0x217376(0x2ac)][_0x217376(0x3b3)](_0x217376(0x2b0),_0x18f14a);const _0x3ac599=typeof window>'u'?new URLSearchParams():new URLSearchParams(window['location']['search']);return _0x3ac599[_0x217376(0x2c5)](_0x217376(0x385))&&_0x21e464[_0x217376(0x2ac)][_0x217376(0x3b3)]('runId',_0x3ac599[_0x217376(0x2c5)](_0x217376(0x385))),_0x21e464[_0x217376(0x185)]();}async[_0x4db1c3(0x3b5)](){const _0x384d13=_0x4db1c3;var _0xf82a5c,_0x38e292,_0x166d96;const _0xc22714=this[_0x384d13(0x147)][_0x384d13(0x16e)](_0x2023db[_0x384d13(0x3b8)]),_0x535e7e=(_0xf82a5c=_0xc22714==null?void 0x0:_0xc22714[_0x384d13(0x3b0)])!=null?_0xf82a5c:_0x2023db[_0x384d13(0x175)];return(_0x166d96=(_0x38e292=(await this[_0x384d13(0x2f5)]['get'](_0x535e7e,{'headers':{'Content-Type':_0x384d13(0x12a)}}))[_0x384d13(0x12e)])==null?void 0x0:_0x38e292[_0x384d13(0x38d)])!=null?_0x166d96:'';}},_0x58baf5[_0x4db1c3(0x259)]=_0xca9509([_0x40a579(0x0,_0x58b3ad[_0x4db1c3(0x257)](_0x58b3ad[_0x4db1c3(0x35f)])),_0x40a579(0x1,_0x58b3ad[_0x4db1c3(0x257)](_0x22d557[_0x4db1c3(0x21a)])),_0x40a579(0x2,_0x58b3ad[_0x4db1c3(0x348)]),_0x40a579(0x3,_0x58b3ad[_0x4db1c3(0x128)]),_0x40a579(0x4,_0x44c456['ISnapshotServerService'])],_0x58baf5[_0x4db1c3(0x259)]);const _0x518857=0x7530,_0x1fdee7=_0x4db1c3(0x2b2);class _0x395c4c extends _0x58b3ad[_0x4db1c3(0x33d)]{constructor(){const _0x24f3b8=_0x4db1c3;super(),_0x1fc77e(this,_0x24f3b8(0x268),_0x58b3ad[_0x24f3b8(0x308)]()),_0x1fc77e(this,'_selfUnitIDs',new Set()),_0x1fc77e(this,_0x24f3b8(0x269),new Map()),_0x1fc77e(this,_0x24f3b8(0x2ed),null),_0x1fc77e(this,_0x24f3b8(0x32d),new Map()),_0x1fc77e(this,'_unitStatus',new Map()),this[_0x24f3b8(0x173)]();}[_0x4db1c3(0x1c3)](){const _0x244041=_0x4db1c3;super['dispose'](),this[_0x244041(0x32d)][_0x244041(0x341)]((_0x4fdd74,_0x2cb42c)=>this[_0x244041(0x2fe)](_0x2cb42c)),this['_heartbeatTimer']&&window[_0x244041(0x271)](this[_0x244041(0x2ed)]);}[_0x4db1c3(0x199)](_0xc3b67d){const _0x413b23=_0x4db1c3;return this[_0x413b23(0x2b8)](_0xc3b67d)[_0x413b23(0x349)](_0x6dabd3['distinctUntilChanged']());}[_0x4db1c3(0x19d)](_0x2722aa){const _0x5777a2=_0x4db1c3;this[_0x5777a2(0x280)][_0x5777a2(0x364)]===0x0&&this[_0x5777a2(0x20e)](),this[_0x5777a2(0x280)][_0x5777a2(0x134)](_0x2722aa),this[_0x5777a2(0x223)]({'type':0x0,'memberID':this[_0x5777a2(0x268)],'unitIDs':[_0x2722aa],'isForwarded':!0x1});}['disposeUnit'](_0x550106){const _0x1b4d98=_0x4db1c3;this[_0x1b4d98(0x280)][_0x1b4d98(0x309)](_0x550106),this[_0x1b4d98(0x280)][_0x1b4d98(0x364)]===0x0&&this['_heartbeatTimer']&&window[_0x1b4d98(0x271)](this[_0x1b4d98(0x2ed)]);}[_0x4db1c3(0x173)](){const _0x1c32b4=_0x4db1c3;this['disposeWithMe'](_0x58b3ad[_0x1c32b4(0x174)](_0x6dabd3['fromEvent'](window,_0x1c32b4(0x1ec))[_0x1c32b4(0x39d)](_0x1042a8=>{const _0x116482=_0x1c32b4;if(_0x1042a8['key']!==_0x1fdee7||!_0x1042a8[_0x116482(0x381)])return;const _0x22babb=JSON[_0x116482(0x146)](_0x1042a8[_0x116482(0x381)]);this[_0x116482(0x361)](_0x22babb);}))),window['addEventListener'](_0x1c32b4(0x19e),()=>this['_send']({'type':0x1,'memberID':this[_0x1c32b4(0x268)],'unitIDs':Array[_0x1c32b4(0x2e0)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x2c5e7e){const _0x8297b8=_0x4db1c3;switch(_0x2c5e7e['type']){case 0x0:this['_handleJoinEvent'](_0x2c5e7e);break;case 0x1:this[_0x8297b8(0x1be)](_0x2c5e7e);break;case 0x2:this[_0x8297b8(0x305)](_0x2c5e7e);break;}}[_0x4db1c3(0x23a)](_0x31e332){const _0x7dc35c=_0x4db1c3,{unitIDs:_0x661f66,memberID:_0x3276e5,isForwarded:_0x21f8c6}=_0x31e332;_0x661f66[_0x7dc35c(0x341)](_0x1b1f6c=>{const _0x582836=_0x7dc35c;if(!_0x21f8c6&&this[_0x582836(0x269)][_0x582836(0x35a)](_0x1b1f6c)&&this[_0x582836(0x2b8)](_0x1b1f6c)[_0x582836(0x23b)](_0x2023db[_0x582836(0x1b7)][_0x582836(0x23d)]),!this[_0x582836(0x269)][_0x582836(0x35a)](_0x1b1f6c)||!this[_0x582836(0x269)]['get'](_0x1b1f6c)[_0x582836(0x35a)](_0x3276e5)){const _0x4691e6=this['_unitOnClients'][_0x582836(0x2c5)](_0x1b1f6c)||new Set();_0x4691e6['add'](_0x3276e5),this[_0x582836(0x269)]['set'](_0x1b1f6c,_0x4691e6),this[_0x582836(0x34f)](_0x3276e5);}}),_0x21f8c6||this[_0x7dc35c(0x223)]({'type':0x0,'memberID':this[_0x7dc35c(0x268)],'unitIDs':[...this[_0x7dc35c(0x280)]],'isForwarded':!0x0});}[_0x4db1c3(0x34f)](_0x5093fe){const _0x32b68f=_0x4db1c3;this[_0x32b68f(0x2fe)](_0x5093fe);const _0x2f8887=window[_0x32b68f(0x116)](()=>{const _0x5041d5=_0x32b68f;this['_unitOnClients'][_0x5041d5(0x341)](_0x23030c=>{const _0x28bbd9=_0x5041d5;_0x23030c[_0x28bbd9(0x309)](_0x5093fe);});},_0x518857*0x2);this[_0x32b68f(0x32d)][_0x32b68f(0x3b3)](_0x5093fe,_0x2f8887);}[_0x4db1c3(0x2fe)](_0x21e13c){const _0x201959=_0x4db1c3;if(this[_0x201959(0x32d)][_0x201959(0x35a)](_0x21e13c)){const _0x136cd9=this[_0x201959(0x32d)][_0x201959(0x2c5)](_0x21e13c);_0x136cd9&&window[_0x201959(0x3a5)](_0x136cd9),this[_0x201959(0x32d)][_0x201959(0x3b3)](_0x21e13c,null);}}[_0x4db1c3(0x1be)](_0x3ed2b6){const _0x253628=_0x4db1c3,{memberID:_0x5a5aa8,unitIDs:_0x55e65d}=_0x3ed2b6;_0x55e65d[_0x253628(0x341)](_0x1be258=>{const _0x3b97cf=_0x253628;var _0x8ae45c;const _0x232daa=this[_0x3b97cf(0x269)][_0x3b97cf(0x2c5)](_0x1be258);_0x232daa&&(_0x232daa[_0x3b97cf(0x309)](_0x5a5aa8),(_0x8ae45c=this[_0x3b97cf(0x2b8)](_0x1be258))==null||_0x8ae45c['next'](_0x232daa[_0x3b97cf(0x364)]===0x0?_0x2023db['UnitStatus'][_0x3b97cf(0x133)]:_0x2023db[_0x3b97cf(0x1b7)][_0x3b97cf(0x23d)]));}),this[_0x253628(0x2fe)](_0x5a5aa8);}[_0x4db1c3(0x305)](_0x49055a){const _0x2ea774=_0x4db1c3;this['_scheduleClearOtherTimer'](_0x49055a[_0x2ea774(0x2f8)]);}['_send'](_0x5a6a44){const _0xd3b650=_0x4db1c3;localStorage[_0xd3b650(0x171)](_0x1fdee7,JSON['stringify'](_0x5a6a44));}[_0x4db1c3(0x20e)](){const _0x5840ca=_0x4db1c3;this[_0x5840ca(0x2ed)]=window[_0x5840ca(0x131)](()=>{const _0x4027ab=_0x5840ca;this[_0x4027ab(0x223)]({'type':0x2,'memberID':this[_0x4027ab(0x268)]});},_0x518857);}['_ensureSubject'](_0x476a54){const _0xa35928=_0x4db1c3;return this[_0xa35928(0x2b5)][_0xa35928(0x35a)](_0x476a54)||this[_0xa35928(0x2b5)][_0xa35928(0x3b3)](_0x476a54,new _0x6dabd3['BehaviorSubject'](_0x2023db[_0xa35928(0x1b7)][_0xa35928(0x133)])),this[_0xa35928(0x2b5)]['get'](_0x476a54);}}var _0x45bb59=(_0x33e952=>(_0x33e952[_0x33e952[_0x4db1c3(0x19c)]=0x0]=_0x4db1c3(0x19c),_0x33e952[_0x33e952['OK']=0x1]='OK',_0x33e952[_0x33e952[_0x4db1c3(0x1fa)]=0x2]=_0x4db1c3(0x1fa),_0x33e952[_0x33e952[_0x4db1c3(0x13b)]=0x3]=_0x4db1c3(0x13b),_0x33e952[_0x33e952['NOT_FOUND']=0x4]='NOT_FOUND',_0x33e952[_0x33e952[_0x4db1c3(0x1d7)]=0x5]='UNAUTHENTICATED',_0x33e952[_0x33e952[_0x4db1c3(0x221)]=0x6]='ALREADY_EXISTS',_0x33e952[_0x33e952[_0x4db1c3(0x31e)]=0x7]=_0x4db1c3(0x31e),_0x33e952[_0x33e952[_0x4db1c3(0x18f)]=0x8]=_0x4db1c3(0x18f),_0x33e952[_0x33e952['COMPLETION_FINISHED']=0x9]=_0x4db1c3(0x177),_0x33e952[_0x33e952['LOGIN_FAILED']=0xa]=_0x4db1c3(0x2aa),_0x33e952[_0x33e952[_0x4db1c3(0x34a)]=0x1389]=_0x4db1c3(0x34a),_0x33e952[_0x33e952[_0x4db1c3(0x288)]=0x1771]=_0x4db1c3(0x288),_0x33e952[_0x33e952['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x4db1c3(0x1f6),_0x33e952[_0x33e952['ENSURE_SNAPSHOT_EXECUTION']=0x1773]='ENSURE_SNAPSHOT_EXECUTION',_0x33e952[_0x33e952['APPLY_REJECT']=0x1b59]=_0x4db1c3(0x27e),_0x33e952[_0x33e952[_0x4db1c3(0x209)]=0x1b5a]=_0x4db1c3(0x209),_0x33e952[_0x33e952[_0x4db1c3(0x129)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x33e952[_0x33e952[_0x4db1c3(0x1e5)]=0x1b5c]='APPLY_PERMISSION_DENIED',_0x33e952[_0x33e952[_0x4db1c3(0x39c)]=0x1b5d]=_0x4db1c3(0x39c),_0x33e952[_0x33e952[_0x4db1c3(0x291)]=0x1f41]=_0x4db1c3(0x291),_0x33e952[_0x33e952[_0x4db1c3(0x376)]=0x2329]=_0x4db1c3(0x376),_0x33e952[_0x33e952['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]='LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED',_0x33e952[_0x33e952['LICENSE_IMPORT_SIZE_EXCEEDED']=0x232b]=_0x4db1c3(0x281),_0x33e952[_0x33e952['LICENSE_EXPORT_SIZE_EXCEEDED']=0x232c]=_0x4db1c3(0x1f0),_0x33e952[_0x33e952[_0x4db1c3(0x2ca)]=0x232d]=_0x4db1c3(0x2ca),_0x33e952[_0x33e952['YUUMI_UNABLE_LOAD_URL']=0x2711]=_0x4db1c3(0x1f8),_0x33e952[_0x33e952[_0x4db1c3(0x294)]=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x33e952[_0x33e952[_0x4db1c3(0x304)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x33e952[_0x33e952[_0x4db1c3(0x317)]=0x2714]=_0x4db1c3(0x317),_0x33e952[_0x33e952[_0x4db1c3(0x325)]=0x271a]=_0x4db1c3(0x325),_0x33e952[_0x33e952['YUUMI_ASYNCIO_CANCELLED']=0x271b]=_0x4db1c3(0x324),_0x33e952[_0x33e952[_0x4db1c3(0x1a8)]=0x271c]=_0x4db1c3(0x1a8),_0x33e952[_0x33e952[_0x4db1c3(0x2c0)]=0x271d]=_0x4db1c3(0x2c0),_0x33e952[_0x33e952[_0x4db1c3(0x356)]=0x271e]=_0x4db1c3(0x356),_0x33e952[_0x33e952[_0x4db1c3(0x1c4)]=0x271f]=_0x4db1c3(0x1c4),_0x33e952[_0x33e952[_0x4db1c3(0x1d1)]=0x2af9]='PY_RUNTIME_SCRIPT_ERROR',_0x33e952[_0x33e952['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x4db1c3(0x244),_0x33e952[_0x33e952['INVALID_INVITE_CODE']=0x2ee2]=_0x4db1c3(0x2db),_0x33e952[_0x33e952[_0x4db1c3(0x20b)]=0x2ee3]=_0x4db1c3(0x20b),_0x33e952[_0x33e952['USER_NOT_INVITED_CODE']=0x2ee4]=_0x4db1c3(0x1d2),_0x33e952[_0x33e952[_0x4db1c3(0x1e3)]=0x2ee5]='INVITE_CODE_ALREADY_BOUND',_0x33e952[_0x33e952[_0x4db1c3(0x1ac)]=0x32c9]=_0x4db1c3(0x1ac),_0x33e952[_0x33e952[_0x4db1c3(0x2f7)]=0x32ca]='MOBILE_HAS_BEEN_BOUND',_0x33e952[_0x33e952['EMAIL_HAS_BEEN_BOUND']=0x32cb]=_0x4db1c3(0x3ab),_0x33e952[_0x33e952[_0x4db1c3(0x300)]=-0x1]=_0x4db1c3(0x300),_0x33e952))(_0x45bb59||{}),_0x56bcc8=Object['getOwnPropertyDescriptor'],_0xafe619=(_0x423681,_0x257aef,_0x390de4,_0x127fa9)=>{for(var _0x35d9bb=_0x127fa9>0x1?void 0x0:_0x127fa9?_0x56bcc8(_0x257aef,_0x390de4):_0x257aef,_0x444f6d=_0x423681['length']-0x1,_0x3d844c;_0x444f6d>=0x0;_0x444f6d--)(_0x3d844c=_0x423681[_0x444f6d])&&(_0x35d9bb=_0x3d844c(_0x35d9bb)||_0x35d9bb);return _0x35d9bb;},_0x44a1cf=(_0x5a70c5,_0x3c37c3)=>(_0x2ad1cf,_0x111362)=>_0x3c37c3(_0x2ad1cf,_0x111362,_0x5a70c5);_0x58baf5['RemoteUniscriptService']=class extends _0x58b3ad[_0x4db1c3(0x33d)]{constructor(_0x31efdf,_0x431347,_0x579ee8){const _0x4a1947=_0x4db1c3;super(),this[_0x4a1947(0x168)]=_0x31efdf,this['_httpService']=_0x431347,this[_0x4a1947(0x147)]=_0x579ee8;}async[_0x4db1c3(0x21d)](_0x1f7fbd,_0x23a517,_0xf39e70,..._0x5940a0){const _0x52116d=_0x4db1c3;var _0x4009e3,_0xdc5772,_0x17b7f4,_0x5af63c;const _0x2f5c42=this[_0x52116d(0x168)][_0x52116d(0x24d)]();if(!_0x2f5c42)throw new Error(_0x52116d(0x358));const _0x4bc0df=((_0x4009e3=this[_0x52116d(0x147)][_0x52116d(0x16e)](_0x2023db[_0x52116d(0x2b7)]))!=null?_0x4009e3:_0x2023db['DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT'])+'/'+_0x1f7fbd+'/run/'+_0x23a517,_0x1ba3b9=new URL(window[_0x52116d(0x26f)][_0x52116d(0x1d5)]),_0x42f873={'scriptId':_0x1f7fbd,'runId':(_0xdc5772=_0x1ba3b9[_0x52116d(0x2ac)][_0x52116d(0x2c5)]('runId'))!=null?_0xdc5772:'','function':_0x23a517,'unitId':_0x2f5c42[_0x52116d(0x238)](),'argsOfFunction':JSON[_0x52116d(0x277)](_0x5940a0),'invokeId':(_0x17b7f4=_0xf39e70[_0x52116d(0x327)])!=null?_0x17b7f4:'','executionId':(_0x5af63c=_0xf39e70['executionId'])!=null?_0x5af63c:''};try{const _0x294695=await this[_0x52116d(0x2f5)]['post'](_0x4bc0df,{'body':_0x42f873});return _0x294695[_0x52116d(0x12e)][_0x52116d(0x1f2)]&&_0x294695[_0x52116d(0x12e)][_0x52116d(0x1f2)][_0x52116d(0x3b2)]!==_0x45bb59['OK']?_0x52116d(0x287):_0x294695[_0x52116d(0x12e)][_0x52116d(0x355)];}catch{return _0x52116d(0x287);}}},_0x58baf5[_0x4db1c3(0x1a4)]=_0xafe619([_0x44a1cf(0x0,_0x58b3ad[_0x4db1c3(0x30d)]),_0x44a1cf(0x1,_0x58b3ad[_0x4db1c3(0x257)](_0x22d557[_0x4db1c3(0x21a)])),_0x44a1cf(0x2,_0x58b3ad[_0x4db1c3(0x348)])],_0x58baf5['RemoteUniscriptService']),_0x58baf5[_0x4db1c3(0x334)]=_0x478902,_0x58baf5[_0x4db1c3(0x2d2)]=_0x5b0fb3,_0x58baf5[_0x4db1c3(0x200)]=_0x2f939e,_0x58baf5[_0x4db1c3(0x115)]=_0x395c4c,_0x58baf5[_0x4db1c3(0x30c)]=_0x253271,Object[_0x4db1c3(0x18c)](_0x58baf5,Symbol['toStringTag'],{'value':_0x4db1c3(0x275)});}));
|
|
1
|
+
function _0x2ab6(_0x4c06f8,_0x10570a){const _0x4f04cb=_0x4f04();return _0x2ab6=function(_0x2ab6e6,_0x425636){_0x2ab6e6=_0x2ab6e6-0x185;let _0x271099=_0x4f04cb[_0x2ab6e6];return _0x271099;},_0x2ab6(_0x4c06f8,_0x10570a);}(function(_0x1686b2,_0x111305){const _0x1140fc=_0x2ab6,_0x1a2676=_0x1686b2();while(!![]){try{const _0x197918=parseInt(_0x1140fc(0x259))/0x1+parseInt(_0x1140fc(0x29a))/0x2+parseInt(_0x1140fc(0x1c0))/0x3*(parseInt(_0x1140fc(0x312))/0x4)+parseInt(_0x1140fc(0x272))/0x5*(parseInt(_0x1140fc(0x2c8))/0x6)+-parseInt(_0x1140fc(0x195))/0x7+parseInt(_0x1140fc(0x36c))/0x8+-parseInt(_0x1140fc(0x2e2))/0x9;if(_0x197918===_0x111305)break;else _0x1a2676['push'](_0x1a2676['shift']());}catch(_0x1a48d8){_0x1a2676['push'](_0x1a2676['shift']());}}}(_0x4f04,0x66d94),function(_0x24dfad,_0x38a77f){const _0x3e3284=_0x2ab6;typeof exports==_0x3e3284(0x2f7)&&typeof module<'u'?_0x38a77f(exports,require('@univerjs-pro/collaboration-client'),require(_0x3e3284(0x2e3)),require(_0x3e3284(0x20a)),require(_0x3e3284(0x30d)),require(_0x3e3284(0x203)),require('@univerjs/drawing'),require(_0x3e3284(0x2c2)),require(_0x3e3284(0x2fa)),require(_0x3e3284(0x1fc)),require('@univerjs/engine-formula'),require(_0x3e3284(0x1bf)),require('rxjs/operators'),require(_0x3e3284(0x3c5)),require('react/jsx-runtime'),require(_0x3e3284(0x349)),require(_0x3e3284(0x192)),require('react'),require(_0x3e3284(0x396))):typeof define==_0x3e3284(0x400)&&define[_0x3e3284(0x30f)]?define([_0x3e3284(0x2d5),_0x3e3284(0x1c3),_0x3e3284(0x2e3),_0x3e3284(0x20a),_0x3e3284(0x30d),_0x3e3284(0x203),'@univerjs/drawing','rxjs',_0x3e3284(0x2fa),_0x3e3284(0x1fc),_0x3e3284(0x22c),_0x3e3284(0x1bf),'rxjs/operators',_0x3e3284(0x3c5),_0x3e3284(0x2ad),_0x3e3284(0x349),_0x3e3284(0x192),'react',_0x3e3284(0x396)],_0x38a77f):(_0x24dfad=typeof globalThis<'u'?globalThis:_0x24dfad||self,_0x38a77f(_0x24dfad[_0x3e3284(0x378)]={},_0x24dfad['UniverProCollaborationClient'],_0x24dfad['UniverCore'],_0x24dfad[_0x3e3284(0x365)],_0x24dfad[_0x3e3284(0x187)],_0x24dfad[_0x3e3284(0x34e)],_0x24dfad[_0x3e3284(0x258)],_0x24dfad[_0x3e3284(0x2c2)],_0x24dfad['UniverDocs'],_0x24dfad[_0x3e3284(0x36e)],_0x24dfad[_0x3e3284(0x1c2)],_0x24dfad[_0x3e3284(0x1e8)],_0x24dfad[_0x3e3284(0x2c2)][_0x3e3284(0x412)],_0x24dfad[_0x3e3284(0x2d4)],_0x24dfad[_0x3e3284(0x1eb)],_0x24dfad[_0x3e3284(0x2c7)],_0x24dfad[_0x3e3284(0x423)],_0x24dfad[_0x3e3284(0x1eb)],_0x24dfad[_0x3e3284(0x2f1)]));}(this,function(_0x39c320,_0x2137d8,_0x112c8e,_0x132069,_0x25f2b8,_0x97512c,_0x63405e,_0x265051,_0x4723ff,_0x3f458b,_0x4a4ee0,_0x16db28,_0x213256,_0x486af5,_0xc87f89,_0x4d7442,_0x37921f,_0x49fe71,_0x20f840){'use strict';const _0x143723=_0x2ab6;var _0xf89a26=Object[_0x143723(0x18d)],_0x25bf49=(_0x52cc8f,_0x3deaa4,_0x2ec338)=>_0x3deaa4 in _0x52cc8f?_0xf89a26(_0x52cc8f,_0x3deaa4,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2ec338}):_0x52cc8f[_0x3deaa4]=_0x2ec338,_0x433eb9=(_0x24c4e4,_0x3215ca,_0x5611a4)=>_0x25bf49(_0x24c4e4,typeof _0x3215ca!=_0x143723(0x2e9)?_0x3215ca+'':_0x3215ca,_0x5611a4),_0x3927ba=Object['getOwnPropertyDescriptor'],_0x138049=(_0x5714bd,_0x47c3b4,_0x35e22e,_0x1ef691)=>{for(var _0x52d889=_0x1ef691>0x1?void 0x0:_0x1ef691?_0x3927ba(_0x47c3b4,_0x35e22e):_0x47c3b4,_0x35a1b0=_0x5714bd['length']-0x1,_0x29852e;_0x35a1b0>=0x0;_0x35a1b0--)(_0x29852e=_0x5714bd[_0x35a1b0])&&(_0x52d889=_0x29852e(_0x52d889)||_0x52d889);return _0x52d889;},_0x4b8a48=(_0x5c0832,_0x7e1e3)=>(_0x225152,_0x1d2f77)=>_0x7e1e3(_0x225152,_0x1d2f77,_0x5c0832);let _0x5a11ca=class extends _0x112c8e['RxDisposable']{constructor(_0x53d8d3,_0x466ba0){const _0x544c22=_0x143723;super(),this[_0x544c22(0x29f)]=_0x53d8d3,this[_0x544c22(0x266)]=_0x466ba0,this['_init']();}[_0x143723(0x1a8)](){const _0x4eb23b=_0x143723,_0x23d0a5=this;this[_0x4eb23b(0x194)](this[_0x4eb23b(0x29f)][_0x4eb23b(0x2b6)]({'onBeforePasteImage':async _0x3e2fb5=>{const _0x38284f=_0x4eb23b,_0x3211fe=await _0x23d0a5[_0x38284f(0x266)]['saveImage'](_0x3e2fb5);return _0x3211fe?{'source':_0x3211fe[_0x38284f(0x3b0)],'imageSourceType':_0x3211fe[_0x38284f(0x224)]}:null;}}));}};_0x5a11ca=_0x138049([_0x4b8a48(0x0,_0x97512c['IDocClipboardService']),_0x4b8a48(0x1,_0x63405e[_0x143723(0x31c)])],_0x5a11ca);const _0x3fccf9=['purple.300','jiqing.500',_0x143723(0x2e5),_0x143723(0x35f),_0x143723(0x1fe),_0x143723(0x221)];class _0x2c376b extends _0x112c8e[_0x143723(0x357)]{constructor(){const _0x196b97=_0x143723;super(...arguments),_0x433eb9(this,'_assignedColors',new Map()),_0x433eb9(this,_0x196b97(0x236),0x0);}[_0x143723(0x302)](_0x37f10d){const _0x3634ab=_0x143723;if(this[_0x3634ab(0x429)]['has'](_0x37f10d))return this[_0x3634ab(0x429)]['get'](_0x37f10d);const _0x11a8aa=_0x3fccf9[this[_0x3634ab(0x236)]];return this[_0x3634ab(0x236)]=(this[_0x3634ab(0x236)]+0x1)%_0x3fccf9[_0x3634ab(0x370)],this['_assignedColors'][_0x3634ab(0x327)](_0x37f10d,_0x11a8aa),_0x11a8aa;}}function _0x331a9c(_0x5b88e5){let _0x10eb31='';for(const _0x245ea4 of _0x5b88e5){const {startOffset:_0x3c6779,endOffset:_0x19aeed,isActive:_0x1f5b65,rangeType:_0x27158a,segmentId:_0x1d3b25,segmentPage:_0x8c8e86}=_0x245ea4;_0x10eb31['length']&&(_0x10eb31+=','),_0x10eb31+=_0x3c6779+':'+_0x19aeed+':'+(_0x1f5b65?'1':'0')+':'+_0x27158a+':'+_0x1d3b25+':'+_0x8c8e86;}return _0x10eb31;}function _0x13b51b(_0x196a7d){const _0x3031d2=_0x143723,_0x305c6c=_0x196a7d['split'](','),_0x4fb6a1=[];for(const _0x3c5c48 of _0x305c6c){const [_0x3fc2ea,_0x5f16f6,_0x2ee153,_0x5df8b4,_0x1e4302,_0xee7fe4]=_0x3c5c48[_0x3031d2(0x3ab)](':');_0x4fb6a1[_0x3031d2(0x25c)]({'startOffset':Number(_0x3fc2ea),'endOffset':Number(_0x5f16f6),'collapsed':_0x3fc2ea===_0x5f16f6,'isActive':_0x2ee153==='1','rangeType':_0x5df8b4===_0x112c8e['DOC_RANGE_TYPE'][_0x3031d2(0x1ed)]?_0x112c8e[_0x3031d2(0x353)][_0x3031d2(0x1ed)]:_0x112c8e[_0x3031d2(0x353)][_0x3031d2(0x3a8)],'segmentId':typeof _0x1e4302=='string'?String(_0x1e4302):'','segmentPage':Number(_0xee7fe4!=null?_0xee7fe4:-0x1)});}return _0x4fb6a1['some'](_0x4e2463=>_0x4e2463[_0x3031d2(0x228)])||(_0x4fb6a1[0x0][_0x3031d2(0x228)]=!0x0),_0x4fb6a1;}class _0x35c700 extends _0x112c8e['RxDisposable']{constructor(){const _0x1e04d7=_0x143723;super(...arguments),_0x433eb9(this,_0x1e04d7(0x211),new _0x265051[(_0x1e04d7(0x255))](null)),_0x433eb9(this,_0x1e04d7(0x2cc),this[_0x1e04d7(0x211)][_0x1e04d7(0x251)]());}['syncEditingCollabCursor'](_0x1b35e8){const {unitID:_0x518f9c,memberID:_0x4370eb,textRanges:_0x483f4c}=_0x1b35e8,_0x20479c=_0x331a9c(_0x483f4c);if(_0x20479c==='')return;const _0x160268={'unitID':_0x518f9c,'memberID':_0x4370eb,'selection':_0x20479c};this['_collabCursorState$']['next'](_0x160268);}}var _0x3e273b=Object[_0x143723(0x3da)],_0x42ebed=(_0xe3462f,_0xac283f,_0x197c94,_0x35f526)=>{const _0x1e6efa=_0x143723;for(var _0xcea15d=_0x35f526>0x1?void 0x0:_0x35f526?_0x3e273b(_0xac283f,_0x197c94):_0xac283f,_0x3f9911=_0xe3462f[_0x1e6efa(0x370)]-0x1,_0x163685;_0x3f9911>=0x0;_0x3f9911--)(_0x163685=_0xe3462f[_0x3f9911])&&(_0xcea15d=_0x163685(_0xcea15d)||_0xcea15d);return _0xcea15d;},_0x48dd1f=(_0x17969b,_0x3ce5af)=>(_0x19dc9e,_0xfcb1e6)=>_0x3ce5af(_0x19dc9e,_0xfcb1e6,_0x17969b);const _0x25d56d=0x12c,_0x247917=0x64;let _0x3901ab=class extends _0x112c8e[_0x143723(0x3dc)]{constructor(_0x2147df,_0x51401e,_0x5f041a,_0x36c197,_0x2a1247,_0x4535db,_0x73ecbe,_0x15f0ce,_0x100c89){const _0x4b3802=_0x143723;super(),_0x433eb9(this,_0x4b3802(0x1a2),!0x1),_0x433eb9(this,'_init',!0x1),_0x433eb9(this,_0x4b3802(0x2a7),new _0x265051['BehaviorSubject'](new Map())),_0x433eb9(this,_0x4b3802(0x3b7),this['_cursorInfo$'][_0x4b3802(0x251)]()),_0x433eb9(this,_0x4b3802(0x188),new _0x265051[(_0x4b3802(0x255))]([])),_0x433eb9(this,_0x4b3802(0x1de),this[_0x4b3802(0x188)][_0x4b3802(0x2d0)](_0x265051[_0x4b3802(0x193)](_0x25d56d))),_0x433eb9(this,_0x4b3802(0x344),_0x112c8e[_0x4b3802(0x3f6)](_0x531f2c=>{const _0x30aa84=_0x4b3802,_0xc686a9={'eventID':_0x3f458b[_0x30aa84(0x220)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x30aa84(0x40d)],'memberID':this[_0x30aa84(0x29e)][_0x30aa84(0x25d)](),'selection':_0x331a9c(_0x531f2c)}};this[_0x30aa84(0x29e)]['send'](_0xc686a9,this[_0x30aa84(0x40d)]);},_0x247917)),(this[_0x4b3802(0x40d)]=_0x2147df,this['_session']=_0x51401e,this[_0x4b3802(0x22d)]=_0x5f041a,this[_0x4b3802(0x2cb)]=_0x36c197,this['_memberService']=_0x2a1247,this[_0x4b3802(0x3c4)]=_0x4535db,this['_transformService']=_0x73ecbe,this[_0x4b3802(0x22a)]=_0x15f0ce,this[_0x4b3802(0x23b)]=_0x100c89);}get[_0x143723(0x33d)](){const _0x171e24=_0x143723;return this[_0x171e24(0x2a7)][_0x171e24(0x3dd)]();}get['roomMembers'](){const _0x1d62b5=_0x143723;return this['_roomMembers$'][_0x1d62b5(0x3dd)]();}['dispose'](){const _0x511e7e=_0x143723;super[_0x511e7e(0x3b4)](),this[_0x511e7e(0x2a7)][_0x511e7e(0x320)](new Map()),this[_0x511e7e(0x2a7)][_0x511e7e(0x2b2)](),this[_0x511e7e(0x188)]['next']([]),this[_0x511e7e(0x188)][_0x511e7e(0x2b2)]();}[_0x143723(0x3cf)](){const _0x3b5ea4=_0x143723;this['_init']||(this[_0x3b5ea4(0x1a8)]=!0x0,this['_session'][_0x3b5ea4(0x37f)][_0x3b5ea4(0x2d0)](_0x265051[_0x3b5ea4(0x319)](this[_0x3b5ea4(0x41a)]))[_0x3b5ea4(0x3e7)](_0x5ef662=>{const _0x2513a0=_0x3b5ea4;_0x5ef662===_0x2137d8[_0x2513a0(0x1b6)][_0x2513a0(0x2f8)]?this[_0x2513a0(0x358)]():this['_toggleOffline']();}),this[_0x3b5ea4(0x29e)]['event$']['pipe'](_0x265051[_0x3b5ea4(0x319)](this['dispose$']))[_0x3b5ea4(0x3e7)](_0x105534=>{const _0x59b930=_0x3b5ea4,_0x4abb8e=_0x105534[_0x59b930(0x347)];_0x4abb8e===_0x3f458b['CollaborationEvent']['UPDATE_CURSOR']&&this['_onCursorUpdate'](_0x105534),_0x4abb8e===_0x3f458b[_0x59b930(0x220)][_0x59b930(0x24f)]&&this[_0x59b930(0x3a4)](_0x105534);}),this[_0x3b5ea4(0x194)](this[_0x3b5ea4(0x23b)][_0x3b5ea4(0x2e6)](_0x26f9ea=>{const _0x289eef=_0x3b5ea4,_0x244caf=_0x26f9ea['params'];_0x244caf!=null&&this[_0x289eef(0x1a2)]&&_0x26f9ea['id']===_0x4723ff[_0x289eef(0x244)]['id']&&_0x244caf['unitId']===this[_0x289eef(0x40d)]&&_0x244caf[_0x289eef(0x2d1)]===!0x1&&_0x244caf[_0x289eef(0x426)][_0x289eef(0x370)]>0x0&&this[_0x289eef(0x344)](_0x244caf['ranges']);})),this[_0x3b5ea4(0x3c4)]['collabCursorState$'][_0x3b5ea4(0x2d0)](_0x265051[_0x3b5ea4(0x319)](this[_0x3b5ea4(0x41a)]))[_0x3b5ea4(0x3e7)](_0x4dd1ec=>{const _0x2958fb=_0x3b5ea4;if((_0x4dd1ec==null?void 0x0:_0x4dd1ec[_0x2958fb(0x40d)])!==this[_0x2958fb(0x40d)])return;const _0x3e3389={'eventID':_0x3f458b[_0x2958fb(0x220)][_0x2958fb(0x379)],'data':_0x4dd1ec};this['_onCursorUpdate'](_0x3e3389);}),this[_0x3b5ea4(0x194)](this[_0x3b5ea4(0x23b)][_0x3b5ea4(0x2e6)](_0x106c7e=>{const _0x3804c3=_0x3b5ea4;if(_0x106c7e[_0x3804c3(0x399)]==null)return;const _0x3e48ab=_0x106c7e[_0x3804c3(0x399)];if(_0x106c7e['id']!==_0x4723ff['RichTextEditingMutation']['id']||_0x3e48ab[_0x3804c3(0x1ff)]!==this[_0x3804c3(0x40d)])return;const _0x2c3544={'id':'doc.mutation.rich-text-editing','params':_0x3e48ab},_0x59cb43=this['cursorInfo'];for(const [_0x284d90,_0x106659]of _0x59cb43){const _0x1c6cd9={'id':'doc.mutation.rich-text-editing','params':{'unitId':this[_0x3804c3(0x40d)],'actions':null,'textRanges':_0x106659[_0x3804c3(0x426)]}},_0x261458=this[_0x3804c3(0x3a5)][_0x3804c3(0x191)](_0x2c3544,_0x1c6cd9,!0x1);if(_0x3f458b[_0x3804c3(0x2c1)](_0x261458))throw _0x261458['error'];_0x59cb43[_0x3804c3(0x327)](_0x284d90,{..._0x106659,'ranges':_0x261458[_0x3804c3(0x1b5)]['params'][_0x3804c3(0x21e)]});}queueMicrotask(()=>{const _0x3c27a3=_0x3804c3;this[_0x3c27a3(0x2a7)][_0x3c27a3(0x320)](_0x59cb43);});})));}[_0x143723(0x356)](_0x317c6f){const _0x1a63eb=_0x143723;var _0x28c3a4,_0x23c163;const {memberID:_0x2d4d67,selection:_0x130d28}=_0x317c6f['data'],_0x2bcc05=_0x13b51b(_0x130d28),_0x68fabe=(_0x23c163=(_0x28c3a4=this['_memberService'][_0x1a63eb(0x284)](this['unitID'],_0x2d4d67))==null?void 0x0:_0x28c3a4['name'])!=null?_0x23c163:'Unknown\x20user',_0x49127c={'color':this['_colorAssignService']['assignAColorForMemberID'](_0x2d4d67),'name':_0x68fabe,'ranges':_0x2bcc05},_0x597cf8=this['cursorInfo'];_0x597cf8[_0x1a63eb(0x327)](_0x2d4d67,_0x49127c),this[_0x1a63eb(0x2a7)][_0x1a63eb(0x320)](_0x597cf8);}[_0x143723(0x3a4)](_0x2ad7a7){const _0x182cc6=_0x143723,{memberID:_0x2daaa8}=_0x2ad7a7[_0x182cc6(0x301)],_0x18ab49=this['cursorInfo'];_0x18ab49[_0x182cc6(0x37a)](_0x2daaa8),this[_0x182cc6(0x2a7)][_0x182cc6(0x320)](_0x18ab49);}[_0x143723(0x358)](){const _0x506764=_0x143723;var _0x485e1a;if(this[_0x506764(0x1a2)]=!0x0,((_0x485e1a=this['_univerInstanceService']['getFocusedUnit']())==null?void 0x0:_0x485e1a[_0x506764(0x249)]())!==this[_0x506764(0x40d)])return;const _0x395829=this[_0x506764(0x22d)][_0x506764(0x292)](_0x4723ff['DocSelectionManagerService'])['getDocRanges']();Array[_0x506764(0x32a)](_0x395829)&&_0x395829[_0x506764(0x370)]>0x0&&this[_0x506764(0x344)](_0x395829);}[_0x143723(0x323)](){this['_online']=!0x1;}};_0x3901ab=_0x42ebed([_0x48dd1f(0x2,_0x112c8e[_0x143723(0x33f)](_0x112c8e[_0x143723(0x1a0)])),_0x48dd1f(0x3,_0x112c8e['Inject'](_0x2c376b)),_0x48dd1f(0x4,_0x112c8e[_0x143723(0x33f)](_0x2137d8[_0x143723(0x300)])),_0x48dd1f(0x5,_0x112c8e[_0x143723(0x33f)](_0x35c700)),_0x48dd1f(0x6,_0x3f458b[_0x143723(0x197)]),_0x48dd1f(0x7,_0x112c8e[_0x143723(0x1f7)]),_0x48dd1f(0x8,_0x112c8e[_0x143723(0x348)])],_0x3901ab);var _0x1c0c78=Object[_0x143723(0x3da)],_0x7178dc=(_0x3d2404,_0x429cc4,_0x21a947,_0x34c4b2)=>{const _0x1e3d2f=_0x143723;for(var _0x49f10b=_0x34c4b2>0x1?void 0x0:_0x34c4b2?_0x1c0c78(_0x429cc4,_0x21a947):_0x429cc4,_0x52a1b4=_0x3d2404[_0x1e3d2f(0x370)]-0x1,_0x51aaa4;_0x52a1b4>=0x0;_0x52a1b4--)(_0x51aaa4=_0x3d2404[_0x52a1b4])&&(_0x49f10b=_0x51aaa4(_0x49f10b)||_0x49f10b);return _0x49f10b;},_0x4246a8=(_0x56b2f6,_0x581fc3)=>(_0x1aeca0,_0x2b6b76)=>_0x581fc3(_0x1aeca0,_0x2b6b76,_0x56b2f6);const _0x252291=0x12c,_0x552ace=0x64,_0x545f1a=()=>{let _0x35aee7=[],_0x552c9e=!0x1;return _0x15f7b2=>{_0x35aee7['push'](_0x15f7b2),_0x552c9e||(_0x552c9e=!0x0,setTimeout(()=>{_0x35aee7['forEach'](_0x4a6884=>_0x4a6884()),_0x35aee7=[],_0x552c9e=!0x1;}));};};let _0xec98c5=class extends _0x112c8e[_0x143723(0x3dc)]{constructor(_0xd9f7f7,_0x36299e,_0x22f9c8,_0x3de988,_0x145577,_0x30f1e5,_0x23b23e,_0x9fa8d5){const _0x5cdb4b=_0x143723;super(),_0x433eb9(this,_0x5cdb4b(0x1a2),!0x1),_0x433eb9(this,_0x5cdb4b(0x1a8),!0x1),_0x433eb9(this,'_cursorInfo$',new _0x265051[(_0x5cdb4b(0x255))](new Map())),_0x433eb9(this,_0x5cdb4b(0x3b7),this[_0x5cdb4b(0x2a7)][_0x5cdb4b(0x251)]()),_0x433eb9(this,'_roomMembers$',new _0x265051[(_0x5cdb4b(0x255))]([])),_0x433eb9(this,_0x5cdb4b(0x1de),this[_0x5cdb4b(0x188)]['pipe'](_0x265051[_0x5cdb4b(0x193)](_0x252291))),_0x433eb9(this,_0x5cdb4b(0x344),_0x112c8e[_0x5cdb4b(0x3f6)]((_0x5bf025,_0x3e7e91)=>{const _0x3313b4=_0x5cdb4b,_0x5873de={'eventID':_0x3f458b['CollaborationEvent']['UPDATE_CURSOR'],'data':{'unitID':this[_0x3313b4(0x40d)],'memberID':this[_0x3313b4(0x29e)][_0x3313b4(0x25d)](),'selection':_0x4a4ee0[_0x3313b4(0x279)](_0x5bf025,_0x3e7e91[_0x3313b4(0x202)])}};this['_session'][_0x3313b4(0x2de)](_0x5873de,this[_0x3313b4(0x40d)]);},_0x552ace)),(this['unitID']=_0xd9f7f7,this[_0x5cdb4b(0x29e)]=_0x36299e,this['_injector']=_0x22f9c8,this[_0x5cdb4b(0x2cb)]=_0x3de988,this[_0x5cdb4b(0x3b9)]=_0x145577,this[_0x5cdb4b(0x22a)]=_0x30f1e5,this[_0x5cdb4b(0x23b)]=_0x23b23e,this['_refRangeService']=_0x9fa8d5);}get[_0x143723(0x33d)](){const _0x528ca4=_0x143723;return this['_cursorInfo$'][_0x528ca4(0x3dd)]();}get['roomMembers'](){const _0x4980c7=_0x143723;return this[_0x4980c7(0x188)][_0x4980c7(0x3dd)]();}[_0x143723(0x3b4)](){const _0x6b6643=_0x143723;super['dispose'](),this['_cursorInfo$'][_0x6b6643(0x320)](new Map()),this[_0x6b6643(0x2a7)][_0x6b6643(0x2b2)](),this['_roomMembers$'][_0x6b6643(0x320)]([]),this[_0x6b6643(0x188)][_0x6b6643(0x2b2)]();}[_0x143723(0x3cf)](){const _0x49202d=_0x143723;this[_0x49202d(0x1a8)]||(this[_0x49202d(0x1a8)]=!0x0,this['_session'][_0x49202d(0x37f)]['pipe'](_0x265051['takeUntil'](this[_0x49202d(0x41a)]))[_0x49202d(0x3e7)](_0x299d5a=>{const _0x34a7ec=_0x49202d;_0x299d5a===_0x2137d8[_0x34a7ec(0x1b6)][_0x34a7ec(0x2f8)]?this['_toggleOnline']():this[_0x34a7ec(0x323)]();}),this['_session']['event$'][_0x49202d(0x2d0)](_0x265051[_0x49202d(0x319)](this[_0x49202d(0x41a)]))[_0x49202d(0x3e7)](_0x24d5da=>{const _0x5d4a0b=_0x49202d,_0x2151f4=_0x24d5da['eventID'];_0x2151f4===_0x3f458b[_0x5d4a0b(0x220)][_0x5d4a0b(0x379)]&&this[_0x5d4a0b(0x356)](_0x24d5da),_0x2151f4===_0x3f458b[_0x5d4a0b(0x220)][_0x5d4a0b(0x24f)]&&this[_0x5d4a0b(0x3a4)](_0x24d5da);}),this[_0x49202d(0x41c)](),this['disposeWithMe'](this['_commandService']['onCommandExecuted'](_0x46535a=>{const _0x3fabc0=_0x49202d;if(this[_0x3fabc0(0x1a2)]&&_0x46535a['id']===_0x16db28['SetSelectionsOperation']['id']&&_0x46535a[_0x3fabc0(0x399)][_0x3fabc0(0x1ff)]===this[_0x3fabc0(0x40d)]){const _0x500ec0=_0x46535a['params'];this['_updateLocalCursor'](_0x500ec0['subUnitId'],_0x500ec0[_0x3fabc0(0x25a)][0x0]);}})));}[_0x143723(0x356)](_0xee37f7){const _0x4c3568=_0x143723;var _0xcd025c,_0x377963;const {memberID:_0x36c75e,selection:_0x555f33}=_0xee37f7[_0x4c3568(0x301)],{sheetName:_0x13cd8e,range:_0x141517}=_0x4a4ee0[_0x4c3568(0x275)](_0x555f33),_0x3ceadc={'name':(_0x377963=(_0xcd025c=this[_0x4c3568(0x3b9)][_0x4c3568(0x284)](this[_0x4c3568(0x40d)],_0x36c75e))==null?void 0x0:_0xcd025c[_0x4c3568(0x267)])!=null?_0x377963:'Unknown\x20user','range':this[_0x4c3568(0x2be)](_0x13cd8e,_0x141517),'sheetID':_0x13cd8e,'color':this[_0x4c3568(0x2cb)][_0x4c3568(0x302)](_0x36c75e),'selection':_0x555f33},_0x69ed62=this[_0x4c3568(0x33d)];_0x69ed62[_0x4c3568(0x327)](_0x36c75e,_0x3ceadc),this[_0x4c3568(0x2a7)][_0x4c3568(0x320)](_0x69ed62);}[_0x143723(0x3a4)](_0x42c367){const _0x33afe5=_0x143723,{memberID:_0x9f01df}=_0x42c367[_0x33afe5(0x301)],_0x549cbf=this[_0x33afe5(0x33d)];_0x549cbf[_0x33afe5(0x37a)](_0x9f01df),this[_0x33afe5(0x2a7)][_0x33afe5(0x320)](_0x549cbf);}[_0x143723(0x2be)](_0x241384,_0x18a881){const _0x5a4f42=_0x143723;var _0x40356f,_0x3cb5df;const _0x4c10eb=(_0x3cb5df=(_0x40356f=this[_0x5a4f42(0x22a)]['getUniverSheetInstance'](this[_0x5a4f42(0x40d)]))==null?void 0x0:_0x40356f[_0x5a4f42(0x3d4)](_0x241384))==null?void 0x0:_0x3cb5df[_0x5a4f42(0x1ac)]();return(_0x4c10eb==null?void 0x0:_0x4c10eb[_0x5a4f42(0x2fd)](_0x3a1718=>_0x112c8e['Rectangle'][_0x5a4f42(0x3d2)](_0x3a1718,_0x18a881)))||_0x18a881;}[_0x143723(0x41c)](){const _0x50c9c4=_0x143723,_0x4be4b7=new _0x112c8e[(_0x50c9c4(0x26c))](),_0x36a4e1=_0x545f1a(),_0x439772=()=>{const _0xf1c448=_0x50c9c4;_0x4be4b7[_0xf1c448(0x3b4)]();const _0x27a46e=(_0x15e93d,_0x422ad0,_0x5cf10e,_0x437a47)=>{const _0x4af903=_0xf1c448;let _0x5624fe=[];switch(_0x15e93d['id']){case _0x16db28['EffectRefRangId'][_0x4af903(0x209)]:{_0x5624fe=_0x16db28[_0x4af903(0x3b3)](_0x15e93d,_0x437a47);break;}case _0x16db28[_0x4af903(0x22b)]['DeleteRangeMoveUpCommandId']:{_0x5624fe=_0x16db28[_0x4af903(0x201)](_0x15e93d,_0x437a47);break;}case _0x16db28[_0x4af903(0x22b)][_0x4af903(0x3bd)]:{_0x5624fe=_0x16db28[_0x4af903(0x2fe)](_0x15e93d,_0x437a47);break;}case _0x16db28[_0x4af903(0x22b)][_0x4af903(0x21c)]:{_0x5624fe=_0x16db28[_0x4af903(0x418)](_0x15e93d,_0x437a47);break;}case _0x16db28[_0x4af903(0x22b)][_0x4af903(0x3bf)]:{_0x5624fe=_0x16db28[_0x4af903(0x314)](_0x15e93d,_0x437a47);break;}case _0x16db28[_0x4af903(0x22b)][_0x4af903(0x37c)]:{_0x5624fe=_0x16db28[_0x4af903(0x311)](_0x15e93d,_0x437a47);break;}case _0x16db28[_0x4af903(0x22b)][_0x4af903(0x369)]:{_0x5624fe=_0x16db28[_0x4af903(0x345)](_0x15e93d,_0x437a47);break;}case _0x16db28[_0x4af903(0x22b)][_0x4af903(0x28b)]:{_0x5624fe=_0x16db28[_0x4af903(0x33e)](_0x15e93d,_0x437a47);break;}case _0x16db28['EffectRefRangId'][_0x4af903(0x1e9)]:{_0x5624fe=_0x16db28[_0x4af903(0x28c)](_0x15e93d,_0x437a47);break;}}const _0x5ee37e=_0x16db28[_0x4af903(0x3a7)](_0x5624fe,_0x437a47),_0x2c8a9f=this[_0x4af903(0x33d)]['get'](_0x422ad0);if(_0x2c8a9f&&_0x5ee37e){const _0xf50c4e={..._0x2c8a9f,'range':_0x5ee37e};this['cursorInfo']['set'](_0x422ad0,_0xf50c4e),_0x36a4e1(()=>{const _0xc77fc0=_0x4af903,_0x58827a=this['_refRangeService'][_0xc77fc0(0x1d3)](_0x5ee37e,_0x39b61c=>(_0x58827a['dispose'](),_0x27a46e(_0x39b61c,_0x422ad0,_0x5cf10e,_0x5ee37e)));_0x4be4b7[_0xc77fc0(0x3ef)](_0x58827a);});}return{'redos':[],'undos':[]};};this[_0xf1c448(0x33d)][_0xf1c448(0x363)]((_0x15e3bd,_0x536e7f)=>{const _0x22b2a9=_0xf1c448,{range:_0xd4b72c,sheetID:_0x37208b}=_0x15e3bd,_0x4f2e51=this[_0x22b2a9(0x352)][_0x22b2a9(0x1d3)](_0xd4b72c,_0x4d7067=>(_0x4f2e51[_0x22b2a9(0x3b4)](),_0x27a46e(_0x4d7067,_0x536e7f,_0x37208b,_0xd4b72c)));_0x4be4b7[_0x22b2a9(0x3ef)](_0x4f2e51);});};this['disposeWithMe'](_0x112c8e['toDisposable'](this[_0x50c9c4(0x2a7)][_0x50c9c4(0x3e7)](()=>{_0x439772();})));}['_toggleOnline'](){const _0x2ce033=_0x143723;var _0x140829,_0x8bef9;if(this[_0x2ce033(0x1a2)]=!0x0,((_0x140829=this[_0x2ce033(0x22a)][_0x2ce033(0x2f0)]())==null?void 0x0:_0x140829[_0x2ce033(0x249)]())!==this['unitID'])return;const _0x5ff013=(_0x8bef9=this['_injector']['get'](_0x16db28[_0x2ce033(0x1d9)])['getCurrentSelections']())==null?void 0x0:_0x8bef9[0x0],_0x21fd88=this[_0x2ce033(0x22a)]['getCurrentUnitForType'](_0x112c8e[_0x2ce033(0x1a6)][_0x2ce033(0x1a4)])[_0x2ce033(0x1cd)]();_0x5ff013&&_0x21fd88&&this[_0x2ce033(0x344)](_0x21fd88[_0x2ce033(0x232)](),_0x5ff013);}[_0x143723(0x323)](){this['_online']=!0x1;}};_0xec98c5=_0x7178dc([_0x4246a8(0x2,_0x112c8e[_0x143723(0x33f)](_0x112c8e[_0x143723(0x1a0)])),_0x4246a8(0x3,_0x112c8e[_0x143723(0x33f)](_0x2c376b)),_0x4246a8(0x4,_0x112c8e[_0x143723(0x33f)](_0x2137d8['MemberService'])),_0x4246a8(0x5,_0x112c8e[_0x143723(0x1f7)]),_0x4246a8(0x6,_0x112c8e['ICommandService']),_0x4246a8(0x7,_0x112c8e[_0x143723(0x33f)](_0x16db28['RefRangeService']))],_0xec98c5);var _0xfe4e65=Object[_0x143723(0x3da)],_0x5a4d9f=(_0x2a99c1,_0xb72359,_0x7640e2,_0x295043)=>{const _0x49c40d=_0x143723;for(var _0x3ad2ea=_0x295043>0x1?void 0x0:_0x295043?_0xfe4e65(_0xb72359,_0x7640e2):_0xb72359,_0x33f1f7=_0x2a99c1[_0x49c40d(0x370)]-0x1,_0x2250f0;_0x33f1f7>=0x0;_0x33f1f7--)(_0x2250f0=_0x2a99c1[_0x33f1f7])&&(_0x3ad2ea=_0x2250f0(_0x3ad2ea)||_0x3ad2ea);return _0x3ad2ea;},_0x4d34bd=(_0xeec7dd,_0x1932a2)=>(_0x34ba0e,_0x48d9d5)=>_0x1932a2(_0x34ba0e,_0x48d9d5,_0xeec7dd);let _0x599949=class extends _0x112c8e[_0x143723(0x3dc)]{constructor(_0x20bf49,_0x46d02e,_0x3d7cac){const _0x53cafc=_0x143723;super(),_0x433eb9(this,_0x53cafc(0x1fb),new Map()),_0x433eb9(this,_0x53cafc(0x2cd),new _0x265051[(_0x53cafc(0x1cc))]()),(this[_0x53cafc(0x22a)]=_0x20bf49,this['_injector']=_0x46d02e,this['_collabSessionService']=_0x3d7cac,this['_init']());}[_0x143723(0x3b4)](){const _0x122897=_0x143723;super['dispose'](),this[_0x122897(0x2cd)][_0x122897(0x2b2)](),this['_entities'][_0x122897(0x363)](_0x114883=>_0x114883[_0x122897(0x3b4)]());}[_0x143723(0x1da)](_0x16c3ec){const _0x354eb3=_0x143723;return this['_entities'][_0x354eb3(0x2ac)](_0x16c3ec)?this['_entities']['get'](_0x16c3ec)['cursorInfo$']:this['_entityInit$']['pipe'](_0x265051[_0x354eb3(0x3ee)](_0x543cd4=>_0x543cd4[_0x354eb3(0x40d)]===_0x16c3ec),_0x265051[_0x354eb3(0x32c)](_0x16e019=>_0x16e019['cursorInfo$']));}['_init'](){const _0x2e70a9=_0x143723;this[_0x2e70a9(0x22a)][_0x2e70a9(0x2ee)](_0x112c8e[_0x2e70a9(0x1a6)][_0x2e70a9(0x1a4)])['pipe'](_0x265051['takeUntil'](this['dispose$']))['subscribe'](async _0x317122=>{const _0x3fdce6=_0x2e70a9,_0x51fa67=_0x317122['getUnitId'](),_0x2ce7f6=await this[_0x3fdce6(0x386)](_0x51fa67);this[_0x3fdce6(0x2cd)][_0x3fdce6(0x320)](_0x2ce7f6),this[_0x3fdce6(0x1fb)][_0x3fdce6(0x327)](_0x51fa67,_0x2ce7f6);}),this[_0x2e70a9(0x22a)][_0x2e70a9(0x2ee)](_0x112c8e[_0x2e70a9(0x1a6)][_0x2e70a9(0x1ce)])[_0x2e70a9(0x2d0)](_0x265051['takeUntil'](this['dispose$']))[_0x2e70a9(0x2d0)](_0x265051[_0x2e70a9(0x3ee)](_0x1abb43=>!_0x1abb43[_0x2e70a9(0x249)]()['startsWith']('__')))[_0x2e70a9(0x3e7)](async _0x9ce8de=>{const _0x25ae94=_0x2e70a9,_0x2986c2=_0x9ce8de[_0x25ae94(0x249)](),_0x467b9c=await this['_startDocCollabCursor'](_0x2986c2);this[_0x25ae94(0x2cd)][_0x25ae94(0x320)](_0x467b9c),this[_0x25ae94(0x1fb)][_0x25ae94(0x327)](_0x2986c2,_0x467b9c);}),_0x265051[_0x2e70a9(0x2a5)](this['_univerInstanceService'][_0x2e70a9(0x2b0)](_0x112c8e[_0x2e70a9(0x1a6)][_0x2e70a9(0x1ce)]),this[_0x2e70a9(0x22a)][_0x2e70a9(0x2b0)](_0x112c8e[_0x2e70a9(0x1a6)][_0x2e70a9(0x1a4)]))[_0x2e70a9(0x2d0)](_0x265051[_0x2e70a9(0x319)](this['dispose$']))[_0x2e70a9(0x3e7)](_0x21794c=>{const _0x160903=_0x2e70a9,_0x3ea5f8=_0x21794c[_0x160903(0x249)](),_0x3f14a8=this[_0x160903(0x1fb)][_0x160903(0x292)](_0x3ea5f8);_0x3f14a8&&(_0x3f14a8[_0x160903(0x3b4)](),this[_0x160903(0x1fb)]['delete'](_0x3ea5f8));});}async[_0x143723(0x386)](_0x593a36){const _0x3b6740=_0x143723,_0x518987=await this[_0x3b6740(0x2bc)][_0x3b6740(0x34c)](_0x593a36),_0x1b1bd8=this[_0x3b6740(0x22d)]['createInstance'](_0xec98c5,_0x593a36,_0x518987);return _0x1b1bd8[_0x3b6740(0x3cf)](),_0x1b1bd8;}async[_0x143723(0x346)](_0x409a1f){const _0x2bb957=_0x143723,_0x2f13a9=await this['_collabSessionService'][_0x2bb957(0x34c)](_0x409a1f),_0x1eccae=this[_0x2bb957(0x22d)][_0x2bb957(0x235)](_0x3901ab,_0x409a1f,_0x2f13a9);return _0x1eccae[_0x2bb957(0x3cf)](),_0x1eccae;}};_0x599949=_0x5a4d9f([_0x4d34bd(0x0,_0x112c8e['IUniverInstanceService']),_0x4d34bd(0x1,_0x112c8e[_0x143723(0x33f)](_0x112c8e[_0x143723(0x1a0)])),_0x4d34bd(0x2,_0x112c8e[_0x143723(0x33f)](_0x2137d8['CollaborationSessionService']))],_0x599949);const _0x3ced61=0x14,_0x3f0fd2=0xc8,_0x96448e=0x4,_0x575216=0x5;function _0x4053b1(_0x185d19,_0x58212e){const _0x3add3d=_0x143723;let {radius:_0x4c4616,width:_0x4a9714,height:_0x129d40}=_0x58212e;_0x4c4616=_0x4c4616!=null?_0x4c4616:0x0,_0x4a9714=_0x4a9714!=null?_0x4a9714:0x1e,_0x129d40=_0x129d40!=null?_0x129d40:0x1e;let _0x1f533d=0x0,_0x679f81=0x0,_0xce47aa=0x0;_0x1f533d=_0x679f81=_0xce47aa=Math[_0x3add3d(0x35d)](_0x4c4616,_0x4a9714/0x2,_0x129d40/0x2),_0x185d19[_0x3add3d(0x1e0)](),_0x185d19[_0x3add3d(0x2ba)](_0x1f533d,0x0),_0x185d19[_0x3add3d(0x28d)](_0x4a9714-_0x679f81,0x0),_0x185d19['arc'](_0x4a9714-_0x679f81,_0x679f81,_0x679f81,Math['PI']*0x3/0x2,0x0,!0x1),_0x185d19[_0x3add3d(0x28d)](_0x4a9714,_0x129d40-_0xce47aa),_0x185d19[_0x3add3d(0x1f2)](_0x4a9714-_0xce47aa,_0x129d40-_0xce47aa,_0xce47aa,0x0,Math['PI']/0x2,!0x1),_0x185d19[_0x3add3d(0x28d)](0x0,_0x129d40),_0x185d19['lineTo'](0x0,_0x1f533d),_0x185d19[_0x3add3d(0x1f2)](_0x1f533d,_0x1f533d,_0x1f533d,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x185d19[_0x3add3d(0x2e4)](),_0x58212e[_0x3add3d(0x20b)]&&(_0x185d19[_0x3add3d(0x409)](),_0x185d19[_0x3add3d(0x402)]=_0x58212e['fill'],_0x58212e[_0x3add3d(0x35a)]===_0x3add3d(0x3cb)?_0x185d19[_0x3add3d(0x20b)](_0x3add3d(0x3cb)):_0x185d19[_0x3add3d(0x20b)](),_0x185d19['restore']());}class _0x5b9021 extends _0x132069['Shape']{constructor(_0x3008d9,_0x2f11a6){const _0x39ae8d=_0x143723;super(_0x3008d9,_0x2f11a6),_0x433eb9(this,_0x39ae8d(0x376)),_0x433eb9(this,_0x39ae8d(0x3d9)),(this[_0x39ae8d(0x376)]=_0x2f11a6==null?void 0x0:_0x2f11a6[_0x39ae8d(0x376)],this[_0x39ae8d(0x3d9)]=_0x2f11a6==null?void 0x0:_0x2f11a6['text']);}static[_0x143723(0x2f5)](_0x12279a,_0x468b07){const _0x1dc992=_0x143723,{text:_0x542575,color:_0x19464d}=_0x468b07;_0x12279a[_0x1dc992(0x409)](),_0x12279a[_0x1dc992(0x1b7)]=_0x1dc992(0x3f4);const _0x446e39=_0x12279a['measureText'](_0x542575)[_0x1dc992(0x257)],_0x1d450a=Math[_0x1dc992(0x35d)](_0x446e39+0x2*_0x96448e,_0x3f0fd2);_0x4053b1(_0x12279a,{'height':_0x3ced61,'radius':0x4,'width':_0x1d450a,'fill':_0x19464d}),_0x12279a[_0x1dc992(0x402)]=_0x1dc992(0x1ea);const _0x36e24f=_0x96448e,_0x1e8e9f=_0x3ced61-_0x575216,_0x2d343c=_0x3f0fd2-0x2*_0x96448e;if(_0x446e39>_0x2d343c){let _0x336f56='',_0x51a782=0x0;for(const _0x16bc5d of _0x542575){const _0x2598ac=_0x12279a[_0x1dc992(0x1ae)](_0x16bc5d)[_0x1dc992(0x257)];if(_0x51a782+_0x2598ac<=_0x2d343c-_0x12279a['measureText'](_0x1dc992(0x1ad))['width'])_0x336f56+=_0x16bc5d,_0x51a782+=_0x2598ac;else{_0x336f56+='...';break;}}_0x12279a[_0x1dc992(0x37e)](_0x336f56,_0x36e24f,_0x1e8e9f);}else _0x12279a[_0x1dc992(0x37e)](_0x542575,_0x36e24f,_0x1e8e9f);_0x12279a[_0x1dc992(0x42e)]();}[_0x143723(0x2dd)](_0x337301){const _0x4946cb=_0x143723;_0x5b9021[_0x4946cb(0x2f5)](_0x337301,this);}}const _0x4bb131=_0x143723(0x375),_0x465dcf=_0x143723(0x40a),_0x152619=_0x143723(0x283),_0x1fda91=0x6,_0x1d0b21=1.5,_0x39d9d5=0x4,_0x5b2f9e=1.5,_0x2c0cc9=_0x143723(0x3bc);class _0x35c061{constructor(_0x2b46f9,_0x391ac2,_0x4e8d6e,_0x2ce35f){const _0x418596=_0x143723;_0x433eb9(this,_0x418596(0x204),[]),_0x433eb9(this,_0x418596(0x246),null),_0x433eb9(this,_0x418596(0x2c0),null),_0x433eb9(this,'_anchorDot',null),_0x433eb9(this,_0x418596(0x401),null),_0x433eb9(this,'_eventUnsubscribe',null),(this[_0x418596(0x299)]=_0x2b46f9,this[_0x418596(0x30a)]=_0x391ac2,this[_0x418596(0x390)]=_0x4e8d6e,this['_document']=_0x2ce35f,this[_0x418596(0x2a0)]());}set[_0x143723(0x36d)](_0x1ef1f2){const _0x4db1f5=_0x143723;_0x1ef1f2?(this[_0x4db1f5(0x2d6)]&&this[_0x4db1f5(0x2d6)][_0x4db1f5(0x385)](),this[_0x4db1f5(0x2c0)]&&this[_0x4db1f5(0x2c0)][_0x4db1f5(0x2ea)]()):(this[_0x4db1f5(0x2d6)]&&this[_0x4db1f5(0x2d6)]['show'](),this[_0x4db1f5(0x2c0)]&&this['_textBubble'][_0x4db1f5(0x385)]());}['dispose'](){const _0x1e29ae=_0x143723;for(const _0x401e0e of this['_shapes'])_0x401e0e[_0x1e29ae(0x3b4)]();this[_0x1e29ae(0x2c0)]&&this[_0x1e29ae(0x2c0)][_0x1e29ae(0x3b4)](),this[_0x1e29ae(0x2d6)]&&this[_0x1e29ae(0x2d6)][_0x1e29ae(0x3b4)](),this['_anchor']&&this['_anchor']['dispose'](),this[_0x1e29ae(0x2d3)]&&this[_0x1e29ae(0x2d3)]();}[_0x143723(0x2a0)](){const _0x40d754=_0x143723;var _0x280a3e;const {_docSkeleton:_0x3abe58,_document:_0x31f868}=this,{color:_0x4cc70f,name:_0x54a265,ranges:_0x4931f3}=this[_0x40d754(0x299)],_0x4a7ada=_0x31f868[_0x40d754(0x2ef)](),{docsLeft:_0x140fa6,docsTop:_0x416c83}=_0x4a7ada,_0x3e9e5b=new _0x97512c[(_0x40d754(0x1c1))](_0x4a7ada,_0x3abe58);for(const {startOffset:_0x5a2cbc,endOffset:_0xf69879,rangeType:_0x375e67,segmentId:_0x2ea5c5,segmentPage:_0x26a84e,collapsed:_0x19c9c8,isActive:_0x36e104}of _0x4931f3){const _0x4b595b=_0x3abe58[_0x40d754(0x31e)](_0x5a2cbc,!0x0,_0x2ea5c5,_0x26a84e);let _0x1fa0a1=_0x3abe58['findNodePositionByCharIndex'](_0xf69879,!0x0,_0x2ea5c5,_0x26a84e);if(_0x1fa0a1==null&&(_0x1fa0a1=_0x3abe58[_0x40d754(0x31e)](_0xf69879-0x1,!0x1,_0x2ea5c5,_0x26a84e)),_0x36e104){const {contentBoxPointGroup:_0x250fcd}=_0x3e9e5b[_0x40d754(0x1d2)](_0x1fa0a1,_0x1fa0a1);if(_0x250fcd[_0x40d754(0x370)]===0x0)continue;this[_0x40d754(0x1d5)](_0x4cc70f,_0x250fcd,_0x140fa6,_0x416c83,_0x54a265),this[_0x40d754(0x2d3)]=this[_0x40d754(0x304)]();}if(_0x4b595b&&_0x1fa0a1){if(_0x375e67===_0x112c8e[_0x40d754(0x353)][_0x40d754(0x3a8)]){const _0xae45e3=new _0x97512c['NodePositionConvertToRectRange'](_0x4a7ada,_0x3abe58),{pointGroup:_0x5715d3}=(_0x280a3e=_0xae45e3[_0x40d754(0x1d2)](_0x4b595b,_0x1fa0a1))!=null?_0x280a3e:{};if(_0x5715d3==null||_0x5715d3[_0x40d754(0x370)]===0x0)continue;this[_0x40d754(0x333)](_0x4cc70f,_0x5715d3,_0x140fa6,_0x416c83);}else{if(!_0x19c9c8){const {borderBoxPointGroup:_0x2100c5}=_0x3e9e5b[_0x40d754(0x1d2)](_0x4b595b,_0x1fa0a1);if(_0x2100c5['length']===0x0)continue;this['_drawTextRange'](_0x4cc70f,_0x2100c5,_0x140fa6,_0x416c83);}}}}}['_drawAnchor'](_0x13108e,_0x195c0e,_0xd9136b,_0xc69fc4,_0x5540a4){const _0x36cf52=_0x143723,_0x133191=this[_0x36cf52(0x367)](_0x195c0e),{left:_0x4c20b1,top:_0xbd10ac,height:_0x4e08af}=_0x133191,_0x10b027=this['_getScale'](),_0x1bea3b=_0x5b2f9e/_0x10b027,_0x6272fd=new _0x132069[(_0x36cf52(0x341))](_0x4bb131+_0x112c8e['Tools'][_0x36cf52(0x21d)](_0x1fda91),{'left':_0x4c20b1+_0xd9136b-_0x1bea3b,'top':_0xbd10ac+_0xc69fc4,'height':_0x4e08af,'width':_0x1d0b21,'fill':_0x13108e||_0x132069[_0x36cf52(0x282)](_0x112c8e[_0x36cf52(0x27e)][_0x36cf52(0x291)],0x0),'strokeWidth':_0x1bea3b,'stroke':_0x2c0cc9,'evented':!0x0});this['_anchor']=_0x6272fd,this[_0x36cf52(0x30a)][_0x36cf52(0x34a)](_0x6272fd,_0x97512c[_0x36cf52(0x3cc)]);const _0x1bbf51=new _0x132069[(_0x36cf52(0x341))](_0x4bb131+_0x112c8e[_0x36cf52(0x1bd)][_0x36cf52(0x21d)](_0x1fda91),{'left':_0x4c20b1+_0xd9136b-_0x1bea3b,'top':_0xbd10ac+_0xc69fc4-_0x39d9d5/0x2,'height':_0x39d9d5,'width':_0x39d9d5,'fill':_0x13108e||_0x132069[_0x36cf52(0x282)](_0x112c8e[_0x36cf52(0x27e)][_0x36cf52(0x291)],0x0),'strokeWidth':0x0,'stroke':_0x13108e||_0x132069[_0x36cf52(0x282)](_0x112c8e['COLORS'][_0x36cf52(0x291)],0x0),'evented':!0x1});this[_0x36cf52(0x2d6)]=_0x1bbf51,this[_0x36cf52(0x30a)][_0x36cf52(0x34a)](_0x1bbf51,_0x97512c[_0x36cf52(0x3cc)]);const _0x1c37c5=new _0x5b9021(_0x4bb131+_0x112c8e['Tools']['generateRandomId'](_0x1fda91),{'left':_0x4c20b1+_0xd9136b-_0x1bea3b,'top':_0xbd10ac+_0xc69fc4-_0x3ced61,'text':_0x5540a4,'color':_0x13108e});this[_0x36cf52(0x2c0)]=_0x1c37c5,this[_0x36cf52(0x30a)][_0x36cf52(0x34a)](_0x1c37c5,_0x97512c[_0x36cf52(0x3cc)]),this[_0x36cf52(0x36d)]=!0x1;}[_0x143723(0x304)](){const _0x1eb688=_0x143723,_0x292f74=this['_anchor'][_0x1eb688(0x1f9)][_0x1eb688(0x42a)](()=>{const _0x1d10e0=_0x1eb688;this[_0x1d10e0(0x36d)]=!0x0;}),_0x18c365=this[_0x1eb688(0x246)][_0x1eb688(0x3bb)]['subscribeEvent'](()=>{const _0x480195=_0x1eb688;this[_0x480195(0x401)]&&clearTimeout(this['_hideTimer']),this[_0x480195(0x401)]=setTimeout(()=>{const _0x8055fe=_0x480195;this[_0x8055fe(0x36d)]=!0x1;},0x7d0);});return()=>{const _0x3bc939=_0x1eb688;_0x292f74[_0x3bc939(0x2d8)](),_0x18c365[_0x3bc939(0x2d8)]();};}[_0x143723(0x23e)](_0x4cfc97,_0x3bee86,_0x37049c,_0x5e3f8f){const _0x3aa974=_0x143723,_0x441040=new _0x112c8e['ColorKit'](_0x4cfc97)[_0x3aa974(0x18b)](0.2)['toRgbString'](),_0x1a2447=new _0x132069['RegularPolygon'](_0x465dcf+_0x112c8e[_0x3aa974(0x1bd)][_0x3aa974(0x21d)](_0x1fda91),{'pointsGroup':_0x3bee86,'fill':_0x441040||_0x132069[_0x3aa974(0x282)](_0x112c8e[_0x3aa974(0x27e)][_0x3aa974(0x291)],0.2),'left':_0x37049c,'top':_0x5e3f8f,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x3aa974(0x204)][_0x3aa974(0x25c)](_0x1a2447),this[_0x3aa974(0x30a)][_0x3aa974(0x34a)](_0x1a2447,_0x97512c['TEXT_RANGE_LAYER_INDEX']);}[_0x143723(0x333)](_0x42fbb4,_0x575dad,_0x4631cb,_0x4a5af8){const _0x378077=_0x143723,_0x512e7c=new _0x112c8e[(_0x378077(0x2a4))](_0x42fbb4)[_0x378077(0x18b)](0.2)[_0x378077(0x2eb)](),_0x5b5342=new _0x132069[(_0x378077(0x3c9))](_0x152619+_0x112c8e[_0x378077(0x1bd)][_0x378077(0x21d)](_0x1fda91),{'pointsGroup':_0x575dad,'fill':_0x512e7c||_0x132069[_0x378077(0x282)](_0x112c8e[_0x378077(0x27e)][_0x378077(0x291)],0.2),'left':_0x4631cb,'top':_0x4a5af8,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x378077(0x204)][_0x378077(0x25c)](_0x5b5342),this[_0x378077(0x30a)][_0x378077(0x34a)](_0x5b5342,_0x97512c[_0x378077(0x3cc)]);}['_getAnchorBounding'](_0xe2d555){const _0x1c0431=_0xe2d555[0x0],_0x428cdc=_0x1c0431[0x0],_0x1dbc83=_0x1c0431[0x2],{x:_0x214d8c,y:_0x26fc93}=_0x428cdc,{x:_0x264b68,y:_0x163274}=_0x1dbc83;return{'left':_0x214d8c,'top':_0x26fc93,'width':_0x264b68-_0x214d8c,'height':_0x163274-_0x26fc93};}[_0x143723(0x20d)](){const _0x46d21d=_0x143723,{scaleX:_0x2f2973,scaleY:_0x27ceaa}=this[_0x46d21d(0x30a)][_0x46d21d(0x1ec)]();return Math[_0x46d21d(0x39a)](_0x2f2973,_0x27ceaa);}}var _0x28e12b=Object[_0x143723(0x3da)],_0x338788=(_0x496d49,_0x164181,_0x4d731b,_0xc22d)=>{for(var _0xcab4f1=_0xc22d>0x1?void 0x0:_0xc22d?_0x28e12b(_0x164181,_0x4d731b):_0x164181,_0x27fbd6=_0x496d49['length']-0x1,_0xa348c;_0x27fbd6>=0x0;_0x27fbd6--)(_0xa348c=_0x496d49[_0x27fbd6])&&(_0xcab4f1=_0xa348c(_0xcab4f1)||_0xcab4f1);return _0xcab4f1;},_0x264c7a=(_0x4c8027,_0x3c0f23)=>(_0x1ebdf5,_0x44a2f8)=>_0x3c0f23(_0x1ebdf5,_0x44a2f8,_0x4c8027);let _0x27f659=class extends _0x112c8e[_0x143723(0x3dc)]{constructor(_0x22de78,_0xc70591,_0x23431b,_0x52df55,_0x1e5e09){const _0x2b3e7f=_0x143723;super(),_0x433eb9(this,_0x2b3e7f(0x39c),[]),_0x433eb9(this,'_cursors',[]),(this[_0x2b3e7f(0x3df)]=_0x22de78,this['_docSkeletonManagerService']=_0xc70591,this[_0x2b3e7f(0x3a1)]=_0x23431b,this[_0x2b3e7f(0x23b)]=_0x52df55,this[_0x2b3e7f(0x2ec)]=_0x1e5e09,this[_0x2b3e7f(0x1a8)]());}['_init'](){const _0x303f9a=_0x143723,_0x428ed8=this[_0x303f9a(0x3df)][_0x303f9a(0x1ff)],_0x41b1fe=this['_docSkeletonManagerService'];this[_0x303f9a(0x194)](_0x265051[_0x303f9a(0x271)]([this['_collabCursorController'][_0x303f9a(0x1da)](_0x428ed8),this[_0x303f9a(0x2ec)]['currentTheme$']])['pipe'](_0x213256[_0x303f9a(0x2fb)](([_0xcd292a,_0x18136a])=>({'skeleton':_0x41b1fe[_0x303f9a(0x20f)](),'cursors':[..._0xcd292a[_0x303f9a(0x270)]()][_0x303f9a(0x20e)](_0x23c7b7=>({..._0x23c7b7,'color':this['_themeService'][_0x303f9a(0x27f)](_0x23c7b7['color'])}))})))[_0x303f9a(0x3e7)](_0x415a15=>{const _0x201294=_0x303f9a;if(this[_0x201294(0x3d8)](),_0x415a15){const {skeleton:_0x14506b,cursors:_0x68f9b4}=_0x415a15;this[_0x201294(0x3eb)](_0x14506b,_0x68f9b4);}})),this[_0x303f9a(0x27d)](),this['_initCommandExecutedListener']();}[_0x143723(0x3eb)](_0x3aba25,_0x386fa3){const _0x7c851a=_0x143723,{scene:_0xc11042,mainComponent:_0x2c8363}=this[_0x7c851a(0x3df)],_0x258d4c=_0x386fa3[_0x7c851a(0x2fb)](_0x47e0b3=>new _0x35c061(_0x47e0b3,_0xc11042,_0x3aba25,_0x2c8363));this[_0x7c851a(0x39c)]=_0x258d4c,this[_0x7c851a(0x238)]=_0x386fa3;}[_0x143723(0x34b)](){const _0xfe9c33=_0x143723;this[_0xfe9c33(0x3d8)]();const {scene:_0x4a82ee,mainComponent:_0x2f3ce2}=this[_0xfe9c33(0x3df)],_0x739d6a=this[_0xfe9c33(0x1d0)][_0xfe9c33(0x20f)](),_0x27e8b0=this[_0xfe9c33(0x238)]['map'](_0x49e717=>new _0x35c061(_0x49e717,_0x4a82ee,_0x739d6a,_0x2f3ce2));this[_0xfe9c33(0x39c)]=_0x27e8b0;}['_removeCollabCursors'](){const _0x592179=_0x143723;this['_cursorShapes'][_0x592179(0x363)](_0x1e2a26=>_0x1e2a26[_0x592179(0x3b4)]()),this[_0x592179(0x39c)]=[];}[_0x143723(0x1d4)](){const _0x22303=_0x143723,_0x17c78a=[_0x97512c[_0x22303(0x2e0)]['id']];this[_0x22303(0x194)](this[_0x22303(0x23b)]['onCommandExecuted'](_0x423aa3=>{const _0x58982b=_0x22303;_0x17c78a[_0x58982b(0x41b)](_0x423aa3['id'])&&_0x423aa3['params']['unitId']===this[_0x58982b(0x3df)][_0x58982b(0x1ff)]&&this[_0x58982b(0x34b)]();}));}['_initResize'](){const _0x37386e=_0x143723;this['disposeWithMe'](_0x112c8e[_0x37386e(0x1f3)](this[_0x37386e(0x3df)][_0x37386e(0x1fd)][_0x37386e(0x2c5)])['pipe'](_0x213256[_0x37386e(0x3ee)](_0x17d534=>_0x17d534[_0x37386e(0x288)]===_0x132069[_0x37386e(0x261)][_0x37386e(0x2b5)]),_0x213256[_0x37386e(0x3d5)](0x10))[_0x37386e(0x3e7)](()=>{const _0x2b5a09=_0x37386e;this[_0x2b5a09(0x34b)]();}));}};_0x27f659=_0x338788([_0x264c7a(0x1,_0x112c8e[_0x143723(0x33f)](_0x4723ff[_0x143723(0x27c)])),_0x264c7a(0x2,_0x112c8e[_0x143723(0x33f)](_0x599949)),_0x264c7a(0x3,_0x112c8e[_0x143723(0x348)]),_0x264c7a(0x4,_0x112c8e['Inject'](_0x112c8e[_0x143723(0x39f)]))],_0x27f659);const _0x21b78b=0x1,_0x825c9d=1.5;class _0x484a96 extends _0x132069[_0x143723(0x294)]{constructor(_0xdf6066,_0x3eac7e){const _0x14f25f=_0x143723;super(_0xdf6066,_0x3eac7e),_0x433eb9(this,_0x14f25f(0x30b)),_0x433eb9(this,'_hovered',!0x1),_0x433eb9(this,_0x14f25f(0x1d8)),_0x433eb9(this,_0x14f25f(0x1e7),''),_0x433eb9(this,_0x14f25f(0x2b4),'top'),_0x433eb9(this,'_backgroundColor'),(_0x3eac7e&&this[_0x14f25f(0x3b6)](_0x3eac7e),this[_0x14f25f(0x1f9)]['subscribeEvent'](()=>this[_0x14f25f(0x3b6)]({'hovered':!0x0})),this['onPointerLeave$'][_0x14f25f(0x42a)](()=>this[_0x14f25f(0x3b6)]({'hovered':!0x1})));}[_0x143723(0x3b6)](_0x49767e){const _0x56ee5e=_0x143723;var _0x233ced,_0x587085,_0x590d0d,_0x5024bf,_0x4055c4,_0x16c509;this[_0x56ee5e(0x30b)]=(_0x233ced=_0x49767e['color'])!=null?_0x233ced:this[_0x56ee5e(0x30b)],this[_0x56ee5e(0x3d6)]=(_0x587085=_0x49767e['hovered'])!=null?_0x587085:this[_0x56ee5e(0x3d6)],this[_0x56ee5e(0x1d8)]=(_0x590d0d=_0x49767e[_0x56ee5e(0x202)])!=null?_0x590d0d:this[_0x56ee5e(0x1d8)],this['_name']=(_0x5024bf=_0x49767e[_0x56ee5e(0x267)])!=null?_0x5024bf:this[_0x56ee5e(0x1e7)],this[_0x56ee5e(0x2b4)]=(_0x4055c4=_0x49767e['labelPosition'])!=null?_0x4055c4:this[_0x56ee5e(0x2b4)],this[_0x56ee5e(0x3e3)]=(_0x16c509=_0x49767e[_0x56ee5e(0x330)])!=null?_0x16c509:this[_0x56ee5e(0x3e3)],this[_0x56ee5e(0x2a3)]({'width':_0x49767e[_0x56ee5e(0x257)],'height':_0x49767e[_0x56ee5e(0x416)]});}[_0x143723(0x3f3)](_0x202e9e){const _0x5e1a06=_0x143723,{row:_0x4be96a,column:_0x4e4d68}=_0x202e9e;if(_0x4be96a>=this['_range'][_0x5e1a06(0x281)]&&_0x4be96a<=this[_0x5e1a06(0x1d8)][_0x5e1a06(0x196)]&&_0x4e4d68>=this[_0x5e1a06(0x1d8)][_0x5e1a06(0x28a)]&&_0x4e4d68<=this[_0x5e1a06(0x1d8)][_0x5e1a06(0x214)]){this[_0x5e1a06(0x3b6)]({'hovered':!0x0});return;}this[_0x5e1a06(0x3b6)]({'hovered':!0x1});}[_0x143723(0x427)](_0x2806b2){return!0x1;}[_0x143723(0x2dd)](_0x453326){const _0x2e1152=_0x143723;_0x132069[_0x2e1152(0x341)][_0x2e1152(0x2f5)](_0x453326,{'width':this['width'],'height':this['height'],'strokeWidth':_0x825c9d,'stroke':this[_0x2e1152(0x30b)],'evented':!0x1,'fill':this[_0x2e1152(0x3e3)]}),this[_0x2e1152(0x3d6)]&&(_0x453326['save'](),_0x453326[_0x2e1152(0x2a9)](0x1,0x0,0x0,0x1,this[_0x2e1152(0x257)],this[_0x2e1152(0x2b4)]===_0x2e1152(0x263)?0x0:-0x14),_0x5b9021[_0x2e1152(0x2f5)](_0x453326,{'text':this[_0x2e1152(0x1e7)],'color':this['_color']}),_0x453326[_0x2e1152(0x42e)]());}}var _0xc10b72=Object[_0x143723(0x3da)],_0x141d63=(_0x586ed8,_0x225eff,_0x3c40d8,_0x1b17b3)=>{for(var _0x3b049b=_0x1b17b3>0x1?void 0x0:_0x1b17b3?_0xc10b72(_0x225eff,_0x3c40d8):_0x225eff,_0xb93a75=_0x586ed8['length']-0x1,_0x304b39;_0xb93a75>=0x0;_0xb93a75--)(_0x304b39=_0x586ed8[_0xb93a75])&&(_0x3b049b=_0x304b39(_0x3b049b)||_0x3b049b);return _0x3b049b;},_0x28b3d0=(_0x47da13,_0x5bcc01)=>(_0x50a38b,_0x580eb0)=>_0x5bcc01(_0x50a38b,_0x580eb0,_0x47da13);const _0x3c060b=0x1389;let _0x409b6a=class extends _0x112c8e[_0x143723(0x3dc)]{constructor(_0x13dcf1,_0x2824a7,_0x477c1f,_0x4a510e){const _0x34ccc6=_0x143723;super(),_0x433eb9(this,_0x34ccc6(0x238),new Set()),_0x433eb9(this,'_lastPointer',null),(this[_0x34ccc6(0x3df)]=_0x13dcf1,this[_0x34ccc6(0x21a)]=_0x2824a7,this[_0x34ccc6(0x3a1)]=_0x477c1f,this['_themeService']=_0x4a510e,this[_0x34ccc6(0x1a8)]());}[_0x143723(0x1a8)](){const _0x356745=_0x143723;this[_0x356745(0x21a)][_0x356745(0x3cd)][_0x356745(0x2d0)](_0x213256['takeUntil'](this[_0x356745(0x41a)]),_0x213256[_0x356745(0x32c)](_0x539aff=>{const _0x1dae7f=_0x356745;if(_0x539aff){const _0x378a4d=_0x539aff[_0x1dae7f(0x39e)];return _0x265051[_0x1dae7f(0x271)](this[_0x1dae7f(0x3a1)][_0x1dae7f(0x1da)](this[_0x1dae7f(0x3df)][_0x1dae7f(0x1ff)]),this['_themeService'][_0x1dae7f(0x2ff)])[_0x1dae7f(0x2d0)](_0x213256[_0x1dae7f(0x2fb)](([_0x5b9995,_0x41c930])=>{const _0x263a7c=new Map();return _0x5b9995['forEach']((_0x41b5a3,_0x352e9c)=>{const _0x4c39c3=_0x2ab6;if(_0x41b5a3[_0x4c39c3(0x23c)]===_0x378a4d){const _0x6e8552={..._0x41b5a3};_0x6e8552[_0x4c39c3(0x376)]=this[_0x4c39c3(0x2ec)][_0x4c39c3(0x27f)](_0x41b5a3['color']),_0x263a7c[_0x4c39c3(0x327)](_0x352e9c,_0x6e8552);}}),{'skeleton':_0x539aff,'cursors':_0x263a7c};}));}return _0x265051['of']({'skeleton':null,'cursors':new Map()});}))['subscribe'](({skeleton:_0x58ca2a,cursors:_0x2e79c3})=>{const _0x1da2d3=_0x356745;this['_removeCollabCursors'](),_0x58ca2a&&this[_0x1da2d3(0x3eb)](_0x58ca2a,_0x2e79c3);}),this['_sheetSkeletonManagerService'][_0x356745(0x3cd)][_0x356745(0x3e7)](_0x445ec4=>{const _0x503415=_0x356745;if(_0x445ec4==null)return;const {skeleton:_0x30b058}=_0x445ec4,{scene:_0xb52bd0}=this[_0x503415(0x3df)];_0xb52bd0[_0x503415(0x3de)][_0x503415(0x42a)](_0x112c8e[_0x503415(0x3f6)](_0x5a635c=>{const _0x51ccf1=_0x503415;var _0x1b2cff,_0x1cb0da;const {offsetX:_0x53e033,offsetY:_0x40ecbb}=_0x5a635c,{x:_0x39045d,y:_0x558c6d}=_0xb52bd0[_0x51ccf1(0x2bf)](_0x132069['Vector2'][_0x51ccf1(0x1b2)]([_0x53e033,_0x40ecbb])),{scaleX:_0x5ef6ff,scaleY:_0x1d4962}=_0xb52bd0[_0x51ccf1(0x1ec)](),_0x59790e=_0xb52bd0[_0x51ccf1(0x420)](_0x132069[_0x51ccf1(0x213)]['VIEW_MAIN']),_0x49b140=_0xb52bd0['getVpScrollXYInfoByPosToVp'](_0x132069[_0x51ccf1(0x39b)][_0x51ccf1(0x1b2)]([_0x39045d,_0x558c6d]),_0x59790e),_0xc44941=_0x30b058[_0x51ccf1(0x318)](_0x53e033,_0x40ecbb,_0x5ef6ff,_0x1d4962,_0x49b140);((_0x1b2cff=this[_0x51ccf1(0x24b)])==null?void 0x0:_0x1b2cff[_0x51ccf1(0x389)])===_0xc44941[_0x51ccf1(0x389)]&&((_0x1cb0da=this['_lastPointer'])==null?void 0x0:_0x1cb0da[_0x51ccf1(0x2f4)])===_0xc44941['row']||this[_0x51ccf1(0x238)][_0x51ccf1(0x363)](_0x10417b=>{const _0x2d9bb6=_0x51ccf1;_0x10417b[_0x2d9bb6(0x3f3)](_0xc44941);});},0x64));});}[_0x143723(0x3eb)](_0x3f22b6,_0x4b0f0e){const _0x1346fa=_0x143723;var _0x3a3923;const _0x33417c=(_0x3a3923=this[_0x1346fa(0x21a)][_0x1346fa(0x1ef)]())==null?void 0x0:_0x3a3923[_0x1346fa(0x34f)];if(!_0x33417c)return;const _0x279533=this[_0x1346fa(0x240)]();if(!_0x279533)return;this['_cursors'][_0x1346fa(0x363)](_0x8ae790=>{_0x8ae790['makeDirty']();});const {scene:_0xd603c7}=_0x279533,_0x3b2633=_0x2b18f8(Array[_0x1346fa(0x253)](_0x4b0f0e[_0x1346fa(0x270)]()))['map'](_0x3b1eba=>{const _0x12fdc1=_0x1346fa,{color:_0x59cd53,range:_0x42c799,name:_0x16f46f,selection:_0x2538cb,sheetID:_0x5114ca}=_0x3b1eba,{startColumn:_0x1ca9d4,startRow:_0x296210,endColumn:_0xec012d,endRow:_0x29ad9d}=_0x42c799,_0x40fb02=_0x486af5['getCoordByCell'](_0x296210,_0x1ca9d4,_0xd603c7,_0x33417c),_0x48e1a5=_0x486af5[_0x12fdc1(0x391)](_0x29ad9d,_0xec012d,_0xd603c7,_0x33417c),{columnHeaderHeightAndMarginTop:_0x18424c}=_0x33417c,{startX:_0x3aac56,startY:_0x2e4c10}=_0x40fb02,{endX:_0x1bf208,endY:_0x14c609}=_0x48e1a5,_0x38f8a1=_0x1bf208-_0x3aac56,_0x4f40c9=_0x14c609-_0x2e4c10,_0x120e6a={'labelPosition':_0x2e4c10-_0x18424c>=_0x3ced61?_0x12fdc1(0x371):'bottom','sheetID':_0x5114ca,'range':_0x42c799,'color':_0x59cd53,'name':_0x16f46f,'selection':_0x2538cb,'left':_0x3aac56,'top':_0x2e4c10,'width':_0x38f8a1,'height':_0x4f40c9,'evented':!0x1,'zIndex':_0x3c060b};return new _0x484a96(_0x16f46f,_0x120e6a);});_0xd603c7[_0x1346fa(0x335)](_0x3b2633,_0x21b78b),this['_cursors']=new Set(_0x3b2633);}[_0x143723(0x3d8)](){const _0x3c3136=_0x143723;var _0x247146;(_0x247146=this[_0x3c3136(0x238)])==null||_0x247146[_0x3c3136(0x363)](_0x3aa577=>_0x3aa577[_0x3c3136(0x3b4)]());}[_0x143723(0x240)](){const _0x371f3d=_0x143723;return _0x486af5[_0x371f3d(0x252)](this['_context'][_0x371f3d(0x316)],this[_0x371f3d(0x3df)]);}};_0x409b6a=_0x141d63([_0x28b3d0(0x1,_0x112c8e[_0x143723(0x33f)](_0x486af5[_0x143723(0x2d2)])),_0x28b3d0(0x2,_0x112c8e['Inject'](_0x599949)),_0x28b3d0(0x3,_0x112c8e[_0x143723(0x33f)](_0x112c8e[_0x143723(0x39f)]))],_0x409b6a);function _0x2b18f8(_0x12463f){const _0x23646a=_0x143723,_0x4f2c97=new Map();return _0x12463f[_0x23646a(0x363)](_0x42f0d4=>{const _0x5ddaf4=_0x23646a;if(_0x4f2c97[_0x5ddaf4(0x2ac)](_0x42f0d4[_0x5ddaf4(0x24d)])){const _0x50f211=_0x4f2c97[_0x5ddaf4(0x292)](_0x42f0d4[_0x5ddaf4(0x24d)]);_0x50f211[_0x5ddaf4(0x267)]+=',\x20'+_0x42f0d4['name'];}else _0x4f2c97[_0x5ddaf4(0x327)](_0x42f0d4[_0x5ddaf4(0x24d)],_0x42f0d4);}),Array[_0x23646a(0x253)](_0x4f2c97[_0x23646a(0x270)]());}var _0x4668d3=function(){const _0x45650f=_0x143723;return _0x4668d3=Object[_0x45650f(0x208)]||function(_0x336b09){const _0x5ab94d=_0x45650f;for(var _0x47dc72,_0x376d98=0x1,_0x29be64=arguments[_0x5ab94d(0x370)];_0x376d98<_0x29be64;_0x376d98++){_0x47dc72=arguments[_0x376d98];for(var _0x8120bf in _0x47dc72)Object[_0x5ab94d(0x329)][_0x5ab94d(0x2ab)]['call'](_0x47dc72,_0x8120bf)&&(_0x336b09[_0x8120bf]=_0x47dc72[_0x8120bf]);}return _0x336b09;},_0x4668d3[_0x45650f(0x360)](this,arguments);},_0x524820=function(_0x240807,_0x426634){const _0x26276a=_0x143723;var _0x3da2af={};for(var _0x3cc6fc in _0x240807)Object[_0x26276a(0x329)][_0x26276a(0x2ab)][_0x26276a(0x405)](_0x240807,_0x3cc6fc)&&_0x426634[_0x26276a(0x321)](_0x3cc6fc)<0x0&&(_0x3da2af[_0x3cc6fc]=_0x240807[_0x3cc6fc]);if(_0x240807!=null&&typeof Object[_0x26276a(0x247)]==_0x26276a(0x400)){for(var _0x3ea17b=0x0,_0x3cc6fc=Object[_0x26276a(0x247)](_0x240807);_0x3ea17b<_0x3cc6fc[_0x26276a(0x370)];_0x3ea17b++)_0x426634[_0x26276a(0x321)](_0x3cc6fc[_0x3ea17b])<0x0&&Object[_0x26276a(0x329)][_0x26276a(0x35e)][_0x26276a(0x405)](_0x240807,_0x3cc6fc[_0x3ea17b])&&(_0x3da2af[_0x3cc6fc[_0x3ea17b]]=_0x240807[_0x3cc6fc[_0x3ea17b]]);}return _0x3da2af;},_0x1b0948=_0x49fe71['forwardRef'](function(_0x38a71e,_0x10a991){const _0x20b802=_0x143723;var _0x3e2036=_0x38a71e[_0x20b802(0x313)],_0x19e169=_0x38a71e['id'],_0x2907f1=_0x38a71e[_0x20b802(0x248)],_0x5950e1=_0x38a71e['extend'],_0x568cf9=_0x524820(_0x38a71e,['icon','id',_0x20b802(0x248),_0x20b802(0x269)]),_0x1e61e3='univerjs-icon\x20univerjs-icon-'[_0x20b802(0x21f)](_0x19e169,'\x20')['concat'](_0x2907f1||'')[_0x20b802(0x3f1)](),_0x3f51dc=_0x49fe71[_0x20b802(0x303)]('_'[_0x20b802(0x21f)](_0x3ec13a()));return _0x53582e(_0x3e2036,''['concat'](_0x19e169),{'defIds':_0x3e2036[_0x20b802(0x239)],'idSuffix':_0x3f51dc[_0x20b802(0x262)]},_0x4668d3({'ref':_0x10a991,'className':_0x1e61e3},_0x568cf9),_0x5950e1);});function _0x53582e(_0x592f6b,_0x49b4d5,_0x37a698,_0x45b634,_0x4b3cb5){const _0x3b99e2=_0x143723;return _0x49fe71[_0x3b99e2(0x38b)](_0x592f6b[_0x3b99e2(0x217)],_0x4668d3(_0x4668d3({'key':_0x49b4d5},_0x548244(_0x592f6b,_0x37a698,_0x4b3cb5)),_0x45b634),(_0x55ec91(_0x592f6b,_0x37a698)[_0x3b99e2(0x31f)]||[])[_0x3b99e2(0x2fb)](function(_0x2d3201,_0x14dd50){const _0x42ba65=_0x3b99e2;return _0x53582e(_0x2d3201,''['concat'](_0x49b4d5,'-')[_0x42ba65(0x21f)](_0x592f6b[_0x42ba65(0x217)],'-')['concat'](_0x14dd50),_0x37a698,void 0x0,_0x4b3cb5);}));}function _0x548244(_0x20c8bf,_0x1185dd,_0x4d007e){const _0x2c1669=_0x143723;var _0x45d659=_0x4668d3({},_0x20c8bf[_0x2c1669(0x242)]);_0x4d007e!=null&&_0x4d007e[_0x2c1669(0x2b3)]&&_0x45d659[_0x2c1669(0x20b)]===_0x2c1669(0x2b3)&&(_0x45d659['fill']=_0x4d007e['colorChannel1']),_0x20c8bf[_0x2c1669(0x217)]===_0x2c1669(0x3db)&&_0x45d659['id']&&(_0x45d659['id']=_0x45d659['id']+_0x1185dd['idSuffix']),Object['entries'](_0x45d659)[_0x2c1669(0x363)](function(_0x177486){const _0x4e3f74=_0x2c1669;var _0x25f034=_0x177486[0x0],_0x19a9bf=_0x177486[0x1];_0x25f034===_0x4e3f74(0x3db)&&typeof _0x19a9bf==_0x4e3f74(0x205)&&(_0x45d659[_0x25f034]=_0x19a9bf[_0x4e3f74(0x237)](/url\(#(.*)\)/,_0x4e3f74(0x315)[_0x4e3f74(0x21f)](_0x1185dd[_0x4e3f74(0x1b1)],')')));});var _0x8725ab=_0x1185dd[_0x2c1669(0x239)];return!_0x8725ab||_0x8725ab[_0x2c1669(0x370)]===0x0||(_0x20c8bf[_0x2c1669(0x217)]===_0x2c1669(0x3a0)&&_0x45d659[_0x2c1669(0x417)]&&(_0x45d659[_0x2c1669(0x417)]=_0x45d659[_0x2c1669(0x417)]+_0x1185dd[_0x2c1669(0x1b1)]),Object[_0x2c1669(0x2df)](_0x45d659)[_0x2c1669(0x363)](function(_0x2a5d2f){const _0x5e6f59=_0x2c1669;var _0x474eaf=_0x2a5d2f[0x0],_0x2d3ab4=_0x2a5d2f[0x1];typeof _0x2d3ab4==_0x5e6f59(0x205)&&(_0x45d659[_0x474eaf]=_0x2d3ab4['replace'](/url\(#(.*)\)/,_0x5e6f59(0x315)[_0x5e6f59(0x21f)](_0x1185dd[_0x5e6f59(0x1b1)],')')));})),_0x45d659;}function _0x55ec91(_0x3d7b78,_0x69896d){const _0x21289=_0x143723;var _0x414b57,_0x287978=_0x69896d[_0x21289(0x239)];return!_0x287978||_0x287978[_0x21289(0x370)]===0x0?_0x3d7b78:_0x3d7b78[_0x21289(0x217)]===_0x21289(0x2b9)&&(!((_0x414b57=_0x3d7b78[_0x21289(0x31f)])===null||_0x414b57===void 0x0)&&_0x414b57[_0x21289(0x370)])?_0x4668d3(_0x4668d3({},_0x3d7b78),{'children':_0x3d7b78[_0x21289(0x31f)][_0x21289(0x2fb)](function(_0x19fb35){const _0x23b602=_0x21289;return typeof _0x19fb35[_0x23b602(0x242)]['id']==_0x23b602(0x205)&&_0x287978&&_0x287978[_0x23b602(0x321)](_0x19fb35['attrs']['id'])>-0x1?_0x4668d3(_0x4668d3({},_0x19fb35),{'attrs':_0x4668d3(_0x4668d3({},_0x19fb35[_0x23b602(0x242)]),{'id':_0x19fb35[_0x23b602(0x242)]['id']+_0x69896d['idSuffix']})}):_0x19fb35;})}):_0x3d7b78;}function _0x3ec13a(){const _0x185e33=_0x143723;return Math['random']()[_0x185e33(0x2da)](0x24)[_0x185e33(0x2a6)](0x2,0x8);}_0x1b0948[_0x143723(0x3ed)]='UniverIcon';var _0x3e7d47={'tag':_0x143723(0x1f0),'attrs':{'fill':_0x143723(0x30c),'viewBox':_0x143723(0x309),'width':_0x143723(0x190),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x143723(0x1a9)},'children':[{'tag':_0x143723(0x23a),'attrs':{'stroke':_0x143723(0x3b8),'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':_0x143723(0x2ae),'strokeLinejoin':_0x143723(0x2ae),'strokeWidth':1.2}}]},{'tag':_0x143723(0x2b9),'attrs':{},'children':[{'tag':_0x143723(0x362),'attrs':{'id':_0x143723(0x3c1)},'children':[{'tag':'path','attrs':{'fill':'#fff','d':_0x143723(0x38c)}}]}]}],'defIds':[_0x143723(0x3c1)]},_0x434795=_0x49fe71['forwardRef'](function(_0x2b2441,_0x526e23){return _0x49fe71['createElement'](_0x1b0948,Object['assign']({},_0x2b2441,{'id':'off-line-single','ref':_0x526e23,'icon':_0x3e7d47}));});_0x434795['displayName']=_0x143723(0x1f5);var _0x20163f={'tag':_0x143723(0x1f0),'attrs':{'fill':'none','viewBox':_0x143723(0x336),'width':_0x143723(0x190),'height':_0x143723(0x190)},'children':[{'tag':'g','attrs':{'clipPath':_0x143723(0x19a)},'children':[{'tag':'path','attrs':{'stroke':'currentColor','d':_0x143723(0x3ae),'strokeLinecap':'round','strokeLinejoin':'round','strokeWidth':1.2}}]},{'tag':_0x143723(0x2b9),'attrs':{},'children':[{'tag':_0x143723(0x362),'attrs':{'id':_0x143723(0x325)},'children':[{'tag':_0x143723(0x23a),'attrs':{'fill':_0x143723(0x394),'d':'M0\x200H16V16H0z','transform':'translate(.97)'}}]}]}],'defIds':[_0x143723(0x325)]},_0x367f84=_0x49fe71[_0x143723(0x355)](function(_0x375938,_0x126fbf){const _0x4dc5b1=_0x143723;return _0x49fe71[_0x4dc5b1(0x38b)](_0x1b0948,Object[_0x4dc5b1(0x208)]({},_0x375938,{'id':_0x4dc5b1(0x1e5),'ref':_0x126fbf,'icon':_0x20163f}));});_0x367f84[_0x143723(0x3ed)]=_0x143723(0x3c2);function _0xf9394b(_0x5e8203){const _0x45bf24=_0x143723;switch(_0x5e8203){case _0x2137d8['CollaborationStatus'][_0x45bf24(0x42c)]:return _0x45bf24(0x368);case _0x2137d8[_0x45bf24(0x403)][_0x45bf24(0x287)]:return _0x45bf24(0x189);case _0x2137d8[_0x45bf24(0x403)][_0x45bf24(0x29c)]:return'collabStatus.fetchMiss';case _0x2137d8[_0x45bf24(0x403)][_0x45bf24(0x22f)]:return _0x45bf24(0x21b);case _0x2137d8[_0x45bf24(0x403)][_0x45bf24(0x23d)]:case _0x2137d8[_0x45bf24(0x403)]['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x2137d8[_0x45bf24(0x403)]['SYNCED']:case _0x2137d8['CollaborationStatus'][_0x45bf24(0x1dc)]:return _0x45bf24(0x2db);}}function _0x25d1fc(_0x238cc9){const _0x46ea7a=_0x143723,{status$:_0x1f40ae}=_0x238cc9,_0x2274f3=_0x4d7442[_0x46ea7a(0x322)](_0x1f40ae,_0x2137d8[_0x46ea7a(0x403)][_0x46ea7a(0x22f)]),_0x32b8b8=_0x4d7442['useDependency'](_0x112c8e[_0x46ea7a(0x277)]),_0x1a3ae=_0x4d7442[_0x46ea7a(0x2cf)](_0x2137d8[_0x46ea7a(0x3a9)]),_0x259d2f=_0x2274f3!==_0x2137d8['CollaborationStatus']['OFFLINE'],_0x423aea=_0x32b8b8['t'](_0xf9394b(_0x2274f3)),_0x15f195=_0x259d2f?_0xc87f89[_0x46ea7a(0x3e1)](_0x367f84,{}):_0xc87f89[_0x46ea7a(0x3e1)](_0x434795,{}),_0x49d14e=_0x49fe71['useCallback'](()=>{const _0x55080d=_0x46ea7a;_0x259d2f||_0x1a3ae[_0x55080d(0x1c8)]();},[_0x259d2f,_0x1a3ae]);function _0x757343(){const _0x556d1e=_0x46ea7a;return _0xc87f89[_0x556d1e(0x3f5)](_0x556d1e(0x1b8),{'className':_0x556d1e(0x27a),'onClick':_0x49d14e,'children':[_0xc87f89[_0x556d1e(0x3e1)]('div',{'className':_0x37921f[_0x556d1e(0x3ff)](_0x556d1e(0x3c3),{'univer-text-green-500':_0x259d2f,'univer-text-red-500':!_0x259d2f}),'children':_0x15f195}),_0xc87f89[_0x556d1e(0x3e1)]('div',{'className':_0x556d1e(0x308),'children':_0x423aea})]});}return _0x259d2f?_0x757343():_0xc87f89['jsx'](_0x37921f[_0x46ea7a(0x1af)],{'title':_0x32b8b8['t'](_0x46ea7a(0x305)),'children':_0x757343()});}var _0x3bd4f3=Object[_0x143723(0x3da)],_0x69444a=(_0x3ddbd3,_0x4ec3a3,_0x512ac2,_0x556257)=>{const _0x4c71b7=_0x143723;for(var _0x2b7093=_0x556257>0x1?void 0x0:_0x556257?_0x3bd4f3(_0x4ec3a3,_0x512ac2):_0x4ec3a3,_0x15ef59=_0x3ddbd3[_0x4c71b7(0x370)]-0x1,_0x24dd99;_0x15ef59>=0x0;_0x15ef59--)(_0x24dd99=_0x3ddbd3[_0x15ef59])&&(_0x2b7093=_0x24dd99(_0x2b7093)||_0x2b7093);return _0x2b7093;},_0x24d633=(_0x514a94,_0x5e18fe)=>(_0x3c48e3,_0x32a12c)=>_0x5e18fe(_0x3c48e3,_0x32a12c,_0x514a94);_0x39c320[_0x143723(0x225)]=class extends _0x112c8e[_0x143723(0x357)]{constructor(_0x35ae37,_0x4fb96f,_0x2d4a71,_0x32dd24){const _0x4427fd=_0x143723;super(),_0x433eb9(this,'_status$',new _0x265051[(_0x4427fd(0x255))](_0x2137d8[_0x4427fd(0x403)][_0x4427fd(0x22f)])),(this['_univerInstanceService']=_0x35ae37,this[_0x4427fd(0x22d)]=_0x4fb96f,this[_0x4427fd(0x254)]=_0x2d4a71,this[_0x4427fd(0x32f)]=_0x32dd24,this[_0x4427fd(0x383)](),this['_initStatusListener']());}[_0x143723(0x40e)](){const _0xb643da=_0x143723;this[_0xb643da(0x194)](this[_0xb643da(0x22a)][_0xb643da(0x3a3)]['pipe'](_0x265051[_0xb643da(0x32c)](()=>{const _0x549368=_0xb643da,_0x458a1d=this[_0x549368(0x22a)][_0x549368(0x2f0)]();return _0x458a1d?this[_0x549368(0x254)][_0x549368(0x19c)](_0x458a1d['getUnitId']()):_0x265051['of'](null);}),_0x265051[_0xb643da(0x32c)](_0x2cc63e=>_0x2cc63e?_0x2cc63e['status$']:_0x265051['of'](_0x2137d8[_0xb643da(0x403)][_0xb643da(0x22f)])))[_0xb643da(0x3e7)](_0x405f55=>{const _0x23d80d=_0xb643da;this[_0x23d80d(0x393)]['next'](_0x405f55);}));}[_0x143723(0x383)](){const _0x2c1f20=_0x143723;this['disposeWithMe'](this[_0x2c1f20(0x32f)][_0x2c1f20(0x231)](_0x4d7442[_0x2c1f20(0x222)]['HEADER_MENU'],()=>_0x4d7442[_0x2c1f20(0x19d)](_0x15749d({'status$':this[_0x2c1f20(0x393)][_0x2c1f20(0x251)]()}),this['_injector'])));}},_0x39c320[_0x143723(0x225)]=_0x69444a([_0x24d633(0x0,_0x112c8e[_0x143723(0x1f7)]),_0x24d633(0x1,_0x112c8e[_0x143723(0x33f)](_0x112c8e[_0x143723(0x1a0)])),_0x24d633(0x2,_0x112c8e[_0x143723(0x33f)](_0x2137d8[_0x143723(0x290)])),_0x24d633(0x3,_0x4d7442[_0x143723(0x3fd)])],_0x39c320['DesktopCollaborationStatusDisplayController']);function _0x15749d(_0x4e822c){const {status$:_0x4378d3}=_0x4e822c;return function(){const _0x2f8bba=_0x2ab6;return _0xc87f89[_0x2f8bba(0x3e1)](_0x25d1fc,{'status$':_0x4378d3});};}var _0x903163=Object[_0x143723(0x3da)],_0x16a953=(_0x30292a,_0x568a72,_0x509d15,_0x354f47)=>{const _0x5133b3=_0x143723;for(var _0x43db1d=_0x354f47>0x1?void 0x0:_0x354f47?_0x903163(_0x568a72,_0x509d15):_0x568a72,_0xcf4ebc=_0x30292a[_0x5133b3(0x370)]-0x1,_0x3a1400;_0xcf4ebc>=0x0;_0xcf4ebc--)(_0x3a1400=_0x30292a[_0xcf4ebc])&&(_0x43db1d=_0x3a1400(_0x43db1d)||_0x43db1d);return _0x43db1d;},_0xac5700=(_0x25348a,_0x190a3c)=>(_0x31a791,_0x31833a)=>_0x190a3c(_0x31a791,_0x31833a,_0x25348a);let _0x344a9c=class extends _0x112c8e[_0x143723(0x357)]{constructor(_0x6eedbe,_0xe740f6,_0x161a39,_0x3a6116,_0x3b8f96,_0x2b39c1){const _0x553196=_0x143723;super(),this['_beforeCloseService']=_0x6eedbe,this[_0x553196(0x20c)]=_0xe740f6,this[_0x553196(0x3e9)]=_0x161a39,this[_0x553196(0x350)]=_0x3a6116,this[_0x553196(0x1e1)]=_0x3b8f96,this[_0x553196(0x2c9)]=_0x2b39c1,this['_setupBeforeClosingHandler'](),this[_0x553196(0x3ea)]();}[_0x143723(0x2b7)](){const _0x105e6f=_0x143723;this[_0x105e6f(0x194)](this[_0x105e6f(0x3a6)][_0x105e6f(0x241)](()=>{const _0x386ccf=_0x105e6f;if(this[_0x386ccf(0x20c)][_0x386ccf(0x338)][_0x386ccf(0x24c)])return this[_0x386ccf(0x2c9)]['t'](_0x386ccf(0x425));}));}[_0x143723(0x3ea)](){const _0x1abff6=_0x143723;this[_0x1abff6(0x194)](this[_0x1abff6(0x3e9)][_0x1abff6(0x1ab)][_0x1abff6(0x3e7)](_0x3e9333=>{const _0x1fed4d=_0x1abff6;_0x3e9333['id']===_0x2137d8[_0x1fed4d(0x24e)][_0x1fed4d(0x26a)]&&this[_0x1fed4d(0x350)][_0x1fed4d(0x2ea)]({'type':_0x37921f[_0x1fed4d(0x2a1)][_0x1fed4d(0x212)],'content':this[_0x1fed4d(0x2c9)]['t'](_0x1fed4d(0x31d))}),_0x3e9333['id']===_0x2137d8['CollaborationUIEventId']['CLOSE_ROOM']&&this[_0x1fed4d(0x350)]['show']({'type':_0x37921f['MessageType']['Warning'],'content':this[_0x1fed4d(0x2c9)]['t'](_0x1fed4d(0x3af))}),_0x3e9333['id']===_0x2137d8[_0x1fed4d(0x24e)][_0x1fed4d(0x384)]&&this['_notificationService'][_0x1fed4d(0x2ea)]({'title':this[_0x1fed4d(0x2c9)]['t'](_0x1fed4d(0x3c8)),'content':this[_0x1fed4d(0x2c9)]['t']('permission.content'),'type':_0x1fed4d(0x3aa),'duration':0x0}),_0x3e9333['id']===_0x2137d8[_0x1fed4d(0x24e)][_0x1fed4d(0x287)]&&this[_0x1fed4d(0x350)][_0x1fed4d(0x2ea)]({'type':_0x37921f[_0x1fed4d(0x2a1)][_0x1fed4d(0x404)],'content':this['_localeService']['t']('collaboration.closeRoom')+'('+_0x3e9333['data']+')'}),_0x3e9333['id']===_0x2137d8['CollaborationUIEventId'][_0x1fed4d(0x1a1)]&&this[_0x1fed4d(0x350)][_0x1fed4d(0x2ea)]({'type':_0x37921f[_0x1fed4d(0x2a1)][_0x1fed4d(0x212)],'content':this[_0x1fed4d(0x2c9)]['t'](_0x3e9333[_0x1fed4d(0x301)]||'')}),_0x3e9333['id']===_0x2137d8[_0x1fed4d(0x24e)][_0x1fed4d(0x23f)]&&this[_0x1fed4d(0x350)]['show']({'type':_0x37921f[_0x1fed4d(0x2a1)][_0x1fed4d(0x212)],'content':this['_localeService']['t'](_0x1fed4d(0x30e))}),_0x3e9333['id']===_0x2137d8['CollaborationUIEventId'][_0x1fed4d(0x1b9)]&&this[_0x1fed4d(0x350)][_0x1fed4d(0x2ea)]({'type':_0x37921f[_0x1fed4d(0x2a1)]['Error'],'content':this[_0x1fed4d(0x2c9)]['t'](_0x1fed4d(0x1ee))}),_0x3e9333['id']===_0x2137d8['CollaborationUIEventId'][_0x1fed4d(0x3f0)]&&this['_messageService'][_0x1fed4d(0x2ea)]({'type':_0x37921f[_0x1fed4d(0x2a1)][_0x1fed4d(0x404)],'content':this[_0x1fed4d(0x2c9)]['t']('session.collaboration-timeout')});}));}};_0x344a9c=_0x16a953([_0xac5700(0x0,_0x4d7442[_0x143723(0x3ce)]),_0xac5700(0x1,_0x2137d8[_0x143723(0x2d9)]),_0xac5700(0x2,_0x112c8e[_0x143723(0x33f)](_0x2137d8[_0x143723(0x2af)])),_0xac5700(0x3,_0x4d7442[_0x143723(0x3b2)]),_0xac5700(0x4,_0x4d7442[_0x143723(0x295)]),_0xac5700(0x5,_0x112c8e[_0x143723(0x33f)](_0x112c8e[_0x143723(0x277)]))],_0x344a9c);const _0x2bdf04=_0x143723(0x210),_0x452d0d={},_0x46e173=_0x112c8e[_0x143723(0x1e6)](_0x143723(0x374));var _0x4af6ec=Object[_0x143723(0x3da)],_0x5d07a0=(_0x57915a,_0x598783,_0x57e94e,_0x10f0a5)=>{const _0x46e886=_0x143723;for(var _0x103d19=_0x10f0a5>0x1?void 0x0:_0x10f0a5?_0x4af6ec(_0x598783,_0x57e94e):_0x598783,_0x17fcb0=_0x57915a[_0x46e886(0x370)]-0x1,_0x4d94c4;_0x17fcb0>=0x0;_0x17fcb0--)(_0x4d94c4=_0x57915a[_0x17fcb0])&&(_0x103d19=_0x4d94c4(_0x103d19)||_0x103d19);return _0x103d19;},_0x304c8c=(_0x3b78fb,_0xee66e2)=>(_0x25d79e,_0x10d331)=>_0xee66e2(_0x25d79e,_0x10d331,_0x3b78fb);_0x39c320[_0x143723(0x38e)]=class extends _0x112c8e[_0x143723(0x3dc)]{constructor(_0x3a82f8,_0x12a178,_0x57b007,_0x15bba7,_0x30931d){const _0x3fe7b3=_0x143723;super(),this[_0x3fe7b3(0x307)]=_0x3a82f8,this[_0x3fe7b3(0x3ba)]=_0x12a178,this[_0x3fe7b3(0x23b)]=_0x57b007,this['_dataLoaderService']=_0x15bba7,_0x30931d?_0x30931d==null||_0x30931d['whenReady']()[_0x3fe7b3(0x227)](()=>this['_init']()):(this[_0x3fe7b3(0x3ba)][_0x3fe7b3(0x29b)](_0x3fe7b3(0x3fe),'No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.'),this[_0x3fe7b3(0x1a8)]());}async['_init'](){const _0x46bcf1=_0x143723,_0x5f2f55=this[_0x46bcf1(0x307)]['getParam']('unit'),_0x4b0be0=this[_0x46bcf1(0x307)][_0x46bcf1(0x387)](_0x46bcf1(0x288)),_0x9b42cd=this[_0x46bcf1(0x307)][_0x46bcf1(0x387)](_0x46bcf1(0x38f));if(!_0x5f2f55||!_0x4b0be0){this[_0x46bcf1(0x3ba)][_0x46bcf1(0x29b)](_0x46bcf1(0x3fe),_0x46bcf1(0x2c3));return;}const _0x48afc9=await this[_0x46bcf1(0x285)][_0x46bcf1(0x1db)](_0x5f2f55,Number(_0x4b0be0),_0x9b42cd);_0x48afc9&&_0x48afc9 instanceof _0x112c8e[_0x46bcf1(0x388)]&&this[_0x46bcf1(0x3e0)](_0x48afc9);}async[_0x143723(0x3e0)](_0x3374cf){const _0x945e8f=_0x143723;await this[_0x945e8f(0x226)](_0x3374cf),_0x3374cf['activeSheet$'][_0x945e8f(0x2d0)](_0x265051[_0x945e8f(0x319)](this[_0x945e8f(0x41a)]))['subscribe'](_0x1b5656=>{const _0x3bf6c6=_0x945e8f;_0x1b5656&&this[_0x3bf6c6(0x1f4)](_0x1b5656);}),this[_0x945e8f(0x307)]['urlChange$'][_0x945e8f(0x2d0)](_0x265051['takeUntil'](this['dispose$']))[_0x945e8f(0x3e7)](()=>this[_0x945e8f(0x226)](_0x3374cf));}[_0x143723(0x1f4)](_0x26b4ba,_0x25e52b=!0x1){const _0x5bd2f2=_0x143723,_0x2e58ad=this[_0x5bd2f2(0x307)][_0x5bd2f2(0x387)](_0x5bd2f2(0x38f));_0x26b4ba[_0x5bd2f2(0x232)]()!==_0x2e58ad&&this[_0x5bd2f2(0x307)][_0x5bd2f2(0x223)]('subunit',_0x26b4ba[_0x5bd2f2(0x232)](),_0x25e52b);}async[_0x143723(0x226)](_0x359777){const _0x7c78a9=_0x143723;var _0x2c13e0;const _0x50e3fc=this[_0x7c78a9(0x307)][_0x7c78a9(0x387)](_0x7c78a9(0x38f));if(!_0x50e3fc||!_0x359777[_0x7c78a9(0x3d4)](_0x50e3fc)){const _0x22f750=_0x359777['getUnhiddenWorksheets']()[0x0],_0x2f6e93=_0x359777[_0x7c78a9(0x3d4)](_0x22f750);if(!_0x2f6e93)return;this['_updateURLWithCurrentState'](_0x2f6e93,!0x0),await this[_0x7c78a9(0x23b)][_0x7c78a9(0x2a8)](_0x16db28[_0x7c78a9(0x268)]['id'],{'unitId':_0x359777['getUnitId'](),'subUnitId':_0x22f750});return;}((_0x2c13e0=_0x359777[_0x7c78a9(0x1cd)]())==null?void 0x0:_0x2c13e0['getSheetId']())!==_0x50e3fc&&await this[_0x7c78a9(0x23b)]['executeCommand'](_0x16db28['SetWorksheetActivateCommand']['id'],{'unitId':_0x359777['getUnitId'](),'subUnitId':_0x50e3fc});}},_0x39c320['CollaborationDataLoaderController']=_0x5d07a0([_0x304c8c(0x0,_0x46e173),_0x304c8c(0x1,_0x112c8e['ILogService']),_0x304c8c(0x2,_0x112c8e[_0x143723(0x348)]),_0x304c8c(0x3,_0x112c8e[_0x143723(0x33f)](_0x2137d8[_0x143723(0x26b)])),_0x304c8c(0x4,_0x112c8e[_0x143723(0x1cb)](_0x20f840[_0x143723(0x1ba)]))],_0x39c320[_0x143723(0x38e)]);var _0x21fc78=Object[_0x143723(0x3da)],_0x1312c8=(_0x373a5e,_0x19ef4e,_0x6bd619,_0x1dec77)=>{for(var _0x32fe9e=_0x1dec77>0x1?void 0x0:_0x1dec77?_0x21fc78(_0x19ef4e,_0x6bd619):_0x19ef4e,_0x567213=_0x373a5e['length']-0x1,_0x23ff1f;_0x567213>=0x0;_0x567213--)(_0x23ff1f=_0x373a5e[_0x567213])&&(_0x32fe9e=_0x23ff1f(_0x32fe9e)||_0x32fe9e);return _0x32fe9e;},_0x323c74=(_0x238c72,_0xd1dac1)=>(_0x3085b6,_0x3cb479)=>_0xd1dac1(_0x3085b6,_0x3cb479,_0x238c72);let _0x624c66=class{constructor(_0x357810,_0x21b0dc,_0x2cd094){const _0x4139c4=_0x143723;this[_0x4139c4(0x22d)]=_0x357810,this['_transformService']=_0x21b0dc,this[_0x4139c4(0x280)]=_0x2cd094;}[_0x143723(0x1a7)](_0x5eaadd){const _0x5e1cab=_0x143723;this[_0x5e1cab(0x293)](_0x5eaadd),this[_0x5e1cab(0x419)](_0x5eaadd);}[_0x143723(0x234)](_0x267b98){const _0x1945f5=_0x143723,{unitID:_0x51c6ad}=_0x267b98,_0x155d19=this[_0x1945f5(0x280)]['getRenderById'](_0x51c6ad)[_0x1945f5(0x3f7)](_0x97512c['DocIMEInputManagerService']),{redoCache:_0x13d299}=_0x155d19[_0x1945f5(0x42b)]();if(_0x13d299[_0x1945f5(0x370)]===0x0)return _0x267b98;let _0x2d3c14=_0x112c8e[_0x1945f5(0x1bd)][_0x1945f5(0x3d1)](_0x267b98[_0x1945f5(0x331)][0x0]);for(let _0x11bff0=0x0;_0x11bff0<_0x13d299[_0x1945f5(0x370)];_0x11bff0++){const _0x5008ed={'id':'doc.mutation.rich-text-editing','params':{..._0x13d299[_0x11bff0]}},_0x29f234=this[_0x1945f5(0x3a5)]['transformMutation'](_0x2d3c14,_0x5008ed,!0x1);if(_0x3f458b[_0x1945f5(0x2c1)](_0x29f234))throw _0x29f234['error'];_0x2d3c14=_0x29f234[_0x1945f5(0x3c6)];}return{..._0x112c8e[_0x1945f5(0x1bd)]['deepClone'](_0x267b98),'mutations':[_0x2d3c14]};}['_transformUndoRedoStack'](_0x8bcc22){const _0x349d9c=_0x143723,{unitID:_0x2cf0b8}=_0x8bcc22,_0x367f60=this[_0x349d9c(0x280)][_0x349d9c(0x26f)](_0x2cf0b8)[_0x349d9c(0x3f7)](_0x97512c[_0x349d9c(0x264)]),{undoCache:_0xad86b3,redoCache:_0x2c6729}=_0x367f60[_0x349d9c(0x42b)]();if(_0xad86b3['length']===0x0||_0x2c6729[_0x349d9c(0x370)]===0x0)return;const _0x231d65=[],_0x2f059d=[];let _0x5331b0=_0x112c8e[_0x349d9c(0x1bd)][_0x349d9c(0x3d1)](_0x8bcc22[_0x349d9c(0x331)][0x0]),_0x16f9c4=_0x112c8e['Tools'][_0x349d9c(0x3d1)](_0x8bcc22[_0x349d9c(0x331)][0x0]);for(let _0x43f69a=_0xad86b3[_0x349d9c(0x370)]-0x1;_0x43f69a>=0x0;_0x43f69a--){const _0x33c51b={'id':'doc.mutation.rich-text-editing','params':{..._0xad86b3[_0x43f69a]}},_0x5598a4={'id':'doc.mutation.rich-text-editing','params':{..._0x2c6729[_0x43f69a]}},_0x50bd74=this['_transformService']['transformMutation'](_0x5331b0,_0x33c51b,!0x1),_0x4be9f4=this['_transformService'][_0x349d9c(0x191)](_0x16f9c4,_0x5598a4,!0x1);if(_0x3f458b[_0x349d9c(0x2c1)](_0x50bd74))throw _0x50bd74[_0x349d9c(0x3aa)];if(_0x3f458b[_0x349d9c(0x2c1)](_0x4be9f4))throw _0x4be9f4[_0x349d9c(0x3aa)];_0x231d65[_0x349d9c(0x328)](_0x50bd74[_0x349d9c(0x1b5)][_0x349d9c(0x399)]),_0x2f059d['unshift'](_0x4be9f4[_0x349d9c(0x1b5)]['params']),_0x5331b0=_0x50bd74['m1Prime'],_0x16f9c4=_0x4be9f4[_0x349d9c(0x3c6)];}_0x367f60[_0x349d9c(0x35c)]({'undoCache':_0x231d65,'redoCache':_0x2f059d});}['_transformPreviousActiveRange'](_0xffbf37){const _0x18f1f3=_0x143723,{unitID:_0x22afbd}=_0xffbf37,_0x37b7ab=this[_0x18f1f3(0x280)][_0x18f1f3(0x26f)](_0x22afbd)[_0x18f1f3(0x3f7)](_0x97512c[_0x18f1f3(0x264)]),_0x5f2b9d=_0x37b7ab[_0x18f1f3(0x35b)]();if(_0x5f2b9d==null)return;const _0x4be6c5=[{'id':_0x18f1f3(0x3b1),'params':{'unitId':_0xffbf37[_0x18f1f3(0x40d)],'actions':null,'textRanges':[_0x5f2b9d]}}],_0x451d57=this[_0x18f1f3(0x3a5)][_0x18f1f3(0x1df)](_0xffbf37,_0x4be6c5);if(!_0x3f458b[_0x18f1f3(0x3c0)](_0x451d57))throw _0x451d57[_0x18f1f3(0x3aa)];const _0x9307b3=_0x451d57[_0x18f1f3(0x1b5)][0x0][_0x18f1f3(0x399)]['textRanges'];Array['isArray'](_0x9307b3)&&_0x9307b3[_0x18f1f3(0x370)]&&_0x37b7ab['setActiveRange'](_0x9307b3[0x0]);}};_0x624c66=_0x1312c8([_0x323c74(0x0,_0x112c8e[_0x143723(0x33f)](_0x112c8e[_0x143723(0x1a0)])),_0x323c74(0x1,_0x3f458b[_0x143723(0x197)]),_0x323c74(0x2,_0x132069[_0x143723(0x1c5)])],_0x624c66);var _0x53bea6=Object['getOwnPropertyDescriptor'],_0x4925ca=(_0x24a9fe,_0x222db1,_0x2b3338,_0x1e0b94)=>{const _0x3dac11=_0x143723;for(var _0x3be220=_0x1e0b94>0x1?void 0x0:_0x1e0b94?_0x53bea6(_0x222db1,_0x2b3338):_0x222db1,_0x1f4095=_0x24a9fe[_0x3dac11(0x370)]-0x1,_0x320547;_0x1f4095>=0x0;_0x1f4095--)(_0x320547=_0x24a9fe[_0x1f4095])&&(_0x3be220=_0x320547(_0x3be220)||_0x3be220);return _0x3be220;},_0x32d95e=(_0x7351da,_0x3e3fc6)=>(_0x59dd52,_0x570405)=>_0x3e3fc6(_0x59dd52,_0x570405,_0x7351da);let _0x43a7e7=class{constructor(_0x38fcf1,_0x115dbe,_0x470e97){const _0x3833db=_0x143723;this[_0x3833db(0x22d)]=_0x38fcf1,this[_0x3833db(0x3a5)]=_0x115dbe,this[_0x3833db(0x411)]=_0x470e97;}[_0x143723(0x41d)](_0x111c15){const _0x197fe7=_0x143723;this[_0x197fe7(0x332)](_0x111c15);}[_0x143723(0x234)](_0x338542){const _0x13c343=_0x143723,{unitID:_0x4bd238}=_0x338542,{collaboration:_0x15674d}=this[_0x13c343(0x411)][_0x13c343(0x34d)](_0x4bd238);if(_0x15674d[_0x13c343(0x370)]===0x0)return _0x338542;let _0x47306c=_0x112c8e['Tools'][_0x13c343(0x3d1)](_0x338542[_0x13c343(0x331)][0x0]);for(let _0x39ef30=0x0;_0x39ef30<_0x15674d[_0x13c343(0x370)];_0x39ef30++){const _0x282811={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x15674d[_0x39ef30][_0x13c343(0x1ff)],..._0x15674d[_0x39ef30]['redoState']}},_0x42e388=this[_0x13c343(0x3a5)][_0x13c343(0x191)](_0x47306c,_0x282811,!0x1);if(_0x3f458b[_0x13c343(0x2c1)](_0x42e388))throw _0x42e388[_0x13c343(0x3aa)];_0x47306c=_0x42e388[_0x13c343(0x3c6)];}return{..._0x112c8e[_0x13c343(0x1bd)]['deepClone'](_0x338542),'mutations':[_0x47306c]};}[_0x143723(0x332)](_0x24b828){const _0x4ac6af=_0x143723,{unitID:_0x5281f4}=_0x24b828,{history:_0x362d9f,collaboration:_0x29bf56}=this[_0x4ac6af(0x411)][_0x4ac6af(0x34d)](_0x5281f4);if(_0x362d9f[_0x4ac6af(0x370)]===0x0&&_0x29bf56['length']===0x0)return;const _0x4fb0e8=[],_0x4b98d3=[];let _0x3881fd=_0x112c8e[_0x4ac6af(0x1bd)][_0x4ac6af(0x3d1)](_0x24b828[_0x4ac6af(0x331)][0x0]),_0x2c428d=_0x112c8e['Tools'][_0x4ac6af(0x3d1)](_0x24b828[_0x4ac6af(0x331)][0x0]);for(let _0x377831=_0x362d9f[_0x4ac6af(0x370)]-0x1;_0x377831>=0x0;_0x377831--){const _0x49c12d={'id':_0x4ac6af(0x3b1),'params':{'unitId':_0x362d9f[_0x377831][_0x4ac6af(0x1ff)],..._0x362d9f[_0x377831][_0x4ac6af(0x38a)]}},_0x291e00={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x362d9f[_0x377831]['unitId'],..._0x362d9f[_0x377831][_0x4ac6af(0x1f1)]}},_0x2ef116=this[_0x4ac6af(0x3a5)][_0x4ac6af(0x191)](_0x3881fd,_0x49c12d,!0x1),_0x9eec1b=this[_0x4ac6af(0x3a5)][_0x4ac6af(0x191)](_0x2c428d,_0x291e00,!0x1);if(_0x3f458b['isTransformMutationFailure'](_0x2ef116))throw _0x2ef116[_0x4ac6af(0x3aa)];if(_0x3f458b[_0x4ac6af(0x2c1)](_0x9eec1b))throw _0x9eec1b[_0x4ac6af(0x3aa)];_0x4fb0e8[_0x4ac6af(0x328)]({..._0x362d9f[_0x377831],'undoState':_0x2ef116[_0x4ac6af(0x1b5)][_0x4ac6af(0x399)],'redoState':_0x9eec1b[_0x4ac6af(0x1b5)][_0x4ac6af(0x399)]}),_0x3881fd=_0x2ef116[_0x4ac6af(0x3c6)],_0x2c428d=_0x9eec1b['m1Prime'];}_0x3881fd=_0x112c8e[_0x4ac6af(0x1bd)]['deepClone'](_0x24b828['mutations'][0x0]),_0x2c428d=_0x112c8e[_0x4ac6af(0x1bd)][_0x4ac6af(0x3d1)](_0x24b828[_0x4ac6af(0x331)][0x0]);for(let _0x481d3f=_0x29bf56[_0x4ac6af(0x370)]-0x1;_0x481d3f>=0x0;_0x481d3f--){const _0x5d530a={'id':_0x4ac6af(0x3b1),'params':{'unitId':_0x29bf56[_0x481d3f]['unitId'],..._0x29bf56[_0x481d3f]['undoState']}},_0x462413={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x29bf56[_0x481d3f][_0x4ac6af(0x1ff)],..._0x29bf56[_0x481d3f]['redoState']}},_0x48a58c=this[_0x4ac6af(0x3a5)][_0x4ac6af(0x191)](_0x3881fd,_0x5d530a,!0x1),_0x4f2e15=this[_0x4ac6af(0x3a5)][_0x4ac6af(0x191)](_0x2c428d,_0x462413,!0x1);if(_0x3f458b[_0x4ac6af(0x2c1)](_0x48a58c))throw _0x48a58c[_0x4ac6af(0x3aa)];if(_0x3f458b['isTransformMutationFailure'](_0x4f2e15))throw _0x4f2e15[_0x4ac6af(0x3aa)];_0x4b98d3['unshift']({..._0x29bf56[_0x481d3f],'undoState':_0x48a58c[_0x4ac6af(0x1b5)][_0x4ac6af(0x399)],'redoState':_0x4f2e15[_0x4ac6af(0x1b5)]['params']}),_0x3881fd=_0x48a58c[_0x4ac6af(0x3c6)],_0x2c428d=_0x4f2e15['m1Prime'];}this[_0x4ac6af(0x411)][_0x4ac6af(0x26e)](_0x5281f4,{'history':_0x4fb0e8,'collaboration':_0x4b98d3});}};_0x43a7e7=_0x4925ca([_0x32d95e(0x0,_0x112c8e['Inject'](_0x112c8e[_0x143723(0x1a0)])),_0x32d95e(0x1,_0x3f458b['ITransformService']),_0x32d95e(0x2,_0x112c8e[_0x143723(0x33f)](_0x97512c[_0x143723(0x361)]))],_0x43a7e7);var _0xe668ac=Object['getOwnPropertyDescriptor'],_0x1c9b72=(_0x372647,_0x5d916b,_0x3a1c87,_0x19fab3)=>{for(var _0x36b006=_0x19fab3>0x1?void 0x0:_0x19fab3?_0xe668ac(_0x5d916b,_0x3a1c87):_0x5d916b,_0x36c265=_0x372647['length']-0x1,_0xa52bbf;_0x36c265>=0x0;_0x36c265--)(_0xa52bbf=_0x372647[_0x36c265])&&(_0x36b006=_0xa52bbf(_0x36b006)||_0x36b006);return _0x36b006;},_0x3974bd=(_0x3360e7,_0x5eaa68)=>(_0x190964,_0x1fe5b8)=>_0x5eaa68(_0x190964,_0x1fe5b8,_0x3360e7);let _0x6660a6=class{constructor(_0x5391d3,_0x35150c){const _0x30703b=_0x143723;this['_injector']=_0x5391d3,this[_0x30703b(0x3a5)]=_0x35150c;}[_0x143723(0x33c)](_0x4139e3){const _0x2d5eb0=_0x143723;var _0x107e06;const _0x35fb91=this[_0x2d5eb0(0x22d)][_0x2d5eb0(0x292)](_0x4723ff[_0x2d5eb0(0x334)]),_0x3d75a7=(_0x107e06=_0x35fb91[_0x2d5eb0(0x245)]())!=null?_0x107e06:[];if(_0x3d75a7[_0x2d5eb0(0x370)]===0x0)return;const _0x599132=_0x4139e3['unitID'],_0x32d33e=[{'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x599132,'actions':null,'textRanges':_0x3d75a7}}],_0x231330=this['_transformService'][_0x2d5eb0(0x1df)](_0x4139e3,_0x32d33e);if(!_0x3f458b[_0x2d5eb0(0x3c0)](_0x231330))throw _0x231330[_0x2d5eb0(0x3aa)];const _0x3d76c7=_0x231330[_0x2d5eb0(0x1b5)][0x0][_0x2d5eb0(0x399)][_0x2d5eb0(0x21e)];Array['isArray'](_0x3d76c7)&&_0x3d76c7[_0x2d5eb0(0x370)]&&_0x35fb91['replaceDocRanges'](_0x3d76c7,{'unitId':_0x599132,'subUnitId':_0x599132},!0x1);}};_0x6660a6=_0x1c9b72([_0x3974bd(0x0,_0x112c8e['Inject'](_0x112c8e[_0x143723(0x1a0)])),_0x3974bd(0x1,_0x3f458b[_0x143723(0x197)])],_0x6660a6);var _0x118240=Object['getOwnPropertyDescriptor'],_0x21a7d8=(_0x4d55a1,_0x5c2317,_0x13c520,_0xf296ef)=>{const _0x54ec58=_0x143723;for(var _0x5408ed=_0xf296ef>0x1?void 0x0:_0xf296ef?_0x118240(_0x5c2317,_0x13c520):_0x5c2317,_0x3932a2=_0x4d55a1[_0x54ec58(0x370)]-0x1,_0x597e11;_0x3932a2>=0x0;_0x3932a2--)(_0x597e11=_0x4d55a1[_0x3932a2])&&(_0x5408ed=_0x597e11(_0x5408ed)||_0x5408ed);return _0x5408ed;},_0x437eca=(_0x3b425c,_0x68635f)=>(_0x37bc9c,_0x2e1b9d)=>_0x68635f(_0x37bc9c,_0x2e1b9d,_0x3b425c);let _0x1356ed=class extends _0x112c8e['Disposable']{constructor(_0x3afcdd,_0x39c6b9,_0x4a9429,_0xeece88,_0x1b10a9,_0xb93cdf,_0x1101b1,_0x4a6f8e){const _0x22b86d=_0x143723;super(),_0x433eb9(this,'_status$',new _0x265051[(_0x22b86d(0x255))](_0x2137d8[_0x22b86d(0x403)][_0x22b86d(0x22f)])),(this[_0x22b86d(0x411)]=_0x3afcdd,this[_0x22b86d(0x254)]=_0x39c6b9,this[_0x22b86d(0x25b)]=_0x4a9429,this[_0x22b86d(0x1a3)]=_0xeece88,this[_0x22b86d(0x310)]=_0x1b10a9,this[_0x22b86d(0x373)]=_0xb93cdf,this[_0x22b86d(0x350)]=_0x1101b1,this[_0x22b86d(0x2c9)]=_0x4a6f8e,this[_0x22b86d(0x25e)]());}[_0x143723(0x25e)](){const _0x4bfdf2=_0x143723;this[_0x4bfdf2(0x194)](this[_0x4bfdf2(0x254)][_0x4bfdf2(0x3f9)]['subscribe'](_0x429f8e=>{const _0x25e3ff=_0x4bfdf2,_0x1b57c9=this[_0x25e3ff(0x411)][_0x25e3ff(0x36b)][_0x25e3ff(0x3e7)](_0xdcfaeb=>{const _0x1656c6=_0x25e3ff;if(_0xdcfaeb==null)return;const {unitId:_0x196ba2,redoState:_0x3af6e9,commandId:_0x195357}=_0xdcfaeb;if(_0x196ba2!==_0x429f8e[_0x1656c6(0x40d)])return;const _0x4f7c6d={'id':_0x195357,'type':_0x112c8e['CommandType'][_0x1656c6(0x372)],'params':{'unitId':_0x196ba2,'actions':_0x3af6e9[_0x1656c6(0x324)],'textRanges':null}};_0x429f8e[_0x1656c6(0x41f)](_0x4f7c6d);});if(_0x429f8e[_0x25e3ff(0x194)](_0x1b57c9),_0x429f8e instanceof _0x2137d8[_0x25e3ff(0x382)]){const _0x2673cc={'onTransformIME':_0x2ac041=>this[_0x25e3ff(0x25b)]['transformIMECache'](_0x2ac041),'onTransformState':_0x353915=>this[_0x25e3ff(0x1a3)]['transformStateCache'](_0x353915),'onTransformSelections':_0x1a8637=>this[_0x25e3ff(0x310)]['transformSelections'](_0x1a8637),'onSyncEditingCollabCursor':_0x4da3db=>this[_0x25e3ff(0x373)][_0x25e3ff(0x2f2)](_0x4da3db),'onTransformRemoteChangesetByIMECache':_0x478b64=>this[_0x25e3ff(0x25b)][_0x25e3ff(0x234)](_0x478b64),'onTransformRemoteChangesetByStateCache':_0x4b06e0=>this[_0x25e3ff(0x1a3)][_0x25e3ff(0x234)](_0x4b06e0)};_0x429f8e[_0x25e3ff(0x42d)](_0x2673cc);}}));}};_0x1356ed=_0x21a7d8([_0x437eca(0x0,_0x112c8e[_0x143723(0x33f)](_0x97512c['DocStateChangeManagerService'])),_0x437eca(0x1,_0x112c8e[_0x143723(0x33f)](_0x2137d8[_0x143723(0x290)])),_0x437eca(0x2,_0x112c8e[_0x143723(0x33f)](_0x624c66)),_0x437eca(0x3,_0x112c8e[_0x143723(0x33f)](_0x43a7e7)),_0x437eca(0x4,_0x112c8e['Inject'](_0x6660a6)),_0x437eca(0x5,_0x112c8e['Inject'](_0x35c700)),_0x437eca(0x6,_0x4d7442[_0x143723(0x3b2)]),_0x437eca(0x7,_0x112c8e['Inject'](_0x112c8e[_0x143723(0x277)]))],_0x1356ed);var _0x587aed=Object[_0x143723(0x3da)],_0x35df8b=(_0x286628,_0x27be30,_0x1072cc,_0x4353fe)=>{const _0x34cea5=_0x143723;for(var _0xc43905=_0x4353fe>0x1?void 0x0:_0x4353fe?_0x587aed(_0x27be30,_0x1072cc):_0x27be30,_0x401c3a=_0x286628[_0x34cea5(0x370)]-0x1,_0x27babd;_0x401c3a>=0x0;_0x401c3a--)(_0x27babd=_0x286628[_0x401c3a])&&(_0xc43905=_0x27babd(_0xc43905)||_0xc43905);return _0xc43905;},_0x52143e=(_0xf82775,_0x2c8d44)=>(_0xde798e,_0x3c5783)=>_0x2c8d44(_0xde798e,_0x3c5783,_0xf82775);let _0x4fcd18=class extends _0x112c8e[_0x143723(0x357)]{constructor(_0x203a8d,_0x287f34,_0x638e11){const _0x7de120=_0x143723;super(),_0x433eb9(this,_0x7de120(0x37b),new Map()),_0x433eb9(this,'_saveTaskMap',new Map()),_0x433eb9(this,_0x7de120(0x380),!0x1),(this[_0x7de120(0x29d)]=_0x203a8d,this[_0x7de120(0x1fa)]=_0x287f34,this['_revisionService']=_0x638e11);}['disableLocalCache'](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0x492697=_0x143723;this[_0x492697(0x380)]=!0x1;}get[_0x143723(0x338)](){const _0x593222=_0x143723;return this[_0x593222(0x413)];}['dispose'](){const _0x1061d8=_0x143723;this[_0x1061d8(0x27b)]()[_0x1061d8(0x227)](()=>super[_0x1061d8(0x3b4)]());}async[_0x143723(0x422)](_0x3d5851){const _0x59af48=_0x143723;return this['_disabled']?null:this[_0x59af48(0x1fa)][_0x59af48(0x198)](_0x2137d8[_0x59af48(0x186)](_0x3d5851));}async[_0x143723(0x229)](_0x13959f,_0x1f8e71){return!!this['_localStorageService']['setItem'](_0x13959f,_0x1f8e71);}[_0x143723(0x3f2)](_0xc56cd5,_0xe142f3,_0x91a75a,_0x3e60ac){const _0x3c194e=_0x143723,_0x17f9a8=this[_0x3c194e(0x36f)]['getCurrentRevOfUnit'](_0xc56cd5);this[_0x3c194e(0x37b)]['set'](_0xc56cd5,{'unitID':_0xc56cd5,'type':_0xe142f3,'awaitingChangeset':_0x91a75a,'mutations':_0x3e60ac,'rev':_0x17f9a8}),this[_0x3c194e(0x413)][_0x3c194e(0x2ac)](_0xc56cd5)||this[_0x3c194e(0x2d7)](_0xc56cd5);}[_0x143723(0x2d7)](_0x1c50cb){const _0x3506af=_0x143723,_0x3dc5a6=this[_0x3506af(0x260)]();_0x3dc5a6===0x0?this[_0x3506af(0x408)](_0x1c50cb):this[_0x3506af(0x413)][_0x3506af(0x327)](_0x1c50cb,setTimeout(()=>this['_saveCache'](_0x1c50cb),_0x3dc5a6));}[_0x143723(0x260)](){const _0x567e24=_0x143723;var _0x58c8bf;return(_0x58c8bf=this[_0x567e24(0x29d)][_0x567e24(0x2bb)](_0x2137d8[_0x567e24(0x250)]))!=null?_0x58c8bf:_0x2137d8[_0x567e24(0x339)];}['_saveCache'](_0x17b9ec){const _0x2776b1=_0x143723,_0x37880b=this['_saveTaskMap'][_0x2776b1(0x292)](_0x17b9ec);return _0x37880b!==void 0x0&&window['clearTimeout'](_0x37880b),this[_0x2776b1(0x1fa)]['setItem'](_0x2137d8[_0x2776b1(0x186)](_0x17b9ec),this[_0x2776b1(0x37b)]['get'](_0x17b9ec))[_0x2776b1(0x227)](()=>this[_0x2776b1(0x413)][_0x2776b1(0x37a)](_0x17b9ec));}async['exhaustSavingTask'](){const _0x25c8e0=_0x143723,_0x36e3ab=[];this[_0x25c8e0(0x413)][_0x25c8e0(0x363)]((_0xf792a2,_0x5903ff)=>{const _0x2b8696=_0x25c8e0;window[_0x2b8696(0x3ac)](_0xf792a2),_0x36e3ab[_0x2b8696(0x25c)](this[_0x2b8696(0x408)](_0x5903ff)[_0x2b8696(0x227)](()=>{this['_saveTaskMap']['delete'](_0x5903ff);}));}),await Promise['all'](_0x36e3ab);}};_0x4fcd18=_0x35df8b([_0x52143e(0x0,_0x112c8e[_0x143723(0x26d)]),_0x52143e(0x1,_0x112c8e[_0x143723(0x274)]),_0x52143e(0x2,_0x112c8e['Inject'](_0x3f458b[_0x143723(0x39d)]))],_0x4fcd18);class _0x3ffeda extends _0x112c8e[_0x143723(0x3dc)]{constructor(){const _0x560add=_0x143723;super(),_0x433eb9(this,'urlChange$'),this[_0x560add(0x359)]=_0x265051[_0x560add(0x351)](window,_0x560add(0x343))[_0x560add(0x2d0)](_0x265051[_0x560add(0x319)](this[_0x560add(0x41a)]),_0x265051[_0x560add(0x256)](0x1),_0x265051[_0x560add(0x3ad)](void 0x0));}[_0x143723(0x223)](_0x44da2c,_0x47dc93,_0x43b216=!0x1){const _0x392862=_0x143723,_0x1e526f=new URL(window['location'][_0x392862(0x366)]);_0x1e526f[_0x392862(0x215)][_0x392862(0x327)](_0x44da2c,_0x47dc93),_0x43b216?window[_0x392862(0x392)][_0x392862(0x1d6)]('','',_0x1e526f[_0x392862(0x2da)]()):window[_0x392862(0x392)][_0x392862(0x3f8)]('','',_0x1e526f[_0x392862(0x2da)]());}[_0x143723(0x3d7)](_0x2ab23c,_0xa2dcfc=!0x1){const _0x2ea728=_0x143723,_0x5d18b5=new URL(window[_0x2ea728(0x342)]['href']);_0x5d18b5[_0x2ea728(0x215)][_0x2ea728(0x37a)](_0x2ab23c),_0xa2dcfc?window[_0x2ea728(0x392)][_0x2ea728(0x1d6)]('','',_0x5d18b5['toString']()):window[_0x2ea728(0x392)][_0x2ea728(0x3f8)]('','',_0x5d18b5[_0x2ea728(0x2da)]());}[_0x143723(0x387)](_0x223866){const _0x557111=_0x143723;var _0x27d2c5;return(_0x27d2c5=new URL(window[_0x557111(0x342)][_0x557111(0x366)])['searchParams'][_0x557111(0x292)](_0x223866))!=null?_0x27d2c5:void 0x0;}}var _0x19a4ee=Object[_0x143723(0x18d)],_0x13d2b2=Object['getOwnPropertyDescriptor'],_0x565951=(_0x19eef1,_0x1a4e23,_0xff9c49)=>_0x1a4e23 in _0x19eef1?_0x19a4ee(_0x19eef1,_0x1a4e23,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0xff9c49}):_0x19eef1[_0x1a4e23]=_0xff9c49,_0x477574=(_0x448172,_0x4dbd58,_0x467359,_0x12c20d)=>{const _0x4d3243=_0x143723;for(var _0x4afcbb=_0x12c20d>0x1?void 0x0:_0x12c20d?_0x13d2b2(_0x4dbd58,_0x467359):_0x4dbd58,_0x267a15=_0x448172[_0x4d3243(0x370)]-0x1,_0x32cd22;_0x267a15>=0x0;_0x267a15--)(_0x32cd22=_0x448172[_0x267a15])&&(_0x4afcbb=_0x32cd22(_0x4afcbb)||_0x4afcbb);return _0x4afcbb;},_0x1c5e0f=(_0x4cfeaf,_0x510e19)=>(_0xe88a2c,_0x1ca4cf)=>_0x510e19(_0xe88a2c,_0x1ca4cf,_0x4cfeaf),_0x377fde=(_0xa5b363,_0x496acf,_0x34636c)=>_0x565951(_0xa5b363,_0x496acf+'',_0x34636c);const _0x2546fa=_0x143723(0x1c9);_0x39c320[_0x143723(0x1a5)]=class extends _0x112c8e[_0x143723(0x415)]{constructor(_0x22ba0b=_0x452d0d,_0x1699c3,_0x2a5350,_0x39af39){const _0x14d448=_0x143723;super(),this[_0x14d448(0x354)]=_0x22ba0b,this['_renderManagerService']=_0x1699c3,this['_injector']=_0x2a5350,this['_configService']=_0x39af39;const {..._0x8df05e}=_0x112c8e[_0x14d448(0x2a5)]({},_0x452d0d,this[_0x14d448(0x354)]);this['_configService']['setConfig'](_0x2bdf04,_0x8df05e);}[_0x143723(0x207)](){const _0x38a4e1=_0x143723;this[_0x38a4e1(0x2a2)](),this[_0x38a4e1(0x381)]();}[_0x143723(0x3d0)](){const _0x2bdccd=_0x143723;this[_0x2bdccd(0x1f6)]();}[_0x143723(0x2a2)](){const _0x37fcbf=_0x143723;var _0x234639;const _0x58fe50=[[_0x2c376b],[_0x6660a6],[_0x624c66],[_0x43a7e7],[_0x35c700],[_0x46e173,{'useClass':_0x3ffeda}],[_0x25f2b8['ISocketService'],{'useClass':_0x25f2b8['WebSocketService']}],[_0x2137d8['ILocalCacheService'],{'useClass':_0x4fcd18}],[_0x39c320['DesktopCollaborationStatusDisplayController']],[_0x1356ed],[_0x344a9c],[_0x599949],[_0x5a11ca],[_0x39c320[_0x37fcbf(0x38e)]]];_0x112c8e[_0x37fcbf(0x3fc)](this['_injector'],_0x112c8e['mergeOverrideWithDependencies'](_0x58fe50,(_0x234639=this['_config'])==null?void 0x0:_0x234639[_0x37fcbf(0x2dc)]));}[_0x143723(0x1f6)](){const _0x2f12fa=_0x143723;this[_0x2f12fa(0x194)](this[_0x2f12fa(0x280)][_0x2f12fa(0x19f)](_0x112c8e[_0x2f12fa(0x1a6)][_0x2f12fa(0x1ce)],[_0x27f659])),this[_0x2f12fa(0x194)](this[_0x2f12fa(0x280)][_0x2f12fa(0x19f)](_0x112c8e[_0x2f12fa(0x1a6)][_0x2f12fa(0x1a4)],[_0x409b6a]));}[_0x143723(0x381)](){const _0xb1d5ab=_0x143723;_0x112c8e['touchDependencies'](this['_injector'],[[_0x599949],[_0x39c320[_0xb1d5ab(0x225)]],[_0x1356ed],[_0x344a9c],[_0x39c320[_0xb1d5ab(0x38e)]]]);}},_0x377fde(_0x39c320[_0x143723(0x1a5)],'pluginName',_0x2546fa),_0x39c320[_0x143723(0x1a5)]=_0x477574([_0x112c8e[_0x143723(0x2ed)](_0x2137d8['UniverCollaborationClientPlugin']),_0x1c5e0f(0x1,_0x132069['IRenderManagerService']),_0x1c5e0f(0x2,_0x112c8e[_0x143723(0x33f)](_0x112c8e[_0x143723(0x1a0)])),_0x1c5e0f(0x3,_0x112c8e[_0x143723(0x26d)])],_0x39c320[_0x143723(0x1a5)]);var _0x510ad9=Object[_0x143723(0x3da)],_0x86f704=(_0x2611ab,_0x46d125,_0x460d1d,_0x37bd33)=>{for(var _0x58d33a=_0x37bd33>0x1?void 0x0:_0x37bd33?_0x510ad9(_0x46d125,_0x460d1d):_0x46d125,_0x30ca0b=_0x2611ab['length']-0x1,_0x45ac8e;_0x30ca0b>=0x0;_0x30ca0b--)(_0x45ac8e=_0x2611ab[_0x30ca0b])&&(_0x58d33a=_0x45ac8e(_0x58d33a)||_0x58d33a);return _0x58d33a;},_0xa0bf56=(_0x292088,_0x832935)=>(_0x5a371d,_0x2a52d3)=>_0x832935(_0x5a371d,_0x2a52d3,_0x292088);_0x39c320[_0x143723(0x199)]=class extends _0x2137d8['CollaborationSocketService']{constructor(_0x2e2d3b,_0x3bfe1c,_0x4a00dd,_0x18de3d,_0x100500){super(_0x2e2d3b,_0x3bfe1c,_0x4a00dd,_0x18de3d,_0x100500);}async[_0x143723(0x31a)](_0x131e2f){const _0xb24909=_0x143723,_0x34c440=await this[_0xb24909(0x2ca)](),_0x1a9c3f=this[_0xb24909(0x2c4)](_0x131e2f,_0x34c440);return this[_0xb24909(0x1f8)](_0x1a9c3f);}[_0x143723(0x2c4)](_0x40d2c0,_0x573d10){const _0x475ee2=_0x143723,_0x38b7cb=typeof window>'u'?new URL(_0x40d2c0):new URL(_0x40d2c0,window[_0x475ee2(0x342)][_0x475ee2(0x296)]);_0x38b7cb[_0x475ee2(0x215)][_0x475ee2(0x327)](_0x475ee2(0x1d1),_0x573d10);const _0x3a16c5=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x475ee2(0x342)][_0x475ee2(0x340)]);return _0x3a16c5[_0x475ee2(0x292)](_0x475ee2(0x2f9))&&_0x38b7cb[_0x475ee2(0x215)][_0x475ee2(0x327)]('runId',_0x3a16c5[_0x475ee2(0x292)](_0x475ee2(0x2f9))),_0x38b7cb[_0x475ee2(0x2da)]();}async[_0x143723(0x2ca)](){const _0x13804f=_0x143723;var _0x2ac0f4,_0x29285f,_0x12efc3;const _0x369415=this[_0x13804f(0x29d)]['getConfig'](_0x2137d8['COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY']),_0x4d00c9=(_0x2ac0f4=_0x369415==null?void 0x0:_0x369415[_0x13804f(0x2b8)])!=null?_0x2ac0f4:_0x2137d8[_0x13804f(0x3d3)];return(_0x12efc3=(_0x29285f=(await this[_0x13804f(0x230)][_0x13804f(0x292)](_0x4d00c9,{'headers':{'Content-Type':'application/json'}}))['body'])==null?void 0x0:_0x29285f[_0x13804f(0x216)])!=null?_0x12efc3:'';}},_0x39c320[_0x143723(0x199)]=_0x86f704([_0xa0bf56(0x0,_0x112c8e[_0x143723(0x33f)](_0x112c8e[_0x143723(0x1a0)])),_0xa0bf56(0x1,_0x112c8e['Inject'](_0x25f2b8[_0x143723(0x2fc)])),_0xa0bf56(0x2,_0x112c8e[_0x143723(0x26d)]),_0xa0bf56(0x3,_0x112c8e[_0x143723(0x1c4)]),_0xa0bf56(0x4,_0x3f458b['ISnapshotServerService'])],_0x39c320[_0x143723(0x199)]);const _0x23b3c7=0x7530,_0x5233e1=_0x143723(0x1d7);class _0x1e849b extends _0x112c8e['Disposable']{constructor(){const _0x22d76a=_0x143723;super(),_0x433eb9(this,'_id',_0x112c8e[_0x22d76a(0x21d)]()),_0x433eb9(this,_0x22d76a(0x2f6),new Set()),_0x433eb9(this,_0x22d76a(0x36a),new Map()),_0x433eb9(this,'_heartbeatTimer',null),_0x433eb9(this,_0x22d76a(0x410),new Map()),_0x433eb9(this,_0x22d76a(0x38d),new Map()),this['_init']();}[_0x143723(0x3b4)](){const _0x5284ca=_0x143723;super[_0x5284ca(0x3b4)](),this[_0x5284ca(0x410)][_0x5284ca(0x363)]((_0x543bde,_0x436990)=>this[_0x5284ca(0x1cf)](_0x436990)),this['_heartbeatTimer']&&window[_0x5284ca(0x28e)](this['_heartbeatTimer']);}[_0x143723(0x28f)](_0x253d6b){const _0x30cdcb=_0x143723;return this[_0x30cdcb(0x1b3)](_0x253d6b)[_0x30cdcb(0x2d0)](_0x265051[_0x30cdcb(0x24a)]());}[_0x143723(0x19e)](_0x5a7aa6){const _0x2d872c=_0x143723;this[_0x2d872c(0x2f6)]['size']===0x0&&this[_0x2d872c(0x2e1)](),this[_0x2d872c(0x2f6)][_0x2d872c(0x3ef)](_0x5a7aa6),this[_0x2d872c(0x218)]({'type':0x0,'memberID':this[_0x2d872c(0x3b5)],'unitIDs':[_0x5a7aa6],'isForwarded':!0x1});}[_0x143723(0x40f)](_0x550544){const _0x3b3975=_0x143723;this[_0x3b3975(0x2f6)][_0x3b3975(0x37a)](_0x550544),this['_selfUnitIDs'][_0x3b3975(0x24c)]===0x0&&this['_heartbeatTimer']&&window['clearInterval'](this[_0x3b3975(0x33b)]);}[_0x143723(0x1a8)](){const _0x3a5d68=_0x143723;this['disposeWithMe'](_0x112c8e[_0x3a5d68(0x25f)](_0x265051[_0x3a5d68(0x351)](window,_0x3a5d68(0x3e4))['subscribe'](_0x61154c=>{const _0x5193e6=_0x3a5d68;if(_0x61154c[_0x5193e6(0x233)]!==_0x5233e1||!_0x61154c[_0x5193e6(0x421)])return;const _0xf1398c=JSON[_0x5193e6(0x428)](_0x61154c[_0x5193e6(0x421)]);this[_0x5193e6(0x243)](_0xf1398c);}))),window[_0x3a5d68(0x3ca)]('unload',()=>this[_0x3a5d68(0x218)]({'type':0x1,'memberID':this[_0x3a5d68(0x3b5)],'unitIDs':Array[_0x3a5d68(0x253)](this['_selfUnitIDs'])}));}[_0x143723(0x243)](_0x14552e){const _0x243013=_0x143723;switch(_0x14552e[_0x243013(0x288)]){case 0x0:this[_0x243013(0x406)](_0x14552e);break;case 0x1:this[_0x243013(0x200)](_0x14552e);break;case 0x2:this[_0x243013(0x2b1)](_0x14552e);break;}}[_0x143723(0x406)](_0x4b8586){const _0x532703=_0x143723,{unitIDs:_0x4aaa19,memberID:_0x5357c3,isForwarded:_0x2e3656}=_0x4b8586;_0x4aaa19[_0x532703(0x363)](_0x4450a=>{const _0x4b99f7=_0x532703;if(!_0x2e3656&&this[_0x4b99f7(0x36a)][_0x4b99f7(0x2ac)](_0x4450a)&&this[_0x4b99f7(0x1b3)](_0x4450a)[_0x4b99f7(0x320)](_0x2137d8['UnitStatus'][_0x4b99f7(0x1ca)]),!this['_unitOnClients'][_0x4b99f7(0x2ac)](_0x4450a)||!this[_0x4b99f7(0x36a)][_0x4b99f7(0x292)](_0x4450a)['has'](_0x5357c3)){const _0x3980ba=this[_0x4b99f7(0x36a)][_0x4b99f7(0x292)](_0x4450a)||new Set();_0x3980ba['add'](_0x5357c3),this['_unitOnClients'][_0x4b99f7(0x327)](_0x4450a,_0x3980ba),this[_0x4b99f7(0x317)](_0x5357c3);}}),_0x2e3656||this[_0x532703(0x218)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0x532703(0x2f6)]],'isForwarded':!0x0});}[_0x143723(0x317)](_0x3bf034){const _0x55a46a=_0x143723;this[_0x55a46a(0x1cf)](_0x3bf034);const _0x4c08f4=window[_0x55a46a(0x1bc)](()=>{const _0x2fc22a=_0x55a46a;this[_0x2fc22a(0x36a)][_0x2fc22a(0x363)](_0x13bfae=>{_0x13bfae['delete'](_0x3bf034);});},_0x23b3c7*0x2);this['_clearOtherTimers'][_0x55a46a(0x327)](_0x3bf034,_0x4c08f4);}['_removeClearOtherTimer'](_0xa71ce1){const _0x43e472=_0x143723;if(this[_0x43e472(0x410)][_0x43e472(0x2ac)](_0xa71ce1)){const _0x3d26aa=this[_0x43e472(0x410)][_0x43e472(0x292)](_0xa71ce1);_0x3d26aa&&window[_0x43e472(0x3ac)](_0x3d26aa),this[_0x43e472(0x410)][_0x43e472(0x327)](_0xa71ce1,null);}}['_handleLeaveEvent'](_0x32fad2){const _0x551f95=_0x143723,{memberID:_0x44322f,unitIDs:_0x14a63f}=_0x32fad2;_0x14a63f['forEach'](_0x5ebf20=>{const _0x3d1a1c=_0x2ab6;var _0x1e739b;const _0x3e4ed1=this[_0x3d1a1c(0x36a)][_0x3d1a1c(0x292)](_0x5ebf20);_0x3e4ed1&&(_0x3e4ed1[_0x3d1a1c(0x37a)](_0x44322f),(_0x1e739b=this[_0x3d1a1c(0x1b3)](_0x5ebf20))==null||_0x1e739b[_0x3d1a1c(0x320)](_0x3e4ed1['size']===0x0?_0x2137d8[_0x3d1a1c(0x1bb)]['NO_OTHER_CLIENTS_EDITING']:_0x2137d8['UnitStatus'][_0x3d1a1c(0x1ca)]));}),this[_0x551f95(0x1cf)](_0x44322f);}[_0x143723(0x2b1)](_0x506d7f){const _0x81f282=_0x143723;this['_scheduleClearOtherTimer'](_0x506d7f[_0x81f282(0x377)]);}[_0x143723(0x218)](_0x41e5a7){const _0xe7bac0=_0x143723;localStorage[_0xe7bac0(0x18f)](_0x5233e1,JSON[_0xe7bac0(0x22e)](_0x41e5a7));}['_scheduleHeartbeat'](){const _0x5b9343=_0x143723;this[_0x5b9343(0x33b)]=window['setInterval'](()=>{const _0x5a5c61=_0x5b9343;this['_send']({'type':0x2,'memberID':this[_0x5a5c61(0x3b5)]});},_0x23b3c7);}['_ensureSubject'](_0x452ee3){const _0x350493=_0x143723;return this[_0x350493(0x38d)][_0x350493(0x2ac)](_0x452ee3)||this[_0x350493(0x38d)]['set'](_0x452ee3,new _0x265051[(_0x350493(0x255))](_0x2137d8['UnitStatus'][_0x350493(0x37d)])),this[_0x350493(0x38d)]['get'](_0x452ee3);}}var _0x251ef3=(_0x2220d9=>(_0x2220d9[_0x2220d9[_0x143723(0x219)]=0x0]=_0x143723(0x219),_0x2220d9[_0x2220d9['OK']=0x1]='OK',_0x2220d9[_0x2220d9[_0x143723(0x337)]=0x2]=_0x143723(0x337),_0x2220d9[_0x2220d9[_0x143723(0x384)]=0x3]=_0x143723(0x384),_0x2220d9[_0x2220d9[_0x143723(0x2ce)]=0x4]=_0x143723(0x2ce),_0x2220d9[_0x2220d9[_0x143723(0x33a)]=0x5]=_0x143723(0x33a),_0x2220d9[_0x2220d9[_0x143723(0x32d)]=0x6]=_0x143723(0x32d),_0x2220d9[_0x2220d9[_0x143723(0x1e4)]=0x7]=_0x143723(0x1e4),_0x2220d9[_0x2220d9[_0x143723(0x31b)]=0x8]=_0x143723(0x31b),_0x2220d9[_0x2220d9[_0x143723(0x289)]=0x9]=_0x143723(0x289),_0x2220d9[_0x2220d9[_0x143723(0x185)]=0xa]=_0x143723(0x185),_0x2220d9[_0x2220d9[_0x143723(0x32e)]=0x1389]='CHANGESET_REVISION_CONFILICT',_0x2220d9[_0x2220d9[_0x143723(0x40c)]=0x1771]=_0x143723(0x40c),_0x2220d9[_0x2220d9[_0x143723(0x2aa)]=0x1772]=_0x143723(0x2aa),_0x2220d9[_0x2220d9['ENSURE_SNAPSHOT_EXECUTION']=0x1773]=_0x143723(0x1c6),_0x2220d9[_0x2220d9[_0x143723(0x364)]=0x1b59]=_0x143723(0x364),_0x2220d9[_0x2220d9['APPLY_NON_SEQUENTIAL_REVISION']=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x2220d9[_0x2220d9[_0x143723(0x3a2)]=0x1b5b]=_0x143723(0x3a2),_0x2220d9[_0x2220d9[_0x143723(0x414)]=0x1b5c]=_0x143723(0x414),_0x2220d9[_0x2220d9[_0x143723(0x297)]=0x1b5d]=_0x143723(0x297),_0x2220d9[_0x2220d9['CONNECTOR_DATA_TOO_LARGE']=0x1f41]=_0x143723(0x3ec),_0x2220d9[_0x2220d9[_0x143723(0x40b)]=0x2329]=_0x143723(0x40b),_0x2220d9[_0x2220d9[_0x143723(0x3e6)]=0x232a]=_0x143723(0x3e6),_0x2220d9[_0x2220d9[_0x143723(0x3c7)]=0x232b]=_0x143723(0x3c7),_0x2220d9[_0x2220d9[_0x143723(0x424)]=0x232c]=_0x143723(0x424),_0x2220d9[_0x2220d9['LICENSE_DISTRO_REJECTED']=0x232d]=_0x143723(0x1aa),_0x2220d9[_0x2220d9['YUUMI_UNABLE_LOAD_URL']=0x2711]='YUUMI_UNABLE_LOAD_URL',_0x2220d9[_0x2220d9[_0x143723(0x206)]=0x2712]=_0x143723(0x206),_0x2220d9[_0x2220d9[_0x143723(0x286)]=0x2713]='YUUMI_RATE_OVER_LIMIT',_0x2220d9[_0x2220d9[_0x143723(0x398)]=0x2714]=_0x143723(0x398),_0x2220d9[_0x2220d9[_0x143723(0x1c7)]=0x271a]='YUUMI_NO_CUBOID_FOR_QUESTION',_0x2220d9[_0x2220d9[_0x143723(0x18c)]=0x271b]=_0x143723(0x18c),_0x2220d9[_0x2220d9[_0x143723(0x3fb)]=0x271c]=_0x143723(0x3fb),_0x2220d9[_0x2220d9[_0x143723(0x1dd)]=0x271d]=_0x143723(0x1dd),_0x2220d9[_0x2220d9['YUUMI_PROMPT_MAX_TOKENS_EXCEEDED']=0x271e]=_0x143723(0x265),_0x2220d9[_0x2220d9[_0x143723(0x3fa)]=0x271f]=_0x143723(0x3fa),_0x2220d9[_0x2220d9['PY_RUNTIME_SCRIPT_ERROR']=0x2af9]=_0x143723(0x1e2),_0x2220d9[_0x2220d9[_0x143723(0x326)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x2220d9[_0x2220d9[_0x143723(0x276)]=0x2ee2]=_0x143723(0x276),_0x2220d9[_0x2220d9[_0x143723(0x19b)]=0x2ee3]=_0x143723(0x19b),_0x2220d9[_0x2220d9['USER_NOT_INVITED_CODE']=0x2ee4]=_0x143723(0x2c6),_0x2220d9[_0x2220d9[_0x143723(0x18a)]=0x2ee5]=_0x143723(0x18a),_0x2220d9[_0x2220d9[_0x143723(0x395)]=0x32c9]=_0x143723(0x395),_0x2220d9[_0x2220d9[_0x143723(0x1b0)]=0x32ca]=_0x143723(0x1b0),_0x2220d9[_0x2220d9[_0x143723(0x298)]=0x32cb]=_0x143723(0x298),_0x2220d9[_0x2220d9['UNRECOGNIZED']=-0x1]=_0x143723(0x2f3),_0x2220d9))(_0x251ef3||{}),_0x1a1072=Object[_0x143723(0x3da)],_0x83d4c7=(_0x66bdb6,_0x192ecf,_0x114f1e,_0x5cc7aa)=>{const _0x5acf22=_0x143723;for(var _0x16cbe8=_0x5cc7aa>0x1?void 0x0:_0x5cc7aa?_0x1a1072(_0x192ecf,_0x114f1e):_0x192ecf,_0x5bc49b=_0x66bdb6[_0x5acf22(0x370)]-0x1,_0x24b6ff;_0x5bc49b>=0x0;_0x5bc49b--)(_0x24b6ff=_0x66bdb6[_0x5bc49b])&&(_0x16cbe8=_0x24b6ff(_0x16cbe8)||_0x16cbe8);return _0x16cbe8;},_0x4c50a2=(_0x499357,_0x370683)=>(_0x4f9d75,_0x1ea0f1)=>_0x370683(_0x4f9d75,_0x1ea0f1,_0x499357);_0x39c320[_0x143723(0x3e2)]=class extends _0x112c8e[_0x143723(0x357)]{constructor(_0x1f311f,_0x3a5e41,_0x553930){const _0x32e21f=_0x143723;super(),this['_instanceService']=_0x1f311f,this['_httpService']=_0x3a5e41,this[_0x32e21f(0x29d)]=_0x553930;}async[_0x143723(0x397)](_0x29de28,_0x2bf68b,_0x3ab281,..._0x45a0db){const _0x39e1b8=_0x143723;var _0xd883e5,_0x32c21e,_0x5ca4ca,_0x1b7a6e;const _0x354bd1=this[_0x39e1b8(0x32b)][_0x39e1b8(0x2f0)]();if(!_0x354bd1)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x2776c1=((_0xd883e5=this[_0x39e1b8(0x29d)]['getConfig'](_0x2137d8[_0x39e1b8(0x407)]))!=null?_0xd883e5:_0x2137d8[_0x39e1b8(0x3be)])+'/'+_0x29de28+_0x39e1b8(0x41e)+_0x2bf68b,_0x10701c=new URL(window[_0x39e1b8(0x342)][_0x39e1b8(0x366)]),_0x48559d={'scriptId':_0x29de28,'runId':(_0x32c21e=_0x10701c[_0x39e1b8(0x215)]['get'](_0x39e1b8(0x2f9)))!=null?_0x32c21e:'','function':_0x2bf68b,'unitId':_0x354bd1[_0x39e1b8(0x249)](),'argsOfFunction':JSON[_0x39e1b8(0x22e)](_0x45a0db),'invokeId':(_0x5ca4ca=_0x3ab281[_0x39e1b8(0x18e)])!=null?_0x5ca4ca:'','executionId':(_0x1b7a6e=_0x3ab281[_0x39e1b8(0x2bd)])!=null?_0x1b7a6e:''};try{const _0x1b51e9=await this[_0x39e1b8(0x230)][_0x39e1b8(0x3e8)](_0x2776c1,{'body':_0x48559d});return _0x1b51e9['body'][_0x39e1b8(0x3aa)]&&_0x1b51e9[_0x39e1b8(0x273)][_0x39e1b8(0x3aa)]['code']!==_0x251ef3['OK']?_0x39e1b8(0x2e7):_0x1b51e9[_0x39e1b8(0x273)][_0x39e1b8(0x306)];}catch{return'Failed';}}},_0x39c320[_0x143723(0x3e2)]=_0x83d4c7([_0x4c50a2(0x0,_0x112c8e[_0x143723(0x1f7)]),_0x4c50a2(0x1,_0x112c8e['Inject'](_0x25f2b8['HTTPService'])),_0x4c50a2(0x2,_0x112c8e['IConfigService'])],_0x39c320[_0x143723(0x3e2)]),_0x39c320['CollaborationStatusDisplay']=_0x25d1fc,_0x39c320[_0x143723(0x1b4)]=_0x46e173,_0x39c320[_0x143723(0x2e8)]=_0x484a96,_0x39c320[_0x143723(0x1be)]=_0x1e849b,_0x39c320[_0x143723(0x278)]=_0x3ffeda,Object[_0x143723(0x18d)](_0x39c320,Symbol[_0x143723(0x1e3)],{'value':_0x143723(0x3e5)});}));function _0x4f04(){const _0x2ffa20=['DependentOn','getTypeOfUnitAdded$','getOffsetConfig','getFocusedUnit','UniverRpc','syncEditingCollabCursor','UNRECOGNIZED','row','drawWith','_selfUnitIDs','object','ONLINE','runId','@univerjs/docs','map','HTTPService','find','handleInsertCol','currentTheme$','MemberService','data','assignAColorForMemberID','useRef','_handleHover','collab-client.tooltip.reconnect','result','_urlService','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','0\x200\x2016\x2016','_scene','_color','none','@univerjs/network','session.will-retry','amd','_docTransformSelectionsService','handleInsertRow','168908yrcAdX','icon','handleInsertRangeMoveRight','url(#$1','unit','_scheduleClearOtherTimer','getCellPositionByOffset','takeUntil','createSocket','TOO_MANY_REQUESTS','IImageIoService','collaboration.single-unit.warning','findNodePositionByCharIndex','children','next','indexOf','useObservable','_toggleOffline','actions','on-line-single_clip0_910_349','INVITE_CODE_HAS_BEEN_UES','set','unshift','prototype','isArray','_instanceService','switchMap','ALREADY_EXISTS','CHANGESET_REVISION_CONFILICT','_uiPartsService','backgroundColor','mutations','_transformHistoryAndStateStack','_drawRectRange','DocSelectionManagerService','addObjects','0\x200\x2017\x2016','INTERNAL_ERROR','saveTaskMap','LOCAL_CACHE_INTERVAL','UNAUTHENTICATED','_heartbeatTimer','transformSelections','cursorInfo','handleIRemoveCol','Inject','search','Rect','location','popstate','_updateLocalCursor','handleMoveRange','_startDocCollabCursor','eventID','ICommandService','@univerjs/ui','addObject','_refreshCollabCursors','requireSession','getStateCache','UniverDocsUi','skeleton','_messageService','fromEvent','_refRangeService','DOC_RANGE_TYPE','_config','forwardRef','_onCursorUpdate','Disposable','_toggleOnline','urlChange$','fillRule','getActiveRange','setUndoRedoMutationParamsCache','min','propertyIsEnumerable','red.300','apply','DocStateChangeManagerService','clipPath','forEach','APPLY_REJECT','UniverEngineRender','href','_getAnchorBounding','collabStatus.offline','MoveRangeCommandId','_unitOnClients','docStateChange$','3218128fHytei','_hover','UniverProCollaboration','_revisionService','length','top','MUTATION','_docSyncEditingCollabCursorService','uni.network.url-service','collab-text-anchor-','color','memberID','UniverProCollaborationClientUi','UPDATE_CURSOR','delete','_cachedData','InsertRowCommandId','NO_OTHER_CLIENTS_EDITING','fillText','sessionStatus$','_disabled','_initDependencies','DocCollaborationEntity','_initStatusComponent','PERMISSION_DENIED','hide','_startSheetCollabCursor','getParam','Workbook','column','undoState','createElement','M0\x200H16V16H0z','_unitStatus','CollaborationDataLoaderController','subunit','_docSkeleton','getCoordByCell','history','_status$','#fff','WECHAT_HAS_BEEN_BOUND','@univerjs/rpc','runOnServer','YUUMI_SUBSCRIPTION_NOT_FOUND','params','max','Vector2','_cursorShapes','RevisionService','sheetId','ThemeService','use','_collabCursorController','APPLY_REVISION_CONFILICT','focused$','_onCursorDelete','_transformService','_beforeCloseService','runRefRangeMutations','RECT','CollaborationSessionService','error','split','clearTimeout','mapTo','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','collaboration.closeRoom','source','doc.mutation.rich-text-editing','IMessageService','handleDeleteRangeMoveLeft','dispose','_id','setShapeProps','cursorInfo$','currentColor','_memberService','_logService','onPointerLeave$','rgba(255,\x20255,\x20255,\x200.01)','InsertColCommandId','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','InsertRangeMoveRightCommandId','isTransformMutationsWithChangesetSuccess','off-line-single_clip0_910_343','OnLineSingle','univer-flex\x20univer-mr-2\x20univer-text-xl','_syncEditingCollabCursorService','@univerjs/sheets-ui','m1Prime','LICENSE_IMPORT_SIZE_EXCEEDED','permission.title','RegularPolygon','addEventListener','evenodd','TEXT_RANGE_LAYER_INDEX','currentSkeleton$','IBeforeCloseService','init','onRendered','deepClone','contains','DEFAULT_WS_SESSION_TICKET_URL','getSheetBySheetId','throttleTime','_hovered','removeParam','_removeCollabCursors','text','getOwnPropertyDescriptor','mask','RxDisposable','getValue','onPointerMove$','_context','_setupSubUnitSync','jsx','RemoteUniscriptService','_backgroundColor','storage','Module','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','subscribe','post','_collaborationUIEventService','_initEvent','_updateCollabCursors','CONNECTOR_DATA_TOO_LARGE','displayName','filter','add','SUBMIT_CHANGESET_TIMEOUT','trim','updateOfflineData','onMouseMove','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','jsxs','debounce','with','pushState','entityInit$','YUUMI_AI_RUN_FAILED','YUUMI_TABLE_NOT_FOUND_IN_UNIT','registerDependencies','IUIPartsService','[CollaborationDataLoaderController]','clsx','function','_hideTimer','fillStyle','CollaborationStatus','Error','call','_handleJoinEvent','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_saveCache','save','collab-text-range-','LICENSE_MAX_UNITS_EXCEEDED','SNAPSHOT_INVALID_SNAPSHOT','unitID','_initStatusListener','disposeUnit','_clearOtherTimers','_docStateChangeManagerService','operators','_saveTaskMap','APPLY_PERMISSION_DENIED','Plugin','height','xlink:href','handleInsertRangeMoveDown','_transformPreviousActiveRange','dispose$','includes','_onRefRangeChange','transformStateCache','/run/','onLocalMutation','getViewport','newValue','loadOfflineData','UniverDesign','LICENSE_EXPORT_SIZE_EXCEEDED','collaboration-client.offline-data-not-saved','ranges','triggerDblclick','parse','_assignedColors','subscribeEvent','getUndoRedoMutationParamsCache','OFFLINE','addHandlerCallback','restore','LOGIN_FAILED','getLocalCacheKey','UniverNetwork','_roomMembers$','collabStatus.conflict','INVITE_CODE_ALREADY_BOUND','setAlpha','YUUMI_ASYNCIO_CANCELLED','defineProperty','invokeId','setItem','1em','transformMutation','@univerjs/design','debounceTime','disposeWithMe','1254246AWwdIm','endRow','ITransformService','getItem','BrowserCollaborationSocketService','url(#on-line-single_clip0_910_349)','INVITE_CODE_REQUIRED','getCollabEntity$','connectInjector','editingUnit','registerRenderModule','Injector','JOIN_ROOM_FAILED','_online','_docTransformStateCacheService','UNIVER_SHEET','UniverCollaborationClientUIPlugin','UniverInstanceType','transformIMECache','_init','url(#off-line-single_clip0_910_343)','LICENSE_DISTRO_REJECTED','event$','getMergeData','...','measureText','Tooltip','MOBILE_HAS_BEEN_BOUND','idSuffix','FromArray','_ensureSubject','IURLService','m2Prime','SessionStatus','font','div','SOCKET_FAILED','IRemoteInstanceService','UnitStatus','setTimeout','Tools','WebBrowserSingleActiveUnitService','@univerjs/sheets','9MrtAwm','NodePositionConvertToCursor','UniverEngineFormula','@univerjs-pro/collaboration-client','ILogService','IRenderManagerService','ENSURE_SNAPSHOT_EXECUTION','YUUMI_NO_CUBOID_FOR_QUESTION','reconnect','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','OTHER_CLIENTS_EDITING','Optional','Subject','getActiveSheet','UNIVER_DOC','_removeClearOtherTimer','_docSkeletonManagerService','sessionTicket','getRangePointData','registerRefRange','_initCommandExecutedListener','_drawAnchor','replaceState','ACTIVE_UNIT_EVENT_CHANNEL','_range','SheetsSelectionsService','getCollabCursors$','loadUnit','PENDING','YUUMI_ALL_TABLES_IS_INVALID','roomMembers$','transformMutationsWithChangeset','beginPath','_notificationService','PY_RUNTIME_SCRIPT_ERROR','toStringTag','INVALID_ARGUMENT','on-line-single','createIdentifier','_name','UniverSheets','RemoveRowCommandId','#FFF','React','getAncestorScale','TEXT','session.connection-failed','getCurrent','svg','redoState','arc','fromEventSubject','_updateURLWithCurrentState','OffLineSingle','_registerRenderDependencies','IUniverInstanceService','_doCreateSocket','onPointerEnter$','_localStorageService','_entities','@univerjs-pro/collaboration','engine','blue.400','unitId','_handleLeaveEvent','handleDeleteRangeMoveUp','range','@univerjs/docs-ui','_shapes','string','YUUMI_URL_COL_OUT_OF_RANGE','onStarting','assign','DeleteRangeMoveLeftCommandId','@univerjs/engine-render','fill','_localCacheService','_getScale','flatMap','getSkeleton','collaboration-client-ui.config','_collabCursorState$','Warning','SHEET_VIEWPORT_KEY','endColumn','searchParams','ticket','tag','_send','UNDEFINED','_sheetSkeletonManagerService','collabStatus.notCollab','InsertRangeMoveDownCommandId','generateRandomId','textRanges','concat','CollaborationEvent','yellow.400','BuiltInUIPart','setParam','imageSourceType','DesktopCollaborationStatusDisplayController','_updateSubUnitFromURLParams','then','isActive','saveOfflineData','_univerInstanceService','EffectRefRangId','@univerjs/engine-formula','_injector','stringify','NOT_COLLAB','_httpService','registerComponent','getSheetId','key','transformRemoteChangeset','createInstance','_colorIndex','replace','_cursors','defIds','path','_commandService','sheetID','AWAITING','_drawTextRange','SOCKET_FAILED_RETRY','_getSheetObject','registerBeforeClose','attrs','_handleEvent','SetTextSelectionsOperation','getDocRanges','_anchor','getOwnPropertySymbols','className','getUnitId','distinctUntilChanged','_lastPointer','size','selection','CollaborationUIEventId','USERS_LEAVE','LOCAL_CACHE_INTERVAL_KEY','asObservable','getSheetObject','from','_collaborationController','BehaviorSubject','shareReplay','width','UniverDrawing','516490dCFmXt','selections','_docTransformIMECacheService','push','getMemberID','_initEntityListener','toDisposable','_getSaveTimeout','TRANSFORM_CHANGE_OBSERVABLE_TYPE','current','bottom','DocIMEInputManagerService','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','_imageIoService','name','SetWorksheetActivateCommand','extend','OTHER_CLIENT_EDITING','DataLoaderService','DisposableCollection','IConfigService','setStateCache','getRenderById','values','combineLatest','1121165kgsYrZ','body','ILocalStorageService','deserializeRangeWithSheet','INVALID_INVITE_CODE','LocaleService','WebURLService','serializeRangeWithSheet','univer-flex\x20univer-items-center','exhaustSavingTask','DocSkeletonManagerService','_initResize','COLORS','getColorFromTheme','_renderManagerService','startRow','getColor','collab-rect-range-','getMember','_dataLoaderService','YUUMI_RATE_OVER_LIMIT','CONFLICT','type','COMPLETION_FINISHED','startColumn','RemoveColCommandId','handleIRemoveRow','lineTo','clearInterval','getUnitStatus$','CollaborationController','black','get','_transformUndoRedoStack','Shape','INotificationService','origin','APPLY_DUPLICATED','EMAIL_HAS_BEEN_BOUND','_cursor','1101428thmPKn','debug','FETCH_MISS','_configService','_session','_docClipboardService','_render','MessageType','_registerDependencies','transformByState','ColorKit','merge','substring','_cursorInfo$','executeCommand','transform','SNAPSHOT_HAS_BEEN_REMOVED','hasOwnProperty','has','react/jsx-runtime','round','CollaborationUIEventService','getTypeOfUnitDisposed$','_handleHeartbeatEvent','complete','colorChannel1','_labelPosition','resize','addClipboardHook','_setupBeforeClosingHandler','wsSessionTicketUrl','defs','moveTo','getConfig','_collabSessionService','executionId','_getMergeRange','getRelativeToViewportCoord','_textBubble','isTransformMutationFailure','rxjs','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','_createSocketURL','onTransformChange$','USER_NOT_INVITED_CODE','UniverUi','6rvrmfA','_localeService','_getSessionTicket','_colorAssignService','collabCursorState$','_entityInit$','NOT_FOUND','useDependency','pipe','isEditing','SheetSkeletonManagerService','_eventUnsubscribe','UniverSheetsUi','exports','_anchorDot','_scheduleSaving','unsubscribe','ILocalCacheService','toString','collabStatus.synced','override','_draw','send','entries','SetDocZoomRatioOperation','_scheduleHeartbeat','10979442GCkVYS','@univerjs/core','closePath','green.600','onCommandExecuted','Failed','SheetCollabCursorShape','symbol','show','toRgbString','_themeService'];_0x4f04=function(){return _0x2ffa20;};return _0x4f04();}
|