@univerjs-pro/collaboration-client-ui 0.10.9-nightly.202509260614 → 0.10.10-experimental.20251010-3f807c5

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.
Files changed (49) hide show
  1. package/lib/cjs/facade.js +1 -1
  2. package/lib/cjs/index.js +1 -1
  3. package/lib/cjs/locale/ca-ES.js +1 -1
  4. package/lib/cjs/locale/en-US.js +1 -1
  5. package/lib/cjs/locale/es-ES.js +1 -1
  6. package/lib/cjs/locale/fa-IR.js +1 -1
  7. package/lib/cjs/locale/fr-FR.js +1 -1
  8. package/lib/cjs/locale/ko-KR.js +1 -1
  9. package/lib/cjs/locale/ru-RU.js +1 -1
  10. package/lib/cjs/locale/vi-VN.js +1 -1
  11. package/lib/cjs/locale/zh-CN.js +1 -1
  12. package/lib/cjs/locale/zh-TW.js +1 -1
  13. package/lib/es/facade.js +1 -1
  14. package/lib/es/index.js +1 -1
  15. package/lib/es/locale/ca-ES.js +1 -1
  16. package/lib/es/locale/en-US.js +1 -1
  17. package/lib/es/locale/es-ES.js +1 -1
  18. package/lib/es/locale/fa-IR.js +1 -1
  19. package/lib/es/locale/fr-FR.js +1 -1
  20. package/lib/es/locale/ko-KR.js +1 -1
  21. package/lib/es/locale/ru-RU.js +1 -1
  22. package/lib/es/locale/vi-VN.js +1 -1
  23. package/lib/es/locale/zh-CN.js +1 -1
  24. package/lib/es/locale/zh-TW.js +1 -1
  25. package/lib/facade.js +1 -1
  26. package/lib/index.js +1 -1
  27. package/lib/locale/ca-ES.js +1 -1
  28. package/lib/locale/en-US.js +1 -1
  29. package/lib/locale/es-ES.js +1 -1
  30. package/lib/locale/fa-IR.js +1 -1
  31. package/lib/locale/fr-FR.js +1 -1
  32. package/lib/locale/ko-KR.js +1 -1
  33. package/lib/locale/ru-RU.js +1 -1
  34. package/lib/locale/vi-VN.js +1 -1
  35. package/lib/locale/zh-CN.js +1 -1
  36. package/lib/locale/zh-TW.js +1 -1
  37. package/lib/umd/facade.js +1 -1
  38. package/lib/umd/index.js +1 -1
  39. package/lib/umd/locale/ca-ES.js +1 -1
  40. package/lib/umd/locale/en-US.js +1 -1
  41. package/lib/umd/locale/es-ES.js +1 -1
  42. package/lib/umd/locale/fa-IR.js +1 -1
  43. package/lib/umd/locale/fr-FR.js +1 -1
  44. package/lib/umd/locale/ko-KR.js +1 -1
  45. package/lib/umd/locale/ru-RU.js +1 -1
  46. package/lib/umd/locale/vi-VN.js +1 -1
  47. package/lib/umd/locale/zh-CN.js +1 -1
  48. package/lib/umd/locale/zh-TW.js +1 -1
  49. package/package.json +18 -18
package/lib/umd/index.js CHANGED
@@ -1 +1 @@
1
- function _0x19a4(_0x5b4c8a,_0x3888fc){const _0x46de52=_0x46de();return _0x19a4=function(_0x19a40b,_0x1166e0){_0x19a40b=_0x19a40b-0x19b;let _0x519e51=_0x46de52[_0x19a40b];return _0x519e51;},_0x19a4(_0x5b4c8a,_0x3888fc);}function _0x46de(){const _0x41ed4a=['collaboration.closeRoom','body','then','Tooltip','_drawTextRange','className','_config','sessionTicket','none','_collabSessionService','collabStatus.notCollab','@univerjs/docs','getRangePointData','pluginName','RegularPolygon','@univerjs/ui','focused$','Shape','location','PY_RUNTIME_SCRIPT_ERROR','_disabled','idSuffix','getSheetBySheetId','parse','addHandlerCallback','collabStatus.conflict','roomMembers','TEXT_RANGE_LAYER_INDEX','_selfUnitIDs','DocIMEInputManagerService','column','_configService','post','fromEvent','DocCollaborationEntity','getCurrentSelections','handleIRemoveRow','saveTaskMap','YUUMI_ASYNCIO_CANCELLED','_assignedColors','_document','some','popstate','_docStateChangeManagerService','UNIVER_SHEET','_labelPosition','jsxs','unload','RemoteUniscriptService','range','Vector2','roomMembers$','getParam','_session','_getSheetObject','_themeService','object','_heartbeatTimer','ILogService','save','_range','univerjs-icon\x20univerjs-icon-','LICENSE_IMPORT_SIZE_EXCEEDED','currentTheme$','@univerjs/core','YUUMI_ALL_TABLES_IS_INVALID','round','mask','RemoveColCommandId','yellow.400','_getScale','xlink:href','_cachedData','FromArray','getOwnPropertyDescriptor','color','getCellPositionByOffset','currentColor','/run/','MUTATION','0\x200\x2016\x2016','useCallback','handleMoveRange','_color','switchMap','_docTransformIMECacheService','842240JBMrrM','@univerjs/network','isArray','_cursorInfo$','hasOwnProperty','selection','INVALID_ARGUMENT','NOT_COLLAB','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','registerRenderModule','CHANGESET_REVISION_CONFILICT','_unitStatus','getStateCache','defs','Optional','_scheduleHeartbeat','_status$','set','IConfigService','44430YILYuO','isTransformMutationsWithChangesetSuccess','loadOfflineData','white','transformStateCache','_name','Disposable','runOnServer','_removeClearOtherTimer','USER_NOT_INVITED_CODE','IRemoteInstanceService','UniverEngineRender','CollaborationDataLoaderController','show','_univerInstanceService','_ensureSubject','clearTimeout','subunit','SNAPSHOT_HAS_BEEN_REMOVED','searchParams','shareReplay','_registerDependencies','_collabCursorState$','getOwnPropertySymbols','takeUntil','SHEET_VIEWPORT_KEY','UniverCollaborationClientUIPlugin','_toggleOffline','DocStateChangeManagerService','React','SOCKET_FAILED_RETRY','OffLineIcon','_collabCursorController','_initEntityListener','_updateSubUnitFromURLParams','editingUnit','APPLY_REVISION_CONFILICT','CLOSE_ROOM','_scene','ticket','replaceDocRanges','react','ILocalStorageService','pipe','getTypeOfUnitAdded$','invokeId','@univerjs-pro/collaboration','clearInterval','BehaviorSubject','replaceState','INVALID_INVITE_CODE','contains','NOT_FOUND','executionId','_scheduleSaving','_getMergeRange','dispose$','_textBubble','measureText','actions','LOCAL_CACHE_INTERVAL','code','_saveTaskMap','toString','onTransformChange$','session.connection-failed','has','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','endRow','CollaborationUIEventId','whenReady','UnitStatus','doc.mutation.rich-text-editing','@univerjs/engine-render','LocaleService','RxDisposable','_syncEditingCollabCursorService','url(#$1','APPLY_DUPLICATED','_hideTimer','_initDependencies','#FFF','prototype','jsx','_backgroundColor','UniverSheetsUi','_toggleOnline','ACTIVE_UNIT_EVENT_CHANNEL','@univerjs/engine-formula','28gYlEkb','_hover','_transformUndoRedoStack','SheetsSelectionsService','_initStatusComponent','DesktopCollaborationStatusDisplayController','_colorAssignService','ENSURE_SNAPSHOT_EXECUTION','all','combineLatest','_removeCollabCursors','getUniverSheetInstance','UniverDocs','on-line-icon_clip0_910_349','getSheetId','transformSelections','YUUMI_RATE_OVER_LIMIT','_roomMembers$','useDependency','CollaborationSocketService','69fOkJYn','_shapes','subscribeEvent','serializeRangeWithSheet','call','indexOf','toRgbString','forEach','_beforeCloseService','getCurrentRevOfUnit','eventID','Rect','Failed','http://www.w3.org/2000/svg','react/jsx-runtime','@univerjs/docs-ui','_refreshCollabCursors','handleDeleteRangeMoveLeft','permission.content','SetWorksheetActivateCommand','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','exhaustSavingTask','UniverDesign','_logService','SYNCED','_commandService','concat','trim','collaboration-client.offline-data-not-saved','function','DependentOn','push','_handleLeaveEvent','debounceTime','send','operators','session.will-retry','IRenderManagerService','handleDeleteRangeMoveUp','149848qCVCzk','TOO_MANY_REQUESTS','getColor','restore','unshift','_docTransformStateCacheService','search','registerDependencies','IImageIoService','get','_collaborationUIEventService','_imageIoService','_messageService','_anchorDot','pushState','getVpScrollXYInfoByPosToVp','assignAColorForMemberID','sheetId','activeSheet$','distinctUntilChanged','_startDocCollabCursor','event$','getUnitId','RECT','collabStatus.offline','off-line-icon_clip0_910_343','COLORS','MoveRangeCommandId','values','lineTo','sessionStatus$','CollaborationStatus','addClipboardHook','runId','_getSaveTimeout','_entityInit$','transformByState','sheetID','DataLoaderService','_cursor','Plugin','MemberService','uni.network.url-service','getOffsetConfig','@univerjs/drawing','fillStyle','EMAIL_HAS_BEEN_BOUND','transformMutation','isTransformMutationFailure','YUUMI_CONNECTOR_URL_NOT_FOUND','filter','min','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','getCurrentUnitForType','150402PDnDIn','startColumn','generateRandomId','SUBMIT_CHANGESET_TIMEOUT','removeParam','red.300','_onRefRangeChange','includes','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','debounce','asObservable','collabStatus.syncing','_renderManagerService','resize','endColumn','_init','HEADER_MENU','registerRefRange','setShapeProps','attrs','ISocketService','getAncestorScale','addObject','MessageType','createIdentifier','UniverCore','Unknown\x20user','VIEW_MAIN','_scheduleClearOtherTimer','DOC_RANGE_TYPE','defIds','Workbook','Module','InsertRangeMoveRightCommandId','width','SetTextSelectionsOperation','ColorKit','_drawAnchor','getMergeData','updateOfflineData','IUIPartsService','Tools','OFFLINE','@univerjs/sheets','_setupSubUnitSync','_memberService','Inject','setStateCache','deepClone','getActiveSheet','name','_docClipboardService','ONLINE','next','setAlpha','ISnapshotServerService','green.600','_registerRenderDependencies','_context','skeleton','syncEditingCollabCursor','LICENSE_DISTRO_REJECTED','AWAITING_WITH_PENDING','split','_handleHeartbeatEvent','clipPath','dispose','string','closePath','ThemeService','YUUMI_SUBSCRIPTION_NOT_FOUND','executeCommand','isActive','_transformPreviousActiveRange','_eventUnsubscribe','_initCommandExecutedListener','getColorFromTheme','INTERNAL_ERROR','USERS_LEAVE','SOCKET_FAILED','Rectangle','fillText','subUnitId','UPDATE_CURSOR','_initStatusListener','WebBrowserSingleActiveUnitService','getCollabEntity$','urlChange$','univer-flex\x20univer-items-center','init','Injector','transformMutationsWithChangeset','delete','PERMISSION_DENIED','setItem','_handleHover','BuiltInUIPart','assign','storage','merge','2596797wdIAtq','MOBILE_HAS_BEEN_BOUND','useObservable','BrowserCollaborationSocketService','univer-mr-2\x20univer-flex\x20univer-text-xl','0\x200\x2017\x2016','override','_uiPartsService','LOCAL_CACHE_INTERVAL_KEY','IURLService','_getSessionTicket','mapTo','throttleTime','setUndoRedoMutationParamsCache','newValue','M0\x200H16V16H0z','type','MOBILE_VERIFY_CODE_MISMATCH','getRenderById','OTHER_CLIENT_EDITING','_unitOnClients','ranges','_collaborationController','hide','_localStorageService','error','startsWith','children','debug','_refRangeService','APPLY_REJECT','drawWith','ALREADY_EXISTS','bold\x2013px\x20Source\x20Han\x20Sans\x20CN','_transformService','_notificationService','_onCursorDelete','_localeService','InsertRangeMoveDownCommandId','EffectRefRangId','LICENSE_MAX_UNITS_EXCEEDED','getCollabCursors$','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','setParam','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','icon','colorChannel1','params','with','div','SetDocZoomRatioOperation','exports','13854ObnzOw','onPointerLeave$','_startSheetCollabCursor','random','getUnitStatus$','rxjs','clsx','UNRECOGNIZED','unitId','INVITE_CODE_REQUIRED','_doCreateSocket','getUndoRedoMutationParamsCache','from','_handleEvent','DeleteRangeMoveUpCommandId','handleInsertRangeMoveRight','disposeWithMe','IMessageService','_updateURLWithCurrentState','_docSyncEditingCollabCursorService','getCoordByCell','currentSkeleton$','saveOfflineData','1em','labelPosition','imageSourceType','_initResize','m1Prime','data','_drawRectRange','_injector','symbol','toDisposable','_handleJoinEvent','text','cursorInfo$','_send','createInstance','createSocket','UniverInstanceType','DeleteRangeMoveLeftCommandId','unitID','unit','_entities','createElement','UniverDocsUi','YUUMI_AI_RUN_FAILED','collab-text-anchor-','Error','triggerDblclick','setTimeout','forwardRef','getFocusedUnit','top','onStarting','UniverRpc','arc','add','InsertRowCommandId','on-line-icon','displayName','rgba(255,\x20255,\x20255,\x200.01)','ILocalCacheService','CONFLICT','UniverProCollaborationClient','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','ITransformService','YUUMI_UNABLE_LOAD_URL','_dataLoaderService','getConfig','size','YUUMI_NO_CUBOID_FOR_QUESTION','APPLY_PERMISSION_DENIED','APPLY_NON_SEQUENTIAL_REVISION','replace','CollaborationUIEventService','_docTransformSelectionsService','collab-rect-range-','RichTextEditingMutation','height','addEventListener','touchDependencies','_instanceService','_clearOtherTimers','YUUMI_URL_COL_OUT_OF_RANGE','_getAnchorBounding','_online','runRefRangeMutations','findNodePositionByCharIndex','engine','IDocClipboardService','amd','getDocRanges','stringify','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','UniverSheets','_transformHistoryAndStateStack','_createSocketURL','map','toStringTag','mergeOverrideWithDependencies','redoState','setInterval','black','CONNECTOR_DATA_TOO_LARGE','fill','docStateChange$','bottom','_anchor','WECHAT_HAS_BEEN_BOUND','path','UniverNetwork','_draw','history','memberID','_lastPointer','_id','48zaCbtP','tag','getActiveRange','use','purple.300','getTypeOfUnitDisposed$','_httpService','svg','LICENSE_EXPORT_SIZE_EXCEEDED','hovered','UniverProCollaborationClientUi','LOGIN_FAILED','RevisionService','handleInsertRangeMoveDown','COMPLETION_FINISHED','CollaborationController','INVITE_CODE_HAS_BEEN_UES','getValue','onPointerEnter$','Warning','IUniverInstanceService','cursorInfo','DocSelectionManagerService','_docSkeletonManagerService','length','HTTPService','mutations','_cursors','wsSessionTicketUrl','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','complete','getLocalCacheKey','handleInsertRow','_saveCache','evenodd','INotificationService','IBeforeCloseService','onMouseMove','@univerjs/design','UNDEFINED','...','registerComponent','getUnhiddenWorksheets','find','jiqing.500','transformRemoteChangeset','CommandType','_urlService','_updateLocalCursor','SNAPSHOT_INVALID_SNAPSHOT','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','WebSocketService','collabCursorState$','onCommandExecuted','saveImage','flatMap','_hovered','defineProperty','_colorIndex','TEXT','_onCursorUpdate','collaboration-client-ui.config','NO_OTHER_CLIENTS_EDITING','SessionStatus','deserializeRangeWithSheet','collabStatus.fetchMiss','_updateCollabCursors','collabStatus.synced','transformIMECache','ICommandService','entries','UNIVER_DOC','Subject','SheetSkeletonManagerService','UniverDrawing','_cursorShapes','_render','171325gJbufW','UNAUTHENTICATED','INVITE_CODE_ALREADY_BOUND','_localCacheService','_setupBeforeClosingHandler','_sheetSkeletonManagerService','extend','handleInsertCol','getSkeleton','subscribe','row','href','CollaborationEvent','getMemberID','m2Prime','UniverCollaborationClientPlugin','UniverProCollaboration'];_0x46de=function(){return _0x41ed4a;};return _0x46de();}(function(_0x2cfb75,_0xc5c33e){const _0x53bbd5=_0x19a4,_0x280303=_0x2cfb75();while(!![]){try{const _0x12b69f=parseInt(_0x53bbd5(0x261))/0x1+parseInt(_0x53bbd5(0x19f))/0x2*(-parseInt(_0x53bbd5(0x348))/0x3)+-parseInt(_0x53bbd5(0x214))/0x4*(parseInt(_0x53bbd5(0x2db))/0x5)+parseInt(_0x53bbd5(0x3a6))/0x6*(parseInt(_0x53bbd5(0x334))/0x7)+-parseInt(_0x53bbd5(0x36f))/0x8+parseInt(_0x53bbd5(0x40a))/0x9+-parseInt(_0x53bbd5(0x2c8))/0xa;if(_0x12b69f===_0xc5c33e)break;else _0x280303['push'](_0x280303['shift']());}catch(_0x2c1ec8){_0x280303['push'](_0x280303['shift']());}}}(_0x46de,0x2eaf2),function(_0x3733ea,_0x4afef7){const _0x4bab13=_0x19a4;typeof exports==_0x4bab13(0x2aa)&&typeof module<'u'?_0x4afef7(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x4bab13(0x365)&&define[_0x4bab13(0x1fa)]?define([_0x4bab13(0x19e),_0x4bab13(0x356),'@univerjs-pro/collaboration-client',_0x4bab13(0x2b2),_0x4bab13(0x281),_0x4bab13(0x1a4),_0x4bab13(0x23a),_0x4bab13(0x304),'@univerjs/rpc',_0x4bab13(0x3d1),_0x4bab13(0x324),_0x4bab13(0x2c9),_0x4bab13(0x357),_0x4bab13(0x39b),_0x4bab13(0x309),_0x4bab13(0x27d),_0x4bab13(0x333),'rxjs/operators','@univerjs/sheets-ui'],_0x4afef7):(_0x3733ea=typeof globalThis<'u'?globalThis:_0x3733ea||self,_0x4afef7(_0x3733ea[_0x4bab13(0x21e)]={},_0x3733ea[_0x4bab13(0x2f8)],_0x3733ea[_0x4bab13(0x1df)],_0x3733ea[_0x4bab13(0x3bf)],_0x3733ea['UniverUi'],_0x3733ea[_0x4bab13(0x1a4)],_0x3733ea[_0x4bab13(0x35e)],_0x3733ea['React'],_0x3733ea[_0x4bab13(0x1d6)],_0x3733ea[_0x4bab13(0x1fe)],_0x3733ea[_0x4bab13(0x2e6)],_0x3733ea[_0x4bab13(0x20e)],_0x3733ea[_0x4bab13(0x1cc)],_0x3733ea[_0x4bab13(0x25e)],_0x3733ea[_0x4bab13(0x271)],_0x3733ea[_0x4bab13(0x340)],_0x3733ea['UniverEngineFormula'],_0x3733ea[_0x4bab13(0x1a4)][_0x4bab13(0x36b)],_0x3733ea[_0x4bab13(0x330)]));}(this,function(_0x9de135,_0x5dfb74,_0x3b3567,_0x2c2192,_0x214f56,_0x39a97e,_0x4f24da,_0x197005,_0x30a3e,_0x40b606,_0xeac254,_0x1f436f,_0x4e1317,_0x4251fe,_0x542b31,_0x28f6a3,_0x46218b,_0x5e9058,_0x5b36e4){'use strict';const _0x263a40=_0x19a4;var _0x4ff1f6=Object[_0x263a40(0x24d)],_0x7509f4=(_0x1b3401,_0x30586a,_0x722cf)=>_0x30586a in _0x1b3401?_0x4ff1f6(_0x1b3401,_0x30586a,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x722cf}):_0x1b3401[_0x30586a]=_0x722cf,_0x193c38=(_0x3183dc,_0x3c3c7f,_0x3c8c30)=>_0x7509f4(_0x3183dc,typeof _0x3c3c7f!=_0x263a40(0x1be)?_0x3c3c7f+'':_0x3c3c7f,_0x3c8c30),_0x12749e=function(){const _0xa6c845=_0x263a40;return _0x12749e=Object[_0xa6c845(0x407)]||function(_0x532eaa){const _0x3ee8b1=_0xa6c845;for(var _0x463f3f,_0x5d3cff=0x1,_0x83f3ee=arguments[_0x3ee8b1(0x22c)];_0x5d3cff<_0x83f3ee;_0x5d3cff++){_0x463f3f=arguments[_0x5d3cff];for(var _0x23c297 in _0x463f3f)Object[_0x3ee8b1(0x32d)][_0x3ee8b1(0x2cc)][_0x3ee8b1(0x34c)](_0x463f3f,_0x23c297)&&(_0x532eaa[_0x23c297]=_0x463f3f[_0x23c297]);}return _0x532eaa;},_0x12749e['apply'](this,arguments);},_0x5c6138=function(_0x19f16c,_0x20a73c){const _0x44006e=_0x263a40;var _0x4720e1={};for(var _0x184a6a in _0x19f16c)Object['prototype'][_0x44006e(0x2cc)][_0x44006e(0x34c)](_0x19f16c,_0x184a6a)&&_0x20a73c[_0x44006e(0x34d)](_0x184a6a)<0x0&&(_0x4720e1[_0x184a6a]=_0x19f16c[_0x184a6a]);if(_0x19f16c!=null&&typeof Object[_0x44006e(0x2f2)]==_0x44006e(0x365)){for(var _0x301b20=0x0,_0x184a6a=Object[_0x44006e(0x2f2)](_0x19f16c);_0x301b20<_0x184a6a['length'];_0x301b20++)_0x20a73c[_0x44006e(0x34d)](_0x184a6a[_0x301b20])<0x0&&Object[_0x44006e(0x32d)]['propertyIsEnumerable']['call'](_0x19f16c,_0x184a6a[_0x301b20])&&(_0x4720e1[_0x184a6a[_0x301b20]]=_0x19f16c[_0x184a6a[_0x301b20]]);}return _0x4720e1;},_0x35a74d=_0x197005[_0x263a40(0x1d2)](function(_0xaeaada,_0x4235a1){const _0x203b76=_0x263a40;var _0x2e322e=_0xaeaada[_0x203b76(0x437)],_0x3f9062=_0xaeaada['id'],_0x7e733a=_0xaeaada[_0x203b76(0x277)],_0x107565=_0xaeaada[_0x203b76(0x267)],_0x29b9aa=_0x5c6138(_0xaeaada,[_0x203b76(0x437),'id',_0x203b76(0x277),_0x203b76(0x267)]),_0x3f178f=_0x203b76(0x2af)[_0x203b76(0x362)](_0x3f9062,'\x20')['concat'](_0x7e733a||'')[_0x203b76(0x363)](),_0xd894e6=_0x197005['useRef']('_'['concat'](_0x43377f()));return _0x35b70c(_0x2e322e,''[_0x203b76(0x362)](_0x3f9062),{'defIds':_0x2e322e[_0x203b76(0x3c4)],'idSuffix':_0xd894e6['current']},_0x12749e({'ref':_0x4235a1,'className':_0x3f178f},_0x29b9aa),_0x107565);});function _0x35b70c(_0x4ccf50,_0x47dedb,_0x4d4a8d,_0x139a66,_0x569448){const _0x431294=_0x263a40;return _0x197005[_0x431294(0x1cb)](_0x4ccf50[_0x431294(0x215)],_0x12749e(_0x12749e({'key':_0x47dedb},_0x228673(_0x4ccf50,_0x4d4a8d,_0x569448)),_0x139a66),(_0x20ce69(_0x4ccf50,_0x4d4a8d)[_0x431294(0x425)]||[])[_0x431294(0x201)](function(_0x5aea3f,_0x4ccf73){const _0x4a01d7=_0x431294;return _0x35b70c(_0x5aea3f,''['concat'](_0x47dedb,'-')[_0x4a01d7(0x362)](_0x4ccf50[_0x4a01d7(0x215)],'-')[_0x4a01d7(0x362)](_0x4ccf73),_0x4d4a8d,void 0x0,_0x569448);}));}function _0x228673(_0x28d10d,_0x3c0f7d,_0x3c36d6){const _0x4349d9=_0x263a40;var _0x183c1e=_0x12749e({},_0x28d10d[_0x4349d9(0x3b9)]);_0x3c36d6!=null&&_0x3c36d6[_0x4349d9(0x438)]&&_0x183c1e['fill']===_0x4349d9(0x438)&&(_0x183c1e[_0x4349d9(0x208)]=_0x3c36d6[_0x4349d9(0x438)]),_0x28d10d['tag']===_0x4349d9(0x2b5)&&_0x183c1e['id']&&(_0x183c1e['id']=_0x183c1e['id']+_0x3c0f7d[_0x4349d9(0x287)]),Object['entries'](_0x183c1e)[_0x4349d9(0x34f)](function(_0x3251af){const _0x22884f=_0x4349d9;var _0x4171f0=_0x3251af[0x0],_0x48e272=_0x3251af[0x1];_0x4171f0===_0x22884f(0x2b5)&&typeof _0x48e272=='string'&&(_0x183c1e[_0x4171f0]=_0x48e272['replace'](/url\(#(.*)\)/,'url(#$1'['concat'](_0x3c0f7d['idSuffix'],')')));});var _0x4ed87f=_0x3c0f7d[_0x4349d9(0x3c4)];return!_0x4ed87f||_0x4ed87f[_0x4349d9(0x22c)]===0x0||(_0x28d10d[_0x4349d9(0x215)]===_0x4349d9(0x217)&&_0x183c1e['xlink:href']&&(_0x183c1e['xlink:href']=_0x183c1e[_0x4349d9(0x2b9)]+_0x3c0f7d[_0x4349d9(0x287)]),Object[_0x4349d9(0x25a)](_0x183c1e)[_0x4349d9(0x34f)](function(_0x4093e6){const _0x360fa4=_0x4349d9;var _0x419f9a=_0x4093e6[0x0],_0x5c8c1e=_0x4093e6[0x1];typeof _0x5c8c1e=='string'&&(_0x183c1e[_0x419f9a]=_0x5c8c1e[_0x360fa4(0x1e9)](/url\(#(.*)\)/,_0x360fa4(0x328)['concat'](_0x3c0f7d['idSuffix'],')')));})),_0x183c1e;}function _0x20ce69(_0x4381bb,_0x3ad863){const _0x47b5ca=_0x263a40;var _0x2c2e08,_0x9a1dfb=_0x3ad863[_0x47b5ca(0x3c4)];return!_0x9a1dfb||_0x9a1dfb[_0x47b5ca(0x22c)]===0x0?_0x4381bb:_0x4381bb[_0x47b5ca(0x215)]===_0x47b5ca(0x2d5)&&(!((_0x2c2e08=_0x4381bb[_0x47b5ca(0x425)])===null||_0x2c2e08===void 0x0)&&_0x2c2e08['length'])?_0x12749e(_0x12749e({},_0x4381bb),{'children':_0x4381bb['children'][_0x47b5ca(0x201)](function(_0x4f2ecf){const _0x38310b=_0x47b5ca;return typeof _0x4f2ecf[_0x38310b(0x3b9)]['id']==_0x38310b(0x3e9)&&_0x9a1dfb&&_0x9a1dfb[_0x38310b(0x3ad)](_0x4f2ecf[_0x38310b(0x3b9)]['id'])?_0x12749e(_0x12749e({},_0x4f2ecf),{'attrs':_0x12749e(_0x12749e({},_0x4f2ecf['attrs']),{'id':_0x4f2ecf['attrs']['id']+_0x3ad863[_0x38310b(0x287)]})}):_0x4f2ecf;})}):_0x4381bb;}function _0x43377f(){const _0x3965bc=_0x263a40;return Math[_0x3965bc(0x1a2)]()[_0x3965bc(0x31a)](0x24)['substring'](0x2,0x8);}_0x35a74d['displayName']='UniverIcon';var _0x2509cd={'tag':_0x263a40(0x21b),'attrs':{'xmlns':_0x263a40(0x355),'fill':'none','viewBox':_0x263a40(0x2c2),'width':'1em','height':_0x263a40(0x1b6)},'children':[{'tag':'g','attrs':{'clipPath':'url(#off-line-icon_clip0_910_343)'},'children':[{'tag':_0x263a40(0x20d),'attrs':{'stroke':_0x263a40(0x2bf),'d':_0x263a40(0x1e0),'strokeLinecap':_0x263a40(0x2b4),'strokeLinejoin':_0x263a40(0x2b4),'strokeWidth':1.2}}]},{'tag':'defs','attrs':{},'children':[{'tag':'clipPath','attrs':{'id':_0x263a40(0x388)},'children':[{'tag':_0x263a40(0x20d),'attrs':{'fill':_0x263a40(0x2de),'d':_0x263a40(0x419)}}]}]}],'defIds':[_0x263a40(0x388)]},_0x33730a=_0x197005['forwardRef'](function(_0x3319d2,_0x569d38){const _0x175de1=_0x263a40;return _0x197005[_0x175de1(0x1cb)](_0x35a74d,Object[_0x175de1(0x407)]({},_0x3319d2,{'id':'off-line-icon','ref':_0x569d38,'icon':_0x2509cd}));});_0x33730a[_0x263a40(0x1db)]=_0x263a40(0x2fa);var _0x47627d={'tag':_0x263a40(0x21b),'attrs':{'xmlns':_0x263a40(0x355),'fill':_0x263a40(0x27a),'viewBox':_0x263a40(0x40f),'width':'1em','height':_0x263a40(0x1b6)},'children':[{'tag':'g','attrs':{'clipPath':'url(#on-line-icon_clip0_910_349)'},'children':[{'tag':_0x263a40(0x20d),'attrs':{'stroke':_0x263a40(0x2bf),'d':'M4.5865\x2011.6499C3.36983\x2011.6499\x201.6665\x2011.1024\x201.6665\x208.9124C1.6665\x206.3574\x204.2215\x205.8099\x204.9515\x205.8099C5.3165\x204.5324\x206.0465\x202.5249\x208.9665\x202.5249C11.5215\x202.5249\x2012.6165\x203.9849\x2012.9815\x205.2624C12.9815\x205.2624\x2016.2665\x205.6274\x2016.2665\x208.7299C16.2665\x2010.9199\x2014.8065\x2011.6499\x2013.3465\x2011.6499M6.7767\x2011.6497L8.9667\x2013.4747L11.8867\x209.82466','strokeLinecap':_0x263a40(0x2b4),'strokeLinejoin':_0x263a40(0x2b4),'strokeWidth':1.2}}]},{'tag':_0x263a40(0x2d5),'attrs':{},'children':[{'tag':_0x263a40(0x3e7),'attrs':{'id':_0x263a40(0x341)},'children':[{'tag':_0x263a40(0x20d),'attrs':{'fill':'white','d':_0x263a40(0x419),'transform':'translate(.97)'}}]}]}],'defIds':[_0x263a40(0x341)]},_0x233b03=_0x197005[_0x263a40(0x1d2)](function(_0x476cf8,_0x2af3ea){const _0x489280=_0x263a40;return _0x197005[_0x489280(0x1cb)](_0x35a74d,Object[_0x489280(0x407)]({},_0x476cf8,{'id':_0x489280(0x1da),'ref':_0x2af3ea,'icon':_0x47627d}));});_0x233b03[_0x263a40(0x1db)]='OnLineIcon';function _0x381bd3(_0x249edc){const _0x58408e=_0x263a40;switch(_0x249edc){case _0x3b3567[_0x58408e(0x38e)][_0x58408e(0x3d0)]:return _0x58408e(0x387);case _0x3b3567[_0x58408e(0x38e)][_0x58408e(0x1de)]:return _0x58408e(0x28b);case _0x3b3567[_0x58408e(0x38e)]['FETCH_MISS']:return _0x58408e(0x255);case _0x3b3567[_0x58408e(0x38e)][_0x58408e(0x2cf)]:return _0x58408e(0x27c);case _0x3b3567['CollaborationStatus']['AWAITING']:case _0x3b3567[_0x58408e(0x38e)][_0x58408e(0x3e4)]:return _0x58408e(0x3b1);case _0x3b3567['CollaborationStatus'][_0x58408e(0x360)]:case _0x3b3567[_0x58408e(0x38e)]['PENDING']:return _0x58408e(0x257);}}function _0x2885e3(_0x4c2e00){const _0x134bc3=_0x263a40,{status$:_0xc3a8e8}=_0x4c2e00,_0x4c784a=_0x214f56[_0x134bc3(0x40c)](_0xc3a8e8,_0x3b3567[_0x134bc3(0x38e)][_0x134bc3(0x2cf)]),_0xca157b=_0x214f56[_0x134bc3(0x346)](_0x2c2192['LocaleService']),_0x52e30b=_0x214f56[_0x134bc3(0x346)](_0x3b3567['CollaborationSessionService']),_0x5c2728=_0x4c784a!==_0x3b3567[_0x134bc3(0x38e)][_0x134bc3(0x3d0)],_0x15677e=_0xca157b['t'](_0x381bd3(_0x4c784a)),_0x2e43aa=_0x5c2728?_0x5dfb74[_0x134bc3(0x32e)](_0x233b03,{}):_0x5dfb74['jsx'](_0x33730a,{}),_0xf30b9b=_0x197005[_0x134bc3(0x2c3)](()=>{_0x5c2728||_0x52e30b['reconnect']();},[_0x5c2728,_0x52e30b]);function _0x3d6c44(){const _0x5685e0=_0x134bc3;return _0x5dfb74[_0x5685e0(0x2a0)](_0x5685e0(0x19c),{'className':_0x5685e0(0x3fe),'onClick':_0xf30b9b,'children':[_0x5dfb74['jsx'](_0x5685e0(0x19c),{'className':_0x4f24da[_0x5685e0(0x1a5)](_0x5685e0(0x40e),{'univer-text-green-500':_0x5c2728,'univer-text-red-500':!_0x5c2728}),'children':_0x2e43aa}),_0x5dfb74[_0x5685e0(0x32e)](_0x5685e0(0x19c),{'className':_0x5685e0(0x2d0),'children':_0x15677e})]});}return _0x5c2728?_0x3d6c44():_0x5dfb74[_0x134bc3(0x32e)](_0x4f24da[_0x134bc3(0x275)],{'title':_0xca157b['t']('collab-client.tooltip.reconnect'),'children':_0x3d6c44()});}var _0x2e2ca5=Object[_0x263a40(0x2bc)],_0x5d3706=(_0x77185f,_0x48f066,_0x2e14cb,_0x34fd0e)=>{const _0x53fd70=_0x263a40;for(var _0x50bd27=_0x34fd0e>0x1?void 0x0:_0x34fd0e?_0x2e2ca5(_0x48f066,_0x2e14cb):_0x48f066,_0x2bce80=_0x77185f[_0x53fd70(0x22c)]-0x1,_0x37cfce;_0x2bce80>=0x0;_0x2bce80--)(_0x37cfce=_0x77185f[_0x2bce80])&&(_0x50bd27=_0x37cfce(_0x50bd27)||_0x50bd27);return _0x50bd27;},_0x2a12c8=(_0x463cd6,_0xcaa718)=>(_0x593caa,_0x5dfe3a)=>_0xcaa718(_0x593caa,_0x5dfe3a,_0x463cd6);_0x9de135[_0x263a40(0x339)]=class extends _0x2c2192[_0x263a40(0x2e1)]{constructor(_0x4549fd,_0x395a3d,_0x504de7,_0x1ad091){const _0x1cf70c=_0x263a40;super(),_0x193c38(this,_0x1cf70c(0x2d8),new _0x39a97e[(_0x1cf70c(0x30b))](_0x3b3567['CollaborationStatus'][_0x1cf70c(0x2cf)])),(this[_0x1cf70c(0x2e9)]=_0x4549fd,this[_0x1cf70c(0x1bd)]=_0x395a3d,this['_collaborationController']=_0x504de7,this[_0x1cf70c(0x411)]=_0x1ad091,this[_0x1cf70c(0x338)](),this[_0x1cf70c(0x3fa)]());}['_initStatusListener'](){const _0x178e47=_0x263a40;this[_0x178e47(0x1af)](this[_0x178e47(0x2e9)][_0x178e47(0x282)][_0x178e47(0x306)](_0x39a97e[_0x178e47(0x2c6)](()=>{const _0x5c4337=_0x178e47,_0x2826f7=this[_0x5c4337(0x2e9)][_0x5c4337(0x1d3)]();return _0x2826f7?this[_0x5c4337(0x420)][_0x5c4337(0x3fc)](_0x2826f7[_0x5c4337(0x385)]()):_0x39a97e['of'](null);}),_0x39a97e['switchMap'](_0xf750a5=>_0xf750a5?_0xf750a5['status$']:_0x39a97e['of'](_0x3b3567[_0x178e47(0x38e)]['NOT_COLLAB'])))[_0x178e47(0x26a)](_0x51a6ed=>{const _0x416b77=_0x178e47;this[_0x416b77(0x2d8)][_0x416b77(0x3db)](_0x51a6ed);}));}[_0x263a40(0x338)](){const _0x3bf98d=_0x263a40;this['disposeWithMe'](this[_0x3bf98d(0x411)][_0x3bf98d(0x23d)](_0x214f56[_0x3bf98d(0x406)][_0x3bf98d(0x3b6)],()=>_0x214f56['connectInjector'](_0xc7a435({'status$':this[_0x3bf98d(0x2d8)][_0x3bf98d(0x3b0)]()}),this['_injector'])));}},_0x9de135[_0x263a40(0x339)]=_0x5d3706([_0x2a12c8(0x0,_0x2c2192['IUniverInstanceService']),_0x2a12c8(0x1,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192[_0x263a40(0x400)])),_0x2a12c8(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x3b3567[_0x263a40(0x223)])),_0x2a12c8(0x3,_0x214f56[_0x263a40(0x3ce)])],_0x9de135[_0x263a40(0x339)]);function _0xc7a435(_0x383c7a){const {status$:_0xeb650e}=_0x383c7a;return function(){const _0x55dac3=_0x19a4;return _0x5dfb74[_0x55dac3(0x32e)](_0x2885e3,{'status$':_0xeb650e});};}const _0x1f6186=_0x2c2192[_0x263a40(0x3be)](_0x263a40(0x399));var _0x9d8214=Object['getOwnPropertyDescriptor'],_0x57b8bd=(_0x145474,_0x2f21b6,_0x34cb5c,_0xa568ef)=>{for(var _0x4a1bd6=_0xa568ef>0x1?void 0x0:_0xa568ef?_0x9d8214(_0x2f21b6,_0x34cb5c):_0x2f21b6,_0x3a1cc7=_0x145474['length']-0x1,_0x43f2ff;_0x3a1cc7>=0x0;_0x3a1cc7--)(_0x43f2ff=_0x145474[_0x3a1cc7])&&(_0x4a1bd6=_0x43f2ff(_0x4a1bd6)||_0x4a1bd6);return _0x4a1bd6;},_0x1f7c53=(_0x56ff77,_0x5a95c3)=>(_0x4321a1,_0x28eef1)=>_0x5a95c3(_0x4321a1,_0x28eef1,_0x56ff77);_0x9de135['CollaborationDataLoaderController']=class extends _0x2c2192['RxDisposable']{constructor(_0x247213,_0x3c5858,_0x375b93,_0x5e3cfd,_0x176376){const _0x223662=_0x263a40;super(),this[_0x223662(0x243)]=_0x247213,this[_0x223662(0x35f)]=_0x3c5858,this[_0x223662(0x361)]=_0x375b93,this[_0x223662(0x1e3)]=_0x5e3cfd,_0x176376?_0x176376==null||_0x176376[_0x223662(0x321)]()['then'](()=>this[_0x223662(0x3b5)]()):(this[_0x223662(0x35f)][_0x223662(0x426)]('[CollaborationDataLoaderController]',_0x223662(0x31e)),this[_0x223662(0x3b5)]());}async[_0x263a40(0x3b5)](){const _0x2efdc9=_0x263a40,_0x452290=this[_0x2efdc9(0x243)][_0x2efdc9(0x2a6)](_0x2efdc9(0x1c9)),_0x3e5943=this[_0x2efdc9(0x243)]['getParam'](_0x2efdc9(0x41a)),_0x56b959=this[_0x2efdc9(0x243)]['getParam'](_0x2efdc9(0x2ec));if(!_0x452290||!_0x3e5943){this[_0x2efdc9(0x35f)][_0x2efdc9(0x426)]('[CollaborationDataLoaderController]',_0x2efdc9(0x3ae));return;}const _0x328211=await this[_0x2efdc9(0x1e3)]['loadUnit'](_0x452290,Number(_0x3e5943),_0x56b959);_0x328211&&_0x328211 instanceof _0x2c2192[_0x2efdc9(0x3c5)]&&this[_0x2efdc9(0x3d2)](_0x328211);}async[_0x263a40(0x3d2)](_0x35b88e){const _0xe5999b=_0x263a40;await this['_updateSubUnitFromURLParams'](_0x35b88e),_0x35b88e[_0xe5999b(0x381)]['pipe'](_0x39a97e[_0xe5999b(0x2f3)](this[_0xe5999b(0x313)]))[_0xe5999b(0x26a)](_0x389ada=>{_0x389ada&&this['_updateURLWithCurrentState'](_0x389ada);}),this['_urlService'][_0xe5999b(0x3fd)][_0xe5999b(0x306)](_0x39a97e[_0xe5999b(0x2f3)](this[_0xe5999b(0x313)]))[_0xe5999b(0x26a)](()=>this[_0xe5999b(0x2fd)](_0x35b88e));}[_0x263a40(0x1b1)](_0x2aa5cc,_0x2c7100=!0x1){const _0xd9fd7d=_0x263a40,_0x4b492a=this[_0xd9fd7d(0x243)][_0xd9fd7d(0x2a6)](_0xd9fd7d(0x2ec));_0x2aa5cc['getSheetId']()!==_0x4b492a&&this[_0xd9fd7d(0x243)][_0xd9fd7d(0x435)](_0xd9fd7d(0x2ec),_0x2aa5cc[_0xd9fd7d(0x342)](),_0x2c7100);}async[_0x263a40(0x2fd)](_0x16766a){const _0x58344d=_0x263a40;var _0x14b9ff;const _0x1b654f=this['_urlService'][_0x58344d(0x2a6)]('subunit');if(!_0x1b654f||!_0x16766a[_0x58344d(0x288)](_0x1b654f)){const _0x46728a=_0x16766a[_0x58344d(0x23e)]()[0x0],_0xae99ca=_0x16766a['getSheetBySheetId'](_0x46728a);if(!_0xae99ca)return;this[_0x58344d(0x1b1)](_0xae99ca,!0x0),await this[_0x58344d(0x361)][_0x58344d(0x3ed)](_0x40b606[_0x58344d(0x35b)]['id'],{'unitId':_0x16766a[_0x58344d(0x385)](),'subUnitId':_0x46728a});return;}((_0x14b9ff=_0x16766a[_0x58344d(0x3d7)]())==null?void 0x0:_0x14b9ff[_0x58344d(0x342)]())!==_0x1b654f&&await this['_commandService'][_0x58344d(0x3ed)](_0x40b606['SetWorksheetActivateCommand']['id'],{'unitId':_0x16766a[_0x58344d(0x385)](),'subUnitId':_0x1b654f});}},_0x9de135[_0x263a40(0x2e7)]=_0x57b8bd([_0x1f7c53(0x0,_0x1f6186),_0x1f7c53(0x1,_0x2c2192['ILogService']),_0x1f7c53(0x2,_0x2c2192['ICommandService']),_0x1f7c53(0x3,_0x2c2192[_0x263a40(0x3d4)](_0x3b3567[_0x263a40(0x395)])),_0x1f7c53(0x4,_0x2c2192[_0x263a40(0x2d6)](_0x30a3e[_0x263a40(0x2e5)]))],_0x9de135[_0x263a40(0x2e7)]);var _0x1c4e64=Object[_0x263a40(0x2bc)],_0x529666=(_0x4d3dbc,_0x2d2b3a,_0x554a14,_0x1707ce)=>{const _0x2641f0=_0x263a40;for(var _0x5e54f9=_0x1707ce>0x1?void 0x0:_0x1707ce?_0x1c4e64(_0x2d2b3a,_0x554a14):_0x2d2b3a,_0x1f079d=_0x4d3dbc[_0x2641f0(0x22c)]-0x1,_0x5f4142;_0x1f079d>=0x0;_0x1f079d--)(_0x5f4142=_0x4d3dbc[_0x1f079d])&&(_0x5e54f9=_0x5f4142(_0x5e54f9)||_0x5e54f9);return _0x5e54f9;},_0x37b2d0=(_0x1f1490,_0x59c46c)=>(_0x560fe3,_0x5d3a41)=>_0x59c46c(_0x560fe3,_0x5d3a41,_0x1f1490);let _0x1b423f=class extends _0x2c2192[_0x263a40(0x326)]{constructor(_0x5449e9,_0x3b8f2a){const _0x2bc711=_0x263a40;super(),this[_0x2bc711(0x3d9)]=_0x5449e9,this[_0x2bc711(0x37a)]=_0x3b8f2a,this[_0x2bc711(0x3b5)]();}['_init'](){const _0x267486=_0x263a40,_0x3d37f6=this;this[_0x267486(0x1af)](this[_0x267486(0x3d9)][_0x267486(0x38f)]({'onBeforePasteImage':async _0x21c178=>{const _0x9f13b3=_0x267486,_0x20bb55=await _0x3d37f6[_0x9f13b3(0x37a)][_0x9f13b3(0x24a)](_0x21c178);return _0x20bb55?{'source':_0x20bb55['source'],'imageSourceType':_0x20bb55[_0x9f13b3(0x1b8)]}:null;}}));}};_0x1b423f=_0x529666([_0x37b2d0(0x0,_0x4e1317[_0x263a40(0x1f9)]),_0x37b2d0(0x1,_0x4251fe[_0x263a40(0x377)])],_0x1b423f);const _0x5615b7=[_0x263a40(0x218),_0x263a40(0x240),_0x263a40(0x3de),_0x263a40(0x3ab),'blue.400',_0x263a40(0x2b7)];class _0x32664d extends _0x2c2192['Disposable']{constructor(){const _0x2a24a8=_0x263a40;super(...arguments),_0x193c38(this,_0x2a24a8(0x299),new Map()),_0x193c38(this,_0x2a24a8(0x24e),0x0);}[_0x263a40(0x37f)](_0x59dbcd){const _0x28c948=_0x263a40;if(this[_0x28c948(0x299)][_0x28c948(0x31d)](_0x59dbcd))return this[_0x28c948(0x299)][_0x28c948(0x378)](_0x59dbcd);const _0x1c6d21=_0x5615b7[this[_0x28c948(0x24e)]];return this[_0x28c948(0x24e)]=(this[_0x28c948(0x24e)]+0x1)%_0x5615b7[_0x28c948(0x22c)],this[_0x28c948(0x299)]['set'](_0x59dbcd,_0x1c6d21),_0x1c6d21;}}function _0x15faa4(_0x7fcb79){const _0x5d98e3=_0x263a40;let _0x457bba='';for(const _0x24bf3c of _0x7fcb79){const {startOffset:_0x391884,endOffset:_0x3908bb,isActive:_0x2f3231,rangeType:_0x4aeb3c,segmentId:_0x2476d3,segmentPage:_0x2c1151}=_0x24bf3c;_0x457bba[_0x5d98e3(0x22c)]&&(_0x457bba+=','),_0x457bba+=_0x391884+':'+_0x3908bb+':'+(_0x2f3231?'1':'0')+':'+_0x4aeb3c+':'+_0x2476d3+':'+_0x2c1151;}return _0x457bba;}function _0xddf4f0(_0x9cc066){const _0x3b0244=_0x263a40,_0x1f2aa3=_0x9cc066[_0x3b0244(0x3e5)](','),_0x17c5c8=[];for(const _0x531209 of _0x1f2aa3){const [_0x14283d,_0x4b5809,_0x170f27,_0x1a69db,_0x5f23ad,_0x4980ee]=_0x531209[_0x3b0244(0x3e5)](':');_0x17c5c8[_0x3b0244(0x367)]({'startOffset':Number(_0x14283d),'endOffset':Number(_0x4b5809),'collapsed':_0x14283d===_0x4b5809,'isActive':_0x170f27==='1','rangeType':_0x1a69db===_0x2c2192['DOC_RANGE_TYPE'][_0x3b0244(0x24f)]?_0x2c2192[_0x3b0244(0x3c3)][_0x3b0244(0x24f)]:_0x2c2192[_0x3b0244(0x3c3)][_0x3b0244(0x386)],'segmentId':typeof _0x5f23ad==_0x3b0244(0x3e9)?String(_0x5f23ad):'','segmentPage':Number(_0x4980ee!=null?_0x4980ee:-0x1)});}return _0x17c5c8[_0x3b0244(0x29b)](_0x3f121f=>_0x3f121f['isActive'])||(_0x17c5c8[0x0][_0x3b0244(0x3ee)]=!0x0),_0x17c5c8;}class _0x45dd48 extends _0x2c2192['RxDisposable']{constructor(){const _0x21cd2a=_0x263a40;super(...arguments),_0x193c38(this,_0x21cd2a(0x2f1),new _0x39a97e['BehaviorSubject'](null)),_0x193c38(this,'collabCursorState$',this[_0x21cd2a(0x2f1)][_0x21cd2a(0x3b0)]());}['syncEditingCollabCursor'](_0x336361){const _0x4a681e=_0x263a40,{unitID:_0x5db2ae,memberID:_0x30b0fc,textRanges:_0x5b5258}=_0x336361,_0x137040=_0x15faa4(_0x5b5258);if(_0x137040==='')return;const _0x5eb634={'unitID':_0x5db2ae,'memberID':_0x30b0fc,'selection':_0x137040};this[_0x4a681e(0x2f1)][_0x4a681e(0x3db)](_0x5eb634);}}var _0x27e4ec=Object[_0x263a40(0x2bc)],_0x11a06c=(_0x5a00a1,_0x5677d8,_0x48ee1b,_0x36dabc)=>{const _0x4d8804=_0x263a40;for(var _0x28148e=_0x36dabc>0x1?void 0x0:_0x36dabc?_0x27e4ec(_0x5677d8,_0x48ee1b):_0x5677d8,_0x5286e9=_0x5a00a1[_0x4d8804(0x22c)]-0x1,_0xae5ba;_0x5286e9>=0x0;_0x5286e9--)(_0xae5ba=_0x5a00a1[_0x5286e9])&&(_0x28148e=_0xae5ba(_0x28148e)||_0x28148e);return _0x28148e;},_0x2dadfc=(_0x1d5793,_0x136c1b)=>(_0x4fbd5a,_0x2b355c)=>_0x136c1b(_0x4fbd5a,_0x2b355c,_0x1d5793);const _0x47f7aa=0x12c,_0x2d93ac=0x64;let _0x328609=class extends _0x2c2192[_0x263a40(0x326)]{constructor(_0x3c97fd,_0x3e846c,_0xd7bda3,_0x138caa,_0x43b048,_0x162723,_0x5b463a,_0x4a1124,_0x21985b){const _0x3223d8=_0x263a40;super(),_0x193c38(this,_0x3223d8(0x1f5),!0x1),_0x193c38(this,_0x3223d8(0x3b5),!0x1),_0x193c38(this,_0x3223d8(0x2cb),new _0x39a97e[(_0x3223d8(0x30b))](new Map())),_0x193c38(this,_0x3223d8(0x1c2),this[_0x3223d8(0x2cb)][_0x3223d8(0x3b0)]()),_0x193c38(this,'_roomMembers$',new _0x39a97e[(_0x3223d8(0x30b))]([])),_0x193c38(this,_0x3223d8(0x2a5),this[_0x3223d8(0x345)]['pipe'](_0x39a97e['debounceTime'](_0x47f7aa))),_0x193c38(this,'_updateLocalCursor',_0x2c2192[_0x3223d8(0x3af)](_0x406640=>{const _0x145191=_0x3223d8,_0x29311b={'eventID':_0x542b31[_0x145191(0x26d)]['UPDATE_CURSOR'],'data':{'unitID':this['unitID'],'memberID':this[_0x145191(0x2a7)][_0x145191(0x26e)](),'selection':_0x15faa4(_0x406640)}};this[_0x145191(0x2a7)][_0x145191(0x36a)](_0x29311b,this[_0x145191(0x1c8)]);},_0x2d93ac)),(this[_0x3223d8(0x1c8)]=_0x3c97fd,this['_session']=_0x3e846c,this[_0x3223d8(0x1bd)]=_0xd7bda3,this['_colorAssignService']=_0x138caa,this[_0x3223d8(0x3d3)]=_0x43b048,this[_0x3223d8(0x327)]=_0x162723,this[_0x3223d8(0x42c)]=_0x5b463a,this['_univerInstanceService']=_0x4a1124,this[_0x3223d8(0x361)]=_0x21985b);}get[_0x263a40(0x229)](){const _0x54c998=_0x263a40;return this['_cursorInfo$'][_0x54c998(0x225)]();}get[_0x263a40(0x28c)](){return this['_roomMembers$']['getValue']();}[_0x263a40(0x3e8)](){const _0x1e586f=_0x263a40;super[_0x1e586f(0x3e8)](),this[_0x1e586f(0x2cb)][_0x1e586f(0x3db)](new Map()),this['_cursorInfo$']['complete'](),this[_0x1e586f(0x345)]['next']([]),this['_roomMembers$'][_0x1e586f(0x232)]();}['init'](){const _0x539b8c=_0x263a40;this[_0x539b8c(0x3b5)]||(this[_0x539b8c(0x3b5)]=!0x0,this[_0x539b8c(0x2a7)][_0x539b8c(0x38d)]['pipe'](_0x39a97e['takeUntil'](this['dispose$']))[_0x539b8c(0x26a)](_0x119d45=>{const _0x3d0fc8=_0x539b8c;_0x119d45===_0x3b3567[_0x3d0fc8(0x253)]['ONLINE']?this[_0x3d0fc8(0x331)]():this['_toggleOffline']();}),this[_0x539b8c(0x2a7)]['event$'][_0x539b8c(0x306)](_0x39a97e[_0x539b8c(0x2f3)](this[_0x539b8c(0x313)]))[_0x539b8c(0x26a)](_0x51103d=>{const _0x2aa53c=_0x539b8c,_0x451c25=_0x51103d[_0x2aa53c(0x352)];_0x451c25===_0x542b31[_0x2aa53c(0x26d)]['UPDATE_CURSOR']&&this[_0x2aa53c(0x250)](_0x51103d),_0x451c25===_0x542b31[_0x2aa53c(0x26d)][_0x2aa53c(0x3f4)]&&this[_0x2aa53c(0x42e)](_0x51103d);}),this[_0x539b8c(0x1af)](this[_0x539b8c(0x361)][_0x539b8c(0x249)](_0x518774=>{const _0x357e0c=_0x539b8c,_0x47f91f=_0x518774[_0x357e0c(0x439)];_0x47f91f!=null&&this[_0x357e0c(0x1f5)]&&_0x518774['id']===_0x28f6a3[_0x357e0c(0x3c9)]['id']&&_0x47f91f[_0x357e0c(0x1a7)]===this[_0x357e0c(0x1c8)]&&_0x47f91f['isEditing']===!0x1&&_0x47f91f['ranges'][_0x357e0c(0x22c)]>0x0&&this[_0x357e0c(0x244)](_0x47f91f[_0x357e0c(0x41f)]);})),this[_0x539b8c(0x327)][_0x539b8c(0x248)][_0x539b8c(0x306)](_0x39a97e[_0x539b8c(0x2f3)](this[_0x539b8c(0x313)]))[_0x539b8c(0x26a)](_0x137caa=>{const _0x227927=_0x539b8c;if((_0x137caa==null?void 0x0:_0x137caa[_0x227927(0x1c8)])!==this['unitID'])return;const _0x339088={'eventID':_0x542b31['CollaborationEvent'][_0x227927(0x3f9)],'data':_0x137caa};this[_0x227927(0x250)](_0x339088);}),this[_0x539b8c(0x1af)](this[_0x539b8c(0x361)][_0x539b8c(0x249)](_0x58e883=>{const _0x579f0c=_0x539b8c;if(_0x58e883['params']==null)return;const _0x3147cb=_0x58e883['params'];if(_0x58e883['id']!==_0x28f6a3[_0x579f0c(0x1ed)]['id']||_0x3147cb['unitId']!==this[_0x579f0c(0x1c8)])return;const _0x5292c7={'id':_0x579f0c(0x323),'params':_0x3147cb},_0x2668bb=this[_0x579f0c(0x229)];for(const [_0x42e204,_0x2b8968]of _0x2668bb){const _0x1f4440={'id':_0x579f0c(0x323),'params':{'unitId':this[_0x579f0c(0x1c8)],'actions':null,'textRanges':_0x2b8968['ranges']}},_0x414845=this[_0x579f0c(0x42c)][_0x579f0c(0x39e)](_0x5292c7,_0x1f4440,!0x1);if(_0x542b31[_0x579f0c(0x39f)](_0x414845))throw _0x414845[_0x579f0c(0x423)];_0x2668bb[_0x579f0c(0x2d9)](_0x42e204,{..._0x2b8968,'ranges':_0x414845['m2Prime'][_0x579f0c(0x439)]['textRanges']});}queueMicrotask(()=>{const _0x3aa6af=_0x579f0c;this['_cursorInfo$'][_0x3aa6af(0x3db)](_0x2668bb);});})));}[_0x263a40(0x250)](_0x2d4497){const _0x301f38=_0x263a40;var _0xa27ccb,_0x5c1a28;const {memberID:_0x4f16da,selection:_0x1f0848}=_0x2d4497[_0x301f38(0x1bb)],_0x22a12c=_0xddf4f0(_0x1f0848),_0x404d8a=(_0x5c1a28=(_0xa27ccb=this[_0x301f38(0x3d3)]['getMember'](this[_0x301f38(0x1c8)],_0x4f16da))==null?void 0x0:_0xa27ccb[_0x301f38(0x3d8)])!=null?_0x5c1a28:_0x301f38(0x3c0),_0x34858a={'color':this[_0x301f38(0x33a)][_0x301f38(0x37f)](_0x4f16da),'name':_0x404d8a,'ranges':_0x22a12c},_0x213297=this[_0x301f38(0x229)];_0x213297[_0x301f38(0x2d9)](_0x4f16da,_0x34858a),this['_cursorInfo$'][_0x301f38(0x3db)](_0x213297);}[_0x263a40(0x42e)](_0x3cb2d4){const _0x24036c=_0x263a40,{memberID:_0x515555}=_0x3cb2d4[_0x24036c(0x1bb)],_0x18009d=this[_0x24036c(0x229)];_0x18009d[_0x24036c(0x402)](_0x515555),this[_0x24036c(0x2cb)][_0x24036c(0x3db)](_0x18009d);}['_toggleOnline'](){const _0x4f31f2=_0x263a40;var _0x3b0270;if(this[_0x4f31f2(0x1f5)]=!0x0,((_0x3b0270=this[_0x4f31f2(0x2e9)]['getFocusedUnit']())==null?void 0x0:_0x3b0270[_0x4f31f2(0x385)]())!==this[_0x4f31f2(0x1c8)])return;const _0x226a27=this['_injector'][_0x4f31f2(0x378)](_0x28f6a3[_0x4f31f2(0x22a)])[_0x4f31f2(0x1fb)]();Array[_0x4f31f2(0x2ca)](_0x226a27)&&_0x226a27[_0x4f31f2(0x22c)]>0x0&&this['_updateLocalCursor'](_0x226a27);}[_0x263a40(0x2f6)](){const _0x4d0d2b=_0x263a40;this[_0x4d0d2b(0x1f5)]=!0x1;}};_0x328609=_0x11a06c([_0x2dadfc(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192[_0x263a40(0x400)])),_0x2dadfc(0x3,_0x2c2192[_0x263a40(0x3d4)](_0x32664d)),_0x2dadfc(0x4,_0x2c2192[_0x263a40(0x3d4)](_0x3b3567[_0x263a40(0x398)])),_0x2dadfc(0x5,_0x2c2192[_0x263a40(0x3d4)](_0x45dd48)),_0x2dadfc(0x6,_0x542b31[_0x263a40(0x1e1)]),_0x2dadfc(0x7,_0x2c2192[_0x263a40(0x228)]),_0x2dadfc(0x8,_0x2c2192[_0x263a40(0x259)])],_0x328609);var _0x417c1e=Object[_0x263a40(0x2bc)],_0x6a93cd=(_0x275874,_0x5da201,_0x2c775a,_0x4d2a96)=>{const _0x58011e=_0x263a40;for(var _0x3f5b43=_0x4d2a96>0x1?void 0x0:_0x4d2a96?_0x417c1e(_0x5da201,_0x2c775a):_0x5da201,_0x218b61=_0x275874[_0x58011e(0x22c)]-0x1,_0x517c2a;_0x218b61>=0x0;_0x218b61--)(_0x517c2a=_0x275874[_0x218b61])&&(_0x3f5b43=_0x517c2a(_0x3f5b43)||_0x3f5b43);return _0x3f5b43;},_0x56f970=(_0x3d62c4,_0x1e2ef3)=>(_0x5eb860,_0x4586d3)=>_0x1e2ef3(_0x5eb860,_0x4586d3,_0x3d62c4);const _0x2453a3=0x12c,_0x8ca3d3=0x64,_0x22c345=()=>{let _0x2bfc47=[],_0x20070f=!0x1;return _0x2f1a93=>{const _0x4c93ce=_0x19a4;_0x2bfc47[_0x4c93ce(0x367)](_0x2f1a93),_0x20070f||(_0x20070f=!0x0,setTimeout(()=>{_0x2bfc47['forEach'](_0x5766fe=>_0x5766fe()),_0x2bfc47=[],_0x20070f=!0x1;}));};};let _0x5cf1d7=class extends _0x2c2192['RxDisposable']{constructor(_0x82fd47,_0x12e4f1,_0x510859,_0x479c14,_0x31179d,_0x1f3d38,_0xdf8ecc,_0xf26a61){const _0x501ca2=_0x263a40;super(),_0x193c38(this,'_online',!0x1),_0x193c38(this,'_init',!0x1),_0x193c38(this,_0x501ca2(0x2cb),new _0x39a97e[(_0x501ca2(0x30b))](new Map())),_0x193c38(this,'cursorInfo$',this[_0x501ca2(0x2cb)][_0x501ca2(0x3b0)]()),_0x193c38(this,_0x501ca2(0x345),new _0x39a97e['BehaviorSubject']([])),_0x193c38(this,'roomMembers$',this[_0x501ca2(0x345)][_0x501ca2(0x306)](_0x39a97e[_0x501ca2(0x369)](_0x2453a3))),_0x193c38(this,_0x501ca2(0x244),_0x2c2192['debounce']((_0x5de895,_0x1e0154)=>{const _0x4ffc88=_0x501ca2,_0x49f004={'eventID':_0x542b31['CollaborationEvent'][_0x4ffc88(0x3f9)],'data':{'unitID':this[_0x4ffc88(0x1c8)],'memberID':this['_session'][_0x4ffc88(0x26e)](),'selection':_0x46218b[_0x4ffc88(0x34b)](_0x5de895,_0x1e0154[_0x4ffc88(0x2a3)])}};this[_0x4ffc88(0x2a7)][_0x4ffc88(0x36a)](_0x49f004,this[_0x4ffc88(0x1c8)]);},_0x8ca3d3)),(this[_0x501ca2(0x1c8)]=_0x82fd47,this[_0x501ca2(0x2a7)]=_0x12e4f1,this[_0x501ca2(0x1bd)]=_0x510859,this[_0x501ca2(0x33a)]=_0x479c14,this[_0x501ca2(0x3d3)]=_0x31179d,this[_0x501ca2(0x2e9)]=_0x1f3d38,this[_0x501ca2(0x361)]=_0xdf8ecc,this[_0x501ca2(0x427)]=_0xf26a61);}get['cursorInfo'](){const _0x264f60=_0x263a40;return this[_0x264f60(0x2cb)][_0x264f60(0x225)]();}get[_0x263a40(0x28c)](){const _0x450a68=_0x263a40;return this[_0x450a68(0x345)][_0x450a68(0x225)]();}[_0x263a40(0x3e8)](){const _0x364312=_0x263a40;super[_0x364312(0x3e8)](),this['_cursorInfo$'][_0x364312(0x3db)](new Map()),this[_0x364312(0x2cb)][_0x364312(0x232)](),this[_0x364312(0x345)][_0x364312(0x3db)]([]),this[_0x364312(0x345)][_0x364312(0x232)]();}[_0x263a40(0x3ff)](){const _0x45b380=_0x263a40;this[_0x45b380(0x3b5)]||(this['_init']=!0x0,this[_0x45b380(0x2a7)]['sessionStatus$'][_0x45b380(0x306)](_0x39a97e[_0x45b380(0x2f3)](this[_0x45b380(0x313)]))[_0x45b380(0x26a)](_0x50bc2e=>{const _0x51be02=_0x45b380;_0x50bc2e===_0x3b3567[_0x51be02(0x253)][_0x51be02(0x3da)]?this[_0x51be02(0x331)]():this[_0x51be02(0x2f6)]();}),this[_0x45b380(0x2a7)][_0x45b380(0x384)][_0x45b380(0x306)](_0x39a97e['takeUntil'](this['dispose$']))[_0x45b380(0x26a)](_0x3bcffa=>{const _0x1bf101=_0x45b380,_0x1830c2=_0x3bcffa[_0x1bf101(0x352)];_0x1830c2===_0x542b31['CollaborationEvent'][_0x1bf101(0x3f9)]&&this[_0x1bf101(0x250)](_0x3bcffa),_0x1830c2===_0x542b31['CollaborationEvent'][_0x1bf101(0x3f4)]&&this[_0x1bf101(0x42e)](_0x3bcffa);}),this[_0x45b380(0x3ac)](),this['disposeWithMe'](this[_0x45b380(0x361)][_0x45b380(0x249)](_0x37f5dc=>{const _0xca8d0=_0x45b380;if(this[_0xca8d0(0x1f5)]&&_0x37f5dc['id']===_0x40b606['SetSelectionsOperation']['id']&&_0x37f5dc['params'][_0xca8d0(0x1a7)]===this[_0xca8d0(0x1c8)]){const _0x1c1dcc=_0x37f5dc[_0xca8d0(0x439)];this[_0xca8d0(0x244)](_0x1c1dcc[_0xca8d0(0x3f8)],_0x1c1dcc['selections'][0x0]);}})));}[_0x263a40(0x250)](_0x1757b1){const _0x135d48=_0x263a40;var _0x5c7d8d,_0x144c2b;const {memberID:_0x14b698,selection:_0x27afba}=_0x1757b1[_0x135d48(0x1bb)],{sheetName:_0x2a9090,range:_0x5b0247}=_0x46218b[_0x135d48(0x254)](_0x27afba),_0x14df67={'name':(_0x144c2b=(_0x5c7d8d=this[_0x135d48(0x3d3)]['getMember'](this[_0x135d48(0x1c8)],_0x14b698))==null?void 0x0:_0x5c7d8d['name'])!=null?_0x144c2b:'Unknown\x20user','range':this[_0x135d48(0x312)](_0x2a9090,_0x5b0247),'sheetID':_0x2a9090,'color':this['_colorAssignService'][_0x135d48(0x37f)](_0x14b698),'selection':_0x27afba},_0xe84be3=this[_0x135d48(0x229)];_0xe84be3['set'](_0x14b698,_0x14df67),this[_0x135d48(0x2cb)][_0x135d48(0x3db)](_0xe84be3);}['_onCursorDelete'](_0x517eb5){const _0x118a35=_0x263a40,{memberID:_0x431a88}=_0x517eb5[_0x118a35(0x1bb)],_0x4910d5=this['cursorInfo'];_0x4910d5['delete'](_0x431a88),this[_0x118a35(0x2cb)]['next'](_0x4910d5);}[_0x263a40(0x312)](_0x3cebcf,_0x102638){const _0x3f7796=_0x263a40;var _0x497dbe,_0x42a17a;const _0x1fdf7d=(_0x42a17a=(_0x497dbe=this[_0x3f7796(0x2e9)][_0x3f7796(0x33f)](this[_0x3f7796(0x1c8)]))==null?void 0x0:_0x497dbe[_0x3f7796(0x288)](_0x3cebcf))==null?void 0x0:_0x42a17a[_0x3f7796(0x3cc)]();return(_0x1fdf7d==null?void 0x0:_0x1fdf7d[_0x3f7796(0x23f)](_0x4e308f=>_0x2c2192[_0x3f7796(0x3f6)][_0x3f7796(0x30e)](_0x4e308f,_0x102638)))||_0x102638;}[_0x263a40(0x3ac)](){const _0x32758b=_0x263a40,_0x4d6ef0=new _0x2c2192['DisposableCollection'](),_0x86aad0=_0x22c345(),_0xa291fc=()=>{const _0x104434=_0x19a4;_0x4d6ef0['dispose']();const _0x51221f=(_0x556d9b,_0x255bdd,_0x344867,_0x13ba35)=>{const _0x502a7c=_0x19a4;let _0x85047d=[];switch(_0x556d9b['id']){case _0x40b606[_0x502a7c(0x431)][_0x502a7c(0x1c7)]:{_0x85047d=_0x40b606[_0x502a7c(0x359)](_0x556d9b,_0x13ba35);break;}case _0x40b606[_0x502a7c(0x431)][_0x502a7c(0x1ad)]:{_0x85047d=_0x40b606[_0x502a7c(0x36e)](_0x556d9b,_0x13ba35);break;}case _0x40b606['EffectRefRangId']['InsertColCommandId']:{_0x85047d=_0x40b606[_0x502a7c(0x268)](_0x556d9b,_0x13ba35);break;}case _0x40b606['EffectRefRangId'][_0x502a7c(0x430)]:{_0x85047d=_0x40b606[_0x502a7c(0x221)](_0x556d9b,_0x13ba35);break;}case _0x40b606[_0x502a7c(0x431)][_0x502a7c(0x3c7)]:{_0x85047d=_0x40b606[_0x502a7c(0x1ae)](_0x556d9b,_0x13ba35);break;}case _0x40b606[_0x502a7c(0x431)][_0x502a7c(0x1d9)]:{_0x85047d=_0x40b606[_0x502a7c(0x234)](_0x556d9b,_0x13ba35);break;}case _0x40b606[_0x502a7c(0x431)][_0x502a7c(0x38a)]:{_0x85047d=_0x40b606[_0x502a7c(0x2c4)](_0x556d9b,_0x13ba35);break;}case _0x40b606[_0x502a7c(0x431)][_0x502a7c(0x2b6)]:{_0x85047d=_0x40b606['handleIRemoveCol'](_0x556d9b,_0x13ba35);break;}case _0x40b606[_0x502a7c(0x431)]['RemoveRowCommandId']:{_0x85047d=_0x40b606[_0x502a7c(0x296)](_0x556d9b,_0x13ba35);break;}}const _0x5a43b8=_0x40b606[_0x502a7c(0x1f6)](_0x85047d,_0x13ba35),_0x36fb5f=this[_0x502a7c(0x229)]['get'](_0x255bdd);if(_0x36fb5f&&_0x5a43b8){const _0x1bebb1={..._0x36fb5f,'range':_0x5a43b8};this[_0x502a7c(0x229)][_0x502a7c(0x2d9)](_0x255bdd,_0x1bebb1),_0x86aad0(()=>{const _0x3a86f0=_0x502a7c,_0x538cea=this[_0x3a86f0(0x427)][_0x3a86f0(0x3b7)](_0x5a43b8,_0x52c1f4=>(_0x538cea[_0x3a86f0(0x3e8)](),_0x51221f(_0x52c1f4,_0x255bdd,_0x344867,_0x5a43b8)));_0x4d6ef0[_0x3a86f0(0x1d8)](_0x538cea);});}return{'redos':[],'undos':[]};};this[_0x104434(0x229)][_0x104434(0x34f)]((_0x149f53,_0x58f8eb)=>{const _0x21a3cb=_0x104434,{range:_0x14cdab,sheetID:_0x4d9eb0}=_0x149f53,_0x317ce2=this['_refRangeService']['registerRefRange'](_0x14cdab,_0x697f4f=>(_0x317ce2[_0x21a3cb(0x3e8)](),_0x51221f(_0x697f4f,_0x58f8eb,_0x4d9eb0,_0x14cdab)));_0x4d6ef0[_0x21a3cb(0x1d8)](_0x317ce2);});};this['disposeWithMe'](_0x2c2192[_0x32758b(0x1bf)](this[_0x32758b(0x2cb)][_0x32758b(0x26a)](()=>{_0xa291fc();})));}['_toggleOnline'](){const _0x2f2d42=_0x263a40;var _0x1df232,_0x48a085;if(this[_0x2f2d42(0x1f5)]=!0x0,((_0x1df232=this[_0x2f2d42(0x2e9)][_0x2f2d42(0x1d3)]())==null?void 0x0:_0x1df232[_0x2f2d42(0x385)]())!==this[_0x2f2d42(0x1c8)])return;const _0x4438f1=(_0x48a085=this['_injector'][_0x2f2d42(0x378)](_0x40b606[_0x2f2d42(0x337)])[_0x2f2d42(0x295)]())==null?void 0x0:_0x48a085[0x0],_0x4086ca=this[_0x2f2d42(0x2e9)][_0x2f2d42(0x3a5)](_0x2c2192['UniverInstanceType'][_0x2f2d42(0x29e)])['getActiveSheet']();_0x4438f1&&_0x4086ca&&this['_updateLocalCursor'](_0x4086ca['getSheetId'](),_0x4438f1);}[_0x263a40(0x2f6)](){const _0x39ca95=_0x263a40;this[_0x39ca95(0x1f5)]=!0x1;}};_0x5cf1d7=_0x6a93cd([_0x56f970(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192[_0x263a40(0x400)])),_0x56f970(0x3,_0x2c2192[_0x263a40(0x3d4)](_0x32664d)),_0x56f970(0x4,_0x2c2192[_0x263a40(0x3d4)](_0x3b3567[_0x263a40(0x398)])),_0x56f970(0x5,_0x2c2192[_0x263a40(0x228)]),_0x56f970(0x6,_0x2c2192[_0x263a40(0x259)]),_0x56f970(0x7,_0x2c2192[_0x263a40(0x3d4)](_0x40b606['RefRangeService']))],_0x5cf1d7);var _0x4960ff=Object[_0x263a40(0x2bc)],_0x3974cb=(_0x10e569,_0x190080,_0x25b588,_0x3d9f9f)=>{const _0x11e693=_0x263a40;for(var _0x4bf1dc=_0x3d9f9f>0x1?void 0x0:_0x3d9f9f?_0x4960ff(_0x190080,_0x25b588):_0x190080,_0xe464fd=_0x10e569[_0x11e693(0x22c)]-0x1,_0x3116a2;_0xe464fd>=0x0;_0xe464fd--)(_0x3116a2=_0x10e569[_0xe464fd])&&(_0x4bf1dc=_0x3116a2(_0x4bf1dc)||_0x4bf1dc);return _0x4bf1dc;},_0x318f11=(_0x2372ac,_0x615e3a)=>(_0x44e52d,_0x6b1995)=>_0x615e3a(_0x44e52d,_0x6b1995,_0x2372ac);let _0x289b74=class extends _0x2c2192[_0x263a40(0x326)]{constructor(_0x2fe2e9,_0x5c1587,_0x421527){const _0x2fbe2d=_0x263a40;super(),_0x193c38(this,_0x2fbe2d(0x1ca),new Map()),_0x193c38(this,'_entityInit$',new _0x39a97e[(_0x2fbe2d(0x25c))]()),(this[_0x2fbe2d(0x2e9)]=_0x2fe2e9,this[_0x2fbe2d(0x1bd)]=_0x5c1587,this[_0x2fbe2d(0x27b)]=_0x421527,this['_init']());}[_0x263a40(0x3e8)](){const _0x9d5cec=_0x263a40;super[_0x9d5cec(0x3e8)](),this[_0x9d5cec(0x392)]['complete'](),this[_0x9d5cec(0x1ca)]['forEach'](_0x5161ca=>_0x5161ca[_0x9d5cec(0x3e8)]());}['getCollabCursors$'](_0x443e85){const _0x37a021=_0x263a40;return this['_entities'][_0x37a021(0x31d)](_0x443e85)?this[_0x37a021(0x1ca)][_0x37a021(0x378)](_0x443e85)['cursorInfo$']:this[_0x37a021(0x392)]['pipe'](_0x39a97e[_0x37a021(0x3a1)](_0x2a1648=>_0x2a1648[_0x37a021(0x1c8)]===_0x443e85),_0x39a97e[_0x37a021(0x2c6)](_0x1fa20d=>_0x1fa20d['cursorInfo$']));}[_0x263a40(0x3b5)](){const _0x4404c5=_0x263a40;this[_0x4404c5(0x2e9)]['getTypeOfUnitAdded$'](_0x2c2192[_0x4404c5(0x1c6)]['UNIVER_SHEET'])[_0x4404c5(0x306)](_0x39a97e[_0x4404c5(0x2f3)](this[_0x4404c5(0x313)]))[_0x4404c5(0x26a)](async _0x1130ba=>{const _0x55d9e5=_0x4404c5,_0x1de3c7=_0x1130ba[_0x55d9e5(0x385)](),_0x5472e1=await this[_0x55d9e5(0x1a1)](_0x1de3c7);this[_0x55d9e5(0x392)][_0x55d9e5(0x3db)](_0x5472e1),this[_0x55d9e5(0x1ca)][_0x55d9e5(0x2d9)](_0x1de3c7,_0x5472e1);}),this[_0x4404c5(0x2e9)][_0x4404c5(0x307)](_0x2c2192[_0x4404c5(0x1c6)][_0x4404c5(0x25b)])[_0x4404c5(0x306)](_0x39a97e['takeUntil'](this[_0x4404c5(0x313)]))[_0x4404c5(0x306)](_0x39a97e[_0x4404c5(0x3a1)](_0x4f5723=>!_0x4f5723[_0x4404c5(0x385)]()[_0x4404c5(0x424)]('__')))[_0x4404c5(0x26a)](async _0x4be15a=>{const _0x7f4f2e=_0x4404c5,_0x4ffe4d=_0x4be15a[_0x7f4f2e(0x385)](),_0x329f18=await this[_0x7f4f2e(0x383)](_0x4ffe4d);this[_0x7f4f2e(0x392)][_0x7f4f2e(0x3db)](_0x329f18),this['_entities']['set'](_0x4ffe4d,_0x329f18);}),_0x39a97e[_0x4404c5(0x409)](this[_0x4404c5(0x2e9)][_0x4404c5(0x219)](_0x2c2192[_0x4404c5(0x1c6)][_0x4404c5(0x25b)]),this['_univerInstanceService']['getTypeOfUnitDisposed$'](_0x2c2192['UniverInstanceType'][_0x4404c5(0x29e)]))[_0x4404c5(0x306)](_0x39a97e['takeUntil'](this[_0x4404c5(0x313)]))[_0x4404c5(0x26a)](_0x4f9fc6=>{const _0x4f629c=_0x4404c5,_0x175c91=_0x4f9fc6[_0x4f629c(0x385)](),_0x2bc7d4=this['_entities'][_0x4f629c(0x378)](_0x175c91);_0x2bc7d4&&(_0x2bc7d4[_0x4f629c(0x3e8)](),this[_0x4f629c(0x1ca)][_0x4f629c(0x402)](_0x175c91));});}async[_0x263a40(0x1a1)](_0xada97b){const _0xc86961=_0x263a40,_0xf540f1=await this[_0xc86961(0x27b)]['requireSession'](_0xada97b),_0x11e95b=this['_injector'][_0xc86961(0x1c4)](_0x5cf1d7,_0xada97b,_0xf540f1);return _0x11e95b[_0xc86961(0x3ff)](),_0x11e95b;}async[_0x263a40(0x383)](_0x440749){const _0x5f0042=_0x263a40,_0x306818=await this['_collabSessionService']['requireSession'](_0x440749),_0xb7396c=this[_0x5f0042(0x1bd)][_0x5f0042(0x1c4)](_0x328609,_0x440749,_0x306818);return _0xb7396c['init'](),_0xb7396c;}};_0x289b74=_0x3974cb([_0x318f11(0x0,_0x2c2192[_0x263a40(0x228)]),_0x318f11(0x1,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192[_0x263a40(0x400)])),_0x318f11(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x3b3567['CollaborationSessionService']))],_0x289b74);const _0x2d0218=0x14,_0x310303=0xc8,_0x2e0e6c=0x4,_0x42b073=0x5;function _0x27c2e5(_0x2edd23,_0x193a98){const _0xd7a625=_0x263a40;let {radius:_0x5f2f86,width:_0x423e4a,height:_0x596071}=_0x193a98;_0x5f2f86=_0x5f2f86!=null?_0x5f2f86:0x0,_0x423e4a=_0x423e4a!=null?_0x423e4a:0x1e,_0x596071=_0x596071!=null?_0x596071:0x1e;let _0x425a6c=0x0,_0x121c1a=0x0,_0x5d4964=0x0;_0x425a6c=_0x121c1a=_0x5d4964=Math['min'](_0x5f2f86,_0x423e4a/0x2,_0x596071/0x2),_0x2edd23['beginPath'](),_0x2edd23['moveTo'](_0x425a6c,0x0),_0x2edd23['lineTo'](_0x423e4a-_0x121c1a,0x0),_0x2edd23[_0xd7a625(0x1d7)](_0x423e4a-_0x121c1a,_0x121c1a,_0x121c1a,Math['PI']*0x3/0x2,0x0,!0x1),_0x2edd23[_0xd7a625(0x38c)](_0x423e4a,_0x596071-_0x5d4964),_0x2edd23[_0xd7a625(0x1d7)](_0x423e4a-_0x5d4964,_0x596071-_0x5d4964,_0x5d4964,0x0,Math['PI']/0x2,!0x1),_0x2edd23[_0xd7a625(0x38c)](0x0,_0x596071),_0x2edd23[_0xd7a625(0x38c)](0x0,_0x425a6c),_0x2edd23[_0xd7a625(0x1d7)](_0x425a6c,_0x425a6c,_0x425a6c,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x2edd23[_0xd7a625(0x3ea)](),_0x193a98[_0xd7a625(0x208)]&&(_0x2edd23[_0xd7a625(0x2ad)](),_0x2edd23[_0xd7a625(0x39c)]=_0x193a98['fill'],_0x193a98['fillRule']==='evenodd'?_0x2edd23[_0xd7a625(0x208)](_0xd7a625(0x236)):_0x2edd23[_0xd7a625(0x208)](),_0x2edd23[_0xd7a625(0x372)]());}class _0x491ac9 extends _0xeac254['Shape']{constructor(_0x1ec276,_0x1ff8f8){const _0x37d781=_0x263a40;super(_0x1ec276,_0x1ff8f8),_0x193c38(this,'color'),_0x193c38(this,'text'),(this['color']=_0x1ff8f8==null?void 0x0:_0x1ff8f8[_0x37d781(0x2bd)],this['text']=_0x1ff8f8==null?void 0x0:_0x1ff8f8[_0x37d781(0x1c1)]);}static[_0x263a40(0x429)](_0xb033bc,_0x55ff87){const _0x16c322=_0x263a40,{text:_0x73cffa,color:_0x1fe94d}=_0x55ff87;_0xb033bc[_0x16c322(0x2ad)](),_0xb033bc['font']=_0x16c322(0x42b);const _0x228e0c=_0xb033bc[_0x16c322(0x315)](_0x73cffa)[_0x16c322(0x3c8)],_0x20cf10=Math[_0x16c322(0x3a2)](_0x228e0c+0x2*_0x2e0e6c,_0x310303);_0x27c2e5(_0xb033bc,{'height':_0x2d0218,'radius':0x4,'width':_0x20cf10,'fill':_0x1fe94d}),_0xb033bc[_0x16c322(0x39c)]=_0x16c322(0x32c);const _0x1bdbb9=_0x2e0e6c,_0x56847c=_0x2d0218-_0x42b073,_0x3335f9=_0x310303-0x2*_0x2e0e6c;if(_0x228e0c>_0x3335f9){let _0x56580a='',_0x5eded4=0x0;for(const _0x47e73b of _0x73cffa){const _0x1594ee=_0xb033bc[_0x16c322(0x315)](_0x47e73b)['width'];if(_0x5eded4+_0x1594ee<=_0x3335f9-_0xb033bc[_0x16c322(0x315)](_0x16c322(0x23c))[_0x16c322(0x3c8)])_0x56580a+=_0x47e73b,_0x5eded4+=_0x1594ee;else{_0x56580a+=_0x16c322(0x23c);break;}}_0xb033bc[_0x16c322(0x3f7)](_0x56580a,_0x1bdbb9,_0x56847c);}else _0xb033bc[_0x16c322(0x3f7)](_0x73cffa,_0x1bdbb9,_0x56847c);_0xb033bc[_0x16c322(0x372)]();}[_0x263a40(0x20f)](_0x2dd7a7){const _0x556d69=_0x263a40;_0x491ac9[_0x556d69(0x429)](_0x2dd7a7,this);}}const _0x1c4795=_0x263a40(0x1ce),_0x40ff89='collab-text-range-',_0x3e4bbc=_0x263a40(0x1ec),_0x25e6ac=0x6,_0x3da27b=1.5,_0x2a0d60=0x4,_0x3741f0=1.5,_0x1143ed=_0x263a40(0x1dc);class _0x4bd98b{constructor(_0x14d095,_0x1962d5,_0x14bf89,_0x2943fd){const _0x590a78=_0x263a40;_0x193c38(this,_0x590a78(0x349),[]),_0x193c38(this,'_anchor',null),_0x193c38(this,'_textBubble',null),_0x193c38(this,_0x590a78(0x37c),null),_0x193c38(this,_0x590a78(0x32a),null),_0x193c38(this,_0x590a78(0x3f0),null),(this[_0x590a78(0x396)]=_0x14d095,this['_scene']=_0x1962d5,this['_docSkeleton']=_0x14bf89,this[_0x590a78(0x29a)]=_0x2943fd,this[_0x590a78(0x260)]());}set[_0x263a40(0x335)](_0x15071c){const _0x4212d2=_0x263a40;_0x15071c?(this[_0x4212d2(0x37c)]&&this[_0x4212d2(0x37c)][_0x4212d2(0x421)](),this[_0x4212d2(0x314)]&&this[_0x4212d2(0x314)]['show']()):(this[_0x4212d2(0x37c)]&&this[_0x4212d2(0x37c)][_0x4212d2(0x2e8)](),this[_0x4212d2(0x314)]&&this[_0x4212d2(0x314)][_0x4212d2(0x421)]());}[_0x263a40(0x3e8)](){const _0x451144=_0x263a40;for(const _0x48ee15 of this[_0x451144(0x349)])_0x48ee15[_0x451144(0x3e8)]();this[_0x451144(0x314)]&&this['_textBubble'][_0x451144(0x3e8)](),this[_0x451144(0x37c)]&&this[_0x451144(0x37c)][_0x451144(0x3e8)](),this[_0x451144(0x20b)]&&this[_0x451144(0x20b)][_0x451144(0x3e8)](),this[_0x451144(0x3f0)]&&this[_0x451144(0x3f0)]();}[_0x263a40(0x260)](){const _0x319acd=_0x263a40;var _0x521ea4;const {_docSkeleton:_0x22d2ad,_document:_0x12390e}=this,{color:_0x359b21,name:_0x93cafb,ranges:_0xa96686}=this['_cursor'],_0x30ccee=_0x12390e[_0x319acd(0x39a)](),{docsLeft:_0x20a208,docsTop:_0xee43e3}=_0x30ccee,_0x13519b=new _0x4e1317['NodePositionConvertToCursor'](_0x30ccee,_0x22d2ad);for(const {startOffset:_0x4ccc69,endOffset:_0x1d662f,rangeType:_0x162c2e,segmentId:_0xf626a3,segmentPage:_0x3db839,collapsed:_0x22158d,isActive:_0x475b1d}of _0xa96686){const _0x369077=_0x22d2ad[_0x319acd(0x1f7)](_0x4ccc69,!0x0,_0xf626a3,_0x3db839);let _0x16d4ff=_0x22d2ad[_0x319acd(0x1f7)](_0x1d662f,!0x0,_0xf626a3,_0x3db839);if(_0x16d4ff==null&&(_0x16d4ff=_0x22d2ad[_0x319acd(0x1f7)](_0x1d662f-0x1,!0x1,_0xf626a3,_0x3db839)),_0x475b1d){const {contentBoxPointGroup:_0x7eddfd}=_0x13519b['getRangePointData'](_0x16d4ff,_0x16d4ff);if(_0x7eddfd[_0x319acd(0x22c)]===0x0)continue;this[_0x319acd(0x3cb)](_0x359b21,_0x7eddfd,_0x20a208,_0xee43e3,_0x93cafb),this[_0x319acd(0x3f0)]=this[_0x319acd(0x405)]();}if(_0x369077&&_0x16d4ff){if(_0x162c2e===_0x2c2192[_0x319acd(0x3c3)][_0x319acd(0x386)]){const _0x19241b=new _0x4e1317['NodePositionConvertToRectRange'](_0x30ccee,_0x22d2ad),{pointGroup:_0x323a28}=(_0x521ea4=_0x19241b['getRangePointData'](_0x369077,_0x16d4ff))!=null?_0x521ea4:{};if(_0x323a28==null||_0x323a28[_0x319acd(0x22c)]===0x0)continue;this['_drawRectRange'](_0x359b21,_0x323a28,_0x20a208,_0xee43e3);}else{if(!_0x22158d){const {borderBoxPointGroup:_0x2ba4fb}=_0x13519b[_0x319acd(0x27e)](_0x369077,_0x16d4ff);if(_0x2ba4fb[_0x319acd(0x22c)]===0x0)continue;this['_drawTextRange'](_0x359b21,_0x2ba4fb,_0x20a208,_0xee43e3);}}}}}[_0x263a40(0x3cb)](_0x347f3b,_0x4ebbff,_0xe91c5a,_0x2e9fa3,_0x58da3e){const _0x1aaac6=_0x263a40,_0x380e37=this[_0x1aaac6(0x1f4)](_0x4ebbff),{left:_0x57bcb8,top:_0x52c81d,height:_0x4d768f}=_0x380e37,_0x684652=this[_0x1aaac6(0x2b8)](),_0x38361f=_0x3741f0/_0x684652,_0x8a87e5=new _0xeac254['Rect'](_0x1c4795+_0x2c2192[_0x1aaac6(0x3a8)](_0x25e6ac),{'left':_0x57bcb8+_0xe91c5a-_0x38361f,'top':_0x52c81d+_0x2e9fa3,'height':_0x4d768f,'width':_0x3da27b,'fill':_0x347f3b||_0xeac254[_0x1aaac6(0x371)](_0x2c2192[_0x1aaac6(0x389)][_0x1aaac6(0x206)],0x0),'strokeWidth':_0x38361f,'stroke':_0x1143ed,'evented':!0x0});this[_0x1aaac6(0x20b)]=_0x8a87e5,this[_0x1aaac6(0x301)][_0x1aaac6(0x3bc)](_0x8a87e5,_0x4e1317[_0x1aaac6(0x28d)]);const _0x15e972=new _0xeac254[(_0x1aaac6(0x353))](_0x1c4795+_0x2c2192[_0x1aaac6(0x3a8)](_0x25e6ac),{'left':_0x57bcb8+_0xe91c5a-_0x38361f,'top':_0x52c81d+_0x2e9fa3-_0x2a0d60/0x2,'height':_0x2a0d60,'width':_0x2a0d60,'fill':_0x347f3b||_0xeac254['getColor'](_0x2c2192[_0x1aaac6(0x389)][_0x1aaac6(0x206)],0x0),'strokeWidth':0x0,'stroke':_0x347f3b||_0xeac254['getColor'](_0x2c2192[_0x1aaac6(0x389)]['black'],0x0),'evented':!0x1});this[_0x1aaac6(0x37c)]=_0x15e972,this[_0x1aaac6(0x301)][_0x1aaac6(0x3bc)](_0x15e972,_0x4e1317[_0x1aaac6(0x28d)]);const _0x12d22b=new _0x491ac9(_0x1c4795+_0x2c2192[_0x1aaac6(0x3a8)](_0x25e6ac),{'left':_0x57bcb8+_0xe91c5a-_0x38361f,'top':_0x52c81d+_0x2e9fa3-_0x2d0218,'text':_0x58da3e,'color':_0x347f3b});this[_0x1aaac6(0x314)]=_0x12d22b,this['_scene'][_0x1aaac6(0x3bc)](_0x12d22b,_0x4e1317['TEXT_RANGE_LAYER_INDEX']),this[_0x1aaac6(0x335)]=!0x1;}['_handleHover'](){const _0x168188=_0x263a40,_0x159905=this['_anchor'][_0x168188(0x226)]['subscribeEvent'](()=>{this['_hover']=!0x0;}),_0x53478e=this[_0x168188(0x20b)][_0x168188(0x1a0)][_0x168188(0x34a)](()=>{const _0x350b10=_0x168188;this[_0x350b10(0x32a)]&&clearTimeout(this[_0x350b10(0x32a)]),this[_0x350b10(0x32a)]=setTimeout(()=>{const _0xf1e203=_0x350b10;this[_0xf1e203(0x335)]=!0x1;},0x7d0);});return()=>{_0x159905['unsubscribe'](),_0x53478e['unsubscribe']();};}[_0x263a40(0x276)](_0x517ee7,_0x4075af,_0x3c0df9,_0x351343){const _0x5085ff=_0x263a40,_0xc6321c=new _0x2c2192['ColorKit'](_0x517ee7)[_0x5085ff(0x3dc)](0.2)[_0x5085ff(0x34e)](),_0x44aa9c=new _0xeac254[(_0x5085ff(0x280))](_0x40ff89+_0x2c2192[_0x5085ff(0x3a8)](_0x25e6ac),{'pointsGroup':_0x4075af,'fill':_0xc6321c||_0xeac254[_0x5085ff(0x371)](_0x2c2192[_0x5085ff(0x389)][_0x5085ff(0x206)],0.2),'left':_0x3c0df9,'top':_0x351343,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5085ff(0x349)][_0x5085ff(0x367)](_0x44aa9c),this[_0x5085ff(0x301)]['addObject'](_0x44aa9c,_0x4e1317[_0x5085ff(0x28d)]);}[_0x263a40(0x1bc)](_0x287c70,_0x15e500,_0x1df1c7,_0x818680){const _0x5f20ef=_0x263a40,_0x29d485=new _0x2c2192[(_0x5f20ef(0x3ca))](_0x287c70)[_0x5f20ef(0x3dc)](0.2)[_0x5f20ef(0x34e)](),_0x496ab5=new _0xeac254['RegularPolygon'](_0x3e4bbc+_0x2c2192[_0x5f20ef(0x3a8)](_0x25e6ac),{'pointsGroup':_0x15e500,'fill':_0x29d485||_0xeac254[_0x5f20ef(0x371)](_0x2c2192[_0x5f20ef(0x389)][_0x5f20ef(0x206)],0.2),'left':_0x1df1c7,'top':_0x818680,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x5f20ef(0x349)]['push'](_0x496ab5),this[_0x5f20ef(0x301)][_0x5f20ef(0x3bc)](_0x496ab5,_0x4e1317['TEXT_RANGE_LAYER_INDEX']);}['_getAnchorBounding'](_0x1bcceb){const _0x43a1bd=_0x1bcceb[0x0],_0x3b8d8e=_0x43a1bd[0x0],_0x59678a=_0x43a1bd[0x2],{x:_0x2839c1,y:_0x43c114}=_0x3b8d8e,{x:_0x558a62,y:_0x243cc9}=_0x59678a;return{'left':_0x2839c1,'top':_0x43c114,'width':_0x558a62-_0x2839c1,'height':_0x243cc9-_0x43c114};}[_0x263a40(0x2b8)](){const _0x12f013=_0x263a40,{scaleX:_0x3c40eb,scaleY:_0x397451}=this[_0x12f013(0x301)][_0x12f013(0x3bb)]();return Math['max'](_0x3c40eb,_0x397451);}}var _0x266843=Object[_0x263a40(0x2bc)],_0x3408be=(_0x1f7bd3,_0x319df4,_0x2c0b90,_0x1d6a23)=>{const _0x7703e6=_0x263a40;for(var _0x2d54a2=_0x1d6a23>0x1?void 0x0:_0x1d6a23?_0x266843(_0x319df4,_0x2c0b90):_0x319df4,_0x35910e=_0x1f7bd3[_0x7703e6(0x22c)]-0x1,_0x881d99;_0x35910e>=0x0;_0x35910e--)(_0x881d99=_0x1f7bd3[_0x35910e])&&(_0x2d54a2=_0x881d99(_0x2d54a2)||_0x2d54a2);return _0x2d54a2;},_0x48cb85=(_0x4df8eb,_0x550dd5)=>(_0x3816f6,_0x4af5ac)=>_0x550dd5(_0x3816f6,_0x4af5ac,_0x4df8eb);let _0x19f8bd=class extends _0x2c2192[_0x263a40(0x326)]{constructor(_0x408e45,_0x2670af,_0x56f682,_0x535e65,_0x530665){const _0x31aad1=_0x263a40;super(),_0x193c38(this,'_cursorShapes',[]),_0x193c38(this,_0x31aad1(0x22f),[]),(this[_0x31aad1(0x3e0)]=_0x408e45,this[_0x31aad1(0x22b)]=_0x2670af,this['_collabCursorController']=_0x56f682,this['_commandService']=_0x535e65,this['_themeService']=_0x530665,this[_0x31aad1(0x3b5)]());}[_0x263a40(0x3b5)](){const _0x3fea46=_0x263a40,_0xbf9ecf=this[_0x3fea46(0x3e0)][_0x3fea46(0x1a7)],_0x31ecf8=this['_docSkeletonManagerService'];this[_0x3fea46(0x1af)](_0x39a97e[_0x3fea46(0x33d)]([this[_0x3fea46(0x2fb)]['getCollabCursors$'](_0xbf9ecf),this[_0x3fea46(0x2a9)]['currentTheme$']])['pipe'](_0x5e9058['map'](([_0x5492e1,_0x366857])=>({'skeleton':_0x31ecf8[_0x3fea46(0x269)](),'cursors':[..._0x5492e1[_0x3fea46(0x38b)]()][_0x3fea46(0x24b)](_0x31cf4f=>({..._0x31cf4f,'color':this[_0x3fea46(0x2a9)][_0x3fea46(0x3f2)](_0x31cf4f[_0x3fea46(0x2bd)])}))})))[_0x3fea46(0x26a)](_0x5b6b3c=>{const _0x4efd31=_0x3fea46;if(this[_0x4efd31(0x33e)](),_0x5b6b3c){const {skeleton:_0x575072,cursors:_0x680bbe}=_0x5b6b3c;this[_0x4efd31(0x256)](_0x575072,_0x680bbe);}})),this['_initResize'](),this['_initCommandExecutedListener']();}[_0x263a40(0x256)](_0x22c685,_0x1079ba){const _0x134b41=_0x263a40,{scene:_0x44d331,mainComponent:_0x5dd774}=this[_0x134b41(0x3e0)],_0x9e3d5b=_0x1079ba[_0x134b41(0x201)](_0x3c74c1=>new _0x4bd98b(_0x3c74c1,_0x44d331,_0x22c685,_0x5dd774));this[_0x134b41(0x25f)]=_0x9e3d5b,this['_cursors']=_0x1079ba;}[_0x263a40(0x358)](){const _0xde6b6=_0x263a40;this[_0xde6b6(0x33e)]();const {scene:_0x2892cb,mainComponent:_0x3ed4ce}=this['_context'],_0x4c43f4=this[_0xde6b6(0x22b)][_0xde6b6(0x269)](),_0x2353b8=this['_cursors'][_0xde6b6(0x201)](_0x57a3cc=>new _0x4bd98b(_0x57a3cc,_0x2892cb,_0x4c43f4,_0x3ed4ce));this[_0xde6b6(0x25f)]=_0x2353b8;}[_0x263a40(0x33e)](){const _0x674feb=_0x263a40;this[_0x674feb(0x25f)][_0x674feb(0x34f)](_0x9bf403=>_0x9bf403['dispose']()),this[_0x674feb(0x25f)]=[];}[_0x263a40(0x3f1)](){const _0x5410b7=_0x263a40,_0x32b382=[_0x4e1317[_0x5410b7(0x19d)]['id']];this[_0x5410b7(0x1af)](this[_0x5410b7(0x361)][_0x5410b7(0x249)](_0x2562af=>{const _0x285dcf=_0x5410b7;_0x32b382[_0x285dcf(0x3ad)](_0x2562af['id'])&&_0x2562af[_0x285dcf(0x439)]['unitId']===this[_0x285dcf(0x3e0)][_0x285dcf(0x1a7)]&&this[_0x285dcf(0x358)]();}));}[_0x263a40(0x1b9)](){const _0x4107e4=_0x263a40;this[_0x4107e4(0x1af)](_0x2c2192['fromEventSubject'](this['_context'][_0x4107e4(0x1f8)][_0x4107e4(0x31b)])[_0x4107e4(0x306)](_0x5e9058[_0x4107e4(0x3a1)](_0x457df6=>_0x457df6[_0x4107e4(0x41a)]===_0xeac254['TRANSFORM_CHANGE_OBSERVABLE_TYPE'][_0x4107e4(0x3b3)]),_0x5e9058[_0x4107e4(0x416)](0x10))[_0x4107e4(0x26a)](()=>{this['_refreshCollabCursors']();}));}};_0x19f8bd=_0x3408be([_0x48cb85(0x1,_0x2c2192[_0x263a40(0x3d4)](_0x28f6a3['DocSkeletonManagerService'])),_0x48cb85(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x289b74)),_0x48cb85(0x3,_0x2c2192[_0x263a40(0x259)]),_0x48cb85(0x4,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192[_0x263a40(0x3eb)]))],_0x19f8bd);const _0x1f0748=0x1,_0x30708d=1.5;class _0x9e04ec extends _0xeac254[_0x263a40(0x283)]{constructor(_0x3cee51,_0x25a8e9){const _0x36202a=_0x263a40;super(_0x3cee51,_0x25a8e9),_0x193c38(this,_0x36202a(0x2c5)),_0x193c38(this,'_hovered',!0x1),_0x193c38(this,'_range'),_0x193c38(this,_0x36202a(0x2e0),''),_0x193c38(this,_0x36202a(0x29f),_0x36202a(0x1d4)),_0x193c38(this,'_backgroundColor'),(_0x25a8e9&&this['setShapeProps'](_0x25a8e9),this['onPointerEnter$'][_0x36202a(0x34a)](()=>this[_0x36202a(0x3b8)]({'hovered':!0x0})),this['onPointerLeave$']['subscribeEvent'](()=>this[_0x36202a(0x3b8)]({'hovered':!0x1})));}[_0x263a40(0x3b8)](_0x31e1c9){const _0x398dfa=_0x263a40;var _0x28f72b,_0x57e0af,_0x3e39d6,_0x56a60f,_0x2268b9,_0x238a83;this[_0x398dfa(0x2c5)]=(_0x28f72b=_0x31e1c9[_0x398dfa(0x2bd)])!=null?_0x28f72b:this[_0x398dfa(0x2c5)],this[_0x398dfa(0x24c)]=(_0x57e0af=_0x31e1c9[_0x398dfa(0x21d)])!=null?_0x57e0af:this[_0x398dfa(0x24c)],this[_0x398dfa(0x2ae)]=(_0x3e39d6=_0x31e1c9[_0x398dfa(0x2a3)])!=null?_0x3e39d6:this['_range'],this[_0x398dfa(0x2e0)]=(_0x56a60f=_0x31e1c9[_0x398dfa(0x3d8)])!=null?_0x56a60f:this['_name'],this[_0x398dfa(0x29f)]=(_0x2268b9=_0x31e1c9[_0x398dfa(0x1b7)])!=null?_0x2268b9:this[_0x398dfa(0x29f)],this[_0x398dfa(0x32f)]=(_0x238a83=_0x31e1c9['backgroundColor'])!=null?_0x238a83:this[_0x398dfa(0x32f)],this[_0x398dfa(0x393)]({'width':_0x31e1c9[_0x398dfa(0x3c8)],'height':_0x31e1c9[_0x398dfa(0x1ee)]});}[_0x263a40(0x239)](_0x21a3ed){const _0x5232cf=_0x263a40,{row:_0x3510f8,column:_0x35fb8a}=_0x21a3ed;if(_0x3510f8>=this['_range']['startRow']&&_0x3510f8<=this[_0x5232cf(0x2ae)][_0x5232cf(0x31f)]&&_0x35fb8a>=this[_0x5232cf(0x2ae)][_0x5232cf(0x3a7)]&&_0x35fb8a<=this[_0x5232cf(0x2ae)][_0x5232cf(0x3b4)]){this[_0x5232cf(0x3b8)]({'hovered':!0x0});return;}this[_0x5232cf(0x3b8)]({'hovered':!0x1});}[_0x263a40(0x1d0)](_0x45ed8c){return!0x1;}[_0x263a40(0x20f)](_0xd5b6eb){const _0x224f51=_0x263a40;_0xeac254[_0x224f51(0x353)][_0x224f51(0x429)](_0xd5b6eb,{'width':this[_0x224f51(0x3c8)],'height':this[_0x224f51(0x1ee)],'strokeWidth':_0x30708d,'stroke':this[_0x224f51(0x2c5)],'evented':!0x1,'fill':this[_0x224f51(0x32f)]}),this[_0x224f51(0x24c)]&&(_0xd5b6eb['save'](),_0xd5b6eb['transform'](0x1,0x0,0x0,0x1,this[_0x224f51(0x3c8)],this['_labelPosition']==='bottom'?0x0:-_0x2d0218),_0x491ac9[_0x224f51(0x429)](_0xd5b6eb,{'text':this[_0x224f51(0x2e0)],'color':this[_0x224f51(0x2c5)]}),_0xd5b6eb[_0x224f51(0x372)]());}}var _0x3b39d5=Object['getOwnPropertyDescriptor'],_0x21c05c=(_0x2d6e23,_0x129b9f,_0x39b08e,_0x492031)=>{for(var _0x31fdaa=_0x492031>0x1?void 0x0:_0x492031?_0x3b39d5(_0x129b9f,_0x39b08e):_0x129b9f,_0x178ca4=_0x2d6e23['length']-0x1,_0x2121b5;_0x178ca4>=0x0;_0x178ca4--)(_0x2121b5=_0x2d6e23[_0x178ca4])&&(_0x31fdaa=_0x2121b5(_0x31fdaa)||_0x31fdaa);return _0x31fdaa;},_0xd327dc=(_0x5033fa,_0x213bd4)=>(_0x4ea4f1,_0x57c32c)=>_0x213bd4(_0x4ea4f1,_0x57c32c,_0x5033fa);const _0x2d56f0=0x1389;let _0x429464=class extends _0x2c2192[_0x263a40(0x326)]{constructor(_0x90a923,_0x33b0dc,_0x6eafe8,_0x3520fc){const _0xf28860=_0x263a40;super(),_0x193c38(this,_0xf28860(0x22f),new Set()),_0x193c38(this,_0xf28860(0x212),null),(this[_0xf28860(0x3e0)]=_0x90a923,this[_0xf28860(0x266)]=_0x33b0dc,this['_collabCursorController']=_0x6eafe8,this[_0xf28860(0x2a9)]=_0x3520fc,this['_init']());}[_0x263a40(0x3b5)](){const _0x209629=_0x263a40;this[_0x209629(0x266)][_0x209629(0x1b4)][_0x209629(0x306)](_0x5e9058[_0x209629(0x2f3)](this[_0x209629(0x313)]),_0x5e9058['switchMap'](_0x446e72=>{const _0x1cc569=_0x209629;if(_0x446e72){const _0x15eead=_0x446e72[_0x1cc569(0x380)];return _0x39a97e[_0x1cc569(0x33d)](this[_0x1cc569(0x2fb)][_0x1cc569(0x433)](this['_context'][_0x1cc569(0x1a7)]),this[_0x1cc569(0x2a9)][_0x1cc569(0x2b1)])['pipe'](_0x5e9058['map'](([_0xfaf032,_0x1986ef])=>{const _0x155dfd=_0x1cc569,_0x2e0797=new Map();return _0xfaf032[_0x155dfd(0x34f)]((_0x32d6f0,_0x50763f)=>{const _0x1ae07f=_0x155dfd;if(_0x32d6f0[_0x1ae07f(0x394)]===_0x15eead){const _0x4af0c5={..._0x32d6f0};_0x4af0c5[_0x1ae07f(0x2bd)]=this['_themeService'][_0x1ae07f(0x3f2)](_0x32d6f0[_0x1ae07f(0x2bd)]),_0x2e0797[_0x1ae07f(0x2d9)](_0x50763f,_0x4af0c5);}}),{'skeleton':_0x446e72,'cursors':_0x2e0797};}));}return _0x39a97e['of']({'skeleton':null,'cursors':new Map()});}))[_0x209629(0x26a)](({skeleton:_0x286400,cursors:_0x367202})=>{const _0x2d0b98=_0x209629;this[_0x2d0b98(0x33e)](),_0x286400&&this['_updateCollabCursors'](_0x286400,_0x367202);}),this[_0x209629(0x266)][_0x209629(0x1b4)][_0x209629(0x26a)](_0x4d7b14=>{const _0x5505e8=_0x209629;if(_0x4d7b14==null)return;const {skeleton:_0x2f7f91}=_0x4d7b14,{scene:_0x212eec}=this[_0x5505e8(0x3e0)];_0x212eec['onPointerMove$'][_0x5505e8(0x34a)](_0x2c2192['debounce'](_0x53d175=>{const _0x50902e=_0x5505e8;var _0x710b07,_0xf18eee;const {offsetX:_0x5e8f17,offsetY:_0xbb76b3}=_0x53d175,{x:_0x463694,y:_0x62c89a}=_0x212eec['getRelativeToViewportCoord'](_0xeac254[_0x50902e(0x2a4)]['FromArray']([_0x5e8f17,_0xbb76b3])),{scaleX:_0x47de78,scaleY:_0x4e1d1b}=_0x212eec[_0x50902e(0x3bb)](),_0x374752=_0x212eec['getViewport'](_0xeac254[_0x50902e(0x2f4)][_0x50902e(0x3c1)]),_0x23b367=_0x212eec[_0x50902e(0x37e)](_0xeac254[_0x50902e(0x2a4)][_0x50902e(0x2bb)]([_0x463694,_0x62c89a]),_0x374752),_0x2ead64=_0x2f7f91[_0x50902e(0x2be)](_0x5e8f17,_0xbb76b3,_0x47de78,_0x4e1d1b,_0x23b367);((_0x710b07=this['_lastPointer'])==null?void 0x0:_0x710b07['column'])===_0x2ead64[_0x50902e(0x290)]&&((_0xf18eee=this[_0x50902e(0x212)])==null?void 0x0:_0xf18eee[_0x50902e(0x26b)])===_0x2ead64[_0x50902e(0x26b)]||this['_cursors'][_0x50902e(0x34f)](_0x3b3ff2=>{const _0x47a675=_0x50902e;_0x3b3ff2[_0x47a675(0x239)](_0x2ead64);});},0x64));});}['_updateCollabCursors'](_0x4f6455,_0xd42bf4){const _0x4df0d3=_0x263a40;var _0xaf102;const _0x3e7eeb=(_0xaf102=this[_0x4df0d3(0x266)]['getCurrent']())==null?void 0x0:_0xaf102[_0x4df0d3(0x3e1)];if(!_0x3e7eeb)return;const _0x439156=this[_0x4df0d3(0x2a8)]();if(!_0x439156)return;this[_0x4df0d3(0x22f)]['forEach'](_0x1bbf20=>{_0x1bbf20['makeDirty']();});const {scene:_0x4356c8}=_0x439156,_0x33d233=_0x4a3363(Array[_0x4df0d3(0x1ab)](_0xd42bf4[_0x4df0d3(0x38b)]()))[_0x4df0d3(0x201)](_0x2bd7bb=>{const _0x77cd70=_0x4df0d3,{color:_0x50475d,range:_0x2718ee,name:_0x1bb2de,selection:_0x5029a7,sheetID:_0x4748c7}=_0x2bd7bb,{startColumn:_0x5bf234,startRow:_0x3a36f5,endColumn:_0x388ea6,endRow:_0xb3614a}=_0x2718ee,_0x39ff55=_0x5b36e4['getCoordByCell'](_0x3a36f5,_0x5bf234,_0x4356c8,_0x3e7eeb),_0x56cfdf=_0x5b36e4[_0x77cd70(0x1b3)](_0xb3614a,_0x388ea6,_0x4356c8,_0x3e7eeb),{columnHeaderHeightAndMarginTop:_0x24780d}=_0x3e7eeb,{startX:_0x450f5a,startY:_0x551ff3}=_0x39ff55,{endX:_0x2448c3,endY:_0x1f2b11}=_0x56cfdf,_0xcecb76=_0x2448c3-_0x450f5a,_0x5a49b2=_0x1f2b11-_0x551ff3,_0x1093b2={'labelPosition':_0x551ff3-_0x24780d>=_0x2d0218?'top':_0x77cd70(0x20a),'sheetID':_0x4748c7,'range':_0x2718ee,'color':_0x50475d,'name':_0x1bb2de,'selection':_0x5029a7,'left':_0x450f5a,'top':_0x551ff3,'width':_0xcecb76,'height':_0x5a49b2,'evented':!0x1,'zIndex':_0x2d56f0};return new _0x9e04ec(_0x1bb2de,_0x1093b2);});_0x4356c8['addObjects'](_0x33d233,_0x1f0748),this[_0x4df0d3(0x22f)]=new Set(_0x33d233);}[_0x263a40(0x33e)](){const _0x3f2bbd=_0x263a40;var _0xdbd9d0;(_0xdbd9d0=this[_0x3f2bbd(0x22f)])==null||_0xdbd9d0['forEach'](_0x1f3d39=>_0x1f3d39[_0x3f2bbd(0x3e8)]());}[_0x263a40(0x2a8)](){const _0x55d705=_0x263a40;return _0x5b36e4['getSheetObject'](this[_0x55d705(0x3e0)][_0x55d705(0x1c9)],this[_0x55d705(0x3e0)]);}};_0x429464=_0x21c05c([_0xd327dc(0x1,_0x2c2192[_0x263a40(0x3d4)](_0x5b36e4[_0x263a40(0x25d)])),_0xd327dc(0x2,_0x2c2192['Inject'](_0x289b74)),_0xd327dc(0x3,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192[_0x263a40(0x3eb)]))],_0x429464);function _0x4a3363(_0x3a6235){const _0xed1eb4=_0x263a40,_0x458bee=new Map();return _0x3a6235[_0xed1eb4(0x34f)](_0x447197=>{const _0x8d98f5=_0xed1eb4;if(_0x458bee['has'](_0x447197[_0x8d98f5(0x2cd)])){const _0x1178eb=_0x458bee[_0x8d98f5(0x378)](_0x447197['selection']);_0x1178eb[_0x8d98f5(0x3d8)]+=',\x20'+_0x447197['name'];}else _0x458bee[_0x8d98f5(0x2d9)](_0x447197[_0x8d98f5(0x2cd)],_0x447197);}),Array['from'](_0x458bee[_0xed1eb4(0x38b)]());}var _0x4432d5=Object[_0x263a40(0x2bc)],_0x2f8c9b=(_0x4d9a5f,_0xd16ea3,_0x1630a2,_0x1e0ea0)=>{const _0x58c213=_0x263a40;for(var _0x1d3437=_0x1e0ea0>0x1?void 0x0:_0x1e0ea0?_0x4432d5(_0xd16ea3,_0x1630a2):_0xd16ea3,_0x5e4b59=_0x4d9a5f[_0x58c213(0x22c)]-0x1,_0x40a3fe;_0x5e4b59>=0x0;_0x5e4b59--)(_0x40a3fe=_0x4d9a5f[_0x5e4b59])&&(_0x1d3437=_0x40a3fe(_0x1d3437)||_0x1d3437);return _0x1d3437;},_0x313f8d=(_0x3616a9,_0x4df7e7)=>(_0x5c7775,_0x709da)=>_0x4df7e7(_0x5c7775,_0x709da,_0x3616a9);let _0x753b4=class extends _0x2c2192[_0x263a40(0x2e1)]{constructor(_0x49b810,_0xbce0be,_0x3f2239,_0x20901e,_0xd16b67,_0x30dd08){const _0x23804d=_0x263a40;super(),this[_0x23804d(0x350)]=_0x49b810,this[_0x23804d(0x264)]=_0xbce0be,this['_collaborationUIEventService']=_0x3f2239,this[_0x23804d(0x37b)]=_0x20901e,this[_0x23804d(0x42d)]=_0xd16b67,this['_localeService']=_0x30dd08,this[_0x23804d(0x265)](),this['_initEvent']();}['_setupBeforeClosingHandler'](){const _0x1d7f20=_0x263a40;this[_0x1d7f20(0x1af)](this['_beforeCloseService']['registerBeforeClose'](()=>{const _0x32caaa=_0x1d7f20;if(this[_0x32caaa(0x264)]['saveTaskMap'][_0x32caaa(0x1e5)])return this[_0x32caaa(0x42f)]['t'](_0x32caaa(0x364));}));}['_initEvent'](){const _0x24a782=_0x263a40;this[_0x24a782(0x1af)](this[_0x24a782(0x379)]['event$'][_0x24a782(0x26a)](_0x47aeaf=>{const _0x57b7d9=_0x24a782;_0x47aeaf['id']===_0x3b3567[_0x57b7d9(0x320)][_0x57b7d9(0x41d)]&&this['_messageService'][_0x57b7d9(0x2e8)]({'type':_0x4f24da['MessageType'][_0x57b7d9(0x227)],'content':this[_0x57b7d9(0x42f)]['t']('collaboration.single-unit.warning')}),_0x47aeaf['id']===_0x3b3567['CollaborationUIEventId'][_0x57b7d9(0x300)]&&this[_0x57b7d9(0x37b)]['show']({'type':_0x4f24da[_0x57b7d9(0x3bd)][_0x57b7d9(0x227)],'content':this[_0x57b7d9(0x42f)]['t']('collaboration.closeRoom')}),_0x47aeaf['id']===_0x3b3567[_0x57b7d9(0x320)]['PERMISSION_DENIED']&&this[_0x57b7d9(0x42d)]['show']({'title':this[_0x57b7d9(0x42f)]['t']('permission.title'),'content':this[_0x57b7d9(0x42f)]['t'](_0x57b7d9(0x35a)),'type':'error','duration':0x0}),_0x47aeaf['id']===_0x3b3567[_0x57b7d9(0x320)][_0x57b7d9(0x1de)]&&this[_0x57b7d9(0x37b)]['show']({'type':_0x4f24da['MessageType'][_0x57b7d9(0x1cf)],'content':this[_0x57b7d9(0x42f)]['t'](_0x57b7d9(0x272))+'('+_0x47aeaf[_0x57b7d9(0x1bb)]+')'}),_0x47aeaf['id']===_0x3b3567[_0x57b7d9(0x320)]['JOIN_ROOM_FAILED']&&this[_0x57b7d9(0x37b)]['show']({'type':_0x4f24da[_0x57b7d9(0x3bd)]['Warning'],'content':this['_localeService']['t'](_0x47aeaf[_0x57b7d9(0x1bb)]||'')}),_0x47aeaf['id']===_0x3b3567['CollaborationUIEventId'][_0x57b7d9(0x2f9)]&&this['_messageService'][_0x57b7d9(0x2e8)]({'type':_0x4f24da['MessageType'][_0x57b7d9(0x227)],'content':this['_localeService']['t'](_0x57b7d9(0x36c))}),_0x47aeaf['id']===_0x3b3567[_0x57b7d9(0x320)][_0x57b7d9(0x3f5)]&&this['_messageService'][_0x57b7d9(0x2e8)]({'type':_0x4f24da['MessageType'][_0x57b7d9(0x1cf)],'content':this[_0x57b7d9(0x42f)]['t'](_0x57b7d9(0x31c))}),_0x47aeaf['id']===_0x3b3567['CollaborationUIEventId'][_0x57b7d9(0x3a9)]&&this[_0x57b7d9(0x37b)][_0x57b7d9(0x2e8)]({'type':_0x4f24da[_0x57b7d9(0x3bd)][_0x57b7d9(0x1cf)],'content':this['_localeService']['t']('session.collaboration-timeout')});}));}};_0x753b4=_0x2f8c9b([_0x313f8d(0x0,_0x214f56[_0x263a40(0x238)]),_0x313f8d(0x1,_0x3b3567[_0x263a40(0x1dd)]),_0x313f8d(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x3b3567[_0x263a40(0x1ea)])),_0x313f8d(0x3,_0x214f56[_0x263a40(0x1b0)]),_0x313f8d(0x4,_0x214f56[_0x263a40(0x237)]),_0x313f8d(0x5,_0x2c2192['Inject'](_0x2c2192[_0x263a40(0x325)]))],_0x753b4);const _0x5b003e=_0x263a40(0x251),_0x4467d8={};var _0x3aedf5=Object[_0x263a40(0x2bc)],_0x1900aa=(_0x469319,_0x520a51,_0x330c7e,_0x27b6cf)=>{const _0x40d2df=_0x263a40;for(var _0x437037=_0x27b6cf>0x1?void 0x0:_0x27b6cf?_0x3aedf5(_0x520a51,_0x330c7e):_0x520a51,_0x255fb2=_0x469319[_0x40d2df(0x22c)]-0x1,_0x448eb8;_0x255fb2>=0x0;_0x255fb2--)(_0x448eb8=_0x469319[_0x255fb2])&&(_0x437037=_0x448eb8(_0x437037)||_0x437037);return _0x437037;},_0x5242bd=(_0x1dad5d,_0x376f0f)=>(_0x486191,_0x48c033)=>_0x376f0f(_0x486191,_0x48c033,_0x1dad5d);let _0x48d330=class{constructor(_0x45ceaa,_0x36728f){this['_transformService']=_0x45ceaa,this['_renderManagerService']=_0x36728f;}[_0x263a40(0x258)](_0x23fedd){const _0x2dd599=_0x263a40;this[_0x2dd599(0x336)](_0x23fedd),this[_0x2dd599(0x3ef)](_0x23fedd);}[_0x263a40(0x241)](_0x3ec7ae){const _0x276c44=_0x263a40,{unitID:_0x1efcdc}=_0x3ec7ae,_0x28073e=this['_renderManagerService'][_0x276c44(0x41c)](_0x1efcdc)[_0x276c44(0x19b)](_0x4e1317[_0x276c44(0x28f)]),{redoCache:_0x587772}=_0x28073e[_0x276c44(0x1aa)]();if(_0x587772['length']===0x0)return _0x3ec7ae;let _0x296024=_0x2c2192[_0x276c44(0x3cf)]['deepClone'](_0x3ec7ae['mutations'][0x0]);for(let _0x5124d5=0x0;_0x5124d5<_0x587772['length'];_0x5124d5++){const _0x49ff1e={'id':_0x276c44(0x323),'params':{..._0x587772[_0x5124d5]}},_0x348c23=this[_0x276c44(0x42c)][_0x276c44(0x39e)](_0x296024,_0x49ff1e,!0x1);if(_0x542b31[_0x276c44(0x39f)](_0x348c23))throw _0x348c23[_0x276c44(0x423)];_0x296024=_0x348c23[_0x276c44(0x1ba)];}return{..._0x2c2192['Tools'][_0x276c44(0x3d6)](_0x3ec7ae),'mutations':[_0x296024]};}[_0x263a40(0x336)](_0x2d0332){const _0x26f42f=_0x263a40,{unitID:_0x4c8106}=_0x2d0332,_0x1e8577=this['_renderManagerService'][_0x26f42f(0x41c)](_0x4c8106)[_0x26f42f(0x19b)](_0x4e1317['DocIMEInputManagerService']),{undoCache:_0x5829e5,redoCache:_0x136c9d}=_0x1e8577[_0x26f42f(0x1aa)]();if(_0x5829e5['length']===0x0||_0x136c9d[_0x26f42f(0x22c)]===0x0)return;const _0x175cbf=[],_0x42f2f3=[];let _0x2aa9d1=_0x2c2192['Tools'][_0x26f42f(0x3d6)](_0x2d0332[_0x26f42f(0x22e)][0x0]),_0x3ff58c=_0x2c2192[_0x26f42f(0x3cf)]['deepClone'](_0x2d0332['mutations'][0x0]);for(let _0xe2e7e2=_0x5829e5['length']-0x1;_0xe2e7e2>=0x0;_0xe2e7e2--){const _0x58f1b0={'id':_0x26f42f(0x323),'params':{..._0x5829e5[_0xe2e7e2]}},_0x3d6105={'id':_0x26f42f(0x323),'params':{..._0x136c9d[_0xe2e7e2]}},_0x4167e9=this[_0x26f42f(0x42c)]['transformMutation'](_0x2aa9d1,_0x58f1b0,!0x1),_0x183893=this['_transformService'][_0x26f42f(0x39e)](_0x3ff58c,_0x3d6105,!0x1);if(_0x542b31[_0x26f42f(0x39f)](_0x4167e9))throw _0x4167e9['error'];if(_0x542b31['isTransformMutationFailure'](_0x183893))throw _0x183893[_0x26f42f(0x423)];_0x175cbf[_0x26f42f(0x373)](_0x4167e9[_0x26f42f(0x26f)]['params']),_0x42f2f3[_0x26f42f(0x373)](_0x183893[_0x26f42f(0x26f)][_0x26f42f(0x439)]),_0x2aa9d1=_0x4167e9[_0x26f42f(0x1ba)],_0x3ff58c=_0x183893[_0x26f42f(0x1ba)];}_0x1e8577[_0x26f42f(0x417)]({'undoCache':_0x175cbf,'redoCache':_0x42f2f3});}[_0x263a40(0x3ef)](_0x19ec4a){const _0x1760ba=_0x263a40,{unitID:_0x113acc}=_0x19ec4a,_0x46d412=this[_0x1760ba(0x3b2)][_0x1760ba(0x41c)](_0x113acc)[_0x1760ba(0x19b)](_0x4e1317['DocIMEInputManagerService']),_0x492b98=_0x46d412[_0x1760ba(0x216)]();if(_0x492b98==null)return;const _0x56a872=[{'id':_0x1760ba(0x323),'params':{'unitId':_0x19ec4a[_0x1760ba(0x1c8)],'actions':null,'textRanges':[_0x492b98]}}],_0x3f5737=this[_0x1760ba(0x42c)][_0x1760ba(0x401)](_0x19ec4a,_0x56a872);if(!_0x542b31['isTransformMutationsWithChangesetSuccess'](_0x3f5737))throw _0x3f5737[_0x1760ba(0x423)];const _0x5e3da9=_0x3f5737['m2Prime'][0x0][_0x1760ba(0x439)]['textRanges'];Array[_0x1760ba(0x2ca)](_0x5e3da9)&&_0x5e3da9[_0x1760ba(0x22c)]&&_0x46d412['setActiveRange'](_0x5e3da9[0x0]);}};_0x48d330=_0x1900aa([_0x5242bd(0x0,_0x542b31[_0x263a40(0x1e1)]),_0x5242bd(0x1,_0xeac254[_0x263a40(0x36d)])],_0x48d330);var _0x2001c6=Object[_0x263a40(0x2bc)],_0x278bfc=(_0x3bb895,_0x405aa4,_0x325761,_0x6875a8)=>{const _0xbc2cd4=_0x263a40;for(var _0x54cf74=_0x6875a8>0x1?void 0x0:_0x6875a8?_0x2001c6(_0x405aa4,_0x325761):_0x405aa4,_0x5c0a65=_0x3bb895[_0xbc2cd4(0x22c)]-0x1,_0x43a33b;_0x5c0a65>=0x0;_0x5c0a65--)(_0x43a33b=_0x3bb895[_0x5c0a65])&&(_0x54cf74=_0x43a33b(_0x54cf74)||_0x54cf74);return _0x54cf74;},_0x5418ed=(_0x30201b,_0x829695)=>(_0x4c0832,_0x4b900a)=>_0x829695(_0x4c0832,_0x4b900a,_0x30201b);let _0x2ea084=class{constructor(_0x273396,_0x483056,_0x1a8b33){const _0xd4b4c8=_0x263a40;this[_0xd4b4c8(0x1bd)]=_0x273396,this[_0xd4b4c8(0x42c)]=_0x483056,this[_0xd4b4c8(0x29d)]=_0x1a8b33;}[_0x263a40(0x2df)](_0x3101c8){const _0x23d3c6=_0x263a40;this[_0x23d3c6(0x1ff)](_0x3101c8);}[_0x263a40(0x241)](_0x133af5){const _0x49357e=_0x263a40,{unitID:_0x2847e7}=_0x133af5,{collaboration:_0x3ca8ab}=this[_0x49357e(0x29d)]['getStateCache'](_0x2847e7);if(_0x3ca8ab[_0x49357e(0x22c)]===0x0)return _0x133af5;let _0x2a92e2=_0x2c2192['Tools'][_0x49357e(0x3d6)](_0x133af5[_0x49357e(0x22e)][0x0]);for(let _0x651a34=0x0;_0x651a34<_0x3ca8ab[_0x49357e(0x22c)];_0x651a34++){const _0x38264a={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x3ca8ab[_0x651a34][_0x49357e(0x1a7)],..._0x3ca8ab[_0x651a34][_0x49357e(0x204)]}},_0x3571a2=this[_0x49357e(0x42c)]['transformMutation'](_0x2a92e2,_0x38264a,!0x1);if(_0x542b31[_0x49357e(0x39f)](_0x3571a2))throw _0x3571a2[_0x49357e(0x423)];_0x2a92e2=_0x3571a2[_0x49357e(0x1ba)];}return{..._0x2c2192[_0x49357e(0x3cf)][_0x49357e(0x3d6)](_0x133af5),'mutations':[_0x2a92e2]};}[_0x263a40(0x1ff)](_0x4388f1){const _0x803d44=_0x263a40,{unitID:_0xc2a729}=_0x4388f1,{history:_0x48819e,collaboration:_0x307baf}=this[_0x803d44(0x29d)][_0x803d44(0x2d4)](_0xc2a729);if(_0x48819e[_0x803d44(0x22c)]===0x0&&_0x307baf[_0x803d44(0x22c)]===0x0)return;const _0x1f09a9=[],_0x1cd80a=[];let _0x2bcaf4=_0x2c2192[_0x803d44(0x3cf)][_0x803d44(0x3d6)](_0x4388f1[_0x803d44(0x22e)][0x0]),_0x4423f0=_0x2c2192['Tools'][_0x803d44(0x3d6)](_0x4388f1[_0x803d44(0x22e)][0x0]);for(let _0x1f4022=_0x48819e[_0x803d44(0x22c)]-0x1;_0x1f4022>=0x0;_0x1f4022--){const _0x5ecc98={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x48819e[_0x1f4022][_0x803d44(0x1a7)],..._0x48819e[_0x1f4022]['undoState']}},_0x475cae={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x48819e[_0x1f4022][_0x803d44(0x1a7)],..._0x48819e[_0x1f4022][_0x803d44(0x204)]}},_0x56d393=this[_0x803d44(0x42c)]['transformMutation'](_0x2bcaf4,_0x5ecc98,!0x1),_0x159b71=this[_0x803d44(0x42c)]['transformMutation'](_0x4423f0,_0x475cae,!0x1);if(_0x542b31[_0x803d44(0x39f)](_0x56d393))throw _0x56d393['error'];if(_0x542b31[_0x803d44(0x39f)](_0x159b71))throw _0x159b71['error'];_0x1f09a9[_0x803d44(0x373)]({..._0x48819e[_0x1f4022],'undoState':_0x56d393[_0x803d44(0x26f)]['params'],'redoState':_0x159b71[_0x803d44(0x26f)][_0x803d44(0x439)]}),_0x2bcaf4=_0x56d393[_0x803d44(0x1ba)],_0x4423f0=_0x159b71[_0x803d44(0x1ba)];}_0x2bcaf4=_0x2c2192['Tools']['deepClone'](_0x4388f1[_0x803d44(0x22e)][0x0]),_0x4423f0=_0x2c2192[_0x803d44(0x3cf)]['deepClone'](_0x4388f1['mutations'][0x0]);for(let _0x17d654=_0x307baf[_0x803d44(0x22c)]-0x1;_0x17d654>=0x0;_0x17d654--){const _0x2963c7={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x307baf[_0x17d654][_0x803d44(0x1a7)],..._0x307baf[_0x17d654]['undoState']}},_0x48f4c2={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x307baf[_0x17d654]['unitId'],..._0x307baf[_0x17d654]['redoState']}},_0x2e48d8=this[_0x803d44(0x42c)][_0x803d44(0x39e)](_0x2bcaf4,_0x2963c7,!0x1),_0x519402=this[_0x803d44(0x42c)][_0x803d44(0x39e)](_0x4423f0,_0x48f4c2,!0x1);if(_0x542b31[_0x803d44(0x39f)](_0x2e48d8))throw _0x2e48d8['error'];if(_0x542b31[_0x803d44(0x39f)](_0x519402))throw _0x519402['error'];_0x1cd80a[_0x803d44(0x373)]({..._0x307baf[_0x17d654],'undoState':_0x2e48d8[_0x803d44(0x26f)]['params'],'redoState':_0x519402['m2Prime'][_0x803d44(0x439)]}),_0x2bcaf4=_0x2e48d8[_0x803d44(0x1ba)],_0x4423f0=_0x519402[_0x803d44(0x1ba)];}this['_docStateChangeManagerService'][_0x803d44(0x3d5)](_0xc2a729,{'history':_0x1f09a9,'collaboration':_0x1cd80a});}};_0x2ea084=_0x278bfc([_0x5418ed(0x0,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192[_0x263a40(0x400)])),_0x5418ed(0x1,_0x542b31[_0x263a40(0x1e1)]),_0x5418ed(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x4e1317['DocStateChangeManagerService']))],_0x2ea084);var _0x133104=Object[_0x263a40(0x2bc)],_0x563192=(_0x37a94f,_0x807170,_0x1a8ffc,_0x10f7d1)=>{const _0x1029e2=_0x263a40;for(var _0x32fd51=_0x10f7d1>0x1?void 0x0:_0x10f7d1?_0x133104(_0x807170,_0x1a8ffc):_0x807170,_0x3669fc=_0x37a94f[_0x1029e2(0x22c)]-0x1,_0x422a8e;_0x3669fc>=0x0;_0x3669fc--)(_0x422a8e=_0x37a94f[_0x3669fc])&&(_0x32fd51=_0x422a8e(_0x32fd51)||_0x32fd51);return _0x32fd51;},_0x1d2ba2=(_0x4bc7cc,_0x582b80)=>(_0x416cce,_0x18da73)=>_0x582b80(_0x416cce,_0x18da73,_0x4bc7cc);let _0x16f9d8=class{constructor(_0x53f9d0,_0x2aae0d){const _0x59a06a=_0x263a40;this[_0x59a06a(0x1bd)]=_0x53f9d0,this[_0x59a06a(0x42c)]=_0x2aae0d;}[_0x263a40(0x343)](_0x11010d){const _0x1db858=_0x263a40;var _0x17e5c4;const _0x2771ae=this['_injector']['get'](_0x28f6a3['DocSelectionManagerService']),_0x2af432=(_0x17e5c4=_0x2771ae['getDocRanges']())!=null?_0x17e5c4:[];if(_0x2af432[_0x1db858(0x22c)]===0x0)return;const _0x217b41=_0x11010d[_0x1db858(0x1c8)],_0x21a5bb=[{'id':_0x1db858(0x323),'params':{'unitId':_0x217b41,'actions':null,'textRanges':_0x2af432}}],_0x2d9cca=this[_0x1db858(0x42c)]['transformMutationsWithChangeset'](_0x11010d,_0x21a5bb);if(!_0x542b31[_0x1db858(0x2dc)](_0x2d9cca))throw _0x2d9cca[_0x1db858(0x423)];const _0x29105e=_0x2d9cca['m2Prime'][0x0][_0x1db858(0x439)]['textRanges'];Array[_0x1db858(0x2ca)](_0x29105e)&&_0x29105e[_0x1db858(0x22c)]&&_0x2771ae[_0x1db858(0x303)](_0x29105e,{'unitId':_0x217b41,'subUnitId':_0x217b41},!0x1);}};_0x16f9d8=_0x563192([_0x1d2ba2(0x0,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192[_0x263a40(0x400)])),_0x1d2ba2(0x1,_0x542b31[_0x263a40(0x1e1)])],_0x16f9d8);var _0xd53de1=Object[_0x263a40(0x2bc)],_0x248ef9=(_0x52bddc,_0x441c97,_0x33478c,_0x369291)=>{const _0x5e37f5=_0x263a40;for(var _0x15a416=_0x369291>0x1?void 0x0:_0x369291?_0xd53de1(_0x441c97,_0x33478c):_0x441c97,_0x563193=_0x52bddc[_0x5e37f5(0x22c)]-0x1,_0x1511d8;_0x563193>=0x0;_0x563193--)(_0x1511d8=_0x52bddc[_0x563193])&&(_0x15a416=_0x1511d8(_0x15a416)||_0x15a416);return _0x15a416;},_0xabf8eb=(_0x23e249,_0x1d2e55)=>(_0x4c4576,_0xbcd093)=>_0x1d2e55(_0x4c4576,_0xbcd093,_0x23e249);let _0x6d6a66=class extends _0x2c2192['Disposable']{constructor(_0x5cdf92,_0x38746e,_0x3d5ca6,_0xfb9e12,_0x2d7d3a,_0x2c2057,_0x185070,_0x184e08){const _0x4cc359=_0x263a40;super(),_0x193c38(this,'_status$',new _0x39a97e[(_0x4cc359(0x30b))](_0x3b3567[_0x4cc359(0x38e)][_0x4cc359(0x2cf)])),(this['_docStateChangeManagerService']=_0x5cdf92,this[_0x4cc359(0x420)]=_0x38746e,this[_0x4cc359(0x2c7)]=_0x3d5ca6,this[_0x4cc359(0x374)]=_0xfb9e12,this['_docTransformSelectionsService']=_0x2d7d3a,this[_0x4cc359(0x1b2)]=_0x2c2057,this[_0x4cc359(0x37b)]=_0x185070,this[_0x4cc359(0x42f)]=_0x184e08,this[_0x4cc359(0x2fc)]());}[_0x263a40(0x2fc)](){const _0x20da64=_0x263a40;this[_0x20da64(0x1af)](this['_collaborationController']['entityInit$'][_0x20da64(0x26a)](_0x4a999a=>{const _0x24db36=_0x20da64,_0x31300d=this[_0x24db36(0x29d)][_0x24db36(0x209)][_0x24db36(0x26a)](_0x56432f=>{const _0x5c6928=_0x24db36;if(_0x56432f==null)return;const {unitId:_0x57fb1f,redoState:_0x4ddb9d,commandId:_0xdc09b2}=_0x56432f;if(_0x57fb1f!==_0x4a999a[_0x5c6928(0x1c8)])return;const _0x1e19cd={'id':_0xdc09b2,'type':_0x2c2192[_0x5c6928(0x242)][_0x5c6928(0x2c1)],'params':{'unitId':_0x57fb1f,'actions':_0x4ddb9d[_0x5c6928(0x316)],'textRanges':null}};_0x4a999a['onLocalMutation'](_0x1e19cd);});if(_0x4a999a[_0x24db36(0x1af)](_0x31300d),_0x4a999a instanceof _0x3b3567[_0x24db36(0x294)]){const _0x151a99={'onTransformIME':_0xe0edbf=>this['_docTransformIMECacheService'][_0x24db36(0x258)](_0xe0edbf),'onTransformState':_0x3f00e6=>this[_0x24db36(0x374)][_0x24db36(0x2df)](_0x3f00e6),'onTransformSelections':_0x268525=>this[_0x24db36(0x1eb)]['transformSelections'](_0x268525),'onSyncEditingCollabCursor':_0xa00efe=>this['_docSyncEditingCollabCursorService'][_0x24db36(0x3e2)](_0xa00efe),'onTransformRemoteChangesetByIMECache':_0x391758=>this[_0x24db36(0x2c7)]['transformRemoteChangeset'](_0x391758),'onTransformRemoteChangesetByStateCache':_0x150381=>this['_docTransformStateCacheService']['transformRemoteChangeset'](_0x150381)};_0x4a999a[_0x24db36(0x28a)](_0x151a99);}}));}};_0x6d6a66=_0x248ef9([_0xabf8eb(0x0,_0x2c2192[_0x263a40(0x3d4)](_0x4e1317[_0x263a40(0x2f7)])),_0xabf8eb(0x1,_0x2c2192[_0x263a40(0x3d4)](_0x3b3567['CollaborationController'])),_0xabf8eb(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x48d330)),_0xabf8eb(0x3,_0x2c2192[_0x263a40(0x3d4)](_0x2ea084)),_0xabf8eb(0x4,_0x2c2192[_0x263a40(0x3d4)](_0x16f9d8)),_0xabf8eb(0x5,_0x2c2192[_0x263a40(0x3d4)](_0x45dd48)),_0xabf8eb(0x6,_0x214f56[_0x263a40(0x1b0)]),_0xabf8eb(0x7,_0x2c2192['Inject'](_0x2c2192[_0x263a40(0x325)]))],_0x6d6a66);var _0x203e02=Object[_0x263a40(0x2bc)],_0x290888=(_0xa9ef8a,_0x353294,_0x330426,_0x634232)=>{const _0x1f5a01=_0x263a40;for(var _0x334fc3=_0x634232>0x1?void 0x0:_0x634232?_0x203e02(_0x353294,_0x330426):_0x353294,_0x49535b=_0xa9ef8a[_0x1f5a01(0x22c)]-0x1,_0x33e8c7;_0x49535b>=0x0;_0x49535b--)(_0x33e8c7=_0xa9ef8a[_0x49535b])&&(_0x334fc3=_0x33e8c7(_0x334fc3)||_0x334fc3);return _0x334fc3;},_0x500015=(_0x2428d8,_0x23c2c7)=>(_0xdbfc03,_0x1b6e8f)=>_0x23c2c7(_0xdbfc03,_0x1b6e8f,_0x2428d8);let _0xc805ec=class extends _0x2c2192['Disposable']{constructor(_0x378a1,_0x31ab1b,_0x45458b){const _0x58a8c7=_0x263a40;super(),_0x193c38(this,_0x58a8c7(0x2ba),new Map()),_0x193c38(this,_0x58a8c7(0x319),new Map()),_0x193c38(this,'_disabled',!0x1),(this[_0x58a8c7(0x291)]=_0x378a1,this[_0x58a8c7(0x422)]=_0x31ab1b,this['_revisionService']=_0x45458b);}['disableLocalCache'](){this['_disabled']=!0x0;}['enableLocalCache'](){const _0xc2e320=_0x263a40;this[_0xc2e320(0x286)]=!0x1;}get[_0x263a40(0x297)](){const _0x3dfcdc=_0x263a40;return this[_0x3dfcdc(0x319)];}['dispose'](){const _0x8bcf77=_0x263a40;this[_0x8bcf77(0x35d)]()[_0x8bcf77(0x274)](()=>super[_0x8bcf77(0x3e8)]());}async[_0x263a40(0x2dd)](_0x2129db){const _0x593481=_0x263a40;return this[_0x593481(0x286)]?null:this[_0x593481(0x422)]['getItem'](_0x3b3567['getLocalCacheKey'](_0x2129db));}async[_0x263a40(0x1b5)](_0x5c0574,_0x5cfab2){const _0x467dfb=_0x263a40;return!!this['_localStorageService'][_0x467dfb(0x404)](_0x5c0574,_0x5cfab2);}[_0x263a40(0x3cd)](_0x40675f,_0x587803,_0x475c90,_0x16a962){const _0x4bc587=_0x263a40,_0x41effc=this['_revisionService'][_0x4bc587(0x351)](_0x40675f);this['_cachedData'][_0x4bc587(0x2d9)](_0x40675f,{'unitID':_0x40675f,'type':_0x587803,'awaitingChangeset':_0x475c90,'mutations':_0x16a962,'rev':_0x41effc}),this[_0x4bc587(0x319)][_0x4bc587(0x31d)](_0x40675f)||this[_0x4bc587(0x311)](_0x40675f);}[_0x263a40(0x311)](_0x23544d){const _0x3af00e=_0x263a40,_0x27c576=this[_0x3af00e(0x391)]();_0x27c576===0x0?this[_0x3af00e(0x235)](_0x23544d):this['_saveTaskMap'][_0x3af00e(0x2d9)](_0x23544d,setTimeout(()=>this['_saveCache'](_0x23544d),_0x27c576));}[_0x263a40(0x391)](){const _0x17d9b2=_0x263a40;var _0x278631;return(_0x278631=this[_0x17d9b2(0x291)][_0x17d9b2(0x1e4)](_0x3b3567[_0x17d9b2(0x412)]))!=null?_0x278631:_0x3b3567[_0x17d9b2(0x317)];}[_0x263a40(0x235)](_0x241a75){const _0x21c709=_0x263a40,_0x2d9c81=this[_0x21c709(0x319)][_0x21c709(0x378)](_0x241a75);return _0x2d9c81!==void 0x0&&window[_0x21c709(0x2eb)](_0x2d9c81),this[_0x21c709(0x422)][_0x21c709(0x404)](_0x3b3567[_0x21c709(0x233)](_0x241a75),this[_0x21c709(0x2ba)][_0x21c709(0x378)](_0x241a75))[_0x21c709(0x274)](()=>this[_0x21c709(0x319)][_0x21c709(0x402)](_0x241a75));}async['exhaustSavingTask'](){const _0x38c8df=_0x263a40,_0x8e4fb7=[];this[_0x38c8df(0x319)][_0x38c8df(0x34f)]((_0x3ed34b,_0x5a9d62)=>{const _0x376cf6=_0x38c8df;window['clearTimeout'](_0x3ed34b),_0x8e4fb7[_0x376cf6(0x367)](this[_0x376cf6(0x235)](_0x5a9d62)[_0x376cf6(0x274)](()=>{const _0x274856=_0x376cf6;this[_0x274856(0x319)]['delete'](_0x5a9d62);}));}),await Promise[_0x38c8df(0x33c)](_0x8e4fb7);}};_0xc805ec=_0x290888([_0x500015(0x0,_0x2c2192[_0x263a40(0x2da)]),_0x500015(0x1,_0x2c2192[_0x263a40(0x305)]),_0x500015(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x542b31[_0x263a40(0x220)]))],_0xc805ec);class _0x5810c8 extends _0x2c2192[_0x263a40(0x326)]{constructor(){const _0x11d3c5=_0x263a40;super(),_0x193c38(this,_0x11d3c5(0x3fd)),this['urlChange$']=_0x39a97e[_0x11d3c5(0x293)](window,_0x11d3c5(0x29c))[_0x11d3c5(0x306)](_0x39a97e[_0x11d3c5(0x2f3)](this[_0x11d3c5(0x313)]),_0x39a97e[_0x11d3c5(0x2ef)](0x1),_0x39a97e[_0x11d3c5(0x415)](void 0x0));}['setParam'](_0x52bb42,_0x324f20,_0x4eab34=!0x1){const _0x3737ad=_0x263a40,_0x27efb9=new URL(window[_0x3737ad(0x284)]['href']);_0x27efb9['searchParams'][_0x3737ad(0x2d9)](_0x52bb42,_0x324f20),_0x4eab34?window[_0x3737ad(0x210)][_0x3737ad(0x30c)]('','',_0x27efb9[_0x3737ad(0x31a)]()):window['history'][_0x3737ad(0x37d)]('','',_0x27efb9[_0x3737ad(0x31a)]());}[_0x263a40(0x3aa)](_0xb19bf9,_0x274c13=!0x1){const _0x33fec8=_0x263a40,_0x3130af=new URL(window[_0x33fec8(0x284)][_0x33fec8(0x26c)]);_0x3130af[_0x33fec8(0x2ee)][_0x33fec8(0x402)](_0xb19bf9),_0x274c13?window['history'][_0x33fec8(0x30c)]('','',_0x3130af[_0x33fec8(0x31a)]()):window[_0x33fec8(0x210)][_0x33fec8(0x37d)]('','',_0x3130af['toString']());}[_0x263a40(0x2a6)](_0x4bc900){const _0x145b3f=_0x263a40;var _0x6f98aa;return(_0x6f98aa=new URL(window['location'][_0x145b3f(0x26c)])['searchParams'][_0x145b3f(0x378)](_0x4bc900))!=null?_0x6f98aa:void 0x0;}}var _0x595597=Object['defineProperty'],_0x400f7c=Object[_0x263a40(0x2bc)],_0x3581b2=(_0x2cdf5d,_0x8200e1,_0x3a7d8e)=>_0x8200e1 in _0x2cdf5d?_0x595597(_0x2cdf5d,_0x8200e1,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x3a7d8e}):_0x2cdf5d[_0x8200e1]=_0x3a7d8e,_0x5c6744=(_0x57c41b,_0x11b642,_0x2b499a,_0x59067f)=>{const _0x113de7=_0x263a40;for(var _0x3124a4=_0x59067f>0x1?void 0x0:_0x59067f?_0x400f7c(_0x11b642,_0x2b499a):_0x11b642,_0x3435bf=_0x57c41b[_0x113de7(0x22c)]-0x1,_0xbab09e;_0x3435bf>=0x0;_0x3435bf--)(_0xbab09e=_0x57c41b[_0x3435bf])&&(_0x3124a4=_0xbab09e(_0x3124a4)||_0x3124a4);return _0x3124a4;},_0x361759=(_0x3e5506,_0x9cf94b)=>(_0x182c33,_0x407c3a)=>_0x9cf94b(_0x182c33,_0x407c3a,_0x3e5506),_0x11fd78=(_0xce56e6,_0x2e2d09,_0x113c96)=>_0x3581b2(_0xce56e6,_0x2e2d09+'',_0x113c96);const _0xb98fbb=_0x263a40(0x1fd);_0x9de135[_0x263a40(0x2f5)]=class extends _0x2c2192[_0x263a40(0x397)]{constructor(_0x171f51=_0x4467d8,_0x140ab4,_0x3c1895,_0x31d0eb){const _0x2da1c7=_0x263a40;super(),this['_config']=_0x171f51,this[_0x2da1c7(0x3b2)]=_0x140ab4,this[_0x2da1c7(0x1bd)]=_0x3c1895,this[_0x2da1c7(0x291)]=_0x31d0eb;const {..._0x51d6b}=_0x2c2192[_0x2da1c7(0x409)]({},_0x4467d8,this[_0x2da1c7(0x278)]);this[_0x2da1c7(0x291)]['setConfig'](_0x5b003e,_0x51d6b);}[_0x263a40(0x1d5)](){const _0x540fa3=_0x263a40;this[_0x540fa3(0x2f0)](),this[_0x540fa3(0x32b)]();}['onRendered'](){const _0x1e3737=_0x263a40;this[_0x1e3737(0x3df)]();}[_0x263a40(0x2f0)](){const _0x2b87a5=_0x263a40;var _0x56ee15;const _0x33d095=[[_0x32664d],[_0x16f9d8],[_0x48d330],[_0x2ea084],[_0x45dd48],[_0x1f6186,{'useClass':_0x5810c8}],[_0x1f436f[_0x2b87a5(0x3ba)],{'useClass':_0x1f436f[_0x2b87a5(0x247)]}],[_0x3b3567['ILocalCacheService'],{'useClass':_0xc805ec}],[_0x9de135[_0x2b87a5(0x339)]],[_0x6d6a66],[_0x753b4],[_0x289b74],[_0x1b423f],[_0x9de135[_0x2b87a5(0x2e7)]]];_0x2c2192[_0x2b87a5(0x376)](this[_0x2b87a5(0x1bd)],_0x2c2192[_0x2b87a5(0x203)](_0x33d095,(_0x56ee15=this[_0x2b87a5(0x278)])==null?void 0x0:_0x56ee15[_0x2b87a5(0x410)]));}[_0x263a40(0x3df)](){const _0x5e248a=_0x263a40;this[_0x5e248a(0x1af)](this[_0x5e248a(0x3b2)][_0x5e248a(0x2d1)](_0x2c2192[_0x5e248a(0x1c6)][_0x5e248a(0x25b)],[_0x19f8bd])),this[_0x5e248a(0x1af)](this['_renderManagerService'][_0x5e248a(0x2d1)](_0x2c2192[_0x5e248a(0x1c6)][_0x5e248a(0x29e)],[_0x429464]));}['_initDependencies'](){const _0x55d82a=_0x263a40;_0x2c2192[_0x55d82a(0x1f0)](this[_0x55d82a(0x1bd)],[[_0x289b74],[_0x9de135[_0x55d82a(0x339)]],[_0x6d6a66],[_0x753b4],[_0x9de135[_0x55d82a(0x2e7)]]]);}},_0x11fd78(_0x9de135[_0x263a40(0x2f5)],_0x263a40(0x27f),_0xb98fbb),_0x9de135['UniverCollaborationClientUIPlugin']=_0x5c6744([_0x2c2192[_0x263a40(0x366)](_0x3b3567[_0x263a40(0x270)]),_0x361759(0x1,_0xeac254[_0x263a40(0x36d)]),_0x361759(0x2,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192['Injector'])),_0x361759(0x3,_0x2c2192[_0x263a40(0x2da)])],_0x9de135[_0x263a40(0x2f5)]);var _0x483f06=Object[_0x263a40(0x2bc)],_0x52ccb5=(_0x2c67d0,_0x3f3f51,_0x21d29b,_0x143acf)=>{const _0x1ef1d2=_0x263a40;for(var _0x37b422=_0x143acf>0x1?void 0x0:_0x143acf?_0x483f06(_0x3f3f51,_0x21d29b):_0x3f3f51,_0xd20a5c=_0x2c67d0[_0x1ef1d2(0x22c)]-0x1,_0x1d68e7;_0xd20a5c>=0x0;_0xd20a5c--)(_0x1d68e7=_0x2c67d0[_0xd20a5c])&&(_0x37b422=_0x1d68e7(_0x37b422)||_0x37b422);return _0x37b422;},_0x2d3f50=(_0x245d16,_0x9f0275)=>(_0x2ad6b3,_0x4cce95)=>_0x9f0275(_0x2ad6b3,_0x4cce95,_0x245d16);_0x9de135['BrowserCollaborationSocketService']=class extends _0x3b3567[_0x263a40(0x347)]{constructor(_0x530b23,_0x371415,_0x331b95,_0x5324d0,_0x4a3e0d){super(_0x530b23,_0x371415,_0x331b95,_0x5324d0,_0x4a3e0d);}async[_0x263a40(0x1c5)](_0x3a0a6c){const _0x463204=_0x263a40,_0x6b43fb=await this[_0x463204(0x414)](),_0x486820=this[_0x463204(0x200)](_0x3a0a6c,_0x6b43fb);return this[_0x463204(0x1a9)](_0x486820);}[_0x263a40(0x200)](_0x2caadd,_0x3978a1){const _0x141622=_0x263a40,_0x4d13a=typeof window>'u'?new URL(_0x2caadd):new URL(_0x2caadd,window['location']['origin']);_0x4d13a['searchParams'][_0x141622(0x2d9)](_0x141622(0x279),_0x3978a1);const _0x1275b6=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x141622(0x284)][_0x141622(0x375)]);return _0x1275b6['get']('runId')&&_0x4d13a[_0x141622(0x2ee)][_0x141622(0x2d9)]('runId',_0x1275b6[_0x141622(0x378)](_0x141622(0x390))),_0x4d13a[_0x141622(0x31a)]();}async[_0x263a40(0x414)](){const _0x3ecd03=_0x263a40;var _0x1be11d,_0x1f5f2f,_0x37018f;const _0x41c452=this[_0x3ecd03(0x291)]['getConfig'](_0x3b3567[_0x3ecd03(0x246)]),_0x1dc971=(_0x1be11d=_0x41c452==null?void 0x0:_0x41c452[_0x3ecd03(0x230)])!=null?_0x1be11d:_0x3b3567['DEFAULT_WS_SESSION_TICKET_URL'];return(_0x37018f=(_0x1f5f2f=(await this[_0x3ecd03(0x21a)][_0x3ecd03(0x378)](_0x1dc971,{'headers':{'Content-Type':'application/json'}}))[_0x3ecd03(0x273)])==null?void 0x0:_0x1f5f2f[_0x3ecd03(0x302)])!=null?_0x37018f:'';}},_0x9de135[_0x263a40(0x40d)]=_0x52ccb5([_0x2d3f50(0x0,_0x2c2192[_0x263a40(0x3d4)](_0x2c2192['Injector'])),_0x2d3f50(0x1,_0x2c2192[_0x263a40(0x3d4)](_0x1f436f[_0x263a40(0x22d)])),_0x2d3f50(0x2,_0x2c2192['IConfigService']),_0x2d3f50(0x3,_0x2c2192[_0x263a40(0x2ac)]),_0x2d3f50(0x4,_0x542b31[_0x263a40(0x3dd)])],_0x9de135[_0x263a40(0x40d)]);var _0x3cafe4=(_0x562a0d=>(_0x562a0d[_0x562a0d[_0x263a40(0x23b)]=0x0]=_0x263a40(0x23b),_0x562a0d[_0x562a0d['OK']=0x1]='OK',_0x562a0d[_0x562a0d['INTERNAL_ERROR']=0x2]=_0x263a40(0x3f3),_0x562a0d[_0x562a0d['PERMISSION_DENIED']=0x3]=_0x263a40(0x403),_0x562a0d[_0x562a0d[_0x263a40(0x30f)]=0x4]=_0x263a40(0x30f),_0x562a0d[_0x562a0d['UNAUTHENTICATED']=0x5]=_0x263a40(0x262),_0x562a0d[_0x562a0d[_0x263a40(0x42a)]=0x6]=_0x263a40(0x42a),_0x562a0d[_0x562a0d[_0x263a40(0x2ce)]=0x7]='INVALID_ARGUMENT',_0x562a0d[_0x562a0d[_0x263a40(0x370)]=0x8]=_0x263a40(0x370),_0x562a0d[_0x562a0d[_0x263a40(0x222)]=0x9]=_0x263a40(0x222),_0x562a0d[_0x562a0d[_0x263a40(0x21f)]=0xa]=_0x263a40(0x21f),_0x562a0d[_0x562a0d[_0x263a40(0x41b)]=0xb]=_0x263a40(0x41b),_0x562a0d[_0x562a0d['MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED']=0xc]=_0x263a40(0x434),_0x562a0d[_0x562a0d['EMAIL_VERIFY_CODE_MISMATCH']=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x562a0d[_0x562a0d[_0x263a40(0x35c)]=0xe]=_0x263a40(0x35c),_0x562a0d[_0x562a0d[_0x263a40(0x2d2)]=0x1389]=_0x263a40(0x2d2),_0x562a0d[_0x562a0d[_0x263a40(0x245)]=0x1771]=_0x263a40(0x245),_0x562a0d[_0x562a0d['SNAPSHOT_HAS_BEEN_REMOVED']=0x1772]=_0x263a40(0x2ed),_0x562a0d[_0x562a0d[_0x263a40(0x33b)]=0x1773]=_0x263a40(0x33b),_0x562a0d[_0x562a0d[_0x263a40(0x428)]=0x1b59]=_0x263a40(0x428),_0x562a0d[_0x562a0d[_0x263a40(0x1e8)]=0x1b5a]=_0x263a40(0x1e8),_0x562a0d[_0x562a0d[_0x263a40(0x2ff)]=0x1b5b]=_0x263a40(0x2ff),_0x562a0d[_0x562a0d[_0x263a40(0x1e7)]=0x1b5c]=_0x263a40(0x1e7),_0x562a0d[_0x562a0d[_0x263a40(0x329)]=0x1b5d]=_0x263a40(0x329),_0x562a0d[_0x562a0d[_0x263a40(0x207)]=0x1f41]=_0x263a40(0x207),_0x562a0d[_0x562a0d[_0x263a40(0x432)]=0x2329]=_0x263a40(0x432),_0x562a0d[_0x562a0d[_0x263a40(0x436)]=0x232a]=_0x263a40(0x436),_0x562a0d[_0x562a0d[_0x263a40(0x2b0)]=0x232b]=_0x263a40(0x2b0),_0x562a0d[_0x562a0d[_0x263a40(0x21c)]=0x232c]='LICENSE_EXPORT_SIZE_EXCEEDED',_0x562a0d[_0x562a0d['LICENSE_DISTRO_REJECTED']=0x232d]=_0x263a40(0x3e3),_0x562a0d[_0x562a0d[_0x263a40(0x1e2)]=0x2711]=_0x263a40(0x1e2),_0x562a0d[_0x562a0d[_0x263a40(0x1f3)]=0x2712]=_0x263a40(0x1f3),_0x562a0d[_0x562a0d[_0x263a40(0x344)]=0x2713]=_0x263a40(0x344),_0x562a0d[_0x562a0d[_0x263a40(0x3ec)]=0x2714]='YUUMI_SUBSCRIPTION_NOT_FOUND',_0x562a0d[_0x562a0d[_0x263a40(0x1e6)]=0x271a]=_0x263a40(0x1e6),_0x562a0d[_0x562a0d[_0x263a40(0x298)]=0x271b]='YUUMI_ASYNCIO_CANCELLED',_0x562a0d[_0x562a0d['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]='YUUMI_TABLE_NOT_FOUND_IN_UNIT',_0x562a0d[_0x562a0d[_0x263a40(0x2b3)]=0x271d]=_0x263a40(0x2b3),_0x562a0d[_0x562a0d[_0x263a40(0x3a3)]=0x271e]='YUUMI_PROMPT_MAX_TOKENS_EXCEEDED',_0x562a0d[_0x562a0d[_0x263a40(0x1cd)]=0x271f]=_0x263a40(0x1cd),_0x562a0d[_0x562a0d[_0x263a40(0x3a0)]=0x2720]=_0x263a40(0x3a0),_0x562a0d[_0x562a0d[_0x263a40(0x285)]=0x2af9]=_0x263a40(0x285),_0x562a0d[_0x562a0d[_0x263a40(0x224)]=0x2ee1]='INVITE_CODE_HAS_BEEN_UES',_0x562a0d[_0x562a0d[_0x263a40(0x30d)]=0x2ee2]='INVALID_INVITE_CODE',_0x562a0d[_0x562a0d['INVITE_CODE_REQUIRED']=0x2ee3]=_0x263a40(0x1a8),_0x562a0d[_0x562a0d['USER_NOT_INVITED_CODE']=0x2ee4]=_0x263a40(0x2e4),_0x562a0d[_0x562a0d[_0x263a40(0x263)]=0x2ee5]=_0x263a40(0x263),_0x562a0d[_0x562a0d[_0x263a40(0x20c)]=0x32c9]=_0x263a40(0x20c),_0x562a0d[_0x562a0d[_0x263a40(0x40b)]=0x32ca]=_0x263a40(0x40b),_0x562a0d[_0x562a0d[_0x263a40(0x39d)]=0x32cb]=_0x263a40(0x39d),_0x562a0d[_0x562a0d[_0x263a40(0x1a6)]=-0x1]='UNRECOGNIZED',_0x562a0d))(_0x3cafe4||{}),_0x3a716d=Object[_0x263a40(0x2bc)],_0x40486a=(_0x446329,_0x275d4a,_0x18d4e7,_0xe9834c)=>{const _0x3a9b8c=_0x263a40;for(var _0x77cb0e=_0xe9834c>0x1?void 0x0:_0xe9834c?_0x3a716d(_0x275d4a,_0x18d4e7):_0x275d4a,_0x5809d6=_0x446329[_0x3a9b8c(0x22c)]-0x1,_0x3fc9b0;_0x5809d6>=0x0;_0x5809d6--)(_0x3fc9b0=_0x446329[_0x5809d6])&&(_0x77cb0e=_0x3fc9b0(_0x77cb0e)||_0x77cb0e);return _0x77cb0e;},_0x58a1cc=(_0x57eb36,_0x7ae308)=>(_0x4a61e9,_0x24406b)=>_0x7ae308(_0x4a61e9,_0x24406b,_0x57eb36);_0x9de135[_0x263a40(0x2a2)]=class extends _0x2c2192[_0x263a40(0x2e1)]{constructor(_0x10fb57,_0x30a062,_0x396b4b){const _0x51f4ab=_0x263a40;super(),this[_0x51f4ab(0x1f1)]=_0x10fb57,this[_0x51f4ab(0x21a)]=_0x30a062,this['_configService']=_0x396b4b;}async[_0x263a40(0x2e2)](_0x215ced,_0x56a3cc,_0x2a5aaf,..._0x499d79){const _0x55f18f=_0x263a40;var _0x95547c,_0x2244a2,_0x4f2fe5,_0x492e69;const _0x56f69d=this[_0x55f18f(0x1f1)][_0x55f18f(0x1d3)]();if(!_0x56f69d)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x2732ff=((_0x95547c=this['_configService'][_0x55f18f(0x1e4)](_0x3b3567[_0x55f18f(0x231)]))!=null?_0x95547c:_0x3b3567[_0x55f18f(0x3a4)])+'/'+_0x215ced+_0x55f18f(0x2c0)+_0x56a3cc,_0x5d6a9c=new URL(window['location'][_0x55f18f(0x26c)]),_0x1a367c={'scriptId':_0x215ced,'runId':(_0x2244a2=_0x5d6a9c[_0x55f18f(0x2ee)][_0x55f18f(0x378)]('runId'))!=null?_0x2244a2:'','function':_0x56a3cc,'unitId':_0x56f69d['getUnitId'](),'argsOfFunction':JSON[_0x55f18f(0x1fc)](_0x499d79),'invokeId':(_0x4f2fe5=_0x2a5aaf[_0x55f18f(0x308)])!=null?_0x4f2fe5:'','executionId':(_0x492e69=_0x2a5aaf[_0x55f18f(0x310)])!=null?_0x492e69:''};try{const _0x559d26=await this[_0x55f18f(0x21a)][_0x55f18f(0x292)](_0x2732ff,{'body':_0x1a367c});return _0x559d26[_0x55f18f(0x273)][_0x55f18f(0x423)]&&_0x559d26[_0x55f18f(0x273)][_0x55f18f(0x423)][_0x55f18f(0x318)]!==_0x3cafe4['OK']?_0x55f18f(0x354):_0x559d26['body']['result'];}catch{return'Failed';}}},_0x9de135[_0x263a40(0x2a2)]=_0x40486a([_0x58a1cc(0x0,_0x2c2192['IUniverInstanceService']),_0x58a1cc(0x1,_0x2c2192[_0x263a40(0x3d4)](_0x1f436f[_0x263a40(0x22d)])),_0x58a1cc(0x2,_0x2c2192[_0x263a40(0x2da)])],_0x9de135[_0x263a40(0x2a2)]);const _0x221c11=0x7530,_0x27a991=_0x263a40(0x332);class _0x1fd258 extends _0x2c2192['Disposable']{constructor(){const _0x3d6ce1=_0x263a40;super(),_0x193c38(this,_0x3d6ce1(0x213),_0x2c2192[_0x3d6ce1(0x3a8)]()),_0x193c38(this,'_selfUnitIDs',new Set()),_0x193c38(this,'_unitOnClients',new Map()),_0x193c38(this,_0x3d6ce1(0x2ab),null),_0x193c38(this,_0x3d6ce1(0x1f2),new Map()),_0x193c38(this,'_unitStatus',new Map()),this[_0x3d6ce1(0x3b5)]();}['dispose'](){const _0x371622=_0x263a40;super['dispose'](),this[_0x371622(0x1f2)]['forEach']((_0x2d9f6a,_0x449652)=>this[_0x371622(0x2e3)](_0x449652)),this[_0x371622(0x2ab)]&&window['clearInterval'](this[_0x371622(0x2ab)]);}[_0x263a40(0x1a3)](_0xa09843){const _0x37483a=_0x263a40;return this['_ensureSubject'](_0xa09843)[_0x37483a(0x306)](_0x39a97e[_0x37483a(0x382)]());}[_0x263a40(0x2fe)](_0x42096f){const _0xb3ee51=_0x263a40;this['_selfUnitIDs']['size']===0x0&&this[_0xb3ee51(0x2d7)](),this[_0xb3ee51(0x28e)]['add'](_0x42096f),this[_0xb3ee51(0x1c3)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x42096f],'isForwarded':!0x1});}['disposeUnit'](_0x519ff5){const _0x292fb8=_0x263a40;this[_0x292fb8(0x28e)][_0x292fb8(0x402)](_0x519ff5),this['_selfUnitIDs'][_0x292fb8(0x1e5)]===0x0&&this['_heartbeatTimer']&&window[_0x292fb8(0x30a)](this[_0x292fb8(0x2ab)]);}['_init'](){const _0x1e7f2f=_0x263a40;this[_0x1e7f2f(0x1af)](_0x2c2192[_0x1e7f2f(0x1bf)](_0x39a97e[_0x1e7f2f(0x293)](window,_0x1e7f2f(0x408))[_0x1e7f2f(0x26a)](_0x478273=>{const _0x54fced=_0x1e7f2f;if(_0x478273['key']!==_0x27a991||!_0x478273[_0x54fced(0x418)])return;const _0x22aaa7=JSON[_0x54fced(0x289)](_0x478273[_0x54fced(0x418)]);this[_0x54fced(0x1ac)](_0x22aaa7);}))),window[_0x1e7f2f(0x1ef)](_0x1e7f2f(0x2a1),()=>this[_0x1e7f2f(0x1c3)]({'type':0x1,'memberID':this[_0x1e7f2f(0x213)],'unitIDs':Array[_0x1e7f2f(0x1ab)](this['_selfUnitIDs'])}));}['_handleEvent'](_0x2b6b66){const _0x5eaa28=_0x263a40;switch(_0x2b6b66['type']){case 0x0:this[_0x5eaa28(0x1c0)](_0x2b6b66);break;case 0x1:this['_handleLeaveEvent'](_0x2b6b66);break;case 0x2:this[_0x5eaa28(0x3e6)](_0x2b6b66);break;}}[_0x263a40(0x1c0)](_0x42cf34){const _0xf09b91=_0x263a40,{unitIDs:_0x496ad8,memberID:_0x265d85,isForwarded:_0x22d3dd}=_0x42cf34;_0x496ad8[_0xf09b91(0x34f)](_0xff473e=>{const _0xebaf42=_0xf09b91;if(!_0x22d3dd&&this['_unitOnClients'][_0xebaf42(0x31d)](_0xff473e)&&this[_0xebaf42(0x2ea)](_0xff473e)[_0xebaf42(0x3db)](_0x3b3567[_0xebaf42(0x322)]['OTHER_CLIENTS_EDITING']),!this[_0xebaf42(0x41e)][_0xebaf42(0x31d)](_0xff473e)||!this[_0xebaf42(0x41e)][_0xebaf42(0x378)](_0xff473e)[_0xebaf42(0x31d)](_0x265d85)){const _0x4a00c7=this[_0xebaf42(0x41e)][_0xebaf42(0x378)](_0xff473e)||new Set();_0x4a00c7[_0xebaf42(0x1d8)](_0x265d85),this[_0xebaf42(0x41e)]['set'](_0xff473e,_0x4a00c7),this[_0xebaf42(0x3c2)](_0x265d85);}}),_0x22d3dd||this[_0xf09b91(0x1c3)]({'type':0x0,'memberID':this['_id'],'unitIDs':[...this[_0xf09b91(0x28e)]],'isForwarded':!0x0});}[_0x263a40(0x3c2)](_0x41c28a){const _0x2793e0=_0x263a40;this[_0x2793e0(0x2e3)](_0x41c28a);const _0x35c17d=window[_0x2793e0(0x1d1)](()=>{const _0x1e4a16=_0x2793e0;this['_unitOnClients'][_0x1e4a16(0x34f)](_0x27cdbe=>{_0x27cdbe['delete'](_0x41c28a);});},_0x221c11*0x2);this['_clearOtherTimers'][_0x2793e0(0x2d9)](_0x41c28a,_0x35c17d);}[_0x263a40(0x2e3)](_0x5c82f0){const _0x33e361=_0x263a40;if(this[_0x33e361(0x1f2)][_0x33e361(0x31d)](_0x5c82f0)){const _0xc67f6a=this[_0x33e361(0x1f2)]['get'](_0x5c82f0);_0xc67f6a&&window[_0x33e361(0x2eb)](_0xc67f6a),this[_0x33e361(0x1f2)][_0x33e361(0x2d9)](_0x5c82f0,null);}}[_0x263a40(0x368)](_0x32f053){const _0x377a12=_0x263a40,{memberID:_0x2d578c,unitIDs:_0x2e9859}=_0x32f053;_0x2e9859[_0x377a12(0x34f)](_0xa5bc89=>{const _0x359080=_0x377a12;var _0x11559e;const _0x4e0113=this['_unitOnClients'][_0x359080(0x378)](_0xa5bc89);_0x4e0113&&(_0x4e0113['delete'](_0x2d578c),(_0x11559e=this[_0x359080(0x2ea)](_0xa5bc89))==null||_0x11559e[_0x359080(0x3db)](_0x4e0113['size']===0x0?_0x3b3567['UnitStatus'][_0x359080(0x252)]:_0x3b3567[_0x359080(0x322)]['OTHER_CLIENTS_EDITING']));}),this[_0x377a12(0x2e3)](_0x2d578c);}['_handleHeartbeatEvent'](_0x488ad8){const _0x82dd52=_0x263a40;this[_0x82dd52(0x3c2)](_0x488ad8[_0x82dd52(0x211)]);}[_0x263a40(0x1c3)](_0x211102){const _0x5e7459=_0x263a40;localStorage[_0x5e7459(0x404)](_0x27a991,JSON[_0x5e7459(0x1fc)](_0x211102));}['_scheduleHeartbeat'](){const _0x2308a0=_0x263a40;this[_0x2308a0(0x2ab)]=window[_0x2308a0(0x205)](()=>{const _0xa78670=_0x2308a0;this['_send']({'type':0x2,'memberID':this[_0xa78670(0x213)]});},_0x221c11);}[_0x263a40(0x2ea)](_0x10ce5f){const _0xde5211=_0x263a40;return this[_0xde5211(0x2d3)][_0xde5211(0x31d)](_0x10ce5f)||this[_0xde5211(0x2d3)]['set'](_0x10ce5f,new _0x39a97e[(_0xde5211(0x30b))](_0x3b3567[_0xde5211(0x322)][_0xde5211(0x252)])),this[_0xde5211(0x2d3)]['get'](_0x10ce5f);}}_0x9de135[_0x263a40(0x413)]=_0x1f6186,_0x9de135['SheetCollabCursorShape']=_0x9e04ec,_0x9de135[_0x263a40(0x3fb)]=_0x1fd258,_0x9de135['WebURLService']=_0x5810c8,Object['defineProperty'](_0x9de135,Symbol[_0x263a40(0x202)],{'value':_0x263a40(0x3c6)});}));
1
+ (function(_0x4383de,_0x1fa1c1){const _0x425b64=_0x3097,_0x120616=_0x4383de();while(!![]){try{const _0x1519c7=-parseInt(_0x425b64(0x216))/0x1*(-parseInt(_0x425b64(0x192))/0x2)+parseInt(_0x425b64(0x13d))/0x3+parseInt(_0x425b64(0x3a0))/0x4+-parseInt(_0x425b64(0x315))/0x5*(parseInt(_0x425b64(0x2fe))/0x6)+parseInt(_0x425b64(0x2b4))/0x7+parseInt(_0x425b64(0x2ab))/0x8*(parseInt(_0x425b64(0x174))/0x9)+-parseInt(_0x425b64(0x335))/0xa*(parseInt(_0x425b64(0x367))/0xb);if(_0x1519c7===_0x1fa1c1)break;else _0x120616['push'](_0x120616['shift']());}catch(_0x4c136d){_0x120616['push'](_0x120616['shift']());}}}(_0x15a7,0x2e600),function(_0x22a60d,_0x57e32a){const _0x5c7d89=_0x3097;typeof exports==_0x5c7d89(0x389)&&typeof module<'u'?_0x57e32a(exports,require('react/jsx-runtime'),require('@univerjs-pro/collaboration-client'),require('@univerjs/core'),require('@univerjs/ui'),require('rxjs'),require('@univerjs/design'),require('react'),require('@univerjs/rpc'),require('@univerjs/sheets'),require('@univerjs/engine-render'),require('@univerjs/network'),require('@univerjs/docs-ui'),require('@univerjs/drawing'),require('@univerjs-pro/collaboration'),require('@univerjs/docs'),require('@univerjs/engine-formula'),require('rxjs/operators'),require('@univerjs/sheets-ui')):typeof define==_0x5c7d89(0x1d5)&&define[_0x5c7d89(0x20c)]?define([_0x5c7d89(0x1ef),'react/jsx-runtime',_0x5c7d89(0x16f),_0x5c7d89(0x391),'@univerjs/ui',_0x5c7d89(0x188),'@univerjs/design',_0x5c7d89(0x39e),_0x5c7d89(0x292),_0x5c7d89(0x2b7),_0x5c7d89(0x28f),_0x5c7d89(0x186),'@univerjs/docs-ui',_0x5c7d89(0x261),_0x5c7d89(0x221),_0x5c7d89(0x2bf),_0x5c7d89(0x232),_0x5c7d89(0x1a0),_0x5c7d89(0x1d0)],_0x57e32a):(_0x22a60d=typeof globalThis<'u'?globalThis:_0x22a60d||self,_0x57e32a(_0x22a60d['UniverProCollaborationClientUi']={},_0x22a60d[_0x5c7d89(0x376)],_0x22a60d[_0x5c7d89(0x2d6)],_0x22a60d[_0x5c7d89(0x2cd)],_0x22a60d[_0x5c7d89(0x293)],_0x22a60d[_0x5c7d89(0x188)],_0x22a60d[_0x5c7d89(0x2ee)],_0x22a60d[_0x5c7d89(0x376)],_0x22a60d['UniverRpc'],_0x22a60d['UniverSheets'],_0x22a60d['UniverEngineRender'],_0x22a60d['UniverNetwork'],_0x22a60d['UniverDocsUi'],_0x22a60d[_0x5c7d89(0x17b)],_0x22a60d[_0x5c7d89(0x347)],_0x22a60d[_0x5c7d89(0x26d)],_0x22a60d[_0x5c7d89(0x229)],_0x22a60d[_0x5c7d89(0x188)][_0x5c7d89(0x1ec)],_0x22a60d[_0x5c7d89(0x259)]));}(this,function(_0x5cd700,_0x571bfb,_0x5375bb,_0x20124e,_0x3f164e,_0x30408e,_0xbc961f,_0x42feaf,_0x146e44,_0x50fd9b,_0x3289d1,_0x3b53e8,_0x1549a6,_0x54030f,_0x299488,_0x3e301b,_0xf466d3,_0x3cd24d,_0x423d28){'use strict';const _0x475329=_0x3097;var _0x1cc09b=Object[_0x475329(0x21c)],_0x4d1069=(_0x44591c,_0x2f1c99,_0x1e7d35)=>_0x2f1c99 in _0x44591c?_0x1cc09b(_0x44591c,_0x2f1c99,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x1e7d35}):_0x44591c[_0x2f1c99]=_0x1e7d35,_0x198abe=(_0x2c1255,_0x1011cf,_0x3dac59)=>_0x4d1069(_0x2c1255,typeof _0x1011cf!='symbol'?_0x1011cf+'':_0x1011cf,_0x3dac59),_0x17a8d6=function(){const _0x1af1e1=_0x475329;return _0x17a8d6=Object[_0x1af1e1(0x28b)]||function(_0x2c6113){const _0x37f282=_0x1af1e1;for(var _0x56afb5,_0xc769d5=0x1,_0x24823a=arguments[_0x37f282(0x1b8)];_0xc769d5<_0x24823a;_0xc769d5++){_0x56afb5=arguments[_0xc769d5];for(var _0x2ce94b in _0x56afb5)Object['prototype']['hasOwnProperty'][_0x37f282(0x365)](_0x56afb5,_0x2ce94b)&&(_0x2c6113[_0x2ce94b]=_0x56afb5[_0x2ce94b]);}return _0x2c6113;},_0x17a8d6[_0x1af1e1(0x390)](this,arguments);},_0x36594b=function(_0x40835f,_0x267093){const _0x89b519=_0x475329;var _0x24daec={};for(var _0x55629d in _0x40835f)Object[_0x89b519(0x2d7)][_0x89b519(0x2f4)]['call'](_0x40835f,_0x55629d)&&_0x267093[_0x89b519(0x1cf)](_0x55629d)<0x0&&(_0x24daec[_0x55629d]=_0x40835f[_0x55629d]);if(_0x40835f!=null&&typeof Object[_0x89b519(0x36b)]==_0x89b519(0x1d5)){for(var _0x19c310=0x0,_0x55629d=Object[_0x89b519(0x36b)](_0x40835f);_0x19c310<_0x55629d[_0x89b519(0x1b8)];_0x19c310++)_0x267093[_0x89b519(0x1cf)](_0x55629d[_0x19c310])<0x0&&Object['prototype'][_0x89b519(0x19b)][_0x89b519(0x365)](_0x40835f,_0x55629d[_0x19c310])&&(_0x24daec[_0x55629d[_0x19c310]]=_0x40835f[_0x55629d[_0x19c310]]);}return _0x24daec;},_0x2cfbe0=_0x42feaf[_0x475329(0x283)](function(_0xd8540b,_0xf64b26){const _0x1af93e=_0x475329;var _0x201fbe=_0xd8540b[_0x1af93e(0x252)],_0x2f7db7=_0xd8540b['id'],_0x457fe9=_0xd8540b[_0x1af93e(0x35d)],_0x3eff67=_0xd8540b[_0x1af93e(0x32b)],_0x291466=_0x36594b(_0xd8540b,[_0x1af93e(0x252),'id','className',_0x1af93e(0x32b)]),_0x1689da=_0x1af93e(0x3ca)['concat'](_0x2f7db7,'\x20')['concat'](_0x457fe9||'')[_0x1af93e(0x2c0)](),_0x365b00=_0x42feaf['useRef']('_'['concat'](_0x887fbd()));return _0x5598de(_0x201fbe,''[_0x1af93e(0x1e0)](_0x2f7db7),{'defIds':_0x201fbe['defIds'],'idSuffix':_0x365b00[_0x1af93e(0x3f2)]},_0x17a8d6({'ref':_0xf64b26,'className':_0x1689da},_0x291466),_0x3eff67);});function _0x5598de(_0x625fc5,_0x596698,_0xac6441,_0x2f566c,_0x3d529d){const _0x383880=_0x475329;return _0x42feaf[_0x383880(0x2eb)](_0x625fc5[_0x383880(0x14a)],_0x17a8d6(_0x17a8d6({'key':_0x596698},_0x4df73d(_0x625fc5,_0xac6441,_0x3d529d)),_0x2f566c),(_0x3f92c4(_0x625fc5,_0xac6441)[_0x383880(0x36c)]||[])[_0x383880(0x1aa)](function(_0x167e5e,_0x4b96af){const _0x960559=_0x383880;return _0x5598de(_0x167e5e,''[_0x960559(0x1e0)](_0x596698,'-')[_0x960559(0x1e0)](_0x625fc5[_0x960559(0x14a)],'-')[_0x960559(0x1e0)](_0x4b96af),_0xac6441,void 0x0,_0x3d529d);}));}function _0x4df73d(_0x38d9b3,_0x24b248,_0x52dd0e){const _0x21ed21=_0x475329;var _0x134480=_0x17a8d6({},_0x38d9b3[_0x21ed21(0x1a6)]);_0x52dd0e!=null&&_0x52dd0e[_0x21ed21(0x17e)]&&_0x134480[_0x21ed21(0x350)]===_0x21ed21(0x17e)&&(_0x134480['fill']=_0x52dd0e[_0x21ed21(0x17e)]),_0x38d9b3[_0x21ed21(0x14a)]===_0x21ed21(0x368)&&_0x134480['id']&&(_0x134480['id']=_0x134480['id']+_0x24b248[_0x21ed21(0x1c5)]),Object['entries'](_0x134480)[_0x21ed21(0x303)](function(_0x11b90c){const _0x338e22=_0x21ed21;var _0x27271c=_0x11b90c[0x0],_0x5927ab=_0x11b90c[0x1];_0x27271c===_0x338e22(0x368)&&typeof _0x5927ab=='string'&&(_0x134480[_0x27271c]=_0x5927ab[_0x338e22(0x250)](/url\(#(.*)\)/,'url(#$1'[_0x338e22(0x1e0)](_0x24b248[_0x338e22(0x1c5)],')')));});var _0x1b0d66=_0x24b248[_0x21ed21(0x302)];return!_0x1b0d66||_0x1b0d66[_0x21ed21(0x1b8)]===0x0||(_0x38d9b3[_0x21ed21(0x14a)]===_0x21ed21(0x326)&&_0x134480['xlink:href']&&(_0x134480[_0x21ed21(0x249)]=_0x134480[_0x21ed21(0x249)]+_0x24b248[_0x21ed21(0x1c5)]),Object['entries'](_0x134480)[_0x21ed21(0x303)](function(_0x11a630){const _0x28d662=_0x21ed21;var _0x2d0c09=_0x11a630[0x0],_0x2a926b=_0x11a630[0x1];typeof _0x2a926b==_0x28d662(0x395)&&(_0x134480[_0x2d0c09]=_0x2a926b['replace'](/url\(#(.*)\)/,_0x28d662(0x197)[_0x28d662(0x1e0)](_0x24b248['idSuffix'],')')));})),_0x134480;}function _0x3f92c4(_0x326e9c,_0x1ddd37){const _0xec1d23=_0x475329;var _0x35c540,_0x3f2bac=_0x1ddd37['defIds'];return!_0x3f2bac||_0x3f2bac[_0xec1d23(0x1b8)]===0x0?_0x326e9c:_0x326e9c[_0xec1d23(0x14a)]===_0xec1d23(0x1e6)&&(!((_0x35c540=_0x326e9c[_0xec1d23(0x36c)])===null||_0x35c540===void 0x0)&&_0x35c540['length'])?_0x17a8d6(_0x17a8d6({},_0x326e9c),{'children':_0x326e9c[_0xec1d23(0x36c)][_0xec1d23(0x1aa)](function(_0x3b8e5f){const _0x3c4ea2=_0xec1d23;return typeof _0x3b8e5f[_0x3c4ea2(0x1a6)]['id']==_0x3c4ea2(0x395)&&_0x3f2bac&&_0x3f2bac[_0x3c4ea2(0x25f)](_0x3b8e5f[_0x3c4ea2(0x1a6)]['id'])?_0x17a8d6(_0x17a8d6({},_0x3b8e5f),{'attrs':_0x17a8d6(_0x17a8d6({},_0x3b8e5f[_0x3c4ea2(0x1a6)]),{'id':_0x3b8e5f[_0x3c4ea2(0x1a6)]['id']+_0x1ddd37['idSuffix']})}):_0x3b8e5f;})}):_0x326e9c;}function _0x887fbd(){const _0x3660f4=_0x475329;return Math[_0x3660f4(0x336)]()[_0x3660f4(0x3a8)](0x24)['substring'](0x2,0x8);}_0x2cfbe0[_0x475329(0x207)]='UniverIcon';var _0x325aaf={'tag':'svg','attrs':{'xmlns':_0x475329(0x20d),'fill':_0x475329(0x288),'viewBox':_0x475329(0x3c6),'width':_0x475329(0x2da),'height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x475329(0x379)},'children':[{'tag':'path','attrs':{'stroke':_0x475329(0x3b4),'d':_0x475329(0x2ca),'strokeLinecap':_0x475329(0x327),'strokeLinejoin':_0x475329(0x327),'strokeWidth':1.2}}]},{'tag':_0x475329(0x1e6),'attrs':{},'children':[{'tag':_0x475329(0x364),'attrs':{'id':_0x475329(0x26a)},'children':[{'tag':_0x475329(0x3de),'attrs':{'fill':'white','d':_0x475329(0x2e3)}}]}]}],'defIds':['off-line-icon_clip0_910_343']},_0x5f05b8=_0x42feaf[_0x475329(0x283)](function(_0xa78314,_0x3aad9c){const _0x24515e=_0x475329;return _0x42feaf[_0x24515e(0x2eb)](_0x2cfbe0,Object[_0x24515e(0x28b)]({},_0xa78314,{'id':_0x24515e(0x3c0),'ref':_0x3aad9c,'icon':_0x325aaf}));});_0x5f05b8[_0x475329(0x207)]=_0x475329(0x39d);var _0x248fda={'tag':_0x475329(0x329),'attrs':{'xmlns':_0x475329(0x20d),'fill':_0x475329(0x288),'viewBox':_0x475329(0x381),'width':'1em','height':'1em'},'children':[{'tag':'g','attrs':{'clipPath':_0x475329(0x1bb)},'children':[{'tag':_0x475329(0x3de),'attrs':{'stroke':_0x475329(0x3b4),'d':_0x475329(0x2ac),'strokeLinecap':_0x475329(0x327),'strokeLinejoin':_0x475329(0x327),'strokeWidth':1.2}}]},{'tag':_0x475329(0x1e6),'attrs':{},'children':[{'tag':_0x475329(0x364),'attrs':{'id':_0x475329(0x1ac)},'children':[{'tag':_0x475329(0x3de),'attrs':{'fill':_0x475329(0x29f),'d':_0x475329(0x2e3),'transform':_0x475329(0x140)}}]}]}],'defIds':[_0x475329(0x1ac)]},_0x3e8111=_0x42feaf[_0x475329(0x283)](function(_0x2deaeb,_0x2838fe){const _0x325fba=_0x475329;return _0x42feaf[_0x325fba(0x2eb)](_0x2cfbe0,Object[_0x325fba(0x28b)]({},_0x2deaeb,{'id':_0x325fba(0x35e),'ref':_0x2838fe,'icon':_0x248fda}));});_0x3e8111[_0x475329(0x207)]=_0x475329(0x184);function _0xdbf21(_0x409f72){const _0x3d15e7=_0x475329;switch(_0x409f72){case _0x5375bb[_0x3d15e7(0x2e1)][_0x3d15e7(0x1bd)]:return _0x3d15e7(0x3d6);case _0x5375bb[_0x3d15e7(0x2e1)][_0x3d15e7(0x218)]:return'collabStatus.conflict';case _0x5375bb['CollaborationStatus'][_0x3d15e7(0x15c)]:return'collabStatus.fetchMiss';case _0x5375bb['CollaborationStatus'][_0x3d15e7(0x3c3)]:return _0x3d15e7(0x378);case _0x5375bb['CollaborationStatus']['AWAITING']:case _0x5375bb['CollaborationStatus']['AWAITING_WITH_PENDING']:return'collabStatus.syncing';case _0x5375bb[_0x3d15e7(0x2e1)][_0x3d15e7(0x2af)]:case _0x5375bb['CollaborationStatus'][_0x3d15e7(0x15e)]:return _0x3d15e7(0x351);}}function _0x71476d(_0x4d9935){const _0x4668fc=_0x475329,{status$:_0x5d55a5}=_0x4d9935,_0x5bccf1=_0x3f164e[_0x4668fc(0x28c)](_0x5d55a5,_0x5375bb[_0x4668fc(0x2e1)]['NOT_COLLAB']),_0x4a9d04=_0x3f164e[_0x4668fc(0x1c9)](_0x20124e[_0x4668fc(0x34b)]),_0x2c1f3c=_0x3f164e[_0x4668fc(0x1c9)](_0x5375bb['CollaborationSessionService']),_0x55bcb0=_0x5bccf1!==_0x5375bb['CollaborationStatus']['OFFLINE'],_0x294976=_0x4a9d04['t'](_0xdbf21(_0x5bccf1)),_0x4050f4=_0x55bcb0?_0x571bfb[_0x4668fc(0x1c4)](_0x3e8111,{}):_0x571bfb[_0x4668fc(0x1c4)](_0x5f05b8,{}),_0x2a1ff7=_0x42feaf[_0x4668fc(0x21d)](()=>{const _0x2c9013=_0x4668fc;_0x55bcb0||_0x2c1f3c[_0x2c9013(0x152)]();},[_0x55bcb0,_0x2c1f3c]);function _0xace44c(){const _0x447f60=_0x4668fc;return _0x571bfb[_0x447f60(0x1e9)](_0x447f60(0x2ba),{'className':_0x447f60(0x3ea),'onClick':_0x2a1ff7,'children':[_0x571bfb[_0x447f60(0x1c4)](_0x447f60(0x2ba),{'className':_0xbc961f[_0x447f60(0x277)]('univer-mr-2\x20univer-flex\x20univer-text-xl',{'univer-text-green-500':_0x55bcb0,'univer-text-red-500':!_0x55bcb0}),'children':_0x4050f4}),_0x571bfb[_0x447f60(0x1c4)]('div',{'className':_0x447f60(0x20e),'children':_0x294976})]});}return _0x55bcb0?_0xace44c():_0x571bfb['jsx'](_0xbc961f['Tooltip'],{'title':_0x4a9d04['t'](_0x4668fc(0x300)),'children':_0xace44c()});}var _0x24f5d6=Object[_0x475329(0x3cb)],_0x3115ac=(_0x1e9301,_0x5b57a3,_0x488ae8,_0x2cfe18)=>{const _0x25cf28=_0x475329;for(var _0x3f2a2f=_0x2cfe18>0x1?void 0x0:_0x2cfe18?_0x24f5d6(_0x5b57a3,_0x488ae8):_0x5b57a3,_0x199fca=_0x1e9301[_0x25cf28(0x1b8)]-0x1,_0x40521a;_0x199fca>=0x0;_0x199fca--)(_0x40521a=_0x1e9301[_0x199fca])&&(_0x3f2a2f=_0x40521a(_0x3f2a2f)||_0x3f2a2f);return _0x3f2a2f;},_0x3fb737=(_0x39bcdf,_0x1aa978)=>(_0x5c8de9,_0x725ca)=>_0x1aa978(_0x5c8de9,_0x725ca,_0x39bcdf);_0x5cd700[_0x475329(0x287)]=class extends _0x20124e[_0x475329(0x385)]{constructor(_0x4243af,_0x507155,_0x235ff2,_0x42be30){const _0x260f42=_0x475329;super(),_0x198abe(this,_0x260f42(0x1f1),new _0x30408e[(_0x260f42(0x36e))](_0x5375bb['CollaborationStatus']['NOT_COLLAB'])),(this[_0x260f42(0x2d5)]=_0x4243af,this[_0x260f42(0x22d)]=_0x507155,this[_0x260f42(0x275)]=_0x235ff2,this[_0x260f42(0x268)]=_0x42be30,this['_initStatusComponent'](),this['_initStatusListener']());}[_0x475329(0x265)](){const _0x499acb=_0x475329;this[_0x499acb(0x13a)](this[_0x499acb(0x2d5)]['focused$'][_0x499acb(0x189)](_0x30408e[_0x499acb(0x2d0)](()=>{const _0xf3bf7a=_0x499acb,_0x544637=this[_0xf3bf7a(0x2d5)][_0xf3bf7a(0x2f1)]();return _0x544637?this[_0xf3bf7a(0x275)][_0xf3bf7a(0x256)](_0x544637[_0xf3bf7a(0x2de)]()):_0x30408e['of'](null);}),_0x30408e[_0x499acb(0x2d0)](_0x3eebbf=>_0x3eebbf?_0x3eebbf[_0x499acb(0x2bc)]:_0x30408e['of'](_0x5375bb['CollaborationStatus'][_0x499acb(0x3c3)])))[_0x499acb(0x34c)](_0x3d6bb4=>{const _0x44f7ee=_0x499acb;this[_0x44f7ee(0x1f1)][_0x44f7ee(0x31d)](_0x3d6bb4);}));}['_initStatusComponent'](){const _0x356755=_0x475329;this[_0x356755(0x13a)](this['_uiPartsService'][_0x356755(0x2ea)](_0x3f164e[_0x356755(0x138)][_0x356755(0x182)],()=>_0x3f164e[_0x356755(0x32a)](_0xf569df({'status$':this[_0x356755(0x1f1)]['asObservable']()}),this[_0x356755(0x22d)])));}},_0x5cd700[_0x475329(0x287)]=_0x3115ac([_0x3fb737(0x0,_0x20124e['IUniverInstanceService']),_0x3fb737(0x1,_0x20124e[_0x475329(0x31f)](_0x20124e[_0x475329(0x1b9)])),_0x3fb737(0x2,_0x20124e[_0x475329(0x31f)](_0x5375bb[_0x475329(0x2fc)])),_0x3fb737(0x3,_0x3f164e['IUIPartsService'])],_0x5cd700[_0x475329(0x287)]);function _0xf569df(_0x431804){const {status$:_0xf06733}=_0x431804;return function(){return _0x571bfb['jsx'](_0x71476d,{'status$':_0xf06733});};}const _0x5b2318=_0x20124e[_0x475329(0x3a1)](_0x475329(0x29b));var _0xa2947f=Object['getOwnPropertyDescriptor'],_0x339231=(_0x140243,_0x1bec53,_0x424dd5,_0xc7f905)=>{const _0x44cdc3=_0x475329;for(var _0x1c0d24=_0xc7f905>0x1?void 0x0:_0xc7f905?_0xa2947f(_0x1bec53,_0x424dd5):_0x1bec53,_0x392cc4=_0x140243[_0x44cdc3(0x1b8)]-0x1,_0x26b6ab;_0x392cc4>=0x0;_0x392cc4--)(_0x26b6ab=_0x140243[_0x392cc4])&&(_0x1c0d24=_0x26b6ab(_0x1c0d24)||_0x1c0d24);return _0x1c0d24;},_0x13180c=(_0x37fb7d,_0x6cf708)=>(_0x3c2375,_0x4197c8)=>_0x6cf708(_0x3c2375,_0x4197c8,_0x37fb7d);_0x5cd700[_0x475329(0x158)]=class extends _0x20124e['RxDisposable']{constructor(_0xa58585,_0x3b73bc,_0x498c33,_0x478529,_0x3043b2){const _0x3c9153=_0x475329;super(),this['_urlService']=_0xa58585,this['_logService']=_0x3b73bc,this[_0x3c9153(0x1b5)]=_0x498c33,this[_0x3c9153(0x3ee)]=_0x478529,_0x3043b2?_0x3043b2==null||_0x3043b2[_0x3c9153(0x30f)]()['then'](()=>this[_0x3c9153(0x375)]()):(this[_0x3c9153(0x145)][_0x3c9153(0x366)]('[CollaborationDataLoaderController]',_0x3c9153(0x1c8)),this[_0x3c9153(0x375)]());}async[_0x475329(0x375)](){const _0x460825=_0x475329,_0x63cbef=this[_0x460825(0x27b)][_0x460825(0x24a)]('unit'),_0x499c78=this[_0x460825(0x27b)][_0x460825(0x24a)]('type'),_0x5236b5=this['_urlService'][_0x460825(0x24a)](_0x460825(0x374));if(!_0x63cbef||!_0x499c78){this[_0x460825(0x145)][_0x460825(0x366)]('[CollaborationDataLoaderController]',_0x460825(0x317));return;}const _0x1df618=await this['_dataLoaderService'][_0x460825(0x2ed)](_0x63cbef,Number(_0x499c78),_0x5236b5);_0x1df618&&_0x1df618 instanceof _0x20124e['Workbook']&&this[_0x460825(0x28d)](_0x1df618);}async[_0x475329(0x28d)](_0x11915c){const _0x19b554=_0x475329;await this['_updateSubUnitFromURLParams'](_0x11915c),_0x11915c[_0x19b554(0x239)][_0x19b554(0x189)](_0x30408e[_0x19b554(0x198)](this['dispose$']))[_0x19b554(0x34c)](_0x867df=>{const _0x53eaca=_0x19b554;_0x867df&&this[_0x53eaca(0x37f)](_0x867df);}),this[_0x19b554(0x27b)][_0x19b554(0x2b1)]['pipe'](_0x30408e[_0x19b554(0x198)](this['dispose$']))[_0x19b554(0x34c)](()=>this[_0x19b554(0x180)](_0x11915c));}[_0x475329(0x37f)](_0x49251b,_0x5f25a3=!0x1){const _0x408db5=_0x475329,_0x40e2a0=this[_0x408db5(0x27b)]['getParam'](_0x408db5(0x374));_0x49251b['getSheetId']()!==_0x40e2a0&&this[_0x408db5(0x27b)][_0x408db5(0x3c7)](_0x408db5(0x374),_0x49251b[_0x408db5(0x398)](),_0x5f25a3);}async[_0x475329(0x180)](_0x298e11){const _0x1c20a4=_0x475329;var _0x5947fe;const _0x42fdbd=this['_urlService'][_0x1c20a4(0x24a)](_0x1c20a4(0x374));if(!_0x42fdbd||!_0x298e11[_0x1c20a4(0x362)](_0x42fdbd)){const _0x2d3122=_0x298e11['getUnhiddenWorksheets']()[0x0],_0x12fa6a=_0x298e11[_0x1c20a4(0x362)](_0x2d3122);if(!_0x12fa6a)return;this[_0x1c20a4(0x37f)](_0x12fa6a,!0x0),await this[_0x1c20a4(0x1b5)][_0x1c20a4(0x1a9)](_0x50fd9b['SetWorksheetActivateCommand']['id'],{'unitId':_0x298e11[_0x1c20a4(0x2de)](),'subUnitId':_0x2d3122});return;}((_0x5947fe=_0x298e11[_0x1c20a4(0x32d)]())==null?void 0x0:_0x5947fe[_0x1c20a4(0x398)]())!==_0x42fdbd&&await this[_0x1c20a4(0x1b5)][_0x1c20a4(0x1a9)](_0x50fd9b[_0x1c20a4(0x36f)]['id'],{'unitId':_0x298e11[_0x1c20a4(0x2de)](),'subUnitId':_0x42fdbd});}},_0x5cd700['CollaborationDataLoaderController']=_0x339231([_0x13180c(0x0,_0x5b2318),_0x13180c(0x1,_0x20124e['ILogService']),_0x13180c(0x2,_0x20124e[_0x475329(0x3e3)]),_0x13180c(0x3,_0x20124e[_0x475329(0x31f)](_0x5375bb[_0x475329(0x176)])),_0x13180c(0x4,_0x20124e['Optional'](_0x146e44[_0x475329(0x3a9)]))],_0x5cd700[_0x475329(0x158)]);var _0x5b810d=Object[_0x475329(0x3cb)],_0x3ac76c=(_0x1f918f,_0x1b9a9f,_0x469d23,_0x5edf29)=>{const _0x3b15ef=_0x475329;for(var _0xd48506=_0x5edf29>0x1?void 0x0:_0x5edf29?_0x5b810d(_0x1b9a9f,_0x469d23):_0x1b9a9f,_0x4d436f=_0x1f918f[_0x3b15ef(0x1b8)]-0x1,_0x1aa6ed;_0x4d436f>=0x0;_0x4d436f--)(_0x1aa6ed=_0x1f918f[_0x4d436f])&&(_0xd48506=_0x1aa6ed(_0xd48506)||_0xd48506);return _0xd48506;},_0x21b2ae=(_0x7fe33b,_0x4485fd)=>(_0x32aa54,_0x13b20c)=>_0x4485fd(_0x32aa54,_0x13b20c,_0x7fe33b);let _0x118ef9=class extends _0x20124e[_0x475329(0x312)]{constructor(_0x1efd9c,_0xef217f){const _0x5f3cf1=_0x475329;super(),this[_0x5f3cf1(0x166)]=_0x1efd9c,this[_0x5f3cf1(0x334)]=_0xef217f,this[_0x5f3cf1(0x375)]();}['_init'](){const _0x5099db=_0x475329,_0x3fbb31=this;this['disposeWithMe'](this[_0x5099db(0x166)][_0x5099db(0x318)]({'onBeforePasteImage':async _0x3901bb=>{const _0x511be7=_0x5099db,_0x3bf5b2=await _0x3fbb31['_imageIoService']['saveImage'](_0x3901bb);return _0x3bf5b2?{'source':_0x3bf5b2[_0x511be7(0x18a)],'imageSourceType':_0x3bf5b2[_0x511be7(0x185)]}:null;}}));}};_0x118ef9=_0x3ac76c([_0x21b2ae(0x0,_0x1549a6[_0x475329(0x306)]),_0x21b2ae(0x1,_0x54030f['IImageIoService'])],_0x118ef9);const _0x4afbee=[_0x475329(0x25c),_0x475329(0x1b6),'green.600','red.300',_0x475329(0x3b7),_0x475329(0x1a3)];class _0x108c77 extends _0x20124e[_0x475329(0x385)]{constructor(){const _0x2e30f7=_0x475329;super(...arguments),_0x198abe(this,_0x2e30f7(0x342),new Map()),_0x198abe(this,_0x2e30f7(0x3c2),0x0);}[_0x475329(0x139)](_0x128c34){const _0x1cbcef=_0x475329;if(this[_0x1cbcef(0x342)]['has'](_0x128c34))return this['_assignedColors']['get'](_0x128c34);const _0x36f126=_0x4afbee[this[_0x1cbcef(0x3c2)]];return this[_0x1cbcef(0x3c2)]=(this[_0x1cbcef(0x3c2)]+0x1)%_0x4afbee[_0x1cbcef(0x1b8)],this[_0x1cbcef(0x342)][_0x1cbcef(0x32f)](_0x128c34,_0x36f126),_0x36f126;}}function _0x67f04a(_0x30e888){const _0x5459a4=_0x475329;let _0x397bfe='';for(const _0x93310e of _0x30e888){const {startOffset:_0x1fdd3f,endOffset:_0x145008,isActive:_0xcc090e,rangeType:_0x2dad91,segmentId:_0x33c0c3,segmentPage:_0x164073}=_0x93310e;_0x397bfe[_0x5459a4(0x1b8)]&&(_0x397bfe+=','),_0x397bfe+=_0x1fdd3f+':'+_0x145008+':'+(_0xcc090e?'1':'0')+':'+_0x2dad91+':'+_0x33c0c3+':'+_0x164073;}return _0x397bfe;}function _0x57a97d(_0x3536d8){const _0x2cd326=_0x475329,_0xbcecd4=_0x3536d8[_0x2cd326(0x203)](','),_0x1cca4b=[];for(const _0x2ea16e of _0xbcecd4){const [_0xb03862,_0x1f1c30,_0x5f2243,_0x5bce40,_0x3c68e,_0x4df6c9]=_0x2ea16e[_0x2cd326(0x203)](':');_0x1cca4b[_0x2cd326(0x39b)]({'startOffset':Number(_0xb03862),'endOffset':Number(_0x1f1c30),'collapsed':_0xb03862===_0x1f1c30,'isActive':_0x5f2243==='1','rangeType':_0x5bce40===_0x20124e[_0x2cd326(0x3e2)][_0x2cd326(0x211)]?_0x20124e[_0x2cd326(0x3e2)][_0x2cd326(0x211)]:_0x20124e[_0x2cd326(0x3e2)][_0x2cd326(0x28e)],'segmentId':typeof _0x3c68e==_0x2cd326(0x395)?String(_0x3c68e):'','segmentPage':Number(_0x4df6c9!=null?_0x4df6c9:-0x1)});}return _0x1cca4b[_0x2cd326(0x22a)](_0x3bcf0c=>_0x3bcf0c[_0x2cd326(0x2d2)])||(_0x1cca4b[0x0][_0x2cd326(0x2d2)]=!0x0),_0x1cca4b;}class _0x206e4e extends _0x20124e['RxDisposable']{constructor(){const _0x46b553=_0x475329;super(...arguments),_0x198abe(this,_0x46b553(0x2e9),new _0x30408e[(_0x46b553(0x36e))](null)),_0x198abe(this,_0x46b553(0x1a7),this[_0x46b553(0x2e9)][_0x46b553(0x1ce)]());}[_0x475329(0x257)](_0x427954){const _0x2a1cbd=_0x475329,{unitID:_0x193754,memberID:_0x33f8a9,textRanges:_0x195c95}=_0x427954,_0x504db5=_0x67f04a(_0x195c95);if(_0x504db5==='')return;const _0x2d186f={'unitID':_0x193754,'memberID':_0x33f8a9,'selection':_0x504db5};this[_0x2a1cbd(0x2e9)][_0x2a1cbd(0x31d)](_0x2d186f);}}var _0xd76888=Object[_0x475329(0x3cb)],_0x32ce07=(_0xdbbcfe,_0x43003a,_0x58857e,_0xc50726)=>{const _0x53877f=_0x475329;for(var _0x593fc5=_0xc50726>0x1?void 0x0:_0xc50726?_0xd76888(_0x43003a,_0x58857e):_0x43003a,_0x4a8b93=_0xdbbcfe[_0x53877f(0x1b8)]-0x1,_0x3581f1;_0x4a8b93>=0x0;_0x4a8b93--)(_0x3581f1=_0xdbbcfe[_0x4a8b93])&&(_0x593fc5=_0x3581f1(_0x593fc5)||_0x593fc5);return _0x593fc5;},_0x5a84bd=(_0x2732ee,_0x4df676)=>(_0x12a6cf,_0x2166e3)=>_0x4df676(_0x12a6cf,_0x2166e3,_0x2732ee);const _0x57f70e=0x12c,_0x4f6232=0x64;let _0xcca2e7=class extends _0x20124e[_0x475329(0x312)]{constructor(_0x265c94,_0x3478d5,_0x463c82,_0x539977,_0x6a9a1a,_0x264e9b,_0x2d16fb,_0x81c239,_0xc2e5a5){const _0x424751=_0x475329;super(),_0x198abe(this,_0x424751(0x2a4),!0x1),_0x198abe(this,_0x424751(0x375),!0x1),_0x198abe(this,'_cursorInfo$',new _0x30408e[(_0x424751(0x36e))](new Map())),_0x198abe(this,_0x424751(0x2f8),this[_0x424751(0x278)][_0x424751(0x1ce)]()),_0x198abe(this,'_roomMembers$',new _0x30408e[(_0x424751(0x36e))]([])),_0x198abe(this,_0x424751(0x337),this['_roomMembers$'][_0x424751(0x189)](_0x30408e[_0x424751(0x286)](_0x57f70e))),_0x198abe(this,_0x424751(0x1c2),_0x20124e[_0x424751(0x1f4)](_0x57bbfe=>{const _0x5a39a3=_0x424751,_0x3ffb07={'eventID':_0x299488[_0x5a39a3(0x242)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x5a39a3(0x34a)],'memberID':this[_0x5a39a3(0x3cc)][_0x5a39a3(0x19a)](),'selection':_0x67f04a(_0x57bbfe)}};this[_0x5a39a3(0x3cc)][_0x5a39a3(0x22f)](_0x3ffb07,this[_0x5a39a3(0x34a)]);},_0x4f6232)),(this[_0x424751(0x34a)]=_0x265c94,this[_0x424751(0x3cc)]=_0x3478d5,this[_0x424751(0x22d)]=_0x463c82,this[_0x424751(0x196)]=_0x539977,this[_0x424751(0x2ec)]=_0x6a9a1a,this['_syncEditingCollabCursorService']=_0x264e9b,this['_transformService']=_0x2d16fb,this[_0x424751(0x2d5)]=_0x81c239,this[_0x424751(0x1b5)]=_0xc2e5a5);}get[_0x475329(0x14b)](){const _0x14a94e=_0x475329;return this[_0x14a94e(0x278)][_0x14a94e(0x1d9)]();}get['roomMembers'](){const _0x32af3b=_0x475329;return this['_roomMembers$'][_0x32af3b(0x1d9)]();}[_0x475329(0x258)](){const _0x4edfb4=_0x475329;super[_0x4edfb4(0x258)](),this[_0x4edfb4(0x278)][_0x4edfb4(0x31d)](new Map()),this['_cursorInfo$'][_0x4edfb4(0x214)](),this['_roomMembers$'][_0x4edfb4(0x31d)]([]),this[_0x4edfb4(0x3ce)]['complete']();}[_0x475329(0x24f)](){const _0x552fd6=_0x475329;this['_init']||(this[_0x552fd6(0x375)]=!0x0,this[_0x552fd6(0x3cc)][_0x552fd6(0x150)][_0x552fd6(0x189)](_0x30408e[_0x552fd6(0x198)](this['dispose$']))[_0x552fd6(0x34c)](_0x43c268=>{const _0xf94785=_0x552fd6;_0x43c268===_0x5375bb['SessionStatus'][_0xf94785(0x2a3)]?this[_0xf94785(0x37c)]():this[_0xf94785(0x38c)]();}),this[_0x552fd6(0x3cc)][_0x552fd6(0x23d)]['pipe'](_0x30408e[_0x552fd6(0x198)](this[_0x552fd6(0x1a1)]))['subscribe'](_0x159696=>{const _0x14725a=_0x552fd6,_0x522fa7=_0x159696[_0x14725a(0x22b)];_0x522fa7===_0x299488['CollaborationEvent'][_0x14725a(0x384)]&&this['_onCursorUpdate'](_0x159696),_0x522fa7===_0x299488[_0x14725a(0x242)]['USERS_LEAVE']&&this[_0x14725a(0x324)](_0x159696);}),this[_0x552fd6(0x13a)](this[_0x552fd6(0x1b5)][_0x552fd6(0x280)](_0x49190f=>{const _0x180a47=_0x552fd6,_0x2cd3d6=_0x49190f[_0x180a47(0x169)];_0x2cd3d6!=null&&this['_online']&&_0x49190f['id']===_0x3e301b['SetTextSelectionsOperation']['id']&&_0x2cd3d6[_0x180a47(0x36a)]===this[_0x180a47(0x34a)]&&_0x2cd3d6[_0x180a47(0x3c8)]===!0x1&&_0x2cd3d6['ranges'][_0x180a47(0x1b8)]>0x0&&this[_0x180a47(0x1c2)](_0x2cd3d6['ranges']);})),this[_0x552fd6(0x263)][_0x552fd6(0x1a7)]['pipe'](_0x30408e[_0x552fd6(0x198)](this[_0x552fd6(0x1a1)]))['subscribe'](_0x400892=>{const _0x800add=_0x552fd6;if((_0x400892==null?void 0x0:_0x400892[_0x800add(0x34a)])!==this['unitID'])return;const _0x4bf129={'eventID':_0x299488['CollaborationEvent'][_0x800add(0x384)],'data':_0x400892};this[_0x800add(0x1f3)](_0x4bf129);}),this[_0x552fd6(0x13a)](this[_0x552fd6(0x1b5)][_0x552fd6(0x280)](_0x42731f=>{const _0x5b72cb=_0x552fd6;if(_0x42731f['params']==null)return;const _0x45c0e8=_0x42731f[_0x5b72cb(0x169)];if(_0x42731f['id']!==_0x3e301b[_0x5b72cb(0x272)]['id']||_0x45c0e8['unitId']!==this[_0x5b72cb(0x34a)])return;const _0x1b6e26={'id':'doc.mutation.rich-text-editing','params':_0x45c0e8},_0x3226f7=this['cursorInfo'];for(const [_0x176f8d,_0x499386]of _0x3226f7){const _0x58d21d={'id':_0x5b72cb(0x210),'params':{'unitId':this[_0x5b72cb(0x34a)],'actions':null,'textRanges':_0x499386[_0x5b72cb(0x3ed)]}},_0x526ea6=this['_transformService'][_0x5b72cb(0x217)](_0x1b6e26,_0x58d21d,!0x1);if(_0x299488[_0x5b72cb(0x175)](_0x526ea6))throw _0x526ea6['error'];_0x3226f7['set'](_0x176f8d,{..._0x499386,'ranges':_0x526ea6[_0x5b72cb(0x313)][_0x5b72cb(0x169)][_0x5b72cb(0x1d2)]});}queueMicrotask(()=>{const _0x1e0979=_0x5b72cb;this[_0x1e0979(0x278)][_0x1e0979(0x31d)](_0x3226f7);});})));}[_0x475329(0x1f3)](_0x451039){const _0x248d16=_0x475329;var _0x3bd497,_0x2342e0;const {memberID:_0xf6a1d7,selection:_0x9f6a1a}=_0x451039['data'],_0x1b9d27=_0x57a97d(_0x9f6a1a),_0x19cf6a=(_0x2342e0=(_0x3bd497=this[_0x248d16(0x2ec)][_0x248d16(0x354)](this[_0x248d16(0x34a)],_0xf6a1d7))==null?void 0x0:_0x3bd497[_0x248d16(0x397)])!=null?_0x2342e0:_0x248d16(0x2f2),_0x18e773={'color':this[_0x248d16(0x196)][_0x248d16(0x139)](_0xf6a1d7),'name':_0x19cf6a,'ranges':_0x1b9d27},_0x1dceb1=this[_0x248d16(0x14b)];_0x1dceb1[_0x248d16(0x32f)](_0xf6a1d7,_0x18e773),this[_0x248d16(0x278)][_0x248d16(0x31d)](_0x1dceb1);}['_onCursorDelete'](_0x1c22cb){const _0x30a851=_0x475329,{memberID:_0x5ec7ae}=_0x1c22cb['data'],_0x3731d8=this[_0x30a851(0x14b)];_0x3731d8[_0x30a851(0x3ab)](_0x5ec7ae),this[_0x30a851(0x278)][_0x30a851(0x31d)](_0x3731d8);}[_0x475329(0x37c)](){const _0x349fa0=_0x475329;var _0x1ccab1;if(this['_online']=!0x0,((_0x1ccab1=this[_0x349fa0(0x2d5)][_0x349fa0(0x2f1)]())==null?void 0x0:_0x1ccab1[_0x349fa0(0x2de)]())!==this[_0x349fa0(0x34a)])return;const _0x24c185=this['_injector'][_0x349fa0(0x37e)](_0x3e301b[_0x349fa0(0x149)])[_0x349fa0(0x3d9)]();Array[_0x349fa0(0x18d)](_0x24c185)&&_0x24c185[_0x349fa0(0x1b8)]>0x0&&this[_0x349fa0(0x1c2)](_0x24c185);}['_toggleOffline'](){const _0x3e074e=_0x475329;this[_0x3e074e(0x2a4)]=!0x1;}};_0xcca2e7=_0x32ce07([_0x5a84bd(0x2,_0x20124e['Inject'](_0x20124e['Injector'])),_0x5a84bd(0x3,_0x20124e[_0x475329(0x31f)](_0x108c77)),_0x5a84bd(0x4,_0x20124e[_0x475329(0x31f)](_0x5375bb[_0x475329(0x2dd)])),_0x5a84bd(0x5,_0x20124e[_0x475329(0x31f)](_0x206e4e)),_0x5a84bd(0x6,_0x299488['ITransformService']),_0x5a84bd(0x7,_0x20124e[_0x475329(0x3a5)]),_0x5a84bd(0x8,_0x20124e['ICommandService'])],_0xcca2e7);var _0x481c40=Object[_0x475329(0x3cb)],_0x2b73e1=(_0x4d65ee,_0xead17,_0x35a68c,_0x528fcf)=>{const _0x4f08c3=_0x475329;for(var _0x137d7a=_0x528fcf>0x1?void 0x0:_0x528fcf?_0x481c40(_0xead17,_0x35a68c):_0xead17,_0x10652d=_0x4d65ee[_0x4f08c3(0x1b8)]-0x1,_0x5ea4c6;_0x10652d>=0x0;_0x10652d--)(_0x5ea4c6=_0x4d65ee[_0x10652d])&&(_0x137d7a=_0x5ea4c6(_0x137d7a)||_0x137d7a);return _0x137d7a;},_0x94e247=(_0x565fb6,_0x1600e1)=>(_0x53a456,_0x2d6633)=>_0x1600e1(_0x53a456,_0x2d6633,_0x565fb6);const _0x117849=0x12c,_0x581903=0x64,_0x17d320=()=>{let _0x17903a=[],_0xea2982=!0x1;return _0x1ea09c=>{const _0x550fa3=_0x3097;_0x17903a[_0x550fa3(0x39b)](_0x1ea09c),_0xea2982||(_0xea2982=!0x0,setTimeout(()=>{const _0x3d5422=_0x550fa3;_0x17903a[_0x3d5422(0x303)](_0x393f43=>_0x393f43()),_0x17903a=[],_0xea2982=!0x1;}));};};let _0x4e2cd6=class extends _0x20124e[_0x475329(0x312)]{constructor(_0x16b976,_0x33b09e,_0x106e92,_0x3ce653,_0x24d370,_0x57725e,_0x407a82,_0xb29af6){const _0x3b0a7e=_0x475329;super(),_0x198abe(this,_0x3b0a7e(0x2a4),!0x1),_0x198abe(this,_0x3b0a7e(0x375),!0x1),_0x198abe(this,_0x3b0a7e(0x278),new _0x30408e[(_0x3b0a7e(0x36e))](new Map())),_0x198abe(this,_0x3b0a7e(0x2f8),this[_0x3b0a7e(0x278)][_0x3b0a7e(0x1ce)]()),_0x198abe(this,_0x3b0a7e(0x3ce),new _0x30408e['BehaviorSubject']([])),_0x198abe(this,_0x3b0a7e(0x337),this[_0x3b0a7e(0x3ce)]['pipe'](_0x30408e[_0x3b0a7e(0x286)](_0x117849))),_0x198abe(this,_0x3b0a7e(0x1c2),_0x20124e['debounce']((_0xeabc3c,_0x5626ba)=>{const _0x4d4ea8=_0x3b0a7e,_0x6472b={'eventID':_0x299488[_0x4d4ea8(0x242)]['UPDATE_CURSOR'],'data':{'unitID':this[_0x4d4ea8(0x34a)],'memberID':this[_0x4d4ea8(0x3cc)][_0x4d4ea8(0x19a)](),'selection':_0xf466d3[_0x4d4ea8(0x369)](_0xeabc3c,_0x5626ba['range'])}};this[_0x4d4ea8(0x3cc)][_0x4d4ea8(0x22f)](_0x6472b,this[_0x4d4ea8(0x34a)]);},_0x581903)),(this[_0x3b0a7e(0x34a)]=_0x16b976,this[_0x3b0a7e(0x3cc)]=_0x33b09e,this['_injector']=_0x106e92,this[_0x3b0a7e(0x196)]=_0x3ce653,this[_0x3b0a7e(0x2ec)]=_0x24d370,this[_0x3b0a7e(0x2d5)]=_0x57725e,this[_0x3b0a7e(0x1b5)]=_0x407a82,this['_refRangeService']=_0xb29af6);}get[_0x475329(0x14b)](){const _0x4b9926=_0x475329;return this[_0x4b9926(0x278)][_0x4b9926(0x1d9)]();}get[_0x475329(0x348)](){const _0x162222=_0x475329;return this[_0x162222(0x3ce)][_0x162222(0x1d9)]();}[_0x475329(0x258)](){const _0x43ade2=_0x475329;super['dispose'](),this[_0x43ade2(0x278)][_0x43ade2(0x31d)](new Map()),this['_cursorInfo$'][_0x43ade2(0x214)](),this[_0x43ade2(0x3ce)][_0x43ade2(0x31d)]([]),this[_0x43ade2(0x3ce)][_0x43ade2(0x214)]();}[_0x475329(0x24f)](){const _0x48fbbe=_0x475329;this[_0x48fbbe(0x375)]||(this['_init']=!0x0,this[_0x48fbbe(0x3cc)][_0x48fbbe(0x150)][_0x48fbbe(0x189)](_0x30408e['takeUntil'](this[_0x48fbbe(0x1a1)]))['subscribe'](_0x81aaae=>{const _0x2b8c95=_0x48fbbe;_0x81aaae===_0x5375bb[_0x2b8c95(0x38b)][_0x2b8c95(0x2a3)]?this[_0x2b8c95(0x37c)]():this[_0x2b8c95(0x38c)]();}),this[_0x48fbbe(0x3cc)][_0x48fbbe(0x23d)][_0x48fbbe(0x189)](_0x30408e[_0x48fbbe(0x198)](this[_0x48fbbe(0x1a1)]))[_0x48fbbe(0x34c)](_0x4526eb=>{const _0x5ca961=_0x48fbbe,_0x338b0f=_0x4526eb[_0x5ca961(0x22b)];_0x338b0f===_0x299488[_0x5ca961(0x242)][_0x5ca961(0x384)]&&this['_onCursorUpdate'](_0x4526eb),_0x338b0f===_0x299488['CollaborationEvent']['USERS_LEAVE']&&this['_onCursorDelete'](_0x4526eb);}),this['_onRefRangeChange'](),this[_0x48fbbe(0x13a)](this[_0x48fbbe(0x1b5)]['onCommandExecuted'](_0x41df89=>{const _0x291360=_0x48fbbe;if(this['_online']&&_0x41df89['id']===_0x50fd9b[_0x291360(0x22e)]['id']&&_0x41df89[_0x291360(0x169)][_0x291360(0x36a)]===this[_0x291360(0x34a)]){const _0xf49802=_0x41df89[_0x291360(0x169)];this['_updateLocalCursor'](_0xf49802[_0x291360(0x25d)],_0xf49802[_0x291360(0x322)][0x0]);}})));}['_onCursorUpdate'](_0x45ecfc){const _0x3b8d31=_0x475329;var _0x385353,_0x24c5cf;const {memberID:_0x194388,selection:_0x388760}=_0x45ecfc['data'],{sheetName:_0x45f430,range:_0x30534d}=_0xf466d3['deserializeRangeWithSheet'](_0x388760),_0x41202b={'name':(_0x24c5cf=(_0x385353=this['_memberService'][_0x3b8d31(0x354)](this[_0x3b8d31(0x34a)],_0x194388))==null?void 0x0:_0x385353['name'])!=null?_0x24c5cf:_0x3b8d31(0x2f2),'range':this[_0x3b8d31(0x2e4)](_0x45f430,_0x30534d),'sheetID':_0x45f430,'color':this[_0x3b8d31(0x196)]['assignAColorForMemberID'](_0x194388),'selection':_0x388760},_0x42b26a=this[_0x3b8d31(0x14b)];_0x42b26a[_0x3b8d31(0x32f)](_0x194388,_0x41202b),this['_cursorInfo$'][_0x3b8d31(0x31d)](_0x42b26a);}['_onCursorDelete'](_0x661551){const _0x268032=_0x475329,{memberID:_0x5d6bee}=_0x661551[_0x268032(0x2e2)],_0x17264e=this['cursorInfo'];_0x17264e[_0x268032(0x3ab)](_0x5d6bee),this['_cursorInfo$'][_0x268032(0x31d)](_0x17264e);}[_0x475329(0x2e4)](_0x2ecda1,_0x46f97f){const _0x175d22=_0x475329;var _0x8af68c,_0xce92ea;const _0x2ccf96=(_0xce92ea=(_0x8af68c=this['_univerInstanceService'][_0x175d22(0x179)](this[_0x175d22(0x34a)]))==null?void 0x0:_0x8af68c[_0x175d22(0x362)](_0x2ecda1))==null?void 0x0:_0xce92ea['getMergeData']();return(_0x2ccf96==null?void 0x0:_0x2ccf96[_0x175d22(0x27c)](_0x18d257=>_0x20124e['Rectangle'][_0x175d22(0x18f)](_0x18d257,_0x46f97f)))||_0x46f97f;}['_onRefRangeChange'](){const _0x12f834=_0x475329,_0x33981e=new _0x20124e[(_0x12f834(0x1e4))](),_0x23903f=_0x17d320(),_0x2b116f=()=>{const _0x2b043b=_0x12f834;_0x33981e[_0x2b043b(0x258)]();const _0x5b39e3=(_0x5b1ef9,_0x313e4e,_0x494c1b,_0x31247a)=>{const _0x325816=_0x2b043b;let _0x2358c5=[];switch(_0x5b1ef9['id']){case _0x50fd9b[_0x325816(0x245)][_0x325816(0x183)]:{_0x2358c5=_0x50fd9b[_0x325816(0x240)](_0x5b1ef9,_0x31247a);break;}case _0x50fd9b[_0x325816(0x245)][_0x325816(0x321)]:{_0x2358c5=_0x50fd9b[_0x325816(0x1f5)](_0x5b1ef9,_0x31247a);break;}case _0x50fd9b[_0x325816(0x245)][_0x325816(0x1cc)]:{_0x2358c5=_0x50fd9b[_0x325816(0x148)](_0x5b1ef9,_0x31247a);break;}case _0x50fd9b[_0x325816(0x245)][_0x325816(0x193)]:{_0x2358c5=_0x50fd9b[_0x325816(0x26b)](_0x5b1ef9,_0x31247a);break;}case _0x50fd9b[_0x325816(0x245)]['InsertRangeMoveRightCommandId']:{_0x2358c5=_0x50fd9b[_0x325816(0x171)](_0x5b1ef9,_0x31247a);break;}case _0x50fd9b[_0x325816(0x245)][_0x325816(0x340)]:{_0x2358c5=_0x50fd9b[_0x325816(0x2f5)](_0x5b1ef9,_0x31247a);break;}case _0x50fd9b[_0x325816(0x245)][_0x325816(0x37b)]:{_0x2358c5=_0x50fd9b[_0x325816(0x355)](_0x5b1ef9,_0x31247a);break;}case _0x50fd9b['EffectRefRangId'][_0x325816(0x36d)]:{_0x2358c5=_0x50fd9b['handleIRemoveCol'](_0x5b1ef9,_0x31247a);break;}case _0x50fd9b[_0x325816(0x245)][_0x325816(0x39f)]:{_0x2358c5=_0x50fd9b[_0x325816(0x155)](_0x5b1ef9,_0x31247a);break;}}const _0x53cf49=_0x50fd9b[_0x325816(0x361)](_0x2358c5,_0x31247a),_0x4f72a9=this[_0x325816(0x14b)]['get'](_0x313e4e);if(_0x4f72a9&&_0x53cf49){const _0x1f631a={..._0x4f72a9,'range':_0x53cf49};this['cursorInfo'][_0x325816(0x32f)](_0x313e4e,_0x1f631a),_0x23903f(()=>{const _0x5e0a83=_0x325816,_0x433b07=this['_refRangeService'][_0x5e0a83(0x352)](_0x53cf49,_0x544376=>(_0x433b07[_0x5e0a83(0x258)](),_0x5b39e3(_0x544376,_0x313e4e,_0x494c1b,_0x53cf49)));_0x33981e[_0x5e0a83(0x2e8)](_0x433b07);});}return{'redos':[],'undos':[]};};this[_0x2b043b(0x14b)]['forEach']((_0x2e72d3,_0x14aeb7)=>{const _0x53d442=_0x2b043b,{range:_0x21b77d,sheetID:_0x584a97}=_0x2e72d3,_0x1d50d8=this[_0x53d442(0x24e)][_0x53d442(0x352)](_0x21b77d,_0x558b2b=>(_0x1d50d8[_0x53d442(0x258)](),_0x5b39e3(_0x558b2b,_0x14aeb7,_0x584a97,_0x21b77d)));_0x33981e['add'](_0x1d50d8);});};this[_0x12f834(0x13a)](_0x20124e[_0x12f834(0x1c3)](this[_0x12f834(0x278)][_0x12f834(0x34c)](()=>{_0x2b116f();})));}['_toggleOnline'](){const _0x17ce25=_0x475329;var _0x2daff1,_0x3edba3;if(this[_0x17ce25(0x2a4)]=!0x0,((_0x2daff1=this['_univerInstanceService'][_0x17ce25(0x2f1)]())==null?void 0x0:_0x2daff1[_0x17ce25(0x2de)]())!==this[_0x17ce25(0x34a)])return;const _0x4409cc=(_0x3edba3=this['_injector'][_0x17ce25(0x37e)](_0x50fd9b[_0x17ce25(0x260)])[_0x17ce25(0x328)]())==null?void 0x0:_0x3edba3[0x0],_0x2c6470=this['_univerInstanceService'][_0x17ce25(0x33b)](_0x20124e[_0x17ce25(0x1da)][_0x17ce25(0x3aa)])[_0x17ce25(0x32d)]();_0x4409cc&&_0x2c6470&&this[_0x17ce25(0x1c2)](_0x2c6470[_0x17ce25(0x398)](),_0x4409cc);}[_0x475329(0x38c)](){const _0x2f7ccd=_0x475329;this[_0x2f7ccd(0x2a4)]=!0x1;}};_0x4e2cd6=_0x2b73e1([_0x94e247(0x2,_0x20124e[_0x475329(0x31f)](_0x20124e[_0x475329(0x1b9)])),_0x94e247(0x3,_0x20124e[_0x475329(0x31f)](_0x108c77)),_0x94e247(0x4,_0x20124e[_0x475329(0x31f)](_0x5375bb['MemberService'])),_0x94e247(0x5,_0x20124e[_0x475329(0x3a5)]),_0x94e247(0x6,_0x20124e[_0x475329(0x3e3)]),_0x94e247(0x7,_0x20124e[_0x475329(0x31f)](_0x50fd9b[_0x475329(0x271)]))],_0x4e2cd6);var _0x1031b0=Object[_0x475329(0x3cb)],_0x4202b9=(_0x2e4cf6,_0x2ba080,_0x2b3ffa,_0x493591)=>{const _0x107796=_0x475329;for(var _0x25b8e2=_0x493591>0x1?void 0x0:_0x493591?_0x1031b0(_0x2ba080,_0x2b3ffa):_0x2ba080,_0x5b8177=_0x2e4cf6[_0x107796(0x1b8)]-0x1,_0x4080fa;_0x5b8177>=0x0;_0x5b8177--)(_0x4080fa=_0x2e4cf6[_0x5b8177])&&(_0x25b8e2=_0x4080fa(_0x25b8e2)||_0x25b8e2);return _0x25b8e2;},_0x5bd0f2=(_0x59170f,_0x33c610)=>(_0x4ecf15,_0x5a3aaa)=>_0x33c610(_0x4ecf15,_0x5a3aaa,_0x59170f);let _0x165564=class extends _0x20124e[_0x475329(0x312)]{constructor(_0x244834,_0x5e7e8f,_0x5f0fe8){const _0x4ba054=_0x475329;super(),_0x198abe(this,_0x4ba054(0x3ad),new Map()),_0x198abe(this,_0x4ba054(0x346),new _0x30408e[(_0x4ba054(0x1b0))]()),(this[_0x4ba054(0x2d5)]=_0x244834,this['_injector']=_0x5e7e8f,this['_collabSessionService']=_0x5f0fe8,this[_0x4ba054(0x375)]());}[_0x475329(0x258)](){const _0xf032a1=_0x475329;super['dispose'](),this[_0xf032a1(0x346)][_0xf032a1(0x214)](),this[_0xf032a1(0x3ad)]['forEach'](_0x447808=>_0x447808[_0xf032a1(0x258)]());}[_0x475329(0x267)](_0x1ec4f1){const _0x2a59ca=_0x475329;return this[_0x2a59ca(0x3ad)][_0x2a59ca(0x1b1)](_0x1ec4f1)?this[_0x2a59ca(0x3ad)]['get'](_0x1ec4f1)[_0x2a59ca(0x2f8)]:this[_0x2a59ca(0x346)][_0x2a59ca(0x189)](_0x30408e[_0x2a59ca(0x246)](_0x4a5a95=>_0x4a5a95[_0x2a59ca(0x34a)]===_0x1ec4f1),_0x30408e[_0x2a59ca(0x2d0)](_0x2c9648=>_0x2c9648['cursorInfo$']));}[_0x475329(0x375)](){const _0x5d258d=_0x475329;this[_0x5d258d(0x2d5)][_0x5d258d(0x13f)](_0x20124e[_0x5d258d(0x1da)][_0x5d258d(0x3aa)])[_0x5d258d(0x189)](_0x30408e['takeUntil'](this[_0x5d258d(0x1a1)]))[_0x5d258d(0x34c)](async _0x38ca8e=>{const _0x1a590c=_0x5d258d,_0x143e9b=_0x38ca8e[_0x1a590c(0x2de)](),_0x3d844f=await this[_0x1a590c(0x1dc)](_0x143e9b);this['_entityInit$']['next'](_0x3d844f),this[_0x1a590c(0x3ad)][_0x1a590c(0x32f)](_0x143e9b,_0x3d844f);}),this[_0x5d258d(0x2d5)][_0x5d258d(0x13f)](_0x20124e['UniverInstanceType'][_0x5d258d(0x3ac)])[_0x5d258d(0x189)](_0x30408e[_0x5d258d(0x198)](this[_0x5d258d(0x1a1)]))[_0x5d258d(0x189)](_0x30408e[_0x5d258d(0x246)](_0xb3a0df=>!_0xb3a0df[_0x5d258d(0x2de)]()[_0x5d258d(0x2fa)]('__')))[_0x5d258d(0x34c)](async _0x48738c=>{const _0x460b26=_0x5d258d,_0x2600c6=_0x48738c[_0x460b26(0x2de)](),_0x8fdd44=await this[_0x460b26(0x194)](_0x2600c6);this[_0x460b26(0x346)][_0x460b26(0x31d)](_0x8fdd44),this['_entities'][_0x460b26(0x32f)](_0x2600c6,_0x8fdd44);}),_0x30408e[_0x5d258d(0x3a2)](this[_0x5d258d(0x2d5)][_0x5d258d(0x323)](_0x20124e['UniverInstanceType'][_0x5d258d(0x3ac)]),this[_0x5d258d(0x2d5)]['getTypeOfUnitDisposed$'](_0x20124e['UniverInstanceType']['UNIVER_SHEET']))['pipe'](_0x30408e[_0x5d258d(0x198)](this[_0x5d258d(0x1a1)]))[_0x5d258d(0x34c)](_0x1ff6f1=>{const _0x313727=_0x5d258d,_0x2cdcd6=_0x1ff6f1[_0x313727(0x2de)](),_0x5b3d9e=this['_entities']['get'](_0x2cdcd6);_0x5b3d9e&&(_0x5b3d9e[_0x313727(0x258)](),this['_entities']['delete'](_0x2cdcd6));});}async[_0x475329(0x1dc)](_0x49d3ae){const _0x24f762=_0x475329,_0x31a990=await this[_0x24f762(0x1fb)][_0x24f762(0x3da)](_0x49d3ae),_0x4633bd=this[_0x24f762(0x22d)][_0x24f762(0x3bc)](_0x4e2cd6,_0x49d3ae,_0x31a990);return _0x4633bd[_0x24f762(0x24f)](),_0x4633bd;}async['_startDocCollabCursor'](_0x18a4c1){const _0x199fad=_0x475329,_0xde6c52=await this['_collabSessionService'][_0x199fad(0x3da)](_0x18a4c1),_0x4fbbe0=this[_0x199fad(0x22d)][_0x199fad(0x3bc)](_0xcca2e7,_0x18a4c1,_0xde6c52);return _0x4fbbe0['init'](),_0x4fbbe0;}};_0x165564=_0x4202b9([_0x5bd0f2(0x0,_0x20124e[_0x475329(0x3a5)]),_0x5bd0f2(0x1,_0x20124e[_0x475329(0x31f)](_0x20124e[_0x475329(0x1b9)])),_0x5bd0f2(0x2,_0x20124e['Inject'](_0x5375bb[_0x475329(0x38f)]))],_0x165564);const _0x236d68=0x14,_0x5e7689=0xc8,_0x13cc15=0x4,_0x3a02c2=0x5;function _0x6e1649(_0x20f509,_0xf43028){const _0x4618e7=_0x475329;let {radius:_0x1dad52,width:_0x5f0168,height:_0x320a80}=_0xf43028;_0x1dad52=_0x1dad52!=null?_0x1dad52:0x0,_0x5f0168=_0x5f0168!=null?_0x5f0168:0x1e,_0x320a80=_0x320a80!=null?_0x320a80:0x1e;let _0x28d5a4=0x0,_0x3a2b46=0x0,_0x2f11dc=0x0;_0x28d5a4=_0x3a2b46=_0x2f11dc=Math[_0x4618e7(0x23b)](_0x1dad52,_0x5f0168/0x2,_0x320a80/0x2),_0x20f509['beginPath'](),_0x20f509[_0x4618e7(0x1f6)](_0x28d5a4,0x0),_0x20f509[_0x4618e7(0x2fd)](_0x5f0168-_0x3a2b46,0x0),_0x20f509[_0x4618e7(0x1ad)](_0x5f0168-_0x3a2b46,_0x3a2b46,_0x3a2b46,Math['PI']*0x3/0x2,0x0,!0x1),_0x20f509['lineTo'](_0x5f0168,_0x320a80-_0x2f11dc),_0x20f509[_0x4618e7(0x1ad)](_0x5f0168-_0x2f11dc,_0x320a80-_0x2f11dc,_0x2f11dc,0x0,Math['PI']/0x2,!0x1),_0x20f509[_0x4618e7(0x2fd)](0x0,_0x320a80),_0x20f509['lineTo'](0x0,_0x28d5a4),_0x20f509['arc'](_0x28d5a4,_0x28d5a4,_0x28d5a4,Math['PI'],Math['PI']*0x3/0x2,!0x1),_0x20f509[_0x4618e7(0x23c)](),_0xf43028[_0x4618e7(0x350)]&&(_0x20f509[_0x4618e7(0x291)](),_0x20f509[_0x4618e7(0x147)]=_0xf43028[_0x4618e7(0x350)],_0xf43028[_0x4618e7(0x254)]==='evenodd'?_0x20f509[_0x4618e7(0x350)](_0x4618e7(0x3dc)):_0x20f509[_0x4618e7(0x350)](),_0x20f509['restore']());}class _0x7097d3 extends _0x3289d1[_0x475329(0x273)]{constructor(_0x5ea3d0,_0x3148b5){const _0x43c6a0=_0x475329;super(_0x5ea3d0,_0x3148b5),_0x198abe(this,_0x43c6a0(0x2b8)),_0x198abe(this,'text'),(this[_0x43c6a0(0x2b8)]=_0x3148b5==null?void 0x0:_0x3148b5['color'],this['text']=_0x3148b5==null?void 0x0:_0x3148b5[_0x43c6a0(0x13c)]);}static[_0x475329(0x243)](_0x3592bf,_0x4f15ab){const _0x4042db=_0x475329,{text:_0x353e45,color:_0x1cf8b3}=_0x4f15ab;_0x3592bf[_0x4042db(0x291)](),_0x3592bf[_0x4042db(0x17d)]='bold\x2013px\x20Source\x20Han\x20Sans\x20CN';const _0x59c84f=_0x3592bf[_0x4042db(0x2aa)](_0x353e45)[_0x4042db(0x304)],_0x218865=Math['min'](_0x59c84f+0x2*_0x13cc15,_0x5e7689);_0x6e1649(_0x3592bf,{'height':_0x236d68,'radius':0x4,'width':_0x218865,'fill':_0x1cf8b3}),_0x3592bf[_0x4042db(0x147)]='#FFF';const _0x1d8788=_0x13cc15,_0x56dd1e=_0x236d68-_0x3a02c2,_0x5cf533=_0x5e7689-0x2*_0x13cc15;if(_0x59c84f>_0x5cf533){let _0x49cfd0='',_0x17bda2=0x0;for(const _0x5e67ba of _0x353e45){const _0x3dc6ff=_0x3592bf[_0x4042db(0x2aa)](_0x5e67ba)[_0x4042db(0x304)];if(_0x17bda2+_0x3dc6ff<=_0x5cf533-_0x3592bf[_0x4042db(0x2aa)](_0x4042db(0x30c))[_0x4042db(0x304)])_0x49cfd0+=_0x5e67ba,_0x17bda2+=_0x3dc6ff;else{_0x49cfd0+='...';break;}}_0x3592bf[_0x4042db(0x2a5)](_0x49cfd0,_0x1d8788,_0x56dd1e);}else _0x3592bf[_0x4042db(0x2a5)](_0x353e45,_0x1d8788,_0x56dd1e);_0x3592bf['restore']();}[_0x475329(0x31c)](_0x3076b3){_0x7097d3['drawWith'](_0x3076b3,this);}}const _0x290433=_0x475329(0x253),_0x46a784=_0x475329(0x38e),_0x2fa626=_0x475329(0x15f),_0x5dd412=0x6,_0x52d655=1.5,_0x3b9ef6=0x4,_0x3d1fd5=1.5,_0x15b034='rgba(255,\x20255,\x20255,\x200.01)';class _0xb74f2a{constructor(_0x4f29ef,_0x4a21b6,_0x355a95,_0x344054){const _0x1d7b7d=_0x475329;_0x198abe(this,'_shapes',[]),_0x198abe(this,_0x1d7b7d(0x2d9),null),_0x198abe(this,_0x1d7b7d(0x1d7),null),_0x198abe(this,'_anchorDot',null),_0x198abe(this,_0x1d7b7d(0x383),null),_0x198abe(this,_0x1d7b7d(0x178),null),(this['_cursor']=_0x4f29ef,this[_0x1d7b7d(0x3b2)]=_0x4a21b6,this[_0x1d7b7d(0x3db)]=_0x355a95,this[_0x1d7b7d(0x26f)]=_0x344054,this[_0x1d7b7d(0x3b8)]());}set[_0x475329(0x234)](_0x755102){const _0x132335=_0x475329;_0x755102?(this['_anchorDot']&&this[_0x132335(0x225)][_0x132335(0x30b)](),this['_textBubble']&&this[_0x132335(0x1d7)][_0x132335(0x202)]()):(this[_0x132335(0x225)]&&this[_0x132335(0x225)]['show'](),this[_0x132335(0x1d7)]&&this[_0x132335(0x1d7)]['hide']());}[_0x475329(0x258)](){const _0x4df259=_0x475329;for(const _0x5e8dd9 of this[_0x4df259(0x1cb)])_0x5e8dd9[_0x4df259(0x258)]();this[_0x4df259(0x1d7)]&&this['_textBubble'][_0x4df259(0x258)](),this[_0x4df259(0x225)]&&this[_0x4df259(0x225)][_0x4df259(0x258)](),this[_0x4df259(0x2d9)]&&this[_0x4df259(0x2d9)][_0x4df259(0x258)](),this[_0x4df259(0x178)]&&this[_0x4df259(0x178)]();}[_0x475329(0x3b8)](){const _0x11efa9=_0x475329;var _0x3c445d;const {_docSkeleton:_0x52729f,_document:_0x5c40bd}=this,{color:_0x3fb74c,name:_0x574dba,ranges:_0x144106}=this[_0x11efa9(0x356)],_0x1bd136=_0x5c40bd['getOffsetConfig'](),{docsLeft:_0x349e63,docsTop:_0x31d7e8}=_0x1bd136,_0x55e065=new _0x1549a6[(_0x11efa9(0x34d))](_0x1bd136,_0x52729f);for(const {startOffset:_0x208c6f,endOffset:_0x354b1a,rangeType:_0x232de0,segmentId:_0x36fec1,segmentPage:_0x323b2b,collapsed:_0x33b610,isActive:_0x548df3}of _0x144106){const _0x376969=_0x52729f[_0x11efa9(0x33c)](_0x208c6f,!0x0,_0x36fec1,_0x323b2b);let _0x13c403=_0x52729f['findNodePositionByCharIndex'](_0x354b1a,!0x0,_0x36fec1,_0x323b2b);if(_0x13c403==null&&(_0x13c403=_0x52729f[_0x11efa9(0x33c)](_0x354b1a-0x1,!0x1,_0x36fec1,_0x323b2b)),_0x548df3){const {contentBoxPointGroup:_0x21e2a2}=_0x55e065[_0x11efa9(0x3b1)](_0x13c403,_0x13c403);if(_0x21e2a2['length']===0x0)continue;this[_0x11efa9(0x190)](_0x3fb74c,_0x21e2a2,_0x349e63,_0x31d7e8,_0x574dba),this[_0x11efa9(0x178)]=this['_handleHover']();}if(_0x376969&&_0x13c403){if(_0x232de0===_0x20124e[_0x11efa9(0x3e2)][_0x11efa9(0x28e)]){const _0x4ad095=new _0x1549a6[(_0x11efa9(0x3be))](_0x1bd136,_0x52729f),{pointGroup:_0x5f271e}=(_0x3c445d=_0x4ad095[_0x11efa9(0x3b1)](_0x376969,_0x13c403))!=null?_0x3c445d:{};if(_0x5f271e==null||_0x5f271e[_0x11efa9(0x1b8)]===0x0)continue;this['_drawRectRange'](_0x3fb74c,_0x5f271e,_0x349e63,_0x31d7e8);}else{if(!_0x33b610){const {borderBoxPointGroup:_0x5ced39}=_0x55e065[_0x11efa9(0x3b1)](_0x376969,_0x13c403);if(_0x5ced39[_0x11efa9(0x1b8)]===0x0)continue;this[_0x11efa9(0x3ef)](_0x3fb74c,_0x5ced39,_0x349e63,_0x31d7e8);}}}}}[_0x475329(0x190)](_0x51c177,_0x57a809,_0x346dd2,_0x2156b7,_0x17c693){const _0x4735d6=_0x475329,_0x10e43f=this[_0x4735d6(0x309)](_0x57a809),{left:_0x26ac7f,top:_0x4b39e1,height:_0x458fec}=_0x10e43f,_0x55c90d=this[_0x4735d6(0x38a)](),_0x1232ad=_0x3d1fd5/_0x55c90d,_0x164b3c=new _0x3289d1[(_0x4735d6(0x20f))](_0x290433+_0x20124e[_0x4735d6(0x1e1)](_0x5dd412),{'left':_0x26ac7f+_0x346dd2-_0x1232ad,'top':_0x4b39e1+_0x2156b7,'height':_0x458fec,'width':_0x52d655,'fill':_0x51c177||_0x3289d1['getColor'](_0x20124e[_0x4735d6(0x27e)][_0x4735d6(0x320)],0x0),'strokeWidth':_0x1232ad,'stroke':_0x15b034,'evented':!0x0});this[_0x4735d6(0x2d9)]=_0x164b3c,this[_0x4735d6(0x3b2)]['addObject'](_0x164b3c,_0x1549a6[_0x4735d6(0x2a0)]);const _0x5ca48d=new _0x3289d1[(_0x4735d6(0x20f))](_0x290433+_0x20124e[_0x4735d6(0x1e1)](_0x5dd412),{'left':_0x26ac7f+_0x346dd2-_0x1232ad,'top':_0x4b39e1+_0x2156b7-_0x3b9ef6/0x2,'height':_0x3b9ef6,'width':_0x3b9ef6,'fill':_0x51c177||_0x3289d1[_0x4735d6(0x276)](_0x20124e['COLORS'][_0x4735d6(0x320)],0x0),'strokeWidth':0x0,'stroke':_0x51c177||_0x3289d1[_0x4735d6(0x276)](_0x20124e['COLORS'][_0x4735d6(0x320)],0x0),'evented':!0x1});this[_0x4735d6(0x225)]=_0x5ca48d,this['_scene'][_0x4735d6(0x3af)](_0x5ca48d,_0x1549a6[_0x4735d6(0x2a0)]);const _0x25458c=new _0x7097d3(_0x290433+_0x20124e[_0x4735d6(0x1e1)](_0x5dd412),{'left':_0x26ac7f+_0x346dd2-_0x1232ad,'top':_0x4b39e1+_0x2156b7-_0x236d68,'text':_0x17c693,'color':_0x51c177});this['_textBubble']=_0x25458c,this[_0x4735d6(0x3b2)][_0x4735d6(0x3af)](_0x25458c,_0x1549a6['TEXT_RANGE_LAYER_INDEX']),this[_0x4735d6(0x234)]=!0x1;}[_0x475329(0x3e7)](){const _0x329279=_0x475329,_0x55fc89=this[_0x329279(0x2d9)][_0x329279(0x30e)]['subscribeEvent'](()=>{const _0x4dc383=_0x329279;this[_0x4dc383(0x234)]=!0x0;}),_0x2b2fe8=this['_anchor'][_0x329279(0x31a)][_0x329279(0x341)](()=>{const _0x339798=_0x329279;this[_0x339798(0x383)]&&clearTimeout(this[_0x339798(0x383)]),this['_hideTimer']=setTimeout(()=>{this['_hover']=!0x1;},0x7d0);});return()=>{_0x55fc89['unsubscribe'](),_0x2b2fe8['unsubscribe']();};}[_0x475329(0x3ef)](_0x4c9fce,_0xf5b83f,_0x105c19,_0x5cfd38){const _0x244418=_0x475329,_0x80c663=new _0x20124e['ColorKit'](_0x4c9fce)[_0x244418(0x279)](0.2)[_0x244418(0x295)](),_0x1a6f7b=new _0x3289d1[(_0x244418(0x31b))](_0x46a784+_0x20124e[_0x244418(0x1e1)](_0x5dd412),{'pointsGroup':_0xf5b83f,'fill':_0x80c663||_0x3289d1[_0x244418(0x276)](_0x20124e['COLORS'][_0x244418(0x320)],0.2),'left':_0x105c19,'top':_0x5cfd38,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x244418(0x1cb)][_0x244418(0x39b)](_0x1a6f7b),this['_scene']['addObject'](_0x1a6f7b,_0x1549a6[_0x244418(0x2a0)]);}[_0x475329(0x2c3)](_0x555526,_0x5d4398,_0x42165b,_0x51ace9){const _0x57fccc=_0x475329,_0x641c94=new _0x20124e['ColorKit'](_0x555526)[_0x57fccc(0x279)](0.2)[_0x57fccc(0x295)](),_0x484f01=new _0x3289d1[(_0x57fccc(0x31b))](_0x2fa626+_0x20124e[_0x57fccc(0x1e1)](_0x5dd412),{'pointsGroup':_0x5d4398,'fill':_0x641c94||_0x3289d1[_0x57fccc(0x276)](_0x20124e[_0x57fccc(0x27e)][_0x57fccc(0x320)],0.2),'left':_0x42165b,'top':_0x51ace9,'evented':!0x1,'debounceParentDirty':!0x1});this[_0x57fccc(0x1cb)][_0x57fccc(0x39b)](_0x484f01),this[_0x57fccc(0x3b2)][_0x57fccc(0x3af)](_0x484f01,_0x1549a6[_0x57fccc(0x2a0)]);}[_0x475329(0x309)](_0x47b270){const _0x3de802=_0x47b270[0x0],_0x580a84=_0x3de802[0x0],_0x7ae015=_0x3de802[0x2],{x:_0x5b44c3,y:_0x4a0460}=_0x580a84,{x:_0x3e074a,y:_0x3a8383}=_0x7ae015;return{'left':_0x5b44c3,'top':_0x4a0460,'width':_0x3e074a-_0x5b44c3,'height':_0x3a8383-_0x4a0460};}[_0x475329(0x38a)](){const _0x73065f=_0x475329,{scaleX:_0x126d95,scaleY:_0x5858a2}=this[_0x73065f(0x3b2)][_0x73065f(0x199)]();return Math[_0x73065f(0x17c)](_0x126d95,_0x5858a2);}}var _0xf131a7=Object[_0x475329(0x3cb)],_0x31056b=(_0x19d30f,_0x3efb03,_0x11c548,_0xd7277e)=>{const _0x495c45=_0x475329;for(var _0x4051db=_0xd7277e>0x1?void 0x0:_0xd7277e?_0xf131a7(_0x3efb03,_0x11c548):_0x3efb03,_0x1ecb9b=_0x19d30f[_0x495c45(0x1b8)]-0x1,_0x4106d8;_0x1ecb9b>=0x0;_0x1ecb9b--)(_0x4106d8=_0x19d30f[_0x1ecb9b])&&(_0x4051db=_0x4106d8(_0x4051db)||_0x4051db);return _0x4051db;},_0x3549ea=(_0x1674dd,_0x11f00e)=>(_0x12d1a9,_0xcc35da)=>_0x11f00e(_0x12d1a9,_0xcc35da,_0x1674dd);let _0x4bec33=class extends _0x20124e[_0x475329(0x312)]{constructor(_0x1d3da4,_0x592119,_0x28854b,_0x366d96,_0xd4fc6b){const _0x3181b3=_0x475329;super(),_0x198abe(this,_0x3181b3(0x2b3),[]),_0x198abe(this,_0x3181b3(0x296),[]),(this[_0x3181b3(0x2bb)]=_0x1d3da4,this['_docSkeletonManagerService']=_0x592119,this['_collabCursorController']=_0x28854b,this[_0x3181b3(0x1b5)]=_0x366d96,this[_0x3181b3(0x1ba)]=_0xd4fc6b,this[_0x3181b3(0x375)]());}['_init'](){const _0x476d41=_0x475329,_0x5c4f03=this[_0x476d41(0x2bb)]['unitId'],_0x2dc9af=this[_0x476d41(0x3f0)];this[_0x476d41(0x13a)](_0x30408e[_0x476d41(0x1b4)]([this['_collabCursorController'][_0x476d41(0x267)](_0x5c4f03),this[_0x476d41(0x1ba)]['currentTheme$']])['pipe'](_0x3cd24d[_0x476d41(0x1aa)](([_0x2132ec,_0x27e912])=>({'skeleton':_0x2dc9af[_0x476d41(0x15a)](),'cursors':[..._0x2132ec['values']()][_0x476d41(0x230)](_0x33ce97=>({..._0x33ce97,'color':this['_themeService'][_0x476d41(0x2dc)](_0x33ce97[_0x476d41(0x2b8)])}))})))['subscribe'](_0x3a7f30=>{const _0x38aa72=_0x476d41;if(this['_removeCollabCursors'](),_0x3a7f30){const {skeleton:_0x204d78,cursors:_0x2628e8}=_0x3a7f30;this[_0x38aa72(0x2c4)](_0x204d78,_0x2628e8);}})),this[_0x476d41(0x344)](),this[_0x476d41(0x2f0)]();}['_updateCollabCursors'](_0x448eb6,_0x48182a){const _0x20a4dc=_0x475329,{scene:_0x31f126,mainComponent:_0x23070b}=this[_0x20a4dc(0x2bb)],_0x38faf4=_0x48182a[_0x20a4dc(0x1aa)](_0x4f75b4=>new _0xb74f2a(_0x4f75b4,_0x31f126,_0x448eb6,_0x23070b));this[_0x20a4dc(0x2b3)]=_0x38faf4,this[_0x20a4dc(0x296)]=_0x48182a;}[_0x475329(0x1d4)](){const _0x14b055=_0x475329;this['_removeCollabCursors']();const {scene:_0x2534bc,mainComponent:_0x1725b6}=this[_0x14b055(0x2bb)],_0x3050bc=this[_0x14b055(0x3f0)][_0x14b055(0x15a)](),_0x30a998=this[_0x14b055(0x296)]['map'](_0x5ab306=>new _0xb74f2a(_0x5ab306,_0x2534bc,_0x3050bc,_0x1725b6));this[_0x14b055(0x2b3)]=_0x30a998;}[_0x475329(0x15d)](){const _0x3b26d9=_0x475329;this[_0x3b26d9(0x2b3)]['forEach'](_0x4e8821=>_0x4e8821[_0x3b26d9(0x258)]()),this[_0x3b26d9(0x2b3)]=[];}[_0x475329(0x2f0)](){const _0x6b5226=_0x475329,_0x46e61e=[_0x1549a6[_0x6b5226(0x3eb)]['id']];this['disposeWithMe'](this['_commandService'][_0x6b5226(0x280)](_0x3f31fe=>{const _0x1928c7=_0x6b5226;_0x46e61e[_0x1928c7(0x25f)](_0x3f31fe['id'])&&_0x3f31fe['params']['unitId']===this['_context'][_0x1928c7(0x36a)]&&this[_0x1928c7(0x1d4)]();}));}[_0x475329(0x344)](){const _0x2a230d=_0x475329;this[_0x2a230d(0x13a)](_0x20124e[_0x2a230d(0x237)](this['_context']['engine'][_0x2a230d(0x1a5)])['pipe'](_0x3cd24d[_0x2a230d(0x246)](_0x4f3b15=>_0x4f3b15['type']===_0x3289d1[_0x2a230d(0x319)][_0x2a230d(0x1bc)]),_0x3cd24d[_0x2a230d(0x2d3)](0x10))[_0x2a230d(0x34c)](()=>{this['_refreshCollabCursors']();}));}};_0x4bec33=_0x31056b([_0x3549ea(0x1,_0x20124e[_0x475329(0x31f)](_0x3e301b[_0x475329(0x2c9)])),_0x3549ea(0x2,_0x20124e[_0x475329(0x31f)](_0x165564)),_0x3549ea(0x3,_0x20124e[_0x475329(0x3e3)]),_0x3549ea(0x4,_0x20124e['Inject'](_0x20124e[_0x475329(0x1f7)]))],_0x4bec33);const _0xe08e1b=0x1,_0x1ee4e3=1.5;class _0xef8ec8 extends _0x3289d1[_0x475329(0x273)]{constructor(_0x43217d,_0x10b414){const _0x32a4ce=_0x475329;super(_0x43217d,_0x10b414),_0x198abe(this,_0x32a4ce(0x173)),_0x198abe(this,_0x32a4ce(0x21a),!0x1),_0x198abe(this,_0x32a4ce(0x16b)),_0x198abe(this,_0x32a4ce(0x3c4),''),_0x198abe(this,_0x32a4ce(0x1e3),'top'),_0x198abe(this,_0x32a4ce(0x22c)),(_0x10b414&&this['setShapeProps'](_0x10b414),this[_0x32a4ce(0x30e)][_0x32a4ce(0x341)](()=>this[_0x32a4ce(0x380)]({'hovered':!0x0})),this[_0x32a4ce(0x31a)][_0x32a4ce(0x341)](()=>this[_0x32a4ce(0x380)]({'hovered':!0x1})));}[_0x475329(0x380)](_0x4243fc){const _0x25d2ed=_0x475329;var _0x5d8b87,_0x38dae3,_0x4cd1cb,_0x1806ba,_0x513d97,_0x1b1651;this[_0x25d2ed(0x173)]=(_0x5d8b87=_0x4243fc[_0x25d2ed(0x2b8)])!=null?_0x5d8b87:this['_color'],this['_hovered']=(_0x38dae3=_0x4243fc['hovered'])!=null?_0x38dae3:this[_0x25d2ed(0x21a)],this[_0x25d2ed(0x16b)]=(_0x4cd1cb=_0x4243fc[_0x25d2ed(0x1ed)])!=null?_0x4cd1cb:this[_0x25d2ed(0x16b)],this['_name']=(_0x1806ba=_0x4243fc[_0x25d2ed(0x397)])!=null?_0x1806ba:this[_0x25d2ed(0x3c4)],this[_0x25d2ed(0x1e3)]=(_0x513d97=_0x4243fc['labelPosition'])!=null?_0x513d97:this['_labelPosition'],this[_0x25d2ed(0x22c)]=(_0x1b1651=_0x4243fc['backgroundColor'])!=null?_0x1b1651:this[_0x25d2ed(0x22c)],this[_0x25d2ed(0x3f1)]({'width':_0x4243fc[_0x25d2ed(0x304)],'height':_0x4243fc[_0x25d2ed(0x310)]});}['onMouseMove'](_0x254113){const _0x3c9e0a=_0x475329,{row:_0x104147,column:_0x2f3351}=_0x254113;if(_0x104147>=this[_0x3c9e0a(0x16b)][_0x3c9e0a(0x285)]&&_0x104147<=this['_range']['endRow']&&_0x2f3351>=this[_0x3c9e0a(0x16b)][_0x3c9e0a(0x2d4)]&&_0x2f3351<=this[_0x3c9e0a(0x16b)][_0x3c9e0a(0x1fd)]){this[_0x3c9e0a(0x380)]({'hovered':!0x0});return;}this[_0x3c9e0a(0x380)]({'hovered':!0x1});}[_0x475329(0x164)](_0x373a12){return!0x1;}[_0x475329(0x31c)](_0x5d0886){const _0x26f127=_0x475329;_0x3289d1[_0x26f127(0x20f)][_0x26f127(0x243)](_0x5d0886,{'width':this[_0x26f127(0x304)],'height':this[_0x26f127(0x310)],'strokeWidth':_0x1ee4e3,'stroke':this[_0x26f127(0x173)],'evented':!0x1,'fill':this[_0x26f127(0x22c)]}),this[_0x26f127(0x21a)]&&(_0x5d0886[_0x26f127(0x291)](),_0x5d0886[_0x26f127(0x2cb)](0x1,0x0,0x0,0x1,this[_0x26f127(0x304)],this[_0x26f127(0x1e3)]===_0x26f127(0x15b)?0x0:-_0x236d68),_0x7097d3['drawWith'](_0x5d0886,{'text':this[_0x26f127(0x3c4)],'color':this[_0x26f127(0x173)]}),_0x5d0886[_0x26f127(0x1b7)]());}}var _0x15b122=Object[_0x475329(0x3cb)],_0x49d9f1=(_0x28bb40,_0x2bc8d7,_0xa57ad2,_0x4c1c17)=>{const _0x2e83cd=_0x475329;for(var _0x301568=_0x4c1c17>0x1?void 0x0:_0x4c1c17?_0x15b122(_0x2bc8d7,_0xa57ad2):_0x2bc8d7,_0x5d1728=_0x28bb40[_0x2e83cd(0x1b8)]-0x1,_0x4bd3ef;_0x5d1728>=0x0;_0x5d1728--)(_0x4bd3ef=_0x28bb40[_0x5d1728])&&(_0x301568=_0x4bd3ef(_0x301568)||_0x301568);return _0x301568;},_0x909b27=(_0x4df22a,_0x21d93d)=>(_0x3d2fa0,_0x40100b)=>_0x21d93d(_0x3d2fa0,_0x40100b,_0x4df22a);const _0x5cc55a=0x1389;let _0x43c08b=class extends _0x20124e['RxDisposable']{constructor(_0x460063,_0x59c439,_0x4ef4e3,_0x51800a){const _0x11b042=_0x475329;super(),_0x198abe(this,_0x11b042(0x296),new Set()),_0x198abe(this,_0x11b042(0x1f9),null),(this[_0x11b042(0x2bb)]=_0x460063,this[_0x11b042(0x19f)]=_0x59c439,this[_0x11b042(0x1e7)]=_0x4ef4e3,this['_themeService']=_0x51800a,this[_0x11b042(0x375)]());}[_0x475329(0x375)](){const _0x9e8961=_0x475329;this[_0x9e8961(0x19f)]['currentSkeleton$'][_0x9e8961(0x189)](_0x3cd24d[_0x9e8961(0x198)](this[_0x9e8961(0x1a1)]),_0x3cd24d[_0x9e8961(0x2d0)](_0x34cf90=>{const _0x27646d=_0x9e8961;if(_0x34cf90){const _0x53363c=_0x34cf90[_0x27646d(0x3ba)];return _0x30408e[_0x27646d(0x1b4)](this['_collabCursorController'][_0x27646d(0x267)](this[_0x27646d(0x2bb)][_0x27646d(0x36a)]),this[_0x27646d(0x1ba)][_0x27646d(0x32e)])[_0x27646d(0x189)](_0x3cd24d[_0x27646d(0x1aa)](([_0x33324e,_0x58deef])=>{const _0x2e1848=new Map();return _0x33324e['forEach']((_0x14a94d,_0x302863)=>{const _0xa941d9=_0x3097;if(_0x14a94d[_0xa941d9(0x3d7)]===_0x53363c){const _0x30f6d4={..._0x14a94d};_0x30f6d4[_0xa941d9(0x2b8)]=this[_0xa941d9(0x1ba)][_0xa941d9(0x2dc)](_0x14a94d['color']),_0x2e1848[_0xa941d9(0x32f)](_0x302863,_0x30f6d4);}}),{'skeleton':_0x34cf90,'cursors':_0x2e1848};}));}return _0x30408e['of']({'skeleton':null,'cursors':new Map()});}))[_0x9e8961(0x34c)](({skeleton:_0x37aec8,cursors:_0xb20de1})=>{const _0x17dd62=_0x9e8961;this[_0x17dd62(0x15d)](),_0x37aec8&&this[_0x17dd62(0x2c4)](_0x37aec8,_0xb20de1);}),this[_0x9e8961(0x19f)][_0x9e8961(0x274)]['subscribe'](_0x3661fb=>{const _0x8515db=_0x9e8961;if(_0x3661fb==null)return;const {skeleton:_0x33f4a5}=_0x3661fb,{scene:_0x288ef6}=this[_0x8515db(0x2bb)];_0x288ef6[_0x8515db(0x2b0)][_0x8515db(0x341)](_0x20124e['debounce'](_0x2c2fcd=>{const _0x8c49fd=_0x8515db;var _0x181468,_0x23656e;const {offsetX:_0x58b5a8,offsetY:_0x4e3580}=_0x2c2fcd,{x:_0x14e6c9,y:_0x54c73e}=_0x288ef6['getRelativeToViewportCoord'](_0x3289d1[_0x8c49fd(0x331)][_0x8c49fd(0x333)]([_0x58b5a8,_0x4e3580])),{scaleX:_0x2e8f4a,scaleY:_0x260ff1}=_0x288ef6['getAncestorScale'](),_0x4e7ccc=_0x288ef6[_0x8c49fd(0x142)](_0x3289d1[_0x8c49fd(0x394)][_0x8c49fd(0x2be)]),_0x5efad9=_0x288ef6['getVpScrollXYInfoByPosToVp'](_0x3289d1[_0x8c49fd(0x331)]['FromArray']([_0x14e6c9,_0x54c73e]),_0x4e7ccc),_0x402caf=_0x33f4a5[_0x8c49fd(0x141)](_0x58b5a8,_0x4e3580,_0x2e8f4a,_0x260ff1,_0x5efad9);((_0x181468=this[_0x8c49fd(0x1f9)])==null?void 0x0:_0x181468[_0x8c49fd(0x204)])===_0x402caf[_0x8c49fd(0x204)]&&((_0x23656e=this[_0x8c49fd(0x1f9)])==null?void 0x0:_0x23656e[_0x8c49fd(0x143)])===_0x402caf['row']||this['_cursors'][_0x8c49fd(0x303)](_0x26da50=>{const _0x1bbbf4=_0x8c49fd;_0x26da50[_0x1bbbf4(0x294)](_0x402caf);});},0x64));});}['_updateCollabCursors'](_0x4a6440,_0x2fd55e){const _0x38ab74=_0x475329;var _0xea84a5;const _0x4b4571=(_0xea84a5=this[_0x38ab74(0x19f)][_0x38ab74(0x2ae)]())==null?void 0x0:_0xea84a5[_0x38ab74(0x19e)];if(!_0x4b4571)return;const _0x545bf2=this[_0x38ab74(0x3d4)]();if(!_0x545bf2)return;this[_0x38ab74(0x296)][_0x38ab74(0x303)](_0x5b6fdf=>{const _0x21a5af=_0x38ab74;_0x5b6fdf[_0x21a5af(0x33f)]();});const {scene:_0x25e118}=_0x545bf2,_0x3e3586=_0x504c78(Array[_0x38ab74(0x244)](_0x2fd55e['values']()))['map'](_0x4ddb2d=>{const _0x2300cc=_0x38ab74,{color:_0xab842f,range:_0x680b07,name:_0x2ea6ab,selection:_0x386e87,sheetID:_0x1669ea}=_0x4ddb2d,{startColumn:_0x102e97,startRow:_0x2037e8,endColumn:_0x8f4928,endRow:_0x4bc6fb}=_0x680b07,_0x2af989=_0x423d28[_0x2300cc(0x213)](_0x2037e8,_0x102e97,_0x25e118,_0x4b4571),_0x26e056=_0x423d28[_0x2300cc(0x213)](_0x4bc6fb,_0x8f4928,_0x25e118,_0x4b4571),{columnHeaderHeightAndMarginTop:_0x54123e}=_0x4b4571,{startX:_0x1cb53e,startY:_0x559ad0}=_0x2af989,{endX:_0x28ca90,endY:_0x19984}=_0x26e056,_0x39dcd6=_0x28ca90-_0x1cb53e,_0x209dc1=_0x19984-_0x559ad0,_0x37be67={'labelPosition':_0x559ad0-_0x54123e>=_0x236d68?_0x2300cc(0x20a):_0x2300cc(0x15b),'sheetID':_0x1669ea,'range':_0x680b07,'color':_0xab842f,'name':_0x2ea6ab,'selection':_0x386e87,'left':_0x1cb53e,'top':_0x559ad0,'width':_0x39dcd6,'height':_0x209dc1,'evented':!0x1,'zIndex':_0x5cc55a};return new _0xef8ec8(_0x2ea6ab,_0x37be67);});_0x25e118[_0x38ab74(0x208)](_0x3e3586,_0xe08e1b),this[_0x38ab74(0x296)]=new Set(_0x3e3586);}[_0x475329(0x15d)](){const _0x4d6c61=_0x475329;var _0x45e296;(_0x45e296=this['_cursors'])==null||_0x45e296[_0x4d6c61(0x303)](_0x38e939=>_0x38e939[_0x4d6c61(0x258)]());}['_getSheetObject'](){const _0x1c42e5=_0x475329;return _0x423d28['getSheetObject'](this[_0x1c42e5(0x2bb)][_0x1c42e5(0x27d)],this['_context']);}};_0x43c08b=_0x49d9f1([_0x909b27(0x1,_0x20124e[_0x475329(0x31f)](_0x423d28['SheetSkeletonManagerService'])),_0x909b27(0x2,_0x20124e['Inject'](_0x165564)),_0x909b27(0x3,_0x20124e[_0x475329(0x31f)](_0x20124e[_0x475329(0x1f7)]))],_0x43c08b);function _0x504c78(_0x5e9d5a){const _0x2a2135=_0x475329,_0x13764b=new Map();return _0x5e9d5a[_0x2a2135(0x303)](_0x25a3a0=>{const _0x18536c=_0x2a2135;if(_0x13764b['has'](_0x25a3a0[_0x18536c(0x1dd)])){const _0x523e88=_0x13764b[_0x18536c(0x37e)](_0x25a3a0[_0x18536c(0x1dd)]);_0x523e88['name']+=',\x20'+_0x25a3a0[_0x18536c(0x397)];}else _0x13764b['set'](_0x25a3a0[_0x18536c(0x1dd)],_0x25a3a0);}),Array[_0x2a2135(0x244)](_0x13764b[_0x2a2135(0x1fc)]());}var _0x196d42=Object['getOwnPropertyDescriptor'],_0x245144=(_0x945339,_0x4da57b,_0x156b89,_0x51c083)=>{for(var _0x111da3=_0x51c083>0x1?void 0x0:_0x51c083?_0x196d42(_0x4da57b,_0x156b89):_0x4da57b,_0x2d504f=_0x945339['length']-0x1,_0x33773b;_0x2d504f>=0x0;_0x2d504f--)(_0x33773b=_0x945339[_0x2d504f])&&(_0x111da3=_0x33773b(_0x111da3)||_0x111da3);return _0x111da3;},_0x1b05f4=(_0x31a9ec,_0x1121f6)=>(_0x3ba51b,_0x21797a)=>_0x1121f6(_0x3ba51b,_0x21797a,_0x31a9ec);let _0x528a10=class extends _0x20124e[_0x475329(0x385)]{constructor(_0x1199d4,_0x8b95ae,_0x40f480,_0x1cca0f,_0x215dee,_0x1b5dde){const _0x339141=_0x475329;super(),this[_0x339141(0x2bd)]=_0x1199d4,this[_0x339141(0x377)]=_0x8b95ae,this[_0x339141(0x3b0)]=_0x40f480,this[_0x339141(0x1fa)]=_0x1cca0f,this['_notificationService']=_0x215dee,this[_0x339141(0x1f8)]=_0x1b5dde,this[_0x339141(0x187)](),this[_0x339141(0x248)]();}[_0x475329(0x187)](){const _0x3b5d45=_0x475329;this[_0x3b5d45(0x13a)](this[_0x3b5d45(0x2bd)][_0x3b5d45(0x18b)](()=>{const _0x2a3057=_0x3b5d45;if(this[_0x2a3057(0x377)][_0x2a3057(0x299)][_0x2a3057(0x33d)])return this[_0x2a3057(0x1f8)]['t'](_0x2a3057(0x191));}));}[_0x475329(0x248)](){const _0x158b57=_0x475329;this[_0x158b57(0x13a)](this[_0x158b57(0x3b0)][_0x158b57(0x23d)][_0x158b57(0x34c)](_0xa3e842=>{const _0x53f2ad=_0x158b57;_0xa3e842['id']===_0x5375bb['CollaborationUIEventId'][_0x53f2ad(0x3d0)]&&this[_0x53f2ad(0x1fa)][_0x53f2ad(0x202)]({'type':_0xbc961f[_0x53f2ad(0x2c5)][_0x53f2ad(0x161)],'content':this[_0x53f2ad(0x1f8)]['t']('collaboration.single-unit.warning')}),_0xa3e842['id']===_0x5375bb[_0x53f2ad(0x3e6)][_0x53f2ad(0x2a2)]&&this[_0x53f2ad(0x1fa)][_0x53f2ad(0x202)]({'type':_0xbc961f[_0x53f2ad(0x2c5)][_0x53f2ad(0x161)],'content':this['_localeService']['t']('collaboration.closeRoom')}),_0xa3e842['id']===_0x5375bb['CollaborationUIEventId'][_0x53f2ad(0x325)]&&this[_0x53f2ad(0x251)][_0x53f2ad(0x202)]({'title':this[_0x53f2ad(0x1f8)]['t'](_0x53f2ad(0x34e)),'content':this['_localeService']['t'](_0x53f2ad(0x1f0)),'type':_0x53f2ad(0x26c),'duration':0x0}),_0xa3e842['id']===_0x5375bb[_0x53f2ad(0x3e6)][_0x53f2ad(0x218)]&&this[_0x53f2ad(0x1fa)]['show']({'type':_0xbc961f['MessageType']['Error'],'content':this['_localeService']['t'](_0x53f2ad(0x298))+'('+_0xa3e842[_0x53f2ad(0x2e2)]+')'}),_0xa3e842['id']===_0x5375bb[_0x53f2ad(0x3e6)][_0x53f2ad(0x17a)]&&this[_0x53f2ad(0x1fa)]['show']({'type':_0xbc961f[_0x53f2ad(0x2c5)][_0x53f2ad(0x161)],'content':this[_0x53f2ad(0x1f8)]['t'](_0xa3e842['data']||'')}),_0xa3e842['id']===_0x5375bb[_0x53f2ad(0x3e6)][_0x53f2ad(0x1bf)]&&this[_0x53f2ad(0x1fa)]['show']({'type':_0xbc961f[_0x53f2ad(0x2c5)][_0x53f2ad(0x161)],'content':this['_localeService']['t'](_0x53f2ad(0x359))}),_0xa3e842['id']===_0x5375bb[_0x53f2ad(0x3e6)][_0x53f2ad(0x2c7)]&&this['_messageService'][_0x53f2ad(0x202)]({'type':_0xbc961f[_0x53f2ad(0x2c5)][_0x53f2ad(0x392)],'content':this[_0x53f2ad(0x1f8)]['t'](_0x53f2ad(0x163))}),_0xa3e842['id']===_0x5375bb['CollaborationUIEventId'][_0x53f2ad(0x393)]&&this['_messageService']['show']({'type':_0xbc961f[_0x53f2ad(0x2c5)][_0x53f2ad(0x392)],'content':this[_0x53f2ad(0x1f8)]['t'](_0x53f2ad(0x307))});}));}};_0x528a10=_0x245144([_0x1b05f4(0x0,_0x3f164e[_0x475329(0x1cd)]),_0x1b05f4(0x1,_0x5375bb[_0x475329(0x3bb)]),_0x1b05f4(0x2,_0x20124e['Inject'](_0x5375bb['CollaborationUIEventService'])),_0x1b05f4(0x3,_0x3f164e[_0x475329(0x1d3)]),_0x1b05f4(0x4,_0x3f164e[_0x475329(0x3c1)]),_0x1b05f4(0x5,_0x20124e['Inject'](_0x20124e[_0x475329(0x34b)]))],_0x528a10);const _0x3ffd5a=_0x475329(0x2a7),_0x567f17={};var _0x512394=Object[_0x475329(0x3cb)],_0x2b2d92=(_0x4a92fa,_0x49113c,_0x4db6d2,_0xb07a10)=>{const _0x323979=_0x475329;for(var _0x3fffd5=_0xb07a10>0x1?void 0x0:_0xb07a10?_0x512394(_0x49113c,_0x4db6d2):_0x49113c,_0x259ca3=_0x4a92fa[_0x323979(0x1b8)]-0x1,_0x491205;_0x259ca3>=0x0;_0x259ca3--)(_0x491205=_0x4a92fa[_0x259ca3])&&(_0x3fffd5=_0x491205(_0x3fffd5)||_0x3fffd5);return _0x3fffd5;},_0xf565c5=(_0x272f6d,_0x2e0356)=>(_0x25a76a,_0x346051)=>_0x2e0356(_0x25a76a,_0x346051,_0x272f6d);let _0x5044c8=class{constructor(_0x1f3242,_0x275a3d){const _0x4e6fa5=_0x475329;this['_transformService']=_0x1f3242,this[_0x4e6fa5(0x1c6)]=_0x275a3d;}[_0x475329(0x177)](_0x4128c3){const _0x394c3a=_0x475329;this[_0x394c3a(0x29c)](_0x4128c3),this[_0x394c3a(0x338)](_0x4128c3);}[_0x475329(0x212)](_0x174597){const _0x1825cc=_0x475329,{unitID:_0x58a934}=_0x174597,_0x291e75=this[_0x1825cc(0x1c6)][_0x1825cc(0x382)](_0x58a934)[_0x1825cc(0x3a3)](_0x1549a6[_0x1825cc(0x358)]),{redoCache:_0x46af6a}=_0x291e75[_0x1825cc(0x3bd)]();if(_0x46af6a[_0x1825cc(0x1b8)]===0x0)return _0x174597;let _0x9bf524=_0x20124e[_0x1825cc(0x1c0)][_0x1825cc(0x3df)](_0x174597['mutations'][0x0]);for(let _0x3c7490=0x0;_0x3c7490<_0x46af6a[_0x1825cc(0x1b8)];_0x3c7490++){const _0x139024={'id':_0x1825cc(0x210),'params':{..._0x46af6a[_0x3c7490]}},_0x4de59a=this[_0x1825cc(0x1af)][_0x1825cc(0x217)](_0x9bf524,_0x139024,!0x1);if(_0x299488[_0x1825cc(0x175)](_0x4de59a))throw _0x4de59a[_0x1825cc(0x26c)];_0x9bf524=_0x4de59a[_0x1825cc(0x255)];}return{..._0x20124e[_0x1825cc(0x1c0)][_0x1825cc(0x3df)](_0x174597),'mutations':[_0x9bf524]};}[_0x475329(0x29c)](_0xeb9395){const _0x46b002=_0x475329,{unitID:_0x1514d8}=_0xeb9395,_0xae13ef=this['_renderManagerService'][_0x46b002(0x382)](_0x1514d8)[_0x46b002(0x3a3)](_0x1549a6[_0x46b002(0x358)]),{undoCache:_0x2072d4,redoCache:_0x290548}=_0xae13ef[_0x46b002(0x3bd)]();if(_0x2072d4[_0x46b002(0x1b8)]===0x0||_0x290548['length']===0x0)return;const _0x313227=[],_0x4b8f7f=[];let _0x4d60fa=_0x20124e[_0x46b002(0x1c0)]['deepClone'](_0xeb9395[_0x46b002(0x18c)][0x0]),_0xd5170d=_0x20124e[_0x46b002(0x1c0)][_0x46b002(0x3df)](_0xeb9395[_0x46b002(0x18c)][0x0]);for(let _0x4e1b42=_0x2072d4[_0x46b002(0x1b8)]-0x1;_0x4e1b42>=0x0;_0x4e1b42--){const _0x2d0dda={'id':_0x46b002(0x210),'params':{..._0x2072d4[_0x4e1b42]}},_0x1764a5={'id':_0x46b002(0x210),'params':{..._0x290548[_0x4e1b42]}},_0x8bf01=this[_0x46b002(0x1af)]['transformMutation'](_0x4d60fa,_0x2d0dda,!0x1),_0x2aa31c=this[_0x46b002(0x1af)][_0x46b002(0x217)](_0xd5170d,_0x1764a5,!0x1);if(_0x299488[_0x46b002(0x175)](_0x8bf01))throw _0x8bf01[_0x46b002(0x26c)];if(_0x299488[_0x46b002(0x175)](_0x2aa31c))throw _0x2aa31c[_0x46b002(0x26c)];_0x313227[_0x46b002(0x37d)](_0x8bf01[_0x46b002(0x313)][_0x46b002(0x169)]),_0x4b8f7f['unshift'](_0x2aa31c[_0x46b002(0x313)][_0x46b002(0x169)]),_0x4d60fa=_0x8bf01[_0x46b002(0x255)],_0xd5170d=_0x2aa31c[_0x46b002(0x255)];}_0xae13ef[_0x46b002(0x224)]({'undoCache':_0x313227,'redoCache':_0x4b8f7f});}[_0x475329(0x338)](_0x87ed40){const _0x5b6f5a=_0x475329,{unitID:_0xee64a0}=_0x87ed40,_0x1a9a3e=this[_0x5b6f5a(0x1c6)][_0x5b6f5a(0x382)](_0xee64a0)[_0x5b6f5a(0x3a3)](_0x1549a6[_0x5b6f5a(0x358)]),_0x1e5f2b=_0x1a9a3e[_0x5b6f5a(0x370)]();if(_0x1e5f2b==null)return;const _0x54b341=[{'id':_0x5b6f5a(0x210),'params':{'unitId':_0x87ed40[_0x5b6f5a(0x34a)],'actions':null,'textRanges':[_0x1e5f2b]}}],_0x1e7aa3=this['_transformService']['transformMutationsWithChangeset'](_0x87ed40,_0x54b341);if(!_0x299488[_0x5b6f5a(0x3e8)](_0x1e7aa3))throw _0x1e7aa3[_0x5b6f5a(0x26c)];const _0x12d243=_0x1e7aa3['m2Prime'][0x0][_0x5b6f5a(0x169)]['textRanges'];Array['isArray'](_0x12d243)&&_0x12d243['length']&&_0x1a9a3e[_0x5b6f5a(0x144)](_0x12d243[0x0]);}};_0x5044c8=_0x2b2d92([_0xf565c5(0x0,_0x299488[_0x475329(0x387)]),_0xf565c5(0x1,_0x3289d1[_0x475329(0x3cf)])],_0x5044c8);var _0x35e0b1=Object['getOwnPropertyDescriptor'],_0x2d6889=(_0x31051b,_0x5c21a8,_0x5ab5c5,_0x404116)=>{const _0x522685=_0x475329;for(var _0x3a3434=_0x404116>0x1?void 0x0:_0x404116?_0x35e0b1(_0x5c21a8,_0x5ab5c5):_0x5c21a8,_0x590a1d=_0x31051b[_0x522685(0x1b8)]-0x1,_0x12790e;_0x590a1d>=0x0;_0x590a1d--)(_0x12790e=_0x31051b[_0x590a1d])&&(_0x3a3434=_0x12790e(_0x3a3434)||_0x3a3434);return _0x3a3434;},_0x2c892c=(_0x37620e,_0x2cba91)=>(_0x38bc1f,_0x1830f4)=>_0x2cba91(_0x38bc1f,_0x1830f4,_0x37620e);let _0xa98445=class{constructor(_0x4fa56a,_0x5ba3f2,_0x1b95e0){const _0x1450a8=_0x475329;this[_0x1450a8(0x22d)]=_0x4fa56a,this[_0x1450a8(0x1af)]=_0x5ba3f2,this[_0x1450a8(0x2b2)]=_0x1b95e0;}[_0x475329(0x19d)](_0x3ae02a){const _0xf39c0d=_0x475329;this[_0xf39c0d(0x1eb)](_0x3ae02a);}['transformRemoteChangeset'](_0x43f492){const _0x1385bd=_0x475329,{unitID:_0x30551b}=_0x43f492,{collaboration:_0x1436ba}=this[_0x1385bd(0x2b2)]['getStateCache'](_0x30551b);if(_0x1436ba['length']===0x0)return _0x43f492;let _0x24a03f=_0x20124e[_0x1385bd(0x1c0)][_0x1385bd(0x3df)](_0x43f492['mutations'][0x0]);for(let _0x144ea5=0x0;_0x144ea5<_0x1436ba[_0x1385bd(0x1b8)];_0x144ea5++){const _0x4f6140={'id':'doc.mutation.rich-text-editing','params':{'unitId':_0x1436ba[_0x144ea5][_0x1385bd(0x36a)],..._0x1436ba[_0x144ea5][_0x1385bd(0x353)]}},_0x11ebb9=this[_0x1385bd(0x1af)][_0x1385bd(0x217)](_0x24a03f,_0x4f6140,!0x1);if(_0x299488['isTransformMutationFailure'](_0x11ebb9))throw _0x11ebb9[_0x1385bd(0x26c)];_0x24a03f=_0x11ebb9[_0x1385bd(0x255)];}return{..._0x20124e[_0x1385bd(0x1c0)][_0x1385bd(0x3df)](_0x43f492),'mutations':[_0x24a03f]};}[_0x475329(0x1eb)](_0x4a8c0e){const _0x16bae8=_0x475329,{unitID:_0x307341}=_0x4a8c0e,{history:_0x18fac0,collaboration:_0x296687}=this[_0x16bae8(0x2b2)][_0x16bae8(0x26e)](_0x307341);if(_0x18fac0[_0x16bae8(0x1b8)]===0x0&&_0x296687['length']===0x0)return;const _0x54394b=[],_0x2af7d3=[];let _0x1eb456=_0x20124e[_0x16bae8(0x1c0)]['deepClone'](_0x4a8c0e[_0x16bae8(0x18c)][0x0]),_0x5670fd=_0x20124e['Tools'][_0x16bae8(0x3df)](_0x4a8c0e[_0x16bae8(0x18c)][0x0]);for(let _0x474078=_0x18fac0[_0x16bae8(0x1b8)]-0x1;_0x474078>=0x0;_0x474078--){const _0x4ab425={'id':_0x16bae8(0x210),'params':{'unitId':_0x18fac0[_0x474078][_0x16bae8(0x36a)],..._0x18fac0[_0x474078][_0x16bae8(0x219)]}},_0x468d18={'id':_0x16bae8(0x210),'params':{'unitId':_0x18fac0[_0x474078][_0x16bae8(0x36a)],..._0x18fac0[_0x474078][_0x16bae8(0x353)]}},_0x167ac3=this[_0x16bae8(0x1af)]['transformMutation'](_0x1eb456,_0x4ab425,!0x1),_0x437a3c=this[_0x16bae8(0x1af)]['transformMutation'](_0x5670fd,_0x468d18,!0x1);if(_0x299488[_0x16bae8(0x175)](_0x167ac3))throw _0x167ac3[_0x16bae8(0x26c)];if(_0x299488[_0x16bae8(0x175)](_0x437a3c))throw _0x437a3c['error'];_0x54394b[_0x16bae8(0x37d)]({..._0x18fac0[_0x474078],'undoState':_0x167ac3[_0x16bae8(0x313)]['params'],'redoState':_0x437a3c[_0x16bae8(0x313)][_0x16bae8(0x169)]}),_0x1eb456=_0x167ac3['m1Prime'],_0x5670fd=_0x437a3c[_0x16bae8(0x255)];}_0x1eb456=_0x20124e[_0x16bae8(0x1c0)][_0x16bae8(0x3df)](_0x4a8c0e[_0x16bae8(0x18c)][0x0]),_0x5670fd=_0x20124e[_0x16bae8(0x1c0)][_0x16bae8(0x3df)](_0x4a8c0e[_0x16bae8(0x18c)][0x0]);for(let _0x4a2125=_0x296687[_0x16bae8(0x1b8)]-0x1;_0x4a2125>=0x0;_0x4a2125--){const _0x3affe7={'id':_0x16bae8(0x210),'params':{'unitId':_0x296687[_0x4a2125][_0x16bae8(0x36a)],..._0x296687[_0x4a2125][_0x16bae8(0x219)]}},_0x4dfd63={'id':_0x16bae8(0x210),'params':{'unitId':_0x296687[_0x4a2125][_0x16bae8(0x36a)],..._0x296687[_0x4a2125][_0x16bae8(0x353)]}},_0x21a786=this[_0x16bae8(0x1af)]['transformMutation'](_0x1eb456,_0x3affe7,!0x1),_0x2566b3=this[_0x16bae8(0x1af)][_0x16bae8(0x217)](_0x5670fd,_0x4dfd63,!0x1);if(_0x299488['isTransformMutationFailure'](_0x21a786))throw _0x21a786[_0x16bae8(0x26c)];if(_0x299488['isTransformMutationFailure'](_0x2566b3))throw _0x2566b3[_0x16bae8(0x26c)];_0x2af7d3['unshift']({..._0x296687[_0x4a2125],'undoState':_0x21a786[_0x16bae8(0x313)][_0x16bae8(0x169)],'redoState':_0x2566b3['m2Prime']['params']}),_0x1eb456=_0x21a786[_0x16bae8(0x255)],_0x5670fd=_0x2566b3[_0x16bae8(0x255)];}this[_0x16bae8(0x2b2)][_0x16bae8(0x372)](_0x307341,{'history':_0x54394b,'collaboration':_0x2af7d3});}};_0xa98445=_0x2d6889([_0x2c892c(0x0,_0x20124e[_0x475329(0x31f)](_0x20124e[_0x475329(0x1b9)])),_0x2c892c(0x1,_0x299488['ITransformService']),_0x2c892c(0x2,_0x20124e[_0x475329(0x31f)](_0x1549a6[_0x475329(0x14e)]))],_0xa98445);var _0x81cf7c=Object[_0x475329(0x3cb)],_0x4a0dac=(_0x3eb4ef,_0xf97dc8,_0x283f65,_0x17c7bc)=>{const _0x45d3fc=_0x475329;for(var _0x4fa030=_0x17c7bc>0x1?void 0x0:_0x17c7bc?_0x81cf7c(_0xf97dc8,_0x283f65):_0xf97dc8,_0x80c61e=_0x3eb4ef[_0x45d3fc(0x1b8)]-0x1,_0x3c2b02;_0x80c61e>=0x0;_0x80c61e--)(_0x3c2b02=_0x3eb4ef[_0x80c61e])&&(_0x4fa030=_0x3c2b02(_0x4fa030)||_0x4fa030);return _0x4fa030;},_0x20e3ea=(_0x250da2,_0xae3fd1)=>(_0x146e7f,_0x3a2c39)=>_0xae3fd1(_0x146e7f,_0x3a2c39,_0x250da2);let _0x4f7d2e=class{constructor(_0x360d63,_0x2b2754){const _0x45438b=_0x475329;this[_0x45438b(0x22d)]=_0x360d63,this[_0x45438b(0x1af)]=_0x2b2754;}[_0x475329(0x1e5)](_0x214b8c){const _0x5219ea=_0x475329;var _0x3421fd;const _0x25adb8=this[_0x5219ea(0x22d)][_0x5219ea(0x37e)](_0x3e301b[_0x5219ea(0x149)]),_0x27e85e=(_0x3421fd=_0x25adb8[_0x5219ea(0x3d9)]())!=null?_0x3421fd:[];if(_0x27e85e['length']===0x0)return;const _0x16c07c=_0x214b8c[_0x5219ea(0x34a)],_0x300fd0=[{'id':_0x5219ea(0x210),'params':{'unitId':_0x16c07c,'actions':null,'textRanges':_0x27e85e}}],_0x303ec6=this[_0x5219ea(0x1af)][_0x5219ea(0x35f)](_0x214b8c,_0x300fd0);if(!_0x299488[_0x5219ea(0x3e8)](_0x303ec6))throw _0x303ec6[_0x5219ea(0x26c)];const _0x1c954a=_0x303ec6[_0x5219ea(0x313)][0x0][_0x5219ea(0x169)][_0x5219ea(0x1d2)];Array[_0x5219ea(0x18d)](_0x1c954a)&&_0x1c954a[_0x5219ea(0x1b8)]&&_0x25adb8[_0x5219ea(0x1ae)](_0x1c954a,{'unitId':_0x16c07c,'subUnitId':_0x16c07c},!0x1);}};_0x4f7d2e=_0x4a0dac([_0x20e3ea(0x0,_0x20124e[_0x475329(0x31f)](_0x20124e[_0x475329(0x1b9)])),_0x20e3ea(0x1,_0x299488['ITransformService'])],_0x4f7d2e);var _0x2e117c=Object[_0x475329(0x3cb)],_0x18b4f2=(_0x9f176b,_0x170f3e,_0x43e689,_0x514ec9)=>{for(var _0x5e6a59=_0x514ec9>0x1?void 0x0:_0x514ec9?_0x2e117c(_0x170f3e,_0x43e689):_0x170f3e,_0x3d977d=_0x9f176b['length']-0x1,_0x251e0f;_0x3d977d>=0x0;_0x3d977d--)(_0x251e0f=_0x9f176b[_0x3d977d])&&(_0x5e6a59=_0x251e0f(_0x5e6a59)||_0x5e6a59);return _0x5e6a59;},_0x21dd1b=(_0x3f3801,_0x30232b)=>(_0x12aaec,_0x4708af)=>_0x30232b(_0x12aaec,_0x4708af,_0x3f3801);let _0x3a9217=class extends _0x20124e[_0x475329(0x385)]{constructor(_0x149298,_0x3ca629,_0x268296,_0x1be8c2,_0x1658ed,_0x3687f8,_0x4eec44,_0xa98be6){const _0x51b684=_0x475329;super(),_0x198abe(this,_0x51b684(0x1f1),new _0x30408e[(_0x51b684(0x36e))](_0x5375bb[_0x51b684(0x2e1)]['NOT_COLLAB'])),(this[_0x51b684(0x2b2)]=_0x149298,this['_collaborationController']=_0x3ca629,this[_0x51b684(0x18e)]=_0x268296,this[_0x51b684(0x16d)]=_0x1be8c2,this['_docTransformSelectionsService']=_0x1658ed,this[_0x51b684(0x2f9)]=_0x3687f8,this[_0x51b684(0x1fa)]=_0x4eec44,this[_0x51b684(0x1f8)]=_0xa98be6,this['_initEntityListener']());}['_initEntityListener'](){const _0x54b310=_0x475329;this[_0x54b310(0x13a)](this['_collaborationController']['entityInit$'][_0x54b310(0x34c)](_0x57fb25=>{const _0xa60480=_0x54b310,_0x405b0f=this[_0xa60480(0x2b2)][_0xa60480(0x200)]['subscribe'](_0x226659=>{const _0x3605e9=_0xa60480;if(_0x226659==null)return;const {unitId:_0x3720f9,redoState:_0x36d36b,commandId:_0x366d8a}=_0x226659;if(_0x3720f9!==_0x57fb25[_0x3605e9(0x34a)])return;const _0x3733c7={'id':_0x366d8a,'type':_0x20124e[_0x3605e9(0x159)][_0x3605e9(0x3c5)],'params':{'unitId':_0x3720f9,'actions':_0x36d36b['actions'],'textRanges':null}};_0x57fb25[_0x3605e9(0x3cd)](_0x3733c7);});if(_0x57fb25[_0xa60480(0x13a)](_0x405b0f),_0x57fb25 instanceof _0x5375bb['DocCollaborationEntity']){const _0x49f768={'onTransformIME':_0x57cb1b=>this['_docTransformIMECacheService']['transformIMECache'](_0x57cb1b),'onTransformState':_0x2a0209=>this[_0xa60480(0x16d)][_0xa60480(0x19d)](_0x2a0209),'onTransformSelections':_0x22314e=>this[_0xa60480(0x39c)][_0xa60480(0x1e5)](_0x22314e),'onSyncEditingCollabCursor':_0x2b932c=>this[_0xa60480(0x2f9)][_0xa60480(0x257)](_0x2b932c),'onTransformRemoteChangesetByIMECache':_0x1ece7a=>this[_0xa60480(0x18e)]['transformRemoteChangeset'](_0x1ece7a),'onTransformRemoteChangesetByStateCache':_0x112c25=>this[_0xa60480(0x16d)][_0xa60480(0x212)](_0x112c25)};_0x57fb25[_0xa60480(0x14d)](_0x49f768);}}));}};_0x3a9217=_0x18b4f2([_0x21dd1b(0x0,_0x20124e['Inject'](_0x1549a6[_0x475329(0x14e)])),_0x21dd1b(0x1,_0x20124e['Inject'](_0x5375bb[_0x475329(0x2fc)])),_0x21dd1b(0x2,_0x20124e[_0x475329(0x31f)](_0x5044c8)),_0x21dd1b(0x3,_0x20124e[_0x475329(0x31f)](_0xa98445)),_0x21dd1b(0x4,_0x20124e[_0x475329(0x31f)](_0x4f7d2e)),_0x21dd1b(0x5,_0x20124e[_0x475329(0x31f)](_0x206e4e)),_0x21dd1b(0x6,_0x3f164e[_0x475329(0x1d3)]),_0x21dd1b(0x7,_0x20124e[_0x475329(0x31f)](_0x20124e[_0x475329(0x34b)]))],_0x3a9217);var _0x2a9641=Object[_0x475329(0x3cb)],_0x5bfa1e=(_0x21d56b,_0x115fab,_0xf9a3a0,_0x213e42)=>{const _0x249c3c=_0x475329;for(var _0x42162f=_0x213e42>0x1?void 0x0:_0x213e42?_0x2a9641(_0x115fab,_0xf9a3a0):_0x115fab,_0x16efe6=_0x21d56b[_0x249c3c(0x1b8)]-0x1,_0x5052e1;_0x16efe6>=0x0;_0x16efe6--)(_0x5052e1=_0x21d56b[_0x16efe6])&&(_0x42162f=_0x5052e1(_0x42162f)||_0x42162f);return _0x42162f;},_0x81a205=(_0xe35c25,_0x2c16be)=>(_0xb3ba62,_0x4aaa40)=>_0x2c16be(_0xb3ba62,_0x4aaa40,_0xe35c25);let _0xd41dfd=class extends _0x20124e[_0x475329(0x385)]{constructor(_0x7497bd,_0x19d00b,_0x2cd79d){const _0x703d3c=_0x475329;super(),_0x198abe(this,_0x703d3c(0x21f),new Map()),_0x198abe(this,'_saveTaskMap',new Map()),_0x198abe(this,_0x703d3c(0x156),!0x1),(this[_0x703d3c(0x33e)]=_0x7497bd,this['_localStorageService']=_0x19d00b,this[_0x703d3c(0x2a8)]=_0x2cd79d);}[_0x475329(0x2a6)](){const _0x10897e=_0x475329;this[_0x10897e(0x156)]=!0x0;}[_0x475329(0x2c8)](){this['_disabled']=!0x1;}get[_0x475329(0x299)](){return this['_saveTaskMap'];}['dispose'](){const _0x2835b5=_0x475329;this[_0x2835b5(0x25b)]()[_0x2835b5(0x311)](()=>super[_0x2835b5(0x258)]());}async[_0x475329(0x220)](_0x5080b3){const _0x3f9d42=_0x475329;return this[_0x3f9d42(0x156)]?null:this[_0x3f9d42(0x2b6)]['getItem'](_0x5375bb[_0x3f9d42(0x2c1)](_0x5080b3));}async['saveOfflineData'](_0x3db13f,_0x36407c){const _0x488c0f=_0x475329;return!!this[_0x488c0f(0x2b6)][_0x488c0f(0x23a)](_0x3db13f,_0x36407c);}[_0x475329(0x2e5)](_0x2df861,_0x5b0ae9,_0x41fc8b,_0x5cdcea){const _0x3b726b=_0x475329,_0x25f0a3=this[_0x3b726b(0x2a8)][_0x3b726b(0x2ad)](_0x2df861);this[_0x3b726b(0x21f)][_0x3b726b(0x32f)](_0x2df861,{'unitID':_0x2df861,'type':_0x5b0ae9,'awaitingChangeset':_0x41fc8b,'mutations':_0x5cdcea,'rev':_0x25f0a3}),this[_0x3b726b(0x264)][_0x3b726b(0x1b1)](_0x2df861)||this['_scheduleSaving'](_0x2df861);}[_0x475329(0x16c)](_0x55571d){const _0xb117f0=_0x475329,_0x594543=this[_0xb117f0(0x345)]();_0x594543===0x0?this[_0xb117f0(0x27a)](_0x55571d):this[_0xb117f0(0x264)][_0xb117f0(0x32f)](_0x55571d,setTimeout(()=>this[_0xb117f0(0x27a)](_0x55571d),_0x594543));}['_getSaveTimeout'](){const _0x12a89f=_0x475329;var _0x3ac4a5;return(_0x3ac4a5=this[_0x12a89f(0x33e)][_0x12a89f(0x281)](_0x5375bb[_0x12a89f(0x2ff)]))!=null?_0x3ac4a5:_0x5375bb[_0x12a89f(0x282)];}[_0x475329(0x27a)](_0xffd61a){const _0x500f50=_0x475329,_0x4c0b3a=this[_0x500f50(0x264)][_0x500f50(0x37e)](_0xffd61a);return _0x4c0b3a!==void 0x0&&window['clearTimeout'](_0x4c0b3a),this[_0x500f50(0x2b6)][_0x500f50(0x23a)](_0x5375bb[_0x500f50(0x2c1)](_0xffd61a),this[_0x500f50(0x21f)][_0x500f50(0x37e)](_0xffd61a))[_0x500f50(0x311)](()=>this[_0x500f50(0x264)][_0x500f50(0x3ab)](_0xffd61a));}async[_0x475329(0x25b)](){const _0x420021=_0x475329,_0xeb1813=[];this[_0x420021(0x264)][_0x420021(0x303)]((_0x599b1f,_0x5a28cf)=>{const _0x409680=_0x420021;window[_0x409680(0x339)](_0x599b1f),_0xeb1813['push'](this[_0x409680(0x27a)](_0x5a28cf)[_0x409680(0x311)](()=>{const _0x34ff6c=_0x409680;this[_0x34ff6c(0x264)][_0x34ff6c(0x3ab)](_0x5a28cf);}));}),await Promise[_0x420021(0x363)](_0xeb1813);}};_0xd41dfd=_0x5bfa1e([_0x81a205(0x0,_0x20124e['IConfigService']),_0x81a205(0x1,_0x20124e[_0x475329(0x153)]),_0x81a205(0x2,_0x20124e[_0x475329(0x31f)](_0x299488[_0x475329(0x38d)]))],_0xd41dfd);class _0x2c928c extends _0x20124e[_0x475329(0x312)]{constructor(){const _0x51aaa8=_0x475329;super(),_0x198abe(this,_0x51aaa8(0x2b1)),this[_0x51aaa8(0x2b1)]=_0x30408e[_0x51aaa8(0x399)](window,_0x51aaa8(0x2fb))[_0x51aaa8(0x189)](_0x30408e['takeUntil'](this[_0x51aaa8(0x1a1)]),_0x30408e[_0x51aaa8(0x396)](0x1),_0x30408e[_0x51aaa8(0x25e)](void 0x0));}[_0x475329(0x3c7)](_0x1db427,_0x593d96,_0x38f900=!0x1){const _0x1081b4=_0x475329,_0x2b2e37=new URL(window[_0x1081b4(0x357)][_0x1081b4(0x165)]);_0x2b2e37[_0x1081b4(0x1ee)]['set'](_0x1db427,_0x593d96),_0x38f900?window[_0x1081b4(0x3b5)][_0x1081b4(0x1ca)]('','',_0x2b2e37[_0x1081b4(0x3a8)]()):window[_0x1081b4(0x3b5)][_0x1081b4(0x167)]('','',_0x2b2e37[_0x1081b4(0x3a8)]());}[_0x475329(0x3e4)](_0x178551,_0x173d9e=!0x1){const _0xa93831=_0x475329,_0x139b73=new URL(window['location'][_0xa93831(0x165)]);_0x139b73[_0xa93831(0x1ee)]['delete'](_0x178551),_0x173d9e?window[_0xa93831(0x3b5)][_0xa93831(0x1ca)]('','',_0x139b73[_0xa93831(0x3a8)]()):window[_0xa93831(0x3b5)][_0xa93831(0x167)]('','',_0x139b73['toString']());}['getParam'](_0x3a287f){const _0x450a8d=_0x475329;var _0x7f8ad7;return(_0x7f8ad7=new URL(window[_0x450a8d(0x357)]['href'])[_0x450a8d(0x1ee)][_0x450a8d(0x37e)](_0x3a287f))!=null?_0x7f8ad7:void 0x0;}}var _0xe22073=Object['defineProperty'],_0x1dae72=Object[_0x475329(0x3cb)],_0x4b6432=(_0x1723b7,_0x2f6b79,_0x2380bc)=>_0x2f6b79 in _0x1723b7?_0xe22073(_0x1723b7,_0x2f6b79,{'enumerable':!0x0,'configurable':!0x0,'writable':!0x0,'value':_0x2380bc}):_0x1723b7[_0x2f6b79]=_0x2380bc,_0x27d0f4=(_0x306cee,_0x580e80,_0x143f06,_0x24c677)=>{const _0x32fc30=_0x475329;for(var _0x31dd84=_0x24c677>0x1?void 0x0:_0x24c677?_0x1dae72(_0x580e80,_0x143f06):_0x580e80,_0x3d59cd=_0x306cee[_0x32fc30(0x1b8)]-0x1,_0x4b2b32;_0x3d59cd>=0x0;_0x3d59cd--)(_0x4b2b32=_0x306cee[_0x3d59cd])&&(_0x31dd84=_0x4b2b32(_0x31dd84)||_0x31dd84);return _0x31dd84;},_0x376faa=(_0x184dc4,_0x555b99)=>(_0x4aeeb3,_0x8c977b)=>_0x555b99(_0x4aeeb3,_0x8c977b,_0x184dc4),_0xd5772=(_0x387c50,_0x3c1d57,_0x494a58)=>_0x4b6432(_0x387c50,_0x3c1d57+'',_0x494a58);const _0x553546=_0x475329(0x1d1);_0x5cd700[_0x475329(0x2a1)]=class extends _0x20124e[_0x475329(0x3e5)]{constructor(_0x263de6=_0x567f17,_0x2018c0,_0x4a5798,_0x1c807e){const _0x51a867=_0x475329;super(),this[_0x51a867(0x228)]=_0x263de6,this['_renderManagerService']=_0x2018c0,this[_0x51a867(0x22d)]=_0x4a5798,this['_configService']=_0x1c807e;const {..._0x4751bf}=_0x20124e[_0x51a867(0x3a2)]({},_0x567f17,this[_0x51a867(0x228)]);this[_0x51a867(0x33e)][_0x51a867(0x3e0)](_0x3ffd5a,_0x4751bf);}[_0x475329(0x14c)](){const _0x3b63ef=_0x475329;this[_0x3b63ef(0x215)](),this[_0x3b63ef(0x30d)]();}[_0x475329(0x222)](){const _0x4ec4aa=_0x475329;this[_0x4ec4aa(0x1a4)]();}['_registerDependencies'](){const _0x385c0f=_0x475329;var _0x405518;const _0x3ee6dd=[[_0x108c77],[_0x4f7d2e],[_0x5044c8],[_0xa98445],[_0x206e4e],[_0x5b2318,{'useClass':_0x2c928c}],[_0x3b53e8['ISocketService'],{'useClass':_0x3b53e8[_0x385c0f(0x1e8)]}],[_0x5375bb[_0x385c0f(0x3bb)],{'useClass':_0xd41dfd}],[_0x5cd700[_0x385c0f(0x287)]],[_0x3a9217],[_0x528a10],[_0x165564],[_0x118ef9],[_0x5cd700[_0x385c0f(0x158)]]];_0x20124e[_0x385c0f(0x20b)](this[_0x385c0f(0x22d)],_0x20124e[_0x385c0f(0x284)](_0x3ee6dd,(_0x405518=this[_0x385c0f(0x228)])==null?void 0x0:_0x405518[_0x385c0f(0x2f3)]));}['_registerRenderDependencies'](){const _0x379c3c=_0x475329;this[_0x379c3c(0x13a)](this[_0x379c3c(0x1c6)][_0x379c3c(0x236)](_0x20124e[_0x379c3c(0x1da)]['UNIVER_DOC'],[_0x4bec33])),this[_0x379c3c(0x13a)](this[_0x379c3c(0x1c6)][_0x379c3c(0x236)](_0x20124e[_0x379c3c(0x1da)][_0x379c3c(0x3aa)],[_0x43c08b]));}[_0x475329(0x30d)](){const _0x357b0b=_0x475329;_0x20124e['touchDependencies'](this[_0x357b0b(0x22d)],[[_0x165564],[_0x5cd700['DesktopCollaborationStatusDisplayController']],[_0x3a9217],[_0x528a10],[_0x5cd700[_0x357b0b(0x158)]]]);}},_0xd5772(_0x5cd700['UniverCollaborationClientUIPlugin'],_0x475329(0x360),_0x553546),_0x5cd700['UniverCollaborationClientUIPlugin']=_0x27d0f4([_0x20124e[_0x475329(0x3c9)](_0x5375bb['UniverCollaborationClientPlugin']),_0x376faa(0x1,_0x3289d1['IRenderManagerService']),_0x376faa(0x2,_0x20124e[_0x475329(0x31f)](_0x20124e[_0x475329(0x1b9)])),_0x376faa(0x3,_0x20124e['IConfigService'])],_0x5cd700['UniverCollaborationClientUIPlugin']);var _0x1cc961=Object[_0x475329(0x3cb)],_0x294dbf=(_0x55a0f1,_0x2d8e00,_0x291f8e,_0x186158)=>{const _0x13b961=_0x475329;for(var _0x3f90a9=_0x186158>0x1?void 0x0:_0x186158?_0x1cc961(_0x2d8e00,_0x291f8e):_0x2d8e00,_0x208c07=_0x55a0f1[_0x13b961(0x1b8)]-0x1,_0x503d17;_0x208c07>=0x0;_0x208c07--)(_0x503d17=_0x55a0f1[_0x208c07])&&(_0x3f90a9=_0x503d17(_0x3f90a9)||_0x3f90a9);return _0x3f90a9;},_0x4393f0=(_0x152850,_0x45ffc8)=>(_0x70ab5a,_0x1eb947)=>_0x45ffc8(_0x70ab5a,_0x1eb947,_0x152850);_0x5cd700[_0x475329(0x270)]=class extends _0x5375bb[_0x475329(0x1b3)]{constructor(_0x3fe5bb,_0x15ab62,_0x265e61,_0x4c9e94,_0x155777){super(_0x3fe5bb,_0x15ab62,_0x265e61,_0x4c9e94,_0x155777);}async['createSocket'](_0x14df6a){const _0x1859f8=_0x475329,_0x5664d3=await this[_0x1859f8(0x1fe)](),_0x2a7255=this[_0x1859f8(0x19c)](_0x14df6a,_0x5664d3);return this[_0x1859f8(0x172)](_0x2a7255);}[_0x475329(0x19c)](_0x100733,_0x8c0252){const _0x4e2844=_0x475329,_0x5f5294=typeof window>'u'?new URL(_0x100733):new URL(_0x100733,window[_0x4e2844(0x357)][_0x4e2844(0x24d)]);_0x5f5294['searchParams']['set'](_0x4e2844(0x29d),_0x8c0252);const _0x2988bd=typeof window>'u'?new URLSearchParams():new URLSearchParams(window[_0x4e2844(0x357)][_0x4e2844(0x332)]);return _0x2988bd[_0x4e2844(0x37e)](_0x4e2844(0x3b9))&&_0x5f5294[_0x4e2844(0x1ee)][_0x4e2844(0x32f)](_0x4e2844(0x3b9),_0x2988bd[_0x4e2844(0x37e)]('runId')),_0x5f5294[_0x4e2844(0x3a8)]();}async['_getSessionTicket'](){const _0x2aab56=_0x475329;var _0x42acea,_0x4b6dee,_0x410199;const _0x514af6=this[_0x2aab56(0x33e)]['getConfig'](_0x5375bb[_0x2aab56(0x1d6)]),_0x2fa6bb=(_0x42acea=_0x514af6==null?void 0x0:_0x514af6[_0x2aab56(0x206)])!=null?_0x42acea:_0x5375bb[_0x2aab56(0x2df)];return(_0x410199=(_0x4b6dee=(await this[_0x2aab56(0x1c1)][_0x2aab56(0x37e)](_0x2fa6bb,{'headers':{'Content-Type':_0x2aab56(0x289)}}))[_0x2aab56(0x205)])==null?void 0x0:_0x4b6dee[_0x2aab56(0x386)])!=null?_0x410199:'';}},_0x5cd700[_0x475329(0x270)]=_0x294dbf([_0x4393f0(0x0,_0x20124e[_0x475329(0x31f)](_0x20124e['Injector'])),_0x4393f0(0x1,_0x20124e['Inject'](_0x3b53e8['HTTPService'])),_0x4393f0(0x2,_0x20124e['IConfigService']),_0x4393f0(0x3,_0x20124e['ILogService']),_0x4393f0(0x4,_0x299488[_0x475329(0x157)])],_0x5cd700[_0x475329(0x270)]);var _0x551049=(_0x316345=>(_0x316345[_0x316345[_0x475329(0x30a)]=0x0]=_0x475329(0x30a),_0x316345[_0x316345['OK']=0x1]='OK',_0x316345[_0x316345[_0x475329(0x2e0)]=0x2]=_0x475329(0x2e0),_0x316345[_0x316345[_0x475329(0x325)]=0x3]=_0x475329(0x325),_0x316345[_0x316345[_0x475329(0x2e7)]=0x4]=_0x475329(0x2e7),_0x316345[_0x316345['UNAUTHENTICATED']=0x5]='UNAUTHENTICATED',_0x316345[_0x316345[_0x475329(0x343)]=0x6]=_0x475329(0x343),_0x316345[_0x316345[_0x475329(0x247)]=0x7]=_0x475329(0x247),_0x316345[_0x316345[_0x475329(0x373)]=0x8]=_0x475329(0x373),_0x316345[_0x316345[_0x475329(0x181)]=0x9]=_0x475329(0x181),_0x316345[_0x316345['LOGIN_FAILED']=0xa]=_0x475329(0x35b),_0x316345[_0x316345[_0x475329(0x1df)]=0xb]='MOBILE_VERIFY_CODE_MISMATCH',_0x316345[_0x316345[_0x475329(0x21b)]=0xc]=_0x475329(0x21b),_0x316345[_0x316345[_0x475329(0x2e6)]=0xd]='EMAIL_VERIFY_CODE_MISMATCH',_0x316345[_0x316345[_0x475329(0x1d8)]=0xe]=_0x475329(0x1d8),_0x316345[_0x316345['AUTHORIZE_CODE_ILLEGAL']=0xf]=_0x475329(0x3dd),_0x316345[_0x316345[_0x475329(0x27f)]=0x10]=_0x475329(0x27f),_0x316345[_0x316345[_0x475329(0x3ae)]=0x64]='CURRENT_STATUS_CANNOT_OPERATE',_0x316345[_0x316345[_0x475329(0x31e)]=0x65]=_0x475329(0x31e),_0x316345[_0x316345[_0x475329(0x238)]=0xc9]=_0x475329(0x238),_0x316345[_0x316345['USER_IS_ANONYMOUS']=0xca]=_0x475329(0x3a7),_0x316345[_0x316345['CHANGESET_REVISION_CONFILICT']=0x1389]=_0x475329(0x201),_0x316345[_0x316345[_0x475329(0x1f2)]=0x1771]='SNAPSHOT_INVALID_SNAPSHOT',_0x316345[_0x316345[_0x475329(0x24b)]=0x1772]=_0x475329(0x24b),_0x316345[_0x316345[_0x475329(0x330)]=0x1773]=_0x475329(0x330),_0x316345[_0x316345[_0x475329(0x3b6)]=0x1b59]=_0x475329(0x3b6),_0x316345[_0x316345[_0x475329(0x16e)]=0x1b5a]='APPLY_NON_SEQUENTIAL_REVISION',_0x316345[_0x316345[_0x475329(0x35a)]=0x1b5b]='APPLY_REVISION_CONFILICT',_0x316345[_0x316345[_0x475329(0x231)]=0x1b5c]=_0x475329(0x231),_0x316345[_0x316345[_0x475329(0x233)]=0x1b5d]='APPLY_DUPLICATED',_0x316345[_0x316345[_0x475329(0x34f)]=0x1f41]=_0x475329(0x34f),_0x316345[_0x316345[_0x475329(0x29a)]=0x2329]='LICENSE_MAX_UNITS_EXCEEDED',_0x316345[_0x316345['LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED']=0x232a]=_0x475329(0x3e1),_0x316345[_0x316345[_0x475329(0x2db)]=0x232b]=_0x475329(0x2db),_0x316345[_0x316345[_0x475329(0x1ff)]=0x232c]=_0x475329(0x1ff),_0x316345[_0x316345[_0x475329(0x2b5)]=0x232d]=_0x475329(0x2b5),_0x316345[_0x316345[_0x475329(0x1a8)]=0x2711]=_0x475329(0x1a8),_0x316345[_0x316345['YUUMI_URL_COL_OUT_OF_RANGE']=0x2712]='YUUMI_URL_COL_OUT_OF_RANGE',_0x316345[_0x316345[_0x475329(0x2ef)]=0x2713]=_0x475329(0x2ef),_0x316345[_0x316345[_0x475329(0x226)]=0x2714]=_0x475329(0x226),_0x316345[_0x316345[_0x475329(0x151)]=0x271a]=_0x475329(0x151),_0x316345[_0x316345[_0x475329(0x28a)]=0x271b]=_0x475329(0x28a),_0x316345[_0x316345['YUUMI_TABLE_NOT_FOUND_IN_UNIT']=0x271c]=_0x475329(0x37a),_0x316345[_0x316345['YUUMI_ALL_TABLES_IS_INVALID']=0x271d]=_0x475329(0x160),_0x316345[_0x316345[_0x475329(0x23e)]=0x271e]=_0x475329(0x23e),_0x316345[_0x316345[_0x475329(0x3b3)]=0x271f]=_0x475329(0x3b3),_0x316345[_0x316345[_0x475329(0x1be)]=0x2720]='YUUMI_CONNECTOR_URL_NOT_FOUND',_0x316345[_0x316345[_0x475329(0x33a)]=0x2af9]=_0x475329(0x33a),_0x316345[_0x316345['INVITE_CODE_HAS_BEEN_UES']=0x2ee1]=_0x475329(0x1e2),_0x316345[_0x316345['INVALID_INVITE_CODE']=0x2ee2]='INVALID_INVITE_CODE',_0x316345[_0x316345['INVITE_CODE_REQUIRED']=0x2ee3]=_0x475329(0x349),_0x316345[_0x316345[_0x475329(0x1ab)]=0x2ee4]=_0x475329(0x1ab),_0x316345[_0x316345['INVITE_CODE_ALREADY_BOUND']=0x2ee5]=_0x475329(0x1ea),_0x316345[_0x316345['WECHAT_HAS_BEEN_BOUND']=0x32c9]=_0x475329(0x235),_0x316345[_0x316345[_0x475329(0x227)]=0x32ca]=_0x475329(0x227),_0x316345[_0x316345['EMAIL_HAS_BEEN_BOUND']=0x32cb]='EMAIL_HAS_BEEN_BOUND',_0x316345[_0x316345[_0x475329(0x13b)]=0x36b1]=_0x475329(0x13b),_0x316345[_0x316345[_0x475329(0x2f6)]=0x36b2]=_0x475329(0x2f6),_0x316345[_0x316345[_0x475329(0x3bf)]=0x36b3]=_0x475329(0x3bf),_0x316345[_0x316345[_0x475329(0x2d1)]=0x36b4]='PAYMENT_CHANNEL_NOT_SUPPORT',_0x316345[_0x316345[_0x475329(0x314)]=0x3715]=_0x475329(0x314),_0x316345[_0x316345[_0x475329(0x162)]=0x3716]='ENTITLE_REPORT_LIMIT_EXCEED',_0x316345[_0x316345['ENTITLE_NEED_BILLING_ADDRESS']=0x37dd]='ENTITLE_NEED_BILLING_ADDRESS',_0x316345[_0x316345[_0x475329(0x2cf)]=0x3a99]='REDEMPTION_INVALID_CODE',_0x316345[_0x316345[_0x475329(0x23f)]=0x3a9a]=_0x475329(0x23f),_0x316345[_0x316345[_0x475329(0x1a2)]=0x3a9b]='REDEMPTION_CODE_FULLY_REDEEMED',_0x316345[_0x316345[_0x475329(0x146)]=0x3a9c]=_0x475329(0x146),_0x316345[_0x316345[_0x475329(0x371)]=0x3a9d]=_0x475329(0x371),_0x316345[_0x316345[_0x475329(0x1db)]=0x3a9e]='REDEMPTION_USER_REDEEM_TIMES_EXCEED',_0x316345[_0x316345[_0x475329(0x388)]=0x3a9f]=_0x475329(0x388),_0x316345[_0x316345[_0x475329(0x269)]=-0x1]='UNRECOGNIZED',_0x316345))(_0x551049||{}),_0x5a5448=Object[_0x475329(0x3cb)],_0x56e36e=(_0x16a01f,_0x46e63b,_0x4d266f,_0x59d27a)=>{const _0x23b82e=_0x475329;for(var _0x5a5657=_0x59d27a>0x1?void 0x0:_0x59d27a?_0x5a5448(_0x46e63b,_0x4d266f):_0x46e63b,_0x92aa9d=_0x16a01f[_0x23b82e(0x1b8)]-0x1,_0x1fabc3;_0x92aa9d>=0x0;_0x92aa9d--)(_0x1fabc3=_0x16a01f[_0x92aa9d])&&(_0x5a5657=_0x1fabc3(_0x5a5657)||_0x5a5657);return _0x5a5657;},_0x1efb0e=(_0x4be8ca,_0x544a6e)=>(_0x44a733,_0x2619d1)=>_0x544a6e(_0x44a733,_0x2619d1,_0x4be8ca);_0x5cd700[_0x475329(0x3d5)]=class extends _0x20124e[_0x475329(0x385)]{constructor(_0x45d402,_0x2b2bfe,_0x5c3e2d){const _0x4c197c=_0x475329;super(),this[_0x4c197c(0x14f)]=_0x45d402,this[_0x4c197c(0x1c1)]=_0x2b2bfe,this['_configService']=_0x5c3e2d;}async[_0x475329(0x170)](_0x1e3d3d,_0x1d3e45,_0x67a358,..._0x373538){const _0x5642d2=_0x475329;var _0xbfc05e,_0x57f2cc,_0x171ec2,_0x2e3354;const _0x407a94=this[_0x5642d2(0x14f)][_0x5642d2(0x2f1)]();if(!_0x407a94)throw new Error('[RemoteUniscriptService]:\x20no\x20focused\x20unit');const _0x581756=((_0xbfc05e=this[_0x5642d2(0x33e)]['getConfig'](_0x5375bb[_0x5642d2(0x17f)]))!=null?_0xbfc05e:_0x5375bb[_0x5642d2(0x24c)])+'/'+_0x1e3d3d+_0x5642d2(0x209)+_0x1d3e45,_0x51b5ad=new URL(window[_0x5642d2(0x357)][_0x5642d2(0x165)]),_0x4e39d3={'scriptId':_0x1e3d3d,'runId':(_0x57f2cc=_0x51b5ad[_0x5642d2(0x1ee)][_0x5642d2(0x37e)](_0x5642d2(0x3b9)))!=null?_0x57f2cc:'','function':_0x1d3e45,'unitId':_0x407a94[_0x5642d2(0x2de)](),'argsOfFunction':JSON[_0x5642d2(0x39a)](_0x373538),'invokeId':(_0x171ec2=_0x67a358[_0x5642d2(0x154)])!=null?_0x171ec2:'','executionId':(_0x2e3354=_0x67a358['executionId'])!=null?_0x2e3354:''};try{const _0x430246=await this[_0x5642d2(0x1c1)][_0x5642d2(0x2f7)](_0x581756,{'body':_0x4e39d3});return _0x430246[_0x5642d2(0x205)][_0x5642d2(0x26c)]&&_0x430246[_0x5642d2(0x205)]['error'][_0x5642d2(0x2a9)]!==_0x551049['OK']?_0x5642d2(0x2c6):_0x430246[_0x5642d2(0x205)][_0x5642d2(0x29e)];}catch{return _0x5642d2(0x2c6);}}},_0x5cd700[_0x475329(0x3d5)]=_0x56e36e([_0x1efb0e(0x0,_0x20124e[_0x475329(0x3a5)]),_0x1efb0e(0x1,_0x20124e[_0x475329(0x31f)](_0x3b53e8[_0x475329(0x266)])),_0x1efb0e(0x2,_0x20124e[_0x475329(0x297)])],_0x5cd700[_0x475329(0x3d5)]);const _0x14fdee=0x7530,_0x936265=_0x475329(0x3a6);class _0xae7158 extends _0x20124e[_0x475329(0x385)]{constructor(){const _0x3be4ef=_0x475329;super(),_0x198abe(this,_0x3be4ef(0x35c),_0x20124e[_0x3be4ef(0x1e1)]()),_0x198abe(this,_0x3be4ef(0x3d3),new Set()),_0x198abe(this,'_unitOnClients',new Map()),_0x198abe(this,'_heartbeatTimer',null),_0x198abe(this,'_clearOtherTimers',new Map()),_0x198abe(this,_0x3be4ef(0x2c2),new Map()),this[_0x3be4ef(0x375)]();}[_0x475329(0x258)](){const _0x30484c=_0x475329;super['dispose'](),this[_0x30484c(0x2cc)][_0x30484c(0x303)]((_0x515d79,_0x63675b)=>this[_0x30484c(0x1de)](_0x63675b)),this['_heartbeatTimer']&&window['clearInterval'](this['_heartbeatTimer']);}[_0x475329(0x1c7)](_0x194be8){const _0x2f2687=_0x475329;return this[_0x2f2687(0x3e9)](_0x194be8)['pipe'](_0x30408e['distinctUntilChanged']());}[_0x475329(0x3d8)](_0x37ec8a){const _0x63e787=_0x475329;this[_0x63e787(0x3d3)][_0x63e787(0x33d)]===0x0&&this['_scheduleHeartbeat'](),this[_0x63e787(0x3d3)][_0x63e787(0x2e8)](_0x37ec8a),this[_0x63e787(0x316)]({'type':0x0,'memberID':this['_id'],'unitIDs':[_0x37ec8a],'isForwarded':!0x1});}['disposeUnit'](_0x3a57cf){const _0xef9bd9=_0x475329;this[_0xef9bd9(0x3d3)][_0xef9bd9(0x3ab)](_0x3a57cf),this[_0xef9bd9(0x3d3)]['size']===0x0&&this[_0xef9bd9(0x2d8)]&&window[_0xef9bd9(0x290)](this[_0xef9bd9(0x2d8)]);}[_0x475329(0x375)](){const _0x1d8512=_0x475329;this[_0x1d8512(0x13a)](_0x20124e['toDisposable'](_0x30408e['fromEvent'](window,_0x1d8512(0x13e))[_0x1d8512(0x34c)](_0x1c76a5=>{const _0xf48183=_0x1d8512;if(_0x1c76a5[_0xf48183(0x308)]!==_0x936265||!_0x1c76a5[_0xf48183(0x1b2)])return;const _0xc74bbc=JSON['parse'](_0x1c76a5[_0xf48183(0x1b2)]);this[_0xf48183(0x262)](_0xc74bbc);}))),window[_0x1d8512(0x3d2)](_0x1d8512(0x3d1),()=>this[_0x1d8512(0x316)]({'type':0x1,'memberID':this[_0x1d8512(0x35c)],'unitIDs':Array[_0x1d8512(0x244)](this[_0x1d8512(0x3d3)])}));}['_handleEvent'](_0x266bd4){const _0x449dbc=_0x475329;switch(_0x266bd4[_0x449dbc(0x16a)]){case 0x0:this[_0x449dbc(0x301)](_0x266bd4);break;case 0x1:this[_0x449dbc(0x32c)](_0x266bd4);break;case 0x2:this[_0x449dbc(0x168)](_0x266bd4);break;}}[_0x475329(0x301)](_0x5c7962){const _0x2d41ed=_0x475329,{unitIDs:_0x1ab30a,memberID:_0x159084,isForwarded:_0x4a52d5}=_0x5c7962;_0x1ab30a[_0x2d41ed(0x303)](_0x403228=>{const _0x5d49ea=_0x2d41ed;if(!_0x4a52d5&&this['_unitOnClients'][_0x5d49ea(0x1b1)](_0x403228)&&this[_0x5d49ea(0x3e9)](_0x403228)[_0x5d49ea(0x31d)](_0x5375bb['UnitStatus'][_0x5d49ea(0x3a4)]),!this[_0x5d49ea(0x223)][_0x5d49ea(0x1b1)](_0x403228)||!this['_unitOnClients'][_0x5d49ea(0x37e)](_0x403228)[_0x5d49ea(0x1b1)](_0x159084)){const _0x5bdfa0=this[_0x5d49ea(0x223)][_0x5d49ea(0x37e)](_0x403228)||new Set();_0x5bdfa0[_0x5d49ea(0x2e8)](_0x159084),this['_unitOnClients'][_0x5d49ea(0x32f)](_0x403228,_0x5bdfa0),this[_0x5d49ea(0x21e)](_0x159084);}}),_0x4a52d5||this['_send']({'type':0x0,'memberID':this['_id'],'unitIDs':[...this['_selfUnitIDs']],'isForwarded':!0x0});}[_0x475329(0x21e)](_0x428c27){const _0x5bf4a4=_0x475329;this['_removeClearOtherTimer'](_0x428c27);const _0x2a21c7=window[_0x5bf4a4(0x2b9)](()=>{const _0x4d8fd0=_0x5bf4a4;this['_unitOnClients'][_0x4d8fd0(0x303)](_0x20d67f=>{const _0x57ebe5=_0x4d8fd0;_0x20d67f[_0x57ebe5(0x3ab)](_0x428c27);});},_0x14fdee*0x2);this[_0x5bf4a4(0x2cc)]['set'](_0x428c27,_0x2a21c7);}[_0x475329(0x1de)](_0x47d727){const _0xeb0ade=_0x475329;if(this[_0xeb0ade(0x2cc)][_0xeb0ade(0x1b1)](_0x47d727)){const _0x33d019=this[_0xeb0ade(0x2cc)][_0xeb0ade(0x37e)](_0x47d727);_0x33d019&&window[_0xeb0ade(0x339)](_0x33d019),this[_0xeb0ade(0x2cc)][_0xeb0ade(0x32f)](_0x47d727,null);}}[_0x475329(0x32c)](_0x329030){const _0x954da0=_0x475329,{memberID:_0x531ee1,unitIDs:_0x22d55a}=_0x329030;_0x22d55a[_0x954da0(0x303)](_0x56b0b9=>{const _0x15127e=_0x954da0;var _0x235089;const _0x4163a9=this['_unitOnClients'][_0x15127e(0x37e)](_0x56b0b9);_0x4163a9&&(_0x4163a9[_0x15127e(0x3ab)](_0x531ee1),(_0x235089=this[_0x15127e(0x3e9)](_0x56b0b9))==null||_0x235089[_0x15127e(0x31d)](_0x4163a9['size']===0x0?_0x5375bb[_0x15127e(0x2ce)][_0x15127e(0x305)]:_0x5375bb[_0x15127e(0x2ce)]['OTHER_CLIENTS_EDITING']));}),this[_0x954da0(0x1de)](_0x531ee1);}[_0x475329(0x168)](_0x4767c8){const _0x3abf9a=_0x475329;this[_0x3abf9a(0x21e)](_0x4767c8[_0x3abf9a(0x241)]);}['_send'](_0x33ddf0){const _0x5a02a6=_0x475329;localStorage[_0x5a02a6(0x23a)](_0x936265,JSON[_0x5a02a6(0x39a)](_0x33ddf0));}['_scheduleHeartbeat'](){const _0x41a534=_0x475329;this[_0x41a534(0x2d8)]=window['setInterval'](()=>{const _0x340884=_0x41a534;this['_send']({'type':0x2,'memberID':this[_0x340884(0x35c)]});},_0x14fdee);}['_ensureSubject'](_0x2beef1){const _0xc4ae3a=_0x475329;return this[_0xc4ae3a(0x2c2)][_0xc4ae3a(0x1b1)](_0x2beef1)||this[_0xc4ae3a(0x2c2)][_0xc4ae3a(0x32f)](_0x2beef1,new _0x30408e[(_0xc4ae3a(0x36e))](_0x5375bb[_0xc4ae3a(0x2ce)][_0xc4ae3a(0x305)])),this[_0xc4ae3a(0x2c2)]['get'](_0x2beef1);}}_0x5cd700['IURLService']=_0x5b2318,_0x5cd700['SheetCollabCursorShape']=_0xef8ec8,_0x5cd700[_0x475329(0x3ec)]=_0xae7158,_0x5cd700['WebURLService']=_0x2c928c,Object[_0x475329(0x21c)](_0x5cd700,Symbol[_0x475329(0x195)],{'value':_0x475329(0x25a)});}));function _0x3097(_0x372f5a,_0x49cfe7){const _0x15a785=_0x15a7();return _0x3097=function(_0x3097b4,_0x31757d){_0x3097b4=_0x3097b4-0x138;let _0x5e2348=_0x15a785[_0x3097b4];return _0x5e2348;},_0x3097(_0x372f5a,_0x49cfe7);}function _0x15a7(){const _0x282879=['transform','_clearOtherTimers','UniverCore','UnitStatus','REDEMPTION_INVALID_CODE','switchMap','PAYMENT_CHANNEL_NOT_SUPPORT','isActive','throttleTime','startColumn','_univerInstanceService','UniverProCollaborationClient','prototype','_heartbeatTimer','_anchor','1em','LICENSE_IMPORT_SIZE_EXCEEDED','getColorFromTheme','MemberService','getUnitId','DEFAULT_WS_SESSION_TICKET_URL','INTERNAL_ERROR','CollaborationStatus','data','M0\x200H16V16H0z','_getMergeRange','updateOfflineData','EMAIL_VERIFY_CODE_MISMATCH','NOT_FOUND','add','_collabCursorState$','registerComponent','createElement','_memberService','loadUnit','UniverDesign','YUUMI_RATE_OVER_LIMIT','_initCommandExecutedListener','getFocusedUnit','Unknown\x20user','override','hasOwnProperty','handleInsertRow','ENTITLE_UPDOWN_GRADE_NOT_SUPPORT','post','cursorInfo$','_docSyncEditingCollabCursorService','startsWith','popstate','CollaborationController','lineTo','1638948OYszlE','LOCAL_CACHE_INTERVAL_KEY','collab-client.tooltip.reconnect','_handleJoinEvent','defIds','forEach','width','NO_OTHER_CLIENTS_EDITING','IDocClipboardService','session.collaboration-timeout','key','_getAnchorBounding','UNDEFINED','hide','...','_initDependencies','onPointerEnter$','whenReady','height','then','RxDisposable','m2Prime','ENTITLE_CHAT_LIMIT_EXCEED','5TxaeUY','_send','No\x20unitID\x20or\x20type\x20in\x20URL.\x20Will\x20not\x20load\x20files\x20from\x20remote\x20address.','addClipboardHook','TRANSFORM_CHANGE_OBSERVABLE_TYPE','onPointerLeave$','RegularPolygon','_draw','next','ERROR_AGAIN','Inject','black','DeleteRangeMoveUpCommandId','selections','getTypeOfUnitDisposed$','_onCursorDelete','PERMISSION_DENIED','use','round','getCurrentSelections','svg','connectInjector','extend','_handleLeaveEvent','getActiveSheet','currentTheme$','set','ENSURE_SNAPSHOT_EXECUTION','Vector2','search','FromArray','_imageIoService','922190JvnpyB','random','roomMembers$','_transformPreviousActiveRange','clearTimeout','PY_RUNTIME_SCRIPT_ERROR','getCurrentUnitForType','findNodePositionByCharIndex','size','_configService','makeDirty','InsertRowCommandId','subscribeEvent','_assignedColors','ALREADY_EXISTS','_initResize','_getSaveTimeout','_entityInit$','UniverProCollaboration','roomMembers','INVITE_CODE_REQUIRED','unitID','LocaleService','subscribe','NodePositionConvertToCursor','permission.title','CONNECTOR_DATA_TOO_LARGE','fill','collabStatus.synced','registerRefRange','redoState','getMember','handleMoveRange','_cursor','location','DocIMEInputManagerService','session.will-retry','APPLY_REVISION_CONFILICT','LOGIN_FAILED','_id','className','on-line-icon','transformMutationsWithChangeset','pluginName','runRefRangeMutations','getSheetBySheetId','all','clipPath','call','debug','55ohEEqc','mask','serializeRangeWithSheet','unitId','getOwnPropertySymbols','children','RemoveColCommandId','BehaviorSubject','SetWorksheetActivateCommand','getActiveRange','REDEMPTION_USER_NOT_ELIGIBLE','setStateCache','TOO_MANY_REQUESTS','subunit','_init','React','_localCacheService','collabStatus.notCollab','url(#off-line-icon_clip0_910_343)','YUUMI_TABLE_NOT_FOUND_IN_UNIT','MoveRangeCommandId','_toggleOnline','unshift','get','_updateURLWithCurrentState','setShapeProps','0\x200\x2017\x2016','getRenderById','_hideTimer','UPDATE_CURSOR','Disposable','ticket','ITransformService','REDEMPTION_CODE_HAS_BEEN_CREATED','object','_getScale','SessionStatus','_toggleOffline','RevisionService','collab-text-range-','CollaborationSessionService','apply','@univerjs/core','Error','SUBMIT_CHANGESET_TIMEOUT','SHEET_VIEWPORT_KEY','string','shareReplay','name','getSheetId','fromEvent','stringify','push','_docTransformSelectionsService','OffLineIcon','react','RemoveRowCommandId','559296GktQpZ','createIdentifier','merge','with','OTHER_CLIENTS_EDITING','IUniverInstanceService','ACTIVE_UNIT_EVENT_CHANNEL','USER_IS_ANONYMOUS','toString','IRemoteInstanceService','UNIVER_SHEET','delete','UNIVER_DOC','_entities','CURRENT_STATUS_CANNOT_OPERATE','addObject','_collaborationUIEventService','getRangePointData','_scene','YUUMI_AI_RUN_FAILED','currentColor','history','APPLY_REJECT','blue.400','_render','runId','sheetId','ILocalCacheService','createInstance','getUndoRedoMutationParamsCache','NodePositionConvertToRectRange','ENTITLE_DUP_SUBSCRIPTION','off-line-icon','INotificationService','_colorIndex','NOT_COLLAB','_name','MUTATION','0\x200\x2016\x2016','setParam','isEditing','DependentOn','univerjs-icon\x20univerjs-icon-','getOwnPropertyDescriptor','_session','onLocalMutation','_roomMembers$','IRenderManagerService','OTHER_CLIENT_EDITING','unload','addEventListener','_selfUnitIDs','_getSheetObject','RemoteUniscriptService','collabStatus.offline','sheetID','editingUnit','getDocRanges','requireSession','_docSkeleton','evenodd','AUTHORIZE_CODE_ILLEGAL','path','deepClone','setConfig','LICENSE_MAX_MEMBERS_PER_UNIT_EXCEEDED','DOC_RANGE_TYPE','ICommandService','removeParam','Plugin','CollaborationUIEventId','_handleHover','isTransformMutationsWithChangesetSuccess','_ensureSubject','univer-flex\x20univer-items-center','SetDocZoomRatioOperation','WebBrowserSingleActiveUnitService','ranges','_dataLoaderService','_drawTextRange','_docSkeletonManagerService','transformByState','current','BuiltInUIPart','assignAColorForMemberID','disposeWithMe','ENTITLE_CAN_NOT_BUY_LOWER_OTP','text','483063ElbrIT','storage','getTypeOfUnitAdded$','translate(.97)','getCellPositionByOffset','getViewport','row','setActiveRange','_logService','REDEMPTION_CODE_NOT_STARTED','fillStyle','handleInsertCol','DocSelectionManagerService','tag','cursorInfo','onStarting','addHandlerCallback','DocStateChangeManagerService','_instanceService','sessionStatus$','YUUMI_NO_CUBOID_FOR_QUESTION','reconnect','ILocalStorageService','invokeId','handleIRemoveRow','_disabled','ISnapshotServerService','CollaborationDataLoaderController','CommandType','getSkeleton','bottom','FETCH_MISS','_removeCollabCursors','PENDING','collab-rect-range-','YUUMI_ALL_TABLES_IS_INVALID','Warning','ENTITLE_REPORT_LIMIT_EXCEED','session.connection-failed','triggerDblclick','href','_docClipboardService','pushState','_handleHeartbeatEvent','params','type','_range','_scheduleSaving','_docTransformStateCacheService','APPLY_NON_SEQUENTIAL_REVISION','@univerjs-pro/collaboration-client','runOnServer','handleInsertRangeMoveRight','_doCreateSocket','_color','630AiIsLf','isTransformMutationFailure','DataLoaderService','transformIMECache','_eventUnsubscribe','getUniverSheetInstance','JOIN_ROOM_FAILED','UniverDrawing','max','font','colorChannel1','REMOTE_UNISCRIPT_EXECUTION_ENDPOINT_KEY','_updateSubUnitFromURLParams','COMPLETION_FINISHED','HEADER_MENU','DeleteRangeMoveLeftCommandId','OnLineIcon','imageSourceType','@univerjs/network','_setupBeforeClosingHandler','rxjs','pipe','source','registerBeforeClose','mutations','isArray','_docTransformIMECacheService','contains','_drawAnchor','collaboration-client.offline-data-not-saved','2NaaRfo','InsertRangeMoveDownCommandId','_startDocCollabCursor','toStringTag','_colorAssignService','url(#$1','takeUntil','getAncestorScale','getMemberID','propertyIsEnumerable','_createSocketURL','transformStateCache','skeleton','_sheetSkeletonManagerService','rxjs/operators','dispose$','REDEMPTION_CODE_FULLY_REDEEMED','yellow.400','_registerRenderDependencies','onTransformChange$','attrs','collabCursorState$','YUUMI_UNABLE_LOAD_URL','executeCommand','map','USER_NOT_INVITED_CODE','on-line-icon_clip0_910_349','arc','replaceDocRanges','_transformService','Subject','has','newValue','CollaborationSocketService','combineLatest','_commandService','jiqing.500','restore','length','Injector','_themeService','url(#on-line-icon_clip0_910_349)','resize','OFFLINE','YUUMI_CONNECTOR_URL_NOT_FOUND','SOCKET_FAILED_RETRY','Tools','_httpService','_updateLocalCursor','toDisposable','jsx','idSuffix','_renderManagerService','getUnitStatus$','No\x20remote\x20instance\x20service\x20injected.\x20May\x20not\x20syncing\x20edits\x20to\x20the\x20web\x20worker.','useDependency','replaceState','_shapes','InsertColCommandId','IBeforeCloseService','asObservable','indexOf','@univerjs/sheets-ui','UNIVER_COLLABORATION_CLIENT_WEB_PLUGIN','textRanges','IMessageService','_refreshCollabCursors','function','COLLABORATION_CLIENT_PLUGIN_CONFIG_KEY','_textBubble','EMAIL_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','getValue','UniverInstanceType','REDEMPTION_USER_REDEEM_TIMES_EXCEED','_startSheetCollabCursor','selection','_removeClearOtherTimer','MOBILE_VERIFY_CODE_MISMATCH','concat','generateRandomId','INVITE_CODE_HAS_BEEN_UES','_labelPosition','DisposableCollection','transformSelections','defs','_collabCursorController','WebSocketService','jsxs','INVITE_CODE_ALREADY_BOUND','_transformHistoryAndStateStack','operators','range','searchParams','exports','permission.content','_status$','SNAPSHOT_INVALID_SNAPSHOT','_onCursorUpdate','debounce','handleDeleteRangeMoveUp','moveTo','ThemeService','_localeService','_lastPointer','_messageService','_collabSessionService','values','endColumn','_getSessionTicket','LICENSE_EXPORT_SIZE_EXCEEDED','docStateChange$','CHANGESET_REVISION_CONFILICT','show','split','column','body','wsSessionTicketUrl','displayName','addObjects','/run/','top','registerDependencies','amd','http://www.w3.org/2000/svg','univer-text-sm\x20univer-leading-8\x20univer-text-gray-600\x20dark:!univer-text-gray-200','Rect','doc.mutation.rich-text-editing','TEXT','transformRemoteChangeset','getCoordByCell','complete','_registerDependencies','105344qMwYOe','transformMutation','CONFLICT','undoState','_hovered','MOBILE_VERIFY_CODE_NOT_FOUND_OR_EXPIRED','defineProperty','useCallback','_scheduleClearOtherTimer','_cachedData','loadOfflineData','@univerjs-pro/collaboration','onRendered','_unitOnClients','setUndoRedoMutationParamsCache','_anchorDot','YUUMI_SUBSCRIPTION_NOT_FOUND','MOBILE_HAS_BEEN_BOUND','_config','UniverEngineFormula','some','eventID','_backgroundColor','_injector','SetSelectionsOperation','send','flatMap','APPLY_PERMISSION_DENIED','@univerjs/engine-formula','APPLY_DUPLICATED','_hover','WECHAT_HAS_BEEN_BOUND','registerRenderModule','fromEventSubject','USER_NOT_FOUND','activeSheet$','setItem','min','closePath','event$','YUUMI_PROMPT_MAX_TOKENS_EXCEEDED','REDEMPTION_CODE_INACTIVE','handleDeleteRangeMoveLeft','memberID','CollaborationEvent','drawWith','from','EffectRefRangId','filter','INVALID_ARGUMENT','_initEvent','xlink:href','getParam','SNAPSHOT_HAS_BEEN_REMOVED','DEFAULT_REMOTE_UNISCRIPT_EXECUTION_ENDPOINT','origin','_refRangeService','init','replace','_notificationService','icon','collab-text-anchor-','fillRule','m1Prime','getCollabEntity$','syncEditingCollabCursor','dispose','UniverSheetsUi','Module','exhaustSavingTask','purple.300','subUnitId','mapTo','includes','SheetsSelectionsService','@univerjs/drawing','_handleEvent','_syncEditingCollabCursorService','_saveTaskMap','_initStatusListener','HTTPService','getCollabCursors$','_uiPartsService','UNRECOGNIZED','off-line-icon_clip0_910_343','handleInsertRangeMoveDown','error','UniverDocs','getStateCache','_document','BrowserCollaborationSocketService','RefRangeService','RichTextEditingMutation','Shape','currentSkeleton$','_collaborationController','getColor','clsx','_cursorInfo$','setAlpha','_saveCache','_urlService','find','unit','COLORS','LOGIN_TOKEN_PROCESSING_FAILED','onCommandExecuted','getConfig','LOCAL_CACHE_INTERVAL','forwardRef','mergeOverrideWithDependencies','startRow','debounceTime','DesktopCollaborationStatusDisplayController','none','application/json','YUUMI_ASYNCIO_CANCELLED','assign','useObservable','_setupSubUnitSync','RECT','@univerjs/engine-render','clearInterval','save','@univerjs/rpc','UniverUi','onMouseMove','toRgbString','_cursors','IConfigService','collaboration.closeRoom','saveTaskMap','LICENSE_MAX_UNITS_EXCEEDED','uni.network.url-service','_transformUndoRedoStack','sessionTicket','result','white','TEXT_RANGE_LAYER_INDEX','UniverCollaborationClientUIPlugin','CLOSE_ROOM','ONLINE','_online','fillText','disableLocalCache','collaboration-client-ui.config','_revisionService','code','measureText','36464uBENfl','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','getCurrentRevOfUnit','getCurrent','SYNCED','onPointerMove$','urlChange$','_docStateChangeManagerService','_cursorShapes','1392692IVsCrx','LICENSE_DISTRO_REJECTED','_localStorageService','@univerjs/sheets','color','setTimeout','div','_context','status$','_beforeCloseService','VIEW_MAIN','@univerjs/docs','trim','getLocalCacheKey','_unitStatus','_drawRectRange','_updateCollabCursors','MessageType','Failed','SOCKET_FAILED','enableLocalCache','DocSkeletonManagerService','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'];_0x15a7=function(){return _0x282879;};return _0x15a7();}